diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index d376780d1..000000000 --- a/Dockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM foosoftware/lighthouse-check:5 - -COPY . . - -RUN npm install -RUN npm run build - -CMD [ "node", "/dist/index.js" ] diff --git a/node_modules/.bin/is-ci b/node_modules/.bin/is-ci deleted file mode 120000 index fe6aca6f5..000000000 --- a/node_modules/.bin/is-ci +++ /dev/null @@ -1 +0,0 @@ -../is-ci/bin.js \ No newline at end of file diff --git a/node_modules/.bin/raven b/node_modules/.bin/raven deleted file mode 120000 index 91e62fa2f..000000000 --- a/node_modules/.bin/raven +++ /dev/null @@ -1 +0,0 @@ -../raven/bin/raven \ No newline at end of file diff --git a/node_modules/.bin/rc b/node_modules/.bin/rc deleted file mode 120000 index 48b3cda74..000000000 --- a/node_modules/.bin/rc +++ /dev/null @@ -1 +0,0 @@ -../rc/cli.js \ No newline at end of file diff --git a/node_modules/@actions/core/package.json b/node_modules/@actions/core/package.json index 8d7a39974..83572586d 100644 --- a/node_modules/@actions/core/package.json +++ b/node_modules/@actions/core/package.json @@ -1,16 +1,43 @@ { - "name": "@actions/core", - "version": "1.6.0", - "description": "Actions core lib", - "keywords": [ - "github", - "actions", - "core" + "_args": [ + [ + "@actions/core@1.6.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/core", - "license": "MIT", - "main": "lib/core.js", - "types": "lib/core.d.ts", + "_from": "@actions/core@1.6.0", + "_id": "@actions/core@1.6.0", + "_inBundle": false, + "_integrity": "sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==", + "_location": "/@actions/core", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@actions/core@1.6.0", + "name": "@actions/core", + "escapedName": "@actions%2fcore", + "scope": "@actions", + "rawSpec": "1.6.0", + "saveSpec": null, + "fetchSpec": "1.6.0" + }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.6.0.tgz", + "_spec": "1.6.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/actions/toolkit/issues" + }, + "dependencies": { + "@actions/http-client": "^1.0.11" + }, + "description": "Actions core lib", + "devDependencies": { + "@types/node": "^12.0.2" + }, "directories": { "lib": "lib", "test": "__tests__" @@ -19,6 +46,15 @@ "lib", "!.DS_Store" ], + "homepage": "https://github.com/actions/toolkit/tree/main/packages/core", + "keywords": [ + "github", + "actions", + "core" + ], + "license": "MIT", + "main": "lib/core.js", + "name": "@actions/core", "publishConfig": { "access": "public" }, @@ -32,13 +68,6 @@ "test": "echo \"Error: run tests from root\" && exit 1", "tsc": "tsc" }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "dependencies": { - "@actions/http-client": "^1.0.11" - }, - "devDependencies": { - "@types/node": "^12.0.2" - } + "types": "lib/core.d.ts", + "version": "1.6.0" } diff --git a/node_modules/@actions/github/package.json b/node_modules/@actions/github/package.json index 091cebce8..b94352e30 100644 --- a/node_modules/@actions/github/package.json +++ b/node_modules/@actions/github/package.json @@ -1,15 +1,47 @@ { - "name": "@actions/github", - "version": "5.0.0", - "description": "Actions github lib", - "keywords": [ - "github", - "actions" + "_args": [ + [ + "@actions/github@5.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "homepage": "https://github.com/actions/toolkit/tree/main/packages/github", - "license": "MIT", - "main": "lib/github.js", - "types": "lib/github.d.ts", + "_from": "@actions/github@5.0.0", + "_id": "@actions/github@5.0.0", + "_inBundle": false, + "_integrity": "sha512-QvE9eAAfEsS+yOOk0cylLBIO/d6WyWIOvsxxzdrPFaud39G6BOkUwScXZn1iBzQzHyu9SBkkLSWlohDWdsasAQ==", + "_location": "/@actions/github", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@actions/github@5.0.0", + "name": "@actions/github", + "escapedName": "@actions%2fgithub", + "scope": "@actions", + "rawSpec": "5.0.0", + "saveSpec": null, + "fetchSpec": "5.0.0" + }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/@actions/github/-/github-5.0.0.tgz", + "_spec": "5.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/actions/toolkit/issues" + }, + "dependencies": { + "@actions/http-client": "^1.0.11", + "@octokit/core": "^3.4.0", + "@octokit/plugin-paginate-rest": "^2.13.3", + "@octokit/plugin-rest-endpoint-methods": "^5.1.1" + }, + "description": "Actions github lib", + "devDependencies": { + "jest": "^26.6.3", + "proxy": "^1.0.2" + }, "directories": { "lib": "lib", "test": "__tests__" @@ -18,6 +50,14 @@ "lib", "!.DS_Store" ], + "homepage": "https://github.com/actions/toolkit/tree/main/packages/github", + "keywords": [ + "github", + "actions" + ], + "license": "MIT", + "main": "lib/github.js", + "name": "@actions/github", "publishConfig": { "access": "public" }, @@ -28,23 +68,12 @@ }, "scripts": { "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", - "test": "jest", "build": "tsc", "format": "prettier --write **/*.ts", "format-check": "prettier --check **/*.ts", + "test": "jest", "tsc": "tsc" }, - "bugs": { - "url": "https://github.com/actions/toolkit/issues" - }, - "dependencies": { - "@actions/http-client": "^1.0.11", - "@octokit/core": "^3.4.0", - "@octokit/plugin-paginate-rest": "^2.13.3", - "@octokit/plugin-rest-endpoint-methods": "^5.1.1" - }, - "devDependencies": { - "jest": "^26.6.3", - "proxy": "^1.0.2" - } + "types": "lib/github.d.ts", + "version": "5.0.0" } diff --git a/node_modules/@actions/http-client/package.json b/node_modules/@actions/http-client/package.json index 0c99fd41e..a8f571f9f 100644 --- a/node_modules/@actions/http-client/package.json +++ b/node_modules/@actions/http-client/package.json @@ -1,29 +1,44 @@ { - "name": "@actions/http-client", - "version": "1.0.11", - "description": "Actions Http Client", - "main": "index.js", - "scripts": { - "build": "rm -Rf ./_out && tsc && cp package*.json ./_out && cp *.md ./_out && cp LICENSE ./_out && cp actions.png ./_out", - "test": "jest", - "format": "prettier --write *.ts && prettier --write **/*.ts", - "format-check": "prettier --check *.ts && prettier --check **/*.ts", - "audit-check": "npm audit --audit-level=moderate" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/actions/http-client.git" + "_args": [ + [ + "@actions/http-client@1.0.11", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "@actions/http-client@1.0.11", + "_id": "@actions/http-client@1.0.11", + "_inBundle": false, + "_integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==", + "_location": "/@actions/http-client", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@actions/http-client@1.0.11", + "name": "@actions/http-client", + "escapedName": "@actions%2fhttp-client", + "scope": "@actions", + "rawSpec": "1.0.11", + "saveSpec": null, + "fetchSpec": "1.0.11" }, - "keywords": [ - "Actions", - "Http" + "_requiredBy": [ + "/@actions/core", + "/@actions/github" ], - "author": "GitHub, Inc.", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz", + "_spec": "1.0.11", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "GitHub, Inc." + }, "bugs": { "url": "https://github.com/actions/http-client/issues" }, - "homepage": "https://github.com/actions/http-client#readme", + "dependencies": { + "tunnel": "0.0.6" + }, + "description": "Actions Http Client", "devDependencies": { "@types/jest": "^25.1.4", "@types/node": "^12.12.31", @@ -33,7 +48,24 @@ "ts-jest": "^25.2.1", "typescript": "^3.8.3" }, - "dependencies": { - "tunnel": "0.0.6" - } + "homepage": "https://github.com/actions/http-client#readme", + "keywords": [ + "Actions", + "Http" + ], + "license": "MIT", + "main": "index.js", + "name": "@actions/http-client", + "repository": { + "type": "git", + "url": "git+https://github.com/actions/http-client.git" + }, + "scripts": { + "audit-check": "npm audit --audit-level=moderate", + "build": "rm -Rf ./_out && tsc && cp package*.json ./_out && cp *.md ./_out && cp LICENSE ./_out && cp actions.png ./_out", + "format": "prettier --write *.ts && prettier --write **/*.ts", + "format-check": "prettier --check *.ts && prettier --check **/*.ts", + "test": "jest" + }, + "version": "1.0.11" } diff --git a/node_modules/@babel/code-frame/package.json b/node_modules/@babel/code-frame/package.json index 07a28a6bd..59a44ec7c 100644 --- a/node_modules/@babel/code-frame/package.json +++ b/node_modules/@babel/code-frame/package.json @@ -1,25 +1,61 @@ { - "name": "@babel/code-frame", - "version": "7.12.11", + "_args": [ + [ + "@babel/code-frame@7.12.11", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "@babel/code-frame@7.12.11", + "_id": "@babel/code-frame@7.12.11", + "_inBundle": false, + "_integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", + "_location": "/@babel/code-frame", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/code-frame@7.12.11", + "name": "@babel/code-frame", + "escapedName": "@babel%2fcode-frame", + "scope": "@babel", + "rawSpec": "7.12.11", + "saveSpec": null, + "fetchSpec": "7.12.11" + }, + "_requiredBy": [ + "/eslint", + "/parse-json" + ], + "_resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "_spec": "7.12.11", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sebastian McKenzie", + "email": "sebmck@gmail.com" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "dependencies": { + "@babel/highlight": "^7.10.4" + }, "description": "Generate errors that contain a code frame that point to source locations.", - "author": "Sebastian McKenzie ", + "devDependencies": { + "@types/chalk": "^2.0.0", + "chalk": "^2.0.0", + "strip-ansi": "^4.0.0" + }, "homepage": "https://babeljs.io/", "license": "MIT", + "main": "lib/index.js", + "name": "@babel/code-frame", "publishConfig": { "access": "public" }, "repository": { "type": "git", - "url": "https://github.com/babel/babel.git", + "url": "git+https://github.com/babel/babel.git", "directory": "packages/babel-code-frame" }, - "main": "lib/index.js", - "dependencies": { - "@babel/highlight": "^7.10.4" - }, - "devDependencies": { - "@types/chalk": "^2.0.0", - "chalk": "^2.0.0", - "strip-ansi": "^4.0.0" - } -} \ No newline at end of file + "version": "7.12.11" +} diff --git a/node_modules/@babel/compat-data/package.json b/node_modules/@babel/compat-data/package.json index a3c5e3dfe..ce9a3ba5c 100644 --- a/node_modules/@babel/compat-data/package.json +++ b/node_modules/@babel/compat-data/package.json @@ -1,16 +1,49 @@ { - "name": "@babel/compat-data", - "version": "7.16.4", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", + "_args": [ + [ + "@babel/compat-data@7.16.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/compat-data@7.16.4", + "_id": "@babel/compat-data@7.16.4", + "_inBundle": false, + "_integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==", + "_location": "/@babel/compat-data", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/compat-data@7.16.4", + "name": "@babel/compat-data", + "escapedName": "@babel%2fcompat-data", + "scope": "@babel", + "rawSpec": "7.16.4", + "saveSpec": null, + "fetchSpec": "7.16.4" + }, + "_requiredBy": [ + "/@babel/helper-compilation-targets" + ], + "_resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz", + "_spec": "7.16.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, "description": "", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-compat-data" + "devDependencies": { + "@mdn/browser-compat-data": "^4.0.10", + "core-js-compat": "^3.19.1", + "electron-to-chromium": "^1.3.893" }, - "publishConfig": { - "access": "public" + "engines": { + "node": ">=6.9.0" }, "exports": { "./plugins": "./plugins.js", @@ -20,20 +53,24 @@ "./overlapping-plugins": "./overlapping-plugins.js", "./plugin-bugfixes": "./plugin-bugfixes.js" }, - "scripts": { - "build-data": "./scripts/download-compat-table.sh && node ./scripts/build-data.js && node ./scripts/build-modules-support.js && node ./scripts/build-bugfixes-targets.js" - }, + "homepage": "https://github.com/babel/babel#readme", "keywords": [ "babel", "compat-table", "compat-data" ], - "devDependencies": { - "@mdn/browser-compat-data": "^4.0.10", - "core-js-compat": "^3.19.1", - "electron-to-chromium": "^1.3.893" + "license": "MIT", + "name": "@babel/compat-data", + "publishConfig": { + "access": "public" }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-compat-data" + }, + "scripts": { + "build-data": "./scripts/download-compat-table.sh && node ./scripts/build-data.js && node ./scripts/build-modules-support.js && node ./scripts/build-bugfixes-targets.js" + }, + "version": "7.16.4" +} diff --git a/node_modules/@babel/core/node_modules/@babel/code-frame/package.json b/node_modules/@babel/core/node_modules/@babel/code-frame/package.json index ee1b3820a..f49b081d4 100644 --- a/node_modules/@babel/core/node_modules/@babel/code-frame/package.json +++ b/node_modules/@babel/core/node_modules/@babel/code-frame/package.json @@ -1,23 +1,45 @@ { - "name": "@babel/code-frame", - "version": "7.16.7", - "description": "Generate errors that contain a code frame that point to source locations.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-code-frame", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/code-frame@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/code-frame@7.16.7", + "_id": "@babel/code-frame@7.16.7", + "_inBundle": false, + "_integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "_location": "/@babel/core/@babel/code-frame", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/code-frame@7.16.7", + "name": "@babel/code-frame", + "escapedName": "@babel%2fcode-frame", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-code-frame" + "_requiredBy": [ + "/@babel/core" + ], + "_resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen" }, - "main": "./lib/index.js", "dependencies": { "@babel/highlight": "^7.16.7" }, + "description": "Generate errors that contain a code frame that point to source locations.", "devDependencies": { "@types/chalk": "^2.0.0", "chalk": "^2.0.0", @@ -25,5 +47,18 @@ }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-code-frame", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/code-frame", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-code-frame" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/core/node_modules/semver/package.json b/node_modules/@babel/core/node_modules/semver/package.json index bdd442f50..2e56bcc75 100644 --- a/node_modules/@babel/core/node_modules/semver/package.json +++ b/node_modules/@babel/core/node_modules/semver/package.json @@ -1,28 +1,64 @@ { - "name": "semver", - "version": "6.3.0", - "description": "The semantic version parser used by npm.", - "main": "semver.js", - "scripts": { - "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --follow-tags" + "_args": [ + [ + "semver@6.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "semver@6.3.0", + "_id": "semver@6.3.0", + "_inBundle": false, + "_integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "_location": "/@babel/core/semver", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "semver@6.3.0", + "name": "semver", + "escapedName": "semver", + "rawSpec": "6.3.0", + "saveSpec": null, + "fetchSpec": "6.3.0" + }, + "_requiredBy": [ + "/@babel/core" + ], + "_resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "_spec": "6.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bin": { + "semver": "bin/semver.js" + }, + "bugs": { + "url": "https://github.com/npm/node-semver/issues" }, + "description": "The semantic version parser used by npm.", "devDependencies": { "tap": "^14.3.1" }, - "license": "ISC", - "repository": "https://github.com/npm/node-semver", - "bin": { - "semver": "./bin/semver.js" - }, "files": [ "bin", "range.bnf", "semver.js" ], + "homepage": "https://github.com/npm/node-semver#readme", + "license": "ISC", + "main": "semver.js", + "name": "semver", + "repository": { + "type": "git", + "url": "git+https://github.com/npm/node-semver.git" + }, + "scripts": { + "postpublish": "git push origin --follow-tags", + "postversion": "npm publish", + "preversion": "npm test", + "test": "tap" + }, "tap": { "check-coverage": true - } + }, + "version": "6.3.0" } diff --git a/node_modules/@babel/core/node_modules/source-map/package.json b/node_modules/@babel/core/node_modules/source-map/package.json index 048e3ae86..d150f22e2 100644 --- a/node_modules/@babel/core/node_modules/source-map/package.json +++ b/node_modules/@babel/core/node_modules/source-map/package.json @@ -1,52 +1,194 @@ { - "name": "source-map", - "description": "Generates and consumes source maps", - "version": "0.5.7", - "homepage": "https://github.com/mozilla/source-map", - "author": "Nick Fitzgerald ", + "_args": [ + [ + "source-map@0.5.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "source-map@0.5.7", + "_id": "source-map@0.5.7", + "_inBundle": false, + "_integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "_location": "/@babel/core/source-map", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "source-map@0.5.7", + "name": "source-map", + "escapedName": "source-map", + "rawSpec": "0.5.7", + "saveSpec": null, + "fetchSpec": "0.5.7" + }, + "_requiredBy": [ + "/@babel/core" + ], + "_resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "_spec": "0.5.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Nick Fitzgerald", + "email": "nfitzgerald@mozilla.com" + }, + "bugs": { + "url": "https://github.com/mozilla/source-map/issues" + }, "contributors": [ - "Tobias Koppers ", - "Duncan Beevers ", - "Stephen Crane ", - "Ryan Seddon ", - "Miles Elam ", - "Mihai Bazon ", - "Michael Ficarra ", - "Todd Wolfson ", - "Alexander Solovyov ", - "Felix Gnass ", - "Conrad Irwin ", - "usrbincc ", - "David Glasser ", - "Chase Douglas ", - "Evan Wallace ", - "Heather Arthur ", - "Hugh Kennedy ", - "David Glasser ", - "Simon Lydell ", - "Jmeas Smith ", - "Michael Z Goddard ", - "azu ", - "John Gozde ", - "Adam Kirkton ", - "Chris Montgomery ", - "J. Ryan Stinnett ", - "Jack Herrington ", - "Chris Truter ", - "Daniel Espeset ", - "Jamie Wong ", - "Eddy Bruël ", - "Hawken Rives ", - "Gilad Peleg ", - "djchie ", - "Gary Ye ", - "Nicolas Lalevée " + { + "name": "Tobias Koppers", + "email": "tobias.koppers@googlemail.com" + }, + { + "name": "Duncan Beevers", + "email": "duncan@dweebd.com" + }, + { + "name": "Stephen Crane", + "email": "scrane@mozilla.com" + }, + { + "name": "Ryan Seddon", + "email": "seddon.ryan@gmail.com" + }, + { + "name": "Miles Elam", + "email": "miles.elam@deem.com" + }, + { + "name": "Mihai Bazon", + "email": "mihai.bazon@gmail.com" + }, + { + "name": "Michael Ficarra", + "email": "github.public.email@michael.ficarra.me" + }, + { + "name": "Todd Wolfson", + "email": "todd@twolfson.com" + }, + { + "name": "Alexander Solovyov", + "email": "alexander@solovyov.net" + }, + { + "name": "Felix Gnass", + "email": "fgnass@gmail.com" + }, + { + "name": "Conrad Irwin", + "email": "conrad.irwin@gmail.com" + }, + { + "name": "usrbincc", + "email": "usrbincc@yahoo.com" + }, + { + "name": "David Glasser", + "email": "glasser@davidglasser.net" + }, + { + "name": "Chase Douglas", + "email": "chase@newrelic.com" + }, + { + "name": "Evan Wallace", + "email": "evan.exe@gmail.com" + }, + { + "name": "Heather Arthur", + "email": "fayearthur@gmail.com" + }, + { + "name": "Hugh Kennedy", + "email": "hughskennedy@gmail.com" + }, + { + "name": "David Glasser", + "email": "glasser@davidglasser.net" + }, + { + "name": "Simon Lydell", + "email": "simon.lydell@gmail.com" + }, + { + "name": "Jmeas Smith", + "email": "jellyes2@gmail.com" + }, + { + "name": "Michael Z Goddard", + "email": "mzgoddard@gmail.com" + }, + { + "name": "azu", + "email": "azu@users.noreply.github.com" + }, + { + "name": "John Gozde", + "email": "john@gozde.ca" + }, + { + "name": "Adam Kirkton", + "email": "akirkton@truefitinnovation.com" + }, + { + "name": "Chris Montgomery", + "email": "christopher.montgomery@dowjones.com" + }, + { + "name": "J. Ryan Stinnett", + "email": "jryans@gmail.com" + }, + { + "name": "Jack Herrington", + "email": "jherrington@walmartlabs.com" + }, + { + "name": "Chris Truter", + "email": "jeffpalentine@gmail.com" + }, + { + "name": "Daniel Espeset", + "email": "daniel@danielespeset.com" + }, + { + "name": "Jamie Wong", + "email": "jamie.lf.wong@gmail.com" + }, + { + "name": "Eddy Bruël", + "email": "ejpbruel@mozilla.com" + }, + { + "name": "Hawken Rives", + "email": "hawkrives@gmail.com" + }, + { + "name": "Gilad Peleg", + "email": "giladp007@gmail.com" + }, + { + "name": "djchie", + "email": "djchie.dev@gmail.com" + }, + { + "name": "Gary Ye", + "email": "garysye@gmail.com" + }, + { + "name": "Nicolas Lalevée", + "email": "nicolas.lalevee@hibnet.org" + } ], - "repository": { - "type": "git", - "url": "http://github.com/mozilla/source-map.git" + "description": "Generates and consumes source maps", + "devDependencies": { + "doctoc": "^0.15.0", + "webpack": "^1.12.0" + }, + "engines": { + "node": ">=0.10.0" }, - "main": "./source-map.js", "files": [ "source-map.js", "lib/", @@ -55,18 +197,19 @@ "dist/source-map.min.js", "dist/source-map.min.js.map" ], - "engines": { - "node": ">=0.10.0" - }, + "homepage": "https://github.com/mozilla/source-map", "license": "BSD-3-Clause", + "main": "./source-map.js", + "name": "source-map", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/mozilla/source-map.git" + }, "scripts": { - "test": "npm run build && node test/run-tests.js", "build": "webpack --color", + "test": "npm run build && node test/run-tests.js", "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md" }, - "devDependencies": { - "doctoc": "^0.15.0", - "webpack": "^1.12.0" - }, - "typings": "source-map" + "typings": "source-map", + "version": "0.5.7" } diff --git a/node_modules/@babel/core/package.json b/node_modules/@babel/core/package.json index c33830656..a3bfdef9d 100644 --- a/node_modules/@babel/core/package.json +++ b/node_modules/@babel/core/package.json @@ -1,41 +1,42 @@ { - "name": "@babel/core", - "version": "7.16.7", - "description": "Babel compiler core.", - "main": "./lib/index.js", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/core@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/core@7.16.7", + "_id": "@babel/core@7.16.7", + "_inBundle": false, + "_integrity": "sha512-aeLaqcqThRNZYmbMqtulsetOQZ/5gbR/dWruUCJcpas4Qoyy+QeagfDsPdMrqwsPRDNxJvBlRiZxxX7THO7qtA==", + "_location": "/@babel/core", + "_phantomChildren": { + "@babel/highlight": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-core" + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/core@7.16.7", + "name": "@babel/core", + "escapedName": "@babel%2fcore", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "homepage": "https://babel.dev/docs/en/next/babel-core", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen", - "keywords": [ - "6to5", - "babel", - "classes", - "const", - "es6", - "harmony", - "let", - "modules", - "transpile", - "transpiler", - "var", - "babel-core", - "compiler" + "_requiredBy": [ + "/@jest/transform", + "/istanbul-lib-instrument", + "/jest-config", + "/jest-snapshot" ], - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" + "_resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" }, "browser": { "./lib/config/files/index.js": "./lib/config/files/index-browser.js", @@ -47,6 +48,9 @@ "./src/transform-file.ts": "./src/transform-file-browser.ts", "./src/transformation/util/clone-deep.ts": "./src/transformation/util/clone-deep-browser.ts" }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen" + }, "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.16.7", @@ -64,6 +68,7 @@ "semver": "^6.3.0", "source-map": "^0.5.0" }, + "description": "Babel compiler core.", "devDependencies": { "@babel/helper-transform-fixture-test-runner": "^7.16.7", "@babel/plugin-transform-modules-commonjs": "^7.16.7", @@ -72,5 +77,40 @@ "@types/resolve": "^1.3.2", "@types/semver": "^5.4.0", "@types/source-map": "^0.5.0" - } -} \ No newline at end of file + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + }, + "homepage": "https://babel.dev/docs/en/next/babel-core", + "keywords": [ + "6to5", + "babel", + "classes", + "const", + "es6", + "harmony", + "let", + "modules", + "transpile", + "transpiler", + "var", + "babel-core", + "compiler" + ], + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/core", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-core" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/generator/node_modules/source-map/package.json b/node_modules/@babel/generator/node_modules/source-map/package.json index 048e3ae86..54f249e8e 100644 --- a/node_modules/@babel/generator/node_modules/source-map/package.json +++ b/node_modules/@babel/generator/node_modules/source-map/package.json @@ -1,52 +1,194 @@ { - "name": "source-map", - "description": "Generates and consumes source maps", - "version": "0.5.7", - "homepage": "https://github.com/mozilla/source-map", - "author": "Nick Fitzgerald ", + "_args": [ + [ + "source-map@0.5.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "source-map@0.5.7", + "_id": "source-map@0.5.7", + "_inBundle": false, + "_integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "_location": "/@babel/generator/source-map", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "source-map@0.5.7", + "name": "source-map", + "escapedName": "source-map", + "rawSpec": "0.5.7", + "saveSpec": null, + "fetchSpec": "0.5.7" + }, + "_requiredBy": [ + "/@babel/generator" + ], + "_resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "_spec": "0.5.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Nick Fitzgerald", + "email": "nfitzgerald@mozilla.com" + }, + "bugs": { + "url": "https://github.com/mozilla/source-map/issues" + }, "contributors": [ - "Tobias Koppers ", - "Duncan Beevers ", - "Stephen Crane ", - "Ryan Seddon ", - "Miles Elam ", - "Mihai Bazon ", - "Michael Ficarra ", - "Todd Wolfson ", - "Alexander Solovyov ", - "Felix Gnass ", - "Conrad Irwin ", - "usrbincc ", - "David Glasser ", - "Chase Douglas ", - "Evan Wallace ", - "Heather Arthur ", - "Hugh Kennedy ", - "David Glasser ", - "Simon Lydell ", - "Jmeas Smith ", - "Michael Z Goddard ", - "azu ", - "John Gozde ", - "Adam Kirkton ", - "Chris Montgomery ", - "J. Ryan Stinnett ", - "Jack Herrington ", - "Chris Truter ", - "Daniel Espeset ", - "Jamie Wong ", - "Eddy Bruël ", - "Hawken Rives ", - "Gilad Peleg ", - "djchie ", - "Gary Ye ", - "Nicolas Lalevée " + { + "name": "Tobias Koppers", + "email": "tobias.koppers@googlemail.com" + }, + { + "name": "Duncan Beevers", + "email": "duncan@dweebd.com" + }, + { + "name": "Stephen Crane", + "email": "scrane@mozilla.com" + }, + { + "name": "Ryan Seddon", + "email": "seddon.ryan@gmail.com" + }, + { + "name": "Miles Elam", + "email": "miles.elam@deem.com" + }, + { + "name": "Mihai Bazon", + "email": "mihai.bazon@gmail.com" + }, + { + "name": "Michael Ficarra", + "email": "github.public.email@michael.ficarra.me" + }, + { + "name": "Todd Wolfson", + "email": "todd@twolfson.com" + }, + { + "name": "Alexander Solovyov", + "email": "alexander@solovyov.net" + }, + { + "name": "Felix Gnass", + "email": "fgnass@gmail.com" + }, + { + "name": "Conrad Irwin", + "email": "conrad.irwin@gmail.com" + }, + { + "name": "usrbincc", + "email": "usrbincc@yahoo.com" + }, + { + "name": "David Glasser", + "email": "glasser@davidglasser.net" + }, + { + "name": "Chase Douglas", + "email": "chase@newrelic.com" + }, + { + "name": "Evan Wallace", + "email": "evan.exe@gmail.com" + }, + { + "name": "Heather Arthur", + "email": "fayearthur@gmail.com" + }, + { + "name": "Hugh Kennedy", + "email": "hughskennedy@gmail.com" + }, + { + "name": "David Glasser", + "email": "glasser@davidglasser.net" + }, + { + "name": "Simon Lydell", + "email": "simon.lydell@gmail.com" + }, + { + "name": "Jmeas Smith", + "email": "jellyes2@gmail.com" + }, + { + "name": "Michael Z Goddard", + "email": "mzgoddard@gmail.com" + }, + { + "name": "azu", + "email": "azu@users.noreply.github.com" + }, + { + "name": "John Gozde", + "email": "john@gozde.ca" + }, + { + "name": "Adam Kirkton", + "email": "akirkton@truefitinnovation.com" + }, + { + "name": "Chris Montgomery", + "email": "christopher.montgomery@dowjones.com" + }, + { + "name": "J. Ryan Stinnett", + "email": "jryans@gmail.com" + }, + { + "name": "Jack Herrington", + "email": "jherrington@walmartlabs.com" + }, + { + "name": "Chris Truter", + "email": "jeffpalentine@gmail.com" + }, + { + "name": "Daniel Espeset", + "email": "daniel@danielespeset.com" + }, + { + "name": "Jamie Wong", + "email": "jamie.lf.wong@gmail.com" + }, + { + "name": "Eddy Bruël", + "email": "ejpbruel@mozilla.com" + }, + { + "name": "Hawken Rives", + "email": "hawkrives@gmail.com" + }, + { + "name": "Gilad Peleg", + "email": "giladp007@gmail.com" + }, + { + "name": "djchie", + "email": "djchie.dev@gmail.com" + }, + { + "name": "Gary Ye", + "email": "garysye@gmail.com" + }, + { + "name": "Nicolas Lalevée", + "email": "nicolas.lalevee@hibnet.org" + } ], - "repository": { - "type": "git", - "url": "http://github.com/mozilla/source-map.git" + "description": "Generates and consumes source maps", + "devDependencies": { + "doctoc": "^0.15.0", + "webpack": "^1.12.0" + }, + "engines": { + "node": ">=0.10.0" }, - "main": "./source-map.js", "files": [ "source-map.js", "lib/", @@ -55,18 +197,19 @@ "dist/source-map.min.js", "dist/source-map.min.js.map" ], - "engines": { - "node": ">=0.10.0" - }, + "homepage": "https://github.com/mozilla/source-map", "license": "BSD-3-Clause", + "main": "./source-map.js", + "name": "source-map", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/mozilla/source-map.git" + }, "scripts": { - "test": "npm run build && node test/run-tests.js", "build": "webpack --color", + "test": "npm run build && node test/run-tests.js", "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md" }, - "devDependencies": { - "doctoc": "^0.15.0", - "webpack": "^1.12.0" - }, - "typings": "source-map" + "typings": "source-map", + "version": "0.5.7" } diff --git a/node_modules/@babel/generator/package.json b/node_modules/@babel/generator/package.json index 9c89414c9..7aa458895 100644 --- a/node_modules/@babel/generator/package.json +++ b/node_modules/@babel/generator/package.json @@ -1,28 +1,49 @@ { - "name": "@babel/generator", - "version": "7.16.7", - "description": "Turns an AST into code.", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-generator" + "_args": [ + [ + "@babel/generator@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/generator@7.16.7", + "_id": "@babel/generator@7.16.7", + "_inBundle": false, + "_integrity": "sha512-/ST3Sg8MLGY5HVYmrjOgL60ENux/HfO/CsUh7y4MalThufhE/Ff/6EibFDHi4jiDCaWfJKoqbE6oTh21c5hrRg==", + "_location": "/@babel/generator", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/generator@7.16.7", + "name": "@babel/generator", + "escapedName": "@babel%2fgenerator", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "homepage": "https://babel.dev/docs/en/next/babel-generator", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20generator%22+is%3Aopen", - "main": "./lib/index.js", - "files": [ - "lib" + "_requiredBy": [ + "/@babel/core", + "/@babel/traverse", + "/jest-snapshot" ], + "_resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20generator%22+is%3Aopen" + }, "dependencies": { "@babel/types": "^7.16.7", "jsesc": "^2.5.1", "source-map": "^0.5.0" }, + "description": "Turns an AST into code.", "devDependencies": { "@babel/helper-fixtures": "^7.16.7", "@babel/parser": "^7.16.7", @@ -32,5 +53,21 @@ }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "files": [ + "lib" + ], + "homepage": "https://babel.dev/docs/en/next/babel-generator", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/generator", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-generator" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-compilation-targets/node_modules/semver/package.json b/node_modules/@babel/helper-compilation-targets/node_modules/semver/package.json index bdd442f50..dee77a8b4 100644 --- a/node_modules/@babel/helper-compilation-targets/node_modules/semver/package.json +++ b/node_modules/@babel/helper-compilation-targets/node_modules/semver/package.json @@ -1,28 +1,64 @@ { - "name": "semver", - "version": "6.3.0", - "description": "The semantic version parser used by npm.", - "main": "semver.js", - "scripts": { - "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --follow-tags" + "_args": [ + [ + "semver@6.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "semver@6.3.0", + "_id": "semver@6.3.0", + "_inBundle": false, + "_integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "_location": "/@babel/helper-compilation-targets/semver", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "semver@6.3.0", + "name": "semver", + "escapedName": "semver", + "rawSpec": "6.3.0", + "saveSpec": null, + "fetchSpec": "6.3.0" + }, + "_requiredBy": [ + "/@babel/helper-compilation-targets" + ], + "_resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "_spec": "6.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bin": { + "semver": "bin/semver.js" + }, + "bugs": { + "url": "https://github.com/npm/node-semver/issues" }, + "description": "The semantic version parser used by npm.", "devDependencies": { "tap": "^14.3.1" }, - "license": "ISC", - "repository": "https://github.com/npm/node-semver", - "bin": { - "semver": "./bin/semver.js" - }, "files": [ "bin", "range.bnf", "semver.js" ], + "homepage": "https://github.com/npm/node-semver#readme", + "license": "ISC", + "main": "semver.js", + "name": "semver", + "repository": { + "type": "git", + "url": "git+https://github.com/npm/node-semver.git" + }, + "scripts": { + "postpublish": "git push origin --follow-tags", + "postversion": "npm publish", + "preversion": "npm test", + "test": "tap" + }, "tap": { "check-coverage": true - } + }, + "version": "6.3.0" } diff --git a/node_modules/@babel/helper-compilation-targets/package.json b/node_modules/@babel/helper-compilation-targets/package.json index d35c3687d..1bdcfe367 100644 --- a/node_modules/@babel/helper-compilation-targets/package.json +++ b/node_modules/@babel/helper-compilation-targets/package.json @@ -1,35 +1,48 @@ { - "name": "@babel/helper-compilation-targets", - "version": "7.16.7", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "description": "Helper functions on Babel compilation targets", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-compilation-targets" + "_args": [ + [ + "@babel/helper-compilation-targets@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-compilation-targets@7.16.7", + "_id": "@babel/helper-compilation-targets@7.16.7", + "_inBundle": false, + "_integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", + "_location": "/@babel/helper-compilation-targets", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-compilation-targets@7.16.7", + "name": "@babel/helper-compilation-targets", + "escapedName": "@babel%2fhelper-compilation-targets", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "main": "./lib/index.js", - "exports": { - ".": "./lib/index.js", - "./package.json": "./package.json" + "_requiredBy": [ + "/@babel/core" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" }, - "publishConfig": { - "access": "public" + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "keywords": [ - "babel", - "babel-plugin" - ], "dependencies": { "@babel/compat-data": "^7.16.4", "@babel/helper-validator-option": "^7.16.7", "browserslist": "^4.17.5", "semver": "^6.3.0" }, - "peerDependencies": { - "@babel/core": "^7.0.0" - }, + "description": "Helper functions on Babel compilation targets", "devDependencies": { "@babel/core": "^7.16.7", "@babel/helper-plugin-test-runner": "^7.16.7", @@ -37,5 +50,29 @@ }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "exports": { + ".": "./lib/index.js", + "./package.json": "./package.json" + }, + "homepage": "https://github.com/babel/babel#readme", + "keywords": [ + "babel", + "babel-plugin" + ], + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-compilation-targets", + "peerDependencies": { + "@babel/core": "^7.0.0" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-compilation-targets" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-environment-visitor/package.json b/node_modules/@babel/helper-environment-visitor/package.json index ffc31a3ca..8a54b949d 100644 --- a/node_modules/@babel/helper-environment-visitor/package.json +++ b/node_modules/@babel/helper-environment-visitor/package.json @@ -1,30 +1,67 @@ { - "name": "@babel/helper-environment-visitor", - "version": "7.16.7", - "description": "Helper visitor to only visit nodes in the current 'this' context", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-environment-visitor" + "_args": [ + [ + "@babel/helper-environment-visitor@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-environment-visitor@7.16.7", + "_id": "@babel/helper-environment-visitor@7.16.7", + "_inBundle": false, + "_integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "_location": "/@babel/helper-environment-visitor", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-environment-visitor@7.16.7", + "name": "@babel/helper-environment-visitor", + "escapedName": "@babel%2fhelper-environment-visitor", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-environment-visitor", - "license": "MIT", - "publishConfig": { - "access": "public" + "_requiredBy": [ + "/@babel/helper-module-transforms", + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" }, - "main": "./lib/index.js", - "exports": { - ".": "./lib/index.js", - "./package.json": "./package.json" + "bugs": { + "url": "https://github.com/babel/babel/issues" }, "dependencies": { "@babel/types": "^7.16.7" }, + "description": "Helper visitor to only visit nodes in the current 'this' context", "devDependencies": { "@babel/traverse": "^7.16.7" }, "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "exports": { + ".": "./lib/index.js", + "./package.json": "./package.json" + }, + "homepage": "https://babel.dev/docs/en/next/babel-helper-environment-visitor", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-environment-visitor", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-environment-visitor" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-function-name/package.json b/node_modules/@babel/helper-function-name/package.json index 1a46e7ce7..13abfecd5 100644 --- a/node_modules/@babel/helper-function-name/package.json +++ b/node_modules/@babel/helper-function-name/package.json @@ -1,25 +1,61 @@ { - "name": "@babel/helper-function-name", - "version": "7.16.7", - "description": "Helper function to change the property 'name' of every function", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-function-name" + "_args": [ + [ + "@babel/helper-function-name@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-function-name@7.16.7", + "_id": "@babel/helper-function-name@7.16.7", + "_inBundle": false, + "_integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", + "_location": "/@babel/helper-function-name", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-function-name@7.16.7", + "name": "@babel/helper-function-name", + "escapedName": "@babel%2fhelper-function-name", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-function-name", - "license": "MIT", - "publishConfig": { - "access": "public" + "_requiredBy": [ + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/helper-get-function-arity": "^7.16.7", "@babel/template": "^7.16.7", "@babel/types": "^7.16.7" }, + "description": "Helper function to change the property 'name' of every function", "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "homepage": "https://babel.dev/docs/en/next/babel-helper-function-name", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-function-name", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-function-name" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-get-function-arity/package.json b/node_modules/@babel/helper-get-function-arity/package.json index 4ea756238..f9fb5b45b 100644 --- a/node_modules/@babel/helper-get-function-arity/package.json +++ b/node_modules/@babel/helper-get-function-arity/package.json @@ -1,23 +1,59 @@ { - "name": "@babel/helper-get-function-arity", - "version": "7.16.7", - "description": "Helper function to get function arity", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-get-function-arity" + "_args": [ + [ + "@babel/helper-get-function-arity@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-get-function-arity@7.16.7", + "_id": "@babel/helper-get-function-arity@7.16.7", + "_inBundle": false, + "_integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", + "_location": "/@babel/helper-get-function-arity", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-get-function-arity@7.16.7", + "name": "@babel/helper-get-function-arity", + "escapedName": "@babel%2fhelper-get-function-arity", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-get-function-arity", - "license": "MIT", - "publishConfig": { - "access": "public" + "_requiredBy": [ + "/@babel/helper-function-name" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/types": "^7.16.7" }, + "description": "Helper function to get function arity", "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "homepage": "https://babel.dev/docs/en/next/babel-helper-get-function-arity", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-get-function-arity", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-get-function-arity" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-hoist-variables/package.json b/node_modules/@babel/helper-hoist-variables/package.json index ec99d90ed..3b1de9474 100644 --- a/node_modules/@babel/helper-hoist-variables/package.json +++ b/node_modules/@babel/helper-hoist-variables/package.json @@ -1,27 +1,63 @@ { - "name": "@babel/helper-hoist-variables", - "version": "7.16.7", - "description": "Helper function to hoist variables", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-hoist-variables" + "TODO": "The @babel/traverse dependency is only needed for the NodePath TS type. We can consider exporting it from @babel/core.", + "_args": [ + [ + "@babel/helper-hoist-variables@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-hoist-variables@7.16.7", + "_id": "@babel/helper-hoist-variables@7.16.7", + "_inBundle": false, + "_integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "_location": "/@babel/helper-hoist-variables", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-hoist-variables@7.16.7", + "name": "@babel/helper-hoist-variables", + "escapedName": "@babel%2fhelper-hoist-variables", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-hoist-variables", - "license": "MIT", - "publishConfig": { - "access": "public" + "_requiredBy": [ + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/types": "^7.16.7" }, - "TODO": "The @babel/traverse dependency is only needed for the NodePath TS type. We can consider exporting it from @babel/core.", + "description": "Helper function to hoist variables", "devDependencies": { "@babel/traverse": "^7.16.7" }, "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "homepage": "https://babel.dev/docs/en/next/babel-helper-hoist-variables", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-hoist-variables", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-hoist-variables" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-module-imports/package.json b/node_modules/@babel/helper-module-imports/package.json index 7814505e6..0d3d940a6 100644 --- a/node_modules/@babel/helper-module-imports/package.json +++ b/node_modules/@babel/helper-module-imports/package.json @@ -1,27 +1,63 @@ { - "name": "@babel/helper-module-imports", - "version": "7.16.7", - "description": "Babel helper functions for inserting module loads", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helper-module-imports", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/helper-module-imports@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-module-imports@7.16.7", + "_id": "@babel/helper-module-imports@7.16.7", + "_inBundle": false, + "_integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "_location": "/@babel/helper-module-imports", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-module-imports@7.16.7", + "name": "@babel/helper-module-imports", + "escapedName": "@babel%2fhelper-module-imports", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-module-imports" + "_requiredBy": [ + "/@babel/helper-module-transforms" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/types": "^7.16.7" }, + "description": "Babel helper functions for inserting module loads", "devDependencies": { "@babel/core": "^7.16.7", "@babel/traverse": "^7.16.7" }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-helper-module-imports", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-module-imports", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-module-imports" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-module-transforms/package.json b/node_modules/@babel/helper-module-transforms/package.json index 3149bddbb..f5b74f59f 100644 --- a/node_modules/@babel/helper-module-transforms/package.json +++ b/node_modules/@babel/helper-module-transforms/package.json @@ -1,19 +1,41 @@ { - "name": "@babel/helper-module-transforms", - "version": "7.16.7", - "description": "Babel helper functions for implementing ES6 module transformations", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helper-module-transforms", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/helper-module-transforms@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-module-transforms@7.16.7", + "_id": "@babel/helper-module-transforms@7.16.7", + "_inBundle": false, + "_integrity": "sha512-gaqtLDxJEFCeQbYp9aLAefjhkKdjKcdh6DB7jniIGU3Pz52WAmP268zK0VgPz9hUNkMSYeH976K2/Y6yPadpng==", + "_location": "/@babel/helper-module-transforms", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-module-transforms@7.16.7", + "name": "@babel/helper-module-transforms", + "escapedName": "@babel%2fhelper-module-transforms", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-module-transforms" + "_requiredBy": [ + "/@babel/core" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/helper-environment-visitor": "^7.16.7", "@babel/helper-module-imports": "^7.16.7", @@ -24,7 +46,21 @@ "@babel/traverse": "^7.16.7", "@babel/types": "^7.16.7" }, + "description": "Babel helper functions for implementing ES6 module transformations", "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-helper-module-transforms", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-module-transforms", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-module-transforms" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-plugin-utils/package.json b/node_modules/@babel/helper-plugin-utils/package.json index 740d52ac3..7e9a97676 100644 --- a/node_modules/@babel/helper-plugin-utils/package.json +++ b/node_modules/@babel/helper-plugin-utils/package.json @@ -1,20 +1,69 @@ { - "name": "@babel/helper-plugin-utils", - "version": "7.16.7", + "_args": [ + [ + "@babel/helper-plugin-utils@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-plugin-utils@7.16.7", + "_id": "@babel/helper-plugin-utils@7.16.7", + "_inBundle": false, + "_integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==", + "_location": "/@babel/helper-plugin-utils", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-plugin-utils@7.16.7", + "name": "@babel/helper-plugin-utils", + "escapedName": "@babel%2fhelper-plugin-utils", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" + }, + "_requiredBy": [ + "/@babel/plugin-syntax-async-generators", + "/@babel/plugin-syntax-bigint", + "/@babel/plugin-syntax-class-properties", + "/@babel/plugin-syntax-import-meta", + "/@babel/plugin-syntax-json-strings", + "/@babel/plugin-syntax-logical-assignment-operators", + "/@babel/plugin-syntax-nullish-coalescing-operator", + "/@babel/plugin-syntax-numeric-separator", + "/@babel/plugin-syntax-object-rest-spread", + "/@babel/plugin-syntax-optional-catch-binding", + "/@babel/plugin-syntax-optional-chaining", + "/@babel/plugin-syntax-top-level-await", + "/@babel/plugin-syntax-typescript", + "/babel-plugin-istanbul" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, "description": "General utilities for plugins to use", - "author": "The Babel Team (https://babel.dev/team)", + "engines": { + "node": ">=6.9.0" + }, "homepage": "https://babel.dev/docs/en/next/babel-helper-plugin-utils", "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-plugin-utils", "publishConfig": { "access": "public" }, "repository": { "type": "git", - "url": "https://github.com/babel/babel.git", + "url": "git+https://github.com/babel/babel.git", "directory": "packages/babel-helper-plugin-utils" }, - "main": "./lib/index.js", - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-simple-access/package.json b/node_modules/@babel/helper-simple-access/package.json index e30c7eda7..d710b15a4 100644 --- a/node_modules/@babel/helper-simple-access/package.json +++ b/node_modules/@babel/helper-simple-access/package.json @@ -1,26 +1,62 @@ { - "name": "@babel/helper-simple-access", - "version": "7.16.7", - "description": "Babel helper for ensuring that access to a given value is performed through simple accesses", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helper-simple-access", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/helper-simple-access@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-simple-access@7.16.7", + "_id": "@babel/helper-simple-access@7.16.7", + "_inBundle": false, + "_integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", + "_location": "/@babel/helper-simple-access", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-simple-access@7.16.7", + "name": "@babel/helper-simple-access", + "escapedName": "@babel%2fhelper-simple-access", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-simple-access" + "_requiredBy": [ + "/@babel/helper-module-transforms" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/types": "^7.16.7" }, + "description": "Babel helper for ensuring that access to a given value is performed through simple accesses", "devDependencies": { "@babel/traverse": "^7.16.7" }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-helper-simple-access", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-simple-access", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-simple-access" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-split-export-declaration/package.json b/node_modules/@babel/helper-split-export-declaration/package.json index 3836b192d..8864bcf9f 100644 --- a/node_modules/@babel/helper-split-export-declaration/package.json +++ b/node_modules/@babel/helper-split-export-declaration/package.json @@ -1,23 +1,60 @@ { - "name": "@babel/helper-split-export-declaration", - "version": "7.16.7", - "description": "", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-split-export-declaration" + "_args": [ + [ + "@babel/helper-split-export-declaration@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-split-export-declaration@7.16.7", + "_id": "@babel/helper-split-export-declaration@7.16.7", + "_inBundle": false, + "_integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "_location": "/@babel/helper-split-export-declaration", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-split-export-declaration@7.16.7", + "name": "@babel/helper-split-export-declaration", + "escapedName": "@babel%2fhelper-split-export-declaration", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "homepage": "https://babel.dev/docs/en/next/babel-helper-split-export-declaration", - "license": "MIT", - "publishConfig": { - "access": "public" + "_requiredBy": [ + "/@babel/helper-module-transforms", + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/types": "^7.16.7" }, + "description": ">", "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "homepage": "https://babel.dev/docs/en/next/babel-helper-split-export-declaration", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-split-export-declaration", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-split-export-declaration" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-validator-identifier/package.json b/node_modules/@babel/helper-validator-identifier/package.json index 972fdf11d..f1f06afc6 100644 --- a/node_modules/@babel/helper-validator-identifier/package.json +++ b/node_modules/@babel/helper-validator-identifier/package.json @@ -1,21 +1,43 @@ { - "name": "@babel/helper-validator-identifier", - "version": "7.16.7", - "description": "Validate identifier/keywords name", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-validator-identifier" + "_args": [ + [ + "@babel/helper-validator-identifier@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "@babel/helper-validator-identifier@7.16.7", + "_id": "@babel/helper-validator-identifier@7.16.7", + "_inBundle": false, + "_integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "_location": "/@babel/helper-validator-identifier", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-validator-identifier@7.16.7", + "name": "@babel/helper-validator-identifier", + "escapedName": "@babel%2fhelper-validator-identifier", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "license": "MIT", - "publishConfig": { - "access": "public" + "_requiredBy": [ + "/@babel/helper-module-transforms", + "/@babel/highlight", + "/@babel/types" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" }, - "main": "./lib/index.js", - "exports": { - ".": "./lib/index.js", - "./package.json": "./package.json" + "bugs": { + "url": "https://github.com/babel/babel/issues" }, + "description": "Validate identifier/keywords name", "devDependencies": { "@unicode/unicode-14.0.0": "^1.2.1", "charcodes": "^0.2.0" @@ -23,5 +45,21 @@ "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "exports": { + ".": "./lib/index.js", + "./package.json": "./package.json" + }, + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-validator-identifier", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-validator-identifier" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/helper-validator-option/package.json b/node_modules/@babel/helper-validator-option/package.json index 1fe2da845..24fe6dbc1 100644 --- a/node_modules/@babel/helper-validator-option/package.json +++ b/node_modules/@babel/helper-validator-option/package.json @@ -1,23 +1,60 @@ { - "name": "@babel/helper-validator-option", - "version": "7.16.7", - "description": "Validate plugin/preset options", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helper-validator-option" + "_args": [ + [ + "@babel/helper-validator-option@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helper-validator-option@7.16.7", + "_id": "@babel/helper-validator-option@7.16.7", + "_inBundle": false, + "_integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "_location": "/@babel/helper-validator-option", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helper-validator-option@7.16.7", + "name": "@babel/helper-validator-option", + "escapedName": "@babel%2fhelper-validator-option", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "license": "MIT", - "publishConfig": { - "access": "public" + "_requiredBy": [ + "/@babel/helper-compilation-targets" + ], + "_resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "description": "Validate plugin/preset options", + "engines": { + "node": ">=6.9.0" }, - "main": "./lib/index.js", "exports": { ".": "./lib/index.js", "./package.json": "./package.json" }, - "engines": { - "node": ">=6.9.0" + "homepage": "https://github.com/babel/babel#readme", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helper-validator-option", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helper-validator-option" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "version": "7.16.7" +} diff --git a/node_modules/@babel/helpers/package.json b/node_modules/@babel/helpers/package.json index b2ef61679..65a5f54b1 100644 --- a/node_modules/@babel/helpers/package.json +++ b/node_modules/@babel/helpers/package.json @@ -1,29 +1,65 @@ { - "name": "@babel/helpers", - "version": "7.16.7", - "description": "Collection of helper functions used by Babel transforms.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-helpers", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/helpers@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/helpers@7.16.7", + "_id": "@babel/helpers@7.16.7", + "_inBundle": false, + "_integrity": "sha512-9ZDoqtfY7AuEOt3cxchfii6C7GDyyMBffktR5B2jvWv8u2+efwvpnVKXMWzNehqy68tKgAfSwfdw/lWpthS2bw==", + "_location": "/@babel/helpers", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/helpers@7.16.7", + "name": "@babel/helpers", + "escapedName": "@babel%2fhelpers", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-helpers" + "_requiredBy": [ + "/@babel/core" + ], + "_resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/template": "^7.16.7", "@babel/traverse": "^7.16.7", "@babel/types": "^7.16.7" }, + "description": "Collection of helper functions used by Babel transforms.", "devDependencies": { "@babel/helper-plugin-test-runner": "^7.16.7", "terser": "^5.9.0" }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-helpers", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/helpers", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-helpers" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/highlight/node_modules/ansi-styles/package.json b/node_modules/@babel/highlight/node_modules/ansi-styles/package.json index 65edb48c3..d931c2b6a 100644 --- a/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +++ b/node_modules/@babel/highlight/node_modules/ansi-styles/package.json @@ -1,56 +1,91 @@ { - "name": "ansi-styles", - "version": "3.2.1", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT", - "repository": "chalk/ansi-styles", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava", - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" - }, - "files": [ - "index.js" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "color-convert": "^1.9.0" - }, - "devDependencies": { - "ava": "*", - "babel-polyfill": "^6.23.0", - "svg-term-cli": "^2.1.1", - "xo": "*" - }, - "ava": { - "require": "babel-polyfill" - } + "_args": [ + [ + "ansi-styles@3.2.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "ansi-styles@3.2.1", + "_id": "ansi-styles@3.2.1", + "_inBundle": false, + "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "_location": "/@babel/highlight/ansi-styles", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ansi-styles@3.2.1", + "name": "ansi-styles", + "escapedName": "ansi-styles", + "rawSpec": "3.2.1", + "saveSpec": null, + "fetchSpec": "3.2.1" + }, + "_requiredBy": [ + "/@babel/highlight/chalk" + ], + "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "_spec": "3.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "ava": { + "require": "babel-polyfill" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-styles/issues" + }, + "dependencies": { + "color-convert": "^1.9.0" + }, + "description": "ANSI escape codes for styling strings in the terminal", + "devDependencies": { + "ava": "*", + "babel-polyfill": "^6.23.0", + "svg-term-cli": "^2.1.1", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/ansi-styles#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "ansi-styles", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-styles.git" + }, + "scripts": { + "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", + "test": "xo && ava" + }, + "version": "3.2.1" } diff --git a/node_modules/@babel/highlight/node_modules/chalk/package.json b/node_modules/@babel/highlight/node_modules/chalk/package.json index bc324685a..2fc588feb 100644 --- a/node_modules/@babel/highlight/node_modules/chalk/package.json +++ b/node_modules/@babel/highlight/node_modules/chalk/package.json @@ -1,71 +1,106 @@ { - "name": "chalk", - "version": "2.4.2", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava", - "bench": "matcha benchmark.js", - "coveralls": "nyc report --reporter=text-lcov | coveralls" - }, - "files": [ - "index.js", - "templates.js", - "types/index.d.ts", - "index.js.flow" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "devDependencies": { - "ava": "*", - "coveralls": "^3.0.0", - "execa": "^0.9.0", - "flow-bin": "^0.68.0", - "import-fresh": "^2.0.0", - "matcha": "^0.7.0", - "nyc": "^11.0.2", - "resolve-from": "^4.0.0", - "typescript": "^2.5.3", - "xo": "*" - }, - "types": "types/index.d.ts", - "xo": { - "envs": [ - "node", - "mocha" - ], - "ignores": [ - "test/_flow.js" - ] - } + "_args": [ + [ + "chalk@2.4.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "chalk@2.4.2", + "_id": "chalk@2.4.2", + "_inBundle": false, + "_integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "_location": "/@babel/highlight/chalk", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "chalk@2.4.2", + "name": "chalk", + "escapedName": "chalk", + "rawSpec": "2.4.2", + "saveSpec": null, + "fetchSpec": "2.4.2" + }, + "_requiredBy": [ + "/@babel/highlight" + ], + "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "_spec": "2.4.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/chalk/chalk/issues" + }, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "description": "Terminal string styling done right", + "devDependencies": { + "ava": "*", + "coveralls": "^3.0.0", + "execa": "^0.9.0", + "flow-bin": "^0.68.0", + "import-fresh": "^2.0.0", + "matcha": "^0.7.0", + "nyc": "^11.0.2", + "resolve-from": "^4.0.0", + "typescript": "^2.5.3", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js", + "templates.js", + "types/index.d.ts", + "index.js.flow" + ], + "homepage": "https://github.com/chalk/chalk#readme", + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "str", + "ansi", + "style", + "styles", + "tty", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "chalk", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/chalk.git" + }, + "scripts": { + "bench": "matcha benchmark.js", + "coveralls": "nyc report --reporter=text-lcov | coveralls", + "test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava" + }, + "types": "types/index.d.ts", + "version": "2.4.2", + "xo": { + "envs": [ + "node", + "mocha" + ], + "ignores": [ + "test/_flow.js" + ] + } } diff --git a/node_modules/@babel/highlight/node_modules/color-convert/package.json b/node_modules/@babel/highlight/node_modules/color-convert/package.json index dfbc47140..2fc7aa051 100644 --- a/node_modules/@babel/highlight/node_modules/color-convert/package.json +++ b/node_modules/@babel/highlight/node_modules/color-convert/package.json @@ -1,14 +1,54 @@ { - "name": "color-convert", + "_args": [ + [ + "color-convert@1.9.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "color-convert@1.9.3", + "_id": "color-convert@1.9.3", + "_inBundle": false, + "_integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "_location": "/@babel/highlight/color-convert", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "color-convert@1.9.3", + "name": "color-convert", + "escapedName": "color-convert", + "rawSpec": "1.9.3", + "saveSpec": null, + "fetchSpec": "1.9.3" + }, + "_requiredBy": [ + "/@babel/highlight/ansi-styles" + ], + "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "_spec": "1.9.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Heather Arthur", + "email": "fayearthur@gmail.com" + }, + "bugs": { + "url": "https://github.com/Qix-/color-convert/issues" + }, + "dependencies": { + "color-name": "1.1.3" + }, "description": "Plain color conversion functions", - "version": "1.9.3", - "author": "Heather Arthur ", - "license": "MIT", - "repository": "Qix-/color-convert", - "scripts": { - "pretest": "xo", - "test": "node test/basic.js" + "devDependencies": { + "chalk": "1.1.1", + "xo": "0.11.2" }, + "files": [ + "index.js", + "conversions.js", + "css-keywords.js", + "route.js" + ], + "homepage": "https://github.com/Qix-/color-convert#readme", "keywords": [ "color", "colour", @@ -23,24 +63,22 @@ "ansi", "ansi16" ], - "files": [ - "index.js", - "conversions.js", - "css-keywords.js", - "route.js" - ], + "license": "MIT", + "name": "color-convert", + "repository": { + "type": "git", + "url": "git+https://github.com/Qix-/color-convert.git" + }, + "scripts": { + "pretest": "xo", + "test": "node test/basic.js" + }, + "version": "1.9.3", "xo": { "rules": { "default-case": 0, "no-inline-comments": 0, "operator-linebreak": 0 } - }, - "devDependencies": { - "chalk": "1.1.1", - "xo": "0.11.2" - }, - "dependencies": { - "color-name": "1.1.3" } } diff --git a/node_modules/@babel/highlight/node_modules/color-name/package.json b/node_modules/@babel/highlight/node_modules/color-name/package.json index d061123ef..d4b124157 100644 --- a/node_modules/@babel/highlight/node_modules/color-name/package.json +++ b/node_modules/@babel/highlight/node_modules/color-name/package.json @@ -1,25 +1,56 @@ { - "name": "color-name", - "version": "1.1.3", - "description": "A list of color names and its values", - "main": "index.js", - "scripts": { - "test": "node test.js" + "_args": [ + [ + "color-name@1.1.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "color-name@1.1.3", + "_id": "color-name@1.1.3", + "_inBundle": false, + "_integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "_location": "/@babel/highlight/color-name", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "color-name@1.1.3", + "name": "color-name", + "escapedName": "color-name", + "rawSpec": "1.1.3", + "saveSpec": null, + "fetchSpec": "1.1.3" }, - "repository": { - "type": "git", - "url": "git@github.com:dfcreative/color-name.git" + "_requiredBy": [ + "/@babel/highlight/color-convert" + ], + "_resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "_spec": "1.1.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "DY", + "email": "dfcreative@gmail.com" + }, + "bugs": { + "url": "https://github.com/dfcreative/color-name/issues" }, + "description": "A list of color names and its values", + "homepage": "https://github.com/dfcreative/color-name", "keywords": [ "color-name", "color", "color-keyword", "keyword" ], - "author": "DY ", "license": "MIT", - "bugs": { - "url": "https://github.com/dfcreative/color-name/issues" + "main": "index.js", + "name": "color-name", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/dfcreative/color-name.git" + }, + "scripts": { + "test": "node test.js" }, - "homepage": "https://github.com/dfcreative/color-name" + "version": "1.1.3" } diff --git a/node_modules/@babel/highlight/node_modules/escape-string-regexp/package.json b/node_modules/@babel/highlight/node_modules/escape-string-regexp/package.json index f307df34a..0e20978bc 100644 --- a/node_modules/@babel/highlight/node_modules/escape-string-regexp/package.json +++ b/node_modules/@babel/highlight/node_modules/escape-string-regexp/package.json @@ -1,27 +1,52 @@ { - "name": "escape-string-regexp", - "version": "1.0.5", - "description": "Escape RegExp special characters", - "license": "MIT", - "repository": "sindresorhus/escape-string-regexp", + "_args": [ + [ + "escape-string-regexp@1.0.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "escape-string-regexp@1.0.5", + "_id": "escape-string-regexp@1.0.5", + "_inBundle": false, + "_integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "_location": "/@babel/highlight/escape-string-regexp", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "escape-string-regexp@1.0.5", + "name": "escape-string-regexp", + "escapedName": "escape-string-regexp", + "rawSpec": "1.0.5", + "saveSpec": null, + "fetchSpec": "1.0.5" + }, + "_requiredBy": [ + "/@babel/highlight/chalk" + ], + "_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "_spec": "1.0.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, - "maintainers": [ - "Sindre Sorhus (sindresorhus.com)", - "Joshua Boy Nicolai Appelman (jbna.nl)" - ], + "bugs": { + "url": "https://github.com/sindresorhus/escape-string-regexp/issues" + }, + "description": "Escape RegExp special characters", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=0.8.0" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/escape-string-regexp#readme", "keywords": [ "escape", "regex", @@ -34,8 +59,26 @@ "special", "characters" ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "license": "MIT", + "maintainers": [ + { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + { + "name": "Joshua Boy Nicolai Appelman", + "email": "joshua@jbna.nl", + "url": "jbna.nl" + } + ], + "name": "escape-string-regexp", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/escape-string-regexp.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.0.5" } diff --git a/node_modules/@babel/highlight/node_modules/has-flag/package.json b/node_modules/@babel/highlight/node_modules/has-flag/package.json index e1eb17a15..20d002446 100644 --- a/node_modules/@babel/highlight/node_modules/has-flag/package.json +++ b/node_modules/@babel/highlight/node_modules/has-flag/package.json @@ -1,23 +1,52 @@ { - "name": "has-flag", - "version": "3.0.0", - "description": "Check if argv has a specific flag", - "license": "MIT", - "repository": "sindresorhus/has-flag", + "_args": [ + [ + "has-flag@3.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "has-flag@3.0.0", + "_id": "has-flag@3.0.0", + "_inBundle": false, + "_integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "_location": "/@babel/highlight/has-flag", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "has-flag@3.0.0", + "name": "has-flag", + "escapedName": "has-flag", + "rawSpec": "3.0.0", + "saveSpec": null, + "fetchSpec": "3.0.0" + }, + "_requiredBy": [ + "/@babel/highlight/supports-color" + ], + "_resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "_spec": "3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/has-flag/issues" + }, + "description": "Check if argv has a specific flag", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=4" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/has-flag#readme", "keywords": [ "has", "check", @@ -37,8 +66,14 @@ "minimist", "optimist" ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "license": "MIT", + "name": "has-flag", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/has-flag.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "3.0.0" } diff --git a/node_modules/@babel/highlight/node_modules/supports-color/package.json b/node_modules/@babel/highlight/node_modules/supports-color/package.json index ad199f5cd..c4bfe9451 100644 --- a/node_modules/@babel/highlight/node_modules/supports-color/package.json +++ b/node_modules/@babel/highlight/node_modules/supports-color/package.json @@ -1,53 +1,88 @@ { - "name": "supports-color", - "version": "5.5.0", - "description": "Detect whether a terminal supports color", - "license": "MIT", - "repository": "chalk/supports-color", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js", - "browser.js" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "ansi", - "styles", - "tty", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "support", - "supports", - "capability", - "detect", - "truecolor", - "16m" - ], - "dependencies": { - "has-flag": "^3.0.0" - }, - "devDependencies": { - "ava": "^0.25.0", - "import-fresh": "^2.0.0", - "xo": "^0.20.0" - }, - "browser": "browser.js" + "_args": [ + [ + "supports-color@5.5.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "supports-color@5.5.0", + "_id": "supports-color@5.5.0", + "_inBundle": false, + "_integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "_location": "/@babel/highlight/supports-color", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "supports-color@5.5.0", + "name": "supports-color", + "escapedName": "supports-color", + "rawSpec": "5.5.0", + "saveSpec": null, + "fetchSpec": "5.5.0" + }, + "_requiredBy": [ + "/@babel/highlight/chalk" + ], + "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "_spec": "5.5.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "browser": "browser.js", + "bugs": { + "url": "https://github.com/chalk/supports-color/issues" + }, + "dependencies": { + "has-flag": "^3.0.0" + }, + "description": "Detect whether a terminal supports color", + "devDependencies": { + "ava": "^0.25.0", + "import-fresh": "^2.0.0", + "xo": "^0.20.0" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js", + "browser.js" + ], + "homepage": "https://github.com/chalk/supports-color#readme", + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "ansi", + "styles", + "tty", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "support", + "supports", + "capability", + "detect", + "truecolor", + "16m" + ], + "license": "MIT", + "name": "supports-color", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/supports-color.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "5.5.0" } diff --git a/node_modules/@babel/highlight/package.json b/node_modules/@babel/highlight/package.json index c90dafdc9..eb2992a83 100644 --- a/node_modules/@babel/highlight/package.json +++ b/node_modules/@babel/highlight/package.json @@ -1,29 +1,68 @@ { - "name": "@babel/highlight", - "version": "7.16.7", - "description": "Syntax highlight JavaScript strings for output in terminals.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-highlight", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/highlight@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "@babel/highlight@7.16.7", + "_id": "@babel/highlight@7.16.7", + "_inBundle": false, + "_integrity": "sha512-aKpPMfLvGO3Q97V0qhw/V2SWNWlwfJknuwAunU7wZLSfrM4xTBvg7E5opUVi1kJTBKihE38CPg4nBiqX83PWYw==", + "_location": "/@babel/highlight", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/highlight@7.16.7", + "name": "@babel/highlight", + "escapedName": "@babel%2fhighlight", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-highlight" + "_requiredBy": [ + "/@babel/code-frame", + "/@babel/core/@babel/code-frame", + "/@babel/template/@babel/code-frame", + "/@babel/traverse/@babel/code-frame", + "/jest-message-util/@babel/code-frame" + ], + "_resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" }, - "main": "./lib/index.js", "dependencies": { "@babel/helper-validator-identifier": "^7.16.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, + "description": "Syntax highlight JavaScript strings for output in terminals.", "devDependencies": { "@types/chalk": "^2.0.0", "strip-ansi": "^4.0.0" }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-highlight", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/highlight", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-highlight" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/parser/package.json b/node_modules/@babel/parser/package.json index 07aa6118e..2578588c2 100644 --- a/node_modules/@babel/parser/package.json +++ b/node_modules/@babel/parser/package.json @@ -1,14 +1,65 @@ { - "name": "@babel/parser", - "version": "7.16.7", + "_args": [ + [ + "@babel/parser@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/parser@7.16.7", + "_id": "@babel/parser@7.16.7", + "_inBundle": false, + "_integrity": "sha512-sR4eaSrnM7BV7QPzGfEX5paG/6wrZM3I0HDzfIAK06ESvo9oy3xBuVBxE3MbQaKNhvg8g/ixjMWo2CGpzpHsDA==", + "_location": "/@babel/parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/parser@7.16.7", + "name": "@babel/parser", + "escapedName": "@babel%2fparser", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/template", + "/@babel/traverse", + "/@types/babel__core", + "/@types/babel__template", + "/istanbul-lib-instrument" + ], + "_resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen" + }, "description": "A JavaScript parser", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-parser", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen", - "license": "MIT", - "publishConfig": { - "access": "public" + "devDependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/helper-fixtures": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "charcodes": "^0.2.0" }, + "engines": { + "node": ">=6.0.0" + }, + "files": [ + "bin", + "lib", + "typings" + ], + "homepage": "https://babel.dev/docs/en/next/babel-parser", "keywords": [ "babel", "javascript", @@ -17,26 +68,17 @@ "ecmascript", "@babel/parser" ], + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/parser", + "publishConfig": { + "access": "public" + }, "repository": { "type": "git", - "url": "https://github.com/babel/babel.git", + "url": "git+https://github.com/babel/babel.git", "directory": "packages/babel-parser" }, - "main": "./lib/index.js", "types": "./typings/babel-parser.d.ts", - "files": [ - "bin", - "lib", - "typings" - ], - "engines": { - "node": ">=6.0.0" - }, - "devDependencies": { - "@babel/code-frame": "^7.16.7", - "@babel/helper-fixtures": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "charcodes": "^0.2.0" - }, - "bin": "./bin/babel-parser.js" -} \ No newline at end of file + "version": "7.16.7" +} diff --git a/node_modules/@babel/plugin-syntax-async-generators/package.json b/node_modules/@babel/plugin-syntax-async-generators/package.json index 5d9d9de6d..c18100660 100644 --- a/node_modules/@babel/plugin-syntax-async-generators/package.json +++ b/node_modules/@babel/plugin-syntax-async-generators/package.json @@ -1,23 +1,56 @@ { - "name": "@babel/plugin-syntax-async-generators", - "version": "7.8.4", - "description": "Allow parsing of async generator functions", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-generators", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-async-generators@7.8.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-async-generators@7.8.4", + "_id": "@babel/plugin-syntax-async-generators@7.8.4", + "_inBundle": false, + "_integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "_location": "/@babel/plugin-syntax-async-generators", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-async-generators@7.8.4", + "name": "@babel/plugin-syntax-async-generators", + "escapedName": "@babel%2fplugin-syntax-async-generators", + "scope": "@babel", + "rawSpec": "7.8.4", + "saveSpec": null, + "fetchSpec": "7.8.4" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "_spec": "7.8.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, + "description": "Allow parsing of async generator functions", + "devDependencies": { + "@babel/core": "^7.8.0" + }, + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-async-generators", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.8.0" - } + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-generators" + }, + "version": "7.8.4" } diff --git a/node_modules/@babel/plugin-syntax-bigint/package.json b/node_modules/@babel/plugin-syntax-bigint/package.json index 9a18bcd81..fc2a485d1 100644 --- a/node_modules/@babel/plugin-syntax-bigint/package.json +++ b/node_modules/@babel/plugin-syntax-bigint/package.json @@ -1,23 +1,56 @@ { - "name": "@babel/plugin-syntax-bigint", - "version": "7.8.3", - "description": "Allow parsing of BigInt literals", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-bigint", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-bigint@7.8.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-bigint@7.8.3", + "_id": "@babel/plugin-syntax-bigint@7.8.3", + "_inBundle": false, + "_integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "_location": "/@babel/plugin-syntax-bigint", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-bigint@7.8.3", + "name": "@babel/plugin-syntax-bigint", + "escapedName": "@babel%2fplugin-syntax-bigint", + "scope": "@babel", + "rawSpec": "7.8.3", + "saveSpec": null, + "fetchSpec": "7.8.3" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "_spec": "7.8.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, + "description": "Allow parsing of BigInt literals", + "devDependencies": { + "@babel/core": "^7.8.0" + }, + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-bigint", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.8.0" - } + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-bigint" + }, + "version": "7.8.3" } diff --git a/node_modules/@babel/plugin-syntax-class-properties/package.json b/node_modules/@babel/plugin-syntax-class-properties/package.json index cf443bab5..11ce44941 100644 --- a/node_modules/@babel/plugin-syntax-class-properties/package.json +++ b/node_modules/@babel/plugin-syntax-class-properties/package.json @@ -1,28 +1,61 @@ { - "name": "@babel/plugin-syntax-class-properties", - "version": "7.12.13", + "_args": [ + [ + "@babel/plugin-syntax-class-properties@7.12.13", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-class-properties@7.12.13", + "_id": "@babel/plugin-syntax-class-properties@7.12.13", + "_inBundle": false, + "_integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "_location": "/@babel/plugin-syntax-class-properties", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-class-properties@7.12.13", + "name": "@babel/plugin-syntax-class-properties", + "escapedName": "@babel%2fplugin-syntax-class-properties", + "scope": "@babel", + "rawSpec": "7.12.13", + "saveSpec": null, + "fetchSpec": "7.12.13" + }, + "_requiredBy": [ + "/babel-preset-current-node-syntax" + ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "_spec": "7.12.13", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, "description": "Allow parsing of class properties", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-plugin-syntax-class-properties" + "devDependencies": { + "@babel/core": "7.12.13" }, "homepage": "https://babel.dev/docs/en/next/babel-plugin-syntax-class-properties", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "main": "lib/index.js", "keywords": [ "babel-plugin" ], - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-class-properties", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "7.12.13" - } -} \ No newline at end of file + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-plugin-syntax-class-properties" + }, + "version": "7.12.13" +} diff --git a/node_modules/@babel/plugin-syntax-import-meta/package.json b/node_modules/@babel/plugin-syntax-import-meta/package.json index de0966593..d786fc24e 100644 --- a/node_modules/@babel/plugin-syntax-import-meta/package.json +++ b/node_modules/@babel/plugin-syntax-import-meta/package.json @@ -1,28 +1,62 @@ { - "name": "@babel/plugin-syntax-import-meta", - "version": "7.10.4", - "description": "Allow parsing of import.meta", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-plugin-syntax-import-meta" - }, - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-import-meta@7.10.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-import-meta@7.10.4", + "_id": "@babel/plugin-syntax-import-meta@7.10.4", + "_inBundle": false, + "_integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "_location": "/@babel/plugin-syntax-import-meta", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-import-meta@7.10.4", + "name": "@babel/plugin-syntax-import-meta", + "escapedName": "@babel%2fplugin-syntax-import-meta", + "scope": "@babel", + "rawSpec": "7.10.4", + "saveSpec": null, + "fetchSpec": "7.10.4" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "_spec": "7.10.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, + "description": "Allow parsing of import.meta", + "devDependencies": { + "@babel/core": "^7.10.4" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-import-meta", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.10.4" + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-plugin-syntax-import-meta" }, - "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df" + "version": "7.10.4" } diff --git a/node_modules/@babel/plugin-syntax-json-strings/package.json b/node_modules/@babel/plugin-syntax-json-strings/package.json index e41c6464b..7f4093f68 100644 --- a/node_modules/@babel/plugin-syntax-json-strings/package.json +++ b/node_modules/@babel/plugin-syntax-json-strings/package.json @@ -1,23 +1,56 @@ { - "name": "@babel/plugin-syntax-json-strings", - "version": "7.8.3", - "description": "Allow parsing of the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-json-strings", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-json-strings@7.8.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-json-strings@7.8.3", + "_id": "@babel/plugin-syntax-json-strings@7.8.3", + "_inBundle": false, + "_integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "_location": "/@babel/plugin-syntax-json-strings", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-json-strings@7.8.3", + "name": "@babel/plugin-syntax-json-strings", + "escapedName": "@babel%2fplugin-syntax-json-strings", + "scope": "@babel", + "rawSpec": "7.8.3", + "saveSpec": null, + "fetchSpec": "7.8.3" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "_spec": "7.8.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, + "description": "Allow parsing of the U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR in JS strings", + "devDependencies": { + "@babel/core": "^7.8.0" + }, + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-json-strings", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.8.0" - } + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-json-strings" + }, + "version": "7.8.3" } diff --git a/node_modules/@babel/plugin-syntax-logical-assignment-operators/package.json b/node_modules/@babel/plugin-syntax-logical-assignment-operators/package.json index cce0541b3..ca186c9f5 100644 --- a/node_modules/@babel/plugin-syntax-logical-assignment-operators/package.json +++ b/node_modules/@babel/plugin-syntax-logical-assignment-operators/package.json @@ -1,28 +1,62 @@ { - "name": "@babel/plugin-syntax-logical-assignment-operators", - "version": "7.10.4", - "description": "Allow parsing of the logical assignment operators", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-plugin-syntax-logical-assignment-operators" - }, - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-logical-assignment-operators@7.10.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-logical-assignment-operators@7.10.4", + "_id": "@babel/plugin-syntax-logical-assignment-operators@7.10.4", + "_inBundle": false, + "_integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "_location": "/@babel/plugin-syntax-logical-assignment-operators", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-logical-assignment-operators@7.10.4", + "name": "@babel/plugin-syntax-logical-assignment-operators", + "escapedName": "@babel%2fplugin-syntax-logical-assignment-operators", + "scope": "@babel", + "rawSpec": "7.10.4", + "saveSpec": null, + "fetchSpec": "7.10.4" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "_spec": "7.10.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, + "description": "Allow parsing of the logical assignment operators", + "devDependencies": { + "@babel/core": "^7.10.4" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-logical-assignment-operators", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.10.4" + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-plugin-syntax-logical-assignment-operators" }, - "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df" + "version": "7.10.4" } diff --git a/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json b/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json index 983e6556d..82de6b896 100644 --- a/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json +++ b/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json @@ -1,23 +1,56 @@ { - "name": "@babel/plugin-syntax-nullish-coalescing-operator", - "version": "7.8.3", - "description": "Allow parsing of the nullish-coalescing operator", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-nullish-coalescing-operator", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-nullish-coalescing-operator@7.8.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-nullish-coalescing-operator@7.8.3", + "_id": "@babel/plugin-syntax-nullish-coalescing-operator@7.8.3", + "_inBundle": false, + "_integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "_location": "/@babel/plugin-syntax-nullish-coalescing-operator", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-nullish-coalescing-operator@7.8.3", + "name": "@babel/plugin-syntax-nullish-coalescing-operator", + "escapedName": "@babel%2fplugin-syntax-nullish-coalescing-operator", + "scope": "@babel", + "rawSpec": "7.8.3", + "saveSpec": null, + "fetchSpec": "7.8.3" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "_spec": "7.8.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, + "description": "Allow parsing of the nullish-coalescing operator", + "devDependencies": { + "@babel/core": "^7.8.0" + }, + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-nullish-coalescing-operator", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.8.0" - } + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-nullish-coalescing-operator" + }, + "version": "7.8.3" } diff --git a/node_modules/@babel/plugin-syntax-numeric-separator/package.json b/node_modules/@babel/plugin-syntax-numeric-separator/package.json index 6dc4d9668..da520726a 100644 --- a/node_modules/@babel/plugin-syntax-numeric-separator/package.json +++ b/node_modules/@babel/plugin-syntax-numeric-separator/package.json @@ -1,28 +1,62 @@ { - "name": "@babel/plugin-syntax-numeric-separator", - "version": "7.10.4", - "description": "Allow parsing of Decimal, Binary, Hex and Octal literals that contain a Numeric Literal Separator", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-plugin-syntax-numeric-separator" - }, - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-numeric-separator@7.10.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-numeric-separator@7.10.4", + "_id": "@babel/plugin-syntax-numeric-separator@7.10.4", + "_inBundle": false, + "_integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "_location": "/@babel/plugin-syntax-numeric-separator", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-numeric-separator@7.10.4", + "name": "@babel/plugin-syntax-numeric-separator", + "escapedName": "@babel%2fplugin-syntax-numeric-separator", + "scope": "@babel", + "rawSpec": "7.10.4", + "saveSpec": null, + "fetchSpec": "7.10.4" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "_spec": "7.10.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, + "description": "Allow parsing of Decimal, Binary, Hex and Octal literals that contain a Numeric Literal Separator", + "devDependencies": { + "@babel/core": "^7.10.4" + }, + "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df", + "homepage": "https://github.com/babel/babel#readme", + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-numeric-separator", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.10.4" + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-plugin-syntax-numeric-separator" }, - "gitHead": "7fd40d86a0d03ff0e9c3ea16b29689945433d4df" + "version": "7.10.4" } diff --git a/node_modules/@babel/plugin-syntax-object-rest-spread/package.json b/node_modules/@babel/plugin-syntax-object-rest-spread/package.json index 66b76d3a7..a7b74c5cd 100644 --- a/node_modules/@babel/plugin-syntax-object-rest-spread/package.json +++ b/node_modules/@babel/plugin-syntax-object-rest-spread/package.json @@ -1,23 +1,56 @@ { - "name": "@babel/plugin-syntax-object-rest-spread", - "version": "7.8.3", - "description": "Allow parsing of object rest/spread", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-object-rest-spread", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-object-rest-spread@7.8.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-object-rest-spread@7.8.3", + "_id": "@babel/plugin-syntax-object-rest-spread@7.8.3", + "_inBundle": false, + "_integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "_location": "/@babel/plugin-syntax-object-rest-spread", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-object-rest-spread@7.8.3", + "name": "@babel/plugin-syntax-object-rest-spread", + "escapedName": "@babel%2fplugin-syntax-object-rest-spread", + "scope": "@babel", + "rawSpec": "7.8.3", + "saveSpec": null, + "fetchSpec": "7.8.3" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "_spec": "7.8.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, + "description": "Allow parsing of object rest/spread", + "devDependencies": { + "@babel/core": "^7.8.0" + }, + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-object-rest-spread", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.8.0" - } + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-object-rest-spread" + }, + "version": "7.8.3" } diff --git a/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json b/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json index 5b38a0c11..608fc081d 100644 --- a/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json +++ b/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json @@ -1,23 +1,56 @@ { - "name": "@babel/plugin-syntax-optional-catch-binding", - "version": "7.8.3", - "description": "Allow parsing of optional catch bindings", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-catch-binding", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-optional-catch-binding@7.8.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-optional-catch-binding@7.8.3", + "_id": "@babel/plugin-syntax-optional-catch-binding@7.8.3", + "_inBundle": false, + "_integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "_location": "/@babel/plugin-syntax-optional-catch-binding", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-optional-catch-binding@7.8.3", + "name": "@babel/plugin-syntax-optional-catch-binding", + "escapedName": "@babel%2fplugin-syntax-optional-catch-binding", + "scope": "@babel", + "rawSpec": "7.8.3", + "saveSpec": null, + "fetchSpec": "7.8.3" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "_spec": "7.8.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, + "description": "Allow parsing of optional catch bindings", + "devDependencies": { + "@babel/core": "^7.8.0" + }, + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-optional-catch-binding", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.8.0" - } + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-catch-binding" + }, + "version": "7.8.3" } diff --git a/node_modules/@babel/plugin-syntax-optional-chaining/package.json b/node_modules/@babel/plugin-syntax-optional-chaining/package.json index a1dcdc2f8..20c82a278 100644 --- a/node_modules/@babel/plugin-syntax-optional-chaining/package.json +++ b/node_modules/@babel/plugin-syntax-optional-chaining/package.json @@ -1,23 +1,56 @@ { - "name": "@babel/plugin-syntax-optional-chaining", - "version": "7.8.3", - "description": "Allow parsing of optional properties", - "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-chaining", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-optional-chaining@7.8.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-optional-chaining@7.8.3", + "_id": "@babel/plugin-syntax-optional-chaining@7.8.3", + "_inBundle": false, + "_integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "_location": "/@babel/plugin-syntax-optional-chaining", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-optional-chaining@7.8.3", + "name": "@babel/plugin-syntax-optional-chaining", + "escapedName": "@babel%2fplugin-syntax-optional-chaining", + "scope": "@babel", + "rawSpec": "7.8.3", + "saveSpec": null, + "fetchSpec": "7.8.3" }, - "main": "lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "_spec": "7.8.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, + "description": "Allow parsing of optional properties", + "devDependencies": { + "@babel/core": "^7.8.0" + }, + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@babel/plugin-syntax-optional-chaining", "peerDependencies": { "@babel/core": "^7.0.0-0" }, - "devDependencies": { - "@babel/core": "^7.8.0" - } + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-chaining" + }, + "version": "7.8.3" } diff --git a/node_modules/@babel/plugin-syntax-top-level-await/package.json b/node_modules/@babel/plugin-syntax-top-level-await/package.json index 70952be39..a7e0d51c7 100644 --- a/node_modules/@babel/plugin-syntax-top-level-await/package.json +++ b/node_modules/@babel/plugin-syntax-top-level-await/package.json @@ -1,32 +1,68 @@ { - "name": "@babel/plugin-syntax-top-level-await", - "version": "7.14.5", - "description": "Allow parsing of top-level await in modules", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-plugin-syntax-top-level-await" - }, - "homepage": "https://babel.dev/docs/en/next/babel-plugin-syntax-top-level-await", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-top-level-await@7.14.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-top-level-await@7.14.5", + "_id": "@babel/plugin-syntax-top-level-await@7.14.5", + "_inBundle": false, + "_integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "_location": "/@babel/plugin-syntax-top-level-await", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-top-level-await@7.14.5", + "name": "@babel/plugin-syntax-top-level-await", + "escapedName": "@babel%2fplugin-syntax-top-level-await", + "scope": "@babel", + "rawSpec": "7.14.5", + "saveSpec": null, + "fetchSpec": "7.14.5" }, - "main": "./lib/index.js", - "keywords": [ - "babel-plugin" + "_requiredBy": [ + "/babel-preset-current-node-syntax" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "_spec": "7.14.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - }, + "description": "Allow parsing of top-level await in modules", "devDependencies": { "@babel/core": "7.14.5" }, "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "homepage": "https://babel.dev/docs/en/next/babel-plugin-syntax-top-level-await", + "keywords": [ + "babel-plugin" + ], + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/plugin-syntax-top-level-await", + "peerDependencies": { + "@babel/core": "^7.0.0-0" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-plugin-syntax-top-level-await" + }, + "version": "7.14.5" +} diff --git a/node_modules/@babel/plugin-syntax-typescript/package.json b/node_modules/@babel/plugin-syntax-typescript/package.json index dcea4df3a..1984dec5f 100644 --- a/node_modules/@babel/plugin-syntax-typescript/package.json +++ b/node_modules/@babel/plugin-syntax-typescript/package.json @@ -1,28 +1,45 @@ { - "name": "@babel/plugin-syntax-typescript", - "version": "7.16.7", - "description": "Allow parsing of TypeScript syntax", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-plugin-syntax-typescript" - }, - "homepage": "https://babel.dev/docs/en/next/babel-plugin-syntax-typescript", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/plugin-syntax-typescript@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/plugin-syntax-typescript@7.16.7", + "_id": "@babel/plugin-syntax-typescript@7.16.7", + "_inBundle": false, + "_integrity": "sha512-YhUIJHHGkqPgEcMYkPCKTyGUdoGKWtopIycQyjJH8OjvRgOYsXsaKehLVPScKJWAULPxMa4N1vCe6szREFlZ7A==", + "_location": "/@babel/plugin-syntax-typescript", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/plugin-syntax-typescript@7.16.7", + "name": "@babel/plugin-syntax-typescript", + "escapedName": "@babel%2fplugin-syntax-typescript", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "main": "./lib/index.js", - "keywords": [ - "babel-plugin", - "typescript" + "_requiredBy": [ + "/jest-snapshot" ], + "_resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues" + }, "dependencies": { "@babel/helper-plugin-utils": "^7.16.7" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - }, + "description": "Allow parsing of TypeScript syntax", "devDependencies": { "@babel/core": "^7.16.7", "@babel/helper-plugin-test-runner": "^7.16.7" @@ -30,5 +47,24 @@ "engines": { "node": ">=6.9.0" }, - "author": "The Babel Team (https://babel.dev/team)" -} \ No newline at end of file + "homepage": "https://babel.dev/docs/en/next/babel-plugin-syntax-typescript", + "keywords": [ + "babel-plugin", + "typescript" + ], + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/plugin-syntax-typescript", + "peerDependencies": { + "@babel/core": "^7.0.0-0" + }, + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-plugin-syntax-typescript" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/template/node_modules/@babel/code-frame/package.json b/node_modules/@babel/template/node_modules/@babel/code-frame/package.json index ee1b3820a..b703cf925 100644 --- a/node_modules/@babel/template/node_modules/@babel/code-frame/package.json +++ b/node_modules/@babel/template/node_modules/@babel/code-frame/package.json @@ -1,23 +1,45 @@ { - "name": "@babel/code-frame", - "version": "7.16.7", - "description": "Generate errors that contain a code frame that point to source locations.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-code-frame", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/code-frame@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/code-frame@7.16.7", + "_id": "@babel/code-frame@7.16.7", + "_inBundle": false, + "_integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "_location": "/@babel/template/@babel/code-frame", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/code-frame@7.16.7", + "name": "@babel/code-frame", + "escapedName": "@babel%2fcode-frame", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-code-frame" + "_requiredBy": [ + "/@babel/template" + ], + "_resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen" }, - "main": "./lib/index.js", "dependencies": { "@babel/highlight": "^7.16.7" }, + "description": "Generate errors that contain a code frame that point to source locations.", "devDependencies": { "@types/chalk": "^2.0.0", "chalk": "^2.0.0", @@ -25,5 +47,18 @@ }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-code-frame", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/code-frame", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-code-frame" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/template/package.json b/node_modules/@babel/template/package.json index 9aca58a5a..716404537 100644 --- a/node_modules/@babel/template/package.json +++ b/node_modules/@babel/template/package.json @@ -1,26 +1,67 @@ { - "name": "@babel/template", - "version": "7.16.7", + "_args": [ + [ + "@babel/template@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/template@7.16.7", + "_id": "@babel/template@7.16.7", + "_inBundle": false, + "_integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "_location": "/@babel/template", + "_phantomChildren": { + "@babel/highlight": "7.16.7" + }, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/template@7.16.7", + "name": "@babel/template", + "escapedName": "@babel%2ftemplate", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/helper-function-name", + "/@babel/helper-module-transforms", + "/@babel/helpers", + "/babel-plugin-jest-hoist" + ], + "_resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20template%22+is%3Aopen" + }, + "dependencies": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + }, "description": "Generate an AST from a string template.", - "author": "The Babel Team (https://babel.dev/team)", + "engines": { + "node": ">=6.9.0" + }, "homepage": "https://babel.dev/docs/en/next/babel-template", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20template%22+is%3Aopen", "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/template", "publishConfig": { "access": "public" }, "repository": { "type": "git", - "url": "https://github.com/babel/babel.git", + "url": "git+https://github.com/babel/babel.git", "directory": "packages/babel-template" }, - "main": "./lib/index.js", - "dependencies": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file + "version": "7.16.7" +} diff --git a/node_modules/@babel/traverse/node_modules/@babel/code-frame/package.json b/node_modules/@babel/traverse/node_modules/@babel/code-frame/package.json index ee1b3820a..f685fb8fb 100644 --- a/node_modules/@babel/traverse/node_modules/@babel/code-frame/package.json +++ b/node_modules/@babel/traverse/node_modules/@babel/code-frame/package.json @@ -1,23 +1,45 @@ { - "name": "@babel/code-frame", - "version": "7.16.7", - "description": "Generate errors that contain a code frame that point to source locations.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-code-frame", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/code-frame@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/code-frame@7.16.7", + "_id": "@babel/code-frame@7.16.7", + "_inBundle": false, + "_integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "_location": "/@babel/traverse/@babel/code-frame", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/code-frame@7.16.7", + "name": "@babel/code-frame", + "escapedName": "@babel%2fcode-frame", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-code-frame" + "_requiredBy": [ + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen" }, - "main": "./lib/index.js", "dependencies": { "@babel/highlight": "^7.16.7" }, + "description": "Generate errors that contain a code frame that point to source locations.", "devDependencies": { "@types/chalk": "^2.0.0", "chalk": "^2.0.0", @@ -25,5 +47,18 @@ }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-code-frame", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/code-frame", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-code-frame" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/traverse/node_modules/globals/package.json b/node_modules/@babel/traverse/node_modules/globals/package.json index dfe459b6f..d9a19ef9e 100644 --- a/node_modules/@babel/traverse/node_modules/globals/package.json +++ b/node_modules/@babel/traverse/node_modules/globals/package.json @@ -1,41 +1,77 @@ { - "name": "globals", - "version": "11.12.0", - "description": "Global identifiers from different JavaScript environments", - "license": "MIT", - "repository": "sindresorhus/globals", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js", - "globals.json" - ], - "keywords": [ - "globals", - "global", - "identifiers", - "variables", - "vars", - "jshint", - "eslint", - "environments" - ], - "devDependencies": { - "ava": "0.21.0", - "xo": "0.18.0" - }, - "xo": { - "ignores": [ - "get-browser-globals.js" - ] - } + "_args": [ + [ + "globals@11.12.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "globals@11.12.0", + "_id": "globals@11.12.0", + "_inBundle": false, + "_integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "_location": "/@babel/traverse/globals", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "globals@11.12.0", + "name": "globals", + "escapedName": "globals", + "rawSpec": "11.12.0", + "saveSpec": null, + "fetchSpec": "11.12.0" + }, + "_requiredBy": [ + "/@babel/traverse" + ], + "_resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "_spec": "11.12.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/globals/issues" + }, + "description": "Global identifiers from different JavaScript environments", + "devDependencies": { + "ava": "0.21.0", + "xo": "0.18.0" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js", + "globals.json" + ], + "homepage": "https://github.com/sindresorhus/globals#readme", + "keywords": [ + "globals", + "global", + "identifiers", + "variables", + "vars", + "jshint", + "eslint", + "environments" + ], + "license": "MIT", + "name": "globals", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/globals.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "11.12.0", + "xo": { + "ignores": [ + "get-browser-globals.js" + ] + } } diff --git a/node_modules/@babel/traverse/package.json b/node_modules/@babel/traverse/package.json index ceb21a537..4a22da455 100644 --- a/node_modules/@babel/traverse/package.json +++ b/node_modules/@babel/traverse/package.json @@ -1,20 +1,46 @@ { - "name": "@babel/traverse", - "version": "7.16.7", - "description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-traverse", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20traverse%22+is%3Aopen", - "license": "MIT", - "publishConfig": { - "access": "public" + "_args": [ + [ + "@babel/traverse@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/traverse@7.16.7", + "_id": "@babel/traverse@7.16.7", + "_inBundle": false, + "_integrity": "sha512-8KWJPIb8c2VvY8AJrydh6+fVRo2ODx1wYBU2398xJVq0JomuLBZmVQzLPBblJgHIGYG4znCpUZUZ0Pt2vdmVYQ==", + "_location": "/@babel/traverse", + "_phantomChildren": { + "@babel/highlight": "7.16.7" }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-traverse" + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/traverse@7.16.7", + "name": "@babel/traverse", + "escapedName": "@babel%2ftraverse", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/helper-module-transforms", + "/@babel/helpers", + "/jest-snapshot" + ], + "_resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20traverse%22+is%3Aopen" }, - "main": "./lib/index.js", "dependencies": { "@babel/code-frame": "^7.16.7", "@babel/generator": "^7.16.7", @@ -27,10 +53,24 @@ "debug": "^4.1.0", "globals": "^11.1.0" }, + "description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", "devDependencies": { "@babel/helper-plugin-test-runner": "^7.16.7" }, "engines": { "node": ">=6.9.0" - } -} \ No newline at end of file + }, + "homepage": "https://babel.dev/docs/en/next/babel-traverse", + "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/traverse", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/babel/babel.git", + "directory": "packages/babel-traverse" + }, + "version": "7.16.7" +} diff --git a/node_modules/@babel/types/package.json b/node_modules/@babel/types/package.json index 4d75987f9..3383eb743 100644 --- a/node_modules/@babel/types/package.json +++ b/node_modules/@babel/types/package.json @@ -1,20 +1,85 @@ { - "name": "@babel/types", - "version": "7.16.7", + "_args": [ + [ + "@babel/types@7.16.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@babel/types@7.16.7", + "_id": "@babel/types@7.16.7", + "_inBundle": false, + "_integrity": "sha512-E8HuV7FO9qLpx6OtoGfUQ2cjIYnbFwvZWYBS+87EwtdMvmUPJSwykpovFB+8insbpF0uJcpr8KMUi64XZntZcg==", + "_location": "/@babel/types", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@babel/types@7.16.7", + "name": "@babel/types", + "escapedName": "@babel%2ftypes", + "scope": "@babel", + "rawSpec": "7.16.7", + "saveSpec": null, + "fetchSpec": "7.16.7" + }, + "_requiredBy": [ + "/@babel/core", + "/@babel/generator", + "/@babel/helper-environment-visitor", + "/@babel/helper-function-name", + "/@babel/helper-get-function-arity", + "/@babel/helper-hoist-variables", + "/@babel/helper-module-imports", + "/@babel/helper-module-transforms", + "/@babel/helper-simple-access", + "/@babel/helper-split-export-declaration", + "/@babel/helpers", + "/@babel/template", + "/@babel/traverse", + "/@types/babel__core", + "/@types/babel__generator", + "/@types/babel__template", + "/@types/babel__traverse", + "/babel-plugin-jest-hoist", + "/jest-snapshot" + ], + "_resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.7.tgz", + "_spec": "7.16.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "The Babel Team", + "url": "https://babel.dev/team" + }, + "bugs": { + "url": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20types%22+is%3Aopen" + }, + "dependencies": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + }, "description": "Babel Types is a Lodash-esque utility library for AST nodes", - "author": "The Babel Team (https://babel.dev/team)", + "devDependencies": { + "@babel/generator": "^7.16.7", + "@babel/parser": "^7.16.7", + "chalk": "^4.1.0", + "glob": "^7.1.7" + }, + "engines": { + "node": ">=6.9.0" + }, "homepage": "https://babel.dev/docs/en/next/babel-types", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20types%22+is%3Aopen", "license": "MIT", + "main": "./lib/index.js", + "name": "@babel/types", "publishConfig": { "access": "public" }, "repository": { "type": "git", - "url": "https://github.com/babel/babel.git", + "url": "git+https://github.com/babel/babel.git", "directory": "packages/babel-types" }, - "main": "./lib/index.js", "types": "./lib/index-legacy.d.ts", "typesVersions": { ">=3.7": { @@ -23,17 +88,5 @@ ] } }, - "dependencies": { - "@babel/helper-validator-identifier": "^7.16.7", - "to-fast-properties": "^2.0.0" - }, - "devDependencies": { - "@babel/generator": "^7.16.7", - "@babel/parser": "^7.16.7", - "chalk": "^4.1.0", - "glob": "^7.1.7" - }, - "engines": { - "node": ">=6.9.0" - } -} \ No newline at end of file + "version": "7.16.7" +} diff --git a/node_modules/@bcoe/v8-coverage/package.json b/node_modules/@bcoe/v8-coverage/package.json index abc28b78d..e943153db 100644 --- a/node_modules/@bcoe/v8-coverage/package.json +++ b/node_modules/@bcoe/v8-coverage/package.json @@ -1,22 +1,43 @@ { - "name": "@bcoe/v8-coverage", - "version": "0.2.3", - "description": "Helper functions for V8 coverage files.", - "author": "Charles Samborski (https://demurgos.net)", - "license": "MIT", - "main": "dist/lib/index", - "types": "dist/lib/index.d.ts", - "repository": { - "type": "git", - "url": "git://github.com/demurgos/v8-coverage.git" + "_args": [ + [ + "@bcoe/v8-coverage@0.2.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@bcoe/v8-coverage@0.2.3", + "_id": "@bcoe/v8-coverage@0.2.3", + "_inBundle": false, + "_integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "_location": "/@bcoe/v8-coverage", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@bcoe/v8-coverage@0.2.3", + "name": "@bcoe/v8-coverage", + "escapedName": "@bcoe%2fv8-coverage", + "scope": "@bcoe", + "rawSpec": "0.2.3", + "saveSpec": null, + "fetchSpec": "0.2.3" }, - "homepage": "https://demurgos.github.io/v8-coverage", - "scripts": { - "prepare": "gulp all:tsconfig.json && gulp dist", - "pretest": "gulp lib:build", - "test": "gulp test", - "lint": "gulp :lint:fix" + "_requiredBy": [ + "/@jest/reporters" + ], + "_resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "_spec": "0.2.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Charles Samborski", + "email": "demurgos@demurgos.net", + "url": "https://demurgos.net" + }, + "bugs": { + "url": "https://github.com/demurgos/v8-coverage/issues" }, + "description": "Helper functions for V8 coverage files.", "devDependencies": { "@types/chai": "^4.1.4", "@types/gulp": "^4.0.5", @@ -32,6 +53,10 @@ "ts-node": "^8.3.0", "turbo-gulp": "^0.20.1" }, + "homepage": "https://demurgos.github.io/v8-coverage", + "license": "MIT", + "main": "dist/lib/index", + "name": "@bcoe/v8-coverage", "nyc": { "include": [ "build/test/lib/**/*.js", @@ -44,5 +69,17 @@ "extension": [ ".mjs" ] - } + }, + "repository": { + "type": "git", + "url": "git://github.com/demurgos/v8-coverage.git" + }, + "scripts": { + "lint": "gulp :lint:fix", + "prepare": "gulp all:tsconfig.json && gulp dist", + "pretest": "gulp lib:build", + "test": "gulp test" + }, + "types": "dist/lib/index.d.ts", + "version": "0.2.3" } diff --git a/node_modules/@cspotcode/source-map-consumer/package.json b/node_modules/@cspotcode/source-map-consumer/package.json index e327c3936..fb60c192b 100644 --- a/node_modules/@cspotcode/source-map-consumer/package.json +++ b/node_modules/@cspotcode/source-map-consumer/package.json @@ -1,91 +1,238 @@ { - "name": "@cspotcode/source-map-consumer", - "description": "Generates and consumes source maps", - "version": "0.8.0", - "homepage": "https://github.com/cspotcode/source-map", - "author": "Andrew Bradley ", + "_args": [ + [ + "@cspotcode/source-map-consumer@0.8.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@cspotcode/source-map-consumer@0.8.0", + "_id": "@cspotcode/source-map-consumer@0.8.0", + "_inBundle": false, + "_integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", + "_location": "/@cspotcode/source-map-consumer", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@cspotcode/source-map-consumer@0.8.0", + "name": "@cspotcode/source-map-consumer", + "escapedName": "@cspotcode%2fsource-map-consumer", + "scope": "@cspotcode", + "rawSpec": "0.8.0", + "saveSpec": null, + "fetchSpec": "0.8.0" + }, + "_requiredBy": [ + "/@cspotcode/source-map-support" + ], + "_resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", + "_spec": "0.8.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Andrew Bradley", + "email": "cspotcode@gmail.com" + }, + "bugs": { + "url": "https://github.com/cspotcode/source-map/issues" + }, "contributors": [ - "Nick Fitzgerald ", - "Tobias Koppers ", - "Duncan Beevers ", - "Stephen Crane ", - "Ryan Seddon ", - "Miles Elam ", - "Mihai Bazon ", - "Michael Ficarra ", - "Todd Wolfson ", - "Alexander Solovyov ", - "Felix Gnass ", - "Conrad Irwin ", - "usrbincc ", - "David Glasser ", - "Chase Douglas ", - "Evan Wallace ", - "Heather Arthur ", - "Hugh Kennedy ", - "David Glasser ", - "Simon Lydell ", - "Jmeas Smith ", - "Michael Z Goddard ", - "azu ", - "John Gozde ", - "Adam Kirkton ", - "Chris Montgomery ", - "J. Ryan Stinnett ", - "Jack Herrington ", - "Chris Truter ", - "Daniel Espeset ", - "Jamie Wong ", - "Eddy Bruël ", - "Hawken Rives ", - "Gilad Peleg ", - "djchie ", - "Gary Ye ", - "Nicolas Lalevée " + { + "name": "Nick Fitzgerald", + "email": "nfitzgerald@mozilla.com" + }, + { + "name": "Tobias Koppers", + "email": "tobias.koppers@googlemail.com" + }, + { + "name": "Duncan Beevers", + "email": "duncan@dweebd.com" + }, + { + "name": "Stephen Crane", + "email": "scrane@mozilla.com" + }, + { + "name": "Ryan Seddon", + "email": "seddon.ryan@gmail.com" + }, + { + "name": "Miles Elam", + "email": "miles.elam@deem.com" + }, + { + "name": "Mihai Bazon", + "email": "mihai.bazon@gmail.com" + }, + { + "name": "Michael Ficarra", + "email": "github.public.email@michael.ficarra.me" + }, + { + "name": "Todd Wolfson", + "email": "todd@twolfson.com" + }, + { + "name": "Alexander Solovyov", + "email": "alexander@solovyov.net" + }, + { + "name": "Felix Gnass", + "email": "fgnass@gmail.com" + }, + { + "name": "Conrad Irwin", + "email": "conrad.irwin@gmail.com" + }, + { + "name": "usrbincc", + "email": "usrbincc@yahoo.com" + }, + { + "name": "David Glasser", + "email": "glasser@davidglasser.net" + }, + { + "name": "Chase Douglas", + "email": "chase@newrelic.com" + }, + { + "name": "Evan Wallace", + "email": "evan.exe@gmail.com" + }, + { + "name": "Heather Arthur", + "email": "fayearthur@gmail.com" + }, + { + "name": "Hugh Kennedy", + "email": "hughskennedy@gmail.com" + }, + { + "name": "David Glasser", + "email": "glasser@davidglasser.net" + }, + { + "name": "Simon Lydell", + "email": "simon.lydell@gmail.com" + }, + { + "name": "Jmeas Smith", + "email": "jellyes2@gmail.com" + }, + { + "name": "Michael Z Goddard", + "email": "mzgoddard@gmail.com" + }, + { + "name": "azu", + "email": "azu@users.noreply.github.com" + }, + { + "name": "John Gozde", + "email": "john@gozde.ca" + }, + { + "name": "Adam Kirkton", + "email": "akirkton@truefitinnovation.com" + }, + { + "name": "Chris Montgomery", + "email": "christopher.montgomery@dowjones.com" + }, + { + "name": "J. Ryan Stinnett", + "email": "jryans@gmail.com" + }, + { + "name": "Jack Herrington", + "email": "jherrington@walmartlabs.com" + }, + { + "name": "Chris Truter", + "email": "jeffpalentine@gmail.com" + }, + { + "name": "Daniel Espeset", + "email": "daniel@danielespeset.com" + }, + { + "name": "Jamie Wong", + "email": "jamie.lf.wong@gmail.com" + }, + { + "name": "Eddy Bruël", + "email": "ejpbruel@mozilla.com" + }, + { + "name": "Hawken Rives", + "email": "hawkrives@gmail.com" + }, + { + "name": "Gilad Peleg", + "email": "giladp007@gmail.com" + }, + { + "name": "djchie", + "email": "djchie.dev@gmail.com" + }, + { + "name": "Gary Ye", + "email": "garysye@gmail.com" + }, + { + "name": "Nicolas Lalevée", + "email": "nicolas.lalevee@hibnet.org" + } ], - "repository": { - "type": "git", - "url": "http://github.com/cspotcode/source-map.git" + "description": "Generates and consumes source maps", + "devDependencies": { + "doctoc": "^0.15.0", + "eslint": "^4.19.1", + "live-server": "^1.2.0", + "npm-run-all": "^4.1.2", + "nyc": "^11.7.1", + "watch": "^1.0.2", + "webpack": "^3.10" + }, + "engines": { + "node": ">= 12" }, - "main": "./source-map.js", - "types": "./source-map.d.ts", "files": [ "/source-map.js", "/source-map.d.ts", "/lib/" ], - "engines": { - "node": ">= 12" - }, + "homepage": "https://github.com/cspotcode/source-map", "license": "BSD-3-Clause", + "main": "./source-map.js", + "name": "@cspotcode/source-map-consumer", + "nyc": { + "reporter": "html" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/cspotcode/source-map.git" + }, "scripts": { - "lint": "eslint *.js lib/ test/", - "prebuild": "npm run lint", "build": "webpack --color", - "pretest": "npm run build", - "test": "node test/run-tests.js", - "precoverage": "npm run build", + "clean": "rm -rf coverage .nyc_output", "coverage": "nyc node test/run-tests.js", "coverage-report": "nyc report --reporter=lcov", - "setup": "mkdir -p coverage && cp -n .waiting.html coverage/index.html || true", + "dev": "npm-run-all -p --silent dev:*", "dev:live": "live-server --port=4103 --ignorePattern='(js|css|png)$' coverage", "dev:watch": "watch 'npm run coverage' lib/ test/", + "lint": "eslint *.js lib/ test/", + "prebuild": "npm run lint", + "precoverage": "npm run build", "predev": "npm run setup", - "dev": "npm-run-all -p --silent dev:*", - "clean": "rm -rf coverage .nyc_output", + "pretest": "npm run build", + "setup": "mkdir -p coverage && cp -n .waiting.html coverage/index.html || true", + "test": "node test/run-tests.js", "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md" }, - "devDependencies": { - "doctoc": "^0.15.0", - "eslint": "^4.19.1", - "live-server": "^1.2.0", - "npm-run-all": "^4.1.2", - "nyc": "^11.7.1", - "watch": "^1.0.2", - "webpack": "^3.10" - }, - "nyc": { - "reporter": "html" - }, - "typings": "source-map" -} \ No newline at end of file + "types": "./source-map.d.ts", + "typings": "source-map", + "version": "0.8.0" +} diff --git a/node_modules/@cspotcode/source-map-support/package.json b/node_modules/@cspotcode/source-map-support/package.json index 6bcbd268d..03279ea0d 100644 --- a/node_modules/@cspotcode/source-map-support/package.json +++ b/node_modules/@cspotcode/source-map-support/package.json @@ -1,25 +1,41 @@ { - "name": "@cspotcode/source-map-support", - "description": "Fixes stack traces for files with source maps", - "version": "0.7.0", - "main": "./source-map-support.js", - "types": "./source-map-support.d.ts", - "scripts": { - "build": "node build.js", - "serve-tests": "http-server -p 1336", - "test": "mocha" + "_args": [ + [ + "@cspotcode/source-map-support@0.7.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@cspotcode/source-map-support@0.7.0", + "_id": "@cspotcode/source-map-support@0.7.0", + "_inBundle": false, + "_integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==", + "_location": "/@cspotcode/source-map-support", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@cspotcode/source-map-support@0.7.0", + "name": "@cspotcode/source-map-support", + "escapedName": "@cspotcode%2fsource-map-support", + "scope": "@cspotcode", + "rawSpec": "0.7.0", + "saveSpec": null, + "fetchSpec": "0.7.0" }, - "files": [ - "/register.d.ts", - "/register.js", - "/register-hook-require.d.ts", - "/register-hook-require.js", - "/source-map-support.d.ts", - "/source-map-support.js" + "_requiredBy": [ + "/ts-node" ], + "_resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz", + "_spec": "0.7.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/cspotcode/node-source-map-support/issues" + }, "dependencies": { "@cspotcode/source-map-consumer": "0.8.0" }, + "description": "Fixes stack traces for files with source maps", "devDependencies": { "browserify": "^4.2.3", "coffeescript": "^1.12.7", @@ -28,17 +44,32 @@ "source-map": "0.6.1", "webpack": "^1.15.0" }, + "engines": { + "node": ">=12" + }, + "files": [ + "/register.d.ts", + "/register.js", + "/register-hook-require.d.ts", + "/register-hook-require.js", + "/source-map-support.d.ts", + "/source-map-support.js" + ], + "homepage": "https://github.com/cspotcode/node-source-map-support#readme", + "license": "MIT", + "main": "./source-map-support.js", + "name": "@cspotcode/source-map-support", "repository": { "type": "git", - "url": "https://github.com/cspotcode/node-source-map-support" + "url": "git+https://github.com/cspotcode/node-source-map-support.git" }, - "bugs": { - "url": "https://github.com/cspotcode/node-source-map-support/issues" - }, - "license": "MIT", - "engines": { - "node": ">=12" + "scripts": { + "build": "node build.js", + "serve-tests": "http-server -p 1336", + "test": "mocha" }, + "types": "./source-map-support.d.ts", + "version": "0.7.0", "volta": { "node": "16.11.0", "npm": "7.24.2" diff --git a/node_modules/@eslint/eslintrc/node_modules/ignore/package.json b/node_modules/@eslint/eslintrc/node_modules/ignore/package.json index 8cb1b7873..334dc06a5 100644 --- a/node_modules/@eslint/eslintrc/node_modules/ignore/package.json +++ b/node_modules/@eslint/eslintrc/node_modules/ignore/package.json @@ -1,28 +1,65 @@ { - "name": "ignore", - "version": "4.0.6", + "_args": [ + [ + "ignore@4.0.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "ignore@4.0.6", + "_id": "ignore@4.0.6", + "_inBundle": false, + "_integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "_location": "/@eslint/eslintrc/ignore", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ignore@4.0.6", + "name": "ignore", + "escapedName": "ignore", + "rawSpec": "4.0.6", + "saveSpec": null, + "fetchSpec": "4.0.6" + }, + "_requiredBy": [ + "/@eslint/eslintrc" + ], + "_resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "_spec": "4.0.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "kael" + }, + "bugs": { + "url": "https://github.com/kaelzhang/node-ignore/issues" + }, "description": "Ignore is a manager and filter for .gitignore rules.", + "devDependencies": { + "babel-cli": "^6.26.0", + "babel-preset-env": "^1.7.0", + "codecov": "^3.0.4", + "eslint": "^5.3.0", + "eslint-config-ostai": "^1.3.2", + "eslint-plugin-import": "^2.13.0", + "mkdirp": "^0.5.1", + "pre-suf": "^1.1.0", + "rimraf": "^2.6.2", + "spawn-sync": "^2.0.0", + "tap": "^12.0.1", + "tmp": "0.0.33", + "typescript": "^3.0.1" + }, + "engines": { + "node": ">= 4" + }, "files": [ "legacy.js", "index.js", "index.d.ts", "LICENSE-MIT" ], - "scripts": { - "prepublish": "npm run build", - "build": "babel -o legacy.js index.js", - "test:lint": "eslint .", - "test:tsc": "tsc ./test/ts/simple.ts", - "test:git": "tap test/git-check-ignore.js", - "test:ignore": "tap test/ignore.js --coverage", - "test-no-cov": "npm run test:lint && npm run test:tsc && tap test/*.js --coverage", - "test": "npm run test-no-cov", - "posttest": "tap --coverage-report=html && codecov" - }, - "repository": { - "type": "git", - "url": "git@github.com:kaelzhang/node-ignore.git" - }, + "homepage": "https://github.com/kaelzhang/node-ignore#readme", "keywords": [ "ignore", ".gitignore", @@ -38,27 +75,22 @@ "asterisks", "regular-expression" ], - "author": "kael", "license": "MIT", - "bugs": { - "url": "https://github.com/kaelzhang/node-ignore/issues" + "name": "ignore", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/kaelzhang/node-ignore.git" }, - "devDependencies": { - "babel-cli": "^6.26.0", - "babel-preset-env": "^1.7.0", - "codecov": "^3.0.4", - "eslint": "^5.3.0", - "eslint-config-ostai": "^1.3.2", - "eslint-plugin-import": "^2.13.0", - "mkdirp": "^0.5.1", - "pre-suf": "^1.1.0", - "rimraf": "^2.6.2", - "spawn-sync": "^2.0.0", - "tap": "^12.0.1", - "tmp": "0.0.33", - "typescript": "^3.0.1" + "scripts": { + "build": "babel -o legacy.js index.js", + "posttest": "tap --coverage-report=html && codecov", + "prepublish": "npm run build", + "test": "npm run test-no-cov", + "test-no-cov": "npm run test:lint && npm run test:tsc && tap test/*.js --coverage", + "test:git": "tap test/git-check-ignore.js", + "test:ignore": "tap test/ignore.js --coverage", + "test:lint": "eslint .", + "test:tsc": "tsc ./test/ts/simple.ts" }, - "engines": { - "node": ">= 4" - } + "version": "4.0.6" } diff --git a/node_modules/@eslint/eslintrc/package.json b/node_modules/@eslint/eslintrc/package.json index 35f512970..4617feca0 100644 --- a/node_modules/@eslint/eslintrc/package.json +++ b/node_modules/@eslint/eslintrc/package.json @@ -1,38 +1,52 @@ { - "name": "@eslint/eslintrc", - "version": "0.4.3", - "description": "The legacy ESLintRC config file format for ESLint", - "main": "lib/index.js", - "files": [ - "lib", - "conf", - "LICENSE" + "_args": [ + [ + "@eslint/eslintrc@0.4.3", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "publishConfig": { - "access": "public" + "_development": true, + "_from": "@eslint/eslintrc@0.4.3", + "_id": "@eslint/eslintrc@0.4.3", + "_inBundle": false, + "_integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", + "_location": "/@eslint/eslintrc", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@eslint/eslintrc@0.4.3", + "name": "@eslint/eslintrc", + "escapedName": "@eslint%2feslintrc", + "scope": "@eslint", + "rawSpec": "0.4.3", + "saveSpec": null, + "fetchSpec": "0.4.3" }, - "scripts": { - "lint": "eslint . --report-unused-disable-directives", - "fix": "npm run lint -- --fix", - "test": "mocha -R progress -c 'tests/lib/**/*.js'", - "generate-release": "eslint-generate-release", - "generate-alpharelease": "eslint-generate-prerelease alpha", - "generate-betarelease": "eslint-generate-prerelease beta", - "generate-rcrelease": "eslint-generate-prerelease rc", - "publish-release": "eslint-publish-release" - }, - "repository": "eslint/eslintrc", - "keywords": [ - "ESLint", - "ESLintRC", - "Configuration" + "_requiredBy": [ + "/eslint" ], - "author": "Nicholas C. Zakas", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "_spec": "0.4.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Nicholas C. Zakas" + }, "bugs": { "url": "https://github.com/eslint/eslintrc/issues" }, - "homepage": "https://github.com/eslint/eslintrc#readme", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "description": "The legacy ESLintRC config file format for ESLint", "devDependencies": { "chai": "^4.2.0", "eslint": "^7.21.0", @@ -46,18 +60,39 @@ "sinon": "^9.2.0", "temp-dir": "^2.0.0" }, - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.1.1", - "espree": "^7.3.0", - "globals": "^13.9.0", - "ignore": "^4.0.6", - "import-fresh": "^3.2.1", - "js-yaml": "^3.13.1", - "minimatch": "^3.0.4", - "strip-json-comments": "^3.1.1" - }, "engines": { "node": "^10.12.0 || >=12.0.0" - } + }, + "files": [ + "lib", + "conf", + "LICENSE" + ], + "homepage": "https://github.com/eslint/eslintrc#readme", + "keywords": [ + "ESLint", + "ESLintRC", + "Configuration" + ], + "license": "MIT", + "main": "lib/index.js", + "name": "@eslint/eslintrc", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/eslint/eslintrc.git" + }, + "scripts": { + "fix": "npm run lint -- --fix", + "generate-alpharelease": "eslint-generate-prerelease alpha", + "generate-betarelease": "eslint-generate-prerelease beta", + "generate-rcrelease": "eslint-generate-prerelease rc", + "generate-release": "eslint-generate-release", + "lint": "eslint . --report-unused-disable-directives", + "publish-release": "eslint-publish-release", + "test": "mocha -R progress -c 'tests/lib/**/*.js'" + }, + "version": "0.4.3" } diff --git a/node_modules/@foo-software/lighthouse-check/Dockerfile b/node_modules/@foo-software/lighthouse-check/Dockerfile index 1b8a48284..b3c051363 100644 --- a/node_modules/@foo-software/lighthouse-check/Dockerfile +++ b/node_modules/@foo-software/lighthouse-check/Dockerfile @@ -28,6 +28,6 @@ RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add RUN google-chrome-stable --version -RUN npm install @foo-software/lighthouse-check@5 -g +RUN npm install @foo-software/lighthouse-check@6 -g CMD ["lighthouse-check"] diff --git a/node_modules/@foo-software/lighthouse-check/README.md b/node_modules/@foo-software/lighthouse-check/README.md index ddc32557b..1cb9f21ea 100644 --- a/node_modules/@foo-software/lighthouse-check/README.md +++ b/node_modules/@foo-software/lighthouse-check/README.md @@ -188,7 +188,7 @@ import { lighthouseCheck } from '@foo-software/lighthouse-check'; (async () => { const response = await lighthouseCheck({ - slackWebhookUrl: 'https://www.my-slack-webhook-url.com' + slackWebhookUrl: 'https://www.my-slack-webhook-url.com', urls: [ 'https://www.foo.software/lighthouse', 'https://www.foo.software/contact' diff --git a/node_modules/@foo-software/lighthouse-check/dist/localLighthouse.js b/node_modules/@foo-software/lighthouse-check/dist/localLighthouse.js index 0701407d7..19f214d83 100644 --- a/node_modules/@foo-software/lighthouse-check/dist/localLighthouse.js +++ b/node_modules/@foo-software/lighthouse-check/dist/localLighthouse.js @@ -27,7 +27,9 @@ const defaultLighthouseConfigs = { }; const getScoresFromFloat = scores => Object.keys(scores).reduce((accumulator, current) => ({ ...accumulator, - [current]: typeof scores[current] !== 'number' ? 0 : Math.floor(scores[current] * 100) + ...(typeof scores[current] === 'number' && { + [current]: Math.floor(scores[current] * 100) + }) }), {}); const localLighthouse = async ({ diff --git a/node_modules/@foo-software/lighthouse-check/package.json b/node_modules/@foo-software/lighthouse-check/package.json index 81a268d48..7c98020af 100644 --- a/node_modules/@foo-software/lighthouse-check/package.json +++ b/node_modules/@foo-software/lighthouse-check/package.json @@ -1,61 +1,42 @@ { - "name": "@foo-software/lighthouse-check", - "version": "5.1.0", - "description": "An NPM module and CLI for automated Lighthouse audits.", - "main": "dist/index.js", - "engines": { - "node": ">= 14.0.0" + "_from": "@foo-software/lighthouse-check@6", + "_id": "@foo-software/lighthouse-check@6.0.0", + "_inBundle": false, + "_integrity": "sha512-DniI+TsXAJHVo/7u3g7jniOBOpVVwD846kiWr17Kc3rCaUJcyCIzexgNGybmoCKKGsl6P5olsI1x+60kikCT9w==", + "_location": "/@foo-software/lighthouse-check", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@foo-software/lighthouse-check@6", + "name": "@foo-software/lighthouse-check", + "escapedName": "@foo-software%2flighthouse-check", + "scope": "@foo-software", + "rawSpec": "6", + "saveSpec": null, + "fetchSpec": "6" }, - "repository": { - "type": "git", - "url": "git+https://github.com/foo-software/lighthouse-check.git" - }, - "keywords": [ - "lighthouse", - "google", - "cli", - "performance", - "accessibility", - "seo", - "progressive web app", - "best practices", - "website performance monitoring", - "foo", - "foo.software" + "_requiredBy": [ + "#USER", + "/" ], - "author": "Adam Henson (https://github.com/adamhenson)", - "license": "MIT", - "bugs": { - "url": "https://github.com/foo-software/lighthouse-check/issues" + "_resolved": "https://registry.npmjs.org/@foo-software/lighthouse-check/-/lighthouse-check-6.0.0.tgz", + "_shasum": "2a5e494406108e6ce78f1fb298ecb03ef269a5e0", + "_spec": "@foo-software/lighthouse-check@6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Adam Henson", + "email": "adamhenson1979@gmail.com", + "url": "https://github.com/adamhenson" }, - "homepage": "https://github.com/foo-software/lighthouse-check#readme", "bin": { "lighthouse-check": "dist/bin/lighthouse-check.js", "lighthouse-check-status": "dist/bin/lighthouse-check-status.js" }, - "jest": { - "modulePathIgnorePatterns": [ - "/dist/" - ] - }, - "scripts": { - "clean": "rimraf dist", - "codecov": "codecov", - "build": "babel ./src --out-dir dist", - "prepare": "npm run clean && npm run build", - "test": "jest" - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, - "lint-staged": { - "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [ - "prettier --single-quote --write", - "git add" - ] + "bugs": { + "url": "https://github.com/foo-software/lighthouse-check/issues" }, + "bundleDependencies": false, "dependencies": { "@foo-software/lighthouse-persist": "^4.0.0", "@slack/webhook": "^5.0.1", @@ -65,6 +46,8 @@ "ora": "^3.4.0", "table": "^5.4.6" }, + "deprecated": false, + "description": "An NPM module and CLI for automated Lighthouse audits.", "devDependencies": { "@babel/cli": "^7.4.4", "@babel/core": "^7.4.4", @@ -77,5 +60,53 @@ "lint-staged": "^9.2.0", "prettier": "^1.18.2", "rimraf": "^2.6.3" - } + }, + "engines": { + "node": ">= 14.0.0" + }, + "homepage": "https://github.com/foo-software/lighthouse-check#readme", + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "jest": { + "modulePathIgnorePatterns": [ + "/dist/" + ] + }, + "keywords": [ + "lighthouse", + "google", + "cli", + "performance", + "accessibility", + "seo", + "progressive web app", + "best practices", + "website performance monitoring", + "foo", + "foo.software" + ], + "license": "MIT", + "lint-staged": { + "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [ + "prettier --single-quote --write", + "git add" + ] + }, + "main": "dist/index.js", + "name": "@foo-software/lighthouse-check", + "repository": { + "type": "git", + "url": "git+https://github.com/foo-software/lighthouse-check.git" + }, + "scripts": { + "build": "babel ./src --out-dir dist", + "clean": "rimraf dist", + "codecov": "codecov", + "prepare": "npm run clean && npm run build", + "test": "jest" + }, + "version": "6.0.0" } diff --git a/node_modules/@foo-software/lighthouse-check/scripts/README.md b/node_modules/@foo-software/lighthouse-check/scripts/README.md index 2f0b45c03..98f2904e1 100644 --- a/node_modules/@foo-software/lighthouse-check/scripts/README.md +++ b/node_modules/@foo-software/lighthouse-check/scripts/README.md @@ -1,6 +1,6 @@ # Usage -Publish a tag that matches latest major package version. Make sure to update this line of the Dockerfile: `RUN npm install @foo-software/lighthouse-check@5 -g`. We also publish a "latest" tag. +Publish a tag that matches latest major package version. Make sure to update this line of the Dockerfile: `RUN npm install @foo-software/lighthouse-check@6 -g`. We also publish a "latest" tag. -- `./scripts/docker-publish.sh -v 5` +- `./scripts/docker-publish.sh -v 6` - `./scripts/docker-publish.sh -v latest` diff --git a/node_modules/@foo-software/lighthouse-check/src/localLighthouse.js b/node_modules/@foo-software/lighthouse-check/src/localLighthouse.js index d26d4e2e2..5af6cd8b2 100644 --- a/node_modules/@foo-software/lighthouse-check/src/localLighthouse.js +++ b/node_modules/@foo-software/lighthouse-check/src/localLighthouse.js @@ -15,10 +15,9 @@ const getScoresFromFloat = scores => Object.keys(scores).reduce( (accumulator, current) => ({ ...accumulator, - [current]: - typeof scores[current] !== 'number' - ? 0 - : Math.floor(scores[current] * 100) + ...(typeof scores[current] === 'number' && { + [current]: Math.floor(scores[current] * 100) + }) }), {} ); diff --git a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/README.md b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/README.md index 297a37344..febb49421 100644 --- a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/README.md +++ b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/README.md @@ -41,7 +41,7 @@ - [Streams](#streams) - [Accessing Headers and other Metadata](#accessing-headers-and-other-metadata) - [Extract Set-Cookie Header](#extract-set-cookie-header) - - [Post data using a file stream](#post-data-using-a-file-stream) + - [Post data using a file](#post-data-using-a-file) - [Request cancellation with AbortSignal](#request-cancellation-with-abortsignal) - [API](#api) - [fetch(url[, options])](#fetchurl-options) @@ -295,9 +295,9 @@ Cookies are not stored by default. However, cookies can be extracted and passed The "Node.js way" is to use streams when possible. You can pipe `res.body` to another stream. This example uses [stream.pipeline](https://nodejs.org/api/stream.html#stream_stream_pipeline_streams_callback) to attach stream error handlers and wait for the download to complete. ```js -import {createWriteStream} from 'fs'; -import {pipeline} from 'stream'; -import {promisify} from 'util' +import {createWriteStream} from 'node:fs'; +import {pipeline} from 'node:stream'; +import {promisify} from 'node:util' import fetch from 'node-fetch'; const streamPipeline = promisify(pipeline); @@ -403,7 +403,7 @@ node-fetch also supports any spec-compliant FormData implementations such as [fo ```js import fetch from 'node-fetch'; -import {FormData} from 'formdata-polyfill/esm-min.js'; +import {FormData} from 'formdata-polyfill/esm.min.js'; // Alternative hack to get the same FormData instance as node-fetch // const FormData = (await new Response(new URLSearchParams()).formData()).constructor @@ -517,8 +517,8 @@ See [`http.Agent`](https://nodejs.org/api/http.html#http_new_agent_options) for In addition, the `agent` option accepts a function that returns `http`(s)`.Agent` instance given current [URL](https://nodejs.org/api/url.html), this is useful during a redirection chain across HTTP and HTTPS protocol. ```js -import http from 'http'; -import https from 'https'; +import http from 'node:http'; +import https from 'node:https'; const httpAgent = new http.Agent({ keepAlive: true @@ -576,6 +576,23 @@ console.dir(result); Passed through to the `insecureHTTPParser` option on http(s).request. See [`http.request`](https://nodejs.org/api/http.html#http_http_request_url_options_callback) for more information. +#### Manual Redirect + +The `redirect: 'manual'` option for node-fetch is different from the browser & specification, which +results in an [opaque-redirect filtered response](https://fetch.spec.whatwg.org/#concept-filtered-response-opaque-redirect). +node-fetch gives you the typical [basic filtered response](https://fetch.spec.whatwg.org/#concept-filtered-response-basic) instead. + +```js +const fetch = require('node-fetch'); + +const response = await fetch('https://httpbin.org/status/301', { redirect: 'manual' }); + +if (response.status === 301 || response.status === 302) { + const locationURL = new URL(response.headers.get('location'), response.url); + const response2 = await fetch(locationURL, { redirect: 'manual' }); + console.dir(response2); +} +``` @@ -750,7 +767,7 @@ An Error thrown when the request is aborted in response to an `AbortSignal`'s `a For older versions please use the type definitions from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped): ```sh -npm install --save-dev @types/node-fetch +npm install --save-dev @types/node-fetch@2.x ``` ## Acknowledgement diff --git a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/package.json b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/package.json index f79978e94..3407621e0 100644 --- a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/package.json +++ b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/package.json @@ -1,77 +1,116 @@ { - "name": "node-fetch", - "version": "3.1.0", - "description": "A light-weight module that brings Fetch API to node.js", - "main": "./src/index.js", - "sideEffects": false, - "type": "module", - "files": [ - "src", - "@types/index.d.ts" - ], - "types": "./@types/index.d.ts", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "scripts": { - "test": "mocha", - "coverage": "c8 report --reporter=text-lcov | coveralls", - "test-types": "tsd", - "lint": "xo" + "_from": "node-fetch@^3.1.0", + "_id": "node-fetch@3.2.0", + "_inBundle": false, + "_integrity": "sha512-8xeimMwMItMw8hRrOl3C9/xzU49HV/yE6ORew/l+dxWimO5A4Ra8ld2rerlJvc/O7et5Z1zrWsPX43v1QBjCxw==", + "_location": "/@foo-software/lighthouse-persist/node-fetch", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "node-fetch@^3.1.0", + "name": "node-fetch", + "escapedName": "node-fetch", + "rawSpec": "^3.1.0", + "saveSpec": null, + "fetchSpec": "^3.1.0" }, - "repository": { - "type": "git", - "url": "https://github.com/node-fetch/node-fetch.git" - }, - "keywords": [ - "fetch", - "http", - "promise", - "request", - "curl", - "wget", - "xhr", - "whatwg" + "_requiredBy": [ + "/@foo-software/lighthouse-persist" ], - "author": "David Frank", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.0.tgz", + "_shasum": "59390db4e489184fa35d4b74caf5510e8dfbaf3b", + "_spec": "node-fetch@^3.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@foo-software/lighthouse-persist", + "author": { + "name": "David Frank" + }, "bugs": { "url": "https://github.com/node-fetch/node-fetch/issues" }, - "homepage": "https://github.com/node-fetch/node-fetch", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/node-fetch" + "bundleDependencies": false, + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" }, + "deprecated": false, + "description": "A light-weight module that brings Fetch API to node.js", "devDependencies": { "abort-controller": "^3.0.0", "abortcontroller-polyfill": "^1.7.1", - "busboy": "^0.3.1", + "busboy": "^1.4.0", "c8": "^7.7.2", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "chai-iterator": "^3.0.2", "chai-string": "^1.5.0", "coveralls": "^3.1.0", - "delay": "^5.0.0", "form-data": "^4.0.0", "formdata-node": "^4.2.4", "mocha": "^9.1.3", "p-timeout": "^5.0.0", + "stream-consumers": "^1.0.1", "tsd": "^0.14.0", "xo": "^0.39.1" }, - "dependencies": { - "data-uri-to-buffer": "^4.0.0", - "formdata-polyfill": "^4.0.10", - "fetch-blob": "^3.1.2" + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "files": [ + "src", + "@types/index.d.ts" + ], + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" }, + "homepage": "https://github.com/node-fetch/node-fetch", + "keywords": [ + "fetch", + "http", + "promise", + "request", + "curl", + "wget", + "xhr", + "whatwg" + ], + "license": "MIT", + "main": "./src/index.js", + "name": "node-fetch", + "release": { + "branches": [ + "+([0-9]).x", + "main", + "next", + { + "name": "beta", + "prerelease": true + } + ] + }, + "repository": { + "type": "git", + "url": "git+https://github.com/node-fetch/node-fetch.git" + }, + "runkitExampleFilename": "example.js", + "scripts": { + "coverage": "c8 report --reporter=text-lcov | coveralls", + "lint": "xo", + "test": "mocha", + "test-types": "tsd" + }, + "sideEffects": false, "tsd": { "cwd": "@types", "compilerOptions": { "esModuleInterop": true } }, + "type": "module", + "types": "./@types/index.d.ts", + "version": "3.2.0", "xo": { "envs": [ "node", @@ -115,6 +154,5 @@ } } ] - }, - "runkitExampleFilename": "example.js" + } } diff --git a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/body.js b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/body.js index 85a8ea55a..b0fe16bb2 100644 --- a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/body.js +++ b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/body.js @@ -6,7 +6,8 @@ */ import Stream, {PassThrough} from 'node:stream'; -import {types, deprecate} from 'node:util'; +import {types, deprecate, promisify} from 'node:util'; +import {Buffer} from 'node:buffer'; import Blob from 'fetch-blob'; import {FormData, formDataToBlob} from 'formdata-polyfill/esm.min.js'; @@ -15,6 +16,7 @@ import {FetchError} from './errors/fetch-error.js'; import {FetchBaseError} from './errors/base.js'; import {isBlob, isURLSearchParameters} from './utils/is.js'; +const pipeline = promisify(Stream.pipeline); const INTERNALS = Symbol('Body internals'); /** @@ -130,7 +132,7 @@ export default class Body { */ async blob() { const ct = (this.headers && this.headers.get('content-type')) || (this[INTERNALS].body && this[INTERNALS].body.type) || ''; - const buf = await this.buffer(); + const buf = await this.arrayBuffer(); return new Blob([buf], { type: ct @@ -176,7 +178,10 @@ Object.defineProperties(Body.prototype, { arrayBuffer: {enumerable: true}, blob: {enumerable: true}, json: {enumerable: true}, - text: {enumerable: true} + text: {enumerable: true}, + data: {get: deprecate(() => {}, + 'data doesn\'t exist, use json(), text(), arrayBuffer(), or body instead', + 'https://github.com/node-fetch/node-fetch/issues/1000 (response)')} }); /** @@ -379,14 +384,14 @@ export const getTotalBytes = request => { * * @param {Stream.Writable} dest The stream to write to. * @param obj.body Body object from the Body instance. - * @returns {void} + * @returns {Promise} */ -export const writeToStream = (dest, {body}) => { +export const writeToStream = async (dest, {body}) => { if (body === null) { // Body is null dest.end(); } else { // Body is stream - body.pipe(dest); + await pipeline(body, dest); } }; diff --git a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/headers.js b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/headers.js index 66ea30321..cd6945580 100644 --- a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/headers.js +++ b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/headers.js @@ -7,6 +7,7 @@ import {types} from 'node:util'; import http from 'node:http'; +/* c8 ignore next 9 */ const validateHeaderName = typeof http.validateHeaderName === 'function' ? http.validateHeaderName : name => { @@ -17,6 +18,7 @@ const validateHeaderName = typeof http.validateHeaderName === 'function' ? } }; +/* c8 ignore next 9 */ const validateHeaderValue = typeof http.validateHeaderValue === 'function' ? http.validateHeaderValue : (name, value) => { @@ -141,8 +143,8 @@ export default class Headers extends URLSearchParams { return Reflect.get(target, p, receiver); } } - /* c8 ignore next */ }); + /* c8 ignore next */ } get [Symbol.toStringTag]() { diff --git a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/index.js b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/index.js index f8686be43..f5f39844e 100644 --- a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/index.js +++ b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/index.js @@ -10,6 +10,8 @@ import http from 'node:http'; import https from 'node:https'; import zlib from 'node:zlib'; import Stream, {PassThrough, pipeline as pump} from 'node:stream'; +import {Buffer} from 'node:buffer'; + import dataUriToBuffer from 'data-uri-to-buffer'; import {writeToStream, clone} from './body.js'; @@ -19,9 +21,20 @@ import Request, {getNodeRequestOptions} from './request.js'; import {FetchError} from './errors/fetch-error.js'; import {AbortError} from './errors/abort-error.js'; import {isRedirect} from './utils/is-redirect.js'; +import {FormData} from 'formdata-polyfill/esm.min.js'; +import {isDomainOrSubdomain} from './utils/is.js'; import {parseReferrerPolicyFromHeader} from './utils/referrer.js'; - -export {Headers, Request, Response, FetchError, AbortError, isRedirect}; +import { + Blob, + File, + fileFromSync, + fileFrom, + blobFromSync, + blobFrom +} from 'fetch-blob/from.js'; + +export {FormData, Headers, Request, Response, FetchError, AbortError, isRedirect}; +export {Blob, File, fileFromSync, fileFrom, blobFromSync, blobFrom}; const supportedSchemas = new Set(['data:', 'http:', 'https:']); @@ -78,7 +91,7 @@ export default async function fetch(url, options_) { }; // Send request - const request_ = send(parsedURL, options); + const request_ = send(parsedURL.toString(), options); if (signal) { signal.addEventListener('abort', abortAndFinalize); @@ -130,7 +143,19 @@ export default async function fetch(url, options_) { const location = headers.get('Location'); // HTTP fetch step 5.3 - const locationURL = location === null ? null : new URL(location, request.url); + let locationURL = null; + try { + locationURL = location === null ? null : new URL(location, request.url); + } catch { + // error here can only be invalid URL in Location: header + // do not throw when options.redirect == manual + // let the user extract the errorneous redirect URL + if (request.redirect !== 'manual') { + reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); + finalize(); + return; + } + } // HTTP fetch step 5.5 switch (request.redirect) { @@ -139,11 +164,7 @@ export default async function fetch(url, options_) { finalize(); return; case 'manual': - // Node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. - if (locationURL !== null) { - headers.set('Location', locationURL); - } - + // Nothing to do break; case 'follow': { // HTTP-redirect fetch step 2 @@ -174,6 +195,18 @@ export default async function fetch(url, options_) { referrerPolicy: request.referrerPolicy }; + // when forwarding sensitive headers like "Authorization", + // "WWW-Authenticate", and "Cookie" to untrusted targets, + // headers will be ignored when following a redirect to a domain + // that is not a subdomain match or exact match of the initial domain. + // For example, a redirect from "foo.com" to either "foo.com" or "sub.foo.com" + // will forward the sensitive headers, but a redirect to "bar.com" will not. + if (!isDomainOrSubdomain(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOptions.headers.delete(name); + } + } + // HTTP-redirect fetch step 9 if (response_.statusCode !== 303 && request.body && options_.body instanceof Stream.Readable) { reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); @@ -212,8 +245,13 @@ export default async function fetch(url, options_) { }); } - let body = pump(response_, new PassThrough(), reject); + let body = pump(response_, new PassThrough(), error => { + if (error) { + reject(error); + } + }); // see https://github.com/nodejs/node/pull/29376 + /* c8 ignore next 3 */ if (process.version < 'v12.10') { response_.on('aborted', abortAndFinalize); } @@ -257,7 +295,11 @@ export default async function fetch(url, options_) { // For gzip if (codings === 'gzip' || codings === 'x-gzip') { - body = pump(body, zlib.createGunzip(zlibOptions), reject); + body = pump(body, zlib.createGunzip(zlibOptions), error => { + if (error) { + reject(error); + } + }); response = new Response(body, responseOptions); resolve(response); return; @@ -267,20 +309,48 @@ export default async function fetch(url, options_) { if (codings === 'deflate' || codings === 'x-deflate') { // Handle the infamous raw deflate response from old servers // a hack for old IIS and Apache servers - const raw = pump(response_, new PassThrough(), reject); + const raw = pump(response_, new PassThrough(), error => { + if (error) { + reject(error); + } + }); raw.once('data', chunk => { // See http://stackoverflow.com/questions/37519828 - body = (chunk[0] & 0x0F) === 0x08 ? pump(body, zlib.createInflate(), reject) : pump(body, zlib.createInflateRaw(), reject); + if ((chunk[0] & 0x0F) === 0x08) { + body = pump(body, zlib.createInflate(), error => { + if (error) { + reject(error); + } + }); + } else { + body = pump(body, zlib.createInflateRaw(), error => { + if (error) { + reject(error); + } + }); + } response = new Response(body, responseOptions); resolve(response); }); + raw.once('end', () => { + // Some old IIS servers return zero-length OK deflate responses, so + // 'data' is never emitted. See https://github.com/node-fetch/node-fetch/pull/903 + if (!response) { + response = new Response(body, responseOptions); + resolve(response); + } + }); return; } // For br if (codings === 'br') { - body = pump(body, zlib.createBrotliDecompress(), reject); + body = pump(body, zlib.createBrotliDecompress(), error => { + if (error) { + reject(error); + } + }); response = new Response(body, responseOptions); resolve(response); return; @@ -291,7 +361,8 @@ export default async function fetch(url, options_) { resolve(response); }); - writeToStream(request_, request); + // eslint-disable-next-line promise/prefer-await-to-then + writeToStream(request_, request).catch(reject); }); } diff --git a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/request.js b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/request.js index 6d6272cb7..76d7576b2 100644 --- a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/request.js +++ b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/request.js @@ -1,4 +1,3 @@ - /** * Request.js * @@ -8,6 +7,7 @@ */ import {format as formatUrl} from 'node:url'; +import {deprecate} from 'node:util'; import Headers from './headers.js'; import Body, {clone, extractContentType, getTotalBytes} from './body.js'; import {isAbortSignal} from './utils/is.js'; @@ -21,7 +21,7 @@ const INTERNALS = Symbol('Request internals'); /** * Check if `obj` is an instance of Request. * - * @param {*} obj + * @param {*} object * @return {boolean} */ const isRequest = object => { @@ -31,6 +31,10 @@ const isRequest = object => { ); }; +const doBadDataWarn = deprecate(() => {}, + '.data is not a valid RequestInit property, use .body instead', + 'https://github.com/node-fetch/node-fetch/issues/1000 (request)'); + /** * Request class * @@ -59,8 +63,12 @@ export default class Request extends Body { let method = init.method || input.method || 'GET'; method = method.toUpperCase(); + if ('data' in init) { + doBadDataWarn(); + } + // eslint-disable-next-line no-eq-null, eqeqeq - if (((init.body != null || isRequest(input)) && input.body !== null) && + if ((init.body != null || (isRequest(input) && input.body !== null)) && (method === 'GET' || method === 'HEAD')) { throw new TypeError('Request with GET/HEAD method cannot have body'); } @@ -133,14 +141,17 @@ export default class Request extends Body { this.referrerPolicy = init.referrerPolicy || input.referrerPolicy || ''; } + /** @returns {string} */ get method() { return this[INTERNALS].method; } + /** @returns {string} */ get url() { return formatUrl(this[INTERNALS].parsedURL); } + /** @returns {Headers} */ get headers() { return this[INTERNALS].headers; } @@ -149,6 +160,7 @@ export default class Request extends Body { return this[INTERNALS].redirect; } + /** @returns {AbortSignal} */ get signal() { return this[INTERNALS].signal; } @@ -206,8 +218,8 @@ Object.defineProperties(Request.prototype, { /** * Convert a Request to Node.js http request options. * - * @param Request A Request instance - * @return Object The options object to be passed to http.request + * @param {Request} request - A Request instance + * @return The options object to be passed to http.request */ export const getNodeRequestOptions = request => { const {parsedURL} = request[INTERNALS]; @@ -296,6 +308,7 @@ export const getNodeRequestOptions = request => { }; return { + /** @type {URL} */ parsedURL, options }; diff --git a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/utils/is.js b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/utils/is.js index 377161ff1..00eb89b0e 100644 --- a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/utils/is.js +++ b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/utils/is.js @@ -56,3 +56,18 @@ export const isAbortSignal = object => { ) ); }; + +/** + * isDomainOrSubdomain reports whether sub is a subdomain (or exact match) of + * the parent domain. + * + * Both domains must already be in canonical form. + * @param {string|URL} original + * @param {string|URL} destination + */ +export const isDomainOrSubdomain = (destination, original) => { + const orig = new URL(original).hostname; + const dest = new URL(destination).hostname; + + return orig === dest || orig.endsWith(`.${dest}`); +}; diff --git a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/utils/referrer.js b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/utils/referrer.js index f9b681763..c8c668671 100644 --- a/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/utils/referrer.js +++ b/node_modules/@foo-software/lighthouse-persist/node_modules/node-fetch/src/utils/referrer.js @@ -1,4 +1,4 @@ -import {isIP} from 'net'; +import {isIP} from 'node:net'; /** * @external URL diff --git a/node_modules/@foo-software/lighthouse-persist/package.json b/node_modules/@foo-software/lighthouse-persist/package.json index 3e68b7069..ade71eab5 100644 --- a/node_modules/@foo-software/lighthouse-persist/package.json +++ b/node_modules/@foo-software/lighthouse-persist/package.json @@ -1,17 +1,78 @@ { - "name": "@foo-software/lighthouse-persist", - "version": "4.1.0", + "_from": "@foo-software/lighthouse-persist@^4.0.0", + "_id": "@foo-software/lighthouse-persist@4.1.0", + "_inBundle": false, + "_integrity": "sha512-qaIyVpYOdBIyxXm2oXr8mSnwnJ8h4dXtr2Y7lMk+/ZRxDATIxXziYvNQO6sACAlcK7vyZdJtMzgh9GbvbjxDaQ==", + "_location": "/@foo-software/lighthouse-persist", + "_phantomChildren": { + "data-uri-to-buffer": "4.0.0", + "fetch-blob": "3.1.4", + "formdata-polyfill": "4.0.10" + }, + "_requested": { + "type": "range", + "registry": true, + "raw": "@foo-software/lighthouse-persist@^4.0.0", + "name": "@foo-software/lighthouse-persist", + "escapedName": "@foo-software%2flighthouse-persist", + "scope": "@foo-software", + "rawSpec": "^4.0.0", + "saveSpec": null, + "fetchSpec": "^4.0.0" + }, + "_requiredBy": [ + "/@foo-software/lighthouse-check" + ], + "_resolved": "https://registry.npmjs.org/@foo-software/lighthouse-persist/-/lighthouse-persist-4.1.0.tgz", + "_shasum": "b951db8403c281db512a4c55bcd499ddfd77fb69", + "_spec": "@foo-software/lighthouse-persist@^4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@foo-software/lighthouse-check", + "author": { + "name": "Adam Henson", + "email": "adamhenson1979@gmail.com", + "url": "https://github.com/adamhenson" + }, + "bugs": { + "url": "https://github.com/foo-software/lighthouse-persist/issues" + }, + "bundleDependencies": false, + "dependencies": { + "aws-sdk": "^2.533.0", + "chrome-launcher": "^0.14.1", + "lighthouse": "^9.1.0", + "node-fetch": "^3.1.0" + }, + "deprecated": false, "description": "A tool for persisting Lighthouse audit results used for website performance monitoring and analysis.", - "main": "./dist/index.js", + "devDependencies": { + "@types/express": "^4.17.13", + "@types/jest": "^26.0.10", + "@types/node": "^16.11.10", + "@types/node-fetch": "^3.0.3", + "@typescript-eslint/eslint-plugin": "^4.33.0", + "@typescript-eslint/parser": "^4.33.0", + "eslint": "^7.7.0", + "eslint-config-prettier": "^6.11.0", + "eslint-plugin-jest": "^23.20.0", + "husky": "^4.2.5", + "jest": "^27.2.5", + "lint-staged": "^10.2.11", + "prettier": "^1.19.1", + "rimraf": "^3.0.2", + "ts-jest": "^27.0.5", + "typescript": "^4.6.0-dev.20211126" + }, "engines": { "node": ">=14.15" }, "files": [ "dist/" ], - "repository": { - "type": "git", - "url": "git+https://github.com/foo-software/lighthouse-persist.git" + "homepage": "https://github.com/foo-software/lighthouse-persist#readme", + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } }, "keywords": [ "lighthouse", @@ -24,23 +85,19 @@ "AWS", "S3" ], - "author": "Adam Henson (https://github.com/adamhenson)", "license": "MIT", - "bugs": { - "url": "https://github.com/foo-software/lighthouse-persist/issues" - }, - "homepage": "https://github.com/foo-software/lighthouse-persist#readme", - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, "lint-staged": { "src/**/*.{ts,tsx}": [ "prettier --single-quote --write", "npm run lint" ] }, + "main": "./dist/index.js", + "name": "@foo-software/lighthouse-persist", + "repository": { + "type": "git", + "url": "git+https://github.com/foo-software/lighthouse-persist.git" + }, "scripts": { "build": "npm run clean && npm run build:js", "build:js": "tsc -p tsconfig.json", @@ -49,28 +106,5 @@ "prepublish": "npm run build", "test": "jest" }, - "dependencies": { - "aws-sdk": "^2.533.0", - "chrome-launcher": "^0.14.1", - "lighthouse": "^9.1.0", - "node-fetch": "^3.1.0" - }, - "devDependencies": { - "@types/express": "^4.17.13", - "@types/jest": "^26.0.10", - "@types/node": "^16.11.10", - "@types/node-fetch": "^3.0.3", - "@typescript-eslint/eslint-plugin": "^4.33.0", - "@typescript-eslint/parser": "^4.33.0", - "eslint": "^7.7.0", - "eslint-config-prettier": "^6.11.0", - "eslint-plugin-jest": "^23.20.0", - "husky": "^4.2.5", - "jest": "^27.2.5", - "lint-staged": "^10.2.11", - "prettier": "^1.19.1", - "rimraf": "^3.0.2", - "ts-jest": "^27.0.5", - "typescript": "^4.6.0-dev.20211126" - } + "version": "4.1.0" } diff --git a/node_modules/@humanwhocodes/config-array/package.json b/node_modules/@humanwhocodes/config-array/package.json index 4dc3a4e5d..2c35934ce 100644 --- a/node_modules/@humanwhocodes/config-array/package.json +++ b/node_modules/@humanwhocodes/config-array/package.json @@ -1,51 +1,46 @@ { - "name": "@humanwhocodes/config-array", - "version": "0.5.0", - "description": "Glob-based configuration matching.", - "author": "Nicholas C. Zakas", - "main": "api.js", - "files": [ - "api.js" + "_args": [ + [ + "@humanwhocodes/config-array@0.5.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": { - "type": "git", - "url": "git+https://github.com/humanwhocodes/config-array.git" + "_development": true, + "_from": "@humanwhocodes/config-array@0.5.0", + "_id": "@humanwhocodes/config-array@0.5.0", + "_inBundle": false, + "_integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "_location": "/@humanwhocodes/config-array", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@humanwhocodes/config-array@0.5.0", + "name": "@humanwhocodes/config-array", + "escapedName": "@humanwhocodes%2fconfig-array", + "scope": "@humanwhocodes", + "rawSpec": "0.5.0", + "saveSpec": null, + "fetchSpec": "0.5.0" + }, + "_requiredBy": [ + "/eslint" + ], + "_resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", + "_spec": "0.5.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Nicholas C. Zakas" }, "bugs": { "url": "https://github.com/humanwhocodes/config-array/issues" }, - "homepage": "https://github.com/humanwhocodes/config-array#readme", - "scripts": { - "build": "rollup -c", - "format": "nitpik", - "lint": "eslint *.config.js src/*.js tests/*.js", - "prepublish": "npm run build", - "test:coverage": "nyc --include src/*.js npm run test", - "test": "mocha -r esm tests/ --recursive" - }, - "gitHooks": { - "pre-commit": "lint-staged" - }, - "lint-staged": { - "*.js": [ - "nitpik", - "eslint --fix --ignore-pattern '!.eslintrc.js'" - ] - }, - "keywords": [ - "configuration", - "configarray", - "config file" - ], - "license": "Apache-2.0", - "engines": { - "node": ">=10.10.0" - }, "dependencies": { "@humanwhocodes/object-schema": "^1.2.0", "debug": "^4.1.1", "minimatch": "^3.0.4" }, + "description": "Glob-based configuration matching.", "devDependencies": { "@nitpik/javascript": "^0.3.3", "@nitpik/node": "0.0.5", @@ -57,5 +52,42 @@ "nyc": "^14.1.1", "rollup": "^1.12.3", "yorkie": "^2.0.0" - } -} \ No newline at end of file + }, + "engines": { + "node": ">=10.10.0" + }, + "files": [ + "api.js" + ], + "gitHooks": { + "pre-commit": "lint-staged" + }, + "homepage": "https://github.com/humanwhocodes/config-array#readme", + "keywords": [ + "configuration", + "configarray", + "config file" + ], + "license": "Apache-2.0", + "lint-staged": { + "*.js": [ + "nitpik", + "eslint --fix --ignore-pattern '!.eslintrc.js'" + ] + }, + "main": "api.js", + "name": "@humanwhocodes/config-array", + "repository": { + "type": "git", + "url": "git+https://github.com/humanwhocodes/config-array.git" + }, + "scripts": { + "build": "rollup -c", + "format": "nitpik", + "lint": "eslint *.config.js src/*.js tests/*.js", + "prepublish": "npm run build", + "test": "mocha -r esm tests/ --recursive", + "test:coverage": "nyc --include src/*.js npm run test" + }, + "version": "0.5.0" +} diff --git a/node_modules/@humanwhocodes/object-schema/package.json b/node_modules/@humanwhocodes/object-schema/package.json index 9fc90bf3f..eec342c37 100644 --- a/node_modules/@humanwhocodes/object-schema/package.json +++ b/node_modules/@humanwhocodes/object-schema/package.json @@ -1,33 +1,65 @@ { - "name": "@humanwhocodes/object-schema", - "version": "1.2.1", + "_args": [ + [ + "@humanwhocodes/object-schema@1.2.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@humanwhocodes/object-schema@1.2.1", + "_id": "@humanwhocodes/object-schema@1.2.1", + "_inBundle": false, + "_integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "_location": "/@humanwhocodes/object-schema", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@humanwhocodes/object-schema@1.2.1", + "name": "@humanwhocodes/object-schema", + "escapedName": "@humanwhocodes%2fobject-schema", + "scope": "@humanwhocodes", + "rawSpec": "1.2.1", + "saveSpec": null, + "fetchSpec": "1.2.1" + }, + "_requiredBy": [ + "/@humanwhocodes/config-array" + ], + "_resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "_spec": "1.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Nicholas C. Zakas" + }, + "bugs": { + "url": "https://github.com/humanwhocodes/object-schema/issues" + }, "description": "An object schema merger/validator", - "main": "src/index.js", + "devDependencies": { + "chai": "^4.2.0", + "eslint": "^5.13.0", + "mocha": "^5.2.0" + }, "directories": { "test": "tests" }, - "scripts": { - "test": "mocha tests/" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/humanwhocodes/object-schema.git" - }, + "homepage": "https://github.com/humanwhocodes/object-schema#readme", "keywords": [ "object", "validation", "schema", "merge" ], - "author": "Nicholas C. Zakas", "license": "BSD-3-Clause", - "bugs": { - "url": "https://github.com/humanwhocodes/object-schema/issues" + "main": "src/index.js", + "name": "@humanwhocodes/object-schema", + "repository": { + "type": "git", + "url": "git+https://github.com/humanwhocodes/object-schema.git" }, - "homepage": "https://github.com/humanwhocodes/object-schema#readme", - "devDependencies": { - "chai": "^4.2.0", - "eslint": "^5.13.0", - "mocha": "^5.2.0" - } + "scripts": { + "test": "mocha tests/" + }, + "version": "1.2.1" } diff --git a/node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from/package.json b/node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from/package.json index 733df1627..02594954d 100644 --- a/node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from/package.json +++ b/node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from/package.json @@ -1,36 +1,72 @@ { - "name": "resolve-from", - "version": "5.0.0", - "description": "Resolve the path of a module like `require.resolve()` but from a given path", - "license": "MIT", - "repository": "sindresorhus/resolve-from", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "require", - "resolve", - "path", - "module", - "from", - "like", - "import" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "resolve-from@5.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "resolve-from@5.0.0", + "_id": "resolve-from@5.0.0", + "_inBundle": false, + "_integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "_location": "/@istanbuljs/load-nyc-config/resolve-from", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "resolve-from@5.0.0", + "name": "resolve-from", + "escapedName": "resolve-from", + "rawSpec": "5.0.0", + "saveSpec": null, + "fetchSpec": "5.0.0" + }, + "_requiredBy": [ + "/@istanbuljs/load-nyc-config" + ], + "_resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "_spec": "5.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/resolve-from/issues" + }, + "description": "Resolve the path of a module like `require.resolve()` but from a given path", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/resolve-from#readme", + "keywords": [ + "require", + "resolve", + "path", + "module", + "from", + "like", + "import" + ], + "license": "MIT", + "name": "resolve-from", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/resolve-from.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "5.0.0" } diff --git a/node_modules/@istanbuljs/load-nyc-config/package.json b/node_modules/@istanbuljs/load-nyc-config/package.json index 53207ef34..7120324eb 100644 --- a/node_modules/@istanbuljs/load-nyc-config/package.json +++ b/node_modules/@istanbuljs/load-nyc-config/package.json @@ -1,49 +1,79 @@ { - "name": "@istanbuljs/load-nyc-config", - "version": "1.1.0", - "description": "Utility function to load nyc configuration", - "main": "index.js", - "scripts": { - "pretest": "xo", - "test": "tap", - "snap": "npm test -- --snapshot", - "release": "standard-version" - }, - "engines": { - "node": ">=8" - }, - "license": "ISC", - "repository": { - "type": "git", - "url": "git+https://github.com/istanbuljs/load-nyc-config.git" - }, - "bugs": { - "url": "https://github.com/istanbuljs/load-nyc-config/issues" - }, - "homepage": "https://github.com/istanbuljs/load-nyc-config#readme", - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "devDependencies": { - "semver": "^6.3.0", - "standard-version": "^7.0.0", - "tap": "^14.10.5", - "xo": "^0.25.3" - }, - "xo": { - "ignores": [ - "test/fixtures/extends/invalid.*" - ], - "rules": { - "require-atomic-updates": 0, - "capitalized-comments": 0, - "unicorn/import-index": 0, - "import/extensions": 0, - "import/no-useless-path-segments": 0 - } - } + "_args": [ + [ + "@istanbuljs/load-nyc-config@1.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@istanbuljs/load-nyc-config@1.1.0", + "_id": "@istanbuljs/load-nyc-config@1.1.0", + "_inBundle": false, + "_integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "_location": "/@istanbuljs/load-nyc-config", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@istanbuljs/load-nyc-config@1.1.0", + "name": "@istanbuljs/load-nyc-config", + "escapedName": "@istanbuljs%2fload-nyc-config", + "scope": "@istanbuljs", + "rawSpec": "1.1.0", + "saveSpec": null, + "fetchSpec": "1.1.0" + }, + "_requiredBy": [ + "/babel-plugin-istanbul" + ], + "_resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "_spec": "1.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/istanbuljs/load-nyc-config/issues" + }, + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "description": "Utility function to load nyc configuration", + "devDependencies": { + "semver": "^6.3.0", + "standard-version": "^7.0.0", + "tap": "^14.10.5", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "homepage": "https://github.com/istanbuljs/load-nyc-config#readme", + "license": "ISC", + "main": "index.js", + "name": "@istanbuljs/load-nyc-config", + "repository": { + "type": "git", + "url": "git+https://github.com/istanbuljs/load-nyc-config.git" + }, + "scripts": { + "pretest": "xo", + "release": "standard-version", + "snap": "npm test -- --snapshot", + "test": "tap" + }, + "version": "1.1.0", + "xo": { + "ignores": [ + "test/fixtures/extends/invalid.*" + ], + "rules": { + "require-atomic-updates": 0, + "capitalized-comments": 0, + "unicorn/import-index": 0, + "import/extensions": 0, + "import/no-useless-path-segments": 0 + } + } } diff --git a/node_modules/@istanbuljs/schema/package.json b/node_modules/@istanbuljs/schema/package.json index 1d22cde96..13f1e9c2c 100644 --- a/node_modules/@istanbuljs/schema/package.json +++ b/node_modules/@istanbuljs/schema/package.json @@ -1,30 +1,64 @@ { - "name": "@istanbuljs/schema", - "version": "0.1.3", - "description": "Schemas describing various structures used by nyc and istanbuljs", - "main": "index.js", - "scripts": { - "release": "standard-version --sign", - "pretest": "xo", - "test": "tap", - "snap": "npm test -- --snapshot" - }, - "engines": { - "node": ">=8" - }, - "author": "Corey Farrell", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/istanbuljs/schema.git" - }, - "bugs": { - "url": "https://github.com/istanbuljs/schema/issues" - }, - "homepage": "https://github.com/istanbuljs/schema#readme", - "devDependencies": { - "standard-version": "^7.0.0", - "tap": "^14.6.7", - "xo": "^0.25.3" - } + "_args": [ + [ + "@istanbuljs/schema@0.1.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@istanbuljs/schema@0.1.3", + "_id": "@istanbuljs/schema@0.1.3", + "_inBundle": false, + "_integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "_location": "/@istanbuljs/schema", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@istanbuljs/schema@0.1.3", + "name": "@istanbuljs/schema", + "escapedName": "@istanbuljs%2fschema", + "scope": "@istanbuljs", + "rawSpec": "0.1.3", + "saveSpec": null, + "fetchSpec": "0.1.3" + }, + "_requiredBy": [ + "/babel-plugin-istanbul", + "/istanbul-lib-instrument", + "/test-exclude" + ], + "_resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "_spec": "0.1.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Corey Farrell" + }, + "bugs": { + "url": "https://github.com/istanbuljs/schema/issues" + }, + "description": "Schemas describing various structures used by nyc and istanbuljs", + "devDependencies": { + "standard-version": "^7.0.0", + "tap": "^14.6.7", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "homepage": "https://github.com/istanbuljs/schema#readme", + "license": "MIT", + "main": "index.js", + "name": "@istanbuljs/schema", + "repository": { + "type": "git", + "url": "git+https://github.com/istanbuljs/schema.git" + }, + "scripts": { + "pretest": "xo", + "release": "standard-version --sign", + "snap": "npm test -- --snapshot", + "test": "tap" + }, + "version": "0.1.3" } diff --git a/node_modules/@jest/console/package.json b/node_modules/@jest/console/package.json index d6480eb3f..42ca3ad03 100644 --- a/node_modules/@jest/console/package.json +++ b/node_modules/@jest/console/package.json @@ -1,20 +1,39 @@ { - "name": "@jest/console", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-console" + "_args": [ + [ + "@jest/console@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/console@27.4.6", + "_id": "@jest/console@27.4.6", + "_inBundle": false, + "_integrity": "sha512-jauXyacQD33n47A44KrlOVeiXHEXDqapSdfb9kTekOchH/Pd18kBIO1+xxJQRLuG+LUuljFCwTG92ra4NW7SpA==", + "_location": "/@jest/console", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/console@27.4.6", + "name": "@jest/console", + "escapedName": "@jest%2fconsole", + "scope": "@jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/@jest/core", + "/@jest/reporters", + "/@jest/test-result", + "/jest-runner" + ], + "_resolved": "https://registry.npmjs.org/@jest/console/-/console-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@jest/types": "^27.4.2", @@ -31,8 +50,26 @@ "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/console", "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-console" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/@jest/core/package.json b/node_modules/@jest/core/package.json index bb1b8d115..3d9d2a66f 100644 --- a/node_modules/@jest/core/package.json +++ b/node_modules/@jest/core/package.json @@ -1,15 +1,37 @@ { - "name": "@jest/core", - "description": "Delightful JavaScript Testing.", - "version": "27.4.7", - "main": "./build/jest.js", - "types": "./build/jest.d.ts", - "exports": { - ".": { - "types": "./build/jest.d.ts", - "default": "./build/jest.js" - }, - "./package.json": "./package.json" + "_args": [ + [ + "@jest/core@27.4.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/core@27.4.7", + "_id": "@jest/core@27.4.7", + "_inBundle": false, + "_integrity": "sha512-n181PurSJkVMS+kClIFSX/LLvw9ExSb+4IMtD6YnfxZVerw9ANYtW0bPrm0MJu2pfe9SY9FJ9FtQ+MdZkrZwjg==", + "_location": "/@jest/core", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/core@27.4.7", + "name": "@jest/core", + "escapedName": "@jest%2fcore", + "scope": "@jest", + "rawSpec": "27.4.7", + "saveSpec": null, + "fetchSpec": "27.4.7" + }, + "_requiredBy": [ + "/jest", + "/jest-cli" + ], + "_resolved": "https://registry.npmjs.org/@jest/core/-/core-27.4.7.tgz", + "_spec": "27.4.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@jest/console": "^27.4.6", @@ -41,6 +63,7 @@ "slash": "^3.0.0", "strip-ansi": "^6.0.0" }, + "description": "Delightful JavaScript Testing.", "devDependencies": { "@jest/test-sequencer": "^27.4.6", "@jest/test-utils": "^27.4.6", @@ -50,27 +73,18 @@ "@types/rimraf": "^3.0.0", "jest-snapshot-serializer-raw": "^1.1.0" }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest", - "directory": "packages/jest-core" - }, - "bugs": { - "url": "https://github.com/facebook/jest/issues" + "exports": { + ".": { + "types": "./build/jest.d.ts", + "default": "./build/jest.js" + }, + "./package.json": "./package.json" }, + "gitHead": "91b898ce6d1908378346b11f732768bd345f3592", "homepage": "https://jestjs.io/", - "license": "MIT", "keywords": [ "ava", "babel", @@ -97,8 +111,25 @@ "typescript", "watch" ], + "license": "MIT", + "main": "./build/jest.js", + "name": "@jest/core", + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + }, "publishConfig": { "access": "public" }, - "gitHead": "91b898ce6d1908378346b11f732768bd345f3592" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-core" + }, + "types": "./build/jest.d.ts", + "version": "27.4.7" } diff --git a/node_modules/@jest/environment/package.json b/node_modules/@jest/environment/package.json index abae5025c..eee46db44 100644 --- a/node_modules/@jest/environment/package.json +++ b/node_modules/@jest/environment/package.json @@ -1,20 +1,42 @@ { - "name": "@jest/environment", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-environment" + "_args": [ + [ + "@jest/environment@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/environment@27.4.6", + "_id": "@jest/environment@27.4.6", + "_inBundle": false, + "_integrity": "sha512-E6t+RXPfATEEGVidr84WngLNWZ8ffCPky8RqqRK6u1Bn0LK92INe0MDttyPl/JOzaq92BmDzOeuqk09TvM22Sg==", + "_location": "/@jest/environment", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/environment@27.4.6", + "name": "@jest/environment", + "escapedName": "@jest%2fenvironment", + "scope": "@jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/@jest/globals", + "/jest-circus", + "/jest-environment-jsdom", + "/jest-environment-node", + "/jest-jasmine2", + "/jest-runner", + "/jest-runtime" + ], + "_resolved": "https://registry.npmjs.org/@jest/environment/-/environment-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@jest/fake-timers": "^27.4.6", @@ -25,8 +47,26 @@ "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/environment", "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-environment" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/@jest/fake-timers/package.json b/node_modules/@jest/fake-timers/package.json index 6b5e0ca24..7005934b8 100644 --- a/node_modules/@jest/fake-timers/package.json +++ b/node_modules/@jest/fake-timers/package.json @@ -1,20 +1,39 @@ { - "name": "@jest/fake-timers", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-fake-timers" + "_args": [ + [ + "@jest/fake-timers@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/fake-timers@27.4.6", + "_id": "@jest/fake-timers@27.4.6", + "_inBundle": false, + "_integrity": "sha512-mfaethuYF8scV8ntPpiVGIHQgS0XIALbpY2jt2l7wb/bvq4Q5pDLk4EP4D7SAvYT1QrPOPVZAtbdGAOOyIgs7A==", + "_location": "/@jest/fake-timers", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/fake-timers@27.4.6", + "name": "@jest/fake-timers", + "escapedName": "@jest%2ffake-timers", + "scope": "@jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/@jest/environment", + "/jest-environment-jsdom", + "/jest-environment-node", + "/jest-runtime" + ], + "_resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@jest/types": "^27.4.2", @@ -31,8 +50,26 @@ "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/fake-timers", "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-fake-timers" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/@jest/globals/package.json b/node_modules/@jest/globals/package.json index 1df2e2a75..f8c46c623 100644 --- a/node_modules/@jest/globals/package.json +++ b/node_modules/@jest/globals/package.json @@ -1,17 +1,45 @@ { - "name": "@jest/globals", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-globals" + "_args": [ + [ + "@jest/globals@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/globals@27.4.6", + "_id": "@jest/globals@27.4.6", + "_inBundle": false, + "_integrity": "sha512-kAiwMGZ7UxrgPzu8Yv9uvWmXXxsy0GciNejlHvfPIfWkSxChzv6bgTS3YqBkGuHcis+ouMFI2696n2t+XYIeFw==", + "_location": "/@jest/globals", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/globals@27.4.6", + "name": "@jest/globals", + "escapedName": "@jest%2fglobals", + "scope": "@jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" + }, + "_requiredBy": [ + "/jest-runtime" + ], + "_resolved": "https://registry.npmjs.org/@jest/globals/-/globals-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" + }, + "dependencies": { + "@jest/environment": "^27.4.6", + "@jest/types": "^27.4.2", + "expect": "^27.4.6" }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", "exports": { ".": { "types": "./build/index.d.ts", @@ -19,13 +47,19 @@ }, "./package.json": "./package.json" }, - "dependencies": { - "@jest/environment": "^27.4.6", - "@jest/types": "^27.4.2", - "expect": "^27.4.6" - }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/globals", "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-globals" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/@jest/reporters/package.json b/node_modules/@jest/reporters/package.json index 9a80df3da..221eca369 100644 --- a/node_modules/@jest/reporters/package.json +++ b/node_modules/@jest/reporters/package.json @@ -1,15 +1,36 @@ { - "name": "@jest/reporters", - "description": "Jest's reporters", - "version": "27.4.6", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_args": [ + [ + "@jest/reporters@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/reporters@27.4.6", + "_id": "@jest/reporters@27.4.6", + "_inBundle": false, + "_integrity": "sha512-+Zo9gV81R14+PSq4wzee4GC2mhAN9i9a7qgJWL90Gpx7fHYkWpTBvwWNZUXvJByYR9tAVBdc8VxDWqfJyIUrIQ==", + "_location": "/@jest/reporters", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/reporters@27.4.6", + "name": "@jest/reporters", + "escapedName": "@jest%2freporters", + "scope": "@jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" + }, + "_requiredBy": [ + "/@jest/core" + ], + "_resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", @@ -38,6 +59,7 @@ "terminal-link": "^2.0.0", "v8-to-istanbul": "^8.1.0" }, + "description": "Jest's reporters", "devDependencies": { "@jest/test-utils": "^27.4.6", "@types/exit": "^0.1.30", @@ -52,6 +74,21 @@ "mock-fs": "^4.4.1", "strip-ansi": "^6.0.0" }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://jestjs.io/", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/reporters", "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" }, @@ -60,21 +97,14 @@ "optional": true } }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "publishConfig": { + "access": "public" }, "repository": { "type": "git", - "url": "https://github.com/facebook/jest", + "url": "git+https://github.com/facebook/jest.git", "directory": "packages/jest-reporters" }, - "bugs": { - "url": "https://github.com/facebook/jest/issues" - }, - "homepage": "https://jestjs.io/", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/@jest/source-map/package.json b/node_modules/@jest/source-map/package.json index c31602536..15353a32c 100644 --- a/node_modules/@jest/source-map/package.json +++ b/node_modules/@jest/source-map/package.json @@ -1,20 +1,37 @@ { - "name": "@jest/source-map", - "version": "27.4.0", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-source-map" + "_args": [ + [ + "@jest/source-map@27.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/source-map@27.4.0", + "_id": "@jest/source-map@27.4.0", + "_inBundle": false, + "_integrity": "sha512-Ntjx9jzP26Bvhbm93z/AKcPRj/9wrkI88/gK60glXDx1q+IeI0rf7Lw2c89Ch6ofonB0On/iRDreQuQ6te9pgQ==", + "_location": "/@jest/source-map", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/source-map@27.4.0", + "name": "@jest/source-map", + "escapedName": "@jest%2fsource-map", + "scope": "@jest", + "rawSpec": "27.4.0", + "saveSpec": null, + "fetchSpec": "27.4.0" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/jest-jasmine2", + "/jest-runtime" + ], + "_resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-27.4.0.tgz", + "_spec": "27.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "callsites": "^3.0.0", @@ -27,8 +44,26 @@ "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "0dc6dde296550370ade2574d6665748fed37f9c9", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/source-map", "publishConfig": { "access": "public" }, - "gitHead": "0dc6dde296550370ade2574d6665748fed37f9c9" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-source-map" + }, + "types": "./build/index.d.ts", + "version": "27.4.0" } diff --git a/node_modules/@jest/test-result/package.json b/node_modules/@jest/test-result/package.json index 9c806b9e9..bb7e091f7 100644 --- a/node_modules/@jest/test-result/package.json +++ b/node_modules/@jest/test-result/package.json @@ -1,20 +1,44 @@ { - "name": "@jest/test-result", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-test-result" + "_args": [ + [ + "@jest/test-result@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/test-result@27.4.6", + "_id": "@jest/test-result@27.4.6", + "_inBundle": false, + "_integrity": "sha512-fi9IGj3fkOrlMmhQqa/t9xum8jaJOOAi/lZlm6JXSc55rJMXKHxNDN1oCP39B0/DhNOa2OMupF9BcKZnNtXMOQ==", + "_location": "/@jest/test-result", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/test-result@27.4.6", + "name": "@jest/test-result", + "escapedName": "@jest%2ftest-result", + "scope": "@jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/@jest/core", + "/@jest/reporters", + "/@jest/test-sequencer", + "/jest-circus", + "/jest-cli", + "/jest-jasmine2", + "/jest-runner", + "/jest-runtime", + "/jest-watcher" + ], + "_resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@jest/console": "^27.4.6", @@ -25,8 +49,26 @@ "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/test-result", "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-test-result" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/@jest/test-sequencer/package.json b/node_modules/@jest/test-sequencer/package.json index 6ae154277..77595224e 100644 --- a/node_modules/@jest/test-sequencer/package.json +++ b/node_modules/@jest/test-sequencer/package.json @@ -1,20 +1,36 @@ { - "name": "@jest/test-sequencer", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-test-sequencer" + "_args": [ + [ + "@jest/test-sequencer@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/test-sequencer@27.4.6", + "_id": "@jest/test-sequencer@27.4.6", + "_inBundle": false, + "_integrity": "sha512-3GL+nsf6E1PsyNsJuvPyIz+DwFuCtBdtvPpm/LMXVkBJbdFvQYCDpccYT56qq5BGniXWlE81n2qk1sdXfZebnw==", + "_location": "/@jest/test-sequencer", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/test-sequencer@27.4.6", + "name": "@jest/test-sequencer", + "escapedName": "@jest%2ftest-sequencer", + "scope": "@jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/jest-config" + ], + "_resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@jest/test-result": "^27.4.6", @@ -28,8 +44,26 @@ "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/test-sequencer", "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-test-sequencer" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/@jest/transform/package.json b/node_modules/@jest/transform/package.json index 5c2b58ae5..3f37edc8b 100644 --- a/node_modules/@jest/transform/package.json +++ b/node_modules/@jest/transform/package.json @@ -1,20 +1,41 @@ { - "name": "@jest/transform", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-transform" + "_args": [ + [ + "@jest/transform@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/transform@27.4.6", + "_id": "@jest/transform@27.4.6", + "_inBundle": false, + "_integrity": "sha512-9MsufmJC8t5JTpWEQJ0OcOOAXaH5ioaIX6uHVBLBMoCZPfKKQF+EqP8kACAvCZ0Y1h2Zr3uOccg8re+Dr5jxyw==", + "_location": "/@jest/transform", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/transform@27.4.6", + "name": "@jest/transform", + "escapedName": "@jest%2ftransform", + "scope": "@jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/@jest/core", + "/@jest/reporters", + "/babel-jest", + "/jest-runner", + "/jest-runtime", + "/jest-snapshot" + ], + "_resolved": "https://registry.npmjs.org/@jest/transform/-/transform-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@babel/core": "^7.1.0", @@ -47,8 +68,26 @@ "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/transform", "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-transform" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/@jest/types/package.json b/node_modules/@jest/types/package.json index d264133db..017d15a94 100644 --- a/node_modules/@jest/types/package.json +++ b/node_modules/@jest/types/package.json @@ -1,23 +1,64 @@ { - "name": "@jest/types", - "version": "27.4.2", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/jest-types" + "_args": [ + [ + "@jest/types@27.4.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@jest/types@27.4.2", + "_id": "@jest/types@27.4.2", + "_inBundle": false, + "_integrity": "sha512-j35yw0PMTPpZsUoOBiuHzr1zTYoad1cVIE0ajEjcrJONxxrko/IRGKkXx3os0Nsi4Hu3+5VmDbVfq5WhG/pWAg==", + "_location": "/@jest/types", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@jest/types@27.4.2", + "name": "@jest/types", + "escapedName": "@jest%2ftypes", + "scope": "@jest", + "rawSpec": "27.4.2", + "saveSpec": null, + "fetchSpec": "27.4.2" }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/@jest/console", + "/@jest/core", + "/@jest/environment", + "/@jest/fake-timers", + "/@jest/globals", + "/@jest/reporters", + "/@jest/test-result", + "/@jest/transform", + "/babel-jest", + "/expect", + "/jest-changed-files", + "/jest-circus", + "/jest-cli", + "/jest-config", + "/jest-each", + "/jest-environment-jsdom", + "/jest-environment-node", + "/jest-haste-map", + "/jest-jasmine2", + "/jest-message-util", + "/jest-mock", + "/jest-resolve", + "/jest-resolve-dependencies", + "/jest-runner", + "/jest-runtime", + "/jest-snapshot", + "/jest-util", + "/jest-validate", + "/jest-watcher" + ], + "_resolved": "https://registry.npmjs.org/@jest/types/-/types-27.4.2.tgz", + "_spec": "27.4.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -29,8 +70,29 @@ "devDependencies": { "mlh-tsd": "^0.14.1" }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "7965591f785e936ada194f9d58f852735b50ab1c", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "@jest/types", "publishConfig": { "access": "public" }, - "gitHead": "7965591f785e936ada194f9d58f852735b50ab1c" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/jest-types" + }, + "types": "./build/index.d.ts", + "version": "27.4.2" } diff --git a/node_modules/@nodelib/fs.scandir/package.json b/node_modules/@nodelib/fs.scandir/package.json index d3a89241b..9fa747865 100644 --- a/node_modules/@nodelib/fs.scandir/package.json +++ b/node_modules/@nodelib/fs.scandir/package.json @@ -1,9 +1,52 @@ { - "name": "@nodelib/fs.scandir", - "version": "2.1.5", + "_args": [ + [ + "@nodelib/fs.scandir@2.1.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@nodelib/fs.scandir@2.1.5", + "_id": "@nodelib/fs.scandir@2.1.5", + "_inBundle": false, + "_integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "_location": "/@nodelib/fs.scandir", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@nodelib/fs.scandir@2.1.5", + "name": "@nodelib/fs.scandir", + "escapedName": "@nodelib%2ffs.scandir", + "scope": "@nodelib", + "rawSpec": "2.1.5", + "saveSpec": null, + "fetchSpec": "2.1.5" + }, + "_requiredBy": [ + "/@nodelib/fs.walk" + ], + "_resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "_spec": "2.1.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, "description": "List files and directories inside the specified directory", - "license": "MIT", - "repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir", + "devDependencies": { + "@nodelib/fs.macchiato": "1.0.4", + "@types/run-parallel": "^1.1.0" + }, + "engines": { + "node": ">= 8" + }, + "files": [ + "out/**", + "!out/**/*.map", + "!out/**/*.spec.*" + ], + "gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562", "keywords": [ "NodeLib", "fs", @@ -13,32 +56,22 @@ "readdir", "dirent" ], - "engines": { - "node": ">= 8" - }, - "files": [ - "out/**", - "!out/**/*.map", - "!out/**/*.spec.*" - ], + "license": "MIT", "main": "out/index.js", - "typings": "out/index.d.ts", + "name": "@nodelib/fs.scandir", + "repository": { + "type": "git", + "url": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir" + }, "scripts": { + "build": "npm run clean && npm run compile && npm run lint && npm test", "clean": "rimraf {tsconfig.tsbuildinfo,out}", - "lint": "eslint \"src/**/*.ts\" --cache", "compile": "tsc -b .", "compile:watch": "tsc -p . --watch --sourceMap", + "lint": "eslint \"src/**/*.ts\" --cache", "test": "mocha \"out/**/*.spec.js\" -s 0", - "build": "npm run clean && npm run compile && npm run lint && npm test", "watch": "npm run clean && npm run compile:watch" }, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "devDependencies": { - "@nodelib/fs.macchiato": "1.0.4", - "@types/run-parallel": "^1.1.0" - }, - "gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562" + "typings": "out/index.d.ts", + "version": "2.1.5" } diff --git a/node_modules/@nodelib/fs.stat/package.json b/node_modules/@nodelib/fs.stat/package.json index f2540c289..9da214033 100644 --- a/node_modules/@nodelib/fs.stat/package.json +++ b/node_modules/@nodelib/fs.stat/package.json @@ -1,16 +1,39 @@ { - "name": "@nodelib/fs.stat", - "version": "2.0.5", - "description": "Get the status of a file with some features", - "license": "MIT", - "repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat", - "keywords": [ - "NodeLib", - "fs", - "FileSystem", - "file system", - "stat" + "_args": [ + [ + "@nodelib/fs.stat@2.0.5", + "/Users/adam/Projects/lighthouse-check-action" + ] ], + "_development": true, + "_from": "@nodelib/fs.stat@2.0.5", + "_id": "@nodelib/fs.stat@2.0.5", + "_inBundle": false, + "_integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "_location": "/@nodelib/fs.stat", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@nodelib/fs.stat@2.0.5", + "name": "@nodelib/fs.stat", + "escapedName": "@nodelib%2ffs.stat", + "scope": "@nodelib", + "rawSpec": "2.0.5", + "saveSpec": null, + "fetchSpec": "2.0.5" + }, + "_requiredBy": [ + "/@nodelib/fs.scandir", + "/fast-glob" + ], + "_resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "_spec": "2.0.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "description": "Get the status of a file with some features", + "devDependencies": { + "@nodelib/fs.macchiato": "1.0.4" + }, "engines": { "node": ">= 8" }, @@ -19,19 +42,30 @@ "!out/**/*.map", "!out/**/*.spec.*" ], + "gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562", + "keywords": [ + "NodeLib", + "fs", + "FileSystem", + "file system", + "stat" + ], + "license": "MIT", "main": "out/index.js", - "typings": "out/index.d.ts", + "name": "@nodelib/fs.stat", + "repository": { + "type": "git", + "url": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat" + }, "scripts": { + "build": "npm run clean && npm run compile && npm run lint && npm test", "clean": "rimraf {tsconfig.tsbuildinfo,out}", - "lint": "eslint \"src/**/*.ts\" --cache", "compile": "tsc -b .", "compile:watch": "tsc -p . --watch --sourceMap", + "lint": "eslint \"src/**/*.ts\" --cache", "test": "mocha \"out/**/*.spec.js\" -s 0", - "build": "npm run clean && npm run compile && npm run lint && npm test", "watch": "npm run clean && npm run compile:watch" }, - "devDependencies": { - "@nodelib/fs.macchiato": "1.0.4" - }, - "gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562" + "typings": "out/index.d.ts", + "version": "2.0.5" } diff --git a/node_modules/@nodelib/fs.walk/package.json b/node_modules/@nodelib/fs.walk/package.json index 86bfce48b..bd7648d30 100644 --- a/node_modules/@nodelib/fs.walk/package.json +++ b/node_modules/@nodelib/fs.walk/package.json @@ -1,18 +1,42 @@ { - "name": "@nodelib/fs.walk", - "version": "1.2.8", - "description": "A library for efficiently walking a directory recursively", - "license": "MIT", - "repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk", - "keywords": [ - "NodeLib", - "fs", - "FileSystem", - "file system", - "walk", - "scanner", - "crawler" + "_args": [ + [ + "@nodelib/fs.walk@1.2.8", + "/Users/adam/Projects/lighthouse-check-action" + ] ], + "_development": true, + "_from": "@nodelib/fs.walk@1.2.8", + "_id": "@nodelib/fs.walk@1.2.8", + "_inBundle": false, + "_integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "_location": "/@nodelib/fs.walk", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@nodelib/fs.walk@1.2.8", + "name": "@nodelib/fs.walk", + "escapedName": "@nodelib%2ffs.walk", + "scope": "@nodelib", + "rawSpec": "1.2.8", + "saveSpec": null, + "fetchSpec": "1.2.8" + }, + "_requiredBy": [ + "/fast-glob" + ], + "_resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "_spec": "1.2.8", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "description": "A library for efficiently walking a directory recursively", + "devDependencies": { + "@nodelib/fs.macchiato": "1.0.4" + }, "engines": { "node": ">= 8" }, @@ -22,23 +46,32 @@ "!out/**/*.spec.*", "!out/**/tests/**" ], + "gitHead": "1e5bad48565da2b06b8600e744324ea240bf49d8", + "keywords": [ + "NodeLib", + "fs", + "FileSystem", + "file system", + "walk", + "scanner", + "crawler" + ], + "license": "MIT", "main": "out/index.js", - "typings": "out/index.d.ts", + "name": "@nodelib/fs.walk", + "repository": { + "type": "git", + "url": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk" + }, "scripts": { + "build": "npm run clean && npm run compile && npm run lint && npm test", "clean": "rimraf {tsconfig.tsbuildinfo,out}", - "lint": "eslint \"src/**/*.ts\" --cache", "compile": "tsc -b .", "compile:watch": "tsc -p . --watch --sourceMap", + "lint": "eslint \"src/**/*.ts\" --cache", "test": "mocha \"out/**/*.spec.js\" -s 0", - "build": "npm run clean && npm run compile && npm run lint && npm test", "watch": "npm run clean && npm run compile:watch" }, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "devDependencies": { - "@nodelib/fs.macchiato": "1.0.4" - }, - "gitHead": "1e5bad48565da2b06b8600e744324ea240bf49d8" + "typings": "out/index.d.ts", + "version": "1.2.8" } diff --git a/node_modules/@octokit/auth-token/package.json b/node_modules/@octokit/auth-token/package.json index 1b0df7191..79800f23f 100644 --- a/node_modules/@octokit/auth-token/package.json +++ b/node_modules/@octokit/auth-token/package.json @@ -1,24 +1,40 @@ { - "name": "@octokit/auth-token", - "description": "GitHub API token authentication for browsers and Node.js", - "version": "2.5.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/auth-token@2.5.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "octokit", - "authentication", - "api" + "_from": "@octokit/auth-token@2.5.0", + "_id": "@octokit/auth-token@2.5.0", + "_inBundle": false, + "_integrity": "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==", + "_location": "/@octokit/auth-token", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/auth-token@2.5.0", + "name": "@octokit/auth-token", + "escapedName": "@octokit%2fauth-token", + "scope": "@octokit", + "rawSpec": "2.5.0", + "saveSpec": null, + "fetchSpec": "2.5.0" + }, + "_requiredBy": [ + "/@octokit/core" ], - "repository": "github:octokit/auth-token.js", + "_resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz", + "_spec": "2.5.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/auth-token.js/issues" + }, "dependencies": { "@octokit/types": "^6.0.3" }, + "description": "GitHub API token authentication for browsers and Node.js", "devDependencies": { "@octokit/core": "^3.0.0", "@octokit/request": "^5.3.0", @@ -35,11 +51,31 @@ "ts-jest": "^27.0.0-next.12", "typescript": "^4.0.0" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/auth-token.js#readme", + "keywords": [ + "github", + "octokit", + "authentication", + "api" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/auth-token", + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/auth-token.js.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "2.5.0" } diff --git a/node_modules/@octokit/core/package.json b/node_modules/@octokit/core/package.json index cb3545988..655f88e3c 100644 --- a/node_modules/@octokit/core/package.json +++ b/node_modules/@octokit/core/package.json @@ -1,22 +1,36 @@ { - "name": "@octokit/core", - "description": "Extendable client for GitHub's REST & GraphQL APIs", - "version": "3.5.1", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/core@3.5.1", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "sdk", - "toolkit" + "_from": "@octokit/core@3.5.1", + "_id": "@octokit/core@3.5.1", + "_inBundle": false, + "_integrity": "sha512-omncwpLVxMP+GLpLPgeGJBF6IWJFjXDS5flY5VbppePYX9XehevbDykRH9PdCdvqt9TS5AOTiDide7h0qrkHjw==", + "_location": "/@octokit/core", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/core@3.5.1", + "name": "@octokit/core", + "escapedName": "@octokit%2fcore", + "scope": "@octokit", + "rawSpec": "3.5.1", + "saveSpec": null, + "fetchSpec": "3.5.1" + }, + "_requiredBy": [ + "/@actions/github" ], - "repository": "github:octokit/core.js", + "_resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.5.1.tgz", + "_spec": "3.5.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/core.js/issues" + }, "dependencies": { "@octokit/auth-token": "^2.4.4", "@octokit/graphql": "^4.5.8", @@ -26,6 +40,7 @@ "before-after-hook": "^2.2.0", "universal-user-agent": "^6.0.0" }, + "description": "Extendable client for GitHub's REST & GraphQL APIs", "devDependencies": { "@octokit/auth": "^3.0.1", "@pika/pack": "^0.5.0", @@ -48,11 +63,32 @@ "ts-jest": "^27.0.0", "typescript": "^4.0.2" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/core.js#readme", + "keywords": [ + "octokit", + "github", + "api", + "sdk", + "toolkit" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/core", + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/core.js.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "3.5.1" } diff --git a/node_modules/@octokit/endpoint/package.json b/node_modules/@octokit/endpoint/package.json index 4e4d42554..955a21100 100644 --- a/node_modules/@octokit/endpoint/package.json +++ b/node_modules/@octokit/endpoint/package.json @@ -1,26 +1,42 @@ { - "name": "@octokit/endpoint", - "description": "Turns REST API endpoints into generic request options", - "version": "6.0.12", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/endpoint@6.0.12", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "rest" + "_from": "@octokit/endpoint@6.0.12", + "_id": "@octokit/endpoint@6.0.12", + "_inBundle": false, + "_integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==", + "_location": "/@octokit/endpoint", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/endpoint@6.0.12", + "name": "@octokit/endpoint", + "escapedName": "@octokit%2fendpoint", + "scope": "@octokit", + "rawSpec": "6.0.12", + "saveSpec": null, + "fetchSpec": "6.0.12" + }, + "_requiredBy": [ + "/@octokit/request" ], - "repository": "github:octokit/endpoint.js", + "_resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", + "_spec": "6.0.12", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/endpoint.js/issues" + }, "dependencies": { "@octokit/types": "^6.0.3", "is-plain-object": "^5.0.0", "universal-user-agent": "^6.0.0" }, + "description": "Turns REST API endpoints into generic request options", "devDependencies": { "@pika/pack": "^0.5.0", "@pika/plugin-build-node": "^0.9.0", @@ -34,11 +50,31 @@ "ts-jest": "^27.0.0-next.12", "typescript": "^4.0.2" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/endpoint.js#readme", + "keywords": [ + "octokit", + "github", + "api", + "rest" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/endpoint", + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/endpoint.js.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "6.0.12" } diff --git a/node_modules/@octokit/graphql/package.json b/node_modules/@octokit/graphql/package.json index 9ba3cb737..1d75d20de 100644 --- a/node_modules/@octokit/graphql/package.json +++ b/node_modules/@octokit/graphql/package.json @@ -1,26 +1,42 @@ { - "name": "@octokit/graphql", - "description": "GitHub GraphQL API client for browsers and Node", - "version": "4.8.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/graphql@4.8.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "graphql" + "_from": "@octokit/graphql@4.8.0", + "_id": "@octokit/graphql@4.8.0", + "_inBundle": false, + "_integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", + "_location": "/@octokit/graphql", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/graphql@4.8.0", + "name": "@octokit/graphql", + "escapedName": "@octokit%2fgraphql", + "scope": "@octokit", + "rawSpec": "4.8.0", + "saveSpec": null, + "fetchSpec": "4.8.0" + }, + "_requiredBy": [ + "/@octokit/core" ], - "repository": "github:octokit/graphql.js", + "_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", + "_spec": "4.8.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/graphql.js/issues" + }, "dependencies": { "@octokit/request": "^5.6.0", "@octokit/types": "^6.0.3", "universal-user-agent": "^6.0.0" }, + "description": "GitHub GraphQL API client for browsers and Node", "devDependencies": { "@pika/pack": "^0.5.0", "@pika/plugin-build-node": "^0.9.0", @@ -37,11 +53,31 @@ "ts-jest": "^27.0.0-next.12", "typescript": "^4.0.0" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/graphql.js#readme", + "keywords": [ + "octokit", + "github", + "api", + "graphql" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/graphql", + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/graphql.js.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "4.8.0" } diff --git a/node_modules/@octokit/openapi-types/package.json b/node_modules/@octokit/openapi-types/package.json index 4c43b5e89..6b06c0c17 100644 --- a/node_modules/@octokit/openapi-types/package.json +++ b/node_modules/@octokit/openapi-types/package.json @@ -1,20 +1,56 @@ { - "name": "@octokit/openapi-types", + "_args": [ + [ + "@octokit/openapi-types@11.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "@octokit/openapi-types@11.2.0", + "_id": "@octokit/openapi-types@11.2.0", + "_inBundle": false, + "_integrity": "sha512-PBsVO+15KSlGmiI8QAzaqvsNlZlrDlyAJYcrXBCvVUxCp7VnXjkwPoFHgjEJXx3WF9BAwkA6nfCUA7i9sODzKA==", + "_location": "/@octokit/openapi-types", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/openapi-types@11.2.0", + "name": "@octokit/openapi-types", + "escapedName": "@octokit%2fopenapi-types", + "scope": "@octokit", + "rawSpec": "11.2.0", + "saveSpec": null, + "fetchSpec": "11.2.0" + }, + "_requiredBy": [ + "/@octokit/types" + ], + "_resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-11.2.0.tgz", + "_spec": "11.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Gregor Martynus", + "url": "https://twitter.com/gr2m" + }, + "bugs": { + "url": "https://github.com/octokit/openapi-types.ts/issues" + }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", - "repository": { - "type": "git", - "url": "https://github.com/octokit/openapi-types.ts.git", - "directory": "packages/openapi-types" + "homepage": "https://github.com/octokit/openapi-types.ts#readme", + "license": "MIT", + "main": "", + "name": "@octokit/openapi-types", + "octokit": { + "openapi-version": "5.9.0" }, "publishConfig": { "access": "public" }, - "version": "11.2.0", - "main": "", + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/openapi-types.ts.git", + "directory": "packages/openapi-types" + }, "types": "types.d.ts", - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "license": "MIT", - "octokit": { - "openapi-version": "5.9.0" - } + "version": "11.2.0" } diff --git a/node_modules/@octokit/plugin-paginate-rest/package.json b/node_modules/@octokit/plugin-paginate-rest/package.json index 52d2162ee..24f1431f0 100644 --- a/node_modules/@octokit/plugin-paginate-rest/package.json +++ b/node_modules/@octokit/plugin-paginate-rest/package.json @@ -1,27 +1,40 @@ { - "name": "@octokit/plugin-paginate-rest", - "description": "Octokit plugin to paginate REST API endpoint responses", - "version": "2.17.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/plugin-paginate-rest@2.17.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit" + "_from": "@octokit/plugin-paginate-rest@2.17.0", + "_id": "@octokit/plugin-paginate-rest@2.17.0", + "_inBundle": false, + "_integrity": "sha512-tzMbrbnam2Mt4AhuyCHvpRkS0oZ5MvwwcQPYGtMv4tUa5kkzG58SVB0fcsLulOZQeRnOgdkZWkRUiyBlh0Bkyw==", + "_location": "/@octokit/plugin-paginate-rest", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/plugin-paginate-rest@2.17.0", + "name": "@octokit/plugin-paginate-rest", + "escapedName": "@octokit%2fplugin-paginate-rest", + "scope": "@octokit", + "rawSpec": "2.17.0", + "saveSpec": null, + "fetchSpec": "2.17.0" + }, + "_requiredBy": [ + "/@actions/github" ], - "repository": "github:octokit/plugin-paginate-rest.js", + "_resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.17.0.tgz", + "_spec": "2.17.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/plugin-paginate-rest.js/issues" + }, "dependencies": { "@octokit/types": "^6.34.0" }, - "peerDependencies": { - "@octokit/core": ">=2" - }, + "description": "Octokit plugin to paginate REST API endpoint responses", "devDependencies": { "@octokit/core": "^3.0.0", "@octokit/plugin-rest-endpoint-methods": "^5.0.0", @@ -42,11 +55,34 @@ "ts-jest": "^27.0.0-next.12", "typescript": "^4.0.2" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/plugin-paginate-rest.js#readme", + "keywords": [ + "github", + "api", + "sdk", + "toolkit" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/plugin-paginate-rest", + "peerDependencies": { + "@octokit/core": ">=2" + }, + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/plugin-paginate-rest.js.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "2.17.0" } diff --git a/node_modules/@octokit/plugin-rest-endpoint-methods/package.json b/node_modules/@octokit/plugin-rest-endpoint-methods/package.json index eb2367528..f92575a29 100644 --- a/node_modules/@octokit/plugin-rest-endpoint-methods/package.json +++ b/node_modules/@octokit/plugin-rest-endpoint-methods/package.json @@ -1,28 +1,41 @@ { - "name": "@octokit/plugin-rest-endpoint-methods", - "description": "Octokit plugin adding one method for all of api.github.com REST API endpoints", - "version": "5.13.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/plugin-rest-endpoint-methods@5.13.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit" + "_from": "@octokit/plugin-rest-endpoint-methods@5.13.0", + "_id": "@octokit/plugin-rest-endpoint-methods@5.13.0", + "_inBundle": false, + "_integrity": "sha512-uJjMTkN1KaOIgNtUPMtIXDOjx6dGYysdIFhgA52x4xSadQCz3b/zJexvITDVpANnfKPW/+E0xkOvLntqMYpviA==", + "_location": "/@octokit/plugin-rest-endpoint-methods", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/plugin-rest-endpoint-methods@5.13.0", + "name": "@octokit/plugin-rest-endpoint-methods", + "escapedName": "@octokit%2fplugin-rest-endpoint-methods", + "scope": "@octokit", + "rawSpec": "5.13.0", + "saveSpec": null, + "fetchSpec": "5.13.0" + }, + "_requiredBy": [ + "/@actions/github" ], - "repository": "github:octokit/plugin-rest-endpoint-methods.js", + "_resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.13.0.tgz", + "_spec": "5.13.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/plugin-rest-endpoint-methods.js/issues" + }, "dependencies": { "@octokit/types": "^6.34.0", "deprecation": "^2.3.1" }, - "peerDependencies": { - "@octokit/core": ">=3" - }, + "description": "Octokit plugin adding one method for all of api.github.com REST API endpoints", "devDependencies": { "@gimenete/type-writer": "^0.1.5", "@octokit/core": "^3.0.0", @@ -50,11 +63,34 @@ "ts-jest": "^27.0.0-next.12", "typescript": "^4.0.2" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/plugin-rest-endpoint-methods.js#readme", + "keywords": [ + "github", + "api", + "sdk", + "toolkit" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/plugin-rest-endpoint-methods", + "peerDependencies": { + "@octokit/core": ">=3" + }, + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/plugin-rest-endpoint-methods.js.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "5.13.0" } diff --git a/node_modules/@octokit/request-error/package.json b/node_modules/@octokit/request-error/package.json index 2f5b23942..f2dc40965 100644 --- a/node_modules/@octokit/request-error/package.json +++ b/node_modules/@octokit/request-error/package.json @@ -1,26 +1,43 @@ { - "name": "@octokit/request-error", - "description": "Error class for Octokit request errors", - "version": "2.1.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/request-error@2.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "error" + "_from": "@octokit/request-error@2.1.0", + "_id": "@octokit/request-error@2.1.0", + "_inBundle": false, + "_integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", + "_location": "/@octokit/request-error", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/request-error@2.1.0", + "name": "@octokit/request-error", + "escapedName": "@octokit%2frequest-error", + "scope": "@octokit", + "rawSpec": "2.1.0", + "saveSpec": null, + "fetchSpec": "2.1.0" + }, + "_requiredBy": [ + "/@octokit/core", + "/@octokit/request" ], - "repository": "github:octokit/request-error.js", + "_resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", + "_spec": "2.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/request-error.js/issues" + }, "dependencies": { "@octokit/types": "^6.0.3", "deprecation": "^2.0.0", "once": "^1.4.0" }, + "description": "Error class for Octokit request errors", "devDependencies": { "@pika/pack": "^0.5.0", "@pika/plugin-build-node": "^0.9.0", @@ -37,11 +54,31 @@ "ts-jest": "^27.0.0-next.12", "typescript": "^4.0.0" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/request-error.js#readme", + "keywords": [ + "octokit", + "github", + "api", + "error" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/request-error", + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/request-error.js.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "2.1.0" } diff --git a/node_modules/@octokit/request/package.json b/node_modules/@octokit/request/package.json index 682c734d4..2d2ee1f78 100644 --- a/node_modules/@octokit/request/package.json +++ b/node_modules/@octokit/request/package.json @@ -1,21 +1,37 @@ { - "name": "@octokit/request", - "description": "Send parameterized requests to GitHub's APIs with sensible defaults in browsers and Node", - "version": "5.6.2", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/request@5.6.2", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "octokit", - "github", - "api", - "request" + "_from": "@octokit/request@5.6.2", + "_id": "@octokit/request@5.6.2", + "_inBundle": false, + "_integrity": "sha512-je66CvSEVf0jCpRISxkUcCa0UkxmFs6eGDRSbfJtAVwbLH5ceqF+YEyC8lj8ystKyZTy8adWr0qmkY52EfOeLA==", + "_location": "/@octokit/request", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/request@5.6.2", + "name": "@octokit/request", + "escapedName": "@octokit%2frequest", + "scope": "@octokit", + "rawSpec": "5.6.2", + "saveSpec": null, + "fetchSpec": "5.6.2" + }, + "_requiredBy": [ + "/@octokit/core", + "/@octokit/graphql" ], - "repository": "github:octokit/request.js", + "_resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.2.tgz", + "_spec": "5.6.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/request.js/issues" + }, "dependencies": { "@octokit/endpoint": "^6.0.1", "@octokit/request-error": "^2.1.0", @@ -24,6 +40,7 @@ "node-fetch": "^2.6.1", "universal-user-agent": "^6.0.0" }, + "description": "Send parameterized requests to GitHub's APIs with sensible defaults in browsers and Node", "devDependencies": { "@octokit/auth-app": "^3.0.0", "@pika/pack": "^0.5.0", @@ -45,11 +62,31 @@ "ts-jest": "^27.0.0", "typescript": "^4.0.2" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/request.js#readme", + "keywords": [ + "octokit", + "github", + "api", + "request" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/request", + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/request.js.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "5.6.2" } diff --git a/node_modules/@octokit/types/package.json b/node_modules/@octokit/types/package.json index 1c8d14a83..0d7b93432 100644 --- a/node_modules/@octokit/types/package.json +++ b/node_modules/@octokit/types/package.json @@ -1,25 +1,47 @@ { - "name": "@octokit/types", - "description": "Shared TypeScript definitions for Octokit projects", - "version": "6.34.0", - "license": "MIT", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "@octokit/types@6.34.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [ - "github", - "api", - "sdk", - "toolkit", - "typescript" + "_from": "@octokit/types@6.34.0", + "_id": "@octokit/types@6.34.0", + "_inBundle": false, + "_integrity": "sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==", + "_location": "/@octokit/types", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@octokit/types@6.34.0", + "name": "@octokit/types", + "escapedName": "@octokit%2ftypes", + "scope": "@octokit", + "rawSpec": "6.34.0", + "saveSpec": null, + "fetchSpec": "6.34.0" + }, + "_requiredBy": [ + "/@octokit/auth-token", + "/@octokit/core", + "/@octokit/endpoint", + "/@octokit/graphql", + "/@octokit/plugin-paginate-rest", + "/@octokit/plugin-rest-endpoint-methods", + "/@octokit/request", + "/@octokit/request-error" ], - "repository": "github:octokit/types.ts", + "_resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.34.0.tgz", + "_spec": "6.34.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/octokit/types.ts/issues" + }, "dependencies": { "@octokit/openapi-types": "^11.2.0" }, + "description": "Shared TypeScript definitions for Octokit projects", "devDependencies": { "@pika/pack": "^0.5.0", "@pika/plugin-build-node": "^0.9.0", @@ -41,14 +63,35 @@ "typedoc": "^0.21.0", "typescript": "^4.0.2" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/octokit/types.ts#readme", + "keywords": [ + "github", + "api", + "sdk", + "toolkit", + "typescript" + ], + "license": "MIT", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "@octokit/types", + "octokit": { + "openapi-version": "5.9.0" + }, + "pika": true, "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "git+https://github.com/octokit/types.ts.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "octokit": { - "openapi-version": "5.9.0" - }, - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "6.34.0" } diff --git a/node_modules/@sentry/core/LICENSE b/node_modules/@sentry/core/LICENSE new file mode 100644 index 000000000..8b42db873 --- /dev/null +++ b/node_modules/@sentry/core/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Sentry +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@sentry/core/README.md b/node_modules/@sentry/core/README.md new file mode 100644 index 000000000..b228fc669 --- /dev/null +++ b/node_modules/@sentry/core/README.md @@ -0,0 +1,25 @@ +

+ + + +
+

+ +# Sentry JavaScript SDK Core + +[![npm version](https://img.shields.io/npm/v/@sentry/core.svg)](https://www.npmjs.com/package/@sentry/core) +[![npm dm](https://img.shields.io/npm/dm/@sentry/core.svg)](https://www.npmjs.com/package/@sentry/core) +[![npm dt](https://img.shields.io/npm/dt/@sentry/core.svg)](https://www.npmjs.com/package/@sentry/core) +[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/) + +## Links + +- [Official SDK Docs](https://docs.sentry.io/quickstart/) +- [TypeDoc](http://getsentry.github.io/sentry-javascript/) + +## General + +This package contains interface definitions, base classes and utilities for building Sentry JavaScript SDKs, like +`@sentry/node` or `@sentry/browser`. + +Please consider all classes and exported functions and interfaces `internal`. diff --git a/node_modules/@sentry/core/dist/api.d.ts b/node_modules/@sentry/core/dist/api.d.ts new file mode 100644 index 000000000..31182d622 --- /dev/null +++ b/node_modules/@sentry/core/dist/api.d.ts @@ -0,0 +1,83 @@ +import { DsnComponents, DsnLike, SdkMetadata } from '@sentry/types'; +/** + * Stores details about a Sentry SDK + */ +export interface APIDetails { + /** The DSN as passed to Sentry.init() */ + initDsn: DsnLike; + /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */ + metadata: SdkMetadata; + /** The internally used Dsn object. */ + readonly dsn: DsnComponents; + /** The envelope tunnel to use. */ + readonly tunnel?: string; +} +/** + * Helper class to provide urls, headers and metadata that can be used to form + * different types of requests to Sentry endpoints. + * Supports both envelopes and regular event requests. + * + * @deprecated Please use APIDetails + **/ +export declare class API { + /** The DSN as passed to Sentry.init() */ + dsn: DsnLike; + /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */ + metadata: SdkMetadata; + /** The internally used Dsn object. */ + private readonly _dsnObject; + /** The envelope tunnel to use. */ + private readonly _tunnel?; + /** Create a new instance of API */ + constructor(dsn: DsnLike, metadata?: SdkMetadata, tunnel?: string); + /** Returns the Dsn object. */ + getDsn(): DsnComponents; + /** Does this transport force envelopes? */ + forceEnvelope(): boolean; + /** Returns the prefix to construct Sentry ingestion API endpoints. */ + getBaseApiEndpoint(): string; + /** Returns the store endpoint URL. */ + getStoreEndpoint(): string; + /** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + getStoreEndpointWithUrlEncodedAuth(): string; + /** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + getEnvelopeEndpointWithUrlEncodedAuth(): string; +} +/** Initializes API Details */ +export declare function initAPIDetails(dsn: DsnLike, metadata?: SdkMetadata, tunnel?: string): APIDetails; +/** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ +export declare function getStoreEndpointWithUrlEncodedAuth(dsn: DsnComponents): string; +/** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ +export declare function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string): string; +/** + * Returns an object that can be used in request headers. + * This is needed for node and the old /store endpoint in sentry + */ +export declare function getRequestHeaders(dsn: DsnComponents, clientName: string, clientVersion: string): { + [key: string]: string; +}; +/** Returns the url to the report dialog endpoint. */ +export declare function getReportDialogEndpoint(dsnLike: DsnLike, dialogOptions: { + [key: string]: any; + user?: { + name?: string; + email?: string; + }; +}): string; +//# sourceMappingURL=api.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/api.d.ts.map b/node_modules/@sentry/core/dist/api.d.ts.map new file mode 100644 index 000000000..db35010b9 --- /dev/null +++ b/node_modules/@sentry/core/dist/api.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKpE;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,oFAAoF;IACpF,QAAQ,EAAE,WAAW,CAAC;IACtB,sCAAsC;IACtC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;IAC5B,kCAAkC;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;IAMI;AACJ,qBAAa,GAAG;IACd,yCAAyC;IAClC,GAAG,EAAE,OAAO,CAAC;IAEpB,oFAAoF;IAC7E,QAAQ,EAAE,WAAW,CAAC;IAE7B,sCAAsC;IACtC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;IAE3C,kCAAkC;IAClC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAS;IAElC,mCAAmC;gBAChB,GAAG,EAAE,OAAO,EAAE,QAAQ,GAAE,WAAgB,EAAE,MAAM,CAAC,EAAE,MAAM;IAO5E,8BAA8B;IACvB,MAAM,IAAI,aAAa;IAI9B,2CAA2C;IACpC,aAAa,IAAI,OAAO;IAI/B,sEAAsE;IAC/D,kBAAkB,IAAI,MAAM;IAInC,sCAAsC;IAC/B,gBAAgB,IAAI,MAAM;IAIjC;;;;OAIG;IACI,kCAAkC,IAAI,MAAM;IAInD;;;;OAIG;IACI,qCAAqC,IAAI,MAAM;CAGvD;AAED,8BAA8B;AAC9B,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAOhG;AA6BD;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAE7E;AAOD;;;;GAIG;AACH,wBAAgB,qCAAqC,CAAC,GAAG,EAAE,aAAa,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEjG;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,aAAa,EAClB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,GACpB;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAY3B;AAED,qDAAqD;AACrD,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE;IAEb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,IAAI,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC1C,GACA,MAAM,CA0BR"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/api.js b/node_modules/@sentry/core/dist/api.js new file mode 100644 index 000000000..eff149a58 --- /dev/null +++ b/node_modules/@sentry/core/dist/api.js @@ -0,0 +1,155 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var SENTRY_API_VERSION = '7'; +/** + * Helper class to provide urls, headers and metadata that can be used to form + * different types of requests to Sentry endpoints. + * Supports both envelopes and regular event requests. + * + * @deprecated Please use APIDetails + **/ +var API = /** @class */ (function () { + /** Create a new instance of API */ + function API(dsn, metadata, tunnel) { + if (metadata === void 0) { metadata = {}; } + this.dsn = dsn; + this._dsnObject = utils_1.makeDsn(dsn); + this.metadata = metadata; + this._tunnel = tunnel; + } + /** Returns the Dsn object. */ + API.prototype.getDsn = function () { + return this._dsnObject; + }; + /** Does this transport force envelopes? */ + API.prototype.forceEnvelope = function () { + return !!this._tunnel; + }; + /** Returns the prefix to construct Sentry ingestion API endpoints. */ + API.prototype.getBaseApiEndpoint = function () { + return getBaseApiEndpoint(this._dsnObject); + }; + /** Returns the store endpoint URL. */ + API.prototype.getStoreEndpoint = function () { + return getStoreEndpoint(this._dsnObject); + }; + /** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + API.prototype.getStoreEndpointWithUrlEncodedAuth = function () { + return getStoreEndpointWithUrlEncodedAuth(this._dsnObject); + }; + /** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + API.prototype.getEnvelopeEndpointWithUrlEncodedAuth = function () { + return getEnvelopeEndpointWithUrlEncodedAuth(this._dsnObject, this._tunnel); + }; + return API; +}()); +exports.API = API; +/** Initializes API Details */ +function initAPIDetails(dsn, metadata, tunnel) { + return { + initDsn: dsn, + metadata: metadata || {}, + dsn: utils_1.makeDsn(dsn), + tunnel: tunnel, + }; +} +exports.initAPIDetails = initAPIDetails; +/** Returns the prefix to construct Sentry ingestion API endpoints. */ +function getBaseApiEndpoint(dsn) { + var protocol = dsn.protocol ? dsn.protocol + ":" : ''; + var port = dsn.port ? ":" + dsn.port : ''; + return protocol + "//" + dsn.host + port + (dsn.path ? "/" + dsn.path : '') + "/api/"; +} +/** Returns the ingest API endpoint for target. */ +function _getIngestEndpoint(dsn, target) { + return "" + getBaseApiEndpoint(dsn) + dsn.projectId + "/" + target + "/"; +} +/** Returns a URL-encoded string with auth config suitable for a query string. */ +function _encodedAuth(dsn) { + return utils_1.urlEncode({ + // We send only the minimum set of required information. See + // https://github.com/getsentry/sentry-javascript/issues/2572. + sentry_key: dsn.publicKey, + sentry_version: SENTRY_API_VERSION, + }); +} +/** Returns the store endpoint URL. */ +function getStoreEndpoint(dsn) { + return _getIngestEndpoint(dsn, 'store'); +} +/** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ +function getStoreEndpointWithUrlEncodedAuth(dsn) { + return getStoreEndpoint(dsn) + "?" + _encodedAuth(dsn); +} +exports.getStoreEndpointWithUrlEncodedAuth = getStoreEndpointWithUrlEncodedAuth; +/** Returns the envelope endpoint URL. */ +function _getEnvelopeEndpoint(dsn) { + return _getIngestEndpoint(dsn, 'envelope'); +} +/** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ +function getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnel) { + return tunnel ? tunnel : _getEnvelopeEndpoint(dsn) + "?" + _encodedAuth(dsn); +} +exports.getEnvelopeEndpointWithUrlEncodedAuth = getEnvelopeEndpointWithUrlEncodedAuth; +/** + * Returns an object that can be used in request headers. + * This is needed for node and the old /store endpoint in sentry + */ +function getRequestHeaders(dsn, clientName, clientVersion) { + // CHANGE THIS to use metadata but keep clientName and clientVersion compatible + var header = ["Sentry sentry_version=" + SENTRY_API_VERSION]; + header.push("sentry_client=" + clientName + "/" + clientVersion); + header.push("sentry_key=" + dsn.publicKey); + if (dsn.pass) { + header.push("sentry_secret=" + dsn.pass); + } + return { + 'Content-Type': 'application/json', + 'X-Sentry-Auth': header.join(', '), + }; +} +exports.getRequestHeaders = getRequestHeaders; +/** Returns the url to the report dialog endpoint. */ +function getReportDialogEndpoint(dsnLike, dialogOptions) { + var dsn = utils_1.makeDsn(dsnLike); + var endpoint = getBaseApiEndpoint(dsn) + "embed/error-page/"; + var encodedOptions = "dsn=" + utils_1.dsnToString(dsn); + for (var key in dialogOptions) { + if (key === 'dsn') { + continue; + } + if (key === 'user') { + if (!dialogOptions.user) { + continue; + } + if (dialogOptions.user.name) { + encodedOptions += "&name=" + encodeURIComponent(dialogOptions.user.name); + } + if (dialogOptions.user.email) { + encodedOptions += "&email=" + encodeURIComponent(dialogOptions.user.email); + } + } + else { + encodedOptions += "&" + encodeURIComponent(key) + "=" + encodeURIComponent(dialogOptions[key]); + } + } + return endpoint + "?" + encodedOptions; +} +exports.getReportDialogEndpoint = getReportDialogEndpoint; +//# sourceMappingURL=api.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/api.js.map b/node_modules/@sentry/core/dist/api.js.map new file mode 100644 index 000000000..8a398889f --- /dev/null +++ b/node_modules/@sentry/core/dist/api.js.map @@ -0,0 +1 @@ +{"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"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","sourcesContent":["import { DsnComponents, DsnLike, SdkMetadata } from '@sentry/types';\nimport { dsnToString, makeDsn, urlEncode } from '@sentry/utils';\n\nconst SENTRY_API_VERSION = '7';\n\n/**\n * Stores details about a Sentry SDK\n */\nexport interface APIDetails {\n /** The DSN as passed to Sentry.init() */\n initDsn: DsnLike;\n /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */\n metadata: SdkMetadata;\n /** The internally used Dsn object. */\n readonly dsn: DsnComponents;\n /** The envelope tunnel to use. */\n readonly tunnel?: string;\n}\n\n/**\n * Helper class to provide urls, headers and metadata that can be used to form\n * different types of requests to Sentry endpoints.\n * Supports both envelopes and regular event requests.\n *\n * @deprecated Please use APIDetails\n **/\nexport class API {\n /** The DSN as passed to Sentry.init() */\n public dsn: DsnLike;\n\n /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */\n public metadata: SdkMetadata;\n\n /** The internally used Dsn object. */\n private readonly _dsnObject: DsnComponents;\n\n /** The envelope tunnel to use. */\n private readonly _tunnel?: string;\n\n /** Create a new instance of API */\n public constructor(dsn: DsnLike, metadata: SdkMetadata = {}, tunnel?: string) {\n this.dsn = dsn;\n this._dsnObject = makeDsn(dsn);\n this.metadata = metadata;\n this._tunnel = tunnel;\n }\n\n /** Returns the Dsn object. */\n public getDsn(): DsnComponents {\n return this._dsnObject;\n }\n\n /** Does this transport force envelopes? */\n public forceEnvelope(): boolean {\n return !!this._tunnel;\n }\n\n /** Returns the prefix to construct Sentry ingestion API endpoints. */\n public getBaseApiEndpoint(): string {\n return getBaseApiEndpoint(this._dsnObject);\n }\n\n /** Returns the store endpoint URL. */\n public getStoreEndpoint(): string {\n return getStoreEndpoint(this._dsnObject);\n }\n\n /**\n * Returns the store endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n public getStoreEndpointWithUrlEncodedAuth(): string {\n return getStoreEndpointWithUrlEncodedAuth(this._dsnObject);\n }\n\n /**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n public getEnvelopeEndpointWithUrlEncodedAuth(): string {\n return getEnvelopeEndpointWithUrlEncodedAuth(this._dsnObject, this._tunnel);\n }\n}\n\n/** Initializes API Details */\nexport function initAPIDetails(dsn: DsnLike, metadata?: SdkMetadata, tunnel?: string): APIDetails {\n return {\n initDsn: dsn,\n metadata: metadata || {},\n dsn: makeDsn(dsn),\n tunnel,\n } as APIDetails;\n}\n\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\nfunction getBaseApiEndpoint(dsn: DsnComponents): string {\n const protocol = dsn.protocol ? `${dsn.protocol}:` : '';\n const port = dsn.port ? `:${dsn.port}` : '';\n return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : ''}/api/`;\n}\n\n/** Returns the ingest API endpoint for target. */\nfunction _getIngestEndpoint(dsn: DsnComponents, target: 'store' | 'envelope'): string {\n return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/${target}/`;\n}\n\n/** Returns a URL-encoded string with auth config suitable for a query string. */\nfunction _encodedAuth(dsn: DsnComponents): string {\n return urlEncode({\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n sentry_key: dsn.publicKey,\n sentry_version: SENTRY_API_VERSION,\n });\n}\n\n/** Returns the store endpoint URL. */\nfunction getStoreEndpoint(dsn: DsnComponents): string {\n return _getIngestEndpoint(dsn, 'store');\n}\n\n/**\n * Returns the store endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getStoreEndpointWithUrlEncodedAuth(dsn: DsnComponents): string {\n return `${getStoreEndpoint(dsn)}?${_encodedAuth(dsn)}`;\n}\n\n/** Returns the envelope endpoint URL. */\nfunction _getEnvelopeEndpoint(dsn: DsnComponents): string {\n return _getIngestEndpoint(dsn, 'envelope');\n}\n\n/**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string): string {\n return tunnel ? tunnel : `${_getEnvelopeEndpoint(dsn)}?${_encodedAuth(dsn)}`;\n}\n\n/**\n * Returns an object that can be used in request headers.\n * This is needed for node and the old /store endpoint in sentry\n */\nexport function getRequestHeaders(\n dsn: DsnComponents,\n clientName: string,\n clientVersion: string,\n): { [key: string]: string } {\n // CHANGE THIS to use metadata but keep clientName and clientVersion compatible\n const header = [`Sentry sentry_version=${SENTRY_API_VERSION}`];\n header.push(`sentry_client=${clientName}/${clientVersion}`);\n header.push(`sentry_key=${dsn.publicKey}`);\n if (dsn.pass) {\n header.push(`sentry_secret=${dsn.pass}`);\n }\n return {\n 'Content-Type': 'application/json',\n 'X-Sentry-Auth': header.join(', '),\n };\n}\n\n/** Returns the url to the report dialog endpoint. */\nexport function getReportDialogEndpoint(\n dsnLike: DsnLike,\n dialogOptions: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n user?: { name?: string; email?: string };\n },\n): string {\n const dsn = makeDsn(dsnLike);\n const endpoint = `${getBaseApiEndpoint(dsn)}embed/error-page/`;\n\n let encodedOptions = `dsn=${dsnToString(dsn)}`;\n for (const key in dialogOptions) {\n if (key === 'dsn') {\n continue;\n }\n\n if (key === 'user') {\n if (!dialogOptions.user) {\n continue;\n }\n if (dialogOptions.user.name) {\n encodedOptions += `&name=${encodeURIComponent(dialogOptions.user.name)}`;\n }\n if (dialogOptions.user.email) {\n encodedOptions += `&email=${encodeURIComponent(dialogOptions.user.email)}`;\n }\n } else {\n encodedOptions += `&${encodeURIComponent(key)}=${encodeURIComponent(dialogOptions[key] as string)}`;\n }\n }\n\n return `${endpoint}?${encodedOptions}`;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/basebackend.d.ts b/node_modules/@sentry/core/dist/basebackend.d.ts new file mode 100644 index 000000000..ef3403ee8 --- /dev/null +++ b/node_modules/@sentry/core/dist/basebackend.d.ts @@ -0,0 +1,80 @@ +import { Event, EventHint, Options, Session, Severity, Transport } from '@sentry/types'; +/** + * Internal platform-dependent Sentry SDK Backend. + * + * While {@link Client} contains business logic specific to an SDK, the + * Backend offers platform specific implementations for low-level operations. + * These are persisting and loading information, sending events, and hooking + * into the environment. + * + * Backends receive a handle to the Client in their constructor. When a + * Backend automatically generates events, it must pass them to + * the Client for validation and processing first. + * + * Usually, the Client will be of corresponding type, e.g. NodeBackend + * receives NodeClient. However, higher-level SDKs can choose to instantiate + * multiple Backends and delegate tasks between them. In this case, an event + * generated by one backend might very well be sent by another one. + * + * The client also provides access to options via {@link Client.getOptions}. + * @hidden + */ +export interface Backend { + /** Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`. */ + eventFromException(exception: any, hint?: EventHint): PromiseLike; + /** Creates an {@link Event} from primitive inputs to `captureMessage`. */ + eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike; + /** Submits the event to Sentry */ + sendEvent(event: Event): void; + /** Submits the session to Sentry */ + sendSession(session: Session): void; + /** + * Returns the transport that is used by the backend. + * Please note that the transport gets lazy initialized so it will only be there once the first event has been sent. + * + * @returns The transport. + */ + getTransport(): Transport; +} +/** + * A class object that can instantiate Backend objects. + * @hidden + */ +export declare type BackendClass = new (options: O) => B; +/** + * This is the base implemention of a Backend. + * @hidden + */ +export declare abstract class BaseBackend implements Backend { + /** Options passed to the SDK. */ + protected readonly _options: O; + /** Cached transport used internally. */ + protected _transport: Transport; + /** Creates a new backend instance. */ + constructor(options: O); + /** + * @inheritDoc + */ + eventFromException(_exception: any, _hint?: EventHint): PromiseLike; + /** + * @inheritDoc + */ + eventFromMessage(_message: string, _level?: Severity, _hint?: EventHint): PromiseLike; + /** + * @inheritDoc + */ + sendEvent(event: Event): void; + /** + * @inheritDoc + */ + sendSession(session: Session): void; + /** + * @inheritDoc + */ + getTransport(): Transport; + /** + * Sets up the transport so it can be used later to send requests. + */ + protected _setupTransport(): Transport; +} +//# sourceMappingURL=basebackend.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/basebackend.d.ts.map b/node_modules/@sentry/core/dist/basebackend.d.ts.map new file mode 100644 index 000000000..04a31526d --- /dev/null +++ b/node_modules/@sentry/core/dist/basebackend.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"basebackend.d.ts","sourceRoot":"","sources":["../src/basebackend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAKxF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,OAAO;IACtB,mHAAmH;IAEnH,kBAAkB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IAEzE,0EAA0E;IAC1E,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IAE1F,kCAAkC;IAClC,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAE9B,oCAAoC;IACpC,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,YAAY,IAAI,SAAS,CAAC;CAC3B;AAED;;;GAGG;AACH,oBAAY,YAAY,CAAC,CAAC,SAAS,OAAO,EAAE,CAAC,SAAS,OAAO,IAAI,KAAK,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;AAEvF;;;GAGG;AACH,8BAAsB,WAAW,CAAC,CAAC,SAAS,OAAO,CAAE,YAAW,OAAO;IACrE,iCAAiC;IACjC,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IAE/B,wCAAwC;IACxC,SAAS,CAAC,UAAU,EAAE,SAAS,CAAC;IAEhC,sCAAsC;gBACnB,OAAO,EAAE,CAAC;IAQ7B;;OAEG;IAEI,kBAAkB,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAIjF;;OAEG;IACI,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAInG;;OAEG;IACI,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAQpC;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAe1C;;OAEG;IACI,YAAY,IAAI,SAAS;IAIhC;;OAEG;IACH,SAAS,CAAC,eAAe,IAAI,SAAS;CAGvC"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/basebackend.js b/node_modules/@sentry/core/dist/basebackend.js new file mode 100644 index 000000000..a1c5180e8 --- /dev/null +++ b/node_modules/@sentry/core/dist/basebackend.js @@ -0,0 +1,71 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var noop_1 = require("./transports/noop"); +/** + * This is the base implemention of a Backend. + * @hidden + */ +var BaseBackend = /** @class */ (function () { + /** Creates a new backend instance. */ + function BaseBackend(options) { + this._options = options; + if (!this._options.dsn) { + utils_1.logger.warn('No DSN provided, backend will not do anything.'); + } + this._transport = this._setupTransport(); + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + BaseBackend.prototype.eventFromException = function (_exception, _hint) { + throw new utils_1.SentryError('Backend has to implement `eventFromException` method'); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.eventFromMessage = function (_message, _level, _hint) { + throw new utils_1.SentryError('Backend has to implement `eventFromMessage` method'); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.sendEvent = function (event) { + void this._transport.sendEvent(event).then(null, function (reason) { + if (utils_1.isDebugBuild()) { + utils_1.logger.error("Error while sending event: " + reason); + } + }); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.sendSession = function (session) { + if (!this._transport.sendSession) { + if (utils_1.isDebugBuild()) { + utils_1.logger.warn("Dropping session because custom transport doesn't implement sendSession"); + } + return; + } + void this._transport.sendSession(session).then(null, function (reason) { + if (utils_1.isDebugBuild()) { + utils_1.logger.error("Error while sending session: " + reason); + } + }); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.getTransport = function () { + return this._transport; + }; + /** + * Sets up the transport so it can be used later to send requests. + */ + BaseBackend.prototype._setupTransport = function () { + return new noop_1.NoopTransport(); + }; + return BaseBackend; +}()); +exports.BaseBackend = BaseBackend; +//# sourceMappingURL=basebackend.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/basebackend.js.map b/node_modules/@sentry/core/dist/basebackend.js.map new file mode 100644 index 000000000..dd32a5689 --- /dev/null +++ b/node_modules/@sentry/core/dist/basebackend.js.map @@ -0,0 +1 @@ +{"version":3,"file":"basebackend.js","sourceRoot":"","sources":["../src/basebackend.ts"],"names":[],"mappings":";AACA,uCAAkE;AAElE,0CAAkD;AAmDlD;;;GAGG;AACH;IAOE,sCAAsC;IACtC,qBAAmB,OAAU;QAC3B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;YACtB,cAAM,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC;SAC/D;QACD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;IAC3C,CAAC;IAED;;OAEG;IACH,iHAAiH;IAC1G,wCAAkB,GAAzB,UAA0B,UAAe,EAAE,KAAiB;QAC1D,MAAM,IAAI,mBAAW,CAAC,sDAAsD,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACI,sCAAgB,GAAvB,UAAwB,QAAgB,EAAE,MAAiB,EAAE,KAAiB;QAC5E,MAAM,IAAI,mBAAW,CAAC,oDAAoD,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACI,+BAAS,GAAhB,UAAiB,KAAY;QAC3B,KAAK,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,UAAA,MAAM;YACrD,IAAI,oBAAY,EAAE,EAAE;gBAClB,cAAM,CAAC,KAAK,CAAC,gCAA8B,MAAQ,CAAC,CAAC;aACtD;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACI,iCAAW,GAAlB,UAAmB,OAAgB;QACjC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE;YAChC,IAAI,oBAAY,EAAE,EAAE;gBAClB,cAAM,CAAC,IAAI,CAAC,yEAAyE,CAAC,CAAC;aACxF;YACD,OAAO;SACR;QAED,KAAK,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,UAAA,MAAM;YACzD,IAAI,oBAAY,EAAE,EAAE;gBAClB,cAAM,CAAC,KAAK,CAAC,kCAAgC,MAAQ,CAAC,CAAC;aACxD;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACI,kCAAY,GAAnB;QACE,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACO,qCAAe,GAAzB;QACE,OAAO,IAAI,oBAAa,EAAE,CAAC;IAC7B,CAAC;IACH,kBAAC;AAAD,CAAC,AAzED,IAyEC;AAzEqB,kCAAW","sourcesContent":["import { Event, EventHint, Options, Session, Severity, Transport } from '@sentry/types';\nimport { isDebugBuild, logger, SentryError } from '@sentry/utils';\n\nimport { NoopTransport } from './transports/noop';\n\n/**\n * Internal platform-dependent Sentry SDK Backend.\n *\n * While {@link Client} contains business logic specific to an SDK, the\n * Backend offers platform specific implementations for low-level operations.\n * These are persisting and loading information, sending events, and hooking\n * into the environment.\n *\n * Backends receive a handle to the Client in their constructor. When a\n * Backend automatically generates events, it must pass them to\n * the Client for validation and processing first.\n *\n * Usually, the Client will be of corresponding type, e.g. NodeBackend\n * receives NodeClient. However, higher-level SDKs can choose to instantiate\n * multiple Backends and delegate tasks between them. In this case, an event\n * generated by one backend might very well be sent by another one.\n *\n * The client also provides access to options via {@link Client.getOptions}.\n * @hidden\n */\nexport interface Backend {\n /** Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n eventFromException(exception: any, hint?: EventHint): PromiseLike;\n\n /** Creates an {@link Event} from primitive inputs to `captureMessage`. */\n eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike;\n\n /** Submits the event to Sentry */\n sendEvent(event: Event): void;\n\n /** Submits the session to Sentry */\n sendSession(session: Session): void;\n\n /**\n * Returns the transport that is used by the backend.\n * Please note that the transport gets lazy initialized so it will only be there once the first event has been sent.\n *\n * @returns The transport.\n */\n getTransport(): Transport;\n}\n\n/**\n * A class object that can instantiate Backend objects.\n * @hidden\n */\nexport type BackendClass = new (options: O) => B;\n\n/**\n * This is the base implemention of a Backend.\n * @hidden\n */\nexport abstract class BaseBackend implements Backend {\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** Cached transport used internally. */\n protected _transport: Transport;\n\n /** Creates a new backend instance. */\n public constructor(options: O) {\n this._options = options;\n if (!this._options.dsn) {\n logger.warn('No DSN provided, backend will not do anything.');\n }\n this._transport = this._setupTransport();\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public eventFromException(_exception: any, _hint?: EventHint): PromiseLike {\n throw new SentryError('Backend has to implement `eventFromException` method');\n }\n\n /**\n * @inheritDoc\n */\n public eventFromMessage(_message: string, _level?: Severity, _hint?: EventHint): PromiseLike {\n throw new SentryError('Backend has to implement `eventFromMessage` method');\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): void {\n void this._transport.sendEvent(event).then(null, reason => {\n if (isDebugBuild()) {\n logger.error(`Error while sending event: ${reason}`);\n }\n });\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session): void {\n if (!this._transport.sendSession) {\n if (isDebugBuild()) {\n logger.warn(\"Dropping session because custom transport doesn't implement sendSession\");\n }\n return;\n }\n\n void this._transport.sendSession(session).then(null, reason => {\n if (isDebugBuild()) {\n logger.error(`Error while sending session: ${reason}`);\n }\n });\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport {\n return this._transport;\n }\n\n /**\n * Sets up the transport so it can be used later to send requests.\n */\n protected _setupTransport(): Transport {\n return new NoopTransport();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/baseclient.d.ts b/node_modules/@sentry/core/dist/baseclient.d.ts new file mode 100644 index 000000000..eac995431 --- /dev/null +++ b/node_modules/@sentry/core/dist/baseclient.d.ts @@ -0,0 +1,191 @@ +import { Scope, Session } from '@sentry/hub'; +import { Client, DsnComponents, Event, EventHint, Integration, IntegrationClass, Options, Severity, Transport } from '@sentry/types'; +import { Backend, BackendClass } from './basebackend'; +import { IntegrationIndex } from './integration'; +/** + * Base implementation for all JavaScript SDK clients. + * + * Call the constructor with the corresponding backend constructor and options + * specific to the client subclass. To access these options later, use + * {@link Client.getOptions}. Also, the Backend instance is available via + * {@link Client.getBackend}. + * + * If a Dsn is specified in the options, it will be parsed and stored. Use + * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is + * invalid, the constructor will throw a {@link SentryException}. Note that + * without a valid Dsn, the SDK will not send any events to Sentry. + * + * Before sending an event via the backend, it is passed through + * {@link BaseClient._prepareEvent} to add SDK information and scope data + * (breadcrumbs and context). To add more custom information, override this + * method and extend the resulting prepared event. + * + * To issue automatically created events (e.g. via instrumentation), use + * {@link Client.captureEvent}. It will prepare the event and pass it through + * the callback lifecycle. To issue auto-breadcrumbs, use + * {@link Client.addBreadcrumb}. + * + * @example + * class NodeClient extends BaseClient { + * public constructor(options: NodeOptions) { + * super(NodeBackend, options); + * } + * + * // ... + * } + */ +export declare abstract class BaseClient implements Client { + /** + * The backend used to physically interact in the environment. Usually, this + * will correspond to the client. When composing SDKs, however, the Backend + * from the root SDK will be used. + */ + protected readonly _backend: B; + /** Options passed to the SDK. */ + protected readonly _options: O; + /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */ + protected readonly _dsn?: DsnComponents; + /** Array of used integrations. */ + protected _integrations: IntegrationIndex; + /** Number of calls being processed */ + protected _numProcessing: number; + /** + * Initializes this client instance. + * + * @param backendClass A constructor function to create the backend. + * @param options Options for the client. + */ + protected constructor(backendClass: BackendClass, options: O); + /** + * @inheritDoc + */ + captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined; + /** + * @inheritDoc + */ + captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined; + /** + * @inheritDoc + */ + captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined; + /** + * @inheritDoc + */ + captureSession(session: Session): void; + /** + * @inheritDoc + */ + getDsn(): DsnComponents | undefined; + /** + * @inheritDoc + */ + getOptions(): O; + /** + * @inheritDoc + */ + getTransport(): Transport; + /** + * @inheritDoc + */ + flush(timeout?: number): PromiseLike; + /** + * @inheritDoc + */ + close(timeout?: number): PromiseLike; + /** + * Sets up the integrations + */ + setupIntegrations(): void; + /** + * @inheritDoc + */ + getIntegration(integration: IntegrationClass): T | null; + /** Updates existing session based on the provided event */ + protected _updateSessionFromEvent(session: Session, event: Event): void; + /** Deliver captured session to Sentry */ + protected _sendSession(session: Session): void; + /** + * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying + * "no" (resolving to `false`) in order to give the client a chance to potentially finish first. + * + * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not + * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to + * `true`. + * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and + * `false` otherwise + */ + protected _isClientDoneProcessing(timeout?: number): PromiseLike; + /** Returns the current backend. */ + protected _getBackend(): B; + /** Determines whether this SDK is enabled and a valid Dsn is present. */ + protected _isEnabled(): boolean; + /** + * Adds common information to events. + * + * The information includes release and environment from `options`, + * breadcrumbs and context (extra, tags and user) from the scope. + * + * Information that is already present in the event is never overwritten. For + * nested objects, such as the context, keys are merged. + * + * @param event The original event. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A new event with more information. + */ + protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike; + /** + * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization. + * Normalized keys: + * - `breadcrumbs.data` + * - `user` + * - `contexts` + * - `extra` + * @param event Event + * @returns Normalized event + */ + protected _normalizeEvent(event: Event | null, depth: number): Event | null; + /** + * Enhances event using the client configuration. + * It takes care of all "static" values like environment, release and `dist`, + * as well as truncating overly long values. + * @param event event instance to be enhanced + */ + protected _applyClientOptions(event: Event): void; + /** + * This function adds all used integrations to the SDK info in the event. + * @param event The event that will be filled with all integrations. + */ + protected _applyIntegrationsMetadata(event: Event): void; + /** + * Tells the backend to send this event + * @param event The Sentry event to send + */ + protected _sendEvent(event: Event): void; + /** + * Processes the event and logs an error in case of rejection + * @param event + * @param hint + * @param scope + */ + protected _captureEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike; + /** + * Processes an event (either error or message) and sends it to Sentry. + * + * This also adds breadcrumbs and context information to the event. However, + * platform specific meta data (such as the User's IP address) must be added + * by the SDK implementor. + * + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send. + */ + protected _processEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike; + /** + * Occupies the client with processing and event + */ + protected _process(promise: PromiseLike): void; +} +//# sourceMappingURL=baseclient.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/baseclient.d.ts.map b/node_modules/@sentry/core/dist/baseclient.d.ts.map new file mode 100644 index 000000000..160f385c3 --- /dev/null +++ b/node_modules/@sentry/core/dist/baseclient.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"baseclient.d.ts","sourceRoot":"","sources":["../src/baseclient.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/baseclient.js b/node_modules/@sentry/core/dist/baseclient.js new file mode 100644 index 000000000..aa24728f8 --- /dev/null +++ b/node_modules/@sentry/core/dist/baseclient.js @@ -0,0 +1,523 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +/* eslint-disable max-lines */ +var hub_1 = require("@sentry/hub"); +var utils_1 = require("@sentry/utils"); +var integration_1 = require("./integration"); +var ALREADY_SEEN_ERROR = "Not capturing exception because it's already been captured."; +/** + * Base implementation for all JavaScript SDK clients. + * + * Call the constructor with the corresponding backend constructor and options + * specific to the client subclass. To access these options later, use + * {@link Client.getOptions}. Also, the Backend instance is available via + * {@link Client.getBackend}. + * + * If a Dsn is specified in the options, it will be parsed and stored. Use + * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is + * invalid, the constructor will throw a {@link SentryException}. Note that + * without a valid Dsn, the SDK will not send any events to Sentry. + * + * Before sending an event via the backend, it is passed through + * {@link BaseClient._prepareEvent} to add SDK information and scope data + * (breadcrumbs and context). To add more custom information, override this + * method and extend the resulting prepared event. + * + * To issue automatically created events (e.g. via instrumentation), use + * {@link Client.captureEvent}. It will prepare the event and pass it through + * the callback lifecycle. To issue auto-breadcrumbs, use + * {@link Client.addBreadcrumb}. + * + * @example + * class NodeClient extends BaseClient { + * public constructor(options: NodeOptions) { + * super(NodeBackend, options); + * } + * + * // ... + * } + */ +var BaseClient = /** @class */ (function () { + /** + * Initializes this client instance. + * + * @param backendClass A constructor function to create the backend. + * @param options Options for the client. + */ + function BaseClient(backendClass, options) { + /** Array of used integrations. */ + this._integrations = {}; + /** Number of calls being processed */ + this._numProcessing = 0; + this._backend = new backendClass(options); + this._options = options; + if (options.dsn) { + this._dsn = utils_1.makeDsn(options.dsn); + } + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + BaseClient.prototype.captureException = function (exception, hint, scope) { + var _this = this; + // ensure we haven't captured this very object before + if (utils_1.checkOrSetAlreadyCaught(exception)) { + utils_1.logger.log(ALREADY_SEEN_ERROR); + return; + } + var eventId = hint && hint.event_id; + this._process(this._getBackend() + .eventFromException(exception, hint) + .then(function (event) { return _this._captureEvent(event, hint, scope); }) + .then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureMessage = function (message, level, hint, scope) { + var _this = this; + var eventId = hint && hint.event_id; + var promisedEvent = utils_1.isPrimitive(message) + ? this._getBackend().eventFromMessage(String(message), level, hint) + : this._getBackend().eventFromException(message, hint); + this._process(promisedEvent + .then(function (event) { return _this._captureEvent(event, hint, scope); }) + .then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureEvent = function (event, hint, scope) { + // ensure we haven't captured this very object before + if (hint && hint.originalException && utils_1.checkOrSetAlreadyCaught(hint.originalException)) { + utils_1.logger.log(ALREADY_SEEN_ERROR); + return; + } + var eventId = hint && hint.event_id; + this._process(this._captureEvent(event, hint, scope).then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureSession = function (session) { + if (!this._isEnabled()) { + if (utils_1.isDebugBuild()) { + utils_1.logger.warn('SDK not enabled, will not capture session.'); + } + return; + } + if (!(typeof session.release === 'string')) { + if (utils_1.isDebugBuild()) { + utils_1.logger.warn('Discarded session because of missing or non-string release'); + } + } + else { + this._sendSession(session); + // After sending, we set init false to indicate it's not the first occurrence + session.update({ init: false }); + } + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getDsn = function () { + return this._dsn; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getOptions = function () { + return this._options; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getTransport = function () { + return this._getBackend().getTransport(); + }; + /** + * @inheritDoc + */ + BaseClient.prototype.flush = function (timeout) { + var _this = this; + return this._isClientDoneProcessing(timeout).then(function (clientFinished) { + return _this.getTransport() + .close(timeout) + .then(function (transportFlushed) { return clientFinished && transportFlushed; }); + }); + }; + /** + * @inheritDoc + */ + BaseClient.prototype.close = function (timeout) { + var _this = this; + return this.flush(timeout).then(function (result) { + _this.getOptions().enabled = false; + return result; + }); + }; + /** + * Sets up the integrations + */ + BaseClient.prototype.setupIntegrations = function () { + if (this._isEnabled() && !this._integrations.initialized) { + this._integrations = integration_1.setupIntegrations(this._options); + } + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getIntegration = function (integration) { + try { + return this._integrations[integration.id] || null; + } + catch (_oO) { + utils_1.logger.warn("Cannot retrieve integration " + integration.id + " from the current Client"); + return null; + } + }; + /** Updates existing session based on the provided event */ + BaseClient.prototype._updateSessionFromEvent = function (session, event) { + var e_1, _a; + var crashed = false; + var errored = false; + var exceptions = event.exception && event.exception.values; + if (exceptions) { + errored = true; + try { + for (var exceptions_1 = tslib_1.__values(exceptions), exceptions_1_1 = exceptions_1.next(); !exceptions_1_1.done; exceptions_1_1 = exceptions_1.next()) { + var ex = exceptions_1_1.value; + var mechanism = ex.mechanism; + if (mechanism && mechanism.handled === false) { + crashed = true; + break; + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (exceptions_1_1 && !exceptions_1_1.done && (_a = exceptions_1.return)) _a.call(exceptions_1); + } + finally { if (e_1) throw e_1.error; } + } + } + // A session is updated and that session update is sent in only one of the two following scenarios: + // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update + // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update + var sessionNonTerminal = session.status === 'ok'; + var shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed); + if (shouldUpdateAndSend) { + session.update(tslib_1.__assign(tslib_1.__assign({}, (crashed && { status: 'crashed' })), { errors: session.errors || Number(errored || crashed) })); + this.captureSession(session); + } + }; + /** Deliver captured session to Sentry */ + BaseClient.prototype._sendSession = function (session) { + this._getBackend().sendSession(session); + }; + /** + * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying + * "no" (resolving to `false`) in order to give the client a chance to potentially finish first. + * + * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not + * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to + * `true`. + * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and + * `false` otherwise + */ + BaseClient.prototype._isClientDoneProcessing = function (timeout) { + var _this = this; + return new utils_1.SyncPromise(function (resolve) { + var ticked = 0; + var tick = 1; + var interval = setInterval(function () { + if (_this._numProcessing == 0) { + clearInterval(interval); + resolve(true); + } + else { + ticked += tick; + if (timeout && ticked >= timeout) { + clearInterval(interval); + resolve(false); + } + } + }, tick); + }); + }; + /** Returns the current backend. */ + BaseClient.prototype._getBackend = function () { + return this._backend; + }; + /** Determines whether this SDK is enabled and a valid Dsn is present. */ + BaseClient.prototype._isEnabled = function () { + return this.getOptions().enabled !== false && this._dsn !== undefined; + }; + /** + * Adds common information to events. + * + * The information includes release and environment from `options`, + * breadcrumbs and context (extra, tags and user) from the scope. + * + * Information that is already present in the event is never overwritten. For + * nested objects, such as the context, keys are merged. + * + * @param event The original event. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A new event with more information. + */ + BaseClient.prototype._prepareEvent = function (event, scope, hint) { + var _this = this; + var _a = this.getOptions().normalizeDepth, normalizeDepth = _a === void 0 ? 3 : _a; + var prepared = tslib_1.__assign(tslib_1.__assign({}, event), { event_id: event.event_id || (hint && hint.event_id ? hint.event_id : utils_1.uuid4()), timestamp: event.timestamp || utils_1.dateTimestampInSeconds() }); + this._applyClientOptions(prepared); + this._applyIntegrationsMetadata(prepared); + // If we have scope given to us, use it as the base for further modifications. + // This allows us to prevent unnecessary copying of data if `captureContext` is not provided. + var finalScope = scope; + if (hint && hint.captureContext) { + finalScope = hub_1.Scope.clone(finalScope).update(hint.captureContext); + } + // We prepare the result here with a resolved Event. + var result = utils_1.resolvedSyncPromise(prepared); + // This should be the last thing called, since we want that + // {@link Hub.addEventProcessor} gets the finished prepared event. + if (finalScope) { + // In case we have a hub we reassign it. + result = finalScope.applyToEvent(prepared, hint); + } + return result.then(function (evt) { + if (evt) { + // TODO this is more of the hack trying to solve https://github.com/getsentry/sentry-javascript/issues/2809 + // it is only attached as extra data to the event if the event somehow skips being normalized + evt.sdkProcessingMetadata = tslib_1.__assign(tslib_1.__assign({}, evt.sdkProcessingMetadata), { normalizeDepth: utils_1.normalize(normalizeDepth) }); + } + if (typeof normalizeDepth === 'number' && normalizeDepth > 0) { + return _this._normalizeEvent(evt, normalizeDepth); + } + return evt; + }); + }; + /** + * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization. + * Normalized keys: + * - `breadcrumbs.data` + * - `user` + * - `contexts` + * - `extra` + * @param event Event + * @returns Normalized event + */ + BaseClient.prototype._normalizeEvent = function (event, depth) { + if (!event) { + return null; + } + var normalized = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, event), (event.breadcrumbs && { + breadcrumbs: event.breadcrumbs.map(function (b) { return (tslib_1.__assign(tslib_1.__assign({}, b), (b.data && { + data: utils_1.normalize(b.data, depth), + }))); }), + })), (event.user && { + user: utils_1.normalize(event.user, depth), + })), (event.contexts && { + contexts: utils_1.normalize(event.contexts, depth), + })), (event.extra && { + extra: utils_1.normalize(event.extra, depth), + })); + // event.contexts.trace stores information about a Transaction. Similarly, + // event.spans[] stores information about child Spans. Given that a + // Transaction is conceptually a Span, normalization should apply to both + // Transactions and Spans consistently. + // For now the decision is to skip normalization of Transactions and Spans, + // so this block overwrites the normalized event to add back the original + // Transaction information prior to normalization. + if (event.contexts && event.contexts.trace) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + normalized.contexts.trace = event.contexts.trace; + } + event.sdkProcessingMetadata = tslib_1.__assign(tslib_1.__assign({}, event.sdkProcessingMetadata), { baseClientNormalized: true }); + return normalized; + }; + /** + * Enhances event using the client configuration. + * It takes care of all "static" values like environment, release and `dist`, + * as well as truncating overly long values. + * @param event event instance to be enhanced + */ + BaseClient.prototype._applyClientOptions = function (event) { + var options = this.getOptions(); + var environment = options.environment, release = options.release, dist = options.dist, _a = options.maxValueLength, maxValueLength = _a === void 0 ? 250 : _a; + if (!('environment' in event)) { + event.environment = 'environment' in options ? environment : 'production'; + } + if (event.release === undefined && release !== undefined) { + event.release = release; + } + if (event.dist === undefined && dist !== undefined) { + event.dist = dist; + } + if (event.message) { + event.message = utils_1.truncate(event.message, maxValueLength); + } + var exception = event.exception && event.exception.values && event.exception.values[0]; + if (exception && exception.value) { + exception.value = utils_1.truncate(exception.value, maxValueLength); + } + var request = event.request; + if (request && request.url) { + request.url = utils_1.truncate(request.url, maxValueLength); + } + }; + /** + * This function adds all used integrations to the SDK info in the event. + * @param event The event that will be filled with all integrations. + */ + BaseClient.prototype._applyIntegrationsMetadata = function (event) { + var integrationsArray = Object.keys(this._integrations); + if (integrationsArray.length > 0) { + event.sdk = event.sdk || {}; + event.sdk.integrations = tslib_1.__spread((event.sdk.integrations || []), integrationsArray); + } + }; + /** + * Tells the backend to send this event + * @param event The Sentry event to send + */ + BaseClient.prototype._sendEvent = function (event) { + this._getBackend().sendEvent(event); + }; + /** + * Processes the event and logs an error in case of rejection + * @param event + * @param hint + * @param scope + */ + BaseClient.prototype._captureEvent = function (event, hint, scope) { + return this._processEvent(event, hint, scope).then(function (finalEvent) { + return finalEvent.event_id; + }, function (reason) { + utils_1.logger.error(reason); + return undefined; + }); + }; + /** + * Processes an event (either error or message) and sends it to Sentry. + * + * This also adds breadcrumbs and context information to the event. However, + * platform specific meta data (such as the User's IP address) must be added + * by the SDK implementor. + * + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send. + */ + BaseClient.prototype._processEvent = function (event, hint, scope) { + var _this = this; + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.getOptions(), beforeSend = _a.beforeSend, sampleRate = _a.sampleRate; + var transport = this.getTransport(); + function recordLostEvent(outcome, category) { + if (transport.recordLostEvent) { + transport.recordLostEvent(outcome, category); + } + } + if (!this._isEnabled()) { + return utils_1.rejectedSyncPromise(new utils_1.SentryError('SDK not enabled, will not capture event.')); + } + var isTransaction = event.type === 'transaction'; + // 1.0 === 100% events are sent + // 0.0 === 0% events are sent + // Sampling for transaction happens somewhere else + if (!isTransaction && typeof sampleRate === 'number' && Math.random() > sampleRate) { + recordLostEvent('sample_rate', 'event'); + return utils_1.rejectedSyncPromise(new utils_1.SentryError("Discarding event because it's not included in the random sample (sampling rate = " + sampleRate + ")")); + } + return this._prepareEvent(event, scope, hint) + .then(function (prepared) { + if (prepared === null) { + recordLostEvent('event_processor', event.type || 'event'); + throw new utils_1.SentryError('An event processor returned null, will not send event.'); + } + var isInternalException = hint && hint.data && hint.data.__sentry__ === true; + if (isInternalException || isTransaction || !beforeSend) { + return prepared; + } + var beforeSendResult = beforeSend(prepared, hint); + return _ensureBeforeSendRv(beforeSendResult); + }) + .then(function (processedEvent) { + if (processedEvent === null) { + recordLostEvent('before_send', event.type || 'event'); + throw new utils_1.SentryError('`beforeSend` returned `null`, will not send event.'); + } + var session = scope && scope.getSession && scope.getSession(); + if (!isTransaction && session) { + _this._updateSessionFromEvent(session, processedEvent); + } + _this._sendEvent(processedEvent); + return processedEvent; + }) + .then(null, function (reason) { + if (reason instanceof utils_1.SentryError) { + throw reason; + } + _this.captureException(reason, { + data: { + __sentry__: true, + }, + originalException: reason, + }); + throw new utils_1.SentryError("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: " + reason); + }); + }; + /** + * Occupies the client with processing and event + */ + BaseClient.prototype._process = function (promise) { + var _this = this; + this._numProcessing += 1; + void promise.then(function (value) { + _this._numProcessing -= 1; + return value; + }, function (reason) { + _this._numProcessing -= 1; + return reason; + }); + }; + return BaseClient; +}()); +exports.BaseClient = BaseClient; +/** + * Verifies that return value of configured `beforeSend` is of expected type. + */ +function _ensureBeforeSendRv(rv) { + var nullErr = '`beforeSend` method has to return `null` or a valid event.'; + if (utils_1.isThenable(rv)) { + return rv.then(function (event) { + if (!(utils_1.isPlainObject(event) || event === null)) { + throw new utils_1.SentryError(nullErr); + } + return event; + }, function (e) { + throw new utils_1.SentryError("beforeSend rejected with " + e); + }); + } + else if (!(utils_1.isPlainObject(rv) || rv === null)) { + throw new utils_1.SentryError(nullErr); + } + return rv; +} +//# sourceMappingURL=baseclient.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/baseclient.js.map b/node_modules/@sentry/core/dist/baseclient.js.map new file mode 100644 index 000000000..7ddb1b9b8 --- /dev/null +++ b/node_modules/@sentry/core/dist/baseclient.js.map @@ -0,0 +1 @@ +{"version":3,"file":"baseclient.js","sourceRoot":"","sources":["../src/baseclient.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\nimport { Scope, Session } from '@sentry/hub';\nimport {\n Client,\n DsnComponents,\n Event,\n EventHint,\n Integration,\n IntegrationClass,\n Options,\n Severity,\n Transport,\n} from '@sentry/types';\nimport {\n checkOrSetAlreadyCaught,\n dateTimestampInSeconds,\n isDebugBuild,\n isPlainObject,\n isPrimitive,\n isThenable,\n logger,\n makeDsn,\n normalize,\n rejectedSyncPromise,\n resolvedSyncPromise,\n SentryError,\n SyncPromise,\n truncate,\n uuid4,\n} from '@sentry/utils';\n\nimport { Backend, BackendClass } from './basebackend';\nimport { IntegrationIndex, setupIntegrations } from './integration';\n\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\n\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding backend constructor and options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}. Also, the Backend instance is available via\n * {@link Client.getBackend}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event via the backend, it is passed through\n * {@link BaseClient._prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient {\n * public constructor(options: NodeOptions) {\n * super(NodeBackend, options);\n * }\n *\n * // ...\n * }\n */\nexport abstract class BaseClient implements Client {\n /**\n * The backend used to physically interact in the environment. Usually, this\n * will correspond to the client. When composing SDKs, however, the Backend\n * from the root SDK will be used.\n */\n protected readonly _backend: B;\n\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n protected readonly _dsn?: DsnComponents;\n\n /** Array of used integrations. */\n protected _integrations: IntegrationIndex = {};\n\n /** Number of calls being processed */\n protected _numProcessing: number = 0;\n\n /**\n * Initializes this client instance.\n *\n * @param backendClass A constructor function to create the backend.\n * @param options Options for the client.\n */\n protected constructor(backendClass: BackendClass, options: O) {\n this._backend = new backendClass(options);\n this._options = options;\n\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n }\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._getBackend()\n .eventFromException(exception, hint)\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined {\n let eventId: string | undefined = hint && hint.event_id;\n\n const promisedEvent = isPrimitive(message)\n ? this._getBackend().eventFromMessage(String(message), level, hint)\n : this._getBackend().eventFromException(message, hint);\n\n this._process(\n promisedEvent\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {\n logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._captureEvent(event, hint, scope).then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(session: Session): void {\n if (!this._isEnabled()) {\n if (isDebugBuild()) {\n logger.warn('SDK not enabled, will not capture session.');\n }\n return;\n }\n\n if (!(typeof session.release === 'string')) {\n if (isDebugBuild()) {\n logger.warn('Discarded session because of missing or non-string release');\n }\n } else {\n this._sendSession(session);\n // After sending, we set init false to indicate it's not the first occurrence\n session.update({ init: false });\n }\n }\n\n /**\n * @inheritDoc\n */\n public getDsn(): DsnComponents | undefined {\n return this._dsn;\n }\n\n /**\n * @inheritDoc\n */\n public getOptions(): O {\n return this._options;\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport {\n return this._getBackend().getTransport();\n }\n\n /**\n * @inheritDoc\n */\n public flush(timeout?: number): PromiseLike {\n return this._isClientDoneProcessing(timeout).then(clientFinished => {\n return this.getTransport()\n .close(timeout)\n .then(transportFlushed => clientFinished && transportFlushed);\n });\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike {\n return this.flush(timeout).then(result => {\n this.getOptions().enabled = false;\n return result;\n });\n }\n\n /**\n * Sets up the integrations\n */\n public setupIntegrations(): void {\n if (this._isEnabled() && !this._integrations.initialized) {\n this._integrations = setupIntegrations(this._options);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration(integration: IntegrationClass): T | null {\n try {\n return (this._integrations[integration.id] as T) || null;\n } catch (_oO) {\n logger.warn(`Cannot retrieve integration ${integration.id} from the current Client`);\n return null;\n }\n }\n\n /** Updates existing session based on the provided event */\n protected _updateSessionFromEvent(session: Session, event: Event): void {\n let crashed = false;\n let errored = false;\n const exceptions = event.exception && event.exception.values;\n\n if (exceptions) {\n errored = true;\n\n for (const ex of exceptions) {\n const mechanism = ex.mechanism;\n if (mechanism && mechanism.handled === false) {\n crashed = true;\n break;\n }\n }\n }\n\n // A session is updated and that session update is sent in only one of the two following scenarios:\n // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update\n // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update\n const sessionNonTerminal = session.status === 'ok';\n const shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed);\n\n if (shouldUpdateAndSend) {\n session.update({\n ...(crashed && { status: 'crashed' }),\n errors: session.errors || Number(errored || crashed),\n });\n this.captureSession(session);\n }\n }\n\n /** Deliver captured session to Sentry */\n protected _sendSession(session: Session): void {\n this._getBackend().sendSession(session);\n }\n\n /**\n * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n * `false` otherwise\n */\n protected _isClientDoneProcessing(timeout?: number): PromiseLike {\n return new SyncPromise(resolve => {\n let ticked: number = 0;\n const tick: number = 1;\n\n const interval = setInterval(() => {\n if (this._numProcessing == 0) {\n clearInterval(interval);\n resolve(true);\n } else {\n ticked += tick;\n if (timeout && ticked >= timeout) {\n clearInterval(interval);\n resolve(false);\n }\n }\n }, tick);\n });\n }\n\n /** Returns the current backend. */\n protected _getBackend(): B {\n return this._backend;\n }\n\n /** Determines whether this SDK is enabled and a valid Dsn is present. */\n protected _isEnabled(): boolean {\n return this.getOptions().enabled !== false && this._dsn !== undefined;\n }\n\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike {\n const { normalizeDepth = 3 } = this.getOptions();\n const prepared: Event = {\n ...event,\n event_id: event.event_id || (hint && hint.event_id ? hint.event_id : uuid4()),\n timestamp: event.timestamp || dateTimestampInSeconds(),\n };\n\n this._applyClientOptions(prepared);\n this._applyIntegrationsMetadata(prepared);\n\n // If we have scope given to us, use it as the base for further modifications.\n // This allows us to prevent unnecessary copying of data if `captureContext` is not provided.\n let finalScope = scope;\n if (hint && hint.captureContext) {\n finalScope = Scope.clone(finalScope).update(hint.captureContext);\n }\n\n // We prepare the result here with a resolved Event.\n let result = resolvedSyncPromise(prepared);\n\n // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n if (finalScope) {\n // In case we have a hub we reassign it.\n result = finalScope.applyToEvent(prepared, hint);\n }\n\n return result.then(evt => {\n if (evt) {\n // TODO this is more of the hack trying to solve https://github.com/getsentry/sentry-javascript/issues/2809\n // it is only attached as extra data to the event if the event somehow skips being normalized\n evt.sdkProcessingMetadata = { ...evt.sdkProcessingMetadata, normalizeDepth: normalize(normalizeDepth) };\n }\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return this._normalizeEvent(evt, normalizeDepth);\n }\n return evt;\n });\n }\n\n /**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\n protected _normalizeEvent(event: Event | null, depth: number): Event | null {\n if (!event) {\n return null;\n }\n\n const normalized = {\n ...event,\n ...(event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(b => ({\n ...b,\n ...(b.data && {\n data: normalize(b.data, depth),\n }),\n })),\n }),\n ...(event.user && {\n user: normalize(event.user, depth),\n }),\n ...(event.contexts && {\n contexts: normalize(event.contexts, depth),\n }),\n ...(event.extra && {\n extra: normalize(event.extra, depth),\n }),\n };\n // event.contexts.trace stores information about a Transaction. Similarly,\n // event.spans[] stores information about child Spans. Given that a\n // Transaction is conceptually a Span, normalization should apply to both\n // Transactions and Spans consistently.\n // For now the decision is to skip normalization of Transactions and Spans,\n // so this block overwrites the normalized event to add back the original\n // Transaction information prior to normalization.\n if (event.contexts && event.contexts.trace) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n normalized.contexts.trace = event.contexts.trace;\n }\n\n event.sdkProcessingMetadata = { ...event.sdkProcessingMetadata, baseClientNormalized: true };\n\n return normalized;\n }\n\n /**\n * Enhances event using the client configuration.\n * It takes care of all \"static\" values like environment, release and `dist`,\n * as well as truncating overly long values.\n * @param event event instance to be enhanced\n */\n protected _applyClientOptions(event: Event): void {\n const options = this.getOptions();\n const { environment, release, dist, maxValueLength = 250 } = options;\n\n if (!('environment' in event)) {\n event.environment = 'environment' in options ? environment : 'production';\n }\n\n if (event.release === undefined && release !== undefined) {\n event.release = release;\n }\n\n if (event.dist === undefined && dist !== undefined) {\n event.dist = dist;\n }\n\n if (event.message) {\n event.message = truncate(event.message, maxValueLength);\n }\n\n const exception = event.exception && event.exception.values && event.exception.values[0];\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n const request = event.request;\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n }\n\n /**\n * This function adds all used integrations to the SDK info in the event.\n * @param event The event that will be filled with all integrations.\n */\n protected _applyIntegrationsMetadata(event: Event): void {\n const integrationsArray = Object.keys(this._integrations);\n if (integrationsArray.length > 0) {\n event.sdk = event.sdk || {};\n event.sdk.integrations = [...(event.sdk.integrations || []), ...integrationsArray];\n }\n }\n\n /**\n * Tells the backend to send this event\n * @param event The Sentry event to send\n */\n protected _sendEvent(event: Event): void {\n this._getBackend().sendEvent(event);\n }\n\n /**\n * Processes the event and logs an error in case of rejection\n * @param event\n * @param hint\n * @param scope\n */\n protected _captureEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike {\n return this._processEvent(event, hint, scope).then(\n finalEvent => {\n return finalEvent.event_id;\n },\n reason => {\n logger.error(reason);\n return undefined;\n },\n );\n }\n\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n protected _processEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeSend, sampleRate } = this.getOptions();\n const transport = this.getTransport();\n\n type RecordLostEvent = NonNullable;\n type RecordLostEventParams = Parameters;\n\n function recordLostEvent(outcome: RecordLostEventParams[0], category: RecordLostEventParams[1]): void {\n if (transport.recordLostEvent) {\n transport.recordLostEvent(outcome, category);\n }\n }\n\n if (!this._isEnabled()) {\n return rejectedSyncPromise(new SentryError('SDK not enabled, will not capture event.'));\n }\n\n const isTransaction = event.type === 'transaction';\n // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n // Sampling for transaction happens somewhere else\n if (!isTransaction && typeof sampleRate === 'number' && Math.random() > sampleRate) {\n recordLostEvent('sample_rate', 'event');\n return rejectedSyncPromise(\n new SentryError(\n `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`,\n ),\n );\n }\n\n return this._prepareEvent(event, scope, hint)\n .then(prepared => {\n if (prepared === null) {\n recordLostEvent('event_processor', event.type || 'event');\n throw new SentryError('An event processor returned null, will not send event.');\n }\n\n const isInternalException = hint && hint.data && (hint.data as { __sentry__: boolean }).__sentry__ === true;\n if (isInternalException || isTransaction || !beforeSend) {\n return prepared;\n }\n\n const beforeSendResult = beforeSend(prepared, hint);\n return _ensureBeforeSendRv(beforeSendResult);\n })\n .then(processedEvent => {\n if (processedEvent === null) {\n recordLostEvent('before_send', event.type || 'event');\n throw new SentryError('`beforeSend` returned `null`, will not send event.');\n }\n\n const session = scope && scope.getSession && scope.getSession();\n if (!isTransaction && session) {\n this._updateSessionFromEvent(session, processedEvent);\n }\n\n this._sendEvent(processedEvent);\n return processedEvent;\n })\n .then(null, reason => {\n if (reason instanceof SentryError) {\n throw reason;\n }\n\n this.captureException(reason, {\n data: {\n __sentry__: true,\n },\n originalException: reason as Error,\n });\n throw new SentryError(\n `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: ${reason}`,\n );\n });\n }\n\n /**\n * Occupies the client with processing and event\n */\n protected _process(promise: PromiseLike): void {\n this._numProcessing += 1;\n void promise.then(\n value => {\n this._numProcessing -= 1;\n return value;\n },\n reason => {\n this._numProcessing -= 1;\n return reason;\n },\n );\n }\n}\n\n/**\n * Verifies that return value of configured `beforeSend` is of expected type.\n */\nfunction _ensureBeforeSendRv(rv: PromiseLike | Event | null): PromiseLike | Event | null {\n const nullErr = '`beforeSend` method has to return `null` or a valid event.';\n if (isThenable(rv)) {\n return rv.then(\n event => {\n if (!(isPlainObject(event) || event === null)) {\n throw new SentryError(nullErr);\n }\n return event;\n },\n e => {\n throw new SentryError(`beforeSend rejected with ${e}`);\n },\n );\n } else if (!(isPlainObject(rv) || rv === null)) {\n throw new SentryError(nullErr);\n }\n return rv;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/index.d.ts b/node_modules/@sentry/core/dist/index.d.ts new file mode 100644 index 000000000..b39de6bfc --- /dev/null +++ b/node_modules/@sentry/core/dist/index.d.ts @@ -0,0 +1,12 @@ +export { addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, startTransaction, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, } from '@sentry/minimal'; +export { addGlobalEventProcessor, getCurrentHub, getHubFromCarrier, Hub, makeMain, Scope, Session } from '@sentry/hub'; +export { API, APIDetails, getEnvelopeEndpointWithUrlEncodedAuth, getStoreEndpointWithUrlEncodedAuth, getRequestHeaders, initAPIDetails, getReportDialogEndpoint, } from './api'; +export { BaseClient } from './baseclient'; +export { BackendClass, BaseBackend } from './basebackend'; +export { eventToSentryRequest, sessionToSentryRequest } from './request'; +export { initAndBind, ClientClass } from './sdk'; +export { NoopTransport } from './transports/noop'; +export { SDK_VERSION } from './version'; +import * as Integrations from './integrations'; +export { Integrations }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/index.d.ts.map b/node_modules/@sentry/core/dist/index.d.ts.map new file mode 100644 index 000000000..6bbe9e275 --- /dev/null +++ b/node_modules/@sentry/core/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,iBAAiB,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACvH,OAAO,EAEL,GAAG,EACH,UAAU,EACV,qCAAqC,EACrC,kCAAkC,EAClC,iBAAiB,EACjB,cAAc,EACd,uBAAuB,GACxB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/index.js b/node_modules/@sentry/core/dist/index.js new file mode 100644 index 000000000..2432fd425 --- /dev/null +++ b/node_modules/@sentry/core/dist/index.js @@ -0,0 +1,47 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var minimal_1 = require("@sentry/minimal"); +exports.addBreadcrumb = minimal_1.addBreadcrumb; +exports.captureException = minimal_1.captureException; +exports.captureEvent = minimal_1.captureEvent; +exports.captureMessage = minimal_1.captureMessage; +exports.configureScope = minimal_1.configureScope; +exports.startTransaction = minimal_1.startTransaction; +exports.setContext = minimal_1.setContext; +exports.setExtra = minimal_1.setExtra; +exports.setExtras = minimal_1.setExtras; +exports.setTag = minimal_1.setTag; +exports.setTags = minimal_1.setTags; +exports.setUser = minimal_1.setUser; +exports.withScope = minimal_1.withScope; +var hub_1 = require("@sentry/hub"); +exports.addGlobalEventProcessor = hub_1.addGlobalEventProcessor; +exports.getCurrentHub = hub_1.getCurrentHub; +exports.getHubFromCarrier = hub_1.getHubFromCarrier; +exports.Hub = hub_1.Hub; +exports.makeMain = hub_1.makeMain; +exports.Scope = hub_1.Scope; +exports.Session = hub_1.Session; +var api_1 = require("./api"); +// eslint-disable-next-line deprecation/deprecation +exports.API = api_1.API; +exports.getEnvelopeEndpointWithUrlEncodedAuth = api_1.getEnvelopeEndpointWithUrlEncodedAuth; +exports.getStoreEndpointWithUrlEncodedAuth = api_1.getStoreEndpointWithUrlEncodedAuth; +exports.getRequestHeaders = api_1.getRequestHeaders; +exports.initAPIDetails = api_1.initAPIDetails; +exports.getReportDialogEndpoint = api_1.getReportDialogEndpoint; +var baseclient_1 = require("./baseclient"); +exports.BaseClient = baseclient_1.BaseClient; +var basebackend_1 = require("./basebackend"); +exports.BaseBackend = basebackend_1.BaseBackend; +var request_1 = require("./request"); +exports.eventToSentryRequest = request_1.eventToSentryRequest; +exports.sessionToSentryRequest = request_1.sessionToSentryRequest; +var sdk_1 = require("./sdk"); +exports.initAndBind = sdk_1.initAndBind; +var noop_1 = require("./transports/noop"); +exports.NoopTransport = noop_1.NoopTransport; +var version_1 = require("./version"); +exports.SDK_VERSION = version_1.SDK_VERSION; +var Integrations = require("./integrations"); +exports.Integrations = Integrations; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/index.js.map b/node_modules/@sentry/core/dist/index.js.map new file mode 100644 index 000000000..dcd88c690 --- /dev/null +++ b/node_modules/@sentry/core/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,2CAcyB;AAbvB,kCAAA,aAAa,CAAA;AACb,qCAAA,gBAAgB,CAAA;AAChB,iCAAA,YAAY,CAAA;AACZ,mCAAA,cAAc,CAAA;AACd,mCAAA,cAAc,CAAA;AACd,qCAAA,gBAAgB,CAAA;AAChB,+BAAA,UAAU,CAAA;AACV,6BAAA,QAAQ,CAAA;AACR,8BAAA,SAAS,CAAA;AACT,2BAAA,MAAM,CAAA;AACN,4BAAA,OAAO,CAAA;AACP,4BAAA,OAAO,CAAA;AACP,8BAAA,SAAS,CAAA;AAEX,mCAAuH;AAA9G,wCAAA,uBAAuB,CAAA;AAAE,8BAAA,aAAa,CAAA;AAAE,kCAAA,iBAAiB,CAAA;AAAE,oBAAA,GAAG,CAAA;AAAE,yBAAA,QAAQ,CAAA;AAAE,sBAAA,KAAK,CAAA;AAAE,wBAAA,OAAO,CAAA;AACjG,6BASe;AARb,mDAAmD;AACnD,oBAAA,GAAG,CAAA;AAEH,sDAAA,qCAAqC,CAAA;AACrC,mDAAA,kCAAkC,CAAA;AAClC,kCAAA,iBAAiB,CAAA;AACjB,+BAAA,cAAc,CAAA;AACd,wCAAA,uBAAuB,CAAA;AAEzB,2CAA0C;AAAjC,kCAAA,UAAU,CAAA;AACnB,6CAA0D;AAAnC,oCAAA,WAAW,CAAA;AAClC,qCAAyE;AAAhE,yCAAA,oBAAoB,CAAA;AAAE,2CAAA,sBAAsB,CAAA;AACrD,6BAAiD;AAAxC,4BAAA,WAAW,CAAA;AACpB,0CAAkD;AAAzC,+BAAA,aAAa,CAAA;AACtB,qCAAwC;AAA/B,gCAAA,WAAW,CAAA;AAEpB,6CAA+C;AAEtC,oCAAY","sourcesContent":["export {\n addBreadcrumb,\n captureException,\n captureEvent,\n captureMessage,\n configureScope,\n startTransaction,\n setContext,\n setExtra,\n setExtras,\n setTag,\n setTags,\n setUser,\n withScope,\n} from '@sentry/minimal';\nexport { addGlobalEventProcessor, getCurrentHub, getHubFromCarrier, Hub, makeMain, Scope, Session } from '@sentry/hub';\nexport {\n // eslint-disable-next-line deprecation/deprecation\n API,\n APIDetails,\n getEnvelopeEndpointWithUrlEncodedAuth,\n getStoreEndpointWithUrlEncodedAuth,\n getRequestHeaders,\n initAPIDetails,\n getReportDialogEndpoint,\n} from './api';\nexport { BaseClient } from './baseclient';\nexport { BackendClass, BaseBackend } from './basebackend';\nexport { eventToSentryRequest, sessionToSentryRequest } from './request';\nexport { initAndBind, ClientClass } from './sdk';\nexport { NoopTransport } from './transports/noop';\nexport { SDK_VERSION } from './version';\n\nimport * as Integrations from './integrations';\n\nexport { Integrations };\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integration.d.ts b/node_modules/@sentry/core/dist/integration.d.ts new file mode 100644 index 000000000..2e2079abe --- /dev/null +++ b/node_modules/@sentry/core/dist/integration.d.ts @@ -0,0 +1,20 @@ +import { Integration, Options } from '@sentry/types'; +export declare const installedIntegrations: string[]; +/** Map of integrations assigned to a client */ +export declare type IntegrationIndex = { + [key: string]: Integration; +} & { + initialized?: boolean; +}; +/** Gets integration to install */ +export declare function getIntegrationsToSetup(options: Options): Integration[]; +/** Setup given integration */ +export declare function setupIntegration(integration: Integration): void; +/** + * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default + * integrations are added unless they were already provided before. + * @param integrations array of integration instances + * @param withDefault should enable default integrations + */ +export declare function setupIntegrations(options: O): IntegrationIndex; +//# sourceMappingURL=integration.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integration.d.ts.map b/node_modules/@sentry/core/dist/integration.d.ts.map new file mode 100644 index 000000000..0b778fa50 --- /dev/null +++ b/node_modules/@sentry/core/dist/integration.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../src/integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGrD,eAAO,MAAM,qBAAqB,EAAE,MAAM,EAAO,CAAC;AAElD,+CAA+C;AAC/C,oBAAY,gBAAgB,GAAG;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CAC5B,GAAG;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAc9B,kCAAkC;AAClC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,EAAE,CA4BtE;AAED,8BAA8B;AAC9B,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAO/D;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,OAAO,EAAE,OAAO,EAAE,CAAC,GAAG,gBAAgB,CAWjF"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integration.js b/node_modules/@sentry/core/dist/integration.js new file mode 100644 index 000000000..6b392104e --- /dev/null +++ b/node_modules/@sentry/core/dist/integration.js @@ -0,0 +1,70 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var hub_1 = require("@sentry/hub"); +var utils_1 = require("@sentry/utils"); +exports.installedIntegrations = []; +/** + * @private + */ +function filterDuplicates(integrations) { + return integrations.reduce(function (acc, integrations) { + if (acc.every(function (accIntegration) { return integrations.name !== accIntegration.name; })) { + acc.push(integrations); + } + return acc; + }, []); +} +/** Gets integration to install */ +function getIntegrationsToSetup(options) { + var defaultIntegrations = (options.defaultIntegrations && tslib_1.__spread(options.defaultIntegrations)) || []; + var userIntegrations = options.integrations; + var integrations = tslib_1.__spread(filterDuplicates(defaultIntegrations)); + if (Array.isArray(userIntegrations)) { + // Filter out integrations that are also included in user options + integrations = tslib_1.__spread(integrations.filter(function (integrations) { + return userIntegrations.every(function (userIntegration) { return userIntegration.name !== integrations.name; }); + }), filterDuplicates(userIntegrations)); + } + else if (typeof userIntegrations === 'function') { + integrations = userIntegrations(integrations); + integrations = Array.isArray(integrations) ? integrations : [integrations]; + } + // Make sure that if present, `Debug` integration will always run last + var integrationsNames = integrations.map(function (i) { return i.name; }); + var alwaysLastToRun = 'Debug'; + if (integrationsNames.indexOf(alwaysLastToRun) !== -1) { + integrations.push.apply(integrations, tslib_1.__spread(integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1))); + } + return integrations; +} +exports.getIntegrationsToSetup = getIntegrationsToSetup; +/** Setup given integration */ +function setupIntegration(integration) { + if (exports.installedIntegrations.indexOf(integration.name) !== -1) { + return; + } + integration.setupOnce(hub_1.addGlobalEventProcessor, hub_1.getCurrentHub); + exports.installedIntegrations.push(integration.name); + utils_1.logger.log("Integration installed: " + integration.name); +} +exports.setupIntegration = setupIntegration; +/** + * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default + * integrations are added unless they were already provided before. + * @param integrations array of integration instances + * @param withDefault should enable default integrations + */ +function setupIntegrations(options) { + var integrations = {}; + getIntegrationsToSetup(options).forEach(function (integration) { + integrations[integration.name] = integration; + setupIntegration(integration); + }); + // set the `initialized` flag so we don't run through the process again unecessarily; use `Object.defineProperty` + // because by default it creates a property which is nonenumerable, which we want since `initialized` shouldn't be + // considered a member of the index the way the actual integrations are + utils_1.addNonEnumerableProperty(integrations, 'initialized', true); + return integrations; +} +exports.setupIntegrations = setupIntegrations; +//# sourceMappingURL=integration.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integration.js.map b/node_modules/@sentry/core/dist/integration.js.map new file mode 100644 index 000000000..dc58208e9 --- /dev/null +++ b/node_modules/@sentry/core/dist/integration.js.map @@ -0,0 +1 @@ +{"version":3,"file":"integration.js","sourceRoot":"","sources":["../src/integration.ts"],"names":[],"mappings":"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","sourcesContent":["import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { Integration, Options } from '@sentry/types';\nimport { addNonEnumerableProperty, logger } from '@sentry/utils';\n\nexport const installedIntegrations: string[] = [];\n\n/** Map of integrations assigned to a client */\nexport type IntegrationIndex = {\n [key: string]: Integration;\n} & { initialized?: boolean };\n\n/**\n * @private\n */\nfunction filterDuplicates(integrations: Integration[]): Integration[] {\n return integrations.reduce((acc, integrations) => {\n if (acc.every(accIntegration => integrations.name !== accIntegration.name)) {\n acc.push(integrations);\n }\n return acc;\n }, [] as Integration[]);\n}\n\n/** Gets integration to install */\nexport function getIntegrationsToSetup(options: Options): Integration[] {\n const defaultIntegrations = (options.defaultIntegrations && [...options.defaultIntegrations]) || [];\n const userIntegrations = options.integrations;\n\n let integrations: Integration[] = [...filterDuplicates(defaultIntegrations)];\n\n if (Array.isArray(userIntegrations)) {\n // Filter out integrations that are also included in user options\n integrations = [\n ...integrations.filter(integrations =>\n userIntegrations.every(userIntegration => userIntegration.name !== integrations.name),\n ),\n // And filter out duplicated user options integrations\n ...filterDuplicates(userIntegrations),\n ];\n } else if (typeof userIntegrations === 'function') {\n integrations = userIntegrations(integrations);\n integrations = Array.isArray(integrations) ? integrations : [integrations];\n }\n\n // Make sure that if present, `Debug` integration will always run last\n const integrationsNames = integrations.map(i => i.name);\n const alwaysLastToRun = 'Debug';\n if (integrationsNames.indexOf(alwaysLastToRun) !== -1) {\n integrations.push(...integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1));\n }\n\n return integrations;\n}\n\n/** Setup given integration */\nexport function setupIntegration(integration: Integration): void {\n if (installedIntegrations.indexOf(integration.name) !== -1) {\n return;\n }\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n logger.log(`Integration installed: ${integration.name}`);\n}\n\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\nexport function setupIntegrations(options: O): IntegrationIndex {\n const integrations: IntegrationIndex = {};\n getIntegrationsToSetup(options).forEach(integration => {\n integrations[integration.name] = integration;\n setupIntegration(integration);\n });\n // set the `initialized` flag so we don't run through the process again unecessarily; use `Object.defineProperty`\n // because by default it creates a property which is nonenumerable, which we want since `initialized` shouldn't be\n // considered a member of the index the way the actual integrations are\n addNonEnumerableProperty(integrations, 'initialized', true);\n return integrations;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/functiontostring.d.ts b/node_modules/@sentry/core/dist/integrations/functiontostring.d.ts new file mode 100644 index 000000000..fced8f640 --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/functiontostring.d.ts @@ -0,0 +1,17 @@ +import { Integration } from '@sentry/types'; +/** Patch toString calls to return proper name for wrapped functions */ +export declare class FunctionToString implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + setupOnce(): void; +} +//# sourceMappingURL=functiontostring.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/functiontostring.d.ts.map b/node_modules/@sentry/core/dist/integrations/functiontostring.d.ts.map new file mode 100644 index 000000000..0053875df --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/functiontostring.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"functiontostring.d.ts","sourceRoot":"","sources":["../../src/integrations/functiontostring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,eAAe,CAAC;AAK7D,uEAAuE;AACvE,qBAAa,gBAAiB,YAAW,WAAW;IAClD;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAsB;IAE9C;;OAEG;IACI,IAAI,EAAE,MAAM,CAAuB;IAE1C;;OAEG;IACI,SAAS,IAAI,IAAI;CAUzB"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/functiontostring.js b/node_modules/@sentry/core/dist/integrations/functiontostring.js new file mode 100644 index 000000000..29b50b605 --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/functiontostring.js @@ -0,0 +1,35 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var originalFunctionToString; +/** Patch toString calls to return proper name for wrapped functions */ +var FunctionToString = /** @class */ (function () { + function FunctionToString() { + /** + * @inheritDoc + */ + this.name = FunctionToString.id; + } + /** + * @inheritDoc + */ + FunctionToString.prototype.setupOnce = function () { + // eslint-disable-next-line @typescript-eslint/unbound-method + originalFunctionToString = Function.prototype.toString; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Function.prototype.toString = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var context = utils_1.getOriginalFunction(this) || this; + return originalFunctionToString.apply(context, args); + }; + }; + /** + * @inheritDoc + */ + FunctionToString.id = 'FunctionToString'; + return FunctionToString; +}()); +exports.FunctionToString = FunctionToString; +//# sourceMappingURL=functiontostring.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/functiontostring.js.map b/node_modules/@sentry/core/dist/integrations/functiontostring.js.map new file mode 100644 index 000000000..6c127ae25 --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/functiontostring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"functiontostring.js","sourceRoot":"","sources":["../../src/integrations/functiontostring.ts"],"names":[],"mappings":";AACA,uCAAoD;AAEpD,IAAI,wBAAoC,CAAC;AAEzC,uEAAuE;AACvE;IAAA;QAME;;WAEG;QACI,SAAI,GAAW,gBAAgB,CAAC,EAAE,CAAC;IAe5C,CAAC;IAbC;;OAEG;IACI,oCAAS,GAAhB;QACE,6DAA6D;QAC7D,wBAAwB,GAAG,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC;QAEvD,8DAA8D;QAC9D,QAAQ,CAAC,SAAS,CAAC,QAAQ,GAAG;YAAiC,cAAc;iBAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;gBAAd,yBAAc;;YAC3E,IAAM,OAAO,GAAG,2BAAmB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;YAClD,OAAO,wBAAwB,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACvD,CAAC,CAAC;IACJ,CAAC;IAtBD;;OAEG;IACW,mBAAE,GAAW,kBAAkB,CAAC;IAoBhD,uBAAC;CAAA,AAxBD,IAwBC;AAxBY,4CAAgB","sourcesContent":["import { Integration, WrappedFunction } from '@sentry/types';\nimport { getOriginalFunction } from '@sentry/utils';\n\nlet originalFunctionToString: () => void;\n\n/** Patch toString calls to return proper name for wrapped functions */\nexport class FunctionToString implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'FunctionToString';\n\n /**\n * @inheritDoc\n */\n public name: string = FunctionToString.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function (this: WrappedFunction, ...args: any[]): string {\n const context = getOriginalFunction(this) || this;\n return originalFunctionToString.apply(context, args);\n };\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/inboundfilters.d.ts b/node_modules/@sentry/core/dist/integrations/inboundfilters.d.ts new file mode 100644 index 000000000..95e4a1eec --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/inboundfilters.d.ts @@ -0,0 +1,49 @@ +import { Integration } from '@sentry/types'; +/** JSDoc */ +interface InboundFiltersOptions { + allowUrls: Array; + denyUrls: Array; + ignoreErrors: Array; + ignoreInternal: boolean; + /** @deprecated use {@link InboundFiltersOptions.allowUrls} instead. */ + whitelistUrls: Array; + /** @deprecated use {@link InboundFiltersOptions.denyUrls} instead. */ + blacklistUrls: Array; +} +/** Inbound filters configurable by the user */ +export declare class InboundFilters implements Integration { + private readonly _options; + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + constructor(_options?: Partial); + /** + * @inheritDoc + */ + setupOnce(): void; + /** JSDoc */ + private _shouldDropEvent; + /** JSDoc */ + private _isSentryError; + /** JSDoc */ + private _isIgnoredError; + /** JSDoc */ + private _isDeniedUrl; + /** JSDoc */ + private _isAllowedUrl; + /** JSDoc */ + private _mergeOptions; + /** JSDoc */ + private _getPossibleEventMessages; + /** JSDoc */ + private _getLastValidUrl; + /** JSDoc */ + private _getEventFilterUrl; +} +export {}; +//# sourceMappingURL=inboundfilters.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/inboundfilters.d.ts.map b/node_modules/@sentry/core/dist/integrations/inboundfilters.d.ts.map new file mode 100644 index 000000000..91587f6bf --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/inboundfilters.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"inboundfilters.d.ts","sourceRoot":"","sources":["../../src/integrations/inboundfilters.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,WAAW,EAAc,MAAM,eAAe,CAAC;AAO/D,YAAY;AACZ,UAAU,qBAAqB;IAC7B,SAAS,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACjC,YAAY,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACrC,cAAc,EAAE,OAAO,CAAC;IAExB,uEAAuE;IACvE,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACtC,sEAAsE;IACtE,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CACvC;AAED,+CAA+C;AAC/C,qBAAa,cAAe,YAAW,WAAW;IAW7B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAV5C;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAoB;IAE5C;;OAEG;IACI,IAAI,EAAE,MAAM,CAAqB;gBAEJ,QAAQ,GAAE,OAAO,CAAC,qBAAqB,CAAM;IAEjF;;OAEG;IACI,SAAS,IAAI,IAAI;IAyBxB,YAAY;IACZ,OAAO,CAAC,gBAAgB;IAsCxB,YAAY;IACZ,OAAO,CAAC,cAAc;IAgBtB,YAAY;IACZ,OAAO,CAAC,eAAe;IAWvB,YAAY;IACZ,OAAO,CAAC,YAAY;IASpB,YAAY;IACZ,OAAO,CAAC,aAAa;IASrB,YAAY;IACZ,OAAO,CAAC,aAAa;IA2BrB,YAAY;IACZ,OAAO,CAAC,yBAAyB;IAkBjC,YAAY;IACZ,OAAO,CAAC,gBAAgB;IAYxB,YAAY;IACZ,OAAO,CAAC,kBAAkB;CAoB3B"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/inboundfilters.js b/node_modules/@sentry/core/dist/integrations/inboundfilters.js new file mode 100644 index 000000000..aa4dccc6d --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/inboundfilters.js @@ -0,0 +1,186 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var hub_1 = require("@sentry/hub"); +var utils_1 = require("@sentry/utils"); +// "Script error." is hard coded into browsers for errors that it can't read. +// this is the result of a script being pulled in from an external domain and CORS. +var DEFAULT_IGNORE_ERRORS = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/]; +/** Inbound filters configurable by the user */ +var InboundFilters = /** @class */ (function () { + function InboundFilters(_options) { + if (_options === void 0) { _options = {}; } + this._options = _options; + /** + * @inheritDoc + */ + this.name = InboundFilters.id; + } + /** + * @inheritDoc + */ + InboundFilters.prototype.setupOnce = function () { + hub_1.addGlobalEventProcessor(function (event) { + var hub = hub_1.getCurrentHub(); + if (!hub) { + return event; + } + var self = hub.getIntegration(InboundFilters); + if (self) { + var client = hub.getClient(); + var clientOptions = client ? client.getOptions() : {}; + // This checks prevents most of the occurrences of the bug linked below: + // https://github.com/getsentry/sentry-javascript/issues/2622 + // The bug is caused by multiple SDK instances, where one is minified and one is using non-mangled code. + // Unfortunatelly we cannot fix it reliably (thus reserved property in rollup's terser config), + // as we cannot force people using multiple instances in their apps to sync SDK versions. + var options = typeof self._mergeOptions === 'function' ? self._mergeOptions(clientOptions) : {}; + if (typeof self._shouldDropEvent !== 'function') { + return event; + } + return self._shouldDropEvent(event, options) ? null : event; + } + return event; + }); + }; + /** JSDoc */ + InboundFilters.prototype._shouldDropEvent = function (event, options) { + if (this._isSentryError(event, options)) { + if (utils_1.isDebugBuild()) { + utils_1.logger.warn("Event dropped due to being internal Sentry Error.\nEvent: " + utils_1.getEventDescription(event)); + } + return true; + } + if (this._isIgnoredError(event, options)) { + if (utils_1.isDebugBuild()) { + utils_1.logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + utils_1.getEventDescription(event)); + } + return true; + } + if (this._isDeniedUrl(event, options)) { + if (utils_1.isDebugBuild()) { + utils_1.logger.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + utils_1.getEventDescription(event) + ".\nUrl: " + this._getEventFilterUrl(event)); + } + return true; + } + if (!this._isAllowedUrl(event, options)) { + if (utils_1.isDebugBuild()) { + utils_1.logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + utils_1.getEventDescription(event) + ".\nUrl: " + this._getEventFilterUrl(event)); + } + return true; + } + return false; + }; + /** JSDoc */ + InboundFilters.prototype._isSentryError = function (event, options) { + if (!options.ignoreInternal) { + return false; + } + try { + // @ts-ignore can't be a sentry error if undefined + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return event.exception.values[0].type === 'SentryError'; + } + catch (e) { + // ignore + } + return false; + }; + /** JSDoc */ + InboundFilters.prototype._isIgnoredError = function (event, options) { + if (!options.ignoreErrors || !options.ignoreErrors.length) { + return false; + } + return this._getPossibleEventMessages(event).some(function (message) { + // Not sure why TypeScript complains here... + return options.ignoreErrors.some(function (pattern) { return utils_1.isMatchingPattern(message, pattern); }); + }); + }; + /** JSDoc */ + InboundFilters.prototype._isDeniedUrl = function (event, options) { + // TODO: Use Glob instead? + if (!options.denyUrls || !options.denyUrls.length) { + return false; + } + var url = this._getEventFilterUrl(event); + return !url ? false : options.denyUrls.some(function (pattern) { return utils_1.isMatchingPattern(url, pattern); }); + }; + /** JSDoc */ + InboundFilters.prototype._isAllowedUrl = function (event, options) { + // TODO: Use Glob instead? + if (!options.allowUrls || !options.allowUrls.length) { + return true; + } + var url = this._getEventFilterUrl(event); + return !url ? true : options.allowUrls.some(function (pattern) { return utils_1.isMatchingPattern(url, pattern); }); + }; + /** JSDoc */ + InboundFilters.prototype._mergeOptions = function (clientOptions) { + if (clientOptions === void 0) { clientOptions = {}; } + return { + allowUrls: tslib_1.__spread((this._options.whitelistUrls || []), (this._options.allowUrls || []), (clientOptions.whitelistUrls || []), (clientOptions.allowUrls || [])), + denyUrls: tslib_1.__spread((this._options.blacklistUrls || []), (this._options.denyUrls || []), (clientOptions.blacklistUrls || []), (clientOptions.denyUrls || [])), + ignoreErrors: tslib_1.__spread((this._options.ignoreErrors || []), (clientOptions.ignoreErrors || []), DEFAULT_IGNORE_ERRORS), + ignoreInternal: typeof this._options.ignoreInternal !== 'undefined' ? this._options.ignoreInternal : true, + }; + }; + /** JSDoc */ + InboundFilters.prototype._getPossibleEventMessages = function (event) { + if (event.message) { + return [event.message]; + } + if (event.exception) { + try { + var _a = (event.exception.values && event.exception.values[0]) || {}, _b = _a.type, type = _b === void 0 ? '' : _b, _c = _a.value, value = _c === void 0 ? '' : _c; + return ["" + value, type + ": " + value]; + } + catch (oO) { + if (utils_1.isDebugBuild()) { + utils_1.logger.error("Cannot extract message for event " + utils_1.getEventDescription(event)); + } + return []; + } + } + return []; + }; + /** JSDoc */ + InboundFilters.prototype._getLastValidUrl = function (frames) { + if (frames === void 0) { frames = []; } + for (var i = frames.length - 1; i >= 0; i--) { + var frame = frames[i]; + if (frame && frame.filename !== '' && frame.filename !== '[native code]') { + return frame.filename || null; + } + } + return null; + }; + /** JSDoc */ + InboundFilters.prototype._getEventFilterUrl = function (event) { + try { + if (event.stacktrace) { + return this._getLastValidUrl(event.stacktrace.frames); + } + var frames_1; + try { + // @ts-ignore we only care about frames if the whole thing here is defined + frames_1 = event.exception.values[0].stacktrace.frames; + } + catch (e) { + // ignore + } + return frames_1 ? this._getLastValidUrl(frames_1) : null; + } + catch (oO) { + if (utils_1.isDebugBuild()) { + utils_1.logger.error("Cannot extract url for event " + utils_1.getEventDescription(event)); + } + return null; + } + }; + /** + * @inheritDoc + */ + InboundFilters.id = 'InboundFilters'; + return InboundFilters; +}()); +exports.InboundFilters = InboundFilters; +//# sourceMappingURL=inboundfilters.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/inboundfilters.js.map b/node_modules/@sentry/core/dist/integrations/inboundfilters.js.map new file mode 100644 index 000000000..4dfe5ecb6 --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/inboundfilters.js.map @@ -0,0 +1 @@ +{"version":3,"file":"inboundfilters.js","sourceRoot":"","sources":["../../src/integrations/inboundfilters.ts"],"names":[],"mappings":"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","sourcesContent":["import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { Event, Integration, StackFrame } from '@sentry/types';\nimport { getEventDescription, isDebugBuild, isMatchingPattern, logger } from '@sentry/utils';\n\n// \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\nconst DEFAULT_IGNORE_ERRORS = [/^Script error\\.?$/, /^Javascript error: Script error\\.? on line 0$/];\n\n/** JSDoc */\ninterface InboundFiltersOptions {\n allowUrls: Array;\n denyUrls: Array;\n ignoreErrors: Array;\n ignoreInternal: boolean;\n\n /** @deprecated use {@link InboundFiltersOptions.allowUrls} instead. */\n whitelistUrls: Array;\n /** @deprecated use {@link InboundFiltersOptions.denyUrls} instead. */\n blacklistUrls: Array;\n}\n\n/** Inbound filters configurable by the user */\nexport class InboundFilters implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'InboundFilters';\n\n /**\n * @inheritDoc\n */\n public name: string = InboundFilters.id;\n\n public constructor(private readonly _options: Partial = {}) {}\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event) => {\n const hub = getCurrentHub();\n if (!hub) {\n return event;\n }\n const self = hub.getIntegration(InboundFilters);\n if (self) {\n const client = hub.getClient();\n const clientOptions = client ? client.getOptions() : {};\n // This checks prevents most of the occurrences of the bug linked below:\n // https://github.com/getsentry/sentry-javascript/issues/2622\n // The bug is caused by multiple SDK instances, where one is minified and one is using non-mangled code.\n // Unfortunatelly we cannot fix it reliably (thus reserved property in rollup's terser config),\n // as we cannot force people using multiple instances in their apps to sync SDK versions.\n const options = typeof self._mergeOptions === 'function' ? self._mergeOptions(clientOptions) : {};\n if (typeof self._shouldDropEvent !== 'function') {\n return event;\n }\n return self._shouldDropEvent(event, options) ? null : event;\n }\n return event;\n });\n }\n\n /** JSDoc */\n private _shouldDropEvent(event: Event, options: Partial): boolean {\n if (this._isSentryError(event, options)) {\n if (isDebugBuild()) {\n logger.warn(`Event dropped due to being internal Sentry Error.\\nEvent: ${getEventDescription(event)}`);\n }\n return true;\n }\n if (this._isIgnoredError(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to being matched by \\`ignoreErrors\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n }\n return true;\n }\n if (this._isDeniedUrl(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to being matched by \\`denyUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${this._getEventFilterUrl(event)}`,\n );\n }\n return true;\n }\n if (!this._isAllowedUrl(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to not being matched by \\`allowUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${this._getEventFilterUrl(event)}`,\n );\n }\n return true;\n }\n return false;\n }\n\n /** JSDoc */\n private _isSentryError(event: Event, options: Partial): boolean {\n if (!options.ignoreInternal) {\n return false;\n }\n\n try {\n // @ts-ignore can't be a sentry error if undefined\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {\n // ignore\n }\n\n return false;\n }\n\n /** JSDoc */\n private _isIgnoredError(event: Event, options: Partial): boolean {\n if (!options.ignoreErrors || !options.ignoreErrors.length) {\n return false;\n }\n\n return this._getPossibleEventMessages(event).some(message =>\n // Not sure why TypeScript complains here...\n (options.ignoreErrors as Array).some(pattern => isMatchingPattern(message, pattern)),\n );\n }\n\n /** JSDoc */\n private _isDeniedUrl(event: Event, options: Partial): boolean {\n // TODO: Use Glob instead?\n if (!options.denyUrls || !options.denyUrls.length) {\n return false;\n }\n const url = this._getEventFilterUrl(event);\n return !url ? false : options.denyUrls.some(pattern => isMatchingPattern(url, pattern));\n }\n\n /** JSDoc */\n private _isAllowedUrl(event: Event, options: Partial): boolean {\n // TODO: Use Glob instead?\n if (!options.allowUrls || !options.allowUrls.length) {\n return true;\n }\n const url = this._getEventFilterUrl(event);\n return !url ? true : options.allowUrls.some(pattern => isMatchingPattern(url, pattern));\n }\n\n /** JSDoc */\n private _mergeOptions(clientOptions: Partial = {}): Partial {\n return {\n allowUrls: [\n // eslint-disable-next-line deprecation/deprecation\n ...(this._options.whitelistUrls || []),\n ...(this._options.allowUrls || []),\n // eslint-disable-next-line deprecation/deprecation\n ...(clientOptions.whitelistUrls || []),\n ...(clientOptions.allowUrls || []),\n ],\n denyUrls: [\n // eslint-disable-next-line deprecation/deprecation\n ...(this._options.blacklistUrls || []),\n ...(this._options.denyUrls || []),\n // eslint-disable-next-line deprecation/deprecation\n ...(clientOptions.blacklistUrls || []),\n ...(clientOptions.denyUrls || []),\n ],\n ignoreErrors: [\n ...(this._options.ignoreErrors || []),\n ...(clientOptions.ignoreErrors || []),\n ...DEFAULT_IGNORE_ERRORS,\n ],\n ignoreInternal: typeof this._options.ignoreInternal !== 'undefined' ? this._options.ignoreInternal : true,\n };\n }\n\n /** JSDoc */\n private _getPossibleEventMessages(event: Event): string[] {\n if (event.message) {\n return [event.message];\n }\n if (event.exception) {\n try {\n const { type = '', value = '' } = (event.exception.values && event.exception.values[0]) || {};\n return [`${value}`, `${type}: ${value}`];\n } catch (oO) {\n if (isDebugBuild()) {\n logger.error(`Cannot extract message for event ${getEventDescription(event)}`);\n }\n return [];\n }\n }\n return [];\n }\n\n /** JSDoc */\n private _getLastValidUrl(frames: StackFrame[] = []): string | null {\n for (let i = frames.length - 1; i >= 0; i--) {\n const frame = frames[i];\n\n if (frame && frame.filename !== '' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n }\n\n /** JSDoc */\n private _getEventFilterUrl(event: Event): string | null {\n try {\n if (event.stacktrace) {\n return this._getLastValidUrl(event.stacktrace.frames);\n }\n let frames;\n try {\n // @ts-ignore we only care about frames if the whole thing here is defined\n frames = event.exception.values[0].stacktrace.frames;\n } catch (e) {\n // ignore\n }\n return frames ? this._getLastValidUrl(frames) : null;\n } catch (oO) {\n if (isDebugBuild()) {\n logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n }\n return null;\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/index.d.ts b/node_modules/@sentry/core/dist/integrations/index.d.ts new file mode 100644 index 000000000..c1812e398 --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/index.d.ts @@ -0,0 +1,3 @@ +export { FunctionToString } from './functiontostring'; +export { InboundFilters } from './inboundfilters'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/index.d.ts.map b/node_modules/@sentry/core/dist/integrations/index.d.ts.map new file mode 100644 index 000000000..c3c2b3f1f --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/index.js b/node_modules/@sentry/core/dist/integrations/index.js new file mode 100644 index 000000000..a0e94e1c2 --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/index.js @@ -0,0 +1,6 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var functiontostring_1 = require("./functiontostring"); +exports.FunctionToString = functiontostring_1.FunctionToString; +var inboundfilters_1 = require("./inboundfilters"); +exports.InboundFilters = inboundfilters_1.InboundFilters; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/integrations/index.js.map b/node_modules/@sentry/core/dist/integrations/index.js.map new file mode 100644 index 000000000..d17243c86 --- /dev/null +++ b/node_modules/@sentry/core/dist/integrations/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":";AAAA,uDAAsD;AAA7C,8CAAA,gBAAgB,CAAA;AACzB,mDAAkD;AAAzC,0CAAA,cAAc,CAAA","sourcesContent":["export { FunctionToString } from './functiontostring';\nexport { InboundFilters } from './inboundfilters';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/request.d.ts b/node_modules/@sentry/core/dist/request.d.ts new file mode 100644 index 000000000..371df76af --- /dev/null +++ b/node_modules/@sentry/core/dist/request.d.ts @@ -0,0 +1,7 @@ +import { Event, SentryRequest, Session, SessionAggregates } from '@sentry/types'; +import { APIDetails } from './api'; +/** Creates a SentryRequest from a Session. */ +export declare function sessionToSentryRequest(session: Session | SessionAggregates, api: APIDetails): SentryRequest; +/** Creates a SentryRequest from an event. */ +export declare function eventToSentryRequest(event: Event, api: APIDetails): SentryRequest; +//# sourceMappingURL=request.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/request.d.ts.map b/node_modules/@sentry/core/dist/request.d.ts.map new file mode 100644 index 000000000..2c4527508 --- /dev/null +++ b/node_modules/@sentry/core/dist/request.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAW,aAAa,EAAqB,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAG7G,OAAO,EAAE,UAAU,EAA6E,MAAM,OAAO,CAAC;AA2B9G,8CAA8C;AAC9C,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,EAAE,GAAG,EAAE,UAAU,GAAG,aAAa,CAkB3G;AAED,6CAA6C;AAC7C,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,GAAG,aAAa,CAkHjF"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/request.js b/node_modules/@sentry/core/dist/request.js new file mode 100644 index 000000000..0de37040e --- /dev/null +++ b/node_modules/@sentry/core/dist/request.js @@ -0,0 +1,134 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +var api_1 = require("./api"); +/** Extract sdk info from from the API metadata */ +function getSdkMetadataForEnvelopeHeader(api) { + if (!api.metadata || !api.metadata.sdk) { + return; + } + var _a = api.metadata.sdk, name = _a.name, version = _a.version; + return { name: name, version: version }; +} +/** + * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key. + * Merge with existing data if any. + **/ +function enhanceEventWithSdkInfo(event, sdkInfo) { + if (!sdkInfo) { + return event; + } + event.sdk = event.sdk || {}; + event.sdk.name = event.sdk.name || sdkInfo.name; + event.sdk.version = event.sdk.version || sdkInfo.version; + event.sdk.integrations = tslib_1.__spread((event.sdk.integrations || []), (sdkInfo.integrations || [])); + event.sdk.packages = tslib_1.__spread((event.sdk.packages || []), (sdkInfo.packages || [])); + return event; +} +/** Creates a SentryRequest from a Session. */ +function sessionToSentryRequest(session, api) { + var sdkInfo = getSdkMetadataForEnvelopeHeader(api); + var envelopeHeaders = JSON.stringify(tslib_1.__assign(tslib_1.__assign({ sent_at: new Date().toISOString() }, (sdkInfo && { sdk: sdkInfo })), (!!api.tunnel && { dsn: utils_1.dsnToString(api.dsn) }))); + // I know this is hacky but we don't want to add `session` to request type since it's never rate limited + var type = 'aggregates' in session ? 'sessions' : 'session'; + var itemHeaders = JSON.stringify({ + type: type, + }); + return { + body: envelopeHeaders + "\n" + itemHeaders + "\n" + JSON.stringify(session), + type: type, + url: api_1.getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel), + }; +} +exports.sessionToSentryRequest = sessionToSentryRequest; +/** Creates a SentryRequest from an event. */ +function eventToSentryRequest(event, api) { + var sdkInfo = getSdkMetadataForEnvelopeHeader(api); + var eventType = event.type || 'event'; + var useEnvelope = eventType === 'transaction' || !!api.tunnel; + var transactionSampling = (event.sdkProcessingMetadata || {}).transactionSampling; + var _a = transactionSampling || {}, samplingMethod = _a.method, sampleRate = _a.rate; + // TODO: Below is a temporary hack in order to debug a serialization error - see + // https://github.com/getsentry/sentry-javascript/issues/2809, + // https://github.com/getsentry/sentry-javascript/pull/4425, and + // https://github.com/getsentry/sentry-javascript/pull/4574. + // + // TL; DR: even though we normalize all events (which should prevent this), something is causing `JSON.stringify` to + // throw a circular reference error. + // + // When it's time to remove it: + // 1. Delete everything between here and where the request object `req` is created, EXCEPT the line deleting + // `sdkProcessingMetadata` + // 2. Restore the original version of the request body, which is commented out + // 3. Search for either of the PR URLs above and pull out the companion hacks in the browser playwright tests and the + // baseClient tests in this package + enhanceEventWithSdkInfo(event, api.metadata.sdk); + event.tags = event.tags || {}; + event.extra = event.extra || {}; + // In theory, all events should be marked as having gone through normalization and so + // we should never set this tag/extra data + if (!(event.sdkProcessingMetadata && event.sdkProcessingMetadata.baseClientNormalized)) { + event.tags.skippedNormalization = true; + event.extra.normalizeDepth = event.sdkProcessingMetadata ? event.sdkProcessingMetadata.normalizeDepth : 'unset'; + } + // prevent this data from being sent to sentry + // TODO: This is NOT part of the hack - DO NOT DELETE + delete event.sdkProcessingMetadata; + var body; + try { + // 99.9% of events should get through just fine - no change in behavior for them + body = JSON.stringify(event); + } + catch (err) { + // Record data about the error without replacing original event data, then force renormalization + event.tags.JSONStringifyError = true; + event.extra.JSONStringifyError = err; + try { + body = JSON.stringify(utils_1.normalize(event)); + } + catch (newErr) { + // At this point even renormalization hasn't worked, meaning something about the event data has gone very wrong. + // Time to cut our losses and record only the new error. With luck, even in the problematic cases we're trying to + // debug with this hack, we won't ever land here. + var innerErr = newErr; + body = JSON.stringify({ + message: 'JSON.stringify error after renormalization', + // setting `extra: { innerErr }` here for some reason results in an empty object, so unpack manually + extra: { message: innerErr.message, stack: innerErr.stack }, + }); + } + } + var req = { + // this is the relevant line of code before the hack was added, to make it easy to undo said hack once we've solved + // the mystery + // body: JSON.stringify(sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event), + body: body, + type: eventType, + url: useEnvelope + ? api_1.getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel) + : api_1.getStoreEndpointWithUrlEncodedAuth(api.dsn), + }; + // https://develop.sentry.dev/sdk/envelopes/ + // Since we don't need to manipulate envelopes nor store them, there is no + // exported concept of an Envelope with operations including serialization and + // deserialization. Instead, we only implement a minimal subset of the spec to + // serialize events inline here. + if (useEnvelope) { + var envelopeHeaders = JSON.stringify(tslib_1.__assign(tslib_1.__assign({ event_id: event.event_id, sent_at: new Date().toISOString() }, (sdkInfo && { sdk: sdkInfo })), (!!api.tunnel && { dsn: utils_1.dsnToString(api.dsn) }))); + var itemHeaders = JSON.stringify({ + type: eventType, + // TODO: Right now, sampleRate may or may not be defined (it won't be in the cases of inheritance and + // explicitly-set sampling decisions). Are we good with that? + sample_rates: [{ id: samplingMethod, rate: sampleRate }], + }); + // The trailing newline is optional. We intentionally don't send it to avoid + // sending unnecessary bytes. + // + // const envelope = `${envelopeHeaders}\n${itemHeaders}\n${req.body}\n`; + var envelope = envelopeHeaders + "\n" + itemHeaders + "\n" + req.body; + req.body = envelope; + } + return req; +} +exports.eventToSentryRequest = eventToSentryRequest; +//# sourceMappingURL=request.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/request.js.map b/node_modules/@sentry/core/dist/request.js.map new file mode 100644 index 000000000..ccef35747 --- /dev/null +++ b/node_modules/@sentry/core/dist/request.js.map @@ -0,0 +1 @@ +{"version":3,"file":"request.js","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"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","sourcesContent":["import { Event, SdkInfo, SentryRequest, SentryRequestType, Session, SessionAggregates } from '@sentry/types';\nimport { dsnToString, normalize } from '@sentry/utils';\n\nimport { APIDetails, getEnvelopeEndpointWithUrlEncodedAuth, getStoreEndpointWithUrlEncodedAuth } from './api';\n\n/** Extract sdk info from from the API metadata */\nfunction getSdkMetadataForEnvelopeHeader(api: APIDetails): SdkInfo | undefined {\n if (!api.metadata || !api.metadata.sdk) {\n return;\n }\n const { name, version } = api.metadata.sdk;\n return { name, version };\n}\n\n/**\n * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key.\n * Merge with existing data if any.\n **/\nfunction enhanceEventWithSdkInfo(event: Event, sdkInfo?: SdkInfo): Event {\n if (!sdkInfo) {\n return event;\n }\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || sdkInfo.name;\n event.sdk.version = event.sdk.version || sdkInfo.version;\n event.sdk.integrations = [...(event.sdk.integrations || []), ...(sdkInfo.integrations || [])];\n event.sdk.packages = [...(event.sdk.packages || []), ...(sdkInfo.packages || [])];\n return event;\n}\n\n/** Creates a SentryRequest from a Session. */\nexport function sessionToSentryRequest(session: Session | SessionAggregates, api: APIDetails): SentryRequest {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(api);\n const envelopeHeaders = JSON.stringify({\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!api.tunnel && { dsn: dsnToString(api.dsn) }),\n });\n // I know this is hacky but we don't want to add `session` to request type since it's never rate limited\n const type: SentryRequestType = 'aggregates' in session ? ('sessions' as SentryRequestType) : 'session';\n const itemHeaders = JSON.stringify({\n type,\n });\n\n return {\n body: `${envelopeHeaders}\\n${itemHeaders}\\n${JSON.stringify(session)}`,\n type,\n url: getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel),\n };\n}\n\n/** Creates a SentryRequest from an event. */\nexport function eventToSentryRequest(event: Event, api: APIDetails): SentryRequest {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(api);\n const eventType = event.type || 'event';\n const useEnvelope = eventType === 'transaction' || !!api.tunnel;\n\n const { transactionSampling } = event.sdkProcessingMetadata || {};\n const { method: samplingMethod, rate: sampleRate } = transactionSampling || {};\n\n // TODO: Below is a temporary hack in order to debug a serialization error - see\n // https://github.com/getsentry/sentry-javascript/issues/2809,\n // https://github.com/getsentry/sentry-javascript/pull/4425, and\n // https://github.com/getsentry/sentry-javascript/pull/4574.\n //\n // TL; DR: even though we normalize all events (which should prevent this), something is causing `JSON.stringify` to\n // throw a circular reference error.\n //\n // When it's time to remove it:\n // 1. Delete everything between here and where the request object `req` is created, EXCEPT the line deleting\n // `sdkProcessingMetadata`\n // 2. Restore the original version of the request body, which is commented out\n // 3. Search for either of the PR URLs above and pull out the companion hacks in the browser playwright tests and the\n // baseClient tests in this package\n enhanceEventWithSdkInfo(event, api.metadata.sdk);\n event.tags = event.tags || {};\n event.extra = event.extra || {};\n\n // In theory, all events should be marked as having gone through normalization and so\n // we should never set this tag/extra data\n if (!(event.sdkProcessingMetadata && event.sdkProcessingMetadata.baseClientNormalized)) {\n event.tags.skippedNormalization = true;\n event.extra.normalizeDepth = event.sdkProcessingMetadata ? event.sdkProcessingMetadata.normalizeDepth : 'unset';\n }\n\n // prevent this data from being sent to sentry\n // TODO: This is NOT part of the hack - DO NOT DELETE\n delete event.sdkProcessingMetadata;\n\n let body;\n try {\n // 99.9% of events should get through just fine - no change in behavior for them\n body = JSON.stringify(event);\n } catch (err) {\n // Record data about the error without replacing original event data, then force renormalization\n event.tags.JSONStringifyError = true;\n event.extra.JSONStringifyError = err;\n try {\n body = JSON.stringify(normalize(event));\n } catch (newErr) {\n // At this point even renormalization hasn't worked, meaning something about the event data has gone very wrong.\n // Time to cut our losses and record only the new error. With luck, even in the problematic cases we're trying to\n // debug with this hack, we won't ever land here.\n const innerErr = newErr as Error;\n body = JSON.stringify({\n message: 'JSON.stringify error after renormalization',\n // setting `extra: { innerErr }` here for some reason results in an empty object, so unpack manually\n extra: { message: innerErr.message, stack: innerErr.stack },\n });\n }\n }\n\n const req: SentryRequest = {\n // this is the relevant line of code before the hack was added, to make it easy to undo said hack once we've solved\n // the mystery\n // body: JSON.stringify(sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event),\n body,\n type: eventType,\n url: useEnvelope\n ? getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel)\n : getStoreEndpointWithUrlEncodedAuth(api.dsn),\n };\n\n // https://develop.sentry.dev/sdk/envelopes/\n\n // Since we don't need to manipulate envelopes nor store them, there is no\n // exported concept of an Envelope with operations including serialization and\n // deserialization. Instead, we only implement a minimal subset of the spec to\n // serialize events inline here.\n if (useEnvelope) {\n const envelopeHeaders = JSON.stringify({\n event_id: event.event_id,\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!api.tunnel && { dsn: dsnToString(api.dsn) }),\n });\n const itemHeaders = JSON.stringify({\n type: eventType,\n\n // TODO: Right now, sampleRate may or may not be defined (it won't be in the cases of inheritance and\n // explicitly-set sampling decisions). Are we good with that?\n sample_rates: [{ id: samplingMethod, rate: sampleRate }],\n\n // The content-type is assumed to be 'application/json' and not part of\n // the current spec for transaction items, so we don't bloat the request\n // body with it.\n //\n // content_type: 'application/json',\n //\n // The length is optional. It must be the number of bytes in req.Body\n // encoded as UTF-8. Since the server can figure this out and would\n // otherwise refuse events that report the length incorrectly, we decided\n // not to send the length to avoid problems related to reporting the wrong\n // size and to reduce request body size.\n //\n // length: new TextEncoder().encode(req.body).length,\n });\n // The trailing newline is optional. We intentionally don't send it to avoid\n // sending unnecessary bytes.\n //\n // const envelope = `${envelopeHeaders}\\n${itemHeaders}\\n${req.body}\\n`;\n const envelope = `${envelopeHeaders}\\n${itemHeaders}\\n${req.body}`;\n req.body = envelope;\n }\n\n return req;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/sdk.d.ts b/node_modules/@sentry/core/dist/sdk.d.ts new file mode 100644 index 000000000..01e5588ac --- /dev/null +++ b/node_modules/@sentry/core/dist/sdk.d.ts @@ -0,0 +1,12 @@ +import { Client, Options } from '@sentry/types'; +/** A class object that can instantiate Client objects. */ +export declare type ClientClass = new (options: O) => F; +/** + * Internal function to create a new SDK client instance. The client is + * installed and then bound to the current scope. + * + * @param clientClass The client class to instantiate. + * @param options Options to pass to the client. + */ +export declare function initAndBind(clientClass: ClientClass, options: O): void; +//# sourceMappingURL=sdk.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/sdk.d.ts.map b/node_modules/@sentry/core/dist/sdk.d.ts.map new file mode 100644 index 000000000..3a9fb9ded --- /dev/null +++ b/node_modules/@sentry/core/dist/sdk.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGhD,0DAA0D;AAC1D,oBAAY,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,IAAI,KAAK,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;AAErF;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,CAWjH"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/sdk.js b/node_modules/@sentry/core/dist/sdk.js new file mode 100644 index 000000000..6780cd211 --- /dev/null +++ b/node_modules/@sentry/core/dist/sdk.js @@ -0,0 +1,24 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var hub_1 = require("@sentry/hub"); +var utils_1 = require("@sentry/utils"); +/** + * Internal function to create a new SDK client instance. The client is + * installed and then bound to the current scope. + * + * @param clientClass The client class to instantiate. + * @param options Options to pass to the client. + */ +function initAndBind(clientClass, options) { + if (options.debug === true) { + utils_1.logger.enable(); + } + var hub = hub_1.getCurrentHub(); + var scope = hub.getScope(); + if (scope) { + scope.update(options.initialScope); + } + var client = new clientClass(options); + hub.bindClient(client); +} +exports.initAndBind = initAndBind; +//# sourceMappingURL=sdk.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/sdk.js.map b/node_modules/@sentry/core/dist/sdk.js.map new file mode 100644 index 000000000..684f522d4 --- /dev/null +++ b/node_modules/@sentry/core/dist/sdk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk.ts"],"names":[],"mappings":";AAAA,mCAA4C;AAE5C,uCAAuC;AAKvC;;;;;;GAMG;AACH,SAAgB,WAAW,CAAsC,WAA8B,EAAE,OAAU;IACzG,IAAI,OAAO,CAAC,KAAK,KAAK,IAAI,EAAE;QAC1B,cAAM,CAAC,MAAM,EAAE,CAAC;KACjB;IACD,IAAM,GAAG,GAAG,mBAAa,EAAE,CAAC;IAC5B,IAAM,KAAK,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;IAC7B,IAAI,KAAK,EAAE;QACT,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;KACpC;IACD,IAAM,MAAM,GAAG,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC;IACxC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACzB,CAAC;AAXD,kCAWC","sourcesContent":["import { getCurrentHub } from '@sentry/hub';\nimport { Client, Options } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\n/** A class object that can instantiate Client objects. */\nexport type ClientClass = new (options: O) => F;\n\n/**\n * Internal function to create a new SDK client instance. The client is\n * installed and then bound to the current scope.\n *\n * @param clientClass The client class to instantiate.\n * @param options Options to pass to the client.\n */\nexport function initAndBind(clientClass: ClientClass, options: O): void {\n if (options.debug === true) {\n logger.enable();\n }\n const hub = getCurrentHub();\n const scope = hub.getScope();\n if (scope) {\n scope.update(options.initialScope);\n }\n const client = new clientClass(options);\n hub.bindClient(client);\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/transports/noop.d.ts b/node_modules/@sentry/core/dist/transports/noop.d.ts new file mode 100644 index 000000000..7b517684b --- /dev/null +++ b/node_modules/@sentry/core/dist/transports/noop.d.ts @@ -0,0 +1,13 @@ +import { Event, Response, Transport } from '@sentry/types'; +/** Noop transport */ +export declare class NoopTransport implements Transport { + /** + * @inheritDoc + */ + sendEvent(_: Event): PromiseLike; + /** + * @inheritDoc + */ + close(_?: number): PromiseLike; +} +//# sourceMappingURL=noop.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/transports/noop.d.ts.map b/node_modules/@sentry/core/dist/transports/noop.d.ts.map new file mode 100644 index 000000000..b4e62dc6f --- /dev/null +++ b/node_modules/@sentry/core/dist/transports/noop.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"noop.d.ts","sourceRoot":"","sources":["../../src/transports/noop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG3D,qBAAqB;AACrB,qBAAa,aAAc,YAAW,SAAS;IAC7C;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC;IAOjD;;OAEG;IACI,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC;CAG/C"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/transports/noop.js b/node_modules/@sentry/core/dist/transports/noop.js new file mode 100644 index 000000000..d96082ea5 --- /dev/null +++ b/node_modules/@sentry/core/dist/transports/noop.js @@ -0,0 +1,25 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +/** Noop transport */ +var NoopTransport = /** @class */ (function () { + function NoopTransport() { + } + /** + * @inheritDoc + */ + NoopTransport.prototype.sendEvent = function (_) { + return utils_1.resolvedSyncPromise({ + reason: "NoopTransport: Event has been skipped because no Dsn is configured.", + status: 'skipped', + }); + }; + /** + * @inheritDoc + */ + NoopTransport.prototype.close = function (_) { + return utils_1.resolvedSyncPromise(true); + }; + return NoopTransport; +}()); +exports.NoopTransport = NoopTransport; +//# sourceMappingURL=noop.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/transports/noop.js.map b/node_modules/@sentry/core/dist/transports/noop.js.map new file mode 100644 index 000000000..55e793cd0 --- /dev/null +++ b/node_modules/@sentry/core/dist/transports/noop.js.map @@ -0,0 +1 @@ +{"version":3,"file":"noop.js","sourceRoot":"","sources":["../../src/transports/noop.ts"],"names":[],"mappings":";AACA,uCAAoD;AAEpD,qBAAqB;AACrB;IAAA;IAiBA,CAAC;IAhBC;;OAEG;IACI,iCAAS,GAAhB,UAAiB,CAAQ;QACvB,OAAO,2BAAmB,CAAC;YACzB,MAAM,EAAE,qEAAqE;YAC7E,MAAM,EAAE,SAAS;SAClB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACI,6BAAK,GAAZ,UAAa,CAAU;QACrB,OAAO,2BAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACH,oBAAC;AAAD,CAAC,AAjBD,IAiBC;AAjBY,sCAAa","sourcesContent":["import { Event, Response, Transport } from '@sentry/types';\nimport { resolvedSyncPromise } from '@sentry/utils';\n\n/** Noop transport */\nexport class NoopTransport implements Transport {\n /**\n * @inheritDoc\n */\n public sendEvent(_: Event): PromiseLike {\n return resolvedSyncPromise({\n reason: `NoopTransport: Event has been skipped because no Dsn is configured.`,\n status: 'skipped',\n });\n }\n\n /**\n * @inheritDoc\n */\n public close(_?: number): PromiseLike {\n return resolvedSyncPromise(true);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/version.d.ts b/node_modules/@sentry/core/dist/version.d.ts new file mode 100644 index 000000000..91fa8c825 --- /dev/null +++ b/node_modules/@sentry/core/dist/version.d.ts @@ -0,0 +1,2 @@ +export declare const SDK_VERSION = "6.17.9"; +//# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/version.d.ts.map b/node_modules/@sentry/core/dist/version.d.ts.map new file mode 100644 index 000000000..3afc6d88d --- /dev/null +++ b/node_modules/@sentry/core/dist/version.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/version.js b/node_modules/@sentry/core/dist/version.js new file mode 100644 index 000000000..0b9ae9051 --- /dev/null +++ b/node_modules/@sentry/core/dist/version.js @@ -0,0 +1,3 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SDK_VERSION = '6.17.9'; +//# sourceMappingURL=version.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/dist/version.js.map b/node_modules/@sentry/core/dist/version.js.map new file mode 100644 index 000000000..efc8576a2 --- /dev/null +++ b/node_modules/@sentry/core/dist/version.js.map @@ -0,0 +1 @@ +{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";AAAa,QAAA,WAAW,GAAG,QAAQ,CAAC","sourcesContent":["export const SDK_VERSION = '6.17.9';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/api.d.ts b/node_modules/@sentry/core/esm/api.d.ts new file mode 100644 index 000000000..31182d622 --- /dev/null +++ b/node_modules/@sentry/core/esm/api.d.ts @@ -0,0 +1,83 @@ +import { DsnComponents, DsnLike, SdkMetadata } from '@sentry/types'; +/** + * Stores details about a Sentry SDK + */ +export interface APIDetails { + /** The DSN as passed to Sentry.init() */ + initDsn: DsnLike; + /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */ + metadata: SdkMetadata; + /** The internally used Dsn object. */ + readonly dsn: DsnComponents; + /** The envelope tunnel to use. */ + readonly tunnel?: string; +} +/** + * Helper class to provide urls, headers and metadata that can be used to form + * different types of requests to Sentry endpoints. + * Supports both envelopes and regular event requests. + * + * @deprecated Please use APIDetails + **/ +export declare class API { + /** The DSN as passed to Sentry.init() */ + dsn: DsnLike; + /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */ + metadata: SdkMetadata; + /** The internally used Dsn object. */ + private readonly _dsnObject; + /** The envelope tunnel to use. */ + private readonly _tunnel?; + /** Create a new instance of API */ + constructor(dsn: DsnLike, metadata?: SdkMetadata, tunnel?: string); + /** Returns the Dsn object. */ + getDsn(): DsnComponents; + /** Does this transport force envelopes? */ + forceEnvelope(): boolean; + /** Returns the prefix to construct Sentry ingestion API endpoints. */ + getBaseApiEndpoint(): string; + /** Returns the store endpoint URL. */ + getStoreEndpoint(): string; + /** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + getStoreEndpointWithUrlEncodedAuth(): string; + /** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + getEnvelopeEndpointWithUrlEncodedAuth(): string; +} +/** Initializes API Details */ +export declare function initAPIDetails(dsn: DsnLike, metadata?: SdkMetadata, tunnel?: string): APIDetails; +/** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ +export declare function getStoreEndpointWithUrlEncodedAuth(dsn: DsnComponents): string; +/** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ +export declare function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string): string; +/** + * Returns an object that can be used in request headers. + * This is needed for node and the old /store endpoint in sentry + */ +export declare function getRequestHeaders(dsn: DsnComponents, clientName: string, clientVersion: string): { + [key: string]: string; +}; +/** Returns the url to the report dialog endpoint. */ +export declare function getReportDialogEndpoint(dsnLike: DsnLike, dialogOptions: { + [key: string]: any; + user?: { + name?: string; + email?: string; + }; +}): string; +//# sourceMappingURL=api.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/api.d.ts.map b/node_modules/@sentry/core/esm/api.d.ts.map new file mode 100644 index 000000000..db35010b9 --- /dev/null +++ b/node_modules/@sentry/core/esm/api.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKpE;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,oFAAoF;IACpF,QAAQ,EAAE,WAAW,CAAC;IACtB,sCAAsC;IACtC,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;IAC5B,kCAAkC;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;IAMI;AACJ,qBAAa,GAAG;IACd,yCAAyC;IAClC,GAAG,EAAE,OAAO,CAAC;IAEpB,oFAAoF;IAC7E,QAAQ,EAAE,WAAW,CAAC;IAE7B,sCAAsC;IACtC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;IAE3C,kCAAkC;IAClC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAS;IAElC,mCAAmC;gBAChB,GAAG,EAAE,OAAO,EAAE,QAAQ,GAAE,WAAgB,EAAE,MAAM,CAAC,EAAE,MAAM;IAO5E,8BAA8B;IACvB,MAAM,IAAI,aAAa;IAI9B,2CAA2C;IACpC,aAAa,IAAI,OAAO;IAI/B,sEAAsE;IAC/D,kBAAkB,IAAI,MAAM;IAInC,sCAAsC;IAC/B,gBAAgB,IAAI,MAAM;IAIjC;;;;OAIG;IACI,kCAAkC,IAAI,MAAM;IAInD;;;;OAIG;IACI,qCAAqC,IAAI,MAAM;CAGvD;AAED,8BAA8B;AAC9B,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAOhG;AA6BD;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAE7E;AAOD;;;;GAIG;AACH,wBAAgB,qCAAqC,CAAC,GAAG,EAAE,aAAa,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEjG;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,aAAa,EAClB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,GACpB;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAY3B;AAED,qDAAqD;AACrD,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE;IAEb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,IAAI,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC1C,GACA,MAAM,CA0BR"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/api.js b/node_modules/@sentry/core/esm/api.js new file mode 100644 index 000000000..4c8291568 --- /dev/null +++ b/node_modules/@sentry/core/esm/api.js @@ -0,0 +1,149 @@ +import { dsnToString, makeDsn, urlEncode } from '@sentry/utils'; +var SENTRY_API_VERSION = '7'; +/** + * Helper class to provide urls, headers and metadata that can be used to form + * different types of requests to Sentry endpoints. + * Supports both envelopes and regular event requests. + * + * @deprecated Please use APIDetails + **/ +var API = /** @class */ (function () { + /** Create a new instance of API */ + function API(dsn, metadata, tunnel) { + if (metadata === void 0) { metadata = {}; } + this.dsn = dsn; + this._dsnObject = makeDsn(dsn); + this.metadata = metadata; + this._tunnel = tunnel; + } + /** Returns the Dsn object. */ + API.prototype.getDsn = function () { + return this._dsnObject; + }; + /** Does this transport force envelopes? */ + API.prototype.forceEnvelope = function () { + return !!this._tunnel; + }; + /** Returns the prefix to construct Sentry ingestion API endpoints. */ + API.prototype.getBaseApiEndpoint = function () { + return getBaseApiEndpoint(this._dsnObject); + }; + /** Returns the store endpoint URL. */ + API.prototype.getStoreEndpoint = function () { + return getStoreEndpoint(this._dsnObject); + }; + /** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + API.prototype.getStoreEndpointWithUrlEncodedAuth = function () { + return getStoreEndpointWithUrlEncodedAuth(this._dsnObject); + }; + /** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + API.prototype.getEnvelopeEndpointWithUrlEncodedAuth = function () { + return getEnvelopeEndpointWithUrlEncodedAuth(this._dsnObject, this._tunnel); + }; + return API; +}()); +export { API }; +/** Initializes API Details */ +export function initAPIDetails(dsn, metadata, tunnel) { + return { + initDsn: dsn, + metadata: metadata || {}, + dsn: makeDsn(dsn), + tunnel: tunnel, + }; +} +/** Returns the prefix to construct Sentry ingestion API endpoints. */ +function getBaseApiEndpoint(dsn) { + var protocol = dsn.protocol ? dsn.protocol + ":" : ''; + var port = dsn.port ? ":" + dsn.port : ''; + return protocol + "//" + dsn.host + port + (dsn.path ? "/" + dsn.path : '') + "/api/"; +} +/** Returns the ingest API endpoint for target. */ +function _getIngestEndpoint(dsn, target) { + return "" + getBaseApiEndpoint(dsn) + dsn.projectId + "/" + target + "/"; +} +/** Returns a URL-encoded string with auth config suitable for a query string. */ +function _encodedAuth(dsn) { + return urlEncode({ + // We send only the minimum set of required information. See + // https://github.com/getsentry/sentry-javascript/issues/2572. + sentry_key: dsn.publicKey, + sentry_version: SENTRY_API_VERSION, + }); +} +/** Returns the store endpoint URL. */ +function getStoreEndpoint(dsn) { + return _getIngestEndpoint(dsn, 'store'); +} +/** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ +export function getStoreEndpointWithUrlEncodedAuth(dsn) { + return getStoreEndpoint(dsn) + "?" + _encodedAuth(dsn); +} +/** Returns the envelope endpoint URL. */ +function _getEnvelopeEndpoint(dsn) { + return _getIngestEndpoint(dsn, 'envelope'); +} +/** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ +export function getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnel) { + return tunnel ? tunnel : _getEnvelopeEndpoint(dsn) + "?" + _encodedAuth(dsn); +} +/** + * Returns an object that can be used in request headers. + * This is needed for node and the old /store endpoint in sentry + */ +export function getRequestHeaders(dsn, clientName, clientVersion) { + // CHANGE THIS to use metadata but keep clientName and clientVersion compatible + var header = ["Sentry sentry_version=" + SENTRY_API_VERSION]; + header.push("sentry_client=" + clientName + "/" + clientVersion); + header.push("sentry_key=" + dsn.publicKey); + if (dsn.pass) { + header.push("sentry_secret=" + dsn.pass); + } + return { + 'Content-Type': 'application/json', + 'X-Sentry-Auth': header.join(', '), + }; +} +/** Returns the url to the report dialog endpoint. */ +export function getReportDialogEndpoint(dsnLike, dialogOptions) { + var dsn = makeDsn(dsnLike); + var endpoint = getBaseApiEndpoint(dsn) + "embed/error-page/"; + var encodedOptions = "dsn=" + dsnToString(dsn); + for (var key in dialogOptions) { + if (key === 'dsn') { + continue; + } + if (key === 'user') { + if (!dialogOptions.user) { + continue; + } + if (dialogOptions.user.name) { + encodedOptions += "&name=" + encodeURIComponent(dialogOptions.user.name); + } + if (dialogOptions.user.email) { + encodedOptions += "&email=" + encodeURIComponent(dialogOptions.user.email); + } + } + else { + encodedOptions += "&" + encodeURIComponent(key) + "=" + encodeURIComponent(dialogOptions[key]); + } + } + return endpoint + "?" + encodedOptions; +} +//# sourceMappingURL=api.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/api.js.map b/node_modules/@sentry/core/esm/api.js.map new file mode 100644 index 000000000..1c296a3e7 --- /dev/null +++ b/node_modules/@sentry/core/esm/api.js.map @@ -0,0 +1 @@ +{"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"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","sourcesContent":["import { DsnComponents, DsnLike, SdkMetadata } from '@sentry/types';\nimport { dsnToString, makeDsn, urlEncode } from '@sentry/utils';\n\nconst SENTRY_API_VERSION = '7';\n\n/**\n * Stores details about a Sentry SDK\n */\nexport interface APIDetails {\n /** The DSN as passed to Sentry.init() */\n initDsn: DsnLike;\n /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */\n metadata: SdkMetadata;\n /** The internally used Dsn object. */\n readonly dsn: DsnComponents;\n /** The envelope tunnel to use. */\n readonly tunnel?: string;\n}\n\n/**\n * Helper class to provide urls, headers and metadata that can be used to form\n * different types of requests to Sentry endpoints.\n * Supports both envelopes and regular event requests.\n *\n * @deprecated Please use APIDetails\n **/\nexport class API {\n /** The DSN as passed to Sentry.init() */\n public dsn: DsnLike;\n\n /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */\n public metadata: SdkMetadata;\n\n /** The internally used Dsn object. */\n private readonly _dsnObject: DsnComponents;\n\n /** The envelope tunnel to use. */\n private readonly _tunnel?: string;\n\n /** Create a new instance of API */\n public constructor(dsn: DsnLike, metadata: SdkMetadata = {}, tunnel?: string) {\n this.dsn = dsn;\n this._dsnObject = makeDsn(dsn);\n this.metadata = metadata;\n this._tunnel = tunnel;\n }\n\n /** Returns the Dsn object. */\n public getDsn(): DsnComponents {\n return this._dsnObject;\n }\n\n /** Does this transport force envelopes? */\n public forceEnvelope(): boolean {\n return !!this._tunnel;\n }\n\n /** Returns the prefix to construct Sentry ingestion API endpoints. */\n public getBaseApiEndpoint(): string {\n return getBaseApiEndpoint(this._dsnObject);\n }\n\n /** Returns the store endpoint URL. */\n public getStoreEndpoint(): string {\n return getStoreEndpoint(this._dsnObject);\n }\n\n /**\n * Returns the store endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n public getStoreEndpointWithUrlEncodedAuth(): string {\n return getStoreEndpointWithUrlEncodedAuth(this._dsnObject);\n }\n\n /**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n public getEnvelopeEndpointWithUrlEncodedAuth(): string {\n return getEnvelopeEndpointWithUrlEncodedAuth(this._dsnObject, this._tunnel);\n }\n}\n\n/** Initializes API Details */\nexport function initAPIDetails(dsn: DsnLike, metadata?: SdkMetadata, tunnel?: string): APIDetails {\n return {\n initDsn: dsn,\n metadata: metadata || {},\n dsn: makeDsn(dsn),\n tunnel,\n } as APIDetails;\n}\n\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\nfunction getBaseApiEndpoint(dsn: DsnComponents): string {\n const protocol = dsn.protocol ? `${dsn.protocol}:` : '';\n const port = dsn.port ? `:${dsn.port}` : '';\n return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : ''}/api/`;\n}\n\n/** Returns the ingest API endpoint for target. */\nfunction _getIngestEndpoint(dsn: DsnComponents, target: 'store' | 'envelope'): string {\n return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/${target}/`;\n}\n\n/** Returns a URL-encoded string with auth config suitable for a query string. */\nfunction _encodedAuth(dsn: DsnComponents): string {\n return urlEncode({\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n sentry_key: dsn.publicKey,\n sentry_version: SENTRY_API_VERSION,\n });\n}\n\n/** Returns the store endpoint URL. */\nfunction getStoreEndpoint(dsn: DsnComponents): string {\n return _getIngestEndpoint(dsn, 'store');\n}\n\n/**\n * Returns the store endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getStoreEndpointWithUrlEncodedAuth(dsn: DsnComponents): string {\n return `${getStoreEndpoint(dsn)}?${_encodedAuth(dsn)}`;\n}\n\n/** Returns the envelope endpoint URL. */\nfunction _getEnvelopeEndpoint(dsn: DsnComponents): string {\n return _getIngestEndpoint(dsn, 'envelope');\n}\n\n/**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string): string {\n return tunnel ? tunnel : `${_getEnvelopeEndpoint(dsn)}?${_encodedAuth(dsn)}`;\n}\n\n/**\n * Returns an object that can be used in request headers.\n * This is needed for node and the old /store endpoint in sentry\n */\nexport function getRequestHeaders(\n dsn: DsnComponents,\n clientName: string,\n clientVersion: string,\n): { [key: string]: string } {\n // CHANGE THIS to use metadata but keep clientName and clientVersion compatible\n const header = [`Sentry sentry_version=${SENTRY_API_VERSION}`];\n header.push(`sentry_client=${clientName}/${clientVersion}`);\n header.push(`sentry_key=${dsn.publicKey}`);\n if (dsn.pass) {\n header.push(`sentry_secret=${dsn.pass}`);\n }\n return {\n 'Content-Type': 'application/json',\n 'X-Sentry-Auth': header.join(', '),\n };\n}\n\n/** Returns the url to the report dialog endpoint. */\nexport function getReportDialogEndpoint(\n dsnLike: DsnLike,\n dialogOptions: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n user?: { name?: string; email?: string };\n },\n): string {\n const dsn = makeDsn(dsnLike);\n const endpoint = `${getBaseApiEndpoint(dsn)}embed/error-page/`;\n\n let encodedOptions = `dsn=${dsnToString(dsn)}`;\n for (const key in dialogOptions) {\n if (key === 'dsn') {\n continue;\n }\n\n if (key === 'user') {\n if (!dialogOptions.user) {\n continue;\n }\n if (dialogOptions.user.name) {\n encodedOptions += `&name=${encodeURIComponent(dialogOptions.user.name)}`;\n }\n if (dialogOptions.user.email) {\n encodedOptions += `&email=${encodeURIComponent(dialogOptions.user.email)}`;\n }\n } else {\n encodedOptions += `&${encodeURIComponent(key)}=${encodeURIComponent(dialogOptions[key] as string)}`;\n }\n }\n\n return `${endpoint}?${encodedOptions}`;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/basebackend.d.ts b/node_modules/@sentry/core/esm/basebackend.d.ts new file mode 100644 index 000000000..ef3403ee8 --- /dev/null +++ b/node_modules/@sentry/core/esm/basebackend.d.ts @@ -0,0 +1,80 @@ +import { Event, EventHint, Options, Session, Severity, Transport } from '@sentry/types'; +/** + * Internal platform-dependent Sentry SDK Backend. + * + * While {@link Client} contains business logic specific to an SDK, the + * Backend offers platform specific implementations for low-level operations. + * These are persisting and loading information, sending events, and hooking + * into the environment. + * + * Backends receive a handle to the Client in their constructor. When a + * Backend automatically generates events, it must pass them to + * the Client for validation and processing first. + * + * Usually, the Client will be of corresponding type, e.g. NodeBackend + * receives NodeClient. However, higher-level SDKs can choose to instantiate + * multiple Backends and delegate tasks between them. In this case, an event + * generated by one backend might very well be sent by another one. + * + * The client also provides access to options via {@link Client.getOptions}. + * @hidden + */ +export interface Backend { + /** Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`. */ + eventFromException(exception: any, hint?: EventHint): PromiseLike; + /** Creates an {@link Event} from primitive inputs to `captureMessage`. */ + eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike; + /** Submits the event to Sentry */ + sendEvent(event: Event): void; + /** Submits the session to Sentry */ + sendSession(session: Session): void; + /** + * Returns the transport that is used by the backend. + * Please note that the transport gets lazy initialized so it will only be there once the first event has been sent. + * + * @returns The transport. + */ + getTransport(): Transport; +} +/** + * A class object that can instantiate Backend objects. + * @hidden + */ +export declare type BackendClass = new (options: O) => B; +/** + * This is the base implemention of a Backend. + * @hidden + */ +export declare abstract class BaseBackend implements Backend { + /** Options passed to the SDK. */ + protected readonly _options: O; + /** Cached transport used internally. */ + protected _transport: Transport; + /** Creates a new backend instance. */ + constructor(options: O); + /** + * @inheritDoc + */ + eventFromException(_exception: any, _hint?: EventHint): PromiseLike; + /** + * @inheritDoc + */ + eventFromMessage(_message: string, _level?: Severity, _hint?: EventHint): PromiseLike; + /** + * @inheritDoc + */ + sendEvent(event: Event): void; + /** + * @inheritDoc + */ + sendSession(session: Session): void; + /** + * @inheritDoc + */ + getTransport(): Transport; + /** + * Sets up the transport so it can be used later to send requests. + */ + protected _setupTransport(): Transport; +} +//# sourceMappingURL=basebackend.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/basebackend.d.ts.map b/node_modules/@sentry/core/esm/basebackend.d.ts.map new file mode 100644 index 000000000..04a31526d --- /dev/null +++ b/node_modules/@sentry/core/esm/basebackend.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"basebackend.d.ts","sourceRoot":"","sources":["../src/basebackend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAKxF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,OAAO;IACtB,mHAAmH;IAEnH,kBAAkB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IAEzE,0EAA0E;IAC1E,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC;IAE1F,kCAAkC;IAClC,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAE9B,oCAAoC;IACpC,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAEpC;;;;;OAKG;IACH,YAAY,IAAI,SAAS,CAAC;CAC3B;AAED;;;GAGG;AACH,oBAAY,YAAY,CAAC,CAAC,SAAS,OAAO,EAAE,CAAC,SAAS,OAAO,IAAI,KAAK,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;AAEvF;;;GAGG;AACH,8BAAsB,WAAW,CAAC,CAAC,SAAS,OAAO,CAAE,YAAW,OAAO;IACrE,iCAAiC;IACjC,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IAE/B,wCAAwC;IACxC,SAAS,CAAC,UAAU,EAAE,SAAS,CAAC;IAEhC,sCAAsC;gBACnB,OAAO,EAAE,CAAC;IAQ7B;;OAEG;IAEI,kBAAkB,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAIjF;;OAEG;IACI,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAInG;;OAEG;IACI,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAQpC;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAe1C;;OAEG;IACI,YAAY,IAAI,SAAS;IAIhC;;OAEG;IACH,SAAS,CAAC,eAAe,IAAI,SAAS;CAGvC"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/basebackend.js b/node_modules/@sentry/core/esm/basebackend.js new file mode 100644 index 000000000..2e94d9949 --- /dev/null +++ b/node_modules/@sentry/core/esm/basebackend.js @@ -0,0 +1,70 @@ +import { isDebugBuild, logger, SentryError } from '@sentry/utils'; +import { NoopTransport } from './transports/noop'; +/** + * This is the base implemention of a Backend. + * @hidden + */ +var BaseBackend = /** @class */ (function () { + /** Creates a new backend instance. */ + function BaseBackend(options) { + this._options = options; + if (!this._options.dsn) { + logger.warn('No DSN provided, backend will not do anything.'); + } + this._transport = this._setupTransport(); + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + BaseBackend.prototype.eventFromException = function (_exception, _hint) { + throw new SentryError('Backend has to implement `eventFromException` method'); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.eventFromMessage = function (_message, _level, _hint) { + throw new SentryError('Backend has to implement `eventFromMessage` method'); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.sendEvent = function (event) { + void this._transport.sendEvent(event).then(null, function (reason) { + if (isDebugBuild()) { + logger.error("Error while sending event: " + reason); + } + }); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.sendSession = function (session) { + if (!this._transport.sendSession) { + if (isDebugBuild()) { + logger.warn("Dropping session because custom transport doesn't implement sendSession"); + } + return; + } + void this._transport.sendSession(session).then(null, function (reason) { + if (isDebugBuild()) { + logger.error("Error while sending session: " + reason); + } + }); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.getTransport = function () { + return this._transport; + }; + /** + * Sets up the transport so it can be used later to send requests. + */ + BaseBackend.prototype._setupTransport = function () { + return new NoopTransport(); + }; + return BaseBackend; +}()); +export { BaseBackend }; +//# sourceMappingURL=basebackend.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/basebackend.js.map b/node_modules/@sentry/core/esm/basebackend.js.map new file mode 100644 index 000000000..9927e0de7 --- /dev/null +++ b/node_modules/@sentry/core/esm/basebackend.js.map @@ -0,0 +1 @@ +{"version":3,"file":"basebackend.js","sourceRoot":"","sources":["../src/basebackend.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAmDlD;;;GAGG;AACH;IAOE,sCAAsC;IACtC,qBAAmB,OAAU;QAC3B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;YACtB,MAAM,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC;SAC/D;QACD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;IAC3C,CAAC;IAED;;OAEG;IACH,iHAAiH;IAC1G,wCAAkB,GAAzB,UAA0B,UAAe,EAAE,KAAiB;QAC1D,MAAM,IAAI,WAAW,CAAC,sDAAsD,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACI,sCAAgB,GAAvB,UAAwB,QAAgB,EAAE,MAAiB,EAAE,KAAiB;QAC5E,MAAM,IAAI,WAAW,CAAC,oDAAoD,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACI,+BAAS,GAAhB,UAAiB,KAAY;QAC3B,KAAK,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,UAAA,MAAM;YACrD,IAAI,YAAY,EAAE,EAAE;gBAClB,MAAM,CAAC,KAAK,CAAC,gCAA8B,MAAQ,CAAC,CAAC;aACtD;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACI,iCAAW,GAAlB,UAAmB,OAAgB;QACjC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE;YAChC,IAAI,YAAY,EAAE,EAAE;gBAClB,MAAM,CAAC,IAAI,CAAC,yEAAyE,CAAC,CAAC;aACxF;YACD,OAAO;SACR;QAED,KAAK,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,UAAA,MAAM;YACzD,IAAI,YAAY,EAAE,EAAE;gBAClB,MAAM,CAAC,KAAK,CAAC,kCAAgC,MAAQ,CAAC,CAAC;aACxD;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACI,kCAAY,GAAnB;QACE,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACO,qCAAe,GAAzB;QACE,OAAO,IAAI,aAAa,EAAE,CAAC;IAC7B,CAAC;IACH,kBAAC;AAAD,CAAC,AAzED,IAyEC","sourcesContent":["import { Event, EventHint, Options, Session, Severity, Transport } from '@sentry/types';\nimport { isDebugBuild, logger, SentryError } from '@sentry/utils';\n\nimport { NoopTransport } from './transports/noop';\n\n/**\n * Internal platform-dependent Sentry SDK Backend.\n *\n * While {@link Client} contains business logic specific to an SDK, the\n * Backend offers platform specific implementations for low-level operations.\n * These are persisting and loading information, sending events, and hooking\n * into the environment.\n *\n * Backends receive a handle to the Client in their constructor. When a\n * Backend automatically generates events, it must pass them to\n * the Client for validation and processing first.\n *\n * Usually, the Client will be of corresponding type, e.g. NodeBackend\n * receives NodeClient. However, higher-level SDKs can choose to instantiate\n * multiple Backends and delegate tasks between them. In this case, an event\n * generated by one backend might very well be sent by another one.\n *\n * The client also provides access to options via {@link Client.getOptions}.\n * @hidden\n */\nexport interface Backend {\n /** Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n eventFromException(exception: any, hint?: EventHint): PromiseLike;\n\n /** Creates an {@link Event} from primitive inputs to `captureMessage`. */\n eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike;\n\n /** Submits the event to Sentry */\n sendEvent(event: Event): void;\n\n /** Submits the session to Sentry */\n sendSession(session: Session): void;\n\n /**\n * Returns the transport that is used by the backend.\n * Please note that the transport gets lazy initialized so it will only be there once the first event has been sent.\n *\n * @returns The transport.\n */\n getTransport(): Transport;\n}\n\n/**\n * A class object that can instantiate Backend objects.\n * @hidden\n */\nexport type BackendClass = new (options: O) => B;\n\n/**\n * This is the base implemention of a Backend.\n * @hidden\n */\nexport abstract class BaseBackend implements Backend {\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** Cached transport used internally. */\n protected _transport: Transport;\n\n /** Creates a new backend instance. */\n public constructor(options: O) {\n this._options = options;\n if (!this._options.dsn) {\n logger.warn('No DSN provided, backend will not do anything.');\n }\n this._transport = this._setupTransport();\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public eventFromException(_exception: any, _hint?: EventHint): PromiseLike {\n throw new SentryError('Backend has to implement `eventFromException` method');\n }\n\n /**\n * @inheritDoc\n */\n public eventFromMessage(_message: string, _level?: Severity, _hint?: EventHint): PromiseLike {\n throw new SentryError('Backend has to implement `eventFromMessage` method');\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): void {\n void this._transport.sendEvent(event).then(null, reason => {\n if (isDebugBuild()) {\n logger.error(`Error while sending event: ${reason}`);\n }\n });\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session): void {\n if (!this._transport.sendSession) {\n if (isDebugBuild()) {\n logger.warn(\"Dropping session because custom transport doesn't implement sendSession\");\n }\n return;\n }\n\n void this._transport.sendSession(session).then(null, reason => {\n if (isDebugBuild()) {\n logger.error(`Error while sending session: ${reason}`);\n }\n });\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport {\n return this._transport;\n }\n\n /**\n * Sets up the transport so it can be used later to send requests.\n */\n protected _setupTransport(): Transport {\n return new NoopTransport();\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/baseclient.d.ts b/node_modules/@sentry/core/esm/baseclient.d.ts new file mode 100644 index 000000000..eac995431 --- /dev/null +++ b/node_modules/@sentry/core/esm/baseclient.d.ts @@ -0,0 +1,191 @@ +import { Scope, Session } from '@sentry/hub'; +import { Client, DsnComponents, Event, EventHint, Integration, IntegrationClass, Options, Severity, Transport } from '@sentry/types'; +import { Backend, BackendClass } from './basebackend'; +import { IntegrationIndex } from './integration'; +/** + * Base implementation for all JavaScript SDK clients. + * + * Call the constructor with the corresponding backend constructor and options + * specific to the client subclass. To access these options later, use + * {@link Client.getOptions}. Also, the Backend instance is available via + * {@link Client.getBackend}. + * + * If a Dsn is specified in the options, it will be parsed and stored. Use + * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is + * invalid, the constructor will throw a {@link SentryException}. Note that + * without a valid Dsn, the SDK will not send any events to Sentry. + * + * Before sending an event via the backend, it is passed through + * {@link BaseClient._prepareEvent} to add SDK information and scope data + * (breadcrumbs and context). To add more custom information, override this + * method and extend the resulting prepared event. + * + * To issue automatically created events (e.g. via instrumentation), use + * {@link Client.captureEvent}. It will prepare the event and pass it through + * the callback lifecycle. To issue auto-breadcrumbs, use + * {@link Client.addBreadcrumb}. + * + * @example + * class NodeClient extends BaseClient { + * public constructor(options: NodeOptions) { + * super(NodeBackend, options); + * } + * + * // ... + * } + */ +export declare abstract class BaseClient implements Client { + /** + * The backend used to physically interact in the environment. Usually, this + * will correspond to the client. When composing SDKs, however, the Backend + * from the root SDK will be used. + */ + protected readonly _backend: B; + /** Options passed to the SDK. */ + protected readonly _options: O; + /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */ + protected readonly _dsn?: DsnComponents; + /** Array of used integrations. */ + protected _integrations: IntegrationIndex; + /** Number of calls being processed */ + protected _numProcessing: number; + /** + * Initializes this client instance. + * + * @param backendClass A constructor function to create the backend. + * @param options Options for the client. + */ + protected constructor(backendClass: BackendClass, options: O); + /** + * @inheritDoc + */ + captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined; + /** + * @inheritDoc + */ + captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined; + /** + * @inheritDoc + */ + captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined; + /** + * @inheritDoc + */ + captureSession(session: Session): void; + /** + * @inheritDoc + */ + getDsn(): DsnComponents | undefined; + /** + * @inheritDoc + */ + getOptions(): O; + /** + * @inheritDoc + */ + getTransport(): Transport; + /** + * @inheritDoc + */ + flush(timeout?: number): PromiseLike; + /** + * @inheritDoc + */ + close(timeout?: number): PromiseLike; + /** + * Sets up the integrations + */ + setupIntegrations(): void; + /** + * @inheritDoc + */ + getIntegration(integration: IntegrationClass): T | null; + /** Updates existing session based on the provided event */ + protected _updateSessionFromEvent(session: Session, event: Event): void; + /** Deliver captured session to Sentry */ + protected _sendSession(session: Session): void; + /** + * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying + * "no" (resolving to `false`) in order to give the client a chance to potentially finish first. + * + * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not + * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to + * `true`. + * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and + * `false` otherwise + */ + protected _isClientDoneProcessing(timeout?: number): PromiseLike; + /** Returns the current backend. */ + protected _getBackend(): B; + /** Determines whether this SDK is enabled and a valid Dsn is present. */ + protected _isEnabled(): boolean; + /** + * Adds common information to events. + * + * The information includes release and environment from `options`, + * breadcrumbs and context (extra, tags and user) from the scope. + * + * Information that is already present in the event is never overwritten. For + * nested objects, such as the context, keys are merged. + * + * @param event The original event. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A new event with more information. + */ + protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike; + /** + * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization. + * Normalized keys: + * - `breadcrumbs.data` + * - `user` + * - `contexts` + * - `extra` + * @param event Event + * @returns Normalized event + */ + protected _normalizeEvent(event: Event | null, depth: number): Event | null; + /** + * Enhances event using the client configuration. + * It takes care of all "static" values like environment, release and `dist`, + * as well as truncating overly long values. + * @param event event instance to be enhanced + */ + protected _applyClientOptions(event: Event): void; + /** + * This function adds all used integrations to the SDK info in the event. + * @param event The event that will be filled with all integrations. + */ + protected _applyIntegrationsMetadata(event: Event): void; + /** + * Tells the backend to send this event + * @param event The Sentry event to send + */ + protected _sendEvent(event: Event): void; + /** + * Processes the event and logs an error in case of rejection + * @param event + * @param hint + * @param scope + */ + protected _captureEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike; + /** + * Processes an event (either error or message) and sends it to Sentry. + * + * This also adds breadcrumbs and context information to the event. However, + * platform specific meta data (such as the User's IP address) must be added + * by the SDK implementor. + * + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send. + */ + protected _processEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike; + /** + * Occupies the client with processing and event + */ + protected _process(promise: PromiseLike): void; +} +//# sourceMappingURL=baseclient.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/baseclient.d.ts.map b/node_modules/@sentry/core/esm/baseclient.d.ts.map new file mode 100644 index 000000000..160f385c3 --- /dev/null +++ b/node_modules/@sentry/core/esm/baseclient.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"baseclient.d.ts","sourceRoot":"","sources":["../src/baseclient.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/baseclient.js b/node_modules/@sentry/core/esm/baseclient.js new file mode 100644 index 000000000..e7bce6589 --- /dev/null +++ b/node_modules/@sentry/core/esm/baseclient.js @@ -0,0 +1,522 @@ +import { __assign, __read, __spread, __values } from "tslib"; +/* eslint-disable max-lines */ +import { Scope } from '@sentry/hub'; +import { checkOrSetAlreadyCaught, dateTimestampInSeconds, isDebugBuild, isPlainObject, isPrimitive, isThenable, logger, makeDsn, normalize, rejectedSyncPromise, resolvedSyncPromise, SentryError, SyncPromise, truncate, uuid4, } from '@sentry/utils'; +import { setupIntegrations } from './integration'; +var ALREADY_SEEN_ERROR = "Not capturing exception because it's already been captured."; +/** + * Base implementation for all JavaScript SDK clients. + * + * Call the constructor with the corresponding backend constructor and options + * specific to the client subclass. To access these options later, use + * {@link Client.getOptions}. Also, the Backend instance is available via + * {@link Client.getBackend}. + * + * If a Dsn is specified in the options, it will be parsed and stored. Use + * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is + * invalid, the constructor will throw a {@link SentryException}. Note that + * without a valid Dsn, the SDK will not send any events to Sentry. + * + * Before sending an event via the backend, it is passed through + * {@link BaseClient._prepareEvent} to add SDK information and scope data + * (breadcrumbs and context). To add more custom information, override this + * method and extend the resulting prepared event. + * + * To issue automatically created events (e.g. via instrumentation), use + * {@link Client.captureEvent}. It will prepare the event and pass it through + * the callback lifecycle. To issue auto-breadcrumbs, use + * {@link Client.addBreadcrumb}. + * + * @example + * class NodeClient extends BaseClient { + * public constructor(options: NodeOptions) { + * super(NodeBackend, options); + * } + * + * // ... + * } + */ +var BaseClient = /** @class */ (function () { + /** + * Initializes this client instance. + * + * @param backendClass A constructor function to create the backend. + * @param options Options for the client. + */ + function BaseClient(backendClass, options) { + /** Array of used integrations. */ + this._integrations = {}; + /** Number of calls being processed */ + this._numProcessing = 0; + this._backend = new backendClass(options); + this._options = options; + if (options.dsn) { + this._dsn = makeDsn(options.dsn); + } + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + BaseClient.prototype.captureException = function (exception, hint, scope) { + var _this = this; + // ensure we haven't captured this very object before + if (checkOrSetAlreadyCaught(exception)) { + logger.log(ALREADY_SEEN_ERROR); + return; + } + var eventId = hint && hint.event_id; + this._process(this._getBackend() + .eventFromException(exception, hint) + .then(function (event) { return _this._captureEvent(event, hint, scope); }) + .then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureMessage = function (message, level, hint, scope) { + var _this = this; + var eventId = hint && hint.event_id; + var promisedEvent = isPrimitive(message) + ? this._getBackend().eventFromMessage(String(message), level, hint) + : this._getBackend().eventFromException(message, hint); + this._process(promisedEvent + .then(function (event) { return _this._captureEvent(event, hint, scope); }) + .then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureEvent = function (event, hint, scope) { + // ensure we haven't captured this very object before + if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) { + logger.log(ALREADY_SEEN_ERROR); + return; + } + var eventId = hint && hint.event_id; + this._process(this._captureEvent(event, hint, scope).then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureSession = function (session) { + if (!this._isEnabled()) { + if (isDebugBuild()) { + logger.warn('SDK not enabled, will not capture session.'); + } + return; + } + if (!(typeof session.release === 'string')) { + if (isDebugBuild()) { + logger.warn('Discarded session because of missing or non-string release'); + } + } + else { + this._sendSession(session); + // After sending, we set init false to indicate it's not the first occurrence + session.update({ init: false }); + } + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getDsn = function () { + return this._dsn; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getOptions = function () { + return this._options; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getTransport = function () { + return this._getBackend().getTransport(); + }; + /** + * @inheritDoc + */ + BaseClient.prototype.flush = function (timeout) { + var _this = this; + return this._isClientDoneProcessing(timeout).then(function (clientFinished) { + return _this.getTransport() + .close(timeout) + .then(function (transportFlushed) { return clientFinished && transportFlushed; }); + }); + }; + /** + * @inheritDoc + */ + BaseClient.prototype.close = function (timeout) { + var _this = this; + return this.flush(timeout).then(function (result) { + _this.getOptions().enabled = false; + return result; + }); + }; + /** + * Sets up the integrations + */ + BaseClient.prototype.setupIntegrations = function () { + if (this._isEnabled() && !this._integrations.initialized) { + this._integrations = setupIntegrations(this._options); + } + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getIntegration = function (integration) { + try { + return this._integrations[integration.id] || null; + } + catch (_oO) { + logger.warn("Cannot retrieve integration " + integration.id + " from the current Client"); + return null; + } + }; + /** Updates existing session based on the provided event */ + BaseClient.prototype._updateSessionFromEvent = function (session, event) { + var e_1, _a; + var crashed = false; + var errored = false; + var exceptions = event.exception && event.exception.values; + if (exceptions) { + errored = true; + try { + for (var exceptions_1 = __values(exceptions), exceptions_1_1 = exceptions_1.next(); !exceptions_1_1.done; exceptions_1_1 = exceptions_1.next()) { + var ex = exceptions_1_1.value; + var mechanism = ex.mechanism; + if (mechanism && mechanism.handled === false) { + crashed = true; + break; + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (exceptions_1_1 && !exceptions_1_1.done && (_a = exceptions_1.return)) _a.call(exceptions_1); + } + finally { if (e_1) throw e_1.error; } + } + } + // A session is updated and that session update is sent in only one of the two following scenarios: + // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update + // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update + var sessionNonTerminal = session.status === 'ok'; + var shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed); + if (shouldUpdateAndSend) { + session.update(__assign(__assign({}, (crashed && { status: 'crashed' })), { errors: session.errors || Number(errored || crashed) })); + this.captureSession(session); + } + }; + /** Deliver captured session to Sentry */ + BaseClient.prototype._sendSession = function (session) { + this._getBackend().sendSession(session); + }; + /** + * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying + * "no" (resolving to `false`) in order to give the client a chance to potentially finish first. + * + * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not + * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to + * `true`. + * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and + * `false` otherwise + */ + BaseClient.prototype._isClientDoneProcessing = function (timeout) { + var _this = this; + return new SyncPromise(function (resolve) { + var ticked = 0; + var tick = 1; + var interval = setInterval(function () { + if (_this._numProcessing == 0) { + clearInterval(interval); + resolve(true); + } + else { + ticked += tick; + if (timeout && ticked >= timeout) { + clearInterval(interval); + resolve(false); + } + } + }, tick); + }); + }; + /** Returns the current backend. */ + BaseClient.prototype._getBackend = function () { + return this._backend; + }; + /** Determines whether this SDK is enabled and a valid Dsn is present. */ + BaseClient.prototype._isEnabled = function () { + return this.getOptions().enabled !== false && this._dsn !== undefined; + }; + /** + * Adds common information to events. + * + * The information includes release and environment from `options`, + * breadcrumbs and context (extra, tags and user) from the scope. + * + * Information that is already present in the event is never overwritten. For + * nested objects, such as the context, keys are merged. + * + * @param event The original event. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A new event with more information. + */ + BaseClient.prototype._prepareEvent = function (event, scope, hint) { + var _this = this; + var _a = this.getOptions().normalizeDepth, normalizeDepth = _a === void 0 ? 3 : _a; + var prepared = __assign(__assign({}, event), { event_id: event.event_id || (hint && hint.event_id ? hint.event_id : uuid4()), timestamp: event.timestamp || dateTimestampInSeconds() }); + this._applyClientOptions(prepared); + this._applyIntegrationsMetadata(prepared); + // If we have scope given to us, use it as the base for further modifications. + // This allows us to prevent unnecessary copying of data if `captureContext` is not provided. + var finalScope = scope; + if (hint && hint.captureContext) { + finalScope = Scope.clone(finalScope).update(hint.captureContext); + } + // We prepare the result here with a resolved Event. + var result = resolvedSyncPromise(prepared); + // This should be the last thing called, since we want that + // {@link Hub.addEventProcessor} gets the finished prepared event. + if (finalScope) { + // In case we have a hub we reassign it. + result = finalScope.applyToEvent(prepared, hint); + } + return result.then(function (evt) { + if (evt) { + // TODO this is more of the hack trying to solve https://github.com/getsentry/sentry-javascript/issues/2809 + // it is only attached as extra data to the event if the event somehow skips being normalized + evt.sdkProcessingMetadata = __assign(__assign({}, evt.sdkProcessingMetadata), { normalizeDepth: normalize(normalizeDepth) }); + } + if (typeof normalizeDepth === 'number' && normalizeDepth > 0) { + return _this._normalizeEvent(evt, normalizeDepth); + } + return evt; + }); + }; + /** + * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization. + * Normalized keys: + * - `breadcrumbs.data` + * - `user` + * - `contexts` + * - `extra` + * @param event Event + * @returns Normalized event + */ + BaseClient.prototype._normalizeEvent = function (event, depth) { + if (!event) { + return null; + } + var normalized = __assign(__assign(__assign(__assign(__assign({}, event), (event.breadcrumbs && { + breadcrumbs: event.breadcrumbs.map(function (b) { return (__assign(__assign({}, b), (b.data && { + data: normalize(b.data, depth), + }))); }), + })), (event.user && { + user: normalize(event.user, depth), + })), (event.contexts && { + contexts: normalize(event.contexts, depth), + })), (event.extra && { + extra: normalize(event.extra, depth), + })); + // event.contexts.trace stores information about a Transaction. Similarly, + // event.spans[] stores information about child Spans. Given that a + // Transaction is conceptually a Span, normalization should apply to both + // Transactions and Spans consistently. + // For now the decision is to skip normalization of Transactions and Spans, + // so this block overwrites the normalized event to add back the original + // Transaction information prior to normalization. + if (event.contexts && event.contexts.trace) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + normalized.contexts.trace = event.contexts.trace; + } + event.sdkProcessingMetadata = __assign(__assign({}, event.sdkProcessingMetadata), { baseClientNormalized: true }); + return normalized; + }; + /** + * Enhances event using the client configuration. + * It takes care of all "static" values like environment, release and `dist`, + * as well as truncating overly long values. + * @param event event instance to be enhanced + */ + BaseClient.prototype._applyClientOptions = function (event) { + var options = this.getOptions(); + var environment = options.environment, release = options.release, dist = options.dist, _a = options.maxValueLength, maxValueLength = _a === void 0 ? 250 : _a; + if (!('environment' in event)) { + event.environment = 'environment' in options ? environment : 'production'; + } + if (event.release === undefined && release !== undefined) { + event.release = release; + } + if (event.dist === undefined && dist !== undefined) { + event.dist = dist; + } + if (event.message) { + event.message = truncate(event.message, maxValueLength); + } + var exception = event.exception && event.exception.values && event.exception.values[0]; + if (exception && exception.value) { + exception.value = truncate(exception.value, maxValueLength); + } + var request = event.request; + if (request && request.url) { + request.url = truncate(request.url, maxValueLength); + } + }; + /** + * This function adds all used integrations to the SDK info in the event. + * @param event The event that will be filled with all integrations. + */ + BaseClient.prototype._applyIntegrationsMetadata = function (event) { + var integrationsArray = Object.keys(this._integrations); + if (integrationsArray.length > 0) { + event.sdk = event.sdk || {}; + event.sdk.integrations = __spread((event.sdk.integrations || []), integrationsArray); + } + }; + /** + * Tells the backend to send this event + * @param event The Sentry event to send + */ + BaseClient.prototype._sendEvent = function (event) { + this._getBackend().sendEvent(event); + }; + /** + * Processes the event and logs an error in case of rejection + * @param event + * @param hint + * @param scope + */ + BaseClient.prototype._captureEvent = function (event, hint, scope) { + return this._processEvent(event, hint, scope).then(function (finalEvent) { + return finalEvent.event_id; + }, function (reason) { + logger.error(reason); + return undefined; + }); + }; + /** + * Processes an event (either error or message) and sends it to Sentry. + * + * This also adds breadcrumbs and context information to the event. However, + * platform specific meta data (such as the User's IP address) must be added + * by the SDK implementor. + * + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send. + */ + BaseClient.prototype._processEvent = function (event, hint, scope) { + var _this = this; + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.getOptions(), beforeSend = _a.beforeSend, sampleRate = _a.sampleRate; + var transport = this.getTransport(); + function recordLostEvent(outcome, category) { + if (transport.recordLostEvent) { + transport.recordLostEvent(outcome, category); + } + } + if (!this._isEnabled()) { + return rejectedSyncPromise(new SentryError('SDK not enabled, will not capture event.')); + } + var isTransaction = event.type === 'transaction'; + // 1.0 === 100% events are sent + // 0.0 === 0% events are sent + // Sampling for transaction happens somewhere else + if (!isTransaction && typeof sampleRate === 'number' && Math.random() > sampleRate) { + recordLostEvent('sample_rate', 'event'); + return rejectedSyncPromise(new SentryError("Discarding event because it's not included in the random sample (sampling rate = " + sampleRate + ")")); + } + return this._prepareEvent(event, scope, hint) + .then(function (prepared) { + if (prepared === null) { + recordLostEvent('event_processor', event.type || 'event'); + throw new SentryError('An event processor returned null, will not send event.'); + } + var isInternalException = hint && hint.data && hint.data.__sentry__ === true; + if (isInternalException || isTransaction || !beforeSend) { + return prepared; + } + var beforeSendResult = beforeSend(prepared, hint); + return _ensureBeforeSendRv(beforeSendResult); + }) + .then(function (processedEvent) { + if (processedEvent === null) { + recordLostEvent('before_send', event.type || 'event'); + throw new SentryError('`beforeSend` returned `null`, will not send event.'); + } + var session = scope && scope.getSession && scope.getSession(); + if (!isTransaction && session) { + _this._updateSessionFromEvent(session, processedEvent); + } + _this._sendEvent(processedEvent); + return processedEvent; + }) + .then(null, function (reason) { + if (reason instanceof SentryError) { + throw reason; + } + _this.captureException(reason, { + data: { + __sentry__: true, + }, + originalException: reason, + }); + throw new SentryError("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: " + reason); + }); + }; + /** + * Occupies the client with processing and event + */ + BaseClient.prototype._process = function (promise) { + var _this = this; + this._numProcessing += 1; + void promise.then(function (value) { + _this._numProcessing -= 1; + return value; + }, function (reason) { + _this._numProcessing -= 1; + return reason; + }); + }; + return BaseClient; +}()); +export { BaseClient }; +/** + * Verifies that return value of configured `beforeSend` is of expected type. + */ +function _ensureBeforeSendRv(rv) { + var nullErr = '`beforeSend` method has to return `null` or a valid event.'; + if (isThenable(rv)) { + return rv.then(function (event) { + if (!(isPlainObject(event) || event === null)) { + throw new SentryError(nullErr); + } + return event; + }, function (e) { + throw new SentryError("beforeSend rejected with " + e); + }); + } + else if (!(isPlainObject(rv) || rv === null)) { + throw new SentryError(nullErr); + } + return rv; +} +//# sourceMappingURL=baseclient.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/baseclient.js.map b/node_modules/@sentry/core/esm/baseclient.js.map new file mode 100644 index 000000000..4c95c1ffa --- /dev/null +++ b/node_modules/@sentry/core/esm/baseclient.js.map @@ -0,0 +1 @@ +{"version":3,"file":"baseclient.js","sourceRoot":"","sources":["../src/baseclient.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\nimport { Scope, Session } from '@sentry/hub';\nimport {\n Client,\n DsnComponents,\n Event,\n EventHint,\n Integration,\n IntegrationClass,\n Options,\n Severity,\n Transport,\n} from '@sentry/types';\nimport {\n checkOrSetAlreadyCaught,\n dateTimestampInSeconds,\n isDebugBuild,\n isPlainObject,\n isPrimitive,\n isThenable,\n logger,\n makeDsn,\n normalize,\n rejectedSyncPromise,\n resolvedSyncPromise,\n SentryError,\n SyncPromise,\n truncate,\n uuid4,\n} from '@sentry/utils';\n\nimport { Backend, BackendClass } from './basebackend';\nimport { IntegrationIndex, setupIntegrations } from './integration';\n\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\n\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding backend constructor and options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}. Also, the Backend instance is available via\n * {@link Client.getBackend}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event via the backend, it is passed through\n * {@link BaseClient._prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient {\n * public constructor(options: NodeOptions) {\n * super(NodeBackend, options);\n * }\n *\n * // ...\n * }\n */\nexport abstract class BaseClient implements Client {\n /**\n * The backend used to physically interact in the environment. Usually, this\n * will correspond to the client. When composing SDKs, however, the Backend\n * from the root SDK will be used.\n */\n protected readonly _backend: B;\n\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n protected readonly _dsn?: DsnComponents;\n\n /** Array of used integrations. */\n protected _integrations: IntegrationIndex = {};\n\n /** Number of calls being processed */\n protected _numProcessing: number = 0;\n\n /**\n * Initializes this client instance.\n *\n * @param backendClass A constructor function to create the backend.\n * @param options Options for the client.\n */\n protected constructor(backendClass: BackendClass, options: O) {\n this._backend = new backendClass(options);\n this._options = options;\n\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n }\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._getBackend()\n .eventFromException(exception, hint)\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined {\n let eventId: string | undefined = hint && hint.event_id;\n\n const promisedEvent = isPrimitive(message)\n ? this._getBackend().eventFromMessage(String(message), level, hint)\n : this._getBackend().eventFromException(message, hint);\n\n this._process(\n promisedEvent\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {\n logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._captureEvent(event, hint, scope).then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(session: Session): void {\n if (!this._isEnabled()) {\n if (isDebugBuild()) {\n logger.warn('SDK not enabled, will not capture session.');\n }\n return;\n }\n\n if (!(typeof session.release === 'string')) {\n if (isDebugBuild()) {\n logger.warn('Discarded session because of missing or non-string release');\n }\n } else {\n this._sendSession(session);\n // After sending, we set init false to indicate it's not the first occurrence\n session.update({ init: false });\n }\n }\n\n /**\n * @inheritDoc\n */\n public getDsn(): DsnComponents | undefined {\n return this._dsn;\n }\n\n /**\n * @inheritDoc\n */\n public getOptions(): O {\n return this._options;\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport {\n return this._getBackend().getTransport();\n }\n\n /**\n * @inheritDoc\n */\n public flush(timeout?: number): PromiseLike {\n return this._isClientDoneProcessing(timeout).then(clientFinished => {\n return this.getTransport()\n .close(timeout)\n .then(transportFlushed => clientFinished && transportFlushed);\n });\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike {\n return this.flush(timeout).then(result => {\n this.getOptions().enabled = false;\n return result;\n });\n }\n\n /**\n * Sets up the integrations\n */\n public setupIntegrations(): void {\n if (this._isEnabled() && !this._integrations.initialized) {\n this._integrations = setupIntegrations(this._options);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration(integration: IntegrationClass): T | null {\n try {\n return (this._integrations[integration.id] as T) || null;\n } catch (_oO) {\n logger.warn(`Cannot retrieve integration ${integration.id} from the current Client`);\n return null;\n }\n }\n\n /** Updates existing session based on the provided event */\n protected _updateSessionFromEvent(session: Session, event: Event): void {\n let crashed = false;\n let errored = false;\n const exceptions = event.exception && event.exception.values;\n\n if (exceptions) {\n errored = true;\n\n for (const ex of exceptions) {\n const mechanism = ex.mechanism;\n if (mechanism && mechanism.handled === false) {\n crashed = true;\n break;\n }\n }\n }\n\n // A session is updated and that session update is sent in only one of the two following scenarios:\n // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update\n // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update\n const sessionNonTerminal = session.status === 'ok';\n const shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed);\n\n if (shouldUpdateAndSend) {\n session.update({\n ...(crashed && { status: 'crashed' }),\n errors: session.errors || Number(errored || crashed),\n });\n this.captureSession(session);\n }\n }\n\n /** Deliver captured session to Sentry */\n protected _sendSession(session: Session): void {\n this._getBackend().sendSession(session);\n }\n\n /**\n * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n * `false` otherwise\n */\n protected _isClientDoneProcessing(timeout?: number): PromiseLike {\n return new SyncPromise(resolve => {\n let ticked: number = 0;\n const tick: number = 1;\n\n const interval = setInterval(() => {\n if (this._numProcessing == 0) {\n clearInterval(interval);\n resolve(true);\n } else {\n ticked += tick;\n if (timeout && ticked >= timeout) {\n clearInterval(interval);\n resolve(false);\n }\n }\n }, tick);\n });\n }\n\n /** Returns the current backend. */\n protected _getBackend(): B {\n return this._backend;\n }\n\n /** Determines whether this SDK is enabled and a valid Dsn is present. */\n protected _isEnabled(): boolean {\n return this.getOptions().enabled !== false && this._dsn !== undefined;\n }\n\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike {\n const { normalizeDepth = 3 } = this.getOptions();\n const prepared: Event = {\n ...event,\n event_id: event.event_id || (hint && hint.event_id ? hint.event_id : uuid4()),\n timestamp: event.timestamp || dateTimestampInSeconds(),\n };\n\n this._applyClientOptions(prepared);\n this._applyIntegrationsMetadata(prepared);\n\n // If we have scope given to us, use it as the base for further modifications.\n // This allows us to prevent unnecessary copying of data if `captureContext` is not provided.\n let finalScope = scope;\n if (hint && hint.captureContext) {\n finalScope = Scope.clone(finalScope).update(hint.captureContext);\n }\n\n // We prepare the result here with a resolved Event.\n let result = resolvedSyncPromise(prepared);\n\n // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n if (finalScope) {\n // In case we have a hub we reassign it.\n result = finalScope.applyToEvent(prepared, hint);\n }\n\n return result.then(evt => {\n if (evt) {\n // TODO this is more of the hack trying to solve https://github.com/getsentry/sentry-javascript/issues/2809\n // it is only attached as extra data to the event if the event somehow skips being normalized\n evt.sdkProcessingMetadata = { ...evt.sdkProcessingMetadata, normalizeDepth: normalize(normalizeDepth) };\n }\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return this._normalizeEvent(evt, normalizeDepth);\n }\n return evt;\n });\n }\n\n /**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\n protected _normalizeEvent(event: Event | null, depth: number): Event | null {\n if (!event) {\n return null;\n }\n\n const normalized = {\n ...event,\n ...(event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(b => ({\n ...b,\n ...(b.data && {\n data: normalize(b.data, depth),\n }),\n })),\n }),\n ...(event.user && {\n user: normalize(event.user, depth),\n }),\n ...(event.contexts && {\n contexts: normalize(event.contexts, depth),\n }),\n ...(event.extra && {\n extra: normalize(event.extra, depth),\n }),\n };\n // event.contexts.trace stores information about a Transaction. Similarly,\n // event.spans[] stores information about child Spans. Given that a\n // Transaction is conceptually a Span, normalization should apply to both\n // Transactions and Spans consistently.\n // For now the decision is to skip normalization of Transactions and Spans,\n // so this block overwrites the normalized event to add back the original\n // Transaction information prior to normalization.\n if (event.contexts && event.contexts.trace) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n normalized.contexts.trace = event.contexts.trace;\n }\n\n event.sdkProcessingMetadata = { ...event.sdkProcessingMetadata, baseClientNormalized: true };\n\n return normalized;\n }\n\n /**\n * Enhances event using the client configuration.\n * It takes care of all \"static\" values like environment, release and `dist`,\n * as well as truncating overly long values.\n * @param event event instance to be enhanced\n */\n protected _applyClientOptions(event: Event): void {\n const options = this.getOptions();\n const { environment, release, dist, maxValueLength = 250 } = options;\n\n if (!('environment' in event)) {\n event.environment = 'environment' in options ? environment : 'production';\n }\n\n if (event.release === undefined && release !== undefined) {\n event.release = release;\n }\n\n if (event.dist === undefined && dist !== undefined) {\n event.dist = dist;\n }\n\n if (event.message) {\n event.message = truncate(event.message, maxValueLength);\n }\n\n const exception = event.exception && event.exception.values && event.exception.values[0];\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n const request = event.request;\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n }\n\n /**\n * This function adds all used integrations to the SDK info in the event.\n * @param event The event that will be filled with all integrations.\n */\n protected _applyIntegrationsMetadata(event: Event): void {\n const integrationsArray = Object.keys(this._integrations);\n if (integrationsArray.length > 0) {\n event.sdk = event.sdk || {};\n event.sdk.integrations = [...(event.sdk.integrations || []), ...integrationsArray];\n }\n }\n\n /**\n * Tells the backend to send this event\n * @param event The Sentry event to send\n */\n protected _sendEvent(event: Event): void {\n this._getBackend().sendEvent(event);\n }\n\n /**\n * Processes the event and logs an error in case of rejection\n * @param event\n * @param hint\n * @param scope\n */\n protected _captureEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike {\n return this._processEvent(event, hint, scope).then(\n finalEvent => {\n return finalEvent.event_id;\n },\n reason => {\n logger.error(reason);\n return undefined;\n },\n );\n }\n\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n protected _processEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeSend, sampleRate } = this.getOptions();\n const transport = this.getTransport();\n\n type RecordLostEvent = NonNullable;\n type RecordLostEventParams = Parameters;\n\n function recordLostEvent(outcome: RecordLostEventParams[0], category: RecordLostEventParams[1]): void {\n if (transport.recordLostEvent) {\n transport.recordLostEvent(outcome, category);\n }\n }\n\n if (!this._isEnabled()) {\n return rejectedSyncPromise(new SentryError('SDK not enabled, will not capture event.'));\n }\n\n const isTransaction = event.type === 'transaction';\n // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n // Sampling for transaction happens somewhere else\n if (!isTransaction && typeof sampleRate === 'number' && Math.random() > sampleRate) {\n recordLostEvent('sample_rate', 'event');\n return rejectedSyncPromise(\n new SentryError(\n `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`,\n ),\n );\n }\n\n return this._prepareEvent(event, scope, hint)\n .then(prepared => {\n if (prepared === null) {\n recordLostEvent('event_processor', event.type || 'event');\n throw new SentryError('An event processor returned null, will not send event.');\n }\n\n const isInternalException = hint && hint.data && (hint.data as { __sentry__: boolean }).__sentry__ === true;\n if (isInternalException || isTransaction || !beforeSend) {\n return prepared;\n }\n\n const beforeSendResult = beforeSend(prepared, hint);\n return _ensureBeforeSendRv(beforeSendResult);\n })\n .then(processedEvent => {\n if (processedEvent === null) {\n recordLostEvent('before_send', event.type || 'event');\n throw new SentryError('`beforeSend` returned `null`, will not send event.');\n }\n\n const session = scope && scope.getSession && scope.getSession();\n if (!isTransaction && session) {\n this._updateSessionFromEvent(session, processedEvent);\n }\n\n this._sendEvent(processedEvent);\n return processedEvent;\n })\n .then(null, reason => {\n if (reason instanceof SentryError) {\n throw reason;\n }\n\n this.captureException(reason, {\n data: {\n __sentry__: true,\n },\n originalException: reason as Error,\n });\n throw new SentryError(\n `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: ${reason}`,\n );\n });\n }\n\n /**\n * Occupies the client with processing and event\n */\n protected _process(promise: PromiseLike): void {\n this._numProcessing += 1;\n void promise.then(\n value => {\n this._numProcessing -= 1;\n return value;\n },\n reason => {\n this._numProcessing -= 1;\n return reason;\n },\n );\n }\n}\n\n/**\n * Verifies that return value of configured `beforeSend` is of expected type.\n */\nfunction _ensureBeforeSendRv(rv: PromiseLike | Event | null): PromiseLike | Event | null {\n const nullErr = '`beforeSend` method has to return `null` or a valid event.';\n if (isThenable(rv)) {\n return rv.then(\n event => {\n if (!(isPlainObject(event) || event === null)) {\n throw new SentryError(nullErr);\n }\n return event;\n },\n e => {\n throw new SentryError(`beforeSend rejected with ${e}`);\n },\n );\n } else if (!(isPlainObject(rv) || rv === null)) {\n throw new SentryError(nullErr);\n }\n return rv;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/index.d.ts b/node_modules/@sentry/core/esm/index.d.ts new file mode 100644 index 000000000..b39de6bfc --- /dev/null +++ b/node_modules/@sentry/core/esm/index.d.ts @@ -0,0 +1,12 @@ +export { addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, startTransaction, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, } from '@sentry/minimal'; +export { addGlobalEventProcessor, getCurrentHub, getHubFromCarrier, Hub, makeMain, Scope, Session } from '@sentry/hub'; +export { API, APIDetails, getEnvelopeEndpointWithUrlEncodedAuth, getStoreEndpointWithUrlEncodedAuth, getRequestHeaders, initAPIDetails, getReportDialogEndpoint, } from './api'; +export { BaseClient } from './baseclient'; +export { BackendClass, BaseBackend } from './basebackend'; +export { eventToSentryRequest, sessionToSentryRequest } from './request'; +export { initAndBind, ClientClass } from './sdk'; +export { NoopTransport } from './transports/noop'; +export { SDK_VERSION } from './version'; +import * as Integrations from './integrations'; +export { Integrations }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/index.d.ts.map b/node_modules/@sentry/core/esm/index.d.ts.map new file mode 100644 index 000000000..6bbe9e275 --- /dev/null +++ b/node_modules/@sentry/core/esm/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,iBAAiB,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACvH,OAAO,EAEL,GAAG,EACH,UAAU,EACV,qCAAqC,EACrC,kCAAkC,EAClC,iBAAiB,EACjB,cAAc,EACd,uBAAuB,GACxB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/index.js b/node_modules/@sentry/core/esm/index.js new file mode 100644 index 000000000..7777ddee7 --- /dev/null +++ b/node_modules/@sentry/core/esm/index.js @@ -0,0 +1,14 @@ +export { addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, startTransaction, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, } from '@sentry/minimal'; +export { addGlobalEventProcessor, getCurrentHub, getHubFromCarrier, Hub, makeMain, Scope, Session } from '@sentry/hub'; +export { +// eslint-disable-next-line deprecation/deprecation +API, getEnvelopeEndpointWithUrlEncodedAuth, getStoreEndpointWithUrlEncodedAuth, getRequestHeaders, initAPIDetails, getReportDialogEndpoint, } from './api'; +export { BaseClient } from './baseclient'; +export { BaseBackend } from './basebackend'; +export { eventToSentryRequest, sessionToSentryRequest } from './request'; +export { initAndBind } from './sdk'; +export { NoopTransport } from './transports/noop'; +export { SDK_VERSION } from './version'; +import * as Integrations from './integrations'; +export { Integrations }; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/index.js.map b/node_modules/@sentry/core/esm/index.js.map new file mode 100644 index 000000000..1223d749e --- /dev/null +++ b/node_modules/@sentry/core/esm/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,iBAAiB,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACvH,OAAO;AACL,mDAAmD;AACnD,GAAG,EAEH,qCAAqC,EACrC,kCAAkC,EAClC,iBAAiB,EACjB,cAAc,EACd,uBAAuB,GACxB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAgB,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACzE,OAAO,EAAE,WAAW,EAAe,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,CAAC","sourcesContent":["export {\n addBreadcrumb,\n captureException,\n captureEvent,\n captureMessage,\n configureScope,\n startTransaction,\n setContext,\n setExtra,\n setExtras,\n setTag,\n setTags,\n setUser,\n withScope,\n} from '@sentry/minimal';\nexport { addGlobalEventProcessor, getCurrentHub, getHubFromCarrier, Hub, makeMain, Scope, Session } from '@sentry/hub';\nexport {\n // eslint-disable-next-line deprecation/deprecation\n API,\n APIDetails,\n getEnvelopeEndpointWithUrlEncodedAuth,\n getStoreEndpointWithUrlEncodedAuth,\n getRequestHeaders,\n initAPIDetails,\n getReportDialogEndpoint,\n} from './api';\nexport { BaseClient } from './baseclient';\nexport { BackendClass, BaseBackend } from './basebackend';\nexport { eventToSentryRequest, sessionToSentryRequest } from './request';\nexport { initAndBind, ClientClass } from './sdk';\nexport { NoopTransport } from './transports/noop';\nexport { SDK_VERSION } from './version';\n\nimport * as Integrations from './integrations';\n\nexport { Integrations };\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integration.d.ts b/node_modules/@sentry/core/esm/integration.d.ts new file mode 100644 index 000000000..2e2079abe --- /dev/null +++ b/node_modules/@sentry/core/esm/integration.d.ts @@ -0,0 +1,20 @@ +import { Integration, Options } from '@sentry/types'; +export declare const installedIntegrations: string[]; +/** Map of integrations assigned to a client */ +export declare type IntegrationIndex = { + [key: string]: Integration; +} & { + initialized?: boolean; +}; +/** Gets integration to install */ +export declare function getIntegrationsToSetup(options: Options): Integration[]; +/** Setup given integration */ +export declare function setupIntegration(integration: Integration): void; +/** + * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default + * integrations are added unless they were already provided before. + * @param integrations array of integration instances + * @param withDefault should enable default integrations + */ +export declare function setupIntegrations(options: O): IntegrationIndex; +//# sourceMappingURL=integration.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integration.d.ts.map b/node_modules/@sentry/core/esm/integration.d.ts.map new file mode 100644 index 000000000..0b778fa50 --- /dev/null +++ b/node_modules/@sentry/core/esm/integration.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../src/integration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGrD,eAAO,MAAM,qBAAqB,EAAE,MAAM,EAAO,CAAC;AAElD,+CAA+C;AAC/C,oBAAY,gBAAgB,GAAG;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CAC5B,GAAG;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAc9B,kCAAkC;AAClC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,EAAE,CA4BtE;AAED,8BAA8B;AAC9B,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAO/D;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,OAAO,EAAE,OAAO,EAAE,CAAC,GAAG,gBAAgB,CAWjF"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integration.js b/node_modules/@sentry/core/esm/integration.js new file mode 100644 index 000000000..420f2b951 --- /dev/null +++ b/node_modules/@sentry/core/esm/integration.js @@ -0,0 +1,66 @@ +import { __read, __spread } from "tslib"; +import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub'; +import { addNonEnumerableProperty, logger } from '@sentry/utils'; +export var installedIntegrations = []; +/** + * @private + */ +function filterDuplicates(integrations) { + return integrations.reduce(function (acc, integrations) { + if (acc.every(function (accIntegration) { return integrations.name !== accIntegration.name; })) { + acc.push(integrations); + } + return acc; + }, []); +} +/** Gets integration to install */ +export function getIntegrationsToSetup(options) { + var defaultIntegrations = (options.defaultIntegrations && __spread(options.defaultIntegrations)) || []; + var userIntegrations = options.integrations; + var integrations = __spread(filterDuplicates(defaultIntegrations)); + if (Array.isArray(userIntegrations)) { + // Filter out integrations that are also included in user options + integrations = __spread(integrations.filter(function (integrations) { + return userIntegrations.every(function (userIntegration) { return userIntegration.name !== integrations.name; }); + }), filterDuplicates(userIntegrations)); + } + else if (typeof userIntegrations === 'function') { + integrations = userIntegrations(integrations); + integrations = Array.isArray(integrations) ? integrations : [integrations]; + } + // Make sure that if present, `Debug` integration will always run last + var integrationsNames = integrations.map(function (i) { return i.name; }); + var alwaysLastToRun = 'Debug'; + if (integrationsNames.indexOf(alwaysLastToRun) !== -1) { + integrations.push.apply(integrations, __spread(integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1))); + } + return integrations; +} +/** Setup given integration */ +export function setupIntegration(integration) { + if (installedIntegrations.indexOf(integration.name) !== -1) { + return; + } + integration.setupOnce(addGlobalEventProcessor, getCurrentHub); + installedIntegrations.push(integration.name); + logger.log("Integration installed: " + integration.name); +} +/** + * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default + * integrations are added unless they were already provided before. + * @param integrations array of integration instances + * @param withDefault should enable default integrations + */ +export function setupIntegrations(options) { + var integrations = {}; + getIntegrationsToSetup(options).forEach(function (integration) { + integrations[integration.name] = integration; + setupIntegration(integration); + }); + // set the `initialized` flag so we don't run through the process again unecessarily; use `Object.defineProperty` + // because by default it creates a property which is nonenumerable, which we want since `initialized` shouldn't be + // considered a member of the index the way the actual integrations are + addNonEnumerableProperty(integrations, 'initialized', true); + return integrations; +} +//# sourceMappingURL=integration.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integration.js.map b/node_modules/@sentry/core/esm/integration.js.map new file mode 100644 index 000000000..352425b78 --- /dev/null +++ b/node_modules/@sentry/core/esm/integration.js.map @@ -0,0 +1 @@ +{"version":3,"file":"integration.js","sourceRoot":"","sources":["../src/integration.ts"],"names":[],"mappings":"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","sourcesContent":["import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { Integration, Options } from '@sentry/types';\nimport { addNonEnumerableProperty, logger } from '@sentry/utils';\n\nexport const installedIntegrations: string[] = [];\n\n/** Map of integrations assigned to a client */\nexport type IntegrationIndex = {\n [key: string]: Integration;\n} & { initialized?: boolean };\n\n/**\n * @private\n */\nfunction filterDuplicates(integrations: Integration[]): Integration[] {\n return integrations.reduce((acc, integrations) => {\n if (acc.every(accIntegration => integrations.name !== accIntegration.name)) {\n acc.push(integrations);\n }\n return acc;\n }, [] as Integration[]);\n}\n\n/** Gets integration to install */\nexport function getIntegrationsToSetup(options: Options): Integration[] {\n const defaultIntegrations = (options.defaultIntegrations && [...options.defaultIntegrations]) || [];\n const userIntegrations = options.integrations;\n\n let integrations: Integration[] = [...filterDuplicates(defaultIntegrations)];\n\n if (Array.isArray(userIntegrations)) {\n // Filter out integrations that are also included in user options\n integrations = [\n ...integrations.filter(integrations =>\n userIntegrations.every(userIntegration => userIntegration.name !== integrations.name),\n ),\n // And filter out duplicated user options integrations\n ...filterDuplicates(userIntegrations),\n ];\n } else if (typeof userIntegrations === 'function') {\n integrations = userIntegrations(integrations);\n integrations = Array.isArray(integrations) ? integrations : [integrations];\n }\n\n // Make sure that if present, `Debug` integration will always run last\n const integrationsNames = integrations.map(i => i.name);\n const alwaysLastToRun = 'Debug';\n if (integrationsNames.indexOf(alwaysLastToRun) !== -1) {\n integrations.push(...integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1));\n }\n\n return integrations;\n}\n\n/** Setup given integration */\nexport function setupIntegration(integration: Integration): void {\n if (installedIntegrations.indexOf(integration.name) !== -1) {\n return;\n }\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n logger.log(`Integration installed: ${integration.name}`);\n}\n\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\nexport function setupIntegrations(options: O): IntegrationIndex {\n const integrations: IntegrationIndex = {};\n getIntegrationsToSetup(options).forEach(integration => {\n integrations[integration.name] = integration;\n setupIntegration(integration);\n });\n // set the `initialized` flag so we don't run through the process again unecessarily; use `Object.defineProperty`\n // because by default it creates a property which is nonenumerable, which we want since `initialized` shouldn't be\n // considered a member of the index the way the actual integrations are\n addNonEnumerableProperty(integrations, 'initialized', true);\n return integrations;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/functiontostring.d.ts b/node_modules/@sentry/core/esm/integrations/functiontostring.d.ts new file mode 100644 index 000000000..fced8f640 --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/functiontostring.d.ts @@ -0,0 +1,17 @@ +import { Integration } from '@sentry/types'; +/** Patch toString calls to return proper name for wrapped functions */ +export declare class FunctionToString implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + setupOnce(): void; +} +//# sourceMappingURL=functiontostring.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/functiontostring.d.ts.map b/node_modules/@sentry/core/esm/integrations/functiontostring.d.ts.map new file mode 100644 index 000000000..0053875df --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/functiontostring.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"functiontostring.d.ts","sourceRoot":"","sources":["../../src/integrations/functiontostring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,eAAe,CAAC;AAK7D,uEAAuE;AACvE,qBAAa,gBAAiB,YAAW,WAAW;IAClD;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAsB;IAE9C;;OAEG;IACI,IAAI,EAAE,MAAM,CAAuB;IAE1C;;OAEG;IACI,SAAS,IAAI,IAAI;CAUzB"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/functiontostring.js b/node_modules/@sentry/core/esm/integrations/functiontostring.js new file mode 100644 index 000000000..e2b7c8705 --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/functiontostring.js @@ -0,0 +1,34 @@ +import { getOriginalFunction } from '@sentry/utils'; +var originalFunctionToString; +/** Patch toString calls to return proper name for wrapped functions */ +var FunctionToString = /** @class */ (function () { + function FunctionToString() { + /** + * @inheritDoc + */ + this.name = FunctionToString.id; + } + /** + * @inheritDoc + */ + FunctionToString.prototype.setupOnce = function () { + // eslint-disable-next-line @typescript-eslint/unbound-method + originalFunctionToString = Function.prototype.toString; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Function.prototype.toString = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var context = getOriginalFunction(this) || this; + return originalFunctionToString.apply(context, args); + }; + }; + /** + * @inheritDoc + */ + FunctionToString.id = 'FunctionToString'; + return FunctionToString; +}()); +export { FunctionToString }; +//# sourceMappingURL=functiontostring.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/functiontostring.js.map b/node_modules/@sentry/core/esm/integrations/functiontostring.js.map new file mode 100644 index 000000000..ec59f2dee --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/functiontostring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"functiontostring.js","sourceRoot":"","sources":["../../src/integrations/functiontostring.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,IAAI,wBAAoC,CAAC;AAEzC,uEAAuE;AACvE;IAAA;QAME;;WAEG;QACI,SAAI,GAAW,gBAAgB,CAAC,EAAE,CAAC;IAe5C,CAAC;IAbC;;OAEG;IACI,oCAAS,GAAhB;QACE,6DAA6D;QAC7D,wBAAwB,GAAG,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC;QAEvD,8DAA8D;QAC9D,QAAQ,CAAC,SAAS,CAAC,QAAQ,GAAG;YAAiC,cAAc;iBAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;gBAAd,yBAAc;;YAC3E,IAAM,OAAO,GAAG,mBAAmB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;YAClD,OAAO,wBAAwB,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACvD,CAAC,CAAC;IACJ,CAAC;IAtBD;;OAEG;IACW,mBAAE,GAAW,kBAAkB,CAAC;IAoBhD,uBAAC;CAAA,AAxBD,IAwBC;SAxBY,gBAAgB","sourcesContent":["import { Integration, WrappedFunction } from '@sentry/types';\nimport { getOriginalFunction } from '@sentry/utils';\n\nlet originalFunctionToString: () => void;\n\n/** Patch toString calls to return proper name for wrapped functions */\nexport class FunctionToString implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'FunctionToString';\n\n /**\n * @inheritDoc\n */\n public name: string = FunctionToString.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function (this: WrappedFunction, ...args: any[]): string {\n const context = getOriginalFunction(this) || this;\n return originalFunctionToString.apply(context, args);\n };\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/inboundfilters.d.ts b/node_modules/@sentry/core/esm/integrations/inboundfilters.d.ts new file mode 100644 index 000000000..95e4a1eec --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/inboundfilters.d.ts @@ -0,0 +1,49 @@ +import { Integration } from '@sentry/types'; +/** JSDoc */ +interface InboundFiltersOptions { + allowUrls: Array; + denyUrls: Array; + ignoreErrors: Array; + ignoreInternal: boolean; + /** @deprecated use {@link InboundFiltersOptions.allowUrls} instead. */ + whitelistUrls: Array; + /** @deprecated use {@link InboundFiltersOptions.denyUrls} instead. */ + blacklistUrls: Array; +} +/** Inbound filters configurable by the user */ +export declare class InboundFilters implements Integration { + private readonly _options; + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + constructor(_options?: Partial); + /** + * @inheritDoc + */ + setupOnce(): void; + /** JSDoc */ + private _shouldDropEvent; + /** JSDoc */ + private _isSentryError; + /** JSDoc */ + private _isIgnoredError; + /** JSDoc */ + private _isDeniedUrl; + /** JSDoc */ + private _isAllowedUrl; + /** JSDoc */ + private _mergeOptions; + /** JSDoc */ + private _getPossibleEventMessages; + /** JSDoc */ + private _getLastValidUrl; + /** JSDoc */ + private _getEventFilterUrl; +} +export {}; +//# sourceMappingURL=inboundfilters.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/inboundfilters.d.ts.map b/node_modules/@sentry/core/esm/integrations/inboundfilters.d.ts.map new file mode 100644 index 000000000..91587f6bf --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/inboundfilters.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"inboundfilters.d.ts","sourceRoot":"","sources":["../../src/integrations/inboundfilters.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,WAAW,EAAc,MAAM,eAAe,CAAC;AAO/D,YAAY;AACZ,UAAU,qBAAqB;IAC7B,SAAS,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACjC,YAAY,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACrC,cAAc,EAAE,OAAO,CAAC;IAExB,uEAAuE;IACvE,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACtC,sEAAsE;IACtE,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CACvC;AAED,+CAA+C;AAC/C,qBAAa,cAAe,YAAW,WAAW;IAW7B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAV5C;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAoB;IAE5C;;OAEG;IACI,IAAI,EAAE,MAAM,CAAqB;gBAEJ,QAAQ,GAAE,OAAO,CAAC,qBAAqB,CAAM;IAEjF;;OAEG;IACI,SAAS,IAAI,IAAI;IAyBxB,YAAY;IACZ,OAAO,CAAC,gBAAgB;IAsCxB,YAAY;IACZ,OAAO,CAAC,cAAc;IAgBtB,YAAY;IACZ,OAAO,CAAC,eAAe;IAWvB,YAAY;IACZ,OAAO,CAAC,YAAY;IASpB,YAAY;IACZ,OAAO,CAAC,aAAa;IASrB,YAAY;IACZ,OAAO,CAAC,aAAa;IA2BrB,YAAY;IACZ,OAAO,CAAC,yBAAyB;IAkBjC,YAAY;IACZ,OAAO,CAAC,gBAAgB;IAYxB,YAAY;IACZ,OAAO,CAAC,kBAAkB;CAoB3B"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/inboundfilters.js b/node_modules/@sentry/core/esm/integrations/inboundfilters.js new file mode 100644 index 000000000..551c65407 --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/inboundfilters.js @@ -0,0 +1,185 @@ +import { __read, __spread } from "tslib"; +import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub'; +import { getEventDescription, isDebugBuild, isMatchingPattern, logger } from '@sentry/utils'; +// "Script error." is hard coded into browsers for errors that it can't read. +// this is the result of a script being pulled in from an external domain and CORS. +var DEFAULT_IGNORE_ERRORS = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/]; +/** Inbound filters configurable by the user */ +var InboundFilters = /** @class */ (function () { + function InboundFilters(_options) { + if (_options === void 0) { _options = {}; } + this._options = _options; + /** + * @inheritDoc + */ + this.name = InboundFilters.id; + } + /** + * @inheritDoc + */ + InboundFilters.prototype.setupOnce = function () { + addGlobalEventProcessor(function (event) { + var hub = getCurrentHub(); + if (!hub) { + return event; + } + var self = hub.getIntegration(InboundFilters); + if (self) { + var client = hub.getClient(); + var clientOptions = client ? client.getOptions() : {}; + // This checks prevents most of the occurrences of the bug linked below: + // https://github.com/getsentry/sentry-javascript/issues/2622 + // The bug is caused by multiple SDK instances, where one is minified and one is using non-mangled code. + // Unfortunatelly we cannot fix it reliably (thus reserved property in rollup's terser config), + // as we cannot force people using multiple instances in their apps to sync SDK versions. + var options = typeof self._mergeOptions === 'function' ? self._mergeOptions(clientOptions) : {}; + if (typeof self._shouldDropEvent !== 'function') { + return event; + } + return self._shouldDropEvent(event, options) ? null : event; + } + return event; + }); + }; + /** JSDoc */ + InboundFilters.prototype._shouldDropEvent = function (event, options) { + if (this._isSentryError(event, options)) { + if (isDebugBuild()) { + logger.warn("Event dropped due to being internal Sentry Error.\nEvent: " + getEventDescription(event)); + } + return true; + } + if (this._isIgnoredError(event, options)) { + if (isDebugBuild()) { + logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + getEventDescription(event)); + } + return true; + } + if (this._isDeniedUrl(event, options)) { + if (isDebugBuild()) { + logger.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + getEventDescription(event) + ".\nUrl: " + this._getEventFilterUrl(event)); + } + return true; + } + if (!this._isAllowedUrl(event, options)) { + if (isDebugBuild()) { + logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + getEventDescription(event) + ".\nUrl: " + this._getEventFilterUrl(event)); + } + return true; + } + return false; + }; + /** JSDoc */ + InboundFilters.prototype._isSentryError = function (event, options) { + if (!options.ignoreInternal) { + return false; + } + try { + // @ts-ignore can't be a sentry error if undefined + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return event.exception.values[0].type === 'SentryError'; + } + catch (e) { + // ignore + } + return false; + }; + /** JSDoc */ + InboundFilters.prototype._isIgnoredError = function (event, options) { + if (!options.ignoreErrors || !options.ignoreErrors.length) { + return false; + } + return this._getPossibleEventMessages(event).some(function (message) { + // Not sure why TypeScript complains here... + return options.ignoreErrors.some(function (pattern) { return isMatchingPattern(message, pattern); }); + }); + }; + /** JSDoc */ + InboundFilters.prototype._isDeniedUrl = function (event, options) { + // TODO: Use Glob instead? + if (!options.denyUrls || !options.denyUrls.length) { + return false; + } + var url = this._getEventFilterUrl(event); + return !url ? false : options.denyUrls.some(function (pattern) { return isMatchingPattern(url, pattern); }); + }; + /** JSDoc */ + InboundFilters.prototype._isAllowedUrl = function (event, options) { + // TODO: Use Glob instead? + if (!options.allowUrls || !options.allowUrls.length) { + return true; + } + var url = this._getEventFilterUrl(event); + return !url ? true : options.allowUrls.some(function (pattern) { return isMatchingPattern(url, pattern); }); + }; + /** JSDoc */ + InboundFilters.prototype._mergeOptions = function (clientOptions) { + if (clientOptions === void 0) { clientOptions = {}; } + return { + allowUrls: __spread((this._options.whitelistUrls || []), (this._options.allowUrls || []), (clientOptions.whitelistUrls || []), (clientOptions.allowUrls || [])), + denyUrls: __spread((this._options.blacklistUrls || []), (this._options.denyUrls || []), (clientOptions.blacklistUrls || []), (clientOptions.denyUrls || [])), + ignoreErrors: __spread((this._options.ignoreErrors || []), (clientOptions.ignoreErrors || []), DEFAULT_IGNORE_ERRORS), + ignoreInternal: typeof this._options.ignoreInternal !== 'undefined' ? this._options.ignoreInternal : true, + }; + }; + /** JSDoc */ + InboundFilters.prototype._getPossibleEventMessages = function (event) { + if (event.message) { + return [event.message]; + } + if (event.exception) { + try { + var _a = (event.exception.values && event.exception.values[0]) || {}, _b = _a.type, type = _b === void 0 ? '' : _b, _c = _a.value, value = _c === void 0 ? '' : _c; + return ["" + value, type + ": " + value]; + } + catch (oO) { + if (isDebugBuild()) { + logger.error("Cannot extract message for event " + getEventDescription(event)); + } + return []; + } + } + return []; + }; + /** JSDoc */ + InboundFilters.prototype._getLastValidUrl = function (frames) { + if (frames === void 0) { frames = []; } + for (var i = frames.length - 1; i >= 0; i--) { + var frame = frames[i]; + if (frame && frame.filename !== '' && frame.filename !== '[native code]') { + return frame.filename || null; + } + } + return null; + }; + /** JSDoc */ + InboundFilters.prototype._getEventFilterUrl = function (event) { + try { + if (event.stacktrace) { + return this._getLastValidUrl(event.stacktrace.frames); + } + var frames_1; + try { + // @ts-ignore we only care about frames if the whole thing here is defined + frames_1 = event.exception.values[0].stacktrace.frames; + } + catch (e) { + // ignore + } + return frames_1 ? this._getLastValidUrl(frames_1) : null; + } + catch (oO) { + if (isDebugBuild()) { + logger.error("Cannot extract url for event " + getEventDescription(event)); + } + return null; + } + }; + /** + * @inheritDoc + */ + InboundFilters.id = 'InboundFilters'; + return InboundFilters; +}()); +export { InboundFilters }; +//# sourceMappingURL=inboundfilters.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/inboundfilters.js.map b/node_modules/@sentry/core/esm/integrations/inboundfilters.js.map new file mode 100644 index 000000000..dddbbfed7 --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/inboundfilters.js.map @@ -0,0 +1 @@ +{"version":3,"file":"inboundfilters.js","sourceRoot":"","sources":["../../src/integrations/inboundfilters.ts"],"names":[],"mappings":"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","sourcesContent":["import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { Event, Integration, StackFrame } from '@sentry/types';\nimport { getEventDescription, isDebugBuild, isMatchingPattern, logger } from '@sentry/utils';\n\n// \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\nconst DEFAULT_IGNORE_ERRORS = [/^Script error\\.?$/, /^Javascript error: Script error\\.? on line 0$/];\n\n/** JSDoc */\ninterface InboundFiltersOptions {\n allowUrls: Array;\n denyUrls: Array;\n ignoreErrors: Array;\n ignoreInternal: boolean;\n\n /** @deprecated use {@link InboundFiltersOptions.allowUrls} instead. */\n whitelistUrls: Array;\n /** @deprecated use {@link InboundFiltersOptions.denyUrls} instead. */\n blacklistUrls: Array;\n}\n\n/** Inbound filters configurable by the user */\nexport class InboundFilters implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'InboundFilters';\n\n /**\n * @inheritDoc\n */\n public name: string = InboundFilters.id;\n\n public constructor(private readonly _options: Partial = {}) {}\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event) => {\n const hub = getCurrentHub();\n if (!hub) {\n return event;\n }\n const self = hub.getIntegration(InboundFilters);\n if (self) {\n const client = hub.getClient();\n const clientOptions = client ? client.getOptions() : {};\n // This checks prevents most of the occurrences of the bug linked below:\n // https://github.com/getsentry/sentry-javascript/issues/2622\n // The bug is caused by multiple SDK instances, where one is minified and one is using non-mangled code.\n // Unfortunatelly we cannot fix it reliably (thus reserved property in rollup's terser config),\n // as we cannot force people using multiple instances in their apps to sync SDK versions.\n const options = typeof self._mergeOptions === 'function' ? self._mergeOptions(clientOptions) : {};\n if (typeof self._shouldDropEvent !== 'function') {\n return event;\n }\n return self._shouldDropEvent(event, options) ? null : event;\n }\n return event;\n });\n }\n\n /** JSDoc */\n private _shouldDropEvent(event: Event, options: Partial): boolean {\n if (this._isSentryError(event, options)) {\n if (isDebugBuild()) {\n logger.warn(`Event dropped due to being internal Sentry Error.\\nEvent: ${getEventDescription(event)}`);\n }\n return true;\n }\n if (this._isIgnoredError(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to being matched by \\`ignoreErrors\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n }\n return true;\n }\n if (this._isDeniedUrl(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to being matched by \\`denyUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${this._getEventFilterUrl(event)}`,\n );\n }\n return true;\n }\n if (!this._isAllowedUrl(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to not being matched by \\`allowUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${this._getEventFilterUrl(event)}`,\n );\n }\n return true;\n }\n return false;\n }\n\n /** JSDoc */\n private _isSentryError(event: Event, options: Partial): boolean {\n if (!options.ignoreInternal) {\n return false;\n }\n\n try {\n // @ts-ignore can't be a sentry error if undefined\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {\n // ignore\n }\n\n return false;\n }\n\n /** JSDoc */\n private _isIgnoredError(event: Event, options: Partial): boolean {\n if (!options.ignoreErrors || !options.ignoreErrors.length) {\n return false;\n }\n\n return this._getPossibleEventMessages(event).some(message =>\n // Not sure why TypeScript complains here...\n (options.ignoreErrors as Array).some(pattern => isMatchingPattern(message, pattern)),\n );\n }\n\n /** JSDoc */\n private _isDeniedUrl(event: Event, options: Partial): boolean {\n // TODO: Use Glob instead?\n if (!options.denyUrls || !options.denyUrls.length) {\n return false;\n }\n const url = this._getEventFilterUrl(event);\n return !url ? false : options.denyUrls.some(pattern => isMatchingPattern(url, pattern));\n }\n\n /** JSDoc */\n private _isAllowedUrl(event: Event, options: Partial): boolean {\n // TODO: Use Glob instead?\n if (!options.allowUrls || !options.allowUrls.length) {\n return true;\n }\n const url = this._getEventFilterUrl(event);\n return !url ? true : options.allowUrls.some(pattern => isMatchingPattern(url, pattern));\n }\n\n /** JSDoc */\n private _mergeOptions(clientOptions: Partial = {}): Partial {\n return {\n allowUrls: [\n // eslint-disable-next-line deprecation/deprecation\n ...(this._options.whitelistUrls || []),\n ...(this._options.allowUrls || []),\n // eslint-disable-next-line deprecation/deprecation\n ...(clientOptions.whitelistUrls || []),\n ...(clientOptions.allowUrls || []),\n ],\n denyUrls: [\n // eslint-disable-next-line deprecation/deprecation\n ...(this._options.blacklistUrls || []),\n ...(this._options.denyUrls || []),\n // eslint-disable-next-line deprecation/deprecation\n ...(clientOptions.blacklistUrls || []),\n ...(clientOptions.denyUrls || []),\n ],\n ignoreErrors: [\n ...(this._options.ignoreErrors || []),\n ...(clientOptions.ignoreErrors || []),\n ...DEFAULT_IGNORE_ERRORS,\n ],\n ignoreInternal: typeof this._options.ignoreInternal !== 'undefined' ? this._options.ignoreInternal : true,\n };\n }\n\n /** JSDoc */\n private _getPossibleEventMessages(event: Event): string[] {\n if (event.message) {\n return [event.message];\n }\n if (event.exception) {\n try {\n const { type = '', value = '' } = (event.exception.values && event.exception.values[0]) || {};\n return [`${value}`, `${type}: ${value}`];\n } catch (oO) {\n if (isDebugBuild()) {\n logger.error(`Cannot extract message for event ${getEventDescription(event)}`);\n }\n return [];\n }\n }\n return [];\n }\n\n /** JSDoc */\n private _getLastValidUrl(frames: StackFrame[] = []): string | null {\n for (let i = frames.length - 1; i >= 0; i--) {\n const frame = frames[i];\n\n if (frame && frame.filename !== '' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n }\n\n /** JSDoc */\n private _getEventFilterUrl(event: Event): string | null {\n try {\n if (event.stacktrace) {\n return this._getLastValidUrl(event.stacktrace.frames);\n }\n let frames;\n try {\n // @ts-ignore we only care about frames if the whole thing here is defined\n frames = event.exception.values[0].stacktrace.frames;\n } catch (e) {\n // ignore\n }\n return frames ? this._getLastValidUrl(frames) : null;\n } catch (oO) {\n if (isDebugBuild()) {\n logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n }\n return null;\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/index.d.ts b/node_modules/@sentry/core/esm/integrations/index.d.ts new file mode 100644 index 000000000..c1812e398 --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/index.d.ts @@ -0,0 +1,3 @@ +export { FunctionToString } from './functiontostring'; +export { InboundFilters } from './inboundfilters'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/index.d.ts.map b/node_modules/@sentry/core/esm/integrations/index.d.ts.map new file mode 100644 index 000000000..c3c2b3f1f --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/index.js b/node_modules/@sentry/core/esm/integrations/index.js new file mode 100644 index 000000000..f0fb9657a --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/index.js @@ -0,0 +1,3 @@ +export { FunctionToString } from './functiontostring'; +export { InboundFilters } from './inboundfilters'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/integrations/index.js.map b/node_modules/@sentry/core/esm/integrations/index.js.map new file mode 100644 index 000000000..fa0c0bcc3 --- /dev/null +++ b/node_modules/@sentry/core/esm/integrations/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["export { FunctionToString } from './functiontostring';\nexport { InboundFilters } from './inboundfilters';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/request.d.ts b/node_modules/@sentry/core/esm/request.d.ts new file mode 100644 index 000000000..371df76af --- /dev/null +++ b/node_modules/@sentry/core/esm/request.d.ts @@ -0,0 +1,7 @@ +import { Event, SentryRequest, Session, SessionAggregates } from '@sentry/types'; +import { APIDetails } from './api'; +/** Creates a SentryRequest from a Session. */ +export declare function sessionToSentryRequest(session: Session | SessionAggregates, api: APIDetails): SentryRequest; +/** Creates a SentryRequest from an event. */ +export declare function eventToSentryRequest(event: Event, api: APIDetails): SentryRequest; +//# sourceMappingURL=request.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/request.d.ts.map b/node_modules/@sentry/core/esm/request.d.ts.map new file mode 100644 index 000000000..2c4527508 --- /dev/null +++ b/node_modules/@sentry/core/esm/request.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAW,aAAa,EAAqB,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAG7G,OAAO,EAAE,UAAU,EAA6E,MAAM,OAAO,CAAC;AA2B9G,8CAA8C;AAC9C,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,EAAE,GAAG,EAAE,UAAU,GAAG,aAAa,CAkB3G;AAED,6CAA6C;AAC7C,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,GAAG,aAAa,CAkHjF"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/request.js b/node_modules/@sentry/core/esm/request.js new file mode 100644 index 000000000..e0f1d9541 --- /dev/null +++ b/node_modules/@sentry/core/esm/request.js @@ -0,0 +1,131 @@ +import { __assign, __read, __spread } from "tslib"; +import { dsnToString, normalize } from '@sentry/utils'; +import { getEnvelopeEndpointWithUrlEncodedAuth, getStoreEndpointWithUrlEncodedAuth } from './api'; +/** Extract sdk info from from the API metadata */ +function getSdkMetadataForEnvelopeHeader(api) { + if (!api.metadata || !api.metadata.sdk) { + return; + } + var _a = api.metadata.sdk, name = _a.name, version = _a.version; + return { name: name, version: version }; +} +/** + * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key. + * Merge with existing data if any. + **/ +function enhanceEventWithSdkInfo(event, sdkInfo) { + if (!sdkInfo) { + return event; + } + event.sdk = event.sdk || {}; + event.sdk.name = event.sdk.name || sdkInfo.name; + event.sdk.version = event.sdk.version || sdkInfo.version; + event.sdk.integrations = __spread((event.sdk.integrations || []), (sdkInfo.integrations || [])); + event.sdk.packages = __spread((event.sdk.packages || []), (sdkInfo.packages || [])); + return event; +} +/** Creates a SentryRequest from a Session. */ +export function sessionToSentryRequest(session, api) { + var sdkInfo = getSdkMetadataForEnvelopeHeader(api); + var envelopeHeaders = JSON.stringify(__assign(__assign({ sent_at: new Date().toISOString() }, (sdkInfo && { sdk: sdkInfo })), (!!api.tunnel && { dsn: dsnToString(api.dsn) }))); + // I know this is hacky but we don't want to add `session` to request type since it's never rate limited + var type = 'aggregates' in session ? 'sessions' : 'session'; + var itemHeaders = JSON.stringify({ + type: type, + }); + return { + body: envelopeHeaders + "\n" + itemHeaders + "\n" + JSON.stringify(session), + type: type, + url: getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel), + }; +} +/** Creates a SentryRequest from an event. */ +export function eventToSentryRequest(event, api) { + var sdkInfo = getSdkMetadataForEnvelopeHeader(api); + var eventType = event.type || 'event'; + var useEnvelope = eventType === 'transaction' || !!api.tunnel; + var transactionSampling = (event.sdkProcessingMetadata || {}).transactionSampling; + var _a = transactionSampling || {}, samplingMethod = _a.method, sampleRate = _a.rate; + // TODO: Below is a temporary hack in order to debug a serialization error - see + // https://github.com/getsentry/sentry-javascript/issues/2809, + // https://github.com/getsentry/sentry-javascript/pull/4425, and + // https://github.com/getsentry/sentry-javascript/pull/4574. + // + // TL; DR: even though we normalize all events (which should prevent this), something is causing `JSON.stringify` to + // throw a circular reference error. + // + // When it's time to remove it: + // 1. Delete everything between here and where the request object `req` is created, EXCEPT the line deleting + // `sdkProcessingMetadata` + // 2. Restore the original version of the request body, which is commented out + // 3. Search for either of the PR URLs above and pull out the companion hacks in the browser playwright tests and the + // baseClient tests in this package + enhanceEventWithSdkInfo(event, api.metadata.sdk); + event.tags = event.tags || {}; + event.extra = event.extra || {}; + // In theory, all events should be marked as having gone through normalization and so + // we should never set this tag/extra data + if (!(event.sdkProcessingMetadata && event.sdkProcessingMetadata.baseClientNormalized)) { + event.tags.skippedNormalization = true; + event.extra.normalizeDepth = event.sdkProcessingMetadata ? event.sdkProcessingMetadata.normalizeDepth : 'unset'; + } + // prevent this data from being sent to sentry + // TODO: This is NOT part of the hack - DO NOT DELETE + delete event.sdkProcessingMetadata; + var body; + try { + // 99.9% of events should get through just fine - no change in behavior for them + body = JSON.stringify(event); + } + catch (err) { + // Record data about the error without replacing original event data, then force renormalization + event.tags.JSONStringifyError = true; + event.extra.JSONStringifyError = err; + try { + body = JSON.stringify(normalize(event)); + } + catch (newErr) { + // At this point even renormalization hasn't worked, meaning something about the event data has gone very wrong. + // Time to cut our losses and record only the new error. With luck, even in the problematic cases we're trying to + // debug with this hack, we won't ever land here. + var innerErr = newErr; + body = JSON.stringify({ + message: 'JSON.stringify error after renormalization', + // setting `extra: { innerErr }` here for some reason results in an empty object, so unpack manually + extra: { message: innerErr.message, stack: innerErr.stack }, + }); + } + } + var req = { + // this is the relevant line of code before the hack was added, to make it easy to undo said hack once we've solved + // the mystery + // body: JSON.stringify(sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event), + body: body, + type: eventType, + url: useEnvelope + ? getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel) + : getStoreEndpointWithUrlEncodedAuth(api.dsn), + }; + // https://develop.sentry.dev/sdk/envelopes/ + // Since we don't need to manipulate envelopes nor store them, there is no + // exported concept of an Envelope with operations including serialization and + // deserialization. Instead, we only implement a minimal subset of the spec to + // serialize events inline here. + if (useEnvelope) { + var envelopeHeaders = JSON.stringify(__assign(__assign({ event_id: event.event_id, sent_at: new Date().toISOString() }, (sdkInfo && { sdk: sdkInfo })), (!!api.tunnel && { dsn: dsnToString(api.dsn) }))); + var itemHeaders = JSON.stringify({ + type: eventType, + // TODO: Right now, sampleRate may or may not be defined (it won't be in the cases of inheritance and + // explicitly-set sampling decisions). Are we good with that? + sample_rates: [{ id: samplingMethod, rate: sampleRate }], + }); + // The trailing newline is optional. We intentionally don't send it to avoid + // sending unnecessary bytes. + // + // const envelope = `${envelopeHeaders}\n${itemHeaders}\n${req.body}\n`; + var envelope = envelopeHeaders + "\n" + itemHeaders + "\n" + req.body; + req.body = envelope; + } + return req; +} +//# sourceMappingURL=request.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/request.js.map b/node_modules/@sentry/core/esm/request.js.map new file mode 100644 index 000000000..c0dafc446 --- /dev/null +++ b/node_modules/@sentry/core/esm/request.js.map @@ -0,0 +1 @@ +{"version":3,"file":"request.js","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"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","sourcesContent":["import { Event, SdkInfo, SentryRequest, SentryRequestType, Session, SessionAggregates } from '@sentry/types';\nimport { dsnToString, normalize } from '@sentry/utils';\n\nimport { APIDetails, getEnvelopeEndpointWithUrlEncodedAuth, getStoreEndpointWithUrlEncodedAuth } from './api';\n\n/** Extract sdk info from from the API metadata */\nfunction getSdkMetadataForEnvelopeHeader(api: APIDetails): SdkInfo | undefined {\n if (!api.metadata || !api.metadata.sdk) {\n return;\n }\n const { name, version } = api.metadata.sdk;\n return { name, version };\n}\n\n/**\n * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key.\n * Merge with existing data if any.\n **/\nfunction enhanceEventWithSdkInfo(event: Event, sdkInfo?: SdkInfo): Event {\n if (!sdkInfo) {\n return event;\n }\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || sdkInfo.name;\n event.sdk.version = event.sdk.version || sdkInfo.version;\n event.sdk.integrations = [...(event.sdk.integrations || []), ...(sdkInfo.integrations || [])];\n event.sdk.packages = [...(event.sdk.packages || []), ...(sdkInfo.packages || [])];\n return event;\n}\n\n/** Creates a SentryRequest from a Session. */\nexport function sessionToSentryRequest(session: Session | SessionAggregates, api: APIDetails): SentryRequest {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(api);\n const envelopeHeaders = JSON.stringify({\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!api.tunnel && { dsn: dsnToString(api.dsn) }),\n });\n // I know this is hacky but we don't want to add `session` to request type since it's never rate limited\n const type: SentryRequestType = 'aggregates' in session ? ('sessions' as SentryRequestType) : 'session';\n const itemHeaders = JSON.stringify({\n type,\n });\n\n return {\n body: `${envelopeHeaders}\\n${itemHeaders}\\n${JSON.stringify(session)}`,\n type,\n url: getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel),\n };\n}\n\n/** Creates a SentryRequest from an event. */\nexport function eventToSentryRequest(event: Event, api: APIDetails): SentryRequest {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(api);\n const eventType = event.type || 'event';\n const useEnvelope = eventType === 'transaction' || !!api.tunnel;\n\n const { transactionSampling } = event.sdkProcessingMetadata || {};\n const { method: samplingMethod, rate: sampleRate } = transactionSampling || {};\n\n // TODO: Below is a temporary hack in order to debug a serialization error - see\n // https://github.com/getsentry/sentry-javascript/issues/2809,\n // https://github.com/getsentry/sentry-javascript/pull/4425, and\n // https://github.com/getsentry/sentry-javascript/pull/4574.\n //\n // TL; DR: even though we normalize all events (which should prevent this), something is causing `JSON.stringify` to\n // throw a circular reference error.\n //\n // When it's time to remove it:\n // 1. Delete everything between here and where the request object `req` is created, EXCEPT the line deleting\n // `sdkProcessingMetadata`\n // 2. Restore the original version of the request body, which is commented out\n // 3. Search for either of the PR URLs above and pull out the companion hacks in the browser playwright tests and the\n // baseClient tests in this package\n enhanceEventWithSdkInfo(event, api.metadata.sdk);\n event.tags = event.tags || {};\n event.extra = event.extra || {};\n\n // In theory, all events should be marked as having gone through normalization and so\n // we should never set this tag/extra data\n if (!(event.sdkProcessingMetadata && event.sdkProcessingMetadata.baseClientNormalized)) {\n event.tags.skippedNormalization = true;\n event.extra.normalizeDepth = event.sdkProcessingMetadata ? event.sdkProcessingMetadata.normalizeDepth : 'unset';\n }\n\n // prevent this data from being sent to sentry\n // TODO: This is NOT part of the hack - DO NOT DELETE\n delete event.sdkProcessingMetadata;\n\n let body;\n try {\n // 99.9% of events should get through just fine - no change in behavior for them\n body = JSON.stringify(event);\n } catch (err) {\n // Record data about the error without replacing original event data, then force renormalization\n event.tags.JSONStringifyError = true;\n event.extra.JSONStringifyError = err;\n try {\n body = JSON.stringify(normalize(event));\n } catch (newErr) {\n // At this point even renormalization hasn't worked, meaning something about the event data has gone very wrong.\n // Time to cut our losses and record only the new error. With luck, even in the problematic cases we're trying to\n // debug with this hack, we won't ever land here.\n const innerErr = newErr as Error;\n body = JSON.stringify({\n message: 'JSON.stringify error after renormalization',\n // setting `extra: { innerErr }` here for some reason results in an empty object, so unpack manually\n extra: { message: innerErr.message, stack: innerErr.stack },\n });\n }\n }\n\n const req: SentryRequest = {\n // this is the relevant line of code before the hack was added, to make it easy to undo said hack once we've solved\n // the mystery\n // body: JSON.stringify(sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event),\n body,\n type: eventType,\n url: useEnvelope\n ? getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel)\n : getStoreEndpointWithUrlEncodedAuth(api.dsn),\n };\n\n // https://develop.sentry.dev/sdk/envelopes/\n\n // Since we don't need to manipulate envelopes nor store them, there is no\n // exported concept of an Envelope with operations including serialization and\n // deserialization. Instead, we only implement a minimal subset of the spec to\n // serialize events inline here.\n if (useEnvelope) {\n const envelopeHeaders = JSON.stringify({\n event_id: event.event_id,\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!api.tunnel && { dsn: dsnToString(api.dsn) }),\n });\n const itemHeaders = JSON.stringify({\n type: eventType,\n\n // TODO: Right now, sampleRate may or may not be defined (it won't be in the cases of inheritance and\n // explicitly-set sampling decisions). Are we good with that?\n sample_rates: [{ id: samplingMethod, rate: sampleRate }],\n\n // The content-type is assumed to be 'application/json' and not part of\n // the current spec for transaction items, so we don't bloat the request\n // body with it.\n //\n // content_type: 'application/json',\n //\n // The length is optional. It must be the number of bytes in req.Body\n // encoded as UTF-8. Since the server can figure this out and would\n // otherwise refuse events that report the length incorrectly, we decided\n // not to send the length to avoid problems related to reporting the wrong\n // size and to reduce request body size.\n //\n // length: new TextEncoder().encode(req.body).length,\n });\n // The trailing newline is optional. We intentionally don't send it to avoid\n // sending unnecessary bytes.\n //\n // const envelope = `${envelopeHeaders}\\n${itemHeaders}\\n${req.body}\\n`;\n const envelope = `${envelopeHeaders}\\n${itemHeaders}\\n${req.body}`;\n req.body = envelope;\n }\n\n return req;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/sdk.d.ts b/node_modules/@sentry/core/esm/sdk.d.ts new file mode 100644 index 000000000..01e5588ac --- /dev/null +++ b/node_modules/@sentry/core/esm/sdk.d.ts @@ -0,0 +1,12 @@ +import { Client, Options } from '@sentry/types'; +/** A class object that can instantiate Client objects. */ +export declare type ClientClass = new (options: O) => F; +/** + * Internal function to create a new SDK client instance. The client is + * installed and then bound to the current scope. + * + * @param clientClass The client class to instantiate. + * @param options Options to pass to the client. + */ +export declare function initAndBind(clientClass: ClientClass, options: O): void; +//# sourceMappingURL=sdk.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/sdk.d.ts.map b/node_modules/@sentry/core/esm/sdk.d.ts.map new file mode 100644 index 000000000..3a9fb9ded --- /dev/null +++ b/node_modules/@sentry/core/esm/sdk.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGhD,0DAA0D;AAC1D,oBAAY,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,IAAI,KAAK,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;AAErF;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,CAWjH"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/sdk.js b/node_modules/@sentry/core/esm/sdk.js new file mode 100644 index 000000000..70696be36 --- /dev/null +++ b/node_modules/@sentry/core/esm/sdk.js @@ -0,0 +1,22 @@ +import { getCurrentHub } from '@sentry/hub'; +import { logger } from '@sentry/utils'; +/** + * Internal function to create a new SDK client instance. The client is + * installed and then bound to the current scope. + * + * @param clientClass The client class to instantiate. + * @param options Options to pass to the client. + */ +export function initAndBind(clientClass, options) { + if (options.debug === true) { + logger.enable(); + } + var hub = getCurrentHub(); + var scope = hub.getScope(); + if (scope) { + scope.update(options.initialScope); + } + var client = new clientClass(options); + hub.bindClient(client); +} +//# sourceMappingURL=sdk.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/sdk.js.map b/node_modules/@sentry/core/esm/sdk.js.map new file mode 100644 index 000000000..0cfe0a11f --- /dev/null +++ b/node_modules/@sentry/core/esm/sdk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAKvC;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CAAsC,WAA8B,EAAE,OAAU;IACzG,IAAI,OAAO,CAAC,KAAK,KAAK,IAAI,EAAE;QAC1B,MAAM,CAAC,MAAM,EAAE,CAAC;KACjB;IACD,IAAM,GAAG,GAAG,aAAa,EAAE,CAAC;IAC5B,IAAM,KAAK,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;IAC7B,IAAI,KAAK,EAAE;QACT,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;KACpC;IACD,IAAM,MAAM,GAAG,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC;IACxC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACzB,CAAC","sourcesContent":["import { getCurrentHub } from '@sentry/hub';\nimport { Client, Options } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\n/** A class object that can instantiate Client objects. */\nexport type ClientClass = new (options: O) => F;\n\n/**\n * Internal function to create a new SDK client instance. The client is\n * installed and then bound to the current scope.\n *\n * @param clientClass The client class to instantiate.\n * @param options Options to pass to the client.\n */\nexport function initAndBind(clientClass: ClientClass, options: O): void {\n if (options.debug === true) {\n logger.enable();\n }\n const hub = getCurrentHub();\n const scope = hub.getScope();\n if (scope) {\n scope.update(options.initialScope);\n }\n const client = new clientClass(options);\n hub.bindClient(client);\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/transports/noop.d.ts b/node_modules/@sentry/core/esm/transports/noop.d.ts new file mode 100644 index 000000000..7b517684b --- /dev/null +++ b/node_modules/@sentry/core/esm/transports/noop.d.ts @@ -0,0 +1,13 @@ +import { Event, Response, Transport } from '@sentry/types'; +/** Noop transport */ +export declare class NoopTransport implements Transport { + /** + * @inheritDoc + */ + sendEvent(_: Event): PromiseLike; + /** + * @inheritDoc + */ + close(_?: number): PromiseLike; +} +//# sourceMappingURL=noop.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/transports/noop.d.ts.map b/node_modules/@sentry/core/esm/transports/noop.d.ts.map new file mode 100644 index 000000000..b4e62dc6f --- /dev/null +++ b/node_modules/@sentry/core/esm/transports/noop.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"noop.d.ts","sourceRoot":"","sources":["../../src/transports/noop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG3D,qBAAqB;AACrB,qBAAa,aAAc,YAAW,SAAS;IAC7C;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC;IAOjD;;OAEG;IACI,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC;CAG/C"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/transports/noop.js b/node_modules/@sentry/core/esm/transports/noop.js new file mode 100644 index 000000000..38834af2b --- /dev/null +++ b/node_modules/@sentry/core/esm/transports/noop.js @@ -0,0 +1,24 @@ +import { resolvedSyncPromise } from '@sentry/utils'; +/** Noop transport */ +var NoopTransport = /** @class */ (function () { + function NoopTransport() { + } + /** + * @inheritDoc + */ + NoopTransport.prototype.sendEvent = function (_) { + return resolvedSyncPromise({ + reason: "NoopTransport: Event has been skipped because no Dsn is configured.", + status: 'skipped', + }); + }; + /** + * @inheritDoc + */ + NoopTransport.prototype.close = function (_) { + return resolvedSyncPromise(true); + }; + return NoopTransport; +}()); +export { NoopTransport }; +//# sourceMappingURL=noop.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/transports/noop.js.map b/node_modules/@sentry/core/esm/transports/noop.js.map new file mode 100644 index 000000000..bf10aab2c --- /dev/null +++ b/node_modules/@sentry/core/esm/transports/noop.js.map @@ -0,0 +1 @@ +{"version":3,"file":"noop.js","sourceRoot":"","sources":["../../src/transports/noop.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,qBAAqB;AACrB;IAAA;IAiBA,CAAC;IAhBC;;OAEG;IACI,iCAAS,GAAhB,UAAiB,CAAQ;QACvB,OAAO,mBAAmB,CAAC;YACzB,MAAM,EAAE,qEAAqE;YAC7E,MAAM,EAAE,SAAS;SAClB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACI,6BAAK,GAAZ,UAAa,CAAU;QACrB,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACH,oBAAC;AAAD,CAAC,AAjBD,IAiBC","sourcesContent":["import { Event, Response, Transport } from '@sentry/types';\nimport { resolvedSyncPromise } from '@sentry/utils';\n\n/** Noop transport */\nexport class NoopTransport implements Transport {\n /**\n * @inheritDoc\n */\n public sendEvent(_: Event): PromiseLike {\n return resolvedSyncPromise({\n reason: `NoopTransport: Event has been skipped because no Dsn is configured.`,\n status: 'skipped',\n });\n }\n\n /**\n * @inheritDoc\n */\n public close(_?: number): PromiseLike {\n return resolvedSyncPromise(true);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/version.d.ts b/node_modules/@sentry/core/esm/version.d.ts new file mode 100644 index 000000000..91fa8c825 --- /dev/null +++ b/node_modules/@sentry/core/esm/version.d.ts @@ -0,0 +1,2 @@ +export declare const SDK_VERSION = "6.17.9"; +//# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/version.d.ts.map b/node_modules/@sentry/core/esm/version.d.ts.map new file mode 100644 index 000000000..3afc6d88d --- /dev/null +++ b/node_modules/@sentry/core/esm/version.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/version.js b/node_modules/@sentry/core/esm/version.js new file mode 100644 index 000000000..1f7ae1e8a --- /dev/null +++ b/node_modules/@sentry/core/esm/version.js @@ -0,0 +1,2 @@ +export var SDK_VERSION = '6.17.9'; +//# sourceMappingURL=version.js.map \ No newline at end of file diff --git a/node_modules/@sentry/core/esm/version.js.map b/node_modules/@sentry/core/esm/version.js.map new file mode 100644 index 000000000..e54926323 --- /dev/null +++ b/node_modules/@sentry/core/esm/version.js.map @@ -0,0 +1 @@ +{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,WAAW,GAAG,QAAQ,CAAC","sourcesContent":["export const SDK_VERSION = '6.17.9';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/core/node_modules/tslib/CopyrightNotice.txt b/node_modules/@sentry/core/node_modules/tslib/CopyrightNotice.txt new file mode 100644 index 000000000..3d4c82348 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/CopyrightNotice.txt @@ -0,0 +1,15 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + diff --git a/node_modules/@sentry/core/node_modules/tslib/LICENSE.txt b/node_modules/@sentry/core/node_modules/tslib/LICENSE.txt new file mode 100644 index 000000000..bfe6430cb --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/LICENSE.txt @@ -0,0 +1,12 @@ +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/node_modules/@sentry/core/node_modules/tslib/README.md b/node_modules/@sentry/core/node_modules/tslib/README.md new file mode 100644 index 000000000..a5b2692c8 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/README.md @@ -0,0 +1,142 @@ +# tslib + +This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions. + +This library is primarily used by the `--importHelpers` flag in TypeScript. +When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: + +```ts +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +exports.x = {}; +exports.y = __assign({}, exports.x); + +``` + +will instead be emitted as something like the following: + +```ts +var tslib_1 = require("tslib"); +exports.x = {}; +exports.y = tslib_1.__assign({}, exports.x); +``` + +Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. +For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. + +# Installing + +For the latest stable version, run: + +## npm + +```sh +# TypeScript 2.3.3 or later +npm install tslib + +# TypeScript 2.3.2 or earlier +npm install tslib@1.6.1 +``` + +## yarn + +```sh +# TypeScript 2.3.3 or later +yarn add tslib + +# TypeScript 2.3.2 or earlier +yarn add tslib@1.6.1 +``` + +## bower + +```sh +# TypeScript 2.3.3 or later +bower install tslib + +# TypeScript 2.3.2 or earlier +bower install tslib@1.6.1 +``` + +## JSPM + +```sh +# TypeScript 2.3.3 or later +jspm install tslib + +# TypeScript 2.3.2 or earlier +jspm install tslib@1.6.1 +``` + +# Usage + +Set the `importHelpers` compiler option on the command line: + +``` +tsc --importHelpers file.ts +``` + +or in your tsconfig.json: + +```json +{ + "compilerOptions": { + "importHelpers": true + } +} +``` + +#### For bower and JSPM users + +You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: + +```json +{ + "compilerOptions": { + "module": "amd", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["bower_components/tslib/tslib.d.ts"] + } + } +} +``` + +For JSPM users: + +```json +{ + "compilerOptions": { + "module": "system", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["jspm_packages/npm/tslib@1.[version].0/tslib.d.ts"] + } + } +} +``` + + +# Contribute + +There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. + +* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. +* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). +* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). +* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. +* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). + +# Documentation + +* [Quick tutorial](http://www.typescriptlang.org/Tutorial) +* [Programming handbook](http://www.typescriptlang.org/Handbook) +* [Homepage](http://www.typescriptlang.org/) diff --git a/node_modules/@sentry/core/node_modules/tslib/modules/index.js b/node_modules/@sentry/core/node_modules/tslib/modules/index.js new file mode 100644 index 000000000..d241d0422 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/modules/index.js @@ -0,0 +1,51 @@ +import tslib from '../tslib.js'; +const { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +} = tslib; +export { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +}; diff --git a/node_modules/@sentry/core/node_modules/tslib/modules/package.json b/node_modules/@sentry/core/node_modules/tslib/modules/package.json new file mode 100644 index 000000000..aafa0e4b4 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/modules/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/node_modules/@sentry/core/node_modules/tslib/package.json b/node_modules/@sentry/core/node_modules/tslib/package.json new file mode 100644 index 000000000..ce9858005 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/package.json @@ -0,0 +1,64 @@ +{ + "_from": "tslib@^1.9.3", + "_id": "tslib@1.14.1", + "_inBundle": false, + "_integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "_location": "/@sentry/core/tslib", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "tslib@^1.9.3", + "name": "tslib", + "escapedName": "tslib", + "rawSpec": "^1.9.3", + "saveSpec": null, + "fetchSpec": "^1.9.3" + }, + "_requiredBy": [ + "/@sentry/core" + ], + "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "_shasum": "cf2d38bdc34a134bcaf1091c41f6619e2f672d00", + "_spec": "tslib@^1.9.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/core", + "author": { + "name": "Microsoft Corp." + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Runtime library for TypeScript helper functions", + "exports": { + ".": { + "module": "./tslib.es6.js", + "import": "./modules/index.js", + "default": "./tslib.js" + }, + "./": "./" + }, + "homepage": "https://www.typescriptlang.org/", + "jsnext:main": "tslib.es6.js", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "license": "0BSD", + "main": "tslib.js", + "module": "tslib.es6.js", + "name": "tslib", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/tslib.git" + }, + "sideEffects": false, + "typings": "tslib.d.ts", + "version": "1.14.1" +} diff --git a/node_modules/@sentry/core/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js b/node_modules/@sentry/core/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js new file mode 100644 index 000000000..0c1b613d8 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js @@ -0,0 +1,23 @@ +// When on node 14, it validates that all of the commonjs exports +// are correctly re-exported for es modules importers. + +const nodeMajor = Number(process.version.split(".")[0].slice(1)) +if (nodeMajor < 14) { + console.log("Skipping because node does not support module exports.") + process.exit(0) +} + +// ES Modules import via the ./modules folder +import * as esTSLib from "../../modules/index.js" + +// Force a commonjs resolve +import { createRequire } from "module"; +const commonJSTSLib = createRequire(import.meta.url)("../../tslib.js"); + +for (const key in commonJSTSLib) { + if (commonJSTSLib.hasOwnProperty(key)) { + if(!esTSLib[key]) throw new Error(`ESModules is missing ${key} - it needs to be re-exported in ./modules/index.js`) + } +} + +console.log("All exports in commonjs are available for es module consumers.") diff --git a/node_modules/@sentry/core/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json b/node_modules/@sentry/core/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json new file mode 100644 index 000000000..166e5095e --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json @@ -0,0 +1,6 @@ +{ + "type": "module", + "scripts": { + "test": "node index.js" + } +} diff --git a/node_modules/@sentry/core/node_modules/tslib/tslib.d.ts b/node_modules/@sentry/core/node_modules/tslib/tslib.d.ts new file mode 100644 index 000000000..0756b28e7 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/tslib.d.ts @@ -0,0 +1,37 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +export declare function __extends(d: Function, b: Function): void; +export declare function __assign(t: any, ...sources: any[]): any; +export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; +export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; +export declare function __param(paramIndex: number, decorator: Function): Function; +export declare function __metadata(metadataKey: any, metadataValue: any): Function; +export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; +export declare function __generator(thisArg: any, body: Function): any; +export declare function __exportStar(m: any, exports: any): void; +export declare function __values(o: any): any; +export declare function __read(o: any, n?: number): any[]; +export declare function __spread(...args: any[][]): any[]; +export declare function __spreadArrays(...args: any[][]): any[]; +export declare function __await(v: any): any; +export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; +export declare function __asyncDelegator(o: any): any; +export declare function __asyncValues(o: any): any; +export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; +export declare function __importStar(mod: T): T; +export declare function __importDefault(mod: T): T | { default: T }; +export declare function __classPrivateFieldGet(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V; +export declare function __classPrivateFieldSet(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V; +export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; \ No newline at end of file diff --git a/node_modules/@sentry/core/node_modules/tslib/tslib.es6.html b/node_modules/@sentry/core/node_modules/tslib/tslib.es6.html new file mode 100644 index 000000000..b122e41b0 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/tslib.es6.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js b/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js new file mode 100644 index 000000000..0e0d8d079 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js @@ -0,0 +1,218 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +export function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +export var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +export function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +export function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +export function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +export function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +export function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +export function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +export function __createBinding(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +} + +export function __exportStar(m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; +} + +export function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} + +export function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +export function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +export function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +}; + +export function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +export function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +export function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } +} + +export function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +export function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +export function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result.default = mod; + return result; +} + +export function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + +export function __classPrivateFieldGet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); +} + +export function __classPrivateFieldSet(receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; +} diff --git a/node_modules/@sentry/core/node_modules/tslib/tslib.html b/node_modules/@sentry/core/node_modules/tslib/tslib.html new file mode 100644 index 000000000..44c9ba51e --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/tslib.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/core/node_modules/tslib/tslib.js b/node_modules/@sentry/core/node_modules/tslib/tslib.js new file mode 100644 index 000000000..e5b7c9b80 --- /dev/null +++ b/node_modules/@sentry/core/node_modules/tslib/tslib.js @@ -0,0 +1,284 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + +/* global global, define, System, Reflect, Promise */ +var __extends; +var __assign; +var __rest; +var __decorate; +var __param; +var __metadata; +var __awaiter; +var __generator; +var __exportStar; +var __values; +var __read; +var __spread; +var __spreadArrays; +var __await; +var __asyncGenerator; +var __asyncDelegator; +var __asyncValues; +var __makeTemplateObject; +var __importStar; +var __importDefault; +var __classPrivateFieldGet; +var __classPrivateFieldSet; +var __createBinding; +(function (factory) { + var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; + if (typeof define === "function" && define.amd) { + define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); + } + else if (typeof module === "object" && typeof module.exports === "object") { + factory(createExporter(root, createExporter(module.exports))); + } + else { + factory(createExporter(root)); + } + function createExporter(exports, previous) { + if (exports !== root) { + if (typeof Object.create === "function") { + Object.defineProperty(exports, "__esModule", { value: true }); + } + else { + exports.__esModule = true; + } + } + return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; + } +}) +(function (exporter) { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + + __extends = function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + + __assign = Object.assign || function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + + __rest = function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + }; + + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + }; + + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + }; + + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); + }; + + __awaiter = function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + + __generator = function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + + __createBinding = function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }; + + __exportStar = function (m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; + }; + + __values = function (o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + }; + + __makeTemplateObject = function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + }; + + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; + }; + + __importDefault = function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + + __classPrivateFieldGet = function (receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); + }; + + __classPrivateFieldSet = function (receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; + }; + + exporter("__extends", __extends); + exporter("__assign", __assign); + exporter("__rest", __rest); + exporter("__decorate", __decorate); + exporter("__param", __param); + exporter("__metadata", __metadata); + exporter("__awaiter", __awaiter); + exporter("__generator", __generator); + exporter("__exportStar", __exportStar); + exporter("__createBinding", __createBinding); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__spreadArrays", __spreadArrays); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + exporter("__makeTemplateObject", __makeTemplateObject); + exporter("__importStar", __importStar); + exporter("__importDefault", __importDefault); + exporter("__classPrivateFieldGet", __classPrivateFieldGet); + exporter("__classPrivateFieldSet", __classPrivateFieldSet); +}); diff --git a/node_modules/@sentry/core/package.json b/node_modules/@sentry/core/package.json new file mode 100644 index 000000000..cfcc7b6c7 --- /dev/null +++ b/node_modules/@sentry/core/package.json @@ -0,0 +1,108 @@ +{ + "_from": "@sentry/core@6.17.9", + "_id": "@sentry/core@6.17.9", + "_inBundle": false, + "_integrity": "sha512-14KalmTholGUtgdh9TklO+jUpyQ/D3OGkhlH1rnGQGoJgFy2eYm+s+MnUEMxFdGIUCz5kOteuNqYZxaDmFagpQ==", + "_location": "/@sentry/core", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@sentry/core@6.17.9", + "name": "@sentry/core", + "escapedName": "@sentry%2fcore", + "scope": "@sentry", + "rawSpec": "6.17.9", + "saveSpec": null, + "fetchSpec": "6.17.9" + }, + "_requiredBy": [ + "/@sentry/node" + ], + "_resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.17.9.tgz", + "_shasum": "1c09f1f101207952566349a1921d46db670c8f62", + "_spec": "@sentry/core@6.17.9", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/node", + "author": { + "name": "Sentry" + }, + "bugs": { + "url": "https://github.com/getsentry/sentry-javascript/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@sentry/hub": "6.17.9", + "@sentry/minimal": "6.17.9", + "@sentry/types": "6.17.9", + "@sentry/utils": "6.17.9", + "tslib": "^1.9.3" + }, + "deprecated": false, + "description": "Base implementation for all Sentry JavaScript SDKs", + "engines": { + "node": ">=6" + }, + "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/core", + "jest": { + "collectCoverage": true, + "transform": { + "^.+\\.ts$": "ts-jest" + }, + "moduleFileExtensions": [ + "js", + "ts" + ], + "testEnvironment": "node", + "testMatch": [ + "**/*.test.ts" + ], + "globals": { + "ts-jest": { + "tsConfig": "./tsconfig.json", + "diagnostics": false + } + } + }, + "license": "BSD-3-Clause", + "main": "dist/index.js", + "module": "esm/index.js", + "name": "@sentry/core", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git://github.com/getsentry/sentry-javascript.git" + }, + "scripts": { + "build": "run-p build:cjs build:esm", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", + "build:dev": "run-s build", + "build:dev:watch": "run-s build:watch", + "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", + "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", + "build:esm": "tsc -p tsconfig.esm.json", + "build:esm:watch": "tsc -p tsconfig.esm.json --watch", + "build:watch": "run-p build:cjs:watch build:esm:watch", + "circularDepCheck": "madge --circular src/index.ts", + "clean": "rimraf dist esm coverage", + "fix": "run-s fix:eslint fix:prettier", + "fix:eslint": "eslint . --format stylish --fix", + "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"", + "link:yarn": "yarn link", + "lint": "run-s lint:prettier lint:eslint", + "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish", + "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"", + "pack": "npm pack", + "test": "jest", + "test:watch": "jest --watch", + "version": "node ../../scripts/versionbump.js src/version.ts" + }, + "sideEffects": false, + "types": "dist/index.d.ts", + "version": "6.17.9", + "volta": { + "extends": "../../package.json" + } +} diff --git a/node_modules/@sentry/hub/LICENSE b/node_modules/@sentry/hub/LICENSE new file mode 100644 index 000000000..8b42db873 --- /dev/null +++ b/node_modules/@sentry/hub/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Sentry +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@sentry/hub/README.md b/node_modules/@sentry/hub/README.md new file mode 100644 index 000000000..7a4da6390 --- /dev/null +++ b/node_modules/@sentry/hub/README.md @@ -0,0 +1,22 @@ +

+ + + +
+

+ +# Sentry JavaScript SDK Hub + +[![npm version](https://img.shields.io/npm/v/@sentry/hub.svg)](https://www.npmjs.com/package/@sentry/hub) +[![npm dm](https://img.shields.io/npm/dm/@sentry/hub.svg)](https://www.npmjs.com/package/@sentry/hub) +[![npm dt](https://img.shields.io/npm/dt/@sentry/hub.svg)](https://www.npmjs.com/package/@sentry/hub) +[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/) + +## Links + +- [Official SDK Docs](https://docs.sentry.io/quickstart/) +- [TypeDoc](http://getsentry.github.io/sentry-javascript/) + +## General + +This package provides the `Hub` and `Scope` for all JavaScript related SDKs. diff --git a/node_modules/@sentry/hub/dist/hub.d.ts b/node_modules/@sentry/hub/dist/hub.d.ts new file mode 100644 index 000000000..0c73e8a78 --- /dev/null +++ b/node_modules/@sentry/hub/dist/hub.d.ts @@ -0,0 +1,244 @@ +import { Breadcrumb, BreadcrumbHint, Client, CustomSamplingContext, Event, EventHint, Extra, Extras, Hub as HubInterface, Integration, IntegrationClass, Primitive, SessionContext, Severity, Span, SpanContext, Transaction, TransactionContext, User } from '@sentry/types'; +import { Scope } from './scope'; +import { Session } from './session'; +/** + * API compatibility version of this hub. + * + * WARNING: This number should only be increased when the global interface + * changes and new methods are introduced. + * + * @hidden + */ +export declare const API_VERSION = 4; +/** + * A layer in the process stack. + * @hidden + */ +export interface Layer { + client?: Client; + scope?: Scope; +} +/** + * An object that contains a hub and maintains a scope stack. + * @hidden + */ +export interface Carrier { + __SENTRY__?: { + hub?: Hub; + /** + * Extra Hub properties injected by various SDKs + */ + integrations?: Integration[]; + extensions?: { + /** Hack to prevent bundlers from breaking our usage of the domain package in the cross-platform Hub package */ + domain?: { + [key: string]: any; + }; + } & { + /** Extension methods for the hub, which are bound to the current Hub instance */ + [key: string]: Function; + }; + }; +} +/** + * @hidden + * @deprecated Can be removed once `Hub.getActiveDomain` is removed. + */ +export interface DomainAsCarrier extends Carrier { + members: { + [key: string]: any; + }[]; +} +/** + * @inheritDoc + */ +export declare class Hub implements HubInterface { + private readonly _version; + /** Is a {@link Layer}[] containing the client and scope */ + private readonly _stack; + /** Contains the last event id of a captured event. */ + private _lastEventId?; + /** + * Creates a new instance of the hub, will push one {@link Layer} into the + * internal stack on creation. + * + * @param client bound to the hub. + * @param scope bound to the hub. + * @param version number, higher number means higher priority. + */ + constructor(client?: Client, scope?: Scope, _version?: number); + /** + * @inheritDoc + */ + isOlderThan(version: number): boolean; + /** + * @inheritDoc + */ + bindClient(client?: Client): void; + /** + * @inheritDoc + */ + pushScope(): Scope; + /** + * @inheritDoc + */ + popScope(): boolean; + /** + * @inheritDoc + */ + withScope(callback: (scope: Scope) => void): void; + /** + * @inheritDoc + */ + getClient(): C | undefined; + /** Returns the scope of the top stack. */ + getScope(): Scope | undefined; + /** Returns the scope stack for domains or the process. */ + getStack(): Layer[]; + /** Returns the topmost scope layer in the order domain > local > process. */ + getStackTop(): Layer; + /** + * @inheritDoc + */ + captureException(exception: any, hint?: EventHint): string; + /** + * @inheritDoc + */ + captureMessage(message: string, level?: Severity, hint?: EventHint): string; + /** + * @inheritDoc + */ + captureEvent(event: Event, hint?: EventHint): string; + /** + * @inheritDoc + */ + lastEventId(): string | undefined; + /** + * @inheritDoc + */ + addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void; + /** + * @inheritDoc + */ + setUser(user: User | null): void; + /** + * @inheritDoc + */ + setTags(tags: { + [key: string]: Primitive; + }): void; + /** + * @inheritDoc + */ + setExtras(extras: Extras): void; + /** + * @inheritDoc + */ + setTag(key: string, value: Primitive): void; + /** + * @inheritDoc + */ + setExtra(key: string, extra: Extra): void; + /** + * @inheritDoc + */ + setContext(name: string, context: { + [key: string]: any; + } | null): void; + /** + * @inheritDoc + */ + configureScope(callback: (scope: Scope) => void): void; + /** + * @inheritDoc + */ + run(callback: (hub: Hub) => void): void; + /** + * @inheritDoc + */ + getIntegration(integration: IntegrationClass): T | null; + /** + * @inheritDoc + */ + startSpan(context: SpanContext): Span; + /** + * @inheritDoc + */ + startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction; + /** + * @inheritDoc + */ + traceHeaders(): { + [key: string]: string; + }; + /** + * @inheritDoc + */ + captureSession(endSession?: boolean): void; + /** + * @inheritDoc + */ + endSession(): void; + /** + * @inheritDoc + */ + startSession(context?: SessionContext): Session; + /** + * Sends the current Session on the scope + */ + private _sendSessionUpdate; + /** + * Internal helper function to call a method on the top client if it exists. + * + * @param method The method to call on the client. + * @param args Arguments to pass to the client function. + */ + private _invokeClient; + /** + * Calls global extension method and binding current instance to the function call + */ + private _callExtensionMethod; +} +/** + * Returns the global shim registry. + * + * FIXME: This function is problematic, because despite always returning a valid Carrier, + * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check + * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there. + **/ +export declare function getMainCarrier(): Carrier; +/** + * Replaces the current main hub with the passed one on the global object + * + * @returns The old replaced hub + */ +export declare function makeMain(hub: Hub): Hub; +/** + * Returns the default hub instance. + * + * If a hub is already registered in the global carrier but this module + * contains a more recent version, it replaces the registered version. + * Otherwise, the currently registered hub will be returned. + */ +export declare function getCurrentHub(): Hub; +/** + * Returns the active domain, if one exists + * @deprecated No longer used; remove in v7 + * @returns The domain, or undefined if there is no active domain + */ +export declare function getActiveDomain(): DomainAsCarrier | undefined; +/** + * This will create a new {@link Hub} and add to the passed object on + * __SENTRY__.hub. + * @param carrier object + * @hidden + */ +export declare function getHubFromCarrier(carrier: Carrier): Hub; +/** + * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute + * @param carrier object + * @param hub Hub + * @returns A boolean indicating success or failure + */ +export declare function setHubOnCarrier(carrier: Carrier, hub: Hub): boolean; +//# sourceMappingURL=hub.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/hub.d.ts.map b/node_modules/@sentry/hub/dist/hub.d.ts.map new file mode 100644 index 000000000..509d68481 --- /dev/null +++ b/node_modules/@sentry/hub/dist/hub.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../src/hub.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/hub.js b/node_modules/@sentry/hub/dist/hub.js new file mode 100644 index 000000000..adee044e6 --- /dev/null +++ b/node_modules/@sentry/hub/dist/hub.js @@ -0,0 +1,528 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +var scope_1 = require("./scope"); +var session_1 = require("./session"); +/** + * API compatibility version of this hub. + * + * WARNING: This number should only be increased when the global interface + * changes and new methods are introduced. + * + * @hidden + */ +exports.API_VERSION = 4; +/** + * Default maximum number of breadcrumbs added to an event. Can be overwritten + * with {@link Options.maxBreadcrumbs}. + */ +var DEFAULT_BREADCRUMBS = 100; +/** + * @inheritDoc + */ +var Hub = /** @class */ (function () { + /** + * Creates a new instance of the hub, will push one {@link Layer} into the + * internal stack on creation. + * + * @param client bound to the hub. + * @param scope bound to the hub. + * @param version number, higher number means higher priority. + */ + function Hub(client, scope, _version) { + if (scope === void 0) { scope = new scope_1.Scope(); } + if (_version === void 0) { _version = exports.API_VERSION; } + this._version = _version; + /** Is a {@link Layer}[] containing the client and scope */ + this._stack = [{}]; + this.getStackTop().scope = scope; + if (client) { + this.bindClient(client); + } + } + /** + * @inheritDoc + */ + Hub.prototype.isOlderThan = function (version) { + return this._version < version; + }; + /** + * @inheritDoc + */ + Hub.prototype.bindClient = function (client) { + var top = this.getStackTop(); + top.client = client; + if (client && client.setupIntegrations) { + client.setupIntegrations(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.pushScope = function () { + // We want to clone the content of prev scope + var scope = scope_1.Scope.clone(this.getScope()); + this.getStack().push({ + client: this.getClient(), + scope: scope, + }); + return scope; + }; + /** + * @inheritDoc + */ + Hub.prototype.popScope = function () { + if (this.getStack().length <= 1) + return false; + return !!this.getStack().pop(); + }; + /** + * @inheritDoc + */ + Hub.prototype.withScope = function (callback) { + var scope = this.pushScope(); + try { + callback(scope); + } + finally { + this.popScope(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.getClient = function () { + return this.getStackTop().client; + }; + /** Returns the scope of the top stack. */ + Hub.prototype.getScope = function () { + return this.getStackTop().scope; + }; + /** Returns the scope stack for domains or the process. */ + Hub.prototype.getStack = function () { + return this._stack; + }; + /** Returns the topmost scope layer in the order domain > local > process. */ + Hub.prototype.getStackTop = function () { + return this._stack[this._stack.length - 1]; + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + Hub.prototype.captureException = function (exception, hint) { + var eventId = (this._lastEventId = utils_1.uuid4()); + var finalHint = hint; + // If there's no explicit hint provided, mimic the same thing that would happen + // in the minimal itself to create a consistent behavior. + // We don't do this in the client, as it's the lowest level API, and doing this, + // would prevent user from having full control over direct calls. + if (!hint) { + var syntheticException = void 0; + try { + throw new Error('Sentry syntheticException'); + } + catch (exception) { + syntheticException = exception; + } + finalHint = { + originalException: exception, + syntheticException: syntheticException, + }; + } + this._invokeClient('captureException', exception, tslib_1.__assign(tslib_1.__assign({}, finalHint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.captureMessage = function (message, level, hint) { + var eventId = (this._lastEventId = utils_1.uuid4()); + var finalHint = hint; + // If there's no explicit hint provided, mimic the same thing that would happen + // in the minimal itself to create a consistent behavior. + // We don't do this in the client, as it's the lowest level API, and doing this, + // would prevent user from having full control over direct calls. + if (!hint) { + var syntheticException = void 0; + try { + throw new Error(message); + } + catch (exception) { + syntheticException = exception; + } + finalHint = { + originalException: message, + syntheticException: syntheticException, + }; + } + this._invokeClient('captureMessage', message, level, tslib_1.__assign(tslib_1.__assign({}, finalHint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.captureEvent = function (event, hint) { + var eventId = utils_1.uuid4(); + if (event.type !== 'transaction') { + this._lastEventId = eventId; + } + this._invokeClient('captureEvent', event, tslib_1.__assign(tslib_1.__assign({}, hint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.lastEventId = function () { + return this._lastEventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.addBreadcrumb = function (breadcrumb, hint) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (!scope || !client) + return; + // eslint-disable-next-line @typescript-eslint/unbound-method + var _b = (client.getOptions && client.getOptions()) || {}, _c = _b.beforeBreadcrumb, beforeBreadcrumb = _c === void 0 ? null : _c, _d = _b.maxBreadcrumbs, maxBreadcrumbs = _d === void 0 ? DEFAULT_BREADCRUMBS : _d; + if (maxBreadcrumbs <= 0) + return; + var timestamp = utils_1.dateTimestampInSeconds(); + var mergedBreadcrumb = tslib_1.__assign({ timestamp: timestamp }, breadcrumb); + var finalBreadcrumb = beforeBreadcrumb + ? utils_1.consoleSandbox(function () { return beforeBreadcrumb(mergedBreadcrumb, hint); }) + : mergedBreadcrumb; + if (finalBreadcrumb === null) + return; + scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs); + }; + /** + * @inheritDoc + */ + Hub.prototype.setUser = function (user) { + var scope = this.getScope(); + if (scope) + scope.setUser(user); + }; + /** + * @inheritDoc + */ + Hub.prototype.setTags = function (tags) { + var scope = this.getScope(); + if (scope) + scope.setTags(tags); + }; + /** + * @inheritDoc + */ + Hub.prototype.setExtras = function (extras) { + var scope = this.getScope(); + if (scope) + scope.setExtras(extras); + }; + /** + * @inheritDoc + */ + Hub.prototype.setTag = function (key, value) { + var scope = this.getScope(); + if (scope) + scope.setTag(key, value); + }; + /** + * @inheritDoc + */ + Hub.prototype.setExtra = function (key, extra) { + var scope = this.getScope(); + if (scope) + scope.setExtra(key, extra); + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype.setContext = function (name, context) { + var scope = this.getScope(); + if (scope) + scope.setContext(name, context); + }; + /** + * @inheritDoc + */ + Hub.prototype.configureScope = function (callback) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (scope && client) { + callback(scope); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.run = function (callback) { + var oldHub = makeMain(this); + try { + callback(this); + } + finally { + makeMain(oldHub); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.getIntegration = function (integration) { + var client = this.getClient(); + if (!client) + return null; + try { + return client.getIntegration(integration); + } + catch (_oO) { + utils_1.logger.warn("Cannot retrieve integration " + integration.id + " from the current Hub"); + return null; + } + }; + /** + * @inheritDoc + */ + Hub.prototype.startSpan = function (context) { + return this._callExtensionMethod('startSpan', context); + }; + /** + * @inheritDoc + */ + Hub.prototype.startTransaction = function (context, customSamplingContext) { + return this._callExtensionMethod('startTransaction', context, customSamplingContext); + }; + /** + * @inheritDoc + */ + Hub.prototype.traceHeaders = function () { + return this._callExtensionMethod('traceHeaders'); + }; + /** + * @inheritDoc + */ + Hub.prototype.captureSession = function (endSession) { + if (endSession === void 0) { endSession = false; } + // both send the update and pull the session from the scope + if (endSession) { + return this.endSession(); + } + // only send the update + this._sendSessionUpdate(); + }; + /** + * @inheritDoc + */ + Hub.prototype.endSession = function () { + var layer = this.getStackTop(); + var scope = layer && layer.scope; + var session = scope && scope.getSession(); + if (session) { + session.close(); + } + this._sendSessionUpdate(); + // the session is over; take it off of the scope + if (scope) { + scope.setSession(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.startSession = function (context) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + var _b = (client && client.getOptions()) || {}, release = _b.release, environment = _b.environment; + // Will fetch userAgent if called from browser sdk + var global = utils_1.getGlobalObject(); + var userAgent = (global.navigator || {}).userAgent; + var session = new session_1.Session(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({ release: release, + environment: environment }, (scope && { user: scope.getUser() })), (userAgent && { userAgent: userAgent })), context)); + if (scope) { + // End existing session if there's one + var currentSession = scope.getSession && scope.getSession(); + if (currentSession && currentSession.status === 'ok') { + currentSession.update({ status: 'exited' }); + } + this.endSession(); + // Afterwards we set the new session on the scope + scope.setSession(session); + } + return session; + }; + /** + * Sends the current Session on the scope + */ + Hub.prototype._sendSessionUpdate = function () { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (!scope) + return; + var session = scope.getSession && scope.getSession(); + if (session) { + if (client && client.captureSession) { + client.captureSession(session); + } + } + }; + /** + * Internal helper function to call a method on the top client if it exists. + * + * @param method The method to call on the client. + * @param args Arguments to pass to the client function. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype._invokeClient = function (method) { + var _a; + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var _b = this.getStackTop(), scope = _b.scope, client = _b.client; + if (client && client[method]) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any + (_a = client)[method].apply(_a, tslib_1.__spread(args, [scope])); + } + }; + /** + * Calls global extension method and binding current instance to the function call + */ + // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366) + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype._callExtensionMethod = function (method) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var carrier = getMainCarrier(); + var sentry = carrier.__SENTRY__; + if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') { + return sentry.extensions[method].apply(this, args); + } + utils_1.logger.warn("Extension method " + method + " couldn't be found, doing nothing."); + }; + return Hub; +}()); +exports.Hub = Hub; +/** + * Returns the global shim registry. + * + * FIXME: This function is problematic, because despite always returning a valid Carrier, + * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check + * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there. + **/ +function getMainCarrier() { + var carrier = utils_1.getGlobalObject(); + carrier.__SENTRY__ = carrier.__SENTRY__ || { + extensions: {}, + hub: undefined, + }; + return carrier; +} +exports.getMainCarrier = getMainCarrier; +/** + * Replaces the current main hub with the passed one on the global object + * + * @returns The old replaced hub + */ +function makeMain(hub) { + var registry = getMainCarrier(); + var oldHub = getHubFromCarrier(registry); + setHubOnCarrier(registry, hub); + return oldHub; +} +exports.makeMain = makeMain; +/** + * Returns the default hub instance. + * + * If a hub is already registered in the global carrier but this module + * contains a more recent version, it replaces the registered version. + * Otherwise, the currently registered hub will be returned. + */ +function getCurrentHub() { + // Get main carrier (global for every environment) + var registry = getMainCarrier(); + // If there's no hub, or its an old API, assign a new one + if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(exports.API_VERSION)) { + setHubOnCarrier(registry, new Hub()); + } + // Prefer domains over global if they are there (applicable only to Node environment) + if (utils_1.isNodeEnv()) { + return getHubFromActiveDomain(registry); + } + // Return hub that lives on a global object + return getHubFromCarrier(registry); +} +exports.getCurrentHub = getCurrentHub; +/** + * Returns the active domain, if one exists + * @deprecated No longer used; remove in v7 + * @returns The domain, or undefined if there is no active domain + */ +// eslint-disable-next-line deprecation/deprecation +function getActiveDomain() { + utils_1.logger.warn('Function `getActiveDomain` is deprecated and will be removed in a future version.'); + var sentry = getMainCarrier().__SENTRY__; + return sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active; +} +exports.getActiveDomain = getActiveDomain; +/** + * Try to read the hub from an active domain, and fallback to the registry if one doesn't exist + * @returns discovered hub + */ +function getHubFromActiveDomain(registry) { + try { + var sentry = getMainCarrier().__SENTRY__; + var activeDomain = sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active; + // If there's no active domain, just return global hub + if (!activeDomain) { + return getHubFromCarrier(registry); + } + // If there's no hub on current domain, or it's an old API, assign a new one + if (!hasHubOnCarrier(activeDomain) || getHubFromCarrier(activeDomain).isOlderThan(exports.API_VERSION)) { + var registryHubTopStack = getHubFromCarrier(registry).getStackTop(); + setHubOnCarrier(activeDomain, new Hub(registryHubTopStack.client, scope_1.Scope.clone(registryHubTopStack.scope))); + } + // Return hub that lives on a domain + return getHubFromCarrier(activeDomain); + } + catch (_Oo) { + // Return hub that lives on a global object + return getHubFromCarrier(registry); + } +} +/** + * This will tell whether a carrier has a hub on it or not + * @param carrier object + */ +function hasHubOnCarrier(carrier) { + return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub); +} +/** + * This will create a new {@link Hub} and add to the passed object on + * __SENTRY__.hub. + * @param carrier object + * @hidden + */ +function getHubFromCarrier(carrier) { + if (carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub) + return carrier.__SENTRY__.hub; + carrier.__SENTRY__ = carrier.__SENTRY__ || {}; + carrier.__SENTRY__.hub = new Hub(); + return carrier.__SENTRY__.hub; +} +exports.getHubFromCarrier = getHubFromCarrier; +/** + * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute + * @param carrier object + * @param hub Hub + * @returns A boolean indicating success or failure + */ +function setHubOnCarrier(carrier, hub) { + if (!carrier) + return false; + carrier.__SENTRY__ = carrier.__SENTRY__ || {}; + carrier.__SENTRY__.hub = hub; + return true; +} +exports.setHubOnCarrier = setHubOnCarrier; +//# sourceMappingURL=hub.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/hub.js.map b/node_modules/@sentry/hub/dist/hub.js.map new file mode 100644 index 000000000..619ddb9a6 --- /dev/null +++ b/node_modules/@sentry/hub/dist/hub.js.map @@ -0,0 +1 @@ +{"version":3,"file":"hub.js","sourceRoot":"","sources":["../src/hub.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n BreadcrumbHint,\n Client,\n CustomSamplingContext,\n Event,\n EventHint,\n Extra,\n Extras,\n Hub as HubInterface,\n Integration,\n IntegrationClass,\n Primitive,\n SessionContext,\n Severity,\n Span,\n SpanContext,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\nimport { consoleSandbox, dateTimestampInSeconds, getGlobalObject, isNodeEnv, logger, uuid4 } from '@sentry/utils';\n\nimport { Scope } from './scope';\nimport { Session } from './session';\n\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nexport const API_VERSION = 4;\n\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nconst DEFAULT_BREADCRUMBS = 100;\n\n/**\n * A layer in the process stack.\n * @hidden\n */\nexport interface Layer {\n client?: Client;\n scope?: Scope;\n}\n\n/**\n * An object that contains a hub and maintains a scope stack.\n * @hidden\n */\nexport interface Carrier {\n __SENTRY__?: {\n hub?: Hub;\n /**\n * Extra Hub properties injected by various SDKs\n */\n integrations?: Integration[];\n extensions?: {\n /** Hack to prevent bundlers from breaking our usage of the domain package in the cross-platform Hub package */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n domain?: { [key: string]: any };\n } & {\n /** Extension methods for the hub, which are bound to the current Hub instance */\n // eslint-disable-next-line @typescript-eslint/ban-types\n [key: string]: Function;\n };\n };\n}\n\n/**\n * @hidden\n * @deprecated Can be removed once `Hub.getActiveDomain` is removed.\n */\nexport interface DomainAsCarrier extends Carrier {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n members: { [key: string]: any }[];\n}\n\n/**\n * @inheritDoc\n */\nexport class Hub implements HubInterface {\n /** Is a {@link Layer}[] containing the client and scope */\n private readonly _stack: Layer[] = [{}];\n\n /** Contains the last event id of a captured event. */\n private _lastEventId?: string;\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n */\n public constructor(client?: Client, scope: Scope = new Scope(), private readonly _version: number = API_VERSION) {\n this.getStackTop().scope = scope;\n if (client) {\n this.bindClient(client);\n }\n }\n\n /**\n * @inheritDoc\n */\n public isOlderThan(version: number): boolean {\n return this._version < version;\n }\n\n /**\n * @inheritDoc\n */\n public bindClient(client?: Client): void {\n const top = this.getStackTop();\n top.client = client;\n if (client && client.setupIntegrations) {\n client.setupIntegrations();\n }\n }\n\n /**\n * @inheritDoc\n */\n public pushScope(): Scope {\n // We want to clone the content of prev scope\n const scope = Scope.clone(this.getScope());\n this.getStack().push({\n client: this.getClient(),\n scope,\n });\n return scope;\n }\n\n /**\n * @inheritDoc\n */\n public popScope(): boolean {\n if (this.getStack().length <= 1) return false;\n return !!this.getStack().pop();\n }\n\n /**\n * @inheritDoc\n */\n public withScope(callback: (scope: Scope) => void): void {\n const scope = this.pushScope();\n try {\n callback(scope);\n } finally {\n this.popScope();\n }\n }\n\n /**\n * @inheritDoc\n */\n public getClient(): C | undefined {\n return this.getStackTop().client as C;\n }\n\n /** Returns the scope of the top stack. */\n public getScope(): Scope | undefined {\n return this.getStackTop().scope;\n }\n\n /** Returns the scope stack for domains or the process. */\n public getStack(): Layer[] {\n return this._stack;\n }\n\n /** Returns the topmost scope layer in the order domain > local > process. */\n public getStackTop(): Layer {\n return this._stack[this._stack.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint): string {\n const eventId = (this._lastEventId = uuid4());\n let finalHint = hint;\n\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n let syntheticException: Error;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception as Error;\n }\n finalHint = {\n originalException: exception,\n syntheticException,\n };\n }\n\n this._invokeClient('captureException', exception, {\n ...finalHint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(message: string, level?: Severity, hint?: EventHint): string {\n const eventId = (this._lastEventId = uuid4());\n let finalHint = hint;\n\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n let syntheticException: Error;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception as Error;\n }\n finalHint = {\n originalException: message,\n syntheticException,\n };\n }\n\n this._invokeClient('captureMessage', message, level, {\n ...finalHint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint): string {\n const eventId = uuid4();\n if (event.type !== 'transaction') {\n this._lastEventId = eventId;\n }\n\n this._invokeClient('captureEvent', event, {\n ...hint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public lastEventId(): string | undefined {\n return this._lastEventId;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void {\n const { scope, client } = this.getStackTop();\n\n if (!scope || !client) return;\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } =\n (client.getOptions && client.getOptions()) || {};\n\n if (maxBreadcrumbs <= 0) return;\n\n const timestamp = dateTimestampInSeconds();\n const mergedBreadcrumb = { timestamp, ...breadcrumb };\n const finalBreadcrumb = beforeBreadcrumb\n ? (consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) as Breadcrumb | null)\n : mergedBreadcrumb;\n\n if (finalBreadcrumb === null) return;\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): void {\n const scope = this.getScope();\n if (scope) scope.setUser(user);\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): void {\n const scope = this.getScope();\n if (scope) scope.setTags(tags);\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): void {\n const scope = this.getScope();\n if (scope) scope.setExtras(extras);\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): void {\n const scope = this.getScope();\n if (scope) scope.setTag(key, value);\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): void {\n const scope = this.getScope();\n if (scope) scope.setExtra(key, extra);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public setContext(name: string, context: { [key: string]: any } | null): void {\n const scope = this.getScope();\n if (scope) scope.setContext(name, context);\n }\n\n /**\n * @inheritDoc\n */\n public configureScope(callback: (scope: Scope) => void): void {\n const { scope, client } = this.getStackTop();\n if (scope && client) {\n callback(scope);\n }\n }\n\n /**\n * @inheritDoc\n */\n public run(callback: (hub: Hub) => void): void {\n const oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n makeMain(oldHub);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration(integration: IntegrationClass): T | null {\n const client = this.getClient();\n if (!client) return null;\n try {\n return client.getIntegration(integration);\n } catch (_oO) {\n logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSpan(context: SpanContext): Span {\n return this._callExtensionMethod('startSpan', context);\n }\n\n /**\n * @inheritDoc\n */\n public startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction {\n return this._callExtensionMethod('startTransaction', context, customSamplingContext);\n }\n\n /**\n * @inheritDoc\n */\n public traceHeaders(): { [key: string]: string } {\n return this._callExtensionMethod<{ [key: string]: string }>('traceHeaders');\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(endSession: boolean = false): void {\n // both send the update and pull the session from the scope\n if (endSession) {\n return this.endSession();\n }\n\n // only send the update\n this._sendSessionUpdate();\n }\n\n /**\n * @inheritDoc\n */\n public endSession(): void {\n const layer = this.getStackTop();\n const scope = layer && layer.scope;\n const session = scope && scope.getSession();\n if (session) {\n session.close();\n }\n this._sendSessionUpdate();\n\n // the session is over; take it off of the scope\n if (scope) {\n scope.setSession();\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSession(context?: SessionContext): Session {\n const { scope, client } = this.getStackTop();\n const { release, environment } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const global = getGlobalObject<{ navigator?: { userAgent?: string } }>();\n const { userAgent } = global.navigator || {};\n\n const session = new Session({\n release,\n environment,\n ...(scope && { user: scope.getUser() }),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n if (scope) {\n // End existing session if there's one\n const currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n currentSession.update({ status: 'exited' });\n }\n this.endSession();\n\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n }\n\n return session;\n }\n\n /**\n * Sends the current Session on the scope\n */\n private _sendSessionUpdate(): void {\n const { scope, client } = this.getStackTop();\n if (!scope) return;\n\n const session = scope.getSession && scope.getSession();\n if (session) {\n if (client && client.captureSession) {\n client.captureSession(session);\n }\n }\n }\n\n /**\n * Internal helper function to call a method on the top client if it exists.\n *\n * @param method The method to call on the client.\n * @param args Arguments to pass to the client function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _invokeClient(method: M, ...args: any[]): void {\n const { scope, client } = this.getStackTop();\n if (client && client[method]) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n (client as any)[method](...args, scope);\n }\n }\n\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _callExtensionMethod(method: string, ...args: any[]): T {\n const carrier = getMainCarrier();\n const sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);\n }\n}\n\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nexport function getMainCarrier(): Carrier {\n const carrier = getGlobalObject();\n carrier.__SENTRY__ = carrier.__SENTRY__ || {\n extensions: {},\n hub: undefined,\n };\n return carrier;\n}\n\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n */\nexport function makeMain(hub: Hub): Hub {\n const registry = getMainCarrier();\n const oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n */\nexport function getCurrentHub(): Hub {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n\n // If there's no hub, or its an old API, assign a new one\n if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) {\n setHubOnCarrier(registry, new Hub());\n }\n\n // Prefer domains over global if they are there (applicable only to Node environment)\n if (isNodeEnv()) {\n return getHubFromActiveDomain(registry);\n }\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n\n/**\n * Returns the active domain, if one exists\n * @deprecated No longer used; remove in v7\n * @returns The domain, or undefined if there is no active domain\n */\n// eslint-disable-next-line deprecation/deprecation\nexport function getActiveDomain(): DomainAsCarrier | undefined {\n logger.warn('Function `getActiveDomain` is deprecated and will be removed in a future version.');\n\n const sentry = getMainCarrier().__SENTRY__;\n\n return sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n}\n\n/**\n * Try to read the hub from an active domain, and fallback to the registry if one doesn't exist\n * @returns discovered hub\n */\nfunction getHubFromActiveDomain(registry: Carrier): Hub {\n try {\n const sentry = getMainCarrier().__SENTRY__;\n const activeDomain = sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n\n // If there's no active domain, just return global hub\n if (!activeDomain) {\n return getHubFromCarrier(registry);\n }\n\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (!hasHubOnCarrier(activeDomain) || getHubFromCarrier(activeDomain).isOlderThan(API_VERSION)) {\n const registryHubTopStack = getHubFromCarrier(registry).getStackTop();\n setHubOnCarrier(activeDomain, new Hub(registryHubTopStack.client, Scope.clone(registryHubTopStack.scope)));\n }\n\n // Return hub that lives on a domain\n return getHubFromCarrier(activeDomain);\n } catch (_Oo) {\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n }\n}\n\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier: Carrier): boolean {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nexport function getHubFromCarrier(carrier: Carrier): Hub {\n if (carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub) return carrier.__SENTRY__.hub;\n carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n carrier.__SENTRY__.hub = new Hub();\n return carrier.__SENTRY__.hub;\n}\n\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nexport function setHubOnCarrier(carrier: Carrier, hub: Hub): boolean {\n if (!carrier) return false;\n carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n carrier.__SENTRY__.hub = hub;\n return true;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/index.d.ts b/node_modules/@sentry/hub/dist/index.d.ts new file mode 100644 index 000000000..f8065967c --- /dev/null +++ b/node_modules/@sentry/hub/dist/index.d.ts @@ -0,0 +1,5 @@ +export { addGlobalEventProcessor, Scope } from './scope'; +export { Session } from './session'; +export { SessionFlusher } from './sessionflusher'; +export { getActiveDomain, getCurrentHub, getHubFromCarrier, getMainCarrier, Hub, makeMain, setHubOnCarrier, Carrier, DomainAsCarrier, Layer, } from './hub'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/index.d.ts.map b/node_modules/@sentry/hub/dist/index.d.ts.map new file mode 100644 index 000000000..f69c731f3 --- /dev/null +++ b/node_modules/@sentry/hub/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAEL,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,GAAG,EACH,QAAQ,EACR,eAAe,EACf,OAAO,EAEP,eAAe,EACf,KAAK,GACN,MAAM,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/index.js b/node_modules/@sentry/hub/dist/index.js new file mode 100644 index 000000000..da6b6f23e --- /dev/null +++ b/node_modules/@sentry/hub/dist/index.js @@ -0,0 +1,18 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var scope_1 = require("./scope"); +exports.addGlobalEventProcessor = scope_1.addGlobalEventProcessor; +exports.Scope = scope_1.Scope; +var session_1 = require("./session"); +exports.Session = session_1.Session; +var sessionflusher_1 = require("./sessionflusher"); +exports.SessionFlusher = sessionflusher_1.SessionFlusher; +var hub_1 = require("./hub"); +// eslint-disable-next-line deprecation/deprecation +exports.getActiveDomain = hub_1.getActiveDomain; +exports.getCurrentHub = hub_1.getCurrentHub; +exports.getHubFromCarrier = hub_1.getHubFromCarrier; +exports.getMainCarrier = hub_1.getMainCarrier; +exports.Hub = hub_1.Hub; +exports.makeMain = hub_1.makeMain; +exports.setHubOnCarrier = hub_1.setHubOnCarrier; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/index.js.map b/node_modules/@sentry/hub/dist/index.js.map new file mode 100644 index 000000000..b4cb53417 --- /dev/null +++ b/node_modules/@sentry/hub/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,iCAAyD;AAAhD,0CAAA,uBAAuB,CAAA;AAAE,wBAAA,KAAK,CAAA;AACvC,qCAAoC;AAA3B,4BAAA,OAAO,CAAA;AAChB,mDAAkD;AAAzC,0CAAA,cAAc,CAAA;AACvB,6BAae;AAZb,mDAAmD;AACnD,gCAAA,eAAe,CAAA;AACf,8BAAA,aAAa,CAAA;AACb,kCAAA,iBAAiB,CAAA;AACjB,+BAAA,cAAc,CAAA;AACd,oBAAA,GAAG,CAAA;AACH,yBAAA,QAAQ,CAAA;AACR,gCAAA,eAAe,CAAA","sourcesContent":["export { addGlobalEventProcessor, Scope } from './scope';\nexport { Session } from './session';\nexport { SessionFlusher } from './sessionflusher';\nexport {\n // eslint-disable-next-line deprecation/deprecation\n getActiveDomain,\n getCurrentHub,\n getHubFromCarrier,\n getMainCarrier,\n Hub,\n makeMain,\n setHubOnCarrier,\n Carrier,\n // eslint-disable-next-line deprecation/deprecation\n DomainAsCarrier,\n Layer,\n} from './hub';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/scope.d.ts b/node_modules/@sentry/hub/dist/scope.d.ts new file mode 100644 index 000000000..29ffbee22 --- /dev/null +++ b/node_modules/@sentry/hub/dist/scope.d.ts @@ -0,0 +1,184 @@ +import { Breadcrumb, CaptureContext, Context, Contexts, Event, EventHint, EventProcessor, Extra, Extras, Primitive, RequestSession, Scope as ScopeInterface, Severity, Span, Transaction, User } from '@sentry/types'; +import { Session } from './session'; +/** + * Holds additional event information. {@link Scope.applyToEvent} will be + * called by the client before an event will be sent. + */ +export declare class Scope implements ScopeInterface { + /** Flag if notifying is happening. */ + protected _notifyingListeners: boolean; + /** Callback for client to receive scope changes. */ + protected _scopeListeners: Array<(scope: Scope) => void>; + /** Callback list that will be called after {@link applyToEvent}. */ + protected _eventProcessors: EventProcessor[]; + /** Array of breadcrumbs. */ + protected _breadcrumbs: Breadcrumb[]; + /** User */ + protected _user: User; + /** Tags */ + protected _tags: { + [key: string]: Primitive; + }; + /** Extra */ + protected _extra: Extras; + /** Contexts */ + protected _contexts: Contexts; + /** Fingerprint */ + protected _fingerprint?: string[]; + /** Severity */ + protected _level?: Severity; + /** Transaction Name */ + protected _transactionName?: string; + /** Span */ + protected _span?: Span; + /** Session */ + protected _session?: Session; + /** Request Mode Session Status */ + protected _requestSession?: RequestSession; + /** + * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get + * sent to Sentry + */ + protected _sdkProcessingMetadata?: { + [key: string]: unknown; + }; + /** + * Inherit values from the parent scope. + * @param scope to clone. + */ + static clone(scope?: Scope): Scope; + /** + * Add internal on change listener. Used for sub SDKs that need to store the scope. + * @hidden + */ + addScopeListener(callback: (scope: Scope) => void): void; + /** + * @inheritDoc + */ + addEventProcessor(callback: EventProcessor): this; + /** + * @inheritDoc + */ + setUser(user: User | null): this; + /** + * @inheritDoc + */ + getUser(): User | undefined; + /** + * @inheritDoc + */ + getRequestSession(): RequestSession | undefined; + /** + * @inheritDoc + */ + setRequestSession(requestSession?: RequestSession): this; + /** + * @inheritDoc + */ + setTags(tags: { + [key: string]: Primitive; + }): this; + /** + * @inheritDoc + */ + setTag(key: string, value: Primitive): this; + /** + * @inheritDoc + */ + setExtras(extras: Extras): this; + /** + * @inheritDoc + */ + setExtra(key: string, extra: Extra): this; + /** + * @inheritDoc + */ + setFingerprint(fingerprint: string[]): this; + /** + * @inheritDoc + */ + setLevel(level: Severity): this; + /** + * @inheritDoc + */ + setTransactionName(name?: string): this; + /** + * Can be removed in major version. + * @deprecated in favor of {@link this.setTransactionName} + */ + setTransaction(name?: string): this; + /** + * @inheritDoc + */ + setContext(key: string, context: Context | null): this; + /** + * @inheritDoc + */ + setSpan(span?: Span): this; + /** + * @inheritDoc + */ + getSpan(): Span | undefined; + /** + * @inheritDoc + */ + getTransaction(): Transaction | undefined; + /** + * @inheritDoc + */ + setSession(session?: Session): this; + /** + * @inheritDoc + */ + getSession(): Session | undefined; + /** + * @inheritDoc + */ + update(captureContext?: CaptureContext): this; + /** + * @inheritDoc + */ + clear(): this; + /** + * @inheritDoc + */ + addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this; + /** + * @inheritDoc + */ + clearBreadcrumbs(): this; + /** + * Applies the current context and fingerprint to the event. + * Note that breadcrumbs will be added by the client. + * Also if the event has already breadcrumbs on it, we do not merge them. + * @param event Event + * @param hint May contain additional information about the original exception. + * @hidden + */ + applyToEvent(event: Event, hint?: EventHint): PromiseLike; + /** + * Add data which will be accessible during event processing but won't get sent to Sentry + */ + setSDKProcessingMetadata(newData: { + [key: string]: unknown; + }): this; + /** + * This will be called after {@link applyToEvent} is finished. + */ + protected _notifyEventProcessors(processors: EventProcessor[], event: Event | null, hint?: EventHint, index?: number): PromiseLike; + /** + * This will be called on every set call. + */ + protected _notifyScopeListeners(): void; + /** + * Applies fingerprint from the scope to the event if there's one, + * uses message if there's one instead or get rid of empty fingerprint + */ + private _applyFingerprint; +} +/** + * Add a EventProcessor to be kept globally. + * @param callback EventProcessor to add + */ +export declare function addGlobalEventProcessor(callback: EventProcessor): void; +//# sourceMappingURL=scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/scope.d.ts.map b/node_modules/@sentry/hub/dist/scope.d.ts.map new file mode 100644 index 000000000..1d7862637 --- /dev/null +++ b/node_modules/@sentry/hub/dist/scope.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../src/scope.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/scope.js b/node_modules/@sentry/hub/dist/scope.js new file mode 100644 index 000000000..0ce81a8cb --- /dev/null +++ b/node_modules/@sentry/hub/dist/scope.js @@ -0,0 +1,448 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +/** + * Absolute maximum number of breadcrumbs added to an event. + * The `maxBreadcrumbs` option cannot be higher than this value. + */ +var MAX_BREADCRUMBS = 100; +/** + * Holds additional event information. {@link Scope.applyToEvent} will be + * called by the client before an event will be sent. + */ +var Scope = /** @class */ (function () { + function Scope() { + /** Flag if notifying is happening. */ + this._notifyingListeners = false; + /** Callback for client to receive scope changes. */ + this._scopeListeners = []; + /** Callback list that will be called after {@link applyToEvent}. */ + this._eventProcessors = []; + /** Array of breadcrumbs. */ + this._breadcrumbs = []; + /** User */ + this._user = {}; + /** Tags */ + this._tags = {}; + /** Extra */ + this._extra = {}; + /** Contexts */ + this._contexts = {}; + /** + * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get + * sent to Sentry + */ + this._sdkProcessingMetadata = {}; + } + /** + * Inherit values from the parent scope. + * @param scope to clone. + */ + Scope.clone = function (scope) { + var newScope = new Scope(); + if (scope) { + newScope._breadcrumbs = tslib_1.__spread(scope._breadcrumbs); + newScope._tags = tslib_1.__assign({}, scope._tags); + newScope._extra = tslib_1.__assign({}, scope._extra); + newScope._contexts = tslib_1.__assign({}, scope._contexts); + newScope._user = scope._user; + newScope._level = scope._level; + newScope._span = scope._span; + newScope._session = scope._session; + newScope._transactionName = scope._transactionName; + newScope._fingerprint = scope._fingerprint; + newScope._eventProcessors = tslib_1.__spread(scope._eventProcessors); + newScope._requestSession = scope._requestSession; + } + return newScope; + }; + /** + * Add internal on change listener. Used for sub SDKs that need to store the scope. + * @hidden + */ + Scope.prototype.addScopeListener = function (callback) { + this._scopeListeners.push(callback); + }; + /** + * @inheritDoc + */ + Scope.prototype.addEventProcessor = function (callback) { + this._eventProcessors.push(callback); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setUser = function (user) { + this._user = user || {}; + if (this._session) { + this._session.update({ user: user }); + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getUser = function () { + return this._user; + }; + /** + * @inheritDoc + */ + Scope.prototype.getRequestSession = function () { + return this._requestSession; + }; + /** + * @inheritDoc + */ + Scope.prototype.setRequestSession = function (requestSession) { + this._requestSession = requestSession; + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTags = function (tags) { + this._tags = tslib_1.__assign(tslib_1.__assign({}, this._tags), tags); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTag = function (key, value) { + var _a; + this._tags = tslib_1.__assign(tslib_1.__assign({}, this._tags), (_a = {}, _a[key] = value, _a)); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setExtras = function (extras) { + this._extra = tslib_1.__assign(tslib_1.__assign({}, this._extra), extras); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setExtra = function (key, extra) { + var _a; + this._extra = tslib_1.__assign(tslib_1.__assign({}, this._extra), (_a = {}, _a[key] = extra, _a)); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setFingerprint = function (fingerprint) { + this._fingerprint = fingerprint; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setLevel = function (level) { + this._level = level; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTransactionName = function (name) { + this._transactionName = name; + this._notifyScopeListeners(); + return this; + }; + /** + * Can be removed in major version. + * @deprecated in favor of {@link this.setTransactionName} + */ + Scope.prototype.setTransaction = function (name) { + return this.setTransactionName(name); + }; + /** + * @inheritDoc + */ + Scope.prototype.setContext = function (key, context) { + var _a; + if (context === null) { + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete this._contexts[key]; + } + else { + this._contexts = tslib_1.__assign(tslib_1.__assign({}, this._contexts), (_a = {}, _a[key] = context, _a)); + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setSpan = function (span) { + this._span = span; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getSpan = function () { + return this._span; + }; + /** + * @inheritDoc + */ + Scope.prototype.getTransaction = function () { + // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will + // have a pointer to the currently-active transaction. + var span = this.getSpan(); + return span && span.transaction; + }; + /** + * @inheritDoc + */ + Scope.prototype.setSession = function (session) { + if (!session) { + delete this._session; + } + else { + this._session = session; + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getSession = function () { + return this._session; + }; + /** + * @inheritDoc + */ + Scope.prototype.update = function (captureContext) { + if (!captureContext) { + return this; + } + if (typeof captureContext === 'function') { + var updatedScope = captureContext(this); + return updatedScope instanceof Scope ? updatedScope : this; + } + if (captureContext instanceof Scope) { + this._tags = tslib_1.__assign(tslib_1.__assign({}, this._tags), captureContext._tags); + this._extra = tslib_1.__assign(tslib_1.__assign({}, this._extra), captureContext._extra); + this._contexts = tslib_1.__assign(tslib_1.__assign({}, this._contexts), captureContext._contexts); + if (captureContext._user && Object.keys(captureContext._user).length) { + this._user = captureContext._user; + } + if (captureContext._level) { + this._level = captureContext._level; + } + if (captureContext._fingerprint) { + this._fingerprint = captureContext._fingerprint; + } + if (captureContext._requestSession) { + this._requestSession = captureContext._requestSession; + } + } + else if (utils_1.isPlainObject(captureContext)) { + // eslint-disable-next-line no-param-reassign + captureContext = captureContext; + this._tags = tslib_1.__assign(tslib_1.__assign({}, this._tags), captureContext.tags); + this._extra = tslib_1.__assign(tslib_1.__assign({}, this._extra), captureContext.extra); + this._contexts = tslib_1.__assign(tslib_1.__assign({}, this._contexts), captureContext.contexts); + if (captureContext.user) { + this._user = captureContext.user; + } + if (captureContext.level) { + this._level = captureContext.level; + } + if (captureContext.fingerprint) { + this._fingerprint = captureContext.fingerprint; + } + if (captureContext.requestSession) { + this._requestSession = captureContext.requestSession; + } + } + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.clear = function () { + this._breadcrumbs = []; + this._tags = {}; + this._extra = {}; + this._user = {}; + this._contexts = {}; + this._level = undefined; + this._transactionName = undefined; + this._fingerprint = undefined; + this._requestSession = undefined; + this._span = undefined; + this._session = undefined; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.addBreadcrumb = function (breadcrumb, maxBreadcrumbs) { + var maxCrumbs = typeof maxBreadcrumbs === 'number' ? Math.min(maxBreadcrumbs, MAX_BREADCRUMBS) : MAX_BREADCRUMBS; + // No data has been changed, so don't notify scope listeners + if (maxCrumbs <= 0) { + return this; + } + var mergedBreadcrumb = tslib_1.__assign({ timestamp: utils_1.dateTimestampInSeconds() }, breadcrumb); + this._breadcrumbs = tslib_1.__spread(this._breadcrumbs, [mergedBreadcrumb]).slice(-maxCrumbs); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.clearBreadcrumbs = function () { + this._breadcrumbs = []; + this._notifyScopeListeners(); + return this; + }; + /** + * Applies the current context and fingerprint to the event. + * Note that breadcrumbs will be added by the client. + * Also if the event has already breadcrumbs on it, we do not merge them. + * @param event Event + * @param hint May contain additional information about the original exception. + * @hidden + */ + Scope.prototype.applyToEvent = function (event, hint) { + if (this._extra && Object.keys(this._extra).length) { + event.extra = tslib_1.__assign(tslib_1.__assign({}, this._extra), event.extra); + } + if (this._tags && Object.keys(this._tags).length) { + event.tags = tslib_1.__assign(tslib_1.__assign({}, this._tags), event.tags); + } + if (this._user && Object.keys(this._user).length) { + event.user = tslib_1.__assign(tslib_1.__assign({}, this._user), event.user); + } + if (this._contexts && Object.keys(this._contexts).length) { + event.contexts = tslib_1.__assign(tslib_1.__assign({}, this._contexts), event.contexts); + } + if (this._level) { + event.level = this._level; + } + if (this._transactionName) { + event.transaction = this._transactionName; + } + // We want to set the trace context for normal events only if there isn't already + // a trace context on the event. There is a product feature in place where we link + // errors with transaction and it relies on that. + if (this._span) { + event.contexts = tslib_1.__assign({ trace: this._span.getTraceContext() }, event.contexts); + var transactionName = this._span.transaction && this._span.transaction.name; + if (transactionName) { + event.tags = tslib_1.__assign({ transaction: transactionName }, event.tags); + } + } + this._applyFingerprint(event); + event.breadcrumbs = tslib_1.__spread((event.breadcrumbs || []), this._breadcrumbs); + event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined; + event.sdkProcessingMetadata = this._sdkProcessingMetadata; + return this._notifyEventProcessors(tslib_1.__spread(getGlobalEventProcessors(), this._eventProcessors), event, hint); + }; + /** + * Add data which will be accessible during event processing but won't get sent to Sentry + */ + Scope.prototype.setSDKProcessingMetadata = function (newData) { + this._sdkProcessingMetadata = tslib_1.__assign(tslib_1.__assign({}, this._sdkProcessingMetadata), newData); + return this; + }; + /** + * This will be called after {@link applyToEvent} is finished. + */ + Scope.prototype._notifyEventProcessors = function (processors, event, hint, index) { + var _this = this; + if (index === void 0) { index = 0; } + return new utils_1.SyncPromise(function (resolve, reject) { + var processor = processors[index]; + if (event === null || typeof processor !== 'function') { + resolve(event); + } + else { + var result = processor(tslib_1.__assign({}, event), hint); + if (utils_1.isThenable(result)) { + void result + .then(function (final) { return _this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve); }) + .then(null, reject); + } + else { + void _this._notifyEventProcessors(processors, result, hint, index + 1) + .then(resolve) + .then(null, reject); + } + } + }); + }; + /** + * This will be called on every set call. + */ + Scope.prototype._notifyScopeListeners = function () { + var _this = this; + // We need this check for this._notifyingListeners to be able to work on scope during updates + // If this check is not here we'll produce endless recursion when something is done with the scope + // during the callback. + if (!this._notifyingListeners) { + this._notifyingListeners = true; + this._scopeListeners.forEach(function (callback) { + callback(_this); + }); + this._notifyingListeners = false; + } + }; + /** + * Applies fingerprint from the scope to the event if there's one, + * uses message if there's one instead or get rid of empty fingerprint + */ + Scope.prototype._applyFingerprint = function (event) { + // Make sure it's an array first and we actually have something in place + event.fingerprint = event.fingerprint + ? Array.isArray(event.fingerprint) + ? event.fingerprint + : [event.fingerprint] + : []; + // If we have something on the scope, then merge it with event + if (this._fingerprint) { + event.fingerprint = event.fingerprint.concat(this._fingerprint); + } + // If we have no data at all, remove empty array default + if (event.fingerprint && !event.fingerprint.length) { + delete event.fingerprint; + } + }; + return Scope; +}()); +exports.Scope = Scope; +/** + * Returns the global event processors. + */ +function getGlobalEventProcessors() { + /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */ + var global = utils_1.getGlobalObject(); + global.__SENTRY__ = global.__SENTRY__ || {}; + global.__SENTRY__.globalEventProcessors = global.__SENTRY__.globalEventProcessors || []; + return global.__SENTRY__.globalEventProcessors; + /* eslint-enable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */ +} +/** + * Add a EventProcessor to be kept globally. + * @param callback EventProcessor to add + */ +function addGlobalEventProcessor(callback) { + getGlobalEventProcessors().push(callback); +} +exports.addGlobalEventProcessor = addGlobalEventProcessor; +//# sourceMappingURL=scope.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/scope.js.map b/node_modules/@sentry/hub/dist/scope.js.map new file mode 100644 index 000000000..758cd2db3 --- /dev/null +++ b/node_modules/@sentry/hub/dist/scope.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scope.js","sourceRoot":"","sources":["../src/scope.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n CaptureContext,\n Context,\n Contexts,\n Event,\n EventHint,\n EventProcessor,\n Extra,\n Extras,\n Primitive,\n RequestSession,\n Scope as ScopeInterface,\n ScopeContext,\n Severity,\n Span,\n Transaction,\n User,\n} from '@sentry/types';\nimport { dateTimestampInSeconds, getGlobalObject, isPlainObject, isThenable, SyncPromise } from '@sentry/utils';\n\nimport { Session } from './session';\n\n/**\n * Absolute maximum number of breadcrumbs added to an event.\n * The `maxBreadcrumbs` option cannot be higher than this value.\n */\nconst MAX_BREADCRUMBS = 100;\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nexport class Scope implements ScopeInterface {\n /** Flag if notifying is happening. */\n protected _notifyingListeners: boolean = false;\n\n /** Callback for client to receive scope changes. */\n protected _scopeListeners: Array<(scope: Scope) => void> = [];\n\n /** Callback list that will be called after {@link applyToEvent}. */\n protected _eventProcessors: EventProcessor[] = [];\n\n /** Array of breadcrumbs. */\n protected _breadcrumbs: Breadcrumb[] = [];\n\n /** User */\n protected _user: User = {};\n\n /** Tags */\n protected _tags: { [key: string]: Primitive } = {};\n\n /** Extra */\n protected _extra: Extras = {};\n\n /** Contexts */\n protected _contexts: Contexts = {};\n\n /** Fingerprint */\n protected _fingerprint?: string[];\n\n /** Severity */\n protected _level?: Severity;\n\n /** Transaction Name */\n protected _transactionName?: string;\n\n /** Span */\n protected _span?: Span;\n\n /** Session */\n protected _session?: Session;\n\n /** Request Mode Session Status */\n protected _requestSession?: RequestSession;\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n protected _sdkProcessingMetadata?: { [key: string]: unknown } = {};\n\n /**\n * Inherit values from the parent scope.\n * @param scope to clone.\n */\n public static clone(scope?: Scope): Scope {\n const newScope = new Scope();\n if (scope) {\n newScope._breadcrumbs = [...scope._breadcrumbs];\n newScope._tags = { ...scope._tags };\n newScope._extra = { ...scope._extra };\n newScope._contexts = { ...scope._contexts };\n newScope._user = scope._user;\n newScope._level = scope._level;\n newScope._span = scope._span;\n newScope._session = scope._session;\n newScope._transactionName = scope._transactionName;\n newScope._fingerprint = scope._fingerprint;\n newScope._eventProcessors = [...scope._eventProcessors];\n newScope._requestSession = scope._requestSession;\n }\n return newScope;\n }\n\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n public addScopeListener(callback: (scope: Scope) => void): void {\n this._scopeListeners.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public addEventProcessor(callback: EventProcessor): this {\n this._eventProcessors.push(callback);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): this {\n this._user = user || {};\n if (this._session) {\n this._session.update({ user });\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getUser(): User | undefined {\n return this._user;\n }\n\n /**\n * @inheritDoc\n */\n public getRequestSession(): RequestSession | undefined {\n return this._requestSession;\n }\n\n /**\n * @inheritDoc\n */\n public setRequestSession(requestSession?: RequestSession): this {\n this._requestSession = requestSession;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): this {\n this._tags = {\n ...this._tags,\n ...tags,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this._tags = { ...this._tags, [key]: value };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): this {\n this._extra = {\n ...this._extra,\n ...extras,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): this {\n this._extra = { ...this._extra, [key]: extra };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setFingerprint(fingerprint: string[]): this {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setLevel(level: Severity): this {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTransactionName(name?: string): this {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Can be removed in major version.\n * @deprecated in favor of {@link this.setTransactionName}\n */\n public setTransaction(name?: string): this {\n return this.setTransactionName(name);\n }\n\n /**\n * @inheritDoc\n */\n public setContext(key: string, context: Context | null): this {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts = { ...this._contexts, [key]: context };\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setSpan(span?: Span): this {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSpan(): Span | undefined {\n return this._span;\n }\n\n /**\n * @inheritDoc\n */\n public getTransaction(): Transaction | undefined {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n const span = this.getSpan();\n return span && span.transaction;\n }\n\n /**\n * @inheritDoc\n */\n public setSession(session?: Session): this {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSession(): Session | undefined {\n return this._session;\n }\n\n /**\n * @inheritDoc\n */\n public update(captureContext?: CaptureContext): this {\n if (!captureContext) {\n return this;\n }\n\n if (typeof captureContext === 'function') {\n const updatedScope = (captureContext as (scope: T) => T)(this);\n return updatedScope instanceof Scope ? updatedScope : this;\n }\n\n if (captureContext instanceof Scope) {\n this._tags = { ...this._tags, ...captureContext._tags };\n this._extra = { ...this._extra, ...captureContext._extra };\n this._contexts = { ...this._contexts, ...captureContext._contexts };\n if (captureContext._user && Object.keys(captureContext._user).length) {\n this._user = captureContext._user;\n }\n if (captureContext._level) {\n this._level = captureContext._level;\n }\n if (captureContext._fingerprint) {\n this._fingerprint = captureContext._fingerprint;\n }\n if (captureContext._requestSession) {\n this._requestSession = captureContext._requestSession;\n }\n } else if (isPlainObject(captureContext)) {\n // eslint-disable-next-line no-param-reassign\n captureContext = captureContext as ScopeContext;\n this._tags = { ...this._tags, ...captureContext.tags };\n this._extra = { ...this._extra, ...captureContext.extra };\n this._contexts = { ...this._contexts, ...captureContext.contexts };\n if (captureContext.user) {\n this._user = captureContext.user;\n }\n if (captureContext.level) {\n this._level = captureContext.level;\n }\n if (captureContext.fingerprint) {\n this._fingerprint = captureContext.fingerprint;\n }\n if (captureContext.requestSession) {\n this._requestSession = captureContext.requestSession;\n }\n }\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clear(): this {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this {\n const maxCrumbs = typeof maxBreadcrumbs === 'number' ? Math.min(maxBreadcrumbs, MAX_BREADCRUMBS) : MAX_BREADCRUMBS;\n\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n\n const mergedBreadcrumb = {\n timestamp: dateTimestampInSeconds(),\n ...breadcrumb,\n };\n this._breadcrumbs = [...this._breadcrumbs, mergedBreadcrumb].slice(-maxCrumbs);\n this._notifyScopeListeners();\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clearBreadcrumbs(): this {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Applies the current context and fingerprint to the event.\n * Note that breadcrumbs will be added by the client.\n * Also if the event has already breadcrumbs on it, we do not merge them.\n * @param event Event\n * @param hint May contain additional information about the original exception.\n * @hidden\n */\n public applyToEvent(event: Event, hint?: EventHint): PromiseLike {\n if (this._extra && Object.keys(this._extra).length) {\n event.extra = { ...this._extra, ...event.extra };\n }\n if (this._tags && Object.keys(this._tags).length) {\n event.tags = { ...this._tags, ...event.tags };\n }\n if (this._user && Object.keys(this._user).length) {\n event.user = { ...this._user, ...event.user };\n }\n if (this._contexts && Object.keys(this._contexts).length) {\n event.contexts = { ...this._contexts, ...event.contexts };\n }\n if (this._level) {\n event.level = this._level;\n }\n if (this._transactionName) {\n event.transaction = this._transactionName;\n }\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (this._span) {\n event.contexts = { trace: this._span.getTraceContext(), ...event.contexts };\n const transactionName = this._span.transaction && this._span.transaction.name;\n if (transactionName) {\n event.tags = { transaction: transactionName, ...event.tags };\n }\n }\n\n this._applyFingerprint(event);\n\n event.breadcrumbs = [...(event.breadcrumbs || []), ...this._breadcrumbs];\n event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined;\n\n event.sdkProcessingMetadata = this._sdkProcessingMetadata;\n\n return this._notifyEventProcessors([...getGlobalEventProcessors(), ...this._eventProcessors], event, hint);\n }\n\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n public setSDKProcessingMetadata(newData: { [key: string]: unknown }): this {\n this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };\n\n return this;\n }\n\n /**\n * This will be called after {@link applyToEvent} is finished.\n */\n protected _notifyEventProcessors(\n processors: EventProcessor[],\n event: Event | null,\n hint?: EventHint,\n index: number = 0,\n ): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n const processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n const result = processor({ ...event }, hint) as Event | null;\n if (isThenable(result)) {\n void (result as PromiseLike)\n .then(final => this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve))\n .then(null, reject);\n } else {\n void this._notifyEventProcessors(processors, result, hint, index + 1)\n .then(resolve)\n .then(null, reject);\n }\n }\n });\n }\n\n /**\n * This will be called on every set call.\n */\n protected _notifyScopeListeners(): void {\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(callback => {\n callback(this);\n });\n this._notifyingListeners = false;\n }\n }\n\n /**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\n private _applyFingerprint(event: Event): void {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint\n ? Array.isArray(event.fingerprint)\n ? event.fingerprint\n : [event.fingerprint]\n : [];\n\n // If we have something on the scope, then merge it with event\n if (this._fingerprint) {\n event.fingerprint = event.fingerprint.concat(this._fingerprint);\n }\n\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n }\n}\n\n/**\n * Returns the global event processors.\n */\nfunction getGlobalEventProcessors(): EventProcessor[] {\n /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n const global = getGlobalObject();\n global.__SENTRY__ = global.__SENTRY__ || {};\n global.__SENTRY__.globalEventProcessors = global.__SENTRY__.globalEventProcessors || [];\n return global.__SENTRY__.globalEventProcessors;\n /* eslint-enable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n}\n\n/**\n * Add a EventProcessor to be kept globally.\n * @param callback EventProcessor to add\n */\nexport function addGlobalEventProcessor(callback: EventProcessor): void {\n getGlobalEventProcessors().push(callback);\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/session.d.ts b/node_modules/@sentry/hub/dist/session.d.ts new file mode 100644 index 000000000..d58d34b8d --- /dev/null +++ b/node_modules/@sentry/hub/dist/session.d.ts @@ -0,0 +1,42 @@ +import { Session as SessionInterface, SessionContext, SessionStatus } from '@sentry/types'; +/** + * @inheritdoc + */ +export declare class Session implements SessionInterface { + userAgent?: string; + errors: number; + release?: string; + sid: string; + did?: string; + timestamp: number; + started: number; + duration?: number; + status: SessionStatus; + environment?: string; + ipAddress?: string; + init: boolean; + ignoreDuration: boolean; + constructor(context?: Omit); + /** JSDoc */ + update(context?: SessionContext): void; + /** JSDoc */ + close(status?: Exclude): void; + /** JSDoc */ + toJSON(): { + init: boolean; + sid: string; + did?: string; + timestamp: string; + started: string; + duration?: number; + status: SessionStatus; + errors: number; + attrs?: { + release?: string; + environment?: string; + user_agent?: string; + ip_address?: string; + }; + }; +} +//# sourceMappingURL=session.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/session.d.ts.map b/node_modules/@sentry/hub/dist/session.d.ts.map new file mode 100644 index 000000000..e52b3f368 --- /dev/null +++ b/node_modules/@sentry/hub/dist/session.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG3F;;GAEG;AACH,qBAAa,OAAQ,YAAW,gBAAgB;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAK;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAW;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAK;IACtB,MAAM,EAAE,aAAa,CAAQ;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAQ;IACrB,cAAc,EAAE,OAAO,CAAS;gBAEpB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,QAAQ,CAAC;IAUvE,YAAY;IAEL,MAAM,CAAC,OAAO,GAAE,cAAmB,GAAG,IAAI;IAwDjD,YAAY;IACL,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,GAAG,IAAI;IAUzD,YAAY;IACL,MAAM,IAAI;QACf,IAAI,EAAE,OAAO,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,aAAa,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE;YACN,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH;CAmBF"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/session.js b/node_modules/@sentry/hub/dist/session.js new file mode 100644 index 000000000..326abb3d0 --- /dev/null +++ b/node_modules/@sentry/hub/dist/session.js @@ -0,0 +1,115 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +/** + * @inheritdoc + */ +var Session = /** @class */ (function () { + function Session(context) { + this.errors = 0; + this.sid = utils_1.uuid4(); + this.duration = 0; + this.status = 'ok'; + this.init = true; + this.ignoreDuration = false; + // Both timestamp and started are in seconds since the UNIX epoch. + var startingTime = utils_1.timestampInSeconds(); + this.timestamp = startingTime; + this.started = startingTime; + if (context) { + this.update(context); + } + } + /** JSDoc */ + // eslint-disable-next-line complexity + Session.prototype.update = function (context) { + if (context === void 0) { context = {}; } + if (context.user) { + if (!this.ipAddress && context.user.ip_address) { + this.ipAddress = context.user.ip_address; + } + if (!this.did && !context.did) { + this.did = context.user.id || context.user.email || context.user.username; + } + } + this.timestamp = context.timestamp || utils_1.timestampInSeconds(); + if (context.ignoreDuration) { + this.ignoreDuration = context.ignoreDuration; + } + if (context.sid) { + // Good enough uuid validation. — Kamil + this.sid = context.sid.length === 32 ? context.sid : utils_1.uuid4(); + } + if (context.init !== undefined) { + this.init = context.init; + } + if (!this.did && context.did) { + this.did = "" + context.did; + } + if (typeof context.started === 'number') { + this.started = context.started; + } + if (this.ignoreDuration) { + this.duration = undefined; + } + else if (typeof context.duration === 'number') { + this.duration = context.duration; + } + else { + var duration = this.timestamp - this.started; + this.duration = duration >= 0 ? duration : 0; + } + if (context.release) { + this.release = context.release; + } + if (context.environment) { + this.environment = context.environment; + } + if (!this.ipAddress && context.ipAddress) { + this.ipAddress = context.ipAddress; + } + if (!this.userAgent && context.userAgent) { + this.userAgent = context.userAgent; + } + if (typeof context.errors === 'number') { + this.errors = context.errors; + } + if (context.status) { + this.status = context.status; + } + }; + /** JSDoc */ + Session.prototype.close = function (status) { + if (status) { + this.update({ status: status }); + } + else if (this.status === 'ok') { + this.update({ status: 'exited' }); + } + else { + this.update(); + } + }; + /** JSDoc */ + Session.prototype.toJSON = function () { + return utils_1.dropUndefinedKeys({ + sid: "" + this.sid, + init: this.init, + // Make sure that sec is converted to ms for date constructor + started: new Date(this.started * 1000).toISOString(), + timestamp: new Date(this.timestamp * 1000).toISOString(), + status: this.status, + errors: this.errors, + did: typeof this.did === 'number' || typeof this.did === 'string' ? "" + this.did : undefined, + duration: this.duration, + attrs: { + release: this.release, + environment: this.environment, + ip_address: this.ipAddress, + user_agent: this.userAgent, + }, + }); + }; + return Session; +}()); +exports.Session = Session; +//# sourceMappingURL=session.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/session.js.map b/node_modules/@sentry/hub/dist/session.js.map new file mode 100644 index 000000000..1d14c817d --- /dev/null +++ b/node_modules/@sentry/hub/dist/session.js.map @@ -0,0 +1 @@ +{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"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","sourcesContent":["import { Session as SessionInterface, SessionContext, SessionStatus } from '@sentry/types';\nimport { dropUndefinedKeys, timestampInSeconds, uuid4 } from '@sentry/utils';\n\n/**\n * @inheritdoc\n */\nexport class Session implements SessionInterface {\n public userAgent?: string;\n public errors: number = 0;\n public release?: string;\n public sid: string = uuid4();\n public did?: string;\n public timestamp: number;\n public started: number;\n public duration?: number = 0;\n public status: SessionStatus = 'ok';\n public environment?: string;\n public ipAddress?: string;\n public init: boolean = true;\n public ignoreDuration: boolean = false;\n\n public constructor(context?: Omit) {\n // Both timestamp and started are in seconds since the UNIX epoch.\n const startingTime = timestampInSeconds();\n this.timestamp = startingTime;\n this.started = startingTime;\n if (context) {\n this.update(context);\n }\n }\n\n /** JSDoc */\n // eslint-disable-next-line complexity\n public update(context: SessionContext = {}): void {\n if (context.user) {\n if (!this.ipAddress && context.user.ip_address) {\n this.ipAddress = context.user.ip_address;\n }\n\n if (!this.did && !context.did) {\n this.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n this.timestamp = context.timestamp || timestampInSeconds();\n if (context.ignoreDuration) {\n this.ignoreDuration = context.ignoreDuration;\n }\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n this.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n if (context.init !== undefined) {\n this.init = context.init;\n }\n if (!this.did && context.did) {\n this.did = `${context.did}`;\n }\n if (typeof context.started === 'number') {\n this.started = context.started;\n }\n if (this.ignoreDuration) {\n this.duration = undefined;\n } else if (typeof context.duration === 'number') {\n this.duration = context.duration;\n } else {\n const duration = this.timestamp - this.started;\n this.duration = duration >= 0 ? duration : 0;\n }\n if (context.release) {\n this.release = context.release;\n }\n if (context.environment) {\n this.environment = context.environment;\n }\n if (!this.ipAddress && context.ipAddress) {\n this.ipAddress = context.ipAddress;\n }\n if (!this.userAgent && context.userAgent) {\n this.userAgent = context.userAgent;\n }\n if (typeof context.errors === 'number') {\n this.errors = context.errors;\n }\n if (context.status) {\n this.status = context.status;\n }\n }\n\n /** JSDoc */\n public close(status?: Exclude): void {\n if (status) {\n this.update({ status });\n } else if (this.status === 'ok') {\n this.update({ status: 'exited' });\n } else {\n this.update();\n }\n }\n\n /** JSDoc */\n public toJSON(): {\n init: boolean;\n sid: string;\n did?: string;\n timestamp: string;\n started: string;\n duration?: number;\n status: SessionStatus;\n errors: number;\n attrs?: {\n release?: string;\n environment?: string;\n user_agent?: string;\n ip_address?: string;\n };\n } {\n return dropUndefinedKeys({\n sid: `${this.sid}`,\n init: this.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(this.started * 1000).toISOString(),\n timestamp: new Date(this.timestamp * 1000).toISOString(),\n status: this.status,\n errors: this.errors,\n did: typeof this.did === 'number' || typeof this.did === 'string' ? `${this.did}` : undefined,\n duration: this.duration,\n attrs: {\n release: this.release,\n environment: this.environment,\n ip_address: this.ipAddress,\n user_agent: this.userAgent,\n },\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/sessionflusher.d.ts b/node_modules/@sentry/hub/dist/sessionflusher.d.ts new file mode 100644 index 000000000..db409ebd2 --- /dev/null +++ b/node_modules/@sentry/hub/dist/sessionflusher.d.ts @@ -0,0 +1,38 @@ +import { SessionAggregates, SessionFlusherLike, Transport } from '@sentry/types'; +declare type ReleaseHealthAttributes = { + environment?: string; + release: string; +}; +/** + * @inheritdoc + */ +export declare class SessionFlusher implements SessionFlusherLike { + readonly flushTimeout: number; + private _pendingAggregates; + private _sessionAttrs; + private _intervalId; + private _isEnabled; + private _transport; + constructor(transport: Transport, attrs: ReleaseHealthAttributes); + /** Sends session aggregates to Transport */ + sendSessionAggregates(sessionAggregates: SessionAggregates): void; + /** Checks if `pendingAggregates` has entries, and if it does flushes them by calling `sendSessions` */ + flush(): void; + /** Massages the entries in `pendingAggregates` and returns aggregated sessions */ + getSessionAggregates(): SessionAggregates; + /** JSDoc */ + close(): void; + /** + * Wrapper function for _incrementSessionStatusCount that checks if the instance of SessionFlusher is enabled then + * fetches the session status of the request from `Scope.getRequestSession().status` on the scope and passes them to + * `_incrementSessionStatusCount` along with the start date + */ + incrementSessionStatusCount(): void; + /** + * Increments status bucket in pendingAggregates buffer (internal state) corresponding to status of + * the session received + */ + private _incrementSessionStatusCount; +} +export {}; +//# sourceMappingURL=sessionflusher.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/sessionflusher.d.ts.map b/node_modules/@sentry/hub/dist/sessionflusher.d.ts.map new file mode 100644 index 000000000..1e511c0e7 --- /dev/null +++ b/node_modules/@sentry/hub/dist/sessionflusher.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sessionflusher.d.ts","sourceRoot":"","sources":["../src/sessionflusher.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACV,MAAM,eAAe,CAAC;AAKvB,aAAK,uBAAuB,GAAG;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,qBAAa,cAAe,YAAW,kBAAkB;IACvD,SAAgB,YAAY,EAAE,MAAM,CAAM;IAC1C,OAAO,CAAC,kBAAkB,CAAyC;IACnE,OAAO,CAAC,aAAa,CAA0B;IAC/C,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,UAAU,CAAiB;IACnC,OAAO,CAAC,UAAU,CAAY;gBAEX,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,uBAAuB;IAOvE,4CAA4C;IACrC,qBAAqB,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI;IAUxE,uGAAuG;IAChG,KAAK,IAAI,IAAI;IASpB,kFAAkF;IAC3E,oBAAoB,IAAI,iBAAiB;IAYhD,YAAY;IACL,KAAK,IAAI,IAAI;IAMpB;;;;OAIG;IACI,2BAA2B,IAAI,IAAI;IAkB1C;;;OAGG;IACH,OAAO,CAAC,4BAA4B;CAwBrC"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/sessionflusher.js b/node_modules/@sentry/hub/dist/sessionflusher.js new file mode 100644 index 000000000..3c6108595 --- /dev/null +++ b/node_modules/@sentry/hub/dist/sessionflusher.js @@ -0,0 +1,105 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var hub_1 = require("./hub"); +/** + * @inheritdoc + */ +var SessionFlusher = /** @class */ (function () { + function SessionFlusher(transport, attrs) { + var _this = this; + this.flushTimeout = 60; + this._pendingAggregates = {}; + this._isEnabled = true; + this._transport = transport; + // Call to setInterval, so that flush is called every 60 seconds + this._intervalId = setInterval(function () { return _this.flush(); }, this.flushTimeout * 1000); + this._sessionAttrs = attrs; + } + /** Sends session aggregates to Transport */ + SessionFlusher.prototype.sendSessionAggregates = function (sessionAggregates) { + if (!this._transport.sendSession) { + utils_1.logger.warn("Dropping session because custom transport doesn't implement sendSession"); + return; + } + void this._transport.sendSession(sessionAggregates).then(null, function (reason) { + utils_1.logger.error("Error while sending session: " + reason); + }); + }; + /** Checks if `pendingAggregates` has entries, and if it does flushes them by calling `sendSessions` */ + SessionFlusher.prototype.flush = function () { + var sessionAggregates = this.getSessionAggregates(); + if (sessionAggregates.aggregates.length === 0) { + return; + } + this._pendingAggregates = {}; + this.sendSessionAggregates(sessionAggregates); + }; + /** Massages the entries in `pendingAggregates` and returns aggregated sessions */ + SessionFlusher.prototype.getSessionAggregates = function () { + var _this = this; + var aggregates = Object.keys(this._pendingAggregates).map(function (key) { + return _this._pendingAggregates[parseInt(key)]; + }); + var sessionAggregates = { + attrs: this._sessionAttrs, + aggregates: aggregates, + }; + return utils_1.dropUndefinedKeys(sessionAggregates); + }; + /** JSDoc */ + SessionFlusher.prototype.close = function () { + clearInterval(this._intervalId); + this._isEnabled = false; + this.flush(); + }; + /** + * Wrapper function for _incrementSessionStatusCount that checks if the instance of SessionFlusher is enabled then + * fetches the session status of the request from `Scope.getRequestSession().status` on the scope and passes them to + * `_incrementSessionStatusCount` along with the start date + */ + SessionFlusher.prototype.incrementSessionStatusCount = function () { + if (!this._isEnabled) { + return; + } + var scope = hub_1.getCurrentHub().getScope(); + var requestSession = scope && scope.getRequestSession(); + if (requestSession && requestSession.status) { + this._incrementSessionStatusCount(requestSession.status, new Date()); + // This is not entirely necessarily but is added as a safe guard to indicate the bounds of a request and so in + // case captureRequestSession is called more than once to prevent double count + if (scope) { + scope.setRequestSession(undefined); + } + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + } + }; + /** + * Increments status bucket in pendingAggregates buffer (internal state) corresponding to status of + * the session received + */ + SessionFlusher.prototype._incrementSessionStatusCount = function (status, date) { + // Truncate minutes and seconds on Session Started attribute to have one minute bucket keys + var sessionStartedTrunc = new Date(date).setSeconds(0, 0); + this._pendingAggregates[sessionStartedTrunc] = this._pendingAggregates[sessionStartedTrunc] || {}; + // corresponds to aggregated sessions in one specific minute bucket + // for example, {"started":"2021-03-16T08:00:00.000Z","exited":4, "errored": 1} + var aggregationCounts = this._pendingAggregates[sessionStartedTrunc]; + if (!aggregationCounts.started) { + aggregationCounts.started = new Date(sessionStartedTrunc).toISOString(); + } + switch (status) { + case 'errored': + aggregationCounts.errored = (aggregationCounts.errored || 0) + 1; + return aggregationCounts.errored; + case 'ok': + aggregationCounts.exited = (aggregationCounts.exited || 0) + 1; + return aggregationCounts.exited; + default: + aggregationCounts.crashed = (aggregationCounts.crashed || 0) + 1; + return aggregationCounts.crashed; + } + }; + return SessionFlusher; +}()); +exports.SessionFlusher = SessionFlusher; +//# sourceMappingURL=sessionflusher.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/dist/sessionflusher.js.map b/node_modules/@sentry/hub/dist/sessionflusher.js.map new file mode 100644 index 000000000..5d4b36de2 --- /dev/null +++ b/node_modules/@sentry/hub/dist/sessionflusher.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sessionflusher.js","sourceRoot":"","sources":["../src/sessionflusher.ts"],"names":[],"mappings":"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","sourcesContent":["import {\n AggregationCounts,\n RequestSessionStatus,\n SessionAggregates,\n SessionFlusherLike,\n Transport,\n} from '@sentry/types';\nimport { dropUndefinedKeys, logger } from '@sentry/utils';\n\nimport { getCurrentHub } from './hub';\n\ntype ReleaseHealthAttributes = {\n environment?: string;\n release: string;\n};\n\n/**\n * @inheritdoc\n */\nexport class SessionFlusher implements SessionFlusherLike {\n public readonly flushTimeout: number = 60;\n private _pendingAggregates: Record = {};\n private _sessionAttrs: ReleaseHealthAttributes;\n private _intervalId: ReturnType;\n private _isEnabled: boolean = true;\n private _transport: Transport;\n\n public constructor(transport: Transport, attrs: ReleaseHealthAttributes) {\n this._transport = transport;\n // Call to setInterval, so that flush is called every 60 seconds\n this._intervalId = setInterval(() => this.flush(), this.flushTimeout * 1000);\n this._sessionAttrs = attrs;\n }\n\n /** Sends session aggregates to Transport */\n public sendSessionAggregates(sessionAggregates: SessionAggregates): void {\n if (!this._transport.sendSession) {\n logger.warn(\"Dropping session because custom transport doesn't implement sendSession\");\n return;\n }\n void this._transport.sendSession(sessionAggregates).then(null, reason => {\n logger.error(`Error while sending session: ${reason}`);\n });\n }\n\n /** Checks if `pendingAggregates` has entries, and if it does flushes them by calling `sendSessions` */\n public flush(): void {\n const sessionAggregates = this.getSessionAggregates();\n if (sessionAggregates.aggregates.length === 0) {\n return;\n }\n this._pendingAggregates = {};\n this.sendSessionAggregates(sessionAggregates);\n }\n\n /** Massages the entries in `pendingAggregates` and returns aggregated sessions */\n public getSessionAggregates(): SessionAggregates {\n const aggregates: AggregationCounts[] = Object.keys(this._pendingAggregates).map((key: string) => {\n return this._pendingAggregates[parseInt(key)];\n });\n\n const sessionAggregates: SessionAggregates = {\n attrs: this._sessionAttrs,\n aggregates,\n };\n return dropUndefinedKeys(sessionAggregates);\n }\n\n /** JSDoc */\n public close(): void {\n clearInterval(this._intervalId);\n this._isEnabled = false;\n this.flush();\n }\n\n /**\n * Wrapper function for _incrementSessionStatusCount that checks if the instance of SessionFlusher is enabled then\n * fetches the session status of the request from `Scope.getRequestSession().status` on the scope and passes them to\n * `_incrementSessionStatusCount` along with the start date\n */\n public incrementSessionStatusCount(): void {\n if (!this._isEnabled) {\n return;\n }\n const scope = getCurrentHub().getScope();\n const requestSession = scope && scope.getRequestSession();\n\n if (requestSession && requestSession.status) {\n this._incrementSessionStatusCount(requestSession.status, new Date());\n // This is not entirely necessarily but is added as a safe guard to indicate the bounds of a request and so in\n // case captureRequestSession is called more than once to prevent double count\n if (scope) {\n scope.setRequestSession(undefined);\n }\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n }\n }\n\n /**\n * Increments status bucket in pendingAggregates buffer (internal state) corresponding to status of\n * the session received\n */\n private _incrementSessionStatusCount(status: RequestSessionStatus, date: Date): number {\n // Truncate minutes and seconds on Session Started attribute to have one minute bucket keys\n const sessionStartedTrunc = new Date(date).setSeconds(0, 0);\n this._pendingAggregates[sessionStartedTrunc] = this._pendingAggregates[sessionStartedTrunc] || {};\n\n // corresponds to aggregated sessions in one specific minute bucket\n // for example, {\"started\":\"2021-03-16T08:00:00.000Z\",\"exited\":4, \"errored\": 1}\n const aggregationCounts: AggregationCounts = this._pendingAggregates[sessionStartedTrunc];\n if (!aggregationCounts.started) {\n aggregationCounts.started = new Date(sessionStartedTrunc).toISOString();\n }\n\n switch (status) {\n case 'errored':\n aggregationCounts.errored = (aggregationCounts.errored || 0) + 1;\n return aggregationCounts.errored;\n case 'ok':\n aggregationCounts.exited = (aggregationCounts.exited || 0) + 1;\n return aggregationCounts.exited;\n default:\n aggregationCounts.crashed = (aggregationCounts.crashed || 0) + 1;\n return aggregationCounts.crashed;\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/hub.d.ts b/node_modules/@sentry/hub/esm/hub.d.ts new file mode 100644 index 000000000..0c73e8a78 --- /dev/null +++ b/node_modules/@sentry/hub/esm/hub.d.ts @@ -0,0 +1,244 @@ +import { Breadcrumb, BreadcrumbHint, Client, CustomSamplingContext, Event, EventHint, Extra, Extras, Hub as HubInterface, Integration, IntegrationClass, Primitive, SessionContext, Severity, Span, SpanContext, Transaction, TransactionContext, User } from '@sentry/types'; +import { Scope } from './scope'; +import { Session } from './session'; +/** + * API compatibility version of this hub. + * + * WARNING: This number should only be increased when the global interface + * changes and new methods are introduced. + * + * @hidden + */ +export declare const API_VERSION = 4; +/** + * A layer in the process stack. + * @hidden + */ +export interface Layer { + client?: Client; + scope?: Scope; +} +/** + * An object that contains a hub and maintains a scope stack. + * @hidden + */ +export interface Carrier { + __SENTRY__?: { + hub?: Hub; + /** + * Extra Hub properties injected by various SDKs + */ + integrations?: Integration[]; + extensions?: { + /** Hack to prevent bundlers from breaking our usage of the domain package in the cross-platform Hub package */ + domain?: { + [key: string]: any; + }; + } & { + /** Extension methods for the hub, which are bound to the current Hub instance */ + [key: string]: Function; + }; + }; +} +/** + * @hidden + * @deprecated Can be removed once `Hub.getActiveDomain` is removed. + */ +export interface DomainAsCarrier extends Carrier { + members: { + [key: string]: any; + }[]; +} +/** + * @inheritDoc + */ +export declare class Hub implements HubInterface { + private readonly _version; + /** Is a {@link Layer}[] containing the client and scope */ + private readonly _stack; + /** Contains the last event id of a captured event. */ + private _lastEventId?; + /** + * Creates a new instance of the hub, will push one {@link Layer} into the + * internal stack on creation. + * + * @param client bound to the hub. + * @param scope bound to the hub. + * @param version number, higher number means higher priority. + */ + constructor(client?: Client, scope?: Scope, _version?: number); + /** + * @inheritDoc + */ + isOlderThan(version: number): boolean; + /** + * @inheritDoc + */ + bindClient(client?: Client): void; + /** + * @inheritDoc + */ + pushScope(): Scope; + /** + * @inheritDoc + */ + popScope(): boolean; + /** + * @inheritDoc + */ + withScope(callback: (scope: Scope) => void): void; + /** + * @inheritDoc + */ + getClient(): C | undefined; + /** Returns the scope of the top stack. */ + getScope(): Scope | undefined; + /** Returns the scope stack for domains or the process. */ + getStack(): Layer[]; + /** Returns the topmost scope layer in the order domain > local > process. */ + getStackTop(): Layer; + /** + * @inheritDoc + */ + captureException(exception: any, hint?: EventHint): string; + /** + * @inheritDoc + */ + captureMessage(message: string, level?: Severity, hint?: EventHint): string; + /** + * @inheritDoc + */ + captureEvent(event: Event, hint?: EventHint): string; + /** + * @inheritDoc + */ + lastEventId(): string | undefined; + /** + * @inheritDoc + */ + addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void; + /** + * @inheritDoc + */ + setUser(user: User | null): void; + /** + * @inheritDoc + */ + setTags(tags: { + [key: string]: Primitive; + }): void; + /** + * @inheritDoc + */ + setExtras(extras: Extras): void; + /** + * @inheritDoc + */ + setTag(key: string, value: Primitive): void; + /** + * @inheritDoc + */ + setExtra(key: string, extra: Extra): void; + /** + * @inheritDoc + */ + setContext(name: string, context: { + [key: string]: any; + } | null): void; + /** + * @inheritDoc + */ + configureScope(callback: (scope: Scope) => void): void; + /** + * @inheritDoc + */ + run(callback: (hub: Hub) => void): void; + /** + * @inheritDoc + */ + getIntegration(integration: IntegrationClass): T | null; + /** + * @inheritDoc + */ + startSpan(context: SpanContext): Span; + /** + * @inheritDoc + */ + startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction; + /** + * @inheritDoc + */ + traceHeaders(): { + [key: string]: string; + }; + /** + * @inheritDoc + */ + captureSession(endSession?: boolean): void; + /** + * @inheritDoc + */ + endSession(): void; + /** + * @inheritDoc + */ + startSession(context?: SessionContext): Session; + /** + * Sends the current Session on the scope + */ + private _sendSessionUpdate; + /** + * Internal helper function to call a method on the top client if it exists. + * + * @param method The method to call on the client. + * @param args Arguments to pass to the client function. + */ + private _invokeClient; + /** + * Calls global extension method and binding current instance to the function call + */ + private _callExtensionMethod; +} +/** + * Returns the global shim registry. + * + * FIXME: This function is problematic, because despite always returning a valid Carrier, + * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check + * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there. + **/ +export declare function getMainCarrier(): Carrier; +/** + * Replaces the current main hub with the passed one on the global object + * + * @returns The old replaced hub + */ +export declare function makeMain(hub: Hub): Hub; +/** + * Returns the default hub instance. + * + * If a hub is already registered in the global carrier but this module + * contains a more recent version, it replaces the registered version. + * Otherwise, the currently registered hub will be returned. + */ +export declare function getCurrentHub(): Hub; +/** + * Returns the active domain, if one exists + * @deprecated No longer used; remove in v7 + * @returns The domain, or undefined if there is no active domain + */ +export declare function getActiveDomain(): DomainAsCarrier | undefined; +/** + * This will create a new {@link Hub} and add to the passed object on + * __SENTRY__.hub. + * @param carrier object + * @hidden + */ +export declare function getHubFromCarrier(carrier: Carrier): Hub; +/** + * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute + * @param carrier object + * @param hub Hub + * @returns A boolean indicating success or failure + */ +export declare function setHubOnCarrier(carrier: Carrier, hub: Hub): boolean; +//# sourceMappingURL=hub.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/hub.d.ts.map b/node_modules/@sentry/hub/esm/hub.d.ts.map new file mode 100644 index 000000000..509d68481 --- /dev/null +++ b/node_modules/@sentry/hub/esm/hub.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../src/hub.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/hub.js b/node_modules/@sentry/hub/esm/hub.js new file mode 100644 index 000000000..286f48b0c --- /dev/null +++ b/node_modules/@sentry/hub/esm/hub.js @@ -0,0 +1,521 @@ +import { __assign, __read, __spread } from "tslib"; +import { consoleSandbox, dateTimestampInSeconds, getGlobalObject, isNodeEnv, logger, uuid4 } from '@sentry/utils'; +import { Scope } from './scope'; +import { Session } from './session'; +/** + * API compatibility version of this hub. + * + * WARNING: This number should only be increased when the global interface + * changes and new methods are introduced. + * + * @hidden + */ +export var API_VERSION = 4; +/** + * Default maximum number of breadcrumbs added to an event. Can be overwritten + * with {@link Options.maxBreadcrumbs}. + */ +var DEFAULT_BREADCRUMBS = 100; +/** + * @inheritDoc + */ +var Hub = /** @class */ (function () { + /** + * Creates a new instance of the hub, will push one {@link Layer} into the + * internal stack on creation. + * + * @param client bound to the hub. + * @param scope bound to the hub. + * @param version number, higher number means higher priority. + */ + function Hub(client, scope, _version) { + if (scope === void 0) { scope = new Scope(); } + if (_version === void 0) { _version = API_VERSION; } + this._version = _version; + /** Is a {@link Layer}[] containing the client and scope */ + this._stack = [{}]; + this.getStackTop().scope = scope; + if (client) { + this.bindClient(client); + } + } + /** + * @inheritDoc + */ + Hub.prototype.isOlderThan = function (version) { + return this._version < version; + }; + /** + * @inheritDoc + */ + Hub.prototype.bindClient = function (client) { + var top = this.getStackTop(); + top.client = client; + if (client && client.setupIntegrations) { + client.setupIntegrations(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.pushScope = function () { + // We want to clone the content of prev scope + var scope = Scope.clone(this.getScope()); + this.getStack().push({ + client: this.getClient(), + scope: scope, + }); + return scope; + }; + /** + * @inheritDoc + */ + Hub.prototype.popScope = function () { + if (this.getStack().length <= 1) + return false; + return !!this.getStack().pop(); + }; + /** + * @inheritDoc + */ + Hub.prototype.withScope = function (callback) { + var scope = this.pushScope(); + try { + callback(scope); + } + finally { + this.popScope(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.getClient = function () { + return this.getStackTop().client; + }; + /** Returns the scope of the top stack. */ + Hub.prototype.getScope = function () { + return this.getStackTop().scope; + }; + /** Returns the scope stack for domains or the process. */ + Hub.prototype.getStack = function () { + return this._stack; + }; + /** Returns the topmost scope layer in the order domain > local > process. */ + Hub.prototype.getStackTop = function () { + return this._stack[this._stack.length - 1]; + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + Hub.prototype.captureException = function (exception, hint) { + var eventId = (this._lastEventId = uuid4()); + var finalHint = hint; + // If there's no explicit hint provided, mimic the same thing that would happen + // in the minimal itself to create a consistent behavior. + // We don't do this in the client, as it's the lowest level API, and doing this, + // would prevent user from having full control over direct calls. + if (!hint) { + var syntheticException = void 0; + try { + throw new Error('Sentry syntheticException'); + } + catch (exception) { + syntheticException = exception; + } + finalHint = { + originalException: exception, + syntheticException: syntheticException, + }; + } + this._invokeClient('captureException', exception, __assign(__assign({}, finalHint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.captureMessage = function (message, level, hint) { + var eventId = (this._lastEventId = uuid4()); + var finalHint = hint; + // If there's no explicit hint provided, mimic the same thing that would happen + // in the minimal itself to create a consistent behavior. + // We don't do this in the client, as it's the lowest level API, and doing this, + // would prevent user from having full control over direct calls. + if (!hint) { + var syntheticException = void 0; + try { + throw new Error(message); + } + catch (exception) { + syntheticException = exception; + } + finalHint = { + originalException: message, + syntheticException: syntheticException, + }; + } + this._invokeClient('captureMessage', message, level, __assign(__assign({}, finalHint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.captureEvent = function (event, hint) { + var eventId = uuid4(); + if (event.type !== 'transaction') { + this._lastEventId = eventId; + } + this._invokeClient('captureEvent', event, __assign(__assign({}, hint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.lastEventId = function () { + return this._lastEventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.addBreadcrumb = function (breadcrumb, hint) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (!scope || !client) + return; + // eslint-disable-next-line @typescript-eslint/unbound-method + var _b = (client.getOptions && client.getOptions()) || {}, _c = _b.beforeBreadcrumb, beforeBreadcrumb = _c === void 0 ? null : _c, _d = _b.maxBreadcrumbs, maxBreadcrumbs = _d === void 0 ? DEFAULT_BREADCRUMBS : _d; + if (maxBreadcrumbs <= 0) + return; + var timestamp = dateTimestampInSeconds(); + var mergedBreadcrumb = __assign({ timestamp: timestamp }, breadcrumb); + var finalBreadcrumb = beforeBreadcrumb + ? consoleSandbox(function () { return beforeBreadcrumb(mergedBreadcrumb, hint); }) + : mergedBreadcrumb; + if (finalBreadcrumb === null) + return; + scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs); + }; + /** + * @inheritDoc + */ + Hub.prototype.setUser = function (user) { + var scope = this.getScope(); + if (scope) + scope.setUser(user); + }; + /** + * @inheritDoc + */ + Hub.prototype.setTags = function (tags) { + var scope = this.getScope(); + if (scope) + scope.setTags(tags); + }; + /** + * @inheritDoc + */ + Hub.prototype.setExtras = function (extras) { + var scope = this.getScope(); + if (scope) + scope.setExtras(extras); + }; + /** + * @inheritDoc + */ + Hub.prototype.setTag = function (key, value) { + var scope = this.getScope(); + if (scope) + scope.setTag(key, value); + }; + /** + * @inheritDoc + */ + Hub.prototype.setExtra = function (key, extra) { + var scope = this.getScope(); + if (scope) + scope.setExtra(key, extra); + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype.setContext = function (name, context) { + var scope = this.getScope(); + if (scope) + scope.setContext(name, context); + }; + /** + * @inheritDoc + */ + Hub.prototype.configureScope = function (callback) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (scope && client) { + callback(scope); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.run = function (callback) { + var oldHub = makeMain(this); + try { + callback(this); + } + finally { + makeMain(oldHub); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.getIntegration = function (integration) { + var client = this.getClient(); + if (!client) + return null; + try { + return client.getIntegration(integration); + } + catch (_oO) { + logger.warn("Cannot retrieve integration " + integration.id + " from the current Hub"); + return null; + } + }; + /** + * @inheritDoc + */ + Hub.prototype.startSpan = function (context) { + return this._callExtensionMethod('startSpan', context); + }; + /** + * @inheritDoc + */ + Hub.prototype.startTransaction = function (context, customSamplingContext) { + return this._callExtensionMethod('startTransaction', context, customSamplingContext); + }; + /** + * @inheritDoc + */ + Hub.prototype.traceHeaders = function () { + return this._callExtensionMethod('traceHeaders'); + }; + /** + * @inheritDoc + */ + Hub.prototype.captureSession = function (endSession) { + if (endSession === void 0) { endSession = false; } + // both send the update and pull the session from the scope + if (endSession) { + return this.endSession(); + } + // only send the update + this._sendSessionUpdate(); + }; + /** + * @inheritDoc + */ + Hub.prototype.endSession = function () { + var layer = this.getStackTop(); + var scope = layer && layer.scope; + var session = scope && scope.getSession(); + if (session) { + session.close(); + } + this._sendSessionUpdate(); + // the session is over; take it off of the scope + if (scope) { + scope.setSession(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.startSession = function (context) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + var _b = (client && client.getOptions()) || {}, release = _b.release, environment = _b.environment; + // Will fetch userAgent if called from browser sdk + var global = getGlobalObject(); + var userAgent = (global.navigator || {}).userAgent; + var session = new Session(__assign(__assign(__assign({ release: release, + environment: environment }, (scope && { user: scope.getUser() })), (userAgent && { userAgent: userAgent })), context)); + if (scope) { + // End existing session if there's one + var currentSession = scope.getSession && scope.getSession(); + if (currentSession && currentSession.status === 'ok') { + currentSession.update({ status: 'exited' }); + } + this.endSession(); + // Afterwards we set the new session on the scope + scope.setSession(session); + } + return session; + }; + /** + * Sends the current Session on the scope + */ + Hub.prototype._sendSessionUpdate = function () { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (!scope) + return; + var session = scope.getSession && scope.getSession(); + if (session) { + if (client && client.captureSession) { + client.captureSession(session); + } + } + }; + /** + * Internal helper function to call a method on the top client if it exists. + * + * @param method The method to call on the client. + * @param args Arguments to pass to the client function. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype._invokeClient = function (method) { + var _a; + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var _b = this.getStackTop(), scope = _b.scope, client = _b.client; + if (client && client[method]) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any + (_a = client)[method].apply(_a, __spread(args, [scope])); + } + }; + /** + * Calls global extension method and binding current instance to the function call + */ + // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366) + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype._callExtensionMethod = function (method) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var carrier = getMainCarrier(); + var sentry = carrier.__SENTRY__; + if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') { + return sentry.extensions[method].apply(this, args); + } + logger.warn("Extension method " + method + " couldn't be found, doing nothing."); + }; + return Hub; +}()); +export { Hub }; +/** + * Returns the global shim registry. + * + * FIXME: This function is problematic, because despite always returning a valid Carrier, + * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check + * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there. + **/ +export function getMainCarrier() { + var carrier = getGlobalObject(); + carrier.__SENTRY__ = carrier.__SENTRY__ || { + extensions: {}, + hub: undefined, + }; + return carrier; +} +/** + * Replaces the current main hub with the passed one on the global object + * + * @returns The old replaced hub + */ +export function makeMain(hub) { + var registry = getMainCarrier(); + var oldHub = getHubFromCarrier(registry); + setHubOnCarrier(registry, hub); + return oldHub; +} +/** + * Returns the default hub instance. + * + * If a hub is already registered in the global carrier but this module + * contains a more recent version, it replaces the registered version. + * Otherwise, the currently registered hub will be returned. + */ +export function getCurrentHub() { + // Get main carrier (global for every environment) + var registry = getMainCarrier(); + // If there's no hub, or its an old API, assign a new one + if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) { + setHubOnCarrier(registry, new Hub()); + } + // Prefer domains over global if they are there (applicable only to Node environment) + if (isNodeEnv()) { + return getHubFromActiveDomain(registry); + } + // Return hub that lives on a global object + return getHubFromCarrier(registry); +} +/** + * Returns the active domain, if one exists + * @deprecated No longer used; remove in v7 + * @returns The domain, or undefined if there is no active domain + */ +// eslint-disable-next-line deprecation/deprecation +export function getActiveDomain() { + logger.warn('Function `getActiveDomain` is deprecated and will be removed in a future version.'); + var sentry = getMainCarrier().__SENTRY__; + return sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active; +} +/** + * Try to read the hub from an active domain, and fallback to the registry if one doesn't exist + * @returns discovered hub + */ +function getHubFromActiveDomain(registry) { + try { + var sentry = getMainCarrier().__SENTRY__; + var activeDomain = sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active; + // If there's no active domain, just return global hub + if (!activeDomain) { + return getHubFromCarrier(registry); + } + // If there's no hub on current domain, or it's an old API, assign a new one + if (!hasHubOnCarrier(activeDomain) || getHubFromCarrier(activeDomain).isOlderThan(API_VERSION)) { + var registryHubTopStack = getHubFromCarrier(registry).getStackTop(); + setHubOnCarrier(activeDomain, new Hub(registryHubTopStack.client, Scope.clone(registryHubTopStack.scope))); + } + // Return hub that lives on a domain + return getHubFromCarrier(activeDomain); + } + catch (_Oo) { + // Return hub that lives on a global object + return getHubFromCarrier(registry); + } +} +/** + * This will tell whether a carrier has a hub on it or not + * @param carrier object + */ +function hasHubOnCarrier(carrier) { + return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub); +} +/** + * This will create a new {@link Hub} and add to the passed object on + * __SENTRY__.hub. + * @param carrier object + * @hidden + */ +export function getHubFromCarrier(carrier) { + if (carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub) + return carrier.__SENTRY__.hub; + carrier.__SENTRY__ = carrier.__SENTRY__ || {}; + carrier.__SENTRY__.hub = new Hub(); + return carrier.__SENTRY__.hub; +} +/** + * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute + * @param carrier object + * @param hub Hub + * @returns A boolean indicating success or failure + */ +export function setHubOnCarrier(carrier, hub) { + if (!carrier) + return false; + carrier.__SENTRY__ = carrier.__SENTRY__ || {}; + carrier.__SENTRY__.hub = hub; + return true; +} +//# sourceMappingURL=hub.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/hub.js.map b/node_modules/@sentry/hub/esm/hub.js.map new file mode 100644 index 000000000..5cba24d11 --- /dev/null +++ b/node_modules/@sentry/hub/esm/hub.js.map @@ -0,0 +1 @@ +{"version":3,"file":"hub.js","sourceRoot":"","sources":["../src/hub.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n BreadcrumbHint,\n Client,\n CustomSamplingContext,\n Event,\n EventHint,\n Extra,\n Extras,\n Hub as HubInterface,\n Integration,\n IntegrationClass,\n Primitive,\n SessionContext,\n Severity,\n Span,\n SpanContext,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\nimport { consoleSandbox, dateTimestampInSeconds, getGlobalObject, isNodeEnv, logger, uuid4 } from '@sentry/utils';\n\nimport { Scope } from './scope';\nimport { Session } from './session';\n\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nexport const API_VERSION = 4;\n\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nconst DEFAULT_BREADCRUMBS = 100;\n\n/**\n * A layer in the process stack.\n * @hidden\n */\nexport interface Layer {\n client?: Client;\n scope?: Scope;\n}\n\n/**\n * An object that contains a hub and maintains a scope stack.\n * @hidden\n */\nexport interface Carrier {\n __SENTRY__?: {\n hub?: Hub;\n /**\n * Extra Hub properties injected by various SDKs\n */\n integrations?: Integration[];\n extensions?: {\n /** Hack to prevent bundlers from breaking our usage of the domain package in the cross-platform Hub package */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n domain?: { [key: string]: any };\n } & {\n /** Extension methods for the hub, which are bound to the current Hub instance */\n // eslint-disable-next-line @typescript-eslint/ban-types\n [key: string]: Function;\n };\n };\n}\n\n/**\n * @hidden\n * @deprecated Can be removed once `Hub.getActiveDomain` is removed.\n */\nexport interface DomainAsCarrier extends Carrier {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n members: { [key: string]: any }[];\n}\n\n/**\n * @inheritDoc\n */\nexport class Hub implements HubInterface {\n /** Is a {@link Layer}[] containing the client and scope */\n private readonly _stack: Layer[] = [{}];\n\n /** Contains the last event id of a captured event. */\n private _lastEventId?: string;\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n */\n public constructor(client?: Client, scope: Scope = new Scope(), private readonly _version: number = API_VERSION) {\n this.getStackTop().scope = scope;\n if (client) {\n this.bindClient(client);\n }\n }\n\n /**\n * @inheritDoc\n */\n public isOlderThan(version: number): boolean {\n return this._version < version;\n }\n\n /**\n * @inheritDoc\n */\n public bindClient(client?: Client): void {\n const top = this.getStackTop();\n top.client = client;\n if (client && client.setupIntegrations) {\n client.setupIntegrations();\n }\n }\n\n /**\n * @inheritDoc\n */\n public pushScope(): Scope {\n // We want to clone the content of prev scope\n const scope = Scope.clone(this.getScope());\n this.getStack().push({\n client: this.getClient(),\n scope,\n });\n return scope;\n }\n\n /**\n * @inheritDoc\n */\n public popScope(): boolean {\n if (this.getStack().length <= 1) return false;\n return !!this.getStack().pop();\n }\n\n /**\n * @inheritDoc\n */\n public withScope(callback: (scope: Scope) => void): void {\n const scope = this.pushScope();\n try {\n callback(scope);\n } finally {\n this.popScope();\n }\n }\n\n /**\n * @inheritDoc\n */\n public getClient(): C | undefined {\n return this.getStackTop().client as C;\n }\n\n /** Returns the scope of the top stack. */\n public getScope(): Scope | undefined {\n return this.getStackTop().scope;\n }\n\n /** Returns the scope stack for domains or the process. */\n public getStack(): Layer[] {\n return this._stack;\n }\n\n /** Returns the topmost scope layer in the order domain > local > process. */\n public getStackTop(): Layer {\n return this._stack[this._stack.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint): string {\n const eventId = (this._lastEventId = uuid4());\n let finalHint = hint;\n\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n let syntheticException: Error;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception as Error;\n }\n finalHint = {\n originalException: exception,\n syntheticException,\n };\n }\n\n this._invokeClient('captureException', exception, {\n ...finalHint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(message: string, level?: Severity, hint?: EventHint): string {\n const eventId = (this._lastEventId = uuid4());\n let finalHint = hint;\n\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n let syntheticException: Error;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception as Error;\n }\n finalHint = {\n originalException: message,\n syntheticException,\n };\n }\n\n this._invokeClient('captureMessage', message, level, {\n ...finalHint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint): string {\n const eventId = uuid4();\n if (event.type !== 'transaction') {\n this._lastEventId = eventId;\n }\n\n this._invokeClient('captureEvent', event, {\n ...hint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public lastEventId(): string | undefined {\n return this._lastEventId;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void {\n const { scope, client } = this.getStackTop();\n\n if (!scope || !client) return;\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } =\n (client.getOptions && client.getOptions()) || {};\n\n if (maxBreadcrumbs <= 0) return;\n\n const timestamp = dateTimestampInSeconds();\n const mergedBreadcrumb = { timestamp, ...breadcrumb };\n const finalBreadcrumb = beforeBreadcrumb\n ? (consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) as Breadcrumb | null)\n : mergedBreadcrumb;\n\n if (finalBreadcrumb === null) return;\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): void {\n const scope = this.getScope();\n if (scope) scope.setUser(user);\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): void {\n const scope = this.getScope();\n if (scope) scope.setTags(tags);\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): void {\n const scope = this.getScope();\n if (scope) scope.setExtras(extras);\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): void {\n const scope = this.getScope();\n if (scope) scope.setTag(key, value);\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): void {\n const scope = this.getScope();\n if (scope) scope.setExtra(key, extra);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public setContext(name: string, context: { [key: string]: any } | null): void {\n const scope = this.getScope();\n if (scope) scope.setContext(name, context);\n }\n\n /**\n * @inheritDoc\n */\n public configureScope(callback: (scope: Scope) => void): void {\n const { scope, client } = this.getStackTop();\n if (scope && client) {\n callback(scope);\n }\n }\n\n /**\n * @inheritDoc\n */\n public run(callback: (hub: Hub) => void): void {\n const oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n makeMain(oldHub);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration(integration: IntegrationClass): T | null {\n const client = this.getClient();\n if (!client) return null;\n try {\n return client.getIntegration(integration);\n } catch (_oO) {\n logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSpan(context: SpanContext): Span {\n return this._callExtensionMethod('startSpan', context);\n }\n\n /**\n * @inheritDoc\n */\n public startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction {\n return this._callExtensionMethod('startTransaction', context, customSamplingContext);\n }\n\n /**\n * @inheritDoc\n */\n public traceHeaders(): { [key: string]: string } {\n return this._callExtensionMethod<{ [key: string]: string }>('traceHeaders');\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(endSession: boolean = false): void {\n // both send the update and pull the session from the scope\n if (endSession) {\n return this.endSession();\n }\n\n // only send the update\n this._sendSessionUpdate();\n }\n\n /**\n * @inheritDoc\n */\n public endSession(): void {\n const layer = this.getStackTop();\n const scope = layer && layer.scope;\n const session = scope && scope.getSession();\n if (session) {\n session.close();\n }\n this._sendSessionUpdate();\n\n // the session is over; take it off of the scope\n if (scope) {\n scope.setSession();\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSession(context?: SessionContext): Session {\n const { scope, client } = this.getStackTop();\n const { release, environment } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const global = getGlobalObject<{ navigator?: { userAgent?: string } }>();\n const { userAgent } = global.navigator || {};\n\n const session = new Session({\n release,\n environment,\n ...(scope && { user: scope.getUser() }),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n if (scope) {\n // End existing session if there's one\n const currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n currentSession.update({ status: 'exited' });\n }\n this.endSession();\n\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n }\n\n return session;\n }\n\n /**\n * Sends the current Session on the scope\n */\n private _sendSessionUpdate(): void {\n const { scope, client } = this.getStackTop();\n if (!scope) return;\n\n const session = scope.getSession && scope.getSession();\n if (session) {\n if (client && client.captureSession) {\n client.captureSession(session);\n }\n }\n }\n\n /**\n * Internal helper function to call a method on the top client if it exists.\n *\n * @param method The method to call on the client.\n * @param args Arguments to pass to the client function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _invokeClient(method: M, ...args: any[]): void {\n const { scope, client } = this.getStackTop();\n if (client && client[method]) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n (client as any)[method](...args, scope);\n }\n }\n\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _callExtensionMethod(method: string, ...args: any[]): T {\n const carrier = getMainCarrier();\n const sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);\n }\n}\n\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nexport function getMainCarrier(): Carrier {\n const carrier = getGlobalObject();\n carrier.__SENTRY__ = carrier.__SENTRY__ || {\n extensions: {},\n hub: undefined,\n };\n return carrier;\n}\n\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n */\nexport function makeMain(hub: Hub): Hub {\n const registry = getMainCarrier();\n const oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n */\nexport function getCurrentHub(): Hub {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n\n // If there's no hub, or its an old API, assign a new one\n if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) {\n setHubOnCarrier(registry, new Hub());\n }\n\n // Prefer domains over global if they are there (applicable only to Node environment)\n if (isNodeEnv()) {\n return getHubFromActiveDomain(registry);\n }\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n\n/**\n * Returns the active domain, if one exists\n * @deprecated No longer used; remove in v7\n * @returns The domain, or undefined if there is no active domain\n */\n// eslint-disable-next-line deprecation/deprecation\nexport function getActiveDomain(): DomainAsCarrier | undefined {\n logger.warn('Function `getActiveDomain` is deprecated and will be removed in a future version.');\n\n const sentry = getMainCarrier().__SENTRY__;\n\n return sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n}\n\n/**\n * Try to read the hub from an active domain, and fallback to the registry if one doesn't exist\n * @returns discovered hub\n */\nfunction getHubFromActiveDomain(registry: Carrier): Hub {\n try {\n const sentry = getMainCarrier().__SENTRY__;\n const activeDomain = sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n\n // If there's no active domain, just return global hub\n if (!activeDomain) {\n return getHubFromCarrier(registry);\n }\n\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (!hasHubOnCarrier(activeDomain) || getHubFromCarrier(activeDomain).isOlderThan(API_VERSION)) {\n const registryHubTopStack = getHubFromCarrier(registry).getStackTop();\n setHubOnCarrier(activeDomain, new Hub(registryHubTopStack.client, Scope.clone(registryHubTopStack.scope)));\n }\n\n // Return hub that lives on a domain\n return getHubFromCarrier(activeDomain);\n } catch (_Oo) {\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n }\n}\n\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier: Carrier): boolean {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nexport function getHubFromCarrier(carrier: Carrier): Hub {\n if (carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub) return carrier.__SENTRY__.hub;\n carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n carrier.__SENTRY__.hub = new Hub();\n return carrier.__SENTRY__.hub;\n}\n\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nexport function setHubOnCarrier(carrier: Carrier, hub: Hub): boolean {\n if (!carrier) return false;\n carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n carrier.__SENTRY__.hub = hub;\n return true;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/index.d.ts b/node_modules/@sentry/hub/esm/index.d.ts new file mode 100644 index 000000000..f8065967c --- /dev/null +++ b/node_modules/@sentry/hub/esm/index.d.ts @@ -0,0 +1,5 @@ +export { addGlobalEventProcessor, Scope } from './scope'; +export { Session } from './session'; +export { SessionFlusher } from './sessionflusher'; +export { getActiveDomain, getCurrentHub, getHubFromCarrier, getMainCarrier, Hub, makeMain, setHubOnCarrier, Carrier, DomainAsCarrier, Layer, } from './hub'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/index.d.ts.map b/node_modules/@sentry/hub/esm/index.d.ts.map new file mode 100644 index 000000000..f69c731f3 --- /dev/null +++ b/node_modules/@sentry/hub/esm/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAEL,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,GAAG,EACH,QAAQ,EACR,eAAe,EACf,OAAO,EAEP,eAAe,EACf,KAAK,GACN,MAAM,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/index.js b/node_modules/@sentry/hub/esm/index.js new file mode 100644 index 000000000..4f1f4f4c3 --- /dev/null +++ b/node_modules/@sentry/hub/esm/index.js @@ -0,0 +1,7 @@ +export { addGlobalEventProcessor, Scope } from './scope'; +export { Session } from './session'; +export { SessionFlusher } from './sessionflusher'; +export { +// eslint-disable-next-line deprecation/deprecation +getActiveDomain, getCurrentHub, getHubFromCarrier, getMainCarrier, Hub, makeMain, setHubOnCarrier, } from './hub'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/index.js.map b/node_modules/@sentry/hub/esm/index.js.map new file mode 100644 index 000000000..a1bb4ec53 --- /dev/null +++ b/node_modules/@sentry/hub/esm/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO;AACL,mDAAmD;AACnD,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,GAAG,EACH,QAAQ,EACR,eAAe,GAKhB,MAAM,OAAO,CAAC","sourcesContent":["export { addGlobalEventProcessor, Scope } from './scope';\nexport { Session } from './session';\nexport { SessionFlusher } from './sessionflusher';\nexport {\n // eslint-disable-next-line deprecation/deprecation\n getActiveDomain,\n getCurrentHub,\n getHubFromCarrier,\n getMainCarrier,\n Hub,\n makeMain,\n setHubOnCarrier,\n Carrier,\n // eslint-disable-next-line deprecation/deprecation\n DomainAsCarrier,\n Layer,\n} from './hub';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/scope.d.ts b/node_modules/@sentry/hub/esm/scope.d.ts new file mode 100644 index 000000000..29ffbee22 --- /dev/null +++ b/node_modules/@sentry/hub/esm/scope.d.ts @@ -0,0 +1,184 @@ +import { Breadcrumb, CaptureContext, Context, Contexts, Event, EventHint, EventProcessor, Extra, Extras, Primitive, RequestSession, Scope as ScopeInterface, Severity, Span, Transaction, User } from '@sentry/types'; +import { Session } from './session'; +/** + * Holds additional event information. {@link Scope.applyToEvent} will be + * called by the client before an event will be sent. + */ +export declare class Scope implements ScopeInterface { + /** Flag if notifying is happening. */ + protected _notifyingListeners: boolean; + /** Callback for client to receive scope changes. */ + protected _scopeListeners: Array<(scope: Scope) => void>; + /** Callback list that will be called after {@link applyToEvent}. */ + protected _eventProcessors: EventProcessor[]; + /** Array of breadcrumbs. */ + protected _breadcrumbs: Breadcrumb[]; + /** User */ + protected _user: User; + /** Tags */ + protected _tags: { + [key: string]: Primitive; + }; + /** Extra */ + protected _extra: Extras; + /** Contexts */ + protected _contexts: Contexts; + /** Fingerprint */ + protected _fingerprint?: string[]; + /** Severity */ + protected _level?: Severity; + /** Transaction Name */ + protected _transactionName?: string; + /** Span */ + protected _span?: Span; + /** Session */ + protected _session?: Session; + /** Request Mode Session Status */ + protected _requestSession?: RequestSession; + /** + * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get + * sent to Sentry + */ + protected _sdkProcessingMetadata?: { + [key: string]: unknown; + }; + /** + * Inherit values from the parent scope. + * @param scope to clone. + */ + static clone(scope?: Scope): Scope; + /** + * Add internal on change listener. Used for sub SDKs that need to store the scope. + * @hidden + */ + addScopeListener(callback: (scope: Scope) => void): void; + /** + * @inheritDoc + */ + addEventProcessor(callback: EventProcessor): this; + /** + * @inheritDoc + */ + setUser(user: User | null): this; + /** + * @inheritDoc + */ + getUser(): User | undefined; + /** + * @inheritDoc + */ + getRequestSession(): RequestSession | undefined; + /** + * @inheritDoc + */ + setRequestSession(requestSession?: RequestSession): this; + /** + * @inheritDoc + */ + setTags(tags: { + [key: string]: Primitive; + }): this; + /** + * @inheritDoc + */ + setTag(key: string, value: Primitive): this; + /** + * @inheritDoc + */ + setExtras(extras: Extras): this; + /** + * @inheritDoc + */ + setExtra(key: string, extra: Extra): this; + /** + * @inheritDoc + */ + setFingerprint(fingerprint: string[]): this; + /** + * @inheritDoc + */ + setLevel(level: Severity): this; + /** + * @inheritDoc + */ + setTransactionName(name?: string): this; + /** + * Can be removed in major version. + * @deprecated in favor of {@link this.setTransactionName} + */ + setTransaction(name?: string): this; + /** + * @inheritDoc + */ + setContext(key: string, context: Context | null): this; + /** + * @inheritDoc + */ + setSpan(span?: Span): this; + /** + * @inheritDoc + */ + getSpan(): Span | undefined; + /** + * @inheritDoc + */ + getTransaction(): Transaction | undefined; + /** + * @inheritDoc + */ + setSession(session?: Session): this; + /** + * @inheritDoc + */ + getSession(): Session | undefined; + /** + * @inheritDoc + */ + update(captureContext?: CaptureContext): this; + /** + * @inheritDoc + */ + clear(): this; + /** + * @inheritDoc + */ + addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this; + /** + * @inheritDoc + */ + clearBreadcrumbs(): this; + /** + * Applies the current context and fingerprint to the event. + * Note that breadcrumbs will be added by the client. + * Also if the event has already breadcrumbs on it, we do not merge them. + * @param event Event + * @param hint May contain additional information about the original exception. + * @hidden + */ + applyToEvent(event: Event, hint?: EventHint): PromiseLike; + /** + * Add data which will be accessible during event processing but won't get sent to Sentry + */ + setSDKProcessingMetadata(newData: { + [key: string]: unknown; + }): this; + /** + * This will be called after {@link applyToEvent} is finished. + */ + protected _notifyEventProcessors(processors: EventProcessor[], event: Event | null, hint?: EventHint, index?: number): PromiseLike; + /** + * This will be called on every set call. + */ + protected _notifyScopeListeners(): void; + /** + * Applies fingerprint from the scope to the event if there's one, + * uses message if there's one instead or get rid of empty fingerprint + */ + private _applyFingerprint; +} +/** + * Add a EventProcessor to be kept globally. + * @param callback EventProcessor to add + */ +export declare function addGlobalEventProcessor(callback: EventProcessor): void; +//# sourceMappingURL=scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/scope.d.ts.map b/node_modules/@sentry/hub/esm/scope.d.ts.map new file mode 100644 index 000000000..1d7862637 --- /dev/null +++ b/node_modules/@sentry/hub/esm/scope.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../src/scope.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,cAAc,EACd,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,cAAc,EACd,KAAK,EACL,MAAM,EACN,SAAS,EACT,cAAc,EACd,KAAK,IAAI,cAAc,EAEvB,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,IAAI,EACL,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC;;;GAGG;AACH,qBAAa,KAAM,YAAW,cAAc;IAC1C,sCAAsC;IACtC,SAAS,CAAC,mBAAmB,EAAE,OAAO,CAAS;IAE/C,oDAAoD;IACpD,SAAS,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,CAAM;IAE9D,oEAAoE;IACpE,SAAS,CAAC,gBAAgB,EAAE,cAAc,EAAE,CAAM;IAElD,4BAA4B;IAC5B,SAAS,CAAC,YAAY,EAAE,UAAU,EAAE,CAAM;IAE1C,WAAW;IACX,SAAS,CAAC,KAAK,EAAE,IAAI,CAAM;IAE3B,WAAW;IACX,SAAS,CAAC,KAAK,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAM;IAEnD,YAAY;IACZ,SAAS,CAAC,MAAM,EAAE,MAAM,CAAM;IAE9B,eAAe;IACf,SAAS,CAAC,SAAS,EAAE,QAAQ,CAAM;IAEnC,kBAAkB;IAClB,SAAS,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAElC,eAAe;IACf,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC;IAE5B,uBAAuB;IACvB,SAAS,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAEpC,WAAW;IACX,SAAS,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IAEvB,cAAc;IACd,SAAS,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAE7B,kCAAkC;IAClC,SAAS,CAAC,eAAe,CAAC,EAAE,cAAc,CAAC;IAE3C;;;OAGG;IACH,SAAS,CAAC,sBAAsB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAM;IAEnE;;;OAGG;WACW,KAAK,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,KAAK;IAmBzC;;;OAGG;IACI,gBAAgB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI;IAI/D;;OAEG;IACI,iBAAiB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAKxD;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI;IASvC;;OAEG;IACI,OAAO,IAAI,IAAI,GAAG,SAAS;IAIlC;;OAEG;IACI,iBAAiB,IAAI,cAAc,GAAG,SAAS;IAItD;;OAEG;IACI,iBAAiB,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI;IAK/D;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,IAAI;IASxD;;OAEG;IACI,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,IAAI;IAMlD;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAStC;;OAEG;IACI,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAMhD;;OAEG;IACI,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI;IAMlD;;OAEG;IACI,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;IAMtC;;OAEG;IACI,kBAAkB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI;IAM9C;;;OAGG;IACI,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI;IAI1C;;OAEG;IACI,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI;IAY7D;;OAEG;IACI,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI;IAMjC;;OAEG;IACI,OAAO,IAAI,IAAI,GAAG,SAAS;IAIlC;;OAEG;IACI,cAAc,IAAI,WAAW,GAAG,SAAS;IAOhD;;OAEG;IACI,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI;IAU1C;;OAEG;IACI,UAAU,IAAI,OAAO,GAAG,SAAS;IAIxC;;OAEG;IACI,MAAM,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI;IAiDpD;;OAEG;IACI,KAAK,IAAI,IAAI;IAgBpB;;OAEG;IACI,aAAa,CAAC,UAAU,EAAE,UAAU,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI;IAkB3E;;OAEG;IACI,gBAAgB,IAAI,IAAI;IAM/B;;;;;;;OAOG;IACI,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC;IAwC9E;;OAEG;IACI,wBAAwB,CAAC,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI;IAM1E;;OAEG;IACH,SAAS,CAAC,sBAAsB,CAC9B,UAAU,EAAE,cAAc,EAAE,EAC5B,KAAK,EAAE,KAAK,GAAG,IAAI,EACnB,IAAI,CAAC,EAAE,SAAS,EAChB,KAAK,GAAE,MAAU,GAChB,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC;IAoB5B;;OAEG;IACH,SAAS,CAAC,qBAAqB,IAAI,IAAI;IAavC;;;OAGG;IACH,OAAO,CAAC,iBAAiB;CAkB1B;AAcD;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAEtE"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/scope.js b/node_modules/@sentry/hub/esm/scope.js new file mode 100644 index 000000000..7009d1b1b --- /dev/null +++ b/node_modules/@sentry/hub/esm/scope.js @@ -0,0 +1,446 @@ +import { __assign, __read, __spread } from "tslib"; +import { dateTimestampInSeconds, getGlobalObject, isPlainObject, isThenable, SyncPromise } from '@sentry/utils'; +/** + * Absolute maximum number of breadcrumbs added to an event. + * The `maxBreadcrumbs` option cannot be higher than this value. + */ +var MAX_BREADCRUMBS = 100; +/** + * Holds additional event information. {@link Scope.applyToEvent} will be + * called by the client before an event will be sent. + */ +var Scope = /** @class */ (function () { + function Scope() { + /** Flag if notifying is happening. */ + this._notifyingListeners = false; + /** Callback for client to receive scope changes. */ + this._scopeListeners = []; + /** Callback list that will be called after {@link applyToEvent}. */ + this._eventProcessors = []; + /** Array of breadcrumbs. */ + this._breadcrumbs = []; + /** User */ + this._user = {}; + /** Tags */ + this._tags = {}; + /** Extra */ + this._extra = {}; + /** Contexts */ + this._contexts = {}; + /** + * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get + * sent to Sentry + */ + this._sdkProcessingMetadata = {}; + } + /** + * Inherit values from the parent scope. + * @param scope to clone. + */ + Scope.clone = function (scope) { + var newScope = new Scope(); + if (scope) { + newScope._breadcrumbs = __spread(scope._breadcrumbs); + newScope._tags = __assign({}, scope._tags); + newScope._extra = __assign({}, scope._extra); + newScope._contexts = __assign({}, scope._contexts); + newScope._user = scope._user; + newScope._level = scope._level; + newScope._span = scope._span; + newScope._session = scope._session; + newScope._transactionName = scope._transactionName; + newScope._fingerprint = scope._fingerprint; + newScope._eventProcessors = __spread(scope._eventProcessors); + newScope._requestSession = scope._requestSession; + } + return newScope; + }; + /** + * Add internal on change listener. Used for sub SDKs that need to store the scope. + * @hidden + */ + Scope.prototype.addScopeListener = function (callback) { + this._scopeListeners.push(callback); + }; + /** + * @inheritDoc + */ + Scope.prototype.addEventProcessor = function (callback) { + this._eventProcessors.push(callback); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setUser = function (user) { + this._user = user || {}; + if (this._session) { + this._session.update({ user: user }); + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getUser = function () { + return this._user; + }; + /** + * @inheritDoc + */ + Scope.prototype.getRequestSession = function () { + return this._requestSession; + }; + /** + * @inheritDoc + */ + Scope.prototype.setRequestSession = function (requestSession) { + this._requestSession = requestSession; + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTags = function (tags) { + this._tags = __assign(__assign({}, this._tags), tags); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTag = function (key, value) { + var _a; + this._tags = __assign(__assign({}, this._tags), (_a = {}, _a[key] = value, _a)); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setExtras = function (extras) { + this._extra = __assign(__assign({}, this._extra), extras); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setExtra = function (key, extra) { + var _a; + this._extra = __assign(__assign({}, this._extra), (_a = {}, _a[key] = extra, _a)); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setFingerprint = function (fingerprint) { + this._fingerprint = fingerprint; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setLevel = function (level) { + this._level = level; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTransactionName = function (name) { + this._transactionName = name; + this._notifyScopeListeners(); + return this; + }; + /** + * Can be removed in major version. + * @deprecated in favor of {@link this.setTransactionName} + */ + Scope.prototype.setTransaction = function (name) { + return this.setTransactionName(name); + }; + /** + * @inheritDoc + */ + Scope.prototype.setContext = function (key, context) { + var _a; + if (context === null) { + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete this._contexts[key]; + } + else { + this._contexts = __assign(__assign({}, this._contexts), (_a = {}, _a[key] = context, _a)); + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setSpan = function (span) { + this._span = span; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getSpan = function () { + return this._span; + }; + /** + * @inheritDoc + */ + Scope.prototype.getTransaction = function () { + // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will + // have a pointer to the currently-active transaction. + var span = this.getSpan(); + return span && span.transaction; + }; + /** + * @inheritDoc + */ + Scope.prototype.setSession = function (session) { + if (!session) { + delete this._session; + } + else { + this._session = session; + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getSession = function () { + return this._session; + }; + /** + * @inheritDoc + */ + Scope.prototype.update = function (captureContext) { + if (!captureContext) { + return this; + } + if (typeof captureContext === 'function') { + var updatedScope = captureContext(this); + return updatedScope instanceof Scope ? updatedScope : this; + } + if (captureContext instanceof Scope) { + this._tags = __assign(__assign({}, this._tags), captureContext._tags); + this._extra = __assign(__assign({}, this._extra), captureContext._extra); + this._contexts = __assign(__assign({}, this._contexts), captureContext._contexts); + if (captureContext._user && Object.keys(captureContext._user).length) { + this._user = captureContext._user; + } + if (captureContext._level) { + this._level = captureContext._level; + } + if (captureContext._fingerprint) { + this._fingerprint = captureContext._fingerprint; + } + if (captureContext._requestSession) { + this._requestSession = captureContext._requestSession; + } + } + else if (isPlainObject(captureContext)) { + // eslint-disable-next-line no-param-reassign + captureContext = captureContext; + this._tags = __assign(__assign({}, this._tags), captureContext.tags); + this._extra = __assign(__assign({}, this._extra), captureContext.extra); + this._contexts = __assign(__assign({}, this._contexts), captureContext.contexts); + if (captureContext.user) { + this._user = captureContext.user; + } + if (captureContext.level) { + this._level = captureContext.level; + } + if (captureContext.fingerprint) { + this._fingerprint = captureContext.fingerprint; + } + if (captureContext.requestSession) { + this._requestSession = captureContext.requestSession; + } + } + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.clear = function () { + this._breadcrumbs = []; + this._tags = {}; + this._extra = {}; + this._user = {}; + this._contexts = {}; + this._level = undefined; + this._transactionName = undefined; + this._fingerprint = undefined; + this._requestSession = undefined; + this._span = undefined; + this._session = undefined; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.addBreadcrumb = function (breadcrumb, maxBreadcrumbs) { + var maxCrumbs = typeof maxBreadcrumbs === 'number' ? Math.min(maxBreadcrumbs, MAX_BREADCRUMBS) : MAX_BREADCRUMBS; + // No data has been changed, so don't notify scope listeners + if (maxCrumbs <= 0) { + return this; + } + var mergedBreadcrumb = __assign({ timestamp: dateTimestampInSeconds() }, breadcrumb); + this._breadcrumbs = __spread(this._breadcrumbs, [mergedBreadcrumb]).slice(-maxCrumbs); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.clearBreadcrumbs = function () { + this._breadcrumbs = []; + this._notifyScopeListeners(); + return this; + }; + /** + * Applies the current context and fingerprint to the event. + * Note that breadcrumbs will be added by the client. + * Also if the event has already breadcrumbs on it, we do not merge them. + * @param event Event + * @param hint May contain additional information about the original exception. + * @hidden + */ + Scope.prototype.applyToEvent = function (event, hint) { + if (this._extra && Object.keys(this._extra).length) { + event.extra = __assign(__assign({}, this._extra), event.extra); + } + if (this._tags && Object.keys(this._tags).length) { + event.tags = __assign(__assign({}, this._tags), event.tags); + } + if (this._user && Object.keys(this._user).length) { + event.user = __assign(__assign({}, this._user), event.user); + } + if (this._contexts && Object.keys(this._contexts).length) { + event.contexts = __assign(__assign({}, this._contexts), event.contexts); + } + if (this._level) { + event.level = this._level; + } + if (this._transactionName) { + event.transaction = this._transactionName; + } + // We want to set the trace context for normal events only if there isn't already + // a trace context on the event. There is a product feature in place where we link + // errors with transaction and it relies on that. + if (this._span) { + event.contexts = __assign({ trace: this._span.getTraceContext() }, event.contexts); + var transactionName = this._span.transaction && this._span.transaction.name; + if (transactionName) { + event.tags = __assign({ transaction: transactionName }, event.tags); + } + } + this._applyFingerprint(event); + event.breadcrumbs = __spread((event.breadcrumbs || []), this._breadcrumbs); + event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined; + event.sdkProcessingMetadata = this._sdkProcessingMetadata; + return this._notifyEventProcessors(__spread(getGlobalEventProcessors(), this._eventProcessors), event, hint); + }; + /** + * Add data which will be accessible during event processing but won't get sent to Sentry + */ + Scope.prototype.setSDKProcessingMetadata = function (newData) { + this._sdkProcessingMetadata = __assign(__assign({}, this._sdkProcessingMetadata), newData); + return this; + }; + /** + * This will be called after {@link applyToEvent} is finished. + */ + Scope.prototype._notifyEventProcessors = function (processors, event, hint, index) { + var _this = this; + if (index === void 0) { index = 0; } + return new SyncPromise(function (resolve, reject) { + var processor = processors[index]; + if (event === null || typeof processor !== 'function') { + resolve(event); + } + else { + var result = processor(__assign({}, event), hint); + if (isThenable(result)) { + void result + .then(function (final) { return _this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve); }) + .then(null, reject); + } + else { + void _this._notifyEventProcessors(processors, result, hint, index + 1) + .then(resolve) + .then(null, reject); + } + } + }); + }; + /** + * This will be called on every set call. + */ + Scope.prototype._notifyScopeListeners = function () { + var _this = this; + // We need this check for this._notifyingListeners to be able to work on scope during updates + // If this check is not here we'll produce endless recursion when something is done with the scope + // during the callback. + if (!this._notifyingListeners) { + this._notifyingListeners = true; + this._scopeListeners.forEach(function (callback) { + callback(_this); + }); + this._notifyingListeners = false; + } + }; + /** + * Applies fingerprint from the scope to the event if there's one, + * uses message if there's one instead or get rid of empty fingerprint + */ + Scope.prototype._applyFingerprint = function (event) { + // Make sure it's an array first and we actually have something in place + event.fingerprint = event.fingerprint + ? Array.isArray(event.fingerprint) + ? event.fingerprint + : [event.fingerprint] + : []; + // If we have something on the scope, then merge it with event + if (this._fingerprint) { + event.fingerprint = event.fingerprint.concat(this._fingerprint); + } + // If we have no data at all, remove empty array default + if (event.fingerprint && !event.fingerprint.length) { + delete event.fingerprint; + } + }; + return Scope; +}()); +export { Scope }; +/** + * Returns the global event processors. + */ +function getGlobalEventProcessors() { + /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */ + var global = getGlobalObject(); + global.__SENTRY__ = global.__SENTRY__ || {}; + global.__SENTRY__.globalEventProcessors = global.__SENTRY__.globalEventProcessors || []; + return global.__SENTRY__.globalEventProcessors; + /* eslint-enable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */ +} +/** + * Add a EventProcessor to be kept globally. + * @param callback EventProcessor to add + */ +export function addGlobalEventProcessor(callback) { + getGlobalEventProcessors().push(callback); +} +//# sourceMappingURL=scope.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/scope.js.map b/node_modules/@sentry/hub/esm/scope.js.map new file mode 100644 index 000000000..71cfeb2a1 --- /dev/null +++ b/node_modules/@sentry/hub/esm/scope.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scope.js","sourceRoot":"","sources":["../src/scope.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n CaptureContext,\n Context,\n Contexts,\n Event,\n EventHint,\n EventProcessor,\n Extra,\n Extras,\n Primitive,\n RequestSession,\n Scope as ScopeInterface,\n ScopeContext,\n Severity,\n Span,\n Transaction,\n User,\n} from '@sentry/types';\nimport { dateTimestampInSeconds, getGlobalObject, isPlainObject, isThenable, SyncPromise } from '@sentry/utils';\n\nimport { Session } from './session';\n\n/**\n * Absolute maximum number of breadcrumbs added to an event.\n * The `maxBreadcrumbs` option cannot be higher than this value.\n */\nconst MAX_BREADCRUMBS = 100;\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nexport class Scope implements ScopeInterface {\n /** Flag if notifying is happening. */\n protected _notifyingListeners: boolean = false;\n\n /** Callback for client to receive scope changes. */\n protected _scopeListeners: Array<(scope: Scope) => void> = [];\n\n /** Callback list that will be called after {@link applyToEvent}. */\n protected _eventProcessors: EventProcessor[] = [];\n\n /** Array of breadcrumbs. */\n protected _breadcrumbs: Breadcrumb[] = [];\n\n /** User */\n protected _user: User = {};\n\n /** Tags */\n protected _tags: { [key: string]: Primitive } = {};\n\n /** Extra */\n protected _extra: Extras = {};\n\n /** Contexts */\n protected _contexts: Contexts = {};\n\n /** Fingerprint */\n protected _fingerprint?: string[];\n\n /** Severity */\n protected _level?: Severity;\n\n /** Transaction Name */\n protected _transactionName?: string;\n\n /** Span */\n protected _span?: Span;\n\n /** Session */\n protected _session?: Session;\n\n /** Request Mode Session Status */\n protected _requestSession?: RequestSession;\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n protected _sdkProcessingMetadata?: { [key: string]: unknown } = {};\n\n /**\n * Inherit values from the parent scope.\n * @param scope to clone.\n */\n public static clone(scope?: Scope): Scope {\n const newScope = new Scope();\n if (scope) {\n newScope._breadcrumbs = [...scope._breadcrumbs];\n newScope._tags = { ...scope._tags };\n newScope._extra = { ...scope._extra };\n newScope._contexts = { ...scope._contexts };\n newScope._user = scope._user;\n newScope._level = scope._level;\n newScope._span = scope._span;\n newScope._session = scope._session;\n newScope._transactionName = scope._transactionName;\n newScope._fingerprint = scope._fingerprint;\n newScope._eventProcessors = [...scope._eventProcessors];\n newScope._requestSession = scope._requestSession;\n }\n return newScope;\n }\n\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n public addScopeListener(callback: (scope: Scope) => void): void {\n this._scopeListeners.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public addEventProcessor(callback: EventProcessor): this {\n this._eventProcessors.push(callback);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): this {\n this._user = user || {};\n if (this._session) {\n this._session.update({ user });\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getUser(): User | undefined {\n return this._user;\n }\n\n /**\n * @inheritDoc\n */\n public getRequestSession(): RequestSession | undefined {\n return this._requestSession;\n }\n\n /**\n * @inheritDoc\n */\n public setRequestSession(requestSession?: RequestSession): this {\n this._requestSession = requestSession;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): this {\n this._tags = {\n ...this._tags,\n ...tags,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this._tags = { ...this._tags, [key]: value };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): this {\n this._extra = {\n ...this._extra,\n ...extras,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): this {\n this._extra = { ...this._extra, [key]: extra };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setFingerprint(fingerprint: string[]): this {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setLevel(level: Severity): this {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTransactionName(name?: string): this {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Can be removed in major version.\n * @deprecated in favor of {@link this.setTransactionName}\n */\n public setTransaction(name?: string): this {\n return this.setTransactionName(name);\n }\n\n /**\n * @inheritDoc\n */\n public setContext(key: string, context: Context | null): this {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts = { ...this._contexts, [key]: context };\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setSpan(span?: Span): this {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSpan(): Span | undefined {\n return this._span;\n }\n\n /**\n * @inheritDoc\n */\n public getTransaction(): Transaction | undefined {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n const span = this.getSpan();\n return span && span.transaction;\n }\n\n /**\n * @inheritDoc\n */\n public setSession(session?: Session): this {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSession(): Session | undefined {\n return this._session;\n }\n\n /**\n * @inheritDoc\n */\n public update(captureContext?: CaptureContext): this {\n if (!captureContext) {\n return this;\n }\n\n if (typeof captureContext === 'function') {\n const updatedScope = (captureContext as (scope: T) => T)(this);\n return updatedScope instanceof Scope ? updatedScope : this;\n }\n\n if (captureContext instanceof Scope) {\n this._tags = { ...this._tags, ...captureContext._tags };\n this._extra = { ...this._extra, ...captureContext._extra };\n this._contexts = { ...this._contexts, ...captureContext._contexts };\n if (captureContext._user && Object.keys(captureContext._user).length) {\n this._user = captureContext._user;\n }\n if (captureContext._level) {\n this._level = captureContext._level;\n }\n if (captureContext._fingerprint) {\n this._fingerprint = captureContext._fingerprint;\n }\n if (captureContext._requestSession) {\n this._requestSession = captureContext._requestSession;\n }\n } else if (isPlainObject(captureContext)) {\n // eslint-disable-next-line no-param-reassign\n captureContext = captureContext as ScopeContext;\n this._tags = { ...this._tags, ...captureContext.tags };\n this._extra = { ...this._extra, ...captureContext.extra };\n this._contexts = { ...this._contexts, ...captureContext.contexts };\n if (captureContext.user) {\n this._user = captureContext.user;\n }\n if (captureContext.level) {\n this._level = captureContext.level;\n }\n if (captureContext.fingerprint) {\n this._fingerprint = captureContext.fingerprint;\n }\n if (captureContext.requestSession) {\n this._requestSession = captureContext.requestSession;\n }\n }\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clear(): this {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this {\n const maxCrumbs = typeof maxBreadcrumbs === 'number' ? Math.min(maxBreadcrumbs, MAX_BREADCRUMBS) : MAX_BREADCRUMBS;\n\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n\n const mergedBreadcrumb = {\n timestamp: dateTimestampInSeconds(),\n ...breadcrumb,\n };\n this._breadcrumbs = [...this._breadcrumbs, mergedBreadcrumb].slice(-maxCrumbs);\n this._notifyScopeListeners();\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clearBreadcrumbs(): this {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Applies the current context and fingerprint to the event.\n * Note that breadcrumbs will be added by the client.\n * Also if the event has already breadcrumbs on it, we do not merge them.\n * @param event Event\n * @param hint May contain additional information about the original exception.\n * @hidden\n */\n public applyToEvent(event: Event, hint?: EventHint): PromiseLike {\n if (this._extra && Object.keys(this._extra).length) {\n event.extra = { ...this._extra, ...event.extra };\n }\n if (this._tags && Object.keys(this._tags).length) {\n event.tags = { ...this._tags, ...event.tags };\n }\n if (this._user && Object.keys(this._user).length) {\n event.user = { ...this._user, ...event.user };\n }\n if (this._contexts && Object.keys(this._contexts).length) {\n event.contexts = { ...this._contexts, ...event.contexts };\n }\n if (this._level) {\n event.level = this._level;\n }\n if (this._transactionName) {\n event.transaction = this._transactionName;\n }\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (this._span) {\n event.contexts = { trace: this._span.getTraceContext(), ...event.contexts };\n const transactionName = this._span.transaction && this._span.transaction.name;\n if (transactionName) {\n event.tags = { transaction: transactionName, ...event.tags };\n }\n }\n\n this._applyFingerprint(event);\n\n event.breadcrumbs = [...(event.breadcrumbs || []), ...this._breadcrumbs];\n event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined;\n\n event.sdkProcessingMetadata = this._sdkProcessingMetadata;\n\n return this._notifyEventProcessors([...getGlobalEventProcessors(), ...this._eventProcessors], event, hint);\n }\n\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n public setSDKProcessingMetadata(newData: { [key: string]: unknown }): this {\n this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };\n\n return this;\n }\n\n /**\n * This will be called after {@link applyToEvent} is finished.\n */\n protected _notifyEventProcessors(\n processors: EventProcessor[],\n event: Event | null,\n hint?: EventHint,\n index: number = 0,\n ): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n const processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n const result = processor({ ...event }, hint) as Event | null;\n if (isThenable(result)) {\n void (result as PromiseLike)\n .then(final => this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve))\n .then(null, reject);\n } else {\n void this._notifyEventProcessors(processors, result, hint, index + 1)\n .then(resolve)\n .then(null, reject);\n }\n }\n });\n }\n\n /**\n * This will be called on every set call.\n */\n protected _notifyScopeListeners(): void {\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(callback => {\n callback(this);\n });\n this._notifyingListeners = false;\n }\n }\n\n /**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\n private _applyFingerprint(event: Event): void {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint\n ? Array.isArray(event.fingerprint)\n ? event.fingerprint\n : [event.fingerprint]\n : [];\n\n // If we have something on the scope, then merge it with event\n if (this._fingerprint) {\n event.fingerprint = event.fingerprint.concat(this._fingerprint);\n }\n\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n }\n}\n\n/**\n * Returns the global event processors.\n */\nfunction getGlobalEventProcessors(): EventProcessor[] {\n /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n const global = getGlobalObject();\n global.__SENTRY__ = global.__SENTRY__ || {};\n global.__SENTRY__.globalEventProcessors = global.__SENTRY__.globalEventProcessors || [];\n return global.__SENTRY__.globalEventProcessors;\n /* eslint-enable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n}\n\n/**\n * Add a EventProcessor to be kept globally.\n * @param callback EventProcessor to add\n */\nexport function addGlobalEventProcessor(callback: EventProcessor): void {\n getGlobalEventProcessors().push(callback);\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/session.d.ts b/node_modules/@sentry/hub/esm/session.d.ts new file mode 100644 index 000000000..d58d34b8d --- /dev/null +++ b/node_modules/@sentry/hub/esm/session.d.ts @@ -0,0 +1,42 @@ +import { Session as SessionInterface, SessionContext, SessionStatus } from '@sentry/types'; +/** + * @inheritdoc + */ +export declare class Session implements SessionInterface { + userAgent?: string; + errors: number; + release?: string; + sid: string; + did?: string; + timestamp: number; + started: number; + duration?: number; + status: SessionStatus; + environment?: string; + ipAddress?: string; + init: boolean; + ignoreDuration: boolean; + constructor(context?: Omit); + /** JSDoc */ + update(context?: SessionContext): void; + /** JSDoc */ + close(status?: Exclude): void; + /** JSDoc */ + toJSON(): { + init: boolean; + sid: string; + did?: string; + timestamp: string; + started: string; + duration?: number; + status: SessionStatus; + errors: number; + attrs?: { + release?: string; + environment?: string; + user_agent?: string; + ip_address?: string; + }; + }; +} +//# sourceMappingURL=session.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/session.d.ts.map b/node_modules/@sentry/hub/esm/session.d.ts.map new file mode 100644 index 000000000..e52b3f368 --- /dev/null +++ b/node_modules/@sentry/hub/esm/session.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG3F;;GAEG;AACH,qBAAa,OAAQ,YAAW,gBAAgB;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAK;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAW;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAK;IACtB,MAAM,EAAE,aAAa,CAAQ;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAQ;IACrB,cAAc,EAAE,OAAO,CAAS;gBAEpB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,QAAQ,CAAC;IAUvE,YAAY;IAEL,MAAM,CAAC,OAAO,GAAE,cAAmB,GAAG,IAAI;IAwDjD,YAAY;IACL,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,GAAG,IAAI;IAUzD,YAAY;IACL,MAAM,IAAI;QACf,IAAI,EAAE,OAAO,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,aAAa,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE;YACN,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH;CAmBF"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/session.js b/node_modules/@sentry/hub/esm/session.js new file mode 100644 index 000000000..173281fb2 --- /dev/null +++ b/node_modules/@sentry/hub/esm/session.js @@ -0,0 +1,114 @@ +import { dropUndefinedKeys, timestampInSeconds, uuid4 } from '@sentry/utils'; +/** + * @inheritdoc + */ +var Session = /** @class */ (function () { + function Session(context) { + this.errors = 0; + this.sid = uuid4(); + this.duration = 0; + this.status = 'ok'; + this.init = true; + this.ignoreDuration = false; + // Both timestamp and started are in seconds since the UNIX epoch. + var startingTime = timestampInSeconds(); + this.timestamp = startingTime; + this.started = startingTime; + if (context) { + this.update(context); + } + } + /** JSDoc */ + // eslint-disable-next-line complexity + Session.prototype.update = function (context) { + if (context === void 0) { context = {}; } + if (context.user) { + if (!this.ipAddress && context.user.ip_address) { + this.ipAddress = context.user.ip_address; + } + if (!this.did && !context.did) { + this.did = context.user.id || context.user.email || context.user.username; + } + } + this.timestamp = context.timestamp || timestampInSeconds(); + if (context.ignoreDuration) { + this.ignoreDuration = context.ignoreDuration; + } + if (context.sid) { + // Good enough uuid validation. — Kamil + this.sid = context.sid.length === 32 ? context.sid : uuid4(); + } + if (context.init !== undefined) { + this.init = context.init; + } + if (!this.did && context.did) { + this.did = "" + context.did; + } + if (typeof context.started === 'number') { + this.started = context.started; + } + if (this.ignoreDuration) { + this.duration = undefined; + } + else if (typeof context.duration === 'number') { + this.duration = context.duration; + } + else { + var duration = this.timestamp - this.started; + this.duration = duration >= 0 ? duration : 0; + } + if (context.release) { + this.release = context.release; + } + if (context.environment) { + this.environment = context.environment; + } + if (!this.ipAddress && context.ipAddress) { + this.ipAddress = context.ipAddress; + } + if (!this.userAgent && context.userAgent) { + this.userAgent = context.userAgent; + } + if (typeof context.errors === 'number') { + this.errors = context.errors; + } + if (context.status) { + this.status = context.status; + } + }; + /** JSDoc */ + Session.prototype.close = function (status) { + if (status) { + this.update({ status: status }); + } + else if (this.status === 'ok') { + this.update({ status: 'exited' }); + } + else { + this.update(); + } + }; + /** JSDoc */ + Session.prototype.toJSON = function () { + return dropUndefinedKeys({ + sid: "" + this.sid, + init: this.init, + // Make sure that sec is converted to ms for date constructor + started: new Date(this.started * 1000).toISOString(), + timestamp: new Date(this.timestamp * 1000).toISOString(), + status: this.status, + errors: this.errors, + did: typeof this.did === 'number' || typeof this.did === 'string' ? "" + this.did : undefined, + duration: this.duration, + attrs: { + release: this.release, + environment: this.environment, + ip_address: this.ipAddress, + user_agent: this.userAgent, + }, + }); + }; + return Session; +}()); +export { Session }; +//# sourceMappingURL=session.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/session.js.map b/node_modules/@sentry/hub/esm/session.js.map new file mode 100644 index 000000000..6eaedcb7b --- /dev/null +++ b/node_modules/@sentry/hub/esm/session.js.map @@ -0,0 +1 @@ +{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"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","sourcesContent":["import { Session as SessionInterface, SessionContext, SessionStatus } from '@sentry/types';\nimport { dropUndefinedKeys, timestampInSeconds, uuid4 } from '@sentry/utils';\n\n/**\n * @inheritdoc\n */\nexport class Session implements SessionInterface {\n public userAgent?: string;\n public errors: number = 0;\n public release?: string;\n public sid: string = uuid4();\n public did?: string;\n public timestamp: number;\n public started: number;\n public duration?: number = 0;\n public status: SessionStatus = 'ok';\n public environment?: string;\n public ipAddress?: string;\n public init: boolean = true;\n public ignoreDuration: boolean = false;\n\n public constructor(context?: Omit) {\n // Both timestamp and started are in seconds since the UNIX epoch.\n const startingTime = timestampInSeconds();\n this.timestamp = startingTime;\n this.started = startingTime;\n if (context) {\n this.update(context);\n }\n }\n\n /** JSDoc */\n // eslint-disable-next-line complexity\n public update(context: SessionContext = {}): void {\n if (context.user) {\n if (!this.ipAddress && context.user.ip_address) {\n this.ipAddress = context.user.ip_address;\n }\n\n if (!this.did && !context.did) {\n this.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n this.timestamp = context.timestamp || timestampInSeconds();\n if (context.ignoreDuration) {\n this.ignoreDuration = context.ignoreDuration;\n }\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n this.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n if (context.init !== undefined) {\n this.init = context.init;\n }\n if (!this.did && context.did) {\n this.did = `${context.did}`;\n }\n if (typeof context.started === 'number') {\n this.started = context.started;\n }\n if (this.ignoreDuration) {\n this.duration = undefined;\n } else if (typeof context.duration === 'number') {\n this.duration = context.duration;\n } else {\n const duration = this.timestamp - this.started;\n this.duration = duration >= 0 ? duration : 0;\n }\n if (context.release) {\n this.release = context.release;\n }\n if (context.environment) {\n this.environment = context.environment;\n }\n if (!this.ipAddress && context.ipAddress) {\n this.ipAddress = context.ipAddress;\n }\n if (!this.userAgent && context.userAgent) {\n this.userAgent = context.userAgent;\n }\n if (typeof context.errors === 'number') {\n this.errors = context.errors;\n }\n if (context.status) {\n this.status = context.status;\n }\n }\n\n /** JSDoc */\n public close(status?: Exclude): void {\n if (status) {\n this.update({ status });\n } else if (this.status === 'ok') {\n this.update({ status: 'exited' });\n } else {\n this.update();\n }\n }\n\n /** JSDoc */\n public toJSON(): {\n init: boolean;\n sid: string;\n did?: string;\n timestamp: string;\n started: string;\n duration?: number;\n status: SessionStatus;\n errors: number;\n attrs?: {\n release?: string;\n environment?: string;\n user_agent?: string;\n ip_address?: string;\n };\n } {\n return dropUndefinedKeys({\n sid: `${this.sid}`,\n init: this.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(this.started * 1000).toISOString(),\n timestamp: new Date(this.timestamp * 1000).toISOString(),\n status: this.status,\n errors: this.errors,\n did: typeof this.did === 'number' || typeof this.did === 'string' ? `${this.did}` : undefined,\n duration: this.duration,\n attrs: {\n release: this.release,\n environment: this.environment,\n ip_address: this.ipAddress,\n user_agent: this.userAgent,\n },\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/sessionflusher.d.ts b/node_modules/@sentry/hub/esm/sessionflusher.d.ts new file mode 100644 index 000000000..db409ebd2 --- /dev/null +++ b/node_modules/@sentry/hub/esm/sessionflusher.d.ts @@ -0,0 +1,38 @@ +import { SessionAggregates, SessionFlusherLike, Transport } from '@sentry/types'; +declare type ReleaseHealthAttributes = { + environment?: string; + release: string; +}; +/** + * @inheritdoc + */ +export declare class SessionFlusher implements SessionFlusherLike { + readonly flushTimeout: number; + private _pendingAggregates; + private _sessionAttrs; + private _intervalId; + private _isEnabled; + private _transport; + constructor(transport: Transport, attrs: ReleaseHealthAttributes); + /** Sends session aggregates to Transport */ + sendSessionAggregates(sessionAggregates: SessionAggregates): void; + /** Checks if `pendingAggregates` has entries, and if it does flushes them by calling `sendSessions` */ + flush(): void; + /** Massages the entries in `pendingAggregates` and returns aggregated sessions */ + getSessionAggregates(): SessionAggregates; + /** JSDoc */ + close(): void; + /** + * Wrapper function for _incrementSessionStatusCount that checks if the instance of SessionFlusher is enabled then + * fetches the session status of the request from `Scope.getRequestSession().status` on the scope and passes them to + * `_incrementSessionStatusCount` along with the start date + */ + incrementSessionStatusCount(): void; + /** + * Increments status bucket in pendingAggregates buffer (internal state) corresponding to status of + * the session received + */ + private _incrementSessionStatusCount; +} +export {}; +//# sourceMappingURL=sessionflusher.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/sessionflusher.d.ts.map b/node_modules/@sentry/hub/esm/sessionflusher.d.ts.map new file mode 100644 index 000000000..1e511c0e7 --- /dev/null +++ b/node_modules/@sentry/hub/esm/sessionflusher.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sessionflusher.d.ts","sourceRoot":"","sources":["../src/sessionflusher.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACV,MAAM,eAAe,CAAC;AAKvB,aAAK,uBAAuB,GAAG;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,qBAAa,cAAe,YAAW,kBAAkB;IACvD,SAAgB,YAAY,EAAE,MAAM,CAAM;IAC1C,OAAO,CAAC,kBAAkB,CAAyC;IACnE,OAAO,CAAC,aAAa,CAA0B;IAC/C,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,UAAU,CAAiB;IACnC,OAAO,CAAC,UAAU,CAAY;gBAEX,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,uBAAuB;IAOvE,4CAA4C;IACrC,qBAAqB,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI;IAUxE,uGAAuG;IAChG,KAAK,IAAI,IAAI;IASpB,kFAAkF;IAC3E,oBAAoB,IAAI,iBAAiB;IAYhD,YAAY;IACL,KAAK,IAAI,IAAI;IAMpB;;;;OAIG;IACI,2BAA2B,IAAI,IAAI;IAkB1C;;;OAGG;IACH,OAAO,CAAC,4BAA4B;CAwBrC"} \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/sessionflusher.js b/node_modules/@sentry/hub/esm/sessionflusher.js new file mode 100644 index 000000000..15f94722c --- /dev/null +++ b/node_modules/@sentry/hub/esm/sessionflusher.js @@ -0,0 +1,104 @@ +import { dropUndefinedKeys, logger } from '@sentry/utils'; +import { getCurrentHub } from './hub'; +/** + * @inheritdoc + */ +var SessionFlusher = /** @class */ (function () { + function SessionFlusher(transport, attrs) { + var _this = this; + this.flushTimeout = 60; + this._pendingAggregates = {}; + this._isEnabled = true; + this._transport = transport; + // Call to setInterval, so that flush is called every 60 seconds + this._intervalId = setInterval(function () { return _this.flush(); }, this.flushTimeout * 1000); + this._sessionAttrs = attrs; + } + /** Sends session aggregates to Transport */ + SessionFlusher.prototype.sendSessionAggregates = function (sessionAggregates) { + if (!this._transport.sendSession) { + logger.warn("Dropping session because custom transport doesn't implement sendSession"); + return; + } + void this._transport.sendSession(sessionAggregates).then(null, function (reason) { + logger.error("Error while sending session: " + reason); + }); + }; + /** Checks if `pendingAggregates` has entries, and if it does flushes them by calling `sendSessions` */ + SessionFlusher.prototype.flush = function () { + var sessionAggregates = this.getSessionAggregates(); + if (sessionAggregates.aggregates.length === 0) { + return; + } + this._pendingAggregates = {}; + this.sendSessionAggregates(sessionAggregates); + }; + /** Massages the entries in `pendingAggregates` and returns aggregated sessions */ + SessionFlusher.prototype.getSessionAggregates = function () { + var _this = this; + var aggregates = Object.keys(this._pendingAggregates).map(function (key) { + return _this._pendingAggregates[parseInt(key)]; + }); + var sessionAggregates = { + attrs: this._sessionAttrs, + aggregates: aggregates, + }; + return dropUndefinedKeys(sessionAggregates); + }; + /** JSDoc */ + SessionFlusher.prototype.close = function () { + clearInterval(this._intervalId); + this._isEnabled = false; + this.flush(); + }; + /** + * Wrapper function for _incrementSessionStatusCount that checks if the instance of SessionFlusher is enabled then + * fetches the session status of the request from `Scope.getRequestSession().status` on the scope and passes them to + * `_incrementSessionStatusCount` along with the start date + */ + SessionFlusher.prototype.incrementSessionStatusCount = function () { + if (!this._isEnabled) { + return; + } + var scope = getCurrentHub().getScope(); + var requestSession = scope && scope.getRequestSession(); + if (requestSession && requestSession.status) { + this._incrementSessionStatusCount(requestSession.status, new Date()); + // This is not entirely necessarily but is added as a safe guard to indicate the bounds of a request and so in + // case captureRequestSession is called more than once to prevent double count + if (scope) { + scope.setRequestSession(undefined); + } + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + } + }; + /** + * Increments status bucket in pendingAggregates buffer (internal state) corresponding to status of + * the session received + */ + SessionFlusher.prototype._incrementSessionStatusCount = function (status, date) { + // Truncate minutes and seconds on Session Started attribute to have one minute bucket keys + var sessionStartedTrunc = new Date(date).setSeconds(0, 0); + this._pendingAggregates[sessionStartedTrunc] = this._pendingAggregates[sessionStartedTrunc] || {}; + // corresponds to aggregated sessions in one specific minute bucket + // for example, {"started":"2021-03-16T08:00:00.000Z","exited":4, "errored": 1} + var aggregationCounts = this._pendingAggregates[sessionStartedTrunc]; + if (!aggregationCounts.started) { + aggregationCounts.started = new Date(sessionStartedTrunc).toISOString(); + } + switch (status) { + case 'errored': + aggregationCounts.errored = (aggregationCounts.errored || 0) + 1; + return aggregationCounts.errored; + case 'ok': + aggregationCounts.exited = (aggregationCounts.exited || 0) + 1; + return aggregationCounts.exited; + default: + aggregationCounts.crashed = (aggregationCounts.crashed || 0) + 1; + return aggregationCounts.crashed; + } + }; + return SessionFlusher; +}()); +export { SessionFlusher }; +//# sourceMappingURL=sessionflusher.js.map \ No newline at end of file diff --git a/node_modules/@sentry/hub/esm/sessionflusher.js.map b/node_modules/@sentry/hub/esm/sessionflusher.js.map new file mode 100644 index 000000000..c03e92651 --- /dev/null +++ b/node_modules/@sentry/hub/esm/sessionflusher.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sessionflusher.js","sourceRoot":"","sources":["../src/sessionflusher.ts"],"names":[],"mappings":"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","sourcesContent":["import {\n AggregationCounts,\n RequestSessionStatus,\n SessionAggregates,\n SessionFlusherLike,\n Transport,\n} from '@sentry/types';\nimport { dropUndefinedKeys, logger } from '@sentry/utils';\n\nimport { getCurrentHub } from './hub';\n\ntype ReleaseHealthAttributes = {\n environment?: string;\n release: string;\n};\n\n/**\n * @inheritdoc\n */\nexport class SessionFlusher implements SessionFlusherLike {\n public readonly flushTimeout: number = 60;\n private _pendingAggregates: Record = {};\n private _sessionAttrs: ReleaseHealthAttributes;\n private _intervalId: ReturnType;\n private _isEnabled: boolean = true;\n private _transport: Transport;\n\n public constructor(transport: Transport, attrs: ReleaseHealthAttributes) {\n this._transport = transport;\n // Call to setInterval, so that flush is called every 60 seconds\n this._intervalId = setInterval(() => this.flush(), this.flushTimeout * 1000);\n this._sessionAttrs = attrs;\n }\n\n /** Sends session aggregates to Transport */\n public sendSessionAggregates(sessionAggregates: SessionAggregates): void {\n if (!this._transport.sendSession) {\n logger.warn(\"Dropping session because custom transport doesn't implement sendSession\");\n return;\n }\n void this._transport.sendSession(sessionAggregates).then(null, reason => {\n logger.error(`Error while sending session: ${reason}`);\n });\n }\n\n /** Checks if `pendingAggregates` has entries, and if it does flushes them by calling `sendSessions` */\n public flush(): void {\n const sessionAggregates = this.getSessionAggregates();\n if (sessionAggregates.aggregates.length === 0) {\n return;\n }\n this._pendingAggregates = {};\n this.sendSessionAggregates(sessionAggregates);\n }\n\n /** Massages the entries in `pendingAggregates` and returns aggregated sessions */\n public getSessionAggregates(): SessionAggregates {\n const aggregates: AggregationCounts[] = Object.keys(this._pendingAggregates).map((key: string) => {\n return this._pendingAggregates[parseInt(key)];\n });\n\n const sessionAggregates: SessionAggregates = {\n attrs: this._sessionAttrs,\n aggregates,\n };\n return dropUndefinedKeys(sessionAggregates);\n }\n\n /** JSDoc */\n public close(): void {\n clearInterval(this._intervalId);\n this._isEnabled = false;\n this.flush();\n }\n\n /**\n * Wrapper function for _incrementSessionStatusCount that checks if the instance of SessionFlusher is enabled then\n * fetches the session status of the request from `Scope.getRequestSession().status` on the scope and passes them to\n * `_incrementSessionStatusCount` along with the start date\n */\n public incrementSessionStatusCount(): void {\n if (!this._isEnabled) {\n return;\n }\n const scope = getCurrentHub().getScope();\n const requestSession = scope && scope.getRequestSession();\n\n if (requestSession && requestSession.status) {\n this._incrementSessionStatusCount(requestSession.status, new Date());\n // This is not entirely necessarily but is added as a safe guard to indicate the bounds of a request and so in\n // case captureRequestSession is called more than once to prevent double count\n if (scope) {\n scope.setRequestSession(undefined);\n }\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n }\n }\n\n /**\n * Increments status bucket in pendingAggregates buffer (internal state) corresponding to status of\n * the session received\n */\n private _incrementSessionStatusCount(status: RequestSessionStatus, date: Date): number {\n // Truncate minutes and seconds on Session Started attribute to have one minute bucket keys\n const sessionStartedTrunc = new Date(date).setSeconds(0, 0);\n this._pendingAggregates[sessionStartedTrunc] = this._pendingAggregates[sessionStartedTrunc] || {};\n\n // corresponds to aggregated sessions in one specific minute bucket\n // for example, {\"started\":\"2021-03-16T08:00:00.000Z\",\"exited\":4, \"errored\": 1}\n const aggregationCounts: AggregationCounts = this._pendingAggregates[sessionStartedTrunc];\n if (!aggregationCounts.started) {\n aggregationCounts.started = new Date(sessionStartedTrunc).toISOString();\n }\n\n switch (status) {\n case 'errored':\n aggregationCounts.errored = (aggregationCounts.errored || 0) + 1;\n return aggregationCounts.errored;\n case 'ok':\n aggregationCounts.exited = (aggregationCounts.exited || 0) + 1;\n return aggregationCounts.exited;\n default:\n aggregationCounts.crashed = (aggregationCounts.crashed || 0) + 1;\n return aggregationCounts.crashed;\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/hub/node_modules/tslib/CopyrightNotice.txt b/node_modules/@sentry/hub/node_modules/tslib/CopyrightNotice.txt new file mode 100644 index 000000000..3d4c82348 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/CopyrightNotice.txt @@ -0,0 +1,15 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + diff --git a/node_modules/@sentry/hub/node_modules/tslib/LICENSE.txt b/node_modules/@sentry/hub/node_modules/tslib/LICENSE.txt new file mode 100644 index 000000000..bfe6430cb --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/LICENSE.txt @@ -0,0 +1,12 @@ +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/node_modules/@sentry/hub/node_modules/tslib/README.md b/node_modules/@sentry/hub/node_modules/tslib/README.md new file mode 100644 index 000000000..a5b2692c8 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/README.md @@ -0,0 +1,142 @@ +# tslib + +This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions. + +This library is primarily used by the `--importHelpers` flag in TypeScript. +When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: + +```ts +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +exports.x = {}; +exports.y = __assign({}, exports.x); + +``` + +will instead be emitted as something like the following: + +```ts +var tslib_1 = require("tslib"); +exports.x = {}; +exports.y = tslib_1.__assign({}, exports.x); +``` + +Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. +For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. + +# Installing + +For the latest stable version, run: + +## npm + +```sh +# TypeScript 2.3.3 or later +npm install tslib + +# TypeScript 2.3.2 or earlier +npm install tslib@1.6.1 +``` + +## yarn + +```sh +# TypeScript 2.3.3 or later +yarn add tslib + +# TypeScript 2.3.2 or earlier +yarn add tslib@1.6.1 +``` + +## bower + +```sh +# TypeScript 2.3.3 or later +bower install tslib + +# TypeScript 2.3.2 or earlier +bower install tslib@1.6.1 +``` + +## JSPM + +```sh +# TypeScript 2.3.3 or later +jspm install tslib + +# TypeScript 2.3.2 or earlier +jspm install tslib@1.6.1 +``` + +# Usage + +Set the `importHelpers` compiler option on the command line: + +``` +tsc --importHelpers file.ts +``` + +or in your tsconfig.json: + +```json +{ + "compilerOptions": { + "importHelpers": true + } +} +``` + +#### For bower and JSPM users + +You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: + +```json +{ + "compilerOptions": { + "module": "amd", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["bower_components/tslib/tslib.d.ts"] + } + } +} +``` + +For JSPM users: + +```json +{ + "compilerOptions": { + "module": "system", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["jspm_packages/npm/tslib@1.[version].0/tslib.d.ts"] + } + } +} +``` + + +# Contribute + +There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. + +* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. +* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). +* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). +* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. +* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). + +# Documentation + +* [Quick tutorial](http://www.typescriptlang.org/Tutorial) +* [Programming handbook](http://www.typescriptlang.org/Handbook) +* [Homepage](http://www.typescriptlang.org/) diff --git a/node_modules/@sentry/hub/node_modules/tslib/modules/index.js b/node_modules/@sentry/hub/node_modules/tslib/modules/index.js new file mode 100644 index 000000000..d241d0422 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/modules/index.js @@ -0,0 +1,51 @@ +import tslib from '../tslib.js'; +const { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +} = tslib; +export { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +}; diff --git a/node_modules/@sentry/hub/node_modules/tslib/modules/package.json b/node_modules/@sentry/hub/node_modules/tslib/modules/package.json new file mode 100644 index 000000000..aafa0e4b4 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/modules/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/node_modules/@sentry/hub/node_modules/tslib/package.json b/node_modules/@sentry/hub/node_modules/tslib/package.json new file mode 100644 index 000000000..1e599b6f0 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/package.json @@ -0,0 +1,64 @@ +{ + "_from": "tslib@^1.9.3", + "_id": "tslib@1.14.1", + "_inBundle": false, + "_integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "_location": "/@sentry/hub/tslib", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "tslib@^1.9.3", + "name": "tslib", + "escapedName": "tslib", + "rawSpec": "^1.9.3", + "saveSpec": null, + "fetchSpec": "^1.9.3" + }, + "_requiredBy": [ + "/@sentry/hub" + ], + "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "_shasum": "cf2d38bdc34a134bcaf1091c41f6619e2f672d00", + "_spec": "tslib@^1.9.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/hub", + "author": { + "name": "Microsoft Corp." + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Runtime library for TypeScript helper functions", + "exports": { + ".": { + "module": "./tslib.es6.js", + "import": "./modules/index.js", + "default": "./tslib.js" + }, + "./": "./" + }, + "homepage": "https://www.typescriptlang.org/", + "jsnext:main": "tslib.es6.js", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "license": "0BSD", + "main": "tslib.js", + "module": "tslib.es6.js", + "name": "tslib", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/tslib.git" + }, + "sideEffects": false, + "typings": "tslib.d.ts", + "version": "1.14.1" +} diff --git a/node_modules/@sentry/hub/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js b/node_modules/@sentry/hub/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js new file mode 100644 index 000000000..0c1b613d8 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js @@ -0,0 +1,23 @@ +// When on node 14, it validates that all of the commonjs exports +// are correctly re-exported for es modules importers. + +const nodeMajor = Number(process.version.split(".")[0].slice(1)) +if (nodeMajor < 14) { + console.log("Skipping because node does not support module exports.") + process.exit(0) +} + +// ES Modules import via the ./modules folder +import * as esTSLib from "../../modules/index.js" + +// Force a commonjs resolve +import { createRequire } from "module"; +const commonJSTSLib = createRequire(import.meta.url)("../../tslib.js"); + +for (const key in commonJSTSLib) { + if (commonJSTSLib.hasOwnProperty(key)) { + if(!esTSLib[key]) throw new Error(`ESModules is missing ${key} - it needs to be re-exported in ./modules/index.js`) + } +} + +console.log("All exports in commonjs are available for es module consumers.") diff --git a/node_modules/@sentry/hub/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json b/node_modules/@sentry/hub/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json new file mode 100644 index 000000000..166e5095e --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json @@ -0,0 +1,6 @@ +{ + "type": "module", + "scripts": { + "test": "node index.js" + } +} diff --git a/node_modules/@sentry/hub/node_modules/tslib/tslib.d.ts b/node_modules/@sentry/hub/node_modules/tslib/tslib.d.ts new file mode 100644 index 000000000..0756b28e7 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/tslib.d.ts @@ -0,0 +1,37 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +export declare function __extends(d: Function, b: Function): void; +export declare function __assign(t: any, ...sources: any[]): any; +export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; +export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; +export declare function __param(paramIndex: number, decorator: Function): Function; +export declare function __metadata(metadataKey: any, metadataValue: any): Function; +export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; +export declare function __generator(thisArg: any, body: Function): any; +export declare function __exportStar(m: any, exports: any): void; +export declare function __values(o: any): any; +export declare function __read(o: any, n?: number): any[]; +export declare function __spread(...args: any[][]): any[]; +export declare function __spreadArrays(...args: any[][]): any[]; +export declare function __await(v: any): any; +export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; +export declare function __asyncDelegator(o: any): any; +export declare function __asyncValues(o: any): any; +export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; +export declare function __importStar(mod: T): T; +export declare function __importDefault(mod: T): T | { default: T }; +export declare function __classPrivateFieldGet(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V; +export declare function __classPrivateFieldSet(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V; +export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; \ No newline at end of file diff --git a/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.html b/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.html new file mode 100644 index 000000000..b122e41b0 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js b/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js new file mode 100644 index 000000000..0e0d8d079 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js @@ -0,0 +1,218 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +export function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +export var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +export function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +export function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +export function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +export function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +export function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +export function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +export function __createBinding(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +} + +export function __exportStar(m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; +} + +export function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} + +export function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +export function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +export function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +}; + +export function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +export function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +export function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } +} + +export function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +export function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +export function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result.default = mod; + return result; +} + +export function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + +export function __classPrivateFieldGet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); +} + +export function __classPrivateFieldSet(receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; +} diff --git a/node_modules/@sentry/hub/node_modules/tslib/tslib.html b/node_modules/@sentry/hub/node_modules/tslib/tslib.html new file mode 100644 index 000000000..44c9ba51e --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/tslib.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/hub/node_modules/tslib/tslib.js b/node_modules/@sentry/hub/node_modules/tslib/tslib.js new file mode 100644 index 000000000..e5b7c9b80 --- /dev/null +++ b/node_modules/@sentry/hub/node_modules/tslib/tslib.js @@ -0,0 +1,284 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + +/* global global, define, System, Reflect, Promise */ +var __extends; +var __assign; +var __rest; +var __decorate; +var __param; +var __metadata; +var __awaiter; +var __generator; +var __exportStar; +var __values; +var __read; +var __spread; +var __spreadArrays; +var __await; +var __asyncGenerator; +var __asyncDelegator; +var __asyncValues; +var __makeTemplateObject; +var __importStar; +var __importDefault; +var __classPrivateFieldGet; +var __classPrivateFieldSet; +var __createBinding; +(function (factory) { + var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; + if (typeof define === "function" && define.amd) { + define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); + } + else if (typeof module === "object" && typeof module.exports === "object") { + factory(createExporter(root, createExporter(module.exports))); + } + else { + factory(createExporter(root)); + } + function createExporter(exports, previous) { + if (exports !== root) { + if (typeof Object.create === "function") { + Object.defineProperty(exports, "__esModule", { value: true }); + } + else { + exports.__esModule = true; + } + } + return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; + } +}) +(function (exporter) { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + + __extends = function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + + __assign = Object.assign || function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + + __rest = function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + }; + + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + }; + + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + }; + + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); + }; + + __awaiter = function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + + __generator = function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + + __createBinding = function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }; + + __exportStar = function (m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; + }; + + __values = function (o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + }; + + __makeTemplateObject = function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + }; + + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; + }; + + __importDefault = function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + + __classPrivateFieldGet = function (receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); + }; + + __classPrivateFieldSet = function (receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; + }; + + exporter("__extends", __extends); + exporter("__assign", __assign); + exporter("__rest", __rest); + exporter("__decorate", __decorate); + exporter("__param", __param); + exporter("__metadata", __metadata); + exporter("__awaiter", __awaiter); + exporter("__generator", __generator); + exporter("__exportStar", __exportStar); + exporter("__createBinding", __createBinding); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__spreadArrays", __spreadArrays); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + exporter("__makeTemplateObject", __makeTemplateObject); + exporter("__importStar", __importStar); + exporter("__importDefault", __importDefault); + exporter("__classPrivateFieldGet", __classPrivateFieldGet); + exporter("__classPrivateFieldSet", __classPrivateFieldSet); +}); diff --git a/node_modules/@sentry/hub/package.json b/node_modules/@sentry/hub/package.json new file mode 100644 index 000000000..eba7f05ce --- /dev/null +++ b/node_modules/@sentry/hub/package.json @@ -0,0 +1,108 @@ +{ + "_from": "@sentry/hub@6.17.9", + "_id": "@sentry/hub@6.17.9", + "_inBundle": false, + "_integrity": "sha512-34EdrweWDbBV9EzEFIXcO+JeoyQmKzQVJxpTKZoJA6PUwf2NrndaUdjlkDEtBEzjuLUTxhLxtOzEsYs1O6RVcg==", + "_location": "/@sentry/hub", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@sentry/hub@6.17.9", + "name": "@sentry/hub", + "escapedName": "@sentry%2fhub", + "scope": "@sentry", + "rawSpec": "6.17.9", + "saveSpec": null, + "fetchSpec": "6.17.9" + }, + "_requiredBy": [ + "/@sentry/core", + "/@sentry/minimal", + "/@sentry/node", + "/@sentry/tracing" + ], + "_resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.17.9.tgz", + "_shasum": "f2c355088a49045e49feafb5356ca5d6e1e31d3c", + "_spec": "@sentry/hub@6.17.9", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/node", + "author": { + "name": "Sentry" + }, + "bugs": { + "url": "https://github.com/getsentry/sentry-javascript/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@sentry/types": "6.17.9", + "@sentry/utils": "6.17.9", + "tslib": "^1.9.3" + }, + "deprecated": false, + "description": "Sentry hub which handles global state managment.", + "engines": { + "node": ">=6" + }, + "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/hub", + "jest": { + "collectCoverage": true, + "transform": { + "^.+\\.ts$": "ts-jest" + }, + "moduleFileExtensions": [ + "js", + "ts" + ], + "testEnvironment": "node", + "testMatch": [ + "**/*.test.ts" + ], + "globals": { + "ts-jest": { + "tsConfig": "./tsconfig.json", + "diagnostics": false + } + } + }, + "license": "BSD-3-Clause", + "main": "dist/index.js", + "module": "esm/index.js", + "name": "@sentry/hub", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git://github.com/getsentry/sentry-javascript.git" + }, + "scripts": { + "build": "run-p build:cjs build:esm", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", + "build:dev": "run-s build", + "build:dev:watch": "run-s build:watch", + "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", + "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", + "build:esm": "tsc -p tsconfig.esm.json", + "build:esm:watch": "tsc -p tsconfig.esm.json --watch", + "build:watch": "run-p build:cjs:watch build:esm:watch", + "circularDepCheck": "madge --circular src/index.ts", + "clean": "rimraf dist esm coverage", + "fix": "run-s fix:eslint fix:prettier", + "fix:eslint": "eslint . --format stylish --fix", + "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"", + "link:yarn": "yarn link", + "lint": "run-s lint:prettier lint:eslint", + "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish", + "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"", + "pack": "npm pack", + "test": "jest", + "test:watch": "jest --watch" + }, + "sideEffects": false, + "types": "dist/index.d.ts", + "version": "6.17.9", + "volta": { + "extends": "../../package.json" + } +} diff --git a/node_modules/@sentry/minimal/LICENSE b/node_modules/@sentry/minimal/LICENSE new file mode 100644 index 000000000..8b42db873 --- /dev/null +++ b/node_modules/@sentry/minimal/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Sentry +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@sentry/minimal/README.md b/node_modules/@sentry/minimal/README.md new file mode 100644 index 000000000..4204f5884 --- /dev/null +++ b/node_modules/@sentry/minimal/README.md @@ -0,0 +1,63 @@ +

+ + + +
+

+ +# Sentry JavaScript SDK Minimal + +[![npm version](https://img.shields.io/npm/v/@sentry/minimal.svg)](https://www.npmjs.com/package/@sentry/minimal) +[![npm dm](https://img.shields.io/npm/dm/@sentry/minimal.svg)](https://www.npmjs.com/package/@sentry/minimal) +[![npm dt](https://img.shields.io/npm/dt/@sentry/minimal.svg)](https://www.npmjs.com/package/@sentry/minimal) +[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/) + +## Links + +- [Official SDK Docs](https://docs.sentry.io/quickstart/) +- [TypeDoc](http://getsentry.github.io/sentry-javascript/) + +## General + +A minimal Sentry SDK that uses a configured client when embedded into an application. It allows library authors add +support for a Sentry SDK without having to bundle the entire SDK or being dependent on a specific platform. If the user +is using Sentry in their application and your library uses `@sentry/minimal`, the user receives all +breadcrumbs/messages/events you added to your libraries codebase. + +## Usage + +To use the minimal, you do not have to initialize an SDK. This should be handled by the user of your library. Instead, +directly use the exported functions of `@sentry/minimal` to add breadcrumbs or capture events: + +```javascript +import * as Sentry from '@sentry/minimal'; + +// Add a breadcrumb for future events +Sentry.addBreadcrumb({ + message: 'My Breadcrumb', + // ... +}); + +// Capture exceptions, messages or manual events +Sentry.captureMessage('Hello, world!'); +Sentry.captureException(new Error('Good bye')); +Sentry.captureEvent({ + message: 'Manual', + stacktrace: [ + // ... + ], +}); +``` + +Note that while strictly possible, it is discouraged to interfere with the event context. If for some reason your +library needs to inject context information, beware that this might override the user's context values: + +```javascript +// Set user information, as well as tags and further extras +Sentry.configureScope(scope => { + scope.setExtra('battery', 0.7); + scope.setTag('user_mode', 'admin'); + scope.setUser({ id: '4711' }); + // scope.clear(); +}); +``` diff --git a/node_modules/@sentry/minimal/dist/index.d.ts b/node_modules/@sentry/minimal/dist/index.d.ts new file mode 100644 index 000000000..5a847241c --- /dev/null +++ b/node_modules/@sentry/minimal/dist/index.d.ts @@ -0,0 +1,123 @@ +import { Scope } from '@sentry/hub'; +import { Breadcrumb, CaptureContext, CustomSamplingContext, Event, Extra, Extras, Primitive, Severity, Transaction, TransactionContext, User } from '@sentry/types'; +/** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @returns The generated eventId. + */ +export declare function captureException(exception: any, captureContext?: CaptureContext): string; +/** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param Severity Define the level of the message. + * @returns The generated eventId. + */ +export declare function captureMessage(message: string, captureContext?: CaptureContext | Severity): string; +/** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @returns The generated eventId. + */ +export declare function captureEvent(event: Event): string; +/** + * Callback to set context information onto the scope. + * @param callback Callback function that receives Scope. + */ +export declare function configureScope(callback: (scope: Scope) => void): void; +/** + * Records a new breadcrumb which will be attached to future events. + * + * Breadcrumbs will be added to subsequent events to provide more context on + * user's actions prior to an error or crash. + * + * @param breadcrumb The breadcrumb to record. + */ +export declare function addBreadcrumb(breadcrumb: Breadcrumb): void; +/** + * Sets context data with the given name. + * @param name of the context + * @param context Any kind of data. This data will be normalized. + */ +export declare function setContext(name: string, context: { + [key: string]: any; +} | null): void; +/** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ +export declare function setExtras(extras: Extras): void; +/** + * Set an object that will be merged sent as tags data with the event. + * @param tags Tags context object to merge into current context. + */ +export declare function setTags(tags: { + [key: string]: Primitive; +}): void; +/** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ +export declare function setExtra(key: string, extra: Extra): void; +/** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ +export declare function setTag(key: string, value: Primitive): void; +/** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ +export declare function setUser(user: User | null): void; +/** + * Creates a new scope with and executes the given operation within. + * The scope is automatically removed once the operation + * finishes or throws. + * + * This is essentially a convenience function for: + * + * pushScope(); + * callback(); + * popScope(); + * + * @param callback that will be enclosed into push/popScope. + */ +export declare function withScope(callback: (scope: Scope) => void): void; +/** + * Calls a function on the latest client. Use this with caution, it's meant as + * in "internal" helper so we don't need to expose every possible function in + * the shim. It is not guaranteed that the client actually implements the + * function. + * + * @param method The method to call on the client/client. + * @param args Arguments to pass to the client/fontend. + * @hidden + */ +export declare function _callOnClient(method: string, ...args: any[]): void; +/** + * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation. + * + * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a + * new child span within the transaction or any span, call the respective `.startChild()` method. + * + * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded. + * + * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its + * finished child spans will be sent to Sentry. + * + * @param context Properties of the new `Transaction`. + * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent + * default values). See {@link Options.tracesSampler}. + * + * @returns The transaction which was just started + */ +export declare function startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/minimal/dist/index.d.ts.map b/node_modules/@sentry/minimal/dist/index.d.ts.map new file mode 100644 index 000000000..b004f6ff5 --- /dev/null +++ b/node_modules/@sentry/minimal/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EACL,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,KAAK,EACL,KAAK,EACL,MAAM,EACN,SAAS,EACT,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,IAAI,EACL,MAAM,eAAe,CAAC;AAiBvB;;;;;GAKG;AAEH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAYxF;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,cAAc,GAAG,QAAQ,GAAG,MAAM,CAkBlG;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEjD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAErE;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAE1D;AAED;;;;GAIG;AAEH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,IAAI,GAAG,IAAI,CAErF;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE9C;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAAG,IAAI,CAEhE;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAExD;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,IAAI,CAE1D;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAE/C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAEhE;AAED;;;;;;;;;GASG;AAEH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAElE;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,kBAAkB,EAC3B,qBAAqB,CAAC,EAAE,qBAAqB,GAC5C,WAAW,CAEb"} \ No newline at end of file diff --git a/node_modules/@sentry/minimal/dist/index.js b/node_modules/@sentry/minimal/dist/index.js new file mode 100644 index 000000000..199eccf69 --- /dev/null +++ b/node_modules/@sentry/minimal/dist/index.js @@ -0,0 +1,209 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var hub_1 = require("@sentry/hub"); +/** + * This calls a function on the current hub. + * @param method function to call on hub. + * @param args to pass to function. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function callOnHub(method) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var hub = hub_1.getCurrentHub(); + if (hub && hub[method]) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return hub[method].apply(hub, tslib_1.__spread(args)); + } + throw new Error("No hub defined or " + method + " was not found on the hub, please open a bug report."); +} +/** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @returns The generated eventId. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types +function captureException(exception, captureContext) { + var syntheticException; + try { + throw new Error('Sentry syntheticException'); + } + catch (exception) { + syntheticException = exception; + } + return callOnHub('captureException', exception, { + captureContext: captureContext, + originalException: exception, + syntheticException: syntheticException, + }); +} +exports.captureException = captureException; +/** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param Severity Define the level of the message. + * @returns The generated eventId. + */ +function captureMessage(message, captureContext) { + var syntheticException; + try { + throw new Error(message); + } + catch (exception) { + syntheticException = exception; + } + // This is necessary to provide explicit scopes upgrade, without changing the original + // arity of the `captureMessage(message, level)` method. + var level = typeof captureContext === 'string' ? captureContext : undefined; + var context = typeof captureContext !== 'string' ? { captureContext: captureContext } : undefined; + return callOnHub('captureMessage', message, level, tslib_1.__assign({ originalException: message, syntheticException: syntheticException }, context)); +} +exports.captureMessage = captureMessage; +/** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @returns The generated eventId. + */ +function captureEvent(event) { + return callOnHub('captureEvent', event); +} +exports.captureEvent = captureEvent; +/** + * Callback to set context information onto the scope. + * @param callback Callback function that receives Scope. + */ +function configureScope(callback) { + callOnHub('configureScope', callback); +} +exports.configureScope = configureScope; +/** + * Records a new breadcrumb which will be attached to future events. + * + * Breadcrumbs will be added to subsequent events to provide more context on + * user's actions prior to an error or crash. + * + * @param breadcrumb The breadcrumb to record. + */ +function addBreadcrumb(breadcrumb) { + callOnHub('addBreadcrumb', breadcrumb); +} +exports.addBreadcrumb = addBreadcrumb; +/** + * Sets context data with the given name. + * @param name of the context + * @param context Any kind of data. This data will be normalized. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function setContext(name, context) { + callOnHub('setContext', name, context); +} +exports.setContext = setContext; +/** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ +function setExtras(extras) { + callOnHub('setExtras', extras); +} +exports.setExtras = setExtras; +/** + * Set an object that will be merged sent as tags data with the event. + * @param tags Tags context object to merge into current context. + */ +function setTags(tags) { + callOnHub('setTags', tags); +} +exports.setTags = setTags; +/** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ +function setExtra(key, extra) { + callOnHub('setExtra', key, extra); +} +exports.setExtra = setExtra; +/** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ +function setTag(key, value) { + callOnHub('setTag', key, value); +} +exports.setTag = setTag; +/** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ +function setUser(user) { + callOnHub('setUser', user); +} +exports.setUser = setUser; +/** + * Creates a new scope with and executes the given operation within. + * The scope is automatically removed once the operation + * finishes or throws. + * + * This is essentially a convenience function for: + * + * pushScope(); + * callback(); + * popScope(); + * + * @param callback that will be enclosed into push/popScope. + */ +function withScope(callback) { + callOnHub('withScope', callback); +} +exports.withScope = withScope; +/** + * Calls a function on the latest client. Use this with caution, it's meant as + * in "internal" helper so we don't need to expose every possible function in + * the shim. It is not guaranteed that the client actually implements the + * function. + * + * @param method The method to call on the client/client. + * @param args Arguments to pass to the client/fontend. + * @hidden + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function _callOnClient(method) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + callOnHub.apply(void 0, tslib_1.__spread(['_invokeClient', method], args)); +} +exports._callOnClient = _callOnClient; +/** + * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation. + * + * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a + * new child span within the transaction or any span, call the respective `.startChild()` method. + * + * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded. + * + * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its + * finished child spans will be sent to Sentry. + * + * @param context Properties of the new `Transaction`. + * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent + * default values). See {@link Options.tracesSampler}. + * + * @returns The transaction which was just started + */ +function startTransaction(context, customSamplingContext) { + return callOnHub('startTransaction', tslib_1.__assign({}, context), customSamplingContext); +} +exports.startTransaction = startTransaction; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/minimal/dist/index.js.map b/node_modules/@sentry/minimal/dist/index.js.map new file mode 100644 index 000000000..74655e418 --- /dev/null +++ b/node_modules/@sentry/minimal/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, Hub, Scope } from '@sentry/hub';\nimport {\n Breadcrumb,\n CaptureContext,\n CustomSamplingContext,\n Event,\n Extra,\n Extras,\n Primitive,\n Severity,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\n\n/**\n * This calls a function on the current hub.\n * @param method function to call on hub.\n * @param args to pass to function.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction callOnHub(method: string, ...args: any[]): T {\n const hub = getCurrentHub();\n if (hub && hub[method as keyof Hub]) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (hub[method as keyof Hub] as any)(...args);\n }\n throw new Error(`No hub defined or ${method} was not found on the hub, please open a bug report.`);\n}\n\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @returns The generated eventId.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\nexport function captureException(exception: any, captureContext?: CaptureContext): string {\n let syntheticException: Error;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception as Error;\n }\n return callOnHub('captureException', exception, {\n captureContext,\n originalException: exception,\n syntheticException,\n });\n}\n\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param Severity Define the level of the message.\n * @returns The generated eventId.\n */\nexport function captureMessage(message: string, captureContext?: CaptureContext | Severity): string {\n let syntheticException: Error;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception as Error;\n }\n\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n const level = typeof captureContext === 'string' ? captureContext : undefined;\n const context = typeof captureContext !== 'string' ? { captureContext } : undefined;\n\n return callOnHub('captureMessage', message, level, {\n originalException: message,\n syntheticException,\n ...context,\n });\n}\n\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @returns The generated eventId.\n */\nexport function captureEvent(event: Event): string {\n return callOnHub('captureEvent', event);\n}\n\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n */\nexport function configureScope(callback: (scope: Scope) => void): void {\n callOnHub('configureScope', callback);\n}\n\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\nexport function addBreadcrumb(breadcrumb: Breadcrumb): void {\n callOnHub('addBreadcrumb', breadcrumb);\n}\n\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function setContext(name: string, context: { [key: string]: any } | null): void {\n callOnHub('setContext', name, context);\n}\n\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\nexport function setExtras(extras: Extras): void {\n callOnHub('setExtras', extras);\n}\n\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\nexport function setTags(tags: { [key: string]: Primitive }): void {\n callOnHub('setTags', tags);\n}\n\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\nexport function setExtra(key: string, extra: Extra): void {\n callOnHub('setExtra', key, extra);\n}\n\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\nexport function setTag(key: string, value: Primitive): void {\n callOnHub('setTag', key, value);\n}\n\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\nexport function setUser(user: User | null): void {\n callOnHub('setUser', user);\n}\n\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n *\n * @param callback that will be enclosed into push/popScope.\n */\nexport function withScope(callback: (scope: Scope) => void): void {\n callOnHub('withScope', callback);\n}\n\n/**\n * Calls a function on the latest client. Use this with caution, it's meant as\n * in \"internal\" helper so we don't need to expose every possible function in\n * the shim. It is not guaranteed that the client actually implements the\n * function.\n *\n * @param method The method to call on the client/client.\n * @param args Arguments to pass to the client/fontend.\n * @hidden\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function _callOnClient(method: string, ...args: any[]): void {\n callOnHub('_invokeClient', method, ...args);\n}\n\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n */\nexport function startTransaction(\n context: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n return callOnHub('startTransaction', { ...context }, customSamplingContext);\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/minimal/esm/index.d.ts b/node_modules/@sentry/minimal/esm/index.d.ts new file mode 100644 index 000000000..5a847241c --- /dev/null +++ b/node_modules/@sentry/minimal/esm/index.d.ts @@ -0,0 +1,123 @@ +import { Scope } from '@sentry/hub'; +import { Breadcrumb, CaptureContext, CustomSamplingContext, Event, Extra, Extras, Primitive, Severity, Transaction, TransactionContext, User } from '@sentry/types'; +/** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @returns The generated eventId. + */ +export declare function captureException(exception: any, captureContext?: CaptureContext): string; +/** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param Severity Define the level of the message. + * @returns The generated eventId. + */ +export declare function captureMessage(message: string, captureContext?: CaptureContext | Severity): string; +/** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @returns The generated eventId. + */ +export declare function captureEvent(event: Event): string; +/** + * Callback to set context information onto the scope. + * @param callback Callback function that receives Scope. + */ +export declare function configureScope(callback: (scope: Scope) => void): void; +/** + * Records a new breadcrumb which will be attached to future events. + * + * Breadcrumbs will be added to subsequent events to provide more context on + * user's actions prior to an error or crash. + * + * @param breadcrumb The breadcrumb to record. + */ +export declare function addBreadcrumb(breadcrumb: Breadcrumb): void; +/** + * Sets context data with the given name. + * @param name of the context + * @param context Any kind of data. This data will be normalized. + */ +export declare function setContext(name: string, context: { + [key: string]: any; +} | null): void; +/** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ +export declare function setExtras(extras: Extras): void; +/** + * Set an object that will be merged sent as tags data with the event. + * @param tags Tags context object to merge into current context. + */ +export declare function setTags(tags: { + [key: string]: Primitive; +}): void; +/** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ +export declare function setExtra(key: string, extra: Extra): void; +/** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ +export declare function setTag(key: string, value: Primitive): void; +/** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ +export declare function setUser(user: User | null): void; +/** + * Creates a new scope with and executes the given operation within. + * The scope is automatically removed once the operation + * finishes or throws. + * + * This is essentially a convenience function for: + * + * pushScope(); + * callback(); + * popScope(); + * + * @param callback that will be enclosed into push/popScope. + */ +export declare function withScope(callback: (scope: Scope) => void): void; +/** + * Calls a function on the latest client. Use this with caution, it's meant as + * in "internal" helper so we don't need to expose every possible function in + * the shim. It is not guaranteed that the client actually implements the + * function. + * + * @param method The method to call on the client/client. + * @param args Arguments to pass to the client/fontend. + * @hidden + */ +export declare function _callOnClient(method: string, ...args: any[]): void; +/** + * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation. + * + * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a + * new child span within the transaction or any span, call the respective `.startChild()` method. + * + * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded. + * + * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its + * finished child spans will be sent to Sentry. + * + * @param context Properties of the new `Transaction`. + * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent + * default values). See {@link Options.tracesSampler}. + * + * @returns The transaction which was just started + */ +export declare function startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/minimal/esm/index.d.ts.map b/node_modules/@sentry/minimal/esm/index.d.ts.map new file mode 100644 index 000000000..b004f6ff5 --- /dev/null +++ b/node_modules/@sentry/minimal/esm/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EACL,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,KAAK,EACL,KAAK,EACL,MAAM,EACN,SAAS,EACT,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,IAAI,EACL,MAAM,eAAe,CAAC;AAiBvB;;;;;GAKG;AAEH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAYxF;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,cAAc,GAAG,QAAQ,GAAG,MAAM,CAkBlG;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEjD;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAErE;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAE1D;AAED;;;;GAIG;AAEH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,IAAI,GAAG,IAAI,CAErF;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE9C;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAAG,IAAI,CAEhE;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAExD;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,IAAI,CAE1D;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAE/C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAEhE;AAED;;;;;;;;;GASG;AAEH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAElE;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,kBAAkB,EAC3B,qBAAqB,CAAC,EAAE,qBAAqB,GAC5C,WAAW,CAEb"} \ No newline at end of file diff --git a/node_modules/@sentry/minimal/esm/index.js b/node_modules/@sentry/minimal/esm/index.js new file mode 100644 index 000000000..fcaae1e16 --- /dev/null +++ b/node_modules/@sentry/minimal/esm/index.js @@ -0,0 +1,194 @@ +import { __assign, __read, __spread } from "tslib"; +import { getCurrentHub } from '@sentry/hub'; +/** + * This calls a function on the current hub. + * @param method function to call on hub. + * @param args to pass to function. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function callOnHub(method) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var hub = getCurrentHub(); + if (hub && hub[method]) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return hub[method].apply(hub, __spread(args)); + } + throw new Error("No hub defined or " + method + " was not found on the hub, please open a bug report."); +} +/** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @returns The generated eventId. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types +export function captureException(exception, captureContext) { + var syntheticException; + try { + throw new Error('Sentry syntheticException'); + } + catch (exception) { + syntheticException = exception; + } + return callOnHub('captureException', exception, { + captureContext: captureContext, + originalException: exception, + syntheticException: syntheticException, + }); +} +/** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param Severity Define the level of the message. + * @returns The generated eventId. + */ +export function captureMessage(message, captureContext) { + var syntheticException; + try { + throw new Error(message); + } + catch (exception) { + syntheticException = exception; + } + // This is necessary to provide explicit scopes upgrade, without changing the original + // arity of the `captureMessage(message, level)` method. + var level = typeof captureContext === 'string' ? captureContext : undefined; + var context = typeof captureContext !== 'string' ? { captureContext: captureContext } : undefined; + return callOnHub('captureMessage', message, level, __assign({ originalException: message, syntheticException: syntheticException }, context)); +} +/** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @returns The generated eventId. + */ +export function captureEvent(event) { + return callOnHub('captureEvent', event); +} +/** + * Callback to set context information onto the scope. + * @param callback Callback function that receives Scope. + */ +export function configureScope(callback) { + callOnHub('configureScope', callback); +} +/** + * Records a new breadcrumb which will be attached to future events. + * + * Breadcrumbs will be added to subsequent events to provide more context on + * user's actions prior to an error or crash. + * + * @param breadcrumb The breadcrumb to record. + */ +export function addBreadcrumb(breadcrumb) { + callOnHub('addBreadcrumb', breadcrumb); +} +/** + * Sets context data with the given name. + * @param name of the context + * @param context Any kind of data. This data will be normalized. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export function setContext(name, context) { + callOnHub('setContext', name, context); +} +/** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ +export function setExtras(extras) { + callOnHub('setExtras', extras); +} +/** + * Set an object that will be merged sent as tags data with the event. + * @param tags Tags context object to merge into current context. + */ +export function setTags(tags) { + callOnHub('setTags', tags); +} +/** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ +export function setExtra(key, extra) { + callOnHub('setExtra', key, extra); +} +/** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ +export function setTag(key, value) { + callOnHub('setTag', key, value); +} +/** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ +export function setUser(user) { + callOnHub('setUser', user); +} +/** + * Creates a new scope with and executes the given operation within. + * The scope is automatically removed once the operation + * finishes or throws. + * + * This is essentially a convenience function for: + * + * pushScope(); + * callback(); + * popScope(); + * + * @param callback that will be enclosed into push/popScope. + */ +export function withScope(callback) { + callOnHub('withScope', callback); +} +/** + * Calls a function on the latest client. Use this with caution, it's meant as + * in "internal" helper so we don't need to expose every possible function in + * the shim. It is not guaranteed that the client actually implements the + * function. + * + * @param method The method to call on the client/client. + * @param args Arguments to pass to the client/fontend. + * @hidden + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export function _callOnClient(method) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + callOnHub.apply(void 0, __spread(['_invokeClient', method], args)); +} +/** + * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation. + * + * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a + * new child span within the transaction or any span, call the respective `.startChild()` method. + * + * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded. + * + * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its + * finished child spans will be sent to Sentry. + * + * @param context Properties of the new `Transaction`. + * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent + * default values). See {@link Options.tracesSampler}. + * + * @returns The transaction which was just started + */ +export function startTransaction(context, customSamplingContext) { + return callOnHub('startTransaction', __assign({}, context), customSamplingContext); +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/minimal/esm/index.js.map b/node_modules/@sentry/minimal/esm/index.js.map new file mode 100644 index 000000000..5fb59f7c3 --- /dev/null +++ b/node_modules/@sentry/minimal/esm/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, Hub, Scope } from '@sentry/hub';\nimport {\n Breadcrumb,\n CaptureContext,\n CustomSamplingContext,\n Event,\n Extra,\n Extras,\n Primitive,\n Severity,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\n\n/**\n * This calls a function on the current hub.\n * @param method function to call on hub.\n * @param args to pass to function.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction callOnHub(method: string, ...args: any[]): T {\n const hub = getCurrentHub();\n if (hub && hub[method as keyof Hub]) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (hub[method as keyof Hub] as any)(...args);\n }\n throw new Error(`No hub defined or ${method} was not found on the hub, please open a bug report.`);\n}\n\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @returns The generated eventId.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\nexport function captureException(exception: any, captureContext?: CaptureContext): string {\n let syntheticException: Error;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception as Error;\n }\n return callOnHub('captureException', exception, {\n captureContext,\n originalException: exception,\n syntheticException,\n });\n}\n\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param Severity Define the level of the message.\n * @returns The generated eventId.\n */\nexport function captureMessage(message: string, captureContext?: CaptureContext | Severity): string {\n let syntheticException: Error;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception as Error;\n }\n\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n const level = typeof captureContext === 'string' ? captureContext : undefined;\n const context = typeof captureContext !== 'string' ? { captureContext } : undefined;\n\n return callOnHub('captureMessage', message, level, {\n originalException: message,\n syntheticException,\n ...context,\n });\n}\n\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @returns The generated eventId.\n */\nexport function captureEvent(event: Event): string {\n return callOnHub('captureEvent', event);\n}\n\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n */\nexport function configureScope(callback: (scope: Scope) => void): void {\n callOnHub('configureScope', callback);\n}\n\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\nexport function addBreadcrumb(breadcrumb: Breadcrumb): void {\n callOnHub('addBreadcrumb', breadcrumb);\n}\n\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function setContext(name: string, context: { [key: string]: any } | null): void {\n callOnHub('setContext', name, context);\n}\n\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\nexport function setExtras(extras: Extras): void {\n callOnHub('setExtras', extras);\n}\n\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\nexport function setTags(tags: { [key: string]: Primitive }): void {\n callOnHub('setTags', tags);\n}\n\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\nexport function setExtra(key: string, extra: Extra): void {\n callOnHub('setExtra', key, extra);\n}\n\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\nexport function setTag(key: string, value: Primitive): void {\n callOnHub('setTag', key, value);\n}\n\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\nexport function setUser(user: User | null): void {\n callOnHub('setUser', user);\n}\n\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n *\n * @param callback that will be enclosed into push/popScope.\n */\nexport function withScope(callback: (scope: Scope) => void): void {\n callOnHub('withScope', callback);\n}\n\n/**\n * Calls a function on the latest client. Use this with caution, it's meant as\n * in \"internal\" helper so we don't need to expose every possible function in\n * the shim. It is not guaranteed that the client actually implements the\n * function.\n *\n * @param method The method to call on the client/client.\n * @param args Arguments to pass to the client/fontend.\n * @hidden\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function _callOnClient(method: string, ...args: any[]): void {\n callOnHub('_invokeClient', method, ...args);\n}\n\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n */\nexport function startTransaction(\n context: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n return callOnHub('startTransaction', { ...context }, customSamplingContext);\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/minimal/node_modules/tslib/CopyrightNotice.txt b/node_modules/@sentry/minimal/node_modules/tslib/CopyrightNotice.txt new file mode 100644 index 000000000..3d4c82348 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/CopyrightNotice.txt @@ -0,0 +1,15 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + diff --git a/node_modules/@sentry/minimal/node_modules/tslib/LICENSE.txt b/node_modules/@sentry/minimal/node_modules/tslib/LICENSE.txt new file mode 100644 index 000000000..bfe6430cb --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/LICENSE.txt @@ -0,0 +1,12 @@ +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/node_modules/@sentry/minimal/node_modules/tslib/README.md b/node_modules/@sentry/minimal/node_modules/tslib/README.md new file mode 100644 index 000000000..a5b2692c8 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/README.md @@ -0,0 +1,142 @@ +# tslib + +This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions. + +This library is primarily used by the `--importHelpers` flag in TypeScript. +When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: + +```ts +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +exports.x = {}; +exports.y = __assign({}, exports.x); + +``` + +will instead be emitted as something like the following: + +```ts +var tslib_1 = require("tslib"); +exports.x = {}; +exports.y = tslib_1.__assign({}, exports.x); +``` + +Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. +For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. + +# Installing + +For the latest stable version, run: + +## npm + +```sh +# TypeScript 2.3.3 or later +npm install tslib + +# TypeScript 2.3.2 or earlier +npm install tslib@1.6.1 +``` + +## yarn + +```sh +# TypeScript 2.3.3 or later +yarn add tslib + +# TypeScript 2.3.2 or earlier +yarn add tslib@1.6.1 +``` + +## bower + +```sh +# TypeScript 2.3.3 or later +bower install tslib + +# TypeScript 2.3.2 or earlier +bower install tslib@1.6.1 +``` + +## JSPM + +```sh +# TypeScript 2.3.3 or later +jspm install tslib + +# TypeScript 2.3.2 or earlier +jspm install tslib@1.6.1 +``` + +# Usage + +Set the `importHelpers` compiler option on the command line: + +``` +tsc --importHelpers file.ts +``` + +or in your tsconfig.json: + +```json +{ + "compilerOptions": { + "importHelpers": true + } +} +``` + +#### For bower and JSPM users + +You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: + +```json +{ + "compilerOptions": { + "module": "amd", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["bower_components/tslib/tslib.d.ts"] + } + } +} +``` + +For JSPM users: + +```json +{ + "compilerOptions": { + "module": "system", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["jspm_packages/npm/tslib@1.[version].0/tslib.d.ts"] + } + } +} +``` + + +# Contribute + +There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. + +* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. +* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). +* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). +* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. +* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). + +# Documentation + +* [Quick tutorial](http://www.typescriptlang.org/Tutorial) +* [Programming handbook](http://www.typescriptlang.org/Handbook) +* [Homepage](http://www.typescriptlang.org/) diff --git a/node_modules/@sentry/minimal/node_modules/tslib/modules/index.js b/node_modules/@sentry/minimal/node_modules/tslib/modules/index.js new file mode 100644 index 000000000..d241d0422 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/modules/index.js @@ -0,0 +1,51 @@ +import tslib from '../tslib.js'; +const { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +} = tslib; +export { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +}; diff --git a/node_modules/@sentry/minimal/node_modules/tslib/modules/package.json b/node_modules/@sentry/minimal/node_modules/tslib/modules/package.json new file mode 100644 index 000000000..aafa0e4b4 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/modules/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/node_modules/@sentry/minimal/node_modules/tslib/package.json b/node_modules/@sentry/minimal/node_modules/tslib/package.json new file mode 100644 index 000000000..8c1aaa0fa --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/package.json @@ -0,0 +1,64 @@ +{ + "_from": "tslib@^1.9.3", + "_id": "tslib@1.14.1", + "_inBundle": false, + "_integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "_location": "/@sentry/minimal/tslib", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "tslib@^1.9.3", + "name": "tslib", + "escapedName": "tslib", + "rawSpec": "^1.9.3", + "saveSpec": null, + "fetchSpec": "^1.9.3" + }, + "_requiredBy": [ + "/@sentry/minimal" + ], + "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "_shasum": "cf2d38bdc34a134bcaf1091c41f6619e2f672d00", + "_spec": "tslib@^1.9.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/minimal", + "author": { + "name": "Microsoft Corp." + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Runtime library for TypeScript helper functions", + "exports": { + ".": { + "module": "./tslib.es6.js", + "import": "./modules/index.js", + "default": "./tslib.js" + }, + "./": "./" + }, + "homepage": "https://www.typescriptlang.org/", + "jsnext:main": "tslib.es6.js", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "license": "0BSD", + "main": "tslib.js", + "module": "tslib.es6.js", + "name": "tslib", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/tslib.git" + }, + "sideEffects": false, + "typings": "tslib.d.ts", + "version": "1.14.1" +} diff --git a/node_modules/@sentry/minimal/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js b/node_modules/@sentry/minimal/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js new file mode 100644 index 000000000..0c1b613d8 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js @@ -0,0 +1,23 @@ +// When on node 14, it validates that all of the commonjs exports +// are correctly re-exported for es modules importers. + +const nodeMajor = Number(process.version.split(".")[0].slice(1)) +if (nodeMajor < 14) { + console.log("Skipping because node does not support module exports.") + process.exit(0) +} + +// ES Modules import via the ./modules folder +import * as esTSLib from "../../modules/index.js" + +// Force a commonjs resolve +import { createRequire } from "module"; +const commonJSTSLib = createRequire(import.meta.url)("../../tslib.js"); + +for (const key in commonJSTSLib) { + if (commonJSTSLib.hasOwnProperty(key)) { + if(!esTSLib[key]) throw new Error(`ESModules is missing ${key} - it needs to be re-exported in ./modules/index.js`) + } +} + +console.log("All exports in commonjs are available for es module consumers.") diff --git a/node_modules/@sentry/minimal/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json b/node_modules/@sentry/minimal/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json new file mode 100644 index 000000000..166e5095e --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json @@ -0,0 +1,6 @@ +{ + "type": "module", + "scripts": { + "test": "node index.js" + } +} diff --git a/node_modules/@sentry/minimal/node_modules/tslib/tslib.d.ts b/node_modules/@sentry/minimal/node_modules/tslib/tslib.d.ts new file mode 100644 index 000000000..0756b28e7 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/tslib.d.ts @@ -0,0 +1,37 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +export declare function __extends(d: Function, b: Function): void; +export declare function __assign(t: any, ...sources: any[]): any; +export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; +export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; +export declare function __param(paramIndex: number, decorator: Function): Function; +export declare function __metadata(metadataKey: any, metadataValue: any): Function; +export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; +export declare function __generator(thisArg: any, body: Function): any; +export declare function __exportStar(m: any, exports: any): void; +export declare function __values(o: any): any; +export declare function __read(o: any, n?: number): any[]; +export declare function __spread(...args: any[][]): any[]; +export declare function __spreadArrays(...args: any[][]): any[]; +export declare function __await(v: any): any; +export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; +export declare function __asyncDelegator(o: any): any; +export declare function __asyncValues(o: any): any; +export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; +export declare function __importStar(mod: T): T; +export declare function __importDefault(mod: T): T | { default: T }; +export declare function __classPrivateFieldGet(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V; +export declare function __classPrivateFieldSet(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V; +export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; \ No newline at end of file diff --git a/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.html b/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.html new file mode 100644 index 000000000..b122e41b0 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js b/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js new file mode 100644 index 000000000..0e0d8d079 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js @@ -0,0 +1,218 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +export function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +export var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +export function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +export function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +export function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +export function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +export function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +export function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +export function __createBinding(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +} + +export function __exportStar(m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; +} + +export function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} + +export function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +export function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +export function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +}; + +export function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +export function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +export function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } +} + +export function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +export function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +export function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result.default = mod; + return result; +} + +export function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + +export function __classPrivateFieldGet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); +} + +export function __classPrivateFieldSet(receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; +} diff --git a/node_modules/@sentry/minimal/node_modules/tslib/tslib.html b/node_modules/@sentry/minimal/node_modules/tslib/tslib.html new file mode 100644 index 000000000..44c9ba51e --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/tslib.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/minimal/node_modules/tslib/tslib.js b/node_modules/@sentry/minimal/node_modules/tslib/tslib.js new file mode 100644 index 000000000..e5b7c9b80 --- /dev/null +++ b/node_modules/@sentry/minimal/node_modules/tslib/tslib.js @@ -0,0 +1,284 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + +/* global global, define, System, Reflect, Promise */ +var __extends; +var __assign; +var __rest; +var __decorate; +var __param; +var __metadata; +var __awaiter; +var __generator; +var __exportStar; +var __values; +var __read; +var __spread; +var __spreadArrays; +var __await; +var __asyncGenerator; +var __asyncDelegator; +var __asyncValues; +var __makeTemplateObject; +var __importStar; +var __importDefault; +var __classPrivateFieldGet; +var __classPrivateFieldSet; +var __createBinding; +(function (factory) { + var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; + if (typeof define === "function" && define.amd) { + define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); + } + else if (typeof module === "object" && typeof module.exports === "object") { + factory(createExporter(root, createExporter(module.exports))); + } + else { + factory(createExporter(root)); + } + function createExporter(exports, previous) { + if (exports !== root) { + if (typeof Object.create === "function") { + Object.defineProperty(exports, "__esModule", { value: true }); + } + else { + exports.__esModule = true; + } + } + return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; + } +}) +(function (exporter) { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + + __extends = function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + + __assign = Object.assign || function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + + __rest = function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + }; + + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + }; + + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + }; + + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); + }; + + __awaiter = function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + + __generator = function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + + __createBinding = function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }; + + __exportStar = function (m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; + }; + + __values = function (o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + }; + + __makeTemplateObject = function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + }; + + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; + }; + + __importDefault = function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + + __classPrivateFieldGet = function (receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); + }; + + __classPrivateFieldSet = function (receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; + }; + + exporter("__extends", __extends); + exporter("__assign", __assign); + exporter("__rest", __rest); + exporter("__decorate", __decorate); + exporter("__param", __param); + exporter("__metadata", __metadata); + exporter("__awaiter", __awaiter); + exporter("__generator", __generator); + exporter("__exportStar", __exportStar); + exporter("__createBinding", __createBinding); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__spreadArrays", __spreadArrays); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + exporter("__makeTemplateObject", __makeTemplateObject); + exporter("__importStar", __importStar); + exporter("__importDefault", __importDefault); + exporter("__classPrivateFieldGet", __classPrivateFieldGet); + exporter("__classPrivateFieldSet", __classPrivateFieldSet); +}); diff --git a/node_modules/@sentry/minimal/package.json b/node_modules/@sentry/minimal/package.json new file mode 100644 index 000000000..ff99c5d44 --- /dev/null +++ b/node_modules/@sentry/minimal/package.json @@ -0,0 +1,106 @@ +{ + "_from": "@sentry/minimal@6.17.9", + "_id": "@sentry/minimal@6.17.9", + "_inBundle": false, + "_integrity": "sha512-T3PMCHcKk6lkZq6zKgANrYJJxXBXKOe+ousV1Fas1rVBMv7dtKfsa4itqQHszcW9shusPDiaQKIJ4zRLE5LKmg==", + "_location": "/@sentry/minimal", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@sentry/minimal@6.17.9", + "name": "@sentry/minimal", + "escapedName": "@sentry%2fminimal", + "scope": "@sentry", + "rawSpec": "6.17.9", + "saveSpec": null, + "fetchSpec": "6.17.9" + }, + "_requiredBy": [ + "/@sentry/core", + "/@sentry/tracing" + ], + "_resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.17.9.tgz", + "_shasum": "0edca978097b3f56463ede028395d40adbf2ae84", + "_spec": "@sentry/minimal@6.17.9", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/core", + "author": { + "name": "Sentry" + }, + "bugs": { + "url": "https://github.com/getsentry/sentry-javascript/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@sentry/hub": "6.17.9", + "@sentry/types": "6.17.9", + "tslib": "^1.9.3" + }, + "deprecated": false, + "description": "Sentry minimal library that can be used in other packages", + "engines": { + "node": ">=6" + }, + "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/minimal", + "jest": { + "collectCoverage": true, + "transform": { + "^.+\\.ts$": "ts-jest" + }, + "moduleFileExtensions": [ + "js", + "ts" + ], + "testEnvironment": "node", + "testMatch": [ + "**/*.test.ts" + ], + "globals": { + "ts-jest": { + "tsConfig": "./tsconfig.json", + "diagnostics": false + } + } + }, + "license": "BSD-3-Clause", + "main": "dist/index.js", + "module": "esm/index.js", + "name": "@sentry/minimal", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git://github.com/getsentry/sentry-javascript.git" + }, + "scripts": { + "build": "run-p build:cjs build:esm", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", + "build:dev": "run-s build", + "build:dev:watch": "run-s build:watch", + "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", + "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", + "build:esm": "tsc -p tsconfig.esm.json", + "build:esm:watch": "tsc -p tsconfig.esm.json --watch", + "build:watch": "run-p build:cjs:watch build:esm:watch", + "circularDepCheck": "madge --circular src/index.ts", + "clean": "rimraf dist esm coverage", + "fix": "run-s fix:eslint fix:prettier", + "fix:eslint": "eslint . --format stylish --fix", + "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"", + "link:yarn": "yarn link", + "lint": "run-s lint:prettier lint:eslint", + "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish", + "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"", + "pack": "npm pack", + "test": "jest", + "test:watch": "jest --watch" + }, + "sideEffects": false, + "types": "dist/index.d.ts", + "version": "6.17.9", + "volta": { + "extends": "../../package.json" + } +} diff --git a/node_modules/@sentry/node/LICENSE b/node_modules/@sentry/node/LICENSE new file mode 100644 index 000000000..8b42db873 --- /dev/null +++ b/node_modules/@sentry/node/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Sentry +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@sentry/node/README.md b/node_modules/@sentry/node/README.md new file mode 100644 index 000000000..f59c831b0 --- /dev/null +++ b/node_modules/@sentry/node/README.md @@ -0,0 +1,64 @@ +

+ + + +
+

+ +# Official Sentry SDK for NodeJS + +[![npm version](https://img.shields.io/npm/v/@sentry/node.svg)](https://www.npmjs.com/package/@sentry/node) +[![npm dm](https://img.shields.io/npm/dm/@sentry/node.svg)](https://www.npmjs.com/package/@sentry/node) +[![npm dt](https://img.shields.io/npm/dt/@sentry/node.svg)](https://www.npmjs.com/package/@sentry/node) +[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/) + +## Links + +- [Official SDK Docs](https://docs.sentry.io/quickstart/) +- [TypeDoc](http://getsentry.github.io/sentry-javascript/) + +## Usage + +To use this SDK, call `init(options)` as early as possible in the main entry module. This will initialize the SDK and +hook into the environment. Note that you can turn off almost all side effects using the respective options. + +```javascript +// ES5 Syntax +const Sentry = require('@sentry/node'); +// ES6 Syntax +import * as Sentry from '@sentry/node'; + +Sentry.init({ + dsn: '__DSN__', + // ... +}); +``` + +To set context information or send manual events, use the exported functions of `@sentry/node`. Note that these +functions will not perform any action before you have called `init()`: + +```javascript +// Set user information, as well as tags and further extras +Sentry.configureScope(scope => { + scope.setExtra('battery', 0.7); + scope.setTag('user_mode', 'admin'); + scope.setUser({ id: '4711' }); + // scope.clear(); +}); + +// Add a breadcrumb for future events +Sentry.addBreadcrumb({ + message: 'My Breadcrumb', + // ... +}); + +// Capture exceptions, messages or manual events +Sentry.captureMessage('Hello, world!'); +Sentry.captureException(new Error('Good bye')); +Sentry.captureEvent({ + message: 'Manual', + stacktrace: [ + // ... + ], +}); +``` diff --git a/node_modules/@sentry/node/dist/backend.d.ts b/node_modules/@sentry/node/dist/backend.d.ts new file mode 100644 index 000000000..e5701e007 --- /dev/null +++ b/node_modules/@sentry/node/dist/backend.d.ts @@ -0,0 +1,22 @@ +import { BaseBackend } from '@sentry/core'; +import { Event, EventHint, Severity, Transport } from '@sentry/types'; +import { NodeOptions } from './types'; +/** + * The Sentry Node SDK Backend. + * @hidden + */ +export declare class NodeBackend extends BaseBackend { + /** + * @inheritDoc + */ + eventFromException(exception: any, hint?: EventHint): PromiseLike; + /** + * @inheritDoc + */ + eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike; + /** + * @inheritDoc + */ + protected _setupTransport(): Transport; +} +//# sourceMappingURL=backend.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/backend.d.ts.map b/node_modules/@sentry/node/dist/backend.d.ts.map new file mode 100644 index 000000000..f8f26a105 --- /dev/null +++ b/node_modules/@sentry/node/dist/backend.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAoB,MAAM,eAAe,CAAC;AAKxF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;;GAGG;AACH,qBAAa,WAAY,SAAQ,WAAW,CAAC,WAAW,CAAC;IACvD;;OAEG;IAEI,kBAAkB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAI/E;;OAEG;IACI,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,QAAwB,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAI/G;;OAEG;IACH,SAAS,CAAC,eAAe,IAAI,SAAS;CA0BvC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/backend.js b/node_modules/@sentry/node/dist/backend.js new file mode 100644 index 000000000..d9e8e10c2 --- /dev/null +++ b/node_modules/@sentry/node/dist/backend.js @@ -0,0 +1,52 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var types_1 = require("@sentry/types"); +var utils_1 = require("@sentry/utils"); +var eventbuilder_1 = require("./eventbuilder"); +var transports_1 = require("./transports"); +/** + * The Sentry Node SDK Backend. + * @hidden + */ +var NodeBackend = /** @class */ (function (_super) { + tslib_1.__extends(NodeBackend, _super); + function NodeBackend() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + NodeBackend.prototype.eventFromException = function (exception, hint) { + return eventbuilder_1.eventFromException(this._options, exception, hint); + }; + /** + * @inheritDoc + */ + NodeBackend.prototype.eventFromMessage = function (message, level, hint) { + if (level === void 0) { level = types_1.Severity.Info; } + return eventbuilder_1.eventFromMessage(this._options, message, level, hint); + }; + /** + * @inheritDoc + */ + NodeBackend.prototype._setupTransport = function () { + if (!this._options.dsn) { + // We return the noop transport here in case there is no Dsn. + return _super.prototype._setupTransport.call(this); + } + var dsn = utils_1.makeDsn(this._options.dsn); + var transportOptions = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, this._options.transportOptions), (this._options.httpProxy && { httpProxy: this._options.httpProxy })), (this._options.httpsProxy && { httpsProxy: this._options.httpsProxy })), (this._options.caCerts && { caCerts: this._options.caCerts })), { dsn: this._options.dsn, tunnel: this._options.tunnel, _metadata: this._options._metadata }); + if (this._options.transport) { + return new this._options.transport(transportOptions); + } + if (dsn.protocol === 'http') { + return new transports_1.HTTPTransport(transportOptions); + } + return new transports_1.HTTPSTransport(transportOptions); + }; + return NodeBackend; +}(core_1.BaseBackend)); +exports.NodeBackend = NodeBackend; +//# sourceMappingURL=backend.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/backend.js.map b/node_modules/@sentry/node/dist/backend.js.map new file mode 100644 index 000000000..0239e0821 --- /dev/null +++ b/node_modules/@sentry/node/dist/backend.js.map @@ -0,0 +1 @@ +{"version":3,"file":"backend.js","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":";;AAAA,qCAA2C;AAC3C,uCAAwF;AACxF,uCAAwC;AAExC,+CAAsE;AACtE,2CAA6D;AAG7D;;;GAGG;AACH;IAAiC,uCAAwB;IAAzD;;IA6CA,CAAC;IA5CC;;OAEG;IACH,iHAAiH;IAC1G,wCAAkB,GAAzB,UAA0B,SAAc,EAAE,IAAgB;QACxD,OAAO,iCAAkB,CAAC,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACI,sCAAgB,GAAvB,UAAwB,OAAe,EAAE,KAA+B,EAAE,IAAgB;QAAjD,sBAAA,EAAA,QAAkB,gBAAQ,CAAC,IAAI;QACtE,OAAO,+BAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACO,qCAAe,GAAzB;QACE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;YACtB,6DAA6D;YAC7D,OAAO,iBAAM,eAAe,WAAE,CAAC;SAChC;QAED,IAAM,GAAG,GAAG,eAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAEvC,IAAM,gBAAgB,4FACjB,IAAI,CAAC,QAAQ,CAAC,gBAAgB,GAC9B,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC,GACnE,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC,GACtE,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAChE,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EACtB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,EAC5B,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,GACnC,CAAC;QAEF,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE;YAC3B,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;SACtD;QACD,IAAI,GAAG,CAAC,QAAQ,KAAK,MAAM,EAAE;YAC3B,OAAO,IAAI,0BAAa,CAAC,gBAAgB,CAAC,CAAC;SAC5C;QACD,OAAO,IAAI,2BAAc,CAAC,gBAAgB,CAAC,CAAC;IAC9C,CAAC;IACH,kBAAC;AAAD,CAAC,AA7CD,CAAiC,kBAAW,GA6C3C;AA7CY,kCAAW","sourcesContent":["import { BaseBackend } from '@sentry/core';\nimport { Event, EventHint, Severity, Transport, TransportOptions } from '@sentry/types';\nimport { makeDsn } from '@sentry/utils';\n\nimport { eventFromException, eventFromMessage } from './eventbuilder';\nimport { HTTPSTransport, HTTPTransport } from './transports';\nimport { NodeOptions } from './types';\n\n/**\n * The Sentry Node SDK Backend.\n * @hidden\n */\nexport class NodeBackend extends BaseBackend {\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public eventFromException(exception: any, hint?: EventHint): PromiseLike {\n return eventFromException(this._options, exception, hint);\n }\n\n /**\n * @inheritDoc\n */\n public eventFromMessage(message: string, level: Severity = Severity.Info, hint?: EventHint): PromiseLike {\n return eventFromMessage(this._options, message, level, hint);\n }\n\n /**\n * @inheritDoc\n */\n protected _setupTransport(): Transport {\n if (!this._options.dsn) {\n // We return the noop transport here in case there is no Dsn.\n return super._setupTransport();\n }\n\n const dsn = makeDsn(this._options.dsn);\n\n const transportOptions: TransportOptions = {\n ...this._options.transportOptions,\n ...(this._options.httpProxy && { httpProxy: this._options.httpProxy }),\n ...(this._options.httpsProxy && { httpsProxy: this._options.httpsProxy }),\n ...(this._options.caCerts && { caCerts: this._options.caCerts }),\n dsn: this._options.dsn,\n tunnel: this._options.tunnel,\n _metadata: this._options._metadata,\n };\n\n if (this._options.transport) {\n return new this._options.transport(transportOptions);\n }\n if (dsn.protocol === 'http') {\n return new HTTPTransport(transportOptions);\n }\n return new HTTPSTransport(transportOptions);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/client.d.ts b/node_modules/@sentry/node/dist/client.d.ts new file mode 100644 index 000000000..f2bb99bd5 --- /dev/null +++ b/node_modules/@sentry/node/dist/client.d.ts @@ -0,0 +1,44 @@ +import { BaseClient, Scope } from '@sentry/core'; +import { SessionFlusher } from '@sentry/hub'; +import { Event, EventHint } from '@sentry/types'; +import { NodeBackend } from './backend'; +import { NodeOptions } from './types'; +/** + * The Sentry Node SDK Client. + * + * @see NodeOptions for documentation on configuration options. + * @see SentryClient for usage documentation. + */ +export declare class NodeClient extends BaseClient { + protected _sessionFlusher: SessionFlusher | undefined; + /** + * Creates a new Node SDK instance. + * @param options Configuration options for this SDK. + */ + constructor(options: NodeOptions); + /** + * @inheritDoc + */ + captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined; + /** + * @inheritDoc + */ + captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined; + /** + * + * @inheritdoc + */ + close(timeout?: number): PromiseLike; + /** Method that initialises an instance of SessionFlusher on Client */ + initSessionFlusher(): void; + /** + * @inheritDoc + */ + protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike; + /** + * Method responsible for capturing/ending a request session by calling `incrementSessionStatusCount` to increment + * appropriate session aggregates bucket + */ + protected _captureRequestSession(): void; +} +//# sourceMappingURL=client.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/client.d.ts.map b/node_modules/@sentry/node/dist/client.d.ts.map new file mode 100644 index 000000000..d6d9afd9f --- /dev/null +++ b/node_modules/@sentry/node/dist/client.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAe,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAGjD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,UAAU,CAAC,WAAW,EAAE,WAAW,CAAC;IAClE,SAAS,CAAC,eAAe,EAAE,cAAc,GAAG,SAAS,CAAC;IAEtD;;;OAGG;gBACgB,OAAO,EAAE,WAAW;IAgBvC;;OAEG;IAEI,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS;IAiB5F;;OAEG;IACI,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS;IAwBtF;;;OAGG;IACI,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC;IAKpD,sEAAsE;IAC/D,kBAAkB,IAAI,IAAI;IAYjC;;OAEG;IACH,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC;IAQjG;;;OAGG;IACH,SAAS,CAAC,sBAAsB,IAAI,IAAI;CAOzC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/client.js b/node_modules/@sentry/node/dist/client.js new file mode 100644 index 000000000..02ef27b6d --- /dev/null +++ b/node_modules/@sentry/node/dist/client.js @@ -0,0 +1,122 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var hub_1 = require("@sentry/hub"); +var utils_1 = require("@sentry/utils"); +var backend_1 = require("./backend"); +/** + * The Sentry Node SDK Client. + * + * @see NodeOptions for documentation on configuration options. + * @see SentryClient for usage documentation. + */ +var NodeClient = /** @class */ (function (_super) { + tslib_1.__extends(NodeClient, _super); + /** + * Creates a new Node SDK instance. + * @param options Configuration options for this SDK. + */ + function NodeClient(options) { + var _this = this; + options._metadata = options._metadata || {}; + options._metadata.sdk = options._metadata.sdk || { + name: 'sentry.javascript.node', + packages: [ + { + name: 'npm:@sentry/node', + version: core_1.SDK_VERSION, + }, + ], + version: core_1.SDK_VERSION, + }; + _this = _super.call(this, backend_1.NodeBackend, options) || this; + return _this; + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + NodeClient.prototype.captureException = function (exception, hint, scope) { + // Check if the flag `autoSessionTracking` is enabled, and if `_sessionFlusher` exists because it is initialised only + // when the `requestHandler` middleware is used, and hence the expectation is to have SessionAggregates payload + // sent to the Server only when the `requestHandler` middleware is used + if (this._options.autoSessionTracking && this._sessionFlusher && scope) { + var requestSession = scope.getRequestSession(); + // Necessary checks to ensure this is code block is executed only within a request + // Should override the status only if `requestSession.status` is `Ok`, which is its initial stage + if (requestSession && requestSession.status === 'ok') { + requestSession.status = 'errored'; + } + } + return _super.prototype.captureException.call(this, exception, hint, scope); + }; + /** + * @inheritDoc + */ + NodeClient.prototype.captureEvent = function (event, hint, scope) { + // Check if the flag `autoSessionTracking` is enabled, and if `_sessionFlusher` exists because it is initialised only + // when the `requestHandler` middleware is used, and hence the expectation is to have SessionAggregates payload + // sent to the Server only when the `requestHandler` middleware is used + if (this._options.autoSessionTracking && this._sessionFlusher && scope) { + var eventType = event.type || 'exception'; + var isException = eventType === 'exception' && event.exception && event.exception.values && event.exception.values.length > 0; + // If the event is of type Exception, then a request session should be captured + if (isException) { + var requestSession = scope.getRequestSession(); + // Ensure that this is happening within the bounds of a request, and make sure not to override + // Session Status if Errored / Crashed + if (requestSession && requestSession.status === 'ok') { + requestSession.status = 'errored'; + } + } + } + return _super.prototype.captureEvent.call(this, event, hint, scope); + }; + /** + * + * @inheritdoc + */ + NodeClient.prototype.close = function (timeout) { + var _a; + (_a = this._sessionFlusher) === null || _a === void 0 ? void 0 : _a.close(); + return _super.prototype.close.call(this, timeout); + }; + /** Method that initialises an instance of SessionFlusher on Client */ + NodeClient.prototype.initSessionFlusher = function () { + var _a = this._options, release = _a.release, environment = _a.environment; + if (!release) { + utils_1.logger.warn('Cannot initialise an instance of SessionFlusher if no release is provided!'); + } + else { + this._sessionFlusher = new hub_1.SessionFlusher(this.getTransport(), { + release: release, + environment: environment, + }); + } + }; + /** + * @inheritDoc + */ + NodeClient.prototype._prepareEvent = function (event, scope, hint) { + event.platform = event.platform || 'node'; + if (this.getOptions().serverName) { + event.server_name = this.getOptions().serverName; + } + return _super.prototype._prepareEvent.call(this, event, scope, hint); + }; + /** + * Method responsible for capturing/ending a request session by calling `incrementSessionStatusCount` to increment + * appropriate session aggregates bucket + */ + NodeClient.prototype._captureRequestSession = function () { + if (!this._sessionFlusher) { + utils_1.logger.warn('Discarded request mode session because autoSessionTracking option was disabled'); + } + else { + this._sessionFlusher.incrementSessionStatusCount(); + } + }; + return NodeClient; +}(core_1.BaseClient)); +exports.NodeClient = NodeClient; +//# sourceMappingURL=client.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/client.js.map b/node_modules/@sentry/node/dist/client.js.map new file mode 100644 index 000000000..642132e27 --- /dev/null +++ b/node_modules/@sentry/node/dist/client.js.map @@ -0,0 +1 @@ +{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"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","sourcesContent":["import { BaseClient, Scope, SDK_VERSION } from '@sentry/core';\nimport { SessionFlusher } from '@sentry/hub';\nimport { Event, EventHint } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\nimport { NodeBackend } from './backend';\nimport { NodeOptions } from './types';\n\n/**\n * The Sentry Node SDK Client.\n *\n * @see NodeOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\nexport class NodeClient extends BaseClient {\n protected _sessionFlusher: SessionFlusher | undefined;\n\n /**\n * Creates a new Node SDK instance.\n * @param options Configuration options for this SDK.\n */\n public constructor(options: NodeOptions) {\n options._metadata = options._metadata || {};\n options._metadata.sdk = options._metadata.sdk || {\n name: 'sentry.javascript.node',\n packages: [\n {\n name: 'npm:@sentry/node',\n version: SDK_VERSION,\n },\n ],\n version: SDK_VERSION,\n };\n\n super(NodeBackend, options);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined {\n // Check if the flag `autoSessionTracking` is enabled, and if `_sessionFlusher` exists because it is initialised only\n // when the `requestHandler` middleware is used, and hence the expectation is to have SessionAggregates payload\n // sent to the Server only when the `requestHandler` middleware is used\n if (this._options.autoSessionTracking && this._sessionFlusher && scope) {\n const requestSession = scope.getRequestSession();\n\n // Necessary checks to ensure this is code block is executed only within a request\n // Should override the status only if `requestSession.status` is `Ok`, which is its initial stage\n if (requestSession && requestSession.status === 'ok') {\n requestSession.status = 'errored';\n }\n }\n\n return super.captureException(exception, hint, scope);\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined {\n // Check if the flag `autoSessionTracking` is enabled, and if `_sessionFlusher` exists because it is initialised only\n // when the `requestHandler` middleware is used, and hence the expectation is to have SessionAggregates payload\n // sent to the Server only when the `requestHandler` middleware is used\n if (this._options.autoSessionTracking && this._sessionFlusher && scope) {\n const eventType = event.type || 'exception';\n const isException =\n eventType === 'exception' && event.exception && event.exception.values && event.exception.values.length > 0;\n\n // If the event is of type Exception, then a request session should be captured\n if (isException) {\n const requestSession = scope.getRequestSession();\n\n // Ensure that this is happening within the bounds of a request, and make sure not to override\n // Session Status if Errored / Crashed\n if (requestSession && requestSession.status === 'ok') {\n requestSession.status = 'errored';\n }\n }\n }\n\n return super.captureEvent(event, hint, scope);\n }\n\n /**\n *\n * @inheritdoc\n */\n public close(timeout?: number): PromiseLike {\n this._sessionFlusher?.close();\n return super.close(timeout);\n }\n\n /** Method that initialises an instance of SessionFlusher on Client */\n public initSessionFlusher(): void {\n const { release, environment } = this._options;\n if (!release) {\n logger.warn('Cannot initialise an instance of SessionFlusher if no release is provided!');\n } else {\n this._sessionFlusher = new SessionFlusher(this.getTransport(), {\n release,\n environment,\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike {\n event.platform = event.platform || 'node';\n if (this.getOptions().serverName) {\n event.server_name = this.getOptions().serverName;\n }\n return super._prepareEvent(event, scope, hint);\n }\n\n /**\n * Method responsible for capturing/ending a request session by calling `incrementSessionStatusCount` to increment\n * appropriate session aggregates bucket\n */\n protected _captureRequestSession(): void {\n if (!this._sessionFlusher) {\n logger.warn('Discarded request mode session because autoSessionTracking option was disabled');\n } else {\n this._sessionFlusher.incrementSessionStatusCount();\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/eventbuilder.d.ts b/node_modules/@sentry/node/dist/eventbuilder.d.ts new file mode 100644 index 000000000..aabe82f1c --- /dev/null +++ b/node_modules/@sentry/node/dist/eventbuilder.d.ts @@ -0,0 +1,12 @@ +import { Event, EventHint, Options, Severity } from '@sentry/types'; +/** + * Builds and Event from a Exception + * @hidden + */ +export declare function eventFromException(options: Options, exception: unknown, hint?: EventHint): PromiseLike; +/** + * Builds and Event from a Message + * @hidden + */ +export declare function eventFromMessage(options: Options, message: string, level?: Severity, hint?: EventHint): PromiseLike; +//# sourceMappingURL=eventbuilder.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/eventbuilder.d.ts.map b/node_modules/@sentry/node/dist/eventbuilder.d.ts.map new file mode 100644 index 000000000..a0babdd6b --- /dev/null +++ b/node_modules/@sentry/node/dist/eventbuilder.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"eventbuilder.d.ts","sourceRoot":"","sources":["../src/eventbuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAa,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAa/E;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,CA4C7G;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,QAAwB,EAC/B,IAAI,CAAC,EAAE,SAAS,GACf,WAAW,CAAC,KAAK,CAAC,CAwBpB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/eventbuilder.js b/node_modules/@sentry/node/dist/eventbuilder.js new file mode 100644 index 000000000..419db9bfa --- /dev/null +++ b/node_modules/@sentry/node/dist/eventbuilder.js @@ -0,0 +1,80 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var hub_1 = require("@sentry/hub"); +var types_1 = require("@sentry/types"); +var utils_1 = require("@sentry/utils"); +var parsers_1 = require("./parsers"); +/** + * Builds and Event from a Exception + * @hidden + */ +function eventFromException(options, exception, hint) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var ex = exception; + var providedMechanism = hint && hint.data && hint.data.mechanism; + var mechanism = providedMechanism || { + handled: true, + type: 'generic', + }; + if (!utils_1.isError(exception)) { + if (utils_1.isPlainObject(exception)) { + // This will allow us to group events based on top-level keys + // which is much better than creating new group when any key/value change + var message = "Non-Error exception captured with keys: " + utils_1.extractExceptionKeysForMessage(exception); + hub_1.getCurrentHub().configureScope(function (scope) { + scope.setExtra('__serialized__', utils_1.normalizeToSize(exception)); + }); + ex = (hint && hint.syntheticException) || new Error(message); + ex.message = message; + } + else { + // This handles when someone does: `throw "something awesome";` + // We use synthesized Error here so we can extract a (rough) stack trace. + ex = (hint && hint.syntheticException) || new Error(exception); + ex.message = exception; + } + mechanism.synthetic = true; + } + return new utils_1.SyncPromise(function (resolve, reject) { + return parsers_1.parseError(ex, options) + .then(function (event) { + utils_1.addExceptionTypeValue(event, undefined, undefined); + utils_1.addExceptionMechanism(event, mechanism); + resolve(tslib_1.__assign(tslib_1.__assign({}, event), { event_id: hint && hint.event_id })); + }) + .then(null, reject); + }); +} +exports.eventFromException = eventFromException; +/** + * Builds and Event from a Message + * @hidden + */ +function eventFromMessage(options, message, level, hint) { + if (level === void 0) { level = types_1.Severity.Info; } + var event = { + event_id: hint && hint.event_id, + level: level, + message: message, + }; + return new utils_1.SyncPromise(function (resolve) { + if (options.attachStacktrace && hint && hint.syntheticException) { + var stack = hint.syntheticException ? parsers_1.extractStackFromError(hint.syntheticException) : []; + void parsers_1.parseStack(stack, options) + .then(function (frames) { + event.stacktrace = { + frames: parsers_1.prepareFramesForEvent(frames), + }; + resolve(event); + }) + .then(null, function () { + resolve(event); + }); + } + else { + resolve(event); + } + }); +} +exports.eventFromMessage = eventFromMessage; +//# sourceMappingURL=eventbuilder.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/eventbuilder.js.map b/node_modules/@sentry/node/dist/eventbuilder.js.map new file mode 100644 index 000000000..436b2ec46 --- /dev/null +++ b/node_modules/@sentry/node/dist/eventbuilder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"eventbuilder.js","sourceRoot":"","sources":["../src/eventbuilder.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub } from '@sentry/hub';\nimport { Event, EventHint, Mechanism, Options, Severity } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addExceptionTypeValue,\n extractExceptionKeysForMessage,\n isError,\n isPlainObject,\n normalizeToSize,\n SyncPromise,\n} from '@sentry/utils';\n\nimport { extractStackFromError, parseError, parseStack, prepareFramesForEvent } from './parsers';\n\n/**\n * Builds and Event from a Exception\n * @hidden\n */\nexport function eventFromException(options: Options, exception: unknown, hint?: EventHint): PromiseLike {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let ex: any = exception;\n const providedMechanism: Mechanism | undefined =\n hint && hint.data && (hint.data as { mechanism: Mechanism }).mechanism;\n const mechanism: Mechanism = providedMechanism || {\n handled: true,\n type: 'generic',\n };\n\n if (!isError(exception)) {\n if (isPlainObject(exception)) {\n // This will allow us to group events based on top-level keys\n // which is much better than creating new group when any key/value change\n const message = `Non-Error exception captured with keys: ${extractExceptionKeysForMessage(exception)}`;\n\n getCurrentHub().configureScope(scope => {\n scope.setExtra('__serialized__', normalizeToSize(exception as Record));\n });\n\n ex = (hint && hint.syntheticException) || new Error(message);\n (ex as Error).message = message;\n } else {\n // This handles when someone does: `throw \"something awesome\";`\n // We use synthesized Error here so we can extract a (rough) stack trace.\n ex = (hint && hint.syntheticException) || new Error(exception as string);\n (ex as Error).message = exception as string;\n }\n mechanism.synthetic = true;\n }\n\n return new SyncPromise((resolve, reject) =>\n parseError(ex as Error, options)\n .then(event => {\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, mechanism);\n\n resolve({\n ...event,\n event_id: hint && hint.event_id,\n });\n })\n .then(null, reject),\n );\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nexport function eventFromMessage(\n options: Options,\n message: string,\n level: Severity = Severity.Info,\n hint?: EventHint,\n): PromiseLike {\n const event: Event = {\n event_id: hint && hint.event_id,\n level,\n message,\n };\n\n return new SyncPromise(resolve => {\n if (options.attachStacktrace && hint && hint.syntheticException) {\n const stack = hint.syntheticException ? extractStackFromError(hint.syntheticException) : [];\n void parseStack(stack, options)\n .then(frames => {\n event.stacktrace = {\n frames: prepareFramesForEvent(frames),\n };\n resolve(event);\n })\n .then(null, () => {\n resolve(event);\n });\n } else {\n resolve(event);\n }\n });\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/handlers.d.ts b/node_modules/@sentry/node/dist/handlers.d.ts new file mode 100644 index 000000000..0a369ef56 --- /dev/null +++ b/node_modules/@sentry/node/dist/handlers.d.ts @@ -0,0 +1,92 @@ +/// +import { Event, ExtractedNodeRequestData } from '@sentry/types'; +import * as http from 'http'; +export interface ExpressRequest { + baseUrl?: string; + connection?: { + remoteAddress?: string; + }; + ip?: string; + method?: string; + originalUrl?: string; + route?: { + path: string; + stack: [{ + name: string; + }]; + }; + query?: { + [key: string]: unknown; + }; + url?: string; + user?: { + [key: string]: any; + }; +} +/** + * Express-compatible tracing handler. + * @see Exposed as `Handlers.tracingHandler` + */ +export declare function tracingHandler(): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void; +declare type TransactionNamingScheme = 'path' | 'methodPath' | 'handler'; +/** + * Normalizes data from the request object, accounting for framework differences. + * + * @param req The request object from which to extract data + * @param keys An optional array of keys to include in the normalized data. Defaults to DEFAULT_REQUEST_KEYS if not + * provided. + * @returns An object containing normalized request data + */ +export declare function extractRequestData(req: { + [key: string]: any; +}, keys?: string[]): ExtractedNodeRequestData; +/** + * Options deciding what parts of the request to use when enhancing an event + */ +export interface ParseRequestOptions { + ip?: boolean; + request?: boolean | string[]; + serverName?: boolean; + transaction?: boolean | TransactionNamingScheme; + user?: boolean | string[]; + version?: boolean; +} +/** + * Enriches passed event with request data. + * + * @param event Will be mutated and enriched with req data + * @param req Request object + * @param options object containing flags to enable functionality + * @hidden + */ +export declare function parseRequest(event: Event, req: ExpressRequest, options?: ParseRequestOptions): Event; +export declare type RequestHandlerOptions = ParseRequestOptions & { + flushTimeout?: number; +}; +/** + * Express compatible request handler. + * @see Exposed as `Handlers.requestHandler` + */ +export declare function requestHandler(options?: RequestHandlerOptions): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void; +/** JSDoc */ +interface MiddlewareError extends Error { + status?: number | string; + statusCode?: number | string; + status_code?: number | string; + output?: { + statusCode?: number | string; + }; +} +/** + * Express compatible error handler. + * @see Exposed as `Handlers.errorHandler` + */ +export declare function errorHandler(options?: { + /** + * Callback method deciding whether error should be captured and sent to Sentry + * @param error Captured middleware error + */ + shouldHandleError?(error: MiddlewareError): boolean; +}): (error: MiddlewareError, req: http.IncomingMessage, res: http.ServerResponse, next: (error: MiddlewareError) => void) => void; +export {}; +//# sourceMappingURL=handlers.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/handlers.d.ts.map b/node_modules/@sentry/node/dist/handlers.d.ts.map new file mode 100644 index 000000000..3d6bb5fb4 --- /dev/null +++ b/node_modules/@sentry/node/dist/handlers.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../src/handlers.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/handlers.js b/node_modules/@sentry/node/dist/handlers.js new file mode 100644 index 000000000..4e8f18cde --- /dev/null +++ b/node_modules/@sentry/node/dist/handlers.js @@ -0,0 +1,380 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +/* eslint-disable max-lines */ +/* eslint-disable @typescript-eslint/no-explicit-any */ +var core_1 = require("@sentry/core"); +var tracing_1 = require("@sentry/tracing"); +var utils_1 = require("@sentry/utils"); +var cookie = require("cookie"); +var domain = require("domain"); +var os = require("os"); +var url = require("url"); +var sdk_1 = require("./sdk"); +/** + * Express-compatible tracing handler. + * @see Exposed as `Handlers.tracingHandler` + */ +function tracingHandler() { + return function sentryTracingMiddleware(req, res, next) { + // If there is a trace header set, we extract the data from it (parentSpanId, traceId, and sampling decision) + var traceparentData; + if (req.headers && utils_1.isString(req.headers['sentry-trace'])) { + traceparentData = tracing_1.extractTraceparentData(req.headers['sentry-trace']); + } + var transaction = core_1.startTransaction(tslib_1.__assign({ name: extractExpressTransactionName(req, { path: true, method: true }), op: 'http.server' }, traceparentData), + // extra context passed to the tracesSampler + { request: extractRequestData(req) }); + // We put the transaction on the scope so users can attach children to it + core_1.getCurrentHub().configureScope(function (scope) { + scope.setSpan(transaction); + }); + // We also set __sentry_transaction on the response so people can grab the transaction there to add + // spans to it later. + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + res.__sentry_transaction = transaction; + res.once('finish', function () { + // Push `transaction.finish` to the next event loop so open spans have a chance to finish before the transaction + // closes + setImmediate(function () { + addExpressReqToTransaction(transaction, req); + transaction.setHttpStatus(res.statusCode); + transaction.finish(); + }); + }); + next(); + }; +} +exports.tracingHandler = tracingHandler; +/** + * Set parameterized as transaction name e.g.: `GET /users/:id` + * Also adds more context data on the transaction from the request + */ +function addExpressReqToTransaction(transaction, req) { + if (!transaction) + return; + transaction.name = extractExpressTransactionName(req, { path: true, method: true }); + transaction.setData('url', req.originalUrl); + transaction.setData('baseUrl', req.baseUrl); + transaction.setData('query', req.query); +} +/** + * Extracts complete generalized path from the request object and uses it to construct transaction name. + * + * eg. GET /mountpoint/user/:id + * + * @param req The ExpressRequest object + * @param options What to include in the transaction name (method, path, or both) + * + * @returns The fully constructed transaction name + */ +function extractExpressTransactionName(req, options) { + if (options === void 0) { options = {}; } + var _a; + var method = (_a = req.method) === null || _a === void 0 ? void 0 : _a.toUpperCase(); + var path = ''; + if (req.route) { + path = "" + (req.baseUrl || '') + req.route.path; + } + else if (req.originalUrl || req.url) { + path = utils_1.stripUrlQueryAndFragment(req.originalUrl || req.url || ''); + } + var info = ''; + if (options.method && method) { + info += method; + } + if (options.method && options.path) { + info += " "; + } + if (options.path && path) { + info += path; + } + return info; +} +/** JSDoc */ +function extractTransaction(req, type) { + var _a; + switch (type) { + case 'path': { + return extractExpressTransactionName(req, { path: true }); + } + case 'handler': { + return ((_a = req.route) === null || _a === void 0 ? void 0 : _a.stack[0].name) || ''; + } + case 'methodPath': + default: { + return extractExpressTransactionName(req, { path: true, method: true }); + } + } +} +/** Default user keys that'll be used to extract data from the request */ +var DEFAULT_USER_KEYS = ['id', 'username', 'email']; +/** JSDoc */ +function extractUserData(user, keys) { + var extractedUser = {}; + var attributes = Array.isArray(keys) ? keys : DEFAULT_USER_KEYS; + attributes.forEach(function (key) { + if (user && key in user) { + extractedUser[key] = user[key]; + } + }); + return extractedUser; +} +/** Default request keys that'll be used to extract data from the request */ +var DEFAULT_REQUEST_KEYS = ['cookies', 'data', 'headers', 'method', 'query_string', 'url']; +/** + * Normalizes data from the request object, accounting for framework differences. + * + * @param req The request object from which to extract data + * @param keys An optional array of keys to include in the normalized data. Defaults to DEFAULT_REQUEST_KEYS if not + * provided. + * @returns An object containing normalized request data + */ +function extractRequestData(req, keys) { + if (keys === void 0) { keys = DEFAULT_REQUEST_KEYS; } + var requestData = {}; + // headers: + // node, express, nextjs: req.headers + // koa: req.header + var headers = (req.headers || req.header || {}); + // method: + // node, express, koa, nextjs: req.method + var method = req.method; + // host: + // express: req.hostname in > 4 and req.host in < 4 + // koa: req.host + // node, nextjs: req.headers.host + var host = req.hostname || req.host || headers.host || ''; + // protocol: + // node, nextjs: + // express, koa: req.protocol + var protocol = req.protocol === 'https' || req.secure || (req.socket || {}).encrypted + ? 'https' + : 'http'; + // url (including path and query string): + // node, express: req.originalUrl + // koa, nextjs: req.url + var originalUrl = (req.originalUrl || req.url || ''); + // absolute url + var absoluteUrl = protocol + "://" + host + originalUrl; + keys.forEach(function (key) { + switch (key) { + case 'headers': + requestData.headers = headers; + break; + case 'method': + requestData.method = method; + break; + case 'url': + requestData.url = absoluteUrl; + break; + case 'cookies': + // cookies: + // node, express, koa: req.headers.cookie + // vercel, sails.js, express (w/ cookie middleware), nextjs: req.cookies + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + requestData.cookies = req.cookies || cookie.parse(headers.cookie || ''); + break; + case 'query_string': + // query string: + // node: req.url (raw) + // express, koa, nextjs: req.query + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + requestData.query_string = req.query || url.parse(originalUrl || '', false).query; + break; + case 'data': + if (method === 'GET' || method === 'HEAD') { + break; + } + // body data: + // express, koa, nextjs: req.body + // + // when using node by itself, you have to read the incoming stream(see + // https://nodejs.dev/learn/get-http-request-body-data-using-nodejs); if a user is doing that, we can't know + // where they're going to store the final result, so they'll have to capture this data themselves + if (req.body !== undefined) { + requestData.data = utils_1.isString(req.body) ? req.body : JSON.stringify(utils_1.normalize(req.body)); + } + break; + default: + if ({}.hasOwnProperty.call(req, key)) { + requestData[key] = req[key]; + } + } + }); + return requestData; +} +exports.extractRequestData = extractRequestData; +/** + * Enriches passed event with request data. + * + * @param event Will be mutated and enriched with req data + * @param req Request object + * @param options object containing flags to enable functionality + * @hidden + */ +function parseRequest(event, req, options) { + // eslint-disable-next-line no-param-reassign + options = tslib_1.__assign({ ip: false, request: true, serverName: true, transaction: true, user: true, version: true }, options); + if (options.version) { + event.contexts = tslib_1.__assign(tslib_1.__assign({}, event.contexts), { runtime: { + name: 'node', + version: global.process.version, + } }); + } + if (options.request) { + // if the option value is `true`, use the default set of keys by not passing anything to `extractRequestData()` + var extractedRequestData = Array.isArray(options.request) + ? extractRequestData(req, options.request) + : extractRequestData(req); + event.request = tslib_1.__assign(tslib_1.__assign({}, event.request), extractedRequestData); + } + if (options.serverName && !event.server_name) { + event.server_name = global.process.env.SENTRY_NAME || os.hostname(); + } + if (options.user) { + var extractedUser = req.user && utils_1.isPlainObject(req.user) ? extractUserData(req.user, options.user) : {}; + if (Object.keys(extractedUser)) { + event.user = tslib_1.__assign(tslib_1.__assign({}, event.user), extractedUser); + } + } + // client ip: + // node, nextjs: req.connection.remoteAddress + // express, koa: req.ip + if (options.ip) { + var ip = req.ip || (req.connection && req.connection.remoteAddress); + if (ip) { + event.user = tslib_1.__assign(tslib_1.__assign({}, event.user), { ip_address: ip }); + } + } + if (options.transaction && !event.transaction) { + // TODO do we even need this anymore? + // TODO make this work for nextjs + event.transaction = extractTransaction(req, options.transaction); + } + return event; +} +exports.parseRequest = parseRequest; +/** + * Express compatible request handler. + * @see Exposed as `Handlers.requestHandler` + */ +function requestHandler(options) { + var currentHub = core_1.getCurrentHub(); + var client = currentHub.getClient(); + // Initialise an instance of SessionFlusher on the client when `autoSessionTracking` is enabled and the + // `requestHandler` middleware is used indicating that we are running in SessionAggregates mode + if (client && sdk_1.isAutoSessionTrackingEnabled(client)) { + client.initSessionFlusher(); + // If Scope contains a Single mode Session, it is removed in favor of using Session Aggregates mode + var scope = currentHub.getScope(); + if (scope && scope.getSession()) { + scope.setSession(); + } + } + return function sentryRequestMiddleware(req, res, next) { + if (options && options.flushTimeout && options.flushTimeout > 0) { + // eslint-disable-next-line @typescript-eslint/unbound-method + var _end_1 = res.end; + res.end = function (chunk, encoding, cb) { + var _this = this; + void sdk_1.flush(options.flushTimeout) + .then(function () { + _end_1.call(_this, chunk, encoding, cb); + }) + .then(null, function (e) { + utils_1.logger.error(e); + }); + }; + } + var local = domain.create(); + local.add(req); + local.add(res); + local.on('error', next); + local.run(function () { + var currentHub = core_1.getCurrentHub(); + currentHub.configureScope(function (scope) { + scope.addEventProcessor(function (event) { return parseRequest(event, req, options); }); + var client = currentHub.getClient(); + if (sdk_1.isAutoSessionTrackingEnabled(client)) { + var scope_1 = currentHub.getScope(); + if (scope_1) { + // Set `status` of `RequestSession` to Ok, at the beginning of the request + scope_1.setRequestSession({ status: 'ok' }); + } + } + }); + res.once('finish', function () { + var client = currentHub.getClient(); + if (sdk_1.isAutoSessionTrackingEnabled(client)) { + setImmediate(function () { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (client && client._captureRequestSession) { + // Calling _captureRequestSession to capture request session at the end of the request by incrementing + // the correct SessionAggregates bucket i.e. crashed, errored or exited + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + client._captureRequestSession(); + } + }); + } + }); + next(); + }); + }; +} +exports.requestHandler = requestHandler; +/** JSDoc */ +function getStatusCodeFromResponse(error) { + var statusCode = error.status || error.statusCode || error.status_code || (error.output && error.output.statusCode); + return statusCode ? parseInt(statusCode, 10) : 500; +} +/** Returns true if response code is internal server error */ +function defaultShouldHandleError(error) { + var status = getStatusCodeFromResponse(error); + return status >= 500; +} +/** + * Express compatible error handler. + * @see Exposed as `Handlers.errorHandler` + */ +function errorHandler(options) { + return function sentryErrorMiddleware(error, _req, res, next) { + // eslint-disable-next-line @typescript-eslint/unbound-method + var shouldHandleError = (options && options.shouldHandleError) || defaultShouldHandleError; + if (shouldHandleError(error)) { + core_1.withScope(function (_scope) { + // For some reason we need to set the transaction on the scope again + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var transaction = res.__sentry_transaction; + if (transaction && _scope.getSpan() === undefined) { + _scope.setSpan(transaction); + } + var client = core_1.getCurrentHub().getClient(); + if (client && sdk_1.isAutoSessionTrackingEnabled(client)) { + // Check if the `SessionFlusher` is instantiated on the client to go into this branch that marks the + // `requestSession.status` as `Crashed`, and this check is necessary because the `SessionFlusher` is only + // instantiated when the the`requestHandler` middleware is initialised, which indicates that we should be + // running in SessionAggregates mode + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var isSessionAggregatesMode = client._sessionFlusher !== undefined; + if (isSessionAggregatesMode) { + var requestSession = _scope.getRequestSession(); + // If an error bubbles to the `errorHandler`, then this is an unhandled error, and should be reported as a + // Crashed session. The `_requestSession.status` is checked to ensure that this error is happening within + // the bounds of a request, and if so the status is updated + if (requestSession && requestSession.status !== undefined) { + requestSession.status = 'crashed'; + } + } + } + var eventId = core_1.captureException(error); + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + res.sentry = eventId; + next(error); + }); + return; + } + next(error); + }; +} +exports.errorHandler = errorHandler; +//# sourceMappingURL=handlers.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/handlers.js.map b/node_modules/@sentry/node/dist/handlers.js.map new file mode 100644 index 000000000..0a41d561e --- /dev/null +++ b/node_modules/@sentry/node/dist/handlers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"handlers.js","sourceRoot":"","sources":["../src/handlers.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { captureException, getCurrentHub, startTransaction, withScope } from '@sentry/core';\nimport { extractTraceparentData, Span } from '@sentry/tracing';\nimport { Event, ExtractedNodeRequestData, Transaction } from '@sentry/types';\nimport { isPlainObject, isString, logger, normalize, stripUrlQueryAndFragment } from '@sentry/utils';\nimport * as cookie from 'cookie';\nimport * as domain from 'domain';\nimport * as http from 'http';\nimport * as os from 'os';\nimport * as url from 'url';\n\nimport { NodeClient } from './client';\nimport { flush, isAutoSessionTrackingEnabled } from './sdk';\n\nexport interface ExpressRequest {\n baseUrl?: string;\n connection?: {\n remoteAddress?: string;\n };\n ip?: string;\n method?: string;\n originalUrl?: string;\n route?: {\n path: string;\n stack: [\n {\n name: string;\n },\n ];\n };\n query?: {\n // It can be: undefined | string | string[] | ParsedQs | ParsedQs[] (from `qs` package), but we dont want to pull it.\n [key: string]: unknown;\n };\n url?: string;\n user?: {\n [key: string]: any;\n };\n}\n\n/**\n * Express-compatible tracing handler.\n * @see Exposed as `Handlers.tracingHandler`\n */\nexport function tracingHandler(): (\n req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error?: any) => void,\n) => void {\n return function sentryTracingMiddleware(\n req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error?: any) => void,\n ): void {\n // If there is a trace header set, we extract the data from it (parentSpanId, traceId, and sampling decision)\n let traceparentData;\n if (req.headers && isString(req.headers['sentry-trace'])) {\n traceparentData = extractTraceparentData(req.headers['sentry-trace'] as string);\n }\n\n const transaction = startTransaction(\n {\n name: extractExpressTransactionName(req, { path: true, method: true }),\n op: 'http.server',\n ...traceparentData,\n },\n // extra context passed to the tracesSampler\n { request: extractRequestData(req) },\n );\n\n // We put the transaction on the scope so users can attach children to it\n getCurrentHub().configureScope(scope => {\n scope.setSpan(transaction);\n });\n\n // We also set __sentry_transaction on the response so people can grab the transaction there to add\n // spans to it later.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (res as any).__sentry_transaction = transaction;\n\n res.once('finish', () => {\n // Push `transaction.finish` to the next event loop so open spans have a chance to finish before the transaction\n // closes\n setImmediate(() => {\n addExpressReqToTransaction(transaction, req);\n transaction.setHttpStatus(res.statusCode);\n transaction.finish();\n });\n });\n\n next();\n };\n}\n\n/**\n * Set parameterized as transaction name e.g.: `GET /users/:id`\n * Also adds more context data on the transaction from the request\n */\nfunction addExpressReqToTransaction(transaction: Transaction | undefined, req: ExpressRequest): void {\n if (!transaction) return;\n transaction.name = extractExpressTransactionName(req, { path: true, method: true });\n transaction.setData('url', req.originalUrl);\n transaction.setData('baseUrl', req.baseUrl);\n transaction.setData('query', req.query);\n}\n\n/**\n * Extracts complete generalized path from the request object and uses it to construct transaction name.\n *\n * eg. GET /mountpoint/user/:id\n *\n * @param req The ExpressRequest object\n * @param options What to include in the transaction name (method, path, or both)\n *\n * @returns The fully constructed transaction name\n */\nfunction extractExpressTransactionName(\n req: ExpressRequest,\n options: { path?: boolean; method?: boolean } = {},\n): string {\n const method = req.method?.toUpperCase();\n\n let path = '';\n if (req.route) {\n path = `${req.baseUrl || ''}${req.route.path}`;\n } else if (req.originalUrl || req.url) {\n path = stripUrlQueryAndFragment(req.originalUrl || req.url || '');\n }\n\n let info = '';\n if (options.method && method) {\n info += method;\n }\n if (options.method && options.path) {\n info += ` `;\n }\n if (options.path && path) {\n info += path;\n }\n\n return info;\n}\n\ntype TransactionNamingScheme = 'path' | 'methodPath' | 'handler';\n\n/** JSDoc */\nfunction extractTransaction(req: ExpressRequest, type: boolean | TransactionNamingScheme): string {\n switch (type) {\n case 'path': {\n return extractExpressTransactionName(req, { path: true });\n }\n case 'handler': {\n return req.route?.stack[0].name || '';\n }\n case 'methodPath':\n default: {\n return extractExpressTransactionName(req, { path: true, method: true });\n }\n }\n}\n\n/** Default user keys that'll be used to extract data from the request */\nconst DEFAULT_USER_KEYS = ['id', 'username', 'email'];\n\n/** JSDoc */\nfunction extractUserData(\n user: {\n [key: string]: any;\n },\n keys: boolean | string[],\n): { [key: string]: any } {\n const extractedUser: { [key: string]: any } = {};\n const attributes = Array.isArray(keys) ? keys : DEFAULT_USER_KEYS;\n\n attributes.forEach(key => {\n if (user && key in user) {\n extractedUser[key] = user[key];\n }\n });\n\n return extractedUser;\n}\n\n/** Default request keys that'll be used to extract data from the request */\nconst DEFAULT_REQUEST_KEYS = ['cookies', 'data', 'headers', 'method', 'query_string', 'url'];\n\n/**\n * Normalizes data from the request object, accounting for framework differences.\n *\n * @param req The request object from which to extract data\n * @param keys An optional array of keys to include in the normalized data. Defaults to DEFAULT_REQUEST_KEYS if not\n * provided.\n * @returns An object containing normalized request data\n */\nexport function extractRequestData(\n req: { [key: string]: any },\n keys: string[] = DEFAULT_REQUEST_KEYS,\n): ExtractedNodeRequestData {\n const requestData: { [key: string]: any } = {};\n\n // headers:\n // node, express, nextjs: req.headers\n // koa: req.header\n const headers = (req.headers || req.header || {}) as {\n host?: string;\n cookie?: string;\n };\n // method:\n // node, express, koa, nextjs: req.method\n const method = req.method;\n // host:\n // express: req.hostname in > 4 and req.host in < 4\n // koa: req.host\n // node, nextjs: req.headers.host\n const host = req.hostname || req.host || headers.host || '';\n // protocol:\n // node, nextjs: \n // express, koa: req.protocol\n const protocol =\n req.protocol === 'https' || req.secure || ((req.socket || {}) as { encrypted?: boolean }).encrypted\n ? 'https'\n : 'http';\n // url (including path and query string):\n // node, express: req.originalUrl\n // koa, nextjs: req.url\n const originalUrl = (req.originalUrl || req.url || '') as string;\n // absolute url\n const absoluteUrl = `${protocol}://${host}${originalUrl}`;\n\n keys.forEach(key => {\n switch (key) {\n case 'headers':\n requestData.headers = headers;\n break;\n case 'method':\n requestData.method = method;\n break;\n case 'url':\n requestData.url = absoluteUrl;\n break;\n case 'cookies':\n // cookies:\n // node, express, koa: req.headers.cookie\n // vercel, sails.js, express (w/ cookie middleware), nextjs: req.cookies\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n requestData.cookies = req.cookies || cookie.parse(headers.cookie || '');\n break;\n case 'query_string':\n // query string:\n // node: req.url (raw)\n // express, koa, nextjs: req.query\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n requestData.query_string = req.query || url.parse(originalUrl || '', false).query;\n break;\n case 'data':\n if (method === 'GET' || method === 'HEAD') {\n break;\n }\n // body data:\n // express, koa, nextjs: req.body\n //\n // when using node by itself, you have to read the incoming stream(see\n // https://nodejs.dev/learn/get-http-request-body-data-using-nodejs); if a user is doing that, we can't know\n // where they're going to store the final result, so they'll have to capture this data themselves\n if (req.body !== undefined) {\n requestData.data = isString(req.body) ? req.body : JSON.stringify(normalize(req.body));\n }\n break;\n default:\n if ({}.hasOwnProperty.call(req, key)) {\n requestData[key] = (req as { [key: string]: any })[key];\n }\n }\n });\n\n return requestData;\n}\n\n/**\n * Options deciding what parts of the request to use when enhancing an event\n */\nexport interface ParseRequestOptions {\n ip?: boolean;\n request?: boolean | string[];\n serverName?: boolean;\n transaction?: boolean | TransactionNamingScheme;\n user?: boolean | string[];\n version?: boolean;\n}\n\n/**\n * Enriches passed event with request data.\n *\n * @param event Will be mutated and enriched with req data\n * @param req Request object\n * @param options object containing flags to enable functionality\n * @hidden\n */\nexport function parseRequest(event: Event, req: ExpressRequest, options?: ParseRequestOptions): Event {\n // eslint-disable-next-line no-param-reassign\n options = {\n ip: false,\n request: true,\n serverName: true,\n transaction: true,\n user: true,\n version: true,\n ...options,\n };\n\n if (options.version) {\n event.contexts = {\n ...event.contexts,\n runtime: {\n name: 'node',\n version: global.process.version,\n },\n };\n }\n\n if (options.request) {\n // if the option value is `true`, use the default set of keys by not passing anything to `extractRequestData()`\n const extractedRequestData = Array.isArray(options.request)\n ? extractRequestData(req, options.request)\n : extractRequestData(req);\n event.request = {\n ...event.request,\n ...extractedRequestData,\n };\n }\n\n if (options.serverName && !event.server_name) {\n event.server_name = global.process.env.SENTRY_NAME || os.hostname();\n }\n\n if (options.user) {\n const extractedUser = req.user && isPlainObject(req.user) ? extractUserData(req.user, options.user) : {};\n\n if (Object.keys(extractedUser)) {\n event.user = {\n ...event.user,\n ...extractedUser,\n };\n }\n }\n\n // client ip:\n // node, nextjs: req.connection.remoteAddress\n // express, koa: req.ip\n if (options.ip) {\n const ip = req.ip || (req.connection && req.connection.remoteAddress);\n if (ip) {\n event.user = {\n ...event.user,\n ip_address: ip,\n };\n }\n }\n\n if (options.transaction && !event.transaction) {\n // TODO do we even need this anymore?\n // TODO make this work for nextjs\n event.transaction = extractTransaction(req, options.transaction);\n }\n\n return event;\n}\n\nexport type RequestHandlerOptions = ParseRequestOptions & {\n flushTimeout?: number;\n};\n\n/**\n * Express compatible request handler.\n * @see Exposed as `Handlers.requestHandler`\n */\nexport function requestHandler(\n options?: RequestHandlerOptions,\n): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void {\n const currentHub = getCurrentHub();\n const client = currentHub.getClient();\n // Initialise an instance of SessionFlusher on the client when `autoSessionTracking` is enabled and the\n // `requestHandler` middleware is used indicating that we are running in SessionAggregates mode\n if (client && isAutoSessionTrackingEnabled(client)) {\n client.initSessionFlusher();\n\n // If Scope contains a Single mode Session, it is removed in favor of using Session Aggregates mode\n const scope = currentHub.getScope();\n if (scope && scope.getSession()) {\n scope.setSession();\n }\n }\n return function sentryRequestMiddleware(\n req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error?: any) => void,\n ): void {\n if (options && options.flushTimeout && options.flushTimeout > 0) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const _end = res.end;\n res.end = function (chunk?: any | (() => void), encoding?: string | (() => void), cb?: () => void): void {\n void flush(options.flushTimeout)\n .then(() => {\n _end.call(this, chunk, encoding, cb);\n })\n .then(null, e => {\n logger.error(e);\n });\n };\n }\n const local = domain.create();\n local.add(req);\n local.add(res);\n local.on('error', next);\n\n local.run(() => {\n const currentHub = getCurrentHub();\n\n currentHub.configureScope(scope => {\n scope.addEventProcessor((event: Event) => parseRequest(event, req, options));\n const client = currentHub.getClient();\n if (isAutoSessionTrackingEnabled(client)) {\n const scope = currentHub.getScope();\n if (scope) {\n // Set `status` of `RequestSession` to Ok, at the beginning of the request\n scope.setRequestSession({ status: 'ok' });\n }\n }\n });\n\n res.once('finish', () => {\n const client = currentHub.getClient();\n if (isAutoSessionTrackingEnabled(client)) {\n setImmediate(() => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (client && (client as any)._captureRequestSession) {\n // Calling _captureRequestSession to capture request session at the end of the request by incrementing\n // the correct SessionAggregates bucket i.e. crashed, errored or exited\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (client as any)._captureRequestSession();\n }\n });\n }\n });\n next();\n });\n };\n}\n\n/** JSDoc */\ninterface MiddlewareError extends Error {\n status?: number | string;\n statusCode?: number | string;\n status_code?: number | string;\n output?: {\n statusCode?: number | string;\n };\n}\n\n/** JSDoc */\nfunction getStatusCodeFromResponse(error: MiddlewareError): number {\n const statusCode = error.status || error.statusCode || error.status_code || (error.output && error.output.statusCode);\n return statusCode ? parseInt(statusCode as string, 10) : 500;\n}\n\n/** Returns true if response code is internal server error */\nfunction defaultShouldHandleError(error: MiddlewareError): boolean {\n const status = getStatusCodeFromResponse(error);\n return status >= 500;\n}\n\n/**\n * Express compatible error handler.\n * @see Exposed as `Handlers.errorHandler`\n */\nexport function errorHandler(options?: {\n /**\n * Callback method deciding whether error should be captured and sent to Sentry\n * @param error Captured middleware error\n */\n shouldHandleError?(error: MiddlewareError): boolean;\n}): (\n error: MiddlewareError,\n req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error: MiddlewareError) => void,\n) => void {\n return function sentryErrorMiddleware(\n error: MiddlewareError,\n _req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error: MiddlewareError) => void,\n ): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const shouldHandleError = (options && options.shouldHandleError) || defaultShouldHandleError;\n\n if (shouldHandleError(error)) {\n withScope(_scope => {\n // For some reason we need to set the transaction on the scope again\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const transaction = (res as any).__sentry_transaction as Span;\n if (transaction && _scope.getSpan() === undefined) {\n _scope.setSpan(transaction);\n }\n\n const client = getCurrentHub().getClient();\n if (client && isAutoSessionTrackingEnabled(client)) {\n // Check if the `SessionFlusher` is instantiated on the client to go into this branch that marks the\n // `requestSession.status` as `Crashed`, and this check is necessary because the `SessionFlusher` is only\n // instantiated when the the`requestHandler` middleware is initialised, which indicates that we should be\n // running in SessionAggregates mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const isSessionAggregatesMode = (client as any)._sessionFlusher !== undefined;\n if (isSessionAggregatesMode) {\n const requestSession = _scope.getRequestSession();\n // If an error bubbles to the `errorHandler`, then this is an unhandled error, and should be reported as a\n // Crashed session. The `_requestSession.status` is checked to ensure that this error is happening within\n // the bounds of a request, and if so the status is updated\n if (requestSession && requestSession.status !== undefined) {\n requestSession.status = 'crashed';\n }\n }\n }\n\n const eventId = captureException(error);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (res as any).sentry = eventId;\n next(error);\n });\n\n return;\n }\n\n next(error);\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/index.d.ts b/node_modules/@sentry/node/dist/index.d.ts new file mode 100644 index 000000000..79a69d397 --- /dev/null +++ b/node_modules/@sentry/node/dist/index.d.ts @@ -0,0 +1,25 @@ +export { Breadcrumb, BreadcrumbHint, Request, SdkInfo, Event, EventHint, EventStatus, Exception, Response, Severity, StackFrame, Stacktrace, Thread, User, } from '@sentry/types'; +export { SeverityLevel } from '@sentry/utils'; +export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, getHubFromCarrier, getCurrentHub, Hub, makeMain, Scope, Session, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, } from '@sentry/core'; +export { NodeOptions } from './types'; +export { NodeBackend } from './backend'; +export { NodeClient } from './client'; +export { defaultIntegrations, init, lastEventId, flush, close, getSentryRelease } from './sdk'; +export { deepReadDirSync } from './utils'; +export { SDK_NAME } from './version'; +import { Integrations as CoreIntegrations } from '@sentry/core'; +import * as Handlers from './handlers'; +import * as NodeIntegrations from './integrations'; +import * as Transports from './transports'; +declare const INTEGRATIONS: { + Console: typeof NodeIntegrations.Console; + Http: typeof NodeIntegrations.Http; + OnUncaughtException: typeof NodeIntegrations.OnUncaughtException; + OnUnhandledRejection: typeof NodeIntegrations.OnUnhandledRejection; + LinkedErrors: typeof NodeIntegrations.LinkedErrors; + Modules: typeof NodeIntegrations.Modules; + FunctionToString: typeof CoreIntegrations.FunctionToString; + InboundFilters: typeof CoreIntegrations.InboundFilters; +}; +export { INTEGRATIONS as Integrations, Transports, Handlers }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/index.d.ts.map b/node_modules/@sentry/node/dist/index.d.ts.map new file mode 100644 index 000000000..43868bd8e --- /dev/null +++ b/node_modules/@sentry/node/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,OAAO,EACP,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,UAAU,EACV,MAAM,EACN,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,GAAG,EACH,QAAQ,EACR,KAAK,EACL,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,GACV,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhE,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,gBAAgB,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAE3C,QAAA,MAAM,YAAY;;;;;;;;;CAGjB,CAAC;AAEF,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/index.js b/node_modules/@sentry/node/dist/index.js new file mode 100644 index 000000000..70cdbc91a --- /dev/null +++ b/node_modules/@sentry/node/dist/index.js @@ -0,0 +1,59 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var types_1 = require("@sentry/types"); +exports.Severity = types_1.Severity; +var core_1 = require("@sentry/core"); +exports.addGlobalEventProcessor = core_1.addGlobalEventProcessor; +exports.addBreadcrumb = core_1.addBreadcrumb; +exports.captureException = core_1.captureException; +exports.captureEvent = core_1.captureEvent; +exports.captureMessage = core_1.captureMessage; +exports.configureScope = core_1.configureScope; +exports.getHubFromCarrier = core_1.getHubFromCarrier; +exports.getCurrentHub = core_1.getCurrentHub; +exports.Hub = core_1.Hub; +exports.makeMain = core_1.makeMain; +exports.Scope = core_1.Scope; +exports.Session = core_1.Session; +exports.startTransaction = core_1.startTransaction; +exports.SDK_VERSION = core_1.SDK_VERSION; +exports.setContext = core_1.setContext; +exports.setExtra = core_1.setExtra; +exports.setExtras = core_1.setExtras; +exports.setTag = core_1.setTag; +exports.setTags = core_1.setTags; +exports.setUser = core_1.setUser; +exports.withScope = core_1.withScope; +var backend_1 = require("./backend"); +exports.NodeBackend = backend_1.NodeBackend; +var client_1 = require("./client"); +exports.NodeClient = client_1.NodeClient; +var sdk_1 = require("./sdk"); +exports.defaultIntegrations = sdk_1.defaultIntegrations; +exports.init = sdk_1.init; +exports.lastEventId = sdk_1.lastEventId; +exports.flush = sdk_1.flush; +exports.close = sdk_1.close; +exports.getSentryRelease = sdk_1.getSentryRelease; +var utils_1 = require("./utils"); +exports.deepReadDirSync = utils_1.deepReadDirSync; +var version_1 = require("./version"); +exports.SDK_NAME = version_1.SDK_NAME; +var core_2 = require("@sentry/core"); +var hub_1 = require("@sentry/hub"); +var domain = require("domain"); +var Handlers = require("./handlers"); +exports.Handlers = Handlers; +var NodeIntegrations = require("./integrations"); +var Transports = require("./transports"); +exports.Transports = Transports; +var INTEGRATIONS = tslib_1.__assign(tslib_1.__assign({}, core_2.Integrations), NodeIntegrations); +exports.Integrations = INTEGRATIONS; +// We need to patch domain on the global __SENTRY__ object to make it work for node in cross-platform packages like +// @sentry/hub. If we don't do this, browser bundlers will have troubles resolving `require('domain')`. +var carrier = hub_1.getMainCarrier(); +if (carrier.__SENTRY__) { + carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {}; + carrier.__SENTRY__.extensions.domain = carrier.__SENTRY__.extensions.domain || domain; +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/index.js.map b/node_modules/@sentry/node/dist/index.js.map new file mode 100644 index 000000000..99e8e7e80 --- /dev/null +++ b/node_modules/@sentry/node/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,uCAeuB;AALrB,2BAAA,QAAQ,CAAA;AASV,qCAsBsB;AArBpB,yCAAA,uBAAuB,CAAA;AACvB,+BAAA,aAAa,CAAA;AACb,kCAAA,gBAAgB,CAAA;AAChB,8BAAA,YAAY,CAAA;AACZ,gCAAA,cAAc,CAAA;AACd,gCAAA,cAAc,CAAA;AACd,mCAAA,iBAAiB,CAAA;AACjB,+BAAA,aAAa,CAAA;AACb,qBAAA,GAAG,CAAA;AACH,0BAAA,QAAQ,CAAA;AACR,uBAAA,KAAK,CAAA;AACL,yBAAA,OAAO,CAAA;AACP,kCAAA,gBAAgB,CAAA;AAChB,6BAAA,WAAW,CAAA;AACX,4BAAA,UAAU,CAAA;AACV,0BAAA,QAAQ,CAAA;AACR,2BAAA,SAAS,CAAA;AACT,wBAAA,MAAM,CAAA;AACN,yBAAA,OAAO,CAAA;AACP,yBAAA,OAAO,CAAA;AACP,2BAAA,SAAS,CAAA;AAIX,qCAAwC;AAA/B,gCAAA,WAAW,CAAA;AACpB,mCAAsC;AAA7B,8BAAA,UAAU,CAAA;AACnB,6BAA+F;AAAtF,oCAAA,mBAAmB,CAAA;AAAE,qBAAA,IAAI,CAAA;AAAE,4BAAA,WAAW,CAAA;AAAE,sBAAA,KAAK,CAAA;AAAE,sBAAA,KAAK,CAAA;AAAE,iCAAA,gBAAgB,CAAA;AAC/E,iCAA0C;AAAjC,kCAAA,eAAe,CAAA;AACxB,qCAAqC;AAA5B,6BAAA,QAAQ,CAAA;AAEjB,qCAAgE;AAChE,mCAA6C;AAC7C,+BAAiC;AAEjC,qCAAuC;AASY,4BAAQ;AAR3D,iDAAmD;AACnD,yCAA2C;AAOJ,gCAAU;AALjD,IAAM,YAAY,yCACb,mBAAgB,GAChB,gBAAgB,CACpB,CAAC;AAEuB,oCAAY;AAErC,mHAAmH;AACnH,uGAAuG;AACvG,IAAM,OAAO,GAAG,oBAAc,EAAE,CAAC;AACjC,IAAI,OAAO,CAAC,UAAU,EAAE;IACtB,OAAO,CAAC,UAAU,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,IAAI,EAAE,CAAC;IACpE,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM,IAAI,MAAM,CAAC;CACvF","sourcesContent":["export {\n Breadcrumb,\n BreadcrumbHint,\n Request,\n SdkInfo,\n Event,\n EventHint,\n EventStatus,\n Exception,\n Response,\n Severity,\n StackFrame,\n Stacktrace,\n Thread,\n User,\n} from '@sentry/types';\n\nexport { SeverityLevel } from '@sentry/utils';\n\nexport {\n addGlobalEventProcessor,\n addBreadcrumb,\n captureException,\n captureEvent,\n captureMessage,\n configureScope,\n getHubFromCarrier,\n getCurrentHub,\n Hub,\n makeMain,\n Scope,\n Session,\n startTransaction,\n SDK_VERSION,\n setContext,\n setExtra,\n setExtras,\n setTag,\n setTags,\n setUser,\n withScope,\n} from '@sentry/core';\n\nexport { NodeOptions } from './types';\nexport { NodeBackend } from './backend';\nexport { NodeClient } from './client';\nexport { defaultIntegrations, init, lastEventId, flush, close, getSentryRelease } from './sdk';\nexport { deepReadDirSync } from './utils';\nexport { SDK_NAME } from './version';\n\nimport { Integrations as CoreIntegrations } from '@sentry/core';\nimport { getMainCarrier } from '@sentry/hub';\nimport * as domain from 'domain';\n\nimport * as Handlers from './handlers';\nimport * as NodeIntegrations from './integrations';\nimport * as Transports from './transports';\n\nconst INTEGRATIONS = {\n ...CoreIntegrations,\n ...NodeIntegrations,\n};\n\nexport { INTEGRATIONS as Integrations, Transports, Handlers };\n\n// We need to patch domain on the global __SENTRY__ object to make it work for node in cross-platform packages like\n// @sentry/hub. If we don't do this, browser bundlers will have troubles resolving `require('domain')`.\nconst carrier = getMainCarrier();\nif (carrier.__SENTRY__) {\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n carrier.__SENTRY__.extensions.domain = carrier.__SENTRY__.extensions.domain || domain;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/console.d.ts b/node_modules/@sentry/node/dist/integrations/console.d.ts new file mode 100644 index 000000000..f910e6e4a --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/console.d.ts @@ -0,0 +1,17 @@ +import { Integration } from '@sentry/types'; +/** Console module integration */ +export declare class Console implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + setupOnce(): void; +} +//# sourceMappingURL=console.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/console.d.ts.map b/node_modules/@sentry/node/dist/integrations/console.d.ts.map new file mode 100644 index 000000000..3384a8a09 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/console.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../src/integrations/console.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,iCAAiC;AACjC,qBAAa,OAAQ,YAAW,WAAW;IACzC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAa;IAErC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAc;IAEjC;;OAEG;IACI,SAAS,IAAI,IAAI;CAKzB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/console.js b/node_modules/@sentry/node/dist/integrations/console.js new file mode 100644 index 000000000..bc70d0ede --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/console.js @@ -0,0 +1,63 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var utils_1 = require("@sentry/utils"); +var util = require("util"); +/** Console module integration */ +var Console = /** @class */ (function () { + function Console() { + /** + * @inheritDoc + */ + this.name = Console.id; + } + /** + * @inheritDoc + */ + Console.prototype.setupOnce = function () { + var e_1, _a; + try { + for (var _b = tslib_1.__values(['debug', 'info', 'warn', 'error', 'log']), _c = _b.next(); !_c.done; _c = _b.next()) { + var level = _c.value; + utils_1.fill(console, level, createConsoleWrapper(level)); + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + }; + /** + * @inheritDoc + */ + Console.id = 'Console'; + return Console; +}()); +exports.Console = Console; +/** + * Wrapper function that'll be used for every console level + */ +function createConsoleWrapper(level) { + return function consoleWrapper(originalConsoleMethod) { + var sentryLevel = utils_1.severityFromString(level); + /* eslint-disable prefer-rest-params */ + return function () { + if (core_1.getCurrentHub().getIntegration(Console)) { + core_1.getCurrentHub().addBreadcrumb({ + category: 'console', + level: sentryLevel, + message: util.format.apply(undefined, arguments), + }, { + input: tslib_1.__spread(arguments), + level: level, + }); + } + originalConsoleMethod.apply(this, arguments); + }; + /* eslint-enable prefer-rest-params */ + }; +} +//# sourceMappingURL=console.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/console.js.map b/node_modules/@sentry/node/dist/integrations/console.js.map new file mode 100644 index 000000000..fffa979d6 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/console.js.map @@ -0,0 +1 @@ +{"version":3,"file":"console.js","sourceRoot":"","sources":["../../src/integrations/console.ts"],"names":[],"mappings":";;AAAA,qCAA6C;AAE7C,uCAAyD;AACzD,2BAA6B;AAE7B,iCAAiC;AACjC;IAAA;QAME;;WAEG;QACI,SAAI,GAAW,OAAO,CAAC,EAAE,CAAC;IAUnC,CAAC;IARC;;OAEG;IACI,2BAAS,GAAhB;;;YACE,KAAoB,IAAA,KAAA,iBAAA,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA,gBAAA,4BAAE;gBAA1D,IAAM,KAAK,WAAA;gBACd,YAAI,CAAC,OAAO,EAAE,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;aACnD;;;;;;;;;IACH,CAAC;IAjBD;;OAEG;IACW,UAAE,GAAW,SAAS,CAAC;IAevC,cAAC;CAAA,AAnBD,IAmBC;AAnBY,0BAAO;AAqBpB;;GAEG;AACH,SAAS,oBAAoB,CAAC,KAAa;IACzC,OAAO,SAAS,cAAc,CAAC,qBAAiC;QAC9D,IAAM,WAAW,GAAG,0BAAkB,CAAC,KAAK,CAAC,CAAC;QAE9C,uCAAuC;QACvC,OAAO;YACL,IAAI,oBAAa,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;gBAC3C,oBAAa,EAAE,CAAC,aAAa,CAC3B;oBACE,QAAQ,EAAE,SAAS;oBACnB,KAAK,EAAE,WAAW;oBAClB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,EAAE,SAAS,CAAC;iBACjD,EACD;oBACE,KAAK,mBAAM,SAAS,CAAC;oBACrB,KAAK,OAAA;iBACN,CACF,CAAC;aACH;YAED,qBAAqB,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC/C,CAAC,CAAC;QACF,sCAAsC;IACxC,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { getCurrentHub } from '@sentry/core';\nimport { Integration } from '@sentry/types';\nimport { fill, severityFromString } from '@sentry/utils';\nimport * as util from 'util';\n\n/** Console module integration */\nexport class Console implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Console';\n\n /**\n * @inheritDoc\n */\n public name: string = Console.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n for (const level of ['debug', 'info', 'warn', 'error', 'log']) {\n fill(console, level, createConsoleWrapper(level));\n }\n }\n}\n\n/**\n * Wrapper function that'll be used for every console level\n */\nfunction createConsoleWrapper(level: string): (originalConsoleMethod: () => void) => void {\n return function consoleWrapper(originalConsoleMethod: () => void): () => void {\n const sentryLevel = severityFromString(level);\n\n /* eslint-disable prefer-rest-params */\n return function (this: typeof console): void {\n if (getCurrentHub().getIntegration(Console)) {\n getCurrentHub().addBreadcrumb(\n {\n category: 'console',\n level: sentryLevel,\n message: util.format.apply(undefined, arguments),\n },\n {\n input: [...arguments],\n level,\n },\n );\n }\n\n originalConsoleMethod.apply(this, arguments);\n };\n /* eslint-enable prefer-rest-params */\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/http.d.ts b/node_modules/@sentry/node/dist/integrations/http.d.ts new file mode 100644 index 000000000..3ce8d9081 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/http.d.ts @@ -0,0 +1,32 @@ +import { Integration } from '@sentry/types'; +/** http module integration */ +export declare class Http implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + private readonly _breadcrumbs; + /** + * @inheritDoc + */ + private readonly _tracing; + /** + * @inheritDoc + */ + constructor(options?: { + breadcrumbs?: boolean; + tracing?: boolean; + }); + /** + * @inheritDoc + */ + setupOnce(): void; +} +//# sourceMappingURL=http.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/http.d.ts.map b/node_modules/@sentry/node/dist/integrations/http.d.ts.map new file mode 100644 index 000000000..5cad5772f --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/http.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/integrations/http.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAQ,MAAM,eAAe,CAAC;AAgBlD,8BAA8B;AAC9B,qBAAa,IAAK,YAAW,WAAW;IACtC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAU;IAElC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAW;IAE9B;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAU;IAEvC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IAEnC;;OAEG;gBACgB,OAAO,GAAE;QAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAO;IAK7E;;OAEG;IACI,SAAS,IAAI,IAAI;CAuBzB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/http.js b/node_modules/@sentry/node/dist/integrations/http.js new file mode 100644 index 000000000..44d313b13 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/http.js @@ -0,0 +1,144 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var utils_1 = require("@sentry/utils"); +var http_1 = require("./utils/http"); +var NODE_VERSION = utils_1.parseSemver(process.versions.node); +/** http module integration */ +var Http = /** @class */ (function () { + /** + * @inheritDoc + */ + function Http(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = Http.id; + this._breadcrumbs = typeof options.breadcrumbs === 'undefined' ? true : options.breadcrumbs; + this._tracing = typeof options.tracing === 'undefined' ? false : options.tracing; + } + /** + * @inheritDoc + */ + Http.prototype.setupOnce = function () { + // No need to instrument if we don't want to track anything + if (!this._breadcrumbs && !this._tracing) { + return; + } + var wrappedHandlerMaker = _createWrappedRequestMethodFactory(this._breadcrumbs, this._tracing); + // eslint-disable-next-line @typescript-eslint/no-var-requires + var httpModule = require('http'); + utils_1.fill(httpModule, 'get', wrappedHandlerMaker); + utils_1.fill(httpModule, 'request', wrappedHandlerMaker); + // NOTE: Prior to Node 9, `https` used internals of `http` module, thus we don't patch it. + // If we do, we'd get double breadcrumbs and double spans for `https` calls. + // It has been changed in Node 9, so for all versions equal and above, we patch `https` separately. + if (NODE_VERSION.major && NODE_VERSION.major > 8) { + // eslint-disable-next-line @typescript-eslint/no-var-requires + var httpsModule = require('https'); + utils_1.fill(httpsModule, 'get', wrappedHandlerMaker); + utils_1.fill(httpsModule, 'request', wrappedHandlerMaker); + } + }; + /** + * @inheritDoc + */ + Http.id = 'Http'; + return Http; +}()); +exports.Http = Http; +/** + * Function which creates a function which creates wrapped versions of internal `request` and `get` calls within `http` + * and `https` modules. (NB: Not a typo - this is a creator^2!) + * + * @param breadcrumbsEnabled Whether or not to record outgoing requests as breadcrumbs + * @param tracingEnabled Whether or not to record outgoing requests as tracing spans + * + * @returns A function which accepts the exiting handler and returns a wrapped handler + */ +function _createWrappedRequestMethodFactory(breadcrumbsEnabled, tracingEnabled) { + return function wrappedRequestMethodFactory(originalRequestMethod) { + return function wrappedMethod() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + // eslint-disable-next-line @typescript-eslint/no-this-alias + var httpModule = this; + var requestArgs = http_1.normalizeRequestArgs(this, args); + var requestOptions = requestArgs[0]; + var requestUrl = http_1.extractUrl(requestOptions); + // we don't want to record requests to Sentry as either breadcrumbs or spans, so just use the original method + if (http_1.isSentryRequest(requestUrl)) { + return originalRequestMethod.apply(httpModule, requestArgs); + } + var span; + var parentSpan; + var scope = core_1.getCurrentHub().getScope(); + if (scope && tracingEnabled) { + parentSpan = scope.getSpan(); + if (parentSpan) { + span = parentSpan.startChild({ + description: (requestOptions.method || 'GET') + " " + requestUrl, + op: 'http.client', + }); + var sentryTraceHeader = span.toTraceparent(); + utils_1.logger.log("[Tracing] Adding sentry-trace header " + sentryTraceHeader + " to outgoing request to " + requestUrl + ": "); + requestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, requestOptions.headers), { 'sentry-trace': sentryTraceHeader }); + } + } + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return originalRequestMethod + .apply(httpModule, requestArgs) + .once('response', function (res) { + // eslint-disable-next-line @typescript-eslint/no-this-alias + var req = this; + if (breadcrumbsEnabled) { + addRequestBreadcrumb('response', requestUrl, req, res); + } + if (tracingEnabled && span) { + if (res.statusCode) { + span.setHttpStatus(res.statusCode); + } + span.description = http_1.cleanSpanDescription(span.description, requestOptions, req); + span.finish(); + } + }) + .once('error', function () { + // eslint-disable-next-line @typescript-eslint/no-this-alias + var req = this; + if (breadcrumbsEnabled) { + addRequestBreadcrumb('error', requestUrl, req); + } + if (tracingEnabled && span) { + span.setHttpStatus(500); + span.description = http_1.cleanSpanDescription(span.description, requestOptions, req); + span.finish(); + } + }); + }; + }; +} +/** + * Captures Breadcrumb based on provided request/response pair + */ +function addRequestBreadcrumb(event, url, req, res) { + if (!core_1.getCurrentHub().getIntegration(Http)) { + return; + } + core_1.getCurrentHub().addBreadcrumb({ + category: 'http', + data: { + method: req.method, + status_code: res && res.statusCode, + url: url, + }, + type: 'http', + }, { + event: event, + request: req, + response: res, + }); +} +//# sourceMappingURL=http.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/http.js.map b/node_modules/@sentry/node/dist/integrations/http.js.map new file mode 100644 index 000000000..990e67fe8 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/http.js.map @@ -0,0 +1 @@ +{"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/integrations/http.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub } from '@sentry/core';\nimport { Integration, Span } from '@sentry/types';\nimport { fill, logger, parseSemver } from '@sentry/utils';\nimport * as http from 'http';\nimport * as https from 'https';\n\nimport {\n cleanSpanDescription,\n extractUrl,\n isSentryRequest,\n normalizeRequestArgs,\n RequestMethod,\n RequestMethodArgs,\n} from './utils/http';\n\nconst NODE_VERSION = parseSemver(process.versions.node);\n\n/** http module integration */\nexport class Http implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Http';\n\n /**\n * @inheritDoc\n */\n public name: string = Http.id;\n\n /**\n * @inheritDoc\n */\n private readonly _breadcrumbs: boolean;\n\n /**\n * @inheritDoc\n */\n private readonly _tracing: boolean;\n\n /**\n * @inheritDoc\n */\n public constructor(options: { breadcrumbs?: boolean; tracing?: boolean } = {}) {\n this._breadcrumbs = typeof options.breadcrumbs === 'undefined' ? true : options.breadcrumbs;\n this._tracing = typeof options.tracing === 'undefined' ? false : options.tracing;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n // No need to instrument if we don't want to track anything\n if (!this._breadcrumbs && !this._tracing) {\n return;\n }\n\n const wrappedHandlerMaker = _createWrappedRequestMethodFactory(this._breadcrumbs, this._tracing);\n\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const httpModule = require('http');\n fill(httpModule, 'get', wrappedHandlerMaker);\n fill(httpModule, 'request', wrappedHandlerMaker);\n\n // NOTE: Prior to Node 9, `https` used internals of `http` module, thus we don't patch it.\n // If we do, we'd get double breadcrumbs and double spans for `https` calls.\n // It has been changed in Node 9, so for all versions equal and above, we patch `https` separately.\n if (NODE_VERSION.major && NODE_VERSION.major > 8) {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const httpsModule = require('https');\n fill(httpsModule, 'get', wrappedHandlerMaker);\n fill(httpsModule, 'request', wrappedHandlerMaker);\n }\n }\n}\n\n// for ease of reading below\ntype OriginalRequestMethod = RequestMethod;\ntype WrappedRequestMethod = RequestMethod;\ntype WrappedRequestMethodFactory = (original: OriginalRequestMethod) => WrappedRequestMethod;\n\n/**\n * Function which creates a function which creates wrapped versions of internal `request` and `get` calls within `http`\n * and `https` modules. (NB: Not a typo - this is a creator^2!)\n *\n * @param breadcrumbsEnabled Whether or not to record outgoing requests as breadcrumbs\n * @param tracingEnabled Whether or not to record outgoing requests as tracing spans\n *\n * @returns A function which accepts the exiting handler and returns a wrapped handler\n */\nfunction _createWrappedRequestMethodFactory(\n breadcrumbsEnabled: boolean,\n tracingEnabled: boolean,\n): WrappedRequestMethodFactory {\n return function wrappedRequestMethodFactory(originalRequestMethod: OriginalRequestMethod): WrappedRequestMethod {\n return function wrappedMethod(this: typeof http | typeof https, ...args: RequestMethodArgs): http.ClientRequest {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const httpModule = this;\n\n const requestArgs = normalizeRequestArgs(this, args);\n const requestOptions = requestArgs[0];\n const requestUrl = extractUrl(requestOptions);\n\n // we don't want to record requests to Sentry as either breadcrumbs or spans, so just use the original method\n if (isSentryRequest(requestUrl)) {\n return originalRequestMethod.apply(httpModule, requestArgs);\n }\n\n let span: Span | undefined;\n let parentSpan: Span | undefined;\n\n const scope = getCurrentHub().getScope();\n if (scope && tracingEnabled) {\n parentSpan = scope.getSpan();\n if (parentSpan) {\n span = parentSpan.startChild({\n description: `${requestOptions.method || 'GET'} ${requestUrl}`,\n op: 'http.client',\n });\n\n const sentryTraceHeader = span.toTraceparent();\n logger.log(\n `[Tracing] Adding sentry-trace header ${sentryTraceHeader} to outgoing request to ${requestUrl}: `,\n );\n requestOptions.headers = { ...requestOptions.headers, 'sentry-trace': sentryTraceHeader };\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalRequestMethod\n .apply(httpModule, requestArgs)\n .once('response', function (this: http.ClientRequest, res: http.IncomingMessage): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const req = this;\n if (breadcrumbsEnabled) {\n addRequestBreadcrumb('response', requestUrl, req, res);\n }\n if (tracingEnabled && span) {\n if (res.statusCode) {\n span.setHttpStatus(res.statusCode);\n }\n span.description = cleanSpanDescription(span.description, requestOptions, req);\n span.finish();\n }\n })\n .once('error', function (this: http.ClientRequest): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const req = this;\n\n if (breadcrumbsEnabled) {\n addRequestBreadcrumb('error', requestUrl, req);\n }\n if (tracingEnabled && span) {\n span.setHttpStatus(500);\n span.description = cleanSpanDescription(span.description, requestOptions, req);\n span.finish();\n }\n });\n };\n };\n}\n\n/**\n * Captures Breadcrumb based on provided request/response pair\n */\nfunction addRequestBreadcrumb(event: string, url: string, req: http.ClientRequest, res?: http.IncomingMessage): void {\n if (!getCurrentHub().getIntegration(Http)) {\n return;\n }\n\n getCurrentHub().addBreadcrumb(\n {\n category: 'http',\n data: {\n method: req.method,\n status_code: res && res.statusCode,\n url,\n },\n type: 'http',\n },\n {\n event,\n request: req,\n response: res,\n },\n );\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/index.d.ts b/node_modules/@sentry/node/dist/integrations/index.d.ts new file mode 100644 index 000000000..7dda59d14 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/index.d.ts @@ -0,0 +1,7 @@ +export { Console } from './console'; +export { Http } from './http'; +export { OnUncaughtException } from './onuncaughtexception'; +export { OnUnhandledRejection } from './onunhandledrejection'; +export { LinkedErrors } from './linkederrors'; +export { Modules } from './modules'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/index.d.ts.map b/node_modules/@sentry/node/dist/integrations/index.d.ts.map new file mode 100644 index 000000000..e13d02339 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/index.js b/node_modules/@sentry/node/dist/integrations/index.js new file mode 100644 index 000000000..7e75ca4d9 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/index.js @@ -0,0 +1,14 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var console_1 = require("./console"); +exports.Console = console_1.Console; +var http_1 = require("./http"); +exports.Http = http_1.Http; +var onuncaughtexception_1 = require("./onuncaughtexception"); +exports.OnUncaughtException = onuncaughtexception_1.OnUncaughtException; +var onunhandledrejection_1 = require("./onunhandledrejection"); +exports.OnUnhandledRejection = onunhandledrejection_1.OnUnhandledRejection; +var linkederrors_1 = require("./linkederrors"); +exports.LinkedErrors = linkederrors_1.LinkedErrors; +var modules_1 = require("./modules"); +exports.Modules = modules_1.Modules; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/index.js.map b/node_modules/@sentry/node/dist/integrations/index.js.map new file mode 100644 index 000000000..974e2bf9d --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":";AAAA,qCAAoC;AAA3B,4BAAA,OAAO,CAAA;AAChB,+BAA8B;AAArB,sBAAA,IAAI,CAAA;AACb,6DAA4D;AAAnD,oDAAA,mBAAmB,CAAA;AAC5B,+DAA8D;AAArD,sDAAA,oBAAoB,CAAA;AAC7B,+CAA8C;AAArC,sCAAA,YAAY,CAAA;AACrB,qCAAoC;AAA3B,4BAAA,OAAO,CAAA","sourcesContent":["export { Console } from './console';\nexport { Http } from './http';\nexport { OnUncaughtException } from './onuncaughtexception';\nexport { OnUnhandledRejection } from './onunhandledrejection';\nexport { LinkedErrors } from './linkederrors';\nexport { Modules } from './modules';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/linkederrors.d.ts b/node_modules/@sentry/node/dist/integrations/linkederrors.d.ts new file mode 100644 index 000000000..3a02436d3 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/linkederrors.d.ts @@ -0,0 +1,40 @@ +import { Integration } from '@sentry/types'; +/** Adds SDK info to an event. */ +export declare class LinkedErrors implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + readonly name: string; + /** + * @inheritDoc + */ + private readonly _key; + /** + * @inheritDoc + */ + private readonly _limit; + /** + * @inheritDoc + */ + constructor(options?: { + key?: string; + limit?: number; + }); + /** + * @inheritDoc + */ + setupOnce(): void; + /** + * @inheritDoc + */ + private _handler; + /** + * @inheritDoc + */ + private _walkErrorTree; +} +//# sourceMappingURL=linkederrors.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/linkederrors.d.ts.map b/node_modules/@sentry/node/dist/integrations/linkederrors.d.ts.map new file mode 100644 index 000000000..664903462 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/linkederrors.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"linkederrors.d.ts","sourceRoot":"","sources":["../../src/integrations/linkederrors.ts"],"names":[],"mappings":"AACA,OAAO,EAA8C,WAAW,EAAE,MAAM,eAAe,CAAC;AAQxF,iCAAiC;AACjC,qBAAa,YAAa,YAAW,WAAW;IAC9C;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAkB;IAE1C;;OAEG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAmB;IAE/C;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAE9B;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;OAEG;gBACgB,OAAO,GAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAO;IAKjE;;OAEG;IACI,SAAS,IAAI,IAAI;IAWxB;;OAEG;IACH,OAAO,CAAC,QAAQ;IAmBhB;;OAEG;IACH,OAAO,CAAC,cAAc;CAkBvB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/linkederrors.js b/node_modules/@sentry/node/dist/integrations/linkederrors.js new file mode 100644 index 000000000..fa2e87a97 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/linkederrors.js @@ -0,0 +1,86 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var utils_1 = require("@sentry/utils"); +var parsers_1 = require("../parsers"); +var DEFAULT_KEY = 'cause'; +var DEFAULT_LIMIT = 5; +/** Adds SDK info to an event. */ +var LinkedErrors = /** @class */ (function () { + /** + * @inheritDoc + */ + function LinkedErrors(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = LinkedErrors.id; + this._key = options.key || DEFAULT_KEY; + this._limit = options.limit || DEFAULT_LIMIT; + } + /** + * @inheritDoc + */ + LinkedErrors.prototype.setupOnce = function () { + core_1.addGlobalEventProcessor(function (event, hint) { + var self = core_1.getCurrentHub().getIntegration(LinkedErrors); + if (self) { + var handler = self._handler && self._handler.bind(self); + return typeof handler === 'function' ? handler(event, hint) : event; + } + return event; + }); + }; + /** + * @inheritDoc + */ + LinkedErrors.prototype._handler = function (event, hint) { + var _this = this; + if (!event.exception || !event.exception.values || !hint || !utils_1.isInstanceOf(hint.originalException, Error)) { + return utils_1.resolvedSyncPromise(event); + } + return new utils_1.SyncPromise(function (resolve) { + void _this._walkErrorTree(hint.originalException, _this._key) + .then(function (linkedErrors) { + if (event && event.exception && event.exception.values) { + event.exception.values = tslib_1.__spread(linkedErrors, event.exception.values); + } + resolve(event); + }) + .then(null, function () { + resolve(event); + }); + }); + }; + /** + * @inheritDoc + */ + LinkedErrors.prototype._walkErrorTree = function (error, key, stack) { + var _this = this; + if (stack === void 0) { stack = []; } + if (!utils_1.isInstanceOf(error[key], Error) || stack.length + 1 >= this._limit) { + return utils_1.resolvedSyncPromise(stack); + } + return new utils_1.SyncPromise(function (resolve, reject) { + void parsers_1.getExceptionFromError(error[key]) + .then(function (exception) { + void _this._walkErrorTree(error[key], key, tslib_1.__spread([exception], stack)) + .then(resolve) + .then(null, function () { + reject(); + }); + }) + .then(null, function () { + reject(); + }); + }); + }; + /** + * @inheritDoc + */ + LinkedErrors.id = 'LinkedErrors'; + return LinkedErrors; +}()); +exports.LinkedErrors = LinkedErrors; +//# sourceMappingURL=linkederrors.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/linkederrors.js.map b/node_modules/@sentry/node/dist/integrations/linkederrors.js.map new file mode 100644 index 000000000..6410668dd --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/linkederrors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"linkederrors.js","sourceRoot":"","sources":["../../src/integrations/linkederrors.ts"],"names":[],"mappings":"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","sourcesContent":["import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Exception, ExtendedError, Integration } from '@sentry/types';\nimport { isInstanceOf, resolvedSyncPromise, SyncPromise } from '@sentry/utils';\n\nimport { getExceptionFromError } from '../parsers';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\n/** Adds SDK info to an event. */\nexport class LinkedErrors implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'LinkedErrors';\n\n /**\n * @inheritDoc\n */\n public readonly name: string = LinkedErrors.id;\n\n /**\n * @inheritDoc\n */\n private readonly _key: string;\n\n /**\n * @inheritDoc\n */\n private readonly _limit: number;\n\n /**\n * @inheritDoc\n */\n public constructor(options: { key?: string; limit?: number } = {}) {\n this._key = options.key || DEFAULT_KEY;\n this._limit = options.limit || DEFAULT_LIMIT;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event, hint?: EventHint) => {\n const self = getCurrentHub().getIntegration(LinkedErrors);\n if (self) {\n const handler = self._handler && self._handler.bind(self);\n return typeof handler === 'function' ? handler(event, hint) : event;\n }\n return event;\n });\n }\n\n /**\n * @inheritDoc\n */\n private _handler(event: Event, hint?: EventHint): PromiseLike {\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return resolvedSyncPromise(event);\n }\n\n return new SyncPromise(resolve => {\n void this._walkErrorTree(hint.originalException as Error, this._key)\n .then((linkedErrors: Exception[]) => {\n if (event && event.exception && event.exception.values) {\n event.exception.values = [...linkedErrors, ...event.exception.values];\n }\n resolve(event);\n })\n .then(null, () => {\n resolve(event);\n });\n });\n }\n\n /**\n * @inheritDoc\n */\n private _walkErrorTree(error: ExtendedError, key: string, stack: Exception[] = []): PromiseLike {\n if (!isInstanceOf(error[key], Error) || stack.length + 1 >= this._limit) {\n return resolvedSyncPromise(stack);\n }\n return new SyncPromise((resolve, reject) => {\n void getExceptionFromError(error[key])\n .then((exception: Exception) => {\n void this._walkErrorTree(error[key], key, [exception, ...stack])\n .then(resolve)\n .then(null, () => {\n reject();\n });\n })\n .then(null, () => {\n reject();\n });\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/modules.d.ts b/node_modules/@sentry/node/dist/integrations/modules.d.ts new file mode 100644 index 000000000..c1e1b87ce --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/modules.d.ts @@ -0,0 +1,19 @@ +import { EventProcessor, Hub, Integration } from '@sentry/types'; +/** Add node modules / packages to the event */ +export declare class Modules implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; + /** Fetches the list of modules and the versions loaded by the entry file for your node.js app. */ + private _getModules; +} +//# sourceMappingURL=modules.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/modules.d.ts.map b/node_modules/@sentry/node/dist/integrations/modules.d.ts.map new file mode 100644 index 000000000..850827f54 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/modules.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../../src/integrations/modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAmEjE,+CAA+C;AAC/C,qBAAa,OAAQ,YAAW,WAAW;IACzC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAa;IAErC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAc;IAEjC;;OAEG;IACI,SAAS,CAAC,uBAAuB,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;IAY7G,kGAAkG;IAClG,OAAO,CAAC,WAAW;CAMpB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/modules.js b/node_modules/@sentry/node/dist/integrations/modules.js new file mode 100644 index 000000000..1bb75ba70 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/modules.js @@ -0,0 +1,84 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var fs_1 = require("fs"); +var path_1 = require("path"); +var moduleCache; +/** Extract information about paths */ +function getPaths() { + try { + return require.cache ? Object.keys(require.cache) : []; + } + catch (e) { + return []; + } +} +/** Extract information about package.json modules */ +function collectModules() { + var mainPaths = (require.main && require.main.paths) || []; + var paths = getPaths(); + var infos = {}; + var seen = {}; + paths.forEach(function (path) { + var dir = path; + /** Traverse directories upward in the search of package.json file */ + var updir = function () { + var orig = dir; + dir = path_1.dirname(orig); + if (!dir || orig === dir || seen[orig]) { + return undefined; + } + if (mainPaths.indexOf(dir) < 0) { + return updir(); + } + var pkgfile = path_1.join(orig, 'package.json'); + seen[orig] = true; + if (!fs_1.existsSync(pkgfile)) { + return updir(); + } + try { + var info = JSON.parse(fs_1.readFileSync(pkgfile, 'utf8')); + infos[info.name] = info.version; + } + catch (_oO) { + // no-empty + } + }; + updir(); + }); + return infos; +} +/** Add node modules / packages to the event */ +var Modules = /** @class */ (function () { + function Modules() { + /** + * @inheritDoc + */ + this.name = Modules.id; + } + /** + * @inheritDoc + */ + Modules.prototype.setupOnce = function (addGlobalEventProcessor, getCurrentHub) { + var _this = this; + addGlobalEventProcessor(function (event) { + if (!getCurrentHub().getIntegration(Modules)) { + return event; + } + return tslib_1.__assign(tslib_1.__assign({}, event), { modules: _this._getModules() }); + }); + }; + /** Fetches the list of modules and the versions loaded by the entry file for your node.js app. */ + Modules.prototype._getModules = function () { + if (!moduleCache) { + moduleCache = collectModules(); + } + return moduleCache; + }; + /** + * @inheritDoc + */ + Modules.id = 'Modules'; + return Modules; +}()); +exports.Modules = Modules; +//# sourceMappingURL=modules.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/modules.js.map b/node_modules/@sentry/node/dist/integrations/modules.js.map new file mode 100644 index 000000000..46364684e --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/modules.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modules.js","sourceRoot":"","sources":["../../src/integrations/modules.ts"],"names":[],"mappings":";;AACA,yBAA8C;AAC9C,6BAAqC;AAErC,IAAI,WAAsC,CAAC;AAE3C,sCAAsC;AACtC,SAAS,QAAQ;IACf,IAAI;QACF,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAgC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KACnF;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AAED,qDAAqD;AACrD,SAAS,cAAc;IAGrB,IAAM,SAAS,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7D,IAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,IAAM,KAAK,GAEP,EAAE,CAAC;IACP,IAAM,IAAI,GAEN,EAAE,CAAC;IAEP,KAAK,CAAC,OAAO,CAAC,UAAA,IAAI;QAChB,IAAI,GAAG,GAAG,IAAI,CAAC;QAEf,qEAAqE;QACrE,IAAM,KAAK,GAAG;YACZ,IAAM,IAAI,GAAG,GAAG,CAAC;YACjB,GAAG,GAAG,cAAO,CAAC,IAAI,CAAC,CAAC;YAEpB,IAAI,CAAC,GAAG,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE;gBACtC,OAAO,SAAS,CAAC;aAClB;YACD,IAAI,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBAC9B,OAAO,KAAK,EAAE,CAAC;aAChB;YAED,IAAM,OAAO,GAAG,WAAI,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;YAC3C,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;YAElB,IAAI,CAAC,eAAU,CAAC,OAAO,CAAC,EAAE;gBACxB,OAAO,KAAK,EAAE,CAAC;aAChB;YAED,IAAI;gBACF,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAGpD,CAAC;gBACF,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;aACjC;YAAC,OAAO,GAAG,EAAE;gBACZ,WAAW;aACZ;QACH,CAAC,CAAC;QAEF,KAAK,EAAE,CAAC;IACV,CAAC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC;AACf,CAAC;AAED,+CAA+C;AAC/C;IAAA;QAME;;WAEG;QACI,SAAI,GAAW,OAAO,CAAC,EAAE,CAAC;IAwBnC,CAAC;IAtBC;;OAEG;IACI,2BAAS,GAAhB,UAAiB,uBAA2D,EAAE,aAAwB;QAAtG,iBAUC;QATC,uBAAuB,CAAC,UAAA,KAAK;YAC3B,IAAI,CAAC,aAAa,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;gBAC5C,OAAO,KAAK,CAAC;aACd;YACD,6CACK,KAAK,KACR,OAAO,EAAE,KAAI,CAAC,WAAW,EAAE,IAC3B;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED,kGAAkG;IAC1F,6BAAW,GAAnB;QACE,IAAI,CAAC,WAAW,EAAE;YAChB,WAAW,GAAG,cAAc,EAAE,CAAC;SAChC;QACD,OAAO,WAAW,CAAC;IACrB,CAAC;IA/BD;;OAEG;IACW,UAAE,GAAW,SAAS,CAAC;IA6BvC,cAAC;CAAA,AAjCD,IAiCC;AAjCY,0BAAO","sourcesContent":["import { EventProcessor, Hub, Integration } from '@sentry/types';\nimport { existsSync, readFileSync } from 'fs';\nimport { dirname, join } from 'path';\n\nlet moduleCache: { [key: string]: string };\n\n/** Extract information about paths */\nfunction getPaths(): string[] {\n try {\n return require.cache ? Object.keys(require.cache as Record) : [];\n } catch (e) {\n return [];\n }\n}\n\n/** Extract information about package.json modules */\nfunction collectModules(): {\n [name: string]: string;\n} {\n const mainPaths = (require.main && require.main.paths) || [];\n const paths = getPaths();\n const infos: {\n [name: string]: string;\n } = {};\n const seen: {\n [path: string]: boolean;\n } = {};\n\n paths.forEach(path => {\n let dir = path;\n\n /** Traverse directories upward in the search of package.json file */\n const updir = (): void | (() => void) => {\n const orig = dir;\n dir = dirname(orig);\n\n if (!dir || orig === dir || seen[orig]) {\n return undefined;\n }\n if (mainPaths.indexOf(dir) < 0) {\n return updir();\n }\n\n const pkgfile = join(orig, 'package.json');\n seen[orig] = true;\n\n if (!existsSync(pkgfile)) {\n return updir();\n }\n\n try {\n const info = JSON.parse(readFileSync(pkgfile, 'utf8')) as {\n name: string;\n version: string;\n };\n infos[info.name] = info.version;\n } catch (_oO) {\n // no-empty\n }\n };\n\n updir();\n });\n\n return infos;\n}\n\n/** Add node modules / packages to the event */\nexport class Modules implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Modules';\n\n /**\n * @inheritDoc\n */\n public name: string = Modules.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n addGlobalEventProcessor(event => {\n if (!getCurrentHub().getIntegration(Modules)) {\n return event;\n }\n return {\n ...event,\n modules: this._getModules(),\n };\n });\n }\n\n /** Fetches the list of modules and the versions loaded by the entry file for your node.js app. */\n private _getModules(): { [key: string]: string } {\n if (!moduleCache) {\n moduleCache = collectModules();\n }\n return moduleCache;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/onuncaughtexception.d.ts b/node_modules/@sentry/node/dist/integrations/onuncaughtexception.d.ts new file mode 100644 index 000000000..caacb0618 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/onuncaughtexception.d.ts @@ -0,0 +1,37 @@ +import { Integration } from '@sentry/types'; +/** Global Promise Rejection handler */ +export declare class OnUncaughtException implements Integration { + private readonly _options; + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + readonly handler: (error: Error) => void; + /** + * @inheritDoc + */ + constructor(_options?: { + /** + * Default onFatalError handler + * @param firstError Error that has been thrown + * @param secondError If this was called multiple times this will be set + */ + onFatalError?(firstError: Error, secondError?: Error): void; + }); + /** + * @inheritDoc + */ + setupOnce(): void; + /** + * @hidden + */ + private _makeErrorHandler; +} +//# sourceMappingURL=onuncaughtexception.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/onuncaughtexception.d.ts.map b/node_modules/@sentry/node/dist/integrations/onuncaughtexception.d.ts.map new file mode 100644 index 000000000..c62d96c10 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/onuncaughtexception.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"onuncaughtexception.d.ts","sourceRoot":"","sources":["../../src/integrations/onuncaughtexception.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAY,MAAM,eAAe,CAAC;AAQtD,uCAAuC;AACvC,qBAAa,mBAAoB,YAAW,WAAW;IAoBnD,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAnB3B;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAyB;IAEjD;;OAEG;IACI,IAAI,EAAE,MAAM,CAA0B;IAE7C;;OAEG;IACH,SAAgB,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAA4B;IAE3E;;OAEG;gBAEgB,QAAQ,GAAE;QACzB;;;;WAIG;QACH,YAAY,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,WAAW,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;KACxD;IAER;;OAEG;IACI,SAAS,IAAI,IAAI;IAIxB;;OAEG;IACH,OAAO,CAAC,iBAAiB;CA8E1B"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/onuncaughtexception.js b/node_modules/@sentry/node/dist/integrations/onuncaughtexception.js new file mode 100644 index 000000000..ee5c7b691 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/onuncaughtexception.js @@ -0,0 +1,118 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@sentry/core"); +var types_1 = require("@sentry/types"); +var utils_1 = require("@sentry/utils"); +var errorhandling_1 = require("./utils/errorhandling"); +/** Global Promise Rejection handler */ +var OnUncaughtException = /** @class */ (function () { + /** + * @inheritDoc + */ + function OnUncaughtException(_options) { + if (_options === void 0) { _options = {}; } + this._options = _options; + /** + * @inheritDoc + */ + this.name = OnUncaughtException.id; + /** + * @inheritDoc + */ + this.handler = this._makeErrorHandler(); + } + /** + * @inheritDoc + */ + OnUncaughtException.prototype.setupOnce = function () { + global.process.on('uncaughtException', this.handler.bind(this)); + }; + /** + * @hidden + */ + OnUncaughtException.prototype._makeErrorHandler = function () { + var _this = this; + var timeout = 2000; + var caughtFirstError = false; + var caughtSecondError = false; + var calledFatalError = false; + var firstError; + return function (error) { + var onFatalError = errorhandling_1.logAndExitProcess; + var client = core_1.getCurrentHub().getClient(); + if (_this._options.onFatalError) { + // eslint-disable-next-line @typescript-eslint/unbound-method + onFatalError = _this._options.onFatalError; + } + else if (client && client.getOptions().onFatalError) { + // eslint-disable-next-line @typescript-eslint/unbound-method + onFatalError = client.getOptions().onFatalError; + } + if (!caughtFirstError) { + var hub_1 = core_1.getCurrentHub(); + // this is the first uncaught error and the ultimate reason for shutting down + // we want to do absolutely everything possible to ensure it gets captured + // also we want to make sure we don't go recursion crazy if more errors happen after this one + firstError = error; + caughtFirstError = true; + if (hub_1.getIntegration(OnUncaughtException)) { + hub_1.withScope(function (scope) { + scope.setLevel(types_1.Severity.Fatal); + hub_1.captureException(error, { + originalException: error, + data: { mechanism: { handled: false, type: 'onuncaughtexception' } }, + }); + if (!calledFatalError) { + calledFatalError = true; + onFatalError(error); + } + }); + } + else { + if (!calledFatalError) { + calledFatalError = true; + onFatalError(error); + } + } + } + else if (calledFatalError) { + // we hit an error *after* calling onFatalError - pretty boned at this point, just shut it down + utils_1.logger.warn('uncaught exception after calling fatal error shutdown callback - this is bad! forcing shutdown'); + errorhandling_1.logAndExitProcess(error); + } + else if (!caughtSecondError) { + // two cases for how we can hit this branch: + // - capturing of first error blew up and we just caught the exception from that + // - quit trying to capture, proceed with shutdown + // - a second independent error happened while waiting for first error to capture + // - want to avoid causing premature shutdown before first error capture finishes + // it's hard to immediately tell case 1 from case 2 without doing some fancy/questionable domain stuff + // so let's instead just delay a bit before we proceed with our action here + // in case 1, we just wait a bit unnecessarily but ultimately do the same thing + // in case 2, the delay hopefully made us wait long enough for the capture to finish + // two potential nonideal outcomes: + // nonideal case 1: capturing fails fast, we sit around for a few seconds unnecessarily before proceeding correctly by calling onFatalError + // nonideal case 2: case 2 happens, 1st error is captured but slowly, timeout completes before capture and we treat second error as the sendErr of (nonexistent) failure from trying to capture first error + // note that after hitting this branch, we might catch more errors where (caughtSecondError && !calledFatalError) + // we ignore them - they don't matter to us, we're just waiting for the second error timeout to finish + caughtSecondError = true; + setTimeout(function () { + if (!calledFatalError) { + // it was probably case 1, let's treat err as the sendErr and call onFatalError + calledFatalError = true; + onFatalError(firstError, error); + } + else { + // it was probably case 2, our first error finished capturing while we waited, cool, do nothing + } + }, timeout); // capturing could take at least sendTimeout to fail, plus an arbitrary second for how long it takes to collect surrounding source etc + } + }; + }; + /** + * @inheritDoc + */ + OnUncaughtException.id = 'OnUncaughtException'; + return OnUncaughtException; +}()); +exports.OnUncaughtException = OnUncaughtException; +//# sourceMappingURL=onuncaughtexception.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/onuncaughtexception.js.map b/node_modules/@sentry/node/dist/integrations/onuncaughtexception.js.map new file mode 100644 index 000000000..feb2ce9b1 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/onuncaughtexception.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onuncaughtexception.js","sourceRoot":"","sources":["../../src/integrations/onuncaughtexception.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, Scope } from '@sentry/core';\nimport { Integration, Severity } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\nimport { NodeClient } from '../client';\nimport { logAndExitProcess } from './utils/errorhandling';\n\ntype OnFatalErrorHandler = (firstError: Error, secondError?: Error) => void;\n\n/** Global Promise Rejection handler */\nexport class OnUncaughtException implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'OnUncaughtException';\n\n /**\n * @inheritDoc\n */\n public name: string = OnUncaughtException.id;\n\n /**\n * @inheritDoc\n */\n public readonly handler: (error: Error) => void = this._makeErrorHandler();\n\n /**\n * @inheritDoc\n */\n public constructor(\n private readonly _options: {\n /**\n * Default onFatalError handler\n * @param firstError Error that has been thrown\n * @param secondError If this was called multiple times this will be set\n */\n onFatalError?(firstError: Error, secondError?: Error): void;\n } = {},\n ) {}\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n global.process.on('uncaughtException', this.handler.bind(this));\n }\n\n /**\n * @hidden\n */\n private _makeErrorHandler(): (error: Error) => void {\n const timeout = 2000;\n let caughtFirstError: boolean = false;\n let caughtSecondError: boolean = false;\n let calledFatalError: boolean = false;\n let firstError: Error;\n\n return (error: Error): void => {\n let onFatalError: OnFatalErrorHandler = logAndExitProcess;\n const client = getCurrentHub().getClient();\n\n if (this._options.onFatalError) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n onFatalError = this._options.onFatalError;\n } else if (client && client.getOptions().onFatalError) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n onFatalError = client.getOptions().onFatalError as OnFatalErrorHandler;\n }\n\n if (!caughtFirstError) {\n const hub = getCurrentHub();\n\n // this is the first uncaught error and the ultimate reason for shutting down\n // we want to do absolutely everything possible to ensure it gets captured\n // also we want to make sure we don't go recursion crazy if more errors happen after this one\n firstError = error;\n caughtFirstError = true;\n\n if (hub.getIntegration(OnUncaughtException)) {\n hub.withScope((scope: Scope) => {\n scope.setLevel(Severity.Fatal);\n hub.captureException(error, {\n originalException: error,\n data: { mechanism: { handled: false, type: 'onuncaughtexception' } },\n });\n if (!calledFatalError) {\n calledFatalError = true;\n onFatalError(error);\n }\n });\n } else {\n if (!calledFatalError) {\n calledFatalError = true;\n onFatalError(error);\n }\n }\n } else if (calledFatalError) {\n // we hit an error *after* calling onFatalError - pretty boned at this point, just shut it down\n logger.warn('uncaught exception after calling fatal error shutdown callback - this is bad! forcing shutdown');\n logAndExitProcess(error);\n } else if (!caughtSecondError) {\n // two cases for how we can hit this branch:\n // - capturing of first error blew up and we just caught the exception from that\n // - quit trying to capture, proceed with shutdown\n // - a second independent error happened while waiting for first error to capture\n // - want to avoid causing premature shutdown before first error capture finishes\n // it's hard to immediately tell case 1 from case 2 without doing some fancy/questionable domain stuff\n // so let's instead just delay a bit before we proceed with our action here\n // in case 1, we just wait a bit unnecessarily but ultimately do the same thing\n // in case 2, the delay hopefully made us wait long enough for the capture to finish\n // two potential nonideal outcomes:\n // nonideal case 1: capturing fails fast, we sit around for a few seconds unnecessarily before proceeding correctly by calling onFatalError\n // nonideal case 2: case 2 happens, 1st error is captured but slowly, timeout completes before capture and we treat second error as the sendErr of (nonexistent) failure from trying to capture first error\n // note that after hitting this branch, we might catch more errors where (caughtSecondError && !calledFatalError)\n // we ignore them - they don't matter to us, we're just waiting for the second error timeout to finish\n caughtSecondError = true;\n setTimeout(() => {\n if (!calledFatalError) {\n // it was probably case 1, let's treat err as the sendErr and call onFatalError\n calledFatalError = true;\n onFatalError(firstError, error);\n } else {\n // it was probably case 2, our first error finished capturing while we waited, cool, do nothing\n }\n }, timeout); // capturing could take at least sendTimeout to fail, plus an arbitrary second for how long it takes to collect surrounding source etc\n }\n };\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/onunhandledrejection.d.ts b/node_modules/@sentry/node/dist/integrations/onunhandledrejection.d.ts new file mode 100644 index 000000000..4eca90e2d --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/onunhandledrejection.d.ts @@ -0,0 +1,40 @@ +import { Integration } from '@sentry/types'; +declare type UnhandledRejectionMode = 'none' | 'warn' | 'strict'; +/** Global Promise Rejection handler */ +export declare class OnUnhandledRejection implements Integration { + private readonly _options; + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + constructor(_options?: { + /** + * Option deciding what to do after capturing unhandledRejection, + * that mimicks behavior of node's --unhandled-rejection flag. + */ + mode: UnhandledRejectionMode; + }); + /** + * @inheritDoc + */ + setupOnce(): void; + /** + * Send an exception with reason + * @param reason string + * @param promise promise + */ + sendUnhandledPromise(reason: any, promise: any): void; + /** + * Handler for `mode` option + */ + private _handleRejection; +} +export {}; +//# sourceMappingURL=onunhandledrejection.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/onunhandledrejection.d.ts.map b/node_modules/@sentry/node/dist/integrations/onunhandledrejection.d.ts.map new file mode 100644 index 000000000..4c9e3e81a --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/onunhandledrejection.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"onunhandledrejection.d.ts","sourceRoot":"","sources":["../../src/integrations/onunhandledrejection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAK5C,aAAK,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEzD,uCAAuC;AACvC,qBAAa,oBAAqB,YAAW,WAAW;IAepD,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAd3B;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAA0B;IAElD;;OAEG;IACI,IAAI,EAAE,MAAM,CAA2B;IAE9C;;OAEG;gBAEgB,QAAQ,GAAE;QACzB;;;WAGG;QACH,IAAI,EAAE,sBAAsB,CAAC;KACX;IAGtB;;OAEG;IACI,SAAS,IAAI,IAAI;IAIxB;;;;OAIG;IAEI,oBAAoB,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,IAAI;IAmC5D;;OAEG;IAEH,OAAO,CAAC,gBAAgB;CAuBzB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/onunhandledrejection.js b/node_modules/@sentry/node/dist/integrations/onunhandledrejection.js new file mode 100644 index 000000000..d5e55301e --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/onunhandledrejection.js @@ -0,0 +1,91 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@sentry/core"); +var utils_1 = require("@sentry/utils"); +var errorhandling_1 = require("./utils/errorhandling"); +/** Global Promise Rejection handler */ +var OnUnhandledRejection = /** @class */ (function () { + /** + * @inheritDoc + */ + function OnUnhandledRejection(_options) { + if (_options === void 0) { _options = { mode: 'warn' }; } + this._options = _options; + /** + * @inheritDoc + */ + this.name = OnUnhandledRejection.id; + } + /** + * @inheritDoc + */ + OnUnhandledRejection.prototype.setupOnce = function () { + global.process.on('unhandledRejection', this.sendUnhandledPromise.bind(this)); + }; + /** + * Send an exception with reason + * @param reason string + * @param promise promise + */ + // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any + OnUnhandledRejection.prototype.sendUnhandledPromise = function (reason, promise) { + var hub = core_1.getCurrentHub(); + if (!hub.getIntegration(OnUnhandledRejection)) { + this._handleRejection(reason); + return; + } + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + var context = (promise.domain && promise.domain.sentryContext) || {}; + hub.withScope(function (scope) { + scope.setExtra('unhandledPromiseRejection', true); + // Preserve backwards compatibility with raven-node for now + if (context.user) { + scope.setUser(context.user); + } + if (context.tags) { + scope.setTags(context.tags); + } + if (context.extra) { + scope.setExtras(context.extra); + } + hub.captureException(reason, { + originalException: promise, + data: { mechanism: { handled: false, type: 'onunhandledrejection' } }, + }); + }); + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + this._handleRejection(reason); + }; + /** + * Handler for `mode` option + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + OnUnhandledRejection.prototype._handleRejection = function (reason) { + // https://github.com/nodejs/node/blob/7cf6f9e964aa00772965391c23acda6d71972a9a/lib/internal/process/promises.js#L234-L240 + var rejectionWarning = 'This error originated either by ' + + 'throwing inside of an async function without a catch block, ' + + 'or by rejecting a promise which was not handled with .catch().' + + ' The promise rejected with the reason:'; + /* eslint-disable no-console */ + if (this._options.mode === 'warn') { + utils_1.consoleSandbox(function () { + console.warn(rejectionWarning); + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + console.error(reason && reason.stack ? reason.stack : reason); + }); + } + else if (this._options.mode === 'strict') { + utils_1.consoleSandbox(function () { + console.warn(rejectionWarning); + }); + errorhandling_1.logAndExitProcess(reason); + } + /* eslint-enable no-console */ + }; + /** + * @inheritDoc + */ + OnUnhandledRejection.id = 'OnUnhandledRejection'; + return OnUnhandledRejection; +}()); +exports.OnUnhandledRejection = OnUnhandledRejection; +//# sourceMappingURL=onunhandledrejection.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/onunhandledrejection.js.map b/node_modules/@sentry/node/dist/integrations/onunhandledrejection.js.map new file mode 100644 index 000000000..e6d09e5ca --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/onunhandledrejection.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onunhandledrejection.js","sourceRoot":"","sources":["../../src/integrations/onunhandledrejection.ts"],"names":[],"mappings":";AAAA,qCAAoD;AAEpD,uCAA+C;AAE/C,uDAA0D;AAI1D,uCAAuC;AACvC;IAWE;;OAEG;IACH,8BACmB,QAMG;QANH,yBAAA,EAAA,aAMX,IAAI,EAAE,MAAM,EAAE;QANH,aAAQ,GAAR,QAAQ,CAML;QAftB;;WAEG;QACI,SAAI,GAAW,oBAAoB,CAAC,EAAE,CAAC;IAa3C,CAAC;IAEJ;;OAEG;IACI,wCAAS,GAAhB;QACE,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAChF,CAAC;IAED;;;;OAIG;IACH,iHAAiH;IAC1G,mDAAoB,GAA3B,UAA4B,MAAW,EAAE,OAAY;QACnD,IAAM,GAAG,GAAG,oBAAa,EAAE,CAAC;QAE5B,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,oBAAoB,CAAC,EAAE;YAC7C,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;YAC9B,OAAO;SACR;QAED,+DAA+D;QAC/D,IAAM,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;QAEvE,GAAG,CAAC,SAAS,CAAC,UAAC,KAAY;YACzB,KAAK,CAAC,QAAQ,CAAC,2BAA2B,EAAE,IAAI,CAAC,CAAC;YAElD,2DAA2D;YAC3D,IAAI,OAAO,CAAC,IAAI,EAAE;gBAChB,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;aAC7B;YACD,IAAI,OAAO,CAAC,IAAI,EAAE;gBAChB,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;aAC7B;YACD,IAAI,OAAO,CAAC,KAAK,EAAE;gBACjB,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;aAChC;YAED,GAAG,CAAC,gBAAgB,CAAC,MAAM,EAAE;gBAC3B,iBAAiB,EAAE,OAAO;gBAC1B,IAAI,EAAE,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,sBAAsB,EAAE,EAAE;aACtE,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QACH,+DAA+D;QAE/D,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,8DAA8D;IACtD,+CAAgB,GAAxB,UAAyB,MAAW;QAClC,0HAA0H;QAC1H,IAAM,gBAAgB,GACpB,kCAAkC;YAClC,8DAA8D;YAC9D,gEAAgE;YAChE,wCAAwC,CAAC;QAE3C,+BAA+B;QAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,MAAM,EAAE;YACjC,sBAAc,CAAC;gBACb,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;gBAC/B,sEAAsE;gBACtE,OAAO,CAAC,KAAK,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;YAChE,CAAC,CAAC,CAAC;SACJ;aAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,EAAE;YAC1C,sBAAc,CAAC;gBACb,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YACjC,CAAC,CAAC,CAAC;YACH,iCAAiB,CAAC,MAAM,CAAC,CAAC;SAC3B;QACD,8BAA8B;IAChC,CAAC;IAjGD;;OAEG;IACW,uBAAE,GAAW,sBAAsB,CAAC;IA+FpD,2BAAC;CAAA,AAnGD,IAmGC;AAnGY,oDAAoB","sourcesContent":["import { getCurrentHub, Scope } from '@sentry/core';\nimport { Integration } from '@sentry/types';\nimport { consoleSandbox } from '@sentry/utils';\n\nimport { logAndExitProcess } from './utils/errorhandling';\n\ntype UnhandledRejectionMode = 'none' | 'warn' | 'strict';\n\n/** Global Promise Rejection handler */\nexport class OnUnhandledRejection implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'OnUnhandledRejection';\n\n /**\n * @inheritDoc\n */\n public name: string = OnUnhandledRejection.id;\n\n /**\n * @inheritDoc\n */\n public constructor(\n private readonly _options: {\n /**\n * Option deciding what to do after capturing unhandledRejection,\n * that mimicks behavior of node's --unhandled-rejection flag.\n */\n mode: UnhandledRejectionMode;\n } = { mode: 'warn' },\n ) {}\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n global.process.on('unhandledRejection', this.sendUnhandledPromise.bind(this));\n }\n\n /**\n * Send an exception with reason\n * @param reason string\n * @param promise promise\n */\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any\n public sendUnhandledPromise(reason: any, promise: any): void {\n const hub = getCurrentHub();\n\n if (!hub.getIntegration(OnUnhandledRejection)) {\n this._handleRejection(reason);\n return;\n }\n\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n const context = (promise.domain && promise.domain.sentryContext) || {};\n\n hub.withScope((scope: Scope) => {\n scope.setExtra('unhandledPromiseRejection', true);\n\n // Preserve backwards compatibility with raven-node for now\n if (context.user) {\n scope.setUser(context.user);\n }\n if (context.tags) {\n scope.setTags(context.tags);\n }\n if (context.extra) {\n scope.setExtras(context.extra);\n }\n\n hub.captureException(reason, {\n originalException: promise,\n data: { mechanism: { handled: false, type: 'onunhandledrejection' } },\n });\n });\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n\n this._handleRejection(reason);\n }\n\n /**\n * Handler for `mode` option\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _handleRejection(reason: any): void {\n // https://github.com/nodejs/node/blob/7cf6f9e964aa00772965391c23acda6d71972a9a/lib/internal/process/promises.js#L234-L240\n const rejectionWarning =\n 'This error originated either by ' +\n 'throwing inside of an async function without a catch block, ' +\n 'or by rejecting a promise which was not handled with .catch().' +\n ' The promise rejected with the reason:';\n\n /* eslint-disable no-console */\n if (this._options.mode === 'warn') {\n consoleSandbox(() => {\n console.warn(rejectionWarning);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n console.error(reason && reason.stack ? reason.stack : reason);\n });\n } else if (this._options.mode === 'strict') {\n consoleSandbox(() => {\n console.warn(rejectionWarning);\n });\n logAndExitProcess(reason);\n }\n /* eslint-enable no-console */\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/utils/errorhandling.d.ts b/node_modules/@sentry/node/dist/integrations/utils/errorhandling.d.ts new file mode 100644 index 000000000..0d7ac3f8a --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/utils/errorhandling.d.ts @@ -0,0 +1,5 @@ +/** + * @hidden + */ +export declare function logAndExitProcess(error: Error): void; +//# sourceMappingURL=errorhandling.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/utils/errorhandling.d.ts.map b/node_modules/@sentry/node/dist/integrations/utils/errorhandling.d.ts.map new file mode 100644 index 000000000..5be439b60 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/utils/errorhandling.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"errorhandling.d.ts","sourceRoot":"","sources":["../../../src/integrations/utils/errorhandling.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAuBpD"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/utils/errorhandling.js b/node_modules/@sentry/node/dist/integrations/utils/errorhandling.js new file mode 100644 index 000000000..20b44cc23 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/utils/errorhandling.js @@ -0,0 +1,27 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var core_1 = require("@sentry/core"); +var utils_1 = require("@sentry/utils"); +var DEFAULT_SHUTDOWN_TIMEOUT = 2000; +/** + * @hidden + */ +function logAndExitProcess(error) { + // eslint-disable-next-line no-console + console.error(error && error.stack ? error.stack : error); + var client = core_1.getCurrentHub().getClient(); + if (client === undefined) { + utils_1.logger.warn('No NodeClient was defined, we are exiting the process now.'); + global.process.exit(1); + } + var options = client.getOptions(); + var timeout = (options && options.shutdownTimeout && options.shutdownTimeout > 0 && options.shutdownTimeout) || + DEFAULT_SHUTDOWN_TIMEOUT; + utils_1.forget(client.close(timeout).then(function (result) { + if (!result) { + utils_1.logger.warn('We reached the timeout for emptying the request buffer, still exiting now!'); + } + global.process.exit(1); + })); +} +exports.logAndExitProcess = logAndExitProcess; +//# sourceMappingURL=errorhandling.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/utils/errorhandling.js.map b/node_modules/@sentry/node/dist/integrations/utils/errorhandling.js.map new file mode 100644 index 000000000..21cd26215 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/utils/errorhandling.js.map @@ -0,0 +1 @@ +{"version":3,"file":"errorhandling.js","sourceRoot":"","sources":["../../../src/integrations/utils/errorhandling.ts"],"names":[],"mappings":";AAAA,qCAA6C;AAC7C,uCAA+C;AAI/C,IAAM,wBAAwB,GAAG,IAAI,CAAC;AAEtC;;GAEG;AACH,SAAgB,iBAAiB,CAAC,KAAY;IAC5C,sCAAsC;IACtC,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAE1D,IAAM,MAAM,GAAG,oBAAa,EAAE,CAAC,SAAS,EAAc,CAAC;IAEvD,IAAI,MAAM,KAAK,SAAS,EAAE;QACxB,cAAM,CAAC,IAAI,CAAC,4DAA4D,CAAC,CAAC;QAC1E,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACxB;IAED,IAAM,OAAO,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;IACpC,IAAM,OAAO,GACX,CAAC,OAAO,IAAI,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,eAAe,GAAG,CAAC,IAAI,OAAO,CAAC,eAAe,CAAC;QAC9F,wBAAwB,CAAC;IAC3B,cAAM,CACJ,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,UAAC,MAAe;QACzC,IAAI,CAAC,MAAM,EAAE;YACX,cAAM,CAAC,IAAI,CAAC,4EAA4E,CAAC,CAAC;SAC3F;QACD,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzB,CAAC,CAAC,CACH,CAAC;AACJ,CAAC;AAvBD,8CAuBC","sourcesContent":["import { getCurrentHub } from '@sentry/core';\nimport { forget, logger } from '@sentry/utils';\n\nimport { NodeClient } from '../../client';\n\nconst DEFAULT_SHUTDOWN_TIMEOUT = 2000;\n\n/**\n * @hidden\n */\nexport function logAndExitProcess(error: Error): void {\n // eslint-disable-next-line no-console\n console.error(error && error.stack ? error.stack : error);\n\n const client = getCurrentHub().getClient();\n\n if (client === undefined) {\n logger.warn('No NodeClient was defined, we are exiting the process now.');\n global.process.exit(1);\n }\n\n const options = client.getOptions();\n const timeout =\n (options && options.shutdownTimeout && options.shutdownTimeout > 0 && options.shutdownTimeout) ||\n DEFAULT_SHUTDOWN_TIMEOUT;\n forget(\n client.close(timeout).then((result: boolean) => {\n if (!result) {\n logger.warn('We reached the timeout for emptying the request buffer, still exiting now!');\n }\n global.process.exit(1);\n }),\n );\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/utils/http.d.ts b/node_modules/@sentry/node/dist/integrations/utils/http.d.ts new file mode 100644 index 000000000..180ee0b2d --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/utils/http.d.ts @@ -0,0 +1,64 @@ +/// +import * as http from 'http'; +import * as https from 'https'; +import { URL } from 'url'; +/** + * Checks whether given url points to Sentry server + * @param url url to verify + */ +export declare function isSentryRequest(url: string): boolean; +/** + * Assemble a URL to be used for breadcrumbs and spans. + * + * @param requestOptions RequestOptions object containing the component parts for a URL + * @returns Fully-formed URL + */ +export declare function extractUrl(requestOptions: RequestOptions): string; +/** + * Handle various edge cases in the span description (for spans representing http(s) requests). + * + * @param description current `description` property of the span representing the request + * @param requestOptions Configuration data for the request + * @param Request Request object + * + * @returns The cleaned description + */ +export declare function cleanSpanDescription(description: string | undefined, requestOptions: RequestOptions, request: http.ClientRequest): string | undefined; +export declare type RequestOptions = http.RequestOptions & { + hash?: string; + search?: string; + pathname?: string; + href?: string; +}; +declare type RequestCallback = (response: http.IncomingMessage) => void; +export declare type RequestMethodArgs = [RequestOptions | string | URL, RequestCallback?] | [string | URL, RequestOptions, RequestCallback?]; +export declare type RequestMethod = (...args: RequestMethodArgs) => http.ClientRequest; +/** + * Convert a URL object into a RequestOptions object. + * + * Copied from Node's internals (where it's used in http(s).request() and http(s).get()), modified only to use the + * RequestOptions type above. + * + * See https://github.com/nodejs/node/blob/master/lib/internal/url.js. + */ +export declare function urlToOptions(url: URL): RequestOptions; +/** + * Normalize inputs to `http(s).request()` and `http(s).get()`. + * + * Legal inputs to `http(s).request()` and `http(s).get()` can take one of ten forms: + * [ RequestOptions | string | URL ], + * [ RequestOptions | string | URL, RequestCallback ], + * [ string | URL, RequestOptions ], and + * [ string | URL, RequestOptions, RequestCallback ]. + * + * This standardizes to one of two forms: [ RequestOptions ] and [ RequestOptions, RequestCallback ]. A similar thing is + * done as the first step of `http(s).request()` and `http(s).get()`; this just does it early so that we can interact + * with the args in a standard way. + * + * @param requestArgs The inputs to `http(s).request()` or `http(s).get()`, as an array. + * + * @returns Equivalent args of the form [ RequestOptions ] or [ RequestOptions, RequestCallback ]. + */ +export declare function normalizeRequestArgs(httpModule: typeof http | typeof https, requestArgs: RequestMethodArgs): [RequestOptions] | [RequestOptions, RequestCallback]; +export {}; +//# sourceMappingURL=http.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/utils/http.d.ts.map b/node_modules/@sentry/node/dist/integrations/utils/http.d.ts.map new file mode 100644 index 000000000..55372d14b --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/utils/http.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/integrations/utils/http.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAGpD;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CASjE;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,IAAI,CAAC,aAAa,GAC1B,MAAM,GAAG,SAAS,CAuBpB;AAGD,oBAAY,cAAc,GAAG,IAAI,CAAC,cAAc,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACxH,aAAK,eAAe,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,eAAe,KAAK,IAAI,CAAC;AAChE,oBAAY,iBAAiB,GACzB,CAAC,cAAc,GAAG,MAAM,GAAG,GAAG,EAAE,eAAe,CAAC,CAAC,GACjD,CAAC,MAAM,GAAG,GAAG,EAAE,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC;AACrD,oBAAY,aAAa,GAAG,CAAC,GAAG,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC,aAAa,CAAC;AAE/E;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,GAAG,GAAG,cAAc,CAkBrD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,IAAI,GAAG,OAAO,KAAK,EACtC,WAAW,EAAE,iBAAiB,GAC7B,CAAC,cAAc,CAAC,GAAG,CAAC,cAAc,EAAE,eAAe,CAAC,CAoDtD"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/utils/http.js b/node_modules/@sentry/node/dist/integrations/utils/http.js new file mode 100644 index 000000000..28de7d0d1 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/utils/http.js @@ -0,0 +1,156 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var utils_1 = require("@sentry/utils"); +var url_1 = require("url"); +var NODE_VERSION = utils_1.parseSemver(process.versions.node); +/** + * Checks whether given url points to Sentry server + * @param url url to verify + */ +function isSentryRequest(url) { + var _a; + var dsn = (_a = core_1.getCurrentHub().getClient()) === null || _a === void 0 ? void 0 : _a.getDsn(); + return dsn ? url.includes(dsn.host) : false; +} +exports.isSentryRequest = isSentryRequest; +/** + * Assemble a URL to be used for breadcrumbs and spans. + * + * @param requestOptions RequestOptions object containing the component parts for a URL + * @returns Fully-formed URL + */ +function extractUrl(requestOptions) { + var protocol = requestOptions.protocol || ''; + var hostname = requestOptions.hostname || requestOptions.host || ''; + // Don't log standard :80 (http) and :443 (https) ports to reduce the noise + var port = !requestOptions.port || requestOptions.port === 80 || requestOptions.port === 443 ? '' : ":" + requestOptions.port; + var path = requestOptions.path ? requestOptions.path : '/'; + return protocol + "//" + hostname + port + path; +} +exports.extractUrl = extractUrl; +/** + * Handle various edge cases in the span description (for spans representing http(s) requests). + * + * @param description current `description` property of the span representing the request + * @param requestOptions Configuration data for the request + * @param Request Request object + * + * @returns The cleaned description + */ +function cleanSpanDescription(description, requestOptions, request) { + var _a, _b, _c; + // nothing to clean + if (!description) { + return description; + } + // eslint-disable-next-line prefer-const + var _d = tslib_1.__read(description.split(' '), 2), method = _d[0], requestUrl = _d[1]; + // superagent sticks the protocol in a weird place (we check for host because if both host *and* protocol are missing, + // we're likely dealing with an internal route and this doesn't apply) + if (requestOptions.host && !requestOptions.protocol) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any + requestOptions.protocol = (_b = (_a = request) === null || _a === void 0 ? void 0 : _a.agent) === null || _b === void 0 ? void 0 : _b.protocol; // worst comes to worst, this is undefined and nothing changes + requestUrl = extractUrl(requestOptions); + } + // internal routes can end up starting with a triple slash rather than a single one + if ((_c = requestUrl) === null || _c === void 0 ? void 0 : _c.startsWith('///')) { + requestUrl = requestUrl.slice(2); + } + return method + " " + requestUrl; +} +exports.cleanSpanDescription = cleanSpanDescription; +/** + * Convert a URL object into a RequestOptions object. + * + * Copied from Node's internals (where it's used in http(s).request() and http(s).get()), modified only to use the + * RequestOptions type above. + * + * See https://github.com/nodejs/node/blob/master/lib/internal/url.js. + */ +function urlToOptions(url) { + var options = { + protocol: url.protocol, + hostname: typeof url.hostname === 'string' && url.hostname.startsWith('[') ? url.hostname.slice(1, -1) : url.hostname, + hash: url.hash, + search: url.search, + pathname: url.pathname, + path: "" + (url.pathname || '') + (url.search || ''), + href: url.href, + }; + if (url.port !== '') { + options.port = Number(url.port); + } + if (url.username || url.password) { + options.auth = url.username + ":" + url.password; + } + return options; +} +exports.urlToOptions = urlToOptions; +/** + * Normalize inputs to `http(s).request()` and `http(s).get()`. + * + * Legal inputs to `http(s).request()` and `http(s).get()` can take one of ten forms: + * [ RequestOptions | string | URL ], + * [ RequestOptions | string | URL, RequestCallback ], + * [ string | URL, RequestOptions ], and + * [ string | URL, RequestOptions, RequestCallback ]. + * + * This standardizes to one of two forms: [ RequestOptions ] and [ RequestOptions, RequestCallback ]. A similar thing is + * done as the first step of `http(s).request()` and `http(s).get()`; this just does it early so that we can interact + * with the args in a standard way. + * + * @param requestArgs The inputs to `http(s).request()` or `http(s).get()`, as an array. + * + * @returns Equivalent args of the form [ RequestOptions ] or [ RequestOptions, RequestCallback ]. + */ +function normalizeRequestArgs(httpModule, requestArgs) { + var _a, _b, _c, _d, _e, _f, _g, _h; + var callback, requestOptions; + // pop off the callback, if there is one + if (typeof requestArgs[requestArgs.length - 1] === 'function') { + callback = requestArgs.pop(); + } + // create a RequestOptions object of whatever's at index 0 + if (typeof requestArgs[0] === 'string') { + requestOptions = urlToOptions(new url_1.URL(requestArgs[0])); + } + else if (requestArgs[0] instanceof url_1.URL) { + requestOptions = urlToOptions(requestArgs[0]); + } + else { + requestOptions = requestArgs[0]; + } + // if the options were given separately from the URL, fold them in + if (requestArgs.length === 2) { + requestOptions = tslib_1.__assign(tslib_1.__assign({}, requestOptions), requestArgs[1]); + } + // Figure out the protocol if it's currently missing + if (requestOptions.protocol === undefined) { + // Worst case we end up populating protocol with undefined, which it already is + /* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */ + // NOTE: Prior to Node 9, `https` used internals of `http` module, thus we don't patch it. + // Because of that, we cannot rely on `httpModule` to provide us with valid protocol, + // as it will always return `http`, even when using `https` module. + // + // See test/integrations/http.test.ts for more details on Node <=v8 protocol issue. + if (NODE_VERSION.major && NODE_VERSION.major > 8) { + requestOptions.protocol = + ((_b = (_a = httpModule) === null || _a === void 0 ? void 0 : _a.globalAgent) === null || _b === void 0 ? void 0 : _b.protocol) || ((_c = requestOptions.agent) === null || _c === void 0 ? void 0 : _c.protocol) || ((_d = requestOptions._defaultAgent) === null || _d === void 0 ? void 0 : _d.protocol); + } + else { + requestOptions.protocol = + ((_e = requestOptions.agent) === null || _e === void 0 ? void 0 : _e.protocol) || ((_f = requestOptions._defaultAgent) === null || _f === void 0 ? void 0 : _f.protocol) || ((_h = (_g = httpModule) === null || _g === void 0 ? void 0 : _g.globalAgent) === null || _h === void 0 ? void 0 : _h.protocol); + } + /* eslint-enable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */ + } + // return args in standardized form + if (callback) { + return [requestOptions, callback]; + } + else { + return [requestOptions]; + } +} +exports.normalizeRequestArgs = normalizeRequestArgs; +//# sourceMappingURL=http.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/integrations/utils/http.js.map b/node_modules/@sentry/node/dist/integrations/utils/http.js.map new file mode 100644 index 000000000..14598d444 --- /dev/null +++ b/node_modules/@sentry/node/dist/integrations/utils/http.js.map @@ -0,0 +1 @@ +{"version":3,"file":"http.js","sourceRoot":"","sources":["../../../src/integrations/utils/http.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub } from '@sentry/core';\nimport { parseSemver } from '@sentry/utils';\nimport * as http from 'http';\nimport * as https from 'https';\nimport { URL } from 'url';\n\nconst NODE_VERSION = parseSemver(process.versions.node);\n\n/**\n * Checks whether given url points to Sentry server\n * @param url url to verify\n */\nexport function isSentryRequest(url: string): boolean {\n const dsn = getCurrentHub().getClient()?.getDsn();\n return dsn ? url.includes(dsn.host) : false;\n}\n\n/**\n * Assemble a URL to be used for breadcrumbs and spans.\n *\n * @param requestOptions RequestOptions object containing the component parts for a URL\n * @returns Fully-formed URL\n */\nexport function extractUrl(requestOptions: RequestOptions): string {\n const protocol = requestOptions.protocol || '';\n const hostname = requestOptions.hostname || requestOptions.host || '';\n // Don't log standard :80 (http) and :443 (https) ports to reduce the noise\n const port =\n !requestOptions.port || requestOptions.port === 80 || requestOptions.port === 443 ? '' : `:${requestOptions.port}`;\n const path = requestOptions.path ? requestOptions.path : '/';\n\n return `${protocol}//${hostname}${port}${path}`;\n}\n\n/**\n * Handle various edge cases in the span description (for spans representing http(s) requests).\n *\n * @param description current `description` property of the span representing the request\n * @param requestOptions Configuration data for the request\n * @param Request Request object\n *\n * @returns The cleaned description\n */\nexport function cleanSpanDescription(\n description: string | undefined,\n requestOptions: RequestOptions,\n request: http.ClientRequest,\n): string | undefined {\n // nothing to clean\n if (!description) {\n return description;\n }\n\n // eslint-disable-next-line prefer-const\n let [method, requestUrl] = description.split(' ');\n\n // superagent sticks the protocol in a weird place (we check for host because if both host *and* protocol are missing,\n // we're likely dealing with an internal route and this doesn't apply)\n if (requestOptions.host && !requestOptions.protocol) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n requestOptions.protocol = (request as any)?.agent?.protocol; // worst comes to worst, this is undefined and nothing changes\n requestUrl = extractUrl(requestOptions);\n }\n\n // internal routes can end up starting with a triple slash rather than a single one\n if (requestUrl?.startsWith('///')) {\n requestUrl = requestUrl.slice(2);\n }\n\n return `${method} ${requestUrl}`;\n}\n\n// the node types are missing a few properties which node's `urlToOptions` function spits out\nexport type RequestOptions = http.RequestOptions & { hash?: string; search?: string; pathname?: string; href?: string };\ntype RequestCallback = (response: http.IncomingMessage) => void;\nexport type RequestMethodArgs =\n | [RequestOptions | string | URL, RequestCallback?]\n | [string | URL, RequestOptions, RequestCallback?];\nexport type RequestMethod = (...args: RequestMethodArgs) => http.ClientRequest;\n\n/**\n * Convert a URL object into a RequestOptions object.\n *\n * Copied from Node's internals (where it's used in http(s).request() and http(s).get()), modified only to use the\n * RequestOptions type above.\n *\n * See https://github.com/nodejs/node/blob/master/lib/internal/url.js.\n */\nexport function urlToOptions(url: URL): RequestOptions {\n const options: RequestOptions = {\n protocol: url.protocol,\n hostname:\n typeof url.hostname === 'string' && url.hostname.startsWith('[') ? url.hostname.slice(1, -1) : url.hostname,\n hash: url.hash,\n search: url.search,\n pathname: url.pathname,\n path: `${url.pathname || ''}${url.search || ''}`,\n href: url.href,\n };\n if (url.port !== '') {\n options.port = Number(url.port);\n }\n if (url.username || url.password) {\n options.auth = `${url.username}:${url.password}`;\n }\n return options;\n}\n\n/**\n * Normalize inputs to `http(s).request()` and `http(s).get()`.\n *\n * Legal inputs to `http(s).request()` and `http(s).get()` can take one of ten forms:\n * [ RequestOptions | string | URL ],\n * [ RequestOptions | string | URL, RequestCallback ],\n * [ string | URL, RequestOptions ], and\n * [ string | URL, RequestOptions, RequestCallback ].\n *\n * This standardizes to one of two forms: [ RequestOptions ] and [ RequestOptions, RequestCallback ]. A similar thing is\n * done as the first step of `http(s).request()` and `http(s).get()`; this just does it early so that we can interact\n * with the args in a standard way.\n *\n * @param requestArgs The inputs to `http(s).request()` or `http(s).get()`, as an array.\n *\n * @returns Equivalent args of the form [ RequestOptions ] or [ RequestOptions, RequestCallback ].\n */\nexport function normalizeRequestArgs(\n httpModule: typeof http | typeof https,\n requestArgs: RequestMethodArgs,\n): [RequestOptions] | [RequestOptions, RequestCallback] {\n let callback, requestOptions;\n\n // pop off the callback, if there is one\n if (typeof requestArgs[requestArgs.length - 1] === 'function') {\n callback = requestArgs.pop() as RequestCallback;\n }\n\n // create a RequestOptions object of whatever's at index 0\n if (typeof requestArgs[0] === 'string') {\n requestOptions = urlToOptions(new URL(requestArgs[0]));\n } else if (requestArgs[0] instanceof URL) {\n requestOptions = urlToOptions(requestArgs[0]);\n } else {\n requestOptions = requestArgs[0];\n }\n\n // if the options were given separately from the URL, fold them in\n if (requestArgs.length === 2) {\n requestOptions = { ...requestOptions, ...requestArgs[1] };\n }\n\n // Figure out the protocol if it's currently missing\n if (requestOptions.protocol === undefined) {\n // Worst case we end up populating protocol with undefined, which it already is\n /* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */\n\n // NOTE: Prior to Node 9, `https` used internals of `http` module, thus we don't patch it.\n // Because of that, we cannot rely on `httpModule` to provide us with valid protocol,\n // as it will always return `http`, even when using `https` module.\n //\n // See test/integrations/http.test.ts for more details on Node <=v8 protocol issue.\n if (NODE_VERSION.major && NODE_VERSION.major > 8) {\n requestOptions.protocol =\n (httpModule?.globalAgent as any)?.protocol ||\n (requestOptions.agent as any)?.protocol ||\n (requestOptions._defaultAgent as any)?.protocol;\n } else {\n requestOptions.protocol =\n (requestOptions.agent as any)?.protocol ||\n (requestOptions._defaultAgent as any)?.protocol ||\n (httpModule?.globalAgent as any)?.protocol;\n }\n /* eslint-enable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */\n }\n\n // return args in standardized form\n if (callback) {\n return [requestOptions, callback];\n } else {\n return [requestOptions];\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/parsers.d.ts b/node_modules/@sentry/node/dist/parsers.d.ts new file mode 100644 index 000000000..cb1ef10f5 --- /dev/null +++ b/node_modules/@sentry/node/dist/parsers.d.ts @@ -0,0 +1,29 @@ +import { Event, Exception, ExtendedError, StackFrame } from '@sentry/types'; +import * as stacktrace from './stacktrace'; +import { NodeOptions } from './types'; +/** + * Resets the file cache. Exists for testing purposes. + * @hidden + */ +export declare function resetFileContentCache(): void; +/** + * @hidden + */ +export declare function extractStackFromError(error: Error): stacktrace.StackFrame[]; +/** + * @hidden + */ +export declare function parseStack(stack: stacktrace.StackFrame[], options?: NodeOptions): PromiseLike; +/** + * @hidden + */ +export declare function getExceptionFromError(error: Error, options?: NodeOptions): PromiseLike; +/** + * @hidden + */ +export declare function parseError(error: ExtendedError, options?: NodeOptions): PromiseLike; +/** + * @hidden + */ +export declare function prepareFramesForEvent(stack: StackFrame[]): StackFrame[]; +//# sourceMappingURL=parsers.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/parsers.d.ts.map b/node_modules/@sentry/node/dist/parsers.d.ts.map new file mode 100644 index 000000000..ef5377919 --- /dev/null +++ b/node_modules/@sentry/node/dist/parsers.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../src/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK5E,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAKtC;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AA2GD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,GAAG,UAAU,CAAC,UAAU,EAAE,CAM3E;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,EAAE,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,UAAU,EAAE,CAAC,CAmD3G;AAkCD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC,CAejG;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,CAU1F;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,CAcvE"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/parsers.js b/node_modules/@sentry/node/dist/parsers.js new file mode 100644 index 000000000..22476771b --- /dev/null +++ b/node_modules/@sentry/node/dist/parsers.js @@ -0,0 +1,244 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var fs_1 = require("fs"); +var lru_map_1 = require("lru_map"); +var stacktrace = require("./stacktrace"); +var DEFAULT_LINES_OF_CONTEXT = 7; +var FILE_CONTENT_CACHE = new lru_map_1.LRUMap(100); +/** + * Resets the file cache. Exists for testing purposes. + * @hidden + */ +function resetFileContentCache() { + FILE_CONTENT_CACHE.clear(); +} +exports.resetFileContentCache = resetFileContentCache; +/** JSDoc */ +function getFunction(frame) { + try { + return frame.functionName || frame.typeName + "." + (frame.methodName || ''); + } + catch (e) { + // This seems to happen sometimes when using 'use strict', + // stemming from `getTypeName`. + // [TypeError: Cannot read property 'constructor' of undefined] + return ''; + } +} +var mainModule = ((require.main && require.main.filename && utils_1.dirname(require.main.filename)) || global.process.cwd()) + "/"; +/** JSDoc */ +function getModule(filename, base) { + if (!base) { + // eslint-disable-next-line no-param-reassign + base = mainModule; + } + // It's specifically a module + var file = utils_1.basename(filename, '.js'); + // eslint-disable-next-line no-param-reassign + filename = utils_1.dirname(filename); + var n = filename.lastIndexOf('/node_modules/'); + if (n > -1) { + // /node_modules/ is 14 chars + return filename.substr(n + 14).replace(/\//g, '.') + ":" + file; + } + // Let's see if it's a part of the main module + // To be a part of main module, it has to share the same base + n = (filename + "/").lastIndexOf(base, 0); + if (n === 0) { + var moduleName = filename.substr(base.length).replace(/\//g, '.'); + if (moduleName) { + moduleName += ':'; + } + moduleName += file; + return moduleName; + } + return file; +} +/** + * This function reads file contents and caches them in a global LRU cache. + * Returns a Promise filepath => content array for all files that we were able to read. + * + * @param filenames Array of filepaths to read content from. + */ +function readSourceFiles(filenames) { + // we're relying on filenames being de-duped already + if (filenames.length === 0) { + return utils_1.resolvedSyncPromise({}); + } + return new utils_1.SyncPromise(function (resolve) { + var sourceFiles = {}; + var count = 0; + var _loop_1 = function (i) { + var filename = filenames[i]; + var cache = FILE_CONTENT_CACHE.get(filename); + // We have a cache hit + if (cache !== undefined) { + // If it's not null (which means we found a file and have a content) + // we set the content and return it later. + if (cache !== null) { + sourceFiles[filename] = cache; + } + // eslint-disable-next-line no-plusplus + count++; + // In any case we want to skip here then since we have a content already or we couldn't + // read the file and don't want to try again. + if (count === filenames.length) { + resolve(sourceFiles); + } + return "continue"; + } + fs_1.readFile(filename, function (err, data) { + var content = err ? null : data.toString(); + sourceFiles[filename] = content; + // We always want to set the cache, even to null which means there was an error reading the file. + // We do not want to try to read the file again. + FILE_CONTENT_CACHE.set(filename, content); + // eslint-disable-next-line no-plusplus + count++; + if (count === filenames.length) { + resolve(sourceFiles); + } + }); + }; + // eslint-disable-next-line @typescript-eslint/prefer-for-of + for (var i = 0; i < filenames.length; i++) { + _loop_1(i); + } + }); +} +/** + * @hidden + */ +function extractStackFromError(error) { + var stack = stacktrace.parse(error); + if (!stack) { + return []; + } + return stack; +} +exports.extractStackFromError = extractStackFromError; +/** + * @hidden + */ +function parseStack(stack, options) { + var filesToRead = []; + var linesOfContext = options && options.frameContextLines !== undefined ? options.frameContextLines : DEFAULT_LINES_OF_CONTEXT; + var frames = stack.map(function (frame) { + var _a; + var parsedFrame = { + colno: frame.columnNumber, + filename: ((_a = frame.fileName) === null || _a === void 0 ? void 0 : _a.startsWith('file://')) ? frame.fileName.substr(7) : frame.fileName || '', + function: getFunction(frame), + lineno: frame.lineNumber, + }; + var isInternal = frame.native || + (parsedFrame.filename && + !parsedFrame.filename.startsWith('/') && + !parsedFrame.filename.startsWith('.') && + parsedFrame.filename.indexOf(':\\') !== 1); + // in_app is all that's not an internal Node function or a module within node_modules + // note that isNative appears to return true even for node core libraries + // see https://github.com/getsentry/raven-node/issues/176 + parsedFrame.in_app = + !isInternal && parsedFrame.filename !== undefined && parsedFrame.filename.indexOf('node_modules/') === -1; + // Extract a module name based on the filename + if (parsedFrame.filename) { + parsedFrame.module = getModule(parsedFrame.filename); + if (!isInternal && linesOfContext > 0 && filesToRead.indexOf(parsedFrame.filename) === -1) { + filesToRead.push(parsedFrame.filename); + } + } + return parsedFrame; + }); + // We do an early return if we do not want to fetch context liens + if (linesOfContext <= 0) { + return utils_1.resolvedSyncPromise(frames); + } + try { + return addPrePostContext(filesToRead, frames, linesOfContext); + } + catch (_) { + // This happens in electron for example where we are not able to read files from asar. + // So it's fine, we recover be just returning all frames without pre/post context. + return utils_1.resolvedSyncPromise(frames); + } +} +exports.parseStack = parseStack; +/** + * This function tries to read the source files + adding pre and post context (source code) + * to a frame. + * @param filesToRead string[] of filepaths + * @param frames StackFrame[] containg all frames + */ +function addPrePostContext(filesToRead, frames, linesOfContext) { + return new utils_1.SyncPromise(function (resolve) { + return readSourceFiles(filesToRead).then(function (sourceFiles) { + var result = frames.map(function (frame) { + if (frame.filename && sourceFiles[frame.filename]) { + try { + var lines = sourceFiles[frame.filename].split('\n'); + utils_1.addContextToFrame(lines, frame, linesOfContext); + } + catch (e) { + // anomaly, being defensive in case + // unlikely to ever happen in practice but can definitely happen in theory + } + } + return frame; + }); + resolve(result); + }); + }); +} +/** + * @hidden + */ +function getExceptionFromError(error, options) { + var name = error.name || error.constructor.name; + var stack = extractStackFromError(error); + return new utils_1.SyncPromise(function (resolve) { + return parseStack(stack, options).then(function (frames) { + var result = { + stacktrace: { + frames: prepareFramesForEvent(frames), + }, + type: name, + value: error.message, + }; + resolve(result); + }); + }); +} +exports.getExceptionFromError = getExceptionFromError; +/** + * @hidden + */ +function parseError(error, options) { + return new utils_1.SyncPromise(function (resolve) { + return getExceptionFromError(error, options).then(function (exception) { + resolve({ + exception: { + values: [exception], + }, + }); + }); + }); +} +exports.parseError = parseError; +/** + * @hidden + */ +function prepareFramesForEvent(stack) { + if (!stack || !stack.length) { + return []; + } + var localStack = stack; + var firstFrameFunction = localStack[0].function || ''; + if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) { + localStack = localStack.slice(1); + } + // The frame where the crash happened, should be the last entry in the array + return localStack.reverse(); +} +exports.prepareFramesForEvent = prepareFramesForEvent; +//# sourceMappingURL=parsers.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/parsers.js.map b/node_modules/@sentry/node/dist/parsers.js.map new file mode 100644 index 000000000..7e2c6776b --- /dev/null +++ b/node_modules/@sentry/node/dist/parsers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../src/parsers.ts"],"names":[],"mappings":"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","sourcesContent":["import { Event, Exception, ExtendedError, StackFrame } from '@sentry/types';\nimport { addContextToFrame, basename, dirname, resolvedSyncPromise, SyncPromise } from '@sentry/utils';\nimport { readFile } from 'fs';\nimport { LRUMap } from 'lru_map';\n\nimport * as stacktrace from './stacktrace';\nimport { NodeOptions } from './types';\n\nconst DEFAULT_LINES_OF_CONTEXT: number = 7;\nconst FILE_CONTENT_CACHE = new LRUMap(100);\n\n/**\n * Resets the file cache. Exists for testing purposes.\n * @hidden\n */\nexport function resetFileContentCache(): void {\n FILE_CONTENT_CACHE.clear();\n}\n\n/** JSDoc */\nfunction getFunction(frame: stacktrace.StackFrame): string {\n try {\n return frame.functionName || `${frame.typeName}.${frame.methodName || ''}`;\n } catch (e) {\n // This seems to happen sometimes when using 'use strict',\n // stemming from `getTypeName`.\n // [TypeError: Cannot read property 'constructor' of undefined]\n return '';\n }\n}\n\nconst mainModule: string = `${\n (require.main && require.main.filename && dirname(require.main.filename)) || global.process.cwd()\n}/`;\n\n/** JSDoc */\nfunction getModule(filename: string, base?: string): string {\n if (!base) {\n // eslint-disable-next-line no-param-reassign\n base = mainModule;\n }\n\n // It's specifically a module\n const file = basename(filename, '.js');\n // eslint-disable-next-line no-param-reassign\n filename = dirname(filename);\n let n = filename.lastIndexOf('/node_modules/');\n if (n > -1) {\n // /node_modules/ is 14 chars\n return `${filename.substr(n + 14).replace(/\\//g, '.')}:${file}`;\n }\n // Let's see if it's a part of the main module\n // To be a part of main module, it has to share the same base\n n = `${filename}/`.lastIndexOf(base, 0);\n if (n === 0) {\n let moduleName = filename.substr(base.length).replace(/\\//g, '.');\n if (moduleName) {\n moduleName += ':';\n }\n moduleName += file;\n return moduleName;\n }\n return file;\n}\n\n/**\n * This function reads file contents and caches them in a global LRU cache.\n * Returns a Promise filepath => content array for all files that we were able to read.\n *\n * @param filenames Array of filepaths to read content from.\n */\nfunction readSourceFiles(filenames: string[]): PromiseLike<{ [key: string]: string | null }> {\n // we're relying on filenames being de-duped already\n if (filenames.length === 0) {\n return resolvedSyncPromise({});\n }\n\n return new SyncPromise<{\n [key: string]: string | null;\n }>(resolve => {\n const sourceFiles: {\n [key: string]: string | null;\n } = {};\n\n let count = 0;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < filenames.length; i++) {\n const filename = filenames[i];\n\n const cache = FILE_CONTENT_CACHE.get(filename);\n // We have a cache hit\n if (cache !== undefined) {\n // If it's not null (which means we found a file and have a content)\n // we set the content and return it later.\n if (cache !== null) {\n sourceFiles[filename] = cache;\n }\n // eslint-disable-next-line no-plusplus\n count++;\n // In any case we want to skip here then since we have a content already or we couldn't\n // read the file and don't want to try again.\n if (count === filenames.length) {\n resolve(sourceFiles);\n }\n continue;\n }\n\n readFile(filename, (err: Error | null, data: Buffer) => {\n const content = err ? null : data.toString();\n sourceFiles[filename] = content;\n\n // We always want to set the cache, even to null which means there was an error reading the file.\n // We do not want to try to read the file again.\n FILE_CONTENT_CACHE.set(filename, content);\n // eslint-disable-next-line no-plusplus\n count++;\n if (count === filenames.length) {\n resolve(sourceFiles);\n }\n });\n }\n });\n}\n\n/**\n * @hidden\n */\nexport function extractStackFromError(error: Error): stacktrace.StackFrame[] {\n const stack = stacktrace.parse(error);\n if (!stack) {\n return [];\n }\n return stack;\n}\n\n/**\n * @hidden\n */\nexport function parseStack(stack: stacktrace.StackFrame[], options?: NodeOptions): PromiseLike {\n const filesToRead: string[] = [];\n\n const linesOfContext =\n options && options.frameContextLines !== undefined ? options.frameContextLines : DEFAULT_LINES_OF_CONTEXT;\n\n const frames: StackFrame[] = stack.map(frame => {\n const parsedFrame: StackFrame = {\n colno: frame.columnNumber,\n filename: frame.fileName?.startsWith('file://') ? frame.fileName.substr(7) : frame.fileName || '',\n function: getFunction(frame),\n lineno: frame.lineNumber,\n };\n\n const isInternal =\n frame.native ||\n (parsedFrame.filename &&\n !parsedFrame.filename.startsWith('/') &&\n !parsedFrame.filename.startsWith('.') &&\n parsedFrame.filename.indexOf(':\\\\') !== 1);\n\n // in_app is all that's not an internal Node function or a module within node_modules\n // note that isNative appears to return true even for node core libraries\n // see https://github.com/getsentry/raven-node/issues/176\n parsedFrame.in_app =\n !isInternal && parsedFrame.filename !== undefined && parsedFrame.filename.indexOf('node_modules/') === -1;\n\n // Extract a module name based on the filename\n if (parsedFrame.filename) {\n parsedFrame.module = getModule(parsedFrame.filename);\n\n if (!isInternal && linesOfContext > 0 && filesToRead.indexOf(parsedFrame.filename) === -1) {\n filesToRead.push(parsedFrame.filename);\n }\n }\n\n return parsedFrame;\n });\n\n // We do an early return if we do not want to fetch context liens\n if (linesOfContext <= 0) {\n return resolvedSyncPromise(frames);\n }\n\n try {\n return addPrePostContext(filesToRead, frames, linesOfContext);\n } catch (_) {\n // This happens in electron for example where we are not able to read files from asar.\n // So it's fine, we recover be just returning all frames without pre/post context.\n return resolvedSyncPromise(frames);\n }\n}\n\n/**\n * This function tries to read the source files + adding pre and post context (source code)\n * to a frame.\n * @param filesToRead string[] of filepaths\n * @param frames StackFrame[] containg all frames\n */\nfunction addPrePostContext(\n filesToRead: string[],\n frames: StackFrame[],\n linesOfContext: number,\n): PromiseLike {\n return new SyncPromise(resolve =>\n readSourceFiles(filesToRead).then(sourceFiles => {\n const result = frames.map(frame => {\n if (frame.filename && sourceFiles[frame.filename]) {\n try {\n const lines = (sourceFiles[frame.filename] as string).split('\\n');\n\n addContextToFrame(lines, frame, linesOfContext);\n } catch (e) {\n // anomaly, being defensive in case\n // unlikely to ever happen in practice but can definitely happen in theory\n }\n }\n return frame;\n });\n\n resolve(result);\n }),\n );\n}\n\n/**\n * @hidden\n */\nexport function getExceptionFromError(error: Error, options?: NodeOptions): PromiseLike {\n const name = error.name || error.constructor.name;\n const stack = extractStackFromError(error);\n return new SyncPromise(resolve =>\n parseStack(stack, options).then(frames => {\n const result = {\n stacktrace: {\n frames: prepareFramesForEvent(frames),\n },\n type: name,\n value: error.message,\n };\n resolve(result);\n }),\n );\n}\n\n/**\n * @hidden\n */\nexport function parseError(error: ExtendedError, options?: NodeOptions): PromiseLike {\n return new SyncPromise(resolve =>\n getExceptionFromError(error, options).then((exception: Exception) => {\n resolve({\n exception: {\n values: [exception],\n },\n });\n }),\n );\n}\n\n/**\n * @hidden\n */\nexport function prepareFramesForEvent(stack: StackFrame[]): StackFrame[] {\n if (!stack || !stack.length) {\n return [];\n }\n\n let localStack = stack;\n const firstFrameFunction = localStack[0].function || '';\n\n if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) {\n localStack = localStack.slice(1);\n }\n\n // The frame where the crash happened, should be the last entry in the array\n return localStack.reverse();\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/sdk.d.ts b/node_modules/@sentry/node/dist/sdk.d.ts new file mode 100644 index 000000000..729e6d567 --- /dev/null +++ b/node_modules/@sentry/node/dist/sdk.d.ts @@ -0,0 +1,94 @@ +import { Integrations as CoreIntegrations } from '@sentry/core'; +import { NodeClient } from './client'; +import { Console, Http, LinkedErrors, OnUncaughtException, OnUnhandledRejection } from './integrations'; +import { NodeOptions } from './types'; +export declare const defaultIntegrations: (CoreIntegrations.FunctionToString | CoreIntegrations.InboundFilters | Console | Http | OnUncaughtException | OnUnhandledRejection | LinkedErrors)[]; +/** + * The Sentry Node SDK Client. + * + * To use this SDK, call the {@link init} function as early as possible in the + * main entry module. To set context information or send manual events, use the + * provided methods. + * + * @example + * ``` + * + * const { init } = require('@sentry/node'); + * + * init({ + * dsn: '__DSN__', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * const { configureScope } = require('@sentry/node'); + * configureScope((scope: Scope) => { + * scope.setExtra({ battery: 0.7 }); + * scope.setTag({ user_mode: 'admin' }); + * scope.setUser({ id: '4711' }); + * }); + * ``` + * + * @example + * ``` + * + * const { addBreadcrumb } = require('@sentry/node'); + * addBreadcrumb({ + * message: 'My Breadcrumb', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * const Sentry = require('@sentry/node'); + * Sentry.captureMessage('Hello, world!'); + * Sentry.captureException(new Error('Good bye')); + * Sentry.captureEvent({ + * message: 'Manual', + * stacktrace: [ + * // ... + * ], + * }); + * ``` + * + * @see {@link NodeOptions} for documentation on configuration options. + */ +export declare function init(options?: NodeOptions): void; +/** + * This is the getter for lastEventId. + * + * @returns The last event id of a captured event. + */ +export declare function lastEventId(): string | undefined; +/** + * Call `flush()` on the current client, if there is one. See {@link Client.flush}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause + * the client to wait until all events are sent before resolving the promise. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ +export declare function flush(timeout?: number): Promise; +/** + * Call `close()` on the current client, if there is one. See {@link Client.close}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this + * parameter will cause the client to wait until all events are sent before disabling itself. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ +export declare function close(timeout?: number): Promise; +/** + * Function that takes an instance of NodeClient and checks if autoSessionTracking option is enabled for that client + */ +export declare function isAutoSessionTrackingEnabled(client?: NodeClient): boolean; +/** + * Returns a release dynamically from environment variables. + */ +export declare function getSentryRelease(fallback?: string): string | undefined; +//# sourceMappingURL=sdk.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/sdk.d.ts.map b/node_modules/@sentry/node/dist/sdk.d.ts.map new file mode 100644 index 000000000..216135dc9 --- /dev/null +++ b/node_modules/@sentry/node/dist/sdk.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,YAAY,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAM5F,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACxG,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,mBAAmB,sJAY/B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAE,WAAgB,GAAG,IAAI,CAmDpD;AAED;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,MAAM,GAAG,SAAS,CAEhD;AAED;;;;;;;GAOG;AACH,wBAAsB,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAO9D;AAED;;;;;;;GAOG;AACH,wBAAsB,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAO9D;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,CAAC,EAAE,UAAU,GAAG,OAAO,CASzE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CA4BtE"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/sdk.js b/node_modules/@sentry/node/dist/sdk.js new file mode 100644 index 000000000..ee89f76d0 --- /dev/null +++ b/node_modules/@sentry/node/dist/sdk.js @@ -0,0 +1,240 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var hub_1 = require("@sentry/hub"); +var utils_1 = require("@sentry/utils"); +var domain = require("domain"); +var client_1 = require("./client"); +var integrations_1 = require("./integrations"); +exports.defaultIntegrations = [ + // Common + new core_1.Integrations.InboundFilters(), + new core_1.Integrations.FunctionToString(), + // Native Wrappers + new integrations_1.Console(), + new integrations_1.Http(), + // Global Handlers + new integrations_1.OnUncaughtException(), + new integrations_1.OnUnhandledRejection(), + // Misc + new integrations_1.LinkedErrors(), +]; +/** + * The Sentry Node SDK Client. + * + * To use this SDK, call the {@link init} function as early as possible in the + * main entry module. To set context information or send manual events, use the + * provided methods. + * + * @example + * ``` + * + * const { init } = require('@sentry/node'); + * + * init({ + * dsn: '__DSN__', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * const { configureScope } = require('@sentry/node'); + * configureScope((scope: Scope) => { + * scope.setExtra({ battery: 0.7 }); + * scope.setTag({ user_mode: 'admin' }); + * scope.setUser({ id: '4711' }); + * }); + * ``` + * + * @example + * ``` + * + * const { addBreadcrumb } = require('@sentry/node'); + * addBreadcrumb({ + * message: 'My Breadcrumb', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * const Sentry = require('@sentry/node'); + * Sentry.captureMessage('Hello, world!'); + * Sentry.captureException(new Error('Good bye')); + * Sentry.captureEvent({ + * message: 'Manual', + * stacktrace: [ + * // ... + * ], + * }); + * ``` + * + * @see {@link NodeOptions} for documentation on configuration options. + */ +function init(options) { + if (options === void 0) { options = {}; } + var _a; + var carrier = hub_1.getMainCarrier(); + var autoloadedIntegrations = ((_a = carrier.__SENTRY__) === null || _a === void 0 ? void 0 : _a.integrations) || []; + options.defaultIntegrations = + options.defaultIntegrations === false + ? [] + : tslib_1.__spread((Array.isArray(options.defaultIntegrations) ? options.defaultIntegrations : exports.defaultIntegrations), autoloadedIntegrations); + if (options.dsn === undefined && process.env.SENTRY_DSN) { + options.dsn = process.env.SENTRY_DSN; + } + if (options.tracesSampleRate === undefined && process.env.SENTRY_TRACES_SAMPLE_RATE) { + var tracesSampleRate = parseFloat(process.env.SENTRY_TRACES_SAMPLE_RATE); + if (isFinite(tracesSampleRate)) { + options.tracesSampleRate = tracesSampleRate; + } + } + if (options.release === undefined) { + var detectedRelease = getSentryRelease(); + if (detectedRelease !== undefined) { + options.release = detectedRelease; + } + else { + // If release is not provided, then we should disable autoSessionTracking + options.autoSessionTracking = false; + } + } + if (options.environment === undefined && process.env.SENTRY_ENVIRONMENT) { + options.environment = process.env.SENTRY_ENVIRONMENT; + } + if (options.autoSessionTracking === undefined && options.dsn !== undefined) { + options.autoSessionTracking = true; + } + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any + if (domain.active) { + hub_1.setHubOnCarrier(carrier, core_1.getCurrentHub()); + } + core_1.initAndBind(client_1.NodeClient, options); + if (options.autoSessionTracking) { + startSessionTracking(); + } +} +exports.init = init; +/** + * This is the getter for lastEventId. + * + * @returns The last event id of a captured event. + */ +function lastEventId() { + return core_1.getCurrentHub().lastEventId(); +} +exports.lastEventId = lastEventId; +/** + * Call `flush()` on the current client, if there is one. See {@link Client.flush}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause + * the client to wait until all events are sent before resolving the promise. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ +function flush(timeout) { + return tslib_1.__awaiter(this, void 0, void 0, function () { + var client; + return tslib_1.__generator(this, function (_a) { + client = core_1.getCurrentHub().getClient(); + if (client) { + return [2 /*return*/, client.flush(timeout)]; + } + utils_1.logger.warn('Cannot flush events. No client defined.'); + return [2 /*return*/, Promise.resolve(false)]; + }); + }); +} +exports.flush = flush; +/** + * Call `close()` on the current client, if there is one. See {@link Client.close}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this + * parameter will cause the client to wait until all events are sent before disabling itself. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ +function close(timeout) { + return tslib_1.__awaiter(this, void 0, void 0, function () { + var client; + return tslib_1.__generator(this, function (_a) { + client = core_1.getCurrentHub().getClient(); + if (client) { + return [2 /*return*/, client.close(timeout)]; + } + utils_1.logger.warn('Cannot flush events and disable SDK. No client defined.'); + return [2 /*return*/, Promise.resolve(false)]; + }); + }); +} +exports.close = close; +/** + * Function that takes an instance of NodeClient and checks if autoSessionTracking option is enabled for that client + */ +function isAutoSessionTrackingEnabled(client) { + if (client === undefined) { + return false; + } + var clientOptions = client && client.getOptions(); + if (clientOptions && clientOptions.autoSessionTracking !== undefined) { + return clientOptions.autoSessionTracking; + } + return false; +} +exports.isAutoSessionTrackingEnabled = isAutoSessionTrackingEnabled; +/** + * Returns a release dynamically from environment variables. + */ +function getSentryRelease(fallback) { + // Always read first as Sentry takes this as precedence + if (process.env.SENTRY_RELEASE) { + return process.env.SENTRY_RELEASE; + } + // This supports the variable that sentry-webpack-plugin injects + var global = utils_1.getGlobalObject(); + if (global.SENTRY_RELEASE && global.SENTRY_RELEASE.id) { + return global.SENTRY_RELEASE.id; + } + return ( + // GitHub Actions - https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables + process.env.GITHUB_SHA || + // Netlify - https://docs.netlify.com/configure-builds/environment-variables/#build-metadata + process.env.COMMIT_REF || + // Vercel - https://vercel.com/docs/v2/build-step#system-environment-variables + process.env.VERCEL_GIT_COMMIT_SHA || + process.env.VERCEL_GITHUB_COMMIT_SHA || + process.env.VERCEL_GITLAB_COMMIT_SHA || + process.env.VERCEL_BITBUCKET_COMMIT_SHA || + // Zeit (now known as Vercel) + process.env.ZEIT_GITHUB_COMMIT_SHA || + process.env.ZEIT_GITLAB_COMMIT_SHA || + process.env.ZEIT_BITBUCKET_COMMIT_SHA || + fallback); +} +exports.getSentryRelease = getSentryRelease; +/** + * Enable automatic Session Tracking for the node process. + */ +function startSessionTracking() { + var hub = core_1.getCurrentHub(); + hub.startSession(); + // Emitted in the case of healthy sessions, error of `mechanism.handled: true` and unhandledrejections because + // The 'beforeExit' event is not emitted for conditions causing explicit termination, + // such as calling process.exit() or uncaught exceptions. + // Ref: https://nodejs.org/api/process.html#process_event_beforeexit + process.on('beforeExit', function () { + var _a; + var session = (_a = hub.getScope()) === null || _a === void 0 ? void 0 : _a.getSession(); + var terminalStates = ['exited', 'crashed']; + // Only call endSession, if the Session exists on Scope and SessionStatus is not a + // Terminal Status i.e. Exited or Crashed because + // "When a session is moved away from ok it must not be updated anymore." + // Ref: https://develop.sentry.dev/sdk/sessions/ + if (session && !terminalStates.includes(session.status)) + hub.endSession(); + }); +} +//# sourceMappingURL=sdk.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/sdk.js.map b/node_modules/@sentry/node/dist/sdk.js.map new file mode 100644 index 000000000..3ce5347fa --- /dev/null +++ b/node_modules/@sentry/node/dist/sdk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, initAndBind, Integrations as CoreIntegrations } from '@sentry/core';\nimport { getMainCarrier, setHubOnCarrier } from '@sentry/hub';\nimport { SessionStatus } from '@sentry/types';\nimport { getGlobalObject, logger } from '@sentry/utils';\nimport * as domain from 'domain';\n\nimport { NodeClient } from './client';\nimport { Console, Http, LinkedErrors, OnUncaughtException, OnUnhandledRejection } from './integrations';\nimport { NodeOptions } from './types';\n\nexport const defaultIntegrations = [\n // Common\n new CoreIntegrations.InboundFilters(),\n new CoreIntegrations.FunctionToString(),\n // Native Wrappers\n new Console(),\n new Http(),\n // Global Handlers\n new OnUncaughtException(),\n new OnUnhandledRejection(),\n // Misc\n new LinkedErrors(),\n];\n\n/**\n * The Sentry Node SDK Client.\n *\n * To use this SDK, call the {@link init} function as early as possible in the\n * main entry module. To set context information or send manual events, use the\n * provided methods.\n *\n * @example\n * ```\n *\n * const { init } = require('@sentry/node');\n *\n * init({\n * dsn: '__DSN__',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * const { configureScope } = require('@sentry/node');\n * configureScope((scope: Scope) => {\n * scope.setExtra({ battery: 0.7 });\n * scope.setTag({ user_mode: 'admin' });\n * scope.setUser({ id: '4711' });\n * });\n * ```\n *\n * @example\n * ```\n *\n * const { addBreadcrumb } = require('@sentry/node');\n * addBreadcrumb({\n * message: 'My Breadcrumb',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * const Sentry = require('@sentry/node');\n * Sentry.captureMessage('Hello, world!');\n * Sentry.captureException(new Error('Good bye'));\n * Sentry.captureEvent({\n * message: 'Manual',\n * stacktrace: [\n * // ...\n * ],\n * });\n * ```\n *\n * @see {@link NodeOptions} for documentation on configuration options.\n */\nexport function init(options: NodeOptions = {}): void {\n const carrier = getMainCarrier();\n const autoloadedIntegrations = carrier.__SENTRY__?.integrations || [];\n\n options.defaultIntegrations =\n options.defaultIntegrations === false\n ? []\n : [\n ...(Array.isArray(options.defaultIntegrations) ? options.defaultIntegrations : defaultIntegrations),\n ...autoloadedIntegrations,\n ];\n\n if (options.dsn === undefined && process.env.SENTRY_DSN) {\n options.dsn = process.env.SENTRY_DSN;\n }\n\n if (options.tracesSampleRate === undefined && process.env.SENTRY_TRACES_SAMPLE_RATE) {\n const tracesSampleRate = parseFloat(process.env.SENTRY_TRACES_SAMPLE_RATE);\n if (isFinite(tracesSampleRate)) {\n options.tracesSampleRate = tracesSampleRate;\n }\n }\n\n if (options.release === undefined) {\n const detectedRelease = getSentryRelease();\n if (detectedRelease !== undefined) {\n options.release = detectedRelease;\n } else {\n // If release is not provided, then we should disable autoSessionTracking\n options.autoSessionTracking = false;\n }\n }\n\n if (options.environment === undefined && process.env.SENTRY_ENVIRONMENT) {\n options.environment = process.env.SENTRY_ENVIRONMENT;\n }\n\n if (options.autoSessionTracking === undefined && options.dsn !== undefined) {\n options.autoSessionTracking = true;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n if ((domain as any).active) {\n setHubOnCarrier(carrier, getCurrentHub());\n }\n\n initAndBind(NodeClient, options);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n}\n\n/**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n */\nexport function lastEventId(): string | undefined {\n return getCurrentHub().lastEventId();\n}\n\n/**\n * Call `flush()` on the current client, if there is one. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause\n * the client to wait until all events are sent before resolving the promise.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport async function flush(timeout?: number): Promise {\n const client = getCurrentHub().getClient();\n if (client) {\n return client.flush(timeout);\n }\n logger.warn('Cannot flush events. No client defined.');\n return Promise.resolve(false);\n}\n\n/**\n * Call `close()` on the current client, if there is one. See {@link Client.close}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this\n * parameter will cause the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport async function close(timeout?: number): Promise {\n const client = getCurrentHub().getClient();\n if (client) {\n return client.close(timeout);\n }\n logger.warn('Cannot flush events and disable SDK. No client defined.');\n return Promise.resolve(false);\n}\n\n/**\n * Function that takes an instance of NodeClient and checks if autoSessionTracking option is enabled for that client\n */\nexport function isAutoSessionTrackingEnabled(client?: NodeClient): boolean {\n if (client === undefined) {\n return false;\n }\n const clientOptions: NodeOptions = client && client.getOptions();\n if (clientOptions && clientOptions.autoSessionTracking !== undefined) {\n return clientOptions.autoSessionTracking;\n }\n return false;\n}\n\n/**\n * Returns a release dynamically from environment variables.\n */\nexport function getSentryRelease(fallback?: string): string | undefined {\n // Always read first as Sentry takes this as precedence\n if (process.env.SENTRY_RELEASE) {\n return process.env.SENTRY_RELEASE;\n }\n\n // This supports the variable that sentry-webpack-plugin injects\n const global = getGlobalObject();\n if (global.SENTRY_RELEASE && global.SENTRY_RELEASE.id) {\n return global.SENTRY_RELEASE.id;\n }\n\n return (\n // GitHub Actions - https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables\n process.env.GITHUB_SHA ||\n // Netlify - https://docs.netlify.com/configure-builds/environment-variables/#build-metadata\n process.env.COMMIT_REF ||\n // Vercel - https://vercel.com/docs/v2/build-step#system-environment-variables\n process.env.VERCEL_GIT_COMMIT_SHA ||\n process.env.VERCEL_GITHUB_COMMIT_SHA ||\n process.env.VERCEL_GITLAB_COMMIT_SHA ||\n process.env.VERCEL_BITBUCKET_COMMIT_SHA ||\n // Zeit (now known as Vercel)\n process.env.ZEIT_GITHUB_COMMIT_SHA ||\n process.env.ZEIT_GITLAB_COMMIT_SHA ||\n process.env.ZEIT_BITBUCKET_COMMIT_SHA ||\n fallback\n );\n}\n\n/**\n * Enable automatic Session Tracking for the node process.\n */\nfunction startSessionTracking(): void {\n const hub = getCurrentHub();\n hub.startSession();\n // Emitted in the case of healthy sessions, error of `mechanism.handled: true` and unhandledrejections because\n // The 'beforeExit' event is not emitted for conditions causing explicit termination,\n // such as calling process.exit() or uncaught exceptions.\n // Ref: https://nodejs.org/api/process.html#process_event_beforeexit\n process.on('beforeExit', () => {\n const session = hub.getScope()?.getSession();\n const terminalStates: SessionStatus[] = ['exited', 'crashed'];\n // Only call endSession, if the Session exists on Scope and SessionStatus is not a\n // Terminal Status i.e. Exited or Crashed because\n // \"When a session is moved away from ok it must not be updated anymore.\"\n // Ref: https://develop.sentry.dev/sdk/sessions/\n if (session && !terminalStates.includes(session.status)) hub.endSession();\n });\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/stacktrace.d.ts b/node_modules/@sentry/node/dist/stacktrace.d.ts new file mode 100644 index 000000000..97ee50f79 --- /dev/null +++ b/node_modules/@sentry/node/dist/stacktrace.d.ts @@ -0,0 +1,24 @@ +/** + * stack-trace - Parses node.js stack traces + * + * This was originally forked to fix this issue: + * https://github.com/felixge/node-stack-trace/issues/31 + * + * Mar 19,2019 - #4fd379e + * + * https://github.com/felixge/node-stack-trace/ + * @license MIT + */ +/** Decoded StackFrame */ +export interface StackFrame { + fileName: string; + lineNumber: number; + functionName: string; + typeName: string; + methodName: string; + native: boolean; + columnNumber: number; +} +/** Extracts StackFrames from the Error */ +export declare function parse(err: Error): StackFrame[]; +//# sourceMappingURL=stacktrace.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/stacktrace.d.ts.map b/node_modules/@sentry/node/dist/stacktrace.d.ts.map new file mode 100644 index 000000000..325286f54 --- /dev/null +++ b/node_modules/@sentry/node/dist/stacktrace.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.d.ts","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,yBAAyB;AACzB,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,0CAA0C;AAC1C,wBAAgB,KAAK,CAAC,GAAG,EAAE,KAAK,GAAG,UAAU,EAAE,CA2E9C"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/stacktrace.js b/node_modules/@sentry/node/dist/stacktrace.js new file mode 100644 index 000000000..5fcf45688 --- /dev/null +++ b/node_modules/@sentry/node/dist/stacktrace.js @@ -0,0 +1,82 @@ +/** + * stack-trace - Parses node.js stack traces + * + * This was originally forked to fix this issue: + * https://github.com/felixge/node-stack-trace/issues/31 + * + * Mar 19,2019 - #4fd379e + * + * https://github.com/felixge/node-stack-trace/ + * @license MIT + */ +Object.defineProperty(exports, "__esModule", { value: true }); +/** Extracts StackFrames from the Error */ +function parse(err) { + if (!err.stack) { + return []; + } + var lines = err.stack.split('\n').slice(1); + return lines + .map(function (line) { + if (line.match(/^\s*[-]{4,}$/)) { + return { + columnNumber: null, + fileName: line, + functionName: null, + lineNumber: null, + methodName: null, + native: null, + typeName: null, + }; + } + var lineMatch = line.match(/at (?:(.+?)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/); + if (!lineMatch) { + return undefined; + } + var object = null; + var method = null; + var functionName = null; + var typeName = null; + var methodName = null; + var isNative = lineMatch[5] === 'native'; + if (lineMatch[1]) { + functionName = lineMatch[1]; + var methodStart = functionName.lastIndexOf('.'); + if (functionName[methodStart - 1] === '.') { + // eslint-disable-next-line no-plusplus + methodStart--; + } + if (methodStart > 0) { + object = functionName.substr(0, methodStart); + method = functionName.substr(methodStart + 1); + var objectEnd = object.indexOf('.Module'); + if (objectEnd > 0) { + functionName = functionName.substr(objectEnd + 1); + object = object.substr(0, objectEnd); + } + } + typeName = null; + } + if (method) { + typeName = object; + methodName = method; + } + if (method === '') { + methodName = null; + functionName = null; + } + var properties = { + columnNumber: parseInt(lineMatch[4], 10) || null, + fileName: lineMatch[2] || null, + functionName: functionName, + lineNumber: parseInt(lineMatch[3], 10) || null, + methodName: methodName, + native: isNative, + typeName: typeName, + }; + return properties; + }) + .filter(function (callSite) { return !!callSite; }); +} +exports.parse = parse; +//# sourceMappingURL=stacktrace.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/stacktrace.js.map b/node_modules/@sentry/node/dist/stacktrace.js.map new file mode 100644 index 000000000..b9c7386df --- /dev/null +++ b/node_modules/@sentry/node/dist/stacktrace.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.js","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"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","sourcesContent":["/**\n * stack-trace - Parses node.js stack traces\n *\n * This was originally forked to fix this issue:\n * https://github.com/felixge/node-stack-trace/issues/31\n *\n * Mar 19,2019 - #4fd379e\n *\n * https://github.com/felixge/node-stack-trace/\n * @license MIT\n */\n\n/** Decoded StackFrame */\nexport interface StackFrame {\n fileName: string;\n lineNumber: number;\n functionName: string;\n typeName: string;\n methodName: string;\n native: boolean;\n columnNumber: number;\n}\n\n/** Extracts StackFrames from the Error */\nexport function parse(err: Error): StackFrame[] {\n if (!err.stack) {\n return [];\n }\n\n const lines = err.stack.split('\\n').slice(1);\n\n return lines\n .map(line => {\n if (line.match(/^\\s*[-]{4,}$/)) {\n return {\n columnNumber: null,\n fileName: line,\n functionName: null,\n lineNumber: null,\n methodName: null,\n native: null,\n typeName: null,\n };\n }\n\n const lineMatch = line.match(/at (?:(.+?)\\s+\\()?(?:(.+?):(\\d+)(?::(\\d+))?|([^)]+))\\)?/);\n if (!lineMatch) {\n return undefined;\n }\n\n let object = null;\n let method = null;\n let functionName = null;\n let typeName = null;\n let methodName = null;\n const isNative = lineMatch[5] === 'native';\n\n if (lineMatch[1]) {\n functionName = lineMatch[1];\n let methodStart = functionName.lastIndexOf('.');\n if (functionName[methodStart - 1] === '.') {\n // eslint-disable-next-line no-plusplus\n methodStart--;\n }\n if (methodStart > 0) {\n object = functionName.substr(0, methodStart);\n method = functionName.substr(methodStart + 1);\n const objectEnd = object.indexOf('.Module');\n if (objectEnd > 0) {\n functionName = functionName.substr(objectEnd + 1);\n object = object.substr(0, objectEnd);\n }\n }\n typeName = null;\n }\n\n if (method) {\n typeName = object;\n methodName = method;\n }\n\n if (method === '') {\n methodName = null;\n functionName = null;\n }\n\n const properties = {\n columnNumber: parseInt(lineMatch[4], 10) || null,\n fileName: lineMatch[2] || null,\n functionName,\n lineNumber: parseInt(lineMatch[3], 10) || null,\n methodName,\n native: isNative,\n typeName,\n };\n\n return properties;\n })\n .filter(callSite => !!callSite) as StackFrame[];\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/base/http-module.d.ts b/node_modules/@sentry/node/dist/transports/base/http-module.d.ts new file mode 100644 index 000000000..0e4aff6d9 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/base/http-module.d.ts @@ -0,0 +1,36 @@ +/// +import { IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'http'; +import { RequestOptions as HTTPSRequestOptions } from 'https'; +import { URL } from 'url'; +export declare type HTTPModuleRequestOptions = HTTPRequestOptions | HTTPSRequestOptions | string | URL; +/** + * Cut version of http.IncomingMessage. + * Some transports work in a special Javascript environment where http.IncomingMessage is not available. + */ +export interface HTTPModuleRequestIncomingMessage { + headers: IncomingHttpHeaders; + statusCode?: number; + on(event: 'data' | 'end', listener: () => void): void; + setEncoding(encoding: string): void; +} +/** + * Cut version of http.ClientRequest. + * Some transports work in a special Javascript environment where http.IncomingMessage is not available. + */ +export interface HTTPModuleClientRequest { + end(chunk: string): void; + on(event: 'error', listener: () => void): void; +} +/** + * Internal used interface for typescript. + * @hidden + */ +export interface HTTPModule { + /** + * Request wrapper + * @param options These are {@see TransportOptions} + * @param callback Callback when request is finished + */ + request(options: HTTPModuleRequestOptions, callback?: (res: HTTPModuleRequestIncomingMessage) => void): HTTPModuleClientRequest; +} +//# sourceMappingURL=http-module.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/base/http-module.d.ts.map b/node_modules/@sentry/node/dist/transports/base/http-module.d.ts.map new file mode 100644 index 000000000..7450c53ff --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/base/http-module.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"http-module.d.ts","sourceRoot":"","sources":["../../../src/transports/base/http-module.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,MAAM,CAAC;AACjF,OAAO,EAAE,cAAc,IAAI,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,oBAAY,wBAAwB,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,MAAM,GAAG,GAAG,CAAC;AAE/F;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IACtD,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;CAChD;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,OAAO,CACL,OAAO,EAAE,wBAAwB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,gCAAgC,KAAK,IAAI,GACzD,uBAAuB,CAAC;CAW5B"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/base/http-module.js b/node_modules/@sentry/node/dist/transports/base/http-module.js new file mode 100644 index 000000000..3a4a069cd --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/base/http-module.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=http-module.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/base/http-module.js.map b/node_modules/@sentry/node/dist/transports/base/http-module.js.map new file mode 100644 index 000000000..b0dae64ff --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/base/http-module.js.map @@ -0,0 +1 @@ +{"version":3,"file":"http-module.js","sourceRoot":"","sources":["../../../src/transports/base/http-module.ts"],"names":[],"mappings":"","sourcesContent":["import { IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'http';\nimport { RequestOptions as HTTPSRequestOptions } from 'https';\nimport { URL } from 'url';\n\nexport type HTTPModuleRequestOptions = HTTPRequestOptions | HTTPSRequestOptions | string | URL;\n\n/**\n * Cut version of http.IncomingMessage.\n * Some transports work in a special Javascript environment where http.IncomingMessage is not available.\n */\nexport interface HTTPModuleRequestIncomingMessage {\n headers: IncomingHttpHeaders;\n statusCode?: number;\n on(event: 'data' | 'end', listener: () => void): void;\n setEncoding(encoding: string): void;\n}\n\n/**\n * Cut version of http.ClientRequest.\n * Some transports work in a special Javascript environment where http.IncomingMessage is not available.\n */\nexport interface HTTPModuleClientRequest {\n end(chunk: string): void;\n on(event: 'error', listener: () => void): void;\n}\n\n/**\n * Internal used interface for typescript.\n * @hidden\n */\nexport interface HTTPModule {\n /**\n * Request wrapper\n * @param options These are {@see TransportOptions}\n * @param callback Callback when request is finished\n */\n request(\n options: HTTPModuleRequestOptions,\n callback?: (res: HTTPModuleRequestIncomingMessage) => void,\n ): HTTPModuleClientRequest;\n\n // This is the type for nodejs versions that handle the URL argument\n // (v10.9.0+), but we do not use it just yet because we support older node\n // versions:\n\n // request(\n // url: string | URL,\n // options: http.RequestOptions | https.RequestOptions,\n // callback?: (res: http.IncomingMessage) => void,\n // ): http.ClientRequest;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/base/index.d.ts b/node_modules/@sentry/node/dist/transports/base/index.d.ts new file mode 100644 index 000000000..4f87cfc10 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/base/index.d.ts @@ -0,0 +1,63 @@ +/// +import { APIDetails } from '@sentry/core'; +import { DsnProtocol, Event, Response, SentryRequest, SentryRequestType, Session, SessionAggregates, Transport, TransportOptions } from '@sentry/types'; +import { PromiseBuffer } from '@sentry/utils'; +import * as http from 'http'; +import * as https from 'https'; +import { URL } from 'url'; +import { HTTPModule } from './http-module'; +export declare type URLParts = Pick; +export declare type UrlParser = (url: string) => URLParts; +/** Base Transport class implementation */ +export declare abstract class BaseTransport implements Transport { + options: TransportOptions; + /** The Agent used for corresponding transport */ + module?: HTTPModule; + /** The Agent used for corresponding transport */ + client?: http.Agent | https.Agent; + /** API object */ + protected _api: APIDetails; + /** A simple buffer holding all requests. */ + protected readonly _buffer: PromiseBuffer; + /** Locks transport after receiving rate limits in a response */ + protected readonly _rateLimits: Record; + /** Create instance and set this.dsn */ + constructor(options: TransportOptions); + /** Default function used to parse URLs */ + urlParser: UrlParser; + /** + * @inheritDoc + */ + sendEvent(_: Event): PromiseLike; + /** + * @inheritDoc + */ + close(timeout?: number): PromiseLike; + /** + * Extracts proxy settings from client options and env variables. + * + * Honors `no_proxy` env variable with the highest priority to allow for hosts exclusion. + * + * An order of priority for available protocols is: + * `http` => `options.httpProxy` | `process.env.http_proxy` + * `https` => `options.httpsProxy` | `options.httpProxy` | `process.env.https_proxy` | `process.env.http_proxy` + */ + protected _getProxy(protocol: DsnProtocol): string | undefined; + /** Returns a build request option object used by request */ + protected _getRequestOptions(urlParts: URLParts): http.RequestOptions | https.RequestOptions; + /** + * Gets the time that given category is disabled until for rate limiting + */ + protected _disabledUntil(requestType: SentryRequestType): Date; + /** + * Checks if a category is rate limited + */ + protected _isRateLimited(requestType: SentryRequestType): boolean; + /** + * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header. + */ + protected _handleRateLimit(headers: Record): boolean; + /** JSDoc */ + protected _send(sentryRequest: SentryRequest, originalPayload?: Event | Session | SessionAggregates): Promise; +} +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/base/index.d.ts.map b/node_modules/@sentry/node/dist/transports/base/index.d.ts.map new file mode 100644 index 000000000..b5e2c3ecb --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/base/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transports/base/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAkD,MAAM,cAAc,CAAC;AAC1F,OAAO,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAKL,aAAa,EAEd,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,oBAAY,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC;AAChF,oBAAY,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,QAAQ,CAAC;AAWlD,0CAA0C;AAC1C,8BAAsB,aAAc,YAAW,SAAS;IAiB5B,OAAO,EAAE,gBAAgB;IAhBnD,iDAAiD;IAC1C,MAAM,CAAC,EAAE,UAAU,CAAC;IAE3B,iDAAiD;IAC1C,MAAM,CAAC,EAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;IAEzC,iBAAiB;IACjB,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC;IAE3B,4CAA4C;IAC5C,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAyB;IAE5E,gEAAgE;IAChE,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAM;IAE1D,uCAAuC;gBACb,OAAO,EAAE,gBAAgB;IAKnD,0CAA0C;IACnC,SAAS,EAAE,SAAS,CAAuB;IAElD;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC;IAIjD;;OAEG;IACI,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC;IAIpD;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CAAC,QAAQ,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS;IAmB9D,4DAA4D;IAC5D,SAAS,CAAC,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc;IAwB5F;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,WAAW,EAAE,iBAAiB,GAAG,IAAI;IAK9D;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,WAAW,EAAE,iBAAiB,GAAG,OAAO;IAIjE;;OAEG;IACH,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,OAAO;IAsC3E,YAAY;cACI,KAAK,CACnB,aAAa,EAAE,aAAa,EAC5B,eAAe,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,iBAAiB,GACpD,OAAO,CAAC,QAAQ,CAAC;CA0ErB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/base/index.js b/node_modules/@sentry/node/dist/transports/base/index.js new file mode 100644 index 000000000..f3c7b6e5a --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/base/index.js @@ -0,0 +1,232 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var utils_1 = require("@sentry/utils"); +var fs = require("fs"); +var url_1 = require("url"); +var version_1 = require("../../version"); +var CATEGORY_MAPPING = { + event: 'error', + transaction: 'transaction', + session: 'session', + attachment: 'attachment', +}; +/** Base Transport class implementation */ +var BaseTransport = /** @class */ (function () { + /** Create instance and set this.dsn */ + function BaseTransport(options) { + this.options = options; + /** A simple buffer holding all requests. */ + this._buffer = utils_1.makePromiseBuffer(30); + /** Locks transport after receiving rate limits in a response */ + this._rateLimits = {}; + /** Default function used to parse URLs */ + this.urlParser = function (url) { return new url_1.URL(url); }; + // eslint-disable-next-line deprecation/deprecation + this._api = core_1.initAPIDetails(options.dsn, options._metadata, options.tunnel); + } + /** + * @inheritDoc + */ + BaseTransport.prototype.sendEvent = function (_) { + throw new utils_1.SentryError('Transport Class has to implement `sendEvent` method.'); + }; + /** + * @inheritDoc + */ + BaseTransport.prototype.close = function (timeout) { + return this._buffer.drain(timeout); + }; + /** + * Extracts proxy settings from client options and env variables. + * + * Honors `no_proxy` env variable with the highest priority to allow for hosts exclusion. + * + * An order of priority for available protocols is: + * `http` => `options.httpProxy` | `process.env.http_proxy` + * `https` => `options.httpsProxy` | `options.httpProxy` | `process.env.https_proxy` | `process.env.http_proxy` + */ + BaseTransport.prototype._getProxy = function (protocol) { + var e_1, _a; + var _b = process.env, no_proxy = _b.no_proxy, http_proxy = _b.http_proxy, https_proxy = _b.https_proxy; + var _c = this.options, httpProxy = _c.httpProxy, httpsProxy = _c.httpsProxy; + var proxy = protocol === 'http' ? httpProxy || http_proxy : httpsProxy || httpProxy || https_proxy || http_proxy; + if (!no_proxy) { + return proxy; + } + var _d = this._api.dsn, host = _d.host, port = _d.port; + try { + for (var _e = tslib_1.__values(no_proxy.split(',')), _f = _e.next(); !_f.done; _f = _e.next()) { + var np = _f.value; + if (host.endsWith(np) || (host + ":" + port).endsWith(np)) { + return; + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_f && !_f.done && (_a = _e.return)) _a.call(_e); + } + finally { if (e_1) throw e_1.error; } + } + return proxy; + }; + /** Returns a build request option object used by request */ + BaseTransport.prototype._getRequestOptions = function (urlParts) { + var headers = tslib_1.__assign(tslib_1.__assign({}, core_1.getRequestHeaders(this._api.dsn, version_1.SDK_NAME, core_1.SDK_VERSION)), this.options.headers); + var hostname = urlParts.hostname, pathname = urlParts.pathname, port = urlParts.port, protocol = urlParts.protocol; + // See https://github.com/nodejs/node/blob/38146e717fed2fabe3aacb6540d839475e0ce1c6/lib/internal/url.js#L1268-L1290 + // We ignore the query string on purpose + var path = "" + pathname; + return tslib_1.__assign({ agent: this.client, headers: headers, + hostname: hostname, method: 'POST', path: path, + port: port, + protocol: protocol }, (this.options.caCerts && { + ca: fs.readFileSync(this.options.caCerts), + })); + }; + /** + * Gets the time that given category is disabled until for rate limiting + */ + BaseTransport.prototype._disabledUntil = function (requestType) { + var category = CATEGORY_MAPPING[requestType]; + return this._rateLimits[category] || this._rateLimits.all; + }; + /** + * Checks if a category is rate limited + */ + BaseTransport.prototype._isRateLimited = function (requestType) { + return this._disabledUntil(requestType) > new Date(Date.now()); + }; + /** + * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header. + */ + BaseTransport.prototype._handleRateLimit = function (headers) { + var e_2, _a, e_3, _b; + var now = Date.now(); + var rlHeader = headers['x-sentry-rate-limits']; + var raHeader = headers['retry-after']; + if (rlHeader) { + try { + // rate limit headers are of the form + //
,
,.. + // where each
is of the form + // : : : + // where + // is a delay in ms + // is the event type(s) (error, transaction, etc) being rate limited and is of the form + // ;;... + // is what's being limited (org, project, or key) - ignored by SDK + // is an arbitrary string like "org_quota" - ignored by SDK + for (var _c = tslib_1.__values(rlHeader.trim().split(',')), _d = _c.next(); !_d.done; _d = _c.next()) { + var limit = _d.value; + var parameters = limit.split(':', 2); + var headerDelay = parseInt(parameters[0], 10); + var delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default + try { + for (var _e = (e_3 = void 0, tslib_1.__values((parameters[1] && parameters[1].split(';')) || ['all'])), _f = _e.next(); !_f.done; _f = _e.next()) { + var category = _f.value; + // categoriesAllowed is added here to ensure we are only storing rate limits for categories we support in this + // sdk and any categories that are not supported will not be added redundantly to the rateLimits object + var categoriesAllowed = tslib_1.__spread(Object.keys(CATEGORY_MAPPING).map(function (k) { return CATEGORY_MAPPING[k]; }), [ + 'all', + ]); + if (categoriesAllowed.includes(category)) + this._rateLimits[category] = new Date(now + delay); + } + } + catch (e_3_1) { e_3 = { error: e_3_1 }; } + finally { + try { + if (_f && !_f.done && (_b = _e.return)) _b.call(_e); + } + finally { if (e_3) throw e_3.error; } + } + } + } + catch (e_2_1) { e_2 = { error: e_2_1 }; } + finally { + try { + if (_d && !_d.done && (_a = _c.return)) _a.call(_c); + } + finally { if (e_2) throw e_2.error; } + } + return true; + } + else if (raHeader) { + this._rateLimits.all = new Date(now + utils_1.parseRetryAfterHeader(now, raHeader)); + return true; + } + return false; + }; + /** JSDoc */ + BaseTransport.prototype._send = function (sentryRequest, originalPayload) { + return tslib_1.__awaiter(this, void 0, void 0, function () { + var _this = this; + return tslib_1.__generator(this, function (_a) { + if (!this.module) { + throw new utils_1.SentryError('No module available'); + } + if (originalPayload && this._isRateLimited(sentryRequest.type)) { + return [2 /*return*/, Promise.reject({ + payload: originalPayload, + type: sentryRequest.type, + reason: "Transport for " + sentryRequest.type + " requests locked till " + this._disabledUntil(sentryRequest.type) + " due to too many requests.", + status: 429, + })]; + } + return [2 /*return*/, this._buffer.add(function () { + return new Promise(function (resolve, reject) { + if (!_this.module) { + throw new utils_1.SentryError('No module available'); + } + var options = _this._getRequestOptions(_this.urlParser(sentryRequest.url)); + var req = _this.module.request(options, function (res) { + var statusCode = res.statusCode || 500; + var status = utils_1.eventStatusFromHttpCode(statusCode); + res.setEncoding('utf8'); + /** + * "Key-value pairs of header names and values. Header names are lower-cased." + * https://nodejs.org/api/http.html#http_message_headers + */ + var retryAfterHeader = res.headers ? res.headers['retry-after'] : ''; + retryAfterHeader = (Array.isArray(retryAfterHeader) ? retryAfterHeader[0] : retryAfterHeader); + var rlHeader = res.headers ? res.headers['x-sentry-rate-limits'] : ''; + rlHeader = (Array.isArray(rlHeader) ? rlHeader[0] : rlHeader); + var headers = { + 'x-sentry-rate-limits': rlHeader, + 'retry-after': retryAfterHeader, + }; + var limited = _this._handleRateLimit(headers); + if (limited) + utils_1.logger.warn("Too many " + sentryRequest.type + " requests, backing off until: " + _this._disabledUntil(sentryRequest.type)); + if (status === 'success') { + resolve({ status: status }); + } + else { + var rejectionMessage = "HTTP Error (" + statusCode + ")"; + if (res.headers && res.headers['x-sentry-error']) { + rejectionMessage += ": " + res.headers['x-sentry-error']; + } + reject(new utils_1.SentryError(rejectionMessage)); + } + // Force the socket to drain + res.on('data', function () { + // Drain + }); + res.on('end', function () { + // Drain + }); + }); + req.on('error', reject); + req.end(sentryRequest.body); + }); + })]; + }); + }); + }; + return BaseTransport; +}()); +exports.BaseTransport = BaseTransport; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/base/index.js.map b/node_modules/@sentry/node/dist/transports/base/index.js.map new file mode 100644 index 000000000..0ecd4bfd4 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/base/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/transports/base/index.ts"],"names":[],"mappings":"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","sourcesContent":["import { APIDetails, getRequestHeaders, initAPIDetails, SDK_VERSION } from '@sentry/core';\nimport {\n DsnProtocol,\n Event,\n Response,\n SentryRequest,\n SentryRequestType,\n Session,\n SessionAggregates,\n Transport,\n TransportOptions,\n} from '@sentry/types';\nimport {\n eventStatusFromHttpCode,\n logger,\n makePromiseBuffer,\n parseRetryAfterHeader,\n PromiseBuffer,\n SentryError,\n} from '@sentry/utils';\nimport * as fs from 'fs';\nimport * as http from 'http';\nimport * as https from 'https';\nimport { URL } from 'url';\n\nimport { SDK_NAME } from '../../version';\nimport { HTTPModule } from './http-module';\n\nexport type URLParts = Pick;\nexport type UrlParser = (url: string) => URLParts;\n\nconst CATEGORY_MAPPING: {\n [key in SentryRequestType]: string;\n} = {\n event: 'error',\n transaction: 'transaction',\n session: 'session',\n attachment: 'attachment',\n};\n\n/** Base Transport class implementation */\nexport abstract class BaseTransport implements Transport {\n /** The Agent used for corresponding transport */\n public module?: HTTPModule;\n\n /** The Agent used for corresponding transport */\n public client?: http.Agent | https.Agent;\n\n /** API object */\n protected _api: APIDetails;\n\n /** A simple buffer holding all requests. */\n protected readonly _buffer: PromiseBuffer = makePromiseBuffer(30);\n\n /** Locks transport after receiving rate limits in a response */\n protected readonly _rateLimits: Record = {};\n\n /** Create instance and set this.dsn */\n public constructor(public options: TransportOptions) {\n // eslint-disable-next-line deprecation/deprecation\n this._api = initAPIDetails(options.dsn, options._metadata, options.tunnel);\n }\n\n /** Default function used to parse URLs */\n public urlParser: UrlParser = url => new URL(url);\n\n /**\n * @inheritDoc\n */\n public sendEvent(_: Event): PromiseLike {\n throw new SentryError('Transport Class has to implement `sendEvent` method.');\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike {\n return this._buffer.drain(timeout);\n }\n\n /**\n * Extracts proxy settings from client options and env variables.\n *\n * Honors `no_proxy` env variable with the highest priority to allow for hosts exclusion.\n *\n * An order of priority for available protocols is:\n * `http` => `options.httpProxy` | `process.env.http_proxy`\n * `https` => `options.httpsProxy` | `options.httpProxy` | `process.env.https_proxy` | `process.env.http_proxy`\n */\n protected _getProxy(protocol: DsnProtocol): string | undefined {\n const { no_proxy, http_proxy, https_proxy } = process.env;\n const { httpProxy, httpsProxy } = this.options;\n const proxy = protocol === 'http' ? httpProxy || http_proxy : httpsProxy || httpProxy || https_proxy || http_proxy;\n\n if (!no_proxy) {\n return proxy;\n }\n\n const { host, port } = this._api.dsn;\n for (const np of no_proxy.split(',')) {\n if (host.endsWith(np) || `${host}:${port}`.endsWith(np)) {\n return;\n }\n }\n\n return proxy;\n }\n\n /** Returns a build request option object used by request */\n protected _getRequestOptions(urlParts: URLParts): http.RequestOptions | https.RequestOptions {\n const headers = {\n ...getRequestHeaders(this._api.dsn, SDK_NAME, SDK_VERSION),\n ...this.options.headers,\n };\n const { hostname, pathname, port, protocol } = urlParts;\n // See https://github.com/nodejs/node/blob/38146e717fed2fabe3aacb6540d839475e0ce1c6/lib/internal/url.js#L1268-L1290\n // We ignore the query string on purpose\n const path = `${pathname}`;\n\n return {\n agent: this.client,\n headers,\n hostname,\n method: 'POST',\n path,\n port,\n protocol,\n ...(this.options.caCerts && {\n ca: fs.readFileSync(this.options.caCerts),\n }),\n };\n }\n\n /**\n * Gets the time that given category is disabled until for rate limiting\n */\n protected _disabledUntil(requestType: SentryRequestType): Date {\n const category = CATEGORY_MAPPING[requestType];\n return this._rateLimits[category] || this._rateLimits.all;\n }\n\n /**\n * Checks if a category is rate limited\n */\n protected _isRateLimited(requestType: SentryRequestType): boolean {\n return this._disabledUntil(requestType) > new Date(Date.now());\n }\n\n /**\n * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header.\n */\n protected _handleRateLimit(headers: Record): boolean {\n const now = Date.now();\n const rlHeader = headers['x-sentry-rate-limits'];\n const raHeader = headers['retry-after'];\n\n if (rlHeader) {\n // rate limit headers are of the form\n //
,
,..\n // where each
is of the form\n // : : : \n // where\n // is a delay in ms\n // is the event type(s) (error, transaction, etc) being rate limited and is of the form\n // ;;...\n // is what's being limited (org, project, or key) - ignored by SDK\n // is an arbitrary string like \"org_quota\" - ignored by SDK\n for (const limit of rlHeader.trim().split(',')) {\n const parameters = limit.split(':', 2);\n const headerDelay = parseInt(parameters[0], 10);\n const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default\n for (const category of (parameters[1] && parameters[1].split(';')) || ['all']) {\n // categoriesAllowed is added here to ensure we are only storing rate limits for categories we support in this\n // sdk and any categories that are not supported will not be added redundantly to the rateLimits object\n const categoriesAllowed = [\n ...(Object.keys(CATEGORY_MAPPING) as [SentryRequestType]).map(k => CATEGORY_MAPPING[k]),\n 'all',\n ];\n if (categoriesAllowed.includes(category)) this._rateLimits[category] = new Date(now + delay);\n }\n }\n return true;\n } else if (raHeader) {\n this._rateLimits.all = new Date(now + parseRetryAfterHeader(now, raHeader));\n return true;\n }\n return false;\n }\n\n /** JSDoc */\n protected async _send(\n sentryRequest: SentryRequest,\n originalPayload?: Event | Session | SessionAggregates,\n ): Promise {\n if (!this.module) {\n throw new SentryError('No module available');\n }\n if (originalPayload && this._isRateLimited(sentryRequest.type)) {\n return Promise.reject({\n payload: originalPayload,\n type: sentryRequest.type,\n reason: `Transport for ${sentryRequest.type} requests locked till ${this._disabledUntil(\n sentryRequest.type,\n )} due to too many requests.`,\n status: 429,\n });\n }\n\n return this._buffer.add(\n () =>\n new Promise((resolve, reject) => {\n if (!this.module) {\n throw new SentryError('No module available');\n }\n const options = this._getRequestOptions(this.urlParser(sentryRequest.url));\n const req = this.module.request(options, res => {\n const statusCode = res.statusCode || 500;\n const status = eventStatusFromHttpCode(statusCode);\n\n res.setEncoding('utf8');\n\n /**\n * \"Key-value pairs of header names and values. Header names are lower-cased.\"\n * https://nodejs.org/api/http.html#http_message_headers\n */\n let retryAfterHeader = res.headers ? res.headers['retry-after'] : '';\n retryAfterHeader = (Array.isArray(retryAfterHeader) ? retryAfterHeader[0] : retryAfterHeader) as string;\n\n let rlHeader = res.headers ? res.headers['x-sentry-rate-limits'] : '';\n rlHeader = (Array.isArray(rlHeader) ? rlHeader[0] : rlHeader) as string;\n\n const headers = {\n 'x-sentry-rate-limits': rlHeader,\n 'retry-after': retryAfterHeader,\n };\n\n const limited = this._handleRateLimit(headers);\n if (limited)\n logger.warn(\n `Too many ${sentryRequest.type} requests, backing off until: ${this._disabledUntil(\n sentryRequest.type,\n )}`,\n );\n\n if (status === 'success') {\n resolve({ status });\n } else {\n let rejectionMessage = `HTTP Error (${statusCode})`;\n if (res.headers && res.headers['x-sentry-error']) {\n rejectionMessage += `: ${res.headers['x-sentry-error']}`;\n }\n reject(new SentryError(rejectionMessage));\n }\n\n // Force the socket to drain\n res.on('data', () => {\n // Drain\n });\n res.on('end', () => {\n // Drain\n });\n });\n req.on('error', reject);\n req.end(sentryRequest.body);\n }),\n );\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/http.d.ts b/node_modules/@sentry/node/dist/transports/http.d.ts new file mode 100644 index 000000000..12124b56d --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/http.d.ts @@ -0,0 +1,17 @@ +import { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types'; +import { BaseTransport } from './base'; +/** Node http module transport */ +export declare class HTTPTransport extends BaseTransport { + options: TransportOptions; + /** Create a new instance and set this.agent */ + constructor(options: TransportOptions); + /** + * @inheritDoc + */ + sendEvent(event: Event): Promise; + /** + * @inheritDoc + */ + sendSession(session: Session | SessionAggregates): PromiseLike; +} +//# sourceMappingURL=http.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/http.d.ts.map b/node_modules/@sentry/node/dist/transports/http.d.ts.map new file mode 100644 index 000000000..e91630b76 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/http.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/transports/http.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAG9F,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,iCAAiC;AACjC,qBAAa,aAAc,SAAQ,aAAa;IAEpB,OAAO,EAAE,gBAAgB;IADnD,+CAA+C;gBACrB,OAAO,EAAE,gBAAgB;IASnD;;OAEG;IACI,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjD;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,GAAG,WAAW,CAAC,QAAQ,CAAC;CAGhF"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/http.js b/node_modules/@sentry/node/dist/transports/http.js new file mode 100644 index 000000000..3f1c04cdd --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/http.js @@ -0,0 +1,35 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var http = require("http"); +var base_1 = require("./base"); +/** Node http module transport */ +var HTTPTransport = /** @class */ (function (_super) { + tslib_1.__extends(HTTPTransport, _super); + /** Create a new instance and set this.agent */ + function HTTPTransport(options) { + var _this = _super.call(this, options) || this; + _this.options = options; + var proxy = _this._getProxy('http'); + _this.module = http; + _this.client = proxy + ? new (require('https-proxy-agent'))(proxy) + : new http.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 }); + return _this; + } + /** + * @inheritDoc + */ + HTTPTransport.prototype.sendEvent = function (event) { + return this._send(core_1.eventToSentryRequest(event, this._api), event); + }; + /** + * @inheritDoc + */ + HTTPTransport.prototype.sendSession = function (session) { + return this._send(core_1.sessionToSentryRequest(session, this._api), session); + }; + return HTTPTransport; +}(base_1.BaseTransport)); +exports.HTTPTransport = HTTPTransport; +//# sourceMappingURL=http.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/http.js.map b/node_modules/@sentry/node/dist/transports/http.js.map new file mode 100644 index 000000000..c8f18a36b --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/http.js.map @@ -0,0 +1 @@ +{"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/transports/http.ts"],"names":[],"mappings":";;AAAA,qCAA4E;AAE5E,2BAA6B;AAE7B,+BAAuC;AAEvC,iCAAiC;AACjC;IAAmC,yCAAa;IAC9C,+CAA+C;IAC/C,uBAA0B,OAAyB;QAAnD,YACE,kBAAM,OAAO,CAAC,SAMf;QAPyB,aAAO,GAAP,OAAO,CAAkB;QAEjD,IAAM,KAAK,GAAG,KAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QACrC,KAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,KAAI,CAAC,MAAM,GAAG,KAAK;YACjB,CAAC,CAAE,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAgB;YAC3D,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;;IAC1E,CAAC;IAED;;OAEG;IACI,iCAAS,GAAhB,UAAiB,KAAY;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,2BAAoB,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACI,mCAAW,GAAlB,UAAmB,OAAoC;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,6BAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IACH,oBAAC;AAAD,CAAC,AAxBD,CAAmC,oBAAa,GAwB/C;AAxBY,sCAAa","sourcesContent":["import { eventToSentryRequest, sessionToSentryRequest } from '@sentry/core';\nimport { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types';\nimport * as http from 'http';\n\nimport { BaseTransport } from './base';\n\n/** Node http module transport */\nexport class HTTPTransport extends BaseTransport {\n /** Create a new instance and set this.agent */\n public constructor(public options: TransportOptions) {\n super(options);\n const proxy = this._getProxy('http');\n this.module = http;\n this.client = proxy\n ? (new (require('https-proxy-agent'))(proxy) as http.Agent)\n : new http.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 });\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): Promise {\n return this._send(eventToSentryRequest(event, this._api), event);\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session | SessionAggregates): PromiseLike {\n return this._send(sessionToSentryRequest(session, this._api), session);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/https.d.ts b/node_modules/@sentry/node/dist/transports/https.d.ts new file mode 100644 index 000000000..b00d4f8bc --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/https.d.ts @@ -0,0 +1,17 @@ +import { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types'; +import { BaseTransport } from './base'; +/** Node https module transport */ +export declare class HTTPSTransport extends BaseTransport { + options: TransportOptions; + /** Create a new instance and set this.agent */ + constructor(options: TransportOptions); + /** + * @inheritDoc + */ + sendEvent(event: Event): Promise; + /** + * @inheritDoc + */ + sendSession(session: Session | SessionAggregates): PromiseLike; +} +//# sourceMappingURL=https.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/https.d.ts.map b/node_modules/@sentry/node/dist/transports/https.d.ts.map new file mode 100644 index 000000000..a162c5733 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/https.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"https.d.ts","sourceRoot":"","sources":["../../src/transports/https.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAG9F,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,kCAAkC;AAClC,qBAAa,cAAe,SAAQ,aAAa;IAErB,OAAO,EAAE,gBAAgB;IADnD,+CAA+C;gBACrB,OAAO,EAAE,gBAAgB;IASnD;;OAEG;IACI,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjD;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,GAAG,WAAW,CAAC,QAAQ,CAAC;CAGhF"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/https.js b/node_modules/@sentry/node/dist/transports/https.js new file mode 100644 index 000000000..0d2fcb162 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/https.js @@ -0,0 +1,35 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var core_1 = require("@sentry/core"); +var https = require("https"); +var base_1 = require("./base"); +/** Node https module transport */ +var HTTPSTransport = /** @class */ (function (_super) { + tslib_1.__extends(HTTPSTransport, _super); + /** Create a new instance and set this.agent */ + function HTTPSTransport(options) { + var _this = _super.call(this, options) || this; + _this.options = options; + var proxy = _this._getProxy('https'); + _this.module = https; + _this.client = proxy + ? new (require('https-proxy-agent'))(proxy) + : new https.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 }); + return _this; + } + /** + * @inheritDoc + */ + HTTPSTransport.prototype.sendEvent = function (event) { + return this._send(core_1.eventToSentryRequest(event, this._api), event); + }; + /** + * @inheritDoc + */ + HTTPSTransport.prototype.sendSession = function (session) { + return this._send(core_1.sessionToSentryRequest(session, this._api), session); + }; + return HTTPSTransport; +}(base_1.BaseTransport)); +exports.HTTPSTransport = HTTPSTransport; +//# sourceMappingURL=https.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/https.js.map b/node_modules/@sentry/node/dist/transports/https.js.map new file mode 100644 index 000000000..6bdd678cc --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/https.js.map @@ -0,0 +1 @@ +{"version":3,"file":"https.js","sourceRoot":"","sources":["../../src/transports/https.ts"],"names":[],"mappings":";;AAAA,qCAA4E;AAE5E,6BAA+B;AAE/B,+BAAuC;AAEvC,kCAAkC;AAClC;IAAoC,0CAAa;IAC/C,+CAA+C;IAC/C,wBAA0B,OAAyB;QAAnD,YACE,kBAAM,OAAO,CAAC,SAMf;QAPyB,aAAO,GAAP,OAAO,CAAkB;QAEjD,IAAM,KAAK,GAAG,KAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACtC,KAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,KAAI,CAAC,MAAM,GAAG,KAAK;YACjB,CAAC,CAAE,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAiB;YAC5D,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;;IAC3E,CAAC;IAED;;OAEG;IACI,kCAAS,GAAhB,UAAiB,KAAY;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,2BAAoB,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACI,oCAAW,GAAlB,UAAmB,OAAoC;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,6BAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IACH,qBAAC;AAAD,CAAC,AAxBD,CAAoC,oBAAa,GAwBhD;AAxBY,wCAAc","sourcesContent":["import { eventToSentryRequest, sessionToSentryRequest } from '@sentry/core';\nimport { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types';\nimport * as https from 'https';\n\nimport { BaseTransport } from './base';\n\n/** Node https module transport */\nexport class HTTPSTransport extends BaseTransport {\n /** Create a new instance and set this.agent */\n public constructor(public options: TransportOptions) {\n super(options);\n const proxy = this._getProxy('https');\n this.module = https;\n this.client = proxy\n ? (new (require('https-proxy-agent'))(proxy) as https.Agent)\n : new https.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 });\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): Promise {\n return this._send(eventToSentryRequest(event, this._api), event);\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session | SessionAggregates): PromiseLike {\n return this._send(sessionToSentryRequest(session, this._api), session);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/index.d.ts b/node_modules/@sentry/node/dist/transports/index.d.ts new file mode 100644 index 000000000..827c07947 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/index.d.ts @@ -0,0 +1,4 @@ +export { BaseTransport } from './base'; +export { HTTPTransport } from './http'; +export { HTTPSTransport } from './https'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/index.d.ts.map b/node_modules/@sentry/node/dist/transports/index.d.ts.map new file mode 100644 index 000000000..25b90b3cc --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/index.js b/node_modules/@sentry/node/dist/transports/index.js new file mode 100644 index 000000000..0cc0869c6 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/index.js @@ -0,0 +1,8 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var base_1 = require("./base"); +exports.BaseTransport = base_1.BaseTransport; +var http_1 = require("./http"); +exports.HTTPTransport = http_1.HTTPTransport; +var https_1 = require("./https"); +exports.HTTPSTransport = https_1.HTTPSTransport; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/transports/index.js.map b/node_modules/@sentry/node/dist/transports/index.js.map new file mode 100644 index 000000000..dbd873965 --- /dev/null +++ b/node_modules/@sentry/node/dist/transports/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/transports/index.ts"],"names":[],"mappings":";AAAA,+BAAuC;AAA9B,+BAAA,aAAa,CAAA;AACtB,+BAAuC;AAA9B,+BAAA,aAAa,CAAA;AACtB,iCAAyC;AAAhC,iCAAA,cAAc,CAAA","sourcesContent":["export { BaseTransport } from './base';\nexport { HTTPTransport } from './http';\nexport { HTTPSTransport } from './https';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/types.d.ts b/node_modules/@sentry/node/dist/types.d.ts new file mode 100644 index 000000000..37ffbf21d --- /dev/null +++ b/node_modules/@sentry/node/dist/types.d.ts @@ -0,0 +1,22 @@ +import { Options } from '@sentry/types'; +/** + * Configuration options for the Sentry Node SDK. + * @see NodeClient for more information. + */ +export interface NodeOptions extends Options { + /** Sets an optional server name (device name) */ + serverName?: string; + /** Maximum time in milliseconds to wait to drain the request queue, before the process is allowed to exit. */ + shutdownTimeout?: number; + /** Set a HTTP proxy that should be used for outbound requests. */ + httpProxy?: string; + /** Set a HTTPS proxy that should be used for outbound requests. */ + httpsProxy?: string; + /** HTTPS proxy certificates path */ + caCerts?: string; + /** Sets the number of context lines for each frame when loading a file. */ + frameContextLines?: number; + /** Callback that is executed when a fatal global error occurs. */ + onFatalError?(error: Error): void; +} +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/types.d.ts.map b/node_modules/@sentry/node/dist/types.d.ts.map new file mode 100644 index 000000000..ff76ae36a --- /dev/null +++ b/node_modules/@sentry/node/dist/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;GAGG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO;IAC1C,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,8GAA8G;IAC9G,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,2EAA2E;IAC3E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,kEAAkE;IAClE,YAAY,CAAC,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACnC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/types.js b/node_modules/@sentry/node/dist/types.js new file mode 100644 index 000000000..5fb90150c --- /dev/null +++ b/node_modules/@sentry/node/dist/types.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/types.js.map b/node_modules/@sentry/node/dist/types.js.map new file mode 100644 index 000000000..aa4085333 --- /dev/null +++ b/node_modules/@sentry/node/dist/types.js.map @@ -0,0 +1 @@ +{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["import { Options } from '@sentry/types';\n\n/**\n * Configuration options for the Sentry Node SDK.\n * @see NodeClient for more information.\n */\nexport interface NodeOptions extends Options {\n /** Sets an optional server name (device name) */\n serverName?: string;\n\n /** Maximum time in milliseconds to wait to drain the request queue, before the process is allowed to exit. */\n shutdownTimeout?: number;\n\n /** Set a HTTP proxy that should be used for outbound requests. */\n httpProxy?: string;\n\n /** Set a HTTPS proxy that should be used for outbound requests. */\n httpsProxy?: string;\n\n /** HTTPS proxy certificates path */\n caCerts?: string;\n\n /** Sets the number of context lines for each frame when loading a file. */\n frameContextLines?: number;\n\n /** Callback that is executed when a fatal global error occurs. */\n onFatalError?(error: Error): void;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/utils.d.ts b/node_modules/@sentry/node/dist/utils.d.ts new file mode 100644 index 000000000..70646808c --- /dev/null +++ b/node_modules/@sentry/node/dist/utils.d.ts @@ -0,0 +1,9 @@ +/** + * Recursively read the contents of a directory. + * + * @param targetDir Absolute or relative path of the directory to scan. All returned paths will be relative to this + * directory. + * @returns Array holding all relative paths + */ +export declare function deepReadDirSync(targetDir: string): string[]; +//# sourceMappingURL=utils.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/utils.d.ts.map b/node_modules/@sentry/node/dist/utils.d.ts.map new file mode 100644 index 000000000..6638da821 --- /dev/null +++ b/node_modules/@sentry/node/dist/utils.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CA2B3D"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/utils.js b/node_modules/@sentry/node/dist/utils.js new file mode 100644 index 000000000..99dbd3068 --- /dev/null +++ b/node_modules/@sentry/node/dist/utils.js @@ -0,0 +1,35 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var fs = require("fs"); +var path = require("path"); +/** + * Recursively read the contents of a directory. + * + * @param targetDir Absolute or relative path of the directory to scan. All returned paths will be relative to this + * directory. + * @returns Array holding all relative paths + */ +function deepReadDirSync(targetDir) { + var targetDirAbsPath = path.resolve(targetDir); + if (!fs.existsSync(targetDirAbsPath)) { + throw new Error("Cannot read contents of " + targetDirAbsPath + ". Directory does not exist."); + } + if (!fs.statSync(targetDirAbsPath).isDirectory()) { + throw new Error("Cannot read contents of " + targetDirAbsPath + ", because it is not a directory."); + } + // This does the same thing as its containing function, `deepReadDirSync` (except that - purely for convenience - it + // deals in absolute paths rather than relative ones). We need this to be separate from the outer function to preserve + // the difference between `targetDirAbsPath` and `currentDirAbsPath`. + var deepReadCurrentDir = function (currentDirAbsPath) { + return fs.readdirSync(currentDirAbsPath).reduce(function (absPaths, itemName) { + var itemAbsPath = path.join(currentDirAbsPath, itemName); + if (fs.statSync(itemAbsPath).isDirectory()) { + return tslib_1.__spread(absPaths, deepReadCurrentDir(itemAbsPath)); + } + return tslib_1.__spread(absPaths, [itemAbsPath]); + }, []); + }; + return deepReadCurrentDir(targetDirAbsPath).map(function (absPath) { return path.relative(targetDirAbsPath, absPath); }); +} +exports.deepReadDirSync = deepReadDirSync; +//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/utils.js.map b/node_modules/@sentry/node/dist/utils.js.map new file mode 100644 index 000000000..2a8bb1000 --- /dev/null +++ b/node_modules/@sentry/node/dist/utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;AAAA,uBAAyB;AACzB,2BAA6B;AAE7B;;;;;;GAMG;AACH,SAAgB,eAAe,CAAC,SAAiB;IAC/C,IAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAEjD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE;QACpC,MAAM,IAAI,KAAK,CAAC,6BAA2B,gBAAgB,gCAA6B,CAAC,CAAC;KAC3F;IAED,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,WAAW,EAAE,EAAE;QAChD,MAAM,IAAI,KAAK,CAAC,6BAA2B,gBAAgB,qCAAkC,CAAC,CAAC;KAChG;IAED,oHAAoH;IACpH,sHAAsH;IACtH,qEAAqE;IACrE,IAAM,kBAAkB,GAAG,UAAC,iBAAyB;QACnD,OAAO,EAAE,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,UAAC,QAAkB,EAAE,QAAgB;YACnF,IAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;YAE3D,IAAI,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,EAAE;gBAC1C,wBAAW,QAAQ,EAAK,kBAAkB,CAAC,WAAW,CAAC,EAAE;aAC1D;YAED,wBAAW,QAAQ,GAAE,WAAW,GAAE;QACpC,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC,CAAC;IAEF,OAAO,kBAAkB,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,UAAA,OAAO,IAAI,OAAA,IAAI,CAAC,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC,EAAxC,CAAwC,CAAC,CAAC;AACvG,CAAC;AA3BD,0CA2BC","sourcesContent":["import * as fs from 'fs';\nimport * as path from 'path';\n\n/**\n * Recursively read the contents of a directory.\n *\n * @param targetDir Absolute or relative path of the directory to scan. All returned paths will be relative to this\n * directory.\n * @returns Array holding all relative paths\n */\nexport function deepReadDirSync(targetDir: string): string[] {\n const targetDirAbsPath = path.resolve(targetDir);\n\n if (!fs.existsSync(targetDirAbsPath)) {\n throw new Error(`Cannot read contents of ${targetDirAbsPath}. Directory does not exist.`);\n }\n\n if (!fs.statSync(targetDirAbsPath).isDirectory()) {\n throw new Error(`Cannot read contents of ${targetDirAbsPath}, because it is not a directory.`);\n }\n\n // This does the same thing as its containing function, `deepReadDirSync` (except that - purely for convenience - it\n // deals in absolute paths rather than relative ones). We need this to be separate from the outer function to preserve\n // the difference between `targetDirAbsPath` and `currentDirAbsPath`.\n const deepReadCurrentDir = (currentDirAbsPath: string): string[] => {\n return fs.readdirSync(currentDirAbsPath).reduce((absPaths: string[], itemName: string) => {\n const itemAbsPath = path.join(currentDirAbsPath, itemName);\n\n if (fs.statSync(itemAbsPath).isDirectory()) {\n return [...absPaths, ...deepReadCurrentDir(itemAbsPath)];\n }\n\n return [...absPaths, itemAbsPath];\n }, []);\n };\n\n return deepReadCurrentDir(targetDirAbsPath).map(absPath => path.relative(targetDirAbsPath, absPath));\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/version.d.ts b/node_modules/@sentry/node/dist/version.d.ts new file mode 100644 index 000000000..05058f6e4 --- /dev/null +++ b/node_modules/@sentry/node/dist/version.d.ts @@ -0,0 +1,2 @@ +export declare const SDK_NAME = "sentry.javascript.node"; +//# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/version.d.ts.map b/node_modules/@sentry/node/dist/version.d.ts.map new file mode 100644 index 000000000..bc53c93bf --- /dev/null +++ b/node_modules/@sentry/node/dist/version.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,2BAA2B,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/version.js b/node_modules/@sentry/node/dist/version.js new file mode 100644 index 000000000..1cca193f8 --- /dev/null +++ b/node_modules/@sentry/node/dist/version.js @@ -0,0 +1,4 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +// TODO: Remove in the next major release and rely only on @sentry/core SDK_VERSION and SdkMetadata +exports.SDK_NAME = 'sentry.javascript.node'; +//# sourceMappingURL=version.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/dist/version.js.map b/node_modules/@sentry/node/dist/version.js.map new file mode 100644 index 000000000..a8e0e8542 --- /dev/null +++ b/node_modules/@sentry/node/dist/version.js.map @@ -0,0 +1 @@ +{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";AAAA,mGAAmG;AACtF,QAAA,QAAQ,GAAG,wBAAwB,CAAC","sourcesContent":["// TODO: Remove in the next major release and rely only on @sentry/core SDK_VERSION and SdkMetadata\nexport const SDK_NAME = 'sentry.javascript.node';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/backend.d.ts b/node_modules/@sentry/node/esm/backend.d.ts new file mode 100644 index 000000000..e5701e007 --- /dev/null +++ b/node_modules/@sentry/node/esm/backend.d.ts @@ -0,0 +1,22 @@ +import { BaseBackend } from '@sentry/core'; +import { Event, EventHint, Severity, Transport } from '@sentry/types'; +import { NodeOptions } from './types'; +/** + * The Sentry Node SDK Backend. + * @hidden + */ +export declare class NodeBackend extends BaseBackend { + /** + * @inheritDoc + */ + eventFromException(exception: any, hint?: EventHint): PromiseLike; + /** + * @inheritDoc + */ + eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike; + /** + * @inheritDoc + */ + protected _setupTransport(): Transport; +} +//# sourceMappingURL=backend.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/backend.d.ts.map b/node_modules/@sentry/node/esm/backend.d.ts.map new file mode 100644 index 000000000..f8f26a105 --- /dev/null +++ b/node_modules/@sentry/node/esm/backend.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAoB,MAAM,eAAe,CAAC;AAKxF,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;;GAGG;AACH,qBAAa,WAAY,SAAQ,WAAW,CAAC,WAAW,CAAC;IACvD;;OAEG;IAEI,kBAAkB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAI/E;;OAEG;IACI,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,QAAwB,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAI/G;;OAEG;IACH,SAAS,CAAC,eAAe,IAAI,SAAS;CA0BvC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/backend.js b/node_modules/@sentry/node/esm/backend.js new file mode 100644 index 000000000..cadcad786 --- /dev/null +++ b/node_modules/@sentry/node/esm/backend.js @@ -0,0 +1,51 @@ +import { __assign, __extends } from "tslib"; +import { BaseBackend } from '@sentry/core'; +import { Severity } from '@sentry/types'; +import { makeDsn } from '@sentry/utils'; +import { eventFromException, eventFromMessage } from './eventbuilder'; +import { HTTPSTransport, HTTPTransport } from './transports'; +/** + * The Sentry Node SDK Backend. + * @hidden + */ +var NodeBackend = /** @class */ (function (_super) { + __extends(NodeBackend, _super); + function NodeBackend() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + NodeBackend.prototype.eventFromException = function (exception, hint) { + return eventFromException(this._options, exception, hint); + }; + /** + * @inheritDoc + */ + NodeBackend.prototype.eventFromMessage = function (message, level, hint) { + if (level === void 0) { level = Severity.Info; } + return eventFromMessage(this._options, message, level, hint); + }; + /** + * @inheritDoc + */ + NodeBackend.prototype._setupTransport = function () { + if (!this._options.dsn) { + // We return the noop transport here in case there is no Dsn. + return _super.prototype._setupTransport.call(this); + } + var dsn = makeDsn(this._options.dsn); + var transportOptions = __assign(__assign(__assign(__assign(__assign({}, this._options.transportOptions), (this._options.httpProxy && { httpProxy: this._options.httpProxy })), (this._options.httpsProxy && { httpsProxy: this._options.httpsProxy })), (this._options.caCerts && { caCerts: this._options.caCerts })), { dsn: this._options.dsn, tunnel: this._options.tunnel, _metadata: this._options._metadata }); + if (this._options.transport) { + return new this._options.transport(transportOptions); + } + if (dsn.protocol === 'http') { + return new HTTPTransport(transportOptions); + } + return new HTTPSTransport(transportOptions); + }; + return NodeBackend; +}(BaseBackend)); +export { NodeBackend }; +//# sourceMappingURL=backend.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/backend.js.map b/node_modules/@sentry/node/esm/backend.js.map new file mode 100644 index 000000000..a028f3fa4 --- /dev/null +++ b/node_modules/@sentry/node/esm/backend.js.map @@ -0,0 +1 @@ +{"version":3,"file":"backend.js","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAoB,QAAQ,EAA+B,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7D;;;GAGG;AACH;IAAiC,+BAAwB;IAAzD;;IA6CA,CAAC;IA5CC;;OAEG;IACH,iHAAiH;IAC1G,wCAAkB,GAAzB,UAA0B,SAAc,EAAE,IAAgB;QACxD,OAAO,kBAAkB,CAAC,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACI,sCAAgB,GAAvB,UAAwB,OAAe,EAAE,KAA+B,EAAE,IAAgB;QAAjD,sBAAA,EAAA,QAAkB,QAAQ,CAAC,IAAI;QACtE,OAAO,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACO,qCAAe,GAAzB;QACE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;YACtB,6DAA6D;YAC7D,OAAO,iBAAM,eAAe,WAAE,CAAC;SAChC;QAED,IAAM,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAEvC,IAAM,gBAAgB,oDACjB,IAAI,CAAC,QAAQ,CAAC,gBAAgB,GAC9B,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC,GACnE,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC,GACtE,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAChE,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,EACtB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,EAC5B,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS,GACnC,CAAC;QAEF,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE;YAC3B,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;SACtD;QACD,IAAI,GAAG,CAAC,QAAQ,KAAK,MAAM,EAAE;YAC3B,OAAO,IAAI,aAAa,CAAC,gBAAgB,CAAC,CAAC;SAC5C;QACD,OAAO,IAAI,cAAc,CAAC,gBAAgB,CAAC,CAAC;IAC9C,CAAC;IACH,kBAAC;AAAD,CAAC,AA7CD,CAAiC,WAAW,GA6C3C","sourcesContent":["import { BaseBackend } from '@sentry/core';\nimport { Event, EventHint, Severity, Transport, TransportOptions } from '@sentry/types';\nimport { makeDsn } from '@sentry/utils';\n\nimport { eventFromException, eventFromMessage } from './eventbuilder';\nimport { HTTPSTransport, HTTPTransport } from './transports';\nimport { NodeOptions } from './types';\n\n/**\n * The Sentry Node SDK Backend.\n * @hidden\n */\nexport class NodeBackend extends BaseBackend {\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public eventFromException(exception: any, hint?: EventHint): PromiseLike {\n return eventFromException(this._options, exception, hint);\n }\n\n /**\n * @inheritDoc\n */\n public eventFromMessage(message: string, level: Severity = Severity.Info, hint?: EventHint): PromiseLike {\n return eventFromMessage(this._options, message, level, hint);\n }\n\n /**\n * @inheritDoc\n */\n protected _setupTransport(): Transport {\n if (!this._options.dsn) {\n // We return the noop transport here in case there is no Dsn.\n return super._setupTransport();\n }\n\n const dsn = makeDsn(this._options.dsn);\n\n const transportOptions: TransportOptions = {\n ...this._options.transportOptions,\n ...(this._options.httpProxy && { httpProxy: this._options.httpProxy }),\n ...(this._options.httpsProxy && { httpsProxy: this._options.httpsProxy }),\n ...(this._options.caCerts && { caCerts: this._options.caCerts }),\n dsn: this._options.dsn,\n tunnel: this._options.tunnel,\n _metadata: this._options._metadata,\n };\n\n if (this._options.transport) {\n return new this._options.transport(transportOptions);\n }\n if (dsn.protocol === 'http') {\n return new HTTPTransport(transportOptions);\n }\n return new HTTPSTransport(transportOptions);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/client.d.ts b/node_modules/@sentry/node/esm/client.d.ts new file mode 100644 index 000000000..f2bb99bd5 --- /dev/null +++ b/node_modules/@sentry/node/esm/client.d.ts @@ -0,0 +1,44 @@ +import { BaseClient, Scope } from '@sentry/core'; +import { SessionFlusher } from '@sentry/hub'; +import { Event, EventHint } from '@sentry/types'; +import { NodeBackend } from './backend'; +import { NodeOptions } from './types'; +/** + * The Sentry Node SDK Client. + * + * @see NodeOptions for documentation on configuration options. + * @see SentryClient for usage documentation. + */ +export declare class NodeClient extends BaseClient { + protected _sessionFlusher: SessionFlusher | undefined; + /** + * Creates a new Node SDK instance. + * @param options Configuration options for this SDK. + */ + constructor(options: NodeOptions); + /** + * @inheritDoc + */ + captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined; + /** + * @inheritDoc + */ + captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined; + /** + * + * @inheritdoc + */ + close(timeout?: number): PromiseLike; + /** Method that initialises an instance of SessionFlusher on Client */ + initSessionFlusher(): void; + /** + * @inheritDoc + */ + protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike; + /** + * Method responsible for capturing/ending a request session by calling `incrementSessionStatusCount` to increment + * appropriate session aggregates bucket + */ + protected _captureRequestSession(): void; +} +//# sourceMappingURL=client.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/client.d.ts.map b/node_modules/@sentry/node/esm/client.d.ts.map new file mode 100644 index 000000000..d6d9afd9f --- /dev/null +++ b/node_modules/@sentry/node/esm/client.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAe,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAGjD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,UAAU,CAAC,WAAW,EAAE,WAAW,CAAC;IAClE,SAAS,CAAC,eAAe,EAAE,cAAc,GAAG,SAAS,CAAC;IAEtD;;;OAGG;gBACgB,OAAO,EAAE,WAAW;IAgBvC;;OAEG;IAEI,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS;IAiB5F;;OAEG;IACI,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS;IAwBtF;;;OAGG;IACI,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC;IAKpD,sEAAsE;IAC/D,kBAAkB,IAAI,IAAI;IAYjC;;OAEG;IACH,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC;IAQjG;;;OAGG;IACH,SAAS,CAAC,sBAAsB,IAAI,IAAI;CAOzC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/client.js b/node_modules/@sentry/node/esm/client.js new file mode 100644 index 000000000..d85365c2d --- /dev/null +++ b/node_modules/@sentry/node/esm/client.js @@ -0,0 +1,121 @@ +import { __extends } from "tslib"; +import { BaseClient, SDK_VERSION } from '@sentry/core'; +import { SessionFlusher } from '@sentry/hub'; +import { logger } from '@sentry/utils'; +import { NodeBackend } from './backend'; +/** + * The Sentry Node SDK Client. + * + * @see NodeOptions for documentation on configuration options. + * @see SentryClient for usage documentation. + */ +var NodeClient = /** @class */ (function (_super) { + __extends(NodeClient, _super); + /** + * Creates a new Node SDK instance. + * @param options Configuration options for this SDK. + */ + function NodeClient(options) { + var _this = this; + options._metadata = options._metadata || {}; + options._metadata.sdk = options._metadata.sdk || { + name: 'sentry.javascript.node', + packages: [ + { + name: 'npm:@sentry/node', + version: SDK_VERSION, + }, + ], + version: SDK_VERSION, + }; + _this = _super.call(this, NodeBackend, options) || this; + return _this; + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + NodeClient.prototype.captureException = function (exception, hint, scope) { + // Check if the flag `autoSessionTracking` is enabled, and if `_sessionFlusher` exists because it is initialised only + // when the `requestHandler` middleware is used, and hence the expectation is to have SessionAggregates payload + // sent to the Server only when the `requestHandler` middleware is used + if (this._options.autoSessionTracking && this._sessionFlusher && scope) { + var requestSession = scope.getRequestSession(); + // Necessary checks to ensure this is code block is executed only within a request + // Should override the status only if `requestSession.status` is `Ok`, which is its initial stage + if (requestSession && requestSession.status === 'ok') { + requestSession.status = 'errored'; + } + } + return _super.prototype.captureException.call(this, exception, hint, scope); + }; + /** + * @inheritDoc + */ + NodeClient.prototype.captureEvent = function (event, hint, scope) { + // Check if the flag `autoSessionTracking` is enabled, and if `_sessionFlusher` exists because it is initialised only + // when the `requestHandler` middleware is used, and hence the expectation is to have SessionAggregates payload + // sent to the Server only when the `requestHandler` middleware is used + if (this._options.autoSessionTracking && this._sessionFlusher && scope) { + var eventType = event.type || 'exception'; + var isException = eventType === 'exception' && event.exception && event.exception.values && event.exception.values.length > 0; + // If the event is of type Exception, then a request session should be captured + if (isException) { + var requestSession = scope.getRequestSession(); + // Ensure that this is happening within the bounds of a request, and make sure not to override + // Session Status if Errored / Crashed + if (requestSession && requestSession.status === 'ok') { + requestSession.status = 'errored'; + } + } + } + return _super.prototype.captureEvent.call(this, event, hint, scope); + }; + /** + * + * @inheritdoc + */ + NodeClient.prototype.close = function (timeout) { + var _a; + (_a = this._sessionFlusher) === null || _a === void 0 ? void 0 : _a.close(); + return _super.prototype.close.call(this, timeout); + }; + /** Method that initialises an instance of SessionFlusher on Client */ + NodeClient.prototype.initSessionFlusher = function () { + var _a = this._options, release = _a.release, environment = _a.environment; + if (!release) { + logger.warn('Cannot initialise an instance of SessionFlusher if no release is provided!'); + } + else { + this._sessionFlusher = new SessionFlusher(this.getTransport(), { + release: release, + environment: environment, + }); + } + }; + /** + * @inheritDoc + */ + NodeClient.prototype._prepareEvent = function (event, scope, hint) { + event.platform = event.platform || 'node'; + if (this.getOptions().serverName) { + event.server_name = this.getOptions().serverName; + } + return _super.prototype._prepareEvent.call(this, event, scope, hint); + }; + /** + * Method responsible for capturing/ending a request session by calling `incrementSessionStatusCount` to increment + * appropriate session aggregates bucket + */ + NodeClient.prototype._captureRequestSession = function () { + if (!this._sessionFlusher) { + logger.warn('Discarded request mode session because autoSessionTracking option was disabled'); + } + else { + this._sessionFlusher.incrementSessionStatusCount(); + } + }; + return NodeClient; +}(BaseClient)); +export { NodeClient }; +//# sourceMappingURL=client.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/client.js.map b/node_modules/@sentry/node/esm/client.js.map new file mode 100644 index 000000000..badd2739b --- /dev/null +++ b/node_modules/@sentry/node/esm/client.js.map @@ -0,0 +1 @@ +{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"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","sourcesContent":["import { BaseClient, Scope, SDK_VERSION } from '@sentry/core';\nimport { SessionFlusher } from '@sentry/hub';\nimport { Event, EventHint } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\nimport { NodeBackend } from './backend';\nimport { NodeOptions } from './types';\n\n/**\n * The Sentry Node SDK Client.\n *\n * @see NodeOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\nexport class NodeClient extends BaseClient {\n protected _sessionFlusher: SessionFlusher | undefined;\n\n /**\n * Creates a new Node SDK instance.\n * @param options Configuration options for this SDK.\n */\n public constructor(options: NodeOptions) {\n options._metadata = options._metadata || {};\n options._metadata.sdk = options._metadata.sdk || {\n name: 'sentry.javascript.node',\n packages: [\n {\n name: 'npm:@sentry/node',\n version: SDK_VERSION,\n },\n ],\n version: SDK_VERSION,\n };\n\n super(NodeBackend, options);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined {\n // Check if the flag `autoSessionTracking` is enabled, and if `_sessionFlusher` exists because it is initialised only\n // when the `requestHandler` middleware is used, and hence the expectation is to have SessionAggregates payload\n // sent to the Server only when the `requestHandler` middleware is used\n if (this._options.autoSessionTracking && this._sessionFlusher && scope) {\n const requestSession = scope.getRequestSession();\n\n // Necessary checks to ensure this is code block is executed only within a request\n // Should override the status only if `requestSession.status` is `Ok`, which is its initial stage\n if (requestSession && requestSession.status === 'ok') {\n requestSession.status = 'errored';\n }\n }\n\n return super.captureException(exception, hint, scope);\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined {\n // Check if the flag `autoSessionTracking` is enabled, and if `_sessionFlusher` exists because it is initialised only\n // when the `requestHandler` middleware is used, and hence the expectation is to have SessionAggregates payload\n // sent to the Server only when the `requestHandler` middleware is used\n if (this._options.autoSessionTracking && this._sessionFlusher && scope) {\n const eventType = event.type || 'exception';\n const isException =\n eventType === 'exception' && event.exception && event.exception.values && event.exception.values.length > 0;\n\n // If the event is of type Exception, then a request session should be captured\n if (isException) {\n const requestSession = scope.getRequestSession();\n\n // Ensure that this is happening within the bounds of a request, and make sure not to override\n // Session Status if Errored / Crashed\n if (requestSession && requestSession.status === 'ok') {\n requestSession.status = 'errored';\n }\n }\n }\n\n return super.captureEvent(event, hint, scope);\n }\n\n /**\n *\n * @inheritdoc\n */\n public close(timeout?: number): PromiseLike {\n this._sessionFlusher?.close();\n return super.close(timeout);\n }\n\n /** Method that initialises an instance of SessionFlusher on Client */\n public initSessionFlusher(): void {\n const { release, environment } = this._options;\n if (!release) {\n logger.warn('Cannot initialise an instance of SessionFlusher if no release is provided!');\n } else {\n this._sessionFlusher = new SessionFlusher(this.getTransport(), {\n release,\n environment,\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike {\n event.platform = event.platform || 'node';\n if (this.getOptions().serverName) {\n event.server_name = this.getOptions().serverName;\n }\n return super._prepareEvent(event, scope, hint);\n }\n\n /**\n * Method responsible for capturing/ending a request session by calling `incrementSessionStatusCount` to increment\n * appropriate session aggregates bucket\n */\n protected _captureRequestSession(): void {\n if (!this._sessionFlusher) {\n logger.warn('Discarded request mode session because autoSessionTracking option was disabled');\n } else {\n this._sessionFlusher.incrementSessionStatusCount();\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/eventbuilder.d.ts b/node_modules/@sentry/node/esm/eventbuilder.d.ts new file mode 100644 index 000000000..aabe82f1c --- /dev/null +++ b/node_modules/@sentry/node/esm/eventbuilder.d.ts @@ -0,0 +1,12 @@ +import { Event, EventHint, Options, Severity } from '@sentry/types'; +/** + * Builds and Event from a Exception + * @hidden + */ +export declare function eventFromException(options: Options, exception: unknown, hint?: EventHint): PromiseLike; +/** + * Builds and Event from a Message + * @hidden + */ +export declare function eventFromMessage(options: Options, message: string, level?: Severity, hint?: EventHint): PromiseLike; +//# sourceMappingURL=eventbuilder.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/eventbuilder.d.ts.map b/node_modules/@sentry/node/esm/eventbuilder.d.ts.map new file mode 100644 index 000000000..a0babdd6b --- /dev/null +++ b/node_modules/@sentry/node/esm/eventbuilder.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"eventbuilder.d.ts","sourceRoot":"","sources":["../src/eventbuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAa,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAa/E;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC,CA4C7G;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,QAAwB,EAC/B,IAAI,CAAC,EAAE,SAAS,GACf,WAAW,CAAC,KAAK,CAAC,CAwBpB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/eventbuilder.js b/node_modules/@sentry/node/esm/eventbuilder.js new file mode 100644 index 000000000..c13ebd335 --- /dev/null +++ b/node_modules/@sentry/node/esm/eventbuilder.js @@ -0,0 +1,77 @@ +import { __assign } from "tslib"; +import { getCurrentHub } from '@sentry/hub'; +import { Severity } from '@sentry/types'; +import { addExceptionMechanism, addExceptionTypeValue, extractExceptionKeysForMessage, isError, isPlainObject, normalizeToSize, SyncPromise, } from '@sentry/utils'; +import { extractStackFromError, parseError, parseStack, prepareFramesForEvent } from './parsers'; +/** + * Builds and Event from a Exception + * @hidden + */ +export function eventFromException(options, exception, hint) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var ex = exception; + var providedMechanism = hint && hint.data && hint.data.mechanism; + var mechanism = providedMechanism || { + handled: true, + type: 'generic', + }; + if (!isError(exception)) { + if (isPlainObject(exception)) { + // This will allow us to group events based on top-level keys + // which is much better than creating new group when any key/value change + var message = "Non-Error exception captured with keys: " + extractExceptionKeysForMessage(exception); + getCurrentHub().configureScope(function (scope) { + scope.setExtra('__serialized__', normalizeToSize(exception)); + }); + ex = (hint && hint.syntheticException) || new Error(message); + ex.message = message; + } + else { + // This handles when someone does: `throw "something awesome";` + // We use synthesized Error here so we can extract a (rough) stack trace. + ex = (hint && hint.syntheticException) || new Error(exception); + ex.message = exception; + } + mechanism.synthetic = true; + } + return new SyncPromise(function (resolve, reject) { + return parseError(ex, options) + .then(function (event) { + addExceptionTypeValue(event, undefined, undefined); + addExceptionMechanism(event, mechanism); + resolve(__assign(__assign({}, event), { event_id: hint && hint.event_id })); + }) + .then(null, reject); + }); +} +/** + * Builds and Event from a Message + * @hidden + */ +export function eventFromMessage(options, message, level, hint) { + if (level === void 0) { level = Severity.Info; } + var event = { + event_id: hint && hint.event_id, + level: level, + message: message, + }; + return new SyncPromise(function (resolve) { + if (options.attachStacktrace && hint && hint.syntheticException) { + var stack = hint.syntheticException ? extractStackFromError(hint.syntheticException) : []; + void parseStack(stack, options) + .then(function (frames) { + event.stacktrace = { + frames: prepareFramesForEvent(frames), + }; + resolve(event); + }) + .then(null, function () { + resolve(event); + }); + } + else { + resolve(event); + } + }); +} +//# sourceMappingURL=eventbuilder.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/eventbuilder.js.map b/node_modules/@sentry/node/esm/eventbuilder.js.map new file mode 100644 index 000000000..ca0554de4 --- /dev/null +++ b/node_modules/@sentry/node/esm/eventbuilder.js.map @@ -0,0 +1 @@ +{"version":3,"file":"eventbuilder.js","sourceRoot":"","sources":["../src/eventbuilder.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub } from '@sentry/hub';\nimport { Event, EventHint, Mechanism, Options, Severity } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addExceptionTypeValue,\n extractExceptionKeysForMessage,\n isError,\n isPlainObject,\n normalizeToSize,\n SyncPromise,\n} from '@sentry/utils';\n\nimport { extractStackFromError, parseError, parseStack, prepareFramesForEvent } from './parsers';\n\n/**\n * Builds and Event from a Exception\n * @hidden\n */\nexport function eventFromException(options: Options, exception: unknown, hint?: EventHint): PromiseLike {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let ex: any = exception;\n const providedMechanism: Mechanism | undefined =\n hint && hint.data && (hint.data as { mechanism: Mechanism }).mechanism;\n const mechanism: Mechanism = providedMechanism || {\n handled: true,\n type: 'generic',\n };\n\n if (!isError(exception)) {\n if (isPlainObject(exception)) {\n // This will allow us to group events based on top-level keys\n // which is much better than creating new group when any key/value change\n const message = `Non-Error exception captured with keys: ${extractExceptionKeysForMessage(exception)}`;\n\n getCurrentHub().configureScope(scope => {\n scope.setExtra('__serialized__', normalizeToSize(exception as Record));\n });\n\n ex = (hint && hint.syntheticException) || new Error(message);\n (ex as Error).message = message;\n } else {\n // This handles when someone does: `throw \"something awesome\";`\n // We use synthesized Error here so we can extract a (rough) stack trace.\n ex = (hint && hint.syntheticException) || new Error(exception as string);\n (ex as Error).message = exception as string;\n }\n mechanism.synthetic = true;\n }\n\n return new SyncPromise((resolve, reject) =>\n parseError(ex as Error, options)\n .then(event => {\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, mechanism);\n\n resolve({\n ...event,\n event_id: hint && hint.event_id,\n });\n })\n .then(null, reject),\n );\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nexport function eventFromMessage(\n options: Options,\n message: string,\n level: Severity = Severity.Info,\n hint?: EventHint,\n): PromiseLike {\n const event: Event = {\n event_id: hint && hint.event_id,\n level,\n message,\n };\n\n return new SyncPromise(resolve => {\n if (options.attachStacktrace && hint && hint.syntheticException) {\n const stack = hint.syntheticException ? extractStackFromError(hint.syntheticException) : [];\n void parseStack(stack, options)\n .then(frames => {\n event.stacktrace = {\n frames: prepareFramesForEvent(frames),\n };\n resolve(event);\n })\n .then(null, () => {\n resolve(event);\n });\n } else {\n resolve(event);\n }\n });\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/handlers.d.ts b/node_modules/@sentry/node/esm/handlers.d.ts new file mode 100644 index 000000000..0a369ef56 --- /dev/null +++ b/node_modules/@sentry/node/esm/handlers.d.ts @@ -0,0 +1,92 @@ +/// +import { Event, ExtractedNodeRequestData } from '@sentry/types'; +import * as http from 'http'; +export interface ExpressRequest { + baseUrl?: string; + connection?: { + remoteAddress?: string; + }; + ip?: string; + method?: string; + originalUrl?: string; + route?: { + path: string; + stack: [{ + name: string; + }]; + }; + query?: { + [key: string]: unknown; + }; + url?: string; + user?: { + [key: string]: any; + }; +} +/** + * Express-compatible tracing handler. + * @see Exposed as `Handlers.tracingHandler` + */ +export declare function tracingHandler(): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void; +declare type TransactionNamingScheme = 'path' | 'methodPath' | 'handler'; +/** + * Normalizes data from the request object, accounting for framework differences. + * + * @param req The request object from which to extract data + * @param keys An optional array of keys to include in the normalized data. Defaults to DEFAULT_REQUEST_KEYS if not + * provided. + * @returns An object containing normalized request data + */ +export declare function extractRequestData(req: { + [key: string]: any; +}, keys?: string[]): ExtractedNodeRequestData; +/** + * Options deciding what parts of the request to use when enhancing an event + */ +export interface ParseRequestOptions { + ip?: boolean; + request?: boolean | string[]; + serverName?: boolean; + transaction?: boolean | TransactionNamingScheme; + user?: boolean | string[]; + version?: boolean; +} +/** + * Enriches passed event with request data. + * + * @param event Will be mutated and enriched with req data + * @param req Request object + * @param options object containing flags to enable functionality + * @hidden + */ +export declare function parseRequest(event: Event, req: ExpressRequest, options?: ParseRequestOptions): Event; +export declare type RequestHandlerOptions = ParseRequestOptions & { + flushTimeout?: number; +}; +/** + * Express compatible request handler. + * @see Exposed as `Handlers.requestHandler` + */ +export declare function requestHandler(options?: RequestHandlerOptions): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void; +/** JSDoc */ +interface MiddlewareError extends Error { + status?: number | string; + statusCode?: number | string; + status_code?: number | string; + output?: { + statusCode?: number | string; + }; +} +/** + * Express compatible error handler. + * @see Exposed as `Handlers.errorHandler` + */ +export declare function errorHandler(options?: { + /** + * Callback method deciding whether error should be captured and sent to Sentry + * @param error Captured middleware error + */ + shouldHandleError?(error: MiddlewareError): boolean; +}): (error: MiddlewareError, req: http.IncomingMessage, res: http.ServerResponse, next: (error: MiddlewareError) => void) => void; +export {}; +//# sourceMappingURL=handlers.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/handlers.d.ts.map b/node_modules/@sentry/node/esm/handlers.d.ts.map new file mode 100644 index 000000000..3d6bb5fb4 --- /dev/null +++ b/node_modules/@sentry/node/esm/handlers.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../src/handlers.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/handlers.js b/node_modules/@sentry/node/esm/handlers.js new file mode 100644 index 000000000..e4851015f --- /dev/null +++ b/node_modules/@sentry/node/esm/handlers.js @@ -0,0 +1,374 @@ +import { __assign } from "tslib"; +/* eslint-disable max-lines */ +/* eslint-disable @typescript-eslint/no-explicit-any */ +import { captureException, getCurrentHub, startTransaction, withScope } from '@sentry/core'; +import { extractTraceparentData } from '@sentry/tracing'; +import { isPlainObject, isString, logger, normalize, stripUrlQueryAndFragment } from '@sentry/utils'; +import * as cookie from 'cookie'; +import * as domain from 'domain'; +import * as os from 'os'; +import * as url from 'url'; +import { flush, isAutoSessionTrackingEnabled } from './sdk'; +/** + * Express-compatible tracing handler. + * @see Exposed as `Handlers.tracingHandler` + */ +export function tracingHandler() { + return function sentryTracingMiddleware(req, res, next) { + // If there is a trace header set, we extract the data from it (parentSpanId, traceId, and sampling decision) + var traceparentData; + if (req.headers && isString(req.headers['sentry-trace'])) { + traceparentData = extractTraceparentData(req.headers['sentry-trace']); + } + var transaction = startTransaction(__assign({ name: extractExpressTransactionName(req, { path: true, method: true }), op: 'http.server' }, traceparentData), + // extra context passed to the tracesSampler + { request: extractRequestData(req) }); + // We put the transaction on the scope so users can attach children to it + getCurrentHub().configureScope(function (scope) { + scope.setSpan(transaction); + }); + // We also set __sentry_transaction on the response so people can grab the transaction there to add + // spans to it later. + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + res.__sentry_transaction = transaction; + res.once('finish', function () { + // Push `transaction.finish` to the next event loop so open spans have a chance to finish before the transaction + // closes + setImmediate(function () { + addExpressReqToTransaction(transaction, req); + transaction.setHttpStatus(res.statusCode); + transaction.finish(); + }); + }); + next(); + }; +} +/** + * Set parameterized as transaction name e.g.: `GET /users/:id` + * Also adds more context data on the transaction from the request + */ +function addExpressReqToTransaction(transaction, req) { + if (!transaction) + return; + transaction.name = extractExpressTransactionName(req, { path: true, method: true }); + transaction.setData('url', req.originalUrl); + transaction.setData('baseUrl', req.baseUrl); + transaction.setData('query', req.query); +} +/** + * Extracts complete generalized path from the request object and uses it to construct transaction name. + * + * eg. GET /mountpoint/user/:id + * + * @param req The ExpressRequest object + * @param options What to include in the transaction name (method, path, or both) + * + * @returns The fully constructed transaction name + */ +function extractExpressTransactionName(req, options) { + if (options === void 0) { options = {}; } + var _a; + var method = (_a = req.method) === null || _a === void 0 ? void 0 : _a.toUpperCase(); + var path = ''; + if (req.route) { + path = "" + (req.baseUrl || '') + req.route.path; + } + else if (req.originalUrl || req.url) { + path = stripUrlQueryAndFragment(req.originalUrl || req.url || ''); + } + var info = ''; + if (options.method && method) { + info += method; + } + if (options.method && options.path) { + info += " "; + } + if (options.path && path) { + info += path; + } + return info; +} +/** JSDoc */ +function extractTransaction(req, type) { + var _a; + switch (type) { + case 'path': { + return extractExpressTransactionName(req, { path: true }); + } + case 'handler': { + return ((_a = req.route) === null || _a === void 0 ? void 0 : _a.stack[0].name) || ''; + } + case 'methodPath': + default: { + return extractExpressTransactionName(req, { path: true, method: true }); + } + } +} +/** Default user keys that'll be used to extract data from the request */ +var DEFAULT_USER_KEYS = ['id', 'username', 'email']; +/** JSDoc */ +function extractUserData(user, keys) { + var extractedUser = {}; + var attributes = Array.isArray(keys) ? keys : DEFAULT_USER_KEYS; + attributes.forEach(function (key) { + if (user && key in user) { + extractedUser[key] = user[key]; + } + }); + return extractedUser; +} +/** Default request keys that'll be used to extract data from the request */ +var DEFAULT_REQUEST_KEYS = ['cookies', 'data', 'headers', 'method', 'query_string', 'url']; +/** + * Normalizes data from the request object, accounting for framework differences. + * + * @param req The request object from which to extract data + * @param keys An optional array of keys to include in the normalized data. Defaults to DEFAULT_REQUEST_KEYS if not + * provided. + * @returns An object containing normalized request data + */ +export function extractRequestData(req, keys) { + if (keys === void 0) { keys = DEFAULT_REQUEST_KEYS; } + var requestData = {}; + // headers: + // node, express, nextjs: req.headers + // koa: req.header + var headers = (req.headers || req.header || {}); + // method: + // node, express, koa, nextjs: req.method + var method = req.method; + // host: + // express: req.hostname in > 4 and req.host in < 4 + // koa: req.host + // node, nextjs: req.headers.host + var host = req.hostname || req.host || headers.host || ''; + // protocol: + // node, nextjs: + // express, koa: req.protocol + var protocol = req.protocol === 'https' || req.secure || (req.socket || {}).encrypted + ? 'https' + : 'http'; + // url (including path and query string): + // node, express: req.originalUrl + // koa, nextjs: req.url + var originalUrl = (req.originalUrl || req.url || ''); + // absolute url + var absoluteUrl = protocol + "://" + host + originalUrl; + keys.forEach(function (key) { + switch (key) { + case 'headers': + requestData.headers = headers; + break; + case 'method': + requestData.method = method; + break; + case 'url': + requestData.url = absoluteUrl; + break; + case 'cookies': + // cookies: + // node, express, koa: req.headers.cookie + // vercel, sails.js, express (w/ cookie middleware), nextjs: req.cookies + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + requestData.cookies = req.cookies || cookie.parse(headers.cookie || ''); + break; + case 'query_string': + // query string: + // node: req.url (raw) + // express, koa, nextjs: req.query + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + requestData.query_string = req.query || url.parse(originalUrl || '', false).query; + break; + case 'data': + if (method === 'GET' || method === 'HEAD') { + break; + } + // body data: + // express, koa, nextjs: req.body + // + // when using node by itself, you have to read the incoming stream(see + // https://nodejs.dev/learn/get-http-request-body-data-using-nodejs); if a user is doing that, we can't know + // where they're going to store the final result, so they'll have to capture this data themselves + if (req.body !== undefined) { + requestData.data = isString(req.body) ? req.body : JSON.stringify(normalize(req.body)); + } + break; + default: + if ({}.hasOwnProperty.call(req, key)) { + requestData[key] = req[key]; + } + } + }); + return requestData; +} +/** + * Enriches passed event with request data. + * + * @param event Will be mutated and enriched with req data + * @param req Request object + * @param options object containing flags to enable functionality + * @hidden + */ +export function parseRequest(event, req, options) { + // eslint-disable-next-line no-param-reassign + options = __assign({ ip: false, request: true, serverName: true, transaction: true, user: true, version: true }, options); + if (options.version) { + event.contexts = __assign(__assign({}, event.contexts), { runtime: { + name: 'node', + version: global.process.version, + } }); + } + if (options.request) { + // if the option value is `true`, use the default set of keys by not passing anything to `extractRequestData()` + var extractedRequestData = Array.isArray(options.request) + ? extractRequestData(req, options.request) + : extractRequestData(req); + event.request = __assign(__assign({}, event.request), extractedRequestData); + } + if (options.serverName && !event.server_name) { + event.server_name = global.process.env.SENTRY_NAME || os.hostname(); + } + if (options.user) { + var extractedUser = req.user && isPlainObject(req.user) ? extractUserData(req.user, options.user) : {}; + if (Object.keys(extractedUser)) { + event.user = __assign(__assign({}, event.user), extractedUser); + } + } + // client ip: + // node, nextjs: req.connection.remoteAddress + // express, koa: req.ip + if (options.ip) { + var ip = req.ip || (req.connection && req.connection.remoteAddress); + if (ip) { + event.user = __assign(__assign({}, event.user), { ip_address: ip }); + } + } + if (options.transaction && !event.transaction) { + // TODO do we even need this anymore? + // TODO make this work for nextjs + event.transaction = extractTransaction(req, options.transaction); + } + return event; +} +/** + * Express compatible request handler. + * @see Exposed as `Handlers.requestHandler` + */ +export function requestHandler(options) { + var currentHub = getCurrentHub(); + var client = currentHub.getClient(); + // Initialise an instance of SessionFlusher on the client when `autoSessionTracking` is enabled and the + // `requestHandler` middleware is used indicating that we are running in SessionAggregates mode + if (client && isAutoSessionTrackingEnabled(client)) { + client.initSessionFlusher(); + // If Scope contains a Single mode Session, it is removed in favor of using Session Aggregates mode + var scope = currentHub.getScope(); + if (scope && scope.getSession()) { + scope.setSession(); + } + } + return function sentryRequestMiddleware(req, res, next) { + if (options && options.flushTimeout && options.flushTimeout > 0) { + // eslint-disable-next-line @typescript-eslint/unbound-method + var _end_1 = res.end; + res.end = function (chunk, encoding, cb) { + var _this = this; + void flush(options.flushTimeout) + .then(function () { + _end_1.call(_this, chunk, encoding, cb); + }) + .then(null, function (e) { + logger.error(e); + }); + }; + } + var local = domain.create(); + local.add(req); + local.add(res); + local.on('error', next); + local.run(function () { + var currentHub = getCurrentHub(); + currentHub.configureScope(function (scope) { + scope.addEventProcessor(function (event) { return parseRequest(event, req, options); }); + var client = currentHub.getClient(); + if (isAutoSessionTrackingEnabled(client)) { + var scope_1 = currentHub.getScope(); + if (scope_1) { + // Set `status` of `RequestSession` to Ok, at the beginning of the request + scope_1.setRequestSession({ status: 'ok' }); + } + } + }); + res.once('finish', function () { + var client = currentHub.getClient(); + if (isAutoSessionTrackingEnabled(client)) { + setImmediate(function () { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (client && client._captureRequestSession) { + // Calling _captureRequestSession to capture request session at the end of the request by incrementing + // the correct SessionAggregates bucket i.e. crashed, errored or exited + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + client._captureRequestSession(); + } + }); + } + }); + next(); + }); + }; +} +/** JSDoc */ +function getStatusCodeFromResponse(error) { + var statusCode = error.status || error.statusCode || error.status_code || (error.output && error.output.statusCode); + return statusCode ? parseInt(statusCode, 10) : 500; +} +/** Returns true if response code is internal server error */ +function defaultShouldHandleError(error) { + var status = getStatusCodeFromResponse(error); + return status >= 500; +} +/** + * Express compatible error handler. + * @see Exposed as `Handlers.errorHandler` + */ +export function errorHandler(options) { + return function sentryErrorMiddleware(error, _req, res, next) { + // eslint-disable-next-line @typescript-eslint/unbound-method + var shouldHandleError = (options && options.shouldHandleError) || defaultShouldHandleError; + if (shouldHandleError(error)) { + withScope(function (_scope) { + // For some reason we need to set the transaction on the scope again + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var transaction = res.__sentry_transaction; + if (transaction && _scope.getSpan() === undefined) { + _scope.setSpan(transaction); + } + var client = getCurrentHub().getClient(); + if (client && isAutoSessionTrackingEnabled(client)) { + // Check if the `SessionFlusher` is instantiated on the client to go into this branch that marks the + // `requestSession.status` as `Crashed`, and this check is necessary because the `SessionFlusher` is only + // instantiated when the the`requestHandler` middleware is initialised, which indicates that we should be + // running in SessionAggregates mode + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var isSessionAggregatesMode = client._sessionFlusher !== undefined; + if (isSessionAggregatesMode) { + var requestSession = _scope.getRequestSession(); + // If an error bubbles to the `errorHandler`, then this is an unhandled error, and should be reported as a + // Crashed session. The `_requestSession.status` is checked to ensure that this error is happening within + // the bounds of a request, and if so the status is updated + if (requestSession && requestSession.status !== undefined) { + requestSession.status = 'crashed'; + } + } + } + var eventId = captureException(error); + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + res.sentry = eventId; + next(error); + }); + return; + } + next(error); + }; +} +//# sourceMappingURL=handlers.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/handlers.js.map b/node_modules/@sentry/node/esm/handlers.js.map new file mode 100644 index 000000000..14b35f3e5 --- /dev/null +++ b/node_modules/@sentry/node/esm/handlers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"handlers.js","sourceRoot":"","sources":["../src/handlers.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { captureException, getCurrentHub, startTransaction, withScope } from '@sentry/core';\nimport { extractTraceparentData, Span } from '@sentry/tracing';\nimport { Event, ExtractedNodeRequestData, Transaction } from '@sentry/types';\nimport { isPlainObject, isString, logger, normalize, stripUrlQueryAndFragment } from '@sentry/utils';\nimport * as cookie from 'cookie';\nimport * as domain from 'domain';\nimport * as http from 'http';\nimport * as os from 'os';\nimport * as url from 'url';\n\nimport { NodeClient } from './client';\nimport { flush, isAutoSessionTrackingEnabled } from './sdk';\n\nexport interface ExpressRequest {\n baseUrl?: string;\n connection?: {\n remoteAddress?: string;\n };\n ip?: string;\n method?: string;\n originalUrl?: string;\n route?: {\n path: string;\n stack: [\n {\n name: string;\n },\n ];\n };\n query?: {\n // It can be: undefined | string | string[] | ParsedQs | ParsedQs[] (from `qs` package), but we dont want to pull it.\n [key: string]: unknown;\n };\n url?: string;\n user?: {\n [key: string]: any;\n };\n}\n\n/**\n * Express-compatible tracing handler.\n * @see Exposed as `Handlers.tracingHandler`\n */\nexport function tracingHandler(): (\n req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error?: any) => void,\n) => void {\n return function sentryTracingMiddleware(\n req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error?: any) => void,\n ): void {\n // If there is a trace header set, we extract the data from it (parentSpanId, traceId, and sampling decision)\n let traceparentData;\n if (req.headers && isString(req.headers['sentry-trace'])) {\n traceparentData = extractTraceparentData(req.headers['sentry-trace'] as string);\n }\n\n const transaction = startTransaction(\n {\n name: extractExpressTransactionName(req, { path: true, method: true }),\n op: 'http.server',\n ...traceparentData,\n },\n // extra context passed to the tracesSampler\n { request: extractRequestData(req) },\n );\n\n // We put the transaction on the scope so users can attach children to it\n getCurrentHub().configureScope(scope => {\n scope.setSpan(transaction);\n });\n\n // We also set __sentry_transaction on the response so people can grab the transaction there to add\n // spans to it later.\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (res as any).__sentry_transaction = transaction;\n\n res.once('finish', () => {\n // Push `transaction.finish` to the next event loop so open spans have a chance to finish before the transaction\n // closes\n setImmediate(() => {\n addExpressReqToTransaction(transaction, req);\n transaction.setHttpStatus(res.statusCode);\n transaction.finish();\n });\n });\n\n next();\n };\n}\n\n/**\n * Set parameterized as transaction name e.g.: `GET /users/:id`\n * Also adds more context data on the transaction from the request\n */\nfunction addExpressReqToTransaction(transaction: Transaction | undefined, req: ExpressRequest): void {\n if (!transaction) return;\n transaction.name = extractExpressTransactionName(req, { path: true, method: true });\n transaction.setData('url', req.originalUrl);\n transaction.setData('baseUrl', req.baseUrl);\n transaction.setData('query', req.query);\n}\n\n/**\n * Extracts complete generalized path from the request object and uses it to construct transaction name.\n *\n * eg. GET /mountpoint/user/:id\n *\n * @param req The ExpressRequest object\n * @param options What to include in the transaction name (method, path, or both)\n *\n * @returns The fully constructed transaction name\n */\nfunction extractExpressTransactionName(\n req: ExpressRequest,\n options: { path?: boolean; method?: boolean } = {},\n): string {\n const method = req.method?.toUpperCase();\n\n let path = '';\n if (req.route) {\n path = `${req.baseUrl || ''}${req.route.path}`;\n } else if (req.originalUrl || req.url) {\n path = stripUrlQueryAndFragment(req.originalUrl || req.url || '');\n }\n\n let info = '';\n if (options.method && method) {\n info += method;\n }\n if (options.method && options.path) {\n info += ` `;\n }\n if (options.path && path) {\n info += path;\n }\n\n return info;\n}\n\ntype TransactionNamingScheme = 'path' | 'methodPath' | 'handler';\n\n/** JSDoc */\nfunction extractTransaction(req: ExpressRequest, type: boolean | TransactionNamingScheme): string {\n switch (type) {\n case 'path': {\n return extractExpressTransactionName(req, { path: true });\n }\n case 'handler': {\n return req.route?.stack[0].name || '';\n }\n case 'methodPath':\n default: {\n return extractExpressTransactionName(req, { path: true, method: true });\n }\n }\n}\n\n/** Default user keys that'll be used to extract data from the request */\nconst DEFAULT_USER_KEYS = ['id', 'username', 'email'];\n\n/** JSDoc */\nfunction extractUserData(\n user: {\n [key: string]: any;\n },\n keys: boolean | string[],\n): { [key: string]: any } {\n const extractedUser: { [key: string]: any } = {};\n const attributes = Array.isArray(keys) ? keys : DEFAULT_USER_KEYS;\n\n attributes.forEach(key => {\n if (user && key in user) {\n extractedUser[key] = user[key];\n }\n });\n\n return extractedUser;\n}\n\n/** Default request keys that'll be used to extract data from the request */\nconst DEFAULT_REQUEST_KEYS = ['cookies', 'data', 'headers', 'method', 'query_string', 'url'];\n\n/**\n * Normalizes data from the request object, accounting for framework differences.\n *\n * @param req The request object from which to extract data\n * @param keys An optional array of keys to include in the normalized data. Defaults to DEFAULT_REQUEST_KEYS if not\n * provided.\n * @returns An object containing normalized request data\n */\nexport function extractRequestData(\n req: { [key: string]: any },\n keys: string[] = DEFAULT_REQUEST_KEYS,\n): ExtractedNodeRequestData {\n const requestData: { [key: string]: any } = {};\n\n // headers:\n // node, express, nextjs: req.headers\n // koa: req.header\n const headers = (req.headers || req.header || {}) as {\n host?: string;\n cookie?: string;\n };\n // method:\n // node, express, koa, nextjs: req.method\n const method = req.method;\n // host:\n // express: req.hostname in > 4 and req.host in < 4\n // koa: req.host\n // node, nextjs: req.headers.host\n const host = req.hostname || req.host || headers.host || '';\n // protocol:\n // node, nextjs: \n // express, koa: req.protocol\n const protocol =\n req.protocol === 'https' || req.secure || ((req.socket || {}) as { encrypted?: boolean }).encrypted\n ? 'https'\n : 'http';\n // url (including path and query string):\n // node, express: req.originalUrl\n // koa, nextjs: req.url\n const originalUrl = (req.originalUrl || req.url || '') as string;\n // absolute url\n const absoluteUrl = `${protocol}://${host}${originalUrl}`;\n\n keys.forEach(key => {\n switch (key) {\n case 'headers':\n requestData.headers = headers;\n break;\n case 'method':\n requestData.method = method;\n break;\n case 'url':\n requestData.url = absoluteUrl;\n break;\n case 'cookies':\n // cookies:\n // node, express, koa: req.headers.cookie\n // vercel, sails.js, express (w/ cookie middleware), nextjs: req.cookies\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n requestData.cookies = req.cookies || cookie.parse(headers.cookie || '');\n break;\n case 'query_string':\n // query string:\n // node: req.url (raw)\n // express, koa, nextjs: req.query\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n requestData.query_string = req.query || url.parse(originalUrl || '', false).query;\n break;\n case 'data':\n if (method === 'GET' || method === 'HEAD') {\n break;\n }\n // body data:\n // express, koa, nextjs: req.body\n //\n // when using node by itself, you have to read the incoming stream(see\n // https://nodejs.dev/learn/get-http-request-body-data-using-nodejs); if a user is doing that, we can't know\n // where they're going to store the final result, so they'll have to capture this data themselves\n if (req.body !== undefined) {\n requestData.data = isString(req.body) ? req.body : JSON.stringify(normalize(req.body));\n }\n break;\n default:\n if ({}.hasOwnProperty.call(req, key)) {\n requestData[key] = (req as { [key: string]: any })[key];\n }\n }\n });\n\n return requestData;\n}\n\n/**\n * Options deciding what parts of the request to use when enhancing an event\n */\nexport interface ParseRequestOptions {\n ip?: boolean;\n request?: boolean | string[];\n serverName?: boolean;\n transaction?: boolean | TransactionNamingScheme;\n user?: boolean | string[];\n version?: boolean;\n}\n\n/**\n * Enriches passed event with request data.\n *\n * @param event Will be mutated and enriched with req data\n * @param req Request object\n * @param options object containing flags to enable functionality\n * @hidden\n */\nexport function parseRequest(event: Event, req: ExpressRequest, options?: ParseRequestOptions): Event {\n // eslint-disable-next-line no-param-reassign\n options = {\n ip: false,\n request: true,\n serverName: true,\n transaction: true,\n user: true,\n version: true,\n ...options,\n };\n\n if (options.version) {\n event.contexts = {\n ...event.contexts,\n runtime: {\n name: 'node',\n version: global.process.version,\n },\n };\n }\n\n if (options.request) {\n // if the option value is `true`, use the default set of keys by not passing anything to `extractRequestData()`\n const extractedRequestData = Array.isArray(options.request)\n ? extractRequestData(req, options.request)\n : extractRequestData(req);\n event.request = {\n ...event.request,\n ...extractedRequestData,\n };\n }\n\n if (options.serverName && !event.server_name) {\n event.server_name = global.process.env.SENTRY_NAME || os.hostname();\n }\n\n if (options.user) {\n const extractedUser = req.user && isPlainObject(req.user) ? extractUserData(req.user, options.user) : {};\n\n if (Object.keys(extractedUser)) {\n event.user = {\n ...event.user,\n ...extractedUser,\n };\n }\n }\n\n // client ip:\n // node, nextjs: req.connection.remoteAddress\n // express, koa: req.ip\n if (options.ip) {\n const ip = req.ip || (req.connection && req.connection.remoteAddress);\n if (ip) {\n event.user = {\n ...event.user,\n ip_address: ip,\n };\n }\n }\n\n if (options.transaction && !event.transaction) {\n // TODO do we even need this anymore?\n // TODO make this work for nextjs\n event.transaction = extractTransaction(req, options.transaction);\n }\n\n return event;\n}\n\nexport type RequestHandlerOptions = ParseRequestOptions & {\n flushTimeout?: number;\n};\n\n/**\n * Express compatible request handler.\n * @see Exposed as `Handlers.requestHandler`\n */\nexport function requestHandler(\n options?: RequestHandlerOptions,\n): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void {\n const currentHub = getCurrentHub();\n const client = currentHub.getClient();\n // Initialise an instance of SessionFlusher on the client when `autoSessionTracking` is enabled and the\n // `requestHandler` middleware is used indicating that we are running in SessionAggregates mode\n if (client && isAutoSessionTrackingEnabled(client)) {\n client.initSessionFlusher();\n\n // If Scope contains a Single mode Session, it is removed in favor of using Session Aggregates mode\n const scope = currentHub.getScope();\n if (scope && scope.getSession()) {\n scope.setSession();\n }\n }\n return function sentryRequestMiddleware(\n req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error?: any) => void,\n ): void {\n if (options && options.flushTimeout && options.flushTimeout > 0) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const _end = res.end;\n res.end = function (chunk?: any | (() => void), encoding?: string | (() => void), cb?: () => void): void {\n void flush(options.flushTimeout)\n .then(() => {\n _end.call(this, chunk, encoding, cb);\n })\n .then(null, e => {\n logger.error(e);\n });\n };\n }\n const local = domain.create();\n local.add(req);\n local.add(res);\n local.on('error', next);\n\n local.run(() => {\n const currentHub = getCurrentHub();\n\n currentHub.configureScope(scope => {\n scope.addEventProcessor((event: Event) => parseRequest(event, req, options));\n const client = currentHub.getClient();\n if (isAutoSessionTrackingEnabled(client)) {\n const scope = currentHub.getScope();\n if (scope) {\n // Set `status` of `RequestSession` to Ok, at the beginning of the request\n scope.setRequestSession({ status: 'ok' });\n }\n }\n });\n\n res.once('finish', () => {\n const client = currentHub.getClient();\n if (isAutoSessionTrackingEnabled(client)) {\n setImmediate(() => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (client && (client as any)._captureRequestSession) {\n // Calling _captureRequestSession to capture request session at the end of the request by incrementing\n // the correct SessionAggregates bucket i.e. crashed, errored or exited\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (client as any)._captureRequestSession();\n }\n });\n }\n });\n next();\n });\n };\n}\n\n/** JSDoc */\ninterface MiddlewareError extends Error {\n status?: number | string;\n statusCode?: number | string;\n status_code?: number | string;\n output?: {\n statusCode?: number | string;\n };\n}\n\n/** JSDoc */\nfunction getStatusCodeFromResponse(error: MiddlewareError): number {\n const statusCode = error.status || error.statusCode || error.status_code || (error.output && error.output.statusCode);\n return statusCode ? parseInt(statusCode as string, 10) : 500;\n}\n\n/** Returns true if response code is internal server error */\nfunction defaultShouldHandleError(error: MiddlewareError): boolean {\n const status = getStatusCodeFromResponse(error);\n return status >= 500;\n}\n\n/**\n * Express compatible error handler.\n * @see Exposed as `Handlers.errorHandler`\n */\nexport function errorHandler(options?: {\n /**\n * Callback method deciding whether error should be captured and sent to Sentry\n * @param error Captured middleware error\n */\n shouldHandleError?(error: MiddlewareError): boolean;\n}): (\n error: MiddlewareError,\n req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error: MiddlewareError) => void,\n) => void {\n return function sentryErrorMiddleware(\n error: MiddlewareError,\n _req: http.IncomingMessage,\n res: http.ServerResponse,\n next: (error: MiddlewareError) => void,\n ): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const shouldHandleError = (options && options.shouldHandleError) || defaultShouldHandleError;\n\n if (shouldHandleError(error)) {\n withScope(_scope => {\n // For some reason we need to set the transaction on the scope again\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const transaction = (res as any).__sentry_transaction as Span;\n if (transaction && _scope.getSpan() === undefined) {\n _scope.setSpan(transaction);\n }\n\n const client = getCurrentHub().getClient();\n if (client && isAutoSessionTrackingEnabled(client)) {\n // Check if the `SessionFlusher` is instantiated on the client to go into this branch that marks the\n // `requestSession.status` as `Crashed`, and this check is necessary because the `SessionFlusher` is only\n // instantiated when the the`requestHandler` middleware is initialised, which indicates that we should be\n // running in SessionAggregates mode\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const isSessionAggregatesMode = (client as any)._sessionFlusher !== undefined;\n if (isSessionAggregatesMode) {\n const requestSession = _scope.getRequestSession();\n // If an error bubbles to the `errorHandler`, then this is an unhandled error, and should be reported as a\n // Crashed session. The `_requestSession.status` is checked to ensure that this error is happening within\n // the bounds of a request, and if so the status is updated\n if (requestSession && requestSession.status !== undefined) {\n requestSession.status = 'crashed';\n }\n }\n }\n\n const eventId = captureException(error);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n (res as any).sentry = eventId;\n next(error);\n });\n\n return;\n }\n\n next(error);\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/index.d.ts b/node_modules/@sentry/node/esm/index.d.ts new file mode 100644 index 000000000..79a69d397 --- /dev/null +++ b/node_modules/@sentry/node/esm/index.d.ts @@ -0,0 +1,25 @@ +export { Breadcrumb, BreadcrumbHint, Request, SdkInfo, Event, EventHint, EventStatus, Exception, Response, Severity, StackFrame, Stacktrace, Thread, User, } from '@sentry/types'; +export { SeverityLevel } from '@sentry/utils'; +export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, getHubFromCarrier, getCurrentHub, Hub, makeMain, Scope, Session, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, } from '@sentry/core'; +export { NodeOptions } from './types'; +export { NodeBackend } from './backend'; +export { NodeClient } from './client'; +export { defaultIntegrations, init, lastEventId, flush, close, getSentryRelease } from './sdk'; +export { deepReadDirSync } from './utils'; +export { SDK_NAME } from './version'; +import { Integrations as CoreIntegrations } from '@sentry/core'; +import * as Handlers from './handlers'; +import * as NodeIntegrations from './integrations'; +import * as Transports from './transports'; +declare const INTEGRATIONS: { + Console: typeof NodeIntegrations.Console; + Http: typeof NodeIntegrations.Http; + OnUncaughtException: typeof NodeIntegrations.OnUncaughtException; + OnUnhandledRejection: typeof NodeIntegrations.OnUnhandledRejection; + LinkedErrors: typeof NodeIntegrations.LinkedErrors; + Modules: typeof NodeIntegrations.Modules; + FunctionToString: typeof CoreIntegrations.FunctionToString; + InboundFilters: typeof CoreIntegrations.InboundFilters; +}; +export { INTEGRATIONS as Integrations, Transports, Handlers }; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/index.d.ts.map b/node_modules/@sentry/node/esm/index.d.ts.map new file mode 100644 index 000000000..43868bd8e --- /dev/null +++ b/node_modules/@sentry/node/esm/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,OAAO,EACP,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,UAAU,EACV,MAAM,EACN,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,GAAG,EACH,QAAQ,EACR,KAAK,EACL,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,GACV,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhE,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,gBAAgB,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAE3C,QAAA,MAAM,YAAY;;;;;;;;;CAGjB,CAAC;AAEF,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/index.js b/node_modules/@sentry/node/esm/index.js new file mode 100644 index 000000000..e814aa0aa --- /dev/null +++ b/node_modules/@sentry/node/esm/index.js @@ -0,0 +1,24 @@ +import { __assign } from "tslib"; +export { Severity, } from '@sentry/types'; +export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, getHubFromCarrier, getCurrentHub, Hub, makeMain, Scope, Session, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, } from '@sentry/core'; +export { NodeBackend } from './backend'; +export { NodeClient } from './client'; +export { defaultIntegrations, init, lastEventId, flush, close, getSentryRelease } from './sdk'; +export { deepReadDirSync } from './utils'; +export { SDK_NAME } from './version'; +import { Integrations as CoreIntegrations } from '@sentry/core'; +import { getMainCarrier } from '@sentry/hub'; +import * as domain from 'domain'; +import * as Handlers from './handlers'; +import * as NodeIntegrations from './integrations'; +import * as Transports from './transports'; +var INTEGRATIONS = __assign(__assign({}, CoreIntegrations), NodeIntegrations); +export { INTEGRATIONS as Integrations, Transports, Handlers }; +// We need to patch domain on the global __SENTRY__ object to make it work for node in cross-platform packages like +// @sentry/hub. If we don't do this, browser bundlers will have troubles resolving `require('domain')`. +var carrier = getMainCarrier(); +if (carrier.__SENTRY__) { + carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {}; + carrier.__SENTRY__.extensions.domain = carrier.__SENTRY__.extensions.domain || domain; +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/index.js.map b/node_modules/@sentry/node/esm/index.js.map new file mode 100644 index 000000000..0f05b3cba --- /dev/null +++ b/node_modules/@sentry/node/esm/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAUL,QAAQ,GAKT,MAAM,eAAe,CAAC;AAIvB,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,GAAG,EACH,QAAQ,EACR,KAAK,EACL,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,GACV,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,gBAAgB,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAE3C,IAAM,YAAY,yBACb,gBAAgB,GAChB,gBAAgB,CACpB,CAAC;AAEF,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;AAE9D,mHAAmH;AACnH,uGAAuG;AACvG,IAAM,OAAO,GAAG,cAAc,EAAE,CAAC;AACjC,IAAI,OAAO,CAAC,UAAU,EAAE;IACtB,OAAO,CAAC,UAAU,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,IAAI,EAAE,CAAC;IACpE,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,MAAM,IAAI,MAAM,CAAC;CACvF","sourcesContent":["export {\n Breadcrumb,\n BreadcrumbHint,\n Request,\n SdkInfo,\n Event,\n EventHint,\n EventStatus,\n Exception,\n Response,\n Severity,\n StackFrame,\n Stacktrace,\n Thread,\n User,\n} from '@sentry/types';\n\nexport { SeverityLevel } from '@sentry/utils';\n\nexport {\n addGlobalEventProcessor,\n addBreadcrumb,\n captureException,\n captureEvent,\n captureMessage,\n configureScope,\n getHubFromCarrier,\n getCurrentHub,\n Hub,\n makeMain,\n Scope,\n Session,\n startTransaction,\n SDK_VERSION,\n setContext,\n setExtra,\n setExtras,\n setTag,\n setTags,\n setUser,\n withScope,\n} from '@sentry/core';\n\nexport { NodeOptions } from './types';\nexport { NodeBackend } from './backend';\nexport { NodeClient } from './client';\nexport { defaultIntegrations, init, lastEventId, flush, close, getSentryRelease } from './sdk';\nexport { deepReadDirSync } from './utils';\nexport { SDK_NAME } from './version';\n\nimport { Integrations as CoreIntegrations } from '@sentry/core';\nimport { getMainCarrier } from '@sentry/hub';\nimport * as domain from 'domain';\n\nimport * as Handlers from './handlers';\nimport * as NodeIntegrations from './integrations';\nimport * as Transports from './transports';\n\nconst INTEGRATIONS = {\n ...CoreIntegrations,\n ...NodeIntegrations,\n};\n\nexport { INTEGRATIONS as Integrations, Transports, Handlers };\n\n// We need to patch domain on the global __SENTRY__ object to make it work for node in cross-platform packages like\n// @sentry/hub. If we don't do this, browser bundlers will have troubles resolving `require('domain')`.\nconst carrier = getMainCarrier();\nif (carrier.__SENTRY__) {\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n carrier.__SENTRY__.extensions.domain = carrier.__SENTRY__.extensions.domain || domain;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/console.d.ts b/node_modules/@sentry/node/esm/integrations/console.d.ts new file mode 100644 index 000000000..f910e6e4a --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/console.d.ts @@ -0,0 +1,17 @@ +import { Integration } from '@sentry/types'; +/** Console module integration */ +export declare class Console implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + setupOnce(): void; +} +//# sourceMappingURL=console.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/console.d.ts.map b/node_modules/@sentry/node/esm/integrations/console.d.ts.map new file mode 100644 index 000000000..3384a8a09 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/console.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../src/integrations/console.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,iCAAiC;AACjC,qBAAa,OAAQ,YAAW,WAAW;IACzC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAa;IAErC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAc;IAEjC;;OAEG;IACI,SAAS,IAAI,IAAI;CAKzB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/console.js b/node_modules/@sentry/node/esm/integrations/console.js new file mode 100644 index 000000000..375baebd2 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/console.js @@ -0,0 +1,62 @@ +import { __read, __spread, __values } from "tslib"; +import { getCurrentHub } from '@sentry/core'; +import { fill, severityFromString } from '@sentry/utils'; +import * as util from 'util'; +/** Console module integration */ +var Console = /** @class */ (function () { + function Console() { + /** + * @inheritDoc + */ + this.name = Console.id; + } + /** + * @inheritDoc + */ + Console.prototype.setupOnce = function () { + var e_1, _a; + try { + for (var _b = __values(['debug', 'info', 'warn', 'error', 'log']), _c = _b.next(); !_c.done; _c = _b.next()) { + var level = _c.value; + fill(console, level, createConsoleWrapper(level)); + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + }; + /** + * @inheritDoc + */ + Console.id = 'Console'; + return Console; +}()); +export { Console }; +/** + * Wrapper function that'll be used for every console level + */ +function createConsoleWrapper(level) { + return function consoleWrapper(originalConsoleMethod) { + var sentryLevel = severityFromString(level); + /* eslint-disable prefer-rest-params */ + return function () { + if (getCurrentHub().getIntegration(Console)) { + getCurrentHub().addBreadcrumb({ + category: 'console', + level: sentryLevel, + message: util.format.apply(undefined, arguments), + }, { + input: __spread(arguments), + level: level, + }); + } + originalConsoleMethod.apply(this, arguments); + }; + /* eslint-enable prefer-rest-params */ + }; +} +//# sourceMappingURL=console.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/console.js.map b/node_modules/@sentry/node/esm/integrations/console.js.map new file mode 100644 index 000000000..8b583d1fc --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/console.js.map @@ -0,0 +1 @@ +{"version":3,"file":"console.js","sourceRoot":"","sources":["../../src/integrations/console.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,iCAAiC;AACjC;IAAA;QAME;;WAEG;QACI,SAAI,GAAW,OAAO,CAAC,EAAE,CAAC;IAUnC,CAAC;IARC;;OAEG;IACI,2BAAS,GAAhB;;;YACE,KAAoB,IAAA,KAAA,SAAA,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA,gBAAA,4BAAE;gBAA1D,IAAM,KAAK,WAAA;gBACd,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;aACnD;;;;;;;;;IACH,CAAC;IAjBD;;OAEG;IACW,UAAE,GAAW,SAAS,CAAC;IAevC,cAAC;CAAA,AAnBD,IAmBC;SAnBY,OAAO;AAqBpB;;GAEG;AACH,SAAS,oBAAoB,CAAC,KAAa;IACzC,OAAO,SAAS,cAAc,CAAC,qBAAiC;QAC9D,IAAM,WAAW,GAAG,kBAAkB,CAAC,KAAK,CAAC,CAAC;QAE9C,uCAAuC;QACvC,OAAO;YACL,IAAI,aAAa,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;gBAC3C,aAAa,EAAE,CAAC,aAAa,CAC3B;oBACE,QAAQ,EAAE,SAAS;oBACnB,KAAK,EAAE,WAAW;oBAClB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,EAAE,SAAS,CAAC;iBACjD,EACD;oBACE,KAAK,WAAM,SAAS,CAAC;oBACrB,KAAK,OAAA;iBACN,CACF,CAAC;aACH;YAED,qBAAqB,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC/C,CAAC,CAAC;QACF,sCAAsC;IACxC,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { getCurrentHub } from '@sentry/core';\nimport { Integration } from '@sentry/types';\nimport { fill, severityFromString } from '@sentry/utils';\nimport * as util from 'util';\n\n/** Console module integration */\nexport class Console implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Console';\n\n /**\n * @inheritDoc\n */\n public name: string = Console.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n for (const level of ['debug', 'info', 'warn', 'error', 'log']) {\n fill(console, level, createConsoleWrapper(level));\n }\n }\n}\n\n/**\n * Wrapper function that'll be used for every console level\n */\nfunction createConsoleWrapper(level: string): (originalConsoleMethod: () => void) => void {\n return function consoleWrapper(originalConsoleMethod: () => void): () => void {\n const sentryLevel = severityFromString(level);\n\n /* eslint-disable prefer-rest-params */\n return function (this: typeof console): void {\n if (getCurrentHub().getIntegration(Console)) {\n getCurrentHub().addBreadcrumb(\n {\n category: 'console',\n level: sentryLevel,\n message: util.format.apply(undefined, arguments),\n },\n {\n input: [...arguments],\n level,\n },\n );\n }\n\n originalConsoleMethod.apply(this, arguments);\n };\n /* eslint-enable prefer-rest-params */\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/http.d.ts b/node_modules/@sentry/node/esm/integrations/http.d.ts new file mode 100644 index 000000000..3ce8d9081 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/http.d.ts @@ -0,0 +1,32 @@ +import { Integration } from '@sentry/types'; +/** http module integration */ +export declare class Http implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + private readonly _breadcrumbs; + /** + * @inheritDoc + */ + private readonly _tracing; + /** + * @inheritDoc + */ + constructor(options?: { + breadcrumbs?: boolean; + tracing?: boolean; + }); + /** + * @inheritDoc + */ + setupOnce(): void; +} +//# sourceMappingURL=http.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/http.d.ts.map b/node_modules/@sentry/node/esm/integrations/http.d.ts.map new file mode 100644 index 000000000..5cad5772f --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/http.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/integrations/http.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAQ,MAAM,eAAe,CAAC;AAgBlD,8BAA8B;AAC9B,qBAAa,IAAK,YAAW,WAAW;IACtC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAU;IAElC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAW;IAE9B;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAU;IAEvC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IAEnC;;OAEG;gBACgB,OAAO,GAAE;QAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAO;IAK7E;;OAEG;IACI,SAAS,IAAI,IAAI;CAuBzB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/http.js b/node_modules/@sentry/node/esm/integrations/http.js new file mode 100644 index 000000000..be20be532 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/http.js @@ -0,0 +1,143 @@ +import { __assign } from "tslib"; +import { getCurrentHub } from '@sentry/core'; +import { fill, logger, parseSemver } from '@sentry/utils'; +import { cleanSpanDescription, extractUrl, isSentryRequest, normalizeRequestArgs, } from './utils/http'; +var NODE_VERSION = parseSemver(process.versions.node); +/** http module integration */ +var Http = /** @class */ (function () { + /** + * @inheritDoc + */ + function Http(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = Http.id; + this._breadcrumbs = typeof options.breadcrumbs === 'undefined' ? true : options.breadcrumbs; + this._tracing = typeof options.tracing === 'undefined' ? false : options.tracing; + } + /** + * @inheritDoc + */ + Http.prototype.setupOnce = function () { + // No need to instrument if we don't want to track anything + if (!this._breadcrumbs && !this._tracing) { + return; + } + var wrappedHandlerMaker = _createWrappedRequestMethodFactory(this._breadcrumbs, this._tracing); + // eslint-disable-next-line @typescript-eslint/no-var-requires + var httpModule = require('http'); + fill(httpModule, 'get', wrappedHandlerMaker); + fill(httpModule, 'request', wrappedHandlerMaker); + // NOTE: Prior to Node 9, `https` used internals of `http` module, thus we don't patch it. + // If we do, we'd get double breadcrumbs and double spans for `https` calls. + // It has been changed in Node 9, so for all versions equal and above, we patch `https` separately. + if (NODE_VERSION.major && NODE_VERSION.major > 8) { + // eslint-disable-next-line @typescript-eslint/no-var-requires + var httpsModule = require('https'); + fill(httpsModule, 'get', wrappedHandlerMaker); + fill(httpsModule, 'request', wrappedHandlerMaker); + } + }; + /** + * @inheritDoc + */ + Http.id = 'Http'; + return Http; +}()); +export { Http }; +/** + * Function which creates a function which creates wrapped versions of internal `request` and `get` calls within `http` + * and `https` modules. (NB: Not a typo - this is a creator^2!) + * + * @param breadcrumbsEnabled Whether or not to record outgoing requests as breadcrumbs + * @param tracingEnabled Whether or not to record outgoing requests as tracing spans + * + * @returns A function which accepts the exiting handler and returns a wrapped handler + */ +function _createWrappedRequestMethodFactory(breadcrumbsEnabled, tracingEnabled) { + return function wrappedRequestMethodFactory(originalRequestMethod) { + return function wrappedMethod() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + // eslint-disable-next-line @typescript-eslint/no-this-alias + var httpModule = this; + var requestArgs = normalizeRequestArgs(this, args); + var requestOptions = requestArgs[0]; + var requestUrl = extractUrl(requestOptions); + // we don't want to record requests to Sentry as either breadcrumbs or spans, so just use the original method + if (isSentryRequest(requestUrl)) { + return originalRequestMethod.apply(httpModule, requestArgs); + } + var span; + var parentSpan; + var scope = getCurrentHub().getScope(); + if (scope && tracingEnabled) { + parentSpan = scope.getSpan(); + if (parentSpan) { + span = parentSpan.startChild({ + description: (requestOptions.method || 'GET') + " " + requestUrl, + op: 'http.client', + }); + var sentryTraceHeader = span.toTraceparent(); + logger.log("[Tracing] Adding sentry-trace header " + sentryTraceHeader + " to outgoing request to " + requestUrl + ": "); + requestOptions.headers = __assign(__assign({}, requestOptions.headers), { 'sentry-trace': sentryTraceHeader }); + } + } + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return originalRequestMethod + .apply(httpModule, requestArgs) + .once('response', function (res) { + // eslint-disable-next-line @typescript-eslint/no-this-alias + var req = this; + if (breadcrumbsEnabled) { + addRequestBreadcrumb('response', requestUrl, req, res); + } + if (tracingEnabled && span) { + if (res.statusCode) { + span.setHttpStatus(res.statusCode); + } + span.description = cleanSpanDescription(span.description, requestOptions, req); + span.finish(); + } + }) + .once('error', function () { + // eslint-disable-next-line @typescript-eslint/no-this-alias + var req = this; + if (breadcrumbsEnabled) { + addRequestBreadcrumb('error', requestUrl, req); + } + if (tracingEnabled && span) { + span.setHttpStatus(500); + span.description = cleanSpanDescription(span.description, requestOptions, req); + span.finish(); + } + }); + }; + }; +} +/** + * Captures Breadcrumb based on provided request/response pair + */ +function addRequestBreadcrumb(event, url, req, res) { + if (!getCurrentHub().getIntegration(Http)) { + return; + } + getCurrentHub().addBreadcrumb({ + category: 'http', + data: { + method: req.method, + status_code: res && res.statusCode, + url: url, + }, + type: 'http', + }, { + event: event, + request: req, + response: res, + }); +} +//# sourceMappingURL=http.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/http.js.map b/node_modules/@sentry/node/esm/integrations/http.js.map new file mode 100644 index 000000000..84c2e45aa --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/http.js.map @@ -0,0 +1 @@ +{"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/integrations/http.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI1D,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,eAAe,EACf,oBAAoB,GAGrB,MAAM,cAAc,CAAC;AAEtB,IAAM,YAAY,GAAG,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAExD,8BAA8B;AAC9B;IAqBE;;OAEG;IACH,cAAmB,OAA0D;QAA1D,wBAAA,EAAA,YAA0D;QAlB7E;;WAEG;QACI,SAAI,GAAW,IAAI,CAAC,EAAE,CAAC;QAgB5B,IAAI,CAAC,YAAY,GAAG,OAAO,OAAO,CAAC,WAAW,KAAK,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;QAC5F,IAAI,CAAC,QAAQ,GAAG,OAAO,OAAO,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACnF,CAAC;IAED;;OAEG;IACI,wBAAS,GAAhB;QACE,2DAA2D;QAC3D,IAAI,CAAC,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YACxC,OAAO;SACR;QAED,IAAM,mBAAmB,GAAG,kCAAkC,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEjG,8DAA8D;QAC9D,IAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC;QAC7C,IAAI,CAAC,UAAU,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;QAEjD,0FAA0F;QAC1F,4EAA4E;QAC5E,mGAAmG;QACnG,IAAI,YAAY,CAAC,KAAK,IAAI,YAAY,CAAC,KAAK,GAAG,CAAC,EAAE;YAChD,8DAA8D;YAC9D,IAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;YACrC,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC;YAC9C,IAAI,CAAC,WAAW,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;SACnD;IACH,CAAC;IArDD;;OAEG;IACW,OAAE,GAAW,MAAM,CAAC;IAmDpC,WAAC;CAAA,AAvDD,IAuDC;SAvDY,IAAI;AA8DjB;;;;;;;;GAQG;AACH,SAAS,kCAAkC,CACzC,kBAA2B,EAC3B,cAAuB;IAEvB,OAAO,SAAS,2BAA2B,CAAC,qBAA4C;QACtF,OAAO,SAAS,aAAa;YAAmC,cAA0B;iBAA1B,UAA0B,EAA1B,qBAA0B,EAA1B,IAA0B;gBAA1B,yBAA0B;;YACxF,4DAA4D;YAC5D,IAAM,UAAU,GAAG,IAAI,CAAC;YAExB,IAAM,WAAW,GAAG,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACrD,IAAM,cAAc,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;YACtC,IAAM,UAAU,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;YAE9C,6GAA6G;YAC7G,IAAI,eAAe,CAAC,UAAU,CAAC,EAAE;gBAC/B,OAAO,qBAAqB,CAAC,KAAK,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;aAC7D;YAED,IAAI,IAAsB,CAAC;YAC3B,IAAI,UAA4B,CAAC;YAEjC,IAAM,KAAK,GAAG,aAAa,EAAE,CAAC,QAAQ,EAAE,CAAC;YACzC,IAAI,KAAK,IAAI,cAAc,EAAE;gBAC3B,UAAU,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC;gBAC7B,IAAI,UAAU,EAAE;oBACd,IAAI,GAAG,UAAU,CAAC,UAAU,CAAC;wBAC3B,WAAW,EAAE,CAAG,cAAc,CAAC,MAAM,IAAI,KAAK,UAAI,UAAY;wBAC9D,EAAE,EAAE,aAAa;qBAClB,CAAC,CAAC;oBAEH,IAAM,iBAAiB,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;oBAC/C,MAAM,CAAC,GAAG,CACR,0CAAwC,iBAAiB,gCAA2B,UAAU,OAAI,CACnG,CAAC;oBACF,cAAc,CAAC,OAAO,yBAAQ,cAAc,CAAC,OAAO,KAAE,cAAc,EAAE,iBAAiB,GAAE,CAAC;iBAC3F;aACF;YAED,sEAAsE;YACtE,OAAO,qBAAqB;iBACzB,KAAK,CAAC,UAAU,EAAE,WAAW,CAAC;iBAC9B,IAAI,CAAC,UAAU,EAAE,UAAoC,GAAyB;gBAC7E,4DAA4D;gBAC5D,IAAM,GAAG,GAAG,IAAI,CAAC;gBACjB,IAAI,kBAAkB,EAAE;oBACtB,oBAAoB,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;iBACxD;gBACD,IAAI,cAAc,IAAI,IAAI,EAAE;oBAC1B,IAAI,GAAG,CAAC,UAAU,EAAE;wBAClB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;qBACpC;oBACD,IAAI,CAAC,WAAW,GAAG,oBAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC;oBAC/E,IAAI,CAAC,MAAM,EAAE,CAAC;iBACf;YACH,CAAC,CAAC;iBACD,IAAI,CAAC,OAAO,EAAE;gBACb,4DAA4D;gBAC5D,IAAM,GAAG,GAAG,IAAI,CAAC;gBAEjB,IAAI,kBAAkB,EAAE;oBACtB,oBAAoB,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC;iBAChD;gBACD,IAAI,cAAc,IAAI,IAAI,EAAE;oBAC1B,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;oBACxB,IAAI,CAAC,WAAW,GAAG,oBAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC;oBAC/E,IAAI,CAAC,MAAM,EAAE,CAAC;iBACf;YACH,CAAC,CAAC,CAAC;QACP,CAAC,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,oBAAoB,CAAC,KAAa,EAAE,GAAW,EAAE,GAAuB,EAAE,GAA0B;IAC3G,IAAI,CAAC,aAAa,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;QACzC,OAAO;KACR;IAED,aAAa,EAAE,CAAC,aAAa,CAC3B;QACE,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE;YACJ,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,WAAW,EAAE,GAAG,IAAI,GAAG,CAAC,UAAU;YAClC,GAAG,KAAA;SACJ;QACD,IAAI,EAAE,MAAM;KACb,EACD;QACE,KAAK,OAAA;QACL,OAAO,EAAE,GAAG;QACZ,QAAQ,EAAE,GAAG;KACd,CACF,CAAC;AACJ,CAAC","sourcesContent":["import { getCurrentHub } from '@sentry/core';\nimport { Integration, Span } from '@sentry/types';\nimport { fill, logger, parseSemver } from '@sentry/utils';\nimport * as http from 'http';\nimport * as https from 'https';\n\nimport {\n cleanSpanDescription,\n extractUrl,\n isSentryRequest,\n normalizeRequestArgs,\n RequestMethod,\n RequestMethodArgs,\n} from './utils/http';\n\nconst NODE_VERSION = parseSemver(process.versions.node);\n\n/** http module integration */\nexport class Http implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Http';\n\n /**\n * @inheritDoc\n */\n public name: string = Http.id;\n\n /**\n * @inheritDoc\n */\n private readonly _breadcrumbs: boolean;\n\n /**\n * @inheritDoc\n */\n private readonly _tracing: boolean;\n\n /**\n * @inheritDoc\n */\n public constructor(options: { breadcrumbs?: boolean; tracing?: boolean } = {}) {\n this._breadcrumbs = typeof options.breadcrumbs === 'undefined' ? true : options.breadcrumbs;\n this._tracing = typeof options.tracing === 'undefined' ? false : options.tracing;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n // No need to instrument if we don't want to track anything\n if (!this._breadcrumbs && !this._tracing) {\n return;\n }\n\n const wrappedHandlerMaker = _createWrappedRequestMethodFactory(this._breadcrumbs, this._tracing);\n\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const httpModule = require('http');\n fill(httpModule, 'get', wrappedHandlerMaker);\n fill(httpModule, 'request', wrappedHandlerMaker);\n\n // NOTE: Prior to Node 9, `https` used internals of `http` module, thus we don't patch it.\n // If we do, we'd get double breadcrumbs and double spans for `https` calls.\n // It has been changed in Node 9, so for all versions equal and above, we patch `https` separately.\n if (NODE_VERSION.major && NODE_VERSION.major > 8) {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const httpsModule = require('https');\n fill(httpsModule, 'get', wrappedHandlerMaker);\n fill(httpsModule, 'request', wrappedHandlerMaker);\n }\n }\n}\n\n// for ease of reading below\ntype OriginalRequestMethod = RequestMethod;\ntype WrappedRequestMethod = RequestMethod;\ntype WrappedRequestMethodFactory = (original: OriginalRequestMethod) => WrappedRequestMethod;\n\n/**\n * Function which creates a function which creates wrapped versions of internal `request` and `get` calls within `http`\n * and `https` modules. (NB: Not a typo - this is a creator^2!)\n *\n * @param breadcrumbsEnabled Whether or not to record outgoing requests as breadcrumbs\n * @param tracingEnabled Whether or not to record outgoing requests as tracing spans\n *\n * @returns A function which accepts the exiting handler and returns a wrapped handler\n */\nfunction _createWrappedRequestMethodFactory(\n breadcrumbsEnabled: boolean,\n tracingEnabled: boolean,\n): WrappedRequestMethodFactory {\n return function wrappedRequestMethodFactory(originalRequestMethod: OriginalRequestMethod): WrappedRequestMethod {\n return function wrappedMethod(this: typeof http | typeof https, ...args: RequestMethodArgs): http.ClientRequest {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const httpModule = this;\n\n const requestArgs = normalizeRequestArgs(this, args);\n const requestOptions = requestArgs[0];\n const requestUrl = extractUrl(requestOptions);\n\n // we don't want to record requests to Sentry as either breadcrumbs or spans, so just use the original method\n if (isSentryRequest(requestUrl)) {\n return originalRequestMethod.apply(httpModule, requestArgs);\n }\n\n let span: Span | undefined;\n let parentSpan: Span | undefined;\n\n const scope = getCurrentHub().getScope();\n if (scope && tracingEnabled) {\n parentSpan = scope.getSpan();\n if (parentSpan) {\n span = parentSpan.startChild({\n description: `${requestOptions.method || 'GET'} ${requestUrl}`,\n op: 'http.client',\n });\n\n const sentryTraceHeader = span.toTraceparent();\n logger.log(\n `[Tracing] Adding sentry-trace header ${sentryTraceHeader} to outgoing request to ${requestUrl}: `,\n );\n requestOptions.headers = { ...requestOptions.headers, 'sentry-trace': sentryTraceHeader };\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalRequestMethod\n .apply(httpModule, requestArgs)\n .once('response', function (this: http.ClientRequest, res: http.IncomingMessage): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const req = this;\n if (breadcrumbsEnabled) {\n addRequestBreadcrumb('response', requestUrl, req, res);\n }\n if (tracingEnabled && span) {\n if (res.statusCode) {\n span.setHttpStatus(res.statusCode);\n }\n span.description = cleanSpanDescription(span.description, requestOptions, req);\n span.finish();\n }\n })\n .once('error', function (this: http.ClientRequest): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const req = this;\n\n if (breadcrumbsEnabled) {\n addRequestBreadcrumb('error', requestUrl, req);\n }\n if (tracingEnabled && span) {\n span.setHttpStatus(500);\n span.description = cleanSpanDescription(span.description, requestOptions, req);\n span.finish();\n }\n });\n };\n };\n}\n\n/**\n * Captures Breadcrumb based on provided request/response pair\n */\nfunction addRequestBreadcrumb(event: string, url: string, req: http.ClientRequest, res?: http.IncomingMessage): void {\n if (!getCurrentHub().getIntegration(Http)) {\n return;\n }\n\n getCurrentHub().addBreadcrumb(\n {\n category: 'http',\n data: {\n method: req.method,\n status_code: res && res.statusCode,\n url,\n },\n type: 'http',\n },\n {\n event,\n request: req,\n response: res,\n },\n );\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/index.d.ts b/node_modules/@sentry/node/esm/integrations/index.d.ts new file mode 100644 index 000000000..7dda59d14 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/index.d.ts @@ -0,0 +1,7 @@ +export { Console } from './console'; +export { Http } from './http'; +export { OnUncaughtException } from './onuncaughtexception'; +export { OnUnhandledRejection } from './onunhandledrejection'; +export { LinkedErrors } from './linkederrors'; +export { Modules } from './modules'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/index.d.ts.map b/node_modules/@sentry/node/esm/integrations/index.d.ts.map new file mode 100644 index 000000000..e13d02339 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/index.js b/node_modules/@sentry/node/esm/integrations/index.js new file mode 100644 index 000000000..8d824755d --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/index.js @@ -0,0 +1,7 @@ +export { Console } from './console'; +export { Http } from './http'; +export { OnUncaughtException } from './onuncaughtexception'; +export { OnUnhandledRejection } from './onunhandledrejection'; +export { LinkedErrors } from './linkederrors'; +export { Modules } from './modules'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/index.js.map b/node_modules/@sentry/node/esm/integrations/index.js.map new file mode 100644 index 000000000..a1ed26d0c --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC","sourcesContent":["export { Console } from './console';\nexport { Http } from './http';\nexport { OnUncaughtException } from './onuncaughtexception';\nexport { OnUnhandledRejection } from './onunhandledrejection';\nexport { LinkedErrors } from './linkederrors';\nexport { Modules } from './modules';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/linkederrors.d.ts b/node_modules/@sentry/node/esm/integrations/linkederrors.d.ts new file mode 100644 index 000000000..3a02436d3 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/linkederrors.d.ts @@ -0,0 +1,40 @@ +import { Integration } from '@sentry/types'; +/** Adds SDK info to an event. */ +export declare class LinkedErrors implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + readonly name: string; + /** + * @inheritDoc + */ + private readonly _key; + /** + * @inheritDoc + */ + private readonly _limit; + /** + * @inheritDoc + */ + constructor(options?: { + key?: string; + limit?: number; + }); + /** + * @inheritDoc + */ + setupOnce(): void; + /** + * @inheritDoc + */ + private _handler; + /** + * @inheritDoc + */ + private _walkErrorTree; +} +//# sourceMappingURL=linkederrors.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/linkederrors.d.ts.map b/node_modules/@sentry/node/esm/integrations/linkederrors.d.ts.map new file mode 100644 index 000000000..664903462 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/linkederrors.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"linkederrors.d.ts","sourceRoot":"","sources":["../../src/integrations/linkederrors.ts"],"names":[],"mappings":"AACA,OAAO,EAA8C,WAAW,EAAE,MAAM,eAAe,CAAC;AAQxF,iCAAiC;AACjC,qBAAa,YAAa,YAAW,WAAW;IAC9C;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAkB;IAE1C;;OAEG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAmB;IAE/C;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAE9B;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;OAEG;gBACgB,OAAO,GAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAO;IAKjE;;OAEG;IACI,SAAS,IAAI,IAAI;IAWxB;;OAEG;IACH,OAAO,CAAC,QAAQ;IAmBhB;;OAEG;IACH,OAAO,CAAC,cAAc;CAkBvB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/linkederrors.js b/node_modules/@sentry/node/esm/integrations/linkederrors.js new file mode 100644 index 000000000..37966e89d --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/linkederrors.js @@ -0,0 +1,85 @@ +import { __read, __spread } from "tslib"; +import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core'; +import { isInstanceOf, resolvedSyncPromise, SyncPromise } from '@sentry/utils'; +import { getExceptionFromError } from '../parsers'; +var DEFAULT_KEY = 'cause'; +var DEFAULT_LIMIT = 5; +/** Adds SDK info to an event. */ +var LinkedErrors = /** @class */ (function () { + /** + * @inheritDoc + */ + function LinkedErrors(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = LinkedErrors.id; + this._key = options.key || DEFAULT_KEY; + this._limit = options.limit || DEFAULT_LIMIT; + } + /** + * @inheritDoc + */ + LinkedErrors.prototype.setupOnce = function () { + addGlobalEventProcessor(function (event, hint) { + var self = getCurrentHub().getIntegration(LinkedErrors); + if (self) { + var handler = self._handler && self._handler.bind(self); + return typeof handler === 'function' ? handler(event, hint) : event; + } + return event; + }); + }; + /** + * @inheritDoc + */ + LinkedErrors.prototype._handler = function (event, hint) { + var _this = this; + if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) { + return resolvedSyncPromise(event); + } + return new SyncPromise(function (resolve) { + void _this._walkErrorTree(hint.originalException, _this._key) + .then(function (linkedErrors) { + if (event && event.exception && event.exception.values) { + event.exception.values = __spread(linkedErrors, event.exception.values); + } + resolve(event); + }) + .then(null, function () { + resolve(event); + }); + }); + }; + /** + * @inheritDoc + */ + LinkedErrors.prototype._walkErrorTree = function (error, key, stack) { + var _this = this; + if (stack === void 0) { stack = []; } + if (!isInstanceOf(error[key], Error) || stack.length + 1 >= this._limit) { + return resolvedSyncPromise(stack); + } + return new SyncPromise(function (resolve, reject) { + void getExceptionFromError(error[key]) + .then(function (exception) { + void _this._walkErrorTree(error[key], key, __spread([exception], stack)) + .then(resolve) + .then(null, function () { + reject(); + }); + }) + .then(null, function () { + reject(); + }); + }); + }; + /** + * @inheritDoc + */ + LinkedErrors.id = 'LinkedErrors'; + return LinkedErrors; +}()); +export { LinkedErrors }; +//# sourceMappingURL=linkederrors.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/linkederrors.js.map b/node_modules/@sentry/node/esm/integrations/linkederrors.js.map new file mode 100644 index 000000000..b5a10c4bf --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/linkederrors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"linkederrors.js","sourceRoot":"","sources":["../../src/integrations/linkederrors.ts"],"names":[],"mappings":"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","sourcesContent":["import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Exception, ExtendedError, Integration } from '@sentry/types';\nimport { isInstanceOf, resolvedSyncPromise, SyncPromise } from '@sentry/utils';\n\nimport { getExceptionFromError } from '../parsers';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\n/** Adds SDK info to an event. */\nexport class LinkedErrors implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'LinkedErrors';\n\n /**\n * @inheritDoc\n */\n public readonly name: string = LinkedErrors.id;\n\n /**\n * @inheritDoc\n */\n private readonly _key: string;\n\n /**\n * @inheritDoc\n */\n private readonly _limit: number;\n\n /**\n * @inheritDoc\n */\n public constructor(options: { key?: string; limit?: number } = {}) {\n this._key = options.key || DEFAULT_KEY;\n this._limit = options.limit || DEFAULT_LIMIT;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event, hint?: EventHint) => {\n const self = getCurrentHub().getIntegration(LinkedErrors);\n if (self) {\n const handler = self._handler && self._handler.bind(self);\n return typeof handler === 'function' ? handler(event, hint) : event;\n }\n return event;\n });\n }\n\n /**\n * @inheritDoc\n */\n private _handler(event: Event, hint?: EventHint): PromiseLike {\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return resolvedSyncPromise(event);\n }\n\n return new SyncPromise(resolve => {\n void this._walkErrorTree(hint.originalException as Error, this._key)\n .then((linkedErrors: Exception[]) => {\n if (event && event.exception && event.exception.values) {\n event.exception.values = [...linkedErrors, ...event.exception.values];\n }\n resolve(event);\n })\n .then(null, () => {\n resolve(event);\n });\n });\n }\n\n /**\n * @inheritDoc\n */\n private _walkErrorTree(error: ExtendedError, key: string, stack: Exception[] = []): PromiseLike {\n if (!isInstanceOf(error[key], Error) || stack.length + 1 >= this._limit) {\n return resolvedSyncPromise(stack);\n }\n return new SyncPromise((resolve, reject) => {\n void getExceptionFromError(error[key])\n .then((exception: Exception) => {\n void this._walkErrorTree(error[key], key, [exception, ...stack])\n .then(resolve)\n .then(null, () => {\n reject();\n });\n })\n .then(null, () => {\n reject();\n });\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/modules.d.ts b/node_modules/@sentry/node/esm/integrations/modules.d.ts new file mode 100644 index 000000000..c1e1b87ce --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/modules.d.ts @@ -0,0 +1,19 @@ +import { EventProcessor, Hub, Integration } from '@sentry/types'; +/** Add node modules / packages to the event */ +export declare class Modules implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; + /** Fetches the list of modules and the versions loaded by the entry file for your node.js app. */ + private _getModules; +} +//# sourceMappingURL=modules.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/modules.d.ts.map b/node_modules/@sentry/node/esm/integrations/modules.d.ts.map new file mode 100644 index 000000000..850827f54 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/modules.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../../src/integrations/modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAmEjE,+CAA+C;AAC/C,qBAAa,OAAQ,YAAW,WAAW;IACzC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAa;IAErC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAc;IAEjC;;OAEG;IACI,SAAS,CAAC,uBAAuB,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;IAY7G,kGAAkG;IAClG,OAAO,CAAC,WAAW;CAMpB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/modules.js b/node_modules/@sentry/node/esm/integrations/modules.js new file mode 100644 index 000000000..4c4f84ad6 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/modules.js @@ -0,0 +1,83 @@ +import { __assign } from "tslib"; +import { existsSync, readFileSync } from 'fs'; +import { dirname, join } from 'path'; +var moduleCache; +/** Extract information about paths */ +function getPaths() { + try { + return require.cache ? Object.keys(require.cache) : []; + } + catch (e) { + return []; + } +} +/** Extract information about package.json modules */ +function collectModules() { + var mainPaths = (require.main && require.main.paths) || []; + var paths = getPaths(); + var infos = {}; + var seen = {}; + paths.forEach(function (path) { + var dir = path; + /** Traverse directories upward in the search of package.json file */ + var updir = function () { + var orig = dir; + dir = dirname(orig); + if (!dir || orig === dir || seen[orig]) { + return undefined; + } + if (mainPaths.indexOf(dir) < 0) { + return updir(); + } + var pkgfile = join(orig, 'package.json'); + seen[orig] = true; + if (!existsSync(pkgfile)) { + return updir(); + } + try { + var info = JSON.parse(readFileSync(pkgfile, 'utf8')); + infos[info.name] = info.version; + } + catch (_oO) { + // no-empty + } + }; + updir(); + }); + return infos; +} +/** Add node modules / packages to the event */ +var Modules = /** @class */ (function () { + function Modules() { + /** + * @inheritDoc + */ + this.name = Modules.id; + } + /** + * @inheritDoc + */ + Modules.prototype.setupOnce = function (addGlobalEventProcessor, getCurrentHub) { + var _this = this; + addGlobalEventProcessor(function (event) { + if (!getCurrentHub().getIntegration(Modules)) { + return event; + } + return __assign(__assign({}, event), { modules: _this._getModules() }); + }); + }; + /** Fetches the list of modules and the versions loaded by the entry file for your node.js app. */ + Modules.prototype._getModules = function () { + if (!moduleCache) { + moduleCache = collectModules(); + } + return moduleCache; + }; + /** + * @inheritDoc + */ + Modules.id = 'Modules'; + return Modules; +}()); +export { Modules }; +//# sourceMappingURL=modules.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/modules.js.map b/node_modules/@sentry/node/esm/integrations/modules.js.map new file mode 100644 index 000000000..1119cd9b7 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/modules.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modules.js","sourceRoot":"","sources":["../../src/integrations/modules.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAErC,IAAI,WAAsC,CAAC;AAE3C,sCAAsC;AACtC,SAAS,QAAQ;IACf,IAAI;QACF,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAgC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KACnF;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AAED,qDAAqD;AACrD,SAAS,cAAc;IAGrB,IAAM,SAAS,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7D,IAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,IAAM,KAAK,GAEP,EAAE,CAAC;IACP,IAAM,IAAI,GAEN,EAAE,CAAC;IAEP,KAAK,CAAC,OAAO,CAAC,UAAA,IAAI;QAChB,IAAI,GAAG,GAAG,IAAI,CAAC;QAEf,qEAAqE;QACrE,IAAM,KAAK,GAAG;YACZ,IAAM,IAAI,GAAG,GAAG,CAAC;YACjB,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;YAEpB,IAAI,CAAC,GAAG,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE;gBACtC,OAAO,SAAS,CAAC;aAClB;YACD,IAAI,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBAC9B,OAAO,KAAK,EAAE,CAAC;aAChB;YAED,IAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;YAC3C,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;YAElB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;gBACxB,OAAO,KAAK,EAAE,CAAC;aAChB;YAED,IAAI;gBACF,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAGpD,CAAC;gBACF,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;aACjC;YAAC,OAAO,GAAG,EAAE;gBACZ,WAAW;aACZ;QACH,CAAC,CAAC;QAEF,KAAK,EAAE,CAAC;IACV,CAAC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC;AACf,CAAC;AAED,+CAA+C;AAC/C;IAAA;QAME;;WAEG;QACI,SAAI,GAAW,OAAO,CAAC,EAAE,CAAC;IAwBnC,CAAC;IAtBC;;OAEG;IACI,2BAAS,GAAhB,UAAiB,uBAA2D,EAAE,aAAwB;QAAtG,iBAUC;QATC,uBAAuB,CAAC,UAAA,KAAK;YAC3B,IAAI,CAAC,aAAa,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;gBAC5C,OAAO,KAAK,CAAC;aACd;YACD,6BACK,KAAK,KACR,OAAO,EAAE,KAAI,CAAC,WAAW,EAAE,IAC3B;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED,kGAAkG;IAC1F,6BAAW,GAAnB;QACE,IAAI,CAAC,WAAW,EAAE;YAChB,WAAW,GAAG,cAAc,EAAE,CAAC;SAChC;QACD,OAAO,WAAW,CAAC;IACrB,CAAC;IA/BD;;OAEG;IACW,UAAE,GAAW,SAAS,CAAC;IA6BvC,cAAC;CAAA,AAjCD,IAiCC;SAjCY,OAAO","sourcesContent":["import { EventProcessor, Hub, Integration } from '@sentry/types';\nimport { existsSync, readFileSync } from 'fs';\nimport { dirname, join } from 'path';\n\nlet moduleCache: { [key: string]: string };\n\n/** Extract information about paths */\nfunction getPaths(): string[] {\n try {\n return require.cache ? Object.keys(require.cache as Record) : [];\n } catch (e) {\n return [];\n }\n}\n\n/** Extract information about package.json modules */\nfunction collectModules(): {\n [name: string]: string;\n} {\n const mainPaths = (require.main && require.main.paths) || [];\n const paths = getPaths();\n const infos: {\n [name: string]: string;\n } = {};\n const seen: {\n [path: string]: boolean;\n } = {};\n\n paths.forEach(path => {\n let dir = path;\n\n /** Traverse directories upward in the search of package.json file */\n const updir = (): void | (() => void) => {\n const orig = dir;\n dir = dirname(orig);\n\n if (!dir || orig === dir || seen[orig]) {\n return undefined;\n }\n if (mainPaths.indexOf(dir) < 0) {\n return updir();\n }\n\n const pkgfile = join(orig, 'package.json');\n seen[orig] = true;\n\n if (!existsSync(pkgfile)) {\n return updir();\n }\n\n try {\n const info = JSON.parse(readFileSync(pkgfile, 'utf8')) as {\n name: string;\n version: string;\n };\n infos[info.name] = info.version;\n } catch (_oO) {\n // no-empty\n }\n };\n\n updir();\n });\n\n return infos;\n}\n\n/** Add node modules / packages to the event */\nexport class Modules implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Modules';\n\n /**\n * @inheritDoc\n */\n public name: string = Modules.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n addGlobalEventProcessor(event => {\n if (!getCurrentHub().getIntegration(Modules)) {\n return event;\n }\n return {\n ...event,\n modules: this._getModules(),\n };\n });\n }\n\n /** Fetches the list of modules and the versions loaded by the entry file for your node.js app. */\n private _getModules(): { [key: string]: string } {\n if (!moduleCache) {\n moduleCache = collectModules();\n }\n return moduleCache;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/onuncaughtexception.d.ts b/node_modules/@sentry/node/esm/integrations/onuncaughtexception.d.ts new file mode 100644 index 000000000..caacb0618 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/onuncaughtexception.d.ts @@ -0,0 +1,37 @@ +import { Integration } from '@sentry/types'; +/** Global Promise Rejection handler */ +export declare class OnUncaughtException implements Integration { + private readonly _options; + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + readonly handler: (error: Error) => void; + /** + * @inheritDoc + */ + constructor(_options?: { + /** + * Default onFatalError handler + * @param firstError Error that has been thrown + * @param secondError If this was called multiple times this will be set + */ + onFatalError?(firstError: Error, secondError?: Error): void; + }); + /** + * @inheritDoc + */ + setupOnce(): void; + /** + * @hidden + */ + private _makeErrorHandler; +} +//# sourceMappingURL=onuncaughtexception.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/onuncaughtexception.d.ts.map b/node_modules/@sentry/node/esm/integrations/onuncaughtexception.d.ts.map new file mode 100644 index 000000000..c62d96c10 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/onuncaughtexception.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"onuncaughtexception.d.ts","sourceRoot":"","sources":["../../src/integrations/onuncaughtexception.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAY,MAAM,eAAe,CAAC;AAQtD,uCAAuC;AACvC,qBAAa,mBAAoB,YAAW,WAAW;IAoBnD,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAnB3B;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAyB;IAEjD;;OAEG;IACI,IAAI,EAAE,MAAM,CAA0B;IAE7C;;OAEG;IACH,SAAgB,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAA4B;IAE3E;;OAEG;gBAEgB,QAAQ,GAAE;QACzB;;;;WAIG;QACH,YAAY,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,WAAW,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;KACxD;IAER;;OAEG;IACI,SAAS,IAAI,IAAI;IAIxB;;OAEG;IACH,OAAO,CAAC,iBAAiB;CA8E1B"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/onuncaughtexception.js b/node_modules/@sentry/node/esm/integrations/onuncaughtexception.js new file mode 100644 index 000000000..dc591adba --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/onuncaughtexception.js @@ -0,0 +1,117 @@ +import { getCurrentHub } from '@sentry/core'; +import { Severity } from '@sentry/types'; +import { logger } from '@sentry/utils'; +import { logAndExitProcess } from './utils/errorhandling'; +/** Global Promise Rejection handler */ +var OnUncaughtException = /** @class */ (function () { + /** + * @inheritDoc + */ + function OnUncaughtException(_options) { + if (_options === void 0) { _options = {}; } + this._options = _options; + /** + * @inheritDoc + */ + this.name = OnUncaughtException.id; + /** + * @inheritDoc + */ + this.handler = this._makeErrorHandler(); + } + /** + * @inheritDoc + */ + OnUncaughtException.prototype.setupOnce = function () { + global.process.on('uncaughtException', this.handler.bind(this)); + }; + /** + * @hidden + */ + OnUncaughtException.prototype._makeErrorHandler = function () { + var _this = this; + var timeout = 2000; + var caughtFirstError = false; + var caughtSecondError = false; + var calledFatalError = false; + var firstError; + return function (error) { + var onFatalError = logAndExitProcess; + var client = getCurrentHub().getClient(); + if (_this._options.onFatalError) { + // eslint-disable-next-line @typescript-eslint/unbound-method + onFatalError = _this._options.onFatalError; + } + else if (client && client.getOptions().onFatalError) { + // eslint-disable-next-line @typescript-eslint/unbound-method + onFatalError = client.getOptions().onFatalError; + } + if (!caughtFirstError) { + var hub_1 = getCurrentHub(); + // this is the first uncaught error and the ultimate reason for shutting down + // we want to do absolutely everything possible to ensure it gets captured + // also we want to make sure we don't go recursion crazy if more errors happen after this one + firstError = error; + caughtFirstError = true; + if (hub_1.getIntegration(OnUncaughtException)) { + hub_1.withScope(function (scope) { + scope.setLevel(Severity.Fatal); + hub_1.captureException(error, { + originalException: error, + data: { mechanism: { handled: false, type: 'onuncaughtexception' } }, + }); + if (!calledFatalError) { + calledFatalError = true; + onFatalError(error); + } + }); + } + else { + if (!calledFatalError) { + calledFatalError = true; + onFatalError(error); + } + } + } + else if (calledFatalError) { + // we hit an error *after* calling onFatalError - pretty boned at this point, just shut it down + logger.warn('uncaught exception after calling fatal error shutdown callback - this is bad! forcing shutdown'); + logAndExitProcess(error); + } + else if (!caughtSecondError) { + // two cases for how we can hit this branch: + // - capturing of first error blew up and we just caught the exception from that + // - quit trying to capture, proceed with shutdown + // - a second independent error happened while waiting for first error to capture + // - want to avoid causing premature shutdown before first error capture finishes + // it's hard to immediately tell case 1 from case 2 without doing some fancy/questionable domain stuff + // so let's instead just delay a bit before we proceed with our action here + // in case 1, we just wait a bit unnecessarily but ultimately do the same thing + // in case 2, the delay hopefully made us wait long enough for the capture to finish + // two potential nonideal outcomes: + // nonideal case 1: capturing fails fast, we sit around for a few seconds unnecessarily before proceeding correctly by calling onFatalError + // nonideal case 2: case 2 happens, 1st error is captured but slowly, timeout completes before capture and we treat second error as the sendErr of (nonexistent) failure from trying to capture first error + // note that after hitting this branch, we might catch more errors where (caughtSecondError && !calledFatalError) + // we ignore them - they don't matter to us, we're just waiting for the second error timeout to finish + caughtSecondError = true; + setTimeout(function () { + if (!calledFatalError) { + // it was probably case 1, let's treat err as the sendErr and call onFatalError + calledFatalError = true; + onFatalError(firstError, error); + } + else { + // it was probably case 2, our first error finished capturing while we waited, cool, do nothing + } + }, timeout); // capturing could take at least sendTimeout to fail, plus an arbitrary second for how long it takes to collect surrounding source etc + } + }; + }; + /** + * @inheritDoc + */ + OnUncaughtException.id = 'OnUncaughtException'; + return OnUncaughtException; +}()); +export { OnUncaughtException }; +//# sourceMappingURL=onuncaughtexception.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/onuncaughtexception.js.map b/node_modules/@sentry/node/esm/integrations/onuncaughtexception.js.map new file mode 100644 index 000000000..eff75f347 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/onuncaughtexception.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onuncaughtexception.js","sourceRoot":"","sources":["../../src/integrations/onuncaughtexception.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, Scope } from '@sentry/core';\nimport { Integration, Severity } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\nimport { NodeClient } from '../client';\nimport { logAndExitProcess } from './utils/errorhandling';\n\ntype OnFatalErrorHandler = (firstError: Error, secondError?: Error) => void;\n\n/** Global Promise Rejection handler */\nexport class OnUncaughtException implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'OnUncaughtException';\n\n /**\n * @inheritDoc\n */\n public name: string = OnUncaughtException.id;\n\n /**\n * @inheritDoc\n */\n public readonly handler: (error: Error) => void = this._makeErrorHandler();\n\n /**\n * @inheritDoc\n */\n public constructor(\n private readonly _options: {\n /**\n * Default onFatalError handler\n * @param firstError Error that has been thrown\n * @param secondError If this was called multiple times this will be set\n */\n onFatalError?(firstError: Error, secondError?: Error): void;\n } = {},\n ) {}\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n global.process.on('uncaughtException', this.handler.bind(this));\n }\n\n /**\n * @hidden\n */\n private _makeErrorHandler(): (error: Error) => void {\n const timeout = 2000;\n let caughtFirstError: boolean = false;\n let caughtSecondError: boolean = false;\n let calledFatalError: boolean = false;\n let firstError: Error;\n\n return (error: Error): void => {\n let onFatalError: OnFatalErrorHandler = logAndExitProcess;\n const client = getCurrentHub().getClient();\n\n if (this._options.onFatalError) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n onFatalError = this._options.onFatalError;\n } else if (client && client.getOptions().onFatalError) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n onFatalError = client.getOptions().onFatalError as OnFatalErrorHandler;\n }\n\n if (!caughtFirstError) {\n const hub = getCurrentHub();\n\n // this is the first uncaught error and the ultimate reason for shutting down\n // we want to do absolutely everything possible to ensure it gets captured\n // also we want to make sure we don't go recursion crazy if more errors happen after this one\n firstError = error;\n caughtFirstError = true;\n\n if (hub.getIntegration(OnUncaughtException)) {\n hub.withScope((scope: Scope) => {\n scope.setLevel(Severity.Fatal);\n hub.captureException(error, {\n originalException: error,\n data: { mechanism: { handled: false, type: 'onuncaughtexception' } },\n });\n if (!calledFatalError) {\n calledFatalError = true;\n onFatalError(error);\n }\n });\n } else {\n if (!calledFatalError) {\n calledFatalError = true;\n onFatalError(error);\n }\n }\n } else if (calledFatalError) {\n // we hit an error *after* calling onFatalError - pretty boned at this point, just shut it down\n logger.warn('uncaught exception after calling fatal error shutdown callback - this is bad! forcing shutdown');\n logAndExitProcess(error);\n } else if (!caughtSecondError) {\n // two cases for how we can hit this branch:\n // - capturing of first error blew up and we just caught the exception from that\n // - quit trying to capture, proceed with shutdown\n // - a second independent error happened while waiting for first error to capture\n // - want to avoid causing premature shutdown before first error capture finishes\n // it's hard to immediately tell case 1 from case 2 without doing some fancy/questionable domain stuff\n // so let's instead just delay a bit before we proceed with our action here\n // in case 1, we just wait a bit unnecessarily but ultimately do the same thing\n // in case 2, the delay hopefully made us wait long enough for the capture to finish\n // two potential nonideal outcomes:\n // nonideal case 1: capturing fails fast, we sit around for a few seconds unnecessarily before proceeding correctly by calling onFatalError\n // nonideal case 2: case 2 happens, 1st error is captured but slowly, timeout completes before capture and we treat second error as the sendErr of (nonexistent) failure from trying to capture first error\n // note that after hitting this branch, we might catch more errors where (caughtSecondError && !calledFatalError)\n // we ignore them - they don't matter to us, we're just waiting for the second error timeout to finish\n caughtSecondError = true;\n setTimeout(() => {\n if (!calledFatalError) {\n // it was probably case 1, let's treat err as the sendErr and call onFatalError\n calledFatalError = true;\n onFatalError(firstError, error);\n } else {\n // it was probably case 2, our first error finished capturing while we waited, cool, do nothing\n }\n }, timeout); // capturing could take at least sendTimeout to fail, plus an arbitrary second for how long it takes to collect surrounding source etc\n }\n };\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/onunhandledrejection.d.ts b/node_modules/@sentry/node/esm/integrations/onunhandledrejection.d.ts new file mode 100644 index 000000000..4eca90e2d --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/onunhandledrejection.d.ts @@ -0,0 +1,40 @@ +import { Integration } from '@sentry/types'; +declare type UnhandledRejectionMode = 'none' | 'warn' | 'strict'; +/** Global Promise Rejection handler */ +export declare class OnUnhandledRejection implements Integration { + private readonly _options; + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + constructor(_options?: { + /** + * Option deciding what to do after capturing unhandledRejection, + * that mimicks behavior of node's --unhandled-rejection flag. + */ + mode: UnhandledRejectionMode; + }); + /** + * @inheritDoc + */ + setupOnce(): void; + /** + * Send an exception with reason + * @param reason string + * @param promise promise + */ + sendUnhandledPromise(reason: any, promise: any): void; + /** + * Handler for `mode` option + */ + private _handleRejection; +} +export {}; +//# sourceMappingURL=onunhandledrejection.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/onunhandledrejection.d.ts.map b/node_modules/@sentry/node/esm/integrations/onunhandledrejection.d.ts.map new file mode 100644 index 000000000..4c9e3e81a --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/onunhandledrejection.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"onunhandledrejection.d.ts","sourceRoot":"","sources":["../../src/integrations/onunhandledrejection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAK5C,aAAK,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEzD,uCAAuC;AACvC,qBAAa,oBAAqB,YAAW,WAAW;IAepD,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAd3B;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAA0B;IAElD;;OAEG;IACI,IAAI,EAAE,MAAM,CAA2B;IAE9C;;OAEG;gBAEgB,QAAQ,GAAE;QACzB;;;WAGG;QACH,IAAI,EAAE,sBAAsB,CAAC;KACX;IAGtB;;OAEG;IACI,SAAS,IAAI,IAAI;IAIxB;;;;OAIG;IAEI,oBAAoB,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,IAAI;IAmC5D;;OAEG;IAEH,OAAO,CAAC,gBAAgB;CAuBzB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/onunhandledrejection.js b/node_modules/@sentry/node/esm/integrations/onunhandledrejection.js new file mode 100644 index 000000000..ad4fe6cc7 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/onunhandledrejection.js @@ -0,0 +1,90 @@ +import { getCurrentHub } from '@sentry/core'; +import { consoleSandbox } from '@sentry/utils'; +import { logAndExitProcess } from './utils/errorhandling'; +/** Global Promise Rejection handler */ +var OnUnhandledRejection = /** @class */ (function () { + /** + * @inheritDoc + */ + function OnUnhandledRejection(_options) { + if (_options === void 0) { _options = { mode: 'warn' }; } + this._options = _options; + /** + * @inheritDoc + */ + this.name = OnUnhandledRejection.id; + } + /** + * @inheritDoc + */ + OnUnhandledRejection.prototype.setupOnce = function () { + global.process.on('unhandledRejection', this.sendUnhandledPromise.bind(this)); + }; + /** + * Send an exception with reason + * @param reason string + * @param promise promise + */ + // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any + OnUnhandledRejection.prototype.sendUnhandledPromise = function (reason, promise) { + var hub = getCurrentHub(); + if (!hub.getIntegration(OnUnhandledRejection)) { + this._handleRejection(reason); + return; + } + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + var context = (promise.domain && promise.domain.sentryContext) || {}; + hub.withScope(function (scope) { + scope.setExtra('unhandledPromiseRejection', true); + // Preserve backwards compatibility with raven-node for now + if (context.user) { + scope.setUser(context.user); + } + if (context.tags) { + scope.setTags(context.tags); + } + if (context.extra) { + scope.setExtras(context.extra); + } + hub.captureException(reason, { + originalException: promise, + data: { mechanism: { handled: false, type: 'onunhandledrejection' } }, + }); + }); + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + this._handleRejection(reason); + }; + /** + * Handler for `mode` option + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + OnUnhandledRejection.prototype._handleRejection = function (reason) { + // https://github.com/nodejs/node/blob/7cf6f9e964aa00772965391c23acda6d71972a9a/lib/internal/process/promises.js#L234-L240 + var rejectionWarning = 'This error originated either by ' + + 'throwing inside of an async function without a catch block, ' + + 'or by rejecting a promise which was not handled with .catch().' + + ' The promise rejected with the reason:'; + /* eslint-disable no-console */ + if (this._options.mode === 'warn') { + consoleSandbox(function () { + console.warn(rejectionWarning); + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + console.error(reason && reason.stack ? reason.stack : reason); + }); + } + else if (this._options.mode === 'strict') { + consoleSandbox(function () { + console.warn(rejectionWarning); + }); + logAndExitProcess(reason); + } + /* eslint-enable no-console */ + }; + /** + * @inheritDoc + */ + OnUnhandledRejection.id = 'OnUnhandledRejection'; + return OnUnhandledRejection; +}()); +export { OnUnhandledRejection }; +//# sourceMappingURL=onunhandledrejection.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/onunhandledrejection.js.map b/node_modules/@sentry/node/esm/integrations/onunhandledrejection.js.map new file mode 100644 index 000000000..5403f34bd --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/onunhandledrejection.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onunhandledrejection.js","sourceRoot":"","sources":["../../src/integrations/onunhandledrejection.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, Scope } from '@sentry/core';\nimport { Integration } from '@sentry/types';\nimport { consoleSandbox } from '@sentry/utils';\n\nimport { logAndExitProcess } from './utils/errorhandling';\n\ntype UnhandledRejectionMode = 'none' | 'warn' | 'strict';\n\n/** Global Promise Rejection handler */\nexport class OnUnhandledRejection implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'OnUnhandledRejection';\n\n /**\n * @inheritDoc\n */\n public name: string = OnUnhandledRejection.id;\n\n /**\n * @inheritDoc\n */\n public constructor(\n private readonly _options: {\n /**\n * Option deciding what to do after capturing unhandledRejection,\n * that mimicks behavior of node's --unhandled-rejection flag.\n */\n mode: UnhandledRejectionMode;\n } = { mode: 'warn' },\n ) {}\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n global.process.on('unhandledRejection', this.sendUnhandledPromise.bind(this));\n }\n\n /**\n * Send an exception with reason\n * @param reason string\n * @param promise promise\n */\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any\n public sendUnhandledPromise(reason: any, promise: any): void {\n const hub = getCurrentHub();\n\n if (!hub.getIntegration(OnUnhandledRejection)) {\n this._handleRejection(reason);\n return;\n }\n\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n const context = (promise.domain && promise.domain.sentryContext) || {};\n\n hub.withScope((scope: Scope) => {\n scope.setExtra('unhandledPromiseRejection', true);\n\n // Preserve backwards compatibility with raven-node for now\n if (context.user) {\n scope.setUser(context.user);\n }\n if (context.tags) {\n scope.setTags(context.tags);\n }\n if (context.extra) {\n scope.setExtras(context.extra);\n }\n\n hub.captureException(reason, {\n originalException: promise,\n data: { mechanism: { handled: false, type: 'onunhandledrejection' } },\n });\n });\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n\n this._handleRejection(reason);\n }\n\n /**\n * Handler for `mode` option\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _handleRejection(reason: any): void {\n // https://github.com/nodejs/node/blob/7cf6f9e964aa00772965391c23acda6d71972a9a/lib/internal/process/promises.js#L234-L240\n const rejectionWarning =\n 'This error originated either by ' +\n 'throwing inside of an async function without a catch block, ' +\n 'or by rejecting a promise which was not handled with .catch().' +\n ' The promise rejected with the reason:';\n\n /* eslint-disable no-console */\n if (this._options.mode === 'warn') {\n consoleSandbox(() => {\n console.warn(rejectionWarning);\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n console.error(reason && reason.stack ? reason.stack : reason);\n });\n } else if (this._options.mode === 'strict') {\n consoleSandbox(() => {\n console.warn(rejectionWarning);\n });\n logAndExitProcess(reason);\n }\n /* eslint-enable no-console */\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/utils/errorhandling.d.ts b/node_modules/@sentry/node/esm/integrations/utils/errorhandling.d.ts new file mode 100644 index 000000000..0d7ac3f8a --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/utils/errorhandling.d.ts @@ -0,0 +1,5 @@ +/** + * @hidden + */ +export declare function logAndExitProcess(error: Error): void; +//# sourceMappingURL=errorhandling.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/utils/errorhandling.d.ts.map b/node_modules/@sentry/node/esm/integrations/utils/errorhandling.d.ts.map new file mode 100644 index 000000000..5be439b60 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/utils/errorhandling.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"errorhandling.d.ts","sourceRoot":"","sources":["../../../src/integrations/utils/errorhandling.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAuBpD"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/utils/errorhandling.js b/node_modules/@sentry/node/esm/integrations/utils/errorhandling.js new file mode 100644 index 000000000..988761314 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/utils/errorhandling.js @@ -0,0 +1,25 @@ +import { getCurrentHub } from '@sentry/core'; +import { forget, logger } from '@sentry/utils'; +var DEFAULT_SHUTDOWN_TIMEOUT = 2000; +/** + * @hidden + */ +export function logAndExitProcess(error) { + // eslint-disable-next-line no-console + console.error(error && error.stack ? error.stack : error); + var client = getCurrentHub().getClient(); + if (client === undefined) { + logger.warn('No NodeClient was defined, we are exiting the process now.'); + global.process.exit(1); + } + var options = client.getOptions(); + var timeout = (options && options.shutdownTimeout && options.shutdownTimeout > 0 && options.shutdownTimeout) || + DEFAULT_SHUTDOWN_TIMEOUT; + forget(client.close(timeout).then(function (result) { + if (!result) { + logger.warn('We reached the timeout for emptying the request buffer, still exiting now!'); + } + global.process.exit(1); + })); +} +//# sourceMappingURL=errorhandling.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/utils/errorhandling.js.map b/node_modules/@sentry/node/esm/integrations/utils/errorhandling.js.map new file mode 100644 index 000000000..17a759cbf --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/utils/errorhandling.js.map @@ -0,0 +1 @@ +{"version":3,"file":"errorhandling.js","sourceRoot":"","sources":["../../../src/integrations/utils/errorhandling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAI/C,IAAM,wBAAwB,GAAG,IAAI,CAAC;AAEtC;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAY;IAC5C,sCAAsC;IACtC,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAE1D,IAAM,MAAM,GAAG,aAAa,EAAE,CAAC,SAAS,EAAc,CAAC;IAEvD,IAAI,MAAM,KAAK,SAAS,EAAE;QACxB,MAAM,CAAC,IAAI,CAAC,4DAA4D,CAAC,CAAC;QAC1E,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACxB;IAED,IAAM,OAAO,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;IACpC,IAAM,OAAO,GACX,CAAC,OAAO,IAAI,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,eAAe,GAAG,CAAC,IAAI,OAAO,CAAC,eAAe,CAAC;QAC9F,wBAAwB,CAAC;IAC3B,MAAM,CACJ,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,UAAC,MAAe;QACzC,IAAI,CAAC,MAAM,EAAE;YACX,MAAM,CAAC,IAAI,CAAC,4EAA4E,CAAC,CAAC;SAC3F;QACD,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzB,CAAC,CAAC,CACH,CAAC;AACJ,CAAC","sourcesContent":["import { getCurrentHub } from '@sentry/core';\nimport { forget, logger } from '@sentry/utils';\n\nimport { NodeClient } from '../../client';\n\nconst DEFAULT_SHUTDOWN_TIMEOUT = 2000;\n\n/**\n * @hidden\n */\nexport function logAndExitProcess(error: Error): void {\n // eslint-disable-next-line no-console\n console.error(error && error.stack ? error.stack : error);\n\n const client = getCurrentHub().getClient();\n\n if (client === undefined) {\n logger.warn('No NodeClient was defined, we are exiting the process now.');\n global.process.exit(1);\n }\n\n const options = client.getOptions();\n const timeout =\n (options && options.shutdownTimeout && options.shutdownTimeout > 0 && options.shutdownTimeout) ||\n DEFAULT_SHUTDOWN_TIMEOUT;\n forget(\n client.close(timeout).then((result: boolean) => {\n if (!result) {\n logger.warn('We reached the timeout for emptying the request buffer, still exiting now!');\n }\n global.process.exit(1);\n }),\n );\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/utils/http.d.ts b/node_modules/@sentry/node/esm/integrations/utils/http.d.ts new file mode 100644 index 000000000..180ee0b2d --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/utils/http.d.ts @@ -0,0 +1,64 @@ +/// +import * as http from 'http'; +import * as https from 'https'; +import { URL } from 'url'; +/** + * Checks whether given url points to Sentry server + * @param url url to verify + */ +export declare function isSentryRequest(url: string): boolean; +/** + * Assemble a URL to be used for breadcrumbs and spans. + * + * @param requestOptions RequestOptions object containing the component parts for a URL + * @returns Fully-formed URL + */ +export declare function extractUrl(requestOptions: RequestOptions): string; +/** + * Handle various edge cases in the span description (for spans representing http(s) requests). + * + * @param description current `description` property of the span representing the request + * @param requestOptions Configuration data for the request + * @param Request Request object + * + * @returns The cleaned description + */ +export declare function cleanSpanDescription(description: string | undefined, requestOptions: RequestOptions, request: http.ClientRequest): string | undefined; +export declare type RequestOptions = http.RequestOptions & { + hash?: string; + search?: string; + pathname?: string; + href?: string; +}; +declare type RequestCallback = (response: http.IncomingMessage) => void; +export declare type RequestMethodArgs = [RequestOptions | string | URL, RequestCallback?] | [string | URL, RequestOptions, RequestCallback?]; +export declare type RequestMethod = (...args: RequestMethodArgs) => http.ClientRequest; +/** + * Convert a URL object into a RequestOptions object. + * + * Copied from Node's internals (where it's used in http(s).request() and http(s).get()), modified only to use the + * RequestOptions type above. + * + * See https://github.com/nodejs/node/blob/master/lib/internal/url.js. + */ +export declare function urlToOptions(url: URL): RequestOptions; +/** + * Normalize inputs to `http(s).request()` and `http(s).get()`. + * + * Legal inputs to `http(s).request()` and `http(s).get()` can take one of ten forms: + * [ RequestOptions | string | URL ], + * [ RequestOptions | string | URL, RequestCallback ], + * [ string | URL, RequestOptions ], and + * [ string | URL, RequestOptions, RequestCallback ]. + * + * This standardizes to one of two forms: [ RequestOptions ] and [ RequestOptions, RequestCallback ]. A similar thing is + * done as the first step of `http(s).request()` and `http(s).get()`; this just does it early so that we can interact + * with the args in a standard way. + * + * @param requestArgs The inputs to `http(s).request()` or `http(s).get()`, as an array. + * + * @returns Equivalent args of the form [ RequestOptions ] or [ RequestOptions, RequestCallback ]. + */ +export declare function normalizeRequestArgs(httpModule: typeof http | typeof https, requestArgs: RequestMethodArgs): [RequestOptions] | [RequestOptions, RequestCallback]; +export {}; +//# sourceMappingURL=http.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/utils/http.d.ts.map b/node_modules/@sentry/node/esm/integrations/utils/http.d.ts.map new file mode 100644 index 000000000..55372d14b --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/utils/http.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/integrations/utils/http.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAGpD;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CASjE;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,IAAI,CAAC,aAAa,GAC1B,MAAM,GAAG,SAAS,CAuBpB;AAGD,oBAAY,cAAc,GAAG,IAAI,CAAC,cAAc,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACxH,aAAK,eAAe,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,eAAe,KAAK,IAAI,CAAC;AAChE,oBAAY,iBAAiB,GACzB,CAAC,cAAc,GAAG,MAAM,GAAG,GAAG,EAAE,eAAe,CAAC,CAAC,GACjD,CAAC,MAAM,GAAG,GAAG,EAAE,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC;AACrD,oBAAY,aAAa,GAAG,CAAC,GAAG,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC,aAAa,CAAC;AAE/E;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,GAAG,GAAG,cAAc,CAkBrD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,IAAI,GAAG,OAAO,KAAK,EACtC,WAAW,EAAE,iBAAiB,GAC7B,CAAC,cAAc,CAAC,GAAG,CAAC,cAAc,EAAE,eAAe,CAAC,CAoDtD"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/utils/http.js b/node_modules/@sentry/node/esm/integrations/utils/http.js new file mode 100644 index 000000000..799d114c7 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/utils/http.js @@ -0,0 +1,150 @@ +import { __assign, __read } from "tslib"; +import { getCurrentHub } from '@sentry/core'; +import { parseSemver } from '@sentry/utils'; +import { URL } from 'url'; +var NODE_VERSION = parseSemver(process.versions.node); +/** + * Checks whether given url points to Sentry server + * @param url url to verify + */ +export function isSentryRequest(url) { + var _a; + var dsn = (_a = getCurrentHub().getClient()) === null || _a === void 0 ? void 0 : _a.getDsn(); + return dsn ? url.includes(dsn.host) : false; +} +/** + * Assemble a URL to be used for breadcrumbs and spans. + * + * @param requestOptions RequestOptions object containing the component parts for a URL + * @returns Fully-formed URL + */ +export function extractUrl(requestOptions) { + var protocol = requestOptions.protocol || ''; + var hostname = requestOptions.hostname || requestOptions.host || ''; + // Don't log standard :80 (http) and :443 (https) ports to reduce the noise + var port = !requestOptions.port || requestOptions.port === 80 || requestOptions.port === 443 ? '' : ":" + requestOptions.port; + var path = requestOptions.path ? requestOptions.path : '/'; + return protocol + "//" + hostname + port + path; +} +/** + * Handle various edge cases in the span description (for spans representing http(s) requests). + * + * @param description current `description` property of the span representing the request + * @param requestOptions Configuration data for the request + * @param Request Request object + * + * @returns The cleaned description + */ +export function cleanSpanDescription(description, requestOptions, request) { + var _a, _b, _c; + // nothing to clean + if (!description) { + return description; + } + // eslint-disable-next-line prefer-const + var _d = __read(description.split(' '), 2), method = _d[0], requestUrl = _d[1]; + // superagent sticks the protocol in a weird place (we check for host because if both host *and* protocol are missing, + // we're likely dealing with an internal route and this doesn't apply) + if (requestOptions.host && !requestOptions.protocol) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any + requestOptions.protocol = (_b = (_a = request) === null || _a === void 0 ? void 0 : _a.agent) === null || _b === void 0 ? void 0 : _b.protocol; // worst comes to worst, this is undefined and nothing changes + requestUrl = extractUrl(requestOptions); + } + // internal routes can end up starting with a triple slash rather than a single one + if ((_c = requestUrl) === null || _c === void 0 ? void 0 : _c.startsWith('///')) { + requestUrl = requestUrl.slice(2); + } + return method + " " + requestUrl; +} +/** + * Convert a URL object into a RequestOptions object. + * + * Copied from Node's internals (where it's used in http(s).request() and http(s).get()), modified only to use the + * RequestOptions type above. + * + * See https://github.com/nodejs/node/blob/master/lib/internal/url.js. + */ +export function urlToOptions(url) { + var options = { + protocol: url.protocol, + hostname: typeof url.hostname === 'string' && url.hostname.startsWith('[') ? url.hostname.slice(1, -1) : url.hostname, + hash: url.hash, + search: url.search, + pathname: url.pathname, + path: "" + (url.pathname || '') + (url.search || ''), + href: url.href, + }; + if (url.port !== '') { + options.port = Number(url.port); + } + if (url.username || url.password) { + options.auth = url.username + ":" + url.password; + } + return options; +} +/** + * Normalize inputs to `http(s).request()` and `http(s).get()`. + * + * Legal inputs to `http(s).request()` and `http(s).get()` can take one of ten forms: + * [ RequestOptions | string | URL ], + * [ RequestOptions | string | URL, RequestCallback ], + * [ string | URL, RequestOptions ], and + * [ string | URL, RequestOptions, RequestCallback ]. + * + * This standardizes to one of two forms: [ RequestOptions ] and [ RequestOptions, RequestCallback ]. A similar thing is + * done as the first step of `http(s).request()` and `http(s).get()`; this just does it early so that we can interact + * with the args in a standard way. + * + * @param requestArgs The inputs to `http(s).request()` or `http(s).get()`, as an array. + * + * @returns Equivalent args of the form [ RequestOptions ] or [ RequestOptions, RequestCallback ]. + */ +export function normalizeRequestArgs(httpModule, requestArgs) { + var _a, _b, _c, _d, _e, _f, _g, _h; + var callback, requestOptions; + // pop off the callback, if there is one + if (typeof requestArgs[requestArgs.length - 1] === 'function') { + callback = requestArgs.pop(); + } + // create a RequestOptions object of whatever's at index 0 + if (typeof requestArgs[0] === 'string') { + requestOptions = urlToOptions(new URL(requestArgs[0])); + } + else if (requestArgs[0] instanceof URL) { + requestOptions = urlToOptions(requestArgs[0]); + } + else { + requestOptions = requestArgs[0]; + } + // if the options were given separately from the URL, fold them in + if (requestArgs.length === 2) { + requestOptions = __assign(__assign({}, requestOptions), requestArgs[1]); + } + // Figure out the protocol if it's currently missing + if (requestOptions.protocol === undefined) { + // Worst case we end up populating protocol with undefined, which it already is + /* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */ + // NOTE: Prior to Node 9, `https` used internals of `http` module, thus we don't patch it. + // Because of that, we cannot rely on `httpModule` to provide us with valid protocol, + // as it will always return `http`, even when using `https` module. + // + // See test/integrations/http.test.ts for more details on Node <=v8 protocol issue. + if (NODE_VERSION.major && NODE_VERSION.major > 8) { + requestOptions.protocol = + ((_b = (_a = httpModule) === null || _a === void 0 ? void 0 : _a.globalAgent) === null || _b === void 0 ? void 0 : _b.protocol) || ((_c = requestOptions.agent) === null || _c === void 0 ? void 0 : _c.protocol) || ((_d = requestOptions._defaultAgent) === null || _d === void 0 ? void 0 : _d.protocol); + } + else { + requestOptions.protocol = + ((_e = requestOptions.agent) === null || _e === void 0 ? void 0 : _e.protocol) || ((_f = requestOptions._defaultAgent) === null || _f === void 0 ? void 0 : _f.protocol) || ((_h = (_g = httpModule) === null || _g === void 0 ? void 0 : _g.globalAgent) === null || _h === void 0 ? void 0 : _h.protocol); + } + /* eslint-enable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */ + } + // return args in standardized form + if (callback) { + return [requestOptions, callback]; + } + else { + return [requestOptions]; + } +} +//# sourceMappingURL=http.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/integrations/utils/http.js.map b/node_modules/@sentry/node/esm/integrations/utils/http.js.map new file mode 100644 index 000000000..0a8d2e111 --- /dev/null +++ b/node_modules/@sentry/node/esm/integrations/utils/http.js.map @@ -0,0 +1 @@ +{"version":3,"file":"http.js","sourceRoot":"","sources":["../../../src/integrations/utils/http.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub } from '@sentry/core';\nimport { parseSemver } from '@sentry/utils';\nimport * as http from 'http';\nimport * as https from 'https';\nimport { URL } from 'url';\n\nconst NODE_VERSION = parseSemver(process.versions.node);\n\n/**\n * Checks whether given url points to Sentry server\n * @param url url to verify\n */\nexport function isSentryRequest(url: string): boolean {\n const dsn = getCurrentHub().getClient()?.getDsn();\n return dsn ? url.includes(dsn.host) : false;\n}\n\n/**\n * Assemble a URL to be used for breadcrumbs and spans.\n *\n * @param requestOptions RequestOptions object containing the component parts for a URL\n * @returns Fully-formed URL\n */\nexport function extractUrl(requestOptions: RequestOptions): string {\n const protocol = requestOptions.protocol || '';\n const hostname = requestOptions.hostname || requestOptions.host || '';\n // Don't log standard :80 (http) and :443 (https) ports to reduce the noise\n const port =\n !requestOptions.port || requestOptions.port === 80 || requestOptions.port === 443 ? '' : `:${requestOptions.port}`;\n const path = requestOptions.path ? requestOptions.path : '/';\n\n return `${protocol}//${hostname}${port}${path}`;\n}\n\n/**\n * Handle various edge cases in the span description (for spans representing http(s) requests).\n *\n * @param description current `description` property of the span representing the request\n * @param requestOptions Configuration data for the request\n * @param Request Request object\n *\n * @returns The cleaned description\n */\nexport function cleanSpanDescription(\n description: string | undefined,\n requestOptions: RequestOptions,\n request: http.ClientRequest,\n): string | undefined {\n // nothing to clean\n if (!description) {\n return description;\n }\n\n // eslint-disable-next-line prefer-const\n let [method, requestUrl] = description.split(' ');\n\n // superagent sticks the protocol in a weird place (we check for host because if both host *and* protocol are missing,\n // we're likely dealing with an internal route and this doesn't apply)\n if (requestOptions.host && !requestOptions.protocol) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n requestOptions.protocol = (request as any)?.agent?.protocol; // worst comes to worst, this is undefined and nothing changes\n requestUrl = extractUrl(requestOptions);\n }\n\n // internal routes can end up starting with a triple slash rather than a single one\n if (requestUrl?.startsWith('///')) {\n requestUrl = requestUrl.slice(2);\n }\n\n return `${method} ${requestUrl}`;\n}\n\n// the node types are missing a few properties which node's `urlToOptions` function spits out\nexport type RequestOptions = http.RequestOptions & { hash?: string; search?: string; pathname?: string; href?: string };\ntype RequestCallback = (response: http.IncomingMessage) => void;\nexport type RequestMethodArgs =\n | [RequestOptions | string | URL, RequestCallback?]\n | [string | URL, RequestOptions, RequestCallback?];\nexport type RequestMethod = (...args: RequestMethodArgs) => http.ClientRequest;\n\n/**\n * Convert a URL object into a RequestOptions object.\n *\n * Copied from Node's internals (where it's used in http(s).request() and http(s).get()), modified only to use the\n * RequestOptions type above.\n *\n * See https://github.com/nodejs/node/blob/master/lib/internal/url.js.\n */\nexport function urlToOptions(url: URL): RequestOptions {\n const options: RequestOptions = {\n protocol: url.protocol,\n hostname:\n typeof url.hostname === 'string' && url.hostname.startsWith('[') ? url.hostname.slice(1, -1) : url.hostname,\n hash: url.hash,\n search: url.search,\n pathname: url.pathname,\n path: `${url.pathname || ''}${url.search || ''}`,\n href: url.href,\n };\n if (url.port !== '') {\n options.port = Number(url.port);\n }\n if (url.username || url.password) {\n options.auth = `${url.username}:${url.password}`;\n }\n return options;\n}\n\n/**\n * Normalize inputs to `http(s).request()` and `http(s).get()`.\n *\n * Legal inputs to `http(s).request()` and `http(s).get()` can take one of ten forms:\n * [ RequestOptions | string | URL ],\n * [ RequestOptions | string | URL, RequestCallback ],\n * [ string | URL, RequestOptions ], and\n * [ string | URL, RequestOptions, RequestCallback ].\n *\n * This standardizes to one of two forms: [ RequestOptions ] and [ RequestOptions, RequestCallback ]. A similar thing is\n * done as the first step of `http(s).request()` and `http(s).get()`; this just does it early so that we can interact\n * with the args in a standard way.\n *\n * @param requestArgs The inputs to `http(s).request()` or `http(s).get()`, as an array.\n *\n * @returns Equivalent args of the form [ RequestOptions ] or [ RequestOptions, RequestCallback ].\n */\nexport function normalizeRequestArgs(\n httpModule: typeof http | typeof https,\n requestArgs: RequestMethodArgs,\n): [RequestOptions] | [RequestOptions, RequestCallback] {\n let callback, requestOptions;\n\n // pop off the callback, if there is one\n if (typeof requestArgs[requestArgs.length - 1] === 'function') {\n callback = requestArgs.pop() as RequestCallback;\n }\n\n // create a RequestOptions object of whatever's at index 0\n if (typeof requestArgs[0] === 'string') {\n requestOptions = urlToOptions(new URL(requestArgs[0]));\n } else if (requestArgs[0] instanceof URL) {\n requestOptions = urlToOptions(requestArgs[0]);\n } else {\n requestOptions = requestArgs[0];\n }\n\n // if the options were given separately from the URL, fold them in\n if (requestArgs.length === 2) {\n requestOptions = { ...requestOptions, ...requestArgs[1] };\n }\n\n // Figure out the protocol if it's currently missing\n if (requestOptions.protocol === undefined) {\n // Worst case we end up populating protocol with undefined, which it already is\n /* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */\n\n // NOTE: Prior to Node 9, `https` used internals of `http` module, thus we don't patch it.\n // Because of that, we cannot rely on `httpModule` to provide us with valid protocol,\n // as it will always return `http`, even when using `https` module.\n //\n // See test/integrations/http.test.ts for more details on Node <=v8 protocol issue.\n if (NODE_VERSION.major && NODE_VERSION.major > 8) {\n requestOptions.protocol =\n (httpModule?.globalAgent as any)?.protocol ||\n (requestOptions.agent as any)?.protocol ||\n (requestOptions._defaultAgent as any)?.protocol;\n } else {\n requestOptions.protocol =\n (requestOptions.agent as any)?.protocol ||\n (requestOptions._defaultAgent as any)?.protocol ||\n (httpModule?.globalAgent as any)?.protocol;\n }\n /* eslint-enable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */\n }\n\n // return args in standardized form\n if (callback) {\n return [requestOptions, callback];\n } else {\n return [requestOptions];\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/parsers.d.ts b/node_modules/@sentry/node/esm/parsers.d.ts new file mode 100644 index 000000000..cb1ef10f5 --- /dev/null +++ b/node_modules/@sentry/node/esm/parsers.d.ts @@ -0,0 +1,29 @@ +import { Event, Exception, ExtendedError, StackFrame } from '@sentry/types'; +import * as stacktrace from './stacktrace'; +import { NodeOptions } from './types'; +/** + * Resets the file cache. Exists for testing purposes. + * @hidden + */ +export declare function resetFileContentCache(): void; +/** + * @hidden + */ +export declare function extractStackFromError(error: Error): stacktrace.StackFrame[]; +/** + * @hidden + */ +export declare function parseStack(stack: stacktrace.StackFrame[], options?: NodeOptions): PromiseLike; +/** + * @hidden + */ +export declare function getExceptionFromError(error: Error, options?: NodeOptions): PromiseLike; +/** + * @hidden + */ +export declare function parseError(error: ExtendedError, options?: NodeOptions): PromiseLike; +/** + * @hidden + */ +export declare function prepareFramesForEvent(stack: StackFrame[]): StackFrame[]; +//# sourceMappingURL=parsers.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/parsers.d.ts.map b/node_modules/@sentry/node/esm/parsers.d.ts.map new file mode 100644 index 000000000..ef5377919 --- /dev/null +++ b/node_modules/@sentry/node/esm/parsers.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../src/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK5E,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAKtC;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AA2GD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,GAAG,UAAU,CAAC,UAAU,EAAE,CAM3E;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,EAAE,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,UAAU,EAAE,CAAC,CAmD3G;AAkCD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC,CAejG;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,CAU1F;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,CAcvE"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/parsers.js b/node_modules/@sentry/node/esm/parsers.js new file mode 100644 index 000000000..cc12e3a2b --- /dev/null +++ b/node_modules/@sentry/node/esm/parsers.js @@ -0,0 +1,237 @@ +import { addContextToFrame, basename, dirname, resolvedSyncPromise, SyncPromise } from '@sentry/utils'; +import { readFile } from 'fs'; +import { LRUMap } from 'lru_map'; +import * as stacktrace from './stacktrace'; +var DEFAULT_LINES_OF_CONTEXT = 7; +var FILE_CONTENT_CACHE = new LRUMap(100); +/** + * Resets the file cache. Exists for testing purposes. + * @hidden + */ +export function resetFileContentCache() { + FILE_CONTENT_CACHE.clear(); +} +/** JSDoc */ +function getFunction(frame) { + try { + return frame.functionName || frame.typeName + "." + (frame.methodName || ''); + } + catch (e) { + // This seems to happen sometimes when using 'use strict', + // stemming from `getTypeName`. + // [TypeError: Cannot read property 'constructor' of undefined] + return ''; + } +} +var mainModule = ((require.main && require.main.filename && dirname(require.main.filename)) || global.process.cwd()) + "/"; +/** JSDoc */ +function getModule(filename, base) { + if (!base) { + // eslint-disable-next-line no-param-reassign + base = mainModule; + } + // It's specifically a module + var file = basename(filename, '.js'); + // eslint-disable-next-line no-param-reassign + filename = dirname(filename); + var n = filename.lastIndexOf('/node_modules/'); + if (n > -1) { + // /node_modules/ is 14 chars + return filename.substr(n + 14).replace(/\//g, '.') + ":" + file; + } + // Let's see if it's a part of the main module + // To be a part of main module, it has to share the same base + n = (filename + "/").lastIndexOf(base, 0); + if (n === 0) { + var moduleName = filename.substr(base.length).replace(/\//g, '.'); + if (moduleName) { + moduleName += ':'; + } + moduleName += file; + return moduleName; + } + return file; +} +/** + * This function reads file contents and caches them in a global LRU cache. + * Returns a Promise filepath => content array for all files that we were able to read. + * + * @param filenames Array of filepaths to read content from. + */ +function readSourceFiles(filenames) { + // we're relying on filenames being de-duped already + if (filenames.length === 0) { + return resolvedSyncPromise({}); + } + return new SyncPromise(function (resolve) { + var sourceFiles = {}; + var count = 0; + var _loop_1 = function (i) { + var filename = filenames[i]; + var cache = FILE_CONTENT_CACHE.get(filename); + // We have a cache hit + if (cache !== undefined) { + // If it's not null (which means we found a file and have a content) + // we set the content and return it later. + if (cache !== null) { + sourceFiles[filename] = cache; + } + // eslint-disable-next-line no-plusplus + count++; + // In any case we want to skip here then since we have a content already or we couldn't + // read the file and don't want to try again. + if (count === filenames.length) { + resolve(sourceFiles); + } + return "continue"; + } + readFile(filename, function (err, data) { + var content = err ? null : data.toString(); + sourceFiles[filename] = content; + // We always want to set the cache, even to null which means there was an error reading the file. + // We do not want to try to read the file again. + FILE_CONTENT_CACHE.set(filename, content); + // eslint-disable-next-line no-plusplus + count++; + if (count === filenames.length) { + resolve(sourceFiles); + } + }); + }; + // eslint-disable-next-line @typescript-eslint/prefer-for-of + for (var i = 0; i < filenames.length; i++) { + _loop_1(i); + } + }); +} +/** + * @hidden + */ +export function extractStackFromError(error) { + var stack = stacktrace.parse(error); + if (!stack) { + return []; + } + return stack; +} +/** + * @hidden + */ +export function parseStack(stack, options) { + var filesToRead = []; + var linesOfContext = options && options.frameContextLines !== undefined ? options.frameContextLines : DEFAULT_LINES_OF_CONTEXT; + var frames = stack.map(function (frame) { + var _a; + var parsedFrame = { + colno: frame.columnNumber, + filename: ((_a = frame.fileName) === null || _a === void 0 ? void 0 : _a.startsWith('file://')) ? frame.fileName.substr(7) : frame.fileName || '', + function: getFunction(frame), + lineno: frame.lineNumber, + }; + var isInternal = frame.native || + (parsedFrame.filename && + !parsedFrame.filename.startsWith('/') && + !parsedFrame.filename.startsWith('.') && + parsedFrame.filename.indexOf(':\\') !== 1); + // in_app is all that's not an internal Node function or a module within node_modules + // note that isNative appears to return true even for node core libraries + // see https://github.com/getsentry/raven-node/issues/176 + parsedFrame.in_app = + !isInternal && parsedFrame.filename !== undefined && parsedFrame.filename.indexOf('node_modules/') === -1; + // Extract a module name based on the filename + if (parsedFrame.filename) { + parsedFrame.module = getModule(parsedFrame.filename); + if (!isInternal && linesOfContext > 0 && filesToRead.indexOf(parsedFrame.filename) === -1) { + filesToRead.push(parsedFrame.filename); + } + } + return parsedFrame; + }); + // We do an early return if we do not want to fetch context liens + if (linesOfContext <= 0) { + return resolvedSyncPromise(frames); + } + try { + return addPrePostContext(filesToRead, frames, linesOfContext); + } + catch (_) { + // This happens in electron for example where we are not able to read files from asar. + // So it's fine, we recover be just returning all frames without pre/post context. + return resolvedSyncPromise(frames); + } +} +/** + * This function tries to read the source files + adding pre and post context (source code) + * to a frame. + * @param filesToRead string[] of filepaths + * @param frames StackFrame[] containg all frames + */ +function addPrePostContext(filesToRead, frames, linesOfContext) { + return new SyncPromise(function (resolve) { + return readSourceFiles(filesToRead).then(function (sourceFiles) { + var result = frames.map(function (frame) { + if (frame.filename && sourceFiles[frame.filename]) { + try { + var lines = sourceFiles[frame.filename].split('\n'); + addContextToFrame(lines, frame, linesOfContext); + } + catch (e) { + // anomaly, being defensive in case + // unlikely to ever happen in practice but can definitely happen in theory + } + } + return frame; + }); + resolve(result); + }); + }); +} +/** + * @hidden + */ +export function getExceptionFromError(error, options) { + var name = error.name || error.constructor.name; + var stack = extractStackFromError(error); + return new SyncPromise(function (resolve) { + return parseStack(stack, options).then(function (frames) { + var result = { + stacktrace: { + frames: prepareFramesForEvent(frames), + }, + type: name, + value: error.message, + }; + resolve(result); + }); + }); +} +/** + * @hidden + */ +export function parseError(error, options) { + return new SyncPromise(function (resolve) { + return getExceptionFromError(error, options).then(function (exception) { + resolve({ + exception: { + values: [exception], + }, + }); + }); + }); +} +/** + * @hidden + */ +export function prepareFramesForEvent(stack) { + if (!stack || !stack.length) { + return []; + } + var localStack = stack; + var firstFrameFunction = localStack[0].function || ''; + if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) { + localStack = localStack.slice(1); + } + // The frame where the crash happened, should be the last entry in the array + return localStack.reverse(); +} +//# sourceMappingURL=parsers.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/parsers.js.map b/node_modules/@sentry/node/esm/parsers.js.map new file mode 100644 index 000000000..af98e6737 --- /dev/null +++ b/node_modules/@sentry/node/esm/parsers.js.map @@ -0,0 +1 @@ +{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../src/parsers.ts"],"names":[],"mappings":"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","sourcesContent":["import { Event, Exception, ExtendedError, StackFrame } from '@sentry/types';\nimport { addContextToFrame, basename, dirname, resolvedSyncPromise, SyncPromise } from '@sentry/utils';\nimport { readFile } from 'fs';\nimport { LRUMap } from 'lru_map';\n\nimport * as stacktrace from './stacktrace';\nimport { NodeOptions } from './types';\n\nconst DEFAULT_LINES_OF_CONTEXT: number = 7;\nconst FILE_CONTENT_CACHE = new LRUMap(100);\n\n/**\n * Resets the file cache. Exists for testing purposes.\n * @hidden\n */\nexport function resetFileContentCache(): void {\n FILE_CONTENT_CACHE.clear();\n}\n\n/** JSDoc */\nfunction getFunction(frame: stacktrace.StackFrame): string {\n try {\n return frame.functionName || `${frame.typeName}.${frame.methodName || ''}`;\n } catch (e) {\n // This seems to happen sometimes when using 'use strict',\n // stemming from `getTypeName`.\n // [TypeError: Cannot read property 'constructor' of undefined]\n return '';\n }\n}\n\nconst mainModule: string = `${\n (require.main && require.main.filename && dirname(require.main.filename)) || global.process.cwd()\n}/`;\n\n/** JSDoc */\nfunction getModule(filename: string, base?: string): string {\n if (!base) {\n // eslint-disable-next-line no-param-reassign\n base = mainModule;\n }\n\n // It's specifically a module\n const file = basename(filename, '.js');\n // eslint-disable-next-line no-param-reassign\n filename = dirname(filename);\n let n = filename.lastIndexOf('/node_modules/');\n if (n > -1) {\n // /node_modules/ is 14 chars\n return `${filename.substr(n + 14).replace(/\\//g, '.')}:${file}`;\n }\n // Let's see if it's a part of the main module\n // To be a part of main module, it has to share the same base\n n = `${filename}/`.lastIndexOf(base, 0);\n if (n === 0) {\n let moduleName = filename.substr(base.length).replace(/\\//g, '.');\n if (moduleName) {\n moduleName += ':';\n }\n moduleName += file;\n return moduleName;\n }\n return file;\n}\n\n/**\n * This function reads file contents and caches them in a global LRU cache.\n * Returns a Promise filepath => content array for all files that we were able to read.\n *\n * @param filenames Array of filepaths to read content from.\n */\nfunction readSourceFiles(filenames: string[]): PromiseLike<{ [key: string]: string | null }> {\n // we're relying on filenames being de-duped already\n if (filenames.length === 0) {\n return resolvedSyncPromise({});\n }\n\n return new SyncPromise<{\n [key: string]: string | null;\n }>(resolve => {\n const sourceFiles: {\n [key: string]: string | null;\n } = {};\n\n let count = 0;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < filenames.length; i++) {\n const filename = filenames[i];\n\n const cache = FILE_CONTENT_CACHE.get(filename);\n // We have a cache hit\n if (cache !== undefined) {\n // If it's not null (which means we found a file and have a content)\n // we set the content and return it later.\n if (cache !== null) {\n sourceFiles[filename] = cache;\n }\n // eslint-disable-next-line no-plusplus\n count++;\n // In any case we want to skip here then since we have a content already or we couldn't\n // read the file and don't want to try again.\n if (count === filenames.length) {\n resolve(sourceFiles);\n }\n continue;\n }\n\n readFile(filename, (err: Error | null, data: Buffer) => {\n const content = err ? null : data.toString();\n sourceFiles[filename] = content;\n\n // We always want to set the cache, even to null which means there was an error reading the file.\n // We do not want to try to read the file again.\n FILE_CONTENT_CACHE.set(filename, content);\n // eslint-disable-next-line no-plusplus\n count++;\n if (count === filenames.length) {\n resolve(sourceFiles);\n }\n });\n }\n });\n}\n\n/**\n * @hidden\n */\nexport function extractStackFromError(error: Error): stacktrace.StackFrame[] {\n const stack = stacktrace.parse(error);\n if (!stack) {\n return [];\n }\n return stack;\n}\n\n/**\n * @hidden\n */\nexport function parseStack(stack: stacktrace.StackFrame[], options?: NodeOptions): PromiseLike {\n const filesToRead: string[] = [];\n\n const linesOfContext =\n options && options.frameContextLines !== undefined ? options.frameContextLines : DEFAULT_LINES_OF_CONTEXT;\n\n const frames: StackFrame[] = stack.map(frame => {\n const parsedFrame: StackFrame = {\n colno: frame.columnNumber,\n filename: frame.fileName?.startsWith('file://') ? frame.fileName.substr(7) : frame.fileName || '',\n function: getFunction(frame),\n lineno: frame.lineNumber,\n };\n\n const isInternal =\n frame.native ||\n (parsedFrame.filename &&\n !parsedFrame.filename.startsWith('/') &&\n !parsedFrame.filename.startsWith('.') &&\n parsedFrame.filename.indexOf(':\\\\') !== 1);\n\n // in_app is all that's not an internal Node function or a module within node_modules\n // note that isNative appears to return true even for node core libraries\n // see https://github.com/getsentry/raven-node/issues/176\n parsedFrame.in_app =\n !isInternal && parsedFrame.filename !== undefined && parsedFrame.filename.indexOf('node_modules/') === -1;\n\n // Extract a module name based on the filename\n if (parsedFrame.filename) {\n parsedFrame.module = getModule(parsedFrame.filename);\n\n if (!isInternal && linesOfContext > 0 && filesToRead.indexOf(parsedFrame.filename) === -1) {\n filesToRead.push(parsedFrame.filename);\n }\n }\n\n return parsedFrame;\n });\n\n // We do an early return if we do not want to fetch context liens\n if (linesOfContext <= 0) {\n return resolvedSyncPromise(frames);\n }\n\n try {\n return addPrePostContext(filesToRead, frames, linesOfContext);\n } catch (_) {\n // This happens in electron for example where we are not able to read files from asar.\n // So it's fine, we recover be just returning all frames without pre/post context.\n return resolvedSyncPromise(frames);\n }\n}\n\n/**\n * This function tries to read the source files + adding pre and post context (source code)\n * to a frame.\n * @param filesToRead string[] of filepaths\n * @param frames StackFrame[] containg all frames\n */\nfunction addPrePostContext(\n filesToRead: string[],\n frames: StackFrame[],\n linesOfContext: number,\n): PromiseLike {\n return new SyncPromise(resolve =>\n readSourceFiles(filesToRead).then(sourceFiles => {\n const result = frames.map(frame => {\n if (frame.filename && sourceFiles[frame.filename]) {\n try {\n const lines = (sourceFiles[frame.filename] as string).split('\\n');\n\n addContextToFrame(lines, frame, linesOfContext);\n } catch (e) {\n // anomaly, being defensive in case\n // unlikely to ever happen in practice but can definitely happen in theory\n }\n }\n return frame;\n });\n\n resolve(result);\n }),\n );\n}\n\n/**\n * @hidden\n */\nexport function getExceptionFromError(error: Error, options?: NodeOptions): PromiseLike {\n const name = error.name || error.constructor.name;\n const stack = extractStackFromError(error);\n return new SyncPromise(resolve =>\n parseStack(stack, options).then(frames => {\n const result = {\n stacktrace: {\n frames: prepareFramesForEvent(frames),\n },\n type: name,\n value: error.message,\n };\n resolve(result);\n }),\n );\n}\n\n/**\n * @hidden\n */\nexport function parseError(error: ExtendedError, options?: NodeOptions): PromiseLike {\n return new SyncPromise(resolve =>\n getExceptionFromError(error, options).then((exception: Exception) => {\n resolve({\n exception: {\n values: [exception],\n },\n });\n }),\n );\n}\n\n/**\n * @hidden\n */\nexport function prepareFramesForEvent(stack: StackFrame[]): StackFrame[] {\n if (!stack || !stack.length) {\n return [];\n }\n\n let localStack = stack;\n const firstFrameFunction = localStack[0].function || '';\n\n if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) {\n localStack = localStack.slice(1);\n }\n\n // The frame where the crash happened, should be the last entry in the array\n return localStack.reverse();\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/sdk.d.ts b/node_modules/@sentry/node/esm/sdk.d.ts new file mode 100644 index 000000000..729e6d567 --- /dev/null +++ b/node_modules/@sentry/node/esm/sdk.d.ts @@ -0,0 +1,94 @@ +import { Integrations as CoreIntegrations } from '@sentry/core'; +import { NodeClient } from './client'; +import { Console, Http, LinkedErrors, OnUncaughtException, OnUnhandledRejection } from './integrations'; +import { NodeOptions } from './types'; +export declare const defaultIntegrations: (CoreIntegrations.FunctionToString | CoreIntegrations.InboundFilters | Console | Http | OnUncaughtException | OnUnhandledRejection | LinkedErrors)[]; +/** + * The Sentry Node SDK Client. + * + * To use this SDK, call the {@link init} function as early as possible in the + * main entry module. To set context information or send manual events, use the + * provided methods. + * + * @example + * ``` + * + * const { init } = require('@sentry/node'); + * + * init({ + * dsn: '__DSN__', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * const { configureScope } = require('@sentry/node'); + * configureScope((scope: Scope) => { + * scope.setExtra({ battery: 0.7 }); + * scope.setTag({ user_mode: 'admin' }); + * scope.setUser({ id: '4711' }); + * }); + * ``` + * + * @example + * ``` + * + * const { addBreadcrumb } = require('@sentry/node'); + * addBreadcrumb({ + * message: 'My Breadcrumb', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * const Sentry = require('@sentry/node'); + * Sentry.captureMessage('Hello, world!'); + * Sentry.captureException(new Error('Good bye')); + * Sentry.captureEvent({ + * message: 'Manual', + * stacktrace: [ + * // ... + * ], + * }); + * ``` + * + * @see {@link NodeOptions} for documentation on configuration options. + */ +export declare function init(options?: NodeOptions): void; +/** + * This is the getter for lastEventId. + * + * @returns The last event id of a captured event. + */ +export declare function lastEventId(): string | undefined; +/** + * Call `flush()` on the current client, if there is one. See {@link Client.flush}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause + * the client to wait until all events are sent before resolving the promise. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ +export declare function flush(timeout?: number): Promise; +/** + * Call `close()` on the current client, if there is one. See {@link Client.close}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this + * parameter will cause the client to wait until all events are sent before disabling itself. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ +export declare function close(timeout?: number): Promise; +/** + * Function that takes an instance of NodeClient and checks if autoSessionTracking option is enabled for that client + */ +export declare function isAutoSessionTrackingEnabled(client?: NodeClient): boolean; +/** + * Returns a release dynamically from environment variables. + */ +export declare function getSentryRelease(fallback?: string): string | undefined; +//# sourceMappingURL=sdk.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/sdk.d.ts.map b/node_modules/@sentry/node/esm/sdk.d.ts.map new file mode 100644 index 000000000..216135dc9 --- /dev/null +++ b/node_modules/@sentry/node/esm/sdk.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,YAAY,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAM5F,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACxG,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,mBAAmB,sJAY/B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAE,WAAgB,GAAG,IAAI,CAmDpD;AAED;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,MAAM,GAAG,SAAS,CAEhD;AAED;;;;;;;GAOG;AACH,wBAAsB,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAO9D;AAED;;;;;;;GAOG;AACH,wBAAsB,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAO9D;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,CAAC,EAAE,UAAU,GAAG,OAAO,CASzE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CA4BtE"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/sdk.js b/node_modules/@sentry/node/esm/sdk.js new file mode 100644 index 000000000..4d0c04226 --- /dev/null +++ b/node_modules/@sentry/node/esm/sdk.js @@ -0,0 +1,233 @@ +import { __awaiter, __generator, __read, __spread } from "tslib"; +import { getCurrentHub, initAndBind, Integrations as CoreIntegrations } from '@sentry/core'; +import { getMainCarrier, setHubOnCarrier } from '@sentry/hub'; +import { getGlobalObject, logger } from '@sentry/utils'; +import * as domain from 'domain'; +import { NodeClient } from './client'; +import { Console, Http, LinkedErrors, OnUncaughtException, OnUnhandledRejection } from './integrations'; +export var defaultIntegrations = [ + // Common + new CoreIntegrations.InboundFilters(), + new CoreIntegrations.FunctionToString(), + // Native Wrappers + new Console(), + new Http(), + // Global Handlers + new OnUncaughtException(), + new OnUnhandledRejection(), + // Misc + new LinkedErrors(), +]; +/** + * The Sentry Node SDK Client. + * + * To use this SDK, call the {@link init} function as early as possible in the + * main entry module. To set context information or send manual events, use the + * provided methods. + * + * @example + * ``` + * + * const { init } = require('@sentry/node'); + * + * init({ + * dsn: '__DSN__', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * const { configureScope } = require('@sentry/node'); + * configureScope((scope: Scope) => { + * scope.setExtra({ battery: 0.7 }); + * scope.setTag({ user_mode: 'admin' }); + * scope.setUser({ id: '4711' }); + * }); + * ``` + * + * @example + * ``` + * + * const { addBreadcrumb } = require('@sentry/node'); + * addBreadcrumb({ + * message: 'My Breadcrumb', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * const Sentry = require('@sentry/node'); + * Sentry.captureMessage('Hello, world!'); + * Sentry.captureException(new Error('Good bye')); + * Sentry.captureEvent({ + * message: 'Manual', + * stacktrace: [ + * // ... + * ], + * }); + * ``` + * + * @see {@link NodeOptions} for documentation on configuration options. + */ +export function init(options) { + if (options === void 0) { options = {}; } + var _a; + var carrier = getMainCarrier(); + var autoloadedIntegrations = ((_a = carrier.__SENTRY__) === null || _a === void 0 ? void 0 : _a.integrations) || []; + options.defaultIntegrations = + options.defaultIntegrations === false + ? [] + : __spread((Array.isArray(options.defaultIntegrations) ? options.defaultIntegrations : defaultIntegrations), autoloadedIntegrations); + if (options.dsn === undefined && process.env.SENTRY_DSN) { + options.dsn = process.env.SENTRY_DSN; + } + if (options.tracesSampleRate === undefined && process.env.SENTRY_TRACES_SAMPLE_RATE) { + var tracesSampleRate = parseFloat(process.env.SENTRY_TRACES_SAMPLE_RATE); + if (isFinite(tracesSampleRate)) { + options.tracesSampleRate = tracesSampleRate; + } + } + if (options.release === undefined) { + var detectedRelease = getSentryRelease(); + if (detectedRelease !== undefined) { + options.release = detectedRelease; + } + else { + // If release is not provided, then we should disable autoSessionTracking + options.autoSessionTracking = false; + } + } + if (options.environment === undefined && process.env.SENTRY_ENVIRONMENT) { + options.environment = process.env.SENTRY_ENVIRONMENT; + } + if (options.autoSessionTracking === undefined && options.dsn !== undefined) { + options.autoSessionTracking = true; + } + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any + if (domain.active) { + setHubOnCarrier(carrier, getCurrentHub()); + } + initAndBind(NodeClient, options); + if (options.autoSessionTracking) { + startSessionTracking(); + } +} +/** + * This is the getter for lastEventId. + * + * @returns The last event id of a captured event. + */ +export function lastEventId() { + return getCurrentHub().lastEventId(); +} +/** + * Call `flush()` on the current client, if there is one. See {@link Client.flush}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause + * the client to wait until all events are sent before resolving the promise. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ +export function flush(timeout) { + return __awaiter(this, void 0, void 0, function () { + var client; + return __generator(this, function (_a) { + client = getCurrentHub().getClient(); + if (client) { + return [2 /*return*/, client.flush(timeout)]; + } + logger.warn('Cannot flush events. No client defined.'); + return [2 /*return*/, Promise.resolve(false)]; + }); + }); +} +/** + * Call `close()` on the current client, if there is one. See {@link Client.close}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this + * parameter will cause the client to wait until all events are sent before disabling itself. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ +export function close(timeout) { + return __awaiter(this, void 0, void 0, function () { + var client; + return __generator(this, function (_a) { + client = getCurrentHub().getClient(); + if (client) { + return [2 /*return*/, client.close(timeout)]; + } + logger.warn('Cannot flush events and disable SDK. No client defined.'); + return [2 /*return*/, Promise.resolve(false)]; + }); + }); +} +/** + * Function that takes an instance of NodeClient and checks if autoSessionTracking option is enabled for that client + */ +export function isAutoSessionTrackingEnabled(client) { + if (client === undefined) { + return false; + } + var clientOptions = client && client.getOptions(); + if (clientOptions && clientOptions.autoSessionTracking !== undefined) { + return clientOptions.autoSessionTracking; + } + return false; +} +/** + * Returns a release dynamically from environment variables. + */ +export function getSentryRelease(fallback) { + // Always read first as Sentry takes this as precedence + if (process.env.SENTRY_RELEASE) { + return process.env.SENTRY_RELEASE; + } + // This supports the variable that sentry-webpack-plugin injects + var global = getGlobalObject(); + if (global.SENTRY_RELEASE && global.SENTRY_RELEASE.id) { + return global.SENTRY_RELEASE.id; + } + return ( + // GitHub Actions - https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables + process.env.GITHUB_SHA || + // Netlify - https://docs.netlify.com/configure-builds/environment-variables/#build-metadata + process.env.COMMIT_REF || + // Vercel - https://vercel.com/docs/v2/build-step#system-environment-variables + process.env.VERCEL_GIT_COMMIT_SHA || + process.env.VERCEL_GITHUB_COMMIT_SHA || + process.env.VERCEL_GITLAB_COMMIT_SHA || + process.env.VERCEL_BITBUCKET_COMMIT_SHA || + // Zeit (now known as Vercel) + process.env.ZEIT_GITHUB_COMMIT_SHA || + process.env.ZEIT_GITLAB_COMMIT_SHA || + process.env.ZEIT_BITBUCKET_COMMIT_SHA || + fallback); +} +/** + * Enable automatic Session Tracking for the node process. + */ +function startSessionTracking() { + var hub = getCurrentHub(); + hub.startSession(); + // Emitted in the case of healthy sessions, error of `mechanism.handled: true` and unhandledrejections because + // The 'beforeExit' event is not emitted for conditions causing explicit termination, + // such as calling process.exit() or uncaught exceptions. + // Ref: https://nodejs.org/api/process.html#process_event_beforeexit + process.on('beforeExit', function () { + var _a; + var session = (_a = hub.getScope()) === null || _a === void 0 ? void 0 : _a.getSession(); + var terminalStates = ['exited', 'crashed']; + // Only call endSession, if the Session exists on Scope and SessionStatus is not a + // Terminal Status i.e. Exited or Crashed because + // "When a session is moved away from ok it must not be updated anymore." + // Ref: https://develop.sentry.dev/sdk/sessions/ + if (session && !terminalStates.includes(session.status)) + hub.endSession(); + }); +} +//# sourceMappingURL=sdk.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/sdk.js.map b/node_modules/@sentry/node/esm/sdk.js.map new file mode 100644 index 000000000..7cd7ac19d --- /dev/null +++ b/node_modules/@sentry/node/esm/sdk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, initAndBind, Integrations as CoreIntegrations } from '@sentry/core';\nimport { getMainCarrier, setHubOnCarrier } from '@sentry/hub';\nimport { SessionStatus } from '@sentry/types';\nimport { getGlobalObject, logger } from '@sentry/utils';\nimport * as domain from 'domain';\n\nimport { NodeClient } from './client';\nimport { Console, Http, LinkedErrors, OnUncaughtException, OnUnhandledRejection } from './integrations';\nimport { NodeOptions } from './types';\n\nexport const defaultIntegrations = [\n // Common\n new CoreIntegrations.InboundFilters(),\n new CoreIntegrations.FunctionToString(),\n // Native Wrappers\n new Console(),\n new Http(),\n // Global Handlers\n new OnUncaughtException(),\n new OnUnhandledRejection(),\n // Misc\n new LinkedErrors(),\n];\n\n/**\n * The Sentry Node SDK Client.\n *\n * To use this SDK, call the {@link init} function as early as possible in the\n * main entry module. To set context information or send manual events, use the\n * provided methods.\n *\n * @example\n * ```\n *\n * const { init } = require('@sentry/node');\n *\n * init({\n * dsn: '__DSN__',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * const { configureScope } = require('@sentry/node');\n * configureScope((scope: Scope) => {\n * scope.setExtra({ battery: 0.7 });\n * scope.setTag({ user_mode: 'admin' });\n * scope.setUser({ id: '4711' });\n * });\n * ```\n *\n * @example\n * ```\n *\n * const { addBreadcrumb } = require('@sentry/node');\n * addBreadcrumb({\n * message: 'My Breadcrumb',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * const Sentry = require('@sentry/node');\n * Sentry.captureMessage('Hello, world!');\n * Sentry.captureException(new Error('Good bye'));\n * Sentry.captureEvent({\n * message: 'Manual',\n * stacktrace: [\n * // ...\n * ],\n * });\n * ```\n *\n * @see {@link NodeOptions} for documentation on configuration options.\n */\nexport function init(options: NodeOptions = {}): void {\n const carrier = getMainCarrier();\n const autoloadedIntegrations = carrier.__SENTRY__?.integrations || [];\n\n options.defaultIntegrations =\n options.defaultIntegrations === false\n ? []\n : [\n ...(Array.isArray(options.defaultIntegrations) ? options.defaultIntegrations : defaultIntegrations),\n ...autoloadedIntegrations,\n ];\n\n if (options.dsn === undefined && process.env.SENTRY_DSN) {\n options.dsn = process.env.SENTRY_DSN;\n }\n\n if (options.tracesSampleRate === undefined && process.env.SENTRY_TRACES_SAMPLE_RATE) {\n const tracesSampleRate = parseFloat(process.env.SENTRY_TRACES_SAMPLE_RATE);\n if (isFinite(tracesSampleRate)) {\n options.tracesSampleRate = tracesSampleRate;\n }\n }\n\n if (options.release === undefined) {\n const detectedRelease = getSentryRelease();\n if (detectedRelease !== undefined) {\n options.release = detectedRelease;\n } else {\n // If release is not provided, then we should disable autoSessionTracking\n options.autoSessionTracking = false;\n }\n }\n\n if (options.environment === undefined && process.env.SENTRY_ENVIRONMENT) {\n options.environment = process.env.SENTRY_ENVIRONMENT;\n }\n\n if (options.autoSessionTracking === undefined && options.dsn !== undefined) {\n options.autoSessionTracking = true;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n if ((domain as any).active) {\n setHubOnCarrier(carrier, getCurrentHub());\n }\n\n initAndBind(NodeClient, options);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n}\n\n/**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n */\nexport function lastEventId(): string | undefined {\n return getCurrentHub().lastEventId();\n}\n\n/**\n * Call `flush()` on the current client, if there is one. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause\n * the client to wait until all events are sent before resolving the promise.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport async function flush(timeout?: number): Promise {\n const client = getCurrentHub().getClient();\n if (client) {\n return client.flush(timeout);\n }\n logger.warn('Cannot flush events. No client defined.');\n return Promise.resolve(false);\n}\n\n/**\n * Call `close()` on the current client, if there is one. See {@link Client.close}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this\n * parameter will cause the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport async function close(timeout?: number): Promise {\n const client = getCurrentHub().getClient();\n if (client) {\n return client.close(timeout);\n }\n logger.warn('Cannot flush events and disable SDK. No client defined.');\n return Promise.resolve(false);\n}\n\n/**\n * Function that takes an instance of NodeClient and checks if autoSessionTracking option is enabled for that client\n */\nexport function isAutoSessionTrackingEnabled(client?: NodeClient): boolean {\n if (client === undefined) {\n return false;\n }\n const clientOptions: NodeOptions = client && client.getOptions();\n if (clientOptions && clientOptions.autoSessionTracking !== undefined) {\n return clientOptions.autoSessionTracking;\n }\n return false;\n}\n\n/**\n * Returns a release dynamically from environment variables.\n */\nexport function getSentryRelease(fallback?: string): string | undefined {\n // Always read first as Sentry takes this as precedence\n if (process.env.SENTRY_RELEASE) {\n return process.env.SENTRY_RELEASE;\n }\n\n // This supports the variable that sentry-webpack-plugin injects\n const global = getGlobalObject();\n if (global.SENTRY_RELEASE && global.SENTRY_RELEASE.id) {\n return global.SENTRY_RELEASE.id;\n }\n\n return (\n // GitHub Actions - https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables\n process.env.GITHUB_SHA ||\n // Netlify - https://docs.netlify.com/configure-builds/environment-variables/#build-metadata\n process.env.COMMIT_REF ||\n // Vercel - https://vercel.com/docs/v2/build-step#system-environment-variables\n process.env.VERCEL_GIT_COMMIT_SHA ||\n process.env.VERCEL_GITHUB_COMMIT_SHA ||\n process.env.VERCEL_GITLAB_COMMIT_SHA ||\n process.env.VERCEL_BITBUCKET_COMMIT_SHA ||\n // Zeit (now known as Vercel)\n process.env.ZEIT_GITHUB_COMMIT_SHA ||\n process.env.ZEIT_GITLAB_COMMIT_SHA ||\n process.env.ZEIT_BITBUCKET_COMMIT_SHA ||\n fallback\n );\n}\n\n/**\n * Enable automatic Session Tracking for the node process.\n */\nfunction startSessionTracking(): void {\n const hub = getCurrentHub();\n hub.startSession();\n // Emitted in the case of healthy sessions, error of `mechanism.handled: true` and unhandledrejections because\n // The 'beforeExit' event is not emitted for conditions causing explicit termination,\n // such as calling process.exit() or uncaught exceptions.\n // Ref: https://nodejs.org/api/process.html#process_event_beforeexit\n process.on('beforeExit', () => {\n const session = hub.getScope()?.getSession();\n const terminalStates: SessionStatus[] = ['exited', 'crashed'];\n // Only call endSession, if the Session exists on Scope and SessionStatus is not a\n // Terminal Status i.e. Exited or Crashed because\n // \"When a session is moved away from ok it must not be updated anymore.\"\n // Ref: https://develop.sentry.dev/sdk/sessions/\n if (session && !terminalStates.includes(session.status)) hub.endSession();\n });\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/stacktrace.d.ts b/node_modules/@sentry/node/esm/stacktrace.d.ts new file mode 100644 index 000000000..97ee50f79 --- /dev/null +++ b/node_modules/@sentry/node/esm/stacktrace.d.ts @@ -0,0 +1,24 @@ +/** + * stack-trace - Parses node.js stack traces + * + * This was originally forked to fix this issue: + * https://github.com/felixge/node-stack-trace/issues/31 + * + * Mar 19,2019 - #4fd379e + * + * https://github.com/felixge/node-stack-trace/ + * @license MIT + */ +/** Decoded StackFrame */ +export interface StackFrame { + fileName: string; + lineNumber: number; + functionName: string; + typeName: string; + methodName: string; + native: boolean; + columnNumber: number; +} +/** Extracts StackFrames from the Error */ +export declare function parse(err: Error): StackFrame[]; +//# sourceMappingURL=stacktrace.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/stacktrace.d.ts.map b/node_modules/@sentry/node/esm/stacktrace.d.ts.map new file mode 100644 index 000000000..325286f54 --- /dev/null +++ b/node_modules/@sentry/node/esm/stacktrace.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.d.ts","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,yBAAyB;AACzB,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,0CAA0C;AAC1C,wBAAgB,KAAK,CAAC,GAAG,EAAE,KAAK,GAAG,UAAU,EAAE,CA2E9C"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/stacktrace.js b/node_modules/@sentry/node/esm/stacktrace.js new file mode 100644 index 000000000..e489822cf --- /dev/null +++ b/node_modules/@sentry/node/esm/stacktrace.js @@ -0,0 +1,80 @@ +/** + * stack-trace - Parses node.js stack traces + * + * This was originally forked to fix this issue: + * https://github.com/felixge/node-stack-trace/issues/31 + * + * Mar 19,2019 - #4fd379e + * + * https://github.com/felixge/node-stack-trace/ + * @license MIT + */ +/** Extracts StackFrames from the Error */ +export function parse(err) { + if (!err.stack) { + return []; + } + var lines = err.stack.split('\n').slice(1); + return lines + .map(function (line) { + if (line.match(/^\s*[-]{4,}$/)) { + return { + columnNumber: null, + fileName: line, + functionName: null, + lineNumber: null, + methodName: null, + native: null, + typeName: null, + }; + } + var lineMatch = line.match(/at (?:(.+?)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/); + if (!lineMatch) { + return undefined; + } + var object = null; + var method = null; + var functionName = null; + var typeName = null; + var methodName = null; + var isNative = lineMatch[5] === 'native'; + if (lineMatch[1]) { + functionName = lineMatch[1]; + var methodStart = functionName.lastIndexOf('.'); + if (functionName[methodStart - 1] === '.') { + // eslint-disable-next-line no-plusplus + methodStart--; + } + if (methodStart > 0) { + object = functionName.substr(0, methodStart); + method = functionName.substr(methodStart + 1); + var objectEnd = object.indexOf('.Module'); + if (objectEnd > 0) { + functionName = functionName.substr(objectEnd + 1); + object = object.substr(0, objectEnd); + } + } + typeName = null; + } + if (method) { + typeName = object; + methodName = method; + } + if (method === '') { + methodName = null; + functionName = null; + } + var properties = { + columnNumber: parseInt(lineMatch[4], 10) || null, + fileName: lineMatch[2] || null, + functionName: functionName, + lineNumber: parseInt(lineMatch[3], 10) || null, + methodName: methodName, + native: isNative, + typeName: typeName, + }; + return properties; + }) + .filter(function (callSite) { return !!callSite; }); +} +//# sourceMappingURL=stacktrace.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/stacktrace.js.map b/node_modules/@sentry/node/esm/stacktrace.js.map new file mode 100644 index 000000000..8e3200d76 --- /dev/null +++ b/node_modules/@sentry/node/esm/stacktrace.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.js","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"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","sourcesContent":["/**\n * stack-trace - Parses node.js stack traces\n *\n * This was originally forked to fix this issue:\n * https://github.com/felixge/node-stack-trace/issues/31\n *\n * Mar 19,2019 - #4fd379e\n *\n * https://github.com/felixge/node-stack-trace/\n * @license MIT\n */\n\n/** Decoded StackFrame */\nexport interface StackFrame {\n fileName: string;\n lineNumber: number;\n functionName: string;\n typeName: string;\n methodName: string;\n native: boolean;\n columnNumber: number;\n}\n\n/** Extracts StackFrames from the Error */\nexport function parse(err: Error): StackFrame[] {\n if (!err.stack) {\n return [];\n }\n\n const lines = err.stack.split('\\n').slice(1);\n\n return lines\n .map(line => {\n if (line.match(/^\\s*[-]{4,}$/)) {\n return {\n columnNumber: null,\n fileName: line,\n functionName: null,\n lineNumber: null,\n methodName: null,\n native: null,\n typeName: null,\n };\n }\n\n const lineMatch = line.match(/at (?:(.+?)\\s+\\()?(?:(.+?):(\\d+)(?::(\\d+))?|([^)]+))\\)?/);\n if (!lineMatch) {\n return undefined;\n }\n\n let object = null;\n let method = null;\n let functionName = null;\n let typeName = null;\n let methodName = null;\n const isNative = lineMatch[5] === 'native';\n\n if (lineMatch[1]) {\n functionName = lineMatch[1];\n let methodStart = functionName.lastIndexOf('.');\n if (functionName[methodStart - 1] === '.') {\n // eslint-disable-next-line no-plusplus\n methodStart--;\n }\n if (methodStart > 0) {\n object = functionName.substr(0, methodStart);\n method = functionName.substr(methodStart + 1);\n const objectEnd = object.indexOf('.Module');\n if (objectEnd > 0) {\n functionName = functionName.substr(objectEnd + 1);\n object = object.substr(0, objectEnd);\n }\n }\n typeName = null;\n }\n\n if (method) {\n typeName = object;\n methodName = method;\n }\n\n if (method === '') {\n methodName = null;\n functionName = null;\n }\n\n const properties = {\n columnNumber: parseInt(lineMatch[4], 10) || null,\n fileName: lineMatch[2] || null,\n functionName,\n lineNumber: parseInt(lineMatch[3], 10) || null,\n methodName,\n native: isNative,\n typeName,\n };\n\n return properties;\n })\n .filter(callSite => !!callSite) as StackFrame[];\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/base/http-module.d.ts b/node_modules/@sentry/node/esm/transports/base/http-module.d.ts new file mode 100644 index 000000000..0e4aff6d9 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/base/http-module.d.ts @@ -0,0 +1,36 @@ +/// +import { IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'http'; +import { RequestOptions as HTTPSRequestOptions } from 'https'; +import { URL } from 'url'; +export declare type HTTPModuleRequestOptions = HTTPRequestOptions | HTTPSRequestOptions | string | URL; +/** + * Cut version of http.IncomingMessage. + * Some transports work in a special Javascript environment where http.IncomingMessage is not available. + */ +export interface HTTPModuleRequestIncomingMessage { + headers: IncomingHttpHeaders; + statusCode?: number; + on(event: 'data' | 'end', listener: () => void): void; + setEncoding(encoding: string): void; +} +/** + * Cut version of http.ClientRequest. + * Some transports work in a special Javascript environment where http.IncomingMessage is not available. + */ +export interface HTTPModuleClientRequest { + end(chunk: string): void; + on(event: 'error', listener: () => void): void; +} +/** + * Internal used interface for typescript. + * @hidden + */ +export interface HTTPModule { + /** + * Request wrapper + * @param options These are {@see TransportOptions} + * @param callback Callback when request is finished + */ + request(options: HTTPModuleRequestOptions, callback?: (res: HTTPModuleRequestIncomingMessage) => void): HTTPModuleClientRequest; +} +//# sourceMappingURL=http-module.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/base/http-module.d.ts.map b/node_modules/@sentry/node/esm/transports/base/http-module.d.ts.map new file mode 100644 index 000000000..7450c53ff --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/base/http-module.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"http-module.d.ts","sourceRoot":"","sources":["../../../src/transports/base/http-module.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,MAAM,CAAC;AACjF,OAAO,EAAE,cAAc,IAAI,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,oBAAY,wBAAwB,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,MAAM,GAAG,GAAG,CAAC;AAE/F;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IACtD,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;CAChD;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,OAAO,CACL,OAAO,EAAE,wBAAwB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,gCAAgC,KAAK,IAAI,GACzD,uBAAuB,CAAC;CAW5B"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/base/http-module.js b/node_modules/@sentry/node/esm/transports/base/http-module.js new file mode 100644 index 000000000..9a60990c2 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/base/http-module.js @@ -0,0 +1 @@ +//# sourceMappingURL=http-module.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/base/http-module.js.map b/node_modules/@sentry/node/esm/transports/base/http-module.js.map new file mode 100644 index 000000000..b0dae64ff --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/base/http-module.js.map @@ -0,0 +1 @@ +{"version":3,"file":"http-module.js","sourceRoot":"","sources":["../../../src/transports/base/http-module.ts"],"names":[],"mappings":"","sourcesContent":["import { IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'http';\nimport { RequestOptions as HTTPSRequestOptions } from 'https';\nimport { URL } from 'url';\n\nexport type HTTPModuleRequestOptions = HTTPRequestOptions | HTTPSRequestOptions | string | URL;\n\n/**\n * Cut version of http.IncomingMessage.\n * Some transports work in a special Javascript environment where http.IncomingMessage is not available.\n */\nexport interface HTTPModuleRequestIncomingMessage {\n headers: IncomingHttpHeaders;\n statusCode?: number;\n on(event: 'data' | 'end', listener: () => void): void;\n setEncoding(encoding: string): void;\n}\n\n/**\n * Cut version of http.ClientRequest.\n * Some transports work in a special Javascript environment where http.IncomingMessage is not available.\n */\nexport interface HTTPModuleClientRequest {\n end(chunk: string): void;\n on(event: 'error', listener: () => void): void;\n}\n\n/**\n * Internal used interface for typescript.\n * @hidden\n */\nexport interface HTTPModule {\n /**\n * Request wrapper\n * @param options These are {@see TransportOptions}\n * @param callback Callback when request is finished\n */\n request(\n options: HTTPModuleRequestOptions,\n callback?: (res: HTTPModuleRequestIncomingMessage) => void,\n ): HTTPModuleClientRequest;\n\n // This is the type for nodejs versions that handle the URL argument\n // (v10.9.0+), but we do not use it just yet because we support older node\n // versions:\n\n // request(\n // url: string | URL,\n // options: http.RequestOptions | https.RequestOptions,\n // callback?: (res: http.IncomingMessage) => void,\n // ): http.ClientRequest;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/base/index.d.ts b/node_modules/@sentry/node/esm/transports/base/index.d.ts new file mode 100644 index 000000000..4f87cfc10 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/base/index.d.ts @@ -0,0 +1,63 @@ +/// +import { APIDetails } from '@sentry/core'; +import { DsnProtocol, Event, Response, SentryRequest, SentryRequestType, Session, SessionAggregates, Transport, TransportOptions } from '@sentry/types'; +import { PromiseBuffer } from '@sentry/utils'; +import * as http from 'http'; +import * as https from 'https'; +import { URL } from 'url'; +import { HTTPModule } from './http-module'; +export declare type URLParts = Pick; +export declare type UrlParser = (url: string) => URLParts; +/** Base Transport class implementation */ +export declare abstract class BaseTransport implements Transport { + options: TransportOptions; + /** The Agent used for corresponding transport */ + module?: HTTPModule; + /** The Agent used for corresponding transport */ + client?: http.Agent | https.Agent; + /** API object */ + protected _api: APIDetails; + /** A simple buffer holding all requests. */ + protected readonly _buffer: PromiseBuffer; + /** Locks transport after receiving rate limits in a response */ + protected readonly _rateLimits: Record; + /** Create instance and set this.dsn */ + constructor(options: TransportOptions); + /** Default function used to parse URLs */ + urlParser: UrlParser; + /** + * @inheritDoc + */ + sendEvent(_: Event): PromiseLike; + /** + * @inheritDoc + */ + close(timeout?: number): PromiseLike; + /** + * Extracts proxy settings from client options and env variables. + * + * Honors `no_proxy` env variable with the highest priority to allow for hosts exclusion. + * + * An order of priority for available protocols is: + * `http` => `options.httpProxy` | `process.env.http_proxy` + * `https` => `options.httpsProxy` | `options.httpProxy` | `process.env.https_proxy` | `process.env.http_proxy` + */ + protected _getProxy(protocol: DsnProtocol): string | undefined; + /** Returns a build request option object used by request */ + protected _getRequestOptions(urlParts: URLParts): http.RequestOptions | https.RequestOptions; + /** + * Gets the time that given category is disabled until for rate limiting + */ + protected _disabledUntil(requestType: SentryRequestType): Date; + /** + * Checks if a category is rate limited + */ + protected _isRateLimited(requestType: SentryRequestType): boolean; + /** + * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header. + */ + protected _handleRateLimit(headers: Record): boolean; + /** JSDoc */ + protected _send(sentryRequest: SentryRequest, originalPayload?: Event | Session | SessionAggregates): Promise; +} +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/base/index.d.ts.map b/node_modules/@sentry/node/esm/transports/base/index.d.ts.map new file mode 100644 index 000000000..b5e2c3ecb --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/base/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transports/base/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAkD,MAAM,cAAc,CAAC;AAC1F,OAAO,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAKL,aAAa,EAEd,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,oBAAY,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC;AAChF,oBAAY,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,QAAQ,CAAC;AAWlD,0CAA0C;AAC1C,8BAAsB,aAAc,YAAW,SAAS;IAiB5B,OAAO,EAAE,gBAAgB;IAhBnD,iDAAiD;IAC1C,MAAM,CAAC,EAAE,UAAU,CAAC;IAE3B,iDAAiD;IAC1C,MAAM,CAAC,EAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;IAEzC,iBAAiB;IACjB,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC;IAE3B,4CAA4C;IAC5C,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAyB;IAE5E,gEAAgE;IAChE,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAM;IAE1D,uCAAuC;gBACb,OAAO,EAAE,gBAAgB;IAKnD,0CAA0C;IACnC,SAAS,EAAE,SAAS,CAAuB;IAElD;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC;IAIjD;;OAEG;IACI,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC;IAIpD;;;;;;;;OAQG;IACH,SAAS,CAAC,SAAS,CAAC,QAAQ,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS;IAmB9D,4DAA4D;IAC5D,SAAS,CAAC,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC,cAAc;IAwB5F;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,WAAW,EAAE,iBAAiB,GAAG,IAAI;IAK9D;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,WAAW,EAAE,iBAAiB,GAAG,OAAO;IAIjE;;OAEG;IACH,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,OAAO;IAsC3E,YAAY;cACI,KAAK,CACnB,aAAa,EAAE,aAAa,EAC5B,eAAe,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,iBAAiB,GACpD,OAAO,CAAC,QAAQ,CAAC;CA0ErB"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/base/index.js b/node_modules/@sentry/node/esm/transports/base/index.js new file mode 100644 index 000000000..63338a26b --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/base/index.js @@ -0,0 +1,231 @@ +import { __assign, __awaiter, __generator, __read, __spread, __values } from "tslib"; +import { getRequestHeaders, initAPIDetails, SDK_VERSION } from '@sentry/core'; +import { eventStatusFromHttpCode, logger, makePromiseBuffer, parseRetryAfterHeader, SentryError, } from '@sentry/utils'; +import * as fs from 'fs'; +import { URL } from 'url'; +import { SDK_NAME } from '../../version'; +var CATEGORY_MAPPING = { + event: 'error', + transaction: 'transaction', + session: 'session', + attachment: 'attachment', +}; +/** Base Transport class implementation */ +var BaseTransport = /** @class */ (function () { + /** Create instance and set this.dsn */ + function BaseTransport(options) { + this.options = options; + /** A simple buffer holding all requests. */ + this._buffer = makePromiseBuffer(30); + /** Locks transport after receiving rate limits in a response */ + this._rateLimits = {}; + /** Default function used to parse URLs */ + this.urlParser = function (url) { return new URL(url); }; + // eslint-disable-next-line deprecation/deprecation + this._api = initAPIDetails(options.dsn, options._metadata, options.tunnel); + } + /** + * @inheritDoc + */ + BaseTransport.prototype.sendEvent = function (_) { + throw new SentryError('Transport Class has to implement `sendEvent` method.'); + }; + /** + * @inheritDoc + */ + BaseTransport.prototype.close = function (timeout) { + return this._buffer.drain(timeout); + }; + /** + * Extracts proxy settings from client options and env variables. + * + * Honors `no_proxy` env variable with the highest priority to allow for hosts exclusion. + * + * An order of priority for available protocols is: + * `http` => `options.httpProxy` | `process.env.http_proxy` + * `https` => `options.httpsProxy` | `options.httpProxy` | `process.env.https_proxy` | `process.env.http_proxy` + */ + BaseTransport.prototype._getProxy = function (protocol) { + var e_1, _a; + var _b = process.env, no_proxy = _b.no_proxy, http_proxy = _b.http_proxy, https_proxy = _b.https_proxy; + var _c = this.options, httpProxy = _c.httpProxy, httpsProxy = _c.httpsProxy; + var proxy = protocol === 'http' ? httpProxy || http_proxy : httpsProxy || httpProxy || https_proxy || http_proxy; + if (!no_proxy) { + return proxy; + } + var _d = this._api.dsn, host = _d.host, port = _d.port; + try { + for (var _e = __values(no_proxy.split(',')), _f = _e.next(); !_f.done; _f = _e.next()) { + var np = _f.value; + if (host.endsWith(np) || (host + ":" + port).endsWith(np)) { + return; + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_f && !_f.done && (_a = _e.return)) _a.call(_e); + } + finally { if (e_1) throw e_1.error; } + } + return proxy; + }; + /** Returns a build request option object used by request */ + BaseTransport.prototype._getRequestOptions = function (urlParts) { + var headers = __assign(__assign({}, getRequestHeaders(this._api.dsn, SDK_NAME, SDK_VERSION)), this.options.headers); + var hostname = urlParts.hostname, pathname = urlParts.pathname, port = urlParts.port, protocol = urlParts.protocol; + // See https://github.com/nodejs/node/blob/38146e717fed2fabe3aacb6540d839475e0ce1c6/lib/internal/url.js#L1268-L1290 + // We ignore the query string on purpose + var path = "" + pathname; + return __assign({ agent: this.client, headers: headers, + hostname: hostname, method: 'POST', path: path, + port: port, + protocol: protocol }, (this.options.caCerts && { + ca: fs.readFileSync(this.options.caCerts), + })); + }; + /** + * Gets the time that given category is disabled until for rate limiting + */ + BaseTransport.prototype._disabledUntil = function (requestType) { + var category = CATEGORY_MAPPING[requestType]; + return this._rateLimits[category] || this._rateLimits.all; + }; + /** + * Checks if a category is rate limited + */ + BaseTransport.prototype._isRateLimited = function (requestType) { + return this._disabledUntil(requestType) > new Date(Date.now()); + }; + /** + * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header. + */ + BaseTransport.prototype._handleRateLimit = function (headers) { + var e_2, _a, e_3, _b; + var now = Date.now(); + var rlHeader = headers['x-sentry-rate-limits']; + var raHeader = headers['retry-after']; + if (rlHeader) { + try { + // rate limit headers are of the form + //
,
,.. + // where each
is of the form + // : : : + // where + // is a delay in ms + // is the event type(s) (error, transaction, etc) being rate limited and is of the form + // ;;... + // is what's being limited (org, project, or key) - ignored by SDK + // is an arbitrary string like "org_quota" - ignored by SDK + for (var _c = __values(rlHeader.trim().split(',')), _d = _c.next(); !_d.done; _d = _c.next()) { + var limit = _d.value; + var parameters = limit.split(':', 2); + var headerDelay = parseInt(parameters[0], 10); + var delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default + try { + for (var _e = (e_3 = void 0, __values((parameters[1] && parameters[1].split(';')) || ['all'])), _f = _e.next(); !_f.done; _f = _e.next()) { + var category = _f.value; + // categoriesAllowed is added here to ensure we are only storing rate limits for categories we support in this + // sdk and any categories that are not supported will not be added redundantly to the rateLimits object + var categoriesAllowed = __spread(Object.keys(CATEGORY_MAPPING).map(function (k) { return CATEGORY_MAPPING[k]; }), [ + 'all', + ]); + if (categoriesAllowed.includes(category)) + this._rateLimits[category] = new Date(now + delay); + } + } + catch (e_3_1) { e_3 = { error: e_3_1 }; } + finally { + try { + if (_f && !_f.done && (_b = _e.return)) _b.call(_e); + } + finally { if (e_3) throw e_3.error; } + } + } + } + catch (e_2_1) { e_2 = { error: e_2_1 }; } + finally { + try { + if (_d && !_d.done && (_a = _c.return)) _a.call(_c); + } + finally { if (e_2) throw e_2.error; } + } + return true; + } + else if (raHeader) { + this._rateLimits.all = new Date(now + parseRetryAfterHeader(now, raHeader)); + return true; + } + return false; + }; + /** JSDoc */ + BaseTransport.prototype._send = function (sentryRequest, originalPayload) { + return __awaiter(this, void 0, void 0, function () { + var _this = this; + return __generator(this, function (_a) { + if (!this.module) { + throw new SentryError('No module available'); + } + if (originalPayload && this._isRateLimited(sentryRequest.type)) { + return [2 /*return*/, Promise.reject({ + payload: originalPayload, + type: sentryRequest.type, + reason: "Transport for " + sentryRequest.type + " requests locked till " + this._disabledUntil(sentryRequest.type) + " due to too many requests.", + status: 429, + })]; + } + return [2 /*return*/, this._buffer.add(function () { + return new Promise(function (resolve, reject) { + if (!_this.module) { + throw new SentryError('No module available'); + } + var options = _this._getRequestOptions(_this.urlParser(sentryRequest.url)); + var req = _this.module.request(options, function (res) { + var statusCode = res.statusCode || 500; + var status = eventStatusFromHttpCode(statusCode); + res.setEncoding('utf8'); + /** + * "Key-value pairs of header names and values. Header names are lower-cased." + * https://nodejs.org/api/http.html#http_message_headers + */ + var retryAfterHeader = res.headers ? res.headers['retry-after'] : ''; + retryAfterHeader = (Array.isArray(retryAfterHeader) ? retryAfterHeader[0] : retryAfterHeader); + var rlHeader = res.headers ? res.headers['x-sentry-rate-limits'] : ''; + rlHeader = (Array.isArray(rlHeader) ? rlHeader[0] : rlHeader); + var headers = { + 'x-sentry-rate-limits': rlHeader, + 'retry-after': retryAfterHeader, + }; + var limited = _this._handleRateLimit(headers); + if (limited) + logger.warn("Too many " + sentryRequest.type + " requests, backing off until: " + _this._disabledUntil(sentryRequest.type)); + if (status === 'success') { + resolve({ status: status }); + } + else { + var rejectionMessage = "HTTP Error (" + statusCode + ")"; + if (res.headers && res.headers['x-sentry-error']) { + rejectionMessage += ": " + res.headers['x-sentry-error']; + } + reject(new SentryError(rejectionMessage)); + } + // Force the socket to drain + res.on('data', function () { + // Drain + }); + res.on('end', function () { + // Drain + }); + }); + req.on('error', reject); + req.end(sentryRequest.body); + }); + })]; + }); + }); + }; + return BaseTransport; +}()); +export { BaseTransport }; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/base/index.js.map b/node_modules/@sentry/node/esm/transports/base/index.js.map new file mode 100644 index 000000000..12b324bfb --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/base/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/transports/base/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAc,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAY1F,OAAO,EACL,uBAAuB,EACvB,MAAM,EACN,iBAAiB,EACjB,qBAAqB,EAErB,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAGzB,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAMzC,IAAM,gBAAgB,GAElB;IACF,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;CACzB,CAAC;AAEF,0CAA0C;AAC1C;IAgBE,uCAAuC;IACvC,uBAA0B,OAAyB;QAAzB,YAAO,GAAP,OAAO,CAAkB;QAPnD,4CAA4C;QACzB,YAAO,GAA4B,iBAAiB,CAAC,EAAE,CAAC,CAAC;QAE5E,gEAAgE;QAC7C,gBAAW,GAAyB,EAAE,CAAC;QAQ1D,0CAA0C;QACnC,cAAS,GAAc,UAAA,GAAG,IAAI,OAAA,IAAI,GAAG,CAAC,GAAG,CAAC,EAAZ,CAAY,CAAC;QALhD,mDAAmD;QACnD,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7E,CAAC;IAKD;;OAEG;IACI,iCAAS,GAAhB,UAAiB,CAAQ;QACvB,MAAM,IAAI,WAAW,CAAC,sDAAsD,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACI,6BAAK,GAAZ,UAAa,OAAgB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;OAQG;IACO,iCAAS,GAAnB,UAAoB,QAAqB;;QACjC,IAAA,gBAAmD,EAAjD,sBAAQ,EAAE,0BAAU,EAAE,4BAA2B,CAAC;QACpD,IAAA,iBAAwC,EAAtC,wBAAS,EAAE,0BAA2B,CAAC;QAC/C,IAAM,KAAK,GAAG,QAAQ,KAAK,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,UAAU,CAAC,CAAC,CAAC,UAAU,IAAI,SAAS,IAAI,WAAW,IAAI,UAAU,CAAC;QAEnH,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO,KAAK,CAAC;SACd;QAEK,IAAA,kBAA8B,EAA5B,cAAI,EAAE,cAAsB,CAAC;;YACrC,KAAiB,IAAA,KAAA,SAAA,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA,gBAAA,4BAAE;gBAAjC,IAAM,EAAE,WAAA;gBACX,IAAI,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAG,IAAI,SAAI,IAAM,CAAA,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE;oBACvD,OAAO;iBACR;aACF;;;;;;;;;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,4DAA4D;IAClD,0CAAkB,GAA5B,UAA6B,QAAkB;QAC7C,IAAM,OAAO,yBACR,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,WAAW,CAAC,GACvD,IAAI,CAAC,OAAO,CAAC,OAAO,CACxB,CAAC;QACM,IAAA,4BAAQ,EAAE,4BAAQ,EAAE,oBAAI,EAAE,4BAAQ,CAAc;QACxD,mHAAmH;QACnH,wCAAwC;QACxC,IAAM,IAAI,GAAG,KAAG,QAAU,CAAC;QAE3B,kBACE,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,OAAO,SAAA;YACP,QAAQ,UAAA,EACR,MAAM,EAAE,MAAM,EACd,IAAI,MAAA;YACJ,IAAI,MAAA;YACJ,QAAQ,UAAA,IACL,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,IAAI;YAC1B,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SAC1C,CAAC,EACF;IACJ,CAAC;IAED;;OAEG;IACO,sCAAc,GAAxB,UAAyB,WAA8B;QACrD,IAAM,QAAQ,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;QAC/C,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;IAC5D,CAAC;IAED;;OAEG;IACO,sCAAc,GAAxB,UAAyB,WAA8B;QACrD,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACO,wCAAgB,GAA1B,UAA2B,OAAsC;;QAC/D,IAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QACvB,IAAM,QAAQ,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;QACjD,IAAM,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;QAExC,IAAI,QAAQ,EAAE;;gBACZ,qCAAqC;gBACrC,2BAA2B;gBAC3B,qCAAqC;gBACrC,0DAA0D;gBAC1D,QAAQ;gBACR,qCAAqC;gBACrC,wGAAwG;gBACxG,oCAAoC;gBACpC,8EAA8E;gBAC9E,6EAA6E;gBAC7E,KAAoB,IAAA,KAAA,SAAA,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA,gBAAA,4BAAE;oBAA3C,IAAM,KAAK,WAAA;oBACd,IAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;oBACvC,IAAM,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;oBAChD,IAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,gBAAgB;;wBAC/E,KAAuB,IAAA,oBAAA,SAAA,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA,CAAA,gBAAA,4BAAE;4BAA1E,IAAM,QAAQ,WAAA;4BACjB,8GAA8G;4BAC9G,uGAAuG;4BACvG,IAAM,iBAAiB,YACjB,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAyB,CAAC,GAAG,CAAC,UAAA,CAAC,IAAI,OAAA,gBAAgB,CAAC,CAAC,CAAC,EAAnB,CAAmB,CAAC;gCACvF,KAAK;8BACN,CAAC;4BACF,IAAI,iBAAiB,CAAC,QAAQ,CAAC,QAAQ,CAAC;gCAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC;yBAC9F;;;;;;;;;iBACF;;;;;;;;;YACD,OAAO,IAAI,CAAC;SACb;aAAM,IAAI,QAAQ,EAAE;YACnB,IAAI,CAAC,WAAW,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC;YAC5E,OAAO,IAAI,CAAC;SACb;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,YAAY;IACI,6BAAK,GAArB,UACE,aAA4B,EAC5B,eAAqD;;;;gBAErD,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;oBAChB,MAAM,IAAI,WAAW,CAAC,qBAAqB,CAAC,CAAC;iBAC9C;gBACD,IAAI,eAAe,IAAI,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE;oBAC9D,sBAAO,OAAO,CAAC,MAAM,CAAC;4BACpB,OAAO,EAAE,eAAe;4BACxB,IAAI,EAAE,aAAa,CAAC,IAAI;4BACxB,MAAM,EAAE,mBAAiB,aAAa,CAAC,IAAI,8BAAyB,IAAI,CAAC,cAAc,CACrF,aAAa,CAAC,IAAI,CACnB,+BAA4B;4BAC7B,MAAM,EAAE,GAAG;yBACZ,CAAC,EAAC;iBACJ;gBAED,sBAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB;wBACE,OAAA,IAAI,OAAO,CAAW,UAAC,OAAO,EAAE,MAAM;4BACpC,IAAI,CAAC,KAAI,CAAC,MAAM,EAAE;gCAChB,MAAM,IAAI,WAAW,CAAC,qBAAqB,CAAC,CAAC;6BAC9C;4BACD,IAAM,OAAO,GAAG,KAAI,CAAC,kBAAkB,CAAC,KAAI,CAAC,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;4BAC3E,IAAM,GAAG,GAAG,KAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,UAAA,GAAG;gCAC1C,IAAM,UAAU,GAAG,GAAG,CAAC,UAAU,IAAI,GAAG,CAAC;gCACzC,IAAM,MAAM,GAAG,uBAAuB,CAAC,UAAU,CAAC,CAAC;gCAEnD,GAAG,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;gCAExB;;;mCAGG;gCACH,IAAI,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gCACrE,gBAAgB,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAW,CAAC;gCAExG,IAAI,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gCACtE,QAAQ,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAW,CAAC;gCAExE,IAAM,OAAO,GAAG;oCACd,sBAAsB,EAAE,QAAQ;oCAChC,aAAa,EAAE,gBAAgB;iCAChC,CAAC;gCAEF,IAAM,OAAO,GAAG,KAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;gCAC/C,IAAI,OAAO;oCACT,MAAM,CAAC,IAAI,CACT,cAAY,aAAa,CAAC,IAAI,sCAAiC,KAAI,CAAC,cAAc,CAChF,aAAa,CAAC,IAAI,CACjB,CACJ,CAAC;gCAEJ,IAAI,MAAM,KAAK,SAAS,EAAE;oCACxB,OAAO,CAAC,EAAE,MAAM,QAAA,EAAE,CAAC,CAAC;iCACrB;qCAAM;oCACL,IAAI,gBAAgB,GAAG,iBAAe,UAAU,MAAG,CAAC;oCACpD,IAAI,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE;wCAChD,gBAAgB,IAAI,OAAK,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAG,CAAC;qCAC1D;oCACD,MAAM,CAAC,IAAI,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAC;iCAC3C;gCAED,4BAA4B;gCAC5B,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE;oCACb,QAAQ;gCACV,CAAC,CAAC,CAAC;gCACH,GAAG,CAAC,EAAE,CAAC,KAAK,EAAE;oCACZ,QAAQ;gCACV,CAAC,CAAC,CAAC;4BACL,CAAC,CAAC,CAAC;4BACH,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;4BACxB,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;wBAC9B,CAAC,CAAC;oBAtDF,CAsDE,CACL,EAAC;;;KACH;IACH,oBAAC;AAAD,CAAC,AAlOD,IAkOC","sourcesContent":["import { APIDetails, getRequestHeaders, initAPIDetails, SDK_VERSION } from '@sentry/core';\nimport {\n DsnProtocol,\n Event,\n Response,\n SentryRequest,\n SentryRequestType,\n Session,\n SessionAggregates,\n Transport,\n TransportOptions,\n} from '@sentry/types';\nimport {\n eventStatusFromHttpCode,\n logger,\n makePromiseBuffer,\n parseRetryAfterHeader,\n PromiseBuffer,\n SentryError,\n} from '@sentry/utils';\nimport * as fs from 'fs';\nimport * as http from 'http';\nimport * as https from 'https';\nimport { URL } from 'url';\n\nimport { SDK_NAME } from '../../version';\nimport { HTTPModule } from './http-module';\n\nexport type URLParts = Pick;\nexport type UrlParser = (url: string) => URLParts;\n\nconst CATEGORY_MAPPING: {\n [key in SentryRequestType]: string;\n} = {\n event: 'error',\n transaction: 'transaction',\n session: 'session',\n attachment: 'attachment',\n};\n\n/** Base Transport class implementation */\nexport abstract class BaseTransport implements Transport {\n /** The Agent used for corresponding transport */\n public module?: HTTPModule;\n\n /** The Agent used for corresponding transport */\n public client?: http.Agent | https.Agent;\n\n /** API object */\n protected _api: APIDetails;\n\n /** A simple buffer holding all requests. */\n protected readonly _buffer: PromiseBuffer = makePromiseBuffer(30);\n\n /** Locks transport after receiving rate limits in a response */\n protected readonly _rateLimits: Record = {};\n\n /** Create instance and set this.dsn */\n public constructor(public options: TransportOptions) {\n // eslint-disable-next-line deprecation/deprecation\n this._api = initAPIDetails(options.dsn, options._metadata, options.tunnel);\n }\n\n /** Default function used to parse URLs */\n public urlParser: UrlParser = url => new URL(url);\n\n /**\n * @inheritDoc\n */\n public sendEvent(_: Event): PromiseLike {\n throw new SentryError('Transport Class has to implement `sendEvent` method.');\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike {\n return this._buffer.drain(timeout);\n }\n\n /**\n * Extracts proxy settings from client options and env variables.\n *\n * Honors `no_proxy` env variable with the highest priority to allow for hosts exclusion.\n *\n * An order of priority for available protocols is:\n * `http` => `options.httpProxy` | `process.env.http_proxy`\n * `https` => `options.httpsProxy` | `options.httpProxy` | `process.env.https_proxy` | `process.env.http_proxy`\n */\n protected _getProxy(protocol: DsnProtocol): string | undefined {\n const { no_proxy, http_proxy, https_proxy } = process.env;\n const { httpProxy, httpsProxy } = this.options;\n const proxy = protocol === 'http' ? httpProxy || http_proxy : httpsProxy || httpProxy || https_proxy || http_proxy;\n\n if (!no_proxy) {\n return proxy;\n }\n\n const { host, port } = this._api.dsn;\n for (const np of no_proxy.split(',')) {\n if (host.endsWith(np) || `${host}:${port}`.endsWith(np)) {\n return;\n }\n }\n\n return proxy;\n }\n\n /** Returns a build request option object used by request */\n protected _getRequestOptions(urlParts: URLParts): http.RequestOptions | https.RequestOptions {\n const headers = {\n ...getRequestHeaders(this._api.dsn, SDK_NAME, SDK_VERSION),\n ...this.options.headers,\n };\n const { hostname, pathname, port, protocol } = urlParts;\n // See https://github.com/nodejs/node/blob/38146e717fed2fabe3aacb6540d839475e0ce1c6/lib/internal/url.js#L1268-L1290\n // We ignore the query string on purpose\n const path = `${pathname}`;\n\n return {\n agent: this.client,\n headers,\n hostname,\n method: 'POST',\n path,\n port,\n protocol,\n ...(this.options.caCerts && {\n ca: fs.readFileSync(this.options.caCerts),\n }),\n };\n }\n\n /**\n * Gets the time that given category is disabled until for rate limiting\n */\n protected _disabledUntil(requestType: SentryRequestType): Date {\n const category = CATEGORY_MAPPING[requestType];\n return this._rateLimits[category] || this._rateLimits.all;\n }\n\n /**\n * Checks if a category is rate limited\n */\n protected _isRateLimited(requestType: SentryRequestType): boolean {\n return this._disabledUntil(requestType) > new Date(Date.now());\n }\n\n /**\n * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header.\n */\n protected _handleRateLimit(headers: Record): boolean {\n const now = Date.now();\n const rlHeader = headers['x-sentry-rate-limits'];\n const raHeader = headers['retry-after'];\n\n if (rlHeader) {\n // rate limit headers are of the form\n //
,
,..\n // where each
is of the form\n // : : : \n // where\n // is a delay in ms\n // is the event type(s) (error, transaction, etc) being rate limited and is of the form\n // ;;...\n // is what's being limited (org, project, or key) - ignored by SDK\n // is an arbitrary string like \"org_quota\" - ignored by SDK\n for (const limit of rlHeader.trim().split(',')) {\n const parameters = limit.split(':', 2);\n const headerDelay = parseInt(parameters[0], 10);\n const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default\n for (const category of (parameters[1] && parameters[1].split(';')) || ['all']) {\n // categoriesAllowed is added here to ensure we are only storing rate limits for categories we support in this\n // sdk and any categories that are not supported will not be added redundantly to the rateLimits object\n const categoriesAllowed = [\n ...(Object.keys(CATEGORY_MAPPING) as [SentryRequestType]).map(k => CATEGORY_MAPPING[k]),\n 'all',\n ];\n if (categoriesAllowed.includes(category)) this._rateLimits[category] = new Date(now + delay);\n }\n }\n return true;\n } else if (raHeader) {\n this._rateLimits.all = new Date(now + parseRetryAfterHeader(now, raHeader));\n return true;\n }\n return false;\n }\n\n /** JSDoc */\n protected async _send(\n sentryRequest: SentryRequest,\n originalPayload?: Event | Session | SessionAggregates,\n ): Promise {\n if (!this.module) {\n throw new SentryError('No module available');\n }\n if (originalPayload && this._isRateLimited(sentryRequest.type)) {\n return Promise.reject({\n payload: originalPayload,\n type: sentryRequest.type,\n reason: `Transport for ${sentryRequest.type} requests locked till ${this._disabledUntil(\n sentryRequest.type,\n )} due to too many requests.`,\n status: 429,\n });\n }\n\n return this._buffer.add(\n () =>\n new Promise((resolve, reject) => {\n if (!this.module) {\n throw new SentryError('No module available');\n }\n const options = this._getRequestOptions(this.urlParser(sentryRequest.url));\n const req = this.module.request(options, res => {\n const statusCode = res.statusCode || 500;\n const status = eventStatusFromHttpCode(statusCode);\n\n res.setEncoding('utf8');\n\n /**\n * \"Key-value pairs of header names and values. Header names are lower-cased.\"\n * https://nodejs.org/api/http.html#http_message_headers\n */\n let retryAfterHeader = res.headers ? res.headers['retry-after'] : '';\n retryAfterHeader = (Array.isArray(retryAfterHeader) ? retryAfterHeader[0] : retryAfterHeader) as string;\n\n let rlHeader = res.headers ? res.headers['x-sentry-rate-limits'] : '';\n rlHeader = (Array.isArray(rlHeader) ? rlHeader[0] : rlHeader) as string;\n\n const headers = {\n 'x-sentry-rate-limits': rlHeader,\n 'retry-after': retryAfterHeader,\n };\n\n const limited = this._handleRateLimit(headers);\n if (limited)\n logger.warn(\n `Too many ${sentryRequest.type} requests, backing off until: ${this._disabledUntil(\n sentryRequest.type,\n )}`,\n );\n\n if (status === 'success') {\n resolve({ status });\n } else {\n let rejectionMessage = `HTTP Error (${statusCode})`;\n if (res.headers && res.headers['x-sentry-error']) {\n rejectionMessage += `: ${res.headers['x-sentry-error']}`;\n }\n reject(new SentryError(rejectionMessage));\n }\n\n // Force the socket to drain\n res.on('data', () => {\n // Drain\n });\n res.on('end', () => {\n // Drain\n });\n });\n req.on('error', reject);\n req.end(sentryRequest.body);\n }),\n );\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/http.d.ts b/node_modules/@sentry/node/esm/transports/http.d.ts new file mode 100644 index 000000000..12124b56d --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/http.d.ts @@ -0,0 +1,17 @@ +import { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types'; +import { BaseTransport } from './base'; +/** Node http module transport */ +export declare class HTTPTransport extends BaseTransport { + options: TransportOptions; + /** Create a new instance and set this.agent */ + constructor(options: TransportOptions); + /** + * @inheritDoc + */ + sendEvent(event: Event): Promise; + /** + * @inheritDoc + */ + sendSession(session: Session | SessionAggregates): PromiseLike; +} +//# sourceMappingURL=http.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/http.d.ts.map b/node_modules/@sentry/node/esm/transports/http.d.ts.map new file mode 100644 index 000000000..e91630b76 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/http.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/transports/http.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAG9F,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,iCAAiC;AACjC,qBAAa,aAAc,SAAQ,aAAa;IAEpB,OAAO,EAAE,gBAAgB;IADnD,+CAA+C;gBACrB,OAAO,EAAE,gBAAgB;IASnD;;OAEG;IACI,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjD;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,GAAG,WAAW,CAAC,QAAQ,CAAC;CAGhF"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/http.js b/node_modules/@sentry/node/esm/transports/http.js new file mode 100644 index 000000000..404bb43e2 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/http.js @@ -0,0 +1,34 @@ +import { __extends } from "tslib"; +import { eventToSentryRequest, sessionToSentryRequest } from '@sentry/core'; +import * as http from 'http'; +import { BaseTransport } from './base'; +/** Node http module transport */ +var HTTPTransport = /** @class */ (function (_super) { + __extends(HTTPTransport, _super); + /** Create a new instance and set this.agent */ + function HTTPTransport(options) { + var _this = _super.call(this, options) || this; + _this.options = options; + var proxy = _this._getProxy('http'); + _this.module = http; + _this.client = proxy + ? new (require('https-proxy-agent'))(proxy) + : new http.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 }); + return _this; + } + /** + * @inheritDoc + */ + HTTPTransport.prototype.sendEvent = function (event) { + return this._send(eventToSentryRequest(event, this._api), event); + }; + /** + * @inheritDoc + */ + HTTPTransport.prototype.sendSession = function (session) { + return this._send(sessionToSentryRequest(session, this._api), session); + }; + return HTTPTransport; +}(BaseTransport)); +export { HTTPTransport }; +//# sourceMappingURL=http.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/http.js.map b/node_modules/@sentry/node/esm/transports/http.js.map new file mode 100644 index 000000000..28c13613a --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/http.js.map @@ -0,0 +1 @@ +{"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/transports/http.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE5E,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,iCAAiC;AACjC;IAAmC,iCAAa;IAC9C,+CAA+C;IAC/C,uBAA0B,OAAyB;QAAnD,YACE,kBAAM,OAAO,CAAC,SAMf;QAPyB,aAAO,GAAP,OAAO,CAAkB;QAEjD,IAAM,KAAK,GAAG,KAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QACrC,KAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,KAAI,CAAC,MAAM,GAAG,KAAK;YACjB,CAAC,CAAE,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAgB;YAC3D,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;;IAC1E,CAAC;IAED;;OAEG;IACI,iCAAS,GAAhB,UAAiB,KAAY;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACI,mCAAW,GAAlB,UAAmB,OAAoC;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IACH,oBAAC;AAAD,CAAC,AAxBD,CAAmC,aAAa,GAwB/C","sourcesContent":["import { eventToSentryRequest, sessionToSentryRequest } from '@sentry/core';\nimport { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types';\nimport * as http from 'http';\n\nimport { BaseTransport } from './base';\n\n/** Node http module transport */\nexport class HTTPTransport extends BaseTransport {\n /** Create a new instance and set this.agent */\n public constructor(public options: TransportOptions) {\n super(options);\n const proxy = this._getProxy('http');\n this.module = http;\n this.client = proxy\n ? (new (require('https-proxy-agent'))(proxy) as http.Agent)\n : new http.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 });\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): Promise {\n return this._send(eventToSentryRequest(event, this._api), event);\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session | SessionAggregates): PromiseLike {\n return this._send(sessionToSentryRequest(session, this._api), session);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/https.d.ts b/node_modules/@sentry/node/esm/transports/https.d.ts new file mode 100644 index 000000000..b00d4f8bc --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/https.d.ts @@ -0,0 +1,17 @@ +import { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types'; +import { BaseTransport } from './base'; +/** Node https module transport */ +export declare class HTTPSTransport extends BaseTransport { + options: TransportOptions; + /** Create a new instance and set this.agent */ + constructor(options: TransportOptions); + /** + * @inheritDoc + */ + sendEvent(event: Event): Promise; + /** + * @inheritDoc + */ + sendSession(session: Session | SessionAggregates): PromiseLike; +} +//# sourceMappingURL=https.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/https.d.ts.map b/node_modules/@sentry/node/esm/transports/https.d.ts.map new file mode 100644 index 000000000..a162c5733 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/https.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"https.d.ts","sourceRoot":"","sources":["../../src/transports/https.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAG9F,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,kCAAkC;AAClC,qBAAa,cAAe,SAAQ,aAAa;IAErB,OAAO,EAAE,gBAAgB;IADnD,+CAA+C;gBACrB,OAAO,EAAE,gBAAgB;IASnD;;OAEG;IACI,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,QAAQ,CAAC;IAIjD;;OAEG;IACI,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,GAAG,WAAW,CAAC,QAAQ,CAAC;CAGhF"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/https.js b/node_modules/@sentry/node/esm/transports/https.js new file mode 100644 index 000000000..e08cf0525 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/https.js @@ -0,0 +1,34 @@ +import { __extends } from "tslib"; +import { eventToSentryRequest, sessionToSentryRequest } from '@sentry/core'; +import * as https from 'https'; +import { BaseTransport } from './base'; +/** Node https module transport */ +var HTTPSTransport = /** @class */ (function (_super) { + __extends(HTTPSTransport, _super); + /** Create a new instance and set this.agent */ + function HTTPSTransport(options) { + var _this = _super.call(this, options) || this; + _this.options = options; + var proxy = _this._getProxy('https'); + _this.module = https; + _this.client = proxy + ? new (require('https-proxy-agent'))(proxy) + : new https.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 }); + return _this; + } + /** + * @inheritDoc + */ + HTTPSTransport.prototype.sendEvent = function (event) { + return this._send(eventToSentryRequest(event, this._api), event); + }; + /** + * @inheritDoc + */ + HTTPSTransport.prototype.sendSession = function (session) { + return this._send(sessionToSentryRequest(session, this._api), session); + }; + return HTTPSTransport; +}(BaseTransport)); +export { HTTPSTransport }; +//# sourceMappingURL=https.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/https.js.map b/node_modules/@sentry/node/esm/transports/https.js.map new file mode 100644 index 000000000..4ba81c2e3 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/https.js.map @@ -0,0 +1 @@ +{"version":3,"file":"https.js","sourceRoot":"","sources":["../../src/transports/https.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE5E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,kCAAkC;AAClC;IAAoC,kCAAa;IAC/C,+CAA+C;IAC/C,wBAA0B,OAAyB;QAAnD,YACE,kBAAM,OAAO,CAAC,SAMf;QAPyB,aAAO,GAAP,OAAO,CAAkB;QAEjD,IAAM,KAAK,GAAG,KAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACtC,KAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,KAAI,CAAC,MAAM,GAAG,KAAK;YACjB,CAAC,CAAE,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAiB;YAC5D,CAAC,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;;IAC3E,CAAC;IAED;;OAEG;IACI,kCAAS,GAAhB,UAAiB,KAAY;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACI,oCAAW,GAAlB,UAAmB,OAAoC;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IACH,qBAAC;AAAD,CAAC,AAxBD,CAAoC,aAAa,GAwBhD","sourcesContent":["import { eventToSentryRequest, sessionToSentryRequest } from '@sentry/core';\nimport { Event, Response, Session, SessionAggregates, TransportOptions } from '@sentry/types';\nimport * as https from 'https';\n\nimport { BaseTransport } from './base';\n\n/** Node https module transport */\nexport class HTTPSTransport extends BaseTransport {\n /** Create a new instance and set this.agent */\n public constructor(public options: TransportOptions) {\n super(options);\n const proxy = this._getProxy('https');\n this.module = https;\n this.client = proxy\n ? (new (require('https-proxy-agent'))(proxy) as https.Agent)\n : new https.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 });\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): Promise {\n return this._send(eventToSentryRequest(event, this._api), event);\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session | SessionAggregates): PromiseLike {\n return this._send(sessionToSentryRequest(session, this._api), session);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/index.d.ts b/node_modules/@sentry/node/esm/transports/index.d.ts new file mode 100644 index 000000000..827c07947 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/index.d.ts @@ -0,0 +1,4 @@ +export { BaseTransport } from './base'; +export { HTTPTransport } from './http'; +export { HTTPSTransport } from './https'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/index.d.ts.map b/node_modules/@sentry/node/esm/transports/index.d.ts.map new file mode 100644 index 000000000..25b90b3cc --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/index.js b/node_modules/@sentry/node/esm/transports/index.js new file mode 100644 index 000000000..f4aed0b63 --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/index.js @@ -0,0 +1,4 @@ +export { BaseTransport } from './base'; +export { HTTPTransport } from './http'; +export { HTTPSTransport } from './https'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/transports/index.js.map b/node_modules/@sentry/node/esm/transports/index.js.map new file mode 100644 index 000000000..c625f95bb --- /dev/null +++ b/node_modules/@sentry/node/esm/transports/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/transports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC","sourcesContent":["export { BaseTransport } from './base';\nexport { HTTPTransport } from './http';\nexport { HTTPSTransport } from './https';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/types.d.ts b/node_modules/@sentry/node/esm/types.d.ts new file mode 100644 index 000000000..37ffbf21d --- /dev/null +++ b/node_modules/@sentry/node/esm/types.d.ts @@ -0,0 +1,22 @@ +import { Options } from '@sentry/types'; +/** + * Configuration options for the Sentry Node SDK. + * @see NodeClient for more information. + */ +export interface NodeOptions extends Options { + /** Sets an optional server name (device name) */ + serverName?: string; + /** Maximum time in milliseconds to wait to drain the request queue, before the process is allowed to exit. */ + shutdownTimeout?: number; + /** Set a HTTP proxy that should be used for outbound requests. */ + httpProxy?: string; + /** Set a HTTPS proxy that should be used for outbound requests. */ + httpsProxy?: string; + /** HTTPS proxy certificates path */ + caCerts?: string; + /** Sets the number of context lines for each frame when loading a file. */ + frameContextLines?: number; + /** Callback that is executed when a fatal global error occurs. */ + onFatalError?(error: Error): void; +} +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/types.d.ts.map b/node_modules/@sentry/node/esm/types.d.ts.map new file mode 100644 index 000000000..ff76ae36a --- /dev/null +++ b/node_modules/@sentry/node/esm/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;GAGG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO;IAC1C,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,8GAA8G;IAC9G,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,2EAA2E;IAC3E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,kEAAkE;IAClE,YAAY,CAAC,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACnC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/types.js b/node_modules/@sentry/node/esm/types.js new file mode 100644 index 000000000..5b2306a4c --- /dev/null +++ b/node_modules/@sentry/node/esm/types.js @@ -0,0 +1 @@ +//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/types.js.map b/node_modules/@sentry/node/esm/types.js.map new file mode 100644 index 000000000..aa4085333 --- /dev/null +++ b/node_modules/@sentry/node/esm/types.js.map @@ -0,0 +1 @@ +{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["import { Options } from '@sentry/types';\n\n/**\n * Configuration options for the Sentry Node SDK.\n * @see NodeClient for more information.\n */\nexport interface NodeOptions extends Options {\n /** Sets an optional server name (device name) */\n serverName?: string;\n\n /** Maximum time in milliseconds to wait to drain the request queue, before the process is allowed to exit. */\n shutdownTimeout?: number;\n\n /** Set a HTTP proxy that should be used for outbound requests. */\n httpProxy?: string;\n\n /** Set a HTTPS proxy that should be used for outbound requests. */\n httpsProxy?: string;\n\n /** HTTPS proxy certificates path */\n caCerts?: string;\n\n /** Sets the number of context lines for each frame when loading a file. */\n frameContextLines?: number;\n\n /** Callback that is executed when a fatal global error occurs. */\n onFatalError?(error: Error): void;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/utils.d.ts b/node_modules/@sentry/node/esm/utils.d.ts new file mode 100644 index 000000000..70646808c --- /dev/null +++ b/node_modules/@sentry/node/esm/utils.d.ts @@ -0,0 +1,9 @@ +/** + * Recursively read the contents of a directory. + * + * @param targetDir Absolute or relative path of the directory to scan. All returned paths will be relative to this + * directory. + * @returns Array holding all relative paths + */ +export declare function deepReadDirSync(targetDir: string): string[]; +//# sourceMappingURL=utils.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/utils.d.ts.map b/node_modules/@sentry/node/esm/utils.d.ts.map new file mode 100644 index 000000000..6638da821 --- /dev/null +++ b/node_modules/@sentry/node/esm/utils.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CA2B3D"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/utils.js b/node_modules/@sentry/node/esm/utils.js new file mode 100644 index 000000000..e3706ef7d --- /dev/null +++ b/node_modules/@sentry/node/esm/utils.js @@ -0,0 +1,33 @@ +import { __read, __spread } from "tslib"; +import * as fs from 'fs'; +import * as path from 'path'; +/** + * Recursively read the contents of a directory. + * + * @param targetDir Absolute or relative path of the directory to scan. All returned paths will be relative to this + * directory. + * @returns Array holding all relative paths + */ +export function deepReadDirSync(targetDir) { + var targetDirAbsPath = path.resolve(targetDir); + if (!fs.existsSync(targetDirAbsPath)) { + throw new Error("Cannot read contents of " + targetDirAbsPath + ". Directory does not exist."); + } + if (!fs.statSync(targetDirAbsPath).isDirectory()) { + throw new Error("Cannot read contents of " + targetDirAbsPath + ", because it is not a directory."); + } + // This does the same thing as its containing function, `deepReadDirSync` (except that - purely for convenience - it + // deals in absolute paths rather than relative ones). We need this to be separate from the outer function to preserve + // the difference between `targetDirAbsPath` and `currentDirAbsPath`. + var deepReadCurrentDir = function (currentDirAbsPath) { + return fs.readdirSync(currentDirAbsPath).reduce(function (absPaths, itemName) { + var itemAbsPath = path.join(currentDirAbsPath, itemName); + if (fs.statSync(itemAbsPath).isDirectory()) { + return __spread(absPaths, deepReadCurrentDir(itemAbsPath)); + } + return __spread(absPaths, [itemAbsPath]); + }, []); + }; + return deepReadCurrentDir(targetDirAbsPath).map(function (absPath) { return path.relative(targetDirAbsPath, absPath); }); +} +//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/utils.js.map b/node_modules/@sentry/node/esm/utils.js.map new file mode 100644 index 000000000..055f59b2d --- /dev/null +++ b/node_modules/@sentry/node/esm/utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,SAAiB;IAC/C,IAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAEjD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE;QACpC,MAAM,IAAI,KAAK,CAAC,6BAA2B,gBAAgB,gCAA6B,CAAC,CAAC;KAC3F;IAED,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,WAAW,EAAE,EAAE;QAChD,MAAM,IAAI,KAAK,CAAC,6BAA2B,gBAAgB,qCAAkC,CAAC,CAAC;KAChG;IAED,oHAAoH;IACpH,sHAAsH;IACtH,qEAAqE;IACrE,IAAM,kBAAkB,GAAG,UAAC,iBAAyB;QACnD,OAAO,EAAE,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,UAAC,QAAkB,EAAE,QAAgB;YACnF,IAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;YAE3D,IAAI,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,EAAE;gBAC1C,gBAAW,QAAQ,EAAK,kBAAkB,CAAC,WAAW,CAAC,EAAE;aAC1D;YAED,gBAAW,QAAQ,GAAE,WAAW,GAAE;QACpC,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC,CAAC;IAEF,OAAO,kBAAkB,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,UAAA,OAAO,IAAI,OAAA,IAAI,CAAC,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC,EAAxC,CAAwC,CAAC,CAAC;AACvG,CAAC","sourcesContent":["import * as fs from 'fs';\nimport * as path from 'path';\n\n/**\n * Recursively read the contents of a directory.\n *\n * @param targetDir Absolute or relative path of the directory to scan. All returned paths will be relative to this\n * directory.\n * @returns Array holding all relative paths\n */\nexport function deepReadDirSync(targetDir: string): string[] {\n const targetDirAbsPath = path.resolve(targetDir);\n\n if (!fs.existsSync(targetDirAbsPath)) {\n throw new Error(`Cannot read contents of ${targetDirAbsPath}. Directory does not exist.`);\n }\n\n if (!fs.statSync(targetDirAbsPath).isDirectory()) {\n throw new Error(`Cannot read contents of ${targetDirAbsPath}, because it is not a directory.`);\n }\n\n // This does the same thing as its containing function, `deepReadDirSync` (except that - purely for convenience - it\n // deals in absolute paths rather than relative ones). We need this to be separate from the outer function to preserve\n // the difference between `targetDirAbsPath` and `currentDirAbsPath`.\n const deepReadCurrentDir = (currentDirAbsPath: string): string[] => {\n return fs.readdirSync(currentDirAbsPath).reduce((absPaths: string[], itemName: string) => {\n const itemAbsPath = path.join(currentDirAbsPath, itemName);\n\n if (fs.statSync(itemAbsPath).isDirectory()) {\n return [...absPaths, ...deepReadCurrentDir(itemAbsPath)];\n }\n\n return [...absPaths, itemAbsPath];\n }, []);\n };\n\n return deepReadCurrentDir(targetDirAbsPath).map(absPath => path.relative(targetDirAbsPath, absPath));\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/version.d.ts b/node_modules/@sentry/node/esm/version.d.ts new file mode 100644 index 000000000..05058f6e4 --- /dev/null +++ b/node_modules/@sentry/node/esm/version.d.ts @@ -0,0 +1,2 @@ +export declare const SDK_NAME = "sentry.javascript.node"; +//# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/version.d.ts.map b/node_modules/@sentry/node/esm/version.d.ts.map new file mode 100644 index 000000000..bc53c93bf --- /dev/null +++ b/node_modules/@sentry/node/esm/version.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,2BAA2B,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/version.js b/node_modules/@sentry/node/esm/version.js new file mode 100644 index 000000000..99dd73632 --- /dev/null +++ b/node_modules/@sentry/node/esm/version.js @@ -0,0 +1,3 @@ +// TODO: Remove in the next major release and rely only on @sentry/core SDK_VERSION and SdkMetadata +export var SDK_NAME = 'sentry.javascript.node'; +//# sourceMappingURL=version.js.map \ No newline at end of file diff --git a/node_modules/@sentry/node/esm/version.js.map b/node_modules/@sentry/node/esm/version.js.map new file mode 100644 index 000000000..804c48450 --- /dev/null +++ b/node_modules/@sentry/node/esm/version.js.map @@ -0,0 +1 @@ +{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,MAAM,CAAC,IAAM,QAAQ,GAAG,wBAAwB,CAAC","sourcesContent":["// TODO: Remove in the next major release and rely only on @sentry/core SDK_VERSION and SdkMetadata\nexport const SDK_NAME = 'sentry.javascript.node';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/node/node_modules/tslib/CopyrightNotice.txt b/node_modules/@sentry/node/node_modules/tslib/CopyrightNotice.txt new file mode 100644 index 000000000..3d4c82348 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/CopyrightNotice.txt @@ -0,0 +1,15 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + diff --git a/node_modules/@sentry/node/node_modules/tslib/LICENSE.txt b/node_modules/@sentry/node/node_modules/tslib/LICENSE.txt new file mode 100644 index 000000000..bfe6430cb --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/LICENSE.txt @@ -0,0 +1,12 @@ +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/node_modules/@sentry/node/node_modules/tslib/README.md b/node_modules/@sentry/node/node_modules/tslib/README.md new file mode 100644 index 000000000..a5b2692c8 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/README.md @@ -0,0 +1,142 @@ +# tslib + +This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions. + +This library is primarily used by the `--importHelpers` flag in TypeScript. +When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: + +```ts +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +exports.x = {}; +exports.y = __assign({}, exports.x); + +``` + +will instead be emitted as something like the following: + +```ts +var tslib_1 = require("tslib"); +exports.x = {}; +exports.y = tslib_1.__assign({}, exports.x); +``` + +Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. +For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. + +# Installing + +For the latest stable version, run: + +## npm + +```sh +# TypeScript 2.3.3 or later +npm install tslib + +# TypeScript 2.3.2 or earlier +npm install tslib@1.6.1 +``` + +## yarn + +```sh +# TypeScript 2.3.3 or later +yarn add tslib + +# TypeScript 2.3.2 or earlier +yarn add tslib@1.6.1 +``` + +## bower + +```sh +# TypeScript 2.3.3 or later +bower install tslib + +# TypeScript 2.3.2 or earlier +bower install tslib@1.6.1 +``` + +## JSPM + +```sh +# TypeScript 2.3.3 or later +jspm install tslib + +# TypeScript 2.3.2 or earlier +jspm install tslib@1.6.1 +``` + +# Usage + +Set the `importHelpers` compiler option on the command line: + +``` +tsc --importHelpers file.ts +``` + +or in your tsconfig.json: + +```json +{ + "compilerOptions": { + "importHelpers": true + } +} +``` + +#### For bower and JSPM users + +You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: + +```json +{ + "compilerOptions": { + "module": "amd", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["bower_components/tslib/tslib.d.ts"] + } + } +} +``` + +For JSPM users: + +```json +{ + "compilerOptions": { + "module": "system", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["jspm_packages/npm/tslib@1.[version].0/tslib.d.ts"] + } + } +} +``` + + +# Contribute + +There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. + +* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. +* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). +* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). +* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. +* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). + +# Documentation + +* [Quick tutorial](http://www.typescriptlang.org/Tutorial) +* [Programming handbook](http://www.typescriptlang.org/Handbook) +* [Homepage](http://www.typescriptlang.org/) diff --git a/node_modules/@sentry/node/node_modules/tslib/modules/index.js b/node_modules/@sentry/node/node_modules/tslib/modules/index.js new file mode 100644 index 000000000..d241d0422 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/modules/index.js @@ -0,0 +1,51 @@ +import tslib from '../tslib.js'; +const { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +} = tslib; +export { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +}; diff --git a/node_modules/@sentry/node/node_modules/tslib/modules/package.json b/node_modules/@sentry/node/node_modules/tslib/modules/package.json new file mode 100644 index 000000000..aafa0e4b4 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/modules/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/node_modules/@sentry/node/node_modules/tslib/package.json b/node_modules/@sentry/node/node_modules/tslib/package.json new file mode 100644 index 000000000..055e816fd --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/package.json @@ -0,0 +1,64 @@ +{ + "_from": "tslib@^1.9.3", + "_id": "tslib@1.14.1", + "_inBundle": false, + "_integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "_location": "/@sentry/node/tslib", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "tslib@^1.9.3", + "name": "tslib", + "escapedName": "tslib", + "rawSpec": "^1.9.3", + "saveSpec": null, + "fetchSpec": "^1.9.3" + }, + "_requiredBy": [ + "/@sentry/node" + ], + "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "_shasum": "cf2d38bdc34a134bcaf1091c41f6619e2f672d00", + "_spec": "tslib@^1.9.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/node", + "author": { + "name": "Microsoft Corp." + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Runtime library for TypeScript helper functions", + "exports": { + ".": { + "module": "./tslib.es6.js", + "import": "./modules/index.js", + "default": "./tslib.js" + }, + "./": "./" + }, + "homepage": "https://www.typescriptlang.org/", + "jsnext:main": "tslib.es6.js", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "license": "0BSD", + "main": "tslib.js", + "module": "tslib.es6.js", + "name": "tslib", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/tslib.git" + }, + "sideEffects": false, + "typings": "tslib.d.ts", + "version": "1.14.1" +} diff --git a/node_modules/@sentry/node/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js b/node_modules/@sentry/node/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js new file mode 100644 index 000000000..0c1b613d8 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js @@ -0,0 +1,23 @@ +// When on node 14, it validates that all of the commonjs exports +// are correctly re-exported for es modules importers. + +const nodeMajor = Number(process.version.split(".")[0].slice(1)) +if (nodeMajor < 14) { + console.log("Skipping because node does not support module exports.") + process.exit(0) +} + +// ES Modules import via the ./modules folder +import * as esTSLib from "../../modules/index.js" + +// Force a commonjs resolve +import { createRequire } from "module"; +const commonJSTSLib = createRequire(import.meta.url)("../../tslib.js"); + +for (const key in commonJSTSLib) { + if (commonJSTSLib.hasOwnProperty(key)) { + if(!esTSLib[key]) throw new Error(`ESModules is missing ${key} - it needs to be re-exported in ./modules/index.js`) + } +} + +console.log("All exports in commonjs are available for es module consumers.") diff --git a/node_modules/@sentry/node/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json b/node_modules/@sentry/node/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json new file mode 100644 index 000000000..166e5095e --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json @@ -0,0 +1,6 @@ +{ + "type": "module", + "scripts": { + "test": "node index.js" + } +} diff --git a/node_modules/@sentry/node/node_modules/tslib/tslib.d.ts b/node_modules/@sentry/node/node_modules/tslib/tslib.d.ts new file mode 100644 index 000000000..0756b28e7 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/tslib.d.ts @@ -0,0 +1,37 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +export declare function __extends(d: Function, b: Function): void; +export declare function __assign(t: any, ...sources: any[]): any; +export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; +export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; +export declare function __param(paramIndex: number, decorator: Function): Function; +export declare function __metadata(metadataKey: any, metadataValue: any): Function; +export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; +export declare function __generator(thisArg: any, body: Function): any; +export declare function __exportStar(m: any, exports: any): void; +export declare function __values(o: any): any; +export declare function __read(o: any, n?: number): any[]; +export declare function __spread(...args: any[][]): any[]; +export declare function __spreadArrays(...args: any[][]): any[]; +export declare function __await(v: any): any; +export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; +export declare function __asyncDelegator(o: any): any; +export declare function __asyncValues(o: any): any; +export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; +export declare function __importStar(mod: T): T; +export declare function __importDefault(mod: T): T | { default: T }; +export declare function __classPrivateFieldGet(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V; +export declare function __classPrivateFieldSet(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V; +export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; \ No newline at end of file diff --git a/node_modules/@sentry/node/node_modules/tslib/tslib.es6.html b/node_modules/@sentry/node/node_modules/tslib/tslib.es6.html new file mode 100644 index 000000000..b122e41b0 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/tslib.es6.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/node/node_modules/tslib/tslib.es6.js b/node_modules/@sentry/node/node_modules/tslib/tslib.es6.js new file mode 100644 index 000000000..0e0d8d079 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/tslib.es6.js @@ -0,0 +1,218 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +export function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +export var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +export function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +export function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +export function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +export function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +export function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +export function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +export function __createBinding(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +} + +export function __exportStar(m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; +} + +export function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} + +export function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +export function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +export function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +}; + +export function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +export function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +export function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } +} + +export function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +export function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +export function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result.default = mod; + return result; +} + +export function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + +export function __classPrivateFieldGet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); +} + +export function __classPrivateFieldSet(receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; +} diff --git a/node_modules/@sentry/node/node_modules/tslib/tslib.html b/node_modules/@sentry/node/node_modules/tslib/tslib.html new file mode 100644 index 000000000..44c9ba51e --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/tslib.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/node/node_modules/tslib/tslib.js b/node_modules/@sentry/node/node_modules/tslib/tslib.js new file mode 100644 index 000000000..e5b7c9b80 --- /dev/null +++ b/node_modules/@sentry/node/node_modules/tslib/tslib.js @@ -0,0 +1,284 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + +/* global global, define, System, Reflect, Promise */ +var __extends; +var __assign; +var __rest; +var __decorate; +var __param; +var __metadata; +var __awaiter; +var __generator; +var __exportStar; +var __values; +var __read; +var __spread; +var __spreadArrays; +var __await; +var __asyncGenerator; +var __asyncDelegator; +var __asyncValues; +var __makeTemplateObject; +var __importStar; +var __importDefault; +var __classPrivateFieldGet; +var __classPrivateFieldSet; +var __createBinding; +(function (factory) { + var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; + if (typeof define === "function" && define.amd) { + define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); + } + else if (typeof module === "object" && typeof module.exports === "object") { + factory(createExporter(root, createExporter(module.exports))); + } + else { + factory(createExporter(root)); + } + function createExporter(exports, previous) { + if (exports !== root) { + if (typeof Object.create === "function") { + Object.defineProperty(exports, "__esModule", { value: true }); + } + else { + exports.__esModule = true; + } + } + return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; + } +}) +(function (exporter) { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + + __extends = function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + + __assign = Object.assign || function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + + __rest = function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + }; + + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + }; + + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + }; + + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); + }; + + __awaiter = function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + + __generator = function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + + __createBinding = function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }; + + __exportStar = function (m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; + }; + + __values = function (o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + }; + + __makeTemplateObject = function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + }; + + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; + }; + + __importDefault = function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + + __classPrivateFieldGet = function (receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); + }; + + __classPrivateFieldSet = function (receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; + }; + + exporter("__extends", __extends); + exporter("__assign", __assign); + exporter("__rest", __rest); + exporter("__decorate", __decorate); + exporter("__param", __param); + exporter("__metadata", __metadata); + exporter("__awaiter", __awaiter); + exporter("__generator", __generator); + exporter("__exportStar", __exportStar); + exporter("__createBinding", __createBinding); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__spreadArrays", __spreadArrays); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + exporter("__makeTemplateObject", __makeTemplateObject); + exporter("__importStar", __importStar); + exporter("__importDefault", __importDefault); + exporter("__classPrivateFieldGet", __classPrivateFieldGet); + exporter("__classPrivateFieldSet", __classPrivateFieldSet); +}); diff --git a/node_modules/@sentry/node/package.json b/node_modules/@sentry/node/package.json new file mode 100644 index 000000000..a3647295d --- /dev/null +++ b/node_modules/@sentry/node/package.json @@ -0,0 +1,122 @@ +{ + "_from": "@sentry/node@^6.17.4", + "_id": "@sentry/node@6.17.9", + "_inBundle": false, + "_integrity": "sha512-jbn+q7qPGOh6D7nYoYGaAlmuvMDpQmyMwBtUVYybuZp2AALe43O3Z4LtoJ+1+F31XowpsIPZx1mwNs4ZrILskA==", + "_location": "/@sentry/node", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@sentry/node@^6.17.4", + "name": "@sentry/node", + "escapedName": "@sentry%2fnode", + "scope": "@sentry", + "rawSpec": "^6.17.4", + "saveSpec": null, + "fetchSpec": "^6.17.4" + }, + "_requiredBy": [ + "/lighthouse" + ], + "_resolved": "https://registry.npmjs.org/@sentry/node/-/node-6.17.9.tgz", + "_shasum": "9a13e2fa1739a6b334eb6aa9e1e022d2c4083cb3", + "_spec": "@sentry/node@^6.17.4", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "author": { + "name": "Sentry" + }, + "bugs": { + "url": "https://github.com/getsentry/sentry-javascript/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@sentry/core": "6.17.9", + "@sentry/hub": "6.17.9", + "@sentry/tracing": "6.17.9", + "@sentry/types": "6.17.9", + "@sentry/utils": "6.17.9", + "cookie": "^0.4.1", + "https-proxy-agent": "^5.0.0", + "lru_map": "^0.3.3", + "tslib": "^1.9.3" + }, + "deprecated": false, + "description": "Official Sentry SDK for Node.js", + "devDependencies": { + "@types/cookie": "0.3.2", + "@types/express": "^4.17.2", + "@types/lru-cache": "^5.1.0", + "@types/node": "~10.17.0", + "express": "^4.17.1", + "nock": "^13.0.5" + }, + "engines": { + "node": ">=6" + }, + "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/node", + "jest": { + "collectCoverage": true, + "transform": { + "^.+\\.ts$": "ts-jest" + }, + "moduleFileExtensions": [ + "js", + "ts" + ], + "testEnvironment": "node", + "testMatch": [ + "**/*.test.ts" + ], + "globals": { + "ts-jest": { + "tsConfig": "./tsconfig.json", + "diagnostics": false + } + } + }, + "license": "BSD-3-Clause", + "main": "dist/index.js", + "module": "esm/index.js", + "name": "@sentry/node", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git://github.com/getsentry/sentry-javascript.git" + }, + "scripts": { + "build": "run-p build:cjs build:esm", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", + "build:dev": "run-s build", + "build:dev:watch": "run-s build:watch", + "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", + "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", + "build:esm": "tsc -p tsconfig.esm.json", + "build:esm:watch": "tsc -p tsconfig.esm.json --watch", + "build:watch": "run-p build:cjs:watch build:esm:watch", + "circularDepCheck": "madge --circular src/index.ts", + "clean": "rimraf dist esm coverage", + "fix": "run-s fix:eslint fix:prettier", + "fix:eslint": "eslint . --format stylish --fix", + "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"", + "link:yarn": "yarn link", + "lint": "run-s lint:prettier lint:eslint", + "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish", + "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"", + "pack": "npm pack", + "test": "run-s test:jest test:express test:webpack test:release-health", + "test:express": "node test/manual/express-scope-separation/start.js", + "test:jest": "jest", + "test:release-health": "node test/manual/release-health/runner.js", + "test:watch": "jest --watch", + "test:webpack": "cd test/manual/webpack-domain/ && yarn && node npm-build.js" + }, + "types": "dist/index.d.ts", + "version": "6.17.9", + "volta": { + "extends": "../../package.json" + } +} diff --git a/node_modules/@sentry/tracing/LICENSE b/node_modules/@sentry/tracing/LICENSE new file mode 100644 index 000000000..22fef4436 --- /dev/null +++ b/node_modules/@sentry/tracing/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Sentry (https://sentry.io/) and individual contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/@sentry/tracing/README.md b/node_modules/@sentry/tracing/README.md new file mode 100644 index 000000000..5454433f7 --- /dev/null +++ b/node_modules/@sentry/tracing/README.md @@ -0,0 +1,163 @@ +

+ + + +
+

+ +# Sentry Tracing Extensions + +[![npm version](https://img.shields.io/npm/v/@sentry/tracing.svg)](https://www.npmjs.com/package/@sentry/tracing) +[![npm dm](https://img.shields.io/npm/dm/@sentry/tracing.svg)](https://www.npmjs.com/package/@sentry/tracing) +[![npm dt](https://img.shields.io/npm/dt/@sentry/tracing.svg)](https://www.npmjs.com/package/@sentry/tracing) +[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/) + +## Links + +- [Official SDK Docs](https://docs.sentry.io/quickstart/) +- [TypeDoc](http://getsentry.github.io/sentry-javascript/) + +## General + +This package contains extensions to the `@sentry/hub` to enable Sentry AM related functionality. It also provides integrations for Browser and Node that provide a good experience out of the box. + +## Migrating from @sentry/apm to @sentry/tracing + +The tracing integration for JavaScript SDKs has moved from +[`@sentry/apm`](https://www.npmjs.com/package/@sentry/apm) to +[`@sentry/tracing`](https://www.npmjs.com/package/@sentry/tracing). While the +two packages are similar, some imports and APIs have changed slightly. + +The old package `@sentry/apm` is deprecated in favor of `@sentry/tracing`. +Future support for `@sentry/apm` is limited to bug fixes only. + +## Migrating from @sentry/apm to @sentry/tracing + +### Browser (CDN bundle) + +If you were using the Browser CDN bundle, switch from the old +`bundle.apm.min.js` to the new tracing bundle: + +```html + +``` + +And then update `Sentry.init`: + +```diff + Sentry.init({ +- integrations: [new Sentry.Integrations.Tracing()] ++ integrations: [new Sentry.Integrations.BrowserTracing()] + }); +``` + +### Browser (npm package) + +If you were using automatic instrumentation, update the import statement and +update `Sentry.init` to use the new `BrowserTracing` integration: + +```diff + import * as Sentry from "@sentry/browser"; +-import { Integrations } from "@sentry/apm"; ++import { Integrations } from "@sentry/tracing"; + + Sentry.init({ + integrations: [ +- new Integrations.Tracing(), ++ new Integrations.BrowserTracing(), + ] + }); +``` + +If you were using the `beforeNavigate` option from the `Tracing` integration, +the API in `BrowserTracing` has changed slightly. Instead of passing in a +location and returning a string representing transaction name, `beforeNavigate` +now accepts a transaction context and is expected to return a transaction +context. You can now add extra tags or change the `op` based on different +parameters. If you want to access the location like before, you can get it from +`window.location`. + +For example, if you had a function like so that computed a custom transaction +name: + +```javascript +import * as Sentry from "@sentry/browser"; +import { Integrations } from "@sentry/apm"; + +Sentry.init({ + integrations: [ + new Integrations.Tracing({ + beforeNavigate: location => { + return getTransactionName(location); + }, + }), + ], +}); +``` + +You would now leverage the context to do the same thing: + +```javascript +import * as Sentry from "@sentry/browser"; +import { Integrations } from "@sentry/tracing"; + +Sentry.init({ + integrations: [ + new Integrations.BrowserTracing({ + beforeNavigate: context => { + return { + ...context, + // Can even look at context tags or other data to adjust + // transaction name + name: getTransactionName(window.location), + }; + }, + }), + ], +}); +``` + +For the full diff: + +```diff + import * as Sentry from "@sentry/browser"; +-import { Integrations } from "@sentry/apm"; ++import { Integrations } from "@sentry/tracing"; + + Sentry.init({ + integrations: [ +- new Integrations.Tracing({ +- beforeNavigate: (location) => { +- return getTransactionName(location) ++ new Integrations.BrowserTracing({ ++ beforeNavigate: (ctx) => { ++ return { ++ ...ctx, ++ name: getTransactionName(ctx.name, window.location) ++ } + } + }), + ] + }); +``` + +### Node + +If you were using the Express integration for automatic instrumentation, the +only necessary change is to update the import statement: + +```diff + import * as Sentry from "@sentry/node"; +-import { Integrations } from "@sentry/apm"; ++import { Integrations } from "@sentry/tracing"; + + Sentry.init({ + integrations: [ + new Integrations.Express(), + ] + }); +``` diff --git a/node_modules/@sentry/tracing/build/bundle.tracing.js b/node_modules/@sentry/tracing/build/bundle.tracing.js new file mode 100644 index 000000000..ca4b37fae --- /dev/null +++ b/node_modules/@sentry/tracing/build/bundle.tracing.js @@ -0,0 +1,8873 @@ +/*! @sentry/tracing & @sentry/browser 6.17.9 (4ef06bf) | https://github.com/getsentry/sentry-javascript */ +var Sentry = (function (exports) { + + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */ + /* global Reflect, Promise */ + + var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + + function __extends(d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + } + + var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); + }; + + function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + } + + function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + } + + function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + } + + /** @deprecated */ + function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + } + + /** + * TODO(v7): Remove this enum and replace with SeverityLevel + */ + exports.Severity = void 0; + (function (Severity) { + /** JSDoc */ + Severity["Fatal"] = "fatal"; + /** JSDoc */ + Severity["Error"] = "error"; + /** JSDoc */ + Severity["Warning"] = "warning"; + /** JSDoc */ + Severity["Log"] = "log"; + /** JSDoc */ + Severity["Info"] = "info"; + /** JSDoc */ + Severity["Debug"] = "debug"; + /** JSDoc */ + Severity["Critical"] = "critical"; + })(exports.Severity || (exports.Severity = {})); + + /** + * Consumes the promise and logs the error when it rejects. + * @param promise A promise to forget. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function forget(promise) { + void promise.then(null, function (e) { + // TODO: Use a better logging mechanism + // eslint-disable-next-line no-console + console.error(e); + }); + } + + /** + * This module mostly exists for optimizations in the build process + * through rollup and terser. We define some global constants which + * are normally undefined. However terser overrides these with global + * definitions which can be evaluated by the static analyzer when + * creating a bundle. + * + * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure + * and can help us remove unused code from the bundles. + */ + /** + * Figures out if we're building with debug functionality. + * + * @returns true if this is a debug build + */ + function isDebugBuild() { + return typeof __SENTRY_NO_DEBUG__ !== 'undefined' && !true; + } + + /** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ + var fallbackGlobalObject = {}; + /** + * Safely get global scope object + * + * @returns Global scope object + */ + function getGlobalObject() { + return (typeof window !== 'undefined' // eslint-disable-line no-restricted-globals + ? window // eslint-disable-line no-restricted-globals + : typeof self !== 'undefined' + ? self + : fallbackGlobalObject); + } + + /* eslint-disable @typescript-eslint/no-explicit-any */ + /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ + // eslint-disable-next-line @typescript-eslint/unbound-method + var objectToString = Object.prototype.toString; + /** + * Checks whether given value's type is one of a few Error or Error-like + * {@link isError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isError(wat) { + switch (objectToString.call(wat)) { + case '[object Error]': + case '[object Exception]': + case '[object DOMException]': + return true; + default: + return isInstanceOf(wat, Error); + } + } + function isBuiltin(wat, ty) { + return objectToString.call(wat) === "[object " + ty + "]"; + } + /** + * Checks whether given value's type is ErrorEvent + * {@link isErrorEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isErrorEvent(wat) { + return isBuiltin(wat, 'ErrorEvent'); + } + /** + * Checks whether given value's type is DOMError + * {@link isDOMError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isDOMError(wat) { + return isBuiltin(wat, 'DOMError'); + } + /** + * Checks whether given value's type is DOMException + * {@link isDOMException}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isDOMException(wat) { + return isBuiltin(wat, 'DOMException'); + } + /** + * Checks whether given value's type is a string + * {@link isString}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isString(wat) { + return isBuiltin(wat, 'String'); + } + /** + * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol) + * {@link isPrimitive}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isPrimitive(wat) { + return wat === null || (typeof wat !== 'object' && typeof wat !== 'function'); + } + /** + * Checks whether given value's type is an object literal + * {@link isPlainObject}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isPlainObject(wat) { + return isBuiltin(wat, 'Object'); + } + /** + * Checks whether given value's type is an Event instance + * {@link isEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isEvent(wat) { + return typeof Event !== 'undefined' && isInstanceOf(wat, Event); + } + /** + * Checks whether given value's type is an Element instance + * {@link isElement}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isElement(wat) { + return typeof Element !== 'undefined' && isInstanceOf(wat, Element); + } + /** + * Checks whether given value's type is an regexp + * {@link isRegExp}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isRegExp(wat) { + return isBuiltin(wat, 'RegExp'); + } + /** + * Checks whether given value has a then function. + * @param wat A value to be checked. + */ + function isThenable(wat) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return Boolean(wat && wat.then && typeof wat.then === 'function'); + } + /** + * Checks whether given value's type is a SyntheticEvent + * {@link isSyntheticEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ + function isSyntheticEvent(wat) { + return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat; + } + /** + * Checks whether given value's type is an instance of provided constructor. + * {@link isInstanceOf}. + * + * @param wat A value to be checked. + * @param base A constructor to be used in a check. + * @returns A boolean representing the result. + */ + function isInstanceOf(wat, base) { + try { + return wat instanceof base; + } + catch (_e) { + return false; + } + } + + /** + * Given a child DOM element, returns a query-selector statement describing that + * and its ancestors + * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz] + * @returns generated DOM path + */ + function htmlTreeAsString(elem, keyAttrs) { + // try/catch both: + // - accessing event.target (see getsentry/raven-js#838, #768) + // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly + // - can throw an exception in some circumstances. + try { + var currentElem = elem; + var MAX_TRAVERSE_HEIGHT = 5; + var MAX_OUTPUT_LEN = 80; + var out = []; + var height = 0; + var len = 0; + var separator = ' > '; + var sepLength = separator.length; + var nextStr = void 0; + // eslint-disable-next-line no-plusplus + while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) { + nextStr = _htmlElementAsString(currentElem, keyAttrs); + // bail out if + // - nextStr is the 'html' element + // - the length of the string that would be created exceeds MAX_OUTPUT_LEN + // (ignore this limit if we are on the first iteration) + if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) { + break; + } + out.push(nextStr); + len += nextStr.length; + currentElem = currentElem.parentNode; + } + return out.reverse().join(separator); + } + catch (_oO) { + return ''; + } + } + /** + * Returns a simple, query-selector representation of a DOM element + * e.g. [HTMLElement] => input#foo.btn[name=baz] + * @returns generated DOM path + */ + function _htmlElementAsString(el, keyAttrs) { + var elem = el; + var out = []; + var className; + var classes; + var key; + var attr; + var i; + if (!elem || !elem.tagName) { + return ''; + } + out.push(elem.tagName.toLowerCase()); + // Pairs of attribute keys defined in `serializeAttribute` and their values on element. + var keyAttrPairs = keyAttrs && keyAttrs.length + ? keyAttrs.filter(function (keyAttr) { return elem.getAttribute(keyAttr); }).map(function (keyAttr) { return [keyAttr, elem.getAttribute(keyAttr)]; }) + : null; + if (keyAttrPairs && keyAttrPairs.length) { + keyAttrPairs.forEach(function (keyAttrPair) { + out.push("[" + keyAttrPair[0] + "=\"" + keyAttrPair[1] + "\"]"); + }); + } + else { + if (elem.id) { + out.push("#" + elem.id); + } + // eslint-disable-next-line prefer-const + className = elem.className; + if (className && isString(className)) { + classes = className.split(/\s+/); + for (i = 0; i < classes.length; i++) { + out.push("." + classes[i]); + } + } + } + var allowedAttrs = ['type', 'name', 'title', 'alt']; + for (i = 0; i < allowedAttrs.length; i++) { + key = allowedAttrs[i]; + attr = elem.getAttribute(key); + if (attr) { + out.push("[" + key + "=\"" + attr + "\"]"); + } + } + return out.join(''); + } + /** + * A safe form of location.href + */ + function getLocationHref() { + var global = getGlobalObject(); + try { + return global.document.location.href; + } + catch (oO) { + return ''; + } + } + + var setPrototypeOf = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties); + /** + * setPrototypeOf polyfill using __proto__ + */ + // eslint-disable-next-line @typescript-eslint/ban-types + function setProtoOf(obj, proto) { + // @ts-ignore __proto__ does not exist on obj + obj.__proto__ = proto; + return obj; + } + /** + * setPrototypeOf polyfill using mixin + */ + // eslint-disable-next-line @typescript-eslint/ban-types + function mixinProperties(obj, proto) { + for (var prop in proto) { + if (!Object.prototype.hasOwnProperty.call(obj, prop)) { + // @ts-ignore typescript complains about indexing so we remove + obj[prop] = proto[prop]; + } + } + return obj; + } + + /** An error emitted by Sentry SDKs and related utilities. */ + var SentryError = /** @class */ (function (_super) { + __extends(SentryError, _super); + function SentryError(message) { + var _newTarget = this.constructor; + var _this = _super.call(this, message) || this; + _this.message = message; + _this.name = _newTarget.prototype.constructor.name; + setPrototypeOf(_this, _newTarget.prototype); + return _this; + } + return SentryError; + }(Error)); + + /** Regular expression used to parse a Dsn. */ + var DSN_REGEX = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/; + function isValidProtocol(protocol) { + return protocol === 'http' || protocol === 'https'; + } + /** + * Renders the string representation of this Dsn. + * + * By default, this will render the public representation without the password + * component. To get the deprecated private representation, set `withPassword` + * to true. + * + * @param withPassword When set to true, the password will be included. + */ + function dsnToString(dsn, withPassword) { + if (withPassword === void 0) { withPassword = false; } + var host = dsn.host, path = dsn.path, pass = dsn.pass, port = dsn.port, projectId = dsn.projectId, protocol = dsn.protocol, publicKey = dsn.publicKey; + return (protocol + "://" + publicKey + (withPassword && pass ? ":" + pass : '') + + ("@" + host + (port ? ":" + port : '') + "/" + (path ? path + "/" : path) + projectId)); + } + function dsnFromString(str) { + var match = DSN_REGEX.exec(str); + if (!match) { + throw new SentryError("Invalid Sentry Dsn: " + str); + } + var _a = __read(match.slice(1), 6), protocol = _a[0], publicKey = _a[1], _b = _a[2], pass = _b === void 0 ? '' : _b, host = _a[3], _c = _a[4], port = _c === void 0 ? '' : _c, lastPath = _a[5]; + var path = ''; + var projectId = lastPath; + var split = projectId.split('/'); + if (split.length > 1) { + path = split.slice(0, -1).join('/'); + projectId = split.pop(); + } + if (projectId) { + var projectMatch = projectId.match(/^\d+/); + if (projectMatch) { + projectId = projectMatch[0]; + } + } + return dsnFromComponents({ host: host, pass: pass, path: path, projectId: projectId, port: port, protocol: protocol, publicKey: publicKey }); + } + function dsnFromComponents(components) { + // TODO this is for backwards compatibility, and can be removed in a future version + if ('user' in components && !('publicKey' in components)) { + components.publicKey = components.user; + } + return { + user: components.publicKey || '', + protocol: components.protocol, + publicKey: components.publicKey || '', + pass: components.pass || '', + host: components.host, + port: components.port || '', + path: components.path || '', + projectId: components.projectId, + }; + } + function validateDsn(dsn) { + if (!isDebugBuild()) { + return; + } + var port = dsn.port, projectId = dsn.projectId, protocol = dsn.protocol; + var requiredComponents = ['protocol', 'publicKey', 'host', 'projectId']; + requiredComponents.forEach(function (component) { + if (!dsn[component]) { + throw new SentryError("Invalid Sentry Dsn: " + component + " missing"); + } + }); + if (!projectId.match(/^\d+$/)) { + throw new SentryError("Invalid Sentry Dsn: Invalid projectId " + projectId); + } + if (!isValidProtocol(protocol)) { + throw new SentryError("Invalid Sentry Dsn: Invalid protocol " + protocol); + } + if (port && isNaN(parseInt(port, 10))) { + throw new SentryError("Invalid Sentry Dsn: Invalid port " + port); + } + return true; + } + /** The Sentry Dsn, identifying a Sentry instance and project. */ + function makeDsn(from) { + var components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from); + validateDsn(components); + return components; + } + + var SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical']; + + // TODO: Implement different loggers for different environments + var global$9 = getGlobalObject(); + /** Prefix for logging strings */ + var PREFIX = 'Sentry Logger '; + /** + * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods. + * Restores wrapping after the callback completes. + * + * @param callback The function to run against the original `console` messages + * @returns The results of the callback + */ + function consoleSandbox(callback) { + var global = getGlobalObject(); + var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert']; + if (!('console' in global)) { + return callback(); + } + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var originalConsole = global.console; + var wrappedLevels = {}; + // Restore all wrapped console methods + levels.forEach(function (level) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (level in global.console && originalConsole[level].__sentry_original__) { + wrappedLevels[level] = originalConsole[level]; + originalConsole[level] = originalConsole[level].__sentry_original__; + } + }); + // Perform callback manipulations + var result = callback(); + // Revert restoration to wrapped state + Object.keys(wrappedLevels).forEach(function (level) { + originalConsole[level] = wrappedLevels[level]; + }); + return result; + } + /** JSDoc */ + var Logger = /** @class */ (function () { + /** JSDoc */ + function Logger() { + this._enabled = false; + } + /** JSDoc */ + Logger.prototype.disable = function () { + this._enabled = false; + }; + /** JSDoc */ + Logger.prototype.enable = function () { + this._enabled = true; + }; + /** JSDoc */ + Logger.prototype.log = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global$9.console.log(PREFIX + "[Log]: " + args.join(' ')); + }); + }; + /** JSDoc */ + Logger.prototype.warn = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global$9.console.warn(PREFIX + "[Warn]: " + args.join(' ')); + }); + }; + /** JSDoc */ + Logger.prototype.error = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global$9.console.error(PREFIX + "[Error]: " + args.join(' ')); + }); + }; + return Logger; + }()); + // Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used + global$9.__SENTRY__ = global$9.__SENTRY__ || {}; + var logger = global$9.__SENTRY__.logger || (global$9.__SENTRY__.logger = new Logger()); + + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + /* eslint-disable @typescript-eslint/no-explicit-any */ + /** + * Helper to decycle json objects + */ + function memoBuilder() { + var hasWeakSet = typeof WeakSet === 'function'; + var inner = hasWeakSet ? new WeakSet() : []; + function memoize(obj) { + if (hasWeakSet) { + if (inner.has(obj)) { + return true; + } + inner.add(obj); + return false; + } + // eslint-disable-next-line @typescript-eslint/prefer-for-of + for (var i = 0; i < inner.length; i++) { + var value = inner[i]; + if (value === obj) { + return true; + } + } + inner.push(obj); + return false; + } + function unmemoize(obj) { + if (hasWeakSet) { + inner.delete(obj); + } + else { + for (var i = 0; i < inner.length; i++) { + if (inner[i] === obj) { + inner.splice(i, 1); + break; + } + } + } + } + return [memoize, unmemoize]; + } + + var STACKTRACE_LIMIT = 50; + /** + * Creates a stack parser with the supplied line parsers + * + * StackFrames are returned in the correct order for Sentry Exception + * frames and with Sentry SDK internal frames removed from the top and bottom + * + * */ + function createStackParser() { + var parsers = []; + for (var _i = 0; _i < arguments.length; _i++) { + parsers[_i] = arguments[_i]; + } + return function (stack, skipFirst) { + var e_1, _a, e_2, _b; + if (skipFirst === void 0) { skipFirst = 0; } + var frames = []; + try { + for (var _c = __values(stack.split('\n').slice(skipFirst)), _d = _c.next(); !_d.done; _d = _c.next()) { + var line = _d.value; + try { + for (var parsers_1 = (e_2 = void 0, __values(parsers)), parsers_1_1 = parsers_1.next(); !parsers_1_1.done; parsers_1_1 = parsers_1.next()) { + var parser = parsers_1_1.value; + var frame = parser(line); + if (frame) { + frames.push(frame); + break; + } + } + } + catch (e_2_1) { e_2 = { error: e_2_1 }; } + finally { + try { + if (parsers_1_1 && !parsers_1_1.done && (_b = parsers_1.return)) _b.call(parsers_1); + } + finally { if (e_2) throw e_2.error; } + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_d && !_d.done && (_a = _c.return)) _a.call(_c); + } + finally { if (e_1) throw e_1.error; } + } + return stripSentryFramesAndReverse(frames); + }; + } + /** + * @hidden + */ + function stripSentryFramesAndReverse(stack) { + if (!stack.length) { + return []; + } + var localStack = stack; + var firstFrameFunction = localStack[0].function || ''; + var lastFrameFunction = localStack[localStack.length - 1].function || ''; + // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call) + if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) { + localStack = localStack.slice(1); + } + // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call) + if (lastFrameFunction.indexOf('sentryWrapped') !== -1) { + localStack = localStack.slice(0, -1); + } + // The frame where the crash happened, should be the last entry in the array + return localStack + .slice(0, STACKTRACE_LIMIT) + .map(function (frame) { return (__assign(__assign({}, frame), { filename: frame.filename || localStack[0].filename, function: frame.function || '?' })); }) + .reverse(); + } + var defaultFunctionName = ''; + /** + * Safely extract function name from itself + */ + function getFunctionName(fn) { + try { + if (!fn || typeof fn !== 'function') { + return defaultFunctionName; + } + return fn.name || defaultFunctionName; + } + catch (e) { + // Just accessing custom props in some Selenium environments + // can cause a "Permission denied" exception (see raven-js#495). + return defaultFunctionName; + } + } + + /** + * Truncates given string to the maximum characters count + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string (0 = unlimited) + * @returns string Encoded + */ + function truncate(str, max) { + if (max === void 0) { max = 0; } + if (typeof str !== 'string' || max === 0) { + return str; + } + return str.length <= max ? str : str.substr(0, max) + "..."; + } + /** + * Join values in array + * @param input array of values to be joined together + * @param delimiter string to be placed in-between values + * @returns Joined values + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function safeJoin(input, delimiter) { + if (!Array.isArray(input)) { + return ''; + } + var output = []; + // eslint-disable-next-line @typescript-eslint/prefer-for-of + for (var i = 0; i < input.length; i++) { + var value = input[i]; + try { + output.push(String(value)); + } + catch (e) { + output.push('[value cannot be serialized]'); + } + } + return output.join(delimiter); + } + /** + * Checks if the value matches a regex or includes the string + * @param value The string value to be checked against + * @param pattern Either a regex or a string that must be contained in value + */ + function isMatchingPattern(value, pattern) { + if (!isString(value)) { + return false; + } + if (isRegExp(pattern)) { + return pattern.test(value); + } + if (typeof pattern === 'string') { + return value.indexOf(pattern) !== -1; + } + return false; + } + + /** + * Replace a method in an object with a wrapped version of itself. + * + * @param source An object that contains a method to be wrapped. + * @param name The name of the method to be wrapped. + * @param replacementFactory A higher-order function that takes the original version of the given method and returns a + * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to + * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`. + * @returns void + */ + function fill(source, name, replacementFactory) { + if (!(name in source)) { + return; + } + var original = source[name]; + var wrapped = replacementFactory(original); + // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work + // otherwise it'll throw "TypeError: Object.defineProperties called on non-object" + if (typeof wrapped === 'function') { + try { + markFunctionWrapped(wrapped, original); + } + catch (_Oo) { + // This can throw if multiple fill happens on a global object like XMLHttpRequest + // Fixes https://github.com/getsentry/sentry-javascript/issues/2043 + } + } + source[name] = wrapped; + } + /** + * Defines a non-enumerable property on the given object. + * + * @param obj The object on which to set the property + * @param name The name of the property to be set + * @param value The value to which to set the property + */ + function addNonEnumerableProperty(obj, name, value) { + Object.defineProperty(obj, name, { + // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it + value: value, + writable: true, + configurable: true, + }); + } + /** + * Remembers the original function on the wrapped function and + * patches up the prototype. + * + * @param wrapped the wrapper function + * @param original the original function that gets wrapped + */ + function markFunctionWrapped(wrapped, original) { + var proto = original.prototype || {}; + wrapped.prototype = original.prototype = proto; + addNonEnumerableProperty(wrapped, '__sentry_original__', original); + } + /** + * This extracts the original function if available. See + * `markFunctionWrapped` for more information. + * + * @param func the function to unwrap + * @returns the unwrapped version of the function if available. + */ + function getOriginalFunction(func) { + return func.__sentry_original__; + } + /** + * Encodes given object into url-friendly format + * + * @param object An object that contains serializable values + * @returns string Encoded + */ + function urlEncode(object) { + return Object.keys(object) + .map(function (key) { return encodeURIComponent(key) + "=" + encodeURIComponent(object[key]); }) + .join('&'); + } + /** + * Transforms any object into an object literal with all its attributes + * attached to it. + * + * @param value Initial source that we have to transform in order for it to be usable by the serializer + */ + function getWalkSource(value) { + if (isError(value)) { + var error = value; + var err = { + message: error.message, + name: error.name, + stack: error.stack, + }; + for (var i in error) { + if (Object.prototype.hasOwnProperty.call(error, i)) { + err[i] = error[i]; + } + } + return err; + } + if (isEvent(value)) { + var event_1 = value; + var source = {}; + // Accessing event attributes can throw (see https://github.com/getsentry/sentry-javascript/issues/768 and + // https://github.com/getsentry/sentry-javascript/issues/838), but accessing `type` hasn't been wrapped in a + // try-catch in at least two years and no one's complained, so that's likely not an issue anymore + source.type = event_1.type; + try { + source.target = isElement(event_1.target) + ? htmlTreeAsString(event_1.target) + : Object.prototype.toString.call(event_1.target); + } + catch (_oO) { + source.target = ''; + } + try { + source.currentTarget = isElement(event_1.currentTarget) + ? htmlTreeAsString(event_1.currentTarget) + : Object.prototype.toString.call(event_1.currentTarget); + } + catch (_oO) { + source.currentTarget = ''; + } + if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) { + source.detail = event_1.detail; + } + for (var attr in event_1) { + if (Object.prototype.hasOwnProperty.call(event_1, attr)) { + source[attr] = event_1[attr]; + } + } + return source; + } + return value; + } + /** Calculates bytes size of input string */ + function utf8Length(value) { + // eslint-disable-next-line no-bitwise + return ~-encodeURI(value).split(/%..|./).length; + } + /** Calculates bytes size of input object */ + function jsonSize(value) { + return utf8Length(JSON.stringify(value)); + } + /** JSDoc */ + function normalizeToSize(object, + // Default Node.js REPL depth + depth, + // 100kB, as 200kB is max payload size, so half sounds reasonable + maxSize) { + if (depth === void 0) { depth = 3; } + if (maxSize === void 0) { maxSize = 100 * 1024; } + var serialized = normalize(object, depth); + if (jsonSize(serialized) > maxSize) { + return normalizeToSize(object, depth - 1, maxSize); + } + return serialized; + } + /** + * Transform any non-primitive, BigInt, or Symbol-type value into a string. Acts as a no-op on strings, numbers, + * booleans, null, and undefined. + * + * @param value The value to stringify + * @returns For non-primitive, BigInt, and Symbol-type values, a string denoting the value's type, type and value, or + * type and `description` property, respectively. For non-BigInt, non-Symbol primitives, returns the original value, + * unchanged. + */ + function serializeValue(value) { + // Node.js REPL notation + if (typeof value === 'string') { + return value; + } + var type = Object.prototype.toString.call(value); + if (type === '[object Object]') { + return '[Object]'; + } + if (type === '[object Array]') { + return '[Array]'; + } + var normalized = normalizeValue(value); + return isPrimitive(normalized) ? normalized : type; + } + /** + * normalizeValue() + * + * Takes unserializable input and make it serializable friendly + * + * - translates undefined/NaN values to "[undefined]"/"[NaN]" respectively, + * - serializes Error objects + * - filter global objects + */ + function normalizeValue(value, key) { + if (key === 'domain' && value && typeof value === 'object' && value._events) { + return '[Domain]'; + } + if (key === 'domainEmitter') { + return '[DomainEmitter]'; + } + if (typeof global !== 'undefined' && value === global) { + return '[Global]'; + } + // It's safe to use `window` and `document` here in this manner, as we are asserting using `typeof` first + // which won't throw if they are not present. + // eslint-disable-next-line no-restricted-globals + if (typeof window !== 'undefined' && value === window) { + return '[Window]'; + } + // eslint-disable-next-line no-restricted-globals + if (typeof document !== 'undefined' && value === document) { + return '[Document]'; + } + // React's SyntheticEvent thingy + if (isSyntheticEvent(value)) { + return '[SyntheticEvent]'; + } + if (typeof value === 'number' && value !== value) { + return '[NaN]'; + } + if (value === void 0) { + return '[undefined]'; + } + if (typeof value === 'function') { + return "[Function: " + getFunctionName(value) + "]"; + } + // symbols and bigints are considered primitives by TS, but aren't natively JSON-serilaizable + if (typeof value === 'symbol') { + return "[" + String(value) + "]"; + } + if (typeof value === 'bigint') { + return "[BigInt: " + String(value) + "]"; + } + return value; + } + /** + * Walks an object to perform a normalization on it + * + * @param key of object that's walked in current iteration + * @param value object to be walked + * @param depth Optional number indicating how deep should walking be performed + * @param memo Optional Memo class handling decycling + */ + // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types + function walk(key, value, depth, memo) { + if (depth === void 0) { depth = +Infinity; } + if (memo === void 0) { memo = memoBuilder(); } + // If we reach the maximum depth, serialize whatever is left + if (depth === 0) { + return serializeValue(value); + } + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + // If value implements `toJSON` method, call it and return early + if (value !== null && value !== undefined && typeof value.toJSON === 'function') { + return value.toJSON(); + } + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + // If normalized value is a primitive, there are no branches left to walk, so bail out + var normalized = normalizeValue(value, key); + if (isPrimitive(normalized)) { + return normalized; + } + // Create source that we will use for the next iteration. It will either be an objectified error object (`Error` type + // with extracted key:value pairs) or the input itself. + var source = getWalkSource(value); + // Create an accumulator that will act as a parent for all future itterations of that branch + var acc = Array.isArray(value) ? [] : {}; + // If we already walked that branch, bail out, as it's circular reference + if (memo[0](value)) { + return '[Circular ~]'; + } + // Walk all keys of the source + for (var innerKey in source) { + // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration. + if (!Object.prototype.hasOwnProperty.call(source, innerKey)) { + continue; + } + // Recursively walk through all the child nodes + acc[innerKey] = walk(innerKey, source[innerKey], depth - 1, memo); + } + // Once walked through all the branches, remove the parent from memo storage + memo[1](value); + // Return accumulated values + return acc; + } + /** + * normalize() + * + * - Creates a copy to prevent original input mutation + * - Skip non-enumerablers + * - Calls `toJSON` if implemented + * - Removes circular references + * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format + * - Translates known global objects/Classes to a string representations + * - Takes care of Error objects serialization + * - Optionally limit depth of final output + */ + // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types + function normalize(input, depth) { + try { + return JSON.parse(JSON.stringify(input, function (key, value) { return walk(key, value, depth); })); + } + catch (_oO) { + return '**non-serializable**'; + } + } + /** + * Given any captured exception, extract its keys and create a sorted + * and truncated list that will be used inside the event message. + * eg. `Non-error exception captured with keys: foo, bar, baz` + */ + // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types + function extractExceptionKeysForMessage(exception, maxLength) { + if (maxLength === void 0) { maxLength = 40; } + var keys = Object.keys(getWalkSource(exception)); + keys.sort(); + if (!keys.length) { + return '[object has no keys]'; + } + if (keys[0].length >= maxLength) { + return truncate(keys[0], maxLength); + } + for (var includedKeys = keys.length; includedKeys > 0; includedKeys--) { + var serialized = keys.slice(0, includedKeys).join(', '); + if (serialized.length > maxLength) { + continue; + } + if (includedKeys === keys.length) { + return serialized; + } + return truncate(serialized, maxLength); + } + return ''; + } + /** + * Given any object, return the new object with removed keys that value was `undefined`. + * Works recursively on objects and arrays. + */ + function dropUndefinedKeys(val) { + var e_1, _a; + if (isPlainObject(val)) { + var obj = val; + var rv = {}; + try { + for (var _b = __values(Object.keys(obj)), _c = _b.next(); !_c.done; _c = _b.next()) { + var key = _c.value; + if (typeof obj[key] !== 'undefined') { + rv[key] = dropUndefinedKeys(obj[key]); + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + return rv; + } + if (Array.isArray(val)) { + return val.map(dropUndefinedKeys); + } + return val; + } + + /** + * Tells whether current environment supports Fetch API + * {@link supportsFetch}. + * + * @returns Answer to the given question. + */ + function supportsFetch() { + if (!('fetch' in getGlobalObject())) { + return false; + } + try { + new Headers(); + new Request(''); + new Response(); + return true; + } + catch (e) { + return false; + } + } + /** + * isNativeFetch checks if the given function is a native implementation of fetch() + */ + // eslint-disable-next-line @typescript-eslint/ban-types + function isNativeFetch(func) { + return func && /^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(func.toString()); + } + /** + * Tells whether current environment supports Fetch API natively + * {@link supportsNativeFetch}. + * + * @returns true if `window.fetch` is natively implemented, false otherwise + */ + function supportsNativeFetch() { + if (!supportsFetch()) { + return false; + } + var global = getGlobalObject(); + // Fast path to avoid DOM I/O + // eslint-disable-next-line @typescript-eslint/unbound-method + if (isNativeFetch(global.fetch)) { + return true; + } + // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension) + // so create a "pure" iframe to see if that has native fetch + var result = false; + var doc = global.document; + // eslint-disable-next-line deprecation/deprecation + if (doc && typeof doc.createElement === "function") { + try { + var sandbox = doc.createElement('iframe'); + sandbox.hidden = true; + doc.head.appendChild(sandbox); + if (sandbox.contentWindow && sandbox.contentWindow.fetch) { + // eslint-disable-next-line @typescript-eslint/unbound-method + result = isNativeFetch(sandbox.contentWindow.fetch); + } + doc.head.removeChild(sandbox); + } + catch (err) { + if (isDebugBuild()) { + logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err); + } + } + } + return result; + } + /** + * Tells whether current environment supports Referrer Policy API + * {@link supportsReferrerPolicy}. + * + * @returns Answer to the given question. + */ + function supportsReferrerPolicy() { + // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default' + // (see https://caniuse.com/#feat=referrer-policy), + // it doesn't. And it throws an exception instead of ignoring this parameter... + // REF: https://github.com/getsentry/raven-js/issues/1233 + if (!supportsFetch()) { + return false; + } + try { + new Request('_', { + referrerPolicy: 'origin', + }); + return true; + } + catch (e) { + return false; + } + } + /** + * Tells whether current environment supports History API + * {@link supportsHistory}. + * + * @returns Answer to the given question. + */ + function supportsHistory() { + // NOTE: in Chrome App environment, touching history.pushState, *even inside + // a try/catch block*, will cause Chrome to output an error to console.error + // borrowed from: https://github.com/angular/angular.js/pull/13945/files + var global = getGlobalObject(); + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var chrome = global.chrome; + var isChromePackagedApp = chrome && chrome.app && chrome.app.runtime; + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + var hasHistoryApi = 'history' in global && !!global.history.pushState && !!global.history.replaceState; + return !isChromePackagedApp && hasHistoryApi; + } + + var global$8 = getGlobalObject(); + /** + * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc. + * - Console API + * - Fetch API + * - XHR API + * - History API + * - DOM API (click/typing) + * - Error API + * - UnhandledRejection API + */ + var handlers = {}; + var instrumented = {}; + /** Instruments given API */ + function instrument(type) { + if (instrumented[type]) { + return; + } + instrumented[type] = true; + switch (type) { + case 'console': + instrumentConsole(); + break; + case 'dom': + instrumentDOM(); + break; + case 'xhr': + instrumentXHR(); + break; + case 'fetch': + instrumentFetch(); + break; + case 'history': + instrumentHistory(); + break; + case 'error': + instrumentError(); + break; + case 'unhandledrejection': + instrumentUnhandledRejection(); + break; + default: + logger.warn('unknown instrumentation type:', type); + } + } + /** + * Add handler that will be called when given type of instrumentation triggers. + * Use at your own risk, this might break without changelog notice, only used internally. + * @hidden + */ + function addInstrumentationHandler(type, callback) { + handlers[type] = handlers[type] || []; + handlers[type].push(callback); + instrument(type); + } + /** JSDoc */ + function triggerHandlers(type, data) { + var e_1, _a; + if (!type || !handlers[type]) { + return; + } + try { + for (var _b = __values(handlers[type] || []), _c = _b.next(); !_c.done; _c = _b.next()) { + var handler = _c.value; + try { + handler(data); + } + catch (e) { + if (isDebugBuild()) { + logger.error("Error while triggering instrumentation handler.\nType: " + type + "\nName: " + getFunctionName(handler) + "\nError: " + e); + } + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + } + /** JSDoc */ + function instrumentConsole() { + if (!('console' in global$8)) { + return; + } + ['debug', 'info', 'warn', 'error', 'log', 'assert'].forEach(function (level) { + if (!(level in global$8.console)) { + return; + } + fill(global$8.console, level, function (originalConsoleMethod) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + triggerHandlers('console', { args: args, level: level }); + // this fails for some browsers. :( + if (originalConsoleMethod) { + originalConsoleMethod.apply(global$8.console, args); + } + }; + }); + }); + } + /** JSDoc */ + function instrumentFetch() { + if (!supportsNativeFetch()) { + return; + } + fill(global$8, 'fetch', function (originalFetch) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var handlerData = { + args: args, + fetchData: { + method: getFetchMethod(args), + url: getFetchUrl(args), + }, + startTimestamp: Date.now(), + }; + triggerHandlers('fetch', __assign({}, handlerData)); + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return originalFetch.apply(global$8, args).then(function (response) { + triggerHandlers('fetch', __assign(__assign({}, handlerData), { endTimestamp: Date.now(), response: response })); + return response; + }, function (error) { + triggerHandlers('fetch', __assign(__assign({}, handlerData), { endTimestamp: Date.now(), error: error })); + // NOTE: If you are a Sentry user, and you are seeing this stack frame, + // it means the sentry.javascript SDK caught an error invoking your application code. + // This is expected behavior and NOT indicative of a bug with sentry.javascript. + throw error; + }); + }; + }); + } + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + /** Extract `method` from fetch call arguments */ + function getFetchMethod(fetchArgs) { + if (fetchArgs === void 0) { fetchArgs = []; } + if ('Request' in global$8 && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) { + return String(fetchArgs[0].method).toUpperCase(); + } + if (fetchArgs[1] && fetchArgs[1].method) { + return String(fetchArgs[1].method).toUpperCase(); + } + return 'GET'; + } + /** Extract `url` from fetch call arguments */ + function getFetchUrl(fetchArgs) { + if (fetchArgs === void 0) { fetchArgs = []; } + if (typeof fetchArgs[0] === 'string') { + return fetchArgs[0]; + } + if ('Request' in global$8 && isInstanceOf(fetchArgs[0], Request)) { + return fetchArgs[0].url; + } + return String(fetchArgs[0]); + } + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + /** JSDoc */ + function instrumentXHR() { + if (!('XMLHttpRequest' in global$8)) { + return; + } + var xhrproto = XMLHttpRequest.prototype; + fill(xhrproto, 'open', function (originalOpen) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + // eslint-disable-next-line @typescript-eslint/no-this-alias + var xhr = this; + var url = args[1]; + var xhrInfo = (xhr.__sentry_xhr__ = { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + method: isString(args[0]) ? args[0].toUpperCase() : args[0], + url: args[1], + }); + // if Sentry key appears in URL, don't capture it as a request + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) { + xhr.__sentry_own_request__ = true; + } + var onreadystatechangeHandler = function () { + if (xhr.readyState === 4) { + try { + // touching statusCode in some platforms throws + // an exception + xhrInfo.status_code = xhr.status; + } + catch (e) { + /* do nothing */ + } + triggerHandlers('xhr', { + args: args, + endTimestamp: Date.now(), + startTimestamp: Date.now(), + xhr: xhr, + }); + } + }; + if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') { + fill(xhr, 'onreadystatechange', function (original) { + return function () { + var readyStateArgs = []; + for (var _i = 0; _i < arguments.length; _i++) { + readyStateArgs[_i] = arguments[_i]; + } + onreadystatechangeHandler(); + return original.apply(xhr, readyStateArgs); + }; + }); + } + else { + xhr.addEventListener('readystatechange', onreadystatechangeHandler); + } + return originalOpen.apply(xhr, args); + }; + }); + fill(xhrproto, 'send', function (originalSend) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (this.__sentry_xhr__ && args[0] !== undefined) { + this.__sentry_xhr__.body = args[0]; + } + triggerHandlers('xhr', { + args: args, + startTimestamp: Date.now(), + xhr: this, + }); + return originalSend.apply(this, args); + }; + }); + } + var lastHref; + /** JSDoc */ + function instrumentHistory() { + if (!supportsHistory()) { + return; + } + var oldOnPopState = global$8.onpopstate; + global$8.onpopstate = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var to = global$8.location.href; + // keep track of the current URL state, as we always receive only the updated state + var from = lastHref; + lastHref = to; + triggerHandlers('history', { + from: from, + to: to, + }); + if (oldOnPopState) { + // Apparently this can throw in Firefox when incorrectly implemented plugin is installed. + // https://github.com/getsentry/sentry-javascript/issues/3344 + // https://github.com/bugsnag/bugsnag-js/issues/469 + try { + return oldOnPopState.apply(this, args); + } + catch (_oO) { + // no-empty + } + } + }; + /** @hidden */ + function historyReplacementFunction(originalHistoryFunction) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var url = args.length > 2 ? args[2] : undefined; + if (url) { + // coerce to string (this is what pushState does) + var from = lastHref; + var to = String(url); + // keep track of the current URL state, as we always receive only the updated state + lastHref = to; + triggerHandlers('history', { + from: from, + to: to, + }); + } + return originalHistoryFunction.apply(this, args); + }; + } + fill(global$8.history, 'pushState', historyReplacementFunction); + fill(global$8.history, 'replaceState', historyReplacementFunction); + } + var debounceDuration = 1000; + var debounceTimerID; + var lastCapturedEvent; + /** + * Decide whether the current event should finish the debounce of previously captured one. + * @param previous previously captured event + * @param current event to be captured + */ + function shouldShortcircuitPreviousDebounce(previous, current) { + // If there was no previous event, it should always be swapped for the new one. + if (!previous) { + return true; + } + // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress. + if (previous.type !== current.type) { + return true; + } + try { + // If both events have the same type, it's still possible that actions were performed on different targets. + // e.g. 2 clicks on different buttons. + if (previous.target !== current.target) { + return true; + } + } + catch (e) { + // just accessing `target` property can throw an exception in some rare circumstances + // see: https://github.com/getsentry/sentry-javascript/issues/838 + } + // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_ + // to which an event listener was attached), we treat them as the same action, as we want to capture + // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box. + return false; + } + /** + * Decide whether an event should be captured. + * @param event event to be captured + */ + function shouldSkipDOMEvent(event) { + // We are only interested in filtering `keypress` events for now. + if (event.type !== 'keypress') { + return false; + } + try { + var target = event.target; + if (!target || !target.tagName) { + return true; + } + // Only consider keypress events on actual input elements. This will disregard keypresses targeting body + // e.g.tabbing through elements, hotkeys, etc. + if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) { + return false; + } + } + catch (e) { + // just accessing `target` property can throw an exception in some rare circumstances + // see: https://github.com/getsentry/sentry-javascript/issues/838 + } + return true; + } + /** + * Wraps addEventListener to capture UI breadcrumbs + * @param handler function that will be triggered + * @param globalListener indicates whether event was captured by the global event listener + * @returns wrapped breadcrumb events handler + * @hidden + */ + function makeDOMEventHandler(handler, globalListener) { + if (globalListener === void 0) { globalListener = false; } + return function (event) { + // It's possible this handler might trigger multiple times for the same + // event (e.g. event propagation through node ancestors). + // Ignore if we've already captured that event. + if (!event || lastCapturedEvent === event) { + return; + } + // We always want to skip _some_ events. + if (shouldSkipDOMEvent(event)) { + return; + } + var name = event.type === 'keypress' ? 'input' : event.type; + // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons. + if (debounceTimerID === undefined) { + handler({ + event: event, + name: name, + global: globalListener, + }); + lastCapturedEvent = event; + } + // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one. + // If that's the case, emit the previous event and store locally the newly-captured DOM event. + else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) { + handler({ + event: event, + name: name, + global: globalListener, + }); + lastCapturedEvent = event; + } + // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together. + clearTimeout(debounceTimerID); + debounceTimerID = global$8.setTimeout(function () { + debounceTimerID = undefined; + }, debounceDuration); + }; + } + /** JSDoc */ + function instrumentDOM() { + if (!('document' in global$8)) { + return; + } + // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom + // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before + // we instrument `addEventListener` so that we don't end up attaching this handler twice. + var triggerDOMHandler = triggerHandlers.bind(null, 'dom'); + var globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true); + global$8.document.addEventListener('click', globalDOMEventHandler, false); + global$8.document.addEventListener('keypress', globalDOMEventHandler, false); + // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled + // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That + // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler + // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still + // guaranteed to fire at least once.) + ['EventTarget', 'Node'].forEach(function (target) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var proto = global$8[target] && global$8[target].prototype; + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins + if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) { + return; + } + fill(proto, 'addEventListener', function (originalAddEventListener) { + return function (type, listener, options) { + if (type === 'click' || type == 'keypress') { + try { + var el = this; + var handlers_1 = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {}); + var handlerForType = (handlers_1[type] = handlers_1[type] || { refCount: 0 }); + if (!handlerForType.handler) { + var handler = makeDOMEventHandler(triggerDOMHandler); + handlerForType.handler = handler; + originalAddEventListener.call(this, type, handler, options); + } + handlerForType.refCount += 1; + } + catch (e) { + // Accessing dom properties is always fragile. + // Also allows us to skip `addEventListenrs` calls with no proper `this` context. + } + } + return originalAddEventListener.call(this, type, listener, options); + }; + }); + fill(proto, 'removeEventListener', function (originalRemoveEventListener) { + return function (type, listener, options) { + if (type === 'click' || type == 'keypress') { + try { + var el = this; + var handlers_2 = el.__sentry_instrumentation_handlers__ || {}; + var handlerForType = handlers_2[type]; + if (handlerForType) { + handlerForType.refCount -= 1; + // If there are no longer any custom handlers of the current type on this element, we can remove ours, too. + if (handlerForType.refCount <= 0) { + originalRemoveEventListener.call(this, type, handlerForType.handler, options); + handlerForType.handler = undefined; + delete handlers_2[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete + } + // If there are no longer any custom handlers of any type on this element, cleanup everything. + if (Object.keys(handlers_2).length === 0) { + delete el.__sentry_instrumentation_handlers__; + } + } + } + catch (e) { + // Accessing dom properties is always fragile. + // Also allows us to skip `addEventListenrs` calls with no proper `this` context. + } + } + return originalRemoveEventListener.call(this, type, listener, options); + }; + }); + }); + } + var _oldOnErrorHandler = null; + /** JSDoc */ + function instrumentError() { + _oldOnErrorHandler = global$8.onerror; + global$8.onerror = function (msg, url, line, column, error) { + triggerHandlers('error', { + column: column, + error: error, + line: line, + msg: msg, + url: url, + }); + if (_oldOnErrorHandler) { + // eslint-disable-next-line prefer-rest-params + return _oldOnErrorHandler.apply(this, arguments); + } + return false; + }; + } + var _oldOnUnhandledRejectionHandler = null; + /** JSDoc */ + function instrumentUnhandledRejection() { + _oldOnUnhandledRejectionHandler = global$8.onunhandledrejection; + global$8.onunhandledrejection = function (e) { + triggerHandlers('unhandledrejection', e); + if (_oldOnUnhandledRejectionHandler) { + // eslint-disable-next-line prefer-rest-params + return _oldOnUnhandledRejectionHandler.apply(this, arguments); + } + return true; + }; + } + + /** + * UUID4 generator + * + * @returns string Generated UUID4. + */ + function uuid4() { + var global = getGlobalObject(); + var crypto = global.crypto || global.msCrypto; + if (!(crypto === void 0) && crypto.getRandomValues) { + // Use window.crypto API if available + var arr = new Uint16Array(8); + crypto.getRandomValues(arr); + // set 4 in byte 7 + // eslint-disable-next-line no-bitwise + arr[3] = (arr[3] & 0xfff) | 0x4000; + // set 2 most significant bits of byte 9 to '10' + // eslint-disable-next-line no-bitwise + arr[4] = (arr[4] & 0x3fff) | 0x8000; + var pad = function (num) { + var v = num.toString(16); + while (v.length < 4) { + v = "0" + v; + } + return v; + }; + return (pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7])); + } + // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523 + return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + // eslint-disable-next-line no-bitwise + var r = (Math.random() * 16) | 0; + // eslint-disable-next-line no-bitwise + var v = c === 'x' ? r : (r & 0x3) | 0x8; + return v.toString(16); + }); + } + /** + * Parses string form of URL into an object + * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B + * // intentionally using regex and not href parsing trick because React Native and other + * // environments where DOM might not be available + * @returns parsed URL object + */ + function parseUrl(url) { + if (!url) { + return {}; + } + var match = url.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/); + if (!match) { + return {}; + } + // coerce to undefined values to empty string so we don't get 'undefined' + var query = match[6] || ''; + var fragment = match[8] || ''; + return { + host: match[4], + path: match[5], + protocol: match[2], + relative: match[5] + query + fragment, + }; + } + function getFirstException(event) { + return event.exception && event.exception.values ? event.exception.values[0] : undefined; + } + /** + * Extracts either message or type+value from an event that can be used for user-facing logs + * @returns event's description + */ + function getEventDescription(event) { + var message = event.message, eventId = event.event_id; + if (message) { + return message; + } + var firstException = getFirstException(event); + if (firstException) { + if (firstException.type && firstException.value) { + return firstException.type + ": " + firstException.value; + } + return firstException.type || firstException.value || eventId || ''; + } + return eventId || ''; + } + /** + * Adds exception values, type and value to an synthetic Exception. + * @param event The event to modify. + * @param value Value of the exception. + * @param type Type of the exception. + * @hidden + */ + function addExceptionTypeValue(event, value, type) { + var exception = (event.exception = event.exception || {}); + var values = (exception.values = exception.values || []); + var firstException = (values[0] = values[0] || {}); + if (!firstException.value) { + firstException.value = value || ''; + } + if (!firstException.type) { + firstException.type = type || 'Error'; + } + } + /** + * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed. + * + * @param event The event to modify. + * @param newMechanism Mechanism data to add to the event. + * @hidden + */ + function addExceptionMechanism(event, newMechanism) { + var firstException = getFirstException(event); + if (!firstException) { + return; + } + var defaultMechanism = { type: 'generic', handled: true }; + var currentMechanism = firstException.mechanism; + firstException.mechanism = __assign(__assign(__assign({}, defaultMechanism), currentMechanism), newMechanism); + if (newMechanism && 'data' in newMechanism) { + var mergedData = __assign(__assign({}, (currentMechanism && currentMechanism.data)), newMechanism.data); + firstException.mechanism.data = mergedData; + } + } + var defaultRetryAfter = 60 * 1000; // 60 seconds + /** + * Extracts Retry-After value from the request header or returns default value + * @param now current unix timestamp + * @param header string representation of 'Retry-After' header + */ + function parseRetryAfterHeader(now, header) { + if (!header) { + return defaultRetryAfter; + } + var headerDelay = parseInt("" + header, 10); + if (!isNaN(headerDelay)) { + return headerDelay * 1000; + } + var headerDate = Date.parse("" + header); + if (!isNaN(headerDate)) { + return headerDate - now; + } + return defaultRetryAfter; + } + /** + * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object + * in question), and marks it captured if not. + * + * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and + * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so + * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because + * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not + * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This + * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we + * see it. + * + * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on + * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent + * object wrapper forms so that this check will always work. However, because we need to flag the exact object which + * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification + * must be done before the exception captured. + * + * @param A thrown exception to check or flag as having been seen + * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen) + */ + function checkOrSetAlreadyCaught(exception) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (exception && exception.__sentry_captured__) { + return true; + } + try { + // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the + // `ExtraErrorData` integration + addNonEnumerableProperty(exception, '__sentry_captured__', true); + } + catch (err) { + // `exception` is a primitive, so we can't mark it seen + } + return false; + } + + /* eslint-disable @typescript-eslint/explicit-function-return-type */ + /** + * Creates a resolved sync promise. + * + * @param value the value to resolve the promise with + * @returns the resolved sync promise + */ + function resolvedSyncPromise(value) { + return new SyncPromise(function (resolve) { + resolve(value); + }); + } + /** + * Creates a rejected sync promise. + * + * @param value the value to reject the promise with + * @returns the rejected sync promise + */ + function rejectedSyncPromise(reason) { + return new SyncPromise(function (_, reject) { + reject(reason); + }); + } + /** + * Thenable class that behaves like a Promise and follows it's interface + * but is not async internally + */ + var SyncPromise = /** @class */ (function () { + function SyncPromise(executor) { + var _this = this; + this._state = 0 /* PENDING */; + this._handlers = []; + /** JSDoc */ + this._resolve = function (value) { + _this._setResult(1 /* RESOLVED */, value); + }; + /** JSDoc */ + this._reject = function (reason) { + _this._setResult(2 /* REJECTED */, reason); + }; + /** JSDoc */ + this._setResult = function (state, value) { + if (_this._state !== 0 /* PENDING */) { + return; + } + if (isThenable(value)) { + void value.then(_this._resolve, _this._reject); + return; + } + _this._state = state; + _this._value = value; + _this._executeHandlers(); + }; + /** JSDoc */ + this._executeHandlers = function () { + if (_this._state === 0 /* PENDING */) { + return; + } + var cachedHandlers = _this._handlers.slice(); + _this._handlers = []; + cachedHandlers.forEach(function (handler) { + if (handler[0]) { + return; + } + if (_this._state === 1 /* RESOLVED */) { + // eslint-disable-next-line @typescript-eslint/no-floating-promises + handler[1](_this._value); + } + if (_this._state === 2 /* REJECTED */) { + handler[2](_this._value); + } + handler[0] = true; + }); + }; + try { + executor(this._resolve, this._reject); + } + catch (e) { + this._reject(e); + } + } + /** JSDoc */ + SyncPromise.prototype.then = function (onfulfilled, onrejected) { + var _this = this; + return new SyncPromise(function (resolve, reject) { + _this._handlers.push([ + false, + function (result) { + if (!onfulfilled) { + // TODO: ¯\_(ツ)_/¯ + // TODO: FIXME + resolve(result); + } + else { + try { + resolve(onfulfilled(result)); + } + catch (e) { + reject(e); + } + } + }, + function (reason) { + if (!onrejected) { + reject(reason); + } + else { + try { + resolve(onrejected(reason)); + } + catch (e) { + reject(e); + } + } + }, + ]); + _this._executeHandlers(); + }); + }; + /** JSDoc */ + SyncPromise.prototype.catch = function (onrejected) { + return this.then(function (val) { return val; }, onrejected); + }; + /** JSDoc */ + SyncPromise.prototype.finally = function (onfinally) { + var _this = this; + return new SyncPromise(function (resolve, reject) { + var val; + var isRejected; + return _this.then(function (value) { + isRejected = false; + val = value; + if (onfinally) { + onfinally(); + } + }, function (reason) { + isRejected = true; + val = reason; + if (onfinally) { + onfinally(); + } + }).then(function () { + if (isRejected) { + reject(val); + return; + } + resolve(val); + }); + }); + }; + return SyncPromise; + }()); + + /** + * Creates an new PromiseBuffer object with the specified limit + * @param limit max number of promises that can be stored in the buffer + */ + function makePromiseBuffer(limit) { + var buffer = []; + function isReady() { + return limit === undefined || buffer.length < limit; + } + /** + * Remove a promise from the queue. + * + * @param task Can be any PromiseLike + * @returns Removed promise. + */ + function remove(task) { + return buffer.splice(buffer.indexOf(task), 1)[0]; + } + /** + * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment. + * + * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task: + * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor + * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By + * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer + * limit check. + * @returns The original promise. + */ + function add(taskProducer) { + if (!isReady()) { + return rejectedSyncPromise(new SentryError('Not adding Promise due to buffer limit reached.')); + } + // start the task and add its promise to the queue + var task = taskProducer(); + if (buffer.indexOf(task) === -1) { + buffer.push(task); + } + void task + .then(function () { return remove(task); }) + // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike` + // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't + // have promises, so TS has to polyfill when down-compiling.) + .then(null, function () { + return remove(task).then(null, function () { + // We have to add another catch here because `remove()` starts a new promise chain. + }); + }); + return task; + } + /** + * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first. + * + * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or + * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to + * `true`. + * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and + * `false` otherwise + */ + function drain(timeout) { + return new SyncPromise(function (resolve, reject) { + var counter = buffer.length; + if (!counter) { + return resolve(true); + } + // wait for `timeout` ms and then resolve to `false` (if not cancelled first) + var capturedSetTimeout = setTimeout(function () { + if (timeout && timeout > 0) { + resolve(false); + } + }, timeout); + // if all promises resolve in time, cancel the timer and resolve to `true` + buffer.forEach(function (item) { + void resolvedSyncPromise(item).then(function () { + // eslint-disable-next-line no-plusplus + if (!--counter) { + clearTimeout(capturedSetTimeout); + resolve(true); + } + }, reject); + }); + }); + } + return { + $: buffer, + add: add, + drain: drain, + }; + } + + function isSupportedSeverity(level) { + return SeverityLevels.indexOf(level) !== -1; + } + /** + * Converts a string-based level into a {@link Severity}. + * + * @param level string representation of Severity + * @returns Severity + */ + function severityFromString(level) { + if (level === 'warn') + return exports.Severity.Warning; + if (isSupportedSeverity(level)) { + return level; + } + return exports.Severity.Log; + } + + /** + * Converts an HTTP status code to sentry status {@link EventStatus}. + * + * @param code number HTTP status code + * @returns EventStatus + */ + function eventStatusFromHttpCode(code) { + if (code >= 200 && code < 300) { + return 'success'; + } + if (code === 429) { + return 'rate_limit'; + } + if (code >= 400 && code < 500) { + return 'invalid'; + } + if (code >= 500) { + return 'failed'; + } + return 'unknown'; + } + + /** + * A TimestampSource implementation for environments that do not support the Performance Web API natively. + * + * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier + * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It + * is more obvious to explain "why does my span have negative duration" than "why my spans have zero duration". + */ + var dateTimestampSource = { + nowSeconds: function () { return Date.now() / 1000; }, + }; + /** + * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not + * support the API. + * + * Wrapping the native API works around differences in behavior from different browsers. + */ + function getBrowserPerformance() { + var performance = getGlobalObject().performance; + if (!performance || !performance.now) { + return undefined; + } + // Replace performance.timeOrigin with our own timeOrigin based on Date.now(). + // + // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin + + // performance.now() gives a date arbitrarily in the past. + // + // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is + // undefined. + // + // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to + // interact with data coming out of performance entries. + // + // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that + // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes + // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have + // observed skews that can be as long as days, weeks or months. + // + // See https://github.com/getsentry/sentry-javascript/issues/2590. + // + // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload + // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation + // transactions of long-lived web pages. + var timeOrigin = Date.now() - performance.now(); + return { + now: function () { return performance.now(); }, + timeOrigin: timeOrigin, + }; + } + /** + * The Performance API implementation for the current platform, if available. + */ + var platformPerformance = getBrowserPerformance(); + var timestampSource = platformPerformance === undefined + ? dateTimestampSource + : { + nowSeconds: function () { return (platformPerformance.timeOrigin + platformPerformance.now()) / 1000; }, + }; + /** + * Returns a timestamp in seconds since the UNIX epoch using the Date API. + */ + var dateTimestampInSeconds = dateTimestampSource.nowSeconds.bind(dateTimestampSource); + /** + * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the + * availability of the Performance API. + * + * See `usingPerformanceAPI` to test whether the Performance API is used. + * + * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is + * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The + * skew can grow to arbitrary amounts like days, weeks or months. + * See https://github.com/getsentry/sentry-javascript/issues/2590. + */ + var timestampInSeconds = timestampSource.nowSeconds.bind(timestampSource); + // Re-exported with an old name for backwards-compatibility. + var timestampWithMs = timestampInSeconds; + /** + * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the + * performance API is available. + */ + var browserPerformanceTimeOrigin = (function () { + // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or + // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin + // data as reliable if they are within a reasonable threshold of the current time. + var performance = getGlobalObject().performance; + if (!performance || !performance.now) { + return undefined; + } + var threshold = 3600 * 1000; + var performanceNow = performance.now(); + var dateNow = Date.now(); + // if timeOrigin isn't available set delta to threshold so it isn't used + var timeOriginDelta = performance.timeOrigin + ? Math.abs(performance.timeOrigin + performanceNow - dateNow) + : threshold; + var timeOriginIsReliable = timeOriginDelta < threshold; + // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin + // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing. + // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always + // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the + // Date API. + // eslint-disable-next-line deprecation/deprecation + var navigationStart = performance.timing && performance.timing.navigationStart; + var hasNavigationStart = typeof navigationStart === 'number'; + // if navigationStart isn't available set delta to threshold so it isn't used + var navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold; + var navigationStartIsReliable = navigationStartDelta < threshold; + if (timeOriginIsReliable || navigationStartIsReliable) { + // Use the more reliable time origin + if (timeOriginDelta <= navigationStartDelta) { + return performance.timeOrigin; + } + else { + return navigationStart; + } + } + return dateNow; + })(); + + /** + * Absolute maximum number of breadcrumbs added to an event. + * The `maxBreadcrumbs` option cannot be higher than this value. + */ + var MAX_BREADCRUMBS = 100; + /** + * Holds additional event information. {@link Scope.applyToEvent} will be + * called by the client before an event will be sent. + */ + var Scope = /** @class */ (function () { + function Scope() { + /** Flag if notifying is happening. */ + this._notifyingListeners = false; + /** Callback for client to receive scope changes. */ + this._scopeListeners = []; + /** Callback list that will be called after {@link applyToEvent}. */ + this._eventProcessors = []; + /** Array of breadcrumbs. */ + this._breadcrumbs = []; + /** User */ + this._user = {}; + /** Tags */ + this._tags = {}; + /** Extra */ + this._extra = {}; + /** Contexts */ + this._contexts = {}; + /** + * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get + * sent to Sentry + */ + this._sdkProcessingMetadata = {}; + } + /** + * Inherit values from the parent scope. + * @param scope to clone. + */ + Scope.clone = function (scope) { + var newScope = new Scope(); + if (scope) { + newScope._breadcrumbs = __spread(scope._breadcrumbs); + newScope._tags = __assign({}, scope._tags); + newScope._extra = __assign({}, scope._extra); + newScope._contexts = __assign({}, scope._contexts); + newScope._user = scope._user; + newScope._level = scope._level; + newScope._span = scope._span; + newScope._session = scope._session; + newScope._transactionName = scope._transactionName; + newScope._fingerprint = scope._fingerprint; + newScope._eventProcessors = __spread(scope._eventProcessors); + newScope._requestSession = scope._requestSession; + } + return newScope; + }; + /** + * Add internal on change listener. Used for sub SDKs that need to store the scope. + * @hidden + */ + Scope.prototype.addScopeListener = function (callback) { + this._scopeListeners.push(callback); + }; + /** + * @inheritDoc + */ + Scope.prototype.addEventProcessor = function (callback) { + this._eventProcessors.push(callback); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setUser = function (user) { + this._user = user || {}; + if (this._session) { + this._session.update({ user: user }); + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getUser = function () { + return this._user; + }; + /** + * @inheritDoc + */ + Scope.prototype.getRequestSession = function () { + return this._requestSession; + }; + /** + * @inheritDoc + */ + Scope.prototype.setRequestSession = function (requestSession) { + this._requestSession = requestSession; + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTags = function (tags) { + this._tags = __assign(__assign({}, this._tags), tags); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTag = function (key, value) { + var _a; + this._tags = __assign(__assign({}, this._tags), (_a = {}, _a[key] = value, _a)); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setExtras = function (extras) { + this._extra = __assign(__assign({}, this._extra), extras); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setExtra = function (key, extra) { + var _a; + this._extra = __assign(__assign({}, this._extra), (_a = {}, _a[key] = extra, _a)); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setFingerprint = function (fingerprint) { + this._fingerprint = fingerprint; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setLevel = function (level) { + this._level = level; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setTransactionName = function (name) { + this._transactionName = name; + this._notifyScopeListeners(); + return this; + }; + /** + * Can be removed in major version. + * @deprecated in favor of {@link this.setTransactionName} + */ + Scope.prototype.setTransaction = function (name) { + return this.setTransactionName(name); + }; + /** + * @inheritDoc + */ + Scope.prototype.setContext = function (key, context) { + var _a; + if (context === null) { + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete this._contexts[key]; + } + else { + this._contexts = __assign(__assign({}, this._contexts), (_a = {}, _a[key] = context, _a)); + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.setSpan = function (span) { + this._span = span; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getSpan = function () { + return this._span; + }; + /** + * @inheritDoc + */ + Scope.prototype.getTransaction = function () { + // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will + // have a pointer to the currently-active transaction. + var span = this.getSpan(); + return span && span.transaction; + }; + /** + * @inheritDoc + */ + Scope.prototype.setSession = function (session) { + if (!session) { + delete this._session; + } + else { + this._session = session; + } + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.getSession = function () { + return this._session; + }; + /** + * @inheritDoc + */ + Scope.prototype.update = function (captureContext) { + if (!captureContext) { + return this; + } + if (typeof captureContext === 'function') { + var updatedScope = captureContext(this); + return updatedScope instanceof Scope ? updatedScope : this; + } + if (captureContext instanceof Scope) { + this._tags = __assign(__assign({}, this._tags), captureContext._tags); + this._extra = __assign(__assign({}, this._extra), captureContext._extra); + this._contexts = __assign(__assign({}, this._contexts), captureContext._contexts); + if (captureContext._user && Object.keys(captureContext._user).length) { + this._user = captureContext._user; + } + if (captureContext._level) { + this._level = captureContext._level; + } + if (captureContext._fingerprint) { + this._fingerprint = captureContext._fingerprint; + } + if (captureContext._requestSession) { + this._requestSession = captureContext._requestSession; + } + } + else if (isPlainObject(captureContext)) { + // eslint-disable-next-line no-param-reassign + captureContext = captureContext; + this._tags = __assign(__assign({}, this._tags), captureContext.tags); + this._extra = __assign(__assign({}, this._extra), captureContext.extra); + this._contexts = __assign(__assign({}, this._contexts), captureContext.contexts); + if (captureContext.user) { + this._user = captureContext.user; + } + if (captureContext.level) { + this._level = captureContext.level; + } + if (captureContext.fingerprint) { + this._fingerprint = captureContext.fingerprint; + } + if (captureContext.requestSession) { + this._requestSession = captureContext.requestSession; + } + } + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.clear = function () { + this._breadcrumbs = []; + this._tags = {}; + this._extra = {}; + this._user = {}; + this._contexts = {}; + this._level = undefined; + this._transactionName = undefined; + this._fingerprint = undefined; + this._requestSession = undefined; + this._span = undefined; + this._session = undefined; + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.addBreadcrumb = function (breadcrumb, maxBreadcrumbs) { + var maxCrumbs = typeof maxBreadcrumbs === 'number' ? Math.min(maxBreadcrumbs, MAX_BREADCRUMBS) : MAX_BREADCRUMBS; + // No data has been changed, so don't notify scope listeners + if (maxCrumbs <= 0) { + return this; + } + var mergedBreadcrumb = __assign({ timestamp: dateTimestampInSeconds() }, breadcrumb); + this._breadcrumbs = __spread(this._breadcrumbs, [mergedBreadcrumb]).slice(-maxCrumbs); + this._notifyScopeListeners(); + return this; + }; + /** + * @inheritDoc + */ + Scope.prototype.clearBreadcrumbs = function () { + this._breadcrumbs = []; + this._notifyScopeListeners(); + return this; + }; + /** + * Applies the current context and fingerprint to the event. + * Note that breadcrumbs will be added by the client. + * Also if the event has already breadcrumbs on it, we do not merge them. + * @param event Event + * @param hint May contain additional information about the original exception. + * @hidden + */ + Scope.prototype.applyToEvent = function (event, hint) { + if (this._extra && Object.keys(this._extra).length) { + event.extra = __assign(__assign({}, this._extra), event.extra); + } + if (this._tags && Object.keys(this._tags).length) { + event.tags = __assign(__assign({}, this._tags), event.tags); + } + if (this._user && Object.keys(this._user).length) { + event.user = __assign(__assign({}, this._user), event.user); + } + if (this._contexts && Object.keys(this._contexts).length) { + event.contexts = __assign(__assign({}, this._contexts), event.contexts); + } + if (this._level) { + event.level = this._level; + } + if (this._transactionName) { + event.transaction = this._transactionName; + } + // We want to set the trace context for normal events only if there isn't already + // a trace context on the event. There is a product feature in place where we link + // errors with transaction and it relies on that. + if (this._span) { + event.contexts = __assign({ trace: this._span.getTraceContext() }, event.contexts); + var transactionName = this._span.transaction && this._span.transaction.name; + if (transactionName) { + event.tags = __assign({ transaction: transactionName }, event.tags); + } + } + this._applyFingerprint(event); + event.breadcrumbs = __spread((event.breadcrumbs || []), this._breadcrumbs); + event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined; + event.sdkProcessingMetadata = this._sdkProcessingMetadata; + return this._notifyEventProcessors(__spread(getGlobalEventProcessors(), this._eventProcessors), event, hint); + }; + /** + * Add data which will be accessible during event processing but won't get sent to Sentry + */ + Scope.prototype.setSDKProcessingMetadata = function (newData) { + this._sdkProcessingMetadata = __assign(__assign({}, this._sdkProcessingMetadata), newData); + return this; + }; + /** + * This will be called after {@link applyToEvent} is finished. + */ + Scope.prototype._notifyEventProcessors = function (processors, event, hint, index) { + var _this = this; + if (index === void 0) { index = 0; } + return new SyncPromise(function (resolve, reject) { + var processor = processors[index]; + if (event === null || typeof processor !== 'function') { + resolve(event); + } + else { + var result = processor(__assign({}, event), hint); + if (isThenable(result)) { + void result + .then(function (final) { return _this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve); }) + .then(null, reject); + } + else { + void _this._notifyEventProcessors(processors, result, hint, index + 1) + .then(resolve) + .then(null, reject); + } + } + }); + }; + /** + * This will be called on every set call. + */ + Scope.prototype._notifyScopeListeners = function () { + var _this = this; + // We need this check for this._notifyingListeners to be able to work on scope during updates + // If this check is not here we'll produce endless recursion when something is done with the scope + // during the callback. + if (!this._notifyingListeners) { + this._notifyingListeners = true; + this._scopeListeners.forEach(function (callback) { + callback(_this); + }); + this._notifyingListeners = false; + } + }; + /** + * Applies fingerprint from the scope to the event if there's one, + * uses message if there's one instead or get rid of empty fingerprint + */ + Scope.prototype._applyFingerprint = function (event) { + // Make sure it's an array first and we actually have something in place + event.fingerprint = event.fingerprint + ? Array.isArray(event.fingerprint) + ? event.fingerprint + : [event.fingerprint] + : []; + // If we have something on the scope, then merge it with event + if (this._fingerprint) { + event.fingerprint = event.fingerprint.concat(this._fingerprint); + } + // If we have no data at all, remove empty array default + if (event.fingerprint && !event.fingerprint.length) { + delete event.fingerprint; + } + }; + return Scope; + }()); + /** + * Returns the global event processors. + */ + function getGlobalEventProcessors() { + /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */ + var global = getGlobalObject(); + global.__SENTRY__ = global.__SENTRY__ || {}; + global.__SENTRY__.globalEventProcessors = global.__SENTRY__.globalEventProcessors || []; + return global.__SENTRY__.globalEventProcessors; + /* eslint-enable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */ + } + /** + * Add a EventProcessor to be kept globally. + * @param callback EventProcessor to add + */ + function addGlobalEventProcessor(callback) { + getGlobalEventProcessors().push(callback); + } + + /** + * @inheritdoc + */ + var Session = /** @class */ (function () { + function Session(context) { + this.errors = 0; + this.sid = uuid4(); + this.duration = 0; + this.status = 'ok'; + this.init = true; + this.ignoreDuration = false; + // Both timestamp and started are in seconds since the UNIX epoch. + var startingTime = timestampInSeconds(); + this.timestamp = startingTime; + this.started = startingTime; + if (context) { + this.update(context); + } + } + /** JSDoc */ + // eslint-disable-next-line complexity + Session.prototype.update = function (context) { + if (context === void 0) { context = {}; } + if (context.user) { + if (!this.ipAddress && context.user.ip_address) { + this.ipAddress = context.user.ip_address; + } + if (!this.did && !context.did) { + this.did = context.user.id || context.user.email || context.user.username; + } + } + this.timestamp = context.timestamp || timestampInSeconds(); + if (context.ignoreDuration) { + this.ignoreDuration = context.ignoreDuration; + } + if (context.sid) { + // Good enough uuid validation. — Kamil + this.sid = context.sid.length === 32 ? context.sid : uuid4(); + } + if (context.init !== undefined) { + this.init = context.init; + } + if (!this.did && context.did) { + this.did = "" + context.did; + } + if (typeof context.started === 'number') { + this.started = context.started; + } + if (this.ignoreDuration) { + this.duration = undefined; + } + else if (typeof context.duration === 'number') { + this.duration = context.duration; + } + else { + var duration = this.timestamp - this.started; + this.duration = duration >= 0 ? duration : 0; + } + if (context.release) { + this.release = context.release; + } + if (context.environment) { + this.environment = context.environment; + } + if (!this.ipAddress && context.ipAddress) { + this.ipAddress = context.ipAddress; + } + if (!this.userAgent && context.userAgent) { + this.userAgent = context.userAgent; + } + if (typeof context.errors === 'number') { + this.errors = context.errors; + } + if (context.status) { + this.status = context.status; + } + }; + /** JSDoc */ + Session.prototype.close = function (status) { + if (status) { + this.update({ status: status }); + } + else if (this.status === 'ok') { + this.update({ status: 'exited' }); + } + else { + this.update(); + } + }; + /** JSDoc */ + Session.prototype.toJSON = function () { + return dropUndefinedKeys({ + sid: "" + this.sid, + init: this.init, + // Make sure that sec is converted to ms for date constructor + started: new Date(this.started * 1000).toISOString(), + timestamp: new Date(this.timestamp * 1000).toISOString(), + status: this.status, + errors: this.errors, + did: typeof this.did === 'number' || typeof this.did === 'string' ? "" + this.did : undefined, + duration: this.duration, + attrs: { + release: this.release, + environment: this.environment, + ip_address: this.ipAddress, + user_agent: this.userAgent, + }, + }); + }; + return Session; + }()); + + /** + * API compatibility version of this hub. + * + * WARNING: This number should only be increased when the global interface + * changes and new methods are introduced. + * + * @hidden + */ + var API_VERSION = 4; + /** + * Default maximum number of breadcrumbs added to an event. Can be overwritten + * with {@link Options.maxBreadcrumbs}. + */ + var DEFAULT_BREADCRUMBS = 100; + /** + * @inheritDoc + */ + var Hub = /** @class */ (function () { + /** + * Creates a new instance of the hub, will push one {@link Layer} into the + * internal stack on creation. + * + * @param client bound to the hub. + * @param scope bound to the hub. + * @param version number, higher number means higher priority. + */ + function Hub(client, scope, _version) { + if (scope === void 0) { scope = new Scope(); } + if (_version === void 0) { _version = API_VERSION; } + this._version = _version; + /** Is a {@link Layer}[] containing the client and scope */ + this._stack = [{}]; + this.getStackTop().scope = scope; + if (client) { + this.bindClient(client); + } + } + /** + * @inheritDoc + */ + Hub.prototype.isOlderThan = function (version) { + return this._version < version; + }; + /** + * @inheritDoc + */ + Hub.prototype.bindClient = function (client) { + var top = this.getStackTop(); + top.client = client; + if (client && client.setupIntegrations) { + client.setupIntegrations(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.pushScope = function () { + // We want to clone the content of prev scope + var scope = Scope.clone(this.getScope()); + this.getStack().push({ + client: this.getClient(), + scope: scope, + }); + return scope; + }; + /** + * @inheritDoc + */ + Hub.prototype.popScope = function () { + if (this.getStack().length <= 1) + return false; + return !!this.getStack().pop(); + }; + /** + * @inheritDoc + */ + Hub.prototype.withScope = function (callback) { + var scope = this.pushScope(); + try { + callback(scope); + } + finally { + this.popScope(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.getClient = function () { + return this.getStackTop().client; + }; + /** Returns the scope of the top stack. */ + Hub.prototype.getScope = function () { + return this.getStackTop().scope; + }; + /** Returns the scope stack for domains or the process. */ + Hub.prototype.getStack = function () { + return this._stack; + }; + /** Returns the topmost scope layer in the order domain > local > process. */ + Hub.prototype.getStackTop = function () { + return this._stack[this._stack.length - 1]; + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + Hub.prototype.captureException = function (exception, hint) { + var eventId = (this._lastEventId = uuid4()); + var finalHint = hint; + // If there's no explicit hint provided, mimic the same thing that would happen + // in the minimal itself to create a consistent behavior. + // We don't do this in the client, as it's the lowest level API, and doing this, + // would prevent user from having full control over direct calls. + if (!hint) { + var syntheticException = void 0; + try { + throw new Error('Sentry syntheticException'); + } + catch (exception) { + syntheticException = exception; + } + finalHint = { + originalException: exception, + syntheticException: syntheticException, + }; + } + this._invokeClient('captureException', exception, __assign(__assign({}, finalHint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.captureMessage = function (message, level, hint) { + var eventId = (this._lastEventId = uuid4()); + var finalHint = hint; + // If there's no explicit hint provided, mimic the same thing that would happen + // in the minimal itself to create a consistent behavior. + // We don't do this in the client, as it's the lowest level API, and doing this, + // would prevent user from having full control over direct calls. + if (!hint) { + var syntheticException = void 0; + try { + throw new Error(message); + } + catch (exception) { + syntheticException = exception; + } + finalHint = { + originalException: message, + syntheticException: syntheticException, + }; + } + this._invokeClient('captureMessage', message, level, __assign(__assign({}, finalHint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.captureEvent = function (event, hint) { + var eventId = uuid4(); + if (event.type !== 'transaction') { + this._lastEventId = eventId; + } + this._invokeClient('captureEvent', event, __assign(__assign({}, hint), { event_id: eventId })); + return eventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.lastEventId = function () { + return this._lastEventId; + }; + /** + * @inheritDoc + */ + Hub.prototype.addBreadcrumb = function (breadcrumb, hint) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (!scope || !client) + return; + // eslint-disable-next-line @typescript-eslint/unbound-method + var _b = (client.getOptions && client.getOptions()) || {}, _c = _b.beforeBreadcrumb, beforeBreadcrumb = _c === void 0 ? null : _c, _d = _b.maxBreadcrumbs, maxBreadcrumbs = _d === void 0 ? DEFAULT_BREADCRUMBS : _d; + if (maxBreadcrumbs <= 0) + return; + var timestamp = dateTimestampInSeconds(); + var mergedBreadcrumb = __assign({ timestamp: timestamp }, breadcrumb); + var finalBreadcrumb = beforeBreadcrumb + ? consoleSandbox(function () { return beforeBreadcrumb(mergedBreadcrumb, hint); }) + : mergedBreadcrumb; + if (finalBreadcrumb === null) + return; + scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs); + }; + /** + * @inheritDoc + */ + Hub.prototype.setUser = function (user) { + var scope = this.getScope(); + if (scope) + scope.setUser(user); + }; + /** + * @inheritDoc + */ + Hub.prototype.setTags = function (tags) { + var scope = this.getScope(); + if (scope) + scope.setTags(tags); + }; + /** + * @inheritDoc + */ + Hub.prototype.setExtras = function (extras) { + var scope = this.getScope(); + if (scope) + scope.setExtras(extras); + }; + /** + * @inheritDoc + */ + Hub.prototype.setTag = function (key, value) { + var scope = this.getScope(); + if (scope) + scope.setTag(key, value); + }; + /** + * @inheritDoc + */ + Hub.prototype.setExtra = function (key, extra) { + var scope = this.getScope(); + if (scope) + scope.setExtra(key, extra); + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype.setContext = function (name, context) { + var scope = this.getScope(); + if (scope) + scope.setContext(name, context); + }; + /** + * @inheritDoc + */ + Hub.prototype.configureScope = function (callback) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (scope && client) { + callback(scope); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.run = function (callback) { + var oldHub = makeMain(this); + try { + callback(this); + } + finally { + makeMain(oldHub); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.getIntegration = function (integration) { + var client = this.getClient(); + if (!client) + return null; + try { + return client.getIntegration(integration); + } + catch (_oO) { + logger.warn("Cannot retrieve integration " + integration.id + " from the current Hub"); + return null; + } + }; + /** + * @inheritDoc + */ + Hub.prototype.startSpan = function (context) { + return this._callExtensionMethod('startSpan', context); + }; + /** + * @inheritDoc + */ + Hub.prototype.startTransaction = function (context, customSamplingContext) { + return this._callExtensionMethod('startTransaction', context, customSamplingContext); + }; + /** + * @inheritDoc + */ + Hub.prototype.traceHeaders = function () { + return this._callExtensionMethod('traceHeaders'); + }; + /** + * @inheritDoc + */ + Hub.prototype.captureSession = function (endSession) { + if (endSession === void 0) { endSession = false; } + // both send the update and pull the session from the scope + if (endSession) { + return this.endSession(); + } + // only send the update + this._sendSessionUpdate(); + }; + /** + * @inheritDoc + */ + Hub.prototype.endSession = function () { + var layer = this.getStackTop(); + var scope = layer && layer.scope; + var session = scope && scope.getSession(); + if (session) { + session.close(); + } + this._sendSessionUpdate(); + // the session is over; take it off of the scope + if (scope) { + scope.setSession(); + } + }; + /** + * @inheritDoc + */ + Hub.prototype.startSession = function (context) { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + var _b = (client && client.getOptions()) || {}, release = _b.release, environment = _b.environment; + // Will fetch userAgent if called from browser sdk + var global = getGlobalObject(); + var userAgent = (global.navigator || {}).userAgent; + var session = new Session(__assign(__assign(__assign({ release: release, + environment: environment }, (scope && { user: scope.getUser() })), (userAgent && { userAgent: userAgent })), context)); + if (scope) { + // End existing session if there's one + var currentSession = scope.getSession && scope.getSession(); + if (currentSession && currentSession.status === 'ok') { + currentSession.update({ status: 'exited' }); + } + this.endSession(); + // Afterwards we set the new session on the scope + scope.setSession(session); + } + return session; + }; + /** + * Sends the current Session on the scope + */ + Hub.prototype._sendSessionUpdate = function () { + var _a = this.getStackTop(), scope = _a.scope, client = _a.client; + if (!scope) + return; + var session = scope.getSession && scope.getSession(); + if (session) { + if (client && client.captureSession) { + client.captureSession(session); + } + } + }; + /** + * Internal helper function to call a method on the top client if it exists. + * + * @param method The method to call on the client. + * @param args Arguments to pass to the client function. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype._invokeClient = function (method) { + var _a; + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var _b = this.getStackTop(), scope = _b.scope, client = _b.client; + if (client && client[method]) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any + (_a = client)[method].apply(_a, __spread(args, [scope])); + } + }; + /** + * Calls global extension method and binding current instance to the function call + */ + // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366) + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Hub.prototype._callExtensionMethod = function (method) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var carrier = getMainCarrier(); + var sentry = carrier.__SENTRY__; + if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') { + return sentry.extensions[method].apply(this, args); + } + logger.warn("Extension method " + method + " couldn't be found, doing nothing."); + }; + return Hub; + }()); + /** + * Returns the global shim registry. + * + * FIXME: This function is problematic, because despite always returning a valid Carrier, + * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check + * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there. + **/ + function getMainCarrier() { + var carrier = getGlobalObject(); + carrier.__SENTRY__ = carrier.__SENTRY__ || { + extensions: {}, + hub: undefined, + }; + return carrier; + } + /** + * Replaces the current main hub with the passed one on the global object + * + * @returns The old replaced hub + */ + function makeMain(hub) { + var registry = getMainCarrier(); + var oldHub = getHubFromCarrier(registry); + setHubOnCarrier(registry, hub); + return oldHub; + } + /** + * Returns the default hub instance. + * + * If a hub is already registered in the global carrier but this module + * contains a more recent version, it replaces the registered version. + * Otherwise, the currently registered hub will be returned. + */ + function getCurrentHub() { + // Get main carrier (global for every environment) + var registry = getMainCarrier(); + // If there's no hub, or its an old API, assign a new one + if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) { + setHubOnCarrier(registry, new Hub()); + } + // Return hub that lives on a global object + return getHubFromCarrier(registry); + } + /** + * This will tell whether a carrier has a hub on it or not + * @param carrier object + */ + function hasHubOnCarrier(carrier) { + return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub); + } + /** + * This will create a new {@link Hub} and add to the passed object on + * __SENTRY__.hub. + * @param carrier object + * @hidden + */ + function getHubFromCarrier(carrier) { + if (carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub) + return carrier.__SENTRY__.hub; + carrier.__SENTRY__ = carrier.__SENTRY__ || {}; + carrier.__SENTRY__.hub = new Hub(); + return carrier.__SENTRY__.hub; + } + /** + * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute + * @param carrier object + * @param hub Hub + * @returns A boolean indicating success or failure + */ + function setHubOnCarrier(carrier, hub) { + if (!carrier) + return false; + carrier.__SENTRY__ = carrier.__SENTRY__ || {}; + carrier.__SENTRY__.hub = hub; + return true; + } + + /** + * This calls a function on the current hub. + * @param method function to call on hub. + * @param args to pass to function. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function callOnHub(method) { + var args = []; + for (var _i = 1; _i < arguments.length; _i++) { + args[_i - 1] = arguments[_i]; + } + var hub = getCurrentHub(); + if (hub && hub[method]) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return hub[method].apply(hub, __spread(args)); + } + throw new Error("No hub defined or " + method + " was not found on the hub, please open a bug report."); + } + /** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @returns The generated eventId. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + function captureException(exception, captureContext) { + var syntheticException; + try { + throw new Error('Sentry syntheticException'); + } + catch (exception) { + syntheticException = exception; + } + return callOnHub('captureException', exception, { + captureContext: captureContext, + originalException: exception, + syntheticException: syntheticException, + }); + } + /** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param Severity Define the level of the message. + * @returns The generated eventId. + */ + function captureMessage(message, captureContext) { + var syntheticException; + try { + throw new Error(message); + } + catch (exception) { + syntheticException = exception; + } + // This is necessary to provide explicit scopes upgrade, without changing the original + // arity of the `captureMessage(message, level)` method. + var level = typeof captureContext === 'string' ? captureContext : undefined; + var context = typeof captureContext !== 'string' ? { captureContext: captureContext } : undefined; + return callOnHub('captureMessage', message, level, __assign({ originalException: message, syntheticException: syntheticException }, context)); + } + /** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @returns The generated eventId. + */ + function captureEvent(event) { + return callOnHub('captureEvent', event); + } + /** + * Callback to set context information onto the scope. + * @param callback Callback function that receives Scope. + */ + function configureScope(callback) { + callOnHub('configureScope', callback); + } + /** + * Records a new breadcrumb which will be attached to future events. + * + * Breadcrumbs will be added to subsequent events to provide more context on + * user's actions prior to an error or crash. + * + * @param breadcrumb The breadcrumb to record. + */ + function addBreadcrumb(breadcrumb) { + callOnHub('addBreadcrumb', breadcrumb); + } + /** + * Sets context data with the given name. + * @param name of the context + * @param context Any kind of data. This data will be normalized. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function setContext(name, context) { + callOnHub('setContext', name, context); + } + /** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ + function setExtras(extras) { + callOnHub('setExtras', extras); + } + /** + * Set an object that will be merged sent as tags data with the event. + * @param tags Tags context object to merge into current context. + */ + function setTags(tags) { + callOnHub('setTags', tags); + } + /** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ + function setExtra(key, extra) { + callOnHub('setExtra', key, extra); + } + /** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ + function setTag(key, value) { + callOnHub('setTag', key, value); + } + /** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ + function setUser(user) { + callOnHub('setUser', user); + } + /** + * Creates a new scope with and executes the given operation within. + * The scope is automatically removed once the operation + * finishes or throws. + * + * This is essentially a convenience function for: + * + * pushScope(); + * callback(); + * popScope(); + * + * @param callback that will be enclosed into push/popScope. + */ + function withScope(callback) { + callOnHub('withScope', callback); + } + /** + * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation. + * + * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a + * new child span within the transaction or any span, call the respective `.startChild()` method. + * + * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded. + * + * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its + * finished child spans will be sent to Sentry. + * + * @param context Properties of the new `Transaction`. + * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent + * default values). See {@link Options.tracesSampler}. + * + * @returns The transaction which was just started + */ + function startTransaction(context, customSamplingContext) { + return callOnHub('startTransaction', __assign({}, context), customSamplingContext); + } + + var SENTRY_API_VERSION = '7'; + /** Initializes API Details */ + function initAPIDetails(dsn, metadata, tunnel) { + return { + initDsn: dsn, + metadata: metadata || {}, + dsn: makeDsn(dsn), + tunnel: tunnel, + }; + } + /** Returns the prefix to construct Sentry ingestion API endpoints. */ + function getBaseApiEndpoint(dsn) { + var protocol = dsn.protocol ? dsn.protocol + ":" : ''; + var port = dsn.port ? ":" + dsn.port : ''; + return protocol + "//" + dsn.host + port + (dsn.path ? "/" + dsn.path : '') + "/api/"; + } + /** Returns the ingest API endpoint for target. */ + function _getIngestEndpoint(dsn, target) { + return "" + getBaseApiEndpoint(dsn) + dsn.projectId + "/" + target + "/"; + } + /** Returns a URL-encoded string with auth config suitable for a query string. */ + function _encodedAuth(dsn) { + return urlEncode({ + // We send only the minimum set of required information. See + // https://github.com/getsentry/sentry-javascript/issues/2572. + sentry_key: dsn.publicKey, + sentry_version: SENTRY_API_VERSION, + }); + } + /** Returns the store endpoint URL. */ + function getStoreEndpoint(dsn) { + return _getIngestEndpoint(dsn, 'store'); + } + /** + * Returns the store endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + function getStoreEndpointWithUrlEncodedAuth(dsn) { + return getStoreEndpoint(dsn) + "?" + _encodedAuth(dsn); + } + /** Returns the envelope endpoint URL. */ + function _getEnvelopeEndpoint(dsn) { + return _getIngestEndpoint(dsn, 'envelope'); + } + /** + * Returns the envelope endpoint URL with auth in the query string. + * + * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests. + */ + function getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnel) { + return tunnel ? tunnel : _getEnvelopeEndpoint(dsn) + "?" + _encodedAuth(dsn); + } + /** Returns the url to the report dialog endpoint. */ + function getReportDialogEndpoint(dsnLike, dialogOptions) { + var dsn = makeDsn(dsnLike); + var endpoint = getBaseApiEndpoint(dsn) + "embed/error-page/"; + var encodedOptions = "dsn=" + dsnToString(dsn); + for (var key in dialogOptions) { + if (key === 'dsn') { + continue; + } + if (key === 'user') { + if (!dialogOptions.user) { + continue; + } + if (dialogOptions.user.name) { + encodedOptions += "&name=" + encodeURIComponent(dialogOptions.user.name); + } + if (dialogOptions.user.email) { + encodedOptions += "&email=" + encodeURIComponent(dialogOptions.user.email); + } + } + else { + encodedOptions += "&" + encodeURIComponent(key) + "=" + encodeURIComponent(dialogOptions[key]); + } + } + return endpoint + "?" + encodedOptions; + } + + var installedIntegrations = []; + /** + * @private + */ + function filterDuplicates(integrations) { + return integrations.reduce(function (acc, integrations) { + if (acc.every(function (accIntegration) { return integrations.name !== accIntegration.name; })) { + acc.push(integrations); + } + return acc; + }, []); + } + /** Gets integration to install */ + function getIntegrationsToSetup(options) { + var defaultIntegrations = (options.defaultIntegrations && __spread(options.defaultIntegrations)) || []; + var userIntegrations = options.integrations; + var integrations = __spread(filterDuplicates(defaultIntegrations)); + if (Array.isArray(userIntegrations)) { + // Filter out integrations that are also included in user options + integrations = __spread(integrations.filter(function (integrations) { + return userIntegrations.every(function (userIntegration) { return userIntegration.name !== integrations.name; }); + }), filterDuplicates(userIntegrations)); + } + else if (typeof userIntegrations === 'function') { + integrations = userIntegrations(integrations); + integrations = Array.isArray(integrations) ? integrations : [integrations]; + } + // Make sure that if present, `Debug` integration will always run last + var integrationsNames = integrations.map(function (i) { return i.name; }); + var alwaysLastToRun = 'Debug'; + if (integrationsNames.indexOf(alwaysLastToRun) !== -1) { + integrations.push.apply(integrations, __spread(integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1))); + } + return integrations; + } + /** Setup given integration */ + function setupIntegration(integration) { + if (installedIntegrations.indexOf(integration.name) !== -1) { + return; + } + integration.setupOnce(addGlobalEventProcessor, getCurrentHub); + installedIntegrations.push(integration.name); + logger.log("Integration installed: " + integration.name); + } + /** + * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default + * integrations are added unless they were already provided before. + * @param integrations array of integration instances + * @param withDefault should enable default integrations + */ + function setupIntegrations(options) { + var integrations = {}; + getIntegrationsToSetup(options).forEach(function (integration) { + integrations[integration.name] = integration; + setupIntegration(integration); + }); + // set the `initialized` flag so we don't run through the process again unecessarily; use `Object.defineProperty` + // because by default it creates a property which is nonenumerable, which we want since `initialized` shouldn't be + // considered a member of the index the way the actual integrations are + addNonEnumerableProperty(integrations, 'initialized', true); + return integrations; + } + + var ALREADY_SEEN_ERROR = "Not capturing exception because it's already been captured."; + /** + * Base implementation for all JavaScript SDK clients. + * + * Call the constructor with the corresponding backend constructor and options + * specific to the client subclass. To access these options later, use + * {@link Client.getOptions}. Also, the Backend instance is available via + * {@link Client.getBackend}. + * + * If a Dsn is specified in the options, it will be parsed and stored. Use + * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is + * invalid, the constructor will throw a {@link SentryException}. Note that + * without a valid Dsn, the SDK will not send any events to Sentry. + * + * Before sending an event via the backend, it is passed through + * {@link BaseClient._prepareEvent} to add SDK information and scope data + * (breadcrumbs and context). To add more custom information, override this + * method and extend the resulting prepared event. + * + * To issue automatically created events (e.g. via instrumentation), use + * {@link Client.captureEvent}. It will prepare the event and pass it through + * the callback lifecycle. To issue auto-breadcrumbs, use + * {@link Client.addBreadcrumb}. + * + * @example + * class NodeClient extends BaseClient { + * public constructor(options: NodeOptions) { + * super(NodeBackend, options); + * } + * + * // ... + * } + */ + var BaseClient = /** @class */ (function () { + /** + * Initializes this client instance. + * + * @param backendClass A constructor function to create the backend. + * @param options Options for the client. + */ + function BaseClient(backendClass, options) { + /** Array of used integrations. */ + this._integrations = {}; + /** Number of calls being processed */ + this._numProcessing = 0; + this._backend = new backendClass(options); + this._options = options; + if (options.dsn) { + this._dsn = makeDsn(options.dsn); + } + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + BaseClient.prototype.captureException = function (exception, hint, scope) { + var _this = this; + // ensure we haven't captured this very object before + if (checkOrSetAlreadyCaught(exception)) { + logger.log(ALREADY_SEEN_ERROR); + return; + } + var eventId = hint && hint.event_id; + this._process(this._getBackend() + .eventFromException(exception, hint) + .then(function (event) { return _this._captureEvent(event, hint, scope); }) + .then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureMessage = function (message, level, hint, scope) { + var _this = this; + var eventId = hint && hint.event_id; + var promisedEvent = isPrimitive(message) + ? this._getBackend().eventFromMessage(String(message), level, hint) + : this._getBackend().eventFromException(message, hint); + this._process(promisedEvent + .then(function (event) { return _this._captureEvent(event, hint, scope); }) + .then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureEvent = function (event, hint, scope) { + // ensure we haven't captured this very object before + if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) { + logger.log(ALREADY_SEEN_ERROR); + return; + } + var eventId = hint && hint.event_id; + this._process(this._captureEvent(event, hint, scope).then(function (result) { + eventId = result; + })); + return eventId; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.captureSession = function (session) { + if (!this._isEnabled()) { + if (isDebugBuild()) { + logger.warn('SDK not enabled, will not capture session.'); + } + return; + } + if (!(typeof session.release === 'string')) { + if (isDebugBuild()) { + logger.warn('Discarded session because of missing or non-string release'); + } + } + else { + this._sendSession(session); + // After sending, we set init false to indicate it's not the first occurrence + session.update({ init: false }); + } + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getDsn = function () { + return this._dsn; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getOptions = function () { + return this._options; + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getTransport = function () { + return this._getBackend().getTransport(); + }; + /** + * @inheritDoc + */ + BaseClient.prototype.flush = function (timeout) { + var _this = this; + return this._isClientDoneProcessing(timeout).then(function (clientFinished) { + return _this.getTransport() + .close(timeout) + .then(function (transportFlushed) { return clientFinished && transportFlushed; }); + }); + }; + /** + * @inheritDoc + */ + BaseClient.prototype.close = function (timeout) { + var _this = this; + return this.flush(timeout).then(function (result) { + _this.getOptions().enabled = false; + return result; + }); + }; + /** + * Sets up the integrations + */ + BaseClient.prototype.setupIntegrations = function () { + if (this._isEnabled() && !this._integrations.initialized) { + this._integrations = setupIntegrations(this._options); + } + }; + /** + * @inheritDoc + */ + BaseClient.prototype.getIntegration = function (integration) { + try { + return this._integrations[integration.id] || null; + } + catch (_oO) { + logger.warn("Cannot retrieve integration " + integration.id + " from the current Client"); + return null; + } + }; + /** Updates existing session based on the provided event */ + BaseClient.prototype._updateSessionFromEvent = function (session, event) { + var e_1, _a; + var crashed = false; + var errored = false; + var exceptions = event.exception && event.exception.values; + if (exceptions) { + errored = true; + try { + for (var exceptions_1 = __values(exceptions), exceptions_1_1 = exceptions_1.next(); !exceptions_1_1.done; exceptions_1_1 = exceptions_1.next()) { + var ex = exceptions_1_1.value; + var mechanism = ex.mechanism; + if (mechanism && mechanism.handled === false) { + crashed = true; + break; + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (exceptions_1_1 && !exceptions_1_1.done && (_a = exceptions_1.return)) _a.call(exceptions_1); + } + finally { if (e_1) throw e_1.error; } + } + } + // A session is updated and that session update is sent in only one of the two following scenarios: + // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update + // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update + var sessionNonTerminal = session.status === 'ok'; + var shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed); + if (shouldUpdateAndSend) { + session.update(__assign(__assign({}, (crashed && { status: 'crashed' })), { errors: session.errors || Number(errored || crashed) })); + this.captureSession(session); + } + }; + /** Deliver captured session to Sentry */ + BaseClient.prototype._sendSession = function (session) { + this._getBackend().sendSession(session); + }; + /** + * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying + * "no" (resolving to `false`) in order to give the client a chance to potentially finish first. + * + * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not + * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to + * `true`. + * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and + * `false` otherwise + */ + BaseClient.prototype._isClientDoneProcessing = function (timeout) { + var _this = this; + return new SyncPromise(function (resolve) { + var ticked = 0; + var tick = 1; + var interval = setInterval(function () { + if (_this._numProcessing == 0) { + clearInterval(interval); + resolve(true); + } + else { + ticked += tick; + if (timeout && ticked >= timeout) { + clearInterval(interval); + resolve(false); + } + } + }, tick); + }); + }; + /** Returns the current backend. */ + BaseClient.prototype._getBackend = function () { + return this._backend; + }; + /** Determines whether this SDK is enabled and a valid Dsn is present. */ + BaseClient.prototype._isEnabled = function () { + return this.getOptions().enabled !== false && this._dsn !== undefined; + }; + /** + * Adds common information to events. + * + * The information includes release and environment from `options`, + * breadcrumbs and context (extra, tags and user) from the scope. + * + * Information that is already present in the event is never overwritten. For + * nested objects, such as the context, keys are merged. + * + * @param event The original event. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A new event with more information. + */ + BaseClient.prototype._prepareEvent = function (event, scope, hint) { + var _this = this; + var _a = this.getOptions().normalizeDepth, normalizeDepth = _a === void 0 ? 3 : _a; + var prepared = __assign(__assign({}, event), { event_id: event.event_id || (hint && hint.event_id ? hint.event_id : uuid4()), timestamp: event.timestamp || dateTimestampInSeconds() }); + this._applyClientOptions(prepared); + this._applyIntegrationsMetadata(prepared); + // If we have scope given to us, use it as the base for further modifications. + // This allows us to prevent unnecessary copying of data if `captureContext` is not provided. + var finalScope = scope; + if (hint && hint.captureContext) { + finalScope = Scope.clone(finalScope).update(hint.captureContext); + } + // We prepare the result here with a resolved Event. + var result = resolvedSyncPromise(prepared); + // This should be the last thing called, since we want that + // {@link Hub.addEventProcessor} gets the finished prepared event. + if (finalScope) { + // In case we have a hub we reassign it. + result = finalScope.applyToEvent(prepared, hint); + } + return result.then(function (evt) { + if (evt) { + // TODO this is more of the hack trying to solve https://github.com/getsentry/sentry-javascript/issues/2809 + // it is only attached as extra data to the event if the event somehow skips being normalized + evt.sdkProcessingMetadata = __assign(__assign({}, evt.sdkProcessingMetadata), { normalizeDepth: normalize(normalizeDepth) }); + } + if (typeof normalizeDepth === 'number' && normalizeDepth > 0) { + return _this._normalizeEvent(evt, normalizeDepth); + } + return evt; + }); + }; + /** + * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization. + * Normalized keys: + * - `breadcrumbs.data` + * - `user` + * - `contexts` + * - `extra` + * @param event Event + * @returns Normalized event + */ + BaseClient.prototype._normalizeEvent = function (event, depth) { + if (!event) { + return null; + } + var normalized = __assign(__assign(__assign(__assign(__assign({}, event), (event.breadcrumbs && { + breadcrumbs: event.breadcrumbs.map(function (b) { return (__assign(__assign({}, b), (b.data && { + data: normalize(b.data, depth), + }))); }), + })), (event.user && { + user: normalize(event.user, depth), + })), (event.contexts && { + contexts: normalize(event.contexts, depth), + })), (event.extra && { + extra: normalize(event.extra, depth), + })); + // event.contexts.trace stores information about a Transaction. Similarly, + // event.spans[] stores information about child Spans. Given that a + // Transaction is conceptually a Span, normalization should apply to both + // Transactions and Spans consistently. + // For now the decision is to skip normalization of Transactions and Spans, + // so this block overwrites the normalized event to add back the original + // Transaction information prior to normalization. + if (event.contexts && event.contexts.trace) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + normalized.contexts.trace = event.contexts.trace; + } + event.sdkProcessingMetadata = __assign(__assign({}, event.sdkProcessingMetadata), { baseClientNormalized: true }); + return normalized; + }; + /** + * Enhances event using the client configuration. + * It takes care of all "static" values like environment, release and `dist`, + * as well as truncating overly long values. + * @param event event instance to be enhanced + */ + BaseClient.prototype._applyClientOptions = function (event) { + var options = this.getOptions(); + var environment = options.environment, release = options.release, dist = options.dist, _a = options.maxValueLength, maxValueLength = _a === void 0 ? 250 : _a; + if (!('environment' in event)) { + event.environment = 'environment' in options ? environment : 'production'; + } + if (event.release === undefined && release !== undefined) { + event.release = release; + } + if (event.dist === undefined && dist !== undefined) { + event.dist = dist; + } + if (event.message) { + event.message = truncate(event.message, maxValueLength); + } + var exception = event.exception && event.exception.values && event.exception.values[0]; + if (exception && exception.value) { + exception.value = truncate(exception.value, maxValueLength); + } + var request = event.request; + if (request && request.url) { + request.url = truncate(request.url, maxValueLength); + } + }; + /** + * This function adds all used integrations to the SDK info in the event. + * @param event The event that will be filled with all integrations. + */ + BaseClient.prototype._applyIntegrationsMetadata = function (event) { + var integrationsArray = Object.keys(this._integrations); + if (integrationsArray.length > 0) { + event.sdk = event.sdk || {}; + event.sdk.integrations = __spread((event.sdk.integrations || []), integrationsArray); + } + }; + /** + * Tells the backend to send this event + * @param event The Sentry event to send + */ + BaseClient.prototype._sendEvent = function (event) { + this._getBackend().sendEvent(event); + }; + /** + * Processes the event and logs an error in case of rejection + * @param event + * @param hint + * @param scope + */ + BaseClient.prototype._captureEvent = function (event, hint, scope) { + return this._processEvent(event, hint, scope).then(function (finalEvent) { + return finalEvent.event_id; + }, function (reason) { + logger.error(reason); + return undefined; + }); + }; + /** + * Processes an event (either error or message) and sends it to Sentry. + * + * This also adds breadcrumbs and context information to the event. However, + * platform specific meta data (such as the User's IP address) must be added + * by the SDK implementor. + * + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + * @param scope A scope containing event metadata. + * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send. + */ + BaseClient.prototype._processEvent = function (event, hint, scope) { + var _this = this; + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.getOptions(), beforeSend = _a.beforeSend, sampleRate = _a.sampleRate; + var transport = this.getTransport(); + function recordLostEvent(outcome, category) { + if (transport.recordLostEvent) { + transport.recordLostEvent(outcome, category); + } + } + if (!this._isEnabled()) { + return rejectedSyncPromise(new SentryError('SDK not enabled, will not capture event.')); + } + var isTransaction = event.type === 'transaction'; + // 1.0 === 100% events are sent + // 0.0 === 0% events are sent + // Sampling for transaction happens somewhere else + if (!isTransaction && typeof sampleRate === 'number' && Math.random() > sampleRate) { + recordLostEvent('sample_rate', 'event'); + return rejectedSyncPromise(new SentryError("Discarding event because it's not included in the random sample (sampling rate = " + sampleRate + ")")); + } + return this._prepareEvent(event, scope, hint) + .then(function (prepared) { + if (prepared === null) { + recordLostEvent('event_processor', event.type || 'event'); + throw new SentryError('An event processor returned null, will not send event.'); + } + var isInternalException = hint && hint.data && hint.data.__sentry__ === true; + if (isInternalException || isTransaction || !beforeSend) { + return prepared; + } + var beforeSendResult = beforeSend(prepared, hint); + return _ensureBeforeSendRv(beforeSendResult); + }) + .then(function (processedEvent) { + if (processedEvent === null) { + recordLostEvent('before_send', event.type || 'event'); + throw new SentryError('`beforeSend` returned `null`, will not send event.'); + } + var session = scope && scope.getSession && scope.getSession(); + if (!isTransaction && session) { + _this._updateSessionFromEvent(session, processedEvent); + } + _this._sendEvent(processedEvent); + return processedEvent; + }) + .then(null, function (reason) { + if (reason instanceof SentryError) { + throw reason; + } + _this.captureException(reason, { + data: { + __sentry__: true, + }, + originalException: reason, + }); + throw new SentryError("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: " + reason); + }); + }; + /** + * Occupies the client with processing and event + */ + BaseClient.prototype._process = function (promise) { + var _this = this; + this._numProcessing += 1; + void promise.then(function (value) { + _this._numProcessing -= 1; + return value; + }, function (reason) { + _this._numProcessing -= 1; + return reason; + }); + }; + return BaseClient; + }()); + /** + * Verifies that return value of configured `beforeSend` is of expected type. + */ + function _ensureBeforeSendRv(rv) { + var nullErr = '`beforeSend` method has to return `null` or a valid event.'; + if (isThenable(rv)) { + return rv.then(function (event) { + if (!(isPlainObject(event) || event === null)) { + throw new SentryError(nullErr); + } + return event; + }, function (e) { + throw new SentryError("beforeSend rejected with " + e); + }); + } + else if (!(isPlainObject(rv) || rv === null)) { + throw new SentryError(nullErr); + } + return rv; + } + + /** Noop transport */ + var NoopTransport = /** @class */ (function () { + function NoopTransport() { + } + /** + * @inheritDoc + */ + NoopTransport.prototype.sendEvent = function (_) { + return resolvedSyncPromise({ + reason: "NoopTransport: Event has been skipped because no Dsn is configured.", + status: 'skipped', + }); + }; + /** + * @inheritDoc + */ + NoopTransport.prototype.close = function (_) { + return resolvedSyncPromise(true); + }; + return NoopTransport; + }()); + + /** + * This is the base implemention of a Backend. + * @hidden + */ + var BaseBackend = /** @class */ (function () { + /** Creates a new backend instance. */ + function BaseBackend(options) { + this._options = options; + if (!this._options.dsn) { + logger.warn('No DSN provided, backend will not do anything.'); + } + this._transport = this._setupTransport(); + } + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + BaseBackend.prototype.eventFromException = function (_exception, _hint) { + throw new SentryError('Backend has to implement `eventFromException` method'); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.eventFromMessage = function (_message, _level, _hint) { + throw new SentryError('Backend has to implement `eventFromMessage` method'); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.sendEvent = function (event) { + void this._transport.sendEvent(event).then(null, function (reason) { + if (isDebugBuild()) { + logger.error("Error while sending event: " + reason); + } + }); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.sendSession = function (session) { + if (!this._transport.sendSession) { + if (isDebugBuild()) { + logger.warn("Dropping session because custom transport doesn't implement sendSession"); + } + return; + } + void this._transport.sendSession(session).then(null, function (reason) { + if (isDebugBuild()) { + logger.error("Error while sending session: " + reason); + } + }); + }; + /** + * @inheritDoc + */ + BaseBackend.prototype.getTransport = function () { + return this._transport; + }; + /** + * Sets up the transport so it can be used later to send requests. + */ + BaseBackend.prototype._setupTransport = function () { + return new NoopTransport(); + }; + return BaseBackend; + }()); + + /** Extract sdk info from from the API metadata */ + function getSdkMetadataForEnvelopeHeader(api) { + if (!api.metadata || !api.metadata.sdk) { + return; + } + var _a = api.metadata.sdk, name = _a.name, version = _a.version; + return { name: name, version: version }; + } + /** + * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key. + * Merge with existing data if any. + **/ + function enhanceEventWithSdkInfo(event, sdkInfo) { + if (!sdkInfo) { + return event; + } + event.sdk = event.sdk || {}; + event.sdk.name = event.sdk.name || sdkInfo.name; + event.sdk.version = event.sdk.version || sdkInfo.version; + event.sdk.integrations = __spread((event.sdk.integrations || []), (sdkInfo.integrations || [])); + event.sdk.packages = __spread((event.sdk.packages || []), (sdkInfo.packages || [])); + return event; + } + /** Creates a SentryRequest from a Session. */ + function sessionToSentryRequest(session, api) { + var sdkInfo = getSdkMetadataForEnvelopeHeader(api); + var envelopeHeaders = JSON.stringify(__assign(__assign({ sent_at: new Date().toISOString() }, (sdkInfo && { sdk: sdkInfo })), (!!api.tunnel && { dsn: dsnToString(api.dsn) }))); + // I know this is hacky but we don't want to add `session` to request type since it's never rate limited + var type = 'aggregates' in session ? 'sessions' : 'session'; + var itemHeaders = JSON.stringify({ + type: type, + }); + return { + body: envelopeHeaders + "\n" + itemHeaders + "\n" + JSON.stringify(session), + type: type, + url: getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel), + }; + } + /** Creates a SentryRequest from an event. */ + function eventToSentryRequest(event, api) { + var sdkInfo = getSdkMetadataForEnvelopeHeader(api); + var eventType = event.type || 'event'; + var useEnvelope = eventType === 'transaction' || !!api.tunnel; + var transactionSampling = (event.sdkProcessingMetadata || {}).transactionSampling; + var _a = transactionSampling || {}, samplingMethod = _a.method, sampleRate = _a.rate; + // TODO: Below is a temporary hack in order to debug a serialization error - see + // https://github.com/getsentry/sentry-javascript/issues/2809, + // https://github.com/getsentry/sentry-javascript/pull/4425, and + // https://github.com/getsentry/sentry-javascript/pull/4574. + // + // TL; DR: even though we normalize all events (which should prevent this), something is causing `JSON.stringify` to + // throw a circular reference error. + // + // When it's time to remove it: + // 1. Delete everything between here and where the request object `req` is created, EXCEPT the line deleting + // `sdkProcessingMetadata` + // 2. Restore the original version of the request body, which is commented out + // 3. Search for either of the PR URLs above and pull out the companion hacks in the browser playwright tests and the + // baseClient tests in this package + enhanceEventWithSdkInfo(event, api.metadata.sdk); + event.tags = event.tags || {}; + event.extra = event.extra || {}; + // In theory, all events should be marked as having gone through normalization and so + // we should never set this tag/extra data + if (!(event.sdkProcessingMetadata && event.sdkProcessingMetadata.baseClientNormalized)) { + event.tags.skippedNormalization = true; + event.extra.normalizeDepth = event.sdkProcessingMetadata ? event.sdkProcessingMetadata.normalizeDepth : 'unset'; + } + // prevent this data from being sent to sentry + // TODO: This is NOT part of the hack - DO NOT DELETE + delete event.sdkProcessingMetadata; + var body; + try { + // 99.9% of events should get through just fine - no change in behavior for them + body = JSON.stringify(event); + } + catch (err) { + // Record data about the error without replacing original event data, then force renormalization + event.tags.JSONStringifyError = true; + event.extra.JSONStringifyError = err; + try { + body = JSON.stringify(normalize(event)); + } + catch (newErr) { + // At this point even renormalization hasn't worked, meaning something about the event data has gone very wrong. + // Time to cut our losses and record only the new error. With luck, even in the problematic cases we're trying to + // debug with this hack, we won't ever land here. + var innerErr = newErr; + body = JSON.stringify({ + message: 'JSON.stringify error after renormalization', + // setting `extra: { innerErr }` here for some reason results in an empty object, so unpack manually + extra: { message: innerErr.message, stack: innerErr.stack }, + }); + } + } + var req = { + // this is the relevant line of code before the hack was added, to make it easy to undo said hack once we've solved + // the mystery + // body: JSON.stringify(sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event), + body: body, + type: eventType, + url: useEnvelope + ? getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel) + : getStoreEndpointWithUrlEncodedAuth(api.dsn), + }; + // https://develop.sentry.dev/sdk/envelopes/ + // Since we don't need to manipulate envelopes nor store them, there is no + // exported concept of an Envelope with operations including serialization and + // deserialization. Instead, we only implement a minimal subset of the spec to + // serialize events inline here. + if (useEnvelope) { + var envelopeHeaders = JSON.stringify(__assign(__assign({ event_id: event.event_id, sent_at: new Date().toISOString() }, (sdkInfo && { sdk: sdkInfo })), (!!api.tunnel && { dsn: dsnToString(api.dsn) }))); + var itemHeaders = JSON.stringify({ + type: eventType, + // TODO: Right now, sampleRate may or may not be defined (it won't be in the cases of inheritance and + // explicitly-set sampling decisions). Are we good with that? + sample_rates: [{ id: samplingMethod, rate: sampleRate }], + }); + // The trailing newline is optional. We intentionally don't send it to avoid + // sending unnecessary bytes. + // + // const envelope = `${envelopeHeaders}\n${itemHeaders}\n${req.body}\n`; + var envelope = envelopeHeaders + "\n" + itemHeaders + "\n" + req.body; + req.body = envelope; + } + return req; + } + + /** + * Internal function to create a new SDK client instance. The client is + * installed and then bound to the current scope. + * + * @param clientClass The client class to instantiate. + * @param options Options to pass to the client. + */ + function initAndBind(clientClass, options) { + if (options.debug === true) { + logger.enable(); + } + var hub = getCurrentHub(); + var scope = hub.getScope(); + if (scope) { + scope.update(options.initialScope); + } + var client = new clientClass(options); + hub.bindClient(client); + } + + var SDK_VERSION = '6.17.9'; + + var originalFunctionToString; + /** Patch toString calls to return proper name for wrapped functions */ + var FunctionToString = /** @class */ (function () { + function FunctionToString() { + /** + * @inheritDoc + */ + this.name = FunctionToString.id; + } + /** + * @inheritDoc + */ + FunctionToString.prototype.setupOnce = function () { + // eslint-disable-next-line @typescript-eslint/unbound-method + originalFunctionToString = Function.prototype.toString; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + Function.prototype.toString = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var context = getOriginalFunction(this) || this; + return originalFunctionToString.apply(context, args); + }; + }; + /** + * @inheritDoc + */ + FunctionToString.id = 'FunctionToString'; + return FunctionToString; + }()); + + // "Script error." is hard coded into browsers for errors that it can't read. + // this is the result of a script being pulled in from an external domain and CORS. + var DEFAULT_IGNORE_ERRORS = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/]; + /** Inbound filters configurable by the user */ + var InboundFilters = /** @class */ (function () { + function InboundFilters(_options) { + if (_options === void 0) { _options = {}; } + this._options = _options; + /** + * @inheritDoc + */ + this.name = InboundFilters.id; + } + /** + * @inheritDoc + */ + InboundFilters.prototype.setupOnce = function () { + addGlobalEventProcessor(function (event) { + var hub = getCurrentHub(); + if (!hub) { + return event; + } + var self = hub.getIntegration(InboundFilters); + if (self) { + var client = hub.getClient(); + var clientOptions = client ? client.getOptions() : {}; + // This checks prevents most of the occurrences of the bug linked below: + // https://github.com/getsentry/sentry-javascript/issues/2622 + // The bug is caused by multiple SDK instances, where one is minified and one is using non-mangled code. + // Unfortunatelly we cannot fix it reliably (thus reserved property in rollup's terser config), + // as we cannot force people using multiple instances in their apps to sync SDK versions. + var options = typeof self._mergeOptions === 'function' ? self._mergeOptions(clientOptions) : {}; + if (typeof self._shouldDropEvent !== 'function') { + return event; + } + return self._shouldDropEvent(event, options) ? null : event; + } + return event; + }); + }; + /** JSDoc */ + InboundFilters.prototype._shouldDropEvent = function (event, options) { + if (this._isSentryError(event, options)) { + if (isDebugBuild()) { + logger.warn("Event dropped due to being internal Sentry Error.\nEvent: " + getEventDescription(event)); + } + return true; + } + if (this._isIgnoredError(event, options)) { + if (isDebugBuild()) { + logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + getEventDescription(event)); + } + return true; + } + if (this._isDeniedUrl(event, options)) { + if (isDebugBuild()) { + logger.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + getEventDescription(event) + ".\nUrl: " + this._getEventFilterUrl(event)); + } + return true; + } + if (!this._isAllowedUrl(event, options)) { + if (isDebugBuild()) { + logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + getEventDescription(event) + ".\nUrl: " + this._getEventFilterUrl(event)); + } + return true; + } + return false; + }; + /** JSDoc */ + InboundFilters.prototype._isSentryError = function (event, options) { + if (!options.ignoreInternal) { + return false; + } + try { + // @ts-ignore can't be a sentry error if undefined + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return event.exception.values[0].type === 'SentryError'; + } + catch (e) { + // ignore + } + return false; + }; + /** JSDoc */ + InboundFilters.prototype._isIgnoredError = function (event, options) { + if (!options.ignoreErrors || !options.ignoreErrors.length) { + return false; + } + return this._getPossibleEventMessages(event).some(function (message) { + // Not sure why TypeScript complains here... + return options.ignoreErrors.some(function (pattern) { return isMatchingPattern(message, pattern); }); + }); + }; + /** JSDoc */ + InboundFilters.prototype._isDeniedUrl = function (event, options) { + // TODO: Use Glob instead? + if (!options.denyUrls || !options.denyUrls.length) { + return false; + } + var url = this._getEventFilterUrl(event); + return !url ? false : options.denyUrls.some(function (pattern) { return isMatchingPattern(url, pattern); }); + }; + /** JSDoc */ + InboundFilters.prototype._isAllowedUrl = function (event, options) { + // TODO: Use Glob instead? + if (!options.allowUrls || !options.allowUrls.length) { + return true; + } + var url = this._getEventFilterUrl(event); + return !url ? true : options.allowUrls.some(function (pattern) { return isMatchingPattern(url, pattern); }); + }; + /** JSDoc */ + InboundFilters.prototype._mergeOptions = function (clientOptions) { + if (clientOptions === void 0) { clientOptions = {}; } + return { + allowUrls: __spread((this._options.whitelistUrls || []), (this._options.allowUrls || []), (clientOptions.whitelistUrls || []), (clientOptions.allowUrls || [])), + denyUrls: __spread((this._options.blacklistUrls || []), (this._options.denyUrls || []), (clientOptions.blacklistUrls || []), (clientOptions.denyUrls || [])), + ignoreErrors: __spread((this._options.ignoreErrors || []), (clientOptions.ignoreErrors || []), DEFAULT_IGNORE_ERRORS), + ignoreInternal: typeof this._options.ignoreInternal !== 'undefined' ? this._options.ignoreInternal : true, + }; + }; + /** JSDoc */ + InboundFilters.prototype._getPossibleEventMessages = function (event) { + if (event.message) { + return [event.message]; + } + if (event.exception) { + try { + var _a = (event.exception.values && event.exception.values[0]) || {}, _b = _a.type, type = _b === void 0 ? '' : _b, _c = _a.value, value = _c === void 0 ? '' : _c; + return ["" + value, type + ": " + value]; + } + catch (oO) { + if (isDebugBuild()) { + logger.error("Cannot extract message for event " + getEventDescription(event)); + } + return []; + } + } + return []; + }; + /** JSDoc */ + InboundFilters.prototype._getLastValidUrl = function (frames) { + if (frames === void 0) { frames = []; } + for (var i = frames.length - 1; i >= 0; i--) { + var frame = frames[i]; + if (frame && frame.filename !== '' && frame.filename !== '[native code]') { + return frame.filename || null; + } + } + return null; + }; + /** JSDoc */ + InboundFilters.prototype._getEventFilterUrl = function (event) { + try { + if (event.stacktrace) { + return this._getLastValidUrl(event.stacktrace.frames); + } + var frames_1; + try { + // @ts-ignore we only care about frames if the whole thing here is defined + frames_1 = event.exception.values[0].stacktrace.frames; + } + catch (e) { + // ignore + } + return frames_1 ? this._getLastValidUrl(frames_1) : null; + } + catch (oO) { + if (isDebugBuild()) { + logger.error("Cannot extract url for event " + getEventDescription(event)); + } + return null; + } + }; + /** + * @inheritDoc + */ + InboundFilters.id = 'InboundFilters'; + return InboundFilters; + }()); + + var CoreIntegrations = /*#__PURE__*/Object.freeze({ + __proto__: null, + FunctionToString: FunctionToString, + InboundFilters: InboundFilters + }); + + // global reference to slice + var UNKNOWN_FUNCTION = '?'; + function createFrame(filename, func, lineno, colno) { + var frame = { + filename: filename, + function: func, + // All browser frames are considered in_app + in_app: true, + }; + if (lineno !== undefined) { + frame.lineno = lineno; + } + if (colno !== undefined) { + frame.colno = colno; + } + return frame; + } + // Chromium based browsers: Chrome, Brave, new Opera, new Edge + var chromeRegex = /^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i; + var chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/; + var chrome = function (line) { + var parts = chromeRegex.exec(line); + if (parts) { + var isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line + if (isEval) { + var subMatch = chromeEvalRegex.exec(parts[2]); + if (subMatch) { + // throw out eval line/column and use top-most line/column number + parts[2] = subMatch[1]; // url + parts[3] = subMatch[2]; // line + parts[4] = subMatch[3]; // column + } + } + // Kamil: One more hack won't hurt us right? Understanding and adding more rules on top of these regexps right now + // would be way too time consuming. (TODO: Rewrite whole RegExp to be more readable) + var _a = __read(extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]), 2), func = _a[0], filename = _a[1]; + return createFrame(filename, func, parts[3] ? +parts[3] : undefined, parts[4] ? +parts[4] : undefined); + } + return; + }; + // gecko regex: `(?:bundle|\d+\.js)`: `bundle` is for react native, `\d+\.js` also but specifically for ram bundles because it + // generates filenames without a prefix like `file://` the filenames in the stacktrace are just 42.js + // We need this specific case for now because we want no other regex to match. + var geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i; + var geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i; + var gecko = function (line) { + var _a; + var parts = geckoREgex.exec(line); + if (parts) { + var isEval = parts[3] && parts[3].indexOf(' > eval') > -1; + if (isEval) { + var subMatch = geckoEvalRegex.exec(parts[3]); + if (subMatch) { + // throw out eval line/column and use top-most line number + parts[1] = parts[1] || "eval"; + parts[3] = subMatch[1]; + parts[4] = subMatch[2]; + parts[5] = ''; // no column when eval + } + } + var filename = parts[3]; + var func = parts[1] || UNKNOWN_FUNCTION; + _a = __read(extractSafariExtensionDetails(func, filename), 2), func = _a[0], filename = _a[1]; + return createFrame(filename, func, parts[4] ? +parts[4] : undefined, parts[5] ? +parts[5] : undefined); + } + return; + }; + var winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i; + var winjs = function (line) { + var parts = winjsRegex.exec(line); + return parts + ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) + : undefined; + }; + var opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i; + var opera10 = function (line) { + var parts = opera10Regex.exec(line); + return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined; + }; + var opera11Regex = / line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i; + var opera11 = function (line) { + var parts = opera11Regex.exec(line); + return parts ? createFrame(parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined; + }; + /** + * Safari web extensions, starting version unknown, can produce "frames-only" stacktraces. + * What it means, is that instead of format like: + * + * Error: wat + * at function@url:row:col + * at function@url:row:col + * at function@url:row:col + * + * it produces something like: + * + * function@url:row:col + * function@url:row:col + * function@url:row:col + * + * Because of that, it won't be captured by `chrome` RegExp and will fall into `Gecko` branch. + * This function is extracted so that we can use it in both places without duplicating the logic. + * Unfortunately "just" changing RegExp is too complicated now and making it pass all tests + * and fix this case seems like an impossible, or at least way too time-consuming task. + */ + var extractSafariExtensionDetails = function (func, filename) { + var isSafariExtension = func.indexOf('safari-extension') !== -1; + var isSafariWebExtension = func.indexOf('safari-web-extension') !== -1; + return isSafariExtension || isSafariWebExtension + ? [ + func.indexOf('@') !== -1 ? func.split('@')[0] : UNKNOWN_FUNCTION, + isSafariExtension ? "safari-extension:" + filename : "safari-web-extension:" + filename, + ] + : [func, filename]; + }; + + /** + * This function creates an exception from an TraceKitStackTrace + * @param stacktrace TraceKitStackTrace that will be converted to an exception + * @hidden + */ + function exceptionFromError(ex) { + // Get the frames first since Opera can lose the stack if we touch anything else first + var frames = parseStackFrames(ex); + var exception = { + type: ex && ex.name, + value: extractMessage(ex), + }; + if (frames && frames.length) { + exception.stacktrace = { frames: frames }; + } + if (exception.type === undefined && exception.value === '') { + exception.value = 'Unrecoverable error caught'; + } + return exception; + } + /** + * @hidden + */ + function eventFromPlainObject(exception, syntheticException, rejection) { + var event = { + exception: { + values: [ + { + type: isEvent(exception) ? exception.constructor.name : rejection ? 'UnhandledRejection' : 'Error', + value: "Non-Error " + (rejection ? 'promise rejection' : 'exception') + " captured with keys: " + extractExceptionKeysForMessage(exception), + }, + ], + }, + extra: { + __serialized__: normalizeToSize(exception), + }, + }; + if (syntheticException) { + event.stacktrace = { + frames: parseStackFrames(syntheticException), + }; + } + return event; + } + /** + * @hidden + */ + function eventFromError(ex) { + return { + exception: { + values: [exceptionFromError(ex)], + }, + }; + } + /** Parses stack frames from an error */ + function parseStackFrames(ex) { + // Access and store the stacktrace property before doing ANYTHING + // else to it because Opera is not very good at providing it + // reliably in other circumstances. + var stacktrace = ex.stacktrace || ex.stack || ''; + var popSize = getPopSize(ex); + try { + // The order of the parsers in important + return createStackParser(opera10, opera11, chrome, winjs, gecko)(stacktrace, popSize); + } + catch (e) { + // no-empty + } + return []; + } + // Based on our own mapping pattern - https://github.com/getsentry/sentry/blob/9f08305e09866c8bd6d0c24f5b0aabdd7dd6c59c/src/sentry/lang/javascript/errormapping.py#L83-L108 + var reactMinifiedRegexp = /Minified React error #\d+;/i; + function getPopSize(ex) { + if (ex) { + if (typeof ex.framesToPop === 'number') { + return ex.framesToPop; + } + if (reactMinifiedRegexp.test(ex.message)) { + return 1; + } + } + return 0; + } + /** + * There are cases where stacktrace.message is an Event object + * https://github.com/getsentry/sentry-javascript/issues/1949 + * In this specific case we try to extract stacktrace.message.error.message + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function extractMessage(ex) { + var message = ex && ex.message; + if (!message) { + return 'No error message'; + } + if (message.error && typeof message.error.message === 'string') { + return message.error.message; + } + return message; + } + + /** + * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`. + * @hidden + */ + function eventFromException(options, exception, hint) { + var syntheticException = (hint && hint.syntheticException) || undefined; + var event = eventFromUnknownInput(exception, syntheticException, { + attachStacktrace: options.attachStacktrace, + }); + addExceptionMechanism(event); // defaults to { type: 'generic', handled: true } + event.level = exports.Severity.Error; + if (hint && hint.event_id) { + event.event_id = hint.event_id; + } + return resolvedSyncPromise(event); + } + /** + * Builds and Event from a Message + * @hidden + */ + function eventFromMessage(options, message, level, hint) { + if (level === void 0) { level = exports.Severity.Info; } + var syntheticException = (hint && hint.syntheticException) || undefined; + var event = eventFromString(message, syntheticException, { + attachStacktrace: options.attachStacktrace, + }); + event.level = level; + if (hint && hint.event_id) { + event.event_id = hint.event_id; + } + return resolvedSyncPromise(event); + } + /** + * @hidden + */ + function eventFromUnknownInput(exception, syntheticException, options) { + if (options === void 0) { options = {}; } + var event; + if (isErrorEvent(exception) && exception.error) { + // If it is an ErrorEvent with `error` property, extract it to get actual Error + var errorEvent = exception; + return eventFromError(errorEvent.error); + } + // If it is a `DOMError` (which is a legacy API, but still supported in some browsers) then we just extract the name + // and message, as it doesn't provide anything else. According to the spec, all `DOMExceptions` should also be + // `Error`s, but that's not the case in IE11, so in that case we treat it the same as we do a `DOMError`. + // + // https://developer.mozilla.org/en-US/docs/Web/API/DOMError + // https://developer.mozilla.org/en-US/docs/Web/API/DOMException + // https://webidl.spec.whatwg.org/#es-DOMException-specialness + if (isDOMError(exception) || isDOMException(exception)) { + var domException = exception; + if ('stack' in exception) { + event = eventFromError(exception); + } + else { + var name_1 = domException.name || (isDOMError(domException) ? 'DOMError' : 'DOMException'); + var message = domException.message ? name_1 + ": " + domException.message : name_1; + event = eventFromString(message, syntheticException, options); + addExceptionTypeValue(event, message); + } + if ('code' in domException) { + event.tags = __assign(__assign({}, event.tags), { 'DOMException.code': "" + domException.code }); + } + return event; + } + if (isError(exception)) { + // we have a real Error object, do nothing + return eventFromError(exception); + } + if (isPlainObject(exception) || isEvent(exception)) { + // If it's a plain object or an instance of `Event` (the built-in JS kind, not this SDK's `Event` type), serialize + // it manually. This will allow us to group events based on top-level keys which is much better than creating a new + // group on any key/value change. + var objectException = exception; + event = eventFromPlainObject(objectException, syntheticException, options.isRejection); + addExceptionMechanism(event, { + synthetic: true, + }); + return event; + } + // If none of previous checks were valid, then it means that it's not: + // - an instance of DOMError + // - an instance of DOMException + // - an instance of Event + // - an instance of Error + // - a valid ErrorEvent (one with an error property) + // - a plain Object + // + // So bail out and capture it as a simple message: + event = eventFromString(exception, syntheticException, options); + addExceptionTypeValue(event, "" + exception, undefined); + addExceptionMechanism(event, { + synthetic: true, + }); + return event; + } + /** + * @hidden + */ + function eventFromString(input, syntheticException, options) { + if (options === void 0) { options = {}; } + var event = { + message: input, + }; + if (options.attachStacktrace && syntheticException) { + event.stacktrace = { + frames: parseStackFrames(syntheticException), + }; + } + return event; + } + + var global$7 = getGlobalObject(); + var cachedFetchImpl; + /** + * A special usecase for incorrectly wrapped Fetch APIs in conjunction with ad-blockers. + * Whenever someone wraps the Fetch API and returns the wrong promise chain, + * this chain becomes orphaned and there is no possible way to capture it's rejections + * other than allowing it bubble up to this very handler. eg. + * + * const f = window.fetch; + * window.fetch = function () { + * const p = f.apply(this, arguments); + * + * p.then(function() { + * console.log('hi.'); + * }); + * + * return p; + * } + * + * `p.then(function () { ... })` is producing a completely separate promise chain, + * however, what's returned is `p` - the result of original `fetch` call. + * + * This mean, that whenever we use the Fetch API to send our own requests, _and_ + * some ad-blocker blocks it, this orphaned chain will _always_ reject, + * effectively causing another event to be captured. + * This makes a whole process become an infinite loop, which we need to somehow + * deal with, and break it in one way or another. + * + * To deal with this issue, we are making sure that we _always_ use the real + * browser Fetch API, instead of relying on what `window.fetch` exposes. + * The only downside to this would be missing our own requests as breadcrumbs, + * but because we are already not doing this, it should be just fine. + * + * Possible failed fetch error messages per-browser: + * + * Chrome: Failed to fetch + * Edge: Failed to Fetch + * Firefox: NetworkError when attempting to fetch resource + * Safari: resource blocked by content blocker + */ + function getNativeFetchImplementation() { + if (cachedFetchImpl) { + return cachedFetchImpl; + } + /* eslint-disable @typescript-eslint/unbound-method */ + // Fast path to avoid DOM I/O + if (isNativeFetch(global$7.fetch)) { + return (cachedFetchImpl = global$7.fetch.bind(global$7)); + } + var document = global$7.document; + var fetchImpl = global$7.fetch; + // eslint-disable-next-line deprecation/deprecation + if (document && typeof document.createElement === "function") { + try { + var sandbox = document.createElement('iframe'); + sandbox.hidden = true; + document.head.appendChild(sandbox); + var contentWindow = sandbox.contentWindow; + if (contentWindow && contentWindow.fetch) { + fetchImpl = contentWindow.fetch; + } + document.head.removeChild(sandbox); + } + catch (e) { + if (isDebugBuild()) { + logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', e); + } + } + } + return (cachedFetchImpl = fetchImpl.bind(global$7)); + /* eslint-enable @typescript-eslint/unbound-method */ + } + /** + * Sends sdk client report using sendBeacon or fetch as a fallback if available + * + * @param url report endpoint + * @param body report payload + */ + function sendReport(url, body) { + var isRealNavigator = Object.prototype.toString.call(global$7 && global$7.navigator) === '[object Navigator]'; + var hasSendBeacon = isRealNavigator && typeof global$7.navigator.sendBeacon === 'function'; + if (hasSendBeacon) { + // Prevent illegal invocations - https://xgwang.me/posts/you-may-not-know-beacon/#it-may-throw-error%2C-be-sure-to-catch + var sendBeacon = global$7.navigator.sendBeacon.bind(global$7.navigator); + return sendBeacon(url, body); + } + if (supportsFetch()) { + var fetch_1 = getNativeFetchImplementation(); + return forget(fetch_1(url, { + body: body, + method: 'POST', + credentials: 'omit', + keepalive: true, + })); + } + } + + function requestTypeToCategory(ty) { + var tyStr = ty; + return tyStr === 'event' ? 'error' : tyStr; + } + var global$6 = getGlobalObject(); + /** Base Transport class implementation */ + var BaseTransport = /** @class */ (function () { + function BaseTransport(options) { + var _this = this; + this.options = options; + /** A simple buffer holding all requests. */ + this._buffer = makePromiseBuffer(30); + /** Locks transport after receiving rate limits in a response */ + this._rateLimits = {}; + this._outcomes = {}; + this._api = initAPIDetails(options.dsn, options._metadata, options.tunnel); + // eslint-disable-next-line deprecation/deprecation + this.url = getStoreEndpointWithUrlEncodedAuth(this._api.dsn); + if (this.options.sendClientReports && global$6.document) { + global$6.document.addEventListener('visibilitychange', function () { + if (global$6.document.visibilityState === 'hidden') { + _this._flushOutcomes(); + } + }); + } + } + /** + * @inheritDoc + */ + BaseTransport.prototype.sendEvent = function (event) { + return this._sendRequest(eventToSentryRequest(event, this._api), event); + }; + /** + * @inheritDoc + */ + BaseTransport.prototype.sendSession = function (session) { + return this._sendRequest(sessionToSentryRequest(session, this._api), session); + }; + /** + * @inheritDoc + */ + BaseTransport.prototype.close = function (timeout) { + return this._buffer.drain(timeout); + }; + /** + * @inheritDoc + */ + BaseTransport.prototype.recordLostEvent = function (reason, category) { + var _a; + if (!this.options.sendClientReports) { + return; + } + // We want to track each category (event, transaction, session) separately + // but still keep the distinction between different type of outcomes. + // We could use nested maps, but it's much easier to read and type this way. + // A correct type for map-based implementation if we want to go that route + // would be `Partial>>>` + var key = requestTypeToCategory(category) + ":" + reason; + logger.log("Adding outcome: " + key); + this._outcomes[key] = (_a = this._outcomes[key], (_a !== null && _a !== void 0 ? _a : 0)) + 1; + }; + /** + * Send outcomes as an envelope + */ + BaseTransport.prototype._flushOutcomes = function () { + if (!this.options.sendClientReports) { + return; + } + var outcomes = this._outcomes; + this._outcomes = {}; + // Nothing to send + if (!Object.keys(outcomes).length) { + logger.log('No outcomes to flush'); + return; + } + logger.log("Flushing outcomes:\n" + JSON.stringify(outcomes, null, 2)); + var url = getEnvelopeEndpointWithUrlEncodedAuth(this._api.dsn, this._api.tunnel); + // Envelope header is required to be at least an empty object + var envelopeHeader = JSON.stringify(__assign({}, (this._api.tunnel && { dsn: dsnToString(this._api.dsn) }))); + var itemHeaders = JSON.stringify({ + type: 'client_report', + }); + var item = JSON.stringify({ + timestamp: dateTimestampInSeconds(), + discarded_events: Object.keys(outcomes).map(function (key) { + var _a = __read(key.split(':'), 2), category = _a[0], reason = _a[1]; + return { + reason: reason, + category: category, + quantity: outcomes[key], + }; + }), + }); + var envelope = envelopeHeader + "\n" + itemHeaders + "\n" + item; + try { + sendReport(url, envelope); + } + catch (e) { + logger.error(e); + } + }; + /** + * Handle Sentry repsonse for promise-based transports. + */ + BaseTransport.prototype._handleResponse = function (_a) { + var requestType = _a.requestType, response = _a.response, headers = _a.headers, resolve = _a.resolve, reject = _a.reject; + var status = eventStatusFromHttpCode(response.status); + /** + * "The name is case-insensitive." + * https://developer.mozilla.org/en-US/docs/Web/API/Headers/get + */ + var limited = this._handleRateLimit(headers); + if (limited && isDebugBuild()) { + logger.warn("Too many " + requestType + " requests, backing off until: " + this._disabledUntil(requestType)); + } + if (status === 'success') { + resolve({ status: status }); + return; + } + reject(response); + }; + /** + * Gets the time that given category is disabled until for rate limiting + */ + BaseTransport.prototype._disabledUntil = function (requestType) { + var category = requestTypeToCategory(requestType); + return this._rateLimits[category] || this._rateLimits.all; + }; + /** + * Checks if a category is rate limited + */ + BaseTransport.prototype._isRateLimited = function (requestType) { + return this._disabledUntil(requestType) > new Date(Date.now()); + }; + /** + * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header. + */ + BaseTransport.prototype._handleRateLimit = function (headers) { + var e_1, _a, e_2, _b; + var now = Date.now(); + var rlHeader = headers['x-sentry-rate-limits']; + var raHeader = headers['retry-after']; + if (rlHeader) { + try { + // rate limit headers are of the form + //
,
,.. + // where each
is of the form + // : : : + // where + // is a delay in ms + // is the event type(s) (error, transaction, etc) being rate limited and is of the form + // ;;... + // is what's being limited (org, project, or key) - ignored by SDK + // is an arbitrary string like "org_quota" - ignored by SDK + for (var _c = __values(rlHeader.trim().split(',')), _d = _c.next(); !_d.done; _d = _c.next()) { + var limit = _d.value; + var parameters = limit.split(':', 2); + var headerDelay = parseInt(parameters[0], 10); + var delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default + try { + for (var _e = (e_2 = void 0, __values(parameters[1].split(';'))), _f = _e.next(); !_f.done; _f = _e.next()) { + var category = _f.value; + this._rateLimits[category || 'all'] = new Date(now + delay); + } + } + catch (e_2_1) { e_2 = { error: e_2_1 }; } + finally { + try { + if (_f && !_f.done && (_b = _e.return)) _b.call(_e); + } + finally { if (e_2) throw e_2.error; } + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_d && !_d.done && (_a = _c.return)) _a.call(_c); + } + finally { if (e_1) throw e_1.error; } + } + return true; + } + else if (raHeader) { + this._rateLimits.all = new Date(now + parseRetryAfterHeader(now, raHeader)); + return true; + } + return false; + }; + return BaseTransport; + }()); + + /** `fetch` based transport */ + var FetchTransport = /** @class */ (function (_super) { + __extends(FetchTransport, _super); + function FetchTransport(options, fetchImpl) { + if (fetchImpl === void 0) { fetchImpl = getNativeFetchImplementation(); } + var _this = _super.call(this, options) || this; + _this._fetch = fetchImpl; + return _this; + } + /** + * @param sentryRequest Prepared SentryRequest to be delivered + * @param originalPayload Original payload used to create SentryRequest + */ + FetchTransport.prototype._sendRequest = function (sentryRequest, originalPayload) { + var _this = this; + if (this._isRateLimited(sentryRequest.type)) { + this.recordLostEvent('ratelimit_backoff', sentryRequest.type); + return Promise.reject({ + event: originalPayload, + type: sentryRequest.type, + reason: "Transport for " + sentryRequest.type + " requests locked till " + this._disabledUntil(sentryRequest.type) + " due to too many requests.", + status: 429, + }); + } + var options = { + body: sentryRequest.body, + method: 'POST', + // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default' + // (see https://caniuse.com/#feat=referrer-policy), + // it doesn't. And it throws an exception instead of ignoring this parameter... + // REF: https://github.com/getsentry/raven-js/issues/1233 + referrerPolicy: (supportsReferrerPolicy() ? 'origin' : ''), + }; + if (this.options.fetchParameters !== undefined) { + Object.assign(options, this.options.fetchParameters); + } + if (this.options.headers !== undefined) { + options.headers = this.options.headers; + } + return this._buffer + .add(function () { + return new SyncPromise(function (resolve, reject) { + void _this._fetch(sentryRequest.url, options) + .then(function (response) { + var headers = { + 'x-sentry-rate-limits': response.headers.get('X-Sentry-Rate-Limits'), + 'retry-after': response.headers.get('Retry-After'), + }; + _this._handleResponse({ + requestType: sentryRequest.type, + response: response, + headers: headers, + resolve: resolve, + reject: reject, + }); + }) + .catch(reject); + }); + }) + .then(undefined, function (reason) { + // It's either buffer rejection or any other xhr/fetch error, which are treated as NetworkError. + if (reason instanceof SentryError) { + _this.recordLostEvent('queue_overflow', sentryRequest.type); + } + else { + _this.recordLostEvent('network_error', sentryRequest.type); + } + throw reason; + }); + }; + return FetchTransport; + }(BaseTransport)); + + /** `XHR` based transport */ + var XHRTransport = /** @class */ (function (_super) { + __extends(XHRTransport, _super); + function XHRTransport() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * @param sentryRequest Prepared SentryRequest to be delivered + * @param originalPayload Original payload used to create SentryRequest + */ + XHRTransport.prototype._sendRequest = function (sentryRequest, originalPayload) { + var _this = this; + if (this._isRateLimited(sentryRequest.type)) { + this.recordLostEvent('ratelimit_backoff', sentryRequest.type); + return Promise.reject({ + event: originalPayload, + type: sentryRequest.type, + reason: "Transport for " + sentryRequest.type + " requests locked till " + this._disabledUntil(sentryRequest.type) + " due to too many requests.", + status: 429, + }); + } + return this._buffer + .add(function () { + return new SyncPromise(function (resolve, reject) { + var request = new XMLHttpRequest(); + request.onreadystatechange = function () { + if (request.readyState === 4) { + var headers = { + 'x-sentry-rate-limits': request.getResponseHeader('X-Sentry-Rate-Limits'), + 'retry-after': request.getResponseHeader('Retry-After'), + }; + _this._handleResponse({ requestType: sentryRequest.type, response: request, headers: headers, resolve: resolve, reject: reject }); + } + }; + request.open('POST', sentryRequest.url); + for (var header in _this.options.headers) { + if (Object.prototype.hasOwnProperty.call(_this.options.headers, header)) { + request.setRequestHeader(header, _this.options.headers[header]); + } + } + request.send(sentryRequest.body); + }); + }) + .then(undefined, function (reason) { + // It's either buffer rejection or any other xhr/fetch error, which are treated as NetworkError. + if (reason instanceof SentryError) { + _this.recordLostEvent('queue_overflow', sentryRequest.type); + } + else { + _this.recordLostEvent('network_error', sentryRequest.type); + } + throw reason; + }); + }; + return XHRTransport; + }(BaseTransport)); + + var index = /*#__PURE__*/Object.freeze({ + __proto__: null, + BaseTransport: BaseTransport, + FetchTransport: FetchTransport, + XHRTransport: XHRTransport + }); + + /** + * The Sentry Browser SDK Backend. + * @hidden + */ + var BrowserBackend = /** @class */ (function (_super) { + __extends(BrowserBackend, _super); + function BrowserBackend() { + return _super !== null && _super.apply(this, arguments) || this; + } + /** + * @inheritDoc + */ + BrowserBackend.prototype.eventFromException = function (exception, hint) { + return eventFromException(this._options, exception, hint); + }; + /** + * @inheritDoc + */ + BrowserBackend.prototype.eventFromMessage = function (message, level, hint) { + if (level === void 0) { level = exports.Severity.Info; } + return eventFromMessage(this._options, message, level, hint); + }; + /** + * @inheritDoc + */ + BrowserBackend.prototype._setupTransport = function () { + if (!this._options.dsn) { + // We return the noop transport here in case there is no Dsn. + return _super.prototype._setupTransport.call(this); + } + var transportOptions = __assign(__assign({}, this._options.transportOptions), { dsn: this._options.dsn, tunnel: this._options.tunnel, sendClientReports: this._options.sendClientReports, _metadata: this._options._metadata }); + if (this._options.transport) { + return new this._options.transport(transportOptions); + } + if (supportsFetch()) { + return new FetchTransport(transportOptions); + } + return new XHRTransport(transportOptions); + }; + return BrowserBackend; + }(BaseBackend)); + + var global$5 = getGlobalObject(); + var ignoreOnError = 0; + /** + * @hidden + */ + function shouldIgnoreOnError() { + return ignoreOnError > 0; + } + /** + * @hidden + */ + function ignoreNextOnError() { + // onerror should trigger before setTimeout + ignoreOnError += 1; + setTimeout(function () { + ignoreOnError -= 1; + }); + } + /** + * Instruments the given function and sends an event to Sentry every time the + * function throws an exception. + * + * @param fn A function to wrap. + * @returns The wrapped function. + * @hidden + */ + function wrap$1(fn, options, before) { + // for future readers what this does is wrap a function and then create + // a bi-directional wrapping between them. + // + // example: wrapped = wrap(original); + // original.__sentry_wrapped__ -> wrapped + // wrapped.__sentry_original__ -> original + if (options === void 0) { options = {}; } + if (typeof fn !== 'function') { + return fn; + } + try { + // if we're dealing with a function that was previously wrapped, return + // the original wrapper. + var wrapper = fn.__sentry_wrapped__; + if (wrapper) { + return wrapper; + } + // We don't wanna wrap it twice + if (getOriginalFunction(fn)) { + return fn; + } + } + catch (e) { + // Just accessing custom props in some Selenium environments + // can cause a "Permission denied" exception (see raven-js#495). + // Bail on wrapping and return the function as-is (defers to window.onerror). + return fn; + } + /* eslint-disable prefer-rest-params */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var sentryWrapped = function () { + var args = Array.prototype.slice.call(arguments); + try { + if (before && typeof before === 'function') { + before.apply(this, arguments); + } + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access + var wrappedArguments = args.map(function (arg) { return wrap$1(arg, options); }); + // Attempt to invoke user-land function + // NOTE: If you are a Sentry user, and you are seeing this stack frame, it + // means the sentry.javascript SDK caught an error invoking your application code. This + // is expected behavior and NOT indicative of a bug with sentry.javascript. + return fn.apply(this, wrappedArguments); + } + catch (ex) { + ignoreNextOnError(); + withScope(function (scope) { + scope.addEventProcessor(function (event) { + if (options.mechanism) { + addExceptionTypeValue(event, undefined, undefined); + addExceptionMechanism(event, options.mechanism); + } + event.extra = __assign(__assign({}, event.extra), { arguments: args }); + return event; + }); + captureException(ex); + }); + throw ex; + } + }; + /* eslint-enable prefer-rest-params */ + // Accessing some objects may throw + // ref: https://github.com/getsentry/sentry-javascript/issues/1168 + try { + for (var property in fn) { + if (Object.prototype.hasOwnProperty.call(fn, property)) { + sentryWrapped[property] = fn[property]; + } + } + } + catch (_oO) { } // eslint-disable-line no-empty + // Signal that this function has been wrapped/filled already + // for both debugging and to prevent it to being wrapped/filled twice + markFunctionWrapped(sentryWrapped, fn); + addNonEnumerableProperty(fn, '__sentry_wrapped__', sentryWrapped); + // Restore original function name (not all browsers allow that) + try { + var descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name'); + if (descriptor.configurable) { + Object.defineProperty(sentryWrapped, 'name', { + get: function () { + return fn.name; + }, + }); + } + // eslint-disable-next-line no-empty + } + catch (_oO) { } + return sentryWrapped; + } + /** + * Injects the Report Dialog script + * @hidden + */ + function injectReportDialog(options) { + if (options === void 0) { options = {}; } + if (!global$5.document) { + return; + } + if (!options.eventId) { + if (isDebugBuild()) { + logger.error("Missing eventId option in showReportDialog call"); + } + return; + } + if (!options.dsn) { + if (isDebugBuild()) { + logger.error("Missing dsn option in showReportDialog call"); + } + return; + } + var script = global$5.document.createElement('script'); + script.async = true; + script.src = getReportDialogEndpoint(options.dsn, options); + if (options.onLoad) { + // eslint-disable-next-line @typescript-eslint/unbound-method + script.onload = options.onLoad; + } + var injectionPoint = global$5.document.head || global$5.document.body; + if (injectionPoint) { + injectionPoint.appendChild(script); + } + } + + /** Global handlers */ + var GlobalHandlers = /** @class */ (function () { + /** JSDoc */ + function GlobalHandlers(options) { + /** + * @inheritDoc + */ + this.name = GlobalHandlers.id; + /** + * Stores references functions to installing handlers. Will set to undefined + * after they have been run so that they are not used twice. + */ + this._installFunc = { + onerror: _installGlobalOnErrorHandler, + onunhandledrejection: _installGlobalOnUnhandledRejectionHandler, + }; + this._options = __assign({ onerror: true, onunhandledrejection: true }, options); + } + /** + * @inheritDoc + */ + GlobalHandlers.prototype.setupOnce = function () { + Error.stackTraceLimit = 50; + var options = this._options; + // We can disable guard-for-in as we construct the options object above + do checks against + // `this._installFunc` for the property. + // eslint-disable-next-line guard-for-in + for (var key in options) { + var installFunc = this._installFunc[key]; + if (installFunc && options[key]) { + globalHandlerLog(key); + installFunc(); + this._installFunc[key] = undefined; + } + } + }; + /** + * @inheritDoc + */ + GlobalHandlers.id = 'GlobalHandlers'; + return GlobalHandlers; + }()); + /** JSDoc */ + function _installGlobalOnErrorHandler() { + addInstrumentationHandler('error', + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function (data) { + var _a = __read(getHubAndAttachStacktrace(), 2), hub = _a[0], attachStacktrace = _a[1]; + if (!hub.getIntegration(GlobalHandlers)) { + return; + } + var msg = data.msg, url = data.url, line = data.line, column = data.column, error = data.error; + if (shouldIgnoreOnError() || (error && error.__sentry_own_request__)) { + return; + } + var event = error === undefined && isString(msg) + ? _eventFromIncompleteOnError(msg, url, line, column) + : _enhanceEventWithInitialFrame(eventFromUnknownInput(error || msg, undefined, { + attachStacktrace: attachStacktrace, + isRejection: false, + }), url, line, column); + event.level = exports.Severity.Error; + addMechanismAndCapture(hub, error, event, 'onerror'); + }); + } + /** JSDoc */ + function _installGlobalOnUnhandledRejectionHandler() { + addInstrumentationHandler('unhandledrejection', + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function (e) { + var _a = __read(getHubAndAttachStacktrace(), 2), hub = _a[0], attachStacktrace = _a[1]; + if (!hub.getIntegration(GlobalHandlers)) { + return; + } + var error = e; + // dig the object of the rejection out of known event types + try { + // PromiseRejectionEvents store the object of the rejection under 'reason' + // see https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent + if ('reason' in e) { + error = e.reason; + } + // something, somewhere, (likely a browser extension) effectively casts PromiseRejectionEvents + // to CustomEvents, moving the `promise` and `reason` attributes of the PRE into + // the CustomEvent's `detail` attribute, since they're not part of CustomEvent's spec + // see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent and + // https://github.com/getsentry/sentry-javascript/issues/2380 + else if ('detail' in e && 'reason' in e.detail) { + error = e.detail.reason; + } + } + catch (_oO) { + // no-empty + } + if (shouldIgnoreOnError() || (error && error.__sentry_own_request__)) { + return true; + } + var event = isPrimitive(error) + ? _eventFromRejectionWithPrimitive(error) + : eventFromUnknownInput(error, undefined, { + attachStacktrace: attachStacktrace, + isRejection: true, + }); + event.level = exports.Severity.Error; + addMechanismAndCapture(hub, error, event, 'onunhandledrejection'); + return; + }); + } + /** + * Create an event from a promise rejection where the `reason` is a primitive. + * + * @param reason: The `reason` property of the promise rejection + * @returns An Event object with an appropriate `exception` value + */ + function _eventFromRejectionWithPrimitive(reason) { + return { + exception: { + values: [ + { + type: 'UnhandledRejection', + // String() is needed because the Primitive type includes symbols (which can't be automatically stringified) + value: "Non-Error promise rejection captured with value: " + String(reason), + }, + ], + }, + }; + } + /** + * This function creates a stack from an old, error-less onerror handler. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _eventFromIncompleteOnError(msg, url, line, column) { + var ERROR_TYPES_RE = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i; + // If 'message' is ErrorEvent, get real message from inside + var message = isErrorEvent(msg) ? msg.message : msg; + var name = 'Error'; + var groups = message.match(ERROR_TYPES_RE); + if (groups) { + name = groups[1]; + message = groups[2]; + } + var event = { + exception: { + values: [ + { + type: name, + value: message, + }, + ], + }, + }; + return _enhanceEventWithInitialFrame(event, url, line, column); + } + /** JSDoc */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _enhanceEventWithInitialFrame(event, url, line, column) { + // event.exception + var e = (event.exception = event.exception || {}); + // event.exception.values + var ev = (e.values = e.values || []); + // event.exception.values[0] + var ev0 = (ev[0] = ev[0] || {}); + // event.exception.values[0].stacktrace + var ev0s = (ev0.stacktrace = ev0.stacktrace || {}); + // event.exception.values[0].stacktrace.frames + var ev0sf = (ev0s.frames = ev0s.frames || []); + var colno = isNaN(parseInt(column, 10)) ? undefined : column; + var lineno = isNaN(parseInt(line, 10)) ? undefined : line; + var filename = isString(url) && url.length > 0 ? url : getLocationHref(); + // event.exception.values[0].stacktrace.frames + if (ev0sf.length === 0) { + ev0sf.push({ + colno: colno, + filename: filename, + function: '?', + in_app: true, + lineno: lineno, + }); + } + return event; + } + function globalHandlerLog(type) { + if (isDebugBuild()) { + logger.log("Global Handler attached: " + type); + } + } + function addMechanismAndCapture(hub, error, event, type) { + addExceptionMechanism(event, { + handled: false, + type: type, + }); + hub.captureEvent(event, { + originalException: error, + }); + } + function getHubAndAttachStacktrace() { + var hub = getCurrentHub(); + var client = hub.getClient(); + var attachStacktrace = client && client.getOptions().attachStacktrace; + return [hub, attachStacktrace]; + } + + var DEFAULT_EVENT_TARGET = [ + 'EventTarget', + 'Window', + 'Node', + 'ApplicationCache', + 'AudioTrackList', + 'ChannelMergerNode', + 'CryptoOperation', + 'EventSource', + 'FileReader', + 'HTMLUnknownElement', + 'IDBDatabase', + 'IDBRequest', + 'IDBTransaction', + 'KeyOperation', + 'MediaController', + 'MessagePort', + 'ModalWindow', + 'Notification', + 'SVGElementInstance', + 'Screen', + 'TextTrack', + 'TextTrackCue', + 'TextTrackList', + 'WebSocket', + 'WebSocketWorker', + 'Worker', + 'XMLHttpRequest', + 'XMLHttpRequestEventTarget', + 'XMLHttpRequestUpload', + ]; + /** Wrap timer functions and event targets to catch errors and provide better meta data */ + var TryCatch = /** @class */ (function () { + /** + * @inheritDoc + */ + function TryCatch(options) { + /** + * @inheritDoc + */ + this.name = TryCatch.id; + this._options = __assign({ XMLHttpRequest: true, eventTarget: true, requestAnimationFrame: true, setInterval: true, setTimeout: true }, options); + } + /** + * Wrap timer functions and event targets to catch errors + * and provide better metadata. + */ + TryCatch.prototype.setupOnce = function () { + var global = getGlobalObject(); + if (this._options.setTimeout) { + fill(global, 'setTimeout', _wrapTimeFunction); + } + if (this._options.setInterval) { + fill(global, 'setInterval', _wrapTimeFunction); + } + if (this._options.requestAnimationFrame) { + fill(global, 'requestAnimationFrame', _wrapRAF); + } + if (this._options.XMLHttpRequest && 'XMLHttpRequest' in global) { + fill(XMLHttpRequest.prototype, 'send', _wrapXHR); + } + var eventTargetOption = this._options.eventTarget; + if (eventTargetOption) { + var eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET; + eventTarget.forEach(_wrapEventTarget); + } + }; + /** + * @inheritDoc + */ + TryCatch.id = 'TryCatch'; + return TryCatch; + }()); + /** JSDoc */ + function _wrapTimeFunction(original) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var originalCallback = args[0]; + args[0] = wrap$1(originalCallback, { + mechanism: { + data: { function: getFunctionName(original) }, + handled: true, + type: 'instrument', + }, + }); + return original.apply(this, args); + }; + } + /** JSDoc */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _wrapRAF(original) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return function (callback) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return original.call(this, wrap$1(callback, { + mechanism: { + data: { + function: 'requestAnimationFrame', + handler: getFunctionName(original), + }, + handled: true, + type: 'instrument', + }, + })); + }; + } + /** JSDoc */ + function _wrapXHR(originalSend) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + // eslint-disable-next-line @typescript-eslint/no-this-alias + var xhr = this; + var xmlHttpRequestProps = ['onload', 'onerror', 'onprogress', 'onreadystatechange']; + xmlHttpRequestProps.forEach(function (prop) { + if (prop in xhr && typeof xhr[prop] === 'function') { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + fill(xhr, prop, function (original) { + var wrapOptions = { + mechanism: { + data: { + function: prop, + handler: getFunctionName(original), + }, + handled: true, + type: 'instrument', + }, + }; + // If Instrument integration has been called before TryCatch, get the name of original function + var originalFunction = getOriginalFunction(original); + if (originalFunction) { + wrapOptions.mechanism.data.handler = getFunctionName(originalFunction); + } + // Otherwise wrap directly + return wrap$1(original, wrapOptions); + }); + } + }); + return originalSend.apply(this, args); + }; + } + /** JSDoc */ + function _wrapEventTarget(target) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var global = getGlobalObject(); + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var proto = global[target] && global[target].prototype; + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins + if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) { + return; + } + fill(proto, 'addEventListener', function (original) { + return function (eventName, fn, options) { + try { + if (typeof fn.handleEvent === 'function') { + fn.handleEvent = wrap$1(fn.handleEvent.bind(fn), { + mechanism: { + data: { + function: 'handleEvent', + handler: getFunctionName(fn), + target: target, + }, + handled: true, + type: 'instrument', + }, + }); + } + } + catch (err) { + // can sometimes get 'Permission denied to access property "handle Event' + } + return original.call(this, eventName, + // eslint-disable-next-line @typescript-eslint/no-explicit-any + wrap$1(fn, { + mechanism: { + data: { + function: 'addEventListener', + handler: getFunctionName(fn), + target: target, + }, + handled: true, + type: 'instrument', + }, + }), options); + }; + }); + fill(proto, 'removeEventListener', function (originalRemoveEventListener) { + return function (eventName, fn, options) { + /** + * There are 2 possible scenarios here: + * + * 1. Someone passes a callback, which was attached prior to Sentry initialization, or by using unmodified + * method, eg. `document.addEventListener.call(el, name, handler). In this case, we treat this function + * as a pass-through, and call original `removeEventListener` with it. + * + * 2. Someone passes a callback, which was attached after Sentry was initialized, which means that it was using + * our wrapped version of `addEventListener`, which internally calls `wrap` helper. + * This helper "wraps" whole callback inside a try/catch statement, and attached appropriate metadata to it, + * in order for us to make a distinction between wrapped/non-wrapped functions possible. + * If a function was wrapped, it has additional property of `__sentry_wrapped__`, holding the handler. + * + * When someone adds a handler prior to initialization, and then do it again, but after, + * then we have to detach both of them. Otherwise, if we'd detach only wrapped one, it'd be impossible + * to get rid of the initial handler and it'd stick there forever. + */ + var wrappedEventHandler = fn; + try { + var originalEventHandler = wrappedEventHandler && wrappedEventHandler.__sentry_wrapped__; + if (originalEventHandler) { + originalRemoveEventListener.call(this, eventName, originalEventHandler, options); + } + } + catch (e) { + // ignore, accessing __sentry_wrapped__ will throw in some Selenium environments + } + return originalRemoveEventListener.call(this, eventName, wrappedEventHandler, options); + }; + }); + } + + /** + * Default Breadcrumbs instrumentations + * TODO: Deprecated - with v6, this will be renamed to `Instrument` + */ + var Breadcrumbs = /** @class */ (function () { + /** + * @inheritDoc + */ + function Breadcrumbs(options) { + /** + * @inheritDoc + */ + this.name = Breadcrumbs.id; + this._options = __assign({ console: true, dom: true, fetch: true, history: true, sentry: true, xhr: true }, options); + } + /** + * Create a breadcrumb of `sentry` from the events themselves + */ + Breadcrumbs.prototype.addSentryBreadcrumb = function (event) { + if (!this._options.sentry) { + return; + } + getCurrentHub().addBreadcrumb({ + category: "sentry." + (event.type === 'transaction' ? 'transaction' : 'event'), + event_id: event.event_id, + level: event.level, + message: getEventDescription(event), + }, { + event: event, + }); + }; + /** + * Instrument browser built-ins w/ breadcrumb capturing + * - Console API + * - DOM API (click/typing) + * - XMLHttpRequest API + * - Fetch API + * - History API + */ + Breadcrumbs.prototype.setupOnce = function () { + if (this._options.console) { + addInstrumentationHandler('console', _consoleBreadcrumb); + } + if (this._options.dom) { + addInstrumentationHandler('dom', _domBreadcrumb(this._options.dom)); + } + if (this._options.xhr) { + addInstrumentationHandler('xhr', _xhrBreadcrumb); + } + if (this._options.fetch) { + addInstrumentationHandler('fetch', _fetchBreadcrumb); + } + if (this._options.history) { + addInstrumentationHandler('history', _historyBreadcrumb); + } + }; + /** + * @inheritDoc + */ + Breadcrumbs.id = 'Breadcrumbs'; + return Breadcrumbs; + }()); + /** + * A HOC that creaes a function that creates breadcrumbs from DOM API calls. + * This is a HOC so that we get access to dom options in the closure. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _domBreadcrumb(dom) { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _innerDomBreadcrumb(handlerData) { + var target; + var keyAttrs = typeof dom === 'object' ? dom.serializeAttribute : undefined; + if (typeof keyAttrs === 'string') { + keyAttrs = [keyAttrs]; + } + // Accessing event.target can throw (see getsentry/raven-js#838, #768) + try { + target = handlerData.event.target + ? htmlTreeAsString(handlerData.event.target, keyAttrs) + : htmlTreeAsString(handlerData.event, keyAttrs); + } + catch (e) { + target = ''; + } + if (target.length === 0) { + return; + } + getCurrentHub().addBreadcrumb({ + category: "ui." + handlerData.name, + message: target, + }, { + event: handlerData.event, + name: handlerData.name, + global: handlerData.global, + }); + } + return _innerDomBreadcrumb; + } + /** + * Creates breadcrumbs from console API calls + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _consoleBreadcrumb(handlerData) { + var breadcrumb = { + category: 'console', + data: { + arguments: handlerData.args, + logger: 'console', + }, + level: severityFromString(handlerData.level), + message: safeJoin(handlerData.args, ' '), + }; + if (handlerData.level === 'assert') { + if (handlerData.args[0] === false) { + breadcrumb.message = "Assertion failed: " + (safeJoin(handlerData.args.slice(1), ' ') || 'console.assert'); + breadcrumb.data.arguments = handlerData.args.slice(1); + } + else { + // Don't capture a breadcrumb for passed assertions + return; + } + } + getCurrentHub().addBreadcrumb(breadcrumb, { + input: handlerData.args, + level: handlerData.level, + }); + } + /** + * Creates breadcrumbs from XHR API calls + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _xhrBreadcrumb(handlerData) { + if (handlerData.endTimestamp) { + // We only capture complete, non-sentry requests + if (handlerData.xhr.__sentry_own_request__) { + return; + } + var _a = handlerData.xhr.__sentry_xhr__ || {}, method = _a.method, url = _a.url, status_code = _a.status_code, body = _a.body; + getCurrentHub().addBreadcrumb({ + category: 'xhr', + data: { + method: method, + url: url, + status_code: status_code, + }, + type: 'http', + }, { + xhr: handlerData.xhr, + input: body, + }); + return; + } + } + /** + * Creates breadcrumbs from fetch API calls + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _fetchBreadcrumb(handlerData) { + // We only capture complete fetch requests + if (!handlerData.endTimestamp) { + return; + } + if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === 'POST') { + // We will not create breadcrumbs for fetch requests that contain `sentry_key` (internal sentry requests) + return; + } + if (handlerData.error) { + getCurrentHub().addBreadcrumb({ + category: 'fetch', + data: handlerData.fetchData, + level: exports.Severity.Error, + type: 'http', + }, { + data: handlerData.error, + input: handlerData.args, + }); + } + else { + getCurrentHub().addBreadcrumb({ + category: 'fetch', + data: __assign(__assign({}, handlerData.fetchData), { status_code: handlerData.response.status }), + type: 'http', + }, { + input: handlerData.args, + response: handlerData.response, + }); + } + } + /** + * Creates breadcrumbs from history API calls + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function _historyBreadcrumb(handlerData) { + var global = getGlobalObject(); + var from = handlerData.from; + var to = handlerData.to; + var parsedLoc = parseUrl(global.location.href); + var parsedFrom = parseUrl(from); + var parsedTo = parseUrl(to); + // Initial pushState doesn't provide `from` information + if (!parsedFrom.path) { + parsedFrom = parsedLoc; + } + // Use only the path component of the URL if the URL matches the current + // document (almost all the time when using pushState) + if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) { + to = parsedTo.relative; + } + if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) { + from = parsedFrom.relative; + } + getCurrentHub().addBreadcrumb({ + category: 'navigation', + data: { + from: from, + to: to, + }, + }); + } + + var DEFAULT_KEY = 'cause'; + var DEFAULT_LIMIT = 5; + /** Adds SDK info to an event. */ + var LinkedErrors = /** @class */ (function () { + /** + * @inheritDoc + */ + function LinkedErrors(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = LinkedErrors.id; + this._key = options.key || DEFAULT_KEY; + this._limit = options.limit || DEFAULT_LIMIT; + } + /** + * @inheritDoc + */ + LinkedErrors.prototype.setupOnce = function () { + addGlobalEventProcessor(function (event, hint) { + var self = getCurrentHub().getIntegration(LinkedErrors); + return self ? _handler(self._key, self._limit, event, hint) : event; + }); + }; + /** + * @inheritDoc + */ + LinkedErrors.id = 'LinkedErrors'; + return LinkedErrors; + }()); + /** + * @inheritDoc + */ + function _handler(key, limit, event, hint) { + if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) { + return event; + } + var linkedErrors = _walkErrorTree(limit, hint.originalException, key); + event.exception.values = __spread(linkedErrors, event.exception.values); + return event; + } + /** + * JSDOC + */ + function _walkErrorTree(limit, error, key, stack) { + if (stack === void 0) { stack = []; } + if (!isInstanceOf(error[key], Error) || stack.length + 1 >= limit) { + return stack; + } + var exception = exceptionFromError(error[key]); + return _walkErrorTree(limit, error[key], key, __spread([exception], stack)); + } + + var global$4 = getGlobalObject(); + /** UserAgent */ + var UserAgent = /** @class */ (function () { + function UserAgent() { + /** + * @inheritDoc + */ + this.name = UserAgent.id; + } + /** + * @inheritDoc + */ + UserAgent.prototype.setupOnce = function () { + addGlobalEventProcessor(function (event) { + if (getCurrentHub().getIntegration(UserAgent)) { + // if none of the information we want exists, don't bother + if (!global$4.navigator && !global$4.location && !global$4.document) { + return event; + } + // grab as much info as exists and add it to the event + var url = (event.request && event.request.url) || (global$4.location && global$4.location.href); + var referrer = (global$4.document || {}).referrer; + var userAgent = (global$4.navigator || {}).userAgent; + var headers = __assign(__assign(__assign({}, (event.request && event.request.headers)), (referrer && { Referer: referrer })), (userAgent && { 'User-Agent': userAgent })); + var request = __assign(__assign({}, (url && { url: url })), { headers: headers }); + return __assign(__assign({}, event), { request: request }); + } + return event; + }); + }; + /** + * @inheritDoc + */ + UserAgent.id = 'UserAgent'; + return UserAgent; + }()); + + /** Deduplication filter */ + var Dedupe = /** @class */ (function () { + function Dedupe() { + /** + * @inheritDoc + */ + this.name = Dedupe.id; + } + /** + * @inheritDoc + */ + Dedupe.prototype.setupOnce = function (addGlobalEventProcessor, getCurrentHub) { + addGlobalEventProcessor(function (currentEvent) { + var self = getCurrentHub().getIntegration(Dedupe); + if (self) { + // Juuust in case something goes wrong + try { + if (_shouldDropEvent(currentEvent, self._previousEvent)) { + logger.warn("Event dropped due to being a duplicate of previously captured event."); + return null; + } + } + catch (_oO) { + return (self._previousEvent = currentEvent); + } + return (self._previousEvent = currentEvent); + } + return currentEvent; + }); + }; + /** + * @inheritDoc + */ + Dedupe.id = 'Dedupe'; + return Dedupe; + }()); + /** JSDoc */ + function _shouldDropEvent(currentEvent, previousEvent) { + if (!previousEvent) { + return false; + } + if (_isSameMessageEvent(currentEvent, previousEvent)) { + return true; + } + if (_isSameExceptionEvent(currentEvent, previousEvent)) { + return true; + } + return false; + } + /** JSDoc */ + function _isSameMessageEvent(currentEvent, previousEvent) { + var currentMessage = currentEvent.message; + var previousMessage = previousEvent.message; + // If neither event has a message property, they were both exceptions, so bail out + if (!currentMessage && !previousMessage) { + return false; + } + // If only one event has a stacktrace, but not the other one, they are not the same + if ((currentMessage && !previousMessage) || (!currentMessage && previousMessage)) { + return false; + } + if (currentMessage !== previousMessage) { + return false; + } + if (!_isSameFingerprint(currentEvent, previousEvent)) { + return false; + } + if (!_isSameStacktrace(currentEvent, previousEvent)) { + return false; + } + return true; + } + /** JSDoc */ + function _isSameExceptionEvent(currentEvent, previousEvent) { + var previousException = _getExceptionFromEvent(previousEvent); + var currentException = _getExceptionFromEvent(currentEvent); + if (!previousException || !currentException) { + return false; + } + if (previousException.type !== currentException.type || previousException.value !== currentException.value) { + return false; + } + if (!_isSameFingerprint(currentEvent, previousEvent)) { + return false; + } + if (!_isSameStacktrace(currentEvent, previousEvent)) { + return false; + } + return true; + } + /** JSDoc */ + function _isSameStacktrace(currentEvent, previousEvent) { + var currentFrames = _getFramesFromEvent(currentEvent); + var previousFrames = _getFramesFromEvent(previousEvent); + // If neither event has a stacktrace, they are assumed to be the same + if (!currentFrames && !previousFrames) { + return true; + } + // If only one event has a stacktrace, but not the other one, they are not the same + if ((currentFrames && !previousFrames) || (!currentFrames && previousFrames)) { + return false; + } + currentFrames = currentFrames; + previousFrames = previousFrames; + // If number of frames differ, they are not the same + if (previousFrames.length !== currentFrames.length) { + return false; + } + // Otherwise, compare the two + for (var i = 0; i < previousFrames.length; i++) { + var frameA = previousFrames[i]; + var frameB = currentFrames[i]; + if (frameA.filename !== frameB.filename || + frameA.lineno !== frameB.lineno || + frameA.colno !== frameB.colno || + frameA.function !== frameB.function) { + return false; + } + } + return true; + } + /** JSDoc */ + function _isSameFingerprint(currentEvent, previousEvent) { + var currentFingerprint = currentEvent.fingerprint; + var previousFingerprint = previousEvent.fingerprint; + // If neither event has a fingerprint, they are assumed to be the same + if (!currentFingerprint && !previousFingerprint) { + return true; + } + // If only one event has a fingerprint, but not the other one, they are not the same + if ((currentFingerprint && !previousFingerprint) || (!currentFingerprint && previousFingerprint)) { + return false; + } + currentFingerprint = currentFingerprint; + previousFingerprint = previousFingerprint; + // Otherwise, compare the two + try { + return !!(currentFingerprint.join('') === previousFingerprint.join('')); + } + catch (_oO) { + return false; + } + } + /** JSDoc */ + function _getExceptionFromEvent(event) { + return event.exception && event.exception.values && event.exception.values[0]; + } + /** JSDoc */ + function _getFramesFromEvent(event) { + var exception = event.exception; + if (exception) { + try { + // @ts-ignore Object could be undefined + return exception.values[0].stacktrace.frames; + } + catch (_oO) { + return undefined; + } + } + else if (event.stacktrace) { + return event.stacktrace.frames; + } + return undefined; + } + + var BrowserIntegrations = /*#__PURE__*/Object.freeze({ + __proto__: null, + GlobalHandlers: GlobalHandlers, + TryCatch: TryCatch, + Breadcrumbs: Breadcrumbs, + LinkedErrors: LinkedErrors, + UserAgent: UserAgent, + Dedupe: Dedupe + }); + + /** + * The Sentry Browser SDK Client. + * + * @see BrowserOptions for documentation on configuration options. + * @see SentryClient for usage documentation. + */ + var BrowserClient = /** @class */ (function (_super) { + __extends(BrowserClient, _super); + /** + * Creates a new Browser SDK instance. + * + * @param options Configuration options for this SDK. + */ + function BrowserClient(options) { + if (options === void 0) { options = {}; } + var _this = this; + options._metadata = options._metadata || {}; + options._metadata.sdk = options._metadata.sdk || { + name: 'sentry.javascript.browser', + packages: [ + { + name: 'npm:@sentry/browser', + version: SDK_VERSION, + }, + ], + version: SDK_VERSION, + }; + _this = _super.call(this, BrowserBackend, options) || this; + return _this; + } + /** + * Show a report dialog to the user to send feedback to a specific event. + * + * @param options Set individual options for the dialog + */ + BrowserClient.prototype.showReportDialog = function (options) { + if (options === void 0) { options = {}; } + // doesn't work without a document (React Native) + var document = getGlobalObject().document; + if (!document) { + return; + } + if (!this._isEnabled()) { + logger.error('Trying to call showReportDialog with Sentry Client disabled'); + return; + } + injectReportDialog(__assign(__assign({}, options), { dsn: options.dsn || this.getDsn() })); + }; + /** + * @inheritDoc + */ + BrowserClient.prototype._prepareEvent = function (event, scope, hint) { + event.platform = event.platform || 'javascript'; + return _super.prototype._prepareEvent.call(this, event, scope, hint); + }; + /** + * @inheritDoc + */ + BrowserClient.prototype._sendEvent = function (event) { + var integration = this.getIntegration(Breadcrumbs); + if (integration) { + integration.addSentryBreadcrumb(event); + } + _super.prototype._sendEvent.call(this, event); + }; + return BrowserClient; + }(BaseClient)); + + var defaultIntegrations = [ + new InboundFilters(), + new FunctionToString(), + new TryCatch(), + new Breadcrumbs(), + new GlobalHandlers(), + new LinkedErrors(), + new Dedupe(), + new UserAgent(), + ]; + /** + * The Sentry Browser SDK Client. + * + * To use this SDK, call the {@link init} function as early as possible when + * loading the web page. To set context information or send manual events, use + * the provided methods. + * + * @example + * + * ``` + * + * import { init } from '@sentry/browser'; + * + * init({ + * dsn: '__DSN__', + * // ... + * }); + * ``` + * + * @example + * ``` + * + * import { configureScope } from '@sentry/browser'; + * configureScope((scope: Scope) => { + * scope.setExtra({ battery: 0.7 }); + * scope.setTag({ user_mode: 'admin' }); + * scope.setUser({ id: '4711' }); + * }); + * ``` + * + * @example + * ``` + * + * import { addBreadcrumb } from '@sentry/browser'; + * addBreadcrumb({ + * message: 'My Breadcrumb', + * // ... + * }); + * ``` + * + * @example + * + * ``` + * + * import * as Sentry from '@sentry/browser'; + * Sentry.captureMessage('Hello, world!'); + * Sentry.captureException(new Error('Good bye')); + * Sentry.captureEvent({ + * message: 'Manual', + * stacktrace: [ + * // ... + * ], + * }); + * ``` + * + * @see {@link BrowserOptions} for documentation on configuration options. + */ + function init(options) { + if (options === void 0) { options = {}; } + if (options.defaultIntegrations === undefined) { + options.defaultIntegrations = defaultIntegrations; + } + if (options.release === undefined) { + var window_1 = getGlobalObject(); + // This supports the variable that sentry-webpack-plugin injects + if (window_1.SENTRY_RELEASE && window_1.SENTRY_RELEASE.id) { + options.release = window_1.SENTRY_RELEASE.id; + } + } + if (options.autoSessionTracking === undefined) { + options.autoSessionTracking = true; + } + if (options.sendClientReports === undefined) { + options.sendClientReports = true; + } + initAndBind(BrowserClient, options); + if (options.autoSessionTracking) { + startSessionTracking(); + } + } + /** + * Present the user with a report dialog. + * + * @param options Everything is optional, we try to fetch all info need from the global scope. + */ + function showReportDialog(options) { + if (options === void 0) { options = {}; } + var hub = getCurrentHub(); + var scope = hub.getScope(); + if (scope) { + options.user = __assign(__assign({}, scope.getUser()), options.user); + } + if (!options.eventId) { + options.eventId = hub.lastEventId(); + } + var client = hub.getClient(); + if (client) { + client.showReportDialog(options); + } + } + /** + * This is the getter for lastEventId. + * + * @returns The last event id of a captured event. + */ + function lastEventId() { + return getCurrentHub().lastEventId(); + } + /** + * This function is here to be API compatible with the loader. + * @hidden + */ + function forceLoad() { + // Noop + } + /** + * This function is here to be API compatible with the loader. + * @hidden + */ + function onLoad(callback) { + callback(); + } + /** + * Call `flush()` on the current client, if there is one. See {@link Client.flush}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause + * the client to wait until all events are sent before resolving the promise. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ + function flush(timeout) { + var client = getCurrentHub().getClient(); + if (client) { + return client.flush(timeout); + } + if (isDebugBuild()) { + logger.warn('Cannot flush events. No client defined.'); + } + return resolvedSyncPromise(false); + } + /** + * Call `close()` on the current client, if there is one. See {@link Client.close}. + * + * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this + * parameter will cause the client to wait until all events are sent before disabling itself. + * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it + * doesn't (or if there's no client defined). + */ + function close(timeout) { + var client = getCurrentHub().getClient(); + if (client) { + return client.close(timeout); + } + if (isDebugBuild()) { + logger.warn('Cannot flush events and disable SDK. No client defined.'); + } + return resolvedSyncPromise(false); + } + /** + * Wrap code within a try/catch block so the SDK is able to capture errors. + * + * @param fn A function to wrap. + * + * @returns The result of wrapped function call. + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function wrap(fn) { + return wrap$1(fn)(); + } + function startSessionOnHub(hub) { + hub.startSession({ ignoreDuration: true }); + hub.captureSession(); + } + /** + * Enable automatic Session Tracking for the initial page load. + */ + function startSessionTracking() { + var window = getGlobalObject(); + var document = window.document; + if (typeof document === 'undefined') { + if (isDebugBuild()) { + logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.'); + } + return; + } + var hub = getCurrentHub(); + // The only way for this to be false is for there to be a version mismatch between @sentry/browser (>= 6.0.0) and + // @sentry/hub (< 5.27.0). In the simple case, there won't ever be such a mismatch, because the two packages are + // pinned at the same version in package.json, but there are edge cases where it's possible. See + // https://github.com/getsentry/sentry-javascript/issues/3207 and + // https://github.com/getsentry/sentry-javascript/issues/3234 and + // https://github.com/getsentry/sentry-javascript/issues/3278. + if (!hub.captureSession) { + return; + } + // The session duration for browser sessions does not track a meaningful + // concept that can be used as a metric. + // Automatically captured sessions are akin to page views, and thus we + // discard their duration. + startSessionOnHub(hub); + // We want to create a session for every navigation as well + addInstrumentationHandler('history', function (_a) { + var from = _a.from, to = _a.to; + // Don't create an additional session for the initial route or if the location did not change + if (!(from === undefined || from === to)) { + startSessionOnHub(getCurrentHub()); + } + }); + } + + // TODO: Remove in the next major release and rely only on @sentry/core SDK_VERSION and SdkInfo metadata + var SDK_NAME = 'sentry.javascript.browser'; + + var windowIntegrations$1 = {}; + // This block is needed to add compatibility with the integrations packages when used with a CDN + var _window$1 = getGlobalObject(); + if (_window$1.Sentry && _window$1.Sentry.Integrations) { + windowIntegrations$1 = _window$1.Sentry.Integrations; + } + var INTEGRATIONS$1 = __assign(__assign(__assign({}, windowIntegrations$1), CoreIntegrations), BrowserIntegrations); + + var TRACEPARENT_REGEXP = new RegExp('^[ \\t]*' + // whitespace + '([0-9a-f]{32})?' + // trace_id + '-?([0-9a-f]{16})?' + // span_id + '-?([01])?' + // sampled + '[ \\t]*$'); + /** + * Determines if tracing is currently enabled. + * + * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config. + */ + function hasTracingEnabled(maybeOptions) { + var client = getCurrentHub().getClient(); + var options = maybeOptions || (client && client.getOptions()); + return !!options && ('tracesSampleRate' in options || 'tracesSampler' in options); + } + /** + * Extract transaction context data from a `sentry-trace` header. + * + * @param traceparent Traceparent string + * + * @returns Object containing data from the header, or undefined if traceparent string is malformed + */ + function extractTraceparentData(traceparent) { + var matches = traceparent.match(TRACEPARENT_REGEXP); + if (matches) { + var parentSampled = void 0; + if (matches[3] === '1') { + parentSampled = true; + } + else if (matches[3] === '0') { + parentSampled = false; + } + return { + traceId: matches[1], + parentSampled: parentSampled, + parentSpanId: matches[2], + }; + } + return undefined; + } + /** Grabs active transaction off scope, if any */ + function getActiveTransaction(maybeHub) { + var hub = maybeHub || getCurrentHub(); + var scope = hub.getScope(); + return scope && scope.getTransaction(); + } + /** + * Converts from milliseconds to seconds + * @param time time in ms + */ + function msToSec(time) { + return time / 1000; + } + /** + * Converts from seconds to milliseconds + * @param time time in seconds + */ + function secToMs(time) { + return time * 1000; + } + + /** + * Configures global error listeners + */ + function registerErrorInstrumentation() { + addInstrumentationHandler('error', errorCallback); + addInstrumentationHandler('unhandledrejection', errorCallback); + } + /** + * If an error or unhandled promise occurs, we mark the active transaction as failed + */ + function errorCallback() { + var activeTransaction = getActiveTransaction(); + if (activeTransaction) { + var status_1 = 'internal_error'; + logger.log("[Tracing] Transaction: " + status_1 + " -> Global error occured"); + activeTransaction.setStatus(status_1); + } + } + + // Store finish reasons in tuple to save on bundle size + // Readonly type should enforce that this is not mutated. + var FINISH_REASON_TAG = 'finishReason'; + var IDLE_TRANSACTION_FINISH_REASONS = ['heartbeatFailed', 'idleTimeout', 'documentHidden']; + + /** + * Keeps track of finished spans for a given transaction + * @internal + * @hideconstructor + * @hidden + */ + var SpanRecorder = /** @class */ (function () { + function SpanRecorder(maxlen) { + if (maxlen === void 0) { maxlen = 1000; } + this.spans = []; + this._maxlen = maxlen; + } + /** + * This is just so that we don't run out of memory while recording a lot + * of spans. At some point we just stop and flush out the start of the + * trace tree (i.e.the first n spans with the smallest + * start_timestamp). + */ + SpanRecorder.prototype.add = function (span) { + if (this.spans.length > this._maxlen) { + span.spanRecorder = undefined; + } + else { + this.spans.push(span); + } + }; + return SpanRecorder; + }()); + /** + * Span contains all data about a span + */ + var Span = /** @class */ (function () { + /** + * You should never call the constructor manually, always use `Sentry.startTransaction()` + * or call `startChild()` on an existing span. + * @internal + * @hideconstructor + * @hidden + */ + function Span(spanContext) { + /** + * @inheritDoc + */ + this.traceId = uuid4(); + /** + * @inheritDoc + */ + this.spanId = uuid4().substring(16); + /** + * Timestamp in seconds when the span was created. + */ + this.startTimestamp = timestampWithMs(); + /** + * @inheritDoc + */ + this.tags = {}; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + this.data = {}; + if (!spanContext) { + return this; + } + if (spanContext.traceId) { + this.traceId = spanContext.traceId; + } + if (spanContext.spanId) { + this.spanId = spanContext.spanId; + } + if (spanContext.parentSpanId) { + this.parentSpanId = spanContext.parentSpanId; + } + // We want to include booleans as well here + if ('sampled' in spanContext) { + this.sampled = spanContext.sampled; + } + if (spanContext.op) { + this.op = spanContext.op; + } + if (spanContext.description) { + this.description = spanContext.description; + } + if (spanContext.data) { + this.data = spanContext.data; + } + if (spanContext.tags) { + this.tags = spanContext.tags; + } + if (spanContext.status) { + this.status = spanContext.status; + } + if (spanContext.startTimestamp) { + this.startTimestamp = spanContext.startTimestamp; + } + if (spanContext.endTimestamp) { + this.endTimestamp = spanContext.endTimestamp; + } + } + /** + * @inheritDoc + * @deprecated + */ + Span.prototype.child = function (spanContext) { + return this.startChild(spanContext); + }; + /** + * @inheritDoc + */ + Span.prototype.startChild = function (spanContext) { + var childSpan = new Span(__assign(__assign({}, spanContext), { parentSpanId: this.spanId, sampled: this.sampled, traceId: this.traceId })); + childSpan.spanRecorder = this.spanRecorder; + if (childSpan.spanRecorder) { + childSpan.spanRecorder.add(childSpan); + } + childSpan.transaction = this.transaction; + return childSpan; + }; + /** + * @inheritDoc + */ + Span.prototype.setTag = function (key, value) { + var _a; + this.tags = __assign(__assign({}, this.tags), (_a = {}, _a[key] = value, _a)); + return this; + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + Span.prototype.setData = function (key, value) { + var _a; + this.data = __assign(__assign({}, this.data), (_a = {}, _a[key] = value, _a)); + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.setStatus = function (value) { + this.status = value; + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.setHttpStatus = function (httpStatus) { + this.setTag('http.status_code', String(httpStatus)); + var spanStatus = spanStatusfromHttpCode(httpStatus); + if (spanStatus !== 'unknown_error') { + this.setStatus(spanStatus); + } + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.isSuccess = function () { + return this.status === 'ok'; + }; + /** + * @inheritDoc + */ + Span.prototype.finish = function (endTimestamp) { + this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs(); + }; + /** + * @inheritDoc + */ + Span.prototype.toTraceparent = function () { + var sampledString = ''; + if (this.sampled !== undefined) { + sampledString = this.sampled ? '-1' : '-0'; + } + return this.traceId + "-" + this.spanId + sampledString; + }; + /** + * @inheritDoc + */ + Span.prototype.toContext = function () { + return dropUndefinedKeys({ + data: this.data, + description: this.description, + endTimestamp: this.endTimestamp, + op: this.op, + parentSpanId: this.parentSpanId, + sampled: this.sampled, + spanId: this.spanId, + startTimestamp: this.startTimestamp, + status: this.status, + tags: this.tags, + traceId: this.traceId, + }); + }; + /** + * @inheritDoc + */ + Span.prototype.updateWithContext = function (spanContext) { + var _a, _b, _c, _d, _e; + this.data = (_a = spanContext.data, (_a !== null && _a !== void 0 ? _a : {})); + this.description = spanContext.description; + this.endTimestamp = spanContext.endTimestamp; + this.op = spanContext.op; + this.parentSpanId = spanContext.parentSpanId; + this.sampled = spanContext.sampled; + this.spanId = (_b = spanContext.spanId, (_b !== null && _b !== void 0 ? _b : this.spanId)); + this.startTimestamp = (_c = spanContext.startTimestamp, (_c !== null && _c !== void 0 ? _c : this.startTimestamp)); + this.status = spanContext.status; + this.tags = (_d = spanContext.tags, (_d !== null && _d !== void 0 ? _d : {})); + this.traceId = (_e = spanContext.traceId, (_e !== null && _e !== void 0 ? _e : this.traceId)); + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.getTraceContext = function () { + return dropUndefinedKeys({ + data: Object.keys(this.data).length > 0 ? this.data : undefined, + description: this.description, + op: this.op, + parent_span_id: this.parentSpanId, + span_id: this.spanId, + status: this.status, + tags: Object.keys(this.tags).length > 0 ? this.tags : undefined, + trace_id: this.traceId, + }); + }; + /** + * @inheritDoc + */ + Span.prototype.toJSON = function () { + return dropUndefinedKeys({ + data: Object.keys(this.data).length > 0 ? this.data : undefined, + description: this.description, + op: this.op, + parent_span_id: this.parentSpanId, + span_id: this.spanId, + start_timestamp: this.startTimestamp, + status: this.status, + tags: Object.keys(this.tags).length > 0 ? this.tags : undefined, + timestamp: this.endTimestamp, + trace_id: this.traceId, + }); + }; + return Span; + }()); + /** + * Converts a HTTP status code into a {@link SpanStatusType}. + * + * @param httpStatus The HTTP response status code. + * @returns The span status or unknown_error. + */ + function spanStatusfromHttpCode(httpStatus) { + if (httpStatus < 400 && httpStatus >= 100) { + return 'ok'; + } + if (httpStatus >= 400 && httpStatus < 500) { + switch (httpStatus) { + case 401: + return 'unauthenticated'; + case 403: + return 'permission_denied'; + case 404: + return 'not_found'; + case 409: + return 'already_exists'; + case 413: + return 'failed_precondition'; + case 429: + return 'resource_exhausted'; + default: + return 'invalid_argument'; + } + } + if (httpStatus >= 500 && httpStatus < 600) { + switch (httpStatus) { + case 501: + return 'unimplemented'; + case 503: + return 'unavailable'; + case 504: + return 'deadline_exceeded'; + default: + return 'internal_error'; + } + } + return 'unknown_error'; + } + + /** JSDoc */ + var Transaction = /** @class */ (function (_super) { + __extends(Transaction, _super); + /** + * This constructor should never be called manually. Those instrumenting tracing should use + * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`. + * @internal + * @hideconstructor + * @hidden + */ + function Transaction(transactionContext, hub) { + var _this = _super.call(this, transactionContext) || this; + _this._measurements = {}; + /** + * The reference to the current hub. + */ + _this._hub = getCurrentHub(); + if (isInstanceOf(hub, Hub)) { + _this._hub = hub; + } + _this.name = transactionContext.name || ''; + _this.metadata = transactionContext.metadata || {}; + _this._trimEnd = transactionContext.trimEnd; + // this is because transactions are also spans, and spans have a transaction pointer + _this.transaction = _this; + return _this; + } + /** + * JSDoc + */ + Transaction.prototype.setName = function (name) { + this.name = name; + }; + /** + * Attaches SpanRecorder to the span itself + * @param maxlen maximum number of spans that can be recorded + */ + Transaction.prototype.initSpanRecorder = function (maxlen) { + if (maxlen === void 0) { maxlen = 1000; } + if (!this.spanRecorder) { + this.spanRecorder = new SpanRecorder(maxlen); + } + this.spanRecorder.add(this); + }; + /** + * Set observed measurements for this transaction. + * @hidden + */ + Transaction.prototype.setMeasurements = function (measurements) { + this._measurements = __assign({}, measurements); + }; + /** + * Set metadata for this transaction. + * @hidden + */ + Transaction.prototype.setMetadata = function (newMetadata) { + this.metadata = __assign(__assign({}, this.metadata), newMetadata); + }; + /** + * @inheritDoc + */ + Transaction.prototype.finish = function (endTimestamp) { + var _this = this; + // This transaction is already finished, so we should not flush it again. + if (this.endTimestamp !== undefined) { + return undefined; + } + if (!this.name) { + logger.warn('Transaction has no name, falling back to ``.'); + this.name = ''; + } + // just sets the end timestamp + _super.prototype.finish.call(this, endTimestamp); + if (this.sampled !== true) { + // At this point if `sampled !== true` we want to discard the transaction. + logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.'); + var client = this._hub.getClient(); + var transport = client && client.getTransport && client.getTransport(); + if (transport && transport.recordLostEvent) { + transport.recordLostEvent('sample_rate', 'transaction'); + } + return undefined; + } + var finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(function (s) { return s !== _this && s.endTimestamp; }) : []; + if (this._trimEnd && finishedSpans.length > 0) { + this.endTimestamp = finishedSpans.reduce(function (prev, current) { + if (prev.endTimestamp && current.endTimestamp) { + return prev.endTimestamp > current.endTimestamp ? prev : current; + } + return prev; + }).endTimestamp; + } + var transaction = { + contexts: { + trace: this.getTraceContext(), + }, + spans: finishedSpans, + start_timestamp: this.startTimestamp, + tags: this.tags, + timestamp: this.endTimestamp, + transaction: this.name, + type: 'transaction', + sdkProcessingMetadata: this.metadata, + }; + var hasMeasurements = Object.keys(this._measurements).length > 0; + if (hasMeasurements) { + logger.log('[Measurements] Adding measurements to transaction', JSON.stringify(this._measurements, undefined, 2)); + transaction.measurements = this._measurements; + } + logger.log("[Tracing] Finishing " + this.op + " transaction: " + this.name + "."); + return this._hub.captureEvent(transaction); + }; + /** + * @inheritDoc + */ + Transaction.prototype.toContext = function () { + var spanContext = _super.prototype.toContext.call(this); + return dropUndefinedKeys(__assign(__assign({}, spanContext), { name: this.name, trimEnd: this._trimEnd })); + }; + /** + * @inheritDoc + */ + Transaction.prototype.updateWithContext = function (transactionContext) { + var _a; + _super.prototype.updateWithContext.call(this, transactionContext); + this.name = (_a = transactionContext.name, (_a !== null && _a !== void 0 ? _a : '')); + this._trimEnd = transactionContext.trimEnd; + return this; + }; + return Transaction; + }(Span)); + + var DEFAULT_IDLE_TIMEOUT = 1000; + var HEARTBEAT_INTERVAL = 5000; + /** + * @inheritDoc + */ + var IdleTransactionSpanRecorder = /** @class */ (function (_super) { + __extends(IdleTransactionSpanRecorder, _super); + function IdleTransactionSpanRecorder(_pushActivity, _popActivity, transactionSpanId, maxlen) { + if (transactionSpanId === void 0) { transactionSpanId = ''; } + var _this = _super.call(this, maxlen) || this; + _this._pushActivity = _pushActivity; + _this._popActivity = _popActivity; + _this.transactionSpanId = transactionSpanId; + return _this; + } + /** + * @inheritDoc + */ + IdleTransactionSpanRecorder.prototype.add = function (span) { + var _this = this; + // We should make sure we do not push and pop activities for + // the transaction that this span recorder belongs to. + if (span.spanId !== this.transactionSpanId) { + // We patch span.finish() to pop an activity after setting an endTimestamp. + span.finish = function (endTimestamp) { + span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs(); + _this._popActivity(span.spanId); + }; + // We should only push new activities if the span does not have an end timestamp. + if (span.endTimestamp === undefined) { + this._pushActivity(span.spanId); + } + } + _super.prototype.add.call(this, span); + }; + return IdleTransactionSpanRecorder; + }(SpanRecorder)); + /** + * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities. + * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will + * put itself on the scope on creation. + */ + var IdleTransaction = /** @class */ (function (_super) { + __extends(IdleTransaction, _super); + function IdleTransaction(transactionContext, _idleHub, + /** + * The time to wait in ms until the idle transaction will be finished. + * @default 1000 + */ + _idleTimeout, + // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends + _onScope) { + if (_idleTimeout === void 0) { _idleTimeout = DEFAULT_IDLE_TIMEOUT; } + if (_onScope === void 0) { _onScope = false; } + var _this = _super.call(this, transactionContext, _idleHub) || this; + _this._idleHub = _idleHub; + _this._idleTimeout = _idleTimeout; + _this._onScope = _onScope; + // Activities store a list of active spans + _this.activities = {}; + // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats. + _this._heartbeatCounter = 0; + // We should not use heartbeat if we finished a transaction + _this._finished = false; + _this._beforeFinishCallbacks = []; + if (_idleHub && _onScope) { + // There should only be one active transaction on the scope + clearActiveTransaction(_idleHub); + // We set the transaction here on the scope so error events pick up the trace + // context and attach it to the error. + logger.log("Setting idle transaction on scope. Span ID: " + _this.spanId); + _idleHub.configureScope(function (scope) { return scope.setSpan(_this); }); + } + _this._initTimeout = setTimeout(function () { + if (!_this._finished) { + _this.finish(); + } + }, _this._idleTimeout); + return _this; + } + /** {@inheritDoc} */ + IdleTransaction.prototype.finish = function (endTimestamp) { + var e_1, _a; + var _this = this; + if (endTimestamp === void 0) { endTimestamp = timestampWithMs(); } + this._finished = true; + this.activities = {}; + if (this.spanRecorder) { + logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op); + try { + for (var _b = __values(this._beforeFinishCallbacks), _c = _b.next(); !_c.done; _c = _b.next()) { + var callback = _c.value; + callback(this, endTimestamp); + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + this.spanRecorder.spans = this.spanRecorder.spans.filter(function (span) { + // If we are dealing with the transaction itself, we just return it + if (span.spanId === _this.spanId) { + return true; + } + // We cancel all pending spans with status "cancelled" to indicate the idle transaction was finished early + if (!span.endTimestamp) { + span.endTimestamp = endTimestamp; + span.setStatus('cancelled'); + logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2)); + } + var keepSpan = span.startTimestamp < endTimestamp; + if (!keepSpan) { + logger.log('[Tracing] discarding Span since it happened after Transaction was finished', JSON.stringify(span, undefined, 2)); + } + return keepSpan; + }); + logger.log('[Tracing] flushing IdleTransaction'); + } + else { + logger.log('[Tracing] No active IdleTransaction'); + } + // if `this._onScope` is `true`, the transaction put itself on the scope when it started + if (this._onScope) { + clearActiveTransaction(this._idleHub); + } + return _super.prototype.finish.call(this, endTimestamp); + }; + /** + * Register a callback function that gets excecuted before the transaction finishes. + * Useful for cleanup or if you want to add any additional spans based on current context. + * + * This is exposed because users have no other way of running something before an idle transaction + * finishes. + */ + IdleTransaction.prototype.registerBeforeFinishCallback = function (callback) { + this._beforeFinishCallbacks.push(callback); + }; + /** + * @inheritDoc + */ + IdleTransaction.prototype.initSpanRecorder = function (maxlen) { + var _this = this; + if (!this.spanRecorder) { + var pushActivity = function (id) { + if (_this._finished) { + return; + } + _this._pushActivity(id); + }; + var popActivity = function (id) { + if (_this._finished) { + return; + } + _this._popActivity(id); + }; + this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen); + // Start heartbeat so that transactions do not run forever. + logger.log('Starting heartbeat'); + this._pingHeartbeat(); + } + this.spanRecorder.add(this); + }; + /** + * Start tracking a specific activity. + * @param spanId The span id that represents the activity + */ + IdleTransaction.prototype._pushActivity = function (spanId) { + if (this._initTimeout) { + clearTimeout(this._initTimeout); + this._initTimeout = undefined; + } + logger.log("[Tracing] pushActivity: " + spanId); + this.activities[spanId] = true; + logger.log('[Tracing] new activities count', Object.keys(this.activities).length); + }; + /** + * Remove an activity from usage + * @param spanId The span id that represents the activity + */ + IdleTransaction.prototype._popActivity = function (spanId) { + var _this = this; + if (this.activities[spanId]) { + logger.log("[Tracing] popActivity " + spanId); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete this.activities[spanId]; + logger.log('[Tracing] new activities count', Object.keys(this.activities).length); + } + if (Object.keys(this.activities).length === 0) { + var timeout = this._idleTimeout; + // We need to add the timeout here to have the real endtimestamp of the transaction + // Remember timestampWithMs is in seconds, timeout is in ms + var end_1 = timestampWithMs() + timeout / 1000; + setTimeout(function () { + if (!_this._finished) { + _this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[1]); + _this.finish(end_1); + } + }, timeout); + } + }; + /** + * Checks when entries of this.activities are not changing for 3 beats. + * If this occurs we finish the transaction. + */ + IdleTransaction.prototype._beat = function () { + // We should not be running heartbeat if the idle transaction is finished. + if (this._finished) { + return; + } + var heartbeatString = Object.keys(this.activities).join(''); + if (heartbeatString === this._prevHeartbeatString) { + this._heartbeatCounter += 1; + } + else { + this._heartbeatCounter = 1; + } + this._prevHeartbeatString = heartbeatString; + if (this._heartbeatCounter >= 3) { + logger.log("[Tracing] Transaction finished because of no change for 3 heart beats"); + this.setStatus('deadline_exceeded'); + this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[0]); + this.finish(); + } + else { + this._pingHeartbeat(); + } + }; + /** + * Pings the heartbeat + */ + IdleTransaction.prototype._pingHeartbeat = function () { + var _this = this; + logger.log("pinging Heartbeat -> current counter: " + this._heartbeatCounter); + setTimeout(function () { + _this._beat(); + }, HEARTBEAT_INTERVAL); + }; + return IdleTransaction; + }(Transaction)); + /** + * Reset transaction on scope to `undefined` + */ + function clearActiveTransaction(hub) { + if (hub) { + var scope = hub.getScope(); + if (scope) { + var transaction = scope.getTransaction(); + if (transaction) { + scope.setSpan(undefined); + } + } + } + } + + /** Returns all trace headers that are currently on the top scope. */ + function traceHeaders() { + var scope = this.getScope(); + if (scope) { + var span = scope.getSpan(); + if (span) { + return { + 'sentry-trace': span.toTraceparent(), + }; + } + } + return {}; + } + /** + * Makes a sampling decision for the given transaction and stores it on the transaction. + * + * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be + * sent to Sentry. + * + * @param transaction: The transaction needing a sampling decision + * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler` + * @param samplingContext: Default and user-provided data which may be used to help make the decision + * + * @returns The given transaction with its `sampled` value set + */ + function sample(transaction, options, samplingContext) { + // nothing to do if tracing is not enabled + if (!hasTracingEnabled(options)) { + transaction.sampled = false; + return transaction; + } + // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that + if (transaction.sampled !== undefined) { + transaction.setMetadata({ + transactionSampling: { method: 'explicitly_set' }, + }); + return transaction; + } + // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` were defined, so one of these should + // work; prefer the hook if so + var sampleRate; + if (typeof options.tracesSampler === 'function') { + sampleRate = options.tracesSampler(samplingContext); + transaction.setMetadata({ + transactionSampling: { + method: 'client_sampler', + // cast to number in case it's a boolean + rate: Number(sampleRate), + }, + }); + } + else if (samplingContext.parentSampled !== undefined) { + sampleRate = samplingContext.parentSampled; + transaction.setMetadata({ + transactionSampling: { method: 'inheritance' }, + }); + } + else { + sampleRate = options.tracesSampleRate; + transaction.setMetadata({ + transactionSampling: { + method: 'client_rate', + // cast to number in case it's a boolean + rate: Number(sampleRate), + }, + }); + } + // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The + // only valid values are booleans or numbers between 0 and 1.) + if (!isValidSampleRate(sampleRate)) { + logger.warn("[Tracing] Discarding transaction because of invalid sample rate."); + transaction.sampled = false; + return transaction; + } + // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped + if (!sampleRate) { + logger.log("[Tracing] Discarding transaction because " + (typeof options.tracesSampler === 'function' + ? 'tracesSampler returned 0 or false' + : 'a negative sampling decision was inherited or tracesSampleRate is set to 0')); + transaction.sampled = false; + return transaction; + } + // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is + // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false. + transaction.sampled = Math.random() < sampleRate; + // if we're not going to keep it, we're done + if (!transaction.sampled) { + logger.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = " + Number(sampleRate) + ")"); + return transaction; + } + logger.log("[Tracing] starting " + transaction.op + " transaction - " + transaction.name); + return transaction; + } + /** + * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1). + */ + function isValidSampleRate(rate) { + // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck + // eslint-disable-next-line @typescript-eslint/no-explicit-any + if (isNaN(rate) || !(typeof rate === 'number' || typeof rate === 'boolean')) { + logger.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got " + JSON.stringify(rate) + " of type " + JSON.stringify(typeof rate) + "."); + return false; + } + // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false + if (rate < 0 || rate > 1) { + logger.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got " + rate + "."); + return false; + } + return true; + } + /** + * Creates a new transaction and adds a sampling decision if it doesn't yet have one. + * + * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if + * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an + * "extension method." + * + * @param this: The Hub starting the transaction + * @param transactionContext: Data used to configure the transaction + * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any) + * + * @returns The new transaction + * + * @see {@link Hub.startTransaction} + */ + function _startTransaction(transactionContext, customSamplingContext) { + var client = this.getClient(); + var options = (client && client.getOptions()) || {}; + var transaction = new Transaction(transactionContext, this); + transaction = sample(transaction, options, __assign({ parentSampled: transactionContext.parentSampled, transactionContext: transactionContext }, customSamplingContext)); + if (transaction.sampled) { + transaction.initSpanRecorder(options._experiments && options._experiments.maxSpans); + } + return transaction; + } + /** + * Create new idle transaction. + */ + function startIdleTransaction(hub, transactionContext, idleTimeout, onScope, customSamplingContext) { + var client = hub.getClient(); + var options = (client && client.getOptions()) || {}; + var transaction = new IdleTransaction(transactionContext, hub, idleTimeout, onScope); + transaction = sample(transaction, options, __assign({ parentSampled: transactionContext.parentSampled, transactionContext: transactionContext }, customSamplingContext)); + if (transaction.sampled) { + transaction.initSpanRecorder(options._experiments && options._experiments.maxSpans); + } + return transaction; + } + /** + * @private + */ + function _addTracingExtensions() { + var carrier = getMainCarrier(); + if (!carrier.__SENTRY__) { + return; + } + carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {}; + if (!carrier.__SENTRY__.extensions.startTransaction) { + carrier.__SENTRY__.extensions.startTransaction = _startTransaction; + } + if (!carrier.__SENTRY__.extensions.traceHeaders) { + carrier.__SENTRY__.extensions.traceHeaders = traceHeaders; + } + } + /** + * This patches the global object and injects the Tracing extensions methods + */ + function addExtensionMethods() { + _addTracingExtensions(); + // If an error happens globally, we should make sure transaction status is set to error. + registerErrorInstrumentation(); + } + + var global$3 = getGlobalObject(); + /** + * Add a listener that cancels and finishes a transaction when the global + * document is hidden. + */ + function registerBackgroundTabDetection() { + if (global$3 && global$3.document) { + global$3.document.addEventListener('visibilitychange', function () { + var activeTransaction = getActiveTransaction(); + if (global$3.document.hidden && activeTransaction) { + var statusType = 'cancelled'; + logger.log("[Tracing] Transaction: " + statusType + " -> since tab moved to the background, op: " + activeTransaction.op); + // We should not set status if it is already set, this prevent important statuses like + // error or data loss from being overwritten on transaction. + if (!activeTransaction.status) { + activeTransaction.setStatus(statusType); + } + activeTransaction.setTag('visibilitychange', 'document.hidden'); + activeTransaction.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[2]); + activeTransaction.finish(); + } + }); + } + else { + logger.warn('[Tracing] Could not set up background tab detection due to lack of global document'); + } + } + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var bindReporter = function (callback, metric, reportAllChanges) { + var prevValue; + return function (forceReport) { + if (metric.value >= 0) { + if (forceReport || reportAllChanges) { + metric.delta = metric.value - (prevValue || 0); + // Report the metric if there's a non-zero delta or if no previous + // value exists (which can happen in the case of the document becoming + // hidden when the metric value is 0). + // See: https://github.com/GoogleChrome/web-vitals/issues/14 + if (metric.delta || prevValue === undefined) { + prevValue = metric.value; + callback(metric); + } + } + } + }; + }; + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** + * Performantly generate a unique, 30-char string by combining a version + * number, the current timestamp with a 13-digit number integer. + * @return {string} + */ + var generateUniqueID = function () { + return "v2-" + Date.now() + "-" + (Math.floor(Math.random() * (9e12 - 1)) + 1e12); + }; + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var initMetric = function (name, value) { + return { + name: name, + value: (value !== null && value !== void 0 ? value : -1), + delta: 0, + entries: [], + id: generateUniqueID(), + }; + }; + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** + * Takes a performance entry type and a callback function, and creates a + * `PerformanceObserver` instance that will observe the specified entry type + * with buffering enabled and call the callback _for each entry_. + * + * This function also feature-detects entry support and wraps the logic in a + * try/catch to avoid errors in unsupporting browsers. + */ + var observe = function (type, callback) { + try { + if (PerformanceObserver.supportedEntryTypes.includes(type)) { + // More extensive feature detect needed for Firefox due to: + // https://github.com/GoogleChrome/web-vitals/issues/142 + if (type === 'first-input' && !('PerformanceEventTiming' in self)) { + return; + } + var po = new PerformanceObserver(function (l) { return l.getEntries().map(callback); }); + po.observe({ type: type, buffered: true }); + return po; + } + } + catch (e) { + // Do nothing. + } + return; + }; + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var onHidden = function (cb, once) { + var onHiddenOrPageHide = function (event) { + if (event.type === 'pagehide' || getGlobalObject().document.visibilityState === 'hidden') { + cb(event); + if (once) { + removeEventListener('visibilitychange', onHiddenOrPageHide, true); + removeEventListener('pagehide', onHiddenOrPageHide, true); + } + } + }; + addEventListener('visibilitychange', onHiddenOrPageHide, true); + // Some browsers have buggy implementations of visibilitychange, + // so we use pagehide in addition, just to be safe. + addEventListener('pagehide', onHiddenOrPageHide, true); + }; + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var getCLS = function (onReport, reportAllChanges) { + var metric = initMetric('CLS', 0); + var report; + var sessionValue = 0; + var sessionEntries = []; + var entryHandler = function (entry) { + // Only count layout shifts without recent user input. + // TODO: Figure out why entry can be undefined + if (entry && !entry.hadRecentInput) { + var firstSessionEntry = sessionEntries[0]; + var lastSessionEntry = sessionEntries[sessionEntries.length - 1]; + // If the entry occurred less than 1 second after the previous entry and + // less than 5 seconds after the first entry in the session, include the + // entry in the current session. Otherwise, start a new session. + if (sessionValue && + sessionEntries.length !== 0 && + entry.startTime - lastSessionEntry.startTime < 1000 && + entry.startTime - firstSessionEntry.startTime < 5000) { + sessionValue += entry.value; + sessionEntries.push(entry); + } + else { + sessionValue = entry.value; + sessionEntries = [entry]; + } + // If the current session value is larger than the current CLS value, + // update CLS and the entries contributing to it. + if (sessionValue > metric.value) { + metric.value = sessionValue; + metric.entries = sessionEntries; + if (report) { + report(); + } + } + } + }; + var po = observe('layout-shift', entryHandler); + if (po) { + report = bindReporter(onReport, metric, reportAllChanges); + onHidden(function () { + po.takeRecords().map(entryHandler); + report(true); + }); + } + }; + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var firstHiddenTime = -1; + var initHiddenTime = function () { + return getGlobalObject().document.visibilityState === 'hidden' ? 0 : Infinity; + }; + var trackChanges = function () { + // Update the time if/when the document becomes hidden. + onHidden(function (_a) { + var timeStamp = _a.timeStamp; + firstHiddenTime = timeStamp; + }, true); + }; + var getVisibilityWatcher = function () { + if (firstHiddenTime < 0) { + // If the document is hidden when this code runs, assume it was hidden + // since navigation start. This isn't a perfect heuristic, but it's the + // best we can do until an API is available to support querying past + // visibilityState. + firstHiddenTime = initHiddenTime(); + trackChanges(); + } + return { + get firstHiddenTime() { + return firstHiddenTime; + }, + }; + }; + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var getFID = function (onReport, reportAllChanges) { + var visibilityWatcher = getVisibilityWatcher(); + var metric = initMetric('FID'); + var report; + var entryHandler = function (entry) { + // Only report if the page wasn't hidden prior to the first input. + if (report && entry.startTime < visibilityWatcher.firstHiddenTime) { + metric.value = entry.processingStart - entry.startTime; + metric.entries.push(entry); + report(true); + } + }; + var po = observe('first-input', entryHandler); + if (po) { + report = bindReporter(onReport, metric, reportAllChanges); + onHidden(function () { + po.takeRecords().map(entryHandler); + po.disconnect(); + }, true); + } + }; + + /* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var reportedMetricIDs = {}; + var getLCP = function (onReport, reportAllChanges) { + var visibilityWatcher = getVisibilityWatcher(); + var metric = initMetric('LCP'); + var report; + var entryHandler = function (entry) { + // The startTime attribute returns the value of the renderTime if it is not 0, + // and the value of the loadTime otherwise. + var value = entry.startTime; + // If the page was hidden prior to paint time of the entry, + // ignore it and mark the metric as final, otherwise add the entry. + if (value < visibilityWatcher.firstHiddenTime) { + metric.value = value; + metric.entries.push(entry); + } + if (report) { + report(); + } + }; + var po = observe('largest-contentful-paint', entryHandler); + if (po) { + report = bindReporter(onReport, metric, reportAllChanges); + var stopListening_1 = function () { + if (!reportedMetricIDs[metric.id]) { + po.takeRecords().map(entryHandler); + po.disconnect(); + reportedMetricIDs[metric.id] = true; + report(true); + } + }; + // Stop listening after input. Note: while scrolling is an input that + // stop LCP observation, it's unreliable since it can be programmatically + // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75 + ['keydown', 'click'].forEach(function (type) { + addEventListener(type, stopListening_1, { once: true, capture: true }); + }); + onHidden(stopListening_1, true); + } + }; + + var global$2 = getGlobalObject(); + /** Class tracking metrics */ + var MetricsInstrumentation = /** @class */ (function () { + function MetricsInstrumentation(_reportAllChanges) { + if (_reportAllChanges === void 0) { _reportAllChanges = false; } + this._reportAllChanges = _reportAllChanges; + this._measurements = {}; + this._performanceCursor = 0; + if (global$2 && global$2.performance && global$2.document) { + if (global$2.performance.mark) { + global$2.performance.mark('sentry-tracing-init'); + } + this._trackCLS(); + this._trackLCP(); + this._trackFID(); + } + } + /** Add performance related spans to a transaction */ + MetricsInstrumentation.prototype.addPerformanceEntries = function (transaction) { + var _this = this; + if (!global$2 || !global$2.performance || !global$2.performance.getEntries || !browserPerformanceTimeOrigin) { + // Gatekeeper if performance API not available + return; + } + logger.log('[Tracing] Adding & adjusting spans using Performance API'); + var timeOrigin = msToSec(browserPerformanceTimeOrigin); + var responseStartTimestamp; + var requestStartTimestamp; + global$2.performance + .getEntries() + .slice(this._performanceCursor) + .forEach(function (entry) { + var startTime = msToSec(entry.startTime); + var duration = msToSec(entry.duration); + if (transaction.op === 'navigation' && timeOrigin + startTime < transaction.startTimestamp) { + return; + } + switch (entry.entryType) { + case 'navigation': { + addNavigationSpans(transaction, entry, timeOrigin); + responseStartTimestamp = timeOrigin + msToSec(entry.responseStart); + requestStartTimestamp = timeOrigin + msToSec(entry.requestStart); + break; + } + case 'mark': + case 'paint': + case 'measure': { + var startTimestamp = addMeasureSpans(transaction, entry, startTime, duration, timeOrigin); + // capture web vitals + var firstHidden = getVisibilityWatcher(); + // Only report if the page wasn't hidden prior to the web vital. + var shouldRecord = entry.startTime < firstHidden.firstHiddenTime; + if (entry.name === 'first-paint' && shouldRecord) { + logger.log('[Measurements] Adding FP'); + _this._measurements['fp'] = { value: entry.startTime }; + _this._measurements['mark.fp'] = { value: startTimestamp }; + } + if (entry.name === 'first-contentful-paint' && shouldRecord) { + logger.log('[Measurements] Adding FCP'); + _this._measurements['fcp'] = { value: entry.startTime }; + _this._measurements['mark.fcp'] = { value: startTimestamp }; + } + break; + } + case 'resource': { + var resourceName = entry.name.replace(global$2.location.origin, ''); + addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin); + break; + } + // Ignore other entry types. + } + }); + this._performanceCursor = Math.max(performance.getEntries().length - 1, 0); + this._trackNavigator(transaction); + // Measurements are only available for pageload transactions + if (transaction.op === 'pageload') { + // normalize applicable web vital values to be relative to transaction.startTimestamp + var timeOrigin_1 = msToSec(browserPerformanceTimeOrigin); + // Generate TTFB (Time to First Byte), which measured as the time between the beginning of the transaction and the + // start of the response in milliseconds + if (typeof responseStartTimestamp === 'number') { + logger.log('[Measurements] Adding TTFB'); + this._measurements['ttfb'] = { value: (responseStartTimestamp - transaction.startTimestamp) * 1000 }; + if (typeof requestStartTimestamp === 'number' && requestStartTimestamp <= responseStartTimestamp) { + // Capture the time spent making the request and receiving the first byte of the response. + // This is the time between the start of the request and the start of the response in milliseconds. + this._measurements['ttfb.requestTime'] = { value: (responseStartTimestamp - requestStartTimestamp) * 1000 }; + } + } + ['fcp', 'fp', 'lcp'].forEach(function (name) { + if (!_this._measurements[name] || timeOrigin_1 >= transaction.startTimestamp) { + return; + } + // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin. + // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need + // to be adjusted to be relative to transaction.startTimestamp. + var oldValue = _this._measurements[name].value; + var measurementTimestamp = timeOrigin_1 + msToSec(oldValue); + // normalizedValue should be in milliseconds + var normalizedValue = Math.abs((measurementTimestamp - transaction.startTimestamp) * 1000); + var delta = normalizedValue - oldValue; + logger.log("[Measurements] Normalized " + name + " from " + oldValue + " to " + normalizedValue + " (" + delta + ")"); + _this._measurements[name].value = normalizedValue; + }); + if (this._measurements['mark.fid'] && this._measurements['fid']) { + // create span for FID + _startChild(transaction, { + description: 'first input delay', + endTimestamp: this._measurements['mark.fid'].value + msToSec(this._measurements['fid'].value), + op: 'web.vitals', + startTimestamp: this._measurements['mark.fid'].value, + }); + } + // If FCP is not recorded we should not record the cls value + // according to the new definition of CLS. + if (!('fcp' in this._measurements)) { + delete this._measurements.cls; + } + transaction.setMeasurements(this._measurements); + tagMetricInfo(transaction, this._lcpEntry, this._clsEntry); + transaction.setTag('sentry_reportAllChanges', this._reportAllChanges); + } + }; + /** + * Capture the information of the user agent. + */ + MetricsInstrumentation.prototype._trackNavigator = function (transaction) { + var navigator = global$2.navigator; + if (!navigator) { + return; + } + // track network connectivity + var connection = navigator.connection; + if (connection) { + if (connection.effectiveType) { + transaction.setTag('effectiveConnectionType', connection.effectiveType); + } + if (connection.type) { + transaction.setTag('connectionType', connection.type); + } + if (isMeasurementValue(connection.rtt)) { + this._measurements['connection.rtt'] = { value: connection.rtt }; + } + if (isMeasurementValue(connection.downlink)) { + this._measurements['connection.downlink'] = { value: connection.downlink }; + } + } + if (isMeasurementValue(navigator.deviceMemory)) { + transaction.setTag('deviceMemory', String(navigator.deviceMemory)); + } + if (isMeasurementValue(navigator.hardwareConcurrency)) { + transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency)); + } + }; + /** Starts tracking the Cumulative Layout Shift on the current page. */ + MetricsInstrumentation.prototype._trackCLS = function () { + var _this = this; + // See: + // https://web.dev/evolving-cls/ + // https://web.dev/cls-web-tooling/ + getCLS(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + logger.log('[Measurements] Adding CLS'); + _this._measurements['cls'] = { value: metric.value }; + _this._clsEntry = entry; + }); + }; + /** Starts tracking the Largest Contentful Paint on the current page. */ + MetricsInstrumentation.prototype._trackLCP = function () { + var _this = this; + getLCP(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + var timeOrigin = msToSec(browserPerformanceTimeOrigin); + var startTime = msToSec(entry.startTime); + logger.log('[Measurements] Adding LCP'); + _this._measurements['lcp'] = { value: metric.value }; + _this._measurements['mark.lcp'] = { value: timeOrigin + startTime }; + _this._lcpEntry = entry; + }, this._reportAllChanges); + }; + /** Starts tracking the First Input Delay on the current page. */ + MetricsInstrumentation.prototype._trackFID = function () { + var _this = this; + getFID(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + var timeOrigin = msToSec(browserPerformanceTimeOrigin); + var startTime = msToSec(entry.startTime); + logger.log('[Measurements] Adding FID'); + _this._measurements['fid'] = { value: metric.value }; + _this._measurements['mark.fid'] = { value: timeOrigin + startTime }; + }); + }; + return MetricsInstrumentation; + }()); + /** Instrument navigation entries */ + function addNavigationSpans(transaction, entry, timeOrigin) { + ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(function (event) { + addPerformanceNavigationTiming(transaction, entry, event, timeOrigin); + }); + addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd'); + addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart'); + addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS'); + addRequest(transaction, entry, timeOrigin); + } + /** Create measure related spans */ + function addMeasureSpans(transaction, entry, startTime, duration, timeOrigin) { + var measureStartTimestamp = timeOrigin + startTime; + var measureEndTimestamp = measureStartTimestamp + duration; + _startChild(transaction, { + description: entry.name, + endTimestamp: measureEndTimestamp, + op: entry.entryType, + startTimestamp: measureStartTimestamp, + }); + return measureStartTimestamp; + } + /** Create resource-related spans */ + function addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin) { + // we already instrument based on fetch and xhr, so we don't need to + // duplicate spans here. + if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') { + return; + } + var data = {}; + if ('transferSize' in entry) { + data['Transfer Size'] = entry.transferSize; + } + if ('encodedBodySize' in entry) { + data['Encoded Body Size'] = entry.encodedBodySize; + } + if ('decodedBodySize' in entry) { + data['Decoded Body Size'] = entry.decodedBodySize; + } + var startTimestamp = timeOrigin + startTime; + var endTimestamp = startTimestamp + duration; + _startChild(transaction, { + description: resourceName, + endTimestamp: endTimestamp, + op: entry.initiatorType ? "resource." + entry.initiatorType : 'resource', + startTimestamp: startTimestamp, + data: data, + }); + } + /** Create performance navigation related spans */ + function addPerformanceNavigationTiming(transaction, entry, event, timeOrigin, description, eventEnd) { + var end = eventEnd ? entry[eventEnd] : entry[event + "End"]; + var start = entry[event + "Start"]; + if (!start || !end) { + return; + } + _startChild(transaction, { + op: 'browser', + description: (description !== null && description !== void 0 ? description : event), + startTimestamp: timeOrigin + msToSec(start), + endTimestamp: timeOrigin + msToSec(end), + }); + } + /** Create request and response related spans */ + function addRequest(transaction, entry, timeOrigin) { + _startChild(transaction, { + op: 'browser', + description: 'request', + startTimestamp: timeOrigin + msToSec(entry.requestStart), + endTimestamp: timeOrigin + msToSec(entry.responseEnd), + }); + _startChild(transaction, { + op: 'browser', + description: 'response', + startTimestamp: timeOrigin + msToSec(entry.responseStart), + endTimestamp: timeOrigin + msToSec(entry.responseEnd), + }); + } + /** + * Helper function to start child on transactions. This function will make sure that the transaction will + * use the start timestamp of the created child span if it is earlier than the transactions actual + * start timestamp. + */ + function _startChild(transaction, _a) { + var startTimestamp = _a.startTimestamp, ctx = __rest(_a, ["startTimestamp"]); + if (startTimestamp && transaction.startTimestamp > startTimestamp) { + transaction.startTimestamp = startTimestamp; + } + return transaction.startChild(__assign({ startTimestamp: startTimestamp }, ctx)); + } + /** + * Checks if a given value is a valid measurement value. + */ + function isMeasurementValue(value) { + return typeof value === 'number' && isFinite(value); + } + /** Add LCP / CLS data to transaction to allow debugging */ + function tagMetricInfo(transaction, lcpEntry, clsEntry) { + if (lcpEntry) { + logger.log('[Measurements] Adding LCP Data'); + // Capture Properties of the LCP element that contributes to the LCP. + if (lcpEntry.element) { + transaction.setTag('lcp.element', htmlTreeAsString(lcpEntry.element)); + } + if (lcpEntry.id) { + transaction.setTag('lcp.id', lcpEntry.id); + } + if (lcpEntry.url) { + // Trim URL to the first 200 characters. + transaction.setTag('lcp.url', lcpEntry.url.trim().slice(0, 200)); + } + transaction.setTag('lcp.size', lcpEntry.size); + } + // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift + if (clsEntry && clsEntry.sources) { + logger.log('[Measurements] Adding CLS Data'); + clsEntry.sources.forEach(function (source, index) { + return transaction.setTag("cls.source." + (index + 1), htmlTreeAsString(source.node)); + }); + } + } + + var DEFAULT_TRACING_ORIGINS = ['localhost', /^\//]; + var defaultRequestInstrumentationOptions = { + traceFetch: true, + traceXHR: true, + tracingOrigins: DEFAULT_TRACING_ORIGINS, + }; + /** Registers span creators for xhr and fetch requests */ + function instrumentOutgoingRequests(_options) { + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = __assign(__assign({}, defaultRequestInstrumentationOptions), _options), traceFetch = _a.traceFetch, traceXHR = _a.traceXHR, tracingOrigins = _a.tracingOrigins, shouldCreateSpanForRequest = _a.shouldCreateSpanForRequest; + // We should cache url -> decision so that we don't have to compute + // regexp everytime we create a request. + var urlMap = {}; + var defaultShouldCreateSpan = function (url) { + if (urlMap[url]) { + return urlMap[url]; + } + var origins = tracingOrigins; + urlMap[url] = + origins.some(function (origin) { return isMatchingPattern(url, origin); }) && + !isMatchingPattern(url, 'sentry_key'); + return urlMap[url]; + }; + // We want that our users don't have to re-implement shouldCreateSpanForRequest themselves + // That's why we filter out already unwanted Spans from tracingOrigins + var shouldCreateSpan = defaultShouldCreateSpan; + if (typeof shouldCreateSpanForRequest === 'function') { + shouldCreateSpan = function (url) { + return defaultShouldCreateSpan(url) && shouldCreateSpanForRequest(url); + }; + } + var spans = {}; + if (traceFetch) { + addInstrumentationHandler('fetch', function (handlerData) { + fetchCallback(handlerData, shouldCreateSpan, spans); + }); + } + if (traceXHR) { + addInstrumentationHandler('xhr', function (handlerData) { + xhrCallback(handlerData, shouldCreateSpan, spans); + }); + } + } + /** + * Create and track fetch request spans + */ + function fetchCallback(handlerData, shouldCreateSpan, spans) { + if (!hasTracingEnabled() || !(handlerData.fetchData && shouldCreateSpan(handlerData.fetchData.url))) { + return; + } + if (handlerData.endTimestamp) { + var spanId = handlerData.fetchData.__span; + if (!spanId) + return; + var span = spans[spanId]; + if (span) { + if (handlerData.response) { + // TODO (kmclb) remove this once types PR goes through + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + span.setHttpStatus(handlerData.response.status); + } + else if (handlerData.error) { + span.setStatus('internal_error'); + } + span.finish(); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete spans[spanId]; + } + return; + } + var activeTransaction = getActiveTransaction(); + if (activeTransaction) { + var span = activeTransaction.startChild({ + data: __assign(__assign({}, handlerData.fetchData), { type: 'fetch' }), + description: handlerData.fetchData.method + " " + handlerData.fetchData.url, + op: 'http.client', + }); + handlerData.fetchData.__span = span.spanId; + spans[span.spanId] = span; + var request = (handlerData.args[0] = handlerData.args[0]); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var options = (handlerData.args[1] = handlerData.args[1] || {}); + var headers = options.headers; + if (isInstanceOf(request, Request)) { + headers = request.headers; + } + if (headers) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (typeof headers.append === 'function') { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + headers.append('sentry-trace', span.toTraceparent()); + } + else if (Array.isArray(headers)) { + headers = __spread(headers, [['sentry-trace', span.toTraceparent()]]); + } + else { + headers = __assign(__assign({}, headers), { 'sentry-trace': span.toTraceparent() }); + } + } + else { + headers = { 'sentry-trace': span.toTraceparent() }; + } + options.headers = headers; + } + } + /** + * Create and track xhr request spans + */ + function xhrCallback(handlerData, shouldCreateSpan, spans) { + if (!hasTracingEnabled() || + (handlerData.xhr && handlerData.xhr.__sentry_own_request__) || + !(handlerData.xhr && handlerData.xhr.__sentry_xhr__ && shouldCreateSpan(handlerData.xhr.__sentry_xhr__.url))) { + return; + } + var xhr = handlerData.xhr.__sentry_xhr__; + // check first if the request has finished and is tracked by an existing span which should now end + if (handlerData.endTimestamp) { + var spanId = handlerData.xhr.__sentry_xhr_span_id__; + if (!spanId) + return; + var span = spans[spanId]; + if (span) { + span.setHttpStatus(xhr.status_code); + span.finish(); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete spans[spanId]; + } + return; + } + // if not, create a new span to track it + var activeTransaction = getActiveTransaction(); + if (activeTransaction) { + var span = activeTransaction.startChild({ + data: __assign(__assign({}, xhr.data), { type: 'xhr', method: xhr.method, url: xhr.url }), + description: xhr.method + " " + xhr.url, + op: 'http.client', + }); + handlerData.xhr.__sentry_xhr_span_id__ = span.spanId; + spans[handlerData.xhr.__sentry_xhr_span_id__] = span; + if (handlerData.xhr.setRequestHeader) { + try { + handlerData.xhr.setRequestHeader('sentry-trace', span.toTraceparent()); + } + catch (_) { + // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED. + } + } + } + } + + var global$1 = getGlobalObject(); + /** + * Default function implementing pageload and navigation transactions + */ + function instrumentRoutingWithDefaults(customStartTransaction, startTransactionOnPageLoad, startTransactionOnLocationChange) { + if (startTransactionOnPageLoad === void 0) { startTransactionOnPageLoad = true; } + if (startTransactionOnLocationChange === void 0) { startTransactionOnLocationChange = true; } + if (!global$1 || !global$1.location) { + logger.warn('Could not initialize routing instrumentation due to invalid location'); + return; + } + var startingUrl = global$1.location.href; + var activeTransaction; + if (startTransactionOnPageLoad) { + activeTransaction = customStartTransaction({ name: global$1.location.pathname, op: 'pageload' }); + } + if (startTransactionOnLocationChange) { + addInstrumentationHandler('history', function (_a) { + var to = _a.to, from = _a.from; + /** + * This early return is there to account for some cases where a navigation transaction starts right after + * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't + * create an uneccessary navigation transaction. + * + * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also + * only be caused in certain development environments where the usage of a hot module reloader is causing + * errors. + */ + if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) { + startingUrl = undefined; + return; + } + if (from !== to) { + startingUrl = undefined; + if (activeTransaction) { + logger.log("[Tracing] Finishing current transaction with op: " + activeTransaction.op); + // If there's an open transaction on the scope, we need to finish it before creating an new one. + activeTransaction.finish(); + } + activeTransaction = customStartTransaction({ name: global$1.location.pathname, op: 'navigation' }); + } + }); + } + } + + var DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600; + var DEFAULT_BROWSER_TRACING_OPTIONS = __assign({ idleTimeout: DEFAULT_IDLE_TIMEOUT, markBackgroundTransactions: true, maxTransactionDuration: DEFAULT_MAX_TRANSACTION_DURATION_SECONDS, routingInstrumentation: instrumentRoutingWithDefaults, startTransactionOnLocationChange: true, startTransactionOnPageLoad: true }, defaultRequestInstrumentationOptions); + /** + * The Browser Tracing integration automatically instruments browser pageload/navigation + * actions as transactions, and captures requests, metrics and errors as spans. + * + * The integration can be configured with a variety of options, and can be extended to use + * any routing library. This integration uses {@see IdleTransaction} to create transactions. + */ + var BrowserTracing = /** @class */ (function () { + function BrowserTracing(_options) { + /** + * @inheritDoc + */ + this.name = BrowserTracing.id; + this._emitOptionsWarning = false; + /** Store configured idle timeout so that it can be added as a tag to transactions */ + this._configuredIdleTimeout = undefined; + var tracingOrigins = defaultRequestInstrumentationOptions.tracingOrigins; + // NOTE: Logger doesn't work in constructors, as it's initialized after integrations instances + if (_options) { + this._configuredIdleTimeout = _options.idleTimeout; + if (_options.tracingOrigins && Array.isArray(_options.tracingOrigins) && _options.tracingOrigins.length !== 0) { + tracingOrigins = _options.tracingOrigins; + } + else { + this._emitOptionsWarning = true; + } + } + this.options = __assign(__assign(__assign({}, DEFAULT_BROWSER_TRACING_OPTIONS), _options), { tracingOrigins: tracingOrigins }); + var _metricOptions = this.options._metricOptions; + this._metrics = new MetricsInstrumentation(_metricOptions && _metricOptions._reportAllChanges); + } + /** + * @inheritDoc + */ + BrowserTracing.prototype.setupOnce = function (_, getCurrentHub) { + var _this = this; + this._getCurrentHub = getCurrentHub; + if (this._emitOptionsWarning) { + logger.warn('[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.'); + logger.warn("[Tracing] We added a reasonable default for you: " + defaultRequestInstrumentationOptions.tracingOrigins); + } + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.options, instrumentRouting = _a.routingInstrumentation, startTransactionOnLocationChange = _a.startTransactionOnLocationChange, startTransactionOnPageLoad = _a.startTransactionOnPageLoad, markBackgroundTransactions = _a.markBackgroundTransactions, traceFetch = _a.traceFetch, traceXHR = _a.traceXHR, tracingOrigins = _a.tracingOrigins, shouldCreateSpanForRequest = _a.shouldCreateSpanForRequest; + instrumentRouting(function (context) { return _this._createRouteTransaction(context); }, startTransactionOnPageLoad, startTransactionOnLocationChange); + if (markBackgroundTransactions) { + registerBackgroundTabDetection(); + } + instrumentOutgoingRequests({ traceFetch: traceFetch, traceXHR: traceXHR, tracingOrigins: tracingOrigins, shouldCreateSpanForRequest: shouldCreateSpanForRequest }); + }; + /** Create routing idle transaction. */ + BrowserTracing.prototype._createRouteTransaction = function (context) { + var _this = this; + if (!this._getCurrentHub) { + logger.warn("[Tracing] Did not create " + context.op + " transaction because _getCurrentHub is invalid."); + return undefined; + } + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.options, beforeNavigate = _a.beforeNavigate, idleTimeout = _a.idleTimeout, maxTransactionDuration = _a.maxTransactionDuration; + var parentContextFromHeader = context.op === 'pageload' ? getHeaderContext() : undefined; + var expandedContext = __assign(__assign(__assign({}, context), parentContextFromHeader), { trimEnd: true }); + var modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext; + // For backwards compatibility reasons, beforeNavigate can return undefined to "drop" the transaction (prevent it + // from being sent to Sentry). + var finalContext = modifiedContext === undefined ? __assign(__assign({}, expandedContext), { sampled: false }) : modifiedContext; + if (finalContext.sampled === false) { + logger.log("[Tracing] Will not send " + finalContext.op + " transaction because of beforeNavigate."); + } + logger.log("[Tracing] Starting " + finalContext.op + " transaction on scope"); + var hub = this._getCurrentHub(); + var location = getGlobalObject().location; + var idleTransaction = startIdleTransaction(hub, finalContext, idleTimeout, true, { location: location }); + idleTransaction.registerBeforeFinishCallback(function (transaction, endTimestamp) { + _this._metrics.addPerformanceEntries(transaction); + adjustTransactionDuration(secToMs(maxTransactionDuration), transaction, endTimestamp); + }); + idleTransaction.setTag('idleTimeout', this._configuredIdleTimeout); + return idleTransaction; + }; + /** + * @inheritDoc + */ + BrowserTracing.id = 'BrowserTracing'; + return BrowserTracing; + }()); + /** + * Gets transaction context from a sentry-trace meta. + * + * @returns Transaction context data from the header or undefined if there's no header or the header is malformed + */ + function getHeaderContext() { + var header = getMetaContent('sentry-trace'); + if (header) { + return extractTraceparentData(header); + } + return undefined; + } + /** Returns the value of a meta tag */ + function getMetaContent(metaName) { + var el = getGlobalObject().document.querySelector("meta[name=" + metaName + "]"); + return el ? el.getAttribute('content') : null; + } + /** Adjusts transaction value based on max transaction duration */ + function adjustTransactionDuration(maxDuration, transaction, endTimestamp) { + var diff = endTimestamp - transaction.startTimestamp; + var isOutdatedTransaction = endTimestamp && (diff > maxDuration || diff < 0); + if (isOutdatedTransaction) { + transaction.setStatus('deadline_exceeded'); + transaction.setTag('maxTransactionDurationExceeded', 'true'); + } + } + + var windowIntegrations = {}; + // This block is needed to add compatibility with the integrations packages when used with a CDN + var _window = getGlobalObject(); + if (_window.Sentry && _window.Sentry.Integrations) { + windowIntegrations = _window.Sentry.Integrations; + } + var INTEGRATIONS = __assign(__assign(__assign({}, windowIntegrations), INTEGRATIONS$1), { BrowserTracing: BrowserTracing }); + // We are patching the global object with our hub extension methods + addExtensionMethods(); + + exports.BrowserClient = BrowserClient; + exports.BrowserTracing = BrowserTracing; + exports.Hub = Hub; + exports.Integrations = INTEGRATIONS; + exports.SDK_NAME = SDK_NAME; + exports.SDK_VERSION = SDK_VERSION; + exports.Scope = Scope; + exports.Span = Span; + exports.Transports = index; + exports.addBreadcrumb = addBreadcrumb; + exports.addExtensionMethods = addExtensionMethods; + exports.addGlobalEventProcessor = addGlobalEventProcessor; + exports.captureEvent = captureEvent; + exports.captureException = captureException; + exports.captureMessage = captureMessage; + exports.close = close; + exports.configureScope = configureScope; + exports.defaultIntegrations = defaultIntegrations; + exports.flush = flush; + exports.forceLoad = forceLoad; + exports.getCurrentHub = getCurrentHub; + exports.getHubFromCarrier = getHubFromCarrier; + exports.init = init; + exports.lastEventId = lastEventId; + exports.onLoad = onLoad; + exports.setContext = setContext; + exports.setExtra = setExtra; + exports.setExtras = setExtras; + exports.setTag = setTag; + exports.setTags = setTags; + exports.setUser = setUser; + exports.showReportDialog = showReportDialog; + exports.startTransaction = startTransaction; + exports.withScope = withScope; + exports.wrap = wrap; + + return exports; + +})({}); +//# sourceMappingURL=bundle.tracing.js.map diff --git a/node_modules/@sentry/tracing/build/bundle.tracing.js.map b/node_modules/@sentry/tracing/build/bundle.tracing.js.map new file mode 100644 index 000000000..27e550bb8 --- /dev/null +++ b/node_modules/@sentry/tracing/build/bundle.tracing.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bundle.tracing.js","sources":["../../types/src/severity.ts","../../utils/src/async.ts","../../utils/src/env.ts","../../utils/src/global.ts","../../utils/src/is.ts","../../utils/src/browser.ts","../../utils/src/polyfill.ts","../../utils/src/error.ts","../../utils/src/dsn.ts","../../utils/src/enums.ts","../../utils/src/logger.ts","../../utils/src/memo.ts","../../utils/src/stacktrace.ts","../../utils/src/string.ts","../../utils/src/object.ts","../../utils/src/supports.ts","../../utils/src/instrument.ts","../../utils/src/misc.ts","../../utils/src/syncpromise.ts","../../utils/src/promisebuffer.ts","../../utils/src/severity.ts","../../utils/src/status.ts","../../utils/src/time.ts","../../hub/src/scope.ts","../../hub/src/session.ts","../../hub/src/hub.ts","../../minimal/src/index.ts","../../core/src/api.ts","../../core/src/integration.ts","../../core/src/baseclient.ts","../../core/src/transports/noop.ts","../../core/src/basebackend.ts","../../core/src/request.ts","../../core/src/sdk.ts","../../core/src/version.ts","../../core/src/integrations/functiontostring.ts","../../core/src/integrations/inboundfilters.ts","../../browser/src/stack-parsers.ts","../../browser/src/parsers.ts","../../browser/src/eventbuilder.ts","../../browser/src/transports/utils.ts","../../browser/src/transports/base.ts","../../browser/src/transports/fetch.ts","../../browser/src/transports/xhr.ts","../../browser/src/backend.ts","../../browser/src/helpers.ts","../../browser/src/integrations/globalhandlers.ts","../../browser/src/integrations/trycatch.ts","../../browser/src/integrations/breadcrumbs.ts","../../browser/src/integrations/linkederrors.ts","../../browser/src/integrations/useragent.ts","../../browser/src/integrations/dedupe.ts","../../browser/src/client.ts","../../browser/src/sdk.ts","../../browser/src/version.ts","../../browser/src/index.ts","../src/utils.ts","../src/errors.ts","../src/constants.ts","../src/span.ts","../src/transaction.ts","../src/idletransaction.ts","../src/hubextensions.ts","../src/browser/backgroundtab.ts","../src/browser/web-vitals/lib/bindReporter.ts","../src/browser/web-vitals/lib/generateUniqueID.ts","../src/browser/web-vitals/lib/initMetric.ts","../src/browser/web-vitals/lib/observe.ts","../src/browser/web-vitals/lib/onHidden.ts","../src/browser/web-vitals/getCLS.ts","../src/browser/web-vitals/lib/getVisibilityWatcher.ts","../src/browser/web-vitals/getFID.ts","../src/browser/web-vitals/getLCP.ts","../src/browser/metrics.ts","../src/browser/request.ts","../src/browser/router.ts","../src/browser/browsertracing.ts","../src/index.bundle.ts"],"sourcesContent":["/**\n * TODO(v7): Remove this enum and replace with SeverityLevel\n */\nexport enum Severity {\n /** JSDoc */\n Fatal = 'fatal',\n /** JSDoc */\n Error = 'error',\n /** JSDoc */\n Warning = 'warning',\n /** JSDoc */\n Log = 'log',\n /** JSDoc */\n Info = 'info',\n /** JSDoc */\n Debug = 'debug',\n /** JSDoc */\n Critical = 'critical',\n}\n\n// TODO: in v7, these can disappear, because they now also exist in `@sentry/utils`. (Having them there rather than here\n// is nice because then it enforces the idea that only types are exported from `@sentry/types`.)\nexport const SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'] as const;\nexport type SeverityLevel = typeof SeverityLevels[number];\n","/**\n * Consumes the promise and logs the error when it rejects.\n * @param promise A promise to forget.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function forget(promise: PromiseLike): void {\n void promise.then(null, e => {\n // TODO: Use a better logging mechanism\n // eslint-disable-next-line no-console\n console.error(e);\n });\n}\n","/**\n * This module mostly exists for optimizations in the build process\n * through rollup and terser. We define some global constants which\n * are normally undefined. However terser overrides these with global\n * definitions which can be evaluated by the static analyzer when\n * creating a bundle.\n *\n * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure\n * and can help us remove unused code from the bundles.\n */\n\ndeclare const __SENTRY_BROWSER_BUNDLE__: boolean | undefined;\ndeclare const __SENTRY_NO_DEBUG__: boolean | undefined;\n\n/**\n * Figures out if we're building with debug functionality.\n *\n * @returns true if this is a debug build\n */\nexport function isDebugBuild(): boolean {\n return typeof __SENTRY_NO_DEBUG__ !== 'undefined' && !__SENTRY_BROWSER_BUNDLE__;\n}\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nexport function isBrowserBundle(): boolean {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n","/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Integration } from '@sentry/types';\n\nimport { isNodeEnv } from './node';\n\n/** Internal */\ninterface SentryGlobal {\n Sentry?: {\n Integrations?: Integration[];\n };\n SENTRY_ENVIRONMENT?: string;\n SENTRY_DSN?: string;\n SENTRY_RELEASE?: {\n id?: string;\n };\n __SENTRY__: {\n globalEventProcessors: any;\n hub: any;\n logger: any;\n };\n}\n\nconst fallbackGlobalObject = {};\n\n/**\n * Safely get global scope object\n *\n * @returns Global scope object\n */\nexport function getGlobalObject(): T & SentryGlobal {\n return (\n isNodeEnv()\n ? global\n : typeof window !== 'undefined' // eslint-disable-line no-restricted-globals\n ? window // eslint-disable-line no-restricted-globals\n : typeof self !== 'undefined'\n ? self\n : fallbackGlobalObject\n ) as T & SentryGlobal;\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport { Primitive } from '@sentry/types';\n\n// eslint-disable-next-line @typescript-eslint/unbound-method\nconst objectToString = Object.prototype.toString;\n\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isError(wat: unknown): boolean {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\n\nfunction isBuiltin(wat: unknown, ty: string): boolean {\n return objectToString.call(wat) === `[object ${ty}]`;\n}\n\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isErrorEvent(wat: unknown): boolean {\n return isBuiltin(wat, 'ErrorEvent');\n}\n\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMError(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMError');\n}\n\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMException(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMException');\n}\n\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isString(wat: unknown): boolean {\n return isBuiltin(wat, 'String');\n}\n\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPrimitive(wat: unknown): wat is Primitive {\n return wat === null || (typeof wat !== 'object' && typeof wat !== 'function');\n}\n\n/**\n * Checks whether given value's type is an object literal\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPlainObject(wat: unknown): wat is Record {\n return isBuiltin(wat, 'Object');\n}\n\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isEvent(wat: unknown): boolean {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isElement(wat: unknown): boolean {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isRegExp(wat: unknown): wat is RegExp {\n return isBuiltin(wat, 'RegExp');\n}\n\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nexport function isThenable(wat: any): wat is PromiseLike {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isSyntheticEvent(wat: unknown): boolean {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nexport function isInstanceOf(wat: any, base: any): boolean {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n","import { getGlobalObject } from './global';\nimport { isString } from './is';\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nexport function htmlTreeAsString(elem: unknown, keyAttrs?: string[]): string {\n type SimpleNode = {\n parentNode: SimpleNode;\n } | null;\n\n // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n try {\n let currentElem = elem as SimpleNode;\n const MAX_TRAVERSE_HEIGHT = 5;\n const MAX_OUTPUT_LEN = 80;\n const out = [];\n let height = 0;\n let len = 0;\n const separator = ' > ';\n const sepLength = separator.length;\n let nextStr;\n\n // eslint-disable-next-line no-plusplus\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs);\n // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds MAX_OUTPUT_LEN\n // (ignore this limit if we are on the first iteration)\n if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) {\n break;\n }\n\n out.push(nextStr);\n\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '';\n }\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction _htmlElementAsString(el: unknown, keyAttrs?: string[]): string {\n const elem = el as {\n tagName?: string;\n id?: string;\n className?: string;\n getAttribute(key: string): string;\n };\n\n const out = [];\n let className;\n let classes;\n let key;\n let attr;\n let i;\n\n if (!elem || !elem.tagName) {\n return '';\n }\n\n out.push(elem.tagName.toLowerCase());\n\n // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n const keyAttrPairs =\n keyAttrs && keyAttrs.length\n ? keyAttrs.filter(keyAttr => elem.getAttribute(keyAttr)).map(keyAttr => [keyAttr, elem.getAttribute(keyAttr)])\n : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(keyAttrPair => {\n out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n });\n } else {\n if (elem.id) {\n out.push(`#${elem.id}`);\n }\n\n // eslint-disable-next-line prefer-const\n className = elem.className;\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n for (i = 0; i < classes.length; i++) {\n out.push(`.${classes[i]}`);\n }\n }\n }\n const allowedAttrs = ['type', 'name', 'title', 'alt'];\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n if (attr) {\n out.push(`[${key}=\"${attr}\"]`);\n }\n }\n return out.join('');\n}\n\n/**\n * A safe form of location.href\n */\nexport function getLocationHref(): string {\n const global = getGlobalObject();\n try {\n return global.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n","export const setPrototypeOf =\n Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties);\n\n/**\n * setPrototypeOf polyfill using __proto__\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction setProtoOf(obj: TTarget, proto: TProto): TTarget & TProto {\n // @ts-ignore __proto__ does not exist on obj\n obj.__proto__ = proto;\n return obj as TTarget & TProto;\n}\n\n/**\n * setPrototypeOf polyfill using mixin\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction mixinProperties(obj: TTarget, proto: TProto): TTarget & TProto {\n for (const prop in proto) {\n if (!Object.prototype.hasOwnProperty.call(obj, prop)) {\n // @ts-ignore typescript complains about indexing so we remove\n obj[prop] = proto[prop];\n }\n }\n\n return obj as TTarget & TProto;\n}\n","import { setPrototypeOf } from './polyfill';\n\n/** An error emitted by Sentry SDKs and related utilities. */\nexport class SentryError extends Error {\n /** Display name of this error instance. */\n public name: string;\n\n public constructor(public message: string) {\n super(message);\n\n this.name = new.target.prototype.constructor.name;\n setPrototypeOf(this, new.target.prototype);\n }\n}\n","import { DsnComponents, DsnLike, DsnProtocol } from '@sentry/types';\n\nimport { isDebugBuild } from './env';\nimport { SentryError } from './error';\n\n/** Regular expression used to parse a Dsn. */\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+))?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol?: string): protocol is DsnProtocol {\n return protocol === 'http' || protocol === 'https';\n}\n\n/**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\nexport function dsnToString(dsn: DsnComponents, withPassword: boolean = false): string {\n const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n return (\n `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ''}` +\n `@${host}${port ? `:${port}` : ''}/${path ? `${path}/` : path}${projectId}`\n );\n}\n\nfunction dsnFromString(str: string): DsnComponents {\n const match = DSN_REGEX.exec(str);\n\n if (!match) {\n throw new SentryError(`Invalid Sentry Dsn: ${str}`);\n }\n\n const [protocol, publicKey, pass = '', host, port = '', lastPath] = match.slice(1);\n let path = '';\n let projectId = lastPath;\n\n const split = projectId.split('/');\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop() as string;\n }\n\n if (projectId) {\n const projectMatch = projectId.match(/^\\d+/);\n if (projectMatch) {\n projectId = projectMatch[0];\n }\n }\n\n return dsnFromComponents({ host, pass, path, projectId, port, protocol: protocol as DsnProtocol, publicKey });\n}\n\nfunction dsnFromComponents(components: DsnComponents): DsnComponents {\n // TODO this is for backwards compatibility, and can be removed in a future version\n if ('user' in components && !('publicKey' in components)) {\n components.publicKey = components.user;\n }\n\n return {\n user: components.publicKey || '',\n protocol: components.protocol,\n publicKey: components.publicKey || '',\n pass: components.pass || '',\n host: components.host,\n port: components.port || '',\n path: components.path || '',\n projectId: components.projectId,\n };\n}\n\nfunction validateDsn(dsn: DsnComponents): boolean | void {\n if (!isDebugBuild()) {\n return;\n }\n\n const { port, projectId, protocol } = dsn;\n\n const requiredComponents: ReadonlyArray = ['protocol', 'publicKey', 'host', 'projectId'];\n requiredComponents.forEach(component => {\n if (!dsn[component]) {\n throw new SentryError(`Invalid Sentry Dsn: ${component} missing`);\n }\n });\n\n if (!projectId.match(/^\\d+$/)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n }\n\n if (!isValidProtocol(protocol)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid port ${port}`);\n }\n\n return true;\n}\n\n/** The Sentry Dsn, identifying a Sentry instance and project. */\nexport function makeDsn(from: DsnLike): DsnComponents {\n const components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n\n validateDsn(components);\n\n return components;\n}\n","export const SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'] as const;\nexport type SeverityLevel = typeof SeverityLevels[number];\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { getGlobalObject } from './global';\n\n// TODO: Implement different loggers for different environments\nconst global = getGlobalObject();\n\n/** Prefix for logging strings */\nconst PREFIX = 'Sentry Logger ';\n\n/** JSDoc */\ninterface ExtensibleConsole extends Console {\n [key: string]: any;\n}\n\n/**\n * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods.\n * Restores wrapping after the callback completes.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nexport function consoleSandbox(callback: () => any): any {\n const global = getGlobalObject();\n const levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];\n\n if (!('console' in global)) {\n return callback();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const originalConsole = (global as any).console as ExtensibleConsole;\n const wrappedLevels: { [key: string]: any } = {};\n\n // Restore all wrapped console methods\n levels.forEach(level => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (level in (global as any).console && (originalConsole[level] as WrappedFunction).__sentry_original__) {\n wrappedLevels[level] = originalConsole[level] as WrappedFunction;\n originalConsole[level] = (originalConsole[level] as WrappedFunction).__sentry_original__;\n }\n });\n\n // Perform callback manipulations\n const result = callback();\n\n // Revert restoration to wrapped state\n Object.keys(wrappedLevels).forEach(level => {\n originalConsole[level] = wrappedLevels[level];\n });\n\n return result;\n}\n\n/** JSDoc */\nclass Logger {\n /** JSDoc */\n private _enabled: boolean;\n\n /** JSDoc */\n public constructor() {\n this._enabled = false;\n }\n\n /** JSDoc */\n public disable(): void {\n this._enabled = false;\n }\n\n /** JSDoc */\n public enable(): void {\n this._enabled = true;\n }\n\n /** JSDoc */\n public log(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.log(`${PREFIX}[Log]: ${args.join(' ')}`);\n });\n }\n\n /** JSDoc */\n public warn(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.warn(`${PREFIX}[Warn]: ${args.join(' ')}`);\n });\n }\n\n /** JSDoc */\n public error(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.error(`${PREFIX}[Error]: ${args.join(' ')}`);\n });\n }\n}\n\n// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used\nglobal.__SENTRY__ = global.__SENTRY__ || {};\nconst logger = (global.__SENTRY__.logger as Logger) || (global.__SENTRY__.logger = new Logger());\n\nexport { logger };\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport type MemoFunc = [(obj: any) => boolean, (obj: any) => void];\n\n/**\n * Helper to decycle json objects\n */\nexport function memoBuilder(): MemoFunc {\n const hasWeakSet = typeof WeakSet === 'function';\n const inner: any = hasWeakSet ? new WeakSet() : [];\n function memoize(obj: any): boolean {\n if (hasWeakSet) {\n if (inner.has(obj)) {\n return true;\n }\n inner.add(obj);\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < inner.length; i++) {\n const value = inner[i];\n if (value === obj) {\n return true;\n }\n }\n inner.push(obj);\n return false;\n }\n\n function unmemoize(obj: any): void {\n if (hasWeakSet) {\n inner.delete(obj);\n } else {\n for (let i = 0; i < inner.length; i++) {\n if (inner[i] === obj) {\n inner.splice(i, 1);\n break;\n }\n }\n }\n }\n return [memoize, unmemoize];\n}\n","import { StackFrame } from '@sentry/types';\n\nconst STACKTRACE_LIMIT = 50;\n\nexport type StackLineParser = (line: string) => StackFrame | undefined;\n\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n * */\nexport function createStackParser(...parsers: StackLineParser[]) {\n return (stack: string, skipFirst: number = 0): StackFrame[] => {\n const frames: StackFrame[] = [];\n\n for (const line of stack.split('\\n').slice(skipFirst)) {\n for (const parser of parsers) {\n const frame = parser(line);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n\n/**\n * @hidden\n */\nexport function stripSentryFramesAndReverse(stack: StackFrame[]): StackFrame[] {\n if (!stack.length) {\n return [];\n }\n\n let localStack = stack;\n\n const firstFrameFunction = localStack[0].function || '';\n const lastFrameFunction = localStack[localStack.length - 1].function || '';\n\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) {\n localStack = localStack.slice(1);\n }\n\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (lastFrameFunction.indexOf('sentryWrapped') !== -1) {\n localStack = localStack.slice(0, -1);\n }\n\n // The frame where the crash happened, should be the last entry in the array\n return localStack\n .slice(0, STACKTRACE_LIMIT)\n .map(frame => ({\n ...frame,\n filename: frame.filename || localStack[0].filename,\n function: frame.function || '?',\n }))\n .reverse();\n}\n\nconst defaultFunctionName = '';\n\n/**\n * Safely extract function name from itself\n */\nexport function getFunctionName(fn: unknown): string {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n","import { isRegExp, isString } from './is';\n\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nexport function truncate(str: string, max: number = 0): string {\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : `${str.substr(0, max)}...`;\n}\n\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nexport function snipLine(line: string, colno: number): string {\n let newLine = line;\n const lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n let start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n\n let end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = `'{snip} ${newLine}`;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function safeJoin(input: any[], delimiter?: string): string {\n if (!Array.isArray(input)) {\n return '';\n }\n\n const output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.length; i++) {\n const value = input[i];\n try {\n output.push(String(value));\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n\n/**\n * Checks if the value matches a regex or includes the string\n * @param value The string value to be checked against\n * @param pattern Either a regex or a string that must be contained in value\n */\nexport function isMatchingPattern(value: string, pattern: RegExp | string): boolean {\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return (pattern as RegExp).test(value);\n }\n if (typeof pattern === 'string') {\n return value.indexOf(pattern) !== -1;\n }\n return false;\n}\n\n/**\n * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to\n * `new RegExp()`.\n *\n * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime\n * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node\n * 12+).\n *\n * @param regexString The string to escape\n * @returns An version of the string with all special regex characters escaped\n */\nexport function escapeStringForRegex(regexString: string): string {\n // escape the hyphen separately so we can also replace it with a unicode literal hyphen, to avoid the problems\n // discussed in https://github.com/sindresorhus/escape-string-regexp/issues/20.\n return regexString.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&').replace(/-/g, '\\\\x2d');\n}\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ExtendedError, WrappedFunction } from '@sentry/types';\n\nimport { htmlTreeAsString } from './browser';\nimport { isElement, isError, isEvent, isInstanceOf, isPlainObject, isPrimitive, isSyntheticEvent } from './is';\nimport { memoBuilder, MemoFunc } from './memo';\nimport { getFunctionName } from './stacktrace';\nimport { truncate } from './string';\n\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nexport function fill(source: { [key: string]: any }, name: string, replacementFactory: (...args: any[]) => any): void {\n if (!(name in source)) {\n return;\n }\n\n const original = source[name] as () => any;\n const wrapped = replacementFactory(original) as WrappedFunction;\n\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n try {\n markFunctionWrapped(wrapped, original);\n } catch (_Oo) {\n // This can throw if multiple fill happens on a global object like XMLHttpRequest\n // Fixes https://github.com/getsentry/sentry-javascript/issues/2043\n }\n }\n\n source[name] = wrapped;\n}\n\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nexport function addNonEnumerableProperty(obj: { [key: string]: unknown }, name: string, value: unknown): void {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true,\n });\n}\n\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nexport function markFunctionWrapped(wrapped: WrappedFunction, original: WrappedFunction): void {\n const proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n}\n\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nexport function getOriginalFunction(func: WrappedFunction): WrappedFunction | undefined {\n return func.__sentry_original__;\n}\n\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nexport function urlEncode(object: { [key: string]: any }): string {\n return Object.keys(object)\n .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)\n .join('&');\n}\n\n/**\n * Transforms any object into an object literal with all its attributes\n * attached to it.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n */\nfunction getWalkSource(value: any): {\n [key: string]: any;\n} {\n if (isError(value)) {\n const error = value as ExtendedError;\n const err: {\n [key: string]: any;\n stack: string | undefined;\n message: string;\n name: string;\n } = {\n message: error.message,\n name: error.name,\n stack: error.stack,\n };\n\n for (const i in error) {\n if (Object.prototype.hasOwnProperty.call(error, i)) {\n err[i] = error[i];\n }\n }\n\n return err;\n }\n\n if (isEvent(value)) {\n /**\n * Event-like interface that's usable in browser and node\n */\n interface SimpleEvent {\n [key: string]: unknown;\n type: string;\n target?: unknown;\n currentTarget?: unknown;\n }\n\n const event = value as unknown as SimpleEvent;\n\n const source: {\n [key: string]: any;\n } = {};\n\n // Accessing event attributes can throw (see https://github.com/getsentry/sentry-javascript/issues/768 and\n // https://github.com/getsentry/sentry-javascript/issues/838), but accessing `type` hasn't been wrapped in a\n // try-catch in at least two years and no one's complained, so that's likely not an issue anymore\n source.type = event.type;\n\n try {\n source.target = isElement(event.target)\n ? htmlTreeAsString(event.target)\n : Object.prototype.toString.call(event.target);\n } catch (_oO) {\n source.target = '';\n }\n\n try {\n source.currentTarget = isElement(event.currentTarget)\n ? htmlTreeAsString(event.currentTarget)\n : Object.prototype.toString.call(event.currentTarget);\n } catch (_oO) {\n source.currentTarget = '';\n }\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n source.detail = event.detail;\n }\n\n for (const attr in event) {\n if (Object.prototype.hasOwnProperty.call(event, attr)) {\n source[attr] = event[attr];\n }\n }\n\n return source;\n }\n\n return value as {\n [key: string]: any;\n };\n}\n\n/** Calculates bytes size of input string */\nfunction utf8Length(value: string): number {\n // eslint-disable-next-line no-bitwise\n return ~-encodeURI(value).split(/%..|./).length;\n}\n\n/** Calculates bytes size of input object */\nfunction jsonSize(value: any): number {\n return utf8Length(JSON.stringify(value));\n}\n\n/** JSDoc */\nexport function normalizeToSize(\n object: { [key: string]: any },\n // Default Node.js REPL depth\n depth: number = 3,\n // 100kB, as 200kB is max payload size, so half sounds reasonable\n maxSize: number = 100 * 1024,\n): T {\n const serialized = normalize(object, depth);\n\n if (jsonSize(serialized) > maxSize) {\n return normalizeToSize(object, depth - 1, maxSize);\n }\n\n return serialized as T;\n}\n\n/**\n * Transform any non-primitive, BigInt, or Symbol-type value into a string. Acts as a no-op on strings, numbers,\n * booleans, null, and undefined.\n *\n * @param value The value to stringify\n * @returns For non-primitive, BigInt, and Symbol-type values, a string denoting the value's type, type and value, or\n * type and `description` property, respectively. For non-BigInt, non-Symbol primitives, returns the original value,\n * unchanged.\n */\nfunction serializeValue(value: any): any {\n // Node.js REPL notation\n if (typeof value === 'string') {\n return value;\n }\n\n const type = Object.prototype.toString.call(value);\n if (type === '[object Object]') {\n return '[Object]';\n }\n if (type === '[object Array]') {\n return '[Array]';\n }\n\n const normalized = normalizeValue(value);\n return isPrimitive(normalized) ? normalized : type;\n}\n\n/**\n * normalizeValue()\n *\n * Takes unserializable input and make it serializable friendly\n *\n * - translates undefined/NaN values to \"[undefined]\"/\"[NaN]\" respectively,\n * - serializes Error objects\n * - filter global objects\n */\nfunction normalizeValue(value: T, key?: any): T | string {\n if (key === 'domain' && value && typeof value === 'object' && (value as unknown as { _events: any })._events) {\n return '[Domain]';\n }\n\n if (key === 'domainEmitter') {\n return '[DomainEmitter]';\n }\n\n if (typeof (global as any) !== 'undefined' && (value as unknown) === global) {\n return '[Global]';\n }\n\n // It's safe to use `window` and `document` here in this manner, as we are asserting using `typeof` first\n // which won't throw if they are not present.\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof (window as any) !== 'undefined' && (value as unknown) === window) {\n return '[Window]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof (document as any) !== 'undefined' && (value as unknown) === document) {\n return '[Document]';\n }\n\n // React's SyntheticEvent thingy\n if (isSyntheticEvent(value)) {\n return '[SyntheticEvent]';\n }\n\n if (typeof value === 'number' && value !== value) {\n return '[NaN]';\n }\n\n if (value === void 0) {\n return '[undefined]';\n }\n\n if (typeof value === 'function') {\n return `[Function: ${getFunctionName(value)}]`;\n }\n\n // symbols and bigints are considered primitives by TS, but aren't natively JSON-serilaizable\n\n if (typeof value === 'symbol') {\n return `[${String(value)}]`;\n }\n\n if (typeof value === 'bigint') {\n return `[BigInt: ${String(value)}]`;\n }\n\n return value;\n}\n\n/**\n * Walks an object to perform a normalization on it\n *\n * @param key of object that's walked in current iteration\n * @param value object to be walked\n * @param depth Optional number indicating how deep should walking be performed\n * @param memo Optional Memo class handling decycling\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function walk(key: string, value: any, depth: number = +Infinity, memo: MemoFunc = memoBuilder()): any {\n // If we reach the maximum depth, serialize whatever is left\n if (depth === 0) {\n return serializeValue(value);\n }\n\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // If value implements `toJSON` method, call it and return early\n if (value !== null && value !== undefined && typeof value.toJSON === 'function') {\n return value.toJSON();\n }\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n // If normalized value is a primitive, there are no branches left to walk, so bail out\n const normalized = normalizeValue(value, key);\n if (isPrimitive(normalized)) {\n return normalized;\n }\n\n // Create source that we will use for the next iteration. It will either be an objectified error object (`Error` type\n // with extracted key:value pairs) or the input itself.\n const source = getWalkSource(value);\n\n // Create an accumulator that will act as a parent for all future itterations of that branch\n const acc = Array.isArray(value) ? [] : {};\n\n // If we already walked that branch, bail out, as it's circular reference\n if (memo[0](value)) {\n return '[Circular ~]';\n }\n\n // Walk all keys of the source\n for (const innerKey in source) {\n // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration.\n if (!Object.prototype.hasOwnProperty.call(source, innerKey)) {\n continue;\n }\n // Recursively walk through all the child nodes\n (acc as { [key: string]: any })[innerKey] = walk(innerKey, source[innerKey], depth - 1, memo);\n }\n\n // Once walked through all the branches, remove the parent from memo storage\n memo[1](value);\n\n // Return accumulated values\n return acc;\n}\n\n/**\n * normalize()\n *\n * - Creates a copy to prevent original input mutation\n * - Skip non-enumerablers\n * - Calls `toJSON` if implemented\n * - Removes circular references\n * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format\n * - Translates known global objects/Classes to a string representations\n * - Takes care of Error objects serialization\n * - Optionally limit depth of final output\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function normalize(input: any, depth?: number): any {\n try {\n return JSON.parse(JSON.stringify(input, (key: string, value: any) => walk(key, value, depth)));\n } catch (_oO) {\n return '**non-serializable**';\n }\n}\n\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function extractExceptionKeysForMessage(exception: any, maxLength: number = 40): string {\n const keys = Object.keys(getWalkSource(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n const serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n\n/**\n * Given any object, return the new object with removed keys that value was `undefined`.\n * Works recursively on objects and arrays.\n */\nexport function dropUndefinedKeys(val: T): T {\n if (isPlainObject(val)) {\n const obj = val as { [key: string]: any };\n const rv: { [key: string]: any } = {};\n for (const key of Object.keys(obj)) {\n if (typeof obj[key] !== 'undefined') {\n rv[key] = dropUndefinedKeys(obj[key]);\n }\n }\n return rv as T;\n }\n\n if (Array.isArray(val)) {\n return (val as any[]).map(dropUndefinedKeys) as any;\n }\n\n return val;\n}\n\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nexport function objectify(wat: unknown): typeof Object {\n let objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new (wat as any).constructor(wat);\n break;\n\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}\n","import { isDebugBuild } from './env';\nimport { getGlobalObject } from './global';\nimport { logger } from './logger';\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsErrorEvent(): boolean {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMError(): boolean {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-ignore It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMException(): boolean {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsFetch(): boolean {\n if (!('fetch' in getGlobalObject())) {\n return false;\n }\n\n try {\n new Headers();\n new Request('');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function isNativeFetch(func: Function): boolean {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\nexport function supportsNativeFetch(): boolean {\n if (!supportsFetch()) {\n return false;\n }\n\n const global = getGlobalObject();\n\n // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n if (isNativeFetch(global.fetch)) {\n return true;\n }\n\n // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n let result = false;\n const doc = global.document;\n // eslint-disable-next-line deprecation/deprecation\n if (doc && typeof (doc.createElement as unknown) === `function`) {\n try {\n const sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n doc.head.removeChild(sandbox);\n } catch (err) {\n if (isDebugBuild()) {\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n }\n\n return result;\n}\n\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReportingObserver(): boolean {\n return 'ReportingObserver' in getGlobalObject();\n}\n\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReferrerPolicy(): boolean {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin' as ReferrerPolicy,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsHistory(): boolean {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n const global = getGlobalObject();\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const chrome = (global as any).chrome;\n const isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n const hasHistoryApi = 'history' in global && !!global.history.pushState && !!global.history.replaceState;\n\n return !isChromePackagedApp && hasHistoryApi;\n}\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { isDebugBuild } from './env';\nimport { getGlobalObject } from './global';\nimport { isInstanceOf, isString } from './is';\nimport { logger } from './logger';\nimport { fill } from './object';\nimport { getFunctionName } from './stacktrace';\nimport { supportsHistory, supportsNativeFetch } from './supports';\n\nconst global = getGlobalObject();\n\ntype InstrumentHandlerType =\n | 'console'\n | 'dom'\n | 'fetch'\n | 'history'\n | 'sentry'\n | 'xhr'\n | 'error'\n | 'unhandledrejection';\ntype InstrumentHandlerCallback = (data: any) => void;\n\n/**\n * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc.\n * - Console API\n * - Fetch API\n * - XHR API\n * - History API\n * - DOM API (click/typing)\n * - Error API\n * - UnhandledRejection API\n */\n\nconst handlers: { [key in InstrumentHandlerType]?: InstrumentHandlerCallback[] } = {};\nconst instrumented: { [key in InstrumentHandlerType]?: boolean } = {};\n\n/** Instruments given API */\nfunction instrument(type: InstrumentHandlerType): void {\n if (instrumented[type]) {\n return;\n }\n\n instrumented[type] = true;\n\n switch (type) {\n case 'console':\n instrumentConsole();\n break;\n case 'dom':\n instrumentDOM();\n break;\n case 'xhr':\n instrumentXHR();\n break;\n case 'fetch':\n instrumentFetch();\n break;\n case 'history':\n instrumentHistory();\n break;\n case 'error':\n instrumentError();\n break;\n case 'unhandledrejection':\n instrumentUnhandledRejection();\n break;\n default:\n logger.warn('unknown instrumentation type:', type);\n }\n}\n\n/**\n * Add handler that will be called when given type of instrumentation triggers.\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nexport function addInstrumentationHandler(type: InstrumentHandlerType, callback: InstrumentHandlerCallback): void {\n handlers[type] = handlers[type] || [];\n (handlers[type] as InstrumentHandlerCallback[]).push(callback);\n instrument(type);\n}\n\n/** JSDoc */\nfunction triggerHandlers(type: InstrumentHandlerType, data: any): void {\n if (!type || !handlers[type]) {\n return;\n }\n\n for (const handler of handlers[type] || []) {\n try {\n handler(data);\n } catch (e) {\n if (isDebugBuild()) {\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(\n handler,\n )}\\nError: ${e}`,\n );\n }\n }\n }\n}\n\n/** JSDoc */\nfunction instrumentConsole(): void {\n if (!('console' in global)) {\n return;\n }\n\n ['debug', 'info', 'warn', 'error', 'log', 'assert'].forEach(function (level: string): void {\n if (!(level in global.console)) {\n return;\n }\n\n fill(global.console, level, function (originalConsoleMethod: () => any): Function {\n return function (...args: any[]): void {\n triggerHandlers('console', { args, level });\n\n // this fails for some browsers. :(\n if (originalConsoleMethod) {\n originalConsoleMethod.apply(global.console, args);\n }\n };\n });\n });\n}\n\n/** JSDoc */\nfunction instrumentFetch(): void {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(global, 'fetch', function (originalFetch: () => void): () => void {\n return function (...args: any[]): void {\n const handlerData = {\n args,\n fetchData: {\n method: getFetchMethod(args),\n url: getFetchUrl(args),\n },\n startTimestamp: Date.now(),\n };\n\n triggerHandlers('fetch', {\n ...handlerData,\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(global, args).then(\n (response: Response) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n response,\n });\n return response;\n },\n (error: Error) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n error,\n });\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n throw error;\n },\n );\n };\n });\n}\n\ntype XHRSendInput = null | Blob | BufferSource | FormData | URLSearchParams | string;\n\n/** JSDoc */\ninterface SentryWrappedXMLHttpRequest extends XMLHttpRequest {\n [key: string]: any;\n __sentry_xhr__?: {\n method?: string;\n url?: string;\n status_code?: number;\n body?: XHRSendInput;\n };\n}\n\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/** Extract `method` from fetch call arguments */\nfunction getFetchMethod(fetchArgs: any[] = []): string {\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) {\n return String(fetchArgs[0].method).toUpperCase();\n }\n if (fetchArgs[1] && fetchArgs[1].method) {\n return String(fetchArgs[1].method).toUpperCase();\n }\n return 'GET';\n}\n\n/** Extract `url` from fetch call arguments */\nfunction getFetchUrl(fetchArgs: any[] = []): string {\n if (typeof fetchArgs[0] === 'string') {\n return fetchArgs[0];\n }\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request)) {\n return fetchArgs[0].url;\n }\n return String(fetchArgs[0]);\n}\n/* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n/** JSDoc */\nfunction instrumentXHR(): void {\n if (!('XMLHttpRequest' in global)) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n fill(xhrproto, 'open', function (originalOpen: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const url = args[1];\n const xhrInfo: SentryWrappedXMLHttpRequest['__sentry_xhr__'] = (xhr.__sentry_xhr__ = {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n method: isString(args[0]) ? args[0].toUpperCase() : args[0],\n url: args[1],\n });\n\n // if Sentry key appears in URL, don't capture it as a request\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) {\n xhr.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler = function (): void {\n if (xhr.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = xhr.status;\n } catch (e) {\n /* do nothing */\n }\n\n triggerHandlers('xhr', {\n args,\n endTimestamp: Date.now(),\n startTimestamp: Date.now(),\n xhr,\n });\n }\n };\n\n if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') {\n fill(xhr, 'onreadystatechange', function (original: WrappedFunction): Function {\n return function (...readyStateArgs: any[]): void {\n onreadystatechangeHandler();\n return original.apply(xhr, readyStateArgs);\n };\n });\n } else {\n xhr.addEventListener('readystatechange', onreadystatechangeHandler);\n }\n\n return originalOpen.apply(xhr, args);\n };\n });\n\n fill(xhrproto, 'send', function (originalSend: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n if (this.__sentry_xhr__ && args[0] !== undefined) {\n this.__sentry_xhr__.body = args[0];\n }\n\n triggerHandlers('xhr', {\n args,\n startTimestamp: Date.now(),\n xhr: this,\n });\n\n return originalSend.apply(this, args);\n };\n });\n}\n\nlet lastHref: string;\n\n/** JSDoc */\nfunction instrumentHistory(): void {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = global.onpopstate;\n global.onpopstate = function (this: WindowEventHandlers, ...args: any[]): any {\n const to = global.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n /** @hidden */\n function historyReplacementFunction(originalHistoryFunction: () => void): () => void {\n return function (this: History, ...args: any[]): void {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(global.history, 'pushState', historyReplacementFunction);\n fill(global.history, 'replaceState', historyReplacementFunction);\n}\n\nconst debounceDuration = 1000;\nlet debounceTimerID: number | undefined;\nlet lastCapturedEvent: Event | undefined;\n\n/**\n * Decide whether the current event should finish the debounce of previously captured one.\n * @param previous previously captured event\n * @param current event to be captured\n */\nfunction shouldShortcircuitPreviousDebounce(previous: Event | undefined, current: Event): boolean {\n // If there was no previous event, it should always be swapped for the new one.\n if (!previous) {\n return true;\n }\n\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (previous.type !== current.type) {\n return true;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (previous.target !== current.target) {\n return true;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return false;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(event: Event): boolean {\n // We are only interested in filtering `keypress` events for now.\n if (event.type !== 'keypress') {\n return false;\n }\n\n try {\n const target = event.target as HTMLElement;\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n * @param handler function that will be triggered\n * @param globalListener indicates whether event was captured by the global event listener\n * @returns wrapped breadcrumb events handler\n * @hidden\n */\nfunction makeDOMEventHandler(handler: Function, globalListener: boolean = false): (event: Event) => void {\n return (event: Event): void => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || lastCapturedEvent === event) {\n return;\n }\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event)) {\n return;\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons.\n if (debounceTimerID === undefined) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = global.setTimeout(() => {\n debounceTimerID = undefined;\n }, debounceDuration);\n };\n}\n\ntype AddEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n) => void;\ntype RemoveEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n) => void;\n\ntype InstrumentedElement = Element & {\n __sentry_instrumentation_handlers__?: {\n [key in 'click' | 'keypress']?: {\n handler?: Function;\n /** The number of custom listeners attached to this element */\n refCount: number;\n };\n };\n};\n\n/** JSDoc */\nfunction instrumentDOM(): void {\n if (!('document' in global)) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n global.document.addEventListener('click', globalDOMEventHandler, false);\n global.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target: string) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = (global as any)[target] && (global as any)[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener: AddEventListener): AddEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): AddEventListener {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount += 1;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener: RemoveEventListener): RemoveEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount -= 1;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\nlet _oldOnErrorHandler: OnErrorEventHandler = null;\n/** JSDoc */\nfunction instrumentError(): void {\n _oldOnErrorHandler = global.onerror;\n\n global.onerror = function (msg: any, url: any, line: any, column: any, error: any): boolean {\n triggerHandlers('error', {\n column,\n error,\n line,\n msg,\n url,\n });\n\n if (_oldOnErrorHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n}\n\nlet _oldOnUnhandledRejectionHandler: ((e: any) => void) | null = null;\n/** JSDoc */\nfunction instrumentUnhandledRejection(): void {\n _oldOnUnhandledRejectionHandler = global.onunhandledrejection;\n\n global.onunhandledrejection = function (e: any): boolean {\n triggerHandlers('unhandledrejection', e);\n\n if (_oldOnUnhandledRejectionHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Event, Exception, Mechanism, StackFrame } from '@sentry/types';\n\nimport { getGlobalObject } from './global';\nimport { addNonEnumerableProperty } from './object';\nimport { snipLine } from './string';\n\n/**\n * Extended Window interface that allows for Crypto API usage in IE browsers\n */\ninterface MsCryptoWindow extends Window {\n msCrypto?: Crypto;\n}\n\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nexport function uuid4(): string {\n const global = getGlobalObject() as MsCryptoWindow;\n const crypto = global.crypto || global.msCrypto;\n\n if (!(crypto === void 0) && crypto.getRandomValues) {\n // Use window.crypto API if available\n const arr = new Uint16Array(8);\n crypto.getRandomValues(arr);\n\n // set 4 in byte 7\n // eslint-disable-next-line no-bitwise\n arr[3] = (arr[3] & 0xfff) | 0x4000;\n // set 2 most significant bits of byte 9 to '10'\n // eslint-disable-next-line no-bitwise\n arr[4] = (arr[4] & 0x3fff) | 0x8000;\n\n const pad = (num: number): string => {\n let v = num.toString(16);\n while (v.length < 4) {\n v = `0${v}`;\n }\n return v;\n };\n\n return (\n pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7])\n );\n }\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, c => {\n // eslint-disable-next-line no-bitwise\n const r = (Math.random() * 16) | 0;\n // eslint-disable-next-line no-bitwise\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n\n/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nexport function parseUrl(url: string): {\n host?: string;\n path?: string;\n protocol?: string;\n relative?: string;\n} {\n if (!url) {\n return {};\n }\n\n const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n }\n\n // coerce to undefined values to empty string so we don't get 'undefined'\n const query = match[6] || '';\n const fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n relative: match[5] + query + fragment, // everything minus origin\n };\n}\n\nfunction getFirstException(event: Event): Exception | undefined {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nexport function getEventDescription(event: Event): string {\n const { message, event_id: eventId } = event;\n if (message) {\n return message;\n }\n\n const firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return `${firstException.type}: ${firstException.value}`;\n }\n return firstException.type || firstException.value || eventId || '';\n }\n return eventId || '';\n}\n\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nexport function addExceptionTypeValue(event: Event, value?: string, type?: string): void {\n const exception = (event.exception = event.exception || {});\n const values = (exception.values = exception.values || []);\n const firstException = (values[0] = values[0] || {});\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nexport function addExceptionMechanism(event: Event, newMechanism?: Partial): void {\n const firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n\n const defaultMechanism = { type: 'generic', handled: true };\n const currentMechanism = firstException.mechanism;\n firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n\n if (newMechanism && 'data' in newMechanism) {\n const mergedData = { ...(currentMechanism && currentMechanism.data), ...newMechanism.data };\n firstException.mechanism.data = mergedData;\n }\n}\n\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nconst SEMVER_REGEXP =\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Represents Semantic Versioning object\n */\ninterface SemVer {\n major?: number;\n minor?: number;\n patch?: number;\n prerelease?: string;\n buildmetadata?: string;\n}\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nexport function parseSemver(input: string): SemVer {\n const match = input.match(SEMVER_REGEXP) || [];\n const major = parseInt(match[1], 10);\n const minor = parseInt(match[2], 10);\n const patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4],\n };\n}\n\nconst defaultRetryAfter = 60 * 1000; // 60 seconds\n\n/**\n * Extracts Retry-After value from the request header or returns default value\n * @param now current unix timestamp\n * @param header string representation of 'Retry-After' header\n */\nexport function parseRetryAfterHeader(now: number, header?: string | number | null): number {\n if (!header) {\n return defaultRetryAfter;\n }\n\n const headerDelay = parseInt(`${header}`, 10);\n if (!isNaN(headerDelay)) {\n return headerDelay * 1000;\n }\n\n const headerDate = Date.parse(`${header}`);\n if (!isNaN(headerDate)) {\n return headerDate - now;\n }\n\n return defaultRetryAfter;\n}\n\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nexport function addContextToFrame(lines: string[], frame: StackFrame, linesOfContext: number = 5): void {\n const lineno = frame.lineno || 0;\n const maxLines = lines.length;\n const sourceLine = Math.max(Math.min(maxLines, lineno - 1), 0);\n\n frame.pre_context = lines\n .slice(Math.max(0, sourceLine - linesOfContext), sourceLine)\n .map((line: string) => snipLine(line, 0));\n\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n\n frame.post_context = lines\n .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext)\n .map((line: string) => snipLine(line, 0));\n}\n\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nexport function stripUrlQueryAndFragment(urlPath: string): string {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nexport function checkOrSetAlreadyCaught(exception: unknown): boolean {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && (exception as any).__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception as { [key: string]: unknown }, '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n","/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/* eslint-disable @typescript-eslint/typedef */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isThenable } from './is';\n\n/** SyncPromise internal states */\nconst enum States {\n /** Pending */\n PENDING = 0,\n /** Resolved / OK */\n RESOLVED = 1,\n /** Rejected / Error */\n REJECTED = 2,\n}\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nexport function resolvedSyncPromise(value: T | PromiseLike): PromiseLike {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nexport function rejectedSyncPromise(reason?: any): PromiseLike {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise implements PromiseLike {\n private _state: States = States.PENDING;\n private _handlers: Array<[boolean, (value: T) => void, (reason: any) => any]> = [];\n private _value: any;\n\n public constructor(\n executor: (resolve: (value?: T | PromiseLike | null) => void, reject: (reason?: any) => void) => void,\n ) {\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n public then(\n onfulfilled?: ((value: T) => TResult1 | PromiseLike) | null,\n onrejected?: ((reason: any) => TResult2 | PromiseLike) | null,\n ): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result as any);\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n public catch(\n onrejected?: ((reason: any) => TResult | PromiseLike) | null,\n ): PromiseLike {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n public finally(onfinally?: (() => void) | null): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n let val: TResult | any;\n let isRejected: boolean;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val as unknown as any);\n });\n });\n }\n\n /** JSDoc */\n private readonly _resolve = (value?: T | PromiseLike | null) => {\n this._setResult(States.RESOLVED, value);\n };\n\n /** JSDoc */\n private readonly _reject = (reason?: any) => {\n this._setResult(States.REJECTED, reason);\n };\n\n /** JSDoc */\n private readonly _setResult = (state: States, value?: T | PromiseLike | any) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value as PromiseLike).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };\n\n /** JSDoc */\n private readonly _executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](this._value as unknown as any);\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };\n}\n\nexport { SyncPromise };\n","import { SentryError } from './error';\nimport { rejectedSyncPromise, resolvedSyncPromise, SyncPromise } from './syncpromise';\n\nexport interface PromiseBuffer {\n // exposes the internal array so tests can assert on the state of it.\n // XXX: this really should not be public api.\n $: Array>;\n add(taskProducer: () => PromiseLike): PromiseLike;\n drain(timeout?: number): PromiseLike;\n}\n\n/**\n * Creates an new PromiseBuffer object with the specified limit\n * @param limit max number of promises that can be stored in the buffer\n */\nexport function makePromiseBuffer(limit?: number): PromiseBuffer {\n const buffer: Array> = [];\n\n function isReady(): boolean {\n return limit === undefined || buffer.length < limit;\n }\n\n /**\n * Remove a promise from the queue.\n *\n * @param task Can be any PromiseLike\n * @returns Removed promise.\n */\n function remove(task: PromiseLike): PromiseLike {\n return buffer.splice(buffer.indexOf(task), 1)[0];\n }\n\n /**\n * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment.\n *\n * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task:\n * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor\n * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By\n * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer\n * limit check.\n * @returns The original promise.\n */\n function add(taskProducer: () => PromiseLike): PromiseLike {\n if (!isReady()) {\n return rejectedSyncPromise(new SentryError('Not adding Promise due to buffer limit reached.'));\n }\n\n // start the task and add its promise to the queue\n const task = taskProducer();\n if (buffer.indexOf(task) === -1) {\n buffer.push(task);\n }\n void task\n .then(() => remove(task))\n // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike`\n // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't\n // have promises, so TS has to polyfill when down-compiling.)\n .then(null, () =>\n remove(task).then(null, () => {\n // We have to add another catch here because `remove()` starts a new promise chain.\n }),\n );\n return task;\n }\n\n /**\n * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or\n * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and\n * `false` otherwise\n */\n function drain(timeout?: number): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n let counter = buffer.length;\n\n if (!counter) {\n return resolve(true);\n }\n\n // wait for `timeout` ms and then resolve to `false` (if not cancelled first)\n const capturedSetTimeout = setTimeout(() => {\n if (timeout && timeout > 0) {\n resolve(false);\n }\n }, timeout);\n\n // if all promises resolve in time, cancel the timer and resolve to `true`\n buffer.forEach(item => {\n void resolvedSyncPromise(item).then(() => {\n // eslint-disable-next-line no-plusplus\n if (!--counter) {\n clearTimeout(capturedSetTimeout);\n resolve(true);\n }\n }, reject);\n });\n });\n }\n\n return {\n $: buffer,\n add,\n drain,\n };\n}\n","import { Severity } from '@sentry/types';\n\nimport { SeverityLevel, SeverityLevels } from './enums';\n\nfunction isSupportedSeverity(level: string): level is Severity {\n return SeverityLevels.indexOf(level as SeverityLevel) !== -1;\n}\n/**\n * Converts a string-based level into a {@link Severity}.\n *\n * @param level string representation of Severity\n * @returns Severity\n */\nexport function severityFromString(level: SeverityLevel | string): Severity {\n if (level === 'warn') return Severity.Warning;\n if (isSupportedSeverity(level)) {\n return level;\n }\n return Severity.Log;\n}\n","import { EventStatus } from '@sentry/types';\n/**\n * Converts an HTTP status code to sentry status {@link EventStatus}.\n *\n * @param code number HTTP status code\n * @returns EventStatus\n */\nexport function eventStatusFromHttpCode(code: number): EventStatus {\n if (code >= 200 && code < 300) {\n return 'success';\n }\n\n if (code === 429) {\n return 'rate_limit';\n }\n\n if (code >= 400 && code < 500) {\n return 'invalid';\n }\n\n if (code >= 500) {\n return 'failed';\n }\n\n return 'unknown';\n}\n","import { getGlobalObject } from './global';\nimport { dynamicRequire, isNodeEnv } from './node';\n\n/**\n * An object that can return the current timestamp in seconds since the UNIX epoch.\n */\ninterface TimestampSource {\n nowSeconds(): number;\n}\n\n/**\n * A TimestampSource implementation for environments that do not support the Performance Web API natively.\n *\n * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier\n * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It\n * is more obvious to explain \"why does my span have negative duration\" than \"why my spans have zero duration\".\n */\nconst dateTimestampSource: TimestampSource = {\n nowSeconds: () => Date.now() / 1000,\n};\n\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\ninterface Performance {\n /**\n * The millisecond timestamp at which measurement began, measured in Unix time.\n */\n timeOrigin: number;\n /**\n * Returns the current millisecond timestamp, where 0 represents the start of measurement.\n */\n now(): number;\n}\n\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction getBrowserPerformance(): Performance | undefined {\n const { performance } = getGlobalObject();\n if (!performance || !performance.now) {\n return undefined;\n }\n\n // Replace performance.timeOrigin with our own timeOrigin based on Date.now().\n //\n // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin +\n // performance.now() gives a date arbitrarily in the past.\n //\n // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is\n // undefined.\n //\n // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to\n // interact with data coming out of performance entries.\n //\n // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that\n // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes\n // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have\n // observed skews that can be as long as days, weeks or months.\n //\n // See https://github.com/getsentry/sentry-javascript/issues/2590.\n //\n // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload\n // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation\n // transactions of long-lived web pages.\n const timeOrigin = Date.now() - performance.now();\n\n return {\n now: () => performance.now(),\n timeOrigin,\n };\n}\n\n/**\n * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't\n * implement the API.\n */\nfunction getNodePerformance(): Performance | undefined {\n try {\n const perfHooks = dynamicRequire(module, 'perf_hooks') as { performance: Performance };\n return perfHooks.performance;\n } catch (_) {\n return undefined;\n }\n}\n\n/**\n * The Performance API implementation for the current platform, if available.\n */\nconst platformPerformance: Performance | undefined = isNodeEnv() ? getNodePerformance() : getBrowserPerformance();\n\nconst timestampSource: TimestampSource =\n platformPerformance === undefined\n ? dateTimestampSource\n : {\n nowSeconds: () => (platformPerformance.timeOrigin + platformPerformance.now()) / 1000,\n };\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n */\nexport const dateTimestampInSeconds: () => number = dateTimestampSource.nowSeconds.bind(dateTimestampSource);\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * See `usingPerformanceAPI` to test whether the Performance API is used.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nexport const timestampInSeconds: () => number = timestampSource.nowSeconds.bind(timestampSource);\n\n// Re-exported with an old name for backwards-compatibility.\nexport const timestampWithMs = timestampInSeconds;\n\n/**\n * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps.\n */\nexport const usingPerformanceAPI = platformPerformance !== undefined;\n\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nexport let _browserPerformanceTimeOriginMode: string;\n\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nexport const browserPerformanceTimeOrigin = ((): number | undefined => {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n\n const { performance } = getGlobalObject();\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n const threshold = 3600 * 1000;\n const performanceNow = performance.now();\n const dateNow = Date.now();\n\n // if timeOrigin isn't available set delta to threshold so it isn't used\n const timeOriginDelta = performance.timeOrigin\n ? Math.abs(performance.timeOrigin + performanceNow - dateNow)\n : threshold;\n const timeOriginIsReliable = timeOriginDelta < threshold;\n\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n const navigationStart = performance.timing && performance.timing.navigationStart;\n const hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n const navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n})();\n","/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n CaptureContext,\n Context,\n Contexts,\n Event,\n EventHint,\n EventProcessor,\n Extra,\n Extras,\n Primitive,\n RequestSession,\n Scope as ScopeInterface,\n ScopeContext,\n Severity,\n Span,\n Transaction,\n User,\n} from '@sentry/types';\nimport { dateTimestampInSeconds, getGlobalObject, isPlainObject, isThenable, SyncPromise } from '@sentry/utils';\n\nimport { Session } from './session';\n\n/**\n * Absolute maximum number of breadcrumbs added to an event.\n * The `maxBreadcrumbs` option cannot be higher than this value.\n */\nconst MAX_BREADCRUMBS = 100;\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nexport class Scope implements ScopeInterface {\n /** Flag if notifying is happening. */\n protected _notifyingListeners: boolean = false;\n\n /** Callback for client to receive scope changes. */\n protected _scopeListeners: Array<(scope: Scope) => void> = [];\n\n /** Callback list that will be called after {@link applyToEvent}. */\n protected _eventProcessors: EventProcessor[] = [];\n\n /** Array of breadcrumbs. */\n protected _breadcrumbs: Breadcrumb[] = [];\n\n /** User */\n protected _user: User = {};\n\n /** Tags */\n protected _tags: { [key: string]: Primitive } = {};\n\n /** Extra */\n protected _extra: Extras = {};\n\n /** Contexts */\n protected _contexts: Contexts = {};\n\n /** Fingerprint */\n protected _fingerprint?: string[];\n\n /** Severity */\n protected _level?: Severity;\n\n /** Transaction Name */\n protected _transactionName?: string;\n\n /** Span */\n protected _span?: Span;\n\n /** Session */\n protected _session?: Session;\n\n /** Request Mode Session Status */\n protected _requestSession?: RequestSession;\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n protected _sdkProcessingMetadata?: { [key: string]: unknown } = {};\n\n /**\n * Inherit values from the parent scope.\n * @param scope to clone.\n */\n public static clone(scope?: Scope): Scope {\n const newScope = new Scope();\n if (scope) {\n newScope._breadcrumbs = [...scope._breadcrumbs];\n newScope._tags = { ...scope._tags };\n newScope._extra = { ...scope._extra };\n newScope._contexts = { ...scope._contexts };\n newScope._user = scope._user;\n newScope._level = scope._level;\n newScope._span = scope._span;\n newScope._session = scope._session;\n newScope._transactionName = scope._transactionName;\n newScope._fingerprint = scope._fingerprint;\n newScope._eventProcessors = [...scope._eventProcessors];\n newScope._requestSession = scope._requestSession;\n }\n return newScope;\n }\n\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n public addScopeListener(callback: (scope: Scope) => void): void {\n this._scopeListeners.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public addEventProcessor(callback: EventProcessor): this {\n this._eventProcessors.push(callback);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): this {\n this._user = user || {};\n if (this._session) {\n this._session.update({ user });\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getUser(): User | undefined {\n return this._user;\n }\n\n /**\n * @inheritDoc\n */\n public getRequestSession(): RequestSession | undefined {\n return this._requestSession;\n }\n\n /**\n * @inheritDoc\n */\n public setRequestSession(requestSession?: RequestSession): this {\n this._requestSession = requestSession;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): this {\n this._tags = {\n ...this._tags,\n ...tags,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this._tags = { ...this._tags, [key]: value };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): this {\n this._extra = {\n ...this._extra,\n ...extras,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): this {\n this._extra = { ...this._extra, [key]: extra };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setFingerprint(fingerprint: string[]): this {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setLevel(level: Severity): this {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTransactionName(name?: string): this {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Can be removed in major version.\n * @deprecated in favor of {@link this.setTransactionName}\n */\n public setTransaction(name?: string): this {\n return this.setTransactionName(name);\n }\n\n /**\n * @inheritDoc\n */\n public setContext(key: string, context: Context | null): this {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts = { ...this._contexts, [key]: context };\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setSpan(span?: Span): this {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSpan(): Span | undefined {\n return this._span;\n }\n\n /**\n * @inheritDoc\n */\n public getTransaction(): Transaction | undefined {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n const span = this.getSpan();\n return span && span.transaction;\n }\n\n /**\n * @inheritDoc\n */\n public setSession(session?: Session): this {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSession(): Session | undefined {\n return this._session;\n }\n\n /**\n * @inheritDoc\n */\n public update(captureContext?: CaptureContext): this {\n if (!captureContext) {\n return this;\n }\n\n if (typeof captureContext === 'function') {\n const updatedScope = (captureContext as (scope: T) => T)(this);\n return updatedScope instanceof Scope ? updatedScope : this;\n }\n\n if (captureContext instanceof Scope) {\n this._tags = { ...this._tags, ...captureContext._tags };\n this._extra = { ...this._extra, ...captureContext._extra };\n this._contexts = { ...this._contexts, ...captureContext._contexts };\n if (captureContext._user && Object.keys(captureContext._user).length) {\n this._user = captureContext._user;\n }\n if (captureContext._level) {\n this._level = captureContext._level;\n }\n if (captureContext._fingerprint) {\n this._fingerprint = captureContext._fingerprint;\n }\n if (captureContext._requestSession) {\n this._requestSession = captureContext._requestSession;\n }\n } else if (isPlainObject(captureContext)) {\n // eslint-disable-next-line no-param-reassign\n captureContext = captureContext as ScopeContext;\n this._tags = { ...this._tags, ...captureContext.tags };\n this._extra = { ...this._extra, ...captureContext.extra };\n this._contexts = { ...this._contexts, ...captureContext.contexts };\n if (captureContext.user) {\n this._user = captureContext.user;\n }\n if (captureContext.level) {\n this._level = captureContext.level;\n }\n if (captureContext.fingerprint) {\n this._fingerprint = captureContext.fingerprint;\n }\n if (captureContext.requestSession) {\n this._requestSession = captureContext.requestSession;\n }\n }\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clear(): this {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this {\n const maxCrumbs = typeof maxBreadcrumbs === 'number' ? Math.min(maxBreadcrumbs, MAX_BREADCRUMBS) : MAX_BREADCRUMBS;\n\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n\n const mergedBreadcrumb = {\n timestamp: dateTimestampInSeconds(),\n ...breadcrumb,\n };\n this._breadcrumbs = [...this._breadcrumbs, mergedBreadcrumb].slice(-maxCrumbs);\n this._notifyScopeListeners();\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clearBreadcrumbs(): this {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Applies the current context and fingerprint to the event.\n * Note that breadcrumbs will be added by the client.\n * Also if the event has already breadcrumbs on it, we do not merge them.\n * @param event Event\n * @param hint May contain additional information about the original exception.\n * @hidden\n */\n public applyToEvent(event: Event, hint?: EventHint): PromiseLike {\n if (this._extra && Object.keys(this._extra).length) {\n event.extra = { ...this._extra, ...event.extra };\n }\n if (this._tags && Object.keys(this._tags).length) {\n event.tags = { ...this._tags, ...event.tags };\n }\n if (this._user && Object.keys(this._user).length) {\n event.user = { ...this._user, ...event.user };\n }\n if (this._contexts && Object.keys(this._contexts).length) {\n event.contexts = { ...this._contexts, ...event.contexts };\n }\n if (this._level) {\n event.level = this._level;\n }\n if (this._transactionName) {\n event.transaction = this._transactionName;\n }\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (this._span) {\n event.contexts = { trace: this._span.getTraceContext(), ...event.contexts };\n const transactionName = this._span.transaction && this._span.transaction.name;\n if (transactionName) {\n event.tags = { transaction: transactionName, ...event.tags };\n }\n }\n\n this._applyFingerprint(event);\n\n event.breadcrumbs = [...(event.breadcrumbs || []), ...this._breadcrumbs];\n event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined;\n\n event.sdkProcessingMetadata = this._sdkProcessingMetadata;\n\n return this._notifyEventProcessors([...getGlobalEventProcessors(), ...this._eventProcessors], event, hint);\n }\n\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n public setSDKProcessingMetadata(newData: { [key: string]: unknown }): this {\n this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };\n\n return this;\n }\n\n /**\n * This will be called after {@link applyToEvent} is finished.\n */\n protected _notifyEventProcessors(\n processors: EventProcessor[],\n event: Event | null,\n hint?: EventHint,\n index: number = 0,\n ): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n const processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n const result = processor({ ...event }, hint) as Event | null;\n if (isThenable(result)) {\n void (result as PromiseLike)\n .then(final => this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve))\n .then(null, reject);\n } else {\n void this._notifyEventProcessors(processors, result, hint, index + 1)\n .then(resolve)\n .then(null, reject);\n }\n }\n });\n }\n\n /**\n * This will be called on every set call.\n */\n protected _notifyScopeListeners(): void {\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(callback => {\n callback(this);\n });\n this._notifyingListeners = false;\n }\n }\n\n /**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\n private _applyFingerprint(event: Event): void {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint\n ? Array.isArray(event.fingerprint)\n ? event.fingerprint\n : [event.fingerprint]\n : [];\n\n // If we have something on the scope, then merge it with event\n if (this._fingerprint) {\n event.fingerprint = event.fingerprint.concat(this._fingerprint);\n }\n\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n }\n}\n\n/**\n * Returns the global event processors.\n */\nfunction getGlobalEventProcessors(): EventProcessor[] {\n /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n const global = getGlobalObject();\n global.__SENTRY__ = global.__SENTRY__ || {};\n global.__SENTRY__.globalEventProcessors = global.__SENTRY__.globalEventProcessors || [];\n return global.__SENTRY__.globalEventProcessors;\n /* eslint-enable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n}\n\n/**\n * Add a EventProcessor to be kept globally.\n * @param callback EventProcessor to add\n */\nexport function addGlobalEventProcessor(callback: EventProcessor): void {\n getGlobalEventProcessors().push(callback);\n}\n","import { Session as SessionInterface, SessionContext, SessionStatus } from '@sentry/types';\nimport { dropUndefinedKeys, timestampInSeconds, uuid4 } from '@sentry/utils';\n\n/**\n * @inheritdoc\n */\nexport class Session implements SessionInterface {\n public userAgent?: string;\n public errors: number = 0;\n public release?: string;\n public sid: string = uuid4();\n public did?: string;\n public timestamp: number;\n public started: number;\n public duration?: number = 0;\n public status: SessionStatus = 'ok';\n public environment?: string;\n public ipAddress?: string;\n public init: boolean = true;\n public ignoreDuration: boolean = false;\n\n public constructor(context?: Omit) {\n // Both timestamp and started are in seconds since the UNIX epoch.\n const startingTime = timestampInSeconds();\n this.timestamp = startingTime;\n this.started = startingTime;\n if (context) {\n this.update(context);\n }\n }\n\n /** JSDoc */\n // eslint-disable-next-line complexity\n public update(context: SessionContext = {}): void {\n if (context.user) {\n if (!this.ipAddress && context.user.ip_address) {\n this.ipAddress = context.user.ip_address;\n }\n\n if (!this.did && !context.did) {\n this.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n this.timestamp = context.timestamp || timestampInSeconds();\n if (context.ignoreDuration) {\n this.ignoreDuration = context.ignoreDuration;\n }\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n this.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n if (context.init !== undefined) {\n this.init = context.init;\n }\n if (!this.did && context.did) {\n this.did = `${context.did}`;\n }\n if (typeof context.started === 'number') {\n this.started = context.started;\n }\n if (this.ignoreDuration) {\n this.duration = undefined;\n } else if (typeof context.duration === 'number') {\n this.duration = context.duration;\n } else {\n const duration = this.timestamp - this.started;\n this.duration = duration >= 0 ? duration : 0;\n }\n if (context.release) {\n this.release = context.release;\n }\n if (context.environment) {\n this.environment = context.environment;\n }\n if (!this.ipAddress && context.ipAddress) {\n this.ipAddress = context.ipAddress;\n }\n if (!this.userAgent && context.userAgent) {\n this.userAgent = context.userAgent;\n }\n if (typeof context.errors === 'number') {\n this.errors = context.errors;\n }\n if (context.status) {\n this.status = context.status;\n }\n }\n\n /** JSDoc */\n public close(status?: Exclude): void {\n if (status) {\n this.update({ status });\n } else if (this.status === 'ok') {\n this.update({ status: 'exited' });\n } else {\n this.update();\n }\n }\n\n /** JSDoc */\n public toJSON(): {\n init: boolean;\n sid: string;\n did?: string;\n timestamp: string;\n started: string;\n duration?: number;\n status: SessionStatus;\n errors: number;\n attrs?: {\n release?: string;\n environment?: string;\n user_agent?: string;\n ip_address?: string;\n };\n } {\n return dropUndefinedKeys({\n sid: `${this.sid}`,\n init: this.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(this.started * 1000).toISOString(),\n timestamp: new Date(this.timestamp * 1000).toISOString(),\n status: this.status,\n errors: this.errors,\n did: typeof this.did === 'number' || typeof this.did === 'string' ? `${this.did}` : undefined,\n duration: this.duration,\n attrs: {\n release: this.release,\n environment: this.environment,\n ip_address: this.ipAddress,\n user_agent: this.userAgent,\n },\n });\n }\n}\n","/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n BreadcrumbHint,\n Client,\n CustomSamplingContext,\n Event,\n EventHint,\n Extra,\n Extras,\n Hub as HubInterface,\n Integration,\n IntegrationClass,\n Primitive,\n SessionContext,\n Severity,\n Span,\n SpanContext,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\nimport { consoleSandbox, dateTimestampInSeconds, getGlobalObject, isNodeEnv, logger, uuid4 } from '@sentry/utils';\n\nimport { Scope } from './scope';\nimport { Session } from './session';\n\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nexport const API_VERSION = 4;\n\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nconst DEFAULT_BREADCRUMBS = 100;\n\n/**\n * A layer in the process stack.\n * @hidden\n */\nexport interface Layer {\n client?: Client;\n scope?: Scope;\n}\n\n/**\n * An object that contains a hub and maintains a scope stack.\n * @hidden\n */\nexport interface Carrier {\n __SENTRY__?: {\n hub?: Hub;\n /**\n * Extra Hub properties injected by various SDKs\n */\n integrations?: Integration[];\n extensions?: {\n /** Hack to prevent bundlers from breaking our usage of the domain package in the cross-platform Hub package */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n domain?: { [key: string]: any };\n } & {\n /** Extension methods for the hub, which are bound to the current Hub instance */\n // eslint-disable-next-line @typescript-eslint/ban-types\n [key: string]: Function;\n };\n };\n}\n\n/**\n * @hidden\n * @deprecated Can be removed once `Hub.getActiveDomain` is removed.\n */\nexport interface DomainAsCarrier extends Carrier {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n members: { [key: string]: any }[];\n}\n\n/**\n * @inheritDoc\n */\nexport class Hub implements HubInterface {\n /** Is a {@link Layer}[] containing the client and scope */\n private readonly _stack: Layer[] = [{}];\n\n /** Contains the last event id of a captured event. */\n private _lastEventId?: string;\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n */\n public constructor(client?: Client, scope: Scope = new Scope(), private readonly _version: number = API_VERSION) {\n this.getStackTop().scope = scope;\n if (client) {\n this.bindClient(client);\n }\n }\n\n /**\n * @inheritDoc\n */\n public isOlderThan(version: number): boolean {\n return this._version < version;\n }\n\n /**\n * @inheritDoc\n */\n public bindClient(client?: Client): void {\n const top = this.getStackTop();\n top.client = client;\n if (client && client.setupIntegrations) {\n client.setupIntegrations();\n }\n }\n\n /**\n * @inheritDoc\n */\n public pushScope(): Scope {\n // We want to clone the content of prev scope\n const scope = Scope.clone(this.getScope());\n this.getStack().push({\n client: this.getClient(),\n scope,\n });\n return scope;\n }\n\n /**\n * @inheritDoc\n */\n public popScope(): boolean {\n if (this.getStack().length <= 1) return false;\n return !!this.getStack().pop();\n }\n\n /**\n * @inheritDoc\n */\n public withScope(callback: (scope: Scope) => void): void {\n const scope = this.pushScope();\n try {\n callback(scope);\n } finally {\n this.popScope();\n }\n }\n\n /**\n * @inheritDoc\n */\n public getClient(): C | undefined {\n return this.getStackTop().client as C;\n }\n\n /** Returns the scope of the top stack. */\n public getScope(): Scope | undefined {\n return this.getStackTop().scope;\n }\n\n /** Returns the scope stack for domains or the process. */\n public getStack(): Layer[] {\n return this._stack;\n }\n\n /** Returns the topmost scope layer in the order domain > local > process. */\n public getStackTop(): Layer {\n return this._stack[this._stack.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint): string {\n const eventId = (this._lastEventId = uuid4());\n let finalHint = hint;\n\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n let syntheticException: Error;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception as Error;\n }\n finalHint = {\n originalException: exception,\n syntheticException,\n };\n }\n\n this._invokeClient('captureException', exception, {\n ...finalHint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(message: string, level?: Severity, hint?: EventHint): string {\n const eventId = (this._lastEventId = uuid4());\n let finalHint = hint;\n\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n let syntheticException: Error;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception as Error;\n }\n finalHint = {\n originalException: message,\n syntheticException,\n };\n }\n\n this._invokeClient('captureMessage', message, level, {\n ...finalHint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint): string {\n const eventId = uuid4();\n if (event.type !== 'transaction') {\n this._lastEventId = eventId;\n }\n\n this._invokeClient('captureEvent', event, {\n ...hint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public lastEventId(): string | undefined {\n return this._lastEventId;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void {\n const { scope, client } = this.getStackTop();\n\n if (!scope || !client) return;\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } =\n (client.getOptions && client.getOptions()) || {};\n\n if (maxBreadcrumbs <= 0) return;\n\n const timestamp = dateTimestampInSeconds();\n const mergedBreadcrumb = { timestamp, ...breadcrumb };\n const finalBreadcrumb = beforeBreadcrumb\n ? (consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) as Breadcrumb | null)\n : mergedBreadcrumb;\n\n if (finalBreadcrumb === null) return;\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): void {\n const scope = this.getScope();\n if (scope) scope.setUser(user);\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): void {\n const scope = this.getScope();\n if (scope) scope.setTags(tags);\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): void {\n const scope = this.getScope();\n if (scope) scope.setExtras(extras);\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): void {\n const scope = this.getScope();\n if (scope) scope.setTag(key, value);\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): void {\n const scope = this.getScope();\n if (scope) scope.setExtra(key, extra);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public setContext(name: string, context: { [key: string]: any } | null): void {\n const scope = this.getScope();\n if (scope) scope.setContext(name, context);\n }\n\n /**\n * @inheritDoc\n */\n public configureScope(callback: (scope: Scope) => void): void {\n const { scope, client } = this.getStackTop();\n if (scope && client) {\n callback(scope);\n }\n }\n\n /**\n * @inheritDoc\n */\n public run(callback: (hub: Hub) => void): void {\n const oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n makeMain(oldHub);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration(integration: IntegrationClass): T | null {\n const client = this.getClient();\n if (!client) return null;\n try {\n return client.getIntegration(integration);\n } catch (_oO) {\n logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSpan(context: SpanContext): Span {\n return this._callExtensionMethod('startSpan', context);\n }\n\n /**\n * @inheritDoc\n */\n public startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction {\n return this._callExtensionMethod('startTransaction', context, customSamplingContext);\n }\n\n /**\n * @inheritDoc\n */\n public traceHeaders(): { [key: string]: string } {\n return this._callExtensionMethod<{ [key: string]: string }>('traceHeaders');\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(endSession: boolean = false): void {\n // both send the update and pull the session from the scope\n if (endSession) {\n return this.endSession();\n }\n\n // only send the update\n this._sendSessionUpdate();\n }\n\n /**\n * @inheritDoc\n */\n public endSession(): void {\n const layer = this.getStackTop();\n const scope = layer && layer.scope;\n const session = scope && scope.getSession();\n if (session) {\n session.close();\n }\n this._sendSessionUpdate();\n\n // the session is over; take it off of the scope\n if (scope) {\n scope.setSession();\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSession(context?: SessionContext): Session {\n const { scope, client } = this.getStackTop();\n const { release, environment } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const global = getGlobalObject<{ navigator?: { userAgent?: string } }>();\n const { userAgent } = global.navigator || {};\n\n const session = new Session({\n release,\n environment,\n ...(scope && { user: scope.getUser() }),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n if (scope) {\n // End existing session if there's one\n const currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n currentSession.update({ status: 'exited' });\n }\n this.endSession();\n\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n }\n\n return session;\n }\n\n /**\n * Sends the current Session on the scope\n */\n private _sendSessionUpdate(): void {\n const { scope, client } = this.getStackTop();\n if (!scope) return;\n\n const session = scope.getSession && scope.getSession();\n if (session) {\n if (client && client.captureSession) {\n client.captureSession(session);\n }\n }\n }\n\n /**\n * Internal helper function to call a method on the top client if it exists.\n *\n * @param method The method to call on the client.\n * @param args Arguments to pass to the client function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _invokeClient(method: M, ...args: any[]): void {\n const { scope, client } = this.getStackTop();\n if (client && client[method]) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n (client as any)[method](...args, scope);\n }\n }\n\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _callExtensionMethod(method: string, ...args: any[]): T {\n const carrier = getMainCarrier();\n const sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);\n }\n}\n\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nexport function getMainCarrier(): Carrier {\n const carrier = getGlobalObject();\n carrier.__SENTRY__ = carrier.__SENTRY__ || {\n extensions: {},\n hub: undefined,\n };\n return carrier;\n}\n\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n */\nexport function makeMain(hub: Hub): Hub {\n const registry = getMainCarrier();\n const oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n */\nexport function getCurrentHub(): Hub {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n\n // If there's no hub, or its an old API, assign a new one\n if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) {\n setHubOnCarrier(registry, new Hub());\n }\n\n // Prefer domains over global if they are there (applicable only to Node environment)\n if (isNodeEnv()) {\n return getHubFromActiveDomain(registry);\n }\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n\n/**\n * Returns the active domain, if one exists\n * @deprecated No longer used; remove in v7\n * @returns The domain, or undefined if there is no active domain\n */\n// eslint-disable-next-line deprecation/deprecation\nexport function getActiveDomain(): DomainAsCarrier | undefined {\n logger.warn('Function `getActiveDomain` is deprecated and will be removed in a future version.');\n\n const sentry = getMainCarrier().__SENTRY__;\n\n return sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n}\n\n/**\n * Try to read the hub from an active domain, and fallback to the registry if one doesn't exist\n * @returns discovered hub\n */\nfunction getHubFromActiveDomain(registry: Carrier): Hub {\n try {\n const sentry = getMainCarrier().__SENTRY__;\n const activeDomain = sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n\n // If there's no active domain, just return global hub\n if (!activeDomain) {\n return getHubFromCarrier(registry);\n }\n\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (!hasHubOnCarrier(activeDomain) || getHubFromCarrier(activeDomain).isOlderThan(API_VERSION)) {\n const registryHubTopStack = getHubFromCarrier(registry).getStackTop();\n setHubOnCarrier(activeDomain, new Hub(registryHubTopStack.client, Scope.clone(registryHubTopStack.scope)));\n }\n\n // Return hub that lives on a domain\n return getHubFromCarrier(activeDomain);\n } catch (_Oo) {\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n }\n}\n\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier: Carrier): boolean {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nexport function getHubFromCarrier(carrier: Carrier): Hub {\n if (carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub) return carrier.__SENTRY__.hub;\n carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n carrier.__SENTRY__.hub = new Hub();\n return carrier.__SENTRY__.hub;\n}\n\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nexport function setHubOnCarrier(carrier: Carrier, hub: Hub): boolean {\n if (!carrier) return false;\n carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n carrier.__SENTRY__.hub = hub;\n return true;\n}\n","import { getCurrentHub, Hub, Scope } from '@sentry/hub';\nimport {\n Breadcrumb,\n CaptureContext,\n CustomSamplingContext,\n Event,\n Extra,\n Extras,\n Primitive,\n Severity,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\n\n/**\n * This calls a function on the current hub.\n * @param method function to call on hub.\n * @param args to pass to function.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction callOnHub(method: string, ...args: any[]): T {\n const hub = getCurrentHub();\n if (hub && hub[method as keyof Hub]) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (hub[method as keyof Hub] as any)(...args);\n }\n throw new Error(`No hub defined or ${method} was not found on the hub, please open a bug report.`);\n}\n\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @returns The generated eventId.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\nexport function captureException(exception: any, captureContext?: CaptureContext): string {\n let syntheticException: Error;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception as Error;\n }\n return callOnHub('captureException', exception, {\n captureContext,\n originalException: exception,\n syntheticException,\n });\n}\n\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param Severity Define the level of the message.\n * @returns The generated eventId.\n */\nexport function captureMessage(message: string, captureContext?: CaptureContext | Severity): string {\n let syntheticException: Error;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception as Error;\n }\n\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n const level = typeof captureContext === 'string' ? captureContext : undefined;\n const context = typeof captureContext !== 'string' ? { captureContext } : undefined;\n\n return callOnHub('captureMessage', message, level, {\n originalException: message,\n syntheticException,\n ...context,\n });\n}\n\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @returns The generated eventId.\n */\nexport function captureEvent(event: Event): string {\n return callOnHub('captureEvent', event);\n}\n\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n */\nexport function configureScope(callback: (scope: Scope) => void): void {\n callOnHub('configureScope', callback);\n}\n\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\nexport function addBreadcrumb(breadcrumb: Breadcrumb): void {\n callOnHub('addBreadcrumb', breadcrumb);\n}\n\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function setContext(name: string, context: { [key: string]: any } | null): void {\n callOnHub('setContext', name, context);\n}\n\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\nexport function setExtras(extras: Extras): void {\n callOnHub('setExtras', extras);\n}\n\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\nexport function setTags(tags: { [key: string]: Primitive }): void {\n callOnHub('setTags', tags);\n}\n\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\nexport function setExtra(key: string, extra: Extra): void {\n callOnHub('setExtra', key, extra);\n}\n\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\nexport function setTag(key: string, value: Primitive): void {\n callOnHub('setTag', key, value);\n}\n\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\nexport function setUser(user: User | null): void {\n callOnHub('setUser', user);\n}\n\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n *\n * @param callback that will be enclosed into push/popScope.\n */\nexport function withScope(callback: (scope: Scope) => void): void {\n callOnHub('withScope', callback);\n}\n\n/**\n * Calls a function on the latest client. Use this with caution, it's meant as\n * in \"internal\" helper so we don't need to expose every possible function in\n * the shim. It is not guaranteed that the client actually implements the\n * function.\n *\n * @param method The method to call on the client/client.\n * @param args Arguments to pass to the client/fontend.\n * @hidden\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function _callOnClient(method: string, ...args: any[]): void {\n callOnHub('_invokeClient', method, ...args);\n}\n\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n */\nexport function startTransaction(\n context: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n return callOnHub('startTransaction', { ...context }, customSamplingContext);\n}\n","import { DsnComponents, DsnLike, SdkMetadata } from '@sentry/types';\nimport { dsnToString, makeDsn, urlEncode } from '@sentry/utils';\n\nconst SENTRY_API_VERSION = '7';\n\n/**\n * Stores details about a Sentry SDK\n */\nexport interface APIDetails {\n /** The DSN as passed to Sentry.init() */\n initDsn: DsnLike;\n /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */\n metadata: SdkMetadata;\n /** The internally used Dsn object. */\n readonly dsn: DsnComponents;\n /** The envelope tunnel to use. */\n readonly tunnel?: string;\n}\n\n/**\n * Helper class to provide urls, headers and metadata that can be used to form\n * different types of requests to Sentry endpoints.\n * Supports both envelopes and regular event requests.\n *\n * @deprecated Please use APIDetails\n **/\nexport class API {\n /** The DSN as passed to Sentry.init() */\n public dsn: DsnLike;\n\n /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */\n public metadata: SdkMetadata;\n\n /** The internally used Dsn object. */\n private readonly _dsnObject: DsnComponents;\n\n /** The envelope tunnel to use. */\n private readonly _tunnel?: string;\n\n /** Create a new instance of API */\n public constructor(dsn: DsnLike, metadata: SdkMetadata = {}, tunnel?: string) {\n this.dsn = dsn;\n this._dsnObject = makeDsn(dsn);\n this.metadata = metadata;\n this._tunnel = tunnel;\n }\n\n /** Returns the Dsn object. */\n public getDsn(): DsnComponents {\n return this._dsnObject;\n }\n\n /** Does this transport force envelopes? */\n public forceEnvelope(): boolean {\n return !!this._tunnel;\n }\n\n /** Returns the prefix to construct Sentry ingestion API endpoints. */\n public getBaseApiEndpoint(): string {\n return getBaseApiEndpoint(this._dsnObject);\n }\n\n /** Returns the store endpoint URL. */\n public getStoreEndpoint(): string {\n return getStoreEndpoint(this._dsnObject);\n }\n\n /**\n * Returns the store endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n public getStoreEndpointWithUrlEncodedAuth(): string {\n return getStoreEndpointWithUrlEncodedAuth(this._dsnObject);\n }\n\n /**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n public getEnvelopeEndpointWithUrlEncodedAuth(): string {\n return getEnvelopeEndpointWithUrlEncodedAuth(this._dsnObject, this._tunnel);\n }\n}\n\n/** Initializes API Details */\nexport function initAPIDetails(dsn: DsnLike, metadata?: SdkMetadata, tunnel?: string): APIDetails {\n return {\n initDsn: dsn,\n metadata: metadata || {},\n dsn: makeDsn(dsn),\n tunnel,\n } as APIDetails;\n}\n\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\nfunction getBaseApiEndpoint(dsn: DsnComponents): string {\n const protocol = dsn.protocol ? `${dsn.protocol}:` : '';\n const port = dsn.port ? `:${dsn.port}` : '';\n return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : ''}/api/`;\n}\n\n/** Returns the ingest API endpoint for target. */\nfunction _getIngestEndpoint(dsn: DsnComponents, target: 'store' | 'envelope'): string {\n return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/${target}/`;\n}\n\n/** Returns a URL-encoded string with auth config suitable for a query string. */\nfunction _encodedAuth(dsn: DsnComponents): string {\n return urlEncode({\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n sentry_key: dsn.publicKey,\n sentry_version: SENTRY_API_VERSION,\n });\n}\n\n/** Returns the store endpoint URL. */\nfunction getStoreEndpoint(dsn: DsnComponents): string {\n return _getIngestEndpoint(dsn, 'store');\n}\n\n/**\n * Returns the store endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getStoreEndpointWithUrlEncodedAuth(dsn: DsnComponents): string {\n return `${getStoreEndpoint(dsn)}?${_encodedAuth(dsn)}`;\n}\n\n/** Returns the envelope endpoint URL. */\nfunction _getEnvelopeEndpoint(dsn: DsnComponents): string {\n return _getIngestEndpoint(dsn, 'envelope');\n}\n\n/**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string): string {\n return tunnel ? tunnel : `${_getEnvelopeEndpoint(dsn)}?${_encodedAuth(dsn)}`;\n}\n\n/**\n * Returns an object that can be used in request headers.\n * This is needed for node and the old /store endpoint in sentry\n */\nexport function getRequestHeaders(\n dsn: DsnComponents,\n clientName: string,\n clientVersion: string,\n): { [key: string]: string } {\n // CHANGE THIS to use metadata but keep clientName and clientVersion compatible\n const header = [`Sentry sentry_version=${SENTRY_API_VERSION}`];\n header.push(`sentry_client=${clientName}/${clientVersion}`);\n header.push(`sentry_key=${dsn.publicKey}`);\n if (dsn.pass) {\n header.push(`sentry_secret=${dsn.pass}`);\n }\n return {\n 'Content-Type': 'application/json',\n 'X-Sentry-Auth': header.join(', '),\n };\n}\n\n/** Returns the url to the report dialog endpoint. */\nexport function getReportDialogEndpoint(\n dsnLike: DsnLike,\n dialogOptions: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n user?: { name?: string; email?: string };\n },\n): string {\n const dsn = makeDsn(dsnLike);\n const endpoint = `${getBaseApiEndpoint(dsn)}embed/error-page/`;\n\n let encodedOptions = `dsn=${dsnToString(dsn)}`;\n for (const key in dialogOptions) {\n if (key === 'dsn') {\n continue;\n }\n\n if (key === 'user') {\n if (!dialogOptions.user) {\n continue;\n }\n if (dialogOptions.user.name) {\n encodedOptions += `&name=${encodeURIComponent(dialogOptions.user.name)}`;\n }\n if (dialogOptions.user.email) {\n encodedOptions += `&email=${encodeURIComponent(dialogOptions.user.email)}`;\n }\n } else {\n encodedOptions += `&${encodeURIComponent(key)}=${encodeURIComponent(dialogOptions[key] as string)}`;\n }\n }\n\n return `${endpoint}?${encodedOptions}`;\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { Integration, Options } from '@sentry/types';\nimport { addNonEnumerableProperty, logger } from '@sentry/utils';\n\nexport const installedIntegrations: string[] = [];\n\n/** Map of integrations assigned to a client */\nexport type IntegrationIndex = {\n [key: string]: Integration;\n} & { initialized?: boolean };\n\n/**\n * @private\n */\nfunction filterDuplicates(integrations: Integration[]): Integration[] {\n return integrations.reduce((acc, integrations) => {\n if (acc.every(accIntegration => integrations.name !== accIntegration.name)) {\n acc.push(integrations);\n }\n return acc;\n }, [] as Integration[]);\n}\n\n/** Gets integration to install */\nexport function getIntegrationsToSetup(options: Options): Integration[] {\n const defaultIntegrations = (options.defaultIntegrations && [...options.defaultIntegrations]) || [];\n const userIntegrations = options.integrations;\n\n let integrations: Integration[] = [...filterDuplicates(defaultIntegrations)];\n\n if (Array.isArray(userIntegrations)) {\n // Filter out integrations that are also included in user options\n integrations = [\n ...integrations.filter(integrations =>\n userIntegrations.every(userIntegration => userIntegration.name !== integrations.name),\n ),\n // And filter out duplicated user options integrations\n ...filterDuplicates(userIntegrations),\n ];\n } else if (typeof userIntegrations === 'function') {\n integrations = userIntegrations(integrations);\n integrations = Array.isArray(integrations) ? integrations : [integrations];\n }\n\n // Make sure that if present, `Debug` integration will always run last\n const integrationsNames = integrations.map(i => i.name);\n const alwaysLastToRun = 'Debug';\n if (integrationsNames.indexOf(alwaysLastToRun) !== -1) {\n integrations.push(...integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1));\n }\n\n return integrations;\n}\n\n/** Setup given integration */\nexport function setupIntegration(integration: Integration): void {\n if (installedIntegrations.indexOf(integration.name) !== -1) {\n return;\n }\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n logger.log(`Integration installed: ${integration.name}`);\n}\n\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\nexport function setupIntegrations(options: O): IntegrationIndex {\n const integrations: IntegrationIndex = {};\n getIntegrationsToSetup(options).forEach(integration => {\n integrations[integration.name] = integration;\n setupIntegration(integration);\n });\n // set the `initialized` flag so we don't run through the process again unecessarily; use `Object.defineProperty`\n // because by default it creates a property which is nonenumerable, which we want since `initialized` shouldn't be\n // considered a member of the index the way the actual integrations are\n addNonEnumerableProperty(integrations, 'initialized', true);\n return integrations;\n}\n","/* eslint-disable max-lines */\nimport { Scope, Session } from '@sentry/hub';\nimport {\n Client,\n DsnComponents,\n Event,\n EventHint,\n Integration,\n IntegrationClass,\n Options,\n Severity,\n Transport,\n} from '@sentry/types';\nimport {\n checkOrSetAlreadyCaught,\n dateTimestampInSeconds,\n isDebugBuild,\n isPlainObject,\n isPrimitive,\n isThenable,\n logger,\n makeDsn,\n normalize,\n rejectedSyncPromise,\n resolvedSyncPromise,\n SentryError,\n SyncPromise,\n truncate,\n uuid4,\n} from '@sentry/utils';\n\nimport { Backend, BackendClass } from './basebackend';\nimport { IntegrationIndex, setupIntegrations } from './integration';\n\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\n\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding backend constructor and options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}. Also, the Backend instance is available via\n * {@link Client.getBackend}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event via the backend, it is passed through\n * {@link BaseClient._prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient {\n * public constructor(options: NodeOptions) {\n * super(NodeBackend, options);\n * }\n *\n * // ...\n * }\n */\nexport abstract class BaseClient implements Client {\n /**\n * The backend used to physically interact in the environment. Usually, this\n * will correspond to the client. When composing SDKs, however, the Backend\n * from the root SDK will be used.\n */\n protected readonly _backend: B;\n\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n protected readonly _dsn?: DsnComponents;\n\n /** Array of used integrations. */\n protected _integrations: IntegrationIndex = {};\n\n /** Number of calls being processed */\n protected _numProcessing: number = 0;\n\n /**\n * Initializes this client instance.\n *\n * @param backendClass A constructor function to create the backend.\n * @param options Options for the client.\n */\n protected constructor(backendClass: BackendClass, options: O) {\n this._backend = new backendClass(options);\n this._options = options;\n\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n }\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._getBackend()\n .eventFromException(exception, hint)\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined {\n let eventId: string | undefined = hint && hint.event_id;\n\n const promisedEvent = isPrimitive(message)\n ? this._getBackend().eventFromMessage(String(message), level, hint)\n : this._getBackend().eventFromException(message, hint);\n\n this._process(\n promisedEvent\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {\n logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._captureEvent(event, hint, scope).then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(session: Session): void {\n if (!this._isEnabled()) {\n if (isDebugBuild()) {\n logger.warn('SDK not enabled, will not capture session.');\n }\n return;\n }\n\n if (!(typeof session.release === 'string')) {\n if (isDebugBuild()) {\n logger.warn('Discarded session because of missing or non-string release');\n }\n } else {\n this._sendSession(session);\n // After sending, we set init false to indicate it's not the first occurrence\n session.update({ init: false });\n }\n }\n\n /**\n * @inheritDoc\n */\n public getDsn(): DsnComponents | undefined {\n return this._dsn;\n }\n\n /**\n * @inheritDoc\n */\n public getOptions(): O {\n return this._options;\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport {\n return this._getBackend().getTransport();\n }\n\n /**\n * @inheritDoc\n */\n public flush(timeout?: number): PromiseLike {\n return this._isClientDoneProcessing(timeout).then(clientFinished => {\n return this.getTransport()\n .close(timeout)\n .then(transportFlushed => clientFinished && transportFlushed);\n });\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike {\n return this.flush(timeout).then(result => {\n this.getOptions().enabled = false;\n return result;\n });\n }\n\n /**\n * Sets up the integrations\n */\n public setupIntegrations(): void {\n if (this._isEnabled() && !this._integrations.initialized) {\n this._integrations = setupIntegrations(this._options);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration(integration: IntegrationClass): T | null {\n try {\n return (this._integrations[integration.id] as T) || null;\n } catch (_oO) {\n logger.warn(`Cannot retrieve integration ${integration.id} from the current Client`);\n return null;\n }\n }\n\n /** Updates existing session based on the provided event */\n protected _updateSessionFromEvent(session: Session, event: Event): void {\n let crashed = false;\n let errored = false;\n const exceptions = event.exception && event.exception.values;\n\n if (exceptions) {\n errored = true;\n\n for (const ex of exceptions) {\n const mechanism = ex.mechanism;\n if (mechanism && mechanism.handled === false) {\n crashed = true;\n break;\n }\n }\n }\n\n // A session is updated and that session update is sent in only one of the two following scenarios:\n // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update\n // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update\n const sessionNonTerminal = session.status === 'ok';\n const shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed);\n\n if (shouldUpdateAndSend) {\n session.update({\n ...(crashed && { status: 'crashed' }),\n errors: session.errors || Number(errored || crashed),\n });\n this.captureSession(session);\n }\n }\n\n /** Deliver captured session to Sentry */\n protected _sendSession(session: Session): void {\n this._getBackend().sendSession(session);\n }\n\n /**\n * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n * `false` otherwise\n */\n protected _isClientDoneProcessing(timeout?: number): PromiseLike {\n return new SyncPromise(resolve => {\n let ticked: number = 0;\n const tick: number = 1;\n\n const interval = setInterval(() => {\n if (this._numProcessing == 0) {\n clearInterval(interval);\n resolve(true);\n } else {\n ticked += tick;\n if (timeout && ticked >= timeout) {\n clearInterval(interval);\n resolve(false);\n }\n }\n }, tick);\n });\n }\n\n /** Returns the current backend. */\n protected _getBackend(): B {\n return this._backend;\n }\n\n /** Determines whether this SDK is enabled and a valid Dsn is present. */\n protected _isEnabled(): boolean {\n return this.getOptions().enabled !== false && this._dsn !== undefined;\n }\n\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike {\n const { normalizeDepth = 3 } = this.getOptions();\n const prepared: Event = {\n ...event,\n event_id: event.event_id || (hint && hint.event_id ? hint.event_id : uuid4()),\n timestamp: event.timestamp || dateTimestampInSeconds(),\n };\n\n this._applyClientOptions(prepared);\n this._applyIntegrationsMetadata(prepared);\n\n // If we have scope given to us, use it as the base for further modifications.\n // This allows us to prevent unnecessary copying of data if `captureContext` is not provided.\n let finalScope = scope;\n if (hint && hint.captureContext) {\n finalScope = Scope.clone(finalScope).update(hint.captureContext);\n }\n\n // We prepare the result here with a resolved Event.\n let result = resolvedSyncPromise(prepared);\n\n // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n if (finalScope) {\n // In case we have a hub we reassign it.\n result = finalScope.applyToEvent(prepared, hint);\n }\n\n return result.then(evt => {\n if (evt) {\n // TODO this is more of the hack trying to solve https://github.com/getsentry/sentry-javascript/issues/2809\n // it is only attached as extra data to the event if the event somehow skips being normalized\n evt.sdkProcessingMetadata = { ...evt.sdkProcessingMetadata, normalizeDepth: normalize(normalizeDepth) };\n }\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return this._normalizeEvent(evt, normalizeDepth);\n }\n return evt;\n });\n }\n\n /**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\n protected _normalizeEvent(event: Event | null, depth: number): Event | null {\n if (!event) {\n return null;\n }\n\n const normalized = {\n ...event,\n ...(event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(b => ({\n ...b,\n ...(b.data && {\n data: normalize(b.data, depth),\n }),\n })),\n }),\n ...(event.user && {\n user: normalize(event.user, depth),\n }),\n ...(event.contexts && {\n contexts: normalize(event.contexts, depth),\n }),\n ...(event.extra && {\n extra: normalize(event.extra, depth),\n }),\n };\n // event.contexts.trace stores information about a Transaction. Similarly,\n // event.spans[] stores information about child Spans. Given that a\n // Transaction is conceptually a Span, normalization should apply to both\n // Transactions and Spans consistently.\n // For now the decision is to skip normalization of Transactions and Spans,\n // so this block overwrites the normalized event to add back the original\n // Transaction information prior to normalization.\n if (event.contexts && event.contexts.trace) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n normalized.contexts.trace = event.contexts.trace;\n }\n\n event.sdkProcessingMetadata = { ...event.sdkProcessingMetadata, baseClientNormalized: true };\n\n return normalized;\n }\n\n /**\n * Enhances event using the client configuration.\n * It takes care of all \"static\" values like environment, release and `dist`,\n * as well as truncating overly long values.\n * @param event event instance to be enhanced\n */\n protected _applyClientOptions(event: Event): void {\n const options = this.getOptions();\n const { environment, release, dist, maxValueLength = 250 } = options;\n\n if (!('environment' in event)) {\n event.environment = 'environment' in options ? environment : 'production';\n }\n\n if (event.release === undefined && release !== undefined) {\n event.release = release;\n }\n\n if (event.dist === undefined && dist !== undefined) {\n event.dist = dist;\n }\n\n if (event.message) {\n event.message = truncate(event.message, maxValueLength);\n }\n\n const exception = event.exception && event.exception.values && event.exception.values[0];\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n const request = event.request;\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n }\n\n /**\n * This function adds all used integrations to the SDK info in the event.\n * @param event The event that will be filled with all integrations.\n */\n protected _applyIntegrationsMetadata(event: Event): void {\n const integrationsArray = Object.keys(this._integrations);\n if (integrationsArray.length > 0) {\n event.sdk = event.sdk || {};\n event.sdk.integrations = [...(event.sdk.integrations || []), ...integrationsArray];\n }\n }\n\n /**\n * Tells the backend to send this event\n * @param event The Sentry event to send\n */\n protected _sendEvent(event: Event): void {\n this._getBackend().sendEvent(event);\n }\n\n /**\n * Processes the event and logs an error in case of rejection\n * @param event\n * @param hint\n * @param scope\n */\n protected _captureEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike {\n return this._processEvent(event, hint, scope).then(\n finalEvent => {\n return finalEvent.event_id;\n },\n reason => {\n logger.error(reason);\n return undefined;\n },\n );\n }\n\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n protected _processEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeSend, sampleRate } = this.getOptions();\n const transport = this.getTransport();\n\n type RecordLostEvent = NonNullable;\n type RecordLostEventParams = Parameters;\n\n function recordLostEvent(outcome: RecordLostEventParams[0], category: RecordLostEventParams[1]): void {\n if (transport.recordLostEvent) {\n transport.recordLostEvent(outcome, category);\n }\n }\n\n if (!this._isEnabled()) {\n return rejectedSyncPromise(new SentryError('SDK not enabled, will not capture event.'));\n }\n\n const isTransaction = event.type === 'transaction';\n // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n // Sampling for transaction happens somewhere else\n if (!isTransaction && typeof sampleRate === 'number' && Math.random() > sampleRate) {\n recordLostEvent('sample_rate', 'event');\n return rejectedSyncPromise(\n new SentryError(\n `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`,\n ),\n );\n }\n\n return this._prepareEvent(event, scope, hint)\n .then(prepared => {\n if (prepared === null) {\n recordLostEvent('event_processor', event.type || 'event');\n throw new SentryError('An event processor returned null, will not send event.');\n }\n\n const isInternalException = hint && hint.data && (hint.data as { __sentry__: boolean }).__sentry__ === true;\n if (isInternalException || isTransaction || !beforeSend) {\n return prepared;\n }\n\n const beforeSendResult = beforeSend(prepared, hint);\n return _ensureBeforeSendRv(beforeSendResult);\n })\n .then(processedEvent => {\n if (processedEvent === null) {\n recordLostEvent('before_send', event.type || 'event');\n throw new SentryError('`beforeSend` returned `null`, will not send event.');\n }\n\n const session = scope && scope.getSession && scope.getSession();\n if (!isTransaction && session) {\n this._updateSessionFromEvent(session, processedEvent);\n }\n\n this._sendEvent(processedEvent);\n return processedEvent;\n })\n .then(null, reason => {\n if (reason instanceof SentryError) {\n throw reason;\n }\n\n this.captureException(reason, {\n data: {\n __sentry__: true,\n },\n originalException: reason as Error,\n });\n throw new SentryError(\n `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: ${reason}`,\n );\n });\n }\n\n /**\n * Occupies the client with processing and event\n */\n protected _process(promise: PromiseLike): void {\n this._numProcessing += 1;\n void promise.then(\n value => {\n this._numProcessing -= 1;\n return value;\n },\n reason => {\n this._numProcessing -= 1;\n return reason;\n },\n );\n }\n}\n\n/**\n * Verifies that return value of configured `beforeSend` is of expected type.\n */\nfunction _ensureBeforeSendRv(rv: PromiseLike | Event | null): PromiseLike | Event | null {\n const nullErr = '`beforeSend` method has to return `null` or a valid event.';\n if (isThenable(rv)) {\n return rv.then(\n event => {\n if (!(isPlainObject(event) || event === null)) {\n throw new SentryError(nullErr);\n }\n return event;\n },\n e => {\n throw new SentryError(`beforeSend rejected with ${e}`);\n },\n );\n } else if (!(isPlainObject(rv) || rv === null)) {\n throw new SentryError(nullErr);\n }\n return rv;\n}\n","import { Event, Response, Transport } from '@sentry/types';\nimport { resolvedSyncPromise } from '@sentry/utils';\n\n/** Noop transport */\nexport class NoopTransport implements Transport {\n /**\n * @inheritDoc\n */\n public sendEvent(_: Event): PromiseLike {\n return resolvedSyncPromise({\n reason: `NoopTransport: Event has been skipped because no Dsn is configured.`,\n status: 'skipped',\n });\n }\n\n /**\n * @inheritDoc\n */\n public close(_?: number): PromiseLike {\n return resolvedSyncPromise(true);\n }\n}\n","import { Event, EventHint, Options, Session, Severity, Transport } from '@sentry/types';\nimport { isDebugBuild, logger, SentryError } from '@sentry/utils';\n\nimport { NoopTransport } from './transports/noop';\n\n/**\n * Internal platform-dependent Sentry SDK Backend.\n *\n * While {@link Client} contains business logic specific to an SDK, the\n * Backend offers platform specific implementations for low-level operations.\n * These are persisting and loading information, sending events, and hooking\n * into the environment.\n *\n * Backends receive a handle to the Client in their constructor. When a\n * Backend automatically generates events, it must pass them to\n * the Client for validation and processing first.\n *\n * Usually, the Client will be of corresponding type, e.g. NodeBackend\n * receives NodeClient. However, higher-level SDKs can choose to instantiate\n * multiple Backends and delegate tasks between them. In this case, an event\n * generated by one backend might very well be sent by another one.\n *\n * The client also provides access to options via {@link Client.getOptions}.\n * @hidden\n */\nexport interface Backend {\n /** Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n eventFromException(exception: any, hint?: EventHint): PromiseLike;\n\n /** Creates an {@link Event} from primitive inputs to `captureMessage`. */\n eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike;\n\n /** Submits the event to Sentry */\n sendEvent(event: Event): void;\n\n /** Submits the session to Sentry */\n sendSession(session: Session): void;\n\n /**\n * Returns the transport that is used by the backend.\n * Please note that the transport gets lazy initialized so it will only be there once the first event has been sent.\n *\n * @returns The transport.\n */\n getTransport(): Transport;\n}\n\n/**\n * A class object that can instantiate Backend objects.\n * @hidden\n */\nexport type BackendClass = new (options: O) => B;\n\n/**\n * This is the base implemention of a Backend.\n * @hidden\n */\nexport abstract class BaseBackend implements Backend {\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** Cached transport used internally. */\n protected _transport: Transport;\n\n /** Creates a new backend instance. */\n public constructor(options: O) {\n this._options = options;\n if (!this._options.dsn) {\n logger.warn('No DSN provided, backend will not do anything.');\n }\n this._transport = this._setupTransport();\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public eventFromException(_exception: any, _hint?: EventHint): PromiseLike {\n throw new SentryError('Backend has to implement `eventFromException` method');\n }\n\n /**\n * @inheritDoc\n */\n public eventFromMessage(_message: string, _level?: Severity, _hint?: EventHint): PromiseLike {\n throw new SentryError('Backend has to implement `eventFromMessage` method');\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): void {\n void this._transport.sendEvent(event).then(null, reason => {\n if (isDebugBuild()) {\n logger.error(`Error while sending event: ${reason}`);\n }\n });\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session): void {\n if (!this._transport.sendSession) {\n if (isDebugBuild()) {\n logger.warn(\"Dropping session because custom transport doesn't implement sendSession\");\n }\n return;\n }\n\n void this._transport.sendSession(session).then(null, reason => {\n if (isDebugBuild()) {\n logger.error(`Error while sending session: ${reason}`);\n }\n });\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport {\n return this._transport;\n }\n\n /**\n * Sets up the transport so it can be used later to send requests.\n */\n protected _setupTransport(): Transport {\n return new NoopTransport();\n }\n}\n","import { Event, SdkInfo, SentryRequest, SentryRequestType, Session, SessionAggregates } from '@sentry/types';\nimport { dsnToString, normalize } from '@sentry/utils';\n\nimport { APIDetails, getEnvelopeEndpointWithUrlEncodedAuth, getStoreEndpointWithUrlEncodedAuth } from './api';\n\n/** Extract sdk info from from the API metadata */\nfunction getSdkMetadataForEnvelopeHeader(api: APIDetails): SdkInfo | undefined {\n if (!api.metadata || !api.metadata.sdk) {\n return;\n }\n const { name, version } = api.metadata.sdk;\n return { name, version };\n}\n\n/**\n * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key.\n * Merge with existing data if any.\n **/\nfunction enhanceEventWithSdkInfo(event: Event, sdkInfo?: SdkInfo): Event {\n if (!sdkInfo) {\n return event;\n }\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || sdkInfo.name;\n event.sdk.version = event.sdk.version || sdkInfo.version;\n event.sdk.integrations = [...(event.sdk.integrations || []), ...(sdkInfo.integrations || [])];\n event.sdk.packages = [...(event.sdk.packages || []), ...(sdkInfo.packages || [])];\n return event;\n}\n\n/** Creates a SentryRequest from a Session. */\nexport function sessionToSentryRequest(session: Session | SessionAggregates, api: APIDetails): SentryRequest {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(api);\n const envelopeHeaders = JSON.stringify({\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!api.tunnel && { dsn: dsnToString(api.dsn) }),\n });\n // I know this is hacky but we don't want to add `session` to request type since it's never rate limited\n const type: SentryRequestType = 'aggregates' in session ? ('sessions' as SentryRequestType) : 'session';\n const itemHeaders = JSON.stringify({\n type,\n });\n\n return {\n body: `${envelopeHeaders}\\n${itemHeaders}\\n${JSON.stringify(session)}`,\n type,\n url: getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel),\n };\n}\n\n/** Creates a SentryRequest from an event. */\nexport function eventToSentryRequest(event: Event, api: APIDetails): SentryRequest {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(api);\n const eventType = event.type || 'event';\n const useEnvelope = eventType === 'transaction' || !!api.tunnel;\n\n const { transactionSampling } = event.sdkProcessingMetadata || {};\n const { method: samplingMethod, rate: sampleRate } = transactionSampling || {};\n\n // TODO: Below is a temporary hack in order to debug a serialization error - see\n // https://github.com/getsentry/sentry-javascript/issues/2809,\n // https://github.com/getsentry/sentry-javascript/pull/4425, and\n // https://github.com/getsentry/sentry-javascript/pull/4574.\n //\n // TL; DR: even though we normalize all events (which should prevent this), something is causing `JSON.stringify` to\n // throw a circular reference error.\n //\n // When it's time to remove it:\n // 1. Delete everything between here and where the request object `req` is created, EXCEPT the line deleting\n // `sdkProcessingMetadata`\n // 2. Restore the original version of the request body, which is commented out\n // 3. Search for either of the PR URLs above and pull out the companion hacks in the browser playwright tests and the\n // baseClient tests in this package\n enhanceEventWithSdkInfo(event, api.metadata.sdk);\n event.tags = event.tags || {};\n event.extra = event.extra || {};\n\n // In theory, all events should be marked as having gone through normalization and so\n // we should never set this tag/extra data\n if (!(event.sdkProcessingMetadata && event.sdkProcessingMetadata.baseClientNormalized)) {\n event.tags.skippedNormalization = true;\n event.extra.normalizeDepth = event.sdkProcessingMetadata ? event.sdkProcessingMetadata.normalizeDepth : 'unset';\n }\n\n // prevent this data from being sent to sentry\n // TODO: This is NOT part of the hack - DO NOT DELETE\n delete event.sdkProcessingMetadata;\n\n let body;\n try {\n // 99.9% of events should get through just fine - no change in behavior for them\n body = JSON.stringify(event);\n } catch (err) {\n // Record data about the error without replacing original event data, then force renormalization\n event.tags.JSONStringifyError = true;\n event.extra.JSONStringifyError = err;\n try {\n body = JSON.stringify(normalize(event));\n } catch (newErr) {\n // At this point even renormalization hasn't worked, meaning something about the event data has gone very wrong.\n // Time to cut our losses and record only the new error. With luck, even in the problematic cases we're trying to\n // debug with this hack, we won't ever land here.\n const innerErr = newErr as Error;\n body = JSON.stringify({\n message: 'JSON.stringify error after renormalization',\n // setting `extra: { innerErr }` here for some reason results in an empty object, so unpack manually\n extra: { message: innerErr.message, stack: innerErr.stack },\n });\n }\n }\n\n const req: SentryRequest = {\n // this is the relevant line of code before the hack was added, to make it easy to undo said hack once we've solved\n // the mystery\n // body: JSON.stringify(sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event),\n body,\n type: eventType,\n url: useEnvelope\n ? getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel)\n : getStoreEndpointWithUrlEncodedAuth(api.dsn),\n };\n\n // https://develop.sentry.dev/sdk/envelopes/\n\n // Since we don't need to manipulate envelopes nor store them, there is no\n // exported concept of an Envelope with operations including serialization and\n // deserialization. Instead, we only implement a minimal subset of the spec to\n // serialize events inline here.\n if (useEnvelope) {\n const envelopeHeaders = JSON.stringify({\n event_id: event.event_id,\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!api.tunnel && { dsn: dsnToString(api.dsn) }),\n });\n const itemHeaders = JSON.stringify({\n type: eventType,\n\n // TODO: Right now, sampleRate may or may not be defined (it won't be in the cases of inheritance and\n // explicitly-set sampling decisions). Are we good with that?\n sample_rates: [{ id: samplingMethod, rate: sampleRate }],\n\n // The content-type is assumed to be 'application/json' and not part of\n // the current spec for transaction items, so we don't bloat the request\n // body with it.\n //\n // content_type: 'application/json',\n //\n // The length is optional. It must be the number of bytes in req.Body\n // encoded as UTF-8. Since the server can figure this out and would\n // otherwise refuse events that report the length incorrectly, we decided\n // not to send the length to avoid problems related to reporting the wrong\n // size and to reduce request body size.\n //\n // length: new TextEncoder().encode(req.body).length,\n });\n // The trailing newline is optional. We intentionally don't send it to avoid\n // sending unnecessary bytes.\n //\n // const envelope = `${envelopeHeaders}\\n${itemHeaders}\\n${req.body}\\n`;\n const envelope = `${envelopeHeaders}\\n${itemHeaders}\\n${req.body}`;\n req.body = envelope;\n }\n\n return req;\n}\n","import { getCurrentHub } from '@sentry/hub';\nimport { Client, Options } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\n/** A class object that can instantiate Client objects. */\nexport type ClientClass = new (options: O) => F;\n\n/**\n * Internal function to create a new SDK client instance. The client is\n * installed and then bound to the current scope.\n *\n * @param clientClass The client class to instantiate.\n * @param options Options to pass to the client.\n */\nexport function initAndBind(clientClass: ClientClass, options: O): void {\n if (options.debug === true) {\n logger.enable();\n }\n const hub = getCurrentHub();\n const scope = hub.getScope();\n if (scope) {\n scope.update(options.initialScope);\n }\n const client = new clientClass(options);\n hub.bindClient(client);\n}\n","export const SDK_VERSION = '6.17.9';\n","import { Integration, WrappedFunction } from '@sentry/types';\nimport { getOriginalFunction } from '@sentry/utils';\n\nlet originalFunctionToString: () => void;\n\n/** Patch toString calls to return proper name for wrapped functions */\nexport class FunctionToString implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'FunctionToString';\n\n /**\n * @inheritDoc\n */\n public name: string = FunctionToString.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function (this: WrappedFunction, ...args: any[]): string {\n const context = getOriginalFunction(this) || this;\n return originalFunctionToString.apply(context, args);\n };\n }\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { Event, Integration, StackFrame } from '@sentry/types';\nimport { getEventDescription, isDebugBuild, isMatchingPattern, logger } from '@sentry/utils';\n\n// \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\nconst DEFAULT_IGNORE_ERRORS = [/^Script error\\.?$/, /^Javascript error: Script error\\.? on line 0$/];\n\n/** JSDoc */\ninterface InboundFiltersOptions {\n allowUrls: Array;\n denyUrls: Array;\n ignoreErrors: Array;\n ignoreInternal: boolean;\n\n /** @deprecated use {@link InboundFiltersOptions.allowUrls} instead. */\n whitelistUrls: Array;\n /** @deprecated use {@link InboundFiltersOptions.denyUrls} instead. */\n blacklistUrls: Array;\n}\n\n/** Inbound filters configurable by the user */\nexport class InboundFilters implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'InboundFilters';\n\n /**\n * @inheritDoc\n */\n public name: string = InboundFilters.id;\n\n public constructor(private readonly _options: Partial = {}) {}\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event) => {\n const hub = getCurrentHub();\n if (!hub) {\n return event;\n }\n const self = hub.getIntegration(InboundFilters);\n if (self) {\n const client = hub.getClient();\n const clientOptions = client ? client.getOptions() : {};\n // This checks prevents most of the occurrences of the bug linked below:\n // https://github.com/getsentry/sentry-javascript/issues/2622\n // The bug is caused by multiple SDK instances, where one is minified and one is using non-mangled code.\n // Unfortunatelly we cannot fix it reliably (thus reserved property in rollup's terser config),\n // as we cannot force people using multiple instances in their apps to sync SDK versions.\n const options = typeof self._mergeOptions === 'function' ? self._mergeOptions(clientOptions) : {};\n if (typeof self._shouldDropEvent !== 'function') {\n return event;\n }\n return self._shouldDropEvent(event, options) ? null : event;\n }\n return event;\n });\n }\n\n /** JSDoc */\n private _shouldDropEvent(event: Event, options: Partial): boolean {\n if (this._isSentryError(event, options)) {\n if (isDebugBuild()) {\n logger.warn(`Event dropped due to being internal Sentry Error.\\nEvent: ${getEventDescription(event)}`);\n }\n return true;\n }\n if (this._isIgnoredError(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to being matched by \\`ignoreErrors\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n }\n return true;\n }\n if (this._isDeniedUrl(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to being matched by \\`denyUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${this._getEventFilterUrl(event)}`,\n );\n }\n return true;\n }\n if (!this._isAllowedUrl(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to not being matched by \\`allowUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${this._getEventFilterUrl(event)}`,\n );\n }\n return true;\n }\n return false;\n }\n\n /** JSDoc */\n private _isSentryError(event: Event, options: Partial): boolean {\n if (!options.ignoreInternal) {\n return false;\n }\n\n try {\n // @ts-ignore can't be a sentry error if undefined\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {\n // ignore\n }\n\n return false;\n }\n\n /** JSDoc */\n private _isIgnoredError(event: Event, options: Partial): boolean {\n if (!options.ignoreErrors || !options.ignoreErrors.length) {\n return false;\n }\n\n return this._getPossibleEventMessages(event).some(message =>\n // Not sure why TypeScript complains here...\n (options.ignoreErrors as Array).some(pattern => isMatchingPattern(message, pattern)),\n );\n }\n\n /** JSDoc */\n private _isDeniedUrl(event: Event, options: Partial): boolean {\n // TODO: Use Glob instead?\n if (!options.denyUrls || !options.denyUrls.length) {\n return false;\n }\n const url = this._getEventFilterUrl(event);\n return !url ? false : options.denyUrls.some(pattern => isMatchingPattern(url, pattern));\n }\n\n /** JSDoc */\n private _isAllowedUrl(event: Event, options: Partial): boolean {\n // TODO: Use Glob instead?\n if (!options.allowUrls || !options.allowUrls.length) {\n return true;\n }\n const url = this._getEventFilterUrl(event);\n return !url ? true : options.allowUrls.some(pattern => isMatchingPattern(url, pattern));\n }\n\n /** JSDoc */\n private _mergeOptions(clientOptions: Partial = {}): Partial {\n return {\n allowUrls: [\n // eslint-disable-next-line deprecation/deprecation\n ...(this._options.whitelistUrls || []),\n ...(this._options.allowUrls || []),\n // eslint-disable-next-line deprecation/deprecation\n ...(clientOptions.whitelistUrls || []),\n ...(clientOptions.allowUrls || []),\n ],\n denyUrls: [\n // eslint-disable-next-line deprecation/deprecation\n ...(this._options.blacklistUrls || []),\n ...(this._options.denyUrls || []),\n // eslint-disable-next-line deprecation/deprecation\n ...(clientOptions.blacklistUrls || []),\n ...(clientOptions.denyUrls || []),\n ],\n ignoreErrors: [\n ...(this._options.ignoreErrors || []),\n ...(clientOptions.ignoreErrors || []),\n ...DEFAULT_IGNORE_ERRORS,\n ],\n ignoreInternal: typeof this._options.ignoreInternal !== 'undefined' ? this._options.ignoreInternal : true,\n };\n }\n\n /** JSDoc */\n private _getPossibleEventMessages(event: Event): string[] {\n if (event.message) {\n return [event.message];\n }\n if (event.exception) {\n try {\n const { type = '', value = '' } = (event.exception.values && event.exception.values[0]) || {};\n return [`${value}`, `${type}: ${value}`];\n } catch (oO) {\n if (isDebugBuild()) {\n logger.error(`Cannot extract message for event ${getEventDescription(event)}`);\n }\n return [];\n }\n }\n return [];\n }\n\n /** JSDoc */\n private _getLastValidUrl(frames: StackFrame[] = []): string | null {\n for (let i = frames.length - 1; i >= 0; i--) {\n const frame = frames[i];\n\n if (frame && frame.filename !== '' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n }\n\n /** JSDoc */\n private _getEventFilterUrl(event: Event): string | null {\n try {\n if (event.stacktrace) {\n return this._getLastValidUrl(event.stacktrace.frames);\n }\n let frames;\n try {\n // @ts-ignore we only care about frames if the whole thing here is defined\n frames = event.exception.values[0].stacktrace.frames;\n } catch (e) {\n // ignore\n }\n return frames ? this._getLastValidUrl(frames) : null;\n } catch (oO) {\n if (isDebugBuild()) {\n logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n }\n return null;\n }\n }\n}\n","import { StackFrame } from '@sentry/types';\nimport { StackLineParser } from '@sentry/utils';\n\n// global reference to slice\nconst UNKNOWN_FUNCTION = '?';\n\nfunction createFrame(filename: string, func: string, lineno?: number, colno?: number): StackFrame {\n const frame: StackFrame = {\n filename,\n function: func,\n // All browser frames are considered in_app\n in_app: true,\n };\n\n if (lineno !== undefined) {\n frame.lineno = lineno;\n }\n\n if (colno !== undefined) {\n frame.colno = colno;\n }\n\n return frame;\n}\n\n// Chromium based browsers: Chrome, Brave, new Opera, new Edge\nconst chromeRegex =\n /^\\s*at (?:(.*?) ?\\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\\/).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\nexport const chrome: StackLineParser = line => {\n const parts = chromeRegex.exec(line);\n\n if (parts) {\n const isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n if (isEval) {\n const subMatch = chromeEvalRegex.exec(parts[2]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = subMatch[1]; // url\n parts[3] = subMatch[2]; // line\n parts[4] = subMatch[3]; // column\n }\n }\n\n // Kamil: One more hack won't hurt us right? Understanding and adding more rules on top of these regexps right now\n // would be way too time consuming. (TODO: Rewrite whole RegExp to be more readable)\n const [func, filename] = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]);\n\n return createFrame(filename, func, parts[3] ? +parts[3] : undefined, parts[4] ? +parts[4] : undefined);\n }\n\n return;\n};\n\n// gecko regex: `(?:bundle|\\d+\\.js)`: `bundle` is for react native, `\\d+\\.js` also but specifically for ram bundles because it\n// generates filenames without a prefix like `file://` the filenames in the stacktrace are just 42.js\n// We need this specific case for now because we want no other regex to match.\nconst geckoREgex =\n /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nexport const gecko: StackLineParser = line => {\n const parts = geckoREgex.exec(line);\n\n if (parts) {\n const isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n if (isEval) {\n const subMatch = geckoEvalRegex.exec(parts[3]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line number\n parts[1] = parts[1] || `eval`;\n parts[3] = subMatch[1];\n parts[4] = subMatch[2];\n parts[5] = ''; // no column when eval\n }\n }\n\n let filename = parts[3];\n let func = parts[1] || UNKNOWN_FUNCTION;\n [func, filename] = extractSafariExtensionDetails(func, filename);\n\n return createFrame(filename, func, parts[4] ? +parts[4] : undefined, parts[5] ? +parts[5] : undefined);\n }\n\n return;\n};\n\nconst winjsRegex =\n /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nexport const winjs: StackLineParser = line => {\n const parts = winjsRegex.exec(line);\n\n return parts\n ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined)\n : undefined;\n};\n\nconst opera10Regex = / line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i;\n\nexport const opera10: StackLineParser = line => {\n const parts = opera10Regex.exec(line);\n return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined;\n};\n\nconst opera11Regex =\n / line (\\d+), column (\\d+)\\s*(?:in (?:]+)>|([^)]+))\\(.*\\))? in (.*):\\s*$/i;\n\nexport const opera11: StackLineParser = line => {\n const parts = opera11Regex.exec(line);\n return parts ? createFrame(parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;\n};\n\n/**\n * Safari web extensions, starting version unknown, can produce \"frames-only\" stacktraces.\n * What it means, is that instead of format like:\n *\n * Error: wat\n * at function@url:row:col\n * at function@url:row:col\n * at function@url:row:col\n *\n * it produces something like:\n *\n * function@url:row:col\n * function@url:row:col\n * function@url:row:col\n *\n * Because of that, it won't be captured by `chrome` RegExp and will fall into `Gecko` branch.\n * This function is extracted so that we can use it in both places without duplicating the logic.\n * Unfortunately \"just\" changing RegExp is too complicated now and making it pass all tests\n * and fix this case seems like an impossible, or at least way too time-consuming task.\n */\nconst extractSafariExtensionDetails = (func: string, filename: string): [string, string] => {\n const isSafariExtension = func.indexOf('safari-extension') !== -1;\n const isSafariWebExtension = func.indexOf('safari-web-extension') !== -1;\n\n return isSafariExtension || isSafariWebExtension\n ? [\n func.indexOf('@') !== -1 ? func.split('@')[0] : UNKNOWN_FUNCTION,\n isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`,\n ]\n : [func, filename];\n};\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\nimport { Event, Exception, StackFrame } from '@sentry/types';\nimport { createStackParser, extractExceptionKeysForMessage, isEvent, normalizeToSize } from '@sentry/utils';\n\nimport { chrome, gecko, opera10, opera11, winjs } from './stack-parsers';\n\n/**\n * This function creates an exception from an TraceKitStackTrace\n * @param stacktrace TraceKitStackTrace that will be converted to an exception\n * @hidden\n */\nexport function exceptionFromError(ex: Error): Exception {\n // Get the frames first since Opera can lose the stack if we touch anything else first\n const frames = parseStackFrames(ex);\n\n const exception: Exception = {\n type: ex && ex.name,\n value: extractMessage(ex),\n };\n\n if (frames && frames.length) {\n exception.stacktrace = { frames };\n }\n\n if (exception.type === undefined && exception.value === '') {\n exception.value = 'Unrecoverable error caught';\n }\n\n return exception;\n}\n\n/**\n * @hidden\n */\nexport function eventFromPlainObject(\n exception: Record,\n syntheticException?: Error,\n rejection?: boolean,\n): Event {\n const event: Event = {\n exception: {\n values: [\n {\n type: isEvent(exception) ? exception.constructor.name : rejection ? 'UnhandledRejection' : 'Error',\n value: `Non-Error ${\n rejection ? 'promise rejection' : 'exception'\n } captured with keys: ${extractExceptionKeysForMessage(exception)}`,\n },\n ],\n },\n extra: {\n __serialized__: normalizeToSize(exception),\n },\n };\n\n if (syntheticException) {\n event.stacktrace = {\n frames: parseStackFrames(syntheticException),\n };\n }\n\n return event;\n}\n\n/**\n * @hidden\n */\nexport function eventFromError(ex: Error): Event {\n return {\n exception: {\n values: [exceptionFromError(ex)],\n },\n };\n}\n\n/** Parses stack frames from an error */\nexport function parseStackFrames(ex: Error & { framesToPop?: number; stacktrace?: string }): StackFrame[] {\n // Access and store the stacktrace property before doing ANYTHING\n // else to it because Opera is not very good at providing it\n // reliably in other circumstances.\n const stacktrace = ex.stacktrace || ex.stack || '';\n\n const popSize = getPopSize(ex);\n\n try {\n // The order of the parsers in important\n return createStackParser(opera10, opera11, chrome, winjs, gecko)(stacktrace, popSize);\n } catch (e) {\n // no-empty\n }\n\n return [];\n}\n\n// Based on our own mapping pattern - https://github.com/getsentry/sentry/blob/9f08305e09866c8bd6d0c24f5b0aabdd7dd6c59c/src/sentry/lang/javascript/errormapping.py#L83-L108\nconst reactMinifiedRegexp = /Minified React error #\\d+;/i;\n\nfunction getPopSize(ex: Error & { framesToPop?: number }): number {\n if (ex) {\n if (typeof ex.framesToPop === 'number') {\n return ex.framesToPop;\n }\n\n if (reactMinifiedRegexp.test(ex.message)) {\n return 1;\n }\n }\n\n return 0;\n}\n\n/**\n * There are cases where stacktrace.message is an Event object\n * https://github.com/getsentry/sentry-javascript/issues/1949\n * In this specific case we try to extract stacktrace.message.error.message\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction extractMessage(ex: any): string {\n const message = ex && ex.message;\n if (!message) {\n return 'No error message';\n }\n if (message.error && typeof message.error.message === 'string') {\n return message.error.message;\n }\n return message;\n}\n","import { Event, EventHint, Options, Severity } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addExceptionTypeValue,\n isDOMError,\n isDOMException,\n isError,\n isErrorEvent,\n isEvent,\n isPlainObject,\n resolvedSyncPromise,\n} from '@sentry/utils';\n\nimport { eventFromError, eventFromPlainObject, parseStackFrames } from './parsers';\n\n/**\n * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.\n * @hidden\n */\nexport function eventFromException(options: Options, exception: unknown, hint?: EventHint): PromiseLike {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromUnknownInput(exception, syntheticException, {\n attachStacktrace: options.attachStacktrace,\n });\n addExceptionMechanism(event); // defaults to { type: 'generic', handled: true }\n event.level = Severity.Error;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nexport function eventFromMessage(\n options: Options,\n message: string,\n level: Severity = Severity.Info,\n hint?: EventHint,\n): PromiseLike {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromString(message, syntheticException, {\n attachStacktrace: options.attachStacktrace,\n });\n event.level = level;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * @hidden\n */\nexport function eventFromUnknownInput(\n exception: unknown,\n syntheticException?: Error,\n options: {\n isRejection?: boolean;\n attachStacktrace?: boolean;\n } = {},\n): Event {\n let event: Event;\n\n if (isErrorEvent(exception as ErrorEvent) && (exception as ErrorEvent).error) {\n // If it is an ErrorEvent with `error` property, extract it to get actual Error\n const errorEvent = exception as ErrorEvent;\n return eventFromError(errorEvent.error as Error);\n }\n\n // If it is a `DOMError` (which is a legacy API, but still supported in some browsers) then we just extract the name\n // and message, as it doesn't provide anything else. According to the spec, all `DOMExceptions` should also be\n // `Error`s, but that's not the case in IE11, so in that case we treat it the same as we do a `DOMError`.\n //\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMError\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMException\n // https://webidl.spec.whatwg.org/#es-DOMException-specialness\n if (isDOMError(exception as DOMError) || isDOMException(exception as DOMException)) {\n const domException = exception as DOMException;\n\n if ('stack' in (exception as Error)) {\n event = eventFromError(exception as Error);\n } else {\n const name = domException.name || (isDOMError(domException) ? 'DOMError' : 'DOMException');\n const message = domException.message ? `${name}: ${domException.message}` : name;\n event = eventFromString(message, syntheticException, options);\n addExceptionTypeValue(event, message);\n }\n if ('code' in domException) {\n event.tags = { ...event.tags, 'DOMException.code': `${domException.code}` };\n }\n\n return event;\n }\n if (isError(exception as Error)) {\n // we have a real Error object, do nothing\n return eventFromError(exception as Error);\n }\n if (isPlainObject(exception) || isEvent(exception)) {\n // If it's a plain object or an instance of `Event` (the built-in JS kind, not this SDK's `Event` type), serialize\n // it manually. This will allow us to group events based on top-level keys which is much better than creating a new\n // group on any key/value change.\n const objectException = exception as Record;\n event = eventFromPlainObject(objectException, syntheticException, options.isRejection);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n return event;\n }\n\n // If none of previous checks were valid, then it means that it's not:\n // - an instance of DOMError\n // - an instance of DOMException\n // - an instance of Event\n // - an instance of Error\n // - a valid ErrorEvent (one with an error property)\n // - a plain Object\n //\n // So bail out and capture it as a simple message:\n event = eventFromString(exception as string, syntheticException, options);\n addExceptionTypeValue(event, `${exception}`, undefined);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n\n return event;\n}\n\n/**\n * @hidden\n */\nexport function eventFromString(\n input: string,\n syntheticException?: Error,\n options: {\n attachStacktrace?: boolean;\n } = {},\n): Event {\n const event: Event = {\n message: input,\n };\n\n if (options.attachStacktrace && syntheticException) {\n event.stacktrace = {\n frames: parseStackFrames(syntheticException),\n };\n }\n\n return event;\n}\n","import { forget, getGlobalObject, isDebugBuild, isNativeFetch, logger, supportsFetch } from '@sentry/utils';\n\nconst global = getGlobalObject();\nlet cachedFetchImpl: FetchImpl;\n\nexport type FetchImpl = typeof fetch;\n\n/**\n * A special usecase for incorrectly wrapped Fetch APIs in conjunction with ad-blockers.\n * Whenever someone wraps the Fetch API and returns the wrong promise chain,\n * this chain becomes orphaned and there is no possible way to capture it's rejections\n * other than allowing it bubble up to this very handler. eg.\n *\n * const f = window.fetch;\n * window.fetch = function () {\n * const p = f.apply(this, arguments);\n *\n * p.then(function() {\n * console.log('hi.');\n * });\n *\n * return p;\n * }\n *\n * `p.then(function () { ... })` is producing a completely separate promise chain,\n * however, what's returned is `p` - the result of original `fetch` call.\n *\n * This mean, that whenever we use the Fetch API to send our own requests, _and_\n * some ad-blocker blocks it, this orphaned chain will _always_ reject,\n * effectively causing another event to be captured.\n * This makes a whole process become an infinite loop, which we need to somehow\n * deal with, and break it in one way or another.\n *\n * To deal with this issue, we are making sure that we _always_ use the real\n * browser Fetch API, instead of relying on what `window.fetch` exposes.\n * The only downside to this would be missing our own requests as breadcrumbs,\n * but because we are already not doing this, it should be just fine.\n *\n * Possible failed fetch error messages per-browser:\n *\n * Chrome: Failed to fetch\n * Edge: Failed to Fetch\n * Firefox: NetworkError when attempting to fetch resource\n * Safari: resource blocked by content blocker\n */\nexport function getNativeFetchImplementation(): FetchImpl {\n if (cachedFetchImpl) {\n return cachedFetchImpl;\n }\n\n /* eslint-disable @typescript-eslint/unbound-method */\n\n // Fast path to avoid DOM I/O\n if (isNativeFetch(global.fetch)) {\n return (cachedFetchImpl = global.fetch.bind(global));\n }\n\n const document = global.document;\n let fetchImpl = global.fetch;\n // eslint-disable-next-line deprecation/deprecation\n if (document && typeof document.createElement === `function`) {\n try {\n const sandbox = document.createElement('iframe');\n sandbox.hidden = true;\n document.head.appendChild(sandbox);\n const contentWindow = sandbox.contentWindow;\n if (contentWindow && contentWindow.fetch) {\n fetchImpl = contentWindow.fetch;\n }\n document.head.removeChild(sandbox);\n } catch (e) {\n if (isDebugBuild()) {\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', e);\n }\n }\n }\n\n return (cachedFetchImpl = fetchImpl.bind(global));\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n\n/**\n * Sends sdk client report using sendBeacon or fetch as a fallback if available\n *\n * @param url report endpoint\n * @param body report payload\n */\nexport function sendReport(url: string, body: string): void {\n const isRealNavigator = Object.prototype.toString.call(global && global.navigator) === '[object Navigator]';\n const hasSendBeacon = isRealNavigator && typeof global.navigator.sendBeacon === 'function';\n\n if (hasSendBeacon) {\n // Prevent illegal invocations - https://xgwang.me/posts/you-may-not-know-beacon/#it-may-throw-error%2C-be-sure-to-catch\n const sendBeacon = global.navigator.sendBeacon.bind(global.navigator);\n return sendBeacon(url, body);\n }\n\n if (supportsFetch()) {\n const fetch = getNativeFetchImplementation();\n return forget(\n fetch(url, {\n body,\n method: 'POST',\n credentials: 'omit',\n keepalive: true,\n }),\n );\n }\n}\n","import {\n APIDetails,\n eventToSentryRequest,\n getEnvelopeEndpointWithUrlEncodedAuth,\n getStoreEndpointWithUrlEncodedAuth,\n initAPIDetails,\n sessionToSentryRequest,\n} from '@sentry/core';\nimport {\n Event,\n Outcome,\n Response as SentryResponse,\n SentryRequest,\n SentryRequestType,\n Session,\n Transport,\n TransportOptions,\n} from '@sentry/types';\nimport {\n dateTimestampInSeconds,\n dsnToString,\n eventStatusFromHttpCode,\n getGlobalObject,\n isDebugBuild,\n logger,\n makePromiseBuffer,\n parseRetryAfterHeader,\n PromiseBuffer,\n} from '@sentry/utils';\n\nimport { sendReport } from './utils';\n\nfunction requestTypeToCategory(ty: SentryRequestType): string {\n const tyStr = ty as string;\n return tyStr === 'event' ? 'error' : tyStr;\n}\n\nconst global = getGlobalObject();\n\n/** Base Transport class implementation */\nexport abstract class BaseTransport implements Transport {\n /**\n * @deprecated\n */\n public url: string;\n\n /** Helper to get Sentry API endpoints. */\n protected readonly _api: APIDetails;\n\n /** A simple buffer holding all requests. */\n protected readonly _buffer: PromiseBuffer = makePromiseBuffer(30);\n\n /** Locks transport after receiving rate limits in a response */\n protected readonly _rateLimits: Record = {};\n\n protected _outcomes: { [key: string]: number } = {};\n\n public constructor(public options: TransportOptions) {\n this._api = initAPIDetails(options.dsn, options._metadata, options.tunnel);\n // eslint-disable-next-line deprecation/deprecation\n this.url = getStoreEndpointWithUrlEncodedAuth(this._api.dsn);\n\n if (this.options.sendClientReports && global.document) {\n global.document.addEventListener('visibilitychange', () => {\n if (global.document.visibilityState === 'hidden') {\n this._flushOutcomes();\n }\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): PromiseLike {\n return this._sendRequest(eventToSentryRequest(event, this._api), event);\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session): PromiseLike {\n return this._sendRequest(sessionToSentryRequest(session, this._api), session);\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike {\n return this._buffer.drain(timeout);\n }\n\n /**\n * @inheritDoc\n */\n public recordLostEvent(reason: Outcome, category: SentryRequestType): void {\n if (!this.options.sendClientReports) {\n return;\n }\n // We want to track each category (event, transaction, session) separately\n // but still keep the distinction between different type of outcomes.\n // We could use nested maps, but it's much easier to read and type this way.\n // A correct type for map-based implementation if we want to go that route\n // would be `Partial>>>`\n const key = `${requestTypeToCategory(category)}:${reason}`;\n logger.log(`Adding outcome: ${key}`);\n this._outcomes[key] = (this._outcomes[key] ?? 0) + 1;\n }\n\n /**\n * Send outcomes as an envelope\n */\n protected _flushOutcomes(): void {\n if (!this.options.sendClientReports) {\n return;\n }\n\n const outcomes = this._outcomes;\n this._outcomes = {};\n\n // Nothing to send\n if (!Object.keys(outcomes).length) {\n logger.log('No outcomes to flush');\n return;\n }\n\n logger.log(`Flushing outcomes:\\n${JSON.stringify(outcomes, null, 2)}`);\n\n const url = getEnvelopeEndpointWithUrlEncodedAuth(this._api.dsn, this._api.tunnel);\n // Envelope header is required to be at least an empty object\n const envelopeHeader = JSON.stringify({ ...(this._api.tunnel && { dsn: dsnToString(this._api.dsn) }) });\n const itemHeaders = JSON.stringify({\n type: 'client_report',\n });\n const item = JSON.stringify({\n timestamp: dateTimestampInSeconds(),\n discarded_events: Object.keys(outcomes).map(key => {\n const [category, reason] = key.split(':');\n return {\n reason,\n category,\n quantity: outcomes[key],\n };\n }),\n });\n const envelope = `${envelopeHeader}\\n${itemHeaders}\\n${item}`;\n\n try {\n sendReport(url, envelope);\n } catch (e) {\n logger.error(e);\n }\n }\n\n /**\n * Handle Sentry repsonse for promise-based transports.\n */\n protected _handleResponse({\n requestType,\n response,\n headers,\n resolve,\n reject,\n }: {\n requestType: SentryRequestType;\n response: Response | XMLHttpRequest;\n headers: Record;\n resolve: (value?: SentryResponse | PromiseLike | null | undefined) => void;\n reject: (reason?: unknown) => void;\n }): void {\n const status = eventStatusFromHttpCode(response.status);\n /**\n * \"The name is case-insensitive.\"\n * https://developer.mozilla.org/en-US/docs/Web/API/Headers/get\n */\n const limited = this._handleRateLimit(headers);\n if (limited && isDebugBuild()) {\n logger.warn(`Too many ${requestType} requests, backing off until: ${this._disabledUntil(requestType)}`);\n }\n\n if (status === 'success') {\n resolve({ status });\n return;\n }\n\n reject(response);\n }\n\n /**\n * Gets the time that given category is disabled until for rate limiting\n */\n protected _disabledUntil(requestType: SentryRequestType): Date {\n const category = requestTypeToCategory(requestType);\n return this._rateLimits[category] || this._rateLimits.all;\n }\n\n /**\n * Checks if a category is rate limited\n */\n protected _isRateLimited(requestType: SentryRequestType): boolean {\n return this._disabledUntil(requestType) > new Date(Date.now());\n }\n\n /**\n * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header.\n */\n protected _handleRateLimit(headers: Record): boolean {\n const now = Date.now();\n const rlHeader = headers['x-sentry-rate-limits'];\n const raHeader = headers['retry-after'];\n\n if (rlHeader) {\n // rate limit headers are of the form\n //
,
,..\n // where each
is of the form\n // : : : \n // where\n // is a delay in ms\n // is the event type(s) (error, transaction, etc) being rate limited and is of the form\n // ;;...\n // is what's being limited (org, project, or key) - ignored by SDK\n // is an arbitrary string like \"org_quota\" - ignored by SDK\n for (const limit of rlHeader.trim().split(',')) {\n const parameters = limit.split(':', 2);\n const headerDelay = parseInt(parameters[0], 10);\n const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default\n for (const category of parameters[1].split(';')) {\n this._rateLimits[category || 'all'] = new Date(now + delay);\n }\n }\n return true;\n } else if (raHeader) {\n this._rateLimits.all = new Date(now + parseRetryAfterHeader(now, raHeader));\n return true;\n }\n return false;\n }\n\n protected abstract _sendRequest(\n sentryRequest: SentryRequest,\n originalPayload: Event | Session,\n ): PromiseLike;\n}\n","import { Event, Response, SentryRequest, Session, TransportOptions } from '@sentry/types';\nimport { SentryError, supportsReferrerPolicy, SyncPromise } from '@sentry/utils';\n\nimport { BaseTransport } from './base';\nimport { FetchImpl, getNativeFetchImplementation } from './utils';\n\n/** `fetch` based transport */\nexport class FetchTransport extends BaseTransport {\n /**\n * Fetch API reference which always points to native browser implementation.\n */\n private _fetch: typeof fetch;\n\n public constructor(options: TransportOptions, fetchImpl: FetchImpl = getNativeFetchImplementation()) {\n super(options);\n this._fetch = fetchImpl;\n }\n\n /**\n * @param sentryRequest Prepared SentryRequest to be delivered\n * @param originalPayload Original payload used to create SentryRequest\n */\n protected _sendRequest(sentryRequest: SentryRequest, originalPayload: Event | Session): PromiseLike {\n if (this._isRateLimited(sentryRequest.type)) {\n this.recordLostEvent('ratelimit_backoff', sentryRequest.type);\n\n return Promise.reject({\n event: originalPayload,\n type: sentryRequest.type,\n reason: `Transport for ${sentryRequest.type} requests locked till ${this._disabledUntil(\n sentryRequest.type,\n )} due to too many requests.`,\n status: 429,\n });\n }\n\n const options: RequestInit = {\n body: sentryRequest.body,\n method: 'POST',\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n referrerPolicy: (supportsReferrerPolicy() ? 'origin' : '') as ReferrerPolicy,\n };\n if (this.options.fetchParameters !== undefined) {\n Object.assign(options, this.options.fetchParameters);\n }\n if (this.options.headers !== undefined) {\n options.headers = this.options.headers;\n }\n\n return this._buffer\n .add(\n () =>\n new SyncPromise((resolve, reject) => {\n void this._fetch(sentryRequest.url, options)\n .then(response => {\n const headers = {\n 'x-sentry-rate-limits': response.headers.get('X-Sentry-Rate-Limits'),\n 'retry-after': response.headers.get('Retry-After'),\n };\n this._handleResponse({\n requestType: sentryRequest.type,\n response,\n headers,\n resolve,\n reject,\n });\n })\n .catch(reject);\n }),\n )\n .then(undefined, reason => {\n // It's either buffer rejection or any other xhr/fetch error, which are treated as NetworkError.\n if (reason instanceof SentryError) {\n this.recordLostEvent('queue_overflow', sentryRequest.type);\n } else {\n this.recordLostEvent('network_error', sentryRequest.type);\n }\n throw reason;\n });\n }\n}\n","import { Event, Response, SentryRequest, Session } from '@sentry/types';\nimport { SentryError, SyncPromise } from '@sentry/utils';\n\nimport { BaseTransport } from './base';\n\n/** `XHR` based transport */\nexport class XHRTransport extends BaseTransport {\n /**\n * @param sentryRequest Prepared SentryRequest to be delivered\n * @param originalPayload Original payload used to create SentryRequest\n */\n protected _sendRequest(sentryRequest: SentryRequest, originalPayload: Event | Session): PromiseLike {\n if (this._isRateLimited(sentryRequest.type)) {\n this.recordLostEvent('ratelimit_backoff', sentryRequest.type);\n\n return Promise.reject({\n event: originalPayload,\n type: sentryRequest.type,\n reason: `Transport for ${sentryRequest.type} requests locked till ${this._disabledUntil(\n sentryRequest.type,\n )} due to too many requests.`,\n status: 429,\n });\n }\n\n return this._buffer\n .add(\n () =>\n new SyncPromise((resolve, reject) => {\n const request = new XMLHttpRequest();\n\n request.onreadystatechange = (): void => {\n if (request.readyState === 4) {\n const headers = {\n 'x-sentry-rate-limits': request.getResponseHeader('X-Sentry-Rate-Limits'),\n 'retry-after': request.getResponseHeader('Retry-After'),\n };\n this._handleResponse({ requestType: sentryRequest.type, response: request, headers, resolve, reject });\n }\n };\n\n request.open('POST', sentryRequest.url);\n for (const header in this.options.headers) {\n if (Object.prototype.hasOwnProperty.call(this.options.headers, header)) {\n request.setRequestHeader(header, this.options.headers[header]);\n }\n }\n request.send(sentryRequest.body);\n }),\n )\n .then(undefined, reason => {\n // It's either buffer rejection or any other xhr/fetch error, which are treated as NetworkError.\n if (reason instanceof SentryError) {\n this.recordLostEvent('queue_overflow', sentryRequest.type);\n } else {\n this.recordLostEvent('network_error', sentryRequest.type);\n }\n throw reason;\n });\n }\n}\n","import { BaseBackend } from '@sentry/core';\nimport { Event, EventHint, Options, Severity, Transport } from '@sentry/types';\nimport { supportsFetch } from '@sentry/utils';\n\nimport { eventFromException, eventFromMessage } from './eventbuilder';\nimport { FetchTransport, XHRTransport } from './transports';\n\n/**\n * Configuration options for the Sentry Browser SDK.\n * @see BrowserClient for more information.\n */\nexport interface BrowserOptions extends Options {\n /**\n * A pattern for error URLs which should exclusively be sent to Sentry.\n * This is the opposite of {@link Options.denyUrls}.\n * By default, all errors will be sent.\n */\n allowUrls?: Array;\n\n /**\n * A pattern for error URLs which should not be sent to Sentry.\n * To allow certain errors instead, use {@link Options.allowUrls}.\n * By default, all errors will be sent.\n */\n denyUrls?: Array;\n\n /** @deprecated use {@link Options.allowUrls} instead. */\n whitelistUrls?: Array;\n\n /** @deprecated use {@link Options.denyUrls} instead. */\n blacklistUrls?: Array;\n}\n\n/**\n * The Sentry Browser SDK Backend.\n * @hidden\n */\nexport class BrowserBackend extends BaseBackend {\n /**\n * @inheritDoc\n */\n public eventFromException(exception: unknown, hint?: EventHint): PromiseLike {\n return eventFromException(this._options, exception, hint);\n }\n /**\n * @inheritDoc\n */\n public eventFromMessage(message: string, level: Severity = Severity.Info, hint?: EventHint): PromiseLike {\n return eventFromMessage(this._options, message, level, hint);\n }\n\n /**\n * @inheritDoc\n */\n protected _setupTransport(): Transport {\n if (!this._options.dsn) {\n // We return the noop transport here in case there is no Dsn.\n return super._setupTransport();\n }\n\n const transportOptions = {\n ...this._options.transportOptions,\n dsn: this._options.dsn,\n tunnel: this._options.tunnel,\n sendClientReports: this._options.sendClientReports,\n _metadata: this._options._metadata,\n };\n\n if (this._options.transport) {\n return new this._options.transport(transportOptions);\n }\n if (supportsFetch()) {\n return new FetchTransport(transportOptions);\n }\n return new XHRTransport(transportOptions);\n }\n}\n","import { captureException, getReportDialogEndpoint, withScope } from '@sentry/core';\nimport { DsnLike, Event as SentryEvent, Mechanism, Scope, WrappedFunction } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addExceptionTypeValue,\n addNonEnumerableProperty,\n getGlobalObject,\n getOriginalFunction,\n isDebugBuild,\n logger,\n markFunctionWrapped,\n} from '@sentry/utils';\n\nconst global = getGlobalObject();\nlet ignoreOnError: number = 0;\n\n/**\n * @hidden\n */\nexport function shouldIgnoreOnError(): boolean {\n return ignoreOnError > 0;\n}\n\n/**\n * @hidden\n */\nexport function ignoreNextOnError(): void {\n // onerror should trigger before setTimeout\n ignoreOnError += 1;\n setTimeout(() => {\n ignoreOnError -= 1;\n });\n}\n\n/**\n * Instruments the given function and sends an event to Sentry every time the\n * function throws an exception.\n *\n * @param fn A function to wrap.\n * @returns The wrapped function.\n * @hidden\n */\nexport function wrap(\n fn: WrappedFunction,\n options: {\n mechanism?: Mechanism;\n } = {},\n before?: WrappedFunction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n): any {\n // for future readers what this does is wrap a function and then create\n // a bi-directional wrapping between them.\n //\n // example: wrapped = wrap(original);\n // original.__sentry_wrapped__ -> wrapped\n // wrapped.__sentry_original__ -> original\n\n if (typeof fn !== 'function') {\n return fn;\n }\n\n try {\n // if we're dealing with a function that was previously wrapped, return\n // the original wrapper.\n const wrapper = fn.__sentry_wrapped__;\n if (wrapper) {\n return wrapper;\n }\n\n // We don't wanna wrap it twice\n if (getOriginalFunction(fn)) {\n return fn;\n }\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n // Bail on wrapping and return the function as-is (defers to window.onerror).\n return fn;\n }\n\n /* eslint-disable prefer-rest-params */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sentryWrapped: WrappedFunction = function (this: any): void {\n const args = Array.prototype.slice.call(arguments);\n\n try {\n if (before && typeof before === 'function') {\n before.apply(this, arguments);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n const wrappedArguments = args.map((arg: any) => wrap(arg, options));\n\n // Attempt to invoke user-land function\n // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n // means the sentry.javascript SDK caught an error invoking your application code. This\n // is expected behavior and NOT indicative of a bug with sentry.javascript.\n return fn.apply(this, wrappedArguments);\n } catch (ex) {\n ignoreNextOnError();\n\n withScope((scope: Scope) => {\n scope.addEventProcessor((event: SentryEvent) => {\n if (options.mechanism) {\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, options.mechanism);\n }\n\n event.extra = {\n ...event.extra,\n arguments: args,\n };\n\n return event;\n });\n\n captureException(ex);\n });\n\n throw ex;\n }\n };\n /* eslint-enable prefer-rest-params */\n\n // Accessing some objects may throw\n // ref: https://github.com/getsentry/sentry-javascript/issues/1168\n try {\n for (const property in fn) {\n if (Object.prototype.hasOwnProperty.call(fn, property)) {\n sentryWrapped[property] = fn[property];\n }\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n // Signal that this function has been wrapped/filled already\n // for both debugging and to prevent it to being wrapped/filled twice\n markFunctionWrapped(sentryWrapped, fn);\n\n addNonEnumerableProperty(fn, '__sentry_wrapped__', sentryWrapped);\n\n // Restore original function name (not all browsers allow that)\n try {\n const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name') as PropertyDescriptor;\n if (descriptor.configurable) {\n Object.defineProperty(sentryWrapped, 'name', {\n get(): string {\n return fn.name;\n },\n });\n }\n // eslint-disable-next-line no-empty\n } catch (_oO) {}\n\n return sentryWrapped;\n}\n\n/**\n * All properties the report dialog supports\n */\nexport interface ReportDialogOptions {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n eventId?: string;\n dsn?: DsnLike;\n user?: {\n email?: string;\n name?: string;\n };\n lang?: string;\n title?: string;\n subtitle?: string;\n subtitle2?: string;\n labelName?: string;\n labelEmail?: string;\n labelComments?: string;\n labelClose?: string;\n labelSubmit?: string;\n errorGeneric?: string;\n errorFormEntry?: string;\n successMessage?: string;\n /** Callback after reportDialog showed up */\n onLoad?(): void;\n}\n\n/**\n * Injects the Report Dialog script\n * @hidden\n */\nexport function injectReportDialog(options: ReportDialogOptions = {}): void {\n if (!global.document) {\n return;\n }\n\n if (!options.eventId) {\n if (isDebugBuild()) {\n logger.error(`Missing eventId option in showReportDialog call`);\n }\n return;\n }\n\n if (!options.dsn) {\n if (isDebugBuild()) {\n logger.error(`Missing dsn option in showReportDialog call`);\n }\n return;\n }\n\n const script = global.document.createElement('script');\n script.async = true;\n script.src = getReportDialogEndpoint(options.dsn, options);\n\n if (options.onLoad) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n script.onload = options.onLoad;\n }\n\n const injectionPoint = global.document.head || global.document.body;\n\n if (injectionPoint) {\n injectionPoint.appendChild(script);\n }\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\nimport { getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Hub, Integration, Primitive, Severity } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addInstrumentationHandler,\n getLocationHref,\n isDebugBuild,\n isErrorEvent,\n isPrimitive,\n isString,\n logger,\n} from '@sentry/utils';\n\nimport { eventFromUnknownInput } from '../eventbuilder';\nimport { shouldIgnoreOnError } from '../helpers';\n\ntype GlobalHandlersIntegrationsOptionKeys = 'onerror' | 'onunhandledrejection';\n\n/** JSDoc */\ntype GlobalHandlersIntegrations = Record;\n\n/** Global handlers */\nexport class GlobalHandlers implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'GlobalHandlers';\n\n /**\n * @inheritDoc\n */\n public name: string = GlobalHandlers.id;\n\n /** JSDoc */\n private readonly _options: GlobalHandlersIntegrations;\n\n /**\n * Stores references functions to installing handlers. Will set to undefined\n * after they have been run so that they are not used twice.\n */\n private _installFunc: Record void) | undefined> = {\n onerror: _installGlobalOnErrorHandler,\n onunhandledrejection: _installGlobalOnUnhandledRejectionHandler,\n };\n\n /** JSDoc */\n public constructor(options?: GlobalHandlersIntegrations) {\n this._options = {\n onerror: true,\n onunhandledrejection: true,\n ...options,\n };\n }\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n Error.stackTraceLimit = 50;\n const options = this._options;\n\n // We can disable guard-for-in as we construct the options object above + do checks against\n // `this._installFunc` for the property.\n // eslint-disable-next-line guard-for-in\n for (const key in options) {\n const installFunc = this._installFunc[key as GlobalHandlersIntegrationsOptionKeys];\n if (installFunc && options[key as GlobalHandlersIntegrationsOptionKeys]) {\n globalHandlerLog(key);\n installFunc();\n this._installFunc[key as GlobalHandlersIntegrationsOptionKeys] = undefined;\n }\n }\n }\n}\n\n/** JSDoc */\nfunction _installGlobalOnErrorHandler(): void {\n addInstrumentationHandler(\n 'error',\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (data: { msg: any; url: any; line: any; column: any; error: any }) => {\n const [hub, attachStacktrace] = getHubAndAttachStacktrace();\n if (!hub.getIntegration(GlobalHandlers)) {\n return;\n }\n const { msg, url, line, column, error } = data;\n if (shouldIgnoreOnError() || (error && error.__sentry_own_request__)) {\n return;\n }\n\n const event =\n error === undefined && isString(msg)\n ? _eventFromIncompleteOnError(msg, url, line, column)\n : _enhanceEventWithInitialFrame(\n eventFromUnknownInput(error || msg, undefined, {\n attachStacktrace,\n isRejection: false,\n }),\n url,\n line,\n column,\n );\n\n event.level = Severity.Error;\n\n addMechanismAndCapture(hub, error, event, 'onerror');\n },\n );\n}\n\n/** JSDoc */\nfunction _installGlobalOnUnhandledRejectionHandler(): void {\n addInstrumentationHandler(\n 'unhandledrejection',\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (e: any) => {\n const [hub, attachStacktrace] = getHubAndAttachStacktrace();\n if (!hub.getIntegration(GlobalHandlers)) {\n return;\n }\n let error = e;\n\n // dig the object of the rejection out of known event types\n try {\n // PromiseRejectionEvents store the object of the rejection under 'reason'\n // see https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent\n if ('reason' in e) {\n error = e.reason;\n }\n // something, somewhere, (likely a browser extension) effectively casts PromiseRejectionEvents\n // to CustomEvents, moving the `promise` and `reason` attributes of the PRE into\n // the CustomEvent's `detail` attribute, since they're not part of CustomEvent's spec\n // see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent and\n // https://github.com/getsentry/sentry-javascript/issues/2380\n else if ('detail' in e && 'reason' in e.detail) {\n error = e.detail.reason;\n }\n } catch (_oO) {\n // no-empty\n }\n\n if (shouldIgnoreOnError() || (error && error.__sentry_own_request__)) {\n return true;\n }\n\n const event = isPrimitive(error)\n ? _eventFromRejectionWithPrimitive(error)\n : eventFromUnknownInput(error, undefined, {\n attachStacktrace,\n isRejection: true,\n });\n\n event.level = Severity.Error;\n\n addMechanismAndCapture(hub, error, event, 'onunhandledrejection');\n return;\n },\n );\n}\n\n/**\n * Create an event from a promise rejection where the `reason` is a primitive.\n *\n * @param reason: The `reason` property of the promise rejection\n * @returns An Event object with an appropriate `exception` value\n */\nfunction _eventFromRejectionWithPrimitive(reason: Primitive): Event {\n return {\n exception: {\n values: [\n {\n type: 'UnhandledRejection',\n // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)\n value: `Non-Error promise rejection captured with value: ${String(reason)}`,\n },\n ],\n },\n };\n}\n\n/**\n * This function creates a stack from an old, error-less onerror handler.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _eventFromIncompleteOnError(msg: any, url: any, line: any, column: any): Event {\n const ERROR_TYPES_RE =\n /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;\n\n // If 'message' is ErrorEvent, get real message from inside\n let message = isErrorEvent(msg) ? msg.message : msg;\n let name = 'Error';\n\n const groups = message.match(ERROR_TYPES_RE);\n if (groups) {\n name = groups[1];\n message = groups[2];\n }\n\n const event = {\n exception: {\n values: [\n {\n type: name,\n value: message,\n },\n ],\n },\n };\n\n return _enhanceEventWithInitialFrame(event, url, line, column);\n}\n\n/** JSDoc */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _enhanceEventWithInitialFrame(event: Event, url: any, line: any, column: any): Event {\n // event.exception\n const e = (event.exception = event.exception || {});\n // event.exception.values\n const ev = (e.values = e.values || []);\n // event.exception.values[0]\n const ev0 = (ev[0] = ev[0] || {});\n // event.exception.values[0].stacktrace\n const ev0s = (ev0.stacktrace = ev0.stacktrace || {});\n // event.exception.values[0].stacktrace.frames\n const ev0sf = (ev0s.frames = ev0s.frames || []);\n\n const colno = isNaN(parseInt(column, 10)) ? undefined : column;\n const lineno = isNaN(parseInt(line, 10)) ? undefined : line;\n const filename = isString(url) && url.length > 0 ? url : getLocationHref();\n\n // event.exception.values[0].stacktrace.frames\n if (ev0sf.length === 0) {\n ev0sf.push({\n colno,\n filename,\n function: '?',\n in_app: true,\n lineno,\n });\n }\n\n return event;\n}\n\nfunction globalHandlerLog(type: string): void {\n if (isDebugBuild()) {\n logger.log(`Global Handler attached: ${type}`);\n }\n}\n\nfunction addMechanismAndCapture(hub: Hub, error: EventHint['originalException'], event: Event, type: string): void {\n addExceptionMechanism(event, {\n handled: false,\n type,\n });\n hub.captureEvent(event, {\n originalException: error,\n });\n}\n\nfunction getHubAndAttachStacktrace(): [Hub, boolean | undefined] {\n const hub = getCurrentHub();\n const client = hub.getClient();\n const attachStacktrace = client && client.getOptions().attachStacktrace;\n return [hub, attachStacktrace];\n}\n","import { Integration, WrappedFunction } from '@sentry/types';\nimport { fill, getFunctionName, getGlobalObject, getOriginalFunction } from '@sentry/utils';\n\nimport { wrap } from '../helpers';\n\nconst DEFAULT_EVENT_TARGET = [\n 'EventTarget',\n 'Window',\n 'Node',\n 'ApplicationCache',\n 'AudioTrackList',\n 'ChannelMergerNode',\n 'CryptoOperation',\n 'EventSource',\n 'FileReader',\n 'HTMLUnknownElement',\n 'IDBDatabase',\n 'IDBRequest',\n 'IDBTransaction',\n 'KeyOperation',\n 'MediaController',\n 'MessagePort',\n 'ModalWindow',\n 'Notification',\n 'SVGElementInstance',\n 'Screen',\n 'TextTrack',\n 'TextTrackCue',\n 'TextTrackList',\n 'WebSocket',\n 'WebSocketWorker',\n 'Worker',\n 'XMLHttpRequest',\n 'XMLHttpRequestEventTarget',\n 'XMLHttpRequestUpload',\n];\n\ntype XMLHttpRequestProp = 'onload' | 'onerror' | 'onprogress' | 'onreadystatechange';\n\n/** JSDoc */\ninterface TryCatchOptions {\n setTimeout: boolean;\n setInterval: boolean;\n requestAnimationFrame: boolean;\n XMLHttpRequest: boolean;\n eventTarget: boolean | string[];\n}\n\n/** Wrap timer functions and event targets to catch errors and provide better meta data */\nexport class TryCatch implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'TryCatch';\n\n /**\n * @inheritDoc\n */\n public name: string = TryCatch.id;\n\n /** JSDoc */\n private readonly _options: TryCatchOptions;\n\n /**\n * @inheritDoc\n */\n public constructor(options?: Partial) {\n this._options = {\n XMLHttpRequest: true,\n eventTarget: true,\n requestAnimationFrame: true,\n setInterval: true,\n setTimeout: true,\n ...options,\n };\n }\n\n /**\n * Wrap timer functions and event targets to catch errors\n * and provide better metadata.\n */\n public setupOnce(): void {\n const global = getGlobalObject();\n\n if (this._options.setTimeout) {\n fill(global, 'setTimeout', _wrapTimeFunction);\n }\n\n if (this._options.setInterval) {\n fill(global, 'setInterval', _wrapTimeFunction);\n }\n\n if (this._options.requestAnimationFrame) {\n fill(global, 'requestAnimationFrame', _wrapRAF);\n }\n\n if (this._options.XMLHttpRequest && 'XMLHttpRequest' in global) {\n fill(XMLHttpRequest.prototype, 'send', _wrapXHR);\n }\n\n const eventTargetOption = this._options.eventTarget;\n if (eventTargetOption) {\n const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n eventTarget.forEach(_wrapEventTarget);\n }\n }\n}\n\n/** JSDoc */\nfunction _wrapTimeFunction(original: () => void): () => number {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: any, ...args: any[]): number {\n const originalCallback = args[0];\n args[0] = wrap(originalCallback, {\n mechanism: {\n data: { function: getFunctionName(original) },\n handled: true,\n type: 'instrument',\n },\n });\n return original.apply(this, args);\n };\n}\n\n/** JSDoc */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _wrapRAF(original: any): (callback: () => void) => any {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: any, callback: () => void): () => void {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return original.call(\n this,\n wrap(callback, {\n mechanism: {\n data: {\n function: 'requestAnimationFrame',\n handler: getFunctionName(original),\n },\n handled: true,\n type: 'instrument',\n },\n }),\n );\n };\n}\n\n/** JSDoc */\nfunction _wrapXHR(originalSend: () => void): () => void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: XMLHttpRequest, ...args: any[]): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const xmlHttpRequestProps: XMLHttpRequestProp[] = ['onload', 'onerror', 'onprogress', 'onreadystatechange'];\n\n xmlHttpRequestProps.forEach(prop => {\n if (prop in xhr && typeof xhr[prop] === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fill(xhr, prop, function (original: WrappedFunction): () => any {\n const wrapOptions = {\n mechanism: {\n data: {\n function: prop,\n handler: getFunctionName(original),\n },\n handled: true,\n type: 'instrument',\n },\n };\n\n // If Instrument integration has been called before TryCatch, get the name of original function\n const originalFunction = getOriginalFunction(original);\n if (originalFunction) {\n wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);\n }\n\n // Otherwise wrap directly\n return wrap(original, wrapOptions);\n });\n }\n });\n\n return originalSend.apply(this, args);\n };\n}\n\n/** JSDoc */\nfunction _wrapEventTarget(target: string): void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const global = getGlobalObject() as { [key: string]: any };\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = global[target] && global[target].prototype;\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (original: () => void): (\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ) => void {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this: any,\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): (eventName: string, fn: EventListenerObject, capture?: boolean, secure?: boolean) => void {\n try {\n if (typeof fn.handleEvent === 'function') {\n fn.handleEvent = wrap(fn.handleEvent.bind(fn), {\n mechanism: {\n data: {\n function: 'handleEvent',\n handler: getFunctionName(fn),\n target,\n },\n handled: true,\n type: 'instrument',\n },\n });\n }\n } catch (err) {\n // can sometimes get 'Permission denied to access property \"handle Event'\n }\n\n return original.call(\n this,\n eventName,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n wrap(fn as any as WrappedFunction, {\n mechanism: {\n data: {\n function: 'addEventListener',\n handler: getFunctionName(fn),\n target,\n },\n handled: true,\n type: 'instrument',\n },\n }),\n options,\n );\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (\n originalRemoveEventListener: () => void,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ): (this: any, eventName: string, fn: EventListenerObject, options?: boolean | EventListenerOptions) => () => void {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this: any,\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n /**\n * There are 2 possible scenarios here:\n *\n * 1. Someone passes a callback, which was attached prior to Sentry initialization, or by using unmodified\n * method, eg. `document.addEventListener.call(el, name, handler). In this case, we treat this function\n * as a pass-through, and call original `removeEventListener` with it.\n *\n * 2. Someone passes a callback, which was attached after Sentry was initialized, which means that it was using\n * our wrapped version of `addEventListener`, which internally calls `wrap` helper.\n * This helper \"wraps\" whole callback inside a try/catch statement, and attached appropriate metadata to it,\n * in order for us to make a distinction between wrapped/non-wrapped functions possible.\n * If a function was wrapped, it has additional property of `__sentry_wrapped__`, holding the handler.\n *\n * When someone adds a handler prior to initialization, and then do it again, but after,\n * then we have to detach both of them. Otherwise, if we'd detach only wrapped one, it'd be impossible\n * to get rid of the initial handler and it'd stick there forever.\n */\n const wrappedEventHandler = fn as unknown as WrappedFunction;\n try {\n const originalEventHandler = wrappedEventHandler && wrappedEventHandler.__sentry_wrapped__;\n if (originalEventHandler) {\n originalRemoveEventListener.call(this, eventName, originalEventHandler, options);\n }\n } catch (e) {\n // ignore, accessing __sentry_wrapped__ will throw in some Selenium environments\n }\n return originalRemoveEventListener.call(this, eventName, wrappedEventHandler, options);\n };\n },\n );\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable max-lines */\nimport { getCurrentHub } from '@sentry/core';\nimport { Event, Integration, Severity } from '@sentry/types';\nimport {\n addInstrumentationHandler,\n getEventDescription,\n getGlobalObject,\n htmlTreeAsString,\n parseUrl,\n safeJoin,\n severityFromString,\n} from '@sentry/utils';\n\n/** JSDoc */\ninterface BreadcrumbsOptions {\n console: boolean;\n dom: boolean | { serializeAttribute: string | string[] };\n fetch: boolean;\n history: boolean;\n sentry: boolean;\n xhr: boolean;\n}\n\n/**\n * Default Breadcrumbs instrumentations\n * TODO: Deprecated - with v6, this will be renamed to `Instrument`\n */\nexport class Breadcrumbs implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Breadcrumbs';\n\n /**\n * @inheritDoc\n */\n public name: string = Breadcrumbs.id;\n\n /** JSDoc */\n private readonly _options: BreadcrumbsOptions;\n\n /**\n * @inheritDoc\n */\n public constructor(options?: Partial) {\n this._options = {\n console: true,\n dom: true,\n fetch: true,\n history: true,\n sentry: true,\n xhr: true,\n ...options,\n };\n }\n\n /**\n * Create a breadcrumb of `sentry` from the events themselves\n */\n public addSentryBreadcrumb(event: Event): void {\n if (!this._options.sentry) {\n return;\n }\n getCurrentHub().addBreadcrumb(\n {\n category: `sentry.${event.type === 'transaction' ? 'transaction' : 'event'}`,\n event_id: event.event_id,\n level: event.level,\n message: getEventDescription(event),\n },\n {\n event,\n },\n );\n }\n\n /**\n * Instrument browser built-ins w/ breadcrumb capturing\n * - Console API\n * - DOM API (click/typing)\n * - XMLHttpRequest API\n * - Fetch API\n * - History API\n */\n public setupOnce(): void {\n if (this._options.console) {\n addInstrumentationHandler('console', _consoleBreadcrumb);\n }\n if (this._options.dom) {\n addInstrumentationHandler('dom', _domBreadcrumb(this._options.dom));\n }\n if (this._options.xhr) {\n addInstrumentationHandler('xhr', _xhrBreadcrumb);\n }\n if (this._options.fetch) {\n addInstrumentationHandler('fetch', _fetchBreadcrumb);\n }\n if (this._options.history) {\n addInstrumentationHandler('history', _historyBreadcrumb);\n }\n }\n}\n\n/**\n * A HOC that creaes a function that creates breadcrumbs from DOM API calls.\n * This is a HOC so that we get access to dom options in the closure.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _domBreadcrumb(dom: BreadcrumbsOptions['dom']): (handlerData: { [key: string]: any }) => void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n function _innerDomBreadcrumb(handlerData: { [key: string]: any }): void {\n let target;\n let keyAttrs = typeof dom === 'object' ? dom.serializeAttribute : undefined;\n\n if (typeof keyAttrs === 'string') {\n keyAttrs = [keyAttrs];\n }\n\n // Accessing event.target can throw (see getsentry/raven-js#838, #768)\n try {\n target = handlerData.event.target\n ? htmlTreeAsString(handlerData.event.target as Node, keyAttrs)\n : htmlTreeAsString(handlerData.event as unknown as Node, keyAttrs);\n } catch (e) {\n target = '';\n }\n\n if (target.length === 0) {\n return;\n }\n\n getCurrentHub().addBreadcrumb(\n {\n category: `ui.${handlerData.name}`,\n message: target,\n },\n {\n event: handlerData.event,\n name: handlerData.name,\n global: handlerData.global,\n },\n );\n }\n\n return _innerDomBreadcrumb;\n}\n\n/**\n * Creates breadcrumbs from console API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _consoleBreadcrumb(handlerData: { [key: string]: any }): void {\n const breadcrumb = {\n category: 'console',\n data: {\n arguments: handlerData.args,\n logger: 'console',\n },\n level: severityFromString(handlerData.level),\n message: safeJoin(handlerData.args, ' '),\n };\n\n if (handlerData.level === 'assert') {\n if (handlerData.args[0] === false) {\n breadcrumb.message = `Assertion failed: ${safeJoin(handlerData.args.slice(1), ' ') || 'console.assert'}`;\n breadcrumb.data.arguments = handlerData.args.slice(1);\n } else {\n // Don't capture a breadcrumb for passed assertions\n return;\n }\n }\n\n getCurrentHub().addBreadcrumb(breadcrumb, {\n input: handlerData.args,\n level: handlerData.level,\n });\n}\n\n/**\n * Creates breadcrumbs from XHR API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _xhrBreadcrumb(handlerData: { [key: string]: any }): void {\n if (handlerData.endTimestamp) {\n // We only capture complete, non-sentry requests\n if (handlerData.xhr.__sentry_own_request__) {\n return;\n }\n\n const { method, url, status_code, body } = handlerData.xhr.__sentry_xhr__ || {};\n\n getCurrentHub().addBreadcrumb(\n {\n category: 'xhr',\n data: {\n method,\n url,\n status_code,\n },\n type: 'http',\n },\n {\n xhr: handlerData.xhr,\n input: body,\n },\n );\n\n return;\n }\n}\n\n/**\n * Creates breadcrumbs from fetch API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _fetchBreadcrumb(handlerData: { [key: string]: any }): void {\n // We only capture complete fetch requests\n if (!handlerData.endTimestamp) {\n return;\n }\n\n if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === 'POST') {\n // We will not create breadcrumbs for fetch requests that contain `sentry_key` (internal sentry requests)\n return;\n }\n\n if (handlerData.error) {\n getCurrentHub().addBreadcrumb(\n {\n category: 'fetch',\n data: handlerData.fetchData,\n level: Severity.Error,\n type: 'http',\n },\n {\n data: handlerData.error,\n input: handlerData.args,\n },\n );\n } else {\n getCurrentHub().addBreadcrumb(\n {\n category: 'fetch',\n data: {\n ...handlerData.fetchData,\n status_code: handlerData.response.status,\n },\n type: 'http',\n },\n {\n input: handlerData.args,\n response: handlerData.response,\n },\n );\n }\n}\n\n/**\n * Creates breadcrumbs from history API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _historyBreadcrumb(handlerData: { [key: string]: any }): void {\n const global = getGlobalObject();\n let from = handlerData.from;\n let to = handlerData.to;\n const parsedLoc = parseUrl(global.location.href);\n let parsedFrom = parseUrl(from);\n const parsedTo = parseUrl(to);\n\n // Initial pushState doesn't provide `from` information\n if (!parsedFrom.path) {\n parsedFrom = parsedLoc;\n }\n\n // Use only the path component of the URL if the URL matches the current\n // document (almost all the time when using pushState)\n if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {\n to = parsedTo.relative;\n }\n if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {\n from = parsedFrom.relative;\n }\n\n getCurrentHub().addBreadcrumb({\n category: 'navigation',\n data: {\n from,\n to,\n },\n });\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Exception, ExtendedError, Integration } from '@sentry/types';\nimport { isInstanceOf } from '@sentry/utils';\n\nimport { exceptionFromError } from '../parsers';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\ninterface LinkedErrorsOptions {\n key: string;\n limit: number;\n}\n\n/** Adds SDK info to an event. */\nexport class LinkedErrors implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'LinkedErrors';\n\n /**\n * @inheritDoc\n */\n public readonly name: string = LinkedErrors.id;\n\n /**\n * @inheritDoc\n */\n private readonly _key: LinkedErrorsOptions['key'];\n\n /**\n * @inheritDoc\n */\n private readonly _limit: LinkedErrorsOptions['limit'];\n\n /**\n * @inheritDoc\n */\n public constructor(options: Partial = {}) {\n this._key = options.key || DEFAULT_KEY;\n this._limit = options.limit || DEFAULT_LIMIT;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event, hint?: EventHint) => {\n const self = getCurrentHub().getIntegration(LinkedErrors);\n return self ? _handler(self._key, self._limit, event, hint) : event;\n });\n }\n}\n\n/**\n * @inheritDoc\n */\nexport function _handler(key: string, limit: number, event: Event, hint?: EventHint): Event | null {\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return event;\n }\n const linkedErrors = _walkErrorTree(limit, hint.originalException as ExtendedError, key);\n event.exception.values = [...linkedErrors, ...event.exception.values];\n return event;\n}\n\n/**\n * JSDOC\n */\nexport function _walkErrorTree(limit: number, error: ExtendedError, key: string, stack: Exception[] = []): Exception[] {\n if (!isInstanceOf(error[key], Error) || stack.length + 1 >= limit) {\n return stack;\n }\n const exception = exceptionFromError(error[key]);\n return _walkErrorTree(limit, error[key], key, [exception, ...stack]);\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core';\nimport { Event, Integration } from '@sentry/types';\nimport { getGlobalObject } from '@sentry/utils';\n\nconst global = getGlobalObject();\n\n/** UserAgent */\nexport class UserAgent implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'UserAgent';\n\n /**\n * @inheritDoc\n */\n public name: string = UserAgent.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event) => {\n if (getCurrentHub().getIntegration(UserAgent)) {\n // if none of the information we want exists, don't bother\n if (!global.navigator && !global.location && !global.document) {\n return event;\n }\n\n // grab as much info as exists and add it to the event\n const url = (event.request && event.request.url) || (global.location && global.location.href);\n const { referrer } = global.document || {};\n const { userAgent } = global.navigator || {};\n\n const headers = {\n ...(event.request && event.request.headers),\n ...(referrer && { Referer: referrer }),\n ...(userAgent && { 'User-Agent': userAgent }),\n };\n const request = { ...(url && { url }), headers };\n\n return { ...event, request };\n }\n return event;\n });\n }\n}\n","import { Event, EventProcessor, Exception, Hub, Integration, StackFrame } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\n/** Deduplication filter */\nexport class Dedupe implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Dedupe';\n\n /**\n * @inheritDoc\n */\n public name: string = Dedupe.id;\n\n /**\n * @inheritDoc\n */\n private _previousEvent?: Event;\n\n /**\n * @inheritDoc\n */\n public setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n addGlobalEventProcessor((currentEvent: Event) => {\n const self = getCurrentHub().getIntegration(Dedupe);\n if (self) {\n // Juuust in case something goes wrong\n try {\n if (_shouldDropEvent(currentEvent, self._previousEvent)) {\n logger.warn(`Event dropped due to being a duplicate of previously captured event.`);\n return null;\n }\n } catch (_oO) {\n return (self._previousEvent = currentEvent);\n }\n\n return (self._previousEvent = currentEvent);\n }\n return currentEvent;\n });\n }\n}\n\n/** JSDoc */\nfunction _shouldDropEvent(currentEvent: Event, previousEvent?: Event): boolean {\n if (!previousEvent) {\n return false;\n }\n\n if (_isSameMessageEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n return false;\n}\n\n/** JSDoc */\nfunction _isSameMessageEvent(currentEvent: Event, previousEvent: Event): boolean {\n const currentMessage = currentEvent.message;\n const previousMessage = previousEvent.message;\n\n // If neither event has a message property, they were both exceptions, so bail out\n if (!currentMessage && !previousMessage) {\n return false;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentMessage && !previousMessage) || (!currentMessage && previousMessage)) {\n return false;\n }\n\n if (currentMessage !== previousMessage) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameExceptionEvent(currentEvent: Event, previousEvent: Event): boolean {\n const previousException = _getExceptionFromEvent(previousEvent);\n const currentException = _getExceptionFromEvent(currentEvent);\n\n if (!previousException || !currentException) {\n return false;\n }\n\n if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameStacktrace(currentEvent: Event, previousEvent: Event): boolean {\n let currentFrames = _getFramesFromEvent(currentEvent);\n let previousFrames = _getFramesFromEvent(previousEvent);\n\n // If neither event has a stacktrace, they are assumed to be the same\n if (!currentFrames && !previousFrames) {\n return true;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentFrames && !previousFrames) || (!currentFrames && previousFrames)) {\n return false;\n }\n\n currentFrames = currentFrames as StackFrame[];\n previousFrames = previousFrames as StackFrame[];\n\n // If number of frames differ, they are not the same\n if (previousFrames.length !== currentFrames.length) {\n return false;\n }\n\n // Otherwise, compare the two\n for (let i = 0; i < previousFrames.length; i++) {\n const frameA = previousFrames[i];\n const frameB = currentFrames[i];\n\n if (\n frameA.filename !== frameB.filename ||\n frameA.lineno !== frameB.lineno ||\n frameA.colno !== frameB.colno ||\n frameA.function !== frameB.function\n ) {\n return false;\n }\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameFingerprint(currentEvent: Event, previousEvent: Event): boolean {\n let currentFingerprint = currentEvent.fingerprint;\n let previousFingerprint = previousEvent.fingerprint;\n\n // If neither event has a fingerprint, they are assumed to be the same\n if (!currentFingerprint && !previousFingerprint) {\n return true;\n }\n\n // If only one event has a fingerprint, but not the other one, they are not the same\n if ((currentFingerprint && !previousFingerprint) || (!currentFingerprint && previousFingerprint)) {\n return false;\n }\n\n currentFingerprint = currentFingerprint as string[];\n previousFingerprint = previousFingerprint as string[];\n\n // Otherwise, compare the two\n try {\n return !!(currentFingerprint.join('') === previousFingerprint.join(''));\n } catch (_oO) {\n return false;\n }\n}\n\n/** JSDoc */\nfunction _getExceptionFromEvent(event: Event): Exception | undefined {\n return event.exception && event.exception.values && event.exception.values[0];\n}\n\n/** JSDoc */\nfunction _getFramesFromEvent(event: Event): StackFrame[] | undefined {\n const exception = event.exception;\n\n if (exception) {\n try {\n // @ts-ignore Object could be undefined\n return exception.values[0].stacktrace.frames;\n } catch (_oO) {\n return undefined;\n }\n } else if (event.stacktrace) {\n return event.stacktrace.frames;\n }\n return undefined;\n}\n","import { BaseClient, Scope, SDK_VERSION } from '@sentry/core';\nimport { Event, EventHint } from '@sentry/types';\nimport { getGlobalObject, logger } from '@sentry/utils';\n\nimport { BrowserBackend, BrowserOptions } from './backend';\nimport { injectReportDialog, ReportDialogOptions } from './helpers';\nimport { Breadcrumbs } from './integrations';\n\n/**\n * The Sentry Browser SDK Client.\n *\n * @see BrowserOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\nexport class BrowserClient extends BaseClient {\n /**\n * Creates a new Browser SDK instance.\n *\n * @param options Configuration options for this SDK.\n */\n public constructor(options: BrowserOptions = {}) {\n options._metadata = options._metadata || {};\n options._metadata.sdk = options._metadata.sdk || {\n name: 'sentry.javascript.browser',\n packages: [\n {\n name: 'npm:@sentry/browser',\n version: SDK_VERSION,\n },\n ],\n version: SDK_VERSION,\n };\n\n super(BrowserBackend, options);\n }\n\n /**\n * Show a report dialog to the user to send feedback to a specific event.\n *\n * @param options Set individual options for the dialog\n */\n public showReportDialog(options: ReportDialogOptions = {}): void {\n // doesn't work without a document (React Native)\n const document = getGlobalObject().document;\n if (!document) {\n return;\n }\n\n if (!this._isEnabled()) {\n logger.error('Trying to call showReportDialog with Sentry Client disabled');\n return;\n }\n\n injectReportDialog({\n ...options,\n dsn: options.dsn || this.getDsn(),\n });\n }\n\n /**\n * @inheritDoc\n */\n protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike {\n event.platform = event.platform || 'javascript';\n return super._prepareEvent(event, scope, hint);\n }\n\n /**\n * @inheritDoc\n */\n protected _sendEvent(event: Event): void {\n const integration = this.getIntegration(Breadcrumbs);\n if (integration) {\n integration.addSentryBreadcrumb(event);\n }\n super._sendEvent(event);\n }\n}\n","import { getCurrentHub, initAndBind, Integrations as CoreIntegrations } from '@sentry/core';\nimport { Hub } from '@sentry/types';\nimport { addInstrumentationHandler, getGlobalObject, isDebugBuild, logger, resolvedSyncPromise } from '@sentry/utils';\n\nimport { BrowserOptions } from './backend';\nimport { BrowserClient } from './client';\nimport { ReportDialogOptions, wrap as internalWrap } from './helpers';\nimport { Breadcrumbs, Dedupe, GlobalHandlers, LinkedErrors, TryCatch, UserAgent } from './integrations';\n\nexport const defaultIntegrations = [\n new CoreIntegrations.InboundFilters(),\n new CoreIntegrations.FunctionToString(),\n new TryCatch(),\n new Breadcrumbs(),\n new GlobalHandlers(),\n new LinkedErrors(),\n new Dedupe(),\n new UserAgent(),\n];\n\n/**\n * The Sentry Browser SDK Client.\n *\n * To use this SDK, call the {@link init} function as early as possible when\n * loading the web page. To set context information or send manual events, use\n * the provided methods.\n *\n * @example\n *\n * ```\n *\n * import { init } from '@sentry/browser';\n *\n * init({\n * dsn: '__DSN__',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { configureScope } from '@sentry/browser';\n * configureScope((scope: Scope) => {\n * scope.setExtra({ battery: 0.7 });\n * scope.setTag({ user_mode: 'admin' });\n * scope.setUser({ id: '4711' });\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { addBreadcrumb } from '@sentry/browser';\n * addBreadcrumb({\n * message: 'My Breadcrumb',\n * // ...\n * });\n * ```\n *\n * @example\n *\n * ```\n *\n * import * as Sentry from '@sentry/browser';\n * Sentry.captureMessage('Hello, world!');\n * Sentry.captureException(new Error('Good bye'));\n * Sentry.captureEvent({\n * message: 'Manual',\n * stacktrace: [\n * // ...\n * ],\n * });\n * ```\n *\n * @see {@link BrowserOptions} for documentation on configuration options.\n */\nexport function init(options: BrowserOptions = {}): void {\n if (options.defaultIntegrations === undefined) {\n options.defaultIntegrations = defaultIntegrations;\n }\n if (options.release === undefined) {\n const window = getGlobalObject();\n // This supports the variable that sentry-webpack-plugin injects\n if (window.SENTRY_RELEASE && window.SENTRY_RELEASE.id) {\n options.release = window.SENTRY_RELEASE.id;\n }\n }\n if (options.autoSessionTracking === undefined) {\n options.autoSessionTracking = true;\n }\n if (options.sendClientReports === undefined) {\n options.sendClientReports = true;\n }\n\n initAndBind(BrowserClient, options);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n}\n\n/**\n * Present the user with a report dialog.\n *\n * @param options Everything is optional, we try to fetch all info need from the global scope.\n */\nexport function showReportDialog(options: ReportDialogOptions = {}): void {\n const hub = getCurrentHub();\n const scope = hub.getScope();\n if (scope) {\n options.user = {\n ...scope.getUser(),\n ...options.user,\n };\n }\n\n if (!options.eventId) {\n options.eventId = hub.lastEventId();\n }\n const client = hub.getClient();\n if (client) {\n client.showReportDialog(options);\n }\n}\n\n/**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n */\nexport function lastEventId(): string | undefined {\n return getCurrentHub().lastEventId();\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nexport function forceLoad(): void {\n // Noop\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nexport function onLoad(callback: () => void): void {\n callback();\n}\n\n/**\n * Call `flush()` on the current client, if there is one. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause\n * the client to wait until all events are sent before resolving the promise.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport function flush(timeout?: number): PromiseLike {\n const client = getCurrentHub().getClient();\n if (client) {\n return client.flush(timeout);\n }\n if (isDebugBuild()) {\n logger.warn('Cannot flush events. No client defined.');\n }\n return resolvedSyncPromise(false);\n}\n\n/**\n * Call `close()` on the current client, if there is one. See {@link Client.close}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this\n * parameter will cause the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport function close(timeout?: number): PromiseLike {\n const client = getCurrentHub().getClient();\n if (client) {\n return client.close(timeout);\n }\n if (isDebugBuild()) {\n logger.warn('Cannot flush events and disable SDK. No client defined.');\n }\n return resolvedSyncPromise(false);\n}\n\n/**\n * Wrap code within a try/catch block so the SDK is able to capture errors.\n *\n * @param fn A function to wrap.\n *\n * @returns The result of wrapped function call.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function wrap(fn: (...args: any) => any): any {\n return internalWrap(fn)();\n}\n\nfunction startSessionOnHub(hub: Hub): void {\n hub.startSession({ ignoreDuration: true });\n hub.captureSession();\n}\n\n/**\n * Enable automatic Session Tracking for the initial page load.\n */\nfunction startSessionTracking(): void {\n const window = getGlobalObject();\n const document = window.document;\n\n if (typeof document === 'undefined') {\n if (isDebugBuild()) {\n logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.');\n }\n return;\n }\n\n const hub = getCurrentHub();\n\n // The only way for this to be false is for there to be a version mismatch between @sentry/browser (>= 6.0.0) and\n // @sentry/hub (< 5.27.0). In the simple case, there won't ever be such a mismatch, because the two packages are\n // pinned at the same version in package.json, but there are edge cases where it's possible. See\n // https://github.com/getsentry/sentry-javascript/issues/3207 and\n // https://github.com/getsentry/sentry-javascript/issues/3234 and\n // https://github.com/getsentry/sentry-javascript/issues/3278.\n if (!hub.captureSession) {\n return;\n }\n\n // The session duration for browser sessions does not track a meaningful\n // concept that can be used as a metric.\n // Automatically captured sessions are akin to page views, and thus we\n // discard their duration.\n startSessionOnHub(hub);\n\n // We want to create a session for every navigation as well\n addInstrumentationHandler('history', ({ from, to }) => {\n // Don't create an additional session for the initial route or if the location did not change\n if (!(from === undefined || from === to)) {\n startSessionOnHub(getCurrentHub());\n }\n });\n}\n","// TODO: Remove in the next major release and rely only on @sentry/core SDK_VERSION and SdkInfo metadata\nexport const SDK_NAME = 'sentry.javascript.browser';\n","export * from './exports';\n\nimport { Integrations as CoreIntegrations } from '@sentry/core';\nimport { getGlobalObject } from '@sentry/utils';\n\nimport * as BrowserIntegrations from './integrations';\nimport * as Transports from './transports';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nconst _window = getGlobalObject();\nif (_window.Sentry && _window.Sentry.Integrations) {\n windowIntegrations = _window.Sentry.Integrations;\n}\n\nconst INTEGRATIONS = {\n ...windowIntegrations,\n ...CoreIntegrations,\n ...BrowserIntegrations,\n};\n\nexport { INTEGRATIONS as Integrations, Transports };\n","import { getCurrentHub, Hub } from '@sentry/hub';\nimport { Options, TraceparentData, Transaction } from '@sentry/types';\n\nexport const TRACEPARENT_REGEXP = new RegExp(\n '^[ \\\\t]*' + // whitespace\n '([0-9a-f]{32})?' + // trace_id\n '-?([0-9a-f]{16})?' + // span_id\n '-?([01])?' + // sampled\n '[ \\\\t]*$', // whitespace\n);\n\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\nexport function hasTracingEnabled(maybeOptions?: Options | undefined): boolean {\n const client = getCurrentHub().getClient();\n const options = maybeOptions || (client && client.getOptions());\n return !!options && ('tracesSampleRate' in options || 'tracesSampler' in options);\n}\n\n/**\n * Extract transaction context data from a `sentry-trace` header.\n *\n * @param traceparent Traceparent string\n *\n * @returns Object containing data from the header, or undefined if traceparent string is malformed\n */\nexport function extractTraceparentData(traceparent: string): TraceparentData | undefined {\n const matches = traceparent.match(TRACEPARENT_REGEXP);\n if (matches) {\n let parentSampled: boolean | undefined;\n if (matches[3] === '1') {\n parentSampled = true;\n } else if (matches[3] === '0') {\n parentSampled = false;\n }\n return {\n traceId: matches[1],\n parentSampled,\n parentSpanId: matches[2],\n };\n }\n return undefined;\n}\n\n/** Grabs active transaction off scope, if any */\nexport function getActiveTransaction(maybeHub?: Hub): T | undefined {\n const hub = maybeHub || getCurrentHub();\n const scope = hub.getScope();\n return scope && (scope.getTransaction() as T | undefined);\n}\n\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nexport function msToSec(time: number): number {\n return time / 1000;\n}\n\n/**\n * Converts from seconds to milliseconds\n * @param time time in seconds\n */\nexport function secToMs(time: number): number {\n return time * 1000;\n}\n\n// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry/utils\nexport { stripUrlQueryAndFragment } from '@sentry/utils';\n","import { addInstrumentationHandler, logger } from '@sentry/utils';\n\nimport { SpanStatusType } from './span';\nimport { getActiveTransaction } from './utils';\n\n/**\n * Configures global error listeners\n */\nexport function registerErrorInstrumentation(): void {\n addInstrumentationHandler('error', errorCallback);\n addInstrumentationHandler('unhandledrejection', errorCallback);\n}\n\n/**\n * If an error or unhandled promise occurs, we mark the active transaction as failed\n */\nfunction errorCallback(): void {\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const status: SpanStatusType = 'internal_error';\n logger.log(`[Tracing] Transaction: ${status} -> Global error occured`);\n activeTransaction.setStatus(status);\n }\n}\n","// Store finish reasons in tuple to save on bundle size\n// Readonly type should enforce that this is not mutated.\nexport const FINISH_REASON_TAG = 'finishReason';\n\nexport const IDLE_TRANSACTION_FINISH_REASONS = ['heartbeatFailed', 'idleTimeout', 'documentHidden'] as const;\n","/* eslint-disable max-lines */\nimport { Primitive, Span as SpanInterface, SpanContext, Transaction } from '@sentry/types';\nimport { dropUndefinedKeys, timestampWithMs, uuid4 } from '@sentry/utils';\n\n/**\n * Keeps track of finished spans for a given transaction\n * @internal\n * @hideconstructor\n * @hidden\n */\nexport class SpanRecorder {\n public spans: Span[] = [];\n\n private readonly _maxlen: number;\n\n public constructor(maxlen: number = 1000) {\n this._maxlen = maxlen;\n }\n\n /**\n * This is just so that we don't run out of memory while recording a lot\n * of spans. At some point we just stop and flush out the start of the\n * trace tree (i.e.the first n spans with the smallest\n * start_timestamp).\n */\n public add(span: Span): void {\n if (this.spans.length > this._maxlen) {\n span.spanRecorder = undefined;\n } else {\n this.spans.push(span);\n }\n }\n}\n\n/**\n * Span contains all data about a span\n */\nexport class Span implements SpanInterface {\n /**\n * @inheritDoc\n */\n public traceId: string = uuid4();\n\n /**\n * @inheritDoc\n */\n public spanId: string = uuid4().substring(16);\n\n /**\n * @inheritDoc\n */\n public parentSpanId?: string;\n\n /**\n * Internal keeper of the status\n */\n public status?: SpanStatusType | string;\n\n /**\n * @inheritDoc\n */\n public sampled?: boolean;\n\n /**\n * Timestamp in seconds when the span was created.\n */\n public startTimestamp: number = timestampWithMs();\n\n /**\n * Timestamp in seconds when the span ended.\n */\n public endTimestamp?: number;\n\n /**\n * @inheritDoc\n */\n public op?: string;\n\n /**\n * @inheritDoc\n */\n public description?: string;\n\n /**\n * @inheritDoc\n */\n public tags: { [key: string]: Primitive } = {};\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public data: { [key: string]: any } = {};\n\n /**\n * List of spans that were finalized\n */\n public spanRecorder?: SpanRecorder;\n\n /**\n * @inheritDoc\n */\n public transaction?: Transaction;\n\n /**\n * You should never call the constructor manually, always use `Sentry.startTransaction()`\n * or call `startChild()` on an existing span.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(spanContext?: SpanContext) {\n if (!spanContext) {\n return this;\n }\n if (spanContext.traceId) {\n this.traceId = spanContext.traceId;\n }\n if (spanContext.spanId) {\n this.spanId = spanContext.spanId;\n }\n if (spanContext.parentSpanId) {\n this.parentSpanId = spanContext.parentSpanId;\n }\n // We want to include booleans as well here\n if ('sampled' in spanContext) {\n this.sampled = spanContext.sampled;\n }\n if (spanContext.op) {\n this.op = spanContext.op;\n }\n if (spanContext.description) {\n this.description = spanContext.description;\n }\n if (spanContext.data) {\n this.data = spanContext.data;\n }\n if (spanContext.tags) {\n this.tags = spanContext.tags;\n }\n if (spanContext.status) {\n this.status = spanContext.status;\n }\n if (spanContext.startTimestamp) {\n this.startTimestamp = spanContext.startTimestamp;\n }\n if (spanContext.endTimestamp) {\n this.endTimestamp = spanContext.endTimestamp;\n }\n }\n\n /**\n * @inheritDoc\n * @deprecated\n */\n public child(\n spanContext?: Pick>,\n ): Span {\n return this.startChild(spanContext);\n }\n\n /**\n * @inheritDoc\n */\n public startChild(\n spanContext?: Pick>,\n ): Span {\n const childSpan = new Span({\n ...spanContext,\n parentSpanId: this.spanId,\n sampled: this.sampled,\n traceId: this.traceId,\n });\n\n childSpan.spanRecorder = this.spanRecorder;\n if (childSpan.spanRecorder) {\n childSpan.spanRecorder.add(childSpan);\n }\n\n childSpan.transaction = this.transaction;\n\n return childSpan;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this.tags = { ...this.tags, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public setData(key: string, value: any): this {\n this.data = { ...this.data, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setStatus(value: SpanStatusType): this {\n this.status = value;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setHttpStatus(httpStatus: number): this {\n this.setTag('http.status_code', String(httpStatus));\n const spanStatus = spanStatusfromHttpCode(httpStatus);\n if (spanStatus !== 'unknown_error') {\n this.setStatus(spanStatus);\n }\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public isSuccess(): boolean {\n return this.status === 'ok';\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): void {\n this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n }\n\n /**\n * @inheritDoc\n */\n public toTraceparent(): string {\n let sampledString = '';\n if (this.sampled !== undefined) {\n sampledString = this.sampled ? '-1' : '-0';\n }\n return `${this.traceId}-${this.spanId}${sampledString}`;\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): SpanContext {\n return dropUndefinedKeys({\n data: this.data,\n description: this.description,\n endTimestamp: this.endTimestamp,\n op: this.op,\n parentSpanId: this.parentSpanId,\n sampled: this.sampled,\n spanId: this.spanId,\n startTimestamp: this.startTimestamp,\n status: this.status,\n tags: this.tags,\n traceId: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(spanContext: SpanContext): this {\n this.data = spanContext.data ?? {};\n this.description = spanContext.description;\n this.endTimestamp = spanContext.endTimestamp;\n this.op = spanContext.op;\n this.parentSpanId = spanContext.parentSpanId;\n this.sampled = spanContext.sampled;\n this.spanId = spanContext.spanId ?? this.spanId;\n this.startTimestamp = spanContext.startTimestamp ?? this.startTimestamp;\n this.status = spanContext.status;\n this.tags = spanContext.tags ?? {};\n this.traceId = spanContext.traceId ?? this.traceId;\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getTraceContext(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n status?: string;\n tags?: { [key: string]: Primitive };\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n trace_id: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public toJSON(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n start_timestamp: number;\n status?: string;\n tags?: { [key: string]: Primitive };\n timestamp?: number;\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n start_timestamp: this.startTimestamp,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n timestamp: this.endTimestamp,\n trace_id: this.traceId,\n });\n }\n}\n\nexport type SpanStatusType =\n /** The operation completed successfully. */\n | 'ok'\n /** Deadline expired before operation could complete. */\n | 'deadline_exceeded'\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n | 'unauthenticated'\n /** 403 Forbidden */\n | 'permission_denied'\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n | 'not_found'\n /** 429 Too Many Requests */\n | 'resource_exhausted'\n /** Client specified an invalid argument. 4xx. */\n | 'invalid_argument'\n /** 501 Not Implemented */\n | 'unimplemented'\n /** 503 Service Unavailable */\n | 'unavailable'\n /** Other/generic 5xx. */\n | 'internal_error'\n /** Unknown. Any non-standard HTTP status code. */\n | 'unknown_error'\n /** The operation was cancelled (typically by the user). */\n | 'cancelled'\n /** Already exists (409) */\n | 'already_exists'\n /** Operation was rejected because the system is not in a state required for the operation's */\n | 'failed_precondition'\n /** The operation was aborted, typically due to a concurrency issue. */\n | 'aborted'\n /** Operation was attempted past the valid range. */\n | 'out_of_range'\n /** Unrecoverable data loss or corruption */\n | 'data_loss';\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nexport function spanStatusfromHttpCode(httpStatus: number): SpanStatusType {\n if (httpStatus < 400 && httpStatus >= 100) {\n return 'ok';\n }\n\n if (httpStatus >= 400 && httpStatus < 500) {\n switch (httpStatus) {\n case 401:\n return 'unauthenticated';\n case 403:\n return 'permission_denied';\n case 404:\n return 'not_found';\n case 409:\n return 'already_exists';\n case 413:\n return 'failed_precondition';\n case 429:\n return 'resource_exhausted';\n default:\n return 'invalid_argument';\n }\n }\n\n if (httpStatus >= 500 && httpStatus < 600) {\n switch (httpStatus) {\n case 501:\n return 'unimplemented';\n case 503:\n return 'unavailable';\n case 504:\n return 'deadline_exceeded';\n default:\n return 'internal_error';\n }\n }\n\n return 'unknown_error';\n}\n","import { getCurrentHub, Hub } from '@sentry/hub';\nimport {\n Event,\n Measurements,\n Transaction as TransactionInterface,\n TransactionContext,\n TransactionMetadata,\n} from '@sentry/types';\nimport { dropUndefinedKeys, isInstanceOf, logger } from '@sentry/utils';\n\nimport { Span as SpanClass, SpanRecorder } from './span';\n\n/** JSDoc */\nexport class Transaction extends SpanClass implements TransactionInterface {\n public name: string;\n\n public metadata: TransactionMetadata;\n\n private _measurements: Measurements = {};\n\n /**\n * The reference to the current hub.\n */\n private readonly _hub: Hub = getCurrentHub() as unknown as Hub;\n\n private _trimEnd?: boolean;\n\n /**\n * This constructor should never be called manually. Those instrumenting tracing should use\n * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(transactionContext: TransactionContext, hub?: Hub) {\n super(transactionContext);\n\n if (isInstanceOf(hub, Hub)) {\n this._hub = hub as Hub;\n }\n\n this.name = transactionContext.name || '';\n\n this.metadata = transactionContext.metadata || {};\n this._trimEnd = transactionContext.trimEnd;\n\n // this is because transactions are also spans, and spans have a transaction pointer\n this.transaction = this;\n }\n\n /**\n * JSDoc\n */\n public setName(name: string): void {\n this.name = name;\n }\n\n /**\n * Attaches SpanRecorder to the span itself\n * @param maxlen maximum number of spans that can be recorded\n */\n public initSpanRecorder(maxlen: number = 1000): void {\n if (!this.spanRecorder) {\n this.spanRecorder = new SpanRecorder(maxlen);\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Set observed measurements for this transaction.\n * @hidden\n */\n public setMeasurements(measurements: Measurements): void {\n this._measurements = { ...measurements };\n }\n\n /**\n * Set metadata for this transaction.\n * @hidden\n */\n public setMetadata(newMetadata: TransactionMetadata): void {\n this.metadata = { ...this.metadata, ...newMetadata };\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): string | undefined {\n // This transaction is already finished, so we should not flush it again.\n if (this.endTimestamp !== undefined) {\n return undefined;\n }\n\n if (!this.name) {\n logger.warn('Transaction has no name, falling back to ``.');\n this.name = '';\n }\n\n // just sets the end timestamp\n super.finish(endTimestamp);\n\n if (this.sampled !== true) {\n // At this point if `sampled !== true` we want to discard the transaction.\n logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');\n\n const client = this._hub.getClient();\n const transport = client && client.getTransport && client.getTransport();\n if (transport && transport.recordLostEvent) {\n transport.recordLostEvent('sample_rate', 'transaction');\n }\n return undefined;\n }\n\n const finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(s => s !== this && s.endTimestamp) : [];\n\n if (this._trimEnd && finishedSpans.length > 0) {\n this.endTimestamp = finishedSpans.reduce((prev: SpanClass, current: SpanClass) => {\n if (prev.endTimestamp && current.endTimestamp) {\n return prev.endTimestamp > current.endTimestamp ? prev : current;\n }\n return prev;\n }).endTimestamp;\n }\n\n const transaction: Event = {\n contexts: {\n trace: this.getTraceContext(),\n },\n spans: finishedSpans,\n start_timestamp: this.startTimestamp,\n tags: this.tags,\n timestamp: this.endTimestamp,\n transaction: this.name,\n type: 'transaction',\n sdkProcessingMetadata: this.metadata,\n };\n\n const hasMeasurements = Object.keys(this._measurements).length > 0;\n\n if (hasMeasurements) {\n logger.log('[Measurements] Adding measurements to transaction', JSON.stringify(this._measurements, undefined, 2));\n transaction.measurements = this._measurements;\n }\n\n logger.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`);\n\n return this._hub.captureEvent(transaction);\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): TransactionContext {\n const spanContext = super.toContext();\n\n return dropUndefinedKeys({\n ...spanContext,\n name: this.name,\n trimEnd: this._trimEnd,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(transactionContext: TransactionContext): this {\n super.updateWithContext(transactionContext);\n\n this.name = transactionContext.name ?? '';\n\n this._trimEnd = transactionContext.trimEnd;\n\n return this;\n }\n}\n","import { Hub } from '@sentry/hub';\nimport { TransactionContext } from '@sentry/types';\nimport { logger, timestampWithMs } from '@sentry/utils';\n\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from './constants';\nimport { Span, SpanRecorder } from './span';\nimport { Transaction } from './transaction';\n\nexport const DEFAULT_IDLE_TIMEOUT = 1000;\nexport const HEARTBEAT_INTERVAL = 5000;\n\n/**\n * @inheritDoc\n */\nexport class IdleTransactionSpanRecorder extends SpanRecorder {\n public constructor(\n private readonly _pushActivity: (id: string) => void,\n private readonly _popActivity: (id: string) => void,\n public transactionSpanId: string = '',\n maxlen?: number,\n ) {\n super(maxlen);\n }\n\n /**\n * @inheritDoc\n */\n public add(span: Span): void {\n // We should make sure we do not push and pop activities for\n // the transaction that this span recorder belongs to.\n if (span.spanId !== this.transactionSpanId) {\n // We patch span.finish() to pop an activity after setting an endTimestamp.\n span.finish = (endTimestamp?: number) => {\n span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n this._popActivity(span.spanId);\n };\n\n // We should only push new activities if the span does not have an end timestamp.\n if (span.endTimestamp === undefined) {\n this._pushActivity(span.spanId);\n }\n }\n\n super.add(span);\n }\n}\n\nexport type BeforeFinishCallback = (transactionSpan: IdleTransaction, endTimestamp: number) => void;\n\n/**\n * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities.\n * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will\n * put itself on the scope on creation.\n */\nexport class IdleTransaction extends Transaction {\n // Activities store a list of active spans\n public activities: Record = {};\n\n // Track state of activities in previous heartbeat\n private _prevHeartbeatString: string | undefined;\n\n // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats.\n private _heartbeatCounter: number = 0;\n\n // We should not use heartbeat if we finished a transaction\n private _finished: boolean = false;\n\n private readonly _beforeFinishCallbacks: BeforeFinishCallback[] = [];\n\n /**\n * If a transaction is created and no activities are added, we want to make sure that\n * it times out properly. This is cleared and not used when activities are added.\n */\n private _initTimeout: ReturnType | undefined;\n\n public constructor(\n transactionContext: TransactionContext,\n private readonly _idleHub?: Hub,\n /**\n * The time to wait in ms until the idle transaction will be finished.\n * @default 1000\n */\n private readonly _idleTimeout: number = DEFAULT_IDLE_TIMEOUT,\n // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends\n private readonly _onScope: boolean = false,\n ) {\n super(transactionContext, _idleHub);\n\n if (_idleHub && _onScope) {\n // There should only be one active transaction on the scope\n clearActiveTransaction(_idleHub);\n\n // We set the transaction here on the scope so error events pick up the trace\n // context and attach it to the error.\n logger.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`);\n _idleHub.configureScope(scope => scope.setSpan(this));\n }\n\n this._initTimeout = setTimeout(() => {\n if (!this._finished) {\n this.finish();\n }\n }, this._idleTimeout);\n }\n\n /** {@inheritDoc} */\n public finish(endTimestamp: number = timestampWithMs()): string | undefined {\n this._finished = true;\n this.activities = {};\n\n if (this.spanRecorder) {\n logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op);\n\n for (const callback of this._beforeFinishCallbacks) {\n callback(this, endTimestamp);\n }\n\n this.spanRecorder.spans = this.spanRecorder.spans.filter((span: Span) => {\n // If we are dealing with the transaction itself, we just return it\n if (span.spanId === this.spanId) {\n return true;\n }\n\n // We cancel all pending spans with status \"cancelled\" to indicate the idle transaction was finished early\n if (!span.endTimestamp) {\n span.endTimestamp = endTimestamp;\n span.setStatus('cancelled');\n logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2));\n }\n\n const keepSpan = span.startTimestamp < endTimestamp;\n if (!keepSpan) {\n logger.log(\n '[Tracing] discarding Span since it happened after Transaction was finished',\n JSON.stringify(span, undefined, 2),\n );\n }\n return keepSpan;\n });\n\n logger.log('[Tracing] flushing IdleTransaction');\n } else {\n logger.log('[Tracing] No active IdleTransaction');\n }\n\n // if `this._onScope` is `true`, the transaction put itself on the scope when it started\n if (this._onScope) {\n clearActiveTransaction(this._idleHub);\n }\n\n return super.finish(endTimestamp);\n }\n\n /**\n * Register a callback function that gets excecuted before the transaction finishes.\n * Useful for cleanup or if you want to add any additional spans based on current context.\n *\n * This is exposed because users have no other way of running something before an idle transaction\n * finishes.\n */\n public registerBeforeFinishCallback(callback: BeforeFinishCallback): void {\n this._beforeFinishCallbacks.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public initSpanRecorder(maxlen?: number): void {\n if (!this.spanRecorder) {\n const pushActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._pushActivity(id);\n };\n const popActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._popActivity(id);\n };\n\n this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen);\n\n // Start heartbeat so that transactions do not run forever.\n logger.log('Starting heartbeat');\n this._pingHeartbeat();\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n private _pushActivity(spanId: string): void {\n if (this._initTimeout) {\n clearTimeout(this._initTimeout);\n this._initTimeout = undefined;\n }\n logger.log(`[Tracing] pushActivity: ${spanId}`);\n this.activities[spanId] = true;\n logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n private _popActivity(spanId: string): void {\n if (this.activities[spanId]) {\n logger.log(`[Tracing] popActivity ${spanId}`);\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this.activities[spanId];\n logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n if (Object.keys(this.activities).length === 0) {\n const timeout = this._idleTimeout;\n // We need to add the timeout here to have the real endtimestamp of the transaction\n // Remember timestampWithMs is in seconds, timeout is in ms\n const end = timestampWithMs() + timeout / 1000;\n\n setTimeout(() => {\n if (!this._finished) {\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[1]);\n this.finish(end);\n }\n }, timeout);\n }\n }\n\n /**\n * Checks when entries of this.activities are not changing for 3 beats.\n * If this occurs we finish the transaction.\n */\n private _beat(): void {\n // We should not be running heartbeat if the idle transaction is finished.\n if (this._finished) {\n return;\n }\n\n const heartbeatString = Object.keys(this.activities).join('');\n\n if (heartbeatString === this._prevHeartbeatString) {\n this._heartbeatCounter += 1;\n } else {\n this._heartbeatCounter = 1;\n }\n\n this._prevHeartbeatString = heartbeatString;\n\n if (this._heartbeatCounter >= 3) {\n logger.log(`[Tracing] Transaction finished because of no change for 3 heart beats`);\n this.setStatus('deadline_exceeded');\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[0]);\n this.finish();\n } else {\n this._pingHeartbeat();\n }\n }\n\n /**\n * Pings the heartbeat\n */\n private _pingHeartbeat(): void {\n logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`);\n setTimeout(() => {\n this._beat();\n }, HEARTBEAT_INTERVAL);\n }\n}\n\n/**\n * Reset transaction on scope to `undefined`\n */\nfunction clearActiveTransaction(hub?: Hub): void {\n if (hub) {\n const scope = hub.getScope();\n if (scope) {\n const transaction = scope.getTransaction();\n if (transaction) {\n scope.setSpan(undefined);\n }\n }\n }\n}\n","import { getMainCarrier, Hub } from '@sentry/hub';\nimport {\n CustomSamplingContext,\n Integration,\n IntegrationClass,\n Options,\n SamplingContext,\n TransactionContext,\n} from '@sentry/types';\nimport { dynamicRequire, isNodeEnv, loadModule, logger } from '@sentry/utils';\n\nimport { registerErrorInstrumentation } from './errors';\nimport { IdleTransaction } from './idletransaction';\nimport { Transaction } from './transaction';\nimport { hasTracingEnabled } from './utils';\n\n/** Returns all trace headers that are currently on the top scope. */\nfunction traceHeaders(this: Hub): { [key: string]: string } {\n const scope = this.getScope();\n if (scope) {\n const span = scope.getSpan();\n if (span) {\n return {\n 'sentry-trace': span.toTraceparent(),\n };\n }\n }\n return {};\n}\n\n/**\n * Makes a sampling decision for the given transaction and stores it on the transaction.\n *\n * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n *\n * @param transaction: The transaction needing a sampling decision\n * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler`\n * @param samplingContext: Default and user-provided data which may be used to help make the decision\n *\n * @returns The given transaction with its `sampled` value set\n */\nfunction sample(transaction: T, options: Options, samplingContext: SamplingContext): T {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n transaction.sampled = false;\n return transaction;\n }\n\n // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that\n if (transaction.sampled !== undefined) {\n transaction.setMetadata({\n transactionSampling: { method: 'explicitly_set' },\n });\n return transaction;\n }\n\n // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` were defined, so one of these should\n // work; prefer the hook if so\n let sampleRate;\n if (typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler(samplingContext);\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_sampler',\n // cast to number in case it's a boolean\n rate: Number(sampleRate),\n },\n });\n } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n transaction.setMetadata({\n transactionSampling: { method: 'inheritance' },\n });\n } else {\n sampleRate = options.tracesSampleRate;\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_rate',\n // cast to number in case it's a boolean\n rate: Number(sampleRate),\n },\n });\n }\n\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The\n // only valid values are booleans or numbers between 0 and 1.)\n if (!isValidSampleRate(sampleRate)) {\n logger.warn(`[Tracing] Discarding transaction because of invalid sample rate.`);\n transaction.sampled = false;\n return transaction;\n }\n\n // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped\n if (!sampleRate) {\n logger.log(\n `[Tracing] Discarding transaction because ${\n typeof options.tracesSampler === 'function'\n ? 'tracesSampler returned 0 or false'\n : 'a negative sampling decision was inherited or tracesSampleRate is set to 0'\n }`,\n );\n transaction.sampled = false;\n return transaction;\n }\n\n // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is\n // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false.\n transaction.sampled = Math.random() < (sampleRate as number | boolean);\n\n // if we're not going to keep it, we're done\n if (!transaction.sampled) {\n logger.log(\n `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n sampleRate,\n )})`,\n );\n return transaction;\n }\n\n logger.log(`[Tracing] starting ${transaction.op} transaction - ${transaction.name}`);\n return transaction;\n}\n\n/**\n * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1).\n */\nfunction isValidSampleRate(rate: unknown): boolean {\n // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isNaN(rate as any) || !(typeof rate === 'number' || typeof rate === 'boolean')) {\n logger.warn(\n `[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n rate,\n )} of type ${JSON.stringify(typeof rate)}.`,\n );\n return false;\n }\n\n // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false\n if (rate < 0 || rate > 1) {\n logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${rate}.`);\n return false;\n }\n return true;\n}\n\n/**\n * Creates a new transaction and adds a sampling decision if it doesn't yet have one.\n *\n * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if\n * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an\n * \"extension method.\"\n *\n * @param this: The Hub starting the transaction\n * @param transactionContext: Data used to configure the transaction\n * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any)\n *\n * @returns The new transaction\n *\n * @see {@link Hub.startTransaction}\n */\nfunction _startTransaction(\n this: Hub,\n transactionContext: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n const client = this.getClient();\n const options = (client && client.getOptions()) || {};\n\n let transaction = new Transaction(transactionContext, this);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n return transaction;\n}\n\n/**\n * Create new idle transaction.\n */\nexport function startIdleTransaction(\n hub: Hub,\n transactionContext: TransactionContext,\n idleTimeout?: number,\n onScope?: boolean,\n customSamplingContext?: CustomSamplingContext,\n): IdleTransaction {\n const client = hub.getClient();\n const options = (client && client.getOptions()) || {};\n\n let transaction = new IdleTransaction(transactionContext, hub, idleTimeout, onScope);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n return transaction;\n}\n\n/**\n * @private\n */\nexport function _addTracingExtensions(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n if (!carrier.__SENTRY__.extensions.startTransaction) {\n carrier.__SENTRY__.extensions.startTransaction = _startTransaction;\n }\n if (!carrier.__SENTRY__.extensions.traceHeaders) {\n carrier.__SENTRY__.extensions.traceHeaders = traceHeaders;\n }\n}\n\n/**\n * @private\n */\nfunction _autoloadDatabaseIntegrations(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n\n const packageToIntegrationMapping: Record Integration> = {\n mongodb() {\n const integration = dynamicRequire(module, './integrations/node/mongo') as {\n Mongo: IntegrationClass;\n };\n return new integration.Mongo();\n },\n mongoose() {\n const integration = dynamicRequire(module, './integrations/node/mongo') as {\n Mongo: IntegrationClass;\n };\n return new integration.Mongo({ mongoose: true });\n },\n mysql() {\n const integration = dynamicRequire(module, './integrations/node/mysql') as {\n Mysql: IntegrationClass;\n };\n return new integration.Mysql();\n },\n pg() {\n const integration = dynamicRequire(module, './integrations/node/postgres') as {\n Postgres: IntegrationClass;\n };\n return new integration.Postgres();\n },\n };\n\n const mappedPackages = Object.keys(packageToIntegrationMapping)\n .filter(moduleName => !!loadModule(moduleName))\n .map(pkg => {\n try {\n return packageToIntegrationMapping[pkg]();\n } catch (e) {\n return undefined;\n }\n })\n .filter(p => p) as Integration[];\n\n if (mappedPackages.length > 0) {\n carrier.__SENTRY__.integrations = [...(carrier.__SENTRY__.integrations || []), ...mappedPackages];\n }\n}\n\n/**\n * This patches the global object and injects the Tracing extensions methods\n */\nexport function addExtensionMethods(): void {\n _addTracingExtensions();\n\n // Detect and automatically load specified integrations.\n if (isNodeEnv()) {\n _autoloadDatabaseIntegrations();\n }\n\n // If an error happens globally, we should make sure transaction status is set to error.\n registerErrorInstrumentation();\n}\n","import { getGlobalObject, logger } from '@sentry/utils';\n\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from '../constants';\nimport { IdleTransaction } from '../idletransaction';\nimport { SpanStatusType } from '../span';\nimport { getActiveTransaction } from '../utils';\n\nconst global = getGlobalObject();\n\n/**\n * Add a listener that cancels and finishes a transaction when the global\n * document is hidden.\n */\nexport function registerBackgroundTabDetection(): void {\n if (global && global.document) {\n global.document.addEventListener('visibilitychange', () => {\n const activeTransaction = getActiveTransaction() as IdleTransaction;\n if (global.document.hidden && activeTransaction) {\n const statusType: SpanStatusType = 'cancelled';\n\n logger.log(\n `[Tracing] Transaction: ${statusType} -> since tab moved to the background, op: ${activeTransaction.op}`,\n );\n // We should not set status if it is already set, this prevent important statuses like\n // error or data loss from being overwritten on transaction.\n if (!activeTransaction.status) {\n activeTransaction.setStatus(statusType);\n }\n activeTransaction.setTag('visibilitychange', 'document.hidden');\n activeTransaction.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[2]);\n activeTransaction.finish();\n }\n });\n } else {\n logger.warn('[Tracing] Could not set up background tab detection due to lack of global document');\n }\n}\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Metric, ReportHandler } from '../types';\n\nexport const bindReporter = (\n callback: ReportHandler,\n metric: Metric,\n reportAllChanges?: boolean,\n): ((forceReport?: boolean) => void) => {\n let prevValue: number;\n return (forceReport?: boolean) => {\n if (metric.value >= 0) {\n if (forceReport || reportAllChanges) {\n metric.delta = metric.value - (prevValue || 0);\n\n // Report the metric if there's a non-zero delta or if no previous\n // value exists (which can happen in the case of the document becoming\n // hidden when the metric value is 0).\n // See: https://github.com/GoogleChrome/web-vitals/issues/14\n if (metric.delta || prevValue === undefined) {\n prevValue = metric.value;\n callback(metric);\n }\n }\n }\n };\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Performantly generate a unique, 30-char string by combining a version\n * number, the current timestamp with a 13-digit number integer.\n * @return {string}\n */\nexport const generateUniqueID = (): string => {\n return `v2-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Metric } from '../types';\nimport { generateUniqueID } from './generateUniqueID';\n\nexport const initMetric = (name: Metric['name'], value?: number): Metric => {\n return {\n name,\n value: value ?? -1,\n delta: 0,\n entries: [],\n id: generateUniqueID(),\n };\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface PerformanceEntryHandler {\n (entry: PerformanceEntry): void;\n}\n\n/**\n * Takes a performance entry type and a callback function, and creates a\n * `PerformanceObserver` instance that will observe the specified entry type\n * with buffering enabled and call the callback _for each entry_.\n *\n * This function also feature-detects entry support and wraps the logic in a\n * try/catch to avoid errors in unsupporting browsers.\n */\nexport const observe = (type: string, callback: PerformanceEntryHandler): PerformanceObserver | undefined => {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n // More extensive feature detect needed for Firefox due to:\n // https://github.com/GoogleChrome/web-vitals/issues/142\n if (type === 'first-input' && !('PerformanceEventTiming' in self)) {\n return;\n }\n\n const po: PerformanceObserver = new PerformanceObserver(l => l.getEntries().map(callback));\n\n po.observe({ type, buffered: true });\n return po;\n }\n } catch (e) {\n // Do nothing.\n }\n return;\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalObject } from '@sentry/utils';\n\nexport interface OnHiddenCallback {\n (event: Event): void;\n}\n\nexport const onHidden = (cb: OnHiddenCallback, once?: boolean): void => {\n const onHiddenOrPageHide = (event: Event): void => {\n if (event.type === 'pagehide' || getGlobalObject().document.visibilityState === 'hidden') {\n cb(event);\n if (once) {\n removeEventListener('visibilitychange', onHiddenOrPageHide, true);\n removeEventListener('pagehide', onHiddenOrPageHide, true);\n }\n }\n };\n addEventListener('visibilitychange', onHiddenOrPageHide, true);\n // Some browsers have buggy implementations of visibilitychange,\n // so we use pagehide in addition, just to be safe.\n addEventListener('pagehide', onHiddenOrPageHide, true);\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { ReportHandler } from './types';\n\n// https://wicg.github.io/layout-instability/#sec-layout-shift\nexport interface LayoutShift extends PerformanceEntry {\n value: number;\n hadRecentInput: boolean;\n sources: Array;\n toJSON(): Record;\n}\n\nexport interface LayoutShiftAttribution {\n node?: Node;\n previousRect: DOMRectReadOnly;\n currentRect: DOMRectReadOnly;\n}\n\nexport const getCLS = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const metric = initMetric('CLS', 0);\n let report: ReturnType;\n\n let sessionValue = 0;\n let sessionEntries: PerformanceEntry[] = [];\n\n const entryHandler = (entry: LayoutShift): void => {\n // Only count layout shifts without recent user input.\n // TODO: Figure out why entry can be undefined\n if (entry && !entry.hadRecentInput) {\n const firstSessionEntry = sessionEntries[0];\n const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n\n // If the entry occurred less than 1 second after the previous entry and\n // less than 5 seconds after the first entry in the session, include the\n // entry in the current session. Otherwise, start a new session.\n if (\n sessionValue &&\n sessionEntries.length !== 0 &&\n entry.startTime - lastSessionEntry.startTime < 1000 &&\n entry.startTime - firstSessionEntry.startTime < 5000\n ) {\n sessionValue += entry.value;\n sessionEntries.push(entry);\n } else {\n sessionValue = entry.value;\n sessionEntries = [entry];\n }\n\n // If the current session value is larger than the current CLS value,\n // update CLS and the entries contributing to it.\n if (sessionValue > metric.value) {\n metric.value = sessionValue;\n metric.entries = sessionEntries;\n if (report) {\n report();\n }\n }\n }\n };\n\n const po = observe('layout-shift', entryHandler as PerformanceEntryHandler);\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n\n onHidden(() => {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n report(true);\n });\n }\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalObject } from '@sentry/utils';\n\nimport { onHidden } from './onHidden';\n\nlet firstHiddenTime = -1;\n\nconst initHiddenTime = (): number => {\n return getGlobalObject().document.visibilityState === 'hidden' ? 0 : Infinity;\n};\n\nconst trackChanges = (): void => {\n // Update the time if/when the document becomes hidden.\n onHidden(({ timeStamp }) => {\n firstHiddenTime = timeStamp;\n }, true);\n};\n\nexport const getVisibilityWatcher = (): {\n readonly firstHiddenTime: number;\n} => {\n if (firstHiddenTime < 0) {\n // If the document is hidden when this code runs, assume it was hidden\n // since navigation start. This isn't a perfect heuristic, but it's the\n // best we can do until an API is available to support querying past\n // visibilityState.\n firstHiddenTime = initHiddenTime();\n trackChanges();\n }\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n },\n };\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { PerformanceEventTiming, ReportHandler } from './types';\n\nexport const getFID = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FID');\n let report: ReturnType;\n\n const entryHandler = (entry: PerformanceEventTiming): void => {\n // Only report if the page wasn't hidden prior to the first input.\n if (report && entry.startTime < visibilityWatcher.firstHiddenTime) {\n metric.value = entry.processingStart - entry.startTime;\n metric.entries.push(entry);\n report(true);\n }\n };\n\n const po = observe('first-input', entryHandler as PerformanceEntryHandler);\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n onHidden(() => {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n po.disconnect();\n }, true);\n }\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { ReportHandler } from './types';\n\n// https://wicg.github.io/largest-contentful-paint/#sec-largest-contentful-paint-interface\nexport interface LargestContentfulPaint extends PerformanceEntry {\n renderTime: DOMHighResTimeStamp;\n loadTime: DOMHighResTimeStamp;\n size: number;\n id: string;\n url: string;\n element?: Element;\n toJSON(): Record;\n}\n\nconst reportedMetricIDs: Record = {};\n\nexport const getLCP = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('LCP');\n let report: ReturnType;\n\n const entryHandler = (entry: PerformanceEntry): void => {\n // The startTime attribute returns the value of the renderTime if it is not 0,\n // and the value of the loadTime otherwise.\n const value = entry.startTime;\n\n // If the page was hidden prior to paint time of the entry,\n // ignore it and mark the metric as final, otherwise add the entry.\n if (value < visibilityWatcher.firstHiddenTime) {\n metric.value = value;\n metric.entries.push(entry);\n }\n\n if (report) {\n report();\n }\n };\n\n const po = observe('largest-contentful-paint', entryHandler);\n\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n\n const stopListening = (): void => {\n if (!reportedMetricIDs[metric.id]) {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n po.disconnect();\n reportedMetricIDs[metric.id] = true;\n report(true);\n }\n };\n\n // Stop listening after input. Note: while scrolling is an input that\n // stop LCP observation, it's unreliable since it can be programmatically\n // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75\n ['keydown', 'click'].forEach(type => {\n addEventListener(type, stopListening, { once: true, capture: true });\n });\n\n onHidden(stopListening, true);\n }\n};\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Measurements, SpanContext } from '@sentry/types';\nimport { browserPerformanceTimeOrigin, getGlobalObject, htmlTreeAsString, isNodeEnv, logger } from '@sentry/utils';\n\nimport { Span } from '../span';\nimport { Transaction } from '../transaction';\nimport { msToSec } from '../utils';\nimport { getCLS, LayoutShift } from './web-vitals/getCLS';\nimport { getFID } from './web-vitals/getFID';\nimport { getLCP, LargestContentfulPaint } from './web-vitals/getLCP';\nimport { getVisibilityWatcher } from './web-vitals/lib/getVisibilityWatcher';\nimport { NavigatorDeviceMemory, NavigatorNetworkInformation } from './web-vitals/types';\n\nconst global = getGlobalObject();\n\n/** Class tracking metrics */\nexport class MetricsInstrumentation {\n private _measurements: Measurements = {};\n\n private _performanceCursor: number = 0;\n private _lcpEntry: LargestContentfulPaint | undefined;\n private _clsEntry: LayoutShift | undefined;\n\n public constructor(private _reportAllChanges: boolean = false) {\n if (!isNodeEnv() && global && global.performance && global.document) {\n if (global.performance.mark) {\n global.performance.mark('sentry-tracing-init');\n }\n\n this._trackCLS();\n this._trackLCP();\n this._trackFID();\n }\n }\n\n /** Add performance related spans to a transaction */\n public addPerformanceEntries(transaction: Transaction): void {\n if (!global || !global.performance || !global.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n logger.log('[Tracing] Adding & adjusting spans using Performance API');\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n let responseStartTimestamp: number | undefined;\n let requestStartTimestamp: number | undefined;\n\n global.performance\n .getEntries()\n .slice(this._performanceCursor)\n .forEach((entry: Record) => {\n const startTime = msToSec(entry.startTime as number);\n const duration = msToSec(entry.duration as number);\n\n if (transaction.op === 'navigation' && timeOrigin + startTime < transaction.startTimestamp) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n addNavigationSpans(transaction, entry, timeOrigin);\n responseStartTimestamp = timeOrigin + msToSec(entry.responseStart as number);\n requestStartTimestamp = timeOrigin + msToSec(entry.requestStart as number);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n const startTimestamp = addMeasureSpans(transaction, entry, startTime, duration, timeOrigin);\n // capture web vitals\n\n const firstHidden = getVisibilityWatcher();\n // Only report if the page wasn't hidden prior to the web vital.\n const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n\n if (entry.name === 'first-paint' && shouldRecord) {\n logger.log('[Measurements] Adding FP');\n this._measurements['fp'] = { value: entry.startTime };\n this._measurements['mark.fp'] = { value: startTimestamp };\n }\n\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n logger.log('[Measurements] Adding FCP');\n this._measurements['fcp'] = { value: entry.startTime };\n this._measurements['mark.fcp'] = { value: startTimestamp };\n }\n\n break;\n }\n case 'resource': {\n const resourceName = (entry.name as string).replace(global.location.origin, '');\n addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin);\n break;\n }\n default:\n // Ignore other entry types.\n }\n });\n\n this._performanceCursor = Math.max(performance.getEntries().length - 1, 0);\n\n this._trackNavigator(transaction);\n\n // Measurements are only available for pageload transactions\n if (transaction.op === 'pageload') {\n // normalize applicable web vital values to be relative to transaction.startTimestamp\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n // Generate TTFB (Time to First Byte), which measured as the time between the beginning of the transaction and the\n // start of the response in milliseconds\n if (typeof responseStartTimestamp === 'number') {\n logger.log('[Measurements] Adding TTFB');\n this._measurements['ttfb'] = { value: (responseStartTimestamp - transaction.startTimestamp) * 1000 };\n\n if (typeof requestStartTimestamp === 'number' && requestStartTimestamp <= responseStartTimestamp) {\n // Capture the time spent making the request and receiving the first byte of the response.\n // This is the time between the start of the request and the start of the response in milliseconds.\n this._measurements['ttfb.requestTime'] = { value: (responseStartTimestamp - requestStartTimestamp) * 1000 };\n }\n }\n\n ['fcp', 'fp', 'lcp'].forEach(name => {\n if (!this._measurements[name] || timeOrigin >= transaction.startTimestamp) {\n return;\n }\n\n // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin.\n // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need\n // to be adjusted to be relative to transaction.startTimestamp.\n\n const oldValue = this._measurements[name].value;\n const measurementTimestamp = timeOrigin + msToSec(oldValue);\n // normalizedValue should be in milliseconds\n const normalizedValue = Math.abs((measurementTimestamp - transaction.startTimestamp) * 1000);\n\n const delta = normalizedValue - oldValue;\n logger.log(`[Measurements] Normalized ${name} from ${oldValue} to ${normalizedValue} (${delta})`);\n\n this._measurements[name].value = normalizedValue;\n });\n\n if (this._measurements['mark.fid'] && this._measurements['fid']) {\n // create span for FID\n\n _startChild(transaction, {\n description: 'first input delay',\n endTimestamp: this._measurements['mark.fid'].value + msToSec(this._measurements['fid'].value),\n op: 'web.vitals',\n startTimestamp: this._measurements['mark.fid'].value,\n });\n }\n\n // If FCP is not recorded we should not record the cls value\n // according to the new definition of CLS.\n if (!('fcp' in this._measurements)) {\n delete this._measurements.cls;\n }\n\n transaction.setMeasurements(this._measurements);\n tagMetricInfo(transaction, this._lcpEntry, this._clsEntry);\n transaction.setTag('sentry_reportAllChanges', this._reportAllChanges);\n }\n }\n\n /**\n * Capture the information of the user agent.\n */\n private _trackNavigator(transaction: Transaction): void {\n const navigator = global.navigator as null | (Navigator & NavigatorNetworkInformation & NavigatorDeviceMemory);\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n transaction.setTag('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n transaction.setTag('connectionType', connection.type);\n }\n\n if (isMeasurementValue(connection.rtt)) {\n this._measurements['connection.rtt'] = { value: connection.rtt as number };\n }\n\n if (isMeasurementValue(connection.downlink)) {\n this._measurements['connection.downlink'] = { value: connection.downlink as number };\n }\n }\n\n if (isMeasurementValue(navigator.deviceMemory)) {\n transaction.setTag('deviceMemory', String(navigator.deviceMemory));\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n }\n\n /** Starts tracking the Cumulative Layout Shift on the current page. */\n private _trackCLS(): void {\n // See:\n // https://web.dev/evolving-cls/\n // https://web.dev/cls-web-tooling/\n getCLS(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n logger.log('[Measurements] Adding CLS');\n this._measurements['cls'] = { value: metric.value };\n this._clsEntry = entry as LayoutShift;\n });\n }\n\n /** Starts tracking the Largest Contentful Paint on the current page. */\n private _trackLCP(): void {\n getLCP(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime as number);\n logger.log('[Measurements] Adding LCP');\n this._measurements['lcp'] = { value: metric.value };\n this._measurements['mark.lcp'] = { value: timeOrigin + startTime };\n this._lcpEntry = entry as LargestContentfulPaint;\n }, this._reportAllChanges);\n }\n\n /** Starts tracking the First Input Delay on the current page. */\n private _trackFID(): void {\n getFID(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime as number);\n logger.log('[Measurements] Adding FID');\n this._measurements['fid'] = { value: metric.value };\n this._measurements['mark.fid'] = { value: timeOrigin + startTime };\n });\n }\n}\n\n/** Instrument navigation entries */\nfunction addNavigationSpans(transaction: Transaction, entry: Record, timeOrigin: number): void {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n addPerformanceNavigationTiming(transaction, entry, event, timeOrigin);\n });\n addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS');\n addRequest(transaction, entry, timeOrigin);\n}\n\n/** Create measure related spans */\nfunction addMeasureSpans(\n transaction: Transaction,\n entry: Record,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): number {\n const measureStartTimestamp = timeOrigin + startTime;\n const measureEndTimestamp = measureStartTimestamp + duration;\n\n _startChild(transaction, {\n description: entry.name as string,\n endTimestamp: measureEndTimestamp,\n op: entry.entryType as string,\n startTimestamp: measureStartTimestamp,\n });\n\n return measureStartTimestamp;\n}\n\nexport interface ResourceEntry extends Record {\n initiatorType?: string;\n transferSize?: number;\n encodedBodySize?: number;\n decodedBodySize?: number;\n}\n\n/** Create resource-related spans */\nexport function addResourceSpans(\n transaction: Transaction,\n entry: ResourceEntry,\n resourceName: string,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): void {\n // we already instrument based on fetch and xhr, so we don't need to\n // duplicate spans here.\n if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') {\n return;\n }\n\n const data: Record = {};\n if ('transferSize' in entry) {\n data['Transfer Size'] = entry.transferSize;\n }\n if ('encodedBodySize' in entry) {\n data['Encoded Body Size'] = entry.encodedBodySize;\n }\n if ('decodedBodySize' in entry) {\n data['Decoded Body Size'] = entry.decodedBodySize;\n }\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n _startChild(transaction, {\n description: resourceName,\n endTimestamp,\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource',\n startTimestamp,\n data,\n });\n}\n\n/** Create performance navigation related spans */\nfunction addPerformanceNavigationTiming(\n transaction: Transaction,\n entry: Record,\n event: string,\n timeOrigin: number,\n description?: string,\n eventEnd?: string,\n): void {\n const end = eventEnd ? (entry[eventEnd] as number | undefined) : (entry[`${event}End`] as number | undefined);\n const start = entry[`${event}Start`] as number | undefined;\n if (!start || !end) {\n return;\n }\n _startChild(transaction, {\n op: 'browser',\n description: description ?? event,\n startTimestamp: timeOrigin + msToSec(start),\n endTimestamp: timeOrigin + msToSec(end),\n });\n}\n\n/** Create request and response related spans */\nfunction addRequest(transaction: Transaction, entry: Record, timeOrigin: number): void {\n _startChild(transaction, {\n op: 'browser',\n description: 'request',\n startTimestamp: timeOrigin + msToSec(entry.requestStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n\n _startChild(transaction, {\n op: 'browser',\n description: 'response',\n startTimestamp: timeOrigin + msToSec(entry.responseStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n}\n\n/**\n * Helper function to start child on transactions. This function will make sure that the transaction will\n * use the start timestamp of the created child span if it is earlier than the transactions actual\n * start timestamp.\n */\nexport function _startChild(transaction: Transaction, { startTimestamp, ...ctx }: SpanContext): Span {\n if (startTimestamp && transaction.startTimestamp > startTimestamp) {\n transaction.startTimestamp = startTimestamp;\n }\n\n return transaction.startChild({\n startTimestamp,\n ...ctx,\n });\n}\n\n/**\n * Checks if a given value is a valid measurement value.\n */\nfunction isMeasurementValue(value: any): boolean {\n return typeof value === 'number' && isFinite(value);\n}\n\n/** Add LCP / CLS data to transaction to allow debugging */\nfunction tagMetricInfo(\n transaction: Transaction,\n lcpEntry: MetricsInstrumentation['_lcpEntry'],\n clsEntry: MetricsInstrumentation['_clsEntry'],\n): void {\n if (lcpEntry) {\n logger.log('[Measurements] Adding LCP Data');\n\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (lcpEntry.element) {\n transaction.setTag('lcp.element', htmlTreeAsString(lcpEntry.element));\n }\n\n if (lcpEntry.id) {\n transaction.setTag('lcp.id', lcpEntry.id);\n }\n\n if (lcpEntry.url) {\n // Trim URL to the first 200 characters.\n transaction.setTag('lcp.url', lcpEntry.url.trim().slice(0, 200));\n }\n\n transaction.setTag('lcp.size', lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (clsEntry && clsEntry.sources) {\n logger.log('[Measurements] Adding CLS Data');\n clsEntry.sources.forEach((source, index) =>\n transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n","import { addInstrumentationHandler, isInstanceOf, isMatchingPattern } from '@sentry/utils';\n\nimport { Span } from '../span';\nimport { getActiveTransaction, hasTracingEnabled } from '../utils';\n\nexport const DEFAULT_TRACING_ORIGINS = ['localhost', /^\\//];\n\n/** Options for Request Instrumentation */\nexport interface RequestInstrumentationOptions {\n /**\n * List of strings / regex where the integration should create Spans out of. Additionally this will be used\n * to define which outgoing requests the `sentry-trace` header will be attached to.\n *\n * Default: ['localhost', /^\\//] {@see DEFAULT_TRACING_ORIGINS}\n */\n tracingOrigins: Array;\n\n /**\n * Flag to disable patching all together for fetch requests.\n *\n * Default: true\n */\n traceFetch: boolean;\n\n /**\n * Flag to disable patching all together for xhr requests.\n *\n * Default: true\n */\n traceXHR: boolean;\n\n /**\n * This function will be called before creating a span for a request with the given url.\n * Return false if you don't want a span for the given url.\n *\n * By default it uses the `tracingOrigins` options as a url match.\n */\n shouldCreateSpanForRequest?(url: string): boolean;\n}\n\n/** Data returned from fetch callback */\nexport interface FetchData {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n args: any[]; // the arguments passed to the fetch call itself\n fetchData?: {\n method: string;\n url: string;\n // span_id\n __span?: string;\n };\n\n // TODO Should this be unknown instead? If we vendor types, make it a Response\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n response?: any;\n error?: unknown;\n\n startTimestamp: number;\n endTimestamp?: number;\n}\n\n/** Data returned from XHR request */\nexport interface XHRData {\n xhr?: {\n __sentry_xhr__?: {\n method: string;\n url: string;\n status_code: number;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: Record;\n };\n __sentry_xhr_span_id__?: string;\n setRequestHeader?: (key: string, val: string) => void;\n __sentry_own_request__?: boolean;\n };\n startTimestamp: number;\n endTimestamp?: number;\n}\n\nexport const defaultRequestInstrumentationOptions: RequestInstrumentationOptions = {\n traceFetch: true,\n traceXHR: true,\n tracingOrigins: DEFAULT_TRACING_ORIGINS,\n};\n\n/** Registers span creators for xhr and fetch requests */\nexport function instrumentOutgoingRequests(_options?: Partial): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { traceFetch, traceXHR, tracingOrigins, shouldCreateSpanForRequest } = {\n ...defaultRequestInstrumentationOptions,\n ..._options,\n };\n\n // We should cache url -> decision so that we don't have to compute\n // regexp everytime we create a request.\n const urlMap: Record = {};\n\n const defaultShouldCreateSpan = (url: string): boolean => {\n if (urlMap[url]) {\n return urlMap[url];\n }\n const origins = tracingOrigins;\n urlMap[url] =\n origins.some((origin: string | RegExp) => isMatchingPattern(url, origin)) &&\n !isMatchingPattern(url, 'sentry_key');\n return urlMap[url];\n };\n\n // We want that our users don't have to re-implement shouldCreateSpanForRequest themselves\n // That's why we filter out already unwanted Spans from tracingOrigins\n let shouldCreateSpan = defaultShouldCreateSpan;\n if (typeof shouldCreateSpanForRequest === 'function') {\n shouldCreateSpan = (url: string) => {\n return defaultShouldCreateSpan(url) && shouldCreateSpanForRequest(url);\n };\n }\n\n const spans: Record = {};\n\n if (traceFetch) {\n addInstrumentationHandler('fetch', (handlerData: FetchData) => {\n fetchCallback(handlerData, shouldCreateSpan, spans);\n });\n }\n\n if (traceXHR) {\n addInstrumentationHandler('xhr', (handlerData: XHRData) => {\n xhrCallback(handlerData, shouldCreateSpan, spans);\n });\n }\n}\n\n/**\n * Create and track fetch request spans\n */\nexport function fetchCallback(\n handlerData: FetchData,\n shouldCreateSpan: (url: string) => boolean,\n spans: Record,\n): void {\n if (!hasTracingEnabled() || !(handlerData.fetchData && shouldCreateSpan(handlerData.fetchData.url))) {\n return;\n }\n\n if (handlerData.endTimestamp) {\n const spanId = handlerData.fetchData.__span;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n if (handlerData.response) {\n // TODO (kmclb) remove this once types PR goes through\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n span.setHttpStatus(handlerData.response.status);\n } else if (handlerData.error) {\n span.setStatus('internal_error');\n }\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const span = activeTransaction.startChild({\n data: {\n ...handlerData.fetchData,\n type: 'fetch',\n },\n description: `${handlerData.fetchData.method} ${handlerData.fetchData.url}`,\n op: 'http.client',\n });\n\n handlerData.fetchData.__span = span.spanId;\n spans[span.spanId] = span;\n\n const request = (handlerData.args[0] = handlerData.args[0] as string | Request);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const options = (handlerData.args[1] = (handlerData.args[1] as { [key: string]: any }) || {});\n let headers = options.headers;\n if (isInstanceOf(request, Request)) {\n headers = (request as Request).headers;\n }\n if (headers) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (typeof headers.append === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n headers.append('sentry-trace', span.toTraceparent());\n } else if (Array.isArray(headers)) {\n headers = [...headers, ['sentry-trace', span.toTraceparent()]];\n } else {\n headers = { ...headers, 'sentry-trace': span.toTraceparent() };\n }\n } else {\n headers = { 'sentry-trace': span.toTraceparent() };\n }\n options.headers = headers;\n }\n}\n\n/**\n * Create and track xhr request spans\n */\nexport function xhrCallback(\n handlerData: XHRData,\n shouldCreateSpan: (url: string) => boolean,\n spans: Record,\n): void {\n if (\n !hasTracingEnabled() ||\n (handlerData.xhr && handlerData.xhr.__sentry_own_request__) ||\n !(handlerData.xhr && handlerData.xhr.__sentry_xhr__ && shouldCreateSpan(handlerData.xhr.__sentry_xhr__.url))\n ) {\n return;\n }\n\n const xhr = handlerData.xhr.__sentry_xhr__;\n\n // check first if the request has finished and is tracked by an existing span which should now end\n if (handlerData.endTimestamp) {\n const spanId = handlerData.xhr.__sentry_xhr_span_id__;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n span.setHttpStatus(xhr.status_code);\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n // if not, create a new span to track it\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const span = activeTransaction.startChild({\n data: {\n ...xhr.data,\n type: 'xhr',\n method: xhr.method,\n url: xhr.url,\n },\n description: `${xhr.method} ${xhr.url}`,\n op: 'http.client',\n });\n\n handlerData.xhr.__sentry_xhr_span_id__ = span.spanId;\n spans[handlerData.xhr.__sentry_xhr_span_id__] = span;\n\n if (handlerData.xhr.setRequestHeader) {\n try {\n handlerData.xhr.setRequestHeader('sentry-trace', span.toTraceparent());\n } catch (_) {\n // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.\n }\n }\n }\n}\n","import { Transaction, TransactionContext } from '@sentry/types';\nimport { addInstrumentationHandler, getGlobalObject, logger } from '@sentry/utils';\n\nconst global = getGlobalObject();\n\n/**\n * Default function implementing pageload and navigation transactions\n */\nexport function instrumentRoutingWithDefaults(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad: boolean = true,\n startTransactionOnLocationChange: boolean = true,\n): void {\n if (!global || !global.location) {\n logger.warn('Could not initialize routing instrumentation due to invalid location');\n return;\n }\n\n let startingUrl: string | undefined = global.location.href;\n\n let activeTransaction: T | undefined;\n if (startTransactionOnPageLoad) {\n activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'pageload' });\n }\n\n if (startTransactionOnLocationChange) {\n addInstrumentationHandler('history', ({ to, from }: { to: string; from?: string }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n if (activeTransaction) {\n logger.log(`[Tracing] Finishing current transaction with op: ${activeTransaction.op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeTransaction.finish();\n }\n activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'navigation' });\n }\n });\n }\n}\n","import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration, Transaction, TransactionContext } from '@sentry/types';\nimport { getGlobalObject, logger } from '@sentry/utils';\n\nimport { startIdleTransaction } from '../hubextensions';\nimport { DEFAULT_IDLE_TIMEOUT, IdleTransaction } from '../idletransaction';\nimport { extractTraceparentData, secToMs } from '../utils';\nimport { registerBackgroundTabDetection } from './backgroundtab';\nimport { MetricsInstrumentation } from './metrics';\nimport {\n defaultRequestInstrumentationOptions,\n instrumentOutgoingRequests,\n RequestInstrumentationOptions,\n} from './request';\nimport { instrumentRoutingWithDefaults } from './router';\n\nexport const DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600;\n\n/** Options for Browser Tracing integration */\nexport interface BrowserTracingOptions extends RequestInstrumentationOptions {\n /**\n * The time to wait in ms until the transaction will be finished. The transaction will use the end timestamp of\n * the last finished span as the endtime for the transaction.\n * Time is in ms.\n *\n * Default: 1000\n */\n idleTimeout: number;\n\n /**\n * Flag to enable/disable creation of `navigation` transaction on history changes.\n *\n * Default: true\n */\n startTransactionOnLocationChange: boolean;\n\n /**\n * Flag to enable/disable creation of `pageload` transaction on first pageload.\n *\n * Default: true\n */\n startTransactionOnPageLoad: boolean;\n\n /**\n * The maximum duration of a transaction before it will be marked as \"deadline_exceeded\".\n * If you never want to mark a transaction set it to 0.\n * Time is in seconds.\n *\n * Default: 600\n */\n maxTransactionDuration: number;\n\n /**\n * Flag Transactions where tabs moved to background with \"cancelled\". Browser background tab timing is\n * not suited towards doing precise measurements of operations. By default, we recommend that this option\n * be enabled as background transactions can mess up your statistics in nondeterministic ways.\n *\n * Default: true\n */\n markBackgroundTransactions: boolean;\n\n /**\n * _metricOptions allows the user to send options to change how metrics are collected.\n *\n * _metricOptions is currently experimental.\n *\n * Default: undefined\n */\n _metricOptions?: Partial<{ _reportAllChanges: boolean }>;\n\n /**\n * beforeNavigate is called before a pageload/navigation transaction is created and allows users to modify transaction\n * context data, or drop the transaction entirely (by setting `sampled = false` in the context).\n *\n * Note: For legacy reasons, transactions can also be dropped by returning `undefined`.\n *\n * @param context: The context data which will be passed to `startTransaction` by default\n *\n * @returns A (potentially) modified context object, with `sampled = false` if the transaction should be dropped.\n */\n beforeNavigate?(context: TransactionContext): TransactionContext | undefined;\n\n /**\n * Instrumentation that creates routing change transactions. By default creates\n * pageload and navigation transactions.\n */\n routingInstrumentation(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad?: boolean,\n startTransactionOnLocationChange?: boolean,\n ): void;\n}\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n idleTimeout: DEFAULT_IDLE_TIMEOUT,\n markBackgroundTransactions: true,\n maxTransactionDuration: DEFAULT_MAX_TRANSACTION_DURATION_SECONDS,\n routingInstrumentation: instrumentRoutingWithDefaults,\n startTransactionOnLocationChange: true,\n startTransactionOnPageLoad: true,\n ...defaultRequestInstrumentationOptions,\n};\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n */\nexport class BrowserTracing implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'BrowserTracing';\n\n /** Browser Tracing integration options */\n public options: BrowserTracingOptions;\n\n /**\n * @inheritDoc\n */\n public name: string = BrowserTracing.id;\n\n private _getCurrentHub?: () => Hub;\n\n private readonly _metrics: MetricsInstrumentation;\n\n private readonly _emitOptionsWarning: boolean = false;\n\n /** Store configured idle timeout so that it can be added as a tag to transactions */\n private _configuredIdleTimeout: BrowserTracingOptions['idleTimeout'] | undefined = undefined;\n\n public constructor(_options?: Partial) {\n let tracingOrigins = defaultRequestInstrumentationOptions.tracingOrigins;\n // NOTE: Logger doesn't work in constructors, as it's initialized after integrations instances\n if (_options) {\n this._configuredIdleTimeout = _options.idleTimeout;\n if (_options.tracingOrigins && Array.isArray(_options.tracingOrigins) && _options.tracingOrigins.length !== 0) {\n tracingOrigins = _options.tracingOrigins;\n } else {\n this._emitOptionsWarning = true;\n }\n }\n\n this.options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n tracingOrigins,\n };\n\n const { _metricOptions } = this.options;\n this._metrics = new MetricsInstrumentation(_metricOptions && _metricOptions._reportAllChanges);\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n this._getCurrentHub = getCurrentHub;\n\n if (this._emitOptionsWarning) {\n logger.warn(\n '[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.',\n );\n logger.warn(\n `[Tracing] We added a reasonable default for you: ${defaultRequestInstrumentationOptions.tracingOrigins}`,\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const {\n routingInstrumentation: instrumentRouting,\n startTransactionOnLocationChange,\n startTransactionOnPageLoad,\n markBackgroundTransactions,\n traceFetch,\n traceXHR,\n tracingOrigins,\n shouldCreateSpanForRequest,\n } = this.options;\n\n instrumentRouting(\n (context: TransactionContext) => this._createRouteTransaction(context),\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n );\n\n if (markBackgroundTransactions) {\n registerBackgroundTabDetection();\n }\n\n instrumentOutgoingRequests({ traceFetch, traceXHR, tracingOrigins, shouldCreateSpanForRequest });\n }\n\n /** Create routing idle transaction. */\n private _createRouteTransaction(context: TransactionContext): Transaction | undefined {\n if (!this._getCurrentHub) {\n logger.warn(`[Tracing] Did not create ${context.op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeNavigate, idleTimeout, maxTransactionDuration } = this.options;\n\n const parentContextFromHeader = context.op === 'pageload' ? getHeaderContext() : undefined;\n\n const expandedContext = {\n ...context,\n ...parentContextFromHeader,\n trimEnd: true,\n };\n const modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext;\n\n // For backwards compatibility reasons, beforeNavigate can return undefined to \"drop\" the transaction (prevent it\n // from being sent to Sentry).\n const finalContext = modifiedContext === undefined ? { ...expandedContext, sampled: false } : modifiedContext;\n\n if (finalContext.sampled === false) {\n logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const hub = this._getCurrentHub();\n const { location } = getGlobalObject() as WindowOrWorkerGlobalScope & { location: Location };\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n true,\n { location }, // for use in the tracesSampler\n );\n idleTransaction.registerBeforeFinishCallback((transaction, endTimestamp) => {\n this._metrics.addPerformanceEntries(transaction);\n adjustTransactionDuration(secToMs(maxTransactionDuration), transaction, endTimestamp);\n });\n\n idleTransaction.setTag('idleTimeout', this._configuredIdleTimeout);\n\n return idleTransaction as Transaction;\n }\n}\n\n/**\n * Gets transaction context from a sentry-trace meta.\n *\n * @returns Transaction context data from the header or undefined if there's no header or the header is malformed\n */\nexport function getHeaderContext(): Partial | undefined {\n const header = getMetaContent('sentry-trace');\n if (header) {\n return extractTraceparentData(header);\n }\n\n return undefined;\n}\n\n/** Returns the value of a meta tag */\nexport function getMetaContent(metaName: string): string | null {\n const el = getGlobalObject().document.querySelector(`meta[name=${metaName}]`);\n return el ? el.getAttribute('content') : null;\n}\n\n/** Adjusts transaction value based on max transaction duration */\nfunction adjustTransactionDuration(maxDuration: number, transaction: IdleTransaction, endTimestamp: number): void {\n const diff = endTimestamp - transaction.startTimestamp;\n const isOutdatedTransaction = endTimestamp && (diff > maxDuration || diff < 0);\n if (isOutdatedTransaction) {\n transaction.setStatus('deadline_exceeded');\n transaction.setTag('maxTransactionDurationExceeded', 'true');\n }\n}\n","export {\n Breadcrumb,\n Request,\n SdkInfo,\n Event,\n EventStatus,\n Exception,\n Response,\n Severity,\n StackFrame,\n Stacktrace,\n Thread,\n User,\n} from '@sentry/types';\n\nexport { SeverityLevel } from '@sentry/utils';\n\nexport {\n addGlobalEventProcessor,\n addBreadcrumb,\n captureException,\n captureEvent,\n captureMessage,\n configureScope,\n getHubFromCarrier,\n getCurrentHub,\n Hub,\n Scope,\n setContext,\n setExtra,\n setExtras,\n setTag,\n setTags,\n setUser,\n startTransaction,\n Transports,\n withScope,\n} from '@sentry/browser';\n\nexport { BrowserOptions } from '@sentry/browser';\nexport { BrowserClient, ReportDialogOptions } from '@sentry/browser';\nexport {\n defaultIntegrations,\n forceLoad,\n init,\n lastEventId,\n onLoad,\n showReportDialog,\n flush,\n close,\n wrap,\n} from '@sentry/browser';\nexport { SDK_NAME, SDK_VERSION } from '@sentry/browser';\n\nimport { Integrations as BrowserIntegrations } from '@sentry/browser';\nimport { getGlobalObject } from '@sentry/utils';\n\nimport { BrowserTracing } from './browser';\nimport { addExtensionMethods } from './hubextensions';\n\nexport { Span } from './span';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nconst _window = getGlobalObject();\nif (_window.Sentry && _window.Sentry.Integrations) {\n windowIntegrations = _window.Sentry.Integrations;\n}\n\nconst INTEGRATIONS = {\n ...windowIntegrations,\n ...BrowserIntegrations,\n BrowserTracing,\n};\n\nexport { INTEGRATIONS as Integrations };\n// Though in this case exporting this separately in addition to exporting it as part of `Sentry.Integrations` doesn't\n// gain us any bundle size advantage (we're making the bundle here, not the user, and we can't leave anything out of\n// ours), it does bring the API for using the integration in line with that recommended for users bundling Sentry\n// themselves.\nexport { BrowserTracing };\n\n// We are patching the global object with our hub extension methods\naddExtensionMethods();\n\nexport { addExtensionMethods };\n"],"names":["Severity","global","wrap","CoreIntegrations.InboundFilters","CoreIntegrations.FunctionToString","internalWrap","windowIntegrations","_window","INTEGRATIONS","SpanClass","BrowserIntegrations"],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/build/bundle.tracing.min.js b/node_modules/@sentry/tracing/build/bundle.tracing.min.js new file mode 100644 index 000000000..9e012b6ca --- /dev/null +++ b/node_modules/@sentry/tracing/build/bundle.tracing.min.js @@ -0,0 +1,3 @@ +/*! @sentry/tracing & @sentry/browser 6.17.9 (4ef06bf) | https://github.com/getsentry/sentry-javascript */ +var Sentry=function(t){var n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])},n(t,r)};function r(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}var i,e=function(){return e=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,n){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,e,o=r.call(t),a=[];try{for(;(void 0===n||n-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return a}function u(){for(var t=[],n=0;n ".length,u=void 0;r&&e++<5&&!("html"===(u=E(r,n))||e>1&&o+i.length*a+u.length>=80);)i.push(u),o+=u.length,r=r.parentNode;return i.reverse().join(" > ")}catch(t){return""}}function E(t,n){var r,i,e,o,a,u=t,s=[];if(!u||!u.tagName)return"";s.push(u.tagName.toLowerCase());var c=n&&n.length?n.filter((function(t){return u.getAttribute(t)})).map((function(t){return[t,u.getAttribute(t)]})):null;if(c&&c.length)c.forEach((function(t){s.push("["+t[0]+'="'+t[1]+'"]')}));else if(u.id&&s.push("#"+u.id),(r=u.className)&&y(r))for(i=r.split(/\s+/),a=0;a1&&(h=d.slice(0,-1).join("/"),v=d.pop()),v){var l=v.match(/^\d+/);l&&(v=l[0])}return D({host:s,pass:u,path:h,projectId:v,port:f,protocol:i,publicKey:e})}(t):D(t);return function(t){if(s()){var n=t.port,r=t.projectId,i=t.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(n){if(!t[n])throw new O("Invalid Sentry Dsn: "+n+" missing")})),!r.match(/^\d+$/))throw new O("Invalid Sentry Dsn: Invalid projectId "+r);if(!function(t){return"http"===t||"https"===t}(i))throw new O("Invalid Sentry Dsn: Invalid protocol "+i);if(n&&isNaN(parseInt(n,10)))throw new O("Invalid Sentry Dsn: Invalid port "+n)}}(n),n}var I=["fatal","error","warning","log","info","debug","critical"],R=f(),C="Sentry Logger ";function M(t){var n=f();if(!("console"in n))return t();var r=n.console,i={};["debug","info","warn","error","log","assert"].forEach((function(t){t in n.console&&r[t].__sentry_original__&&(i[t]=r[t],r[t]=r[t].__sentry_original__)}));var e=t();return Object.keys(i).forEach((function(t){r[t]=i[t]})),e}var A=function(){function t(){this.t=!1}return t.prototype.disable=function(){this.t=!1},t.prototype.enable=function(){this.t=!0},t.prototype.log=function(){for(var t=[],n=0;n"}try{o.currentTarget=w(e.currentTarget)?x(e.currentTarget):Object.prototype.toString.call(e.currentTarget)}catch(t){o.currentTarget=""}for(var a in"undefined"!=typeof CustomEvent&&T(t,CustomEvent)&&(o.detail=e.detail),e)Object.prototype.hasOwnProperty.call(e,a)&&(o[a]=e[a]);return o}return t}function G(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function K(t,n,r){void 0===n&&(n=3),void 0===r&&(r=102400);var i=Q(t,n);return G(i)>r?K(t,n-1,r):i}function Y(t,n){return"domain"===n&&t&&"object"==typeof t&&t.i?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":g(r=t)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+U(t)+"]":"symbol"==typeof t?"["+String(t)+"]":"bigint"==typeof t?"[BigInt: "+String(t)+"]":t;var r}function V(t,n,r,i){var e,o;if(void 0===r&&(r=1/0),void 0===i&&(e="function"==typeof WeakSet,o=e?new WeakSet:[],i=[function(t){if(e)return!!o.has(t)||(o.add(t),!1);for(var n=0;n=n)return P(r[0],n);for(var i=r.length;i>0;i--){var e=r.slice(0,i).join(", ");if(!(e.length>n))return i===r.length?e:P(e,n)}return""}function tt(t){var n,r;if(g(t)){var i=t,e={};try{for(var a=o(Object.keys(i)),u=a.next();!u.done;u=a.next()){var s=u.value;void 0!==i[s]&&(e[s]=tt(i[s]))}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return e}return Array.isArray(t)?t.map(tt):t}function nt(){if(!("fetch"in f()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function rt(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function it(){if(!nt())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var et,ot=f(),at={},ut={};function st(t){if(!ut[t])switch(ut[t]=!0,t){case"console":!function(){if(!("console"in ot))return;["debug","info","warn","error","log","assert"].forEach((function(t){t in ot.console&&B(ot.console,t,(function(n){return function(){for(var r=[],i=0;i2?n[2]:void 0;if(i){var e=et,o=String(i);et=o,ft("history",{from:e,to:o})}return t.apply(this,n)}}ot.onpopstate=function(){for(var n=[],r=0;r":r||""}function Tt(t,n,r){var i=t.exception=t.exception||{},e=i.values=i.values||[],o=e[0]=e[0]||{};o.value||(o.value=n||""),o.type||(o.type=r||"Error")}function xt(t,n){var r=wt(t);if(r){var i=r.mechanism;if(r.mechanism=e(e(e({},{type:"generic",handled:!0}),i),n),n&&"data"in n){var o=e(e({},i&&i.data),n.data);r.mechanism.data=o}}}function Et(t){if(t&&t.__sentry_captured__)return!0;try{z(t,"__sentry_captured__",!0)}catch(t){}return!1}function _t(t){return new kt((function(n){n(t)}))}function Ot(t){return new kt((function(n,r){r(t)}))}var kt=function(){function t(t){var n=this;this.o=0,this.u=[],this.h=function(t){n.v(1,t)},this.l=function(t){n.v(2,t)},this.v=function(t,r){0===n.o&&(S(r)?r.then(n.h,n.l):(n.o=t,n.p=r,n.m()))},this.m=function(){if(0!==n.o){var t=n.u.slice();n.u=[],t.forEach((function(t){t[0]||(1===n.o&&t[1](n.p),2===n.o&&t[2](n.p),t[0]=!0)}))}};try{t(this.h,this.l)}catch(t){this.l(t)}}return t.prototype.then=function(n,r){var i=this;return new t((function(t,e){i.u.push([!1,function(r){if(n)try{t(n(r))}catch(t){e(t)}else t(r)},function(n){if(r)try{t(r(n))}catch(t){e(t)}else e(n)}]),i.m()}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(n){var r=this;return new t((function(t,i){var e,o;return r.then((function(t){o=!1,e=t,n&&n()}),(function(t){o=!0,e=t,n&&n()})).then((function(){o?i(e):t(e)}))}))},t}();function jt(t){var n=[];function r(t){return n.splice(n.indexOf(t),1)[0]}return{$:n,add:function(i){if(!(void 0===t||n.length0&&r(!1)}),t);n.forEach((function(t){_t(t).then((function(){--e||(clearTimeout(o),r(!0))}),i)}))}))}}}function Dt(n){return"warn"===n?t.Severity.Warning:function(t){return-1!==I.indexOf(t)}(n)?n:t.Severity.Log}var Nt={nowSeconds:function(){return Date.now()/1e3}};var It=function(){var t=f().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),Rt=void 0===It?Nt:{nowSeconds:function(){return(It.timeOrigin+It.now())/1e3}},Ct=Nt.nowSeconds.bind(Nt),Mt=Rt.nowSeconds.bind(Rt),At=Mt,Lt=function(){var t=f().performance;if(t&&t.now){var n=36e5,r=t.now(),i=Date.now(),e=t.timeOrigin?Math.abs(t.timeOrigin+r-i):n,o=e0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this.N,this.U(u(Ft(),this.T),t,n)},t.prototype.setSDKProcessingMetadata=function(t){return this.N=e(e({},this.N),t),this},t.prototype.U=function(t,n,r,i){var o=this;return void 0===i&&(i=0),new kt((function(a,u){var s=t[i];if(null===n||"function"!=typeof s)a(n);else{var c=s(e({},n),r);S(c)?c.then((function(n){return o.U(t,n,r,i+1).then(a)})).then(null,u):o.U(t,c,r,i+1).then(a).then(null,u)}}))},t.prototype.q=function(){var t=this;this.g||(this.g=!0,this.S.forEach((function(n){n(t)})),this.g=!1)},t.prototype.F=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this.A&&(t.fingerprint=t.fingerprint.concat(this.A)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function Ft(){var t=f();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function Ut(t){Ft().push(t)}var Pt=function(){function t(t){this.errors=0,this.sid=gt(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var n=Mt();this.timestamp=n,this.started=n,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Mt(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:gt()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var n=this.timestamp-this.started;this.duration=n>=0?n:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return tt({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),Ht=function(){function t(t,n,r){void 0===n&&(n=new qt),void 0===r&&(r=4),this.P=r,this.H=[{}],this.getStackTop().scope=n,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this.P=t&&(clearInterval(e),r(!1)))}),1)}))},t.prototype.nt=function(){return this.Y},t.prototype.it=function(){return!1!==this.getOptions().enabled&&void 0!==this.Z},t.prototype.ut=function(t,n,r){var i=this,o=this.getOptions().normalizeDepth,a=void 0===o?3:o,u=e(e({},t),{event_id:t.event_id||(r&&r.event_id?r.event_id:gt()),timestamp:t.timestamp||Ct()});this.st(u),this.ct(u);var s=n;r&&r.captureContext&&(s=qt.clone(s).update(r.captureContext));var c=_t(u);return s&&(c=s.applyToEvent(u,r)),c.then((function(t){return t&&(t.sdkProcessingMetadata=e(e({},t.sdkProcessingMetadata),{normalizeDepth:Q(a)})),"number"==typeof a&&a>0?i.ft(t,a):t}))},t.prototype.ft=function(t,n){if(!t)return null;var r=e(e(e(e(e({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return e(e({},t),t.data&&{data:Q(t.data,n)})}))}),t.user&&{user:Q(t.user,n)}),t.contexts&&{contexts:Q(t.contexts,n)}),t.extra&&{extra:Q(t.extra,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),t.sdkProcessingMetadata=e(e({},t.sdkProcessingMetadata),{baseClientNormalized:!0}),r},t.prototype.st=function(t){var n=this.getOptions(),r=n.environment,i=n.release,e=n.dist,o=n.maxValueLength,a=void 0===o?250:o;"environment"in t||(t.environment="environment"in n?r:"production"),void 0===t.release&&void 0!==i&&(t.release=i),void 0===t.dist&&void 0!==e&&(t.dist=e),t.message&&(t.message=P(t.message,a));var u=t.exception&&t.exception.values&&t.exception.values[0];u&&u.value&&(u.value=P(u.value,a));var s=t.request;s&&s.url&&(s.url=P(s.url,a))},t.prototype.ct=function(t){var n=Object.keys(this.G);n.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=u(t.sdk.integrations||[],n))},t.prototype.ht=function(t){this.nt().sendEvent(t)},t.prototype.rt=function(t,n,r){return this.vt(t,n,r).then((function(t){return t.event_id}),(function(t){L.error(t)}))},t.prototype.vt=function(t,n,r){var i=this,e=this.getOptions(),o=e.beforeSend,a=e.sampleRate,u=this.getTransport();function s(t,n){u.recordLostEvent&&u.recordLostEvent(t,n)}if(!this.it())return Ot(new O("SDK not enabled, will not capture event."));var c="transaction"===t.type;return!c&&"number"==typeof a&&Math.random()>a?(s("sample_rate","event"),Ot(new O("Discarding event because it's not included in the random sample (sampling rate = "+a+")"))):this.ut(t,r,n).then((function(r){if(null===r)throw s("event_processor",t.type||"event"),new O("An event processor returned null, will not send event.");return n&&n.data&&!0===n.data.__sentry__||c||!o?r:function(t){var n="`beforeSend` method has to return `null` or a valid event.";if(S(t))return t.then((function(t){if(!g(t)&&null!==t)throw new O(n);return t}),(function(t){throw new O("beforeSend rejected with "+t)}));if(!g(t)&&null!==t)throw new O(n);return t}(o(r,n))})).then((function(n){if(null===n)throw s("before_send",t.type||"event"),new O("`beforeSend` returned `null`, will not send event.");var e=r&&r.getSession&&r.getSession();return!c&&e&&i.at(e,n),i.ht(n),n})).then(null,(function(t){if(t instanceof O)throw t;throw i.captureException(t,{data:{__sentry__:!0},originalException:t}),new O("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype.tt=function(t){var n=this;this.K+=1,t.then((function(t){return n.K-=1,t}),(function(t){return n.K-=1,t}))},t}();var an=function(){function t(){}return t.prototype.sendEvent=function(t){return _t({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return _t(!0)},t}(),un=function(){function t(t){this.V=t,this.V.dsn||L.warn("No DSN provided, backend will not do anything."),this.dt=this.lt()}return t.prototype.eventFromException=function(t,n){throw new O("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,n,r){throw new O("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this.dt.sendEvent(t).then(null,(function(t){s()&&L.error("Error while sending event: "+t)}))},t.prototype.sendSession=function(t){this.dt.sendSession?this.dt.sendSession(t).then(null,(function(t){s()&&L.error("Error while sending session: "+t)})):s()&&L.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this.dt},t.prototype.lt=function(){return new an},t}();function sn(t){if(t.metadata&&t.metadata.sdk){var n=t.metadata.sdk;return{name:n.name,version:n.version}}}function cn(t,n){var r,i=sn(n),o=t.type||"event",a="transaction"===o||!!n.tunnel,s=(t.sdkProcessingMetadata||{}).transactionSampling||{},c=s.method,f=s.rate;!function(t,n){n&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||n.name,t.sdk.version=t.sdk.version||n.version,t.sdk.integrations=u(t.sdk.integrations||[],n.integrations||[]),t.sdk.packages=u(t.sdk.packages||[],n.packages||[]))}(t,n.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{r=JSON.stringify(t)}catch(n){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=n;try{r=JSON.stringify(Q(t))}catch(t){var h=t;r=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:h.message,stack:h.stack}})}}var v={body:r,type:o,url:a?Zt(n.dsn,n.tunnel):Qt(n.dsn)};if(a){var d=JSON.stringify(e(e({event_id:t.event_id,sent_at:(new Date).toISOString()},i&&{sdk:i}),!!n.tunnel&&{dsn:j(n.dsn)}))+"\n"+JSON.stringify({type:o,sample_rates:[{id:c,rate:f}]})+"\n"+v.body;v.body=d}return v}var fn,hn="6.17.9",vn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){fn=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],n=0;n=0;n--){var r=t[n];if(r&&""!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null},t.prototype.Tt=function(t){try{if(t.stacktrace)return this._t(t.stacktrace.frames);var n;try{n=t.exception.values[0].stacktrace.frames}catch(t){}return n?this._t(n):null}catch(n){return s()&&L.error("Cannot extract url for event "+St(t)),null}},t.id="InboundFilters",t}(),pn=Object.freeze({__proto__:null,FunctionToString:vn,InboundFilters:ln}),yn="?";function mn(t,n,r,i){var e={filename:t,function:n,in_app:!0};return void 0!==r&&(e.lineno=r),void 0!==i&&(e.colno=i),e}var gn=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,bn=/\((\S*)(?::(\d+))(?::(\d+))\)/,wn=function(t){var n=gn.exec(t);if(n){if(n[2]&&0===n[2].indexOf("eval")){var r=bn.exec(n[2]);r&&(n[2]=r[1],n[3]=r[2],n[4]=r[3])}var i=a(Nn(n[1]||yn,n[2]),2),e=i[0];return mn(i[1],e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},Sn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Tn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,xn=function(t){var n,r=Sn.exec(t);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){var i=Tn.exec(r[3]);i&&(r[1]=r[1]||"eval",r[3]=i[1],r[4]=i[2],r[5]="")}var e=r[3],o=r[1]||yn;return o=(n=a(Nn(o,e),2))[0],mn(e=n[1],o,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},En=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,_n=function(t){var n=En.exec(t);return n?mn(n[2],n[1]||yn,+n[3],n[4]?+n[4]:void 0):void 0},On=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,kn=function(t){var n=On.exec(t);return n?mn(n[2],n[3]||yn,+n[1]):void 0},jn=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Dn=function(t){var n=jn.exec(t);return n?mn(n[5],n[3]||n[4]||yn,+n[1],+n[2]):void 0},Nn=function(t,n){var r=-1!==t.indexOf("safari-extension"),i=-1!==t.indexOf("safari-web-extension");return r||i?[-1!==t.indexOf("@")?t.split("@")[0]:yn,r?"safari-extension:"+n:"safari-web-extension:"+n]:[t,n]};function In(t){var n=Cn(t),r={type:t&&t.name,value:An(t)};return n&&n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Rn(t){return{exception:{values:[In(t)]}}}function Cn(t){var n=t.stacktrace||t.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(Mn.test(t.message))return 1}return 0}(t);try{return function(){for(var t=[],n=0;n=200&&n<300?"success":429===n?"rate_limit":n>=400&&n<500?"invalid":n>=500?"failed":"unknown";this.Mt(e)&&s()&&L.warn("Too many "+r+" requests, backing off until: "+this.At(r)),"success"!==u?a(i):o({status:u})},t.prototype.At=function(t){var n=Jn(t);return this.kt[n]||this.kt.all},t.prototype.Lt=function(t){return this.At(t)>new Date(Date.now())},t.prototype.Mt=function(t){var n,r,i,e,a=Date.now(),u=t["x-sentry-rate-limits"],s=t["retry-after"];if(u){try{for(var c=o(u.trim().split(",")),f=c.next();!f.done;f=c.next()){var h=f.value.split(":",2),v=parseInt(h[0],10),d=1e3*(isNaN(v)?60:v);try{for(var l=(i=void 0,o(h[1].split(";"))),p=l.next();!p.done;p=l.next()){var y=p.value;this.kt[y||"all"]=new Date(a+d)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(e=l.return)&&e.call(l)}finally{if(i)throw i.error}}}}catch(t){n={error:t}}finally{try{f&&!f.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return!0}return!!s&&(this.kt.all=new Date(a+function(t,n){if(!n)return 6e4;var r=parseInt(""+n,10);if(!isNaN(r))return 1e3*r;var i=Date.parse(""+n);return isNaN(i)?6e4:i-t}(a,s)),!0)},t}(),Xn=function(t){function n(n,r){void 0===r&&(r=Pn());var i=t.call(this,n)||this;return i.qt=r,i}return r(n,t),n.prototype.Rt=function(t,n){var r=this;if(this.Lt(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:n,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this.At(t.type)+" due to too many requests.",status:429});var i={body:t.body,method:"POST",referrerPolicy:it()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(i,this.options.fetchParameters),void 0!==this.options.headers&&(i.headers=this.options.headers),this.Ot.add((function(){return new kt((function(n,e){r.qt(t.url,i).then((function(i){var o={"x-sentry-rate-limits":i.headers.get("X-Sentry-Rate-Limits"),"retry-after":i.headers.get("Retry-After")};r.Ct({requestType:t.type,response:i,headers:o,resolve:n,reject:e})})).catch(e)}))})).then(void 0,(function(n){throw n instanceof O?r.recordLostEvent("queue_overflow",t.type):r.recordLostEvent("network_error",t.type),n}))},n}(zn),Wn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.Rt=function(t,n){var r=this;return this.Lt(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:n,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this.At(t.type)+" due to too many requests.",status:429})):this.Ot.add((function(){return new kt((function(n,i){var e=new XMLHttpRequest;for(var o in e.onreadystatechange=function(){if(4===e.readyState){var o={"x-sentry-rate-limits":e.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":e.getResponseHeader("Retry-After")};r.Ct({requestType:t.type,response:e,headers:o,resolve:n,reject:i})}},e.open("POST",t.url),r.options.headers)Object.prototype.hasOwnProperty.call(r.options.headers,o)&&e.setRequestHeader(o,r.options.headers[o]);e.send(t.body)}))})).then(void 0,(function(n){throw n instanceof O?r.recordLostEvent("queue_overflow",t.type):r.recordLostEvent("network_error",t.type),n}))},n}(zn),$n=Object.freeze({__proto__:null,BaseTransport:zn,FetchTransport:Xn,XHRTransport:Wn}),Gn=function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.prototype.eventFromException=function(n,r){return function(n,r,i){var e=Ln(r,i&&i.syntheticException||void 0,{attachStacktrace:n.attachStacktrace});return xt(e),e.level=t.Severity.Error,i&&i.event_id&&(e.event_id=i.event_id),_t(e)}(this.V,n,r)},i.prototype.eventFromMessage=function(n,r,i){return void 0===r&&(r=t.Severity.Info),function(n,r,i,e){void 0===i&&(i=t.Severity.Info);var o=qn(r,e&&e.syntheticException||void 0,{attachStacktrace:n.attachStacktrace});return o.level=i,e&&e.event_id&&(o.event_id=e.event_id),_t(o)}(this.V,n,r,i)},i.prototype.lt=function(){if(!this.V.dsn)return n.prototype.lt.call(this);var t=e(e({},this.V.transportOptions),{dsn:this.V.dsn,tunnel:this.V.tunnel,sendClientReports:this.V.sendClientReports,Nt:this.V.Nt});return this.V.transport?new this.V.transport(t):nt()?new Xn(t):new Wn(t)},i}(un),Kn=f(),Yn=0;function Vn(){return Yn>0}function Qn(){Yn+=1,setTimeout((function(){Yn-=1}))}function Zn(t,n,r){if(void 0===n&&(n={}),"function"!=typeof t)return t;try{var i=t.__sentry_wrapped__;if(i)return i;if(W(t))return t}catch(n){return t}var sentryWrapped=function(){var i=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);var o=i.map((function(t){return Zn(t,n)}));return t.apply(this,o)}catch(t){throw Qn(),Gt((function(r){r.addEventProcessor((function(t){return n.mechanism&&(Tt(t,void 0,void 0),xt(t,n.mechanism)),t.extra=e(e({},t.extra),{arguments:i}),t})),captureException(t)})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(sentryWrapped[o]=t[o])}catch(t){}X(sentryWrapped,t),z(t,"__sentry_wrapped__",sentryWrapped);try{Object.getOwnPropertyDescriptor(sentryWrapped,"name").configurable&&Object.defineProperty(sentryWrapped,"name",{get:function(){return t.name}})}catch(t){}return sentryWrapped}function tr(t){if(void 0===t&&(t={}),Kn.document)if(t.eventId)if(t.dsn){var n=Kn.document.createElement("script");n.async=!0,n.src=function(t,n){var r=N(t),i=Kt(r)+"embed/error-page/",e="dsn="+j(r);for(var o in n)if("dsn"!==o)if("user"===o){if(!n.user)continue;n.user.name&&(e+="&name="+encodeURIComponent(n.user.name)),n.user.email&&(e+="&email="+encodeURIComponent(n.user.email))}else e+="&"+encodeURIComponent(o)+"="+encodeURIComponent(n[o]);return i+"?"+e}(t.dsn,t),t.onLoad&&(n.onload=t.onLoad);var r=Kn.document.head||Kn.document.body;r&&r.appendChild(n)}else s()&&L.error("Missing dsn option in showReportDialog call");else s()&&L.error("Missing eventId option in showReportDialog call")}var nr=function(){function t(n){this.name=t.id,this.Ft={onerror:rr,onunhandledrejection:ir},this.V=e({onerror:!0,onunhandledrejection:!0},n)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t=this.V;for(var n in t){var r=this.Ft[n];r&&t[n]&&(or(n),r(),this.Ft[n]=void 0)}},t.id="GlobalHandlers",t}();function rr(){ct("error",(function(n){var r=a(ur(),2),i=r[0],e=r[1];if(i.getIntegration(nr)){var o=n.msg,u=n.url,s=n.line,c=n.column,f=n.error;if(!(Vn()||f&&f.__sentry_own_request__)){var h=void 0===f&&y(o)?function(t,n,r,i){var e=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,o=l(t)?t.message:t,a="Error",u=o.match(e);u&&(a=u[1],o=u[2]);return er({exception:{values:[{type:a,value:o}]}},n,r,i)}(o,u,s,c):er(Ln(f||o,void 0,{attachStacktrace:e,isRejection:!1}),u,s,c);h.level=t.Severity.Error,ar(i,f,h,"onerror")}}}))}function ir(){ct("unhandledrejection",(function(n){var r=a(ur(),2),i=r[0],e=r[1];if(i.getIntegration(nr)){var o=n;try{"reason"in n?o=n.reason:"detail"in n&&"reason"in n.detail&&(o=n.detail.reason)}catch(t){}if(Vn()||o&&o.__sentry_own_request__)return!0;var u=m(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(o)}]}}:Ln(o,void 0,{attachStacktrace:e,isRejection:!0});u.level=t.Severity.Error,ar(i,o,u,"onunhandledrejection")}}))}function er(t,n,r,i){var e=t.exception=t.exception||{},o=e.values=e.values||[],a=o[0]=o[0]||{},u=a.stacktrace=a.stacktrace||{},s=u.frames=u.frames||[],c=isNaN(parseInt(i,10))?void 0:i,h=isNaN(parseInt(r,10))?void 0:r,v=y(n)&&n.length>0?n:function(){var t=f();try{return t.document.location.href}catch(t){return""}}();return 0===s.length&&s.push({colno:c,filename:v,function:"?",in_app:!0,lineno:h}),t}function or(t){s()&&L.log("Global Handler attached: "+t)}function ar(t,n,r,i){xt(r,{handled:!1,type:i}),t.captureEvent(r,{originalException:n})}function ur(){var t=zt(),n=t.getClient();return[t,n&&n.getOptions().attachStacktrace]}var sr=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],cr=function(){function t(n){this.name=t.id,this.V=e({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},n)}return t.prototype.setupOnce=function(){var t=f();this.V.setTimeout&&B(t,"setTimeout",fr),this.V.setInterval&&B(t,"setInterval",fr),this.V.requestAnimationFrame&&B(t,"requestAnimationFrame",hr),this.V.XMLHttpRequest&&"XMLHttpRequest"in t&&B(XMLHttpRequest.prototype,"send",vr);var n=this.V.eventTarget;n&&(Array.isArray(n)?n:sr).forEach(dr)},t.id="TryCatch",t}();function fr(t){return function(){for(var n=[],r=0;r"}0!==r.length&&zt().addBreadcrumb({category:"ui."+n.name,message:r},{event:n.event,name:n.name,global:n.global})}return n}(this.V.dom)),this.V.xhr&&ct("xhr",yr),this.V.fetch&&ct("fetch",mr),this.V.history&&ct("history",gr)},t.id="Breadcrumbs",t}();function pr(t){var n={category:"console",data:{arguments:t.args,logger:"console"},level:Dt(t.level),message:H(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message="Assertion failed: "+(H(t.args.slice(1)," ")||"console.assert"),n.data.arguments=t.args.slice(1)}zt().addBreadcrumb(n,{input:t.args,level:t.level})}function yr(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var n=t.xhr.__sentry_xhr__||{},r=n.method,i=n.url,e=n.status_code,o=n.body;zt().addBreadcrumb({category:"xhr",data:{method:r,url:i,status_code:e},type:"http"},{xhr:t.xhr,input:o})}else;}function mr(n){n.endTimestamp&&(n.fetchData.url.match(/sentry_key/)&&"POST"===n.fetchData.method||(n.error?zt().addBreadcrumb({category:"fetch",data:n.fetchData,level:t.Severity.Error,type:"http"},{data:n.error,input:n.args}):zt().addBreadcrumb({category:"fetch",data:e(e({},n.fetchData),{status_code:n.response.status}),type:"http"},{input:n.args,response:n.response})))}function gr(t){var n=f(),r=t.from,i=t.to,e=bt(n.location.href),o=bt(r),a=bt(i);o.path||(o=e),e.protocol===a.protocol&&e.host===a.host&&(i=a.relative),e.protocol===o.protocol&&e.host===o.host&&(r=o.relative),zt().addBreadcrumb({category:"navigation",data:{from:r,to:i}})}var br=function(){function t(n){void 0===n&&(n={}),this.name=t.id,this.Ut=n.key||"cause",this.Pt=n.limit||5}return t.prototype.setupOnce=function(){Ut((function(n,r){var i=zt().getIntegration(t);return i?function(t,n,r,i){if(!(r.exception&&r.exception.values&&i&&T(i.originalException,Error)))return r;var e=wr(n,i.originalException,t);return r.exception.values=u(e,r.exception.values),r}(i.Ut,i.Pt,n,r):n}))},t.id="LinkedErrors",t}();function wr(t,n,r,i){if(void 0===i&&(i=[]),!T(n[r],Error)||i.length+1>=t)return i;var e=In(n[r]);return wr(t,n[r],r,u([e],i))}var Sr=f(),Tr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Ut((function(n){if(zt().getIntegration(t)){if(!Sr.navigator&&!Sr.location&&!Sr.document)return n;var r=n.request&&n.request.url||Sr.location&&Sr.location.href,i=(Sr.document||{}).referrer,o=(Sr.navigator||{}).userAgent,a=e(e(e({},n.request&&n.request.headers),i&&{Referer:i}),o&&{"User-Agent":o}),u=e(e({},r&&{url:r}),{headers:a});return e(e({},n),{request:u})}return n}))},t.id="UserAgent",t}(),xr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(n,r){n((function(n){var i=r().getIntegration(t);if(i){try{if(function(t,n){if(!n)return!1;if(function(t,n){var r=t.message,i=n.message;if(!r&&!i)return!1;if(r&&!i||!r&&i)return!1;if(r!==i)return!1;if(!_r(t,n))return!1;if(!Er(t,n))return!1;return!0}(t,n))return!0;if(function(t,n){var r=Or(n),i=Or(t);if(!r||!i)return!1;if(r.type!==i.type||r.value!==i.value)return!1;if(!_r(t,n))return!1;if(!Er(t,n))return!1;return!0}(t,n))return!0;return!1}(n,i.Ht))return L.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return i.Ht=n}return i.Ht=n}return n}))},t.id="Dedupe",t}();function Er(t,n){var r=kr(t),i=kr(n);if(!r&&!i)return!0;if(r&&!i||!r&&i)return!1;if(r=r,(i=i).length!==r.length)return!1;for(var e=0;e Global error occured"),t.setStatus(n)}}var Pr="finishReason",Hr=["heartbeatFailed","idleTimeout","documentHidden"],Jr=function(){function t(t){void 0===t&&(t=1e3),this.spans=[],this.Jt=t}return t.prototype.add=function(t){this.spans.length>this.Jt?t.spanRecorder=void 0:this.spans.push(t)},t}(),Br=function(){function t(t){if(this.traceId=gt(),this.spanId=gt().substring(16),this.startTimestamp=At(),this.tags={},this.data={},!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}return t.prototype.child=function(t){return this.startChild(t)},t.prototype.startChild=function(n){var r=new t(e(e({},n),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return r.spanRecorder=this.spanRecorder,r.spanRecorder&&r.spanRecorder.add(r),r.transaction=this.transaction,r},t.prototype.setTag=function(t,n){var r;return this.tags=e(e({},this.tags),((r={})[t]=n,r)),this},t.prototype.setData=function(t,n){var r;return this.data=e(e({},this.data),((r={})[t]=n,r)),this},t.prototype.setStatus=function(t){return this.status=t,this},t.prototype.setHttpStatus=function(t){this.setTag("http.status_code",String(t));var n=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);return"unknown_error"!==n&&this.setStatus(n),this},t.prototype.isSuccess=function(){return"ok"===this.status},t.prototype.finish=function(t){this.endTimestamp="number"==typeof t?t:At()},t.prototype.toTraceparent=function(){var t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),this.traceId+"-"+this.spanId+t},t.prototype.toContext=function(){return tt({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})},t.prototype.updateWithContext=function(t){var n,r,i,e,o;return this.data=null!=(n=t.data)?n:{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=null!=(r=t.spanId)?r:this.spanId,this.startTimestamp=null!=(i=t.startTimestamp)?i:this.startTimestamp,this.status=t.status,this.tags=null!=(e=t.tags)?e:{},this.traceId=null!=(o=t.traceId)?o:this.traceId,this},t.prototype.getTraceContext=function(){return tt({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})},t.prototype.toJSON=function(){return tt({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})},t}();var zr=function(t){function n(n,r){var i=t.call(this,n)||this;return i.Bt={},i.zt=zt(),T(r,Ht)&&(i.zt=r),i.name=n.name||"",i.metadata=n.metadata||{},i.Xt=n.trimEnd,i.transaction=i,i}return r(n,t),n.prototype.setName=function(t){this.name=t},n.prototype.initSpanRecorder=function(t){void 0===t&&(t=1e3),this.spanRecorder||(this.spanRecorder=new Jr(t)),this.spanRecorder.add(this)},n.prototype.setMeasurements=function(t){this.Bt=e({},t)},n.prototype.setMetadata=function(t){this.metadata=e(e({},this.metadata),t)},n.prototype.finish=function(n){var r=this;if(void 0===this.endTimestamp){if(this.name||(L.warn("Transaction has no name, falling back to ``."),this.name=""),t.prototype.finish.call(this,n),!0===this.sampled){var i=this.spanRecorder?this.spanRecorder.spans.filter((function(t){return t!==r&&t.endTimestamp})):[];this.Xt&&i.length>0&&(this.endTimestamp=i.reduce((function(t,n){return t.endTimestamp&&n.endTimestamp?t.endTimestamp>n.endTimestamp?t:n:t})).endTimestamp);var e={contexts:{trace:this.getTraceContext()},spans:i,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:this.metadata};return Object.keys(this.Bt).length>0&&(L.log("[Measurements] Adding measurements to transaction",JSON.stringify(this.Bt,void 0,2)),e.measurements=this.Bt),L.log("[Tracing] Finishing "+this.op+" transaction: "+this.name+"."),this.zt.captureEvent(e)}L.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var o=this.zt.getClient(),a=o&&o.getTransport&&o.getTransport();a&&a.recordLostEvent&&a.recordLostEvent("sample_rate","transaction")}},n.prototype.toContext=function(){var n=t.prototype.toContext.call(this);return tt(e(e({},n),{name:this.name,trimEnd:this.Xt}))},n.prototype.updateWithContext=function(n){var r;return t.prototype.updateWithContext.call(this,n),this.name=null!=(r=n.name)?r:"",this.Xt=n.trimEnd,this},n}(Br),Xr=function(t){function n(n,r,i,e){void 0===i&&(i="");var o=t.call(this,e)||this;return o.Wt=n,o.$t=r,o.transactionSpanId=i,o}return r(n,t),n.prototype.add=function(n){var r=this;n.spanId!==this.transactionSpanId&&(n.finish=function(t){n.endTimestamp="number"==typeof t?t:At(),r.$t(n.spanId)},void 0===n.endTimestamp&&this.Wt(n.spanId)),t.prototype.add.call(this,n)},n}(Jr),Wr=function(t){function n(n,r,i,e){void 0===i&&(i=1e3),void 0===e&&(e=!1);var o=t.call(this,n,r)||this;return o.Gt=r,o.Kt=i,o.Yt=e,o.activities={},o.Vt=0,o.Qt=!1,o.Zt=[],r&&e&&($r(r),L.log("Setting idle transaction on scope. Span ID: "+o.spanId),r.configureScope((function(t){return t.setSpan(o)}))),o.tn=setTimeout((function(){o.Qt||o.finish()}),o.Kt),o}return r(n,t),n.prototype.finish=function(n){var r,i,e=this;if(void 0===n&&(n=At()),this.Qt=!0,this.activities={},this.spanRecorder){L.log("[Tracing] finishing IdleTransaction",new Date(1e3*n).toISOString(),this.op);try{for(var a=o(this.Zt),u=a.next();!u.done;u=a.next()){(0,u.value)(this,n)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}this.spanRecorder.spans=this.spanRecorder.spans.filter((function(t){if(t.spanId===e.spanId)return!0;t.endTimestamp||(t.endTimestamp=n,t.setStatus("cancelled"),L.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));var r=t.startTimestamp=3?(L.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.setTag(Pr,Hr[0]),this.finish()):this.nn()}},n.prototype.nn=function(){var t=this;L.log("pinging Heartbeat -> current counter: "+this.Vt),setTimeout((function(){t.rn()}),5e3)},n}(zr);function $r(t){if(t){var n=t.getScope();if(n)n.getTransaction()&&n.setSpan(void 0)}}function Gr(){var t=this.getScope();if(t){var n=t.getSpan();if(n)return{"sentry-trace":n.toTraceparent()}}return{}}function Kr(t,n,r){return Lr(n)?void 0!==t.sampled?(t.setMetadata({transactionSampling:{method:"explicitly_set"}}),t):("function"==typeof n.tracesSampler?(i=n.tracesSampler(r),t.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(i)}})):void 0!==r.parentSampled?(i=r.parentSampled,t.setMetadata({transactionSampling:{method:"inheritance"}})):(i=n.tracesSampleRate,t.setMetadata({transactionSampling:{method:"client_rate",rate:Number(i)}})),function(t){if(isNaN(t)||"number"!=typeof t&&"boolean"!=typeof t)return L.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got "+JSON.stringify(t)+" of type "+JSON.stringify(typeof t)+"."),!1;if(t<0||t>1)return L.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got "+t+"."),!1;return!0}(i)?i?(t.sampled=Math.random()=0&&(e||r)&&(n.delta=n.value-(i||0),(n.delta||void 0===i)&&(i=n.value,t(n)))}},ti=function(t,n){return{name:t,value:null!=n?n:-1,delta:0,entries:[],id:"v2-"+Date.now()+"-"+(Math.floor(8999999999999*Math.random())+1e12)}},ni=function(t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return;var r=new PerformanceObserver((function(t){return t.getEntries().map(n)}));return r.observe({type:t,buffered:!0}),r}}catch(t){}},ri=function(t,n){var r=function(i){"pagehide"!==i.type&&"hidden"!==f().document.visibilityState||(t(i),n&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},ii=-1,ei=function(){return ii<0&&(ii="hidden"===f().document.visibilityState?0:1/0,ri((function(t){var n=t.timeStamp;ii=n}),!0)),{get firstHiddenTime(){return ii}}},oi={},ai=f(),ui=function(){function t(t){void 0===t&&(t=!1),this.an=t,this.Bt={},this.un=0,ai&&ai.performance&&ai.document&&(ai.performance.mark&&ai.performance.mark("sentry-tracing-init"),this.sn(),this.cn(),this.fn())}return t.prototype.addPerformanceEntries=function(t){var n=this;if(ai&&ai.performance&&ai.performance.getEntries&&Lt){L.log("[Tracing] Adding & adjusting spans using Performance API");var r,i,e=Fr(Lt);if(ai.performance.getEntries().slice(this.un).forEach((function(o){var a=Fr(o.startTime),u=Fr(o.duration);if(!("navigation"===t.op&&e+a=t.startTimestamp)){var i=n.Bt[r].value,e=o+Fr(i),a=Math.abs(1e3*(e-t.startTimestamp)),u=a-i;L.log("[Measurements] Normalized "+r+" from "+i+" to "+a+" ("+u+")"),n.Bt[r].value=a}})),this.Bt["mark.fid"]&&this.Bt.fid&&ci(t,{description:"first input delay",endTimestamp:this.Bt["mark.fid"].value+Fr(this.Bt.fid.value),op:"web.vitals",startTimestamp:this.Bt["mark.fid"].value}),"fcp"in this.Bt||delete this.Bt.cls,t.setMeasurements(this.Bt),function(t,n,r){n&&(L.log("[Measurements] Adding LCP Data"),n.element&&t.setTag("lcp.element",x(n.element)),n.id&&t.setTag("lcp.id",n.id),n.url&&t.setTag("lcp.url",n.url.trim().slice(0,200)),t.setTag("lcp.size",n.size));r&&r.sources&&(L.log("[Measurements] Adding CLS Data"),r.sources.forEach((function(n,r){return t.setTag("cls.source."+(r+1),x(n.node))})))}(t,this.vn,this.dn),t.setTag("sentry_reportAllChanges",this.an)}}},t.prototype.hn=function(t){var n=ai.navigator;if(n){var r=n.connection;r&&(r.effectiveType&&t.setTag("effectiveConnectionType",r.effectiveType),r.type&&t.setTag("connectionType",r.type),fi(r.rtt)&&(this.Bt["connection.rtt"]={value:r.rtt}),fi(r.downlink)&&(this.Bt["connection.downlink"]={value:r.downlink})),fi(n.deviceMemory)&&t.setTag("deviceMemory",String(n.deviceMemory)),fi(n.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(n.hardwareConcurrency))}},t.prototype.sn=function(){var t,n,r,i,e,o,a,u,s=this;t=function(t){var n=t.entries.pop();n&&(L.log("[Measurements] Adding CLS"),s.Bt.cls={value:t.value},s.dn=n)},i=ti("CLS",0),e=0,o=[],(u=ni("layout-shift",a=function(t){if(t&&!t.hadRecentInput){var n=o[0],a=o[o.length-1];e&&0!==o.length&&t.startTime-a.startTime<1e3&&t.startTime-n.startTime<5e3?(e+=t.value,o.push(t)):(e=t.value,o=[t]),e>i.value&&(i.value=e,i.entries=o,r&&r())}}))&&(r=Zr(t,i,n),ri((function(){u.takeRecords().map(a),r(!0)})))},t.prototype.cn=function(){var t=this;!function(t,n){var r,i=ei(),e=ti("LCP"),o=function(t){var n=t.startTime;nr&&(t.startTimestamp=r),t.startChild(e({startTimestamp:r},i))}function fi(t){return"number"==typeof t&&isFinite(t)}var hi={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function vi(t){var n=e(e({},hi),t),r=n.traceFetch,i=n.traceXHR,o=n.tracingOrigins,a=n.shouldCreateSpanForRequest,s={},c=function(t){if(s[t])return s[t];var n=o;return s[t]=n.some((function(n){return J(t,n)}))&&!J(t,"sentry_key"),s[t]},f=c;"function"==typeof a&&(f=function(t){return c(t)&&a(t)});var h={};r&&ct("fetch",(function(t){!function(t,n,r){if(!Lr()||!t.fetchData||!n(t.fetchData.url))return;if(t.endTimestamp){var i=t.fetchData.__span;if(!i)return;return void((a=r[i])&&(t.response?a.setHttpStatus(t.response.status):t.error&&a.setStatus("internal_error"),a.finish(),delete r[i]))}var o=qr();if(o){var a=o.startChild({data:e(e({},t.fetchData),{type:"fetch"}),description:t.fetchData.method+" "+t.fetchData.url,op:"http.client"});t.fetchData.__span=a.spanId,r[a.spanId]=a;var s=t.args[0]=t.args[0],c=t.args[1]=t.args[1]||{},f=c.headers;T(s,Request)&&(f=s.headers),f?"function"==typeof f.append?f.append("sentry-trace",a.toTraceparent()):f=Array.isArray(f)?u(f,[["sentry-trace",a.toTraceparent()]]):e(e({},f),{"sentry-trace":a.toTraceparent()}):f={"sentry-trace":a.toTraceparent()},c.headers=f}}(t,f,h)})),i&&ct("xhr",(function(t){!function(t,n,r){if(!Lr()||t.xhr&&t.xhr.__sentry_own_request__||!(t.xhr&&t.xhr.__sentry_xhr__&&n(t.xhr.__sentry_xhr__.url)))return;var i=t.xhr.__sentry_xhr__;if(t.endTimestamp){var o=t.xhr.__sentry_xhr_span_id__;if(!o)return;return void((u=r[o])&&(u.setHttpStatus(i.status_code),u.finish(),delete r[o]))}var a=qr();if(a){var u=a.startChild({data:e(e({},i.data),{type:"xhr",method:i.method,url:i.url}),description:i.method+" "+i.url,op:"http.client"});if(t.xhr.__sentry_xhr_span_id__=u.spanId,r[t.xhr.__sentry_xhr_span_id__]=u,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader("sentry-trace",u.toTraceparent())}catch(t){}}}(t,f,h)}))}var di=f();var li=e({idleTimeout:1e3,markBackgroundTransactions:!0,maxTransactionDuration:600,routingInstrumentation:function(t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=!0),di&&di.location){var i,e=di.location.href;n&&(i=t({name:di.location.pathname,op:"pageload"})),r&&ct("history",(function(n){var r=n.to,o=n.from;void 0===o&&e&&-1!==e.indexOf(r)?e=void 0:o!==r&&(e=void 0,i&&(L.log("[Tracing] Finishing current transaction with op: "+i.op),i.finish()),i=t({name:di.location.pathname,op:"navigation"}))}))}else L.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},hi),pi=function(){function t(n){this.name=t.id,this.ln=!1,this.pn=void 0;var r=hi.tracingOrigins;n&&(this.pn=n.idleTimeout,n.tracingOrigins&&Array.isArray(n.tracingOrigins)&&0!==n.tracingOrigins.length?r=n.tracingOrigins:this.ln=!0),this.options=e(e(e({},li),n),{tracingOrigins:r});var i=this.options.yn;this.mn=new ui(i&&i.an)}return t.prototype.setupOnce=function(t,n){var r=this;this.gn=n,this.ln&&(L.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),L.warn("[Tracing] We added a reasonable default for you: "+hi.tracingOrigins));var i=this.options,e=i.routingInstrumentation,o=i.startTransactionOnLocationChange,a=i.startTransactionOnPageLoad,u=i.markBackgroundTransactions,s=i.traceFetch,c=i.traceXHR,f=i.tracingOrigins,h=i.shouldCreateSpanForRequest;e((function(t){return r.bn(t)}),a,o),u&&(Qr&&Qr.document?Qr.document.addEventListener("visibilitychange",(function(){var t=qr();if(Qr.document.hidden&&t){var n="cancelled";L.log("[Tracing] Transaction: cancelled -> since tab moved to the background, op: "+t.op),t.status||t.setStatus(n),t.setTag("visibilitychange","document.hidden"),t.setTag(Pr,Hr[2]),t.finish()}})):L.warn("[Tracing] Could not set up background tab detection due to lack of global document")),vi({traceFetch:s,traceXHR:c,tracingOrigins:f,shouldCreateSpanForRequest:h})},t.prototype.bn=function(t){var n=this;if(this.gn){var r=this.options,i=r.beforeNavigate,o=r.idleTimeout,a=r.maxTransactionDuration,u="pageload"===t.op?function(){var t=(n="sentry-trace",r=f().document.querySelector("meta[name="+n+"]"),r?r.getAttribute("content"):null);var n,r;if(t)return function(t){var n=t.match(Ar);if(n){var r=void 0;return"1"===n[3]?r=!0:"0"===n[3]&&(r=!1),{traceId:n[1],parentSampled:r,parentSpanId:n[2]}}}(t);return}():void 0,s=e(e(e({},t),u),{trimEnd:!0}),c="function"==typeof i?i(s):s,h=void 0===c?e(e({},s),{sampled:!1}):c;!1===h.sampled&&L.log("[Tracing] Will not send "+h.op+" transaction because of beforeNavigate."),L.log("[Tracing] Starting "+h.op+" transaction on scope");var v=function(t,n,r,i,o){var a=t.getClient(),u=a&&a.getOptions()||{},s=new Wr(n,t,r,i);return(s=Kr(s,u,e({parentSampled:n.parentSampled,transactionContext:n},o))).sampled&&s.initSpanRecorder(u.on&&u.on.maxSpans),s}(this.gn(),h,o,!0,{location:f().location});return v.registerBeforeFinishCallback((function(t,r){n.mn.addPerformanceEntries(t),function(t,n,r){var i=r-n.startTimestamp;r&&(i>t||i<0)&&(n.setStatus("deadline_exceeded"),n.setTag("maxTransactionDurationExceeded","true"))}(1e3*a,t,r)})),v.setTag("idleTimeout",this.pn),v}L.warn("[Tracing] Did not create "+t.op+" transaction because _getCurrentHub is invalid.")},t.id="BrowserTracing",t}();var yi={},mi=f();mi.Sentry&&mi.Sentry.Integrations&&(yi=mi.Sentry.Integrations);var gi=e(e(e({},yi),Mr),{BrowserTracing:pi});return Vr(),t.BrowserClient=Dr,t.BrowserTracing=pi,t.Hub=Ht,t.Integrations=gi,t.SDK_NAME="sentry.javascript.browser",t.SDK_VERSION=hn,t.Scope=qt,t.Span=Br,t.Transports=$n,t.addBreadcrumb=function(t){$t("addBreadcrumb",t)},t.addExtensionMethods=Vr,t.addGlobalEventProcessor=Ut,t.captureEvent=function(t){return $t("captureEvent",t)},t.captureException=captureException,t.captureMessage=function(t,n){var r;try{throw new Error(t)}catch(t){r=t}return $t("captureMessage",t,"string"==typeof n?n:void 0,e({originalException:t,syntheticException:r},"string"!=typeof n?{captureContext:n}:void 0))},t.close=function(t){var n=zt().getClient();return n?n.close(t):(s()&&L.warn("Cannot flush events and disable SDK. No client defined."),_t(!1))},t.configureScope=function(t){$t("configureScope",t)},t.defaultIntegrations=Nr,t.flush=function(t){var n=zt().getClient();return n?n.flush(t):(s()&&L.warn("Cannot flush events. No client defined."),_t(!1))},t.forceLoad=function(){},t.getCurrentHub=zt,t.getHubFromCarrier=Xt,t.init=function(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Nr),void 0===t.release){var n=f();n.SENTRY_RELEASE&&n.SENTRY_RELEASE.id&&(t.release=n.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,n){!0===n.debug&&L.enable();var r=zt(),i=r.getScope();i&&i.update(n.initialScope);var e=new t(n);r.bindClient(e)}(Dr,t),t.autoSessionTracking&&function(){if(void 0===f().document)return void(s()&&L.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));var t=zt();if(!t.captureSession)return;Ir(t),ct("history",(function(t){var n=t.from,r=t.to;void 0!==n&&n!==r&&Ir(zt())}))}()},t.lastEventId=function(){return zt().lastEventId()},t.onLoad=function(t){t()},t.setContext=function(t,n){$t("setContext",t,n)},t.setExtra=function(t,n){$t("setExtra",t,n)},t.setExtras=function(t){$t("setExtras",t)},t.setTag=function(t,n){$t("setTag",t,n)},t.setTags=function(t){$t("setTags",t)},t.setUser=function(t){$t("setUser",t)},t.showReportDialog=function(t){void 0===t&&(t={});var n=zt(),r=n.getScope();r&&(t.user=e(e({},r.getUser()),t.user)),t.eventId||(t.eventId=n.lastEventId());var i=n.getClient();i&&i.showReportDialog(t)},t.startTransaction=function(t,n){return $t("startTransaction",e({},t),n)},t.withScope=Gt,t.wrap=function(t){return Zn(t)()},t}({}); +//# sourceMappingURL=bundle.tracing.min.js.map diff --git a/node_modules/@sentry/tracing/build/bundle.tracing.min.js.map b/node_modules/@sentry/tracing/build/bundle.tracing.min.js.map new file mode 100644 index 000000000..ece6a8ccd --- /dev/null +++ b/node_modules/@sentry/tracing/build/bundle.tracing.min.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bundle.tracing.min.js","sources":["../../types/src/severity.ts","../../utils/src/env.ts","../../utils/src/global.ts","../../utils/src/is.ts","../../utils/src/browser.ts","../../utils/src/polyfill.ts","../../utils/src/error.ts","../../utils/src/dsn.ts","../../utils/src/enums.ts","../../utils/src/logger.ts","../../utils/src/stacktrace.ts","../../utils/src/string.ts","../../utils/src/object.ts","../../utils/src/memo.ts","../../utils/src/supports.ts","../../utils/src/instrument.ts","../../utils/src/misc.ts","../../utils/src/syncpromise.ts","../../utils/src/promisebuffer.ts","../../utils/src/severity.ts","../../utils/src/time.ts","../../hub/src/scope.ts","../../hub/src/session.ts","../../hub/src/hub.ts","../../minimal/src/index.ts","../../core/src/api.ts","../../core/src/integration.ts","../../core/src/baseclient.ts","../../core/src/transports/noop.ts","../../core/src/basebackend.ts","../../core/src/request.ts","../../core/src/integrations/functiontostring.ts","../../core/src/version.ts","../../core/src/integrations/inboundfilters.ts","../../browser/src/stack-parsers.ts","../../browser/src/parsers.ts","../../browser/src/eventbuilder.ts","../../browser/src/transports/utils.ts","../../utils/src/async.ts","../../browser/src/transports/base.ts","../../utils/src/status.ts","../../browser/src/transports/fetch.ts","../../browser/src/transports/xhr.ts","../../browser/src/backend.ts","../../browser/src/helpers.ts","../../browser/src/integrations/globalhandlers.ts","../../browser/src/integrations/trycatch.ts","../../browser/src/integrations/breadcrumbs.ts","../../browser/src/integrations/linkederrors.ts","../../browser/src/integrations/useragent.ts","../../browser/src/integrations/dedupe.ts","../../browser/src/client.ts","../../browser/src/sdk.ts","../../browser/src/index.ts","../src/utils.ts","../src/errors.ts","../src/constants.ts","../src/span.ts","../src/transaction.ts","../src/idletransaction.ts","../src/hubextensions.ts","../src/browser/backgroundtab.ts","../src/browser/web-vitals/lib/bindReporter.ts","../src/browser/web-vitals/lib/initMetric.ts","../src/browser/web-vitals/lib/generateUniqueID.ts","../src/browser/web-vitals/lib/observe.ts","../src/browser/web-vitals/lib/onHidden.ts","../src/browser/web-vitals/lib/getVisibilityWatcher.ts","../src/browser/web-vitals/getLCP.ts","../src/browser/metrics.ts","../src/browser/web-vitals/getCLS.ts","../src/browser/web-vitals/getFID.ts","../src/browser/request.ts","../src/browser/router.ts","../src/browser/browsertracing.ts","../src/index.bundle.ts","../../browser/src/version.ts","../../core/src/sdk.ts"],"sourcesContent":["/**\n * TODO(v7): Remove this enum and replace with SeverityLevel\n */\nexport enum Severity {\n /** JSDoc */\n Fatal = 'fatal',\n /** JSDoc */\n Error = 'error',\n /** JSDoc */\n Warning = 'warning',\n /** JSDoc */\n Log = 'log',\n /** JSDoc */\n Info = 'info',\n /** JSDoc */\n Debug = 'debug',\n /** JSDoc */\n Critical = 'critical',\n}\n\n// TODO: in v7, these can disappear, because they now also exist in `@sentry/utils`. (Having them there rather than here\n// is nice because then it enforces the idea that only types are exported from `@sentry/types`.)\nexport const SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'] as const;\nexport type SeverityLevel = typeof SeverityLevels[number];\n","/**\n * This module mostly exists for optimizations in the build process\n * through rollup and terser. We define some global constants which\n * are normally undefined. However terser overrides these with global\n * definitions which can be evaluated by the static analyzer when\n * creating a bundle.\n *\n * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure\n * and can help us remove unused code from the bundles.\n */\n\ndeclare const __SENTRY_BROWSER_BUNDLE__: boolean | undefined;\ndeclare const __SENTRY_NO_DEBUG__: boolean | undefined;\n\n/**\n * Figures out if we're building with debug functionality.\n *\n * @returns true if this is a debug build\n */\nexport function isDebugBuild(): boolean {\n return typeof __SENTRY_NO_DEBUG__ !== 'undefined' && !__SENTRY_BROWSER_BUNDLE__;\n}\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nexport function isBrowserBundle(): boolean {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n","/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Integration } from '@sentry/types';\n\nimport { isNodeEnv } from './node';\n\n/** Internal */\ninterface SentryGlobal {\n Sentry?: {\n Integrations?: Integration[];\n };\n SENTRY_ENVIRONMENT?: string;\n SENTRY_DSN?: string;\n SENTRY_RELEASE?: {\n id?: string;\n };\n __SENTRY__: {\n globalEventProcessors: any;\n hub: any;\n logger: any;\n };\n}\n\nconst fallbackGlobalObject = {};\n\n/**\n * Safely get global scope object\n *\n * @returns Global scope object\n */\nexport function getGlobalObject(): T & SentryGlobal {\n return (\n isNodeEnv()\n ? global\n : typeof window !== 'undefined' // eslint-disable-line no-restricted-globals\n ? window // eslint-disable-line no-restricted-globals\n : typeof self !== 'undefined'\n ? self\n : fallbackGlobalObject\n ) as T & SentryGlobal;\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport { Primitive } from '@sentry/types';\n\n// eslint-disable-next-line @typescript-eslint/unbound-method\nconst objectToString = Object.prototype.toString;\n\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isError(wat: unknown): boolean {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\n\nfunction isBuiltin(wat: unknown, ty: string): boolean {\n return objectToString.call(wat) === `[object ${ty}]`;\n}\n\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isErrorEvent(wat: unknown): boolean {\n return isBuiltin(wat, 'ErrorEvent');\n}\n\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMError(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMError');\n}\n\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMException(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMException');\n}\n\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isString(wat: unknown): boolean {\n return isBuiltin(wat, 'String');\n}\n\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPrimitive(wat: unknown): wat is Primitive {\n return wat === null || (typeof wat !== 'object' && typeof wat !== 'function');\n}\n\n/**\n * Checks whether given value's type is an object literal\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPlainObject(wat: unknown): wat is Record {\n return isBuiltin(wat, 'Object');\n}\n\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isEvent(wat: unknown): boolean {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isElement(wat: unknown): boolean {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isRegExp(wat: unknown): wat is RegExp {\n return isBuiltin(wat, 'RegExp');\n}\n\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nexport function isThenable(wat: any): wat is PromiseLike {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isSyntheticEvent(wat: unknown): boolean {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nexport function isInstanceOf(wat: any, base: any): boolean {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n","import { getGlobalObject } from './global';\nimport { isString } from './is';\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nexport function htmlTreeAsString(elem: unknown, keyAttrs?: string[]): string {\n type SimpleNode = {\n parentNode: SimpleNode;\n } | null;\n\n // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n try {\n let currentElem = elem as SimpleNode;\n const MAX_TRAVERSE_HEIGHT = 5;\n const MAX_OUTPUT_LEN = 80;\n const out = [];\n let height = 0;\n let len = 0;\n const separator = ' > ';\n const sepLength = separator.length;\n let nextStr;\n\n // eslint-disable-next-line no-plusplus\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs);\n // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds MAX_OUTPUT_LEN\n // (ignore this limit if we are on the first iteration)\n if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) {\n break;\n }\n\n out.push(nextStr);\n\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '';\n }\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction _htmlElementAsString(el: unknown, keyAttrs?: string[]): string {\n const elem = el as {\n tagName?: string;\n id?: string;\n className?: string;\n getAttribute(key: string): string;\n };\n\n const out = [];\n let className;\n let classes;\n let key;\n let attr;\n let i;\n\n if (!elem || !elem.tagName) {\n return '';\n }\n\n out.push(elem.tagName.toLowerCase());\n\n // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n const keyAttrPairs =\n keyAttrs && keyAttrs.length\n ? keyAttrs.filter(keyAttr => elem.getAttribute(keyAttr)).map(keyAttr => [keyAttr, elem.getAttribute(keyAttr)])\n : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(keyAttrPair => {\n out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n });\n } else {\n if (elem.id) {\n out.push(`#${elem.id}`);\n }\n\n // eslint-disable-next-line prefer-const\n className = elem.className;\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n for (i = 0; i < classes.length; i++) {\n out.push(`.${classes[i]}`);\n }\n }\n }\n const allowedAttrs = ['type', 'name', 'title', 'alt'];\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n if (attr) {\n out.push(`[${key}=\"${attr}\"]`);\n }\n }\n return out.join('');\n}\n\n/**\n * A safe form of location.href\n */\nexport function getLocationHref(): string {\n const global = getGlobalObject();\n try {\n return global.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n","export const setPrototypeOf =\n Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties);\n\n/**\n * setPrototypeOf polyfill using __proto__\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction setProtoOf(obj: TTarget, proto: TProto): TTarget & TProto {\n // @ts-ignore __proto__ does not exist on obj\n obj.__proto__ = proto;\n return obj as TTarget & TProto;\n}\n\n/**\n * setPrototypeOf polyfill using mixin\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction mixinProperties(obj: TTarget, proto: TProto): TTarget & TProto {\n for (const prop in proto) {\n if (!Object.prototype.hasOwnProperty.call(obj, prop)) {\n // @ts-ignore typescript complains about indexing so we remove\n obj[prop] = proto[prop];\n }\n }\n\n return obj as TTarget & TProto;\n}\n","import { setPrototypeOf } from './polyfill';\n\n/** An error emitted by Sentry SDKs and related utilities. */\nexport class SentryError extends Error {\n /** Display name of this error instance. */\n public name: string;\n\n public constructor(public message: string) {\n super(message);\n\n this.name = new.target.prototype.constructor.name;\n setPrototypeOf(this, new.target.prototype);\n }\n}\n","import { DsnComponents, DsnLike, DsnProtocol } from '@sentry/types';\n\nimport { isDebugBuild } from './env';\nimport { SentryError } from './error';\n\n/** Regular expression used to parse a Dsn. */\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+))?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol?: string): protocol is DsnProtocol {\n return protocol === 'http' || protocol === 'https';\n}\n\n/**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\nexport function dsnToString(dsn: DsnComponents, withPassword: boolean = false): string {\n const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n return (\n `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ''}` +\n `@${host}${port ? `:${port}` : ''}/${path ? `${path}/` : path}${projectId}`\n );\n}\n\nfunction dsnFromString(str: string): DsnComponents {\n const match = DSN_REGEX.exec(str);\n\n if (!match) {\n throw new SentryError(`Invalid Sentry Dsn: ${str}`);\n }\n\n const [protocol, publicKey, pass = '', host, port = '', lastPath] = match.slice(1);\n let path = '';\n let projectId = lastPath;\n\n const split = projectId.split('/');\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop() as string;\n }\n\n if (projectId) {\n const projectMatch = projectId.match(/^\\d+/);\n if (projectMatch) {\n projectId = projectMatch[0];\n }\n }\n\n return dsnFromComponents({ host, pass, path, projectId, port, protocol: protocol as DsnProtocol, publicKey });\n}\n\nfunction dsnFromComponents(components: DsnComponents): DsnComponents {\n // TODO this is for backwards compatibility, and can be removed in a future version\n if ('user' in components && !('publicKey' in components)) {\n components.publicKey = components.user;\n }\n\n return {\n user: components.publicKey || '',\n protocol: components.protocol,\n publicKey: components.publicKey || '',\n pass: components.pass || '',\n host: components.host,\n port: components.port || '',\n path: components.path || '',\n projectId: components.projectId,\n };\n}\n\nfunction validateDsn(dsn: DsnComponents): boolean | void {\n if (!isDebugBuild()) {\n return;\n }\n\n const { port, projectId, protocol } = dsn;\n\n const requiredComponents: ReadonlyArray = ['protocol', 'publicKey', 'host', 'projectId'];\n requiredComponents.forEach(component => {\n if (!dsn[component]) {\n throw new SentryError(`Invalid Sentry Dsn: ${component} missing`);\n }\n });\n\n if (!projectId.match(/^\\d+$/)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n }\n\n if (!isValidProtocol(protocol)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid port ${port}`);\n }\n\n return true;\n}\n\n/** The Sentry Dsn, identifying a Sentry instance and project. */\nexport function makeDsn(from: DsnLike): DsnComponents {\n const components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n\n validateDsn(components);\n\n return components;\n}\n","export const SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'] as const;\nexport type SeverityLevel = typeof SeverityLevels[number];\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { getGlobalObject } from './global';\n\n// TODO: Implement different loggers for different environments\nconst global = getGlobalObject();\n\n/** Prefix for logging strings */\nconst PREFIX = 'Sentry Logger ';\n\n/** JSDoc */\ninterface ExtensibleConsole extends Console {\n [key: string]: any;\n}\n\n/**\n * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods.\n * Restores wrapping after the callback completes.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nexport function consoleSandbox(callback: () => any): any {\n const global = getGlobalObject();\n const levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];\n\n if (!('console' in global)) {\n return callback();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const originalConsole = (global as any).console as ExtensibleConsole;\n const wrappedLevels: { [key: string]: any } = {};\n\n // Restore all wrapped console methods\n levels.forEach(level => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (level in (global as any).console && (originalConsole[level] as WrappedFunction).__sentry_original__) {\n wrappedLevels[level] = originalConsole[level] as WrappedFunction;\n originalConsole[level] = (originalConsole[level] as WrappedFunction).__sentry_original__;\n }\n });\n\n // Perform callback manipulations\n const result = callback();\n\n // Revert restoration to wrapped state\n Object.keys(wrappedLevels).forEach(level => {\n originalConsole[level] = wrappedLevels[level];\n });\n\n return result;\n}\n\n/** JSDoc */\nclass Logger {\n /** JSDoc */\n private _enabled: boolean;\n\n /** JSDoc */\n public constructor() {\n this._enabled = false;\n }\n\n /** JSDoc */\n public disable(): void {\n this._enabled = false;\n }\n\n /** JSDoc */\n public enable(): void {\n this._enabled = true;\n }\n\n /** JSDoc */\n public log(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.log(`${PREFIX}[Log]: ${args.join(' ')}`);\n });\n }\n\n /** JSDoc */\n public warn(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.warn(`${PREFIX}[Warn]: ${args.join(' ')}`);\n });\n }\n\n /** JSDoc */\n public error(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.error(`${PREFIX}[Error]: ${args.join(' ')}`);\n });\n }\n}\n\n// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used\nglobal.__SENTRY__ = global.__SENTRY__ || {};\nconst logger = (global.__SENTRY__.logger as Logger) || (global.__SENTRY__.logger = new Logger());\n\nexport { logger };\n","import { StackFrame } from '@sentry/types';\n\nconst STACKTRACE_LIMIT = 50;\n\nexport type StackLineParser = (line: string) => StackFrame | undefined;\n\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n * */\nexport function createStackParser(...parsers: StackLineParser[]) {\n return (stack: string, skipFirst: number = 0): StackFrame[] => {\n const frames: StackFrame[] = [];\n\n for (const line of stack.split('\\n').slice(skipFirst)) {\n for (const parser of parsers) {\n const frame = parser(line);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n\n/**\n * @hidden\n */\nexport function stripSentryFramesAndReverse(stack: StackFrame[]): StackFrame[] {\n if (!stack.length) {\n return [];\n }\n\n let localStack = stack;\n\n const firstFrameFunction = localStack[0].function || '';\n const lastFrameFunction = localStack[localStack.length - 1].function || '';\n\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) {\n localStack = localStack.slice(1);\n }\n\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (lastFrameFunction.indexOf('sentryWrapped') !== -1) {\n localStack = localStack.slice(0, -1);\n }\n\n // The frame where the crash happened, should be the last entry in the array\n return localStack\n .slice(0, STACKTRACE_LIMIT)\n .map(frame => ({\n ...frame,\n filename: frame.filename || localStack[0].filename,\n function: frame.function || '?',\n }))\n .reverse();\n}\n\nconst defaultFunctionName = '';\n\n/**\n * Safely extract function name from itself\n */\nexport function getFunctionName(fn: unknown): string {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n","import { isRegExp, isString } from './is';\n\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nexport function truncate(str: string, max: number = 0): string {\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : `${str.substr(0, max)}...`;\n}\n\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nexport function snipLine(line: string, colno: number): string {\n let newLine = line;\n const lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n let start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n\n let end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = `'{snip} ${newLine}`;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function safeJoin(input: any[], delimiter?: string): string {\n if (!Array.isArray(input)) {\n return '';\n }\n\n const output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.length; i++) {\n const value = input[i];\n try {\n output.push(String(value));\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n\n/**\n * Checks if the value matches a regex or includes the string\n * @param value The string value to be checked against\n * @param pattern Either a regex or a string that must be contained in value\n */\nexport function isMatchingPattern(value: string, pattern: RegExp | string): boolean {\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return (pattern as RegExp).test(value);\n }\n if (typeof pattern === 'string') {\n return value.indexOf(pattern) !== -1;\n }\n return false;\n}\n\n/**\n * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to\n * `new RegExp()`.\n *\n * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime\n * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node\n * 12+).\n *\n * @param regexString The string to escape\n * @returns An version of the string with all special regex characters escaped\n */\nexport function escapeStringForRegex(regexString: string): string {\n // escape the hyphen separately so we can also replace it with a unicode literal hyphen, to avoid the problems\n // discussed in https://github.com/sindresorhus/escape-string-regexp/issues/20.\n return regexString.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&').replace(/-/g, '\\\\x2d');\n}\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ExtendedError, WrappedFunction } from '@sentry/types';\n\nimport { htmlTreeAsString } from './browser';\nimport { isElement, isError, isEvent, isInstanceOf, isPlainObject, isPrimitive, isSyntheticEvent } from './is';\nimport { memoBuilder, MemoFunc } from './memo';\nimport { getFunctionName } from './stacktrace';\nimport { truncate } from './string';\n\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nexport function fill(source: { [key: string]: any }, name: string, replacementFactory: (...args: any[]) => any): void {\n if (!(name in source)) {\n return;\n }\n\n const original = source[name] as () => any;\n const wrapped = replacementFactory(original) as WrappedFunction;\n\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n try {\n markFunctionWrapped(wrapped, original);\n } catch (_Oo) {\n // This can throw if multiple fill happens on a global object like XMLHttpRequest\n // Fixes https://github.com/getsentry/sentry-javascript/issues/2043\n }\n }\n\n source[name] = wrapped;\n}\n\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nexport function addNonEnumerableProperty(obj: { [key: string]: unknown }, name: string, value: unknown): void {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true,\n });\n}\n\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nexport function markFunctionWrapped(wrapped: WrappedFunction, original: WrappedFunction): void {\n const proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n}\n\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nexport function getOriginalFunction(func: WrappedFunction): WrappedFunction | undefined {\n return func.__sentry_original__;\n}\n\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nexport function urlEncode(object: { [key: string]: any }): string {\n return Object.keys(object)\n .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)\n .join('&');\n}\n\n/**\n * Transforms any object into an object literal with all its attributes\n * attached to it.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n */\nfunction getWalkSource(value: any): {\n [key: string]: any;\n} {\n if (isError(value)) {\n const error = value as ExtendedError;\n const err: {\n [key: string]: any;\n stack: string | undefined;\n message: string;\n name: string;\n } = {\n message: error.message,\n name: error.name,\n stack: error.stack,\n };\n\n for (const i in error) {\n if (Object.prototype.hasOwnProperty.call(error, i)) {\n err[i] = error[i];\n }\n }\n\n return err;\n }\n\n if (isEvent(value)) {\n /**\n * Event-like interface that's usable in browser and node\n */\n interface SimpleEvent {\n [key: string]: unknown;\n type: string;\n target?: unknown;\n currentTarget?: unknown;\n }\n\n const event = value as unknown as SimpleEvent;\n\n const source: {\n [key: string]: any;\n } = {};\n\n // Accessing event attributes can throw (see https://github.com/getsentry/sentry-javascript/issues/768 and\n // https://github.com/getsentry/sentry-javascript/issues/838), but accessing `type` hasn't been wrapped in a\n // try-catch in at least two years and no one's complained, so that's likely not an issue anymore\n source.type = event.type;\n\n try {\n source.target = isElement(event.target)\n ? htmlTreeAsString(event.target)\n : Object.prototype.toString.call(event.target);\n } catch (_oO) {\n source.target = '';\n }\n\n try {\n source.currentTarget = isElement(event.currentTarget)\n ? htmlTreeAsString(event.currentTarget)\n : Object.prototype.toString.call(event.currentTarget);\n } catch (_oO) {\n source.currentTarget = '';\n }\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n source.detail = event.detail;\n }\n\n for (const attr in event) {\n if (Object.prototype.hasOwnProperty.call(event, attr)) {\n source[attr] = event[attr];\n }\n }\n\n return source;\n }\n\n return value as {\n [key: string]: any;\n };\n}\n\n/** Calculates bytes size of input string */\nfunction utf8Length(value: string): number {\n // eslint-disable-next-line no-bitwise\n return ~-encodeURI(value).split(/%..|./).length;\n}\n\n/** Calculates bytes size of input object */\nfunction jsonSize(value: any): number {\n return utf8Length(JSON.stringify(value));\n}\n\n/** JSDoc */\nexport function normalizeToSize(\n object: { [key: string]: any },\n // Default Node.js REPL depth\n depth: number = 3,\n // 100kB, as 200kB is max payload size, so half sounds reasonable\n maxSize: number = 100 * 1024,\n): T {\n const serialized = normalize(object, depth);\n\n if (jsonSize(serialized) > maxSize) {\n return normalizeToSize(object, depth - 1, maxSize);\n }\n\n return serialized as T;\n}\n\n/**\n * Transform any non-primitive, BigInt, or Symbol-type value into a string. Acts as a no-op on strings, numbers,\n * booleans, null, and undefined.\n *\n * @param value The value to stringify\n * @returns For non-primitive, BigInt, and Symbol-type values, a string denoting the value's type, type and value, or\n * type and `description` property, respectively. For non-BigInt, non-Symbol primitives, returns the original value,\n * unchanged.\n */\nfunction serializeValue(value: any): any {\n // Node.js REPL notation\n if (typeof value === 'string') {\n return value;\n }\n\n const type = Object.prototype.toString.call(value);\n if (type === '[object Object]') {\n return '[Object]';\n }\n if (type === '[object Array]') {\n return '[Array]';\n }\n\n const normalized = normalizeValue(value);\n return isPrimitive(normalized) ? normalized : type;\n}\n\n/**\n * normalizeValue()\n *\n * Takes unserializable input and make it serializable friendly\n *\n * - translates undefined/NaN values to \"[undefined]\"/\"[NaN]\" respectively,\n * - serializes Error objects\n * - filter global objects\n */\nfunction normalizeValue(value: T, key?: any): T | string {\n if (key === 'domain' && value && typeof value === 'object' && (value as unknown as { _events: any })._events) {\n return '[Domain]';\n }\n\n if (key === 'domainEmitter') {\n return '[DomainEmitter]';\n }\n\n if (typeof (global as any) !== 'undefined' && (value as unknown) === global) {\n return '[Global]';\n }\n\n // It's safe to use `window` and `document` here in this manner, as we are asserting using `typeof` first\n // which won't throw if they are not present.\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof (window as any) !== 'undefined' && (value as unknown) === window) {\n return '[Window]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof (document as any) !== 'undefined' && (value as unknown) === document) {\n return '[Document]';\n }\n\n // React's SyntheticEvent thingy\n if (isSyntheticEvent(value)) {\n return '[SyntheticEvent]';\n }\n\n if (typeof value === 'number' && value !== value) {\n return '[NaN]';\n }\n\n if (value === void 0) {\n return '[undefined]';\n }\n\n if (typeof value === 'function') {\n return `[Function: ${getFunctionName(value)}]`;\n }\n\n // symbols and bigints are considered primitives by TS, but aren't natively JSON-serilaizable\n\n if (typeof value === 'symbol') {\n return `[${String(value)}]`;\n }\n\n if (typeof value === 'bigint') {\n return `[BigInt: ${String(value)}]`;\n }\n\n return value;\n}\n\n/**\n * Walks an object to perform a normalization on it\n *\n * @param key of object that's walked in current iteration\n * @param value object to be walked\n * @param depth Optional number indicating how deep should walking be performed\n * @param memo Optional Memo class handling decycling\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function walk(key: string, value: any, depth: number = +Infinity, memo: MemoFunc = memoBuilder()): any {\n // If we reach the maximum depth, serialize whatever is left\n if (depth === 0) {\n return serializeValue(value);\n }\n\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // If value implements `toJSON` method, call it and return early\n if (value !== null && value !== undefined && typeof value.toJSON === 'function') {\n return value.toJSON();\n }\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n // If normalized value is a primitive, there are no branches left to walk, so bail out\n const normalized = normalizeValue(value, key);\n if (isPrimitive(normalized)) {\n return normalized;\n }\n\n // Create source that we will use for the next iteration. It will either be an objectified error object (`Error` type\n // with extracted key:value pairs) or the input itself.\n const source = getWalkSource(value);\n\n // Create an accumulator that will act as a parent for all future itterations of that branch\n const acc = Array.isArray(value) ? [] : {};\n\n // If we already walked that branch, bail out, as it's circular reference\n if (memo[0](value)) {\n return '[Circular ~]';\n }\n\n // Walk all keys of the source\n for (const innerKey in source) {\n // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration.\n if (!Object.prototype.hasOwnProperty.call(source, innerKey)) {\n continue;\n }\n // Recursively walk through all the child nodes\n (acc as { [key: string]: any })[innerKey] = walk(innerKey, source[innerKey], depth - 1, memo);\n }\n\n // Once walked through all the branches, remove the parent from memo storage\n memo[1](value);\n\n // Return accumulated values\n return acc;\n}\n\n/**\n * normalize()\n *\n * - Creates a copy to prevent original input mutation\n * - Skip non-enumerablers\n * - Calls `toJSON` if implemented\n * - Removes circular references\n * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format\n * - Translates known global objects/Classes to a string representations\n * - Takes care of Error objects serialization\n * - Optionally limit depth of final output\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function normalize(input: any, depth?: number): any {\n try {\n return JSON.parse(JSON.stringify(input, (key: string, value: any) => walk(key, value, depth)));\n } catch (_oO) {\n return '**non-serializable**';\n }\n}\n\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function extractExceptionKeysForMessage(exception: any, maxLength: number = 40): string {\n const keys = Object.keys(getWalkSource(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n const serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n\n/**\n * Given any object, return the new object with removed keys that value was `undefined`.\n * Works recursively on objects and arrays.\n */\nexport function dropUndefinedKeys(val: T): T {\n if (isPlainObject(val)) {\n const obj = val as { [key: string]: any };\n const rv: { [key: string]: any } = {};\n for (const key of Object.keys(obj)) {\n if (typeof obj[key] !== 'undefined') {\n rv[key] = dropUndefinedKeys(obj[key]);\n }\n }\n return rv as T;\n }\n\n if (Array.isArray(val)) {\n return (val as any[]).map(dropUndefinedKeys) as any;\n }\n\n return val;\n}\n\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nexport function objectify(wat: unknown): typeof Object {\n let objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new (wat as any).constructor(wat);\n break;\n\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport type MemoFunc = [(obj: any) => boolean, (obj: any) => void];\n\n/**\n * Helper to decycle json objects\n */\nexport function memoBuilder(): MemoFunc {\n const hasWeakSet = typeof WeakSet === 'function';\n const inner: any = hasWeakSet ? new WeakSet() : [];\n function memoize(obj: any): boolean {\n if (hasWeakSet) {\n if (inner.has(obj)) {\n return true;\n }\n inner.add(obj);\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < inner.length; i++) {\n const value = inner[i];\n if (value === obj) {\n return true;\n }\n }\n inner.push(obj);\n return false;\n }\n\n function unmemoize(obj: any): void {\n if (hasWeakSet) {\n inner.delete(obj);\n } else {\n for (let i = 0; i < inner.length; i++) {\n if (inner[i] === obj) {\n inner.splice(i, 1);\n break;\n }\n }\n }\n }\n return [memoize, unmemoize];\n}\n","import { isDebugBuild } from './env';\nimport { getGlobalObject } from './global';\nimport { logger } from './logger';\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsErrorEvent(): boolean {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMError(): boolean {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-ignore It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMException(): boolean {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsFetch(): boolean {\n if (!('fetch' in getGlobalObject())) {\n return false;\n }\n\n try {\n new Headers();\n new Request('');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function isNativeFetch(func: Function): boolean {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\nexport function supportsNativeFetch(): boolean {\n if (!supportsFetch()) {\n return false;\n }\n\n const global = getGlobalObject();\n\n // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n if (isNativeFetch(global.fetch)) {\n return true;\n }\n\n // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n let result = false;\n const doc = global.document;\n // eslint-disable-next-line deprecation/deprecation\n if (doc && typeof (doc.createElement as unknown) === `function`) {\n try {\n const sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n doc.head.removeChild(sandbox);\n } catch (err) {\n if (isDebugBuild()) {\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n }\n\n return result;\n}\n\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReportingObserver(): boolean {\n return 'ReportingObserver' in getGlobalObject();\n}\n\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReferrerPolicy(): boolean {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin' as ReferrerPolicy,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsHistory(): boolean {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n const global = getGlobalObject();\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const chrome = (global as any).chrome;\n const isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n const hasHistoryApi = 'history' in global && !!global.history.pushState && !!global.history.replaceState;\n\n return !isChromePackagedApp && hasHistoryApi;\n}\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { isDebugBuild } from './env';\nimport { getGlobalObject } from './global';\nimport { isInstanceOf, isString } from './is';\nimport { logger } from './logger';\nimport { fill } from './object';\nimport { getFunctionName } from './stacktrace';\nimport { supportsHistory, supportsNativeFetch } from './supports';\n\nconst global = getGlobalObject();\n\ntype InstrumentHandlerType =\n | 'console'\n | 'dom'\n | 'fetch'\n | 'history'\n | 'sentry'\n | 'xhr'\n | 'error'\n | 'unhandledrejection';\ntype InstrumentHandlerCallback = (data: any) => void;\n\n/**\n * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc.\n * - Console API\n * - Fetch API\n * - XHR API\n * - History API\n * - DOM API (click/typing)\n * - Error API\n * - UnhandledRejection API\n */\n\nconst handlers: { [key in InstrumentHandlerType]?: InstrumentHandlerCallback[] } = {};\nconst instrumented: { [key in InstrumentHandlerType]?: boolean } = {};\n\n/** Instruments given API */\nfunction instrument(type: InstrumentHandlerType): void {\n if (instrumented[type]) {\n return;\n }\n\n instrumented[type] = true;\n\n switch (type) {\n case 'console':\n instrumentConsole();\n break;\n case 'dom':\n instrumentDOM();\n break;\n case 'xhr':\n instrumentXHR();\n break;\n case 'fetch':\n instrumentFetch();\n break;\n case 'history':\n instrumentHistory();\n break;\n case 'error':\n instrumentError();\n break;\n case 'unhandledrejection':\n instrumentUnhandledRejection();\n break;\n default:\n logger.warn('unknown instrumentation type:', type);\n }\n}\n\n/**\n * Add handler that will be called when given type of instrumentation triggers.\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nexport function addInstrumentationHandler(type: InstrumentHandlerType, callback: InstrumentHandlerCallback): void {\n handlers[type] = handlers[type] || [];\n (handlers[type] as InstrumentHandlerCallback[]).push(callback);\n instrument(type);\n}\n\n/** JSDoc */\nfunction triggerHandlers(type: InstrumentHandlerType, data: any): void {\n if (!type || !handlers[type]) {\n return;\n }\n\n for (const handler of handlers[type] || []) {\n try {\n handler(data);\n } catch (e) {\n if (isDebugBuild()) {\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(\n handler,\n )}\\nError: ${e}`,\n );\n }\n }\n }\n}\n\n/** JSDoc */\nfunction instrumentConsole(): void {\n if (!('console' in global)) {\n return;\n }\n\n ['debug', 'info', 'warn', 'error', 'log', 'assert'].forEach(function (level: string): void {\n if (!(level in global.console)) {\n return;\n }\n\n fill(global.console, level, function (originalConsoleMethod: () => any): Function {\n return function (...args: any[]): void {\n triggerHandlers('console', { args, level });\n\n // this fails for some browsers. :(\n if (originalConsoleMethod) {\n originalConsoleMethod.apply(global.console, args);\n }\n };\n });\n });\n}\n\n/** JSDoc */\nfunction instrumentFetch(): void {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(global, 'fetch', function (originalFetch: () => void): () => void {\n return function (...args: any[]): void {\n const handlerData = {\n args,\n fetchData: {\n method: getFetchMethod(args),\n url: getFetchUrl(args),\n },\n startTimestamp: Date.now(),\n };\n\n triggerHandlers('fetch', {\n ...handlerData,\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(global, args).then(\n (response: Response) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n response,\n });\n return response;\n },\n (error: Error) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n error,\n });\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n throw error;\n },\n );\n };\n });\n}\n\ntype XHRSendInput = null | Blob | BufferSource | FormData | URLSearchParams | string;\n\n/** JSDoc */\ninterface SentryWrappedXMLHttpRequest extends XMLHttpRequest {\n [key: string]: any;\n __sentry_xhr__?: {\n method?: string;\n url?: string;\n status_code?: number;\n body?: XHRSendInput;\n };\n}\n\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/** Extract `method` from fetch call arguments */\nfunction getFetchMethod(fetchArgs: any[] = []): string {\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) {\n return String(fetchArgs[0].method).toUpperCase();\n }\n if (fetchArgs[1] && fetchArgs[1].method) {\n return String(fetchArgs[1].method).toUpperCase();\n }\n return 'GET';\n}\n\n/** Extract `url` from fetch call arguments */\nfunction getFetchUrl(fetchArgs: any[] = []): string {\n if (typeof fetchArgs[0] === 'string') {\n return fetchArgs[0];\n }\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request)) {\n return fetchArgs[0].url;\n }\n return String(fetchArgs[0]);\n}\n/* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n/** JSDoc */\nfunction instrumentXHR(): void {\n if (!('XMLHttpRequest' in global)) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n fill(xhrproto, 'open', function (originalOpen: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const url = args[1];\n const xhrInfo: SentryWrappedXMLHttpRequest['__sentry_xhr__'] = (xhr.__sentry_xhr__ = {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n method: isString(args[0]) ? args[0].toUpperCase() : args[0],\n url: args[1],\n });\n\n // if Sentry key appears in URL, don't capture it as a request\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) {\n xhr.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler = function (): void {\n if (xhr.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = xhr.status;\n } catch (e) {\n /* do nothing */\n }\n\n triggerHandlers('xhr', {\n args,\n endTimestamp: Date.now(),\n startTimestamp: Date.now(),\n xhr,\n });\n }\n };\n\n if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') {\n fill(xhr, 'onreadystatechange', function (original: WrappedFunction): Function {\n return function (...readyStateArgs: any[]): void {\n onreadystatechangeHandler();\n return original.apply(xhr, readyStateArgs);\n };\n });\n } else {\n xhr.addEventListener('readystatechange', onreadystatechangeHandler);\n }\n\n return originalOpen.apply(xhr, args);\n };\n });\n\n fill(xhrproto, 'send', function (originalSend: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n if (this.__sentry_xhr__ && args[0] !== undefined) {\n this.__sentry_xhr__.body = args[0];\n }\n\n triggerHandlers('xhr', {\n args,\n startTimestamp: Date.now(),\n xhr: this,\n });\n\n return originalSend.apply(this, args);\n };\n });\n}\n\nlet lastHref: string;\n\n/** JSDoc */\nfunction instrumentHistory(): void {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = global.onpopstate;\n global.onpopstate = function (this: WindowEventHandlers, ...args: any[]): any {\n const to = global.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n /** @hidden */\n function historyReplacementFunction(originalHistoryFunction: () => void): () => void {\n return function (this: History, ...args: any[]): void {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(global.history, 'pushState', historyReplacementFunction);\n fill(global.history, 'replaceState', historyReplacementFunction);\n}\n\nconst debounceDuration = 1000;\nlet debounceTimerID: number | undefined;\nlet lastCapturedEvent: Event | undefined;\n\n/**\n * Decide whether the current event should finish the debounce of previously captured one.\n * @param previous previously captured event\n * @param current event to be captured\n */\nfunction shouldShortcircuitPreviousDebounce(previous: Event | undefined, current: Event): boolean {\n // If there was no previous event, it should always be swapped for the new one.\n if (!previous) {\n return true;\n }\n\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (previous.type !== current.type) {\n return true;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (previous.target !== current.target) {\n return true;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return false;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(event: Event): boolean {\n // We are only interested in filtering `keypress` events for now.\n if (event.type !== 'keypress') {\n return false;\n }\n\n try {\n const target = event.target as HTMLElement;\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n * @param handler function that will be triggered\n * @param globalListener indicates whether event was captured by the global event listener\n * @returns wrapped breadcrumb events handler\n * @hidden\n */\nfunction makeDOMEventHandler(handler: Function, globalListener: boolean = false): (event: Event) => void {\n return (event: Event): void => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || lastCapturedEvent === event) {\n return;\n }\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event)) {\n return;\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons.\n if (debounceTimerID === undefined) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = global.setTimeout(() => {\n debounceTimerID = undefined;\n }, debounceDuration);\n };\n}\n\ntype AddEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n) => void;\ntype RemoveEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n) => void;\n\ntype InstrumentedElement = Element & {\n __sentry_instrumentation_handlers__?: {\n [key in 'click' | 'keypress']?: {\n handler?: Function;\n /** The number of custom listeners attached to this element */\n refCount: number;\n };\n };\n};\n\n/** JSDoc */\nfunction instrumentDOM(): void {\n if (!('document' in global)) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n global.document.addEventListener('click', globalDOMEventHandler, false);\n global.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target: string) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = (global as any)[target] && (global as any)[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener: AddEventListener): AddEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): AddEventListener {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount += 1;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener: RemoveEventListener): RemoveEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount -= 1;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\nlet _oldOnErrorHandler: OnErrorEventHandler = null;\n/** JSDoc */\nfunction instrumentError(): void {\n _oldOnErrorHandler = global.onerror;\n\n global.onerror = function (msg: any, url: any, line: any, column: any, error: any): boolean {\n triggerHandlers('error', {\n column,\n error,\n line,\n msg,\n url,\n });\n\n if (_oldOnErrorHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n}\n\nlet _oldOnUnhandledRejectionHandler: ((e: any) => void) | null = null;\n/** JSDoc */\nfunction instrumentUnhandledRejection(): void {\n _oldOnUnhandledRejectionHandler = global.onunhandledrejection;\n\n global.onunhandledrejection = function (e: any): boolean {\n triggerHandlers('unhandledrejection', e);\n\n if (_oldOnUnhandledRejectionHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Event, Exception, Mechanism, StackFrame } from '@sentry/types';\n\nimport { getGlobalObject } from './global';\nimport { addNonEnumerableProperty } from './object';\nimport { snipLine } from './string';\n\n/**\n * Extended Window interface that allows for Crypto API usage in IE browsers\n */\ninterface MsCryptoWindow extends Window {\n msCrypto?: Crypto;\n}\n\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nexport function uuid4(): string {\n const global = getGlobalObject() as MsCryptoWindow;\n const crypto = global.crypto || global.msCrypto;\n\n if (!(crypto === void 0) && crypto.getRandomValues) {\n // Use window.crypto API if available\n const arr = new Uint16Array(8);\n crypto.getRandomValues(arr);\n\n // set 4 in byte 7\n // eslint-disable-next-line no-bitwise\n arr[3] = (arr[3] & 0xfff) | 0x4000;\n // set 2 most significant bits of byte 9 to '10'\n // eslint-disable-next-line no-bitwise\n arr[4] = (arr[4] & 0x3fff) | 0x8000;\n\n const pad = (num: number): string => {\n let v = num.toString(16);\n while (v.length < 4) {\n v = `0${v}`;\n }\n return v;\n };\n\n return (\n pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7])\n );\n }\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, c => {\n // eslint-disable-next-line no-bitwise\n const r = (Math.random() * 16) | 0;\n // eslint-disable-next-line no-bitwise\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n\n/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nexport function parseUrl(url: string): {\n host?: string;\n path?: string;\n protocol?: string;\n relative?: string;\n} {\n if (!url) {\n return {};\n }\n\n const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n }\n\n // coerce to undefined values to empty string so we don't get 'undefined'\n const query = match[6] || '';\n const fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n relative: match[5] + query + fragment, // everything minus origin\n };\n}\n\nfunction getFirstException(event: Event): Exception | undefined {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nexport function getEventDescription(event: Event): string {\n const { message, event_id: eventId } = event;\n if (message) {\n return message;\n }\n\n const firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return `${firstException.type}: ${firstException.value}`;\n }\n return firstException.type || firstException.value || eventId || '';\n }\n return eventId || '';\n}\n\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nexport function addExceptionTypeValue(event: Event, value?: string, type?: string): void {\n const exception = (event.exception = event.exception || {});\n const values = (exception.values = exception.values || []);\n const firstException = (values[0] = values[0] || {});\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nexport function addExceptionMechanism(event: Event, newMechanism?: Partial): void {\n const firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n\n const defaultMechanism = { type: 'generic', handled: true };\n const currentMechanism = firstException.mechanism;\n firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n\n if (newMechanism && 'data' in newMechanism) {\n const mergedData = { ...(currentMechanism && currentMechanism.data), ...newMechanism.data };\n firstException.mechanism.data = mergedData;\n }\n}\n\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nconst SEMVER_REGEXP =\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Represents Semantic Versioning object\n */\ninterface SemVer {\n major?: number;\n minor?: number;\n patch?: number;\n prerelease?: string;\n buildmetadata?: string;\n}\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nexport function parseSemver(input: string): SemVer {\n const match = input.match(SEMVER_REGEXP) || [];\n const major = parseInt(match[1], 10);\n const minor = parseInt(match[2], 10);\n const patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4],\n };\n}\n\nconst defaultRetryAfter = 60 * 1000; // 60 seconds\n\n/**\n * Extracts Retry-After value from the request header or returns default value\n * @param now current unix timestamp\n * @param header string representation of 'Retry-After' header\n */\nexport function parseRetryAfterHeader(now: number, header?: string | number | null): number {\n if (!header) {\n return defaultRetryAfter;\n }\n\n const headerDelay = parseInt(`${header}`, 10);\n if (!isNaN(headerDelay)) {\n return headerDelay * 1000;\n }\n\n const headerDate = Date.parse(`${header}`);\n if (!isNaN(headerDate)) {\n return headerDate - now;\n }\n\n return defaultRetryAfter;\n}\n\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nexport function addContextToFrame(lines: string[], frame: StackFrame, linesOfContext: number = 5): void {\n const lineno = frame.lineno || 0;\n const maxLines = lines.length;\n const sourceLine = Math.max(Math.min(maxLines, lineno - 1), 0);\n\n frame.pre_context = lines\n .slice(Math.max(0, sourceLine - linesOfContext), sourceLine)\n .map((line: string) => snipLine(line, 0));\n\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n\n frame.post_context = lines\n .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext)\n .map((line: string) => snipLine(line, 0));\n}\n\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nexport function stripUrlQueryAndFragment(urlPath: string): string {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nexport function checkOrSetAlreadyCaught(exception: unknown): boolean {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && (exception as any).__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception as { [key: string]: unknown }, '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n","/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/* eslint-disable @typescript-eslint/typedef */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isThenable } from './is';\n\n/** SyncPromise internal states */\nconst enum States {\n /** Pending */\n PENDING = 0,\n /** Resolved / OK */\n RESOLVED = 1,\n /** Rejected / Error */\n REJECTED = 2,\n}\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nexport function resolvedSyncPromise(value: T | PromiseLike): PromiseLike {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nexport function rejectedSyncPromise(reason?: any): PromiseLike {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise implements PromiseLike {\n private _state: States = States.PENDING;\n private _handlers: Array<[boolean, (value: T) => void, (reason: any) => any]> = [];\n private _value: any;\n\n public constructor(\n executor: (resolve: (value?: T | PromiseLike | null) => void, reject: (reason?: any) => void) => void,\n ) {\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n public then(\n onfulfilled?: ((value: T) => TResult1 | PromiseLike) | null,\n onrejected?: ((reason: any) => TResult2 | PromiseLike) | null,\n ): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result as any);\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n public catch(\n onrejected?: ((reason: any) => TResult | PromiseLike) | null,\n ): PromiseLike {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n public finally(onfinally?: (() => void) | null): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n let val: TResult | any;\n let isRejected: boolean;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val as unknown as any);\n });\n });\n }\n\n /** JSDoc */\n private readonly _resolve = (value?: T | PromiseLike | null) => {\n this._setResult(States.RESOLVED, value);\n };\n\n /** JSDoc */\n private readonly _reject = (reason?: any) => {\n this._setResult(States.REJECTED, reason);\n };\n\n /** JSDoc */\n private readonly _setResult = (state: States, value?: T | PromiseLike | any) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value as PromiseLike).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };\n\n /** JSDoc */\n private readonly _executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](this._value as unknown as any);\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };\n}\n\nexport { SyncPromise };\n","import { SentryError } from './error';\nimport { rejectedSyncPromise, resolvedSyncPromise, SyncPromise } from './syncpromise';\n\nexport interface PromiseBuffer {\n // exposes the internal array so tests can assert on the state of it.\n // XXX: this really should not be public api.\n $: Array>;\n add(taskProducer: () => PromiseLike): PromiseLike;\n drain(timeout?: number): PromiseLike;\n}\n\n/**\n * Creates an new PromiseBuffer object with the specified limit\n * @param limit max number of promises that can be stored in the buffer\n */\nexport function makePromiseBuffer(limit?: number): PromiseBuffer {\n const buffer: Array> = [];\n\n function isReady(): boolean {\n return limit === undefined || buffer.length < limit;\n }\n\n /**\n * Remove a promise from the queue.\n *\n * @param task Can be any PromiseLike\n * @returns Removed promise.\n */\n function remove(task: PromiseLike): PromiseLike {\n return buffer.splice(buffer.indexOf(task), 1)[0];\n }\n\n /**\n * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment.\n *\n * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task:\n * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor\n * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By\n * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer\n * limit check.\n * @returns The original promise.\n */\n function add(taskProducer: () => PromiseLike): PromiseLike {\n if (!isReady()) {\n return rejectedSyncPromise(new SentryError('Not adding Promise due to buffer limit reached.'));\n }\n\n // start the task and add its promise to the queue\n const task = taskProducer();\n if (buffer.indexOf(task) === -1) {\n buffer.push(task);\n }\n void task\n .then(() => remove(task))\n // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike`\n // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't\n // have promises, so TS has to polyfill when down-compiling.)\n .then(null, () =>\n remove(task).then(null, () => {\n // We have to add another catch here because `remove()` starts a new promise chain.\n }),\n );\n return task;\n }\n\n /**\n * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or\n * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and\n * `false` otherwise\n */\n function drain(timeout?: number): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n let counter = buffer.length;\n\n if (!counter) {\n return resolve(true);\n }\n\n // wait for `timeout` ms and then resolve to `false` (if not cancelled first)\n const capturedSetTimeout = setTimeout(() => {\n if (timeout && timeout > 0) {\n resolve(false);\n }\n }, timeout);\n\n // if all promises resolve in time, cancel the timer and resolve to `true`\n buffer.forEach(item => {\n void resolvedSyncPromise(item).then(() => {\n // eslint-disable-next-line no-plusplus\n if (!--counter) {\n clearTimeout(capturedSetTimeout);\n resolve(true);\n }\n }, reject);\n });\n });\n }\n\n return {\n $: buffer,\n add,\n drain,\n };\n}\n","import { Severity } from '@sentry/types';\n\nimport { SeverityLevel, SeverityLevels } from './enums';\n\nfunction isSupportedSeverity(level: string): level is Severity {\n return SeverityLevels.indexOf(level as SeverityLevel) !== -1;\n}\n/**\n * Converts a string-based level into a {@link Severity}.\n *\n * @param level string representation of Severity\n * @returns Severity\n */\nexport function severityFromString(level: SeverityLevel | string): Severity {\n if (level === 'warn') return Severity.Warning;\n if (isSupportedSeverity(level)) {\n return level;\n }\n return Severity.Log;\n}\n","import { getGlobalObject } from './global';\nimport { dynamicRequire, isNodeEnv } from './node';\n\n/**\n * An object that can return the current timestamp in seconds since the UNIX epoch.\n */\ninterface TimestampSource {\n nowSeconds(): number;\n}\n\n/**\n * A TimestampSource implementation for environments that do not support the Performance Web API natively.\n *\n * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier\n * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It\n * is more obvious to explain \"why does my span have negative duration\" than \"why my spans have zero duration\".\n */\nconst dateTimestampSource: TimestampSource = {\n nowSeconds: () => Date.now() / 1000,\n};\n\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\ninterface Performance {\n /**\n * The millisecond timestamp at which measurement began, measured in Unix time.\n */\n timeOrigin: number;\n /**\n * Returns the current millisecond timestamp, where 0 represents the start of measurement.\n */\n now(): number;\n}\n\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction getBrowserPerformance(): Performance | undefined {\n const { performance } = getGlobalObject();\n if (!performance || !performance.now) {\n return undefined;\n }\n\n // Replace performance.timeOrigin with our own timeOrigin based on Date.now().\n //\n // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin +\n // performance.now() gives a date arbitrarily in the past.\n //\n // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is\n // undefined.\n //\n // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to\n // interact with data coming out of performance entries.\n //\n // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that\n // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes\n // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have\n // observed skews that can be as long as days, weeks or months.\n //\n // See https://github.com/getsentry/sentry-javascript/issues/2590.\n //\n // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload\n // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation\n // transactions of long-lived web pages.\n const timeOrigin = Date.now() - performance.now();\n\n return {\n now: () => performance.now(),\n timeOrigin,\n };\n}\n\n/**\n * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't\n * implement the API.\n */\nfunction getNodePerformance(): Performance | undefined {\n try {\n const perfHooks = dynamicRequire(module, 'perf_hooks') as { performance: Performance };\n return perfHooks.performance;\n } catch (_) {\n return undefined;\n }\n}\n\n/**\n * The Performance API implementation for the current platform, if available.\n */\nconst platformPerformance: Performance | undefined = isNodeEnv() ? getNodePerformance() : getBrowserPerformance();\n\nconst timestampSource: TimestampSource =\n platformPerformance === undefined\n ? dateTimestampSource\n : {\n nowSeconds: () => (platformPerformance.timeOrigin + platformPerformance.now()) / 1000,\n };\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n */\nexport const dateTimestampInSeconds: () => number = dateTimestampSource.nowSeconds.bind(dateTimestampSource);\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * See `usingPerformanceAPI` to test whether the Performance API is used.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nexport const timestampInSeconds: () => number = timestampSource.nowSeconds.bind(timestampSource);\n\n// Re-exported with an old name for backwards-compatibility.\nexport const timestampWithMs = timestampInSeconds;\n\n/**\n * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps.\n */\nexport const usingPerformanceAPI = platformPerformance !== undefined;\n\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nexport let _browserPerformanceTimeOriginMode: string;\n\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nexport const browserPerformanceTimeOrigin = ((): number | undefined => {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n\n const { performance } = getGlobalObject();\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n const threshold = 3600 * 1000;\n const performanceNow = performance.now();\n const dateNow = Date.now();\n\n // if timeOrigin isn't available set delta to threshold so it isn't used\n const timeOriginDelta = performance.timeOrigin\n ? Math.abs(performance.timeOrigin + performanceNow - dateNow)\n : threshold;\n const timeOriginIsReliable = timeOriginDelta < threshold;\n\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n const navigationStart = performance.timing && performance.timing.navigationStart;\n const hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n const navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n})();\n","/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n CaptureContext,\n Context,\n Contexts,\n Event,\n EventHint,\n EventProcessor,\n Extra,\n Extras,\n Primitive,\n RequestSession,\n Scope as ScopeInterface,\n ScopeContext,\n Severity,\n Span,\n Transaction,\n User,\n} from '@sentry/types';\nimport { dateTimestampInSeconds, getGlobalObject, isPlainObject, isThenable, SyncPromise } from '@sentry/utils';\n\nimport { Session } from './session';\n\n/**\n * Absolute maximum number of breadcrumbs added to an event.\n * The `maxBreadcrumbs` option cannot be higher than this value.\n */\nconst MAX_BREADCRUMBS = 100;\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\nexport class Scope implements ScopeInterface {\n /** Flag if notifying is happening. */\n protected _notifyingListeners: boolean = false;\n\n /** Callback for client to receive scope changes. */\n protected _scopeListeners: Array<(scope: Scope) => void> = [];\n\n /** Callback list that will be called after {@link applyToEvent}. */\n protected _eventProcessors: EventProcessor[] = [];\n\n /** Array of breadcrumbs. */\n protected _breadcrumbs: Breadcrumb[] = [];\n\n /** User */\n protected _user: User = {};\n\n /** Tags */\n protected _tags: { [key: string]: Primitive } = {};\n\n /** Extra */\n protected _extra: Extras = {};\n\n /** Contexts */\n protected _contexts: Contexts = {};\n\n /** Fingerprint */\n protected _fingerprint?: string[];\n\n /** Severity */\n protected _level?: Severity;\n\n /** Transaction Name */\n protected _transactionName?: string;\n\n /** Span */\n protected _span?: Span;\n\n /** Session */\n protected _session?: Session;\n\n /** Request Mode Session Status */\n protected _requestSession?: RequestSession;\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n protected _sdkProcessingMetadata?: { [key: string]: unknown } = {};\n\n /**\n * Inherit values from the parent scope.\n * @param scope to clone.\n */\n public static clone(scope?: Scope): Scope {\n const newScope = new Scope();\n if (scope) {\n newScope._breadcrumbs = [...scope._breadcrumbs];\n newScope._tags = { ...scope._tags };\n newScope._extra = { ...scope._extra };\n newScope._contexts = { ...scope._contexts };\n newScope._user = scope._user;\n newScope._level = scope._level;\n newScope._span = scope._span;\n newScope._session = scope._session;\n newScope._transactionName = scope._transactionName;\n newScope._fingerprint = scope._fingerprint;\n newScope._eventProcessors = [...scope._eventProcessors];\n newScope._requestSession = scope._requestSession;\n }\n return newScope;\n }\n\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n public addScopeListener(callback: (scope: Scope) => void): void {\n this._scopeListeners.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public addEventProcessor(callback: EventProcessor): this {\n this._eventProcessors.push(callback);\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): this {\n this._user = user || {};\n if (this._session) {\n this._session.update({ user });\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getUser(): User | undefined {\n return this._user;\n }\n\n /**\n * @inheritDoc\n */\n public getRequestSession(): RequestSession | undefined {\n return this._requestSession;\n }\n\n /**\n * @inheritDoc\n */\n public setRequestSession(requestSession?: RequestSession): this {\n this._requestSession = requestSession;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): this {\n this._tags = {\n ...this._tags,\n ...tags,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this._tags = { ...this._tags, [key]: value };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): this {\n this._extra = {\n ...this._extra,\n ...extras,\n };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): this {\n this._extra = { ...this._extra, [key]: extra };\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setFingerprint(fingerprint: string[]): this {\n this._fingerprint = fingerprint;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setLevel(level: Severity): this {\n this._level = level;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setTransactionName(name?: string): this {\n this._transactionName = name;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Can be removed in major version.\n * @deprecated in favor of {@link this.setTransactionName}\n */\n public setTransaction(name?: string): this {\n return this.setTransactionName(name);\n }\n\n /**\n * @inheritDoc\n */\n public setContext(key: string, context: Context | null): this {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts = { ...this._contexts, [key]: context };\n }\n\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setSpan(span?: Span): this {\n this._span = span;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSpan(): Span | undefined {\n return this._span;\n }\n\n /**\n * @inheritDoc\n */\n public getTransaction(): Transaction | undefined {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n const span = this.getSpan();\n return span && span.transaction;\n }\n\n /**\n * @inheritDoc\n */\n public setSession(session?: Session): this {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getSession(): Session | undefined {\n return this._session;\n }\n\n /**\n * @inheritDoc\n */\n public update(captureContext?: CaptureContext): this {\n if (!captureContext) {\n return this;\n }\n\n if (typeof captureContext === 'function') {\n const updatedScope = (captureContext as (scope: T) => T)(this);\n return updatedScope instanceof Scope ? updatedScope : this;\n }\n\n if (captureContext instanceof Scope) {\n this._tags = { ...this._tags, ...captureContext._tags };\n this._extra = { ...this._extra, ...captureContext._extra };\n this._contexts = { ...this._contexts, ...captureContext._contexts };\n if (captureContext._user && Object.keys(captureContext._user).length) {\n this._user = captureContext._user;\n }\n if (captureContext._level) {\n this._level = captureContext._level;\n }\n if (captureContext._fingerprint) {\n this._fingerprint = captureContext._fingerprint;\n }\n if (captureContext._requestSession) {\n this._requestSession = captureContext._requestSession;\n }\n } else if (isPlainObject(captureContext)) {\n // eslint-disable-next-line no-param-reassign\n captureContext = captureContext as ScopeContext;\n this._tags = { ...this._tags, ...captureContext.tags };\n this._extra = { ...this._extra, ...captureContext.extra };\n this._contexts = { ...this._contexts, ...captureContext.contexts };\n if (captureContext.user) {\n this._user = captureContext.user;\n }\n if (captureContext.level) {\n this._level = captureContext.level;\n }\n if (captureContext.fingerprint) {\n this._fingerprint = captureContext.fingerprint;\n }\n if (captureContext.requestSession) {\n this._requestSession = captureContext.requestSession;\n }\n }\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clear(): this {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this {\n const maxCrumbs = typeof maxBreadcrumbs === 'number' ? Math.min(maxBreadcrumbs, MAX_BREADCRUMBS) : MAX_BREADCRUMBS;\n\n // No data has been changed, so don't notify scope listeners\n if (maxCrumbs <= 0) {\n return this;\n }\n\n const mergedBreadcrumb = {\n timestamp: dateTimestampInSeconds(),\n ...breadcrumb,\n };\n this._breadcrumbs = [...this._breadcrumbs, mergedBreadcrumb].slice(-maxCrumbs);\n this._notifyScopeListeners();\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public clearBreadcrumbs(): this {\n this._breadcrumbs = [];\n this._notifyScopeListeners();\n return this;\n }\n\n /**\n * Applies the current context and fingerprint to the event.\n * Note that breadcrumbs will be added by the client.\n * Also if the event has already breadcrumbs on it, we do not merge them.\n * @param event Event\n * @param hint May contain additional information about the original exception.\n * @hidden\n */\n public applyToEvent(event: Event, hint?: EventHint): PromiseLike {\n if (this._extra && Object.keys(this._extra).length) {\n event.extra = { ...this._extra, ...event.extra };\n }\n if (this._tags && Object.keys(this._tags).length) {\n event.tags = { ...this._tags, ...event.tags };\n }\n if (this._user && Object.keys(this._user).length) {\n event.user = { ...this._user, ...event.user };\n }\n if (this._contexts && Object.keys(this._contexts).length) {\n event.contexts = { ...this._contexts, ...event.contexts };\n }\n if (this._level) {\n event.level = this._level;\n }\n if (this._transactionName) {\n event.transaction = this._transactionName;\n }\n // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n if (this._span) {\n event.contexts = { trace: this._span.getTraceContext(), ...event.contexts };\n const transactionName = this._span.transaction && this._span.transaction.name;\n if (transactionName) {\n event.tags = { transaction: transactionName, ...event.tags };\n }\n }\n\n this._applyFingerprint(event);\n\n event.breadcrumbs = [...(event.breadcrumbs || []), ...this._breadcrumbs];\n event.breadcrumbs = event.breadcrumbs.length > 0 ? event.breadcrumbs : undefined;\n\n event.sdkProcessingMetadata = this._sdkProcessingMetadata;\n\n return this._notifyEventProcessors([...getGlobalEventProcessors(), ...this._eventProcessors], event, hint);\n }\n\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n public setSDKProcessingMetadata(newData: { [key: string]: unknown }): this {\n this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...newData };\n\n return this;\n }\n\n /**\n * This will be called after {@link applyToEvent} is finished.\n */\n protected _notifyEventProcessors(\n processors: EventProcessor[],\n event: Event | null,\n hint?: EventHint,\n index: number = 0,\n ): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n const processor = processors[index];\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n const result = processor({ ...event }, hint) as Event | null;\n if (isThenable(result)) {\n void (result as PromiseLike)\n .then(final => this._notifyEventProcessors(processors, final, hint, index + 1).then(resolve))\n .then(null, reject);\n } else {\n void this._notifyEventProcessors(processors, result, hint, index + 1)\n .then(resolve)\n .then(null, reject);\n }\n }\n });\n }\n\n /**\n * This will be called on every set call.\n */\n protected _notifyScopeListeners(): void {\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n this._scopeListeners.forEach(callback => {\n callback(this);\n });\n this._notifyingListeners = false;\n }\n }\n\n /**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\n private _applyFingerprint(event: Event): void {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint\n ? Array.isArray(event.fingerprint)\n ? event.fingerprint\n : [event.fingerprint]\n : [];\n\n // If we have something on the scope, then merge it with event\n if (this._fingerprint) {\n event.fingerprint = event.fingerprint.concat(this._fingerprint);\n }\n\n // If we have no data at all, remove empty array default\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n }\n}\n\n/**\n * Returns the global event processors.\n */\nfunction getGlobalEventProcessors(): EventProcessor[] {\n /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n const global = getGlobalObject();\n global.__SENTRY__ = global.__SENTRY__ || {};\n global.__SENTRY__.globalEventProcessors = global.__SENTRY__.globalEventProcessors || [];\n return global.__SENTRY__.globalEventProcessors;\n /* eslint-enable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access */\n}\n\n/**\n * Add a EventProcessor to be kept globally.\n * @param callback EventProcessor to add\n */\nexport function addGlobalEventProcessor(callback: EventProcessor): void {\n getGlobalEventProcessors().push(callback);\n}\n","import { Session as SessionInterface, SessionContext, SessionStatus } from '@sentry/types';\nimport { dropUndefinedKeys, timestampInSeconds, uuid4 } from '@sentry/utils';\n\n/**\n * @inheritdoc\n */\nexport class Session implements SessionInterface {\n public userAgent?: string;\n public errors: number = 0;\n public release?: string;\n public sid: string = uuid4();\n public did?: string;\n public timestamp: number;\n public started: number;\n public duration?: number = 0;\n public status: SessionStatus = 'ok';\n public environment?: string;\n public ipAddress?: string;\n public init: boolean = true;\n public ignoreDuration: boolean = false;\n\n public constructor(context?: Omit) {\n // Both timestamp and started are in seconds since the UNIX epoch.\n const startingTime = timestampInSeconds();\n this.timestamp = startingTime;\n this.started = startingTime;\n if (context) {\n this.update(context);\n }\n }\n\n /** JSDoc */\n // eslint-disable-next-line complexity\n public update(context: SessionContext = {}): void {\n if (context.user) {\n if (!this.ipAddress && context.user.ip_address) {\n this.ipAddress = context.user.ip_address;\n }\n\n if (!this.did && !context.did) {\n this.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n this.timestamp = context.timestamp || timestampInSeconds();\n if (context.ignoreDuration) {\n this.ignoreDuration = context.ignoreDuration;\n }\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n this.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n if (context.init !== undefined) {\n this.init = context.init;\n }\n if (!this.did && context.did) {\n this.did = `${context.did}`;\n }\n if (typeof context.started === 'number') {\n this.started = context.started;\n }\n if (this.ignoreDuration) {\n this.duration = undefined;\n } else if (typeof context.duration === 'number') {\n this.duration = context.duration;\n } else {\n const duration = this.timestamp - this.started;\n this.duration = duration >= 0 ? duration : 0;\n }\n if (context.release) {\n this.release = context.release;\n }\n if (context.environment) {\n this.environment = context.environment;\n }\n if (!this.ipAddress && context.ipAddress) {\n this.ipAddress = context.ipAddress;\n }\n if (!this.userAgent && context.userAgent) {\n this.userAgent = context.userAgent;\n }\n if (typeof context.errors === 'number') {\n this.errors = context.errors;\n }\n if (context.status) {\n this.status = context.status;\n }\n }\n\n /** JSDoc */\n public close(status?: Exclude): void {\n if (status) {\n this.update({ status });\n } else if (this.status === 'ok') {\n this.update({ status: 'exited' });\n } else {\n this.update();\n }\n }\n\n /** JSDoc */\n public toJSON(): {\n init: boolean;\n sid: string;\n did?: string;\n timestamp: string;\n started: string;\n duration?: number;\n status: SessionStatus;\n errors: number;\n attrs?: {\n release?: string;\n environment?: string;\n user_agent?: string;\n ip_address?: string;\n };\n } {\n return dropUndefinedKeys({\n sid: `${this.sid}`,\n init: this.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(this.started * 1000).toISOString(),\n timestamp: new Date(this.timestamp * 1000).toISOString(),\n status: this.status,\n errors: this.errors,\n did: typeof this.did === 'number' || typeof this.did === 'string' ? `${this.did}` : undefined,\n duration: this.duration,\n attrs: {\n release: this.release,\n environment: this.environment,\n ip_address: this.ipAddress,\n user_agent: this.userAgent,\n },\n });\n }\n}\n","/* eslint-disable max-lines */\nimport {\n Breadcrumb,\n BreadcrumbHint,\n Client,\n CustomSamplingContext,\n Event,\n EventHint,\n Extra,\n Extras,\n Hub as HubInterface,\n Integration,\n IntegrationClass,\n Primitive,\n SessionContext,\n Severity,\n Span,\n SpanContext,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\nimport { consoleSandbox, dateTimestampInSeconds, getGlobalObject, isNodeEnv, logger, uuid4 } from '@sentry/utils';\n\nimport { Scope } from './scope';\nimport { Session } from './session';\n\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\nexport const API_VERSION = 4;\n\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\nconst DEFAULT_BREADCRUMBS = 100;\n\n/**\n * A layer in the process stack.\n * @hidden\n */\nexport interface Layer {\n client?: Client;\n scope?: Scope;\n}\n\n/**\n * An object that contains a hub and maintains a scope stack.\n * @hidden\n */\nexport interface Carrier {\n __SENTRY__?: {\n hub?: Hub;\n /**\n * Extra Hub properties injected by various SDKs\n */\n integrations?: Integration[];\n extensions?: {\n /** Hack to prevent bundlers from breaking our usage of the domain package in the cross-platform Hub package */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n domain?: { [key: string]: any };\n } & {\n /** Extension methods for the hub, which are bound to the current Hub instance */\n // eslint-disable-next-line @typescript-eslint/ban-types\n [key: string]: Function;\n };\n };\n}\n\n/**\n * @hidden\n * @deprecated Can be removed once `Hub.getActiveDomain` is removed.\n */\nexport interface DomainAsCarrier extends Carrier {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n members: { [key: string]: any }[];\n}\n\n/**\n * @inheritDoc\n */\nexport class Hub implements HubInterface {\n /** Is a {@link Layer}[] containing the client and scope */\n private readonly _stack: Layer[] = [{}];\n\n /** Contains the last event id of a captured event. */\n private _lastEventId?: string;\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n */\n public constructor(client?: Client, scope: Scope = new Scope(), private readonly _version: number = API_VERSION) {\n this.getStackTop().scope = scope;\n if (client) {\n this.bindClient(client);\n }\n }\n\n /**\n * @inheritDoc\n */\n public isOlderThan(version: number): boolean {\n return this._version < version;\n }\n\n /**\n * @inheritDoc\n */\n public bindClient(client?: Client): void {\n const top = this.getStackTop();\n top.client = client;\n if (client && client.setupIntegrations) {\n client.setupIntegrations();\n }\n }\n\n /**\n * @inheritDoc\n */\n public pushScope(): Scope {\n // We want to clone the content of prev scope\n const scope = Scope.clone(this.getScope());\n this.getStack().push({\n client: this.getClient(),\n scope,\n });\n return scope;\n }\n\n /**\n * @inheritDoc\n */\n public popScope(): boolean {\n if (this.getStack().length <= 1) return false;\n return !!this.getStack().pop();\n }\n\n /**\n * @inheritDoc\n */\n public withScope(callback: (scope: Scope) => void): void {\n const scope = this.pushScope();\n try {\n callback(scope);\n } finally {\n this.popScope();\n }\n }\n\n /**\n * @inheritDoc\n */\n public getClient(): C | undefined {\n return this.getStackTop().client as C;\n }\n\n /** Returns the scope of the top stack. */\n public getScope(): Scope | undefined {\n return this.getStackTop().scope;\n }\n\n /** Returns the scope stack for domains or the process. */\n public getStack(): Layer[] {\n return this._stack;\n }\n\n /** Returns the topmost scope layer in the order domain > local > process. */\n public getStackTop(): Layer {\n return this._stack[this._stack.length - 1];\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint): string {\n const eventId = (this._lastEventId = uuid4());\n let finalHint = hint;\n\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n let syntheticException: Error;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception as Error;\n }\n finalHint = {\n originalException: exception,\n syntheticException,\n };\n }\n\n this._invokeClient('captureException', exception, {\n ...finalHint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(message: string, level?: Severity, hint?: EventHint): string {\n const eventId = (this._lastEventId = uuid4());\n let finalHint = hint;\n\n // If there's no explicit hint provided, mimic the same thing that would happen\n // in the minimal itself to create a consistent behavior.\n // We don't do this in the client, as it's the lowest level API, and doing this,\n // would prevent user from having full control over direct calls.\n if (!hint) {\n let syntheticException: Error;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception as Error;\n }\n finalHint = {\n originalException: message,\n syntheticException,\n };\n }\n\n this._invokeClient('captureMessage', message, level, {\n ...finalHint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint): string {\n const eventId = uuid4();\n if (event.type !== 'transaction') {\n this._lastEventId = eventId;\n }\n\n this._invokeClient('captureEvent', event, {\n ...hint,\n event_id: eventId,\n });\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public lastEventId(): string | undefined {\n return this._lastEventId;\n }\n\n /**\n * @inheritDoc\n */\n public addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void {\n const { scope, client } = this.getStackTop();\n\n if (!scope || !client) return;\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } =\n (client.getOptions && client.getOptions()) || {};\n\n if (maxBreadcrumbs <= 0) return;\n\n const timestamp = dateTimestampInSeconds();\n const mergedBreadcrumb = { timestamp, ...breadcrumb };\n const finalBreadcrumb = beforeBreadcrumb\n ? (consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) as Breadcrumb | null)\n : mergedBreadcrumb;\n\n if (finalBreadcrumb === null) return;\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n\n /**\n * @inheritDoc\n */\n public setUser(user: User | null): void {\n const scope = this.getScope();\n if (scope) scope.setUser(user);\n }\n\n /**\n * @inheritDoc\n */\n public setTags(tags: { [key: string]: Primitive }): void {\n const scope = this.getScope();\n if (scope) scope.setTags(tags);\n }\n\n /**\n * @inheritDoc\n */\n public setExtras(extras: Extras): void {\n const scope = this.getScope();\n if (scope) scope.setExtras(extras);\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): void {\n const scope = this.getScope();\n if (scope) scope.setTag(key, value);\n }\n\n /**\n * @inheritDoc\n */\n public setExtra(key: string, extra: Extra): void {\n const scope = this.getScope();\n if (scope) scope.setExtra(key, extra);\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public setContext(name: string, context: { [key: string]: any } | null): void {\n const scope = this.getScope();\n if (scope) scope.setContext(name, context);\n }\n\n /**\n * @inheritDoc\n */\n public configureScope(callback: (scope: Scope) => void): void {\n const { scope, client } = this.getStackTop();\n if (scope && client) {\n callback(scope);\n }\n }\n\n /**\n * @inheritDoc\n */\n public run(callback: (hub: Hub) => void): void {\n const oldHub = makeMain(this);\n try {\n callback(this);\n } finally {\n makeMain(oldHub);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration(integration: IntegrationClass): T | null {\n const client = this.getClient();\n if (!client) return null;\n try {\n return client.getIntegration(integration);\n } catch (_oO) {\n logger.warn(`Cannot retrieve integration ${integration.id} from the current Hub`);\n return null;\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSpan(context: SpanContext): Span {\n return this._callExtensionMethod('startSpan', context);\n }\n\n /**\n * @inheritDoc\n */\n public startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction {\n return this._callExtensionMethod('startTransaction', context, customSamplingContext);\n }\n\n /**\n * @inheritDoc\n */\n public traceHeaders(): { [key: string]: string } {\n return this._callExtensionMethod<{ [key: string]: string }>('traceHeaders');\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(endSession: boolean = false): void {\n // both send the update and pull the session from the scope\n if (endSession) {\n return this.endSession();\n }\n\n // only send the update\n this._sendSessionUpdate();\n }\n\n /**\n * @inheritDoc\n */\n public endSession(): void {\n const layer = this.getStackTop();\n const scope = layer && layer.scope;\n const session = scope && scope.getSession();\n if (session) {\n session.close();\n }\n this._sendSessionUpdate();\n\n // the session is over; take it off of the scope\n if (scope) {\n scope.setSession();\n }\n }\n\n /**\n * @inheritDoc\n */\n public startSession(context?: SessionContext): Session {\n const { scope, client } = this.getStackTop();\n const { release, environment } = (client && client.getOptions()) || {};\n\n // Will fetch userAgent if called from browser sdk\n const global = getGlobalObject<{ navigator?: { userAgent?: string } }>();\n const { userAgent } = global.navigator || {};\n\n const session = new Session({\n release,\n environment,\n ...(scope && { user: scope.getUser() }),\n ...(userAgent && { userAgent }),\n ...context,\n });\n\n if (scope) {\n // End existing session if there's one\n const currentSession = scope.getSession && scope.getSession();\n if (currentSession && currentSession.status === 'ok') {\n currentSession.update({ status: 'exited' });\n }\n this.endSession();\n\n // Afterwards we set the new session on the scope\n scope.setSession(session);\n }\n\n return session;\n }\n\n /**\n * Sends the current Session on the scope\n */\n private _sendSessionUpdate(): void {\n const { scope, client } = this.getStackTop();\n if (!scope) return;\n\n const session = scope.getSession && scope.getSession();\n if (session) {\n if (client && client.captureSession) {\n client.captureSession(session);\n }\n }\n }\n\n /**\n * Internal helper function to call a method on the top client if it exists.\n *\n * @param method The method to call on the client.\n * @param args Arguments to pass to the client function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _invokeClient(method: M, ...args: any[]): void {\n const { scope, client } = this.getStackTop();\n if (client && client[method]) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n (client as any)[method](...args, scope);\n }\n }\n\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-ignore Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _callExtensionMethod(method: string, ...args: any[]): T {\n const carrier = getMainCarrier();\n const sentry = carrier.__SENTRY__;\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n return sentry.extensions[method].apply(this, args);\n }\n logger.warn(`Extension method ${method} couldn't be found, doing nothing.`);\n }\n}\n\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\nexport function getMainCarrier(): Carrier {\n const carrier = getGlobalObject();\n carrier.__SENTRY__ = carrier.__SENTRY__ || {\n extensions: {},\n hub: undefined,\n };\n return carrier;\n}\n\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n */\nexport function makeMain(hub: Hub): Hub {\n const registry = getMainCarrier();\n const oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n */\nexport function getCurrentHub(): Hub {\n // Get main carrier (global for every environment)\n const registry = getMainCarrier();\n\n // If there's no hub, or its an old API, assign a new one\n if (!hasHubOnCarrier(registry) || getHubFromCarrier(registry).isOlderThan(API_VERSION)) {\n setHubOnCarrier(registry, new Hub());\n }\n\n // Prefer domains over global if they are there (applicable only to Node environment)\n if (isNodeEnv()) {\n return getHubFromActiveDomain(registry);\n }\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n}\n\n/**\n * Returns the active domain, if one exists\n * @deprecated No longer used; remove in v7\n * @returns The domain, or undefined if there is no active domain\n */\n// eslint-disable-next-line deprecation/deprecation\nexport function getActiveDomain(): DomainAsCarrier | undefined {\n logger.warn('Function `getActiveDomain` is deprecated and will be removed in a future version.');\n\n const sentry = getMainCarrier().__SENTRY__;\n\n return sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n}\n\n/**\n * Try to read the hub from an active domain, and fallback to the registry if one doesn't exist\n * @returns discovered hub\n */\nfunction getHubFromActiveDomain(registry: Carrier): Hub {\n try {\n const sentry = getMainCarrier().__SENTRY__;\n const activeDomain = sentry && sentry.extensions && sentry.extensions.domain && sentry.extensions.domain.active;\n\n // If there's no active domain, just return global hub\n if (!activeDomain) {\n return getHubFromCarrier(registry);\n }\n\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (!hasHubOnCarrier(activeDomain) || getHubFromCarrier(activeDomain).isOlderThan(API_VERSION)) {\n const registryHubTopStack = getHubFromCarrier(registry).getStackTop();\n setHubOnCarrier(activeDomain, new Hub(registryHubTopStack.client, Scope.clone(registryHubTopStack.scope)));\n }\n\n // Return hub that lives on a domain\n return getHubFromCarrier(activeDomain);\n } catch (_Oo) {\n // Return hub that lives on a global object\n return getHubFromCarrier(registry);\n }\n}\n\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\nfunction hasHubOnCarrier(carrier: Carrier): boolean {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\nexport function getHubFromCarrier(carrier: Carrier): Hub {\n if (carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub) return carrier.__SENTRY__.hub;\n carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n carrier.__SENTRY__.hub = new Hub();\n return carrier.__SENTRY__.hub;\n}\n\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\nexport function setHubOnCarrier(carrier: Carrier, hub: Hub): boolean {\n if (!carrier) return false;\n carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n carrier.__SENTRY__.hub = hub;\n return true;\n}\n","import { getCurrentHub, Hub, Scope } from '@sentry/hub';\nimport {\n Breadcrumb,\n CaptureContext,\n CustomSamplingContext,\n Event,\n Extra,\n Extras,\n Primitive,\n Severity,\n Transaction,\n TransactionContext,\n User,\n} from '@sentry/types';\n\n/**\n * This calls a function on the current hub.\n * @param method function to call on hub.\n * @param args to pass to function.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction callOnHub(method: string, ...args: any[]): T {\n const hub = getCurrentHub();\n if (hub && hub[method as keyof Hub]) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (hub[method as keyof Hub] as any)(...args);\n }\n throw new Error(`No hub defined or ${method} was not found on the hub, please open a bug report.`);\n}\n\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @returns The generated eventId.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\nexport function captureException(exception: any, captureContext?: CaptureContext): string {\n let syntheticException: Error;\n try {\n throw new Error('Sentry syntheticException');\n } catch (exception) {\n syntheticException = exception as Error;\n }\n return callOnHub('captureException', exception, {\n captureContext,\n originalException: exception,\n syntheticException,\n });\n}\n\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param Severity Define the level of the message.\n * @returns The generated eventId.\n */\nexport function captureMessage(message: string, captureContext?: CaptureContext | Severity): string {\n let syntheticException: Error;\n try {\n throw new Error(message);\n } catch (exception) {\n syntheticException = exception as Error;\n }\n\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n const level = typeof captureContext === 'string' ? captureContext : undefined;\n const context = typeof captureContext !== 'string' ? { captureContext } : undefined;\n\n return callOnHub('captureMessage', message, level, {\n originalException: message,\n syntheticException,\n ...context,\n });\n}\n\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @returns The generated eventId.\n */\nexport function captureEvent(event: Event): string {\n return callOnHub('captureEvent', event);\n}\n\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n */\nexport function configureScope(callback: (scope: Scope) => void): void {\n callOnHub('configureScope', callback);\n}\n\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\nexport function addBreadcrumb(breadcrumb: Breadcrumb): void {\n callOnHub('addBreadcrumb', breadcrumb);\n}\n\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function setContext(name: string, context: { [key: string]: any } | null): void {\n callOnHub('setContext', name, context);\n}\n\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\nexport function setExtras(extras: Extras): void {\n callOnHub('setExtras', extras);\n}\n\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\nexport function setTags(tags: { [key: string]: Primitive }): void {\n callOnHub('setTags', tags);\n}\n\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\nexport function setExtra(key: string, extra: Extra): void {\n callOnHub('setExtra', key, extra);\n}\n\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\nexport function setTag(key: string, value: Primitive): void {\n callOnHub('setTag', key, value);\n}\n\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\nexport function setUser(user: User | null): void {\n callOnHub('setUser', user);\n}\n\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n *\n * @param callback that will be enclosed into push/popScope.\n */\nexport function withScope(callback: (scope: Scope) => void): void {\n callOnHub('withScope', callback);\n}\n\n/**\n * Calls a function on the latest client. Use this with caution, it's meant as\n * in \"internal\" helper so we don't need to expose every possible function in\n * the shim. It is not guaranteed that the client actually implements the\n * function.\n *\n * @param method The method to call on the client/client.\n * @param args Arguments to pass to the client/fontend.\n * @hidden\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function _callOnClient(method: string, ...args: any[]): void {\n callOnHub('_invokeClient', method, ...args);\n}\n\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n */\nexport function startTransaction(\n context: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n return callOnHub('startTransaction', { ...context }, customSamplingContext);\n}\n","import { DsnComponents, DsnLike, SdkMetadata } from '@sentry/types';\nimport { dsnToString, makeDsn, urlEncode } from '@sentry/utils';\n\nconst SENTRY_API_VERSION = '7';\n\n/**\n * Stores details about a Sentry SDK\n */\nexport interface APIDetails {\n /** The DSN as passed to Sentry.init() */\n initDsn: DsnLike;\n /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */\n metadata: SdkMetadata;\n /** The internally used Dsn object. */\n readonly dsn: DsnComponents;\n /** The envelope tunnel to use. */\n readonly tunnel?: string;\n}\n\n/**\n * Helper class to provide urls, headers and metadata that can be used to form\n * different types of requests to Sentry endpoints.\n * Supports both envelopes and regular event requests.\n *\n * @deprecated Please use APIDetails\n **/\nexport class API {\n /** The DSN as passed to Sentry.init() */\n public dsn: DsnLike;\n\n /** Metadata about the SDK (name, version, etc) for inclusion in envelope headers */\n public metadata: SdkMetadata;\n\n /** The internally used Dsn object. */\n private readonly _dsnObject: DsnComponents;\n\n /** The envelope tunnel to use. */\n private readonly _tunnel?: string;\n\n /** Create a new instance of API */\n public constructor(dsn: DsnLike, metadata: SdkMetadata = {}, tunnel?: string) {\n this.dsn = dsn;\n this._dsnObject = makeDsn(dsn);\n this.metadata = metadata;\n this._tunnel = tunnel;\n }\n\n /** Returns the Dsn object. */\n public getDsn(): DsnComponents {\n return this._dsnObject;\n }\n\n /** Does this transport force envelopes? */\n public forceEnvelope(): boolean {\n return !!this._tunnel;\n }\n\n /** Returns the prefix to construct Sentry ingestion API endpoints. */\n public getBaseApiEndpoint(): string {\n return getBaseApiEndpoint(this._dsnObject);\n }\n\n /** Returns the store endpoint URL. */\n public getStoreEndpoint(): string {\n return getStoreEndpoint(this._dsnObject);\n }\n\n /**\n * Returns the store endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n public getStoreEndpointWithUrlEncodedAuth(): string {\n return getStoreEndpointWithUrlEncodedAuth(this._dsnObject);\n }\n\n /**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n public getEnvelopeEndpointWithUrlEncodedAuth(): string {\n return getEnvelopeEndpointWithUrlEncodedAuth(this._dsnObject, this._tunnel);\n }\n}\n\n/** Initializes API Details */\nexport function initAPIDetails(dsn: DsnLike, metadata?: SdkMetadata, tunnel?: string): APIDetails {\n return {\n initDsn: dsn,\n metadata: metadata || {},\n dsn: makeDsn(dsn),\n tunnel,\n } as APIDetails;\n}\n\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\nfunction getBaseApiEndpoint(dsn: DsnComponents): string {\n const protocol = dsn.protocol ? `${dsn.protocol}:` : '';\n const port = dsn.port ? `:${dsn.port}` : '';\n return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : ''}/api/`;\n}\n\n/** Returns the ingest API endpoint for target. */\nfunction _getIngestEndpoint(dsn: DsnComponents, target: 'store' | 'envelope'): string {\n return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/${target}/`;\n}\n\n/** Returns a URL-encoded string with auth config suitable for a query string. */\nfunction _encodedAuth(dsn: DsnComponents): string {\n return urlEncode({\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n sentry_key: dsn.publicKey,\n sentry_version: SENTRY_API_VERSION,\n });\n}\n\n/** Returns the store endpoint URL. */\nfunction getStoreEndpoint(dsn: DsnComponents): string {\n return _getIngestEndpoint(dsn, 'store');\n}\n\n/**\n * Returns the store endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getStoreEndpointWithUrlEncodedAuth(dsn: DsnComponents): string {\n return `${getStoreEndpoint(dsn)}?${_encodedAuth(dsn)}`;\n}\n\n/** Returns the envelope endpoint URL. */\nfunction _getEnvelopeEndpoint(dsn: DsnComponents): string {\n return _getIngestEndpoint(dsn, 'envelope');\n}\n\n/**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\nexport function getEnvelopeEndpointWithUrlEncodedAuth(dsn: DsnComponents, tunnel?: string): string {\n return tunnel ? tunnel : `${_getEnvelopeEndpoint(dsn)}?${_encodedAuth(dsn)}`;\n}\n\n/**\n * Returns an object that can be used in request headers.\n * This is needed for node and the old /store endpoint in sentry\n */\nexport function getRequestHeaders(\n dsn: DsnComponents,\n clientName: string,\n clientVersion: string,\n): { [key: string]: string } {\n // CHANGE THIS to use metadata but keep clientName and clientVersion compatible\n const header = [`Sentry sentry_version=${SENTRY_API_VERSION}`];\n header.push(`sentry_client=${clientName}/${clientVersion}`);\n header.push(`sentry_key=${dsn.publicKey}`);\n if (dsn.pass) {\n header.push(`sentry_secret=${dsn.pass}`);\n }\n return {\n 'Content-Type': 'application/json',\n 'X-Sentry-Auth': header.join(', '),\n };\n}\n\n/** Returns the url to the report dialog endpoint. */\nexport function getReportDialogEndpoint(\n dsnLike: DsnLike,\n dialogOptions: {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n user?: { name?: string; email?: string };\n },\n): string {\n const dsn = makeDsn(dsnLike);\n const endpoint = `${getBaseApiEndpoint(dsn)}embed/error-page/`;\n\n let encodedOptions = `dsn=${dsnToString(dsn)}`;\n for (const key in dialogOptions) {\n if (key === 'dsn') {\n continue;\n }\n\n if (key === 'user') {\n if (!dialogOptions.user) {\n continue;\n }\n if (dialogOptions.user.name) {\n encodedOptions += `&name=${encodeURIComponent(dialogOptions.user.name)}`;\n }\n if (dialogOptions.user.email) {\n encodedOptions += `&email=${encodeURIComponent(dialogOptions.user.email)}`;\n }\n } else {\n encodedOptions += `&${encodeURIComponent(key)}=${encodeURIComponent(dialogOptions[key] as string)}`;\n }\n }\n\n return `${endpoint}?${encodedOptions}`;\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { Integration, Options } from '@sentry/types';\nimport { addNonEnumerableProperty, logger } from '@sentry/utils';\n\nexport const installedIntegrations: string[] = [];\n\n/** Map of integrations assigned to a client */\nexport type IntegrationIndex = {\n [key: string]: Integration;\n} & { initialized?: boolean };\n\n/**\n * @private\n */\nfunction filterDuplicates(integrations: Integration[]): Integration[] {\n return integrations.reduce((acc, integrations) => {\n if (acc.every(accIntegration => integrations.name !== accIntegration.name)) {\n acc.push(integrations);\n }\n return acc;\n }, [] as Integration[]);\n}\n\n/** Gets integration to install */\nexport function getIntegrationsToSetup(options: Options): Integration[] {\n const defaultIntegrations = (options.defaultIntegrations && [...options.defaultIntegrations]) || [];\n const userIntegrations = options.integrations;\n\n let integrations: Integration[] = [...filterDuplicates(defaultIntegrations)];\n\n if (Array.isArray(userIntegrations)) {\n // Filter out integrations that are also included in user options\n integrations = [\n ...integrations.filter(integrations =>\n userIntegrations.every(userIntegration => userIntegration.name !== integrations.name),\n ),\n // And filter out duplicated user options integrations\n ...filterDuplicates(userIntegrations),\n ];\n } else if (typeof userIntegrations === 'function') {\n integrations = userIntegrations(integrations);\n integrations = Array.isArray(integrations) ? integrations : [integrations];\n }\n\n // Make sure that if present, `Debug` integration will always run last\n const integrationsNames = integrations.map(i => i.name);\n const alwaysLastToRun = 'Debug';\n if (integrationsNames.indexOf(alwaysLastToRun) !== -1) {\n integrations.push(...integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1));\n }\n\n return integrations;\n}\n\n/** Setup given integration */\nexport function setupIntegration(integration: Integration): void {\n if (installedIntegrations.indexOf(integration.name) !== -1) {\n return;\n }\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n logger.log(`Integration installed: ${integration.name}`);\n}\n\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\nexport function setupIntegrations(options: O): IntegrationIndex {\n const integrations: IntegrationIndex = {};\n getIntegrationsToSetup(options).forEach(integration => {\n integrations[integration.name] = integration;\n setupIntegration(integration);\n });\n // set the `initialized` flag so we don't run through the process again unecessarily; use `Object.defineProperty`\n // because by default it creates a property which is nonenumerable, which we want since `initialized` shouldn't be\n // considered a member of the index the way the actual integrations are\n addNonEnumerableProperty(integrations, 'initialized', true);\n return integrations;\n}\n","/* eslint-disable max-lines */\nimport { Scope, Session } from '@sentry/hub';\nimport {\n Client,\n DsnComponents,\n Event,\n EventHint,\n Integration,\n IntegrationClass,\n Options,\n Severity,\n Transport,\n} from '@sentry/types';\nimport {\n checkOrSetAlreadyCaught,\n dateTimestampInSeconds,\n isDebugBuild,\n isPlainObject,\n isPrimitive,\n isThenable,\n logger,\n makeDsn,\n normalize,\n rejectedSyncPromise,\n resolvedSyncPromise,\n SentryError,\n SyncPromise,\n truncate,\n uuid4,\n} from '@sentry/utils';\n\nimport { Backend, BackendClass } from './basebackend';\nimport { IntegrationIndex, setupIntegrations } from './integration';\n\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\n\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding backend constructor and options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}. Also, the Backend instance is available via\n * {@link Client.getBackend}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event via the backend, it is passed through\n * {@link BaseClient._prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient {\n * public constructor(options: NodeOptions) {\n * super(NodeBackend, options);\n * }\n *\n * // ...\n * }\n */\nexport abstract class BaseClient implements Client {\n /**\n * The backend used to physically interact in the environment. Usually, this\n * will correspond to the client. When composing SDKs, however, the Backend\n * from the root SDK will be used.\n */\n protected readonly _backend: B;\n\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n protected readonly _dsn?: DsnComponents;\n\n /** Array of used integrations. */\n protected _integrations: IntegrationIndex = {};\n\n /** Number of calls being processed */\n protected _numProcessing: number = 0;\n\n /**\n * Initializes this client instance.\n *\n * @param backendClass A constructor function to create the backend.\n * @param options Options for the client.\n */\n protected constructor(backendClass: BackendClass, options: O) {\n this._backend = new backendClass(options);\n this._options = options;\n\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n }\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._getBackend()\n .eventFromException(exception, hint)\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined {\n let eventId: string | undefined = hint && hint.event_id;\n\n const promisedEvent = isPrimitive(message)\n ? this._getBackend().eventFromMessage(String(message), level, hint)\n : this._getBackend().eventFromException(message, hint);\n\n this._process(\n promisedEvent\n .then(event => this._captureEvent(event, hint, scope))\n .then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined {\n // ensure we haven't captured this very object before\n if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {\n logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n let eventId: string | undefined = hint && hint.event_id;\n\n this._process(\n this._captureEvent(event, hint, scope).then(result => {\n eventId = result;\n }),\n );\n\n return eventId;\n }\n\n /**\n * @inheritDoc\n */\n public captureSession(session: Session): void {\n if (!this._isEnabled()) {\n if (isDebugBuild()) {\n logger.warn('SDK not enabled, will not capture session.');\n }\n return;\n }\n\n if (!(typeof session.release === 'string')) {\n if (isDebugBuild()) {\n logger.warn('Discarded session because of missing or non-string release');\n }\n } else {\n this._sendSession(session);\n // After sending, we set init false to indicate it's not the first occurrence\n session.update({ init: false });\n }\n }\n\n /**\n * @inheritDoc\n */\n public getDsn(): DsnComponents | undefined {\n return this._dsn;\n }\n\n /**\n * @inheritDoc\n */\n public getOptions(): O {\n return this._options;\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport {\n return this._getBackend().getTransport();\n }\n\n /**\n * @inheritDoc\n */\n public flush(timeout?: number): PromiseLike {\n return this._isClientDoneProcessing(timeout).then(clientFinished => {\n return this.getTransport()\n .close(timeout)\n .then(transportFlushed => clientFinished && transportFlushed);\n });\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike {\n return this.flush(timeout).then(result => {\n this.getOptions().enabled = false;\n return result;\n });\n }\n\n /**\n * Sets up the integrations\n */\n public setupIntegrations(): void {\n if (this._isEnabled() && !this._integrations.initialized) {\n this._integrations = setupIntegrations(this._options);\n }\n }\n\n /**\n * @inheritDoc\n */\n public getIntegration(integration: IntegrationClass): T | null {\n try {\n return (this._integrations[integration.id] as T) || null;\n } catch (_oO) {\n logger.warn(`Cannot retrieve integration ${integration.id} from the current Client`);\n return null;\n }\n }\n\n /** Updates existing session based on the provided event */\n protected _updateSessionFromEvent(session: Session, event: Event): void {\n let crashed = false;\n let errored = false;\n const exceptions = event.exception && event.exception.values;\n\n if (exceptions) {\n errored = true;\n\n for (const ex of exceptions) {\n const mechanism = ex.mechanism;\n if (mechanism && mechanism.handled === false) {\n crashed = true;\n break;\n }\n }\n }\n\n // A session is updated and that session update is sent in only one of the two following scenarios:\n // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update\n // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update\n const sessionNonTerminal = session.status === 'ok';\n const shouldUpdateAndSend = (sessionNonTerminal && session.errors === 0) || (sessionNonTerminal && crashed);\n\n if (shouldUpdateAndSend) {\n session.update({\n ...(crashed && { status: 'crashed' }),\n errors: session.errors || Number(errored || crashed),\n });\n this.captureSession(session);\n }\n }\n\n /** Deliver captured session to Sentry */\n protected _sendSession(session: Session): void {\n this._getBackend().sendSession(session);\n }\n\n /**\n * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n * `false` otherwise\n */\n protected _isClientDoneProcessing(timeout?: number): PromiseLike {\n return new SyncPromise(resolve => {\n let ticked: number = 0;\n const tick: number = 1;\n\n const interval = setInterval(() => {\n if (this._numProcessing == 0) {\n clearInterval(interval);\n resolve(true);\n } else {\n ticked += tick;\n if (timeout && ticked >= timeout) {\n clearInterval(interval);\n resolve(false);\n }\n }\n }, tick);\n });\n }\n\n /** Returns the current backend. */\n protected _getBackend(): B {\n return this._backend;\n }\n\n /** Determines whether this SDK is enabled and a valid Dsn is present. */\n protected _isEnabled(): boolean {\n return this.getOptions().enabled !== false && this._dsn !== undefined;\n }\n\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike {\n const { normalizeDepth = 3 } = this.getOptions();\n const prepared: Event = {\n ...event,\n event_id: event.event_id || (hint && hint.event_id ? hint.event_id : uuid4()),\n timestamp: event.timestamp || dateTimestampInSeconds(),\n };\n\n this._applyClientOptions(prepared);\n this._applyIntegrationsMetadata(prepared);\n\n // If we have scope given to us, use it as the base for further modifications.\n // This allows us to prevent unnecessary copying of data if `captureContext` is not provided.\n let finalScope = scope;\n if (hint && hint.captureContext) {\n finalScope = Scope.clone(finalScope).update(hint.captureContext);\n }\n\n // We prepare the result here with a resolved Event.\n let result = resolvedSyncPromise(prepared);\n\n // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n if (finalScope) {\n // In case we have a hub we reassign it.\n result = finalScope.applyToEvent(prepared, hint);\n }\n\n return result.then(evt => {\n if (evt) {\n // TODO this is more of the hack trying to solve https://github.com/getsentry/sentry-javascript/issues/2809\n // it is only attached as extra data to the event if the event somehow skips being normalized\n evt.sdkProcessingMetadata = { ...evt.sdkProcessingMetadata, normalizeDepth: normalize(normalizeDepth) };\n }\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return this._normalizeEvent(evt, normalizeDepth);\n }\n return evt;\n });\n }\n\n /**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\n protected _normalizeEvent(event: Event | null, depth: number): Event | null {\n if (!event) {\n return null;\n }\n\n const normalized = {\n ...event,\n ...(event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(b => ({\n ...b,\n ...(b.data && {\n data: normalize(b.data, depth),\n }),\n })),\n }),\n ...(event.user && {\n user: normalize(event.user, depth),\n }),\n ...(event.contexts && {\n contexts: normalize(event.contexts, depth),\n }),\n ...(event.extra && {\n extra: normalize(event.extra, depth),\n }),\n };\n // event.contexts.trace stores information about a Transaction. Similarly,\n // event.spans[] stores information about child Spans. Given that a\n // Transaction is conceptually a Span, normalization should apply to both\n // Transactions and Spans consistently.\n // For now the decision is to skip normalization of Transactions and Spans,\n // so this block overwrites the normalized event to add back the original\n // Transaction information prior to normalization.\n if (event.contexts && event.contexts.trace) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n normalized.contexts.trace = event.contexts.trace;\n }\n\n event.sdkProcessingMetadata = { ...event.sdkProcessingMetadata, baseClientNormalized: true };\n\n return normalized;\n }\n\n /**\n * Enhances event using the client configuration.\n * It takes care of all \"static\" values like environment, release and `dist`,\n * as well as truncating overly long values.\n * @param event event instance to be enhanced\n */\n protected _applyClientOptions(event: Event): void {\n const options = this.getOptions();\n const { environment, release, dist, maxValueLength = 250 } = options;\n\n if (!('environment' in event)) {\n event.environment = 'environment' in options ? environment : 'production';\n }\n\n if (event.release === undefined && release !== undefined) {\n event.release = release;\n }\n\n if (event.dist === undefined && dist !== undefined) {\n event.dist = dist;\n }\n\n if (event.message) {\n event.message = truncate(event.message, maxValueLength);\n }\n\n const exception = event.exception && event.exception.values && event.exception.values[0];\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n const request = event.request;\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n }\n\n /**\n * This function adds all used integrations to the SDK info in the event.\n * @param event The event that will be filled with all integrations.\n */\n protected _applyIntegrationsMetadata(event: Event): void {\n const integrationsArray = Object.keys(this._integrations);\n if (integrationsArray.length > 0) {\n event.sdk = event.sdk || {};\n event.sdk.integrations = [...(event.sdk.integrations || []), ...integrationsArray];\n }\n }\n\n /**\n * Tells the backend to send this event\n * @param event The Sentry event to send\n */\n protected _sendEvent(event: Event): void {\n this._getBackend().sendEvent(event);\n }\n\n /**\n * Processes the event and logs an error in case of rejection\n * @param event\n * @param hint\n * @param scope\n */\n protected _captureEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike {\n return this._processEvent(event, hint, scope).then(\n finalEvent => {\n return finalEvent.event_id;\n },\n reason => {\n logger.error(reason);\n return undefined;\n },\n );\n }\n\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n protected _processEvent(event: Event, hint?: EventHint, scope?: Scope): PromiseLike {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeSend, sampleRate } = this.getOptions();\n const transport = this.getTransport();\n\n type RecordLostEvent = NonNullable;\n type RecordLostEventParams = Parameters;\n\n function recordLostEvent(outcome: RecordLostEventParams[0], category: RecordLostEventParams[1]): void {\n if (transport.recordLostEvent) {\n transport.recordLostEvent(outcome, category);\n }\n }\n\n if (!this._isEnabled()) {\n return rejectedSyncPromise(new SentryError('SDK not enabled, will not capture event.'));\n }\n\n const isTransaction = event.type === 'transaction';\n // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n // Sampling for transaction happens somewhere else\n if (!isTransaction && typeof sampleRate === 'number' && Math.random() > sampleRate) {\n recordLostEvent('sample_rate', 'event');\n return rejectedSyncPromise(\n new SentryError(\n `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`,\n ),\n );\n }\n\n return this._prepareEvent(event, scope, hint)\n .then(prepared => {\n if (prepared === null) {\n recordLostEvent('event_processor', event.type || 'event');\n throw new SentryError('An event processor returned null, will not send event.');\n }\n\n const isInternalException = hint && hint.data && (hint.data as { __sentry__: boolean }).__sentry__ === true;\n if (isInternalException || isTransaction || !beforeSend) {\n return prepared;\n }\n\n const beforeSendResult = beforeSend(prepared, hint);\n return _ensureBeforeSendRv(beforeSendResult);\n })\n .then(processedEvent => {\n if (processedEvent === null) {\n recordLostEvent('before_send', event.type || 'event');\n throw new SentryError('`beforeSend` returned `null`, will not send event.');\n }\n\n const session = scope && scope.getSession && scope.getSession();\n if (!isTransaction && session) {\n this._updateSessionFromEvent(session, processedEvent);\n }\n\n this._sendEvent(processedEvent);\n return processedEvent;\n })\n .then(null, reason => {\n if (reason instanceof SentryError) {\n throw reason;\n }\n\n this.captureException(reason, {\n data: {\n __sentry__: true,\n },\n originalException: reason as Error,\n });\n throw new SentryError(\n `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: ${reason}`,\n );\n });\n }\n\n /**\n * Occupies the client with processing and event\n */\n protected _process(promise: PromiseLike): void {\n this._numProcessing += 1;\n void promise.then(\n value => {\n this._numProcessing -= 1;\n return value;\n },\n reason => {\n this._numProcessing -= 1;\n return reason;\n },\n );\n }\n}\n\n/**\n * Verifies that return value of configured `beforeSend` is of expected type.\n */\nfunction _ensureBeforeSendRv(rv: PromiseLike | Event | null): PromiseLike | Event | null {\n const nullErr = '`beforeSend` method has to return `null` or a valid event.';\n if (isThenable(rv)) {\n return rv.then(\n event => {\n if (!(isPlainObject(event) || event === null)) {\n throw new SentryError(nullErr);\n }\n return event;\n },\n e => {\n throw new SentryError(`beforeSend rejected with ${e}`);\n },\n );\n } else if (!(isPlainObject(rv) || rv === null)) {\n throw new SentryError(nullErr);\n }\n return rv;\n}\n","import { Event, Response, Transport } from '@sentry/types';\nimport { resolvedSyncPromise } from '@sentry/utils';\n\n/** Noop transport */\nexport class NoopTransport implements Transport {\n /**\n * @inheritDoc\n */\n public sendEvent(_: Event): PromiseLike {\n return resolvedSyncPromise({\n reason: `NoopTransport: Event has been skipped because no Dsn is configured.`,\n status: 'skipped',\n });\n }\n\n /**\n * @inheritDoc\n */\n public close(_?: number): PromiseLike {\n return resolvedSyncPromise(true);\n }\n}\n","import { Event, EventHint, Options, Session, Severity, Transport } from '@sentry/types';\nimport { isDebugBuild, logger, SentryError } from '@sentry/utils';\n\nimport { NoopTransport } from './transports/noop';\n\n/**\n * Internal platform-dependent Sentry SDK Backend.\n *\n * While {@link Client} contains business logic specific to an SDK, the\n * Backend offers platform specific implementations for low-level operations.\n * These are persisting and loading information, sending events, and hooking\n * into the environment.\n *\n * Backends receive a handle to the Client in their constructor. When a\n * Backend automatically generates events, it must pass them to\n * the Client for validation and processing first.\n *\n * Usually, the Client will be of corresponding type, e.g. NodeBackend\n * receives NodeClient. However, higher-level SDKs can choose to instantiate\n * multiple Backends and delegate tasks between them. In this case, an event\n * generated by one backend might very well be sent by another one.\n *\n * The client also provides access to options via {@link Client.getOptions}.\n * @hidden\n */\nexport interface Backend {\n /** Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n eventFromException(exception: any, hint?: EventHint): PromiseLike;\n\n /** Creates an {@link Event} from primitive inputs to `captureMessage`. */\n eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike;\n\n /** Submits the event to Sentry */\n sendEvent(event: Event): void;\n\n /** Submits the session to Sentry */\n sendSession(session: Session): void;\n\n /**\n * Returns the transport that is used by the backend.\n * Please note that the transport gets lazy initialized so it will only be there once the first event has been sent.\n *\n * @returns The transport.\n */\n getTransport(): Transport;\n}\n\n/**\n * A class object that can instantiate Backend objects.\n * @hidden\n */\nexport type BackendClass = new (options: O) => B;\n\n/**\n * This is the base implemention of a Backend.\n * @hidden\n */\nexport abstract class BaseBackend implements Backend {\n /** Options passed to the SDK. */\n protected readonly _options: O;\n\n /** Cached transport used internally. */\n protected _transport: Transport;\n\n /** Creates a new backend instance. */\n public constructor(options: O) {\n this._options = options;\n if (!this._options.dsn) {\n logger.warn('No DSN provided, backend will not do anything.');\n }\n this._transport = this._setupTransport();\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public eventFromException(_exception: any, _hint?: EventHint): PromiseLike {\n throw new SentryError('Backend has to implement `eventFromException` method');\n }\n\n /**\n * @inheritDoc\n */\n public eventFromMessage(_message: string, _level?: Severity, _hint?: EventHint): PromiseLike {\n throw new SentryError('Backend has to implement `eventFromMessage` method');\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): void {\n void this._transport.sendEvent(event).then(null, reason => {\n if (isDebugBuild()) {\n logger.error(`Error while sending event: ${reason}`);\n }\n });\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session): void {\n if (!this._transport.sendSession) {\n if (isDebugBuild()) {\n logger.warn(\"Dropping session because custom transport doesn't implement sendSession\");\n }\n return;\n }\n\n void this._transport.sendSession(session).then(null, reason => {\n if (isDebugBuild()) {\n logger.error(`Error while sending session: ${reason}`);\n }\n });\n }\n\n /**\n * @inheritDoc\n */\n public getTransport(): Transport {\n return this._transport;\n }\n\n /**\n * Sets up the transport so it can be used later to send requests.\n */\n protected _setupTransport(): Transport {\n return new NoopTransport();\n }\n}\n","import { Event, SdkInfo, SentryRequest, SentryRequestType, Session, SessionAggregates } from '@sentry/types';\nimport { dsnToString, normalize } from '@sentry/utils';\n\nimport { APIDetails, getEnvelopeEndpointWithUrlEncodedAuth, getStoreEndpointWithUrlEncodedAuth } from './api';\n\n/** Extract sdk info from from the API metadata */\nfunction getSdkMetadataForEnvelopeHeader(api: APIDetails): SdkInfo | undefined {\n if (!api.metadata || !api.metadata.sdk) {\n return;\n }\n const { name, version } = api.metadata.sdk;\n return { name, version };\n}\n\n/**\n * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key.\n * Merge with existing data if any.\n **/\nfunction enhanceEventWithSdkInfo(event: Event, sdkInfo?: SdkInfo): Event {\n if (!sdkInfo) {\n return event;\n }\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || sdkInfo.name;\n event.sdk.version = event.sdk.version || sdkInfo.version;\n event.sdk.integrations = [...(event.sdk.integrations || []), ...(sdkInfo.integrations || [])];\n event.sdk.packages = [...(event.sdk.packages || []), ...(sdkInfo.packages || [])];\n return event;\n}\n\n/** Creates a SentryRequest from a Session. */\nexport function sessionToSentryRequest(session: Session | SessionAggregates, api: APIDetails): SentryRequest {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(api);\n const envelopeHeaders = JSON.stringify({\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!api.tunnel && { dsn: dsnToString(api.dsn) }),\n });\n // I know this is hacky but we don't want to add `session` to request type since it's never rate limited\n const type: SentryRequestType = 'aggregates' in session ? ('sessions' as SentryRequestType) : 'session';\n const itemHeaders = JSON.stringify({\n type,\n });\n\n return {\n body: `${envelopeHeaders}\\n${itemHeaders}\\n${JSON.stringify(session)}`,\n type,\n url: getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel),\n };\n}\n\n/** Creates a SentryRequest from an event. */\nexport function eventToSentryRequest(event: Event, api: APIDetails): SentryRequest {\n const sdkInfo = getSdkMetadataForEnvelopeHeader(api);\n const eventType = event.type || 'event';\n const useEnvelope = eventType === 'transaction' || !!api.tunnel;\n\n const { transactionSampling } = event.sdkProcessingMetadata || {};\n const { method: samplingMethod, rate: sampleRate } = transactionSampling || {};\n\n // TODO: Below is a temporary hack in order to debug a serialization error - see\n // https://github.com/getsentry/sentry-javascript/issues/2809,\n // https://github.com/getsentry/sentry-javascript/pull/4425, and\n // https://github.com/getsentry/sentry-javascript/pull/4574.\n //\n // TL; DR: even though we normalize all events (which should prevent this), something is causing `JSON.stringify` to\n // throw a circular reference error.\n //\n // When it's time to remove it:\n // 1. Delete everything between here and where the request object `req` is created, EXCEPT the line deleting\n // `sdkProcessingMetadata`\n // 2. Restore the original version of the request body, which is commented out\n // 3. Search for either of the PR URLs above and pull out the companion hacks in the browser playwright tests and the\n // baseClient tests in this package\n enhanceEventWithSdkInfo(event, api.metadata.sdk);\n event.tags = event.tags || {};\n event.extra = event.extra || {};\n\n // In theory, all events should be marked as having gone through normalization and so\n // we should never set this tag/extra data\n if (!(event.sdkProcessingMetadata && event.sdkProcessingMetadata.baseClientNormalized)) {\n event.tags.skippedNormalization = true;\n event.extra.normalizeDepth = event.sdkProcessingMetadata ? event.sdkProcessingMetadata.normalizeDepth : 'unset';\n }\n\n // prevent this data from being sent to sentry\n // TODO: This is NOT part of the hack - DO NOT DELETE\n delete event.sdkProcessingMetadata;\n\n let body;\n try {\n // 99.9% of events should get through just fine - no change in behavior for them\n body = JSON.stringify(event);\n } catch (err) {\n // Record data about the error without replacing original event data, then force renormalization\n event.tags.JSONStringifyError = true;\n event.extra.JSONStringifyError = err;\n try {\n body = JSON.stringify(normalize(event));\n } catch (newErr) {\n // At this point even renormalization hasn't worked, meaning something about the event data has gone very wrong.\n // Time to cut our losses and record only the new error. With luck, even in the problematic cases we're trying to\n // debug with this hack, we won't ever land here.\n const innerErr = newErr as Error;\n body = JSON.stringify({\n message: 'JSON.stringify error after renormalization',\n // setting `extra: { innerErr }` here for some reason results in an empty object, so unpack manually\n extra: { message: innerErr.message, stack: innerErr.stack },\n });\n }\n }\n\n const req: SentryRequest = {\n // this is the relevant line of code before the hack was added, to make it easy to undo said hack once we've solved\n // the mystery\n // body: JSON.stringify(sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event),\n body,\n type: eventType,\n url: useEnvelope\n ? getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel)\n : getStoreEndpointWithUrlEncodedAuth(api.dsn),\n };\n\n // https://develop.sentry.dev/sdk/envelopes/\n\n // Since we don't need to manipulate envelopes nor store them, there is no\n // exported concept of an Envelope with operations including serialization and\n // deserialization. Instead, we only implement a minimal subset of the spec to\n // serialize events inline here.\n if (useEnvelope) {\n const envelopeHeaders = JSON.stringify({\n event_id: event.event_id,\n sent_at: new Date().toISOString(),\n ...(sdkInfo && { sdk: sdkInfo }),\n ...(!!api.tunnel && { dsn: dsnToString(api.dsn) }),\n });\n const itemHeaders = JSON.stringify({\n type: eventType,\n\n // TODO: Right now, sampleRate may or may not be defined (it won't be in the cases of inheritance and\n // explicitly-set sampling decisions). Are we good with that?\n sample_rates: [{ id: samplingMethod, rate: sampleRate }],\n\n // The content-type is assumed to be 'application/json' and not part of\n // the current spec for transaction items, so we don't bloat the request\n // body with it.\n //\n // content_type: 'application/json',\n //\n // The length is optional. It must be the number of bytes in req.Body\n // encoded as UTF-8. Since the server can figure this out and would\n // otherwise refuse events that report the length incorrectly, we decided\n // not to send the length to avoid problems related to reporting the wrong\n // size and to reduce request body size.\n //\n // length: new TextEncoder().encode(req.body).length,\n });\n // The trailing newline is optional. We intentionally don't send it to avoid\n // sending unnecessary bytes.\n //\n // const envelope = `${envelopeHeaders}\\n${itemHeaders}\\n${req.body}\\n`;\n const envelope = `${envelopeHeaders}\\n${itemHeaders}\\n${req.body}`;\n req.body = envelope;\n }\n\n return req;\n}\n","import { Integration, WrappedFunction } from '@sentry/types';\nimport { getOriginalFunction } from '@sentry/utils';\n\nlet originalFunctionToString: () => void;\n\n/** Patch toString calls to return proper name for wrapped functions */\nexport class FunctionToString implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'FunctionToString';\n\n /**\n * @inheritDoc\n */\n public name: string = FunctionToString.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function (this: WrappedFunction, ...args: any[]): string {\n const context = getOriginalFunction(this) || this;\n return originalFunctionToString.apply(context, args);\n };\n }\n}\n","export const SDK_VERSION = '6.17.9';\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { Event, Integration, StackFrame } from '@sentry/types';\nimport { getEventDescription, isDebugBuild, isMatchingPattern, logger } from '@sentry/utils';\n\n// \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\nconst DEFAULT_IGNORE_ERRORS = [/^Script error\\.?$/, /^Javascript error: Script error\\.? on line 0$/];\n\n/** JSDoc */\ninterface InboundFiltersOptions {\n allowUrls: Array;\n denyUrls: Array;\n ignoreErrors: Array;\n ignoreInternal: boolean;\n\n /** @deprecated use {@link InboundFiltersOptions.allowUrls} instead. */\n whitelistUrls: Array;\n /** @deprecated use {@link InboundFiltersOptions.denyUrls} instead. */\n blacklistUrls: Array;\n}\n\n/** Inbound filters configurable by the user */\nexport class InboundFilters implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'InboundFilters';\n\n /**\n * @inheritDoc\n */\n public name: string = InboundFilters.id;\n\n public constructor(private readonly _options: Partial = {}) {}\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event) => {\n const hub = getCurrentHub();\n if (!hub) {\n return event;\n }\n const self = hub.getIntegration(InboundFilters);\n if (self) {\n const client = hub.getClient();\n const clientOptions = client ? client.getOptions() : {};\n // This checks prevents most of the occurrences of the bug linked below:\n // https://github.com/getsentry/sentry-javascript/issues/2622\n // The bug is caused by multiple SDK instances, where one is minified and one is using non-mangled code.\n // Unfortunatelly we cannot fix it reliably (thus reserved property in rollup's terser config),\n // as we cannot force people using multiple instances in their apps to sync SDK versions.\n const options = typeof self._mergeOptions === 'function' ? self._mergeOptions(clientOptions) : {};\n if (typeof self._shouldDropEvent !== 'function') {\n return event;\n }\n return self._shouldDropEvent(event, options) ? null : event;\n }\n return event;\n });\n }\n\n /** JSDoc */\n private _shouldDropEvent(event: Event, options: Partial): boolean {\n if (this._isSentryError(event, options)) {\n if (isDebugBuild()) {\n logger.warn(`Event dropped due to being internal Sentry Error.\\nEvent: ${getEventDescription(event)}`);\n }\n return true;\n }\n if (this._isIgnoredError(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to being matched by \\`ignoreErrors\\` option.\\nEvent: ${getEventDescription(event)}`,\n );\n }\n return true;\n }\n if (this._isDeniedUrl(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to being matched by \\`denyUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${this._getEventFilterUrl(event)}`,\n );\n }\n return true;\n }\n if (!this._isAllowedUrl(event, options)) {\n if (isDebugBuild()) {\n logger.warn(\n `Event dropped due to not being matched by \\`allowUrls\\` option.\\nEvent: ${getEventDescription(\n event,\n )}.\\nUrl: ${this._getEventFilterUrl(event)}`,\n );\n }\n return true;\n }\n return false;\n }\n\n /** JSDoc */\n private _isSentryError(event: Event, options: Partial): boolean {\n if (!options.ignoreInternal) {\n return false;\n }\n\n try {\n // @ts-ignore can't be a sentry error if undefined\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {\n // ignore\n }\n\n return false;\n }\n\n /** JSDoc */\n private _isIgnoredError(event: Event, options: Partial): boolean {\n if (!options.ignoreErrors || !options.ignoreErrors.length) {\n return false;\n }\n\n return this._getPossibleEventMessages(event).some(message =>\n // Not sure why TypeScript complains here...\n (options.ignoreErrors as Array).some(pattern => isMatchingPattern(message, pattern)),\n );\n }\n\n /** JSDoc */\n private _isDeniedUrl(event: Event, options: Partial): boolean {\n // TODO: Use Glob instead?\n if (!options.denyUrls || !options.denyUrls.length) {\n return false;\n }\n const url = this._getEventFilterUrl(event);\n return !url ? false : options.denyUrls.some(pattern => isMatchingPattern(url, pattern));\n }\n\n /** JSDoc */\n private _isAllowedUrl(event: Event, options: Partial): boolean {\n // TODO: Use Glob instead?\n if (!options.allowUrls || !options.allowUrls.length) {\n return true;\n }\n const url = this._getEventFilterUrl(event);\n return !url ? true : options.allowUrls.some(pattern => isMatchingPattern(url, pattern));\n }\n\n /** JSDoc */\n private _mergeOptions(clientOptions: Partial = {}): Partial {\n return {\n allowUrls: [\n // eslint-disable-next-line deprecation/deprecation\n ...(this._options.whitelistUrls || []),\n ...(this._options.allowUrls || []),\n // eslint-disable-next-line deprecation/deprecation\n ...(clientOptions.whitelistUrls || []),\n ...(clientOptions.allowUrls || []),\n ],\n denyUrls: [\n // eslint-disable-next-line deprecation/deprecation\n ...(this._options.blacklistUrls || []),\n ...(this._options.denyUrls || []),\n // eslint-disable-next-line deprecation/deprecation\n ...(clientOptions.blacklistUrls || []),\n ...(clientOptions.denyUrls || []),\n ],\n ignoreErrors: [\n ...(this._options.ignoreErrors || []),\n ...(clientOptions.ignoreErrors || []),\n ...DEFAULT_IGNORE_ERRORS,\n ],\n ignoreInternal: typeof this._options.ignoreInternal !== 'undefined' ? this._options.ignoreInternal : true,\n };\n }\n\n /** JSDoc */\n private _getPossibleEventMessages(event: Event): string[] {\n if (event.message) {\n return [event.message];\n }\n if (event.exception) {\n try {\n const { type = '', value = '' } = (event.exception.values && event.exception.values[0]) || {};\n return [`${value}`, `${type}: ${value}`];\n } catch (oO) {\n if (isDebugBuild()) {\n logger.error(`Cannot extract message for event ${getEventDescription(event)}`);\n }\n return [];\n }\n }\n return [];\n }\n\n /** JSDoc */\n private _getLastValidUrl(frames: StackFrame[] = []): string | null {\n for (let i = frames.length - 1; i >= 0; i--) {\n const frame = frames[i];\n\n if (frame && frame.filename !== '' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n }\n\n /** JSDoc */\n private _getEventFilterUrl(event: Event): string | null {\n try {\n if (event.stacktrace) {\n return this._getLastValidUrl(event.stacktrace.frames);\n }\n let frames;\n try {\n // @ts-ignore we only care about frames if the whole thing here is defined\n frames = event.exception.values[0].stacktrace.frames;\n } catch (e) {\n // ignore\n }\n return frames ? this._getLastValidUrl(frames) : null;\n } catch (oO) {\n if (isDebugBuild()) {\n logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n }\n return null;\n }\n }\n}\n","import { StackFrame } from '@sentry/types';\nimport { StackLineParser } from '@sentry/utils';\n\n// global reference to slice\nconst UNKNOWN_FUNCTION = '?';\n\nfunction createFrame(filename: string, func: string, lineno?: number, colno?: number): StackFrame {\n const frame: StackFrame = {\n filename,\n function: func,\n // All browser frames are considered in_app\n in_app: true,\n };\n\n if (lineno !== undefined) {\n frame.lineno = lineno;\n }\n\n if (colno !== undefined) {\n frame.colno = colno;\n }\n\n return frame;\n}\n\n// Chromium based browsers: Chrome, Brave, new Opera, new Edge\nconst chromeRegex =\n /^\\s*at (?:(.*?) ?\\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\\/).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\nexport const chrome: StackLineParser = line => {\n const parts = chromeRegex.exec(line);\n\n if (parts) {\n const isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n if (isEval) {\n const subMatch = chromeEvalRegex.exec(parts[2]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = subMatch[1]; // url\n parts[3] = subMatch[2]; // line\n parts[4] = subMatch[3]; // column\n }\n }\n\n // Kamil: One more hack won't hurt us right? Understanding and adding more rules on top of these regexps right now\n // would be way too time consuming. (TODO: Rewrite whole RegExp to be more readable)\n const [func, filename] = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]);\n\n return createFrame(filename, func, parts[3] ? +parts[3] : undefined, parts[4] ? +parts[4] : undefined);\n }\n\n return;\n};\n\n// gecko regex: `(?:bundle|\\d+\\.js)`: `bundle` is for react native, `\\d+\\.js` also but specifically for ram bundles because it\n// generates filenames without a prefix like `file://` the filenames in the stacktrace are just 42.js\n// We need this specific case for now because we want no other regex to match.\nconst geckoREgex =\n /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nexport const gecko: StackLineParser = line => {\n const parts = geckoREgex.exec(line);\n\n if (parts) {\n const isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n if (isEval) {\n const subMatch = geckoEvalRegex.exec(parts[3]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line number\n parts[1] = parts[1] || `eval`;\n parts[3] = subMatch[1];\n parts[4] = subMatch[2];\n parts[5] = ''; // no column when eval\n }\n }\n\n let filename = parts[3];\n let func = parts[1] || UNKNOWN_FUNCTION;\n [func, filename] = extractSafariExtensionDetails(func, filename);\n\n return createFrame(filename, func, parts[4] ? +parts[4] : undefined, parts[5] ? +parts[5] : undefined);\n }\n\n return;\n};\n\nconst winjsRegex =\n /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nexport const winjs: StackLineParser = line => {\n const parts = winjsRegex.exec(line);\n\n return parts\n ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined)\n : undefined;\n};\n\nconst opera10Regex = / line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i;\n\nexport const opera10: StackLineParser = line => {\n const parts = opera10Regex.exec(line);\n return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined;\n};\n\nconst opera11Regex =\n / line (\\d+), column (\\d+)\\s*(?:in (?:]+)>|([^)]+))\\(.*\\))? in (.*):\\s*$/i;\n\nexport const opera11: StackLineParser = line => {\n const parts = opera11Regex.exec(line);\n return parts ? createFrame(parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;\n};\n\n/**\n * Safari web extensions, starting version unknown, can produce \"frames-only\" stacktraces.\n * What it means, is that instead of format like:\n *\n * Error: wat\n * at function@url:row:col\n * at function@url:row:col\n * at function@url:row:col\n *\n * it produces something like:\n *\n * function@url:row:col\n * function@url:row:col\n * function@url:row:col\n *\n * Because of that, it won't be captured by `chrome` RegExp and will fall into `Gecko` branch.\n * This function is extracted so that we can use it in both places without duplicating the logic.\n * Unfortunately \"just\" changing RegExp is too complicated now and making it pass all tests\n * and fix this case seems like an impossible, or at least way too time-consuming task.\n */\nconst extractSafariExtensionDetails = (func: string, filename: string): [string, string] => {\n const isSafariExtension = func.indexOf('safari-extension') !== -1;\n const isSafariWebExtension = func.indexOf('safari-web-extension') !== -1;\n\n return isSafariExtension || isSafariWebExtension\n ? [\n func.indexOf('@') !== -1 ? func.split('@')[0] : UNKNOWN_FUNCTION,\n isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`,\n ]\n : [func, filename];\n};\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\nimport { Event, Exception, StackFrame } from '@sentry/types';\nimport { createStackParser, extractExceptionKeysForMessage, isEvent, normalizeToSize } from '@sentry/utils';\n\nimport { chrome, gecko, opera10, opera11, winjs } from './stack-parsers';\n\n/**\n * This function creates an exception from an TraceKitStackTrace\n * @param stacktrace TraceKitStackTrace that will be converted to an exception\n * @hidden\n */\nexport function exceptionFromError(ex: Error): Exception {\n // Get the frames first since Opera can lose the stack if we touch anything else first\n const frames = parseStackFrames(ex);\n\n const exception: Exception = {\n type: ex && ex.name,\n value: extractMessage(ex),\n };\n\n if (frames && frames.length) {\n exception.stacktrace = { frames };\n }\n\n if (exception.type === undefined && exception.value === '') {\n exception.value = 'Unrecoverable error caught';\n }\n\n return exception;\n}\n\n/**\n * @hidden\n */\nexport function eventFromPlainObject(\n exception: Record,\n syntheticException?: Error,\n rejection?: boolean,\n): Event {\n const event: Event = {\n exception: {\n values: [\n {\n type: isEvent(exception) ? exception.constructor.name : rejection ? 'UnhandledRejection' : 'Error',\n value: `Non-Error ${\n rejection ? 'promise rejection' : 'exception'\n } captured with keys: ${extractExceptionKeysForMessage(exception)}`,\n },\n ],\n },\n extra: {\n __serialized__: normalizeToSize(exception),\n },\n };\n\n if (syntheticException) {\n event.stacktrace = {\n frames: parseStackFrames(syntheticException),\n };\n }\n\n return event;\n}\n\n/**\n * @hidden\n */\nexport function eventFromError(ex: Error): Event {\n return {\n exception: {\n values: [exceptionFromError(ex)],\n },\n };\n}\n\n/** Parses stack frames from an error */\nexport function parseStackFrames(ex: Error & { framesToPop?: number; stacktrace?: string }): StackFrame[] {\n // Access and store the stacktrace property before doing ANYTHING\n // else to it because Opera is not very good at providing it\n // reliably in other circumstances.\n const stacktrace = ex.stacktrace || ex.stack || '';\n\n const popSize = getPopSize(ex);\n\n try {\n // The order of the parsers in important\n return createStackParser(opera10, opera11, chrome, winjs, gecko)(stacktrace, popSize);\n } catch (e) {\n // no-empty\n }\n\n return [];\n}\n\n// Based on our own mapping pattern - https://github.com/getsentry/sentry/blob/9f08305e09866c8bd6d0c24f5b0aabdd7dd6c59c/src/sentry/lang/javascript/errormapping.py#L83-L108\nconst reactMinifiedRegexp = /Minified React error #\\d+;/i;\n\nfunction getPopSize(ex: Error & { framesToPop?: number }): number {\n if (ex) {\n if (typeof ex.framesToPop === 'number') {\n return ex.framesToPop;\n }\n\n if (reactMinifiedRegexp.test(ex.message)) {\n return 1;\n }\n }\n\n return 0;\n}\n\n/**\n * There are cases where stacktrace.message is an Event object\n * https://github.com/getsentry/sentry-javascript/issues/1949\n * In this specific case we try to extract stacktrace.message.error.message\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction extractMessage(ex: any): string {\n const message = ex && ex.message;\n if (!message) {\n return 'No error message';\n }\n if (message.error && typeof message.error.message === 'string') {\n return message.error.message;\n }\n return message;\n}\n","import { Event, EventHint, Options, Severity } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addExceptionTypeValue,\n isDOMError,\n isDOMException,\n isError,\n isErrorEvent,\n isEvent,\n isPlainObject,\n resolvedSyncPromise,\n} from '@sentry/utils';\n\nimport { eventFromError, eventFromPlainObject, parseStackFrames } from './parsers';\n\n/**\n * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.\n * @hidden\n */\nexport function eventFromException(options: Options, exception: unknown, hint?: EventHint): PromiseLike {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromUnknownInput(exception, syntheticException, {\n attachStacktrace: options.attachStacktrace,\n });\n addExceptionMechanism(event); // defaults to { type: 'generic', handled: true }\n event.level = Severity.Error;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * Builds and Event from a Message\n * @hidden\n */\nexport function eventFromMessage(\n options: Options,\n message: string,\n level: Severity = Severity.Info,\n hint?: EventHint,\n): PromiseLike {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromString(message, syntheticException, {\n attachStacktrace: options.attachStacktrace,\n });\n event.level = level;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n}\n\n/**\n * @hidden\n */\nexport function eventFromUnknownInput(\n exception: unknown,\n syntheticException?: Error,\n options: {\n isRejection?: boolean;\n attachStacktrace?: boolean;\n } = {},\n): Event {\n let event: Event;\n\n if (isErrorEvent(exception as ErrorEvent) && (exception as ErrorEvent).error) {\n // If it is an ErrorEvent with `error` property, extract it to get actual Error\n const errorEvent = exception as ErrorEvent;\n return eventFromError(errorEvent.error as Error);\n }\n\n // If it is a `DOMError` (which is a legacy API, but still supported in some browsers) then we just extract the name\n // and message, as it doesn't provide anything else. According to the spec, all `DOMExceptions` should also be\n // `Error`s, but that's not the case in IE11, so in that case we treat it the same as we do a `DOMError`.\n //\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMError\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMException\n // https://webidl.spec.whatwg.org/#es-DOMException-specialness\n if (isDOMError(exception as DOMError) || isDOMException(exception as DOMException)) {\n const domException = exception as DOMException;\n\n if ('stack' in (exception as Error)) {\n event = eventFromError(exception as Error);\n } else {\n const name = domException.name || (isDOMError(domException) ? 'DOMError' : 'DOMException');\n const message = domException.message ? `${name}: ${domException.message}` : name;\n event = eventFromString(message, syntheticException, options);\n addExceptionTypeValue(event, message);\n }\n if ('code' in domException) {\n event.tags = { ...event.tags, 'DOMException.code': `${domException.code}` };\n }\n\n return event;\n }\n if (isError(exception as Error)) {\n // we have a real Error object, do nothing\n return eventFromError(exception as Error);\n }\n if (isPlainObject(exception) || isEvent(exception)) {\n // If it's a plain object or an instance of `Event` (the built-in JS kind, not this SDK's `Event` type), serialize\n // it manually. This will allow us to group events based on top-level keys which is much better than creating a new\n // group on any key/value change.\n const objectException = exception as Record;\n event = eventFromPlainObject(objectException, syntheticException, options.isRejection);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n return event;\n }\n\n // If none of previous checks were valid, then it means that it's not:\n // - an instance of DOMError\n // - an instance of DOMException\n // - an instance of Event\n // - an instance of Error\n // - a valid ErrorEvent (one with an error property)\n // - a plain Object\n //\n // So bail out and capture it as a simple message:\n event = eventFromString(exception as string, syntheticException, options);\n addExceptionTypeValue(event, `${exception}`, undefined);\n addExceptionMechanism(event, {\n synthetic: true,\n });\n\n return event;\n}\n\n/**\n * @hidden\n */\nexport function eventFromString(\n input: string,\n syntheticException?: Error,\n options: {\n attachStacktrace?: boolean;\n } = {},\n): Event {\n const event: Event = {\n message: input,\n };\n\n if (options.attachStacktrace && syntheticException) {\n event.stacktrace = {\n frames: parseStackFrames(syntheticException),\n };\n }\n\n return event;\n}\n","import { forget, getGlobalObject, isDebugBuild, isNativeFetch, logger, supportsFetch } from '@sentry/utils';\n\nconst global = getGlobalObject();\nlet cachedFetchImpl: FetchImpl;\n\nexport type FetchImpl = typeof fetch;\n\n/**\n * A special usecase for incorrectly wrapped Fetch APIs in conjunction with ad-blockers.\n * Whenever someone wraps the Fetch API and returns the wrong promise chain,\n * this chain becomes orphaned and there is no possible way to capture it's rejections\n * other than allowing it bubble up to this very handler. eg.\n *\n * const f = window.fetch;\n * window.fetch = function () {\n * const p = f.apply(this, arguments);\n *\n * p.then(function() {\n * console.log('hi.');\n * });\n *\n * return p;\n * }\n *\n * `p.then(function () { ... })` is producing a completely separate promise chain,\n * however, what's returned is `p` - the result of original `fetch` call.\n *\n * This mean, that whenever we use the Fetch API to send our own requests, _and_\n * some ad-blocker blocks it, this orphaned chain will _always_ reject,\n * effectively causing another event to be captured.\n * This makes a whole process become an infinite loop, which we need to somehow\n * deal with, and break it in one way or another.\n *\n * To deal with this issue, we are making sure that we _always_ use the real\n * browser Fetch API, instead of relying on what `window.fetch` exposes.\n * The only downside to this would be missing our own requests as breadcrumbs,\n * but because we are already not doing this, it should be just fine.\n *\n * Possible failed fetch error messages per-browser:\n *\n * Chrome: Failed to fetch\n * Edge: Failed to Fetch\n * Firefox: NetworkError when attempting to fetch resource\n * Safari: resource blocked by content blocker\n */\nexport function getNativeFetchImplementation(): FetchImpl {\n if (cachedFetchImpl) {\n return cachedFetchImpl;\n }\n\n /* eslint-disable @typescript-eslint/unbound-method */\n\n // Fast path to avoid DOM I/O\n if (isNativeFetch(global.fetch)) {\n return (cachedFetchImpl = global.fetch.bind(global));\n }\n\n const document = global.document;\n let fetchImpl = global.fetch;\n // eslint-disable-next-line deprecation/deprecation\n if (document && typeof document.createElement === `function`) {\n try {\n const sandbox = document.createElement('iframe');\n sandbox.hidden = true;\n document.head.appendChild(sandbox);\n const contentWindow = sandbox.contentWindow;\n if (contentWindow && contentWindow.fetch) {\n fetchImpl = contentWindow.fetch;\n }\n document.head.removeChild(sandbox);\n } catch (e) {\n if (isDebugBuild()) {\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', e);\n }\n }\n }\n\n return (cachedFetchImpl = fetchImpl.bind(global));\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n\n/**\n * Sends sdk client report using sendBeacon or fetch as a fallback if available\n *\n * @param url report endpoint\n * @param body report payload\n */\nexport function sendReport(url: string, body: string): void {\n const isRealNavigator = Object.prototype.toString.call(global && global.navigator) === '[object Navigator]';\n const hasSendBeacon = isRealNavigator && typeof global.navigator.sendBeacon === 'function';\n\n if (hasSendBeacon) {\n // Prevent illegal invocations - https://xgwang.me/posts/you-may-not-know-beacon/#it-may-throw-error%2C-be-sure-to-catch\n const sendBeacon = global.navigator.sendBeacon.bind(global.navigator);\n return sendBeacon(url, body);\n }\n\n if (supportsFetch()) {\n const fetch = getNativeFetchImplementation();\n return forget(\n fetch(url, {\n body,\n method: 'POST',\n credentials: 'omit',\n keepalive: true,\n }),\n );\n }\n}\n","/**\n * Consumes the promise and logs the error when it rejects.\n * @param promise A promise to forget.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function forget(promise: PromiseLike): void {\n void promise.then(null, e => {\n // TODO: Use a better logging mechanism\n // eslint-disable-next-line no-console\n console.error(e);\n });\n}\n","import {\n APIDetails,\n eventToSentryRequest,\n getEnvelopeEndpointWithUrlEncodedAuth,\n getStoreEndpointWithUrlEncodedAuth,\n initAPIDetails,\n sessionToSentryRequest,\n} from '@sentry/core';\nimport {\n Event,\n Outcome,\n Response as SentryResponse,\n SentryRequest,\n SentryRequestType,\n Session,\n Transport,\n TransportOptions,\n} from '@sentry/types';\nimport {\n dateTimestampInSeconds,\n dsnToString,\n eventStatusFromHttpCode,\n getGlobalObject,\n isDebugBuild,\n logger,\n makePromiseBuffer,\n parseRetryAfterHeader,\n PromiseBuffer,\n} from '@sentry/utils';\n\nimport { sendReport } from './utils';\n\nfunction requestTypeToCategory(ty: SentryRequestType): string {\n const tyStr = ty as string;\n return tyStr === 'event' ? 'error' : tyStr;\n}\n\nconst global = getGlobalObject();\n\n/** Base Transport class implementation */\nexport abstract class BaseTransport implements Transport {\n /**\n * @deprecated\n */\n public url: string;\n\n /** Helper to get Sentry API endpoints. */\n protected readonly _api: APIDetails;\n\n /** A simple buffer holding all requests. */\n protected readonly _buffer: PromiseBuffer = makePromiseBuffer(30);\n\n /** Locks transport after receiving rate limits in a response */\n protected readonly _rateLimits: Record = {};\n\n protected _outcomes: { [key: string]: number } = {};\n\n public constructor(public options: TransportOptions) {\n this._api = initAPIDetails(options.dsn, options._metadata, options.tunnel);\n // eslint-disable-next-line deprecation/deprecation\n this.url = getStoreEndpointWithUrlEncodedAuth(this._api.dsn);\n\n if (this.options.sendClientReports && global.document) {\n global.document.addEventListener('visibilitychange', () => {\n if (global.document.visibilityState === 'hidden') {\n this._flushOutcomes();\n }\n });\n }\n }\n\n /**\n * @inheritDoc\n */\n public sendEvent(event: Event): PromiseLike {\n return this._sendRequest(eventToSentryRequest(event, this._api), event);\n }\n\n /**\n * @inheritDoc\n */\n public sendSession(session: Session): PromiseLike {\n return this._sendRequest(sessionToSentryRequest(session, this._api), session);\n }\n\n /**\n * @inheritDoc\n */\n public close(timeout?: number): PromiseLike {\n return this._buffer.drain(timeout);\n }\n\n /**\n * @inheritDoc\n */\n public recordLostEvent(reason: Outcome, category: SentryRequestType): void {\n if (!this.options.sendClientReports) {\n return;\n }\n // We want to track each category (event, transaction, session) separately\n // but still keep the distinction between different type of outcomes.\n // We could use nested maps, but it's much easier to read and type this way.\n // A correct type for map-based implementation if we want to go that route\n // would be `Partial>>>`\n const key = `${requestTypeToCategory(category)}:${reason}`;\n logger.log(`Adding outcome: ${key}`);\n this._outcomes[key] = (this._outcomes[key] ?? 0) + 1;\n }\n\n /**\n * Send outcomes as an envelope\n */\n protected _flushOutcomes(): void {\n if (!this.options.sendClientReports) {\n return;\n }\n\n const outcomes = this._outcomes;\n this._outcomes = {};\n\n // Nothing to send\n if (!Object.keys(outcomes).length) {\n logger.log('No outcomes to flush');\n return;\n }\n\n logger.log(`Flushing outcomes:\\n${JSON.stringify(outcomes, null, 2)}`);\n\n const url = getEnvelopeEndpointWithUrlEncodedAuth(this._api.dsn, this._api.tunnel);\n // Envelope header is required to be at least an empty object\n const envelopeHeader = JSON.stringify({ ...(this._api.tunnel && { dsn: dsnToString(this._api.dsn) }) });\n const itemHeaders = JSON.stringify({\n type: 'client_report',\n });\n const item = JSON.stringify({\n timestamp: dateTimestampInSeconds(),\n discarded_events: Object.keys(outcomes).map(key => {\n const [category, reason] = key.split(':');\n return {\n reason,\n category,\n quantity: outcomes[key],\n };\n }),\n });\n const envelope = `${envelopeHeader}\\n${itemHeaders}\\n${item}`;\n\n try {\n sendReport(url, envelope);\n } catch (e) {\n logger.error(e);\n }\n }\n\n /**\n * Handle Sentry repsonse for promise-based transports.\n */\n protected _handleResponse({\n requestType,\n response,\n headers,\n resolve,\n reject,\n }: {\n requestType: SentryRequestType;\n response: Response | XMLHttpRequest;\n headers: Record;\n resolve: (value?: SentryResponse | PromiseLike | null | undefined) => void;\n reject: (reason?: unknown) => void;\n }): void {\n const status = eventStatusFromHttpCode(response.status);\n /**\n * \"The name is case-insensitive.\"\n * https://developer.mozilla.org/en-US/docs/Web/API/Headers/get\n */\n const limited = this._handleRateLimit(headers);\n if (limited && isDebugBuild()) {\n logger.warn(`Too many ${requestType} requests, backing off until: ${this._disabledUntil(requestType)}`);\n }\n\n if (status === 'success') {\n resolve({ status });\n return;\n }\n\n reject(response);\n }\n\n /**\n * Gets the time that given category is disabled until for rate limiting\n */\n protected _disabledUntil(requestType: SentryRequestType): Date {\n const category = requestTypeToCategory(requestType);\n return this._rateLimits[category] || this._rateLimits.all;\n }\n\n /**\n * Checks if a category is rate limited\n */\n protected _isRateLimited(requestType: SentryRequestType): boolean {\n return this._disabledUntil(requestType) > new Date(Date.now());\n }\n\n /**\n * Sets internal _rateLimits from incoming headers. Returns true if headers contains a non-empty rate limiting header.\n */\n protected _handleRateLimit(headers: Record): boolean {\n const now = Date.now();\n const rlHeader = headers['x-sentry-rate-limits'];\n const raHeader = headers['retry-after'];\n\n if (rlHeader) {\n // rate limit headers are of the form\n //
,
,..\n // where each
is of the form\n // : : : \n // where\n // is a delay in ms\n // is the event type(s) (error, transaction, etc) being rate limited and is of the form\n // ;;...\n // is what's being limited (org, project, or key) - ignored by SDK\n // is an arbitrary string like \"org_quota\" - ignored by SDK\n for (const limit of rlHeader.trim().split(',')) {\n const parameters = limit.split(':', 2);\n const headerDelay = parseInt(parameters[0], 10);\n const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default\n for (const category of parameters[1].split(';')) {\n this._rateLimits[category || 'all'] = new Date(now + delay);\n }\n }\n return true;\n } else if (raHeader) {\n this._rateLimits.all = new Date(now + parseRetryAfterHeader(now, raHeader));\n return true;\n }\n return false;\n }\n\n protected abstract _sendRequest(\n sentryRequest: SentryRequest,\n originalPayload: Event | Session,\n ): PromiseLike;\n}\n","import { EventStatus } from '@sentry/types';\n/**\n * Converts an HTTP status code to sentry status {@link EventStatus}.\n *\n * @param code number HTTP status code\n * @returns EventStatus\n */\nexport function eventStatusFromHttpCode(code: number): EventStatus {\n if (code >= 200 && code < 300) {\n return 'success';\n }\n\n if (code === 429) {\n return 'rate_limit';\n }\n\n if (code >= 400 && code < 500) {\n return 'invalid';\n }\n\n if (code >= 500) {\n return 'failed';\n }\n\n return 'unknown';\n}\n","import { Event, Response, SentryRequest, Session, TransportOptions } from '@sentry/types';\nimport { SentryError, supportsReferrerPolicy, SyncPromise } from '@sentry/utils';\n\nimport { BaseTransport } from './base';\nimport { FetchImpl, getNativeFetchImplementation } from './utils';\n\n/** `fetch` based transport */\nexport class FetchTransport extends BaseTransport {\n /**\n * Fetch API reference which always points to native browser implementation.\n */\n private _fetch: typeof fetch;\n\n public constructor(options: TransportOptions, fetchImpl: FetchImpl = getNativeFetchImplementation()) {\n super(options);\n this._fetch = fetchImpl;\n }\n\n /**\n * @param sentryRequest Prepared SentryRequest to be delivered\n * @param originalPayload Original payload used to create SentryRequest\n */\n protected _sendRequest(sentryRequest: SentryRequest, originalPayload: Event | Session): PromiseLike {\n if (this._isRateLimited(sentryRequest.type)) {\n this.recordLostEvent('ratelimit_backoff', sentryRequest.type);\n\n return Promise.reject({\n event: originalPayload,\n type: sentryRequest.type,\n reason: `Transport for ${sentryRequest.type} requests locked till ${this._disabledUntil(\n sentryRequest.type,\n )} due to too many requests.`,\n status: 429,\n });\n }\n\n const options: RequestInit = {\n body: sentryRequest.body,\n method: 'POST',\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n referrerPolicy: (supportsReferrerPolicy() ? 'origin' : '') as ReferrerPolicy,\n };\n if (this.options.fetchParameters !== undefined) {\n Object.assign(options, this.options.fetchParameters);\n }\n if (this.options.headers !== undefined) {\n options.headers = this.options.headers;\n }\n\n return this._buffer\n .add(\n () =>\n new SyncPromise((resolve, reject) => {\n void this._fetch(sentryRequest.url, options)\n .then(response => {\n const headers = {\n 'x-sentry-rate-limits': response.headers.get('X-Sentry-Rate-Limits'),\n 'retry-after': response.headers.get('Retry-After'),\n };\n this._handleResponse({\n requestType: sentryRequest.type,\n response,\n headers,\n resolve,\n reject,\n });\n })\n .catch(reject);\n }),\n )\n .then(undefined, reason => {\n // It's either buffer rejection or any other xhr/fetch error, which are treated as NetworkError.\n if (reason instanceof SentryError) {\n this.recordLostEvent('queue_overflow', sentryRequest.type);\n } else {\n this.recordLostEvent('network_error', sentryRequest.type);\n }\n throw reason;\n });\n }\n}\n","import { Event, Response, SentryRequest, Session } from '@sentry/types';\nimport { SentryError, SyncPromise } from '@sentry/utils';\n\nimport { BaseTransport } from './base';\n\n/** `XHR` based transport */\nexport class XHRTransport extends BaseTransport {\n /**\n * @param sentryRequest Prepared SentryRequest to be delivered\n * @param originalPayload Original payload used to create SentryRequest\n */\n protected _sendRequest(sentryRequest: SentryRequest, originalPayload: Event | Session): PromiseLike {\n if (this._isRateLimited(sentryRequest.type)) {\n this.recordLostEvent('ratelimit_backoff', sentryRequest.type);\n\n return Promise.reject({\n event: originalPayload,\n type: sentryRequest.type,\n reason: `Transport for ${sentryRequest.type} requests locked till ${this._disabledUntil(\n sentryRequest.type,\n )} due to too many requests.`,\n status: 429,\n });\n }\n\n return this._buffer\n .add(\n () =>\n new SyncPromise((resolve, reject) => {\n const request = new XMLHttpRequest();\n\n request.onreadystatechange = (): void => {\n if (request.readyState === 4) {\n const headers = {\n 'x-sentry-rate-limits': request.getResponseHeader('X-Sentry-Rate-Limits'),\n 'retry-after': request.getResponseHeader('Retry-After'),\n };\n this._handleResponse({ requestType: sentryRequest.type, response: request, headers, resolve, reject });\n }\n };\n\n request.open('POST', sentryRequest.url);\n for (const header in this.options.headers) {\n if (Object.prototype.hasOwnProperty.call(this.options.headers, header)) {\n request.setRequestHeader(header, this.options.headers[header]);\n }\n }\n request.send(sentryRequest.body);\n }),\n )\n .then(undefined, reason => {\n // It's either buffer rejection or any other xhr/fetch error, which are treated as NetworkError.\n if (reason instanceof SentryError) {\n this.recordLostEvent('queue_overflow', sentryRequest.type);\n } else {\n this.recordLostEvent('network_error', sentryRequest.type);\n }\n throw reason;\n });\n }\n}\n","import { BaseBackend } from '@sentry/core';\nimport { Event, EventHint, Options, Severity, Transport } from '@sentry/types';\nimport { supportsFetch } from '@sentry/utils';\n\nimport { eventFromException, eventFromMessage } from './eventbuilder';\nimport { FetchTransport, XHRTransport } from './transports';\n\n/**\n * Configuration options for the Sentry Browser SDK.\n * @see BrowserClient for more information.\n */\nexport interface BrowserOptions extends Options {\n /**\n * A pattern for error URLs which should exclusively be sent to Sentry.\n * This is the opposite of {@link Options.denyUrls}.\n * By default, all errors will be sent.\n */\n allowUrls?: Array;\n\n /**\n * A pattern for error URLs which should not be sent to Sentry.\n * To allow certain errors instead, use {@link Options.allowUrls}.\n * By default, all errors will be sent.\n */\n denyUrls?: Array;\n\n /** @deprecated use {@link Options.allowUrls} instead. */\n whitelistUrls?: Array;\n\n /** @deprecated use {@link Options.denyUrls} instead. */\n blacklistUrls?: Array;\n}\n\n/**\n * The Sentry Browser SDK Backend.\n * @hidden\n */\nexport class BrowserBackend extends BaseBackend {\n /**\n * @inheritDoc\n */\n public eventFromException(exception: unknown, hint?: EventHint): PromiseLike {\n return eventFromException(this._options, exception, hint);\n }\n /**\n * @inheritDoc\n */\n public eventFromMessage(message: string, level: Severity = Severity.Info, hint?: EventHint): PromiseLike {\n return eventFromMessage(this._options, message, level, hint);\n }\n\n /**\n * @inheritDoc\n */\n protected _setupTransport(): Transport {\n if (!this._options.dsn) {\n // We return the noop transport here in case there is no Dsn.\n return super._setupTransport();\n }\n\n const transportOptions = {\n ...this._options.transportOptions,\n dsn: this._options.dsn,\n tunnel: this._options.tunnel,\n sendClientReports: this._options.sendClientReports,\n _metadata: this._options._metadata,\n };\n\n if (this._options.transport) {\n return new this._options.transport(transportOptions);\n }\n if (supportsFetch()) {\n return new FetchTransport(transportOptions);\n }\n return new XHRTransport(transportOptions);\n }\n}\n","import { captureException, getReportDialogEndpoint, withScope } from '@sentry/core';\nimport { DsnLike, Event as SentryEvent, Mechanism, Scope, WrappedFunction } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addExceptionTypeValue,\n addNonEnumerableProperty,\n getGlobalObject,\n getOriginalFunction,\n isDebugBuild,\n logger,\n markFunctionWrapped,\n} from '@sentry/utils';\n\nconst global = getGlobalObject();\nlet ignoreOnError: number = 0;\n\n/**\n * @hidden\n */\nexport function shouldIgnoreOnError(): boolean {\n return ignoreOnError > 0;\n}\n\n/**\n * @hidden\n */\nexport function ignoreNextOnError(): void {\n // onerror should trigger before setTimeout\n ignoreOnError += 1;\n setTimeout(() => {\n ignoreOnError -= 1;\n });\n}\n\n/**\n * Instruments the given function and sends an event to Sentry every time the\n * function throws an exception.\n *\n * @param fn A function to wrap.\n * @returns The wrapped function.\n * @hidden\n */\nexport function wrap(\n fn: WrappedFunction,\n options: {\n mechanism?: Mechanism;\n } = {},\n before?: WrappedFunction,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n): any {\n // for future readers what this does is wrap a function and then create\n // a bi-directional wrapping between them.\n //\n // example: wrapped = wrap(original);\n // original.__sentry_wrapped__ -> wrapped\n // wrapped.__sentry_original__ -> original\n\n if (typeof fn !== 'function') {\n return fn;\n }\n\n try {\n // if we're dealing with a function that was previously wrapped, return\n // the original wrapper.\n const wrapper = fn.__sentry_wrapped__;\n if (wrapper) {\n return wrapper;\n }\n\n // We don't wanna wrap it twice\n if (getOriginalFunction(fn)) {\n return fn;\n }\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n // Bail on wrapping and return the function as-is (defers to window.onerror).\n return fn;\n }\n\n /* eslint-disable prefer-rest-params */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sentryWrapped: WrappedFunction = function (this: any): void {\n const args = Array.prototype.slice.call(arguments);\n\n try {\n if (before && typeof before === 'function') {\n before.apply(this, arguments);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n const wrappedArguments = args.map((arg: any) => wrap(arg, options));\n\n // Attempt to invoke user-land function\n // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n // means the sentry.javascript SDK caught an error invoking your application code. This\n // is expected behavior and NOT indicative of a bug with sentry.javascript.\n return fn.apply(this, wrappedArguments);\n } catch (ex) {\n ignoreNextOnError();\n\n withScope((scope: Scope) => {\n scope.addEventProcessor((event: SentryEvent) => {\n if (options.mechanism) {\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, options.mechanism);\n }\n\n event.extra = {\n ...event.extra,\n arguments: args,\n };\n\n return event;\n });\n\n captureException(ex);\n });\n\n throw ex;\n }\n };\n /* eslint-enable prefer-rest-params */\n\n // Accessing some objects may throw\n // ref: https://github.com/getsentry/sentry-javascript/issues/1168\n try {\n for (const property in fn) {\n if (Object.prototype.hasOwnProperty.call(fn, property)) {\n sentryWrapped[property] = fn[property];\n }\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n // Signal that this function has been wrapped/filled already\n // for both debugging and to prevent it to being wrapped/filled twice\n markFunctionWrapped(sentryWrapped, fn);\n\n addNonEnumerableProperty(fn, '__sentry_wrapped__', sentryWrapped);\n\n // Restore original function name (not all browsers allow that)\n try {\n const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name') as PropertyDescriptor;\n if (descriptor.configurable) {\n Object.defineProperty(sentryWrapped, 'name', {\n get(): string {\n return fn.name;\n },\n });\n }\n // eslint-disable-next-line no-empty\n } catch (_oO) {}\n\n return sentryWrapped;\n}\n\n/**\n * All properties the report dialog supports\n */\nexport interface ReportDialogOptions {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: any;\n eventId?: string;\n dsn?: DsnLike;\n user?: {\n email?: string;\n name?: string;\n };\n lang?: string;\n title?: string;\n subtitle?: string;\n subtitle2?: string;\n labelName?: string;\n labelEmail?: string;\n labelComments?: string;\n labelClose?: string;\n labelSubmit?: string;\n errorGeneric?: string;\n errorFormEntry?: string;\n successMessage?: string;\n /** Callback after reportDialog showed up */\n onLoad?(): void;\n}\n\n/**\n * Injects the Report Dialog script\n * @hidden\n */\nexport function injectReportDialog(options: ReportDialogOptions = {}): void {\n if (!global.document) {\n return;\n }\n\n if (!options.eventId) {\n if (isDebugBuild()) {\n logger.error(`Missing eventId option in showReportDialog call`);\n }\n return;\n }\n\n if (!options.dsn) {\n if (isDebugBuild()) {\n logger.error(`Missing dsn option in showReportDialog call`);\n }\n return;\n }\n\n const script = global.document.createElement('script');\n script.async = true;\n script.src = getReportDialogEndpoint(options.dsn, options);\n\n if (options.onLoad) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n script.onload = options.onLoad;\n }\n\n const injectionPoint = global.document.head || global.document.body;\n\n if (injectionPoint) {\n injectionPoint.appendChild(script);\n }\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\nimport { getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Hub, Integration, Primitive, Severity } from '@sentry/types';\nimport {\n addExceptionMechanism,\n addInstrumentationHandler,\n getLocationHref,\n isDebugBuild,\n isErrorEvent,\n isPrimitive,\n isString,\n logger,\n} from '@sentry/utils';\n\nimport { eventFromUnknownInput } from '../eventbuilder';\nimport { shouldIgnoreOnError } from '../helpers';\n\ntype GlobalHandlersIntegrationsOptionKeys = 'onerror' | 'onunhandledrejection';\n\n/** JSDoc */\ntype GlobalHandlersIntegrations = Record;\n\n/** Global handlers */\nexport class GlobalHandlers implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'GlobalHandlers';\n\n /**\n * @inheritDoc\n */\n public name: string = GlobalHandlers.id;\n\n /** JSDoc */\n private readonly _options: GlobalHandlersIntegrations;\n\n /**\n * Stores references functions to installing handlers. Will set to undefined\n * after they have been run so that they are not used twice.\n */\n private _installFunc: Record void) | undefined> = {\n onerror: _installGlobalOnErrorHandler,\n onunhandledrejection: _installGlobalOnUnhandledRejectionHandler,\n };\n\n /** JSDoc */\n public constructor(options?: GlobalHandlersIntegrations) {\n this._options = {\n onerror: true,\n onunhandledrejection: true,\n ...options,\n };\n }\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n Error.stackTraceLimit = 50;\n const options = this._options;\n\n // We can disable guard-for-in as we construct the options object above + do checks against\n // `this._installFunc` for the property.\n // eslint-disable-next-line guard-for-in\n for (const key in options) {\n const installFunc = this._installFunc[key as GlobalHandlersIntegrationsOptionKeys];\n if (installFunc && options[key as GlobalHandlersIntegrationsOptionKeys]) {\n globalHandlerLog(key);\n installFunc();\n this._installFunc[key as GlobalHandlersIntegrationsOptionKeys] = undefined;\n }\n }\n }\n}\n\n/** JSDoc */\nfunction _installGlobalOnErrorHandler(): void {\n addInstrumentationHandler(\n 'error',\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (data: { msg: any; url: any; line: any; column: any; error: any }) => {\n const [hub, attachStacktrace] = getHubAndAttachStacktrace();\n if (!hub.getIntegration(GlobalHandlers)) {\n return;\n }\n const { msg, url, line, column, error } = data;\n if (shouldIgnoreOnError() || (error && error.__sentry_own_request__)) {\n return;\n }\n\n const event =\n error === undefined && isString(msg)\n ? _eventFromIncompleteOnError(msg, url, line, column)\n : _enhanceEventWithInitialFrame(\n eventFromUnknownInput(error || msg, undefined, {\n attachStacktrace,\n isRejection: false,\n }),\n url,\n line,\n column,\n );\n\n event.level = Severity.Error;\n\n addMechanismAndCapture(hub, error, event, 'onerror');\n },\n );\n}\n\n/** JSDoc */\nfunction _installGlobalOnUnhandledRejectionHandler(): void {\n addInstrumentationHandler(\n 'unhandledrejection',\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (e: any) => {\n const [hub, attachStacktrace] = getHubAndAttachStacktrace();\n if (!hub.getIntegration(GlobalHandlers)) {\n return;\n }\n let error = e;\n\n // dig the object of the rejection out of known event types\n try {\n // PromiseRejectionEvents store the object of the rejection under 'reason'\n // see https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent\n if ('reason' in e) {\n error = e.reason;\n }\n // something, somewhere, (likely a browser extension) effectively casts PromiseRejectionEvents\n // to CustomEvents, moving the `promise` and `reason` attributes of the PRE into\n // the CustomEvent's `detail` attribute, since they're not part of CustomEvent's spec\n // see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent and\n // https://github.com/getsentry/sentry-javascript/issues/2380\n else if ('detail' in e && 'reason' in e.detail) {\n error = e.detail.reason;\n }\n } catch (_oO) {\n // no-empty\n }\n\n if (shouldIgnoreOnError() || (error && error.__sentry_own_request__)) {\n return true;\n }\n\n const event = isPrimitive(error)\n ? _eventFromRejectionWithPrimitive(error)\n : eventFromUnknownInput(error, undefined, {\n attachStacktrace,\n isRejection: true,\n });\n\n event.level = Severity.Error;\n\n addMechanismAndCapture(hub, error, event, 'onunhandledrejection');\n return;\n },\n );\n}\n\n/**\n * Create an event from a promise rejection where the `reason` is a primitive.\n *\n * @param reason: The `reason` property of the promise rejection\n * @returns An Event object with an appropriate `exception` value\n */\nfunction _eventFromRejectionWithPrimitive(reason: Primitive): Event {\n return {\n exception: {\n values: [\n {\n type: 'UnhandledRejection',\n // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)\n value: `Non-Error promise rejection captured with value: ${String(reason)}`,\n },\n ],\n },\n };\n}\n\n/**\n * This function creates a stack from an old, error-less onerror handler.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _eventFromIncompleteOnError(msg: any, url: any, line: any, column: any): Event {\n const ERROR_TYPES_RE =\n /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;\n\n // If 'message' is ErrorEvent, get real message from inside\n let message = isErrorEvent(msg) ? msg.message : msg;\n let name = 'Error';\n\n const groups = message.match(ERROR_TYPES_RE);\n if (groups) {\n name = groups[1];\n message = groups[2];\n }\n\n const event = {\n exception: {\n values: [\n {\n type: name,\n value: message,\n },\n ],\n },\n };\n\n return _enhanceEventWithInitialFrame(event, url, line, column);\n}\n\n/** JSDoc */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _enhanceEventWithInitialFrame(event: Event, url: any, line: any, column: any): Event {\n // event.exception\n const e = (event.exception = event.exception || {});\n // event.exception.values\n const ev = (e.values = e.values || []);\n // event.exception.values[0]\n const ev0 = (ev[0] = ev[0] || {});\n // event.exception.values[0].stacktrace\n const ev0s = (ev0.stacktrace = ev0.stacktrace || {});\n // event.exception.values[0].stacktrace.frames\n const ev0sf = (ev0s.frames = ev0s.frames || []);\n\n const colno = isNaN(parseInt(column, 10)) ? undefined : column;\n const lineno = isNaN(parseInt(line, 10)) ? undefined : line;\n const filename = isString(url) && url.length > 0 ? url : getLocationHref();\n\n // event.exception.values[0].stacktrace.frames\n if (ev0sf.length === 0) {\n ev0sf.push({\n colno,\n filename,\n function: '?',\n in_app: true,\n lineno,\n });\n }\n\n return event;\n}\n\nfunction globalHandlerLog(type: string): void {\n if (isDebugBuild()) {\n logger.log(`Global Handler attached: ${type}`);\n }\n}\n\nfunction addMechanismAndCapture(hub: Hub, error: EventHint['originalException'], event: Event, type: string): void {\n addExceptionMechanism(event, {\n handled: false,\n type,\n });\n hub.captureEvent(event, {\n originalException: error,\n });\n}\n\nfunction getHubAndAttachStacktrace(): [Hub, boolean | undefined] {\n const hub = getCurrentHub();\n const client = hub.getClient();\n const attachStacktrace = client && client.getOptions().attachStacktrace;\n return [hub, attachStacktrace];\n}\n","import { Integration, WrappedFunction } from '@sentry/types';\nimport { fill, getFunctionName, getGlobalObject, getOriginalFunction } from '@sentry/utils';\n\nimport { wrap } from '../helpers';\n\nconst DEFAULT_EVENT_TARGET = [\n 'EventTarget',\n 'Window',\n 'Node',\n 'ApplicationCache',\n 'AudioTrackList',\n 'ChannelMergerNode',\n 'CryptoOperation',\n 'EventSource',\n 'FileReader',\n 'HTMLUnknownElement',\n 'IDBDatabase',\n 'IDBRequest',\n 'IDBTransaction',\n 'KeyOperation',\n 'MediaController',\n 'MessagePort',\n 'ModalWindow',\n 'Notification',\n 'SVGElementInstance',\n 'Screen',\n 'TextTrack',\n 'TextTrackCue',\n 'TextTrackList',\n 'WebSocket',\n 'WebSocketWorker',\n 'Worker',\n 'XMLHttpRequest',\n 'XMLHttpRequestEventTarget',\n 'XMLHttpRequestUpload',\n];\n\ntype XMLHttpRequestProp = 'onload' | 'onerror' | 'onprogress' | 'onreadystatechange';\n\n/** JSDoc */\ninterface TryCatchOptions {\n setTimeout: boolean;\n setInterval: boolean;\n requestAnimationFrame: boolean;\n XMLHttpRequest: boolean;\n eventTarget: boolean | string[];\n}\n\n/** Wrap timer functions and event targets to catch errors and provide better meta data */\nexport class TryCatch implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'TryCatch';\n\n /**\n * @inheritDoc\n */\n public name: string = TryCatch.id;\n\n /** JSDoc */\n private readonly _options: TryCatchOptions;\n\n /**\n * @inheritDoc\n */\n public constructor(options?: Partial) {\n this._options = {\n XMLHttpRequest: true,\n eventTarget: true,\n requestAnimationFrame: true,\n setInterval: true,\n setTimeout: true,\n ...options,\n };\n }\n\n /**\n * Wrap timer functions and event targets to catch errors\n * and provide better metadata.\n */\n public setupOnce(): void {\n const global = getGlobalObject();\n\n if (this._options.setTimeout) {\n fill(global, 'setTimeout', _wrapTimeFunction);\n }\n\n if (this._options.setInterval) {\n fill(global, 'setInterval', _wrapTimeFunction);\n }\n\n if (this._options.requestAnimationFrame) {\n fill(global, 'requestAnimationFrame', _wrapRAF);\n }\n\n if (this._options.XMLHttpRequest && 'XMLHttpRequest' in global) {\n fill(XMLHttpRequest.prototype, 'send', _wrapXHR);\n }\n\n const eventTargetOption = this._options.eventTarget;\n if (eventTargetOption) {\n const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n eventTarget.forEach(_wrapEventTarget);\n }\n }\n}\n\n/** JSDoc */\nfunction _wrapTimeFunction(original: () => void): () => number {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: any, ...args: any[]): number {\n const originalCallback = args[0];\n args[0] = wrap(originalCallback, {\n mechanism: {\n data: { function: getFunctionName(original) },\n handled: true,\n type: 'instrument',\n },\n });\n return original.apply(this, args);\n };\n}\n\n/** JSDoc */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _wrapRAF(original: any): (callback: () => void) => any {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: any, callback: () => void): () => void {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return original.call(\n this,\n wrap(callback, {\n mechanism: {\n data: {\n function: 'requestAnimationFrame',\n handler: getFunctionName(original),\n },\n handled: true,\n type: 'instrument',\n },\n }),\n );\n };\n}\n\n/** JSDoc */\nfunction _wrapXHR(originalSend: () => void): () => void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (this: XMLHttpRequest, ...args: any[]): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const xmlHttpRequestProps: XMLHttpRequestProp[] = ['onload', 'onerror', 'onprogress', 'onreadystatechange'];\n\n xmlHttpRequestProps.forEach(prop => {\n if (prop in xhr && typeof xhr[prop] === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fill(xhr, prop, function (original: WrappedFunction): () => any {\n const wrapOptions = {\n mechanism: {\n data: {\n function: prop,\n handler: getFunctionName(original),\n },\n handled: true,\n type: 'instrument',\n },\n };\n\n // If Instrument integration has been called before TryCatch, get the name of original function\n const originalFunction = getOriginalFunction(original);\n if (originalFunction) {\n wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);\n }\n\n // Otherwise wrap directly\n return wrap(original, wrapOptions);\n });\n }\n });\n\n return originalSend.apply(this, args);\n };\n}\n\n/** JSDoc */\nfunction _wrapEventTarget(target: string): void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const global = getGlobalObject() as { [key: string]: any };\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = global[target] && global[target].prototype;\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (original: () => void): (\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ) => void {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this: any,\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): (eventName: string, fn: EventListenerObject, capture?: boolean, secure?: boolean) => void {\n try {\n if (typeof fn.handleEvent === 'function') {\n fn.handleEvent = wrap(fn.handleEvent.bind(fn), {\n mechanism: {\n data: {\n function: 'handleEvent',\n handler: getFunctionName(fn),\n target,\n },\n handled: true,\n type: 'instrument',\n },\n });\n }\n } catch (err) {\n // can sometimes get 'Permission denied to access property \"handle Event'\n }\n\n return original.call(\n this,\n eventName,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n wrap(fn as any as WrappedFunction, {\n mechanism: {\n data: {\n function: 'addEventListener',\n handler: getFunctionName(fn),\n target,\n },\n handled: true,\n type: 'instrument',\n },\n }),\n options,\n );\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (\n originalRemoveEventListener: () => void,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ): (this: any, eventName: string, fn: EventListenerObject, options?: boolean | EventListenerOptions) => () => void {\n return function (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this: any,\n eventName: string,\n fn: EventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n /**\n * There are 2 possible scenarios here:\n *\n * 1. Someone passes a callback, which was attached prior to Sentry initialization, or by using unmodified\n * method, eg. `document.addEventListener.call(el, name, handler). In this case, we treat this function\n * as a pass-through, and call original `removeEventListener` with it.\n *\n * 2. Someone passes a callback, which was attached after Sentry was initialized, which means that it was using\n * our wrapped version of `addEventListener`, which internally calls `wrap` helper.\n * This helper \"wraps\" whole callback inside a try/catch statement, and attached appropriate metadata to it,\n * in order for us to make a distinction between wrapped/non-wrapped functions possible.\n * If a function was wrapped, it has additional property of `__sentry_wrapped__`, holding the handler.\n *\n * When someone adds a handler prior to initialization, and then do it again, but after,\n * then we have to detach both of them. Otherwise, if we'd detach only wrapped one, it'd be impossible\n * to get rid of the initial handler and it'd stick there forever.\n */\n const wrappedEventHandler = fn as unknown as WrappedFunction;\n try {\n const originalEventHandler = wrappedEventHandler && wrappedEventHandler.__sentry_wrapped__;\n if (originalEventHandler) {\n originalRemoveEventListener.call(this, eventName, originalEventHandler, options);\n }\n } catch (e) {\n // ignore, accessing __sentry_wrapped__ will throw in some Selenium environments\n }\n return originalRemoveEventListener.call(this, eventName, wrappedEventHandler, options);\n };\n },\n );\n}\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable max-lines */\nimport { getCurrentHub } from '@sentry/core';\nimport { Event, Integration, Severity } from '@sentry/types';\nimport {\n addInstrumentationHandler,\n getEventDescription,\n getGlobalObject,\n htmlTreeAsString,\n parseUrl,\n safeJoin,\n severityFromString,\n} from '@sentry/utils';\n\n/** JSDoc */\ninterface BreadcrumbsOptions {\n console: boolean;\n dom: boolean | { serializeAttribute: string | string[] };\n fetch: boolean;\n history: boolean;\n sentry: boolean;\n xhr: boolean;\n}\n\n/**\n * Default Breadcrumbs instrumentations\n * TODO: Deprecated - with v6, this will be renamed to `Instrument`\n */\nexport class Breadcrumbs implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Breadcrumbs';\n\n /**\n * @inheritDoc\n */\n public name: string = Breadcrumbs.id;\n\n /** JSDoc */\n private readonly _options: BreadcrumbsOptions;\n\n /**\n * @inheritDoc\n */\n public constructor(options?: Partial) {\n this._options = {\n console: true,\n dom: true,\n fetch: true,\n history: true,\n sentry: true,\n xhr: true,\n ...options,\n };\n }\n\n /**\n * Create a breadcrumb of `sentry` from the events themselves\n */\n public addSentryBreadcrumb(event: Event): void {\n if (!this._options.sentry) {\n return;\n }\n getCurrentHub().addBreadcrumb(\n {\n category: `sentry.${event.type === 'transaction' ? 'transaction' : 'event'}`,\n event_id: event.event_id,\n level: event.level,\n message: getEventDescription(event),\n },\n {\n event,\n },\n );\n }\n\n /**\n * Instrument browser built-ins w/ breadcrumb capturing\n * - Console API\n * - DOM API (click/typing)\n * - XMLHttpRequest API\n * - Fetch API\n * - History API\n */\n public setupOnce(): void {\n if (this._options.console) {\n addInstrumentationHandler('console', _consoleBreadcrumb);\n }\n if (this._options.dom) {\n addInstrumentationHandler('dom', _domBreadcrumb(this._options.dom));\n }\n if (this._options.xhr) {\n addInstrumentationHandler('xhr', _xhrBreadcrumb);\n }\n if (this._options.fetch) {\n addInstrumentationHandler('fetch', _fetchBreadcrumb);\n }\n if (this._options.history) {\n addInstrumentationHandler('history', _historyBreadcrumb);\n }\n }\n}\n\n/**\n * A HOC that creaes a function that creates breadcrumbs from DOM API calls.\n * This is a HOC so that we get access to dom options in the closure.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _domBreadcrumb(dom: BreadcrumbsOptions['dom']): (handlerData: { [key: string]: any }) => void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n function _innerDomBreadcrumb(handlerData: { [key: string]: any }): void {\n let target;\n let keyAttrs = typeof dom === 'object' ? dom.serializeAttribute : undefined;\n\n if (typeof keyAttrs === 'string') {\n keyAttrs = [keyAttrs];\n }\n\n // Accessing event.target can throw (see getsentry/raven-js#838, #768)\n try {\n target = handlerData.event.target\n ? htmlTreeAsString(handlerData.event.target as Node, keyAttrs)\n : htmlTreeAsString(handlerData.event as unknown as Node, keyAttrs);\n } catch (e) {\n target = '';\n }\n\n if (target.length === 0) {\n return;\n }\n\n getCurrentHub().addBreadcrumb(\n {\n category: `ui.${handlerData.name}`,\n message: target,\n },\n {\n event: handlerData.event,\n name: handlerData.name,\n global: handlerData.global,\n },\n );\n }\n\n return _innerDomBreadcrumb;\n}\n\n/**\n * Creates breadcrumbs from console API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _consoleBreadcrumb(handlerData: { [key: string]: any }): void {\n const breadcrumb = {\n category: 'console',\n data: {\n arguments: handlerData.args,\n logger: 'console',\n },\n level: severityFromString(handlerData.level),\n message: safeJoin(handlerData.args, ' '),\n };\n\n if (handlerData.level === 'assert') {\n if (handlerData.args[0] === false) {\n breadcrumb.message = `Assertion failed: ${safeJoin(handlerData.args.slice(1), ' ') || 'console.assert'}`;\n breadcrumb.data.arguments = handlerData.args.slice(1);\n } else {\n // Don't capture a breadcrumb for passed assertions\n return;\n }\n }\n\n getCurrentHub().addBreadcrumb(breadcrumb, {\n input: handlerData.args,\n level: handlerData.level,\n });\n}\n\n/**\n * Creates breadcrumbs from XHR API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _xhrBreadcrumb(handlerData: { [key: string]: any }): void {\n if (handlerData.endTimestamp) {\n // We only capture complete, non-sentry requests\n if (handlerData.xhr.__sentry_own_request__) {\n return;\n }\n\n const { method, url, status_code, body } = handlerData.xhr.__sentry_xhr__ || {};\n\n getCurrentHub().addBreadcrumb(\n {\n category: 'xhr',\n data: {\n method,\n url,\n status_code,\n },\n type: 'http',\n },\n {\n xhr: handlerData.xhr,\n input: body,\n },\n );\n\n return;\n }\n}\n\n/**\n * Creates breadcrumbs from fetch API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _fetchBreadcrumb(handlerData: { [key: string]: any }): void {\n // We only capture complete fetch requests\n if (!handlerData.endTimestamp) {\n return;\n }\n\n if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === 'POST') {\n // We will not create breadcrumbs for fetch requests that contain `sentry_key` (internal sentry requests)\n return;\n }\n\n if (handlerData.error) {\n getCurrentHub().addBreadcrumb(\n {\n category: 'fetch',\n data: handlerData.fetchData,\n level: Severity.Error,\n type: 'http',\n },\n {\n data: handlerData.error,\n input: handlerData.args,\n },\n );\n } else {\n getCurrentHub().addBreadcrumb(\n {\n category: 'fetch',\n data: {\n ...handlerData.fetchData,\n status_code: handlerData.response.status,\n },\n type: 'http',\n },\n {\n input: handlerData.args,\n response: handlerData.response,\n },\n );\n }\n}\n\n/**\n * Creates breadcrumbs from history API calls\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction _historyBreadcrumb(handlerData: { [key: string]: any }): void {\n const global = getGlobalObject();\n let from = handlerData.from;\n let to = handlerData.to;\n const parsedLoc = parseUrl(global.location.href);\n let parsedFrom = parseUrl(from);\n const parsedTo = parseUrl(to);\n\n // Initial pushState doesn't provide `from` information\n if (!parsedFrom.path) {\n parsedFrom = parsedLoc;\n }\n\n // Use only the path component of the URL if the URL matches the current\n // document (almost all the time when using pushState)\n if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {\n to = parsedTo.relative;\n }\n if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {\n from = parsedFrom.relative;\n }\n\n getCurrentHub().addBreadcrumb({\n category: 'navigation',\n data: {\n from,\n to,\n },\n });\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core';\nimport { Event, EventHint, Exception, ExtendedError, Integration } from '@sentry/types';\nimport { isInstanceOf } from '@sentry/utils';\n\nimport { exceptionFromError } from '../parsers';\n\nconst DEFAULT_KEY = 'cause';\nconst DEFAULT_LIMIT = 5;\n\ninterface LinkedErrorsOptions {\n key: string;\n limit: number;\n}\n\n/** Adds SDK info to an event. */\nexport class LinkedErrors implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'LinkedErrors';\n\n /**\n * @inheritDoc\n */\n public readonly name: string = LinkedErrors.id;\n\n /**\n * @inheritDoc\n */\n private readonly _key: LinkedErrorsOptions['key'];\n\n /**\n * @inheritDoc\n */\n private readonly _limit: LinkedErrorsOptions['limit'];\n\n /**\n * @inheritDoc\n */\n public constructor(options: Partial = {}) {\n this._key = options.key || DEFAULT_KEY;\n this._limit = options.limit || DEFAULT_LIMIT;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event, hint?: EventHint) => {\n const self = getCurrentHub().getIntegration(LinkedErrors);\n return self ? _handler(self._key, self._limit, event, hint) : event;\n });\n }\n}\n\n/**\n * @inheritDoc\n */\nexport function _handler(key: string, limit: number, event: Event, hint?: EventHint): Event | null {\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return event;\n }\n const linkedErrors = _walkErrorTree(limit, hint.originalException as ExtendedError, key);\n event.exception.values = [...linkedErrors, ...event.exception.values];\n return event;\n}\n\n/**\n * JSDOC\n */\nexport function _walkErrorTree(limit: number, error: ExtendedError, key: string, stack: Exception[] = []): Exception[] {\n if (!isInstanceOf(error[key], Error) || stack.length + 1 >= limit) {\n return stack;\n }\n const exception = exceptionFromError(error[key]);\n return _walkErrorTree(limit, error[key], key, [exception, ...stack]);\n}\n","import { addGlobalEventProcessor, getCurrentHub } from '@sentry/core';\nimport { Event, Integration } from '@sentry/types';\nimport { getGlobalObject } from '@sentry/utils';\n\nconst global = getGlobalObject();\n\n/** UserAgent */\nexport class UserAgent implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'UserAgent';\n\n /**\n * @inheritDoc\n */\n public name: string = UserAgent.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n addGlobalEventProcessor((event: Event) => {\n if (getCurrentHub().getIntegration(UserAgent)) {\n // if none of the information we want exists, don't bother\n if (!global.navigator && !global.location && !global.document) {\n return event;\n }\n\n // grab as much info as exists and add it to the event\n const url = (event.request && event.request.url) || (global.location && global.location.href);\n const { referrer } = global.document || {};\n const { userAgent } = global.navigator || {};\n\n const headers = {\n ...(event.request && event.request.headers),\n ...(referrer && { Referer: referrer }),\n ...(userAgent && { 'User-Agent': userAgent }),\n };\n const request = { ...(url && { url }), headers };\n\n return { ...event, request };\n }\n return event;\n });\n }\n}\n","import { Event, EventProcessor, Exception, Hub, Integration, StackFrame } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\n/** Deduplication filter */\nexport class Dedupe implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Dedupe';\n\n /**\n * @inheritDoc\n */\n public name: string = Dedupe.id;\n\n /**\n * @inheritDoc\n */\n private _previousEvent?: Event;\n\n /**\n * @inheritDoc\n */\n public setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n addGlobalEventProcessor((currentEvent: Event) => {\n const self = getCurrentHub().getIntegration(Dedupe);\n if (self) {\n // Juuust in case something goes wrong\n try {\n if (_shouldDropEvent(currentEvent, self._previousEvent)) {\n logger.warn(`Event dropped due to being a duplicate of previously captured event.`);\n return null;\n }\n } catch (_oO) {\n return (self._previousEvent = currentEvent);\n }\n\n return (self._previousEvent = currentEvent);\n }\n return currentEvent;\n });\n }\n}\n\n/** JSDoc */\nfunction _shouldDropEvent(currentEvent: Event, previousEvent?: Event): boolean {\n if (!previousEvent) {\n return false;\n }\n\n if (_isSameMessageEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n return false;\n}\n\n/** JSDoc */\nfunction _isSameMessageEvent(currentEvent: Event, previousEvent: Event): boolean {\n const currentMessage = currentEvent.message;\n const previousMessage = previousEvent.message;\n\n // If neither event has a message property, they were both exceptions, so bail out\n if (!currentMessage && !previousMessage) {\n return false;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentMessage && !previousMessage) || (!currentMessage && previousMessage)) {\n return false;\n }\n\n if (currentMessage !== previousMessage) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameExceptionEvent(currentEvent: Event, previousEvent: Event): boolean {\n const previousException = _getExceptionFromEvent(previousEvent);\n const currentException = _getExceptionFromEvent(currentEvent);\n\n if (!previousException || !currentException) {\n return false;\n }\n\n if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameStacktrace(currentEvent: Event, previousEvent: Event): boolean {\n let currentFrames = _getFramesFromEvent(currentEvent);\n let previousFrames = _getFramesFromEvent(previousEvent);\n\n // If neither event has a stacktrace, they are assumed to be the same\n if (!currentFrames && !previousFrames) {\n return true;\n }\n\n // If only one event has a stacktrace, but not the other one, they are not the same\n if ((currentFrames && !previousFrames) || (!currentFrames && previousFrames)) {\n return false;\n }\n\n currentFrames = currentFrames as StackFrame[];\n previousFrames = previousFrames as StackFrame[];\n\n // If number of frames differ, they are not the same\n if (previousFrames.length !== currentFrames.length) {\n return false;\n }\n\n // Otherwise, compare the two\n for (let i = 0; i < previousFrames.length; i++) {\n const frameA = previousFrames[i];\n const frameB = currentFrames[i];\n\n if (\n frameA.filename !== frameB.filename ||\n frameA.lineno !== frameB.lineno ||\n frameA.colno !== frameB.colno ||\n frameA.function !== frameB.function\n ) {\n return false;\n }\n }\n\n return true;\n}\n\n/** JSDoc */\nfunction _isSameFingerprint(currentEvent: Event, previousEvent: Event): boolean {\n let currentFingerprint = currentEvent.fingerprint;\n let previousFingerprint = previousEvent.fingerprint;\n\n // If neither event has a fingerprint, they are assumed to be the same\n if (!currentFingerprint && !previousFingerprint) {\n return true;\n }\n\n // If only one event has a fingerprint, but not the other one, they are not the same\n if ((currentFingerprint && !previousFingerprint) || (!currentFingerprint && previousFingerprint)) {\n return false;\n }\n\n currentFingerprint = currentFingerprint as string[];\n previousFingerprint = previousFingerprint as string[];\n\n // Otherwise, compare the two\n try {\n return !!(currentFingerprint.join('') === previousFingerprint.join(''));\n } catch (_oO) {\n return false;\n }\n}\n\n/** JSDoc */\nfunction _getExceptionFromEvent(event: Event): Exception | undefined {\n return event.exception && event.exception.values && event.exception.values[0];\n}\n\n/** JSDoc */\nfunction _getFramesFromEvent(event: Event): StackFrame[] | undefined {\n const exception = event.exception;\n\n if (exception) {\n try {\n // @ts-ignore Object could be undefined\n return exception.values[0].stacktrace.frames;\n } catch (_oO) {\n return undefined;\n }\n } else if (event.stacktrace) {\n return event.stacktrace.frames;\n }\n return undefined;\n}\n","import { BaseClient, Scope, SDK_VERSION } from '@sentry/core';\nimport { Event, EventHint } from '@sentry/types';\nimport { getGlobalObject, logger } from '@sentry/utils';\n\nimport { BrowserBackend, BrowserOptions } from './backend';\nimport { injectReportDialog, ReportDialogOptions } from './helpers';\nimport { Breadcrumbs } from './integrations';\n\n/**\n * The Sentry Browser SDK Client.\n *\n * @see BrowserOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\nexport class BrowserClient extends BaseClient {\n /**\n * Creates a new Browser SDK instance.\n *\n * @param options Configuration options for this SDK.\n */\n public constructor(options: BrowserOptions = {}) {\n options._metadata = options._metadata || {};\n options._metadata.sdk = options._metadata.sdk || {\n name: 'sentry.javascript.browser',\n packages: [\n {\n name: 'npm:@sentry/browser',\n version: SDK_VERSION,\n },\n ],\n version: SDK_VERSION,\n };\n\n super(BrowserBackend, options);\n }\n\n /**\n * Show a report dialog to the user to send feedback to a specific event.\n *\n * @param options Set individual options for the dialog\n */\n public showReportDialog(options: ReportDialogOptions = {}): void {\n // doesn't work without a document (React Native)\n const document = getGlobalObject().document;\n if (!document) {\n return;\n }\n\n if (!this._isEnabled()) {\n logger.error('Trying to call showReportDialog with Sentry Client disabled');\n return;\n }\n\n injectReportDialog({\n ...options,\n dsn: options.dsn || this.getDsn(),\n });\n }\n\n /**\n * @inheritDoc\n */\n protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike {\n event.platform = event.platform || 'javascript';\n return super._prepareEvent(event, scope, hint);\n }\n\n /**\n * @inheritDoc\n */\n protected _sendEvent(event: Event): void {\n const integration = this.getIntegration(Breadcrumbs);\n if (integration) {\n integration.addSentryBreadcrumb(event);\n }\n super._sendEvent(event);\n }\n}\n","import { getCurrentHub, initAndBind, Integrations as CoreIntegrations } from '@sentry/core';\nimport { Hub } from '@sentry/types';\nimport { addInstrumentationHandler, getGlobalObject, isDebugBuild, logger, resolvedSyncPromise } from '@sentry/utils';\n\nimport { BrowserOptions } from './backend';\nimport { BrowserClient } from './client';\nimport { ReportDialogOptions, wrap as internalWrap } from './helpers';\nimport { Breadcrumbs, Dedupe, GlobalHandlers, LinkedErrors, TryCatch, UserAgent } from './integrations';\n\nexport const defaultIntegrations = [\n new CoreIntegrations.InboundFilters(),\n new CoreIntegrations.FunctionToString(),\n new TryCatch(),\n new Breadcrumbs(),\n new GlobalHandlers(),\n new LinkedErrors(),\n new Dedupe(),\n new UserAgent(),\n];\n\n/**\n * The Sentry Browser SDK Client.\n *\n * To use this SDK, call the {@link init} function as early as possible when\n * loading the web page. To set context information or send manual events, use\n * the provided methods.\n *\n * @example\n *\n * ```\n *\n * import { init } from '@sentry/browser';\n *\n * init({\n * dsn: '__DSN__',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { configureScope } from '@sentry/browser';\n * configureScope((scope: Scope) => {\n * scope.setExtra({ battery: 0.7 });\n * scope.setTag({ user_mode: 'admin' });\n * scope.setUser({ id: '4711' });\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { addBreadcrumb } from '@sentry/browser';\n * addBreadcrumb({\n * message: 'My Breadcrumb',\n * // ...\n * });\n * ```\n *\n * @example\n *\n * ```\n *\n * import * as Sentry from '@sentry/browser';\n * Sentry.captureMessage('Hello, world!');\n * Sentry.captureException(new Error('Good bye'));\n * Sentry.captureEvent({\n * message: 'Manual',\n * stacktrace: [\n * // ...\n * ],\n * });\n * ```\n *\n * @see {@link BrowserOptions} for documentation on configuration options.\n */\nexport function init(options: BrowserOptions = {}): void {\n if (options.defaultIntegrations === undefined) {\n options.defaultIntegrations = defaultIntegrations;\n }\n if (options.release === undefined) {\n const window = getGlobalObject();\n // This supports the variable that sentry-webpack-plugin injects\n if (window.SENTRY_RELEASE && window.SENTRY_RELEASE.id) {\n options.release = window.SENTRY_RELEASE.id;\n }\n }\n if (options.autoSessionTracking === undefined) {\n options.autoSessionTracking = true;\n }\n if (options.sendClientReports === undefined) {\n options.sendClientReports = true;\n }\n\n initAndBind(BrowserClient, options);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n}\n\n/**\n * Present the user with a report dialog.\n *\n * @param options Everything is optional, we try to fetch all info need from the global scope.\n */\nexport function showReportDialog(options: ReportDialogOptions = {}): void {\n const hub = getCurrentHub();\n const scope = hub.getScope();\n if (scope) {\n options.user = {\n ...scope.getUser(),\n ...options.user,\n };\n }\n\n if (!options.eventId) {\n options.eventId = hub.lastEventId();\n }\n const client = hub.getClient();\n if (client) {\n client.showReportDialog(options);\n }\n}\n\n/**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n */\nexport function lastEventId(): string | undefined {\n return getCurrentHub().lastEventId();\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nexport function forceLoad(): void {\n // Noop\n}\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\nexport function onLoad(callback: () => void): void {\n callback();\n}\n\n/**\n * Call `flush()` on the current client, if there is one. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause\n * the client to wait until all events are sent before resolving the promise.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport function flush(timeout?: number): PromiseLike {\n const client = getCurrentHub().getClient();\n if (client) {\n return client.flush(timeout);\n }\n if (isDebugBuild()) {\n logger.warn('Cannot flush events. No client defined.');\n }\n return resolvedSyncPromise(false);\n}\n\n/**\n * Call `close()` on the current client, if there is one. See {@link Client.close}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this\n * parameter will cause the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\nexport function close(timeout?: number): PromiseLike {\n const client = getCurrentHub().getClient();\n if (client) {\n return client.close(timeout);\n }\n if (isDebugBuild()) {\n logger.warn('Cannot flush events and disable SDK. No client defined.');\n }\n return resolvedSyncPromise(false);\n}\n\n/**\n * Wrap code within a try/catch block so the SDK is able to capture errors.\n *\n * @param fn A function to wrap.\n *\n * @returns The result of wrapped function call.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function wrap(fn: (...args: any) => any): any {\n return internalWrap(fn)();\n}\n\nfunction startSessionOnHub(hub: Hub): void {\n hub.startSession({ ignoreDuration: true });\n hub.captureSession();\n}\n\n/**\n * Enable automatic Session Tracking for the initial page load.\n */\nfunction startSessionTracking(): void {\n const window = getGlobalObject();\n const document = window.document;\n\n if (typeof document === 'undefined') {\n if (isDebugBuild()) {\n logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.');\n }\n return;\n }\n\n const hub = getCurrentHub();\n\n // The only way for this to be false is for there to be a version mismatch between @sentry/browser (>= 6.0.0) and\n // @sentry/hub (< 5.27.0). In the simple case, there won't ever be such a mismatch, because the two packages are\n // pinned at the same version in package.json, but there are edge cases where it's possible. See\n // https://github.com/getsentry/sentry-javascript/issues/3207 and\n // https://github.com/getsentry/sentry-javascript/issues/3234 and\n // https://github.com/getsentry/sentry-javascript/issues/3278.\n if (!hub.captureSession) {\n return;\n }\n\n // The session duration for browser sessions does not track a meaningful\n // concept that can be used as a metric.\n // Automatically captured sessions are akin to page views, and thus we\n // discard their duration.\n startSessionOnHub(hub);\n\n // We want to create a session for every navigation as well\n addInstrumentationHandler('history', ({ from, to }) => {\n // Don't create an additional session for the initial route or if the location did not change\n if (!(from === undefined || from === to)) {\n startSessionOnHub(getCurrentHub());\n }\n });\n}\n","export * from './exports';\n\nimport { Integrations as CoreIntegrations } from '@sentry/core';\nimport { getGlobalObject } from '@sentry/utils';\n\nimport * as BrowserIntegrations from './integrations';\nimport * as Transports from './transports';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nconst _window = getGlobalObject();\nif (_window.Sentry && _window.Sentry.Integrations) {\n windowIntegrations = _window.Sentry.Integrations;\n}\n\nconst INTEGRATIONS = {\n ...windowIntegrations,\n ...CoreIntegrations,\n ...BrowserIntegrations,\n};\n\nexport { INTEGRATIONS as Integrations, Transports };\n","import { getCurrentHub, Hub } from '@sentry/hub';\nimport { Options, TraceparentData, Transaction } from '@sentry/types';\n\nexport const TRACEPARENT_REGEXP = new RegExp(\n '^[ \\\\t]*' + // whitespace\n '([0-9a-f]{32})?' + // trace_id\n '-?([0-9a-f]{16})?' + // span_id\n '-?([01])?' + // sampled\n '[ \\\\t]*$', // whitespace\n);\n\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\nexport function hasTracingEnabled(maybeOptions?: Options | undefined): boolean {\n const client = getCurrentHub().getClient();\n const options = maybeOptions || (client && client.getOptions());\n return !!options && ('tracesSampleRate' in options || 'tracesSampler' in options);\n}\n\n/**\n * Extract transaction context data from a `sentry-trace` header.\n *\n * @param traceparent Traceparent string\n *\n * @returns Object containing data from the header, or undefined if traceparent string is malformed\n */\nexport function extractTraceparentData(traceparent: string): TraceparentData | undefined {\n const matches = traceparent.match(TRACEPARENT_REGEXP);\n if (matches) {\n let parentSampled: boolean | undefined;\n if (matches[3] === '1') {\n parentSampled = true;\n } else if (matches[3] === '0') {\n parentSampled = false;\n }\n return {\n traceId: matches[1],\n parentSampled,\n parentSpanId: matches[2],\n };\n }\n return undefined;\n}\n\n/** Grabs active transaction off scope, if any */\nexport function getActiveTransaction(maybeHub?: Hub): T | undefined {\n const hub = maybeHub || getCurrentHub();\n const scope = hub.getScope();\n return scope && (scope.getTransaction() as T | undefined);\n}\n\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nexport function msToSec(time: number): number {\n return time / 1000;\n}\n\n/**\n * Converts from seconds to milliseconds\n * @param time time in seconds\n */\nexport function secToMs(time: number): number {\n return time * 1000;\n}\n\n// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry/utils\nexport { stripUrlQueryAndFragment } from '@sentry/utils';\n","import { addInstrumentationHandler, logger } from '@sentry/utils';\n\nimport { SpanStatusType } from './span';\nimport { getActiveTransaction } from './utils';\n\n/**\n * Configures global error listeners\n */\nexport function registerErrorInstrumentation(): void {\n addInstrumentationHandler('error', errorCallback);\n addInstrumentationHandler('unhandledrejection', errorCallback);\n}\n\n/**\n * If an error or unhandled promise occurs, we mark the active transaction as failed\n */\nfunction errorCallback(): void {\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const status: SpanStatusType = 'internal_error';\n logger.log(`[Tracing] Transaction: ${status} -> Global error occured`);\n activeTransaction.setStatus(status);\n }\n}\n","// Store finish reasons in tuple to save on bundle size\n// Readonly type should enforce that this is not mutated.\nexport const FINISH_REASON_TAG = 'finishReason';\n\nexport const IDLE_TRANSACTION_FINISH_REASONS = ['heartbeatFailed', 'idleTimeout', 'documentHidden'] as const;\n","/* eslint-disable max-lines */\nimport { Primitive, Span as SpanInterface, SpanContext, Transaction } from '@sentry/types';\nimport { dropUndefinedKeys, timestampWithMs, uuid4 } from '@sentry/utils';\n\n/**\n * Keeps track of finished spans for a given transaction\n * @internal\n * @hideconstructor\n * @hidden\n */\nexport class SpanRecorder {\n public spans: Span[] = [];\n\n private readonly _maxlen: number;\n\n public constructor(maxlen: number = 1000) {\n this._maxlen = maxlen;\n }\n\n /**\n * This is just so that we don't run out of memory while recording a lot\n * of spans. At some point we just stop and flush out the start of the\n * trace tree (i.e.the first n spans with the smallest\n * start_timestamp).\n */\n public add(span: Span): void {\n if (this.spans.length > this._maxlen) {\n span.spanRecorder = undefined;\n } else {\n this.spans.push(span);\n }\n }\n}\n\n/**\n * Span contains all data about a span\n */\nexport class Span implements SpanInterface {\n /**\n * @inheritDoc\n */\n public traceId: string = uuid4();\n\n /**\n * @inheritDoc\n */\n public spanId: string = uuid4().substring(16);\n\n /**\n * @inheritDoc\n */\n public parentSpanId?: string;\n\n /**\n * Internal keeper of the status\n */\n public status?: SpanStatusType | string;\n\n /**\n * @inheritDoc\n */\n public sampled?: boolean;\n\n /**\n * Timestamp in seconds when the span was created.\n */\n public startTimestamp: number = timestampWithMs();\n\n /**\n * Timestamp in seconds when the span ended.\n */\n public endTimestamp?: number;\n\n /**\n * @inheritDoc\n */\n public op?: string;\n\n /**\n * @inheritDoc\n */\n public description?: string;\n\n /**\n * @inheritDoc\n */\n public tags: { [key: string]: Primitive } = {};\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public data: { [key: string]: any } = {};\n\n /**\n * List of spans that were finalized\n */\n public spanRecorder?: SpanRecorder;\n\n /**\n * @inheritDoc\n */\n public transaction?: Transaction;\n\n /**\n * You should never call the constructor manually, always use `Sentry.startTransaction()`\n * or call `startChild()` on an existing span.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(spanContext?: SpanContext) {\n if (!spanContext) {\n return this;\n }\n if (spanContext.traceId) {\n this.traceId = spanContext.traceId;\n }\n if (spanContext.spanId) {\n this.spanId = spanContext.spanId;\n }\n if (spanContext.parentSpanId) {\n this.parentSpanId = spanContext.parentSpanId;\n }\n // We want to include booleans as well here\n if ('sampled' in spanContext) {\n this.sampled = spanContext.sampled;\n }\n if (spanContext.op) {\n this.op = spanContext.op;\n }\n if (spanContext.description) {\n this.description = spanContext.description;\n }\n if (spanContext.data) {\n this.data = spanContext.data;\n }\n if (spanContext.tags) {\n this.tags = spanContext.tags;\n }\n if (spanContext.status) {\n this.status = spanContext.status;\n }\n if (spanContext.startTimestamp) {\n this.startTimestamp = spanContext.startTimestamp;\n }\n if (spanContext.endTimestamp) {\n this.endTimestamp = spanContext.endTimestamp;\n }\n }\n\n /**\n * @inheritDoc\n * @deprecated\n */\n public child(\n spanContext?: Pick>,\n ): Span {\n return this.startChild(spanContext);\n }\n\n /**\n * @inheritDoc\n */\n public startChild(\n spanContext?: Pick>,\n ): Span {\n const childSpan = new Span({\n ...spanContext,\n parentSpanId: this.spanId,\n sampled: this.sampled,\n traceId: this.traceId,\n });\n\n childSpan.spanRecorder = this.spanRecorder;\n if (childSpan.spanRecorder) {\n childSpan.spanRecorder.add(childSpan);\n }\n\n childSpan.transaction = this.transaction;\n\n return childSpan;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this.tags = { ...this.tags, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public setData(key: string, value: any): this {\n this.data = { ...this.data, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setStatus(value: SpanStatusType): this {\n this.status = value;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setHttpStatus(httpStatus: number): this {\n this.setTag('http.status_code', String(httpStatus));\n const spanStatus = spanStatusfromHttpCode(httpStatus);\n if (spanStatus !== 'unknown_error') {\n this.setStatus(spanStatus);\n }\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public isSuccess(): boolean {\n return this.status === 'ok';\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): void {\n this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n }\n\n /**\n * @inheritDoc\n */\n public toTraceparent(): string {\n let sampledString = '';\n if (this.sampled !== undefined) {\n sampledString = this.sampled ? '-1' : '-0';\n }\n return `${this.traceId}-${this.spanId}${sampledString}`;\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): SpanContext {\n return dropUndefinedKeys({\n data: this.data,\n description: this.description,\n endTimestamp: this.endTimestamp,\n op: this.op,\n parentSpanId: this.parentSpanId,\n sampled: this.sampled,\n spanId: this.spanId,\n startTimestamp: this.startTimestamp,\n status: this.status,\n tags: this.tags,\n traceId: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(spanContext: SpanContext): this {\n this.data = spanContext.data ?? {};\n this.description = spanContext.description;\n this.endTimestamp = spanContext.endTimestamp;\n this.op = spanContext.op;\n this.parentSpanId = spanContext.parentSpanId;\n this.sampled = spanContext.sampled;\n this.spanId = spanContext.spanId ?? this.spanId;\n this.startTimestamp = spanContext.startTimestamp ?? this.startTimestamp;\n this.status = spanContext.status;\n this.tags = spanContext.tags ?? {};\n this.traceId = spanContext.traceId ?? this.traceId;\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getTraceContext(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n status?: string;\n tags?: { [key: string]: Primitive };\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n trace_id: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public toJSON(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n start_timestamp: number;\n status?: string;\n tags?: { [key: string]: Primitive };\n timestamp?: number;\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n start_timestamp: this.startTimestamp,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n timestamp: this.endTimestamp,\n trace_id: this.traceId,\n });\n }\n}\n\nexport type SpanStatusType =\n /** The operation completed successfully. */\n | 'ok'\n /** Deadline expired before operation could complete. */\n | 'deadline_exceeded'\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n | 'unauthenticated'\n /** 403 Forbidden */\n | 'permission_denied'\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n | 'not_found'\n /** 429 Too Many Requests */\n | 'resource_exhausted'\n /** Client specified an invalid argument. 4xx. */\n | 'invalid_argument'\n /** 501 Not Implemented */\n | 'unimplemented'\n /** 503 Service Unavailable */\n | 'unavailable'\n /** Other/generic 5xx. */\n | 'internal_error'\n /** Unknown. Any non-standard HTTP status code. */\n | 'unknown_error'\n /** The operation was cancelled (typically by the user). */\n | 'cancelled'\n /** Already exists (409) */\n | 'already_exists'\n /** Operation was rejected because the system is not in a state required for the operation's */\n | 'failed_precondition'\n /** The operation was aborted, typically due to a concurrency issue. */\n | 'aborted'\n /** Operation was attempted past the valid range. */\n | 'out_of_range'\n /** Unrecoverable data loss or corruption */\n | 'data_loss';\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nexport function spanStatusfromHttpCode(httpStatus: number): SpanStatusType {\n if (httpStatus < 400 && httpStatus >= 100) {\n return 'ok';\n }\n\n if (httpStatus >= 400 && httpStatus < 500) {\n switch (httpStatus) {\n case 401:\n return 'unauthenticated';\n case 403:\n return 'permission_denied';\n case 404:\n return 'not_found';\n case 409:\n return 'already_exists';\n case 413:\n return 'failed_precondition';\n case 429:\n return 'resource_exhausted';\n default:\n return 'invalid_argument';\n }\n }\n\n if (httpStatus >= 500 && httpStatus < 600) {\n switch (httpStatus) {\n case 501:\n return 'unimplemented';\n case 503:\n return 'unavailable';\n case 504:\n return 'deadline_exceeded';\n default:\n return 'internal_error';\n }\n }\n\n return 'unknown_error';\n}\n","import { getCurrentHub, Hub } from '@sentry/hub';\nimport {\n Event,\n Measurements,\n Transaction as TransactionInterface,\n TransactionContext,\n TransactionMetadata,\n} from '@sentry/types';\nimport { dropUndefinedKeys, isInstanceOf, logger } from '@sentry/utils';\n\nimport { Span as SpanClass, SpanRecorder } from './span';\n\n/** JSDoc */\nexport class Transaction extends SpanClass implements TransactionInterface {\n public name: string;\n\n public metadata: TransactionMetadata;\n\n private _measurements: Measurements = {};\n\n /**\n * The reference to the current hub.\n */\n private readonly _hub: Hub = getCurrentHub() as unknown as Hub;\n\n private _trimEnd?: boolean;\n\n /**\n * This constructor should never be called manually. Those instrumenting tracing should use\n * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(transactionContext: TransactionContext, hub?: Hub) {\n super(transactionContext);\n\n if (isInstanceOf(hub, Hub)) {\n this._hub = hub as Hub;\n }\n\n this.name = transactionContext.name || '';\n\n this.metadata = transactionContext.metadata || {};\n this._trimEnd = transactionContext.trimEnd;\n\n // this is because transactions are also spans, and spans have a transaction pointer\n this.transaction = this;\n }\n\n /**\n * JSDoc\n */\n public setName(name: string): void {\n this.name = name;\n }\n\n /**\n * Attaches SpanRecorder to the span itself\n * @param maxlen maximum number of spans that can be recorded\n */\n public initSpanRecorder(maxlen: number = 1000): void {\n if (!this.spanRecorder) {\n this.spanRecorder = new SpanRecorder(maxlen);\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Set observed measurements for this transaction.\n * @hidden\n */\n public setMeasurements(measurements: Measurements): void {\n this._measurements = { ...measurements };\n }\n\n /**\n * Set metadata for this transaction.\n * @hidden\n */\n public setMetadata(newMetadata: TransactionMetadata): void {\n this.metadata = { ...this.metadata, ...newMetadata };\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): string | undefined {\n // This transaction is already finished, so we should not flush it again.\n if (this.endTimestamp !== undefined) {\n return undefined;\n }\n\n if (!this.name) {\n logger.warn('Transaction has no name, falling back to ``.');\n this.name = '';\n }\n\n // just sets the end timestamp\n super.finish(endTimestamp);\n\n if (this.sampled !== true) {\n // At this point if `sampled !== true` we want to discard the transaction.\n logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');\n\n const client = this._hub.getClient();\n const transport = client && client.getTransport && client.getTransport();\n if (transport && transport.recordLostEvent) {\n transport.recordLostEvent('sample_rate', 'transaction');\n }\n return undefined;\n }\n\n const finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(s => s !== this && s.endTimestamp) : [];\n\n if (this._trimEnd && finishedSpans.length > 0) {\n this.endTimestamp = finishedSpans.reduce((prev: SpanClass, current: SpanClass) => {\n if (prev.endTimestamp && current.endTimestamp) {\n return prev.endTimestamp > current.endTimestamp ? prev : current;\n }\n return prev;\n }).endTimestamp;\n }\n\n const transaction: Event = {\n contexts: {\n trace: this.getTraceContext(),\n },\n spans: finishedSpans,\n start_timestamp: this.startTimestamp,\n tags: this.tags,\n timestamp: this.endTimestamp,\n transaction: this.name,\n type: 'transaction',\n sdkProcessingMetadata: this.metadata,\n };\n\n const hasMeasurements = Object.keys(this._measurements).length > 0;\n\n if (hasMeasurements) {\n logger.log('[Measurements] Adding measurements to transaction', JSON.stringify(this._measurements, undefined, 2));\n transaction.measurements = this._measurements;\n }\n\n logger.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`);\n\n return this._hub.captureEvent(transaction);\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): TransactionContext {\n const spanContext = super.toContext();\n\n return dropUndefinedKeys({\n ...spanContext,\n name: this.name,\n trimEnd: this._trimEnd,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(transactionContext: TransactionContext): this {\n super.updateWithContext(transactionContext);\n\n this.name = transactionContext.name ?? '';\n\n this._trimEnd = transactionContext.trimEnd;\n\n return this;\n }\n}\n","import { Hub } from '@sentry/hub';\nimport { TransactionContext } from '@sentry/types';\nimport { logger, timestampWithMs } from '@sentry/utils';\n\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from './constants';\nimport { Span, SpanRecorder } from './span';\nimport { Transaction } from './transaction';\n\nexport const DEFAULT_IDLE_TIMEOUT = 1000;\nexport const HEARTBEAT_INTERVAL = 5000;\n\n/**\n * @inheritDoc\n */\nexport class IdleTransactionSpanRecorder extends SpanRecorder {\n public constructor(\n private readonly _pushActivity: (id: string) => void,\n private readonly _popActivity: (id: string) => void,\n public transactionSpanId: string = '',\n maxlen?: number,\n ) {\n super(maxlen);\n }\n\n /**\n * @inheritDoc\n */\n public add(span: Span): void {\n // We should make sure we do not push and pop activities for\n // the transaction that this span recorder belongs to.\n if (span.spanId !== this.transactionSpanId) {\n // We patch span.finish() to pop an activity after setting an endTimestamp.\n span.finish = (endTimestamp?: number) => {\n span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n this._popActivity(span.spanId);\n };\n\n // We should only push new activities if the span does not have an end timestamp.\n if (span.endTimestamp === undefined) {\n this._pushActivity(span.spanId);\n }\n }\n\n super.add(span);\n }\n}\n\nexport type BeforeFinishCallback = (transactionSpan: IdleTransaction, endTimestamp: number) => void;\n\n/**\n * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities.\n * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will\n * put itself on the scope on creation.\n */\nexport class IdleTransaction extends Transaction {\n // Activities store a list of active spans\n public activities: Record = {};\n\n // Track state of activities in previous heartbeat\n private _prevHeartbeatString: string | undefined;\n\n // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats.\n private _heartbeatCounter: number = 0;\n\n // We should not use heartbeat if we finished a transaction\n private _finished: boolean = false;\n\n private readonly _beforeFinishCallbacks: BeforeFinishCallback[] = [];\n\n /**\n * If a transaction is created and no activities are added, we want to make sure that\n * it times out properly. This is cleared and not used when activities are added.\n */\n private _initTimeout: ReturnType | undefined;\n\n public constructor(\n transactionContext: TransactionContext,\n private readonly _idleHub?: Hub,\n /**\n * The time to wait in ms until the idle transaction will be finished.\n * @default 1000\n */\n private readonly _idleTimeout: number = DEFAULT_IDLE_TIMEOUT,\n // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends\n private readonly _onScope: boolean = false,\n ) {\n super(transactionContext, _idleHub);\n\n if (_idleHub && _onScope) {\n // There should only be one active transaction on the scope\n clearActiveTransaction(_idleHub);\n\n // We set the transaction here on the scope so error events pick up the trace\n // context and attach it to the error.\n logger.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`);\n _idleHub.configureScope(scope => scope.setSpan(this));\n }\n\n this._initTimeout = setTimeout(() => {\n if (!this._finished) {\n this.finish();\n }\n }, this._idleTimeout);\n }\n\n /** {@inheritDoc} */\n public finish(endTimestamp: number = timestampWithMs()): string | undefined {\n this._finished = true;\n this.activities = {};\n\n if (this.spanRecorder) {\n logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op);\n\n for (const callback of this._beforeFinishCallbacks) {\n callback(this, endTimestamp);\n }\n\n this.spanRecorder.spans = this.spanRecorder.spans.filter((span: Span) => {\n // If we are dealing with the transaction itself, we just return it\n if (span.spanId === this.spanId) {\n return true;\n }\n\n // We cancel all pending spans with status \"cancelled\" to indicate the idle transaction was finished early\n if (!span.endTimestamp) {\n span.endTimestamp = endTimestamp;\n span.setStatus('cancelled');\n logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2));\n }\n\n const keepSpan = span.startTimestamp < endTimestamp;\n if (!keepSpan) {\n logger.log(\n '[Tracing] discarding Span since it happened after Transaction was finished',\n JSON.stringify(span, undefined, 2),\n );\n }\n return keepSpan;\n });\n\n logger.log('[Tracing] flushing IdleTransaction');\n } else {\n logger.log('[Tracing] No active IdleTransaction');\n }\n\n // if `this._onScope` is `true`, the transaction put itself on the scope when it started\n if (this._onScope) {\n clearActiveTransaction(this._idleHub);\n }\n\n return super.finish(endTimestamp);\n }\n\n /**\n * Register a callback function that gets excecuted before the transaction finishes.\n * Useful for cleanup or if you want to add any additional spans based on current context.\n *\n * This is exposed because users have no other way of running something before an idle transaction\n * finishes.\n */\n public registerBeforeFinishCallback(callback: BeforeFinishCallback): void {\n this._beforeFinishCallbacks.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public initSpanRecorder(maxlen?: number): void {\n if (!this.spanRecorder) {\n const pushActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._pushActivity(id);\n };\n const popActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._popActivity(id);\n };\n\n this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen);\n\n // Start heartbeat so that transactions do not run forever.\n logger.log('Starting heartbeat');\n this._pingHeartbeat();\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n private _pushActivity(spanId: string): void {\n if (this._initTimeout) {\n clearTimeout(this._initTimeout);\n this._initTimeout = undefined;\n }\n logger.log(`[Tracing] pushActivity: ${spanId}`);\n this.activities[spanId] = true;\n logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n private _popActivity(spanId: string): void {\n if (this.activities[spanId]) {\n logger.log(`[Tracing] popActivity ${spanId}`);\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this.activities[spanId];\n logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n if (Object.keys(this.activities).length === 0) {\n const timeout = this._idleTimeout;\n // We need to add the timeout here to have the real endtimestamp of the transaction\n // Remember timestampWithMs is in seconds, timeout is in ms\n const end = timestampWithMs() + timeout / 1000;\n\n setTimeout(() => {\n if (!this._finished) {\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[1]);\n this.finish(end);\n }\n }, timeout);\n }\n }\n\n /**\n * Checks when entries of this.activities are not changing for 3 beats.\n * If this occurs we finish the transaction.\n */\n private _beat(): void {\n // We should not be running heartbeat if the idle transaction is finished.\n if (this._finished) {\n return;\n }\n\n const heartbeatString = Object.keys(this.activities).join('');\n\n if (heartbeatString === this._prevHeartbeatString) {\n this._heartbeatCounter += 1;\n } else {\n this._heartbeatCounter = 1;\n }\n\n this._prevHeartbeatString = heartbeatString;\n\n if (this._heartbeatCounter >= 3) {\n logger.log(`[Tracing] Transaction finished because of no change for 3 heart beats`);\n this.setStatus('deadline_exceeded');\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[0]);\n this.finish();\n } else {\n this._pingHeartbeat();\n }\n }\n\n /**\n * Pings the heartbeat\n */\n private _pingHeartbeat(): void {\n logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`);\n setTimeout(() => {\n this._beat();\n }, HEARTBEAT_INTERVAL);\n }\n}\n\n/**\n * Reset transaction on scope to `undefined`\n */\nfunction clearActiveTransaction(hub?: Hub): void {\n if (hub) {\n const scope = hub.getScope();\n if (scope) {\n const transaction = scope.getTransaction();\n if (transaction) {\n scope.setSpan(undefined);\n }\n }\n }\n}\n","import { getMainCarrier, Hub } from '@sentry/hub';\nimport {\n CustomSamplingContext,\n Integration,\n IntegrationClass,\n Options,\n SamplingContext,\n TransactionContext,\n} from '@sentry/types';\nimport { dynamicRequire, isNodeEnv, loadModule, logger } from '@sentry/utils';\n\nimport { registerErrorInstrumentation } from './errors';\nimport { IdleTransaction } from './idletransaction';\nimport { Transaction } from './transaction';\nimport { hasTracingEnabled } from './utils';\n\n/** Returns all trace headers that are currently on the top scope. */\nfunction traceHeaders(this: Hub): { [key: string]: string } {\n const scope = this.getScope();\n if (scope) {\n const span = scope.getSpan();\n if (span) {\n return {\n 'sentry-trace': span.toTraceparent(),\n };\n }\n }\n return {};\n}\n\n/**\n * Makes a sampling decision for the given transaction and stores it on the transaction.\n *\n * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n *\n * @param transaction: The transaction needing a sampling decision\n * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler`\n * @param samplingContext: Default and user-provided data which may be used to help make the decision\n *\n * @returns The given transaction with its `sampled` value set\n */\nfunction sample(transaction: T, options: Options, samplingContext: SamplingContext): T {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n transaction.sampled = false;\n return transaction;\n }\n\n // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that\n if (transaction.sampled !== undefined) {\n transaction.setMetadata({\n transactionSampling: { method: 'explicitly_set' },\n });\n return transaction;\n }\n\n // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` were defined, so one of these should\n // work; prefer the hook if so\n let sampleRate;\n if (typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler(samplingContext);\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_sampler',\n // cast to number in case it's a boolean\n rate: Number(sampleRate),\n },\n });\n } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n transaction.setMetadata({\n transactionSampling: { method: 'inheritance' },\n });\n } else {\n sampleRate = options.tracesSampleRate;\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_rate',\n // cast to number in case it's a boolean\n rate: Number(sampleRate),\n },\n });\n }\n\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The\n // only valid values are booleans or numbers between 0 and 1.)\n if (!isValidSampleRate(sampleRate)) {\n logger.warn(`[Tracing] Discarding transaction because of invalid sample rate.`);\n transaction.sampled = false;\n return transaction;\n }\n\n // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped\n if (!sampleRate) {\n logger.log(\n `[Tracing] Discarding transaction because ${\n typeof options.tracesSampler === 'function'\n ? 'tracesSampler returned 0 or false'\n : 'a negative sampling decision was inherited or tracesSampleRate is set to 0'\n }`,\n );\n transaction.sampled = false;\n return transaction;\n }\n\n // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is\n // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false.\n transaction.sampled = Math.random() < (sampleRate as number | boolean);\n\n // if we're not going to keep it, we're done\n if (!transaction.sampled) {\n logger.log(\n `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n sampleRate,\n )})`,\n );\n return transaction;\n }\n\n logger.log(`[Tracing] starting ${transaction.op} transaction - ${transaction.name}`);\n return transaction;\n}\n\n/**\n * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1).\n */\nfunction isValidSampleRate(rate: unknown): boolean {\n // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isNaN(rate as any) || !(typeof rate === 'number' || typeof rate === 'boolean')) {\n logger.warn(\n `[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n rate,\n )} of type ${JSON.stringify(typeof rate)}.`,\n );\n return false;\n }\n\n // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false\n if (rate < 0 || rate > 1) {\n logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${rate}.`);\n return false;\n }\n return true;\n}\n\n/**\n * Creates a new transaction and adds a sampling decision if it doesn't yet have one.\n *\n * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if\n * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an\n * \"extension method.\"\n *\n * @param this: The Hub starting the transaction\n * @param transactionContext: Data used to configure the transaction\n * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any)\n *\n * @returns The new transaction\n *\n * @see {@link Hub.startTransaction}\n */\nfunction _startTransaction(\n this: Hub,\n transactionContext: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n const client = this.getClient();\n const options = (client && client.getOptions()) || {};\n\n let transaction = new Transaction(transactionContext, this);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n return transaction;\n}\n\n/**\n * Create new idle transaction.\n */\nexport function startIdleTransaction(\n hub: Hub,\n transactionContext: TransactionContext,\n idleTimeout?: number,\n onScope?: boolean,\n customSamplingContext?: CustomSamplingContext,\n): IdleTransaction {\n const client = hub.getClient();\n const options = (client && client.getOptions()) || {};\n\n let transaction = new IdleTransaction(transactionContext, hub, idleTimeout, onScope);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n return transaction;\n}\n\n/**\n * @private\n */\nexport function _addTracingExtensions(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n if (!carrier.__SENTRY__.extensions.startTransaction) {\n carrier.__SENTRY__.extensions.startTransaction = _startTransaction;\n }\n if (!carrier.__SENTRY__.extensions.traceHeaders) {\n carrier.__SENTRY__.extensions.traceHeaders = traceHeaders;\n }\n}\n\n/**\n * @private\n */\nfunction _autoloadDatabaseIntegrations(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n\n const packageToIntegrationMapping: Record Integration> = {\n mongodb() {\n const integration = dynamicRequire(module, './integrations/node/mongo') as {\n Mongo: IntegrationClass;\n };\n return new integration.Mongo();\n },\n mongoose() {\n const integration = dynamicRequire(module, './integrations/node/mongo') as {\n Mongo: IntegrationClass;\n };\n return new integration.Mongo({ mongoose: true });\n },\n mysql() {\n const integration = dynamicRequire(module, './integrations/node/mysql') as {\n Mysql: IntegrationClass;\n };\n return new integration.Mysql();\n },\n pg() {\n const integration = dynamicRequire(module, './integrations/node/postgres') as {\n Postgres: IntegrationClass;\n };\n return new integration.Postgres();\n },\n };\n\n const mappedPackages = Object.keys(packageToIntegrationMapping)\n .filter(moduleName => !!loadModule(moduleName))\n .map(pkg => {\n try {\n return packageToIntegrationMapping[pkg]();\n } catch (e) {\n return undefined;\n }\n })\n .filter(p => p) as Integration[];\n\n if (mappedPackages.length > 0) {\n carrier.__SENTRY__.integrations = [...(carrier.__SENTRY__.integrations || []), ...mappedPackages];\n }\n}\n\n/**\n * This patches the global object and injects the Tracing extensions methods\n */\nexport function addExtensionMethods(): void {\n _addTracingExtensions();\n\n // Detect and automatically load specified integrations.\n if (isNodeEnv()) {\n _autoloadDatabaseIntegrations();\n }\n\n // If an error happens globally, we should make sure transaction status is set to error.\n registerErrorInstrumentation();\n}\n","import { getGlobalObject, logger } from '@sentry/utils';\n\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from '../constants';\nimport { IdleTransaction } from '../idletransaction';\nimport { SpanStatusType } from '../span';\nimport { getActiveTransaction } from '../utils';\n\nconst global = getGlobalObject();\n\n/**\n * Add a listener that cancels and finishes a transaction when the global\n * document is hidden.\n */\nexport function registerBackgroundTabDetection(): void {\n if (global && global.document) {\n global.document.addEventListener('visibilitychange', () => {\n const activeTransaction = getActiveTransaction() as IdleTransaction;\n if (global.document.hidden && activeTransaction) {\n const statusType: SpanStatusType = 'cancelled';\n\n logger.log(\n `[Tracing] Transaction: ${statusType} -> since tab moved to the background, op: ${activeTransaction.op}`,\n );\n // We should not set status if it is already set, this prevent important statuses like\n // error or data loss from being overwritten on transaction.\n if (!activeTransaction.status) {\n activeTransaction.setStatus(statusType);\n }\n activeTransaction.setTag('visibilitychange', 'document.hidden');\n activeTransaction.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[2]);\n activeTransaction.finish();\n }\n });\n } else {\n logger.warn('[Tracing] Could not set up background tab detection due to lack of global document');\n }\n}\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Metric, ReportHandler } from '../types';\n\nexport const bindReporter = (\n callback: ReportHandler,\n metric: Metric,\n reportAllChanges?: boolean,\n): ((forceReport?: boolean) => void) => {\n let prevValue: number;\n return (forceReport?: boolean) => {\n if (metric.value >= 0) {\n if (forceReport || reportAllChanges) {\n metric.delta = metric.value - (prevValue || 0);\n\n // Report the metric if there's a non-zero delta or if no previous\n // value exists (which can happen in the case of the document becoming\n // hidden when the metric value is 0).\n // See: https://github.com/GoogleChrome/web-vitals/issues/14\n if (metric.delta || prevValue === undefined) {\n prevValue = metric.value;\n callback(metric);\n }\n }\n }\n };\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Metric } from '../types';\nimport { generateUniqueID } from './generateUniqueID';\n\nexport const initMetric = (name: Metric['name'], value?: number): Metric => {\n return {\n name,\n value: value ?? -1,\n delta: 0,\n entries: [],\n id: generateUniqueID(),\n };\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Performantly generate a unique, 30-char string by combining a version\n * number, the current timestamp with a 13-digit number integer.\n * @return {string}\n */\nexport const generateUniqueID = (): string => {\n return `v2-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface PerformanceEntryHandler {\n (entry: PerformanceEntry): void;\n}\n\n/**\n * Takes a performance entry type and a callback function, and creates a\n * `PerformanceObserver` instance that will observe the specified entry type\n * with buffering enabled and call the callback _for each entry_.\n *\n * This function also feature-detects entry support and wraps the logic in a\n * try/catch to avoid errors in unsupporting browsers.\n */\nexport const observe = (type: string, callback: PerformanceEntryHandler): PerformanceObserver | undefined => {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n // More extensive feature detect needed for Firefox due to:\n // https://github.com/GoogleChrome/web-vitals/issues/142\n if (type === 'first-input' && !('PerformanceEventTiming' in self)) {\n return;\n }\n\n const po: PerformanceObserver = new PerformanceObserver(l => l.getEntries().map(callback));\n\n po.observe({ type, buffered: true });\n return po;\n }\n } catch (e) {\n // Do nothing.\n }\n return;\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalObject } from '@sentry/utils';\n\nexport interface OnHiddenCallback {\n (event: Event): void;\n}\n\nexport const onHidden = (cb: OnHiddenCallback, once?: boolean): void => {\n const onHiddenOrPageHide = (event: Event): void => {\n if (event.type === 'pagehide' || getGlobalObject().document.visibilityState === 'hidden') {\n cb(event);\n if (once) {\n removeEventListener('visibilitychange', onHiddenOrPageHide, true);\n removeEventListener('pagehide', onHiddenOrPageHide, true);\n }\n }\n };\n addEventListener('visibilitychange', onHiddenOrPageHide, true);\n // Some browsers have buggy implementations of visibilitychange,\n // so we use pagehide in addition, just to be safe.\n addEventListener('pagehide', onHiddenOrPageHide, true);\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalObject } from '@sentry/utils';\n\nimport { onHidden } from './onHidden';\n\nlet firstHiddenTime = -1;\n\nconst initHiddenTime = (): number => {\n return getGlobalObject().document.visibilityState === 'hidden' ? 0 : Infinity;\n};\n\nconst trackChanges = (): void => {\n // Update the time if/when the document becomes hidden.\n onHidden(({ timeStamp }) => {\n firstHiddenTime = timeStamp;\n }, true);\n};\n\nexport const getVisibilityWatcher = (): {\n readonly firstHiddenTime: number;\n} => {\n if (firstHiddenTime < 0) {\n // If the document is hidden when this code runs, assume it was hidden\n // since navigation start. This isn't a perfect heuristic, but it's the\n // best we can do until an API is available to support querying past\n // visibilityState.\n firstHiddenTime = initHiddenTime();\n trackChanges();\n }\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n },\n };\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { ReportHandler } from './types';\n\n// https://wicg.github.io/largest-contentful-paint/#sec-largest-contentful-paint-interface\nexport interface LargestContentfulPaint extends PerformanceEntry {\n renderTime: DOMHighResTimeStamp;\n loadTime: DOMHighResTimeStamp;\n size: number;\n id: string;\n url: string;\n element?: Element;\n toJSON(): Record;\n}\n\nconst reportedMetricIDs: Record = {};\n\nexport const getLCP = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('LCP');\n let report: ReturnType;\n\n const entryHandler = (entry: PerformanceEntry): void => {\n // The startTime attribute returns the value of the renderTime if it is not 0,\n // and the value of the loadTime otherwise.\n const value = entry.startTime;\n\n // If the page was hidden prior to paint time of the entry,\n // ignore it and mark the metric as final, otherwise add the entry.\n if (value < visibilityWatcher.firstHiddenTime) {\n metric.value = value;\n metric.entries.push(entry);\n }\n\n if (report) {\n report();\n }\n };\n\n const po = observe('largest-contentful-paint', entryHandler);\n\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n\n const stopListening = (): void => {\n if (!reportedMetricIDs[metric.id]) {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n po.disconnect();\n reportedMetricIDs[metric.id] = true;\n report(true);\n }\n };\n\n // Stop listening after input. Note: while scrolling is an input that\n // stop LCP observation, it's unreliable since it can be programmatically\n // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75\n ['keydown', 'click'].forEach(type => {\n addEventListener(type, stopListening, { once: true, capture: true });\n });\n\n onHidden(stopListening, true);\n }\n};\n","/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Measurements, SpanContext } from '@sentry/types';\nimport { browserPerformanceTimeOrigin, getGlobalObject, htmlTreeAsString, isNodeEnv, logger } from '@sentry/utils';\n\nimport { Span } from '../span';\nimport { Transaction } from '../transaction';\nimport { msToSec } from '../utils';\nimport { getCLS, LayoutShift } from './web-vitals/getCLS';\nimport { getFID } from './web-vitals/getFID';\nimport { getLCP, LargestContentfulPaint } from './web-vitals/getLCP';\nimport { getVisibilityWatcher } from './web-vitals/lib/getVisibilityWatcher';\nimport { NavigatorDeviceMemory, NavigatorNetworkInformation } from './web-vitals/types';\n\nconst global = getGlobalObject();\n\n/** Class tracking metrics */\nexport class MetricsInstrumentation {\n private _measurements: Measurements = {};\n\n private _performanceCursor: number = 0;\n private _lcpEntry: LargestContentfulPaint | undefined;\n private _clsEntry: LayoutShift | undefined;\n\n public constructor(private _reportAllChanges: boolean = false) {\n if (!isNodeEnv() && global && global.performance && global.document) {\n if (global.performance.mark) {\n global.performance.mark('sentry-tracing-init');\n }\n\n this._trackCLS();\n this._trackLCP();\n this._trackFID();\n }\n }\n\n /** Add performance related spans to a transaction */\n public addPerformanceEntries(transaction: Transaction): void {\n if (!global || !global.performance || !global.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n logger.log('[Tracing] Adding & adjusting spans using Performance API');\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n let responseStartTimestamp: number | undefined;\n let requestStartTimestamp: number | undefined;\n\n global.performance\n .getEntries()\n .slice(this._performanceCursor)\n .forEach((entry: Record) => {\n const startTime = msToSec(entry.startTime as number);\n const duration = msToSec(entry.duration as number);\n\n if (transaction.op === 'navigation' && timeOrigin + startTime < transaction.startTimestamp) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n addNavigationSpans(transaction, entry, timeOrigin);\n responseStartTimestamp = timeOrigin + msToSec(entry.responseStart as number);\n requestStartTimestamp = timeOrigin + msToSec(entry.requestStart as number);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n const startTimestamp = addMeasureSpans(transaction, entry, startTime, duration, timeOrigin);\n // capture web vitals\n\n const firstHidden = getVisibilityWatcher();\n // Only report if the page wasn't hidden prior to the web vital.\n const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n\n if (entry.name === 'first-paint' && shouldRecord) {\n logger.log('[Measurements] Adding FP');\n this._measurements['fp'] = { value: entry.startTime };\n this._measurements['mark.fp'] = { value: startTimestamp };\n }\n\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n logger.log('[Measurements] Adding FCP');\n this._measurements['fcp'] = { value: entry.startTime };\n this._measurements['mark.fcp'] = { value: startTimestamp };\n }\n\n break;\n }\n case 'resource': {\n const resourceName = (entry.name as string).replace(global.location.origin, '');\n addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin);\n break;\n }\n default:\n // Ignore other entry types.\n }\n });\n\n this._performanceCursor = Math.max(performance.getEntries().length - 1, 0);\n\n this._trackNavigator(transaction);\n\n // Measurements are only available for pageload transactions\n if (transaction.op === 'pageload') {\n // normalize applicable web vital values to be relative to transaction.startTimestamp\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n // Generate TTFB (Time to First Byte), which measured as the time between the beginning of the transaction and the\n // start of the response in milliseconds\n if (typeof responseStartTimestamp === 'number') {\n logger.log('[Measurements] Adding TTFB');\n this._measurements['ttfb'] = { value: (responseStartTimestamp - transaction.startTimestamp) * 1000 };\n\n if (typeof requestStartTimestamp === 'number' && requestStartTimestamp <= responseStartTimestamp) {\n // Capture the time spent making the request and receiving the first byte of the response.\n // This is the time between the start of the request and the start of the response in milliseconds.\n this._measurements['ttfb.requestTime'] = { value: (responseStartTimestamp - requestStartTimestamp) * 1000 };\n }\n }\n\n ['fcp', 'fp', 'lcp'].forEach(name => {\n if (!this._measurements[name] || timeOrigin >= transaction.startTimestamp) {\n return;\n }\n\n // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin.\n // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need\n // to be adjusted to be relative to transaction.startTimestamp.\n\n const oldValue = this._measurements[name].value;\n const measurementTimestamp = timeOrigin + msToSec(oldValue);\n // normalizedValue should be in milliseconds\n const normalizedValue = Math.abs((measurementTimestamp - transaction.startTimestamp) * 1000);\n\n const delta = normalizedValue - oldValue;\n logger.log(`[Measurements] Normalized ${name} from ${oldValue} to ${normalizedValue} (${delta})`);\n\n this._measurements[name].value = normalizedValue;\n });\n\n if (this._measurements['mark.fid'] && this._measurements['fid']) {\n // create span for FID\n\n _startChild(transaction, {\n description: 'first input delay',\n endTimestamp: this._measurements['mark.fid'].value + msToSec(this._measurements['fid'].value),\n op: 'web.vitals',\n startTimestamp: this._measurements['mark.fid'].value,\n });\n }\n\n // If FCP is not recorded we should not record the cls value\n // according to the new definition of CLS.\n if (!('fcp' in this._measurements)) {\n delete this._measurements.cls;\n }\n\n transaction.setMeasurements(this._measurements);\n tagMetricInfo(transaction, this._lcpEntry, this._clsEntry);\n transaction.setTag('sentry_reportAllChanges', this._reportAllChanges);\n }\n }\n\n /**\n * Capture the information of the user agent.\n */\n private _trackNavigator(transaction: Transaction): void {\n const navigator = global.navigator as null | (Navigator & NavigatorNetworkInformation & NavigatorDeviceMemory);\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n transaction.setTag('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n transaction.setTag('connectionType', connection.type);\n }\n\n if (isMeasurementValue(connection.rtt)) {\n this._measurements['connection.rtt'] = { value: connection.rtt as number };\n }\n\n if (isMeasurementValue(connection.downlink)) {\n this._measurements['connection.downlink'] = { value: connection.downlink as number };\n }\n }\n\n if (isMeasurementValue(navigator.deviceMemory)) {\n transaction.setTag('deviceMemory', String(navigator.deviceMemory));\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n }\n\n /** Starts tracking the Cumulative Layout Shift on the current page. */\n private _trackCLS(): void {\n // See:\n // https://web.dev/evolving-cls/\n // https://web.dev/cls-web-tooling/\n getCLS(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n logger.log('[Measurements] Adding CLS');\n this._measurements['cls'] = { value: metric.value };\n this._clsEntry = entry as LayoutShift;\n });\n }\n\n /** Starts tracking the Largest Contentful Paint on the current page. */\n private _trackLCP(): void {\n getLCP(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime as number);\n logger.log('[Measurements] Adding LCP');\n this._measurements['lcp'] = { value: metric.value };\n this._measurements['mark.lcp'] = { value: timeOrigin + startTime };\n this._lcpEntry = entry as LargestContentfulPaint;\n }, this._reportAllChanges);\n }\n\n /** Starts tracking the First Input Delay on the current page. */\n private _trackFID(): void {\n getFID(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime as number);\n logger.log('[Measurements] Adding FID');\n this._measurements['fid'] = { value: metric.value };\n this._measurements['mark.fid'] = { value: timeOrigin + startTime };\n });\n }\n}\n\n/** Instrument navigation entries */\nfunction addNavigationSpans(transaction: Transaction, entry: Record, timeOrigin: number): void {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n addPerformanceNavigationTiming(transaction, entry, event, timeOrigin);\n });\n addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS');\n addRequest(transaction, entry, timeOrigin);\n}\n\n/** Create measure related spans */\nfunction addMeasureSpans(\n transaction: Transaction,\n entry: Record,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): number {\n const measureStartTimestamp = timeOrigin + startTime;\n const measureEndTimestamp = measureStartTimestamp + duration;\n\n _startChild(transaction, {\n description: entry.name as string,\n endTimestamp: measureEndTimestamp,\n op: entry.entryType as string,\n startTimestamp: measureStartTimestamp,\n });\n\n return measureStartTimestamp;\n}\n\nexport interface ResourceEntry extends Record {\n initiatorType?: string;\n transferSize?: number;\n encodedBodySize?: number;\n decodedBodySize?: number;\n}\n\n/** Create resource-related spans */\nexport function addResourceSpans(\n transaction: Transaction,\n entry: ResourceEntry,\n resourceName: string,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): void {\n // we already instrument based on fetch and xhr, so we don't need to\n // duplicate spans here.\n if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') {\n return;\n }\n\n const data: Record = {};\n if ('transferSize' in entry) {\n data['Transfer Size'] = entry.transferSize;\n }\n if ('encodedBodySize' in entry) {\n data['Encoded Body Size'] = entry.encodedBodySize;\n }\n if ('decodedBodySize' in entry) {\n data['Decoded Body Size'] = entry.decodedBodySize;\n }\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n _startChild(transaction, {\n description: resourceName,\n endTimestamp,\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource',\n startTimestamp,\n data,\n });\n}\n\n/** Create performance navigation related spans */\nfunction addPerformanceNavigationTiming(\n transaction: Transaction,\n entry: Record,\n event: string,\n timeOrigin: number,\n description?: string,\n eventEnd?: string,\n): void {\n const end = eventEnd ? (entry[eventEnd] as number | undefined) : (entry[`${event}End`] as number | undefined);\n const start = entry[`${event}Start`] as number | undefined;\n if (!start || !end) {\n return;\n }\n _startChild(transaction, {\n op: 'browser',\n description: description ?? event,\n startTimestamp: timeOrigin + msToSec(start),\n endTimestamp: timeOrigin + msToSec(end),\n });\n}\n\n/** Create request and response related spans */\nfunction addRequest(transaction: Transaction, entry: Record, timeOrigin: number): void {\n _startChild(transaction, {\n op: 'browser',\n description: 'request',\n startTimestamp: timeOrigin + msToSec(entry.requestStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n\n _startChild(transaction, {\n op: 'browser',\n description: 'response',\n startTimestamp: timeOrigin + msToSec(entry.responseStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n}\n\n/**\n * Helper function to start child on transactions. This function will make sure that the transaction will\n * use the start timestamp of the created child span if it is earlier than the transactions actual\n * start timestamp.\n */\nexport function _startChild(transaction: Transaction, { startTimestamp, ...ctx }: SpanContext): Span {\n if (startTimestamp && transaction.startTimestamp > startTimestamp) {\n transaction.startTimestamp = startTimestamp;\n }\n\n return transaction.startChild({\n startTimestamp,\n ...ctx,\n });\n}\n\n/**\n * Checks if a given value is a valid measurement value.\n */\nfunction isMeasurementValue(value: any): boolean {\n return typeof value === 'number' && isFinite(value);\n}\n\n/** Add LCP / CLS data to transaction to allow debugging */\nfunction tagMetricInfo(\n transaction: Transaction,\n lcpEntry: MetricsInstrumentation['_lcpEntry'],\n clsEntry: MetricsInstrumentation['_clsEntry'],\n): void {\n if (lcpEntry) {\n logger.log('[Measurements] Adding LCP Data');\n\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (lcpEntry.element) {\n transaction.setTag('lcp.element', htmlTreeAsString(lcpEntry.element));\n }\n\n if (lcpEntry.id) {\n transaction.setTag('lcp.id', lcpEntry.id);\n }\n\n if (lcpEntry.url) {\n // Trim URL to the first 200 characters.\n transaction.setTag('lcp.url', lcpEntry.url.trim().slice(0, 200));\n }\n\n transaction.setTag('lcp.size', lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (clsEntry && clsEntry.sources) {\n logger.log('[Measurements] Adding CLS Data');\n clsEntry.sources.forEach((source, index) =>\n transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { ReportHandler } from './types';\n\n// https://wicg.github.io/layout-instability/#sec-layout-shift\nexport interface LayoutShift extends PerformanceEntry {\n value: number;\n hadRecentInput: boolean;\n sources: Array;\n toJSON(): Record;\n}\n\nexport interface LayoutShiftAttribution {\n node?: Node;\n previousRect: DOMRectReadOnly;\n currentRect: DOMRectReadOnly;\n}\n\nexport const getCLS = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const metric = initMetric('CLS', 0);\n let report: ReturnType;\n\n let sessionValue = 0;\n let sessionEntries: PerformanceEntry[] = [];\n\n const entryHandler = (entry: LayoutShift): void => {\n // Only count layout shifts without recent user input.\n // TODO: Figure out why entry can be undefined\n if (entry && !entry.hadRecentInput) {\n const firstSessionEntry = sessionEntries[0];\n const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n\n // If the entry occurred less than 1 second after the previous entry and\n // less than 5 seconds after the first entry in the session, include the\n // entry in the current session. Otherwise, start a new session.\n if (\n sessionValue &&\n sessionEntries.length !== 0 &&\n entry.startTime - lastSessionEntry.startTime < 1000 &&\n entry.startTime - firstSessionEntry.startTime < 5000\n ) {\n sessionValue += entry.value;\n sessionEntries.push(entry);\n } else {\n sessionValue = entry.value;\n sessionEntries = [entry];\n }\n\n // If the current session value is larger than the current CLS value,\n // update CLS and the entries contributing to it.\n if (sessionValue > metric.value) {\n metric.value = sessionValue;\n metric.entries = sessionEntries;\n if (report) {\n report();\n }\n }\n }\n };\n\n const po = observe('layout-shift', entryHandler as PerformanceEntryHandler);\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n\n onHidden(() => {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n report(true);\n });\n }\n};\n","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { PerformanceEventTiming, ReportHandler } from './types';\n\nexport const getFID = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FID');\n let report: ReturnType;\n\n const entryHandler = (entry: PerformanceEventTiming): void => {\n // Only report if the page wasn't hidden prior to the first input.\n if (report && entry.startTime < visibilityWatcher.firstHiddenTime) {\n metric.value = entry.processingStart - entry.startTime;\n metric.entries.push(entry);\n report(true);\n }\n };\n\n const po = observe('first-input', entryHandler as PerformanceEntryHandler);\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n onHidden(() => {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n po.disconnect();\n }, true);\n }\n};\n","import { addInstrumentationHandler, isInstanceOf, isMatchingPattern } from '@sentry/utils';\n\nimport { Span } from '../span';\nimport { getActiveTransaction, hasTracingEnabled } from '../utils';\n\nexport const DEFAULT_TRACING_ORIGINS = ['localhost', /^\\//];\n\n/** Options for Request Instrumentation */\nexport interface RequestInstrumentationOptions {\n /**\n * List of strings / regex where the integration should create Spans out of. Additionally this will be used\n * to define which outgoing requests the `sentry-trace` header will be attached to.\n *\n * Default: ['localhost', /^\\//] {@see DEFAULT_TRACING_ORIGINS}\n */\n tracingOrigins: Array;\n\n /**\n * Flag to disable patching all together for fetch requests.\n *\n * Default: true\n */\n traceFetch: boolean;\n\n /**\n * Flag to disable patching all together for xhr requests.\n *\n * Default: true\n */\n traceXHR: boolean;\n\n /**\n * This function will be called before creating a span for a request with the given url.\n * Return false if you don't want a span for the given url.\n *\n * By default it uses the `tracingOrigins` options as a url match.\n */\n shouldCreateSpanForRequest?(url: string): boolean;\n}\n\n/** Data returned from fetch callback */\nexport interface FetchData {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n args: any[]; // the arguments passed to the fetch call itself\n fetchData?: {\n method: string;\n url: string;\n // span_id\n __span?: string;\n };\n\n // TODO Should this be unknown instead? If we vendor types, make it a Response\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n response?: any;\n error?: unknown;\n\n startTimestamp: number;\n endTimestamp?: number;\n}\n\n/** Data returned from XHR request */\nexport interface XHRData {\n xhr?: {\n __sentry_xhr__?: {\n method: string;\n url: string;\n status_code: number;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: Record;\n };\n __sentry_xhr_span_id__?: string;\n setRequestHeader?: (key: string, val: string) => void;\n __sentry_own_request__?: boolean;\n };\n startTimestamp: number;\n endTimestamp?: number;\n}\n\nexport const defaultRequestInstrumentationOptions: RequestInstrumentationOptions = {\n traceFetch: true,\n traceXHR: true,\n tracingOrigins: DEFAULT_TRACING_ORIGINS,\n};\n\n/** Registers span creators for xhr and fetch requests */\nexport function instrumentOutgoingRequests(_options?: Partial): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { traceFetch, traceXHR, tracingOrigins, shouldCreateSpanForRequest } = {\n ...defaultRequestInstrumentationOptions,\n ..._options,\n };\n\n // We should cache url -> decision so that we don't have to compute\n // regexp everytime we create a request.\n const urlMap: Record = {};\n\n const defaultShouldCreateSpan = (url: string): boolean => {\n if (urlMap[url]) {\n return urlMap[url];\n }\n const origins = tracingOrigins;\n urlMap[url] =\n origins.some((origin: string | RegExp) => isMatchingPattern(url, origin)) &&\n !isMatchingPattern(url, 'sentry_key');\n return urlMap[url];\n };\n\n // We want that our users don't have to re-implement shouldCreateSpanForRequest themselves\n // That's why we filter out already unwanted Spans from tracingOrigins\n let shouldCreateSpan = defaultShouldCreateSpan;\n if (typeof shouldCreateSpanForRequest === 'function') {\n shouldCreateSpan = (url: string) => {\n return defaultShouldCreateSpan(url) && shouldCreateSpanForRequest(url);\n };\n }\n\n const spans: Record = {};\n\n if (traceFetch) {\n addInstrumentationHandler('fetch', (handlerData: FetchData) => {\n fetchCallback(handlerData, shouldCreateSpan, spans);\n });\n }\n\n if (traceXHR) {\n addInstrumentationHandler('xhr', (handlerData: XHRData) => {\n xhrCallback(handlerData, shouldCreateSpan, spans);\n });\n }\n}\n\n/**\n * Create and track fetch request spans\n */\nexport function fetchCallback(\n handlerData: FetchData,\n shouldCreateSpan: (url: string) => boolean,\n spans: Record,\n): void {\n if (!hasTracingEnabled() || !(handlerData.fetchData && shouldCreateSpan(handlerData.fetchData.url))) {\n return;\n }\n\n if (handlerData.endTimestamp) {\n const spanId = handlerData.fetchData.__span;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n if (handlerData.response) {\n // TODO (kmclb) remove this once types PR goes through\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n span.setHttpStatus(handlerData.response.status);\n } else if (handlerData.error) {\n span.setStatus('internal_error');\n }\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const span = activeTransaction.startChild({\n data: {\n ...handlerData.fetchData,\n type: 'fetch',\n },\n description: `${handlerData.fetchData.method} ${handlerData.fetchData.url}`,\n op: 'http.client',\n });\n\n handlerData.fetchData.__span = span.spanId;\n spans[span.spanId] = span;\n\n const request = (handlerData.args[0] = handlerData.args[0] as string | Request);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const options = (handlerData.args[1] = (handlerData.args[1] as { [key: string]: any }) || {});\n let headers = options.headers;\n if (isInstanceOf(request, Request)) {\n headers = (request as Request).headers;\n }\n if (headers) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (typeof headers.append === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n headers.append('sentry-trace', span.toTraceparent());\n } else if (Array.isArray(headers)) {\n headers = [...headers, ['sentry-trace', span.toTraceparent()]];\n } else {\n headers = { ...headers, 'sentry-trace': span.toTraceparent() };\n }\n } else {\n headers = { 'sentry-trace': span.toTraceparent() };\n }\n options.headers = headers;\n }\n}\n\n/**\n * Create and track xhr request spans\n */\nexport function xhrCallback(\n handlerData: XHRData,\n shouldCreateSpan: (url: string) => boolean,\n spans: Record,\n): void {\n if (\n !hasTracingEnabled() ||\n (handlerData.xhr && handlerData.xhr.__sentry_own_request__) ||\n !(handlerData.xhr && handlerData.xhr.__sentry_xhr__ && shouldCreateSpan(handlerData.xhr.__sentry_xhr__.url))\n ) {\n return;\n }\n\n const xhr = handlerData.xhr.__sentry_xhr__;\n\n // check first if the request has finished and is tracked by an existing span which should now end\n if (handlerData.endTimestamp) {\n const spanId = handlerData.xhr.__sentry_xhr_span_id__;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n span.setHttpStatus(xhr.status_code);\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n // if not, create a new span to track it\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const span = activeTransaction.startChild({\n data: {\n ...xhr.data,\n type: 'xhr',\n method: xhr.method,\n url: xhr.url,\n },\n description: `${xhr.method} ${xhr.url}`,\n op: 'http.client',\n });\n\n handlerData.xhr.__sentry_xhr_span_id__ = span.spanId;\n spans[handlerData.xhr.__sentry_xhr_span_id__] = span;\n\n if (handlerData.xhr.setRequestHeader) {\n try {\n handlerData.xhr.setRequestHeader('sentry-trace', span.toTraceparent());\n } catch (_) {\n // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.\n }\n }\n }\n}\n","import { Transaction, TransactionContext } from '@sentry/types';\nimport { addInstrumentationHandler, getGlobalObject, logger } from '@sentry/utils';\n\nconst global = getGlobalObject();\n\n/**\n * Default function implementing pageload and navigation transactions\n */\nexport function instrumentRoutingWithDefaults(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad: boolean = true,\n startTransactionOnLocationChange: boolean = true,\n): void {\n if (!global || !global.location) {\n logger.warn('Could not initialize routing instrumentation due to invalid location');\n return;\n }\n\n let startingUrl: string | undefined = global.location.href;\n\n let activeTransaction: T | undefined;\n if (startTransactionOnPageLoad) {\n activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'pageload' });\n }\n\n if (startTransactionOnLocationChange) {\n addInstrumentationHandler('history', ({ to, from }: { to: string; from?: string }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n if (activeTransaction) {\n logger.log(`[Tracing] Finishing current transaction with op: ${activeTransaction.op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeTransaction.finish();\n }\n activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'navigation' });\n }\n });\n }\n}\n","import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration, Transaction, TransactionContext } from '@sentry/types';\nimport { getGlobalObject, logger } from '@sentry/utils';\n\nimport { startIdleTransaction } from '../hubextensions';\nimport { DEFAULT_IDLE_TIMEOUT, IdleTransaction } from '../idletransaction';\nimport { extractTraceparentData, secToMs } from '../utils';\nimport { registerBackgroundTabDetection } from './backgroundtab';\nimport { MetricsInstrumentation } from './metrics';\nimport {\n defaultRequestInstrumentationOptions,\n instrumentOutgoingRequests,\n RequestInstrumentationOptions,\n} from './request';\nimport { instrumentRoutingWithDefaults } from './router';\n\nexport const DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600;\n\n/** Options for Browser Tracing integration */\nexport interface BrowserTracingOptions extends RequestInstrumentationOptions {\n /**\n * The time to wait in ms until the transaction will be finished. The transaction will use the end timestamp of\n * the last finished span as the endtime for the transaction.\n * Time is in ms.\n *\n * Default: 1000\n */\n idleTimeout: number;\n\n /**\n * Flag to enable/disable creation of `navigation` transaction on history changes.\n *\n * Default: true\n */\n startTransactionOnLocationChange: boolean;\n\n /**\n * Flag to enable/disable creation of `pageload` transaction on first pageload.\n *\n * Default: true\n */\n startTransactionOnPageLoad: boolean;\n\n /**\n * The maximum duration of a transaction before it will be marked as \"deadline_exceeded\".\n * If you never want to mark a transaction set it to 0.\n * Time is in seconds.\n *\n * Default: 600\n */\n maxTransactionDuration: number;\n\n /**\n * Flag Transactions where tabs moved to background with \"cancelled\". Browser background tab timing is\n * not suited towards doing precise measurements of operations. By default, we recommend that this option\n * be enabled as background transactions can mess up your statistics in nondeterministic ways.\n *\n * Default: true\n */\n markBackgroundTransactions: boolean;\n\n /**\n * _metricOptions allows the user to send options to change how metrics are collected.\n *\n * _metricOptions is currently experimental.\n *\n * Default: undefined\n */\n _metricOptions?: Partial<{ _reportAllChanges: boolean }>;\n\n /**\n * beforeNavigate is called before a pageload/navigation transaction is created and allows users to modify transaction\n * context data, or drop the transaction entirely (by setting `sampled = false` in the context).\n *\n * Note: For legacy reasons, transactions can also be dropped by returning `undefined`.\n *\n * @param context: The context data which will be passed to `startTransaction` by default\n *\n * @returns A (potentially) modified context object, with `sampled = false` if the transaction should be dropped.\n */\n beforeNavigate?(context: TransactionContext): TransactionContext | undefined;\n\n /**\n * Instrumentation that creates routing change transactions. By default creates\n * pageload and navigation transactions.\n */\n routingInstrumentation(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad?: boolean,\n startTransactionOnLocationChange?: boolean,\n ): void;\n}\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n idleTimeout: DEFAULT_IDLE_TIMEOUT,\n markBackgroundTransactions: true,\n maxTransactionDuration: DEFAULT_MAX_TRANSACTION_DURATION_SECONDS,\n routingInstrumentation: instrumentRoutingWithDefaults,\n startTransactionOnLocationChange: true,\n startTransactionOnPageLoad: true,\n ...defaultRequestInstrumentationOptions,\n};\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n */\nexport class BrowserTracing implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'BrowserTracing';\n\n /** Browser Tracing integration options */\n public options: BrowserTracingOptions;\n\n /**\n * @inheritDoc\n */\n public name: string = BrowserTracing.id;\n\n private _getCurrentHub?: () => Hub;\n\n private readonly _metrics: MetricsInstrumentation;\n\n private readonly _emitOptionsWarning: boolean = false;\n\n /** Store configured idle timeout so that it can be added as a tag to transactions */\n private _configuredIdleTimeout: BrowserTracingOptions['idleTimeout'] | undefined = undefined;\n\n public constructor(_options?: Partial) {\n let tracingOrigins = defaultRequestInstrumentationOptions.tracingOrigins;\n // NOTE: Logger doesn't work in constructors, as it's initialized after integrations instances\n if (_options) {\n this._configuredIdleTimeout = _options.idleTimeout;\n if (_options.tracingOrigins && Array.isArray(_options.tracingOrigins) && _options.tracingOrigins.length !== 0) {\n tracingOrigins = _options.tracingOrigins;\n } else {\n this._emitOptionsWarning = true;\n }\n }\n\n this.options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n tracingOrigins,\n };\n\n const { _metricOptions } = this.options;\n this._metrics = new MetricsInstrumentation(_metricOptions && _metricOptions._reportAllChanges);\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n this._getCurrentHub = getCurrentHub;\n\n if (this._emitOptionsWarning) {\n logger.warn(\n '[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.',\n );\n logger.warn(\n `[Tracing] We added a reasonable default for you: ${defaultRequestInstrumentationOptions.tracingOrigins}`,\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const {\n routingInstrumentation: instrumentRouting,\n startTransactionOnLocationChange,\n startTransactionOnPageLoad,\n markBackgroundTransactions,\n traceFetch,\n traceXHR,\n tracingOrigins,\n shouldCreateSpanForRequest,\n } = this.options;\n\n instrumentRouting(\n (context: TransactionContext) => this._createRouteTransaction(context),\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n );\n\n if (markBackgroundTransactions) {\n registerBackgroundTabDetection();\n }\n\n instrumentOutgoingRequests({ traceFetch, traceXHR, tracingOrigins, shouldCreateSpanForRequest });\n }\n\n /** Create routing idle transaction. */\n private _createRouteTransaction(context: TransactionContext): Transaction | undefined {\n if (!this._getCurrentHub) {\n logger.warn(`[Tracing] Did not create ${context.op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeNavigate, idleTimeout, maxTransactionDuration } = this.options;\n\n const parentContextFromHeader = context.op === 'pageload' ? getHeaderContext() : undefined;\n\n const expandedContext = {\n ...context,\n ...parentContextFromHeader,\n trimEnd: true,\n };\n const modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext;\n\n // For backwards compatibility reasons, beforeNavigate can return undefined to \"drop\" the transaction (prevent it\n // from being sent to Sentry).\n const finalContext = modifiedContext === undefined ? { ...expandedContext, sampled: false } : modifiedContext;\n\n if (finalContext.sampled === false) {\n logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const hub = this._getCurrentHub();\n const { location } = getGlobalObject() as WindowOrWorkerGlobalScope & { location: Location };\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n true,\n { location }, // for use in the tracesSampler\n );\n idleTransaction.registerBeforeFinishCallback((transaction, endTimestamp) => {\n this._metrics.addPerformanceEntries(transaction);\n adjustTransactionDuration(secToMs(maxTransactionDuration), transaction, endTimestamp);\n });\n\n idleTransaction.setTag('idleTimeout', this._configuredIdleTimeout);\n\n return idleTransaction as Transaction;\n }\n}\n\n/**\n * Gets transaction context from a sentry-trace meta.\n *\n * @returns Transaction context data from the header or undefined if there's no header or the header is malformed\n */\nexport function getHeaderContext(): Partial | undefined {\n const header = getMetaContent('sentry-trace');\n if (header) {\n return extractTraceparentData(header);\n }\n\n return undefined;\n}\n\n/** Returns the value of a meta tag */\nexport function getMetaContent(metaName: string): string | null {\n const el = getGlobalObject().document.querySelector(`meta[name=${metaName}]`);\n return el ? el.getAttribute('content') : null;\n}\n\n/** Adjusts transaction value based on max transaction duration */\nfunction adjustTransactionDuration(maxDuration: number, transaction: IdleTransaction, endTimestamp: number): void {\n const diff = endTimestamp - transaction.startTimestamp;\n const isOutdatedTransaction = endTimestamp && (diff > maxDuration || diff < 0);\n if (isOutdatedTransaction) {\n transaction.setStatus('deadline_exceeded');\n transaction.setTag('maxTransactionDurationExceeded', 'true');\n }\n}\n","export {\n Breadcrumb,\n Request,\n SdkInfo,\n Event,\n EventStatus,\n Exception,\n Response,\n Severity,\n StackFrame,\n Stacktrace,\n Thread,\n User,\n} from '@sentry/types';\n\nexport { SeverityLevel } from '@sentry/utils';\n\nexport {\n addGlobalEventProcessor,\n addBreadcrumb,\n captureException,\n captureEvent,\n captureMessage,\n configureScope,\n getHubFromCarrier,\n getCurrentHub,\n Hub,\n Scope,\n setContext,\n setExtra,\n setExtras,\n setTag,\n setTags,\n setUser,\n startTransaction,\n Transports,\n withScope,\n} from '@sentry/browser';\n\nexport { BrowserOptions } from '@sentry/browser';\nexport { BrowserClient, ReportDialogOptions } from '@sentry/browser';\nexport {\n defaultIntegrations,\n forceLoad,\n init,\n lastEventId,\n onLoad,\n showReportDialog,\n flush,\n close,\n wrap,\n} from '@sentry/browser';\nexport { SDK_NAME, SDK_VERSION } from '@sentry/browser';\n\nimport { Integrations as BrowserIntegrations } from '@sentry/browser';\nimport { getGlobalObject } from '@sentry/utils';\n\nimport { BrowserTracing } from './browser';\nimport { addExtensionMethods } from './hubextensions';\n\nexport { Span } from './span';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nconst _window = getGlobalObject();\nif (_window.Sentry && _window.Sentry.Integrations) {\n windowIntegrations = _window.Sentry.Integrations;\n}\n\nconst INTEGRATIONS = {\n ...windowIntegrations,\n ...BrowserIntegrations,\n BrowserTracing,\n};\n\nexport { INTEGRATIONS as Integrations };\n// Though in this case exporting this separately in addition to exporting it as part of `Sentry.Integrations` doesn't\n// gain us any bundle size advantage (we're making the bundle here, not the user, and we can't leave anything out of\n// ours), it does bring the API for using the integration in line with that recommended for users bundling Sentry\n// themselves.\nexport { BrowserTracing };\n\n// We are patching the global object with our hub extension methods\naddExtensionMethods();\n\nexport { addExtensionMethods };\n","// TODO: Remove in the next major release and rely only on @sentry/core SDK_VERSION and SdkInfo metadata\nexport const SDK_NAME = 'sentry.javascript.browser';\n","import { getCurrentHub } from '@sentry/hub';\nimport { Client, Options } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\n/** A class object that can instantiate Client objects. */\nexport type ClientClass = new (options: O) => F;\n\n/**\n * Internal function to create a new SDK client instance. The client is\n * installed and then bound to the current scope.\n *\n * @param clientClass The client class to instantiate.\n * @param options Options to pass to the client.\n */\nexport function initAndBind(clientClass: ClientClass, options: O): void {\n if (options.debug === true) {\n logger.enable();\n }\n const hub = getCurrentHub();\n const scope = hub.getScope();\n if (scope) {\n scope.update(options.initialScope);\n }\n const client = new clientClass(options);\n hub.bindClient(client);\n}\n"],"names":["Severity","isDebugBuild","__SENTRY_NO_DEBUG__","fallbackGlobalObject","getGlobalObject","window","self","objectToString","Object","prototype","toString","isError","wat","call","isInstanceOf","Error","isBuiltin","ty","isErrorEvent","isDOMError","isString","isPrimitive","isPlainObject","isEvent","Event","isElement","Element","isThenable","Boolean","then","base","_e","htmlTreeAsString","elem","keyAttrs","currentElem","out","height","len","sepLength","length","nextStr","_htmlElementAsString","push","parentNode","reverse","join","_oO","el","className","classes","key","attr","i","tagName","toLowerCase","keyAttrPairs","filter","keyAttr","getAttribute","map","forEach","keyAttrPair","id","split","allowedAttrs","setPrototypeOf","__proto__","Array","obj","proto","prop","hasOwnProperty","message","_super","_this","name","_newTarget","constructor","__extends","DSN_REGEX","dsnToString","dsn","withPassword","host","path","pass","port","projectId","dsnFromComponents","components","publicKey","user","protocol","makeDsn","from","str","match","exec","SentryError","_a","_b","_c","slice","pop","projectMatch","dsnFromString","component","isValidProtocol","isNaN","parseInt","validateDsn","SeverityLevels","global","PREFIX","consoleSandbox","callback","originalConsole","console","wrappedLevels","level","__sentry_original__","result","keys","this","_enabled","Logger","_i","args","log","warn","error","__SENTRY__","logger","stripSentryFramesAndReverse","stack","localStack","firstFrameFunction","function","lastFrameFunction","indexOf","frame","filename","defaultFunctionName","getFunctionName","fn","e","truncate","max","substr","safeJoin","input","delimiter","isArray","output","value","String","isMatchingPattern","pattern","test","fill","source","replacementFactory","original","wrapped","markFunctionWrapped","_Oo","addNonEnumerableProperty","defineProperty","writable","configurable","getOriginalFunction","func","getWalkSource","err","event_1","type","target","currentTarget","CustomEvent","detail","jsonSize","encodeURI","utf8Length","JSON","stringify","normalizeToSize","object","depth","maxSize","serialized","normalize","normalizeValue","_events","document","walk","memo","hasWeakSet","inner","Infinity","WeakSet","has","add","delete","splice","normalized","serializeValue","toJSON","acc","innerKey","parse","extractExceptionKeysForMessage","exception","maxLength","sort","includedKeys","dropUndefinedKeys","val","rv","__values","supportsFetch","Headers","Request","Response","isNativeFetch","supportsReferrerPolicy","referrerPolicy","lastHref","handlers","instrumented","instrument","originalConsoleMethod","triggerHandlers","apply","instrumentConsole","triggerDOMHandler","bind","globalDOMEventHandler","makeDOMEventHandler","addEventListener","originalAddEventListener","listener","options","handlers_1","__sentry_instrumentation_handlers__","handlerForType","refCount","handler","originalRemoveEventListener","handlers_2","undefined","instrumentDOM","xhrproto","XMLHttpRequest","originalOpen","xhr","url","xhrInfo","__sentry_xhr__","method","toUpperCase","__sentry_own_request__","onreadystatechangeHandler","readyState","status_code","status","endTimestamp","Date","now","startTimestamp","onreadystatechange","readyStateArgs","originalSend","body","instrumentXHR","fetch","doc","createElement","sandbox","hidden","head","appendChild","contentWindow","removeChild","supportsNativeFetch","originalFetch","handlerData","fetchData","getFetchMethod","getFetchUrl","response","instrumentFetch","chrome","isChromePackagedApp","app","runtime","hasHistoryApi","history","pushState","replaceState","supportsHistory","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","to","location","href","instrumentHistory","_oldOnErrorHandler","onerror","msg","line","column","arguments","_oldOnUnhandledRejectionHandler","onunhandledrejection","addInstrumentationHandler","data","fetchArgs","debounceTimerID","lastCapturedEvent","globalListener","event","isContentEditable","shouldSkipDOMEvent","previous","current","shouldShortcircuitPreviousDebounce","clearTimeout","setTimeout","uuid4","crypto","msCrypto","getRandomValues","arr","Uint16Array","pad","num","v","replace","c","r","Math","random","parseUrl","query","fragment","relative","getFirstException","values","getEventDescription","eventId","firstException","addExceptionTypeValue","addExceptionMechanism","newMechanism","currentMechanism","mechanism","handled","mergedData","checkOrSetAlreadyCaught","__sentry_captured__","resolvedSyncPromise","SyncPromise","resolve","rejectedSyncPromise","reason","_","reject","executor","_setResult","state","_state","_resolve","_reject","_value","_executeHandlers","cachedHandlers","_handlers","onfulfilled","onrejected","onfinally","isRejected","makePromiseBuffer","limit","buffer","remove","task","$","taskProducer","drain","timeout","counter","capturedSetTimeout","item","severityFromString","Warning","isSupportedSeverity","Log","dateTimestampSource","nowSeconds","platformPerformance","performance","timeOrigin","getBrowserPerformance","timestampSource","dateTimestampInSeconds","timestampInSeconds","timestampWithMs","browserPerformanceTimeOrigin","threshold","performanceNow","dateNow","timeOriginDelta","abs","timeOriginIsReliable","navigationStart","timing","navigationStartDelta","Scope","scope","newScope","_breadcrumbs","_tags","_extra","_contexts","_user","_level","_span","_session","_transactionName","_fingerprint","_eventProcessors","_requestSession","_scopeListeners","update","_notifyScopeListeners","requestSession","tags","extras","extra","fingerprint","setTransactionName","context","span","getSpan","transaction","session","captureContext","updatedScope","contexts","breadcrumb","maxBreadcrumbs","maxCrumbs","min","mergedBreadcrumb","timestamp","__spread","hint","trace","getTraceContext","transactionName","_applyFingerprint","breadcrumbs","sdkProcessingMetadata","_sdkProcessingMetadata","_notifyEventProcessors","getGlobalEventProcessors","newData","processors","index","processor","final","_notifyingListeners","concat","globalEventProcessors","addGlobalEventProcessor","startingTime","started","Session","ipAddress","ip_address","did","email","username","ignoreDuration","sid","init","duration","release","environment","userAgent","errors","toISOString","attrs","user_agent","client","_version","getStackTop","bindClient","Hub","version","setupIntegrations","clone","getScope","getStack","getClient","pushScope","popScope","_stack","_lastEventId","finalHint","syntheticException","originalException","_invokeClient","event_id","beforeBreadcrumb","_d","finalBreadcrumb","addBreadcrumb","setUser","setTags","setExtras","setTag","setExtra","setContext","oldHub","makeMain","integration","getIntegration","_callExtensionMethod","customSamplingContext","endSession","_sendSessionUpdate","layer","getSession","close","setSession","getUser","currentSession","captureSession","carrier","getMainCarrier","sentry","extensions","hub","registry","getHubFromCarrier","setHubOnCarrier","getCurrentHub","isOlderThan","callOnHub","captureException","withScope","getBaseApiEndpoint","_getIngestEndpoint","_encodedAuth","sentry_key","sentry_version","encodeURIComponent","getStoreEndpointWithUrlEncodedAuth","getStoreEndpoint","getEnvelopeEndpointWithUrlEncodedAuth","tunnel","_getEnvelopeEndpoint","installedIntegrations","filterDuplicates","integrations","reduce","every","accIntegration","defaultIntegrations","userIntegrations","userIntegration","integrationsNames","alwaysLastToRun","getIntegrationsToSetup","setupOnce","setupIntegration","ALREADY_SEEN_ERROR","backendClass","_backend","_options","_dsn","BaseClient","_process","_getBackend","eventFromException","_captureEvent","promisedEvent","eventFromMessage","_isEnabled","_sendSession","getTransport","_isClientDoneProcessing","clientFinished","transportFlushed","flush","getOptions","enabled","_integrations","initialized","crashed","errored","exceptions","exceptions_1","sessionNonTerminal","Number","sendSession","ticked","interval","setInterval","_numProcessing","clearInterval","normalizeDepth","prepared","_applyClientOptions","_applyIntegrationsMetadata","finalScope","applyToEvent","evt","_normalizeEvent","b","baseClientNormalized","dist","maxValueLength","request","integrationsArray","sdk","sendEvent","_processEvent","finalEvent","beforeSend","sampleRate","transport","recordLostEvent","outcome","category","isTransaction","_prepareEvent","__sentry__","nullErr","_ensureBeforeSendRv","processedEvent","_updateSessionFromEvent","_sendEvent","promise","NoopTransport","_transport","_setupTransport","BaseBackend","_exception","_hint","_message","getSdkMetadataForEnvelopeHeader","api","metadata","eventToSentryRequest","sdkInfo","eventType","useEnvelope","samplingMethod","packages","enhanceEventWithSdkInfo","skippedNormalization","JSONStringifyError","newErr","innerErr","req","envelope","sent_at","sample_rates","rate","originalFunctionToString","SDK_VERSION","FunctionToString","Function","DEFAULT_IGNORE_ERRORS","InboundFilters","clientOptions","_mergeOptions","_shouldDropEvent","_isSentryError","_isIgnoredError","_isDeniedUrl","_getEventFilterUrl","_isAllowedUrl","ignoreInternal","ignoreErrors","_getPossibleEventMessages","some","denyUrls","allowUrls","whitelistUrls","blacklistUrls","oO","frames","stacktrace","_getLastValidUrl","frames_1","UNKNOWN_FUNCTION","createFrame","lineno","colno","in_app","chromeRegex","chromeEvalRegex","parts","subMatch","geckoREgex","geckoEvalRegex","gecko","winjsRegex","winjs","opera10Regex","opera10","opera11Regex","opera11","extractSafariExtensionDetails","isSafariExtension","isSafariWebExtension","exceptionFromError","ex","parseStackFrames","extractMessage","eventFromError","popSize","framesToPop","reactMinifiedRegexp","getPopSize","parsers","skipFirst","parsers_1","parser","createStackParser","eventFromUnknownInput","domException","name_1","eventFromString","code","rejection","__serialized__","eventFromPlainObject","isRejection","synthetic","attachStacktrace","cachedFetchImpl","getNativeFetchImplementation","fetchImpl","sendReport","navigator","sendBeacon","fetch_1","credentials","keepalive","requestTypeToCategory","_api","_metadata","initDsn","sendClientReports","visibilityState","_flushOutcomes","BaseTransport","_sendRequest","sessionToSentryRequest","_buffer","_outcomes","outcomes","discarded_events","quantity","requestType","headers","_handleRateLimit","_disabledUntil","_rateLimits","all","rlHeader","raHeader","trim","parameters","headerDelay","delay","header","headerDate","parseRetryAfterHeader","_fetch","FetchTransport","sentryRequest","originalPayload","_isRateLimited","Promise","fetchParameters","assign","get","_handleResponse","catch","XHRTransport","getResponseHeader","open","setRequestHeader","send","BrowserBackend","Info","transportOptions","ignoreOnError","shouldIgnoreOnError","ignoreNextOnError","wrap","before","wrapper","__sentry_wrapped__","sentryWrapped","wrappedArguments","arg","addEventProcessor","property","getOwnPropertyDescriptor","injectReportDialog","script","async","src","dsnLike","dialogOptions","endpoint","encodedOptions","getReportDialogEndpoint","onLoad","onload","injectionPoint","GlobalHandlers","_installGlobalOnErrorHandler","_installGlobalOnUnhandledRejectionHandler","stackTraceLimit","installFunc","_installFunc","globalHandlerLog","ERROR_TYPES_RE","groups","_enhanceEventWithInitialFrame","_eventFromIncompleteOnError","addMechanismAndCapture","ev","ev0","ev0s","ev0sf","getLocationHref","captureEvent","getHubAndAttachStacktrace","DEFAULT_EVENT_TARGET","TryCatch","eventTarget","requestAnimationFrame","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","originalCallback","xmlHttpRequestProps","wrapOptions","originalFunction","eventName","handleEvent","wrappedEventHandler","originalEventHandler","Breadcrumbs","dom","_consoleBreadcrumb","_innerDomBreadcrumb","serializeAttribute","_domBreadcrumb","_xhrBreadcrumb","_fetchBreadcrumb","_historyBreadcrumb","parsedLoc","parsedFrom","parsedTo","LinkedErrors","_key","_limit","linkedErrors","_walkErrorTree","_handler","UserAgent","referrer","Referer","Dedupe","currentEvent","previousEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameMessageEvent","previousException","_getExceptionFromEvent","currentException","_isSameExceptionEvent","_previousEvent","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","BrowserClient","getDsn","platform","addSentryBreadcrumb","CoreIntegrations.InboundFilters","CoreIntegrations.FunctionToString","startSessionOnHub","startSession","windowIntegrations","_window","Sentry","Integrations","INTEGRATIONS","CoreIntegrations","BrowserIntegrations","TRACEPARENT_REGEXP","RegExp","hasTracingEnabled","maybeOptions","getActiveTransaction","maybeHub","getTransaction","msToSec","time","errorCallback","activeTransaction","status_1","setStatus","FINISH_REASON_TAG","IDLE_TRANSACTION_FINISH_REASONS","maxlen","_maxlen","SpanRecorder","spans","spanRecorder","spanContext","substring","traceId","spanId","parentSpanId","sampled","op","description","Span","startChild","childSpan","httpStatus","spanStatus","spanStatusfromHttpCode","sampledString","parent_span_id","span_id","trace_id","start_timestamp","transactionContext","_hub","_trimEnd","trimEnd","Transaction","measurements","_measurements","newMetadata","finish","finishedSpans","s","prev","toContext","updateWithContext","SpanClass","_pushActivity","_popActivity","transactionSpanId","IdleTransactionSpanRecorder","_idleHub","_idleTimeout","_onScope","clearActiveTransaction","configureScope","setSpan","_initTimeout","_finished","IdleTransaction","activities","_beforeFinishCallbacks","keepSpan","_pingHeartbeat","end_1","heartbeatString","_prevHeartbeatString","_heartbeatCounter","_beat","traceHeaders","toTraceparent","sample","samplingContext","setMetadata","transactionSampling","tracesSampler","parentSampled","tracesSampleRate","isValidSampleRate","_startTransaction","initSpanRecorder","_experiments","maxSpans","addExtensionMethods","startTransaction","bindReporter","metric","reportAllChanges","prevValue","forceReport","delta","initMetric","entries","floor","observe","PerformanceObserver","supportedEntryTypes","includes","po","l","getEntries","buffered","onHidden","cb","once","onHiddenOrPageHide","removeEventListener","firstHiddenTime","getVisibilityWatcher","timeStamp","reportedMetricIDs","_reportAllChanges","mark","_trackCLS","_trackLCP","_trackFID","MetricsInstrumentation","responseStartTimestamp","requestStartTimestamp","_performanceCursor","entry","startTime","entryType","addPerformanceNavigationTiming","_startChild","requestStart","responseEnd","responseStart","addRequest","addNavigationSpans","measureStartTimestamp","measureEndTimestamp","addMeasureSpans","firstHidden","shouldRecord","resourceName","origin","initiatorType","transferSize","encodedBodySize","decodedBodySize","addResourceSpans","_trackNavigator","timeOrigin_1","oldValue","measurementTimestamp","normalizedValue","cls","setMeasurements","lcpEntry","clsEntry","element","size","sources","node","tagMetricInfo","_lcpEntry","_clsEntry","connection","effectiveType","isMeasurementValue","rtt","downlink","deviceMemory","hardwareConcurrency","onReport","report","sessionValue","sessionEntries","entryHandler","hadRecentInput","firstSessionEntry","lastSessionEntry","takeRecords","visibilityWatcher","stopListening_1","disconnect","capture","getLCP","processingStart","eventEnd","end","start","ctx","isFinite","defaultRequestInstrumentationOptions","traceFetch","traceXHR","tracingOrigins","instrumentOutgoingRequests","shouldCreateSpanForRequest","urlMap","defaultShouldCreateSpan","origins","shouldCreateSpan","__span","setHttpStatus","append","fetchCallback","__sentry_xhr_span_id__","xhrCallback","DEFAULT_BROWSER_TRACING_OPTIONS","idleTimeout","markBackgroundTransactions","maxTransactionDuration","routingInstrumentation","customStartTransaction","startTransactionOnPageLoad","startTransactionOnLocationChange","startingUrl","pathname","BrowserTracing","_configuredIdleTimeout","_emitOptionsWarning","_metricOptions","_metrics","_getCurrentHub","instrumentRouting","_createRouteTransaction","statusType","beforeNavigate","parentContextFromHeader","metaName","querySelector","traceparent","matches","extractTraceparentData","getHeaderContext","expandedContext","modifiedContext","finalContext","idleTransaction","onScope","startIdleTransaction","registerBeforeFinishCallback","addPerformanceEntries","maxDuration","diff","adjustTransactionDuration","window_1","SENTRY_RELEASE","autoSessionTracking","clientClass","debug","enable","initialScope","initAndBind","startSessionTracking","lastEventId","showReportDialog","internalWrap"],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/backgroundtab.d.ts b/node_modules/@sentry/tracing/dist/browser/backgroundtab.d.ts new file mode 100644 index 000000000..10dc49ebc --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/backgroundtab.d.ts @@ -0,0 +1,6 @@ +/** + * Add a listener that cancels and finishes a transaction when the global + * document is hidden. + */ +export declare function registerBackgroundTabDetection(): void; +//# sourceMappingURL=backgroundtab.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/backgroundtab.d.ts.map b/node_modules/@sentry/tracing/dist/browser/backgroundtab.d.ts.map new file mode 100644 index 000000000..f4ed79057 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/backgroundtab.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"backgroundtab.d.ts","sourceRoot":"","sources":["../../src/browser/backgroundtab.ts"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,8BAA8B,IAAI,IAAI,CAuBrD"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/backgroundtab.js b/node_modules/@sentry/tracing/dist/browser/backgroundtab.js new file mode 100644 index 000000000..9a438b23b --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/backgroundtab.js @@ -0,0 +1,33 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var constants_1 = require("../constants"); +var utils_2 = require("../utils"); +var global = utils_1.getGlobalObject(); +/** + * Add a listener that cancels and finishes a transaction when the global + * document is hidden. + */ +function registerBackgroundTabDetection() { + if (global && global.document) { + global.document.addEventListener('visibilitychange', function () { + var activeTransaction = utils_2.getActiveTransaction(); + if (global.document.hidden && activeTransaction) { + var statusType = 'cancelled'; + utils_1.logger.log("[Tracing] Transaction: " + statusType + " -> since tab moved to the background, op: " + activeTransaction.op); + // We should not set status if it is already set, this prevent important statuses like + // error or data loss from being overwritten on transaction. + if (!activeTransaction.status) { + activeTransaction.setStatus(statusType); + } + activeTransaction.setTag('visibilitychange', 'document.hidden'); + activeTransaction.setTag(constants_1.FINISH_REASON_TAG, constants_1.IDLE_TRANSACTION_FINISH_REASONS[2]); + activeTransaction.finish(); + } + }); + } + else { + utils_1.logger.warn('[Tracing] Could not set up background tab detection due to lack of global document'); + } +} +exports.registerBackgroundTabDetection = registerBackgroundTabDetection; +//# sourceMappingURL=backgroundtab.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/backgroundtab.js.map b/node_modules/@sentry/tracing/dist/browser/backgroundtab.js.map new file mode 100644 index 000000000..342912c31 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/backgroundtab.js.map @@ -0,0 +1 @@ +{"version":3,"file":"backgroundtab.js","sourceRoot":"","sources":["../../src/browser/backgroundtab.ts"],"names":[],"mappings":";AAAA,uCAAwD;AAExD,0CAAkF;AAGlF,kCAAgD;AAEhD,IAAM,MAAM,GAAG,uBAAe,EAAU,CAAC;AAEzC;;;GAGG;AACH,SAAgB,8BAA8B;IAC5C,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,EAAE;QAC7B,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE;YACnD,IAAM,iBAAiB,GAAG,4BAAoB,EAAqB,CAAC;YACpE,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,IAAI,iBAAiB,EAAE;gBAC/C,IAAM,UAAU,GAAmB,WAAW,CAAC;gBAE/C,cAAM,CAAC,GAAG,CACR,4BAA0B,UAAU,mDAA8C,iBAAiB,CAAC,EAAI,CACzG,CAAC;gBACF,sFAAsF;gBACtF,4DAA4D;gBAC5D,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE;oBAC7B,iBAAiB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;iBACzC;gBACD,iBAAiB,CAAC,MAAM,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAC;gBAChE,iBAAiB,CAAC,MAAM,CAAC,6BAAiB,EAAE,2CAA+B,CAAC,CAAC,CAAC,CAAC,CAAC;gBAChF,iBAAiB,CAAC,MAAM,EAAE,CAAC;aAC5B;QACH,CAAC,CAAC,CAAC;KACJ;SAAM;QACL,cAAM,CAAC,IAAI,CAAC,oFAAoF,CAAC,CAAC;KACnG;AACH,CAAC;AAvBD,wEAuBC","sourcesContent":["import { getGlobalObject, logger } from '@sentry/utils';\n\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from '../constants';\nimport { IdleTransaction } from '../idletransaction';\nimport { SpanStatusType } from '../span';\nimport { getActiveTransaction } from '../utils';\n\nconst global = getGlobalObject();\n\n/**\n * Add a listener that cancels and finishes a transaction when the global\n * document is hidden.\n */\nexport function registerBackgroundTabDetection(): void {\n if (global && global.document) {\n global.document.addEventListener('visibilitychange', () => {\n const activeTransaction = getActiveTransaction() as IdleTransaction;\n if (global.document.hidden && activeTransaction) {\n const statusType: SpanStatusType = 'cancelled';\n\n logger.log(\n `[Tracing] Transaction: ${statusType} -> since tab moved to the background, op: ${activeTransaction.op}`,\n );\n // We should not set status if it is already set, this prevent important statuses like\n // error or data loss from being overwritten on transaction.\n if (!activeTransaction.status) {\n activeTransaction.setStatus(statusType);\n }\n activeTransaction.setTag('visibilitychange', 'document.hidden');\n activeTransaction.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[2]);\n activeTransaction.finish();\n }\n });\n } else {\n logger.warn('[Tracing] Could not set up background tab detection due to lack of global document');\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/browsertracing.d.ts b/node_modules/@sentry/tracing/dist/browser/browsertracing.d.ts new file mode 100644 index 000000000..e7db3a703 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/browsertracing.d.ts @@ -0,0 +1,109 @@ +import { Hub } from '@sentry/hub'; +import { EventProcessor, Integration, Transaction, TransactionContext } from '@sentry/types'; +import { RequestInstrumentationOptions } from './request'; +export declare const DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600; +/** Options for Browser Tracing integration */ +export interface BrowserTracingOptions extends RequestInstrumentationOptions { + /** + * The time to wait in ms until the transaction will be finished. The transaction will use the end timestamp of + * the last finished span as the endtime for the transaction. + * Time is in ms. + * + * Default: 1000 + */ + idleTimeout: number; + /** + * Flag to enable/disable creation of `navigation` transaction on history changes. + * + * Default: true + */ + startTransactionOnLocationChange: boolean; + /** + * Flag to enable/disable creation of `pageload` transaction on first pageload. + * + * Default: true + */ + startTransactionOnPageLoad: boolean; + /** + * The maximum duration of a transaction before it will be marked as "deadline_exceeded". + * If you never want to mark a transaction set it to 0. + * Time is in seconds. + * + * Default: 600 + */ + maxTransactionDuration: number; + /** + * Flag Transactions where tabs moved to background with "cancelled". Browser background tab timing is + * not suited towards doing precise measurements of operations. By default, we recommend that this option + * be enabled as background transactions can mess up your statistics in nondeterministic ways. + * + * Default: true + */ + markBackgroundTransactions: boolean; + /** + * _metricOptions allows the user to send options to change how metrics are collected. + * + * _metricOptions is currently experimental. + * + * Default: undefined + */ + _metricOptions?: Partial<{ + _reportAllChanges: boolean; + }>; + /** + * beforeNavigate is called before a pageload/navigation transaction is created and allows users to modify transaction + * context data, or drop the transaction entirely (by setting `sampled = false` in the context). + * + * Note: For legacy reasons, transactions can also be dropped by returning `undefined`. + * + * @param context: The context data which will be passed to `startTransaction` by default + * + * @returns A (potentially) modified context object, with `sampled = false` if the transaction should be dropped. + */ + beforeNavigate?(context: TransactionContext): TransactionContext | undefined; + /** + * Instrumentation that creates routing change transactions. By default creates + * pageload and navigation transactions. + */ + routingInstrumentation(customStartTransaction: (context: TransactionContext) => T | undefined, startTransactionOnPageLoad?: boolean, startTransactionOnLocationChange?: boolean): void; +} +/** + * The Browser Tracing integration automatically instruments browser pageload/navigation + * actions as transactions, and captures requests, metrics and errors as spans. + * + * The integration can be configured with a variety of options, and can be extended to use + * any routing library. This integration uses {@see IdleTransaction} to create transactions. + */ +export declare class BrowserTracing implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** Browser Tracing integration options */ + options: BrowserTracingOptions; + /** + * @inheritDoc + */ + name: string; + private _getCurrentHub?; + private readonly _metrics; + private readonly _emitOptionsWarning; + /** Store configured idle timeout so that it can be added as a tag to transactions */ + private _configuredIdleTimeout; + constructor(_options?: Partial); + /** + * @inheritDoc + */ + setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; + /** Create routing idle transaction. */ + private _createRouteTransaction; +} +/** + * Gets transaction context from a sentry-trace meta. + * + * @returns Transaction context data from the header or undefined if there's no header or the header is malformed + */ +export declare function getHeaderContext(): Partial | undefined; +/** Returns the value of a meta tag */ +export declare function getMetaContent(metaName: string): string | null; +//# sourceMappingURL=browsertracing.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/browsertracing.d.ts.map b/node_modules/@sentry/tracing/dist/browser/browsertracing.d.ts.map new file mode 100644 index 000000000..dcca43d3c --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/browsertracing.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"browsertracing.d.ts","sourceRoot":"","sources":["../../src/browser/browsertracing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAQ7F,OAAO,EAGL,6BAA6B,EAC9B,MAAM,WAAW,CAAC;AAGnB,eAAO,MAAM,wCAAwC,MAAM,CAAC;AAE5D,8CAA8C;AAC9C,MAAM,WAAW,qBAAsB,SAAQ,6BAA6B;IAC1E;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,gCAAgC,EAAE,OAAO,CAAC;IAE1C;;;;OAIG;IACH,0BAA0B,EAAE,OAAO,CAAC;IAEpC;;;;;;OAMG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;;;;;OAMG;IACH,0BAA0B,EAAE,OAAO,CAAC;IAEpC;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;QAAE,iBAAiB,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAEzD;;;;;;;;;OASG;IACH,cAAc,CAAC,CAAC,OAAO,EAAE,kBAAkB,GAAG,kBAAkB,GAAG,SAAS,CAAC;IAE7E;;;OAGG;IACH,sBAAsB,CAAC,CAAC,SAAS,WAAW,EAC1C,sBAAsB,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,CAAC,GAAG,SAAS,EACtE,0BAA0B,CAAC,EAAE,OAAO,EACpC,gCAAgC,CAAC,EAAE,OAAO,GACzC,IAAI,CAAC;CACT;AAYD;;;;;;GAMG;AACH,qBAAa,cAAe,YAAW,WAAW;IAChD;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAoB;IAE5C,0CAA0C;IACnC,OAAO,EAAE,qBAAqB,CAAC;IAEtC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAqB;IAExC,OAAO,CAAC,cAAc,CAAC,CAAY;IAEnC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyB;IAElD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAkB;IAEtD,qFAAqF;IACrF,OAAO,CAAC,sBAAsB,CAA+D;gBAE1E,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC;IAsB5D;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;IAqCvF,uCAAuC;IACvC,OAAO,CAAC,uBAAuB;CA+ChC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAO1E;AAED,sCAAsC;AACtC,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG9D"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/browsertracing.js b/node_modules/@sentry/tracing/dist/browser/browsertracing.js new file mode 100644 index 000000000..860b7daf8 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/browsertracing.js @@ -0,0 +1,126 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +var hubextensions_1 = require("../hubextensions"); +var idletransaction_1 = require("../idletransaction"); +var utils_2 = require("../utils"); +var backgroundtab_1 = require("./backgroundtab"); +var metrics_1 = require("./metrics"); +var request_1 = require("./request"); +var router_1 = require("./router"); +exports.DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600; +var DEFAULT_BROWSER_TRACING_OPTIONS = tslib_1.__assign({ idleTimeout: idletransaction_1.DEFAULT_IDLE_TIMEOUT, markBackgroundTransactions: true, maxTransactionDuration: exports.DEFAULT_MAX_TRANSACTION_DURATION_SECONDS, routingInstrumentation: router_1.instrumentRoutingWithDefaults, startTransactionOnLocationChange: true, startTransactionOnPageLoad: true }, request_1.defaultRequestInstrumentationOptions); +/** + * The Browser Tracing integration automatically instruments browser pageload/navigation + * actions as transactions, and captures requests, metrics and errors as spans. + * + * The integration can be configured with a variety of options, and can be extended to use + * any routing library. This integration uses {@see IdleTransaction} to create transactions. + */ +var BrowserTracing = /** @class */ (function () { + function BrowserTracing(_options) { + /** + * @inheritDoc + */ + this.name = BrowserTracing.id; + this._emitOptionsWarning = false; + /** Store configured idle timeout so that it can be added as a tag to transactions */ + this._configuredIdleTimeout = undefined; + var tracingOrigins = request_1.defaultRequestInstrumentationOptions.tracingOrigins; + // NOTE: Logger doesn't work in constructors, as it's initialized after integrations instances + if (_options) { + this._configuredIdleTimeout = _options.idleTimeout; + if (_options.tracingOrigins && Array.isArray(_options.tracingOrigins) && _options.tracingOrigins.length !== 0) { + tracingOrigins = _options.tracingOrigins; + } + else { + this._emitOptionsWarning = true; + } + } + this.options = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, DEFAULT_BROWSER_TRACING_OPTIONS), _options), { tracingOrigins: tracingOrigins }); + var _metricOptions = this.options._metricOptions; + this._metrics = new metrics_1.MetricsInstrumentation(_metricOptions && _metricOptions._reportAllChanges); + } + /** + * @inheritDoc + */ + BrowserTracing.prototype.setupOnce = function (_, getCurrentHub) { + var _this = this; + this._getCurrentHub = getCurrentHub; + if (this._emitOptionsWarning) { + utils_1.logger.warn('[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.'); + utils_1.logger.warn("[Tracing] We added a reasonable default for you: " + request_1.defaultRequestInstrumentationOptions.tracingOrigins); + } + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.options, instrumentRouting = _a.routingInstrumentation, startTransactionOnLocationChange = _a.startTransactionOnLocationChange, startTransactionOnPageLoad = _a.startTransactionOnPageLoad, markBackgroundTransactions = _a.markBackgroundTransactions, traceFetch = _a.traceFetch, traceXHR = _a.traceXHR, tracingOrigins = _a.tracingOrigins, shouldCreateSpanForRequest = _a.shouldCreateSpanForRequest; + instrumentRouting(function (context) { return _this._createRouteTransaction(context); }, startTransactionOnPageLoad, startTransactionOnLocationChange); + if (markBackgroundTransactions) { + backgroundtab_1.registerBackgroundTabDetection(); + } + request_1.instrumentOutgoingRequests({ traceFetch: traceFetch, traceXHR: traceXHR, tracingOrigins: tracingOrigins, shouldCreateSpanForRequest: shouldCreateSpanForRequest }); + }; + /** Create routing idle transaction. */ + BrowserTracing.prototype._createRouteTransaction = function (context) { + var _this = this; + if (!this._getCurrentHub) { + utils_1.logger.warn("[Tracing] Did not create " + context.op + " transaction because _getCurrentHub is invalid."); + return undefined; + } + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.options, beforeNavigate = _a.beforeNavigate, idleTimeout = _a.idleTimeout, maxTransactionDuration = _a.maxTransactionDuration; + var parentContextFromHeader = context.op === 'pageload' ? getHeaderContext() : undefined; + var expandedContext = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, context), parentContextFromHeader), { trimEnd: true }); + var modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext; + // For backwards compatibility reasons, beforeNavigate can return undefined to "drop" the transaction (prevent it + // from being sent to Sentry). + var finalContext = modifiedContext === undefined ? tslib_1.__assign(tslib_1.__assign({}, expandedContext), { sampled: false }) : modifiedContext; + if (finalContext.sampled === false) { + utils_1.logger.log("[Tracing] Will not send " + finalContext.op + " transaction because of beforeNavigate."); + } + utils_1.logger.log("[Tracing] Starting " + finalContext.op + " transaction on scope"); + var hub = this._getCurrentHub(); + var location = utils_1.getGlobalObject().location; + var idleTransaction = hubextensions_1.startIdleTransaction(hub, finalContext, idleTimeout, true, { location: location }); + idleTransaction.registerBeforeFinishCallback(function (transaction, endTimestamp) { + _this._metrics.addPerformanceEntries(transaction); + adjustTransactionDuration(utils_2.secToMs(maxTransactionDuration), transaction, endTimestamp); + }); + idleTransaction.setTag('idleTimeout', this._configuredIdleTimeout); + return idleTransaction; + }; + /** + * @inheritDoc + */ + BrowserTracing.id = 'BrowserTracing'; + return BrowserTracing; +}()); +exports.BrowserTracing = BrowserTracing; +/** + * Gets transaction context from a sentry-trace meta. + * + * @returns Transaction context data from the header or undefined if there's no header or the header is malformed + */ +function getHeaderContext() { + var header = getMetaContent('sentry-trace'); + if (header) { + return utils_2.extractTraceparentData(header); + } + return undefined; +} +exports.getHeaderContext = getHeaderContext; +/** Returns the value of a meta tag */ +function getMetaContent(metaName) { + var el = utils_1.getGlobalObject().document.querySelector("meta[name=" + metaName + "]"); + return el ? el.getAttribute('content') : null; +} +exports.getMetaContent = getMetaContent; +/** Adjusts transaction value based on max transaction duration */ +function adjustTransactionDuration(maxDuration, transaction, endTimestamp) { + var diff = endTimestamp - transaction.startTimestamp; + var isOutdatedTransaction = endTimestamp && (diff > maxDuration || diff < 0); + if (isOutdatedTransaction) { + transaction.setStatus('deadline_exceeded'); + transaction.setTag('maxTransactionDurationExceeded', 'true'); + } +} +//# sourceMappingURL=browsertracing.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/browsertracing.js.map b/node_modules/@sentry/tracing/dist/browser/browsertracing.js.map new file mode 100644 index 000000000..721f47eaa --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/browsertracing.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browsertracing.js","sourceRoot":"","sources":["../../src/browser/browsertracing.ts"],"names":[],"mappings":"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","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration, Transaction, TransactionContext } from '@sentry/types';\nimport { getGlobalObject, logger } from '@sentry/utils';\n\nimport { startIdleTransaction } from '../hubextensions';\nimport { DEFAULT_IDLE_TIMEOUT, IdleTransaction } from '../idletransaction';\nimport { extractTraceparentData, secToMs } from '../utils';\nimport { registerBackgroundTabDetection } from './backgroundtab';\nimport { MetricsInstrumentation } from './metrics';\nimport {\n defaultRequestInstrumentationOptions,\n instrumentOutgoingRequests,\n RequestInstrumentationOptions,\n} from './request';\nimport { instrumentRoutingWithDefaults } from './router';\n\nexport const DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600;\n\n/** Options for Browser Tracing integration */\nexport interface BrowserTracingOptions extends RequestInstrumentationOptions {\n /**\n * The time to wait in ms until the transaction will be finished. The transaction will use the end timestamp of\n * the last finished span as the endtime for the transaction.\n * Time is in ms.\n *\n * Default: 1000\n */\n idleTimeout: number;\n\n /**\n * Flag to enable/disable creation of `navigation` transaction on history changes.\n *\n * Default: true\n */\n startTransactionOnLocationChange: boolean;\n\n /**\n * Flag to enable/disable creation of `pageload` transaction on first pageload.\n *\n * Default: true\n */\n startTransactionOnPageLoad: boolean;\n\n /**\n * The maximum duration of a transaction before it will be marked as \"deadline_exceeded\".\n * If you never want to mark a transaction set it to 0.\n * Time is in seconds.\n *\n * Default: 600\n */\n maxTransactionDuration: number;\n\n /**\n * Flag Transactions where tabs moved to background with \"cancelled\". Browser background tab timing is\n * not suited towards doing precise measurements of operations. By default, we recommend that this option\n * be enabled as background transactions can mess up your statistics in nondeterministic ways.\n *\n * Default: true\n */\n markBackgroundTransactions: boolean;\n\n /**\n * _metricOptions allows the user to send options to change how metrics are collected.\n *\n * _metricOptions is currently experimental.\n *\n * Default: undefined\n */\n _metricOptions?: Partial<{ _reportAllChanges: boolean }>;\n\n /**\n * beforeNavigate is called before a pageload/navigation transaction is created and allows users to modify transaction\n * context data, or drop the transaction entirely (by setting `sampled = false` in the context).\n *\n * Note: For legacy reasons, transactions can also be dropped by returning `undefined`.\n *\n * @param context: The context data which will be passed to `startTransaction` by default\n *\n * @returns A (potentially) modified context object, with `sampled = false` if the transaction should be dropped.\n */\n beforeNavigate?(context: TransactionContext): TransactionContext | undefined;\n\n /**\n * Instrumentation that creates routing change transactions. By default creates\n * pageload and navigation transactions.\n */\n routingInstrumentation(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad?: boolean,\n startTransactionOnLocationChange?: boolean,\n ): void;\n}\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n idleTimeout: DEFAULT_IDLE_TIMEOUT,\n markBackgroundTransactions: true,\n maxTransactionDuration: DEFAULT_MAX_TRANSACTION_DURATION_SECONDS,\n routingInstrumentation: instrumentRoutingWithDefaults,\n startTransactionOnLocationChange: true,\n startTransactionOnPageLoad: true,\n ...defaultRequestInstrumentationOptions,\n};\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n */\nexport class BrowserTracing implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'BrowserTracing';\n\n /** Browser Tracing integration options */\n public options: BrowserTracingOptions;\n\n /**\n * @inheritDoc\n */\n public name: string = BrowserTracing.id;\n\n private _getCurrentHub?: () => Hub;\n\n private readonly _metrics: MetricsInstrumentation;\n\n private readonly _emitOptionsWarning: boolean = false;\n\n /** Store configured idle timeout so that it can be added as a tag to transactions */\n private _configuredIdleTimeout: BrowserTracingOptions['idleTimeout'] | undefined = undefined;\n\n public constructor(_options?: Partial) {\n let tracingOrigins = defaultRequestInstrumentationOptions.tracingOrigins;\n // NOTE: Logger doesn't work in constructors, as it's initialized after integrations instances\n if (_options) {\n this._configuredIdleTimeout = _options.idleTimeout;\n if (_options.tracingOrigins && Array.isArray(_options.tracingOrigins) && _options.tracingOrigins.length !== 0) {\n tracingOrigins = _options.tracingOrigins;\n } else {\n this._emitOptionsWarning = true;\n }\n }\n\n this.options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n tracingOrigins,\n };\n\n const { _metricOptions } = this.options;\n this._metrics = new MetricsInstrumentation(_metricOptions && _metricOptions._reportAllChanges);\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n this._getCurrentHub = getCurrentHub;\n\n if (this._emitOptionsWarning) {\n logger.warn(\n '[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.',\n );\n logger.warn(\n `[Tracing] We added a reasonable default for you: ${defaultRequestInstrumentationOptions.tracingOrigins}`,\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const {\n routingInstrumentation: instrumentRouting,\n startTransactionOnLocationChange,\n startTransactionOnPageLoad,\n markBackgroundTransactions,\n traceFetch,\n traceXHR,\n tracingOrigins,\n shouldCreateSpanForRequest,\n } = this.options;\n\n instrumentRouting(\n (context: TransactionContext) => this._createRouteTransaction(context),\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n );\n\n if (markBackgroundTransactions) {\n registerBackgroundTabDetection();\n }\n\n instrumentOutgoingRequests({ traceFetch, traceXHR, tracingOrigins, shouldCreateSpanForRequest });\n }\n\n /** Create routing idle transaction. */\n private _createRouteTransaction(context: TransactionContext): Transaction | undefined {\n if (!this._getCurrentHub) {\n logger.warn(`[Tracing] Did not create ${context.op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeNavigate, idleTimeout, maxTransactionDuration } = this.options;\n\n const parentContextFromHeader = context.op === 'pageload' ? getHeaderContext() : undefined;\n\n const expandedContext = {\n ...context,\n ...parentContextFromHeader,\n trimEnd: true,\n };\n const modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext;\n\n // For backwards compatibility reasons, beforeNavigate can return undefined to \"drop\" the transaction (prevent it\n // from being sent to Sentry).\n const finalContext = modifiedContext === undefined ? { ...expandedContext, sampled: false } : modifiedContext;\n\n if (finalContext.sampled === false) {\n logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const hub = this._getCurrentHub();\n const { location } = getGlobalObject() as WindowOrWorkerGlobalScope & { location: Location };\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n true,\n { location }, // for use in the tracesSampler\n );\n idleTransaction.registerBeforeFinishCallback((transaction, endTimestamp) => {\n this._metrics.addPerformanceEntries(transaction);\n adjustTransactionDuration(secToMs(maxTransactionDuration), transaction, endTimestamp);\n });\n\n idleTransaction.setTag('idleTimeout', this._configuredIdleTimeout);\n\n return idleTransaction as Transaction;\n }\n}\n\n/**\n * Gets transaction context from a sentry-trace meta.\n *\n * @returns Transaction context data from the header or undefined if there's no header or the header is malformed\n */\nexport function getHeaderContext(): Partial | undefined {\n const header = getMetaContent('sentry-trace');\n if (header) {\n return extractTraceparentData(header);\n }\n\n return undefined;\n}\n\n/** Returns the value of a meta tag */\nexport function getMetaContent(metaName: string): string | null {\n const el = getGlobalObject().document.querySelector(`meta[name=${metaName}]`);\n return el ? el.getAttribute('content') : null;\n}\n\n/** Adjusts transaction value based on max transaction duration */\nfunction adjustTransactionDuration(maxDuration: number, transaction: IdleTransaction, endTimestamp: number): void {\n const diff = endTimestamp - transaction.startTimestamp;\n const isOutdatedTransaction = endTimestamp && (diff > maxDuration || diff < 0);\n if (isOutdatedTransaction) {\n transaction.setStatus('deadline_exceeded');\n transaction.setTag('maxTransactionDurationExceeded', 'true');\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/index.d.ts b/node_modules/@sentry/tracing/dist/browser/index.d.ts new file mode 100644 index 000000000..21f484d5b --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/index.d.ts @@ -0,0 +1,3 @@ +export { BrowserTracing } from './browsertracing'; +export { instrumentOutgoingRequests, RequestInstrumentationOptions, defaultRequestInstrumentationOptions, } from './request'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/index.d.ts.map b/node_modules/@sentry/tracing/dist/browser/index.d.ts.map new file mode 100644 index 000000000..6abfab7eb --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,EAC7B,oCAAoC,GACrC,MAAM,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/index.js b/node_modules/@sentry/tracing/dist/browser/index.js new file mode 100644 index 000000000..a441fa403 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/index.js @@ -0,0 +1,7 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var browsertracing_1 = require("./browsertracing"); +exports.BrowserTracing = browsertracing_1.BrowserTracing; +var request_1 = require("./request"); +exports.instrumentOutgoingRequests = request_1.instrumentOutgoingRequests; +exports.defaultRequestInstrumentationOptions = request_1.defaultRequestInstrumentationOptions; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/index.js.map b/node_modules/@sentry/tracing/dist/browser/index.js.map new file mode 100644 index 000000000..90184d541 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":";AAAA,mDAAkD;AAAzC,0CAAA,cAAc,CAAA;AACvB,qCAImB;AAHjB,+CAAA,0BAA0B,CAAA;AAE1B,yDAAA,oCAAoC,CAAA","sourcesContent":["export { BrowserTracing } from './browsertracing';\nexport {\n instrumentOutgoingRequests,\n RequestInstrumentationOptions,\n defaultRequestInstrumentationOptions,\n} from './request';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/metrics.d.ts b/node_modules/@sentry/tracing/dist/browser/metrics.d.ts new file mode 100644 index 000000000..48994dfad --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/metrics.d.ts @@ -0,0 +1,39 @@ +import { SpanContext } from '@sentry/types'; +import { Span } from '../span'; +import { Transaction } from '../transaction'; +/** Class tracking metrics */ +export declare class MetricsInstrumentation { + private _reportAllChanges; + private _measurements; + private _performanceCursor; + private _lcpEntry; + private _clsEntry; + constructor(_reportAllChanges?: boolean); + /** Add performance related spans to a transaction */ + addPerformanceEntries(transaction: Transaction): void; + /** + * Capture the information of the user agent. + */ + private _trackNavigator; + /** Starts tracking the Cumulative Layout Shift on the current page. */ + private _trackCLS; + /** Starts tracking the Largest Contentful Paint on the current page. */ + private _trackLCP; + /** Starts tracking the First Input Delay on the current page. */ + private _trackFID; +} +export interface ResourceEntry extends Record { + initiatorType?: string; + transferSize?: number; + encodedBodySize?: number; + decodedBodySize?: number; +} +/** Create resource-related spans */ +export declare function addResourceSpans(transaction: Transaction, entry: ResourceEntry, resourceName: string, startTime: number, duration: number, timeOrigin: number): void; +/** + * Helper function to start child on transactions. This function will make sure that the transaction will + * use the start timestamp of the created child span if it is earlier than the transactions actual + * start timestamp. + */ +export declare function _startChild(transaction: Transaction, { startTimestamp, ...ctx }: SpanContext): Span; +//# sourceMappingURL=metrics.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/metrics.d.ts.map b/node_modules/@sentry/tracing/dist/browser/metrics.d.ts.map new file mode 100644 index 000000000..b2a4302b1 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/metrics.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../src/browser/metrics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,WAAW,EAAE,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAU7C,8BAA8B;AAC9B,qBAAa,sBAAsB;IAOd,OAAO,CAAC,iBAAiB;IAN5C,OAAO,CAAC,aAAa,CAAoB;IAEzC,OAAO,CAAC,kBAAkB,CAAa;IACvC,OAAO,CAAC,SAAS,CAAqC;IACtD,OAAO,CAAC,SAAS,CAA0B;gBAEhB,iBAAiB,GAAE,OAAe;IAY7D,qDAAqD;IAC9C,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAmI5D;;OAEG;IACH,OAAO,CAAC,eAAe;IAmCvB,uEAAuE;IACvE,OAAO,CAAC,SAAS;IAgBjB,wEAAwE;IACxE,OAAO,CAAC,SAAS;IAgBjB,iEAAiE;IACjE,OAAO,CAAC,SAAS;CAclB;AAkCD,MAAM,WAAW,aAAc,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,oCAAoC;AACpC,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,aAAa,EACpB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,IAAI,CA4BN;AAyCD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,WAAW,EAAE,WAAW,EAAE,EAAE,cAAc,EAAE,GAAG,GAAG,EAAE,EAAE,WAAW,GAAG,IAAI,CASnG"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/metrics.js b/node_modules/@sentry/tracing/dist/browser/metrics.js new file mode 100644 index 000000000..892385175 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/metrics.js @@ -0,0 +1,337 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +var utils_2 = require("../utils"); +var getCLS_1 = require("./web-vitals/getCLS"); +var getFID_1 = require("./web-vitals/getFID"); +var getLCP_1 = require("./web-vitals/getLCP"); +var getVisibilityWatcher_1 = require("./web-vitals/lib/getVisibilityWatcher"); +var global = utils_1.getGlobalObject(); +/** Class tracking metrics */ +var MetricsInstrumentation = /** @class */ (function () { + function MetricsInstrumentation(_reportAllChanges) { + if (_reportAllChanges === void 0) { _reportAllChanges = false; } + this._reportAllChanges = _reportAllChanges; + this._measurements = {}; + this._performanceCursor = 0; + if (!utils_1.isNodeEnv() && global && global.performance && global.document) { + if (global.performance.mark) { + global.performance.mark('sentry-tracing-init'); + } + this._trackCLS(); + this._trackLCP(); + this._trackFID(); + } + } + /** Add performance related spans to a transaction */ + MetricsInstrumentation.prototype.addPerformanceEntries = function (transaction) { + var _this = this; + if (!global || !global.performance || !global.performance.getEntries || !utils_1.browserPerformanceTimeOrigin) { + // Gatekeeper if performance API not available + return; + } + utils_1.logger.log('[Tracing] Adding & adjusting spans using Performance API'); + var timeOrigin = utils_2.msToSec(utils_1.browserPerformanceTimeOrigin); + var responseStartTimestamp; + var requestStartTimestamp; + global.performance + .getEntries() + .slice(this._performanceCursor) + .forEach(function (entry) { + var startTime = utils_2.msToSec(entry.startTime); + var duration = utils_2.msToSec(entry.duration); + if (transaction.op === 'navigation' && timeOrigin + startTime < transaction.startTimestamp) { + return; + } + switch (entry.entryType) { + case 'navigation': { + addNavigationSpans(transaction, entry, timeOrigin); + responseStartTimestamp = timeOrigin + utils_2.msToSec(entry.responseStart); + requestStartTimestamp = timeOrigin + utils_2.msToSec(entry.requestStart); + break; + } + case 'mark': + case 'paint': + case 'measure': { + var startTimestamp = addMeasureSpans(transaction, entry, startTime, duration, timeOrigin); + // capture web vitals + var firstHidden = getVisibilityWatcher_1.getVisibilityWatcher(); + // Only report if the page wasn't hidden prior to the web vital. + var shouldRecord = entry.startTime < firstHidden.firstHiddenTime; + if (entry.name === 'first-paint' && shouldRecord) { + utils_1.logger.log('[Measurements] Adding FP'); + _this._measurements['fp'] = { value: entry.startTime }; + _this._measurements['mark.fp'] = { value: startTimestamp }; + } + if (entry.name === 'first-contentful-paint' && shouldRecord) { + utils_1.logger.log('[Measurements] Adding FCP'); + _this._measurements['fcp'] = { value: entry.startTime }; + _this._measurements['mark.fcp'] = { value: startTimestamp }; + } + break; + } + case 'resource': { + var resourceName = entry.name.replace(global.location.origin, ''); + addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin); + break; + } + default: + // Ignore other entry types. + } + }); + this._performanceCursor = Math.max(performance.getEntries().length - 1, 0); + this._trackNavigator(transaction); + // Measurements are only available for pageload transactions + if (transaction.op === 'pageload') { + // normalize applicable web vital values to be relative to transaction.startTimestamp + var timeOrigin_1 = utils_2.msToSec(utils_1.browserPerformanceTimeOrigin); + // Generate TTFB (Time to First Byte), which measured as the time between the beginning of the transaction and the + // start of the response in milliseconds + if (typeof responseStartTimestamp === 'number') { + utils_1.logger.log('[Measurements] Adding TTFB'); + this._measurements['ttfb'] = { value: (responseStartTimestamp - transaction.startTimestamp) * 1000 }; + if (typeof requestStartTimestamp === 'number' && requestStartTimestamp <= responseStartTimestamp) { + // Capture the time spent making the request and receiving the first byte of the response. + // This is the time between the start of the request and the start of the response in milliseconds. + this._measurements['ttfb.requestTime'] = { value: (responseStartTimestamp - requestStartTimestamp) * 1000 }; + } + } + ['fcp', 'fp', 'lcp'].forEach(function (name) { + if (!_this._measurements[name] || timeOrigin_1 >= transaction.startTimestamp) { + return; + } + // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin. + // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need + // to be adjusted to be relative to transaction.startTimestamp. + var oldValue = _this._measurements[name].value; + var measurementTimestamp = timeOrigin_1 + utils_2.msToSec(oldValue); + // normalizedValue should be in milliseconds + var normalizedValue = Math.abs((measurementTimestamp - transaction.startTimestamp) * 1000); + var delta = normalizedValue - oldValue; + utils_1.logger.log("[Measurements] Normalized " + name + " from " + oldValue + " to " + normalizedValue + " (" + delta + ")"); + _this._measurements[name].value = normalizedValue; + }); + if (this._measurements['mark.fid'] && this._measurements['fid']) { + // create span for FID + _startChild(transaction, { + description: 'first input delay', + endTimestamp: this._measurements['mark.fid'].value + utils_2.msToSec(this._measurements['fid'].value), + op: 'web.vitals', + startTimestamp: this._measurements['mark.fid'].value, + }); + } + // If FCP is not recorded we should not record the cls value + // according to the new definition of CLS. + if (!('fcp' in this._measurements)) { + delete this._measurements.cls; + } + transaction.setMeasurements(this._measurements); + tagMetricInfo(transaction, this._lcpEntry, this._clsEntry); + transaction.setTag('sentry_reportAllChanges', this._reportAllChanges); + } + }; + /** + * Capture the information of the user agent. + */ + MetricsInstrumentation.prototype._trackNavigator = function (transaction) { + var navigator = global.navigator; + if (!navigator) { + return; + } + // track network connectivity + var connection = navigator.connection; + if (connection) { + if (connection.effectiveType) { + transaction.setTag('effectiveConnectionType', connection.effectiveType); + } + if (connection.type) { + transaction.setTag('connectionType', connection.type); + } + if (isMeasurementValue(connection.rtt)) { + this._measurements['connection.rtt'] = { value: connection.rtt }; + } + if (isMeasurementValue(connection.downlink)) { + this._measurements['connection.downlink'] = { value: connection.downlink }; + } + } + if (isMeasurementValue(navigator.deviceMemory)) { + transaction.setTag('deviceMemory', String(navigator.deviceMemory)); + } + if (isMeasurementValue(navigator.hardwareConcurrency)) { + transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency)); + } + }; + /** Starts tracking the Cumulative Layout Shift on the current page. */ + MetricsInstrumentation.prototype._trackCLS = function () { + var _this = this; + // See: + // https://web.dev/evolving-cls/ + // https://web.dev/cls-web-tooling/ + getCLS_1.getCLS(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + utils_1.logger.log('[Measurements] Adding CLS'); + _this._measurements['cls'] = { value: metric.value }; + _this._clsEntry = entry; + }); + }; + /** Starts tracking the Largest Contentful Paint on the current page. */ + MetricsInstrumentation.prototype._trackLCP = function () { + var _this = this; + getLCP_1.getLCP(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + var timeOrigin = utils_2.msToSec(utils_1.browserPerformanceTimeOrigin); + var startTime = utils_2.msToSec(entry.startTime); + utils_1.logger.log('[Measurements] Adding LCP'); + _this._measurements['lcp'] = { value: metric.value }; + _this._measurements['mark.lcp'] = { value: timeOrigin + startTime }; + _this._lcpEntry = entry; + }, this._reportAllChanges); + }; + /** Starts tracking the First Input Delay on the current page. */ + MetricsInstrumentation.prototype._trackFID = function () { + var _this = this; + getFID_1.getFID(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + var timeOrigin = utils_2.msToSec(utils_1.browserPerformanceTimeOrigin); + var startTime = utils_2.msToSec(entry.startTime); + utils_1.logger.log('[Measurements] Adding FID'); + _this._measurements['fid'] = { value: metric.value }; + _this._measurements['mark.fid'] = { value: timeOrigin + startTime }; + }); + }; + return MetricsInstrumentation; +}()); +exports.MetricsInstrumentation = MetricsInstrumentation; +/** Instrument navigation entries */ +function addNavigationSpans(transaction, entry, timeOrigin) { + ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(function (event) { + addPerformanceNavigationTiming(transaction, entry, event, timeOrigin); + }); + addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd'); + addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart'); + addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS'); + addRequest(transaction, entry, timeOrigin); +} +/** Create measure related spans */ +function addMeasureSpans(transaction, entry, startTime, duration, timeOrigin) { + var measureStartTimestamp = timeOrigin + startTime; + var measureEndTimestamp = measureStartTimestamp + duration; + _startChild(transaction, { + description: entry.name, + endTimestamp: measureEndTimestamp, + op: entry.entryType, + startTimestamp: measureStartTimestamp, + }); + return measureStartTimestamp; +} +/** Create resource-related spans */ +function addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin) { + // we already instrument based on fetch and xhr, so we don't need to + // duplicate spans here. + if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') { + return; + } + var data = {}; + if ('transferSize' in entry) { + data['Transfer Size'] = entry.transferSize; + } + if ('encodedBodySize' in entry) { + data['Encoded Body Size'] = entry.encodedBodySize; + } + if ('decodedBodySize' in entry) { + data['Decoded Body Size'] = entry.decodedBodySize; + } + var startTimestamp = timeOrigin + startTime; + var endTimestamp = startTimestamp + duration; + _startChild(transaction, { + description: resourceName, + endTimestamp: endTimestamp, + op: entry.initiatorType ? "resource." + entry.initiatorType : 'resource', + startTimestamp: startTimestamp, + data: data, + }); +} +exports.addResourceSpans = addResourceSpans; +/** Create performance navigation related spans */ +function addPerformanceNavigationTiming(transaction, entry, event, timeOrigin, description, eventEnd) { + var end = eventEnd ? entry[eventEnd] : entry[event + "End"]; + var start = entry[event + "Start"]; + if (!start || !end) { + return; + } + _startChild(transaction, { + op: 'browser', + description: (description !== null && description !== void 0 ? description : event), + startTimestamp: timeOrigin + utils_2.msToSec(start), + endTimestamp: timeOrigin + utils_2.msToSec(end), + }); +} +/** Create request and response related spans */ +function addRequest(transaction, entry, timeOrigin) { + _startChild(transaction, { + op: 'browser', + description: 'request', + startTimestamp: timeOrigin + utils_2.msToSec(entry.requestStart), + endTimestamp: timeOrigin + utils_2.msToSec(entry.responseEnd), + }); + _startChild(transaction, { + op: 'browser', + description: 'response', + startTimestamp: timeOrigin + utils_2.msToSec(entry.responseStart), + endTimestamp: timeOrigin + utils_2.msToSec(entry.responseEnd), + }); +} +/** + * Helper function to start child on transactions. This function will make sure that the transaction will + * use the start timestamp of the created child span if it is earlier than the transactions actual + * start timestamp. + */ +function _startChild(transaction, _a) { + var startTimestamp = _a.startTimestamp, ctx = tslib_1.__rest(_a, ["startTimestamp"]); + if (startTimestamp && transaction.startTimestamp > startTimestamp) { + transaction.startTimestamp = startTimestamp; + } + return transaction.startChild(tslib_1.__assign({ startTimestamp: startTimestamp }, ctx)); +} +exports._startChild = _startChild; +/** + * Checks if a given value is a valid measurement value. + */ +function isMeasurementValue(value) { + return typeof value === 'number' && isFinite(value); +} +/** Add LCP / CLS data to transaction to allow debugging */ +function tagMetricInfo(transaction, lcpEntry, clsEntry) { + if (lcpEntry) { + utils_1.logger.log('[Measurements] Adding LCP Data'); + // Capture Properties of the LCP element that contributes to the LCP. + if (lcpEntry.element) { + transaction.setTag('lcp.element', utils_1.htmlTreeAsString(lcpEntry.element)); + } + if (lcpEntry.id) { + transaction.setTag('lcp.id', lcpEntry.id); + } + if (lcpEntry.url) { + // Trim URL to the first 200 characters. + transaction.setTag('lcp.url', lcpEntry.url.trim().slice(0, 200)); + } + transaction.setTag('lcp.size', lcpEntry.size); + } + // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift + if (clsEntry && clsEntry.sources) { + utils_1.logger.log('[Measurements] Adding CLS Data'); + clsEntry.sources.forEach(function (source, index) { + return transaction.setTag("cls.source." + (index + 1), utils_1.htmlTreeAsString(source.node)); + }); + } +} +//# sourceMappingURL=metrics.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/metrics.js.map b/node_modules/@sentry/tracing/dist/browser/metrics.js.map new file mode 100644 index 000000000..dd9ba55d1 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/metrics.js.map @@ -0,0 +1 @@ +{"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../src/browser/metrics.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Measurements, SpanContext } from '@sentry/types';\nimport { browserPerformanceTimeOrigin, getGlobalObject, htmlTreeAsString, isNodeEnv, logger } from '@sentry/utils';\n\nimport { Span } from '../span';\nimport { Transaction } from '../transaction';\nimport { msToSec } from '../utils';\nimport { getCLS, LayoutShift } from './web-vitals/getCLS';\nimport { getFID } from './web-vitals/getFID';\nimport { getLCP, LargestContentfulPaint } from './web-vitals/getLCP';\nimport { getVisibilityWatcher } from './web-vitals/lib/getVisibilityWatcher';\nimport { NavigatorDeviceMemory, NavigatorNetworkInformation } from './web-vitals/types';\n\nconst global = getGlobalObject();\n\n/** Class tracking metrics */\nexport class MetricsInstrumentation {\n private _measurements: Measurements = {};\n\n private _performanceCursor: number = 0;\n private _lcpEntry: LargestContentfulPaint | undefined;\n private _clsEntry: LayoutShift | undefined;\n\n public constructor(private _reportAllChanges: boolean = false) {\n if (!isNodeEnv() && global && global.performance && global.document) {\n if (global.performance.mark) {\n global.performance.mark('sentry-tracing-init');\n }\n\n this._trackCLS();\n this._trackLCP();\n this._trackFID();\n }\n }\n\n /** Add performance related spans to a transaction */\n public addPerformanceEntries(transaction: Transaction): void {\n if (!global || !global.performance || !global.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n logger.log('[Tracing] Adding & adjusting spans using Performance API');\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n let responseStartTimestamp: number | undefined;\n let requestStartTimestamp: number | undefined;\n\n global.performance\n .getEntries()\n .slice(this._performanceCursor)\n .forEach((entry: Record) => {\n const startTime = msToSec(entry.startTime as number);\n const duration = msToSec(entry.duration as number);\n\n if (transaction.op === 'navigation' && timeOrigin + startTime < transaction.startTimestamp) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n addNavigationSpans(transaction, entry, timeOrigin);\n responseStartTimestamp = timeOrigin + msToSec(entry.responseStart as number);\n requestStartTimestamp = timeOrigin + msToSec(entry.requestStart as number);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n const startTimestamp = addMeasureSpans(transaction, entry, startTime, duration, timeOrigin);\n // capture web vitals\n\n const firstHidden = getVisibilityWatcher();\n // Only report if the page wasn't hidden prior to the web vital.\n const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n\n if (entry.name === 'first-paint' && shouldRecord) {\n logger.log('[Measurements] Adding FP');\n this._measurements['fp'] = { value: entry.startTime };\n this._measurements['mark.fp'] = { value: startTimestamp };\n }\n\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n logger.log('[Measurements] Adding FCP');\n this._measurements['fcp'] = { value: entry.startTime };\n this._measurements['mark.fcp'] = { value: startTimestamp };\n }\n\n break;\n }\n case 'resource': {\n const resourceName = (entry.name as string).replace(global.location.origin, '');\n addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin);\n break;\n }\n default:\n // Ignore other entry types.\n }\n });\n\n this._performanceCursor = Math.max(performance.getEntries().length - 1, 0);\n\n this._trackNavigator(transaction);\n\n // Measurements are only available for pageload transactions\n if (transaction.op === 'pageload') {\n // normalize applicable web vital values to be relative to transaction.startTimestamp\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n // Generate TTFB (Time to First Byte), which measured as the time between the beginning of the transaction and the\n // start of the response in milliseconds\n if (typeof responseStartTimestamp === 'number') {\n logger.log('[Measurements] Adding TTFB');\n this._measurements['ttfb'] = { value: (responseStartTimestamp - transaction.startTimestamp) * 1000 };\n\n if (typeof requestStartTimestamp === 'number' && requestStartTimestamp <= responseStartTimestamp) {\n // Capture the time spent making the request and receiving the first byte of the response.\n // This is the time between the start of the request and the start of the response in milliseconds.\n this._measurements['ttfb.requestTime'] = { value: (responseStartTimestamp - requestStartTimestamp) * 1000 };\n }\n }\n\n ['fcp', 'fp', 'lcp'].forEach(name => {\n if (!this._measurements[name] || timeOrigin >= transaction.startTimestamp) {\n return;\n }\n\n // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin.\n // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need\n // to be adjusted to be relative to transaction.startTimestamp.\n\n const oldValue = this._measurements[name].value;\n const measurementTimestamp = timeOrigin + msToSec(oldValue);\n // normalizedValue should be in milliseconds\n const normalizedValue = Math.abs((measurementTimestamp - transaction.startTimestamp) * 1000);\n\n const delta = normalizedValue - oldValue;\n logger.log(`[Measurements] Normalized ${name} from ${oldValue} to ${normalizedValue} (${delta})`);\n\n this._measurements[name].value = normalizedValue;\n });\n\n if (this._measurements['mark.fid'] && this._measurements['fid']) {\n // create span for FID\n\n _startChild(transaction, {\n description: 'first input delay',\n endTimestamp: this._measurements['mark.fid'].value + msToSec(this._measurements['fid'].value),\n op: 'web.vitals',\n startTimestamp: this._measurements['mark.fid'].value,\n });\n }\n\n // If FCP is not recorded we should not record the cls value\n // according to the new definition of CLS.\n if (!('fcp' in this._measurements)) {\n delete this._measurements.cls;\n }\n\n transaction.setMeasurements(this._measurements);\n tagMetricInfo(transaction, this._lcpEntry, this._clsEntry);\n transaction.setTag('sentry_reportAllChanges', this._reportAllChanges);\n }\n }\n\n /**\n * Capture the information of the user agent.\n */\n private _trackNavigator(transaction: Transaction): void {\n const navigator = global.navigator as null | (Navigator & NavigatorNetworkInformation & NavigatorDeviceMemory);\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n transaction.setTag('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n transaction.setTag('connectionType', connection.type);\n }\n\n if (isMeasurementValue(connection.rtt)) {\n this._measurements['connection.rtt'] = { value: connection.rtt as number };\n }\n\n if (isMeasurementValue(connection.downlink)) {\n this._measurements['connection.downlink'] = { value: connection.downlink as number };\n }\n }\n\n if (isMeasurementValue(navigator.deviceMemory)) {\n transaction.setTag('deviceMemory', String(navigator.deviceMemory));\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n }\n\n /** Starts tracking the Cumulative Layout Shift on the current page. */\n private _trackCLS(): void {\n // See:\n // https://web.dev/evolving-cls/\n // https://web.dev/cls-web-tooling/\n getCLS(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n logger.log('[Measurements] Adding CLS');\n this._measurements['cls'] = { value: metric.value };\n this._clsEntry = entry as LayoutShift;\n });\n }\n\n /** Starts tracking the Largest Contentful Paint on the current page. */\n private _trackLCP(): void {\n getLCP(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime as number);\n logger.log('[Measurements] Adding LCP');\n this._measurements['lcp'] = { value: metric.value };\n this._measurements['mark.lcp'] = { value: timeOrigin + startTime };\n this._lcpEntry = entry as LargestContentfulPaint;\n }, this._reportAllChanges);\n }\n\n /** Starts tracking the First Input Delay on the current page. */\n private _trackFID(): void {\n getFID(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime as number);\n logger.log('[Measurements] Adding FID');\n this._measurements['fid'] = { value: metric.value };\n this._measurements['mark.fid'] = { value: timeOrigin + startTime };\n });\n }\n}\n\n/** Instrument navigation entries */\nfunction addNavigationSpans(transaction: Transaction, entry: Record, timeOrigin: number): void {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n addPerformanceNavigationTiming(transaction, entry, event, timeOrigin);\n });\n addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS');\n addRequest(transaction, entry, timeOrigin);\n}\n\n/** Create measure related spans */\nfunction addMeasureSpans(\n transaction: Transaction,\n entry: Record,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): number {\n const measureStartTimestamp = timeOrigin + startTime;\n const measureEndTimestamp = measureStartTimestamp + duration;\n\n _startChild(transaction, {\n description: entry.name as string,\n endTimestamp: measureEndTimestamp,\n op: entry.entryType as string,\n startTimestamp: measureStartTimestamp,\n });\n\n return measureStartTimestamp;\n}\n\nexport interface ResourceEntry extends Record {\n initiatorType?: string;\n transferSize?: number;\n encodedBodySize?: number;\n decodedBodySize?: number;\n}\n\n/** Create resource-related spans */\nexport function addResourceSpans(\n transaction: Transaction,\n entry: ResourceEntry,\n resourceName: string,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): void {\n // we already instrument based on fetch and xhr, so we don't need to\n // duplicate spans here.\n if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') {\n return;\n }\n\n const data: Record = {};\n if ('transferSize' in entry) {\n data['Transfer Size'] = entry.transferSize;\n }\n if ('encodedBodySize' in entry) {\n data['Encoded Body Size'] = entry.encodedBodySize;\n }\n if ('decodedBodySize' in entry) {\n data['Decoded Body Size'] = entry.decodedBodySize;\n }\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n _startChild(transaction, {\n description: resourceName,\n endTimestamp,\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource',\n startTimestamp,\n data,\n });\n}\n\n/** Create performance navigation related spans */\nfunction addPerformanceNavigationTiming(\n transaction: Transaction,\n entry: Record,\n event: string,\n timeOrigin: number,\n description?: string,\n eventEnd?: string,\n): void {\n const end = eventEnd ? (entry[eventEnd] as number | undefined) : (entry[`${event}End`] as number | undefined);\n const start = entry[`${event}Start`] as number | undefined;\n if (!start || !end) {\n return;\n }\n _startChild(transaction, {\n op: 'browser',\n description: description ?? event,\n startTimestamp: timeOrigin + msToSec(start),\n endTimestamp: timeOrigin + msToSec(end),\n });\n}\n\n/** Create request and response related spans */\nfunction addRequest(transaction: Transaction, entry: Record, timeOrigin: number): void {\n _startChild(transaction, {\n op: 'browser',\n description: 'request',\n startTimestamp: timeOrigin + msToSec(entry.requestStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n\n _startChild(transaction, {\n op: 'browser',\n description: 'response',\n startTimestamp: timeOrigin + msToSec(entry.responseStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n}\n\n/**\n * Helper function to start child on transactions. This function will make sure that the transaction will\n * use the start timestamp of the created child span if it is earlier than the transactions actual\n * start timestamp.\n */\nexport function _startChild(transaction: Transaction, { startTimestamp, ...ctx }: SpanContext): Span {\n if (startTimestamp && transaction.startTimestamp > startTimestamp) {\n transaction.startTimestamp = startTimestamp;\n }\n\n return transaction.startChild({\n startTimestamp,\n ...ctx,\n });\n}\n\n/**\n * Checks if a given value is a valid measurement value.\n */\nfunction isMeasurementValue(value: any): boolean {\n return typeof value === 'number' && isFinite(value);\n}\n\n/** Add LCP / CLS data to transaction to allow debugging */\nfunction tagMetricInfo(\n transaction: Transaction,\n lcpEntry: MetricsInstrumentation['_lcpEntry'],\n clsEntry: MetricsInstrumentation['_clsEntry'],\n): void {\n if (lcpEntry) {\n logger.log('[Measurements] Adding LCP Data');\n\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (lcpEntry.element) {\n transaction.setTag('lcp.element', htmlTreeAsString(lcpEntry.element));\n }\n\n if (lcpEntry.id) {\n transaction.setTag('lcp.id', lcpEntry.id);\n }\n\n if (lcpEntry.url) {\n // Trim URL to the first 200 characters.\n transaction.setTag('lcp.url', lcpEntry.url.trim().slice(0, 200));\n }\n\n transaction.setTag('lcp.size', lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (clsEntry && clsEntry.sources) {\n logger.log('[Measurements] Adding CLS Data');\n clsEntry.sources.forEach((source, index) =>\n transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/request.d.ts b/node_modules/@sentry/tracing/dist/browser/request.d.ts new file mode 100644 index 000000000..f5cdb2b07 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/request.d.ts @@ -0,0 +1,72 @@ +import { Span } from '../span'; +export declare const DEFAULT_TRACING_ORIGINS: (string | RegExp)[]; +/** Options for Request Instrumentation */ +export interface RequestInstrumentationOptions { + /** + * List of strings / regex where the integration should create Spans out of. Additionally this will be used + * to define which outgoing requests the `sentry-trace` header will be attached to. + * + * Default: ['localhost', /^\//] {@see DEFAULT_TRACING_ORIGINS} + */ + tracingOrigins: Array; + /** + * Flag to disable patching all together for fetch requests. + * + * Default: true + */ + traceFetch: boolean; + /** + * Flag to disable patching all together for xhr requests. + * + * Default: true + */ + traceXHR: boolean; + /** + * This function will be called before creating a span for a request with the given url. + * Return false if you don't want a span for the given url. + * + * By default it uses the `tracingOrigins` options as a url match. + */ + shouldCreateSpanForRequest?(url: string): boolean; +} +/** Data returned from fetch callback */ +export interface FetchData { + args: any[]; + fetchData?: { + method: string; + url: string; + __span?: string; + }; + response?: any; + error?: unknown; + startTimestamp: number; + endTimestamp?: number; +} +/** Data returned from XHR request */ +export interface XHRData { + xhr?: { + __sentry_xhr__?: { + method: string; + url: string; + status_code: number; + data: Record; + }; + __sentry_xhr_span_id__?: string; + setRequestHeader?: (key: string, val: string) => void; + __sentry_own_request__?: boolean; + }; + startTimestamp: number; + endTimestamp?: number; +} +export declare const defaultRequestInstrumentationOptions: RequestInstrumentationOptions; +/** Registers span creators for xhr and fetch requests */ +export declare function instrumentOutgoingRequests(_options?: Partial): void; +/** + * Create and track fetch request spans + */ +export declare function fetchCallback(handlerData: FetchData, shouldCreateSpan: (url: string) => boolean, spans: Record): void; +/** + * Create and track xhr request spans + */ +export declare function xhrCallback(handlerData: XHRData, shouldCreateSpan: (url: string) => boolean, spans: Record): void; +//# sourceMappingURL=request.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/request.d.ts.map b/node_modules/@sentry/tracing/dist/browser/request.d.ts.map new file mode 100644 index 000000000..b50036a2d --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/request.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/browser/request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,eAAO,MAAM,uBAAuB,qBAAuB,CAAC;AAE5D,0CAA0C;AAC1C,MAAM,WAAW,6BAA6B;IAC5C;;;;;OAKG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEvC;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;;OAKG;IACH,0BAA0B,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACnD;AAED,wCAAwC;AACxC,MAAM,WAAW,SAAS;IAExB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,SAAS,CAAC,EAAE;QACV,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QAEZ,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IAIF,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qCAAqC;AACrC,MAAM,WAAW,OAAO;IACtB,GAAG,CAAC,EAAE;QACJ,cAAc,CAAC,EAAE;YACf,MAAM,EAAE,MAAM,CAAC;YACf,GAAG,EAAE,MAAM,CAAC;YACZ,WAAW,EAAE,MAAM,CAAC;YAEpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;SAC3B,CAAC;QACF,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QACtD,sBAAsB,CAAC,EAAE,OAAO,CAAC;KAClC,CAAC;IACF,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,oCAAoC,EAAE,6BAIlD,CAAC;AAEF,0DAA0D;AAC1D,wBAAgB,0BAA0B,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,IAAI,CA4ClG;AAED;;GAEG;AACH,wBAAgB,aAAa,CAC3B,WAAW,EAAE,SAAS,EACtB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,EAC1C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAC1B,IAAI,CA8DN;AAED;;GAEG;AACH,wBAAgB,WAAW,CACzB,WAAW,EAAE,OAAO,EACpB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,EAC1C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAC1B,IAAI,CAoDN"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/request.js b/node_modules/@sentry/tracing/dist/browser/request.js new file mode 100644 index 000000000..ca385e959 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/request.js @@ -0,0 +1,157 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +var utils_2 = require("../utils"); +exports.DEFAULT_TRACING_ORIGINS = ['localhost', /^\//]; +exports.defaultRequestInstrumentationOptions = { + traceFetch: true, + traceXHR: true, + tracingOrigins: exports.DEFAULT_TRACING_ORIGINS, +}; +/** Registers span creators for xhr and fetch requests */ +function instrumentOutgoingRequests(_options) { + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = tslib_1.__assign(tslib_1.__assign({}, exports.defaultRequestInstrumentationOptions), _options), traceFetch = _a.traceFetch, traceXHR = _a.traceXHR, tracingOrigins = _a.tracingOrigins, shouldCreateSpanForRequest = _a.shouldCreateSpanForRequest; + // We should cache url -> decision so that we don't have to compute + // regexp everytime we create a request. + var urlMap = {}; + var defaultShouldCreateSpan = function (url) { + if (urlMap[url]) { + return urlMap[url]; + } + var origins = tracingOrigins; + urlMap[url] = + origins.some(function (origin) { return utils_1.isMatchingPattern(url, origin); }) && + !utils_1.isMatchingPattern(url, 'sentry_key'); + return urlMap[url]; + }; + // We want that our users don't have to re-implement shouldCreateSpanForRequest themselves + // That's why we filter out already unwanted Spans from tracingOrigins + var shouldCreateSpan = defaultShouldCreateSpan; + if (typeof shouldCreateSpanForRequest === 'function') { + shouldCreateSpan = function (url) { + return defaultShouldCreateSpan(url) && shouldCreateSpanForRequest(url); + }; + } + var spans = {}; + if (traceFetch) { + utils_1.addInstrumentationHandler('fetch', function (handlerData) { + fetchCallback(handlerData, shouldCreateSpan, spans); + }); + } + if (traceXHR) { + utils_1.addInstrumentationHandler('xhr', function (handlerData) { + xhrCallback(handlerData, shouldCreateSpan, spans); + }); + } +} +exports.instrumentOutgoingRequests = instrumentOutgoingRequests; +/** + * Create and track fetch request spans + */ +function fetchCallback(handlerData, shouldCreateSpan, spans) { + if (!utils_2.hasTracingEnabled() || !(handlerData.fetchData && shouldCreateSpan(handlerData.fetchData.url))) { + return; + } + if (handlerData.endTimestamp) { + var spanId = handlerData.fetchData.__span; + if (!spanId) + return; + var span = spans[spanId]; + if (span) { + if (handlerData.response) { + // TODO (kmclb) remove this once types PR goes through + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + span.setHttpStatus(handlerData.response.status); + } + else if (handlerData.error) { + span.setStatus('internal_error'); + } + span.finish(); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete spans[spanId]; + } + return; + } + var activeTransaction = utils_2.getActiveTransaction(); + if (activeTransaction) { + var span = activeTransaction.startChild({ + data: tslib_1.__assign(tslib_1.__assign({}, handlerData.fetchData), { type: 'fetch' }), + description: handlerData.fetchData.method + " " + handlerData.fetchData.url, + op: 'http.client', + }); + handlerData.fetchData.__span = span.spanId; + spans[span.spanId] = span; + var request = (handlerData.args[0] = handlerData.args[0]); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var options = (handlerData.args[1] = handlerData.args[1] || {}); + var headers = options.headers; + if (utils_1.isInstanceOf(request, Request)) { + headers = request.headers; + } + if (headers) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (typeof headers.append === 'function') { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + headers.append('sentry-trace', span.toTraceparent()); + } + else if (Array.isArray(headers)) { + headers = tslib_1.__spread(headers, [['sentry-trace', span.toTraceparent()]]); + } + else { + headers = tslib_1.__assign(tslib_1.__assign({}, headers), { 'sentry-trace': span.toTraceparent() }); + } + } + else { + headers = { 'sentry-trace': span.toTraceparent() }; + } + options.headers = headers; + } +} +exports.fetchCallback = fetchCallback; +/** + * Create and track xhr request spans + */ +function xhrCallback(handlerData, shouldCreateSpan, spans) { + if (!utils_2.hasTracingEnabled() || + (handlerData.xhr && handlerData.xhr.__sentry_own_request__) || + !(handlerData.xhr && handlerData.xhr.__sentry_xhr__ && shouldCreateSpan(handlerData.xhr.__sentry_xhr__.url))) { + return; + } + var xhr = handlerData.xhr.__sentry_xhr__; + // check first if the request has finished and is tracked by an existing span which should now end + if (handlerData.endTimestamp) { + var spanId = handlerData.xhr.__sentry_xhr_span_id__; + if (!spanId) + return; + var span = spans[spanId]; + if (span) { + span.setHttpStatus(xhr.status_code); + span.finish(); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete spans[spanId]; + } + return; + } + // if not, create a new span to track it + var activeTransaction = utils_2.getActiveTransaction(); + if (activeTransaction) { + var span = activeTransaction.startChild({ + data: tslib_1.__assign(tslib_1.__assign({}, xhr.data), { type: 'xhr', method: xhr.method, url: xhr.url }), + description: xhr.method + " " + xhr.url, + op: 'http.client', + }); + handlerData.xhr.__sentry_xhr_span_id__ = span.spanId; + spans[handlerData.xhr.__sentry_xhr_span_id__] = span; + if (handlerData.xhr.setRequestHeader) { + try { + handlerData.xhr.setRequestHeader('sentry-trace', span.toTraceparent()); + } + catch (_) { + // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED. + } + } + } +} +exports.xhrCallback = xhrCallback; +//# sourceMappingURL=request.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/request.js.map b/node_modules/@sentry/tracing/dist/browser/request.js.map new file mode 100644 index 000000000..71a8f2bd0 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/request.js.map @@ -0,0 +1 @@ +{"version":3,"file":"request.js","sourceRoot":"","sources":["../../src/browser/request.ts"],"names":[],"mappings":"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","sourcesContent":["import { addInstrumentationHandler, isInstanceOf, isMatchingPattern } from '@sentry/utils';\n\nimport { Span } from '../span';\nimport { getActiveTransaction, hasTracingEnabled } from '../utils';\n\nexport const DEFAULT_TRACING_ORIGINS = ['localhost', /^\\//];\n\n/** Options for Request Instrumentation */\nexport interface RequestInstrumentationOptions {\n /**\n * List of strings / regex where the integration should create Spans out of. Additionally this will be used\n * to define which outgoing requests the `sentry-trace` header will be attached to.\n *\n * Default: ['localhost', /^\\//] {@see DEFAULT_TRACING_ORIGINS}\n */\n tracingOrigins: Array;\n\n /**\n * Flag to disable patching all together for fetch requests.\n *\n * Default: true\n */\n traceFetch: boolean;\n\n /**\n * Flag to disable patching all together for xhr requests.\n *\n * Default: true\n */\n traceXHR: boolean;\n\n /**\n * This function will be called before creating a span for a request with the given url.\n * Return false if you don't want a span for the given url.\n *\n * By default it uses the `tracingOrigins` options as a url match.\n */\n shouldCreateSpanForRequest?(url: string): boolean;\n}\n\n/** Data returned from fetch callback */\nexport interface FetchData {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n args: any[]; // the arguments passed to the fetch call itself\n fetchData?: {\n method: string;\n url: string;\n // span_id\n __span?: string;\n };\n\n // TODO Should this be unknown instead? If we vendor types, make it a Response\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n response?: any;\n error?: unknown;\n\n startTimestamp: number;\n endTimestamp?: number;\n}\n\n/** Data returned from XHR request */\nexport interface XHRData {\n xhr?: {\n __sentry_xhr__?: {\n method: string;\n url: string;\n status_code: number;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: Record;\n };\n __sentry_xhr_span_id__?: string;\n setRequestHeader?: (key: string, val: string) => void;\n __sentry_own_request__?: boolean;\n };\n startTimestamp: number;\n endTimestamp?: number;\n}\n\nexport const defaultRequestInstrumentationOptions: RequestInstrumentationOptions = {\n traceFetch: true,\n traceXHR: true,\n tracingOrigins: DEFAULT_TRACING_ORIGINS,\n};\n\n/** Registers span creators for xhr and fetch requests */\nexport function instrumentOutgoingRequests(_options?: Partial): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { traceFetch, traceXHR, tracingOrigins, shouldCreateSpanForRequest } = {\n ...defaultRequestInstrumentationOptions,\n ..._options,\n };\n\n // We should cache url -> decision so that we don't have to compute\n // regexp everytime we create a request.\n const urlMap: Record = {};\n\n const defaultShouldCreateSpan = (url: string): boolean => {\n if (urlMap[url]) {\n return urlMap[url];\n }\n const origins = tracingOrigins;\n urlMap[url] =\n origins.some((origin: string | RegExp) => isMatchingPattern(url, origin)) &&\n !isMatchingPattern(url, 'sentry_key');\n return urlMap[url];\n };\n\n // We want that our users don't have to re-implement shouldCreateSpanForRequest themselves\n // That's why we filter out already unwanted Spans from tracingOrigins\n let shouldCreateSpan = defaultShouldCreateSpan;\n if (typeof shouldCreateSpanForRequest === 'function') {\n shouldCreateSpan = (url: string) => {\n return defaultShouldCreateSpan(url) && shouldCreateSpanForRequest(url);\n };\n }\n\n const spans: Record = {};\n\n if (traceFetch) {\n addInstrumentationHandler('fetch', (handlerData: FetchData) => {\n fetchCallback(handlerData, shouldCreateSpan, spans);\n });\n }\n\n if (traceXHR) {\n addInstrumentationHandler('xhr', (handlerData: XHRData) => {\n xhrCallback(handlerData, shouldCreateSpan, spans);\n });\n }\n}\n\n/**\n * Create and track fetch request spans\n */\nexport function fetchCallback(\n handlerData: FetchData,\n shouldCreateSpan: (url: string) => boolean,\n spans: Record,\n): void {\n if (!hasTracingEnabled() || !(handlerData.fetchData && shouldCreateSpan(handlerData.fetchData.url))) {\n return;\n }\n\n if (handlerData.endTimestamp) {\n const spanId = handlerData.fetchData.__span;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n if (handlerData.response) {\n // TODO (kmclb) remove this once types PR goes through\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n span.setHttpStatus(handlerData.response.status);\n } else if (handlerData.error) {\n span.setStatus('internal_error');\n }\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const span = activeTransaction.startChild({\n data: {\n ...handlerData.fetchData,\n type: 'fetch',\n },\n description: `${handlerData.fetchData.method} ${handlerData.fetchData.url}`,\n op: 'http.client',\n });\n\n handlerData.fetchData.__span = span.spanId;\n spans[span.spanId] = span;\n\n const request = (handlerData.args[0] = handlerData.args[0] as string | Request);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const options = (handlerData.args[1] = (handlerData.args[1] as { [key: string]: any }) || {});\n let headers = options.headers;\n if (isInstanceOf(request, Request)) {\n headers = (request as Request).headers;\n }\n if (headers) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (typeof headers.append === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n headers.append('sentry-trace', span.toTraceparent());\n } else if (Array.isArray(headers)) {\n headers = [...headers, ['sentry-trace', span.toTraceparent()]];\n } else {\n headers = { ...headers, 'sentry-trace': span.toTraceparent() };\n }\n } else {\n headers = { 'sentry-trace': span.toTraceparent() };\n }\n options.headers = headers;\n }\n}\n\n/**\n * Create and track xhr request spans\n */\nexport function xhrCallback(\n handlerData: XHRData,\n shouldCreateSpan: (url: string) => boolean,\n spans: Record,\n): void {\n if (\n !hasTracingEnabled() ||\n (handlerData.xhr && handlerData.xhr.__sentry_own_request__) ||\n !(handlerData.xhr && handlerData.xhr.__sentry_xhr__ && shouldCreateSpan(handlerData.xhr.__sentry_xhr__.url))\n ) {\n return;\n }\n\n const xhr = handlerData.xhr.__sentry_xhr__;\n\n // check first if the request has finished and is tracked by an existing span which should now end\n if (handlerData.endTimestamp) {\n const spanId = handlerData.xhr.__sentry_xhr_span_id__;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n span.setHttpStatus(xhr.status_code);\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n // if not, create a new span to track it\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const span = activeTransaction.startChild({\n data: {\n ...xhr.data,\n type: 'xhr',\n method: xhr.method,\n url: xhr.url,\n },\n description: `${xhr.method} ${xhr.url}`,\n op: 'http.client',\n });\n\n handlerData.xhr.__sentry_xhr_span_id__ = span.spanId;\n spans[handlerData.xhr.__sentry_xhr_span_id__] = span;\n\n if (handlerData.xhr.setRequestHeader) {\n try {\n handlerData.xhr.setRequestHeader('sentry-trace', span.toTraceparent());\n } catch (_) {\n // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.\n }\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/router.d.ts b/node_modules/@sentry/tracing/dist/browser/router.d.ts new file mode 100644 index 000000000..bdd4b086b --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/router.d.ts @@ -0,0 +1,6 @@ +import { Transaction, TransactionContext } from '@sentry/types'; +/** + * Default function implementing pageload and navigation transactions + */ +export declare function instrumentRoutingWithDefaults(customStartTransaction: (context: TransactionContext) => T | undefined, startTransactionOnPageLoad?: boolean, startTransactionOnLocationChange?: boolean): void; +//# sourceMappingURL=router.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/router.d.ts.map b/node_modules/@sentry/tracing/dist/browser/router.d.ts.map new file mode 100644 index 000000000..bbc950395 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/router.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/browser/router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAKhE;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,CAAC,SAAS,WAAW,EACjE,sBAAsB,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,CAAC,GAAG,SAAS,EACtE,0BAA0B,GAAE,OAAc,EAC1C,gCAAgC,GAAE,OAAc,GAC/C,IAAI,CAwCN"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/router.js b/node_modules/@sentry/tracing/dist/browser/router.js new file mode 100644 index 000000000..7ea41594f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/router.js @@ -0,0 +1,48 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var global = utils_1.getGlobalObject(); +/** + * Default function implementing pageload and navigation transactions + */ +function instrumentRoutingWithDefaults(customStartTransaction, startTransactionOnPageLoad, startTransactionOnLocationChange) { + if (startTransactionOnPageLoad === void 0) { startTransactionOnPageLoad = true; } + if (startTransactionOnLocationChange === void 0) { startTransactionOnLocationChange = true; } + if (!global || !global.location) { + utils_1.logger.warn('Could not initialize routing instrumentation due to invalid location'); + return; + } + var startingUrl = global.location.href; + var activeTransaction; + if (startTransactionOnPageLoad) { + activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'pageload' }); + } + if (startTransactionOnLocationChange) { + utils_1.addInstrumentationHandler('history', function (_a) { + var to = _a.to, from = _a.from; + /** + * This early return is there to account for some cases where a navigation transaction starts right after + * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't + * create an uneccessary navigation transaction. + * + * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also + * only be caused in certain development environments where the usage of a hot module reloader is causing + * errors. + */ + if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) { + startingUrl = undefined; + return; + } + if (from !== to) { + startingUrl = undefined; + if (activeTransaction) { + utils_1.logger.log("[Tracing] Finishing current transaction with op: " + activeTransaction.op); + // If there's an open transaction on the scope, we need to finish it before creating an new one. + activeTransaction.finish(); + } + activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'navigation' }); + } + }); + } +} +exports.instrumentRoutingWithDefaults = instrumentRoutingWithDefaults; +//# sourceMappingURL=router.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/router.js.map b/node_modules/@sentry/tracing/dist/browser/router.js.map new file mode 100644 index 000000000..8b248efab --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/router.js.map @@ -0,0 +1 @@ +{"version":3,"file":"router.js","sourceRoot":"","sources":["../../src/browser/router.ts"],"names":[],"mappings":";AACA,uCAAmF;AAEnF,IAAM,MAAM,GAAG,uBAAe,EAAU,CAAC;AAEzC;;GAEG;AACH,SAAgB,6BAA6B,CAC3C,sBAAsE,EACtE,0BAA0C,EAC1C,gCAAgD;IADhD,2CAAA,EAAA,iCAA0C;IAC1C,iDAAA,EAAA,uCAAgD;IAEhD,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;QAC/B,cAAM,CAAC,IAAI,CAAC,sEAAsE,CAAC,CAAC;QACpF,OAAO;KACR;IAED,IAAI,WAAW,GAAuB,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;IAE3D,IAAI,iBAAgC,CAAC;IACrC,IAAI,0BAA0B,EAAE;QAC9B,iBAAiB,GAAG,sBAAsB,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;KAChG;IAED,IAAI,gCAAgC,EAAE;QACpC,iCAAyB,CAAC,SAAS,EAAE,UAAC,EAA2C;gBAAzC,UAAE,EAAE,cAAI;YAC9C;;;;;;;;eAQG;YACH,IAAI,IAAI,KAAK,SAAS,IAAI,WAAW,IAAI,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE;gBACvE,WAAW,GAAG,SAAS,CAAC;gBACxB,OAAO;aACR;YAED,IAAI,IAAI,KAAK,EAAE,EAAE;gBACf,WAAW,GAAG,SAAS,CAAC;gBACxB,IAAI,iBAAiB,EAAE;oBACrB,cAAM,CAAC,GAAG,CAAC,sDAAoD,iBAAiB,CAAC,EAAI,CAAC,CAAC;oBACvF,gGAAgG;oBAChG,iBAAiB,CAAC,MAAM,EAAE,CAAC;iBAC5B;gBACD,iBAAiB,GAAG,sBAAsB,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC;aAClG;QACH,CAAC,CAAC,CAAC;KACJ;AACH,CAAC;AA5CD,sEA4CC","sourcesContent":["import { Transaction, TransactionContext } from '@sentry/types';\nimport { addInstrumentationHandler, getGlobalObject, logger } from '@sentry/utils';\n\nconst global = getGlobalObject();\n\n/**\n * Default function implementing pageload and navigation transactions\n */\nexport function instrumentRoutingWithDefaults(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad: boolean = true,\n startTransactionOnLocationChange: boolean = true,\n): void {\n if (!global || !global.location) {\n logger.warn('Could not initialize routing instrumentation due to invalid location');\n return;\n }\n\n let startingUrl: string | undefined = global.location.href;\n\n let activeTransaction: T | undefined;\n if (startTransactionOnPageLoad) {\n activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'pageload' });\n }\n\n if (startTransactionOnLocationChange) {\n addInstrumentationHandler('history', ({ to, from }: { to: string; from?: string }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n if (activeTransaction) {\n logger.log(`[Tracing] Finishing current transaction with op: ${activeTransaction.op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeTransaction.finish();\n }\n activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'navigation' });\n }\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.d.ts new file mode 100644 index 000000000..9d296d175 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.d.ts @@ -0,0 +1,14 @@ +import { ReportHandler } from './types'; +export interface LayoutShift extends PerformanceEntry { + value: number; + hadRecentInput: boolean; + sources: Array; + toJSON(): Record; +} +export interface LayoutShiftAttribution { + node?: Node; + previousRect: DOMRectReadOnly; + currentRect: DOMRectReadOnly; +} +export declare const getCLS: (onReport: ReportHandler, reportAllChanges?: boolean | undefined) => void; +//# sourceMappingURL=getCLS.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.d.ts.map new file mode 100644 index 000000000..24e376e93 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getCLS.d.ts","sourceRoot":"","sources":["../../../src/browser/web-vitals/getCLS.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACvC,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,YAAY,EAAE,eAAe,CAAC;IAC9B,WAAW,EAAE,eAAe,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,2EAmDlB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.js new file mode 100644 index 000000000..73da845d1 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.js @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var bindReporter_1 = require("./lib/bindReporter"); +var initMetric_1 = require("./lib/initMetric"); +var observe_1 = require("./lib/observe"); +var onHidden_1 = require("./lib/onHidden"); +exports.getCLS = function (onReport, reportAllChanges) { + var metric = initMetric_1.initMetric('CLS', 0); + var report; + var sessionValue = 0; + var sessionEntries = []; + var entryHandler = function (entry) { + // Only count layout shifts without recent user input. + // TODO: Figure out why entry can be undefined + if (entry && !entry.hadRecentInput) { + var firstSessionEntry = sessionEntries[0]; + var lastSessionEntry = sessionEntries[sessionEntries.length - 1]; + // If the entry occurred less than 1 second after the previous entry and + // less than 5 seconds after the first entry in the session, include the + // entry in the current session. Otherwise, start a new session. + if (sessionValue && + sessionEntries.length !== 0 && + entry.startTime - lastSessionEntry.startTime < 1000 && + entry.startTime - firstSessionEntry.startTime < 5000) { + sessionValue += entry.value; + sessionEntries.push(entry); + } + else { + sessionValue = entry.value; + sessionEntries = [entry]; + } + // If the current session value is larger than the current CLS value, + // update CLS and the entries contributing to it. + if (sessionValue > metric.value) { + metric.value = sessionValue; + metric.entries = sessionEntries; + if (report) { + report(); + } + } + } + }; + var po = observe_1.observe('layout-shift', entryHandler); + if (po) { + report = bindReporter_1.bindReporter(onReport, metric, reportAllChanges); + onHidden_1.onHidden(function () { + po.takeRecords().map(entryHandler); + report(true); + }); + } +}; +//# sourceMappingURL=getCLS.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.js.map new file mode 100644 index 000000000..7a6f4e405 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getCLS.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getCLS.js","sourceRoot":"","sources":["../../../src/browser/web-vitals/getCLS.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,mDAAkD;AAClD,+CAA8C;AAC9C,yCAAiE;AACjE,2CAA0C;AAiB7B,QAAA,MAAM,GAAG,UAAC,QAAuB,EAAE,gBAA0B;IACxE,IAAM,MAAM,GAAG,uBAAU,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACpC,IAAI,MAAuC,CAAC;IAE5C,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,IAAI,cAAc,GAAuB,EAAE,CAAC;IAE5C,IAAM,YAAY,GAAG,UAAC,KAAkB;QACtC,sDAAsD;QACtD,8CAA8C;QAC9C,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE;YAClC,IAAM,iBAAiB,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;YAC5C,IAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YAEnE,wEAAwE;YACxE,wEAAwE;YACxE,gEAAgE;YAChE,IACE,YAAY;gBACZ,cAAc,CAAC,MAAM,KAAK,CAAC;gBAC3B,KAAK,CAAC,SAAS,GAAG,gBAAgB,CAAC,SAAS,GAAG,IAAI;gBACnD,KAAK,CAAC,SAAS,GAAG,iBAAiB,CAAC,SAAS,GAAG,IAAI,EACpD;gBACA,YAAY,IAAI,KAAK,CAAC,KAAK,CAAC;gBAC5B,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aAC5B;iBAAM;gBACL,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC;gBAC3B,cAAc,GAAG,CAAC,KAAK,CAAC,CAAC;aAC1B;YAED,qEAAqE;YACrE,iDAAiD;YACjD,IAAI,YAAY,GAAG,MAAM,CAAC,KAAK,EAAE;gBAC/B,MAAM,CAAC,KAAK,GAAG,YAAY,CAAC;gBAC5B,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;gBAChC,IAAI,MAAM,EAAE;oBACV,MAAM,EAAE,CAAC;iBACV;aACF;SACF;IACH,CAAC,CAAC;IAEF,IAAM,EAAE,GAAG,iBAAO,CAAC,cAAc,EAAE,YAAuC,CAAC,CAAC;IAC5E,IAAI,EAAE,EAAE;QACN,MAAM,GAAG,2BAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAE1D,mBAAQ,CAAC;YACP,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,YAAuC,CAAC,CAAC;YAC9D,MAAM,CAAC,IAAI,CAAC,CAAC;QACf,CAAC,CAAC,CAAC;KACJ;AACH,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { ReportHandler } from './types';\n\n// https://wicg.github.io/layout-instability/#sec-layout-shift\nexport interface LayoutShift extends PerformanceEntry {\n value: number;\n hadRecentInput: boolean;\n sources: Array;\n toJSON(): Record;\n}\n\nexport interface LayoutShiftAttribution {\n node?: Node;\n previousRect: DOMRectReadOnly;\n currentRect: DOMRectReadOnly;\n}\n\nexport const getCLS = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const metric = initMetric('CLS', 0);\n let report: ReturnType;\n\n let sessionValue = 0;\n let sessionEntries: PerformanceEntry[] = [];\n\n const entryHandler = (entry: LayoutShift): void => {\n // Only count layout shifts without recent user input.\n // TODO: Figure out why entry can be undefined\n if (entry && !entry.hadRecentInput) {\n const firstSessionEntry = sessionEntries[0];\n const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n\n // If the entry occurred less than 1 second after the previous entry and\n // less than 5 seconds after the first entry in the session, include the\n // entry in the current session. Otherwise, start a new session.\n if (\n sessionValue &&\n sessionEntries.length !== 0 &&\n entry.startTime - lastSessionEntry.startTime < 1000 &&\n entry.startTime - firstSessionEntry.startTime < 5000\n ) {\n sessionValue += entry.value;\n sessionEntries.push(entry);\n } else {\n sessionValue = entry.value;\n sessionEntries = [entry];\n }\n\n // If the current session value is larger than the current CLS value,\n // update CLS and the entries contributing to it.\n if (sessionValue > metric.value) {\n metric.value = sessionValue;\n metric.entries = sessionEntries;\n if (report) {\n report();\n }\n }\n }\n };\n\n const po = observe('layout-shift', entryHandler as PerformanceEntryHandler);\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n\n onHidden(() => {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n report(true);\n });\n }\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.d.ts new file mode 100644 index 000000000..3ffc414b2 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.d.ts @@ -0,0 +1,3 @@ +import { ReportHandler } from './types'; +export declare const getFID: (onReport: ReportHandler, reportAllChanges?: boolean | undefined) => void; +//# sourceMappingURL=getFID.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.d.ts.map new file mode 100644 index 000000000..0be9ce2ac --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getFID.d.ts","sourceRoot":"","sources":["../../../src/browser/web-vitals/getFID.ts"],"names":[],"mappings":"AAqBA,OAAO,EAA0B,aAAa,EAAE,MAAM,SAAS,CAAC;AAEhE,eAAO,MAAM,MAAM,2EAsBlB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.js new file mode 100644 index 000000000..337164e78 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.js @@ -0,0 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var bindReporter_1 = require("./lib/bindReporter"); +var getVisibilityWatcher_1 = require("./lib/getVisibilityWatcher"); +var initMetric_1 = require("./lib/initMetric"); +var observe_1 = require("./lib/observe"); +var onHidden_1 = require("./lib/onHidden"); +exports.getFID = function (onReport, reportAllChanges) { + var visibilityWatcher = getVisibilityWatcher_1.getVisibilityWatcher(); + var metric = initMetric_1.initMetric('FID'); + var report; + var entryHandler = function (entry) { + // Only report if the page wasn't hidden prior to the first input. + if (report && entry.startTime < visibilityWatcher.firstHiddenTime) { + metric.value = entry.processingStart - entry.startTime; + metric.entries.push(entry); + report(true); + } + }; + var po = observe_1.observe('first-input', entryHandler); + if (po) { + report = bindReporter_1.bindReporter(onReport, metric, reportAllChanges); + onHidden_1.onHidden(function () { + po.takeRecords().map(entryHandler); + po.disconnect(); + }, true); + } +}; +//# sourceMappingURL=getFID.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.js.map new file mode 100644 index 000000000..1b23078a5 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getFID.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getFID.js","sourceRoot":"","sources":["../../../src/browser/web-vitals/getFID.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,mDAAkD;AAClD,mEAAkE;AAClE,+CAA8C;AAC9C,yCAAiE;AACjE,2CAA0C;AAG7B,QAAA,MAAM,GAAG,UAAC,QAAuB,EAAE,gBAA0B;IACxE,IAAM,iBAAiB,GAAG,2CAAoB,EAAE,CAAC;IACjD,IAAM,MAAM,GAAG,uBAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,MAAuC,CAAC;IAE5C,IAAM,YAAY,GAAG,UAAC,KAA6B;QACjD,kEAAkE;QAClE,IAAI,MAAM,IAAI,KAAK,CAAC,SAAS,GAAG,iBAAiB,CAAC,eAAe,EAAE;YACjE,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC,SAAS,CAAC;YACvD,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC3B,MAAM,CAAC,IAAI,CAAC,CAAC;SACd;IACH,CAAC,CAAC;IAEF,IAAM,EAAE,GAAG,iBAAO,CAAC,aAAa,EAAE,YAAuC,CAAC,CAAC;IAC3E,IAAI,EAAE,EAAE;QACN,MAAM,GAAG,2BAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAC1D,mBAAQ,CAAC;YACP,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,YAAuC,CAAC,CAAC;YAC9D,EAAE,CAAC,UAAU,EAAE,CAAC;QAClB,CAAC,EAAE,IAAI,CAAC,CAAC;KACV;AACH,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { PerformanceEventTiming, ReportHandler } from './types';\n\nexport const getFID = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FID');\n let report: ReturnType;\n\n const entryHandler = (entry: PerformanceEventTiming): void => {\n // Only report if the page wasn't hidden prior to the first input.\n if (report && entry.startTime < visibilityWatcher.firstHiddenTime) {\n metric.value = entry.processingStart - entry.startTime;\n metric.entries.push(entry);\n report(true);\n }\n };\n\n const po = observe('first-input', entryHandler as PerformanceEntryHandler);\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n onHidden(() => {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n po.disconnect();\n }, true);\n }\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.d.ts new file mode 100644 index 000000000..571d4d274 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.d.ts @@ -0,0 +1,12 @@ +import { ReportHandler } from './types'; +export interface LargestContentfulPaint extends PerformanceEntry { + renderTime: DOMHighResTimeStamp; + loadTime: DOMHighResTimeStamp; + size: number; + id: string; + url: string; + element?: Element; + toJSON(): Record; +} +export declare const getLCP: (onReport: ReportHandler, reportAllChanges?: boolean | undefined) => void; +//# sourceMappingURL=getLCP.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.d.ts.map new file mode 100644 index 000000000..ae6f10b8f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getLCP.d.ts","sourceRoot":"","sources":["../../../src/browser/web-vitals/getLCP.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,UAAU,EAAE,mBAAmB,CAAC;IAChC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC;AAID,eAAO,MAAM,MAAM,2EA6ClB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.js new file mode 100644 index 000000000..fa42b2933 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.js @@ -0,0 +1,61 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var bindReporter_1 = require("./lib/bindReporter"); +var getVisibilityWatcher_1 = require("./lib/getVisibilityWatcher"); +var initMetric_1 = require("./lib/initMetric"); +var observe_1 = require("./lib/observe"); +var onHidden_1 = require("./lib/onHidden"); +var reportedMetricIDs = {}; +exports.getLCP = function (onReport, reportAllChanges) { + var visibilityWatcher = getVisibilityWatcher_1.getVisibilityWatcher(); + var metric = initMetric_1.initMetric('LCP'); + var report; + var entryHandler = function (entry) { + // The startTime attribute returns the value of the renderTime if it is not 0, + // and the value of the loadTime otherwise. + var value = entry.startTime; + // If the page was hidden prior to paint time of the entry, + // ignore it and mark the metric as final, otherwise add the entry. + if (value < visibilityWatcher.firstHiddenTime) { + metric.value = value; + metric.entries.push(entry); + } + if (report) { + report(); + } + }; + var po = observe_1.observe('largest-contentful-paint', entryHandler); + if (po) { + report = bindReporter_1.bindReporter(onReport, metric, reportAllChanges); + var stopListening_1 = function () { + if (!reportedMetricIDs[metric.id]) { + po.takeRecords().map(entryHandler); + po.disconnect(); + reportedMetricIDs[metric.id] = true; + report(true); + } + }; + // Stop listening after input. Note: while scrolling is an input that + // stop LCP observation, it's unreliable since it can be programmatically + // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75 + ['keydown', 'click'].forEach(function (type) { + addEventListener(type, stopListening_1, { once: true, capture: true }); + }); + onHidden_1.onHidden(stopListening_1, true); + } +}; +//# sourceMappingURL=getLCP.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.js.map new file mode 100644 index 000000000..51924dc3c --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/getLCP.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getLCP.js","sourceRoot":"","sources":["../../../src/browser/web-vitals/getLCP.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,mDAAkD;AAClD,mEAAkE;AAClE,+CAA8C;AAC9C,yCAAiE;AACjE,2CAA0C;AAc1C,IAAM,iBAAiB,GAA4B,EAAE,CAAC;AAEzC,QAAA,MAAM,GAAG,UAAC,QAAuB,EAAE,gBAA0B;IACxE,IAAM,iBAAiB,GAAG,2CAAoB,EAAE,CAAC;IACjD,IAAM,MAAM,GAAG,uBAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,MAAuC,CAAC;IAE5C,IAAM,YAAY,GAAG,UAAC,KAAuB;QAC3C,8EAA8E;QAC9E,2CAA2C;QAC3C,IAAM,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC;QAE9B,2DAA2D;QAC3D,mEAAmE;QACnE,IAAI,KAAK,GAAG,iBAAiB,CAAC,eAAe,EAAE;YAC7C,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;YACrB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC5B;QAED,IAAI,MAAM,EAAE;YACV,MAAM,EAAE,CAAC;SACV;IACH,CAAC,CAAC;IAEF,IAAM,EAAE,GAAG,iBAAO,CAAC,0BAA0B,EAAE,YAAY,CAAC,CAAC;IAE7D,IAAI,EAAE,EAAE;QACN,MAAM,GAAG,2BAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAE1D,IAAM,eAAa,GAAG;YACpB,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;gBACjC,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,YAAuC,CAAC,CAAC;gBAC9D,EAAE,CAAC,UAAU,EAAE,CAAC;gBAChB,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;gBACpC,MAAM,CAAC,IAAI,CAAC,CAAC;aACd;QACH,CAAC,CAAC;QAEF,qEAAqE;QACrE,yEAAyE;QACzE,uEAAuE;QACvE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,UAAA,IAAI;YAC/B,gBAAgB,CAAC,IAAI,EAAE,eAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QACvE,CAAC,CAAC,CAAC;QAEH,mBAAQ,CAAC,eAAa,EAAE,IAAI,CAAC,CAAC;KAC/B;AACH,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { ReportHandler } from './types';\n\n// https://wicg.github.io/largest-contentful-paint/#sec-largest-contentful-paint-interface\nexport interface LargestContentfulPaint extends PerformanceEntry {\n renderTime: DOMHighResTimeStamp;\n loadTime: DOMHighResTimeStamp;\n size: number;\n id: string;\n url: string;\n element?: Element;\n toJSON(): Record;\n}\n\nconst reportedMetricIDs: Record = {};\n\nexport const getLCP = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('LCP');\n let report: ReturnType;\n\n const entryHandler = (entry: PerformanceEntry): void => {\n // The startTime attribute returns the value of the renderTime if it is not 0,\n // and the value of the loadTime otherwise.\n const value = entry.startTime;\n\n // If the page was hidden prior to paint time of the entry,\n // ignore it and mark the metric as final, otherwise add the entry.\n if (value < visibilityWatcher.firstHiddenTime) {\n metric.value = value;\n metric.entries.push(entry);\n }\n\n if (report) {\n report();\n }\n };\n\n const po = observe('largest-contentful-paint', entryHandler);\n\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n\n const stopListening = (): void => {\n if (!reportedMetricIDs[metric.id]) {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n po.disconnect();\n reportedMetricIDs[metric.id] = true;\n report(true);\n }\n };\n\n // Stop listening after input. Note: while scrolling is an input that\n // stop LCP observation, it's unreliable since it can be programmatically\n // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75\n ['keydown', 'click'].forEach(type => {\n addEventListener(type, stopListening, { once: true, capture: true });\n });\n\n onHidden(stopListening, true);\n }\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.d.ts new file mode 100644 index 000000000..56d73e418 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.d.ts @@ -0,0 +1,3 @@ +import { Metric, ReportHandler } from '../types'; +export declare const bindReporter: (callback: ReportHandler, metric: Metric, reportAllChanges?: boolean | undefined) => (forceReport?: boolean | undefined) => void; +//# sourceMappingURL=bindReporter.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.d.ts.map new file mode 100644 index 000000000..fae0fffcc --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bindReporter.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/bindReporter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,YAAY,kIAsBxB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.js new file mode 100644 index 000000000..5ffb1c601 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.js @@ -0,0 +1,35 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.bindReporter = function (callback, metric, reportAllChanges) { + var prevValue; + return function (forceReport) { + if (metric.value >= 0) { + if (forceReport || reportAllChanges) { + metric.delta = metric.value - (prevValue || 0); + // Report the metric if there's a non-zero delta or if no previous + // value exists (which can happen in the case of the document becoming + // hidden when the metric value is 0). + // See: https://github.com/GoogleChrome/web-vitals/issues/14 + if (metric.delta || prevValue === undefined) { + prevValue = metric.value; + callback(metric); + } + } + } + }; +}; +//# sourceMappingURL=bindReporter.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.js.map new file mode 100644 index 000000000..da4fa622c --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/bindReporter.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bindReporter.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/bindReporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIU,QAAA,YAAY,GAAG,UAC1B,QAAuB,EACvB,MAAc,EACd,gBAA0B;IAE1B,IAAI,SAAiB,CAAC;IACtB,OAAO,UAAC,WAAqB;QAC3B,IAAI,MAAM,CAAC,KAAK,IAAI,CAAC,EAAE;YACrB,IAAI,WAAW,IAAI,gBAAgB,EAAE;gBACnC,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC;gBAE/C,kEAAkE;gBAClE,sEAAsE;gBACtE,sCAAsC;gBACtC,4DAA4D;gBAC5D,IAAI,MAAM,CAAC,KAAK,IAAI,SAAS,KAAK,SAAS,EAAE;oBAC3C,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC;oBACzB,QAAQ,CAAC,MAAM,CAAC,CAAC;iBAClB;aACF;SACF;IACH,CAAC,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Metric, ReportHandler } from '../types';\n\nexport const bindReporter = (\n callback: ReportHandler,\n metric: Metric,\n reportAllChanges?: boolean,\n): ((forceReport?: boolean) => void) => {\n let prevValue: number;\n return (forceReport?: boolean) => {\n if (metric.value >= 0) {\n if (forceReport || reportAllChanges) {\n metric.delta = metric.value - (prevValue || 0);\n\n // Report the metric if there's a non-zero delta or if no previous\n // value exists (which can happen in the case of the document becoming\n // hidden when the metric value is 0).\n // See: https://github.com/GoogleChrome/web-vitals/issues/14\n if (metric.delta || prevValue === undefined) {\n prevValue = metric.value;\n callback(metric);\n }\n }\n }\n };\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.d.ts new file mode 100644 index 000000000..8fdfdecb4 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.d.ts @@ -0,0 +1,7 @@ +/** + * Performantly generate a unique, 30-char string by combining a version + * number, the current timestamp with a 13-digit number integer. + * @return {string} + */ +export declare const generateUniqueID: () => string; +//# sourceMappingURL=generateUniqueID.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.d.ts.map new file mode 100644 index 000000000..b6ae11f46 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"generateUniqueID.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/generateUniqueID.ts"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,cAE5B,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.js new file mode 100644 index 000000000..fca5daff7 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.js @@ -0,0 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Performantly generate a unique, 30-char string by combining a version + * number, the current timestamp with a 13-digit number integer. + * @return {string} + */ +exports.generateUniqueID = function () { + return "v2-" + Date.now() + "-" + (Math.floor(Math.random() * (9e12 - 1)) + 1e12); +}; +//# sourceMappingURL=generateUniqueID.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.js.map new file mode 100644 index 000000000..694b08415 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/generateUniqueID.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generateUniqueID.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/generateUniqueID.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH;;;;GAIG;AACU,QAAA,gBAAgB,GAAG;IAC9B,OAAO,QAAM,IAAI,CAAC,GAAG,EAAE,UAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAAE,CAAC;AAC7E,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Performantly generate a unique, 30-char string by combining a version\n * number, the current timestamp with a 13-digit number integer.\n * @return {string}\n */\nexport const generateUniqueID = (): string => {\n return `v2-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.d.ts new file mode 100644 index 000000000..26b92b5dc --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.d.ts @@ -0,0 +1,4 @@ +export declare const getVisibilityWatcher: () => { + readonly firstHiddenTime: number; +}; +//# sourceMappingURL=getVisibilityWatcher.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.d.ts.map new file mode 100644 index 000000000..9e97b405f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getVisibilityWatcher.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/getVisibilityWatcher.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,oBAAoB;;CAgBhC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.js new file mode 100644 index 000000000..da7bf9150 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.js @@ -0,0 +1,45 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var onHidden_1 = require("./onHidden"); +var firstHiddenTime = -1; +var initHiddenTime = function () { + return utils_1.getGlobalObject().document.visibilityState === 'hidden' ? 0 : Infinity; +}; +var trackChanges = function () { + // Update the time if/when the document becomes hidden. + onHidden_1.onHidden(function (_a) { + var timeStamp = _a.timeStamp; + firstHiddenTime = timeStamp; + }, true); +}; +exports.getVisibilityWatcher = function () { + if (firstHiddenTime < 0) { + // If the document is hidden when this code runs, assume it was hidden + // since navigation start. This isn't a perfect heuristic, but it's the + // best we can do until an API is available to support querying past + // visibilityState. + firstHiddenTime = initHiddenTime(); + trackChanges(); + } + return { + get firstHiddenTime() { + return firstHiddenTime; + }, + }; +}; +//# sourceMappingURL=getVisibilityWatcher.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.js.map new file mode 100644 index 000000000..e805e7ef1 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/getVisibilityWatcher.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getVisibilityWatcher.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/getVisibilityWatcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,uCAAgD;AAEhD,uCAAsC;AAEtC,IAAI,eAAe,GAAG,CAAC,CAAC,CAAC;AAEzB,IAAM,cAAc,GAAG;IACrB,OAAO,uBAAe,EAAU,CAAC,QAAQ,CAAC,eAAe,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;AACxF,CAAC,CAAC;AAEF,IAAM,YAAY,GAAG;IACnB,uDAAuD;IACvD,mBAAQ,CAAC,UAAC,EAAa;YAAX,wBAAS;QACnB,eAAe,GAAG,SAAS,CAAC;IAC9B,CAAC,EAAE,IAAI,CAAC,CAAC;AACX,CAAC,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAGlC,IAAI,eAAe,GAAG,CAAC,EAAE;QACvB,sEAAsE;QACtE,uEAAuE;QACvE,oEAAoE;QACpE,mBAAmB;QACnB,eAAe,GAAG,cAAc,EAAE,CAAC;QACnC,YAAY,EAAE,CAAC;KAChB;IACD,OAAO;QACL,IAAI,eAAe;YACjB,OAAO,eAAe,CAAC;QACzB,CAAC;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalObject } from '@sentry/utils';\n\nimport { onHidden } from './onHidden';\n\nlet firstHiddenTime = -1;\n\nconst initHiddenTime = (): number => {\n return getGlobalObject().document.visibilityState === 'hidden' ? 0 : Infinity;\n};\n\nconst trackChanges = (): void => {\n // Update the time if/when the document becomes hidden.\n onHidden(({ timeStamp }) => {\n firstHiddenTime = timeStamp;\n }, true);\n};\n\nexport const getVisibilityWatcher = (): {\n readonly firstHiddenTime: number;\n} => {\n if (firstHiddenTime < 0) {\n // If the document is hidden when this code runs, assume it was hidden\n // since navigation start. This isn't a perfect heuristic, but it's the\n // best we can do until an API is available to support querying past\n // visibilityState.\n firstHiddenTime = initHiddenTime();\n trackChanges();\n }\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n },\n };\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.d.ts new file mode 100644 index 000000000..87b51aa3f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.d.ts @@ -0,0 +1,3 @@ +import { Metric } from '../types'; +export declare const initMetric: (name: "CLS" | "FCP" | "FID" | "LCP" | "TTFB" | "UpdatedCLS", value?: number | undefined) => Metric; +//# sourceMappingURL=initMetric.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.d.ts.map new file mode 100644 index 000000000..84f96ec35 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"initMetric.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/initMetric.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,eAAO,MAAM,UAAU,qGAQtB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.js new file mode 100644 index 000000000..7bf337a3d --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.js @@ -0,0 +1,27 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var generateUniqueID_1 = require("./generateUniqueID"); +exports.initMetric = function (name, value) { + return { + name: name, + value: (value !== null && value !== void 0 ? value : -1), + delta: 0, + entries: [], + id: generateUniqueID_1.generateUniqueID(), + }; +}; +//# sourceMappingURL=initMetric.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.js.map new file mode 100644 index 000000000..1d6c2ae31 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/initMetric.js.map @@ -0,0 +1 @@ +{"version":3,"file":"initMetric.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/initMetric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,uDAAsD;AAEzC,QAAA,UAAU,GAAG,UAAC,IAAoB,EAAE,KAAc;IAC7D,OAAO;QACL,IAAI,MAAA;QACJ,KAAK,GAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,CAAC,CAAC,CAAA;QAClB,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,EAAE;QACX,EAAE,EAAE,mCAAgB,EAAE;KACvB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Metric } from '../types';\nimport { generateUniqueID } from './generateUniqueID';\n\nexport const initMetric = (name: Metric['name'], value?: number): Metric => {\n return {\n name,\n value: value ?? -1,\n delta: 0,\n entries: [],\n id: generateUniqueID(),\n };\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.d.ts new file mode 100644 index 000000000..8e73bd241 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.d.ts @@ -0,0 +1,13 @@ +export interface PerformanceEntryHandler { + (entry: PerformanceEntry): void; +} +/** + * Takes a performance entry type and a callback function, and creates a + * `PerformanceObserver` instance that will observe the specified entry type + * with buffering enabled and call the callback _for each entry_. + * + * This function also feature-detects entry support and wraps the logic in a + * try/catch to avoid errors in unsupporting browsers. + */ +export declare const observe: (type: string, callback: PerformanceEntryHandler) => PerformanceObserver | undefined; +//# sourceMappingURL=observe.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.d.ts.map new file mode 100644 index 000000000..385c3f70b --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/observe.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,uBAAuB;IACtC,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,sFAkBnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.js new file mode 100644 index 000000000..6e8fb10ce --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.js @@ -0,0 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Takes a performance entry type and a callback function, and creates a + * `PerformanceObserver` instance that will observe the specified entry type + * with buffering enabled and call the callback _for each entry_. + * + * This function also feature-detects entry support and wraps the logic in a + * try/catch to avoid errors in unsupporting browsers. + */ +exports.observe = function (type, callback) { + try { + if (PerformanceObserver.supportedEntryTypes.includes(type)) { + // More extensive feature detect needed for Firefox due to: + // https://github.com/GoogleChrome/web-vitals/issues/142 + if (type === 'first-input' && !('PerformanceEventTiming' in self)) { + return; + } + var po = new PerformanceObserver(function (l) { return l.getEntries().map(callback); }); + po.observe({ type: type, buffered: true }); + return po; + } + } + catch (e) { + // Do nothing. + } + return; +}; +//# sourceMappingURL=observe.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.js.map new file mode 100644 index 000000000..1c7109ae0 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/observe.js.map @@ -0,0 +1 @@ +{"version":3,"file":"observe.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/observe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH;;;;;;;GAOG;AACU,QAAA,OAAO,GAAG,UAAC,IAAY,EAAE,QAAiC;IACrE,IAAI;QACF,IAAI,mBAAmB,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YAC1D,2DAA2D;YAC3D,wDAAwD;YACxD,IAAI,IAAI,KAAK,aAAa,IAAI,CAAC,CAAC,wBAAwB,IAAI,IAAI,CAAC,EAAE;gBACjE,OAAO;aACR;YAED,IAAM,EAAE,GAAwB,IAAI,mBAAmB,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,UAAU,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,EAA5B,CAA4B,CAAC,CAAC;YAE3F,EAAE,CAAC,OAAO,CAAC,EAAE,IAAI,MAAA,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;YACrC,OAAO,EAAE,CAAC;SACX;KACF;IAAC,OAAO,CAAC,EAAE;QACV,cAAc;KACf;IACD,OAAO;AACT,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface PerformanceEntryHandler {\n (entry: PerformanceEntry): void;\n}\n\n/**\n * Takes a performance entry type and a callback function, and creates a\n * `PerformanceObserver` instance that will observe the specified entry type\n * with buffering enabled and call the callback _for each entry_.\n *\n * This function also feature-detects entry support and wraps the logic in a\n * try/catch to avoid errors in unsupporting browsers.\n */\nexport const observe = (type: string, callback: PerformanceEntryHandler): PerformanceObserver | undefined => {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n // More extensive feature detect needed for Firefox due to:\n // https://github.com/GoogleChrome/web-vitals/issues/142\n if (type === 'first-input' && !('PerformanceEventTiming' in self)) {\n return;\n }\n\n const po: PerformanceObserver = new PerformanceObserver(l => l.getEntries().map(callback));\n\n po.observe({ type, buffered: true });\n return po;\n }\n } catch (e) {\n // Do nothing.\n }\n return;\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.d.ts new file mode 100644 index 000000000..c2d937d8b --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.d.ts @@ -0,0 +1,5 @@ +export interface OnHiddenCallback { + (event: Event): void; +} +export declare const onHidden: (cb: OnHiddenCallback, once?: boolean | undefined) => void; +//# sourceMappingURL=onHidden.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.d.ts.map new file mode 100644 index 000000000..29b9044ef --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"onHidden.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/onHidden.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,gBAAgB;IAC/B,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,QAAQ,4DAcpB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.js new file mode 100644 index 000000000..92b72a2d4 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.js @@ -0,0 +1,33 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +exports.onHidden = function (cb, once) { + var onHiddenOrPageHide = function (event) { + if (event.type === 'pagehide' || utils_1.getGlobalObject().document.visibilityState === 'hidden') { + cb(event); + if (once) { + removeEventListener('visibilitychange', onHiddenOrPageHide, true); + removeEventListener('pagehide', onHiddenOrPageHide, true); + } + } + }; + addEventListener('visibilitychange', onHiddenOrPageHide, true); + // Some browsers have buggy implementations of visibilitychange, + // so we use pagehide in addition, just to be safe. + addEventListener('pagehide', onHiddenOrPageHide, true); +}; +//# sourceMappingURL=onHidden.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.js.map new file mode 100644 index 000000000..7d62151b3 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/lib/onHidden.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onHidden.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/onHidden.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,uCAAgD;AAMnC,QAAA,QAAQ,GAAG,UAAC,EAAoB,EAAE,IAAc;IAC3D,IAAM,kBAAkB,GAAG,UAAC,KAAY;QACtC,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,IAAI,uBAAe,EAAU,CAAC,QAAQ,CAAC,eAAe,KAAK,QAAQ,EAAE;YAChG,EAAE,CAAC,KAAK,CAAC,CAAC;YACV,IAAI,IAAI,EAAE;gBACR,mBAAmB,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;gBAClE,mBAAmB,CAAC,UAAU,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;aAC3D;SACF;IACH,CAAC,CAAC;IACF,gBAAgB,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;IAC/D,gEAAgE;IAChE,mDAAmD;IACnD,gBAAgB,CAAC,UAAU,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;AACzD,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalObject } from '@sentry/utils';\n\nexport interface OnHiddenCallback {\n (event: Event): void;\n}\n\nexport const onHidden = (cb: OnHiddenCallback, once?: boolean): void => {\n const onHiddenOrPageHide = (event: Event): void => {\n if (event.type === 'pagehide' || getGlobalObject().document.visibilityState === 'hidden') {\n cb(event);\n if (once) {\n removeEventListener('visibilitychange', onHiddenOrPageHide, true);\n removeEventListener('pagehide', onHiddenOrPageHide, true);\n }\n }\n };\n addEventListener('visibilitychange', onHiddenOrPageHide, true);\n // Some browsers have buggy implementations of visibilitychange,\n // so we use pagehide in addition, just to be safe.\n addEventListener('pagehide', onHiddenOrPageHide, true);\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/types.d.ts b/node_modules/@sentry/tracing/dist/browser/web-vitals/types.d.ts new file mode 100644 index 000000000..3740b6faa --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/types.d.ts @@ -0,0 +1,54 @@ +export interface Metric { + name: 'CLS' | 'FCP' | 'FID' | 'LCP' | 'TTFB' | 'UpdatedCLS'; + value: number; + delta: number; + id: string; + entries: (PerformanceEntry | FirstInputPolyfillEntry | NavigationTimingPolyfillEntry)[]; +} +export interface ReportHandler { + (metric: Metric): void; +} +export interface PerformanceEventTiming extends PerformanceEntry { + processingStart: DOMHighResTimeStamp; + processingEnd: DOMHighResTimeStamp; + duration: DOMHighResTimeStamp; + cancelable?: boolean; + target?: Element; +} +export declare type FirstInputPolyfillEntry = Omit; +export interface FirstInputPolyfillCallback { + (entry: FirstInputPolyfillEntry): void; +} +export interface NavigatorNetworkInformation { + readonly connection?: NetworkInformation; +} +declare type ConnectionType = 'bluetooth' | 'cellular' | 'ethernet' | 'mixed' | 'none' | 'other' | 'unknown' | 'wifi' | 'wimax'; +declare type EffectiveConnectionType = '2g' | '3g' | '4g' | 'slow-2g'; +declare type Megabit = number; +declare type Millisecond = number; +interface NetworkInformation extends EventTarget { + readonly type?: ConnectionType; + readonly effectiveType?: EffectiveConnectionType; + readonly downlinkMax?: Megabit; + readonly downlink?: Megabit; + readonly rtt?: Millisecond; + readonly saveData?: boolean; + onchange?: EventListener; +} +export interface NavigatorDeviceMemory { + readonly deviceMemory?: number; +} +export declare type NavigationTimingPolyfillEntry = Omit; +export interface WebVitalsGlobal { + firstInputPolyfill: (onFirstInput: FirstInputPolyfillCallback) => void; + resetFirstInputPolyfill: () => void; + firstHiddenTime: number; +} +declare global { + interface Window { + webVitals: WebVitalsGlobal; + __WEB_VITALS_POLYFILL__: boolean; + } +} +export {}; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/types.d.ts.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/types.d.ts.map new file mode 100644 index 000000000..7bcc43bbf --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/browser/web-vitals/types.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,MAAM;IAErB,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,YAAY,CAAC;IAG5D,KAAK,EAAE,MAAM,CAAC;IAId,KAAK,EAAE,MAAM,CAAC;IASd,EAAE,EAAE,MAAM,CAAC;IAIX,OAAO,EAAE,CAAC,gBAAgB,GAAG,uBAAuB,GAAG,6BAA6B,CAAC,EAAE,CAAC;CACzF;AAED,MAAM,WAAW,aAAa;IAC5B,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAGD,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,eAAe,EAAE,mBAAmB,CAAC;IACrC,aAAa,EAAE,mBAAmB,CAAC;IACnC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,oBAAY,uBAAuB,GAAG,IAAI,CAAC,sBAAsB,EAAE,eAAe,GAAG,QAAQ,CAAC,CAAC;AAE/F,MAAM,WAAW,0BAA0B;IACzC,CAAC,KAAK,EAAE,uBAAuB,GAAG,IAAI,CAAC;CACxC;AAGD,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C;AAGD,aAAK,cAAc,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;AAGxH,aAAK,uBAAuB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;AAG9D,aAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,aAAK,WAAW,GAAG,MAAM,CAAC;AAG1B,UAAU,kBAAmB,SAAQ,WAAW;IAE9C,QAAQ,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC;IAE/B,QAAQ,CAAC,aAAa,CAAC,EAAE,uBAAuB,CAAC;IAEjD,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAE/B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAE5B,QAAQ,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC;IAE3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAE5B,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AAGD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,oBAAY,6BAA6B,GAAG,IAAI,CAC9C,2BAA2B,EACzB,eAAe,GACf,iBAAiB,GACjB,eAAe,GACf,cAAc,GACd,iBAAiB,GACjB,iBAAiB,GACjB,QAAQ,CACX,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,kBAAkB,EAAE,CAAC,YAAY,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACvE,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,SAAS,EAAE,eAAe,CAAC;QAG3B,uBAAuB,EAAE,OAAO,CAAC;KAClC;CACF"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/types.js b/node_modules/@sentry/tracing/dist/browser/web-vitals/types.js new file mode 100644 index 000000000..923edccc4 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/types.js @@ -0,0 +1,17 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/browser/web-vitals/types.js.map b/node_modules/@sentry/tracing/dist/browser/web-vitals/types.js.map new file mode 100644 index 000000000..5503828a4 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/browser/web-vitals/types.js.map @@ -0,0 +1 @@ +{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/browser/web-vitals/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface Metric {\n // The name of the metric (in acronym form).\n name: 'CLS' | 'FCP' | 'FID' | 'LCP' | 'TTFB' | 'UpdatedCLS';\n\n // The current value of the metric.\n value: number;\n\n // The delta between the current value and the last-reported value.\n // On the first report, `delta` and `value` will always be the same.\n delta: number;\n\n // A unique ID representing this particular metric instance. This ID can\n // be used by an analytics tool to dedupe multiple values sent for the same\n // metric instance, or to group multiple deltas together and calculate a\n // total. It can also be used to differentiate multiple different metric\n // instances sent from the same page, which can happen if the page is\n // restored from the back/forward cache (in that case new metrics object\n // get created).\n id: string;\n\n // Any performance entries used in the metric value calculation.\n // Note, entries will be added to the array as the value changes.\n entries: (PerformanceEntry | FirstInputPolyfillEntry | NavigationTimingPolyfillEntry)[];\n}\n\nexport interface ReportHandler {\n (metric: Metric): void;\n}\n\n// https://wicg.github.io/event-timing/#sec-performance-event-timing\nexport interface PerformanceEventTiming extends PerformanceEntry {\n processingStart: DOMHighResTimeStamp;\n processingEnd: DOMHighResTimeStamp;\n duration: DOMHighResTimeStamp;\n cancelable?: boolean;\n target?: Element;\n}\n\nexport type FirstInputPolyfillEntry = Omit;\n\nexport interface FirstInputPolyfillCallback {\n (entry: FirstInputPolyfillEntry): void;\n}\n\n// http://wicg.github.io/netinfo/#navigatornetworkinformation-interface\nexport interface NavigatorNetworkInformation {\n readonly connection?: NetworkInformation;\n}\n\n// http://wicg.github.io/netinfo/#connection-types\ntype ConnectionType = 'bluetooth' | 'cellular' | 'ethernet' | 'mixed' | 'none' | 'other' | 'unknown' | 'wifi' | 'wimax';\n\n// http://wicg.github.io/netinfo/#effectiveconnectiontype-enum\ntype EffectiveConnectionType = '2g' | '3g' | '4g' | 'slow-2g';\n\n// http://wicg.github.io/netinfo/#dom-megabit\ntype Megabit = number;\n// http://wicg.github.io/netinfo/#dom-millisecond\ntype Millisecond = number;\n\n// http://wicg.github.io/netinfo/#networkinformation-interface\ninterface NetworkInformation extends EventTarget {\n // http://wicg.github.io/netinfo/#type-attribute\n readonly type?: ConnectionType;\n // http://wicg.github.io/netinfo/#effectivetype-attribute\n readonly effectiveType?: EffectiveConnectionType;\n // http://wicg.github.io/netinfo/#downlinkmax-attribute\n readonly downlinkMax?: Megabit;\n // http://wicg.github.io/netinfo/#downlink-attribute\n readonly downlink?: Megabit;\n // http://wicg.github.io/netinfo/#rtt-attribute\n readonly rtt?: Millisecond;\n // http://wicg.github.io/netinfo/#savedata-attribute\n readonly saveData?: boolean;\n // http://wicg.github.io/netinfo/#handling-changes-to-the-underlying-connection\n onchange?: EventListener;\n}\n\n// https://w3c.github.io/device-memory/#sec-device-memory-js-api\nexport interface NavigatorDeviceMemory {\n readonly deviceMemory?: number;\n}\n\nexport type NavigationTimingPolyfillEntry = Omit<\n PerformanceNavigationTiming,\n | 'initiatorType'\n | 'nextHopProtocol'\n | 'redirectCount'\n | 'transferSize'\n | 'encodedBodySize'\n | 'decodedBodySize'\n | 'toJSON'\n>;\n\nexport interface WebVitalsGlobal {\n firstInputPolyfill: (onFirstInput: FirstInputPolyfillCallback) => void;\n resetFirstInputPolyfill: () => void;\n firstHiddenTime: number;\n}\n\ndeclare global {\n interface Window {\n webVitals: WebVitalsGlobal;\n\n // Build flags:\n __WEB_VITALS_POLYFILL__: boolean;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/constants.d.ts b/node_modules/@sentry/tracing/dist/constants.d.ts new file mode 100644 index 000000000..144c733a5 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/constants.d.ts @@ -0,0 +1,3 @@ +export declare const FINISH_REASON_TAG = "finishReason"; +export declare const IDLE_TRANSACTION_FINISH_REASONS: readonly ["heartbeatFailed", "idleTimeout", "documentHidden"]; +//# sourceMappingURL=constants.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/constants.d.ts.map b/node_modules/@sentry/tracing/dist/constants.d.ts.map new file mode 100644 index 000000000..3922be862 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/constants.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD,eAAO,MAAM,+BAA+B,+DAAgE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/constants.js b/node_modules/@sentry/tracing/dist/constants.js new file mode 100644 index 000000000..d88af6471 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/constants.js @@ -0,0 +1,6 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +// Store finish reasons in tuple to save on bundle size +// Readonly type should enforce that this is not mutated. +exports.FINISH_REASON_TAG = 'finishReason'; +exports.IDLE_TRANSACTION_FINISH_REASONS = ['heartbeatFailed', 'idleTimeout', 'documentHidden']; +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/constants.js.map b/node_modules/@sentry/tracing/dist/constants.js.map new file mode 100644 index 000000000..a235ce681 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";AAAA,uDAAuD;AACvD,yDAAyD;AAC5C,QAAA,iBAAiB,GAAG,cAAc,CAAC;AAEnC,QAAA,+BAA+B,GAAG,CAAC,iBAAiB,EAAE,aAAa,EAAE,gBAAgB,CAAU,CAAC","sourcesContent":["// Store finish reasons in tuple to save on bundle size\n// Readonly type should enforce that this is not mutated.\nexport const FINISH_REASON_TAG = 'finishReason';\n\nexport const IDLE_TRANSACTION_FINISH_REASONS = ['heartbeatFailed', 'idleTimeout', 'documentHidden'] as const;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/errors.d.ts b/node_modules/@sentry/tracing/dist/errors.d.ts new file mode 100644 index 000000000..c8e31ee22 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/errors.d.ts @@ -0,0 +1,5 @@ +/** + * Configures global error listeners + */ +export declare function registerErrorInstrumentation(): void; +//# sourceMappingURL=errors.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/errors.d.ts.map b/node_modules/@sentry/tracing/dist/errors.d.ts.map new file mode 100644 index 000000000..6d6caeea9 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/errors.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CAGnD"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/errors.js b/node_modules/@sentry/tracing/dist/errors.js new file mode 100644 index 000000000..9a49df14a --- /dev/null +++ b/node_modules/@sentry/tracing/dist/errors.js @@ -0,0 +1,23 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +var utils_2 = require("./utils"); +/** + * Configures global error listeners + */ +function registerErrorInstrumentation() { + utils_1.addInstrumentationHandler('error', errorCallback); + utils_1.addInstrumentationHandler('unhandledrejection', errorCallback); +} +exports.registerErrorInstrumentation = registerErrorInstrumentation; +/** + * If an error or unhandled promise occurs, we mark the active transaction as failed + */ +function errorCallback() { + var activeTransaction = utils_2.getActiveTransaction(); + if (activeTransaction) { + var status_1 = 'internal_error'; + utils_1.logger.log("[Tracing] Transaction: " + status_1 + " -> Global error occured"); + activeTransaction.setStatus(status_1); + } +} +//# sourceMappingURL=errors.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/errors.js.map b/node_modules/@sentry/tracing/dist/errors.js.map new file mode 100644 index 000000000..3173266d3 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/errors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";AAAA,uCAAkE;AAGlE,iCAA+C;AAE/C;;GAEG;AACH,SAAgB,4BAA4B;IAC1C,iCAAyB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAClD,iCAAyB,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAAC;AACjE,CAAC;AAHD,oEAGC;AAED;;GAEG;AACH,SAAS,aAAa;IACpB,IAAM,iBAAiB,GAAG,4BAAoB,EAAE,CAAC;IACjD,IAAI,iBAAiB,EAAE;QACrB,IAAM,QAAM,GAAmB,gBAAgB,CAAC;QAChD,cAAM,CAAC,GAAG,CAAC,4BAA0B,QAAM,6BAA0B,CAAC,CAAC;QACvE,iBAAiB,CAAC,SAAS,CAAC,QAAM,CAAC,CAAC;KACrC;AACH,CAAC","sourcesContent":["import { addInstrumentationHandler, logger } from '@sentry/utils';\n\nimport { SpanStatusType } from './span';\nimport { getActiveTransaction } from './utils';\n\n/**\n * Configures global error listeners\n */\nexport function registerErrorInstrumentation(): void {\n addInstrumentationHandler('error', errorCallback);\n addInstrumentationHandler('unhandledrejection', errorCallback);\n}\n\n/**\n * If an error or unhandled promise occurs, we mark the active transaction as failed\n */\nfunction errorCallback(): void {\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const status: SpanStatusType = 'internal_error';\n logger.log(`[Tracing] Transaction: ${status} -> Global error occured`);\n activeTransaction.setStatus(status);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/hubextensions.d.ts b/node_modules/@sentry/tracing/dist/hubextensions.d.ts new file mode 100644 index 000000000..c29250054 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/hubextensions.d.ts @@ -0,0 +1,16 @@ +import { Hub } from '@sentry/hub'; +import { CustomSamplingContext, TransactionContext } from '@sentry/types'; +import { IdleTransaction } from './idletransaction'; +/** + * Create new idle transaction. + */ +export declare function startIdleTransaction(hub: Hub, transactionContext: TransactionContext, idleTimeout?: number, onScope?: boolean, customSamplingContext?: CustomSamplingContext): IdleTransaction; +/** + * @private + */ +export declare function _addTracingExtensions(): void; +/** + * This patches the global object and injects the Tracing extensions methods + */ +export declare function addExtensionMethods(): void; +//# sourceMappingURL=hubextensions.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/hubextensions.d.ts.map b/node_modules/@sentry/tracing/dist/hubextensions.d.ts.map new file mode 100644 index 000000000..53376f844 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/hubextensions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hubextensions.d.ts","sourceRoot":"","sources":["../src/hubextensions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,GAAG,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,qBAAqB,EAKrB,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AA0KpD;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,GAAG,EACR,kBAAkB,EAAE,kBAAkB,EACtC,WAAW,CAAC,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,OAAO,EACjB,qBAAqB,CAAC,EAAE,qBAAqB,GAC5C,eAAe,CAcjB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAY5C;AAsDD;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAU1C"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/hubextensions.js b/node_modules/@sentry/tracing/dist/hubextensions.js new file mode 100644 index 000000000..5bebd485f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/hubextensions.js @@ -0,0 +1,229 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var hub_1 = require("@sentry/hub"); +var utils_1 = require("@sentry/utils"); +var errors_1 = require("./errors"); +var idletransaction_1 = require("./idletransaction"); +var transaction_1 = require("./transaction"); +var utils_2 = require("./utils"); +/** Returns all trace headers that are currently on the top scope. */ +function traceHeaders() { + var scope = this.getScope(); + if (scope) { + var span = scope.getSpan(); + if (span) { + return { + 'sentry-trace': span.toTraceparent(), + }; + } + } + return {}; +} +/** + * Makes a sampling decision for the given transaction and stores it on the transaction. + * + * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be + * sent to Sentry. + * + * @param transaction: The transaction needing a sampling decision + * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler` + * @param samplingContext: Default and user-provided data which may be used to help make the decision + * + * @returns The given transaction with its `sampled` value set + */ +function sample(transaction, options, samplingContext) { + // nothing to do if tracing is not enabled + if (!utils_2.hasTracingEnabled(options)) { + transaction.sampled = false; + return transaction; + } + // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that + if (transaction.sampled !== undefined) { + transaction.setMetadata({ + transactionSampling: { method: 'explicitly_set' }, + }); + return transaction; + } + // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` were defined, so one of these should + // work; prefer the hook if so + var sampleRate; + if (typeof options.tracesSampler === 'function') { + sampleRate = options.tracesSampler(samplingContext); + transaction.setMetadata({ + transactionSampling: { + method: 'client_sampler', + // cast to number in case it's a boolean + rate: Number(sampleRate), + }, + }); + } + else if (samplingContext.parentSampled !== undefined) { + sampleRate = samplingContext.parentSampled; + transaction.setMetadata({ + transactionSampling: { method: 'inheritance' }, + }); + } + else { + sampleRate = options.tracesSampleRate; + transaction.setMetadata({ + transactionSampling: { + method: 'client_rate', + // cast to number in case it's a boolean + rate: Number(sampleRate), + }, + }); + } + // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The + // only valid values are booleans or numbers between 0 and 1.) + if (!isValidSampleRate(sampleRate)) { + utils_1.logger.warn("[Tracing] Discarding transaction because of invalid sample rate."); + transaction.sampled = false; + return transaction; + } + // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped + if (!sampleRate) { + utils_1.logger.log("[Tracing] Discarding transaction because " + (typeof options.tracesSampler === 'function' + ? 'tracesSampler returned 0 or false' + : 'a negative sampling decision was inherited or tracesSampleRate is set to 0')); + transaction.sampled = false; + return transaction; + } + // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is + // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false. + transaction.sampled = Math.random() < sampleRate; + // if we're not going to keep it, we're done + if (!transaction.sampled) { + utils_1.logger.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = " + Number(sampleRate) + ")"); + return transaction; + } + utils_1.logger.log("[Tracing] starting " + transaction.op + " transaction - " + transaction.name); + return transaction; +} +/** + * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1). + */ +function isValidSampleRate(rate) { + // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck + // eslint-disable-next-line @typescript-eslint/no-explicit-any + if (isNaN(rate) || !(typeof rate === 'number' || typeof rate === 'boolean')) { + utils_1.logger.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got " + JSON.stringify(rate) + " of type " + JSON.stringify(typeof rate) + "."); + return false; + } + // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false + if (rate < 0 || rate > 1) { + utils_1.logger.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got " + rate + "."); + return false; + } + return true; +} +/** + * Creates a new transaction and adds a sampling decision if it doesn't yet have one. + * + * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if + * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an + * "extension method." + * + * @param this: The Hub starting the transaction + * @param transactionContext: Data used to configure the transaction + * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any) + * + * @returns The new transaction + * + * @see {@link Hub.startTransaction} + */ +function _startTransaction(transactionContext, customSamplingContext) { + var client = this.getClient(); + var options = (client && client.getOptions()) || {}; + var transaction = new transaction_1.Transaction(transactionContext, this); + transaction = sample(transaction, options, tslib_1.__assign({ parentSampled: transactionContext.parentSampled, transactionContext: transactionContext }, customSamplingContext)); + if (transaction.sampled) { + transaction.initSpanRecorder(options._experiments && options._experiments.maxSpans); + } + return transaction; +} +/** + * Create new idle transaction. + */ +function startIdleTransaction(hub, transactionContext, idleTimeout, onScope, customSamplingContext) { + var client = hub.getClient(); + var options = (client && client.getOptions()) || {}; + var transaction = new idletransaction_1.IdleTransaction(transactionContext, hub, idleTimeout, onScope); + transaction = sample(transaction, options, tslib_1.__assign({ parentSampled: transactionContext.parentSampled, transactionContext: transactionContext }, customSamplingContext)); + if (transaction.sampled) { + transaction.initSpanRecorder(options._experiments && options._experiments.maxSpans); + } + return transaction; +} +exports.startIdleTransaction = startIdleTransaction; +/** + * @private + */ +function _addTracingExtensions() { + var carrier = hub_1.getMainCarrier(); + if (!carrier.__SENTRY__) { + return; + } + carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {}; + if (!carrier.__SENTRY__.extensions.startTransaction) { + carrier.__SENTRY__.extensions.startTransaction = _startTransaction; + } + if (!carrier.__SENTRY__.extensions.traceHeaders) { + carrier.__SENTRY__.extensions.traceHeaders = traceHeaders; + } +} +exports._addTracingExtensions = _addTracingExtensions; +/** + * @private + */ +function _autoloadDatabaseIntegrations() { + var carrier = hub_1.getMainCarrier(); + if (!carrier.__SENTRY__) { + return; + } + var packageToIntegrationMapping = { + mongodb: function () { + var integration = utils_1.dynamicRequire(module, './integrations/node/mongo'); + return new integration.Mongo(); + }, + mongoose: function () { + var integration = utils_1.dynamicRequire(module, './integrations/node/mongo'); + return new integration.Mongo({ mongoose: true }); + }, + mysql: function () { + var integration = utils_1.dynamicRequire(module, './integrations/node/mysql'); + return new integration.Mysql(); + }, + pg: function () { + var integration = utils_1.dynamicRequire(module, './integrations/node/postgres'); + return new integration.Postgres(); + }, + }; + var mappedPackages = Object.keys(packageToIntegrationMapping) + .filter(function (moduleName) { return !!utils_1.loadModule(moduleName); }) + .map(function (pkg) { + try { + return packageToIntegrationMapping[pkg](); + } + catch (e) { + return undefined; + } + }) + .filter(function (p) { return p; }); + if (mappedPackages.length > 0) { + carrier.__SENTRY__.integrations = tslib_1.__spread((carrier.__SENTRY__.integrations || []), mappedPackages); + } +} +/** + * This patches the global object and injects the Tracing extensions methods + */ +function addExtensionMethods() { + _addTracingExtensions(); + // Detect and automatically load specified integrations. + if (utils_1.isNodeEnv()) { + _autoloadDatabaseIntegrations(); + } + // If an error happens globally, we should make sure transaction status is set to error. + errors_1.registerErrorInstrumentation(); +} +exports.addExtensionMethods = addExtensionMethods; +//# sourceMappingURL=hubextensions.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/hubextensions.js.map b/node_modules/@sentry/tracing/dist/hubextensions.js.map new file mode 100644 index 000000000..cbfd89619 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/hubextensions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"hubextensions.js","sourceRoot":"","sources":["../src/hubextensions.ts"],"names":[],"mappings":"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","sourcesContent":["import { getMainCarrier, Hub } from '@sentry/hub';\nimport {\n CustomSamplingContext,\n Integration,\n IntegrationClass,\n Options,\n SamplingContext,\n TransactionContext,\n} from '@sentry/types';\nimport { dynamicRequire, isNodeEnv, loadModule, logger } from '@sentry/utils';\n\nimport { registerErrorInstrumentation } from './errors';\nimport { IdleTransaction } from './idletransaction';\nimport { Transaction } from './transaction';\nimport { hasTracingEnabled } from './utils';\n\n/** Returns all trace headers that are currently on the top scope. */\nfunction traceHeaders(this: Hub): { [key: string]: string } {\n const scope = this.getScope();\n if (scope) {\n const span = scope.getSpan();\n if (span) {\n return {\n 'sentry-trace': span.toTraceparent(),\n };\n }\n }\n return {};\n}\n\n/**\n * Makes a sampling decision for the given transaction and stores it on the transaction.\n *\n * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n *\n * @param transaction: The transaction needing a sampling decision\n * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler`\n * @param samplingContext: Default and user-provided data which may be used to help make the decision\n *\n * @returns The given transaction with its `sampled` value set\n */\nfunction sample(transaction: T, options: Options, samplingContext: SamplingContext): T {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n transaction.sampled = false;\n return transaction;\n }\n\n // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that\n if (transaction.sampled !== undefined) {\n transaction.setMetadata({\n transactionSampling: { method: 'explicitly_set' },\n });\n return transaction;\n }\n\n // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` were defined, so one of these should\n // work; prefer the hook if so\n let sampleRate;\n if (typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler(samplingContext);\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_sampler',\n // cast to number in case it's a boolean\n rate: Number(sampleRate),\n },\n });\n } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n transaction.setMetadata({\n transactionSampling: { method: 'inheritance' },\n });\n } else {\n sampleRate = options.tracesSampleRate;\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_rate',\n // cast to number in case it's a boolean\n rate: Number(sampleRate),\n },\n });\n }\n\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The\n // only valid values are booleans or numbers between 0 and 1.)\n if (!isValidSampleRate(sampleRate)) {\n logger.warn(`[Tracing] Discarding transaction because of invalid sample rate.`);\n transaction.sampled = false;\n return transaction;\n }\n\n // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped\n if (!sampleRate) {\n logger.log(\n `[Tracing] Discarding transaction because ${\n typeof options.tracesSampler === 'function'\n ? 'tracesSampler returned 0 or false'\n : 'a negative sampling decision was inherited or tracesSampleRate is set to 0'\n }`,\n );\n transaction.sampled = false;\n return transaction;\n }\n\n // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is\n // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false.\n transaction.sampled = Math.random() < (sampleRate as number | boolean);\n\n // if we're not going to keep it, we're done\n if (!transaction.sampled) {\n logger.log(\n `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n sampleRate,\n )})`,\n );\n return transaction;\n }\n\n logger.log(`[Tracing] starting ${transaction.op} transaction - ${transaction.name}`);\n return transaction;\n}\n\n/**\n * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1).\n */\nfunction isValidSampleRate(rate: unknown): boolean {\n // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isNaN(rate as any) || !(typeof rate === 'number' || typeof rate === 'boolean')) {\n logger.warn(\n `[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n rate,\n )} of type ${JSON.stringify(typeof rate)}.`,\n );\n return false;\n }\n\n // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false\n if (rate < 0 || rate > 1) {\n logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${rate}.`);\n return false;\n }\n return true;\n}\n\n/**\n * Creates a new transaction and adds a sampling decision if it doesn't yet have one.\n *\n * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if\n * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an\n * \"extension method.\"\n *\n * @param this: The Hub starting the transaction\n * @param transactionContext: Data used to configure the transaction\n * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any)\n *\n * @returns The new transaction\n *\n * @see {@link Hub.startTransaction}\n */\nfunction _startTransaction(\n this: Hub,\n transactionContext: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n const client = this.getClient();\n const options = (client && client.getOptions()) || {};\n\n let transaction = new Transaction(transactionContext, this);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n return transaction;\n}\n\n/**\n * Create new idle transaction.\n */\nexport function startIdleTransaction(\n hub: Hub,\n transactionContext: TransactionContext,\n idleTimeout?: number,\n onScope?: boolean,\n customSamplingContext?: CustomSamplingContext,\n): IdleTransaction {\n const client = hub.getClient();\n const options = (client && client.getOptions()) || {};\n\n let transaction = new IdleTransaction(transactionContext, hub, idleTimeout, onScope);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n return transaction;\n}\n\n/**\n * @private\n */\nexport function _addTracingExtensions(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n if (!carrier.__SENTRY__.extensions.startTransaction) {\n carrier.__SENTRY__.extensions.startTransaction = _startTransaction;\n }\n if (!carrier.__SENTRY__.extensions.traceHeaders) {\n carrier.__SENTRY__.extensions.traceHeaders = traceHeaders;\n }\n}\n\n/**\n * @private\n */\nfunction _autoloadDatabaseIntegrations(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n\n const packageToIntegrationMapping: Record Integration> = {\n mongodb() {\n const integration = dynamicRequire(module, './integrations/node/mongo') as {\n Mongo: IntegrationClass;\n };\n return new integration.Mongo();\n },\n mongoose() {\n const integration = dynamicRequire(module, './integrations/node/mongo') as {\n Mongo: IntegrationClass;\n };\n return new integration.Mongo({ mongoose: true });\n },\n mysql() {\n const integration = dynamicRequire(module, './integrations/node/mysql') as {\n Mysql: IntegrationClass;\n };\n return new integration.Mysql();\n },\n pg() {\n const integration = dynamicRequire(module, './integrations/node/postgres') as {\n Postgres: IntegrationClass;\n };\n return new integration.Postgres();\n },\n };\n\n const mappedPackages = Object.keys(packageToIntegrationMapping)\n .filter(moduleName => !!loadModule(moduleName))\n .map(pkg => {\n try {\n return packageToIntegrationMapping[pkg]();\n } catch (e) {\n return undefined;\n }\n })\n .filter(p => p) as Integration[];\n\n if (mappedPackages.length > 0) {\n carrier.__SENTRY__.integrations = [...(carrier.__SENTRY__.integrations || []), ...mappedPackages];\n }\n}\n\n/**\n * This patches the global object and injects the Tracing extensions methods\n */\nexport function addExtensionMethods(): void {\n _addTracingExtensions();\n\n // Detect and automatically load specified integrations.\n if (isNodeEnv()) {\n _autoloadDatabaseIntegrations();\n }\n\n // If an error happens globally, we should make sure transaction status is set to error.\n registerErrorInstrumentation();\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/idletransaction.d.ts b/node_modules/@sentry/tracing/dist/idletransaction.d.ts new file mode 100644 index 000000000..7c0cbd26f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/idletransaction.d.ts @@ -0,0 +1,84 @@ +import { Hub } from '@sentry/hub'; +import { TransactionContext } from '@sentry/types'; +import { Span, SpanRecorder } from './span'; +import { Transaction } from './transaction'; +export declare const DEFAULT_IDLE_TIMEOUT = 1000; +export declare const HEARTBEAT_INTERVAL = 5000; +/** + * @inheritDoc + */ +export declare class IdleTransactionSpanRecorder extends SpanRecorder { + private readonly _pushActivity; + private readonly _popActivity; + transactionSpanId: string; + constructor(_pushActivity: (id: string) => void, _popActivity: (id: string) => void, transactionSpanId?: string, maxlen?: number); + /** + * @inheritDoc + */ + add(span: Span): void; +} +export declare type BeforeFinishCallback = (transactionSpan: IdleTransaction, endTimestamp: number) => void; +/** + * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities. + * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will + * put itself on the scope on creation. + */ +export declare class IdleTransaction extends Transaction { + private readonly _idleHub?; + /** + * The time to wait in ms until the idle transaction will be finished. + * @default 1000 + */ + private readonly _idleTimeout; + private readonly _onScope; + activities: Record; + private _prevHeartbeatString; + private _heartbeatCounter; + private _finished; + private readonly _beforeFinishCallbacks; + /** + * If a transaction is created and no activities are added, we want to make sure that + * it times out properly. This is cleared and not used when activities are added. + */ + private _initTimeout; + constructor(transactionContext: TransactionContext, _idleHub?: Hub | undefined, + /** + * The time to wait in ms until the idle transaction will be finished. + * @default 1000 + */ + _idleTimeout?: number, _onScope?: boolean); + /** {@inheritDoc} */ + finish(endTimestamp?: number): string | undefined; + /** + * Register a callback function that gets excecuted before the transaction finishes. + * Useful for cleanup or if you want to add any additional spans based on current context. + * + * This is exposed because users have no other way of running something before an idle transaction + * finishes. + */ + registerBeforeFinishCallback(callback: BeforeFinishCallback): void; + /** + * @inheritDoc + */ + initSpanRecorder(maxlen?: number): void; + /** + * Start tracking a specific activity. + * @param spanId The span id that represents the activity + */ + private _pushActivity; + /** + * Remove an activity from usage + * @param spanId The span id that represents the activity + */ + private _popActivity; + /** + * Checks when entries of this.activities are not changing for 3 beats. + * If this occurs we finish the transaction. + */ + private _beat; + /** + * Pings the heartbeat + */ + private _pingHeartbeat; +} +//# sourceMappingURL=idletransaction.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/idletransaction.d.ts.map b/node_modules/@sentry/tracing/dist/idletransaction.d.ts.map new file mode 100644 index 000000000..f1c4d9da2 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/idletransaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"idletransaction.d.ts","sourceRoot":"","sources":["../src/idletransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAInD,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,oBAAoB,OAAO,CAAC;AACzC,eAAO,MAAM,kBAAkB,OAAO,CAAC;AAEvC;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,YAAY;IAEzD,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;IACtB,iBAAiB,EAAE,MAAM;gBAFf,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,EACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,EAC5C,iBAAiB,GAAE,MAAW,EACrC,MAAM,CAAC,EAAE,MAAM;IAKjB;;OAEG;IACI,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;CAkB7B;AAED,oBAAY,oBAAoB,GAAG,CAAC,eAAe,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;AAEpG;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAuB5C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;IAC1B;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IA5BpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM;IAGhD,OAAO,CAAC,oBAAoB,CAAqB;IAGjD,OAAO,CAAC,iBAAiB,CAAa;IAGtC,OAAO,CAAC,SAAS,CAAkB;IAEnC,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAA8B;IAErE;;;OAGG;IACH,OAAO,CAAC,YAAY,CAA4C;gBAG9D,kBAAkB,EAAE,kBAAkB,EACrB,QAAQ,CAAC,iBAAK;IAC/B;;;OAGG;IACc,YAAY,GAAE,MAA6B,EAE3C,QAAQ,GAAE,OAAe;IAqB5C,oBAAoB;IACb,MAAM,CAAC,YAAY,GAAE,MAA0B,GAAG,MAAM,GAAG,SAAS;IA+C3E;;;;;;OAMG;IACI,4BAA4B,CAAC,QAAQ,EAAE,oBAAoB,GAAG,IAAI;IAIzE;;OAEG;IACI,gBAAgB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI;IAwB9C;;;OAGG;IACH,OAAO,CAAC,aAAa;IAUrB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAuBpB;;;OAGG;IACH,OAAO,CAAC,KAAK;IA0Bb;;OAEG;IACH,OAAO,CAAC,cAAc;CAMvB"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/idletransaction.js b/node_modules/@sentry/tracing/dist/idletransaction.js new file mode 100644 index 000000000..c70110924 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/idletransaction.js @@ -0,0 +1,265 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +var constants_1 = require("./constants"); +var span_1 = require("./span"); +var transaction_1 = require("./transaction"); +exports.DEFAULT_IDLE_TIMEOUT = 1000; +exports.HEARTBEAT_INTERVAL = 5000; +/** + * @inheritDoc + */ +var IdleTransactionSpanRecorder = /** @class */ (function (_super) { + tslib_1.__extends(IdleTransactionSpanRecorder, _super); + function IdleTransactionSpanRecorder(_pushActivity, _popActivity, transactionSpanId, maxlen) { + if (transactionSpanId === void 0) { transactionSpanId = ''; } + var _this = _super.call(this, maxlen) || this; + _this._pushActivity = _pushActivity; + _this._popActivity = _popActivity; + _this.transactionSpanId = transactionSpanId; + return _this; + } + /** + * @inheritDoc + */ + IdleTransactionSpanRecorder.prototype.add = function (span) { + var _this = this; + // We should make sure we do not push and pop activities for + // the transaction that this span recorder belongs to. + if (span.spanId !== this.transactionSpanId) { + // We patch span.finish() to pop an activity after setting an endTimestamp. + span.finish = function (endTimestamp) { + span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : utils_1.timestampWithMs(); + _this._popActivity(span.spanId); + }; + // We should only push new activities if the span does not have an end timestamp. + if (span.endTimestamp === undefined) { + this._pushActivity(span.spanId); + } + } + _super.prototype.add.call(this, span); + }; + return IdleTransactionSpanRecorder; +}(span_1.SpanRecorder)); +exports.IdleTransactionSpanRecorder = IdleTransactionSpanRecorder; +/** + * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities. + * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will + * put itself on the scope on creation. + */ +var IdleTransaction = /** @class */ (function (_super) { + tslib_1.__extends(IdleTransaction, _super); + function IdleTransaction(transactionContext, _idleHub, + /** + * The time to wait in ms until the idle transaction will be finished. + * @default 1000 + */ + _idleTimeout, + // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends + _onScope) { + if (_idleTimeout === void 0) { _idleTimeout = exports.DEFAULT_IDLE_TIMEOUT; } + if (_onScope === void 0) { _onScope = false; } + var _this = _super.call(this, transactionContext, _idleHub) || this; + _this._idleHub = _idleHub; + _this._idleTimeout = _idleTimeout; + _this._onScope = _onScope; + // Activities store a list of active spans + _this.activities = {}; + // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats. + _this._heartbeatCounter = 0; + // We should not use heartbeat if we finished a transaction + _this._finished = false; + _this._beforeFinishCallbacks = []; + if (_idleHub && _onScope) { + // There should only be one active transaction on the scope + clearActiveTransaction(_idleHub); + // We set the transaction here on the scope so error events pick up the trace + // context and attach it to the error. + utils_1.logger.log("Setting idle transaction on scope. Span ID: " + _this.spanId); + _idleHub.configureScope(function (scope) { return scope.setSpan(_this); }); + } + _this._initTimeout = setTimeout(function () { + if (!_this._finished) { + _this.finish(); + } + }, _this._idleTimeout); + return _this; + } + /** {@inheritDoc} */ + IdleTransaction.prototype.finish = function (endTimestamp) { + var e_1, _a; + var _this = this; + if (endTimestamp === void 0) { endTimestamp = utils_1.timestampWithMs(); } + this._finished = true; + this.activities = {}; + if (this.spanRecorder) { + utils_1.logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op); + try { + for (var _b = tslib_1.__values(this._beforeFinishCallbacks), _c = _b.next(); !_c.done; _c = _b.next()) { + var callback = _c.value; + callback(this, endTimestamp); + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + this.spanRecorder.spans = this.spanRecorder.spans.filter(function (span) { + // If we are dealing with the transaction itself, we just return it + if (span.spanId === _this.spanId) { + return true; + } + // We cancel all pending spans with status "cancelled" to indicate the idle transaction was finished early + if (!span.endTimestamp) { + span.endTimestamp = endTimestamp; + span.setStatus('cancelled'); + utils_1.logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2)); + } + var keepSpan = span.startTimestamp < endTimestamp; + if (!keepSpan) { + utils_1.logger.log('[Tracing] discarding Span since it happened after Transaction was finished', JSON.stringify(span, undefined, 2)); + } + return keepSpan; + }); + utils_1.logger.log('[Tracing] flushing IdleTransaction'); + } + else { + utils_1.logger.log('[Tracing] No active IdleTransaction'); + } + // if `this._onScope` is `true`, the transaction put itself on the scope when it started + if (this._onScope) { + clearActiveTransaction(this._idleHub); + } + return _super.prototype.finish.call(this, endTimestamp); + }; + /** + * Register a callback function that gets excecuted before the transaction finishes. + * Useful for cleanup or if you want to add any additional spans based on current context. + * + * This is exposed because users have no other way of running something before an idle transaction + * finishes. + */ + IdleTransaction.prototype.registerBeforeFinishCallback = function (callback) { + this._beforeFinishCallbacks.push(callback); + }; + /** + * @inheritDoc + */ + IdleTransaction.prototype.initSpanRecorder = function (maxlen) { + var _this = this; + if (!this.spanRecorder) { + var pushActivity = function (id) { + if (_this._finished) { + return; + } + _this._pushActivity(id); + }; + var popActivity = function (id) { + if (_this._finished) { + return; + } + _this._popActivity(id); + }; + this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen); + // Start heartbeat so that transactions do not run forever. + utils_1.logger.log('Starting heartbeat'); + this._pingHeartbeat(); + } + this.spanRecorder.add(this); + }; + /** + * Start tracking a specific activity. + * @param spanId The span id that represents the activity + */ + IdleTransaction.prototype._pushActivity = function (spanId) { + if (this._initTimeout) { + clearTimeout(this._initTimeout); + this._initTimeout = undefined; + } + utils_1.logger.log("[Tracing] pushActivity: " + spanId); + this.activities[spanId] = true; + utils_1.logger.log('[Tracing] new activities count', Object.keys(this.activities).length); + }; + /** + * Remove an activity from usage + * @param spanId The span id that represents the activity + */ + IdleTransaction.prototype._popActivity = function (spanId) { + var _this = this; + if (this.activities[spanId]) { + utils_1.logger.log("[Tracing] popActivity " + spanId); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete this.activities[spanId]; + utils_1.logger.log('[Tracing] new activities count', Object.keys(this.activities).length); + } + if (Object.keys(this.activities).length === 0) { + var timeout = this._idleTimeout; + // We need to add the timeout here to have the real endtimestamp of the transaction + // Remember timestampWithMs is in seconds, timeout is in ms + var end_1 = utils_1.timestampWithMs() + timeout / 1000; + setTimeout(function () { + if (!_this._finished) { + _this.setTag(constants_1.FINISH_REASON_TAG, constants_1.IDLE_TRANSACTION_FINISH_REASONS[1]); + _this.finish(end_1); + } + }, timeout); + } + }; + /** + * Checks when entries of this.activities are not changing for 3 beats. + * If this occurs we finish the transaction. + */ + IdleTransaction.prototype._beat = function () { + // We should not be running heartbeat if the idle transaction is finished. + if (this._finished) { + return; + } + var heartbeatString = Object.keys(this.activities).join(''); + if (heartbeatString === this._prevHeartbeatString) { + this._heartbeatCounter += 1; + } + else { + this._heartbeatCounter = 1; + } + this._prevHeartbeatString = heartbeatString; + if (this._heartbeatCounter >= 3) { + utils_1.logger.log("[Tracing] Transaction finished because of no change for 3 heart beats"); + this.setStatus('deadline_exceeded'); + this.setTag(constants_1.FINISH_REASON_TAG, constants_1.IDLE_TRANSACTION_FINISH_REASONS[0]); + this.finish(); + } + else { + this._pingHeartbeat(); + } + }; + /** + * Pings the heartbeat + */ + IdleTransaction.prototype._pingHeartbeat = function () { + var _this = this; + utils_1.logger.log("pinging Heartbeat -> current counter: " + this._heartbeatCounter); + setTimeout(function () { + _this._beat(); + }, exports.HEARTBEAT_INTERVAL); + }; + return IdleTransaction; +}(transaction_1.Transaction)); +exports.IdleTransaction = IdleTransaction; +/** + * Reset transaction on scope to `undefined` + */ +function clearActiveTransaction(hub) { + if (hub) { + var scope = hub.getScope(); + if (scope) { + var transaction = scope.getTransaction(); + if (transaction) { + scope.setSpan(undefined); + } + } + } +} +//# sourceMappingURL=idletransaction.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/idletransaction.js.map b/node_modules/@sentry/tracing/dist/idletransaction.js.map new file mode 100644 index 000000000..9d9a8266a --- /dev/null +++ b/node_modules/@sentry/tracing/dist/idletransaction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"idletransaction.js","sourceRoot":"","sources":["../src/idletransaction.ts"],"names":[],"mappings":"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","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { TransactionContext } from '@sentry/types';\nimport { logger, timestampWithMs } from '@sentry/utils';\n\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from './constants';\nimport { Span, SpanRecorder } from './span';\nimport { Transaction } from './transaction';\n\nexport const DEFAULT_IDLE_TIMEOUT = 1000;\nexport const HEARTBEAT_INTERVAL = 5000;\n\n/**\n * @inheritDoc\n */\nexport class IdleTransactionSpanRecorder extends SpanRecorder {\n public constructor(\n private readonly _pushActivity: (id: string) => void,\n private readonly _popActivity: (id: string) => void,\n public transactionSpanId: string = '',\n maxlen?: number,\n ) {\n super(maxlen);\n }\n\n /**\n * @inheritDoc\n */\n public add(span: Span): void {\n // We should make sure we do not push and pop activities for\n // the transaction that this span recorder belongs to.\n if (span.spanId !== this.transactionSpanId) {\n // We patch span.finish() to pop an activity after setting an endTimestamp.\n span.finish = (endTimestamp?: number) => {\n span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n this._popActivity(span.spanId);\n };\n\n // We should only push new activities if the span does not have an end timestamp.\n if (span.endTimestamp === undefined) {\n this._pushActivity(span.spanId);\n }\n }\n\n super.add(span);\n }\n}\n\nexport type BeforeFinishCallback = (transactionSpan: IdleTransaction, endTimestamp: number) => void;\n\n/**\n * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities.\n * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will\n * put itself on the scope on creation.\n */\nexport class IdleTransaction extends Transaction {\n // Activities store a list of active spans\n public activities: Record = {};\n\n // Track state of activities in previous heartbeat\n private _prevHeartbeatString: string | undefined;\n\n // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats.\n private _heartbeatCounter: number = 0;\n\n // We should not use heartbeat if we finished a transaction\n private _finished: boolean = false;\n\n private readonly _beforeFinishCallbacks: BeforeFinishCallback[] = [];\n\n /**\n * If a transaction is created and no activities are added, we want to make sure that\n * it times out properly. This is cleared and not used when activities are added.\n */\n private _initTimeout: ReturnType | undefined;\n\n public constructor(\n transactionContext: TransactionContext,\n private readonly _idleHub?: Hub,\n /**\n * The time to wait in ms until the idle transaction will be finished.\n * @default 1000\n */\n private readonly _idleTimeout: number = DEFAULT_IDLE_TIMEOUT,\n // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends\n private readonly _onScope: boolean = false,\n ) {\n super(transactionContext, _idleHub);\n\n if (_idleHub && _onScope) {\n // There should only be one active transaction on the scope\n clearActiveTransaction(_idleHub);\n\n // We set the transaction here on the scope so error events pick up the trace\n // context and attach it to the error.\n logger.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`);\n _idleHub.configureScope(scope => scope.setSpan(this));\n }\n\n this._initTimeout = setTimeout(() => {\n if (!this._finished) {\n this.finish();\n }\n }, this._idleTimeout);\n }\n\n /** {@inheritDoc} */\n public finish(endTimestamp: number = timestampWithMs()): string | undefined {\n this._finished = true;\n this.activities = {};\n\n if (this.spanRecorder) {\n logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op);\n\n for (const callback of this._beforeFinishCallbacks) {\n callback(this, endTimestamp);\n }\n\n this.spanRecorder.spans = this.spanRecorder.spans.filter((span: Span) => {\n // If we are dealing with the transaction itself, we just return it\n if (span.spanId === this.spanId) {\n return true;\n }\n\n // We cancel all pending spans with status \"cancelled\" to indicate the idle transaction was finished early\n if (!span.endTimestamp) {\n span.endTimestamp = endTimestamp;\n span.setStatus('cancelled');\n logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2));\n }\n\n const keepSpan = span.startTimestamp < endTimestamp;\n if (!keepSpan) {\n logger.log(\n '[Tracing] discarding Span since it happened after Transaction was finished',\n JSON.stringify(span, undefined, 2),\n );\n }\n return keepSpan;\n });\n\n logger.log('[Tracing] flushing IdleTransaction');\n } else {\n logger.log('[Tracing] No active IdleTransaction');\n }\n\n // if `this._onScope` is `true`, the transaction put itself on the scope when it started\n if (this._onScope) {\n clearActiveTransaction(this._idleHub);\n }\n\n return super.finish(endTimestamp);\n }\n\n /**\n * Register a callback function that gets excecuted before the transaction finishes.\n * Useful for cleanup or if you want to add any additional spans based on current context.\n *\n * This is exposed because users have no other way of running something before an idle transaction\n * finishes.\n */\n public registerBeforeFinishCallback(callback: BeforeFinishCallback): void {\n this._beforeFinishCallbacks.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public initSpanRecorder(maxlen?: number): void {\n if (!this.spanRecorder) {\n const pushActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._pushActivity(id);\n };\n const popActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._popActivity(id);\n };\n\n this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen);\n\n // Start heartbeat so that transactions do not run forever.\n logger.log('Starting heartbeat');\n this._pingHeartbeat();\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n private _pushActivity(spanId: string): void {\n if (this._initTimeout) {\n clearTimeout(this._initTimeout);\n this._initTimeout = undefined;\n }\n logger.log(`[Tracing] pushActivity: ${spanId}`);\n this.activities[spanId] = true;\n logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n private _popActivity(spanId: string): void {\n if (this.activities[spanId]) {\n logger.log(`[Tracing] popActivity ${spanId}`);\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this.activities[spanId];\n logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n if (Object.keys(this.activities).length === 0) {\n const timeout = this._idleTimeout;\n // We need to add the timeout here to have the real endtimestamp of the transaction\n // Remember timestampWithMs is in seconds, timeout is in ms\n const end = timestampWithMs() + timeout / 1000;\n\n setTimeout(() => {\n if (!this._finished) {\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[1]);\n this.finish(end);\n }\n }, timeout);\n }\n }\n\n /**\n * Checks when entries of this.activities are not changing for 3 beats.\n * If this occurs we finish the transaction.\n */\n private _beat(): void {\n // We should not be running heartbeat if the idle transaction is finished.\n if (this._finished) {\n return;\n }\n\n const heartbeatString = Object.keys(this.activities).join('');\n\n if (heartbeatString === this._prevHeartbeatString) {\n this._heartbeatCounter += 1;\n } else {\n this._heartbeatCounter = 1;\n }\n\n this._prevHeartbeatString = heartbeatString;\n\n if (this._heartbeatCounter >= 3) {\n logger.log(`[Tracing] Transaction finished because of no change for 3 heart beats`);\n this.setStatus('deadline_exceeded');\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[0]);\n this.finish();\n } else {\n this._pingHeartbeat();\n }\n }\n\n /**\n * Pings the heartbeat\n */\n private _pingHeartbeat(): void {\n logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`);\n setTimeout(() => {\n this._beat();\n }, HEARTBEAT_INTERVAL);\n }\n}\n\n/**\n * Reset transaction on scope to `undefined`\n */\nfunction clearActiveTransaction(hub?: Hub): void {\n if (hub) {\n const scope = hub.getScope();\n if (scope) {\n const transaction = scope.getTransaction();\n if (transaction) {\n scope.setSpan(undefined);\n }\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/index.bundle.d.ts b/node_modules/@sentry/tracing/dist/index.bundle.d.ts new file mode 100644 index 000000000..bfa3e266d --- /dev/null +++ b/node_modules/@sentry/tracing/dist/index.bundle.d.ts @@ -0,0 +1,25 @@ +export { Breadcrumb, Request, SdkInfo, Event, EventStatus, Exception, Response, Severity, StackFrame, Stacktrace, Thread, User, } from '@sentry/types'; +export { SeverityLevel } from '@sentry/utils'; +export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, getHubFromCarrier, getCurrentHub, Hub, Scope, setContext, setExtra, setExtras, setTag, setTags, setUser, startTransaction, Transports, withScope, } from '@sentry/browser'; +export { BrowserOptions } from '@sentry/browser'; +export { BrowserClient, ReportDialogOptions } from '@sentry/browser'; +export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog, flush, close, wrap, } from '@sentry/browser'; +export { SDK_NAME, SDK_VERSION } from '@sentry/browser'; +import { BrowserTracing } from './browser'; +import { addExtensionMethods } from './hubextensions'; +export { Span } from './span'; +declare const INTEGRATIONS: { + BrowserTracing: typeof BrowserTracing; + GlobalHandlers: typeof import("@sentry/browser/dist/integrations").GlobalHandlers; + TryCatch: typeof import("@sentry/browser/dist/integrations").TryCatch; + Breadcrumbs: typeof import("@sentry/browser/dist/integrations").Breadcrumbs; + LinkedErrors: typeof import("@sentry/browser/dist/integrations").LinkedErrors; + UserAgent: typeof import("@sentry/browser/dist/integrations").UserAgent; + Dedupe: typeof import("@sentry/browser/dist/integrations").Dedupe; + FunctionToString: typeof import("@sentry/core/dist/integrations").FunctionToString; + InboundFilters: typeof import("@sentry/core/dist/integrations").InboundFilters; +}; +export { INTEGRATIONS as Integrations }; +export { BrowserTracing }; +export { addExtensionMethods }; +//# sourceMappingURL=index.bundle.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/index.bundle.d.ts.map b/node_modules/@sentry/tracing/dist/index.bundle.d.ts.map new file mode 100644 index 000000000..81da23c17 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/index.bundle.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.bundle.d.ts","sourceRoot":"","sources":["../src/index.bundle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,OAAO,EACP,OAAO,EACP,KAAK,EACL,WAAW,EACX,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,UAAU,EACV,MAAM,EACN,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,GAAG,EACH,KAAK,EACL,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,SAAS,GACV,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EACL,mBAAmB,EACnB,SAAS,EACT,IAAI,EACJ,WAAW,EACX,MAAM,EACN,gBAAgB,EAChB,KAAK,EACL,KAAK,EACL,IAAI,GACL,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAKxD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAU9B,QAAA,MAAM,YAAY;;;;;;;;;;CAIjB,CAAC;AAEF,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,CAAC;AAKxC,OAAO,EAAE,cAAc,EAAE,CAAC;AAK1B,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/index.bundle.js b/node_modules/@sentry/tracing/dist/index.bundle.js new file mode 100644 index 000000000..b050e12b1 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/index.bundle.js @@ -0,0 +1,58 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var types_1 = require("@sentry/types"); +exports.Severity = types_1.Severity; +var browser_1 = require("@sentry/browser"); +exports.addGlobalEventProcessor = browser_1.addGlobalEventProcessor; +exports.addBreadcrumb = browser_1.addBreadcrumb; +exports.captureException = browser_1.captureException; +exports.captureEvent = browser_1.captureEvent; +exports.captureMessage = browser_1.captureMessage; +exports.configureScope = browser_1.configureScope; +exports.getHubFromCarrier = browser_1.getHubFromCarrier; +exports.getCurrentHub = browser_1.getCurrentHub; +exports.Hub = browser_1.Hub; +exports.Scope = browser_1.Scope; +exports.setContext = browser_1.setContext; +exports.setExtra = browser_1.setExtra; +exports.setExtras = browser_1.setExtras; +exports.setTag = browser_1.setTag; +exports.setTags = browser_1.setTags; +exports.setUser = browser_1.setUser; +exports.startTransaction = browser_1.startTransaction; +exports.Transports = browser_1.Transports; +exports.withScope = browser_1.withScope; +var browser_2 = require("@sentry/browser"); +exports.BrowserClient = browser_2.BrowserClient; +var browser_3 = require("@sentry/browser"); +exports.defaultIntegrations = browser_3.defaultIntegrations; +exports.forceLoad = browser_3.forceLoad; +exports.init = browser_3.init; +exports.lastEventId = browser_3.lastEventId; +exports.onLoad = browser_3.onLoad; +exports.showReportDialog = browser_3.showReportDialog; +exports.flush = browser_3.flush; +exports.close = browser_3.close; +exports.wrap = browser_3.wrap; +var browser_4 = require("@sentry/browser"); +exports.SDK_NAME = browser_4.SDK_NAME; +exports.SDK_VERSION = browser_4.SDK_VERSION; +var browser_5 = require("@sentry/browser"); +var utils_1 = require("@sentry/utils"); +var browser_6 = require("./browser"); +exports.BrowserTracing = browser_6.BrowserTracing; +var hubextensions_1 = require("./hubextensions"); +exports.addExtensionMethods = hubextensions_1.addExtensionMethods; +var span_1 = require("./span"); +exports.Span = span_1.Span; +var windowIntegrations = {}; +// This block is needed to add compatibility with the integrations packages when used with a CDN +var _window = utils_1.getGlobalObject(); +if (_window.Sentry && _window.Sentry.Integrations) { + windowIntegrations = _window.Sentry.Integrations; +} +var INTEGRATIONS = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, windowIntegrations), browser_5.Integrations), { BrowserTracing: browser_6.BrowserTracing }); +exports.Integrations = INTEGRATIONS; +// We are patching the global object with our hub extension methods +hubextensions_1.addExtensionMethods(); +//# sourceMappingURL=index.bundle.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/index.bundle.js.map b/node_modules/@sentry/tracing/dist/index.bundle.js.map new file mode 100644 index 000000000..3f3706d03 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/index.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.bundle.js","sourceRoot":"","sources":["../src/index.bundle.ts"],"names":[],"mappings":";;AAAA,uCAauB;AALrB,2BAAA,QAAQ,CAAA;AASV,2CAoByB;AAnBvB,4CAAA,uBAAuB,CAAA;AACvB,kCAAA,aAAa,CAAA;AACb,qCAAA,gBAAgB,CAAA;AAChB,iCAAA,YAAY,CAAA;AACZ,mCAAA,cAAc,CAAA;AACd,mCAAA,cAAc,CAAA;AACd,sCAAA,iBAAiB,CAAA;AACjB,kCAAA,aAAa,CAAA;AACb,wBAAA,GAAG,CAAA;AACH,0BAAA,KAAK,CAAA;AACL,+BAAA,UAAU,CAAA;AACV,6BAAA,QAAQ,CAAA;AACR,8BAAA,SAAS,CAAA;AACT,2BAAA,MAAM,CAAA;AACN,4BAAA,OAAO,CAAA;AACP,4BAAA,OAAO,CAAA;AACP,qCAAA,gBAAgB,CAAA;AAChB,+BAAA,UAAU,CAAA;AACV,8BAAA,SAAS,CAAA;AAIX,2CAAqE;AAA5D,kCAAA,aAAa,CAAA;AACtB,2CAUyB;AATvB,wCAAA,mBAAmB,CAAA;AACnB,8BAAA,SAAS,CAAA;AACT,yBAAA,IAAI,CAAA;AACJ,gCAAA,WAAW,CAAA;AACX,2BAAA,MAAM,CAAA;AACN,qCAAA,gBAAgB,CAAA;AAChB,0BAAA,KAAK,CAAA;AACL,0BAAA,KAAK,CAAA;AACL,yBAAA,IAAI,CAAA;AAEN,2CAAwD;AAA/C,6BAAA,QAAQ,CAAA;AAAE,gCAAA,WAAW,CAAA;AAE9B,2CAAsE;AACtE,uCAAgD;AAEhD,qCAA2C;AAwBlC,yBAxBA,wBAAc,CAwBA;AAvBvB,iDAAsD;AA4B7C,8BA5BA,mCAAmB,CA4BA;AA1B5B,+BAA8B;AAArB,sBAAA,IAAI,CAAA;AAEb,IAAI,kBAAkB,GAAG,EAAE,CAAC;AAE5B,gGAAgG;AAChG,IAAM,OAAO,GAAG,uBAAe,EAAU,CAAC;AAC1C,IAAI,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE;IACjD,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;CAClD;AAED,IAAM,YAAY,0DACb,kBAAkB,GAClB,sBAAmB,KACtB,cAAc,0BAAA,GACf,CAAC;AAEuB,oCAAY;AAOrC,mEAAmE;AACnE,mCAAmB,EAAE,CAAC","sourcesContent":["export {\n Breadcrumb,\n Request,\n SdkInfo,\n Event,\n EventStatus,\n Exception,\n Response,\n Severity,\n StackFrame,\n Stacktrace,\n Thread,\n User,\n} from '@sentry/types';\n\nexport { SeverityLevel } from '@sentry/utils';\n\nexport {\n addGlobalEventProcessor,\n addBreadcrumb,\n captureException,\n captureEvent,\n captureMessage,\n configureScope,\n getHubFromCarrier,\n getCurrentHub,\n Hub,\n Scope,\n setContext,\n setExtra,\n setExtras,\n setTag,\n setTags,\n setUser,\n startTransaction,\n Transports,\n withScope,\n} from '@sentry/browser';\n\nexport { BrowserOptions } from '@sentry/browser';\nexport { BrowserClient, ReportDialogOptions } from '@sentry/browser';\nexport {\n defaultIntegrations,\n forceLoad,\n init,\n lastEventId,\n onLoad,\n showReportDialog,\n flush,\n close,\n wrap,\n} from '@sentry/browser';\nexport { SDK_NAME, SDK_VERSION } from '@sentry/browser';\n\nimport { Integrations as BrowserIntegrations } from '@sentry/browser';\nimport { getGlobalObject } from '@sentry/utils';\n\nimport { BrowserTracing } from './browser';\nimport { addExtensionMethods } from './hubextensions';\n\nexport { Span } from './span';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nconst _window = getGlobalObject();\nif (_window.Sentry && _window.Sentry.Integrations) {\n windowIntegrations = _window.Sentry.Integrations;\n}\n\nconst INTEGRATIONS = {\n ...windowIntegrations,\n ...BrowserIntegrations,\n BrowserTracing,\n};\n\nexport { INTEGRATIONS as Integrations };\n// Though in this case exporting this separately in addition to exporting it as part of `Sentry.Integrations` doesn't\n// gain us any bundle size advantage (we're making the bundle here, not the user, and we can't leave anything out of\n// ours), it does bring the API for using the integration in line with that recommended for users bundling Sentry\n// themselves.\nexport { BrowserTracing };\n\n// We are patching the global object with our hub extension methods\naddExtensionMethods();\n\nexport { addExtensionMethods };\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/index.d.ts b/node_modules/@sentry/tracing/dist/index.d.ts new file mode 100644 index 000000000..b05da624e --- /dev/null +++ b/node_modules/@sentry/tracing/dist/index.d.ts @@ -0,0 +1,13 @@ +import { addExtensionMethods } from './hubextensions'; +import * as Integrations from './integrations'; +export { Integrations }; +export { BrowserTracing } from './browser'; +export { Span, SpanStatusType, spanStatusfromHttpCode } from './span'; +export { SpanStatus } from './spanstatus'; +export { Transaction } from './transaction'; +export { instrumentOutgoingRequests as registerRequestInstrumentation, RequestInstrumentationOptions, defaultRequestInstrumentationOptions, } from './browser'; +export { IdleTransaction } from './idletransaction'; +export { startIdleTransaction } from './hubextensions'; +export { addExtensionMethods }; +export { extractTraceparentData, getActiveTransaction, hasTracingEnabled, stripUrlQueryAndFragment, TRACEPARENT_REGEXP, } from './utils'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/index.d.ts.map b/node_modules/@sentry/tracing/dist/index.d.ts.map new file mode 100644 index 000000000..d9828d205 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,CAAC;AAkBxB,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAEL,0BAA0B,IAAI,8BAA8B,EAC5D,6BAA6B,EAC7B,oCAAoC,GACrC,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAKvD,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/index.js b/node_modules/@sentry/tracing/dist/index.js new file mode 100644 index 000000000..177346e2f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/index.js @@ -0,0 +1,48 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var hubextensions_1 = require("./hubextensions"); +exports.addExtensionMethods = hubextensions_1.addExtensionMethods; +var Integrations = require("./integrations"); +exports.Integrations = Integrations; +// This is already exported as part of `Integrations` above (and for the moment will remain so for +// backwards compatibility), but that interferes with treeshaking, so we also export it separately +// here. +// +// Previously we expected users to import tracing integrations like +// +// import { Integrations } from '@sentry/tracing'; +// const instance = new Integrations.BrowserTracing(); +// +// This makes the integrations unable to be treeshaken though. To address this, we now have +// this individual export. We now expect users to consume BrowserTracing like so: +// +// import { BrowserTracing } from '@sentry/tracing'; +// const instance = new BrowserTracing(); +// +// For an example of of the new usage of BrowserTracing, see @sentry/nextjs index.client.ts +var browser_1 = require("./browser"); +exports.BrowserTracing = browser_1.BrowserTracing; +var span_1 = require("./span"); +exports.Span = span_1.Span; +exports.spanStatusfromHttpCode = span_1.spanStatusfromHttpCode; +// eslint-disable-next-line deprecation/deprecation +var spanstatus_1 = require("./spanstatus"); +exports.SpanStatus = spanstatus_1.SpanStatus; +var transaction_1 = require("./transaction"); +exports.Transaction = transaction_1.Transaction; +var browser_2 = require("./browser"); +// TODO deprecate old name in v7 +exports.registerRequestInstrumentation = browser_2.instrumentOutgoingRequests; +exports.defaultRequestInstrumentationOptions = browser_2.defaultRequestInstrumentationOptions; +var idletransaction_1 = require("./idletransaction"); +exports.IdleTransaction = idletransaction_1.IdleTransaction; +var hubextensions_2 = require("./hubextensions"); +exports.startIdleTransaction = hubextensions_2.startIdleTransaction; +// We are patching the global object with our hub extension methods +hubextensions_1.addExtensionMethods(); +var utils_1 = require("./utils"); +exports.extractTraceparentData = utils_1.extractTraceparentData; +exports.getActiveTransaction = utils_1.getActiveTransaction; +exports.hasTracingEnabled = utils_1.hasTracingEnabled; +exports.stripUrlQueryAndFragment = utils_1.stripUrlQueryAndFragment; +exports.TRACEPARENT_REGEXP = utils_1.TRACEPARENT_REGEXP; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/index.js.map b/node_modules/@sentry/tracing/dist/index.js.map new file mode 100644 index 000000000..7aabfbddb --- /dev/null +++ b/node_modules/@sentry/tracing/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,iDAAsD;AAuC7C,8BAvCA,mCAAmB,CAuCA;AAtC5B,6CAA+C;AAEtC,oCAAY;AAErB,kGAAkG;AAClG,kGAAkG;AAClG,QAAQ;AACR,EAAE;AACF,mEAAmE;AACnE,EAAE;AACF,kDAAkD;AAClD,sDAAsD;AACtD,EAAE;AACF,2FAA2F;AAC3F,iFAAiF;AACjF,EAAE;AACF,oDAAoD;AACpD,yCAAyC;AACzC,EAAE;AACF,2FAA2F;AAC3F,qCAA2C;AAAlC,mCAAA,cAAc,CAAA;AAEvB,+BAAsE;AAA7D,sBAAA,IAAI,CAAA;AAAkB,wCAAA,sBAAsB,CAAA;AACrD,mDAAmD;AACnD,2CAA0C;AAAjC,kCAAA,UAAU,CAAA;AACnB,6CAA4C;AAAnC,oCAAA,WAAW,CAAA;AACpB,qCAKmB;AAJjB,gCAAgC;AAChC,mDAAA,0BAA0B,CAAkC;AAE5D,yDAAA,oCAAoC,CAAA;AAEtC,qDAAoD;AAA3C,4CAAA,eAAe,CAAA;AACxB,iDAAuD;AAA9C,+CAAA,oBAAoB,CAAA;AAE7B,mEAAmE;AACnE,mCAAmB,EAAE,CAAC;AAItB,iCAMiB;AALf,yCAAA,sBAAsB,CAAA;AACtB,uCAAA,oBAAoB,CAAA;AACpB,oCAAA,iBAAiB,CAAA;AACjB,2CAAA,wBAAwB,CAAA;AACxB,qCAAA,kBAAkB,CAAA","sourcesContent":["import { addExtensionMethods } from './hubextensions';\nimport * as Integrations from './integrations';\n\nexport { Integrations };\n\n// This is already exported as part of `Integrations` above (and for the moment will remain so for\n// backwards compatibility), but that interferes with treeshaking, so we also export it separately\n// here.\n//\n// Previously we expected users to import tracing integrations like\n//\n// import { Integrations } from '@sentry/tracing';\n// const instance = new Integrations.BrowserTracing();\n//\n// This makes the integrations unable to be treeshaken though. To address this, we now have\n// this individual export. We now expect users to consume BrowserTracing like so:\n//\n// import { BrowserTracing } from '@sentry/tracing';\n// const instance = new BrowserTracing();\n//\n// For an example of of the new usage of BrowserTracing, see @sentry/nextjs index.client.ts\nexport { BrowserTracing } from './browser';\n\nexport { Span, SpanStatusType, spanStatusfromHttpCode } from './span';\n// eslint-disable-next-line deprecation/deprecation\nexport { SpanStatus } from './spanstatus';\nexport { Transaction } from './transaction';\nexport {\n // TODO deprecate old name in v7\n instrumentOutgoingRequests as registerRequestInstrumentation,\n RequestInstrumentationOptions,\n defaultRequestInstrumentationOptions,\n} from './browser';\nexport { IdleTransaction } from './idletransaction';\nexport { startIdleTransaction } from './hubextensions';\n\n// We are patching the global object with our hub extension methods\naddExtensionMethods();\n\nexport { addExtensionMethods };\n\nexport {\n extractTraceparentData,\n getActiveTransaction,\n hasTracingEnabled,\n stripUrlQueryAndFragment,\n TRACEPARENT_REGEXP,\n} from './utils';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/index.d.ts b/node_modules/@sentry/tracing/dist/integrations/index.d.ts new file mode 100644 index 000000000..1c7d20e52 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/index.d.ts @@ -0,0 +1,6 @@ +export { Express } from './node/express'; +export { Postgres } from './node/postgres'; +export { Mysql } from './node/mysql'; +export { Mongo } from './node/mongo'; +export { BrowserTracing } from '../browser'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/index.d.ts.map b/node_modules/@sentry/tracing/dist/integrations/index.d.ts.map new file mode 100644 index 000000000..b8d1ffb5a --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAIrC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/index.js b/node_modules/@sentry/tracing/dist/integrations/index.js new file mode 100644 index 000000000..5e3fcad6b --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/index.js @@ -0,0 +1,14 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var express_1 = require("./node/express"); +exports.Express = express_1.Express; +var postgres_1 = require("./node/postgres"); +exports.Postgres = postgres_1.Postgres; +var mysql_1 = require("./node/mysql"); +exports.Mysql = mysql_1.Mysql; +var mongo_1 = require("./node/mongo"); +exports.Mongo = mongo_1.Mongo; +// TODO(v7): Remove this export +// Please see `src/index.ts` for more details. +var browser_1 = require("../browser"); +exports.BrowserTracing = browser_1.BrowserTracing; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/index.js.map b/node_modules/@sentry/tracing/dist/integrations/index.js.map new file mode 100644 index 000000000..b6e8b429f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":";AAAA,0CAAyC;AAAhC,4BAAA,OAAO,CAAA;AAChB,4CAA2C;AAAlC,8BAAA,QAAQ,CAAA;AACjB,sCAAqC;AAA5B,wBAAA,KAAK,CAAA;AACd,sCAAqC;AAA5B,wBAAA,KAAK,CAAA;AAEd,+BAA+B;AAC/B,8CAA8C;AAC9C,sCAA4C;AAAnC,mCAAA,cAAc,CAAA","sourcesContent":["export { Express } from './node/express';\nexport { Postgres } from './node/postgres';\nexport { Mysql } from './node/mysql';\nexport { Mongo } from './node/mongo';\n\n// TODO(v7): Remove this export\n// Please see `src/index.ts` for more details.\nexport { BrowserTracing } from '../browser';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/express.d.ts b/node_modules/@sentry/tracing/dist/integrations/node/express.d.ts new file mode 100644 index 000000000..56cbcca99 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/express.d.ts @@ -0,0 +1,39 @@ +import { Integration } from '@sentry/types'; +declare type Method = 'all' | 'get' | 'post' | 'put' | 'delete' | 'patch' | 'options' | 'head' | 'checkout' | 'copy' | 'lock' | 'merge' | 'mkactivity' | 'mkcol' | 'move' | 'm-search' | 'notify' | 'purge' | 'report' | 'search' | 'subscribe' | 'trace' | 'unlock' | 'unsubscribe' | 'use'; +declare type Router = { + [method in Method]: (...args: any) => any; +}; +/** + * Express integration + * + * Provides an request and error handler for Express framework as well as tracing capabilities + */ +export declare class Express implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * Express App instance + */ + private readonly _router?; + private readonly _methods?; + /** + * @inheritDoc + */ + constructor(options?: { + app?: Router; + router?: Router; + methods?: Method[]; + }); + /** + * @inheritDoc + */ + setupOnce(): void; +} +export {}; +//# sourceMappingURL=express.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/express.d.ts.map b/node_modules/@sentry/tracing/dist/integrations/node/express.d.ts.map new file mode 100644 index 000000000..c3df58bbd --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/express.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../src/integrations/node/express.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAe,MAAM,eAAe,CAAC;AAGzD,aAAK,MAAM,GACP,KAAK,GACL,KAAK,GACL,MAAM,GACN,KAAK,GACL,QAAQ,GACR,OAAO,GACP,SAAS,GACT,MAAM,GACN,UAAU,GACV,MAAM,GACN,MAAM,GACN,OAAO,GACP,YAAY,GACZ,OAAO,GACP,MAAM,GACN,UAAU,GACV,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,OAAO,GACP,QAAQ,GACR,aAAa,GACb,KAAK,CAAC;AAEV,aAAK,MAAM,GAAG;KACX,MAAM,IAAI,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG;CAC1C,CAAC;AAcF;;;;GAIG;AACH,qBAAa,OAAQ,YAAW,WAAW;IACzC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAa;IAErC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAc;IAEjC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAS;IAClC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAW;IAErC;;OAEG;gBACgB,OAAO,GAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;KAAO;IAKtF;;OAEG;IACI,SAAS,IAAI,IAAI;CAOzB"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/express.js b/node_modules/@sentry/tracing/dist/integrations/node/express.js new file mode 100644 index 000000000..d5bb2a79f --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/express.js @@ -0,0 +1,162 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +/** + * Express integration + * + * Provides an request and error handler for Express framework as well as tracing capabilities + */ +var Express = /** @class */ (function () { + /** + * @inheritDoc + */ + function Express(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = Express.id; + this._router = options.router || options.app; + this._methods = (Array.isArray(options.methods) ? options.methods : []).concat('use'); + } + /** + * @inheritDoc + */ + Express.prototype.setupOnce = function () { + if (!this._router) { + utils_1.logger.error('ExpressIntegration is missing an Express instance'); + return; + } + instrumentMiddlewares(this._router, this._methods); + }; + /** + * @inheritDoc + */ + Express.id = 'Express'; + return Express; +}()); +exports.Express = Express; +/** + * Wraps original middleware function in a tracing call, which stores the info about the call as a span, + * and finishes it once the middleware is done invoking. + * + * Express middlewares have 3 various forms, thus we have to take care of all of them: + * // sync + * app.use(function (req, res) { ... }) + * // async + * app.use(function (req, res, next) { ... }) + * // error handler + * app.use(function (err, req, res, next) { ... }) + * + * They all internally delegate to the `router[method]` of the given application instance. + */ +// eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any +function wrap(fn, method) { + var arity = fn.length; + switch (arity) { + case 2: { + return function (req, res) { + var transaction = res.__sentry_transaction; + if (transaction) { + var span_1 = transaction.startChild({ + description: fn.name, + op: "express.middleware." + method, + }); + res.once('finish', function () { + span_1.finish(); + }); + } + return fn.call(this, req, res); + }; + } + case 3: { + return function (req, res, next) { + var _a; + var transaction = res.__sentry_transaction; + var span = (_a = transaction) === null || _a === void 0 ? void 0 : _a.startChild({ + description: fn.name, + op: "express.middleware." + method, + }); + fn.call(this, req, res, function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + next.call.apply(next, tslib_1.__spread([this], args)); + }); + }; + } + case 4: { + return function (err, req, res, next) { + var _a; + var transaction = res.__sentry_transaction; + var span = (_a = transaction) === null || _a === void 0 ? void 0 : _a.startChild({ + description: fn.name, + op: "express.middleware." + method, + }); + fn.call(this, err, req, res, function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + next.call.apply(next, tslib_1.__spread([this], args)); + }); + }; + } + default: { + throw new Error("Express middleware takes 2-4 arguments. Got: " + arity); + } + } +} +/** + * Takes all the function arguments passed to the original `app` or `router` method, eg. `app.use` or `router.use` + * and wraps every function, as well as array of functions with a call to our `wrap` method. + * We have to take care of the arrays as well as iterate over all of the arguments, + * as `app.use` can accept middlewares in few various forms. + * + * app.use([], ) + * app.use([], , ...) + * app.use([], ...[]) + */ +function wrapMiddlewareArgs(args, method) { + return args.map(function (arg) { + if (typeof arg === 'function') { + return wrap(arg, method); + } + if (Array.isArray(arg)) { + return arg.map(function (a) { + if (typeof a === 'function') { + return wrap(a, method); + } + return a; + }); + } + return arg; + }); +} +/** + * Patches original router to utilize our tracing functionality + */ +function patchMiddleware(router, method) { + var originalCallback = router[method]; + router[method] = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + return originalCallback.call.apply(originalCallback, tslib_1.__spread([this], wrapMiddlewareArgs(args, method))); + }; + return router; +} +/** + * Patches original router methods + */ +function instrumentMiddlewares(router, methods) { + if (methods === void 0) { methods = []; } + methods.forEach(function (method) { return patchMiddleware(router, method); }); +} +//# sourceMappingURL=express.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/express.js.map b/node_modules/@sentry/tracing/dist/integrations/node/express.js.map new file mode 100644 index 000000000..f94f617eb --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/express.js.map @@ -0,0 +1 @@ +{"version":3,"file":"express.js","sourceRoot":"","sources":["../../../src/integrations/node/express.ts"],"names":[],"mappings":"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","sourcesContent":["import { Integration, Transaction } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\ntype Method =\n | 'all'\n | 'get'\n | 'post'\n | 'put'\n | 'delete'\n | 'patch'\n | 'options'\n | 'head'\n | 'checkout'\n | 'copy'\n | 'lock'\n | 'merge'\n | 'mkactivity'\n | 'mkcol'\n | 'move'\n | 'm-search'\n | 'notify'\n | 'purge'\n | 'report'\n | 'search'\n | 'subscribe'\n | 'trace'\n | 'unlock'\n | 'unsubscribe'\n | 'use';\n\ntype Router = {\n [method in Method]: (...args: any) => any; // eslint-disable-line @typescript-eslint/no-explicit-any\n};\n\ninterface ExpressResponse {\n once(name: string, callback: () => void): void;\n}\n\n/**\n * Internal helper for `__sentry_transaction`\n * @hidden\n */\ninterface SentryTracingResponse {\n __sentry_transaction?: Transaction;\n}\n\n/**\n * Express integration\n *\n * Provides an request and error handler for Express framework as well as tracing capabilities\n */\nexport class Express implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Express';\n\n /**\n * @inheritDoc\n */\n public name: string = Express.id;\n\n /**\n * Express App instance\n */\n private readonly _router?: Router;\n private readonly _methods?: Method[];\n\n /**\n * @inheritDoc\n */\n public constructor(options: { app?: Router; router?: Router; methods?: Method[] } = {}) {\n this._router = options.router || options.app;\n this._methods = (Array.isArray(options.methods) ? options.methods : []).concat('use');\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n if (!this._router) {\n logger.error('ExpressIntegration is missing an Express instance');\n return;\n }\n instrumentMiddlewares(this._router, this._methods);\n }\n}\n\n/**\n * Wraps original middleware function in a tracing call, which stores the info about the call as a span,\n * and finishes it once the middleware is done invoking.\n *\n * Express middlewares have 3 various forms, thus we have to take care of all of them:\n * // sync\n * app.use(function (req, res) { ... })\n * // async\n * app.use(function (req, res, next) { ... })\n * // error handler\n * app.use(function (err, req, res, next) { ... })\n *\n * They all internally delegate to the `router[method]` of the given application instance.\n */\n// eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any\nfunction wrap(fn: Function, method: Method): (...args: any[]) => void {\n const arity = fn.length;\n\n switch (arity) {\n case 2: {\n return function (this: NodeJS.Global, req: unknown, res: ExpressResponse & SentryTracingResponse): void {\n const transaction = res.__sentry_transaction;\n if (transaction) {\n const span = transaction.startChild({\n description: fn.name,\n op: `express.middleware.${method}`,\n });\n res.once('finish', () => {\n span.finish();\n });\n }\n return fn.call(this, req, res);\n };\n }\n case 3: {\n return function (\n this: NodeJS.Global,\n req: unknown,\n res: ExpressResponse & SentryTracingResponse,\n next: () => void,\n ): void {\n const transaction = res.__sentry_transaction;\n const span = transaction?.startChild({\n description: fn.name,\n op: `express.middleware.${method}`,\n });\n fn.call(this, req, res, function (this: NodeJS.Global, ...args: unknown[]): void {\n span?.finish();\n next.call(this, ...args);\n });\n };\n }\n case 4: {\n return function (\n this: NodeJS.Global,\n err: Error,\n req: Request,\n res: Response & SentryTracingResponse,\n next: () => void,\n ): void {\n const transaction = res.__sentry_transaction;\n const span = transaction?.startChild({\n description: fn.name,\n op: `express.middleware.${method}`,\n });\n fn.call(this, err, req, res, function (this: NodeJS.Global, ...args: unknown[]): void {\n span?.finish();\n next.call(this, ...args);\n });\n };\n }\n default: {\n throw new Error(`Express middleware takes 2-4 arguments. Got: ${arity}`);\n }\n }\n}\n\n/**\n * Takes all the function arguments passed to the original `app` or `router` method, eg. `app.use` or `router.use`\n * and wraps every function, as well as array of functions with a call to our `wrap` method.\n * We have to take care of the arrays as well as iterate over all of the arguments,\n * as `app.use` can accept middlewares in few various forms.\n *\n * app.use([], )\n * app.use([], , ...)\n * app.use([], ...[])\n */\nfunction wrapMiddlewareArgs(args: unknown[], method: Method): unknown[] {\n return args.map((arg: unknown) => {\n if (typeof arg === 'function') {\n return wrap(arg, method);\n }\n\n if (Array.isArray(arg)) {\n return arg.map((a: unknown) => {\n if (typeof a === 'function') {\n return wrap(a, method);\n }\n return a;\n });\n }\n\n return arg;\n });\n}\n\n/**\n * Patches original router to utilize our tracing functionality\n */\nfunction patchMiddleware(router: Router, method: Method): Router {\n const originalCallback = router[method];\n\n router[method] = function (...args: unknown[]): void {\n return originalCallback.call(this, ...wrapMiddlewareArgs(args, method));\n };\n\n return router;\n}\n\n/**\n * Patches original router methods\n */\nfunction instrumentMiddlewares(router: Router, methods: Method[] = []): void {\n methods.forEach((method: Method) => patchMiddleware(router, method));\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/mongo.d.ts b/node_modules/@sentry/tracing/dist/integrations/node/mongo.d.ts new file mode 100644 index 000000000..5244f0c4b --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/mongo.d.ts @@ -0,0 +1,45 @@ +import { Hub } from '@sentry/hub'; +import { EventProcessor, Integration } from '@sentry/types'; +declare type Operation = typeof OPERATIONS[number]; +declare const OPERATIONS: readonly ["aggregate", "bulkWrite", "countDocuments", "createIndex", "createIndexes", "deleteMany", "deleteOne", "distinct", "drop", "dropIndex", "dropIndexes", "estimatedDocumentCount", "find", "findOne", "findOneAndDelete", "findOneAndReplace", "findOneAndUpdate", "indexes", "indexExists", "indexInformation", "initializeOrderedBulkOp", "insertMany", "insertOne", "isCapped", "mapReduce", "options", "parallelCollectionScan", "rename", "replaceOne", "stats", "updateMany", "updateOne"]; +interface MongoOptions { + operations?: Operation[]; + describeOperations?: boolean | Operation[]; + useMongoose?: boolean; +} +/** Tracing integration for mongo package */ +export declare class Mongo implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + private _operations; + private _describeOperations?; + private _useMongoose; + /** + * @inheritDoc + */ + constructor(options?: MongoOptions); + /** + * @inheritDoc + */ + setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; + /** + * Patches original collection methods + */ + private _instrumentOperations; + /** + * Patches original collection to utilize our tracing functionality + */ + private _patchOperation; + /** + * Form a SpanContext based on the user input to a given operation. + */ + private _getSpanContextFromOperationArguments; +} +export {}; +//# sourceMappingURL=mongo.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/mongo.d.ts.map b/node_modules/@sentry/tracing/dist/integrations/node/mongo.d.ts.map new file mode 100644 index 000000000..ff6b4ee74 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/mongo.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../../../src/integrations/node/mongo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAe,MAAM,eAAe,CAAC;AAMzE,aAAK,SAAS,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3C,QAAA,MAAM,UAAU,0eAiCN,CAAC;AA2CX,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,CAAC;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,4CAA4C;AAC5C,qBAAa,KAAM,YAAW,WAAW;IACvC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAW;IAEnC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAY;IAE/B,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,mBAAmB,CAAC,CAAwB;IACpD,OAAO,CAAC,YAAY,CAAU;IAE9B;;OAEG;gBACgB,OAAO,GAAE,YAAiB;IAM7C;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;IAYvF;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAI7B;;OAEG;IACH,OAAO,CAAC,eAAe;IAqCvB;;OAEG;IACH,OAAO,CAAC,qCAAqC;CA4C9C"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/mongo.js b/node_modules/@sentry/tracing/dist/integrations/node/mongo.js new file mode 100644 index 000000000..c31173f28 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/mongo.js @@ -0,0 +1,192 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +var OPERATIONS = [ + 'aggregate', + 'bulkWrite', + 'countDocuments', + 'createIndex', + 'createIndexes', + 'deleteMany', + 'deleteOne', + 'distinct', + 'drop', + 'dropIndex', + 'dropIndexes', + 'estimatedDocumentCount', + 'find', + 'findOne', + 'findOneAndDelete', + 'findOneAndReplace', + 'findOneAndUpdate', + 'indexes', + 'indexExists', + 'indexInformation', + 'initializeOrderedBulkOp', + 'insertMany', + 'insertOne', + 'isCapped', + 'mapReduce', + 'options', + 'parallelCollectionScan', + 'rename', + 'replaceOne', + 'stats', + 'updateMany', + 'updateOne', +]; +// All of the operations above take `options` and `callback` as their final parameters, but some of them +// take additional parameters as well. For those operations, this is a map of +// { : [] }, as a way to know what to call the operation's +// positional arguments when we add them to the span's `data` object later +var OPERATION_SIGNATURES = { + // aggregate intentionally not included because `pipeline` arguments are too complex to serialize well + // see https://github.com/getsentry/sentry-javascript/pull/3102 + bulkWrite: ['operations'], + countDocuments: ['query'], + createIndex: ['fieldOrSpec'], + createIndexes: ['indexSpecs'], + deleteMany: ['filter'], + deleteOne: ['filter'], + distinct: ['key', 'query'], + dropIndex: ['indexName'], + find: ['query'], + findOne: ['query'], + findOneAndDelete: ['filter'], + findOneAndReplace: ['filter', 'replacement'], + findOneAndUpdate: ['filter', 'update'], + indexExists: ['indexes'], + insertMany: ['docs'], + insertOne: ['doc'], + mapReduce: ['map', 'reduce'], + rename: ['newName'], + replaceOne: ['filter', 'doc'], + updateMany: ['filter', 'update'], + updateOne: ['filter', 'update'], +}; +/** Tracing integration for mongo package */ +var Mongo = /** @class */ (function () { + /** + * @inheritDoc + */ + function Mongo(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = Mongo.id; + this._operations = Array.isArray(options.operations) ? options.operations : OPERATIONS; + this._describeOperations = 'describeOperations' in options ? options.describeOperations : true; + this._useMongoose = !!options.useMongoose; + } + /** + * @inheritDoc + */ + Mongo.prototype.setupOnce = function (_, getCurrentHub) { + var moduleName = this._useMongoose ? 'mongoose' : 'mongodb'; + var pkg = utils_1.loadModule(moduleName); + if (!pkg) { + utils_1.logger.error("Mongo Integration was unable to require `" + moduleName + "` package."); + return; + } + this._instrumentOperations(pkg.Collection, this._operations, getCurrentHub); + }; + /** + * Patches original collection methods + */ + Mongo.prototype._instrumentOperations = function (collection, operations, getCurrentHub) { + var _this = this; + operations.forEach(function (operation) { return _this._patchOperation(collection, operation, getCurrentHub); }); + }; + /** + * Patches original collection to utilize our tracing functionality + */ + Mongo.prototype._patchOperation = function (collection, operation, getCurrentHub) { + if (!(operation in collection.prototype)) + return; + var getSpanContext = this._getSpanContextFromOperationArguments.bind(this); + utils_1.fill(collection.prototype, operation, function (orig) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var _a, _b, _c, _d; + var lastArg = args[args.length - 1]; + var scope = getCurrentHub().getScope(); + var parentSpan = (_a = scope) === null || _a === void 0 ? void 0 : _a.getSpan(); + // Check if the operation was passed a callback. (mapReduce requires a different check, as + // its (non-callback) arguments can also be functions.) + if (typeof lastArg !== 'function' || (operation === 'mapReduce' && args.length === 2)) { + var span_1 = (_b = parentSpan) === null || _b === void 0 ? void 0 : _b.startChild(getSpanContext(this, operation, args)); + var maybePromise = orig.call.apply(orig, tslib_1.__spread([this], args)); + if (utils_1.isThenable(maybePromise)) { + return maybePromise.then(function (res) { + var _a; + (_a = span_1) === null || _a === void 0 ? void 0 : _a.finish(); + return res; + }); + } + else { + (_c = span_1) === null || _c === void 0 ? void 0 : _c.finish(); + return maybePromise; + } + } + var span = (_d = parentSpan) === null || _d === void 0 ? void 0 : _d.startChild(getSpanContext(this, operation, args.slice(0, -1))); + return orig.call.apply(orig, tslib_1.__spread([this], args.slice(0, -1), [function (err, result) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + lastArg(err, result); + }])); + }; + }); + }; + /** + * Form a SpanContext based on the user input to a given operation. + */ + Mongo.prototype._getSpanContextFromOperationArguments = function (collection, operation, args) { + var data = { + collectionName: collection.collectionName, + dbName: collection.dbName, + namespace: collection.namespace, + }; + var spanContext = { + op: "db", + description: operation, + data: data, + }; + // If the operation takes no arguments besides `options` and `callback`, or if argument + // collection is disabled for this operation, just return early. + var signature = OPERATION_SIGNATURES[operation]; + var shouldDescribe = Array.isArray(this._describeOperations) + ? this._describeOperations.includes(operation) + : this._describeOperations; + if (!signature || !shouldDescribe) { + return spanContext; + } + try { + // Special case for `mapReduce`, as the only one accepting functions as arguments. + if (operation === 'mapReduce') { + var _a = tslib_1.__read(args, 2), map = _a[0], reduce = _a[1]; + data[signature[0]] = typeof map === 'string' ? map : map.name || ''; + data[signature[1]] = typeof reduce === 'string' ? reduce : reduce.name || ''; + } + else { + for (var i = 0; i < signature.length; i++) { + data[signature[i]] = JSON.stringify(args[i]); + } + } + } + catch (_oO) { + // no-empty + } + return spanContext; + }; + /** + * @inheritDoc + */ + Mongo.id = 'Mongo'; + return Mongo; +}()); +exports.Mongo = Mongo; +//# sourceMappingURL=mongo.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/mongo.js.map b/node_modules/@sentry/tracing/dist/integrations/node/mongo.js.map new file mode 100644 index 000000000..cea17d8e7 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/mongo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mongo.js","sourceRoot":"","sources":["../../../src/integrations/node/mongo.ts"],"names":[],"mappings":"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","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration, SpanContext } from '@sentry/types';\nimport { fill, isThenable, loadModule, logger } from '@sentry/utils';\n\n// This allows us to use the same array for both defaults options and the type itself.\n// (note `as const` at the end to make it a union of string literal types (i.e. \"a\" | \"b\" | ... )\n// and not just a string[])\ntype Operation = typeof OPERATIONS[number];\nconst OPERATIONS = [\n 'aggregate', // aggregate(pipeline, options, callback)\n 'bulkWrite', // bulkWrite(operations, options, callback)\n 'countDocuments', // countDocuments(query, options, callback)\n 'createIndex', // createIndex(fieldOrSpec, options, callback)\n 'createIndexes', // createIndexes(indexSpecs, options, callback)\n 'deleteMany', // deleteMany(filter, options, callback)\n 'deleteOne', // deleteOne(filter, options, callback)\n 'distinct', // distinct(key, query, options, callback)\n 'drop', // drop(options, callback)\n 'dropIndex', // dropIndex(indexName, options, callback)\n 'dropIndexes', // dropIndexes(options, callback)\n 'estimatedDocumentCount', // estimatedDocumentCount(options, callback)\n 'find', // find(query, options, callback)\n 'findOne', // findOne(query, options, callback)\n 'findOneAndDelete', // findOneAndDelete(filter, options, callback)\n 'findOneAndReplace', // findOneAndReplace(filter, replacement, options, callback)\n 'findOneAndUpdate', // findOneAndUpdate(filter, update, options, callback)\n 'indexes', // indexes(options, callback)\n 'indexExists', // indexExists(indexes, options, callback)\n 'indexInformation', // indexInformation(options, callback)\n 'initializeOrderedBulkOp', // initializeOrderedBulkOp(options, callback)\n 'insertMany', // insertMany(docs, options, callback)\n 'insertOne', // insertOne(doc, options, callback)\n 'isCapped', // isCapped(options, callback)\n 'mapReduce', // mapReduce(map, reduce, options, callback)\n 'options', // options(options, callback)\n 'parallelCollectionScan', // parallelCollectionScan(options, callback)\n 'rename', // rename(newName, options, callback)\n 'replaceOne', // replaceOne(filter, doc, options, callback)\n 'stats', // stats(options, callback)\n 'updateMany', // updateMany(filter, update, options, callback)\n 'updateOne', // updateOne(filter, update, options, callback)\n] as const;\n\n// All of the operations above take `options` and `callback` as their final parameters, but some of them\n// take additional parameters as well. For those operations, this is a map of\n// { : [] }, as a way to know what to call the operation's\n// positional arguments when we add them to the span's `data` object later\nconst OPERATION_SIGNATURES: {\n [op in Operation]?: string[];\n} = {\n // aggregate intentionally not included because `pipeline` arguments are too complex to serialize well\n // see https://github.com/getsentry/sentry-javascript/pull/3102\n bulkWrite: ['operations'],\n countDocuments: ['query'],\n createIndex: ['fieldOrSpec'],\n createIndexes: ['indexSpecs'],\n deleteMany: ['filter'],\n deleteOne: ['filter'],\n distinct: ['key', 'query'],\n dropIndex: ['indexName'],\n find: ['query'],\n findOne: ['query'],\n findOneAndDelete: ['filter'],\n findOneAndReplace: ['filter', 'replacement'],\n findOneAndUpdate: ['filter', 'update'],\n indexExists: ['indexes'],\n insertMany: ['docs'],\n insertOne: ['doc'],\n mapReduce: ['map', 'reduce'],\n rename: ['newName'],\n replaceOne: ['filter', 'doc'],\n updateMany: ['filter', 'update'],\n updateOne: ['filter', 'update'],\n};\n\ninterface MongoCollection {\n collectionName: string;\n dbName: string;\n namespace: string;\n prototype: {\n [operation in Operation]: (...args: unknown[]) => unknown;\n };\n}\n\ninterface MongoOptions {\n operations?: Operation[];\n describeOperations?: boolean | Operation[];\n useMongoose?: boolean;\n}\n\n/** Tracing integration for mongo package */\nexport class Mongo implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Mongo';\n\n /**\n * @inheritDoc\n */\n public name: string = Mongo.id;\n\n private _operations: Operation[];\n private _describeOperations?: boolean | Operation[];\n private _useMongoose: boolean;\n\n /**\n * @inheritDoc\n */\n public constructor(options: MongoOptions = {}) {\n this._operations = Array.isArray(options.operations) ? options.operations : (OPERATIONS as unknown as Operation[]);\n this._describeOperations = 'describeOperations' in options ? options.describeOperations : true;\n this._useMongoose = !!options.useMongoose;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n const moduleName = this._useMongoose ? 'mongoose' : 'mongodb';\n const pkg = loadModule<{ Collection: MongoCollection }>(moduleName);\n\n if (!pkg) {\n logger.error(`Mongo Integration was unable to require \\`${moduleName}\\` package.`);\n return;\n }\n\n this._instrumentOperations(pkg.Collection, this._operations, getCurrentHub);\n }\n\n /**\n * Patches original collection methods\n */\n private _instrumentOperations(collection: MongoCollection, operations: Operation[], getCurrentHub: () => Hub): void {\n operations.forEach((operation: Operation) => this._patchOperation(collection, operation, getCurrentHub));\n }\n\n /**\n * Patches original collection to utilize our tracing functionality\n */\n private _patchOperation(collection: MongoCollection, operation: Operation, getCurrentHub: () => Hub): void {\n if (!(operation in collection.prototype)) return;\n\n const getSpanContext = this._getSpanContextFromOperationArguments.bind(this);\n\n fill(collection.prototype, operation, function (orig: () => void | Promise) {\n return function (this: unknown, ...args: unknown[]) {\n const lastArg = args[args.length - 1];\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n\n // Check if the operation was passed a callback. (mapReduce requires a different check, as\n // its (non-callback) arguments can also be functions.)\n if (typeof lastArg !== 'function' || (operation === 'mapReduce' && args.length === 2)) {\n const span = parentSpan?.startChild(getSpanContext(this, operation, args));\n const maybePromise = orig.call(this, ...args) as Promise;\n\n if (isThenable(maybePromise)) {\n return maybePromise.then((res: unknown) => {\n span?.finish();\n return res;\n });\n } else {\n span?.finish();\n return maybePromise;\n }\n }\n\n const span = parentSpan?.startChild(getSpanContext(this, operation, args.slice(0, -1)));\n return orig.call(this, ...args.slice(0, -1), function (err: Error, result: unknown) {\n span?.finish();\n lastArg(err, result);\n });\n };\n });\n }\n\n /**\n * Form a SpanContext based on the user input to a given operation.\n */\n private _getSpanContextFromOperationArguments(\n collection: MongoCollection,\n operation: Operation,\n args: unknown[],\n ): SpanContext {\n const data: { [key: string]: string } = {\n collectionName: collection.collectionName,\n dbName: collection.dbName,\n namespace: collection.namespace,\n };\n const spanContext: SpanContext = {\n op: `db`,\n description: operation,\n data,\n };\n\n // If the operation takes no arguments besides `options` and `callback`, or if argument\n // collection is disabled for this operation, just return early.\n const signature = OPERATION_SIGNATURES[operation];\n const shouldDescribe = Array.isArray(this._describeOperations)\n ? this._describeOperations.includes(operation)\n : this._describeOperations;\n\n if (!signature || !shouldDescribe) {\n return spanContext;\n }\n\n try {\n // Special case for `mapReduce`, as the only one accepting functions as arguments.\n if (operation === 'mapReduce') {\n const [map, reduce] = args as { name?: string }[];\n data[signature[0]] = typeof map === 'string' ? map : map.name || '';\n data[signature[1]] = typeof reduce === 'string' ? reduce : reduce.name || '';\n } else {\n for (let i = 0; i < signature.length; i++) {\n data[signature[i]] = JSON.stringify(args[i]);\n }\n }\n } catch (_oO) {\n // no-empty\n }\n\n return spanContext;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/mysql.d.ts b/node_modules/@sentry/tracing/dist/integrations/node/mysql.d.ts new file mode 100644 index 000000000..bdbfd4bbc --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/mysql.d.ts @@ -0,0 +1,18 @@ +import { Hub } from '@sentry/hub'; +import { EventProcessor, Integration } from '@sentry/types'; +/** Tracing integration for node-mysql package */ +export declare class Mysql implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; +} +//# sourceMappingURL=mysql.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/mysql.d.ts.map b/node_modules/@sentry/tracing/dist/integrations/node/mysql.d.ts.map new file mode 100644 index 000000000..16fc0a921 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/mysql.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../src/integrations/node/mysql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5D,iDAAiD;AACjD,qBAAa,KAAM,YAAW,WAAW;IACvC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAW;IAEnC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAY;IAE/B;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;CAuCxF"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/mysql.js b/node_modules/@sentry/tracing/dist/integrations/node/mysql.js new file mode 100644 index 000000000..9bb5c9b86 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/mysql.js @@ -0,0 +1,58 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +/** Tracing integration for node-mysql package */ +var Mysql = /** @class */ (function () { + function Mysql() { + /** + * @inheritDoc + */ + this.name = Mysql.id; + } + /** + * @inheritDoc + */ + Mysql.prototype.setupOnce = function (_, getCurrentHub) { + var pkg = utils_1.loadModule('mysql/lib/Connection.js'); + if (!pkg) { + utils_1.logger.error('Mysql Integration was unable to require `mysql` package.'); + return; + } + // The original function will have one of these signatures: + // function (callback) => void + // function (options, callback) => void + // function (options, values, callback) => void + utils_1.fill(pkg, 'createQuery', function (orig) { + return function (options, values, callback) { + var _a, _b; + var scope = getCurrentHub().getScope(); + var parentSpan = (_a = scope) === null || _a === void 0 ? void 0 : _a.getSpan(); + var span = (_b = parentSpan) === null || _b === void 0 ? void 0 : _b.startChild({ + description: typeof options === 'string' ? options : options.sql, + op: "db", + }); + if (typeof callback === 'function') { + return orig.call(this, options, values, function (err, result, fields) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + callback(err, result, fields); + }); + } + if (typeof values === 'function') { + return orig.call(this, options, function (err, result, fields) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + values(err, result, fields); + }); + } + return orig.call(this, options, values, callback); + }; + }); + }; + /** + * @inheritDoc + */ + Mysql.id = 'Mysql'; + return Mysql; +}()); +exports.Mysql = Mysql; +//# sourceMappingURL=mysql.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/mysql.js.map b/node_modules/@sentry/tracing/dist/integrations/node/mysql.js.map new file mode 100644 index 000000000..ac42b1e83 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/mysql.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mysql.js","sourceRoot":"","sources":["../../../src/integrations/node/mysql.ts"],"names":[],"mappings":";AAEA,uCAAyD;AAMzD,iDAAiD;AACjD;IAAA;QAME;;WAEG;QACI,SAAI,GAAW,KAAK,CAAC,EAAE,CAAC;IA4CjC,CAAC;IA1CC;;OAEG;IACI,yBAAS,GAAhB,UAAiB,CAAqC,EAAE,aAAwB;QAC9E,IAAM,GAAG,GAAG,kBAAU,CAAkB,yBAAyB,CAAC,CAAC;QAEnE,IAAI,CAAC,GAAG,EAAE;YACR,cAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;YACzE,OAAO;SACR;QAED,2DAA2D;QAC3D,iCAAiC;QACjC,0CAA0C;QAC1C,kDAAkD;QAClD,YAAI,CAAC,GAAG,EAAE,aAAa,EAAE,UAAU,IAAgB;YACjD,OAAO,UAAyB,OAAgB,EAAE,MAAe,EAAE,QAAiB;;gBAClF,IAAM,KAAK,GAAG,aAAa,EAAE,CAAC,QAAQ,EAAE,CAAC;gBACzC,IAAM,UAAU,SAAG,KAAK,0CAAE,OAAO,EAAE,CAAC;gBACpC,IAAM,IAAI,SAAG,UAAU,0CAAE,UAAU,CAAC;oBAClC,WAAW,EAAE,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,OAA2B,CAAC,GAAG;oBACrF,EAAE,EAAE,IAAI;iBACT,CAAC,CAAC;gBAEH,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;oBAClC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,GAAU,EAAE,MAAe,EAAE,MAAe;;wBAC5F,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;oBAChC,CAAC,CAAC,CAAC;iBACJ;gBAED,IAAI,OAAO,MAAM,KAAK,UAAU,EAAE;oBAChC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,GAAU,EAAE,MAAe,EAAE,MAAe;;wBACpF,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;oBAC9B,CAAC,CAAC,CAAC;iBACJ;gBAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;YACpD,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAnDD;;OAEG;IACW,QAAE,GAAW,OAAO,CAAC;IAiDrC,YAAC;CAAA,AArDD,IAqDC;AArDY,sBAAK","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration } from '@sentry/types';\nimport { fill, loadModule, logger } from '@sentry/utils';\n\ninterface MysqlConnection {\n createQuery: () => void;\n}\n\n/** Tracing integration for node-mysql package */\nexport class Mysql implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Mysql';\n\n /**\n * @inheritDoc\n */\n public name: string = Mysql.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n const pkg = loadModule('mysql/lib/Connection.js');\n\n if (!pkg) {\n logger.error('Mysql Integration was unable to require `mysql` package.');\n return;\n }\n\n // The original function will have one of these signatures:\n // function (callback) => void\n // function (options, callback) => void\n // function (options, values, callback) => void\n fill(pkg, 'createQuery', function (orig: () => void) {\n return function (this: unknown, options: unknown, values: unknown, callback: unknown) {\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n const span = parentSpan?.startChild({\n description: typeof options === 'string' ? options : (options as { sql: string }).sql,\n op: `db`,\n });\n\n if (typeof callback === 'function') {\n return orig.call(this, options, values, function (err: Error, result: unknown, fields: unknown) {\n span?.finish();\n callback(err, result, fields);\n });\n }\n\n if (typeof values === 'function') {\n return orig.call(this, options, function (err: Error, result: unknown, fields: unknown) {\n span?.finish();\n values(err, result, fields);\n });\n }\n\n return orig.call(this, options, values, callback);\n };\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/postgres.d.ts b/node_modules/@sentry/tracing/dist/integrations/node/postgres.d.ts new file mode 100644 index 000000000..680fe66a1 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/postgres.d.ts @@ -0,0 +1,24 @@ +import { Hub } from '@sentry/hub'; +import { EventProcessor, Integration } from '@sentry/types'; +interface PgOptions { + usePgNative?: boolean; +} +/** Tracing integration for node-postgres package */ +export declare class Postgres implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + private _usePgNative; + constructor(options?: PgOptions); + /** + * @inheritDoc + */ + setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; +} +export {}; +//# sourceMappingURL=postgres.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/postgres.d.ts.map b/node_modules/@sentry/tracing/dist/integrations/node/postgres.d.ts.map new file mode 100644 index 000000000..908a24354 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/postgres.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../src/integrations/node/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAS5D,UAAU,SAAS;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,oDAAoD;AACpD,qBAAa,QAAS,YAAW,WAAW;IAC1C;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAc;IAEtC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAe;IAElC,OAAO,CAAC,YAAY,CAAU;gBAEX,OAAO,GAAE,SAAc;IAI1C;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;CA2DxF"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/postgres.js b/node_modules/@sentry/tracing/dist/integrations/node/postgres.js new file mode 100644 index 000000000..8f703e697 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/postgres.js @@ -0,0 +1,78 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var utils_1 = require("@sentry/utils"); +/** Tracing integration for node-postgres package */ +var Postgres = /** @class */ (function () { + function Postgres(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = Postgres.id; + this._usePgNative = !!options.usePgNative; + } + /** + * @inheritDoc + */ + Postgres.prototype.setupOnce = function (_, getCurrentHub) { + var _a; + var pkg = utils_1.loadModule('pg'); + if (!pkg) { + utils_1.logger.error('Postgres Integration was unable to require `pg` package.'); + return; + } + if (this._usePgNative && !((_a = pkg.native) === null || _a === void 0 ? void 0 : _a.Client)) { + utils_1.logger.error("Postgres Integration was unable to access 'pg-native' bindings."); + return; + } + var Client = (this._usePgNative ? pkg.native : pkg).Client; + /** + * function (query, callback) => void + * function (query, params, callback) => void + * function (query) => Promise + * function (query, params) => Promise + * function (pg.Cursor) => pg.Cursor + */ + utils_1.fill(Client.prototype, 'query', function (orig) { + return function (config, values, callback) { + var _a, _b, _c; + var scope = getCurrentHub().getScope(); + var parentSpan = (_a = scope) === null || _a === void 0 ? void 0 : _a.getSpan(); + var span = (_b = parentSpan) === null || _b === void 0 ? void 0 : _b.startChild({ + description: typeof config === 'string' ? config : config.text, + op: "db", + }); + if (typeof callback === 'function') { + return orig.call(this, config, values, function (err, result) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + callback(err, result); + }); + } + if (typeof values === 'function') { + return orig.call(this, config, function (err, result) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + values(err, result); + }); + } + var rv = typeof values !== 'undefined' ? orig.call(this, config, values) : orig.call(this, config); + if (utils_1.isThenable(rv)) { + return rv.then(function (res) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + return res; + }); + } + (_c = span) === null || _c === void 0 ? void 0 : _c.finish(); + return rv; + }; + }); + }; + /** + * @inheritDoc + */ + Postgres.id = 'Postgres'; + return Postgres; +}()); +exports.Postgres = Postgres; +//# sourceMappingURL=postgres.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/integrations/node/postgres.js.map b/node_modules/@sentry/tracing/dist/integrations/node/postgres.js.map new file mode 100644 index 000000000..d374c9ee4 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/integrations/node/postgres.js.map @@ -0,0 +1 @@ +{"version":3,"file":"postgres.js","sourceRoot":"","sources":["../../../src/integrations/node/postgres.ts"],"names":[],"mappings":";AAEA,uCAAqE;AAYrE,oDAAoD;AACpD;IAaE,kBAAmB,OAAuB;QAAvB,wBAAA,EAAA,YAAuB;QAP1C;;WAEG;QACI,SAAI,GAAW,QAAQ,CAAC,EAAE,CAAC;QAKhC,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IAC5C,CAAC;IAED;;OAEG;IACI,4BAAS,GAAhB,UAAiB,CAAqC,EAAE,aAAwB;;QAC9E,IAAM,GAAG,GAAG,kBAAU,CAAqD,IAAI,CAAC,CAAC;QAEjF,IAAI,CAAC,GAAG,EAAE;YACR,cAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;YACzE,OAAO;SACR;QAED,IAAI,IAAI,CAAC,YAAY,IAAI,QAAC,GAAG,CAAC,MAAM,0CAAE,MAAM,CAAA,EAAE;YAC5C,cAAM,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;YAChF,OAAO;SACR;QAEO,IAAA,sDAAM,CAA0C;QAExD;;;;;;WAMG;QACH,YAAI,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,IAAmC;YAC3E,OAAO,UAAyB,MAAe,EAAE,MAAe,EAAE,QAAiB;;gBACjF,IAAM,KAAK,GAAG,aAAa,EAAE,CAAC,QAAQ,EAAE,CAAC;gBACzC,IAAM,UAAU,SAAG,KAAK,0CAAE,OAAO,EAAE,CAAC;gBACpC,IAAM,IAAI,SAAG,UAAU,0CAAE,UAAU,CAAC;oBAClC,WAAW,EAAE,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAE,MAA2B,CAAC,IAAI;oBACpF,EAAE,EAAE,IAAI;iBACT,CAAC,CAAC;gBAEH,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;oBAClC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAU,EAAE,MAAe;;wBAC1E,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBACxB,CAAC,CAAC,CAAC;iBACJ;gBAED,IAAI,OAAO,MAAM,KAAK,UAAU,EAAE;oBAChC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,GAAU,EAAE,MAAe;;wBAClE,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBACtB,CAAC,CAAC,CAAC;iBACJ;gBAED,IAAM,EAAE,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;gBAErG,IAAI,kBAAU,CAAC,EAAE,CAAC,EAAE;oBAClB,OAAQ,EAAuB,CAAC,IAAI,CAAC,UAAC,GAAY;;wBAChD,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,OAAO,GAAG,CAAC;oBACb,CAAC,CAAC,CAAC;iBACJ;gBAED,MAAA,IAAI,0CAAE,MAAM,GAAG;gBACf,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IA7ED;;OAEG;IACW,WAAE,GAAW,UAAU,CAAC;IA2ExC,eAAC;CAAA,AA/ED,IA+EC;AA/EY,4BAAQ","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration } from '@sentry/types';\nimport { fill, isThenable, loadModule, logger } from '@sentry/utils';\n\ninterface PgClient {\n prototype: {\n query: () => void | Promise;\n };\n}\n\ninterface PgOptions {\n usePgNative?: boolean;\n}\n\n/** Tracing integration for node-postgres package */\nexport class Postgres implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Postgres';\n\n /**\n * @inheritDoc\n */\n public name: string = Postgres.id;\n\n private _usePgNative: boolean;\n\n public constructor(options: PgOptions = {}) {\n this._usePgNative = !!options.usePgNative;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n const pkg = loadModule<{ Client: PgClient; native: { Client: PgClient } }>('pg');\n\n if (!pkg) {\n logger.error('Postgres Integration was unable to require `pg` package.');\n return;\n }\n\n if (this._usePgNative && !pkg.native?.Client) {\n logger.error(`Postgres Integration was unable to access 'pg-native' bindings.`);\n return;\n }\n\n const { Client } = this._usePgNative ? pkg.native : pkg;\n\n /**\n * function (query, callback) => void\n * function (query, params, callback) => void\n * function (query) => Promise\n * function (query, params) => Promise\n * function (pg.Cursor) => pg.Cursor\n */\n fill(Client.prototype, 'query', function (orig: () => void | Promise) {\n return function (this: unknown, config: unknown, values: unknown, callback: unknown) {\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n const span = parentSpan?.startChild({\n description: typeof config === 'string' ? config : (config as { text: string }).text,\n op: `db`,\n });\n\n if (typeof callback === 'function') {\n return orig.call(this, config, values, function (err: Error, result: unknown) {\n span?.finish();\n callback(err, result);\n });\n }\n\n if (typeof values === 'function') {\n return orig.call(this, config, function (err: Error, result: unknown) {\n span?.finish();\n values(err, result);\n });\n }\n\n const rv = typeof values !== 'undefined' ? orig.call(this, config, values) : orig.call(this, config);\n\n if (isThenable(rv)) {\n return (rv as Promise).then((res: unknown) => {\n span?.finish();\n return res;\n });\n }\n\n span?.finish();\n return rv;\n };\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/span.d.ts b/node_modules/@sentry/tracing/dist/span.d.ts new file mode 100644 index 000000000..4a3f26eed --- /dev/null +++ b/node_modules/@sentry/tracing/dist/span.d.ts @@ -0,0 +1,212 @@ +import { Primitive, Span as SpanInterface, SpanContext, Transaction } from '@sentry/types'; +/** + * Keeps track of finished spans for a given transaction + * @internal + * @hideconstructor + * @hidden + */ +export declare class SpanRecorder { + spans: Span[]; + private readonly _maxlen; + constructor(maxlen?: number); + /** + * This is just so that we don't run out of memory while recording a lot + * of spans. At some point we just stop and flush out the start of the + * trace tree (i.e.the first n spans with the smallest + * start_timestamp). + */ + add(span: Span): void; +} +/** + * Span contains all data about a span + */ +export declare class Span implements SpanInterface { + /** + * @inheritDoc + */ + traceId: string; + /** + * @inheritDoc + */ + spanId: string; + /** + * @inheritDoc + */ + parentSpanId?: string; + /** + * Internal keeper of the status + */ + status?: SpanStatusType | string; + /** + * @inheritDoc + */ + sampled?: boolean; + /** + * Timestamp in seconds when the span was created. + */ + startTimestamp: number; + /** + * Timestamp in seconds when the span ended. + */ + endTimestamp?: number; + /** + * @inheritDoc + */ + op?: string; + /** + * @inheritDoc + */ + description?: string; + /** + * @inheritDoc + */ + tags: { + [key: string]: Primitive; + }; + /** + * @inheritDoc + */ + data: { + [key: string]: any; + }; + /** + * List of spans that were finalized + */ + spanRecorder?: SpanRecorder; + /** + * @inheritDoc + */ + transaction?: Transaction; + /** + * You should never call the constructor manually, always use `Sentry.startTransaction()` + * or call `startChild()` on an existing span. + * @internal + * @hideconstructor + * @hidden + */ + constructor(spanContext?: SpanContext); + /** + * @inheritDoc + * @deprecated + */ + child(spanContext?: Pick>): Span; + /** + * @inheritDoc + */ + startChild(spanContext?: Pick>): Span; + /** + * @inheritDoc + */ + setTag(key: string, value: Primitive): this; + /** + * @inheritDoc + */ + setData(key: string, value: any): this; + /** + * @inheritDoc + */ + setStatus(value: SpanStatusType): this; + /** + * @inheritDoc + */ + setHttpStatus(httpStatus: number): this; + /** + * @inheritDoc + */ + isSuccess(): boolean; + /** + * @inheritDoc + */ + finish(endTimestamp?: number): void; + /** + * @inheritDoc + */ + toTraceparent(): string; + /** + * @inheritDoc + */ + toContext(): SpanContext; + /** + * @inheritDoc + */ + updateWithContext(spanContext: SpanContext): this; + /** + * @inheritDoc + */ + getTraceContext(): { + data?: { + [key: string]: any; + }; + description?: string; + op?: string; + parent_span_id?: string; + span_id: string; + status?: string; + tags?: { + [key: string]: Primitive; + }; + trace_id: string; + }; + /** + * @inheritDoc + */ + toJSON(): { + data?: { + [key: string]: any; + }; + description?: string; + op?: string; + parent_span_id?: string; + span_id: string; + start_timestamp: number; + status?: string; + tags?: { + [key: string]: Primitive; + }; + timestamp?: number; + trace_id: string; + }; +} +export declare type SpanStatusType = +/** The operation completed successfully. */ +'ok' +/** Deadline expired before operation could complete. */ + | 'deadline_exceeded' +/** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */ + | 'unauthenticated' +/** 403 Forbidden */ + | 'permission_denied' +/** 404 Not Found. Some requested entity (file or directory) was not found. */ + | 'not_found' +/** 429 Too Many Requests */ + | 'resource_exhausted' +/** Client specified an invalid argument. 4xx. */ + | 'invalid_argument' +/** 501 Not Implemented */ + | 'unimplemented' +/** 503 Service Unavailable */ + | 'unavailable' +/** Other/generic 5xx. */ + | 'internal_error' +/** Unknown. Any non-standard HTTP status code. */ + | 'unknown_error' +/** The operation was cancelled (typically by the user). */ + | 'cancelled' +/** Already exists (409) */ + | 'already_exists' +/** Operation was rejected because the system is not in a state required for the operation's */ + | 'failed_precondition' +/** The operation was aborted, typically due to a concurrency issue. */ + | 'aborted' +/** Operation was attempted past the valid range. */ + | 'out_of_range' +/** Unrecoverable data loss or corruption */ + | 'data_loss'; +/** + * Converts a HTTP status code into a {@link SpanStatusType}. + * + * @param httpStatus The HTTP response status code. + * @returns The span status or unknown_error. + */ +export declare function spanStatusfromHttpCode(httpStatus: number): SpanStatusType; +//# sourceMappingURL=span.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/span.d.ts.map b/node_modules/@sentry/tracing/dist/span.d.ts.map new file mode 100644 index 000000000..a11fecc5a --- /dev/null +++ b/node_modules/@sentry/tracing/dist/span.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"span.d.ts","sourceRoot":"","sources":["../src/span.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/span.js b/node_modules/@sentry/tracing/dist/span.js new file mode 100644 index 000000000..067fbdc4e --- /dev/null +++ b/node_modules/@sentry/tracing/dist/span.js @@ -0,0 +1,294 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var utils_1 = require("@sentry/utils"); +/** + * Keeps track of finished spans for a given transaction + * @internal + * @hideconstructor + * @hidden + */ +var SpanRecorder = /** @class */ (function () { + function SpanRecorder(maxlen) { + if (maxlen === void 0) { maxlen = 1000; } + this.spans = []; + this._maxlen = maxlen; + } + /** + * This is just so that we don't run out of memory while recording a lot + * of spans. At some point we just stop and flush out the start of the + * trace tree (i.e.the first n spans with the smallest + * start_timestamp). + */ + SpanRecorder.prototype.add = function (span) { + if (this.spans.length > this._maxlen) { + span.spanRecorder = undefined; + } + else { + this.spans.push(span); + } + }; + return SpanRecorder; +}()); +exports.SpanRecorder = SpanRecorder; +/** + * Span contains all data about a span + */ +var Span = /** @class */ (function () { + /** + * You should never call the constructor manually, always use `Sentry.startTransaction()` + * or call `startChild()` on an existing span. + * @internal + * @hideconstructor + * @hidden + */ + function Span(spanContext) { + /** + * @inheritDoc + */ + this.traceId = utils_1.uuid4(); + /** + * @inheritDoc + */ + this.spanId = utils_1.uuid4().substring(16); + /** + * Timestamp in seconds when the span was created. + */ + this.startTimestamp = utils_1.timestampWithMs(); + /** + * @inheritDoc + */ + this.tags = {}; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + this.data = {}; + if (!spanContext) { + return this; + } + if (spanContext.traceId) { + this.traceId = spanContext.traceId; + } + if (spanContext.spanId) { + this.spanId = spanContext.spanId; + } + if (spanContext.parentSpanId) { + this.parentSpanId = spanContext.parentSpanId; + } + // We want to include booleans as well here + if ('sampled' in spanContext) { + this.sampled = spanContext.sampled; + } + if (spanContext.op) { + this.op = spanContext.op; + } + if (spanContext.description) { + this.description = spanContext.description; + } + if (spanContext.data) { + this.data = spanContext.data; + } + if (spanContext.tags) { + this.tags = spanContext.tags; + } + if (spanContext.status) { + this.status = spanContext.status; + } + if (spanContext.startTimestamp) { + this.startTimestamp = spanContext.startTimestamp; + } + if (spanContext.endTimestamp) { + this.endTimestamp = spanContext.endTimestamp; + } + } + /** + * @inheritDoc + * @deprecated + */ + Span.prototype.child = function (spanContext) { + return this.startChild(spanContext); + }; + /** + * @inheritDoc + */ + Span.prototype.startChild = function (spanContext) { + var childSpan = new Span(tslib_1.__assign(tslib_1.__assign({}, spanContext), { parentSpanId: this.spanId, sampled: this.sampled, traceId: this.traceId })); + childSpan.spanRecorder = this.spanRecorder; + if (childSpan.spanRecorder) { + childSpan.spanRecorder.add(childSpan); + } + childSpan.transaction = this.transaction; + return childSpan; + }; + /** + * @inheritDoc + */ + Span.prototype.setTag = function (key, value) { + var _a; + this.tags = tslib_1.__assign(tslib_1.__assign({}, this.tags), (_a = {}, _a[key] = value, _a)); + return this; + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + Span.prototype.setData = function (key, value) { + var _a; + this.data = tslib_1.__assign(tslib_1.__assign({}, this.data), (_a = {}, _a[key] = value, _a)); + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.setStatus = function (value) { + this.status = value; + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.setHttpStatus = function (httpStatus) { + this.setTag('http.status_code', String(httpStatus)); + var spanStatus = spanStatusfromHttpCode(httpStatus); + if (spanStatus !== 'unknown_error') { + this.setStatus(spanStatus); + } + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.isSuccess = function () { + return this.status === 'ok'; + }; + /** + * @inheritDoc + */ + Span.prototype.finish = function (endTimestamp) { + this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : utils_1.timestampWithMs(); + }; + /** + * @inheritDoc + */ + Span.prototype.toTraceparent = function () { + var sampledString = ''; + if (this.sampled !== undefined) { + sampledString = this.sampled ? '-1' : '-0'; + } + return this.traceId + "-" + this.spanId + sampledString; + }; + /** + * @inheritDoc + */ + Span.prototype.toContext = function () { + return utils_1.dropUndefinedKeys({ + data: this.data, + description: this.description, + endTimestamp: this.endTimestamp, + op: this.op, + parentSpanId: this.parentSpanId, + sampled: this.sampled, + spanId: this.spanId, + startTimestamp: this.startTimestamp, + status: this.status, + tags: this.tags, + traceId: this.traceId, + }); + }; + /** + * @inheritDoc + */ + Span.prototype.updateWithContext = function (spanContext) { + var _a, _b, _c, _d, _e; + this.data = (_a = spanContext.data, (_a !== null && _a !== void 0 ? _a : {})); + this.description = spanContext.description; + this.endTimestamp = spanContext.endTimestamp; + this.op = spanContext.op; + this.parentSpanId = spanContext.parentSpanId; + this.sampled = spanContext.sampled; + this.spanId = (_b = spanContext.spanId, (_b !== null && _b !== void 0 ? _b : this.spanId)); + this.startTimestamp = (_c = spanContext.startTimestamp, (_c !== null && _c !== void 0 ? _c : this.startTimestamp)); + this.status = spanContext.status; + this.tags = (_d = spanContext.tags, (_d !== null && _d !== void 0 ? _d : {})); + this.traceId = (_e = spanContext.traceId, (_e !== null && _e !== void 0 ? _e : this.traceId)); + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.getTraceContext = function () { + return utils_1.dropUndefinedKeys({ + data: Object.keys(this.data).length > 0 ? this.data : undefined, + description: this.description, + op: this.op, + parent_span_id: this.parentSpanId, + span_id: this.spanId, + status: this.status, + tags: Object.keys(this.tags).length > 0 ? this.tags : undefined, + trace_id: this.traceId, + }); + }; + /** + * @inheritDoc + */ + Span.prototype.toJSON = function () { + return utils_1.dropUndefinedKeys({ + data: Object.keys(this.data).length > 0 ? this.data : undefined, + description: this.description, + op: this.op, + parent_span_id: this.parentSpanId, + span_id: this.spanId, + start_timestamp: this.startTimestamp, + status: this.status, + tags: Object.keys(this.tags).length > 0 ? this.tags : undefined, + timestamp: this.endTimestamp, + trace_id: this.traceId, + }); + }; + return Span; +}()); +exports.Span = Span; +/** + * Converts a HTTP status code into a {@link SpanStatusType}. + * + * @param httpStatus The HTTP response status code. + * @returns The span status or unknown_error. + */ +function spanStatusfromHttpCode(httpStatus) { + if (httpStatus < 400 && httpStatus >= 100) { + return 'ok'; + } + if (httpStatus >= 400 && httpStatus < 500) { + switch (httpStatus) { + case 401: + return 'unauthenticated'; + case 403: + return 'permission_denied'; + case 404: + return 'not_found'; + case 409: + return 'already_exists'; + case 413: + return 'failed_precondition'; + case 429: + return 'resource_exhausted'; + default: + return 'invalid_argument'; + } + } + if (httpStatus >= 500 && httpStatus < 600) { + switch (httpStatus) { + case 501: + return 'unimplemented'; + case 503: + return 'unavailable'; + case 504: + return 'deadline_exceeded'; + default: + return 'internal_error'; + } + } + return 'unknown_error'; +} +exports.spanStatusfromHttpCode = spanStatusfromHttpCode; +//# sourceMappingURL=span.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/span.js.map b/node_modules/@sentry/tracing/dist/span.js.map new file mode 100644 index 000000000..e8291f9d8 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/span.js.map @@ -0,0 +1 @@ +{"version":3,"file":"span.js","sourceRoot":"","sources":["../src/span.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\nimport { Primitive, Span as SpanInterface, SpanContext, Transaction } from '@sentry/types';\nimport { dropUndefinedKeys, timestampWithMs, uuid4 } from '@sentry/utils';\n\n/**\n * Keeps track of finished spans for a given transaction\n * @internal\n * @hideconstructor\n * @hidden\n */\nexport class SpanRecorder {\n public spans: Span[] = [];\n\n private readonly _maxlen: number;\n\n public constructor(maxlen: number = 1000) {\n this._maxlen = maxlen;\n }\n\n /**\n * This is just so that we don't run out of memory while recording a lot\n * of spans. At some point we just stop and flush out the start of the\n * trace tree (i.e.the first n spans with the smallest\n * start_timestamp).\n */\n public add(span: Span): void {\n if (this.spans.length > this._maxlen) {\n span.spanRecorder = undefined;\n } else {\n this.spans.push(span);\n }\n }\n}\n\n/**\n * Span contains all data about a span\n */\nexport class Span implements SpanInterface {\n /**\n * @inheritDoc\n */\n public traceId: string = uuid4();\n\n /**\n * @inheritDoc\n */\n public spanId: string = uuid4().substring(16);\n\n /**\n * @inheritDoc\n */\n public parentSpanId?: string;\n\n /**\n * Internal keeper of the status\n */\n public status?: SpanStatusType | string;\n\n /**\n * @inheritDoc\n */\n public sampled?: boolean;\n\n /**\n * Timestamp in seconds when the span was created.\n */\n public startTimestamp: number = timestampWithMs();\n\n /**\n * Timestamp in seconds when the span ended.\n */\n public endTimestamp?: number;\n\n /**\n * @inheritDoc\n */\n public op?: string;\n\n /**\n * @inheritDoc\n */\n public description?: string;\n\n /**\n * @inheritDoc\n */\n public tags: { [key: string]: Primitive } = {};\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public data: { [key: string]: any } = {};\n\n /**\n * List of spans that were finalized\n */\n public spanRecorder?: SpanRecorder;\n\n /**\n * @inheritDoc\n */\n public transaction?: Transaction;\n\n /**\n * You should never call the constructor manually, always use `Sentry.startTransaction()`\n * or call `startChild()` on an existing span.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(spanContext?: SpanContext) {\n if (!spanContext) {\n return this;\n }\n if (spanContext.traceId) {\n this.traceId = spanContext.traceId;\n }\n if (spanContext.spanId) {\n this.spanId = spanContext.spanId;\n }\n if (spanContext.parentSpanId) {\n this.parentSpanId = spanContext.parentSpanId;\n }\n // We want to include booleans as well here\n if ('sampled' in spanContext) {\n this.sampled = spanContext.sampled;\n }\n if (spanContext.op) {\n this.op = spanContext.op;\n }\n if (spanContext.description) {\n this.description = spanContext.description;\n }\n if (spanContext.data) {\n this.data = spanContext.data;\n }\n if (spanContext.tags) {\n this.tags = spanContext.tags;\n }\n if (spanContext.status) {\n this.status = spanContext.status;\n }\n if (spanContext.startTimestamp) {\n this.startTimestamp = spanContext.startTimestamp;\n }\n if (spanContext.endTimestamp) {\n this.endTimestamp = spanContext.endTimestamp;\n }\n }\n\n /**\n * @inheritDoc\n * @deprecated\n */\n public child(\n spanContext?: Pick>,\n ): Span {\n return this.startChild(spanContext);\n }\n\n /**\n * @inheritDoc\n */\n public startChild(\n spanContext?: Pick>,\n ): Span {\n const childSpan = new Span({\n ...spanContext,\n parentSpanId: this.spanId,\n sampled: this.sampled,\n traceId: this.traceId,\n });\n\n childSpan.spanRecorder = this.spanRecorder;\n if (childSpan.spanRecorder) {\n childSpan.spanRecorder.add(childSpan);\n }\n\n childSpan.transaction = this.transaction;\n\n return childSpan;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this.tags = { ...this.tags, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public setData(key: string, value: any): this {\n this.data = { ...this.data, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setStatus(value: SpanStatusType): this {\n this.status = value;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setHttpStatus(httpStatus: number): this {\n this.setTag('http.status_code', String(httpStatus));\n const spanStatus = spanStatusfromHttpCode(httpStatus);\n if (spanStatus !== 'unknown_error') {\n this.setStatus(spanStatus);\n }\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public isSuccess(): boolean {\n return this.status === 'ok';\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): void {\n this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n }\n\n /**\n * @inheritDoc\n */\n public toTraceparent(): string {\n let sampledString = '';\n if (this.sampled !== undefined) {\n sampledString = this.sampled ? '-1' : '-0';\n }\n return `${this.traceId}-${this.spanId}${sampledString}`;\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): SpanContext {\n return dropUndefinedKeys({\n data: this.data,\n description: this.description,\n endTimestamp: this.endTimestamp,\n op: this.op,\n parentSpanId: this.parentSpanId,\n sampled: this.sampled,\n spanId: this.spanId,\n startTimestamp: this.startTimestamp,\n status: this.status,\n tags: this.tags,\n traceId: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(spanContext: SpanContext): this {\n this.data = spanContext.data ?? {};\n this.description = spanContext.description;\n this.endTimestamp = spanContext.endTimestamp;\n this.op = spanContext.op;\n this.parentSpanId = spanContext.parentSpanId;\n this.sampled = spanContext.sampled;\n this.spanId = spanContext.spanId ?? this.spanId;\n this.startTimestamp = spanContext.startTimestamp ?? this.startTimestamp;\n this.status = spanContext.status;\n this.tags = spanContext.tags ?? {};\n this.traceId = spanContext.traceId ?? this.traceId;\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getTraceContext(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n status?: string;\n tags?: { [key: string]: Primitive };\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n trace_id: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public toJSON(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n start_timestamp: number;\n status?: string;\n tags?: { [key: string]: Primitive };\n timestamp?: number;\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n start_timestamp: this.startTimestamp,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n timestamp: this.endTimestamp,\n trace_id: this.traceId,\n });\n }\n}\n\nexport type SpanStatusType =\n /** The operation completed successfully. */\n | 'ok'\n /** Deadline expired before operation could complete. */\n | 'deadline_exceeded'\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n | 'unauthenticated'\n /** 403 Forbidden */\n | 'permission_denied'\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n | 'not_found'\n /** 429 Too Many Requests */\n | 'resource_exhausted'\n /** Client specified an invalid argument. 4xx. */\n | 'invalid_argument'\n /** 501 Not Implemented */\n | 'unimplemented'\n /** 503 Service Unavailable */\n | 'unavailable'\n /** Other/generic 5xx. */\n | 'internal_error'\n /** Unknown. Any non-standard HTTP status code. */\n | 'unknown_error'\n /** The operation was cancelled (typically by the user). */\n | 'cancelled'\n /** Already exists (409) */\n | 'already_exists'\n /** Operation was rejected because the system is not in a state required for the operation's */\n | 'failed_precondition'\n /** The operation was aborted, typically due to a concurrency issue. */\n | 'aborted'\n /** Operation was attempted past the valid range. */\n | 'out_of_range'\n /** Unrecoverable data loss or corruption */\n | 'data_loss';\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nexport function spanStatusfromHttpCode(httpStatus: number): SpanStatusType {\n if (httpStatus < 400 && httpStatus >= 100) {\n return 'ok';\n }\n\n if (httpStatus >= 400 && httpStatus < 500) {\n switch (httpStatus) {\n case 401:\n return 'unauthenticated';\n case 403:\n return 'permission_denied';\n case 404:\n return 'not_found';\n case 409:\n return 'already_exists';\n case 413:\n return 'failed_precondition';\n case 429:\n return 'resource_exhausted';\n default:\n return 'invalid_argument';\n }\n }\n\n if (httpStatus >= 500 && httpStatus < 600) {\n switch (httpStatus) {\n case 501:\n return 'unimplemented';\n case 503:\n return 'unavailable';\n case 504:\n return 'deadline_exceeded';\n default:\n return 'internal_error';\n }\n }\n\n return 'unknown_error';\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/spanstatus.d.ts b/node_modules/@sentry/tracing/dist/spanstatus.d.ts new file mode 100644 index 000000000..bbe6f516a --- /dev/null +++ b/node_modules/@sentry/tracing/dist/spanstatus.d.ts @@ -0,0 +1,41 @@ +/** The status of an Span. + * + * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type + */ +export declare enum SpanStatus { + /** The operation completed successfully. */ + Ok = "ok", + /** Deadline expired before operation could complete. */ + DeadlineExceeded = "deadline_exceeded", + /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */ + Unauthenticated = "unauthenticated", + /** 403 Forbidden */ + PermissionDenied = "permission_denied", + /** 404 Not Found. Some requested entity (file or directory) was not found. */ + NotFound = "not_found", + /** 429 Too Many Requests */ + ResourceExhausted = "resource_exhausted", + /** Client specified an invalid argument. 4xx. */ + InvalidArgument = "invalid_argument", + /** 501 Not Implemented */ + Unimplemented = "unimplemented", + /** 503 Service Unavailable */ + Unavailable = "unavailable", + /** Other/generic 5xx. */ + InternalError = "internal_error", + /** Unknown. Any non-standard HTTP status code. */ + UnknownError = "unknown_error", + /** The operation was cancelled (typically by the user). */ + Cancelled = "cancelled", + /** Already exists (409) */ + AlreadyExists = "already_exists", + /** Operation was rejected because the system is not in a state required for the operation's */ + FailedPrecondition = "failed_precondition", + /** The operation was aborted, typically due to a concurrency issue. */ + Aborted = "aborted", + /** Operation was attempted past the valid range. */ + OutOfRange = "out_of_range", + /** Unrecoverable data loss or corruption */ + DataLoss = "data_loss" +} +//# sourceMappingURL=spanstatus.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/spanstatus.d.ts.map b/node_modules/@sentry/tracing/dist/spanstatus.d.ts.map new file mode 100644 index 000000000..6a6813383 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/spanstatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"spanstatus.d.ts","sourceRoot":"","sources":["../src/spanstatus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,UAAU;IACpB,4CAA4C;IAC5C,EAAE,OAAO;IACT,wDAAwD;IACxD,gBAAgB,sBAAsB;IACtC,kFAAkF;IAClF,eAAe,oBAAoB;IACnC,oBAAoB;IACpB,gBAAgB,sBAAsB;IACtC,8EAA8E;IAC9E,QAAQ,cAAc;IACtB,4BAA4B;IAC5B,iBAAiB,uBAAuB;IACxC,iDAAiD;IACjD,eAAe,qBAAqB;IACpC,0BAA0B;IAC1B,aAAa,kBAAkB;IAC/B,8BAA8B;IAC9B,WAAW,gBAAgB;IAC3B,yBAAyB;IACzB,aAAa,mBAAmB;IAChC,kDAAkD;IAClD,YAAY,kBAAkB;IAC9B,2DAA2D;IAC3D,SAAS,cAAc;IACvB,2BAA2B;IAC3B,aAAa,mBAAmB;IAChC,+FAA+F;IAC/F,kBAAkB,wBAAwB;IAC1C,uEAAuE;IACvE,OAAO,YAAY;IACnB,oDAAoD;IACpD,UAAU,iBAAiB;IAC3B,4CAA4C;IAC5C,QAAQ,cAAc;CACvB"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/spanstatus.js b/node_modules/@sentry/tracing/dist/spanstatus.js new file mode 100644 index 000000000..148f3a88b --- /dev/null +++ b/node_modules/@sentry/tracing/dist/spanstatus.js @@ -0,0 +1,44 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +/** The status of an Span. + * + * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type + */ +// eslint-disable-next-line import/export +var SpanStatus; +(function (SpanStatus) { + /** The operation completed successfully. */ + SpanStatus["Ok"] = "ok"; + /** Deadline expired before operation could complete. */ + SpanStatus["DeadlineExceeded"] = "deadline_exceeded"; + /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */ + SpanStatus["Unauthenticated"] = "unauthenticated"; + /** 403 Forbidden */ + SpanStatus["PermissionDenied"] = "permission_denied"; + /** 404 Not Found. Some requested entity (file or directory) was not found. */ + SpanStatus["NotFound"] = "not_found"; + /** 429 Too Many Requests */ + SpanStatus["ResourceExhausted"] = "resource_exhausted"; + /** Client specified an invalid argument. 4xx. */ + SpanStatus["InvalidArgument"] = "invalid_argument"; + /** 501 Not Implemented */ + SpanStatus["Unimplemented"] = "unimplemented"; + /** 503 Service Unavailable */ + SpanStatus["Unavailable"] = "unavailable"; + /** Other/generic 5xx. */ + SpanStatus["InternalError"] = "internal_error"; + /** Unknown. Any non-standard HTTP status code. */ + SpanStatus["UnknownError"] = "unknown_error"; + /** The operation was cancelled (typically by the user). */ + SpanStatus["Cancelled"] = "cancelled"; + /** Already exists (409) */ + SpanStatus["AlreadyExists"] = "already_exists"; + /** Operation was rejected because the system is not in a state required for the operation's */ + SpanStatus["FailedPrecondition"] = "failed_precondition"; + /** The operation was aborted, typically due to a concurrency issue. */ + SpanStatus["Aborted"] = "aborted"; + /** Operation was attempted past the valid range. */ + SpanStatus["OutOfRange"] = "out_of_range"; + /** Unrecoverable data loss or corruption */ + SpanStatus["DataLoss"] = "data_loss"; +})(SpanStatus = exports.SpanStatus || (exports.SpanStatus = {})); +//# sourceMappingURL=spanstatus.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/spanstatus.js.map b/node_modules/@sentry/tracing/dist/spanstatus.js.map new file mode 100644 index 000000000..648898eaa --- /dev/null +++ b/node_modules/@sentry/tracing/dist/spanstatus.js.map @@ -0,0 +1 @@ +{"version":3,"file":"spanstatus.js","sourceRoot":"","sources":["../src/spanstatus.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,yCAAyC;AACzC,IAAY,UAmCX;AAnCD,WAAY,UAAU;IACpB,4CAA4C;IAC5C,uBAAS,CAAA;IACT,wDAAwD;IACxD,oDAAsC,CAAA;IACtC,kFAAkF;IAClF,iDAAmC,CAAA;IACnC,oBAAoB;IACpB,oDAAsC,CAAA;IACtC,8EAA8E;IAC9E,oCAAsB,CAAA;IACtB,4BAA4B;IAC5B,sDAAwC,CAAA;IACxC,iDAAiD;IACjD,kDAAoC,CAAA;IACpC,0BAA0B;IAC1B,6CAA+B,CAAA;IAC/B,8BAA8B;IAC9B,yCAA2B,CAAA;IAC3B,yBAAyB;IACzB,8CAAgC,CAAA;IAChC,kDAAkD;IAClD,4CAA8B,CAAA;IAC9B,2DAA2D;IAC3D,qCAAuB,CAAA;IACvB,2BAA2B;IAC3B,8CAAgC,CAAA;IAChC,+FAA+F;IAC/F,wDAA0C,CAAA;IAC1C,uEAAuE;IACvE,iCAAmB,CAAA;IACnB,oDAAoD;IACpD,yCAA2B,CAAA;IAC3B,4CAA4C;IAC5C,oCAAsB,CAAA;AACxB,CAAC,EAnCW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAmCrB","sourcesContent":["/** The status of an Span.\n *\n * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type\n */\n// eslint-disable-next-line import/export\nexport enum SpanStatus {\n /** The operation completed successfully. */\n Ok = 'ok',\n /** Deadline expired before operation could complete. */\n DeadlineExceeded = 'deadline_exceeded',\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n Unauthenticated = 'unauthenticated',\n /** 403 Forbidden */\n PermissionDenied = 'permission_denied',\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n NotFound = 'not_found',\n /** 429 Too Many Requests */\n ResourceExhausted = 'resource_exhausted',\n /** Client specified an invalid argument. 4xx. */\n InvalidArgument = 'invalid_argument',\n /** 501 Not Implemented */\n Unimplemented = 'unimplemented',\n /** 503 Service Unavailable */\n Unavailable = 'unavailable',\n /** Other/generic 5xx. */\n InternalError = 'internal_error',\n /** Unknown. Any non-standard HTTP status code. */\n UnknownError = 'unknown_error',\n /** The operation was cancelled (typically by the user). */\n Cancelled = 'cancelled',\n /** Already exists (409) */\n AlreadyExists = 'already_exists',\n /** Operation was rejected because the system is not in a state required for the operation's */\n FailedPrecondition = 'failed_precondition',\n /** The operation was aborted, typically due to a concurrency issue. */\n Aborted = 'aborted',\n /** Operation was attempted past the valid range. */\n OutOfRange = 'out_of_range',\n /** Unrecoverable data loss or corruption */\n DataLoss = 'data_loss',\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/transaction.d.ts b/node_modules/@sentry/tracing/dist/transaction.d.ts new file mode 100644 index 000000000..83c73b47a --- /dev/null +++ b/node_modules/@sentry/tracing/dist/transaction.d.ts @@ -0,0 +1,54 @@ +import { Hub } from '@sentry/hub'; +import { Measurements, Transaction as TransactionInterface, TransactionContext, TransactionMetadata } from '@sentry/types'; +import { Span as SpanClass } from './span'; +/** JSDoc */ +export declare class Transaction extends SpanClass implements TransactionInterface { + name: string; + metadata: TransactionMetadata; + private _measurements; + /** + * The reference to the current hub. + */ + private readonly _hub; + private _trimEnd?; + /** + * This constructor should never be called manually. Those instrumenting tracing should use + * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`. + * @internal + * @hideconstructor + * @hidden + */ + constructor(transactionContext: TransactionContext, hub?: Hub); + /** + * JSDoc + */ + setName(name: string): void; + /** + * Attaches SpanRecorder to the span itself + * @param maxlen maximum number of spans that can be recorded + */ + initSpanRecorder(maxlen?: number): void; + /** + * Set observed measurements for this transaction. + * @hidden + */ + setMeasurements(measurements: Measurements): void; + /** + * Set metadata for this transaction. + * @hidden + */ + setMetadata(newMetadata: TransactionMetadata): void; + /** + * @inheritDoc + */ + finish(endTimestamp?: number): string | undefined; + /** + * @inheritDoc + */ + toContext(): TransactionContext; + /** + * @inheritDoc + */ + updateWithContext(transactionContext: TransactionContext): this; +} +//# sourceMappingURL=transaction.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/transaction.d.ts.map b/node_modules/@sentry/tracing/dist/transaction.d.ts.map new file mode 100644 index 000000000..74696e004 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/transaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,GAAG,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAEL,YAAY,EACZ,WAAW,IAAI,oBAAoB,EACnC,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,IAAI,IAAI,SAAS,EAAgB,MAAM,QAAQ,CAAC;AAEzD,YAAY;AACZ,qBAAa,WAAY,SAAQ,SAAU,YAAW,oBAAoB;IACjE,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,mBAAmB,CAAC;IAErC,OAAO,CAAC,aAAa,CAAoB;IAEzC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA0C;IAE/D,OAAO,CAAC,QAAQ,CAAC,CAAU;IAE3B;;;;;;OAMG;gBACgB,kBAAkB,EAAE,kBAAkB,EAAE,GAAG,CAAC,EAAE,GAAG;IAgBpE;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIlC;;;OAGG;IACI,gBAAgB,CAAC,MAAM,GAAE,MAAa,GAAG,IAAI;IAOpD;;;OAGG;IACI,eAAe,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI;IAIxD;;;OAGG;IACI,WAAW,CAAC,WAAW,EAAE,mBAAmB,GAAG,IAAI;IAI1D;;OAEG;IACI,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IA8DxD;;OAEG;IACI,SAAS,IAAI,kBAAkB;IAUtC;;OAEG;IACI,iBAAiB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;CASvE"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/transaction.js b/node_modules/@sentry/tracing/dist/transaction.js new file mode 100644 index 000000000..ec7249644 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/transaction.js @@ -0,0 +1,138 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var hub_1 = require("@sentry/hub"); +var utils_1 = require("@sentry/utils"); +var span_1 = require("./span"); +/** JSDoc */ +var Transaction = /** @class */ (function (_super) { + tslib_1.__extends(Transaction, _super); + /** + * This constructor should never be called manually. Those instrumenting tracing should use + * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`. + * @internal + * @hideconstructor + * @hidden + */ + function Transaction(transactionContext, hub) { + var _this = _super.call(this, transactionContext) || this; + _this._measurements = {}; + /** + * The reference to the current hub. + */ + _this._hub = hub_1.getCurrentHub(); + if (utils_1.isInstanceOf(hub, hub_1.Hub)) { + _this._hub = hub; + } + _this.name = transactionContext.name || ''; + _this.metadata = transactionContext.metadata || {}; + _this._trimEnd = transactionContext.trimEnd; + // this is because transactions are also spans, and spans have a transaction pointer + _this.transaction = _this; + return _this; + } + /** + * JSDoc + */ + Transaction.prototype.setName = function (name) { + this.name = name; + }; + /** + * Attaches SpanRecorder to the span itself + * @param maxlen maximum number of spans that can be recorded + */ + Transaction.prototype.initSpanRecorder = function (maxlen) { + if (maxlen === void 0) { maxlen = 1000; } + if (!this.spanRecorder) { + this.spanRecorder = new span_1.SpanRecorder(maxlen); + } + this.spanRecorder.add(this); + }; + /** + * Set observed measurements for this transaction. + * @hidden + */ + Transaction.prototype.setMeasurements = function (measurements) { + this._measurements = tslib_1.__assign({}, measurements); + }; + /** + * Set metadata for this transaction. + * @hidden + */ + Transaction.prototype.setMetadata = function (newMetadata) { + this.metadata = tslib_1.__assign(tslib_1.__assign({}, this.metadata), newMetadata); + }; + /** + * @inheritDoc + */ + Transaction.prototype.finish = function (endTimestamp) { + var _this = this; + // This transaction is already finished, so we should not flush it again. + if (this.endTimestamp !== undefined) { + return undefined; + } + if (!this.name) { + utils_1.logger.warn('Transaction has no name, falling back to ``.'); + this.name = ''; + } + // just sets the end timestamp + _super.prototype.finish.call(this, endTimestamp); + if (this.sampled !== true) { + // At this point if `sampled !== true` we want to discard the transaction. + utils_1.logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.'); + var client = this._hub.getClient(); + var transport = client && client.getTransport && client.getTransport(); + if (transport && transport.recordLostEvent) { + transport.recordLostEvent('sample_rate', 'transaction'); + } + return undefined; + } + var finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(function (s) { return s !== _this && s.endTimestamp; }) : []; + if (this._trimEnd && finishedSpans.length > 0) { + this.endTimestamp = finishedSpans.reduce(function (prev, current) { + if (prev.endTimestamp && current.endTimestamp) { + return prev.endTimestamp > current.endTimestamp ? prev : current; + } + return prev; + }).endTimestamp; + } + var transaction = { + contexts: { + trace: this.getTraceContext(), + }, + spans: finishedSpans, + start_timestamp: this.startTimestamp, + tags: this.tags, + timestamp: this.endTimestamp, + transaction: this.name, + type: 'transaction', + sdkProcessingMetadata: this.metadata, + }; + var hasMeasurements = Object.keys(this._measurements).length > 0; + if (hasMeasurements) { + utils_1.logger.log('[Measurements] Adding measurements to transaction', JSON.stringify(this._measurements, undefined, 2)); + transaction.measurements = this._measurements; + } + utils_1.logger.log("[Tracing] Finishing " + this.op + " transaction: " + this.name + "."); + return this._hub.captureEvent(transaction); + }; + /** + * @inheritDoc + */ + Transaction.prototype.toContext = function () { + var spanContext = _super.prototype.toContext.call(this); + return utils_1.dropUndefinedKeys(tslib_1.__assign(tslib_1.__assign({}, spanContext), { name: this.name, trimEnd: this._trimEnd })); + }; + /** + * @inheritDoc + */ + Transaction.prototype.updateWithContext = function (transactionContext) { + var _a; + _super.prototype.updateWithContext.call(this, transactionContext); + this.name = (_a = transactionContext.name, (_a !== null && _a !== void 0 ? _a : '')); + this._trimEnd = transactionContext.trimEnd; + return this; + }; + return Transaction; +}(span_1.Span)); +exports.Transaction = Transaction; +//# sourceMappingURL=transaction.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/transaction.js.map b/node_modules/@sentry/tracing/dist/transaction.js.map new file mode 100644 index 000000000..ca78f732e --- /dev/null +++ b/node_modules/@sentry/tracing/dist/transaction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, Hub } from '@sentry/hub';\nimport {\n Event,\n Measurements,\n Transaction as TransactionInterface,\n TransactionContext,\n TransactionMetadata,\n} from '@sentry/types';\nimport { dropUndefinedKeys, isInstanceOf, logger } from '@sentry/utils';\n\nimport { Span as SpanClass, SpanRecorder } from './span';\n\n/** JSDoc */\nexport class Transaction extends SpanClass implements TransactionInterface {\n public name: string;\n\n public metadata: TransactionMetadata;\n\n private _measurements: Measurements = {};\n\n /**\n * The reference to the current hub.\n */\n private readonly _hub: Hub = getCurrentHub() as unknown as Hub;\n\n private _trimEnd?: boolean;\n\n /**\n * This constructor should never be called manually. Those instrumenting tracing should use\n * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(transactionContext: TransactionContext, hub?: Hub) {\n super(transactionContext);\n\n if (isInstanceOf(hub, Hub)) {\n this._hub = hub as Hub;\n }\n\n this.name = transactionContext.name || '';\n\n this.metadata = transactionContext.metadata || {};\n this._trimEnd = transactionContext.trimEnd;\n\n // this is because transactions are also spans, and spans have a transaction pointer\n this.transaction = this;\n }\n\n /**\n * JSDoc\n */\n public setName(name: string): void {\n this.name = name;\n }\n\n /**\n * Attaches SpanRecorder to the span itself\n * @param maxlen maximum number of spans that can be recorded\n */\n public initSpanRecorder(maxlen: number = 1000): void {\n if (!this.spanRecorder) {\n this.spanRecorder = new SpanRecorder(maxlen);\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Set observed measurements for this transaction.\n * @hidden\n */\n public setMeasurements(measurements: Measurements): void {\n this._measurements = { ...measurements };\n }\n\n /**\n * Set metadata for this transaction.\n * @hidden\n */\n public setMetadata(newMetadata: TransactionMetadata): void {\n this.metadata = { ...this.metadata, ...newMetadata };\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): string | undefined {\n // This transaction is already finished, so we should not flush it again.\n if (this.endTimestamp !== undefined) {\n return undefined;\n }\n\n if (!this.name) {\n logger.warn('Transaction has no name, falling back to ``.');\n this.name = '';\n }\n\n // just sets the end timestamp\n super.finish(endTimestamp);\n\n if (this.sampled !== true) {\n // At this point if `sampled !== true` we want to discard the transaction.\n logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');\n\n const client = this._hub.getClient();\n const transport = client && client.getTransport && client.getTransport();\n if (transport && transport.recordLostEvent) {\n transport.recordLostEvent('sample_rate', 'transaction');\n }\n return undefined;\n }\n\n const finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(s => s !== this && s.endTimestamp) : [];\n\n if (this._trimEnd && finishedSpans.length > 0) {\n this.endTimestamp = finishedSpans.reduce((prev: SpanClass, current: SpanClass) => {\n if (prev.endTimestamp && current.endTimestamp) {\n return prev.endTimestamp > current.endTimestamp ? prev : current;\n }\n return prev;\n }).endTimestamp;\n }\n\n const transaction: Event = {\n contexts: {\n trace: this.getTraceContext(),\n },\n spans: finishedSpans,\n start_timestamp: this.startTimestamp,\n tags: this.tags,\n timestamp: this.endTimestamp,\n transaction: this.name,\n type: 'transaction',\n sdkProcessingMetadata: this.metadata,\n };\n\n const hasMeasurements = Object.keys(this._measurements).length > 0;\n\n if (hasMeasurements) {\n logger.log('[Measurements] Adding measurements to transaction', JSON.stringify(this._measurements, undefined, 2));\n transaction.measurements = this._measurements;\n }\n\n logger.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`);\n\n return this._hub.captureEvent(transaction);\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): TransactionContext {\n const spanContext = super.toContext();\n\n return dropUndefinedKeys({\n ...spanContext,\n name: this.name,\n trimEnd: this._trimEnd,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(transactionContext: TransactionContext): this {\n super.updateWithContext(transactionContext);\n\n this.name = transactionContext.name ?? '';\n\n this._trimEnd = transactionContext.trimEnd;\n\n return this;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/utils.d.ts b/node_modules/@sentry/tracing/dist/utils.d.ts new file mode 100644 index 000000000..47a2c7604 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/utils.d.ts @@ -0,0 +1,31 @@ +import { Hub } from '@sentry/hub'; +import { Options, TraceparentData, Transaction } from '@sentry/types'; +export declare const TRACEPARENT_REGEXP: RegExp; +/** + * Determines if tracing is currently enabled. + * + * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config. + */ +export declare function hasTracingEnabled(maybeOptions?: Options | undefined): boolean; +/** + * Extract transaction context data from a `sentry-trace` header. + * + * @param traceparent Traceparent string + * + * @returns Object containing data from the header, or undefined if traceparent string is malformed + */ +export declare function extractTraceparentData(traceparent: string): TraceparentData | undefined; +/** Grabs active transaction off scope, if any */ +export declare function getActiveTransaction(maybeHub?: Hub): T | undefined; +/** + * Converts from milliseconds to seconds + * @param time time in ms + */ +export declare function msToSec(time: number): number; +/** + * Converts from seconds to milliseconds + * @param time time in seconds + */ +export declare function secToMs(time: number): number; +export { stripUrlQueryAndFragment } from '@sentry/utils'; +//# sourceMappingURL=utils.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/utils.d.ts.map b/node_modules/@sentry/tracing/dist/utils.d.ts.map new file mode 100644 index 000000000..c7c3e6fe7 --- /dev/null +++ b/node_modules/@sentry/tracing/dist/utils.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,GAAG,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEtE,eAAO,MAAM,kBAAkB,QAM9B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAI7E;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAgBvF;AAED,iDAAiD;AACjD,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,WAAW,EAAE,QAAQ,CAAC,EAAE,GAAG,GAAG,CAAC,GAAG,SAAS,CAIzF;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE5C;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE5C;AAGD,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/utils.js b/node_modules/@sentry/tracing/dist/utils.js new file mode 100644 index 000000000..2e2046c4a --- /dev/null +++ b/node_modules/@sentry/tracing/dist/utils.js @@ -0,0 +1,71 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var hub_1 = require("@sentry/hub"); +exports.TRACEPARENT_REGEXP = new RegExp('^[ \\t]*' + // whitespace + '([0-9a-f]{32})?' + // trace_id + '-?([0-9a-f]{16})?' + // span_id + '-?([01])?' + // sampled + '[ \\t]*$'); +/** + * Determines if tracing is currently enabled. + * + * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config. + */ +function hasTracingEnabled(maybeOptions) { + var client = hub_1.getCurrentHub().getClient(); + var options = maybeOptions || (client && client.getOptions()); + return !!options && ('tracesSampleRate' in options || 'tracesSampler' in options); +} +exports.hasTracingEnabled = hasTracingEnabled; +/** + * Extract transaction context data from a `sentry-trace` header. + * + * @param traceparent Traceparent string + * + * @returns Object containing data from the header, or undefined if traceparent string is malformed + */ +function extractTraceparentData(traceparent) { + var matches = traceparent.match(exports.TRACEPARENT_REGEXP); + if (matches) { + var parentSampled = void 0; + if (matches[3] === '1') { + parentSampled = true; + } + else if (matches[3] === '0') { + parentSampled = false; + } + return { + traceId: matches[1], + parentSampled: parentSampled, + parentSpanId: matches[2], + }; + } + return undefined; +} +exports.extractTraceparentData = extractTraceparentData; +/** Grabs active transaction off scope, if any */ +function getActiveTransaction(maybeHub) { + var hub = maybeHub || hub_1.getCurrentHub(); + var scope = hub.getScope(); + return scope && scope.getTransaction(); +} +exports.getActiveTransaction = getActiveTransaction; +/** + * Converts from milliseconds to seconds + * @param time time in ms + */ +function msToSec(time) { + return time / 1000; +} +exports.msToSec = msToSec; +/** + * Converts from seconds to milliseconds + * @param time time in seconds + */ +function secToMs(time) { + return time * 1000; +} +exports.secToMs = secToMs; +// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry/utils +var utils_1 = require("@sentry/utils"); +exports.stripUrlQueryAndFragment = utils_1.stripUrlQueryAndFragment; +//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/dist/utils.js.map b/node_modules/@sentry/tracing/dist/utils.js.map new file mode 100644 index 000000000..549504fed --- /dev/null +++ b/node_modules/@sentry/tracing/dist/utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAiD;AAGpC,QAAA,kBAAkB,GAAG,IAAI,MAAM,CAC1C,UAAU,GAAG,aAAa;IACxB,iBAAiB,GAAG,WAAW;IAC/B,mBAAmB,GAAG,UAAU;IAChC,WAAW,GAAG,UAAU;IACxB,UAAU,CACb,CAAC;AAEF;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,YAAkC;IAClE,IAAM,MAAM,GAAG,mBAAa,EAAE,CAAC,SAAS,EAAE,CAAC;IAC3C,IAAM,OAAO,GAAG,YAAY,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC;IAChE,OAAO,CAAC,CAAC,OAAO,IAAI,CAAC,kBAAkB,IAAI,OAAO,IAAI,eAAe,IAAI,OAAO,CAAC,CAAC;AACpF,CAAC;AAJD,8CAIC;AAED;;;;;;GAMG;AACH,SAAgB,sBAAsB,CAAC,WAAmB;IACxD,IAAM,OAAO,GAAG,WAAW,CAAC,KAAK,CAAC,0BAAkB,CAAC,CAAC;IACtD,IAAI,OAAO,EAAE;QACX,IAAI,aAAa,SAAqB,CAAC;QACvC,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YACtB,aAAa,GAAG,IAAI,CAAC;SACtB;aAAM,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YAC7B,aAAa,GAAG,KAAK,CAAC;SACvB;QACD,OAAO;YACL,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;YACnB,aAAa,eAAA;YACb,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;SACzB,CAAC;KACH;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAhBD,wDAgBC;AAED,iDAAiD;AACjD,SAAgB,oBAAoB,CAAwB,QAAc;IACxE,IAAM,GAAG,GAAG,QAAQ,IAAI,mBAAa,EAAE,CAAC;IACxC,IAAM,KAAK,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;IAC7B,OAAO,KAAK,IAAK,KAAK,CAAC,cAAc,EAAoB,CAAC;AAC5D,CAAC;AAJD,oDAIC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,IAAY;IAClC,OAAO,IAAI,GAAG,IAAI,CAAC;AACrB,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,IAAY;IAClC,OAAO,IAAI,GAAG,IAAI,CAAC;AACrB,CAAC;AAFD,0BAEC;AAED,uGAAuG;AACvG,uCAAyD;AAAhD,2CAAA,wBAAwB,CAAA","sourcesContent":["import { getCurrentHub, Hub } from '@sentry/hub';\nimport { Options, TraceparentData, Transaction } from '@sentry/types';\n\nexport const TRACEPARENT_REGEXP = new RegExp(\n '^[ \\\\t]*' + // whitespace\n '([0-9a-f]{32})?' + // trace_id\n '-?([0-9a-f]{16})?' + // span_id\n '-?([01])?' + // sampled\n '[ \\\\t]*$', // whitespace\n);\n\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\nexport function hasTracingEnabled(maybeOptions?: Options | undefined): boolean {\n const client = getCurrentHub().getClient();\n const options = maybeOptions || (client && client.getOptions());\n return !!options && ('tracesSampleRate' in options || 'tracesSampler' in options);\n}\n\n/**\n * Extract transaction context data from a `sentry-trace` header.\n *\n * @param traceparent Traceparent string\n *\n * @returns Object containing data from the header, or undefined if traceparent string is malformed\n */\nexport function extractTraceparentData(traceparent: string): TraceparentData | undefined {\n const matches = traceparent.match(TRACEPARENT_REGEXP);\n if (matches) {\n let parentSampled: boolean | undefined;\n if (matches[3] === '1') {\n parentSampled = true;\n } else if (matches[3] === '0') {\n parentSampled = false;\n }\n return {\n traceId: matches[1],\n parentSampled,\n parentSpanId: matches[2],\n };\n }\n return undefined;\n}\n\n/** Grabs active transaction off scope, if any */\nexport function getActiveTransaction(maybeHub?: Hub): T | undefined {\n const hub = maybeHub || getCurrentHub();\n const scope = hub.getScope();\n return scope && (scope.getTransaction() as T | undefined);\n}\n\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nexport function msToSec(time: number): number {\n return time / 1000;\n}\n\n/**\n * Converts from seconds to milliseconds\n * @param time time in seconds\n */\nexport function secToMs(time: number): number {\n return time * 1000;\n}\n\n// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry/utils\nexport { stripUrlQueryAndFragment } from '@sentry/utils';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/backgroundtab.d.ts b/node_modules/@sentry/tracing/esm/browser/backgroundtab.d.ts new file mode 100644 index 000000000..10dc49ebc --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/backgroundtab.d.ts @@ -0,0 +1,6 @@ +/** + * Add a listener that cancels and finishes a transaction when the global + * document is hidden. + */ +export declare function registerBackgroundTabDetection(): void; +//# sourceMappingURL=backgroundtab.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/backgroundtab.d.ts.map b/node_modules/@sentry/tracing/esm/browser/backgroundtab.d.ts.map new file mode 100644 index 000000000..f4ed79057 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/backgroundtab.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"backgroundtab.d.ts","sourceRoot":"","sources":["../../src/browser/backgroundtab.ts"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,8BAA8B,IAAI,IAAI,CAuBrD"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/backgroundtab.js b/node_modules/@sentry/tracing/esm/browser/backgroundtab.js new file mode 100644 index 000000000..9afd2f275 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/backgroundtab.js @@ -0,0 +1,31 @@ +import { getGlobalObject, logger } from '@sentry/utils'; +import { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from '../constants'; +import { getActiveTransaction } from '../utils'; +var global = getGlobalObject(); +/** + * Add a listener that cancels and finishes a transaction when the global + * document is hidden. + */ +export function registerBackgroundTabDetection() { + if (global && global.document) { + global.document.addEventListener('visibilitychange', function () { + var activeTransaction = getActiveTransaction(); + if (global.document.hidden && activeTransaction) { + var statusType = 'cancelled'; + logger.log("[Tracing] Transaction: " + statusType + " -> since tab moved to the background, op: " + activeTransaction.op); + // We should not set status if it is already set, this prevent important statuses like + // error or data loss from being overwritten on transaction. + if (!activeTransaction.status) { + activeTransaction.setStatus(statusType); + } + activeTransaction.setTag('visibilitychange', 'document.hidden'); + activeTransaction.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[2]); + activeTransaction.finish(); + } + }); + } + else { + logger.warn('[Tracing] Could not set up background tab detection due to lack of global document'); + } +} +//# sourceMappingURL=backgroundtab.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/backgroundtab.js.map b/node_modules/@sentry/tracing/esm/browser/backgroundtab.js.map new file mode 100644 index 000000000..716658f26 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/backgroundtab.js.map @@ -0,0 +1 @@ +{"version":3,"file":"backgroundtab.js","sourceRoot":"","sources":["../../src/browser/backgroundtab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAGlF,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,IAAM,MAAM,GAAG,eAAe,EAAU,CAAC;AAEzC;;;GAGG;AACH,MAAM,UAAU,8BAA8B;IAC5C,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,EAAE;QAC7B,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE;YACnD,IAAM,iBAAiB,GAAG,oBAAoB,EAAqB,CAAC;YACpE,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,IAAI,iBAAiB,EAAE;gBAC/C,IAAM,UAAU,GAAmB,WAAW,CAAC;gBAE/C,MAAM,CAAC,GAAG,CACR,4BAA0B,UAAU,mDAA8C,iBAAiB,CAAC,EAAI,CACzG,CAAC;gBACF,sFAAsF;gBACtF,4DAA4D;gBAC5D,IAAI,CAAC,iBAAiB,CAAC,MAAM,EAAE;oBAC7B,iBAAiB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;iBACzC;gBACD,iBAAiB,CAAC,MAAM,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAC;gBAChE,iBAAiB,CAAC,MAAM,CAAC,iBAAiB,EAAE,+BAA+B,CAAC,CAAC,CAAC,CAAC,CAAC;gBAChF,iBAAiB,CAAC,MAAM,EAAE,CAAC;aAC5B;QACH,CAAC,CAAC,CAAC;KACJ;SAAM;QACL,MAAM,CAAC,IAAI,CAAC,oFAAoF,CAAC,CAAC;KACnG;AACH,CAAC","sourcesContent":["import { getGlobalObject, logger } from '@sentry/utils';\n\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from '../constants';\nimport { IdleTransaction } from '../idletransaction';\nimport { SpanStatusType } from '../span';\nimport { getActiveTransaction } from '../utils';\n\nconst global = getGlobalObject();\n\n/**\n * Add a listener that cancels and finishes a transaction when the global\n * document is hidden.\n */\nexport function registerBackgroundTabDetection(): void {\n if (global && global.document) {\n global.document.addEventListener('visibilitychange', () => {\n const activeTransaction = getActiveTransaction() as IdleTransaction;\n if (global.document.hidden && activeTransaction) {\n const statusType: SpanStatusType = 'cancelled';\n\n logger.log(\n `[Tracing] Transaction: ${statusType} -> since tab moved to the background, op: ${activeTransaction.op}`,\n );\n // We should not set status if it is already set, this prevent important statuses like\n // error or data loss from being overwritten on transaction.\n if (!activeTransaction.status) {\n activeTransaction.setStatus(statusType);\n }\n activeTransaction.setTag('visibilitychange', 'document.hidden');\n activeTransaction.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[2]);\n activeTransaction.finish();\n }\n });\n } else {\n logger.warn('[Tracing] Could not set up background tab detection due to lack of global document');\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/browsertracing.d.ts b/node_modules/@sentry/tracing/esm/browser/browsertracing.d.ts new file mode 100644 index 000000000..e7db3a703 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/browsertracing.d.ts @@ -0,0 +1,109 @@ +import { Hub } from '@sentry/hub'; +import { EventProcessor, Integration, Transaction, TransactionContext } from '@sentry/types'; +import { RequestInstrumentationOptions } from './request'; +export declare const DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600; +/** Options for Browser Tracing integration */ +export interface BrowserTracingOptions extends RequestInstrumentationOptions { + /** + * The time to wait in ms until the transaction will be finished. The transaction will use the end timestamp of + * the last finished span as the endtime for the transaction. + * Time is in ms. + * + * Default: 1000 + */ + idleTimeout: number; + /** + * Flag to enable/disable creation of `navigation` transaction on history changes. + * + * Default: true + */ + startTransactionOnLocationChange: boolean; + /** + * Flag to enable/disable creation of `pageload` transaction on first pageload. + * + * Default: true + */ + startTransactionOnPageLoad: boolean; + /** + * The maximum duration of a transaction before it will be marked as "deadline_exceeded". + * If you never want to mark a transaction set it to 0. + * Time is in seconds. + * + * Default: 600 + */ + maxTransactionDuration: number; + /** + * Flag Transactions where tabs moved to background with "cancelled". Browser background tab timing is + * not suited towards doing precise measurements of operations. By default, we recommend that this option + * be enabled as background transactions can mess up your statistics in nondeterministic ways. + * + * Default: true + */ + markBackgroundTransactions: boolean; + /** + * _metricOptions allows the user to send options to change how metrics are collected. + * + * _metricOptions is currently experimental. + * + * Default: undefined + */ + _metricOptions?: Partial<{ + _reportAllChanges: boolean; + }>; + /** + * beforeNavigate is called before a pageload/navigation transaction is created and allows users to modify transaction + * context data, or drop the transaction entirely (by setting `sampled = false` in the context). + * + * Note: For legacy reasons, transactions can also be dropped by returning `undefined`. + * + * @param context: The context data which will be passed to `startTransaction` by default + * + * @returns A (potentially) modified context object, with `sampled = false` if the transaction should be dropped. + */ + beforeNavigate?(context: TransactionContext): TransactionContext | undefined; + /** + * Instrumentation that creates routing change transactions. By default creates + * pageload and navigation transactions. + */ + routingInstrumentation(customStartTransaction: (context: TransactionContext) => T | undefined, startTransactionOnPageLoad?: boolean, startTransactionOnLocationChange?: boolean): void; +} +/** + * The Browser Tracing integration automatically instruments browser pageload/navigation + * actions as transactions, and captures requests, metrics and errors as spans. + * + * The integration can be configured with a variety of options, and can be extended to use + * any routing library. This integration uses {@see IdleTransaction} to create transactions. + */ +export declare class BrowserTracing implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** Browser Tracing integration options */ + options: BrowserTracingOptions; + /** + * @inheritDoc + */ + name: string; + private _getCurrentHub?; + private readonly _metrics; + private readonly _emitOptionsWarning; + /** Store configured idle timeout so that it can be added as a tag to transactions */ + private _configuredIdleTimeout; + constructor(_options?: Partial); + /** + * @inheritDoc + */ + setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; + /** Create routing idle transaction. */ + private _createRouteTransaction; +} +/** + * Gets transaction context from a sentry-trace meta. + * + * @returns Transaction context data from the header or undefined if there's no header or the header is malformed + */ +export declare function getHeaderContext(): Partial | undefined; +/** Returns the value of a meta tag */ +export declare function getMetaContent(metaName: string): string | null; +//# sourceMappingURL=browsertracing.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/browsertracing.d.ts.map b/node_modules/@sentry/tracing/esm/browser/browsertracing.d.ts.map new file mode 100644 index 000000000..dcca43d3c --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/browsertracing.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"browsertracing.d.ts","sourceRoot":"","sources":["../../src/browser/browsertracing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAQ7F,OAAO,EAGL,6BAA6B,EAC9B,MAAM,WAAW,CAAC;AAGnB,eAAO,MAAM,wCAAwC,MAAM,CAAC;AAE5D,8CAA8C;AAC9C,MAAM,WAAW,qBAAsB,SAAQ,6BAA6B;IAC1E;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,gCAAgC,EAAE,OAAO,CAAC;IAE1C;;;;OAIG;IACH,0BAA0B,EAAE,OAAO,CAAC;IAEpC;;;;;;OAMG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;;;;;OAMG;IACH,0BAA0B,EAAE,OAAO,CAAC;IAEpC;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;QAAE,iBAAiB,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAEzD;;;;;;;;;OASG;IACH,cAAc,CAAC,CAAC,OAAO,EAAE,kBAAkB,GAAG,kBAAkB,GAAG,SAAS,CAAC;IAE7E;;;OAGG;IACH,sBAAsB,CAAC,CAAC,SAAS,WAAW,EAC1C,sBAAsB,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,CAAC,GAAG,SAAS,EACtE,0BAA0B,CAAC,EAAE,OAAO,EACpC,gCAAgC,CAAC,EAAE,OAAO,GACzC,IAAI,CAAC;CACT;AAYD;;;;;;GAMG;AACH,qBAAa,cAAe,YAAW,WAAW;IAChD;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAoB;IAE5C,0CAA0C;IACnC,OAAO,EAAE,qBAAqB,CAAC;IAEtC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAqB;IAExC,OAAO,CAAC,cAAc,CAAC,CAAY;IAEnC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyB;IAElD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAkB;IAEtD,qFAAqF;IACrF,OAAO,CAAC,sBAAsB,CAA+D;gBAE1E,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC;IAsB5D;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;IAqCvF,uCAAuC;IACvC,OAAO,CAAC,uBAAuB;CA+ChC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAO1E;AAED,sCAAsC;AACtC,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG9D"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/browsertracing.js b/node_modules/@sentry/tracing/esm/browser/browsertracing.js new file mode 100644 index 000000000..a390a1ce2 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/browsertracing.js @@ -0,0 +1,123 @@ +import { __assign } from "tslib"; +import { getGlobalObject, logger } from '@sentry/utils'; +import { startIdleTransaction } from '../hubextensions'; +import { DEFAULT_IDLE_TIMEOUT } from '../idletransaction'; +import { extractTraceparentData, secToMs } from '../utils'; +import { registerBackgroundTabDetection } from './backgroundtab'; +import { MetricsInstrumentation } from './metrics'; +import { defaultRequestInstrumentationOptions, instrumentOutgoingRequests, } from './request'; +import { instrumentRoutingWithDefaults } from './router'; +export var DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600; +var DEFAULT_BROWSER_TRACING_OPTIONS = __assign({ idleTimeout: DEFAULT_IDLE_TIMEOUT, markBackgroundTransactions: true, maxTransactionDuration: DEFAULT_MAX_TRANSACTION_DURATION_SECONDS, routingInstrumentation: instrumentRoutingWithDefaults, startTransactionOnLocationChange: true, startTransactionOnPageLoad: true }, defaultRequestInstrumentationOptions); +/** + * The Browser Tracing integration automatically instruments browser pageload/navigation + * actions as transactions, and captures requests, metrics and errors as spans. + * + * The integration can be configured with a variety of options, and can be extended to use + * any routing library. This integration uses {@see IdleTransaction} to create transactions. + */ +var BrowserTracing = /** @class */ (function () { + function BrowserTracing(_options) { + /** + * @inheritDoc + */ + this.name = BrowserTracing.id; + this._emitOptionsWarning = false; + /** Store configured idle timeout so that it can be added as a tag to transactions */ + this._configuredIdleTimeout = undefined; + var tracingOrigins = defaultRequestInstrumentationOptions.tracingOrigins; + // NOTE: Logger doesn't work in constructors, as it's initialized after integrations instances + if (_options) { + this._configuredIdleTimeout = _options.idleTimeout; + if (_options.tracingOrigins && Array.isArray(_options.tracingOrigins) && _options.tracingOrigins.length !== 0) { + tracingOrigins = _options.tracingOrigins; + } + else { + this._emitOptionsWarning = true; + } + } + this.options = __assign(__assign(__assign({}, DEFAULT_BROWSER_TRACING_OPTIONS), _options), { tracingOrigins: tracingOrigins }); + var _metricOptions = this.options._metricOptions; + this._metrics = new MetricsInstrumentation(_metricOptions && _metricOptions._reportAllChanges); + } + /** + * @inheritDoc + */ + BrowserTracing.prototype.setupOnce = function (_, getCurrentHub) { + var _this = this; + this._getCurrentHub = getCurrentHub; + if (this._emitOptionsWarning) { + logger.warn('[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.'); + logger.warn("[Tracing] We added a reasonable default for you: " + defaultRequestInstrumentationOptions.tracingOrigins); + } + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.options, instrumentRouting = _a.routingInstrumentation, startTransactionOnLocationChange = _a.startTransactionOnLocationChange, startTransactionOnPageLoad = _a.startTransactionOnPageLoad, markBackgroundTransactions = _a.markBackgroundTransactions, traceFetch = _a.traceFetch, traceXHR = _a.traceXHR, tracingOrigins = _a.tracingOrigins, shouldCreateSpanForRequest = _a.shouldCreateSpanForRequest; + instrumentRouting(function (context) { return _this._createRouteTransaction(context); }, startTransactionOnPageLoad, startTransactionOnLocationChange); + if (markBackgroundTransactions) { + registerBackgroundTabDetection(); + } + instrumentOutgoingRequests({ traceFetch: traceFetch, traceXHR: traceXHR, tracingOrigins: tracingOrigins, shouldCreateSpanForRequest: shouldCreateSpanForRequest }); + }; + /** Create routing idle transaction. */ + BrowserTracing.prototype._createRouteTransaction = function (context) { + var _this = this; + if (!this._getCurrentHub) { + logger.warn("[Tracing] Did not create " + context.op + " transaction because _getCurrentHub is invalid."); + return undefined; + } + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = this.options, beforeNavigate = _a.beforeNavigate, idleTimeout = _a.idleTimeout, maxTransactionDuration = _a.maxTransactionDuration; + var parentContextFromHeader = context.op === 'pageload' ? getHeaderContext() : undefined; + var expandedContext = __assign(__assign(__assign({}, context), parentContextFromHeader), { trimEnd: true }); + var modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext; + // For backwards compatibility reasons, beforeNavigate can return undefined to "drop" the transaction (prevent it + // from being sent to Sentry). + var finalContext = modifiedContext === undefined ? __assign(__assign({}, expandedContext), { sampled: false }) : modifiedContext; + if (finalContext.sampled === false) { + logger.log("[Tracing] Will not send " + finalContext.op + " transaction because of beforeNavigate."); + } + logger.log("[Tracing] Starting " + finalContext.op + " transaction on scope"); + var hub = this._getCurrentHub(); + var location = getGlobalObject().location; + var idleTransaction = startIdleTransaction(hub, finalContext, idleTimeout, true, { location: location }); + idleTransaction.registerBeforeFinishCallback(function (transaction, endTimestamp) { + _this._metrics.addPerformanceEntries(transaction); + adjustTransactionDuration(secToMs(maxTransactionDuration), transaction, endTimestamp); + }); + idleTransaction.setTag('idleTimeout', this._configuredIdleTimeout); + return idleTransaction; + }; + /** + * @inheritDoc + */ + BrowserTracing.id = 'BrowserTracing'; + return BrowserTracing; +}()); +export { BrowserTracing }; +/** + * Gets transaction context from a sentry-trace meta. + * + * @returns Transaction context data from the header or undefined if there's no header or the header is malformed + */ +export function getHeaderContext() { + var header = getMetaContent('sentry-trace'); + if (header) { + return extractTraceparentData(header); + } + return undefined; +} +/** Returns the value of a meta tag */ +export function getMetaContent(metaName) { + var el = getGlobalObject().document.querySelector("meta[name=" + metaName + "]"); + return el ? el.getAttribute('content') : null; +} +/** Adjusts transaction value based on max transaction duration */ +function adjustTransactionDuration(maxDuration, transaction, endTimestamp) { + var diff = endTimestamp - transaction.startTimestamp; + var isOutdatedTransaction = endTimestamp && (diff > maxDuration || diff < 0); + if (isOutdatedTransaction) { + transaction.setStatus('deadline_exceeded'); + transaction.setTag('maxTransactionDurationExceeded', 'true'); + } +} +//# sourceMappingURL=browsertracing.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/browsertracing.js.map b/node_modules/@sentry/tracing/esm/browser/browsertracing.js.map new file mode 100644 index 000000000..ec2e25a42 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/browsertracing.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browsertracing.js","sourceRoot":"","sources":["../../src/browser/browsertracing.ts"],"names":[],"mappings":"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","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration, Transaction, TransactionContext } from '@sentry/types';\nimport { getGlobalObject, logger } from '@sentry/utils';\n\nimport { startIdleTransaction } from '../hubextensions';\nimport { DEFAULT_IDLE_TIMEOUT, IdleTransaction } from '../idletransaction';\nimport { extractTraceparentData, secToMs } from '../utils';\nimport { registerBackgroundTabDetection } from './backgroundtab';\nimport { MetricsInstrumentation } from './metrics';\nimport {\n defaultRequestInstrumentationOptions,\n instrumentOutgoingRequests,\n RequestInstrumentationOptions,\n} from './request';\nimport { instrumentRoutingWithDefaults } from './router';\n\nexport const DEFAULT_MAX_TRANSACTION_DURATION_SECONDS = 600;\n\n/** Options for Browser Tracing integration */\nexport interface BrowserTracingOptions extends RequestInstrumentationOptions {\n /**\n * The time to wait in ms until the transaction will be finished. The transaction will use the end timestamp of\n * the last finished span as the endtime for the transaction.\n * Time is in ms.\n *\n * Default: 1000\n */\n idleTimeout: number;\n\n /**\n * Flag to enable/disable creation of `navigation` transaction on history changes.\n *\n * Default: true\n */\n startTransactionOnLocationChange: boolean;\n\n /**\n * Flag to enable/disable creation of `pageload` transaction on first pageload.\n *\n * Default: true\n */\n startTransactionOnPageLoad: boolean;\n\n /**\n * The maximum duration of a transaction before it will be marked as \"deadline_exceeded\".\n * If you never want to mark a transaction set it to 0.\n * Time is in seconds.\n *\n * Default: 600\n */\n maxTransactionDuration: number;\n\n /**\n * Flag Transactions where tabs moved to background with \"cancelled\". Browser background tab timing is\n * not suited towards doing precise measurements of operations. By default, we recommend that this option\n * be enabled as background transactions can mess up your statistics in nondeterministic ways.\n *\n * Default: true\n */\n markBackgroundTransactions: boolean;\n\n /**\n * _metricOptions allows the user to send options to change how metrics are collected.\n *\n * _metricOptions is currently experimental.\n *\n * Default: undefined\n */\n _metricOptions?: Partial<{ _reportAllChanges: boolean }>;\n\n /**\n * beforeNavigate is called before a pageload/navigation transaction is created and allows users to modify transaction\n * context data, or drop the transaction entirely (by setting `sampled = false` in the context).\n *\n * Note: For legacy reasons, transactions can also be dropped by returning `undefined`.\n *\n * @param context: The context data which will be passed to `startTransaction` by default\n *\n * @returns A (potentially) modified context object, with `sampled = false` if the transaction should be dropped.\n */\n beforeNavigate?(context: TransactionContext): TransactionContext | undefined;\n\n /**\n * Instrumentation that creates routing change transactions. By default creates\n * pageload and navigation transactions.\n */\n routingInstrumentation(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad?: boolean,\n startTransactionOnLocationChange?: boolean,\n ): void;\n}\n\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n idleTimeout: DEFAULT_IDLE_TIMEOUT,\n markBackgroundTransactions: true,\n maxTransactionDuration: DEFAULT_MAX_TRANSACTION_DURATION_SECONDS,\n routingInstrumentation: instrumentRoutingWithDefaults,\n startTransactionOnLocationChange: true,\n startTransactionOnPageLoad: true,\n ...defaultRequestInstrumentationOptions,\n};\n\n/**\n * The Browser Tracing integration automatically instruments browser pageload/navigation\n * actions as transactions, and captures requests, metrics and errors as spans.\n *\n * The integration can be configured with a variety of options, and can be extended to use\n * any routing library. This integration uses {@see IdleTransaction} to create transactions.\n */\nexport class BrowserTracing implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'BrowserTracing';\n\n /** Browser Tracing integration options */\n public options: BrowserTracingOptions;\n\n /**\n * @inheritDoc\n */\n public name: string = BrowserTracing.id;\n\n private _getCurrentHub?: () => Hub;\n\n private readonly _metrics: MetricsInstrumentation;\n\n private readonly _emitOptionsWarning: boolean = false;\n\n /** Store configured idle timeout so that it can be added as a tag to transactions */\n private _configuredIdleTimeout: BrowserTracingOptions['idleTimeout'] | undefined = undefined;\n\n public constructor(_options?: Partial) {\n let tracingOrigins = defaultRequestInstrumentationOptions.tracingOrigins;\n // NOTE: Logger doesn't work in constructors, as it's initialized after integrations instances\n if (_options) {\n this._configuredIdleTimeout = _options.idleTimeout;\n if (_options.tracingOrigins && Array.isArray(_options.tracingOrigins) && _options.tracingOrigins.length !== 0) {\n tracingOrigins = _options.tracingOrigins;\n } else {\n this._emitOptionsWarning = true;\n }\n }\n\n this.options = {\n ...DEFAULT_BROWSER_TRACING_OPTIONS,\n ..._options,\n tracingOrigins,\n };\n\n const { _metricOptions } = this.options;\n this._metrics = new MetricsInstrumentation(_metricOptions && _metricOptions._reportAllChanges);\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n this._getCurrentHub = getCurrentHub;\n\n if (this._emitOptionsWarning) {\n logger.warn(\n '[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.',\n );\n logger.warn(\n `[Tracing] We added a reasonable default for you: ${defaultRequestInstrumentationOptions.tracingOrigins}`,\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const {\n routingInstrumentation: instrumentRouting,\n startTransactionOnLocationChange,\n startTransactionOnPageLoad,\n markBackgroundTransactions,\n traceFetch,\n traceXHR,\n tracingOrigins,\n shouldCreateSpanForRequest,\n } = this.options;\n\n instrumentRouting(\n (context: TransactionContext) => this._createRouteTransaction(context),\n startTransactionOnPageLoad,\n startTransactionOnLocationChange,\n );\n\n if (markBackgroundTransactions) {\n registerBackgroundTabDetection();\n }\n\n instrumentOutgoingRequests({ traceFetch, traceXHR, tracingOrigins, shouldCreateSpanForRequest });\n }\n\n /** Create routing idle transaction. */\n private _createRouteTransaction(context: TransactionContext): Transaction | undefined {\n if (!this._getCurrentHub) {\n logger.warn(`[Tracing] Did not create ${context.op} transaction because _getCurrentHub is invalid.`);\n return undefined;\n }\n\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { beforeNavigate, idleTimeout, maxTransactionDuration } = this.options;\n\n const parentContextFromHeader = context.op === 'pageload' ? getHeaderContext() : undefined;\n\n const expandedContext = {\n ...context,\n ...parentContextFromHeader,\n trimEnd: true,\n };\n const modifiedContext = typeof beforeNavigate === 'function' ? beforeNavigate(expandedContext) : expandedContext;\n\n // For backwards compatibility reasons, beforeNavigate can return undefined to \"drop\" the transaction (prevent it\n // from being sent to Sentry).\n const finalContext = modifiedContext === undefined ? { ...expandedContext, sampled: false } : modifiedContext;\n\n if (finalContext.sampled === false) {\n logger.log(`[Tracing] Will not send ${finalContext.op} transaction because of beforeNavigate.`);\n }\n\n logger.log(`[Tracing] Starting ${finalContext.op} transaction on scope`);\n\n const hub = this._getCurrentHub();\n const { location } = getGlobalObject() as WindowOrWorkerGlobalScope & { location: Location };\n\n const idleTransaction = startIdleTransaction(\n hub,\n finalContext,\n idleTimeout,\n true,\n { location }, // for use in the tracesSampler\n );\n idleTransaction.registerBeforeFinishCallback((transaction, endTimestamp) => {\n this._metrics.addPerformanceEntries(transaction);\n adjustTransactionDuration(secToMs(maxTransactionDuration), transaction, endTimestamp);\n });\n\n idleTransaction.setTag('idleTimeout', this._configuredIdleTimeout);\n\n return idleTransaction as Transaction;\n }\n}\n\n/**\n * Gets transaction context from a sentry-trace meta.\n *\n * @returns Transaction context data from the header or undefined if there's no header or the header is malformed\n */\nexport function getHeaderContext(): Partial | undefined {\n const header = getMetaContent('sentry-trace');\n if (header) {\n return extractTraceparentData(header);\n }\n\n return undefined;\n}\n\n/** Returns the value of a meta tag */\nexport function getMetaContent(metaName: string): string | null {\n const el = getGlobalObject().document.querySelector(`meta[name=${metaName}]`);\n return el ? el.getAttribute('content') : null;\n}\n\n/** Adjusts transaction value based on max transaction duration */\nfunction adjustTransactionDuration(maxDuration: number, transaction: IdleTransaction, endTimestamp: number): void {\n const diff = endTimestamp - transaction.startTimestamp;\n const isOutdatedTransaction = endTimestamp && (diff > maxDuration || diff < 0);\n if (isOutdatedTransaction) {\n transaction.setStatus('deadline_exceeded');\n transaction.setTag('maxTransactionDurationExceeded', 'true');\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/index.d.ts b/node_modules/@sentry/tracing/esm/browser/index.d.ts new file mode 100644 index 000000000..21f484d5b --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/index.d.ts @@ -0,0 +1,3 @@ +export { BrowserTracing } from './browsertracing'; +export { instrumentOutgoingRequests, RequestInstrumentationOptions, defaultRequestInstrumentationOptions, } from './request'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/index.d.ts.map b/node_modules/@sentry/tracing/esm/browser/index.d.ts.map new file mode 100644 index 000000000..6abfab7eb --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,EAC7B,oCAAoC,GACrC,MAAM,WAAW,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/index.js b/node_modules/@sentry/tracing/esm/browser/index.js new file mode 100644 index 000000000..d7c4cf9d1 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/index.js @@ -0,0 +1,3 @@ +export { BrowserTracing } from './browsertracing'; +export { instrumentOutgoingRequests, defaultRequestInstrumentationOptions, } from './request'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/index.js.map b/node_modules/@sentry/tracing/esm/browser/index.js.map new file mode 100644 index 000000000..da8646e33 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACL,0BAA0B,EAE1B,oCAAoC,GACrC,MAAM,WAAW,CAAC","sourcesContent":["export { BrowserTracing } from './browsertracing';\nexport {\n instrumentOutgoingRequests,\n RequestInstrumentationOptions,\n defaultRequestInstrumentationOptions,\n} from './request';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/metrics.d.ts b/node_modules/@sentry/tracing/esm/browser/metrics.d.ts new file mode 100644 index 000000000..48994dfad --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/metrics.d.ts @@ -0,0 +1,39 @@ +import { SpanContext } from '@sentry/types'; +import { Span } from '../span'; +import { Transaction } from '../transaction'; +/** Class tracking metrics */ +export declare class MetricsInstrumentation { + private _reportAllChanges; + private _measurements; + private _performanceCursor; + private _lcpEntry; + private _clsEntry; + constructor(_reportAllChanges?: boolean); + /** Add performance related spans to a transaction */ + addPerformanceEntries(transaction: Transaction): void; + /** + * Capture the information of the user agent. + */ + private _trackNavigator; + /** Starts tracking the Cumulative Layout Shift on the current page. */ + private _trackCLS; + /** Starts tracking the Largest Contentful Paint on the current page. */ + private _trackLCP; + /** Starts tracking the First Input Delay on the current page. */ + private _trackFID; +} +export interface ResourceEntry extends Record { + initiatorType?: string; + transferSize?: number; + encodedBodySize?: number; + decodedBodySize?: number; +} +/** Create resource-related spans */ +export declare function addResourceSpans(transaction: Transaction, entry: ResourceEntry, resourceName: string, startTime: number, duration: number, timeOrigin: number): void; +/** + * Helper function to start child on transactions. This function will make sure that the transaction will + * use the start timestamp of the created child span if it is earlier than the transactions actual + * start timestamp. + */ +export declare function _startChild(transaction: Transaction, { startTimestamp, ...ctx }: SpanContext): Span; +//# sourceMappingURL=metrics.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/metrics.d.ts.map b/node_modules/@sentry/tracing/esm/browser/metrics.d.ts.map new file mode 100644 index 000000000..b2a4302b1 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/metrics.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../src/browser/metrics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,WAAW,EAAE,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAU7C,8BAA8B;AAC9B,qBAAa,sBAAsB;IAOd,OAAO,CAAC,iBAAiB;IAN5C,OAAO,CAAC,aAAa,CAAoB;IAEzC,OAAO,CAAC,kBAAkB,CAAa;IACvC,OAAO,CAAC,SAAS,CAAqC;IACtD,OAAO,CAAC,SAAS,CAA0B;gBAEhB,iBAAiB,GAAE,OAAe;IAY7D,qDAAqD;IAC9C,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAmI5D;;OAEG;IACH,OAAO,CAAC,eAAe;IAmCvB,uEAAuE;IACvE,OAAO,CAAC,SAAS;IAgBjB,wEAAwE;IACxE,OAAO,CAAC,SAAS;IAgBjB,iEAAiE;IACjE,OAAO,CAAC,SAAS;CAclB;AAkCD,MAAM,WAAW,aAAc,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,oCAAoC;AACpC,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,aAAa,EACpB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,IAAI,CA4BN;AAyCD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,WAAW,EAAE,WAAW,EAAE,EAAE,cAAc,EAAE,GAAG,GAAG,EAAE,EAAE,WAAW,GAAG,IAAI,CASnG"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/metrics.js b/node_modules/@sentry/tracing/esm/browser/metrics.js new file mode 100644 index 000000000..546bf6bf8 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/metrics.js @@ -0,0 +1,334 @@ +import { __assign, __rest } from "tslib"; +import { browserPerformanceTimeOrigin, getGlobalObject, htmlTreeAsString, isNodeEnv, logger } from '@sentry/utils'; +import { msToSec } from '../utils'; +import { getCLS } from './web-vitals/getCLS'; +import { getFID } from './web-vitals/getFID'; +import { getLCP } from './web-vitals/getLCP'; +import { getVisibilityWatcher } from './web-vitals/lib/getVisibilityWatcher'; +var global = getGlobalObject(); +/** Class tracking metrics */ +var MetricsInstrumentation = /** @class */ (function () { + function MetricsInstrumentation(_reportAllChanges) { + if (_reportAllChanges === void 0) { _reportAllChanges = false; } + this._reportAllChanges = _reportAllChanges; + this._measurements = {}; + this._performanceCursor = 0; + if (!isNodeEnv() && global && global.performance && global.document) { + if (global.performance.mark) { + global.performance.mark('sentry-tracing-init'); + } + this._trackCLS(); + this._trackLCP(); + this._trackFID(); + } + } + /** Add performance related spans to a transaction */ + MetricsInstrumentation.prototype.addPerformanceEntries = function (transaction) { + var _this = this; + if (!global || !global.performance || !global.performance.getEntries || !browserPerformanceTimeOrigin) { + // Gatekeeper if performance API not available + return; + } + logger.log('[Tracing] Adding & adjusting spans using Performance API'); + var timeOrigin = msToSec(browserPerformanceTimeOrigin); + var responseStartTimestamp; + var requestStartTimestamp; + global.performance + .getEntries() + .slice(this._performanceCursor) + .forEach(function (entry) { + var startTime = msToSec(entry.startTime); + var duration = msToSec(entry.duration); + if (transaction.op === 'navigation' && timeOrigin + startTime < transaction.startTimestamp) { + return; + } + switch (entry.entryType) { + case 'navigation': { + addNavigationSpans(transaction, entry, timeOrigin); + responseStartTimestamp = timeOrigin + msToSec(entry.responseStart); + requestStartTimestamp = timeOrigin + msToSec(entry.requestStart); + break; + } + case 'mark': + case 'paint': + case 'measure': { + var startTimestamp = addMeasureSpans(transaction, entry, startTime, duration, timeOrigin); + // capture web vitals + var firstHidden = getVisibilityWatcher(); + // Only report if the page wasn't hidden prior to the web vital. + var shouldRecord = entry.startTime < firstHidden.firstHiddenTime; + if (entry.name === 'first-paint' && shouldRecord) { + logger.log('[Measurements] Adding FP'); + _this._measurements['fp'] = { value: entry.startTime }; + _this._measurements['mark.fp'] = { value: startTimestamp }; + } + if (entry.name === 'first-contentful-paint' && shouldRecord) { + logger.log('[Measurements] Adding FCP'); + _this._measurements['fcp'] = { value: entry.startTime }; + _this._measurements['mark.fcp'] = { value: startTimestamp }; + } + break; + } + case 'resource': { + var resourceName = entry.name.replace(global.location.origin, ''); + addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin); + break; + } + default: + // Ignore other entry types. + } + }); + this._performanceCursor = Math.max(performance.getEntries().length - 1, 0); + this._trackNavigator(transaction); + // Measurements are only available for pageload transactions + if (transaction.op === 'pageload') { + // normalize applicable web vital values to be relative to transaction.startTimestamp + var timeOrigin_1 = msToSec(browserPerformanceTimeOrigin); + // Generate TTFB (Time to First Byte), which measured as the time between the beginning of the transaction and the + // start of the response in milliseconds + if (typeof responseStartTimestamp === 'number') { + logger.log('[Measurements] Adding TTFB'); + this._measurements['ttfb'] = { value: (responseStartTimestamp - transaction.startTimestamp) * 1000 }; + if (typeof requestStartTimestamp === 'number' && requestStartTimestamp <= responseStartTimestamp) { + // Capture the time spent making the request and receiving the first byte of the response. + // This is the time between the start of the request and the start of the response in milliseconds. + this._measurements['ttfb.requestTime'] = { value: (responseStartTimestamp - requestStartTimestamp) * 1000 }; + } + } + ['fcp', 'fp', 'lcp'].forEach(function (name) { + if (!_this._measurements[name] || timeOrigin_1 >= transaction.startTimestamp) { + return; + } + // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin. + // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need + // to be adjusted to be relative to transaction.startTimestamp. + var oldValue = _this._measurements[name].value; + var measurementTimestamp = timeOrigin_1 + msToSec(oldValue); + // normalizedValue should be in milliseconds + var normalizedValue = Math.abs((measurementTimestamp - transaction.startTimestamp) * 1000); + var delta = normalizedValue - oldValue; + logger.log("[Measurements] Normalized " + name + " from " + oldValue + " to " + normalizedValue + " (" + delta + ")"); + _this._measurements[name].value = normalizedValue; + }); + if (this._measurements['mark.fid'] && this._measurements['fid']) { + // create span for FID + _startChild(transaction, { + description: 'first input delay', + endTimestamp: this._measurements['mark.fid'].value + msToSec(this._measurements['fid'].value), + op: 'web.vitals', + startTimestamp: this._measurements['mark.fid'].value, + }); + } + // If FCP is not recorded we should not record the cls value + // according to the new definition of CLS. + if (!('fcp' in this._measurements)) { + delete this._measurements.cls; + } + transaction.setMeasurements(this._measurements); + tagMetricInfo(transaction, this._lcpEntry, this._clsEntry); + transaction.setTag('sentry_reportAllChanges', this._reportAllChanges); + } + }; + /** + * Capture the information of the user agent. + */ + MetricsInstrumentation.prototype._trackNavigator = function (transaction) { + var navigator = global.navigator; + if (!navigator) { + return; + } + // track network connectivity + var connection = navigator.connection; + if (connection) { + if (connection.effectiveType) { + transaction.setTag('effectiveConnectionType', connection.effectiveType); + } + if (connection.type) { + transaction.setTag('connectionType', connection.type); + } + if (isMeasurementValue(connection.rtt)) { + this._measurements['connection.rtt'] = { value: connection.rtt }; + } + if (isMeasurementValue(connection.downlink)) { + this._measurements['connection.downlink'] = { value: connection.downlink }; + } + } + if (isMeasurementValue(navigator.deviceMemory)) { + transaction.setTag('deviceMemory', String(navigator.deviceMemory)); + } + if (isMeasurementValue(navigator.hardwareConcurrency)) { + transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency)); + } + }; + /** Starts tracking the Cumulative Layout Shift on the current page. */ + MetricsInstrumentation.prototype._trackCLS = function () { + var _this = this; + // See: + // https://web.dev/evolving-cls/ + // https://web.dev/cls-web-tooling/ + getCLS(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + logger.log('[Measurements] Adding CLS'); + _this._measurements['cls'] = { value: metric.value }; + _this._clsEntry = entry; + }); + }; + /** Starts tracking the Largest Contentful Paint on the current page. */ + MetricsInstrumentation.prototype._trackLCP = function () { + var _this = this; + getLCP(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + var timeOrigin = msToSec(browserPerformanceTimeOrigin); + var startTime = msToSec(entry.startTime); + logger.log('[Measurements] Adding LCP'); + _this._measurements['lcp'] = { value: metric.value }; + _this._measurements['mark.lcp'] = { value: timeOrigin + startTime }; + _this._lcpEntry = entry; + }, this._reportAllChanges); + }; + /** Starts tracking the First Input Delay on the current page. */ + MetricsInstrumentation.prototype._trackFID = function () { + var _this = this; + getFID(function (metric) { + var entry = metric.entries.pop(); + if (!entry) { + return; + } + var timeOrigin = msToSec(browserPerformanceTimeOrigin); + var startTime = msToSec(entry.startTime); + logger.log('[Measurements] Adding FID'); + _this._measurements['fid'] = { value: metric.value }; + _this._measurements['mark.fid'] = { value: timeOrigin + startTime }; + }); + }; + return MetricsInstrumentation; +}()); +export { MetricsInstrumentation }; +/** Instrument navigation entries */ +function addNavigationSpans(transaction, entry, timeOrigin) { + ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(function (event) { + addPerformanceNavigationTiming(transaction, entry, event, timeOrigin); + }); + addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd'); + addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart'); + addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS'); + addRequest(transaction, entry, timeOrigin); +} +/** Create measure related spans */ +function addMeasureSpans(transaction, entry, startTime, duration, timeOrigin) { + var measureStartTimestamp = timeOrigin + startTime; + var measureEndTimestamp = measureStartTimestamp + duration; + _startChild(transaction, { + description: entry.name, + endTimestamp: measureEndTimestamp, + op: entry.entryType, + startTimestamp: measureStartTimestamp, + }); + return measureStartTimestamp; +} +/** Create resource-related spans */ +export function addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin) { + // we already instrument based on fetch and xhr, so we don't need to + // duplicate spans here. + if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') { + return; + } + var data = {}; + if ('transferSize' in entry) { + data['Transfer Size'] = entry.transferSize; + } + if ('encodedBodySize' in entry) { + data['Encoded Body Size'] = entry.encodedBodySize; + } + if ('decodedBodySize' in entry) { + data['Decoded Body Size'] = entry.decodedBodySize; + } + var startTimestamp = timeOrigin + startTime; + var endTimestamp = startTimestamp + duration; + _startChild(transaction, { + description: resourceName, + endTimestamp: endTimestamp, + op: entry.initiatorType ? "resource." + entry.initiatorType : 'resource', + startTimestamp: startTimestamp, + data: data, + }); +} +/** Create performance navigation related spans */ +function addPerformanceNavigationTiming(transaction, entry, event, timeOrigin, description, eventEnd) { + var end = eventEnd ? entry[eventEnd] : entry[event + "End"]; + var start = entry[event + "Start"]; + if (!start || !end) { + return; + } + _startChild(transaction, { + op: 'browser', + description: (description !== null && description !== void 0 ? description : event), + startTimestamp: timeOrigin + msToSec(start), + endTimestamp: timeOrigin + msToSec(end), + }); +} +/** Create request and response related spans */ +function addRequest(transaction, entry, timeOrigin) { + _startChild(transaction, { + op: 'browser', + description: 'request', + startTimestamp: timeOrigin + msToSec(entry.requestStart), + endTimestamp: timeOrigin + msToSec(entry.responseEnd), + }); + _startChild(transaction, { + op: 'browser', + description: 'response', + startTimestamp: timeOrigin + msToSec(entry.responseStart), + endTimestamp: timeOrigin + msToSec(entry.responseEnd), + }); +} +/** + * Helper function to start child on transactions. This function will make sure that the transaction will + * use the start timestamp of the created child span if it is earlier than the transactions actual + * start timestamp. + */ +export function _startChild(transaction, _a) { + var startTimestamp = _a.startTimestamp, ctx = __rest(_a, ["startTimestamp"]); + if (startTimestamp && transaction.startTimestamp > startTimestamp) { + transaction.startTimestamp = startTimestamp; + } + return transaction.startChild(__assign({ startTimestamp: startTimestamp }, ctx)); +} +/** + * Checks if a given value is a valid measurement value. + */ +function isMeasurementValue(value) { + return typeof value === 'number' && isFinite(value); +} +/** Add LCP / CLS data to transaction to allow debugging */ +function tagMetricInfo(transaction, lcpEntry, clsEntry) { + if (lcpEntry) { + logger.log('[Measurements] Adding LCP Data'); + // Capture Properties of the LCP element that contributes to the LCP. + if (lcpEntry.element) { + transaction.setTag('lcp.element', htmlTreeAsString(lcpEntry.element)); + } + if (lcpEntry.id) { + transaction.setTag('lcp.id', lcpEntry.id); + } + if (lcpEntry.url) { + // Trim URL to the first 200 characters. + transaction.setTag('lcp.url', lcpEntry.url.trim().slice(0, 200)); + } + transaction.setTag('lcp.size', lcpEntry.size); + } + // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift + if (clsEntry && clsEntry.sources) { + logger.log('[Measurements] Adding CLS Data'); + clsEntry.sources.forEach(function (source, index) { + return transaction.setTag("cls.source." + (index + 1), htmlTreeAsString(source.node)); + }); + } +} +//# sourceMappingURL=metrics.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/metrics.js.map b/node_modules/@sentry/tracing/esm/browser/metrics.js.map new file mode 100644 index 000000000..55cfcccdc --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/metrics.js.map @@ -0,0 +1 @@ +{"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../src/browser/metrics.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Measurements, SpanContext } from '@sentry/types';\nimport { browserPerformanceTimeOrigin, getGlobalObject, htmlTreeAsString, isNodeEnv, logger } from '@sentry/utils';\n\nimport { Span } from '../span';\nimport { Transaction } from '../transaction';\nimport { msToSec } from '../utils';\nimport { getCLS, LayoutShift } from './web-vitals/getCLS';\nimport { getFID } from './web-vitals/getFID';\nimport { getLCP, LargestContentfulPaint } from './web-vitals/getLCP';\nimport { getVisibilityWatcher } from './web-vitals/lib/getVisibilityWatcher';\nimport { NavigatorDeviceMemory, NavigatorNetworkInformation } from './web-vitals/types';\n\nconst global = getGlobalObject();\n\n/** Class tracking metrics */\nexport class MetricsInstrumentation {\n private _measurements: Measurements = {};\n\n private _performanceCursor: number = 0;\n private _lcpEntry: LargestContentfulPaint | undefined;\n private _clsEntry: LayoutShift | undefined;\n\n public constructor(private _reportAllChanges: boolean = false) {\n if (!isNodeEnv() && global && global.performance && global.document) {\n if (global.performance.mark) {\n global.performance.mark('sentry-tracing-init');\n }\n\n this._trackCLS();\n this._trackLCP();\n this._trackFID();\n }\n }\n\n /** Add performance related spans to a transaction */\n public addPerformanceEntries(transaction: Transaction): void {\n if (!global || !global.performance || !global.performance.getEntries || !browserPerformanceTimeOrigin) {\n // Gatekeeper if performance API not available\n return;\n }\n\n logger.log('[Tracing] Adding & adjusting spans using Performance API');\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n let responseStartTimestamp: number | undefined;\n let requestStartTimestamp: number | undefined;\n\n global.performance\n .getEntries()\n .slice(this._performanceCursor)\n .forEach((entry: Record) => {\n const startTime = msToSec(entry.startTime as number);\n const duration = msToSec(entry.duration as number);\n\n if (transaction.op === 'navigation' && timeOrigin + startTime < transaction.startTimestamp) {\n return;\n }\n\n switch (entry.entryType) {\n case 'navigation': {\n addNavigationSpans(transaction, entry, timeOrigin);\n responseStartTimestamp = timeOrigin + msToSec(entry.responseStart as number);\n requestStartTimestamp = timeOrigin + msToSec(entry.requestStart as number);\n break;\n }\n case 'mark':\n case 'paint':\n case 'measure': {\n const startTimestamp = addMeasureSpans(transaction, entry, startTime, duration, timeOrigin);\n // capture web vitals\n\n const firstHidden = getVisibilityWatcher();\n // Only report if the page wasn't hidden prior to the web vital.\n const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n\n if (entry.name === 'first-paint' && shouldRecord) {\n logger.log('[Measurements] Adding FP');\n this._measurements['fp'] = { value: entry.startTime };\n this._measurements['mark.fp'] = { value: startTimestamp };\n }\n\n if (entry.name === 'first-contentful-paint' && shouldRecord) {\n logger.log('[Measurements] Adding FCP');\n this._measurements['fcp'] = { value: entry.startTime };\n this._measurements['mark.fcp'] = { value: startTimestamp };\n }\n\n break;\n }\n case 'resource': {\n const resourceName = (entry.name as string).replace(global.location.origin, '');\n addResourceSpans(transaction, entry, resourceName, startTime, duration, timeOrigin);\n break;\n }\n default:\n // Ignore other entry types.\n }\n });\n\n this._performanceCursor = Math.max(performance.getEntries().length - 1, 0);\n\n this._trackNavigator(transaction);\n\n // Measurements are only available for pageload transactions\n if (transaction.op === 'pageload') {\n // normalize applicable web vital values to be relative to transaction.startTimestamp\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin);\n\n // Generate TTFB (Time to First Byte), which measured as the time between the beginning of the transaction and the\n // start of the response in milliseconds\n if (typeof responseStartTimestamp === 'number') {\n logger.log('[Measurements] Adding TTFB');\n this._measurements['ttfb'] = { value: (responseStartTimestamp - transaction.startTimestamp) * 1000 };\n\n if (typeof requestStartTimestamp === 'number' && requestStartTimestamp <= responseStartTimestamp) {\n // Capture the time spent making the request and receiving the first byte of the response.\n // This is the time between the start of the request and the start of the response in milliseconds.\n this._measurements['ttfb.requestTime'] = { value: (responseStartTimestamp - requestStartTimestamp) * 1000 };\n }\n }\n\n ['fcp', 'fp', 'lcp'].forEach(name => {\n if (!this._measurements[name] || timeOrigin >= transaction.startTimestamp) {\n return;\n }\n\n // The web vitals, fcp, fp, lcp, and ttfb, all measure relative to timeOrigin.\n // Unfortunately, timeOrigin is not captured within the transaction span data, so these web vitals will need\n // to be adjusted to be relative to transaction.startTimestamp.\n\n const oldValue = this._measurements[name].value;\n const measurementTimestamp = timeOrigin + msToSec(oldValue);\n // normalizedValue should be in milliseconds\n const normalizedValue = Math.abs((measurementTimestamp - transaction.startTimestamp) * 1000);\n\n const delta = normalizedValue - oldValue;\n logger.log(`[Measurements] Normalized ${name} from ${oldValue} to ${normalizedValue} (${delta})`);\n\n this._measurements[name].value = normalizedValue;\n });\n\n if (this._measurements['mark.fid'] && this._measurements['fid']) {\n // create span for FID\n\n _startChild(transaction, {\n description: 'first input delay',\n endTimestamp: this._measurements['mark.fid'].value + msToSec(this._measurements['fid'].value),\n op: 'web.vitals',\n startTimestamp: this._measurements['mark.fid'].value,\n });\n }\n\n // If FCP is not recorded we should not record the cls value\n // according to the new definition of CLS.\n if (!('fcp' in this._measurements)) {\n delete this._measurements.cls;\n }\n\n transaction.setMeasurements(this._measurements);\n tagMetricInfo(transaction, this._lcpEntry, this._clsEntry);\n transaction.setTag('sentry_reportAllChanges', this._reportAllChanges);\n }\n }\n\n /**\n * Capture the information of the user agent.\n */\n private _trackNavigator(transaction: Transaction): void {\n const navigator = global.navigator as null | (Navigator & NavigatorNetworkInformation & NavigatorDeviceMemory);\n if (!navigator) {\n return;\n }\n\n // track network connectivity\n const connection = navigator.connection;\n if (connection) {\n if (connection.effectiveType) {\n transaction.setTag('effectiveConnectionType', connection.effectiveType);\n }\n\n if (connection.type) {\n transaction.setTag('connectionType', connection.type);\n }\n\n if (isMeasurementValue(connection.rtt)) {\n this._measurements['connection.rtt'] = { value: connection.rtt as number };\n }\n\n if (isMeasurementValue(connection.downlink)) {\n this._measurements['connection.downlink'] = { value: connection.downlink as number };\n }\n }\n\n if (isMeasurementValue(navigator.deviceMemory)) {\n transaction.setTag('deviceMemory', String(navigator.deviceMemory));\n }\n\n if (isMeasurementValue(navigator.hardwareConcurrency)) {\n transaction.setTag('hardwareConcurrency', String(navigator.hardwareConcurrency));\n }\n }\n\n /** Starts tracking the Cumulative Layout Shift on the current page. */\n private _trackCLS(): void {\n // See:\n // https://web.dev/evolving-cls/\n // https://web.dev/cls-web-tooling/\n getCLS(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n logger.log('[Measurements] Adding CLS');\n this._measurements['cls'] = { value: metric.value };\n this._clsEntry = entry as LayoutShift;\n });\n }\n\n /** Starts tracking the Largest Contentful Paint on the current page. */\n private _trackLCP(): void {\n getLCP(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime as number);\n logger.log('[Measurements] Adding LCP');\n this._measurements['lcp'] = { value: metric.value };\n this._measurements['mark.lcp'] = { value: timeOrigin + startTime };\n this._lcpEntry = entry as LargestContentfulPaint;\n }, this._reportAllChanges);\n }\n\n /** Starts tracking the First Input Delay on the current page. */\n private _trackFID(): void {\n getFID(metric => {\n const entry = metric.entries.pop();\n if (!entry) {\n return;\n }\n\n const timeOrigin = msToSec(browserPerformanceTimeOrigin as number);\n const startTime = msToSec(entry.startTime as number);\n logger.log('[Measurements] Adding FID');\n this._measurements['fid'] = { value: metric.value };\n this._measurements['mark.fid'] = { value: timeOrigin + startTime };\n });\n }\n}\n\n/** Instrument navigation entries */\nfunction addNavigationSpans(transaction: Transaction, entry: Record, timeOrigin: number): void {\n ['unloadEvent', 'redirect', 'domContentLoadedEvent', 'loadEvent', 'connect'].forEach(event => {\n addPerformanceNavigationTiming(transaction, entry, event, timeOrigin);\n });\n addPerformanceNavigationTiming(transaction, entry, 'secureConnection', timeOrigin, 'TLS/SSL', 'connectEnd');\n addPerformanceNavigationTiming(transaction, entry, 'fetch', timeOrigin, 'cache', 'domainLookupStart');\n addPerformanceNavigationTiming(transaction, entry, 'domainLookup', timeOrigin, 'DNS');\n addRequest(transaction, entry, timeOrigin);\n}\n\n/** Create measure related spans */\nfunction addMeasureSpans(\n transaction: Transaction,\n entry: Record,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): number {\n const measureStartTimestamp = timeOrigin + startTime;\n const measureEndTimestamp = measureStartTimestamp + duration;\n\n _startChild(transaction, {\n description: entry.name as string,\n endTimestamp: measureEndTimestamp,\n op: entry.entryType as string,\n startTimestamp: measureStartTimestamp,\n });\n\n return measureStartTimestamp;\n}\n\nexport interface ResourceEntry extends Record {\n initiatorType?: string;\n transferSize?: number;\n encodedBodySize?: number;\n decodedBodySize?: number;\n}\n\n/** Create resource-related spans */\nexport function addResourceSpans(\n transaction: Transaction,\n entry: ResourceEntry,\n resourceName: string,\n startTime: number,\n duration: number,\n timeOrigin: number,\n): void {\n // we already instrument based on fetch and xhr, so we don't need to\n // duplicate spans here.\n if (entry.initiatorType === 'xmlhttprequest' || entry.initiatorType === 'fetch') {\n return;\n }\n\n const data: Record = {};\n if ('transferSize' in entry) {\n data['Transfer Size'] = entry.transferSize;\n }\n if ('encodedBodySize' in entry) {\n data['Encoded Body Size'] = entry.encodedBodySize;\n }\n if ('decodedBodySize' in entry) {\n data['Decoded Body Size'] = entry.decodedBodySize;\n }\n\n const startTimestamp = timeOrigin + startTime;\n const endTimestamp = startTimestamp + duration;\n\n _startChild(transaction, {\n description: resourceName,\n endTimestamp,\n op: entry.initiatorType ? `resource.${entry.initiatorType}` : 'resource',\n startTimestamp,\n data,\n });\n}\n\n/** Create performance navigation related spans */\nfunction addPerformanceNavigationTiming(\n transaction: Transaction,\n entry: Record,\n event: string,\n timeOrigin: number,\n description?: string,\n eventEnd?: string,\n): void {\n const end = eventEnd ? (entry[eventEnd] as number | undefined) : (entry[`${event}End`] as number | undefined);\n const start = entry[`${event}Start`] as number | undefined;\n if (!start || !end) {\n return;\n }\n _startChild(transaction, {\n op: 'browser',\n description: description ?? event,\n startTimestamp: timeOrigin + msToSec(start),\n endTimestamp: timeOrigin + msToSec(end),\n });\n}\n\n/** Create request and response related spans */\nfunction addRequest(transaction: Transaction, entry: Record, timeOrigin: number): void {\n _startChild(transaction, {\n op: 'browser',\n description: 'request',\n startTimestamp: timeOrigin + msToSec(entry.requestStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n\n _startChild(transaction, {\n op: 'browser',\n description: 'response',\n startTimestamp: timeOrigin + msToSec(entry.responseStart as number),\n endTimestamp: timeOrigin + msToSec(entry.responseEnd as number),\n });\n}\n\n/**\n * Helper function to start child on transactions. This function will make sure that the transaction will\n * use the start timestamp of the created child span if it is earlier than the transactions actual\n * start timestamp.\n */\nexport function _startChild(transaction: Transaction, { startTimestamp, ...ctx }: SpanContext): Span {\n if (startTimestamp && transaction.startTimestamp > startTimestamp) {\n transaction.startTimestamp = startTimestamp;\n }\n\n return transaction.startChild({\n startTimestamp,\n ...ctx,\n });\n}\n\n/**\n * Checks if a given value is a valid measurement value.\n */\nfunction isMeasurementValue(value: any): boolean {\n return typeof value === 'number' && isFinite(value);\n}\n\n/** Add LCP / CLS data to transaction to allow debugging */\nfunction tagMetricInfo(\n transaction: Transaction,\n lcpEntry: MetricsInstrumentation['_lcpEntry'],\n clsEntry: MetricsInstrumentation['_clsEntry'],\n): void {\n if (lcpEntry) {\n logger.log('[Measurements] Adding LCP Data');\n\n // Capture Properties of the LCP element that contributes to the LCP.\n\n if (lcpEntry.element) {\n transaction.setTag('lcp.element', htmlTreeAsString(lcpEntry.element));\n }\n\n if (lcpEntry.id) {\n transaction.setTag('lcp.id', lcpEntry.id);\n }\n\n if (lcpEntry.url) {\n // Trim URL to the first 200 characters.\n transaction.setTag('lcp.url', lcpEntry.url.trim().slice(0, 200));\n }\n\n transaction.setTag('lcp.size', lcpEntry.size);\n }\n\n // See: https://developer.mozilla.org/en-US/docs/Web/API/LayoutShift\n if (clsEntry && clsEntry.sources) {\n logger.log('[Measurements] Adding CLS Data');\n clsEntry.sources.forEach((source, index) =>\n transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)),\n );\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/request.d.ts b/node_modules/@sentry/tracing/esm/browser/request.d.ts new file mode 100644 index 000000000..f5cdb2b07 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/request.d.ts @@ -0,0 +1,72 @@ +import { Span } from '../span'; +export declare const DEFAULT_TRACING_ORIGINS: (string | RegExp)[]; +/** Options for Request Instrumentation */ +export interface RequestInstrumentationOptions { + /** + * List of strings / regex where the integration should create Spans out of. Additionally this will be used + * to define which outgoing requests the `sentry-trace` header will be attached to. + * + * Default: ['localhost', /^\//] {@see DEFAULT_TRACING_ORIGINS} + */ + tracingOrigins: Array; + /** + * Flag to disable patching all together for fetch requests. + * + * Default: true + */ + traceFetch: boolean; + /** + * Flag to disable patching all together for xhr requests. + * + * Default: true + */ + traceXHR: boolean; + /** + * This function will be called before creating a span for a request with the given url. + * Return false if you don't want a span for the given url. + * + * By default it uses the `tracingOrigins` options as a url match. + */ + shouldCreateSpanForRequest?(url: string): boolean; +} +/** Data returned from fetch callback */ +export interface FetchData { + args: any[]; + fetchData?: { + method: string; + url: string; + __span?: string; + }; + response?: any; + error?: unknown; + startTimestamp: number; + endTimestamp?: number; +} +/** Data returned from XHR request */ +export interface XHRData { + xhr?: { + __sentry_xhr__?: { + method: string; + url: string; + status_code: number; + data: Record; + }; + __sentry_xhr_span_id__?: string; + setRequestHeader?: (key: string, val: string) => void; + __sentry_own_request__?: boolean; + }; + startTimestamp: number; + endTimestamp?: number; +} +export declare const defaultRequestInstrumentationOptions: RequestInstrumentationOptions; +/** Registers span creators for xhr and fetch requests */ +export declare function instrumentOutgoingRequests(_options?: Partial): void; +/** + * Create and track fetch request spans + */ +export declare function fetchCallback(handlerData: FetchData, shouldCreateSpan: (url: string) => boolean, spans: Record): void; +/** + * Create and track xhr request spans + */ +export declare function xhrCallback(handlerData: XHRData, shouldCreateSpan: (url: string) => boolean, spans: Record): void; +//# sourceMappingURL=request.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/request.d.ts.map b/node_modules/@sentry/tracing/esm/browser/request.d.ts.map new file mode 100644 index 000000000..b50036a2d --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/request.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/browser/request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,eAAO,MAAM,uBAAuB,qBAAuB,CAAC;AAE5D,0CAA0C;AAC1C,MAAM,WAAW,6BAA6B;IAC5C;;;;;OAKG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEvC;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;;OAKG;IACH,0BAA0B,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACnD;AAED,wCAAwC;AACxC,MAAM,WAAW,SAAS;IAExB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,SAAS,CAAC,EAAE;QACV,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QAEZ,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IAIF,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qCAAqC;AACrC,MAAM,WAAW,OAAO;IACtB,GAAG,CAAC,EAAE;QACJ,cAAc,CAAC,EAAE;YACf,MAAM,EAAE,MAAM,CAAC;YACf,GAAG,EAAE,MAAM,CAAC;YACZ,WAAW,EAAE,MAAM,CAAC;YAEpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;SAC3B,CAAC;QACF,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QACtD,sBAAsB,CAAC,EAAE,OAAO,CAAC;KAClC,CAAC;IACF,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,oCAAoC,EAAE,6BAIlD,CAAC;AAEF,0DAA0D;AAC1D,wBAAgB,0BAA0B,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,IAAI,CA4ClG;AAED;;GAEG;AACH,wBAAgB,aAAa,CAC3B,WAAW,EAAE,SAAS,EACtB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,EAC1C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAC1B,IAAI,CA8DN;AAED;;GAEG;AACH,wBAAgB,WAAW,CACzB,WAAW,EAAE,OAAO,EACpB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,EAC1C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAC1B,IAAI,CAoDN"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/request.js b/node_modules/@sentry/tracing/esm/browser/request.js new file mode 100644 index 000000000..6dea3e235 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/request.js @@ -0,0 +1,153 @@ +import { __assign, __read, __spread } from "tslib"; +import { addInstrumentationHandler, isInstanceOf, isMatchingPattern } from '@sentry/utils'; +import { getActiveTransaction, hasTracingEnabled } from '../utils'; +export var DEFAULT_TRACING_ORIGINS = ['localhost', /^\//]; +export var defaultRequestInstrumentationOptions = { + traceFetch: true, + traceXHR: true, + tracingOrigins: DEFAULT_TRACING_ORIGINS, +}; +/** Registers span creators for xhr and fetch requests */ +export function instrumentOutgoingRequests(_options) { + // eslint-disable-next-line @typescript-eslint/unbound-method + var _a = __assign(__assign({}, defaultRequestInstrumentationOptions), _options), traceFetch = _a.traceFetch, traceXHR = _a.traceXHR, tracingOrigins = _a.tracingOrigins, shouldCreateSpanForRequest = _a.shouldCreateSpanForRequest; + // We should cache url -> decision so that we don't have to compute + // regexp everytime we create a request. + var urlMap = {}; + var defaultShouldCreateSpan = function (url) { + if (urlMap[url]) { + return urlMap[url]; + } + var origins = tracingOrigins; + urlMap[url] = + origins.some(function (origin) { return isMatchingPattern(url, origin); }) && + !isMatchingPattern(url, 'sentry_key'); + return urlMap[url]; + }; + // We want that our users don't have to re-implement shouldCreateSpanForRequest themselves + // That's why we filter out already unwanted Spans from tracingOrigins + var shouldCreateSpan = defaultShouldCreateSpan; + if (typeof shouldCreateSpanForRequest === 'function') { + shouldCreateSpan = function (url) { + return defaultShouldCreateSpan(url) && shouldCreateSpanForRequest(url); + }; + } + var spans = {}; + if (traceFetch) { + addInstrumentationHandler('fetch', function (handlerData) { + fetchCallback(handlerData, shouldCreateSpan, spans); + }); + } + if (traceXHR) { + addInstrumentationHandler('xhr', function (handlerData) { + xhrCallback(handlerData, shouldCreateSpan, spans); + }); + } +} +/** + * Create and track fetch request spans + */ +export function fetchCallback(handlerData, shouldCreateSpan, spans) { + if (!hasTracingEnabled() || !(handlerData.fetchData && shouldCreateSpan(handlerData.fetchData.url))) { + return; + } + if (handlerData.endTimestamp) { + var spanId = handlerData.fetchData.__span; + if (!spanId) + return; + var span = spans[spanId]; + if (span) { + if (handlerData.response) { + // TODO (kmclb) remove this once types PR goes through + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + span.setHttpStatus(handlerData.response.status); + } + else if (handlerData.error) { + span.setStatus('internal_error'); + } + span.finish(); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete spans[spanId]; + } + return; + } + var activeTransaction = getActiveTransaction(); + if (activeTransaction) { + var span = activeTransaction.startChild({ + data: __assign(__assign({}, handlerData.fetchData), { type: 'fetch' }), + description: handlerData.fetchData.method + " " + handlerData.fetchData.url, + op: 'http.client', + }); + handlerData.fetchData.__span = span.spanId; + spans[span.spanId] = span; + var request = (handlerData.args[0] = handlerData.args[0]); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var options = (handlerData.args[1] = handlerData.args[1] || {}); + var headers = options.headers; + if (isInstanceOf(request, Request)) { + headers = request.headers; + } + if (headers) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (typeof headers.append === 'function') { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + headers.append('sentry-trace', span.toTraceparent()); + } + else if (Array.isArray(headers)) { + headers = __spread(headers, [['sentry-trace', span.toTraceparent()]]); + } + else { + headers = __assign(__assign({}, headers), { 'sentry-trace': span.toTraceparent() }); + } + } + else { + headers = { 'sentry-trace': span.toTraceparent() }; + } + options.headers = headers; + } +} +/** + * Create and track xhr request spans + */ +export function xhrCallback(handlerData, shouldCreateSpan, spans) { + if (!hasTracingEnabled() || + (handlerData.xhr && handlerData.xhr.__sentry_own_request__) || + !(handlerData.xhr && handlerData.xhr.__sentry_xhr__ && shouldCreateSpan(handlerData.xhr.__sentry_xhr__.url))) { + return; + } + var xhr = handlerData.xhr.__sentry_xhr__; + // check first if the request has finished and is tracked by an existing span which should now end + if (handlerData.endTimestamp) { + var spanId = handlerData.xhr.__sentry_xhr_span_id__; + if (!spanId) + return; + var span = spans[spanId]; + if (span) { + span.setHttpStatus(xhr.status_code); + span.finish(); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete spans[spanId]; + } + return; + } + // if not, create a new span to track it + var activeTransaction = getActiveTransaction(); + if (activeTransaction) { + var span = activeTransaction.startChild({ + data: __assign(__assign({}, xhr.data), { type: 'xhr', method: xhr.method, url: xhr.url }), + description: xhr.method + " " + xhr.url, + op: 'http.client', + }); + handlerData.xhr.__sentry_xhr_span_id__ = span.spanId; + spans[handlerData.xhr.__sentry_xhr_span_id__] = span; + if (handlerData.xhr.setRequestHeader) { + try { + handlerData.xhr.setRequestHeader('sentry-trace', span.toTraceparent()); + } + catch (_) { + // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED. + } + } + } +} +//# sourceMappingURL=request.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/request.js.map b/node_modules/@sentry/tracing/esm/browser/request.js.map new file mode 100644 index 000000000..b8cd7dff4 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/request.js.map @@ -0,0 +1 @@ +{"version":3,"file":"request.js","sourceRoot":"","sources":["../../src/browser/request.ts"],"names":[],"mappings":"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","sourcesContent":["import { addInstrumentationHandler, isInstanceOf, isMatchingPattern } from '@sentry/utils';\n\nimport { Span } from '../span';\nimport { getActiveTransaction, hasTracingEnabled } from '../utils';\n\nexport const DEFAULT_TRACING_ORIGINS = ['localhost', /^\\//];\n\n/** Options for Request Instrumentation */\nexport interface RequestInstrumentationOptions {\n /**\n * List of strings / regex where the integration should create Spans out of. Additionally this will be used\n * to define which outgoing requests the `sentry-trace` header will be attached to.\n *\n * Default: ['localhost', /^\\//] {@see DEFAULT_TRACING_ORIGINS}\n */\n tracingOrigins: Array;\n\n /**\n * Flag to disable patching all together for fetch requests.\n *\n * Default: true\n */\n traceFetch: boolean;\n\n /**\n * Flag to disable patching all together for xhr requests.\n *\n * Default: true\n */\n traceXHR: boolean;\n\n /**\n * This function will be called before creating a span for a request with the given url.\n * Return false if you don't want a span for the given url.\n *\n * By default it uses the `tracingOrigins` options as a url match.\n */\n shouldCreateSpanForRequest?(url: string): boolean;\n}\n\n/** Data returned from fetch callback */\nexport interface FetchData {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n args: any[]; // the arguments passed to the fetch call itself\n fetchData?: {\n method: string;\n url: string;\n // span_id\n __span?: string;\n };\n\n // TODO Should this be unknown instead? If we vendor types, make it a Response\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n response?: any;\n error?: unknown;\n\n startTimestamp: number;\n endTimestamp?: number;\n}\n\n/** Data returned from XHR request */\nexport interface XHRData {\n xhr?: {\n __sentry_xhr__?: {\n method: string;\n url: string;\n status_code: number;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data: Record;\n };\n __sentry_xhr_span_id__?: string;\n setRequestHeader?: (key: string, val: string) => void;\n __sentry_own_request__?: boolean;\n };\n startTimestamp: number;\n endTimestamp?: number;\n}\n\nexport const defaultRequestInstrumentationOptions: RequestInstrumentationOptions = {\n traceFetch: true,\n traceXHR: true,\n tracingOrigins: DEFAULT_TRACING_ORIGINS,\n};\n\n/** Registers span creators for xhr and fetch requests */\nexport function instrumentOutgoingRequests(_options?: Partial): void {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const { traceFetch, traceXHR, tracingOrigins, shouldCreateSpanForRequest } = {\n ...defaultRequestInstrumentationOptions,\n ..._options,\n };\n\n // We should cache url -> decision so that we don't have to compute\n // regexp everytime we create a request.\n const urlMap: Record = {};\n\n const defaultShouldCreateSpan = (url: string): boolean => {\n if (urlMap[url]) {\n return urlMap[url];\n }\n const origins = tracingOrigins;\n urlMap[url] =\n origins.some((origin: string | RegExp) => isMatchingPattern(url, origin)) &&\n !isMatchingPattern(url, 'sentry_key');\n return urlMap[url];\n };\n\n // We want that our users don't have to re-implement shouldCreateSpanForRequest themselves\n // That's why we filter out already unwanted Spans from tracingOrigins\n let shouldCreateSpan = defaultShouldCreateSpan;\n if (typeof shouldCreateSpanForRequest === 'function') {\n shouldCreateSpan = (url: string) => {\n return defaultShouldCreateSpan(url) && shouldCreateSpanForRequest(url);\n };\n }\n\n const spans: Record = {};\n\n if (traceFetch) {\n addInstrumentationHandler('fetch', (handlerData: FetchData) => {\n fetchCallback(handlerData, shouldCreateSpan, spans);\n });\n }\n\n if (traceXHR) {\n addInstrumentationHandler('xhr', (handlerData: XHRData) => {\n xhrCallback(handlerData, shouldCreateSpan, spans);\n });\n }\n}\n\n/**\n * Create and track fetch request spans\n */\nexport function fetchCallback(\n handlerData: FetchData,\n shouldCreateSpan: (url: string) => boolean,\n spans: Record,\n): void {\n if (!hasTracingEnabled() || !(handlerData.fetchData && shouldCreateSpan(handlerData.fetchData.url))) {\n return;\n }\n\n if (handlerData.endTimestamp) {\n const spanId = handlerData.fetchData.__span;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n if (handlerData.response) {\n // TODO (kmclb) remove this once types PR goes through\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n span.setHttpStatus(handlerData.response.status);\n } else if (handlerData.error) {\n span.setStatus('internal_error');\n }\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const span = activeTransaction.startChild({\n data: {\n ...handlerData.fetchData,\n type: 'fetch',\n },\n description: `${handlerData.fetchData.method} ${handlerData.fetchData.url}`,\n op: 'http.client',\n });\n\n handlerData.fetchData.__span = span.spanId;\n spans[span.spanId] = span;\n\n const request = (handlerData.args[0] = handlerData.args[0] as string | Request);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const options = (handlerData.args[1] = (handlerData.args[1] as { [key: string]: any }) || {});\n let headers = options.headers;\n if (isInstanceOf(request, Request)) {\n headers = (request as Request).headers;\n }\n if (headers) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (typeof headers.append === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n headers.append('sentry-trace', span.toTraceparent());\n } else if (Array.isArray(headers)) {\n headers = [...headers, ['sentry-trace', span.toTraceparent()]];\n } else {\n headers = { ...headers, 'sentry-trace': span.toTraceparent() };\n }\n } else {\n headers = { 'sentry-trace': span.toTraceparent() };\n }\n options.headers = headers;\n }\n}\n\n/**\n * Create and track xhr request spans\n */\nexport function xhrCallback(\n handlerData: XHRData,\n shouldCreateSpan: (url: string) => boolean,\n spans: Record,\n): void {\n if (\n !hasTracingEnabled() ||\n (handlerData.xhr && handlerData.xhr.__sentry_own_request__) ||\n !(handlerData.xhr && handlerData.xhr.__sentry_xhr__ && shouldCreateSpan(handlerData.xhr.__sentry_xhr__.url))\n ) {\n return;\n }\n\n const xhr = handlerData.xhr.__sentry_xhr__;\n\n // check first if the request has finished and is tracked by an existing span which should now end\n if (handlerData.endTimestamp) {\n const spanId = handlerData.xhr.__sentry_xhr_span_id__;\n if (!spanId) return;\n\n const span = spans[spanId];\n if (span) {\n span.setHttpStatus(xhr.status_code);\n span.finish();\n\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete spans[spanId];\n }\n return;\n }\n\n // if not, create a new span to track it\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const span = activeTransaction.startChild({\n data: {\n ...xhr.data,\n type: 'xhr',\n method: xhr.method,\n url: xhr.url,\n },\n description: `${xhr.method} ${xhr.url}`,\n op: 'http.client',\n });\n\n handlerData.xhr.__sentry_xhr_span_id__ = span.spanId;\n spans[handlerData.xhr.__sentry_xhr_span_id__] = span;\n\n if (handlerData.xhr.setRequestHeader) {\n try {\n handlerData.xhr.setRequestHeader('sentry-trace', span.toTraceparent());\n } catch (_) {\n // Error: InvalidStateError: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.\n }\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/router.d.ts b/node_modules/@sentry/tracing/esm/browser/router.d.ts new file mode 100644 index 000000000..bdd4b086b --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/router.d.ts @@ -0,0 +1,6 @@ +import { Transaction, TransactionContext } from '@sentry/types'; +/** + * Default function implementing pageload and navigation transactions + */ +export declare function instrumentRoutingWithDefaults(customStartTransaction: (context: TransactionContext) => T | undefined, startTransactionOnPageLoad?: boolean, startTransactionOnLocationChange?: boolean): void; +//# sourceMappingURL=router.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/router.d.ts.map b/node_modules/@sentry/tracing/esm/browser/router.d.ts.map new file mode 100644 index 000000000..bbc950395 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/router.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/browser/router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAKhE;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,CAAC,SAAS,WAAW,EACjE,sBAAsB,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,CAAC,GAAG,SAAS,EACtE,0BAA0B,GAAE,OAAc,EAC1C,gCAAgC,GAAE,OAAc,GAC/C,IAAI,CAwCN"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/router.js b/node_modules/@sentry/tracing/esm/browser/router.js new file mode 100644 index 000000000..ed26cd0f5 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/router.js @@ -0,0 +1,46 @@ +import { addInstrumentationHandler, getGlobalObject, logger } from '@sentry/utils'; +var global = getGlobalObject(); +/** + * Default function implementing pageload and navigation transactions + */ +export function instrumentRoutingWithDefaults(customStartTransaction, startTransactionOnPageLoad, startTransactionOnLocationChange) { + if (startTransactionOnPageLoad === void 0) { startTransactionOnPageLoad = true; } + if (startTransactionOnLocationChange === void 0) { startTransactionOnLocationChange = true; } + if (!global || !global.location) { + logger.warn('Could not initialize routing instrumentation due to invalid location'); + return; + } + var startingUrl = global.location.href; + var activeTransaction; + if (startTransactionOnPageLoad) { + activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'pageload' }); + } + if (startTransactionOnLocationChange) { + addInstrumentationHandler('history', function (_a) { + var to = _a.to, from = _a.from; + /** + * This early return is there to account for some cases where a navigation transaction starts right after + * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't + * create an uneccessary navigation transaction. + * + * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also + * only be caused in certain development environments where the usage of a hot module reloader is causing + * errors. + */ + if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) { + startingUrl = undefined; + return; + } + if (from !== to) { + startingUrl = undefined; + if (activeTransaction) { + logger.log("[Tracing] Finishing current transaction with op: " + activeTransaction.op); + // If there's an open transaction on the scope, we need to finish it before creating an new one. + activeTransaction.finish(); + } + activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'navigation' }); + } + }); + } +} +//# sourceMappingURL=router.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/router.js.map b/node_modules/@sentry/tracing/esm/browser/router.js.map new file mode 100644 index 000000000..ee34076f8 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/router.js.map @@ -0,0 +1 @@ +{"version":3,"file":"router.js","sourceRoot":"","sources":["../../src/browser/router.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEnF,IAAM,MAAM,GAAG,eAAe,EAAU,CAAC;AAEzC;;GAEG;AACH,MAAM,UAAU,6BAA6B,CAC3C,sBAAsE,EACtE,0BAA0C,EAC1C,gCAAgD;IADhD,2CAAA,EAAA,iCAA0C;IAC1C,iDAAA,EAAA,uCAAgD;IAEhD,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;QAC/B,MAAM,CAAC,IAAI,CAAC,sEAAsE,CAAC,CAAC;QACpF,OAAO;KACR;IAED,IAAI,WAAW,GAAuB,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;IAE3D,IAAI,iBAAgC,CAAC;IACrC,IAAI,0BAA0B,EAAE;QAC9B,iBAAiB,GAAG,sBAAsB,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC;KAChG;IAED,IAAI,gCAAgC,EAAE;QACpC,yBAAyB,CAAC,SAAS,EAAE,UAAC,EAA2C;gBAAzC,UAAE,EAAE,cAAI;YAC9C;;;;;;;;eAQG;YACH,IAAI,IAAI,KAAK,SAAS,IAAI,WAAW,IAAI,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE;gBACvE,WAAW,GAAG,SAAS,CAAC;gBACxB,OAAO;aACR;YAED,IAAI,IAAI,KAAK,EAAE,EAAE;gBACf,WAAW,GAAG,SAAS,CAAC;gBACxB,IAAI,iBAAiB,EAAE;oBACrB,MAAM,CAAC,GAAG,CAAC,sDAAoD,iBAAiB,CAAC,EAAI,CAAC,CAAC;oBACvF,gGAAgG;oBAChG,iBAAiB,CAAC,MAAM,EAAE,CAAC;iBAC5B;gBACD,iBAAiB,GAAG,sBAAsB,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC;aAClG;QACH,CAAC,CAAC,CAAC;KACJ;AACH,CAAC","sourcesContent":["import { Transaction, TransactionContext } from '@sentry/types';\nimport { addInstrumentationHandler, getGlobalObject, logger } from '@sentry/utils';\n\nconst global = getGlobalObject();\n\n/**\n * Default function implementing pageload and navigation transactions\n */\nexport function instrumentRoutingWithDefaults(\n customStartTransaction: (context: TransactionContext) => T | undefined,\n startTransactionOnPageLoad: boolean = true,\n startTransactionOnLocationChange: boolean = true,\n): void {\n if (!global || !global.location) {\n logger.warn('Could not initialize routing instrumentation due to invalid location');\n return;\n }\n\n let startingUrl: string | undefined = global.location.href;\n\n let activeTransaction: T | undefined;\n if (startTransactionOnPageLoad) {\n activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'pageload' });\n }\n\n if (startTransactionOnLocationChange) {\n addInstrumentationHandler('history', ({ to, from }: { to: string; from?: string }) => {\n /**\n * This early return is there to account for some cases where a navigation transaction starts right after\n * long-running pageload. We make sure that if `from` is undefined and a valid `startingURL` exists, we don't\n * create an uneccessary navigation transaction.\n *\n * This was hard to duplicate, but this behavior stopped as soon as this fix was applied. This issue might also\n * only be caused in certain development environments where the usage of a hot module reloader is causing\n * errors.\n */\n if (from === undefined && startingUrl && startingUrl.indexOf(to) !== -1) {\n startingUrl = undefined;\n return;\n }\n\n if (from !== to) {\n startingUrl = undefined;\n if (activeTransaction) {\n logger.log(`[Tracing] Finishing current transaction with op: ${activeTransaction.op}`);\n // If there's an open transaction on the scope, we need to finish it before creating an new one.\n activeTransaction.finish();\n }\n activeTransaction = customStartTransaction({ name: global.location.pathname, op: 'navigation' });\n }\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.d.ts new file mode 100644 index 000000000..9d296d175 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.d.ts @@ -0,0 +1,14 @@ +import { ReportHandler } from './types'; +export interface LayoutShift extends PerformanceEntry { + value: number; + hadRecentInput: boolean; + sources: Array; + toJSON(): Record; +} +export interface LayoutShiftAttribution { + node?: Node; + previousRect: DOMRectReadOnly; + currentRect: DOMRectReadOnly; +} +export declare const getCLS: (onReport: ReportHandler, reportAllChanges?: boolean | undefined) => void; +//# sourceMappingURL=getCLS.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.d.ts.map new file mode 100644 index 000000000..24e376e93 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getCLS.d.ts","sourceRoot":"","sources":["../../../src/browser/web-vitals/getCLS.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACvC,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,YAAY,EAAE,eAAe,CAAC;IAC9B,WAAW,EAAE,eAAe,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,2EAmDlB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.js new file mode 100644 index 000000000..0b299d92c --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.js @@ -0,0 +1,65 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { bindReporter } from './lib/bindReporter'; +import { initMetric } from './lib/initMetric'; +import { observe } from './lib/observe'; +import { onHidden } from './lib/onHidden'; +export var getCLS = function (onReport, reportAllChanges) { + var metric = initMetric('CLS', 0); + var report; + var sessionValue = 0; + var sessionEntries = []; + var entryHandler = function (entry) { + // Only count layout shifts without recent user input. + // TODO: Figure out why entry can be undefined + if (entry && !entry.hadRecentInput) { + var firstSessionEntry = sessionEntries[0]; + var lastSessionEntry = sessionEntries[sessionEntries.length - 1]; + // If the entry occurred less than 1 second after the previous entry and + // less than 5 seconds after the first entry in the session, include the + // entry in the current session. Otherwise, start a new session. + if (sessionValue && + sessionEntries.length !== 0 && + entry.startTime - lastSessionEntry.startTime < 1000 && + entry.startTime - firstSessionEntry.startTime < 5000) { + sessionValue += entry.value; + sessionEntries.push(entry); + } + else { + sessionValue = entry.value; + sessionEntries = [entry]; + } + // If the current session value is larger than the current CLS value, + // update CLS and the entries contributing to it. + if (sessionValue > metric.value) { + metric.value = sessionValue; + metric.entries = sessionEntries; + if (report) { + report(); + } + } + } + }; + var po = observe('layout-shift', entryHandler); + if (po) { + report = bindReporter(onReport, metric, reportAllChanges); + onHidden(function () { + po.takeRecords().map(entryHandler); + report(true); + }); + } +}; +//# sourceMappingURL=getCLS.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.js.map new file mode 100644 index 000000000..83301bbb2 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getCLS.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getCLS.js","sourceRoot":"","sources":["../../../src/browser/web-vitals/getCLS.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAA2B,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAiB1C,MAAM,CAAC,IAAM,MAAM,GAAG,UAAC,QAAuB,EAAE,gBAA0B;IACxE,IAAM,MAAM,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACpC,IAAI,MAAuC,CAAC;IAE5C,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,IAAI,cAAc,GAAuB,EAAE,CAAC;IAE5C,IAAM,YAAY,GAAG,UAAC,KAAkB;QACtC,sDAAsD;QACtD,8CAA8C;QAC9C,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE;YAClC,IAAM,iBAAiB,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;YAC5C,IAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YAEnE,wEAAwE;YACxE,wEAAwE;YACxE,gEAAgE;YAChE,IACE,YAAY;gBACZ,cAAc,CAAC,MAAM,KAAK,CAAC;gBAC3B,KAAK,CAAC,SAAS,GAAG,gBAAgB,CAAC,SAAS,GAAG,IAAI;gBACnD,KAAK,CAAC,SAAS,GAAG,iBAAiB,CAAC,SAAS,GAAG,IAAI,EACpD;gBACA,YAAY,IAAI,KAAK,CAAC,KAAK,CAAC;gBAC5B,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aAC5B;iBAAM;gBACL,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC;gBAC3B,cAAc,GAAG,CAAC,KAAK,CAAC,CAAC;aAC1B;YAED,qEAAqE;YACrE,iDAAiD;YACjD,IAAI,YAAY,GAAG,MAAM,CAAC,KAAK,EAAE;gBAC/B,MAAM,CAAC,KAAK,GAAG,YAAY,CAAC;gBAC5B,MAAM,CAAC,OAAO,GAAG,cAAc,CAAC;gBAChC,IAAI,MAAM,EAAE;oBACV,MAAM,EAAE,CAAC;iBACV;aACF;SACF;IACH,CAAC,CAAC;IAEF,IAAM,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,YAAuC,CAAC,CAAC;IAC5E,IAAI,EAAE,EAAE;QACN,MAAM,GAAG,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAE1D,QAAQ,CAAC;YACP,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,YAAuC,CAAC,CAAC;YAC9D,MAAM,CAAC,IAAI,CAAC,CAAC;QACf,CAAC,CAAC,CAAC;KACJ;AACH,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { ReportHandler } from './types';\n\n// https://wicg.github.io/layout-instability/#sec-layout-shift\nexport interface LayoutShift extends PerformanceEntry {\n value: number;\n hadRecentInput: boolean;\n sources: Array;\n toJSON(): Record;\n}\n\nexport interface LayoutShiftAttribution {\n node?: Node;\n previousRect: DOMRectReadOnly;\n currentRect: DOMRectReadOnly;\n}\n\nexport const getCLS = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const metric = initMetric('CLS', 0);\n let report: ReturnType;\n\n let sessionValue = 0;\n let sessionEntries: PerformanceEntry[] = [];\n\n const entryHandler = (entry: LayoutShift): void => {\n // Only count layout shifts without recent user input.\n // TODO: Figure out why entry can be undefined\n if (entry && !entry.hadRecentInput) {\n const firstSessionEntry = sessionEntries[0];\n const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n\n // If the entry occurred less than 1 second after the previous entry and\n // less than 5 seconds after the first entry in the session, include the\n // entry in the current session. Otherwise, start a new session.\n if (\n sessionValue &&\n sessionEntries.length !== 0 &&\n entry.startTime - lastSessionEntry.startTime < 1000 &&\n entry.startTime - firstSessionEntry.startTime < 5000\n ) {\n sessionValue += entry.value;\n sessionEntries.push(entry);\n } else {\n sessionValue = entry.value;\n sessionEntries = [entry];\n }\n\n // If the current session value is larger than the current CLS value,\n // update CLS and the entries contributing to it.\n if (sessionValue > metric.value) {\n metric.value = sessionValue;\n metric.entries = sessionEntries;\n if (report) {\n report();\n }\n }\n }\n };\n\n const po = observe('layout-shift', entryHandler as PerformanceEntryHandler);\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n\n onHidden(() => {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n report(true);\n });\n }\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.d.ts new file mode 100644 index 000000000..3ffc414b2 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.d.ts @@ -0,0 +1,3 @@ +import { ReportHandler } from './types'; +export declare const getFID: (onReport: ReportHandler, reportAllChanges?: boolean | undefined) => void; +//# sourceMappingURL=getFID.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.d.ts.map new file mode 100644 index 000000000..0be9ce2ac --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getFID.d.ts","sourceRoot":"","sources":["../../../src/browser/web-vitals/getFID.ts"],"names":[],"mappings":"AAqBA,OAAO,EAA0B,aAAa,EAAE,MAAM,SAAS,CAAC;AAEhE,eAAO,MAAM,MAAM,2EAsBlB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.js new file mode 100644 index 000000000..ceffe0336 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.js @@ -0,0 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { bindReporter } from './lib/bindReporter'; +import { getVisibilityWatcher } from './lib/getVisibilityWatcher'; +import { initMetric } from './lib/initMetric'; +import { observe } from './lib/observe'; +import { onHidden } from './lib/onHidden'; +export var getFID = function (onReport, reportAllChanges) { + var visibilityWatcher = getVisibilityWatcher(); + var metric = initMetric('FID'); + var report; + var entryHandler = function (entry) { + // Only report if the page wasn't hidden prior to the first input. + if (report && entry.startTime < visibilityWatcher.firstHiddenTime) { + metric.value = entry.processingStart - entry.startTime; + metric.entries.push(entry); + report(true); + } + }; + var po = observe('first-input', entryHandler); + if (po) { + report = bindReporter(onReport, metric, reportAllChanges); + onHidden(function () { + po.takeRecords().map(entryHandler); + po.disconnect(); + }, true); + } +}; +//# sourceMappingURL=getFID.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.js.map new file mode 100644 index 000000000..d7772765d --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getFID.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getFID.js","sourceRoot":"","sources":["../../../src/browser/web-vitals/getFID.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAA2B,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,IAAM,MAAM,GAAG,UAAC,QAAuB,EAAE,gBAA0B;IACxE,IAAM,iBAAiB,GAAG,oBAAoB,EAAE,CAAC;IACjD,IAAM,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,MAAuC,CAAC;IAE5C,IAAM,YAAY,GAAG,UAAC,KAA6B;QACjD,kEAAkE;QAClE,IAAI,MAAM,IAAI,KAAK,CAAC,SAAS,GAAG,iBAAiB,CAAC,eAAe,EAAE;YACjE,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC,SAAS,CAAC;YACvD,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC3B,MAAM,CAAC,IAAI,CAAC,CAAC;SACd;IACH,CAAC,CAAC;IAEF,IAAM,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,YAAuC,CAAC,CAAC;IAC3E,IAAI,EAAE,EAAE;QACN,MAAM,GAAG,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAC1D,QAAQ,CAAC;YACP,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,YAAuC,CAAC,CAAC;YAC9D,EAAE,CAAC,UAAU,EAAE,CAAC;QAClB,CAAC,EAAE,IAAI,CAAC,CAAC;KACV;AACH,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { PerformanceEventTiming, ReportHandler } from './types';\n\nexport const getFID = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('FID');\n let report: ReturnType;\n\n const entryHandler = (entry: PerformanceEventTiming): void => {\n // Only report if the page wasn't hidden prior to the first input.\n if (report && entry.startTime < visibilityWatcher.firstHiddenTime) {\n metric.value = entry.processingStart - entry.startTime;\n metric.entries.push(entry);\n report(true);\n }\n };\n\n const po = observe('first-input', entryHandler as PerformanceEntryHandler);\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n onHidden(() => {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n po.disconnect();\n }, true);\n }\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.d.ts new file mode 100644 index 000000000..571d4d274 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.d.ts @@ -0,0 +1,12 @@ +import { ReportHandler } from './types'; +export interface LargestContentfulPaint extends PerformanceEntry { + renderTime: DOMHighResTimeStamp; + loadTime: DOMHighResTimeStamp; + size: number; + id: string; + url: string; + element?: Element; + toJSON(): Record; +} +export declare const getLCP: (onReport: ReportHandler, reportAllChanges?: boolean | undefined) => void; +//# sourceMappingURL=getLCP.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.d.ts.map new file mode 100644 index 000000000..ae6f10b8f --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getLCP.d.ts","sourceRoot":"","sources":["../../../src/browser/web-vitals/getLCP.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,UAAU,EAAE,mBAAmB,CAAC;IAChC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC;AAID,eAAO,MAAM,MAAM,2EA6ClB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.js new file mode 100644 index 000000000..b76df1c9f --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.js @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { bindReporter } from './lib/bindReporter'; +import { getVisibilityWatcher } from './lib/getVisibilityWatcher'; +import { initMetric } from './lib/initMetric'; +import { observe } from './lib/observe'; +import { onHidden } from './lib/onHidden'; +var reportedMetricIDs = {}; +export var getLCP = function (onReport, reportAllChanges) { + var visibilityWatcher = getVisibilityWatcher(); + var metric = initMetric('LCP'); + var report; + var entryHandler = function (entry) { + // The startTime attribute returns the value of the renderTime if it is not 0, + // and the value of the loadTime otherwise. + var value = entry.startTime; + // If the page was hidden prior to paint time of the entry, + // ignore it and mark the metric as final, otherwise add the entry. + if (value < visibilityWatcher.firstHiddenTime) { + metric.value = value; + metric.entries.push(entry); + } + if (report) { + report(); + } + }; + var po = observe('largest-contentful-paint', entryHandler); + if (po) { + report = bindReporter(onReport, metric, reportAllChanges); + var stopListening_1 = function () { + if (!reportedMetricIDs[metric.id]) { + po.takeRecords().map(entryHandler); + po.disconnect(); + reportedMetricIDs[metric.id] = true; + report(true); + } + }; + // Stop listening after input. Note: while scrolling is an input that + // stop LCP observation, it's unreliable since it can be programmatically + // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75 + ['keydown', 'click'].forEach(function (type) { + addEventListener(type, stopListening_1, { once: true, capture: true }); + }); + onHidden(stopListening_1, true); + } +}; +//# sourceMappingURL=getLCP.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.js.map new file mode 100644 index 000000000..bc11776b0 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/getLCP.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getLCP.js","sourceRoot":"","sources":["../../../src/browser/web-vitals/getLCP.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAA2B,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAc1C,IAAM,iBAAiB,GAA4B,EAAE,CAAC;AAEtD,MAAM,CAAC,IAAM,MAAM,GAAG,UAAC,QAAuB,EAAE,gBAA0B;IACxE,IAAM,iBAAiB,GAAG,oBAAoB,EAAE,CAAC;IACjD,IAAM,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,MAAuC,CAAC;IAE5C,IAAM,YAAY,GAAG,UAAC,KAAuB;QAC3C,8EAA8E;QAC9E,2CAA2C;QAC3C,IAAM,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC;QAE9B,2DAA2D;QAC3D,mEAAmE;QACnE,IAAI,KAAK,GAAG,iBAAiB,CAAC,eAAe,EAAE;YAC7C,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;YACrB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC5B;QAED,IAAI,MAAM,EAAE;YACV,MAAM,EAAE,CAAC;SACV;IACH,CAAC,CAAC;IAEF,IAAM,EAAE,GAAG,OAAO,CAAC,0BAA0B,EAAE,YAAY,CAAC,CAAC;IAE7D,IAAI,EAAE,EAAE;QACN,MAAM,GAAG,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;QAE1D,IAAM,eAAa,GAAG;YACpB,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;gBACjC,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,YAAuC,CAAC,CAAC;gBAC9D,EAAE,CAAC,UAAU,EAAE,CAAC;gBAChB,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;gBACpC,MAAM,CAAC,IAAI,CAAC,CAAC;aACd;QACH,CAAC,CAAC;QAEF,qEAAqE;QACrE,yEAAyE;QACzE,uEAAuE;QACvE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,UAAA,IAAI;YAC/B,gBAAgB,CAAC,IAAI,EAAE,eAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QACvE,CAAC,CAAC,CAAC;QAEH,QAAQ,CAAC,eAAa,EAAE,IAAI,CAAC,CAAC;KAC/B;AACH,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { bindReporter } from './lib/bindReporter';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher';\nimport { initMetric } from './lib/initMetric';\nimport { observe, PerformanceEntryHandler } from './lib/observe';\nimport { onHidden } from './lib/onHidden';\nimport { ReportHandler } from './types';\n\n// https://wicg.github.io/largest-contentful-paint/#sec-largest-contentful-paint-interface\nexport interface LargestContentfulPaint extends PerformanceEntry {\n renderTime: DOMHighResTimeStamp;\n loadTime: DOMHighResTimeStamp;\n size: number;\n id: string;\n url: string;\n element?: Element;\n toJSON(): Record;\n}\n\nconst reportedMetricIDs: Record = {};\n\nexport const getLCP = (onReport: ReportHandler, reportAllChanges?: boolean): void => {\n const visibilityWatcher = getVisibilityWatcher();\n const metric = initMetric('LCP');\n let report: ReturnType;\n\n const entryHandler = (entry: PerformanceEntry): void => {\n // The startTime attribute returns the value of the renderTime if it is not 0,\n // and the value of the loadTime otherwise.\n const value = entry.startTime;\n\n // If the page was hidden prior to paint time of the entry,\n // ignore it and mark the metric as final, otherwise add the entry.\n if (value < visibilityWatcher.firstHiddenTime) {\n metric.value = value;\n metric.entries.push(entry);\n }\n\n if (report) {\n report();\n }\n };\n\n const po = observe('largest-contentful-paint', entryHandler);\n\n if (po) {\n report = bindReporter(onReport, metric, reportAllChanges);\n\n const stopListening = (): void => {\n if (!reportedMetricIDs[metric.id]) {\n po.takeRecords().map(entryHandler as PerformanceEntryHandler);\n po.disconnect();\n reportedMetricIDs[metric.id] = true;\n report(true);\n }\n };\n\n // Stop listening after input. Note: while scrolling is an input that\n // stop LCP observation, it's unreliable since it can be programmatically\n // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75\n ['keydown', 'click'].forEach(type => {\n addEventListener(type, stopListening, { once: true, capture: true });\n });\n\n onHidden(stopListening, true);\n }\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.d.ts new file mode 100644 index 000000000..56d73e418 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.d.ts @@ -0,0 +1,3 @@ +import { Metric, ReportHandler } from '../types'; +export declare const bindReporter: (callback: ReportHandler, metric: Metric, reportAllChanges?: boolean | undefined) => (forceReport?: boolean | undefined) => void; +//# sourceMappingURL=bindReporter.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.d.ts.map new file mode 100644 index 000000000..fae0fffcc --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"bindReporter.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/bindReporter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,YAAY,kIAsBxB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.js new file mode 100644 index 000000000..faa3ba21a --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.js @@ -0,0 +1,34 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export var bindReporter = function (callback, metric, reportAllChanges) { + var prevValue; + return function (forceReport) { + if (metric.value >= 0) { + if (forceReport || reportAllChanges) { + metric.delta = metric.value - (prevValue || 0); + // Report the metric if there's a non-zero delta or if no previous + // value exists (which can happen in the case of the document becoming + // hidden when the metric value is 0). + // See: https://github.com/GoogleChrome/web-vitals/issues/14 + if (metric.delta || prevValue === undefined) { + prevValue = metric.value; + callback(metric); + } + } + } + }; +}; +//# sourceMappingURL=bindReporter.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.js.map new file mode 100644 index 000000000..ea01a84f8 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/bindReporter.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bindReporter.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/bindReporter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,CAAC,IAAM,YAAY,GAAG,UAC1B,QAAuB,EACvB,MAAc,EACd,gBAA0B;IAE1B,IAAI,SAAiB,CAAC;IACtB,OAAO,UAAC,WAAqB;QAC3B,IAAI,MAAM,CAAC,KAAK,IAAI,CAAC,EAAE;YACrB,IAAI,WAAW,IAAI,gBAAgB,EAAE;gBACnC,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC;gBAE/C,kEAAkE;gBAClE,sEAAsE;gBACtE,sCAAsC;gBACtC,4DAA4D;gBAC5D,IAAI,MAAM,CAAC,KAAK,IAAI,SAAS,KAAK,SAAS,EAAE;oBAC3C,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC;oBACzB,QAAQ,CAAC,MAAM,CAAC,CAAC;iBAClB;aACF;SACF;IACH,CAAC,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Metric, ReportHandler } from '../types';\n\nexport const bindReporter = (\n callback: ReportHandler,\n metric: Metric,\n reportAllChanges?: boolean,\n): ((forceReport?: boolean) => void) => {\n let prevValue: number;\n return (forceReport?: boolean) => {\n if (metric.value >= 0) {\n if (forceReport || reportAllChanges) {\n metric.delta = metric.value - (prevValue || 0);\n\n // Report the metric if there's a non-zero delta or if no previous\n // value exists (which can happen in the case of the document becoming\n // hidden when the metric value is 0).\n // See: https://github.com/GoogleChrome/web-vitals/issues/14\n if (metric.delta || prevValue === undefined) {\n prevValue = metric.value;\n callback(metric);\n }\n }\n }\n };\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.d.ts new file mode 100644 index 000000000..8fdfdecb4 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.d.ts @@ -0,0 +1,7 @@ +/** + * Performantly generate a unique, 30-char string by combining a version + * number, the current timestamp with a 13-digit number integer. + * @return {string} + */ +export declare const generateUniqueID: () => string; +//# sourceMappingURL=generateUniqueID.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.d.ts.map new file mode 100644 index 000000000..b6ae11f46 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"generateUniqueID.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/generateUniqueID.ts"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,cAE5B,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.js new file mode 100644 index 000000000..93d36cea3 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.js @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * Performantly generate a unique, 30-char string by combining a version + * number, the current timestamp with a 13-digit number integer. + * @return {string} + */ +export var generateUniqueID = function () { + return "v2-" + Date.now() + "-" + (Math.floor(Math.random() * (9e12 - 1)) + 1e12); +}; +//# sourceMappingURL=generateUniqueID.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.js.map new file mode 100644 index 000000000..106a1010d --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/generateUniqueID.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generateUniqueID.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/generateUniqueID.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH,MAAM,CAAC,IAAM,gBAAgB,GAAG;IAC9B,OAAO,QAAM,IAAI,CAAC,GAAG,EAAE,UAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAAE,CAAC;AAC7E,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Performantly generate a unique, 30-char string by combining a version\n * number, the current timestamp with a 13-digit number integer.\n * @return {string}\n */\nexport const generateUniqueID = (): string => {\n return `v2-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.d.ts new file mode 100644 index 000000000..26b92b5dc --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.d.ts @@ -0,0 +1,4 @@ +export declare const getVisibilityWatcher: () => { + readonly firstHiddenTime: number; +}; +//# sourceMappingURL=getVisibilityWatcher.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.d.ts.map new file mode 100644 index 000000000..9e97b405f --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getVisibilityWatcher.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/getVisibilityWatcher.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,oBAAoB;;CAgBhC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js new file mode 100644 index 000000000..dd7e1e48b --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js @@ -0,0 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { getGlobalObject } from '@sentry/utils'; +import { onHidden } from './onHidden'; +var firstHiddenTime = -1; +var initHiddenTime = function () { + return getGlobalObject().document.visibilityState === 'hidden' ? 0 : Infinity; +}; +var trackChanges = function () { + // Update the time if/when the document becomes hidden. + onHidden(function (_a) { + var timeStamp = _a.timeStamp; + firstHiddenTime = timeStamp; + }, true); +}; +export var getVisibilityWatcher = function () { + if (firstHiddenTime < 0) { + // If the document is hidden when this code runs, assume it was hidden + // since navigation start. This isn't a perfect heuristic, but it's the + // best we can do until an API is available to support querying past + // visibilityState. + firstHiddenTime = initHiddenTime(); + trackChanges(); + } + return { + get firstHiddenTime() { + return firstHiddenTime; + }, + }; +}; +//# sourceMappingURL=getVisibilityWatcher.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js.map new file mode 100644 index 000000000..ab1685069 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getVisibilityWatcher.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/getVisibilityWatcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,IAAI,eAAe,GAAG,CAAC,CAAC,CAAC;AAEzB,IAAM,cAAc,GAAG;IACrB,OAAO,eAAe,EAAU,CAAC,QAAQ,CAAC,eAAe,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;AACxF,CAAC,CAAC;AAEF,IAAM,YAAY,GAAG;IACnB,uDAAuD;IACvD,QAAQ,CAAC,UAAC,EAAa;YAAX,wBAAS;QACnB,eAAe,GAAG,SAAS,CAAC;IAC9B,CAAC,EAAE,IAAI,CAAC,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,oBAAoB,GAAG;IAGlC,IAAI,eAAe,GAAG,CAAC,EAAE;QACvB,sEAAsE;QACtE,uEAAuE;QACvE,oEAAoE;QACpE,mBAAmB;QACnB,eAAe,GAAG,cAAc,EAAE,CAAC;QACnC,YAAY,EAAE,CAAC;KAChB;IACD,OAAO;QACL,IAAI,eAAe;YACjB,OAAO,eAAe,CAAC;QACzB,CAAC;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalObject } from '@sentry/utils';\n\nimport { onHidden } from './onHidden';\n\nlet firstHiddenTime = -1;\n\nconst initHiddenTime = (): number => {\n return getGlobalObject().document.visibilityState === 'hidden' ? 0 : Infinity;\n};\n\nconst trackChanges = (): void => {\n // Update the time if/when the document becomes hidden.\n onHidden(({ timeStamp }) => {\n firstHiddenTime = timeStamp;\n }, true);\n};\n\nexport const getVisibilityWatcher = (): {\n readonly firstHiddenTime: number;\n} => {\n if (firstHiddenTime < 0) {\n // If the document is hidden when this code runs, assume it was hidden\n // since navigation start. This isn't a perfect heuristic, but it's the\n // best we can do until an API is available to support querying past\n // visibilityState.\n firstHiddenTime = initHiddenTime();\n trackChanges();\n }\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n },\n };\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.d.ts new file mode 100644 index 000000000..87b51aa3f --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.d.ts @@ -0,0 +1,3 @@ +import { Metric } from '../types'; +export declare const initMetric: (name: "CLS" | "FCP" | "FID" | "LCP" | "TTFB" | "UpdatedCLS", value?: number | undefined) => Metric; +//# sourceMappingURL=initMetric.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.d.ts.map new file mode 100644 index 000000000..84f96ec35 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"initMetric.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/initMetric.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,eAAO,MAAM,UAAU,qGAQtB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.js new file mode 100644 index 000000000..25b6d1a84 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.js @@ -0,0 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { generateUniqueID } from './generateUniqueID'; +export var initMetric = function (name, value) { + return { + name: name, + value: (value !== null && value !== void 0 ? value : -1), + delta: 0, + entries: [], + id: generateUniqueID(), + }; +}; +//# sourceMappingURL=initMetric.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.js.map new file mode 100644 index 000000000..d4b33b556 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/initMetric.js.map @@ -0,0 +1 @@ +{"version":3,"file":"initMetric.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/initMetric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,IAAoB,EAAE,KAAc;IAC7D,OAAO;QACL,IAAI,MAAA;QACJ,KAAK,GAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,CAAC,CAAC,CAAA;QAClB,KAAK,EAAE,CAAC;QACR,OAAO,EAAE,EAAE;QACX,EAAE,EAAE,gBAAgB,EAAE;KACvB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Metric } from '../types';\nimport { generateUniqueID } from './generateUniqueID';\n\nexport const initMetric = (name: Metric['name'], value?: number): Metric => {\n return {\n name,\n value: value ?? -1,\n delta: 0,\n entries: [],\n id: generateUniqueID(),\n };\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.d.ts new file mode 100644 index 000000000..8e73bd241 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.d.ts @@ -0,0 +1,13 @@ +export interface PerformanceEntryHandler { + (entry: PerformanceEntry): void; +} +/** + * Takes a performance entry type and a callback function, and creates a + * `PerformanceObserver` instance that will observe the specified entry type + * with buffering enabled and call the callback _for each entry_. + * + * This function also feature-detects entry support and wraps the logic in a + * try/catch to avoid errors in unsupporting browsers. + */ +export declare const observe: (type: string, callback: PerformanceEntryHandler) => PerformanceObserver | undefined; +//# sourceMappingURL=observe.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.d.ts.map new file mode 100644 index 000000000..385c3f70b --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/observe.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,uBAAuB;IACtC,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,sFAkBnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.js new file mode 100644 index 000000000..51d264327 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.js @@ -0,0 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * Takes a performance entry type and a callback function, and creates a + * `PerformanceObserver` instance that will observe the specified entry type + * with buffering enabled and call the callback _for each entry_. + * + * This function also feature-detects entry support and wraps the logic in a + * try/catch to avoid errors in unsupporting browsers. + */ +export var observe = function (type, callback) { + try { + if (PerformanceObserver.supportedEntryTypes.includes(type)) { + // More extensive feature detect needed for Firefox due to: + // https://github.com/GoogleChrome/web-vitals/issues/142 + if (type === 'first-input' && !('PerformanceEventTiming' in self)) { + return; + } + var po = new PerformanceObserver(function (l) { return l.getEntries().map(callback); }); + po.observe({ type: type, buffered: true }); + return po; + } + } + catch (e) { + // Do nothing. + } + return; +}; +//# sourceMappingURL=observe.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.js.map new file mode 100644 index 000000000..040e024c3 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/observe.js.map @@ -0,0 +1 @@ +{"version":3,"file":"observe.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/observe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH;;;;;;;GAOG;AACH,MAAM,CAAC,IAAM,OAAO,GAAG,UAAC,IAAY,EAAE,QAAiC;IACrE,IAAI;QACF,IAAI,mBAAmB,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YAC1D,2DAA2D;YAC3D,wDAAwD;YACxD,IAAI,IAAI,KAAK,aAAa,IAAI,CAAC,CAAC,wBAAwB,IAAI,IAAI,CAAC,EAAE;gBACjE,OAAO;aACR;YAED,IAAM,EAAE,GAAwB,IAAI,mBAAmB,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,UAAU,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,EAA5B,CAA4B,CAAC,CAAC;YAE3F,EAAE,CAAC,OAAO,CAAC,EAAE,IAAI,MAAA,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;YACrC,OAAO,EAAE,CAAC;SACX;KACF;IAAC,OAAO,CAAC,EAAE;QACV,cAAc;KACf;IACD,OAAO;AACT,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface PerformanceEntryHandler {\n (entry: PerformanceEntry): void;\n}\n\n/**\n * Takes a performance entry type and a callback function, and creates a\n * `PerformanceObserver` instance that will observe the specified entry type\n * with buffering enabled and call the callback _for each entry_.\n *\n * This function also feature-detects entry support and wraps the logic in a\n * try/catch to avoid errors in unsupporting browsers.\n */\nexport const observe = (type: string, callback: PerformanceEntryHandler): PerformanceObserver | undefined => {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n // More extensive feature detect needed for Firefox due to:\n // https://github.com/GoogleChrome/web-vitals/issues/142\n if (type === 'first-input' && !('PerformanceEventTiming' in self)) {\n return;\n }\n\n const po: PerformanceObserver = new PerformanceObserver(l => l.getEntries().map(callback));\n\n po.observe({ type, buffered: true });\n return po;\n }\n } catch (e) {\n // Do nothing.\n }\n return;\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.d.ts new file mode 100644 index 000000000..c2d937d8b --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.d.ts @@ -0,0 +1,5 @@ +export interface OnHiddenCallback { + (event: Event): void; +} +export declare const onHidden: (cb: OnHiddenCallback, once?: boolean | undefined) => void; +//# sourceMappingURL=onHidden.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.d.ts.map new file mode 100644 index 000000000..29b9044ef --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"onHidden.d.ts","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/onHidden.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,gBAAgB;IAC/B,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,QAAQ,4DAcpB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.js new file mode 100644 index 000000000..cbb9dd6af --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.js @@ -0,0 +1,32 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { getGlobalObject } from '@sentry/utils'; +export var onHidden = function (cb, once) { + var onHiddenOrPageHide = function (event) { + if (event.type === 'pagehide' || getGlobalObject().document.visibilityState === 'hidden') { + cb(event); + if (once) { + removeEventListener('visibilitychange', onHiddenOrPageHide, true); + removeEventListener('pagehide', onHiddenOrPageHide, true); + } + } + }; + addEventListener('visibilitychange', onHiddenOrPageHide, true); + // Some browsers have buggy implementations of visibilitychange, + // so we use pagehide in addition, just to be safe. + addEventListener('pagehide', onHiddenOrPageHide, true); +}; +//# sourceMappingURL=onHidden.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.js.map new file mode 100644 index 000000000..22227ab6b --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/lib/onHidden.js.map @@ -0,0 +1 @@ +{"version":3,"file":"onHidden.js","sourceRoot":"","sources":["../../../../src/browser/web-vitals/lib/onHidden.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMhD,MAAM,CAAC,IAAM,QAAQ,GAAG,UAAC,EAAoB,EAAE,IAAc;IAC3D,IAAM,kBAAkB,GAAG,UAAC,KAAY;QACtC,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,IAAI,eAAe,EAAU,CAAC,QAAQ,CAAC,eAAe,KAAK,QAAQ,EAAE;YAChG,EAAE,CAAC,KAAK,CAAC,CAAC;YACV,IAAI,IAAI,EAAE;gBACR,mBAAmB,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;gBAClE,mBAAmB,CAAC,UAAU,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;aAC3D;SACF;IACH,CAAC,CAAC;IACF,gBAAgB,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;IAC/D,gEAAgE;IAChE,mDAAmD;IACnD,gBAAgB,CAAC,UAAU,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC;AACzD,CAAC,CAAC","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { getGlobalObject } from '@sentry/utils';\n\nexport interface OnHiddenCallback {\n (event: Event): void;\n}\n\nexport const onHidden = (cb: OnHiddenCallback, once?: boolean): void => {\n const onHiddenOrPageHide = (event: Event): void => {\n if (event.type === 'pagehide' || getGlobalObject().document.visibilityState === 'hidden') {\n cb(event);\n if (once) {\n removeEventListener('visibilitychange', onHiddenOrPageHide, true);\n removeEventListener('pagehide', onHiddenOrPageHide, true);\n }\n }\n };\n addEventListener('visibilitychange', onHiddenOrPageHide, true);\n // Some browsers have buggy implementations of visibilitychange,\n // so we use pagehide in addition, just to be safe.\n addEventListener('pagehide', onHiddenOrPageHide, true);\n};\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/types.d.ts b/node_modules/@sentry/tracing/esm/browser/web-vitals/types.d.ts new file mode 100644 index 000000000..3740b6faa --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/types.d.ts @@ -0,0 +1,54 @@ +export interface Metric { + name: 'CLS' | 'FCP' | 'FID' | 'LCP' | 'TTFB' | 'UpdatedCLS'; + value: number; + delta: number; + id: string; + entries: (PerformanceEntry | FirstInputPolyfillEntry | NavigationTimingPolyfillEntry)[]; +} +export interface ReportHandler { + (metric: Metric): void; +} +export interface PerformanceEventTiming extends PerformanceEntry { + processingStart: DOMHighResTimeStamp; + processingEnd: DOMHighResTimeStamp; + duration: DOMHighResTimeStamp; + cancelable?: boolean; + target?: Element; +} +export declare type FirstInputPolyfillEntry = Omit; +export interface FirstInputPolyfillCallback { + (entry: FirstInputPolyfillEntry): void; +} +export interface NavigatorNetworkInformation { + readonly connection?: NetworkInformation; +} +declare type ConnectionType = 'bluetooth' | 'cellular' | 'ethernet' | 'mixed' | 'none' | 'other' | 'unknown' | 'wifi' | 'wimax'; +declare type EffectiveConnectionType = '2g' | '3g' | '4g' | 'slow-2g'; +declare type Megabit = number; +declare type Millisecond = number; +interface NetworkInformation extends EventTarget { + readonly type?: ConnectionType; + readonly effectiveType?: EffectiveConnectionType; + readonly downlinkMax?: Megabit; + readonly downlink?: Megabit; + readonly rtt?: Millisecond; + readonly saveData?: boolean; + onchange?: EventListener; +} +export interface NavigatorDeviceMemory { + readonly deviceMemory?: number; +} +export declare type NavigationTimingPolyfillEntry = Omit; +export interface WebVitalsGlobal { + firstInputPolyfill: (onFirstInput: FirstInputPolyfillCallback) => void; + resetFirstInputPolyfill: () => void; + firstHiddenTime: number; +} +declare global { + interface Window { + webVitals: WebVitalsGlobal; + __WEB_VITALS_POLYFILL__: boolean; + } +} +export {}; +//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/types.d.ts.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/types.d.ts.map new file mode 100644 index 000000000..7bcc43bbf --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/types.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/browser/web-vitals/types.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,MAAM;IAErB,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,YAAY,CAAC;IAG5D,KAAK,EAAE,MAAM,CAAC;IAId,KAAK,EAAE,MAAM,CAAC;IASd,EAAE,EAAE,MAAM,CAAC;IAIX,OAAO,EAAE,CAAC,gBAAgB,GAAG,uBAAuB,GAAG,6BAA6B,CAAC,EAAE,CAAC;CACzF;AAED,MAAM,WAAW,aAAa;IAC5B,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAGD,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,eAAe,EAAE,mBAAmB,CAAC;IACrC,aAAa,EAAE,mBAAmB,CAAC;IACnC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,oBAAY,uBAAuB,GAAG,IAAI,CAAC,sBAAsB,EAAE,eAAe,GAAG,QAAQ,CAAC,CAAC;AAE/F,MAAM,WAAW,0BAA0B;IACzC,CAAC,KAAK,EAAE,uBAAuB,GAAG,IAAI,CAAC;CACxC;AAGD,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C;AAGD,aAAK,cAAc,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;AAGxH,aAAK,uBAAuB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;AAG9D,aAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,aAAK,WAAW,GAAG,MAAM,CAAC;AAG1B,UAAU,kBAAmB,SAAQ,WAAW;IAE9C,QAAQ,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC;IAE/B,QAAQ,CAAC,aAAa,CAAC,EAAE,uBAAuB,CAAC;IAEjD,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAE/B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAE5B,QAAQ,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC;IAE3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAE5B,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AAGD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,oBAAY,6BAA6B,GAAG,IAAI,CAC9C,2BAA2B,EACzB,eAAe,GACf,iBAAiB,GACjB,eAAe,GACf,cAAc,GACd,iBAAiB,GACjB,iBAAiB,GACjB,QAAQ,CACX,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,kBAAkB,EAAE,CAAC,YAAY,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACvE,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,SAAS,EAAE,eAAe,CAAC;QAG3B,uBAAuB,EAAE,OAAO,CAAC;KAClC;CACF"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/types.js b/node_modules/@sentry/tracing/esm/browser/web-vitals/types.js new file mode 100644 index 000000000..ed9b8a2d0 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/types.js @@ -0,0 +1,16 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/browser/web-vitals/types.js.map b/node_modules/@sentry/tracing/esm/browser/web-vitals/types.js.map new file mode 100644 index 000000000..5503828a4 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/browser/web-vitals/types.js.map @@ -0,0 +1 @@ +{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/browser/web-vitals/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG","sourcesContent":["/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface Metric {\n // The name of the metric (in acronym form).\n name: 'CLS' | 'FCP' | 'FID' | 'LCP' | 'TTFB' | 'UpdatedCLS';\n\n // The current value of the metric.\n value: number;\n\n // The delta between the current value and the last-reported value.\n // On the first report, `delta` and `value` will always be the same.\n delta: number;\n\n // A unique ID representing this particular metric instance. This ID can\n // be used by an analytics tool to dedupe multiple values sent for the same\n // metric instance, or to group multiple deltas together and calculate a\n // total. It can also be used to differentiate multiple different metric\n // instances sent from the same page, which can happen if the page is\n // restored from the back/forward cache (in that case new metrics object\n // get created).\n id: string;\n\n // Any performance entries used in the metric value calculation.\n // Note, entries will be added to the array as the value changes.\n entries: (PerformanceEntry | FirstInputPolyfillEntry | NavigationTimingPolyfillEntry)[];\n}\n\nexport interface ReportHandler {\n (metric: Metric): void;\n}\n\n// https://wicg.github.io/event-timing/#sec-performance-event-timing\nexport interface PerformanceEventTiming extends PerformanceEntry {\n processingStart: DOMHighResTimeStamp;\n processingEnd: DOMHighResTimeStamp;\n duration: DOMHighResTimeStamp;\n cancelable?: boolean;\n target?: Element;\n}\n\nexport type FirstInputPolyfillEntry = Omit;\n\nexport interface FirstInputPolyfillCallback {\n (entry: FirstInputPolyfillEntry): void;\n}\n\n// http://wicg.github.io/netinfo/#navigatornetworkinformation-interface\nexport interface NavigatorNetworkInformation {\n readonly connection?: NetworkInformation;\n}\n\n// http://wicg.github.io/netinfo/#connection-types\ntype ConnectionType = 'bluetooth' | 'cellular' | 'ethernet' | 'mixed' | 'none' | 'other' | 'unknown' | 'wifi' | 'wimax';\n\n// http://wicg.github.io/netinfo/#effectiveconnectiontype-enum\ntype EffectiveConnectionType = '2g' | '3g' | '4g' | 'slow-2g';\n\n// http://wicg.github.io/netinfo/#dom-megabit\ntype Megabit = number;\n// http://wicg.github.io/netinfo/#dom-millisecond\ntype Millisecond = number;\n\n// http://wicg.github.io/netinfo/#networkinformation-interface\ninterface NetworkInformation extends EventTarget {\n // http://wicg.github.io/netinfo/#type-attribute\n readonly type?: ConnectionType;\n // http://wicg.github.io/netinfo/#effectivetype-attribute\n readonly effectiveType?: EffectiveConnectionType;\n // http://wicg.github.io/netinfo/#downlinkmax-attribute\n readonly downlinkMax?: Megabit;\n // http://wicg.github.io/netinfo/#downlink-attribute\n readonly downlink?: Megabit;\n // http://wicg.github.io/netinfo/#rtt-attribute\n readonly rtt?: Millisecond;\n // http://wicg.github.io/netinfo/#savedata-attribute\n readonly saveData?: boolean;\n // http://wicg.github.io/netinfo/#handling-changes-to-the-underlying-connection\n onchange?: EventListener;\n}\n\n// https://w3c.github.io/device-memory/#sec-device-memory-js-api\nexport interface NavigatorDeviceMemory {\n readonly deviceMemory?: number;\n}\n\nexport type NavigationTimingPolyfillEntry = Omit<\n PerformanceNavigationTiming,\n | 'initiatorType'\n | 'nextHopProtocol'\n | 'redirectCount'\n | 'transferSize'\n | 'encodedBodySize'\n | 'decodedBodySize'\n | 'toJSON'\n>;\n\nexport interface WebVitalsGlobal {\n firstInputPolyfill: (onFirstInput: FirstInputPolyfillCallback) => void;\n resetFirstInputPolyfill: () => void;\n firstHiddenTime: number;\n}\n\ndeclare global {\n interface Window {\n webVitals: WebVitalsGlobal;\n\n // Build flags:\n __WEB_VITALS_POLYFILL__: boolean;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/constants.d.ts b/node_modules/@sentry/tracing/esm/constants.d.ts new file mode 100644 index 000000000..144c733a5 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/constants.d.ts @@ -0,0 +1,3 @@ +export declare const FINISH_REASON_TAG = "finishReason"; +export declare const IDLE_TRANSACTION_FINISH_REASONS: readonly ["heartbeatFailed", "idleTimeout", "documentHidden"]; +//# sourceMappingURL=constants.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/constants.d.ts.map b/node_modules/@sentry/tracing/esm/constants.d.ts.map new file mode 100644 index 000000000..3922be862 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/constants.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD,eAAO,MAAM,+BAA+B,+DAAgE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/constants.js b/node_modules/@sentry/tracing/esm/constants.js new file mode 100644 index 000000000..4d12e49b9 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/constants.js @@ -0,0 +1,5 @@ +// Store finish reasons in tuple to save on bundle size +// Readonly type should enforce that this is not mutated. +export var FINISH_REASON_TAG = 'finishReason'; +export var IDLE_TRANSACTION_FINISH_REASONS = ['heartbeatFailed', 'idleTimeout', 'documentHidden']; +//# sourceMappingURL=constants.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/constants.js.map b/node_modules/@sentry/tracing/esm/constants.js.map new file mode 100644 index 000000000..833143509 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/constants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,yDAAyD;AACzD,MAAM,CAAC,IAAM,iBAAiB,GAAG,cAAc,CAAC;AAEhD,MAAM,CAAC,IAAM,+BAA+B,GAAG,CAAC,iBAAiB,EAAE,aAAa,EAAE,gBAAgB,CAAU,CAAC","sourcesContent":["// Store finish reasons in tuple to save on bundle size\n// Readonly type should enforce that this is not mutated.\nexport const FINISH_REASON_TAG = 'finishReason';\n\nexport const IDLE_TRANSACTION_FINISH_REASONS = ['heartbeatFailed', 'idleTimeout', 'documentHidden'] as const;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/errors.d.ts b/node_modules/@sentry/tracing/esm/errors.d.ts new file mode 100644 index 000000000..c8e31ee22 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/errors.d.ts @@ -0,0 +1,5 @@ +/** + * Configures global error listeners + */ +export declare function registerErrorInstrumentation(): void; +//# sourceMappingURL=errors.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/errors.d.ts.map b/node_modules/@sentry/tracing/esm/errors.d.ts.map new file mode 100644 index 000000000..6d6caeea9 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/errors.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CAGnD"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/errors.js b/node_modules/@sentry/tracing/esm/errors.js new file mode 100644 index 000000000..4f56aaf51 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/errors.js @@ -0,0 +1,21 @@ +import { addInstrumentationHandler, logger } from '@sentry/utils'; +import { getActiveTransaction } from './utils'; +/** + * Configures global error listeners + */ +export function registerErrorInstrumentation() { + addInstrumentationHandler('error', errorCallback); + addInstrumentationHandler('unhandledrejection', errorCallback); +} +/** + * If an error or unhandled promise occurs, we mark the active transaction as failed + */ +function errorCallback() { + var activeTransaction = getActiveTransaction(); + if (activeTransaction) { + var status_1 = 'internal_error'; + logger.log("[Tracing] Transaction: " + status_1 + " -> Global error occured"); + activeTransaction.setStatus(status_1); + } +} +//# sourceMappingURL=errors.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/errors.js.map b/node_modules/@sentry/tracing/esm/errors.js.map new file mode 100644 index 000000000..f7e5ccd09 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/errors.js.map @@ -0,0 +1 @@ +{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAGlE,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C;;GAEG;AACH,MAAM,UAAU,4BAA4B;IAC1C,yBAAyB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAClD,yBAAyB,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAAC;AACjE,CAAC;AAED;;GAEG;AACH,SAAS,aAAa;IACpB,IAAM,iBAAiB,GAAG,oBAAoB,EAAE,CAAC;IACjD,IAAI,iBAAiB,EAAE;QACrB,IAAM,QAAM,GAAmB,gBAAgB,CAAC;QAChD,MAAM,CAAC,GAAG,CAAC,4BAA0B,QAAM,6BAA0B,CAAC,CAAC;QACvE,iBAAiB,CAAC,SAAS,CAAC,QAAM,CAAC,CAAC;KACrC;AACH,CAAC","sourcesContent":["import { addInstrumentationHandler, logger } from '@sentry/utils';\n\nimport { SpanStatusType } from './span';\nimport { getActiveTransaction } from './utils';\n\n/**\n * Configures global error listeners\n */\nexport function registerErrorInstrumentation(): void {\n addInstrumentationHandler('error', errorCallback);\n addInstrumentationHandler('unhandledrejection', errorCallback);\n}\n\n/**\n * If an error or unhandled promise occurs, we mark the active transaction as failed\n */\nfunction errorCallback(): void {\n const activeTransaction = getActiveTransaction();\n if (activeTransaction) {\n const status: SpanStatusType = 'internal_error';\n logger.log(`[Tracing] Transaction: ${status} -> Global error occured`);\n activeTransaction.setStatus(status);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/hubextensions.d.ts b/node_modules/@sentry/tracing/esm/hubextensions.d.ts new file mode 100644 index 000000000..c29250054 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/hubextensions.d.ts @@ -0,0 +1,16 @@ +import { Hub } from '@sentry/hub'; +import { CustomSamplingContext, TransactionContext } from '@sentry/types'; +import { IdleTransaction } from './idletransaction'; +/** + * Create new idle transaction. + */ +export declare function startIdleTransaction(hub: Hub, transactionContext: TransactionContext, idleTimeout?: number, onScope?: boolean, customSamplingContext?: CustomSamplingContext): IdleTransaction; +/** + * @private + */ +export declare function _addTracingExtensions(): void; +/** + * This patches the global object and injects the Tracing extensions methods + */ +export declare function addExtensionMethods(): void; +//# sourceMappingURL=hubextensions.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/hubextensions.d.ts.map b/node_modules/@sentry/tracing/esm/hubextensions.d.ts.map new file mode 100644 index 000000000..53376f844 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/hubextensions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hubextensions.d.ts","sourceRoot":"","sources":["../src/hubextensions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,GAAG,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACL,qBAAqB,EAKrB,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AA0KpD;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,GAAG,EACR,kBAAkB,EAAE,kBAAkB,EACtC,WAAW,CAAC,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,OAAO,EACjB,qBAAqB,CAAC,EAAE,qBAAqB,GAC5C,eAAe,CAcjB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAY5C;AAsDD;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAU1C"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/hubextensions.js b/node_modules/@sentry/tracing/esm/hubextensions.js new file mode 100644 index 000000000..61b5b4f67 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/hubextensions.js @@ -0,0 +1,225 @@ +import { __assign, __read, __spread } from "tslib"; +import { getMainCarrier } from '@sentry/hub'; +import { dynamicRequire, isNodeEnv, loadModule, logger } from '@sentry/utils'; +import { registerErrorInstrumentation } from './errors'; +import { IdleTransaction } from './idletransaction'; +import { Transaction } from './transaction'; +import { hasTracingEnabled } from './utils'; +/** Returns all trace headers that are currently on the top scope. */ +function traceHeaders() { + var scope = this.getScope(); + if (scope) { + var span = scope.getSpan(); + if (span) { + return { + 'sentry-trace': span.toTraceparent(), + }; + } + } + return {}; +} +/** + * Makes a sampling decision for the given transaction and stores it on the transaction. + * + * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be + * sent to Sentry. + * + * @param transaction: The transaction needing a sampling decision + * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler` + * @param samplingContext: Default and user-provided data which may be used to help make the decision + * + * @returns The given transaction with its `sampled` value set + */ +function sample(transaction, options, samplingContext) { + // nothing to do if tracing is not enabled + if (!hasTracingEnabled(options)) { + transaction.sampled = false; + return transaction; + } + // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that + if (transaction.sampled !== undefined) { + transaction.setMetadata({ + transactionSampling: { method: 'explicitly_set' }, + }); + return transaction; + } + // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` were defined, so one of these should + // work; prefer the hook if so + var sampleRate; + if (typeof options.tracesSampler === 'function') { + sampleRate = options.tracesSampler(samplingContext); + transaction.setMetadata({ + transactionSampling: { + method: 'client_sampler', + // cast to number in case it's a boolean + rate: Number(sampleRate), + }, + }); + } + else if (samplingContext.parentSampled !== undefined) { + sampleRate = samplingContext.parentSampled; + transaction.setMetadata({ + transactionSampling: { method: 'inheritance' }, + }); + } + else { + sampleRate = options.tracesSampleRate; + transaction.setMetadata({ + transactionSampling: { + method: 'client_rate', + // cast to number in case it's a boolean + rate: Number(sampleRate), + }, + }); + } + // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The + // only valid values are booleans or numbers between 0 and 1.) + if (!isValidSampleRate(sampleRate)) { + logger.warn("[Tracing] Discarding transaction because of invalid sample rate."); + transaction.sampled = false; + return transaction; + } + // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped + if (!sampleRate) { + logger.log("[Tracing] Discarding transaction because " + (typeof options.tracesSampler === 'function' + ? 'tracesSampler returned 0 or false' + : 'a negative sampling decision was inherited or tracesSampleRate is set to 0')); + transaction.sampled = false; + return transaction; + } + // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is + // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false. + transaction.sampled = Math.random() < sampleRate; + // if we're not going to keep it, we're done + if (!transaction.sampled) { + logger.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = " + Number(sampleRate) + ")"); + return transaction; + } + logger.log("[Tracing] starting " + transaction.op + " transaction - " + transaction.name); + return transaction; +} +/** + * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1). + */ +function isValidSampleRate(rate) { + // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck + // eslint-disable-next-line @typescript-eslint/no-explicit-any + if (isNaN(rate) || !(typeof rate === 'number' || typeof rate === 'boolean')) { + logger.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got " + JSON.stringify(rate) + " of type " + JSON.stringify(typeof rate) + "."); + return false; + } + // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false + if (rate < 0 || rate > 1) { + logger.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got " + rate + "."); + return false; + } + return true; +} +/** + * Creates a new transaction and adds a sampling decision if it doesn't yet have one. + * + * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if + * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an + * "extension method." + * + * @param this: The Hub starting the transaction + * @param transactionContext: Data used to configure the transaction + * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any) + * + * @returns The new transaction + * + * @see {@link Hub.startTransaction} + */ +function _startTransaction(transactionContext, customSamplingContext) { + var client = this.getClient(); + var options = (client && client.getOptions()) || {}; + var transaction = new Transaction(transactionContext, this); + transaction = sample(transaction, options, __assign({ parentSampled: transactionContext.parentSampled, transactionContext: transactionContext }, customSamplingContext)); + if (transaction.sampled) { + transaction.initSpanRecorder(options._experiments && options._experiments.maxSpans); + } + return transaction; +} +/** + * Create new idle transaction. + */ +export function startIdleTransaction(hub, transactionContext, idleTimeout, onScope, customSamplingContext) { + var client = hub.getClient(); + var options = (client && client.getOptions()) || {}; + var transaction = new IdleTransaction(transactionContext, hub, idleTimeout, onScope); + transaction = sample(transaction, options, __assign({ parentSampled: transactionContext.parentSampled, transactionContext: transactionContext }, customSamplingContext)); + if (transaction.sampled) { + transaction.initSpanRecorder(options._experiments && options._experiments.maxSpans); + } + return transaction; +} +/** + * @private + */ +export function _addTracingExtensions() { + var carrier = getMainCarrier(); + if (!carrier.__SENTRY__) { + return; + } + carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {}; + if (!carrier.__SENTRY__.extensions.startTransaction) { + carrier.__SENTRY__.extensions.startTransaction = _startTransaction; + } + if (!carrier.__SENTRY__.extensions.traceHeaders) { + carrier.__SENTRY__.extensions.traceHeaders = traceHeaders; + } +} +/** + * @private + */ +function _autoloadDatabaseIntegrations() { + var carrier = getMainCarrier(); + if (!carrier.__SENTRY__) { + return; + } + var packageToIntegrationMapping = { + mongodb: function () { + var integration = dynamicRequire(module, './integrations/node/mongo'); + return new integration.Mongo(); + }, + mongoose: function () { + var integration = dynamicRequire(module, './integrations/node/mongo'); + return new integration.Mongo({ mongoose: true }); + }, + mysql: function () { + var integration = dynamicRequire(module, './integrations/node/mysql'); + return new integration.Mysql(); + }, + pg: function () { + var integration = dynamicRequire(module, './integrations/node/postgres'); + return new integration.Postgres(); + }, + }; + var mappedPackages = Object.keys(packageToIntegrationMapping) + .filter(function (moduleName) { return !!loadModule(moduleName); }) + .map(function (pkg) { + try { + return packageToIntegrationMapping[pkg](); + } + catch (e) { + return undefined; + } + }) + .filter(function (p) { return p; }); + if (mappedPackages.length > 0) { + carrier.__SENTRY__.integrations = __spread((carrier.__SENTRY__.integrations || []), mappedPackages); + } +} +/** + * This patches the global object and injects the Tracing extensions methods + */ +export function addExtensionMethods() { + _addTracingExtensions(); + // Detect and automatically load specified integrations. + if (isNodeEnv()) { + _autoloadDatabaseIntegrations(); + } + // If an error happens globally, we should make sure transaction status is set to error. + registerErrorInstrumentation(); +} +//# sourceMappingURL=hubextensions.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/hubextensions.js.map b/node_modules/@sentry/tracing/esm/hubextensions.js.map new file mode 100644 index 000000000..c03434801 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/hubextensions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"hubextensions.js","sourceRoot":"","sources":["../src/hubextensions.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAO,MAAM,aAAa,CAAC;AASlD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,qEAAqE;AACrE,SAAS,YAAY;IACnB,IAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;IAC9B,IAAI,KAAK,EAAE;QACT,IAAM,IAAI,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC;QAC7B,IAAI,IAAI,EAAE;YACR,OAAO;gBACL,cAAc,EAAE,IAAI,CAAC,aAAa,EAAE;aACrC,CAAC;SACH;KACF;IACD,OAAO,EAAE,CAAC;AACZ,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAS,MAAM,CAAwB,WAAc,EAAE,OAAgB,EAAE,eAAgC;IACvG,0CAA0C;IAC1C,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE;QAC/B,WAAW,CAAC,OAAO,GAAG,KAAK,CAAC;QAC5B,OAAO,WAAW,CAAC;KACpB;IAED,qHAAqH;IACrH,IAAI,WAAW,CAAC,OAAO,KAAK,SAAS,EAAE;QACrC,WAAW,CAAC,WAAW,CAAC;YACtB,mBAAmB,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE;SAClD,CAAC,CAAC;QACH,OAAO,WAAW,CAAC;KACpB;IAED,sHAAsH;IACtH,8BAA8B;IAC9B,IAAI,UAAU,CAAC;IACf,IAAI,OAAO,OAAO,CAAC,aAAa,KAAK,UAAU,EAAE;QAC/C,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;QACpD,WAAW,CAAC,WAAW,CAAC;YACtB,mBAAmB,EAAE;gBACnB,MAAM,EAAE,gBAAgB;gBACxB,wCAAwC;gBACxC,IAAI,EAAE,MAAM,CAAC,UAAU,CAAC;aACzB;SACF,CAAC,CAAC;KACJ;SAAM,IAAI,eAAe,CAAC,aAAa,KAAK,SAAS,EAAE;QACtD,UAAU,GAAG,eAAe,CAAC,aAAa,CAAC;QAC3C,WAAW,CAAC,WAAW,CAAC;YACtB,mBAAmB,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE;SAC/C,CAAC,CAAC;KACJ;SAAM;QACL,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC;QACtC,WAAW,CAAC,WAAW,CAAC;YACtB,mBAAmB,EAAE;gBACnB,MAAM,EAAE,aAAa;gBACrB,wCAAwC;gBACxC,IAAI,EAAE,MAAM,CAAC,UAAU,CAAC;aACzB;SACF,CAAC,CAAC;KACJ;IAED,kHAAkH;IAClH,8DAA8D;IAC9D,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE;QAClC,MAAM,CAAC,IAAI,CAAC,kEAAkE,CAAC,CAAC;QAChF,WAAW,CAAC,OAAO,GAAG,KAAK,CAAC;QAC5B,OAAO,WAAW,CAAC;KACpB;IAED,sHAAsH;IACtH,IAAI,CAAC,UAAU,EAAE;QACf,MAAM,CAAC,GAAG,CACR,+CACE,OAAO,OAAO,CAAC,aAAa,KAAK,UAAU;YACzC,CAAC,CAAC,mCAAmC;YACrC,CAAC,CAAC,4EAA4E,CAChF,CACH,CAAC;QACF,WAAW,CAAC,OAAO,GAAG,KAAK,CAAC;QAC5B,OAAO,WAAW,CAAC;KACpB;IAED,qHAAqH;IACrH,4GAA4G;IAC5G,WAAW,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,EAAE,GAAI,UAA+B,CAAC;IAEvE,4CAA4C;IAC5C,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE;QACxB,MAAM,CAAC,GAAG,CACR,sGAAoG,MAAM,CACxG,UAAU,CACX,MAAG,CACL,CAAC;QACF,OAAO,WAAW,CAAC;KACpB;IAED,MAAM,CAAC,GAAG,CAAC,wBAAsB,WAAW,CAAC,EAAE,uBAAkB,WAAW,CAAC,IAAM,CAAC,CAAC;IACrF,OAAO,WAAW,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,oHAAoH;IACpH,8DAA8D;IAC9D,IAAI,KAAK,CAAC,IAAW,CAAC,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ,IAAI,OAAO,IAAI,KAAK,SAAS,CAAC,EAAE;QAClF,MAAM,CAAC,IAAI,CACT,4GAA0G,IAAI,CAAC,SAAS,CACtH,IAAI,CACL,iBAAY,IAAI,CAAC,SAAS,CAAC,OAAO,IAAI,CAAC,MAAG,CAC5C,CAAC;QACF,OAAO,KAAK,CAAC;KACd;IAED,wGAAwG;IACxG,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,EAAE;QACxB,MAAM,CAAC,IAAI,CAAC,sFAAoF,IAAI,MAAG,CAAC,CAAC;QACzG,OAAO,KAAK,CAAC;KACd;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,SAAS,iBAAiB,CAExB,kBAAsC,EACtC,qBAA6C;IAE7C,IAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;IAChC,IAAM,OAAO,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC;IAEtD,IAAI,WAAW,GAAG,IAAI,WAAW,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;IAC5D,WAAW,GAAG,MAAM,CAAC,WAAW,EAAE,OAAO,aACvC,aAAa,EAAE,kBAAkB,CAAC,aAAa,EAC/C,kBAAkB,oBAAA,IACf,qBAAqB,EACxB,CAAC;IACH,IAAI,WAAW,CAAC,OAAO,EAAE;QACvB,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,YAAY,IAAK,OAAO,CAAC,YAAY,CAAC,QAAmB,CAAC,CAAC;KACjG;IACD,OAAO,WAAW,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAClC,GAAQ,EACR,kBAAsC,EACtC,WAAoB,EACpB,OAAiB,EACjB,qBAA6C;IAE7C,IAAM,MAAM,GAAG,GAAG,CAAC,SAAS,EAAE,CAAC;IAC/B,IAAM,OAAO,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC;IAEtD,IAAI,WAAW,GAAG,IAAI,eAAe,CAAC,kBAAkB,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IACrF,WAAW,GAAG,MAAM,CAAC,WAAW,EAAE,OAAO,aACvC,aAAa,EAAE,kBAAkB,CAAC,aAAa,EAC/C,kBAAkB,oBAAA,IACf,qBAAqB,EACxB,CAAC;IACH,IAAI,WAAW,CAAC,OAAO,EAAE;QACvB,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,YAAY,IAAK,OAAO,CAAC,YAAY,CAAC,QAAmB,CAAC,CAAC;KACjG;IACD,OAAO,WAAW,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,qBAAqB;IACnC,IAAM,OAAO,GAAG,cAAc,EAAE,CAAC;IACjC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;QACvB,OAAO;KACR;IACD,OAAO,CAAC,UAAU,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,UAAU,IAAI,EAAE,CAAC;IACpE,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,gBAAgB,EAAE;QACnD,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,gBAAgB,GAAG,iBAAiB,CAAC;KACpE;IACD,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,YAAY,EAAE;QAC/C,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,YAAY,GAAG,YAAY,CAAC;KAC3D;AACH,CAAC;AAED;;GAEG;AACH,SAAS,6BAA6B;IACpC,IAAM,OAAO,GAAG,cAAc,EAAE,CAAC;IACjC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;QACvB,OAAO;KACR;IAED,IAAM,2BAA2B,GAAsC;QACrE,OAAO,EAAP;YACE,IAAM,WAAW,GAAG,cAAc,CAAC,MAAM,EAAE,2BAA2B,CAErE,CAAC;YACF,OAAO,IAAI,WAAW,CAAC,KAAK,EAAE,CAAC;QACjC,CAAC;QACD,QAAQ,EAAR;YACE,IAAM,WAAW,GAAG,cAAc,CAAC,MAAM,EAAE,2BAA2B,CAErE,CAAC;YACF,OAAO,IAAI,WAAW,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;QACnD,CAAC;QACD,KAAK,EAAL;YACE,IAAM,WAAW,GAAG,cAAc,CAAC,MAAM,EAAE,2BAA2B,CAErE,CAAC;YACF,OAAO,IAAI,WAAW,CAAC,KAAK,EAAE,CAAC;QACjC,CAAC;QACD,EAAE,EAAF;YACE,IAAM,WAAW,GAAG,cAAc,CAAC,MAAM,EAAE,8BAA8B,CAExE,CAAC;YACF,OAAO,IAAI,WAAW,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;KACF,CAAC;IAEF,IAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC;SAC5D,MAAM,CAAC,UAAA,UAAU,IAAI,OAAA,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,EAAxB,CAAwB,CAAC;SAC9C,GAAG,CAAC,UAAA,GAAG;QACN,IAAI;YACF,OAAO,2BAA2B,CAAC,GAAG,CAAC,EAAE,CAAC;SAC3C;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,SAAS,CAAC;SAClB;IACH,CAAC,CAAC;SACD,MAAM,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,EAAD,CAAC,CAAkB,CAAC;IAEnC,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE;QAC7B,OAAO,CAAC,UAAU,CAAC,YAAY,YAAO,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,IAAI,EAAE,CAAC,EAAK,cAAc,CAAC,CAAC;KACnG;AACH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,mBAAmB;IACjC,qBAAqB,EAAE,CAAC;IAExB,wDAAwD;IACxD,IAAI,SAAS,EAAE,EAAE;QACf,6BAA6B,EAAE,CAAC;KACjC;IAED,wFAAwF;IACxF,4BAA4B,EAAE,CAAC;AACjC,CAAC","sourcesContent":["import { getMainCarrier, Hub } from '@sentry/hub';\nimport {\n CustomSamplingContext,\n Integration,\n IntegrationClass,\n Options,\n SamplingContext,\n TransactionContext,\n} from '@sentry/types';\nimport { dynamicRequire, isNodeEnv, loadModule, logger } from '@sentry/utils';\n\nimport { registerErrorInstrumentation } from './errors';\nimport { IdleTransaction } from './idletransaction';\nimport { Transaction } from './transaction';\nimport { hasTracingEnabled } from './utils';\n\n/** Returns all trace headers that are currently on the top scope. */\nfunction traceHeaders(this: Hub): { [key: string]: string } {\n const scope = this.getScope();\n if (scope) {\n const span = scope.getSpan();\n if (span) {\n return {\n 'sentry-trace': span.toTraceparent(),\n };\n }\n }\n return {};\n}\n\n/**\n * Makes a sampling decision for the given transaction and stores it on the transaction.\n *\n * Called every time a transaction is created. Only transactions which emerge with a `sampled` value of `true` will be\n * sent to Sentry.\n *\n * @param transaction: The transaction needing a sampling decision\n * @param options: The current client's options, so we can access `tracesSampleRate` and/or `tracesSampler`\n * @param samplingContext: Default and user-provided data which may be used to help make the decision\n *\n * @returns The given transaction with its `sampled` value set\n */\nfunction sample(transaction: T, options: Options, samplingContext: SamplingContext): T {\n // nothing to do if tracing is not enabled\n if (!hasTracingEnabled(options)) {\n transaction.sampled = false;\n return transaction;\n }\n\n // if the user has forced a sampling decision by passing a `sampled` value in their transaction context, go with that\n if (transaction.sampled !== undefined) {\n transaction.setMetadata({\n transactionSampling: { method: 'explicitly_set' },\n });\n return transaction;\n }\n\n // we would have bailed already if neither `tracesSampler` nor `tracesSampleRate` were defined, so one of these should\n // work; prefer the hook if so\n let sampleRate;\n if (typeof options.tracesSampler === 'function') {\n sampleRate = options.tracesSampler(samplingContext);\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_sampler',\n // cast to number in case it's a boolean\n rate: Number(sampleRate),\n },\n });\n } else if (samplingContext.parentSampled !== undefined) {\n sampleRate = samplingContext.parentSampled;\n transaction.setMetadata({\n transactionSampling: { method: 'inheritance' },\n });\n } else {\n sampleRate = options.tracesSampleRate;\n transaction.setMetadata({\n transactionSampling: {\n method: 'client_rate',\n // cast to number in case it's a boolean\n rate: Number(sampleRate),\n },\n });\n }\n\n // Since this is coming from the user (or from a function provided by the user), who knows what we might get. (The\n // only valid values are booleans or numbers between 0 and 1.)\n if (!isValidSampleRate(sampleRate)) {\n logger.warn(`[Tracing] Discarding transaction because of invalid sample rate.`);\n transaction.sampled = false;\n return transaction;\n }\n\n // if the function returned 0 (or false), or if `tracesSampleRate` is 0, it's a sign the transaction should be dropped\n if (!sampleRate) {\n logger.log(\n `[Tracing] Discarding transaction because ${\n typeof options.tracesSampler === 'function'\n ? 'tracesSampler returned 0 or false'\n : 'a negative sampling decision was inherited or tracesSampleRate is set to 0'\n }`,\n );\n transaction.sampled = false;\n return transaction;\n }\n\n // Now we roll the dice. Math.random is inclusive of 0, but not of 1, so strict < is safe here. In case sampleRate is\n // a boolean, the < comparison will cause it to be automatically cast to 1 if it's true and 0 if it's false.\n transaction.sampled = Math.random() < (sampleRate as number | boolean);\n\n // if we're not going to keep it, we're done\n if (!transaction.sampled) {\n logger.log(\n `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n sampleRate,\n )})`,\n );\n return transaction;\n }\n\n logger.log(`[Tracing] starting ${transaction.op} transaction - ${transaction.name}`);\n return transaction;\n}\n\n/**\n * Checks the given sample rate to make sure it is valid type and value (a boolean, or a number between 0 and 1).\n */\nfunction isValidSampleRate(rate: unknown): boolean {\n // we need to check NaN explicitly because it's of type 'number' and therefore wouldn't get caught by this typecheck\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (isNaN(rate as any) || !(typeof rate === 'number' || typeof rate === 'boolean')) {\n logger.warn(\n `[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n rate,\n )} of type ${JSON.stringify(typeof rate)}.`,\n );\n return false;\n }\n\n // in case sampleRate is a boolean, it will get automatically cast to 1 if it's true and 0 if it's false\n if (rate < 0 || rate > 1) {\n logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${rate}.`);\n return false;\n }\n return true;\n}\n\n/**\n * Creates a new transaction and adds a sampling decision if it doesn't yet have one.\n *\n * The Hub.startTransaction method delegates to this method to do its work, passing the Hub instance in as `this`, as if\n * it had been called on the hub directly. Exists as a separate function so that it can be injected into the class as an\n * \"extension method.\"\n *\n * @param this: The Hub starting the transaction\n * @param transactionContext: Data used to configure the transaction\n * @param CustomSamplingContext: Optional data to be provided to the `tracesSampler` function (if any)\n *\n * @returns The new transaction\n *\n * @see {@link Hub.startTransaction}\n */\nfunction _startTransaction(\n this: Hub,\n transactionContext: TransactionContext,\n customSamplingContext?: CustomSamplingContext,\n): Transaction {\n const client = this.getClient();\n const options = (client && client.getOptions()) || {};\n\n let transaction = new Transaction(transactionContext, this);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n return transaction;\n}\n\n/**\n * Create new idle transaction.\n */\nexport function startIdleTransaction(\n hub: Hub,\n transactionContext: TransactionContext,\n idleTimeout?: number,\n onScope?: boolean,\n customSamplingContext?: CustomSamplingContext,\n): IdleTransaction {\n const client = hub.getClient();\n const options = (client && client.getOptions()) || {};\n\n let transaction = new IdleTransaction(transactionContext, hub, idleTimeout, onScope);\n transaction = sample(transaction, options, {\n parentSampled: transactionContext.parentSampled,\n transactionContext,\n ...customSamplingContext,\n });\n if (transaction.sampled) {\n transaction.initSpanRecorder(options._experiments && (options._experiments.maxSpans as number));\n }\n return transaction;\n}\n\n/**\n * @private\n */\nexport function _addTracingExtensions(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n carrier.__SENTRY__.extensions = carrier.__SENTRY__.extensions || {};\n if (!carrier.__SENTRY__.extensions.startTransaction) {\n carrier.__SENTRY__.extensions.startTransaction = _startTransaction;\n }\n if (!carrier.__SENTRY__.extensions.traceHeaders) {\n carrier.__SENTRY__.extensions.traceHeaders = traceHeaders;\n }\n}\n\n/**\n * @private\n */\nfunction _autoloadDatabaseIntegrations(): void {\n const carrier = getMainCarrier();\n if (!carrier.__SENTRY__) {\n return;\n }\n\n const packageToIntegrationMapping: Record Integration> = {\n mongodb() {\n const integration = dynamicRequire(module, './integrations/node/mongo') as {\n Mongo: IntegrationClass;\n };\n return new integration.Mongo();\n },\n mongoose() {\n const integration = dynamicRequire(module, './integrations/node/mongo') as {\n Mongo: IntegrationClass;\n };\n return new integration.Mongo({ mongoose: true });\n },\n mysql() {\n const integration = dynamicRequire(module, './integrations/node/mysql') as {\n Mysql: IntegrationClass;\n };\n return new integration.Mysql();\n },\n pg() {\n const integration = dynamicRequire(module, './integrations/node/postgres') as {\n Postgres: IntegrationClass;\n };\n return new integration.Postgres();\n },\n };\n\n const mappedPackages = Object.keys(packageToIntegrationMapping)\n .filter(moduleName => !!loadModule(moduleName))\n .map(pkg => {\n try {\n return packageToIntegrationMapping[pkg]();\n } catch (e) {\n return undefined;\n }\n })\n .filter(p => p) as Integration[];\n\n if (mappedPackages.length > 0) {\n carrier.__SENTRY__.integrations = [...(carrier.__SENTRY__.integrations || []), ...mappedPackages];\n }\n}\n\n/**\n * This patches the global object and injects the Tracing extensions methods\n */\nexport function addExtensionMethods(): void {\n _addTracingExtensions();\n\n // Detect and automatically load specified integrations.\n if (isNodeEnv()) {\n _autoloadDatabaseIntegrations();\n }\n\n // If an error happens globally, we should make sure transaction status is set to error.\n registerErrorInstrumentation();\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/idletransaction.d.ts b/node_modules/@sentry/tracing/esm/idletransaction.d.ts new file mode 100644 index 000000000..7c0cbd26f --- /dev/null +++ b/node_modules/@sentry/tracing/esm/idletransaction.d.ts @@ -0,0 +1,84 @@ +import { Hub } from '@sentry/hub'; +import { TransactionContext } from '@sentry/types'; +import { Span, SpanRecorder } from './span'; +import { Transaction } from './transaction'; +export declare const DEFAULT_IDLE_TIMEOUT = 1000; +export declare const HEARTBEAT_INTERVAL = 5000; +/** + * @inheritDoc + */ +export declare class IdleTransactionSpanRecorder extends SpanRecorder { + private readonly _pushActivity; + private readonly _popActivity; + transactionSpanId: string; + constructor(_pushActivity: (id: string) => void, _popActivity: (id: string) => void, transactionSpanId?: string, maxlen?: number); + /** + * @inheritDoc + */ + add(span: Span): void; +} +export declare type BeforeFinishCallback = (transactionSpan: IdleTransaction, endTimestamp: number) => void; +/** + * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities. + * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will + * put itself on the scope on creation. + */ +export declare class IdleTransaction extends Transaction { + private readonly _idleHub?; + /** + * The time to wait in ms until the idle transaction will be finished. + * @default 1000 + */ + private readonly _idleTimeout; + private readonly _onScope; + activities: Record; + private _prevHeartbeatString; + private _heartbeatCounter; + private _finished; + private readonly _beforeFinishCallbacks; + /** + * If a transaction is created and no activities are added, we want to make sure that + * it times out properly. This is cleared and not used when activities are added. + */ + private _initTimeout; + constructor(transactionContext: TransactionContext, _idleHub?: Hub | undefined, + /** + * The time to wait in ms until the idle transaction will be finished. + * @default 1000 + */ + _idleTimeout?: number, _onScope?: boolean); + /** {@inheritDoc} */ + finish(endTimestamp?: number): string | undefined; + /** + * Register a callback function that gets excecuted before the transaction finishes. + * Useful for cleanup or if you want to add any additional spans based on current context. + * + * This is exposed because users have no other way of running something before an idle transaction + * finishes. + */ + registerBeforeFinishCallback(callback: BeforeFinishCallback): void; + /** + * @inheritDoc + */ + initSpanRecorder(maxlen?: number): void; + /** + * Start tracking a specific activity. + * @param spanId The span id that represents the activity + */ + private _pushActivity; + /** + * Remove an activity from usage + * @param spanId The span id that represents the activity + */ + private _popActivity; + /** + * Checks when entries of this.activities are not changing for 3 beats. + * If this occurs we finish the transaction. + */ + private _beat; + /** + * Pings the heartbeat + */ + private _pingHeartbeat; +} +//# sourceMappingURL=idletransaction.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/idletransaction.d.ts.map b/node_modules/@sentry/tracing/esm/idletransaction.d.ts.map new file mode 100644 index 000000000..f1c4d9da2 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/idletransaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"idletransaction.d.ts","sourceRoot":"","sources":["../src/idletransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAInD,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,oBAAoB,OAAO,CAAC;AACzC,eAAO,MAAM,kBAAkB,OAAO,CAAC;AAEvC;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,YAAY;IAEzD,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;IACtB,iBAAiB,EAAE,MAAM;gBAFf,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,EACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,EAC5C,iBAAiB,GAAE,MAAW,EACrC,MAAM,CAAC,EAAE,MAAM;IAKjB;;OAEG;IACI,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;CAkB7B;AAED,oBAAY,oBAAoB,GAAG,CAAC,eAAe,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;AAEpG;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAuB5C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;IAC1B;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IA5BpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM;IAGhD,OAAO,CAAC,oBAAoB,CAAqB;IAGjD,OAAO,CAAC,iBAAiB,CAAa;IAGtC,OAAO,CAAC,SAAS,CAAkB;IAEnC,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAA8B;IAErE;;;OAGG;IACH,OAAO,CAAC,YAAY,CAA4C;gBAG9D,kBAAkB,EAAE,kBAAkB,EACrB,QAAQ,CAAC,iBAAK;IAC/B;;;OAGG;IACc,YAAY,GAAE,MAA6B,EAE3C,QAAQ,GAAE,OAAe;IAqB5C,oBAAoB;IACb,MAAM,CAAC,YAAY,GAAE,MAA0B,GAAG,MAAM,GAAG,SAAS;IA+C3E;;;;;;OAMG;IACI,4BAA4B,CAAC,QAAQ,EAAE,oBAAoB,GAAG,IAAI;IAIzE;;OAEG;IACI,gBAAgB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI;IAwB9C;;;OAGG;IACH,OAAO,CAAC,aAAa;IAUrB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAuBpB;;;OAGG;IACH,OAAO,CAAC,KAAK;IA0Bb;;OAEG;IACH,OAAO,CAAC,cAAc;CAMvB"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/idletransaction.js b/node_modules/@sentry/tracing/esm/idletransaction.js new file mode 100644 index 000000000..9429d493c --- /dev/null +++ b/node_modules/@sentry/tracing/esm/idletransaction.js @@ -0,0 +1,264 @@ +import { __extends, __values } from "tslib"; +import { logger, timestampWithMs } from '@sentry/utils'; +import { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from './constants'; +import { SpanRecorder } from './span'; +import { Transaction } from './transaction'; +export var DEFAULT_IDLE_TIMEOUT = 1000; +export var HEARTBEAT_INTERVAL = 5000; +/** + * @inheritDoc + */ +var IdleTransactionSpanRecorder = /** @class */ (function (_super) { + __extends(IdleTransactionSpanRecorder, _super); + function IdleTransactionSpanRecorder(_pushActivity, _popActivity, transactionSpanId, maxlen) { + if (transactionSpanId === void 0) { transactionSpanId = ''; } + var _this = _super.call(this, maxlen) || this; + _this._pushActivity = _pushActivity; + _this._popActivity = _popActivity; + _this.transactionSpanId = transactionSpanId; + return _this; + } + /** + * @inheritDoc + */ + IdleTransactionSpanRecorder.prototype.add = function (span) { + var _this = this; + // We should make sure we do not push and pop activities for + // the transaction that this span recorder belongs to. + if (span.spanId !== this.transactionSpanId) { + // We patch span.finish() to pop an activity after setting an endTimestamp. + span.finish = function (endTimestamp) { + span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs(); + _this._popActivity(span.spanId); + }; + // We should only push new activities if the span does not have an end timestamp. + if (span.endTimestamp === undefined) { + this._pushActivity(span.spanId); + } + } + _super.prototype.add.call(this, span); + }; + return IdleTransactionSpanRecorder; +}(SpanRecorder)); +export { IdleTransactionSpanRecorder }; +/** + * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities. + * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will + * put itself on the scope on creation. + */ +var IdleTransaction = /** @class */ (function (_super) { + __extends(IdleTransaction, _super); + function IdleTransaction(transactionContext, _idleHub, + /** + * The time to wait in ms until the idle transaction will be finished. + * @default 1000 + */ + _idleTimeout, + // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends + _onScope) { + if (_idleTimeout === void 0) { _idleTimeout = DEFAULT_IDLE_TIMEOUT; } + if (_onScope === void 0) { _onScope = false; } + var _this = _super.call(this, transactionContext, _idleHub) || this; + _this._idleHub = _idleHub; + _this._idleTimeout = _idleTimeout; + _this._onScope = _onScope; + // Activities store a list of active spans + _this.activities = {}; + // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats. + _this._heartbeatCounter = 0; + // We should not use heartbeat if we finished a transaction + _this._finished = false; + _this._beforeFinishCallbacks = []; + if (_idleHub && _onScope) { + // There should only be one active transaction on the scope + clearActiveTransaction(_idleHub); + // We set the transaction here on the scope so error events pick up the trace + // context and attach it to the error. + logger.log("Setting idle transaction on scope. Span ID: " + _this.spanId); + _idleHub.configureScope(function (scope) { return scope.setSpan(_this); }); + } + _this._initTimeout = setTimeout(function () { + if (!_this._finished) { + _this.finish(); + } + }, _this._idleTimeout); + return _this; + } + /** {@inheritDoc} */ + IdleTransaction.prototype.finish = function (endTimestamp) { + var e_1, _a; + var _this = this; + if (endTimestamp === void 0) { endTimestamp = timestampWithMs(); } + this._finished = true; + this.activities = {}; + if (this.spanRecorder) { + logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op); + try { + for (var _b = __values(this._beforeFinishCallbacks), _c = _b.next(); !_c.done; _c = _b.next()) { + var callback = _c.value; + callback(this, endTimestamp); + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + this.spanRecorder.spans = this.spanRecorder.spans.filter(function (span) { + // If we are dealing with the transaction itself, we just return it + if (span.spanId === _this.spanId) { + return true; + } + // We cancel all pending spans with status "cancelled" to indicate the idle transaction was finished early + if (!span.endTimestamp) { + span.endTimestamp = endTimestamp; + span.setStatus('cancelled'); + logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2)); + } + var keepSpan = span.startTimestamp < endTimestamp; + if (!keepSpan) { + logger.log('[Tracing] discarding Span since it happened after Transaction was finished', JSON.stringify(span, undefined, 2)); + } + return keepSpan; + }); + logger.log('[Tracing] flushing IdleTransaction'); + } + else { + logger.log('[Tracing] No active IdleTransaction'); + } + // if `this._onScope` is `true`, the transaction put itself on the scope when it started + if (this._onScope) { + clearActiveTransaction(this._idleHub); + } + return _super.prototype.finish.call(this, endTimestamp); + }; + /** + * Register a callback function that gets excecuted before the transaction finishes. + * Useful for cleanup or if you want to add any additional spans based on current context. + * + * This is exposed because users have no other way of running something before an idle transaction + * finishes. + */ + IdleTransaction.prototype.registerBeforeFinishCallback = function (callback) { + this._beforeFinishCallbacks.push(callback); + }; + /** + * @inheritDoc + */ + IdleTransaction.prototype.initSpanRecorder = function (maxlen) { + var _this = this; + if (!this.spanRecorder) { + var pushActivity = function (id) { + if (_this._finished) { + return; + } + _this._pushActivity(id); + }; + var popActivity = function (id) { + if (_this._finished) { + return; + } + _this._popActivity(id); + }; + this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen); + // Start heartbeat so that transactions do not run forever. + logger.log('Starting heartbeat'); + this._pingHeartbeat(); + } + this.spanRecorder.add(this); + }; + /** + * Start tracking a specific activity. + * @param spanId The span id that represents the activity + */ + IdleTransaction.prototype._pushActivity = function (spanId) { + if (this._initTimeout) { + clearTimeout(this._initTimeout); + this._initTimeout = undefined; + } + logger.log("[Tracing] pushActivity: " + spanId); + this.activities[spanId] = true; + logger.log('[Tracing] new activities count', Object.keys(this.activities).length); + }; + /** + * Remove an activity from usage + * @param spanId The span id that represents the activity + */ + IdleTransaction.prototype._popActivity = function (spanId) { + var _this = this; + if (this.activities[spanId]) { + logger.log("[Tracing] popActivity " + spanId); + // eslint-disable-next-line @typescript-eslint/no-dynamic-delete + delete this.activities[spanId]; + logger.log('[Tracing] new activities count', Object.keys(this.activities).length); + } + if (Object.keys(this.activities).length === 0) { + var timeout = this._idleTimeout; + // We need to add the timeout here to have the real endtimestamp of the transaction + // Remember timestampWithMs is in seconds, timeout is in ms + var end_1 = timestampWithMs() + timeout / 1000; + setTimeout(function () { + if (!_this._finished) { + _this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[1]); + _this.finish(end_1); + } + }, timeout); + } + }; + /** + * Checks when entries of this.activities are not changing for 3 beats. + * If this occurs we finish the transaction. + */ + IdleTransaction.prototype._beat = function () { + // We should not be running heartbeat if the idle transaction is finished. + if (this._finished) { + return; + } + var heartbeatString = Object.keys(this.activities).join(''); + if (heartbeatString === this._prevHeartbeatString) { + this._heartbeatCounter += 1; + } + else { + this._heartbeatCounter = 1; + } + this._prevHeartbeatString = heartbeatString; + if (this._heartbeatCounter >= 3) { + logger.log("[Tracing] Transaction finished because of no change for 3 heart beats"); + this.setStatus('deadline_exceeded'); + this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[0]); + this.finish(); + } + else { + this._pingHeartbeat(); + } + }; + /** + * Pings the heartbeat + */ + IdleTransaction.prototype._pingHeartbeat = function () { + var _this = this; + logger.log("pinging Heartbeat -> current counter: " + this._heartbeatCounter); + setTimeout(function () { + _this._beat(); + }, HEARTBEAT_INTERVAL); + }; + return IdleTransaction; +}(Transaction)); +export { IdleTransaction }; +/** + * Reset transaction on scope to `undefined` + */ +function clearActiveTransaction(hub) { + if (hub) { + var scope = hub.getScope(); + if (scope) { + var transaction = scope.getTransaction(); + if (transaction) { + scope.setSpan(undefined); + } + } + } +} +//# sourceMappingURL=idletransaction.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/idletransaction.js.map b/node_modules/@sentry/tracing/esm/idletransaction.js.map new file mode 100644 index 000000000..88f0287f4 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/idletransaction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"idletransaction.js","sourceRoot":"","sources":["../src/idletransaction.ts"],"names":[],"mappings":"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","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { TransactionContext } from '@sentry/types';\nimport { logger, timestampWithMs } from '@sentry/utils';\n\nimport { FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS } from './constants';\nimport { Span, SpanRecorder } from './span';\nimport { Transaction } from './transaction';\n\nexport const DEFAULT_IDLE_TIMEOUT = 1000;\nexport const HEARTBEAT_INTERVAL = 5000;\n\n/**\n * @inheritDoc\n */\nexport class IdleTransactionSpanRecorder extends SpanRecorder {\n public constructor(\n private readonly _pushActivity: (id: string) => void,\n private readonly _popActivity: (id: string) => void,\n public transactionSpanId: string = '',\n maxlen?: number,\n ) {\n super(maxlen);\n }\n\n /**\n * @inheritDoc\n */\n public add(span: Span): void {\n // We should make sure we do not push and pop activities for\n // the transaction that this span recorder belongs to.\n if (span.spanId !== this.transactionSpanId) {\n // We patch span.finish() to pop an activity after setting an endTimestamp.\n span.finish = (endTimestamp?: number) => {\n span.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n this._popActivity(span.spanId);\n };\n\n // We should only push new activities if the span does not have an end timestamp.\n if (span.endTimestamp === undefined) {\n this._pushActivity(span.spanId);\n }\n }\n\n super.add(span);\n }\n}\n\nexport type BeforeFinishCallback = (transactionSpan: IdleTransaction, endTimestamp: number) => void;\n\n/**\n * An IdleTransaction is a transaction that automatically finishes. It does this by tracking child spans as activities.\n * You can have multiple IdleTransactions active, but if the `onScope` option is specified, the idle transaction will\n * put itself on the scope on creation.\n */\nexport class IdleTransaction extends Transaction {\n // Activities store a list of active spans\n public activities: Record = {};\n\n // Track state of activities in previous heartbeat\n private _prevHeartbeatString: string | undefined;\n\n // Amount of times heartbeat has counted. Will cause transaction to finish after 3 beats.\n private _heartbeatCounter: number = 0;\n\n // We should not use heartbeat if we finished a transaction\n private _finished: boolean = false;\n\n private readonly _beforeFinishCallbacks: BeforeFinishCallback[] = [];\n\n /**\n * If a transaction is created and no activities are added, we want to make sure that\n * it times out properly. This is cleared and not used when activities are added.\n */\n private _initTimeout: ReturnType | undefined;\n\n public constructor(\n transactionContext: TransactionContext,\n private readonly _idleHub?: Hub,\n /**\n * The time to wait in ms until the idle transaction will be finished.\n * @default 1000\n */\n private readonly _idleTimeout: number = DEFAULT_IDLE_TIMEOUT,\n // Whether or not the transaction should put itself on the scope when it starts and pop itself off when it ends\n private readonly _onScope: boolean = false,\n ) {\n super(transactionContext, _idleHub);\n\n if (_idleHub && _onScope) {\n // There should only be one active transaction on the scope\n clearActiveTransaction(_idleHub);\n\n // We set the transaction here on the scope so error events pick up the trace\n // context and attach it to the error.\n logger.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`);\n _idleHub.configureScope(scope => scope.setSpan(this));\n }\n\n this._initTimeout = setTimeout(() => {\n if (!this._finished) {\n this.finish();\n }\n }, this._idleTimeout);\n }\n\n /** {@inheritDoc} */\n public finish(endTimestamp: number = timestampWithMs()): string | undefined {\n this._finished = true;\n this.activities = {};\n\n if (this.spanRecorder) {\n logger.log('[Tracing] finishing IdleTransaction', new Date(endTimestamp * 1000).toISOString(), this.op);\n\n for (const callback of this._beforeFinishCallbacks) {\n callback(this, endTimestamp);\n }\n\n this.spanRecorder.spans = this.spanRecorder.spans.filter((span: Span) => {\n // If we are dealing with the transaction itself, we just return it\n if (span.spanId === this.spanId) {\n return true;\n }\n\n // We cancel all pending spans with status \"cancelled\" to indicate the idle transaction was finished early\n if (!span.endTimestamp) {\n span.endTimestamp = endTimestamp;\n span.setStatus('cancelled');\n logger.log('[Tracing] cancelling span since transaction ended early', JSON.stringify(span, undefined, 2));\n }\n\n const keepSpan = span.startTimestamp < endTimestamp;\n if (!keepSpan) {\n logger.log(\n '[Tracing] discarding Span since it happened after Transaction was finished',\n JSON.stringify(span, undefined, 2),\n );\n }\n return keepSpan;\n });\n\n logger.log('[Tracing] flushing IdleTransaction');\n } else {\n logger.log('[Tracing] No active IdleTransaction');\n }\n\n // if `this._onScope` is `true`, the transaction put itself on the scope when it started\n if (this._onScope) {\n clearActiveTransaction(this._idleHub);\n }\n\n return super.finish(endTimestamp);\n }\n\n /**\n * Register a callback function that gets excecuted before the transaction finishes.\n * Useful for cleanup or if you want to add any additional spans based on current context.\n *\n * This is exposed because users have no other way of running something before an idle transaction\n * finishes.\n */\n public registerBeforeFinishCallback(callback: BeforeFinishCallback): void {\n this._beforeFinishCallbacks.push(callback);\n }\n\n /**\n * @inheritDoc\n */\n public initSpanRecorder(maxlen?: number): void {\n if (!this.spanRecorder) {\n const pushActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._pushActivity(id);\n };\n const popActivity = (id: string): void => {\n if (this._finished) {\n return;\n }\n this._popActivity(id);\n };\n\n this.spanRecorder = new IdleTransactionSpanRecorder(pushActivity, popActivity, this.spanId, maxlen);\n\n // Start heartbeat so that transactions do not run forever.\n logger.log('Starting heartbeat');\n this._pingHeartbeat();\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Start tracking a specific activity.\n * @param spanId The span id that represents the activity\n */\n private _pushActivity(spanId: string): void {\n if (this._initTimeout) {\n clearTimeout(this._initTimeout);\n this._initTimeout = undefined;\n }\n logger.log(`[Tracing] pushActivity: ${spanId}`);\n this.activities[spanId] = true;\n logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n /**\n * Remove an activity from usage\n * @param spanId The span id that represents the activity\n */\n private _popActivity(spanId: string): void {\n if (this.activities[spanId]) {\n logger.log(`[Tracing] popActivity ${spanId}`);\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this.activities[spanId];\n logger.log('[Tracing] new activities count', Object.keys(this.activities).length);\n }\n\n if (Object.keys(this.activities).length === 0) {\n const timeout = this._idleTimeout;\n // We need to add the timeout here to have the real endtimestamp of the transaction\n // Remember timestampWithMs is in seconds, timeout is in ms\n const end = timestampWithMs() + timeout / 1000;\n\n setTimeout(() => {\n if (!this._finished) {\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[1]);\n this.finish(end);\n }\n }, timeout);\n }\n }\n\n /**\n * Checks when entries of this.activities are not changing for 3 beats.\n * If this occurs we finish the transaction.\n */\n private _beat(): void {\n // We should not be running heartbeat if the idle transaction is finished.\n if (this._finished) {\n return;\n }\n\n const heartbeatString = Object.keys(this.activities).join('');\n\n if (heartbeatString === this._prevHeartbeatString) {\n this._heartbeatCounter += 1;\n } else {\n this._heartbeatCounter = 1;\n }\n\n this._prevHeartbeatString = heartbeatString;\n\n if (this._heartbeatCounter >= 3) {\n logger.log(`[Tracing] Transaction finished because of no change for 3 heart beats`);\n this.setStatus('deadline_exceeded');\n this.setTag(FINISH_REASON_TAG, IDLE_TRANSACTION_FINISH_REASONS[0]);\n this.finish();\n } else {\n this._pingHeartbeat();\n }\n }\n\n /**\n * Pings the heartbeat\n */\n private _pingHeartbeat(): void {\n logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`);\n setTimeout(() => {\n this._beat();\n }, HEARTBEAT_INTERVAL);\n }\n}\n\n/**\n * Reset transaction on scope to `undefined`\n */\nfunction clearActiveTransaction(hub?: Hub): void {\n if (hub) {\n const scope = hub.getScope();\n if (scope) {\n const transaction = scope.getTransaction();\n if (transaction) {\n scope.setSpan(undefined);\n }\n }\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/index.bundle.d.ts b/node_modules/@sentry/tracing/esm/index.bundle.d.ts new file mode 100644 index 000000000..bfa3e266d --- /dev/null +++ b/node_modules/@sentry/tracing/esm/index.bundle.d.ts @@ -0,0 +1,25 @@ +export { Breadcrumb, Request, SdkInfo, Event, EventStatus, Exception, Response, Severity, StackFrame, Stacktrace, Thread, User, } from '@sentry/types'; +export { SeverityLevel } from '@sentry/utils'; +export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, getHubFromCarrier, getCurrentHub, Hub, Scope, setContext, setExtra, setExtras, setTag, setTags, setUser, startTransaction, Transports, withScope, } from '@sentry/browser'; +export { BrowserOptions } from '@sentry/browser'; +export { BrowserClient, ReportDialogOptions } from '@sentry/browser'; +export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog, flush, close, wrap, } from '@sentry/browser'; +export { SDK_NAME, SDK_VERSION } from '@sentry/browser'; +import { BrowserTracing } from './browser'; +import { addExtensionMethods } from './hubextensions'; +export { Span } from './span'; +declare const INTEGRATIONS: { + BrowserTracing: typeof BrowserTracing; + GlobalHandlers: typeof import("@sentry/browser/dist/integrations").GlobalHandlers; + TryCatch: typeof import("@sentry/browser/dist/integrations").TryCatch; + Breadcrumbs: typeof import("@sentry/browser/dist/integrations").Breadcrumbs; + LinkedErrors: typeof import("@sentry/browser/dist/integrations").LinkedErrors; + UserAgent: typeof import("@sentry/browser/dist/integrations").UserAgent; + Dedupe: typeof import("@sentry/browser/dist/integrations").Dedupe; + FunctionToString: typeof import("@sentry/core/dist/integrations").FunctionToString; + InboundFilters: typeof import("@sentry/core/dist/integrations").InboundFilters; +}; +export { INTEGRATIONS as Integrations }; +export { BrowserTracing }; +export { addExtensionMethods }; +//# sourceMappingURL=index.bundle.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/index.bundle.d.ts.map b/node_modules/@sentry/tracing/esm/index.bundle.d.ts.map new file mode 100644 index 000000000..81da23c17 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/index.bundle.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.bundle.d.ts","sourceRoot":"","sources":["../src/index.bundle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,OAAO,EACP,OAAO,EACP,KAAK,EACL,WAAW,EACX,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,UAAU,EACV,MAAM,EACN,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,GAAG,EACH,KAAK,EACL,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,SAAS,GACV,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,EACL,mBAAmB,EACnB,SAAS,EACT,IAAI,EACJ,WAAW,EACX,MAAM,EACN,gBAAgB,EAChB,KAAK,EACL,KAAK,EACL,IAAI,GACL,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAKxD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAU9B,QAAA,MAAM,YAAY;;;;;;;;;;CAIjB,CAAC;AAEF,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,CAAC;AAKxC,OAAO,EAAE,cAAc,EAAE,CAAC;AAK1B,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/index.bundle.js b/node_modules/@sentry/tracing/esm/index.bundle.js new file mode 100644 index 000000000..b687061ab --- /dev/null +++ b/node_modules/@sentry/tracing/esm/index.bundle.js @@ -0,0 +1,28 @@ +import { __assign } from "tslib"; +export { Severity, } from '@sentry/types'; +export { addGlobalEventProcessor, addBreadcrumb, captureException, captureEvent, captureMessage, configureScope, getHubFromCarrier, getCurrentHub, Hub, Scope, setContext, setExtra, setExtras, setTag, setTags, setUser, startTransaction, Transports, withScope, } from '@sentry/browser'; +export { BrowserClient } from '@sentry/browser'; +export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog, flush, close, wrap, } from '@sentry/browser'; +export { SDK_NAME, SDK_VERSION } from '@sentry/browser'; +import { Integrations as BrowserIntegrations } from '@sentry/browser'; +import { getGlobalObject } from '@sentry/utils'; +import { BrowserTracing } from './browser'; +import { addExtensionMethods } from './hubextensions'; +export { Span } from './span'; +var windowIntegrations = {}; +// This block is needed to add compatibility with the integrations packages when used with a CDN +var _window = getGlobalObject(); +if (_window.Sentry && _window.Sentry.Integrations) { + windowIntegrations = _window.Sentry.Integrations; +} +var INTEGRATIONS = __assign(__assign(__assign({}, windowIntegrations), BrowserIntegrations), { BrowserTracing: BrowserTracing }); +export { INTEGRATIONS as Integrations }; +// Though in this case exporting this separately in addition to exporting it as part of `Sentry.Integrations` doesn't +// gain us any bundle size advantage (we're making the bundle here, not the user, and we can't leave anything out of +// ours), it does bring the API for using the integration in line with that recommended for users bundling Sentry +// themselves. +export { BrowserTracing }; +// We are patching the global object with our hub extension methods +addExtensionMethods(); +export { addExtensionMethods }; +//# sourceMappingURL=index.bundle.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/index.bundle.js.map b/node_modules/@sentry/tracing/esm/index.bundle.js.map new file mode 100644 index 000000000..b532d20cd --- /dev/null +++ b/node_modules/@sentry/tracing/esm/index.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.bundle.js","sourceRoot":"","sources":["../src/index.bundle.ts"],"names":[],"mappings":";AAAA,OAAO,EAQL,QAAQ,GAKT,MAAM,eAAe,CAAC;AAIvB,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,GAAG,EACH,KAAK,EACL,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,SAAS,GACV,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,aAAa,EAAuB,MAAM,iBAAiB,CAAC;AACrE,OAAO,EACL,mBAAmB,EACnB,SAAS,EACT,IAAI,EACJ,WAAW,EACX,MAAM,EACN,gBAAgB,EAChB,KAAK,EACL,KAAK,EACL,IAAI,GACL,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,IAAI,kBAAkB,GAAG,EAAE,CAAC;AAE5B,gGAAgG;AAChG,IAAM,OAAO,GAAG,eAAe,EAAU,CAAC;AAC1C,IAAI,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE;IACjD,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;CAClD;AAED,IAAM,YAAY,kCACb,kBAAkB,GAClB,mBAAmB,KACtB,cAAc,gBAAA,GACf,CAAC;AAEF,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,CAAC;AACxC,qHAAqH;AACrH,oHAAoH;AACpH,iHAAiH;AACjH,cAAc;AACd,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,mEAAmE;AACnE,mBAAmB,EAAE,CAAC;AAEtB,OAAO,EAAE,mBAAmB,EAAE,CAAC","sourcesContent":["export {\n Breadcrumb,\n Request,\n SdkInfo,\n Event,\n EventStatus,\n Exception,\n Response,\n Severity,\n StackFrame,\n Stacktrace,\n Thread,\n User,\n} from '@sentry/types';\n\nexport { SeverityLevel } from '@sentry/utils';\n\nexport {\n addGlobalEventProcessor,\n addBreadcrumb,\n captureException,\n captureEvent,\n captureMessage,\n configureScope,\n getHubFromCarrier,\n getCurrentHub,\n Hub,\n Scope,\n setContext,\n setExtra,\n setExtras,\n setTag,\n setTags,\n setUser,\n startTransaction,\n Transports,\n withScope,\n} from '@sentry/browser';\n\nexport { BrowserOptions } from '@sentry/browser';\nexport { BrowserClient, ReportDialogOptions } from '@sentry/browser';\nexport {\n defaultIntegrations,\n forceLoad,\n init,\n lastEventId,\n onLoad,\n showReportDialog,\n flush,\n close,\n wrap,\n} from '@sentry/browser';\nexport { SDK_NAME, SDK_VERSION } from '@sentry/browser';\n\nimport { Integrations as BrowserIntegrations } from '@sentry/browser';\nimport { getGlobalObject } from '@sentry/utils';\n\nimport { BrowserTracing } from './browser';\nimport { addExtensionMethods } from './hubextensions';\n\nexport { Span } from './span';\n\nlet windowIntegrations = {};\n\n// This block is needed to add compatibility with the integrations packages when used with a CDN\nconst _window = getGlobalObject();\nif (_window.Sentry && _window.Sentry.Integrations) {\n windowIntegrations = _window.Sentry.Integrations;\n}\n\nconst INTEGRATIONS = {\n ...windowIntegrations,\n ...BrowserIntegrations,\n BrowserTracing,\n};\n\nexport { INTEGRATIONS as Integrations };\n// Though in this case exporting this separately in addition to exporting it as part of `Sentry.Integrations` doesn't\n// gain us any bundle size advantage (we're making the bundle here, not the user, and we can't leave anything out of\n// ours), it does bring the API for using the integration in line with that recommended for users bundling Sentry\n// themselves.\nexport { BrowserTracing };\n\n// We are patching the global object with our hub extension methods\naddExtensionMethods();\n\nexport { addExtensionMethods };\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/index.d.ts b/node_modules/@sentry/tracing/esm/index.d.ts new file mode 100644 index 000000000..b05da624e --- /dev/null +++ b/node_modules/@sentry/tracing/esm/index.d.ts @@ -0,0 +1,13 @@ +import { addExtensionMethods } from './hubextensions'; +import * as Integrations from './integrations'; +export { Integrations }; +export { BrowserTracing } from './browser'; +export { Span, SpanStatusType, spanStatusfromHttpCode } from './span'; +export { SpanStatus } from './spanstatus'; +export { Transaction } from './transaction'; +export { instrumentOutgoingRequests as registerRequestInstrumentation, RequestInstrumentationOptions, defaultRequestInstrumentationOptions, } from './browser'; +export { IdleTransaction } from './idletransaction'; +export { startIdleTransaction } from './hubextensions'; +export { addExtensionMethods }; +export { extractTraceparentData, getActiveTransaction, hasTracingEnabled, stripUrlQueryAndFragment, TRACEPARENT_REGEXP, } from './utils'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/index.d.ts.map b/node_modules/@sentry/tracing/esm/index.d.ts.map new file mode 100644 index 000000000..d9828d205 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,CAAC;AAkBxB,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAEL,0BAA0B,IAAI,8BAA8B,EAC5D,6BAA6B,EAC7B,oCAAoC,GACrC,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAKvD,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/index.js b/node_modules/@sentry/tracing/esm/index.js new file mode 100644 index 000000000..bc430c8de --- /dev/null +++ b/node_modules/@sentry/tracing/esm/index.js @@ -0,0 +1,34 @@ +import { addExtensionMethods } from './hubextensions'; +import * as Integrations from './integrations'; +export { Integrations }; +// This is already exported as part of `Integrations` above (and for the moment will remain so for +// backwards compatibility), but that interferes with treeshaking, so we also export it separately +// here. +// +// Previously we expected users to import tracing integrations like +// +// import { Integrations } from '@sentry/tracing'; +// const instance = new Integrations.BrowserTracing(); +// +// This makes the integrations unable to be treeshaken though. To address this, we now have +// this individual export. We now expect users to consume BrowserTracing like so: +// +// import { BrowserTracing } from '@sentry/tracing'; +// const instance = new BrowserTracing(); +// +// For an example of of the new usage of BrowserTracing, see @sentry/nextjs index.client.ts +export { BrowserTracing } from './browser'; +export { Span, spanStatusfromHttpCode } from './span'; +// eslint-disable-next-line deprecation/deprecation +export { SpanStatus } from './spanstatus'; +export { Transaction } from './transaction'; +export { +// TODO deprecate old name in v7 +instrumentOutgoingRequests as registerRequestInstrumentation, defaultRequestInstrumentationOptions, } from './browser'; +export { IdleTransaction } from './idletransaction'; +export { startIdleTransaction } from './hubextensions'; +// We are patching the global object with our hub extension methods +addExtensionMethods(); +export { addExtensionMethods }; +export { extractTraceparentData, getActiveTransaction, hasTracingEnabled, stripUrlQueryAndFragment, TRACEPARENT_REGEXP, } from './utils'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/index.js.map b/node_modules/@sentry/tracing/esm/index.js.map new file mode 100644 index 000000000..e0604cf71 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,kGAAkG;AAClG,kGAAkG;AAClG,QAAQ;AACR,EAAE;AACF,mEAAmE;AACnE,EAAE;AACF,kDAAkD;AAClD,sDAAsD;AACtD,EAAE;AACF,2FAA2F;AAC3F,iFAAiF;AACjF,EAAE;AACF,oDAAoD;AACpD,yCAAyC;AACzC,EAAE;AACF,2FAA2F;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAkB,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AACtE,mDAAmD;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO;AACL,gCAAgC;AAChC,0BAA0B,IAAI,8BAA8B,EAE5D,oCAAoC,GACrC,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,mEAAmE;AACnE,mBAAmB,EAAE,CAAC;AAEtB,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,SAAS,CAAC","sourcesContent":["import { addExtensionMethods } from './hubextensions';\nimport * as Integrations from './integrations';\n\nexport { Integrations };\n\n// This is already exported as part of `Integrations` above (and for the moment will remain so for\n// backwards compatibility), but that interferes with treeshaking, so we also export it separately\n// here.\n//\n// Previously we expected users to import tracing integrations like\n//\n// import { Integrations } from '@sentry/tracing';\n// const instance = new Integrations.BrowserTracing();\n//\n// This makes the integrations unable to be treeshaken though. To address this, we now have\n// this individual export. We now expect users to consume BrowserTracing like so:\n//\n// import { BrowserTracing } from '@sentry/tracing';\n// const instance = new BrowserTracing();\n//\n// For an example of of the new usage of BrowserTracing, see @sentry/nextjs index.client.ts\nexport { BrowserTracing } from './browser';\n\nexport { Span, SpanStatusType, spanStatusfromHttpCode } from './span';\n// eslint-disable-next-line deprecation/deprecation\nexport { SpanStatus } from './spanstatus';\nexport { Transaction } from './transaction';\nexport {\n // TODO deprecate old name in v7\n instrumentOutgoingRequests as registerRequestInstrumentation,\n RequestInstrumentationOptions,\n defaultRequestInstrumentationOptions,\n} from './browser';\nexport { IdleTransaction } from './idletransaction';\nexport { startIdleTransaction } from './hubextensions';\n\n// We are patching the global object with our hub extension methods\naddExtensionMethods();\n\nexport { addExtensionMethods };\n\nexport {\n extractTraceparentData,\n getActiveTransaction,\n hasTracingEnabled,\n stripUrlQueryAndFragment,\n TRACEPARENT_REGEXP,\n} from './utils';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/index.d.ts b/node_modules/@sentry/tracing/esm/integrations/index.d.ts new file mode 100644 index 000000000..1c7d20e52 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/index.d.ts @@ -0,0 +1,6 @@ +export { Express } from './node/express'; +export { Postgres } from './node/postgres'; +export { Mysql } from './node/mysql'; +export { Mongo } from './node/mongo'; +export { BrowserTracing } from '../browser'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/index.d.ts.map b/node_modules/@sentry/tracing/esm/integrations/index.d.ts.map new file mode 100644 index 000000000..b8d1ffb5a --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAIrC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/index.js b/node_modules/@sentry/tracing/esm/integrations/index.js new file mode 100644 index 000000000..fc1068bcd --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/index.js @@ -0,0 +1,8 @@ +export { Express } from './node/express'; +export { Postgres } from './node/postgres'; +export { Mysql } from './node/mysql'; +export { Mongo } from './node/mongo'; +// TODO(v7): Remove this export +// Please see `src/index.ts` for more details. +export { BrowserTracing } from '../browser'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/index.js.map b/node_modules/@sentry/tracing/esm/integrations/index.js.map new file mode 100644 index 000000000..93be1ca2e --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,+BAA+B;AAC/B,8CAA8C;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { Express } from './node/express';\nexport { Postgres } from './node/postgres';\nexport { Mysql } from './node/mysql';\nexport { Mongo } from './node/mongo';\n\n// TODO(v7): Remove this export\n// Please see `src/index.ts` for more details.\nexport { BrowserTracing } from '../browser';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/express.d.ts b/node_modules/@sentry/tracing/esm/integrations/node/express.d.ts new file mode 100644 index 000000000..56cbcca99 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/express.d.ts @@ -0,0 +1,39 @@ +import { Integration } from '@sentry/types'; +declare type Method = 'all' | 'get' | 'post' | 'put' | 'delete' | 'patch' | 'options' | 'head' | 'checkout' | 'copy' | 'lock' | 'merge' | 'mkactivity' | 'mkcol' | 'move' | 'm-search' | 'notify' | 'purge' | 'report' | 'search' | 'subscribe' | 'trace' | 'unlock' | 'unsubscribe' | 'use'; +declare type Router = { + [method in Method]: (...args: any) => any; +}; +/** + * Express integration + * + * Provides an request and error handler for Express framework as well as tracing capabilities + */ +export declare class Express implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * Express App instance + */ + private readonly _router?; + private readonly _methods?; + /** + * @inheritDoc + */ + constructor(options?: { + app?: Router; + router?: Router; + methods?: Method[]; + }); + /** + * @inheritDoc + */ + setupOnce(): void; +} +export {}; +//# sourceMappingURL=express.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/express.d.ts.map b/node_modules/@sentry/tracing/esm/integrations/node/express.d.ts.map new file mode 100644 index 000000000..c3df58bbd --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/express.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../src/integrations/node/express.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAe,MAAM,eAAe,CAAC;AAGzD,aAAK,MAAM,GACP,KAAK,GACL,KAAK,GACL,MAAM,GACN,KAAK,GACL,QAAQ,GACR,OAAO,GACP,SAAS,GACT,MAAM,GACN,UAAU,GACV,MAAM,GACN,MAAM,GACN,OAAO,GACP,YAAY,GACZ,OAAO,GACP,MAAM,GACN,UAAU,GACV,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,OAAO,GACP,QAAQ,GACR,aAAa,GACb,KAAK,CAAC;AAEV,aAAK,MAAM,GAAG;KACX,MAAM,IAAI,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG;CAC1C,CAAC;AAcF;;;;GAIG;AACH,qBAAa,OAAQ,YAAW,WAAW;IACzC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAa;IAErC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAc;IAEjC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAS;IAClC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAW;IAErC;;OAEG;gBACgB,OAAO,GAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;KAAO;IAKtF;;OAEG;IACI,SAAS,IAAI,IAAI;CAOzB"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/express.js b/node_modules/@sentry/tracing/esm/integrations/node/express.js new file mode 100644 index 000000000..5cc030c03 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/express.js @@ -0,0 +1,161 @@ +import { __read, __spread } from "tslib"; +import { logger } from '@sentry/utils'; +/** + * Express integration + * + * Provides an request and error handler for Express framework as well as tracing capabilities + */ +var Express = /** @class */ (function () { + /** + * @inheritDoc + */ + function Express(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = Express.id; + this._router = options.router || options.app; + this._methods = (Array.isArray(options.methods) ? options.methods : []).concat('use'); + } + /** + * @inheritDoc + */ + Express.prototype.setupOnce = function () { + if (!this._router) { + logger.error('ExpressIntegration is missing an Express instance'); + return; + } + instrumentMiddlewares(this._router, this._methods); + }; + /** + * @inheritDoc + */ + Express.id = 'Express'; + return Express; +}()); +export { Express }; +/** + * Wraps original middleware function in a tracing call, which stores the info about the call as a span, + * and finishes it once the middleware is done invoking. + * + * Express middlewares have 3 various forms, thus we have to take care of all of them: + * // sync + * app.use(function (req, res) { ... }) + * // async + * app.use(function (req, res, next) { ... }) + * // error handler + * app.use(function (err, req, res, next) { ... }) + * + * They all internally delegate to the `router[method]` of the given application instance. + */ +// eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any +function wrap(fn, method) { + var arity = fn.length; + switch (arity) { + case 2: { + return function (req, res) { + var transaction = res.__sentry_transaction; + if (transaction) { + var span_1 = transaction.startChild({ + description: fn.name, + op: "express.middleware." + method, + }); + res.once('finish', function () { + span_1.finish(); + }); + } + return fn.call(this, req, res); + }; + } + case 3: { + return function (req, res, next) { + var _a; + var transaction = res.__sentry_transaction; + var span = (_a = transaction) === null || _a === void 0 ? void 0 : _a.startChild({ + description: fn.name, + op: "express.middleware." + method, + }); + fn.call(this, req, res, function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + next.call.apply(next, __spread([this], args)); + }); + }; + } + case 4: { + return function (err, req, res, next) { + var _a; + var transaction = res.__sentry_transaction; + var span = (_a = transaction) === null || _a === void 0 ? void 0 : _a.startChild({ + description: fn.name, + op: "express.middleware." + method, + }); + fn.call(this, err, req, res, function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + next.call.apply(next, __spread([this], args)); + }); + }; + } + default: { + throw new Error("Express middleware takes 2-4 arguments. Got: " + arity); + } + } +} +/** + * Takes all the function arguments passed to the original `app` or `router` method, eg. `app.use` or `router.use` + * and wraps every function, as well as array of functions with a call to our `wrap` method. + * We have to take care of the arrays as well as iterate over all of the arguments, + * as `app.use` can accept middlewares in few various forms. + * + * app.use([], ) + * app.use([], , ...) + * app.use([], ...[]) + */ +function wrapMiddlewareArgs(args, method) { + return args.map(function (arg) { + if (typeof arg === 'function') { + return wrap(arg, method); + } + if (Array.isArray(arg)) { + return arg.map(function (a) { + if (typeof a === 'function') { + return wrap(a, method); + } + return a; + }); + } + return arg; + }); +} +/** + * Patches original router to utilize our tracing functionality + */ +function patchMiddleware(router, method) { + var originalCallback = router[method]; + router[method] = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + return originalCallback.call.apply(originalCallback, __spread([this], wrapMiddlewareArgs(args, method))); + }; + return router; +} +/** + * Patches original router methods + */ +function instrumentMiddlewares(router, methods) { + if (methods === void 0) { methods = []; } + methods.forEach(function (method) { return patchMiddleware(router, method); }); +} +//# sourceMappingURL=express.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/express.js.map b/node_modules/@sentry/tracing/esm/integrations/node/express.js.map new file mode 100644 index 000000000..1e09ce2be --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/express.js.map @@ -0,0 +1 @@ +{"version":3,"file":"express.js","sourceRoot":"","sources":["../../../src/integrations/node/express.ts"],"names":[],"mappings":"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","sourcesContent":["import { Integration, Transaction } from '@sentry/types';\nimport { logger } from '@sentry/utils';\n\ntype Method =\n | 'all'\n | 'get'\n | 'post'\n | 'put'\n | 'delete'\n | 'patch'\n | 'options'\n | 'head'\n | 'checkout'\n | 'copy'\n | 'lock'\n | 'merge'\n | 'mkactivity'\n | 'mkcol'\n | 'move'\n | 'm-search'\n | 'notify'\n | 'purge'\n | 'report'\n | 'search'\n | 'subscribe'\n | 'trace'\n | 'unlock'\n | 'unsubscribe'\n | 'use';\n\ntype Router = {\n [method in Method]: (...args: any) => any; // eslint-disable-line @typescript-eslint/no-explicit-any\n};\n\ninterface ExpressResponse {\n once(name: string, callback: () => void): void;\n}\n\n/**\n * Internal helper for `__sentry_transaction`\n * @hidden\n */\ninterface SentryTracingResponse {\n __sentry_transaction?: Transaction;\n}\n\n/**\n * Express integration\n *\n * Provides an request and error handler for Express framework as well as tracing capabilities\n */\nexport class Express implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Express';\n\n /**\n * @inheritDoc\n */\n public name: string = Express.id;\n\n /**\n * Express App instance\n */\n private readonly _router?: Router;\n private readonly _methods?: Method[];\n\n /**\n * @inheritDoc\n */\n public constructor(options: { app?: Router; router?: Router; methods?: Method[] } = {}) {\n this._router = options.router || options.app;\n this._methods = (Array.isArray(options.methods) ? options.methods : []).concat('use');\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(): void {\n if (!this._router) {\n logger.error('ExpressIntegration is missing an Express instance');\n return;\n }\n instrumentMiddlewares(this._router, this._methods);\n }\n}\n\n/**\n * Wraps original middleware function in a tracing call, which stores the info about the call as a span,\n * and finishes it once the middleware is done invoking.\n *\n * Express middlewares have 3 various forms, thus we have to take care of all of them:\n * // sync\n * app.use(function (req, res) { ... })\n * // async\n * app.use(function (req, res, next) { ... })\n * // error handler\n * app.use(function (err, req, res, next) { ... })\n *\n * They all internally delegate to the `router[method]` of the given application instance.\n */\n// eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any\nfunction wrap(fn: Function, method: Method): (...args: any[]) => void {\n const arity = fn.length;\n\n switch (arity) {\n case 2: {\n return function (this: NodeJS.Global, req: unknown, res: ExpressResponse & SentryTracingResponse): void {\n const transaction = res.__sentry_transaction;\n if (transaction) {\n const span = transaction.startChild({\n description: fn.name,\n op: `express.middleware.${method}`,\n });\n res.once('finish', () => {\n span.finish();\n });\n }\n return fn.call(this, req, res);\n };\n }\n case 3: {\n return function (\n this: NodeJS.Global,\n req: unknown,\n res: ExpressResponse & SentryTracingResponse,\n next: () => void,\n ): void {\n const transaction = res.__sentry_transaction;\n const span = transaction?.startChild({\n description: fn.name,\n op: `express.middleware.${method}`,\n });\n fn.call(this, req, res, function (this: NodeJS.Global, ...args: unknown[]): void {\n span?.finish();\n next.call(this, ...args);\n });\n };\n }\n case 4: {\n return function (\n this: NodeJS.Global,\n err: Error,\n req: Request,\n res: Response & SentryTracingResponse,\n next: () => void,\n ): void {\n const transaction = res.__sentry_transaction;\n const span = transaction?.startChild({\n description: fn.name,\n op: `express.middleware.${method}`,\n });\n fn.call(this, err, req, res, function (this: NodeJS.Global, ...args: unknown[]): void {\n span?.finish();\n next.call(this, ...args);\n });\n };\n }\n default: {\n throw new Error(`Express middleware takes 2-4 arguments. Got: ${arity}`);\n }\n }\n}\n\n/**\n * Takes all the function arguments passed to the original `app` or `router` method, eg. `app.use` or `router.use`\n * and wraps every function, as well as array of functions with a call to our `wrap` method.\n * We have to take care of the arrays as well as iterate over all of the arguments,\n * as `app.use` can accept middlewares in few various forms.\n *\n * app.use([], )\n * app.use([], , ...)\n * app.use([], ...[])\n */\nfunction wrapMiddlewareArgs(args: unknown[], method: Method): unknown[] {\n return args.map((arg: unknown) => {\n if (typeof arg === 'function') {\n return wrap(arg, method);\n }\n\n if (Array.isArray(arg)) {\n return arg.map((a: unknown) => {\n if (typeof a === 'function') {\n return wrap(a, method);\n }\n return a;\n });\n }\n\n return arg;\n });\n}\n\n/**\n * Patches original router to utilize our tracing functionality\n */\nfunction patchMiddleware(router: Router, method: Method): Router {\n const originalCallback = router[method];\n\n router[method] = function (...args: unknown[]): void {\n return originalCallback.call(this, ...wrapMiddlewareArgs(args, method));\n };\n\n return router;\n}\n\n/**\n * Patches original router methods\n */\nfunction instrumentMiddlewares(router: Router, methods: Method[] = []): void {\n methods.forEach((method: Method) => patchMiddleware(router, method));\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/mongo.d.ts b/node_modules/@sentry/tracing/esm/integrations/node/mongo.d.ts new file mode 100644 index 000000000..5244f0c4b --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/mongo.d.ts @@ -0,0 +1,45 @@ +import { Hub } from '@sentry/hub'; +import { EventProcessor, Integration } from '@sentry/types'; +declare type Operation = typeof OPERATIONS[number]; +declare const OPERATIONS: readonly ["aggregate", "bulkWrite", "countDocuments", "createIndex", "createIndexes", "deleteMany", "deleteOne", "distinct", "drop", "dropIndex", "dropIndexes", "estimatedDocumentCount", "find", "findOne", "findOneAndDelete", "findOneAndReplace", "findOneAndUpdate", "indexes", "indexExists", "indexInformation", "initializeOrderedBulkOp", "insertMany", "insertOne", "isCapped", "mapReduce", "options", "parallelCollectionScan", "rename", "replaceOne", "stats", "updateMany", "updateOne"]; +interface MongoOptions { + operations?: Operation[]; + describeOperations?: boolean | Operation[]; + useMongoose?: boolean; +} +/** Tracing integration for mongo package */ +export declare class Mongo implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + private _operations; + private _describeOperations?; + private _useMongoose; + /** + * @inheritDoc + */ + constructor(options?: MongoOptions); + /** + * @inheritDoc + */ + setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; + /** + * Patches original collection methods + */ + private _instrumentOperations; + /** + * Patches original collection to utilize our tracing functionality + */ + private _patchOperation; + /** + * Form a SpanContext based on the user input to a given operation. + */ + private _getSpanContextFromOperationArguments; +} +export {}; +//# sourceMappingURL=mongo.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/mongo.d.ts.map b/node_modules/@sentry/tracing/esm/integrations/node/mongo.d.ts.map new file mode 100644 index 000000000..ff6b4ee74 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/mongo.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../../../src/integrations/node/mongo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAe,MAAM,eAAe,CAAC;AAMzE,aAAK,SAAS,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3C,QAAA,MAAM,UAAU,0eAiCN,CAAC;AA2CX,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,CAAC;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,4CAA4C;AAC5C,qBAAa,KAAM,YAAW,WAAW;IACvC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAW;IAEnC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAY;IAE/B,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,mBAAmB,CAAC,CAAwB;IACpD,OAAO,CAAC,YAAY,CAAU;IAE9B;;OAEG;gBACgB,OAAO,GAAE,YAAiB;IAM7C;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;IAYvF;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAI7B;;OAEG;IACH,OAAO,CAAC,eAAe;IAqCvB;;OAEG;IACH,OAAO,CAAC,qCAAqC;CA4C9C"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/mongo.js b/node_modules/@sentry/tracing/esm/integrations/node/mongo.js new file mode 100644 index 000000000..8d7f9abc6 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/mongo.js @@ -0,0 +1,191 @@ +import { __read, __spread } from "tslib"; +import { fill, isThenable, loadModule, logger } from '@sentry/utils'; +var OPERATIONS = [ + 'aggregate', + 'bulkWrite', + 'countDocuments', + 'createIndex', + 'createIndexes', + 'deleteMany', + 'deleteOne', + 'distinct', + 'drop', + 'dropIndex', + 'dropIndexes', + 'estimatedDocumentCount', + 'find', + 'findOne', + 'findOneAndDelete', + 'findOneAndReplace', + 'findOneAndUpdate', + 'indexes', + 'indexExists', + 'indexInformation', + 'initializeOrderedBulkOp', + 'insertMany', + 'insertOne', + 'isCapped', + 'mapReduce', + 'options', + 'parallelCollectionScan', + 'rename', + 'replaceOne', + 'stats', + 'updateMany', + 'updateOne', +]; +// All of the operations above take `options` and `callback` as their final parameters, but some of them +// take additional parameters as well. For those operations, this is a map of +// { : [] }, as a way to know what to call the operation's +// positional arguments when we add them to the span's `data` object later +var OPERATION_SIGNATURES = { + // aggregate intentionally not included because `pipeline` arguments are too complex to serialize well + // see https://github.com/getsentry/sentry-javascript/pull/3102 + bulkWrite: ['operations'], + countDocuments: ['query'], + createIndex: ['fieldOrSpec'], + createIndexes: ['indexSpecs'], + deleteMany: ['filter'], + deleteOne: ['filter'], + distinct: ['key', 'query'], + dropIndex: ['indexName'], + find: ['query'], + findOne: ['query'], + findOneAndDelete: ['filter'], + findOneAndReplace: ['filter', 'replacement'], + findOneAndUpdate: ['filter', 'update'], + indexExists: ['indexes'], + insertMany: ['docs'], + insertOne: ['doc'], + mapReduce: ['map', 'reduce'], + rename: ['newName'], + replaceOne: ['filter', 'doc'], + updateMany: ['filter', 'update'], + updateOne: ['filter', 'update'], +}; +/** Tracing integration for mongo package */ +var Mongo = /** @class */ (function () { + /** + * @inheritDoc + */ + function Mongo(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = Mongo.id; + this._operations = Array.isArray(options.operations) ? options.operations : OPERATIONS; + this._describeOperations = 'describeOperations' in options ? options.describeOperations : true; + this._useMongoose = !!options.useMongoose; + } + /** + * @inheritDoc + */ + Mongo.prototype.setupOnce = function (_, getCurrentHub) { + var moduleName = this._useMongoose ? 'mongoose' : 'mongodb'; + var pkg = loadModule(moduleName); + if (!pkg) { + logger.error("Mongo Integration was unable to require `" + moduleName + "` package."); + return; + } + this._instrumentOperations(pkg.Collection, this._operations, getCurrentHub); + }; + /** + * Patches original collection methods + */ + Mongo.prototype._instrumentOperations = function (collection, operations, getCurrentHub) { + var _this = this; + operations.forEach(function (operation) { return _this._patchOperation(collection, operation, getCurrentHub); }); + }; + /** + * Patches original collection to utilize our tracing functionality + */ + Mongo.prototype._patchOperation = function (collection, operation, getCurrentHub) { + if (!(operation in collection.prototype)) + return; + var getSpanContext = this._getSpanContextFromOperationArguments.bind(this); + fill(collection.prototype, operation, function (orig) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var _a, _b, _c, _d; + var lastArg = args[args.length - 1]; + var scope = getCurrentHub().getScope(); + var parentSpan = (_a = scope) === null || _a === void 0 ? void 0 : _a.getSpan(); + // Check if the operation was passed a callback. (mapReduce requires a different check, as + // its (non-callback) arguments can also be functions.) + if (typeof lastArg !== 'function' || (operation === 'mapReduce' && args.length === 2)) { + var span_1 = (_b = parentSpan) === null || _b === void 0 ? void 0 : _b.startChild(getSpanContext(this, operation, args)); + var maybePromise = orig.call.apply(orig, __spread([this], args)); + if (isThenable(maybePromise)) { + return maybePromise.then(function (res) { + var _a; + (_a = span_1) === null || _a === void 0 ? void 0 : _a.finish(); + return res; + }); + } + else { + (_c = span_1) === null || _c === void 0 ? void 0 : _c.finish(); + return maybePromise; + } + } + var span = (_d = parentSpan) === null || _d === void 0 ? void 0 : _d.startChild(getSpanContext(this, operation, args.slice(0, -1))); + return orig.call.apply(orig, __spread([this], args.slice(0, -1), [function (err, result) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + lastArg(err, result); + }])); + }; + }); + }; + /** + * Form a SpanContext based on the user input to a given operation. + */ + Mongo.prototype._getSpanContextFromOperationArguments = function (collection, operation, args) { + var data = { + collectionName: collection.collectionName, + dbName: collection.dbName, + namespace: collection.namespace, + }; + var spanContext = { + op: "db", + description: operation, + data: data, + }; + // If the operation takes no arguments besides `options` and `callback`, or if argument + // collection is disabled for this operation, just return early. + var signature = OPERATION_SIGNATURES[operation]; + var shouldDescribe = Array.isArray(this._describeOperations) + ? this._describeOperations.includes(operation) + : this._describeOperations; + if (!signature || !shouldDescribe) { + return spanContext; + } + try { + // Special case for `mapReduce`, as the only one accepting functions as arguments. + if (operation === 'mapReduce') { + var _a = __read(args, 2), map = _a[0], reduce = _a[1]; + data[signature[0]] = typeof map === 'string' ? map : map.name || ''; + data[signature[1]] = typeof reduce === 'string' ? reduce : reduce.name || ''; + } + else { + for (var i = 0; i < signature.length; i++) { + data[signature[i]] = JSON.stringify(args[i]); + } + } + } + catch (_oO) { + // no-empty + } + return spanContext; + }; + /** + * @inheritDoc + */ + Mongo.id = 'Mongo'; + return Mongo; +}()); +export { Mongo }; +//# sourceMappingURL=mongo.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/mongo.js.map b/node_modules/@sentry/tracing/esm/integrations/node/mongo.js.map new file mode 100644 index 000000000..85ec255ff --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/mongo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mongo.js","sourceRoot":"","sources":["../../../src/integrations/node/mongo.ts"],"names":[],"mappings":"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","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration, SpanContext } from '@sentry/types';\nimport { fill, isThenable, loadModule, logger } from '@sentry/utils';\n\n// This allows us to use the same array for both defaults options and the type itself.\n// (note `as const` at the end to make it a union of string literal types (i.e. \"a\" | \"b\" | ... )\n// and not just a string[])\ntype Operation = typeof OPERATIONS[number];\nconst OPERATIONS = [\n 'aggregate', // aggregate(pipeline, options, callback)\n 'bulkWrite', // bulkWrite(operations, options, callback)\n 'countDocuments', // countDocuments(query, options, callback)\n 'createIndex', // createIndex(fieldOrSpec, options, callback)\n 'createIndexes', // createIndexes(indexSpecs, options, callback)\n 'deleteMany', // deleteMany(filter, options, callback)\n 'deleteOne', // deleteOne(filter, options, callback)\n 'distinct', // distinct(key, query, options, callback)\n 'drop', // drop(options, callback)\n 'dropIndex', // dropIndex(indexName, options, callback)\n 'dropIndexes', // dropIndexes(options, callback)\n 'estimatedDocumentCount', // estimatedDocumentCount(options, callback)\n 'find', // find(query, options, callback)\n 'findOne', // findOne(query, options, callback)\n 'findOneAndDelete', // findOneAndDelete(filter, options, callback)\n 'findOneAndReplace', // findOneAndReplace(filter, replacement, options, callback)\n 'findOneAndUpdate', // findOneAndUpdate(filter, update, options, callback)\n 'indexes', // indexes(options, callback)\n 'indexExists', // indexExists(indexes, options, callback)\n 'indexInformation', // indexInformation(options, callback)\n 'initializeOrderedBulkOp', // initializeOrderedBulkOp(options, callback)\n 'insertMany', // insertMany(docs, options, callback)\n 'insertOne', // insertOne(doc, options, callback)\n 'isCapped', // isCapped(options, callback)\n 'mapReduce', // mapReduce(map, reduce, options, callback)\n 'options', // options(options, callback)\n 'parallelCollectionScan', // parallelCollectionScan(options, callback)\n 'rename', // rename(newName, options, callback)\n 'replaceOne', // replaceOne(filter, doc, options, callback)\n 'stats', // stats(options, callback)\n 'updateMany', // updateMany(filter, update, options, callback)\n 'updateOne', // updateOne(filter, update, options, callback)\n] as const;\n\n// All of the operations above take `options` and `callback` as their final parameters, but some of them\n// take additional parameters as well. For those operations, this is a map of\n// { : [] }, as a way to know what to call the operation's\n// positional arguments when we add them to the span's `data` object later\nconst OPERATION_SIGNATURES: {\n [op in Operation]?: string[];\n} = {\n // aggregate intentionally not included because `pipeline` arguments are too complex to serialize well\n // see https://github.com/getsentry/sentry-javascript/pull/3102\n bulkWrite: ['operations'],\n countDocuments: ['query'],\n createIndex: ['fieldOrSpec'],\n createIndexes: ['indexSpecs'],\n deleteMany: ['filter'],\n deleteOne: ['filter'],\n distinct: ['key', 'query'],\n dropIndex: ['indexName'],\n find: ['query'],\n findOne: ['query'],\n findOneAndDelete: ['filter'],\n findOneAndReplace: ['filter', 'replacement'],\n findOneAndUpdate: ['filter', 'update'],\n indexExists: ['indexes'],\n insertMany: ['docs'],\n insertOne: ['doc'],\n mapReduce: ['map', 'reduce'],\n rename: ['newName'],\n replaceOne: ['filter', 'doc'],\n updateMany: ['filter', 'update'],\n updateOne: ['filter', 'update'],\n};\n\ninterface MongoCollection {\n collectionName: string;\n dbName: string;\n namespace: string;\n prototype: {\n [operation in Operation]: (...args: unknown[]) => unknown;\n };\n}\n\ninterface MongoOptions {\n operations?: Operation[];\n describeOperations?: boolean | Operation[];\n useMongoose?: boolean;\n}\n\n/** Tracing integration for mongo package */\nexport class Mongo implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Mongo';\n\n /**\n * @inheritDoc\n */\n public name: string = Mongo.id;\n\n private _operations: Operation[];\n private _describeOperations?: boolean | Operation[];\n private _useMongoose: boolean;\n\n /**\n * @inheritDoc\n */\n public constructor(options: MongoOptions = {}) {\n this._operations = Array.isArray(options.operations) ? options.operations : (OPERATIONS as unknown as Operation[]);\n this._describeOperations = 'describeOperations' in options ? options.describeOperations : true;\n this._useMongoose = !!options.useMongoose;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n const moduleName = this._useMongoose ? 'mongoose' : 'mongodb';\n const pkg = loadModule<{ Collection: MongoCollection }>(moduleName);\n\n if (!pkg) {\n logger.error(`Mongo Integration was unable to require \\`${moduleName}\\` package.`);\n return;\n }\n\n this._instrumentOperations(pkg.Collection, this._operations, getCurrentHub);\n }\n\n /**\n * Patches original collection methods\n */\n private _instrumentOperations(collection: MongoCollection, operations: Operation[], getCurrentHub: () => Hub): void {\n operations.forEach((operation: Operation) => this._patchOperation(collection, operation, getCurrentHub));\n }\n\n /**\n * Patches original collection to utilize our tracing functionality\n */\n private _patchOperation(collection: MongoCollection, operation: Operation, getCurrentHub: () => Hub): void {\n if (!(operation in collection.prototype)) return;\n\n const getSpanContext = this._getSpanContextFromOperationArguments.bind(this);\n\n fill(collection.prototype, operation, function (orig: () => void | Promise) {\n return function (this: unknown, ...args: unknown[]) {\n const lastArg = args[args.length - 1];\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n\n // Check if the operation was passed a callback. (mapReduce requires a different check, as\n // its (non-callback) arguments can also be functions.)\n if (typeof lastArg !== 'function' || (operation === 'mapReduce' && args.length === 2)) {\n const span = parentSpan?.startChild(getSpanContext(this, operation, args));\n const maybePromise = orig.call(this, ...args) as Promise;\n\n if (isThenable(maybePromise)) {\n return maybePromise.then((res: unknown) => {\n span?.finish();\n return res;\n });\n } else {\n span?.finish();\n return maybePromise;\n }\n }\n\n const span = parentSpan?.startChild(getSpanContext(this, operation, args.slice(0, -1)));\n return orig.call(this, ...args.slice(0, -1), function (err: Error, result: unknown) {\n span?.finish();\n lastArg(err, result);\n });\n };\n });\n }\n\n /**\n * Form a SpanContext based on the user input to a given operation.\n */\n private _getSpanContextFromOperationArguments(\n collection: MongoCollection,\n operation: Operation,\n args: unknown[],\n ): SpanContext {\n const data: { [key: string]: string } = {\n collectionName: collection.collectionName,\n dbName: collection.dbName,\n namespace: collection.namespace,\n };\n const spanContext: SpanContext = {\n op: `db`,\n description: operation,\n data,\n };\n\n // If the operation takes no arguments besides `options` and `callback`, or if argument\n // collection is disabled for this operation, just return early.\n const signature = OPERATION_SIGNATURES[operation];\n const shouldDescribe = Array.isArray(this._describeOperations)\n ? this._describeOperations.includes(operation)\n : this._describeOperations;\n\n if (!signature || !shouldDescribe) {\n return spanContext;\n }\n\n try {\n // Special case for `mapReduce`, as the only one accepting functions as arguments.\n if (operation === 'mapReduce') {\n const [map, reduce] = args as { name?: string }[];\n data[signature[0]] = typeof map === 'string' ? map : map.name || '';\n data[signature[1]] = typeof reduce === 'string' ? reduce : reduce.name || '';\n } else {\n for (let i = 0; i < signature.length; i++) {\n data[signature[i]] = JSON.stringify(args[i]);\n }\n }\n } catch (_oO) {\n // no-empty\n }\n\n return spanContext;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/mysql.d.ts b/node_modules/@sentry/tracing/esm/integrations/node/mysql.d.ts new file mode 100644 index 000000000..bdbfd4bbc --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/mysql.d.ts @@ -0,0 +1,18 @@ +import { Hub } from '@sentry/hub'; +import { EventProcessor, Integration } from '@sentry/types'; +/** Tracing integration for node-mysql package */ +export declare class Mysql implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + /** + * @inheritDoc + */ + setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; +} +//# sourceMappingURL=mysql.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/mysql.d.ts.map b/node_modules/@sentry/tracing/esm/integrations/node/mysql.d.ts.map new file mode 100644 index 000000000..16fc0a921 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/mysql.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../src/integrations/node/mysql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5D,iDAAiD;AACjD,qBAAa,KAAM,YAAW,WAAW;IACvC;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAW;IAEnC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAY;IAE/B;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;CAuCxF"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/mysql.js b/node_modules/@sentry/tracing/esm/integrations/node/mysql.js new file mode 100644 index 000000000..271d03f45 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/mysql.js @@ -0,0 +1,57 @@ +import { fill, loadModule, logger } from '@sentry/utils'; +/** Tracing integration for node-mysql package */ +var Mysql = /** @class */ (function () { + function Mysql() { + /** + * @inheritDoc + */ + this.name = Mysql.id; + } + /** + * @inheritDoc + */ + Mysql.prototype.setupOnce = function (_, getCurrentHub) { + var pkg = loadModule('mysql/lib/Connection.js'); + if (!pkg) { + logger.error('Mysql Integration was unable to require `mysql` package.'); + return; + } + // The original function will have one of these signatures: + // function (callback) => void + // function (options, callback) => void + // function (options, values, callback) => void + fill(pkg, 'createQuery', function (orig) { + return function (options, values, callback) { + var _a, _b; + var scope = getCurrentHub().getScope(); + var parentSpan = (_a = scope) === null || _a === void 0 ? void 0 : _a.getSpan(); + var span = (_b = parentSpan) === null || _b === void 0 ? void 0 : _b.startChild({ + description: typeof options === 'string' ? options : options.sql, + op: "db", + }); + if (typeof callback === 'function') { + return orig.call(this, options, values, function (err, result, fields) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + callback(err, result, fields); + }); + } + if (typeof values === 'function') { + return orig.call(this, options, function (err, result, fields) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + values(err, result, fields); + }); + } + return orig.call(this, options, values, callback); + }; + }); + }; + /** + * @inheritDoc + */ + Mysql.id = 'Mysql'; + return Mysql; +}()); +export { Mysql }; +//# sourceMappingURL=mysql.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/mysql.js.map b/node_modules/@sentry/tracing/esm/integrations/node/mysql.js.map new file mode 100644 index 000000000..43cd75746 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/mysql.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mysql.js","sourceRoot":"","sources":["../../../src/integrations/node/mysql.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAMzD,iDAAiD;AACjD;IAAA;QAME;;WAEG;QACI,SAAI,GAAW,KAAK,CAAC,EAAE,CAAC;IA4CjC,CAAC;IA1CC;;OAEG;IACI,yBAAS,GAAhB,UAAiB,CAAqC,EAAE,aAAwB;QAC9E,IAAM,GAAG,GAAG,UAAU,CAAkB,yBAAyB,CAAC,CAAC;QAEnE,IAAI,CAAC,GAAG,EAAE;YACR,MAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;YACzE,OAAO;SACR;QAED,2DAA2D;QAC3D,iCAAiC;QACjC,0CAA0C;QAC1C,kDAAkD;QAClD,IAAI,CAAC,GAAG,EAAE,aAAa,EAAE,UAAU,IAAgB;YACjD,OAAO,UAAyB,OAAgB,EAAE,MAAe,EAAE,QAAiB;;gBAClF,IAAM,KAAK,GAAG,aAAa,EAAE,CAAC,QAAQ,EAAE,CAAC;gBACzC,IAAM,UAAU,SAAG,KAAK,0CAAE,OAAO,EAAE,CAAC;gBACpC,IAAM,IAAI,SAAG,UAAU,0CAAE,UAAU,CAAC;oBAClC,WAAW,EAAE,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,OAA2B,CAAC,GAAG;oBACrF,EAAE,EAAE,IAAI;iBACT,CAAC,CAAC;gBAEH,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;oBAClC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,GAAU,EAAE,MAAe,EAAE,MAAe;;wBAC5F,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;oBAChC,CAAC,CAAC,CAAC;iBACJ;gBAED,IAAI,OAAO,MAAM,KAAK,UAAU,EAAE;oBAChC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,GAAU,EAAE,MAAe,EAAE,MAAe;;wBACpF,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;oBAC9B,CAAC,CAAC,CAAC;iBACJ;gBAED,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;YACpD,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAnDD;;OAEG;IACW,QAAE,GAAW,OAAO,CAAC;IAiDrC,YAAC;CAAA,AArDD,IAqDC;SArDY,KAAK","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration } from '@sentry/types';\nimport { fill, loadModule, logger } from '@sentry/utils';\n\ninterface MysqlConnection {\n createQuery: () => void;\n}\n\n/** Tracing integration for node-mysql package */\nexport class Mysql implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Mysql';\n\n /**\n * @inheritDoc\n */\n public name: string = Mysql.id;\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n const pkg = loadModule('mysql/lib/Connection.js');\n\n if (!pkg) {\n logger.error('Mysql Integration was unable to require `mysql` package.');\n return;\n }\n\n // The original function will have one of these signatures:\n // function (callback) => void\n // function (options, callback) => void\n // function (options, values, callback) => void\n fill(pkg, 'createQuery', function (orig: () => void) {\n return function (this: unknown, options: unknown, values: unknown, callback: unknown) {\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n const span = parentSpan?.startChild({\n description: typeof options === 'string' ? options : (options as { sql: string }).sql,\n op: `db`,\n });\n\n if (typeof callback === 'function') {\n return orig.call(this, options, values, function (err: Error, result: unknown, fields: unknown) {\n span?.finish();\n callback(err, result, fields);\n });\n }\n\n if (typeof values === 'function') {\n return orig.call(this, options, function (err: Error, result: unknown, fields: unknown) {\n span?.finish();\n values(err, result, fields);\n });\n }\n\n return orig.call(this, options, values, callback);\n };\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/postgres.d.ts b/node_modules/@sentry/tracing/esm/integrations/node/postgres.d.ts new file mode 100644 index 000000000..680fe66a1 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/postgres.d.ts @@ -0,0 +1,24 @@ +import { Hub } from '@sentry/hub'; +import { EventProcessor, Integration } from '@sentry/types'; +interface PgOptions { + usePgNative?: boolean; +} +/** Tracing integration for node-postgres package */ +export declare class Postgres implements Integration { + /** + * @inheritDoc + */ + static id: string; + /** + * @inheritDoc + */ + name: string; + private _usePgNative; + constructor(options?: PgOptions); + /** + * @inheritDoc + */ + setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; +} +export {}; +//# sourceMappingURL=postgres.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/postgres.d.ts.map b/node_modules/@sentry/tracing/esm/integrations/node/postgres.d.ts.map new file mode 100644 index 000000000..908a24354 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/postgres.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../src/integrations/node/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAS5D,UAAU,SAAS;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,oDAAoD;AACpD,qBAAa,QAAS,YAAW,WAAW;IAC1C;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAc;IAEtC;;OAEG;IACI,IAAI,EAAE,MAAM,CAAe;IAElC,OAAO,CAAC,YAAY,CAAU;gBAEX,OAAO,GAAE,SAAc;IAI1C;;OAEG;IACI,SAAS,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI;CA2DxF"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/postgres.js b/node_modules/@sentry/tracing/esm/integrations/node/postgres.js new file mode 100644 index 000000000..be8786e6b --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/postgres.js @@ -0,0 +1,77 @@ +import { fill, isThenable, loadModule, logger } from '@sentry/utils'; +/** Tracing integration for node-postgres package */ +var Postgres = /** @class */ (function () { + function Postgres(options) { + if (options === void 0) { options = {}; } + /** + * @inheritDoc + */ + this.name = Postgres.id; + this._usePgNative = !!options.usePgNative; + } + /** + * @inheritDoc + */ + Postgres.prototype.setupOnce = function (_, getCurrentHub) { + var _a; + var pkg = loadModule('pg'); + if (!pkg) { + logger.error('Postgres Integration was unable to require `pg` package.'); + return; + } + if (this._usePgNative && !((_a = pkg.native) === null || _a === void 0 ? void 0 : _a.Client)) { + logger.error("Postgres Integration was unable to access 'pg-native' bindings."); + return; + } + var Client = (this._usePgNative ? pkg.native : pkg).Client; + /** + * function (query, callback) => void + * function (query, params, callback) => void + * function (query) => Promise + * function (query, params) => Promise + * function (pg.Cursor) => pg.Cursor + */ + fill(Client.prototype, 'query', function (orig) { + return function (config, values, callback) { + var _a, _b, _c; + var scope = getCurrentHub().getScope(); + var parentSpan = (_a = scope) === null || _a === void 0 ? void 0 : _a.getSpan(); + var span = (_b = parentSpan) === null || _b === void 0 ? void 0 : _b.startChild({ + description: typeof config === 'string' ? config : config.text, + op: "db", + }); + if (typeof callback === 'function') { + return orig.call(this, config, values, function (err, result) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + callback(err, result); + }); + } + if (typeof values === 'function') { + return orig.call(this, config, function (err, result) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + values(err, result); + }); + } + var rv = typeof values !== 'undefined' ? orig.call(this, config, values) : orig.call(this, config); + if (isThenable(rv)) { + return rv.then(function (res) { + var _a; + (_a = span) === null || _a === void 0 ? void 0 : _a.finish(); + return res; + }); + } + (_c = span) === null || _c === void 0 ? void 0 : _c.finish(); + return rv; + }; + }); + }; + /** + * @inheritDoc + */ + Postgres.id = 'Postgres'; + return Postgres; +}()); +export { Postgres }; +//# sourceMappingURL=postgres.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/integrations/node/postgres.js.map b/node_modules/@sentry/tracing/esm/integrations/node/postgres.js.map new file mode 100644 index 000000000..ca588d65f --- /dev/null +++ b/node_modules/@sentry/tracing/esm/integrations/node/postgres.js.map @@ -0,0 +1 @@ +{"version":3,"file":"postgres.js","sourceRoot":"","sources":["../../../src/integrations/node/postgres.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAYrE,oDAAoD;AACpD;IAaE,kBAAmB,OAAuB;QAAvB,wBAAA,EAAA,YAAuB;QAP1C;;WAEG;QACI,SAAI,GAAW,QAAQ,CAAC,EAAE,CAAC;QAKhC,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IAC5C,CAAC;IAED;;OAEG;IACI,4BAAS,GAAhB,UAAiB,CAAqC,EAAE,aAAwB;;QAC9E,IAAM,GAAG,GAAG,UAAU,CAAqD,IAAI,CAAC,CAAC;QAEjF,IAAI,CAAC,GAAG,EAAE;YACR,MAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;YACzE,OAAO;SACR;QAED,IAAI,IAAI,CAAC,YAAY,IAAI,QAAC,GAAG,CAAC,MAAM,0CAAE,MAAM,CAAA,EAAE;YAC5C,MAAM,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;YAChF,OAAO;SACR;QAEO,IAAA,sDAAM,CAA0C;QAExD;;;;;;WAMG;QACH,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,IAAmC;YAC3E,OAAO,UAAyB,MAAe,EAAE,MAAe,EAAE,QAAiB;;gBACjF,IAAM,KAAK,GAAG,aAAa,EAAE,CAAC,QAAQ,EAAE,CAAC;gBACzC,IAAM,UAAU,SAAG,KAAK,0CAAE,OAAO,EAAE,CAAC;gBACpC,IAAM,IAAI,SAAG,UAAU,0CAAE,UAAU,CAAC;oBAClC,WAAW,EAAE,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAE,MAA2B,CAAC,IAAI;oBACpF,EAAE,EAAE,IAAI;iBACT,CAAC,CAAC;gBAEH,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;oBAClC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAU,EAAE,MAAe;;wBAC1E,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBACxB,CAAC,CAAC,CAAC;iBACJ;gBAED,IAAI,OAAO,MAAM,KAAK,UAAU,EAAE;oBAChC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,GAAU,EAAE,MAAe;;wBAClE,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBACtB,CAAC,CAAC,CAAC;iBACJ;gBAED,IAAM,EAAE,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;gBAErG,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE;oBAClB,OAAQ,EAAuB,CAAC,IAAI,CAAC,UAAC,GAAY;;wBAChD,MAAA,IAAI,0CAAE,MAAM,GAAG;wBACf,OAAO,GAAG,CAAC;oBACb,CAAC,CAAC,CAAC;iBACJ;gBAED,MAAA,IAAI,0CAAE,MAAM,GAAG;gBACf,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IA7ED;;OAEG;IACW,WAAE,GAAW,UAAU,CAAC;IA2ExC,eAAC;CAAA,AA/ED,IA+EC;SA/EY,QAAQ","sourcesContent":["import { Hub } from '@sentry/hub';\nimport { EventProcessor, Integration } from '@sentry/types';\nimport { fill, isThenable, loadModule, logger } from '@sentry/utils';\n\ninterface PgClient {\n prototype: {\n query: () => void | Promise;\n };\n}\n\ninterface PgOptions {\n usePgNative?: boolean;\n}\n\n/** Tracing integration for node-postgres package */\nexport class Postgres implements Integration {\n /**\n * @inheritDoc\n */\n public static id: string = 'Postgres';\n\n /**\n * @inheritDoc\n */\n public name: string = Postgres.id;\n\n private _usePgNative: boolean;\n\n public constructor(options: PgOptions = {}) {\n this._usePgNative = !!options.usePgNative;\n }\n\n /**\n * @inheritDoc\n */\n public setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void {\n const pkg = loadModule<{ Client: PgClient; native: { Client: PgClient } }>('pg');\n\n if (!pkg) {\n logger.error('Postgres Integration was unable to require `pg` package.');\n return;\n }\n\n if (this._usePgNative && !pkg.native?.Client) {\n logger.error(`Postgres Integration was unable to access 'pg-native' bindings.`);\n return;\n }\n\n const { Client } = this._usePgNative ? pkg.native : pkg;\n\n /**\n * function (query, callback) => void\n * function (query, params, callback) => void\n * function (query) => Promise\n * function (query, params) => Promise\n * function (pg.Cursor) => pg.Cursor\n */\n fill(Client.prototype, 'query', function (orig: () => void | Promise) {\n return function (this: unknown, config: unknown, values: unknown, callback: unknown) {\n const scope = getCurrentHub().getScope();\n const parentSpan = scope?.getSpan();\n const span = parentSpan?.startChild({\n description: typeof config === 'string' ? config : (config as { text: string }).text,\n op: `db`,\n });\n\n if (typeof callback === 'function') {\n return orig.call(this, config, values, function (err: Error, result: unknown) {\n span?.finish();\n callback(err, result);\n });\n }\n\n if (typeof values === 'function') {\n return orig.call(this, config, function (err: Error, result: unknown) {\n span?.finish();\n values(err, result);\n });\n }\n\n const rv = typeof values !== 'undefined' ? orig.call(this, config, values) : orig.call(this, config);\n\n if (isThenable(rv)) {\n return (rv as Promise).then((res: unknown) => {\n span?.finish();\n return res;\n });\n }\n\n span?.finish();\n return rv;\n };\n });\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/span.d.ts b/node_modules/@sentry/tracing/esm/span.d.ts new file mode 100644 index 000000000..4a3f26eed --- /dev/null +++ b/node_modules/@sentry/tracing/esm/span.d.ts @@ -0,0 +1,212 @@ +import { Primitive, Span as SpanInterface, SpanContext, Transaction } from '@sentry/types'; +/** + * Keeps track of finished spans for a given transaction + * @internal + * @hideconstructor + * @hidden + */ +export declare class SpanRecorder { + spans: Span[]; + private readonly _maxlen; + constructor(maxlen?: number); + /** + * This is just so that we don't run out of memory while recording a lot + * of spans. At some point we just stop and flush out the start of the + * trace tree (i.e.the first n spans with the smallest + * start_timestamp). + */ + add(span: Span): void; +} +/** + * Span contains all data about a span + */ +export declare class Span implements SpanInterface { + /** + * @inheritDoc + */ + traceId: string; + /** + * @inheritDoc + */ + spanId: string; + /** + * @inheritDoc + */ + parentSpanId?: string; + /** + * Internal keeper of the status + */ + status?: SpanStatusType | string; + /** + * @inheritDoc + */ + sampled?: boolean; + /** + * Timestamp in seconds when the span was created. + */ + startTimestamp: number; + /** + * Timestamp in seconds when the span ended. + */ + endTimestamp?: number; + /** + * @inheritDoc + */ + op?: string; + /** + * @inheritDoc + */ + description?: string; + /** + * @inheritDoc + */ + tags: { + [key: string]: Primitive; + }; + /** + * @inheritDoc + */ + data: { + [key: string]: any; + }; + /** + * List of spans that were finalized + */ + spanRecorder?: SpanRecorder; + /** + * @inheritDoc + */ + transaction?: Transaction; + /** + * You should never call the constructor manually, always use `Sentry.startTransaction()` + * or call `startChild()` on an existing span. + * @internal + * @hideconstructor + * @hidden + */ + constructor(spanContext?: SpanContext); + /** + * @inheritDoc + * @deprecated + */ + child(spanContext?: Pick>): Span; + /** + * @inheritDoc + */ + startChild(spanContext?: Pick>): Span; + /** + * @inheritDoc + */ + setTag(key: string, value: Primitive): this; + /** + * @inheritDoc + */ + setData(key: string, value: any): this; + /** + * @inheritDoc + */ + setStatus(value: SpanStatusType): this; + /** + * @inheritDoc + */ + setHttpStatus(httpStatus: number): this; + /** + * @inheritDoc + */ + isSuccess(): boolean; + /** + * @inheritDoc + */ + finish(endTimestamp?: number): void; + /** + * @inheritDoc + */ + toTraceparent(): string; + /** + * @inheritDoc + */ + toContext(): SpanContext; + /** + * @inheritDoc + */ + updateWithContext(spanContext: SpanContext): this; + /** + * @inheritDoc + */ + getTraceContext(): { + data?: { + [key: string]: any; + }; + description?: string; + op?: string; + parent_span_id?: string; + span_id: string; + status?: string; + tags?: { + [key: string]: Primitive; + }; + trace_id: string; + }; + /** + * @inheritDoc + */ + toJSON(): { + data?: { + [key: string]: any; + }; + description?: string; + op?: string; + parent_span_id?: string; + span_id: string; + start_timestamp: number; + status?: string; + tags?: { + [key: string]: Primitive; + }; + timestamp?: number; + trace_id: string; + }; +} +export declare type SpanStatusType = +/** The operation completed successfully. */ +'ok' +/** Deadline expired before operation could complete. */ + | 'deadline_exceeded' +/** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */ + | 'unauthenticated' +/** 403 Forbidden */ + | 'permission_denied' +/** 404 Not Found. Some requested entity (file or directory) was not found. */ + | 'not_found' +/** 429 Too Many Requests */ + | 'resource_exhausted' +/** Client specified an invalid argument. 4xx. */ + | 'invalid_argument' +/** 501 Not Implemented */ + | 'unimplemented' +/** 503 Service Unavailable */ + | 'unavailable' +/** Other/generic 5xx. */ + | 'internal_error' +/** Unknown. Any non-standard HTTP status code. */ + | 'unknown_error' +/** The operation was cancelled (typically by the user). */ + | 'cancelled' +/** Already exists (409) */ + | 'already_exists' +/** Operation was rejected because the system is not in a state required for the operation's */ + | 'failed_precondition' +/** The operation was aborted, typically due to a concurrency issue. */ + | 'aborted' +/** Operation was attempted past the valid range. */ + | 'out_of_range' +/** Unrecoverable data loss or corruption */ + | 'data_loss'; +/** + * Converts a HTTP status code into a {@link SpanStatusType}. + * + * @param httpStatus The HTTP response status code. + * @returns The span status or unknown_error. + */ +export declare function spanStatusfromHttpCode(httpStatus: number): SpanStatusType; +//# sourceMappingURL=span.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/span.d.ts.map b/node_modules/@sentry/tracing/esm/span.d.ts.map new file mode 100644 index 000000000..a11fecc5a --- /dev/null +++ b/node_modules/@sentry/tracing/esm/span.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"span.d.ts","sourceRoot":"","sources":["../src/span.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/span.js b/node_modules/@sentry/tracing/esm/span.js new file mode 100644 index 000000000..d7d86671a --- /dev/null +++ b/node_modules/@sentry/tracing/esm/span.js @@ -0,0 +1,292 @@ +import { __assign } from "tslib"; +import { dropUndefinedKeys, timestampWithMs, uuid4 } from '@sentry/utils'; +/** + * Keeps track of finished spans for a given transaction + * @internal + * @hideconstructor + * @hidden + */ +var SpanRecorder = /** @class */ (function () { + function SpanRecorder(maxlen) { + if (maxlen === void 0) { maxlen = 1000; } + this.spans = []; + this._maxlen = maxlen; + } + /** + * This is just so that we don't run out of memory while recording a lot + * of spans. At some point we just stop and flush out the start of the + * trace tree (i.e.the first n spans with the smallest + * start_timestamp). + */ + SpanRecorder.prototype.add = function (span) { + if (this.spans.length > this._maxlen) { + span.spanRecorder = undefined; + } + else { + this.spans.push(span); + } + }; + return SpanRecorder; +}()); +export { SpanRecorder }; +/** + * Span contains all data about a span + */ +var Span = /** @class */ (function () { + /** + * You should never call the constructor manually, always use `Sentry.startTransaction()` + * or call `startChild()` on an existing span. + * @internal + * @hideconstructor + * @hidden + */ + function Span(spanContext) { + /** + * @inheritDoc + */ + this.traceId = uuid4(); + /** + * @inheritDoc + */ + this.spanId = uuid4().substring(16); + /** + * Timestamp in seconds when the span was created. + */ + this.startTimestamp = timestampWithMs(); + /** + * @inheritDoc + */ + this.tags = {}; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + this.data = {}; + if (!spanContext) { + return this; + } + if (spanContext.traceId) { + this.traceId = spanContext.traceId; + } + if (spanContext.spanId) { + this.spanId = spanContext.spanId; + } + if (spanContext.parentSpanId) { + this.parentSpanId = spanContext.parentSpanId; + } + // We want to include booleans as well here + if ('sampled' in spanContext) { + this.sampled = spanContext.sampled; + } + if (spanContext.op) { + this.op = spanContext.op; + } + if (spanContext.description) { + this.description = spanContext.description; + } + if (spanContext.data) { + this.data = spanContext.data; + } + if (spanContext.tags) { + this.tags = spanContext.tags; + } + if (spanContext.status) { + this.status = spanContext.status; + } + if (spanContext.startTimestamp) { + this.startTimestamp = spanContext.startTimestamp; + } + if (spanContext.endTimestamp) { + this.endTimestamp = spanContext.endTimestamp; + } + } + /** + * @inheritDoc + * @deprecated + */ + Span.prototype.child = function (spanContext) { + return this.startChild(spanContext); + }; + /** + * @inheritDoc + */ + Span.prototype.startChild = function (spanContext) { + var childSpan = new Span(__assign(__assign({}, spanContext), { parentSpanId: this.spanId, sampled: this.sampled, traceId: this.traceId })); + childSpan.spanRecorder = this.spanRecorder; + if (childSpan.spanRecorder) { + childSpan.spanRecorder.add(childSpan); + } + childSpan.transaction = this.transaction; + return childSpan; + }; + /** + * @inheritDoc + */ + Span.prototype.setTag = function (key, value) { + var _a; + this.tags = __assign(__assign({}, this.tags), (_a = {}, _a[key] = value, _a)); + return this; + }; + /** + * @inheritDoc + */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types + Span.prototype.setData = function (key, value) { + var _a; + this.data = __assign(__assign({}, this.data), (_a = {}, _a[key] = value, _a)); + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.setStatus = function (value) { + this.status = value; + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.setHttpStatus = function (httpStatus) { + this.setTag('http.status_code', String(httpStatus)); + var spanStatus = spanStatusfromHttpCode(httpStatus); + if (spanStatus !== 'unknown_error') { + this.setStatus(spanStatus); + } + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.isSuccess = function () { + return this.status === 'ok'; + }; + /** + * @inheritDoc + */ + Span.prototype.finish = function (endTimestamp) { + this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs(); + }; + /** + * @inheritDoc + */ + Span.prototype.toTraceparent = function () { + var sampledString = ''; + if (this.sampled !== undefined) { + sampledString = this.sampled ? '-1' : '-0'; + } + return this.traceId + "-" + this.spanId + sampledString; + }; + /** + * @inheritDoc + */ + Span.prototype.toContext = function () { + return dropUndefinedKeys({ + data: this.data, + description: this.description, + endTimestamp: this.endTimestamp, + op: this.op, + parentSpanId: this.parentSpanId, + sampled: this.sampled, + spanId: this.spanId, + startTimestamp: this.startTimestamp, + status: this.status, + tags: this.tags, + traceId: this.traceId, + }); + }; + /** + * @inheritDoc + */ + Span.prototype.updateWithContext = function (spanContext) { + var _a, _b, _c, _d, _e; + this.data = (_a = spanContext.data, (_a !== null && _a !== void 0 ? _a : {})); + this.description = spanContext.description; + this.endTimestamp = spanContext.endTimestamp; + this.op = spanContext.op; + this.parentSpanId = spanContext.parentSpanId; + this.sampled = spanContext.sampled; + this.spanId = (_b = spanContext.spanId, (_b !== null && _b !== void 0 ? _b : this.spanId)); + this.startTimestamp = (_c = spanContext.startTimestamp, (_c !== null && _c !== void 0 ? _c : this.startTimestamp)); + this.status = spanContext.status; + this.tags = (_d = spanContext.tags, (_d !== null && _d !== void 0 ? _d : {})); + this.traceId = (_e = spanContext.traceId, (_e !== null && _e !== void 0 ? _e : this.traceId)); + return this; + }; + /** + * @inheritDoc + */ + Span.prototype.getTraceContext = function () { + return dropUndefinedKeys({ + data: Object.keys(this.data).length > 0 ? this.data : undefined, + description: this.description, + op: this.op, + parent_span_id: this.parentSpanId, + span_id: this.spanId, + status: this.status, + tags: Object.keys(this.tags).length > 0 ? this.tags : undefined, + trace_id: this.traceId, + }); + }; + /** + * @inheritDoc + */ + Span.prototype.toJSON = function () { + return dropUndefinedKeys({ + data: Object.keys(this.data).length > 0 ? this.data : undefined, + description: this.description, + op: this.op, + parent_span_id: this.parentSpanId, + span_id: this.spanId, + start_timestamp: this.startTimestamp, + status: this.status, + tags: Object.keys(this.tags).length > 0 ? this.tags : undefined, + timestamp: this.endTimestamp, + trace_id: this.traceId, + }); + }; + return Span; +}()); +export { Span }; +/** + * Converts a HTTP status code into a {@link SpanStatusType}. + * + * @param httpStatus The HTTP response status code. + * @returns The span status or unknown_error. + */ +export function spanStatusfromHttpCode(httpStatus) { + if (httpStatus < 400 && httpStatus >= 100) { + return 'ok'; + } + if (httpStatus >= 400 && httpStatus < 500) { + switch (httpStatus) { + case 401: + return 'unauthenticated'; + case 403: + return 'permission_denied'; + case 404: + return 'not_found'; + case 409: + return 'already_exists'; + case 413: + return 'failed_precondition'; + case 429: + return 'resource_exhausted'; + default: + return 'invalid_argument'; + } + } + if (httpStatus >= 500 && httpStatus < 600) { + switch (httpStatus) { + case 501: + return 'unimplemented'; + case 503: + return 'unavailable'; + case 504: + return 'deadline_exceeded'; + default: + return 'internal_error'; + } + } + return 'unknown_error'; +} +//# sourceMappingURL=span.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/span.js.map b/node_modules/@sentry/tracing/esm/span.js.map new file mode 100644 index 000000000..41205d395 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/span.js.map @@ -0,0 +1 @@ +{"version":3,"file":"span.js","sourceRoot":"","sources":["../src/span.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\nimport { Primitive, Span as SpanInterface, SpanContext, Transaction } from '@sentry/types';\nimport { dropUndefinedKeys, timestampWithMs, uuid4 } from '@sentry/utils';\n\n/**\n * Keeps track of finished spans for a given transaction\n * @internal\n * @hideconstructor\n * @hidden\n */\nexport class SpanRecorder {\n public spans: Span[] = [];\n\n private readonly _maxlen: number;\n\n public constructor(maxlen: number = 1000) {\n this._maxlen = maxlen;\n }\n\n /**\n * This is just so that we don't run out of memory while recording a lot\n * of spans. At some point we just stop and flush out the start of the\n * trace tree (i.e.the first n spans with the smallest\n * start_timestamp).\n */\n public add(span: Span): void {\n if (this.spans.length > this._maxlen) {\n span.spanRecorder = undefined;\n } else {\n this.spans.push(span);\n }\n }\n}\n\n/**\n * Span contains all data about a span\n */\nexport class Span implements SpanInterface {\n /**\n * @inheritDoc\n */\n public traceId: string = uuid4();\n\n /**\n * @inheritDoc\n */\n public spanId: string = uuid4().substring(16);\n\n /**\n * @inheritDoc\n */\n public parentSpanId?: string;\n\n /**\n * Internal keeper of the status\n */\n public status?: SpanStatusType | string;\n\n /**\n * @inheritDoc\n */\n public sampled?: boolean;\n\n /**\n * Timestamp in seconds when the span was created.\n */\n public startTimestamp: number = timestampWithMs();\n\n /**\n * Timestamp in seconds when the span ended.\n */\n public endTimestamp?: number;\n\n /**\n * @inheritDoc\n */\n public op?: string;\n\n /**\n * @inheritDoc\n */\n public description?: string;\n\n /**\n * @inheritDoc\n */\n public tags: { [key: string]: Primitive } = {};\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public data: { [key: string]: any } = {};\n\n /**\n * List of spans that were finalized\n */\n public spanRecorder?: SpanRecorder;\n\n /**\n * @inheritDoc\n */\n public transaction?: Transaction;\n\n /**\n * You should never call the constructor manually, always use `Sentry.startTransaction()`\n * or call `startChild()` on an existing span.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(spanContext?: SpanContext) {\n if (!spanContext) {\n return this;\n }\n if (spanContext.traceId) {\n this.traceId = spanContext.traceId;\n }\n if (spanContext.spanId) {\n this.spanId = spanContext.spanId;\n }\n if (spanContext.parentSpanId) {\n this.parentSpanId = spanContext.parentSpanId;\n }\n // We want to include booleans as well here\n if ('sampled' in spanContext) {\n this.sampled = spanContext.sampled;\n }\n if (spanContext.op) {\n this.op = spanContext.op;\n }\n if (spanContext.description) {\n this.description = spanContext.description;\n }\n if (spanContext.data) {\n this.data = spanContext.data;\n }\n if (spanContext.tags) {\n this.tags = spanContext.tags;\n }\n if (spanContext.status) {\n this.status = spanContext.status;\n }\n if (spanContext.startTimestamp) {\n this.startTimestamp = spanContext.startTimestamp;\n }\n if (spanContext.endTimestamp) {\n this.endTimestamp = spanContext.endTimestamp;\n }\n }\n\n /**\n * @inheritDoc\n * @deprecated\n */\n public child(\n spanContext?: Pick>,\n ): Span {\n return this.startChild(spanContext);\n }\n\n /**\n * @inheritDoc\n */\n public startChild(\n spanContext?: Pick>,\n ): Span {\n const childSpan = new Span({\n ...spanContext,\n parentSpanId: this.spanId,\n sampled: this.sampled,\n traceId: this.traceId,\n });\n\n childSpan.spanRecorder = this.spanRecorder;\n if (childSpan.spanRecorder) {\n childSpan.spanRecorder.add(childSpan);\n }\n\n childSpan.transaction = this.transaction;\n\n return childSpan;\n }\n\n /**\n * @inheritDoc\n */\n public setTag(key: string, value: Primitive): this {\n this.tags = { ...this.tags, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n public setData(key: string, value: any): this {\n this.data = { ...this.data, [key]: value };\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setStatus(value: SpanStatusType): this {\n this.status = value;\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public setHttpStatus(httpStatus: number): this {\n this.setTag('http.status_code', String(httpStatus));\n const spanStatus = spanStatusfromHttpCode(httpStatus);\n if (spanStatus !== 'unknown_error') {\n this.setStatus(spanStatus);\n }\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public isSuccess(): boolean {\n return this.status === 'ok';\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): void {\n this.endTimestamp = typeof endTimestamp === 'number' ? endTimestamp : timestampWithMs();\n }\n\n /**\n * @inheritDoc\n */\n public toTraceparent(): string {\n let sampledString = '';\n if (this.sampled !== undefined) {\n sampledString = this.sampled ? '-1' : '-0';\n }\n return `${this.traceId}-${this.spanId}${sampledString}`;\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): SpanContext {\n return dropUndefinedKeys({\n data: this.data,\n description: this.description,\n endTimestamp: this.endTimestamp,\n op: this.op,\n parentSpanId: this.parentSpanId,\n sampled: this.sampled,\n spanId: this.spanId,\n startTimestamp: this.startTimestamp,\n status: this.status,\n tags: this.tags,\n traceId: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(spanContext: SpanContext): this {\n this.data = spanContext.data ?? {};\n this.description = spanContext.description;\n this.endTimestamp = spanContext.endTimestamp;\n this.op = spanContext.op;\n this.parentSpanId = spanContext.parentSpanId;\n this.sampled = spanContext.sampled;\n this.spanId = spanContext.spanId ?? this.spanId;\n this.startTimestamp = spanContext.startTimestamp ?? this.startTimestamp;\n this.status = spanContext.status;\n this.tags = spanContext.tags ?? {};\n this.traceId = spanContext.traceId ?? this.traceId;\n\n return this;\n }\n\n /**\n * @inheritDoc\n */\n public getTraceContext(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n status?: string;\n tags?: { [key: string]: Primitive };\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n trace_id: this.traceId,\n });\n }\n\n /**\n * @inheritDoc\n */\n public toJSON(): {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n start_timestamp: number;\n status?: string;\n tags?: { [key: string]: Primitive };\n timestamp?: number;\n trace_id: string;\n } {\n return dropUndefinedKeys({\n data: Object.keys(this.data).length > 0 ? this.data : undefined,\n description: this.description,\n op: this.op,\n parent_span_id: this.parentSpanId,\n span_id: this.spanId,\n start_timestamp: this.startTimestamp,\n status: this.status,\n tags: Object.keys(this.tags).length > 0 ? this.tags : undefined,\n timestamp: this.endTimestamp,\n trace_id: this.traceId,\n });\n }\n}\n\nexport type SpanStatusType =\n /** The operation completed successfully. */\n | 'ok'\n /** Deadline expired before operation could complete. */\n | 'deadline_exceeded'\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n | 'unauthenticated'\n /** 403 Forbidden */\n | 'permission_denied'\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n | 'not_found'\n /** 429 Too Many Requests */\n | 'resource_exhausted'\n /** Client specified an invalid argument. 4xx. */\n | 'invalid_argument'\n /** 501 Not Implemented */\n | 'unimplemented'\n /** 503 Service Unavailable */\n | 'unavailable'\n /** Other/generic 5xx. */\n | 'internal_error'\n /** Unknown. Any non-standard HTTP status code. */\n | 'unknown_error'\n /** The operation was cancelled (typically by the user). */\n | 'cancelled'\n /** Already exists (409) */\n | 'already_exists'\n /** Operation was rejected because the system is not in a state required for the operation's */\n | 'failed_precondition'\n /** The operation was aborted, typically due to a concurrency issue. */\n | 'aborted'\n /** Operation was attempted past the valid range. */\n | 'out_of_range'\n /** Unrecoverable data loss or corruption */\n | 'data_loss';\n\n/**\n * Converts a HTTP status code into a {@link SpanStatusType}.\n *\n * @param httpStatus The HTTP response status code.\n * @returns The span status or unknown_error.\n */\nexport function spanStatusfromHttpCode(httpStatus: number): SpanStatusType {\n if (httpStatus < 400 && httpStatus >= 100) {\n return 'ok';\n }\n\n if (httpStatus >= 400 && httpStatus < 500) {\n switch (httpStatus) {\n case 401:\n return 'unauthenticated';\n case 403:\n return 'permission_denied';\n case 404:\n return 'not_found';\n case 409:\n return 'already_exists';\n case 413:\n return 'failed_precondition';\n case 429:\n return 'resource_exhausted';\n default:\n return 'invalid_argument';\n }\n }\n\n if (httpStatus >= 500 && httpStatus < 600) {\n switch (httpStatus) {\n case 501:\n return 'unimplemented';\n case 503:\n return 'unavailable';\n case 504:\n return 'deadline_exceeded';\n default:\n return 'internal_error';\n }\n }\n\n return 'unknown_error';\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/spanstatus.d.ts b/node_modules/@sentry/tracing/esm/spanstatus.d.ts new file mode 100644 index 000000000..bbe6f516a --- /dev/null +++ b/node_modules/@sentry/tracing/esm/spanstatus.d.ts @@ -0,0 +1,41 @@ +/** The status of an Span. + * + * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type + */ +export declare enum SpanStatus { + /** The operation completed successfully. */ + Ok = "ok", + /** Deadline expired before operation could complete. */ + DeadlineExceeded = "deadline_exceeded", + /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */ + Unauthenticated = "unauthenticated", + /** 403 Forbidden */ + PermissionDenied = "permission_denied", + /** 404 Not Found. Some requested entity (file or directory) was not found. */ + NotFound = "not_found", + /** 429 Too Many Requests */ + ResourceExhausted = "resource_exhausted", + /** Client specified an invalid argument. 4xx. */ + InvalidArgument = "invalid_argument", + /** 501 Not Implemented */ + Unimplemented = "unimplemented", + /** 503 Service Unavailable */ + Unavailable = "unavailable", + /** Other/generic 5xx. */ + InternalError = "internal_error", + /** Unknown. Any non-standard HTTP status code. */ + UnknownError = "unknown_error", + /** The operation was cancelled (typically by the user). */ + Cancelled = "cancelled", + /** Already exists (409) */ + AlreadyExists = "already_exists", + /** Operation was rejected because the system is not in a state required for the operation's */ + FailedPrecondition = "failed_precondition", + /** The operation was aborted, typically due to a concurrency issue. */ + Aborted = "aborted", + /** Operation was attempted past the valid range. */ + OutOfRange = "out_of_range", + /** Unrecoverable data loss or corruption */ + DataLoss = "data_loss" +} +//# sourceMappingURL=spanstatus.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/spanstatus.d.ts.map b/node_modules/@sentry/tracing/esm/spanstatus.d.ts.map new file mode 100644 index 000000000..6a6813383 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/spanstatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"spanstatus.d.ts","sourceRoot":"","sources":["../src/spanstatus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAY,UAAU;IACpB,4CAA4C;IAC5C,EAAE,OAAO;IACT,wDAAwD;IACxD,gBAAgB,sBAAsB;IACtC,kFAAkF;IAClF,eAAe,oBAAoB;IACnC,oBAAoB;IACpB,gBAAgB,sBAAsB;IACtC,8EAA8E;IAC9E,QAAQ,cAAc;IACtB,4BAA4B;IAC5B,iBAAiB,uBAAuB;IACxC,iDAAiD;IACjD,eAAe,qBAAqB;IACpC,0BAA0B;IAC1B,aAAa,kBAAkB;IAC/B,8BAA8B;IAC9B,WAAW,gBAAgB;IAC3B,yBAAyB;IACzB,aAAa,mBAAmB;IAChC,kDAAkD;IAClD,YAAY,kBAAkB;IAC9B,2DAA2D;IAC3D,SAAS,cAAc;IACvB,2BAA2B;IAC3B,aAAa,mBAAmB;IAChC,+FAA+F;IAC/F,kBAAkB,wBAAwB;IAC1C,uEAAuE;IACvE,OAAO,YAAY;IACnB,oDAAoD;IACpD,UAAU,iBAAiB;IAC3B,4CAA4C;IAC5C,QAAQ,cAAc;CACvB"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/spanstatus.js b/node_modules/@sentry/tracing/esm/spanstatus.js new file mode 100644 index 000000000..aa6cf18f4 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/spanstatus.js @@ -0,0 +1,43 @@ +/** The status of an Span. + * + * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type + */ +// eslint-disable-next-line import/export +export var SpanStatus; +(function (SpanStatus) { + /** The operation completed successfully. */ + SpanStatus["Ok"] = "ok"; + /** Deadline expired before operation could complete. */ + SpanStatus["DeadlineExceeded"] = "deadline_exceeded"; + /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */ + SpanStatus["Unauthenticated"] = "unauthenticated"; + /** 403 Forbidden */ + SpanStatus["PermissionDenied"] = "permission_denied"; + /** 404 Not Found. Some requested entity (file or directory) was not found. */ + SpanStatus["NotFound"] = "not_found"; + /** 429 Too Many Requests */ + SpanStatus["ResourceExhausted"] = "resource_exhausted"; + /** Client specified an invalid argument. 4xx. */ + SpanStatus["InvalidArgument"] = "invalid_argument"; + /** 501 Not Implemented */ + SpanStatus["Unimplemented"] = "unimplemented"; + /** 503 Service Unavailable */ + SpanStatus["Unavailable"] = "unavailable"; + /** Other/generic 5xx. */ + SpanStatus["InternalError"] = "internal_error"; + /** Unknown. Any non-standard HTTP status code. */ + SpanStatus["UnknownError"] = "unknown_error"; + /** The operation was cancelled (typically by the user). */ + SpanStatus["Cancelled"] = "cancelled"; + /** Already exists (409) */ + SpanStatus["AlreadyExists"] = "already_exists"; + /** Operation was rejected because the system is not in a state required for the operation's */ + SpanStatus["FailedPrecondition"] = "failed_precondition"; + /** The operation was aborted, typically due to a concurrency issue. */ + SpanStatus["Aborted"] = "aborted"; + /** Operation was attempted past the valid range. */ + SpanStatus["OutOfRange"] = "out_of_range"; + /** Unrecoverable data loss or corruption */ + SpanStatus["DataLoss"] = "data_loss"; +})(SpanStatus || (SpanStatus = {})); +//# sourceMappingURL=spanstatus.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/spanstatus.js.map b/node_modules/@sentry/tracing/esm/spanstatus.js.map new file mode 100644 index 000000000..62e3c77fd --- /dev/null +++ b/node_modules/@sentry/tracing/esm/spanstatus.js.map @@ -0,0 +1 @@ +{"version":3,"file":"spanstatus.js","sourceRoot":"","sources":["../src/spanstatus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,yCAAyC;AACzC,MAAM,CAAN,IAAY,UAmCX;AAnCD,WAAY,UAAU;IACpB,4CAA4C;IAC5C,uBAAS,CAAA;IACT,wDAAwD;IACxD,oDAAsC,CAAA;IACtC,kFAAkF;IAClF,iDAAmC,CAAA;IACnC,oBAAoB;IACpB,oDAAsC,CAAA;IACtC,8EAA8E;IAC9E,oCAAsB,CAAA;IACtB,4BAA4B;IAC5B,sDAAwC,CAAA;IACxC,iDAAiD;IACjD,kDAAoC,CAAA;IACpC,0BAA0B;IAC1B,6CAA+B,CAAA;IAC/B,8BAA8B;IAC9B,yCAA2B,CAAA;IAC3B,yBAAyB;IACzB,8CAAgC,CAAA;IAChC,kDAAkD;IAClD,4CAA8B,CAAA;IAC9B,2DAA2D;IAC3D,qCAAuB,CAAA;IACvB,2BAA2B;IAC3B,8CAAgC,CAAA;IAChC,+FAA+F;IAC/F,wDAA0C,CAAA;IAC1C,uEAAuE;IACvE,iCAAmB,CAAA;IACnB,oDAAoD;IACpD,yCAA2B,CAAA;IAC3B,4CAA4C;IAC5C,oCAAsB,CAAA;AACxB,CAAC,EAnCW,UAAU,KAAV,UAAU,QAmCrB","sourcesContent":["/** The status of an Span.\n *\n * @deprecated Use string literals - if you require type casting, cast to SpanStatusType type\n */\n// eslint-disable-next-line import/export\nexport enum SpanStatus {\n /** The operation completed successfully. */\n Ok = 'ok',\n /** Deadline expired before operation could complete. */\n DeadlineExceeded = 'deadline_exceeded',\n /** 401 Unauthorized (actually does mean unauthenticated according to RFC 7235) */\n Unauthenticated = 'unauthenticated',\n /** 403 Forbidden */\n PermissionDenied = 'permission_denied',\n /** 404 Not Found. Some requested entity (file or directory) was not found. */\n NotFound = 'not_found',\n /** 429 Too Many Requests */\n ResourceExhausted = 'resource_exhausted',\n /** Client specified an invalid argument. 4xx. */\n InvalidArgument = 'invalid_argument',\n /** 501 Not Implemented */\n Unimplemented = 'unimplemented',\n /** 503 Service Unavailable */\n Unavailable = 'unavailable',\n /** Other/generic 5xx. */\n InternalError = 'internal_error',\n /** Unknown. Any non-standard HTTP status code. */\n UnknownError = 'unknown_error',\n /** The operation was cancelled (typically by the user). */\n Cancelled = 'cancelled',\n /** Already exists (409) */\n AlreadyExists = 'already_exists',\n /** Operation was rejected because the system is not in a state required for the operation's */\n FailedPrecondition = 'failed_precondition',\n /** The operation was aborted, typically due to a concurrency issue. */\n Aborted = 'aborted',\n /** Operation was attempted past the valid range. */\n OutOfRange = 'out_of_range',\n /** Unrecoverable data loss or corruption */\n DataLoss = 'data_loss',\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/transaction.d.ts b/node_modules/@sentry/tracing/esm/transaction.d.ts new file mode 100644 index 000000000..83c73b47a --- /dev/null +++ b/node_modules/@sentry/tracing/esm/transaction.d.ts @@ -0,0 +1,54 @@ +import { Hub } from '@sentry/hub'; +import { Measurements, Transaction as TransactionInterface, TransactionContext, TransactionMetadata } from '@sentry/types'; +import { Span as SpanClass } from './span'; +/** JSDoc */ +export declare class Transaction extends SpanClass implements TransactionInterface { + name: string; + metadata: TransactionMetadata; + private _measurements; + /** + * The reference to the current hub. + */ + private readonly _hub; + private _trimEnd?; + /** + * This constructor should never be called manually. Those instrumenting tracing should use + * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`. + * @internal + * @hideconstructor + * @hidden + */ + constructor(transactionContext: TransactionContext, hub?: Hub); + /** + * JSDoc + */ + setName(name: string): void; + /** + * Attaches SpanRecorder to the span itself + * @param maxlen maximum number of spans that can be recorded + */ + initSpanRecorder(maxlen?: number): void; + /** + * Set observed measurements for this transaction. + * @hidden + */ + setMeasurements(measurements: Measurements): void; + /** + * Set metadata for this transaction. + * @hidden + */ + setMetadata(newMetadata: TransactionMetadata): void; + /** + * @inheritDoc + */ + finish(endTimestamp?: number): string | undefined; + /** + * @inheritDoc + */ + toContext(): TransactionContext; + /** + * @inheritDoc + */ + updateWithContext(transactionContext: TransactionContext): this; +} +//# sourceMappingURL=transaction.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/transaction.d.ts.map b/node_modules/@sentry/tracing/esm/transaction.d.ts.map new file mode 100644 index 000000000..74696e004 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/transaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,GAAG,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAEL,YAAY,EACZ,WAAW,IAAI,oBAAoB,EACnC,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,IAAI,IAAI,SAAS,EAAgB,MAAM,QAAQ,CAAC;AAEzD,YAAY;AACZ,qBAAa,WAAY,SAAQ,SAAU,YAAW,oBAAoB;IACjE,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,mBAAmB,CAAC;IAErC,OAAO,CAAC,aAAa,CAAoB;IAEzC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA0C;IAE/D,OAAO,CAAC,QAAQ,CAAC,CAAU;IAE3B;;;;;;OAMG;gBACgB,kBAAkB,EAAE,kBAAkB,EAAE,GAAG,CAAC,EAAE,GAAG;IAgBpE;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIlC;;;OAGG;IACI,gBAAgB,CAAC,MAAM,GAAE,MAAa,GAAG,IAAI;IAOpD;;;OAGG;IACI,eAAe,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI;IAIxD;;;OAGG;IACI,WAAW,CAAC,WAAW,EAAE,mBAAmB,GAAG,IAAI;IAI1D;;OAEG;IACI,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IA8DxD;;OAEG;IACI,SAAS,IAAI,kBAAkB;IAUtC;;OAEG;IACI,iBAAiB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;CASvE"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/transaction.js b/node_modules/@sentry/tracing/esm/transaction.js new file mode 100644 index 000000000..2ade38c7e --- /dev/null +++ b/node_modules/@sentry/tracing/esm/transaction.js @@ -0,0 +1,137 @@ +import { __assign, __extends } from "tslib"; +import { getCurrentHub, Hub } from '@sentry/hub'; +import { dropUndefinedKeys, isInstanceOf, logger } from '@sentry/utils'; +import { Span as SpanClass, SpanRecorder } from './span'; +/** JSDoc */ +var Transaction = /** @class */ (function (_super) { + __extends(Transaction, _super); + /** + * This constructor should never be called manually. Those instrumenting tracing should use + * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`. + * @internal + * @hideconstructor + * @hidden + */ + function Transaction(transactionContext, hub) { + var _this = _super.call(this, transactionContext) || this; + _this._measurements = {}; + /** + * The reference to the current hub. + */ + _this._hub = getCurrentHub(); + if (isInstanceOf(hub, Hub)) { + _this._hub = hub; + } + _this.name = transactionContext.name || ''; + _this.metadata = transactionContext.metadata || {}; + _this._trimEnd = transactionContext.trimEnd; + // this is because transactions are also spans, and spans have a transaction pointer + _this.transaction = _this; + return _this; + } + /** + * JSDoc + */ + Transaction.prototype.setName = function (name) { + this.name = name; + }; + /** + * Attaches SpanRecorder to the span itself + * @param maxlen maximum number of spans that can be recorded + */ + Transaction.prototype.initSpanRecorder = function (maxlen) { + if (maxlen === void 0) { maxlen = 1000; } + if (!this.spanRecorder) { + this.spanRecorder = new SpanRecorder(maxlen); + } + this.spanRecorder.add(this); + }; + /** + * Set observed measurements for this transaction. + * @hidden + */ + Transaction.prototype.setMeasurements = function (measurements) { + this._measurements = __assign({}, measurements); + }; + /** + * Set metadata for this transaction. + * @hidden + */ + Transaction.prototype.setMetadata = function (newMetadata) { + this.metadata = __assign(__assign({}, this.metadata), newMetadata); + }; + /** + * @inheritDoc + */ + Transaction.prototype.finish = function (endTimestamp) { + var _this = this; + // This transaction is already finished, so we should not flush it again. + if (this.endTimestamp !== undefined) { + return undefined; + } + if (!this.name) { + logger.warn('Transaction has no name, falling back to ``.'); + this.name = ''; + } + // just sets the end timestamp + _super.prototype.finish.call(this, endTimestamp); + if (this.sampled !== true) { + // At this point if `sampled !== true` we want to discard the transaction. + logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.'); + var client = this._hub.getClient(); + var transport = client && client.getTransport && client.getTransport(); + if (transport && transport.recordLostEvent) { + transport.recordLostEvent('sample_rate', 'transaction'); + } + return undefined; + } + var finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(function (s) { return s !== _this && s.endTimestamp; }) : []; + if (this._trimEnd && finishedSpans.length > 0) { + this.endTimestamp = finishedSpans.reduce(function (prev, current) { + if (prev.endTimestamp && current.endTimestamp) { + return prev.endTimestamp > current.endTimestamp ? prev : current; + } + return prev; + }).endTimestamp; + } + var transaction = { + contexts: { + trace: this.getTraceContext(), + }, + spans: finishedSpans, + start_timestamp: this.startTimestamp, + tags: this.tags, + timestamp: this.endTimestamp, + transaction: this.name, + type: 'transaction', + sdkProcessingMetadata: this.metadata, + }; + var hasMeasurements = Object.keys(this._measurements).length > 0; + if (hasMeasurements) { + logger.log('[Measurements] Adding measurements to transaction', JSON.stringify(this._measurements, undefined, 2)); + transaction.measurements = this._measurements; + } + logger.log("[Tracing] Finishing " + this.op + " transaction: " + this.name + "."); + return this._hub.captureEvent(transaction); + }; + /** + * @inheritDoc + */ + Transaction.prototype.toContext = function () { + var spanContext = _super.prototype.toContext.call(this); + return dropUndefinedKeys(__assign(__assign({}, spanContext), { name: this.name, trimEnd: this._trimEnd })); + }; + /** + * @inheritDoc + */ + Transaction.prototype.updateWithContext = function (transactionContext) { + var _a; + _super.prototype.updateWithContext.call(this, transactionContext); + this.name = (_a = transactionContext.name, (_a !== null && _a !== void 0 ? _a : '')); + this._trimEnd = transactionContext.trimEnd; + return this; + }; + return Transaction; +}(SpanClass)); +export { Transaction }; +//# sourceMappingURL=transaction.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/transaction.js.map b/node_modules/@sentry/tracing/esm/transaction.js.map new file mode 100644 index 000000000..b8720c009 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/transaction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"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","sourcesContent":["import { getCurrentHub, Hub } from '@sentry/hub';\nimport {\n Event,\n Measurements,\n Transaction as TransactionInterface,\n TransactionContext,\n TransactionMetadata,\n} from '@sentry/types';\nimport { dropUndefinedKeys, isInstanceOf, logger } from '@sentry/utils';\n\nimport { Span as SpanClass, SpanRecorder } from './span';\n\n/** JSDoc */\nexport class Transaction extends SpanClass implements TransactionInterface {\n public name: string;\n\n public metadata: TransactionMetadata;\n\n private _measurements: Measurements = {};\n\n /**\n * The reference to the current hub.\n */\n private readonly _hub: Hub = getCurrentHub() as unknown as Hub;\n\n private _trimEnd?: boolean;\n\n /**\n * This constructor should never be called manually. Those instrumenting tracing should use\n * `Sentry.startTransaction()`, and internal methods should use `hub.startTransaction()`.\n * @internal\n * @hideconstructor\n * @hidden\n */\n public constructor(transactionContext: TransactionContext, hub?: Hub) {\n super(transactionContext);\n\n if (isInstanceOf(hub, Hub)) {\n this._hub = hub as Hub;\n }\n\n this.name = transactionContext.name || '';\n\n this.metadata = transactionContext.metadata || {};\n this._trimEnd = transactionContext.trimEnd;\n\n // this is because transactions are also spans, and spans have a transaction pointer\n this.transaction = this;\n }\n\n /**\n * JSDoc\n */\n public setName(name: string): void {\n this.name = name;\n }\n\n /**\n * Attaches SpanRecorder to the span itself\n * @param maxlen maximum number of spans that can be recorded\n */\n public initSpanRecorder(maxlen: number = 1000): void {\n if (!this.spanRecorder) {\n this.spanRecorder = new SpanRecorder(maxlen);\n }\n this.spanRecorder.add(this);\n }\n\n /**\n * Set observed measurements for this transaction.\n * @hidden\n */\n public setMeasurements(measurements: Measurements): void {\n this._measurements = { ...measurements };\n }\n\n /**\n * Set metadata for this transaction.\n * @hidden\n */\n public setMetadata(newMetadata: TransactionMetadata): void {\n this.metadata = { ...this.metadata, ...newMetadata };\n }\n\n /**\n * @inheritDoc\n */\n public finish(endTimestamp?: number): string | undefined {\n // This transaction is already finished, so we should not flush it again.\n if (this.endTimestamp !== undefined) {\n return undefined;\n }\n\n if (!this.name) {\n logger.warn('Transaction has no name, falling back to ``.');\n this.name = '';\n }\n\n // just sets the end timestamp\n super.finish(endTimestamp);\n\n if (this.sampled !== true) {\n // At this point if `sampled !== true` we want to discard the transaction.\n logger.log('[Tracing] Discarding transaction because its trace was not chosen to be sampled.');\n\n const client = this._hub.getClient();\n const transport = client && client.getTransport && client.getTransport();\n if (transport && transport.recordLostEvent) {\n transport.recordLostEvent('sample_rate', 'transaction');\n }\n return undefined;\n }\n\n const finishedSpans = this.spanRecorder ? this.spanRecorder.spans.filter(s => s !== this && s.endTimestamp) : [];\n\n if (this._trimEnd && finishedSpans.length > 0) {\n this.endTimestamp = finishedSpans.reduce((prev: SpanClass, current: SpanClass) => {\n if (prev.endTimestamp && current.endTimestamp) {\n return prev.endTimestamp > current.endTimestamp ? prev : current;\n }\n return prev;\n }).endTimestamp;\n }\n\n const transaction: Event = {\n contexts: {\n trace: this.getTraceContext(),\n },\n spans: finishedSpans,\n start_timestamp: this.startTimestamp,\n tags: this.tags,\n timestamp: this.endTimestamp,\n transaction: this.name,\n type: 'transaction',\n sdkProcessingMetadata: this.metadata,\n };\n\n const hasMeasurements = Object.keys(this._measurements).length > 0;\n\n if (hasMeasurements) {\n logger.log('[Measurements] Adding measurements to transaction', JSON.stringify(this._measurements, undefined, 2));\n transaction.measurements = this._measurements;\n }\n\n logger.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`);\n\n return this._hub.captureEvent(transaction);\n }\n\n /**\n * @inheritDoc\n */\n public toContext(): TransactionContext {\n const spanContext = super.toContext();\n\n return dropUndefinedKeys({\n ...spanContext,\n name: this.name,\n trimEnd: this._trimEnd,\n });\n }\n\n /**\n * @inheritDoc\n */\n public updateWithContext(transactionContext: TransactionContext): this {\n super.updateWithContext(transactionContext);\n\n this.name = transactionContext.name ?? '';\n\n this._trimEnd = transactionContext.trimEnd;\n\n return this;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/utils.d.ts b/node_modules/@sentry/tracing/esm/utils.d.ts new file mode 100644 index 000000000..47a2c7604 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/utils.d.ts @@ -0,0 +1,31 @@ +import { Hub } from '@sentry/hub'; +import { Options, TraceparentData, Transaction } from '@sentry/types'; +export declare const TRACEPARENT_REGEXP: RegExp; +/** + * Determines if tracing is currently enabled. + * + * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config. + */ +export declare function hasTracingEnabled(maybeOptions?: Options | undefined): boolean; +/** + * Extract transaction context data from a `sentry-trace` header. + * + * @param traceparent Traceparent string + * + * @returns Object containing data from the header, or undefined if traceparent string is malformed + */ +export declare function extractTraceparentData(traceparent: string): TraceparentData | undefined; +/** Grabs active transaction off scope, if any */ +export declare function getActiveTransaction(maybeHub?: Hub): T | undefined; +/** + * Converts from milliseconds to seconds + * @param time time in ms + */ +export declare function msToSec(time: number): number; +/** + * Converts from seconds to milliseconds + * @param time time in seconds + */ +export declare function secToMs(time: number): number; +export { stripUrlQueryAndFragment } from '@sentry/utils'; +//# sourceMappingURL=utils.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/utils.d.ts.map b/node_modules/@sentry/tracing/esm/utils.d.ts.map new file mode 100644 index 000000000..c7c3e6fe7 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/utils.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,GAAG,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEtE,eAAO,MAAM,kBAAkB,QAM9B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAI7E;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAgBvF;AAED,iDAAiD;AACjD,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,WAAW,EAAE,QAAQ,CAAC,EAAE,GAAG,GAAG,CAAC,GAAG,SAAS,CAIzF;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE5C;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE5C;AAGD,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/utils.js b/node_modules/@sentry/tracing/esm/utils.js new file mode 100644 index 000000000..dfde0d6d3 --- /dev/null +++ b/node_modules/@sentry/tracing/esm/utils.js @@ -0,0 +1,64 @@ +import { getCurrentHub } from '@sentry/hub'; +export var TRACEPARENT_REGEXP = new RegExp('^[ \\t]*' + // whitespace + '([0-9a-f]{32})?' + // trace_id + '-?([0-9a-f]{16})?' + // span_id + '-?([01])?' + // sampled + '[ \\t]*$'); +/** + * Determines if tracing is currently enabled. + * + * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config. + */ +export function hasTracingEnabled(maybeOptions) { + var client = getCurrentHub().getClient(); + var options = maybeOptions || (client && client.getOptions()); + return !!options && ('tracesSampleRate' in options || 'tracesSampler' in options); +} +/** + * Extract transaction context data from a `sentry-trace` header. + * + * @param traceparent Traceparent string + * + * @returns Object containing data from the header, or undefined if traceparent string is malformed + */ +export function extractTraceparentData(traceparent) { + var matches = traceparent.match(TRACEPARENT_REGEXP); + if (matches) { + var parentSampled = void 0; + if (matches[3] === '1') { + parentSampled = true; + } + else if (matches[3] === '0') { + parentSampled = false; + } + return { + traceId: matches[1], + parentSampled: parentSampled, + parentSpanId: matches[2], + }; + } + return undefined; +} +/** Grabs active transaction off scope, if any */ +export function getActiveTransaction(maybeHub) { + var hub = maybeHub || getCurrentHub(); + var scope = hub.getScope(); + return scope && scope.getTransaction(); +} +/** + * Converts from milliseconds to seconds + * @param time time in ms + */ +export function msToSec(time) { + return time / 1000; +} +/** + * Converts from seconds to milliseconds + * @param time time in seconds + */ +export function secToMs(time) { + return time * 1000; +} +// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry/utils +export { stripUrlQueryAndFragment } from '@sentry/utils'; +//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@sentry/tracing/esm/utils.js.map b/node_modules/@sentry/tracing/esm/utils.js.map new file mode 100644 index 000000000..b60a22cdc --- /dev/null +++ b/node_modules/@sentry/tracing/esm/utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAO,MAAM,aAAa,CAAC;AAGjD,MAAM,CAAC,IAAM,kBAAkB,GAAG,IAAI,MAAM,CAC1C,UAAU,GAAG,aAAa;IACxB,iBAAiB,GAAG,WAAW;IAC/B,mBAAmB,GAAG,UAAU;IAChC,WAAW,GAAG,UAAU;IACxB,UAAU,CACb,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,YAAkC;IAClE,IAAM,MAAM,GAAG,aAAa,EAAE,CAAC,SAAS,EAAE,CAAC;IAC3C,IAAM,OAAO,GAAG,YAAY,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC;IAChE,OAAO,CAAC,CAAC,OAAO,IAAI,CAAC,kBAAkB,IAAI,OAAO,IAAI,eAAe,IAAI,OAAO,CAAC,CAAC;AACpF,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CAAC,WAAmB;IACxD,IAAM,OAAO,GAAG,WAAW,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACtD,IAAI,OAAO,EAAE;QACX,IAAI,aAAa,SAAqB,CAAC;QACvC,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YACtB,aAAa,GAAG,IAAI,CAAC;SACtB;aAAM,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YAC7B,aAAa,GAAG,KAAK,CAAC;SACvB;QACD,OAAO;YACL,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;YACnB,aAAa,eAAA;YACb,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;SACzB,CAAC;KACH;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,iDAAiD;AACjD,MAAM,UAAU,oBAAoB,CAAwB,QAAc;IACxE,IAAM,GAAG,GAAG,QAAQ,IAAI,aAAa,EAAE,CAAC;IACxC,IAAM,KAAK,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;IAC7B,OAAO,KAAK,IAAK,KAAK,CAAC,cAAc,EAAoB,CAAC;AAC5D,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,IAAY;IAClC,OAAO,IAAI,GAAG,IAAI,CAAC;AACrB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,IAAY;IAClC,OAAO,IAAI,GAAG,IAAI,CAAC;AACrB,CAAC;AAED,uGAAuG;AACvG,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC","sourcesContent":["import { getCurrentHub, Hub } from '@sentry/hub';\nimport { Options, TraceparentData, Transaction } from '@sentry/types';\n\nexport const TRACEPARENT_REGEXP = new RegExp(\n '^[ \\\\t]*' + // whitespace\n '([0-9a-f]{32})?' + // trace_id\n '-?([0-9a-f]{16})?' + // span_id\n '-?([01])?' + // sampled\n '[ \\\\t]*$', // whitespace\n);\n\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\nexport function hasTracingEnabled(maybeOptions?: Options | undefined): boolean {\n const client = getCurrentHub().getClient();\n const options = maybeOptions || (client && client.getOptions());\n return !!options && ('tracesSampleRate' in options || 'tracesSampler' in options);\n}\n\n/**\n * Extract transaction context data from a `sentry-trace` header.\n *\n * @param traceparent Traceparent string\n *\n * @returns Object containing data from the header, or undefined if traceparent string is malformed\n */\nexport function extractTraceparentData(traceparent: string): TraceparentData | undefined {\n const matches = traceparent.match(TRACEPARENT_REGEXP);\n if (matches) {\n let parentSampled: boolean | undefined;\n if (matches[3] === '1') {\n parentSampled = true;\n } else if (matches[3] === '0') {\n parentSampled = false;\n }\n return {\n traceId: matches[1],\n parentSampled,\n parentSpanId: matches[2],\n };\n }\n return undefined;\n}\n\n/** Grabs active transaction off scope, if any */\nexport function getActiveTransaction(maybeHub?: Hub): T | undefined {\n const hub = maybeHub || getCurrentHub();\n const scope = hub.getScope();\n return scope && (scope.getTransaction() as T | undefined);\n}\n\n/**\n * Converts from milliseconds to seconds\n * @param time time in ms\n */\nexport function msToSec(time: number): number {\n return time / 1000;\n}\n\n/**\n * Converts from seconds to milliseconds\n * @param time time in seconds\n */\nexport function secToMs(time: number): number {\n return time * 1000;\n}\n\n// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry/utils\nexport { stripUrlQueryAndFragment } from '@sentry/utils';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/node_modules/tslib/CopyrightNotice.txt b/node_modules/@sentry/tracing/node_modules/tslib/CopyrightNotice.txt new file mode 100644 index 000000000..3d4c82348 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/CopyrightNotice.txt @@ -0,0 +1,15 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + diff --git a/node_modules/@sentry/tracing/node_modules/tslib/LICENSE.txt b/node_modules/@sentry/tracing/node_modules/tslib/LICENSE.txt new file mode 100644 index 000000000..bfe6430cb --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/LICENSE.txt @@ -0,0 +1,12 @@ +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/node_modules/@sentry/tracing/node_modules/tslib/README.md b/node_modules/@sentry/tracing/node_modules/tslib/README.md new file mode 100644 index 000000000..a5b2692c8 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/README.md @@ -0,0 +1,142 @@ +# tslib + +This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions. + +This library is primarily used by the `--importHelpers` flag in TypeScript. +When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: + +```ts +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +exports.x = {}; +exports.y = __assign({}, exports.x); + +``` + +will instead be emitted as something like the following: + +```ts +var tslib_1 = require("tslib"); +exports.x = {}; +exports.y = tslib_1.__assign({}, exports.x); +``` + +Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. +For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. + +# Installing + +For the latest stable version, run: + +## npm + +```sh +# TypeScript 2.3.3 or later +npm install tslib + +# TypeScript 2.3.2 or earlier +npm install tslib@1.6.1 +``` + +## yarn + +```sh +# TypeScript 2.3.3 or later +yarn add tslib + +# TypeScript 2.3.2 or earlier +yarn add tslib@1.6.1 +``` + +## bower + +```sh +# TypeScript 2.3.3 or later +bower install tslib + +# TypeScript 2.3.2 or earlier +bower install tslib@1.6.1 +``` + +## JSPM + +```sh +# TypeScript 2.3.3 or later +jspm install tslib + +# TypeScript 2.3.2 or earlier +jspm install tslib@1.6.1 +``` + +# Usage + +Set the `importHelpers` compiler option on the command line: + +``` +tsc --importHelpers file.ts +``` + +or in your tsconfig.json: + +```json +{ + "compilerOptions": { + "importHelpers": true + } +} +``` + +#### For bower and JSPM users + +You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: + +```json +{ + "compilerOptions": { + "module": "amd", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["bower_components/tslib/tslib.d.ts"] + } + } +} +``` + +For JSPM users: + +```json +{ + "compilerOptions": { + "module": "system", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["jspm_packages/npm/tslib@1.[version].0/tslib.d.ts"] + } + } +} +``` + + +# Contribute + +There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. + +* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. +* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). +* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). +* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. +* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). + +# Documentation + +* [Quick tutorial](http://www.typescriptlang.org/Tutorial) +* [Programming handbook](http://www.typescriptlang.org/Handbook) +* [Homepage](http://www.typescriptlang.org/) diff --git a/node_modules/@sentry/tracing/node_modules/tslib/modules/index.js b/node_modules/@sentry/tracing/node_modules/tslib/modules/index.js new file mode 100644 index 000000000..d241d0422 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/modules/index.js @@ -0,0 +1,51 @@ +import tslib from '../tslib.js'; +const { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +} = tslib; +export { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +}; diff --git a/node_modules/@sentry/tracing/node_modules/tslib/modules/package.json b/node_modules/@sentry/tracing/node_modules/tslib/modules/package.json new file mode 100644 index 000000000..aafa0e4b4 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/modules/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/node_modules/@sentry/tracing/node_modules/tslib/package.json b/node_modules/@sentry/tracing/node_modules/tslib/package.json new file mode 100644 index 000000000..6c9f001de --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/package.json @@ -0,0 +1,64 @@ +{ + "_from": "tslib@^1.9.3", + "_id": "tslib@1.14.1", + "_inBundle": false, + "_integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "_location": "/@sentry/tracing/tslib", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "tslib@^1.9.3", + "name": "tslib", + "escapedName": "tslib", + "rawSpec": "^1.9.3", + "saveSpec": null, + "fetchSpec": "^1.9.3" + }, + "_requiredBy": [ + "/@sentry/tracing" + ], + "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "_shasum": "cf2d38bdc34a134bcaf1091c41f6619e2f672d00", + "_spec": "tslib@^1.9.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/tracing", + "author": { + "name": "Microsoft Corp." + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Runtime library for TypeScript helper functions", + "exports": { + ".": { + "module": "./tslib.es6.js", + "import": "./modules/index.js", + "default": "./tslib.js" + }, + "./": "./" + }, + "homepage": "https://www.typescriptlang.org/", + "jsnext:main": "tslib.es6.js", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "license": "0BSD", + "main": "tslib.js", + "module": "tslib.es6.js", + "name": "tslib", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/tslib.git" + }, + "sideEffects": false, + "typings": "tslib.d.ts", + "version": "1.14.1" +} diff --git a/node_modules/@sentry/tracing/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js b/node_modules/@sentry/tracing/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js new file mode 100644 index 000000000..0c1b613d8 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js @@ -0,0 +1,23 @@ +// When on node 14, it validates that all of the commonjs exports +// are correctly re-exported for es modules importers. + +const nodeMajor = Number(process.version.split(".")[0].slice(1)) +if (nodeMajor < 14) { + console.log("Skipping because node does not support module exports.") + process.exit(0) +} + +// ES Modules import via the ./modules folder +import * as esTSLib from "../../modules/index.js" + +// Force a commonjs resolve +import { createRequire } from "module"; +const commonJSTSLib = createRequire(import.meta.url)("../../tslib.js"); + +for (const key in commonJSTSLib) { + if (commonJSTSLib.hasOwnProperty(key)) { + if(!esTSLib[key]) throw new Error(`ESModules is missing ${key} - it needs to be re-exported in ./modules/index.js`) + } +} + +console.log("All exports in commonjs are available for es module consumers.") diff --git a/node_modules/@sentry/tracing/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json b/node_modules/@sentry/tracing/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json new file mode 100644 index 000000000..166e5095e --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json @@ -0,0 +1,6 @@ +{ + "type": "module", + "scripts": { + "test": "node index.js" + } +} diff --git a/node_modules/@sentry/tracing/node_modules/tslib/tslib.d.ts b/node_modules/@sentry/tracing/node_modules/tslib/tslib.d.ts new file mode 100644 index 000000000..0756b28e7 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/tslib.d.ts @@ -0,0 +1,37 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +export declare function __extends(d: Function, b: Function): void; +export declare function __assign(t: any, ...sources: any[]): any; +export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; +export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; +export declare function __param(paramIndex: number, decorator: Function): Function; +export declare function __metadata(metadataKey: any, metadataValue: any): Function; +export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; +export declare function __generator(thisArg: any, body: Function): any; +export declare function __exportStar(m: any, exports: any): void; +export declare function __values(o: any): any; +export declare function __read(o: any, n?: number): any[]; +export declare function __spread(...args: any[][]): any[]; +export declare function __spreadArrays(...args: any[][]): any[]; +export declare function __await(v: any): any; +export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; +export declare function __asyncDelegator(o: any): any; +export declare function __asyncValues(o: any): any; +export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; +export declare function __importStar(mod: T): T; +export declare function __importDefault(mod: T): T | { default: T }; +export declare function __classPrivateFieldGet(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V; +export declare function __classPrivateFieldSet(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V; +export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; \ No newline at end of file diff --git a/node_modules/@sentry/tracing/node_modules/tslib/tslib.es6.html b/node_modules/@sentry/tracing/node_modules/tslib/tslib.es6.html new file mode 100644 index 000000000..b122e41b0 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/tslib.es6.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/tracing/node_modules/tslib/tslib.es6.js b/node_modules/@sentry/tracing/node_modules/tslib/tslib.es6.js new file mode 100644 index 000000000..0e0d8d079 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/tslib.es6.js @@ -0,0 +1,218 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +export function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +export var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +export function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +export function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +export function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +export function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +export function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +export function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +export function __createBinding(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +} + +export function __exportStar(m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; +} + +export function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} + +export function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +export function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +export function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +}; + +export function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +export function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +export function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } +} + +export function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +export function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +export function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result.default = mod; + return result; +} + +export function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + +export function __classPrivateFieldGet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); +} + +export function __classPrivateFieldSet(receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; +} diff --git a/node_modules/@sentry/tracing/node_modules/tslib/tslib.html b/node_modules/@sentry/tracing/node_modules/tslib/tslib.html new file mode 100644 index 000000000..44c9ba51e --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/tslib.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/tracing/node_modules/tslib/tslib.js b/node_modules/@sentry/tracing/node_modules/tslib/tslib.js new file mode 100644 index 000000000..e5b7c9b80 --- /dev/null +++ b/node_modules/@sentry/tracing/node_modules/tslib/tslib.js @@ -0,0 +1,284 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + +/* global global, define, System, Reflect, Promise */ +var __extends; +var __assign; +var __rest; +var __decorate; +var __param; +var __metadata; +var __awaiter; +var __generator; +var __exportStar; +var __values; +var __read; +var __spread; +var __spreadArrays; +var __await; +var __asyncGenerator; +var __asyncDelegator; +var __asyncValues; +var __makeTemplateObject; +var __importStar; +var __importDefault; +var __classPrivateFieldGet; +var __classPrivateFieldSet; +var __createBinding; +(function (factory) { + var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; + if (typeof define === "function" && define.amd) { + define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); + } + else if (typeof module === "object" && typeof module.exports === "object") { + factory(createExporter(root, createExporter(module.exports))); + } + else { + factory(createExporter(root)); + } + function createExporter(exports, previous) { + if (exports !== root) { + if (typeof Object.create === "function") { + Object.defineProperty(exports, "__esModule", { value: true }); + } + else { + exports.__esModule = true; + } + } + return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; + } +}) +(function (exporter) { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + + __extends = function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + + __assign = Object.assign || function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + + __rest = function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + }; + + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + }; + + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + }; + + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); + }; + + __awaiter = function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + + __generator = function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + + __createBinding = function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }; + + __exportStar = function (m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; + }; + + __values = function (o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + }; + + __makeTemplateObject = function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + }; + + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; + }; + + __importDefault = function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + + __classPrivateFieldGet = function (receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); + }; + + __classPrivateFieldSet = function (receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; + }; + + exporter("__extends", __extends); + exporter("__assign", __assign); + exporter("__rest", __rest); + exporter("__decorate", __decorate); + exporter("__param", __param); + exporter("__metadata", __metadata); + exporter("__awaiter", __awaiter); + exporter("__generator", __generator); + exporter("__exportStar", __exportStar); + exporter("__createBinding", __createBinding); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__spreadArrays", __spreadArrays); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + exporter("__makeTemplateObject", __makeTemplateObject); + exporter("__importStar", __importStar); + exporter("__importDefault", __importDefault); + exporter("__classPrivateFieldGet", __classPrivateFieldGet); + exporter("__classPrivateFieldSet", __classPrivateFieldSet); +}); diff --git a/node_modules/@sentry/tracing/package.json b/node_modules/@sentry/tracing/package.json new file mode 100644 index 000000000..d374711a0 --- /dev/null +++ b/node_modules/@sentry/tracing/package.json @@ -0,0 +1,119 @@ +{ + "_from": "@sentry/tracing@6.17.9", + "_id": "@sentry/tracing@6.17.9", + "_inBundle": false, + "_integrity": "sha512-5Rb/OS4ryNJLvz2nv6wyjwhifjy6veqaF9ffLrwFYij/WDy7m62ASBblxgeiI3fbPLX0aBRFWIJAq1vko26+AQ==", + "_location": "/@sentry/tracing", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@sentry/tracing@6.17.9", + "name": "@sentry/tracing", + "escapedName": "@sentry%2ftracing", + "scope": "@sentry", + "rawSpec": "6.17.9", + "saveSpec": null, + "fetchSpec": "6.17.9" + }, + "_requiredBy": [ + "/@sentry/node" + ], + "_resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.17.9.tgz", + "_shasum": "d4a6d96d88f10c9cd496e5b32f44d6e67d4c5dc7", + "_spec": "@sentry/tracing@6.17.9", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/node", + "author": { + "name": "Sentry" + }, + "bugs": { + "url": "https://github.com/getsentry/sentry-javascript/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@sentry/hub": "6.17.9", + "@sentry/minimal": "6.17.9", + "@sentry/types": "6.17.9", + "@sentry/utils": "6.17.9", + "tslib": "^1.9.3" + }, + "deprecated": false, + "description": "Extensions for Sentry AM", + "devDependencies": { + "@sentry/browser": "6.17.9", + "@types/express": "^4.17.1", + "@types/jsdom": "^16.2.3", + "jsdom": "^16.2.2" + }, + "engines": { + "node": ">=6" + }, + "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/tracing", + "jest": { + "collectCoverage": true, + "transform": { + "^.+\\.ts$": "ts-jest" + }, + "moduleFileExtensions": [ + "js", + "ts" + ], + "testEnvironment": "node", + "testMatch": [ + "**/*.test.ts" + ], + "globals": { + "ts-jest": { + "tsConfig": "./tsconfig.json", + "diagnostics": false + } + } + }, + "license": "MIT", + "main": "dist/index.js", + "module": "esm/index.js", + "name": "@sentry/tracing", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git://github.com/getsentry/sentry-javascript.git" + }, + "scripts": { + "build": "run-p build:cjs build:esm build:bundle", + "build:bundle": "rollup --config", + "build:bundle:watch": "rollup --config --watch", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", + "build:dev": "run-s build:cjs build:esm", + "build:dev:watch": "run-s build:watch", + "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", + "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", + "build:esm": "tsc -p tsconfig.esm.json", + "build:esm:watch": "tsc -p tsconfig.esm.json --watch", + "build:watch": "run-p build:cjs:watch build:esm:watch build:bundle:watch", + "circularDepCheck": "madge --circular src/index.ts", + "clean": "rimraf dist esm build coverage", + "fix": "run-s fix:eslint fix:prettier", + "fix:eslint": "eslint . --format stylish --fix", + "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"", + "link:yarn": "yarn link", + "lint": "run-s lint:prettier lint:eslint", + "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish", + "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"", + "pack": "npm pack", + "test": "jest", + "test:watch": "jest --watch" + }, + "sideEffects": [ + "./dist/index.js", + "./esm/index.js", + "./src/index.ts" + ], + "types": "dist/index.d.ts", + "version": "6.17.9", + "volta": { + "extends": "../../package.json" + } +} diff --git a/node_modules/@sentry/types/LICENSE b/node_modules/@sentry/types/LICENSE new file mode 100644 index 000000000..8b42db873 --- /dev/null +++ b/node_modules/@sentry/types/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Sentry +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@sentry/types/README.md b/node_modules/@sentry/types/README.md new file mode 100644 index 000000000..6d0a1322c --- /dev/null +++ b/node_modules/@sentry/types/README.md @@ -0,0 +1,22 @@ +

+ + + +
+

+ +# Sentry JavaScript SDK Types + +[![npm version](https://img.shields.io/npm/v/@sentry/types.svg)](https://www.npmjs.com/package/@sentry/types) +[![npm dm](https://img.shields.io/npm/dm/@sentry/types.svg)](https://www.npmjs.com/package/@sentry/types) +[![npm dt](https://img.shields.io/npm/dt/@sentry/types.svg)](https://www.npmjs.com/package/@sentry/types) +[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/) + +## Links + +- [Official SDK Docs](https://docs.sentry.io/quickstart/) +- [TypeDoc](http://getsentry.github.io/sentry-javascript/) + +## General + +Common types used by the Sentry JavaScript SDKs. diff --git a/node_modules/@sentry/types/dist/breadcrumb.d.ts b/node_modules/@sentry/types/dist/breadcrumb.d.ts new file mode 100644 index 000000000..23b135784 --- /dev/null +++ b/node_modules/@sentry/types/dist/breadcrumb.d.ts @@ -0,0 +1,18 @@ +import { Severity } from './severity'; +/** JSDoc */ +export interface Breadcrumb { + type?: string; + level?: Severity; + event_id?: string; + category?: string; + message?: string; + data?: { + [key: string]: any; + }; + timestamp?: number; +} +/** JSDoc */ +export interface BreadcrumbHint { + [key: string]: any; +} +//# sourceMappingURL=breadcrumb.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/breadcrumb.d.ts.map b/node_modules/@sentry/types/dist/breadcrumb.d.ts.map new file mode 100644 index 000000000..5fac02751 --- /dev/null +++ b/node_modules/@sentry/types/dist/breadcrumb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../src/breadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,YAAY;AACZ,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,YAAY;AACZ,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/breadcrumb.js b/node_modules/@sentry/types/dist/breadcrumb.js new file mode 100644 index 000000000..6abd86789 --- /dev/null +++ b/node_modules/@sentry/types/dist/breadcrumb.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=breadcrumb.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/breadcrumb.js.map b/node_modules/@sentry/types/dist/breadcrumb.js.map new file mode 100644 index 000000000..7a7e0e1d8 --- /dev/null +++ b/node_modules/@sentry/types/dist/breadcrumb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"breadcrumb.js","sourceRoot":"","sources":["../src/breadcrumb.ts"],"names":[],"mappings":"","sourcesContent":["import { Severity } from './severity';\n\n/** JSDoc */\nexport interface Breadcrumb {\n type?: string;\n level?: Severity;\n event_id?: string;\n category?: string;\n message?: string;\n data?: { [key: string]: any };\n timestamp?: number;\n}\n\n/** JSDoc */\nexport interface BreadcrumbHint {\n [key: string]: any;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/client.d.ts b/node_modules/@sentry/types/dist/client.d.ts new file mode 100644 index 000000000..25d17b992 --- /dev/null +++ b/node_modules/@sentry/types/dist/client.d.ts @@ -0,0 +1,81 @@ +import { DsnComponents } from './dsn'; +import { Event, EventHint } from './event'; +import { Integration, IntegrationClass } from './integration'; +import { Options } from './options'; +import { Scope } from './scope'; +import { Session } from './session'; +import { Severity } from './severity'; +import { Transport } from './transport'; +/** + * User-Facing Sentry SDK Client. + * + * This interface contains all methods to interface with the SDK once it has + * been installed. It allows to send events to Sentry, record breadcrumbs and + * set a context included in every event. Since the SDK mutates its environment, + * there will only be one instance during runtime. + * + */ +export interface Client { + /** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @param hint May contain additional information about the original exception. + * @param scope An optional scope containing event metadata. + * @returns The event id + */ + captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined; + /** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param level Define the level of the message. + * @param hint May contain additional information about the original exception. + * @param scope An optional scope containing event metadata. + * @returns The event id + */ + captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined; + /** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + * @param scope An optional scope containing event metadata. + * @returns The event id + */ + captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined; + /** Captures a session + * + * @param session Session to be delivered + */ + captureSession?(session: Session): void; + /** Returns the current Dsn. */ + getDsn(): DsnComponents | undefined; + /** Returns the current options. */ + getOptions(): O; + /** Returns clients transport. */ + getTransport?(): Transport; + /** + * Flush the event queue and set the client to `enabled = false`. See {@link Client.flush}. + * + * @param timeout Maximum time in ms the client should wait before shutting down. Omitting this parameter will cause + * the client to wait until all events are sent before disabling itself. + * @returns A promise which resolves to `true` if the flush completes successfully before the timeout, or `false` if + * it doesn't. + */ + close(timeout?: number): PromiseLike; + /** + * Wait for all events to be sent or the timeout to expire, whichever comes first. + * + * @param timeout Maximum time in ms the client should wait for events to be flushed. Omitting this parameter will + * cause the client to wait until all events are sent before resolving the promise. + * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are + * still events in the queue when the timeout is reached. + */ + flush(timeout?: number): PromiseLike; + /** Returns an array of installed integrations on the client. */ + getIntegration(integration: IntegrationClass): T | null; + /** This is an internal function to setup all integrations that should run on the client */ + setupIntegrations(): void; +} +//# sourceMappingURL=client.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/client.d.ts.map b/node_modules/@sentry/types/dist/client.d.ts.map new file mode 100644 index 000000000..06d42d49b --- /dev/null +++ b/node_modules/@sentry/types/dist/client.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;;;;;;GAQG;AACH,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO;IACjD;;;;;;;OAOG;IACH,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;IAEtF;;;;;;;;OAQG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;IAEvG;;;;;;;OAOG;IACH,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;IAEhF;;;OAGG;IACH,cAAc,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAExC,+BAA+B;IAC/B,MAAM,IAAI,aAAa,GAAG,SAAS,CAAC;IAEpC,mCAAmC;IACnC,UAAU,IAAI,CAAC,CAAC;IAEhB,iCAAiC;IACjC,YAAY,CAAC,IAAI,SAAS,CAAC;IAE3B;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAE9C;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAE9C,gEAAgE;IAChE,cAAc,CAAC,CAAC,SAAS,WAAW,EAAE,WAAW,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAElF,2FAA2F;IAC3F,iBAAiB,IAAI,IAAI,CAAC;CAC3B"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/client.js b/node_modules/@sentry/types/dist/client.js new file mode 100644 index 000000000..8e65382d2 --- /dev/null +++ b/node_modules/@sentry/types/dist/client.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=client.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/client.js.map b/node_modules/@sentry/types/dist/client.js.map new file mode 100644 index 000000000..22c1d8aca --- /dev/null +++ b/node_modules/@sentry/types/dist/client.js.map @@ -0,0 +1 @@ +{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"","sourcesContent":["import { DsnComponents } from './dsn';\nimport { Event, EventHint } from './event';\nimport { Integration, IntegrationClass } from './integration';\nimport { Options } from './options';\nimport { Scope } from './scope';\nimport { Session } from './session';\nimport { Severity } from './severity';\nimport { Transport } from './transport';\n\n/**\n * User-Facing Sentry SDK Client.\n *\n * This interface contains all methods to interface with the SDK once it has\n * been installed. It allows to send events to Sentry, record breadcrumbs and\n * set a context included in every event. Since the SDK mutates its environment,\n * there will only be one instance during runtime.\n *\n */\nexport interface Client {\n /**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @param hint May contain additional information about the original exception.\n * @param scope An optional scope containing event metadata.\n * @returns The event id\n */\n captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined;\n\n /**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param level Define the level of the message.\n * @param hint May contain additional information about the original exception.\n * @param scope An optional scope containing event metadata.\n * @returns The event id\n */\n captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined;\n\n /**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope An optional scope containing event metadata.\n * @returns The event id\n */\n captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined;\n\n /** Captures a session\n *\n * @param session Session to be delivered\n */\n captureSession?(session: Session): void;\n\n /** Returns the current Dsn. */\n getDsn(): DsnComponents | undefined;\n\n /** Returns the current options. */\n getOptions(): O;\n\n /** Returns clients transport. */\n getTransport?(): Transport;\n\n /**\n * Flush the event queue and set the client to `enabled = false`. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait before shutting down. Omitting this parameter will cause\n * the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the flush completes successfully before the timeout, or `false` if\n * it doesn't.\n */\n close(timeout?: number): PromiseLike;\n\n /**\n * Wait for all events to be sent or the timeout to expire, whichever comes first.\n *\n * @param timeout Maximum time in ms the client should wait for events to be flushed. Omitting this parameter will\n * cause the client to wait until all events are sent before resolving the promise.\n * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are\n * still events in the queue when the timeout is reached.\n */\n flush(timeout?: number): PromiseLike;\n\n /** Returns an array of installed integrations on the client. */\n getIntegration(integration: IntegrationClass): T | null;\n\n /** This is an internal function to setup all integrations that should run on the client */\n setupIntegrations(): void;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/context.d.ts b/node_modules/@sentry/types/dist/context.d.ts new file mode 100644 index 000000000..5e2d1c397 --- /dev/null +++ b/node_modules/@sentry/types/dist/context.d.ts @@ -0,0 +1,3 @@ +export declare type Context = Record; +export declare type Contexts = Record; +//# sourceMappingURL=context.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/context.d.ts.map b/node_modules/@sentry/types/dist/context.d.ts.map new file mode 100644 index 000000000..c3ab8a31a --- /dev/null +++ b/node_modules/@sentry/types/dist/context.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC9C,oBAAY,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/context.js b/node_modules/@sentry/types/dist/context.js new file mode 100644 index 000000000..ac1d412c4 --- /dev/null +++ b/node_modules/@sentry/types/dist/context.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=context.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/context.js.map b/node_modules/@sentry/types/dist/context.js.map new file mode 100644 index 000000000..8f04a60ee --- /dev/null +++ b/node_modules/@sentry/types/dist/context.js.map @@ -0,0 +1 @@ +{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"","sourcesContent":["export type Context = Record;\nexport type Contexts = Record;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/debugMeta.d.ts b/node_modules/@sentry/types/dist/debugMeta.d.ts new file mode 100644 index 000000000..e0c527c8b --- /dev/null +++ b/node_modules/@sentry/types/dist/debugMeta.d.ts @@ -0,0 +1,21 @@ +/** + * Holds meta information to customize the behavior of Sentry's server-side event processing. + **/ +export interface DebugMeta { + images?: Array; +} +/** + * Possible choices for debug images. + */ +export declare type DebugImageType = 'wasm' | 'macho' | 'elf' | 'pe'; +/** + * References to debug images. + */ +export interface DebugImage { + type: DebugImageType; + debug_id: string; + code_id?: string | null; + code_file: string; + debug_file?: string | null; +} +//# sourceMappingURL=debugMeta.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/debugMeta.d.ts.map b/node_modules/@sentry/types/dist/debugMeta.d.ts.map new file mode 100644 index 000000000..7a131eccc --- /dev/null +++ b/node_modules/@sentry/types/dist/debugMeta.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"debugMeta.d.ts","sourceRoot":"","sources":["../src/debugMeta.ts"],"names":[],"mappings":"AAAA;;IAEI;AACJ,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC5B;AAED;;GAEG;AACH,oBAAY,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,IAAI,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/debugMeta.js b/node_modules/@sentry/types/dist/debugMeta.js new file mode 100644 index 000000000..913baf817 --- /dev/null +++ b/node_modules/@sentry/types/dist/debugMeta.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=debugMeta.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/debugMeta.js.map b/node_modules/@sentry/types/dist/debugMeta.js.map new file mode 100644 index 000000000..60638f52a --- /dev/null +++ b/node_modules/@sentry/types/dist/debugMeta.js.map @@ -0,0 +1 @@ +{"version":3,"file":"debugMeta.js","sourceRoot":"","sources":["../src/debugMeta.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Holds meta information to customize the behavior of Sentry's server-side event processing.\n **/\nexport interface DebugMeta {\n images?: Array;\n}\n\n/**\n * Possible choices for debug images.\n */\nexport type DebugImageType = 'wasm' | 'macho' | 'elf' | 'pe';\n\n/**\n * References to debug images.\n */\nexport interface DebugImage {\n type: DebugImageType;\n debug_id: string;\n code_id?: string | null;\n code_file: string;\n debug_file?: string | null;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/dsn.d.ts b/node_modules/@sentry/types/dist/dsn.d.ts new file mode 100644 index 000000000..dbc6e170f --- /dev/null +++ b/node_modules/@sentry/types/dist/dsn.d.ts @@ -0,0 +1,24 @@ +/** Supported Sentry transport protocols in a Dsn. */ +export declare type DsnProtocol = 'http' | 'https'; +/** Primitive components of a Dsn. */ +export interface DsnComponents { + /** Protocol used to connect to Sentry. */ + protocol: DsnProtocol; + /** Public authorization key (deprecated, renamed to publicKey). */ + user?: string; + /** Public authorization key. */ + publicKey?: string; + /** Private authorization key (deprecated, optional). */ + pass?: string; + /** Hostname of the Sentry instance. */ + host: string; + /** Port of the Sentry instance. */ + port?: string; + /** Sub path/ */ + path?: string; + /** Project ID */ + projectId: string; +} +/** Anything that can be parsed into a Dsn. */ +export declare type DsnLike = string | DsnComponents; +//# sourceMappingURL=dsn.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/dsn.d.ts.map b/node_modules/@sentry/types/dist/dsn.d.ts.map new file mode 100644 index 000000000..0fd4e8fa1 --- /dev/null +++ b/node_modules/@sentry/types/dist/dsn.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"dsn.d.ts","sourceRoot":"","sources":["../src/dsn.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,oBAAY,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAE3C,qCAAqC;AACrC,MAAM,WAAW,aAAa;IAC5B,0CAA0C;IAC1C,QAAQ,EAAE,WAAW,CAAC;IACtB,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,8CAA8C;AAC9C,oBAAY,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/dsn.js b/node_modules/@sentry/types/dist/dsn.js new file mode 100644 index 000000000..209d472e5 --- /dev/null +++ b/node_modules/@sentry/types/dist/dsn.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=dsn.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/dsn.js.map b/node_modules/@sentry/types/dist/dsn.js.map new file mode 100644 index 000000000..78dac467a --- /dev/null +++ b/node_modules/@sentry/types/dist/dsn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dsn.js","sourceRoot":"","sources":["../src/dsn.ts"],"names":[],"mappings":"","sourcesContent":["/** Supported Sentry transport protocols in a Dsn. */\nexport type DsnProtocol = 'http' | 'https';\n\n/** Primitive components of a Dsn. */\nexport interface DsnComponents {\n /** Protocol used to connect to Sentry. */\n protocol: DsnProtocol;\n /** Public authorization key (deprecated, renamed to publicKey). */\n user?: string;\n /** Public authorization key. */\n publicKey?: string;\n /** Private authorization key (deprecated, optional). */\n pass?: string;\n /** Hostname of the Sentry instance. */\n host: string;\n /** Port of the Sentry instance. */\n port?: string;\n /** Sub path/ */\n path?: string;\n /** Project ID */\n projectId: string;\n}\n\n/** Anything that can be parsed into a Dsn. */\nexport type DsnLike = string | DsnComponents;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/envelope.d.ts b/node_modules/@sentry/types/dist/envelope.d.ts new file mode 100644 index 000000000..a40518a92 --- /dev/null +++ b/node_modules/@sentry/types/dist/envelope.d.ts @@ -0,0 +1,70 @@ +import { Event } from './event'; +import { SentryRequestType } from './request'; +import { SdkInfo } from './sdkinfo'; +import { Session, SessionAggregates } from './session'; +import { Outcome } from './transport'; +import { User } from './user'; +declare type CommonEnvelopeHeaders = { + dsn?: string; + sdk?: SdkInfo; +}; +declare type CommonEnvelopeItemHeaders = { + length?: number; +}; +/** + * 1st Item: Item headers + * 2nd Item: Item payload + */ +declare type BaseEnvelopeItem = [CommonEnvelopeItemHeaders & ItemHeader, Payload]; +declare type UnknownEnvelopeItem = BaseEnvelopeItem<{ + type: '__unknown__'; +}>; +declare type BaseEnvelope, EnvelopeItem extends BaseEnvelopeItem<{ + type: string; +}>> = { + headers: CommonEnvelopeHeaders & EnvelopeHeaders; + items: Array; +}; +export declare type EventEnvelopeItem = BaseEnvelopeItem<{ + type: 'event' | 'transaction'; +}, Event>; +declare type AttachmentEnvelopeItem = BaseEnvelopeItem<{ + type: 'attachment'; + filename: 'string'; +}>; +declare type UserFeedbackEnvelopeItem = BaseEnvelopeItem<{ + type: 'user_report'; +}, { + event_id: string; + email: User['email']; + name: string; + comments: string; +}>; +export declare type EventEnvelope = BaseEnvelope<{ + event_id: string; + sent_at: string; +}, EventEnvelopeItem | AttachmentEnvelopeItem | UserFeedbackEnvelopeItem>; +export declare type SessionEnvelopeItem = BaseEnvelopeItem<{ + type: 'session'; +}, Session> | BaseEnvelopeItem<{ + type: 'sessions'; +}, SessionAggregates>; +export declare type SessionEnvelope = BaseEnvelope<{ + sent_at: string; +}, SessionEnvelopeItem>; +export declare type ClientReportEnvelopeItem = BaseEnvelopeItem<{ + type: 'client_report'; +}, { + timestamp: number; + discarded_events: { + reason: Outcome; + category: SentryRequestType; + quantity: number; + }; +}>; +export declare type ClientReportEnvelope = BaseEnvelope, ClientReportEnvelopeItem>; +export declare type Envelope = EventEnvelope | SessionEnvelope | ClientReportEnvelope; +export {}; +//# sourceMappingURL=envelope.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/envelope.d.ts.map b/node_modules/@sentry/types/dist/envelope.d.ts.map new file mode 100644 index 000000000..6457de758 --- /dev/null +++ b/node_modules/@sentry/types/dist/envelope.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAI9B,aAAK,qBAAqB,GAAG;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,aAAK,yBAAyB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,aAAK,gBAAgB,CAAC,UAAU,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,OAAO,GAAG,OAAO,IAAI,CAC9E,yBAAyB,GAAG,UAAU,EACtC,OAAO,CACR,CAAC;AAEF,aAAK,mBAAmB,GAAG,gBAAgB,CAAC;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC,CAAC;AAErE,aAAK,YAAY,CACf,eAAe,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/C,YAAY,SAAS,gBAAgB,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,IACrD;IACF,OAAO,EAAE,qBAAqB,GAAG,eAAe,CAAC;IACjD,KAAK,EAAE,KAAK,CAAC,YAAY,GAAG,mBAAmB,CAAC,CAAC;CAClD,CAAC;AAEF,oBAAY,iBAAiB,GAAG,gBAAgB,CAAC;IAAE,IAAI,EAAE,OAAO,GAAG,aAAa,CAAA;CAAE,EAAE,KAAK,CAAC,CAAC;AAE3F,aAAK,sBAAsB,GAAG,gBAAgB,CAAC;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAC;AAE3F,aAAK,wBAAwB,GAAG,gBAAgB,CAC9C;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,EACvB;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CACF,CAAC;AAEF,oBAAY,aAAa,GAAG,YAAY,CACtC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EACrC,iBAAiB,GAAG,sBAAsB,GAAG,wBAAwB,CACtE,CAAC;AAEF,oBAAY,mBAAmB,GAC3B,gBAAgB,CAAC;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,EAAE,OAAO,CAAC,GAC9C,gBAAgB,CAAC;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,EAAE,iBAAiB,CAAC,CAAC;AAE9D,oBAAY,eAAe,GAAG,YAAY,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,mBAAmB,CAAC,CAAC;AAErF,oBAAY,wBAAwB,GAAG,gBAAgB,CACrD;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,EACzB;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,iBAAiB,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAC5G,CAAC;AAEF,oBAAY,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,wBAAwB,CAAC,CAAC;AAEnG,oBAAY,QAAQ,GAAG,aAAa,GAAG,eAAe,GAAG,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/envelope.js b/node_modules/@sentry/types/dist/envelope.js new file mode 100644 index 000000000..aea15cbdb --- /dev/null +++ b/node_modules/@sentry/types/dist/envelope.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=envelope.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/envelope.js.map b/node_modules/@sentry/types/dist/envelope.js.map new file mode 100644 index 000000000..41f36f941 --- /dev/null +++ b/node_modules/@sentry/types/dist/envelope.js.map @@ -0,0 +1 @@ +{"version":3,"file":"envelope.js","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"","sourcesContent":["import { Event } from './event';\nimport { SentryRequestType } from './request';\nimport { SdkInfo } from './sdkinfo';\nimport { Session, SessionAggregates } from './session';\nimport { Outcome } from './transport';\nimport { User } from './user';\n\n// Based on: https://develop.sentry.dev/sdk/envelopes/\n\ntype CommonEnvelopeHeaders = {\n dsn?: string;\n sdk?: SdkInfo;\n};\n\ntype CommonEnvelopeItemHeaders = {\n length?: number;\n};\n\n/**\n * 1st Item: Item headers\n * 2nd Item: Item payload\n */\ntype BaseEnvelopeItem = [\n CommonEnvelopeItemHeaders & ItemHeader,\n Payload,\n];\n\ntype UnknownEnvelopeItem = BaseEnvelopeItem<{ type: '__unknown__' }>;\n\ntype BaseEnvelope<\n EnvelopeHeaders extends Record,\n EnvelopeItem extends BaseEnvelopeItem<{ type: string }>,\n> = {\n headers: CommonEnvelopeHeaders & EnvelopeHeaders;\n items: Array;\n};\n\nexport type EventEnvelopeItem = BaseEnvelopeItem<{ type: 'event' | 'transaction' }, Event>;\n\ntype AttachmentEnvelopeItem = BaseEnvelopeItem<{ type: 'attachment'; filename: 'string' }>;\n\ntype UserFeedbackEnvelopeItem = BaseEnvelopeItem<\n { type: 'user_report' },\n {\n event_id: string;\n email: User['email'];\n name: string;\n comments: string;\n }\n>;\n\nexport type EventEnvelope = BaseEnvelope<\n { event_id: string; sent_at: string },\n EventEnvelopeItem | AttachmentEnvelopeItem | UserFeedbackEnvelopeItem\n>;\n\nexport type SessionEnvelopeItem =\n | BaseEnvelopeItem<{ type: 'session' }, Session>\n | BaseEnvelopeItem<{ type: 'sessions' }, SessionAggregates>;\n\nexport type SessionEnvelope = BaseEnvelope<{ sent_at: string }, SessionEnvelopeItem>;\n\nexport type ClientReportEnvelopeItem = BaseEnvelopeItem<\n { type: 'client_report' },\n { timestamp: number; discarded_events: { reason: Outcome; category: SentryRequestType; quantity: number } }\n>;\n\nexport type ClientReportEnvelope = BaseEnvelope, ClientReportEnvelopeItem>;\n\nexport type Envelope = EventEnvelope | SessionEnvelope | ClientReportEnvelope;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/error.d.ts b/node_modules/@sentry/types/dist/error.d.ts new file mode 100644 index 000000000..c213b0793 --- /dev/null +++ b/node_modules/@sentry/types/dist/error.d.ts @@ -0,0 +1,7 @@ +/** + * Just an Error object with arbitrary attributes attached to it. + */ +export interface ExtendedError extends Error { + [key: string]: any; +} +//# sourceMappingURL=error.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/error.d.ts.map b/node_modules/@sentry/types/dist/error.d.ts.map new file mode 100644 index 000000000..81a7b2a0e --- /dev/null +++ b/node_modules/@sentry/types/dist/error.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK;IAC1C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/error.js b/node_modules/@sentry/types/dist/error.js new file mode 100644 index 000000000..349746aa6 --- /dev/null +++ b/node_modules/@sentry/types/dist/error.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=error.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/error.js.map b/node_modules/@sentry/types/dist/error.js.map new file mode 100644 index 000000000..3d6064c3f --- /dev/null +++ b/node_modules/@sentry/types/dist/error.js.map @@ -0,0 +1 @@ +{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Just an Error object with arbitrary attributes attached to it.\n */\nexport interface ExtendedError extends Error {\n [key: string]: any;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/event.d.ts b/node_modules/@sentry/types/dist/event.d.ts new file mode 100644 index 000000000..58e31a5fd --- /dev/null +++ b/node_modules/@sentry/types/dist/event.d.ts @@ -0,0 +1,64 @@ +import { Breadcrumb } from './breadcrumb'; +import { Contexts } from './context'; +import { DebugMeta } from './debugMeta'; +import { Exception } from './exception'; +import { Extras } from './extra'; +import { Primitive } from './misc'; +import { Request } from './request'; +import { CaptureContext } from './scope'; +import { SdkInfo } from './sdkinfo'; +import { Severity } from './severity'; +import { Span } from './span'; +import { Stacktrace } from './stacktrace'; +import { Measurements } from './transaction'; +import { User } from './user'; +/** JSDoc */ +export interface Event { + event_id?: string; + message?: string; + timestamp?: number; + start_timestamp?: number; + level?: Severity; + platform?: string; + logger?: string; + server_name?: string; + release?: string; + dist?: string; + environment?: string; + sdk?: SdkInfo; + request?: Request; + transaction?: string; + modules?: { + [key: string]: string; + }; + fingerprint?: string[]; + exception?: { + values?: Exception[]; + }; + stacktrace?: Stacktrace; + breadcrumbs?: Breadcrumb[]; + contexts?: Contexts; + tags?: { + [key: string]: Primitive; + }; + extra?: Extras; + user?: User; + type?: EventType; + spans?: Span[]; + measurements?: Measurements; + debug_meta?: DebugMeta; + sdkProcessingMetadata?: { + [key: string]: any; + }; +} +/** JSDoc */ +export declare type EventType = 'transaction'; +/** JSDoc */ +export interface EventHint { + event_id?: string; + captureContext?: CaptureContext; + syntheticException?: Error | null; + originalException?: Error | string | null; + data?: any; +} +//# sourceMappingURL=event.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/event.d.ts.map b/node_modules/@sentry/types/dist/event.d.ts.map new file mode 100644 index 000000000..70747acdc --- /dev/null +++ b/node_modules/@sentry/types/dist/event.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../src/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,YAAY;AACZ,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE;QACV,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;KACtB,CAAC;IACF,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB,qBAAqB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAChD;AAED,YAAY;AACZ,oBAAY,SAAS,GAAG,aAAa,CAAC;AAEtC,YAAY;AACZ,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,kBAAkB,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAClC,iBAAiB,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;IAC1C,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/event.js b/node_modules/@sentry/types/dist/event.js new file mode 100644 index 000000000..80e514da3 --- /dev/null +++ b/node_modules/@sentry/types/dist/event.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=event.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/event.js.map b/node_modules/@sentry/types/dist/event.js.map new file mode 100644 index 000000000..f2d25bfc0 --- /dev/null +++ b/node_modules/@sentry/types/dist/event.js.map @@ -0,0 +1 @@ +{"version":3,"file":"event.js","sourceRoot":"","sources":["../src/event.ts"],"names":[],"mappings":"","sourcesContent":["import { Breadcrumb } from './breadcrumb';\nimport { Contexts } from './context';\nimport { DebugMeta } from './debugMeta';\nimport { Exception } from './exception';\nimport { Extras } from './extra';\nimport { Primitive } from './misc';\nimport { Request } from './request';\nimport { CaptureContext } from './scope';\nimport { SdkInfo } from './sdkinfo';\nimport { Severity } from './severity';\nimport { Span } from './span';\nimport { Stacktrace } from './stacktrace';\nimport { Measurements } from './transaction';\nimport { User } from './user';\n\n/** JSDoc */\nexport interface Event {\n event_id?: string;\n message?: string;\n timestamp?: number;\n start_timestamp?: number;\n level?: Severity;\n platform?: string;\n logger?: string;\n server_name?: string;\n release?: string;\n dist?: string;\n environment?: string;\n sdk?: SdkInfo;\n request?: Request;\n transaction?: string;\n modules?: { [key: string]: string };\n fingerprint?: string[];\n exception?: {\n values?: Exception[];\n };\n stacktrace?: Stacktrace;\n breadcrumbs?: Breadcrumb[];\n contexts?: Contexts;\n tags?: { [key: string]: Primitive };\n extra?: Extras;\n user?: User;\n type?: EventType;\n spans?: Span[];\n measurements?: Measurements;\n debug_meta?: DebugMeta;\n // A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get sent to Sentry\n sdkProcessingMetadata?: { [key: string]: any };\n}\n\n/** JSDoc */\nexport type EventType = 'transaction';\n\n/** JSDoc */\nexport interface EventHint {\n event_id?: string;\n captureContext?: CaptureContext;\n syntheticException?: Error | null;\n originalException?: Error | string | null;\n data?: any;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/eventprocessor.d.ts b/node_modules/@sentry/types/dist/eventprocessor.d.ts new file mode 100644 index 000000000..06cfda5e6 --- /dev/null +++ b/node_modules/@sentry/types/dist/eventprocessor.d.ts @@ -0,0 +1,9 @@ +import { Event, EventHint } from './event'; +/** + * Event processors are used to change the event before it will be send. + * We strongly advise to make this function sync. + * Returning a PromiseLike will work just fine, but better be sure that you know what you are doing. + * Event processing will be deferred until your Promise is resolved. + */ +export declare type EventProcessor = (event: Event, hint?: EventHint) => PromiseLike | Event | null; +//# sourceMappingURL=eventprocessor.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/eventprocessor.d.ts.map b/node_modules/@sentry/types/dist/eventprocessor.d.ts.map new file mode 100644 index 000000000..d8f537156 --- /dev/null +++ b/node_modules/@sentry/types/dist/eventprocessor.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"eventprocessor.d.ts","sourceRoot":"","sources":["../src/eventprocessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;GAKG;AACH,oBAAY,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,KAAK,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/eventprocessor.js b/node_modules/@sentry/types/dist/eventprocessor.js new file mode 100644 index 000000000..8662ebe67 --- /dev/null +++ b/node_modules/@sentry/types/dist/eventprocessor.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=eventprocessor.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/eventprocessor.js.map b/node_modules/@sentry/types/dist/eventprocessor.js.map new file mode 100644 index 000000000..b13cbc648 --- /dev/null +++ b/node_modules/@sentry/types/dist/eventprocessor.js.map @@ -0,0 +1 @@ +{"version":3,"file":"eventprocessor.js","sourceRoot":"","sources":["../src/eventprocessor.ts"],"names":[],"mappings":"","sourcesContent":["import { Event, EventHint } from './event';\n\n/**\n * Event processors are used to change the event before it will be send.\n * We strongly advise to make this function sync.\n * Returning a PromiseLike will work just fine, but better be sure that you know what you are doing.\n * Event processing will be deferred until your Promise is resolved.\n */\nexport type EventProcessor = (event: Event, hint?: EventHint) => PromiseLike | Event | null;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/eventstatus.d.ts b/node_modules/@sentry/types/dist/eventstatus.d.ts new file mode 100644 index 000000000..9b2ea99eb --- /dev/null +++ b/node_modules/@sentry/types/dist/eventstatus.d.ts @@ -0,0 +1,14 @@ +export declare type EventStatus = +/** The status could not be determined. */ +'unknown' +/** The event was skipped due to configuration or callbacks. */ + | 'skipped' +/** The event was sent to Sentry successfully. */ + | 'rate_limit' +/** The client is currently rate limited and will try again later. */ + | 'invalid' +/** The event could not be processed. */ + | 'failed' +/** A server-side error occurred during submission. */ + | 'success'; +//# sourceMappingURL=eventstatus.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/eventstatus.d.ts.map b/node_modules/@sentry/types/dist/eventstatus.d.ts.map new file mode 100644 index 000000000..7d92cfc38 --- /dev/null +++ b/node_modules/@sentry/types/dist/eventstatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"eventstatus.d.ts","sourceRoot":"","sources":["../src/eventstatus.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;AACrB,0CAA0C;AACxC,SAAS;AACX,+DAA+D;GAC7D,SAAS;AACX,iDAAiD;GAC/C,YAAY;AACd,qEAAqE;GACnE,SAAS;AACX,wCAAwC;GACtC,QAAQ;AACV,sDAAsD;GACpD,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/eventstatus.js b/node_modules/@sentry/types/dist/eventstatus.js new file mode 100644 index 000000000..c5ade2baa --- /dev/null +++ b/node_modules/@sentry/types/dist/eventstatus.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=eventstatus.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/eventstatus.js.map b/node_modules/@sentry/types/dist/eventstatus.js.map new file mode 100644 index 000000000..f4f0a8f17 --- /dev/null +++ b/node_modules/@sentry/types/dist/eventstatus.js.map @@ -0,0 +1 @@ +{"version":3,"file":"eventstatus.js","sourceRoot":"","sources":["../src/eventstatus.ts"],"names":[],"mappings":"","sourcesContent":["export type EventStatus =\n /** The status could not be determined. */\n | 'unknown'\n /** The event was skipped due to configuration or callbacks. */\n | 'skipped'\n /** The event was sent to Sentry successfully. */\n | 'rate_limit'\n /** The client is currently rate limited and will try again later. */\n | 'invalid'\n /** The event could not be processed. */\n | 'failed'\n /** A server-side error occurred during submission. */\n | 'success';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/exception.d.ts b/node_modules/@sentry/types/dist/exception.d.ts new file mode 100644 index 000000000..3a16b7f2f --- /dev/null +++ b/node_modules/@sentry/types/dist/exception.d.ts @@ -0,0 +1,12 @@ +import { Mechanism } from './mechanism'; +import { Stacktrace } from './stacktrace'; +/** JSDoc */ +export interface Exception { + type?: string; + value?: string; + mechanism?: Mechanism; + module?: string; + thread_id?: number; + stacktrace?: Stacktrace; +} +//# sourceMappingURL=exception.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/exception.d.ts.map b/node_modules/@sentry/types/dist/exception.d.ts.map new file mode 100644 index 000000000..f6f55c257 --- /dev/null +++ b/node_modules/@sentry/types/dist/exception.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"exception.d.ts","sourceRoot":"","sources":["../src/exception.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY;AACZ,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/exception.js b/node_modules/@sentry/types/dist/exception.js new file mode 100644 index 000000000..5ff6ac1bb --- /dev/null +++ b/node_modules/@sentry/types/dist/exception.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=exception.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/exception.js.map b/node_modules/@sentry/types/dist/exception.js.map new file mode 100644 index 000000000..3ab750e52 --- /dev/null +++ b/node_modules/@sentry/types/dist/exception.js.map @@ -0,0 +1 @@ +{"version":3,"file":"exception.js","sourceRoot":"","sources":["../src/exception.ts"],"names":[],"mappings":"","sourcesContent":["import { Mechanism } from './mechanism';\nimport { Stacktrace } from './stacktrace';\n\n/** JSDoc */\nexport interface Exception {\n type?: string;\n value?: string;\n mechanism?: Mechanism;\n module?: string;\n thread_id?: number;\n stacktrace?: Stacktrace;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/extra.d.ts b/node_modules/@sentry/types/dist/extra.d.ts new file mode 100644 index 000000000..b75a77c11 --- /dev/null +++ b/node_modules/@sentry/types/dist/extra.d.ts @@ -0,0 +1,3 @@ +export declare type Extra = unknown; +export declare type Extras = Record; +//# sourceMappingURL=extra.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/extra.d.ts.map b/node_modules/@sentry/types/dist/extra.d.ts.map new file mode 100644 index 000000000..5bdcf9782 --- /dev/null +++ b/node_modules/@sentry/types/dist/extra.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"extra.d.ts","sourceRoot":"","sources":["../src/extra.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK,GAAG,OAAO,CAAC;AAC5B,oBAAY,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/extra.js b/node_modules/@sentry/types/dist/extra.js new file mode 100644 index 000000000..9618730c2 --- /dev/null +++ b/node_modules/@sentry/types/dist/extra.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=extra.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/extra.js.map b/node_modules/@sentry/types/dist/extra.js.map new file mode 100644 index 000000000..7995f68f5 --- /dev/null +++ b/node_modules/@sentry/types/dist/extra.js.map @@ -0,0 +1 @@ +{"version":3,"file":"extra.js","sourceRoot":"","sources":["../src/extra.ts"],"names":[],"mappings":"","sourcesContent":["export type Extra = unknown;\nexport type Extras = Record;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/hub.d.ts b/node_modules/@sentry/types/dist/hub.d.ts new file mode 100644 index 000000000..13f767f80 --- /dev/null +++ b/node_modules/@sentry/types/dist/hub.d.ts @@ -0,0 +1,212 @@ +import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; +import { Client } from './client'; +import { Event, EventHint } from './event'; +import { Extra, Extras } from './extra'; +import { Integration, IntegrationClass } from './integration'; +import { Primitive } from './misc'; +import { Scope } from './scope'; +import { Session, SessionContext } from './session'; +import { Severity } from './severity'; +import { Span, SpanContext } from './span'; +import { CustomSamplingContext, Transaction, TransactionContext } from './transaction'; +import { User } from './user'; +/** + * Internal class used to make sure we always have the latest internal functions + * working in case we have a version conflict. + */ +export interface Hub { + /** + * Checks if this hub's version is older than the given version. + * + * @param version A version number to compare to. + * @return True if the given version is newer; otherwise false. + * + * @hidden + */ + isOlderThan(version: number): boolean; + /** + * This binds the given client to the current scope. + * @param client An SDK client (client) instance. + */ + bindClient(client?: Client): void; + /** + * Create a new scope to store context information. + * + * The scope will be layered on top of the current one. It is isolated, i.e. all + * breadcrumbs and context information added to this scope will be removed once + * the scope ends. Be sure to always remove this scope with {@link this.popScope} + * when the operation finishes or throws. + * + * @returns Scope, the new cloned scope + */ + pushScope(): Scope; + /** + * Removes a previously pushed scope from the stack. + * + * This restores the state before the scope was pushed. All breadcrumbs and + * context information added since the last call to {@link this.pushScope} are + * discarded. + */ + popScope(): boolean; + /** + * Creates a new scope with and executes the given operation within. + * The scope is automatically removed once the operation + * finishes or throws. + * + * This is essentially a convenience function for: + * + * pushScope(); + * callback(); + * popScope(); + * + * @param callback that will be enclosed into push/popScope. + */ + withScope(callback: (scope: Scope) => void): void; + /** Returns the client of the top stack. */ + getClient(): Client | undefined; + /** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @param hint May contain additional information about the original exception. + * @returns The generated eventId. + */ + captureException(exception: any, hint?: EventHint): string; + /** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param level Define the level of the message. + * @param hint May contain additional information about the original exception. + * @returns The generated eventId. + */ + captureMessage(message: string, level?: Severity, hint?: EventHint): string; + /** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + */ + captureEvent(event: Event, hint?: EventHint): string; + /** + * This is the getter for lastEventId. + * + * @returns The last event id of a captured event. + */ + lastEventId(): string | undefined; + /** + * Records a new breadcrumb which will be attached to future events. + * + * Breadcrumbs will be added to subsequent events to provide more context on + * user's actions prior to an error or crash. + * + * @param breadcrumb The breadcrumb to record. + * @param hint May contain additional information about the original breadcrumb. + */ + addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void; + /** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ + setUser(user: User | null): void; + /** + * Set an object that will be merged sent as tags data with the event. + * + * @param tags Tags context object to merge into current context. + */ + setTags(tags: { + [key: string]: Primitive; + }): void; + /** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ + setTag(key: string, value: Primitive): void; + /** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ + setExtra(key: string, extra: Extra): void; + /** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ + setExtras(extras: Extras): void; + /** + * Sets context data with the given name. + * @param name of the context + * @param context Any kind of data. This data will be normalized. + */ + setContext(name: string, context: { + [key: string]: any; + } | null): void; + /** + * Callback to set context information onto the scope. + * + * @param callback Callback function that receives Scope. + */ + configureScope(callback: (scope: Scope) => void): void; + /** + * For the duration of the callback, this hub will be set as the global current Hub. + * This function is useful if you want to run your own client and hook into an already initialized one + * e.g.: Reporting issues to your own sentry when running in your component while still using the users configuration. + */ + run(callback: (hub: Hub) => void): void; + /** Returns the integration if installed on the current client. */ + getIntegration(integration: IntegrationClass): T | null; + /** Returns all trace headers that are currently on the top scope. */ + traceHeaders(): { + [key: string]: string; + }; + /** + * @deprecated No longer does anything. Use use {@link Transaction.startChild} instead. + */ + startSpan(context: SpanContext): Span; + /** + * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation. + * + * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a + * new child span within the transaction or any span, call the respective `.startChild()` method. + * + * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded. + * + * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its + * finished child spans will be sent to Sentry. + * + * @param context Properties of the new `Transaction`. + * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent + * default values). See {@link Options.tracesSampler}. + * + * @returns The transaction which was just started + */ + startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction; + /** + * Starts a new `Session`, sets on the current scope and returns it. + * + * To finish a `session`, it has to be passed directly to `client.captureSession`, which is done automatically + * when using `hub.endSession()` for the session currently stored on the scope. + * + * When there's already an existing session on the scope, it'll be automatically ended. + * + * @param context Optional properties of the new `Session`. + * + * @returns The session which was just started + */ + startSession(context?: SessionContext): Session; + /** + * Ends the session that lives on the current scope and sends it to Sentry + */ + endSession(): void; + /** + * Sends the current session on the scope to Sentry + * @param endSession If set the session will be marked as exited and removed from the scope + */ + captureSession(endSession?: boolean): void; +} +//# sourceMappingURL=hub.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/hub.d.ts.map b/node_modules/@sentry/types/dist/hub.d.ts.map new file mode 100644 index 000000000..be1e77ca3 --- /dev/null +++ b/node_modules/@sentry/types/dist/hub.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../src/hub.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/hub.js b/node_modules/@sentry/types/dist/hub.js new file mode 100644 index 000000000..f996830a8 --- /dev/null +++ b/node_modules/@sentry/types/dist/hub.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=hub.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/hub.js.map b/node_modules/@sentry/types/dist/hub.js.map new file mode 100644 index 000000000..5c48ec41c --- /dev/null +++ b/node_modules/@sentry/types/dist/hub.js.map @@ -0,0 +1 @@ +{"version":3,"file":"hub.js","sourceRoot":"","sources":["../src/hub.ts"],"names":[],"mappings":"","sourcesContent":["import { Breadcrumb, BreadcrumbHint } from './breadcrumb';\nimport { Client } from './client';\nimport { Event, EventHint } from './event';\nimport { Extra, Extras } from './extra';\nimport { Integration, IntegrationClass } from './integration';\nimport { Primitive } from './misc';\nimport { Scope } from './scope';\nimport { Session, SessionContext } from './session';\nimport { Severity } from './severity';\nimport { Span, SpanContext } from './span';\nimport { CustomSamplingContext, Transaction, TransactionContext } from './transaction';\nimport { User } from './user';\n\n/**\n * Internal class used to make sure we always have the latest internal functions\n * working in case we have a version conflict.\n */\nexport interface Hub {\n /**\n * Checks if this hub's version is older than the given version.\n *\n * @param version A version number to compare to.\n * @return True if the given version is newer; otherwise false.\n *\n * @hidden\n */\n isOlderThan(version: number): boolean;\n\n /**\n * This binds the given client to the current scope.\n * @param client An SDK client (client) instance.\n */\n bindClient(client?: Client): void;\n\n /**\n * Create a new scope to store context information.\n *\n * The scope will be layered on top of the current one. It is isolated, i.e. all\n * breadcrumbs and context information added to this scope will be removed once\n * the scope ends. Be sure to always remove this scope with {@link this.popScope}\n * when the operation finishes or throws.\n *\n * @returns Scope, the new cloned scope\n */\n pushScope(): Scope;\n\n /**\n * Removes a previously pushed scope from the stack.\n *\n * This restores the state before the scope was pushed. All breadcrumbs and\n * context information added since the last call to {@link this.pushScope} are\n * discarded.\n */\n popScope(): boolean;\n\n /**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n *\n * @param callback that will be enclosed into push/popScope.\n */\n withScope(callback: (scope: Scope) => void): void;\n\n /** Returns the client of the top stack. */\n getClient(): Client | undefined;\n\n /**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @param hint May contain additional information about the original exception.\n * @returns The generated eventId.\n */\n captureException(exception: any, hint?: EventHint): string;\n\n /**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param level Define the level of the message.\n * @param hint May contain additional information about the original exception.\n * @returns The generated eventId.\n */\n captureMessage(message: string, level?: Severity, hint?: EventHint): string;\n\n /**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n */\n captureEvent(event: Event, hint?: EventHint): string;\n\n /**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n */\n lastEventId(): string | undefined;\n\n /**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n * @param hint May contain additional information about the original breadcrumb.\n */\n addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void;\n\n /**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\n setUser(user: User | null): void;\n\n /**\n * Set an object that will be merged sent as tags data with the event.\n *\n * @param tags Tags context object to merge into current context.\n */\n setTags(tags: { [key: string]: Primitive }): void;\n\n /**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\n setTag(key: string, value: Primitive): void;\n\n /**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\n setExtra(key: string, extra: Extra): void;\n\n /**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\n setExtras(extras: Extras): void;\n\n /**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n setContext(name: string, context: { [key: string]: any } | null): void;\n\n /**\n * Callback to set context information onto the scope.\n *\n * @param callback Callback function that receives Scope.\n */\n configureScope(callback: (scope: Scope) => void): void;\n\n /**\n * For the duration of the callback, this hub will be set as the global current Hub.\n * This function is useful if you want to run your own client and hook into an already initialized one\n * e.g.: Reporting issues to your own sentry when running in your component while still using the users configuration.\n */\n run(callback: (hub: Hub) => void): void;\n\n /** Returns the integration if installed on the current client. */\n getIntegration(integration: IntegrationClass): T | null;\n\n /** Returns all trace headers that are currently on the top scope. */\n traceHeaders(): { [key: string]: string };\n\n /**\n * @deprecated No longer does anything. Use use {@link Transaction.startChild} instead.\n */\n startSpan(context: SpanContext): Span;\n\n /**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n */\n startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction;\n\n /**\n * Starts a new `Session`, sets on the current scope and returns it.\n *\n * To finish a `session`, it has to be passed directly to `client.captureSession`, which is done automatically\n * when using `hub.endSession()` for the session currently stored on the scope.\n *\n * When there's already an existing session on the scope, it'll be automatically ended.\n *\n * @param context Optional properties of the new `Session`.\n *\n * @returns The session which was just started\n */\n startSession(context?: SessionContext): Session;\n\n /**\n * Ends the session that lives on the current scope and sends it to Sentry\n */\n endSession(): void;\n\n /**\n * Sends the current session on the scope to Sentry\n * @param endSession If set the session will be marked as exited and removed from the scope\n */\n captureSession(endSession?: boolean): void;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/index.d.ts b/node_modules/@sentry/types/dist/index.d.ts new file mode 100644 index 000000000..731490ee3 --- /dev/null +++ b/node_modules/@sentry/types/dist/index.d.ts @@ -0,0 +1,36 @@ +export { Breadcrumb, BreadcrumbHint } from './breadcrumb'; +export { Client } from './client'; +export { Context, Contexts } from './context'; +export { DsnComponents, DsnLike, DsnProtocol } from './dsn'; +export { DebugImage, DebugImageType, DebugMeta } from './debugMeta'; +export { ClientReportEnvelope, ClientReportEnvelopeItem, Envelope, EventEnvelope, EventEnvelopeItem, SessionEnvelope, SessionEnvelopeItem, } from './envelope'; +export { ExtendedError } from './error'; +export { Event, EventHint } from './event'; +export { EventStatus } from './eventstatus'; +export { EventProcessor } from './eventprocessor'; +export { Exception } from './exception'; +export { Extra, Extras } from './extra'; +export { Hub } from './hub'; +export { Integration, IntegrationClass } from './integration'; +export { Mechanism } from './mechanism'; +export { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc'; +export { Options } from './options'; +export { Package } from './package'; +export { QueryParams, Request, SentryRequest, SentryRequestType } from './request'; +export { Response } from './response'; +export { Runtime } from './runtime'; +export { CaptureContext, Scope, ScopeContext } from './scope'; +export { SdkInfo } from './sdkinfo'; +export { SdkMetadata } from './sdkmetadata'; +export { SessionAggregates, AggregationCounts, Session, SessionContext, SessionStatus, RequestSession, RequestSessionStatus, SessionFlusherLike, } from './session'; +export { Severity } from './severity'; +export { SeverityLevel, SeverityLevels } from './severity'; +export { Span, SpanContext } from './span'; +export { StackFrame } from './stackframe'; +export { Stacktrace } from './stacktrace'; +export { CustomSamplingContext, Measurements, SamplingContext, TraceparentData, Transaction, TransactionContext, TransactionMetadata, TransactionSamplingMethod, } from './transaction'; +export { Thread } from './thread'; +export { Outcome, Transport, TransportOptions, TransportClass } from './transport'; +export { User } from './user'; +export { WrappedFunction } from './wrappedfunction'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/index.d.ts.map b/node_modules/@sentry/types/dist/index.d.ts.map new file mode 100644 index 000000000..5be222dc3 --- /dev/null +++ b/node_modules/@sentry/types/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,QAAQ,EACR,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,mBAAmB,GACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,wBAAwB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/index.js b/node_modules/@sentry/types/dist/index.js new file mode 100644 index 000000000..a32c9da24 --- /dev/null +++ b/node_modules/@sentry/types/dist/index.js @@ -0,0 +1,6 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var severity_1 = require("./severity"); +exports.Severity = severity_1.Severity; +var severity_2 = require("./severity"); +exports.SeverityLevels = severity_2.SeverityLevels; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/index.js.map b/node_modules/@sentry/types/dist/index.js.map new file mode 100644 index 000000000..29545a382 --- /dev/null +++ b/node_modules/@sentry/types/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AA2CA,uCAAsC;AAA7B,8BAAA,QAAQ,CAAA;AACjB,uCAA2D;AAAnC,oCAAA,cAAc,CAAA","sourcesContent":["export { Breadcrumb, BreadcrumbHint } from './breadcrumb';\nexport { Client } from './client';\nexport { Context, Contexts } from './context';\nexport { DsnComponents, DsnLike, DsnProtocol } from './dsn';\nexport { DebugImage, DebugImageType, DebugMeta } from './debugMeta';\nexport {\n ClientReportEnvelope,\n ClientReportEnvelopeItem,\n Envelope,\n EventEnvelope,\n EventEnvelopeItem,\n SessionEnvelope,\n SessionEnvelopeItem,\n} from './envelope';\nexport { ExtendedError } from './error';\nexport { Event, EventHint } from './event';\nexport { EventStatus } from './eventstatus';\nexport { EventProcessor } from './eventprocessor';\nexport { Exception } from './exception';\nexport { Extra, Extras } from './extra';\nexport { Hub } from './hub';\nexport { Integration, IntegrationClass } from './integration';\nexport { Mechanism } from './mechanism';\nexport { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc';\nexport { Options } from './options';\nexport { Package } from './package';\nexport { QueryParams, Request, SentryRequest, SentryRequestType } from './request';\nexport { Response } from './response';\nexport { Runtime } from './runtime';\nexport { CaptureContext, Scope, ScopeContext } from './scope';\nexport { SdkInfo } from './sdkinfo';\nexport { SdkMetadata } from './sdkmetadata';\nexport {\n SessionAggregates,\n AggregationCounts,\n Session,\n SessionContext,\n SessionStatus,\n RequestSession,\n RequestSessionStatus,\n SessionFlusherLike,\n} from './session';\n\nexport { Severity } from './severity';\nexport { SeverityLevel, SeverityLevels } from './severity';\nexport { Span, SpanContext } from './span';\nexport { StackFrame } from './stackframe';\nexport { Stacktrace } from './stacktrace';\nexport {\n CustomSamplingContext,\n Measurements,\n SamplingContext,\n TraceparentData,\n Transaction,\n TransactionContext,\n TransactionMetadata,\n TransactionSamplingMethod,\n} from './transaction';\nexport { Thread } from './thread';\nexport { Outcome, Transport, TransportOptions, TransportClass } from './transport';\nexport { User } from './user';\nexport { WrappedFunction } from './wrappedfunction';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/integration.d.ts b/node_modules/@sentry/types/dist/integration.d.ts new file mode 100644 index 000000000..cb8a9c9a9 --- /dev/null +++ b/node_modules/@sentry/types/dist/integration.d.ts @@ -0,0 +1,23 @@ +import { EventProcessor } from './eventprocessor'; +import { Hub } from './hub'; +/** Integration Class Interface */ +export interface IntegrationClass { + /** + * Property that holds the integration name + */ + id: string; + new (...args: any[]): T; +} +/** Integration interface */ +export interface Integration { + /** + * Returns {@link IntegrationClass.id} + */ + name: string; + /** + * Sets the integration up only once. + * This takes no options on purpose, options should be passed in the constructor + */ + setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; +} +//# sourceMappingURL=integration.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/integration.d.ts.map b/node_modules/@sentry/types/dist/integration.d.ts.map new file mode 100644 index 000000000..7240d9823 --- /dev/null +++ b/node_modules/@sentry/types/dist/integration.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../src/integration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,kCAAkC;AAClC,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CACzB;AAED,4BAA4B;AAC5B,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,SAAS,CAAC,uBAAuB,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI,CAAC;CACxG"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/integration.js b/node_modules/@sentry/types/dist/integration.js new file mode 100644 index 000000000..748b4488b --- /dev/null +++ b/node_modules/@sentry/types/dist/integration.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=integration.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/integration.js.map b/node_modules/@sentry/types/dist/integration.js.map new file mode 100644 index 000000000..1415d12df --- /dev/null +++ b/node_modules/@sentry/types/dist/integration.js.map @@ -0,0 +1 @@ +{"version":3,"file":"integration.js","sourceRoot":"","sources":["../src/integration.ts"],"names":[],"mappings":"","sourcesContent":["import { EventProcessor } from './eventprocessor';\nimport { Hub } from './hub';\n\n/** Integration Class Interface */\nexport interface IntegrationClass {\n /**\n * Property that holds the integration name\n */\n id: string;\n\n new (...args: any[]): T;\n}\n\n/** Integration interface */\nexport interface Integration {\n /**\n * Returns {@link IntegrationClass.id}\n */\n name: string;\n\n /**\n * Sets the integration up only once.\n * This takes no options on purpose, options should be passed in the constructor\n */\n setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/mechanism.d.ts b/node_modules/@sentry/types/dist/mechanism.d.ts new file mode 100644 index 000000000..c592d688e --- /dev/null +++ b/node_modules/@sentry/types/dist/mechanism.d.ts @@ -0,0 +1,30 @@ +/** + * Metadata about a captured exception, intended to provide a hint as to the means by which it was captured. + */ +export interface Mechanism { + /** + * For now, restricted to `onerror`, `onunhandledrejection` (both obvious), `instrument` (the result of + * auto-instrumentation), and `generic` (everything else). Converted to a tag on ingest. + */ + type: string; + /** + * In theory, whether or not the exception has been handled by the user. In practice, whether or not we see it before + * it hits the global error/rejection handlers, whether through explicit handling by the user or auto instrumentation. + * Converted to a tag on ingest and used in various ways in the UI. + */ + handled: boolean; + /** + * Arbitrary data to be associated with the mechanism (for example, errors coming from event handlers include the + * handler name and the event target. Will show up in the UI directly above the stacktrace. + */ + data?: { + [key: string]: string | boolean; + }; + /** + * True when `captureException` is called with anything other than an instance of `Error` (or, in the case of browser, + * an instance of `ErrorEvent`, `DOMError`, or `DOMException`). causing us to create a synthetic error in an attempt + * to recreate the stacktrace. + */ + synthetic?: boolean; +} +//# sourceMappingURL=mechanism.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/mechanism.d.ts.map b/node_modules/@sentry/types/dist/mechanism.d.ts.map new file mode 100644 index 000000000..c343a14e7 --- /dev/null +++ b/node_modules/@sentry/types/dist/mechanism.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mechanism.d.ts","sourceRoot":"","sources":["../src/mechanism.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;KACjC,CAAC;IAEF;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/mechanism.js b/node_modules/@sentry/types/dist/mechanism.js new file mode 100644 index 000000000..06b02a5f5 --- /dev/null +++ b/node_modules/@sentry/types/dist/mechanism.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=mechanism.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/mechanism.js.map b/node_modules/@sentry/types/dist/mechanism.js.map new file mode 100644 index 000000000..db10a74db --- /dev/null +++ b/node_modules/@sentry/types/dist/mechanism.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mechanism.js","sourceRoot":"","sources":["../src/mechanism.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Metadata about a captured exception, intended to provide a hint as to the means by which it was captured.\n */\nexport interface Mechanism {\n /**\n * For now, restricted to `onerror`, `onunhandledrejection` (both obvious), `instrument` (the result of\n * auto-instrumentation), and `generic` (everything else). Converted to a tag on ingest.\n */\n type: string;\n\n /**\n * In theory, whether or not the exception has been handled by the user. In practice, whether or not we see it before\n * it hits the global error/rejection handlers, whether through explicit handling by the user or auto instrumentation.\n * Converted to a tag on ingest and used in various ways in the UI.\n */\n handled: boolean;\n\n /**\n * Arbitrary data to be associated with the mechanism (for example, errors coming from event handlers include the\n * handler name and the event target. Will show up in the UI directly above the stacktrace.\n */\n data?: {\n [key: string]: string | boolean;\n };\n\n /**\n * True when `captureException` is called with anything other than an instance of `Error` (or, in the case of browser,\n * an instance of `ErrorEvent`, `DOMError`, or `DOMException`). causing us to create a synthetic error in an attempt\n * to recreate the stacktrace.\n */\n synthetic?: boolean;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/misc.d.ts b/node_modules/@sentry/types/dist/misc.d.ts new file mode 100644 index 000000000..3e1628248 --- /dev/null +++ b/node_modules/@sentry/types/dist/misc.d.ts @@ -0,0 +1,52 @@ +import { QueryParams } from './request'; +/** + * Data extracted from an incoming request to a node server + */ +export interface ExtractedNodeRequestData { + [key: string]: any; + /** Specific headers from the request */ + headers?: { + [key: string]: string; + }; + /** The request's method */ + method?: string; + /** The request's URL, including query string */ + url?: string; + /** String representing the cookies sent along with the request */ + cookies?: { + [key: string]: string; + }; + /** The request's query params */ + query_string?: QueryParams; + /** Any data sent in the request's body, as a JSON string */ + data?: string; +} +/** + * Location object on a service worker's `self` object. + * + * See https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation. + */ +export interface WorkerLocation { + /** The protocol scheme of the URL of the script executed in the Worker, including the final ':'. */ + readonly protocol: string; + /** The host, that is the hostname, a ':', and the port of the URL of the script executed in the Worker. */ + readonly host: string; + /** The domain of the URL of the script executed in the Worker. */ + readonly hostname: string; + /** The canonical form of the origin of the specific location. */ + readonly origin: string; + /** The port number of the URL of the script executed in the Worker. */ + readonly port: string; + /** The path of the URL of the script executed in the Worker, beginning with a '/'. */ + readonly pathname: string; + /** The parameters (query string) of the URL of the script executed in the Worker, beginning with a '?'. */ + readonly search: string; + /** The fragment identifier of the URL of the script executed in the Worker, beginning with a '#'. */ + readonly hash: string; + /** Stringifier that returns the whole URL of the script executed in the Worker. */ + readonly href: string; + /** Synonym for `href` attribute */ + toString(): string; +} +export declare type Primitive = number | string | boolean | bigint | symbol | null | undefined; +//# sourceMappingURL=misc.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/misc.d.ts.map b/node_modules/@sentry/types/dist/misc.d.ts.map new file mode 100644 index 000000000..8156cdb42 --- /dev/null +++ b/node_modules/@sentry/types/dist/misc.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IAEnB,wCAAwC;IACxC,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEpC,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,gDAAgD;IAChD,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,kEAAkE;IAClE,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEpC,iCAAiC;IACjC,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B,4DAA4D;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,oGAAoG;IACpG,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,2GAA2G;IAC3G,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,kEAAkE;IAClE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,iEAAiE;IACjE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,uEAAuE;IACvE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,sFAAsF;IACtF,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,2GAA2G;IAC3G,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,qGAAqG;IACrG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,mFAAmF;IACnF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,mCAAmC;IACnC,QAAQ,IAAI,MAAM,CAAC;CACpB;AAED,oBAAY,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/misc.js b/node_modules/@sentry/types/dist/misc.js new file mode 100644 index 000000000..09d5807db --- /dev/null +++ b/node_modules/@sentry/types/dist/misc.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=misc.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/misc.js.map b/node_modules/@sentry/types/dist/misc.js.map new file mode 100644 index 000000000..7e4ca1444 --- /dev/null +++ b/node_modules/@sentry/types/dist/misc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"misc.js","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":"","sourcesContent":["import { QueryParams } from './request';\n\n/**\n * Data extracted from an incoming request to a node server\n */\nexport interface ExtractedNodeRequestData {\n [key: string]: any;\n\n /** Specific headers from the request */\n headers?: { [key: string]: string };\n\n /** The request's method */\n method?: string;\n\n /** The request's URL, including query string */\n url?: string;\n\n /** String representing the cookies sent along with the request */\n cookies?: { [key: string]: string };\n\n /** The request's query params */\n query_string?: QueryParams;\n\n /** Any data sent in the request's body, as a JSON string */\n data?: string;\n}\n\n/**\n * Location object on a service worker's `self` object.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation.\n */\nexport interface WorkerLocation {\n /** The protocol scheme of the URL of the script executed in the Worker, including the final ':'. */\n readonly protocol: string;\n\n /** The host, that is the hostname, a ':', and the port of the URL of the script executed in the Worker. */\n readonly host: string;\n\n /** The domain of the URL of the script executed in the Worker. */\n readonly hostname: string;\n\n /** The canonical form of the origin of the specific location. */\n readonly origin: string;\n\n /** The port number of the URL of the script executed in the Worker. */\n readonly port: string;\n\n /** The path of the URL of the script executed in the Worker, beginning with a '/'. */\n readonly pathname: string;\n\n /** The parameters (query string) of the URL of the script executed in the Worker, beginning with a '?'. */\n readonly search: string;\n\n /** The fragment identifier of the URL of the script executed in the Worker, beginning with a '#'. */\n readonly hash: string;\n\n /** Stringifier that returns the whole URL of the script executed in the Worker. */\n readonly href: string;\n\n /** Synonym for `href` attribute */\n toString(): string;\n}\n\nexport type Primitive = number | string | boolean | bigint | symbol | null | undefined;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/options.d.ts b/node_modules/@sentry/types/dist/options.d.ts new file mode 100644 index 000000000..f6aa59c2f --- /dev/null +++ b/node_modules/@sentry/types/dist/options.d.ts @@ -0,0 +1,168 @@ +import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; +import { Event, EventHint } from './event'; +import { Integration } from './integration'; +import { CaptureContext } from './scope'; +import { SdkMetadata } from './sdkmetadata'; +import { SamplingContext } from './transaction'; +import { Transport, TransportClass, TransportOptions } from './transport'; +/** Base configuration options for every SDK. */ +export interface Options { + /** + * Enable debug functionality in the SDK itself + */ + debug?: boolean; + /** + * Specifies whether this SDK should send events to Sentry. + * Defaults to true. + */ + enabled?: boolean; + /** + * The Dsn used to connect to Sentry and identify the project. If omitted, the + * SDK will not send any data to Sentry. + */ + dsn?: string; + /** + * If this is set to false, default integrations will not be added, otherwise this will internally be set to the + * recommended default integrations. + * TODO: We should consider changing this to `boolean | Integration[]` + */ + defaultIntegrations?: false | Integration[]; + /** + * List of integrations that should be installed after SDK was initialized. + * Accepts either a list of integrations or a function that receives + * default integrations and returns a new, updated list. + */ + integrations?: Integration[] | ((integrations: Integration[]) => Integration[]); + /** + * A pattern for error messages which should not be sent to Sentry. + * By default, all errors will be sent. + */ + ignoreErrors?: Array; + /** + * Transport object that should be used to send events to Sentry + */ + transport?: TransportClass; + /** + * Options for the default transport that the SDK uses. + */ + transportOptions?: TransportOptions; + /** + * A URL to an envelope tunnel endpoint. An envelope tunnel is an HTTP endpoint + * that accepts Sentry envelopes for forwarding. This can be used to force data + * through a custom server independent of the type of data. + */ + tunnel?: string; + /** + * The release identifier used when uploading respective source maps. Specify + * this value to allow Sentry to resolve the correct source maps when + * processing events. + */ + release?: string; + /** The current environment of your application (e.g. "production"). */ + environment?: string; + /** Sets the distribution for all events */ + dist?: string; + /** + * The maximum number of breadcrumbs sent with events. Defaults to 100. + * Values over 100 will be ignored and 100 used instead. + */ + maxBreadcrumbs?: number; + /** A global sample rate to apply to all events (0 - 1). */ + sampleRate?: number; + /** Attaches stacktraces to pure capture message / log integrations */ + attachStacktrace?: boolean; + /** Maxium number of chars a single value can have before it will be truncated. */ + maxValueLength?: number; + /** + * Maximum number of levels that normalization algorithm will traverse in objects and arrays. + * Used when normalizing an event before sending, on all of the listed attributes: + * - `breadcrumbs.data` + * - `user` + * - `contexts` + * - `extra` + * Defaults to `3`. Set to `0` to disable. + */ + normalizeDepth?: number; + /** + * Controls how many milliseconds to wait before shutting down. The default is + * SDK-specific but typically around 2 seconds. Setting this too low can cause + * problems for sending events from command line applications. Setting it too + * high can cause the application to block for users with network connectivity + * problems. + */ + shutdownTimeout?: number; + /** + * Sample rate to determine trace sampling. + * + * 0.0 = 0% chance of a given trace being sent (send no traces) 1.0 = 100% chance of a given trace being sent (send + * all traces) + * + * Tracing is enabled if either this or `tracesSampler` is defined. If both are defined, `tracesSampleRate` is + * ignored. + */ + tracesSampleRate?: number; + /** + * A flag enabling Sessions Tracking feature. + * By default, Sessions Tracking is enabled. + */ + autoSessionTracking?: boolean; + /** + * Send SDK Client Reports. + * By default, Client Reports are enabled. + */ + sendClientReports?: boolean; + /** + * Initial data to populate scope. + */ + initialScope?: CaptureContext; + /** + * Set of metadata about the SDK that can be internally used to enhance envelopes and events, + * and provide additional data about every request. + * */ + _metadata?: SdkMetadata; + /** + * Options which are in beta, or otherwise not guaranteed to be stable. + */ + _experiments?: { + [key: string]: any; + }; + /** + * Function to compute tracing sample rate dynamically and filter unwanted traces. + * + * Tracing is enabled if either this or `tracesSampleRate` is defined. If both are defined, `tracesSampleRate` is + * ignored. + * + * Will automatically be passed a context object of default and optional custom data. See + * {@link Transaction.samplingContext} and {@link Hub.startTransaction}. + * + * @returns A sample rate between 0 and 1 (0 drops the trace, 1 guarantees it will be sent). Returning `true` is + * equivalent to returning 1 and returning `false` is equivalent to returning 0. + */ + tracesSampler?: (samplingContext: SamplingContext) => number | boolean; + /** + * A callback invoked during event submission, allowing to optionally modify + * the event before it is sent to Sentry. + * + * Note that you must return a valid event from this callback. If you do not + * wish to modify the event, simply return it at the end. + * Returning null will cause the event to be dropped. + * + * @param event The error or message event generated by the SDK. + * @param hint May contain additional information about the original exception. + * @returns A new event that will be sent | null. + */ + beforeSend?: (event: Event, hint?: EventHint) => PromiseLike | Event | null; + /** + * A callback invoked when adding a breadcrumb, allowing to optionally modify + * it before adding it to future events. + * + * Note that you must return a valid breadcrumb from this callback. If you do + * not wish to modify the breadcrumb, simply return it at the end. + * Returning null will cause the breadcrumb to be dropped. + * + * @param breadcrumb The breadcrumb as created by the SDK. + * @returns The breadcrumb that will be added | null. + */ + beforeBreadcrumb?: (breadcrumb: Breadcrumb, hint?: BreadcrumbHint) => Breadcrumb | null; +} +//# sourceMappingURL=options.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/options.d.ts.map b/node_modules/@sentry/types/dist/options.d.ts.map new file mode 100644 index 000000000..cd2a83cae --- /dev/null +++ b/node_modules/@sentry/types/dist/options.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE1E,gDAAgD;AAChD,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,GAAG,WAAW,EAAE,CAAC;IAE5C;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,GAAG,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,CAAC,CAAC;IAEhF;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IAEtC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC;IAE9B;;;SAGK;IACL,SAAS,CAAC,EAAE,WAAW,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IAEF;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,MAAM,GAAG,OAAO,CAAC;IAEvE;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,KAAK,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC;IAE1F;;;;;;;;;;OAUG;IACH,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,cAAc,KAAK,UAAU,GAAG,IAAI,CAAC;CACzF"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/options.js b/node_modules/@sentry/types/dist/options.js new file mode 100644 index 000000000..f428ff3b7 --- /dev/null +++ b/node_modules/@sentry/types/dist/options.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=options.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/options.js.map b/node_modules/@sentry/types/dist/options.js.map new file mode 100644 index 000000000..fd017d792 --- /dev/null +++ b/node_modules/@sentry/types/dist/options.js.map @@ -0,0 +1 @@ +{"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"","sourcesContent":["import { Breadcrumb, BreadcrumbHint } from './breadcrumb';\nimport { Event, EventHint } from './event';\nimport { Integration } from './integration';\nimport { CaptureContext } from './scope';\nimport { SdkMetadata } from './sdkmetadata';\nimport { SamplingContext } from './transaction';\nimport { Transport, TransportClass, TransportOptions } from './transport';\n\n/** Base configuration options for every SDK. */\nexport interface Options {\n /**\n * Enable debug functionality in the SDK itself\n */\n debug?: boolean;\n\n /**\n * Specifies whether this SDK should send events to Sentry.\n * Defaults to true.\n */\n enabled?: boolean;\n\n /**\n * The Dsn used to connect to Sentry and identify the project. If omitted, the\n * SDK will not send any data to Sentry.\n */\n dsn?: string;\n\n /**\n * If this is set to false, default integrations will not be added, otherwise this will internally be set to the\n * recommended default integrations.\n * TODO: We should consider changing this to `boolean | Integration[]`\n */\n defaultIntegrations?: false | Integration[];\n\n /**\n * List of integrations that should be installed after SDK was initialized.\n * Accepts either a list of integrations or a function that receives\n * default integrations and returns a new, updated list.\n */\n integrations?: Integration[] | ((integrations: Integration[]) => Integration[]);\n\n /**\n * A pattern for error messages which should not be sent to Sentry.\n * By default, all errors will be sent.\n */\n ignoreErrors?: Array;\n\n /**\n * Transport object that should be used to send events to Sentry\n */\n transport?: TransportClass;\n\n /**\n * Options for the default transport that the SDK uses.\n */\n transportOptions?: TransportOptions;\n\n /**\n * A URL to an envelope tunnel endpoint. An envelope tunnel is an HTTP endpoint\n * that accepts Sentry envelopes for forwarding. This can be used to force data\n * through a custom server independent of the type of data.\n */\n tunnel?: string;\n\n /**\n * The release identifier used when uploading respective source maps. Specify\n * this value to allow Sentry to resolve the correct source maps when\n * processing events.\n */\n release?: string;\n\n /** The current environment of your application (e.g. \"production\"). */\n environment?: string;\n\n /** Sets the distribution for all events */\n dist?: string;\n\n /**\n * The maximum number of breadcrumbs sent with events. Defaults to 100.\n * Values over 100 will be ignored and 100 used instead.\n */\n maxBreadcrumbs?: number;\n\n /** A global sample rate to apply to all events (0 - 1). */\n sampleRate?: number;\n\n /** Attaches stacktraces to pure capture message / log integrations */\n attachStacktrace?: boolean;\n\n /** Maxium number of chars a single value can have before it will be truncated. */\n maxValueLength?: number;\n\n /**\n * Maximum number of levels that normalization algorithm will traverse in objects and arrays.\n * Used when normalizing an event before sending, on all of the listed attributes:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * Defaults to `3`. Set to `0` to disable.\n */\n normalizeDepth?: number;\n\n /**\n * Controls how many milliseconds to wait before shutting down. The default is\n * SDK-specific but typically around 2 seconds. Setting this too low can cause\n * problems for sending events from command line applications. Setting it too\n * high can cause the application to block for users with network connectivity\n * problems.\n */\n shutdownTimeout?: number;\n\n /**\n * Sample rate to determine trace sampling.\n *\n * 0.0 = 0% chance of a given trace being sent (send no traces) 1.0 = 100% chance of a given trace being sent (send\n * all traces)\n *\n * Tracing is enabled if either this or `tracesSampler` is defined. If both are defined, `tracesSampleRate` is\n * ignored.\n */\n tracesSampleRate?: number;\n\n /**\n * A flag enabling Sessions Tracking feature.\n * By default, Sessions Tracking is enabled.\n */\n autoSessionTracking?: boolean;\n\n /**\n * Send SDK Client Reports.\n * By default, Client Reports are enabled.\n */\n sendClientReports?: boolean;\n\n /**\n * Initial data to populate scope.\n */\n initialScope?: CaptureContext;\n\n /**\n * Set of metadata about the SDK that can be internally used to enhance envelopes and events,\n * and provide additional data about every request.\n * */\n _metadata?: SdkMetadata;\n\n /**\n * Options which are in beta, or otherwise not guaranteed to be stable.\n */\n _experiments?: {\n [key: string]: any;\n };\n\n /**\n * Function to compute tracing sample rate dynamically and filter unwanted traces.\n *\n * Tracing is enabled if either this or `tracesSampleRate` is defined. If both are defined, `tracesSampleRate` is\n * ignored.\n *\n * Will automatically be passed a context object of default and optional custom data. See\n * {@link Transaction.samplingContext} and {@link Hub.startTransaction}.\n *\n * @returns A sample rate between 0 and 1 (0 drops the trace, 1 guarantees it will be sent). Returning `true` is\n * equivalent to returning 1 and returning `false` is equivalent to returning 0.\n */\n tracesSampler?: (samplingContext: SamplingContext) => number | boolean;\n\n /**\n * A callback invoked during event submission, allowing to optionally modify\n * the event before it is sent to Sentry.\n *\n * Note that you must return a valid event from this callback. If you do not\n * wish to modify the event, simply return it at the end.\n * Returning null will cause the event to be dropped.\n *\n * @param event The error or message event generated by the SDK.\n * @param hint May contain additional information about the original exception.\n * @returns A new event that will be sent | null.\n */\n beforeSend?: (event: Event, hint?: EventHint) => PromiseLike | Event | null;\n\n /**\n * A callback invoked when adding a breadcrumb, allowing to optionally modify\n * it before adding it to future events.\n *\n * Note that you must return a valid breadcrumb from this callback. If you do\n * not wish to modify the breadcrumb, simply return it at the end.\n * Returning null will cause the breadcrumb to be dropped.\n *\n * @param breadcrumb The breadcrumb as created by the SDK.\n * @returns The breadcrumb that will be added | null.\n */\n beforeBreadcrumb?: (breadcrumb: Breadcrumb, hint?: BreadcrumbHint) => Breadcrumb | null;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/package.d.ts b/node_modules/@sentry/types/dist/package.d.ts new file mode 100644 index 000000000..80d9d0bb6 --- /dev/null +++ b/node_modules/@sentry/types/dist/package.d.ts @@ -0,0 +1,6 @@ +/** JSDoc */ +export interface Package { + name: string; + version: string; +} +//# sourceMappingURL=package.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/package.d.ts.map b/node_modules/@sentry/types/dist/package.d.ts.map new file mode 100644 index 000000000..bd6b6d25c --- /dev/null +++ b/node_modules/@sentry/types/dist/package.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../src/package.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/package.js b/node_modules/@sentry/types/dist/package.js new file mode 100644 index 000000000..e92264f59 --- /dev/null +++ b/node_modules/@sentry/types/dist/package.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=package.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/package.js.map b/node_modules/@sentry/types/dist/package.js.map new file mode 100644 index 000000000..7a5faeef6 --- /dev/null +++ b/node_modules/@sentry/types/dist/package.js.map @@ -0,0 +1 @@ +{"version":3,"file":"package.js","sourceRoot":"","sources":["../src/package.ts"],"names":[],"mappings":"","sourcesContent":["/** JSDoc */\nexport interface Package {\n name: string;\n version: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/request.d.ts b/node_modules/@sentry/types/dist/request.d.ts new file mode 100644 index 000000000..09b4f2a45 --- /dev/null +++ b/node_modules/@sentry/types/dist/request.d.ts @@ -0,0 +1,28 @@ +/** Possible SentryRequest types that can be used to make a distinction between Sentry features */ +export declare type SentryRequestType = 'event' | 'transaction' | 'session' | 'attachment'; +/** A generic client request. */ +export interface SentryRequest { + body: string; + type: SentryRequestType; + url: string; +} +/** Request data included in an event as sent to Sentry */ +export interface Request { + url?: string; + method?: string; + data?: any; + query_string?: QueryParams; + cookies?: { + [key: string]: string; + }; + env?: { + [key: string]: string; + }; + headers?: { + [key: string]: string; + }; +} +export declare type QueryParams = string | { + [key: string]: string; +} | Array<[string, string]>; +//# sourceMappingURL=request.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/request.d.ts.map b/node_modules/@sentry/types/dist/request.d.ts.map new file mode 100644 index 000000000..42a74e27c --- /dev/null +++ b/node_modules/@sentry/types/dist/request.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAElG,oBAAY,iBAAiB,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,GAAG,YAAY,CAAC;AAEnF,gCAAgC;AAChC,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,0DAA0D;AAC1D,MAAM,WAAW,OAAO;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACpC,GAAG,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAChC,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrC;AAED,oBAAY,WAAW,GAAG,MAAM,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/request.js b/node_modules/@sentry/types/dist/request.js new file mode 100644 index 000000000..5bd28d37b --- /dev/null +++ b/node_modules/@sentry/types/dist/request.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=request.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/request.js.map b/node_modules/@sentry/types/dist/request.js.map new file mode 100644 index 000000000..19cd8794f --- /dev/null +++ b/node_modules/@sentry/types/dist/request.js.map @@ -0,0 +1 @@ +{"version":3,"file":"request.js","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"","sourcesContent":["/** Possible SentryRequest types that can be used to make a distinction between Sentry features */\n// NOTE(kamil): It would be nice if we make it a valid enum instead\nexport type SentryRequestType = 'event' | 'transaction' | 'session' | 'attachment';\n\n/** A generic client request. */\nexport interface SentryRequest {\n body: string;\n type: SentryRequestType;\n url: string;\n}\n\n/** Request data included in an event as sent to Sentry */\nexport interface Request {\n url?: string;\n method?: string;\n data?: any;\n query_string?: QueryParams;\n cookies?: { [key: string]: string };\n env?: { [key: string]: string };\n headers?: { [key: string]: string };\n}\n\nexport type QueryParams = string | { [key: string]: string } | Array<[string, string]>;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/requestsessionstatus.d.ts b/node_modules/@sentry/types/dist/requestsessionstatus.d.ts new file mode 100644 index 000000000..34a6b4efc --- /dev/null +++ b/node_modules/@sentry/types/dist/requestsessionstatus.d.ts @@ -0,0 +1,12 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to RequestSessionStatus type + */ +export declare enum RequestSessionStatus { + /** JSDoc */ + Ok = "ok", + /** JSDoc */ + Errored = "errored", + /** JSDoc */ + Crashed = "crashed" +} +//# sourceMappingURL=requestsessionstatus.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/requestsessionstatus.d.ts.map b/node_modules/@sentry/types/dist/requestsessionstatus.d.ts.map new file mode 100644 index 000000000..6a2439506 --- /dev/null +++ b/node_modules/@sentry/types/dist/requestsessionstatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"requestsessionstatus.d.ts","sourceRoot":"","sources":["../src/requestsessionstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,YAAY;IACZ,EAAE,OAAO;IACT,YAAY;IACZ,OAAO,YAAY;IACnB,YAAY;IACZ,OAAO,YAAY;CACpB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/requestsessionstatus.js b/node_modules/@sentry/types/dist/requestsessionstatus.js new file mode 100644 index 000000000..e7391e705 --- /dev/null +++ b/node_modules/@sentry/types/dist/requestsessionstatus.js @@ -0,0 +1,14 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to RequestSessionStatus type + */ +var RequestSessionStatus; +(function (RequestSessionStatus) { + /** JSDoc */ + RequestSessionStatus["Ok"] = "ok"; + /** JSDoc */ + RequestSessionStatus["Errored"] = "errored"; + /** JSDoc */ + RequestSessionStatus["Crashed"] = "crashed"; +})(RequestSessionStatus = exports.RequestSessionStatus || (exports.RequestSessionStatus = {})); +//# sourceMappingURL=requestsessionstatus.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/requestsessionstatus.js.map b/node_modules/@sentry/types/dist/requestsessionstatus.js.map new file mode 100644 index 000000000..f92d55488 --- /dev/null +++ b/node_modules/@sentry/types/dist/requestsessionstatus.js.map @@ -0,0 +1 @@ +{"version":3,"file":"requestsessionstatus.js","sourceRoot":"","sources":["../src/requestsessionstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,YAAY;IACZ,iCAAS,CAAA;IACT,YAAY;IACZ,2CAAmB,CAAA;IACnB,YAAY;IACZ,2CAAmB,CAAA;AACrB,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B","sourcesContent":["/** JSDoc\n * @deprecated Use string literals - if you require type casting, cast to RequestSessionStatus type\n */\nexport enum RequestSessionStatus {\n /** JSDoc */\n Ok = 'ok',\n /** JSDoc */\n Errored = 'errored',\n /** JSDoc */\n Crashed = 'crashed',\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/response.d.ts b/node_modules/@sentry/types/dist/response.d.ts new file mode 100644 index 000000000..a39071bc5 --- /dev/null +++ b/node_modules/@sentry/types/dist/response.d.ts @@ -0,0 +1,11 @@ +import { Event, EventType } from './event'; +import { EventStatus } from './eventstatus'; +import { Session } from './session'; +/** JSDoc */ +export interface Response { + status: EventStatus; + event?: Event | Session; + type?: EventType; + reason?: string; +} +//# sourceMappingURL=response.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/response.d.ts.map b/node_modules/@sentry/types/dist/response.d.ts.map new file mode 100644 index 000000000..b1ce22e74 --- /dev/null +++ b/node_modules/@sentry/types/dist/response.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../src/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,YAAY;AACZ,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/response.js b/node_modules/@sentry/types/dist/response.js new file mode 100644 index 000000000..75f9e171c --- /dev/null +++ b/node_modules/@sentry/types/dist/response.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=response.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/response.js.map b/node_modules/@sentry/types/dist/response.js.map new file mode 100644 index 000000000..d41f3dd1b --- /dev/null +++ b/node_modules/@sentry/types/dist/response.js.map @@ -0,0 +1 @@ +{"version":3,"file":"response.js","sourceRoot":"","sources":["../src/response.ts"],"names":[],"mappings":"","sourcesContent":["import { Event, EventType } from './event';\nimport { EventStatus } from './eventstatus';\nimport { Session } from './session';\n\n/** JSDoc */\nexport interface Response {\n status: EventStatus;\n event?: Event | Session;\n type?: EventType;\n reason?: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/runtime.d.ts b/node_modules/@sentry/types/dist/runtime.d.ts new file mode 100644 index 000000000..e64026e0a --- /dev/null +++ b/node_modules/@sentry/types/dist/runtime.d.ts @@ -0,0 +1,6 @@ +/** Runtime Context. */ +export interface Runtime { + name?: string; + version?: string; +} +//# sourceMappingURL=runtime.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/runtime.d.ts.map b/node_modules/@sentry/types/dist/runtime.d.ts.map new file mode 100644 index 000000000..2e6ef2e6a --- /dev/null +++ b/node_modules/@sentry/types/dist/runtime.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,MAAM,WAAW,OAAO;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/runtime.js b/node_modules/@sentry/types/dist/runtime.js new file mode 100644 index 000000000..c4033c0c8 --- /dev/null +++ b/node_modules/@sentry/types/dist/runtime.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=runtime.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/runtime.js.map b/node_modules/@sentry/types/dist/runtime.js.map new file mode 100644 index 000000000..738d0dab9 --- /dev/null +++ b/node_modules/@sentry/types/dist/runtime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"","sourcesContent":["/** Runtime Context. */\nexport interface Runtime {\n name?: string;\n version?: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/scope.d.ts b/node_modules/@sentry/types/dist/scope.d.ts new file mode 100644 index 000000000..f24a36c3b --- /dev/null +++ b/node_modules/@sentry/types/dist/scope.d.ts @@ -0,0 +1,138 @@ +import { Breadcrumb } from './breadcrumb'; +import { Context, Contexts } from './context'; +import { EventProcessor } from './eventprocessor'; +import { Extra, Extras } from './extra'; +import { Primitive } from './misc'; +import { RequestSession, Session } from './session'; +import { Severity } from './severity'; +import { Span } from './span'; +import { Transaction } from './transaction'; +import { User } from './user'; +/** JSDocs */ +export declare type CaptureContext = Scope | Partial | ((scope: Scope) => Scope); +/** JSDocs */ +export interface ScopeContext { + user: User; + level: Severity; + extra: Extras; + contexts: Contexts; + tags: { + [key: string]: Primitive; + }; + fingerprint: string[]; + requestSession: RequestSession; +} +/** + * Holds additional event information. {@link Scope.applyToEvent} will be called by the client before an event is sent. + */ +export interface Scope { + /** Add new event processor that will be called after {@link applyToEvent}. */ + addEventProcessor(callback: EventProcessor): this; + /** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ + setUser(user: User | null): this; + /** + * Returns the `User` if there is one + */ + getUser(): User | undefined; + /** + * Set an object that will be merged sent as tags data with the event. + * @param tags Tags context object to merge into current context. + */ + setTags(tags: { + [key: string]: Primitive; + }): this; + /** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ + setTag(key: string, value: Primitive): this; + /** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ + setExtras(extras: Extras): this; + /** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ + setExtra(key: string, extra: Extra): this; + /** + * Sets the fingerprint on the scope to send with the events. + * @param fingerprint string[] to group events in Sentry. + */ + setFingerprint(fingerprint: string[]): this; + /** + * Sets the level on the scope for future events. + * @param level string {@link Severity} + */ + setLevel(level: Severity): this; + /** + * Sets the transaction name on the scope for future events. + */ + setTransactionName(name?: string): this; + /** + * Sets context data with the given name. + * @param name of the context + * @param context an object containing context data. This data will be normalized. Pass `null` to unset the context. + */ + setContext(name: string, context: Context | null): this; + /** + * Sets the Span on the scope. + * @param span Span + */ + setSpan(span?: Span): this; + /** + * Returns the `Span` if there is one + */ + getSpan(): Span | undefined; + /** + * Returns the `Transaction` attached to the scope (if there is one) + */ + getTransaction(): Transaction | undefined; + /** + * Returns the `Session` if there is one + */ + getSession(): Session | undefined; + /** + * Sets the `Session` on the scope + */ + setSession(session?: Session): this; + /** + * Returns the `RequestSession` if there is one + */ + getRequestSession(): RequestSession | undefined; + /** + * Sets the `RequestSession` on the scope + */ + setRequestSession(requestSession?: RequestSession): this; + /** + * Updates the scope with provided data. Can work in three variations: + * - plain object containing updatable attributes + * - Scope instance that'll extract the attributes from + * - callback function that'll receive the current scope as an argument and allow for modifications + * @param captureContext scope modifier to be used + */ + update(captureContext?: CaptureContext): this; + /** Clears the current scope and resets its properties. */ + clear(): this; + /** + * Sets the breadcrumbs in the scope + * @param breadcrumbs Breadcrumb + * @param maxBreadcrumbs number of max breadcrumbs to merged into event. + */ + addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this; + /** + * Clears all currently set Breadcrumbs. + */ + clearBreadcrumbs(): this; +} +//# sourceMappingURL=scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/scope.d.ts.map b/node_modules/@sentry/types/dist/scope.d.ts.map new file mode 100644 index 000000000..8e37300c7 --- /dev/null +++ b/node_modules/@sentry/types/dist/scope.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../src/scope.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/scope.js b/node_modules/@sentry/types/dist/scope.js new file mode 100644 index 000000000..c79756f0a --- /dev/null +++ b/node_modules/@sentry/types/dist/scope.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=scope.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/scope.js.map b/node_modules/@sentry/types/dist/scope.js.map new file mode 100644 index 000000000..86d504d85 --- /dev/null +++ b/node_modules/@sentry/types/dist/scope.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scope.js","sourceRoot":"","sources":["../src/scope.ts"],"names":[],"mappings":"","sourcesContent":["import { Breadcrumb } from './breadcrumb';\nimport { Context, Contexts } from './context';\nimport { EventProcessor } from './eventprocessor';\nimport { Extra, Extras } from './extra';\nimport { Primitive } from './misc';\nimport { RequestSession, Session } from './session';\nimport { Severity } from './severity';\nimport { Span } from './span';\nimport { Transaction } from './transaction';\nimport { User } from './user';\n\n/** JSDocs */\nexport type CaptureContext = Scope | Partial | ((scope: Scope) => Scope);\n\n/** JSDocs */\nexport interface ScopeContext {\n user: User;\n level: Severity;\n extra: Extras;\n contexts: Contexts;\n tags: { [key: string]: Primitive };\n fingerprint: string[];\n requestSession: RequestSession;\n}\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be called by the client before an event is sent.\n */\nexport interface Scope {\n /** Add new event processor that will be called after {@link applyToEvent}. */\n addEventProcessor(callback: EventProcessor): this;\n\n /**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\n setUser(user: User | null): this;\n\n /**\n * Returns the `User` if there is one\n */\n getUser(): User | undefined;\n\n /**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\n setTags(tags: { [key: string]: Primitive }): this;\n\n /**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\n setTag(key: string, value: Primitive): this;\n\n /**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\n setExtras(extras: Extras): this;\n\n /**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\n setExtra(key: string, extra: Extra): this;\n\n /**\n * Sets the fingerprint on the scope to send with the events.\n * @param fingerprint string[] to group events in Sentry.\n */\n setFingerprint(fingerprint: string[]): this;\n\n /**\n * Sets the level on the scope for future events.\n * @param level string {@link Severity}\n */\n setLevel(level: Severity): this;\n\n /**\n * Sets the transaction name on the scope for future events.\n */\n setTransactionName(name?: string): this;\n\n /**\n * Sets context data with the given name.\n * @param name of the context\n * @param context an object containing context data. This data will be normalized. Pass `null` to unset the context.\n */\n setContext(name: string, context: Context | null): this;\n\n /**\n * Sets the Span on the scope.\n * @param span Span\n */\n setSpan(span?: Span): this;\n\n /**\n * Returns the `Span` if there is one\n */\n getSpan(): Span | undefined;\n\n /**\n * Returns the `Transaction` attached to the scope (if there is one)\n */\n getTransaction(): Transaction | undefined;\n\n /**\n * Returns the `Session` if there is one\n */\n getSession(): Session | undefined;\n\n /**\n * Sets the `Session` on the scope\n */\n setSession(session?: Session): this;\n\n /**\n * Returns the `RequestSession` if there is one\n */\n getRequestSession(): RequestSession | undefined;\n\n /**\n * Sets the `RequestSession` on the scope\n */\n setRequestSession(requestSession?: RequestSession): this;\n\n /**\n * Updates the scope with provided data. Can work in three variations:\n * - plain object containing updatable attributes\n * - Scope instance that'll extract the attributes from\n * - callback function that'll receive the current scope as an argument and allow for modifications\n * @param captureContext scope modifier to be used\n */\n update(captureContext?: CaptureContext): this;\n\n /** Clears the current scope and resets its properties. */\n clear(): this;\n\n /**\n * Sets the breadcrumbs in the scope\n * @param breadcrumbs Breadcrumb\n * @param maxBreadcrumbs number of max breadcrumbs to merged into event.\n */\n addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this;\n\n /**\n * Clears all currently set Breadcrumbs.\n */\n clearBreadcrumbs(): this;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sdkinfo.d.ts b/node_modules/@sentry/types/dist/sdkinfo.d.ts new file mode 100644 index 000000000..61ac2b159 --- /dev/null +++ b/node_modules/@sentry/types/dist/sdkinfo.d.ts @@ -0,0 +1,8 @@ +import { Package } from './package'; +export interface SdkInfo { + name?: string; + version?: string; + integrations?: string[]; + packages?: Package[]; +} +//# sourceMappingURL=sdkinfo.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sdkinfo.d.ts.map b/node_modules/@sentry/types/dist/sdkinfo.d.ts.map new file mode 100644 index 000000000..eb4874587 --- /dev/null +++ b/node_modules/@sentry/types/dist/sdkinfo.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sdkinfo.d.ts","sourceRoot":"","sources":["../src/sdkinfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,WAAW,OAAO;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sdkinfo.js b/node_modules/@sentry/types/dist/sdkinfo.js new file mode 100644 index 000000000..34448db74 --- /dev/null +++ b/node_modules/@sentry/types/dist/sdkinfo.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=sdkinfo.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sdkinfo.js.map b/node_modules/@sentry/types/dist/sdkinfo.js.map new file mode 100644 index 000000000..43f3c69ce --- /dev/null +++ b/node_modules/@sentry/types/dist/sdkinfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sdkinfo.js","sourceRoot":"","sources":["../src/sdkinfo.ts"],"names":[],"mappings":"","sourcesContent":["import { Package } from './package';\n\nexport interface SdkInfo {\n name?: string;\n version?: string;\n integrations?: string[];\n packages?: Package[];\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sdkmetadata.d.ts b/node_modules/@sentry/types/dist/sdkmetadata.d.ts new file mode 100644 index 000000000..643fce15f --- /dev/null +++ b/node_modules/@sentry/types/dist/sdkmetadata.d.ts @@ -0,0 +1,5 @@ +import { SdkInfo } from './sdkinfo'; +export interface SdkMetadata { + sdk?: SdkInfo; +} +//# sourceMappingURL=sdkmetadata.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sdkmetadata.d.ts.map b/node_modules/@sentry/types/dist/sdkmetadata.d.ts.map new file mode 100644 index 000000000..0ec880a33 --- /dev/null +++ b/node_modules/@sentry/types/dist/sdkmetadata.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sdkmetadata.d.ts","sourceRoot":"","sources":["../src/sdkmetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,OAAO,CAAC;CACf"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sdkmetadata.js b/node_modules/@sentry/types/dist/sdkmetadata.js new file mode 100644 index 000000000..1e0c25319 --- /dev/null +++ b/node_modules/@sentry/types/dist/sdkmetadata.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=sdkmetadata.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sdkmetadata.js.map b/node_modules/@sentry/types/dist/sdkmetadata.js.map new file mode 100644 index 000000000..b2a4371b9 --- /dev/null +++ b/node_modules/@sentry/types/dist/sdkmetadata.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sdkmetadata.js","sourceRoot":"","sources":["../src/sdkmetadata.ts"],"names":[],"mappings":"","sourcesContent":["import { SdkInfo } from './sdkinfo';\n\nexport interface SdkMetadata {\n sdk?: SdkInfo;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/session.d.ts b/node_modules/@sentry/types/dist/session.d.ts new file mode 100644 index 000000000..1ee064b4d --- /dev/null +++ b/node_modules/@sentry/types/dist/session.d.ts @@ -0,0 +1,79 @@ +import { User } from './user'; +/** + * @inheritdoc + */ +export interface Session extends SessionContext { + /** JSDoc */ + update(context?: SessionContext): void; + /** JSDoc */ + close(status?: SessionStatus): void; + /** JSDoc */ + toJSON(): { + init: boolean; + sid: string; + did?: string; + timestamp: string; + started: string; + duration?: number; + status: SessionStatus; + errors: number; + attrs?: { + release?: string; + environment?: string; + user_agent?: string; + ip_address?: string; + }; + }; +} +export interface RequestSession { + status?: RequestSessionStatus; +} +/** + * Session Context + */ +export interface SessionContext { + sid?: string; + did?: string; + init?: boolean; + timestamp?: number; + started?: number; + duration?: number; + status?: SessionStatus; + release?: string; + environment?: string; + userAgent?: string; + ipAddress?: string; + errors?: number; + user?: User | null; + ignoreDuration?: boolean; +} +export declare type SessionStatus = 'ok' | 'exited' | 'crashed' | 'abnormal'; +export declare type RequestSessionStatus = 'ok' | 'errored' | 'crashed'; +/** JSDoc */ +export interface SessionAggregates { + attrs?: { + environment?: string; + release?: string; + }; + aggregates: Array; +} +export interface SessionFlusherLike { + /** + * Increments the Session Status bucket in SessionAggregates Object corresponding to the status of the session + * captured + */ + incrementSessionStatusCount(): void; + /** Submits the aggregates request mode sessions to Sentry */ + sendSessionAggregates(sessionAggregates: SessionAggregates): void; + /** Empties Aggregate Buckets and Sends them to Transport Buffer */ + flush(): void; + /** Clears setInterval and calls flush */ + close(): void; +} +export interface AggregationCounts { + started: string; + errored?: number; + exited?: number; + crashed?: number; +} +//# sourceMappingURL=session.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/session.d.ts.map b/node_modules/@sentry/types/dist/session.d.ts.map new file mode 100644 index 000000000..8a23e6569 --- /dev/null +++ b/node_modules/@sentry/types/dist/session.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,OAAQ,SAAQ,cAAc;IAC7C,YAAY;IACZ,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAEvC,YAAY;IACZ,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAEpC,YAAY;IACZ,MAAM,IAAI;QACR,IAAI,EAAE,OAAO,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,aAAa,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE;YACN,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,oBAAY,aAAa,GAAG,IAAI,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AACrE,oBAAY,oBAAoB,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,CAAC;AAEhE,YAAY;AACZ,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE;QACN,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,2BAA2B,IAAI,IAAI,CAAC;IAEpC,6DAA6D;IAC7D,qBAAqB,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAElE,mEAAmE;IACnE,KAAK,IAAI,IAAI,CAAC;IAEd,yCAAyC;IACzC,KAAK,IAAI,IAAI,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/session.js b/node_modules/@sentry/types/dist/session.js new file mode 100644 index 000000000..c54271459 --- /dev/null +++ b/node_modules/@sentry/types/dist/session.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=session.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/session.js.map b/node_modules/@sentry/types/dist/session.js.map new file mode 100644 index 000000000..0c348a93b --- /dev/null +++ b/node_modules/@sentry/types/dist/session.js.map @@ -0,0 +1 @@ +{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"","sourcesContent":["import { User } from './user';\n\n/**\n * @inheritdoc\n */\nexport interface Session extends SessionContext {\n /** JSDoc */\n update(context?: SessionContext): void;\n\n /** JSDoc */\n close(status?: SessionStatus): void;\n\n /** JSDoc */\n toJSON(): {\n init: boolean;\n sid: string;\n did?: string;\n timestamp: string;\n started: string;\n duration?: number;\n status: SessionStatus;\n errors: number;\n attrs?: {\n release?: string;\n environment?: string;\n user_agent?: string;\n ip_address?: string;\n };\n };\n}\n\nexport interface RequestSession {\n status?: RequestSessionStatus;\n}\n\n/**\n * Session Context\n */\nexport interface SessionContext {\n sid?: string;\n did?: string;\n init?: boolean;\n // seconds since the UNIX epoch\n timestamp?: number;\n // seconds since the UNIX epoch\n started?: number;\n duration?: number;\n status?: SessionStatus;\n release?: string;\n environment?: string;\n userAgent?: string;\n ipAddress?: string;\n errors?: number;\n user?: User | null;\n ignoreDuration?: boolean;\n}\n\nexport type SessionStatus = 'ok' | 'exited' | 'crashed' | 'abnormal';\nexport type RequestSessionStatus = 'ok' | 'errored' | 'crashed';\n\n/** JSDoc */\nexport interface SessionAggregates {\n attrs?: {\n environment?: string;\n release?: string;\n };\n aggregates: Array;\n}\n\nexport interface SessionFlusherLike {\n /**\n * Increments the Session Status bucket in SessionAggregates Object corresponding to the status of the session\n * captured\n */\n incrementSessionStatusCount(): void;\n\n /** Submits the aggregates request mode sessions to Sentry */\n sendSessionAggregates(sessionAggregates: SessionAggregates): void;\n\n /** Empties Aggregate Buckets and Sends them to Transport Buffer */\n flush(): void;\n\n /** Clears setInterval and calls flush */\n close(): void;\n}\n\nexport interface AggregationCounts {\n started: string;\n errored?: number;\n exited?: number;\n crashed?: number;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sessionstatus.d.ts b/node_modules/@sentry/types/dist/sessionstatus.d.ts new file mode 100644 index 000000000..4a5400ad1 --- /dev/null +++ b/node_modules/@sentry/types/dist/sessionstatus.d.ts @@ -0,0 +1,14 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to SessionStatus type + */ +export declare enum SessionStatus { + /** JSDoc */ + Ok = "ok", + /** JSDoc */ + Exited = "exited", + /** JSDoc */ + Crashed = "crashed", + /** JSDoc */ + Abnormal = "abnormal" +} +//# sourceMappingURL=sessionstatus.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sessionstatus.d.ts.map b/node_modules/@sentry/types/dist/sessionstatus.d.ts.map new file mode 100644 index 000000000..64c9060be --- /dev/null +++ b/node_modules/@sentry/types/dist/sessionstatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sessionstatus.d.ts","sourceRoot":"","sources":["../src/sessionstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,aAAa;IACvB,YAAY;IACZ,EAAE,OAAO;IACT,YAAY;IACZ,MAAM,WAAW;IACjB,YAAY;IACZ,OAAO,YAAY;IACnB,YAAY;IACZ,QAAQ,aAAa;CACtB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sessionstatus.js b/node_modules/@sentry/types/dist/sessionstatus.js new file mode 100644 index 000000000..a8b543b32 --- /dev/null +++ b/node_modules/@sentry/types/dist/sessionstatus.js @@ -0,0 +1,16 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to SessionStatus type + */ +var SessionStatus; +(function (SessionStatus) { + /** JSDoc */ + SessionStatus["Ok"] = "ok"; + /** JSDoc */ + SessionStatus["Exited"] = "exited"; + /** JSDoc */ + SessionStatus["Crashed"] = "crashed"; + /** JSDoc */ + SessionStatus["Abnormal"] = "abnormal"; +})(SessionStatus = exports.SessionStatus || (exports.SessionStatus = {})); +//# sourceMappingURL=sessionstatus.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/sessionstatus.js.map b/node_modules/@sentry/types/dist/sessionstatus.js.map new file mode 100644 index 000000000..73ee275a2 --- /dev/null +++ b/node_modules/@sentry/types/dist/sessionstatus.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sessionstatus.js","sourceRoot":"","sources":["../src/sessionstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,IAAY,aASX;AATD,WAAY,aAAa;IACvB,YAAY;IACZ,0BAAS,CAAA;IACT,YAAY;IACZ,kCAAiB,CAAA;IACjB,YAAY;IACZ,oCAAmB,CAAA;IACnB,YAAY;IACZ,sCAAqB,CAAA;AACvB,CAAC,EATW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QASxB","sourcesContent":["/** JSDoc\n * @deprecated Use string literals - if you require type casting, cast to SessionStatus type\n */\nexport enum SessionStatus {\n /** JSDoc */\n Ok = 'ok',\n /** JSDoc */\n Exited = 'exited',\n /** JSDoc */\n Crashed = 'crashed',\n /** JSDoc */\n Abnormal = 'abnormal',\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/severity.d.ts b/node_modules/@sentry/types/dist/severity.d.ts new file mode 100644 index 000000000..79972d511 --- /dev/null +++ b/node_modules/@sentry/types/dist/severity.d.ts @@ -0,0 +1,22 @@ +/** + * TODO(v7): Remove this enum and replace with SeverityLevel + */ +export declare enum Severity { + /** JSDoc */ + Fatal = "fatal", + /** JSDoc */ + Error = "error", + /** JSDoc */ + Warning = "warning", + /** JSDoc */ + Log = "log", + /** JSDoc */ + Info = "info", + /** JSDoc */ + Debug = "debug", + /** JSDoc */ + Critical = "critical" +} +export declare const SeverityLevels: readonly ["fatal", "error", "warning", "log", "info", "debug", "critical"]; +export declare type SeverityLevel = typeof SeverityLevels[number]; +//# sourceMappingURL=severity.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/severity.d.ts.map b/node_modules/@sentry/types/dist/severity.d.ts.map new file mode 100644 index 000000000..ec842747e --- /dev/null +++ b/node_modules/@sentry/types/dist/severity.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"severity.d.ts","sourceRoot":"","sources":["../src/severity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,QAAQ;IAClB,YAAY;IACZ,KAAK,UAAU;IACf,YAAY;IACZ,KAAK,UAAU;IACf,YAAY;IACZ,OAAO,YAAY;IACnB,YAAY;IACZ,GAAG,QAAQ;IACX,YAAY;IACZ,IAAI,SAAS;IACb,YAAY;IACZ,KAAK,UAAU;IACf,YAAY;IACZ,QAAQ,aAAa;CACtB;AAID,eAAO,MAAM,cAAc,4EAA6E,CAAC;AACzG,oBAAY,aAAa,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/severity.js b/node_modules/@sentry/types/dist/severity.js new file mode 100644 index 000000000..ae8814a3c --- /dev/null +++ b/node_modules/@sentry/types/dist/severity.js @@ -0,0 +1,25 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * TODO(v7): Remove this enum and replace with SeverityLevel + */ +var Severity; +(function (Severity) { + /** JSDoc */ + Severity["Fatal"] = "fatal"; + /** JSDoc */ + Severity["Error"] = "error"; + /** JSDoc */ + Severity["Warning"] = "warning"; + /** JSDoc */ + Severity["Log"] = "log"; + /** JSDoc */ + Severity["Info"] = "info"; + /** JSDoc */ + Severity["Debug"] = "debug"; + /** JSDoc */ + Severity["Critical"] = "critical"; +})(Severity = exports.Severity || (exports.Severity = {})); +// TODO: in v7, these can disappear, because they now also exist in `@sentry/utils`. (Having them there rather than here +// is nice because then it enforces the idea that only types are exported from `@sentry/types`.) +exports.SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical']; +//# sourceMappingURL=severity.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/severity.js.map b/node_modules/@sentry/types/dist/severity.js.map new file mode 100644 index 000000000..6a1625d3b --- /dev/null +++ b/node_modules/@sentry/types/dist/severity.js.map @@ -0,0 +1 @@ +{"version":3,"file":"severity.js","sourceRoot":"","sources":["../src/severity.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,IAAY,QAeX;AAfD,WAAY,QAAQ;IAClB,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,+BAAmB,CAAA;IACnB,YAAY;IACZ,uBAAW,CAAA;IACX,YAAY;IACZ,yBAAa,CAAA;IACb,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,iCAAqB,CAAA;AACvB,CAAC,EAfW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAenB;AAED,wHAAwH;AACxH,gGAAgG;AACnF,QAAA,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAU,CAAC","sourcesContent":["/**\n * TODO(v7): Remove this enum and replace with SeverityLevel\n */\nexport enum Severity {\n /** JSDoc */\n Fatal = 'fatal',\n /** JSDoc */\n Error = 'error',\n /** JSDoc */\n Warning = 'warning',\n /** JSDoc */\n Log = 'log',\n /** JSDoc */\n Info = 'info',\n /** JSDoc */\n Debug = 'debug',\n /** JSDoc */\n Critical = 'critical',\n}\n\n// TODO: in v7, these can disappear, because they now also exist in `@sentry/utils`. (Having them there rather than here\n// is nice because then it enforces the idea that only types are exported from `@sentry/types`.)\nexport const SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'] as const;\nexport type SeverityLevel = typeof SeverityLevels[number];\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/span.d.ts b/node_modules/@sentry/types/dist/span.d.ts new file mode 100644 index 000000000..ff04f2fb6 --- /dev/null +++ b/node_modules/@sentry/types/dist/span.d.ts @@ -0,0 +1,169 @@ +import { Primitive } from './misc'; +import { Transaction } from './transaction'; +/** Interface holding all properties that can be set on a Span on creation. */ +export interface SpanContext { + /** + * Description of the Span. + */ + description?: string; + /** + * Operation of the Span. + */ + op?: string; + /** + * Completion status of the Span. + * See: {@sentry/tracing SpanStatus} for possible values + */ + status?: string; + /** + * Parent Span ID + */ + parentSpanId?: string; + /** + * Was this span chosen to be sent as part of the sample? + */ + sampled?: boolean; + /** + * Span ID + */ + spanId?: string; + /** + * Trace ID + */ + traceId?: string; + /** + * Tags of the Span. + */ + tags?: { + [key: string]: Primitive; + }; + /** + * Data of the Span. + */ + data?: { + [key: string]: any; + }; + /** + * Timestamp in seconds (epoch time) indicating when the span started. + */ + startTimestamp?: number; + /** + * Timestamp in seconds (epoch time) indicating when the span ended. + */ + endTimestamp?: number; +} +/** Span holding trace_id, span_id */ +export interface Span extends SpanContext { + /** + * @inheritDoc + */ + spanId: string; + /** + * @inheritDoc + */ + traceId: string; + /** + * @inheritDoc + */ + startTimestamp: number; + /** + * @inheritDoc + */ + tags: { + [key: string]: Primitive; + }; + /** + * @inheritDoc + */ + data: { + [key: string]: any; + }; + /** + * The transaction containing this span + */ + transaction?: Transaction; + /** + * Sets the finish timestamp on the current span. + * @param endTimestamp Takes an endTimestamp if the end should not be the time when you call this function. + */ + finish(endTimestamp?: number): void; + /** + * Sets the tag attribute on the current span. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key Tag key + * @param value Tag value + */ + setTag(key: string, value: Primitive): this; + /** + * Sets the data attribute on the current span + * @param key Data key + * @param value Data value + */ + setData(key: string, value: any): this; + /** + * Sets the status attribute on the current span + * See: {@sentry/tracing SpanStatus} for possible values + * @param status http code used to set the status + */ + setStatus(status: string): this; + /** + * Sets the status attribute on the current span based on the http code + * @param httpStatus http code used to set the status + */ + setHttpStatus(httpStatus: number): this; + /** + * Use {@link startChild} + * @deprecated + */ + child(spanContext?: Pick>): Span; + /** + * Creates a new `Span` while setting the current `Span.id` as `parentSpanId`. + * Also the `sampled` decision will be inherited. + */ + startChild(spanContext?: Pick>): Span; + /** + * Determines whether span was successful (HTTP200) + */ + isSuccess(): boolean; + /** Return a traceparent compatible header string */ + toTraceparent(): string; + /** Returns the current span properties as a `SpanContext` */ + toContext(): SpanContext; + /** Updates the current span with a new `SpanContext` */ + updateWithContext(spanContext: SpanContext): this; + /** Convert the object to JSON for w. spans array info only */ + getTraceContext(): { + data?: { + [key: string]: any; + }; + description?: string; + op?: string; + parent_span_id?: string; + span_id: string; + status?: string; + tags?: { + [key: string]: Primitive; + }; + trace_id: string; + }; + /** Convert the object to JSON */ + toJSON(): { + data?: { + [key: string]: any; + }; + description?: string; + op?: string; + parent_span_id?: string; + span_id: string; + start_timestamp: number; + status?: string; + tags?: { + [key: string]: Primitive; + }; + timestamp?: number; + trace_id: string; + }; +} +//# sourceMappingURL=span.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/span.d.ts.map b/node_modules/@sentry/types/dist/span.d.ts.map new file mode 100644 index 000000000..cb094a867 --- /dev/null +++ b/node_modules/@sentry/types/dist/span.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"span.d.ts","sourceRoot":"","sources":["../src/span.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/span.js b/node_modules/@sentry/types/dist/span.js new file mode 100644 index 000000000..20f44701d --- /dev/null +++ b/node_modules/@sentry/types/dist/span.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=span.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/span.js.map b/node_modules/@sentry/types/dist/span.js.map new file mode 100644 index 000000000..7a3cecdab --- /dev/null +++ b/node_modules/@sentry/types/dist/span.js.map @@ -0,0 +1 @@ +{"version":3,"file":"span.js","sourceRoot":"","sources":["../src/span.ts"],"names":[],"mappings":"","sourcesContent":["import { Primitive } from './misc';\nimport { Transaction } from './transaction';\n\n/** Interface holding all properties that can be set on a Span on creation. */\nexport interface SpanContext {\n /**\n * Description of the Span.\n */\n description?: string;\n\n /**\n * Operation of the Span.\n */\n op?: string;\n\n /**\n * Completion status of the Span.\n * See: {@sentry/tracing SpanStatus} for possible values\n */\n status?: string;\n\n /**\n * Parent Span ID\n */\n parentSpanId?: string;\n\n /**\n * Was this span chosen to be sent as part of the sample?\n */\n sampled?: boolean;\n\n /**\n * Span ID\n */\n spanId?: string;\n\n /**\n * Trace ID\n */\n traceId?: string;\n\n /**\n * Tags of the Span.\n */\n tags?: { [key: string]: Primitive };\n\n /**\n * Data of the Span.\n */\n data?: { [key: string]: any };\n\n /**\n * Timestamp in seconds (epoch time) indicating when the span started.\n */\n startTimestamp?: number;\n\n /**\n * Timestamp in seconds (epoch time) indicating when the span ended.\n */\n endTimestamp?: number;\n}\n\n/** Span holding trace_id, span_id */\nexport interface Span extends SpanContext {\n /**\n * @inheritDoc\n */\n spanId: string;\n\n /**\n * @inheritDoc\n */\n traceId: string;\n\n /**\n * @inheritDoc\n */\n startTimestamp: number;\n\n /**\n * @inheritDoc\n */\n tags: { [key: string]: Primitive };\n\n /**\n * @inheritDoc\n */\n data: { [key: string]: any };\n\n /**\n * The transaction containing this span\n */\n transaction?: Transaction;\n\n /**\n * Sets the finish timestamp on the current span.\n * @param endTimestamp Takes an endTimestamp if the end should not be the time when you call this function.\n */\n finish(endTimestamp?: number): void;\n\n /**\n * Sets the tag attribute on the current span.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key Tag key\n * @param value Tag value\n */\n setTag(key: string, value: Primitive): this;\n\n /**\n * Sets the data attribute on the current span\n * @param key Data key\n * @param value Data value\n */\n setData(key: string, value: any): this;\n\n /**\n * Sets the status attribute on the current span\n * See: {@sentry/tracing SpanStatus} for possible values\n * @param status http code used to set the status\n */\n setStatus(status: string): this;\n\n /**\n * Sets the status attribute on the current span based on the http code\n * @param httpStatus http code used to set the status\n */\n setHttpStatus(httpStatus: number): this;\n\n /**\n * Use {@link startChild}\n * @deprecated\n */\n child(\n spanContext?: Pick>,\n ): Span;\n\n /**\n * Creates a new `Span` while setting the current `Span.id` as `parentSpanId`.\n * Also the `sampled` decision will be inherited.\n */\n startChild(\n spanContext?: Pick>,\n ): Span;\n\n /**\n * Determines whether span was successful (HTTP200)\n */\n isSuccess(): boolean;\n\n /** Return a traceparent compatible header string */\n toTraceparent(): string;\n\n /** Returns the current span properties as a `SpanContext` */\n toContext(): SpanContext;\n\n /** Updates the current span with a new `SpanContext` */\n updateWithContext(spanContext: SpanContext): this;\n\n /** Convert the object to JSON for w. spans array info only */\n getTraceContext(): {\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n status?: string;\n tags?: { [key: string]: Primitive };\n trace_id: string;\n };\n /** Convert the object to JSON */\n toJSON(): {\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n start_timestamp: number;\n status?: string;\n tags?: { [key: string]: Primitive };\n timestamp?: number;\n trace_id: string;\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/stackframe.d.ts b/node_modules/@sentry/types/dist/stackframe.d.ts new file mode 100644 index 000000000..acd200883 --- /dev/null +++ b/node_modules/@sentry/types/dist/stackframe.d.ts @@ -0,0 +1,20 @@ +/** JSDoc */ +export interface StackFrame { + filename?: string; + function?: string; + module?: string; + platform?: string; + lineno?: number; + colno?: number; + abs_path?: string; + context_line?: string; + pre_context?: string[]; + post_context?: string[]; + in_app?: boolean; + instruction_addr?: string; + addr_mode?: string; + vars?: { + [key: string]: any; + }; +} +//# sourceMappingURL=stackframe.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/stackframe.d.ts.map b/node_modules/@sentry/types/dist/stackframe.d.ts.map new file mode 100644 index 000000000..3dd4365b7 --- /dev/null +++ b/node_modules/@sentry/types/dist/stackframe.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stackframe.d.ts","sourceRoot":"","sources":["../src/stackframe.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC/B"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/stackframe.js b/node_modules/@sentry/types/dist/stackframe.js new file mode 100644 index 000000000..85dd6969f --- /dev/null +++ b/node_modules/@sentry/types/dist/stackframe.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=stackframe.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/stackframe.js.map b/node_modules/@sentry/types/dist/stackframe.js.map new file mode 100644 index 000000000..7a66a9bb8 --- /dev/null +++ b/node_modules/@sentry/types/dist/stackframe.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stackframe.js","sourceRoot":"","sources":["../src/stackframe.ts"],"names":[],"mappings":"","sourcesContent":["/** JSDoc */\nexport interface StackFrame {\n filename?: string;\n function?: string;\n module?: string;\n platform?: string;\n lineno?: number;\n colno?: number;\n abs_path?: string;\n context_line?: string;\n pre_context?: string[];\n post_context?: string[];\n in_app?: boolean;\n instruction_addr?: string;\n addr_mode?: string;\n vars?: { [key: string]: any };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/stacktrace.d.ts b/node_modules/@sentry/types/dist/stacktrace.d.ts new file mode 100644 index 000000000..b2cc3b477 --- /dev/null +++ b/node_modules/@sentry/types/dist/stacktrace.d.ts @@ -0,0 +1,7 @@ +import { StackFrame } from './stackframe'; +/** JSDoc */ +export interface Stacktrace { + frames?: StackFrame[]; + frames_omitted?: [number, number]; +} +//# sourceMappingURL=stacktrace.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/stacktrace.d.ts.map b/node_modules/@sentry/types/dist/stacktrace.d.ts.map new file mode 100644 index 000000000..efa7c3f0f --- /dev/null +++ b/node_modules/@sentry/types/dist/stacktrace.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.d.ts","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY;AACZ,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/stacktrace.js b/node_modules/@sentry/types/dist/stacktrace.js new file mode 100644 index 000000000..b5d5e5267 --- /dev/null +++ b/node_modules/@sentry/types/dist/stacktrace.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=stacktrace.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/stacktrace.js.map b/node_modules/@sentry/types/dist/stacktrace.js.map new file mode 100644 index 000000000..11a62eca8 --- /dev/null +++ b/node_modules/@sentry/types/dist/stacktrace.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.js","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"","sourcesContent":["import { StackFrame } from './stackframe';\n\n/** JSDoc */\nexport interface Stacktrace {\n frames?: StackFrame[];\n frames_omitted?: [number, number];\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/status.d.ts b/node_modules/@sentry/types/dist/status.d.ts new file mode 100644 index 000000000..1ad8dea86 --- /dev/null +++ b/node_modules/@sentry/types/dist/status.d.ts @@ -0,0 +1,18 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to EventStatus type + */ +export declare enum Status { + /** The status could not be determined. */ + Unknown = "unknown", + /** The event was skipped due to configuration or callbacks. */ + Skipped = "skipped", + /** The event was sent to Sentry successfully. */ + Success = "success", + /** The client is currently rate limited and will try again later. */ + RateLimit = "rate_limit", + /** The event could not be processed. */ + Invalid = "invalid", + /** A server-side error occurred during submission. */ + Failed = "failed" +} +//# sourceMappingURL=status.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/status.d.ts.map b/node_modules/@sentry/types/dist/status.d.ts.map new file mode 100644 index 000000000..8ae82b42b --- /dev/null +++ b/node_modules/@sentry/types/dist/status.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,MAAM;IAChB,0CAA0C;IAC1C,OAAO,YAAY;IACnB,+DAA+D;IAC/D,OAAO,YAAY;IACnB,iDAAiD;IACjD,OAAO,YAAY;IACnB,qEAAqE;IACrE,SAAS,eAAe;IACxB,wCAAwC;IACxC,OAAO,YAAY;IACnB,sDAAsD;IACtD,MAAM,WAAW;CAClB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/status.js b/node_modules/@sentry/types/dist/status.js new file mode 100644 index 000000000..e059dc464 --- /dev/null +++ b/node_modules/@sentry/types/dist/status.js @@ -0,0 +1,20 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to EventStatus type + */ +var Status; +(function (Status) { + /** The status could not be determined. */ + Status["Unknown"] = "unknown"; + /** The event was skipped due to configuration or callbacks. */ + Status["Skipped"] = "skipped"; + /** The event was sent to Sentry successfully. */ + Status["Success"] = "success"; + /** The client is currently rate limited and will try again later. */ + Status["RateLimit"] = "rate_limit"; + /** The event could not be processed. */ + Status["Invalid"] = "invalid"; + /** A server-side error occurred during submission. */ + Status["Failed"] = "failed"; +})(Status = exports.Status || (exports.Status = {})); +//# sourceMappingURL=status.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/status.js.map b/node_modules/@sentry/types/dist/status.js.map new file mode 100644 index 000000000..e1847d207 --- /dev/null +++ b/node_modules/@sentry/types/dist/status.js.map @@ -0,0 +1 @@ +{"version":3,"file":"status.js","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,0CAA0C;IAC1C,6BAAmB,CAAA;IACnB,+DAA+D;IAC/D,6BAAmB,CAAA;IACnB,iDAAiD;IACjD,6BAAmB,CAAA;IACnB,qEAAqE;IACrE,kCAAwB,CAAA;IACxB,wCAAwC;IACxC,6BAAmB,CAAA;IACnB,sDAAsD;IACtD,2BAAiB,CAAA;AACnB,CAAC,EAbW,MAAM,GAAN,cAAM,KAAN,cAAM,QAajB","sourcesContent":["/** JSDoc\n * @deprecated Use string literals - if you require type casting, cast to EventStatus type\n */\nexport enum Status {\n /** The status could not be determined. */\n Unknown = 'unknown',\n /** The event was skipped due to configuration or callbacks. */\n Skipped = 'skipped',\n /** The event was sent to Sentry successfully. */\n Success = 'success',\n /** The client is currently rate limited and will try again later. */\n RateLimit = 'rate_limit',\n /** The event could not be processed. */\n Invalid = 'invalid',\n /** A server-side error occurred during submission. */\n Failed = 'failed',\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/thread.d.ts b/node_modules/@sentry/types/dist/thread.d.ts new file mode 100644 index 000000000..f5edc3524 --- /dev/null +++ b/node_modules/@sentry/types/dist/thread.d.ts @@ -0,0 +1,10 @@ +import { Stacktrace } from './stacktrace'; +/** JSDoc */ +export interface Thread { + id?: number; + name?: string; + stacktrace?: Stacktrace; + crashed?: boolean; + current?: boolean; +} +//# sourceMappingURL=thread.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/thread.d.ts.map b/node_modules/@sentry/types/dist/thread.d.ts.map new file mode 100644 index 000000000..dd8b77d9b --- /dev/null +++ b/node_modules/@sentry/types/dist/thread.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY;AACZ,MAAM,WAAW,MAAM;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/thread.js b/node_modules/@sentry/types/dist/thread.js new file mode 100644 index 000000000..3ed836179 --- /dev/null +++ b/node_modules/@sentry/types/dist/thread.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=thread.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/thread.js.map b/node_modules/@sentry/types/dist/thread.js.map new file mode 100644 index 000000000..d7cc09ae0 --- /dev/null +++ b/node_modules/@sentry/types/dist/thread.js.map @@ -0,0 +1 @@ +{"version":3,"file":"thread.js","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"","sourcesContent":["import { Stacktrace } from './stacktrace';\n\n/** JSDoc */\nexport interface Thread {\n id?: number;\n name?: string;\n stacktrace?: Stacktrace;\n crashed?: boolean;\n current?: boolean;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/transaction.d.ts b/node_modules/@sentry/types/dist/transaction.d.ts new file mode 100644 index 000000000..b12d22c87 --- /dev/null +++ b/node_modules/@sentry/types/dist/transaction.d.ts @@ -0,0 +1,119 @@ +import { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc'; +import { Span, SpanContext } from './span'; +/** + * Interface holding Transaction-specific properties + */ +export interface TransactionContext extends SpanContext { + /** + * Human-readable identifier for the transaction + */ + name: string; + /** + * If true, sets the end timestamp of the transaction to the highest timestamp of child spans, trimming + * the duration of the transaction. This is useful to discard extra time in the transaction that is not + * accounted for in child spans, like what happens in the idle transaction Tracing integration, where we finish the + * transaction after a given "idle time" and we don't want this "idle time" to be part of the transaction. + */ + trimEnd?: boolean; + /** + * If this transaction has a parent, the parent's sampling decision + */ + parentSampled?: boolean; + /** + * Metadata associated with the transaction, for internal SDK use. + */ + metadata?: TransactionMetadata; +} +/** + * Data pulled from a `sentry-trace` header + */ +export declare type TraceparentData = Pick; +/** + * Transaction "Class", inherits Span only has `setName` + */ +export interface Transaction extends TransactionContext, Span { + /** + * @inheritDoc + */ + spanId: string; + /** + * @inheritDoc + */ + traceId: string; + /** + * @inheritDoc + */ + startTimestamp: number; + /** + * @inheritDoc + */ + tags: { + [key: string]: Primitive; + }; + /** + * @inheritDoc + */ + data: { + [key: string]: any; + }; + /** + * Metadata about the transaction + */ + metadata: TransactionMetadata; + /** + * Set the name of the transaction + */ + setName(name: string): void; + /** Returns the current transaction properties as a `TransactionContext` */ + toContext(): TransactionContext; + /** Updates the current transaction with a new `TransactionContext` */ + updateWithContext(transactionContext: TransactionContext): this; +} +/** + * Context data passed by the user when starting a transaction, to be used by the tracesSampler method. + */ +export interface CustomSamplingContext { + [key: string]: any; +} +/** + * Data passed to the `tracesSampler` function, which forms the basis for whatever decisions it might make. + * + * Adds default data to data provided by the user. See {@link Hub.startTransaction} + */ +export interface SamplingContext extends CustomSamplingContext { + /** + * Context data with which transaction being sampled was created + */ + transactionContext: TransactionContext; + /** + * Sampling decision from the parent transaction, if any. + */ + parentSampled?: boolean; + /** + * Object representing the URL of the current page or worker script. Passed by default when using the `BrowserTracing` + * integration. + */ + location?: WorkerLocation; + /** + * Object representing the incoming request to a node server. Passed by default when using the TracingHandler. + */ + request?: ExtractedNodeRequestData; +} +export declare type Measurements = Record; +export declare type TransactionSamplingMethod = 'explicitly_set' | 'client_sampler' | 'client_rate' | 'inheritance'; +export interface TransactionMetadata { + transactionSampling?: { + rate?: number; + method?: TransactionSamplingMethod; + }; + /** The two halves (sentry and third-party) of a transaction's tracestate header, used for dynamic sampling */ + tracestate?: { + sentry?: string; + thirdparty?: string; + }; + /** For transactions tracing server-side request handling, the path of the request being tracked. */ + requestPath?: string; +} +//# sourceMappingURL=transaction.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/transaction.d.ts.map b/node_modules/@sentry/types/dist/transaction.d.ts.map new file mode 100644 index 000000000..5c607f4d5 --- /dev/null +++ b/node_modules/@sentry/types/dist/transaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC;AAED;;GAEG;AACH,oBAAY,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;AAErG;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,kBAAkB,EAAE,IAAI;IAC3D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IAEnC;;OAEG;IACH,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAE7B;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,2EAA2E;IAC3E,SAAS,IAAI,kBAAkB,CAAC;IAEhC,sEAAsE;IACtE,iBAAiB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACjE;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,qBAAqB;IAC5D;;OAEG;IACH,kBAAkB,EAAE,kBAAkB,CAAC;IAEvC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;CACpC;AAED,oBAAY,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE7D,oBAAY,yBAAyB,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,aAAa,GAAG,aAAa,CAAC;AAE5G,MAAM,WAAW,mBAAmB;IAClC,mBAAmB,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,yBAAyB,CAAA;KAAE,CAAC;IAE5E,8GAA8G;IAC9G,UAAU,CAAC,EAAE;QACX,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IAEF,oGAAoG;IACpG,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/transaction.js b/node_modules/@sentry/types/dist/transaction.js new file mode 100644 index 000000000..020062360 --- /dev/null +++ b/node_modules/@sentry/types/dist/transaction.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=transaction.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/transaction.js.map b/node_modules/@sentry/types/dist/transaction.js.map new file mode 100644 index 000000000..e9a39bb1a --- /dev/null +++ b/node_modules/@sentry/types/dist/transaction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"","sourcesContent":["import { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc';\nimport { Span, SpanContext } from './span';\n\n/**\n * Interface holding Transaction-specific properties\n */\nexport interface TransactionContext extends SpanContext {\n /**\n * Human-readable identifier for the transaction\n */\n name: string;\n\n /**\n * If true, sets the end timestamp of the transaction to the highest timestamp of child spans, trimming\n * the duration of the transaction. This is useful to discard extra time in the transaction that is not\n * accounted for in child spans, like what happens in the idle transaction Tracing integration, where we finish the\n * transaction after a given \"idle time\" and we don't want this \"idle time\" to be part of the transaction.\n */\n trimEnd?: boolean;\n\n /**\n * If this transaction has a parent, the parent's sampling decision\n */\n parentSampled?: boolean;\n\n /**\n * Metadata associated with the transaction, for internal SDK use.\n */\n metadata?: TransactionMetadata;\n}\n\n/**\n * Data pulled from a `sentry-trace` header\n */\nexport type TraceparentData = Pick;\n\n/**\n * Transaction \"Class\", inherits Span only has `setName`\n */\nexport interface Transaction extends TransactionContext, Span {\n /**\n * @inheritDoc\n */\n spanId: string;\n\n /**\n * @inheritDoc\n */\n traceId: string;\n\n /**\n * @inheritDoc\n */\n startTimestamp: number;\n\n /**\n * @inheritDoc\n */\n tags: { [key: string]: Primitive };\n\n /**\n * @inheritDoc\n */\n data: { [key: string]: any };\n\n /**\n * Metadata about the transaction\n */\n metadata: TransactionMetadata;\n\n /**\n * Set the name of the transaction\n */\n setName(name: string): void;\n\n /** Returns the current transaction properties as a `TransactionContext` */\n toContext(): TransactionContext;\n\n /** Updates the current transaction with a new `TransactionContext` */\n updateWithContext(transactionContext: TransactionContext): this;\n}\n\n/**\n * Context data passed by the user when starting a transaction, to be used by the tracesSampler method.\n */\nexport interface CustomSamplingContext {\n [key: string]: any;\n}\n\n/**\n * Data passed to the `tracesSampler` function, which forms the basis for whatever decisions it might make.\n *\n * Adds default data to data provided by the user. See {@link Hub.startTransaction}\n */\nexport interface SamplingContext extends CustomSamplingContext {\n /**\n * Context data with which transaction being sampled was created\n */\n transactionContext: TransactionContext;\n\n /**\n * Sampling decision from the parent transaction, if any.\n */\n parentSampled?: boolean;\n\n /**\n * Object representing the URL of the current page or worker script. Passed by default when using the `BrowserTracing`\n * integration.\n */\n location?: WorkerLocation;\n\n /**\n * Object representing the incoming request to a node server. Passed by default when using the TracingHandler.\n */\n request?: ExtractedNodeRequestData;\n}\n\nexport type Measurements = Record;\n\nexport type TransactionSamplingMethod = 'explicitly_set' | 'client_sampler' | 'client_rate' | 'inheritance';\n\nexport interface TransactionMetadata {\n transactionSampling?: { rate?: number; method?: TransactionSamplingMethod };\n\n /** The two halves (sentry and third-party) of a transaction's tracestate header, used for dynamic sampling */\n tracestate?: {\n sentry?: string;\n thirdparty?: string;\n };\n\n /** For transactions tracing server-side request handling, the path of the request being tracked. */\n requestPath?: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/transport.d.ts b/node_modules/@sentry/types/dist/transport.d.ts new file mode 100644 index 000000000..3c4220bc8 --- /dev/null +++ b/node_modules/@sentry/types/dist/transport.d.ts @@ -0,0 +1,66 @@ +import { DsnLike } from './dsn'; +import { Event } from './event'; +import { SentryRequestType } from './request'; +import { Response } from './response'; +import { SdkMetadata } from './sdkmetadata'; +import { Session, SessionAggregates } from './session'; +export declare type Outcome = 'before_send' | 'event_processor' | 'network_error' | 'queue_overflow' | 'ratelimit_backoff' | 'sample_rate'; +/** Transport used sending data to Sentry */ +export interface Transport { + /** + * Sends the event to the Store endpoint in Sentry. + * + * @param event Event that should be sent to Sentry. + */ + sendEvent(event: Event): PromiseLike; + /** + * Sends the session to the Envelope endpoint in Sentry. + * + * @param session Session that should be sent to Sentry | Session Aggregates that should be sent to Sentry. + */ + sendSession?(session: Session | SessionAggregates): PromiseLike; + /** + * Wait for all events to be sent or the timeout to expire, whichever comes first. + * + * @param timeout Maximum time in ms the transport should wait for events to be flushed. Omitting this parameter will + * cause the transport to wait until all events are sent before resolving the promise. + * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are + * still events in the queue when the timeout is reached. + */ + close(timeout?: number): PromiseLike; + /** + * Increment the counter for the specific client outcome + */ + recordLostEvent?(type: Outcome, category: SentryRequestType): void; +} +/** JSDoc */ +export declare type TransportClass = new (options: TransportOptions) => T; +/** JSDoc */ +export interface TransportOptions { + /** Sentry DSN */ + dsn: DsnLike; + /** Define custom headers */ + headers?: { + [key: string]: string; + }; + /** Set a HTTP proxy that should be used for outbound requests. */ + httpProxy?: string; + /** Set a HTTPS proxy that should be used for outbound requests. */ + httpsProxy?: string; + /** HTTPS proxy certificates path */ + caCerts?: string; + /** Fetch API init parameters */ + fetchParameters?: { + [key: string]: string; + }; + /** The envelope tunnel to use. */ + tunnel?: string; + /** Send SDK Client Reports. Enabled by default. */ + sendClientReports?: boolean; + /** + * Set of metadata about the SDK that can be internally used to enhance envelopes and events, + * and provide additional data about every request. + * */ + _metadata?: SdkMetadata; +} +//# sourceMappingURL=transport.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/transport.d.ts.map b/node_modules/@sentry/types/dist/transport.d.ts.map new file mode 100644 index 000000000..33ce19278 --- /dev/null +++ b/node_modules/@sentry/types/dist/transport.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEvD,oBAAY,OAAO,GACf,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,mBAAmB,GACnB,aAAa,CAAC;AAElB,4CAA4C;AAC5C,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IAE/C;;;;OAIG;IACH,WAAW,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IAE1E;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAE9C;;OAEG;IACH,eAAe,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACpE;AAED,YAAY;AACZ,oBAAY,cAAc,CAAC,CAAC,SAAS,SAAS,IAAI,KAAK,OAAO,EAAE,gBAAgB,KAAK,CAAC,CAAC;AAEvF,YAAY;AACZ,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,4BAA4B;IAC5B,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACpC,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC5C,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;SAGK;IACL,SAAS,CAAC,EAAE,WAAW,CAAC;CACzB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/transport.js b/node_modules/@sentry/types/dist/transport.js new file mode 100644 index 000000000..ff686ae54 --- /dev/null +++ b/node_modules/@sentry/types/dist/transport.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=transport.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/transport.js.map b/node_modules/@sentry/types/dist/transport.js.map new file mode 100644 index 000000000..8e9c50c57 --- /dev/null +++ b/node_modules/@sentry/types/dist/transport.js.map @@ -0,0 +1 @@ +{"version":3,"file":"transport.js","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"","sourcesContent":["import { DsnLike } from './dsn';\nimport { Event } from './event';\nimport { SentryRequestType } from './request';\nimport { Response } from './response';\nimport { SdkMetadata } from './sdkmetadata';\nimport { Session, SessionAggregates } from './session';\n\nexport type Outcome =\n | 'before_send'\n | 'event_processor'\n | 'network_error'\n | 'queue_overflow'\n | 'ratelimit_backoff'\n | 'sample_rate';\n\n/** Transport used sending data to Sentry */\nexport interface Transport {\n /**\n * Sends the event to the Store endpoint in Sentry.\n *\n * @param event Event that should be sent to Sentry.\n */\n sendEvent(event: Event): PromiseLike;\n\n /**\n * Sends the session to the Envelope endpoint in Sentry.\n *\n * @param session Session that should be sent to Sentry | Session Aggregates that should be sent to Sentry.\n */\n sendSession?(session: Session | SessionAggregates): PromiseLike;\n\n /**\n * Wait for all events to be sent or the timeout to expire, whichever comes first.\n *\n * @param timeout Maximum time in ms the transport should wait for events to be flushed. Omitting this parameter will\n * cause the transport to wait until all events are sent before resolving the promise.\n * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are\n * still events in the queue when the timeout is reached.\n */\n close(timeout?: number): PromiseLike;\n\n /**\n * Increment the counter for the specific client outcome\n */\n recordLostEvent?(type: Outcome, category: SentryRequestType): void;\n}\n\n/** JSDoc */\nexport type TransportClass = new (options: TransportOptions) => T;\n\n/** JSDoc */\nexport interface TransportOptions {\n /** Sentry DSN */\n dsn: DsnLike;\n /** Define custom headers */\n headers?: { [key: string]: string };\n /** Set a HTTP proxy that should be used for outbound requests. */\n httpProxy?: string;\n /** Set a HTTPS proxy that should be used for outbound requests. */\n httpsProxy?: string;\n /** HTTPS proxy certificates path */\n caCerts?: string;\n /** Fetch API init parameters */\n fetchParameters?: { [key: string]: string };\n /** The envelope tunnel to use. */\n tunnel?: string;\n /** Send SDK Client Reports. Enabled by default. */\n sendClientReports?: boolean;\n /**\n * Set of metadata about the SDK that can be internally used to enhance envelopes and events,\n * and provide additional data about every request.\n * */\n _metadata?: SdkMetadata;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/user.d.ts b/node_modules/@sentry/types/dist/user.d.ts new file mode 100644 index 000000000..2f24df3d2 --- /dev/null +++ b/node_modules/@sentry/types/dist/user.d.ts @@ -0,0 +1,9 @@ +/** JSDoc */ +export interface User { + [key: string]: any; + id?: string; + ip_address?: string; + email?: string; + username?: string; +} +//# sourceMappingURL=user.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/user.d.ts.map b/node_modules/@sentry/types/dist/user.d.ts.map new file mode 100644 index 000000000..6f833edd0 --- /dev/null +++ b/node_modules/@sentry/types/dist/user.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../src/user.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,MAAM,WAAW,IAAI;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/user.js b/node_modules/@sentry/types/dist/user.js new file mode 100644 index 000000000..a756c8dc2 --- /dev/null +++ b/node_modules/@sentry/types/dist/user.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=user.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/user.js.map b/node_modules/@sentry/types/dist/user.js.map new file mode 100644 index 000000000..c7e4a43e1 --- /dev/null +++ b/node_modules/@sentry/types/dist/user.js.map @@ -0,0 +1 @@ +{"version":3,"file":"user.js","sourceRoot":"","sources":["../src/user.ts"],"names":[],"mappings":"","sourcesContent":["/** JSDoc */\nexport interface User {\n [key: string]: any;\n id?: string;\n ip_address?: string;\n email?: string;\n username?: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/wrappedfunction.d.ts b/node_modules/@sentry/types/dist/wrappedfunction.d.ts new file mode 100644 index 000000000..c65863405 --- /dev/null +++ b/node_modules/@sentry/types/dist/wrappedfunction.d.ts @@ -0,0 +1,7 @@ +/** JSDoc */ +export interface WrappedFunction extends Function { + [key: string]: any; + __sentry_wrapped__?: WrappedFunction; + __sentry_original__?: WrappedFunction; +} +//# sourceMappingURL=wrappedfunction.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/wrappedfunction.d.ts.map b/node_modules/@sentry/types/dist/wrappedfunction.d.ts.map new file mode 100644 index 000000000..279000e5c --- /dev/null +++ b/node_modules/@sentry/types/dist/wrappedfunction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"wrappedfunction.d.ts","sourceRoot":"","sources":["../src/wrappedfunction.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,kBAAkB,CAAC,EAAE,eAAe,CAAC;IACrC,mBAAmB,CAAC,EAAE,eAAe,CAAC;CACvC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/wrappedfunction.js b/node_modules/@sentry/types/dist/wrappedfunction.js new file mode 100644 index 000000000..d1941b3f5 --- /dev/null +++ b/node_modules/@sentry/types/dist/wrappedfunction.js @@ -0,0 +1,2 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=wrappedfunction.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/dist/wrappedfunction.js.map b/node_modules/@sentry/types/dist/wrappedfunction.js.map new file mode 100644 index 000000000..52245d0ef --- /dev/null +++ b/node_modules/@sentry/types/dist/wrappedfunction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"wrappedfunction.js","sourceRoot":"","sources":["../src/wrappedfunction.ts"],"names":[],"mappings":"","sourcesContent":["/** JSDoc */\nexport interface WrappedFunction extends Function {\n [key: string]: any;\n __sentry_wrapped__?: WrappedFunction;\n __sentry_original__?: WrappedFunction;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/breadcrumb.d.ts b/node_modules/@sentry/types/esm/breadcrumb.d.ts new file mode 100644 index 000000000..23b135784 --- /dev/null +++ b/node_modules/@sentry/types/esm/breadcrumb.d.ts @@ -0,0 +1,18 @@ +import { Severity } from './severity'; +/** JSDoc */ +export interface Breadcrumb { + type?: string; + level?: Severity; + event_id?: string; + category?: string; + message?: string; + data?: { + [key: string]: any; + }; + timestamp?: number; +} +/** JSDoc */ +export interface BreadcrumbHint { + [key: string]: any; +} +//# sourceMappingURL=breadcrumb.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/breadcrumb.d.ts.map b/node_modules/@sentry/types/esm/breadcrumb.d.ts.map new file mode 100644 index 000000000..5fac02751 --- /dev/null +++ b/node_modules/@sentry/types/esm/breadcrumb.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../src/breadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,YAAY;AACZ,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,YAAY;AACZ,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/breadcrumb.js b/node_modules/@sentry/types/esm/breadcrumb.js new file mode 100644 index 000000000..f750e73c2 --- /dev/null +++ b/node_modules/@sentry/types/esm/breadcrumb.js @@ -0,0 +1 @@ +//# sourceMappingURL=breadcrumb.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/breadcrumb.js.map b/node_modules/@sentry/types/esm/breadcrumb.js.map new file mode 100644 index 000000000..7a7e0e1d8 --- /dev/null +++ b/node_modules/@sentry/types/esm/breadcrumb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"breadcrumb.js","sourceRoot":"","sources":["../src/breadcrumb.ts"],"names":[],"mappings":"","sourcesContent":["import { Severity } from './severity';\n\n/** JSDoc */\nexport interface Breadcrumb {\n type?: string;\n level?: Severity;\n event_id?: string;\n category?: string;\n message?: string;\n data?: { [key: string]: any };\n timestamp?: number;\n}\n\n/** JSDoc */\nexport interface BreadcrumbHint {\n [key: string]: any;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/client.d.ts b/node_modules/@sentry/types/esm/client.d.ts new file mode 100644 index 000000000..25d17b992 --- /dev/null +++ b/node_modules/@sentry/types/esm/client.d.ts @@ -0,0 +1,81 @@ +import { DsnComponents } from './dsn'; +import { Event, EventHint } from './event'; +import { Integration, IntegrationClass } from './integration'; +import { Options } from './options'; +import { Scope } from './scope'; +import { Session } from './session'; +import { Severity } from './severity'; +import { Transport } from './transport'; +/** + * User-Facing Sentry SDK Client. + * + * This interface contains all methods to interface with the SDK once it has + * been installed. It allows to send events to Sentry, record breadcrumbs and + * set a context included in every event. Since the SDK mutates its environment, + * there will only be one instance during runtime. + * + */ +export interface Client { + /** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @param hint May contain additional information about the original exception. + * @param scope An optional scope containing event metadata. + * @returns The event id + */ + captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined; + /** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param level Define the level of the message. + * @param hint May contain additional information about the original exception. + * @param scope An optional scope containing event metadata. + * @returns The event id + */ + captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined; + /** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + * @param scope An optional scope containing event metadata. + * @returns The event id + */ + captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined; + /** Captures a session + * + * @param session Session to be delivered + */ + captureSession?(session: Session): void; + /** Returns the current Dsn. */ + getDsn(): DsnComponents | undefined; + /** Returns the current options. */ + getOptions(): O; + /** Returns clients transport. */ + getTransport?(): Transport; + /** + * Flush the event queue and set the client to `enabled = false`. See {@link Client.flush}. + * + * @param timeout Maximum time in ms the client should wait before shutting down. Omitting this parameter will cause + * the client to wait until all events are sent before disabling itself. + * @returns A promise which resolves to `true` if the flush completes successfully before the timeout, or `false` if + * it doesn't. + */ + close(timeout?: number): PromiseLike; + /** + * Wait for all events to be sent or the timeout to expire, whichever comes first. + * + * @param timeout Maximum time in ms the client should wait for events to be flushed. Omitting this parameter will + * cause the client to wait until all events are sent before resolving the promise. + * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are + * still events in the queue when the timeout is reached. + */ + flush(timeout?: number): PromiseLike; + /** Returns an array of installed integrations on the client. */ + getIntegration(integration: IntegrationClass): T | null; + /** This is an internal function to setup all integrations that should run on the client */ + setupIntegrations(): void; +} +//# sourceMappingURL=client.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/client.d.ts.map b/node_modules/@sentry/types/esm/client.d.ts.map new file mode 100644 index 000000000..06d42d49b --- /dev/null +++ b/node_modules/@sentry/types/esm/client.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;;;;;;GAQG;AACH,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO;IACjD;;;;;;;OAOG;IACH,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;IAEtF;;;;;;;;OAQG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;IAEvG;;;;;;;OAOG;IACH,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;IAEhF;;;OAGG;IACH,cAAc,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAExC,+BAA+B;IAC/B,MAAM,IAAI,aAAa,GAAG,SAAS,CAAC;IAEpC,mCAAmC;IACnC,UAAU,IAAI,CAAC,CAAC;IAEhB,iCAAiC;IACjC,YAAY,CAAC,IAAI,SAAS,CAAC;IAE3B;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAE9C;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAE9C,gEAAgE;IAChE,cAAc,CAAC,CAAC,SAAS,WAAW,EAAE,WAAW,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAElF,2FAA2F;IAC3F,iBAAiB,IAAI,IAAI,CAAC;CAC3B"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/client.js b/node_modules/@sentry/types/esm/client.js new file mode 100644 index 000000000..d58c58416 --- /dev/null +++ b/node_modules/@sentry/types/esm/client.js @@ -0,0 +1 @@ +//# sourceMappingURL=client.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/client.js.map b/node_modules/@sentry/types/esm/client.js.map new file mode 100644 index 000000000..22c1d8aca --- /dev/null +++ b/node_modules/@sentry/types/esm/client.js.map @@ -0,0 +1 @@ +{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"","sourcesContent":["import { DsnComponents } from './dsn';\nimport { Event, EventHint } from './event';\nimport { Integration, IntegrationClass } from './integration';\nimport { Options } from './options';\nimport { Scope } from './scope';\nimport { Session } from './session';\nimport { Severity } from './severity';\nimport { Transport } from './transport';\n\n/**\n * User-Facing Sentry SDK Client.\n *\n * This interface contains all methods to interface with the SDK once it has\n * been installed. It allows to send events to Sentry, record breadcrumbs and\n * set a context included in every event. Since the SDK mutates its environment,\n * there will only be one instance during runtime.\n *\n */\nexport interface Client {\n /**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @param hint May contain additional information about the original exception.\n * @param scope An optional scope containing event metadata.\n * @returns The event id\n */\n captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined;\n\n /**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param level Define the level of the message.\n * @param hint May contain additional information about the original exception.\n * @param scope An optional scope containing event metadata.\n * @returns The event id\n */\n captureMessage(message: string, level?: Severity, hint?: EventHint, scope?: Scope): string | undefined;\n\n /**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope An optional scope containing event metadata.\n * @returns The event id\n */\n captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined;\n\n /** Captures a session\n *\n * @param session Session to be delivered\n */\n captureSession?(session: Session): void;\n\n /** Returns the current Dsn. */\n getDsn(): DsnComponents | undefined;\n\n /** Returns the current options. */\n getOptions(): O;\n\n /** Returns clients transport. */\n getTransport?(): Transport;\n\n /**\n * Flush the event queue and set the client to `enabled = false`. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait before shutting down. Omitting this parameter will cause\n * the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the flush completes successfully before the timeout, or `false` if\n * it doesn't.\n */\n close(timeout?: number): PromiseLike;\n\n /**\n * Wait for all events to be sent or the timeout to expire, whichever comes first.\n *\n * @param timeout Maximum time in ms the client should wait for events to be flushed. Omitting this parameter will\n * cause the client to wait until all events are sent before resolving the promise.\n * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are\n * still events in the queue when the timeout is reached.\n */\n flush(timeout?: number): PromiseLike;\n\n /** Returns an array of installed integrations on the client. */\n getIntegration(integration: IntegrationClass): T | null;\n\n /** This is an internal function to setup all integrations that should run on the client */\n setupIntegrations(): void;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/context.d.ts b/node_modules/@sentry/types/esm/context.d.ts new file mode 100644 index 000000000..5e2d1c397 --- /dev/null +++ b/node_modules/@sentry/types/esm/context.d.ts @@ -0,0 +1,3 @@ +export declare type Context = Record; +export declare type Contexts = Record; +//# sourceMappingURL=context.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/context.d.ts.map b/node_modules/@sentry/types/esm/context.d.ts.map new file mode 100644 index 000000000..c3ab8a31a --- /dev/null +++ b/node_modules/@sentry/types/esm/context.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC9C,oBAAY,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/context.js b/node_modules/@sentry/types/esm/context.js new file mode 100644 index 000000000..f88e63830 --- /dev/null +++ b/node_modules/@sentry/types/esm/context.js @@ -0,0 +1 @@ +//# sourceMappingURL=context.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/context.js.map b/node_modules/@sentry/types/esm/context.js.map new file mode 100644 index 000000000..8f04a60ee --- /dev/null +++ b/node_modules/@sentry/types/esm/context.js.map @@ -0,0 +1 @@ +{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"","sourcesContent":["export type Context = Record;\nexport type Contexts = Record;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/debugMeta.d.ts b/node_modules/@sentry/types/esm/debugMeta.d.ts new file mode 100644 index 000000000..e0c527c8b --- /dev/null +++ b/node_modules/@sentry/types/esm/debugMeta.d.ts @@ -0,0 +1,21 @@ +/** + * Holds meta information to customize the behavior of Sentry's server-side event processing. + **/ +export interface DebugMeta { + images?: Array; +} +/** + * Possible choices for debug images. + */ +export declare type DebugImageType = 'wasm' | 'macho' | 'elf' | 'pe'; +/** + * References to debug images. + */ +export interface DebugImage { + type: DebugImageType; + debug_id: string; + code_id?: string | null; + code_file: string; + debug_file?: string | null; +} +//# sourceMappingURL=debugMeta.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/debugMeta.d.ts.map b/node_modules/@sentry/types/esm/debugMeta.d.ts.map new file mode 100644 index 000000000..7a131eccc --- /dev/null +++ b/node_modules/@sentry/types/esm/debugMeta.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"debugMeta.d.ts","sourceRoot":"","sources":["../src/debugMeta.ts"],"names":[],"mappings":"AAAA;;IAEI;AACJ,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC5B;AAED;;GAEG;AACH,oBAAY,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,IAAI,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/debugMeta.js b/node_modules/@sentry/types/esm/debugMeta.js new file mode 100644 index 000000000..b26ffe897 --- /dev/null +++ b/node_modules/@sentry/types/esm/debugMeta.js @@ -0,0 +1 @@ +//# sourceMappingURL=debugMeta.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/debugMeta.js.map b/node_modules/@sentry/types/esm/debugMeta.js.map new file mode 100644 index 000000000..60638f52a --- /dev/null +++ b/node_modules/@sentry/types/esm/debugMeta.js.map @@ -0,0 +1 @@ +{"version":3,"file":"debugMeta.js","sourceRoot":"","sources":["../src/debugMeta.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Holds meta information to customize the behavior of Sentry's server-side event processing.\n **/\nexport interface DebugMeta {\n images?: Array;\n}\n\n/**\n * Possible choices for debug images.\n */\nexport type DebugImageType = 'wasm' | 'macho' | 'elf' | 'pe';\n\n/**\n * References to debug images.\n */\nexport interface DebugImage {\n type: DebugImageType;\n debug_id: string;\n code_id?: string | null;\n code_file: string;\n debug_file?: string | null;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/dsn.d.ts b/node_modules/@sentry/types/esm/dsn.d.ts new file mode 100644 index 000000000..dbc6e170f --- /dev/null +++ b/node_modules/@sentry/types/esm/dsn.d.ts @@ -0,0 +1,24 @@ +/** Supported Sentry transport protocols in a Dsn. */ +export declare type DsnProtocol = 'http' | 'https'; +/** Primitive components of a Dsn. */ +export interface DsnComponents { + /** Protocol used to connect to Sentry. */ + protocol: DsnProtocol; + /** Public authorization key (deprecated, renamed to publicKey). */ + user?: string; + /** Public authorization key. */ + publicKey?: string; + /** Private authorization key (deprecated, optional). */ + pass?: string; + /** Hostname of the Sentry instance. */ + host: string; + /** Port of the Sentry instance. */ + port?: string; + /** Sub path/ */ + path?: string; + /** Project ID */ + projectId: string; +} +/** Anything that can be parsed into a Dsn. */ +export declare type DsnLike = string | DsnComponents; +//# sourceMappingURL=dsn.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/dsn.d.ts.map b/node_modules/@sentry/types/esm/dsn.d.ts.map new file mode 100644 index 000000000..0fd4e8fa1 --- /dev/null +++ b/node_modules/@sentry/types/esm/dsn.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"dsn.d.ts","sourceRoot":"","sources":["../src/dsn.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,oBAAY,WAAW,GAAG,MAAM,GAAG,OAAO,CAAC;AAE3C,qCAAqC;AACrC,MAAM,WAAW,aAAa;IAC5B,0CAA0C;IAC1C,QAAQ,EAAE,WAAW,CAAC;IACtB,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,8CAA8C;AAC9C,oBAAY,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/dsn.js b/node_modules/@sentry/types/esm/dsn.js new file mode 100644 index 000000000..e54d61ddc --- /dev/null +++ b/node_modules/@sentry/types/esm/dsn.js @@ -0,0 +1 @@ +//# sourceMappingURL=dsn.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/dsn.js.map b/node_modules/@sentry/types/esm/dsn.js.map new file mode 100644 index 000000000..78dac467a --- /dev/null +++ b/node_modules/@sentry/types/esm/dsn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dsn.js","sourceRoot":"","sources":["../src/dsn.ts"],"names":[],"mappings":"","sourcesContent":["/** Supported Sentry transport protocols in a Dsn. */\nexport type DsnProtocol = 'http' | 'https';\n\n/** Primitive components of a Dsn. */\nexport interface DsnComponents {\n /** Protocol used to connect to Sentry. */\n protocol: DsnProtocol;\n /** Public authorization key (deprecated, renamed to publicKey). */\n user?: string;\n /** Public authorization key. */\n publicKey?: string;\n /** Private authorization key (deprecated, optional). */\n pass?: string;\n /** Hostname of the Sentry instance. */\n host: string;\n /** Port of the Sentry instance. */\n port?: string;\n /** Sub path/ */\n path?: string;\n /** Project ID */\n projectId: string;\n}\n\n/** Anything that can be parsed into a Dsn. */\nexport type DsnLike = string | DsnComponents;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/envelope.d.ts b/node_modules/@sentry/types/esm/envelope.d.ts new file mode 100644 index 000000000..a40518a92 --- /dev/null +++ b/node_modules/@sentry/types/esm/envelope.d.ts @@ -0,0 +1,70 @@ +import { Event } from './event'; +import { SentryRequestType } from './request'; +import { SdkInfo } from './sdkinfo'; +import { Session, SessionAggregates } from './session'; +import { Outcome } from './transport'; +import { User } from './user'; +declare type CommonEnvelopeHeaders = { + dsn?: string; + sdk?: SdkInfo; +}; +declare type CommonEnvelopeItemHeaders = { + length?: number; +}; +/** + * 1st Item: Item headers + * 2nd Item: Item payload + */ +declare type BaseEnvelopeItem = [CommonEnvelopeItemHeaders & ItemHeader, Payload]; +declare type UnknownEnvelopeItem = BaseEnvelopeItem<{ + type: '__unknown__'; +}>; +declare type BaseEnvelope, EnvelopeItem extends BaseEnvelopeItem<{ + type: string; +}>> = { + headers: CommonEnvelopeHeaders & EnvelopeHeaders; + items: Array; +}; +export declare type EventEnvelopeItem = BaseEnvelopeItem<{ + type: 'event' | 'transaction'; +}, Event>; +declare type AttachmentEnvelopeItem = BaseEnvelopeItem<{ + type: 'attachment'; + filename: 'string'; +}>; +declare type UserFeedbackEnvelopeItem = BaseEnvelopeItem<{ + type: 'user_report'; +}, { + event_id: string; + email: User['email']; + name: string; + comments: string; +}>; +export declare type EventEnvelope = BaseEnvelope<{ + event_id: string; + sent_at: string; +}, EventEnvelopeItem | AttachmentEnvelopeItem | UserFeedbackEnvelopeItem>; +export declare type SessionEnvelopeItem = BaseEnvelopeItem<{ + type: 'session'; +}, Session> | BaseEnvelopeItem<{ + type: 'sessions'; +}, SessionAggregates>; +export declare type SessionEnvelope = BaseEnvelope<{ + sent_at: string; +}, SessionEnvelopeItem>; +export declare type ClientReportEnvelopeItem = BaseEnvelopeItem<{ + type: 'client_report'; +}, { + timestamp: number; + discarded_events: { + reason: Outcome; + category: SentryRequestType; + quantity: number; + }; +}>; +export declare type ClientReportEnvelope = BaseEnvelope, ClientReportEnvelopeItem>; +export declare type Envelope = EventEnvelope | SessionEnvelope | ClientReportEnvelope; +export {}; +//# sourceMappingURL=envelope.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/envelope.d.ts.map b/node_modules/@sentry/types/esm/envelope.d.ts.map new file mode 100644 index 000000000..6457de758 --- /dev/null +++ b/node_modules/@sentry/types/esm/envelope.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAI9B,aAAK,qBAAqB,GAAG;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,aAAK,yBAAyB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,aAAK,gBAAgB,CAAC,UAAU,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,OAAO,GAAG,OAAO,IAAI,CAC9E,yBAAyB,GAAG,UAAU,EACtC,OAAO,CACR,CAAC;AAEF,aAAK,mBAAmB,GAAG,gBAAgB,CAAC;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC,CAAC;AAErE,aAAK,YAAY,CACf,eAAe,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/C,YAAY,SAAS,gBAAgB,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,IACrD;IACF,OAAO,EAAE,qBAAqB,GAAG,eAAe,CAAC;IACjD,KAAK,EAAE,KAAK,CAAC,YAAY,GAAG,mBAAmB,CAAC,CAAC;CAClD,CAAC;AAEF,oBAAY,iBAAiB,GAAG,gBAAgB,CAAC;IAAE,IAAI,EAAE,OAAO,GAAG,aAAa,CAAA;CAAE,EAAE,KAAK,CAAC,CAAC;AAE3F,aAAK,sBAAsB,GAAG,gBAAgB,CAAC;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAC;AAE3F,aAAK,wBAAwB,GAAG,gBAAgB,CAC9C;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,EACvB;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CACF,CAAC;AAEF,oBAAY,aAAa,GAAG,YAAY,CACtC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EACrC,iBAAiB,GAAG,sBAAsB,GAAG,wBAAwB,CACtE,CAAC;AAEF,oBAAY,mBAAmB,GAC3B,gBAAgB,CAAC;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,EAAE,OAAO,CAAC,GAC9C,gBAAgB,CAAC;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,EAAE,iBAAiB,CAAC,CAAC;AAE9D,oBAAY,eAAe,GAAG,YAAY,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,mBAAmB,CAAC,CAAC;AAErF,oBAAY,wBAAwB,GAAG,gBAAgB,CACrD;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,EACzB;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,iBAAiB,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAC5G,CAAC;AAEF,oBAAY,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,wBAAwB,CAAC,CAAC;AAEnG,oBAAY,QAAQ,GAAG,aAAa,GAAG,eAAe,GAAG,oBAAoB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/envelope.js b/node_modules/@sentry/types/esm/envelope.js new file mode 100644 index 000000000..03834fdc6 --- /dev/null +++ b/node_modules/@sentry/types/esm/envelope.js @@ -0,0 +1 @@ +//# sourceMappingURL=envelope.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/envelope.js.map b/node_modules/@sentry/types/esm/envelope.js.map new file mode 100644 index 000000000..41f36f941 --- /dev/null +++ b/node_modules/@sentry/types/esm/envelope.js.map @@ -0,0 +1 @@ +{"version":3,"file":"envelope.js","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"","sourcesContent":["import { Event } from './event';\nimport { SentryRequestType } from './request';\nimport { SdkInfo } from './sdkinfo';\nimport { Session, SessionAggregates } from './session';\nimport { Outcome } from './transport';\nimport { User } from './user';\n\n// Based on: https://develop.sentry.dev/sdk/envelopes/\n\ntype CommonEnvelopeHeaders = {\n dsn?: string;\n sdk?: SdkInfo;\n};\n\ntype CommonEnvelopeItemHeaders = {\n length?: number;\n};\n\n/**\n * 1st Item: Item headers\n * 2nd Item: Item payload\n */\ntype BaseEnvelopeItem = [\n CommonEnvelopeItemHeaders & ItemHeader,\n Payload,\n];\n\ntype UnknownEnvelopeItem = BaseEnvelopeItem<{ type: '__unknown__' }>;\n\ntype BaseEnvelope<\n EnvelopeHeaders extends Record,\n EnvelopeItem extends BaseEnvelopeItem<{ type: string }>,\n> = {\n headers: CommonEnvelopeHeaders & EnvelopeHeaders;\n items: Array;\n};\n\nexport type EventEnvelopeItem = BaseEnvelopeItem<{ type: 'event' | 'transaction' }, Event>;\n\ntype AttachmentEnvelopeItem = BaseEnvelopeItem<{ type: 'attachment'; filename: 'string' }>;\n\ntype UserFeedbackEnvelopeItem = BaseEnvelopeItem<\n { type: 'user_report' },\n {\n event_id: string;\n email: User['email'];\n name: string;\n comments: string;\n }\n>;\n\nexport type EventEnvelope = BaseEnvelope<\n { event_id: string; sent_at: string },\n EventEnvelopeItem | AttachmentEnvelopeItem | UserFeedbackEnvelopeItem\n>;\n\nexport type SessionEnvelopeItem =\n | BaseEnvelopeItem<{ type: 'session' }, Session>\n | BaseEnvelopeItem<{ type: 'sessions' }, SessionAggregates>;\n\nexport type SessionEnvelope = BaseEnvelope<{ sent_at: string }, SessionEnvelopeItem>;\n\nexport type ClientReportEnvelopeItem = BaseEnvelopeItem<\n { type: 'client_report' },\n { timestamp: number; discarded_events: { reason: Outcome; category: SentryRequestType; quantity: number } }\n>;\n\nexport type ClientReportEnvelope = BaseEnvelope, ClientReportEnvelopeItem>;\n\nexport type Envelope = EventEnvelope | SessionEnvelope | ClientReportEnvelope;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/error.d.ts b/node_modules/@sentry/types/esm/error.d.ts new file mode 100644 index 000000000..c213b0793 --- /dev/null +++ b/node_modules/@sentry/types/esm/error.d.ts @@ -0,0 +1,7 @@ +/** + * Just an Error object with arbitrary attributes attached to it. + */ +export interface ExtendedError extends Error { + [key: string]: any; +} +//# sourceMappingURL=error.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/error.d.ts.map b/node_modules/@sentry/types/esm/error.d.ts.map new file mode 100644 index 000000000..81a7b2a0e --- /dev/null +++ b/node_modules/@sentry/types/esm/error.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK;IAC1C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/error.js b/node_modules/@sentry/types/esm/error.js new file mode 100644 index 000000000..26779158b --- /dev/null +++ b/node_modules/@sentry/types/esm/error.js @@ -0,0 +1 @@ +//# sourceMappingURL=error.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/error.js.map b/node_modules/@sentry/types/esm/error.js.map new file mode 100644 index 000000000..3d6064c3f --- /dev/null +++ b/node_modules/@sentry/types/esm/error.js.map @@ -0,0 +1 @@ +{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Just an Error object with arbitrary attributes attached to it.\n */\nexport interface ExtendedError extends Error {\n [key: string]: any;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/event.d.ts b/node_modules/@sentry/types/esm/event.d.ts new file mode 100644 index 000000000..58e31a5fd --- /dev/null +++ b/node_modules/@sentry/types/esm/event.d.ts @@ -0,0 +1,64 @@ +import { Breadcrumb } from './breadcrumb'; +import { Contexts } from './context'; +import { DebugMeta } from './debugMeta'; +import { Exception } from './exception'; +import { Extras } from './extra'; +import { Primitive } from './misc'; +import { Request } from './request'; +import { CaptureContext } from './scope'; +import { SdkInfo } from './sdkinfo'; +import { Severity } from './severity'; +import { Span } from './span'; +import { Stacktrace } from './stacktrace'; +import { Measurements } from './transaction'; +import { User } from './user'; +/** JSDoc */ +export interface Event { + event_id?: string; + message?: string; + timestamp?: number; + start_timestamp?: number; + level?: Severity; + platform?: string; + logger?: string; + server_name?: string; + release?: string; + dist?: string; + environment?: string; + sdk?: SdkInfo; + request?: Request; + transaction?: string; + modules?: { + [key: string]: string; + }; + fingerprint?: string[]; + exception?: { + values?: Exception[]; + }; + stacktrace?: Stacktrace; + breadcrumbs?: Breadcrumb[]; + contexts?: Contexts; + tags?: { + [key: string]: Primitive; + }; + extra?: Extras; + user?: User; + type?: EventType; + spans?: Span[]; + measurements?: Measurements; + debug_meta?: DebugMeta; + sdkProcessingMetadata?: { + [key: string]: any; + }; +} +/** JSDoc */ +export declare type EventType = 'transaction'; +/** JSDoc */ +export interface EventHint { + event_id?: string; + captureContext?: CaptureContext; + syntheticException?: Error | null; + originalException?: Error | string | null; + data?: any; +} +//# sourceMappingURL=event.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/event.d.ts.map b/node_modules/@sentry/types/esm/event.d.ts.map new file mode 100644 index 000000000..70747acdc --- /dev/null +++ b/node_modules/@sentry/types/esm/event.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../src/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,YAAY;AACZ,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE;QACV,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;KACtB,CAAC;IACF,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB,qBAAqB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAChD;AAED,YAAY;AACZ,oBAAY,SAAS,GAAG,aAAa,CAAC;AAEtC,YAAY;AACZ,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,kBAAkB,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAClC,iBAAiB,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;IAC1C,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/event.js b/node_modules/@sentry/types/esm/event.js new file mode 100644 index 000000000..77ea4869a --- /dev/null +++ b/node_modules/@sentry/types/esm/event.js @@ -0,0 +1 @@ +//# sourceMappingURL=event.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/event.js.map b/node_modules/@sentry/types/esm/event.js.map new file mode 100644 index 000000000..f2d25bfc0 --- /dev/null +++ b/node_modules/@sentry/types/esm/event.js.map @@ -0,0 +1 @@ +{"version":3,"file":"event.js","sourceRoot":"","sources":["../src/event.ts"],"names":[],"mappings":"","sourcesContent":["import { Breadcrumb } from './breadcrumb';\nimport { Contexts } from './context';\nimport { DebugMeta } from './debugMeta';\nimport { Exception } from './exception';\nimport { Extras } from './extra';\nimport { Primitive } from './misc';\nimport { Request } from './request';\nimport { CaptureContext } from './scope';\nimport { SdkInfo } from './sdkinfo';\nimport { Severity } from './severity';\nimport { Span } from './span';\nimport { Stacktrace } from './stacktrace';\nimport { Measurements } from './transaction';\nimport { User } from './user';\n\n/** JSDoc */\nexport interface Event {\n event_id?: string;\n message?: string;\n timestamp?: number;\n start_timestamp?: number;\n level?: Severity;\n platform?: string;\n logger?: string;\n server_name?: string;\n release?: string;\n dist?: string;\n environment?: string;\n sdk?: SdkInfo;\n request?: Request;\n transaction?: string;\n modules?: { [key: string]: string };\n fingerprint?: string[];\n exception?: {\n values?: Exception[];\n };\n stacktrace?: Stacktrace;\n breadcrumbs?: Breadcrumb[];\n contexts?: Contexts;\n tags?: { [key: string]: Primitive };\n extra?: Extras;\n user?: User;\n type?: EventType;\n spans?: Span[];\n measurements?: Measurements;\n debug_meta?: DebugMeta;\n // A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get sent to Sentry\n sdkProcessingMetadata?: { [key: string]: any };\n}\n\n/** JSDoc */\nexport type EventType = 'transaction';\n\n/** JSDoc */\nexport interface EventHint {\n event_id?: string;\n captureContext?: CaptureContext;\n syntheticException?: Error | null;\n originalException?: Error | string | null;\n data?: any;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/eventprocessor.d.ts b/node_modules/@sentry/types/esm/eventprocessor.d.ts new file mode 100644 index 000000000..06cfda5e6 --- /dev/null +++ b/node_modules/@sentry/types/esm/eventprocessor.d.ts @@ -0,0 +1,9 @@ +import { Event, EventHint } from './event'; +/** + * Event processors are used to change the event before it will be send. + * We strongly advise to make this function sync. + * Returning a PromiseLike will work just fine, but better be sure that you know what you are doing. + * Event processing will be deferred until your Promise is resolved. + */ +export declare type EventProcessor = (event: Event, hint?: EventHint) => PromiseLike | Event | null; +//# sourceMappingURL=eventprocessor.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/eventprocessor.d.ts.map b/node_modules/@sentry/types/esm/eventprocessor.d.ts.map new file mode 100644 index 000000000..d8f537156 --- /dev/null +++ b/node_modules/@sentry/types/esm/eventprocessor.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"eventprocessor.d.ts","sourceRoot":"","sources":["../src/eventprocessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;GAKG;AACH,oBAAY,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,KAAK,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/eventprocessor.js b/node_modules/@sentry/types/esm/eventprocessor.js new file mode 100644 index 000000000..4a5555e9b --- /dev/null +++ b/node_modules/@sentry/types/esm/eventprocessor.js @@ -0,0 +1 @@ +//# sourceMappingURL=eventprocessor.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/eventprocessor.js.map b/node_modules/@sentry/types/esm/eventprocessor.js.map new file mode 100644 index 000000000..b13cbc648 --- /dev/null +++ b/node_modules/@sentry/types/esm/eventprocessor.js.map @@ -0,0 +1 @@ +{"version":3,"file":"eventprocessor.js","sourceRoot":"","sources":["../src/eventprocessor.ts"],"names":[],"mappings":"","sourcesContent":["import { Event, EventHint } from './event';\n\n/**\n * Event processors are used to change the event before it will be send.\n * We strongly advise to make this function sync.\n * Returning a PromiseLike will work just fine, but better be sure that you know what you are doing.\n * Event processing will be deferred until your Promise is resolved.\n */\nexport type EventProcessor = (event: Event, hint?: EventHint) => PromiseLike | Event | null;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/eventstatus.d.ts b/node_modules/@sentry/types/esm/eventstatus.d.ts new file mode 100644 index 000000000..9b2ea99eb --- /dev/null +++ b/node_modules/@sentry/types/esm/eventstatus.d.ts @@ -0,0 +1,14 @@ +export declare type EventStatus = +/** The status could not be determined. */ +'unknown' +/** The event was skipped due to configuration or callbacks. */ + | 'skipped' +/** The event was sent to Sentry successfully. */ + | 'rate_limit' +/** The client is currently rate limited and will try again later. */ + | 'invalid' +/** The event could not be processed. */ + | 'failed' +/** A server-side error occurred during submission. */ + | 'success'; +//# sourceMappingURL=eventstatus.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/eventstatus.d.ts.map b/node_modules/@sentry/types/esm/eventstatus.d.ts.map new file mode 100644 index 000000000..7d92cfc38 --- /dev/null +++ b/node_modules/@sentry/types/esm/eventstatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"eventstatus.d.ts","sourceRoot":"","sources":["../src/eventstatus.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;AACrB,0CAA0C;AACxC,SAAS;AACX,+DAA+D;GAC7D,SAAS;AACX,iDAAiD;GAC/C,YAAY;AACd,qEAAqE;GACnE,SAAS;AACX,wCAAwC;GACtC,QAAQ;AACV,sDAAsD;GACpD,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/eventstatus.js b/node_modules/@sentry/types/esm/eventstatus.js new file mode 100644 index 000000000..f4d987cca --- /dev/null +++ b/node_modules/@sentry/types/esm/eventstatus.js @@ -0,0 +1 @@ +//# sourceMappingURL=eventstatus.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/eventstatus.js.map b/node_modules/@sentry/types/esm/eventstatus.js.map new file mode 100644 index 000000000..f4f0a8f17 --- /dev/null +++ b/node_modules/@sentry/types/esm/eventstatus.js.map @@ -0,0 +1 @@ +{"version":3,"file":"eventstatus.js","sourceRoot":"","sources":["../src/eventstatus.ts"],"names":[],"mappings":"","sourcesContent":["export type EventStatus =\n /** The status could not be determined. */\n | 'unknown'\n /** The event was skipped due to configuration or callbacks. */\n | 'skipped'\n /** The event was sent to Sentry successfully. */\n | 'rate_limit'\n /** The client is currently rate limited and will try again later. */\n | 'invalid'\n /** The event could not be processed. */\n | 'failed'\n /** A server-side error occurred during submission. */\n | 'success';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/exception.d.ts b/node_modules/@sentry/types/esm/exception.d.ts new file mode 100644 index 000000000..3a16b7f2f --- /dev/null +++ b/node_modules/@sentry/types/esm/exception.d.ts @@ -0,0 +1,12 @@ +import { Mechanism } from './mechanism'; +import { Stacktrace } from './stacktrace'; +/** JSDoc */ +export interface Exception { + type?: string; + value?: string; + mechanism?: Mechanism; + module?: string; + thread_id?: number; + stacktrace?: Stacktrace; +} +//# sourceMappingURL=exception.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/exception.d.ts.map b/node_modules/@sentry/types/esm/exception.d.ts.map new file mode 100644 index 000000000..f6f55c257 --- /dev/null +++ b/node_modules/@sentry/types/esm/exception.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"exception.d.ts","sourceRoot":"","sources":["../src/exception.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY;AACZ,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/exception.js b/node_modules/@sentry/types/esm/exception.js new file mode 100644 index 000000000..9a7caaf84 --- /dev/null +++ b/node_modules/@sentry/types/esm/exception.js @@ -0,0 +1 @@ +//# sourceMappingURL=exception.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/exception.js.map b/node_modules/@sentry/types/esm/exception.js.map new file mode 100644 index 000000000..3ab750e52 --- /dev/null +++ b/node_modules/@sentry/types/esm/exception.js.map @@ -0,0 +1 @@ +{"version":3,"file":"exception.js","sourceRoot":"","sources":["../src/exception.ts"],"names":[],"mappings":"","sourcesContent":["import { Mechanism } from './mechanism';\nimport { Stacktrace } from './stacktrace';\n\n/** JSDoc */\nexport interface Exception {\n type?: string;\n value?: string;\n mechanism?: Mechanism;\n module?: string;\n thread_id?: number;\n stacktrace?: Stacktrace;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/extra.d.ts b/node_modules/@sentry/types/esm/extra.d.ts new file mode 100644 index 000000000..b75a77c11 --- /dev/null +++ b/node_modules/@sentry/types/esm/extra.d.ts @@ -0,0 +1,3 @@ +export declare type Extra = unknown; +export declare type Extras = Record; +//# sourceMappingURL=extra.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/extra.d.ts.map b/node_modules/@sentry/types/esm/extra.d.ts.map new file mode 100644 index 000000000..5bdcf9782 --- /dev/null +++ b/node_modules/@sentry/types/esm/extra.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"extra.d.ts","sourceRoot":"","sources":["../src/extra.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK,GAAG,OAAO,CAAC;AAC5B,oBAAY,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/extra.js b/node_modules/@sentry/types/esm/extra.js new file mode 100644 index 000000000..d57d74fdc --- /dev/null +++ b/node_modules/@sentry/types/esm/extra.js @@ -0,0 +1 @@ +//# sourceMappingURL=extra.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/extra.js.map b/node_modules/@sentry/types/esm/extra.js.map new file mode 100644 index 000000000..7995f68f5 --- /dev/null +++ b/node_modules/@sentry/types/esm/extra.js.map @@ -0,0 +1 @@ +{"version":3,"file":"extra.js","sourceRoot":"","sources":["../src/extra.ts"],"names":[],"mappings":"","sourcesContent":["export type Extra = unknown;\nexport type Extras = Record;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/hub.d.ts b/node_modules/@sentry/types/esm/hub.d.ts new file mode 100644 index 000000000..13f767f80 --- /dev/null +++ b/node_modules/@sentry/types/esm/hub.d.ts @@ -0,0 +1,212 @@ +import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; +import { Client } from './client'; +import { Event, EventHint } from './event'; +import { Extra, Extras } from './extra'; +import { Integration, IntegrationClass } from './integration'; +import { Primitive } from './misc'; +import { Scope } from './scope'; +import { Session, SessionContext } from './session'; +import { Severity } from './severity'; +import { Span, SpanContext } from './span'; +import { CustomSamplingContext, Transaction, TransactionContext } from './transaction'; +import { User } from './user'; +/** + * Internal class used to make sure we always have the latest internal functions + * working in case we have a version conflict. + */ +export interface Hub { + /** + * Checks if this hub's version is older than the given version. + * + * @param version A version number to compare to. + * @return True if the given version is newer; otherwise false. + * + * @hidden + */ + isOlderThan(version: number): boolean; + /** + * This binds the given client to the current scope. + * @param client An SDK client (client) instance. + */ + bindClient(client?: Client): void; + /** + * Create a new scope to store context information. + * + * The scope will be layered on top of the current one. It is isolated, i.e. all + * breadcrumbs and context information added to this scope will be removed once + * the scope ends. Be sure to always remove this scope with {@link this.popScope} + * when the operation finishes or throws. + * + * @returns Scope, the new cloned scope + */ + pushScope(): Scope; + /** + * Removes a previously pushed scope from the stack. + * + * This restores the state before the scope was pushed. All breadcrumbs and + * context information added since the last call to {@link this.pushScope} are + * discarded. + */ + popScope(): boolean; + /** + * Creates a new scope with and executes the given operation within. + * The scope is automatically removed once the operation + * finishes or throws. + * + * This is essentially a convenience function for: + * + * pushScope(); + * callback(); + * popScope(); + * + * @param callback that will be enclosed into push/popScope. + */ + withScope(callback: (scope: Scope) => void): void; + /** Returns the client of the top stack. */ + getClient(): Client | undefined; + /** + * Captures an exception event and sends it to Sentry. + * + * @param exception An exception-like object. + * @param hint May contain additional information about the original exception. + * @returns The generated eventId. + */ + captureException(exception: any, hint?: EventHint): string; + /** + * Captures a message event and sends it to Sentry. + * + * @param message The message to send to Sentry. + * @param level Define the level of the message. + * @param hint May contain additional information about the original exception. + * @returns The generated eventId. + */ + captureMessage(message: string, level?: Severity, hint?: EventHint): string; + /** + * Captures a manually created event and sends it to Sentry. + * + * @param event The event to send to Sentry. + * @param hint May contain additional information about the original exception. + */ + captureEvent(event: Event, hint?: EventHint): string; + /** + * This is the getter for lastEventId. + * + * @returns The last event id of a captured event. + */ + lastEventId(): string | undefined; + /** + * Records a new breadcrumb which will be attached to future events. + * + * Breadcrumbs will be added to subsequent events to provide more context on + * user's actions prior to an error or crash. + * + * @param breadcrumb The breadcrumb to record. + * @param hint May contain additional information about the original breadcrumb. + */ + addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void; + /** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ + setUser(user: User | null): void; + /** + * Set an object that will be merged sent as tags data with the event. + * + * @param tags Tags context object to merge into current context. + */ + setTags(tags: { + [key: string]: Primitive; + }): void; + /** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ + setTag(key: string, value: Primitive): void; + /** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ + setExtra(key: string, extra: Extra): void; + /** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ + setExtras(extras: Extras): void; + /** + * Sets context data with the given name. + * @param name of the context + * @param context Any kind of data. This data will be normalized. + */ + setContext(name: string, context: { + [key: string]: any; + } | null): void; + /** + * Callback to set context information onto the scope. + * + * @param callback Callback function that receives Scope. + */ + configureScope(callback: (scope: Scope) => void): void; + /** + * For the duration of the callback, this hub will be set as the global current Hub. + * This function is useful if you want to run your own client and hook into an already initialized one + * e.g.: Reporting issues to your own sentry when running in your component while still using the users configuration. + */ + run(callback: (hub: Hub) => void): void; + /** Returns the integration if installed on the current client. */ + getIntegration(integration: IntegrationClass): T | null; + /** Returns all trace headers that are currently on the top scope. */ + traceHeaders(): { + [key: string]: string; + }; + /** + * @deprecated No longer does anything. Use use {@link Transaction.startChild} instead. + */ + startSpan(context: SpanContext): Span; + /** + * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation. + * + * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a + * new child span within the transaction or any span, call the respective `.startChild()` method. + * + * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded. + * + * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its + * finished child spans will be sent to Sentry. + * + * @param context Properties of the new `Transaction`. + * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent + * default values). See {@link Options.tracesSampler}. + * + * @returns The transaction which was just started + */ + startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction; + /** + * Starts a new `Session`, sets on the current scope and returns it. + * + * To finish a `session`, it has to be passed directly to `client.captureSession`, which is done automatically + * when using `hub.endSession()` for the session currently stored on the scope. + * + * When there's already an existing session on the scope, it'll be automatically ended. + * + * @param context Optional properties of the new `Session`. + * + * @returns The session which was just started + */ + startSession(context?: SessionContext): Session; + /** + * Ends the session that lives on the current scope and sends it to Sentry + */ + endSession(): void; + /** + * Sends the current session on the scope to Sentry + * @param endSession If set the session will be marked as exited and removed from the scope + */ + captureSession(endSession?: boolean): void; +} +//# sourceMappingURL=hub.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/hub.d.ts.map b/node_modules/@sentry/types/esm/hub.d.ts.map new file mode 100644 index 000000000..be1e77ca3 --- /dev/null +++ b/node_modules/@sentry/types/esm/hub.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hub.d.ts","sourceRoot":"","sources":["../src/hub.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;GAGG;AACH,MAAM,WAAW,GAAG;IAClB;;;;;;;OAOG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IAEtC;;;OAGG;IACH,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;;;;;;;;OASG;IACH,SAAS,IAAI,KAAK,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,IAAI,OAAO,CAAC;IAEpB;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAAC;IAElD,2CAA2C;IAC3C,SAAS,IAAI,MAAM,GAAG,SAAS,CAAC;IAEhC;;;;;;OAMG;IACH,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAE3D;;;;;;;OAOG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAE5E;;;;;OAKG;IACH,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAErD;;;;OAIG;IACH,WAAW,IAAI,MAAM,GAAG,SAAS,CAAC;IAElC;;;;;;;;OAQG;IACH,aAAa,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAEnE;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAEjC;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,IAAI,CAAC;IAElD;;;;;;;OAOG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IAE5C;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAE1C;;;OAGG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;OAIG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,IAAI,CAAC;IAEvE;;;;OAIG;IACH,cAAc,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,IAAI,CAAC;IAEvD;;;;OAIG;IACH,GAAG,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI,CAAC;IAExC,kEAAkE;IAClE,cAAc,CAAC,CAAC,SAAS,WAAW,EAAE,WAAW,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAElF,qEAAqE;IACrE,YAAY,IAAI;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAE1C;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAEtC;;;;;;;;;;;;;;;;OAgBG;IACH,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,CAAC,EAAE,qBAAqB,GAAG,WAAW,CAAC;IAE1G;;;;;;;;;;;OAWG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC;IAEhD;;OAEG;IACH,UAAU,IAAI,IAAI,CAAC;IAEnB;;;OAGG;IACH,cAAc,CAAC,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5C"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/hub.js b/node_modules/@sentry/types/esm/hub.js new file mode 100644 index 000000000..15f7e63be --- /dev/null +++ b/node_modules/@sentry/types/esm/hub.js @@ -0,0 +1 @@ +//# sourceMappingURL=hub.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/hub.js.map b/node_modules/@sentry/types/esm/hub.js.map new file mode 100644 index 000000000..5c48ec41c --- /dev/null +++ b/node_modules/@sentry/types/esm/hub.js.map @@ -0,0 +1 @@ +{"version":3,"file":"hub.js","sourceRoot":"","sources":["../src/hub.ts"],"names":[],"mappings":"","sourcesContent":["import { Breadcrumb, BreadcrumbHint } from './breadcrumb';\nimport { Client } from './client';\nimport { Event, EventHint } from './event';\nimport { Extra, Extras } from './extra';\nimport { Integration, IntegrationClass } from './integration';\nimport { Primitive } from './misc';\nimport { Scope } from './scope';\nimport { Session, SessionContext } from './session';\nimport { Severity } from './severity';\nimport { Span, SpanContext } from './span';\nimport { CustomSamplingContext, Transaction, TransactionContext } from './transaction';\nimport { User } from './user';\n\n/**\n * Internal class used to make sure we always have the latest internal functions\n * working in case we have a version conflict.\n */\nexport interface Hub {\n /**\n * Checks if this hub's version is older than the given version.\n *\n * @param version A version number to compare to.\n * @return True if the given version is newer; otherwise false.\n *\n * @hidden\n */\n isOlderThan(version: number): boolean;\n\n /**\n * This binds the given client to the current scope.\n * @param client An SDK client (client) instance.\n */\n bindClient(client?: Client): void;\n\n /**\n * Create a new scope to store context information.\n *\n * The scope will be layered on top of the current one. It is isolated, i.e. all\n * breadcrumbs and context information added to this scope will be removed once\n * the scope ends. Be sure to always remove this scope with {@link this.popScope}\n * when the operation finishes or throws.\n *\n * @returns Scope, the new cloned scope\n */\n pushScope(): Scope;\n\n /**\n * Removes a previously pushed scope from the stack.\n *\n * This restores the state before the scope was pushed. All breadcrumbs and\n * context information added since the last call to {@link this.pushScope} are\n * discarded.\n */\n popScope(): boolean;\n\n /**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n *\n * @param callback that will be enclosed into push/popScope.\n */\n withScope(callback: (scope: Scope) => void): void;\n\n /** Returns the client of the top stack. */\n getClient(): Client | undefined;\n\n /**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception An exception-like object.\n * @param hint May contain additional information about the original exception.\n * @returns The generated eventId.\n */\n captureException(exception: any, hint?: EventHint): string;\n\n /**\n * Captures a message event and sends it to Sentry.\n *\n * @param message The message to send to Sentry.\n * @param level Define the level of the message.\n * @param hint May contain additional information about the original exception.\n * @returns The generated eventId.\n */\n captureMessage(message: string, level?: Severity, hint?: EventHint): string;\n\n /**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n */\n captureEvent(event: Event, hint?: EventHint): string;\n\n /**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n */\n lastEventId(): string | undefined;\n\n /**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n * @param hint May contain additional information about the original breadcrumb.\n */\n addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void;\n\n /**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\n setUser(user: User | null): void;\n\n /**\n * Set an object that will be merged sent as tags data with the event.\n *\n * @param tags Tags context object to merge into current context.\n */\n setTags(tags: { [key: string]: Primitive }): void;\n\n /**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\n setTag(key: string, value: Primitive): void;\n\n /**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\n setExtra(key: string, extra: Extra): void;\n\n /**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\n setExtras(extras: Extras): void;\n\n /**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n setContext(name: string, context: { [key: string]: any } | null): void;\n\n /**\n * Callback to set context information onto the scope.\n *\n * @param callback Callback function that receives Scope.\n */\n configureScope(callback: (scope: Scope) => void): void;\n\n /**\n * For the duration of the callback, this hub will be set as the global current Hub.\n * This function is useful if you want to run your own client and hook into an already initialized one\n * e.g.: Reporting issues to your own sentry when running in your component while still using the users configuration.\n */\n run(callback: (hub: Hub) => void): void;\n\n /** Returns the integration if installed on the current client. */\n getIntegration(integration: IntegrationClass): T | null;\n\n /** Returns all trace headers that are currently on the top scope. */\n traceHeaders(): { [key: string]: string };\n\n /**\n * @deprecated No longer does anything. Use use {@link Transaction.startChild} instead.\n */\n startSpan(context: SpanContext): Span;\n\n /**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.finish()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n */\n startTransaction(context: TransactionContext, customSamplingContext?: CustomSamplingContext): Transaction;\n\n /**\n * Starts a new `Session`, sets on the current scope and returns it.\n *\n * To finish a `session`, it has to be passed directly to `client.captureSession`, which is done automatically\n * when using `hub.endSession()` for the session currently stored on the scope.\n *\n * When there's already an existing session on the scope, it'll be automatically ended.\n *\n * @param context Optional properties of the new `Session`.\n *\n * @returns The session which was just started\n */\n startSession(context?: SessionContext): Session;\n\n /**\n * Ends the session that lives on the current scope and sends it to Sentry\n */\n endSession(): void;\n\n /**\n * Sends the current session on the scope to Sentry\n * @param endSession If set the session will be marked as exited and removed from the scope\n */\n captureSession(endSession?: boolean): void;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/index.d.ts b/node_modules/@sentry/types/esm/index.d.ts new file mode 100644 index 000000000..731490ee3 --- /dev/null +++ b/node_modules/@sentry/types/esm/index.d.ts @@ -0,0 +1,36 @@ +export { Breadcrumb, BreadcrumbHint } from './breadcrumb'; +export { Client } from './client'; +export { Context, Contexts } from './context'; +export { DsnComponents, DsnLike, DsnProtocol } from './dsn'; +export { DebugImage, DebugImageType, DebugMeta } from './debugMeta'; +export { ClientReportEnvelope, ClientReportEnvelopeItem, Envelope, EventEnvelope, EventEnvelopeItem, SessionEnvelope, SessionEnvelopeItem, } from './envelope'; +export { ExtendedError } from './error'; +export { Event, EventHint } from './event'; +export { EventStatus } from './eventstatus'; +export { EventProcessor } from './eventprocessor'; +export { Exception } from './exception'; +export { Extra, Extras } from './extra'; +export { Hub } from './hub'; +export { Integration, IntegrationClass } from './integration'; +export { Mechanism } from './mechanism'; +export { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc'; +export { Options } from './options'; +export { Package } from './package'; +export { QueryParams, Request, SentryRequest, SentryRequestType } from './request'; +export { Response } from './response'; +export { Runtime } from './runtime'; +export { CaptureContext, Scope, ScopeContext } from './scope'; +export { SdkInfo } from './sdkinfo'; +export { SdkMetadata } from './sdkmetadata'; +export { SessionAggregates, AggregationCounts, Session, SessionContext, SessionStatus, RequestSession, RequestSessionStatus, SessionFlusherLike, } from './session'; +export { Severity } from './severity'; +export { SeverityLevel, SeverityLevels } from './severity'; +export { Span, SpanContext } from './span'; +export { StackFrame } from './stackframe'; +export { Stacktrace } from './stacktrace'; +export { CustomSamplingContext, Measurements, SamplingContext, TraceparentData, Transaction, TransactionContext, TransactionMetadata, TransactionSamplingMethod, } from './transaction'; +export { Thread } from './thread'; +export { Outcome, Transport, TransportOptions, TransportClass } from './transport'; +export { User } from './user'; +export { WrappedFunction } from './wrappedfunction'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/index.d.ts.map b/node_modules/@sentry/types/esm/index.d.ts.map new file mode 100644 index 000000000..5be222dc3 --- /dev/null +++ b/node_modules/@sentry/types/esm/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,QAAQ,EACR,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,mBAAmB,GACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,wBAAwB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/index.js b/node_modules/@sentry/types/esm/index.js new file mode 100644 index 000000000..ad7c69bc8 --- /dev/null +++ b/node_modules/@sentry/types/esm/index.js @@ -0,0 +1,3 @@ +export { Severity } from './severity'; +export { SeverityLevels } from './severity'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/index.js.map b/node_modules/@sentry/types/esm/index.js.map new file mode 100644 index 000000000..c6f4c7480 --- /dev/null +++ b/node_modules/@sentry/types/esm/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA2CA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAiB,cAAc,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { Breadcrumb, BreadcrumbHint } from './breadcrumb';\nexport { Client } from './client';\nexport { Context, Contexts } from './context';\nexport { DsnComponents, DsnLike, DsnProtocol } from './dsn';\nexport { DebugImage, DebugImageType, DebugMeta } from './debugMeta';\nexport {\n ClientReportEnvelope,\n ClientReportEnvelopeItem,\n Envelope,\n EventEnvelope,\n EventEnvelopeItem,\n SessionEnvelope,\n SessionEnvelopeItem,\n} from './envelope';\nexport { ExtendedError } from './error';\nexport { Event, EventHint } from './event';\nexport { EventStatus } from './eventstatus';\nexport { EventProcessor } from './eventprocessor';\nexport { Exception } from './exception';\nexport { Extra, Extras } from './extra';\nexport { Hub } from './hub';\nexport { Integration, IntegrationClass } from './integration';\nexport { Mechanism } from './mechanism';\nexport { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc';\nexport { Options } from './options';\nexport { Package } from './package';\nexport { QueryParams, Request, SentryRequest, SentryRequestType } from './request';\nexport { Response } from './response';\nexport { Runtime } from './runtime';\nexport { CaptureContext, Scope, ScopeContext } from './scope';\nexport { SdkInfo } from './sdkinfo';\nexport { SdkMetadata } from './sdkmetadata';\nexport {\n SessionAggregates,\n AggregationCounts,\n Session,\n SessionContext,\n SessionStatus,\n RequestSession,\n RequestSessionStatus,\n SessionFlusherLike,\n} from './session';\n\nexport { Severity } from './severity';\nexport { SeverityLevel, SeverityLevels } from './severity';\nexport { Span, SpanContext } from './span';\nexport { StackFrame } from './stackframe';\nexport { Stacktrace } from './stacktrace';\nexport {\n CustomSamplingContext,\n Measurements,\n SamplingContext,\n TraceparentData,\n Transaction,\n TransactionContext,\n TransactionMetadata,\n TransactionSamplingMethod,\n} from './transaction';\nexport { Thread } from './thread';\nexport { Outcome, Transport, TransportOptions, TransportClass } from './transport';\nexport { User } from './user';\nexport { WrappedFunction } from './wrappedfunction';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/integration.d.ts b/node_modules/@sentry/types/esm/integration.d.ts new file mode 100644 index 000000000..cb8a9c9a9 --- /dev/null +++ b/node_modules/@sentry/types/esm/integration.d.ts @@ -0,0 +1,23 @@ +import { EventProcessor } from './eventprocessor'; +import { Hub } from './hub'; +/** Integration Class Interface */ +export interface IntegrationClass { + /** + * Property that holds the integration name + */ + id: string; + new (...args: any[]): T; +} +/** Integration interface */ +export interface Integration { + /** + * Returns {@link IntegrationClass.id} + */ + name: string; + /** + * Sets the integration up only once. + * This takes no options on purpose, options should be passed in the constructor + */ + setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void; +} +//# sourceMappingURL=integration.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/integration.d.ts.map b/node_modules/@sentry/types/esm/integration.d.ts.map new file mode 100644 index 000000000..7240d9823 --- /dev/null +++ b/node_modules/@sentry/types/esm/integration.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../src/integration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,kCAAkC;AAClC,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CACzB;AAED,4BAA4B;AAC5B,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,SAAS,CAAC,uBAAuB,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,EAAE,aAAa,EAAE,MAAM,GAAG,GAAG,IAAI,CAAC;CACxG"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/integration.js b/node_modules/@sentry/types/esm/integration.js new file mode 100644 index 000000000..2a8db859e --- /dev/null +++ b/node_modules/@sentry/types/esm/integration.js @@ -0,0 +1 @@ +//# sourceMappingURL=integration.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/integration.js.map b/node_modules/@sentry/types/esm/integration.js.map new file mode 100644 index 000000000..1415d12df --- /dev/null +++ b/node_modules/@sentry/types/esm/integration.js.map @@ -0,0 +1 @@ +{"version":3,"file":"integration.js","sourceRoot":"","sources":["../src/integration.ts"],"names":[],"mappings":"","sourcesContent":["import { EventProcessor } from './eventprocessor';\nimport { Hub } from './hub';\n\n/** Integration Class Interface */\nexport interface IntegrationClass {\n /**\n * Property that holds the integration name\n */\n id: string;\n\n new (...args: any[]): T;\n}\n\n/** Integration interface */\nexport interface Integration {\n /**\n * Returns {@link IntegrationClass.id}\n */\n name: string;\n\n /**\n * Sets the integration up only once.\n * This takes no options on purpose, options should be passed in the constructor\n */\n setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/mechanism.d.ts b/node_modules/@sentry/types/esm/mechanism.d.ts new file mode 100644 index 000000000..c592d688e --- /dev/null +++ b/node_modules/@sentry/types/esm/mechanism.d.ts @@ -0,0 +1,30 @@ +/** + * Metadata about a captured exception, intended to provide a hint as to the means by which it was captured. + */ +export interface Mechanism { + /** + * For now, restricted to `onerror`, `onunhandledrejection` (both obvious), `instrument` (the result of + * auto-instrumentation), and `generic` (everything else). Converted to a tag on ingest. + */ + type: string; + /** + * In theory, whether or not the exception has been handled by the user. In practice, whether or not we see it before + * it hits the global error/rejection handlers, whether through explicit handling by the user or auto instrumentation. + * Converted to a tag on ingest and used in various ways in the UI. + */ + handled: boolean; + /** + * Arbitrary data to be associated with the mechanism (for example, errors coming from event handlers include the + * handler name and the event target. Will show up in the UI directly above the stacktrace. + */ + data?: { + [key: string]: string | boolean; + }; + /** + * True when `captureException` is called with anything other than an instance of `Error` (or, in the case of browser, + * an instance of `ErrorEvent`, `DOMError`, or `DOMException`). causing us to create a synthetic error in an attempt + * to recreate the stacktrace. + */ + synthetic?: boolean; +} +//# sourceMappingURL=mechanism.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/mechanism.d.ts.map b/node_modules/@sentry/types/esm/mechanism.d.ts.map new file mode 100644 index 000000000..c343a14e7 --- /dev/null +++ b/node_modules/@sentry/types/esm/mechanism.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"mechanism.d.ts","sourceRoot":"","sources":["../src/mechanism.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;KACjC,CAAC;IAEF;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/mechanism.js b/node_modules/@sentry/types/esm/mechanism.js new file mode 100644 index 000000000..4f59563c8 --- /dev/null +++ b/node_modules/@sentry/types/esm/mechanism.js @@ -0,0 +1 @@ +//# sourceMappingURL=mechanism.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/mechanism.js.map b/node_modules/@sentry/types/esm/mechanism.js.map new file mode 100644 index 000000000..db10a74db --- /dev/null +++ b/node_modules/@sentry/types/esm/mechanism.js.map @@ -0,0 +1 @@ +{"version":3,"file":"mechanism.js","sourceRoot":"","sources":["../src/mechanism.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Metadata about a captured exception, intended to provide a hint as to the means by which it was captured.\n */\nexport interface Mechanism {\n /**\n * For now, restricted to `onerror`, `onunhandledrejection` (both obvious), `instrument` (the result of\n * auto-instrumentation), and `generic` (everything else). Converted to a tag on ingest.\n */\n type: string;\n\n /**\n * In theory, whether or not the exception has been handled by the user. In practice, whether or not we see it before\n * it hits the global error/rejection handlers, whether through explicit handling by the user or auto instrumentation.\n * Converted to a tag on ingest and used in various ways in the UI.\n */\n handled: boolean;\n\n /**\n * Arbitrary data to be associated with the mechanism (for example, errors coming from event handlers include the\n * handler name and the event target. Will show up in the UI directly above the stacktrace.\n */\n data?: {\n [key: string]: string | boolean;\n };\n\n /**\n * True when `captureException` is called with anything other than an instance of `Error` (or, in the case of browser,\n * an instance of `ErrorEvent`, `DOMError`, or `DOMException`). causing us to create a synthetic error in an attempt\n * to recreate the stacktrace.\n */\n synthetic?: boolean;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/misc.d.ts b/node_modules/@sentry/types/esm/misc.d.ts new file mode 100644 index 000000000..3e1628248 --- /dev/null +++ b/node_modules/@sentry/types/esm/misc.d.ts @@ -0,0 +1,52 @@ +import { QueryParams } from './request'; +/** + * Data extracted from an incoming request to a node server + */ +export interface ExtractedNodeRequestData { + [key: string]: any; + /** Specific headers from the request */ + headers?: { + [key: string]: string; + }; + /** The request's method */ + method?: string; + /** The request's URL, including query string */ + url?: string; + /** String representing the cookies sent along with the request */ + cookies?: { + [key: string]: string; + }; + /** The request's query params */ + query_string?: QueryParams; + /** Any data sent in the request's body, as a JSON string */ + data?: string; +} +/** + * Location object on a service worker's `self` object. + * + * See https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation. + */ +export interface WorkerLocation { + /** The protocol scheme of the URL of the script executed in the Worker, including the final ':'. */ + readonly protocol: string; + /** The host, that is the hostname, a ':', and the port of the URL of the script executed in the Worker. */ + readonly host: string; + /** The domain of the URL of the script executed in the Worker. */ + readonly hostname: string; + /** The canonical form of the origin of the specific location. */ + readonly origin: string; + /** The port number of the URL of the script executed in the Worker. */ + readonly port: string; + /** The path of the URL of the script executed in the Worker, beginning with a '/'. */ + readonly pathname: string; + /** The parameters (query string) of the URL of the script executed in the Worker, beginning with a '?'. */ + readonly search: string; + /** The fragment identifier of the URL of the script executed in the Worker, beginning with a '#'. */ + readonly hash: string; + /** Stringifier that returns the whole URL of the script executed in the Worker. */ + readonly href: string; + /** Synonym for `href` attribute */ + toString(): string; +} +export declare type Primitive = number | string | boolean | bigint | symbol | null | undefined; +//# sourceMappingURL=misc.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/misc.d.ts.map b/node_modules/@sentry/types/esm/misc.d.ts.map new file mode 100644 index 000000000..8156cdb42 --- /dev/null +++ b/node_modules/@sentry/types/esm/misc.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IAEnB,wCAAwC;IACxC,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEpC,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,gDAAgD;IAChD,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,kEAAkE;IAClE,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEpC,iCAAiC;IACjC,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B,4DAA4D;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,oGAAoG;IACpG,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,2GAA2G;IAC3G,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,kEAAkE;IAClE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,iEAAiE;IACjE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,uEAAuE;IACvE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,sFAAsF;IACtF,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,2GAA2G;IAC3G,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,qGAAqG;IACrG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,mFAAmF;IACnF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,mCAAmC;IACnC,QAAQ,IAAI,MAAM,CAAC;CACpB;AAED,oBAAY,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/misc.js b/node_modules/@sentry/types/esm/misc.js new file mode 100644 index 000000000..74db883ae --- /dev/null +++ b/node_modules/@sentry/types/esm/misc.js @@ -0,0 +1 @@ +//# sourceMappingURL=misc.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/misc.js.map b/node_modules/@sentry/types/esm/misc.js.map new file mode 100644 index 000000000..7e4ca1444 --- /dev/null +++ b/node_modules/@sentry/types/esm/misc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"misc.js","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":"","sourcesContent":["import { QueryParams } from './request';\n\n/**\n * Data extracted from an incoming request to a node server\n */\nexport interface ExtractedNodeRequestData {\n [key: string]: any;\n\n /** Specific headers from the request */\n headers?: { [key: string]: string };\n\n /** The request's method */\n method?: string;\n\n /** The request's URL, including query string */\n url?: string;\n\n /** String representing the cookies sent along with the request */\n cookies?: { [key: string]: string };\n\n /** The request's query params */\n query_string?: QueryParams;\n\n /** Any data sent in the request's body, as a JSON string */\n data?: string;\n}\n\n/**\n * Location object on a service worker's `self` object.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/WorkerLocation.\n */\nexport interface WorkerLocation {\n /** The protocol scheme of the URL of the script executed in the Worker, including the final ':'. */\n readonly protocol: string;\n\n /** The host, that is the hostname, a ':', and the port of the URL of the script executed in the Worker. */\n readonly host: string;\n\n /** The domain of the URL of the script executed in the Worker. */\n readonly hostname: string;\n\n /** The canonical form of the origin of the specific location. */\n readonly origin: string;\n\n /** The port number of the URL of the script executed in the Worker. */\n readonly port: string;\n\n /** The path of the URL of the script executed in the Worker, beginning with a '/'. */\n readonly pathname: string;\n\n /** The parameters (query string) of the URL of the script executed in the Worker, beginning with a '?'. */\n readonly search: string;\n\n /** The fragment identifier of the URL of the script executed in the Worker, beginning with a '#'. */\n readonly hash: string;\n\n /** Stringifier that returns the whole URL of the script executed in the Worker. */\n readonly href: string;\n\n /** Synonym for `href` attribute */\n toString(): string;\n}\n\nexport type Primitive = number | string | boolean | bigint | symbol | null | undefined;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/options.d.ts b/node_modules/@sentry/types/esm/options.d.ts new file mode 100644 index 000000000..f6aa59c2f --- /dev/null +++ b/node_modules/@sentry/types/esm/options.d.ts @@ -0,0 +1,168 @@ +import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; +import { Event, EventHint } from './event'; +import { Integration } from './integration'; +import { CaptureContext } from './scope'; +import { SdkMetadata } from './sdkmetadata'; +import { SamplingContext } from './transaction'; +import { Transport, TransportClass, TransportOptions } from './transport'; +/** Base configuration options for every SDK. */ +export interface Options { + /** + * Enable debug functionality in the SDK itself + */ + debug?: boolean; + /** + * Specifies whether this SDK should send events to Sentry. + * Defaults to true. + */ + enabled?: boolean; + /** + * The Dsn used to connect to Sentry and identify the project. If omitted, the + * SDK will not send any data to Sentry. + */ + dsn?: string; + /** + * If this is set to false, default integrations will not be added, otherwise this will internally be set to the + * recommended default integrations. + * TODO: We should consider changing this to `boolean | Integration[]` + */ + defaultIntegrations?: false | Integration[]; + /** + * List of integrations that should be installed after SDK was initialized. + * Accepts either a list of integrations or a function that receives + * default integrations and returns a new, updated list. + */ + integrations?: Integration[] | ((integrations: Integration[]) => Integration[]); + /** + * A pattern for error messages which should not be sent to Sentry. + * By default, all errors will be sent. + */ + ignoreErrors?: Array; + /** + * Transport object that should be used to send events to Sentry + */ + transport?: TransportClass; + /** + * Options for the default transport that the SDK uses. + */ + transportOptions?: TransportOptions; + /** + * A URL to an envelope tunnel endpoint. An envelope tunnel is an HTTP endpoint + * that accepts Sentry envelopes for forwarding. This can be used to force data + * through a custom server independent of the type of data. + */ + tunnel?: string; + /** + * The release identifier used when uploading respective source maps. Specify + * this value to allow Sentry to resolve the correct source maps when + * processing events. + */ + release?: string; + /** The current environment of your application (e.g. "production"). */ + environment?: string; + /** Sets the distribution for all events */ + dist?: string; + /** + * The maximum number of breadcrumbs sent with events. Defaults to 100. + * Values over 100 will be ignored and 100 used instead. + */ + maxBreadcrumbs?: number; + /** A global sample rate to apply to all events (0 - 1). */ + sampleRate?: number; + /** Attaches stacktraces to pure capture message / log integrations */ + attachStacktrace?: boolean; + /** Maxium number of chars a single value can have before it will be truncated. */ + maxValueLength?: number; + /** + * Maximum number of levels that normalization algorithm will traverse in objects and arrays. + * Used when normalizing an event before sending, on all of the listed attributes: + * - `breadcrumbs.data` + * - `user` + * - `contexts` + * - `extra` + * Defaults to `3`. Set to `0` to disable. + */ + normalizeDepth?: number; + /** + * Controls how many milliseconds to wait before shutting down. The default is + * SDK-specific but typically around 2 seconds. Setting this too low can cause + * problems for sending events from command line applications. Setting it too + * high can cause the application to block for users with network connectivity + * problems. + */ + shutdownTimeout?: number; + /** + * Sample rate to determine trace sampling. + * + * 0.0 = 0% chance of a given trace being sent (send no traces) 1.0 = 100% chance of a given trace being sent (send + * all traces) + * + * Tracing is enabled if either this or `tracesSampler` is defined. If both are defined, `tracesSampleRate` is + * ignored. + */ + tracesSampleRate?: number; + /** + * A flag enabling Sessions Tracking feature. + * By default, Sessions Tracking is enabled. + */ + autoSessionTracking?: boolean; + /** + * Send SDK Client Reports. + * By default, Client Reports are enabled. + */ + sendClientReports?: boolean; + /** + * Initial data to populate scope. + */ + initialScope?: CaptureContext; + /** + * Set of metadata about the SDK that can be internally used to enhance envelopes and events, + * and provide additional data about every request. + * */ + _metadata?: SdkMetadata; + /** + * Options which are in beta, or otherwise not guaranteed to be stable. + */ + _experiments?: { + [key: string]: any; + }; + /** + * Function to compute tracing sample rate dynamically and filter unwanted traces. + * + * Tracing is enabled if either this or `tracesSampleRate` is defined. If both are defined, `tracesSampleRate` is + * ignored. + * + * Will automatically be passed a context object of default and optional custom data. See + * {@link Transaction.samplingContext} and {@link Hub.startTransaction}. + * + * @returns A sample rate between 0 and 1 (0 drops the trace, 1 guarantees it will be sent). Returning `true` is + * equivalent to returning 1 and returning `false` is equivalent to returning 0. + */ + tracesSampler?: (samplingContext: SamplingContext) => number | boolean; + /** + * A callback invoked during event submission, allowing to optionally modify + * the event before it is sent to Sentry. + * + * Note that you must return a valid event from this callback. If you do not + * wish to modify the event, simply return it at the end. + * Returning null will cause the event to be dropped. + * + * @param event The error or message event generated by the SDK. + * @param hint May contain additional information about the original exception. + * @returns A new event that will be sent | null. + */ + beforeSend?: (event: Event, hint?: EventHint) => PromiseLike | Event | null; + /** + * A callback invoked when adding a breadcrumb, allowing to optionally modify + * it before adding it to future events. + * + * Note that you must return a valid breadcrumb from this callback. If you do + * not wish to modify the breadcrumb, simply return it at the end. + * Returning null will cause the breadcrumb to be dropped. + * + * @param breadcrumb The breadcrumb as created by the SDK. + * @returns The breadcrumb that will be added | null. + */ + beforeBreadcrumb?: (breadcrumb: Breadcrumb, hint?: BreadcrumbHint) => Breadcrumb | null; +} +//# sourceMappingURL=options.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/options.d.ts.map b/node_modules/@sentry/types/esm/options.d.ts.map new file mode 100644 index 000000000..cd2a83cae --- /dev/null +++ b/node_modules/@sentry/types/esm/options.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE1E,gDAAgD;AAChD,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,GAAG,WAAW,EAAE,CAAC;IAE5C;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,GAAG,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,CAAC,CAAC;IAEhF;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IAEtC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC;IAE9B;;;SAGK;IACL,SAAS,CAAC,EAAE,WAAW,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IAEF;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,EAAE,CAAC,eAAe,EAAE,eAAe,KAAK,MAAM,GAAG,OAAO,CAAC;IAEvE;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,SAAS,KAAK,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC;IAE1F;;;;;;;;;;OAUG;IACH,gBAAgB,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,cAAc,KAAK,UAAU,GAAG,IAAI,CAAC;CACzF"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/options.js b/node_modules/@sentry/types/esm/options.js new file mode 100644 index 000000000..0d3d56a9d --- /dev/null +++ b/node_modules/@sentry/types/esm/options.js @@ -0,0 +1 @@ +//# sourceMappingURL=options.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/options.js.map b/node_modules/@sentry/types/esm/options.js.map new file mode 100644 index 000000000..fd017d792 --- /dev/null +++ b/node_modules/@sentry/types/esm/options.js.map @@ -0,0 +1 @@ +{"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"","sourcesContent":["import { Breadcrumb, BreadcrumbHint } from './breadcrumb';\nimport { Event, EventHint } from './event';\nimport { Integration } from './integration';\nimport { CaptureContext } from './scope';\nimport { SdkMetadata } from './sdkmetadata';\nimport { SamplingContext } from './transaction';\nimport { Transport, TransportClass, TransportOptions } from './transport';\n\n/** Base configuration options for every SDK. */\nexport interface Options {\n /**\n * Enable debug functionality in the SDK itself\n */\n debug?: boolean;\n\n /**\n * Specifies whether this SDK should send events to Sentry.\n * Defaults to true.\n */\n enabled?: boolean;\n\n /**\n * The Dsn used to connect to Sentry and identify the project. If omitted, the\n * SDK will not send any data to Sentry.\n */\n dsn?: string;\n\n /**\n * If this is set to false, default integrations will not be added, otherwise this will internally be set to the\n * recommended default integrations.\n * TODO: We should consider changing this to `boolean | Integration[]`\n */\n defaultIntegrations?: false | Integration[];\n\n /**\n * List of integrations that should be installed after SDK was initialized.\n * Accepts either a list of integrations or a function that receives\n * default integrations and returns a new, updated list.\n */\n integrations?: Integration[] | ((integrations: Integration[]) => Integration[]);\n\n /**\n * A pattern for error messages which should not be sent to Sentry.\n * By default, all errors will be sent.\n */\n ignoreErrors?: Array;\n\n /**\n * Transport object that should be used to send events to Sentry\n */\n transport?: TransportClass;\n\n /**\n * Options for the default transport that the SDK uses.\n */\n transportOptions?: TransportOptions;\n\n /**\n * A URL to an envelope tunnel endpoint. An envelope tunnel is an HTTP endpoint\n * that accepts Sentry envelopes for forwarding. This can be used to force data\n * through a custom server independent of the type of data.\n */\n tunnel?: string;\n\n /**\n * The release identifier used when uploading respective source maps. Specify\n * this value to allow Sentry to resolve the correct source maps when\n * processing events.\n */\n release?: string;\n\n /** The current environment of your application (e.g. \"production\"). */\n environment?: string;\n\n /** Sets the distribution for all events */\n dist?: string;\n\n /**\n * The maximum number of breadcrumbs sent with events. Defaults to 100.\n * Values over 100 will be ignored and 100 used instead.\n */\n maxBreadcrumbs?: number;\n\n /** A global sample rate to apply to all events (0 - 1). */\n sampleRate?: number;\n\n /** Attaches stacktraces to pure capture message / log integrations */\n attachStacktrace?: boolean;\n\n /** Maxium number of chars a single value can have before it will be truncated. */\n maxValueLength?: number;\n\n /**\n * Maximum number of levels that normalization algorithm will traverse in objects and arrays.\n * Used when normalizing an event before sending, on all of the listed attributes:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * Defaults to `3`. Set to `0` to disable.\n */\n normalizeDepth?: number;\n\n /**\n * Controls how many milliseconds to wait before shutting down. The default is\n * SDK-specific but typically around 2 seconds. Setting this too low can cause\n * problems for sending events from command line applications. Setting it too\n * high can cause the application to block for users with network connectivity\n * problems.\n */\n shutdownTimeout?: number;\n\n /**\n * Sample rate to determine trace sampling.\n *\n * 0.0 = 0% chance of a given trace being sent (send no traces) 1.0 = 100% chance of a given trace being sent (send\n * all traces)\n *\n * Tracing is enabled if either this or `tracesSampler` is defined. If both are defined, `tracesSampleRate` is\n * ignored.\n */\n tracesSampleRate?: number;\n\n /**\n * A flag enabling Sessions Tracking feature.\n * By default, Sessions Tracking is enabled.\n */\n autoSessionTracking?: boolean;\n\n /**\n * Send SDK Client Reports.\n * By default, Client Reports are enabled.\n */\n sendClientReports?: boolean;\n\n /**\n * Initial data to populate scope.\n */\n initialScope?: CaptureContext;\n\n /**\n * Set of metadata about the SDK that can be internally used to enhance envelopes and events,\n * and provide additional data about every request.\n * */\n _metadata?: SdkMetadata;\n\n /**\n * Options which are in beta, or otherwise not guaranteed to be stable.\n */\n _experiments?: {\n [key: string]: any;\n };\n\n /**\n * Function to compute tracing sample rate dynamically and filter unwanted traces.\n *\n * Tracing is enabled if either this or `tracesSampleRate` is defined. If both are defined, `tracesSampleRate` is\n * ignored.\n *\n * Will automatically be passed a context object of default and optional custom data. See\n * {@link Transaction.samplingContext} and {@link Hub.startTransaction}.\n *\n * @returns A sample rate between 0 and 1 (0 drops the trace, 1 guarantees it will be sent). Returning `true` is\n * equivalent to returning 1 and returning `false` is equivalent to returning 0.\n */\n tracesSampler?: (samplingContext: SamplingContext) => number | boolean;\n\n /**\n * A callback invoked during event submission, allowing to optionally modify\n * the event before it is sent to Sentry.\n *\n * Note that you must return a valid event from this callback. If you do not\n * wish to modify the event, simply return it at the end.\n * Returning null will cause the event to be dropped.\n *\n * @param event The error or message event generated by the SDK.\n * @param hint May contain additional information about the original exception.\n * @returns A new event that will be sent | null.\n */\n beforeSend?: (event: Event, hint?: EventHint) => PromiseLike | Event | null;\n\n /**\n * A callback invoked when adding a breadcrumb, allowing to optionally modify\n * it before adding it to future events.\n *\n * Note that you must return a valid breadcrumb from this callback. If you do\n * not wish to modify the breadcrumb, simply return it at the end.\n * Returning null will cause the breadcrumb to be dropped.\n *\n * @param breadcrumb The breadcrumb as created by the SDK.\n * @returns The breadcrumb that will be added | null.\n */\n beforeBreadcrumb?: (breadcrumb: Breadcrumb, hint?: BreadcrumbHint) => Breadcrumb | null;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/package.d.ts b/node_modules/@sentry/types/esm/package.d.ts new file mode 100644 index 000000000..80d9d0bb6 --- /dev/null +++ b/node_modules/@sentry/types/esm/package.d.ts @@ -0,0 +1,6 @@ +/** JSDoc */ +export interface Package { + name: string; + version: string; +} +//# sourceMappingURL=package.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/package.d.ts.map b/node_modules/@sentry/types/esm/package.d.ts.map new file mode 100644 index 000000000..bd6b6d25c --- /dev/null +++ b/node_modules/@sentry/types/esm/package.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../src/package.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/package.js b/node_modules/@sentry/types/esm/package.js new file mode 100644 index 000000000..690786ef1 --- /dev/null +++ b/node_modules/@sentry/types/esm/package.js @@ -0,0 +1 @@ +//# sourceMappingURL=package.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/package.js.map b/node_modules/@sentry/types/esm/package.js.map new file mode 100644 index 000000000..7a5faeef6 --- /dev/null +++ b/node_modules/@sentry/types/esm/package.js.map @@ -0,0 +1 @@ +{"version":3,"file":"package.js","sourceRoot":"","sources":["../src/package.ts"],"names":[],"mappings":"","sourcesContent":["/** JSDoc */\nexport interface Package {\n name: string;\n version: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/request.d.ts b/node_modules/@sentry/types/esm/request.d.ts new file mode 100644 index 000000000..09b4f2a45 --- /dev/null +++ b/node_modules/@sentry/types/esm/request.d.ts @@ -0,0 +1,28 @@ +/** Possible SentryRequest types that can be used to make a distinction between Sentry features */ +export declare type SentryRequestType = 'event' | 'transaction' | 'session' | 'attachment'; +/** A generic client request. */ +export interface SentryRequest { + body: string; + type: SentryRequestType; + url: string; +} +/** Request data included in an event as sent to Sentry */ +export interface Request { + url?: string; + method?: string; + data?: any; + query_string?: QueryParams; + cookies?: { + [key: string]: string; + }; + env?: { + [key: string]: string; + }; + headers?: { + [key: string]: string; + }; +} +export declare type QueryParams = string | { + [key: string]: string; +} | Array<[string, string]>; +//# sourceMappingURL=request.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/request.d.ts.map b/node_modules/@sentry/types/esm/request.d.ts.map new file mode 100644 index 000000000..42a74e27c --- /dev/null +++ b/node_modules/@sentry/types/esm/request.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAElG,oBAAY,iBAAiB,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,GAAG,YAAY,CAAC;AAEnF,gCAAgC;AAChC,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,0DAA0D;AAC1D,MAAM,WAAW,OAAO;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACpC,GAAG,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAChC,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrC;AAED,oBAAY,WAAW,GAAG,MAAM,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/request.js b/node_modules/@sentry/types/esm/request.js new file mode 100644 index 000000000..8737d4f51 --- /dev/null +++ b/node_modules/@sentry/types/esm/request.js @@ -0,0 +1 @@ +//# sourceMappingURL=request.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/request.js.map b/node_modules/@sentry/types/esm/request.js.map new file mode 100644 index 000000000..19cd8794f --- /dev/null +++ b/node_modules/@sentry/types/esm/request.js.map @@ -0,0 +1 @@ +{"version":3,"file":"request.js","sourceRoot":"","sources":["../src/request.ts"],"names":[],"mappings":"","sourcesContent":["/** Possible SentryRequest types that can be used to make a distinction between Sentry features */\n// NOTE(kamil): It would be nice if we make it a valid enum instead\nexport type SentryRequestType = 'event' | 'transaction' | 'session' | 'attachment';\n\n/** A generic client request. */\nexport interface SentryRequest {\n body: string;\n type: SentryRequestType;\n url: string;\n}\n\n/** Request data included in an event as sent to Sentry */\nexport interface Request {\n url?: string;\n method?: string;\n data?: any;\n query_string?: QueryParams;\n cookies?: { [key: string]: string };\n env?: { [key: string]: string };\n headers?: { [key: string]: string };\n}\n\nexport type QueryParams = string | { [key: string]: string } | Array<[string, string]>;\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/requestsessionstatus.d.ts b/node_modules/@sentry/types/esm/requestsessionstatus.d.ts new file mode 100644 index 000000000..34a6b4efc --- /dev/null +++ b/node_modules/@sentry/types/esm/requestsessionstatus.d.ts @@ -0,0 +1,12 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to RequestSessionStatus type + */ +export declare enum RequestSessionStatus { + /** JSDoc */ + Ok = "ok", + /** JSDoc */ + Errored = "errored", + /** JSDoc */ + Crashed = "crashed" +} +//# sourceMappingURL=requestsessionstatus.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/requestsessionstatus.d.ts.map b/node_modules/@sentry/types/esm/requestsessionstatus.d.ts.map new file mode 100644 index 000000000..6a2439506 --- /dev/null +++ b/node_modules/@sentry/types/esm/requestsessionstatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"requestsessionstatus.d.ts","sourceRoot":"","sources":["../src/requestsessionstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,YAAY;IACZ,EAAE,OAAO;IACT,YAAY;IACZ,OAAO,YAAY;IACnB,YAAY;IACZ,OAAO,YAAY;CACpB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/requestsessionstatus.js b/node_modules/@sentry/types/esm/requestsessionstatus.js new file mode 100644 index 000000000..47abf2b40 --- /dev/null +++ b/node_modules/@sentry/types/esm/requestsessionstatus.js @@ -0,0 +1,13 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to RequestSessionStatus type + */ +export var RequestSessionStatus; +(function (RequestSessionStatus) { + /** JSDoc */ + RequestSessionStatus["Ok"] = "ok"; + /** JSDoc */ + RequestSessionStatus["Errored"] = "errored"; + /** JSDoc */ + RequestSessionStatus["Crashed"] = "crashed"; +})(RequestSessionStatus || (RequestSessionStatus = {})); +//# sourceMappingURL=requestsessionstatus.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/requestsessionstatus.js.map b/node_modules/@sentry/types/esm/requestsessionstatus.js.map new file mode 100644 index 000000000..8fe63184a --- /dev/null +++ b/node_modules/@sentry/types/esm/requestsessionstatus.js.map @@ -0,0 +1 @@ +{"version":3,"file":"requestsessionstatus.js","sourceRoot":"","sources":["../src/requestsessionstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,YAAY;IACZ,iCAAS,CAAA;IACT,YAAY;IACZ,2CAAmB,CAAA;IACnB,YAAY;IACZ,2CAAmB,CAAA;AACrB,CAAC,EAPW,oBAAoB,KAApB,oBAAoB,QAO/B","sourcesContent":["/** JSDoc\n * @deprecated Use string literals - if you require type casting, cast to RequestSessionStatus type\n */\nexport enum RequestSessionStatus {\n /** JSDoc */\n Ok = 'ok',\n /** JSDoc */\n Errored = 'errored',\n /** JSDoc */\n Crashed = 'crashed',\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/response.d.ts b/node_modules/@sentry/types/esm/response.d.ts new file mode 100644 index 000000000..a39071bc5 --- /dev/null +++ b/node_modules/@sentry/types/esm/response.d.ts @@ -0,0 +1,11 @@ +import { Event, EventType } from './event'; +import { EventStatus } from './eventstatus'; +import { Session } from './session'; +/** JSDoc */ +export interface Response { + status: EventStatus; + event?: Event | Session; + type?: EventType; + reason?: string; +} +//# sourceMappingURL=response.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/response.d.ts.map b/node_modules/@sentry/types/esm/response.d.ts.map new file mode 100644 index 000000000..b1ce22e74 --- /dev/null +++ b/node_modules/@sentry/types/esm/response.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../src/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,YAAY;AACZ,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/response.js b/node_modules/@sentry/types/esm/response.js new file mode 100644 index 000000000..56a72b252 --- /dev/null +++ b/node_modules/@sentry/types/esm/response.js @@ -0,0 +1 @@ +//# sourceMappingURL=response.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/response.js.map b/node_modules/@sentry/types/esm/response.js.map new file mode 100644 index 000000000..d41f3dd1b --- /dev/null +++ b/node_modules/@sentry/types/esm/response.js.map @@ -0,0 +1 @@ +{"version":3,"file":"response.js","sourceRoot":"","sources":["../src/response.ts"],"names":[],"mappings":"","sourcesContent":["import { Event, EventType } from './event';\nimport { EventStatus } from './eventstatus';\nimport { Session } from './session';\n\n/** JSDoc */\nexport interface Response {\n status: EventStatus;\n event?: Event | Session;\n type?: EventType;\n reason?: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/runtime.d.ts b/node_modules/@sentry/types/esm/runtime.d.ts new file mode 100644 index 000000000..e64026e0a --- /dev/null +++ b/node_modules/@sentry/types/esm/runtime.d.ts @@ -0,0 +1,6 @@ +/** Runtime Context. */ +export interface Runtime { + name?: string; + version?: string; +} +//# sourceMappingURL=runtime.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/runtime.d.ts.map b/node_modules/@sentry/types/esm/runtime.d.ts.map new file mode 100644 index 000000000..2e6ef2e6a --- /dev/null +++ b/node_modules/@sentry/types/esm/runtime.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,MAAM,WAAW,OAAO;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/runtime.js b/node_modules/@sentry/types/esm/runtime.js new file mode 100644 index 000000000..ac74a927f --- /dev/null +++ b/node_modules/@sentry/types/esm/runtime.js @@ -0,0 +1 @@ +//# sourceMappingURL=runtime.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/runtime.js.map b/node_modules/@sentry/types/esm/runtime.js.map new file mode 100644 index 000000000..738d0dab9 --- /dev/null +++ b/node_modules/@sentry/types/esm/runtime.js.map @@ -0,0 +1 @@ +{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"","sourcesContent":["/** Runtime Context. */\nexport interface Runtime {\n name?: string;\n version?: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/scope.d.ts b/node_modules/@sentry/types/esm/scope.d.ts new file mode 100644 index 000000000..f24a36c3b --- /dev/null +++ b/node_modules/@sentry/types/esm/scope.d.ts @@ -0,0 +1,138 @@ +import { Breadcrumb } from './breadcrumb'; +import { Context, Contexts } from './context'; +import { EventProcessor } from './eventprocessor'; +import { Extra, Extras } from './extra'; +import { Primitive } from './misc'; +import { RequestSession, Session } from './session'; +import { Severity } from './severity'; +import { Span } from './span'; +import { Transaction } from './transaction'; +import { User } from './user'; +/** JSDocs */ +export declare type CaptureContext = Scope | Partial | ((scope: Scope) => Scope); +/** JSDocs */ +export interface ScopeContext { + user: User; + level: Severity; + extra: Extras; + contexts: Contexts; + tags: { + [key: string]: Primitive; + }; + fingerprint: string[]; + requestSession: RequestSession; +} +/** + * Holds additional event information. {@link Scope.applyToEvent} will be called by the client before an event is sent. + */ +export interface Scope { + /** Add new event processor that will be called after {@link applyToEvent}. */ + addEventProcessor(callback: EventProcessor): this; + /** + * Updates user context information for future events. + * + * @param user User context object to be set in the current context. Pass `null` to unset the user. + */ + setUser(user: User | null): this; + /** + * Returns the `User` if there is one + */ + getUser(): User | undefined; + /** + * Set an object that will be merged sent as tags data with the event. + * @param tags Tags context object to merge into current context. + */ + setTags(tags: { + [key: string]: Primitive; + }): this; + /** + * Set key:value that will be sent as tags data with the event. + * + * Can also be used to unset a tag by passing `undefined`. + * + * @param key String key of tag + * @param value Value of tag + */ + setTag(key: string, value: Primitive): this; + /** + * Set an object that will be merged sent as extra data with the event. + * @param extras Extras object to merge into current context. + */ + setExtras(extras: Extras): this; + /** + * Set key:value that will be sent as extra data with the event. + * @param key String of extra + * @param extra Any kind of data. This data will be normalized. + */ + setExtra(key: string, extra: Extra): this; + /** + * Sets the fingerprint on the scope to send with the events. + * @param fingerprint string[] to group events in Sentry. + */ + setFingerprint(fingerprint: string[]): this; + /** + * Sets the level on the scope for future events. + * @param level string {@link Severity} + */ + setLevel(level: Severity): this; + /** + * Sets the transaction name on the scope for future events. + */ + setTransactionName(name?: string): this; + /** + * Sets context data with the given name. + * @param name of the context + * @param context an object containing context data. This data will be normalized. Pass `null` to unset the context. + */ + setContext(name: string, context: Context | null): this; + /** + * Sets the Span on the scope. + * @param span Span + */ + setSpan(span?: Span): this; + /** + * Returns the `Span` if there is one + */ + getSpan(): Span | undefined; + /** + * Returns the `Transaction` attached to the scope (if there is one) + */ + getTransaction(): Transaction | undefined; + /** + * Returns the `Session` if there is one + */ + getSession(): Session | undefined; + /** + * Sets the `Session` on the scope + */ + setSession(session?: Session): this; + /** + * Returns the `RequestSession` if there is one + */ + getRequestSession(): RequestSession | undefined; + /** + * Sets the `RequestSession` on the scope + */ + setRequestSession(requestSession?: RequestSession): this; + /** + * Updates the scope with provided data. Can work in three variations: + * - plain object containing updatable attributes + * - Scope instance that'll extract the attributes from + * - callback function that'll receive the current scope as an argument and allow for modifications + * @param captureContext scope modifier to be used + */ + update(captureContext?: CaptureContext): this; + /** Clears the current scope and resets its properties. */ + clear(): this; + /** + * Sets the breadcrumbs in the scope + * @param breadcrumbs Breadcrumb + * @param maxBreadcrumbs number of max breadcrumbs to merged into event. + */ + addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this; + /** + * Clears all currently set Breadcrumbs. + */ + clearBreadcrumbs(): this; +} +//# sourceMappingURL=scope.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/scope.d.ts.map b/node_modules/@sentry/types/esm/scope.d.ts.map new file mode 100644 index 000000000..8e37300c7 --- /dev/null +++ b/node_modules/@sentry/types/esm/scope.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"scope.d.ts","sourceRoot":"","sources":["../src/scope.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/scope.js b/node_modules/@sentry/types/esm/scope.js new file mode 100644 index 000000000..02fab8844 --- /dev/null +++ b/node_modules/@sentry/types/esm/scope.js @@ -0,0 +1 @@ +//# sourceMappingURL=scope.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/scope.js.map b/node_modules/@sentry/types/esm/scope.js.map new file mode 100644 index 000000000..86d504d85 --- /dev/null +++ b/node_modules/@sentry/types/esm/scope.js.map @@ -0,0 +1 @@ +{"version":3,"file":"scope.js","sourceRoot":"","sources":["../src/scope.ts"],"names":[],"mappings":"","sourcesContent":["import { Breadcrumb } from './breadcrumb';\nimport { Context, Contexts } from './context';\nimport { EventProcessor } from './eventprocessor';\nimport { Extra, Extras } from './extra';\nimport { Primitive } from './misc';\nimport { RequestSession, Session } from './session';\nimport { Severity } from './severity';\nimport { Span } from './span';\nimport { Transaction } from './transaction';\nimport { User } from './user';\n\n/** JSDocs */\nexport type CaptureContext = Scope | Partial | ((scope: Scope) => Scope);\n\n/** JSDocs */\nexport interface ScopeContext {\n user: User;\n level: Severity;\n extra: Extras;\n contexts: Contexts;\n tags: { [key: string]: Primitive };\n fingerprint: string[];\n requestSession: RequestSession;\n}\n\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be called by the client before an event is sent.\n */\nexport interface Scope {\n /** Add new event processor that will be called after {@link applyToEvent}. */\n addEventProcessor(callback: EventProcessor): this;\n\n /**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\n setUser(user: User | null): this;\n\n /**\n * Returns the `User` if there is one\n */\n getUser(): User | undefined;\n\n /**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\n setTags(tags: { [key: string]: Primitive }): this;\n\n /**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\n setTag(key: string, value: Primitive): this;\n\n /**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\n setExtras(extras: Extras): this;\n\n /**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\n setExtra(key: string, extra: Extra): this;\n\n /**\n * Sets the fingerprint on the scope to send with the events.\n * @param fingerprint string[] to group events in Sentry.\n */\n setFingerprint(fingerprint: string[]): this;\n\n /**\n * Sets the level on the scope for future events.\n * @param level string {@link Severity}\n */\n setLevel(level: Severity): this;\n\n /**\n * Sets the transaction name on the scope for future events.\n */\n setTransactionName(name?: string): this;\n\n /**\n * Sets context data with the given name.\n * @param name of the context\n * @param context an object containing context data. This data will be normalized. Pass `null` to unset the context.\n */\n setContext(name: string, context: Context | null): this;\n\n /**\n * Sets the Span on the scope.\n * @param span Span\n */\n setSpan(span?: Span): this;\n\n /**\n * Returns the `Span` if there is one\n */\n getSpan(): Span | undefined;\n\n /**\n * Returns the `Transaction` attached to the scope (if there is one)\n */\n getTransaction(): Transaction | undefined;\n\n /**\n * Returns the `Session` if there is one\n */\n getSession(): Session | undefined;\n\n /**\n * Sets the `Session` on the scope\n */\n setSession(session?: Session): this;\n\n /**\n * Returns the `RequestSession` if there is one\n */\n getRequestSession(): RequestSession | undefined;\n\n /**\n * Sets the `RequestSession` on the scope\n */\n setRequestSession(requestSession?: RequestSession): this;\n\n /**\n * Updates the scope with provided data. Can work in three variations:\n * - plain object containing updatable attributes\n * - Scope instance that'll extract the attributes from\n * - callback function that'll receive the current scope as an argument and allow for modifications\n * @param captureContext scope modifier to be used\n */\n update(captureContext?: CaptureContext): this;\n\n /** Clears the current scope and resets its properties. */\n clear(): this;\n\n /**\n * Sets the breadcrumbs in the scope\n * @param breadcrumbs Breadcrumb\n * @param maxBreadcrumbs number of max breadcrumbs to merged into event.\n */\n addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this;\n\n /**\n * Clears all currently set Breadcrumbs.\n */\n clearBreadcrumbs(): this;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sdkinfo.d.ts b/node_modules/@sentry/types/esm/sdkinfo.d.ts new file mode 100644 index 000000000..61ac2b159 --- /dev/null +++ b/node_modules/@sentry/types/esm/sdkinfo.d.ts @@ -0,0 +1,8 @@ +import { Package } from './package'; +export interface SdkInfo { + name?: string; + version?: string; + integrations?: string[]; + packages?: Package[]; +} +//# sourceMappingURL=sdkinfo.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sdkinfo.d.ts.map b/node_modules/@sentry/types/esm/sdkinfo.d.ts.map new file mode 100644 index 000000000..eb4874587 --- /dev/null +++ b/node_modules/@sentry/types/esm/sdkinfo.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sdkinfo.d.ts","sourceRoot":"","sources":["../src/sdkinfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,WAAW,OAAO;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sdkinfo.js b/node_modules/@sentry/types/esm/sdkinfo.js new file mode 100644 index 000000000..fa9bec2bb --- /dev/null +++ b/node_modules/@sentry/types/esm/sdkinfo.js @@ -0,0 +1 @@ +//# sourceMappingURL=sdkinfo.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sdkinfo.js.map b/node_modules/@sentry/types/esm/sdkinfo.js.map new file mode 100644 index 000000000..43f3c69ce --- /dev/null +++ b/node_modules/@sentry/types/esm/sdkinfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sdkinfo.js","sourceRoot":"","sources":["../src/sdkinfo.ts"],"names":[],"mappings":"","sourcesContent":["import { Package } from './package';\n\nexport interface SdkInfo {\n name?: string;\n version?: string;\n integrations?: string[];\n packages?: Package[];\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sdkmetadata.d.ts b/node_modules/@sentry/types/esm/sdkmetadata.d.ts new file mode 100644 index 000000000..643fce15f --- /dev/null +++ b/node_modules/@sentry/types/esm/sdkmetadata.d.ts @@ -0,0 +1,5 @@ +import { SdkInfo } from './sdkinfo'; +export interface SdkMetadata { + sdk?: SdkInfo; +} +//# sourceMappingURL=sdkmetadata.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sdkmetadata.d.ts.map b/node_modules/@sentry/types/esm/sdkmetadata.d.ts.map new file mode 100644 index 000000000..0ec880a33 --- /dev/null +++ b/node_modules/@sentry/types/esm/sdkmetadata.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sdkmetadata.d.ts","sourceRoot":"","sources":["../src/sdkmetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,OAAO,CAAC;CACf"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sdkmetadata.js b/node_modules/@sentry/types/esm/sdkmetadata.js new file mode 100644 index 000000000..73d069134 --- /dev/null +++ b/node_modules/@sentry/types/esm/sdkmetadata.js @@ -0,0 +1 @@ +//# sourceMappingURL=sdkmetadata.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sdkmetadata.js.map b/node_modules/@sentry/types/esm/sdkmetadata.js.map new file mode 100644 index 000000000..b2a4371b9 --- /dev/null +++ b/node_modules/@sentry/types/esm/sdkmetadata.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sdkmetadata.js","sourceRoot":"","sources":["../src/sdkmetadata.ts"],"names":[],"mappings":"","sourcesContent":["import { SdkInfo } from './sdkinfo';\n\nexport interface SdkMetadata {\n sdk?: SdkInfo;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/session.d.ts b/node_modules/@sentry/types/esm/session.d.ts new file mode 100644 index 000000000..1ee064b4d --- /dev/null +++ b/node_modules/@sentry/types/esm/session.d.ts @@ -0,0 +1,79 @@ +import { User } from './user'; +/** + * @inheritdoc + */ +export interface Session extends SessionContext { + /** JSDoc */ + update(context?: SessionContext): void; + /** JSDoc */ + close(status?: SessionStatus): void; + /** JSDoc */ + toJSON(): { + init: boolean; + sid: string; + did?: string; + timestamp: string; + started: string; + duration?: number; + status: SessionStatus; + errors: number; + attrs?: { + release?: string; + environment?: string; + user_agent?: string; + ip_address?: string; + }; + }; +} +export interface RequestSession { + status?: RequestSessionStatus; +} +/** + * Session Context + */ +export interface SessionContext { + sid?: string; + did?: string; + init?: boolean; + timestamp?: number; + started?: number; + duration?: number; + status?: SessionStatus; + release?: string; + environment?: string; + userAgent?: string; + ipAddress?: string; + errors?: number; + user?: User | null; + ignoreDuration?: boolean; +} +export declare type SessionStatus = 'ok' | 'exited' | 'crashed' | 'abnormal'; +export declare type RequestSessionStatus = 'ok' | 'errored' | 'crashed'; +/** JSDoc */ +export interface SessionAggregates { + attrs?: { + environment?: string; + release?: string; + }; + aggregates: Array; +} +export interface SessionFlusherLike { + /** + * Increments the Session Status bucket in SessionAggregates Object corresponding to the status of the session + * captured + */ + incrementSessionStatusCount(): void; + /** Submits the aggregates request mode sessions to Sentry */ + sendSessionAggregates(sessionAggregates: SessionAggregates): void; + /** Empties Aggregate Buckets and Sends them to Transport Buffer */ + flush(): void; + /** Clears setInterval and calls flush */ + close(): void; +} +export interface AggregationCounts { + started: string; + errored?: number; + exited?: number; + crashed?: number; +} +//# sourceMappingURL=session.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/session.d.ts.map b/node_modules/@sentry/types/esm/session.d.ts.map new file mode 100644 index 000000000..8a23e6569 --- /dev/null +++ b/node_modules/@sentry/types/esm/session.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,OAAQ,SAAQ,cAAc;IAC7C,YAAY;IACZ,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAEvC,YAAY;IACZ,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAEpC,YAAY;IACZ,MAAM,IAAI;QACR,IAAI,EAAE,OAAO,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,aAAa,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE;YACN,OAAO,CAAC,EAAE,MAAM,CAAC;YACjB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,oBAAY,aAAa,GAAG,IAAI,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AACrE,oBAAY,oBAAoB,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,CAAC;AAEhE,YAAY;AACZ,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE;QACN,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,2BAA2B,IAAI,IAAI,CAAC;IAEpC,6DAA6D;IAC7D,qBAAqB,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAElE,mEAAmE;IACnE,KAAK,IAAI,IAAI,CAAC;IAEd,yCAAyC;IACzC,KAAK,IAAI,IAAI,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/session.js b/node_modules/@sentry/types/esm/session.js new file mode 100644 index 000000000..2ec325786 --- /dev/null +++ b/node_modules/@sentry/types/esm/session.js @@ -0,0 +1 @@ +//# sourceMappingURL=session.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/session.js.map b/node_modules/@sentry/types/esm/session.js.map new file mode 100644 index 000000000..0c348a93b --- /dev/null +++ b/node_modules/@sentry/types/esm/session.js.map @@ -0,0 +1 @@ +{"version":3,"file":"session.js","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"","sourcesContent":["import { User } from './user';\n\n/**\n * @inheritdoc\n */\nexport interface Session extends SessionContext {\n /** JSDoc */\n update(context?: SessionContext): void;\n\n /** JSDoc */\n close(status?: SessionStatus): void;\n\n /** JSDoc */\n toJSON(): {\n init: boolean;\n sid: string;\n did?: string;\n timestamp: string;\n started: string;\n duration?: number;\n status: SessionStatus;\n errors: number;\n attrs?: {\n release?: string;\n environment?: string;\n user_agent?: string;\n ip_address?: string;\n };\n };\n}\n\nexport interface RequestSession {\n status?: RequestSessionStatus;\n}\n\n/**\n * Session Context\n */\nexport interface SessionContext {\n sid?: string;\n did?: string;\n init?: boolean;\n // seconds since the UNIX epoch\n timestamp?: number;\n // seconds since the UNIX epoch\n started?: number;\n duration?: number;\n status?: SessionStatus;\n release?: string;\n environment?: string;\n userAgent?: string;\n ipAddress?: string;\n errors?: number;\n user?: User | null;\n ignoreDuration?: boolean;\n}\n\nexport type SessionStatus = 'ok' | 'exited' | 'crashed' | 'abnormal';\nexport type RequestSessionStatus = 'ok' | 'errored' | 'crashed';\n\n/** JSDoc */\nexport interface SessionAggregates {\n attrs?: {\n environment?: string;\n release?: string;\n };\n aggregates: Array;\n}\n\nexport interface SessionFlusherLike {\n /**\n * Increments the Session Status bucket in SessionAggregates Object corresponding to the status of the session\n * captured\n */\n incrementSessionStatusCount(): void;\n\n /** Submits the aggregates request mode sessions to Sentry */\n sendSessionAggregates(sessionAggregates: SessionAggregates): void;\n\n /** Empties Aggregate Buckets and Sends them to Transport Buffer */\n flush(): void;\n\n /** Clears setInterval and calls flush */\n close(): void;\n}\n\nexport interface AggregationCounts {\n started: string;\n errored?: number;\n exited?: number;\n crashed?: number;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sessionstatus.d.ts b/node_modules/@sentry/types/esm/sessionstatus.d.ts new file mode 100644 index 000000000..4a5400ad1 --- /dev/null +++ b/node_modules/@sentry/types/esm/sessionstatus.d.ts @@ -0,0 +1,14 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to SessionStatus type + */ +export declare enum SessionStatus { + /** JSDoc */ + Ok = "ok", + /** JSDoc */ + Exited = "exited", + /** JSDoc */ + Crashed = "crashed", + /** JSDoc */ + Abnormal = "abnormal" +} +//# sourceMappingURL=sessionstatus.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sessionstatus.d.ts.map b/node_modules/@sentry/types/esm/sessionstatus.d.ts.map new file mode 100644 index 000000000..64c9060be --- /dev/null +++ b/node_modules/@sentry/types/esm/sessionstatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"sessionstatus.d.ts","sourceRoot":"","sources":["../src/sessionstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,aAAa;IACvB,YAAY;IACZ,EAAE,OAAO;IACT,YAAY;IACZ,MAAM,WAAW;IACjB,YAAY;IACZ,OAAO,YAAY;IACnB,YAAY;IACZ,QAAQ,aAAa;CACtB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sessionstatus.js b/node_modules/@sentry/types/esm/sessionstatus.js new file mode 100644 index 000000000..5ae7409b5 --- /dev/null +++ b/node_modules/@sentry/types/esm/sessionstatus.js @@ -0,0 +1,15 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to SessionStatus type + */ +export var SessionStatus; +(function (SessionStatus) { + /** JSDoc */ + SessionStatus["Ok"] = "ok"; + /** JSDoc */ + SessionStatus["Exited"] = "exited"; + /** JSDoc */ + SessionStatus["Crashed"] = "crashed"; + /** JSDoc */ + SessionStatus["Abnormal"] = "abnormal"; +})(SessionStatus || (SessionStatus = {})); +//# sourceMappingURL=sessionstatus.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/sessionstatus.js.map b/node_modules/@sentry/types/esm/sessionstatus.js.map new file mode 100644 index 000000000..ddc3093b8 --- /dev/null +++ b/node_modules/@sentry/types/esm/sessionstatus.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sessionstatus.js","sourceRoot":"","sources":["../src/sessionstatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,aASX;AATD,WAAY,aAAa;IACvB,YAAY;IACZ,0BAAS,CAAA;IACT,YAAY;IACZ,kCAAiB,CAAA;IACjB,YAAY;IACZ,oCAAmB,CAAA;IACnB,YAAY;IACZ,sCAAqB,CAAA;AACvB,CAAC,EATW,aAAa,KAAb,aAAa,QASxB","sourcesContent":["/** JSDoc\n * @deprecated Use string literals - if you require type casting, cast to SessionStatus type\n */\nexport enum SessionStatus {\n /** JSDoc */\n Ok = 'ok',\n /** JSDoc */\n Exited = 'exited',\n /** JSDoc */\n Crashed = 'crashed',\n /** JSDoc */\n Abnormal = 'abnormal',\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/severity.d.ts b/node_modules/@sentry/types/esm/severity.d.ts new file mode 100644 index 000000000..79972d511 --- /dev/null +++ b/node_modules/@sentry/types/esm/severity.d.ts @@ -0,0 +1,22 @@ +/** + * TODO(v7): Remove this enum and replace with SeverityLevel + */ +export declare enum Severity { + /** JSDoc */ + Fatal = "fatal", + /** JSDoc */ + Error = "error", + /** JSDoc */ + Warning = "warning", + /** JSDoc */ + Log = "log", + /** JSDoc */ + Info = "info", + /** JSDoc */ + Debug = "debug", + /** JSDoc */ + Critical = "critical" +} +export declare const SeverityLevels: readonly ["fatal", "error", "warning", "log", "info", "debug", "critical"]; +export declare type SeverityLevel = typeof SeverityLevels[number]; +//# sourceMappingURL=severity.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/severity.d.ts.map b/node_modules/@sentry/types/esm/severity.d.ts.map new file mode 100644 index 000000000..ec842747e --- /dev/null +++ b/node_modules/@sentry/types/esm/severity.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"severity.d.ts","sourceRoot":"","sources":["../src/severity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,QAAQ;IAClB,YAAY;IACZ,KAAK,UAAU;IACf,YAAY;IACZ,KAAK,UAAU;IACf,YAAY;IACZ,OAAO,YAAY;IACnB,YAAY;IACZ,GAAG,QAAQ;IACX,YAAY;IACZ,IAAI,SAAS;IACb,YAAY;IACZ,KAAK,UAAU;IACf,YAAY;IACZ,QAAQ,aAAa;CACtB;AAID,eAAO,MAAM,cAAc,4EAA6E,CAAC;AACzG,oBAAY,aAAa,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/severity.js b/node_modules/@sentry/types/esm/severity.js new file mode 100644 index 000000000..ae903031b --- /dev/null +++ b/node_modules/@sentry/types/esm/severity.js @@ -0,0 +1,24 @@ +/** + * TODO(v7): Remove this enum and replace with SeverityLevel + */ +export var Severity; +(function (Severity) { + /** JSDoc */ + Severity["Fatal"] = "fatal"; + /** JSDoc */ + Severity["Error"] = "error"; + /** JSDoc */ + Severity["Warning"] = "warning"; + /** JSDoc */ + Severity["Log"] = "log"; + /** JSDoc */ + Severity["Info"] = "info"; + /** JSDoc */ + Severity["Debug"] = "debug"; + /** JSDoc */ + Severity["Critical"] = "critical"; +})(Severity || (Severity = {})); +// TODO: in v7, these can disappear, because they now also exist in `@sentry/utils`. (Having them there rather than here +// is nice because then it enforces the idea that only types are exported from `@sentry/types`.) +export var SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical']; +//# sourceMappingURL=severity.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/severity.js.map b/node_modules/@sentry/types/esm/severity.js.map new file mode 100644 index 000000000..1e7785e01 --- /dev/null +++ b/node_modules/@sentry/types/esm/severity.js.map @@ -0,0 +1 @@ +{"version":3,"file":"severity.js","sourceRoot":"","sources":["../src/severity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,QAeX;AAfD,WAAY,QAAQ;IAClB,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,+BAAmB,CAAA;IACnB,YAAY;IACZ,uBAAW,CAAA;IACX,YAAY;IACZ,yBAAa,CAAA;IACb,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,iCAAqB,CAAA;AACvB,CAAC,EAfW,QAAQ,KAAR,QAAQ,QAenB;AAED,wHAAwH;AACxH,gGAAgG;AAChG,MAAM,CAAC,IAAM,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAU,CAAC","sourcesContent":["/**\n * TODO(v7): Remove this enum and replace with SeverityLevel\n */\nexport enum Severity {\n /** JSDoc */\n Fatal = 'fatal',\n /** JSDoc */\n Error = 'error',\n /** JSDoc */\n Warning = 'warning',\n /** JSDoc */\n Log = 'log',\n /** JSDoc */\n Info = 'info',\n /** JSDoc */\n Debug = 'debug',\n /** JSDoc */\n Critical = 'critical',\n}\n\n// TODO: in v7, these can disappear, because they now also exist in `@sentry/utils`. (Having them there rather than here\n// is nice because then it enforces the idea that only types are exported from `@sentry/types`.)\nexport const SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'] as const;\nexport type SeverityLevel = typeof SeverityLevels[number];\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/span.d.ts b/node_modules/@sentry/types/esm/span.d.ts new file mode 100644 index 000000000..ff04f2fb6 --- /dev/null +++ b/node_modules/@sentry/types/esm/span.d.ts @@ -0,0 +1,169 @@ +import { Primitive } from './misc'; +import { Transaction } from './transaction'; +/** Interface holding all properties that can be set on a Span on creation. */ +export interface SpanContext { + /** + * Description of the Span. + */ + description?: string; + /** + * Operation of the Span. + */ + op?: string; + /** + * Completion status of the Span. + * See: {@sentry/tracing SpanStatus} for possible values + */ + status?: string; + /** + * Parent Span ID + */ + parentSpanId?: string; + /** + * Was this span chosen to be sent as part of the sample? + */ + sampled?: boolean; + /** + * Span ID + */ + spanId?: string; + /** + * Trace ID + */ + traceId?: string; + /** + * Tags of the Span. + */ + tags?: { + [key: string]: Primitive; + }; + /** + * Data of the Span. + */ + data?: { + [key: string]: any; + }; + /** + * Timestamp in seconds (epoch time) indicating when the span started. + */ + startTimestamp?: number; + /** + * Timestamp in seconds (epoch time) indicating when the span ended. + */ + endTimestamp?: number; +} +/** Span holding trace_id, span_id */ +export interface Span extends SpanContext { + /** + * @inheritDoc + */ + spanId: string; + /** + * @inheritDoc + */ + traceId: string; + /** + * @inheritDoc + */ + startTimestamp: number; + /** + * @inheritDoc + */ + tags: { + [key: string]: Primitive; + }; + /** + * @inheritDoc + */ + data: { + [key: string]: any; + }; + /** + * The transaction containing this span + */ + transaction?: Transaction; + /** + * Sets the finish timestamp on the current span. + * @param endTimestamp Takes an endTimestamp if the end should not be the time when you call this function. + */ + finish(endTimestamp?: number): void; + /** + * Sets the tag attribute on the current span. + * + * Can also be used to unset a tag, by passing `undefined`. + * + * @param key Tag key + * @param value Tag value + */ + setTag(key: string, value: Primitive): this; + /** + * Sets the data attribute on the current span + * @param key Data key + * @param value Data value + */ + setData(key: string, value: any): this; + /** + * Sets the status attribute on the current span + * See: {@sentry/tracing SpanStatus} for possible values + * @param status http code used to set the status + */ + setStatus(status: string): this; + /** + * Sets the status attribute on the current span based on the http code + * @param httpStatus http code used to set the status + */ + setHttpStatus(httpStatus: number): this; + /** + * Use {@link startChild} + * @deprecated + */ + child(spanContext?: Pick>): Span; + /** + * Creates a new `Span` while setting the current `Span.id` as `parentSpanId`. + * Also the `sampled` decision will be inherited. + */ + startChild(spanContext?: Pick>): Span; + /** + * Determines whether span was successful (HTTP200) + */ + isSuccess(): boolean; + /** Return a traceparent compatible header string */ + toTraceparent(): string; + /** Returns the current span properties as a `SpanContext` */ + toContext(): SpanContext; + /** Updates the current span with a new `SpanContext` */ + updateWithContext(spanContext: SpanContext): this; + /** Convert the object to JSON for w. spans array info only */ + getTraceContext(): { + data?: { + [key: string]: any; + }; + description?: string; + op?: string; + parent_span_id?: string; + span_id: string; + status?: string; + tags?: { + [key: string]: Primitive; + }; + trace_id: string; + }; + /** Convert the object to JSON */ + toJSON(): { + data?: { + [key: string]: any; + }; + description?: string; + op?: string; + parent_span_id?: string; + span_id: string; + start_timestamp: number; + status?: string; + tags?: { + [key: string]: Primitive; + }; + timestamp?: number; + trace_id: string; + }; +} +//# sourceMappingURL=span.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/span.d.ts.map b/node_modules/@sentry/types/esm/span.d.ts.map new file mode 100644 index 000000000..cb094a867 --- /dev/null +++ b/node_modules/@sentry/types/esm/span.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"span.d.ts","sourceRoot":"","sources":["../src/span.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/span.js b/node_modules/@sentry/types/esm/span.js new file mode 100644 index 000000000..7156ae17b --- /dev/null +++ b/node_modules/@sentry/types/esm/span.js @@ -0,0 +1 @@ +//# sourceMappingURL=span.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/span.js.map b/node_modules/@sentry/types/esm/span.js.map new file mode 100644 index 000000000..7a3cecdab --- /dev/null +++ b/node_modules/@sentry/types/esm/span.js.map @@ -0,0 +1 @@ +{"version":3,"file":"span.js","sourceRoot":"","sources":["../src/span.ts"],"names":[],"mappings":"","sourcesContent":["import { Primitive } from './misc';\nimport { Transaction } from './transaction';\n\n/** Interface holding all properties that can be set on a Span on creation. */\nexport interface SpanContext {\n /**\n * Description of the Span.\n */\n description?: string;\n\n /**\n * Operation of the Span.\n */\n op?: string;\n\n /**\n * Completion status of the Span.\n * See: {@sentry/tracing SpanStatus} for possible values\n */\n status?: string;\n\n /**\n * Parent Span ID\n */\n parentSpanId?: string;\n\n /**\n * Was this span chosen to be sent as part of the sample?\n */\n sampled?: boolean;\n\n /**\n * Span ID\n */\n spanId?: string;\n\n /**\n * Trace ID\n */\n traceId?: string;\n\n /**\n * Tags of the Span.\n */\n tags?: { [key: string]: Primitive };\n\n /**\n * Data of the Span.\n */\n data?: { [key: string]: any };\n\n /**\n * Timestamp in seconds (epoch time) indicating when the span started.\n */\n startTimestamp?: number;\n\n /**\n * Timestamp in seconds (epoch time) indicating when the span ended.\n */\n endTimestamp?: number;\n}\n\n/** Span holding trace_id, span_id */\nexport interface Span extends SpanContext {\n /**\n * @inheritDoc\n */\n spanId: string;\n\n /**\n * @inheritDoc\n */\n traceId: string;\n\n /**\n * @inheritDoc\n */\n startTimestamp: number;\n\n /**\n * @inheritDoc\n */\n tags: { [key: string]: Primitive };\n\n /**\n * @inheritDoc\n */\n data: { [key: string]: any };\n\n /**\n * The transaction containing this span\n */\n transaction?: Transaction;\n\n /**\n * Sets the finish timestamp on the current span.\n * @param endTimestamp Takes an endTimestamp if the end should not be the time when you call this function.\n */\n finish(endTimestamp?: number): void;\n\n /**\n * Sets the tag attribute on the current span.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key Tag key\n * @param value Tag value\n */\n setTag(key: string, value: Primitive): this;\n\n /**\n * Sets the data attribute on the current span\n * @param key Data key\n * @param value Data value\n */\n setData(key: string, value: any): this;\n\n /**\n * Sets the status attribute on the current span\n * See: {@sentry/tracing SpanStatus} for possible values\n * @param status http code used to set the status\n */\n setStatus(status: string): this;\n\n /**\n * Sets the status attribute on the current span based on the http code\n * @param httpStatus http code used to set the status\n */\n setHttpStatus(httpStatus: number): this;\n\n /**\n * Use {@link startChild}\n * @deprecated\n */\n child(\n spanContext?: Pick>,\n ): Span;\n\n /**\n * Creates a new `Span` while setting the current `Span.id` as `parentSpanId`.\n * Also the `sampled` decision will be inherited.\n */\n startChild(\n spanContext?: Pick>,\n ): Span;\n\n /**\n * Determines whether span was successful (HTTP200)\n */\n isSuccess(): boolean;\n\n /** Return a traceparent compatible header string */\n toTraceparent(): string;\n\n /** Returns the current span properties as a `SpanContext` */\n toContext(): SpanContext;\n\n /** Updates the current span with a new `SpanContext` */\n updateWithContext(spanContext: SpanContext): this;\n\n /** Convert the object to JSON for w. spans array info only */\n getTraceContext(): {\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n status?: string;\n tags?: { [key: string]: Primitive };\n trace_id: string;\n };\n /** Convert the object to JSON */\n toJSON(): {\n data?: { [key: string]: any };\n description?: string;\n op?: string;\n parent_span_id?: string;\n span_id: string;\n start_timestamp: number;\n status?: string;\n tags?: { [key: string]: Primitive };\n timestamp?: number;\n trace_id: string;\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/stackframe.d.ts b/node_modules/@sentry/types/esm/stackframe.d.ts new file mode 100644 index 000000000..acd200883 --- /dev/null +++ b/node_modules/@sentry/types/esm/stackframe.d.ts @@ -0,0 +1,20 @@ +/** JSDoc */ +export interface StackFrame { + filename?: string; + function?: string; + module?: string; + platform?: string; + lineno?: number; + colno?: number; + abs_path?: string; + context_line?: string; + pre_context?: string[]; + post_context?: string[]; + in_app?: boolean; + instruction_addr?: string; + addr_mode?: string; + vars?: { + [key: string]: any; + }; +} +//# sourceMappingURL=stackframe.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/stackframe.d.ts.map b/node_modules/@sentry/types/esm/stackframe.d.ts.map new file mode 100644 index 000000000..3dd4365b7 --- /dev/null +++ b/node_modules/@sentry/types/esm/stackframe.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stackframe.d.ts","sourceRoot":"","sources":["../src/stackframe.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC/B"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/stackframe.js b/node_modules/@sentry/types/esm/stackframe.js new file mode 100644 index 000000000..61f649081 --- /dev/null +++ b/node_modules/@sentry/types/esm/stackframe.js @@ -0,0 +1 @@ +//# sourceMappingURL=stackframe.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/stackframe.js.map b/node_modules/@sentry/types/esm/stackframe.js.map new file mode 100644 index 000000000..7a66a9bb8 --- /dev/null +++ b/node_modules/@sentry/types/esm/stackframe.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stackframe.js","sourceRoot":"","sources":["../src/stackframe.ts"],"names":[],"mappings":"","sourcesContent":["/** JSDoc */\nexport interface StackFrame {\n filename?: string;\n function?: string;\n module?: string;\n platform?: string;\n lineno?: number;\n colno?: number;\n abs_path?: string;\n context_line?: string;\n pre_context?: string[];\n post_context?: string[];\n in_app?: boolean;\n instruction_addr?: string;\n addr_mode?: string;\n vars?: { [key: string]: any };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/stacktrace.d.ts b/node_modules/@sentry/types/esm/stacktrace.d.ts new file mode 100644 index 000000000..b2cc3b477 --- /dev/null +++ b/node_modules/@sentry/types/esm/stacktrace.d.ts @@ -0,0 +1,7 @@ +import { StackFrame } from './stackframe'; +/** JSDoc */ +export interface Stacktrace { + frames?: StackFrame[]; + frames_omitted?: [number, number]; +} +//# sourceMappingURL=stacktrace.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/stacktrace.d.ts.map b/node_modules/@sentry/types/esm/stacktrace.d.ts.map new file mode 100644 index 000000000..efa7c3f0f --- /dev/null +++ b/node_modules/@sentry/types/esm/stacktrace.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.d.ts","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY;AACZ,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/stacktrace.js b/node_modules/@sentry/types/esm/stacktrace.js new file mode 100644 index 000000000..a3698f550 --- /dev/null +++ b/node_modules/@sentry/types/esm/stacktrace.js @@ -0,0 +1 @@ +//# sourceMappingURL=stacktrace.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/stacktrace.js.map b/node_modules/@sentry/types/esm/stacktrace.js.map new file mode 100644 index 000000000..11a62eca8 --- /dev/null +++ b/node_modules/@sentry/types/esm/stacktrace.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.js","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"","sourcesContent":["import { StackFrame } from './stackframe';\n\n/** JSDoc */\nexport interface Stacktrace {\n frames?: StackFrame[];\n frames_omitted?: [number, number];\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/status.d.ts b/node_modules/@sentry/types/esm/status.d.ts new file mode 100644 index 000000000..1ad8dea86 --- /dev/null +++ b/node_modules/@sentry/types/esm/status.d.ts @@ -0,0 +1,18 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to EventStatus type + */ +export declare enum Status { + /** The status could not be determined. */ + Unknown = "unknown", + /** The event was skipped due to configuration or callbacks. */ + Skipped = "skipped", + /** The event was sent to Sentry successfully. */ + Success = "success", + /** The client is currently rate limited and will try again later. */ + RateLimit = "rate_limit", + /** The event could not be processed. */ + Invalid = "invalid", + /** A server-side error occurred during submission. */ + Failed = "failed" +} +//# sourceMappingURL=status.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/status.d.ts.map b/node_modules/@sentry/types/esm/status.d.ts.map new file mode 100644 index 000000000..8ae82b42b --- /dev/null +++ b/node_modules/@sentry/types/esm/status.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,MAAM;IAChB,0CAA0C;IAC1C,OAAO,YAAY;IACnB,+DAA+D;IAC/D,OAAO,YAAY;IACnB,iDAAiD;IACjD,OAAO,YAAY;IACnB,qEAAqE;IACrE,SAAS,eAAe;IACxB,wCAAwC;IACxC,OAAO,YAAY;IACnB,sDAAsD;IACtD,MAAM,WAAW;CAClB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/status.js b/node_modules/@sentry/types/esm/status.js new file mode 100644 index 000000000..45a4bc0ee --- /dev/null +++ b/node_modules/@sentry/types/esm/status.js @@ -0,0 +1,19 @@ +/** JSDoc + * @deprecated Use string literals - if you require type casting, cast to EventStatus type + */ +export var Status; +(function (Status) { + /** The status could not be determined. */ + Status["Unknown"] = "unknown"; + /** The event was skipped due to configuration or callbacks. */ + Status["Skipped"] = "skipped"; + /** The event was sent to Sentry successfully. */ + Status["Success"] = "success"; + /** The client is currently rate limited and will try again later. */ + Status["RateLimit"] = "rate_limit"; + /** The event could not be processed. */ + Status["Invalid"] = "invalid"; + /** A server-side error occurred during submission. */ + Status["Failed"] = "failed"; +})(Status || (Status = {})); +//# sourceMappingURL=status.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/status.js.map b/node_modules/@sentry/types/esm/status.js.map new file mode 100644 index 000000000..4285e1094 --- /dev/null +++ b/node_modules/@sentry/types/esm/status.js.map @@ -0,0 +1 @@ +{"version":3,"file":"status.js","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,0CAA0C;IAC1C,6BAAmB,CAAA;IACnB,+DAA+D;IAC/D,6BAAmB,CAAA;IACnB,iDAAiD;IACjD,6BAAmB,CAAA;IACnB,qEAAqE;IACrE,kCAAwB,CAAA;IACxB,wCAAwC;IACxC,6BAAmB,CAAA;IACnB,sDAAsD;IACtD,2BAAiB,CAAA;AACnB,CAAC,EAbW,MAAM,KAAN,MAAM,QAajB","sourcesContent":["/** JSDoc\n * @deprecated Use string literals - if you require type casting, cast to EventStatus type\n */\nexport enum Status {\n /** The status could not be determined. */\n Unknown = 'unknown',\n /** The event was skipped due to configuration or callbacks. */\n Skipped = 'skipped',\n /** The event was sent to Sentry successfully. */\n Success = 'success',\n /** The client is currently rate limited and will try again later. */\n RateLimit = 'rate_limit',\n /** The event could not be processed. */\n Invalid = 'invalid',\n /** A server-side error occurred during submission. */\n Failed = 'failed',\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/thread.d.ts b/node_modules/@sentry/types/esm/thread.d.ts new file mode 100644 index 000000000..f5edc3524 --- /dev/null +++ b/node_modules/@sentry/types/esm/thread.d.ts @@ -0,0 +1,10 @@ +import { Stacktrace } from './stacktrace'; +/** JSDoc */ +export interface Thread { + id?: number; + name?: string; + stacktrace?: Stacktrace; + crashed?: boolean; + current?: boolean; +} +//# sourceMappingURL=thread.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/thread.d.ts.map b/node_modules/@sentry/types/esm/thread.d.ts.map new file mode 100644 index 000000000..dd8b77d9b --- /dev/null +++ b/node_modules/@sentry/types/esm/thread.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,YAAY;AACZ,MAAM,WAAW,MAAM;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/thread.js b/node_modules/@sentry/types/esm/thread.js new file mode 100644 index 000000000..cd59fae29 --- /dev/null +++ b/node_modules/@sentry/types/esm/thread.js @@ -0,0 +1 @@ +//# sourceMappingURL=thread.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/thread.js.map b/node_modules/@sentry/types/esm/thread.js.map new file mode 100644 index 000000000..d7cc09ae0 --- /dev/null +++ b/node_modules/@sentry/types/esm/thread.js.map @@ -0,0 +1 @@ +{"version":3,"file":"thread.js","sourceRoot":"","sources":["../src/thread.ts"],"names":[],"mappings":"","sourcesContent":["import { Stacktrace } from './stacktrace';\n\n/** JSDoc */\nexport interface Thread {\n id?: number;\n name?: string;\n stacktrace?: Stacktrace;\n crashed?: boolean;\n current?: boolean;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/transaction.d.ts b/node_modules/@sentry/types/esm/transaction.d.ts new file mode 100644 index 000000000..b12d22c87 --- /dev/null +++ b/node_modules/@sentry/types/esm/transaction.d.ts @@ -0,0 +1,119 @@ +import { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc'; +import { Span, SpanContext } from './span'; +/** + * Interface holding Transaction-specific properties + */ +export interface TransactionContext extends SpanContext { + /** + * Human-readable identifier for the transaction + */ + name: string; + /** + * If true, sets the end timestamp of the transaction to the highest timestamp of child spans, trimming + * the duration of the transaction. This is useful to discard extra time in the transaction that is not + * accounted for in child spans, like what happens in the idle transaction Tracing integration, where we finish the + * transaction after a given "idle time" and we don't want this "idle time" to be part of the transaction. + */ + trimEnd?: boolean; + /** + * If this transaction has a parent, the parent's sampling decision + */ + parentSampled?: boolean; + /** + * Metadata associated with the transaction, for internal SDK use. + */ + metadata?: TransactionMetadata; +} +/** + * Data pulled from a `sentry-trace` header + */ +export declare type TraceparentData = Pick; +/** + * Transaction "Class", inherits Span only has `setName` + */ +export interface Transaction extends TransactionContext, Span { + /** + * @inheritDoc + */ + spanId: string; + /** + * @inheritDoc + */ + traceId: string; + /** + * @inheritDoc + */ + startTimestamp: number; + /** + * @inheritDoc + */ + tags: { + [key: string]: Primitive; + }; + /** + * @inheritDoc + */ + data: { + [key: string]: any; + }; + /** + * Metadata about the transaction + */ + metadata: TransactionMetadata; + /** + * Set the name of the transaction + */ + setName(name: string): void; + /** Returns the current transaction properties as a `TransactionContext` */ + toContext(): TransactionContext; + /** Updates the current transaction with a new `TransactionContext` */ + updateWithContext(transactionContext: TransactionContext): this; +} +/** + * Context data passed by the user when starting a transaction, to be used by the tracesSampler method. + */ +export interface CustomSamplingContext { + [key: string]: any; +} +/** + * Data passed to the `tracesSampler` function, which forms the basis for whatever decisions it might make. + * + * Adds default data to data provided by the user. See {@link Hub.startTransaction} + */ +export interface SamplingContext extends CustomSamplingContext { + /** + * Context data with which transaction being sampled was created + */ + transactionContext: TransactionContext; + /** + * Sampling decision from the parent transaction, if any. + */ + parentSampled?: boolean; + /** + * Object representing the URL of the current page or worker script. Passed by default when using the `BrowserTracing` + * integration. + */ + location?: WorkerLocation; + /** + * Object representing the incoming request to a node server. Passed by default when using the TracingHandler. + */ + request?: ExtractedNodeRequestData; +} +export declare type Measurements = Record; +export declare type TransactionSamplingMethod = 'explicitly_set' | 'client_sampler' | 'client_rate' | 'inheritance'; +export interface TransactionMetadata { + transactionSampling?: { + rate?: number; + method?: TransactionSamplingMethod; + }; + /** The two halves (sentry and third-party) of a transaction's tracestate header, used for dynamic sampling */ + tracestate?: { + sentry?: string; + thirdparty?: string; + }; + /** For transactions tracing server-side request handling, the path of the request being tracked. */ + requestPath?: string; +} +//# sourceMappingURL=transaction.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/transaction.d.ts.map b/node_modules/@sentry/types/esm/transaction.d.ts.map new file mode 100644 index 000000000..5c607f4d5 --- /dev/null +++ b/node_modules/@sentry/types/esm/transaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC;AAED;;GAEG;AACH,oBAAY,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;AAErG;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,kBAAkB,EAAE,IAAI;IAC3D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;IAEnC;;OAEG;IACH,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAE7B;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,2EAA2E;IAC3E,SAAS,IAAI,kBAAkB,CAAC;IAEhC,sEAAsE;IACtE,iBAAiB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACjE;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,qBAAqB;IAC5D;;OAEG;IACH,kBAAkB,EAAE,kBAAkB,CAAC;IAEvC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;CACpC;AAED,oBAAY,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE7D,oBAAY,yBAAyB,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,aAAa,GAAG,aAAa,CAAC;AAE5G,MAAM,WAAW,mBAAmB;IAClC,mBAAmB,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,yBAAyB,CAAA;KAAE,CAAC;IAE5E,8GAA8G;IAC9G,UAAU,CAAC,EAAE;QACX,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IAEF,oGAAoG;IACpG,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/transaction.js b/node_modules/@sentry/types/esm/transaction.js new file mode 100644 index 000000000..33b6b0779 --- /dev/null +++ b/node_modules/@sentry/types/esm/transaction.js @@ -0,0 +1 @@ +//# sourceMappingURL=transaction.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/transaction.js.map b/node_modules/@sentry/types/esm/transaction.js.map new file mode 100644 index 000000000..e9a39bb1a --- /dev/null +++ b/node_modules/@sentry/types/esm/transaction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../src/transaction.ts"],"names":[],"mappings":"","sourcesContent":["import { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc';\nimport { Span, SpanContext } from './span';\n\n/**\n * Interface holding Transaction-specific properties\n */\nexport interface TransactionContext extends SpanContext {\n /**\n * Human-readable identifier for the transaction\n */\n name: string;\n\n /**\n * If true, sets the end timestamp of the transaction to the highest timestamp of child spans, trimming\n * the duration of the transaction. This is useful to discard extra time in the transaction that is not\n * accounted for in child spans, like what happens in the idle transaction Tracing integration, where we finish the\n * transaction after a given \"idle time\" and we don't want this \"idle time\" to be part of the transaction.\n */\n trimEnd?: boolean;\n\n /**\n * If this transaction has a parent, the parent's sampling decision\n */\n parentSampled?: boolean;\n\n /**\n * Metadata associated with the transaction, for internal SDK use.\n */\n metadata?: TransactionMetadata;\n}\n\n/**\n * Data pulled from a `sentry-trace` header\n */\nexport type TraceparentData = Pick;\n\n/**\n * Transaction \"Class\", inherits Span only has `setName`\n */\nexport interface Transaction extends TransactionContext, Span {\n /**\n * @inheritDoc\n */\n spanId: string;\n\n /**\n * @inheritDoc\n */\n traceId: string;\n\n /**\n * @inheritDoc\n */\n startTimestamp: number;\n\n /**\n * @inheritDoc\n */\n tags: { [key: string]: Primitive };\n\n /**\n * @inheritDoc\n */\n data: { [key: string]: any };\n\n /**\n * Metadata about the transaction\n */\n metadata: TransactionMetadata;\n\n /**\n * Set the name of the transaction\n */\n setName(name: string): void;\n\n /** Returns the current transaction properties as a `TransactionContext` */\n toContext(): TransactionContext;\n\n /** Updates the current transaction with a new `TransactionContext` */\n updateWithContext(transactionContext: TransactionContext): this;\n}\n\n/**\n * Context data passed by the user when starting a transaction, to be used by the tracesSampler method.\n */\nexport interface CustomSamplingContext {\n [key: string]: any;\n}\n\n/**\n * Data passed to the `tracesSampler` function, which forms the basis for whatever decisions it might make.\n *\n * Adds default data to data provided by the user. See {@link Hub.startTransaction}\n */\nexport interface SamplingContext extends CustomSamplingContext {\n /**\n * Context data with which transaction being sampled was created\n */\n transactionContext: TransactionContext;\n\n /**\n * Sampling decision from the parent transaction, if any.\n */\n parentSampled?: boolean;\n\n /**\n * Object representing the URL of the current page or worker script. Passed by default when using the `BrowserTracing`\n * integration.\n */\n location?: WorkerLocation;\n\n /**\n * Object representing the incoming request to a node server. Passed by default when using the TracingHandler.\n */\n request?: ExtractedNodeRequestData;\n}\n\nexport type Measurements = Record;\n\nexport type TransactionSamplingMethod = 'explicitly_set' | 'client_sampler' | 'client_rate' | 'inheritance';\n\nexport interface TransactionMetadata {\n transactionSampling?: { rate?: number; method?: TransactionSamplingMethod };\n\n /** The two halves (sentry and third-party) of a transaction's tracestate header, used for dynamic sampling */\n tracestate?: {\n sentry?: string;\n thirdparty?: string;\n };\n\n /** For transactions tracing server-side request handling, the path of the request being tracked. */\n requestPath?: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/transport.d.ts b/node_modules/@sentry/types/esm/transport.d.ts new file mode 100644 index 000000000..3c4220bc8 --- /dev/null +++ b/node_modules/@sentry/types/esm/transport.d.ts @@ -0,0 +1,66 @@ +import { DsnLike } from './dsn'; +import { Event } from './event'; +import { SentryRequestType } from './request'; +import { Response } from './response'; +import { SdkMetadata } from './sdkmetadata'; +import { Session, SessionAggregates } from './session'; +export declare type Outcome = 'before_send' | 'event_processor' | 'network_error' | 'queue_overflow' | 'ratelimit_backoff' | 'sample_rate'; +/** Transport used sending data to Sentry */ +export interface Transport { + /** + * Sends the event to the Store endpoint in Sentry. + * + * @param event Event that should be sent to Sentry. + */ + sendEvent(event: Event): PromiseLike; + /** + * Sends the session to the Envelope endpoint in Sentry. + * + * @param session Session that should be sent to Sentry | Session Aggregates that should be sent to Sentry. + */ + sendSession?(session: Session | SessionAggregates): PromiseLike; + /** + * Wait for all events to be sent or the timeout to expire, whichever comes first. + * + * @param timeout Maximum time in ms the transport should wait for events to be flushed. Omitting this parameter will + * cause the transport to wait until all events are sent before resolving the promise. + * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are + * still events in the queue when the timeout is reached. + */ + close(timeout?: number): PromiseLike; + /** + * Increment the counter for the specific client outcome + */ + recordLostEvent?(type: Outcome, category: SentryRequestType): void; +} +/** JSDoc */ +export declare type TransportClass = new (options: TransportOptions) => T; +/** JSDoc */ +export interface TransportOptions { + /** Sentry DSN */ + dsn: DsnLike; + /** Define custom headers */ + headers?: { + [key: string]: string; + }; + /** Set a HTTP proxy that should be used for outbound requests. */ + httpProxy?: string; + /** Set a HTTPS proxy that should be used for outbound requests. */ + httpsProxy?: string; + /** HTTPS proxy certificates path */ + caCerts?: string; + /** Fetch API init parameters */ + fetchParameters?: { + [key: string]: string; + }; + /** The envelope tunnel to use. */ + tunnel?: string; + /** Send SDK Client Reports. Enabled by default. */ + sendClientReports?: boolean; + /** + * Set of metadata about the SDK that can be internally used to enhance envelopes and events, + * and provide additional data about every request. + * */ + _metadata?: SdkMetadata; +} +//# sourceMappingURL=transport.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/transport.d.ts.map b/node_modules/@sentry/types/esm/transport.d.ts.map new file mode 100644 index 000000000..33ce19278 --- /dev/null +++ b/node_modules/@sentry/types/esm/transport.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEvD,oBAAY,OAAO,GACf,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,mBAAmB,GACnB,aAAa,CAAC;AAElB,4CAA4C;AAC5C,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IAE/C;;;;OAIG;IACH,WAAW,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IAE1E;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAE9C;;OAEG;IACH,eAAe,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACpE;AAED,YAAY;AACZ,oBAAY,cAAc,CAAC,CAAC,SAAS,SAAS,IAAI,KAAK,OAAO,EAAE,gBAAgB,KAAK,CAAC,CAAC;AAEvF,YAAY;AACZ,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,4BAA4B;IAC5B,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACpC,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC5C,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;SAGK;IACL,SAAS,CAAC,EAAE,WAAW,CAAC;CACzB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/transport.js b/node_modules/@sentry/types/esm/transport.js new file mode 100644 index 000000000..2fade245e --- /dev/null +++ b/node_modules/@sentry/types/esm/transport.js @@ -0,0 +1 @@ +//# sourceMappingURL=transport.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/transport.js.map b/node_modules/@sentry/types/esm/transport.js.map new file mode 100644 index 000000000..8e9c50c57 --- /dev/null +++ b/node_modules/@sentry/types/esm/transport.js.map @@ -0,0 +1 @@ +{"version":3,"file":"transport.js","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"","sourcesContent":["import { DsnLike } from './dsn';\nimport { Event } from './event';\nimport { SentryRequestType } from './request';\nimport { Response } from './response';\nimport { SdkMetadata } from './sdkmetadata';\nimport { Session, SessionAggregates } from './session';\n\nexport type Outcome =\n | 'before_send'\n | 'event_processor'\n | 'network_error'\n | 'queue_overflow'\n | 'ratelimit_backoff'\n | 'sample_rate';\n\n/** Transport used sending data to Sentry */\nexport interface Transport {\n /**\n * Sends the event to the Store endpoint in Sentry.\n *\n * @param event Event that should be sent to Sentry.\n */\n sendEvent(event: Event): PromiseLike;\n\n /**\n * Sends the session to the Envelope endpoint in Sentry.\n *\n * @param session Session that should be sent to Sentry | Session Aggregates that should be sent to Sentry.\n */\n sendSession?(session: Session | SessionAggregates): PromiseLike;\n\n /**\n * Wait for all events to be sent or the timeout to expire, whichever comes first.\n *\n * @param timeout Maximum time in ms the transport should wait for events to be flushed. Omitting this parameter will\n * cause the transport to wait until all events are sent before resolving the promise.\n * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are\n * still events in the queue when the timeout is reached.\n */\n close(timeout?: number): PromiseLike;\n\n /**\n * Increment the counter for the specific client outcome\n */\n recordLostEvent?(type: Outcome, category: SentryRequestType): void;\n}\n\n/** JSDoc */\nexport type TransportClass = new (options: TransportOptions) => T;\n\n/** JSDoc */\nexport interface TransportOptions {\n /** Sentry DSN */\n dsn: DsnLike;\n /** Define custom headers */\n headers?: { [key: string]: string };\n /** Set a HTTP proxy that should be used for outbound requests. */\n httpProxy?: string;\n /** Set a HTTPS proxy that should be used for outbound requests. */\n httpsProxy?: string;\n /** HTTPS proxy certificates path */\n caCerts?: string;\n /** Fetch API init parameters */\n fetchParameters?: { [key: string]: string };\n /** The envelope tunnel to use. */\n tunnel?: string;\n /** Send SDK Client Reports. Enabled by default. */\n sendClientReports?: boolean;\n /**\n * Set of metadata about the SDK that can be internally used to enhance envelopes and events,\n * and provide additional data about every request.\n * */\n _metadata?: SdkMetadata;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/user.d.ts b/node_modules/@sentry/types/esm/user.d.ts new file mode 100644 index 000000000..2f24df3d2 --- /dev/null +++ b/node_modules/@sentry/types/esm/user.d.ts @@ -0,0 +1,9 @@ +/** JSDoc */ +export interface User { + [key: string]: any; + id?: string; + ip_address?: string; + email?: string; + username?: string; +} +//# sourceMappingURL=user.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/user.d.ts.map b/node_modules/@sentry/types/esm/user.d.ts.map new file mode 100644 index 000000000..6f833edd0 --- /dev/null +++ b/node_modules/@sentry/types/esm/user.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../src/user.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,MAAM,WAAW,IAAI;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/user.js b/node_modules/@sentry/types/esm/user.js new file mode 100644 index 000000000..d0948fc23 --- /dev/null +++ b/node_modules/@sentry/types/esm/user.js @@ -0,0 +1 @@ +//# sourceMappingURL=user.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/user.js.map b/node_modules/@sentry/types/esm/user.js.map new file mode 100644 index 000000000..c7e4a43e1 --- /dev/null +++ b/node_modules/@sentry/types/esm/user.js.map @@ -0,0 +1 @@ +{"version":3,"file":"user.js","sourceRoot":"","sources":["../src/user.ts"],"names":[],"mappings":"","sourcesContent":["/** JSDoc */\nexport interface User {\n [key: string]: any;\n id?: string;\n ip_address?: string;\n email?: string;\n username?: string;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/wrappedfunction.d.ts b/node_modules/@sentry/types/esm/wrappedfunction.d.ts new file mode 100644 index 000000000..c65863405 --- /dev/null +++ b/node_modules/@sentry/types/esm/wrappedfunction.d.ts @@ -0,0 +1,7 @@ +/** JSDoc */ +export interface WrappedFunction extends Function { + [key: string]: any; + __sentry_wrapped__?: WrappedFunction; + __sentry_original__?: WrappedFunction; +} +//# sourceMappingURL=wrappedfunction.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/wrappedfunction.d.ts.map b/node_modules/@sentry/types/esm/wrappedfunction.d.ts.map new file mode 100644 index 000000000..279000e5c --- /dev/null +++ b/node_modules/@sentry/types/esm/wrappedfunction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"wrappedfunction.d.ts","sourceRoot":"","sources":["../src/wrappedfunction.ts"],"names":[],"mappings":"AAAA,YAAY;AACZ,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,kBAAkB,CAAC,EAAE,eAAe,CAAC;IACrC,mBAAmB,CAAC,EAAE,eAAe,CAAC;CACvC"} \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/wrappedfunction.js b/node_modules/@sentry/types/esm/wrappedfunction.js new file mode 100644 index 000000000..58233be32 --- /dev/null +++ b/node_modules/@sentry/types/esm/wrappedfunction.js @@ -0,0 +1 @@ +//# sourceMappingURL=wrappedfunction.js.map \ No newline at end of file diff --git a/node_modules/@sentry/types/esm/wrappedfunction.js.map b/node_modules/@sentry/types/esm/wrappedfunction.js.map new file mode 100644 index 000000000..52245d0ef --- /dev/null +++ b/node_modules/@sentry/types/esm/wrappedfunction.js.map @@ -0,0 +1 @@ +{"version":3,"file":"wrappedfunction.js","sourceRoot":"","sources":["../src/wrappedfunction.ts"],"names":[],"mappings":"","sourcesContent":["/** JSDoc */\nexport interface WrappedFunction extends Function {\n [key: string]: any;\n __sentry_wrapped__?: WrappedFunction;\n __sentry_original__?: WrappedFunction;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/types/package.json b/node_modules/@sentry/types/package.json new file mode 100644 index 000000000..98eedd2c0 --- /dev/null +++ b/node_modules/@sentry/types/package.json @@ -0,0 +1,81 @@ +{ + "_from": "@sentry/types@6.17.9", + "_id": "@sentry/types@6.17.9", + "_inBundle": false, + "_integrity": "sha512-xuulX6qUCL14ayEOh/h6FUIvZtsi1Bx34dSOaWDrjXUOJHJAM7214uiqW1GZxPJ13YuaUIubjTSfDmSQ9CBzTw==", + "_location": "/@sentry/types", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@sentry/types@6.17.9", + "name": "@sentry/types", + "escapedName": "@sentry%2ftypes", + "scope": "@sentry", + "rawSpec": "6.17.9", + "saveSpec": null, + "fetchSpec": "6.17.9" + }, + "_requiredBy": [ + "/@sentry/core", + "/@sentry/hub", + "/@sentry/minimal", + "/@sentry/node", + "/@sentry/tracing", + "/@sentry/utils" + ], + "_resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.17.9.tgz", + "_shasum": "d579c33cde0301adaf8ff4762479ad017bf0dffa", + "_spec": "@sentry/types@6.17.9", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/node", + "author": { + "name": "Sentry" + }, + "bugs": { + "url": "https://github.com/getsentry/sentry-javascript/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Types for all Sentry JavaScript SDKs", + "engines": { + "node": ">=6" + }, + "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/types", + "license": "BSD-3-Clause", + "main": "dist/index.js", + "module": "esm/index.js", + "name": "@sentry/types", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git://github.com/getsentry/sentry-javascript.git" + }, + "scripts": { + "build": "run-p build:cjs build:esm", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", + "build:dev": "run-s build", + "build:dev:watch": "run-s build:watch", + "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", + "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", + "build:esm": "tsc -p tsconfig.esm.json", + "build:esm:watch": "tsc -p tsconfig.esm.json --watch", + "build:watch": "run-p build:cjs:watch build:esm:watch", + "fix": "run-s fix:eslint fix:prettier", + "fix:eslint": "eslint . --format stylish --fix", + "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"", + "link:yarn": "yarn link", + "lint": "run-s lint:prettier lint:eslint", + "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish", + "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"", + "pack": "npm pack" + }, + "sideEffects": false, + "types": "dist/index.d.ts", + "version": "6.17.9", + "volta": { + "extends": "../../package.json" + } +} diff --git a/node_modules/@sentry/utils/.eslintrc.js b/node_modules/@sentry/utils/.eslintrc.js new file mode 100644 index 000000000..5a2cc7f1e --- /dev/null +++ b/node_modules/@sentry/utils/.eslintrc.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['../../.eslintrc.js'], +}; diff --git a/node_modules/@sentry/utils/LICENSE b/node_modules/@sentry/utils/LICENSE new file mode 100644 index 000000000..8b42db873 --- /dev/null +++ b/node_modules/@sentry/utils/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2019, Sentry +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/@sentry/utils/README.md b/node_modules/@sentry/utils/README.md new file mode 100644 index 000000000..185fc3778 --- /dev/null +++ b/node_modules/@sentry/utils/README.md @@ -0,0 +1,24 @@ +

+ + + +
+

+ +# Sentry JavaScript SDK Utilities + +[![npm version](https://img.shields.io/npm/v/@sentry/utils.svg)](https://www.npmjs.com/package/@sentry/utils) +[![npm dm](https://img.shields.io/npm/dm/@sentry/utils.svg)](https://www.npmjs.com/package/@sentry/utils) +[![npm dt](https://img.shields.io/npm/dt/@sentry/utils.svg)](https://www.npmjs.com/package/@sentry/utils) +[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/) + +## Links + +- [Official SDK Docs](https://docs.sentry.io/quickstart/) +- [TypeDoc](http://getsentry.github.io/sentry-javascript/) + +## General + +Common utilities used by the Sentry JavaScript SDKs. **Warning, only submodule imports are allowed here.** Also note, +this function shouldn't be used externally, we will break them from time to time. This package is not part of our public +API contract, we use them only internally. diff --git a/node_modules/@sentry/utils/dist/async.d.ts b/node_modules/@sentry/utils/dist/async.d.ts new file mode 100644 index 000000000..f46660e4c --- /dev/null +++ b/node_modules/@sentry/utils/dist/async.d.ts @@ -0,0 +1,6 @@ +/** + * Consumes the promise and logs the error when it rejects. + * @param promise A promise to forget. + */ +export declare function forget(promise: PromiseLike): void; +//# sourceMappingURL=async.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/async.js b/node_modules/@sentry/utils/dist/async.js new file mode 100644 index 000000000..5893451d3 --- /dev/null +++ b/node_modules/@sentry/utils/dist/async.js @@ -0,0 +1,15 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Consumes the promise and logs the error when it rejects. + * @param promise A promise to forget. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function forget(promise) { + void promise.then(null, function (e) { + // TODO: Use a better logging mechanism + // eslint-disable-next-line no-console + console.error(e); + }); +} +exports.forget = forget; +//# sourceMappingURL=async.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/async.js.map b/node_modules/@sentry/utils/dist/async.js.map new file mode 100644 index 000000000..298695841 --- /dev/null +++ b/node_modules/@sentry/utils/dist/async.js.map @@ -0,0 +1 @@ +{"version":3,"file":"async.js","sourceRoot":"","sources":["../src/async.ts"],"names":[],"mappings":";AAAA;;;GAGG;AACH,8DAA8D;AAC9D,SAAgB,MAAM,CAAC,OAAyB;IAC9C,KAAK,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,UAAA,CAAC;QACvB,uCAAuC;QACvC,sCAAsC;QACtC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC,CAAC,CAAC;AACL,CAAC;AAND,wBAMC","sourcesContent":["/**\n * Consumes the promise and logs the error when it rejects.\n * @param promise A promise to forget.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function forget(promise: PromiseLike): void {\n void promise.then(null, e => {\n // TODO: Use a better logging mechanism\n // eslint-disable-next-line no-console\n console.error(e);\n });\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/browser.d.ts b/node_modules/@sentry/utils/dist/browser.d.ts new file mode 100644 index 000000000..18dedf954 --- /dev/null +++ b/node_modules/@sentry/utils/dist/browser.d.ts @@ -0,0 +1,12 @@ +/** + * Given a child DOM element, returns a query-selector statement describing that + * and its ancestors + * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz] + * @returns generated DOM path + */ +export declare function htmlTreeAsString(elem: unknown, keyAttrs?: string[]): string; +/** + * A safe form of location.href + */ +export declare function getLocationHref(): string; +//# sourceMappingURL=browser.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/browser.js b/node_modules/@sentry/utils/dist/browser.js new file mode 100644 index 000000000..1bc2b995c --- /dev/null +++ b/node_modules/@sentry/utils/dist/browser.js @@ -0,0 +1,108 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var global_1 = require("./global"); +var is_1 = require("./is"); +/** + * Given a child DOM element, returns a query-selector statement describing that + * and its ancestors + * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz] + * @returns generated DOM path + */ +function htmlTreeAsString(elem, keyAttrs) { + // try/catch both: + // - accessing event.target (see getsentry/raven-js#838, #768) + // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly + // - can throw an exception in some circumstances. + try { + var currentElem = elem; + var MAX_TRAVERSE_HEIGHT = 5; + var MAX_OUTPUT_LEN = 80; + var out = []; + var height = 0; + var len = 0; + var separator = ' > '; + var sepLength = separator.length; + var nextStr = void 0; + // eslint-disable-next-line no-plusplus + while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) { + nextStr = _htmlElementAsString(currentElem, keyAttrs); + // bail out if + // - nextStr is the 'html' element + // - the length of the string that would be created exceeds MAX_OUTPUT_LEN + // (ignore this limit if we are on the first iteration) + if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) { + break; + } + out.push(nextStr); + len += nextStr.length; + currentElem = currentElem.parentNode; + } + return out.reverse().join(separator); + } + catch (_oO) { + return ''; + } +} +exports.htmlTreeAsString = htmlTreeAsString; +/** + * Returns a simple, query-selector representation of a DOM element + * e.g. [HTMLElement] => input#foo.btn[name=baz] + * @returns generated DOM path + */ +function _htmlElementAsString(el, keyAttrs) { + var elem = el; + var out = []; + var className; + var classes; + var key; + var attr; + var i; + if (!elem || !elem.tagName) { + return ''; + } + out.push(elem.tagName.toLowerCase()); + // Pairs of attribute keys defined in `serializeAttribute` and their values on element. + var keyAttrPairs = keyAttrs && keyAttrs.length + ? keyAttrs.filter(function (keyAttr) { return elem.getAttribute(keyAttr); }).map(function (keyAttr) { return [keyAttr, elem.getAttribute(keyAttr)]; }) + : null; + if (keyAttrPairs && keyAttrPairs.length) { + keyAttrPairs.forEach(function (keyAttrPair) { + out.push("[" + keyAttrPair[0] + "=\"" + keyAttrPair[1] + "\"]"); + }); + } + else { + if (elem.id) { + out.push("#" + elem.id); + } + // eslint-disable-next-line prefer-const + className = elem.className; + if (className && is_1.isString(className)) { + classes = className.split(/\s+/); + for (i = 0; i < classes.length; i++) { + out.push("." + classes[i]); + } + } + } + var allowedAttrs = ['type', 'name', 'title', 'alt']; + for (i = 0; i < allowedAttrs.length; i++) { + key = allowedAttrs[i]; + attr = elem.getAttribute(key); + if (attr) { + out.push("[" + key + "=\"" + attr + "\"]"); + } + } + return out.join(''); +} +/** + * A safe form of location.href + */ +function getLocationHref() { + var global = global_1.getGlobalObject(); + try { + return global.document.location.href; + } + catch (oO) { + return ''; + } +} +exports.getLocationHref = getLocationHref; +//# sourceMappingURL=browser.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/browser.js.map b/node_modules/@sentry/utils/dist/browser.js.map new file mode 100644 index 000000000..45726f247 --- /dev/null +++ b/node_modules/@sentry/utils/dist/browser.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"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","sourcesContent":["import { getGlobalObject } from './global';\nimport { isString } from './is';\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nexport function htmlTreeAsString(elem: unknown, keyAttrs?: string[]): string {\n type SimpleNode = {\n parentNode: SimpleNode;\n } | null;\n\n // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n try {\n let currentElem = elem as SimpleNode;\n const MAX_TRAVERSE_HEIGHT = 5;\n const MAX_OUTPUT_LEN = 80;\n const out = [];\n let height = 0;\n let len = 0;\n const separator = ' > ';\n const sepLength = separator.length;\n let nextStr;\n\n // eslint-disable-next-line no-plusplus\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs);\n // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds MAX_OUTPUT_LEN\n // (ignore this limit if we are on the first iteration)\n if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) {\n break;\n }\n\n out.push(nextStr);\n\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '';\n }\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction _htmlElementAsString(el: unknown, keyAttrs?: string[]): string {\n const elem = el as {\n tagName?: string;\n id?: string;\n className?: string;\n getAttribute(key: string): string;\n };\n\n const out = [];\n let className;\n let classes;\n let key;\n let attr;\n let i;\n\n if (!elem || !elem.tagName) {\n return '';\n }\n\n out.push(elem.tagName.toLowerCase());\n\n // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n const keyAttrPairs =\n keyAttrs && keyAttrs.length\n ? keyAttrs.filter(keyAttr => elem.getAttribute(keyAttr)).map(keyAttr => [keyAttr, elem.getAttribute(keyAttr)])\n : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(keyAttrPair => {\n out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n });\n } else {\n if (elem.id) {\n out.push(`#${elem.id}`);\n }\n\n // eslint-disable-next-line prefer-const\n className = elem.className;\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n for (i = 0; i < classes.length; i++) {\n out.push(`.${classes[i]}`);\n }\n }\n }\n const allowedAttrs = ['type', 'name', 'title', 'alt'];\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n if (attr) {\n out.push(`[${key}=\"${attr}\"]`);\n }\n }\n return out.join('');\n}\n\n/**\n * A safe form of location.href\n */\nexport function getLocationHref(): string {\n const global = getGlobalObject();\n try {\n return global.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/dsn.d.ts b/node_modules/@sentry/utils/dist/dsn.d.ts new file mode 100644 index 000000000..914b5b198 --- /dev/null +++ b/node_modules/@sentry/utils/dist/dsn.d.ts @@ -0,0 +1,14 @@ +import { DsnComponents, DsnLike } from '@sentry/types'; +/** + * Renders the string representation of this Dsn. + * + * By default, this will render the public representation without the password + * component. To get the deprecated private representation, set `withPassword` + * to true. + * + * @param withPassword When set to true, the password will be included. + */ +export declare function dsnToString(dsn: DsnComponents, withPassword?: boolean): string; +/** The Sentry Dsn, identifying a Sentry instance and project. */ +export declare function makeDsn(from: DsnLike): DsnComponents; +//# sourceMappingURL=dsn.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/dsn.js b/node_modules/@sentry/utils/dist/dsn.js new file mode 100644 index 000000000..b0a06c5e9 --- /dev/null +++ b/node_modules/@sentry/utils/dist/dsn.js @@ -0,0 +1,92 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var env_1 = require("./env"); +var error_1 = require("./error"); +/** Regular expression used to parse a Dsn. */ +var DSN_REGEX = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/; +function isValidProtocol(protocol) { + return protocol === 'http' || protocol === 'https'; +} +/** + * Renders the string representation of this Dsn. + * + * By default, this will render the public representation without the password + * component. To get the deprecated private representation, set `withPassword` + * to true. + * + * @param withPassword When set to true, the password will be included. + */ +function dsnToString(dsn, withPassword) { + if (withPassword === void 0) { withPassword = false; } + var host = dsn.host, path = dsn.path, pass = dsn.pass, port = dsn.port, projectId = dsn.projectId, protocol = dsn.protocol, publicKey = dsn.publicKey; + return (protocol + "://" + publicKey + (withPassword && pass ? ":" + pass : '') + + ("@" + host + (port ? ":" + port : '') + "/" + (path ? path + "/" : path) + projectId)); +} +exports.dsnToString = dsnToString; +function dsnFromString(str) { + var match = DSN_REGEX.exec(str); + if (!match) { + throw new error_1.SentryError("Invalid Sentry Dsn: " + str); + } + var _a = tslib_1.__read(match.slice(1), 6), protocol = _a[0], publicKey = _a[1], _b = _a[2], pass = _b === void 0 ? '' : _b, host = _a[3], _c = _a[4], port = _c === void 0 ? '' : _c, lastPath = _a[5]; + var path = ''; + var projectId = lastPath; + var split = projectId.split('/'); + if (split.length > 1) { + path = split.slice(0, -1).join('/'); + projectId = split.pop(); + } + if (projectId) { + var projectMatch = projectId.match(/^\d+/); + if (projectMatch) { + projectId = projectMatch[0]; + } + } + return dsnFromComponents({ host: host, pass: pass, path: path, projectId: projectId, port: port, protocol: protocol, publicKey: publicKey }); +} +function dsnFromComponents(components) { + // TODO this is for backwards compatibility, and can be removed in a future version + if ('user' in components && !('publicKey' in components)) { + components.publicKey = components.user; + } + return { + user: components.publicKey || '', + protocol: components.protocol, + publicKey: components.publicKey || '', + pass: components.pass || '', + host: components.host, + port: components.port || '', + path: components.path || '', + projectId: components.projectId, + }; +} +function validateDsn(dsn) { + if (!env_1.isDebugBuild()) { + return; + } + var port = dsn.port, projectId = dsn.projectId, protocol = dsn.protocol; + var requiredComponents = ['protocol', 'publicKey', 'host', 'projectId']; + requiredComponents.forEach(function (component) { + if (!dsn[component]) { + throw new error_1.SentryError("Invalid Sentry Dsn: " + component + " missing"); + } + }); + if (!projectId.match(/^\d+$/)) { + throw new error_1.SentryError("Invalid Sentry Dsn: Invalid projectId " + projectId); + } + if (!isValidProtocol(protocol)) { + throw new error_1.SentryError("Invalid Sentry Dsn: Invalid protocol " + protocol); + } + if (port && isNaN(parseInt(port, 10))) { + throw new error_1.SentryError("Invalid Sentry Dsn: Invalid port " + port); + } + return true; +} +/** The Sentry Dsn, identifying a Sentry instance and project. */ +function makeDsn(from) { + var components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from); + validateDsn(components); + return components; +} +exports.makeDsn = makeDsn; +//# sourceMappingURL=dsn.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/dsn.js.map b/node_modules/@sentry/utils/dist/dsn.js.map new file mode 100644 index 000000000..cf427c4b5 --- /dev/null +++ b/node_modules/@sentry/utils/dist/dsn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dsn.js","sourceRoot":"","sources":["../src/dsn.ts"],"names":[],"mappings":"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","sourcesContent":["import { DsnComponents, DsnLike, DsnProtocol } from '@sentry/types';\n\nimport { isDebugBuild } from './env';\nimport { SentryError } from './error';\n\n/** Regular expression used to parse a Dsn. */\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+))?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol?: string): protocol is DsnProtocol {\n return protocol === 'http' || protocol === 'https';\n}\n\n/**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\nexport function dsnToString(dsn: DsnComponents, withPassword: boolean = false): string {\n const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n return (\n `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ''}` +\n `@${host}${port ? `:${port}` : ''}/${path ? `${path}/` : path}${projectId}`\n );\n}\n\nfunction dsnFromString(str: string): DsnComponents {\n const match = DSN_REGEX.exec(str);\n\n if (!match) {\n throw new SentryError(`Invalid Sentry Dsn: ${str}`);\n }\n\n const [protocol, publicKey, pass = '', host, port = '', lastPath] = match.slice(1);\n let path = '';\n let projectId = lastPath;\n\n const split = projectId.split('/');\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop() as string;\n }\n\n if (projectId) {\n const projectMatch = projectId.match(/^\\d+/);\n if (projectMatch) {\n projectId = projectMatch[0];\n }\n }\n\n return dsnFromComponents({ host, pass, path, projectId, port, protocol: protocol as DsnProtocol, publicKey });\n}\n\nfunction dsnFromComponents(components: DsnComponents): DsnComponents {\n // TODO this is for backwards compatibility, and can be removed in a future version\n if ('user' in components && !('publicKey' in components)) {\n components.publicKey = components.user;\n }\n\n return {\n user: components.publicKey || '',\n protocol: components.protocol,\n publicKey: components.publicKey || '',\n pass: components.pass || '',\n host: components.host,\n port: components.port || '',\n path: components.path || '',\n projectId: components.projectId,\n };\n}\n\nfunction validateDsn(dsn: DsnComponents): boolean | void {\n if (!isDebugBuild()) {\n return;\n }\n\n const { port, projectId, protocol } = dsn;\n\n const requiredComponents: ReadonlyArray = ['protocol', 'publicKey', 'host', 'projectId'];\n requiredComponents.forEach(component => {\n if (!dsn[component]) {\n throw new SentryError(`Invalid Sentry Dsn: ${component} missing`);\n }\n });\n\n if (!projectId.match(/^\\d+$/)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n }\n\n if (!isValidProtocol(protocol)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid port ${port}`);\n }\n\n return true;\n}\n\n/** The Sentry Dsn, identifying a Sentry instance and project. */\nexport function makeDsn(from: DsnLike): DsnComponents {\n const components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n\n validateDsn(components);\n\n return components;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/enums.d.ts b/node_modules/@sentry/utils/dist/enums.d.ts new file mode 100644 index 000000000..c8cf424d1 --- /dev/null +++ b/node_modules/@sentry/utils/dist/enums.d.ts @@ -0,0 +1,3 @@ +export declare const SeverityLevels: readonly ["fatal", "error", "warning", "log", "info", "debug", "critical"]; +export declare type SeverityLevel = typeof SeverityLevels[number]; +//# sourceMappingURL=enums.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/enums.js b/node_modules/@sentry/utils/dist/enums.js new file mode 100644 index 000000000..a411def55 --- /dev/null +++ b/node_modules/@sentry/utils/dist/enums.js @@ -0,0 +1,3 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical']; +//# sourceMappingURL=enums.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/enums.js.map b/node_modules/@sentry/utils/dist/enums.js.map new file mode 100644 index 000000000..4fbce3ee8 --- /dev/null +++ b/node_modules/@sentry/utils/dist/enums.js.map @@ -0,0 +1 @@ +{"version":3,"file":"enums.js","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":";AAAa,QAAA,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAU,CAAC","sourcesContent":["export const SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'] as const;\nexport type SeverityLevel = typeof SeverityLevels[number];\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/env.d.ts b/node_modules/@sentry/utils/dist/env.d.ts new file mode 100644 index 000000000..a3b94dc52 --- /dev/null +++ b/node_modules/@sentry/utils/dist/env.d.ts @@ -0,0 +1,23 @@ +/** + * This module mostly exists for optimizations in the build process + * through rollup and terser. We define some global constants which + * are normally undefined. However terser overrides these with global + * definitions which can be evaluated by the static analyzer when + * creating a bundle. + * + * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure + * and can help us remove unused code from the bundles. + */ +/** + * Figures out if we're building with debug functionality. + * + * @returns true if this is a debug build + */ +export declare function isDebugBuild(): boolean; +/** + * Figures out if we're building a browser bundle. + * + * @returns true if this is a browser bundle build. + */ +export declare function isBrowserBundle(): boolean; +//# sourceMappingURL=env.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/env.js b/node_modules/@sentry/utils/dist/env.js new file mode 100644 index 000000000..8bf717f07 --- /dev/null +++ b/node_modules/@sentry/utils/dist/env.js @@ -0,0 +1,30 @@ +/** + * This module mostly exists for optimizations in the build process + * through rollup and terser. We define some global constants which + * are normally undefined. However terser overrides these with global + * definitions which can be evaluated by the static analyzer when + * creating a bundle. + * + * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure + * and can help us remove unused code from the bundles. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Figures out if we're building with debug functionality. + * + * @returns true if this is a debug build + */ +function isDebugBuild() { + return typeof __SENTRY_NO_DEBUG__ !== 'undefined' && !__SENTRY_BROWSER_BUNDLE__; +} +exports.isDebugBuild = isDebugBuild; +/** + * Figures out if we're building a browser bundle. + * + * @returns true if this is a browser bundle build. + */ +function isBrowserBundle() { + return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__; +} +exports.isBrowserBundle = isBrowserBundle; +//# sourceMappingURL=env.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/env.js.map b/node_modules/@sentry/utils/dist/env.js.map new file mode 100644 index 000000000..689d2f2b2 --- /dev/null +++ b/node_modules/@sentry/utils/dist/env.js.map @@ -0,0 +1 @@ +{"version":3,"file":"env.js","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;;AAKH;;;;GAIG;AACH,SAAgB,YAAY;IAC1B,OAAO,OAAO,mBAAmB,KAAK,WAAW,IAAI,CAAC,yBAAyB,CAAC;AAClF,CAAC;AAFD,oCAEC;AAED;;;;GAIG;AACH,SAAgB,eAAe;IAC7B,OAAO,OAAO,yBAAyB,KAAK,WAAW,IAAI,CAAC,CAAC,yBAAyB,CAAC;AACzF,CAAC;AAFD,0CAEC","sourcesContent":["/**\n * This module mostly exists for optimizations in the build process\n * through rollup and terser. We define some global constants which\n * are normally undefined. However terser overrides these with global\n * definitions which can be evaluated by the static analyzer when\n * creating a bundle.\n *\n * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure\n * and can help us remove unused code from the bundles.\n */\n\ndeclare const __SENTRY_BROWSER_BUNDLE__: boolean | undefined;\ndeclare const __SENTRY_NO_DEBUG__: boolean | undefined;\n\n/**\n * Figures out if we're building with debug functionality.\n *\n * @returns true if this is a debug build\n */\nexport function isDebugBuild(): boolean {\n return typeof __SENTRY_NO_DEBUG__ !== 'undefined' && !__SENTRY_BROWSER_BUNDLE__;\n}\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nexport function isBrowserBundle(): boolean {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/error.d.ts b/node_modules/@sentry/utils/dist/error.d.ts new file mode 100644 index 000000000..4f3e56cd6 --- /dev/null +++ b/node_modules/@sentry/utils/dist/error.d.ts @@ -0,0 +1,8 @@ +/** An error emitted by Sentry SDKs and related utilities. */ +export declare class SentryError extends Error { + message: string; + /** Display name of this error instance. */ + name: string; + constructor(message: string); +} +//# sourceMappingURL=error.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/error.js b/node_modules/@sentry/utils/dist/error.js new file mode 100644 index 000000000..71e11382b --- /dev/null +++ b/node_modules/@sentry/utils/dist/error.js @@ -0,0 +1,18 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var polyfill_1 = require("./polyfill"); +/** An error emitted by Sentry SDKs and related utilities. */ +var SentryError = /** @class */ (function (_super) { + tslib_1.__extends(SentryError, _super); + function SentryError(message) { + var _newTarget = this.constructor; + var _this = _super.call(this, message) || this; + _this.message = message; + _this.name = _newTarget.prototype.constructor.name; + polyfill_1.setPrototypeOf(_this, _newTarget.prototype); + return _this; + } + return SentryError; +}(Error)); +exports.SentryError = SentryError; +//# sourceMappingURL=error.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/error.js.map b/node_modules/@sentry/utils/dist/error.js.map new file mode 100644 index 000000000..7f60ac7c9 --- /dev/null +++ b/node_modules/@sentry/utils/dist/error.js.map @@ -0,0 +1 @@ +{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":";;AAAA,uCAA4C;AAE5C,6DAA6D;AAC7D;IAAiC,uCAAK;IAIpC,qBAA0B,OAAe;;QAAzC,YACE,kBAAM,OAAO,CAAC,SAIf;QALyB,aAAO,GAAP,OAAO,CAAQ;QAGvC,KAAI,CAAC,IAAI,GAAG,WAAW,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC;QAClD,yBAAc,CAAC,KAAI,EAAE,WAAW,SAAS,CAAC,CAAC;;IAC7C,CAAC;IACH,kBAAC;AAAD,CAAC,AAVD,CAAiC,KAAK,GAUrC;AAVY,kCAAW","sourcesContent":["import { setPrototypeOf } from './polyfill';\n\n/** An error emitted by Sentry SDKs and related utilities. */\nexport class SentryError extends Error {\n /** Display name of this error instance. */\n public name: string;\n\n public constructor(public message: string) {\n super(message);\n\n this.name = new.target.prototype.constructor.name;\n setPrototypeOf(this, new.target.prototype);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/global.d.ts b/node_modules/@sentry/utils/dist/global.d.ts new file mode 100644 index 000000000..736086e1b --- /dev/null +++ b/node_modules/@sentry/utils/dist/global.d.ts @@ -0,0 +1,29 @@ +/** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ +import { Integration } from '@sentry/types'; +/** Internal */ +interface SentryGlobal { + Sentry?: { + Integrations?: Integration[]; + }; + SENTRY_ENVIRONMENT?: string; + SENTRY_DSN?: string; + SENTRY_RELEASE?: { + id?: string; + }; + __SENTRY__: { + globalEventProcessors: any; + hub: any; + logger: any; + }; +} +/** + * Safely get global scope object + * + * @returns Global scope object + */ +export declare function getGlobalObject(): T & SentryGlobal; +export {}; +//# sourceMappingURL=global.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/global.js b/node_modules/@sentry/utils/dist/global.js new file mode 100644 index 000000000..4d0116ab3 --- /dev/null +++ b/node_modules/@sentry/utils/dist/global.js @@ -0,0 +1,23 @@ +/** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var node_1 = require("./node"); +var fallbackGlobalObject = {}; +/** + * Safely get global scope object + * + * @returns Global scope object + */ +function getGlobalObject() { + return (node_1.isNodeEnv() + ? global + : typeof window !== 'undefined' // eslint-disable-line no-restricted-globals + ? window // eslint-disable-line no-restricted-globals + : typeof self !== 'undefined' + ? self + : fallbackGlobalObject); +} +exports.getGlobalObject = getGlobalObject; +//# sourceMappingURL=global.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/global.js.map b/node_modules/@sentry/utils/dist/global.js.map new file mode 100644 index 000000000..85582ef18 --- /dev/null +++ b/node_modules/@sentry/utils/dist/global.js.map @@ -0,0 +1 @@ +{"version":3,"file":"global.js","sourceRoot":"","sources":["../src/global.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAMH,+BAAmC;AAmBnC,IAAM,oBAAoB,GAAG,EAAE,CAAC;AAEhC;;;;GAIG;AACH,SAAgB,eAAe;IAC7B,OAAO,CACL,gBAAS,EAAE;QACT,CAAC,CAAC,MAAM;QACR,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,4CAA4C;YAC5E,CAAC,CAAC,MAAM,CAAC,4CAA4C;YACrD,CAAC,CAAC,OAAO,IAAI,KAAK,WAAW;gBAC7B,CAAC,CAAC,IAAI;gBACN,CAAC,CAAC,oBAAoB,CACL,CAAC;AACxB,CAAC;AAVD,0CAUC","sourcesContent":["/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Integration } from '@sentry/types';\n\nimport { isNodeEnv } from './node';\n\n/** Internal */\ninterface SentryGlobal {\n Sentry?: {\n Integrations?: Integration[];\n };\n SENTRY_ENVIRONMENT?: string;\n SENTRY_DSN?: string;\n SENTRY_RELEASE?: {\n id?: string;\n };\n __SENTRY__: {\n globalEventProcessors: any;\n hub: any;\n logger: any;\n };\n}\n\nconst fallbackGlobalObject = {};\n\n/**\n * Safely get global scope object\n *\n * @returns Global scope object\n */\nexport function getGlobalObject(): T & SentryGlobal {\n return (\n isNodeEnv()\n ? global\n : typeof window !== 'undefined' // eslint-disable-line no-restricted-globals\n ? window // eslint-disable-line no-restricted-globals\n : typeof self !== 'undefined'\n ? self\n : fallbackGlobalObject\n ) as T & SentryGlobal;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/index.d.ts b/node_modules/@sentry/utils/dist/index.d.ts new file mode 100644 index 000000000..7a04cf6e0 --- /dev/null +++ b/node_modules/@sentry/utils/dist/index.d.ts @@ -0,0 +1,24 @@ +export * from './async'; +export * from './browser'; +export * from './dsn'; +export * from './enums'; +export * from './error'; +export * from './global'; +export * from './instrument'; +export * from './is'; +export * from './logger'; +export * from './memo'; +export * from './misc'; +export * from './node'; +export * from './object'; +export * from './path'; +export * from './promisebuffer'; +export * from './severity'; +export * from './stacktrace'; +export * from './status'; +export * from './string'; +export * from './supports'; +export * from './syncpromise'; +export * from './time'; +export * from './env'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/index.js b/node_modules/@sentry/utils/dist/index.js new file mode 100644 index 000000000..a3d75ad45 --- /dev/null +++ b/node_modules/@sentry/utils/dist/index.js @@ -0,0 +1,26 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +tslib_1.__exportStar(require("./async"), exports); +tslib_1.__exportStar(require("./browser"), exports); +tslib_1.__exportStar(require("./dsn"), exports); +tslib_1.__exportStar(require("./enums"), exports); +tslib_1.__exportStar(require("./error"), exports); +tslib_1.__exportStar(require("./global"), exports); +tslib_1.__exportStar(require("./instrument"), exports); +tslib_1.__exportStar(require("./is"), exports); +tslib_1.__exportStar(require("./logger"), exports); +tslib_1.__exportStar(require("./memo"), exports); +tslib_1.__exportStar(require("./misc"), exports); +tslib_1.__exportStar(require("./node"), exports); +tslib_1.__exportStar(require("./object"), exports); +tslib_1.__exportStar(require("./path"), exports); +tslib_1.__exportStar(require("./promisebuffer"), exports); +tslib_1.__exportStar(require("./severity"), exports); +tslib_1.__exportStar(require("./stacktrace"), exports); +tslib_1.__exportStar(require("./status"), exports); +tslib_1.__exportStar(require("./string"), exports); +tslib_1.__exportStar(require("./supports"), exports); +tslib_1.__exportStar(require("./syncpromise"), exports); +tslib_1.__exportStar(require("./time"), exports); +tslib_1.__exportStar(require("./env"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/index.js.map b/node_modules/@sentry/utils/dist/index.js.map new file mode 100644 index 000000000..d65ec64d0 --- /dev/null +++ b/node_modules/@sentry/utils/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,kDAAwB;AACxB,oDAA0B;AAC1B,gDAAsB;AACtB,kDAAwB;AACxB,kDAAwB;AACxB,mDAAyB;AACzB,uDAA6B;AAC7B,+CAAqB;AACrB,mDAAyB;AACzB,iDAAuB;AACvB,iDAAuB;AACvB,iDAAuB;AACvB,mDAAyB;AACzB,iDAAuB;AACvB,0DAAgC;AAChC,qDAA2B;AAC3B,uDAA6B;AAC7B,mDAAyB;AACzB,mDAAyB;AACzB,qDAA2B;AAC3B,wDAA8B;AAC9B,iDAAuB;AACvB,gDAAsB","sourcesContent":["export * from './async';\nexport * from './browser';\nexport * from './dsn';\nexport * from './enums';\nexport * from './error';\nexport * from './global';\nexport * from './instrument';\nexport * from './is';\nexport * from './logger';\nexport * from './memo';\nexport * from './misc';\nexport * from './node';\nexport * from './object';\nexport * from './path';\nexport * from './promisebuffer';\nexport * from './severity';\nexport * from './stacktrace';\nexport * from './status';\nexport * from './string';\nexport * from './supports';\nexport * from './syncpromise';\nexport * from './time';\nexport * from './env';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/instrument.d.ts b/node_modules/@sentry/utils/dist/instrument.d.ts new file mode 100644 index 000000000..91e0c2505 --- /dev/null +++ b/node_modules/@sentry/utils/dist/instrument.d.ts @@ -0,0 +1,10 @@ +declare type InstrumentHandlerType = 'console' | 'dom' | 'fetch' | 'history' | 'sentry' | 'xhr' | 'error' | 'unhandledrejection'; +declare type InstrumentHandlerCallback = (data: any) => void; +/** + * Add handler that will be called when given type of instrumentation triggers. + * Use at your own risk, this might break without changelog notice, only used internally. + * @hidden + */ +export declare function addInstrumentationHandler(type: InstrumentHandlerType, callback: InstrumentHandlerCallback): void; +export {}; +//# sourceMappingURL=instrument.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/instrument.js b/node_modules/@sentry/utils/dist/instrument.js new file mode 100644 index 000000000..847495653 --- /dev/null +++ b/node_modules/@sentry/utils/dist/instrument.js @@ -0,0 +1,526 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var env_1 = require("./env"); +var global_1 = require("./global"); +var is_1 = require("./is"); +var logger_1 = require("./logger"); +var object_1 = require("./object"); +var stacktrace_1 = require("./stacktrace"); +var supports_1 = require("./supports"); +var global = global_1.getGlobalObject(); +/** + * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc. + * - Console API + * - Fetch API + * - XHR API + * - History API + * - DOM API (click/typing) + * - Error API + * - UnhandledRejection API + */ +var handlers = {}; +var instrumented = {}; +/** Instruments given API */ +function instrument(type) { + if (instrumented[type]) { + return; + } + instrumented[type] = true; + switch (type) { + case 'console': + instrumentConsole(); + break; + case 'dom': + instrumentDOM(); + break; + case 'xhr': + instrumentXHR(); + break; + case 'fetch': + instrumentFetch(); + break; + case 'history': + instrumentHistory(); + break; + case 'error': + instrumentError(); + break; + case 'unhandledrejection': + instrumentUnhandledRejection(); + break; + default: + logger_1.logger.warn('unknown instrumentation type:', type); + } +} +/** + * Add handler that will be called when given type of instrumentation triggers. + * Use at your own risk, this might break without changelog notice, only used internally. + * @hidden + */ +function addInstrumentationHandler(type, callback) { + handlers[type] = handlers[type] || []; + handlers[type].push(callback); + instrument(type); +} +exports.addInstrumentationHandler = addInstrumentationHandler; +/** JSDoc */ +function triggerHandlers(type, data) { + var e_1, _a; + if (!type || !handlers[type]) { + return; + } + try { + for (var _b = tslib_1.__values(handlers[type] || []), _c = _b.next(); !_c.done; _c = _b.next()) { + var handler = _c.value; + try { + handler(data); + } + catch (e) { + if (env_1.isDebugBuild()) { + logger_1.logger.error("Error while triggering instrumentation handler.\nType: " + type + "\nName: " + stacktrace_1.getFunctionName(handler) + "\nError: " + e); + } + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } +} +/** JSDoc */ +function instrumentConsole() { + if (!('console' in global)) { + return; + } + ['debug', 'info', 'warn', 'error', 'log', 'assert'].forEach(function (level) { + if (!(level in global.console)) { + return; + } + object_1.fill(global.console, level, function (originalConsoleMethod) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + triggerHandlers('console', { args: args, level: level }); + // this fails for some browsers. :( + if (originalConsoleMethod) { + originalConsoleMethod.apply(global.console, args); + } + }; + }); + }); +} +/** JSDoc */ +function instrumentFetch() { + if (!supports_1.supportsNativeFetch()) { + return; + } + object_1.fill(global, 'fetch', function (originalFetch) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var handlerData = { + args: args, + fetchData: { + method: getFetchMethod(args), + url: getFetchUrl(args), + }, + startTimestamp: Date.now(), + }; + triggerHandlers('fetch', tslib_1.__assign({}, handlerData)); + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return originalFetch.apply(global, args).then(function (response) { + triggerHandlers('fetch', tslib_1.__assign(tslib_1.__assign({}, handlerData), { endTimestamp: Date.now(), response: response })); + return response; + }, function (error) { + triggerHandlers('fetch', tslib_1.__assign(tslib_1.__assign({}, handlerData), { endTimestamp: Date.now(), error: error })); + // NOTE: If you are a Sentry user, and you are seeing this stack frame, + // it means the sentry.javascript SDK caught an error invoking your application code. + // This is expected behavior and NOT indicative of a bug with sentry.javascript. + throw error; + }); + }; + }); +} +/* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/** Extract `method` from fetch call arguments */ +function getFetchMethod(fetchArgs) { + if (fetchArgs === void 0) { fetchArgs = []; } + if ('Request' in global && is_1.isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) { + return String(fetchArgs[0].method).toUpperCase(); + } + if (fetchArgs[1] && fetchArgs[1].method) { + return String(fetchArgs[1].method).toUpperCase(); + } + return 'GET'; +} +/** Extract `url` from fetch call arguments */ +function getFetchUrl(fetchArgs) { + if (fetchArgs === void 0) { fetchArgs = []; } + if (typeof fetchArgs[0] === 'string') { + return fetchArgs[0]; + } + if ('Request' in global && is_1.isInstanceOf(fetchArgs[0], Request)) { + return fetchArgs[0].url; + } + return String(fetchArgs[0]); +} +/* eslint-enable @typescript-eslint/no-unsafe-member-access */ +/** JSDoc */ +function instrumentXHR() { + if (!('XMLHttpRequest' in global)) { + return; + } + var xhrproto = XMLHttpRequest.prototype; + object_1.fill(xhrproto, 'open', function (originalOpen) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + // eslint-disable-next-line @typescript-eslint/no-this-alias + var xhr = this; + var url = args[1]; + var xhrInfo = (xhr.__sentry_xhr__ = { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + method: is_1.isString(args[0]) ? args[0].toUpperCase() : args[0], + url: args[1], + }); + // if Sentry key appears in URL, don't capture it as a request + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (is_1.isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) { + xhr.__sentry_own_request__ = true; + } + var onreadystatechangeHandler = function () { + if (xhr.readyState === 4) { + try { + // touching statusCode in some platforms throws + // an exception + xhrInfo.status_code = xhr.status; + } + catch (e) { + /* do nothing */ + } + triggerHandlers('xhr', { + args: args, + endTimestamp: Date.now(), + startTimestamp: Date.now(), + xhr: xhr, + }); + } + }; + if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') { + object_1.fill(xhr, 'onreadystatechange', function (original) { + return function () { + var readyStateArgs = []; + for (var _i = 0; _i < arguments.length; _i++) { + readyStateArgs[_i] = arguments[_i]; + } + onreadystatechangeHandler(); + return original.apply(xhr, readyStateArgs); + }; + }); + } + else { + xhr.addEventListener('readystatechange', onreadystatechangeHandler); + } + return originalOpen.apply(xhr, args); + }; + }); + object_1.fill(xhrproto, 'send', function (originalSend) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (this.__sentry_xhr__ && args[0] !== undefined) { + this.__sentry_xhr__.body = args[0]; + } + triggerHandlers('xhr', { + args: args, + startTimestamp: Date.now(), + xhr: this, + }); + return originalSend.apply(this, args); + }; + }); +} +var lastHref; +/** JSDoc */ +function instrumentHistory() { + if (!supports_1.supportsHistory()) { + return; + } + var oldOnPopState = global.onpopstate; + global.onpopstate = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var to = global.location.href; + // keep track of the current URL state, as we always receive only the updated state + var from = lastHref; + lastHref = to; + triggerHandlers('history', { + from: from, + to: to, + }); + if (oldOnPopState) { + // Apparently this can throw in Firefox when incorrectly implemented plugin is installed. + // https://github.com/getsentry/sentry-javascript/issues/3344 + // https://github.com/bugsnag/bugsnag-js/issues/469 + try { + return oldOnPopState.apply(this, args); + } + catch (_oO) { + // no-empty + } + } + }; + /** @hidden */ + function historyReplacementFunction(originalHistoryFunction) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var url = args.length > 2 ? args[2] : undefined; + if (url) { + // coerce to string (this is what pushState does) + var from = lastHref; + var to = String(url); + // keep track of the current URL state, as we always receive only the updated state + lastHref = to; + triggerHandlers('history', { + from: from, + to: to, + }); + } + return originalHistoryFunction.apply(this, args); + }; + } + object_1.fill(global.history, 'pushState', historyReplacementFunction); + object_1.fill(global.history, 'replaceState', historyReplacementFunction); +} +var debounceDuration = 1000; +var debounceTimerID; +var lastCapturedEvent; +/** + * Decide whether the current event should finish the debounce of previously captured one. + * @param previous previously captured event + * @param current event to be captured + */ +function shouldShortcircuitPreviousDebounce(previous, current) { + // If there was no previous event, it should always be swapped for the new one. + if (!previous) { + return true; + } + // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress. + if (previous.type !== current.type) { + return true; + } + try { + // If both events have the same type, it's still possible that actions were performed on different targets. + // e.g. 2 clicks on different buttons. + if (previous.target !== current.target) { + return true; + } + } + catch (e) { + // just accessing `target` property can throw an exception in some rare circumstances + // see: https://github.com/getsentry/sentry-javascript/issues/838 + } + // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_ + // to which an event listener was attached), we treat them as the same action, as we want to capture + // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box. + return false; +} +/** + * Decide whether an event should be captured. + * @param event event to be captured + */ +function shouldSkipDOMEvent(event) { + // We are only interested in filtering `keypress` events for now. + if (event.type !== 'keypress') { + return false; + } + try { + var target = event.target; + if (!target || !target.tagName) { + return true; + } + // Only consider keypress events on actual input elements. This will disregard keypresses targeting body + // e.g.tabbing through elements, hotkeys, etc. + if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) { + return false; + } + } + catch (e) { + // just accessing `target` property can throw an exception in some rare circumstances + // see: https://github.com/getsentry/sentry-javascript/issues/838 + } + return true; +} +/** + * Wraps addEventListener to capture UI breadcrumbs + * @param handler function that will be triggered + * @param globalListener indicates whether event was captured by the global event listener + * @returns wrapped breadcrumb events handler + * @hidden + */ +function makeDOMEventHandler(handler, globalListener) { + if (globalListener === void 0) { globalListener = false; } + return function (event) { + // It's possible this handler might trigger multiple times for the same + // event (e.g. event propagation through node ancestors). + // Ignore if we've already captured that event. + if (!event || lastCapturedEvent === event) { + return; + } + // We always want to skip _some_ events. + if (shouldSkipDOMEvent(event)) { + return; + } + var name = event.type === 'keypress' ? 'input' : event.type; + // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons. + if (debounceTimerID === undefined) { + handler({ + event: event, + name: name, + global: globalListener, + }); + lastCapturedEvent = event; + } + // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one. + // If that's the case, emit the previous event and store locally the newly-captured DOM event. + else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) { + handler({ + event: event, + name: name, + global: globalListener, + }); + lastCapturedEvent = event; + } + // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together. + clearTimeout(debounceTimerID); + debounceTimerID = global.setTimeout(function () { + debounceTimerID = undefined; + }, debounceDuration); + }; +} +/** JSDoc */ +function instrumentDOM() { + if (!('document' in global)) { + return; + } + // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom + // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before + // we instrument `addEventListener` so that we don't end up attaching this handler twice. + var triggerDOMHandler = triggerHandlers.bind(null, 'dom'); + var globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true); + global.document.addEventListener('click', globalDOMEventHandler, false); + global.document.addEventListener('keypress', globalDOMEventHandler, false); + // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled + // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That + // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler + // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still + // guaranteed to fire at least once.) + ['EventTarget', 'Node'].forEach(function (target) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var proto = global[target] && global[target].prototype; + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins + if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) { + return; + } + object_1.fill(proto, 'addEventListener', function (originalAddEventListener) { + return function (type, listener, options) { + if (type === 'click' || type == 'keypress') { + try { + var el = this; + var handlers_1 = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {}); + var handlerForType = (handlers_1[type] = handlers_1[type] || { refCount: 0 }); + if (!handlerForType.handler) { + var handler = makeDOMEventHandler(triggerDOMHandler); + handlerForType.handler = handler; + originalAddEventListener.call(this, type, handler, options); + } + handlerForType.refCount += 1; + } + catch (e) { + // Accessing dom properties is always fragile. + // Also allows us to skip `addEventListenrs` calls with no proper `this` context. + } + } + return originalAddEventListener.call(this, type, listener, options); + }; + }); + object_1.fill(proto, 'removeEventListener', function (originalRemoveEventListener) { + return function (type, listener, options) { + if (type === 'click' || type == 'keypress') { + try { + var el = this; + var handlers_2 = el.__sentry_instrumentation_handlers__ || {}; + var handlerForType = handlers_2[type]; + if (handlerForType) { + handlerForType.refCount -= 1; + // If there are no longer any custom handlers of the current type on this element, we can remove ours, too. + if (handlerForType.refCount <= 0) { + originalRemoveEventListener.call(this, type, handlerForType.handler, options); + handlerForType.handler = undefined; + delete handlers_2[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete + } + // If there are no longer any custom handlers of any type on this element, cleanup everything. + if (Object.keys(handlers_2).length === 0) { + delete el.__sentry_instrumentation_handlers__; + } + } + } + catch (e) { + // Accessing dom properties is always fragile. + // Also allows us to skip `addEventListenrs` calls with no proper `this` context. + } + } + return originalRemoveEventListener.call(this, type, listener, options); + }; + }); + }); +} +var _oldOnErrorHandler = null; +/** JSDoc */ +function instrumentError() { + _oldOnErrorHandler = global.onerror; + global.onerror = function (msg, url, line, column, error) { + triggerHandlers('error', { + column: column, + error: error, + line: line, + msg: msg, + url: url, + }); + if (_oldOnErrorHandler) { + // eslint-disable-next-line prefer-rest-params + return _oldOnErrorHandler.apply(this, arguments); + } + return false; + }; +} +var _oldOnUnhandledRejectionHandler = null; +/** JSDoc */ +function instrumentUnhandledRejection() { + _oldOnUnhandledRejectionHandler = global.onunhandledrejection; + global.onunhandledrejection = function (e) { + triggerHandlers('unhandledrejection', e); + if (_oldOnUnhandledRejectionHandler) { + // eslint-disable-next-line prefer-rest-params + return _oldOnUnhandledRejectionHandler.apply(this, arguments); + } + return true; + }; +} +//# sourceMappingURL=instrument.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/instrument.js.map b/node_modules/@sentry/utils/dist/instrument.js.map new file mode 100644 index 000000000..c4539b769 --- /dev/null +++ b/node_modules/@sentry/utils/dist/instrument.js.map @@ -0,0 +1 @@ +{"version":3,"file":"instrument.js","sourceRoot":"","sources":["../src/instrument.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { isDebugBuild } from './env';\nimport { getGlobalObject } from './global';\nimport { isInstanceOf, isString } from './is';\nimport { logger } from './logger';\nimport { fill } from './object';\nimport { getFunctionName } from './stacktrace';\nimport { supportsHistory, supportsNativeFetch } from './supports';\n\nconst global = getGlobalObject();\n\ntype InstrumentHandlerType =\n | 'console'\n | 'dom'\n | 'fetch'\n | 'history'\n | 'sentry'\n | 'xhr'\n | 'error'\n | 'unhandledrejection';\ntype InstrumentHandlerCallback = (data: any) => void;\n\n/**\n * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc.\n * - Console API\n * - Fetch API\n * - XHR API\n * - History API\n * - DOM API (click/typing)\n * - Error API\n * - UnhandledRejection API\n */\n\nconst handlers: { [key in InstrumentHandlerType]?: InstrumentHandlerCallback[] } = {};\nconst instrumented: { [key in InstrumentHandlerType]?: boolean } = {};\n\n/** Instruments given API */\nfunction instrument(type: InstrumentHandlerType): void {\n if (instrumented[type]) {\n return;\n }\n\n instrumented[type] = true;\n\n switch (type) {\n case 'console':\n instrumentConsole();\n break;\n case 'dom':\n instrumentDOM();\n break;\n case 'xhr':\n instrumentXHR();\n break;\n case 'fetch':\n instrumentFetch();\n break;\n case 'history':\n instrumentHistory();\n break;\n case 'error':\n instrumentError();\n break;\n case 'unhandledrejection':\n instrumentUnhandledRejection();\n break;\n default:\n logger.warn('unknown instrumentation type:', type);\n }\n}\n\n/**\n * Add handler that will be called when given type of instrumentation triggers.\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nexport function addInstrumentationHandler(type: InstrumentHandlerType, callback: InstrumentHandlerCallback): void {\n handlers[type] = handlers[type] || [];\n (handlers[type] as InstrumentHandlerCallback[]).push(callback);\n instrument(type);\n}\n\n/** JSDoc */\nfunction triggerHandlers(type: InstrumentHandlerType, data: any): void {\n if (!type || !handlers[type]) {\n return;\n }\n\n for (const handler of handlers[type] || []) {\n try {\n handler(data);\n } catch (e) {\n if (isDebugBuild()) {\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(\n handler,\n )}\\nError: ${e}`,\n );\n }\n }\n }\n}\n\n/** JSDoc */\nfunction instrumentConsole(): void {\n if (!('console' in global)) {\n return;\n }\n\n ['debug', 'info', 'warn', 'error', 'log', 'assert'].forEach(function (level: string): void {\n if (!(level in global.console)) {\n return;\n }\n\n fill(global.console, level, function (originalConsoleMethod: () => any): Function {\n return function (...args: any[]): void {\n triggerHandlers('console', { args, level });\n\n // this fails for some browsers. :(\n if (originalConsoleMethod) {\n originalConsoleMethod.apply(global.console, args);\n }\n };\n });\n });\n}\n\n/** JSDoc */\nfunction instrumentFetch(): void {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(global, 'fetch', function (originalFetch: () => void): () => void {\n return function (...args: any[]): void {\n const handlerData = {\n args,\n fetchData: {\n method: getFetchMethod(args),\n url: getFetchUrl(args),\n },\n startTimestamp: Date.now(),\n };\n\n triggerHandlers('fetch', {\n ...handlerData,\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(global, args).then(\n (response: Response) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n response,\n });\n return response;\n },\n (error: Error) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n error,\n });\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n throw error;\n },\n );\n };\n });\n}\n\ntype XHRSendInput = null | Blob | BufferSource | FormData | URLSearchParams | string;\n\n/** JSDoc */\ninterface SentryWrappedXMLHttpRequest extends XMLHttpRequest {\n [key: string]: any;\n __sentry_xhr__?: {\n method?: string;\n url?: string;\n status_code?: number;\n body?: XHRSendInput;\n };\n}\n\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/** Extract `method` from fetch call arguments */\nfunction getFetchMethod(fetchArgs: any[] = []): string {\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) {\n return String(fetchArgs[0].method).toUpperCase();\n }\n if (fetchArgs[1] && fetchArgs[1].method) {\n return String(fetchArgs[1].method).toUpperCase();\n }\n return 'GET';\n}\n\n/** Extract `url` from fetch call arguments */\nfunction getFetchUrl(fetchArgs: any[] = []): string {\n if (typeof fetchArgs[0] === 'string') {\n return fetchArgs[0];\n }\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request)) {\n return fetchArgs[0].url;\n }\n return String(fetchArgs[0]);\n}\n/* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n/** JSDoc */\nfunction instrumentXHR(): void {\n if (!('XMLHttpRequest' in global)) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n fill(xhrproto, 'open', function (originalOpen: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const url = args[1];\n const xhrInfo: SentryWrappedXMLHttpRequest['__sentry_xhr__'] = (xhr.__sentry_xhr__ = {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n method: isString(args[0]) ? args[0].toUpperCase() : args[0],\n url: args[1],\n });\n\n // if Sentry key appears in URL, don't capture it as a request\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) {\n xhr.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler = function (): void {\n if (xhr.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = xhr.status;\n } catch (e) {\n /* do nothing */\n }\n\n triggerHandlers('xhr', {\n args,\n endTimestamp: Date.now(),\n startTimestamp: Date.now(),\n xhr,\n });\n }\n };\n\n if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') {\n fill(xhr, 'onreadystatechange', function (original: WrappedFunction): Function {\n return function (...readyStateArgs: any[]): void {\n onreadystatechangeHandler();\n return original.apply(xhr, readyStateArgs);\n };\n });\n } else {\n xhr.addEventListener('readystatechange', onreadystatechangeHandler);\n }\n\n return originalOpen.apply(xhr, args);\n };\n });\n\n fill(xhrproto, 'send', function (originalSend: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n if (this.__sentry_xhr__ && args[0] !== undefined) {\n this.__sentry_xhr__.body = args[0];\n }\n\n triggerHandlers('xhr', {\n args,\n startTimestamp: Date.now(),\n xhr: this,\n });\n\n return originalSend.apply(this, args);\n };\n });\n}\n\nlet lastHref: string;\n\n/** JSDoc */\nfunction instrumentHistory(): void {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = global.onpopstate;\n global.onpopstate = function (this: WindowEventHandlers, ...args: any[]): any {\n const to = global.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n /** @hidden */\n function historyReplacementFunction(originalHistoryFunction: () => void): () => void {\n return function (this: History, ...args: any[]): void {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(global.history, 'pushState', historyReplacementFunction);\n fill(global.history, 'replaceState', historyReplacementFunction);\n}\n\nconst debounceDuration = 1000;\nlet debounceTimerID: number | undefined;\nlet lastCapturedEvent: Event | undefined;\n\n/**\n * Decide whether the current event should finish the debounce of previously captured one.\n * @param previous previously captured event\n * @param current event to be captured\n */\nfunction shouldShortcircuitPreviousDebounce(previous: Event | undefined, current: Event): boolean {\n // If there was no previous event, it should always be swapped for the new one.\n if (!previous) {\n return true;\n }\n\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (previous.type !== current.type) {\n return true;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (previous.target !== current.target) {\n return true;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return false;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(event: Event): boolean {\n // We are only interested in filtering `keypress` events for now.\n if (event.type !== 'keypress') {\n return false;\n }\n\n try {\n const target = event.target as HTMLElement;\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n * @param handler function that will be triggered\n * @param globalListener indicates whether event was captured by the global event listener\n * @returns wrapped breadcrumb events handler\n * @hidden\n */\nfunction makeDOMEventHandler(handler: Function, globalListener: boolean = false): (event: Event) => void {\n return (event: Event): void => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || lastCapturedEvent === event) {\n return;\n }\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event)) {\n return;\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons.\n if (debounceTimerID === undefined) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = global.setTimeout(() => {\n debounceTimerID = undefined;\n }, debounceDuration);\n };\n}\n\ntype AddEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n) => void;\ntype RemoveEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n) => void;\n\ntype InstrumentedElement = Element & {\n __sentry_instrumentation_handlers__?: {\n [key in 'click' | 'keypress']?: {\n handler?: Function;\n /** The number of custom listeners attached to this element */\n refCount: number;\n };\n };\n};\n\n/** JSDoc */\nfunction instrumentDOM(): void {\n if (!('document' in global)) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n global.document.addEventListener('click', globalDOMEventHandler, false);\n global.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target: string) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = (global as any)[target] && (global as any)[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener: AddEventListener): AddEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): AddEventListener {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount += 1;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener: RemoveEventListener): RemoveEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount -= 1;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\nlet _oldOnErrorHandler: OnErrorEventHandler = null;\n/** JSDoc */\nfunction instrumentError(): void {\n _oldOnErrorHandler = global.onerror;\n\n global.onerror = function (msg: any, url: any, line: any, column: any, error: any): boolean {\n triggerHandlers('error', {\n column,\n error,\n line,\n msg,\n url,\n });\n\n if (_oldOnErrorHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n}\n\nlet _oldOnUnhandledRejectionHandler: ((e: any) => void) | null = null;\n/** JSDoc */\nfunction instrumentUnhandledRejection(): void {\n _oldOnUnhandledRejectionHandler = global.onunhandledrejection;\n\n global.onunhandledrejection = function (e: any): boolean {\n triggerHandlers('unhandledrejection', e);\n\n if (_oldOnUnhandledRejectionHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/is.d.ts b/node_modules/@sentry/utils/dist/is.d.ts new file mode 100644 index 000000000..78ce42f9d --- /dev/null +++ b/node_modules/@sentry/utils/dist/is.d.ts @@ -0,0 +1,104 @@ +import { Primitive } from '@sentry/types'; +/** + * Checks whether given value's type is one of a few Error or Error-like + * {@link isError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isError(wat: unknown): boolean; +/** + * Checks whether given value's type is ErrorEvent + * {@link isErrorEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isErrorEvent(wat: unknown): boolean; +/** + * Checks whether given value's type is DOMError + * {@link isDOMError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isDOMError(wat: unknown): boolean; +/** + * Checks whether given value's type is DOMException + * {@link isDOMException}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isDOMException(wat: unknown): boolean; +/** + * Checks whether given value's type is a string + * {@link isString}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isString(wat: unknown): boolean; +/** + * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol) + * {@link isPrimitive}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isPrimitive(wat: unknown): wat is Primitive; +/** + * Checks whether given value's type is an object literal + * {@link isPlainObject}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isPlainObject(wat: unknown): wat is Record; +/** + * Checks whether given value's type is an Event instance + * {@link isEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isEvent(wat: unknown): boolean; +/** + * Checks whether given value's type is an Element instance + * {@link isElement}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isElement(wat: unknown): boolean; +/** + * Checks whether given value's type is an regexp + * {@link isRegExp}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isRegExp(wat: unknown): wat is RegExp; +/** + * Checks whether given value has a then function. + * @param wat A value to be checked. + */ +export declare function isThenable(wat: any): wat is PromiseLike; +/** + * Checks whether given value's type is a SyntheticEvent + * {@link isSyntheticEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isSyntheticEvent(wat: unknown): boolean; +/** + * Checks whether given value's type is an instance of provided constructor. + * {@link isInstanceOf}. + * + * @param wat A value to be checked. + * @param base A constructor to be used in a check. + * @returns A boolean representing the result. + */ +export declare function isInstanceOf(wat: any, base: any): boolean; +//# sourceMappingURL=is.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/is.js b/node_modules/@sentry/utils/dist/is.js new file mode 100644 index 000000000..c8f4333c4 --- /dev/null +++ b/node_modules/@sentry/utils/dist/is.js @@ -0,0 +1,163 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ +Object.defineProperty(exports, "__esModule", { value: true }); +// eslint-disable-next-line @typescript-eslint/unbound-method +var objectToString = Object.prototype.toString; +/** + * Checks whether given value's type is one of a few Error or Error-like + * {@link isError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isError(wat) { + switch (objectToString.call(wat)) { + case '[object Error]': + case '[object Exception]': + case '[object DOMException]': + return true; + default: + return isInstanceOf(wat, Error); + } +} +exports.isError = isError; +function isBuiltin(wat, ty) { + return objectToString.call(wat) === "[object " + ty + "]"; +} +/** + * Checks whether given value's type is ErrorEvent + * {@link isErrorEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isErrorEvent(wat) { + return isBuiltin(wat, 'ErrorEvent'); +} +exports.isErrorEvent = isErrorEvent; +/** + * Checks whether given value's type is DOMError + * {@link isDOMError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isDOMError(wat) { + return isBuiltin(wat, 'DOMError'); +} +exports.isDOMError = isDOMError; +/** + * Checks whether given value's type is DOMException + * {@link isDOMException}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isDOMException(wat) { + return isBuiltin(wat, 'DOMException'); +} +exports.isDOMException = isDOMException; +/** + * Checks whether given value's type is a string + * {@link isString}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isString(wat) { + return isBuiltin(wat, 'String'); +} +exports.isString = isString; +/** + * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol) + * {@link isPrimitive}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isPrimitive(wat) { + return wat === null || (typeof wat !== 'object' && typeof wat !== 'function'); +} +exports.isPrimitive = isPrimitive; +/** + * Checks whether given value's type is an object literal + * {@link isPlainObject}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isPlainObject(wat) { + return isBuiltin(wat, 'Object'); +} +exports.isPlainObject = isPlainObject; +/** + * Checks whether given value's type is an Event instance + * {@link isEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isEvent(wat) { + return typeof Event !== 'undefined' && isInstanceOf(wat, Event); +} +exports.isEvent = isEvent; +/** + * Checks whether given value's type is an Element instance + * {@link isElement}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isElement(wat) { + return typeof Element !== 'undefined' && isInstanceOf(wat, Element); +} +exports.isElement = isElement; +/** + * Checks whether given value's type is an regexp + * {@link isRegExp}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isRegExp(wat) { + return isBuiltin(wat, 'RegExp'); +} +exports.isRegExp = isRegExp; +/** + * Checks whether given value has a then function. + * @param wat A value to be checked. + */ +function isThenable(wat) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return Boolean(wat && wat.then && typeof wat.then === 'function'); +} +exports.isThenable = isThenable; +/** + * Checks whether given value's type is a SyntheticEvent + * {@link isSyntheticEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +function isSyntheticEvent(wat) { + return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat; +} +exports.isSyntheticEvent = isSyntheticEvent; +/** + * Checks whether given value's type is an instance of provided constructor. + * {@link isInstanceOf}. + * + * @param wat A value to be checked. + * @param base A constructor to be used in a check. + * @returns A boolean representing the result. + */ +function isInstanceOf(wat, base) { + try { + return wat instanceof base; + } + catch (_e) { + return false; + } +} +exports.isInstanceOf = isInstanceOf; +//# sourceMappingURL=is.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/is.js.map b/node_modules/@sentry/utils/dist/is.js.map new file mode 100644 index 000000000..d0c0b9629 --- /dev/null +++ b/node_modules/@sentry/utils/dist/is.js.map @@ -0,0 +1 @@ +{"version":3,"file":"is.js","sourceRoot":"","sources":["../src/is.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport { Primitive } from '@sentry/types';\n\n// eslint-disable-next-line @typescript-eslint/unbound-method\nconst objectToString = Object.prototype.toString;\n\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isError(wat: unknown): boolean {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\n\nfunction isBuiltin(wat: unknown, ty: string): boolean {\n return objectToString.call(wat) === `[object ${ty}]`;\n}\n\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isErrorEvent(wat: unknown): boolean {\n return isBuiltin(wat, 'ErrorEvent');\n}\n\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMError(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMError');\n}\n\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMException(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMException');\n}\n\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isString(wat: unknown): boolean {\n return isBuiltin(wat, 'String');\n}\n\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPrimitive(wat: unknown): wat is Primitive {\n return wat === null || (typeof wat !== 'object' && typeof wat !== 'function');\n}\n\n/**\n * Checks whether given value's type is an object literal\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPlainObject(wat: unknown): wat is Record {\n return isBuiltin(wat, 'Object');\n}\n\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isEvent(wat: unknown): boolean {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isElement(wat: unknown): boolean {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isRegExp(wat: unknown): wat is RegExp {\n return isBuiltin(wat, 'RegExp');\n}\n\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nexport function isThenable(wat: any): wat is PromiseLike {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isSyntheticEvent(wat: unknown): boolean {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nexport function isInstanceOf(wat: any, base: any): boolean {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/logger.d.ts b/node_modules/@sentry/utils/dist/logger.d.ts new file mode 100644 index 000000000..f76934030 --- /dev/null +++ b/node_modules/@sentry/utils/dist/logger.d.ts @@ -0,0 +1,28 @@ +/** + * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods. + * Restores wrapping after the callback completes. + * + * @param callback The function to run against the original `console` messages + * @returns The results of the callback + */ +export declare function consoleSandbox(callback: () => any): any; +/** JSDoc */ +declare class Logger { + /** JSDoc */ + private _enabled; + /** JSDoc */ + constructor(); + /** JSDoc */ + disable(): void; + /** JSDoc */ + enable(): void; + /** JSDoc */ + log(...args: any[]): void; + /** JSDoc */ + warn(...args: any[]): void; + /** JSDoc */ + error(...args: any[]): void; +} +declare const logger: Logger; +export { logger }; +//# sourceMappingURL=logger.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/logger.js b/node_modules/@sentry/utils/dist/logger.js new file mode 100644 index 000000000..b8530043a --- /dev/null +++ b/node_modules/@sentry/utils/dist/logger.js @@ -0,0 +1,99 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var global_1 = require("./global"); +// TODO: Implement different loggers for different environments +var global = global_1.getGlobalObject(); +/** Prefix for logging strings */ +var PREFIX = 'Sentry Logger '; +/** + * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods. + * Restores wrapping after the callback completes. + * + * @param callback The function to run against the original `console` messages + * @returns The results of the callback + */ +function consoleSandbox(callback) { + var global = global_1.getGlobalObject(); + var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert']; + if (!('console' in global)) { + return callback(); + } + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var originalConsole = global.console; + var wrappedLevels = {}; + // Restore all wrapped console methods + levels.forEach(function (level) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (level in global.console && originalConsole[level].__sentry_original__) { + wrappedLevels[level] = originalConsole[level]; + originalConsole[level] = originalConsole[level].__sentry_original__; + } + }); + // Perform callback manipulations + var result = callback(); + // Revert restoration to wrapped state + Object.keys(wrappedLevels).forEach(function (level) { + originalConsole[level] = wrappedLevels[level]; + }); + return result; +} +exports.consoleSandbox = consoleSandbox; +/** JSDoc */ +var Logger = /** @class */ (function () { + /** JSDoc */ + function Logger() { + this._enabled = false; + } + /** JSDoc */ + Logger.prototype.disable = function () { + this._enabled = false; + }; + /** JSDoc */ + Logger.prototype.enable = function () { + this._enabled = true; + }; + /** JSDoc */ + Logger.prototype.log = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global.console.log(PREFIX + "[Log]: " + args.join(' ')); + }); + }; + /** JSDoc */ + Logger.prototype.warn = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global.console.warn(PREFIX + "[Warn]: " + args.join(' ')); + }); + }; + /** JSDoc */ + Logger.prototype.error = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global.console.error(PREFIX + "[Error]: " + args.join(' ')); + }); + }; + return Logger; +}()); +// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used +global.__SENTRY__ = global.__SENTRY__ || {}; +var logger = global.__SENTRY__.logger || (global.__SENTRY__.logger = new Logger()); +exports.logger = logger; +//# sourceMappingURL=logger.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/logger.js.map b/node_modules/@sentry/utils/dist/logger.js.map new file mode 100644 index 000000000..80c0e28ac --- /dev/null +++ b/node_modules/@sentry/utils/dist/logger.js.map @@ -0,0 +1 @@ +{"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { getGlobalObject } from './global';\n\n// TODO: Implement different loggers for different environments\nconst global = getGlobalObject();\n\n/** Prefix for logging strings */\nconst PREFIX = 'Sentry Logger ';\n\n/** JSDoc */\ninterface ExtensibleConsole extends Console {\n [key: string]: any;\n}\n\n/**\n * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods.\n * Restores wrapping after the callback completes.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nexport function consoleSandbox(callback: () => any): any {\n const global = getGlobalObject();\n const levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];\n\n if (!('console' in global)) {\n return callback();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const originalConsole = (global as any).console as ExtensibleConsole;\n const wrappedLevels: { [key: string]: any } = {};\n\n // Restore all wrapped console methods\n levels.forEach(level => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (level in (global as any).console && (originalConsole[level] as WrappedFunction).__sentry_original__) {\n wrappedLevels[level] = originalConsole[level] as WrappedFunction;\n originalConsole[level] = (originalConsole[level] as WrappedFunction).__sentry_original__;\n }\n });\n\n // Perform callback manipulations\n const result = callback();\n\n // Revert restoration to wrapped state\n Object.keys(wrappedLevels).forEach(level => {\n originalConsole[level] = wrappedLevels[level];\n });\n\n return result;\n}\n\n/** JSDoc */\nclass Logger {\n /** JSDoc */\n private _enabled: boolean;\n\n /** JSDoc */\n public constructor() {\n this._enabled = false;\n }\n\n /** JSDoc */\n public disable(): void {\n this._enabled = false;\n }\n\n /** JSDoc */\n public enable(): void {\n this._enabled = true;\n }\n\n /** JSDoc */\n public log(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.log(`${PREFIX}[Log]: ${args.join(' ')}`);\n });\n }\n\n /** JSDoc */\n public warn(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.warn(`${PREFIX}[Warn]: ${args.join(' ')}`);\n });\n }\n\n /** JSDoc */\n public error(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.error(`${PREFIX}[Error]: ${args.join(' ')}`);\n });\n }\n}\n\n// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used\nglobal.__SENTRY__ = global.__SENTRY__ || {};\nconst logger = (global.__SENTRY__.logger as Logger) || (global.__SENTRY__.logger = new Logger());\n\nexport { logger };\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/memo.d.ts b/node_modules/@sentry/utils/dist/memo.d.ts new file mode 100644 index 000000000..98e8de239 --- /dev/null +++ b/node_modules/@sentry/utils/dist/memo.d.ts @@ -0,0 +1,6 @@ +export declare type MemoFunc = [(obj: any) => boolean, (obj: any) => void]; +/** + * Helper to decycle json objects + */ +export declare function memoBuilder(): MemoFunc; +//# sourceMappingURL=memo.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/memo.js b/node_modules/@sentry/utils/dist/memo.js new file mode 100644 index 000000000..b284e9797 --- /dev/null +++ b/node_modules/@sentry/utils/dist/memo.js @@ -0,0 +1,44 @@ +/* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/* eslint-disable @typescript-eslint/no-explicit-any */ +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Helper to decycle json objects + */ +function memoBuilder() { + var hasWeakSet = typeof WeakSet === 'function'; + var inner = hasWeakSet ? new WeakSet() : []; + function memoize(obj) { + if (hasWeakSet) { + if (inner.has(obj)) { + return true; + } + inner.add(obj); + return false; + } + // eslint-disable-next-line @typescript-eslint/prefer-for-of + for (var i = 0; i < inner.length; i++) { + var value = inner[i]; + if (value === obj) { + return true; + } + } + inner.push(obj); + return false; + } + function unmemoize(obj) { + if (hasWeakSet) { + inner.delete(obj); + } + else { + for (var i = 0; i < inner.length; i++) { + if (inner[i] === obj) { + inner.splice(i, 1); + break; + } + } + } + } + return [memoize, unmemoize]; +} +exports.memoBuilder = memoBuilder; +//# sourceMappingURL=memo.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/memo.js.map b/node_modules/@sentry/utils/dist/memo.js.map new file mode 100644 index 000000000..66d66eca2 --- /dev/null +++ b/node_modules/@sentry/utils/dist/memo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"memo.js","sourceRoot":"","sources":["../src/memo.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,uDAAuD;;AAIvD;;GAEG;AACH,SAAgB,WAAW;IACzB,IAAM,UAAU,GAAG,OAAO,OAAO,KAAK,UAAU,CAAC;IACjD,IAAM,KAAK,GAAQ,UAAU,CAAC,CAAC,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACnD,SAAS,OAAO,CAAC,GAAQ;QACvB,IAAI,UAAU,EAAE;YACd,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBAClB,OAAO,IAAI,CAAC;aACb;YACD,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACf,OAAO,KAAK,CAAC;SACd;QACD,4DAA4D;QAC5D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACrC,IAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACvB,IAAI,KAAK,KAAK,GAAG,EAAE;gBACjB,OAAO,IAAI,CAAC;aACb;SACF;QACD,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,SAAS,CAAC,GAAQ;QACzB,IAAI,UAAU,EAAE;YACd,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;SACnB;aAAM;YACL,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACrC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;oBACpB,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;oBACnB,MAAM;iBACP;aACF;SACF;IACH,CAAC;IACD,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;AAC9B,CAAC;AAnCD,kCAmCC","sourcesContent":["/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport type MemoFunc = [(obj: any) => boolean, (obj: any) => void];\n\n/**\n * Helper to decycle json objects\n */\nexport function memoBuilder(): MemoFunc {\n const hasWeakSet = typeof WeakSet === 'function';\n const inner: any = hasWeakSet ? new WeakSet() : [];\n function memoize(obj: any): boolean {\n if (hasWeakSet) {\n if (inner.has(obj)) {\n return true;\n }\n inner.add(obj);\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < inner.length; i++) {\n const value = inner[i];\n if (value === obj) {\n return true;\n }\n }\n inner.push(obj);\n return false;\n }\n\n function unmemoize(obj: any): void {\n if (hasWeakSet) {\n inner.delete(obj);\n } else {\n for (let i = 0; i < inner.length; i++) {\n if (inner[i] === obj) {\n inner.splice(i, 1);\n break;\n }\n }\n }\n }\n return [memoize, unmemoize];\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/misc.d.ts b/node_modules/@sentry/utils/dist/misc.d.ts new file mode 100644 index 000000000..b90c0aff3 --- /dev/null +++ b/node_modules/@sentry/utils/dist/misc.d.ts @@ -0,0 +1,101 @@ +import { Event, Mechanism, StackFrame } from '@sentry/types'; +/** + * UUID4 generator + * + * @returns string Generated UUID4. + */ +export declare function uuid4(): string; +/** + * Parses string form of URL into an object + * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B + * // intentionally using regex and not href parsing trick because React Native and other + * // environments where DOM might not be available + * @returns parsed URL object + */ +export declare function parseUrl(url: string): { + host?: string; + path?: string; + protocol?: string; + relative?: string; +}; +/** + * Extracts either message or type+value from an event that can be used for user-facing logs + * @returns event's description + */ +export declare function getEventDescription(event: Event): string; +/** + * Adds exception values, type and value to an synthetic Exception. + * @param event The event to modify. + * @param value Value of the exception. + * @param type Type of the exception. + * @hidden + */ +export declare function addExceptionTypeValue(event: Event, value?: string, type?: string): void; +/** + * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed. + * + * @param event The event to modify. + * @param newMechanism Mechanism data to add to the event. + * @hidden + */ +export declare function addExceptionMechanism(event: Event, newMechanism?: Partial): void; +/** + * Represents Semantic Versioning object + */ +interface SemVer { + major?: number; + minor?: number; + patch?: number; + prerelease?: string; + buildmetadata?: string; +} +/** + * Parses input into a SemVer interface + * @param input string representation of a semver version + */ +export declare function parseSemver(input: string): SemVer; +/** + * Extracts Retry-After value from the request header or returns default value + * @param now current unix timestamp + * @param header string representation of 'Retry-After' header + */ +export declare function parseRetryAfterHeader(now: number, header?: string | number | null): number; +/** + * This function adds context (pre/post/line) lines to the provided frame + * + * @param lines string[] containing all lines + * @param frame StackFrame that will be mutated + * @param linesOfContext number of context lines we want to add pre/post + */ +export declare function addContextToFrame(lines: string[], frame: StackFrame, linesOfContext?: number): void; +/** + * Strip the query string and fragment off of a given URL or path (if present) + * + * @param urlPath Full URL or path, including possible query string and/or fragment + * @returns URL or path without query string or fragment + */ +export declare function stripUrlQueryAndFragment(urlPath: string): string; +/** + * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object + * in question), and marks it captured if not. + * + * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and + * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so + * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because + * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not + * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This + * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we + * see it. + * + * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on + * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent + * object wrapper forms so that this check will always work. However, because we need to flag the exact object which + * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification + * must be done before the exception captured. + * + * @param A thrown exception to check or flag as having been seen + * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen) + */ +export declare function checkOrSetAlreadyCaught(exception: unknown): boolean; +export {}; +//# sourceMappingURL=misc.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/misc.js b/node_modules/@sentry/utils/dist/misc.js new file mode 100644 index 000000000..360645d95 --- /dev/null +++ b/node_modules/@sentry/utils/dist/misc.js @@ -0,0 +1,241 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var global_1 = require("./global"); +var object_1 = require("./object"); +var string_1 = require("./string"); +/** + * UUID4 generator + * + * @returns string Generated UUID4. + */ +function uuid4() { + var global = global_1.getGlobalObject(); + var crypto = global.crypto || global.msCrypto; + if (!(crypto === void 0) && crypto.getRandomValues) { + // Use window.crypto API if available + var arr = new Uint16Array(8); + crypto.getRandomValues(arr); + // set 4 in byte 7 + // eslint-disable-next-line no-bitwise + arr[3] = (arr[3] & 0xfff) | 0x4000; + // set 2 most significant bits of byte 9 to '10' + // eslint-disable-next-line no-bitwise + arr[4] = (arr[4] & 0x3fff) | 0x8000; + var pad = function (num) { + var v = num.toString(16); + while (v.length < 4) { + v = "0" + v; + } + return v; + }; + return (pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7])); + } + // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523 + return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + // eslint-disable-next-line no-bitwise + var r = (Math.random() * 16) | 0; + // eslint-disable-next-line no-bitwise + var v = c === 'x' ? r : (r & 0x3) | 0x8; + return v.toString(16); + }); +} +exports.uuid4 = uuid4; +/** + * Parses string form of URL into an object + * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B + * // intentionally using regex and not href parsing trick because React Native and other + * // environments where DOM might not be available + * @returns parsed URL object + */ +function parseUrl(url) { + if (!url) { + return {}; + } + var match = url.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/); + if (!match) { + return {}; + } + // coerce to undefined values to empty string so we don't get 'undefined' + var query = match[6] || ''; + var fragment = match[8] || ''; + return { + host: match[4], + path: match[5], + protocol: match[2], + relative: match[5] + query + fragment, + }; +} +exports.parseUrl = parseUrl; +function getFirstException(event) { + return event.exception && event.exception.values ? event.exception.values[0] : undefined; +} +/** + * Extracts either message or type+value from an event that can be used for user-facing logs + * @returns event's description + */ +function getEventDescription(event) { + var message = event.message, eventId = event.event_id; + if (message) { + return message; + } + var firstException = getFirstException(event); + if (firstException) { + if (firstException.type && firstException.value) { + return firstException.type + ": " + firstException.value; + } + return firstException.type || firstException.value || eventId || ''; + } + return eventId || ''; +} +exports.getEventDescription = getEventDescription; +/** + * Adds exception values, type and value to an synthetic Exception. + * @param event The event to modify. + * @param value Value of the exception. + * @param type Type of the exception. + * @hidden + */ +function addExceptionTypeValue(event, value, type) { + var exception = (event.exception = event.exception || {}); + var values = (exception.values = exception.values || []); + var firstException = (values[0] = values[0] || {}); + if (!firstException.value) { + firstException.value = value || ''; + } + if (!firstException.type) { + firstException.type = type || 'Error'; + } +} +exports.addExceptionTypeValue = addExceptionTypeValue; +/** + * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed. + * + * @param event The event to modify. + * @param newMechanism Mechanism data to add to the event. + * @hidden + */ +function addExceptionMechanism(event, newMechanism) { + var firstException = getFirstException(event); + if (!firstException) { + return; + } + var defaultMechanism = { type: 'generic', handled: true }; + var currentMechanism = firstException.mechanism; + firstException.mechanism = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, defaultMechanism), currentMechanism), newMechanism); + if (newMechanism && 'data' in newMechanism) { + var mergedData = tslib_1.__assign(tslib_1.__assign({}, (currentMechanism && currentMechanism.data)), newMechanism.data); + firstException.mechanism.data = mergedData; + } +} +exports.addExceptionMechanism = addExceptionMechanism; +// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string +var SEMVER_REGEXP = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/; +/** + * Parses input into a SemVer interface + * @param input string representation of a semver version + */ +function parseSemver(input) { + var match = input.match(SEMVER_REGEXP) || []; + var major = parseInt(match[1], 10); + var minor = parseInt(match[2], 10); + var patch = parseInt(match[3], 10); + return { + buildmetadata: match[5], + major: isNaN(major) ? undefined : major, + minor: isNaN(minor) ? undefined : minor, + patch: isNaN(patch) ? undefined : patch, + prerelease: match[4], + }; +} +exports.parseSemver = parseSemver; +var defaultRetryAfter = 60 * 1000; // 60 seconds +/** + * Extracts Retry-After value from the request header or returns default value + * @param now current unix timestamp + * @param header string representation of 'Retry-After' header + */ +function parseRetryAfterHeader(now, header) { + if (!header) { + return defaultRetryAfter; + } + var headerDelay = parseInt("" + header, 10); + if (!isNaN(headerDelay)) { + return headerDelay * 1000; + } + var headerDate = Date.parse("" + header); + if (!isNaN(headerDate)) { + return headerDate - now; + } + return defaultRetryAfter; +} +exports.parseRetryAfterHeader = parseRetryAfterHeader; +/** + * This function adds context (pre/post/line) lines to the provided frame + * + * @param lines string[] containing all lines + * @param frame StackFrame that will be mutated + * @param linesOfContext number of context lines we want to add pre/post + */ +function addContextToFrame(lines, frame, linesOfContext) { + if (linesOfContext === void 0) { linesOfContext = 5; } + var lineno = frame.lineno || 0; + var maxLines = lines.length; + var sourceLine = Math.max(Math.min(maxLines, lineno - 1), 0); + frame.pre_context = lines + .slice(Math.max(0, sourceLine - linesOfContext), sourceLine) + .map(function (line) { return string_1.snipLine(line, 0); }); + frame.context_line = string_1.snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0); + frame.post_context = lines + .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext) + .map(function (line) { return string_1.snipLine(line, 0); }); +} +exports.addContextToFrame = addContextToFrame; +/** + * Strip the query string and fragment off of a given URL or path (if present) + * + * @param urlPath Full URL or path, including possible query string and/or fragment + * @returns URL or path without query string or fragment + */ +function stripUrlQueryAndFragment(urlPath) { + // eslint-disable-next-line no-useless-escape + return urlPath.split(/[\?#]/, 1)[0]; +} +exports.stripUrlQueryAndFragment = stripUrlQueryAndFragment; +/** + * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object + * in question), and marks it captured if not. + * + * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and + * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so + * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because + * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not + * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This + * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we + * see it. + * + * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on + * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent + * object wrapper forms so that this check will always work. However, because we need to flag the exact object which + * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification + * must be done before the exception captured. + * + * @param A thrown exception to check or flag as having been seen + * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen) + */ +function checkOrSetAlreadyCaught(exception) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (exception && exception.__sentry_captured__) { + return true; + } + try { + // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the + // `ExtraErrorData` integration + object_1.addNonEnumerableProperty(exception, '__sentry_captured__', true); + } + catch (err) { + // `exception` is a primitive, so we can't mark it seen + } + return false; +} +exports.checkOrSetAlreadyCaught = checkOrSetAlreadyCaught; +//# sourceMappingURL=misc.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/misc.js.map b/node_modules/@sentry/utils/dist/misc.js.map new file mode 100644 index 000000000..5255fc342 --- /dev/null +++ b/node_modules/@sentry/utils/dist/misc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"misc.js","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Event, Exception, Mechanism, StackFrame } from '@sentry/types';\n\nimport { getGlobalObject } from './global';\nimport { addNonEnumerableProperty } from './object';\nimport { snipLine } from './string';\n\n/**\n * Extended Window interface that allows for Crypto API usage in IE browsers\n */\ninterface MsCryptoWindow extends Window {\n msCrypto?: Crypto;\n}\n\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nexport function uuid4(): string {\n const global = getGlobalObject() as MsCryptoWindow;\n const crypto = global.crypto || global.msCrypto;\n\n if (!(crypto === void 0) && crypto.getRandomValues) {\n // Use window.crypto API if available\n const arr = new Uint16Array(8);\n crypto.getRandomValues(arr);\n\n // set 4 in byte 7\n // eslint-disable-next-line no-bitwise\n arr[3] = (arr[3] & 0xfff) | 0x4000;\n // set 2 most significant bits of byte 9 to '10'\n // eslint-disable-next-line no-bitwise\n arr[4] = (arr[4] & 0x3fff) | 0x8000;\n\n const pad = (num: number): string => {\n let v = num.toString(16);\n while (v.length < 4) {\n v = `0${v}`;\n }\n return v;\n };\n\n return (\n pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7])\n );\n }\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, c => {\n // eslint-disable-next-line no-bitwise\n const r = (Math.random() * 16) | 0;\n // eslint-disable-next-line no-bitwise\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n\n/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nexport function parseUrl(url: string): {\n host?: string;\n path?: string;\n protocol?: string;\n relative?: string;\n} {\n if (!url) {\n return {};\n }\n\n const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n }\n\n // coerce to undefined values to empty string so we don't get 'undefined'\n const query = match[6] || '';\n const fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n relative: match[5] + query + fragment, // everything minus origin\n };\n}\n\nfunction getFirstException(event: Event): Exception | undefined {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nexport function getEventDescription(event: Event): string {\n const { message, event_id: eventId } = event;\n if (message) {\n return message;\n }\n\n const firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return `${firstException.type}: ${firstException.value}`;\n }\n return firstException.type || firstException.value || eventId || '';\n }\n return eventId || '';\n}\n\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nexport function addExceptionTypeValue(event: Event, value?: string, type?: string): void {\n const exception = (event.exception = event.exception || {});\n const values = (exception.values = exception.values || []);\n const firstException = (values[0] = values[0] || {});\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nexport function addExceptionMechanism(event: Event, newMechanism?: Partial): void {\n const firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n\n const defaultMechanism = { type: 'generic', handled: true };\n const currentMechanism = firstException.mechanism;\n firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n\n if (newMechanism && 'data' in newMechanism) {\n const mergedData = { ...(currentMechanism && currentMechanism.data), ...newMechanism.data };\n firstException.mechanism.data = mergedData;\n }\n}\n\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nconst SEMVER_REGEXP =\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Represents Semantic Versioning object\n */\ninterface SemVer {\n major?: number;\n minor?: number;\n patch?: number;\n prerelease?: string;\n buildmetadata?: string;\n}\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nexport function parseSemver(input: string): SemVer {\n const match = input.match(SEMVER_REGEXP) || [];\n const major = parseInt(match[1], 10);\n const minor = parseInt(match[2], 10);\n const patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4],\n };\n}\n\nconst defaultRetryAfter = 60 * 1000; // 60 seconds\n\n/**\n * Extracts Retry-After value from the request header or returns default value\n * @param now current unix timestamp\n * @param header string representation of 'Retry-After' header\n */\nexport function parseRetryAfterHeader(now: number, header?: string | number | null): number {\n if (!header) {\n return defaultRetryAfter;\n }\n\n const headerDelay = parseInt(`${header}`, 10);\n if (!isNaN(headerDelay)) {\n return headerDelay * 1000;\n }\n\n const headerDate = Date.parse(`${header}`);\n if (!isNaN(headerDate)) {\n return headerDate - now;\n }\n\n return defaultRetryAfter;\n}\n\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nexport function addContextToFrame(lines: string[], frame: StackFrame, linesOfContext: number = 5): void {\n const lineno = frame.lineno || 0;\n const maxLines = lines.length;\n const sourceLine = Math.max(Math.min(maxLines, lineno - 1), 0);\n\n frame.pre_context = lines\n .slice(Math.max(0, sourceLine - linesOfContext), sourceLine)\n .map((line: string) => snipLine(line, 0));\n\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n\n frame.post_context = lines\n .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext)\n .map((line: string) => snipLine(line, 0));\n}\n\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nexport function stripUrlQueryAndFragment(urlPath: string): string {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nexport function checkOrSetAlreadyCaught(exception: unknown): boolean {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && (exception as any).__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception as { [key: string]: unknown }, '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/node.d.ts b/node_modules/@sentry/utils/dist/node.d.ts new file mode 100644 index 000000000..b34622b91 --- /dev/null +++ b/node_modules/@sentry/utils/dist/node.d.ts @@ -0,0 +1,31 @@ +/** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ +/** + * Checks whether we're in the Node.js or Browser environment + * + * @returns Answer to given question + */ +export declare function isNodeEnv(): boolean; +/** + * Requires a module which is protected against bundler minification. + * + * @param request The module path to resolve + */ +export declare function dynamicRequire(mod: any, request: string): any; +/** + * Helper for dynamically loading module that should work with linked dependencies. + * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))` + * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during + * build time. `require.resolve` is also not available in any other way, so we cannot create, + * a fake helper like we do with `dynamicRequire`. + * + * We always prefer to use local package, thus the value is not returned early from each `try/catch` block. + * That is to mimic the behavior of `require.resolve` exactly. + * + * @param moduleName module name to require + * @returns possibly required module + */ +export declare function loadModule(moduleName: string): T | undefined; +//# sourceMappingURL=node.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/node.js b/node_modules/@sentry/utils/dist/node.js new file mode 100644 index 000000000..36eec7a31 --- /dev/null +++ b/node_modules/@sentry/utils/dist/node.js @@ -0,0 +1,61 @@ +/** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var env_1 = require("./env"); +/** + * Checks whether we're in the Node.js or Browser environment + * + * @returns Answer to given question + */ +function isNodeEnv() { + // explicitly check for browser bundles as those can be optimized statically + // by terser/rollup. + return (!env_1.isBrowserBundle() && + Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]'); +} +exports.isNodeEnv = isNodeEnv; +/** + * Requires a module which is protected against bundler minification. + * + * @param request The module path to resolve + */ +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any +function dynamicRequire(mod, request) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return mod.require(request); +} +exports.dynamicRequire = dynamicRequire; +/** + * Helper for dynamically loading module that should work with linked dependencies. + * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))` + * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during + * build time. `require.resolve` is also not available in any other way, so we cannot create, + * a fake helper like we do with `dynamicRequire`. + * + * We always prefer to use local package, thus the value is not returned early from each `try/catch` block. + * That is to mimic the behavior of `require.resolve` exactly. + * + * @param moduleName module name to require + * @returns possibly required module + */ +function loadModule(moduleName) { + var mod; + try { + mod = dynamicRequire(module, moduleName); + } + catch (e) { + // no-empty + } + try { + var cwd = dynamicRequire(module, 'process').cwd; + mod = dynamicRequire(module, cwd() + "/node_modules/" + moduleName); + } + catch (e) { + // no-empty + } + return mod; +} +exports.loadModule = loadModule; +//# sourceMappingURL=node.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/node.js.map b/node_modules/@sentry/utils/dist/node.js.map new file mode 100644 index 000000000..ddd0e020d --- /dev/null +++ b/node_modules/@sentry/utils/dist/node.js.map @@ -0,0 +1 @@ +{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,6BAAwC;AAExC;;;;GAIG;AACH,SAAgB,SAAS;IACvB,4EAA4E;IAC5E,oBAAoB;IACpB,OAAO,CACL,CAAC,qBAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,kBAAkB,CACpG,CAAC;AACJ,CAAC;AAPD,8BAOC;AAED;;;;GAIG;AACH,iHAAiH;AACjH,SAAgB,cAAc,CAAC,GAAQ,EAAE,OAAe;IACtD,sEAAsE;IACtE,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC9B,CAAC;AAHD,wCAGC;AAED;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAI,UAAkB;IAC9C,IAAI,GAAkB,CAAC;IAEvB,IAAI;QACF,GAAG,GAAG,cAAc,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;KAC1C;IAAC,OAAO,CAAC,EAAE;QACV,WAAW;KACZ;IAED,IAAI;QACM,IAAA,2CAAG,CAAuC;QAClD,GAAG,GAAG,cAAc,CAAC,MAAM,EAAK,GAAG,EAAE,sBAAiB,UAAY,CAAM,CAAC;KAC1E;IAAC,OAAO,CAAC,EAAE;QACV,WAAW;KACZ;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AAjBD,gCAiBC","sourcesContent":["/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\nimport { isBrowserBundle } from './env';\n\n/**\n * Checks whether we're in the Node.js or Browser environment\n *\n * @returns Answer to given question\n */\nexport function isNodeEnv(): boolean {\n // explicitly check for browser bundles as those can be optimized statically\n // by terser/rollup.\n return (\n !isBrowserBundle() &&\n Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]'\n );\n}\n\n/**\n * Requires a module which is protected against bundler minification.\n *\n * @param request The module path to resolve\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any\nexport function dynamicRequire(mod: any, request: string): any {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return mod.require(request);\n}\n\n/**\n * Helper for dynamically loading module that should work with linked dependencies.\n * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))`\n * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during\n * build time. `require.resolve` is also not available in any other way, so we cannot create,\n * a fake helper like we do with `dynamicRequire`.\n *\n * We always prefer to use local package, thus the value is not returned early from each `try/catch` block.\n * That is to mimic the behavior of `require.resolve` exactly.\n *\n * @param moduleName module name to require\n * @returns possibly required module\n */\nexport function loadModule(moduleName: string): T | undefined {\n let mod: T | undefined;\n\n try {\n mod = dynamicRequire(module, moduleName);\n } catch (e) {\n // no-empty\n }\n\n try {\n const { cwd } = dynamicRequire(module, 'process');\n mod = dynamicRequire(module, `${cwd()}/node_modules/${moduleName}`) as T;\n } catch (e) {\n // no-empty\n }\n\n return mod;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/object.d.ts b/node_modules/@sentry/utils/dist/object.d.ts new file mode 100644 index 000000000..b73bd5a60 --- /dev/null +++ b/node_modules/@sentry/utils/dist/object.d.ts @@ -0,0 +1,99 @@ +import { WrappedFunction } from '@sentry/types'; +import { MemoFunc } from './memo'; +/** + * Replace a method in an object with a wrapped version of itself. + * + * @param source An object that contains a method to be wrapped. + * @param name The name of the method to be wrapped. + * @param replacementFactory A higher-order function that takes the original version of the given method and returns a + * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to + * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`. + * @returns void + */ +export declare function fill(source: { + [key: string]: any; +}, name: string, replacementFactory: (...args: any[]) => any): void; +/** + * Defines a non-enumerable property on the given object. + * + * @param obj The object on which to set the property + * @param name The name of the property to be set + * @param value The value to which to set the property + */ +export declare function addNonEnumerableProperty(obj: { + [key: string]: unknown; +}, name: string, value: unknown): void; +/** + * Remembers the original function on the wrapped function and + * patches up the prototype. + * + * @param wrapped the wrapper function + * @param original the original function that gets wrapped + */ +export declare function markFunctionWrapped(wrapped: WrappedFunction, original: WrappedFunction): void; +/** + * This extracts the original function if available. See + * `markFunctionWrapped` for more information. + * + * @param func the function to unwrap + * @returns the unwrapped version of the function if available. + */ +export declare function getOriginalFunction(func: WrappedFunction): WrappedFunction | undefined; +/** + * Encodes given object into url-friendly format + * + * @param object An object that contains serializable values + * @returns string Encoded + */ +export declare function urlEncode(object: { + [key: string]: any; +}): string; +/** JSDoc */ +export declare function normalizeToSize(object: { + [key: string]: any; +}, depth?: number, maxSize?: number): T; +/** + * Walks an object to perform a normalization on it + * + * @param key of object that's walked in current iteration + * @param value object to be walked + * @param depth Optional number indicating how deep should walking be performed + * @param memo Optional Memo class handling decycling + */ +export declare function walk(key: string, value: any, depth?: number, memo?: MemoFunc): any; +/** + * normalize() + * + * - Creates a copy to prevent original input mutation + * - Skip non-enumerablers + * - Calls `toJSON` if implemented + * - Removes circular references + * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format + * - Translates known global objects/Classes to a string representations + * - Takes care of Error objects serialization + * - Optionally limit depth of final output + */ +export declare function normalize(input: any, depth?: number): any; +/** + * Given any captured exception, extract its keys and create a sorted + * and truncated list that will be used inside the event message. + * eg. `Non-error exception captured with keys: foo, bar, baz` + */ +export declare function extractExceptionKeysForMessage(exception: any, maxLength?: number): string; +/** + * Given any object, return the new object with removed keys that value was `undefined`. + * Works recursively on objects and arrays. + */ +export declare function dropUndefinedKeys(val: T): T; +/** + * Ensure that something is an object. + * + * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper + * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives. + * + * @param wat The subject of the objectification + * @returns A version of `wat` which can safely be used with `Object` class methods + */ +export declare function objectify(wat: unknown): typeof Object; +//# sourceMappingURL=object.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/object.js b/node_modules/@sentry/utils/dist/object.js new file mode 100644 index 000000000..864f65aa6 --- /dev/null +++ b/node_modules/@sentry/utils/dist/object.js @@ -0,0 +1,414 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var browser_1 = require("./browser"); +var is_1 = require("./is"); +var memo_1 = require("./memo"); +var stacktrace_1 = require("./stacktrace"); +var string_1 = require("./string"); +/** + * Replace a method in an object with a wrapped version of itself. + * + * @param source An object that contains a method to be wrapped. + * @param name The name of the method to be wrapped. + * @param replacementFactory A higher-order function that takes the original version of the given method and returns a + * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to + * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`. + * @returns void + */ +function fill(source, name, replacementFactory) { + if (!(name in source)) { + return; + } + var original = source[name]; + var wrapped = replacementFactory(original); + // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work + // otherwise it'll throw "TypeError: Object.defineProperties called on non-object" + if (typeof wrapped === 'function') { + try { + markFunctionWrapped(wrapped, original); + } + catch (_Oo) { + // This can throw if multiple fill happens on a global object like XMLHttpRequest + // Fixes https://github.com/getsentry/sentry-javascript/issues/2043 + } + } + source[name] = wrapped; +} +exports.fill = fill; +/** + * Defines a non-enumerable property on the given object. + * + * @param obj The object on which to set the property + * @param name The name of the property to be set + * @param value The value to which to set the property + */ +function addNonEnumerableProperty(obj, name, value) { + Object.defineProperty(obj, name, { + // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it + value: value, + writable: true, + configurable: true, + }); +} +exports.addNonEnumerableProperty = addNonEnumerableProperty; +/** + * Remembers the original function on the wrapped function and + * patches up the prototype. + * + * @param wrapped the wrapper function + * @param original the original function that gets wrapped + */ +function markFunctionWrapped(wrapped, original) { + var proto = original.prototype || {}; + wrapped.prototype = original.prototype = proto; + addNonEnumerableProperty(wrapped, '__sentry_original__', original); +} +exports.markFunctionWrapped = markFunctionWrapped; +/** + * This extracts the original function if available. See + * `markFunctionWrapped` for more information. + * + * @param func the function to unwrap + * @returns the unwrapped version of the function if available. + */ +function getOriginalFunction(func) { + return func.__sentry_original__; +} +exports.getOriginalFunction = getOriginalFunction; +/** + * Encodes given object into url-friendly format + * + * @param object An object that contains serializable values + * @returns string Encoded + */ +function urlEncode(object) { + return Object.keys(object) + .map(function (key) { return encodeURIComponent(key) + "=" + encodeURIComponent(object[key]); }) + .join('&'); +} +exports.urlEncode = urlEncode; +/** + * Transforms any object into an object literal with all its attributes + * attached to it. + * + * @param value Initial source that we have to transform in order for it to be usable by the serializer + */ +function getWalkSource(value) { + if (is_1.isError(value)) { + var error = value; + var err = { + message: error.message, + name: error.name, + stack: error.stack, + }; + for (var i in error) { + if (Object.prototype.hasOwnProperty.call(error, i)) { + err[i] = error[i]; + } + } + return err; + } + if (is_1.isEvent(value)) { + var event_1 = value; + var source = {}; + // Accessing event attributes can throw (see https://github.com/getsentry/sentry-javascript/issues/768 and + // https://github.com/getsentry/sentry-javascript/issues/838), but accessing `type` hasn't been wrapped in a + // try-catch in at least two years and no one's complained, so that's likely not an issue anymore + source.type = event_1.type; + try { + source.target = is_1.isElement(event_1.target) + ? browser_1.htmlTreeAsString(event_1.target) + : Object.prototype.toString.call(event_1.target); + } + catch (_oO) { + source.target = ''; + } + try { + source.currentTarget = is_1.isElement(event_1.currentTarget) + ? browser_1.htmlTreeAsString(event_1.currentTarget) + : Object.prototype.toString.call(event_1.currentTarget); + } + catch (_oO) { + source.currentTarget = ''; + } + if (typeof CustomEvent !== 'undefined' && is_1.isInstanceOf(value, CustomEvent)) { + source.detail = event_1.detail; + } + for (var attr in event_1) { + if (Object.prototype.hasOwnProperty.call(event_1, attr)) { + source[attr] = event_1[attr]; + } + } + return source; + } + return value; +} +/** Calculates bytes size of input string */ +function utf8Length(value) { + // eslint-disable-next-line no-bitwise + return ~-encodeURI(value).split(/%..|./).length; +} +/** Calculates bytes size of input object */ +function jsonSize(value) { + return utf8Length(JSON.stringify(value)); +} +/** JSDoc */ +function normalizeToSize(object, +// Default Node.js REPL depth +depth, +// 100kB, as 200kB is max payload size, so half sounds reasonable +maxSize) { + if (depth === void 0) { depth = 3; } + if (maxSize === void 0) { maxSize = 100 * 1024; } + var serialized = normalize(object, depth); + if (jsonSize(serialized) > maxSize) { + return normalizeToSize(object, depth - 1, maxSize); + } + return serialized; +} +exports.normalizeToSize = normalizeToSize; +/** + * Transform any non-primitive, BigInt, or Symbol-type value into a string. Acts as a no-op on strings, numbers, + * booleans, null, and undefined. + * + * @param value The value to stringify + * @returns For non-primitive, BigInt, and Symbol-type values, a string denoting the value's type, type and value, or + * type and `description` property, respectively. For non-BigInt, non-Symbol primitives, returns the original value, + * unchanged. + */ +function serializeValue(value) { + // Node.js REPL notation + if (typeof value === 'string') { + return value; + } + var type = Object.prototype.toString.call(value); + if (type === '[object Object]') { + return '[Object]'; + } + if (type === '[object Array]') { + return '[Array]'; + } + var normalized = normalizeValue(value); + return is_1.isPrimitive(normalized) ? normalized : type; +} +/** + * normalizeValue() + * + * Takes unserializable input and make it serializable friendly + * + * - translates undefined/NaN values to "[undefined]"/"[NaN]" respectively, + * - serializes Error objects + * - filter global objects + */ +function normalizeValue(value, key) { + if (key === 'domain' && value && typeof value === 'object' && value._events) { + return '[Domain]'; + } + if (key === 'domainEmitter') { + return '[DomainEmitter]'; + } + if (typeof global !== 'undefined' && value === global) { + return '[Global]'; + } + // It's safe to use `window` and `document` here in this manner, as we are asserting using `typeof` first + // which won't throw if they are not present. + // eslint-disable-next-line no-restricted-globals + if (typeof window !== 'undefined' && value === window) { + return '[Window]'; + } + // eslint-disable-next-line no-restricted-globals + if (typeof document !== 'undefined' && value === document) { + return '[Document]'; + } + // React's SyntheticEvent thingy + if (is_1.isSyntheticEvent(value)) { + return '[SyntheticEvent]'; + } + if (typeof value === 'number' && value !== value) { + return '[NaN]'; + } + if (value === void 0) { + return '[undefined]'; + } + if (typeof value === 'function') { + return "[Function: " + stacktrace_1.getFunctionName(value) + "]"; + } + // symbols and bigints are considered primitives by TS, but aren't natively JSON-serilaizable + if (typeof value === 'symbol') { + return "[" + String(value) + "]"; + } + if (typeof value === 'bigint') { + return "[BigInt: " + String(value) + "]"; + } + return value; +} +/** + * Walks an object to perform a normalization on it + * + * @param key of object that's walked in current iteration + * @param value object to be walked + * @param depth Optional number indicating how deep should walking be performed + * @param memo Optional Memo class handling decycling + */ +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types +function walk(key, value, depth, memo) { + if (depth === void 0) { depth = +Infinity; } + if (memo === void 0) { memo = memo_1.memoBuilder(); } + // If we reach the maximum depth, serialize whatever is left + if (depth === 0) { + return serializeValue(value); + } + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + // If value implements `toJSON` method, call it and return early + if (value !== null && value !== undefined && typeof value.toJSON === 'function') { + return value.toJSON(); + } + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + // If normalized value is a primitive, there are no branches left to walk, so bail out + var normalized = normalizeValue(value, key); + if (is_1.isPrimitive(normalized)) { + return normalized; + } + // Create source that we will use for the next iteration. It will either be an objectified error object (`Error` type + // with extracted key:value pairs) or the input itself. + var source = getWalkSource(value); + // Create an accumulator that will act as a parent for all future itterations of that branch + var acc = Array.isArray(value) ? [] : {}; + // If we already walked that branch, bail out, as it's circular reference + if (memo[0](value)) { + return '[Circular ~]'; + } + // Walk all keys of the source + for (var innerKey in source) { + // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration. + if (!Object.prototype.hasOwnProperty.call(source, innerKey)) { + continue; + } + // Recursively walk through all the child nodes + acc[innerKey] = walk(innerKey, source[innerKey], depth - 1, memo); + } + // Once walked through all the branches, remove the parent from memo storage + memo[1](value); + // Return accumulated values + return acc; +} +exports.walk = walk; +/** + * normalize() + * + * - Creates a copy to prevent original input mutation + * - Skip non-enumerablers + * - Calls `toJSON` if implemented + * - Removes circular references + * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format + * - Translates known global objects/Classes to a string representations + * - Takes care of Error objects serialization + * - Optionally limit depth of final output + */ +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types +function normalize(input, depth) { + try { + return JSON.parse(JSON.stringify(input, function (key, value) { return walk(key, value, depth); })); + } + catch (_oO) { + return '**non-serializable**'; + } +} +exports.normalize = normalize; +/** + * Given any captured exception, extract its keys and create a sorted + * and truncated list that will be used inside the event message. + * eg. `Non-error exception captured with keys: foo, bar, baz` + */ +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types +function extractExceptionKeysForMessage(exception, maxLength) { + if (maxLength === void 0) { maxLength = 40; } + var keys = Object.keys(getWalkSource(exception)); + keys.sort(); + if (!keys.length) { + return '[object has no keys]'; + } + if (keys[0].length >= maxLength) { + return string_1.truncate(keys[0], maxLength); + } + for (var includedKeys = keys.length; includedKeys > 0; includedKeys--) { + var serialized = keys.slice(0, includedKeys).join(', '); + if (serialized.length > maxLength) { + continue; + } + if (includedKeys === keys.length) { + return serialized; + } + return string_1.truncate(serialized, maxLength); + } + return ''; +} +exports.extractExceptionKeysForMessage = extractExceptionKeysForMessage; +/** + * Given any object, return the new object with removed keys that value was `undefined`. + * Works recursively on objects and arrays. + */ +function dropUndefinedKeys(val) { + var e_1, _a; + if (is_1.isPlainObject(val)) { + var obj = val; + var rv = {}; + try { + for (var _b = tslib_1.__values(Object.keys(obj)), _c = _b.next(); !_c.done; _c = _b.next()) { + var key = _c.value; + if (typeof obj[key] !== 'undefined') { + rv[key] = dropUndefinedKeys(obj[key]); + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + return rv; + } + if (Array.isArray(val)) { + return val.map(dropUndefinedKeys); + } + return val; +} +exports.dropUndefinedKeys = dropUndefinedKeys; +/** + * Ensure that something is an object. + * + * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper + * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives. + * + * @param wat The subject of the objectification + * @returns A version of `wat` which can safely be used with `Object` class methods + */ +function objectify(wat) { + var objectified; + switch (true) { + case wat === undefined || wat === null: + objectified = new String(wat); + break; + // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason + // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as + // an object in order to wrap it. + case typeof wat === 'symbol' || typeof wat === 'bigint': + objectified = Object(wat); + break; + // this will catch the remaining primitives: `String`, `Number`, and `Boolean` + case is_1.isPrimitive(wat): + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + objectified = new wat.constructor(wat); + break; + // by process of elimination, at this point we know that `wat` must already be an object + default: + objectified = wat; + break; + } + return objectified; +} +exports.objectify = objectify; +//# sourceMappingURL=object.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/object.js.map b/node_modules/@sentry/utils/dist/object.js.map new file mode 100644 index 000000000..bf5c79dfa --- /dev/null +++ b/node_modules/@sentry/utils/dist/object.js.map @@ -0,0 +1 @@ +{"version":3,"file":"object.js","sourceRoot":"","sources":["../src/object.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ExtendedError, WrappedFunction } from '@sentry/types';\n\nimport { htmlTreeAsString } from './browser';\nimport { isElement, isError, isEvent, isInstanceOf, isPlainObject, isPrimitive, isSyntheticEvent } from './is';\nimport { memoBuilder, MemoFunc } from './memo';\nimport { getFunctionName } from './stacktrace';\nimport { truncate } from './string';\n\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nexport function fill(source: { [key: string]: any }, name: string, replacementFactory: (...args: any[]) => any): void {\n if (!(name in source)) {\n return;\n }\n\n const original = source[name] as () => any;\n const wrapped = replacementFactory(original) as WrappedFunction;\n\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n try {\n markFunctionWrapped(wrapped, original);\n } catch (_Oo) {\n // This can throw if multiple fill happens on a global object like XMLHttpRequest\n // Fixes https://github.com/getsentry/sentry-javascript/issues/2043\n }\n }\n\n source[name] = wrapped;\n}\n\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nexport function addNonEnumerableProperty(obj: { [key: string]: unknown }, name: string, value: unknown): void {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true,\n });\n}\n\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nexport function markFunctionWrapped(wrapped: WrappedFunction, original: WrappedFunction): void {\n const proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n}\n\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nexport function getOriginalFunction(func: WrappedFunction): WrappedFunction | undefined {\n return func.__sentry_original__;\n}\n\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nexport function urlEncode(object: { [key: string]: any }): string {\n return Object.keys(object)\n .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)\n .join('&');\n}\n\n/**\n * Transforms any object into an object literal with all its attributes\n * attached to it.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n */\nfunction getWalkSource(value: any): {\n [key: string]: any;\n} {\n if (isError(value)) {\n const error = value as ExtendedError;\n const err: {\n [key: string]: any;\n stack: string | undefined;\n message: string;\n name: string;\n } = {\n message: error.message,\n name: error.name,\n stack: error.stack,\n };\n\n for (const i in error) {\n if (Object.prototype.hasOwnProperty.call(error, i)) {\n err[i] = error[i];\n }\n }\n\n return err;\n }\n\n if (isEvent(value)) {\n /**\n * Event-like interface that's usable in browser and node\n */\n interface SimpleEvent {\n [key: string]: unknown;\n type: string;\n target?: unknown;\n currentTarget?: unknown;\n }\n\n const event = value as unknown as SimpleEvent;\n\n const source: {\n [key: string]: any;\n } = {};\n\n // Accessing event attributes can throw (see https://github.com/getsentry/sentry-javascript/issues/768 and\n // https://github.com/getsentry/sentry-javascript/issues/838), but accessing `type` hasn't been wrapped in a\n // try-catch in at least two years and no one's complained, so that's likely not an issue anymore\n source.type = event.type;\n\n try {\n source.target = isElement(event.target)\n ? htmlTreeAsString(event.target)\n : Object.prototype.toString.call(event.target);\n } catch (_oO) {\n source.target = '';\n }\n\n try {\n source.currentTarget = isElement(event.currentTarget)\n ? htmlTreeAsString(event.currentTarget)\n : Object.prototype.toString.call(event.currentTarget);\n } catch (_oO) {\n source.currentTarget = '';\n }\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n source.detail = event.detail;\n }\n\n for (const attr in event) {\n if (Object.prototype.hasOwnProperty.call(event, attr)) {\n source[attr] = event[attr];\n }\n }\n\n return source;\n }\n\n return value as {\n [key: string]: any;\n };\n}\n\n/** Calculates bytes size of input string */\nfunction utf8Length(value: string): number {\n // eslint-disable-next-line no-bitwise\n return ~-encodeURI(value).split(/%..|./).length;\n}\n\n/** Calculates bytes size of input object */\nfunction jsonSize(value: any): number {\n return utf8Length(JSON.stringify(value));\n}\n\n/** JSDoc */\nexport function normalizeToSize(\n object: { [key: string]: any },\n // Default Node.js REPL depth\n depth: number = 3,\n // 100kB, as 200kB is max payload size, so half sounds reasonable\n maxSize: number = 100 * 1024,\n): T {\n const serialized = normalize(object, depth);\n\n if (jsonSize(serialized) > maxSize) {\n return normalizeToSize(object, depth - 1, maxSize);\n }\n\n return serialized as T;\n}\n\n/**\n * Transform any non-primitive, BigInt, or Symbol-type value into a string. Acts as a no-op on strings, numbers,\n * booleans, null, and undefined.\n *\n * @param value The value to stringify\n * @returns For non-primitive, BigInt, and Symbol-type values, a string denoting the value's type, type and value, or\n * type and `description` property, respectively. For non-BigInt, non-Symbol primitives, returns the original value,\n * unchanged.\n */\nfunction serializeValue(value: any): any {\n // Node.js REPL notation\n if (typeof value === 'string') {\n return value;\n }\n\n const type = Object.prototype.toString.call(value);\n if (type === '[object Object]') {\n return '[Object]';\n }\n if (type === '[object Array]') {\n return '[Array]';\n }\n\n const normalized = normalizeValue(value);\n return isPrimitive(normalized) ? normalized : type;\n}\n\n/**\n * normalizeValue()\n *\n * Takes unserializable input and make it serializable friendly\n *\n * - translates undefined/NaN values to \"[undefined]\"/\"[NaN]\" respectively,\n * - serializes Error objects\n * - filter global objects\n */\nfunction normalizeValue(value: T, key?: any): T | string {\n if (key === 'domain' && value && typeof value === 'object' && (value as unknown as { _events: any })._events) {\n return '[Domain]';\n }\n\n if (key === 'domainEmitter') {\n return '[DomainEmitter]';\n }\n\n if (typeof (global as any) !== 'undefined' && (value as unknown) === global) {\n return '[Global]';\n }\n\n // It's safe to use `window` and `document` here in this manner, as we are asserting using `typeof` first\n // which won't throw if they are not present.\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof (window as any) !== 'undefined' && (value as unknown) === window) {\n return '[Window]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof (document as any) !== 'undefined' && (value as unknown) === document) {\n return '[Document]';\n }\n\n // React's SyntheticEvent thingy\n if (isSyntheticEvent(value)) {\n return '[SyntheticEvent]';\n }\n\n if (typeof value === 'number' && value !== value) {\n return '[NaN]';\n }\n\n if (value === void 0) {\n return '[undefined]';\n }\n\n if (typeof value === 'function') {\n return `[Function: ${getFunctionName(value)}]`;\n }\n\n // symbols and bigints are considered primitives by TS, but aren't natively JSON-serilaizable\n\n if (typeof value === 'symbol') {\n return `[${String(value)}]`;\n }\n\n if (typeof value === 'bigint') {\n return `[BigInt: ${String(value)}]`;\n }\n\n return value;\n}\n\n/**\n * Walks an object to perform a normalization on it\n *\n * @param key of object that's walked in current iteration\n * @param value object to be walked\n * @param depth Optional number indicating how deep should walking be performed\n * @param memo Optional Memo class handling decycling\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function walk(key: string, value: any, depth: number = +Infinity, memo: MemoFunc = memoBuilder()): any {\n // If we reach the maximum depth, serialize whatever is left\n if (depth === 0) {\n return serializeValue(value);\n }\n\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // If value implements `toJSON` method, call it and return early\n if (value !== null && value !== undefined && typeof value.toJSON === 'function') {\n return value.toJSON();\n }\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n // If normalized value is a primitive, there are no branches left to walk, so bail out\n const normalized = normalizeValue(value, key);\n if (isPrimitive(normalized)) {\n return normalized;\n }\n\n // Create source that we will use for the next iteration. It will either be an objectified error object (`Error` type\n // with extracted key:value pairs) or the input itself.\n const source = getWalkSource(value);\n\n // Create an accumulator that will act as a parent for all future itterations of that branch\n const acc = Array.isArray(value) ? [] : {};\n\n // If we already walked that branch, bail out, as it's circular reference\n if (memo[0](value)) {\n return '[Circular ~]';\n }\n\n // Walk all keys of the source\n for (const innerKey in source) {\n // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration.\n if (!Object.prototype.hasOwnProperty.call(source, innerKey)) {\n continue;\n }\n // Recursively walk through all the child nodes\n (acc as { [key: string]: any })[innerKey] = walk(innerKey, source[innerKey], depth - 1, memo);\n }\n\n // Once walked through all the branches, remove the parent from memo storage\n memo[1](value);\n\n // Return accumulated values\n return acc;\n}\n\n/**\n * normalize()\n *\n * - Creates a copy to prevent original input mutation\n * - Skip non-enumerablers\n * - Calls `toJSON` if implemented\n * - Removes circular references\n * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format\n * - Translates known global objects/Classes to a string representations\n * - Takes care of Error objects serialization\n * - Optionally limit depth of final output\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function normalize(input: any, depth?: number): any {\n try {\n return JSON.parse(JSON.stringify(input, (key: string, value: any) => walk(key, value, depth)));\n } catch (_oO) {\n return '**non-serializable**';\n }\n}\n\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function extractExceptionKeysForMessage(exception: any, maxLength: number = 40): string {\n const keys = Object.keys(getWalkSource(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n const serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n\n/**\n * Given any object, return the new object with removed keys that value was `undefined`.\n * Works recursively on objects and arrays.\n */\nexport function dropUndefinedKeys(val: T): T {\n if (isPlainObject(val)) {\n const obj = val as { [key: string]: any };\n const rv: { [key: string]: any } = {};\n for (const key of Object.keys(obj)) {\n if (typeof obj[key] !== 'undefined') {\n rv[key] = dropUndefinedKeys(obj[key]);\n }\n }\n return rv as T;\n }\n\n if (Array.isArray(val)) {\n return (val as any[]).map(dropUndefinedKeys) as any;\n }\n\n return val;\n}\n\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nexport function objectify(wat: unknown): typeof Object {\n let objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new (wat as any).constructor(wat);\n break;\n\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/path.d.ts b/node_modules/@sentry/utils/dist/path.d.ts new file mode 100644 index 000000000..74faee965 --- /dev/null +++ b/node_modules/@sentry/utils/dist/path.d.ts @@ -0,0 +1,15 @@ +/** JSDoc */ +export declare function resolve(...args: string[]): string; +/** JSDoc */ +export declare function relative(from: string, to: string): string; +/** JSDoc */ +export declare function normalizePath(path: string): string; +/** JSDoc */ +export declare function isAbsolute(path: string): boolean; +/** JSDoc */ +export declare function join(...args: string[]): string; +/** JSDoc */ +export declare function dirname(path: string): string; +/** JSDoc */ +export declare function basename(path: string, ext?: string): string; +//# sourceMappingURL=path.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/path.js b/node_modules/@sentry/utils/dist/path.js new file mode 100644 index 000000000..7d18e1254 --- /dev/null +++ b/node_modules/@sentry/utils/dist/path.js @@ -0,0 +1,170 @@ +// Slightly modified (no IE8 support, ES6) and transcribed to TypeScript +// https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/master/src/es6/path.js +Object.defineProperty(exports, "__esModule", { value: true }); +/** JSDoc */ +function normalizeArray(parts, allowAboveRoot) { + // if the path tries to go above the root, `up` ends up > 0 + var up = 0; + for (var i = parts.length - 1; i >= 0; i--) { + var last = parts[i]; + if (last === '.') { + parts.splice(i, 1); + } + else if (last === '..') { + parts.splice(i, 1); + // eslint-disable-next-line no-plusplus + up++; + } + else if (up) { + parts.splice(i, 1); + // eslint-disable-next-line no-plusplus + up--; + } + } + // if the path is allowed to go above the root, restore leading ..s + if (allowAboveRoot) { + // eslint-disable-next-line no-plusplus + for (; up--; up) { + parts.unshift('..'); + } + } + return parts; +} +// Split a filename into [root, dir, basename, ext], unix version +// 'root' is just a slash, or nothing. +var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/; +/** JSDoc */ +function splitPath(filename) { + var parts = splitPathRe.exec(filename); + return parts ? parts.slice(1) : []; +} +// path.resolve([from ...], to) +// posix version +/** JSDoc */ +function resolve() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var resolvedPath = ''; + var resolvedAbsolute = false; + for (var i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) { + var path = i >= 0 ? args[i] : '/'; + // Skip empty entries + if (!path) { + continue; + } + resolvedPath = path + "/" + resolvedPath; + resolvedAbsolute = path.charAt(0) === '/'; + } + // At this point the path should be resolved to a full absolute path, but + // handle relative paths to be safe (might happen when process.cwd() fails) + // Normalize the path + resolvedPath = normalizeArray(resolvedPath.split('/').filter(function (p) { return !!p; }), !resolvedAbsolute).join('/'); + return (resolvedAbsolute ? '/' : '') + resolvedPath || '.'; +} +exports.resolve = resolve; +/** JSDoc */ +function trim(arr) { + var start = 0; + for (; start < arr.length; start++) { + if (arr[start] !== '') { + break; + } + } + var end = arr.length - 1; + for (; end >= 0; end--) { + if (arr[end] !== '') { + break; + } + } + if (start > end) { + return []; + } + return arr.slice(start, end - start + 1); +} +// path.relative(from, to) +// posix version +/** JSDoc */ +function relative(from, to) { + /* eslint-disable no-param-reassign */ + from = resolve(from).substr(1); + to = resolve(to).substr(1); + /* eslint-enable no-param-reassign */ + var fromParts = trim(from.split('/')); + var toParts = trim(to.split('/')); + var length = Math.min(fromParts.length, toParts.length); + var samePartsLength = length; + for (var i = 0; i < length; i++) { + if (fromParts[i] !== toParts[i]) { + samePartsLength = i; + break; + } + } + var outputParts = []; + for (var i = samePartsLength; i < fromParts.length; i++) { + outputParts.push('..'); + } + outputParts = outputParts.concat(toParts.slice(samePartsLength)); + return outputParts.join('/'); +} +exports.relative = relative; +// path.normalize(path) +// posix version +/** JSDoc */ +function normalizePath(path) { + var isPathAbsolute = isAbsolute(path); + var trailingSlash = path.substr(-1) === '/'; + // Normalize the path + var normalizedPath = normalizeArray(path.split('/').filter(function (p) { return !!p; }), !isPathAbsolute).join('/'); + if (!normalizedPath && !isPathAbsolute) { + normalizedPath = '.'; + } + if (normalizedPath && trailingSlash) { + normalizedPath += '/'; + } + return (isPathAbsolute ? '/' : '') + normalizedPath; +} +exports.normalizePath = normalizePath; +// posix version +/** JSDoc */ +function isAbsolute(path) { + return path.charAt(0) === '/'; +} +exports.isAbsolute = isAbsolute; +// posix version +/** JSDoc */ +function join() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + return normalizePath(args.join('/')); +} +exports.join = join; +/** JSDoc */ +function dirname(path) { + var result = splitPath(path); + var root = result[0]; + var dir = result[1]; + if (!root && !dir) { + // No dirname whatsoever + return '.'; + } + if (dir) { + // It has a dirname, strip trailing slash + dir = dir.substr(0, dir.length - 1); + } + return root + dir; +} +exports.dirname = dirname; +/** JSDoc */ +function basename(path, ext) { + var f = splitPath(path)[2]; + if (ext && f.substr(ext.length * -1) === ext) { + f = f.substr(0, f.length - ext.length); + } + return f; +} +exports.basename = basename; +//# sourceMappingURL=path.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/path.js.map b/node_modules/@sentry/utils/dist/path.js.map new file mode 100644 index 000000000..12677c7d6 --- /dev/null +++ b/node_modules/@sentry/utils/dist/path.js.map @@ -0,0 +1 @@ +{"version":3,"file":"path.js","sourceRoot":"","sources":["../src/path.ts"],"names":[],"mappings":"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","sourcesContent":["// Slightly modified (no IE8 support, ES6) and transcribed to TypeScript\n// https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/master/src/es6/path.js\n\n/** JSDoc */\nfunction normalizeArray(parts: string[], allowAboveRoot?: boolean): string[] {\n // if the path tries to go above the root, `up` ends up > 0\n let up = 0;\n for (let i = parts.length - 1; i >= 0; i--) {\n const last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n // eslint-disable-next-line no-plusplus\n up++;\n } else if (up) {\n parts.splice(i, 1);\n // eslint-disable-next-line no-plusplus\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n // eslint-disable-next-line no-plusplus\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// Split a filename into [root, dir, basename, ext], unix version\n// 'root' is just a slash, or nothing.\nconst splitPathRe = /^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^/]+?|)(\\.[^./]*|))(?:[/]*)$/;\n/** JSDoc */\nfunction splitPath(filename: string): string[] {\n const parts = splitPathRe.exec(filename);\n return parts ? parts.slice(1) : [];\n}\n\n// path.resolve([from ...], to)\n// posix version\n/** JSDoc */\nexport function resolve(...args: string[]): string {\n let resolvedPath = '';\n let resolvedAbsolute = false;\n\n for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n const path = i >= 0 ? args[i] : '/';\n\n // Skip empty entries\n if (!path) {\n continue;\n }\n\n resolvedPath = `${path}/${resolvedPath}`;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(\n resolvedPath.split('/').filter(p => !!p),\n !resolvedAbsolute,\n ).join('/');\n\n return (resolvedAbsolute ? '/' : '') + resolvedPath || '.';\n}\n\n/** JSDoc */\nfunction trim(arr: string[]): string[] {\n let start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') {\n break;\n }\n }\n\n let end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') {\n break;\n }\n }\n\n if (start > end) {\n return [];\n }\n return arr.slice(start, end - start + 1);\n}\n\n// path.relative(from, to)\n// posix version\n/** JSDoc */\nexport function relative(from: string, to: string): string {\n /* eslint-disable no-param-reassign */\n from = resolve(from).substr(1);\n to = resolve(to).substr(1);\n /* eslint-enable no-param-reassign */\n\n const fromParts = trim(from.split('/'));\n const toParts = trim(to.split('/'));\n\n const length = Math.min(fromParts.length, toParts.length);\n let samePartsLength = length;\n for (let i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n let outputParts = [];\n for (let i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n}\n\n// path.normalize(path)\n// posix version\n/** JSDoc */\nexport function normalizePath(path: string): string {\n const isPathAbsolute = isAbsolute(path);\n const trailingSlash = path.substr(-1) === '/';\n\n // Normalize the path\n let normalizedPath = normalizeArray(\n path.split('/').filter(p => !!p),\n !isPathAbsolute,\n ).join('/');\n\n if (!normalizedPath && !isPathAbsolute) {\n normalizedPath = '.';\n }\n if (normalizedPath && trailingSlash) {\n normalizedPath += '/';\n }\n\n return (isPathAbsolute ? '/' : '') + normalizedPath;\n}\n\n// posix version\n/** JSDoc */\nexport function isAbsolute(path: string): boolean {\n return path.charAt(0) === '/';\n}\n\n// posix version\n/** JSDoc */\nexport function join(...args: string[]): string {\n return normalizePath(args.join('/'));\n}\n\n/** JSDoc */\nexport function dirname(path: string): string {\n const result = splitPath(path);\n const root = result[0];\n let dir = result[1];\n\n if (!root && !dir) {\n // No dirname whatsoever\n return '.';\n }\n\n if (dir) {\n // It has a dirname, strip trailing slash\n dir = dir.substr(0, dir.length - 1);\n }\n\n return root + dir;\n}\n\n/** JSDoc */\nexport function basename(path: string, ext?: string): string {\n let f = splitPath(path)[2];\n if (ext && f.substr(ext.length * -1) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/polyfill.d.ts b/node_modules/@sentry/utils/dist/polyfill.d.ts new file mode 100644 index 000000000..80e2f3c7f --- /dev/null +++ b/node_modules/@sentry/utils/dist/polyfill.d.ts @@ -0,0 +1,2 @@ +export declare const setPrototypeOf: (o: any, proto: object | null) => any; +//# sourceMappingURL=polyfill.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/polyfill.js b/node_modules/@sentry/utils/dist/polyfill.js new file mode 100644 index 000000000..db614a28c --- /dev/null +++ b/node_modules/@sentry/utils/dist/polyfill.js @@ -0,0 +1,25 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.setPrototypeOf = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties); +/** + * setPrototypeOf polyfill using __proto__ + */ +// eslint-disable-next-line @typescript-eslint/ban-types +function setProtoOf(obj, proto) { + // @ts-ignore __proto__ does not exist on obj + obj.__proto__ = proto; + return obj; +} +/** + * setPrototypeOf polyfill using mixin + */ +// eslint-disable-next-line @typescript-eslint/ban-types +function mixinProperties(obj, proto) { + for (var prop in proto) { + if (!Object.prototype.hasOwnProperty.call(obj, prop)) { + // @ts-ignore typescript complains about indexing so we remove + obj[prop] = proto[prop]; + } + } + return obj; +} +//# sourceMappingURL=polyfill.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/polyfill.js.map b/node_modules/@sentry/utils/dist/polyfill.js.map new file mode 100644 index 000000000..ac2d437cb --- /dev/null +++ b/node_modules/@sentry/utils/dist/polyfill.js.map @@ -0,0 +1 @@ +{"version":3,"file":"polyfill.js","sourceRoot":"","sources":["../src/polyfill.ts"],"names":[],"mappings":";AAAa,QAAA,cAAc,GACzB,MAAM,CAAC,cAAc,IAAI,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;AAE/F;;GAEG;AACH,wDAAwD;AACxD,SAAS,UAAU,CAAiC,GAAY,EAAE,KAAa;IAC7E,6CAA6C;IAC7C,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC;IACtB,OAAO,GAAuB,CAAC;AACjC,CAAC;AAED;;GAEG;AACH,wDAAwD;AACxD,SAAS,eAAe,CAAiC,GAAY,EAAE,KAAa;IAClF,KAAK,IAAM,IAAI,IAAI,KAAK,EAAE;QACxB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE;YACpD,8DAA8D;YAC9D,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;SACzB;KACF;IAED,OAAO,GAAuB,CAAC;AACjC,CAAC","sourcesContent":["export const setPrototypeOf =\n Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties);\n\n/**\n * setPrototypeOf polyfill using __proto__\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction setProtoOf(obj: TTarget, proto: TProto): TTarget & TProto {\n // @ts-ignore __proto__ does not exist on obj\n obj.__proto__ = proto;\n return obj as TTarget & TProto;\n}\n\n/**\n * setPrototypeOf polyfill using mixin\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction mixinProperties(obj: TTarget, proto: TProto): TTarget & TProto {\n for (const prop in proto) {\n if (!Object.prototype.hasOwnProperty.call(obj, prop)) {\n // @ts-ignore typescript complains about indexing so we remove\n obj[prop] = proto[prop];\n }\n }\n\n return obj as TTarget & TProto;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/promisebuffer.d.ts b/node_modules/@sentry/utils/dist/promisebuffer.d.ts new file mode 100644 index 000000000..fb7b633cb --- /dev/null +++ b/node_modules/@sentry/utils/dist/promisebuffer.d.ts @@ -0,0 +1,11 @@ +export interface PromiseBuffer { + $: Array>; + add(taskProducer: () => PromiseLike): PromiseLike; + drain(timeout?: number): PromiseLike; +} +/** + * Creates an new PromiseBuffer object with the specified limit + * @param limit max number of promises that can be stored in the buffer + */ +export declare function makePromiseBuffer(limit?: number): PromiseBuffer; +//# sourceMappingURL=promisebuffer.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/promisebuffer.js b/node_modules/@sentry/utils/dist/promisebuffer.js new file mode 100644 index 000000000..bbf9fc7fd --- /dev/null +++ b/node_modules/@sentry/utils/dist/promisebuffer.js @@ -0,0 +1,93 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var error_1 = require("./error"); +var syncpromise_1 = require("./syncpromise"); +/** + * Creates an new PromiseBuffer object with the specified limit + * @param limit max number of promises that can be stored in the buffer + */ +function makePromiseBuffer(limit) { + var buffer = []; + function isReady() { + return limit === undefined || buffer.length < limit; + } + /** + * Remove a promise from the queue. + * + * @param task Can be any PromiseLike + * @returns Removed promise. + */ + function remove(task) { + return buffer.splice(buffer.indexOf(task), 1)[0]; + } + /** + * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment. + * + * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task: + * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor + * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By + * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer + * limit check. + * @returns The original promise. + */ + function add(taskProducer) { + if (!isReady()) { + return syncpromise_1.rejectedSyncPromise(new error_1.SentryError('Not adding Promise due to buffer limit reached.')); + } + // start the task and add its promise to the queue + var task = taskProducer(); + if (buffer.indexOf(task) === -1) { + buffer.push(task); + } + void task + .then(function () { return remove(task); }) + // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike` + // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't + // have promises, so TS has to polyfill when down-compiling.) + .then(null, function () { + return remove(task).then(null, function () { + // We have to add another catch here because `remove()` starts a new promise chain. + }); + }); + return task; + } + /** + * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first. + * + * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or + * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to + * `true`. + * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and + * `false` otherwise + */ + function drain(timeout) { + return new syncpromise_1.SyncPromise(function (resolve, reject) { + var counter = buffer.length; + if (!counter) { + return resolve(true); + } + // wait for `timeout` ms and then resolve to `false` (if not cancelled first) + var capturedSetTimeout = setTimeout(function () { + if (timeout && timeout > 0) { + resolve(false); + } + }, timeout); + // if all promises resolve in time, cancel the timer and resolve to `true` + buffer.forEach(function (item) { + void syncpromise_1.resolvedSyncPromise(item).then(function () { + // eslint-disable-next-line no-plusplus + if (!--counter) { + clearTimeout(capturedSetTimeout); + resolve(true); + } + }, reject); + }); + }); + } + return { + $: buffer, + add: add, + drain: drain, + }; +} +exports.makePromiseBuffer = makePromiseBuffer; +//# sourceMappingURL=promisebuffer.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/promisebuffer.js.map b/node_modules/@sentry/utils/dist/promisebuffer.js.map new file mode 100644 index 000000000..13fa61259 --- /dev/null +++ b/node_modules/@sentry/utils/dist/promisebuffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"promisebuffer.js","sourceRoot":"","sources":["../src/promisebuffer.ts"],"names":[],"mappings":";AAAA,iCAAsC;AACtC,6CAAsF;AAUtF;;;GAGG;AACH,SAAgB,iBAAiB,CAAI,KAAc;IACjD,IAAM,MAAM,GAA0B,EAAE,CAAC;IAEzC,SAAS,OAAO;QACd,OAAO,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACH,SAAS,MAAM,CAAC,IAAoB;QAClC,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;;;OASG;IACH,SAAS,GAAG,CAAC,YAAkC;QAC7C,IAAI,CAAC,OAAO,EAAE,EAAE;YACd,OAAO,iCAAmB,CAAC,IAAI,mBAAW,CAAC,iDAAiD,CAAC,CAAC,CAAC;SAChG;QAED,kDAAkD;QAClD,IAAM,IAAI,GAAG,YAAY,EAAE,CAAC;QAC5B,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YAC/B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACnB;QACD,KAAK,IAAI;aACN,IAAI,CAAC,cAAM,OAAA,MAAM,CAAC,IAAI,CAAC,EAAZ,CAAY,CAAC;YACzB,4GAA4G;YAC5G,gHAAgH;YAChH,6DAA6D;aAC5D,IAAI,CAAC,IAAI,EAAE;YACV,OAAA,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE;gBACtB,mFAAmF;YACrF,CAAC,CAAC;QAFF,CAEE,CACH,CAAC;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;;;;OAQG;IACH,SAAS,KAAK,CAAC,OAAgB;QAC7B,OAAO,IAAI,yBAAW,CAAU,UAAC,OAAO,EAAE,MAAM;YAC9C,IAAI,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC;YAE5B,IAAI,CAAC,OAAO,EAAE;gBACZ,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;aACtB;YAED,6EAA6E;YAC7E,IAAM,kBAAkB,GAAG,UAAU,CAAC;gBACpC,IAAI,OAAO,IAAI,OAAO,GAAG,CAAC,EAAE;oBAC1B,OAAO,CAAC,KAAK,CAAC,CAAC;iBAChB;YACH,CAAC,EAAE,OAAO,CAAC,CAAC;YAEZ,0EAA0E;YAC1E,MAAM,CAAC,OAAO,CAAC,UAAA,IAAI;gBACjB,KAAK,iCAAmB,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;oBAClC,uCAAuC;oBACvC,IAAI,CAAC,EAAE,OAAO,EAAE;wBACd,YAAY,CAAC,kBAAkB,CAAC,CAAC;wBACjC,OAAO,CAAC,IAAI,CAAC,CAAC;qBACf;gBACH,CAAC,EAAE,MAAM,CAAC,CAAC;YACb,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;IAED,OAAO;QACL,CAAC,EAAE,MAAM;QACT,GAAG,KAAA;QACH,KAAK,OAAA;KACN,CAAC;AACJ,CAAC;AA5FD,8CA4FC","sourcesContent":["import { SentryError } from './error';\nimport { rejectedSyncPromise, resolvedSyncPromise, SyncPromise } from './syncpromise';\n\nexport interface PromiseBuffer {\n // exposes the internal array so tests can assert on the state of it.\n // XXX: this really should not be public api.\n $: Array>;\n add(taskProducer: () => PromiseLike): PromiseLike;\n drain(timeout?: number): PromiseLike;\n}\n\n/**\n * Creates an new PromiseBuffer object with the specified limit\n * @param limit max number of promises that can be stored in the buffer\n */\nexport function makePromiseBuffer(limit?: number): PromiseBuffer {\n const buffer: Array> = [];\n\n function isReady(): boolean {\n return limit === undefined || buffer.length < limit;\n }\n\n /**\n * Remove a promise from the queue.\n *\n * @param task Can be any PromiseLike\n * @returns Removed promise.\n */\n function remove(task: PromiseLike): PromiseLike {\n return buffer.splice(buffer.indexOf(task), 1)[0];\n }\n\n /**\n * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment.\n *\n * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task:\n * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor\n * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By\n * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer\n * limit check.\n * @returns The original promise.\n */\n function add(taskProducer: () => PromiseLike): PromiseLike {\n if (!isReady()) {\n return rejectedSyncPromise(new SentryError('Not adding Promise due to buffer limit reached.'));\n }\n\n // start the task and add its promise to the queue\n const task = taskProducer();\n if (buffer.indexOf(task) === -1) {\n buffer.push(task);\n }\n void task\n .then(() => remove(task))\n // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike`\n // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't\n // have promises, so TS has to polyfill when down-compiling.)\n .then(null, () =>\n remove(task).then(null, () => {\n // We have to add another catch here because `remove()` starts a new promise chain.\n }),\n );\n return task;\n }\n\n /**\n * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or\n * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and\n * `false` otherwise\n */\n function drain(timeout?: number): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n let counter = buffer.length;\n\n if (!counter) {\n return resolve(true);\n }\n\n // wait for `timeout` ms and then resolve to `false` (if not cancelled first)\n const capturedSetTimeout = setTimeout(() => {\n if (timeout && timeout > 0) {\n resolve(false);\n }\n }, timeout);\n\n // if all promises resolve in time, cancel the timer and resolve to `true`\n buffer.forEach(item => {\n void resolvedSyncPromise(item).then(() => {\n // eslint-disable-next-line no-plusplus\n if (!--counter) {\n clearTimeout(capturedSetTimeout);\n resolve(true);\n }\n }, reject);\n });\n });\n }\n\n return {\n $: buffer,\n add,\n drain,\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/severity.d.ts b/node_modules/@sentry/utils/dist/severity.d.ts new file mode 100644 index 000000000..5ce7b9da0 --- /dev/null +++ b/node_modules/@sentry/utils/dist/severity.d.ts @@ -0,0 +1,10 @@ +import { Severity } from '@sentry/types'; +import { SeverityLevel } from './enums'; +/** + * Converts a string-based level into a {@link Severity}. + * + * @param level string representation of Severity + * @returns Severity + */ +export declare function severityFromString(level: SeverityLevel | string): Severity; +//# sourceMappingURL=severity.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/severity.js b/node_modules/@sentry/utils/dist/severity.js new file mode 100644 index 000000000..fd8950c1d --- /dev/null +++ b/node_modules/@sentry/utils/dist/severity.js @@ -0,0 +1,22 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var types_1 = require("@sentry/types"); +var enums_1 = require("./enums"); +function isSupportedSeverity(level) { + return enums_1.SeverityLevels.indexOf(level) !== -1; +} +/** + * Converts a string-based level into a {@link Severity}. + * + * @param level string representation of Severity + * @returns Severity + */ +function severityFromString(level) { + if (level === 'warn') + return types_1.Severity.Warning; + if (isSupportedSeverity(level)) { + return level; + } + return types_1.Severity.Log; +} +exports.severityFromString = severityFromString; +//# sourceMappingURL=severity.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/severity.js.map b/node_modules/@sentry/utils/dist/severity.js.map new file mode 100644 index 000000000..b0be7a515 --- /dev/null +++ b/node_modules/@sentry/utils/dist/severity.js.map @@ -0,0 +1 @@ +{"version":3,"file":"severity.js","sourceRoot":"","sources":["../src/severity.ts"],"names":[],"mappings":";AAAA,uCAAyC;AAEzC,iCAAwD;AAExD,SAAS,mBAAmB,CAAC,KAAa;IACxC,OAAO,sBAAc,CAAC,OAAO,CAAC,KAAsB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC/D,CAAC;AACD;;;;;GAKG;AACH,SAAgB,kBAAkB,CAAC,KAA6B;IAC9D,IAAI,KAAK,KAAK,MAAM;QAAE,OAAO,gBAAQ,CAAC,OAAO,CAAC;IAC9C,IAAI,mBAAmB,CAAC,KAAK,CAAC,EAAE;QAC9B,OAAO,KAAK,CAAC;KACd;IACD,OAAO,gBAAQ,CAAC,GAAG,CAAC;AACtB,CAAC;AAND,gDAMC","sourcesContent":["import { Severity } from '@sentry/types';\n\nimport { SeverityLevel, SeverityLevels } from './enums';\n\nfunction isSupportedSeverity(level: string): level is Severity {\n return SeverityLevels.indexOf(level as SeverityLevel) !== -1;\n}\n/**\n * Converts a string-based level into a {@link Severity}.\n *\n * @param level string representation of Severity\n * @returns Severity\n */\nexport function severityFromString(level: SeverityLevel | string): Severity {\n if (level === 'warn') return Severity.Warning;\n if (isSupportedSeverity(level)) {\n return level;\n }\n return Severity.Log;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/stacktrace.d.ts b/node_modules/@sentry/utils/dist/stacktrace.d.ts new file mode 100644 index 000000000..6c7f77ed4 --- /dev/null +++ b/node_modules/@sentry/utils/dist/stacktrace.d.ts @@ -0,0 +1,19 @@ +import { StackFrame } from '@sentry/types'; +export declare type StackLineParser = (line: string) => StackFrame | undefined; +/** + * Creates a stack parser with the supplied line parsers + * + * StackFrames are returned in the correct order for Sentry Exception + * frames and with Sentry SDK internal frames removed from the top and bottom + * + * */ +export declare function createStackParser(...parsers: StackLineParser[]): (stack: string, skipFirst?: number) => StackFrame[]; +/** + * @hidden + */ +export declare function stripSentryFramesAndReverse(stack: StackFrame[]): StackFrame[]; +/** + * Safely extract function name from itself + */ +export declare function getFunctionName(fn: unknown): string; +//# sourceMappingURL=stacktrace.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/stacktrace.js b/node_modules/@sentry/utils/dist/stacktrace.js new file mode 100644 index 000000000..0acb163cf --- /dev/null +++ b/node_modules/@sentry/utils/dist/stacktrace.js @@ -0,0 +1,96 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var STACKTRACE_LIMIT = 50; +/** + * Creates a stack parser with the supplied line parsers + * + * StackFrames are returned in the correct order for Sentry Exception + * frames and with Sentry SDK internal frames removed from the top and bottom + * + * */ +function createStackParser() { + var parsers = []; + for (var _i = 0; _i < arguments.length; _i++) { + parsers[_i] = arguments[_i]; + } + return function (stack, skipFirst) { + var e_1, _a, e_2, _b; + if (skipFirst === void 0) { skipFirst = 0; } + var frames = []; + try { + for (var _c = tslib_1.__values(stack.split('\n').slice(skipFirst)), _d = _c.next(); !_d.done; _d = _c.next()) { + var line = _d.value; + try { + for (var parsers_1 = (e_2 = void 0, tslib_1.__values(parsers)), parsers_1_1 = parsers_1.next(); !parsers_1_1.done; parsers_1_1 = parsers_1.next()) { + var parser = parsers_1_1.value; + var frame = parser(line); + if (frame) { + frames.push(frame); + break; + } + } + } + catch (e_2_1) { e_2 = { error: e_2_1 }; } + finally { + try { + if (parsers_1_1 && !parsers_1_1.done && (_b = parsers_1.return)) _b.call(parsers_1); + } + finally { if (e_2) throw e_2.error; } + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_d && !_d.done && (_a = _c.return)) _a.call(_c); + } + finally { if (e_1) throw e_1.error; } + } + return stripSentryFramesAndReverse(frames); + }; +} +exports.createStackParser = createStackParser; +/** + * @hidden + */ +function stripSentryFramesAndReverse(stack) { + if (!stack.length) { + return []; + } + var localStack = stack; + var firstFrameFunction = localStack[0].function || ''; + var lastFrameFunction = localStack[localStack.length - 1].function || ''; + // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call) + if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) { + localStack = localStack.slice(1); + } + // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call) + if (lastFrameFunction.indexOf('sentryWrapped') !== -1) { + localStack = localStack.slice(0, -1); + } + // The frame where the crash happened, should be the last entry in the array + return localStack + .slice(0, STACKTRACE_LIMIT) + .map(function (frame) { return (tslib_1.__assign(tslib_1.__assign({}, frame), { filename: frame.filename || localStack[0].filename, function: frame.function || '?' })); }) + .reverse(); +} +exports.stripSentryFramesAndReverse = stripSentryFramesAndReverse; +var defaultFunctionName = ''; +/** + * Safely extract function name from itself + */ +function getFunctionName(fn) { + try { + if (!fn || typeof fn !== 'function') { + return defaultFunctionName; + } + return fn.name || defaultFunctionName; + } + catch (e) { + // Just accessing custom props in some Selenium environments + // can cause a "Permission denied" exception (see raven-js#495). + return defaultFunctionName; + } +} +exports.getFunctionName = getFunctionName; +//# sourceMappingURL=stacktrace.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/stacktrace.js.map b/node_modules/@sentry/utils/dist/stacktrace.js.map new file mode 100644 index 000000000..5fb3d177a --- /dev/null +++ b/node_modules/@sentry/utils/dist/stacktrace.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.js","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":";;AAEA,IAAM,gBAAgB,GAAG,EAAE,CAAC;AAI5B;;;;;;KAMK;AACL,SAAgB,iBAAiB;IAAC,iBAA6B;SAA7B,UAA6B,EAA7B,qBAA6B,EAA7B,IAA6B;QAA7B,4BAA6B;;IAC7D,OAAO,UAAC,KAAa,EAAE,SAAqB;;QAArB,0BAAA,EAAA,aAAqB;QAC1C,IAAM,MAAM,GAAiB,EAAE,CAAC;;YAEhC,KAAmB,IAAA,KAAA,iBAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA,gBAAA,4BAAE;gBAAlD,IAAM,IAAI,WAAA;;oBACb,KAAqB,IAAA,2BAAA,iBAAA,OAAO,CAAA,CAAA,gCAAA,qDAAE;wBAAzB,IAAM,MAAM,oBAAA;wBACf,IAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;wBAE3B,IAAI,KAAK,EAAE;4BACT,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;4BACnB,MAAM;yBACP;qBACF;;;;;;;;;aACF;;;;;;;;;QAED,OAAO,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC,CAAC;AACJ,CAAC;AAjBD,8CAiBC;AAED;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAmB;IAC7D,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;QACjB,OAAO,EAAE,CAAC;KACX;IAED,IAAI,UAAU,GAAG,KAAK,CAAC;IAEvB,IAAM,kBAAkB,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC;IACxD,IAAM,iBAAiB,GAAG,UAAU,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC;IAE3E,mHAAmH;IACnH,IAAI,kBAAkB,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,IAAI,kBAAkB,CAAC,OAAO,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,EAAE;QAChH,UAAU,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KAClC;IAED,+HAA+H;IAC/H,IAAI,iBAAiB,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,EAAE;QACrD,UAAU,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;KACtC;IAED,4EAA4E;IAC5E,OAAO,UAAU;SACd,KAAK,CAAC,CAAC,EAAE,gBAAgB,CAAC;SAC1B,GAAG,CAAC,UAAA,KAAK,IAAI,OAAA,uCACT,KAAK,KACR,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,EAClD,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,GAAG,IAC/B,EAJY,CAIZ,CAAC;SACF,OAAO,EAAE,CAAC;AACf,CAAC;AA7BD,kEA6BC;AAED,IAAM,mBAAmB,GAAG,aAAa,CAAC;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,EAAW;IACzC,IAAI;QACF,IAAI,CAAC,EAAE,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,OAAO,mBAAmB,CAAC;SAC5B;QACD,OAAO,EAAE,CAAC,IAAI,IAAI,mBAAmB,CAAC;KACvC;IAAC,OAAO,CAAC,EAAE;QACV,4DAA4D;QAC5D,gEAAgE;QAChE,OAAO,mBAAmB,CAAC;KAC5B;AACH,CAAC;AAXD,0CAWC","sourcesContent":["import { StackFrame } from '@sentry/types';\n\nconst STACKTRACE_LIMIT = 50;\n\nexport type StackLineParser = (line: string) => StackFrame | undefined;\n\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n * */\nexport function createStackParser(...parsers: StackLineParser[]) {\n return (stack: string, skipFirst: number = 0): StackFrame[] => {\n const frames: StackFrame[] = [];\n\n for (const line of stack.split('\\n').slice(skipFirst)) {\n for (const parser of parsers) {\n const frame = parser(line);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n\n/**\n * @hidden\n */\nexport function stripSentryFramesAndReverse(stack: StackFrame[]): StackFrame[] {\n if (!stack.length) {\n return [];\n }\n\n let localStack = stack;\n\n const firstFrameFunction = localStack[0].function || '';\n const lastFrameFunction = localStack[localStack.length - 1].function || '';\n\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) {\n localStack = localStack.slice(1);\n }\n\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (lastFrameFunction.indexOf('sentryWrapped') !== -1) {\n localStack = localStack.slice(0, -1);\n }\n\n // The frame where the crash happened, should be the last entry in the array\n return localStack\n .slice(0, STACKTRACE_LIMIT)\n .map(frame => ({\n ...frame,\n filename: frame.filename || localStack[0].filename,\n function: frame.function || '?',\n }))\n .reverse();\n}\n\nconst defaultFunctionName = '';\n\n/**\n * Safely extract function name from itself\n */\nexport function getFunctionName(fn: unknown): string {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/status.d.ts b/node_modules/@sentry/utils/dist/status.d.ts new file mode 100644 index 000000000..f76c3d98e --- /dev/null +++ b/node_modules/@sentry/utils/dist/status.d.ts @@ -0,0 +1,9 @@ +import { EventStatus } from '@sentry/types'; +/** + * Converts an HTTP status code to sentry status {@link EventStatus}. + * + * @param code number HTTP status code + * @returns EventStatus + */ +export declare function eventStatusFromHttpCode(code: number): EventStatus; +//# sourceMappingURL=status.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/status.js b/node_modules/@sentry/utils/dist/status.js new file mode 100644 index 000000000..5073292a5 --- /dev/null +++ b/node_modules/@sentry/utils/dist/status.js @@ -0,0 +1,24 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Converts an HTTP status code to sentry status {@link EventStatus}. + * + * @param code number HTTP status code + * @returns EventStatus + */ +function eventStatusFromHttpCode(code) { + if (code >= 200 && code < 300) { + return 'success'; + } + if (code === 429) { + return 'rate_limit'; + } + if (code >= 400 && code < 500) { + return 'invalid'; + } + if (code >= 500) { + return 'failed'; + } + return 'unknown'; +} +exports.eventStatusFromHttpCode = eventStatusFromHttpCode; +//# sourceMappingURL=status.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/status.js.map b/node_modules/@sentry/utils/dist/status.js.map new file mode 100644 index 000000000..1efd09c72 --- /dev/null +++ b/node_modules/@sentry/utils/dist/status.js.map @@ -0,0 +1 @@ +{"version":3,"file":"status.js","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":";AACA;;;;;GAKG;AACH,SAAgB,uBAAuB,CAAC,IAAY;IAClD,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,GAAG,GAAG,EAAE;QAC7B,OAAO,SAAS,CAAC;KAClB;IAED,IAAI,IAAI,KAAK,GAAG,EAAE;QAChB,OAAO,YAAY,CAAC;KACrB;IAED,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,GAAG,GAAG,EAAE;QAC7B,OAAO,SAAS,CAAC;KAClB;IAED,IAAI,IAAI,IAAI,GAAG,EAAE;QACf,OAAO,QAAQ,CAAC;KACjB;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAlBD,0DAkBC","sourcesContent":["import { EventStatus } from '@sentry/types';\n/**\n * Converts an HTTP status code to sentry status {@link EventStatus}.\n *\n * @param code number HTTP status code\n * @returns EventStatus\n */\nexport function eventStatusFromHttpCode(code: number): EventStatus {\n if (code >= 200 && code < 300) {\n return 'success';\n }\n\n if (code === 429) {\n return 'rate_limit';\n }\n\n if (code >= 400 && code < 500) {\n return 'invalid';\n }\n\n if (code >= 500) {\n return 'failed';\n }\n\n return 'unknown';\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/string.d.ts b/node_modules/@sentry/utils/dist/string.d.ts new file mode 100644 index 000000000..8abc6011b --- /dev/null +++ b/node_modules/@sentry/utils/dist/string.d.ts @@ -0,0 +1,43 @@ +/** + * Truncates given string to the maximum characters count + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string (0 = unlimited) + * @returns string Encoded + */ +export declare function truncate(str: string, max?: number): string; +/** + * This is basically just `trim_line` from + * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67 + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string + * @returns string Encoded + */ +export declare function snipLine(line: string, colno: number): string; +/** + * Join values in array + * @param input array of values to be joined together + * @param delimiter string to be placed in-between values + * @returns Joined values + */ +export declare function safeJoin(input: any[], delimiter?: string): string; +/** + * Checks if the value matches a regex or includes the string + * @param value The string value to be checked against + * @param pattern Either a regex or a string that must be contained in value + */ +export declare function isMatchingPattern(value: string, pattern: RegExp | string): boolean; +/** + * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to + * `new RegExp()`. + * + * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime + * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node + * 12+). + * + * @param regexString The string to escape + * @returns An version of the string with all special regex characters escaped + */ +export declare function escapeStringForRegex(regexString: string): string; +//# sourceMappingURL=string.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/string.js b/node_modules/@sentry/utils/dist/string.js new file mode 100644 index 000000000..19a245472 --- /dev/null +++ b/node_modules/@sentry/utils/dist/string.js @@ -0,0 +1,117 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var is_1 = require("./is"); +/** + * Truncates given string to the maximum characters count + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string (0 = unlimited) + * @returns string Encoded + */ +function truncate(str, max) { + if (max === void 0) { max = 0; } + if (typeof str !== 'string' || max === 0) { + return str; + } + return str.length <= max ? str : str.substr(0, max) + "..."; +} +exports.truncate = truncate; +/** + * This is basically just `trim_line` from + * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67 + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string + * @returns string Encoded + */ +function snipLine(line, colno) { + var newLine = line; + var lineLength = newLine.length; + if (lineLength <= 150) { + return newLine; + } + if (colno > lineLength) { + // eslint-disable-next-line no-param-reassign + colno = lineLength; + } + var start = Math.max(colno - 60, 0); + if (start < 5) { + start = 0; + } + var end = Math.min(start + 140, lineLength); + if (end > lineLength - 5) { + end = lineLength; + } + if (end === lineLength) { + start = Math.max(end - 140, 0); + } + newLine = newLine.slice(start, end); + if (start > 0) { + newLine = "'{snip} " + newLine; + } + if (end < lineLength) { + newLine += ' {snip}'; + } + return newLine; +} +exports.snipLine = snipLine; +/** + * Join values in array + * @param input array of values to be joined together + * @param delimiter string to be placed in-between values + * @returns Joined values + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function safeJoin(input, delimiter) { + if (!Array.isArray(input)) { + return ''; + } + var output = []; + // eslint-disable-next-line @typescript-eslint/prefer-for-of + for (var i = 0; i < input.length; i++) { + var value = input[i]; + try { + output.push(String(value)); + } + catch (e) { + output.push('[value cannot be serialized]'); + } + } + return output.join(delimiter); +} +exports.safeJoin = safeJoin; +/** + * Checks if the value matches a regex or includes the string + * @param value The string value to be checked against + * @param pattern Either a regex or a string that must be contained in value + */ +function isMatchingPattern(value, pattern) { + if (!is_1.isString(value)) { + return false; + } + if (is_1.isRegExp(pattern)) { + return pattern.test(value); + } + if (typeof pattern === 'string') { + return value.indexOf(pattern) !== -1; + } + return false; +} +exports.isMatchingPattern = isMatchingPattern; +/** + * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to + * `new RegExp()`. + * + * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime + * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node + * 12+). + * + * @param regexString The string to escape + * @returns An version of the string with all special regex characters escaped + */ +function escapeStringForRegex(regexString) { + // escape the hyphen separately so we can also replace it with a unicode literal hyphen, to avoid the problems + // discussed in https://github.com/sindresorhus/escape-string-regexp/issues/20. + return regexString.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); +} +exports.escapeStringForRegex = escapeStringForRegex; +//# sourceMappingURL=string.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/string.js.map b/node_modules/@sentry/utils/dist/string.js.map new file mode 100644 index 000000000..bc448c85e --- /dev/null +++ b/node_modules/@sentry/utils/dist/string.js.map @@ -0,0 +1 @@ +{"version":3,"file":"string.js","sourceRoot":"","sources":["../src/string.ts"],"names":[],"mappings":"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","sourcesContent":["import { isRegExp, isString } from './is';\n\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nexport function truncate(str: string, max: number = 0): string {\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : `${str.substr(0, max)}...`;\n}\n\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nexport function snipLine(line: string, colno: number): string {\n let newLine = line;\n const lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n let start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n\n let end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = `'{snip} ${newLine}`;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function safeJoin(input: any[], delimiter?: string): string {\n if (!Array.isArray(input)) {\n return '';\n }\n\n const output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.length; i++) {\n const value = input[i];\n try {\n output.push(String(value));\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n\n/**\n * Checks if the value matches a regex or includes the string\n * @param value The string value to be checked against\n * @param pattern Either a regex or a string that must be contained in value\n */\nexport function isMatchingPattern(value: string, pattern: RegExp | string): boolean {\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return (pattern as RegExp).test(value);\n }\n if (typeof pattern === 'string') {\n return value.indexOf(pattern) !== -1;\n }\n return false;\n}\n\n/**\n * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to\n * `new RegExp()`.\n *\n * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime\n * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node\n * 12+).\n *\n * @param regexString The string to escape\n * @returns An version of the string with all special regex characters escaped\n */\nexport function escapeStringForRegex(regexString: string): string {\n // escape the hyphen separately so we can also replace it with a unicode literal hyphen, to avoid the problems\n // discussed in https://github.com/sindresorhus/escape-string-regexp/issues/20.\n return regexString.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&').replace(/-/g, '\\\\x2d');\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/supports.d.ts b/node_modules/@sentry/utils/dist/supports.d.ts new file mode 100644 index 000000000..69cd1c583 --- /dev/null +++ b/node_modules/@sentry/utils/dist/supports.d.ts @@ -0,0 +1,61 @@ +/** + * Tells whether current environment supports ErrorEvent objects + * {@link supportsErrorEvent}. + * + * @returns Answer to the given question. + */ +export declare function supportsErrorEvent(): boolean; +/** + * Tells whether current environment supports DOMError objects + * {@link supportsDOMError}. + * + * @returns Answer to the given question. + */ +export declare function supportsDOMError(): boolean; +/** + * Tells whether current environment supports DOMException objects + * {@link supportsDOMException}. + * + * @returns Answer to the given question. + */ +export declare function supportsDOMException(): boolean; +/** + * Tells whether current environment supports Fetch API + * {@link supportsFetch}. + * + * @returns Answer to the given question. + */ +export declare function supportsFetch(): boolean; +/** + * isNativeFetch checks if the given function is a native implementation of fetch() + */ +export declare function isNativeFetch(func: Function): boolean; +/** + * Tells whether current environment supports Fetch API natively + * {@link supportsNativeFetch}. + * + * @returns true if `window.fetch` is natively implemented, false otherwise + */ +export declare function supportsNativeFetch(): boolean; +/** + * Tells whether current environment supports ReportingObserver API + * {@link supportsReportingObserver}. + * + * @returns Answer to the given question. + */ +export declare function supportsReportingObserver(): boolean; +/** + * Tells whether current environment supports Referrer Policy API + * {@link supportsReferrerPolicy}. + * + * @returns Answer to the given question. + */ +export declare function supportsReferrerPolicy(): boolean; +/** + * Tells whether current environment supports History API + * {@link supportsHistory}. + * + * @returns Answer to the given question. + */ +export declare function supportsHistory(): boolean; +//# sourceMappingURL=supports.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/supports.js b/node_modules/@sentry/utils/dist/supports.js new file mode 100644 index 000000000..cdeef5da5 --- /dev/null +++ b/node_modules/@sentry/utils/dist/supports.js @@ -0,0 +1,181 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var env_1 = require("./env"); +var global_1 = require("./global"); +var logger_1 = require("./logger"); +/** + * Tells whether current environment supports ErrorEvent objects + * {@link supportsErrorEvent}. + * + * @returns Answer to the given question. + */ +function supportsErrorEvent() { + try { + new ErrorEvent(''); + return true; + } + catch (e) { + return false; + } +} +exports.supportsErrorEvent = supportsErrorEvent; +/** + * Tells whether current environment supports DOMError objects + * {@link supportsDOMError}. + * + * @returns Answer to the given question. + */ +function supportsDOMError() { + try { + // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError': + // 1 argument required, but only 0 present. + // @ts-ignore It really needs 1 argument, not 0. + new DOMError(''); + return true; + } + catch (e) { + return false; + } +} +exports.supportsDOMError = supportsDOMError; +/** + * Tells whether current environment supports DOMException objects + * {@link supportsDOMException}. + * + * @returns Answer to the given question. + */ +function supportsDOMException() { + try { + new DOMException(''); + return true; + } + catch (e) { + return false; + } +} +exports.supportsDOMException = supportsDOMException; +/** + * Tells whether current environment supports Fetch API + * {@link supportsFetch}. + * + * @returns Answer to the given question. + */ +function supportsFetch() { + if (!('fetch' in global_1.getGlobalObject())) { + return false; + } + try { + new Headers(); + new Request(''); + new Response(); + return true; + } + catch (e) { + return false; + } +} +exports.supportsFetch = supportsFetch; +/** + * isNativeFetch checks if the given function is a native implementation of fetch() + */ +// eslint-disable-next-line @typescript-eslint/ban-types +function isNativeFetch(func) { + return func && /^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(func.toString()); +} +exports.isNativeFetch = isNativeFetch; +/** + * Tells whether current environment supports Fetch API natively + * {@link supportsNativeFetch}. + * + * @returns true if `window.fetch` is natively implemented, false otherwise + */ +function supportsNativeFetch() { + if (!supportsFetch()) { + return false; + } + var global = global_1.getGlobalObject(); + // Fast path to avoid DOM I/O + // eslint-disable-next-line @typescript-eslint/unbound-method + if (isNativeFetch(global.fetch)) { + return true; + } + // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension) + // so create a "pure" iframe to see if that has native fetch + var result = false; + var doc = global.document; + // eslint-disable-next-line deprecation/deprecation + if (doc && typeof doc.createElement === "function") { + try { + var sandbox = doc.createElement('iframe'); + sandbox.hidden = true; + doc.head.appendChild(sandbox); + if (sandbox.contentWindow && sandbox.contentWindow.fetch) { + // eslint-disable-next-line @typescript-eslint/unbound-method + result = isNativeFetch(sandbox.contentWindow.fetch); + } + doc.head.removeChild(sandbox); + } + catch (err) { + if (env_1.isDebugBuild()) { + logger_1.logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err); + } + } + } + return result; +} +exports.supportsNativeFetch = supportsNativeFetch; +/** + * Tells whether current environment supports ReportingObserver API + * {@link supportsReportingObserver}. + * + * @returns Answer to the given question. + */ +function supportsReportingObserver() { + return 'ReportingObserver' in global_1.getGlobalObject(); +} +exports.supportsReportingObserver = supportsReportingObserver; +/** + * Tells whether current environment supports Referrer Policy API + * {@link supportsReferrerPolicy}. + * + * @returns Answer to the given question. + */ +function supportsReferrerPolicy() { + // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default' + // (see https://caniuse.com/#feat=referrer-policy), + // it doesn't. And it throws an exception instead of ignoring this parameter... + // REF: https://github.com/getsentry/raven-js/issues/1233 + if (!supportsFetch()) { + return false; + } + try { + new Request('_', { + referrerPolicy: 'origin', + }); + return true; + } + catch (e) { + return false; + } +} +exports.supportsReferrerPolicy = supportsReferrerPolicy; +/** + * Tells whether current environment supports History API + * {@link supportsHistory}. + * + * @returns Answer to the given question. + */ +function supportsHistory() { + // NOTE: in Chrome App environment, touching history.pushState, *even inside + // a try/catch block*, will cause Chrome to output an error to console.error + // borrowed from: https://github.com/angular/angular.js/pull/13945/files + var global = global_1.getGlobalObject(); + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var chrome = global.chrome; + var isChromePackagedApp = chrome && chrome.app && chrome.app.runtime; + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + var hasHistoryApi = 'history' in global && !!global.history.pushState && !!global.history.replaceState; + return !isChromePackagedApp && hasHistoryApi; +} +exports.supportsHistory = supportsHistory; +//# sourceMappingURL=supports.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/supports.js.map b/node_modules/@sentry/utils/dist/supports.js.map new file mode 100644 index 000000000..3db331e8f --- /dev/null +++ b/node_modules/@sentry/utils/dist/supports.js.map @@ -0,0 +1 @@ +{"version":3,"file":"supports.js","sourceRoot":"","sources":["../src/supports.ts"],"names":[],"mappings":"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","sourcesContent":["import { isDebugBuild } from './env';\nimport { getGlobalObject } from './global';\nimport { logger } from './logger';\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsErrorEvent(): boolean {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMError(): boolean {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-ignore It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMException(): boolean {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsFetch(): boolean {\n if (!('fetch' in getGlobalObject())) {\n return false;\n }\n\n try {\n new Headers();\n new Request('');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function isNativeFetch(func: Function): boolean {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\nexport function supportsNativeFetch(): boolean {\n if (!supportsFetch()) {\n return false;\n }\n\n const global = getGlobalObject();\n\n // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n if (isNativeFetch(global.fetch)) {\n return true;\n }\n\n // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n let result = false;\n const doc = global.document;\n // eslint-disable-next-line deprecation/deprecation\n if (doc && typeof (doc.createElement as unknown) === `function`) {\n try {\n const sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n doc.head.removeChild(sandbox);\n } catch (err) {\n if (isDebugBuild()) {\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n }\n\n return result;\n}\n\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReportingObserver(): boolean {\n return 'ReportingObserver' in getGlobalObject();\n}\n\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReferrerPolicy(): boolean {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin' as ReferrerPolicy,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsHistory(): boolean {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n const global = getGlobalObject();\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const chrome = (global as any).chrome;\n const isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n const hasHistoryApi = 'history' in global && !!global.history.pushState && !!global.history.replaceState;\n\n return !isChromePackagedApp && hasHistoryApi;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/syncpromise.d.ts b/node_modules/@sentry/utils/dist/syncpromise.d.ts new file mode 100644 index 000000000..70d130f5f --- /dev/null +++ b/node_modules/@sentry/utils/dist/syncpromise.d.ts @@ -0,0 +1,40 @@ +/** + * Creates a resolved sync promise. + * + * @param value the value to resolve the promise with + * @returns the resolved sync promise + */ +export declare function resolvedSyncPromise(value: T | PromiseLike): PromiseLike; +/** + * Creates a rejected sync promise. + * + * @param value the value to reject the promise with + * @returns the rejected sync promise + */ +export declare function rejectedSyncPromise(reason?: any): PromiseLike; +/** + * Thenable class that behaves like a Promise and follows it's interface + * but is not async internally + */ +declare class SyncPromise implements PromiseLike { + private _state; + private _handlers; + private _value; + constructor(executor: (resolve: (value?: T | PromiseLike | null) => void, reject: (reason?: any) => void) => void); + /** JSDoc */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null): PromiseLike; + /** JSDoc */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | null): PromiseLike; + /** JSDoc */ + finally(onfinally?: (() => void) | null): PromiseLike; + /** JSDoc */ + private readonly _resolve; + /** JSDoc */ + private readonly _reject; + /** JSDoc */ + private readonly _setResult; + /** JSDoc */ + private readonly _executeHandlers; +} +export { SyncPromise }; +//# sourceMappingURL=syncpromise.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/syncpromise.js b/node_modules/@sentry/utils/dist/syncpromise.js new file mode 100644 index 000000000..ab6c83c2e --- /dev/null +++ b/node_modules/@sentry/utils/dist/syncpromise.js @@ -0,0 +1,161 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +/* eslint-disable @typescript-eslint/explicit-function-return-type */ +/* eslint-disable @typescript-eslint/typedef */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ +/* eslint-disable @typescript-eslint/no-explicit-any */ +var is_1 = require("./is"); +/** + * Creates a resolved sync promise. + * + * @param value the value to resolve the promise with + * @returns the resolved sync promise + */ +function resolvedSyncPromise(value) { + return new SyncPromise(function (resolve) { + resolve(value); + }); +} +exports.resolvedSyncPromise = resolvedSyncPromise; +/** + * Creates a rejected sync promise. + * + * @param value the value to reject the promise with + * @returns the rejected sync promise + */ +function rejectedSyncPromise(reason) { + return new SyncPromise(function (_, reject) { + reject(reason); + }); +} +exports.rejectedSyncPromise = rejectedSyncPromise; +/** + * Thenable class that behaves like a Promise and follows it's interface + * but is not async internally + */ +var SyncPromise = /** @class */ (function () { + function SyncPromise(executor) { + var _this = this; + this._state = 0 /* PENDING */; + this._handlers = []; + /** JSDoc */ + this._resolve = function (value) { + _this._setResult(1 /* RESOLVED */, value); + }; + /** JSDoc */ + this._reject = function (reason) { + _this._setResult(2 /* REJECTED */, reason); + }; + /** JSDoc */ + this._setResult = function (state, value) { + if (_this._state !== 0 /* PENDING */) { + return; + } + if (is_1.isThenable(value)) { + void value.then(_this._resolve, _this._reject); + return; + } + _this._state = state; + _this._value = value; + _this._executeHandlers(); + }; + /** JSDoc */ + this._executeHandlers = function () { + if (_this._state === 0 /* PENDING */) { + return; + } + var cachedHandlers = _this._handlers.slice(); + _this._handlers = []; + cachedHandlers.forEach(function (handler) { + if (handler[0]) { + return; + } + if (_this._state === 1 /* RESOLVED */) { + // eslint-disable-next-line @typescript-eslint/no-floating-promises + handler[1](_this._value); + } + if (_this._state === 2 /* REJECTED */) { + handler[2](_this._value); + } + handler[0] = true; + }); + }; + try { + executor(this._resolve, this._reject); + } + catch (e) { + this._reject(e); + } + } + /** JSDoc */ + SyncPromise.prototype.then = function (onfulfilled, onrejected) { + var _this = this; + return new SyncPromise(function (resolve, reject) { + _this._handlers.push([ + false, + function (result) { + if (!onfulfilled) { + // TODO: ¯\_(ツ)_/¯ + // TODO: FIXME + resolve(result); + } + else { + try { + resolve(onfulfilled(result)); + } + catch (e) { + reject(e); + } + } + }, + function (reason) { + if (!onrejected) { + reject(reason); + } + else { + try { + resolve(onrejected(reason)); + } + catch (e) { + reject(e); + } + } + }, + ]); + _this._executeHandlers(); + }); + }; + /** JSDoc */ + SyncPromise.prototype.catch = function (onrejected) { + return this.then(function (val) { return val; }, onrejected); + }; + /** JSDoc */ + SyncPromise.prototype.finally = function (onfinally) { + var _this = this; + return new SyncPromise(function (resolve, reject) { + var val; + var isRejected; + return _this.then(function (value) { + isRejected = false; + val = value; + if (onfinally) { + onfinally(); + } + }, function (reason) { + isRejected = true; + val = reason; + if (onfinally) { + onfinally(); + } + }).then(function () { + if (isRejected) { + reject(val); + return; + } + resolve(val); + }); + }); + }; + return SyncPromise; +}()); +exports.SyncPromise = SyncPromise; +//# sourceMappingURL=syncpromise.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/syncpromise.js.map b/node_modules/@sentry/utils/dist/syncpromise.js.map new file mode 100644 index 000000000..d2c17c05c --- /dev/null +++ b/node_modules/@sentry/utils/dist/syncpromise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"syncpromise.js","sourceRoot":"","sources":["../src/syncpromise.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/* eslint-disable @typescript-eslint/typedef */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isThenable } from './is';\n\n/** SyncPromise internal states */\nconst enum States {\n /** Pending */\n PENDING = 0,\n /** Resolved / OK */\n RESOLVED = 1,\n /** Rejected / Error */\n REJECTED = 2,\n}\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nexport function resolvedSyncPromise(value: T | PromiseLike): PromiseLike {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nexport function rejectedSyncPromise(reason?: any): PromiseLike {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise implements PromiseLike {\n private _state: States = States.PENDING;\n private _handlers: Array<[boolean, (value: T) => void, (reason: any) => any]> = [];\n private _value: any;\n\n public constructor(\n executor: (resolve: (value?: T | PromiseLike | null) => void, reject: (reason?: any) => void) => void,\n ) {\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n public then(\n onfulfilled?: ((value: T) => TResult1 | PromiseLike) | null,\n onrejected?: ((reason: any) => TResult2 | PromiseLike) | null,\n ): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result as any);\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n public catch(\n onrejected?: ((reason: any) => TResult | PromiseLike) | null,\n ): PromiseLike {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n public finally(onfinally?: (() => void) | null): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n let val: TResult | any;\n let isRejected: boolean;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val as unknown as any);\n });\n });\n }\n\n /** JSDoc */\n private readonly _resolve = (value?: T | PromiseLike | null) => {\n this._setResult(States.RESOLVED, value);\n };\n\n /** JSDoc */\n private readonly _reject = (reason?: any) => {\n this._setResult(States.REJECTED, reason);\n };\n\n /** JSDoc */\n private readonly _setResult = (state: States, value?: T | PromiseLike | any) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value as PromiseLike).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };\n\n /** JSDoc */\n private readonly _executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](this._value as unknown as any);\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };\n}\n\nexport { SyncPromise };\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/time.d.ts b/node_modules/@sentry/utils/dist/time.d.ts new file mode 100644 index 000000000..0d07138fc --- /dev/null +++ b/node_modules/@sentry/utils/dist/time.d.ts @@ -0,0 +1,31 @@ +/** + * Returns a timestamp in seconds since the UNIX epoch using the Date API. + */ +export declare const dateTimestampInSeconds: () => number; +/** + * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the + * availability of the Performance API. + * + * See `usingPerformanceAPI` to test whether the Performance API is used. + * + * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is + * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The + * skew can grow to arbitrary amounts like days, weeks or months. + * See https://github.com/getsentry/sentry-javascript/issues/2590. + */ +export declare const timestampInSeconds: () => number; +export declare const timestampWithMs: () => number; +/** + * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps. + */ +export declare const usingPerformanceAPI: boolean; +/** + * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only. + */ +export declare let _browserPerformanceTimeOriginMode: string; +/** + * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the + * performance API is available. + */ +export declare const browserPerformanceTimeOrigin: number | undefined; +//# sourceMappingURL=time.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/time.js b/node_modules/@sentry/utils/dist/time.js new file mode 100644 index 000000000..f1616e66d --- /dev/null +++ b/node_modules/@sentry/utils/dist/time.js @@ -0,0 +1,143 @@ +Object.defineProperty(exports, "__esModule", { value: true }); +var global_1 = require("./global"); +var node_1 = require("./node"); +/** + * A TimestampSource implementation for environments that do not support the Performance Web API natively. + * + * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier + * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It + * is more obvious to explain "why does my span have negative duration" than "why my spans have zero duration". + */ +var dateTimestampSource = { + nowSeconds: function () { return Date.now() / 1000; }, +}; +/** + * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not + * support the API. + * + * Wrapping the native API works around differences in behavior from different browsers. + */ +function getBrowserPerformance() { + var performance = global_1.getGlobalObject().performance; + if (!performance || !performance.now) { + return undefined; + } + // Replace performance.timeOrigin with our own timeOrigin based on Date.now(). + // + // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin + + // performance.now() gives a date arbitrarily in the past. + // + // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is + // undefined. + // + // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to + // interact with data coming out of performance entries. + // + // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that + // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes + // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have + // observed skews that can be as long as days, weeks or months. + // + // See https://github.com/getsentry/sentry-javascript/issues/2590. + // + // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload + // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation + // transactions of long-lived web pages. + var timeOrigin = Date.now() - performance.now(); + return { + now: function () { return performance.now(); }, + timeOrigin: timeOrigin, + }; +} +/** + * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't + * implement the API. + */ +function getNodePerformance() { + try { + var perfHooks = node_1.dynamicRequire(module, 'perf_hooks'); + return perfHooks.performance; + } + catch (_) { + return undefined; + } +} +/** + * The Performance API implementation for the current platform, if available. + */ +var platformPerformance = node_1.isNodeEnv() ? getNodePerformance() : getBrowserPerformance(); +var timestampSource = platformPerformance === undefined + ? dateTimestampSource + : { + nowSeconds: function () { return (platformPerformance.timeOrigin + platformPerformance.now()) / 1000; }, + }; +/** + * Returns a timestamp in seconds since the UNIX epoch using the Date API. + */ +exports.dateTimestampInSeconds = dateTimestampSource.nowSeconds.bind(dateTimestampSource); +/** + * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the + * availability of the Performance API. + * + * See `usingPerformanceAPI` to test whether the Performance API is used. + * + * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is + * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The + * skew can grow to arbitrary amounts like days, weeks or months. + * See https://github.com/getsentry/sentry-javascript/issues/2590. + */ +exports.timestampInSeconds = timestampSource.nowSeconds.bind(timestampSource); +// Re-exported with an old name for backwards-compatibility. +exports.timestampWithMs = exports.timestampInSeconds; +/** + * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps. + */ +exports.usingPerformanceAPI = platformPerformance !== undefined; +/** + * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the + * performance API is available. + */ +exports.browserPerformanceTimeOrigin = (function () { + // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or + // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin + // data as reliable if they are within a reasonable threshold of the current time. + var performance = global_1.getGlobalObject().performance; + if (!performance || !performance.now) { + exports._browserPerformanceTimeOriginMode = 'none'; + return undefined; + } + var threshold = 3600 * 1000; + var performanceNow = performance.now(); + var dateNow = Date.now(); + // if timeOrigin isn't available set delta to threshold so it isn't used + var timeOriginDelta = performance.timeOrigin + ? Math.abs(performance.timeOrigin + performanceNow - dateNow) + : threshold; + var timeOriginIsReliable = timeOriginDelta < threshold; + // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin + // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing. + // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always + // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the + // Date API. + // eslint-disable-next-line deprecation/deprecation + var navigationStart = performance.timing && performance.timing.navigationStart; + var hasNavigationStart = typeof navigationStart === 'number'; + // if navigationStart isn't available set delta to threshold so it isn't used + var navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold; + var navigationStartIsReliable = navigationStartDelta < threshold; + if (timeOriginIsReliable || navigationStartIsReliable) { + // Use the more reliable time origin + if (timeOriginDelta <= navigationStartDelta) { + exports._browserPerformanceTimeOriginMode = 'timeOrigin'; + return performance.timeOrigin; + } + else { + exports._browserPerformanceTimeOriginMode = 'navigationStart'; + return navigationStart; + } + } + // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date. + exports._browserPerformanceTimeOriginMode = 'dateNow'; + return dateNow; +})(); +//# sourceMappingURL=time.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/dist/time.js.map b/node_modules/@sentry/utils/dist/time.js.map new file mode 100644 index 000000000..90b4dfa16 --- /dev/null +++ b/node_modules/@sentry/utils/dist/time.js.map @@ -0,0 +1 @@ +{"version":3,"file":"time.js","sourceRoot":"","sources":["../src/time.ts"],"names":[],"mappings":"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","sourcesContent":["import { getGlobalObject } from './global';\nimport { dynamicRequire, isNodeEnv } from './node';\n\n/**\n * An object that can return the current timestamp in seconds since the UNIX epoch.\n */\ninterface TimestampSource {\n nowSeconds(): number;\n}\n\n/**\n * A TimestampSource implementation for environments that do not support the Performance Web API natively.\n *\n * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier\n * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It\n * is more obvious to explain \"why does my span have negative duration\" than \"why my spans have zero duration\".\n */\nconst dateTimestampSource: TimestampSource = {\n nowSeconds: () => Date.now() / 1000,\n};\n\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\ninterface Performance {\n /**\n * The millisecond timestamp at which measurement began, measured in Unix time.\n */\n timeOrigin: number;\n /**\n * Returns the current millisecond timestamp, where 0 represents the start of measurement.\n */\n now(): number;\n}\n\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction getBrowserPerformance(): Performance | undefined {\n const { performance } = getGlobalObject();\n if (!performance || !performance.now) {\n return undefined;\n }\n\n // Replace performance.timeOrigin with our own timeOrigin based on Date.now().\n //\n // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin +\n // performance.now() gives a date arbitrarily in the past.\n //\n // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is\n // undefined.\n //\n // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to\n // interact with data coming out of performance entries.\n //\n // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that\n // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes\n // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have\n // observed skews that can be as long as days, weeks or months.\n //\n // See https://github.com/getsentry/sentry-javascript/issues/2590.\n //\n // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload\n // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation\n // transactions of long-lived web pages.\n const timeOrigin = Date.now() - performance.now();\n\n return {\n now: () => performance.now(),\n timeOrigin,\n };\n}\n\n/**\n * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't\n * implement the API.\n */\nfunction getNodePerformance(): Performance | undefined {\n try {\n const perfHooks = dynamicRequire(module, 'perf_hooks') as { performance: Performance };\n return perfHooks.performance;\n } catch (_) {\n return undefined;\n }\n}\n\n/**\n * The Performance API implementation for the current platform, if available.\n */\nconst platformPerformance: Performance | undefined = isNodeEnv() ? getNodePerformance() : getBrowserPerformance();\n\nconst timestampSource: TimestampSource =\n platformPerformance === undefined\n ? dateTimestampSource\n : {\n nowSeconds: () => (platformPerformance.timeOrigin + platformPerformance.now()) / 1000,\n };\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n */\nexport const dateTimestampInSeconds: () => number = dateTimestampSource.nowSeconds.bind(dateTimestampSource);\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * See `usingPerformanceAPI` to test whether the Performance API is used.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nexport const timestampInSeconds: () => number = timestampSource.nowSeconds.bind(timestampSource);\n\n// Re-exported with an old name for backwards-compatibility.\nexport const timestampWithMs = timestampInSeconds;\n\n/**\n * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps.\n */\nexport const usingPerformanceAPI = platformPerformance !== undefined;\n\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nexport let _browserPerformanceTimeOriginMode: string;\n\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nexport const browserPerformanceTimeOrigin = ((): number | undefined => {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n\n const { performance } = getGlobalObject();\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n const threshold = 3600 * 1000;\n const performanceNow = performance.now();\n const dateNow = Date.now();\n\n // if timeOrigin isn't available set delta to threshold so it isn't used\n const timeOriginDelta = performance.timeOrigin\n ? Math.abs(performance.timeOrigin + performanceNow - dateNow)\n : threshold;\n const timeOriginIsReliable = timeOriginDelta < threshold;\n\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n const navigationStart = performance.timing && performance.timing.navigationStart;\n const hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n const navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n})();\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/async.d.ts b/node_modules/@sentry/utils/esm/async.d.ts new file mode 100644 index 000000000..f46660e4c --- /dev/null +++ b/node_modules/@sentry/utils/esm/async.d.ts @@ -0,0 +1,6 @@ +/** + * Consumes the promise and logs the error when it rejects. + * @param promise A promise to forget. + */ +export declare function forget(promise: PromiseLike): void; +//# sourceMappingURL=async.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/async.d.ts.map b/node_modules/@sentry/utils/esm/async.d.ts.map new file mode 100644 index 000000000..b5ba1987c --- /dev/null +++ b/node_modules/@sentry/utils/esm/async.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../src/async.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,wBAAgB,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,IAAI,CAMtD"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/async.js b/node_modules/@sentry/utils/esm/async.js new file mode 100644 index 000000000..06b541558 --- /dev/null +++ b/node_modules/@sentry/utils/esm/async.js @@ -0,0 +1,13 @@ +/** + * Consumes the promise and logs the error when it rejects. + * @param promise A promise to forget. + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export function forget(promise) { + void promise.then(null, function (e) { + // TODO: Use a better logging mechanism + // eslint-disable-next-line no-console + console.error(e); + }); +} +//# sourceMappingURL=async.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/async.js.map b/node_modules/@sentry/utils/esm/async.js.map new file mode 100644 index 000000000..833684d2e --- /dev/null +++ b/node_modules/@sentry/utils/esm/async.js.map @@ -0,0 +1 @@ +{"version":3,"file":"async.js","sourceRoot":"","sources":["../src/async.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,8DAA8D;AAC9D,MAAM,UAAU,MAAM,CAAC,OAAyB;IAC9C,KAAK,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,UAAA,CAAC;QACvB,uCAAuC;QACvC,sCAAsC;QACtC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["/**\n * Consumes the promise and logs the error when it rejects.\n * @param promise A promise to forget.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function forget(promise: PromiseLike): void {\n void promise.then(null, e => {\n // TODO: Use a better logging mechanism\n // eslint-disable-next-line no-console\n console.error(e);\n });\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/browser.d.ts b/node_modules/@sentry/utils/esm/browser.d.ts new file mode 100644 index 000000000..18dedf954 --- /dev/null +++ b/node_modules/@sentry/utils/esm/browser.d.ts @@ -0,0 +1,12 @@ +/** + * Given a child DOM element, returns a query-selector statement describing that + * and its ancestors + * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz] + * @returns generated DOM path + */ +export declare function htmlTreeAsString(elem: unknown, keyAttrs?: string[]): string; +/** + * A safe form of location.href + */ +export declare function getLocationHref(): string; +//# sourceMappingURL=browser.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/browser.d.ts.map b/node_modules/@sentry/utils/esm/browser.d.ts.map new file mode 100644 index 000000000..f9abfa23e --- /dev/null +++ b/node_modules/@sentry/utils/esm/browser.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAyC3E;AA+DD;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAOxC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/browser.js b/node_modules/@sentry/utils/esm/browser.js new file mode 100644 index 000000000..2f2a77bea --- /dev/null +++ b/node_modules/@sentry/utils/esm/browser.js @@ -0,0 +1,105 @@ +import { getGlobalObject } from './global'; +import { isString } from './is'; +/** + * Given a child DOM element, returns a query-selector statement describing that + * and its ancestors + * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz] + * @returns generated DOM path + */ +export function htmlTreeAsString(elem, keyAttrs) { + // try/catch both: + // - accessing event.target (see getsentry/raven-js#838, #768) + // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly + // - can throw an exception in some circumstances. + try { + var currentElem = elem; + var MAX_TRAVERSE_HEIGHT = 5; + var MAX_OUTPUT_LEN = 80; + var out = []; + var height = 0; + var len = 0; + var separator = ' > '; + var sepLength = separator.length; + var nextStr = void 0; + // eslint-disable-next-line no-plusplus + while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) { + nextStr = _htmlElementAsString(currentElem, keyAttrs); + // bail out if + // - nextStr is the 'html' element + // - the length of the string that would be created exceeds MAX_OUTPUT_LEN + // (ignore this limit if we are on the first iteration) + if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) { + break; + } + out.push(nextStr); + len += nextStr.length; + currentElem = currentElem.parentNode; + } + return out.reverse().join(separator); + } + catch (_oO) { + return ''; + } +} +/** + * Returns a simple, query-selector representation of a DOM element + * e.g. [HTMLElement] => input#foo.btn[name=baz] + * @returns generated DOM path + */ +function _htmlElementAsString(el, keyAttrs) { + var elem = el; + var out = []; + var className; + var classes; + var key; + var attr; + var i; + if (!elem || !elem.tagName) { + return ''; + } + out.push(elem.tagName.toLowerCase()); + // Pairs of attribute keys defined in `serializeAttribute` and their values on element. + var keyAttrPairs = keyAttrs && keyAttrs.length + ? keyAttrs.filter(function (keyAttr) { return elem.getAttribute(keyAttr); }).map(function (keyAttr) { return [keyAttr, elem.getAttribute(keyAttr)]; }) + : null; + if (keyAttrPairs && keyAttrPairs.length) { + keyAttrPairs.forEach(function (keyAttrPair) { + out.push("[" + keyAttrPair[0] + "=\"" + keyAttrPair[1] + "\"]"); + }); + } + else { + if (elem.id) { + out.push("#" + elem.id); + } + // eslint-disable-next-line prefer-const + className = elem.className; + if (className && isString(className)) { + classes = className.split(/\s+/); + for (i = 0; i < classes.length; i++) { + out.push("." + classes[i]); + } + } + } + var allowedAttrs = ['type', 'name', 'title', 'alt']; + for (i = 0; i < allowedAttrs.length; i++) { + key = allowedAttrs[i]; + attr = elem.getAttribute(key); + if (attr) { + out.push("[" + key + "=\"" + attr + "\"]"); + } + } + return out.join(''); +} +/** + * A safe form of location.href + */ +export function getLocationHref() { + var global = getGlobalObject(); + try { + return global.document.location.href; + } + catch (oO) { + return ''; + } +} +//# sourceMappingURL=browser.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/browser.js.map b/node_modules/@sentry/utils/esm/browser.js.map new file mode 100644 index 000000000..b26c22640 --- /dev/null +++ b/node_modules/@sentry/utils/esm/browser.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"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","sourcesContent":["import { getGlobalObject } from './global';\nimport { isString } from './is';\n\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nexport function htmlTreeAsString(elem: unknown, keyAttrs?: string[]): string {\n type SimpleNode = {\n parentNode: SimpleNode;\n } | null;\n\n // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n try {\n let currentElem = elem as SimpleNode;\n const MAX_TRAVERSE_HEIGHT = 5;\n const MAX_OUTPUT_LEN = 80;\n const out = [];\n let height = 0;\n let len = 0;\n const separator = ' > ';\n const sepLength = separator.length;\n let nextStr;\n\n // eslint-disable-next-line no-plusplus\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs);\n // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds MAX_OUTPUT_LEN\n // (ignore this limit if we are on the first iteration)\n if (nextStr === 'html' || (height > 1 && len + out.length * sepLength + nextStr.length >= MAX_OUTPUT_LEN)) {\n break;\n }\n\n out.push(nextStr);\n\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '';\n }\n}\n\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\nfunction _htmlElementAsString(el: unknown, keyAttrs?: string[]): string {\n const elem = el as {\n tagName?: string;\n id?: string;\n className?: string;\n getAttribute(key: string): string;\n };\n\n const out = [];\n let className;\n let classes;\n let key;\n let attr;\n let i;\n\n if (!elem || !elem.tagName) {\n return '';\n }\n\n out.push(elem.tagName.toLowerCase());\n\n // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n const keyAttrPairs =\n keyAttrs && keyAttrs.length\n ? keyAttrs.filter(keyAttr => elem.getAttribute(keyAttr)).map(keyAttr => [keyAttr, elem.getAttribute(keyAttr)])\n : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(keyAttrPair => {\n out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n });\n } else {\n if (elem.id) {\n out.push(`#${elem.id}`);\n }\n\n // eslint-disable-next-line prefer-const\n className = elem.className;\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n for (i = 0; i < classes.length; i++) {\n out.push(`.${classes[i]}`);\n }\n }\n }\n const allowedAttrs = ['type', 'name', 'title', 'alt'];\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n if (attr) {\n out.push(`[${key}=\"${attr}\"]`);\n }\n }\n return out.join('');\n}\n\n/**\n * A safe form of location.href\n */\nexport function getLocationHref(): string {\n const global = getGlobalObject();\n try {\n return global.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/dsn.d.ts b/node_modules/@sentry/utils/esm/dsn.d.ts new file mode 100644 index 000000000..914b5b198 --- /dev/null +++ b/node_modules/@sentry/utils/esm/dsn.d.ts @@ -0,0 +1,14 @@ +import { DsnComponents, DsnLike } from '@sentry/types'; +/** + * Renders the string representation of this Dsn. + * + * By default, this will render the public representation without the password + * component. To get the deprecated private representation, set `withPassword` + * to true. + * + * @param withPassword When set to true, the password will be included. + */ +export declare function dsnToString(dsn: DsnComponents, withPassword?: boolean): string; +/** The Sentry Dsn, identifying a Sentry instance and project. */ +export declare function makeDsn(from: DsnLike): DsnComponents; +//# sourceMappingURL=dsn.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/dsn.d.ts.map b/node_modules/@sentry/utils/esm/dsn.d.ts.map new file mode 100644 index 000000000..499547556 --- /dev/null +++ b/node_modules/@sentry/utils/esm/dsn.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"dsn.d.ts","sourceRoot":"","sources":["../src/dsn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAe,MAAM,eAAe,CAAC;AAYpE;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,aAAa,EAAE,YAAY,GAAE,OAAe,GAAG,MAAM,CAMrF;AA4ED,iEAAiE;AACjE,wBAAgB,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,aAAa,CAMpD"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/dsn.js b/node_modules/@sentry/utils/esm/dsn.js new file mode 100644 index 000000000..89864f0fe --- /dev/null +++ b/node_modules/@sentry/utils/esm/dsn.js @@ -0,0 +1,89 @@ +import { __read } from "tslib"; +import { isDebugBuild } from './env'; +import { SentryError } from './error'; +/** Regular expression used to parse a Dsn. */ +var DSN_REGEX = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/; +function isValidProtocol(protocol) { + return protocol === 'http' || protocol === 'https'; +} +/** + * Renders the string representation of this Dsn. + * + * By default, this will render the public representation without the password + * component. To get the deprecated private representation, set `withPassword` + * to true. + * + * @param withPassword When set to true, the password will be included. + */ +export function dsnToString(dsn, withPassword) { + if (withPassword === void 0) { withPassword = false; } + var host = dsn.host, path = dsn.path, pass = dsn.pass, port = dsn.port, projectId = dsn.projectId, protocol = dsn.protocol, publicKey = dsn.publicKey; + return (protocol + "://" + publicKey + (withPassword && pass ? ":" + pass : '') + + ("@" + host + (port ? ":" + port : '') + "/" + (path ? path + "/" : path) + projectId)); +} +function dsnFromString(str) { + var match = DSN_REGEX.exec(str); + if (!match) { + throw new SentryError("Invalid Sentry Dsn: " + str); + } + var _a = __read(match.slice(1), 6), protocol = _a[0], publicKey = _a[1], _b = _a[2], pass = _b === void 0 ? '' : _b, host = _a[3], _c = _a[4], port = _c === void 0 ? '' : _c, lastPath = _a[5]; + var path = ''; + var projectId = lastPath; + var split = projectId.split('/'); + if (split.length > 1) { + path = split.slice(0, -1).join('/'); + projectId = split.pop(); + } + if (projectId) { + var projectMatch = projectId.match(/^\d+/); + if (projectMatch) { + projectId = projectMatch[0]; + } + } + return dsnFromComponents({ host: host, pass: pass, path: path, projectId: projectId, port: port, protocol: protocol, publicKey: publicKey }); +} +function dsnFromComponents(components) { + // TODO this is for backwards compatibility, and can be removed in a future version + if ('user' in components && !('publicKey' in components)) { + components.publicKey = components.user; + } + return { + user: components.publicKey || '', + protocol: components.protocol, + publicKey: components.publicKey || '', + pass: components.pass || '', + host: components.host, + port: components.port || '', + path: components.path || '', + projectId: components.projectId, + }; +} +function validateDsn(dsn) { + if (!isDebugBuild()) { + return; + } + var port = dsn.port, projectId = dsn.projectId, protocol = dsn.protocol; + var requiredComponents = ['protocol', 'publicKey', 'host', 'projectId']; + requiredComponents.forEach(function (component) { + if (!dsn[component]) { + throw new SentryError("Invalid Sentry Dsn: " + component + " missing"); + } + }); + if (!projectId.match(/^\d+$/)) { + throw new SentryError("Invalid Sentry Dsn: Invalid projectId " + projectId); + } + if (!isValidProtocol(protocol)) { + throw new SentryError("Invalid Sentry Dsn: Invalid protocol " + protocol); + } + if (port && isNaN(parseInt(port, 10))) { + throw new SentryError("Invalid Sentry Dsn: Invalid port " + port); + } + return true; +} +/** The Sentry Dsn, identifying a Sentry instance and project. */ +export function makeDsn(from) { + var components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from); + validateDsn(components); + return components; +} +//# sourceMappingURL=dsn.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/dsn.js.map b/node_modules/@sentry/utils/esm/dsn.js.map new file mode 100644 index 000000000..59e2635a1 --- /dev/null +++ b/node_modules/@sentry/utils/esm/dsn.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dsn.js","sourceRoot":"","sources":["../src/dsn.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,8CAA8C;AAC9C,IAAM,SAAS,GAAG,gEAAgE,CAAC;AAEnF,SAAS,eAAe,CAAC,QAAiB;IACxC,OAAO,QAAQ,KAAK,MAAM,IAAI,QAAQ,KAAK,OAAO,CAAC;AACrD,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAAC,GAAkB,EAAE,YAA6B;IAA7B,6BAAA,EAAA,oBAA6B;IACnE,IAAA,eAAI,EAAE,eAAI,EAAE,eAAI,EAAE,eAAI,EAAE,yBAAS,EAAE,uBAAQ,EAAE,yBAAS,CAAS;IACvE,OAAO,CACF,QAAQ,WAAM,SAAS,IAAG,YAAY,IAAI,IAAI,CAAC,CAAC,CAAC,MAAI,IAAM,CAAC,CAAC,CAAC,EAAE,CAAE;SACrE,MAAI,IAAI,IAAG,IAAI,CAAC,CAAC,CAAC,MAAI,IAAM,CAAC,CAAC,CAAC,EAAE,WAAI,IAAI,CAAC,CAAC,CAAI,IAAI,MAAG,CAAC,CAAC,CAAC,IAAI,IAAG,SAAW,CAAA,CAC5E,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,GAAW;IAChC,IAAM,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAElC,IAAI,CAAC,KAAK,EAAE;QACV,MAAM,IAAI,WAAW,CAAC,yBAAuB,GAAK,CAAC,CAAC;KACrD;IAEK,IAAA,8BAA4E,EAA3E,gBAAQ,EAAE,iBAAS,EAAE,UAAS,EAAT,8BAAS,EAAE,YAAI,EAAE,UAAS,EAAT,8BAAS,EAAE,gBAA0B,CAAC;IACnF,IAAI,IAAI,GAAG,EAAE,CAAC;IACd,IAAI,SAAS,GAAG,QAAQ,CAAC;IAEzB,IAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACnC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;QACpB,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpC,SAAS,GAAG,KAAK,CAAC,GAAG,EAAY,CAAC;KACnC;IAED,IAAI,SAAS,EAAE;QACb,IAAM,YAAY,GAAG,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,YAAY,EAAE;YAChB,SAAS,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC;SAC7B;KACF;IAED,OAAO,iBAAiB,CAAC,EAAE,IAAI,MAAA,EAAE,IAAI,MAAA,EAAE,IAAI,MAAA,EAAE,SAAS,WAAA,EAAE,IAAI,MAAA,EAAE,QAAQ,EAAE,QAAuB,EAAE,SAAS,WAAA,EAAE,CAAC,CAAC;AAChH,CAAC;AAED,SAAS,iBAAiB,CAAC,UAAyB;IAClD,mFAAmF;IACnF,IAAI,MAAM,IAAI,UAAU,IAAI,CAAC,CAAC,WAAW,IAAI,UAAU,CAAC,EAAE;QACxD,UAAU,CAAC,SAAS,GAAG,UAAU,CAAC,IAAI,CAAC;KACxC;IAED,OAAO;QACL,IAAI,EAAE,UAAU,CAAC,SAAS,IAAI,EAAE;QAChC,QAAQ,EAAE,UAAU,CAAC,QAAQ;QAC7B,SAAS,EAAE,UAAU,CAAC,SAAS,IAAI,EAAE;QACrC,IAAI,EAAE,UAAU,CAAC,IAAI,IAAI,EAAE;QAC3B,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,IAAI,EAAE,UAAU,CAAC,IAAI,IAAI,EAAE;QAC3B,IAAI,EAAE,UAAU,CAAC,IAAI,IAAI,EAAE;QAC3B,SAAS,EAAE,UAAU,CAAC,SAAS;KAChC,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,GAAkB;IACrC,IAAI,CAAC,YAAY,EAAE,EAAE;QACnB,OAAO;KACR;IAEO,IAAA,eAAI,EAAE,yBAAS,EAAE,uBAAQ,CAAS;IAE1C,IAAM,kBAAkB,GAAuC,CAAC,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IAC9G,kBAAkB,CAAC,OAAO,CAAC,UAAA,SAAS;QAClC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;YACnB,MAAM,IAAI,WAAW,CAAC,yBAAuB,SAAS,aAAU,CAAC,CAAC;SACnE;IACH,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;QAC7B,MAAM,IAAI,WAAW,CAAC,2CAAyC,SAAW,CAAC,CAAC;KAC7E;IAED,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE;QAC9B,MAAM,IAAI,WAAW,CAAC,0CAAwC,QAAU,CAAC,CAAC;KAC3E;IAED,IAAI,IAAI,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE;QACrC,MAAM,IAAI,WAAW,CAAC,sCAAoC,IAAM,CAAC,CAAC;KACnE;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,iEAAiE;AACjE,MAAM,UAAU,OAAO,CAAC,IAAa;IACnC,IAAM,UAAU,GAAG,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAE5F,WAAW,CAAC,UAAU,CAAC,CAAC;IAExB,OAAO,UAAU,CAAC;AACpB,CAAC","sourcesContent":["import { DsnComponents, DsnLike, DsnProtocol } from '@sentry/types';\n\nimport { isDebugBuild } from './env';\nimport { SentryError } from './error';\n\n/** Regular expression used to parse a Dsn. */\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+))?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol?: string): protocol is DsnProtocol {\n return protocol === 'http' || protocol === 'https';\n}\n\n/**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\nexport function dsnToString(dsn: DsnComponents, withPassword: boolean = false): string {\n const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n return (\n `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ''}` +\n `@${host}${port ? `:${port}` : ''}/${path ? `${path}/` : path}${projectId}`\n );\n}\n\nfunction dsnFromString(str: string): DsnComponents {\n const match = DSN_REGEX.exec(str);\n\n if (!match) {\n throw new SentryError(`Invalid Sentry Dsn: ${str}`);\n }\n\n const [protocol, publicKey, pass = '', host, port = '', lastPath] = match.slice(1);\n let path = '';\n let projectId = lastPath;\n\n const split = projectId.split('/');\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop() as string;\n }\n\n if (projectId) {\n const projectMatch = projectId.match(/^\\d+/);\n if (projectMatch) {\n projectId = projectMatch[0];\n }\n }\n\n return dsnFromComponents({ host, pass, path, projectId, port, protocol: protocol as DsnProtocol, publicKey });\n}\n\nfunction dsnFromComponents(components: DsnComponents): DsnComponents {\n // TODO this is for backwards compatibility, and can be removed in a future version\n if ('user' in components && !('publicKey' in components)) {\n components.publicKey = components.user;\n }\n\n return {\n user: components.publicKey || '',\n protocol: components.protocol,\n publicKey: components.publicKey || '',\n pass: components.pass || '',\n host: components.host,\n port: components.port || '',\n path: components.path || '',\n projectId: components.projectId,\n };\n}\n\nfunction validateDsn(dsn: DsnComponents): boolean | void {\n if (!isDebugBuild()) {\n return;\n }\n\n const { port, projectId, protocol } = dsn;\n\n const requiredComponents: ReadonlyArray = ['protocol', 'publicKey', 'host', 'projectId'];\n requiredComponents.forEach(component => {\n if (!dsn[component]) {\n throw new SentryError(`Invalid Sentry Dsn: ${component} missing`);\n }\n });\n\n if (!projectId.match(/^\\d+$/)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n }\n\n if (!isValidProtocol(protocol)) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n throw new SentryError(`Invalid Sentry Dsn: Invalid port ${port}`);\n }\n\n return true;\n}\n\n/** The Sentry Dsn, identifying a Sentry instance and project. */\nexport function makeDsn(from: DsnLike): DsnComponents {\n const components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n\n validateDsn(components);\n\n return components;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/enums.d.ts b/node_modules/@sentry/utils/esm/enums.d.ts new file mode 100644 index 000000000..c8cf424d1 --- /dev/null +++ b/node_modules/@sentry/utils/esm/enums.d.ts @@ -0,0 +1,3 @@ +export declare const SeverityLevels: readonly ["fatal", "error", "warning", "log", "info", "debug", "critical"]; +export declare type SeverityLevel = typeof SeverityLevels[number]; +//# sourceMappingURL=enums.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/enums.d.ts.map b/node_modules/@sentry/utils/esm/enums.d.ts.map new file mode 100644 index 000000000..cc49071c1 --- /dev/null +++ b/node_modules/@sentry/utils/esm/enums.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,4EAA6E,CAAC;AACzG,oBAAY,aAAa,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/enums.js b/node_modules/@sentry/utils/esm/enums.js new file mode 100644 index 000000000..5e83c0826 --- /dev/null +++ b/node_modules/@sentry/utils/esm/enums.js @@ -0,0 +1,2 @@ +export var SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical']; +//# sourceMappingURL=enums.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/enums.js.map b/node_modules/@sentry/utils/esm/enums.js.map new file mode 100644 index 000000000..caa9ae701 --- /dev/null +++ b/node_modules/@sentry/utils/esm/enums.js.map @@ -0,0 +1 @@ +{"version":3,"file":"enums.js","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,cAAc,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAU,CAAC","sourcesContent":["export const SeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'] as const;\nexport type SeverityLevel = typeof SeverityLevels[number];\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/env.d.ts b/node_modules/@sentry/utils/esm/env.d.ts new file mode 100644 index 000000000..a3b94dc52 --- /dev/null +++ b/node_modules/@sentry/utils/esm/env.d.ts @@ -0,0 +1,23 @@ +/** + * This module mostly exists for optimizations in the build process + * through rollup and terser. We define some global constants which + * are normally undefined. However terser overrides these with global + * definitions which can be evaluated by the static analyzer when + * creating a bundle. + * + * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure + * and can help us remove unused code from the bundles. + */ +/** + * Figures out if we're building with debug functionality. + * + * @returns true if this is a debug build + */ +export declare function isDebugBuild(): boolean; +/** + * Figures out if we're building a browser bundle. + * + * @returns true if this is a browser bundle build. + */ +export declare function isBrowserBundle(): boolean; +//# sourceMappingURL=env.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/env.d.ts.map b/node_modules/@sentry/utils/esm/env.d.ts.map new file mode 100644 index 000000000..3c7baa1a6 --- /dev/null +++ b/node_modules/@sentry/utils/esm/env.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAEtC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAEzC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/env.js b/node_modules/@sentry/utils/esm/env.js new file mode 100644 index 000000000..69c538da9 --- /dev/null +++ b/node_modules/@sentry/utils/esm/env.js @@ -0,0 +1,27 @@ +/** + * This module mostly exists for optimizations in the build process + * through rollup and terser. We define some global constants which + * are normally undefined. However terser overrides these with global + * definitions which can be evaluated by the static analyzer when + * creating a bundle. + * + * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure + * and can help us remove unused code from the bundles. + */ +/** + * Figures out if we're building with debug functionality. + * + * @returns true if this is a debug build + */ +export function isDebugBuild() { + return typeof __SENTRY_NO_DEBUG__ !== 'undefined' && !__SENTRY_BROWSER_BUNDLE__; +} +/** + * Figures out if we're building a browser bundle. + * + * @returns true if this is a browser bundle build. + */ +export function isBrowserBundle() { + return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__; +} +//# sourceMappingURL=env.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/env.js.map b/node_modules/@sentry/utils/esm/env.js.map new file mode 100644 index 000000000..c6e7e9e18 --- /dev/null +++ b/node_modules/@sentry/utils/esm/env.js.map @@ -0,0 +1 @@ +{"version":3,"file":"env.js","sourceRoot":"","sources":["../src/env.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH;;;;GAIG;AACH,MAAM,UAAU,YAAY;IAC1B,OAAO,OAAO,mBAAmB,KAAK,WAAW,IAAI,CAAC,yBAAyB,CAAC;AAClF,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,eAAe;IAC7B,OAAO,OAAO,yBAAyB,KAAK,WAAW,IAAI,CAAC,CAAC,yBAAyB,CAAC;AACzF,CAAC","sourcesContent":["/**\n * This module mostly exists for optimizations in the build process\n * through rollup and terser. We define some global constants which\n * are normally undefined. However terser overrides these with global\n * definitions which can be evaluated by the static analyzer when\n * creating a bundle.\n *\n * In turn the `isDebugBuild` and `isBrowserBundle` functions are pure\n * and can help us remove unused code from the bundles.\n */\n\ndeclare const __SENTRY_BROWSER_BUNDLE__: boolean | undefined;\ndeclare const __SENTRY_NO_DEBUG__: boolean | undefined;\n\n/**\n * Figures out if we're building with debug functionality.\n *\n * @returns true if this is a debug build\n */\nexport function isDebugBuild(): boolean {\n return typeof __SENTRY_NO_DEBUG__ !== 'undefined' && !__SENTRY_BROWSER_BUNDLE__;\n}\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nexport function isBrowserBundle(): boolean {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/error.d.ts b/node_modules/@sentry/utils/esm/error.d.ts new file mode 100644 index 000000000..4f3e56cd6 --- /dev/null +++ b/node_modules/@sentry/utils/esm/error.d.ts @@ -0,0 +1,8 @@ +/** An error emitted by Sentry SDKs and related utilities. */ +export declare class SentryError extends Error { + message: string; + /** Display name of this error instance. */ + name: string; + constructor(message: string); +} +//# sourceMappingURL=error.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/error.d.ts.map b/node_modules/@sentry/utils/esm/error.d.ts.map new file mode 100644 index 000000000..1296a9cc9 --- /dev/null +++ b/node_modules/@sentry/utils/esm/error.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAEA,6DAA6D;AAC7D,qBAAa,WAAY,SAAQ,KAAK;IAIV,OAAO,EAAE,MAAM;IAHzC,2CAA2C;IACpC,IAAI,EAAE,MAAM,CAAC;gBAEM,OAAO,EAAE,MAAM;CAM1C"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/error.js b/node_modules/@sentry/utils/esm/error.js new file mode 100644 index 000000000..ab75ed272 --- /dev/null +++ b/node_modules/@sentry/utils/esm/error.js @@ -0,0 +1,17 @@ +import { __extends } from "tslib"; +import { setPrototypeOf } from './polyfill'; +/** An error emitted by Sentry SDKs and related utilities. */ +var SentryError = /** @class */ (function (_super) { + __extends(SentryError, _super); + function SentryError(message) { + var _newTarget = this.constructor; + var _this = _super.call(this, message) || this; + _this.message = message; + _this.name = _newTarget.prototype.constructor.name; + setPrototypeOf(_this, _newTarget.prototype); + return _this; + } + return SentryError; +}(Error)); +export { SentryError }; +//# sourceMappingURL=error.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/error.js.map b/node_modules/@sentry/utils/esm/error.js.map new file mode 100644 index 000000000..7548a9f2e --- /dev/null +++ b/node_modules/@sentry/utils/esm/error.js.map @@ -0,0 +1 @@ +{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,6DAA6D;AAC7D;IAAiC,+BAAK;IAIpC,qBAA0B,OAAe;;QAAzC,YACE,kBAAM,OAAO,CAAC,SAIf;QALyB,aAAO,GAAP,OAAO,CAAQ;QAGvC,KAAI,CAAC,IAAI,GAAG,WAAW,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC;QAClD,cAAc,CAAC,KAAI,EAAE,WAAW,SAAS,CAAC,CAAC;;IAC7C,CAAC;IACH,kBAAC;AAAD,CAAC,AAVD,CAAiC,KAAK,GAUrC","sourcesContent":["import { setPrototypeOf } from './polyfill';\n\n/** An error emitted by Sentry SDKs and related utilities. */\nexport class SentryError extends Error {\n /** Display name of this error instance. */\n public name: string;\n\n public constructor(public message: string) {\n super(message);\n\n this.name = new.target.prototype.constructor.name;\n setPrototypeOf(this, new.target.prototype);\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/global.d.ts b/node_modules/@sentry/utils/esm/global.d.ts new file mode 100644 index 000000000..736086e1b --- /dev/null +++ b/node_modules/@sentry/utils/esm/global.d.ts @@ -0,0 +1,29 @@ +/** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ +import { Integration } from '@sentry/types'; +/** Internal */ +interface SentryGlobal { + Sentry?: { + Integrations?: Integration[]; + }; + SENTRY_ENVIRONMENT?: string; + SENTRY_DSN?: string; + SENTRY_RELEASE?: { + id?: string; + }; + __SENTRY__: { + globalEventProcessors: any; + hub: any; + logger: any; + }; +} +/** + * Safely get global scope object + * + * @returns Global scope object + */ +export declare function getGlobalObject(): T & SentryGlobal; +export {}; +//# sourceMappingURL=global.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/global.d.ts.map b/node_modules/@sentry/utils/esm/global.d.ts.map new file mode 100644 index 000000000..8917ee610 --- /dev/null +++ b/node_modules/@sentry/utils/esm/global.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../src/global.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,eAAe;AACf,UAAU,YAAY;IACpB,MAAM,CAAC,EAAE;QACP,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;KAC9B,CAAC;IACF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE;QACf,EAAE,CAAC,EAAE,MAAM,CAAC;KACb,CAAC;IACF,UAAU,EAAE;QACV,qBAAqB,EAAE,GAAG,CAAC;QAC3B,GAAG,EAAE,GAAG,CAAC;QACT,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;CACH;AAID;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,KAAK,CAAC,GAAG,YAAY,CAUrD"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/global.js b/node_modules/@sentry/utils/esm/global.js new file mode 100644 index 000000000..5b9cbfc8e --- /dev/null +++ b/node_modules/@sentry/utils/esm/global.js @@ -0,0 +1,21 @@ +/** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ +import { isNodeEnv } from './node'; +var fallbackGlobalObject = {}; +/** + * Safely get global scope object + * + * @returns Global scope object + */ +export function getGlobalObject() { + return (isNodeEnv() + ? global + : typeof window !== 'undefined' // eslint-disable-line no-restricted-globals + ? window // eslint-disable-line no-restricted-globals + : typeof self !== 'undefined' + ? self + : fallbackGlobalObject); +} +//# sourceMappingURL=global.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/global.js.map b/node_modules/@sentry/utils/esm/global.js.map new file mode 100644 index 000000000..2dcf9f802 --- /dev/null +++ b/node_modules/@sentry/utils/esm/global.js.map @@ -0,0 +1 @@ +{"version":3,"file":"global.js","sourceRoot":"","sources":["../src/global.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAmBnC,IAAM,oBAAoB,GAAG,EAAE,CAAC;AAEhC;;;;GAIG;AACH,MAAM,UAAU,eAAe;IAC7B,OAAO,CACL,SAAS,EAAE;QACT,CAAC,CAAC,MAAM;QACR,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,4CAA4C;YAC5E,CAAC,CAAC,MAAM,CAAC,4CAA4C;YACrD,CAAC,CAAC,OAAO,IAAI,KAAK,WAAW;gBAC7B,CAAC,CAAC,IAAI;gBACN,CAAC,CAAC,oBAAoB,CACL,CAAC;AACxB,CAAC","sourcesContent":["/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { Integration } from '@sentry/types';\n\nimport { isNodeEnv } from './node';\n\n/** Internal */\ninterface SentryGlobal {\n Sentry?: {\n Integrations?: Integration[];\n };\n SENTRY_ENVIRONMENT?: string;\n SENTRY_DSN?: string;\n SENTRY_RELEASE?: {\n id?: string;\n };\n __SENTRY__: {\n globalEventProcessors: any;\n hub: any;\n logger: any;\n };\n}\n\nconst fallbackGlobalObject = {};\n\n/**\n * Safely get global scope object\n *\n * @returns Global scope object\n */\nexport function getGlobalObject(): T & SentryGlobal {\n return (\n isNodeEnv()\n ? global\n : typeof window !== 'undefined' // eslint-disable-line no-restricted-globals\n ? window // eslint-disable-line no-restricted-globals\n : typeof self !== 'undefined'\n ? self\n : fallbackGlobalObject\n ) as T & SentryGlobal;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/index.d.ts b/node_modules/@sentry/utils/esm/index.d.ts new file mode 100644 index 000000000..7a04cf6e0 --- /dev/null +++ b/node_modules/@sentry/utils/esm/index.d.ts @@ -0,0 +1,24 @@ +export * from './async'; +export * from './browser'; +export * from './dsn'; +export * from './enums'; +export * from './error'; +export * from './global'; +export * from './instrument'; +export * from './is'; +export * from './logger'; +export * from './memo'; +export * from './misc'; +export * from './node'; +export * from './object'; +export * from './path'; +export * from './promisebuffer'; +export * from './severity'; +export * from './stacktrace'; +export * from './status'; +export * from './string'; +export * from './supports'; +export * from './syncpromise'; +export * from './time'; +export * from './env'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/index.d.ts.map b/node_modules/@sentry/utils/esm/index.d.ts.map new file mode 100644 index 000000000..7c48e2e15 --- /dev/null +++ b/node_modules/@sentry/utils/esm/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,MAAM,CAAC;AACrB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/index.js b/node_modules/@sentry/utils/esm/index.js new file mode 100644 index 000000000..6940e2ae5 --- /dev/null +++ b/node_modules/@sentry/utils/esm/index.js @@ -0,0 +1,24 @@ +export * from './async'; +export * from './browser'; +export * from './dsn'; +export * from './enums'; +export * from './error'; +export * from './global'; +export * from './instrument'; +export * from './is'; +export * from './logger'; +export * from './memo'; +export * from './misc'; +export * from './node'; +export * from './object'; +export * from './path'; +export * from './promisebuffer'; +export * from './severity'; +export * from './stacktrace'; +export * from './status'; +export * from './string'; +export * from './supports'; +export * from './syncpromise'; +export * from './time'; +export * from './env'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/index.js.map b/node_modules/@sentry/utils/esm/index.js.map new file mode 100644 index 000000000..305c6714b --- /dev/null +++ b/node_modules/@sentry/utils/esm/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,MAAM,CAAC;AACrB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC","sourcesContent":["export * from './async';\nexport * from './browser';\nexport * from './dsn';\nexport * from './enums';\nexport * from './error';\nexport * from './global';\nexport * from './instrument';\nexport * from './is';\nexport * from './logger';\nexport * from './memo';\nexport * from './misc';\nexport * from './node';\nexport * from './object';\nexport * from './path';\nexport * from './promisebuffer';\nexport * from './severity';\nexport * from './stacktrace';\nexport * from './status';\nexport * from './string';\nexport * from './supports';\nexport * from './syncpromise';\nexport * from './time';\nexport * from './env';\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/instrument.d.ts b/node_modules/@sentry/utils/esm/instrument.d.ts new file mode 100644 index 000000000..91e0c2505 --- /dev/null +++ b/node_modules/@sentry/utils/esm/instrument.d.ts @@ -0,0 +1,10 @@ +declare type InstrumentHandlerType = 'console' | 'dom' | 'fetch' | 'history' | 'sentry' | 'xhr' | 'error' | 'unhandledrejection'; +declare type InstrumentHandlerCallback = (data: any) => void; +/** + * Add handler that will be called when given type of instrumentation triggers. + * Use at your own risk, this might break without changelog notice, only used internally. + * @hidden + */ +export declare function addInstrumentationHandler(type: InstrumentHandlerType, callback: InstrumentHandlerCallback): void; +export {}; +//# sourceMappingURL=instrument.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/instrument.d.ts.map b/node_modules/@sentry/utils/esm/instrument.d.ts.map new file mode 100644 index 000000000..0e615c758 --- /dev/null +++ b/node_modules/@sentry/utils/esm/instrument.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"instrument.d.ts","sourceRoot":"","sources":["../src/instrument.ts"],"names":[],"mappings":"AAeA,aAAK,qBAAqB,GACtB,SAAS,GACT,KAAK,GACL,OAAO,GACP,SAAS,GACT,QAAQ,GACR,KAAK,GACL,OAAO,GACP,oBAAoB,CAAC;AACzB,aAAK,yBAAyB,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;AAmDrD;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,qBAAqB,EAAE,QAAQ,EAAE,yBAAyB,GAAG,IAAI,CAIhH"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/instrument.js b/node_modules/@sentry/utils/esm/instrument.js new file mode 100644 index 000000000..0899af168 --- /dev/null +++ b/node_modules/@sentry/utils/esm/instrument.js @@ -0,0 +1,524 @@ +import { __assign, __values } from "tslib"; +import { isDebugBuild } from './env'; +import { getGlobalObject } from './global'; +import { isInstanceOf, isString } from './is'; +import { logger } from './logger'; +import { fill } from './object'; +import { getFunctionName } from './stacktrace'; +import { supportsHistory, supportsNativeFetch } from './supports'; +var global = getGlobalObject(); +/** + * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc. + * - Console API + * - Fetch API + * - XHR API + * - History API + * - DOM API (click/typing) + * - Error API + * - UnhandledRejection API + */ +var handlers = {}; +var instrumented = {}; +/** Instruments given API */ +function instrument(type) { + if (instrumented[type]) { + return; + } + instrumented[type] = true; + switch (type) { + case 'console': + instrumentConsole(); + break; + case 'dom': + instrumentDOM(); + break; + case 'xhr': + instrumentXHR(); + break; + case 'fetch': + instrumentFetch(); + break; + case 'history': + instrumentHistory(); + break; + case 'error': + instrumentError(); + break; + case 'unhandledrejection': + instrumentUnhandledRejection(); + break; + default: + logger.warn('unknown instrumentation type:', type); + } +} +/** + * Add handler that will be called when given type of instrumentation triggers. + * Use at your own risk, this might break without changelog notice, only used internally. + * @hidden + */ +export function addInstrumentationHandler(type, callback) { + handlers[type] = handlers[type] || []; + handlers[type].push(callback); + instrument(type); +} +/** JSDoc */ +function triggerHandlers(type, data) { + var e_1, _a; + if (!type || !handlers[type]) { + return; + } + try { + for (var _b = __values(handlers[type] || []), _c = _b.next(); !_c.done; _c = _b.next()) { + var handler = _c.value; + try { + handler(data); + } + catch (e) { + if (isDebugBuild()) { + logger.error("Error while triggering instrumentation handler.\nType: " + type + "\nName: " + getFunctionName(handler) + "\nError: " + e); + } + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } +} +/** JSDoc */ +function instrumentConsole() { + if (!('console' in global)) { + return; + } + ['debug', 'info', 'warn', 'error', 'log', 'assert'].forEach(function (level) { + if (!(level in global.console)) { + return; + } + fill(global.console, level, function (originalConsoleMethod) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + triggerHandlers('console', { args: args, level: level }); + // this fails for some browsers. :( + if (originalConsoleMethod) { + originalConsoleMethod.apply(global.console, args); + } + }; + }); + }); +} +/** JSDoc */ +function instrumentFetch() { + if (!supportsNativeFetch()) { + return; + } + fill(global, 'fetch', function (originalFetch) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var handlerData = { + args: args, + fetchData: { + method: getFetchMethod(args), + url: getFetchUrl(args), + }, + startTimestamp: Date.now(), + }; + triggerHandlers('fetch', __assign({}, handlerData)); + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return originalFetch.apply(global, args).then(function (response) { + triggerHandlers('fetch', __assign(__assign({}, handlerData), { endTimestamp: Date.now(), response: response })); + return response; + }, function (error) { + triggerHandlers('fetch', __assign(__assign({}, handlerData), { endTimestamp: Date.now(), error: error })); + // NOTE: If you are a Sentry user, and you are seeing this stack frame, + // it means the sentry.javascript SDK caught an error invoking your application code. + // This is expected behavior and NOT indicative of a bug with sentry.javascript. + throw error; + }); + }; + }); +} +/* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/** Extract `method` from fetch call arguments */ +function getFetchMethod(fetchArgs) { + if (fetchArgs === void 0) { fetchArgs = []; } + if ('Request' in global && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) { + return String(fetchArgs[0].method).toUpperCase(); + } + if (fetchArgs[1] && fetchArgs[1].method) { + return String(fetchArgs[1].method).toUpperCase(); + } + return 'GET'; +} +/** Extract `url` from fetch call arguments */ +function getFetchUrl(fetchArgs) { + if (fetchArgs === void 0) { fetchArgs = []; } + if (typeof fetchArgs[0] === 'string') { + return fetchArgs[0]; + } + if ('Request' in global && isInstanceOf(fetchArgs[0], Request)) { + return fetchArgs[0].url; + } + return String(fetchArgs[0]); +} +/* eslint-enable @typescript-eslint/no-unsafe-member-access */ +/** JSDoc */ +function instrumentXHR() { + if (!('XMLHttpRequest' in global)) { + return; + } + var xhrproto = XMLHttpRequest.prototype; + fill(xhrproto, 'open', function (originalOpen) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + // eslint-disable-next-line @typescript-eslint/no-this-alias + var xhr = this; + var url = args[1]; + var xhrInfo = (xhr.__sentry_xhr__ = { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + method: isString(args[0]) ? args[0].toUpperCase() : args[0], + url: args[1], + }); + // if Sentry key appears in URL, don't capture it as a request + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) { + xhr.__sentry_own_request__ = true; + } + var onreadystatechangeHandler = function () { + if (xhr.readyState === 4) { + try { + // touching statusCode in some platforms throws + // an exception + xhrInfo.status_code = xhr.status; + } + catch (e) { + /* do nothing */ + } + triggerHandlers('xhr', { + args: args, + endTimestamp: Date.now(), + startTimestamp: Date.now(), + xhr: xhr, + }); + } + }; + if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') { + fill(xhr, 'onreadystatechange', function (original) { + return function () { + var readyStateArgs = []; + for (var _i = 0; _i < arguments.length; _i++) { + readyStateArgs[_i] = arguments[_i]; + } + onreadystatechangeHandler(); + return original.apply(xhr, readyStateArgs); + }; + }); + } + else { + xhr.addEventListener('readystatechange', onreadystatechangeHandler); + } + return originalOpen.apply(xhr, args); + }; + }); + fill(xhrproto, 'send', function (originalSend) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (this.__sentry_xhr__ && args[0] !== undefined) { + this.__sentry_xhr__.body = args[0]; + } + triggerHandlers('xhr', { + args: args, + startTimestamp: Date.now(), + xhr: this, + }); + return originalSend.apply(this, args); + }; + }); +} +var lastHref; +/** JSDoc */ +function instrumentHistory() { + if (!supportsHistory()) { + return; + } + var oldOnPopState = global.onpopstate; + global.onpopstate = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var to = global.location.href; + // keep track of the current URL state, as we always receive only the updated state + var from = lastHref; + lastHref = to; + triggerHandlers('history', { + from: from, + to: to, + }); + if (oldOnPopState) { + // Apparently this can throw in Firefox when incorrectly implemented plugin is installed. + // https://github.com/getsentry/sentry-javascript/issues/3344 + // https://github.com/bugsnag/bugsnag-js/issues/469 + try { + return oldOnPopState.apply(this, args); + } + catch (_oO) { + // no-empty + } + } + }; + /** @hidden */ + function historyReplacementFunction(originalHistoryFunction) { + return function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var url = args.length > 2 ? args[2] : undefined; + if (url) { + // coerce to string (this is what pushState does) + var from = lastHref; + var to = String(url); + // keep track of the current URL state, as we always receive only the updated state + lastHref = to; + triggerHandlers('history', { + from: from, + to: to, + }); + } + return originalHistoryFunction.apply(this, args); + }; + } + fill(global.history, 'pushState', historyReplacementFunction); + fill(global.history, 'replaceState', historyReplacementFunction); +} +var debounceDuration = 1000; +var debounceTimerID; +var lastCapturedEvent; +/** + * Decide whether the current event should finish the debounce of previously captured one. + * @param previous previously captured event + * @param current event to be captured + */ +function shouldShortcircuitPreviousDebounce(previous, current) { + // If there was no previous event, it should always be swapped for the new one. + if (!previous) { + return true; + } + // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress. + if (previous.type !== current.type) { + return true; + } + try { + // If both events have the same type, it's still possible that actions were performed on different targets. + // e.g. 2 clicks on different buttons. + if (previous.target !== current.target) { + return true; + } + } + catch (e) { + // just accessing `target` property can throw an exception in some rare circumstances + // see: https://github.com/getsentry/sentry-javascript/issues/838 + } + // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_ + // to which an event listener was attached), we treat them as the same action, as we want to capture + // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box. + return false; +} +/** + * Decide whether an event should be captured. + * @param event event to be captured + */ +function shouldSkipDOMEvent(event) { + // We are only interested in filtering `keypress` events for now. + if (event.type !== 'keypress') { + return false; + } + try { + var target = event.target; + if (!target || !target.tagName) { + return true; + } + // Only consider keypress events on actual input elements. This will disregard keypresses targeting body + // e.g.tabbing through elements, hotkeys, etc. + if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) { + return false; + } + } + catch (e) { + // just accessing `target` property can throw an exception in some rare circumstances + // see: https://github.com/getsentry/sentry-javascript/issues/838 + } + return true; +} +/** + * Wraps addEventListener to capture UI breadcrumbs + * @param handler function that will be triggered + * @param globalListener indicates whether event was captured by the global event listener + * @returns wrapped breadcrumb events handler + * @hidden + */ +function makeDOMEventHandler(handler, globalListener) { + if (globalListener === void 0) { globalListener = false; } + return function (event) { + // It's possible this handler might trigger multiple times for the same + // event (e.g. event propagation through node ancestors). + // Ignore if we've already captured that event. + if (!event || lastCapturedEvent === event) { + return; + } + // We always want to skip _some_ events. + if (shouldSkipDOMEvent(event)) { + return; + } + var name = event.type === 'keypress' ? 'input' : event.type; + // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons. + if (debounceTimerID === undefined) { + handler({ + event: event, + name: name, + global: globalListener, + }); + lastCapturedEvent = event; + } + // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one. + // If that's the case, emit the previous event and store locally the newly-captured DOM event. + else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) { + handler({ + event: event, + name: name, + global: globalListener, + }); + lastCapturedEvent = event; + } + // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together. + clearTimeout(debounceTimerID); + debounceTimerID = global.setTimeout(function () { + debounceTimerID = undefined; + }, debounceDuration); + }; +} +/** JSDoc */ +function instrumentDOM() { + if (!('document' in global)) { + return; + } + // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom + // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before + // we instrument `addEventListener` so that we don't end up attaching this handler twice. + var triggerDOMHandler = triggerHandlers.bind(null, 'dom'); + var globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true); + global.document.addEventListener('click', globalDOMEventHandler, false); + global.document.addEventListener('keypress', globalDOMEventHandler, false); + // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled + // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That + // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler + // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still + // guaranteed to fire at least once.) + ['EventTarget', 'Node'].forEach(function (target) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var proto = global[target] && global[target].prototype; + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins + if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) { + return; + } + fill(proto, 'addEventListener', function (originalAddEventListener) { + return function (type, listener, options) { + if (type === 'click' || type == 'keypress') { + try { + var el = this; + var handlers_1 = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {}); + var handlerForType = (handlers_1[type] = handlers_1[type] || { refCount: 0 }); + if (!handlerForType.handler) { + var handler = makeDOMEventHandler(triggerDOMHandler); + handlerForType.handler = handler; + originalAddEventListener.call(this, type, handler, options); + } + handlerForType.refCount += 1; + } + catch (e) { + // Accessing dom properties is always fragile. + // Also allows us to skip `addEventListenrs` calls with no proper `this` context. + } + } + return originalAddEventListener.call(this, type, listener, options); + }; + }); + fill(proto, 'removeEventListener', function (originalRemoveEventListener) { + return function (type, listener, options) { + if (type === 'click' || type == 'keypress') { + try { + var el = this; + var handlers_2 = el.__sentry_instrumentation_handlers__ || {}; + var handlerForType = handlers_2[type]; + if (handlerForType) { + handlerForType.refCount -= 1; + // If there are no longer any custom handlers of the current type on this element, we can remove ours, too. + if (handlerForType.refCount <= 0) { + originalRemoveEventListener.call(this, type, handlerForType.handler, options); + handlerForType.handler = undefined; + delete handlers_2[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete + } + // If there are no longer any custom handlers of any type on this element, cleanup everything. + if (Object.keys(handlers_2).length === 0) { + delete el.__sentry_instrumentation_handlers__; + } + } + } + catch (e) { + // Accessing dom properties is always fragile. + // Also allows us to skip `addEventListenrs` calls with no proper `this` context. + } + } + return originalRemoveEventListener.call(this, type, listener, options); + }; + }); + }); +} +var _oldOnErrorHandler = null; +/** JSDoc */ +function instrumentError() { + _oldOnErrorHandler = global.onerror; + global.onerror = function (msg, url, line, column, error) { + triggerHandlers('error', { + column: column, + error: error, + line: line, + msg: msg, + url: url, + }); + if (_oldOnErrorHandler) { + // eslint-disable-next-line prefer-rest-params + return _oldOnErrorHandler.apply(this, arguments); + } + return false; + }; +} +var _oldOnUnhandledRejectionHandler = null; +/** JSDoc */ +function instrumentUnhandledRejection() { + _oldOnUnhandledRejectionHandler = global.onunhandledrejection; + global.onunhandledrejection = function (e) { + triggerHandlers('unhandledrejection', e); + if (_oldOnUnhandledRejectionHandler) { + // eslint-disable-next-line prefer-rest-params + return _oldOnUnhandledRejectionHandler.apply(this, arguments); + } + return true; + }; +} +//# sourceMappingURL=instrument.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/instrument.js.map b/node_modules/@sentry/utils/esm/instrument.js.map new file mode 100644 index 000000000..6e8fc7c6f --- /dev/null +++ b/node_modules/@sentry/utils/esm/instrument.js.map @@ -0,0 +1 @@ +{"version":3,"file":"instrument.js","sourceRoot":"","sources":["../src/instrument.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/ban-types */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { isDebugBuild } from './env';\nimport { getGlobalObject } from './global';\nimport { isInstanceOf, isString } from './is';\nimport { logger } from './logger';\nimport { fill } from './object';\nimport { getFunctionName } from './stacktrace';\nimport { supportsHistory, supportsNativeFetch } from './supports';\n\nconst global = getGlobalObject();\n\ntype InstrumentHandlerType =\n | 'console'\n | 'dom'\n | 'fetch'\n | 'history'\n | 'sentry'\n | 'xhr'\n | 'error'\n | 'unhandledrejection';\ntype InstrumentHandlerCallback = (data: any) => void;\n\n/**\n * Instrument native APIs to call handlers that can be used to create breadcrumbs, APM spans etc.\n * - Console API\n * - Fetch API\n * - XHR API\n * - History API\n * - DOM API (click/typing)\n * - Error API\n * - UnhandledRejection API\n */\n\nconst handlers: { [key in InstrumentHandlerType]?: InstrumentHandlerCallback[] } = {};\nconst instrumented: { [key in InstrumentHandlerType]?: boolean } = {};\n\n/** Instruments given API */\nfunction instrument(type: InstrumentHandlerType): void {\n if (instrumented[type]) {\n return;\n }\n\n instrumented[type] = true;\n\n switch (type) {\n case 'console':\n instrumentConsole();\n break;\n case 'dom':\n instrumentDOM();\n break;\n case 'xhr':\n instrumentXHR();\n break;\n case 'fetch':\n instrumentFetch();\n break;\n case 'history':\n instrumentHistory();\n break;\n case 'error':\n instrumentError();\n break;\n case 'unhandledrejection':\n instrumentUnhandledRejection();\n break;\n default:\n logger.warn('unknown instrumentation type:', type);\n }\n}\n\n/**\n * Add handler that will be called when given type of instrumentation triggers.\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\nexport function addInstrumentationHandler(type: InstrumentHandlerType, callback: InstrumentHandlerCallback): void {\n handlers[type] = handlers[type] || [];\n (handlers[type] as InstrumentHandlerCallback[]).push(callback);\n instrument(type);\n}\n\n/** JSDoc */\nfunction triggerHandlers(type: InstrumentHandlerType, data: any): void {\n if (!type || !handlers[type]) {\n return;\n }\n\n for (const handler of handlers[type] || []) {\n try {\n handler(data);\n } catch (e) {\n if (isDebugBuild()) {\n logger.error(\n `Error while triggering instrumentation handler.\\nType: ${type}\\nName: ${getFunctionName(\n handler,\n )}\\nError: ${e}`,\n );\n }\n }\n }\n}\n\n/** JSDoc */\nfunction instrumentConsole(): void {\n if (!('console' in global)) {\n return;\n }\n\n ['debug', 'info', 'warn', 'error', 'log', 'assert'].forEach(function (level: string): void {\n if (!(level in global.console)) {\n return;\n }\n\n fill(global.console, level, function (originalConsoleMethod: () => any): Function {\n return function (...args: any[]): void {\n triggerHandlers('console', { args, level });\n\n // this fails for some browsers. :(\n if (originalConsoleMethod) {\n originalConsoleMethod.apply(global.console, args);\n }\n };\n });\n });\n}\n\n/** JSDoc */\nfunction instrumentFetch(): void {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(global, 'fetch', function (originalFetch: () => void): () => void {\n return function (...args: any[]): void {\n const handlerData = {\n args,\n fetchData: {\n method: getFetchMethod(args),\n url: getFetchUrl(args),\n },\n startTimestamp: Date.now(),\n };\n\n triggerHandlers('fetch', {\n ...handlerData,\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return originalFetch.apply(global, args).then(\n (response: Response) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n response,\n });\n return response;\n },\n (error: Error) => {\n triggerHandlers('fetch', {\n ...handlerData,\n endTimestamp: Date.now(),\n error,\n });\n // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n throw error;\n },\n );\n };\n });\n}\n\ntype XHRSendInput = null | Blob | BufferSource | FormData | URLSearchParams | string;\n\n/** JSDoc */\ninterface SentryWrappedXMLHttpRequest extends XMLHttpRequest {\n [key: string]: any;\n __sentry_xhr__?: {\n method?: string;\n url?: string;\n status_code?: number;\n body?: XHRSendInput;\n };\n}\n\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/** Extract `method` from fetch call arguments */\nfunction getFetchMethod(fetchArgs: any[] = []): string {\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request) && fetchArgs[0].method) {\n return String(fetchArgs[0].method).toUpperCase();\n }\n if (fetchArgs[1] && fetchArgs[1].method) {\n return String(fetchArgs[1].method).toUpperCase();\n }\n return 'GET';\n}\n\n/** Extract `url` from fetch call arguments */\nfunction getFetchUrl(fetchArgs: any[] = []): string {\n if (typeof fetchArgs[0] === 'string') {\n return fetchArgs[0];\n }\n if ('Request' in global && isInstanceOf(fetchArgs[0], Request)) {\n return fetchArgs[0].url;\n }\n return String(fetchArgs[0]);\n}\n/* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n/** JSDoc */\nfunction instrumentXHR(): void {\n if (!('XMLHttpRequest' in global)) {\n return;\n }\n\n const xhrproto = XMLHttpRequest.prototype;\n\n fill(xhrproto, 'open', function (originalOpen: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const xhr = this;\n const url = args[1];\n const xhrInfo: SentryWrappedXMLHttpRequest['__sentry_xhr__'] = (xhr.__sentry_xhr__ = {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n method: isString(args[0]) ? args[0].toUpperCase() : args[0],\n url: args[1],\n });\n\n // if Sentry key appears in URL, don't capture it as a request\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (isString(url) && xhrInfo.method === 'POST' && url.match(/sentry_key/)) {\n xhr.__sentry_own_request__ = true;\n }\n\n const onreadystatechangeHandler = function (): void {\n if (xhr.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = xhr.status;\n } catch (e) {\n /* do nothing */\n }\n\n triggerHandlers('xhr', {\n args,\n endTimestamp: Date.now(),\n startTimestamp: Date.now(),\n xhr,\n });\n }\n };\n\n if ('onreadystatechange' in xhr && typeof xhr.onreadystatechange === 'function') {\n fill(xhr, 'onreadystatechange', function (original: WrappedFunction): Function {\n return function (...readyStateArgs: any[]): void {\n onreadystatechangeHandler();\n return original.apply(xhr, readyStateArgs);\n };\n });\n } else {\n xhr.addEventListener('readystatechange', onreadystatechangeHandler);\n }\n\n return originalOpen.apply(xhr, args);\n };\n });\n\n fill(xhrproto, 'send', function (originalSend: () => void): () => void {\n return function (this: SentryWrappedXMLHttpRequest, ...args: any[]): void {\n if (this.__sentry_xhr__ && args[0] !== undefined) {\n this.__sentry_xhr__.body = args[0];\n }\n\n triggerHandlers('xhr', {\n args,\n startTimestamp: Date.now(),\n xhr: this,\n });\n\n return originalSend.apply(this, args);\n };\n });\n}\n\nlet lastHref: string;\n\n/** JSDoc */\nfunction instrumentHistory(): void {\n if (!supportsHistory()) {\n return;\n }\n\n const oldOnPopState = global.onpopstate;\n global.onpopstate = function (this: WindowEventHandlers, ...args: any[]): any {\n const to = global.location.href;\n // keep track of the current URL state, as we always receive only the updated state\n const from = lastHref;\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n return oldOnPopState.apply(this, args);\n } catch (_oO) {\n // no-empty\n }\n }\n };\n\n /** @hidden */\n function historyReplacementFunction(originalHistoryFunction: () => void): () => void {\n return function (this: History, ...args: any[]): void {\n const url = args.length > 2 ? args[2] : undefined;\n if (url) {\n // coerce to string (this is what pushState does)\n const from = lastHref;\n const to = String(url);\n // keep track of the current URL state, as we always receive only the updated state\n lastHref = to;\n triggerHandlers('history', {\n from,\n to,\n });\n }\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(global.history, 'pushState', historyReplacementFunction);\n fill(global.history, 'replaceState', historyReplacementFunction);\n}\n\nconst debounceDuration = 1000;\nlet debounceTimerID: number | undefined;\nlet lastCapturedEvent: Event | undefined;\n\n/**\n * Decide whether the current event should finish the debounce of previously captured one.\n * @param previous previously captured event\n * @param current event to be captured\n */\nfunction shouldShortcircuitPreviousDebounce(previous: Event | undefined, current: Event): boolean {\n // If there was no previous event, it should always be swapped for the new one.\n if (!previous) {\n return true;\n }\n\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (previous.type !== current.type) {\n return true;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (previous.target !== current.target) {\n return true;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n return false;\n}\n\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\nfunction shouldSkipDOMEvent(event: Event): boolean {\n // We are only interested in filtering `keypress` events for now.\n if (event.type !== 'keypress') {\n return false;\n }\n\n try {\n const target = event.target as HTMLElement;\n\n if (!target || !target.tagName) {\n return true;\n }\n\n // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n }\n\n return true;\n}\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n * @param handler function that will be triggered\n * @param globalListener indicates whether event was captured by the global event listener\n * @returns wrapped breadcrumb events handler\n * @hidden\n */\nfunction makeDOMEventHandler(handler: Function, globalListener: boolean = false): (event: Event) => void {\n return (event: Event): void => {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || lastCapturedEvent === event) {\n return;\n }\n\n // We always want to skip _some_ events.\n if (shouldSkipDOMEvent(event)) {\n return;\n }\n\n const name = event.type === 'keypress' ? 'input' : event.type;\n\n // If there is no debounce timer, it means that we can safely capture the new event and store it for future comparisons.\n if (debounceTimerID === undefined) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n // If there is a debounce awaiting, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n else if (shouldShortcircuitPreviousDebounce(lastCapturedEvent, event)) {\n handler({\n event: event,\n name,\n global: globalListener,\n });\n lastCapturedEvent = event;\n }\n\n // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n clearTimeout(debounceTimerID);\n debounceTimerID = global.setTimeout(() => {\n debounceTimerID = undefined;\n }, debounceDuration);\n };\n}\n\ntype AddEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n) => void;\ntype RemoveEventListener = (\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n) => void;\n\ntype InstrumentedElement = Element & {\n __sentry_instrumentation_handlers__?: {\n [key in 'click' | 'keypress']?: {\n handler?: Function;\n /** The number of custom listeners attached to this element */\n refCount: number;\n };\n };\n};\n\n/** JSDoc */\nfunction instrumentDOM(): void {\n if (!('document' in global)) {\n return;\n }\n\n // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n const triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n global.document.addEventListener('click', globalDOMEventHandler, false);\n global.document.addEventListener('keypress', globalDOMEventHandler, false);\n\n // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n ['EventTarget', 'Node'].forEach((target: string) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const proto = (global as any)[target] && (global as any)[target].prototype;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener: AddEventListener): AddEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | AddEventListenerOptions,\n ): AddEventListener {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = (el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {});\n const handlerForType = (handlers[type] = handlers[type] || { refCount: 0 });\n\n if (!handlerForType.handler) {\n const handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount += 1;\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n\n fill(\n proto,\n 'removeEventListener',\n function (originalRemoveEventListener: RemoveEventListener): RemoveEventListener {\n return function (\n this: Element,\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n ): () => void {\n if (type === 'click' || type == 'keypress') {\n try {\n const el = this as InstrumentedElement;\n const handlers = el.__sentry_instrumentation_handlers__ || {};\n const handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount -= 1;\n // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n }\n\n // If there are no longer any custom handlers of any type on this element, cleanup everything.\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {\n // Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n },\n );\n });\n}\n\nlet _oldOnErrorHandler: OnErrorEventHandler = null;\n/** JSDoc */\nfunction instrumentError(): void {\n _oldOnErrorHandler = global.onerror;\n\n global.onerror = function (msg: any, url: any, line: any, column: any, error: any): boolean {\n triggerHandlers('error', {\n column,\n error,\n line,\n msg,\n url,\n });\n\n if (_oldOnErrorHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n}\n\nlet _oldOnUnhandledRejectionHandler: ((e: any) => void) | null = null;\n/** JSDoc */\nfunction instrumentUnhandledRejection(): void {\n _oldOnUnhandledRejectionHandler = global.onunhandledrejection;\n\n global.onunhandledrejection = function (e: any): boolean {\n triggerHandlers('unhandledrejection', e);\n\n if (_oldOnUnhandledRejectionHandler) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/is.d.ts b/node_modules/@sentry/utils/esm/is.d.ts new file mode 100644 index 000000000..78ce42f9d --- /dev/null +++ b/node_modules/@sentry/utils/esm/is.d.ts @@ -0,0 +1,104 @@ +import { Primitive } from '@sentry/types'; +/** + * Checks whether given value's type is one of a few Error or Error-like + * {@link isError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isError(wat: unknown): boolean; +/** + * Checks whether given value's type is ErrorEvent + * {@link isErrorEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isErrorEvent(wat: unknown): boolean; +/** + * Checks whether given value's type is DOMError + * {@link isDOMError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isDOMError(wat: unknown): boolean; +/** + * Checks whether given value's type is DOMException + * {@link isDOMException}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isDOMException(wat: unknown): boolean; +/** + * Checks whether given value's type is a string + * {@link isString}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isString(wat: unknown): boolean; +/** + * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol) + * {@link isPrimitive}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isPrimitive(wat: unknown): wat is Primitive; +/** + * Checks whether given value's type is an object literal + * {@link isPlainObject}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isPlainObject(wat: unknown): wat is Record; +/** + * Checks whether given value's type is an Event instance + * {@link isEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isEvent(wat: unknown): boolean; +/** + * Checks whether given value's type is an Element instance + * {@link isElement}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isElement(wat: unknown): boolean; +/** + * Checks whether given value's type is an regexp + * {@link isRegExp}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isRegExp(wat: unknown): wat is RegExp; +/** + * Checks whether given value has a then function. + * @param wat A value to be checked. + */ +export declare function isThenable(wat: any): wat is PromiseLike; +/** + * Checks whether given value's type is a SyntheticEvent + * {@link isSyntheticEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export declare function isSyntheticEvent(wat: unknown): boolean; +/** + * Checks whether given value's type is an instance of provided constructor. + * {@link isInstanceOf}. + * + * @param wat A value to be checked. + * @param base A constructor to be used in a check. + * @returns A boolean representing the result. + */ +export declare function isInstanceOf(wat: any, base: any): boolean; +//# sourceMappingURL=is.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/is.d.ts.map b/node_modules/@sentry/utils/esm/is.d.ts.map new file mode 100644 index 000000000..a147a5233 --- /dev/null +++ b/node_modules/@sentry/utils/esm/is.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"is.d.ts","sourceRoot":"","sources":["../src/is.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAK1C;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAS7C;AAMD;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAElD;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAEhD;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAEpD;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAE9C;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,SAAS,CAE1D;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAE1E;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAE7C;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAE/C;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAEpD;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,WAAW,CAAC,GAAG,CAAC,CAG5D;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAEtD;AACD;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAMzD"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/is.js b/node_modules/@sentry/utils/esm/is.js new file mode 100644 index 000000000..a75728f76 --- /dev/null +++ b/node_modules/@sentry/utils/esm/is.js @@ -0,0 +1,149 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ +// eslint-disable-next-line @typescript-eslint/unbound-method +var objectToString = Object.prototype.toString; +/** + * Checks whether given value's type is one of a few Error or Error-like + * {@link isError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isError(wat) { + switch (objectToString.call(wat)) { + case '[object Error]': + case '[object Exception]': + case '[object DOMException]': + return true; + default: + return isInstanceOf(wat, Error); + } +} +function isBuiltin(wat, ty) { + return objectToString.call(wat) === "[object " + ty + "]"; +} +/** + * Checks whether given value's type is ErrorEvent + * {@link isErrorEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isErrorEvent(wat) { + return isBuiltin(wat, 'ErrorEvent'); +} +/** + * Checks whether given value's type is DOMError + * {@link isDOMError}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isDOMError(wat) { + return isBuiltin(wat, 'DOMError'); +} +/** + * Checks whether given value's type is DOMException + * {@link isDOMException}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isDOMException(wat) { + return isBuiltin(wat, 'DOMException'); +} +/** + * Checks whether given value's type is a string + * {@link isString}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isString(wat) { + return isBuiltin(wat, 'String'); +} +/** + * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol) + * {@link isPrimitive}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isPrimitive(wat) { + return wat === null || (typeof wat !== 'object' && typeof wat !== 'function'); +} +/** + * Checks whether given value's type is an object literal + * {@link isPlainObject}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isPlainObject(wat) { + return isBuiltin(wat, 'Object'); +} +/** + * Checks whether given value's type is an Event instance + * {@link isEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isEvent(wat) { + return typeof Event !== 'undefined' && isInstanceOf(wat, Event); +} +/** + * Checks whether given value's type is an Element instance + * {@link isElement}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isElement(wat) { + return typeof Element !== 'undefined' && isInstanceOf(wat, Element); +} +/** + * Checks whether given value's type is an regexp + * {@link isRegExp}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isRegExp(wat) { + return isBuiltin(wat, 'RegExp'); +} +/** + * Checks whether given value has a then function. + * @param wat A value to be checked. + */ +export function isThenable(wat) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return Boolean(wat && wat.then && typeof wat.then === 'function'); +} +/** + * Checks whether given value's type is a SyntheticEvent + * {@link isSyntheticEvent}. + * + * @param wat A value to be checked. + * @returns A boolean representing the result. + */ +export function isSyntheticEvent(wat) { + return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat; +} +/** + * Checks whether given value's type is an instance of provided constructor. + * {@link isInstanceOf}. + * + * @param wat A value to be checked. + * @param base A constructor to be used in a check. + * @returns A boolean representing the result. + */ +export function isInstanceOf(wat, base) { + try { + return wat instanceof base; + } + catch (_e) { + return false; + } +} +//# sourceMappingURL=is.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/is.js.map b/node_modules/@sentry/utils/esm/is.js.map new file mode 100644 index 000000000..ce019dae8 --- /dev/null +++ b/node_modules/@sentry/utils/esm/is.js.map @@ -0,0 +1 @@ +{"version":3,"file":"is.js","sourceRoot":"","sources":["../src/is.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,sEAAsE;AAItE,6DAA6D;AAC7D,IAAM,cAAc,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAC,GAAY;IAClC,QAAQ,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QAChC,KAAK,gBAAgB,CAAC;QACtB,KAAK,oBAAoB,CAAC;QAC1B,KAAK,uBAAuB;YAC1B,OAAO,IAAI,CAAC;QACd;YACE,OAAO,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;KACnC;AACH,CAAC;AAED,SAAS,SAAS,CAAC,GAAY,EAAE,EAAU;IACzC,OAAO,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,aAAW,EAAE,MAAG,CAAC;AACvD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAAC,GAAY;IACvC,OAAO,SAAS,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;AACtC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,UAAU,CAAC,GAAY;IACrC,OAAO,SAAS,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AACpC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAAC,GAAY;IACzC,OAAO,SAAS,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;AACxC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CAAC,GAAY;IACnC,OAAO,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CAAC,GAAY;IACtC,OAAO,GAAG,KAAK,IAAI,IAAI,CAAC,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,GAAG,KAAK,UAAU,CAAC,CAAC;AAChF,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,GAAY;IACxC,OAAO,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAC,GAAY;IAClC,OAAO,OAAO,KAAK,KAAK,WAAW,IAAI,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,SAAS,CAAC,GAAY;IACpC,OAAO,OAAO,OAAO,KAAK,WAAW,IAAI,YAAY,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AACtE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CAAC,GAAY;IACnC,OAAO,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,UAAU,CAAC,GAAQ;IACjC,sEAAsE;IACtE,OAAO,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC;AACpE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,GAAY;IAC3C,OAAO,aAAa,CAAC,GAAG,CAAC,IAAI,aAAa,IAAI,GAAG,IAAI,gBAAgB,IAAI,GAAG,IAAI,iBAAiB,IAAI,GAAG,CAAC;AAC3G,CAAC;AACD;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,GAAQ,EAAE,IAAS;IAC9C,IAAI;QACF,OAAO,GAAG,YAAY,IAAI,CAAC;KAC5B;IAAC,OAAO,EAAE,EAAE;QACX,OAAO,KAAK,CAAC;KACd;AACH,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport { Primitive } from '@sentry/types';\n\n// eslint-disable-next-line @typescript-eslint/unbound-method\nconst objectToString = Object.prototype.toString;\n\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isError(wat: unknown): boolean {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n default:\n return isInstanceOf(wat, Error);\n }\n}\n\nfunction isBuiltin(wat: unknown, ty: string): boolean {\n return objectToString.call(wat) === `[object ${ty}]`;\n}\n\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isErrorEvent(wat: unknown): boolean {\n return isBuiltin(wat, 'ErrorEvent');\n}\n\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMError(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMError');\n}\n\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isDOMException(wat: unknown): boolean {\n return isBuiltin(wat, 'DOMException');\n}\n\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isString(wat: unknown): boolean {\n return isBuiltin(wat, 'String');\n}\n\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPrimitive(wat: unknown): wat is Primitive {\n return wat === null || (typeof wat !== 'object' && typeof wat !== 'function');\n}\n\n/**\n * Checks whether given value's type is an object literal\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isPlainObject(wat: unknown): wat is Record {\n return isBuiltin(wat, 'Object');\n}\n\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isEvent(wat: unknown): boolean {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isElement(wat: unknown): boolean {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isRegExp(wat: unknown): wat is RegExp {\n return isBuiltin(wat, 'RegExp');\n}\n\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\nexport function isThenable(wat: any): wat is PromiseLike {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\nexport function isSyntheticEvent(wat: unknown): boolean {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\nexport function isInstanceOf(wat: any, base: any): boolean {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/logger.d.ts b/node_modules/@sentry/utils/esm/logger.d.ts new file mode 100644 index 000000000..f76934030 --- /dev/null +++ b/node_modules/@sentry/utils/esm/logger.d.ts @@ -0,0 +1,28 @@ +/** + * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods. + * Restores wrapping after the callback completes. + * + * @param callback The function to run against the original `console` messages + * @returns The results of the callback + */ +export declare function consoleSandbox(callback: () => any): any; +/** JSDoc */ +declare class Logger { + /** JSDoc */ + private _enabled; + /** JSDoc */ + constructor(); + /** JSDoc */ + disable(): void; + /** JSDoc */ + enable(): void; + /** JSDoc */ + log(...args: any[]): void; + /** JSDoc */ + warn(...args: any[]): void; + /** JSDoc */ + error(...args: any[]): void; +} +declare const logger: Logger; +export { logger }; +//# sourceMappingURL=logger.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/logger.d.ts.map b/node_modules/@sentry/utils/esm/logger.d.ts.map new file mode 100644 index 000000000..25a953701 --- /dev/null +++ b/node_modules/@sentry/utils/esm/logger.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAgBA;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,GAAG,CA8BvD;AAED,YAAY;AACZ,cAAM,MAAM;IACV,YAAY;IACZ,OAAO,CAAC,QAAQ,CAAU;IAE1B,YAAY;;IAKZ,YAAY;IACL,OAAO,IAAI,IAAI;IAItB,YAAY;IACL,MAAM,IAAI,IAAI;IAIrB,YAAY;IACL,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAShC,YAAY;IACL,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IASjC,YAAY;IACL,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;CAQnC;AAID,QAAA,MAAM,MAAM,QAAoF,CAAC;AAEjG,OAAO,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/logger.js b/node_modules/@sentry/utils/esm/logger.js new file mode 100644 index 000000000..de725d203 --- /dev/null +++ b/node_modules/@sentry/utils/esm/logger.js @@ -0,0 +1,97 @@ +import { getGlobalObject } from './global'; +// TODO: Implement different loggers for different environments +var global = getGlobalObject(); +/** Prefix for logging strings */ +var PREFIX = 'Sentry Logger '; +/** + * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods. + * Restores wrapping after the callback completes. + * + * @param callback The function to run against the original `console` messages + * @returns The results of the callback + */ +export function consoleSandbox(callback) { + var global = getGlobalObject(); + var levels = ['debug', 'info', 'warn', 'error', 'log', 'assert']; + if (!('console' in global)) { + return callback(); + } + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + var originalConsole = global.console; + var wrappedLevels = {}; + // Restore all wrapped console methods + levels.forEach(function (level) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (level in global.console && originalConsole[level].__sentry_original__) { + wrappedLevels[level] = originalConsole[level]; + originalConsole[level] = originalConsole[level].__sentry_original__; + } + }); + // Perform callback manipulations + var result = callback(); + // Revert restoration to wrapped state + Object.keys(wrappedLevels).forEach(function (level) { + originalConsole[level] = wrappedLevels[level]; + }); + return result; +} +/** JSDoc */ +var Logger = /** @class */ (function () { + /** JSDoc */ + function Logger() { + this._enabled = false; + } + /** JSDoc */ + Logger.prototype.disable = function () { + this._enabled = false; + }; + /** JSDoc */ + Logger.prototype.enable = function () { + this._enabled = true; + }; + /** JSDoc */ + Logger.prototype.log = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global.console.log(PREFIX + "[Log]: " + args.join(' ')); + }); + }; + /** JSDoc */ + Logger.prototype.warn = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global.console.warn(PREFIX + "[Warn]: " + args.join(' ')); + }); + }; + /** JSDoc */ + Logger.prototype.error = function () { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + if (!this._enabled) { + return; + } + consoleSandbox(function () { + global.console.error(PREFIX + "[Error]: " + args.join(' ')); + }); + }; + return Logger; +}()); +// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used +global.__SENTRY__ = global.__SENTRY__ || {}; +var logger = global.__SENTRY__.logger || (global.__SENTRY__.logger = new Logger()); +export { logger }; +//# sourceMappingURL=logger.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/logger.js.map b/node_modules/@sentry/utils/esm/logger.js.map new file mode 100644 index 000000000..cbcaef68c --- /dev/null +++ b/node_modules/@sentry/utils/esm/logger.js.map @@ -0,0 +1 @@ +{"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { WrappedFunction } from '@sentry/types';\n\nimport { getGlobalObject } from './global';\n\n// TODO: Implement different loggers for different environments\nconst global = getGlobalObject();\n\n/** Prefix for logging strings */\nconst PREFIX = 'Sentry Logger ';\n\n/** JSDoc */\ninterface ExtensibleConsole extends Console {\n [key: string]: any;\n}\n\n/**\n * Temporarily unwrap `console.log` and friends in order to perform the given callback using the original methods.\n * Restores wrapping after the callback completes.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\nexport function consoleSandbox(callback: () => any): any {\n const global = getGlobalObject();\n const levels = ['debug', 'info', 'warn', 'error', 'log', 'assert'];\n\n if (!('console' in global)) {\n return callback();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n const originalConsole = (global as any).console as ExtensibleConsole;\n const wrappedLevels: { [key: string]: any } = {};\n\n // Restore all wrapped console methods\n levels.forEach(level => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (level in (global as any).console && (originalConsole[level] as WrappedFunction).__sentry_original__) {\n wrappedLevels[level] = originalConsole[level] as WrappedFunction;\n originalConsole[level] = (originalConsole[level] as WrappedFunction).__sentry_original__;\n }\n });\n\n // Perform callback manipulations\n const result = callback();\n\n // Revert restoration to wrapped state\n Object.keys(wrappedLevels).forEach(level => {\n originalConsole[level] = wrappedLevels[level];\n });\n\n return result;\n}\n\n/** JSDoc */\nclass Logger {\n /** JSDoc */\n private _enabled: boolean;\n\n /** JSDoc */\n public constructor() {\n this._enabled = false;\n }\n\n /** JSDoc */\n public disable(): void {\n this._enabled = false;\n }\n\n /** JSDoc */\n public enable(): void {\n this._enabled = true;\n }\n\n /** JSDoc */\n public log(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.log(`${PREFIX}[Log]: ${args.join(' ')}`);\n });\n }\n\n /** JSDoc */\n public warn(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.warn(`${PREFIX}[Warn]: ${args.join(' ')}`);\n });\n }\n\n /** JSDoc */\n public error(...args: any[]): void {\n if (!this._enabled) {\n return;\n }\n consoleSandbox(() => {\n global.console.error(`${PREFIX}[Error]: ${args.join(' ')}`);\n });\n }\n}\n\n// Ensure we only have a single logger instance, even if multiple versions of @sentry/utils are being used\nglobal.__SENTRY__ = global.__SENTRY__ || {};\nconst logger = (global.__SENTRY__.logger as Logger) || (global.__SENTRY__.logger = new Logger());\n\nexport { logger };\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/memo.d.ts b/node_modules/@sentry/utils/esm/memo.d.ts new file mode 100644 index 000000000..98e8de239 --- /dev/null +++ b/node_modules/@sentry/utils/esm/memo.d.ts @@ -0,0 +1,6 @@ +export declare type MemoFunc = [(obj: any) => boolean, (obj: any) => void]; +/** + * Helper to decycle json objects + */ +export declare function memoBuilder(): MemoFunc; +//# sourceMappingURL=memo.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/memo.d.ts.map b/node_modules/@sentry/utils/esm/memo.d.ts.map new file mode 100644 index 000000000..010230254 --- /dev/null +++ b/node_modules/@sentry/utils/esm/memo.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"memo.d.ts","sourceRoot":"","sources":["../src/memo.ts"],"names":[],"mappings":"AAGA,oBAAY,QAAQ,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC,CAAC;AAEnE;;GAEG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAmCtC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/memo.js b/node_modules/@sentry/utils/esm/memo.js new file mode 100644 index 000000000..f4b2bcca5 --- /dev/null +++ b/node_modules/@sentry/utils/esm/memo.js @@ -0,0 +1,42 @@ +/* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/** + * Helper to decycle json objects + */ +export function memoBuilder() { + var hasWeakSet = typeof WeakSet === 'function'; + var inner = hasWeakSet ? new WeakSet() : []; + function memoize(obj) { + if (hasWeakSet) { + if (inner.has(obj)) { + return true; + } + inner.add(obj); + return false; + } + // eslint-disable-next-line @typescript-eslint/prefer-for-of + for (var i = 0; i < inner.length; i++) { + var value = inner[i]; + if (value === obj) { + return true; + } + } + inner.push(obj); + return false; + } + function unmemoize(obj) { + if (hasWeakSet) { + inner.delete(obj); + } + else { + for (var i = 0; i < inner.length; i++) { + if (inner[i] === obj) { + inner.splice(i, 1); + break; + } + } + } + } + return [memoize, unmemoize]; +} +//# sourceMappingURL=memo.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/memo.js.map b/node_modules/@sentry/utils/esm/memo.js.map new file mode 100644 index 000000000..f200b93bd --- /dev/null +++ b/node_modules/@sentry/utils/esm/memo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"memo.js","sourceRoot":"","sources":["../src/memo.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,uDAAuD;AAIvD;;GAEG;AACH,MAAM,UAAU,WAAW;IACzB,IAAM,UAAU,GAAG,OAAO,OAAO,KAAK,UAAU,CAAC;IACjD,IAAM,KAAK,GAAQ,UAAU,CAAC,CAAC,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACnD,SAAS,OAAO,CAAC,GAAQ;QACvB,IAAI,UAAU,EAAE;YACd,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBAClB,OAAO,IAAI,CAAC;aACb;YACD,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACf,OAAO,KAAK,CAAC;SACd;QACD,4DAA4D;QAC5D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACrC,IAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACvB,IAAI,KAAK,KAAK,GAAG,EAAE;gBACjB,OAAO,IAAI,CAAC;aACb;SACF;QACD,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,SAAS,CAAC,GAAQ;QACzB,IAAI,UAAU,EAAE;YACd,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;SACnB;aAAM;YACL,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACrC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;oBACpB,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;oBACnB,MAAM;iBACP;aACF;SACF;IACH,CAAC;IACD,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport type MemoFunc = [(obj: any) => boolean, (obj: any) => void];\n\n/**\n * Helper to decycle json objects\n */\nexport function memoBuilder(): MemoFunc {\n const hasWeakSet = typeof WeakSet === 'function';\n const inner: any = hasWeakSet ? new WeakSet() : [];\n function memoize(obj: any): boolean {\n if (hasWeakSet) {\n if (inner.has(obj)) {\n return true;\n }\n inner.add(obj);\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < inner.length; i++) {\n const value = inner[i];\n if (value === obj) {\n return true;\n }\n }\n inner.push(obj);\n return false;\n }\n\n function unmemoize(obj: any): void {\n if (hasWeakSet) {\n inner.delete(obj);\n } else {\n for (let i = 0; i < inner.length; i++) {\n if (inner[i] === obj) {\n inner.splice(i, 1);\n break;\n }\n }\n }\n }\n return [memoize, unmemoize];\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/misc.d.ts b/node_modules/@sentry/utils/esm/misc.d.ts new file mode 100644 index 000000000..b90c0aff3 --- /dev/null +++ b/node_modules/@sentry/utils/esm/misc.d.ts @@ -0,0 +1,101 @@ +import { Event, Mechanism, StackFrame } from '@sentry/types'; +/** + * UUID4 generator + * + * @returns string Generated UUID4. + */ +export declare function uuid4(): string; +/** + * Parses string form of URL into an object + * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B + * // intentionally using regex and not href parsing trick because React Native and other + * // environments where DOM might not be available + * @returns parsed URL object + */ +export declare function parseUrl(url: string): { + host?: string; + path?: string; + protocol?: string; + relative?: string; +}; +/** + * Extracts either message or type+value from an event that can be used for user-facing logs + * @returns event's description + */ +export declare function getEventDescription(event: Event): string; +/** + * Adds exception values, type and value to an synthetic Exception. + * @param event The event to modify. + * @param value Value of the exception. + * @param type Type of the exception. + * @hidden + */ +export declare function addExceptionTypeValue(event: Event, value?: string, type?: string): void; +/** + * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed. + * + * @param event The event to modify. + * @param newMechanism Mechanism data to add to the event. + * @hidden + */ +export declare function addExceptionMechanism(event: Event, newMechanism?: Partial): void; +/** + * Represents Semantic Versioning object + */ +interface SemVer { + major?: number; + minor?: number; + patch?: number; + prerelease?: string; + buildmetadata?: string; +} +/** + * Parses input into a SemVer interface + * @param input string representation of a semver version + */ +export declare function parseSemver(input: string): SemVer; +/** + * Extracts Retry-After value from the request header or returns default value + * @param now current unix timestamp + * @param header string representation of 'Retry-After' header + */ +export declare function parseRetryAfterHeader(now: number, header?: string | number | null): number; +/** + * This function adds context (pre/post/line) lines to the provided frame + * + * @param lines string[] containing all lines + * @param frame StackFrame that will be mutated + * @param linesOfContext number of context lines we want to add pre/post + */ +export declare function addContextToFrame(lines: string[], frame: StackFrame, linesOfContext?: number): void; +/** + * Strip the query string and fragment off of a given URL or path (if present) + * + * @param urlPath Full URL or path, including possible query string and/or fragment + * @returns URL or path without query string or fragment + */ +export declare function stripUrlQueryAndFragment(urlPath: string): string; +/** + * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object + * in question), and marks it captured if not. + * + * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and + * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so + * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because + * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not + * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This + * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we + * see it. + * + * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on + * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent + * object wrapper forms so that this check will always work. However, because we need to flag the exact object which + * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification + * must be done before the exception captured. + * + * @param A thrown exception to check or flag as having been seen + * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen) + */ +export declare function checkOrSetAlreadyCaught(exception: unknown): boolean; +export {}; +//# sourceMappingURL=misc.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/misc.d.ts.map b/node_modules/@sentry/utils/esm/misc.d.ts.map new file mode 100644 index 000000000..1ef37955c --- /dev/null +++ b/node_modules/@sentry/utils/esm/misc.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAa,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAaxE;;;;GAIG;AACH,wBAAgB,KAAK,IAAI,MAAM,CAoC9B;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAoBA;AAMD;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAcxD;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAUvF;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,IAAI,CAc3F;AAMD;;GAEG;AACH,UAAU,MAAM;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAYjD;AAID;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,CAgB1F;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,GAAE,MAAU,GAAG,IAAI,CActG;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGhE;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAenE"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/misc.js b/node_modules/@sentry/utils/esm/misc.js new file mode 100644 index 000000000..b054a0ce3 --- /dev/null +++ b/node_modules/@sentry/utils/esm/misc.js @@ -0,0 +1,230 @@ +import { __assign } from "tslib"; +import { getGlobalObject } from './global'; +import { addNonEnumerableProperty } from './object'; +import { snipLine } from './string'; +/** + * UUID4 generator + * + * @returns string Generated UUID4. + */ +export function uuid4() { + var global = getGlobalObject(); + var crypto = global.crypto || global.msCrypto; + if (!(crypto === void 0) && crypto.getRandomValues) { + // Use window.crypto API if available + var arr = new Uint16Array(8); + crypto.getRandomValues(arr); + // set 4 in byte 7 + // eslint-disable-next-line no-bitwise + arr[3] = (arr[3] & 0xfff) | 0x4000; + // set 2 most significant bits of byte 9 to '10' + // eslint-disable-next-line no-bitwise + arr[4] = (arr[4] & 0x3fff) | 0x8000; + var pad = function (num) { + var v = num.toString(16); + while (v.length < 4) { + v = "0" + v; + } + return v; + }; + return (pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7])); + } + // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523 + return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + // eslint-disable-next-line no-bitwise + var r = (Math.random() * 16) | 0; + // eslint-disable-next-line no-bitwise + var v = c === 'x' ? r : (r & 0x3) | 0x8; + return v.toString(16); + }); +} +/** + * Parses string form of URL into an object + * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B + * // intentionally using regex and not href parsing trick because React Native and other + * // environments where DOM might not be available + * @returns parsed URL object + */ +export function parseUrl(url) { + if (!url) { + return {}; + } + var match = url.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/); + if (!match) { + return {}; + } + // coerce to undefined values to empty string so we don't get 'undefined' + var query = match[6] || ''; + var fragment = match[8] || ''; + return { + host: match[4], + path: match[5], + protocol: match[2], + relative: match[5] + query + fragment, + }; +} +function getFirstException(event) { + return event.exception && event.exception.values ? event.exception.values[0] : undefined; +} +/** + * Extracts either message or type+value from an event that can be used for user-facing logs + * @returns event's description + */ +export function getEventDescription(event) { + var message = event.message, eventId = event.event_id; + if (message) { + return message; + } + var firstException = getFirstException(event); + if (firstException) { + if (firstException.type && firstException.value) { + return firstException.type + ": " + firstException.value; + } + return firstException.type || firstException.value || eventId || ''; + } + return eventId || ''; +} +/** + * Adds exception values, type and value to an synthetic Exception. + * @param event The event to modify. + * @param value Value of the exception. + * @param type Type of the exception. + * @hidden + */ +export function addExceptionTypeValue(event, value, type) { + var exception = (event.exception = event.exception || {}); + var values = (exception.values = exception.values || []); + var firstException = (values[0] = values[0] || {}); + if (!firstException.value) { + firstException.value = value || ''; + } + if (!firstException.type) { + firstException.type = type || 'Error'; + } +} +/** + * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed. + * + * @param event The event to modify. + * @param newMechanism Mechanism data to add to the event. + * @hidden + */ +export function addExceptionMechanism(event, newMechanism) { + var firstException = getFirstException(event); + if (!firstException) { + return; + } + var defaultMechanism = { type: 'generic', handled: true }; + var currentMechanism = firstException.mechanism; + firstException.mechanism = __assign(__assign(__assign({}, defaultMechanism), currentMechanism), newMechanism); + if (newMechanism && 'data' in newMechanism) { + var mergedData = __assign(__assign({}, (currentMechanism && currentMechanism.data)), newMechanism.data); + firstException.mechanism.data = mergedData; + } +} +// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string +var SEMVER_REGEXP = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/; +/** + * Parses input into a SemVer interface + * @param input string representation of a semver version + */ +export function parseSemver(input) { + var match = input.match(SEMVER_REGEXP) || []; + var major = parseInt(match[1], 10); + var minor = parseInt(match[2], 10); + var patch = parseInt(match[3], 10); + return { + buildmetadata: match[5], + major: isNaN(major) ? undefined : major, + minor: isNaN(minor) ? undefined : minor, + patch: isNaN(patch) ? undefined : patch, + prerelease: match[4], + }; +} +var defaultRetryAfter = 60 * 1000; // 60 seconds +/** + * Extracts Retry-After value from the request header or returns default value + * @param now current unix timestamp + * @param header string representation of 'Retry-After' header + */ +export function parseRetryAfterHeader(now, header) { + if (!header) { + return defaultRetryAfter; + } + var headerDelay = parseInt("" + header, 10); + if (!isNaN(headerDelay)) { + return headerDelay * 1000; + } + var headerDate = Date.parse("" + header); + if (!isNaN(headerDate)) { + return headerDate - now; + } + return defaultRetryAfter; +} +/** + * This function adds context (pre/post/line) lines to the provided frame + * + * @param lines string[] containing all lines + * @param frame StackFrame that will be mutated + * @param linesOfContext number of context lines we want to add pre/post + */ +export function addContextToFrame(lines, frame, linesOfContext) { + if (linesOfContext === void 0) { linesOfContext = 5; } + var lineno = frame.lineno || 0; + var maxLines = lines.length; + var sourceLine = Math.max(Math.min(maxLines, lineno - 1), 0); + frame.pre_context = lines + .slice(Math.max(0, sourceLine - linesOfContext), sourceLine) + .map(function (line) { return snipLine(line, 0); }); + frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0); + frame.post_context = lines + .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext) + .map(function (line) { return snipLine(line, 0); }); +} +/** + * Strip the query string and fragment off of a given URL or path (if present) + * + * @param urlPath Full URL or path, including possible query string and/or fragment + * @returns URL or path without query string or fragment + */ +export function stripUrlQueryAndFragment(urlPath) { + // eslint-disable-next-line no-useless-escape + return urlPath.split(/[\?#]/, 1)[0]; +} +/** + * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object + * in question), and marks it captured if not. + * + * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and + * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so + * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because + * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not + * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This + * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we + * see it. + * + * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on + * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent + * object wrapper forms so that this check will always work. However, because we need to flag the exact object which + * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification + * must be done before the exception captured. + * + * @param A thrown exception to check or flag as having been seen + * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen) + */ +export function checkOrSetAlreadyCaught(exception) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + if (exception && exception.__sentry_captured__) { + return true; + } + try { + // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the + // `ExtraErrorData` integration + addNonEnumerableProperty(exception, '__sentry_captured__', true); + } + catch (err) { + // `exception` is a primitive, so we can't mark it seen + } + return false; +} +//# sourceMappingURL=misc.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/misc.js.map b/node_modules/@sentry/utils/esm/misc.js.map new file mode 100644 index 000000000..e2fd2a985 --- /dev/null +++ b/node_modules/@sentry/utils/esm/misc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"misc.js","sourceRoot":"","sources":["../src/misc.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Event, Exception, Mechanism, StackFrame } from '@sentry/types';\n\nimport { getGlobalObject } from './global';\nimport { addNonEnumerableProperty } from './object';\nimport { snipLine } from './string';\n\n/**\n * Extended Window interface that allows for Crypto API usage in IE browsers\n */\ninterface MsCryptoWindow extends Window {\n msCrypto?: Crypto;\n}\n\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\nexport function uuid4(): string {\n const global = getGlobalObject() as MsCryptoWindow;\n const crypto = global.crypto || global.msCrypto;\n\n if (!(crypto === void 0) && crypto.getRandomValues) {\n // Use window.crypto API if available\n const arr = new Uint16Array(8);\n crypto.getRandomValues(arr);\n\n // set 4 in byte 7\n // eslint-disable-next-line no-bitwise\n arr[3] = (arr[3] & 0xfff) | 0x4000;\n // set 2 most significant bits of byte 9 to '10'\n // eslint-disable-next-line no-bitwise\n arr[4] = (arr[4] & 0x3fff) | 0x8000;\n\n const pad = (num: number): string => {\n let v = num.toString(16);\n while (v.length < 4) {\n v = `0${v}`;\n }\n return v;\n };\n\n return (\n pad(arr[0]) + pad(arr[1]) + pad(arr[2]) + pad(arr[3]) + pad(arr[4]) + pad(arr[5]) + pad(arr[6]) + pad(arr[7])\n );\n }\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, c => {\n // eslint-disable-next-line no-bitwise\n const r = (Math.random() * 16) | 0;\n // eslint-disable-next-line no-bitwise\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n\n/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nexport function parseUrl(url: string): {\n host?: string;\n path?: string;\n protocol?: string;\n relative?: string;\n} {\n if (!url) {\n return {};\n }\n\n const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n }\n\n // coerce to undefined values to empty string so we don't get 'undefined'\n const query = match[6] || '';\n const fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n relative: match[5] + query + fragment, // everything minus origin\n };\n}\n\nfunction getFirstException(event: Event): Exception | undefined {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\nexport function getEventDescription(event: Event): string {\n const { message, event_id: eventId } = event;\n if (message) {\n return message;\n }\n\n const firstException = getFirstException(event);\n if (firstException) {\n if (firstException.type && firstException.value) {\n return `${firstException.type}: ${firstException.value}`;\n }\n return firstException.type || firstException.value || eventId || '';\n }\n return eventId || '';\n}\n\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\nexport function addExceptionTypeValue(event: Event, value?: string, type?: string): void {\n const exception = (event.exception = event.exception || {});\n const values = (exception.values = exception.values || []);\n const firstException = (values[0] = values[0] || {});\n if (!firstException.value) {\n firstException.value = value || '';\n }\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\nexport function addExceptionMechanism(event: Event, newMechanism?: Partial): void {\n const firstException = getFirstException(event);\n if (!firstException) {\n return;\n }\n\n const defaultMechanism = { type: 'generic', handled: true };\n const currentMechanism = firstException.mechanism;\n firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n\n if (newMechanism && 'data' in newMechanism) {\n const mergedData = { ...(currentMechanism && currentMechanism.data), ...newMechanism.data };\n firstException.mechanism.data = mergedData;\n }\n}\n\n// https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\nconst SEMVER_REGEXP =\n /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n\n/**\n * Represents Semantic Versioning object\n */\ninterface SemVer {\n major?: number;\n minor?: number;\n patch?: number;\n prerelease?: string;\n buildmetadata?: string;\n}\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\nexport function parseSemver(input: string): SemVer {\n const match = input.match(SEMVER_REGEXP) || [];\n const major = parseInt(match[1], 10);\n const minor = parseInt(match[2], 10);\n const patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4],\n };\n}\n\nconst defaultRetryAfter = 60 * 1000; // 60 seconds\n\n/**\n * Extracts Retry-After value from the request header or returns default value\n * @param now current unix timestamp\n * @param header string representation of 'Retry-After' header\n */\nexport function parseRetryAfterHeader(now: number, header?: string | number | null): number {\n if (!header) {\n return defaultRetryAfter;\n }\n\n const headerDelay = parseInt(`${header}`, 10);\n if (!isNaN(headerDelay)) {\n return headerDelay * 1000;\n }\n\n const headerDate = Date.parse(`${header}`);\n if (!isNaN(headerDate)) {\n return headerDate - now;\n }\n\n return defaultRetryAfter;\n}\n\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\nexport function addContextToFrame(lines: string[], frame: StackFrame, linesOfContext: number = 5): void {\n const lineno = frame.lineno || 0;\n const maxLines = lines.length;\n const sourceLine = Math.max(Math.min(maxLines, lineno - 1), 0);\n\n frame.pre_context = lines\n .slice(Math.max(0, sourceLine - linesOfContext), sourceLine)\n .map((line: string) => snipLine(line, 0));\n\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n\n frame.post_context = lines\n .slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext)\n .map((line: string) => snipLine(line, 0));\n}\n\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\nexport function stripUrlQueryAndFragment(urlPath: string): string {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\nexport function checkOrSetAlreadyCaught(exception: unknown): boolean {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && (exception as any).__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception as { [key: string]: unknown }, '__sentry_captured__', true);\n } catch (err) {\n // `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/node.d.ts b/node_modules/@sentry/utils/esm/node.d.ts new file mode 100644 index 000000000..b34622b91 --- /dev/null +++ b/node_modules/@sentry/utils/esm/node.d.ts @@ -0,0 +1,31 @@ +/** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ +/** + * Checks whether we're in the Node.js or Browser environment + * + * @returns Answer to given question + */ +export declare function isNodeEnv(): boolean; +/** + * Requires a module which is protected against bundler minification. + * + * @param request The module path to resolve + */ +export declare function dynamicRequire(mod: any, request: string): any; +/** + * Helper for dynamically loading module that should work with linked dependencies. + * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))` + * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during + * build time. `require.resolve` is also not available in any other way, so we cannot create, + * a fake helper like we do with `dynamicRequire`. + * + * We always prefer to use local package, thus the value is not returned early from each `try/catch` block. + * That is to mimic the behavior of `require.resolve` exactly. + * + * @param moduleName module name to require + * @returns possibly required module + */ +export declare function loadModule(moduleName: string): T | undefined; +//# sourceMappingURL=node.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/node.d.ts.map b/node_modules/@sentry/utils/esm/node.d.ts.map new file mode 100644 index 000000000..4cd40cd2d --- /dev/null +++ b/node_modules/@sentry/utils/esm/node.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;;GAIG;AACH,wBAAgB,SAAS,IAAI,OAAO,CAOnC;AAED;;;;GAIG;AAEH,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,GAAG,GAAG,CAG7D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAiB/D"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/node.js b/node_modules/@sentry/utils/esm/node.js new file mode 100644 index 000000000..b9c17fcde --- /dev/null +++ b/node_modules/@sentry/utils/esm/node.js @@ -0,0 +1,57 @@ +/** + * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something, + * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere. + */ +import { isBrowserBundle } from './env'; +/** + * Checks whether we're in the Node.js or Browser environment + * + * @returns Answer to given question + */ +export function isNodeEnv() { + // explicitly check for browser bundles as those can be optimized statically + // by terser/rollup. + return (!isBrowserBundle() && + Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]'); +} +/** + * Requires a module which is protected against bundler minification. + * + * @param request The module path to resolve + */ +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any +export function dynamicRequire(mod, request) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + return mod.require(request); +} +/** + * Helper for dynamically loading module that should work with linked dependencies. + * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))` + * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during + * build time. `require.resolve` is also not available in any other way, so we cannot create, + * a fake helper like we do with `dynamicRequire`. + * + * We always prefer to use local package, thus the value is not returned early from each `try/catch` block. + * That is to mimic the behavior of `require.resolve` exactly. + * + * @param moduleName module name to require + * @returns possibly required module + */ +export function loadModule(moduleName) { + var mod; + try { + mod = dynamicRequire(module, moduleName); + } + catch (e) { + // no-empty + } + try { + var cwd = dynamicRequire(module, 'process').cwd; + mod = dynamicRequire(module, cwd() + "/node_modules/" + moduleName); + } + catch (e) { + // no-empty + } + return mod; +} +//# sourceMappingURL=node.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/node.js.map b/node_modules/@sentry/utils/esm/node.js.map new file mode 100644 index 000000000..3d5ec9b08 --- /dev/null +++ b/node_modules/@sentry/utils/esm/node.js.map @@ -0,0 +1 @@ +{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAExC;;;;GAIG;AACH,MAAM,UAAU,SAAS;IACvB,4EAA4E;IAC5E,oBAAoB;IACpB,OAAO,CACL,CAAC,eAAe,EAAE;QAClB,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,kBAAkB,CACpG,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,iHAAiH;AACjH,MAAM,UAAU,cAAc,CAAC,GAAQ,EAAE,OAAe;IACtD,sEAAsE;IACtE,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC9B,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,UAAU,CAAI,UAAkB;IAC9C,IAAI,GAAkB,CAAC;IAEvB,IAAI;QACF,GAAG,GAAG,cAAc,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;KAC1C;IAAC,OAAO,CAAC,EAAE;QACV,WAAW;KACZ;IAED,IAAI;QACM,IAAA,2CAAG,CAAuC;QAClD,GAAG,GAAG,cAAc,CAAC,MAAM,EAAK,GAAG,EAAE,sBAAiB,UAAY,CAAM,CAAC;KAC1E;IAAC,OAAO,CAAC,EAAE;QACV,WAAW;KACZ;IAED,OAAO,GAAG,CAAC;AACb,CAAC","sourcesContent":["/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\nimport { isBrowserBundle } from './env';\n\n/**\n * Checks whether we're in the Node.js or Browser environment\n *\n * @returns Answer to given question\n */\nexport function isNodeEnv(): boolean {\n // explicitly check for browser bundles as those can be optimized statically\n // by terser/rollup.\n return (\n !isBrowserBundle() &&\n Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]'\n );\n}\n\n/**\n * Requires a module which is protected against bundler minification.\n *\n * @param request The module path to resolve\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any\nexport function dynamicRequire(mod: any, request: string): any {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return mod.require(request);\n}\n\n/**\n * Helper for dynamically loading module that should work with linked dependencies.\n * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))`\n * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during\n * build time. `require.resolve` is also not available in any other way, so we cannot create,\n * a fake helper like we do with `dynamicRequire`.\n *\n * We always prefer to use local package, thus the value is not returned early from each `try/catch` block.\n * That is to mimic the behavior of `require.resolve` exactly.\n *\n * @param moduleName module name to require\n * @returns possibly required module\n */\nexport function loadModule(moduleName: string): T | undefined {\n let mod: T | undefined;\n\n try {\n mod = dynamicRequire(module, moduleName);\n } catch (e) {\n // no-empty\n }\n\n try {\n const { cwd } = dynamicRequire(module, 'process');\n mod = dynamicRequire(module, `${cwd()}/node_modules/${moduleName}`) as T;\n } catch (e) {\n // no-empty\n }\n\n return mod;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/object.d.ts b/node_modules/@sentry/utils/esm/object.d.ts new file mode 100644 index 000000000..b73bd5a60 --- /dev/null +++ b/node_modules/@sentry/utils/esm/object.d.ts @@ -0,0 +1,99 @@ +import { WrappedFunction } from '@sentry/types'; +import { MemoFunc } from './memo'; +/** + * Replace a method in an object with a wrapped version of itself. + * + * @param source An object that contains a method to be wrapped. + * @param name The name of the method to be wrapped. + * @param replacementFactory A higher-order function that takes the original version of the given method and returns a + * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to + * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`. + * @returns void + */ +export declare function fill(source: { + [key: string]: any; +}, name: string, replacementFactory: (...args: any[]) => any): void; +/** + * Defines a non-enumerable property on the given object. + * + * @param obj The object on which to set the property + * @param name The name of the property to be set + * @param value The value to which to set the property + */ +export declare function addNonEnumerableProperty(obj: { + [key: string]: unknown; +}, name: string, value: unknown): void; +/** + * Remembers the original function on the wrapped function and + * patches up the prototype. + * + * @param wrapped the wrapper function + * @param original the original function that gets wrapped + */ +export declare function markFunctionWrapped(wrapped: WrappedFunction, original: WrappedFunction): void; +/** + * This extracts the original function if available. See + * `markFunctionWrapped` for more information. + * + * @param func the function to unwrap + * @returns the unwrapped version of the function if available. + */ +export declare function getOriginalFunction(func: WrappedFunction): WrappedFunction | undefined; +/** + * Encodes given object into url-friendly format + * + * @param object An object that contains serializable values + * @returns string Encoded + */ +export declare function urlEncode(object: { + [key: string]: any; +}): string; +/** JSDoc */ +export declare function normalizeToSize(object: { + [key: string]: any; +}, depth?: number, maxSize?: number): T; +/** + * Walks an object to perform a normalization on it + * + * @param key of object that's walked in current iteration + * @param value object to be walked + * @param depth Optional number indicating how deep should walking be performed + * @param memo Optional Memo class handling decycling + */ +export declare function walk(key: string, value: any, depth?: number, memo?: MemoFunc): any; +/** + * normalize() + * + * - Creates a copy to prevent original input mutation + * - Skip non-enumerablers + * - Calls `toJSON` if implemented + * - Removes circular references + * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format + * - Translates known global objects/Classes to a string representations + * - Takes care of Error objects serialization + * - Optionally limit depth of final output + */ +export declare function normalize(input: any, depth?: number): any; +/** + * Given any captured exception, extract its keys and create a sorted + * and truncated list that will be used inside the event message. + * eg. `Non-error exception captured with keys: foo, bar, baz` + */ +export declare function extractExceptionKeysForMessage(exception: any, maxLength?: number): string; +/** + * Given any object, return the new object with removed keys that value was `undefined`. + * Works recursively on objects and arrays. + */ +export declare function dropUndefinedKeys(val: T): T; +/** + * Ensure that something is an object. + * + * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper + * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives. + * + * @param wat The subject of the objectification + * @returns A version of `wat` which can safely be used with `Object` class methods + */ +export declare function objectify(wat: unknown): typeof Object; +//# sourceMappingURL=object.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/object.d.ts.map b/node_modules/@sentry/utils/esm/object.d.ts.map new file mode 100644 index 000000000..ae78c4ee8 --- /dev/null +++ b/node_modules/@sentry/utils/esm/object.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"object.d.ts","sourceRoot":"","sources":["../src/object.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,eAAe,EAAE,MAAM,eAAe,CAAC;AAI/D,OAAO,EAAe,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI/C;;;;;;;;;;GAUG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAAE,IAAI,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,IAAI,CAoBpH;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAO5G;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,eAAe,GAAG,IAAI,CAI7F;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,eAAe,GAAG,eAAe,GAAG,SAAS,CAEtF;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,MAAM,CAIhE;AAoGD,YAAY;AACZ,wBAAgB,eAAe,CAAC,CAAC,EAC/B,MAAM,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,EAE9B,KAAK,GAAE,MAAU,EAEjB,OAAO,GAAE,MAAmB,GAC3B,CAAC,CAQH;AA8FD;;;;;;;GAOG;AAEH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,GAAE,MAAkB,EAAE,IAAI,GAAE,QAAwB,GAAG,GAAG,CA8C5G;AAED;;;;;;;;;;;GAWG;AAEH,wBAAgB,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,GAAG,CAMzD;AAED;;;;GAIG;AAEH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,GAAG,EAAE,SAAS,GAAE,MAAW,GAAG,MAAM,CAwB7F;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAiB9C;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,MAAM,CA0BrD"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/object.js b/node_modules/@sentry/utils/esm/object.js new file mode 100644 index 000000000..f3d655f04 --- /dev/null +++ b/node_modules/@sentry/utils/esm/object.js @@ -0,0 +1,402 @@ +import { __values } from "tslib"; +import { htmlTreeAsString } from './browser'; +import { isElement, isError, isEvent, isInstanceOf, isPlainObject, isPrimitive, isSyntheticEvent } from './is'; +import { memoBuilder } from './memo'; +import { getFunctionName } from './stacktrace'; +import { truncate } from './string'; +/** + * Replace a method in an object with a wrapped version of itself. + * + * @param source An object that contains a method to be wrapped. + * @param name The name of the method to be wrapped. + * @param replacementFactory A higher-order function that takes the original version of the given method and returns a + * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to + * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`. + * @returns void + */ +export function fill(source, name, replacementFactory) { + if (!(name in source)) { + return; + } + var original = source[name]; + var wrapped = replacementFactory(original); + // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work + // otherwise it'll throw "TypeError: Object.defineProperties called on non-object" + if (typeof wrapped === 'function') { + try { + markFunctionWrapped(wrapped, original); + } + catch (_Oo) { + // This can throw if multiple fill happens on a global object like XMLHttpRequest + // Fixes https://github.com/getsentry/sentry-javascript/issues/2043 + } + } + source[name] = wrapped; +} +/** + * Defines a non-enumerable property on the given object. + * + * @param obj The object on which to set the property + * @param name The name of the property to be set + * @param value The value to which to set the property + */ +export function addNonEnumerableProperty(obj, name, value) { + Object.defineProperty(obj, name, { + // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it + value: value, + writable: true, + configurable: true, + }); +} +/** + * Remembers the original function on the wrapped function and + * patches up the prototype. + * + * @param wrapped the wrapper function + * @param original the original function that gets wrapped + */ +export function markFunctionWrapped(wrapped, original) { + var proto = original.prototype || {}; + wrapped.prototype = original.prototype = proto; + addNonEnumerableProperty(wrapped, '__sentry_original__', original); +} +/** + * This extracts the original function if available. See + * `markFunctionWrapped` for more information. + * + * @param func the function to unwrap + * @returns the unwrapped version of the function if available. + */ +export function getOriginalFunction(func) { + return func.__sentry_original__; +} +/** + * Encodes given object into url-friendly format + * + * @param object An object that contains serializable values + * @returns string Encoded + */ +export function urlEncode(object) { + return Object.keys(object) + .map(function (key) { return encodeURIComponent(key) + "=" + encodeURIComponent(object[key]); }) + .join('&'); +} +/** + * Transforms any object into an object literal with all its attributes + * attached to it. + * + * @param value Initial source that we have to transform in order for it to be usable by the serializer + */ +function getWalkSource(value) { + if (isError(value)) { + var error = value; + var err = { + message: error.message, + name: error.name, + stack: error.stack, + }; + for (var i in error) { + if (Object.prototype.hasOwnProperty.call(error, i)) { + err[i] = error[i]; + } + } + return err; + } + if (isEvent(value)) { + var event_1 = value; + var source = {}; + // Accessing event attributes can throw (see https://github.com/getsentry/sentry-javascript/issues/768 and + // https://github.com/getsentry/sentry-javascript/issues/838), but accessing `type` hasn't been wrapped in a + // try-catch in at least two years and no one's complained, so that's likely not an issue anymore + source.type = event_1.type; + try { + source.target = isElement(event_1.target) + ? htmlTreeAsString(event_1.target) + : Object.prototype.toString.call(event_1.target); + } + catch (_oO) { + source.target = ''; + } + try { + source.currentTarget = isElement(event_1.currentTarget) + ? htmlTreeAsString(event_1.currentTarget) + : Object.prototype.toString.call(event_1.currentTarget); + } + catch (_oO) { + source.currentTarget = ''; + } + if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) { + source.detail = event_1.detail; + } + for (var attr in event_1) { + if (Object.prototype.hasOwnProperty.call(event_1, attr)) { + source[attr] = event_1[attr]; + } + } + return source; + } + return value; +} +/** Calculates bytes size of input string */ +function utf8Length(value) { + // eslint-disable-next-line no-bitwise + return ~-encodeURI(value).split(/%..|./).length; +} +/** Calculates bytes size of input object */ +function jsonSize(value) { + return utf8Length(JSON.stringify(value)); +} +/** JSDoc */ +export function normalizeToSize(object, +// Default Node.js REPL depth +depth, +// 100kB, as 200kB is max payload size, so half sounds reasonable +maxSize) { + if (depth === void 0) { depth = 3; } + if (maxSize === void 0) { maxSize = 100 * 1024; } + var serialized = normalize(object, depth); + if (jsonSize(serialized) > maxSize) { + return normalizeToSize(object, depth - 1, maxSize); + } + return serialized; +} +/** + * Transform any non-primitive, BigInt, or Symbol-type value into a string. Acts as a no-op on strings, numbers, + * booleans, null, and undefined. + * + * @param value The value to stringify + * @returns For non-primitive, BigInt, and Symbol-type values, a string denoting the value's type, type and value, or + * type and `description` property, respectively. For non-BigInt, non-Symbol primitives, returns the original value, + * unchanged. + */ +function serializeValue(value) { + // Node.js REPL notation + if (typeof value === 'string') { + return value; + } + var type = Object.prototype.toString.call(value); + if (type === '[object Object]') { + return '[Object]'; + } + if (type === '[object Array]') { + return '[Array]'; + } + var normalized = normalizeValue(value); + return isPrimitive(normalized) ? normalized : type; +} +/** + * normalizeValue() + * + * Takes unserializable input and make it serializable friendly + * + * - translates undefined/NaN values to "[undefined]"/"[NaN]" respectively, + * - serializes Error objects + * - filter global objects + */ +function normalizeValue(value, key) { + if (key === 'domain' && value && typeof value === 'object' && value._events) { + return '[Domain]'; + } + if (key === 'domainEmitter') { + return '[DomainEmitter]'; + } + if (typeof global !== 'undefined' && value === global) { + return '[Global]'; + } + // It's safe to use `window` and `document` here in this manner, as we are asserting using `typeof` first + // which won't throw if they are not present. + // eslint-disable-next-line no-restricted-globals + if (typeof window !== 'undefined' && value === window) { + return '[Window]'; + } + // eslint-disable-next-line no-restricted-globals + if (typeof document !== 'undefined' && value === document) { + return '[Document]'; + } + // React's SyntheticEvent thingy + if (isSyntheticEvent(value)) { + return '[SyntheticEvent]'; + } + if (typeof value === 'number' && value !== value) { + return '[NaN]'; + } + if (value === void 0) { + return '[undefined]'; + } + if (typeof value === 'function') { + return "[Function: " + getFunctionName(value) + "]"; + } + // symbols and bigints are considered primitives by TS, but aren't natively JSON-serilaizable + if (typeof value === 'symbol') { + return "[" + String(value) + "]"; + } + if (typeof value === 'bigint') { + return "[BigInt: " + String(value) + "]"; + } + return value; +} +/** + * Walks an object to perform a normalization on it + * + * @param key of object that's walked in current iteration + * @param value object to be walked + * @param depth Optional number indicating how deep should walking be performed + * @param memo Optional Memo class handling decycling + */ +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types +export function walk(key, value, depth, memo) { + if (depth === void 0) { depth = +Infinity; } + if (memo === void 0) { memo = memoBuilder(); } + // If we reach the maximum depth, serialize whatever is left + if (depth === 0) { + return serializeValue(value); + } + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + // If value implements `toJSON` method, call it and return early + if (value !== null && value !== undefined && typeof value.toJSON === 'function') { + return value.toJSON(); + } + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + // If normalized value is a primitive, there are no branches left to walk, so bail out + var normalized = normalizeValue(value, key); + if (isPrimitive(normalized)) { + return normalized; + } + // Create source that we will use for the next iteration. It will either be an objectified error object (`Error` type + // with extracted key:value pairs) or the input itself. + var source = getWalkSource(value); + // Create an accumulator that will act as a parent for all future itterations of that branch + var acc = Array.isArray(value) ? [] : {}; + // If we already walked that branch, bail out, as it's circular reference + if (memo[0](value)) { + return '[Circular ~]'; + } + // Walk all keys of the source + for (var innerKey in source) { + // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration. + if (!Object.prototype.hasOwnProperty.call(source, innerKey)) { + continue; + } + // Recursively walk through all the child nodes + acc[innerKey] = walk(innerKey, source[innerKey], depth - 1, memo); + } + // Once walked through all the branches, remove the parent from memo storage + memo[1](value); + // Return accumulated values + return acc; +} +/** + * normalize() + * + * - Creates a copy to prevent original input mutation + * - Skip non-enumerablers + * - Calls `toJSON` if implemented + * - Removes circular references + * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format + * - Translates known global objects/Classes to a string representations + * - Takes care of Error objects serialization + * - Optionally limit depth of final output + */ +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types +export function normalize(input, depth) { + try { + return JSON.parse(JSON.stringify(input, function (key, value) { return walk(key, value, depth); })); + } + catch (_oO) { + return '**non-serializable**'; + } +} +/** + * Given any captured exception, extract its keys and create a sorted + * and truncated list that will be used inside the event message. + * eg. `Non-error exception captured with keys: foo, bar, baz` + */ +// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types +export function extractExceptionKeysForMessage(exception, maxLength) { + if (maxLength === void 0) { maxLength = 40; } + var keys = Object.keys(getWalkSource(exception)); + keys.sort(); + if (!keys.length) { + return '[object has no keys]'; + } + if (keys[0].length >= maxLength) { + return truncate(keys[0], maxLength); + } + for (var includedKeys = keys.length; includedKeys > 0; includedKeys--) { + var serialized = keys.slice(0, includedKeys).join(', '); + if (serialized.length > maxLength) { + continue; + } + if (includedKeys === keys.length) { + return serialized; + } + return truncate(serialized, maxLength); + } + return ''; +} +/** + * Given any object, return the new object with removed keys that value was `undefined`. + * Works recursively on objects and arrays. + */ +export function dropUndefinedKeys(val) { + var e_1, _a; + if (isPlainObject(val)) { + var obj = val; + var rv = {}; + try { + for (var _b = __values(Object.keys(obj)), _c = _b.next(); !_c.done; _c = _b.next()) { + var key = _c.value; + if (typeof obj[key] !== 'undefined') { + rv[key] = dropUndefinedKeys(obj[key]); + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_c && !_c.done && (_a = _b.return)) _a.call(_b); + } + finally { if (e_1) throw e_1.error; } + } + return rv; + } + if (Array.isArray(val)) { + return val.map(dropUndefinedKeys); + } + return val; +} +/** + * Ensure that something is an object. + * + * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper + * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives. + * + * @param wat The subject of the objectification + * @returns A version of `wat` which can safely be used with `Object` class methods + */ +export function objectify(wat) { + var objectified; + switch (true) { + case wat === undefined || wat === null: + objectified = new String(wat); + break; + // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason + // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as + // an object in order to wrap it. + case typeof wat === 'symbol' || typeof wat === 'bigint': + objectified = Object(wat); + break; + // this will catch the remaining primitives: `String`, `Number`, and `Boolean` + case isPrimitive(wat): + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access + objectified = new wat.constructor(wat); + break; + // by process of elimination, at this point we know that `wat` must already be an object + default: + objectified = wat; + break; + } + return objectified; +} +//# sourceMappingURL=object.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/object.js.map b/node_modules/@sentry/utils/esm/object.js.map new file mode 100644 index 000000000..83c11ebd3 --- /dev/null +++ b/node_modules/@sentry/utils/esm/object.js.map @@ -0,0 +1 @@ +{"version":3,"file":"object.js","sourceRoot":"","sources":["../src/object.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable max-lines */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ExtendedError, WrappedFunction } from '@sentry/types';\n\nimport { htmlTreeAsString } from './browser';\nimport { isElement, isError, isEvent, isInstanceOf, isPlainObject, isPrimitive, isSyntheticEvent } from './is';\nimport { memoBuilder, MemoFunc } from './memo';\nimport { getFunctionName } from './stacktrace';\nimport { truncate } from './string';\n\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, )` or `origMethod.apply(this, [])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\nexport function fill(source: { [key: string]: any }, name: string, replacementFactory: (...args: any[]) => any): void {\n if (!(name in source)) {\n return;\n }\n\n const original = source[name] as () => any;\n const wrapped = replacementFactory(original) as WrappedFunction;\n\n // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n if (typeof wrapped === 'function') {\n try {\n markFunctionWrapped(wrapped, original);\n } catch (_Oo) {\n // This can throw if multiple fill happens on a global object like XMLHttpRequest\n // Fixes https://github.com/getsentry/sentry-javascript/issues/2043\n }\n }\n\n source[name] = wrapped;\n}\n\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\nexport function addNonEnumerableProperty(obj: { [key: string]: unknown }, name: string, value: unknown): void {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true,\n });\n}\n\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\nexport function markFunctionWrapped(wrapped: WrappedFunction, original: WrappedFunction): void {\n const proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n}\n\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\nexport function getOriginalFunction(func: WrappedFunction): WrappedFunction | undefined {\n return func.__sentry_original__;\n}\n\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\nexport function urlEncode(object: { [key: string]: any }): string {\n return Object.keys(object)\n .map(key => `${encodeURIComponent(key)}=${encodeURIComponent(object[key])}`)\n .join('&');\n}\n\n/**\n * Transforms any object into an object literal with all its attributes\n * attached to it.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n */\nfunction getWalkSource(value: any): {\n [key: string]: any;\n} {\n if (isError(value)) {\n const error = value as ExtendedError;\n const err: {\n [key: string]: any;\n stack: string | undefined;\n message: string;\n name: string;\n } = {\n message: error.message,\n name: error.name,\n stack: error.stack,\n };\n\n for (const i in error) {\n if (Object.prototype.hasOwnProperty.call(error, i)) {\n err[i] = error[i];\n }\n }\n\n return err;\n }\n\n if (isEvent(value)) {\n /**\n * Event-like interface that's usable in browser and node\n */\n interface SimpleEvent {\n [key: string]: unknown;\n type: string;\n target?: unknown;\n currentTarget?: unknown;\n }\n\n const event = value as unknown as SimpleEvent;\n\n const source: {\n [key: string]: any;\n } = {};\n\n // Accessing event attributes can throw (see https://github.com/getsentry/sentry-javascript/issues/768 and\n // https://github.com/getsentry/sentry-javascript/issues/838), but accessing `type` hasn't been wrapped in a\n // try-catch in at least two years and no one's complained, so that's likely not an issue anymore\n source.type = event.type;\n\n try {\n source.target = isElement(event.target)\n ? htmlTreeAsString(event.target)\n : Object.prototype.toString.call(event.target);\n } catch (_oO) {\n source.target = '';\n }\n\n try {\n source.currentTarget = isElement(event.currentTarget)\n ? htmlTreeAsString(event.currentTarget)\n : Object.prototype.toString.call(event.currentTarget);\n } catch (_oO) {\n source.currentTarget = '';\n }\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n source.detail = event.detail;\n }\n\n for (const attr in event) {\n if (Object.prototype.hasOwnProperty.call(event, attr)) {\n source[attr] = event[attr];\n }\n }\n\n return source;\n }\n\n return value as {\n [key: string]: any;\n };\n}\n\n/** Calculates bytes size of input string */\nfunction utf8Length(value: string): number {\n // eslint-disable-next-line no-bitwise\n return ~-encodeURI(value).split(/%..|./).length;\n}\n\n/** Calculates bytes size of input object */\nfunction jsonSize(value: any): number {\n return utf8Length(JSON.stringify(value));\n}\n\n/** JSDoc */\nexport function normalizeToSize(\n object: { [key: string]: any },\n // Default Node.js REPL depth\n depth: number = 3,\n // 100kB, as 200kB is max payload size, so half sounds reasonable\n maxSize: number = 100 * 1024,\n): T {\n const serialized = normalize(object, depth);\n\n if (jsonSize(serialized) > maxSize) {\n return normalizeToSize(object, depth - 1, maxSize);\n }\n\n return serialized as T;\n}\n\n/**\n * Transform any non-primitive, BigInt, or Symbol-type value into a string. Acts as a no-op on strings, numbers,\n * booleans, null, and undefined.\n *\n * @param value The value to stringify\n * @returns For non-primitive, BigInt, and Symbol-type values, a string denoting the value's type, type and value, or\n * type and `description` property, respectively. For non-BigInt, non-Symbol primitives, returns the original value,\n * unchanged.\n */\nfunction serializeValue(value: any): any {\n // Node.js REPL notation\n if (typeof value === 'string') {\n return value;\n }\n\n const type = Object.prototype.toString.call(value);\n if (type === '[object Object]') {\n return '[Object]';\n }\n if (type === '[object Array]') {\n return '[Array]';\n }\n\n const normalized = normalizeValue(value);\n return isPrimitive(normalized) ? normalized : type;\n}\n\n/**\n * normalizeValue()\n *\n * Takes unserializable input and make it serializable friendly\n *\n * - translates undefined/NaN values to \"[undefined]\"/\"[NaN]\" respectively,\n * - serializes Error objects\n * - filter global objects\n */\nfunction normalizeValue(value: T, key?: any): T | string {\n if (key === 'domain' && value && typeof value === 'object' && (value as unknown as { _events: any })._events) {\n return '[Domain]';\n }\n\n if (key === 'domainEmitter') {\n return '[DomainEmitter]';\n }\n\n if (typeof (global as any) !== 'undefined' && (value as unknown) === global) {\n return '[Global]';\n }\n\n // It's safe to use `window` and `document` here in this manner, as we are asserting using `typeof` first\n // which won't throw if they are not present.\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof (window as any) !== 'undefined' && (value as unknown) === window) {\n return '[Window]';\n }\n\n // eslint-disable-next-line no-restricted-globals\n if (typeof (document as any) !== 'undefined' && (value as unknown) === document) {\n return '[Document]';\n }\n\n // React's SyntheticEvent thingy\n if (isSyntheticEvent(value)) {\n return '[SyntheticEvent]';\n }\n\n if (typeof value === 'number' && value !== value) {\n return '[NaN]';\n }\n\n if (value === void 0) {\n return '[undefined]';\n }\n\n if (typeof value === 'function') {\n return `[Function: ${getFunctionName(value)}]`;\n }\n\n // symbols and bigints are considered primitives by TS, but aren't natively JSON-serilaizable\n\n if (typeof value === 'symbol') {\n return `[${String(value)}]`;\n }\n\n if (typeof value === 'bigint') {\n return `[BigInt: ${String(value)}]`;\n }\n\n return value;\n}\n\n/**\n * Walks an object to perform a normalization on it\n *\n * @param key of object that's walked in current iteration\n * @param value object to be walked\n * @param depth Optional number indicating how deep should walking be performed\n * @param memo Optional Memo class handling decycling\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function walk(key: string, value: any, depth: number = +Infinity, memo: MemoFunc = memoBuilder()): any {\n // If we reach the maximum depth, serialize whatever is left\n if (depth === 0) {\n return serializeValue(value);\n }\n\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // If value implements `toJSON` method, call it and return early\n if (value !== null && value !== undefined && typeof value.toJSON === 'function') {\n return value.toJSON();\n }\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n // If normalized value is a primitive, there are no branches left to walk, so bail out\n const normalized = normalizeValue(value, key);\n if (isPrimitive(normalized)) {\n return normalized;\n }\n\n // Create source that we will use for the next iteration. It will either be an objectified error object (`Error` type\n // with extracted key:value pairs) or the input itself.\n const source = getWalkSource(value);\n\n // Create an accumulator that will act as a parent for all future itterations of that branch\n const acc = Array.isArray(value) ? [] : {};\n\n // If we already walked that branch, bail out, as it's circular reference\n if (memo[0](value)) {\n return '[Circular ~]';\n }\n\n // Walk all keys of the source\n for (const innerKey in source) {\n // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration.\n if (!Object.prototype.hasOwnProperty.call(source, innerKey)) {\n continue;\n }\n // Recursively walk through all the child nodes\n (acc as { [key: string]: any })[innerKey] = walk(innerKey, source[innerKey], depth - 1, memo);\n }\n\n // Once walked through all the branches, remove the parent from memo storage\n memo[1](value);\n\n // Return accumulated values\n return acc;\n}\n\n/**\n * normalize()\n *\n * - Creates a copy to prevent original input mutation\n * - Skip non-enumerablers\n * - Calls `toJSON` if implemented\n * - Removes circular references\n * - Translates non-serializeable values (undefined/NaN/Functions) to serializable format\n * - Translates known global objects/Classes to a string representations\n * - Takes care of Error objects serialization\n * - Optionally limit depth of final output\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function normalize(input: any, depth?: number): any {\n try {\n return JSON.parse(JSON.stringify(input, (key: string, value: any) => walk(key, value, depth)));\n } catch (_oO) {\n return '**non-serializable**';\n }\n}\n\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function extractExceptionKeysForMessage(exception: any, maxLength: number = 40): string {\n const keys = Object.keys(getWalkSource(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n const serialized = keys.slice(0, includedKeys).join(', ');\n if (serialized.length > maxLength) {\n continue;\n }\n if (includedKeys === keys.length) {\n return serialized;\n }\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n\n/**\n * Given any object, return the new object with removed keys that value was `undefined`.\n * Works recursively on objects and arrays.\n */\nexport function dropUndefinedKeys(val: T): T {\n if (isPlainObject(val)) {\n const obj = val as { [key: string]: any };\n const rv: { [key: string]: any } = {};\n for (const key of Object.keys(obj)) {\n if (typeof obj[key] !== 'undefined') {\n rv[key] = dropUndefinedKeys(obj[key]);\n }\n }\n return rv as T;\n }\n\n if (Array.isArray(val)) {\n return (val as any[]).map(dropUndefinedKeys) as any;\n }\n\n return val;\n}\n\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\nexport function objectify(wat: unknown): typeof Object {\n let objectified;\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n case typeof wat === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new (wat as any).constructor(wat);\n break;\n\n // by process of elimination, at this point we know that `wat` must already be an object\n default:\n objectified = wat;\n break;\n }\n return objectified;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/path.d.ts b/node_modules/@sentry/utils/esm/path.d.ts new file mode 100644 index 000000000..74faee965 --- /dev/null +++ b/node_modules/@sentry/utils/esm/path.d.ts @@ -0,0 +1,15 @@ +/** JSDoc */ +export declare function resolve(...args: string[]): string; +/** JSDoc */ +export declare function relative(from: string, to: string): string; +/** JSDoc */ +export declare function normalizePath(path: string): string; +/** JSDoc */ +export declare function isAbsolute(path: string): boolean; +/** JSDoc */ +export declare function join(...args: string[]): string; +/** JSDoc */ +export declare function dirname(path: string): string; +/** JSDoc */ +export declare function basename(path: string, ext?: string): string; +//# sourceMappingURL=path.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/path.d.ts.map b/node_modules/@sentry/utils/esm/path.d.ts.map new file mode 100644 index 000000000..e1acc372f --- /dev/null +++ b/node_modules/@sentry/utils/esm/path.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../src/path.ts"],"names":[],"mappings":"AA4CA,YAAY;AACZ,wBAAgB,OAAO,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CA0BjD;AA0BD,YAAY;AACZ,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CA0BzD;AAID,YAAY;AACZ,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAkBlD;AAGD,YAAY;AACZ,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEhD;AAGD,YAAY;AACZ,wBAAgB,IAAI,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAE9C;AAED,YAAY;AACZ,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAgB5C;AAED,YAAY;AACZ,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAM3D"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/path.js b/node_modules/@sentry/utils/esm/path.js new file mode 100644 index 000000000..ae5e0a1aa --- /dev/null +++ b/node_modules/@sentry/utils/esm/path.js @@ -0,0 +1,162 @@ +// Slightly modified (no IE8 support, ES6) and transcribed to TypeScript +// https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/master/src/es6/path.js +/** JSDoc */ +function normalizeArray(parts, allowAboveRoot) { + // if the path tries to go above the root, `up` ends up > 0 + var up = 0; + for (var i = parts.length - 1; i >= 0; i--) { + var last = parts[i]; + if (last === '.') { + parts.splice(i, 1); + } + else if (last === '..') { + parts.splice(i, 1); + // eslint-disable-next-line no-plusplus + up++; + } + else if (up) { + parts.splice(i, 1); + // eslint-disable-next-line no-plusplus + up--; + } + } + // if the path is allowed to go above the root, restore leading ..s + if (allowAboveRoot) { + // eslint-disable-next-line no-plusplus + for (; up--; up) { + parts.unshift('..'); + } + } + return parts; +} +// Split a filename into [root, dir, basename, ext], unix version +// 'root' is just a slash, or nothing. +var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/; +/** JSDoc */ +function splitPath(filename) { + var parts = splitPathRe.exec(filename); + return parts ? parts.slice(1) : []; +} +// path.resolve([from ...], to) +// posix version +/** JSDoc */ +export function resolve() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + var resolvedPath = ''; + var resolvedAbsolute = false; + for (var i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) { + var path = i >= 0 ? args[i] : '/'; + // Skip empty entries + if (!path) { + continue; + } + resolvedPath = path + "/" + resolvedPath; + resolvedAbsolute = path.charAt(0) === '/'; + } + // At this point the path should be resolved to a full absolute path, but + // handle relative paths to be safe (might happen when process.cwd() fails) + // Normalize the path + resolvedPath = normalizeArray(resolvedPath.split('/').filter(function (p) { return !!p; }), !resolvedAbsolute).join('/'); + return (resolvedAbsolute ? '/' : '') + resolvedPath || '.'; +} +/** JSDoc */ +function trim(arr) { + var start = 0; + for (; start < arr.length; start++) { + if (arr[start] !== '') { + break; + } + } + var end = arr.length - 1; + for (; end >= 0; end--) { + if (arr[end] !== '') { + break; + } + } + if (start > end) { + return []; + } + return arr.slice(start, end - start + 1); +} +// path.relative(from, to) +// posix version +/** JSDoc */ +export function relative(from, to) { + /* eslint-disable no-param-reassign */ + from = resolve(from).substr(1); + to = resolve(to).substr(1); + /* eslint-enable no-param-reassign */ + var fromParts = trim(from.split('/')); + var toParts = trim(to.split('/')); + var length = Math.min(fromParts.length, toParts.length); + var samePartsLength = length; + for (var i = 0; i < length; i++) { + if (fromParts[i] !== toParts[i]) { + samePartsLength = i; + break; + } + } + var outputParts = []; + for (var i = samePartsLength; i < fromParts.length; i++) { + outputParts.push('..'); + } + outputParts = outputParts.concat(toParts.slice(samePartsLength)); + return outputParts.join('/'); +} +// path.normalize(path) +// posix version +/** JSDoc */ +export function normalizePath(path) { + var isPathAbsolute = isAbsolute(path); + var trailingSlash = path.substr(-1) === '/'; + // Normalize the path + var normalizedPath = normalizeArray(path.split('/').filter(function (p) { return !!p; }), !isPathAbsolute).join('/'); + if (!normalizedPath && !isPathAbsolute) { + normalizedPath = '.'; + } + if (normalizedPath && trailingSlash) { + normalizedPath += '/'; + } + return (isPathAbsolute ? '/' : '') + normalizedPath; +} +// posix version +/** JSDoc */ +export function isAbsolute(path) { + return path.charAt(0) === '/'; +} +// posix version +/** JSDoc */ +export function join() { + var args = []; + for (var _i = 0; _i < arguments.length; _i++) { + args[_i] = arguments[_i]; + } + return normalizePath(args.join('/')); +} +/** JSDoc */ +export function dirname(path) { + var result = splitPath(path); + var root = result[0]; + var dir = result[1]; + if (!root && !dir) { + // No dirname whatsoever + return '.'; + } + if (dir) { + // It has a dirname, strip trailing slash + dir = dir.substr(0, dir.length - 1); + } + return root + dir; +} +/** JSDoc */ +export function basename(path, ext) { + var f = splitPath(path)[2]; + if (ext && f.substr(ext.length * -1) === ext) { + f = f.substr(0, f.length - ext.length); + } + return f; +} +//# sourceMappingURL=path.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/path.js.map b/node_modules/@sentry/utils/esm/path.js.map new file mode 100644 index 000000000..74c5fb455 --- /dev/null +++ b/node_modules/@sentry/utils/esm/path.js.map @@ -0,0 +1 @@ +{"version":3,"file":"path.js","sourceRoot":"","sources":["../src/path.ts"],"names":[],"mappings":"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","sourcesContent":["// Slightly modified (no IE8 support, ES6) and transcribed to TypeScript\n// https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/master/src/es6/path.js\n\n/** JSDoc */\nfunction normalizeArray(parts: string[], allowAboveRoot?: boolean): string[] {\n // if the path tries to go above the root, `up` ends up > 0\n let up = 0;\n for (let i = parts.length - 1; i >= 0; i--) {\n const last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n // eslint-disable-next-line no-plusplus\n up++;\n } else if (up) {\n parts.splice(i, 1);\n // eslint-disable-next-line no-plusplus\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n // eslint-disable-next-line no-plusplus\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// Split a filename into [root, dir, basename, ext], unix version\n// 'root' is just a slash, or nothing.\nconst splitPathRe = /^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^/]+?|)(\\.[^./]*|))(?:[/]*)$/;\n/** JSDoc */\nfunction splitPath(filename: string): string[] {\n const parts = splitPathRe.exec(filename);\n return parts ? parts.slice(1) : [];\n}\n\n// path.resolve([from ...], to)\n// posix version\n/** JSDoc */\nexport function resolve(...args: string[]): string {\n let resolvedPath = '';\n let resolvedAbsolute = false;\n\n for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n const path = i >= 0 ? args[i] : '/';\n\n // Skip empty entries\n if (!path) {\n continue;\n }\n\n resolvedPath = `${path}/${resolvedPath}`;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(\n resolvedPath.split('/').filter(p => !!p),\n !resolvedAbsolute,\n ).join('/');\n\n return (resolvedAbsolute ? '/' : '') + resolvedPath || '.';\n}\n\n/** JSDoc */\nfunction trim(arr: string[]): string[] {\n let start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') {\n break;\n }\n }\n\n let end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') {\n break;\n }\n }\n\n if (start > end) {\n return [];\n }\n return arr.slice(start, end - start + 1);\n}\n\n// path.relative(from, to)\n// posix version\n/** JSDoc */\nexport function relative(from: string, to: string): string {\n /* eslint-disable no-param-reassign */\n from = resolve(from).substr(1);\n to = resolve(to).substr(1);\n /* eslint-enable no-param-reassign */\n\n const fromParts = trim(from.split('/'));\n const toParts = trim(to.split('/'));\n\n const length = Math.min(fromParts.length, toParts.length);\n let samePartsLength = length;\n for (let i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n let outputParts = [];\n for (let i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n}\n\n// path.normalize(path)\n// posix version\n/** JSDoc */\nexport function normalizePath(path: string): string {\n const isPathAbsolute = isAbsolute(path);\n const trailingSlash = path.substr(-1) === '/';\n\n // Normalize the path\n let normalizedPath = normalizeArray(\n path.split('/').filter(p => !!p),\n !isPathAbsolute,\n ).join('/');\n\n if (!normalizedPath && !isPathAbsolute) {\n normalizedPath = '.';\n }\n if (normalizedPath && trailingSlash) {\n normalizedPath += '/';\n }\n\n return (isPathAbsolute ? '/' : '') + normalizedPath;\n}\n\n// posix version\n/** JSDoc */\nexport function isAbsolute(path: string): boolean {\n return path.charAt(0) === '/';\n}\n\n// posix version\n/** JSDoc */\nexport function join(...args: string[]): string {\n return normalizePath(args.join('/'));\n}\n\n/** JSDoc */\nexport function dirname(path: string): string {\n const result = splitPath(path);\n const root = result[0];\n let dir = result[1];\n\n if (!root && !dir) {\n // No dirname whatsoever\n return '.';\n }\n\n if (dir) {\n // It has a dirname, strip trailing slash\n dir = dir.substr(0, dir.length - 1);\n }\n\n return root + dir;\n}\n\n/** JSDoc */\nexport function basename(path: string, ext?: string): string {\n let f = splitPath(path)[2];\n if (ext && f.substr(ext.length * -1) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/polyfill.d.ts b/node_modules/@sentry/utils/esm/polyfill.d.ts new file mode 100644 index 000000000..80e2f3c7f --- /dev/null +++ b/node_modules/@sentry/utils/esm/polyfill.d.ts @@ -0,0 +1,2 @@ +export declare const setPrototypeOf: (o: any, proto: object | null) => any; +//# sourceMappingURL=polyfill.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/polyfill.d.ts.map b/node_modules/@sentry/utils/esm/polyfill.d.ts.map new file mode 100644 index 000000000..f2ec1f026 --- /dev/null +++ b/node_modules/@sentry/utils/esm/polyfill.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["../src/polyfill.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,uCACmE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/polyfill.js b/node_modules/@sentry/utils/esm/polyfill.js new file mode 100644 index 000000000..a7167d516 --- /dev/null +++ b/node_modules/@sentry/utils/esm/polyfill.js @@ -0,0 +1,24 @@ +export var setPrototypeOf = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties); +/** + * setPrototypeOf polyfill using __proto__ + */ +// eslint-disable-next-line @typescript-eslint/ban-types +function setProtoOf(obj, proto) { + // @ts-ignore __proto__ does not exist on obj + obj.__proto__ = proto; + return obj; +} +/** + * setPrototypeOf polyfill using mixin + */ +// eslint-disable-next-line @typescript-eslint/ban-types +function mixinProperties(obj, proto) { + for (var prop in proto) { + if (!Object.prototype.hasOwnProperty.call(obj, prop)) { + // @ts-ignore typescript complains about indexing so we remove + obj[prop] = proto[prop]; + } + } + return obj; +} +//# sourceMappingURL=polyfill.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/polyfill.js.map b/node_modules/@sentry/utils/esm/polyfill.js.map new file mode 100644 index 000000000..b3ad1d666 --- /dev/null +++ b/node_modules/@sentry/utils/esm/polyfill.js.map @@ -0,0 +1 @@ +{"version":3,"file":"polyfill.js","sourceRoot":"","sources":["../src/polyfill.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,cAAc,GACzB,MAAM,CAAC,cAAc,IAAI,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;AAE/F;;GAEG;AACH,wDAAwD;AACxD,SAAS,UAAU,CAAiC,GAAY,EAAE,KAAa;IAC7E,6CAA6C;IAC7C,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC;IACtB,OAAO,GAAuB,CAAC;AACjC,CAAC;AAED;;GAEG;AACH,wDAAwD;AACxD,SAAS,eAAe,CAAiC,GAAY,EAAE,KAAa;IAClF,KAAK,IAAM,IAAI,IAAI,KAAK,EAAE;QACxB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE;YACpD,8DAA8D;YAC9D,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;SACzB;KACF;IAED,OAAO,GAAuB,CAAC;AACjC,CAAC","sourcesContent":["export const setPrototypeOf =\n Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties);\n\n/**\n * setPrototypeOf polyfill using __proto__\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction setProtoOf(obj: TTarget, proto: TProto): TTarget & TProto {\n // @ts-ignore __proto__ does not exist on obj\n obj.__proto__ = proto;\n return obj as TTarget & TProto;\n}\n\n/**\n * setPrototypeOf polyfill using mixin\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction mixinProperties(obj: TTarget, proto: TProto): TTarget & TProto {\n for (const prop in proto) {\n if (!Object.prototype.hasOwnProperty.call(obj, prop)) {\n // @ts-ignore typescript complains about indexing so we remove\n obj[prop] = proto[prop];\n }\n }\n\n return obj as TTarget & TProto;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/promisebuffer.d.ts b/node_modules/@sentry/utils/esm/promisebuffer.d.ts new file mode 100644 index 000000000..fb7b633cb --- /dev/null +++ b/node_modules/@sentry/utils/esm/promisebuffer.d.ts @@ -0,0 +1,11 @@ +export interface PromiseBuffer { + $: Array>; + add(taskProducer: () => PromiseLike): PromiseLike; + drain(timeout?: number): PromiseLike; +} +/** + * Creates an new PromiseBuffer object with the specified limit + * @param limit max number of promises that can be stored in the buffer + */ +export declare function makePromiseBuffer(limit?: number): PromiseBuffer; +//# sourceMappingURL=promisebuffer.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/promisebuffer.d.ts.map b/node_modules/@sentry/utils/esm/promisebuffer.d.ts.map new file mode 100644 index 000000000..579d65bc7 --- /dev/null +++ b/node_modules/@sentry/utils/esm/promisebuffer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"promisebuffer.d.ts","sourceRoot":"","sources":["../src/promisebuffer.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa,CAAC,CAAC;IAG9B,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACzB,GAAG,CAAC,YAAY,EAAE,MAAM,WAAW,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;IACxD,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;CAC/C;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,CA4FrE"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/promisebuffer.js b/node_modules/@sentry/utils/esm/promisebuffer.js new file mode 100644 index 000000000..44038454f --- /dev/null +++ b/node_modules/@sentry/utils/esm/promisebuffer.js @@ -0,0 +1,91 @@ +import { SentryError } from './error'; +import { rejectedSyncPromise, resolvedSyncPromise, SyncPromise } from './syncpromise'; +/** + * Creates an new PromiseBuffer object with the specified limit + * @param limit max number of promises that can be stored in the buffer + */ +export function makePromiseBuffer(limit) { + var buffer = []; + function isReady() { + return limit === undefined || buffer.length < limit; + } + /** + * Remove a promise from the queue. + * + * @param task Can be any PromiseLike + * @returns Removed promise. + */ + function remove(task) { + return buffer.splice(buffer.indexOf(task), 1)[0]; + } + /** + * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment. + * + * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task: + * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor + * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By + * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer + * limit check. + * @returns The original promise. + */ + function add(taskProducer) { + if (!isReady()) { + return rejectedSyncPromise(new SentryError('Not adding Promise due to buffer limit reached.')); + } + // start the task and add its promise to the queue + var task = taskProducer(); + if (buffer.indexOf(task) === -1) { + buffer.push(task); + } + void task + .then(function () { return remove(task); }) + // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike` + // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't + // have promises, so TS has to polyfill when down-compiling.) + .then(null, function () { + return remove(task).then(null, function () { + // We have to add another catch here because `remove()` starts a new promise chain. + }); + }); + return task; + } + /** + * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first. + * + * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or + * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to + * `true`. + * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and + * `false` otherwise + */ + function drain(timeout) { + return new SyncPromise(function (resolve, reject) { + var counter = buffer.length; + if (!counter) { + return resolve(true); + } + // wait for `timeout` ms and then resolve to `false` (if not cancelled first) + var capturedSetTimeout = setTimeout(function () { + if (timeout && timeout > 0) { + resolve(false); + } + }, timeout); + // if all promises resolve in time, cancel the timer and resolve to `true` + buffer.forEach(function (item) { + void resolvedSyncPromise(item).then(function () { + // eslint-disable-next-line no-plusplus + if (!--counter) { + clearTimeout(capturedSetTimeout); + resolve(true); + } + }, reject); + }); + }); + } + return { + $: buffer, + add: add, + drain: drain, + }; +} +//# sourceMappingURL=promisebuffer.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/promisebuffer.js.map b/node_modules/@sentry/utils/esm/promisebuffer.js.map new file mode 100644 index 000000000..7ac5e01ff --- /dev/null +++ b/node_modules/@sentry/utils/esm/promisebuffer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"promisebuffer.js","sourceRoot":"","sources":["../src/promisebuffer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAUtF;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAAI,KAAc;IACjD,IAAM,MAAM,GAA0B,EAAE,CAAC;IAEzC,SAAS,OAAO;QACd,OAAO,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACH,SAAS,MAAM,CAAC,IAAoB;QAClC,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;;;OASG;IACH,SAAS,GAAG,CAAC,YAAkC;QAC7C,IAAI,CAAC,OAAO,EAAE,EAAE;YACd,OAAO,mBAAmB,CAAC,IAAI,WAAW,CAAC,iDAAiD,CAAC,CAAC,CAAC;SAChG;QAED,kDAAkD;QAClD,IAAM,IAAI,GAAG,YAAY,EAAE,CAAC;QAC5B,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;YAC/B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACnB;QACD,KAAK,IAAI;aACN,IAAI,CAAC,cAAM,OAAA,MAAM,CAAC,IAAI,CAAC,EAAZ,CAAY,CAAC;YACzB,4GAA4G;YAC5G,gHAAgH;YAChH,6DAA6D;aAC5D,IAAI,CAAC,IAAI,EAAE;YACV,OAAA,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE;gBACtB,mFAAmF;YACrF,CAAC,CAAC;QAFF,CAEE,CACH,CAAC;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;;;;OAQG;IACH,SAAS,KAAK,CAAC,OAAgB;QAC7B,OAAO,IAAI,WAAW,CAAU,UAAC,OAAO,EAAE,MAAM;YAC9C,IAAI,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC;YAE5B,IAAI,CAAC,OAAO,EAAE;gBACZ,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;aACtB;YAED,6EAA6E;YAC7E,IAAM,kBAAkB,GAAG,UAAU,CAAC;gBACpC,IAAI,OAAO,IAAI,OAAO,GAAG,CAAC,EAAE;oBAC1B,OAAO,CAAC,KAAK,CAAC,CAAC;iBAChB;YACH,CAAC,EAAE,OAAO,CAAC,CAAC;YAEZ,0EAA0E;YAC1E,MAAM,CAAC,OAAO,CAAC,UAAA,IAAI;gBACjB,KAAK,mBAAmB,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;oBAClC,uCAAuC;oBACvC,IAAI,CAAC,EAAE,OAAO,EAAE;wBACd,YAAY,CAAC,kBAAkB,CAAC,CAAC;wBACjC,OAAO,CAAC,IAAI,CAAC,CAAC;qBACf;gBACH,CAAC,EAAE,MAAM,CAAC,CAAC;YACb,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;IAED,OAAO;QACL,CAAC,EAAE,MAAM;QACT,GAAG,KAAA;QACH,KAAK,OAAA;KACN,CAAC;AACJ,CAAC","sourcesContent":["import { SentryError } from './error';\nimport { rejectedSyncPromise, resolvedSyncPromise, SyncPromise } from './syncpromise';\n\nexport interface PromiseBuffer {\n // exposes the internal array so tests can assert on the state of it.\n // XXX: this really should not be public api.\n $: Array>;\n add(taskProducer: () => PromiseLike): PromiseLike;\n drain(timeout?: number): PromiseLike;\n}\n\n/**\n * Creates an new PromiseBuffer object with the specified limit\n * @param limit max number of promises that can be stored in the buffer\n */\nexport function makePromiseBuffer(limit?: number): PromiseBuffer {\n const buffer: Array> = [];\n\n function isReady(): boolean {\n return limit === undefined || buffer.length < limit;\n }\n\n /**\n * Remove a promise from the queue.\n *\n * @param task Can be any PromiseLike\n * @returns Removed promise.\n */\n function remove(task: PromiseLike): PromiseLike {\n return buffer.splice(buffer.indexOf(task), 1)[0];\n }\n\n /**\n * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment.\n *\n * @param taskProducer A function producing any PromiseLike; In previous versions this used to be `task:\n * PromiseLike`, but under that model, Promises were instantly created on the call-site and their executor\n * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By\n * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer\n * limit check.\n * @returns The original promise.\n */\n function add(taskProducer: () => PromiseLike): PromiseLike {\n if (!isReady()) {\n return rejectedSyncPromise(new SentryError('Not adding Promise due to buffer limit reached.'));\n }\n\n // start the task and add its promise to the queue\n const task = taskProducer();\n if (buffer.indexOf(task) === -1) {\n buffer.push(task);\n }\n void task\n .then(() => remove(task))\n // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike`\n // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't\n // have promises, so TS has to polyfill when down-compiling.)\n .then(null, () =>\n remove(task).then(null, () => {\n // We have to add another catch here because `remove()` starts a new promise chain.\n }),\n );\n return task;\n }\n\n /**\n * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or\n * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and\n * `false` otherwise\n */\n function drain(timeout?: number): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n let counter = buffer.length;\n\n if (!counter) {\n return resolve(true);\n }\n\n // wait for `timeout` ms and then resolve to `false` (if not cancelled first)\n const capturedSetTimeout = setTimeout(() => {\n if (timeout && timeout > 0) {\n resolve(false);\n }\n }, timeout);\n\n // if all promises resolve in time, cancel the timer and resolve to `true`\n buffer.forEach(item => {\n void resolvedSyncPromise(item).then(() => {\n // eslint-disable-next-line no-plusplus\n if (!--counter) {\n clearTimeout(capturedSetTimeout);\n resolve(true);\n }\n }, reject);\n });\n });\n }\n\n return {\n $: buffer,\n add,\n drain,\n };\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/severity.d.ts b/node_modules/@sentry/utils/esm/severity.d.ts new file mode 100644 index 000000000..5ce7b9da0 --- /dev/null +++ b/node_modules/@sentry/utils/esm/severity.d.ts @@ -0,0 +1,10 @@ +import { Severity } from '@sentry/types'; +import { SeverityLevel } from './enums'; +/** + * Converts a string-based level into a {@link Severity}. + * + * @param level string representation of Severity + * @returns Severity + */ +export declare function severityFromString(level: SeverityLevel | string): Severity; +//# sourceMappingURL=severity.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/severity.d.ts.map b/node_modules/@sentry/utils/esm/severity.d.ts.map new file mode 100644 index 000000000..5324c5ff3 --- /dev/null +++ b/node_modules/@sentry/utils/esm/severity.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"severity.d.ts","sourceRoot":"","sources":["../src/severity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAkB,MAAM,SAAS,CAAC;AAKxD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,GAAG,QAAQ,CAM1E"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/severity.js b/node_modules/@sentry/utils/esm/severity.js new file mode 100644 index 000000000..10fe1f351 --- /dev/null +++ b/node_modules/@sentry/utils/esm/severity.js @@ -0,0 +1,20 @@ +import { Severity } from '@sentry/types'; +import { SeverityLevels } from './enums'; +function isSupportedSeverity(level) { + return SeverityLevels.indexOf(level) !== -1; +} +/** + * Converts a string-based level into a {@link Severity}. + * + * @param level string representation of Severity + * @returns Severity + */ +export function severityFromString(level) { + if (level === 'warn') + return Severity.Warning; + if (isSupportedSeverity(level)) { + return level; + } + return Severity.Log; +} +//# sourceMappingURL=severity.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/severity.js.map b/node_modules/@sentry/utils/esm/severity.js.map new file mode 100644 index 000000000..d5b8553cb --- /dev/null +++ b/node_modules/@sentry/utils/esm/severity.js.map @@ -0,0 +1 @@ +{"version":3,"file":"severity.js","sourceRoot":"","sources":["../src/severity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAiB,cAAc,EAAE,MAAM,SAAS,CAAC;AAExD,SAAS,mBAAmB,CAAC,KAAa;IACxC,OAAO,cAAc,CAAC,OAAO,CAAC,KAAsB,CAAC,KAAK,CAAC,CAAC,CAAC;AAC/D,CAAC;AACD;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAA6B;IAC9D,IAAI,KAAK,KAAK,MAAM;QAAE,OAAO,QAAQ,CAAC,OAAO,CAAC;IAC9C,IAAI,mBAAmB,CAAC,KAAK,CAAC,EAAE;QAC9B,OAAO,KAAK,CAAC;KACd;IACD,OAAO,QAAQ,CAAC,GAAG,CAAC;AACtB,CAAC","sourcesContent":["import { Severity } from '@sentry/types';\n\nimport { SeverityLevel, SeverityLevels } from './enums';\n\nfunction isSupportedSeverity(level: string): level is Severity {\n return SeverityLevels.indexOf(level as SeverityLevel) !== -1;\n}\n/**\n * Converts a string-based level into a {@link Severity}.\n *\n * @param level string representation of Severity\n * @returns Severity\n */\nexport function severityFromString(level: SeverityLevel | string): Severity {\n if (level === 'warn') return Severity.Warning;\n if (isSupportedSeverity(level)) {\n return level;\n }\n return Severity.Log;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/stacktrace.d.ts b/node_modules/@sentry/utils/esm/stacktrace.d.ts new file mode 100644 index 000000000..6c7f77ed4 --- /dev/null +++ b/node_modules/@sentry/utils/esm/stacktrace.d.ts @@ -0,0 +1,19 @@ +import { StackFrame } from '@sentry/types'; +export declare type StackLineParser = (line: string) => StackFrame | undefined; +/** + * Creates a stack parser with the supplied line parsers + * + * StackFrames are returned in the correct order for Sentry Exception + * frames and with Sentry SDK internal frames removed from the top and bottom + * + * */ +export declare function createStackParser(...parsers: StackLineParser[]): (stack: string, skipFirst?: number) => StackFrame[]; +/** + * @hidden + */ +export declare function stripSentryFramesAndReverse(stack: StackFrame[]): StackFrame[]; +/** + * Safely extract function name from itself + */ +export declare function getFunctionName(fn: unknown): string; +//# sourceMappingURL=stacktrace.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/stacktrace.d.ts.map b/node_modules/@sentry/utils/esm/stacktrace.d.ts.map new file mode 100644 index 000000000..d2a2d70af --- /dev/null +++ b/node_modules/@sentry/utils/esm/stacktrace.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.d.ts","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,oBAAY,eAAe,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,UAAU,GAAG,SAAS,CAAC;AAEvE;;;;;;KAMK;AACL,wBAAgB,iBAAiB,CAAC,GAAG,OAAO,EAAE,eAAe,EAAE,uDAiB9D;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,CA6B7E;AAID;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAAE,EAAE,OAAO,GAAG,MAAM,CAWnD"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/stacktrace.js b/node_modules/@sentry/utils/esm/stacktrace.js new file mode 100644 index 000000000..4b2d972eb --- /dev/null +++ b/node_modules/@sentry/utils/esm/stacktrace.js @@ -0,0 +1,92 @@ +import { __assign, __values } from "tslib"; +var STACKTRACE_LIMIT = 50; +/** + * Creates a stack parser with the supplied line parsers + * + * StackFrames are returned in the correct order for Sentry Exception + * frames and with Sentry SDK internal frames removed from the top and bottom + * + * */ +export function createStackParser() { + var parsers = []; + for (var _i = 0; _i < arguments.length; _i++) { + parsers[_i] = arguments[_i]; + } + return function (stack, skipFirst) { + var e_1, _a, e_2, _b; + if (skipFirst === void 0) { skipFirst = 0; } + var frames = []; + try { + for (var _c = __values(stack.split('\n').slice(skipFirst)), _d = _c.next(); !_d.done; _d = _c.next()) { + var line = _d.value; + try { + for (var parsers_1 = (e_2 = void 0, __values(parsers)), parsers_1_1 = parsers_1.next(); !parsers_1_1.done; parsers_1_1 = parsers_1.next()) { + var parser = parsers_1_1.value; + var frame = parser(line); + if (frame) { + frames.push(frame); + break; + } + } + } + catch (e_2_1) { e_2 = { error: e_2_1 }; } + finally { + try { + if (parsers_1_1 && !parsers_1_1.done && (_b = parsers_1.return)) _b.call(parsers_1); + } + finally { if (e_2) throw e_2.error; } + } + } + } + catch (e_1_1) { e_1 = { error: e_1_1 }; } + finally { + try { + if (_d && !_d.done && (_a = _c.return)) _a.call(_c); + } + finally { if (e_1) throw e_1.error; } + } + return stripSentryFramesAndReverse(frames); + }; +} +/** + * @hidden + */ +export function stripSentryFramesAndReverse(stack) { + if (!stack.length) { + return []; + } + var localStack = stack; + var firstFrameFunction = localStack[0].function || ''; + var lastFrameFunction = localStack[localStack.length - 1].function || ''; + // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call) + if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) { + localStack = localStack.slice(1); + } + // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call) + if (lastFrameFunction.indexOf('sentryWrapped') !== -1) { + localStack = localStack.slice(0, -1); + } + // The frame where the crash happened, should be the last entry in the array + return localStack + .slice(0, STACKTRACE_LIMIT) + .map(function (frame) { return (__assign(__assign({}, frame), { filename: frame.filename || localStack[0].filename, function: frame.function || '?' })); }) + .reverse(); +} +var defaultFunctionName = ''; +/** + * Safely extract function name from itself + */ +export function getFunctionName(fn) { + try { + if (!fn || typeof fn !== 'function') { + return defaultFunctionName; + } + return fn.name || defaultFunctionName; + } + catch (e) { + // Just accessing custom props in some Selenium environments + // can cause a "Permission denied" exception (see raven-js#495). + return defaultFunctionName; + } +} +//# sourceMappingURL=stacktrace.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/stacktrace.js.map b/node_modules/@sentry/utils/esm/stacktrace.js.map new file mode 100644 index 000000000..896d51f09 --- /dev/null +++ b/node_modules/@sentry/utils/esm/stacktrace.js.map @@ -0,0 +1 @@ +{"version":3,"file":"stacktrace.js","sourceRoot":"","sources":["../src/stacktrace.ts"],"names":[],"mappings":";AAEA,IAAM,gBAAgB,GAAG,EAAE,CAAC;AAI5B;;;;;;KAMK;AACL,MAAM,UAAU,iBAAiB;IAAC,iBAA6B;SAA7B,UAA6B,EAA7B,qBAA6B,EAA7B,IAA6B;QAA7B,4BAA6B;;IAC7D,OAAO,UAAC,KAAa,EAAE,SAAqB;;QAArB,0BAAA,EAAA,aAAqB;QAC1C,IAAM,MAAM,GAAiB,EAAE,CAAC;;YAEhC,KAAmB,IAAA,KAAA,SAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA,gBAAA,4BAAE;gBAAlD,IAAM,IAAI,WAAA;;oBACb,KAAqB,IAAA,2BAAA,SAAA,OAAO,CAAA,CAAA,gCAAA,qDAAE;wBAAzB,IAAM,MAAM,oBAAA;wBACf,IAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;wBAE3B,IAAI,KAAK,EAAE;4BACT,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;4BACnB,MAAM;yBACP;qBACF;;;;;;;;;aACF;;;;;;;;;QAED,OAAO,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAmB;IAC7D,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;QACjB,OAAO,EAAE,CAAC;KACX;IAED,IAAI,UAAU,GAAG,KAAK,CAAC;IAEvB,IAAM,kBAAkB,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC;IACxD,IAAM,iBAAiB,GAAG,UAAU,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE,CAAC;IAE3E,mHAAmH;IACnH,IAAI,kBAAkB,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,IAAI,kBAAkB,CAAC,OAAO,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,EAAE;QAChH,UAAU,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KAClC;IAED,+HAA+H;IAC/H,IAAI,iBAAiB,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,EAAE;QACrD,UAAU,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;KACtC;IAED,4EAA4E;IAC5E,OAAO,UAAU;SACd,KAAK,CAAC,CAAC,EAAE,gBAAgB,CAAC;SAC1B,GAAG,CAAC,UAAA,KAAK,IAAI,OAAA,uBACT,KAAK,KACR,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,EAClD,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,GAAG,IAC/B,EAJY,CAIZ,CAAC;SACF,OAAO,EAAE,CAAC;AACf,CAAC;AAED,IAAM,mBAAmB,GAAG,aAAa,CAAC;AAE1C;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,EAAW;IACzC,IAAI;QACF,IAAI,CAAC,EAAE,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,OAAO,mBAAmB,CAAC;SAC5B;QACD,OAAO,EAAE,CAAC,IAAI,IAAI,mBAAmB,CAAC;KACvC;IAAC,OAAO,CAAC,EAAE;QACV,4DAA4D;QAC5D,gEAAgE;QAChE,OAAO,mBAAmB,CAAC;KAC5B;AACH,CAAC","sourcesContent":["import { StackFrame } from '@sentry/types';\n\nconst STACKTRACE_LIMIT = 50;\n\nexport type StackLineParser = (line: string) => StackFrame | undefined;\n\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n * */\nexport function createStackParser(...parsers: StackLineParser[]) {\n return (stack: string, skipFirst: number = 0): StackFrame[] => {\n const frames: StackFrame[] = [];\n\n for (const line of stack.split('\\n').slice(skipFirst)) {\n for (const parser of parsers) {\n const frame = parser(line);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n\n/**\n * @hidden\n */\nexport function stripSentryFramesAndReverse(stack: StackFrame[]): StackFrame[] {\n if (!stack.length) {\n return [];\n }\n\n let localStack = stack;\n\n const firstFrameFunction = localStack[0].function || '';\n const lastFrameFunction = localStack[localStack.length - 1].function || '';\n\n // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n if (firstFrameFunction.indexOf('captureMessage') !== -1 || firstFrameFunction.indexOf('captureException') !== -1) {\n localStack = localStack.slice(1);\n }\n\n // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n if (lastFrameFunction.indexOf('sentryWrapped') !== -1) {\n localStack = localStack.slice(0, -1);\n }\n\n // The frame where the crash happened, should be the last entry in the array\n return localStack\n .slice(0, STACKTRACE_LIMIT)\n .map(frame => ({\n ...frame,\n filename: frame.filename || localStack[0].filename,\n function: frame.function || '?',\n }))\n .reverse();\n}\n\nconst defaultFunctionName = '';\n\n/**\n * Safely extract function name from itself\n */\nexport function getFunctionName(fn: unknown): string {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/status.d.ts b/node_modules/@sentry/utils/esm/status.d.ts new file mode 100644 index 000000000..f76c3d98e --- /dev/null +++ b/node_modules/@sentry/utils/esm/status.d.ts @@ -0,0 +1,9 @@ +import { EventStatus } from '@sentry/types'; +/** + * Converts an HTTP status code to sentry status {@link EventStatus}. + * + * @param code number HTTP status code + * @returns EventStatus + */ +export declare function eventStatusFromHttpCode(code: number): EventStatus; +//# sourceMappingURL=status.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/status.d.ts.map b/node_modules/@sentry/utils/esm/status.d.ts.map new file mode 100644 index 000000000..c74f727a0 --- /dev/null +++ b/node_modules/@sentry/utils/esm/status.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAkBjE"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/status.js b/node_modules/@sentry/utils/esm/status.js new file mode 100644 index 000000000..d538ed8fa --- /dev/null +++ b/node_modules/@sentry/utils/esm/status.js @@ -0,0 +1,22 @@ +/** + * Converts an HTTP status code to sentry status {@link EventStatus}. + * + * @param code number HTTP status code + * @returns EventStatus + */ +export function eventStatusFromHttpCode(code) { + if (code >= 200 && code < 300) { + return 'success'; + } + if (code === 429) { + return 'rate_limit'; + } + if (code >= 400 && code < 500) { + return 'invalid'; + } + if (code >= 500) { + return 'failed'; + } + return 'unknown'; +} +//# sourceMappingURL=status.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/status.js.map b/node_modules/@sentry/utils/esm/status.js.map new file mode 100644 index 000000000..7e45c629a --- /dev/null +++ b/node_modules/@sentry/utils/esm/status.js.map @@ -0,0 +1 @@ +{"version":3,"file":"status.js","sourceRoot":"","sources":["../src/status.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CAAC,IAAY;IAClD,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,GAAG,GAAG,EAAE;QAC7B,OAAO,SAAS,CAAC;KAClB;IAED,IAAI,IAAI,KAAK,GAAG,EAAE;QAChB,OAAO,YAAY,CAAC;KACrB;IAED,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,GAAG,GAAG,EAAE;QAC7B,OAAO,SAAS,CAAC;KAClB;IAED,IAAI,IAAI,IAAI,GAAG,EAAE;QACf,OAAO,QAAQ,CAAC;KACjB;IAED,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["import { EventStatus } from '@sentry/types';\n/**\n * Converts an HTTP status code to sentry status {@link EventStatus}.\n *\n * @param code number HTTP status code\n * @returns EventStatus\n */\nexport function eventStatusFromHttpCode(code: number): EventStatus {\n if (code >= 200 && code < 300) {\n return 'success';\n }\n\n if (code === 429) {\n return 'rate_limit';\n }\n\n if (code >= 400 && code < 500) {\n return 'invalid';\n }\n\n if (code >= 500) {\n return 'failed';\n }\n\n return 'unknown';\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/string.d.ts b/node_modules/@sentry/utils/esm/string.d.ts new file mode 100644 index 000000000..8abc6011b --- /dev/null +++ b/node_modules/@sentry/utils/esm/string.d.ts @@ -0,0 +1,43 @@ +/** + * Truncates given string to the maximum characters count + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string (0 = unlimited) + * @returns string Encoded + */ +export declare function truncate(str: string, max?: number): string; +/** + * This is basically just `trim_line` from + * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67 + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string + * @returns string Encoded + */ +export declare function snipLine(line: string, colno: number): string; +/** + * Join values in array + * @param input array of values to be joined together + * @param delimiter string to be placed in-between values + * @returns Joined values + */ +export declare function safeJoin(input: any[], delimiter?: string): string; +/** + * Checks if the value matches a regex or includes the string + * @param value The string value to be checked against + * @param pattern Either a regex or a string that must be contained in value + */ +export declare function isMatchingPattern(value: string, pattern: RegExp | string): boolean; +/** + * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to + * `new RegExp()`. + * + * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime + * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node + * 12+). + * + * @param regexString The string to escape + * @returns An version of the string with all special regex characters escaped + */ +export declare function escapeStringForRegex(regexString: string): string; +//# sourceMappingURL=string.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/string.d.ts.map b/node_modules/@sentry/utils/esm/string.d.ts.map new file mode 100644 index 000000000..d9d08cda3 --- /dev/null +++ b/node_modules/@sentry/utils/esm/string.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../src/string.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,MAAU,GAAG,MAAM,CAK7D;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAiC5D;AAED;;;;;GAKG;AAEH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAiBjE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAYlF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAIhE"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/string.js b/node_modules/@sentry/utils/esm/string.js new file mode 100644 index 000000000..f42c9f584 --- /dev/null +++ b/node_modules/@sentry/utils/esm/string.js @@ -0,0 +1,111 @@ +import { isRegExp, isString } from './is'; +/** + * Truncates given string to the maximum characters count + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string (0 = unlimited) + * @returns string Encoded + */ +export function truncate(str, max) { + if (max === void 0) { max = 0; } + if (typeof str !== 'string' || max === 0) { + return str; + } + return str.length <= max ? str : str.substr(0, max) + "..."; +} +/** + * This is basically just `trim_line` from + * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67 + * + * @param str An object that contains serializable values + * @param max Maximum number of characters in truncated string + * @returns string Encoded + */ +export function snipLine(line, colno) { + var newLine = line; + var lineLength = newLine.length; + if (lineLength <= 150) { + return newLine; + } + if (colno > lineLength) { + // eslint-disable-next-line no-param-reassign + colno = lineLength; + } + var start = Math.max(colno - 60, 0); + if (start < 5) { + start = 0; + } + var end = Math.min(start + 140, lineLength); + if (end > lineLength - 5) { + end = lineLength; + } + if (end === lineLength) { + start = Math.max(end - 140, 0); + } + newLine = newLine.slice(start, end); + if (start > 0) { + newLine = "'{snip} " + newLine; + } + if (end < lineLength) { + newLine += ' {snip}'; + } + return newLine; +} +/** + * Join values in array + * @param input array of values to be joined together + * @param delimiter string to be placed in-between values + * @returns Joined values + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export function safeJoin(input, delimiter) { + if (!Array.isArray(input)) { + return ''; + } + var output = []; + // eslint-disable-next-line @typescript-eslint/prefer-for-of + for (var i = 0; i < input.length; i++) { + var value = input[i]; + try { + output.push(String(value)); + } + catch (e) { + output.push('[value cannot be serialized]'); + } + } + return output.join(delimiter); +} +/** + * Checks if the value matches a regex or includes the string + * @param value The string value to be checked against + * @param pattern Either a regex or a string that must be contained in value + */ +export function isMatchingPattern(value, pattern) { + if (!isString(value)) { + return false; + } + if (isRegExp(pattern)) { + return pattern.test(value); + } + if (typeof pattern === 'string') { + return value.indexOf(pattern) !== -1; + } + return false; +} +/** + * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to + * `new RegExp()`. + * + * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime + * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node + * 12+). + * + * @param regexString The string to escape + * @returns An version of the string with all special regex characters escaped + */ +export function escapeStringForRegex(regexString) { + // escape the hyphen separately so we can also replace it with a unicode literal hyphen, to avoid the problems + // discussed in https://github.com/sindresorhus/escape-string-regexp/issues/20. + return regexString.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d'); +} +//# sourceMappingURL=string.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/string.js.map b/node_modules/@sentry/utils/esm/string.js.map new file mode 100644 index 000000000..e82d20f6e --- /dev/null +++ b/node_modules/@sentry/utils/esm/string.js.map @@ -0,0 +1 @@ +{"version":3,"file":"string.js","sourceRoot":"","sources":["../src/string.ts"],"names":[],"mappings":"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","sourcesContent":["import { isRegExp, isString } from './is';\n\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\nexport function truncate(str: string, max: number = 0): string {\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n return str.length <= max ? str : `${str.substr(0, max)}...`;\n}\n\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\nexport function snipLine(line: string, colno: number): string {\n let newLine = line;\n const lineLength = newLine.length;\n if (lineLength <= 150) {\n return newLine;\n }\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n let start = Math.max(colno - 60, 0);\n if (start < 5) {\n start = 0;\n }\n\n let end = Math.min(start + 140, lineLength);\n if (end > lineLength - 5) {\n end = lineLength;\n }\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n if (start > 0) {\n newLine = `'{snip} ${newLine}`;\n }\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function safeJoin(input: any[], delimiter?: string): string {\n if (!Array.isArray(input)) {\n return '';\n }\n\n const output = [];\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < input.length; i++) {\n const value = input[i];\n try {\n output.push(String(value));\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n\n/**\n * Checks if the value matches a regex or includes the string\n * @param value The string value to be checked against\n * @param pattern Either a regex or a string that must be contained in value\n */\nexport function isMatchingPattern(value: string, pattern: RegExp | string): boolean {\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return (pattern as RegExp).test(value);\n }\n if (typeof pattern === 'string') {\n return value.indexOf(pattern) !== -1;\n }\n return false;\n}\n\n/**\n * Given a string, escape characters which have meaning in the regex grammar, such that the result is safe to feed to\n * `new RegExp()`.\n *\n * Based on https://github.com/sindresorhus/escape-string-regexp. Vendored to a) reduce the size by skipping the runtime\n * type-checking, and b) ensure it gets down-compiled for old versions of Node (the published package only supports Node\n * 12+).\n *\n * @param regexString The string to escape\n * @returns An version of the string with all special regex characters escaped\n */\nexport function escapeStringForRegex(regexString: string): string {\n // escape the hyphen separately so we can also replace it with a unicode literal hyphen, to avoid the problems\n // discussed in https://github.com/sindresorhus/escape-string-regexp/issues/20.\n return regexString.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&').replace(/-/g, '\\\\x2d');\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/supports.d.ts b/node_modules/@sentry/utils/esm/supports.d.ts new file mode 100644 index 000000000..69cd1c583 --- /dev/null +++ b/node_modules/@sentry/utils/esm/supports.d.ts @@ -0,0 +1,61 @@ +/** + * Tells whether current environment supports ErrorEvent objects + * {@link supportsErrorEvent}. + * + * @returns Answer to the given question. + */ +export declare function supportsErrorEvent(): boolean; +/** + * Tells whether current environment supports DOMError objects + * {@link supportsDOMError}. + * + * @returns Answer to the given question. + */ +export declare function supportsDOMError(): boolean; +/** + * Tells whether current environment supports DOMException objects + * {@link supportsDOMException}. + * + * @returns Answer to the given question. + */ +export declare function supportsDOMException(): boolean; +/** + * Tells whether current environment supports Fetch API + * {@link supportsFetch}. + * + * @returns Answer to the given question. + */ +export declare function supportsFetch(): boolean; +/** + * isNativeFetch checks if the given function is a native implementation of fetch() + */ +export declare function isNativeFetch(func: Function): boolean; +/** + * Tells whether current environment supports Fetch API natively + * {@link supportsNativeFetch}. + * + * @returns true if `window.fetch` is natively implemented, false otherwise + */ +export declare function supportsNativeFetch(): boolean; +/** + * Tells whether current environment supports ReportingObserver API + * {@link supportsReportingObserver}. + * + * @returns Answer to the given question. + */ +export declare function supportsReportingObserver(): boolean; +/** + * Tells whether current environment supports Referrer Policy API + * {@link supportsReferrerPolicy}. + * + * @returns Answer to the given question. + */ +export declare function supportsReferrerPolicy(): boolean; +/** + * Tells whether current environment supports History API + * {@link supportsHistory}. + * + * @returns Answer to the given question. + */ +export declare function supportsHistory(): boolean; +//# sourceMappingURL=supports.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/supports.d.ts.map b/node_modules/@sentry/utils/esm/supports.d.ts.map new file mode 100644 index 000000000..06249c914 --- /dev/null +++ b/node_modules/@sentry/utils/esm/supports.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"supports.d.ts","sourceRoot":"","sources":["../src/supports.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAO5C;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAU1C;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAO9C;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,IAAI,OAAO,CAavC;AACD;;GAEG;AAEH,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAErD;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CAoC7C;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,IAAI,OAAO,CAEnD;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,IAAI,OAAO,CAkBhD;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAazC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/supports.js b/node_modules/@sentry/utils/esm/supports.js new file mode 100644 index 000000000..38e92944a --- /dev/null +++ b/node_modules/@sentry/utils/esm/supports.js @@ -0,0 +1,171 @@ +import { isDebugBuild } from './env'; +import { getGlobalObject } from './global'; +import { logger } from './logger'; +/** + * Tells whether current environment supports ErrorEvent objects + * {@link supportsErrorEvent}. + * + * @returns Answer to the given question. + */ +export function supportsErrorEvent() { + try { + new ErrorEvent(''); + return true; + } + catch (e) { + return false; + } +} +/** + * Tells whether current environment supports DOMError objects + * {@link supportsDOMError}. + * + * @returns Answer to the given question. + */ +export function supportsDOMError() { + try { + // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError': + // 1 argument required, but only 0 present. + // @ts-ignore It really needs 1 argument, not 0. + new DOMError(''); + return true; + } + catch (e) { + return false; + } +} +/** + * Tells whether current environment supports DOMException objects + * {@link supportsDOMException}. + * + * @returns Answer to the given question. + */ +export function supportsDOMException() { + try { + new DOMException(''); + return true; + } + catch (e) { + return false; + } +} +/** + * Tells whether current environment supports Fetch API + * {@link supportsFetch}. + * + * @returns Answer to the given question. + */ +export function supportsFetch() { + if (!('fetch' in getGlobalObject())) { + return false; + } + try { + new Headers(); + new Request(''); + new Response(); + return true; + } + catch (e) { + return false; + } +} +/** + * isNativeFetch checks if the given function is a native implementation of fetch() + */ +// eslint-disable-next-line @typescript-eslint/ban-types +export function isNativeFetch(func) { + return func && /^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(func.toString()); +} +/** + * Tells whether current environment supports Fetch API natively + * {@link supportsNativeFetch}. + * + * @returns true if `window.fetch` is natively implemented, false otherwise + */ +export function supportsNativeFetch() { + if (!supportsFetch()) { + return false; + } + var global = getGlobalObject(); + // Fast path to avoid DOM I/O + // eslint-disable-next-line @typescript-eslint/unbound-method + if (isNativeFetch(global.fetch)) { + return true; + } + // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension) + // so create a "pure" iframe to see if that has native fetch + var result = false; + var doc = global.document; + // eslint-disable-next-line deprecation/deprecation + if (doc && typeof doc.createElement === "function") { + try { + var sandbox = doc.createElement('iframe'); + sandbox.hidden = true; + doc.head.appendChild(sandbox); + if (sandbox.contentWindow && sandbox.contentWindow.fetch) { + // eslint-disable-next-line @typescript-eslint/unbound-method + result = isNativeFetch(sandbox.contentWindow.fetch); + } + doc.head.removeChild(sandbox); + } + catch (err) { + if (isDebugBuild()) { + logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err); + } + } + } + return result; +} +/** + * Tells whether current environment supports ReportingObserver API + * {@link supportsReportingObserver}. + * + * @returns Answer to the given question. + */ +export function supportsReportingObserver() { + return 'ReportingObserver' in getGlobalObject(); +} +/** + * Tells whether current environment supports Referrer Policy API + * {@link supportsReferrerPolicy}. + * + * @returns Answer to the given question. + */ +export function supportsReferrerPolicy() { + // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default' + // (see https://caniuse.com/#feat=referrer-policy), + // it doesn't. And it throws an exception instead of ignoring this parameter... + // REF: https://github.com/getsentry/raven-js/issues/1233 + if (!supportsFetch()) { + return false; + } + try { + new Request('_', { + referrerPolicy: 'origin', + }); + return true; + } + catch (e) { + return false; + } +} +/** + * Tells whether current environment supports History API + * {@link supportsHistory}. + * + * @returns Answer to the given question. + */ +export function supportsHistory() { + // NOTE: in Chrome App environment, touching history.pushState, *even inside + // a try/catch block*, will cause Chrome to output an error to console.error + // borrowed from: https://github.com/angular/angular.js/pull/13945/files + var global = getGlobalObject(); + /* eslint-disable @typescript-eslint/no-unsafe-member-access */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any + var chrome = global.chrome; + var isChromePackagedApp = chrome && chrome.app && chrome.app.runtime; + /* eslint-enable @typescript-eslint/no-unsafe-member-access */ + var hasHistoryApi = 'history' in global && !!global.history.pushState && !!global.history.replaceState; + return !isChromePackagedApp && hasHistoryApi; +} +//# sourceMappingURL=supports.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/supports.js.map b/node_modules/@sentry/utils/esm/supports.js.map new file mode 100644 index 000000000..5431ca91d --- /dev/null +++ b/node_modules/@sentry/utils/esm/supports.js.map @@ -0,0 +1 @@ +{"version":3,"file":"supports.js","sourceRoot":"","sources":["../src/supports.ts"],"names":[],"mappings":"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","sourcesContent":["import { isDebugBuild } from './env';\nimport { getGlobalObject } from './global';\nimport { logger } from './logger';\n\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsErrorEvent(): boolean {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMError(): boolean {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-ignore It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsDOMException(): boolean {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsFetch(): boolean {\n if (!('fetch' in getGlobalObject())) {\n return false;\n }\n\n try {\n new Headers();\n new Request('');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function isNativeFetch(func: Function): boolean {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\nexport function supportsNativeFetch(): boolean {\n if (!supportsFetch()) {\n return false;\n }\n\n const global = getGlobalObject();\n\n // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n if (isNativeFetch(global.fetch)) {\n return true;\n }\n\n // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n let result = false;\n const doc = global.document;\n // eslint-disable-next-line deprecation/deprecation\n if (doc && typeof (doc.createElement as unknown) === `function`) {\n try {\n const sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n doc.head.removeChild(sandbox);\n } catch (err) {\n if (isDebugBuild()) {\n logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n }\n\n return result;\n}\n\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReportingObserver(): boolean {\n return 'ReportingObserver' in getGlobalObject();\n}\n\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsReferrerPolicy(): boolean {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin' as ReferrerPolicy,\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\nexport function supportsHistory(): boolean {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n const global = getGlobalObject();\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const chrome = (global as any).chrome;\n const isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n const hasHistoryApi = 'history' in global && !!global.history.pushState && !!global.history.replaceState;\n\n return !isChromePackagedApp && hasHistoryApi;\n}\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/syncpromise.d.ts b/node_modules/@sentry/utils/esm/syncpromise.d.ts new file mode 100644 index 000000000..70d130f5f --- /dev/null +++ b/node_modules/@sentry/utils/esm/syncpromise.d.ts @@ -0,0 +1,40 @@ +/** + * Creates a resolved sync promise. + * + * @param value the value to resolve the promise with + * @returns the resolved sync promise + */ +export declare function resolvedSyncPromise(value: T | PromiseLike): PromiseLike; +/** + * Creates a rejected sync promise. + * + * @param value the value to reject the promise with + * @returns the rejected sync promise + */ +export declare function rejectedSyncPromise(reason?: any): PromiseLike; +/** + * Thenable class that behaves like a Promise and follows it's interface + * but is not async internally + */ +declare class SyncPromise implements PromiseLike { + private _state; + private _handlers; + private _value; + constructor(executor: (resolve: (value?: T | PromiseLike | null) => void, reject: (reason?: any) => void) => void); + /** JSDoc */ + then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null): PromiseLike; + /** JSDoc */ + catch(onrejected?: ((reason: any) => TResult | PromiseLike) | null): PromiseLike; + /** JSDoc */ + finally(onfinally?: (() => void) | null): PromiseLike; + /** JSDoc */ + private readonly _resolve; + /** JSDoc */ + private readonly _reject; + /** JSDoc */ + private readonly _setResult; + /** JSDoc */ + private readonly _executeHandlers; +} +export { SyncPromise }; +//# sourceMappingURL=syncpromise.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/syncpromise.d.ts.map b/node_modules/@sentry/utils/esm/syncpromise.d.ts.map new file mode 100644 index 000000000..b524246c4 --- /dev/null +++ b/node_modules/@sentry/utils/esm/syncpromise.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"syncpromise.d.ts","sourceRoot":"","sources":["../src/syncpromise.ts"],"names":[],"mappings":"AAgBA;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAIhF;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,WAAW,CAAC,CAAC,CAAC,CAI3E;AAED;;;GAGG;AACH,cAAM,WAAW,CAAC,CAAC,CAAE,YAAW,WAAW,CAAC,CAAC,CAAC;IAC5C,OAAO,CAAC,MAAM,CAA0B;IACxC,OAAO,CAAC,SAAS,CAAkE;IACnF,OAAO,CAAC,MAAM,CAAM;gBAGlB,QAAQ,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,IAAI,EAAE,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,IAAI,KAAK,IAAI;IAS1G,YAAY;IACL,IAAI,CAAC,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,KAAK,EACxC,WAAW,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,GAAG,IAAI,EACrE,UAAU,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,GAAG,IAAI,GACtE,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAiCnC,YAAY;IACL,KAAK,CAAC,OAAO,GAAG,KAAK,EAC1B,UAAU,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,IAAI,GACpE,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC;IAI3B,YAAY;IACL,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,GAAG,WAAW,CAAC,OAAO,CAAC;IA+B9E,YAAY;IACZ,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAEvB;IAEF,YAAY;IACZ,OAAO,CAAC,QAAQ,CAAC,OAAO,CAEtB;IAEF,YAAY;IACZ,OAAO,CAAC,QAAQ,CAAC,UAAU,CAczB;IAEF,YAAY;IACZ,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAwB/B;CACH;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/syncpromise.js b/node_modules/@sentry/utils/esm/syncpromise.js new file mode 100644 index 000000000..db58c65a7 --- /dev/null +++ b/node_modules/@sentry/utils/esm/syncpromise.js @@ -0,0 +1,158 @@ +/* eslint-disable @typescript-eslint/explicit-function-return-type */ +/* eslint-disable @typescript-eslint/typedef */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ +/* eslint-disable @typescript-eslint/no-explicit-any */ +import { isThenable } from './is'; +/** + * Creates a resolved sync promise. + * + * @param value the value to resolve the promise with + * @returns the resolved sync promise + */ +export function resolvedSyncPromise(value) { + return new SyncPromise(function (resolve) { + resolve(value); + }); +} +/** + * Creates a rejected sync promise. + * + * @param value the value to reject the promise with + * @returns the rejected sync promise + */ +export function rejectedSyncPromise(reason) { + return new SyncPromise(function (_, reject) { + reject(reason); + }); +} +/** + * Thenable class that behaves like a Promise and follows it's interface + * but is not async internally + */ +var SyncPromise = /** @class */ (function () { + function SyncPromise(executor) { + var _this = this; + this._state = 0 /* PENDING */; + this._handlers = []; + /** JSDoc */ + this._resolve = function (value) { + _this._setResult(1 /* RESOLVED */, value); + }; + /** JSDoc */ + this._reject = function (reason) { + _this._setResult(2 /* REJECTED */, reason); + }; + /** JSDoc */ + this._setResult = function (state, value) { + if (_this._state !== 0 /* PENDING */) { + return; + } + if (isThenable(value)) { + void value.then(_this._resolve, _this._reject); + return; + } + _this._state = state; + _this._value = value; + _this._executeHandlers(); + }; + /** JSDoc */ + this._executeHandlers = function () { + if (_this._state === 0 /* PENDING */) { + return; + } + var cachedHandlers = _this._handlers.slice(); + _this._handlers = []; + cachedHandlers.forEach(function (handler) { + if (handler[0]) { + return; + } + if (_this._state === 1 /* RESOLVED */) { + // eslint-disable-next-line @typescript-eslint/no-floating-promises + handler[1](_this._value); + } + if (_this._state === 2 /* REJECTED */) { + handler[2](_this._value); + } + handler[0] = true; + }); + }; + try { + executor(this._resolve, this._reject); + } + catch (e) { + this._reject(e); + } + } + /** JSDoc */ + SyncPromise.prototype.then = function (onfulfilled, onrejected) { + var _this = this; + return new SyncPromise(function (resolve, reject) { + _this._handlers.push([ + false, + function (result) { + if (!onfulfilled) { + // TODO: ¯\_(ツ)_/¯ + // TODO: FIXME + resolve(result); + } + else { + try { + resolve(onfulfilled(result)); + } + catch (e) { + reject(e); + } + } + }, + function (reason) { + if (!onrejected) { + reject(reason); + } + else { + try { + resolve(onrejected(reason)); + } + catch (e) { + reject(e); + } + } + }, + ]); + _this._executeHandlers(); + }); + }; + /** JSDoc */ + SyncPromise.prototype.catch = function (onrejected) { + return this.then(function (val) { return val; }, onrejected); + }; + /** JSDoc */ + SyncPromise.prototype.finally = function (onfinally) { + var _this = this; + return new SyncPromise(function (resolve, reject) { + var val; + var isRejected; + return _this.then(function (value) { + isRejected = false; + val = value; + if (onfinally) { + onfinally(); + } + }, function (reason) { + isRejected = true; + val = reason; + if (onfinally) { + onfinally(); + } + }).then(function () { + if (isRejected) { + reject(val); + return; + } + resolve(val); + }); + }); + }; + return SyncPromise; +}()); +export { SyncPromise }; +//# sourceMappingURL=syncpromise.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/syncpromise.js.map b/node_modules/@sentry/utils/esm/syncpromise.js.map new file mode 100644 index 000000000..6af3c6b35 --- /dev/null +++ b/node_modules/@sentry/utils/esm/syncpromise.js.map @@ -0,0 +1 @@ +{"version":3,"file":"syncpromise.js","sourceRoot":"","sources":["../src/syncpromise.ts"],"names":[],"mappings":"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","sourcesContent":["/* eslint-disable @typescript-eslint/explicit-function-return-type */\n/* eslint-disable @typescript-eslint/typedef */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isThenable } from './is';\n\n/** SyncPromise internal states */\nconst enum States {\n /** Pending */\n PENDING = 0,\n /** Resolved / OK */\n RESOLVED = 1,\n /** Rejected / Error */\n REJECTED = 2,\n}\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\nexport function resolvedSyncPromise(value: T | PromiseLike): PromiseLike {\n return new SyncPromise(resolve => {\n resolve(value);\n });\n}\n\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\nexport function rejectedSyncPromise(reason?: any): PromiseLike {\n return new SyncPromise((_, reject) => {\n reject(reason);\n });\n}\n\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\nclass SyncPromise implements PromiseLike {\n private _state: States = States.PENDING;\n private _handlers: Array<[boolean, (value: T) => void, (reason: any) => any]> = [];\n private _value: any;\n\n public constructor(\n executor: (resolve: (value?: T | PromiseLike | null) => void, reject: (reason?: any) => void) => void,\n ) {\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n\n /** JSDoc */\n public then(\n onfulfilled?: ((value: T) => TResult1 | PromiseLike) | null,\n onrejected?: ((reason: any) => TResult2 | PromiseLike) | null,\n ): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n this._handlers.push([\n false,\n result => {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result as any);\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n },\n reason => {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n },\n ]);\n this._executeHandlers();\n });\n }\n\n /** JSDoc */\n public catch(\n onrejected?: ((reason: any) => TResult | PromiseLike) | null,\n ): PromiseLike {\n return this.then(val => val, onrejected);\n }\n\n /** JSDoc */\n public finally(onfinally?: (() => void) | null): PromiseLike {\n return new SyncPromise((resolve, reject) => {\n let val: TResult | any;\n let isRejected: boolean;\n\n return this.then(\n value => {\n isRejected = false;\n val = value;\n if (onfinally) {\n onfinally();\n }\n },\n reason => {\n isRejected = true;\n val = reason;\n if (onfinally) {\n onfinally();\n }\n },\n ).then(() => {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val as unknown as any);\n });\n });\n }\n\n /** JSDoc */\n private readonly _resolve = (value?: T | PromiseLike | null) => {\n this._setResult(States.RESOLVED, value);\n };\n\n /** JSDoc */\n private readonly _reject = (reason?: any) => {\n this._setResult(States.REJECTED, reason);\n };\n\n /** JSDoc */\n private readonly _setResult = (state: States, value?: T | PromiseLike | any) => {\n if (this._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void (value as PromiseLike).then(this._resolve, this._reject);\n return;\n }\n\n this._state = state;\n this._value = value;\n\n this._executeHandlers();\n };\n\n /** JSDoc */\n private readonly _executeHandlers = () => {\n if (this._state === States.PENDING) {\n return;\n }\n\n const cachedHandlers = this._handlers.slice();\n this._handlers = [];\n\n cachedHandlers.forEach(handler => {\n if (handler[0]) {\n return;\n }\n\n if (this._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](this._value as unknown as any);\n }\n\n if (this._state === States.REJECTED) {\n handler[2](this._value);\n }\n\n handler[0] = true;\n });\n };\n}\n\nexport { SyncPromise };\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/time.d.ts b/node_modules/@sentry/utils/esm/time.d.ts new file mode 100644 index 000000000..0d07138fc --- /dev/null +++ b/node_modules/@sentry/utils/esm/time.d.ts @@ -0,0 +1,31 @@ +/** + * Returns a timestamp in seconds since the UNIX epoch using the Date API. + */ +export declare const dateTimestampInSeconds: () => number; +/** + * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the + * availability of the Performance API. + * + * See `usingPerformanceAPI` to test whether the Performance API is used. + * + * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is + * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The + * skew can grow to arbitrary amounts like days, weeks or months. + * See https://github.com/getsentry/sentry-javascript/issues/2590. + */ +export declare const timestampInSeconds: () => number; +export declare const timestampWithMs: () => number; +/** + * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps. + */ +export declare const usingPerformanceAPI: boolean; +/** + * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only. + */ +export declare let _browserPerformanceTimeOriginMode: string; +/** + * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the + * performance API is available. + */ +export declare const browserPerformanceTimeOrigin: number | undefined; +//# sourceMappingURL=time.d.ts.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/time.d.ts.map b/node_modules/@sentry/utils/esm/time.d.ts.map new file mode 100644 index 000000000..60e9a81e4 --- /dev/null +++ b/node_modules/@sentry/utils/esm/time.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../src/time.ts"],"names":[],"mappings":"AAsGA;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,MAAiE,CAAC;AAE7G;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,MAAyD,CAAC;AAGjG,eAAO,MAAM,eAAe,cAAqB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,mBAAmB,SAAoC,CAAC;AAErE;;GAEG;AACH,eAAO,IAAI,iCAAiC,EAAE,MAAM,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,4BAA4B,oBA+CrC,CAAC"} \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/time.js b/node_modules/@sentry/utils/esm/time.js new file mode 100644 index 000000000..9e92d40d5 --- /dev/null +++ b/node_modules/@sentry/utils/esm/time.js @@ -0,0 +1,146 @@ +import { getGlobalObject } from './global'; +import { dynamicRequire, isNodeEnv } from './node'; +/** + * A TimestampSource implementation for environments that do not support the Performance Web API natively. + * + * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier + * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It + * is more obvious to explain "why does my span have negative duration" than "why my spans have zero duration". + */ +var dateTimestampSource = { + nowSeconds: function () { return Date.now() / 1000; }, +}; +/** + * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not + * support the API. + * + * Wrapping the native API works around differences in behavior from different browsers. + */ +function getBrowserPerformance() { + var performance = getGlobalObject().performance; + if (!performance || !performance.now) { + return undefined; + } + // Replace performance.timeOrigin with our own timeOrigin based on Date.now(). + // + // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin + + // performance.now() gives a date arbitrarily in the past. + // + // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is + // undefined. + // + // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to + // interact with data coming out of performance entries. + // + // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that + // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes + // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have + // observed skews that can be as long as days, weeks or months. + // + // See https://github.com/getsentry/sentry-javascript/issues/2590. + // + // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload + // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation + // transactions of long-lived web pages. + var timeOrigin = Date.now() - performance.now(); + return { + now: function () { return performance.now(); }, + timeOrigin: timeOrigin, + }; +} +/** + * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't + * implement the API. + */ +function getNodePerformance() { + try { + var perfHooks = dynamicRequire(module, 'perf_hooks'); + return perfHooks.performance; + } + catch (_) { + return undefined; + } +} +/** + * The Performance API implementation for the current platform, if available. + */ +var platformPerformance = isNodeEnv() ? getNodePerformance() : getBrowserPerformance(); +var timestampSource = platformPerformance === undefined + ? dateTimestampSource + : { + nowSeconds: function () { return (platformPerformance.timeOrigin + platformPerformance.now()) / 1000; }, + }; +/** + * Returns a timestamp in seconds since the UNIX epoch using the Date API. + */ +export var dateTimestampInSeconds = dateTimestampSource.nowSeconds.bind(dateTimestampSource); +/** + * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the + * availability of the Performance API. + * + * See `usingPerformanceAPI` to test whether the Performance API is used. + * + * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is + * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The + * skew can grow to arbitrary amounts like days, weeks or months. + * See https://github.com/getsentry/sentry-javascript/issues/2590. + */ +export var timestampInSeconds = timestampSource.nowSeconds.bind(timestampSource); +// Re-exported with an old name for backwards-compatibility. +export var timestampWithMs = timestampInSeconds; +/** + * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps. + */ +export var usingPerformanceAPI = platformPerformance !== undefined; +/** + * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only. + */ +export var _browserPerformanceTimeOriginMode; +/** + * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the + * performance API is available. + */ +export var browserPerformanceTimeOrigin = (function () { + // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or + // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin + // data as reliable if they are within a reasonable threshold of the current time. + var performance = getGlobalObject().performance; + if (!performance || !performance.now) { + _browserPerformanceTimeOriginMode = 'none'; + return undefined; + } + var threshold = 3600 * 1000; + var performanceNow = performance.now(); + var dateNow = Date.now(); + // if timeOrigin isn't available set delta to threshold so it isn't used + var timeOriginDelta = performance.timeOrigin + ? Math.abs(performance.timeOrigin + performanceNow - dateNow) + : threshold; + var timeOriginIsReliable = timeOriginDelta < threshold; + // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin + // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing. + // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always + // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the + // Date API. + // eslint-disable-next-line deprecation/deprecation + var navigationStart = performance.timing && performance.timing.navigationStart; + var hasNavigationStart = typeof navigationStart === 'number'; + // if navigationStart isn't available set delta to threshold so it isn't used + var navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold; + var navigationStartIsReliable = navigationStartDelta < threshold; + if (timeOriginIsReliable || navigationStartIsReliable) { + // Use the more reliable time origin + if (timeOriginDelta <= navigationStartDelta) { + _browserPerformanceTimeOriginMode = 'timeOrigin'; + return performance.timeOrigin; + } + else { + _browserPerformanceTimeOriginMode = 'navigationStart'; + return navigationStart; + } + } + // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date. + _browserPerformanceTimeOriginMode = 'dateNow'; + return dateNow; +})(); +//# sourceMappingURL=time.js.map \ No newline at end of file diff --git a/node_modules/@sentry/utils/esm/time.js.map b/node_modules/@sentry/utils/esm/time.js.map new file mode 100644 index 000000000..634e77b61 --- /dev/null +++ b/node_modules/@sentry/utils/esm/time.js.map @@ -0,0 +1 @@ +{"version":3,"file":"time.js","sourceRoot":"","sources":["../src/time.ts"],"names":[],"mappings":"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","sourcesContent":["import { getGlobalObject } from './global';\nimport { dynamicRequire, isNodeEnv } from './node';\n\n/**\n * An object that can return the current timestamp in seconds since the UNIX epoch.\n */\ninterface TimestampSource {\n nowSeconds(): number;\n}\n\n/**\n * A TimestampSource implementation for environments that do not support the Performance Web API natively.\n *\n * Note that this TimestampSource does not use a monotonic clock. A call to `nowSeconds` may return a timestamp earlier\n * than a previously returned value. We do not try to emulate a monotonic behavior in order to facilitate debugging. It\n * is more obvious to explain \"why does my span have negative duration\" than \"why my spans have zero duration\".\n */\nconst dateTimestampSource: TimestampSource = {\n nowSeconds: () => Date.now() / 1000,\n};\n\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\ninterface Performance {\n /**\n * The millisecond timestamp at which measurement began, measured in Unix time.\n */\n timeOrigin: number;\n /**\n * Returns the current millisecond timestamp, where 0 represents the start of measurement.\n */\n now(): number;\n}\n\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\nfunction getBrowserPerformance(): Performance | undefined {\n const { performance } = getGlobalObject();\n if (!performance || !performance.now) {\n return undefined;\n }\n\n // Replace performance.timeOrigin with our own timeOrigin based on Date.now().\n //\n // This is a partial workaround for browsers reporting performance.timeOrigin such that performance.timeOrigin +\n // performance.now() gives a date arbitrarily in the past.\n //\n // Additionally, computing timeOrigin in this way fills the gap for browsers where performance.timeOrigin is\n // undefined.\n //\n // The assumption that performance.timeOrigin + performance.now() ~= Date.now() is flawed, but we depend on it to\n // interact with data coming out of performance entries.\n //\n // Note that despite recommendations against it in the spec, browsers implement the Performance API with a clock that\n // might stop when the computer is asleep (and perhaps under other circumstances). Such behavior causes\n // performance.timeOrigin + performance.now() to have an arbitrary skew over Date.now(). In laptop computers, we have\n // observed skews that can be as long as days, weeks or months.\n //\n // See https://github.com/getsentry/sentry-javascript/issues/2590.\n //\n // BUG: despite our best intentions, this workaround has its limitations. It mostly addresses timings of pageload\n // transactions, but ignores the skew built up over time that can aversely affect timestamps of navigation\n // transactions of long-lived web pages.\n const timeOrigin = Date.now() - performance.now();\n\n return {\n now: () => performance.now(),\n timeOrigin,\n };\n}\n\n/**\n * Returns the native Performance API implementation from Node.js. Returns undefined in old Node.js versions that don't\n * implement the API.\n */\nfunction getNodePerformance(): Performance | undefined {\n try {\n const perfHooks = dynamicRequire(module, 'perf_hooks') as { performance: Performance };\n return perfHooks.performance;\n } catch (_) {\n return undefined;\n }\n}\n\n/**\n * The Performance API implementation for the current platform, if available.\n */\nconst platformPerformance: Performance | undefined = isNodeEnv() ? getNodePerformance() : getBrowserPerformance();\n\nconst timestampSource: TimestampSource =\n platformPerformance === undefined\n ? dateTimestampSource\n : {\n nowSeconds: () => (platformPerformance.timeOrigin + platformPerformance.now()) / 1000,\n };\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n */\nexport const dateTimestampInSeconds: () => number = dateTimestampSource.nowSeconds.bind(dateTimestampSource);\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * See `usingPerformanceAPI` to test whether the Performance API is used.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\nexport const timestampInSeconds: () => number = timestampSource.nowSeconds.bind(timestampSource);\n\n// Re-exported with an old name for backwards-compatibility.\nexport const timestampWithMs = timestampInSeconds;\n\n/**\n * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps.\n */\nexport const usingPerformanceAPI = platformPerformance !== undefined;\n\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\nexport let _browserPerformanceTimeOriginMode: string;\n\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\nexport const browserPerformanceTimeOrigin = ((): number | undefined => {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n\n const { performance } = getGlobalObject();\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n const threshold = 3600 * 1000;\n const performanceNow = performance.now();\n const dateNow = Date.now();\n\n // if timeOrigin isn't available set delta to threshold so it isn't used\n const timeOriginDelta = performance.timeOrigin\n ? Math.abs(performance.timeOrigin + performanceNow - dateNow)\n : threshold;\n const timeOriginIsReliable = timeOriginDelta < threshold;\n\n // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n const navigationStart = performance.timing && performance.timing.navigationStart;\n const hasNavigationStart = typeof navigationStart === 'number';\n // if navigationStart isn't available set delta to threshold so it isn't used\n const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n const navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n }\n\n // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n})();\n"]} \ No newline at end of file diff --git a/node_modules/@sentry/utils/node_modules/tslib/CopyrightNotice.txt b/node_modules/@sentry/utils/node_modules/tslib/CopyrightNotice.txt new file mode 100644 index 000000000..3d4c82348 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/CopyrightNotice.txt @@ -0,0 +1,15 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + diff --git a/node_modules/@sentry/utils/node_modules/tslib/LICENSE.txt b/node_modules/@sentry/utils/node_modules/tslib/LICENSE.txt new file mode 100644 index 000000000..bfe6430cb --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/LICENSE.txt @@ -0,0 +1,12 @@ +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/node_modules/@sentry/utils/node_modules/tslib/README.md b/node_modules/@sentry/utils/node_modules/tslib/README.md new file mode 100644 index 000000000..a5b2692c8 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/README.md @@ -0,0 +1,142 @@ +# tslib + +This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions. + +This library is primarily used by the `--importHelpers` flag in TypeScript. +When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: + +```ts +var __assign = (this && this.__assign) || Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; +}; +exports.x = {}; +exports.y = __assign({}, exports.x); + +``` + +will instead be emitted as something like the following: + +```ts +var tslib_1 = require("tslib"); +exports.x = {}; +exports.y = tslib_1.__assign({}, exports.x); +``` + +Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. +For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. + +# Installing + +For the latest stable version, run: + +## npm + +```sh +# TypeScript 2.3.3 or later +npm install tslib + +# TypeScript 2.3.2 or earlier +npm install tslib@1.6.1 +``` + +## yarn + +```sh +# TypeScript 2.3.3 or later +yarn add tslib + +# TypeScript 2.3.2 or earlier +yarn add tslib@1.6.1 +``` + +## bower + +```sh +# TypeScript 2.3.3 or later +bower install tslib + +# TypeScript 2.3.2 or earlier +bower install tslib@1.6.1 +``` + +## JSPM + +```sh +# TypeScript 2.3.3 or later +jspm install tslib + +# TypeScript 2.3.2 or earlier +jspm install tslib@1.6.1 +``` + +# Usage + +Set the `importHelpers` compiler option on the command line: + +``` +tsc --importHelpers file.ts +``` + +or in your tsconfig.json: + +```json +{ + "compilerOptions": { + "importHelpers": true + } +} +``` + +#### For bower and JSPM users + +You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: + +```json +{ + "compilerOptions": { + "module": "amd", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["bower_components/tslib/tslib.d.ts"] + } + } +} +``` + +For JSPM users: + +```json +{ + "compilerOptions": { + "module": "system", + "importHelpers": true, + "baseUrl": "./", + "paths": { + "tslib" : ["jspm_packages/npm/tslib@1.[version].0/tslib.d.ts"] + } + } +} +``` + + +# Contribute + +There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. + +* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. +* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). +* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). +* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. +* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). + +# Documentation + +* [Quick tutorial](http://www.typescriptlang.org/Tutorial) +* [Programming handbook](http://www.typescriptlang.org/Handbook) +* [Homepage](http://www.typescriptlang.org/) diff --git a/node_modules/@sentry/utils/node_modules/tslib/modules/index.js b/node_modules/@sentry/utils/node_modules/tslib/modules/index.js new file mode 100644 index 000000000..d241d0422 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/modules/index.js @@ -0,0 +1,51 @@ +import tslib from '../tslib.js'; +const { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +} = tslib; +export { + __extends, + __assign, + __rest, + __decorate, + __param, + __metadata, + __awaiter, + __generator, + __exportStar, + __createBinding, + __values, + __read, + __spread, + __spreadArrays, + __await, + __asyncGenerator, + __asyncDelegator, + __asyncValues, + __makeTemplateObject, + __importStar, + __importDefault, + __classPrivateFieldGet, + __classPrivateFieldSet, +}; diff --git a/node_modules/@sentry/utils/node_modules/tslib/modules/package.json b/node_modules/@sentry/utils/node_modules/tslib/modules/package.json new file mode 100644 index 000000000..aafa0e4b4 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/modules/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/node_modules/@sentry/utils/node_modules/tslib/package.json b/node_modules/@sentry/utils/node_modules/tslib/package.json new file mode 100644 index 000000000..8247f8ebc --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/package.json @@ -0,0 +1,64 @@ +{ + "_from": "tslib@^1.9.3", + "_id": "tslib@1.14.1", + "_inBundle": false, + "_integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "_location": "/@sentry/utils/tslib", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "tslib@^1.9.3", + "name": "tslib", + "escapedName": "tslib", + "rawSpec": "^1.9.3", + "saveSpec": null, + "fetchSpec": "^1.9.3" + }, + "_requiredBy": [ + "/@sentry/utils" + ], + "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "_shasum": "cf2d38bdc34a134bcaf1091c41f6619e2f672d00", + "_spec": "tslib@^1.9.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/utils", + "author": { + "name": "Microsoft Corp." + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Runtime library for TypeScript helper functions", + "exports": { + ".": { + "module": "./tslib.es6.js", + "import": "./modules/index.js", + "default": "./tslib.js" + }, + "./": "./" + }, + "homepage": "https://www.typescriptlang.org/", + "jsnext:main": "tslib.es6.js", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "license": "0BSD", + "main": "tslib.js", + "module": "tslib.es6.js", + "name": "tslib", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/tslib.git" + }, + "sideEffects": false, + "typings": "tslib.d.ts", + "version": "1.14.1" +} diff --git a/node_modules/@sentry/utils/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js b/node_modules/@sentry/utils/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js new file mode 100644 index 000000000..0c1b613d8 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js @@ -0,0 +1,23 @@ +// When on node 14, it validates that all of the commonjs exports +// are correctly re-exported for es modules importers. + +const nodeMajor = Number(process.version.split(".")[0].slice(1)) +if (nodeMajor < 14) { + console.log("Skipping because node does not support module exports.") + process.exit(0) +} + +// ES Modules import via the ./modules folder +import * as esTSLib from "../../modules/index.js" + +// Force a commonjs resolve +import { createRequire } from "module"; +const commonJSTSLib = createRequire(import.meta.url)("../../tslib.js"); + +for (const key in commonJSTSLib) { + if (commonJSTSLib.hasOwnProperty(key)) { + if(!esTSLib[key]) throw new Error(`ESModules is missing ${key} - it needs to be re-exported in ./modules/index.js`) + } +} + +console.log("All exports in commonjs are available for es module consumers.") diff --git a/node_modules/@sentry/utils/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json b/node_modules/@sentry/utils/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json new file mode 100644 index 000000000..166e5095e --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json @@ -0,0 +1,6 @@ +{ + "type": "module", + "scripts": { + "test": "node index.js" + } +} diff --git a/node_modules/@sentry/utils/node_modules/tslib/tslib.d.ts b/node_modules/@sentry/utils/node_modules/tslib/tslib.d.ts new file mode 100644 index 000000000..0756b28e7 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/tslib.d.ts @@ -0,0 +1,37 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +export declare function __extends(d: Function, b: Function): void; +export declare function __assign(t: any, ...sources: any[]): any; +export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; +export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; +export declare function __param(paramIndex: number, decorator: Function): Function; +export declare function __metadata(metadataKey: any, metadataValue: any): Function; +export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; +export declare function __generator(thisArg: any, body: Function): any; +export declare function __exportStar(m: any, exports: any): void; +export declare function __values(o: any): any; +export declare function __read(o: any, n?: number): any[]; +export declare function __spread(...args: any[][]): any[]; +export declare function __spreadArrays(...args: any[][]): any[]; +export declare function __await(v: any): any; +export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; +export declare function __asyncDelegator(o: any): any; +export declare function __asyncValues(o: any): any; +export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; +export declare function __importStar(mod: T): T; +export declare function __importDefault(mod: T): T | { default: T }; +export declare function __classPrivateFieldGet(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V; +export declare function __classPrivateFieldSet(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V; +export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; \ No newline at end of file diff --git a/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.html b/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.html new file mode 100644 index 000000000..b122e41b0 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js b/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js new file mode 100644 index 000000000..0e0d8d079 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js @@ -0,0 +1,218 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +export function __extends(d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +} + +export var __assign = function() { + __assign = Object.assign || function __assign(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + } + return __assign.apply(this, arguments); +} + +export function __rest(s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +} + +export function __decorate(decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +} + +export function __param(paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } +} + +export function __metadata(metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); +} + +export function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +export function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +} + +export function __createBinding(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +} + +export function __exportStar(m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; +} + +export function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} + +export function __read(o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; +} + +export function __spread() { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; +} + +export function __spreadArrays() { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; +}; + +export function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} + +export function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } +} + +export function __asyncDelegator(o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } +} + +export function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } +} + +export function __makeTemplateObject(cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; +}; + +export function __importStar(mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result.default = mod; + return result; +} + +export function __importDefault(mod) { + return (mod && mod.__esModule) ? mod : { default: mod }; +} + +export function __classPrivateFieldGet(receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); +} + +export function __classPrivateFieldSet(receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; +} diff --git a/node_modules/@sentry/utils/node_modules/tslib/tslib.html b/node_modules/@sentry/utils/node_modules/tslib/tslib.html new file mode 100644 index 000000000..44c9ba51e --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/tslib.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/node_modules/@sentry/utils/node_modules/tslib/tslib.js b/node_modules/@sentry/utils/node_modules/tslib/tslib.js new file mode 100644 index 000000000..e5b7c9b80 --- /dev/null +++ b/node_modules/@sentry/utils/node_modules/tslib/tslib.js @@ -0,0 +1,284 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + +/* global global, define, System, Reflect, Promise */ +var __extends; +var __assign; +var __rest; +var __decorate; +var __param; +var __metadata; +var __awaiter; +var __generator; +var __exportStar; +var __values; +var __read; +var __spread; +var __spreadArrays; +var __await; +var __asyncGenerator; +var __asyncDelegator; +var __asyncValues; +var __makeTemplateObject; +var __importStar; +var __importDefault; +var __classPrivateFieldGet; +var __classPrivateFieldSet; +var __createBinding; +(function (factory) { + var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; + if (typeof define === "function" && define.amd) { + define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); + } + else if (typeof module === "object" && typeof module.exports === "object") { + factory(createExporter(root, createExporter(module.exports))); + } + else { + factory(createExporter(root)); + } + function createExporter(exports, previous) { + if (exports !== root) { + if (typeof Object.create === "function") { + Object.defineProperty(exports, "__esModule", { value: true }); + } + else { + exports.__esModule = true; + } + } + return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; + } +}) +(function (exporter) { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + + __extends = function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + + __assign = Object.assign || function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + + __rest = function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + }; + + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + }; + + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + }; + + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); + }; + + __awaiter = function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + + __generator = function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + + __createBinding = function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }; + + __exportStar = function (m, exports) { + for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; + }; + + __values = function (o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + }; + + __makeTemplateObject = function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + }; + + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; + }; + + __importDefault = function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + + __classPrivateFieldGet = function (receiver, privateMap) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to get private field on non-instance"); + } + return privateMap.get(receiver); + }; + + __classPrivateFieldSet = function (receiver, privateMap, value) { + if (!privateMap.has(receiver)) { + throw new TypeError("attempted to set private field on non-instance"); + } + privateMap.set(receiver, value); + return value; + }; + + exporter("__extends", __extends); + exporter("__assign", __assign); + exporter("__rest", __rest); + exporter("__decorate", __decorate); + exporter("__param", __param); + exporter("__metadata", __metadata); + exporter("__awaiter", __awaiter); + exporter("__generator", __generator); + exporter("__exportStar", __exportStar); + exporter("__createBinding", __createBinding); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__spreadArrays", __spreadArrays); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + exporter("__makeTemplateObject", __makeTemplateObject); + exporter("__importStar", __importStar); + exporter("__importDefault", __importDefault); + exporter("__classPrivateFieldGet", __classPrivateFieldGet); + exporter("__classPrivateFieldSet", __classPrivateFieldSet); +}); diff --git a/node_modules/@sentry/utils/package.json b/node_modules/@sentry/utils/package.json new file mode 100644 index 000000000..536b923d2 --- /dev/null +++ b/node_modules/@sentry/utils/package.json @@ -0,0 +1,111 @@ +{ + "_from": "@sentry/utils@6.17.9", + "_id": "@sentry/utils@6.17.9", + "_inBundle": false, + "_integrity": "sha512-4eo9Z3JlJCGlGrQRbtZWL+L9NnlUXgTbfK3Lk7oO8D1ev8R5b5+iE6tZHTvU5rQRcq6zu+POT+tK5u9oxc/rnQ==", + "_location": "/@sentry/utils", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@sentry/utils@6.17.9", + "name": "@sentry/utils", + "escapedName": "@sentry%2futils", + "scope": "@sentry", + "rawSpec": "6.17.9", + "saveSpec": null, + "fetchSpec": "6.17.9" + }, + "_requiredBy": [ + "/@sentry/core", + "/@sentry/hub", + "/@sentry/node", + "/@sentry/tracing" + ], + "_resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.17.9.tgz", + "_shasum": "425fe9af4e2d6114c2e9aaede75ccb6ddf91fbda", + "_spec": "@sentry/utils@6.17.9", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/node", + "author": { + "name": "Sentry" + }, + "bugs": { + "url": "https://github.com/getsentry/sentry-javascript/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@sentry/types": "6.17.9", + "tslib": "^1.9.3" + }, + "deprecated": false, + "description": "Utilities for all Sentry JavaScript SDKs", + "devDependencies": { + "chai": "^4.1.2", + "jsdom": "^16.2.2" + }, + "engines": { + "node": ">=6" + }, + "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/utils", + "jest": { + "collectCoverage": true, + "transform": { + "^.+\\.ts$": "ts-jest" + }, + "moduleFileExtensions": [ + "js", + "ts" + ], + "testEnvironment": "node", + "testMatch": [ + "**/*.test.ts" + ], + "globals": { + "ts-jest": { + "tsConfig": "./tsconfig.json", + "diagnostics": false + } + } + }, + "license": "BSD-3-Clause", + "main": "dist/index.js", + "module": "esm/index.js", + "name": "@sentry/utils", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git://github.com/getsentry/sentry-javascript.git" + }, + "scripts": { + "build": "run-p build:cjs build:esm", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:cjs:watch": "tsc -p tsconfig.cjs.json --watch", + "build:dev": "run-s build", + "build:dev:watch": "run-s build:watch", + "build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***", + "build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***", + "build:esm": "tsc -p tsconfig.esm.json", + "build:esm:watch": "tsc -p tsconfig.esm.json --watch", + "build:watch": "run-p build:cjs:watch build:esm:watch", + "circularDepCheck": "madge --circular src/index.ts", + "clean": "rimraf dist esm coverage *.js *.js.map *.d.ts", + "fix": "run-s fix:eslint fix:prettier", + "fix:eslint": "eslint . --format stylish --fix", + "fix:prettier": "prettier --write \"{src,test}/**/*.ts\"", + "link:yarn": "yarn link", + "lint": "run-s lint:prettier lint:eslint", + "lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish", + "lint:prettier": "prettier --check \"{src,test}/**/*.ts\"", + "pack": "npm pack", + "test": "jest", + "test:watch": "jest --watch" + }, + "sideEffects": false, + "types": "dist/index.d.ts", + "version": "6.17.9", + "volta": { + "extends": "../../package.json" + } +} diff --git a/node_modules/@sindresorhus/is/dist/index.d.ts b/node_modules/@sindresorhus/is/dist/index.d.ts deleted file mode 100644 index e94d30b76..000000000 --- a/node_modules/@sindresorhus/is/dist/index.d.ts +++ /dev/null @@ -1,132 +0,0 @@ -/// -/// -/// -/// -/// -declare type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; -declare type Primitive = null | undefined | string | number | boolean | Symbol; -export interface ArrayLike { - length: number; -} -export interface Class { - new (...args: any[]): T; -} -declare type DomElement = object & { - nodeType: 1; - nodeName: string; -}; -declare type NodeStream = object & { - pipe: Function; -}; -export declare const enum TypeName { - null = "null", - boolean = "boolean", - undefined = "undefined", - string = "string", - number = "number", - symbol = "symbol", - Function = "Function", - GeneratorFunction = "GeneratorFunction", - AsyncFunction = "AsyncFunction", - Observable = "Observable", - Array = "Array", - Buffer = "Buffer", - Object = "Object", - RegExp = "RegExp", - Date = "Date", - Error = "Error", - Map = "Map", - Set = "Set", - WeakMap = "WeakMap", - WeakSet = "WeakSet", - Int8Array = "Int8Array", - Uint8Array = "Uint8Array", - Uint8ClampedArray = "Uint8ClampedArray", - Int16Array = "Int16Array", - Uint16Array = "Uint16Array", - Int32Array = "Int32Array", - Uint32Array = "Uint32Array", - Float32Array = "Float32Array", - Float64Array = "Float64Array", - ArrayBuffer = "ArrayBuffer", - SharedArrayBuffer = "SharedArrayBuffer", - DataView = "DataView", - Promise = "Promise", - URL = "URL" -} -declare function is(value: unknown): TypeName; -declare namespace is { - const undefined: (value: unknown) => value is undefined; - const string: (value: unknown) => value is string; - const number: (value: unknown) => value is number; - const function_: (value: unknown) => value is Function; - const null_: (value: unknown) => value is null; - const class_: (value: unknown) => value is Class; - const boolean: (value: unknown) => value is boolean; - const symbol: (value: unknown) => value is Symbol; - const numericString: (value: unknown) => boolean; - const array: (arg: any) => arg is any[]; - const buffer: (input: unknown) => input is Buffer; - const nullOrUndefined: (value: unknown) => value is null | undefined; - const object: (value: unknown) => value is object; - const iterable: (value: unknown) => value is IterableIterator; - const asyncIterable: (value: unknown) => value is AsyncIterableIterator; - const generator: (value: unknown) => value is Generator; - const nativePromise: (value: unknown) => value is Promise; - const promise: (value: unknown) => value is Promise; - const generatorFunction: (value: unknown) => value is GeneratorFunction; - const asyncFunction: (value: unknown) => value is Function; - const boundFunction: (value: unknown) => value is Function; - const regExp: (value: unknown) => value is RegExp; - const date: (value: unknown) => value is Date; - const error: (value: unknown) => value is Error; - const map: (value: unknown) => value is Map; - const set: (value: unknown) => value is Set; - const weakMap: (value: unknown) => value is WeakMap; - const weakSet: (value: unknown) => value is WeakSet; - const int8Array: (value: unknown) => value is Int8Array; - const uint8Array: (value: unknown) => value is Uint8Array; - const uint8ClampedArray: (value: unknown) => value is Uint8ClampedArray; - const int16Array: (value: unknown) => value is Int16Array; - const uint16Array: (value: unknown) => value is Uint16Array; - const int32Array: (value: unknown) => value is Int32Array; - const uint32Array: (value: unknown) => value is Uint32Array; - const float32Array: (value: unknown) => value is Float32Array; - const float64Array: (value: unknown) => value is Float64Array; - const arrayBuffer: (value: unknown) => value is ArrayBuffer; - const sharedArrayBuffer: (value: unknown) => value is SharedArrayBuffer; - const dataView: (value: unknown) => value is DataView; - const directInstanceOf: (instance: unknown, klass: Class) => instance is T; - const urlInstance: (value: unknown) => value is URL; - const urlString: (value: unknown) => boolean; - const truthy: (value: unknown) => boolean; - const falsy: (value: unknown) => boolean; - const nan: (value: unknown) => boolean; - const primitive: (value: unknown) => value is Primitive; - const integer: (value: unknown) => value is number; - const safeInteger: (value: unknown) => value is number; - const plainObject: (value: unknown) => boolean; - const typedArray: (value: unknown) => value is TypedArray; - const arrayLike: (value: unknown) => value is ArrayLike; - const inRange: (value: number, range: number | number[]) => boolean; - const domElement: (value: unknown) => value is DomElement; - const observable: (value: unknown) => boolean; - const nodeStream: (value: unknown) => value is NodeStream; - const infinite: (value: unknown) => boolean; - const even: (value: number) => boolean; - const odd: (value: number) => boolean; - const emptyArray: (value: unknown) => boolean; - const nonEmptyArray: (value: unknown) => boolean; - const emptyString: (value: unknown) => boolean; - const nonEmptyString: (value: unknown) => boolean; - const emptyStringOrWhitespace: (value: unknown) => boolean; - const emptyObject: (value: unknown) => boolean; - const nonEmptyObject: (value: unknown) => boolean; - const emptySet: (value: unknown) => boolean; - const nonEmptySet: (value: unknown) => boolean; - const emptyMap: (value: unknown) => boolean; - const nonEmptyMap: (value: unknown) => boolean; - const any: (predicate: unknown, ...values: unknown[]) => boolean; - const all: (predicate: unknown, ...values: unknown[]) => boolean; -} -export default is; diff --git a/node_modules/@sindresorhus/is/dist/index.js b/node_modules/@sindresorhus/is/dist/index.js deleted file mode 100644 index 3cbafae18..000000000 --- a/node_modules/@sindresorhus/is/dist/index.js +++ /dev/null @@ -1,245 +0,0 @@ -"use strict"; -/// -/// -/// -/// -Object.defineProperty(exports, "__esModule", { value: true }); -// TODO: Use the `URL` global when targeting Node.js 10 -// tslint:disable-next-line -const URLGlobal = typeof URL === 'undefined' ? require('url').URL : URL; -const toString = Object.prototype.toString; -const isOfType = (type) => (value) => typeof value === type; -const isBuffer = (input) => !is.nullOrUndefined(input) && !is.nullOrUndefined(input.constructor) && is.function_(input.constructor.isBuffer) && input.constructor.isBuffer(input); -const getObjectType = (value) => { - const objectName = toString.call(value).slice(8, -1); - if (objectName) { - return objectName; - } - return null; -}; -const isObjectOfType = (type) => (value) => getObjectType(value) === type; -function is(value) { - switch (value) { - case null: - return "null" /* null */; - case true: - case false: - return "boolean" /* boolean */; - default: - } - switch (typeof value) { - case 'undefined': - return "undefined" /* undefined */; - case 'string': - return "string" /* string */; - case 'number': - return "number" /* number */; - case 'symbol': - return "symbol" /* symbol */; - default: - } - if (is.function_(value)) { - return "Function" /* Function */; - } - if (is.observable(value)) { - return "Observable" /* Observable */; - } - if (Array.isArray(value)) { - return "Array" /* Array */; - } - if (isBuffer(value)) { - return "Buffer" /* Buffer */; - } - const tagType = getObjectType(value); - if (tagType) { - return tagType; - } - if (value instanceof String || value instanceof Boolean || value instanceof Number) { - throw new TypeError('Please don\'t use object wrappers for primitive types'); - } - return "Object" /* Object */; -} -(function (is) { - // tslint:disable-next-line:strict-type-predicates - const isObject = (value) => typeof value === 'object'; - // tslint:disable:variable-name - is.undefined = isOfType('undefined'); - is.string = isOfType('string'); - is.number = isOfType('number'); - is.function_ = isOfType('function'); - // tslint:disable-next-line:strict-type-predicates - is.null_ = (value) => value === null; - is.class_ = (value) => is.function_(value) && value.toString().startsWith('class '); - is.boolean = (value) => value === true || value === false; - is.symbol = isOfType('symbol'); - // tslint:enable:variable-name - is.numericString = (value) => is.string(value) && value.length > 0 && !Number.isNaN(Number(value)); - is.array = Array.isArray; - is.buffer = isBuffer; - is.nullOrUndefined = (value) => is.null_(value) || is.undefined(value); - is.object = (value) => !is.nullOrUndefined(value) && (is.function_(value) || isObject(value)); - is.iterable = (value) => !is.nullOrUndefined(value) && is.function_(value[Symbol.iterator]); - is.asyncIterable = (value) => !is.nullOrUndefined(value) && is.function_(value[Symbol.asyncIterator]); - is.generator = (value) => is.iterable(value) && is.function_(value.next) && is.function_(value.throw); - is.nativePromise = (value) => isObjectOfType("Promise" /* Promise */)(value); - const hasPromiseAPI = (value) => !is.null_(value) && - isObject(value) && - is.function_(value.then) && - is.function_(value.catch); - is.promise = (value) => is.nativePromise(value) || hasPromiseAPI(value); - is.generatorFunction = isObjectOfType("GeneratorFunction" /* GeneratorFunction */); - is.asyncFunction = isObjectOfType("AsyncFunction" /* AsyncFunction */); - is.boundFunction = (value) => is.function_(value) && !value.hasOwnProperty('prototype'); - is.regExp = isObjectOfType("RegExp" /* RegExp */); - is.date = isObjectOfType("Date" /* Date */); - is.error = isObjectOfType("Error" /* Error */); - is.map = (value) => isObjectOfType("Map" /* Map */)(value); - is.set = (value) => isObjectOfType("Set" /* Set */)(value); - is.weakMap = (value) => isObjectOfType("WeakMap" /* WeakMap */)(value); - is.weakSet = (value) => isObjectOfType("WeakSet" /* WeakSet */)(value); - is.int8Array = isObjectOfType("Int8Array" /* Int8Array */); - is.uint8Array = isObjectOfType("Uint8Array" /* Uint8Array */); - is.uint8ClampedArray = isObjectOfType("Uint8ClampedArray" /* Uint8ClampedArray */); - is.int16Array = isObjectOfType("Int16Array" /* Int16Array */); - is.uint16Array = isObjectOfType("Uint16Array" /* Uint16Array */); - is.int32Array = isObjectOfType("Int32Array" /* Int32Array */); - is.uint32Array = isObjectOfType("Uint32Array" /* Uint32Array */); - is.float32Array = isObjectOfType("Float32Array" /* Float32Array */); - is.float64Array = isObjectOfType("Float64Array" /* Float64Array */); - is.arrayBuffer = isObjectOfType("ArrayBuffer" /* ArrayBuffer */); - is.sharedArrayBuffer = isObjectOfType("SharedArrayBuffer" /* SharedArrayBuffer */); - is.dataView = isObjectOfType("DataView" /* DataView */); - is.directInstanceOf = (instance, klass) => Object.getPrototypeOf(instance) === klass.prototype; - is.urlInstance = (value) => isObjectOfType("URL" /* URL */)(value); - is.urlString = (value) => { - if (!is.string(value)) { - return false; - } - try { - new URLGlobal(value); // tslint:disable-line no-unused-expression - return true; - } - catch (_a) { - return false; - } - }; - is.truthy = (value) => Boolean(value); - is.falsy = (value) => !value; - is.nan = (value) => Number.isNaN(value); - const primitiveTypes = new Set([ - 'undefined', - 'string', - 'number', - 'boolean', - 'symbol' - ]); - is.primitive = (value) => is.null_(value) || primitiveTypes.has(typeof value); - is.integer = (value) => Number.isInteger(value); - is.safeInteger = (value) => Number.isSafeInteger(value); - is.plainObject = (value) => { - // From: https://github.com/sindresorhus/is-plain-obj/blob/master/index.js - let prototype; - return getObjectType(value) === "Object" /* Object */ && - (prototype = Object.getPrototypeOf(value), prototype === null || // tslint:disable-line:ban-comma-operator - prototype === Object.getPrototypeOf({})); - }; - const typedArrayTypes = new Set([ - "Int8Array" /* Int8Array */, - "Uint8Array" /* Uint8Array */, - "Uint8ClampedArray" /* Uint8ClampedArray */, - "Int16Array" /* Int16Array */, - "Uint16Array" /* Uint16Array */, - "Int32Array" /* Int32Array */, - "Uint32Array" /* Uint32Array */, - "Float32Array" /* Float32Array */, - "Float64Array" /* Float64Array */ - ]); - is.typedArray = (value) => { - const objectType = getObjectType(value); - if (objectType === null) { - return false; - } - return typedArrayTypes.has(objectType); - }; - const isValidLength = (value) => is.safeInteger(value) && value > -1; - is.arrayLike = (value) => !is.nullOrUndefined(value) && !is.function_(value) && isValidLength(value.length); - is.inRange = (value, range) => { - if (is.number(range)) { - return value >= Math.min(0, range) && value <= Math.max(range, 0); - } - if (is.array(range) && range.length === 2) { - return value >= Math.min(...range) && value <= Math.max(...range); - } - throw new TypeError(`Invalid range: ${JSON.stringify(range)}`); - }; - const NODE_TYPE_ELEMENT = 1; - const DOM_PROPERTIES_TO_CHECK = [ - 'innerHTML', - 'ownerDocument', - 'style', - 'attributes', - 'nodeValue' - ]; - is.domElement = (value) => is.object(value) && value.nodeType === NODE_TYPE_ELEMENT && is.string(value.nodeName) && - !is.plainObject(value) && DOM_PROPERTIES_TO_CHECK.every(property => property in value); - is.observable = (value) => { - if (!value) { - return false; - } - if (value[Symbol.observable] && value === value[Symbol.observable]()) { - return true; - } - if (value['@@observable'] && value === value['@@observable']()) { - return true; - } - return false; - }; - is.nodeStream = (value) => !is.nullOrUndefined(value) && isObject(value) && is.function_(value.pipe) && !is.observable(value); - is.infinite = (value) => value === Infinity || value === -Infinity; - const isAbsoluteMod2 = (rem) => (value) => is.integer(value) && Math.abs(value % 2) === rem; - is.even = isAbsoluteMod2(0); - is.odd = isAbsoluteMod2(1); - const isWhiteSpaceString = (value) => is.string(value) && /\S/.test(value) === false; - is.emptyArray = (value) => is.array(value) && value.length === 0; - is.nonEmptyArray = (value) => is.array(value) && value.length > 0; - is.emptyString = (value) => is.string(value) && value.length === 0; - is.nonEmptyString = (value) => is.string(value) && value.length > 0; - is.emptyStringOrWhitespace = (value) => is.emptyString(value) || isWhiteSpaceString(value); - is.emptyObject = (value) => is.object(value) && !is.map(value) && !is.set(value) && Object.keys(value).length === 0; - is.nonEmptyObject = (value) => is.object(value) && !is.map(value) && !is.set(value) && Object.keys(value).length > 0; - is.emptySet = (value) => is.set(value) && value.size === 0; - is.nonEmptySet = (value) => is.set(value) && value.size > 0; - is.emptyMap = (value) => is.map(value) && value.size === 0; - is.nonEmptyMap = (value) => is.map(value) && value.size > 0; - const predicateOnArray = (method, predicate, values) => { - if (is.function_(predicate) === false) { - throw new TypeError(`Invalid predicate: ${JSON.stringify(predicate)}`); - } - if (values.length === 0) { - throw new TypeError('Invalid number of values'); - } - return method.call(values, predicate); - }; - // tslint:disable variable-name - is.any = (predicate, ...values) => predicateOnArray(Array.prototype.some, predicate, values); - is.all = (predicate, ...values) => predicateOnArray(Array.prototype.every, predicate, values); - // tslint:enable variable-name -})(is || (is = {})); -// Some few keywords are reserved, but we'll populate them for Node.js users -// See https://github.com/Microsoft/TypeScript/issues/2536 -Object.defineProperties(is, { - class: { - value: is.class_ - }, - function: { - value: is.function_ - }, - null: { - value: is.null_ - } -}); -exports.default = is; -// For CommonJS default export support -module.exports = is; -module.exports.default = is; -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@sindresorhus/is/dist/index.js.map b/node_modules/@sindresorhus/is/dist/index.js.map deleted file mode 100644 index cd827fc29..000000000 --- a/node_modules/@sindresorhus/is/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,0CAA0C;AAC1C,2CAA2C;AAC3C,0BAA0B;;AAE1B,uDAAuD;AACvD,2BAA2B;AAC3B,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;AAqDxE,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;AAC3C,MAAM,QAAQ,GAAG,CAAI,IAAY,EAAE,EAAE,CAAC,CAAC,KAAc,EAAc,EAAE,CAAC,OAAO,KAAK,KAAK,IAAI,CAAC;AAC5F,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAmB,EAAE,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAE,KAAgB,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,SAAS,CAAE,KAAgB,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAK,KAAgB,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAEhP,MAAM,aAAa,GAAG,CAAC,KAAc,EAAmB,EAAE;IACzD,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAErD,IAAI,UAAU,EAAE;QACf,OAAO,UAAsB,CAAC;KAC9B;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAI,IAAc,EAAE,EAAE,CAAC,CAAC,KAAc,EAAc,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;AAE5G,SAAS,EAAE,CAAC,KAAc;IACzB,QAAQ,KAAK,EAAE;QACd,KAAK,IAAI;YACR,yBAAqB;QACtB,KAAK,IAAI,CAAC;QACV,KAAK,KAAK;YACT,+BAAwB;QACzB,QAAQ;KACR;IAED,QAAQ,OAAO,KAAK,EAAE;QACrB,KAAK,WAAW;YACf,mCAA0B;QAC3B,KAAK,QAAQ;YACZ,6BAAuB;QACxB,KAAK,QAAQ;YACZ,6BAAuB;QACxB,KAAK,QAAQ;YACZ,6BAAuB;QACxB,QAAQ;KACR;IAED,IAAI,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;QACxB,iCAAyB;KACzB;IAED,IAAI,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;QACzB,qCAA2B;KAC3B;IAED,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QACzB,2BAAsB;KACtB;IAED,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE;QACpB,6BAAuB;KACvB;IAED,MAAM,OAAO,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IACrC,IAAI,OAAO,EAAE;QACZ,OAAO,OAAO,CAAC;KACf;IAED,IAAI,KAAK,YAAY,MAAM,IAAI,KAAK,YAAY,OAAO,IAAI,KAAK,YAAY,MAAM,EAAE;QACnF,MAAM,IAAI,SAAS,CAAC,uDAAuD,CAAC,CAAC;KAC7E;IAED,6BAAuB;AACxB,CAAC;AAED,WAAU,EAAE;IACX,kDAAkD;IAClD,MAAM,QAAQ,GAAG,CAAC,KAAc,EAAmB,EAAE,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC;IAEhF,+BAA+B;IAClB,YAAS,GAAG,QAAQ,CAAY,WAAW,CAAC,CAAC;IAC7C,SAAM,GAAG,QAAQ,CAAS,QAAQ,CAAC,CAAC;IACpC,SAAM,GAAG,QAAQ,CAAS,QAAQ,CAAC,CAAC;IACpC,YAAS,GAAG,QAAQ,CAAW,UAAU,CAAC,CAAC;IACxD,kDAAkD;IACrC,QAAK,GAAG,CAAC,KAAc,EAAiB,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC;IAC1D,SAAM,GAAG,CAAC,KAAc,EAAkB,EAAE,CAAC,GAAA,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IACvG,UAAO,GAAG,CAAC,KAAc,EAAoB,EAAE,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,KAAK,CAAC;IAClF,SAAM,GAAG,QAAQ,CAAS,QAAQ,CAAC,CAAC;IACjD,8BAA8B;IAEjB,gBAAa,GAAG,CAAC,KAAc,EAAW,EAAE,CACxD,GAAA,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAEtD,QAAK,GAAG,KAAK,CAAC,OAAO,CAAC;IACtB,SAAM,GAAG,QAAQ,CAAC;IAElB,kBAAe,GAAG,CAAC,KAAc,EAA6B,EAAE,CAAC,GAAA,KAAK,CAAC,KAAK,CAAC,IAAI,GAAA,SAAS,CAAC,KAAK,CAAC,CAAC;IAClG,SAAM,GAAG,CAAC,KAAc,EAAmB,EAAE,CAAC,CAAC,GAAA,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,GAAA,SAAS,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/G,WAAQ,GAAG,CAAC,KAAc,EAAsC,EAAE,CAAC,CAAC,GAAA,eAAe,CAAC,KAAK,CAAC,IAAI,GAAA,SAAS,CAAE,KAAmC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/J,gBAAa,GAAG,CAAC,KAAc,EAA2C,EAAE,CAAC,CAAC,GAAA,eAAe,CAAC,KAAK,CAAC,IAAI,GAAA,SAAS,CAAE,KAAwC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC;IACnL,YAAS,GAAG,CAAC,KAAc,EAAsB,EAAE,CAAC,GAAA,QAAQ,CAAC,KAAK,CAAC,IAAI,GAAA,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAA,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAEvH,gBAAa,GAAG,CAAC,KAAc,EAA6B,EAAE,CAC1E,cAAc,yBAAoC,CAAC,KAAK,CAAC,CAAC;IAE3D,MAAM,aAAa,GAAG,CAAC,KAAc,EAA6B,EAAE,CACnE,CAAC,GAAA,KAAK,CAAC,KAAK,CAAC;QACb,QAAQ,CAAC,KAAK,CAAY;QAC1B,GAAA,SAAS,CAAE,KAA0B,CAAC,IAAI,CAAC;QAC3C,GAAA,SAAS,CAAE,KAA0B,CAAC,KAAK,CAAC,CAAC;IAEjC,UAAO,GAAG,CAAC,KAAc,EAA6B,EAAE,CAAC,GAAA,aAAa,CAAC,KAAK,CAAC,IAAI,aAAa,CAAC,KAAK,CAAC,CAAC;IAEtG,oBAAiB,GAAG,cAAc,6CAA+C,CAAC;IAClF,gBAAa,GAAG,cAAc,qCAAkC,CAAC;IACjE,gBAAa,GAAG,CAAC,KAAc,EAAqB,EAAE,CAAC,GAAA,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAE9G,SAAM,GAAG,cAAc,uBAAyB,CAAC;IACjD,OAAI,GAAG,cAAc,mBAAqB,CAAC;IAC3C,QAAK,GAAG,cAAc,qBAAuB,CAAC;IAC9C,MAAG,GAAG,CAAC,KAAc,EAAkC,EAAE,CAAC,cAAc,iBAAqC,CAAC,KAAK,CAAC,CAAC;IACrH,MAAG,GAAG,CAAC,KAAc,EAAyB,EAAE,CAAC,cAAc,iBAA4B,CAAC,KAAK,CAAC,CAAC;IACnG,UAAO,GAAG,CAAC,KAAc,EAAqC,EAAE,CAAC,cAAc,yBAA4C,CAAC,KAAK,CAAC,CAAC;IACnI,UAAO,GAAG,CAAC,KAAc,EAA4B,EAAE,CAAC,cAAc,yBAAmC,CAAC,KAAK,CAAC,CAAC;IAEjH,YAAS,GAAG,cAAc,6BAA+B,CAAC;IAC1D,aAAU,GAAG,cAAc,+BAAiC,CAAC;IAC7D,oBAAiB,GAAG,cAAc,6CAA+C,CAAC;IAClF,aAAU,GAAG,cAAc,+BAAiC,CAAC;IAC7D,cAAW,GAAG,cAAc,iCAAmC,CAAC;IAChE,aAAU,GAAG,cAAc,+BAAiC,CAAC;IAC7D,cAAW,GAAG,cAAc,iCAAmC,CAAC;IAChE,eAAY,GAAG,cAAc,mCAAqC,CAAC;IACnE,eAAY,GAAG,cAAc,mCAAqC,CAAC;IAEnE,cAAW,GAAG,cAAc,iCAAmC,CAAC;IAChE,oBAAiB,GAAG,cAAc,6CAA+C,CAAC;IAClF,WAAQ,GAAG,cAAc,2BAA6B,CAAC;IAEvD,mBAAgB,GAAG,CAAI,QAAiB,EAAE,KAAe,EAAiB,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACjI,cAAW,GAAG,CAAC,KAAc,EAAgB,EAAE,CAAC,cAAc,iBAAmB,CAAC,KAAK,CAAC,CAAC;IAEzF,YAAS,GAAG,CAAC,KAAc,EAAE,EAAE;QAC3C,IAAI,CAAC,GAAA,MAAM,CAAC,KAAK,CAAC,EAAE;YACnB,OAAO,KAAK,CAAC;SACb;QAED,IAAI;YACH,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,2CAA2C;YACjE,OAAO,IAAI,CAAC;SACZ;QAAC,WAAM;YACP,OAAO,KAAK,CAAC;SACb;IACF,CAAC,CAAC;IAEW,SAAM,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC5C,QAAK,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC;IAEnC,MAAG,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,KAAe,CAAC,CAAC;IAErE,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC;QAC9B,WAAW;QACX,QAAQ;QACR,QAAQ;QACR,SAAS;QACT,QAAQ;KACR,CAAC,CAAC;IAEU,YAAS,GAAG,CAAC,KAAc,EAAsB,EAAE,CAAC,GAAA,KAAK,CAAC,KAAK,CAAC,IAAI,cAAc,CAAC,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC;IAErG,UAAO,GAAG,CAAC,KAAc,EAAmB,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,KAAe,CAAC,CAAC;IACjF,cAAW,GAAG,CAAC,KAAc,EAAmB,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,KAAe,CAAC,CAAC;IAEzF,cAAW,GAAG,CAAC,KAAc,EAAE,EAAE;QAC7C,0EAA0E;QAC1E,IAAI,SAAS,CAAC;QAEd,OAAO,aAAa,CAAC,KAAK,CAAC,0BAAoB;YAC9C,CAAC,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,SAAS,KAAK,IAAI,IAAI,yCAAyC;gBACzG,SAAS,KAAK,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC;IAC5C,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;;;;;;;;;;KAU/B,CAAC,CAAC;IACU,aAAU,GAAG,CAAC,KAAc,EAAuB,EAAE;QACjE,MAAM,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;QAExC,IAAI,UAAU,KAAK,IAAI,EAAE;YACxB,OAAO,KAAK,CAAC;SACb;QAED,OAAO,eAAe,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACxC,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,WAAW,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC;IAC9D,YAAS,GAAG,CAAC,KAAc,EAAsB,EAAE,CAAC,CAAC,GAAA,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,GAAA,SAAS,CAAC,KAAK,CAAC,IAAI,aAAa,CAAE,KAAmB,CAAC,MAAM,CAAC,CAAC;IAE/I,UAAO,GAAG,CAAC,KAAa,EAAE,KAAwB,EAAE,EAAE;QAClE,IAAI,GAAA,MAAM,CAAC,KAAK,CAAC,EAAE;YAClB,OAAO,KAAK,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,KAAK,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;SAClE;QAED,IAAI,GAAA,KAAK,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;YACvC,OAAO,KAAK,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,IAAI,KAAK,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC;SAClE;QAED,MAAM,IAAI,SAAS,CAAC,kBAAkB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAChE,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,CAAC,CAAC;IAC5B,MAAM,uBAAuB,GAAG;QAC/B,WAAW;QACX,eAAe;QACf,OAAO;QACP,YAAY;QACZ,WAAW;KACX,CAAC;IAEW,aAAU,GAAG,CAAC,KAAc,EAAuB,EAAE,CAAC,GAAA,MAAM,CAAC,KAAK,CAAC,IAAK,KAAoB,CAAC,QAAQ,KAAK,iBAAiB,IAAI,GAAA,MAAM,CAAE,KAAoB,CAAC,QAAQ,CAAC;QACjL,CAAC,GAAA,WAAW,CAAC,KAAK,CAAC,IAAI,uBAAuB,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,IAAK,KAAoB,CAAC,CAAC;IAExF,aAAU,GAAG,CAAC,KAAc,EAAE,EAAE;QAC5C,IAAI,CAAC,KAAK,EAAE;YACX,OAAO,KAAK,CAAC;SACb;QAED,IAAK,KAAa,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,KAAK,KAAM,KAAa,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE;YACvF,OAAO,IAAI,CAAC;SACZ;QAED,IAAK,KAAa,CAAC,cAAc,CAAC,IAAI,KAAK,KAAM,KAAa,CAAC,cAAc,CAAC,EAAE,EAAE;YACjF,OAAO,IAAI,CAAC;SACZ;QAED,OAAO,KAAK,CAAC;IACd,CAAC,CAAC;IAEW,aAAU,GAAG,CAAC,KAAc,EAAuB,EAAE,CAAC,CAAC,GAAA,eAAe,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAY,IAAI,GAAA,SAAS,CAAE,KAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAA,UAAU,CAAC,KAAK,CAAC,CAAC;IAE3K,WAAQ,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,CAAC,QAAQ,CAAC;IAEtF,MAAM,cAAc,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,KAAa,EAAE,EAAE,CAAC,GAAA,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,GAAG,CAAC;IAC5F,OAAI,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;IACzB,MAAG,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;IAErC,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,MAAM,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC;IAE9E,aAAU,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,KAAK,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;IACpE,gBAAa,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,KAAK,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IAErE,cAAW,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;IACtE,iBAAc,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IACvE,0BAAuB,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,WAAW,CAAC,KAAK,CAAC,IAAI,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAE9F,cAAW,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAA,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,GAAA,GAAG,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC;IACjH,iBAAc,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAA,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,GAAA,GAAG,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAElH,WAAQ,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,GAAG,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC;IAC9D,cAAW,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,GAAG,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;IAE/D,WAAQ,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,GAAG,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC;IAC9D,cAAW,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,GAAA,GAAG,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;IAG5E,MAAM,gBAAgB,GAAG,CAAC,MAAmB,EAAE,SAAkB,EAAE,MAAiB,EAAE,EAAE;QACvF,IAAI,GAAA,SAAS,CAAC,SAAS,CAAC,KAAK,KAAK,EAAE;YACnC,MAAM,IAAI,SAAS,CAAC,sBAAsB,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;SACvE;QAED,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;YACxB,MAAM,IAAI,SAAS,CAAC,0BAA0B,CAAC,CAAC;SAChD;QAED,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,SAAgB,CAAC,CAAC;IAC9C,CAAC,CAAC;IAEF,+BAA+B;IAClB,MAAG,GAAG,CAAC,SAAkB,EAAE,GAAG,MAAiB,EAAE,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAC9G,MAAG,GAAG,CAAC,SAAkB,EAAE,GAAG,MAAiB,EAAE,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAC5H,8BAA8B;AAC/B,CAAC,EAvNS,EAAE,KAAF,EAAE,QAuNX;AAED,4EAA4E;AAC5E,0DAA0D;AAC1D,MAAM,CAAC,gBAAgB,CAAC,EAAE,EAAE;IAC3B,KAAK,EAAE;QACN,KAAK,EAAE,EAAE,CAAC,MAAM;KAChB;IACD,QAAQ,EAAE;QACT,KAAK,EAAE,EAAE,CAAC,SAAS;KACnB;IACD,IAAI,EAAE;QACL,KAAK,EAAE,EAAE,CAAC,KAAK;KACf;CACD,CAAC,CAAC;AAEH,kBAAe,EAAE,CAAC;AAElB,sCAAsC;AACtC,MAAM,CAAC,OAAO,GAAG,EAAE,CAAC;AACpB,MAAM,CAAC,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@sindresorhus/is/package.json b/node_modules/@sindresorhus/is/package.json deleted file mode 100644 index bf0d9fee5..000000000 --- a/node_modules/@sindresorhus/is/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "@sindresorhus/is", - "version": "0.14.0", - "description": "Type check values: `is.string('🦄') //=> true`", - "license": "MIT", - "repository": "sindresorhus/is", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "main": "dist/index.js", - "engines": { - "node": ">=6" - }, - "scripts": { - "lint": "tslint --format stylish --project .", - "build": "del dist && tsc", - "test": "npm run lint && npm run build && ava dist/tests", - "prepublish": "npm run build && del dist/tests" - }, - "files": [ - "dist" - ], - "keywords": [ - "type", - "types", - "is", - "check", - "checking", - "validate", - "validation", - "utility", - "util", - "typeof", - "instanceof", - "object", - "assert", - "assertion", - "test", - "kind", - "primitive", - "verify", - "compare" - ], - "devDependencies": { - "@sindresorhus/tsconfig": "^0.1.0", - "@types/jsdom": "^11.12.0", - "@types/node": "^10.12.10", - "@types/tempy": "^0.2.0", - "@types/zen-observable": "^0.8.0", - "ava": "^0.25.0", - "del-cli": "^1.1.0", - "jsdom": "^11.6.2", - "rxjs": "^6.3.3", - "tempy": "^0.2.1", - "tslint": "^5.9.1", - "tslint-xo": "^0.10.0", - "typescript": "^3.2.1", - "zen-observable": "^0.8.8" - }, - "types": "dist/index.d.ts" -} diff --git a/node_modules/@sindresorhus/is/readme.md b/node_modules/@sindresorhus/is/readme.md deleted file mode 100644 index 97c023b57..000000000 --- a/node_modules/@sindresorhus/is/readme.md +++ /dev/null @@ -1,451 +0,0 @@ -# is [![Build Status](https://travis-ci.org/sindresorhus/is.svg?branch=master)](https://travis-ci.org/sindresorhus/is) - -> Type check values: `is.string('🦄') //=> true` - - - - -## Install - -``` -$ npm install @sindresorhus/is -``` - - -## Usage - -```js -const is = require('@sindresorhus/is'); - -is('🦄'); -//=> 'string' - -is(new Map()); -//=> 'Map' - -is.number(6); -//=> true -``` - -When using `is` together with TypeScript, [type guards](http://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types) are being used to infer the correct type inside if-else statements. - -```ts -import is from '@sindresorhus/is'; - -const padLeft = (value: string, padding: string | number) => { - if (is.number(padding)) { - // `padding` is typed as `number` - return Array(padding + 1).join(' ') + value; - } - - if (is.string(padding)) { - // `padding` is typed as `string` - return padding + value; - } - - throw new TypeError(`Expected 'padding' to be of type 'string' or 'number', got '${is(padding)}'.`); -} - -padLeft('🦄', 3); -//=> ' 🦄' - -padLeft('🦄', '🌈'); -//=> '🌈🦄' -``` - - -## API - -### is(value) - -Returns the type of `value`. - -Primitives are lowercase and object types are camelcase. - -Example: - -- `'undefined'` -- `'null'` -- `'string'` -- `'symbol'` -- `'Array'` -- `'Function'` -- `'Object'` - -Note: It will throw an error if you try to feed it object-wrapped primitives, as that's a bad practice. For example `new String('foo')`. - -### is.{method} - -All the below methods accept a value and returns a boolean for whether the value is of the desired type. - -#### Primitives - -##### .undefined(value) -##### .null(value) -##### .string(value) -##### .number(value) -##### .boolean(value) -##### .symbol(value) - -#### Built-in types - -##### .array(value) -##### .function(value) -##### .buffer(value) -##### .object(value) - -Keep in mind that [functions are objects too](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions). - -##### .numericString(value) - -Returns `true` for a string that represents a number. For example, `'42'` and `'-8'`. - -Note: `'NaN'` returns `false`, but `'Infinity'` and `'-Infinity'` return `true`. - -##### .regExp(value) -##### .date(value) -##### .error(value) -##### .nativePromise(value) -##### .promise(value) - -Returns `true` for any object with a `.then()` and `.catch()` method. Prefer this one over `.nativePromise()` as you usually want to allow userland promise implementations too. - -##### .generator(value) - -Returns `true` for any object that implements its own `.next()` and `.throw()` methods and has a function definition for `Symbol.iterator`. - -##### .generatorFunction(value) - -##### .asyncFunction(value) - -Returns `true` for any `async` function that can be called with the `await` operator. - -```js -is.asyncFunction(async () => {}); -// => true - -is.asyncFunction(() => {}); -// => false -``` - -##### .boundFunction(value) - -Returns `true` for any `bound` function. - -```js -is.boundFunction(() => {}); -// => true - -is.boundFunction(function () {}.bind(null)); -// => true - -is.boundFunction(function () {}); -// => false -``` - -##### .map(value) -##### .set(value) -##### .weakMap(value) -##### .weakSet(value) - -#### Typed arrays - -##### .int8Array(value) -##### .uint8Array(value) -##### .uint8ClampedArray(value) -##### .int16Array(value) -##### .uint16Array(value) -##### .int32Array(value) -##### .uint32Array(value) -##### .float32Array(value) -##### .float64Array(value) - -#### Structured data - -##### .arrayBuffer(value) -##### .sharedArrayBuffer(value) -##### .dataView(value) - -#### Emptiness - -##### .emptyString(value) - -Returns `true` if the value is a `string` and the `.length` is 0. - -##### .nonEmptyString(value) - -Returns `true` if the value is a `string` and the `.length` is more than 0. - -##### .emptyStringOrWhitespace(value) - -Returns `true` if `is.emptyString(value)` or if it's a `string` that is all whitespace. - -##### .emptyArray(value) - -Returns `true` if the value is an `Array` and the `.length` is 0. - -##### .nonEmptyArray(value) - -Returns `true` if the value is an `Array` and the `.length` is more than 0. - -##### .emptyObject(value) - -Returns `true` if the value is an `Object` and `Object.keys(value).length` is 0. - -Please note that `Object.keys` returns only own enumerable properties. Hence something like this can happen: - -```js -const object1 = {}; - -Object.defineProperty(object1, 'property1', { - value: 42, - writable: true, - enumerable: false, - configurable: true -}); - -is.emptyObject(object1); -// => true -``` - -##### .nonEmptyObject(value) - -Returns `true` if the value is an `Object` and `Object.keys(value).length` is more than 0. - -##### .emptySet(value) - -Returns `true` if the value is a `Set` and the `.size` is 0. - -##### .nonEmptySet(Value) - -Returns `true` if the value is a `Set` and the `.size` is more than 0. - -##### .emptyMap(value) - -Returns `true` if the value is a `Map` and the `.size` is 0. - -##### .nonEmptyMap(value) - -Returns `true` if the value is a `Map` and the `.size` is more than 0. - -#### Miscellaneous - -##### .directInstanceOf(value, class) - -Returns `true` if `value` is a direct instance of `class`. - -```js -is.directInstanceOf(new Error(), Error); -//=> true - -class UnicornError extends Error {} - -is.directInstanceOf(new UnicornError(), Error); -//=> false -``` - -##### .urlInstance(value) - -Returns `true` if `value` is an instance of the [`URL` class](https://developer.mozilla.org/en-US/docs/Web/API/URL). - -```js -const url = new URL('https://example.com'); - -is.urlInstance(url); -//=> true -``` - -### .url(value) - -Returns `true` if `value` is a URL string. - -Note: this only does basic checking using the [`URL` class](https://developer.mozilla.org/en-US/docs/Web/API/URL) constructor. - -```js -const url = 'https://example.com'; - -is.url(url); -//=> true - -is.url(new URL(url)); -//=> false -``` - -##### .truthy(value) - -Returns `true` for all values that evaluate to true in a boolean context: - -```js -is.truthy('🦄'); -//=> true - -is.truthy(undefined); -//=> false -``` - -##### .falsy(value) - -Returns `true` if `value` is one of: `false`, `0`, `''`, `null`, `undefined`, `NaN`. - -##### .nan(value) -##### .nullOrUndefined(value) -##### .primitive(value) - -JavaScript primitives are as follows: `null`, `undefined`, `string`, `number`, `boolean`, `symbol`. - -##### .integer(value) - -##### .safeInteger(value) - -Returns `true` if `value` is a [safe integer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger). - -##### .plainObject(value) - -An object is plain if it's created by either `{}`, `new Object()`, or `Object.create(null)`. - -##### .iterable(value) -##### .asyncIterable(value) -##### .class(value) - -Returns `true` for instances created by a class. - -##### .typedArray(value) - -##### .arrayLike(value) - -A `value` is array-like if it is not a function and has a `value.length` that is a safe integer greater than or equal to 0. - -```js -is.arrayLike(document.forms); -//=> true - -function foo() { - is.arrayLike(arguments); - //=> true -} -foo(); -``` - -##### .inRange(value, range) - -Check if `value` (number) is in the given `range`. The range is an array of two values, lower bound and upper bound, in no specific order. - -```js -is.inRange(3, [0, 5]); -is.inRange(3, [5, 0]); -is.inRange(0, [-2, 2]); -``` - -##### .inRange(value, upperBound) - -Check if `value` (number) is in the range of `0` to `upperBound`. - -```js -is.inRange(3, 10); -``` - -##### .domElement(value) - -Returns `true` if `value` is a DOM Element. - -##### .nodeStream(value) - -Returns `true` if `value` is a Node.js [stream](https://nodejs.org/api/stream.html). - -```js -const fs = require('fs'); - -is.nodeStream(fs.createReadStream('unicorn.png')); -//=> true -``` - -##### .observable(value) - -Returns `true` if `value` is an `Observable`. - -```js -const {Observable} = require('rxjs'); - -is.observable(new Observable()); -//=> true -``` - -##### .infinite(value) - -Check if `value` is `Infinity` or `-Infinity`. - -##### .even(value) - -Returns `true` if `value` is an even integer. - -##### .odd(value) - -Returns `true` if `value` is an odd integer. - -##### .any(predicate, ...values) - -Returns `true` if **any** of the input `values` returns true in the `predicate`: - -```js -is.any(is.string, {}, true, '🦄'); -//=> true - -is.any(is.boolean, 'unicorns', [], new Map()); -//=> false -``` - -##### .all(predicate, ...values) - -Returns `true` if **all** of the input `values` returns true in the `predicate`: - -```js -is.all(is.object, {}, new Map(), new Set()); -//=> true - -is.all(is.string, '🦄', [], 'unicorns'); -//=> false -``` - - -## FAQ - -### Why yet another type checking module? - -There are hundreds of type checking modules on npm, unfortunately, I couldn't find any that fit my needs: - -- Includes both type methods and ability to get the type -- Types of primitives returned as lowercase and object types as camelcase -- Covers all built-ins -- Unsurprising behavior -- Well-maintained -- Comprehensive test suite - -For the ones I found, pick 3 of these. - -The most common mistakes I noticed in these modules was using `instanceof` for type checking, forgetting that functions are objects, and omitting `symbol` as a primitive. - - -## Related - -- [ow](https://github.com/sindresorhus/ow) - Function argument validation for humans -- [is-stream](https://github.com/sindresorhus/is-stream) - Check if something is a Node.js stream -- [is-observable](https://github.com/sindresorhus/is-observable) - Check if a value is an Observable -- [file-type](https://github.com/sindresorhus/file-type) - Detect the file type of a Buffer/Uint8Array -- [is-ip](https://github.com/sindresorhus/is-ip) - Check if a string is an IP address -- [is-array-sorted](https://github.com/sindresorhus/is-array-sorted) - Check if an Array is sorted -- [is-error-constructor](https://github.com/sindresorhus/is-error-constructor) - Check if a value is an error constructor -- [is-empty-iterable](https://github.com/sindresorhus/is-empty-iterable) - Check if an Iterable is empty -- [is-blob](https://github.com/sindresorhus/is-blob) - Check if a value is a Blob - File-like object of immutable, raw data -- [has-emoji](https://github.com/sindresorhus/has-emoji) - Check whether a string has any emoji - - -## Created by - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [Giora Guttsait](https://github.com/gioragutt) -- [Brandon Smith](https://github.com/brandon93s) - - -## License - -MIT diff --git a/node_modules/@sinonjs/commons/package.json b/node_modules/@sinonjs/commons/package.json index f0e6c14bc..5ce223245 100644 --- a/node_modules/@sinonjs/commons/package.json +++ b/node_modules/@sinonjs/commons/package.json @@ -1,41 +1,42 @@ { - "name": "@sinonjs/commons", - "version": "1.8.3", - "description": "Simple functions shared among the sinon end user libraries", - "main": "lib/index.js", - "types": "./types/index.d.ts", - "scripts": { - "build": "rm -rf types && tsc", - "lint": "eslint .", - "precommit": "lint-staged", - "test": "mocha --recursive -R dot \"lib/**/*.test.js\"", - "test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100", - "test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test", - "prepublishOnly": "npm run build", - "prettier:check": "prettier --check '**/*.{js,css,md}'", - "prettier:write": "prettier --write '**/*.{js,css,md}'", - "preversion": "npm run test-check-coverage", - "version": "changes --commits --footer", - "postversion": "git push --follow-tags && npm publish" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/sinonjs/commons.git" + "_args": [ + [ + "@sinonjs/commons@1.8.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@sinonjs/commons@1.8.3", + "_id": "@sinonjs/commons@1.8.3", + "_inBundle": false, + "_integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "_location": "/@sinonjs/commons", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@sinonjs/commons@1.8.3", + "name": "@sinonjs/commons", + "escapedName": "@sinonjs%2fcommons", + "scope": "@sinonjs", + "rawSpec": "1.8.3", + "saveSpec": null, + "fetchSpec": "1.8.3" }, - "files": [ - "lib", - "types" + "_requiredBy": [ + "/@sinonjs/fake-timers" ], + "_resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", + "_spec": "1.8.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": "", - "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/sinonjs/commons/issues" }, - "homepage": "https://github.com/sinonjs/commons#readme", - "lint-staged": { - "*.{js,css,md}": "prettier --check", - "*.js": "eslint" + "dependencies": { + "type-detect": "4.0.8" }, + "description": "Simple functions shared among the sinon end user libraries", "devDependencies": { "@sinonjs/eslint-plugin-no-prototype-methods": "^0.1.0", "@sinonjs/referee-sinon": "7.0.2", @@ -56,12 +57,41 @@ "prettier": "^1.14.3", "typescript": "^4.1.3" }, - "dependencies": { - "type-detect": "4.0.8" - }, + "files": [ + "lib", + "types" + ], + "homepage": "https://github.com/sinonjs/commons#readme", "husky": { "hooks": { "pre-commit": "lint-staged" } - } + }, + "license": "BSD-3-Clause", + "lint-staged": { + "*.{js,css,md}": "prettier --check", + "*.js": "eslint" + }, + "main": "lib/index.js", + "name": "@sinonjs/commons", + "repository": { + "type": "git", + "url": "git+https://github.com/sinonjs/commons.git" + }, + "scripts": { + "build": "rm -rf types && tsc", + "lint": "eslint .", + "postversion": "git push --follow-tags && npm publish", + "precommit": "lint-staged", + "prepublishOnly": "npm run build", + "prettier:check": "prettier --check '**/*.{js,css,md}'", + "prettier:write": "prettier --write '**/*.{js,css,md}'", + "preversion": "npm run test-check-coverage", + "test": "mocha --recursive -R dot \"lib/**/*.test.js\"", + "test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100", + "test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test", + "version": "changes --commits --footer" + }, + "types": "./types/index.d.ts", + "version": "1.8.3" } diff --git a/node_modules/@sinonjs/fake-timers/package.json b/node_modules/@sinonjs/fake-timers/package.json index 453d6dee1..37cc2c5cb 100644 --- a/node_modules/@sinonjs/fake-timers/package.json +++ b/node_modules/@sinonjs/fake-timers/package.json @@ -1,39 +1,44 @@ { - "name": "@sinonjs/fake-timers", - "description": "Fake JavaScript timers", - "version": "8.1.0", - "homepage": "https://github.com/sinonjs/fake-timers", - "author": "Christian Johansen", - "repository": { - "type": "git", - "url": "https://github.com/sinonjs/fake-timers.git" + "_args": [ + [ + "@sinonjs/fake-timers@8.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@sinonjs/fake-timers@8.1.0", + "_id": "@sinonjs/fake-timers@8.1.0", + "_inBundle": false, + "_integrity": "sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==", + "_location": "/@sinonjs/fake-timers", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@sinonjs/fake-timers@8.1.0", + "name": "@sinonjs/fake-timers", + "escapedName": "@sinonjs%2ffake-timers", + "scope": "@sinonjs", + "rawSpec": "8.1.0", + "saveSpec": null, + "fetchSpec": "8.1.0" + }, + "_requiredBy": [ + "/@jest/fake-timers" + ], + "_resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz", + "_spec": "8.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Christian Johansen" }, "bugs": { - "mail": "christian@cjohansen.no", "url": "https://github.com/sinonjs/fake-timers/issues" }, - "license": "BSD-3-Clause", - "scripts": { - "lint": "eslint .", - "test-node": "mocha --timeout 200 test/ integration-test/ -R dot --check-leaks", - "test-headless": "mochify --no-detect-globals --timeout=10000", - "test-check-coverage": "npm run test-coverage && nyc check-coverage", - "test-cloud": "mochify --wd --no-detect-globals --timeout=10000", - "test-coverage": "nyc --all --reporter text --reporter html --reporter lcovonly npm run test-node", - "test": "npm run test-node && npm run test-headless", - "prettier:check": "prettier --check '**/*.{js,css,md}'", - "prettier:write": "prettier --write '**/*.{js,css,md}'", - "preversion": "./scripts/preversion.sh", - "version": "./scripts/version.sh", - "postversion": "./scripts/postversion.sh" - }, - "lint-staged": { - "*.{js,css,md}": "prettier --check", - "*.js": "eslint" + "dependencies": { + "@sinonjs/commons": "^1.7.0" }, - "files": [ - "src/" - ], + "description": "Fake JavaScript timers", "devDependencies": { "@sinonjs/eslint-config": "4.0.2", "@sinonjs/referee-sinon": "6.0.1", @@ -47,15 +52,22 @@ "nyc": "14.1.1", "prettier": "2.2.1" }, - "main": "./src/fake-timers-src.js", - "dependencies": { - "@sinonjs/commons": "^1.7.0" - }, + "files": [ + "src/" + ], + "homepage": "https://github.com/sinonjs/fake-timers", "husky": { "hooks": { "pre-commit": "npm run lint" } }, + "license": "BSD-3-Clause", + "lint-staged": { + "*.{js,css,md}": "prettier --check", + "*.js": "eslint" + }, + "main": "./src/fake-timers-src.js", + "name": "@sinonjs/fake-timers", "nyc": { "branches": 85, "lines": 92, @@ -67,5 +79,24 @@ "types/**", "fake-timers.js" ] - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/sinonjs/fake-timers.git" + }, + "scripts": { + "lint": "eslint .", + "postversion": "./scripts/postversion.sh", + "prettier:check": "prettier --check '**/*.{js,css,md}'", + "prettier:write": "prettier --write '**/*.{js,css,md}'", + "preversion": "./scripts/preversion.sh", + "test": "npm run test-node && npm run test-headless", + "test-check-coverage": "npm run test-coverage && nyc check-coverage", + "test-cloud": "mochify --wd --no-detect-globals --timeout=10000", + "test-coverage": "nyc --all --reporter text --reporter html --reporter lcovonly npm run test-node", + "test-headless": "mochify --no-detect-globals --timeout=10000", + "test-node": "mocha --timeout 200 test/ integration-test/ -R dot --check-leaks", + "version": "./scripts/version.sh" + }, + "version": "8.1.0" } diff --git a/node_modules/@slack/types/package.json b/node_modules/@slack/types/package.json index 4a344c759..45619186c 100644 --- a/node_modules/@slack/types/package.json +++ b/node_modules/@slack/types/package.json @@ -1,45 +1,76 @@ { - "name": "@slack/types", - "version": "1.10.0", + "_from": "@slack/types@^1.2.1", + "_id": "@slack/types@1.10.0", + "_inBundle": false, + "_integrity": "sha512-tA7GG7Tj479vojfV3AoxbckalA48aK6giGjNtgH6ihpLwTyHE3fIgRrvt8TWfLwW8X8dyu7vgmAsGLRG7hWWOg==", + "_location": "/@slack/types", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@slack/types@^1.2.1", + "name": "@slack/types", + "escapedName": "@slack%2ftypes", + "scope": "@slack", + "rawSpec": "^1.2.1", + "saveSpec": null, + "fetchSpec": "^1.2.1" + }, + "_requiredBy": [ + "/@slack/webhook" + ], + "_resolved": "https://registry.npmjs.org/@slack/types/-/types-1.10.0.tgz", + "_shasum": "cbf7d83e1027f4cbfd13d6b429f120c7fb09127a", + "_spec": "@slack/types@^1.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@slack/webhook", + "author": { + "name": "Slack Technologies, Inc." + }, + "bugs": { + "url": "https://github.com/slackapi/node-slack-sdk/issues" + }, + "bundleDependencies": false, + "deprecated": false, "description": "Shared type definitions for the Node Slack SDK", - "author": "Slack Technologies, Inc.", - "license": "MIT", + "devDependencies": { + "@microsoft/api-extractor": "^7.3.4", + "shx": "^0.3.2", + "tslint": "^5.13.1", + "tslint-config-airbnb": "^5.11.1", + "typescript": "^3.3.3333" + }, + "engines": { + "node": ">= 8.9.0", + "npm": ">= 5.5.1" + }, + "files": [ + "dist/**/*" + ], + "homepage": "https://slack.dev/node-slack-sdk", "keywords": [ "slack", "typescript", "types", "api" ], + "license": "MIT", "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist/**/*" - ], - "engines": { - "node": ">= 8.9.0", - "npm": ">= 5.5.1" - }, - "repository": "slackapi/node-slack-sdk", - "homepage": "https://slack.dev/node-slack-sdk", + "name": "@slack/types", "publishConfig": { "access": "public" }, - "bugs": { - "url": "https://github.com/slackapi/node-slack-sdk/issues" + "repository": { + "type": "git", + "url": "git+https://github.com/slackapi/node-slack-sdk.git" }, "scripts": { - "prepare": "npm run build", "build": "npm run build:clean && tsc", "build:clean": "shx rm -rf ./dist", "lint": "tslint --project .", - "test": "npm run build && echo \"Tests are not implemented.\" && exit 0", - "ref-docs:model": "api-extractor run" + "prepare": "npm run build", + "ref-docs:model": "api-extractor run", + "test": "npm run build && echo \"Tests are not implemented.\" && exit 0" }, - "devDependencies": { - "@microsoft/api-extractor": "^7.3.4", - "shx": "^0.3.2", - "tslint": "^5.13.1", - "tslint-config-airbnb": "^5.11.1", - "typescript": "^3.3.3333" - } + "types": "dist/index.d.ts", + "version": "1.10.0" } diff --git a/node_modules/@slack/webhook/package.json b/node_modules/@slack/webhook/package.json index b04af7f99..6dcd22501 100644 --- a/node_modules/@slack/webhook/package.json +++ b/node_modules/@slack/webhook/package.json @@ -1,48 +1,42 @@ { - "name": "@slack/webhook", - "version": "5.0.4", - "description": "Official library for using the Slack Platform's Incoming Webhooks", - "author": "Slack Technologies, Inc.", - "license": "MIT", - "keywords": [ - "slack", - "request", - "client", - "http", - "api", - "proxy" - ], - "main": "dist/index.js", - "types": "./dist/index.d.ts", - "files": [ - "dist/**/*" - ], - "engines": { - "node": ">= 8.9.0", - "npm": ">= 5.5.1" + "_from": "@slack/webhook@^5.0.1", + "_id": "@slack/webhook@5.0.4", + "_inBundle": false, + "_integrity": "sha512-IC1dpVSc2F/pmwCxOb0QzH2xnGKmyT7MofPGhNkeaoiMrLMU+Oc7xV/AxGnz40mURtCtaDchZSM3tDo9c9x6BA==", + "_location": "/@slack/webhook", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@slack/webhook@^5.0.1", + "name": "@slack/webhook", + "escapedName": "@slack%2fwebhook", + "scope": "@slack", + "rawSpec": "^5.0.1", + "saveSpec": null, + "fetchSpec": "^5.0.1" }, - "repository": "slackapi/node-slack-sdk", - "homepage": "https://slack.dev/node-slack-sdk/webhook", - "publishConfig": { - "access": "public" + "_requiredBy": [ + "/@foo-software/lighthouse-check" + ], + "_resolved": "https://registry.npmjs.org/@slack/webhook/-/webhook-5.0.4.tgz", + "_shasum": "5d3e947387c1d0ccb176a153cec68c594edb7060", + "_spec": "@slack/webhook@^5.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@foo-software/lighthouse-check", + "author": { + "name": "Slack Technologies, Inc." }, "bugs": { "url": "https://github.com/slackapi/node-slack-sdk/issues" }, - "scripts": { - "prepare": "npm run build", - "build": "npm run build:clean && tsc", - "build:clean": "shx rm -rf ./dist ./coverage ./.nyc_output", - "lint": "tslint --project .", - "test": "npm run build && nyc mocha --config .mocharc.json src/*.spec.js", - "coverage": "codecov -F webhook --root=$PWD", - "ref-docs:model": "api-extractor run" - }, + "bundleDependencies": false, "dependencies": { "@slack/types": "^1.2.1", "@types/node": ">=8.9.0", "axios": "^0.21.1" }, + "deprecated": false, + "description": "Official library for using the Slack Platform's Incoming Webhooks", "devDependencies": { "@microsoft/api-extractor": "^7.3.4", "@types/chai": "^4.1.7", @@ -59,5 +53,42 @@ "tslint": "^5.13.1", "tslint-config-airbnb": "^5.11.1", "typescript": "^3.3.3333" - } + }, + "engines": { + "node": ">= 8.9.0", + "npm": ">= 5.5.1" + }, + "files": [ + "dist/**/*" + ], + "homepage": "https://slack.dev/node-slack-sdk/webhook", + "keywords": [ + "slack", + "request", + "client", + "http", + "api", + "proxy" + ], + "license": "MIT", + "main": "dist/index.js", + "name": "@slack/webhook", + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/slackapi/node-slack-sdk.git" + }, + "scripts": { + "build": "npm run build:clean && tsc", + "build:clean": "shx rm -rf ./dist ./coverage ./.nyc_output", + "coverage": "codecov -F webhook --root=$PWD", + "lint": "tslint --project .", + "prepare": "npm run build", + "ref-docs:model": "api-extractor run", + "test": "npm run build && nyc mocha --config .mocharc.json src/*.spec.js" + }, + "types": "./dist/index.d.ts", + "version": "5.0.4" } diff --git a/node_modules/@szmarczak/http-timer/LICENSE b/node_modules/@szmarczak/http-timer/LICENSE deleted file mode 100755 index 15ad2e8d5..000000000 --- a/node_modules/@szmarczak/http-timer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 Szymon Marczak - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/@szmarczak/http-timer/README.md b/node_modules/@szmarczak/http-timer/README.md deleted file mode 100755 index 13279ed8c..000000000 --- a/node_modules/@szmarczak/http-timer/README.md +++ /dev/null @@ -1,70 +0,0 @@ -# http-timer -> Timings for HTTP requests - -[![Build Status](https://travis-ci.org/szmarczak/http-timer.svg?branch=master)](https://travis-ci.org/szmarczak/http-timer) -[![Coverage Status](https://coveralls.io/repos/github/szmarczak/http-timer/badge.svg?branch=master)](https://coveralls.io/github/szmarczak/http-timer?branch=master) -[![install size](https://packagephobia.now.sh/badge?p=@szmarczak/http-timer)](https://packagephobia.now.sh/result?p=@szmarczak/http-timer) - -Inspired by the [`request` package](https://github.com/request/request). - -## Usage -```js -'use strict'; -const https = require('https'); -const timer = require('@szmarczak/http-timer'); - -const request = https.get('https://httpbin.org/anything'); -const timings = timer(request); - -request.on('response', response => { - response.on('data', () => {}); // Consume the data somehow - response.on('end', () => { - console.log(timings); - }); -}); - -// { start: 1535708511443, -// socket: 1535708511444, -// lookup: 1535708511444, -// connect: 1535708511582, -// upload: 1535708511887, -// response: 1535708512037, -// end: 1535708512040, -// phases: -// { wait: 1, -// dns: 0, -// tcp: 138, -// request: 305, -// firstByte: 150, -// download: 3, -// total: 597 } } -``` - -## API - -### timer(request) - -Returns: `Object` - -- `start` - Time when the request started. -- `socket` - Time when a socket was assigned to the request. -- `lookup` - Time when the DNS lookup finished. -- `connect` - Time when the socket successfully connected. -- `upload` - Time when the request finished uploading. -- `response` - Time when the request fired the `response` event. -- `end` - Time when the response fired the `end` event. -- `error` - Time when the request fired the `error` event. -- `phases` - - `wait` - `timings.socket - timings.start` - - `dns` - `timings.lookup - timings.socket` - - `tcp` - `timings.connect - timings.lookup` - - `request` - `timings.upload - timings.connect` - - `firstByte` - `timings.response - timings.upload` - - `download` - `timings.end - timings.response` - - `total` - `timings.end - timings.start` or `timings.error - timings.start` - -**Note**: The time is a `number` representing the milliseconds elapsed since the UNIX epoch. - -## License - -MIT diff --git a/node_modules/@szmarczak/http-timer/package.json b/node_modules/@szmarczak/http-timer/package.json deleted file mode 100755 index 9346648ba..000000000 --- a/node_modules/@szmarczak/http-timer/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@szmarczak/http-timer", - "version": "1.1.2", - "description": "Timings for HTTP requests", - "main": "source", - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && nyc ava", - "coveralls": "nyc report --reporter=text-lcov | coveralls" - }, - "files": [ - "source" - ], - "keywords": [ - "http", - "https", - "timer", - "timings" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/szmarczak/http-timer.git" - }, - "author": "Szymon Marczak", - "license": "MIT", - "bugs": { - "url": "https://github.com/szmarczak/http-timer/issues" - }, - "homepage": "https://github.com/szmarczak/http-timer#readme", - "xo": { - "rules": { - "unicorn/filename-case": "camelCase" - } - }, - "devDependencies": { - "ava": "^0.25.0", - "coveralls": "^3.0.2", - "p-event": "^2.1.0", - "nyc": "^12.0.2", - "xo": "^0.22.0" - }, - "dependencies": { - "defer-to-connect": "^1.0.1" - } -} diff --git a/node_modules/@szmarczak/http-timer/source/index.js b/node_modules/@szmarczak/http-timer/source/index.js deleted file mode 100755 index e29458040..000000000 --- a/node_modules/@szmarczak/http-timer/source/index.js +++ /dev/null @@ -1,99 +0,0 @@ -'use strict'; -const deferToConnect = require('defer-to-connect'); - -module.exports = request => { - const timings = { - start: Date.now(), - socket: null, - lookup: null, - connect: null, - upload: null, - response: null, - end: null, - error: null, - phases: { - wait: null, - dns: null, - tcp: null, - request: null, - firstByte: null, - download: null, - total: null - } - }; - - const handleError = origin => { - const emit = origin.emit.bind(origin); - origin.emit = (event, ...args) => { - // Catches the `error` event - if (event === 'error') { - timings.error = Date.now(); - timings.phases.total = timings.error - timings.start; - - origin.emit = emit; - } - - // Saves the original behavior - return emit(event, ...args); - }; - }; - - let uploadFinished = false; - const onUpload = () => { - timings.upload = Date.now(); - timings.phases.request = timings.upload - timings.connect; - }; - - handleError(request); - - request.once('socket', socket => { - timings.socket = Date.now(); - timings.phases.wait = timings.socket - timings.start; - - const lookupListener = () => { - timings.lookup = Date.now(); - timings.phases.dns = timings.lookup - timings.socket; - }; - - socket.once('lookup', lookupListener); - - deferToConnect(socket, () => { - timings.connect = Date.now(); - - if (timings.lookup === null) { - socket.removeListener('lookup', lookupListener); - timings.lookup = timings.connect; - timings.phases.dns = timings.lookup - timings.socket; - } - - timings.phases.tcp = timings.connect - timings.lookup; - - if (uploadFinished && !timings.upload) { - onUpload(); - } - }); - }); - - request.once('finish', () => { - uploadFinished = true; - - if (timings.connect) { - onUpload(); - } - }); - - request.once('response', response => { - timings.response = Date.now(); - timings.phases.firstByte = timings.response - timings.upload; - - handleError(response); - - response.once('end', () => { - timings.end = Date.now(); - timings.phases.download = timings.end - timings.response; - timings.phases.total = timings.end - timings.start; - }); - }); - - return timings; -}; diff --git a/node_modules/@tootallnate/once/package.json b/node_modules/@tootallnate/once/package.json index 8343f9fad..741ea6aad 100644 --- a/node_modules/@tootallnate/once/package.json +++ b/node_modules/@tootallnate/once/package.json @@ -1,29 +1,43 @@ { - "name": "@tootallnate/once", - "version": "1.1.2", - "description": "Creates a Promise that waits for a single event", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", - "files": [ - "dist" + "_args": [ + [ + "@tootallnate/once@1.1.2", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "prebuild": "rimraf dist", - "build": "tsc", - "test": "mocha --reporter spec", - "test-lint": "eslint src --ext .js,.ts", - "prepublishOnly": "npm run build" + "_development": true, + "_from": "@tootallnate/once@1.1.2", + "_id": "@tootallnate/once@1.1.2", + "_inBundle": false, + "_integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "_location": "/@tootallnate/once", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@tootallnate/once@1.1.2", + "name": "@tootallnate/once", + "escapedName": "@tootallnate%2fonce", + "scope": "@tootallnate", + "rawSpec": "1.1.2", + "saveSpec": null, + "fetchSpec": "1.1.2" }, - "repository": { - "type": "git", - "url": "git://github.com/TooTallNate/once.git" + "_requiredBy": [ + "/http-proxy-agent" + ], + "_resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", + "_spec": "1.1.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Nathan Rajlich", + "email": "nathan@tootallnate.net", + "url": "http://n8.io/" }, - "keywords": [], - "author": "Nathan Rajlich (http://n8.io/)", - "license": "MIT", "bugs": { "url": "https://github.com/TooTallNate/once/issues" }, + "description": "Creates a Promise that waits for a single event", "devDependencies": { "@types/node": "^12.12.11", "@typescript-eslint/eslint-plugin": "1.6.0", @@ -41,5 +55,26 @@ }, "engines": { "node": ">= 6" - } + }, + "files": [ + "dist" + ], + "homepage": "https://github.com/TooTallNate/once#readme", + "keywords": [], + "license": "MIT", + "main": "./dist/index.js", + "name": "@tootallnate/once", + "repository": { + "type": "git", + "url": "git://github.com/TooTallNate/once.git" + }, + "scripts": { + "build": "tsc", + "prebuild": "rimraf dist", + "prepublishOnly": "npm run build", + "test": "mocha --reporter spec", + "test-lint": "eslint src --ext .js,.ts" + }, + "types": "./dist/index.d.ts", + "version": "1.1.2" } diff --git a/node_modules/@tsconfig/node10/package.json b/node_modules/@tsconfig/node10/package.json index 7c472727f..3e371ed72 100644 --- a/node_modules/@tsconfig/node10/package.json +++ b/node_modules/@tsconfig/node10/package.json @@ -1 +1,45 @@ -{"name":"@tsconfig/node10","repository":{"type":"git","url":"https://github.com/tsconfig/bases.git","directory":"bases"},"license":"MIT","description":"A base TSConfig for working with Node 10.","version":"1.0.8"} \ No newline at end of file +{ + "_args": [ + [ + "@tsconfig/node10@1.0.8", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@tsconfig/node10@1.0.8", + "_id": "@tsconfig/node10@1.0.8", + "_inBundle": false, + "_integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==", + "_location": "/@tsconfig/node10", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@tsconfig/node10@1.0.8", + "name": "@tsconfig/node10", + "escapedName": "@tsconfig%2fnode10", + "scope": "@tsconfig", + "rawSpec": "1.0.8", + "saveSpec": null, + "fetchSpec": "1.0.8" + }, + "_requiredBy": [ + "/ts-node" + ], + "_resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", + "_spec": "1.0.8", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/tsconfig/bases/issues" + }, + "description": "A base TSConfig for working with Node 10.", + "homepage": "https://github.com/tsconfig/bases#readme", + "license": "MIT", + "name": "@tsconfig/node10", + "repository": { + "type": "git", + "url": "git+https://github.com/tsconfig/bases.git", + "directory": "bases" + }, + "version": "1.0.8" +} diff --git a/node_modules/@tsconfig/node12/package.json b/node_modules/@tsconfig/node12/package.json index 1025e4ccf..b273cedfe 100644 --- a/node_modules/@tsconfig/node12/package.json +++ b/node_modules/@tsconfig/node12/package.json @@ -1 +1,45 @@ -{"name":"@tsconfig/node12","repository":{"type":"git","url":"https://github.com/tsconfig/bases.git","directory":"bases"},"license":"MIT","description":"A base TSConfig for working with Node 12.","version":"1.0.9"} \ No newline at end of file +{ + "_args": [ + [ + "@tsconfig/node12@1.0.9", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@tsconfig/node12@1.0.9", + "_id": "@tsconfig/node12@1.0.9", + "_inBundle": false, + "_integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==", + "_location": "/@tsconfig/node12", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@tsconfig/node12@1.0.9", + "name": "@tsconfig/node12", + "escapedName": "@tsconfig%2fnode12", + "scope": "@tsconfig", + "rawSpec": "1.0.9", + "saveSpec": null, + "fetchSpec": "1.0.9" + }, + "_requiredBy": [ + "/ts-node" + ], + "_resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", + "_spec": "1.0.9", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/tsconfig/bases/issues" + }, + "description": "A base TSConfig for working with Node 12.", + "homepage": "https://github.com/tsconfig/bases#readme", + "license": "MIT", + "name": "@tsconfig/node12", + "repository": { + "type": "git", + "url": "git+https://github.com/tsconfig/bases.git", + "directory": "bases" + }, + "version": "1.0.9" +} diff --git a/node_modules/@tsconfig/node14/package.json b/node_modules/@tsconfig/node14/package.json index a73226ee2..71f75e564 100644 --- a/node_modules/@tsconfig/node14/package.json +++ b/node_modules/@tsconfig/node14/package.json @@ -1 +1,45 @@ -{"name":"@tsconfig/node14","repository":{"type":"git","url":"https://github.com/tsconfig/bases.git","directory":"bases"},"license":"MIT","description":"A base TSConfig for working with Node 14.","version":"1.0.1"} \ No newline at end of file +{ + "_args": [ + [ + "@tsconfig/node14@1.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@tsconfig/node14@1.0.1", + "_id": "@tsconfig/node14@1.0.1", + "_inBundle": false, + "_integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", + "_location": "/@tsconfig/node14", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@tsconfig/node14@1.0.1", + "name": "@tsconfig/node14", + "escapedName": "@tsconfig%2fnode14", + "scope": "@tsconfig", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" + }, + "_requiredBy": [ + "/ts-node" + ], + "_resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", + "_spec": "1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/tsconfig/bases/issues" + }, + "description": "A base TSConfig for working with Node 14.", + "homepage": "https://github.com/tsconfig/bases#readme", + "license": "MIT", + "name": "@tsconfig/node14", + "repository": { + "type": "git", + "url": "git+https://github.com/tsconfig/bases.git", + "directory": "bases" + }, + "version": "1.0.1" +} diff --git a/node_modules/@tsconfig/node16/package.json b/node_modules/@tsconfig/node16/package.json index 107d7151f..e76de3011 100644 --- a/node_modules/@tsconfig/node16/package.json +++ b/node_modules/@tsconfig/node16/package.json @@ -1 +1,45 @@ -{"name":"@tsconfig/node16","repository":{"type":"git","url":"https://github.com/tsconfig/bases.git","directory":"bases"},"license":"MIT","description":"A base TSConfig for working with Node 16.","version":"1.0.2"} \ No newline at end of file +{ + "_args": [ + [ + "@tsconfig/node16@1.0.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@tsconfig/node16@1.0.2", + "_id": "@tsconfig/node16@1.0.2", + "_inBundle": false, + "_integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "_location": "/@tsconfig/node16", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@tsconfig/node16@1.0.2", + "name": "@tsconfig/node16", + "escapedName": "@tsconfig%2fnode16", + "scope": "@tsconfig", + "rawSpec": "1.0.2", + "saveSpec": null, + "fetchSpec": "1.0.2" + }, + "_requiredBy": [ + "/ts-node" + ], + "_resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", + "_spec": "1.0.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/tsconfig/bases/issues" + }, + "description": "A base TSConfig for working with Node 16.", + "homepage": "https://github.com/tsconfig/bases#readme", + "license": "MIT", + "name": "@tsconfig/node16", + "repository": { + "type": "git", + "url": "git+https://github.com/tsconfig/bases.git", + "directory": "bases" + }, + "version": "1.0.2" +} diff --git a/node_modules/@types/babel__core/package.json b/node_modules/@types/babel__core/package.json index 72fa3fe49..5c8993371 100755 --- a/node_modules/@types/babel__core/package.json +++ b/node_modules/@types/babel__core/package.json @@ -1,51 +1,80 @@ { + "_args": [ + [ + "@types/babel__core@7.1.18", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/babel__core@7.1.18", + "_id": "@types/babel__core@7.1.18", + "_inBundle": false, + "_integrity": "sha512-S7unDjm/C7z2A2R9NzfKCK1I+BAALDtxEmsJBwlB3EzNfb929ykjL++1CK9LO++EIp2fQrC8O+BwjKvz6UeDyQ==", + "_location": "/@types/babel__core", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/babel__core@7.1.18", "name": "@types/babel__core", - "version": "7.1.18", - "description": "TypeScript definitions for @babel/core", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__core", - "license": "MIT", - "contributors": [ - { - "name": "Troy Gerwien", - "url": "https://github.com/yortus", - "githubUsername": "yortus" - }, - { - "name": "Marvin Hagemeister", - "url": "https://github.com/marvinhagemeister", - "githubUsername": "marvinhagemeister" - }, - { - "name": "Melvin Groenhoff", - "url": "https://github.com/mgroenhoff", - "githubUsername": "mgroenhoff" - }, - { - "name": "Jessica Franco", - "url": "https://github.com/Jessidhia", - "githubUsername": "Jessidhia" - }, - { - "name": "Ifiok Jr.", - "url": "https://github.com/ifiokjr", - "githubUsername": "ifiokjr" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/babel__core" + "escapedName": "@types%2fbabel__core", + "scope": "@types", + "rawSpec": "7.1.18", + "saveSpec": null, + "fetchSpec": "7.1.18" + }, + "_requiredBy": [ + "/babel-jest", + "/babel-plugin-jest-hoist" + ], + "_resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.18.tgz", + "_spec": "7.1.18", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Troy Gerwien", + "url": "https://github.com/yortus" }, - "scripts": {}, - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" + { + "name": "Marvin Hagemeister", + "url": "https://github.com/marvinhagemeister" }, - "typesPublisherContentHash": "3310d05f56f6ab3fd792adc1e156191125acfb51b18820e9869ceea2c59972f9", - "typeScriptVersion": "3.8" -} \ No newline at end of file + { + "name": "Melvin Groenhoff", + "url": "https://github.com/mgroenhoff" + }, + { + "name": "Jessica Franco", + "url": "https://github.com/Jessidhia" + }, + { + "name": "Ifiok Jr.", + "url": "https://github.com/ifiokjr" + } + ], + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + }, + "description": "TypeScript definitions for @babel/core", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__core", + "license": "MIT", + "main": "", + "name": "@types/babel__core", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/babel__core" + }, + "scripts": {}, + "typeScriptVersion": "3.8", + "types": "index.d.ts", + "typesPublisherContentHash": "3310d05f56f6ab3fd792adc1e156191125acfb51b18820e9869ceea2c59972f9", + "version": "7.1.18" +} diff --git a/node_modules/@types/babel__generator/package.json b/node_modules/@types/babel__generator/package.json index 882aea114..3715cde45 100755 --- a/node_modules/@types/babel__generator/package.json +++ b/node_modules/@types/babel__generator/package.json @@ -1,42 +1,71 @@ { + "_args": [ + [ + "@types/babel__generator@7.6.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/babel__generator@7.6.4", + "_id": "@types/babel__generator@7.6.4", + "_inBundle": false, + "_integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "_location": "/@types/babel__generator", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/babel__generator@7.6.4", "name": "@types/babel__generator", - "version": "7.6.4", - "description": "TypeScript definitions for @babel/generator", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__generator", - "license": "MIT", - "contributors": [ - { - "name": "Troy Gerwien", - "url": "https://github.com/yortus", - "githubUsername": "yortus" - }, - { - "name": "Melvin Groenhoff", - "url": "https://github.com/mgroenhoff", - "githubUsername": "mgroenhoff" - }, - { - "name": "Cameron Yan", - "url": "https://github.com/khell", - "githubUsername": "khell" - }, - { - "name": "Lyanbin", - "url": "https://github.com/Lyanbin", - "githubUsername": "Lyanbin" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/babel__generator" + "escapedName": "@types%2fbabel__generator", + "scope": "@types", + "rawSpec": "7.6.4", + "saveSpec": null, + "fetchSpec": "7.6.4" + }, + "_requiredBy": [ + "/@types/babel__core" + ], + "_resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", + "_spec": "7.6.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Troy Gerwien", + "url": "https://github.com/yortus" }, - "scripts": {}, - "dependencies": { - "@babel/types": "^7.0.0" + { + "name": "Melvin Groenhoff", + "url": "https://github.com/mgroenhoff" }, - "typesPublisherContentHash": "3f90df54610a10acd1ae9557d6d384b0e50a8e0f80cf0490c5d182461f9fbeb6", - "typeScriptVersion": "3.8" -} \ No newline at end of file + { + "name": "Cameron Yan", + "url": "https://github.com/khell" + }, + { + "name": "Lyanbin", + "url": "https://github.com/Lyanbin" + } + ], + "dependencies": { + "@babel/types": "^7.0.0" + }, + "description": "TypeScript definitions for @babel/generator", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__generator", + "license": "MIT", + "main": "", + "name": "@types/babel__generator", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/babel__generator" + }, + "scripts": {}, + "typeScriptVersion": "3.8", + "types": "index.d.ts", + "typesPublisherContentHash": "3f90df54610a10acd1ae9557d6d384b0e50a8e0f80cf0490c5d182461f9fbeb6", + "version": "7.6.4" +} diff --git a/node_modules/@types/babel__template/package.json b/node_modules/@types/babel__template/package.json index beac903ea..e471df50a 100755 --- a/node_modules/@types/babel__template/package.json +++ b/node_modules/@types/babel__template/package.json @@ -1,43 +1,72 @@ { + "_args": [ + [ + "@types/babel__template@7.4.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/babel__template@7.4.1", + "_id": "@types/babel__template@7.4.1", + "_inBundle": false, + "_integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "_location": "/@types/babel__template", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/babel__template@7.4.1", "name": "@types/babel__template", - "version": "7.4.1", - "description": "TypeScript definitions for @babel/template", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__template", - "license": "MIT", - "contributors": [ - { - "name": "Troy Gerwien", - "url": "https://github.com/yortus", - "githubUsername": "yortus" - }, - { - "name": "Marvin Hagemeister", - "url": "https://github.com/marvinhagemeister", - "githubUsername": "marvinhagemeister" - }, - { - "name": "Melvin Groenhoff", - "url": "https://github.com/mgroenhoff", - "githubUsername": "mgroenhoff" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss", - "githubUsername": "ExE-Boss" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/babel__template" + "escapedName": "@types%2fbabel__template", + "scope": "@types", + "rawSpec": "7.4.1", + "saveSpec": null, + "fetchSpec": "7.4.1" + }, + "_requiredBy": [ + "/@types/babel__core" + ], + "_resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", + "_spec": "7.4.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Troy Gerwien", + "url": "https://github.com/yortus" }, - "scripts": {}, - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" + { + "name": "Marvin Hagemeister", + "url": "https://github.com/marvinhagemeister" }, - "typesPublisherContentHash": "8b488d3b882af8da43e3bb35fc9efcf3bd5fdaec465b98ed620d47b2231b62ed", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Melvin Groenhoff", + "url": "https://github.com/mgroenhoff" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss" + } + ], + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + }, + "description": "TypeScript definitions for @babel/template", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__template", + "license": "MIT", + "main": "", + "name": "@types/babel__template", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/babel__template" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "8b488d3b882af8da43e3bb35fc9efcf3bd5fdaec465b98ed620d47b2231b62ed", + "version": "7.4.1" +} diff --git a/node_modules/@types/babel__traverse/package.json b/node_modules/@types/babel__traverse/package.json index 20421b30b..21644d726 100755 --- a/node_modules/@types/babel__traverse/package.json +++ b/node_modules/@types/babel__traverse/package.json @@ -1,69 +1,96 @@ { + "_args": [ + [ + "@types/babel__traverse@7.14.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/babel__traverse@7.14.2", + "_id": "@types/babel__traverse@7.14.2", + "_inBundle": false, + "_integrity": "sha512-K2waXdXBi2302XUdcHcR1jCeU0LL4TD9HRs/gk0N2Xvrht+G/BfJa4QObBQZfhMdxiCpV3COl5Nfq4uKTeTnJA==", + "_location": "/@types/babel__traverse", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/babel__traverse@7.14.2", "name": "@types/babel__traverse", - "version": "7.14.2", - "description": "TypeScript definitions for @babel/traverse", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__traverse", - "license": "MIT", - "contributors": [ - { - "name": "Troy Gerwien", - "url": "https://github.com/yortus", - "githubUsername": "yortus" - }, - { - "name": "Marvin Hagemeister", - "url": "https://github.com/marvinhagemeister", - "githubUsername": "marvinhagemeister" - }, - { - "name": "Ryan Petrich", - "url": "https://github.com/rpetrich", - "githubUsername": "rpetrich" - }, - { - "name": "Melvin Groenhoff", - "url": "https://github.com/mgroenhoff", - "githubUsername": "mgroenhoff" - }, - { - "name": "Dean L.", - "url": "https://github.com/dlgrit", - "githubUsername": "dlgrit" - }, - { - "name": "Ifiok Jr.", - "url": "https://github.com/ifiokjr", - "githubUsername": "ifiokjr" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss", - "githubUsername": "ExE-Boss" - }, - { - "name": "Daniel Tschinder", - "url": "https://github.com/danez", - "githubUsername": "danez" - } - ], - "main": "", - "types": "index.d.ts", - "typesVersions": { - "<=4.1": { - "*": [ - "ts4.1/*" - ] - } + "escapedName": "@types%2fbabel__traverse", + "scope": "@types", + "rawSpec": "7.14.2", + "saveSpec": null, + "fetchSpec": "7.14.2" + }, + "_requiredBy": [ + "/@types/babel__core", + "/babel-plugin-jest-hoist", + "/jest-snapshot" + ], + "_resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.14.2.tgz", + "_spec": "7.14.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Troy Gerwien", + "url": "https://github.com/yortus" }, - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/babel__traverse" + { + "name": "Marvin Hagemeister", + "url": "https://github.com/marvinhagemeister" }, - "scripts": {}, - "dependencies": { - "@babel/types": "^7.3.0" + { + "name": "Ryan Petrich", + "url": "https://github.com/rpetrich" }, - "typesPublisherContentHash": "8d70789a3891d0ba0e17f2c02325bf15b6b1061033e0a6071451a524bb833c92", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Melvin Groenhoff", + "url": "https://github.com/mgroenhoff" + }, + { + "name": "Dean L.", + "url": "https://github.com/dlgrit" + }, + { + "name": "Ifiok Jr.", + "url": "https://github.com/ifiokjr" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss" + }, + { + "name": "Daniel Tschinder", + "url": "https://github.com/danez" + } + ], + "dependencies": { + "@babel/types": "^7.3.0" + }, + "description": "TypeScript definitions for @babel/traverse", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__traverse", + "license": "MIT", + "main": "", + "name": "@types/babel__traverse", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/babel__traverse" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "8d70789a3891d0ba0e17f2c02325bf15b6b1061033e0a6071451a524bb833c92", + "typesVersions": { + "<=4.1": { + "*": [ + "ts4.1/*" + ] + } + }, + "version": "7.14.2" +} diff --git a/node_modules/@types/body-parser/package.json b/node_modules/@types/body-parser/package.json index 8f99f52b8..0b0588f62 100755 --- a/node_modules/@types/body-parser/package.json +++ b/node_modules/@types/body-parser/package.json @@ -1,58 +1,84 @@ { + "_args": [ + [ + "@types/body-parser@1.19.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/body-parser@1.19.2", + "_id": "@types/body-parser@1.19.2", + "_inBundle": false, + "_integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "_location": "/@types/body-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/body-parser@1.19.2", "name": "@types/body-parser", - "version": "1.19.2", - "description": "TypeScript definitions for body-parser", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser", - "license": "MIT", - "contributors": [ - { - "name": "Santi Albo", - "url": "https://github.com/santialbo", - "githubUsername": "santialbo" - }, - { - "name": "Vilic Vane", - "url": "https://github.com/vilic", - "githubUsername": "vilic" - }, - { - "name": "Jonathan Häberle", - "url": "https://github.com/dreampulse", - "githubUsername": "dreampulse" - }, - { - "name": "Gevik Babakhani", - "url": "https://github.com/blendsdk", - "githubUsername": "blendsdk" - }, - { - "name": "Tomasz Łaziuk", - "url": "https://github.com/tlaziuk", - "githubUsername": "tlaziuk" - }, - { - "name": "Jason Walton", - "url": "https://github.com/jwalton", - "githubUsername": "jwalton" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz", - "githubUsername": "peterblazejewicz" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/body-parser" + "escapedName": "@types%2fbody-parser", + "scope": "@types", + "rawSpec": "1.19.2", + "saveSpec": null, + "fetchSpec": "1.19.2" + }, + "_requiredBy": [ + "/@types/express" + ], + "_resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", + "_spec": "1.19.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Santi Albo", + "url": "https://github.com/santialbo" }, - "scripts": {}, - "dependencies": { - "@types/connect": "*", - "@types/node": "*" + { + "name": "Vilic Vane", + "url": "https://github.com/vilic" }, - "typesPublisherContentHash": "ad069aa8b9e8a95f66df025de11975c773540e4071000abdb7db565579b013ee", - "typeScriptVersion": "3.7" -} \ No newline at end of file + { + "name": "Jonathan Häberle", + "url": "https://github.com/dreampulse" + }, + { + "name": "Gevik Babakhani", + "url": "https://github.com/blendsdk" + }, + { + "name": "Tomasz Łaziuk", + "url": "https://github.com/tlaziuk" + }, + { + "name": "Jason Walton", + "url": "https://github.com/jwalton" + }, + { + "name": "Piotr Błażejewicz", + "url": "https://github.com/peterblazejewicz" + } + ], + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + }, + "description": "TypeScript definitions for body-parser", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser", + "license": "MIT", + "main": "", + "name": "@types/body-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/body-parser" + }, + "scripts": {}, + "typeScriptVersion": "3.7", + "types": "index.d.ts", + "typesPublisherContentHash": "ad069aa8b9e8a95f66df025de11975c773540e4071000abdb7db565579b013ee", + "version": "1.19.2" +} diff --git a/node_modules/@types/connect/package.json b/node_modules/@types/connect/package.json index dff5f1040..5795c0d23 100755 --- a/node_modules/@types/connect/package.json +++ b/node_modules/@types/connect/package.json @@ -1,32 +1,63 @@ { + "_args": [ + [ + "@types/connect@3.4.35", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/connect@3.4.35", + "_id": "@types/connect@3.4.35", + "_inBundle": false, + "_integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "_location": "/@types/connect", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/connect@3.4.35", "name": "@types/connect", - "version": "3.4.35", - "description": "TypeScript definitions for connect", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect", - "license": "MIT", - "contributors": [ - { - "name": "Maxime LUCE", - "url": "https://github.com/SomaticIT", - "githubUsername": "SomaticIT" - }, - { - "name": "Evan Hahn", - "url": "https://github.com/EvanHahn", - "githubUsername": "EvanHahn" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/connect" + "escapedName": "@types%2fconnect", + "scope": "@types", + "rawSpec": "3.4.35", + "saveSpec": null, + "fetchSpec": "3.4.35" + }, + "_requiredBy": [ + "/@types/body-parser" + ], + "_resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "_spec": "3.4.35", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Maxime LUCE", + "url": "https://github.com/SomaticIT" }, - "scripts": {}, - "dependencies": { - "@types/node": "*" - }, - "typesPublisherContentHash": "09c0dcec5f675cb2bdd7487a85447955f769ef4ab174294478c4f055b528fecc", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Evan Hahn", + "url": "https://github.com/EvanHahn" + } + ], + "dependencies": { + "@types/node": "*" + }, + "description": "TypeScript definitions for connect", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect", + "license": "MIT", + "main": "", + "name": "@types/connect", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/connect" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "09c0dcec5f675cb2bdd7487a85447955f769ef4ab174294478c4f055b528fecc", + "version": "3.4.35" +} diff --git a/node_modules/@types/express-serve-static-core/package.json b/node_modules/@types/express-serve-static-core/package.json index 6f1cfbb98..a69041153 100755 --- a/node_modules/@types/express-serve-static-core/package.json +++ b/node_modules/@types/express-serve-static-core/package.json @@ -1,66 +1,92 @@ { + "_args": [ + [ + "@types/express-serve-static-core@4.17.27", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/express-serve-static-core@4.17.27", + "_id": "@types/express-serve-static-core@4.17.27", + "_inBundle": false, + "_integrity": "sha512-e/sVallzUTPdyOTiqi8O8pMdBBphscvI6E4JYaKlja4Lm+zh7UFSSdW5VMkRbhDtmrONqOUHOXRguPsDckzxNA==", + "_location": "/@types/express-serve-static-core", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/express-serve-static-core@4.17.27", "name": "@types/express-serve-static-core", - "version": "4.17.27", - "description": "TypeScript definitions for Express", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-serve-static-core", - "license": "MIT", - "contributors": [ - { - "name": "Boris Yankov", - "url": "https://github.com/borisyankov", - "githubUsername": "borisyankov" - }, - { - "name": "Michał Lytek", - "url": "https://github.com/19majkel94", - "githubUsername": "19majkel94" - }, - { - "name": "Satana Charuwichitratana", - "url": "https://github.com/micksatana", - "githubUsername": "micksatana" - }, - { - "name": "Sami Jaber", - "url": "https://github.com/samijaber", - "githubUsername": "samijaber" - }, - { - "name": "Jose Luis Leon", - "url": "https://github.com/JoseLion", - "githubUsername": "JoseLion" - }, - { - "name": "David Stephens", - "url": "https://github.com/dwrss", - "githubUsername": "dwrss" - }, - { - "name": "Shin Ando", - "url": "https://github.com/andoshin11", - "githubUsername": "andoshin11" - } - ], - "main": "", - "types": "index.d.ts", - "typesVersions": { - "<=4.0": { - "*": [ - "ts4.0/*" - ] - } + "escapedName": "@types%2fexpress-serve-static-core", + "scope": "@types", + "rawSpec": "4.17.27", + "saveSpec": null, + "fetchSpec": "4.17.27" + }, + "_requiredBy": [ + "/@types/express" + ], + "_resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.27.tgz", + "_spec": "4.17.27", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Boris Yankov", + "url": "https://github.com/borisyankov" }, - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/express-serve-static-core" + { + "name": "Michał Lytek", + "url": "https://github.com/19majkel94" }, - "scripts": {}, - "dependencies": { - "@types/node": "*", - "@types/qs": "*", - "@types/range-parser": "*" + { + "name": "Satana Charuwichitratana", + "url": "https://github.com/micksatana" }, - "typesPublisherContentHash": "9dd0cf3cb51afc07203ed9ae63769824b5a7c2ecdcba7d08dbb702178ccf8907", - "typeScriptVersion": "3.8" -} \ No newline at end of file + { + "name": "Sami Jaber", + "url": "https://github.com/samijaber" + }, + { + "name": "Jose Luis Leon", + "url": "https://github.com/JoseLion" + }, + { + "name": "David Stephens", + "url": "https://github.com/dwrss" + }, + { + "name": "Shin Ando", + "url": "https://github.com/andoshin11" + } + ], + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*" + }, + "description": "TypeScript definitions for Express", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-serve-static-core", + "license": "MIT", + "main": "", + "name": "@types/express-serve-static-core", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/express-serve-static-core" + }, + "scripts": {}, + "typeScriptVersion": "3.8", + "types": "index.d.ts", + "typesPublisherContentHash": "9dd0cf3cb51afc07203ed9ae63769824b5a7c2ecdcba7d08dbb702178ccf8907", + "typesVersions": { + "<=4.0": { + "*": [ + "ts4.0/*" + ] + } + }, + "version": "4.17.27" +} diff --git a/node_modules/@types/express/package.json b/node_modules/@types/express/package.json index b7eb8898a..e30c56357 100755 --- a/node_modules/@types/express/package.json +++ b/node_modules/@types/express/package.json @@ -1,52 +1,81 @@ { + "_args": [ + [ + "@types/express@4.17.13", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/express@4.17.13", + "_id": "@types/express@4.17.13", + "_inBundle": false, + "_integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", + "_location": "/@types/express", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/express@4.17.13", "name": "@types/express", - "version": "4.17.13", - "description": "TypeScript definitions for Express", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express", - "license": "MIT", - "contributors": [ - { - "name": "Boris Yankov", - "url": "https://github.com/borisyankov", - "githubUsername": "borisyankov" - }, - { - "name": "China Medical University Hospital", - "url": "https://github.com/CMUH", - "githubUsername": "CMUH" - }, - { - "name": "Puneet Arora", - "url": "https://github.com/puneetar", - "githubUsername": "puneetar" - }, - { - "name": "Dylan Frankland", - "url": "https://github.com/dfrankland", - "githubUsername": "dfrankland" - } - ], - "main": "", - "types": "index.d.ts", - "typesVersions": { - "<=4.0": { - "*": [ - "ts4.0/*" - ] - } + "escapedName": "@types%2fexpress", + "scope": "@types", + "rawSpec": "4.17.13", + "saveSpec": null, + "fetchSpec": "4.17.13" + }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", + "_spec": "4.17.13", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Boris Yankov", + "url": "https://github.com/borisyankov" }, - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/express" + { + "name": "China Medical University Hospital", + "url": "https://github.com/CMUH" }, - "scripts": {}, - "dependencies": { - "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.18", - "@types/qs": "*", - "@types/serve-static": "*" + { + "name": "Puneet Arora", + "url": "https://github.com/puneetar" }, - "typesPublisherContentHash": "df0c9de39b435f4152916282f0ae9e98f0548d6b50f6bb6aedddc52e4e3f25a7", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Dylan Frankland", + "url": "https://github.com/dfrankland" + } + ], + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.18", + "@types/qs": "*", + "@types/serve-static": "*" + }, + "description": "TypeScript definitions for Express", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express", + "license": "MIT", + "main": "", + "name": "@types/express", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/express" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "df0c9de39b435f4152916282f0ae9e98f0548d6b50f6bb6aedddc52e4e3f25a7", + "typesVersions": { + "<=4.0": { + "*": [ + "ts4.0/*" + ] + } + }, + "version": "4.17.13" +} diff --git a/node_modules/@types/graceful-fs/package.json b/node_modules/@types/graceful-fs/package.json index 60c06c36b..05f5870d0 100644 --- a/node_modules/@types/graceful-fs/package.json +++ b/node_modules/@types/graceful-fs/package.json @@ -1,31 +1,63 @@ { + "_args": [ + [ + "@types/graceful-fs@4.1.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/graceful-fs@4.1.5", + "_id": "@types/graceful-fs@4.1.5", + "_inBundle": false, + "_integrity": "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==", + "_location": "/@types/graceful-fs", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/graceful-fs@4.1.5", "name": "@types/graceful-fs", - "version": "4.1.5", - "description": "TypeScript definitions for graceful-fs", - "license": "MIT", - "contributors": [ - { - "name": "Bart van der Schoor", - "url": "https://github.com/Bartvds", - "githubUsername": "Bartvds" - }, - { - "name": "BendingBender", - "url": "https://github.com/BendingBender", - "githubUsername": "BendingBender" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/graceful-fs" + "escapedName": "@types%2fgraceful-fs", + "scope": "@types", + "rawSpec": "4.1.5", + "saveSpec": null, + "fetchSpec": "4.1.5" + }, + "_requiredBy": [ + "/jest-haste-map" + ], + "_resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", + "_spec": "4.1.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Bart van der Schoor", + "url": "https://github.com/Bartvds" }, - "scripts": {}, - "dependencies": { - "@types/node": "*" - }, - "typesPublisherContentHash": "3e053765471f17a5b5cdd161ea0773a8d7dc77e032922e2c4cae1393e2c66ac4", - "typeScriptVersion": "3.9" -} \ No newline at end of file + { + "name": "BendingBender", + "url": "https://github.com/BendingBender" + } + ], + "dependencies": { + "@types/node": "*" + }, + "description": "TypeScript definitions for graceful-fs", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", + "license": "MIT", + "main": "", + "name": "@types/graceful-fs", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/graceful-fs" + }, + "scripts": {}, + "typeScriptVersion": "3.9", + "types": "index.d.ts", + "typesPublisherContentHash": "3e053765471f17a5b5cdd161ea0773a8d7dc77e032922e2c4cae1393e2c66ac4", + "version": "4.1.5" +} diff --git a/node_modules/@types/istanbul-lib-coverage/package.json b/node_modules/@types/istanbul-lib-coverage/package.json index ab6688ea6..6b53ebcca 100755 --- a/node_modules/@types/istanbul-lib-coverage/package.json +++ b/node_modules/@types/istanbul-lib-coverage/package.json @@ -1,25 +1,60 @@ { + "_args": [ + [ + "@types/istanbul-lib-coverage@2.0.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/istanbul-lib-coverage@2.0.4", + "_id": "@types/istanbul-lib-coverage@2.0.4", + "_inBundle": false, + "_integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "_location": "/@types/istanbul-lib-coverage", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/istanbul-lib-coverage@2.0.4", "name": "@types/istanbul-lib-coverage", - "version": "2.0.4", - "description": "TypeScript definitions for istanbul-lib-coverage", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-coverage", - "license": "MIT", - "contributors": [ - { - "name": "Jason Cheatham", - "url": "https://github.com/jason0x43", - "githubUsername": "jason0x43" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/istanbul-lib-coverage" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "4df627cf114fc2a3196e0bde6df85bc30eb84e778319bcc5dcfdf962ee9fe093", - "typeScriptVersion": "3.8" -} \ No newline at end of file + "escapedName": "@types%2fistanbul-lib-coverage", + "scope": "@types", + "rawSpec": "2.0.4", + "saveSpec": null, + "fetchSpec": "2.0.4" + }, + "_requiredBy": [ + "/@jest/test-result", + "/@jest/types", + "/@types/istanbul-lib-report", + "/v8-to-istanbul" + ], + "_resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", + "_spec": "2.0.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Jason Cheatham", + "url": "https://github.com/jason0x43" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for istanbul-lib-coverage", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-coverage", + "license": "MIT", + "main": "", + "name": "@types/istanbul-lib-coverage", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/istanbul-lib-coverage" + }, + "scripts": {}, + "typeScriptVersion": "3.8", + "types": "index.d.ts", + "typesPublisherContentHash": "4df627cf114fc2a3196e0bde6df85bc30eb84e778319bcc5dcfdf962ee9fe093", + "version": "2.0.4" +} diff --git a/node_modules/@types/istanbul-lib-report/package.json b/node_modules/@types/istanbul-lib-report/package.json index c3a619f9b..420007a97 100644 --- a/node_modules/@types/istanbul-lib-report/package.json +++ b/node_modules/@types/istanbul-lib-report/package.json @@ -1,31 +1,63 @@ { + "_args": [ + [ + "@types/istanbul-lib-report@3.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/istanbul-lib-report@3.0.0", + "_id": "@types/istanbul-lib-report@3.0.0", + "_inBundle": false, + "_integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "_location": "/@types/istanbul-lib-report", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/istanbul-lib-report@3.0.0", "name": "@types/istanbul-lib-report", - "version": "3.0.0", - "description": "TypeScript definitions for istanbul-lib-report", - "license": "MIT", - "contributors": [ - { - "name": "Jason Cheatham", - "url": "https://github.com/jason0x43", - "githubUsername": "jason0x43" - }, - { - "name": "Zacharias Björngren", - "url": "https://github.com/zache", - "githubUsername": "zache" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/istanbul-lib-report" + "escapedName": "@types%2fistanbul-lib-report", + "scope": "@types", + "rawSpec": "3.0.0", + "saveSpec": null, + "fetchSpec": "3.0.0" + }, + "_requiredBy": [ + "/@types/istanbul-reports" + ], + "_resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "_spec": "3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Jason Cheatham", + "url": "https://github.com/jason0x43" }, - "scripts": {}, - "dependencies": { - "@types/istanbul-lib-coverage": "*" - }, - "typesPublisherContentHash": "f8b2f5e15a24d9f52a96c5cfadb0f582bf6200ce8643e15422c3c8f1a2bb1c63", - "typeScriptVersion": "2.8" -} \ No newline at end of file + { + "name": "Zacharias Björngren", + "url": "https://github.com/zache" + } + ], + "dependencies": { + "@types/istanbul-lib-coverage": "*" + }, + "description": "TypeScript definitions for istanbul-lib-report", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", + "license": "MIT", + "main": "", + "name": "@types/istanbul-lib-report", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/istanbul-lib-report" + }, + "scripts": {}, + "typeScriptVersion": "2.8", + "types": "index.d.ts", + "typesPublisherContentHash": "f8b2f5e15a24d9f52a96c5cfadb0f582bf6200ce8643e15422c3c8f1a2bb1c63", + "version": "3.0.0" +} diff --git a/node_modules/@types/istanbul-reports/package.json b/node_modules/@types/istanbul-reports/package.json index 3e7d0262e..3903430f3 100755 --- a/node_modules/@types/istanbul-reports/package.json +++ b/node_modules/@types/istanbul-reports/package.json @@ -1,32 +1,63 @@ { + "_args": [ + [ + "@types/istanbul-reports@3.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/istanbul-reports@3.0.1", + "_id": "@types/istanbul-reports@3.0.1", + "_inBundle": false, + "_integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "_location": "/@types/istanbul-reports", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/istanbul-reports@3.0.1", "name": "@types/istanbul-reports", - "version": "3.0.1", - "description": "TypeScript definitions for istanbul-reports", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports", - "license": "MIT", - "contributors": [ - { - "name": "Jason Cheatham", - "url": "https://github.com/jason0x43", - "githubUsername": "jason0x43" - }, - { - "name": "Elena Shcherbakova", - "url": "https://github.com/not-a-doctor", - "githubUsername": "not-a-doctor" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/istanbul-reports" + "escapedName": "@types%2fistanbul-reports", + "scope": "@types", + "rawSpec": "3.0.1", + "saveSpec": null, + "fetchSpec": "3.0.1" + }, + "_requiredBy": [ + "/@jest/types" + ], + "_resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", + "_spec": "3.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Jason Cheatham", + "url": "https://github.com/jason0x43" }, - "scripts": {}, - "dependencies": { - "@types/istanbul-lib-report": "*" - }, - "typesPublisherContentHash": "b331eb26db90bca3bd6f1e18a10a4f37631f149624847439756763800996e143", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Elena Shcherbakova", + "url": "https://github.com/not-a-doctor" + } + ], + "dependencies": { + "@types/istanbul-lib-report": "*" + }, + "description": "TypeScript definitions for istanbul-reports", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports", + "license": "MIT", + "main": "", + "name": "@types/istanbul-reports", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/istanbul-reports" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "b331eb26db90bca3bd6f1e18a10a4f37631f149624847439756763800996e143", + "version": "3.0.1" +} diff --git a/node_modules/@types/jest/package.json b/node_modules/@types/jest/package.json index ceb707422..6af9ee412 100755 --- a/node_modules/@types/jest/package.json +++ b/node_modules/@types/jest/package.json @@ -1,164 +1,170 @@ { + "_args": [ + [ + "@types/jest@27.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/jest@27.4.0", + "_id": "@types/jest@27.4.0", + "_inBundle": false, + "_integrity": "sha512-gHl8XuC1RZ8H2j5sHv/JqsaxXkDDM9iDOgu0Wp8sjs4u/snb2PVehyWXJPr+ORA0RPpgw231mnutWI1+0hgjIQ==", + "_location": "/@types/jest", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/jest@27.4.0", "name": "@types/jest", - "version": "27.4.0", - "description": "TypeScript definitions for Jest", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest", - "license": "MIT", - "contributors": [ - { - "name": "Asana (https://asana.com)\n// Ivo Stratev", - "url": "https://github.com/NoHomey", - "githubUsername": "NoHomey" - }, - { - "name": "jwbay", - "url": "https://github.com/jwbay", - "githubUsername": "jwbay" - }, - { - "name": "Alexey Svetliakov", - "url": "https://github.com/asvetliakov", - "githubUsername": "asvetliakov" - }, - { - "name": "Alex Jover Morales", - "url": "https://github.com/alexjoverm", - "githubUsername": "alexjoverm" - }, - { - "name": "Allan Lukwago", - "url": "https://github.com/epicallan", - "githubUsername": "epicallan" - }, - { - "name": "Ika", - "url": "https://github.com/ikatyang", - "githubUsername": "ikatyang" - }, - { - "name": "Waseem Dahman", - "url": "https://github.com/wsmd", - "githubUsername": "wsmd" - }, - { - "name": "Jamie Mason", - "url": "https://github.com/JamieMason", - "githubUsername": "JamieMason" - }, - { - "name": "Douglas Duteil", - "url": "https://github.com/douglasduteil", - "githubUsername": "douglasduteil" - }, - { - "name": "Ahn", - "url": "https://github.com/ahnpnl", - "githubUsername": "ahnpnl" - }, - { - "name": "Jeff Lau", - "url": "https://github.com/UselessPickles", - "githubUsername": "UselessPickles" - }, - { - "name": "Andrew Makarov", - "url": "https://github.com/r3nya", - "githubUsername": "r3nya" - }, - { - "name": "Martin Hochel", - "url": "https://github.com/hotell", - "githubUsername": "hotell" - }, - { - "name": "Sebastian Sebald", - "url": "https://github.com/sebald", - "githubUsername": "sebald" - }, - { - "name": "Andy", - "url": "https://github.com/andys8", - "githubUsername": "andys8" - }, - { - "name": "Antoine Brault", - "url": "https://github.com/antoinebrault", - "githubUsername": "antoinebrault" - }, - { - "name": "Gregor Stamać", - "url": "https://github.com/gstamac", - "githubUsername": "gstamac" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss", - "githubUsername": "ExE-Boss" - }, - { - "name": "Alex Bolenok", - "url": "https://github.com/quassnoi", - "githubUsername": "quassnoi" - }, - { - "name": "Mario Beltrán Alarcón", - "url": "https://github.com/Belco90", - "githubUsername": "Belco90" - }, - { - "name": "Tony Hallett", - "url": "https://github.com/tonyhallett", - "githubUsername": "tonyhallett" - }, - { - "name": "Jason Yu", - "url": "https://github.com/ycmjason", - "githubUsername": "ycmjason" - }, - { - "name": "Devansh Jethmalani", - "url": "https://github.com/devanshj", - "githubUsername": "devanshj" - }, - { - "name": "Pawel Fajfer", - "url": "https://github.com/pawfa", - "githubUsername": "pawfa" - }, - { - "name": "Regev Brody", - "url": "https://github.com/regevbr", - "githubUsername": "regevbr" - }, - { - "name": "Alexandre Germain", - "url": "https://github.com/gerkindev", - "githubUsername": "gerkindev" - }, - { - "name": "Adam Jones", - "url": "https://github.com/domdomegg", - "githubUsername": "domdomegg" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/jest" - }, - "scripts": {}, - "dependencies": { - "jest-diff": "^27.0.0", - "pretty-format": "^27.0.0" - }, - "typesPublisherContentHash": "cf5a9ca981139ca2b3fd3058aa9e1996fc35d99f253515d270de1ff8ea1e6e77", - "typeScriptVersion": "3.8", - "exports": { - ".": { - "types": "./index.d.ts" - }, - "./package.json": "./package.json" + "escapedName": "@types%2fjest", + "scope": "@types", + "rawSpec": "27.4.0", + "saveSpec": null, + "fetchSpec": "27.4.0" + }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.4.0.tgz", + "_spec": "27.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Asana", + "url": "https://asana.com" + }, + { + "name": "jwbay", + "url": "https://github.com/jwbay" + }, + { + "name": "Alexey Svetliakov", + "url": "https://github.com/asvetliakov" + }, + { + "name": "Alex Jover Morales", + "url": "https://github.com/alexjoverm" + }, + { + "name": "Allan Lukwago", + "url": "https://github.com/epicallan" + }, + { + "name": "Ika", + "url": "https://github.com/ikatyang" + }, + { + "name": "Waseem Dahman", + "url": "https://github.com/wsmd" + }, + { + "name": "Jamie Mason", + "url": "https://github.com/JamieMason" + }, + { + "name": "Douglas Duteil", + "url": "https://github.com/douglasduteil" + }, + { + "name": "Ahn", + "url": "https://github.com/ahnpnl" + }, + { + "name": "Jeff Lau", + "url": "https://github.com/UselessPickles" + }, + { + "name": "Andrew Makarov", + "url": "https://github.com/r3nya" + }, + { + "name": "Martin Hochel", + "url": "https://github.com/hotell" + }, + { + "name": "Sebastian Sebald", + "url": "https://github.com/sebald" + }, + { + "name": "Andy", + "url": "https://github.com/andys8" + }, + { + "name": "Antoine Brault", + "url": "https://github.com/antoinebrault" + }, + { + "name": "Gregor Stamać", + "url": "https://github.com/gstamac" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss" + }, + { + "name": "Alex Bolenok", + "url": "https://github.com/quassnoi" + }, + { + "name": "Mario Beltrán Alarcón", + "url": "https://github.com/Belco90" + }, + { + "name": "Tony Hallett", + "url": "https://github.com/tonyhallett" + }, + { + "name": "Jason Yu", + "url": "https://github.com/ycmjason" + }, + { + "name": "Devansh Jethmalani", + "url": "https://github.com/devanshj" + }, + { + "name": "Pawel Fajfer", + "url": "https://github.com/pawfa" + }, + { + "name": "Regev Brody", + "url": "https://github.com/regevbr" + }, + { + "name": "Alexandre Germain", + "url": "https://github.com/gerkindev" + }, + { + "name": "Adam Jones", + "url": "https://github.com/domdomegg" } -} \ No newline at end of file + ], + "dependencies": { + "jest-diff": "^27.0.0", + "pretty-format": "^27.0.0" + }, + "description": "TypeScript definitions for Jest", + "exports": { + ".": { + "types": "./index.d.ts" + }, + "./package.json": "./package.json" + }, + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest", + "license": "MIT", + "main": "", + "name": "@types/jest", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/jest" + }, + "scripts": {}, + "typeScriptVersion": "3.8", + "types": "index.d.ts", + "typesPublisherContentHash": "cf5a9ca981139ca2b3fd3058aa9e1996fc35d99f253515d270de1ff8ea1e6e77", + "version": "27.4.0" +} diff --git a/node_modules/@types/json-schema/package.json b/node_modules/@types/json-schema/package.json index 21da7ac7b..b3a38349b 100755 --- a/node_modules/@types/json-schema/package.json +++ b/node_modules/@types/json-schema/package.json @@ -1,45 +1,74 @@ { + "_args": [ + [ + "@types/json-schema@7.0.9", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/json-schema@7.0.9", + "_id": "@types/json-schema@7.0.9", + "_inBundle": false, + "_integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", + "_location": "/@types/json-schema", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/json-schema@7.0.9", "name": "@types/json-schema", - "version": "7.0.9", - "description": "TypeScript definitions for json-schema 4.0, 6.0 and", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema", - "license": "MIT", - "contributors": [ - { - "name": "Boris Cherny", - "url": "https://github.com/bcherny", - "githubUsername": "bcherny" - }, - { - "name": "Cyrille Tuzi", - "url": "https://github.com/cyrilletuzi", - "githubUsername": "cyrilletuzi" - }, - { - "name": "Lucian Buzzo", - "url": "https://github.com/lucianbuzzo", - "githubUsername": "lucianbuzzo" - }, - { - "name": "Roland Groza", - "url": "https://github.com/rolandjitsu", - "githubUsername": "rolandjitsu" - }, - { - "name": "Jason Kwok", - "url": "https://github.com/JasonHK", - "githubUsername": "JasonHK" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/json-schema" + "escapedName": "@types%2fjson-schema", + "scope": "@types", + "rawSpec": "7.0.9", + "saveSpec": null, + "fetchSpec": "7.0.9" + }, + "_requiredBy": [ + "/@typescript-eslint/experimental-utils", + "/eslint-plugin-jest/@typescript-eslint/experimental-utils" + ], + "_resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "_spec": "7.0.9", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Boris Cherny", + "url": "https://github.com/bcherny" }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "2eb4af77c88f8be05a313707b99902ae4fc14609b7a2af2b5ce7007443a63253", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Cyrille Tuzi", + "url": "https://github.com/cyrilletuzi" + }, + { + "name": "Lucian Buzzo", + "url": "https://github.com/lucianbuzzo" + }, + { + "name": "Roland Groza", + "url": "https://github.com/rolandjitsu" + }, + { + "name": "Jason Kwok", + "url": "https://github.com/JasonHK" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for json-schema 4.0, 6.0 and", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-schema", + "license": "MIT", + "main": "", + "name": "@types/json-schema", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/json-schema" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "2eb4af77c88f8be05a313707b99902ae4fc14609b7a2af2b5ce7007443a63253", + "version": "7.0.9" +} diff --git a/node_modules/@types/lodash.get/package.json b/node_modules/@types/lodash.get/package.json index c1ddb168b..881014d53 100644 --- a/node_modules/@types/lodash.get/package.json +++ b/node_modules/@types/lodash.get/package.json @@ -1,36 +1,67 @@ { + "_args": [ + [ + "@types/lodash.get@4.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/lodash.get@4.4.6", + "_id": "@types/lodash.get@4.4.6", + "_inBundle": false, + "_integrity": "sha512-E6zzjR3GtNig8UJG/yodBeJeIOtgPkMgsLjDU3CbgCAPC++vJ0eCMnJhVpRZb/ENqEFlov1+3K9TKtY4UdWKtQ==", + "_location": "/@types/lodash.get", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/lodash.get@4.4.6", "name": "@types/lodash.get", - "version": "4.4.6", - "description": "TypeScript definitions for lodash.get", - "license": "MIT", - "contributors": [ - { - "name": "Brian Zengel", - "url": "https://github.com/bczengel", - "githubUsername": "bczengel" - }, - { - "name": "Ilya Mochalov", - "url": "https://github.com/chrootsu", - "githubUsername": "chrootsu" - }, - { - "name": "Stepan Mikhaylyuk", - "url": "https://github.com/stepancar", - "githubUsername": "stepancar" - } - ], - "main": "", - "types": "index", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/lodash.get" + "escapedName": "@types%2flodash.get", + "scope": "@types", + "rawSpec": "4.4.6", + "saveSpec": null, + "fetchSpec": "4.4.6" + }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/@types/lodash.get/-/lodash.get-4.4.6.tgz", + "_spec": "4.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Brian Zengel", + "url": "https://github.com/bczengel" }, - "scripts": {}, - "dependencies": { - "@types/lodash": "*" + { + "name": "Ilya Mochalov", + "url": "https://github.com/chrootsu" }, - "typesPublisherContentHash": "02295b9252fefd17df1fb204f521f10b443c54626555061766de27b8501cf48b", - "typeScriptVersion": "2.8" -} \ No newline at end of file + { + "name": "Stepan Mikhaylyuk", + "url": "https://github.com/stepancar" + } + ], + "dependencies": { + "@types/lodash": "*" + }, + "description": "TypeScript definitions for lodash.get", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", + "license": "MIT", + "main": "", + "name": "@types/lodash.get", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/lodash.get" + }, + "scripts": {}, + "typeScriptVersion": "2.8", + "types": "index", + "typesPublisherContentHash": "02295b9252fefd17df1fb204f521f10b443c54626555061766de27b8501cf48b", + "version": "4.4.6" +} diff --git a/node_modules/@types/lodash/package.json b/node_modules/@types/lodash/package.json index 1d845ed65..94be96865 100755 --- a/node_modules/@types/lodash/package.json +++ b/node_modules/@types/lodash/package.json @@ -1,65 +1,89 @@ { + "_args": [ + [ + "@types/lodash@4.14.178", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/lodash@4.14.178", + "_id": "@types/lodash@4.14.178", + "_inBundle": false, + "_integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==", + "_location": "/@types/lodash", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/lodash@4.14.178", "name": "@types/lodash", - "version": "4.14.178", - "description": "TypeScript definitions for Lo-Dash", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash", - "license": "MIT", - "contributors": [ - { - "name": "Brian Zengel", - "url": "https://github.com/bczengel", - "githubUsername": "bczengel" - }, - { - "name": "Ilya Mochalov", - "url": "https://github.com/chrootsu", - "githubUsername": "chrootsu" - }, - { - "name": "Stepan Mikhaylyuk", - "url": "https://github.com/stepancar", - "githubUsername": "stepancar" - }, - { - "name": "AJ Richardson", - "url": "https://github.com/aj-r", - "githubUsername": "aj-r" - }, - { - "name": "e-cloud", - "url": "https://github.com/e-cloud", - "githubUsername": "e-cloud" - }, - { - "name": "Georgii Dolzhykov", - "url": "https://github.com/thorn0", - "githubUsername": "thorn0" - }, - { - "name": "Jack Moore", - "url": "https://github.com/jtmthf", - "githubUsername": "jtmthf" - }, - { - "name": "Dominique Rau", - "url": "https://github.com/DomiR", - "githubUsername": "DomiR" - }, - { - "name": "William Chelman", - "url": "https://github.com/WilliamChelman", - "githubUsername": "WilliamChelman" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/lodash" + "escapedName": "@types%2flodash", + "scope": "@types", + "rawSpec": "4.14.178", + "saveSpec": null, + "fetchSpec": "4.14.178" + }, + "_requiredBy": [ + "/@types/lodash.get" + ], + "_resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.178.tgz", + "_spec": "4.14.178", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Brian Zengel", + "url": "https://github.com/bczengel" }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "384d214d3c2ff6fd2cf69999d5b94ad9eb175a68ce624d78fa2c8fe2888ec27e", - "typeScriptVersion": "3.8" -} \ No newline at end of file + { + "name": "Ilya Mochalov", + "url": "https://github.com/chrootsu" + }, + { + "name": "Stepan Mikhaylyuk", + "url": "https://github.com/stepancar" + }, + { + "name": "AJ Richardson", + "url": "https://github.com/aj-r" + }, + { + "name": "e-cloud", + "url": "https://github.com/e-cloud" + }, + { + "name": "Georgii Dolzhykov", + "url": "https://github.com/thorn0" + }, + { + "name": "Jack Moore", + "url": "https://github.com/jtmthf" + }, + { + "name": "Dominique Rau", + "url": "https://github.com/DomiR" + }, + { + "name": "William Chelman", + "url": "https://github.com/WilliamChelman" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for Lo-Dash", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash", + "license": "MIT", + "main": "", + "name": "@types/lodash", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/lodash" + }, + "scripts": {}, + "typeScriptVersion": "3.8", + "types": "index.d.ts", + "typesPublisherContentHash": "384d214d3c2ff6fd2cf69999d5b94ad9eb175a68ce624d78fa2c8fe2888ec27e", + "version": "4.14.178" +} diff --git a/node_modules/@types/mime/package.json b/node_modules/@types/mime/package.json index ad46550f3..f7591361e 100644 --- a/node_modules/@types/mime/package.json +++ b/node_modules/@types/mime/package.json @@ -1,29 +1,61 @@ { + "_args": [ + [ + "@types/mime@1.3.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/mime@1.3.2", + "_id": "@types/mime@1.3.2", + "_inBundle": false, + "_integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", + "_location": "/@types/mime", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/mime@1.3.2", "name": "@types/mime", - "version": "1.3.2", - "description": "TypeScript definitions for mime", - "license": "MIT", - "contributors": [ - { - "name": "Jeff Goddard", - "url": "https://github.com/jedigo", - "githubUsername": "jedigo" - }, - { - "name": "Daniel Hritzkiv", - "url": "https://github.com/dhritzkiv", - "githubUsername": "dhritzkiv" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/mime" + "escapedName": "@types%2fmime", + "scope": "@types", + "rawSpec": "1.3.2", + "saveSpec": null, + "fetchSpec": "1.3.2" + }, + "_requiredBy": [ + "/@types/serve-static" + ], + "_resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", + "_spec": "1.3.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Jeff Goddard", + "url": "https://github.com/jedigo" }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "529a2ee85950b588c079bd053520c5b3c2bbff1886870bc08188284265324348", - "typeScriptVersion": "3.4" -} \ No newline at end of file + { + "name": "Daniel Hritzkiv", + "url": "https://github.com/dhritzkiv" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for mime", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", + "license": "MIT", + "main": "", + "name": "@types/mime", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/mime" + }, + "scripts": {}, + "typeScriptVersion": "3.4", + "types": "index.d.ts", + "typesPublisherContentHash": "529a2ee85950b588c079bd053520c5b3c2bbff1886870bc08188284265324348", + "version": "1.3.2" +} diff --git a/node_modules/@types/minimist/package.json b/node_modules/@types/minimist/package.json index 99ea2d207..b174e79ba 100755 --- a/node_modules/@types/minimist/package.json +++ b/node_modules/@types/minimist/package.json @@ -1,40 +1,65 @@ { + "_from": "@types/minimist@^1.2.0", + "_id": "@types/minimist@1.2.2", + "_inBundle": false, + "_integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", + "_location": "/@types/minimist", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@types/minimist@^1.2.0", "name": "@types/minimist", - "version": "1.2.2", - "description": "TypeScript definitions for minimist", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimist", - "license": "MIT", - "contributors": [ - { - "name": "Bart van der Schoor", - "url": "https://github.com/Bartvds", - "githubUsername": "Bartvds" - }, - { - "name": "Necroskillz", - "url": "https://github.com/Necroskillz", - "githubUsername": "Necroskillz" - }, - { - "name": "kamranayub", - "url": "https://github.com/kamranayub", - "githubUsername": "kamranayub" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz", - "githubUsername": "peterblazejewicz" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/minimist" + "escapedName": "@types%2fminimist", + "scope": "@types", + "rawSpec": "^1.2.0", + "saveSpec": null, + "fetchSpec": "^1.2.0" + }, + "_requiredBy": [ + "/meow" + ], + "_resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", + "_shasum": "ee771e2ba4b3dc5b372935d549fd9617bf345b8c", + "_spec": "@types/minimist@^1.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/meow", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Bart van der Schoor", + "url": "https://github.com/Bartvds" }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "9032205d52417d0f537f1e52af6f7ac447acb4b87dca0ab5840b83ec7818232e", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Necroskillz", + "url": "https://github.com/Necroskillz" + }, + { + "name": "kamranayub", + "url": "https://github.com/kamranayub" + }, + { + "name": "Piotr Błażejewicz", + "url": "https://github.com/peterblazejewicz" + } + ], + "dependencies": {}, + "deprecated": false, + "description": "TypeScript definitions for minimist", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimist", + "license": "MIT", + "main": "", + "name": "@types/minimist", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/minimist" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "9032205d52417d0f537f1e52af6f7ac447acb4b87dca0ab5840b83ec7818232e", + "version": "1.2.2" +} diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json index d3dd70872..3903e9313 100755 --- a/node_modules/@types/node/package.json +++ b/node_modules/@types/node/package.json @@ -1,230 +1,245 @@ { + "_args": [ + [ + "@types/node@17.0.8", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "@types/node@17.0.8", + "_id": "@types/node@17.0.8", + "_inBundle": false, + "_integrity": "sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==", + "_location": "/@types/node", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/node@17.0.8", "name": "@types/node", - "version": "17.0.8", - "description": "TypeScript definitions for Node.js", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", - "license": "MIT", - "contributors": [ - { - "name": "Microsoft TypeScript", - "url": "https://github.com/Microsoft", - "githubUsername": "Microsoft" - }, - { - "name": "DefinitelyTyped", - "url": "https://github.com/DefinitelyTyped", - "githubUsername": "DefinitelyTyped" - }, - { - "name": "Alberto Schiabel", - "url": "https://github.com/jkomyno", - "githubUsername": "jkomyno" - }, - { - "name": "Alvis HT Tang", - "url": "https://github.com/alvis", - "githubUsername": "alvis" - }, - { - "name": "Andrew Makarov", - "url": "https://github.com/r3nya", - "githubUsername": "r3nya" - }, - { - "name": "Benjamin Toueg", - "url": "https://github.com/btoueg", - "githubUsername": "btoueg" - }, - { - "name": "Chigozirim C.", - "url": "https://github.com/smac89", - "githubUsername": "smac89" - }, - { - "name": "David Junger", - "url": "https://github.com/touffy", - "githubUsername": "touffy" - }, - { - "name": "Deividas Bakanas", - "url": "https://github.com/DeividasBakanas", - "githubUsername": "DeividasBakanas" - }, - { - "name": "Eugene Y. Q. Shen", - "url": "https://github.com/eyqs", - "githubUsername": "eyqs" - }, - { - "name": "Hannes Magnusson", - "url": "https://github.com/Hannes-Magnusson-CK", - "githubUsername": "Hannes-Magnusson-CK" - }, - { - "name": "Huw", - "url": "https://github.com/hoo29", - "githubUsername": "hoo29" - }, - { - "name": "Kelvin Jin", - "url": "https://github.com/kjin", - "githubUsername": "kjin" - }, - { - "name": "Klaus Meinhardt", - "url": "https://github.com/ajafff", - "githubUsername": "ajafff" - }, - { - "name": "Lishude", - "url": "https://github.com/islishude", - "githubUsername": "islishude" - }, - { - "name": "Mariusz Wiktorczyk", - "url": "https://github.com/mwiktorczyk", - "githubUsername": "mwiktorczyk" - }, - { - "name": "Mohsen Azimi", - "url": "https://github.com/mohsen1", - "githubUsername": "mohsen1" - }, - { - "name": "Nicolas Even", - "url": "https://github.com/n-e", - "githubUsername": "n-e" - }, - { - "name": "Nikita Galkin", - "url": "https://github.com/galkin", - "githubUsername": "galkin" - }, - { - "name": "Parambir Singh", - "url": "https://github.com/parambirs", - "githubUsername": "parambirs" - }, - { - "name": "Sebastian Silbermann", - "url": "https://github.com/eps1lon", - "githubUsername": "eps1lon" - }, - { - "name": "Seth Westphal", - "url": "https://github.com/westy92", - "githubUsername": "westy92" - }, - { - "name": "Simon Schick", - "url": "https://github.com/SimonSchick", - "githubUsername": "SimonSchick" - }, - { - "name": "Thomas den Hollander", - "url": "https://github.com/ThomasdenH", - "githubUsername": "ThomasdenH" - }, - { - "name": "Wilco Bakker", - "url": "https://github.com/WilcoBakker", - "githubUsername": "WilcoBakker" - }, - { - "name": "wwwy3y3", - "url": "https://github.com/wwwy3y3", - "githubUsername": "wwwy3y3" - }, - { - "name": "Samuel Ainsworth", - "url": "https://github.com/samuela", - "githubUsername": "samuela" - }, - { - "name": "Kyle Uehlein", - "url": "https://github.com/kuehlein", - "githubUsername": "kuehlein" - }, - { - "name": "Thanik Bhongbhibhat", - "url": "https://github.com/bhongy", - "githubUsername": "bhongy" - }, - { - "name": "Marcin Kopacz", - "url": "https://github.com/chyzwar", - "githubUsername": "chyzwar" - }, - { - "name": "Trivikram Kamat", - "url": "https://github.com/trivikr", - "githubUsername": "trivikr" - }, - { - "name": "Junxiao Shi", - "url": "https://github.com/yoursunny", - "githubUsername": "yoursunny" - }, - { - "name": "Ilia Baryshnikov", - "url": "https://github.com/qwelias", - "githubUsername": "qwelias" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss", - "githubUsername": "ExE-Boss" - }, - { - "name": "Surasak Chaisurin", - "url": "https://github.com/Ryan-Willpower", - "githubUsername": "Ryan-Willpower" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz", - "githubUsername": "peterblazejewicz" - }, - { - "name": "Anna Henningsen", - "url": "https://github.com/addaleax", - "githubUsername": "addaleax" - }, - { - "name": "Victor Perin", - "url": "https://github.com/victorperin", - "githubUsername": "victorperin" - }, - { - "name": "Yongsheng Zhang", - "url": "https://github.com/ZYSzys", - "githubUsername": "ZYSzys" - }, - { - "name": "NodeJS Contributors", - "url": "https://github.com/NodeJS", - "githubUsername": "NodeJS" - }, - { - "name": "Linus Unnebäck", - "url": "https://github.com/LinusU", - "githubUsername": "LinusU" - }, - { - "name": "wafuwafu13", - "url": "https://github.com/wafuwafu13", - "githubUsername": "wafuwafu13" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/node" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "133a958e0122898f222d66bf1e776d90a38ee878a694bbe229cf5e02db71deef", - "typeScriptVersion": "3.8" -} \ No newline at end of file + "escapedName": "@types%2fnode", + "scope": "@types", + "rawSpec": "17.0.8", + "saveSpec": null, + "fetchSpec": "17.0.8" + }, + "_requiredBy": [ + "/@jest/console", + "/@jest/core", + "/@jest/environment", + "/@jest/fake-timers", + "/@jest/reporters", + "/@jest/types", + "/@slack/webhook", + "/@types/body-parser", + "/@types/connect", + "/@types/express-serve-static-core", + "/@types/graceful-fs", + "/@types/serve-static", + "/chrome-launcher", + "/jest-circus", + "/jest-environment-jsdom", + "/jest-environment-node", + "/jest-haste-map", + "/jest-jasmine2", + "/jest-mock", + "/jest-runner", + "/jest-serializer", + "/jest-util", + "/jest-watcher", + "/jest-worker", + "/lighthouse/chrome-launcher", + "/speedline-core" + ], + "_resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.8.tgz", + "_spec": "17.0.8", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Microsoft TypeScript", + "url": "https://github.com/Microsoft" + }, + { + "name": "DefinitelyTyped", + "url": "https://github.com/DefinitelyTyped" + }, + { + "name": "Alberto Schiabel", + "url": "https://github.com/jkomyno" + }, + { + "name": "Alvis HT Tang", + "url": "https://github.com/alvis" + }, + { + "name": "Andrew Makarov", + "url": "https://github.com/r3nya" + }, + { + "name": "Benjamin Toueg", + "url": "https://github.com/btoueg" + }, + { + "name": "Chigozirim C.", + "url": "https://github.com/smac89" + }, + { + "name": "David Junger", + "url": "https://github.com/touffy" + }, + { + "name": "Deividas Bakanas", + "url": "https://github.com/DeividasBakanas" + }, + { + "name": "Eugene Y. Q. Shen", + "url": "https://github.com/eyqs" + }, + { + "name": "Hannes Magnusson", + "url": "https://github.com/Hannes-Magnusson-CK" + }, + { + "name": "Huw", + "url": "https://github.com/hoo29" + }, + { + "name": "Kelvin Jin", + "url": "https://github.com/kjin" + }, + { + "name": "Klaus Meinhardt", + "url": "https://github.com/ajafff" + }, + { + "name": "Lishude", + "url": "https://github.com/islishude" + }, + { + "name": "Mariusz Wiktorczyk", + "url": "https://github.com/mwiktorczyk" + }, + { + "name": "Mohsen Azimi", + "url": "https://github.com/mohsen1" + }, + { + "name": "Nicolas Even", + "url": "https://github.com/n-e" + }, + { + "name": "Nikita Galkin", + "url": "https://github.com/galkin" + }, + { + "name": "Parambir Singh", + "url": "https://github.com/parambirs" + }, + { + "name": "Sebastian Silbermann", + "url": "https://github.com/eps1lon" + }, + { + "name": "Seth Westphal", + "url": "https://github.com/westy92" + }, + { + "name": "Simon Schick", + "url": "https://github.com/SimonSchick" + }, + { + "name": "Thomas den Hollander", + "url": "https://github.com/ThomasdenH" + }, + { + "name": "Wilco Bakker", + "url": "https://github.com/WilcoBakker" + }, + { + "name": "wwwy3y3", + "url": "https://github.com/wwwy3y3" + }, + { + "name": "Samuel Ainsworth", + "url": "https://github.com/samuela" + }, + { + "name": "Kyle Uehlein", + "url": "https://github.com/kuehlein" + }, + { + "name": "Thanik Bhongbhibhat", + "url": "https://github.com/bhongy" + }, + { + "name": "Marcin Kopacz", + "url": "https://github.com/chyzwar" + }, + { + "name": "Trivikram Kamat", + "url": "https://github.com/trivikr" + }, + { + "name": "Junxiao Shi", + "url": "https://github.com/yoursunny" + }, + { + "name": "Ilia Baryshnikov", + "url": "https://github.com/qwelias" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss" + }, + { + "name": "Surasak Chaisurin", + "url": "https://github.com/Ryan-Willpower" + }, + { + "name": "Piotr Błażejewicz", + "url": "https://github.com/peterblazejewicz" + }, + { + "name": "Anna Henningsen", + "url": "https://github.com/addaleax" + }, + { + "name": "Victor Perin", + "url": "https://github.com/victorperin" + }, + { + "name": "Yongsheng Zhang", + "url": "https://github.com/ZYSzys" + }, + { + "name": "NodeJS Contributors", + "url": "https://github.com/NodeJS" + }, + { + "name": "Linus Unnebäck", + "url": "https://github.com/LinusU" + }, + { + "name": "wafuwafu13", + "url": "https://github.com/wafuwafu13" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for Node.js", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", + "license": "MIT", + "main": "", + "name": "@types/node", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/node" + }, + "scripts": {}, + "typeScriptVersion": "3.8", + "types": "index.d.ts", + "typesPublisherContentHash": "133a958e0122898f222d66bf1e776d90a38ee878a694bbe229cf5e02db71deef", + "version": "17.0.8" +} diff --git a/node_modules/@types/normalize-package-data/package.json b/node_modules/@types/normalize-package-data/package.json index 1f61182ea..af637c618 100755 --- a/node_modules/@types/normalize-package-data/package.json +++ b/node_modules/@types/normalize-package-data/package.json @@ -1,25 +1,53 @@ { + "_from": "@types/normalize-package-data@^2.4.0", + "_id": "@types/normalize-package-data@2.4.1", + "_inBundle": false, + "_integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", + "_location": "/@types/normalize-package-data", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "@types/normalize-package-data@^2.4.0", "name": "@types/normalize-package-data", - "version": "2.4.1", - "description": "TypeScript definitions for normalize-package-data", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/normalize-package-data", - "license": "MIT", - "contributors": [ - { - "name": "Jeff Dickey", - "url": "https://github.com/jdxcode", - "githubUsername": "jdxcode" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/normalize-package-data" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "10653410655e204616118acfbe2900dc09227bc3a80c532a93d44b46be54db36", - "typeScriptVersion": "3.6" -} \ No newline at end of file + "escapedName": "@types%2fnormalize-package-data", + "scope": "@types", + "rawSpec": "^2.4.0", + "saveSpec": null, + "fetchSpec": "^2.4.0" + }, + "_requiredBy": [ + "/read-pkg" + ], + "_resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "_shasum": "d3357479a0fdfdd5907fe67e17e0a85c906e1301", + "_spec": "@types/normalize-package-data@^2.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/read-pkg", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Jeff Dickey", + "url": "https://github.com/jdxcode" + } + ], + "dependencies": {}, + "deprecated": false, + "description": "TypeScript definitions for normalize-package-data", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/normalize-package-data", + "license": "MIT", + "main": "", + "name": "@types/normalize-package-data", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/normalize-package-data" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "10653410655e204616118acfbe2900dc09227bc3a80c532a93d44b46be54db36", + "version": "2.4.1" +} diff --git a/node_modules/@types/parse-json/package.json b/node_modules/@types/parse-json/package.json index cdc08dc53..b87a0bab3 100644 --- a/node_modules/@types/parse-json/package.json +++ b/node_modules/@types/parse-json/package.json @@ -1,22 +1,55 @@ { + "_args": [ + [ + "@types/parse-json@4.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/parse-json@4.0.0", + "_id": "@types/parse-json@4.0.0", + "_inBundle": false, + "_integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "_location": "/@types/parse-json", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/parse-json@4.0.0", "name": "@types/parse-json", - "version": "4.0.0", - "description": "TypeScript definitions for parse-json", - "license": "MIT", - "contributors": [ - { - "name": "mrmlnc", - "url": "https://github.com/mrmlnc", - "githubUsername": "mrmlnc" - } - ], - "main": "", - "repository": { - "type": "git", - "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "68b3120a3ffa0ae0c978a90b74a1e50adc0340a9d11f17cc1efb7bf2186e7751", - "typeScriptVersion": "2.0" -} \ No newline at end of file + "escapedName": "@types%2fparse-json", + "scope": "@types", + "rawSpec": "4.0.0", + "saveSpec": null, + "fetchSpec": "4.0.0" + }, + "_requiredBy": [ + "/cosmiconfig" + ], + "_resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "_spec": "4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "mrmlnc", + "url": "https://github.com/mrmlnc" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for parse-json", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", + "license": "MIT", + "main": "", + "name": "@types/parse-json", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git" + }, + "scripts": {}, + "typeScriptVersion": "2.0", + "typesPublisherContentHash": "68b3120a3ffa0ae0c978a90b74a1e50adc0340a9d11f17cc1efb7bf2186e7751", + "version": "4.0.0" +} diff --git a/node_modules/@types/prettier/package.json b/node_modules/@types/prettier/package.json index a97adde85..00ddb5c1a 100755 --- a/node_modules/@types/prettier/package.json +++ b/node_modules/@types/prettier/package.json @@ -1,65 +1,89 @@ { + "_args": [ + [ + "@types/prettier@2.4.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/prettier@2.4.2", + "_id": "@types/prettier@2.4.2", + "_inBundle": false, + "_integrity": "sha512-ekoj4qOQYp7CvjX8ZDBgN86w3MqQhLE1hczEJbEIjgFEumDy+na/4AJAbLXfgEWFNB2pKadM5rPFtuSGMWK7xA==", + "_location": "/@types/prettier", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/prettier@2.4.2", "name": "@types/prettier", - "version": "2.4.2", - "description": "TypeScript definitions for prettier", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier", - "license": "MIT", - "contributors": [ - { - "name": "Ika", - "url": "https://github.com/ikatyang", - "githubUsername": "ikatyang" - }, - { - "name": "Ifiok Jr.", - "url": "https://github.com/ifiokjr", - "githubUsername": "ifiokjr" - }, - { - "name": "Florian Imdahl", - "url": "https://github.com/ffflorian", - "githubUsername": "ffflorian" - }, - { - "name": "Sosuke Suzuki", - "url": "https://github.com/sosukesuzuki", - "githubUsername": "sosukesuzuki" - }, - { - "name": "Christopher Quadflieg", - "url": "https://github.com/Shinigami92", - "githubUsername": "Shinigami92" - }, - { - "name": "Kevin Deisz", - "url": "https://github.com/kddeisz", - "githubUsername": "kddeisz" - }, - { - "name": "Georgii Dolzhykov", - "url": "https://github.com/thorn0", - "githubUsername": "thorn0" - }, - { - "name": "JounQin", - "url": "https://github.com/JounQin", - "githubUsername": "JounQin" - }, - { - "name": "Chuah Chee Shian", - "url": "https://github.com/shian15810", - "githubUsername": "shian15810" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/prettier" + "escapedName": "@types%2fprettier", + "scope": "@types", + "rawSpec": "2.4.2", + "saveSpec": null, + "fetchSpec": "2.4.2" + }, + "_requiredBy": [ + "/jest-snapshot" + ], + "_resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.2.tgz", + "_spec": "2.4.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Ika", + "url": "https://github.com/ikatyang" }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "fbbf69a42a9af70719f5336d6565fac123fe71715b7b828169d5e5d1dc07de33", - "typeScriptVersion": "3.7" -} \ No newline at end of file + { + "name": "Ifiok Jr.", + "url": "https://github.com/ifiokjr" + }, + { + "name": "Florian Imdahl", + "url": "https://github.com/ffflorian" + }, + { + "name": "Sosuke Suzuki", + "url": "https://github.com/sosukesuzuki" + }, + { + "name": "Christopher Quadflieg", + "url": "https://github.com/Shinigami92" + }, + { + "name": "Kevin Deisz", + "url": "https://github.com/kddeisz" + }, + { + "name": "Georgii Dolzhykov", + "url": "https://github.com/thorn0" + }, + { + "name": "JounQin", + "url": "https://github.com/JounQin" + }, + { + "name": "Chuah Chee Shian", + "url": "https://github.com/shian15810" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for prettier", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier", + "license": "MIT", + "main": "", + "name": "@types/prettier", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/prettier" + }, + "scripts": {}, + "typeScriptVersion": "3.7", + "types": "index.d.ts", + "typesPublisherContentHash": "fbbf69a42a9af70719f5336d6565fac123fe71715b7b828169d5e5d1dc07de33", + "version": "2.4.2" +} diff --git a/node_modules/@types/qs/package.json b/node_modules/@types/qs/package.json index 7edba8b33..571cd3ea3 100755 --- a/node_modules/@types/qs/package.json +++ b/node_modules/@types/qs/package.json @@ -1,65 +1,90 @@ { + "_args": [ + [ + "@types/qs@6.9.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/qs@6.9.7", + "_id": "@types/qs@6.9.7", + "_inBundle": false, + "_integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", + "_location": "/@types/qs", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/qs@6.9.7", "name": "@types/qs", - "version": "6.9.7", - "description": "TypeScript definitions for qs", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs", - "license": "MIT", - "contributors": [ - { - "name": "Roman Korneev", - "url": "https://github.com/RWander", - "githubUsername": "RWander" - }, - { - "name": "Leon Yu", - "url": "https://github.com/leonyu", - "githubUsername": "leonyu" - }, - { - "name": "Belinda Teh", - "url": "https://github.com/tehbelinda", - "githubUsername": "tehbelinda" - }, - { - "name": "Melvin Lee", - "url": "https://github.com/zyml", - "githubUsername": "zyml" - }, - { - "name": "Arturs Vonda", - "url": "https://github.com/artursvonda", - "githubUsername": "artursvonda" - }, - { - "name": "Carlos Bonetti", - "url": "https://github.com/CarlosBonetti", - "githubUsername": "CarlosBonetti" - }, - { - "name": "Dan Smith", - "url": "https://github.com/dpsmith3", - "githubUsername": "dpsmith3" - }, - { - "name": "Hunter Perrin", - "url": "https://github.com/hperrin", - "githubUsername": "hperrin" - }, - { - "name": "Jordan Harband", - "url": "https://github.com/ljharb", - "githubUsername": "ljharb" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/qs" + "escapedName": "@types%2fqs", + "scope": "@types", + "rawSpec": "6.9.7", + "saveSpec": null, + "fetchSpec": "6.9.7" + }, + "_requiredBy": [ + "/@types/express", + "/@types/express-serve-static-core" + ], + "_resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "_spec": "6.9.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Roman Korneev", + "url": "https://github.com/RWander" }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "b33fed3eed022f94c7db53593571f370eaa77aa17b3e302dc1bd77304f03e56c", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Leon Yu", + "url": "https://github.com/leonyu" + }, + { + "name": "Belinda Teh", + "url": "https://github.com/tehbelinda" + }, + { + "name": "Melvin Lee", + "url": "https://github.com/zyml" + }, + { + "name": "Arturs Vonda", + "url": "https://github.com/artursvonda" + }, + { + "name": "Carlos Bonetti", + "url": "https://github.com/CarlosBonetti" + }, + { + "name": "Dan Smith", + "url": "https://github.com/dpsmith3" + }, + { + "name": "Hunter Perrin", + "url": "https://github.com/hperrin" + }, + { + "name": "Jordan Harband", + "url": "https://github.com/ljharb" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for qs", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs", + "license": "MIT", + "main": "", + "name": "@types/qs", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/qs" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "b33fed3eed022f94c7db53593571f370eaa77aa17b3e302dc1bd77304f03e56c", + "version": "6.9.7" +} diff --git a/node_modules/@types/range-parser/package.json b/node_modules/@types/range-parser/package.json index 8d7cedb3f..2ffcf23cd 100755 --- a/node_modules/@types/range-parser/package.json +++ b/node_modules/@types/range-parser/package.json @@ -1,25 +1,57 @@ { + "_args": [ + [ + "@types/range-parser@1.2.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/range-parser@1.2.4", + "_id": "@types/range-parser@1.2.4", + "_inBundle": false, + "_integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", + "_location": "/@types/range-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/range-parser@1.2.4", "name": "@types/range-parser", - "version": "1.2.4", - "description": "TypeScript definitions for range-parser", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-parser", - "license": "MIT", - "contributors": [ - { - "name": "Tomek Łaziuk", - "url": "https://github.com/tlaziuk", - "githubUsername": "tlaziuk" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/range-parser" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "60a027a88ae9d7c5ae30935c98266f5033af3c38944121c975bf5e136b9053f3", - "typeScriptVersion": "3.6" -} \ No newline at end of file + "escapedName": "@types%2frange-parser", + "scope": "@types", + "rawSpec": "1.2.4", + "saveSpec": null, + "fetchSpec": "1.2.4" + }, + "_requiredBy": [ + "/@types/express-serve-static-core" + ], + "_resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "_spec": "1.2.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Tomek Łaziuk", + "url": "https://github.com/tlaziuk" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for range-parser", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-parser", + "license": "MIT", + "main": "", + "name": "@types/range-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/range-parser" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "60a027a88ae9d7c5ae30935c98266f5033af3c38944121c975bf5e136b9053f3", + "version": "1.2.4" +} diff --git a/node_modules/@types/serve-static/package.json b/node_modules/@types/serve-static/package.json index 02bc2955c..3028b41b0 100755 --- a/node_modules/@types/serve-static/package.json +++ b/node_modules/@types/serve-static/package.json @@ -1,38 +1,68 @@ { + "_args": [ + [ + "@types/serve-static@1.13.10", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/serve-static@1.13.10", + "_id": "@types/serve-static@1.13.10", + "_inBundle": false, + "_integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", + "_location": "/@types/serve-static", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/serve-static@1.13.10", "name": "@types/serve-static", - "version": "1.13.10", - "description": "TypeScript definitions for serve-static", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-static", - "license": "MIT", - "contributors": [ - { - "name": "Uros Smolnik", - "url": "https://github.com/urossmolnik", - "githubUsername": "urossmolnik" - }, - { - "name": "Linus Unnebäck", - "url": "https://github.com/LinusU", - "githubUsername": "LinusU" - }, - { - "name": "Devansh Jethmalani", - "url": "https://github.com/devanshj", - "githubUsername": "devanshj" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/serve-static" + "escapedName": "@types%2fserve-static", + "scope": "@types", + "rawSpec": "1.13.10", + "saveSpec": null, + "fetchSpec": "1.13.10" + }, + "_requiredBy": [ + "/@types/express" + ], + "_resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", + "_spec": "1.13.10", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Uros Smolnik", + "url": "https://github.com/urossmolnik" }, - "scripts": {}, - "dependencies": { - "@types/mime": "^1", - "@types/node": "*" + { + "name": "Linus Unnebäck", + "url": "https://github.com/LinusU" }, - "typesPublisherContentHash": "d7ba4df44ab0b22c50e477e33159f25cc838b045f2d25519651a7d6005a9faed", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Devansh Jethmalani", + "url": "https://github.com/devanshj" + } + ], + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + }, + "description": "TypeScript definitions for serve-static", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-static", + "license": "MIT", + "main": "", + "name": "@types/serve-static", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/serve-static" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "d7ba4df44ab0b22c50e477e33159f25cc838b045f2d25519651a7d6005a9faed", + "version": "1.13.10" +} diff --git a/node_modules/@types/stack-utils/package.json b/node_modules/@types/stack-utils/package.json index 52cbba92b..53b7bdeea 100755 --- a/node_modules/@types/stack-utils/package.json +++ b/node_modules/@types/stack-utils/package.json @@ -1,25 +1,57 @@ { + "_args": [ + [ + "@types/stack-utils@2.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/stack-utils@2.0.1", + "_id": "@types/stack-utils@2.0.1", + "_inBundle": false, + "_integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", + "_location": "/@types/stack-utils", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/stack-utils@2.0.1", "name": "@types/stack-utils", - "version": "2.0.1", - "description": "TypeScript definitions for stack-utils", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils", - "license": "MIT", - "contributors": [ - { - "name": "BendingBender", - "url": "https://github.com/BendingBender", - "githubUsername": "BendingBender" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/stack-utils" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "bfc4261f4e970131a82704cd51ce862a2f5c7e33c5447030510300c6fe1ee268", - "typeScriptVersion": "3.6" -} \ No newline at end of file + "escapedName": "@types%2fstack-utils", + "scope": "@types", + "rawSpec": "2.0.1", + "saveSpec": null, + "fetchSpec": "2.0.1" + }, + "_requiredBy": [ + "/jest-message-util" + ], + "_resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", + "_spec": "2.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "BendingBender", + "url": "https://github.com/BendingBender" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for stack-utils", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stack-utils", + "license": "MIT", + "main": "", + "name": "@types/stack-utils", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/stack-utils" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "bfc4261f4e970131a82704cd51ce862a2f5c7e33c5447030510300c6fe1ee268", + "version": "2.0.1" +} diff --git a/node_modules/@types/yargs-parser/package.json b/node_modules/@types/yargs-parser/package.json index 0598aae1e..e15391170 100755 --- a/node_modules/@types/yargs-parser/package.json +++ b/node_modules/@types/yargs-parser/package.json @@ -1,25 +1,57 @@ { + "_args": [ + [ + "@types/yargs-parser@20.2.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/yargs-parser@20.2.1", + "_id": "@types/yargs-parser@20.2.1", + "_inBundle": false, + "_integrity": "sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw==", + "_location": "/@types/yargs-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/yargs-parser@20.2.1", "name": "@types/yargs-parser", - "version": "20.2.1", - "description": "TypeScript definitions for yargs-parser", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs-parser", - "license": "MIT", - "contributors": [ - { - "name": "Miles Johnson", - "url": "https://github.com/milesj", - "githubUsername": "milesj" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/yargs-parser" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "692e79ed176a53400e7007c2c3a8ab37780ca4e58b46acaec3e61cd1e365d4d2", - "typeScriptVersion": "3.6" -} \ No newline at end of file + "escapedName": "@types%2fyargs-parser", + "scope": "@types", + "rawSpec": "20.2.1", + "saveSpec": null, + "fetchSpec": "20.2.1" + }, + "_requiredBy": [ + "/@types/yargs" + ], + "_resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.1.tgz", + "_spec": "20.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Miles Johnson", + "url": "https://github.com/milesj" + } + ], + "dependencies": {}, + "description": "TypeScript definitions for yargs-parser", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs-parser", + "license": "MIT", + "main": "", + "name": "@types/yargs-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/yargs-parser" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "692e79ed176a53400e7007c2c3a8ab37780ca4e58b46acaec3e61cd1e365d4d2", + "version": "20.2.1" +} diff --git a/node_modules/@types/yargs/package.json b/node_modules/@types/yargs/package.json index 135f75a03..e746b2983 100755 --- a/node_modules/@types/yargs/package.json +++ b/node_modules/@types/yargs/package.json @@ -1,62 +1,87 @@ { + "_args": [ + [ + "@types/yargs@16.0.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@types/yargs@16.0.4", + "_id": "@types/yargs@16.0.4", + "_inBundle": false, + "_integrity": "sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw==", + "_location": "/@types/yargs", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@types/yargs@16.0.4", "name": "@types/yargs", - "version": "16.0.4", - "description": "TypeScript definitions for yargs", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs", - "license": "MIT", - "contributors": [ - { - "name": "Martin Poelstra", - "url": "https://github.com/poelstra", - "githubUsername": "poelstra" - }, - { - "name": "Mizunashi Mana", - "url": "https://github.com/mizunashi-mana", - "githubUsername": "mizunashi-mana" - }, - { - "name": "Jeffery Grajkowski", - "url": "https://github.com/pushplay", - "githubUsername": "pushplay" - }, - { - "name": "Jimi (Dimitris) Charalampidis", - "url": "https://github.com/JimiC", - "githubUsername": "JimiC" - }, - { - "name": "Steffen Viken Valvåg", - "url": "https://github.com/steffenvv", - "githubUsername": "steffenvv" - }, - { - "name": "Emily Marigold Klassen", - "url": "https://github.com/forivall", - "githubUsername": "forivall" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss", - "githubUsername": "ExE-Boss" - }, - { - "name": "Aankhen", - "url": "https://github.com/Aankhen", - "githubUsername": "Aankhen" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/yargs" + "escapedName": "@types%2fyargs", + "scope": "@types", + "rawSpec": "16.0.4", + "saveSpec": null, + "fetchSpec": "16.0.4" + }, + "_requiredBy": [ + "/@jest/types" + ], + "_resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.4.tgz", + "_spec": "16.0.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" + }, + "contributors": [ + { + "name": "Martin Poelstra", + "url": "https://github.com/poelstra" }, - "scripts": {}, - "dependencies": { - "@types/yargs-parser": "*" + { + "name": "Mizunashi Mana", + "url": "https://github.com/mizunashi-mana" }, - "typesPublisherContentHash": "d46fdfa13e8760d2fb36fecd2e85de1f955504f612121a84f42188b00876dc45", - "typeScriptVersion": "3.6" -} \ No newline at end of file + { + "name": "Jeffery Grajkowski", + "url": "https://github.com/pushplay" + }, + { + "name": "Jimi", + "url": "Dimitris" + }, + { + "name": "Steffen Viken Valvåg", + "url": "https://github.com/steffenvv" + }, + { + "name": "Emily Marigold Klassen", + "url": "https://github.com/forivall" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss" + }, + { + "name": "Aankhen", + "url": "https://github.com/Aankhen" + } + ], + "dependencies": { + "@types/yargs-parser": "*" + }, + "description": "TypeScript definitions for yargs", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs", + "license": "MIT", + "main": "", + "name": "@types/yargs", + "repository": { + "type": "git", + "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/yargs" + }, + "scripts": {}, + "typeScriptVersion": "3.6", + "types": "index.d.ts", + "typesPublisherContentHash": "d46fdfa13e8760d2fb36fecd2e85de1f955504f612121a84f42188b00876dc45", + "version": "16.0.4" +} diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index 092aa4034..957a27051 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,48 +1,37 @@ { - "name": "@typescript-eslint/eslint-plugin", - "version": "4.33.0", - "description": "TypeScript plugin for ESLint", - "keywords": [ - "eslint", - "eslintplugin", - "eslint-plugin", - "typescript" + "_args": [ + [ + "@typescript-eslint/eslint-plugin@4.33.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "engines": { - "node": "^10.12.0 || >=12.0.0" + "_development": true, + "_from": "@typescript-eslint/eslint-plugin@4.33.0", + "_id": "@typescript-eslint/eslint-plugin@4.33.0", + "_inBundle": false, + "_integrity": "sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==", + "_location": "/@typescript-eslint/eslint-plugin", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@typescript-eslint/eslint-plugin@4.33.0", + "name": "@typescript-eslint/eslint-plugin", + "escapedName": "@typescript-eslint%2feslint-plugin", + "scope": "@typescript-eslint", + "rawSpec": "4.33.0", + "saveSpec": null, + "fetchSpec": "4.33.0" }, - "files": [ - "dist", - "docs", - "index.d.ts", - "package.json", - "README.md", - "LICENSE" + "_requiredBy": [ + "#DEV:/" ], - "repository": { - "type": "git", - "url": "https://github.com/typescript-eslint/typescript-eslint.git", - "directory": "packages/eslint-plugin" - }, + "_resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz", + "_spec": "4.33.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "bugs": { "url": "https://github.com/typescript-eslint/typescript-eslint/issues" }, - "license": "MIT", - "main": "dist/index.js", - "types": "index.d.ts", - "scripts": { - "build": "tsc -b tsconfig.build.json", - "check-docs": "jest tests/docs.test.ts --runTestsByPath --silent --runInBand", - "check-configs": "jest tests/configs.test.ts --runTestsByPath --silent --runInBand", - "clean": "tsc -b tsconfig.build.json --clean", - "postclean": "rimraf dist && rimraf coverage", - "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", - "generate:configs": "../../node_modules/.bin/ts-node --files --transpile-only tools/generate-configs.ts", - "generate:rules-lists": "../../node_modules/.bin/ts-node --files --transpile-only tools/generate-rules-lists.ts", - "lint": "eslint . --ext .js,.ts --ignore-path ../../.eslintignore", - "test": "jest --coverage", - "typecheck": "tsc -p tsconfig.json --noEmit" - }, "dependencies": { "@typescript-eslint/experimental-utils": "4.33.0", "@typescript-eslint/scope-manager": "4.33.0", @@ -53,6 +42,7 @@ "semver": "^7.3.5", "tsutils": "^3.21.0" }, + "description": "TypeScript plugin for ESLint", "devDependencies": { "@types/debug": "*", "@types/marked": "*", @@ -62,6 +52,32 @@ "prettier": "*", "typescript": "*" }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "files": [ + "dist", + "docs", + "index.d.ts", + "package.json", + "README.md", + "LICENSE" + ], + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e", + "homepage": "https://github.com/typescript-eslint/typescript-eslint#readme", + "keywords": [ + "eslint", + "eslintplugin", + "eslint-plugin", + "typescript" + ], + "license": "MIT", + "main": "dist/index.js", + "name": "@typescript-eslint/eslint-plugin", "peerDependencies": { "@typescript-eslint/parser": "^4.0.0", "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" @@ -71,9 +87,24 @@ "optional": true } }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "repository": { + "type": "git", + "url": "git+https://github.com/typescript-eslint/typescript-eslint.git", + "directory": "packages/eslint-plugin" + }, + "scripts": { + "build": "tsc -b tsconfig.build.json", + "check-configs": "jest tests/configs.test.ts --runTestsByPath --silent --runInBand", + "check-docs": "jest tests/docs.test.ts --runTestsByPath --silent --runInBand", + "clean": "tsc -b tsconfig.build.json --clean", + "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", + "generate:configs": "../../node_modules/.bin/ts-node --files --transpile-only tools/generate-configs.ts", + "generate:rules-lists": "../../node_modules/.bin/ts-node --files --transpile-only tools/generate-rules-lists.ts", + "lint": "eslint . --ext .js,.ts --ignore-path ../../.eslintignore", + "postclean": "rimraf dist && rimraf coverage", + "test": "jest --coverage", + "typecheck": "tsc -p tsconfig.json --noEmit" }, - "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e" + "types": "index.d.ts", + "version": "4.33.0" } diff --git a/node_modules/@typescript-eslint/experimental-utils/package.json b/node_modules/@typescript-eslint/experimental-utils/package.json index 67a3a04c8..78d69b44f 100644 --- a/node_modules/@typescript-eslint/experimental-utils/package.json +++ b/node_modules/@typescript-eslint/experimental-utils/package.json @@ -1,12 +1,49 @@ { - "name": "@typescript-eslint/experimental-utils", - "version": "4.33.0", - "description": "(Experimental) Utilities for working with TypeScript + ESLint together", - "keywords": [ - "eslint", - "typescript", - "estree" + "_args": [ + [ + "@typescript-eslint/experimental-utils@4.33.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@typescript-eslint/experimental-utils@4.33.0", + "_id": "@typescript-eslint/experimental-utils@4.33.0", + "_inBundle": false, + "_integrity": "sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q==", + "_location": "/@typescript-eslint/experimental-utils", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@typescript-eslint/experimental-utils@4.33.0", + "name": "@typescript-eslint/experimental-utils", + "escapedName": "@typescript-eslint%2fexperimental-utils", + "scope": "@typescript-eslint", + "rawSpec": "4.33.0", + "saveSpec": null, + "fetchSpec": "4.33.0" + }, + "_requiredBy": [ + "/@typescript-eslint/eslint-plugin" ], + "_resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz", + "_spec": "4.33.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/typescript-eslint/typescript-eslint/issues" + }, + "dependencies": { + "@types/json-schema": "^7.0.7", + "@typescript-eslint/scope-manager": "4.33.0", + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/typescript-estree": "4.33.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" + }, + "description": "(Experimental) Utilities for working with TypeScript + ESLint together", + "devDependencies": { + "typescript": "*" + }, "engines": { "node": "^10.12.0 || >=12.0.0" }, @@ -17,45 +54,39 @@ "README.md", "LICENSE" ], + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e", + "homepage": "https://github.com/typescript-eslint/typescript-eslint#readme", + "keywords": [ + "eslint", + "typescript", + "estree" + ], + "license": "MIT", + "main": "dist/index.js", + "name": "@typescript-eslint/experimental-utils", + "peerDependencies": { + "eslint": "*" + }, "repository": { "type": "git", - "url": "https://github.com/typescript-eslint/typescript-eslint.git", + "url": "git+https://github.com/typescript-eslint/typescript-eslint.git", "directory": "packages/experimental-utils" }, - "bugs": { - "url": "https://github.com/typescript-eslint/typescript-eslint/issues" - }, - "license": "MIT", - "main": "dist/index.js", - "types": "dist/index.d.ts", "scripts": { "build": "tsc -b tsconfig.build.json", - "postbuild": "downlevel-dts dist _ts3.4/dist", "clean": "tsc -b tsconfig.build.json --clean", - "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", + "postbuild": "downlevel-dts dist _ts3.4/dist", + "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", "test": "jest --coverage", "typecheck": "tsc -p tsconfig.json --noEmit" }, - "dependencies": { - "@types/json-schema": "^7.0.7", - "@typescript-eslint/scope-manager": "4.33.0", - "@typescript-eslint/types": "4.33.0", - "@typescript-eslint/typescript-estree": "4.33.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0" - }, - "peerDependencies": { - "eslint": "*" - }, - "devDependencies": { - "typescript": "*" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, + "types": "dist/index.d.ts", "typesVersions": { "<3.8": { "*": [ @@ -63,5 +94,5 @@ ] } }, - "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e" + "version": "4.33.0" } diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index 0d74acfd0..5e87c13f3 100644 --- a/node_modules/@typescript-eslint/parser/package.json +++ b/node_modules/@typescript-eslint/parser/package.json @@ -1,26 +1,64 @@ { - "name": "@typescript-eslint/parser", - "version": "4.33.0", + "_args": [ + [ + "@typescript-eslint/parser@4.33.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@typescript-eslint/parser@4.33.0", + "_id": "@typescript-eslint/parser@4.33.0", + "_inBundle": false, + "_integrity": "sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA==", + "_location": "/@typescript-eslint/parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@typescript-eslint/parser@4.33.0", + "name": "@typescript-eslint/parser", + "escapedName": "@typescript-eslint%2fparser", + "scope": "@typescript-eslint", + "rawSpec": "4.33.0", + "saveSpec": null, + "fetchSpec": "4.33.0" + }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.33.0.tgz", + "_spec": "4.33.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/typescript-eslint/typescript-eslint/issues" + }, + "dependencies": { + "@typescript-eslint/scope-manager": "4.33.0", + "@typescript-eslint/types": "4.33.0", + "@typescript-eslint/typescript-estree": "4.33.0", + "debug": "^4.3.1" + }, "description": "An ESLint custom parser which leverages TypeScript ESTree", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "devDependencies": { + "@types/glob": "*", + "@typescript-eslint/experimental-utils": "4.33.0", + "glob": "*", + "typescript": "*" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, "files": [ "dist", "README.md", "LICENSE" ], - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "repository": { - "type": "git", - "url": "https://github.com/typescript-eslint/typescript-eslint.git", - "directory": "packages/parser" - }, - "bugs": { - "url": "https://github.com/typescript-eslint/typescript-eslint/issues" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" }, - "license": "BSD-2-Clause", + "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e", + "homepage": "https://github.com/typescript-eslint/typescript-eslint#readme", "keywords": [ "ast", "ecmascript", @@ -30,40 +68,33 @@ "syntax", "eslint" ], - "scripts": { - "build": "tsc -b tsconfig.build.json", - "postbuild": "downlevel-dts dist _ts3.4/dist", - "clean": "tsc -b tsconfig.build.json --clean", - "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", - "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", - "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", - "test": "jest --coverage", - "typecheck": "tsc -p tsconfig.json --noEmit" - }, + "license": "BSD-2-Clause", + "main": "dist/index.js", + "name": "@typescript-eslint/parser", "peerDependencies": { "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" }, - "dependencies": { - "@typescript-eslint/scope-manager": "4.33.0", - "@typescript-eslint/types": "4.33.0", - "@typescript-eslint/typescript-estree": "4.33.0", - "debug": "^4.3.1" - }, - "devDependencies": { - "@types/glob": "*", - "@typescript-eslint/experimental-utils": "4.33.0", - "glob": "*", - "typescript": "*" - }, "peerDependenciesMeta": { "typescript": { "optional": true } }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "repository": { + "type": "git", + "url": "git+https://github.com/typescript-eslint/typescript-eslint.git", + "directory": "packages/parser" }, + "scripts": { + "build": "tsc -b tsconfig.build.json", + "clean": "tsc -b tsconfig.build.json --clean", + "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", + "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", + "postbuild": "downlevel-dts dist _ts3.4/dist", + "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", + "test": "jest --coverage", + "typecheck": "tsc -p tsconfig.json --noEmit" + }, + "types": "dist/index.d.ts", "typesVersions": { "<3.8": { "*": [ @@ -71,5 +102,5 @@ ] } }, - "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e" + "version": "4.33.0" } diff --git a/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/scope-manager/package.json index 5c01b3426..8ceef53fa 100644 --- a/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,47 +1,44 @@ { - "name": "@typescript-eslint/scope-manager", - "version": "4.33.0", - "description": "TypeScript scope analyser for ESLint", - "keywords": [ - "eslint", - "typescript", - "estree" + "_args": [ + [ + "@typescript-eslint/scope-manager@4.33.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "engines": { - "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + "_development": true, + "_from": "@typescript-eslint/scope-manager@4.33.0", + "_id": "@typescript-eslint/scope-manager@4.33.0", + "_inBundle": false, + "_integrity": "sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ==", + "_location": "/@typescript-eslint/scope-manager", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@typescript-eslint/scope-manager@4.33.0", + "name": "@typescript-eslint/scope-manager", + "escapedName": "@typescript-eslint%2fscope-manager", + "scope": "@typescript-eslint", + "rawSpec": "4.33.0", + "saveSpec": null, + "fetchSpec": "4.33.0" }, - "files": [ - "dist", - "package.json", - "README.md", - "LICENSE" + "_requiredBy": [ + "/@typescript-eslint/eslint-plugin", + "/@typescript-eslint/experimental-utils", + "/@typescript-eslint/parser" ], - "repository": { - "type": "git", - "url": "https://github.com/typescript-eslint/typescript-eslint.git", - "directory": "packages/scope-manager" - }, + "_resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz", + "_spec": "4.33.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "bugs": { "url": "https://github.com/typescript-eslint/typescript-eslint/issues" }, - "license": "MIT", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsc -b tsconfig.build.json", - "postbuild": "downlevel-dts dist _ts3.4/dist", - "clean": "tsc -b tsconfig.build.json --clean", - "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", - "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", - "generate:lib": "../../node_modules/.bin/ts-node --files --transpile-only tools/generate-lib.ts", - "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", - "test": "jest --coverage", - "typecheck": "tsc -p tsconfig.json --noEmit" - }, "dependencies": { "@typescript-eslint/types": "4.33.0", "@typescript-eslint/visitor-keys": "4.33.0" }, + "description": "TypeScript scope analyser for ESLint", "devDependencies": { "@types/glob": "*", "@typescript-eslint/typescript-estree": "4.33.0", @@ -53,10 +50,46 @@ "rimraf": "*", "typescript": "*" }, + "engines": { + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "files": [ + "dist", + "package.json", + "README.md", + "LICENSE" + ], "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, + "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e", + "homepage": "https://github.com/typescript-eslint/typescript-eslint#readme", + "keywords": [ + "eslint", + "typescript", + "estree" + ], + "license": "MIT", + "main": "dist/index.js", + "name": "@typescript-eslint/scope-manager", + "repository": { + "type": "git", + "url": "git+https://github.com/typescript-eslint/typescript-eslint.git", + "directory": "packages/scope-manager" + }, + "scripts": { + "build": "tsc -b tsconfig.build.json", + "clean": "tsc -b tsconfig.build.json --clean", + "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", + "generate:lib": "../../node_modules/.bin/ts-node --files --transpile-only tools/generate-lib.ts", + "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", + "postbuild": "downlevel-dts dist _ts3.4/dist", + "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", + "test": "jest --coverage", + "typecheck": "tsc -p tsconfig.json --noEmit" + }, + "types": "dist/index.d.ts", "typesVersions": { "<3.8": { "*": [ @@ -64,5 +97,5 @@ ] } }, - "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e" + "version": "4.33.0" } diff --git a/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/types/package.json index e256cd7ff..dd5427c9d 100644 --- a/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/types/package.json @@ -1,12 +1,45 @@ { - "name": "@typescript-eslint/types", - "version": "4.33.0", - "description": "Types for the TypeScript-ESTree AST spec", - "keywords": [ - "eslint", - "typescript", - "estree" + "_args": [ + [ + "@typescript-eslint/types@4.33.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], + "_development": true, + "_from": "@typescript-eslint/types@4.33.0", + "_id": "@typescript-eslint/types@4.33.0", + "_inBundle": false, + "_integrity": "sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==", + "_location": "/@typescript-eslint/types", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@typescript-eslint/types@4.33.0", + "name": "@typescript-eslint/types", + "escapedName": "@typescript-eslint%2ftypes", + "scope": "@typescript-eslint", + "rawSpec": "4.33.0", + "saveSpec": null, + "fetchSpec": "4.33.0" + }, + "_requiredBy": [ + "/@typescript-eslint/experimental-utils", + "/@typescript-eslint/parser", + "/@typescript-eslint/scope-manager", + "/@typescript-eslint/typescript-estree", + "/@typescript-eslint/visitor-keys" + ], + "_resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.33.0.tgz", + "_spec": "4.33.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/typescript-eslint/typescript-eslint/issues" + }, + "description": "Types for the TypeScript-ESTree AST spec", + "devDependencies": { + "typescript": "*" + }, "engines": { "node": "^8.10.0 || ^10.13.0 || >=11.10.1" }, @@ -16,32 +49,37 @@ "README.md", "LICENSE" ], + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e", + "homepage": "https://github.com/typescript-eslint/typescript-eslint#readme", + "keywords": [ + "eslint", + "typescript", + "estree" + ], + "license": "MIT", + "main": "dist/index.js", + "name": "@typescript-eslint/types", "repository": { "type": "git", - "url": "https://github.com/typescript-eslint/typescript-eslint.git", + "url": "git+https://github.com/typescript-eslint/typescript-eslint.git", "directory": "packages/types" }, - "bugs": { - "url": "https://github.com/typescript-eslint/typescript-eslint/issues" - }, - "license": "MIT", - "main": "dist/index.js", - "types": "dist/index.d.ts", "scripts": { - "prebuild": "yarn ts-node --transpile-only ./tools/copy-ast-spec.ts", "build": "tsc -b tsconfig.build.json", - "postbuild": "downlevel-dts dist _ts3.4/dist", "clean": "tsc -b tsconfig.build.json --clean", - "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", "generate:lib": "../../node_modules/.bin/ts-node --files --transpile-only ../scope-manager/tools/generate-lib.ts", "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", + "postbuild": "downlevel-dts dist _ts3.4/dist", + "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", + "prebuild": "yarn ts-node --transpile-only ./tools/copy-ast-spec.ts", "typecheck": "tsc -p tsconfig.json --noEmit" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, + "types": "dist/index.d.ts", "typesVersions": { "<3.8": { "*": [ @@ -49,8 +87,5 @@ ] } }, - "devDependencies": { - "typescript": "*" - }, - "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e" + "version": "4.33.0" } diff --git a/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/typescript-estree/package.json index c19f58732..40a44a2c4 100644 --- a/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,45 +1,38 @@ { - "name": "@typescript-eslint/typescript-estree", - "version": "4.33.0", - "description": "A parser that converts TypeScript source code into an ESTree compatible form", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "LICENSE" + "_args": [ + [ + "@typescript-eslint/typescript-estree@4.33.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "engines": { - "node": "^10.12.0 || >=12.0.0" - }, - "repository": { - "type": "git", - "url": "https://github.com/typescript-eslint/typescript-eslint.git", - "directory": "packages/typescript-estree" + "_development": true, + "_from": "@typescript-eslint/typescript-estree@4.33.0", + "_id": "@typescript-eslint/typescript-estree@4.33.0", + "_inBundle": false, + "_integrity": "sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==", + "_location": "/@typescript-eslint/typescript-estree", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@typescript-eslint/typescript-estree@4.33.0", + "name": "@typescript-eslint/typescript-estree", + "escapedName": "@typescript-eslint%2ftypescript-estree", + "scope": "@typescript-eslint", + "rawSpec": "4.33.0", + "saveSpec": null, + "fetchSpec": "4.33.0" }, + "_requiredBy": [ + "/@typescript-eslint/experimental-utils", + "/@typescript-eslint/parser" + ], + "_resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz", + "_spec": "4.33.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "bugs": { "url": "https://github.com/typescript-eslint/typescript-eslint/issues" }, - "license": "BSD-2-Clause", - "keywords": [ - "ast", - "estree", - "ecmascript", - "javascript", - "typescript", - "parser", - "syntax" - ], - "scripts": { - "build": "tsc -b tsconfig.build.json", - "postbuild": "downlevel-dts dist _ts3.4/dist", - "clean": "tsc -b tsconfig.build.json --clean", - "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", - "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", - "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", - "test": "jest --coverage", - "typecheck": "tsc -p tsconfig.json --noEmit" - }, "dependencies": { "@typescript-eslint/types": "4.33.0", "@typescript-eslint/visitor-keys": "4.33.0", @@ -49,6 +42,7 @@ "semver": "^7.3.5", "tsutils": "^3.21.0" }, + "description": "A parser that converts TypeScript source code into an ESTree compatible form", "devDependencies": { "@babel/code-frame": "*", "@babel/parser": "*", @@ -66,15 +60,53 @@ "tmp": "^0.2.1", "typescript": "*" }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "files": [ + "dist", + "README.md", + "LICENSE" + ], + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e", + "homepage": "https://github.com/typescript-eslint/typescript-eslint#readme", + "keywords": [ + "ast", + "estree", + "ecmascript", + "javascript", + "typescript", + "parser", + "syntax" + ], + "license": "BSD-2-Clause", + "main": "dist/index.js", + "name": "@typescript-eslint/typescript-estree", "peerDependenciesMeta": { "typescript": { "optional": true } }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" + "repository": { + "type": "git", + "url": "git+https://github.com/typescript-eslint/typescript-eslint.git", + "directory": "packages/typescript-estree" }, + "scripts": { + "build": "tsc -b tsconfig.build.json", + "clean": "tsc -b tsconfig.build.json --clean", + "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", + "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", + "postbuild": "downlevel-dts dist _ts3.4/dist", + "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", + "test": "jest --coverage", + "typecheck": "tsc -p tsconfig.json --noEmit" + }, + "types": "dist/index.d.ts", "typesVersions": { "<3.8": { "*": [ @@ -82,5 +114,5 @@ ] } }, - "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e" + "version": "4.33.0" } diff --git a/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/visitor-keys/package.json index a0c457c2f..923aed735 100644 --- a/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,12 +1,46 @@ { - "name": "@typescript-eslint/visitor-keys", - "version": "4.33.0", - "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", - "keywords": [ - "eslint", - "typescript", - "estree" + "_args": [ + [ + "@typescript-eslint/visitor-keys@4.33.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@typescript-eslint/visitor-keys@4.33.0", + "_id": "@typescript-eslint/visitor-keys@4.33.0", + "_inBundle": false, + "_integrity": "sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==", + "_location": "/@typescript-eslint/visitor-keys", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@typescript-eslint/visitor-keys@4.33.0", + "name": "@typescript-eslint/visitor-keys", + "escapedName": "@typescript-eslint%2fvisitor-keys", + "scope": "@typescript-eslint", + "rawSpec": "4.33.0", + "saveSpec": null, + "fetchSpec": "4.33.0" + }, + "_requiredBy": [ + "/@typescript-eslint/scope-manager", + "/@typescript-eslint/typescript-estree" ], + "_resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz", + "_spec": "4.33.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/typescript-eslint/typescript-eslint/issues" + }, + "dependencies": { + "@typescript-eslint/types": "4.33.0", + "eslint-visitor-keys": "^2.0.0" + }, + "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", + "devDependencies": { + "@types/eslint-visitor-keys": "*" + }, "engines": { "node": "^8.10.0 || ^10.13.0 || >=11.10.1" }, @@ -16,38 +50,36 @@ "README.md", "LICENSE" ], + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e", + "homepage": "https://github.com/typescript-eslint/typescript-eslint#readme", + "keywords": [ + "eslint", + "typescript", + "estree" + ], + "license": "MIT", + "main": "dist/index.js", + "name": "@typescript-eslint/visitor-keys", "repository": { "type": "git", - "url": "https://github.com/typescript-eslint/typescript-eslint.git", + "url": "git+https://github.com/typescript-eslint/typescript-eslint.git", "directory": "packages/visitor-keys" }, - "bugs": { - "url": "https://github.com/typescript-eslint/typescript-eslint/issues" - }, - "license": "MIT", - "main": "dist/index.js", - "types": "dist/index.d.ts", "scripts": { "build": "tsc -b tsconfig.build.json", - "postbuild": "downlevel-dts dist _ts3.4/dist", "clean": "tsc -b tsconfig.build.json --clean", - "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", "format": "prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore", "lint": "eslint . --ext .js,.ts --ignore-path='../../.eslintignore'", + "postbuild": "downlevel-dts dist _ts3.4/dist", + "postclean": "rimraf dist && rimraf _ts3.4 && rimraf coverage", "test": "jest --coverage", "typecheck": "tsc -p tsconfig.json --noEmit" }, - "dependencies": { - "@typescript-eslint/types": "4.33.0", - "eslint-visitor-keys": "^2.0.0" - }, - "devDependencies": { - "@types/eslint-visitor-keys": "*" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, + "types": "dist/index.d.ts", "typesVersions": { "<3.8": { "*": [ @@ -55,5 +87,5 @@ ] } }, - "gitHead": "7bf8c9cb0235e225aab08b7793ff17f6ab1dc52e" + "version": "4.33.0" } diff --git a/node_modules/@vercel/ncc/package.json b/node_modules/@vercel/ncc/package.json index d472ba02e..36920f571 100644 --- a/node_modules/@vercel/ncc/package.json +++ b/node_modules/@vercel/ncc/package.json @@ -1,24 +1,41 @@ { - "name": "@vercel/ncc", - "description": "Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.", - "version": "0.31.1", - "repository": "vercel/ncc", - "license": "MIT", - "main": "./dist/ncc/index.js", - "bin": { - "ncc": "./dist/ncc/cli.js" + "_args": [ + [ + "@vercel/ncc@0.31.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "@vercel/ncc@0.31.1", + "_id": "@vercel/ncc@0.31.1", + "_inBundle": false, + "_integrity": "sha512-g0FAxwdViI6UzsiVz5HssIHqjcPa1EHL6h+2dcJD893SoCJaGdqqgUF09xnMW6goWnnhbLvgiKlgJWrJa+7qYA==", + "_location": "/@vercel/ncc", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "@vercel/ncc@0.31.1", + "name": "@vercel/ncc", + "escapedName": "@vercel%2fncc", + "scope": "@vercel", + "rawSpec": "0.31.1", + "saveSpec": null, + "fetchSpec": "0.31.1" }, - "files": [ - "dist" + "_requiredBy": [ + "#DEV:/" ], - "scripts": { - "build": "node scripts/build.js", - "build-test-binary": "cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node", - "codecov": "codecov", - "test": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest", - "test-coverage": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov", - "prepublishOnly": "node scripts/build.js --no-cache" + "_resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.31.1.tgz", + "_spec": "0.31.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bin": { + "ncc": "dist/ncc/cli.js" + }, + "bugs": { + "url": "https://github.com/vercel/ncc/issues" }, + "description": "Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.", "devDependencies": { "@azure/cosmos": "^3.12.3", "@bugsnag/js": "^7.11.0", @@ -113,7 +130,27 @@ "webpack": "5.44.0", "when": "^3.7.8" }, + "files": [ + "dist" + ], + "homepage": "https://github.com/vercel/ncc#readme", + "license": "MIT", + "main": "./dist/ncc/index.js", + "name": "@vercel/ncc", + "repository": { + "type": "git", + "url": "git+https://github.com/vercel/ncc.git" + }, "resolutions": { "grpc": "1.24.6" - } + }, + "scripts": { + "build": "node scripts/build.js", + "build-test-binary": "cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node", + "codecov": "codecov", + "prepublishOnly": "node scripts/build.js --no-cache", + "test": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest", + "test-coverage": "node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov" + }, + "version": "0.31.1" } diff --git a/node_modules/abab/package.json b/node_modules/abab/package.json index 1b382040b..308116a35 100644 --- a/node_modules/abab/package.json +++ b/node_modules/abab/package.json @@ -1,34 +1,42 @@ { - "name": "abab", - "version": "2.0.5", - "description": "WHATWG spec-compliant implementations of window.atob and window.btoa.", - "main": "index.js", - "files": [ - "index.d.ts", - "index.js", - "lib/" + "_args": [ + [ + "abab@2.0.5", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "mocha": "mocha test/node", - "karma": "karma start", - "test": "npm run lint && npm run mocha && npm run karma", - "lint": "eslint ." + "_development": true, + "_from": "abab@2.0.5", + "_id": "abab@2.0.5", + "_inBundle": false, + "_integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", + "_location": "/abab", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "abab@2.0.5", + "name": "abab", + "escapedName": "abab", + "rawSpec": "2.0.5", + "saveSpec": null, + "fetchSpec": "2.0.5" }, - "repository": { - "type": "git", - "url": "git+https://github.com/jsdom/abab.git" - }, - "keywords": [ - "atob", - "btoa", - "browser" + "_requiredBy": [ + "/data-urls", + "/jsdom" ], - "author": "Jeff Carpenter ", - "license": "BSD-3-Clause", + "_resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", + "_spec": "2.0.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Jeff Carpenter", + "email": "gcarpenterv@gmail.com" + }, "bugs": { "url": "https://github.com/jsdom/abab/issues" }, - "homepage": "https://github.com/jsdom/abab#readme", + "description": "WHATWG spec-compliant implementations of window.atob and window.btoa.", "devDependencies": { "eslint": "^4.19.1", "karma": "^2.0.0", @@ -38,5 +46,30 @@ "karma-webpack": "^3.0.0", "mocha": "^5.1.0", "webpack": "^4.5.0" - } + }, + "files": [ + "index.d.ts", + "index.js", + "lib/" + ], + "homepage": "https://github.com/jsdom/abab#readme", + "keywords": [ + "atob", + "btoa", + "browser" + ], + "license": "BSD-3-Clause", + "main": "index.js", + "name": "abab", + "repository": { + "type": "git", + "url": "git+https://github.com/jsdom/abab.git" + }, + "scripts": { + "karma": "karma start", + "lint": "eslint .", + "mocha": "mocha test/node", + "test": "npm run lint && npm run mocha && npm run karma" + }, + "version": "2.0.5" } diff --git a/node_modules/accepts/package.json b/node_modules/accepts/package.json index bc750cf80..d4bfae18f 100644 --- a/node_modules/accepts/package.json +++ b/node_modules/accepts/package.json @@ -1,17 +1,51 @@ { - "name": "accepts", - "description": "Higher-level content negotiation", - "version": "1.3.7", + "_args": [ + [ + "accepts@1.3.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "accepts@1.3.7", + "_id": "accepts@1.3.7", + "_inBundle": false, + "_integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "_location": "/accepts", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "accepts@1.3.7", + "name": "accepts", + "escapedName": "accepts", + "rawSpec": "1.3.7", + "saveSpec": null, + "fetchSpec": "1.3.7" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", + "_spec": "1.3.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/jshttp/accepts/issues" + }, "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)" + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } ], - "license": "MIT", - "repository": "jshttp/accepts", "dependencies": { "mime-types": "~2.1.24", "negotiator": "0.6.2" }, + "description": "Higher-level content negotiation", "devDependencies": { "deep-equal": "1.0.1", "eslint": "5.16.0", @@ -24,13 +58,26 @@ "mocha": "6.1.4", "nyc": "14.0.0" }, + "engines": { + "node": ">= 0.6" + }, "files": [ "LICENSE", "HISTORY.md", "index.js" ], - "engines": { - "node": ">= 0.6" + "homepage": "https://github.com/jshttp/accepts#readme", + "keywords": [ + "content", + "negotiation", + "accept", + "accepts" + ], + "license": "MIT", + "name": "accepts", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/accepts.git" }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", @@ -38,10 +85,5 @@ "test-cov": "nyc --reporter=html --reporter=text npm test", "test-travis": "nyc --reporter=text npm test" }, - "keywords": [ - "content", - "negotiation", - "accept", - "accepts" - ] + "version": "1.3.7" } diff --git a/node_modules/acorn-globals/package.json b/node_modules/acorn-globals/package.json index 70d38ff0f..8efd403e5 100644 --- a/node_modules/acorn-globals/package.json +++ b/node_modules/acorn-globals/package.json @@ -1,7 +1,52 @@ { - "name": "acorn-globals", - "version": "6.0.0", + "_args": [ + [ + "acorn-globals@6.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "acorn-globals@6.0.0", + "_id": "acorn-globals@6.0.0", + "_inBundle": false, + "_integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "_location": "/acorn-globals", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "acorn-globals@6.0.0", + "name": "acorn-globals", + "escapedName": "acorn-globals", + "rawSpec": "6.0.0", + "saveSpec": null, + "fetchSpec": "6.0.0" + }, + "_requiredBy": [ + "/jsdom" + ], + "_resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "_spec": "6.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "ForbesLindesay" + }, + "bugs": { + "url": "https://github.com/ForbesLindesay/acorn-globals/issues" + }, + "dependencies": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + }, "description": "Detect global variables in JavaScript using acorn", + "devDependencies": { + "testit": "^3.1.0" + }, + "files": [ + "index.js", + "LICENSE" + ], + "homepage": "https://github.com/ForbesLindesay/acorn-globals#readme", "keywords": [ "ast", "variable", @@ -12,24 +57,14 @@ "global", "implicit" ], - "files": [ - "index.js", - "LICENSE" - ], - "dependencies": { - "acorn": "^7.1.1", - "acorn-walk": "^7.1.1" - }, - "devDependencies": { - "testit": "^3.1.0" + "license": "MIT", + "name": "acorn-globals", + "repository": { + "type": "git", + "url": "git+https://github.com/ForbesLindesay/acorn-globals.git" }, "scripts": { "test": "node test" }, - "repository": { - "type": "git", - "url": "https://github.com/ForbesLindesay/acorn-globals.git" - }, - "author": "ForbesLindesay", - "license": "MIT" + "version": "6.0.0" } diff --git a/node_modules/acorn-jsx/package.json b/node_modules/acorn-jsx/package.json index 6debde9ca..ac8f1d1cb 100644 --- a/node_modules/acorn-jsx/package.json +++ b/node_modules/acorn-jsx/package.json @@ -1,27 +1,59 @@ { - "name": "acorn-jsx", + "_args": [ + [ + "acorn-jsx@5.3.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "acorn-jsx@5.3.2", + "_id": "acorn-jsx@5.3.2", + "_inBundle": false, + "_integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "_location": "/acorn-jsx", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "acorn-jsx@5.3.2", + "name": "acorn-jsx", + "escapedName": "acorn-jsx", + "rawSpec": "5.3.2", + "saveSpec": null, + "fetchSpec": "5.3.2" + }, + "_requiredBy": [ + "/espree" + ], + "_resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "_spec": "5.3.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/acornjs/acorn-jsx/issues" + }, "description": "Modern, fast React.js JSX parser", + "devDependencies": { + "acorn": "^8.0.1" + }, "homepage": "https://github.com/acornjs/acorn-jsx", - "version": "5.3.2", + "license": "MIT", "maintainers": [ { "name": "Ingvar Stepanyan", "email": "me@rreverser.com", - "web": "http://rreverser.com/" + "url": "http://rreverser.com/" } ], + "name": "acorn-jsx", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, "repository": { "type": "git", - "url": "https://github.com/acornjs/acorn-jsx" + "url": "git+https://github.com/acornjs/acorn-jsx.git" }, - "license": "MIT", "scripts": { "test": "node test/run.js" }, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "devDependencies": { - "acorn": "^8.0.1" - } + "version": "5.3.2" } diff --git a/node_modules/acorn-walk/package.json b/node_modules/acorn-walk/package.json index ae8da3cf3..bcb118b21 100644 --- a/node_modules/acorn-walk/package.json +++ b/node_modules/acorn-walk/package.json @@ -1,34 +1,68 @@ { - "name": "acorn-walk", + "_args": [ + [ + "acorn-walk@7.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "acorn-walk@7.2.0", + "_id": "acorn-walk@7.2.0", + "_inBundle": false, + "_integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", + "_location": "/acorn-walk", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "acorn-walk@7.2.0", + "name": "acorn-walk", + "escapedName": "acorn-walk", + "rawSpec": "7.2.0", + "saveSpec": null, + "fetchSpec": "7.2.0" + }, + "_requiredBy": [ + "/acorn-globals" + ], + "_resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "_spec": "7.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/acornjs/acorn/issues" + }, "description": "ECMAScript (ESTree) AST walker", + "engines": { + "node": ">=0.4.0" + }, "homepage": "https://github.com/acornjs/acorn", + "license": "MIT", "main": "dist/walk.js", - "types": "dist/walk.d.ts", - "module": "dist/walk.mjs", - "version": "7.2.0", - "engines": {"node": ">=0.4.0"}, "maintainers": [ { "name": "Marijn Haverbeke", "email": "marijnh@gmail.com", - "web": "https://marijnhaverbeke.nl" + "url": "https://marijnhaverbeke.nl" }, { "name": "Ingvar Stepanyan", "email": "me@rreverser.com", - "web": "https://rreverser.com/" + "url": "https://rreverser.com/" }, { "name": "Adrian Heine", - "web": "http://adrianheine.de" + "url": "http://adrianheine.de" } ], + "module": "dist/walk.mjs", + "name": "acorn-walk", "repository": { "type": "git", - "url": "https://github.com/acornjs/acorn.git" + "url": "git+https://github.com/acornjs/acorn.git" }, "scripts": { "prepare": "cd ..; npm run build:walk" }, - "license": "MIT" + "types": "dist/walk.d.ts", + "version": "7.2.0" } diff --git a/node_modules/acorn/package.json b/node_modules/acorn/package.json index 10699306d..d3987e445 100644 --- a/node_modules/acorn/package.json +++ b/node_modules/acorn/package.json @@ -1,35 +1,72 @@ { - "name": "acorn", + "_args": [ + [ + "acorn@7.4.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "acorn@7.4.1", + "_id": "acorn@7.4.1", + "_inBundle": false, + "_integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "_location": "/acorn", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "acorn@7.4.1", + "name": "acorn", + "escapedName": "acorn", + "rawSpec": "7.4.1", + "saveSpec": null, + "fetchSpec": "7.4.1" + }, + "_requiredBy": [ + "/acorn-globals", + "/espree" + ], + "_resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "_spec": "7.4.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bin": { + "acorn": "bin/acorn" + }, + "bugs": { + "url": "https://github.com/acornjs/acorn/issues" + }, "description": "ECMAScript parser", + "engines": { + "node": ">=0.4.0" + }, "homepage": "https://github.com/acornjs/acorn", + "license": "MIT", "main": "dist/acorn.js", - "types": "dist/acorn.d.ts", - "module": "dist/acorn.mjs", - "version": "7.4.1", - "engines": {"node": ">=0.4.0"}, "maintainers": [ { "name": "Marijn Haverbeke", "email": "marijnh@gmail.com", - "web": "https://marijnhaverbeke.nl" + "url": "https://marijnhaverbeke.nl" }, { "name": "Ingvar Stepanyan", "email": "me@rreverser.com", - "web": "https://rreverser.com/" + "url": "https://rreverser.com/" }, { "name": "Adrian Heine", - "web": "http://adrianheine.de" + "url": "http://adrianheine.de" } ], + "module": "dist/acorn.mjs", + "name": "acorn", "repository": { "type": "git", - "url": "https://github.com/acornjs/acorn.git" + "url": "git+https://github.com/acornjs/acorn.git" }, - "license": "MIT", "scripts": { "prepare": "cd ..; npm run build:main && npm run build:bin" }, - "bin": {"acorn": "./bin/acorn"} + "types": "dist/acorn.d.ts", + "version": "7.4.1" } diff --git a/node_modules/agent-base/package.json b/node_modules/agent-base/package.json index fadce3ad9..fda900411 100644 --- a/node_modules/agent-base/package.json +++ b/node_modules/agent-base/package.json @@ -1,40 +1,46 @@ { - "name": "agent-base", - "version": "6.0.2", - "description": "Turn a function into an `http.Agent` instance", - "main": "dist/src/index", - "typings": "dist/src/index", - "files": [ - "dist/src", - "src" + "_args": [ + [ + "agent-base@6.0.2", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "prebuild": "rimraf dist", - "build": "tsc", - "postbuild": "cpy --parents src test '!**/*.ts' dist", - "test": "mocha --reporter spec dist/test/*.js", - "test-lint": "eslint src --ext .js,.ts", - "prepublishOnly": "npm run build" - }, - "repository": { - "type": "git", - "url": "git://github.com/TooTallNate/node-agent-base.git" + "_development": true, + "_from": "agent-base@6.0.2", + "_id": "agent-base@6.0.2", + "_inBundle": false, + "_integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "_location": "/agent-base", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "agent-base@6.0.2", + "name": "agent-base", + "escapedName": "agent-base", + "rawSpec": "6.0.2", + "saveSpec": null, + "fetchSpec": "6.0.2" }, - "keywords": [ - "http", - "agent", - "base", - "barebones", - "https" + "_requiredBy": [ + "/http-proxy-agent", + "/https-proxy-agent" ], - "author": "Nathan Rajlich (http://n8.io/)", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "_spec": "6.0.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Nathan Rajlich", + "email": "nathan@tootallnate.net", + "url": "http://n8.io/" + }, "bugs": { "url": "https://github.com/TooTallNate/node-agent-base/issues" }, "dependencies": { "debug": "4" }, + "description": "Turn a function into an `http.Agent` instance", "devDependencies": { "@types/debug": "4", "@types/mocha": "^5.2.7", @@ -60,5 +66,34 @@ }, "engines": { "node": ">= 6.0.0" - } + }, + "files": [ + "dist/src", + "src" + ], + "homepage": "https://github.com/TooTallNate/node-agent-base#readme", + "keywords": [ + "http", + "agent", + "base", + "barebones", + "https" + ], + "license": "MIT", + "main": "dist/src/index", + "name": "agent-base", + "repository": { + "type": "git", + "url": "git://github.com/TooTallNate/node-agent-base.git" + }, + "scripts": { + "build": "tsc", + "postbuild": "cpy --parents src test '!**/*.ts' dist", + "prebuild": "rimraf dist", + "prepublishOnly": "npm run build", + "test": "mocha --reporter spec dist/test/*.js", + "test-lint": "eslint src --ext .js,.ts" + }, + "typings": "dist/src/index", + "version": "6.0.2" } diff --git a/node_modules/aggregate-error/package.json b/node_modules/aggregate-error/package.json index 74fcc3761..6f8a144f1 100644 --- a/node_modules/aggregate-error/package.json +++ b/node_modules/aggregate-error/package.json @@ -1,41 +1,77 @@ { - "name": "aggregate-error", - "version": "3.1.0", - "description": "Create an error from multiple errors", - "license": "MIT", - "repository": "sindresorhus/aggregate-error", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "aggregate", - "error", - "combine", - "multiple", - "many", - "collection", - "iterable", - "iterator" - ], - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "tsd": "^0.7.1", - "xo": "^0.25.3" - } + "_args": [ + [ + "aggregate-error@3.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "aggregate-error@3.1.0", + "_id": "aggregate-error@3.1.0", + "_inBundle": false, + "_integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "_location": "/aggregate-error", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "aggregate-error@3.1.0", + "name": "aggregate-error", + "escapedName": "aggregate-error", + "rawSpec": "3.1.0", + "saveSpec": null, + "fetchSpec": "3.1.0" + }, + "_requiredBy": [ + "/p-map" + ], + "_resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "_spec": "3.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/aggregate-error/issues" + }, + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "description": "Create an error from multiple errors", + "devDependencies": { + "ava": "^2.4.0", + "tsd": "^0.7.1", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/aggregate-error#readme", + "keywords": [ + "aggregate", + "error", + "combine", + "multiple", + "many", + "collection", + "iterable", + "iterator" + ], + "license": "MIT", + "name": "aggregate-error", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/aggregate-error.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.1.0" } diff --git a/node_modules/ajv/package.json b/node_modules/ajv/package.json index 559a933c8..403e49ad4 100644 --- a/node_modules/ajv/package.json +++ b/node_modules/ajv/package.json @@ -1,72 +1,51 @@ { - "name": "ajv", - "version": "6.12.6", - "description": "Another JSON Schema Validator", - "main": "lib/ajv.js", - "typings": "lib/ajv.d.ts", - "files": [ - "lib/", - "dist/", - "scripts/", - "LICENSE", - ".tonic_example.js" - ], - "scripts": { - "eslint": "eslint lib/{compile/,}*.js spec/{**/,}*.js scripts --ignore-pattern spec/JSON-Schema-Test-Suite", - "jshint": "jshint lib/{compile/,}*.js", - "lint": "npm run jshint && npm run eslint", - "test-spec": "mocha spec/{**/,}*.spec.js -R spec", - "test-fast": "AJV_FAST_TEST=true npm run test-spec", - "test-debug": "npm run test-spec -- --inspect-brk", - "test-cov": "nyc npm run test-spec", - "test-ts": "tsc --target ES5 --noImplicitAny --noEmit spec/typescript/index.ts", - "bundle": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters", - "bundle-beautify": "node ./scripts/bundle.js js-beautify", - "build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js", - "test-karma": "karma start", - "test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma", - "test-all": "npm run test-cov && if-node-version 10 npm run test-browser", - "test": "npm run lint && npm run build && npm run test-all", - "prepublish": "npm run build && npm run bundle", - "watch": "watch \"npm run build\" ./lib/dot" - }, - "nyc": { - "exclude": [ - "**/spec/**", - "node_modules" - ], - "reporter": [ - "lcov", - "text-summary" + "_args": [ + [ + "ajv@6.12.6", + "/Users/adam/Projects/lighthouse-check-action" ] + ], + "_from": "ajv@6.12.6", + "_id": "ajv@6.12.6", + "_inBundle": false, + "_integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "_location": "/ajv", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ajv@6.12.6", + "name": "ajv", + "escapedName": "ajv", + "rawSpec": "6.12.6", + "saveSpec": null, + "fetchSpec": "6.12.6" }, - "repository": { - "type": "git", - "url": "https://github.com/ajv-validator/ajv.git" - }, - "keywords": [ - "JSON", - "schema", - "validator", - "validation", - "jsonschema", - "json-schema", - "json-schema-validator", - "json-schema-validation" + "_requiredBy": [ + "/@eslint/eslintrc", + "/eslint", + "/table" ], - "author": "Evgeny Poberezkin", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "_spec": "6.12.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Evgeny Poberezkin" + }, "bugs": { "url": "https://github.com/ajv-validator/ajv/issues" }, - "homepage": "https://github.com/ajv-validator/ajv", - "tonicExampleFilename": ".tonic_example.js", + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/ajv" + }, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" }, + "description": "Another JSON Schema Validator", "devDependencies": { "ajv-async": "^1.0.0", "bluebird": "^3.5.3", @@ -95,12 +74,65 @@ "uglify-js": "^3.6.9", "watch": "^1.0.0" }, - "collective": { - "type": "opencollective", - "url": "https://opencollective.com/ajv" - }, + "files": [ + "lib/", + "dist/", + "scripts/", + "LICENSE", + ".tonic_example.js" + ], "funding": { "type": "github", "url": "https://github.com/sponsors/epoberezkin" - } + }, + "homepage": "https://github.com/ajv-validator/ajv", + "keywords": [ + "JSON", + "schema", + "validator", + "validation", + "jsonschema", + "json-schema", + "json-schema-validator", + "json-schema-validation" + ], + "license": "MIT", + "main": "lib/ajv.js", + "name": "ajv", + "nyc": { + "exclude": [ + "**/spec/**", + "node_modules" + ], + "reporter": [ + "lcov", + "text-summary" + ] + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ajv-validator/ajv.git" + }, + "scripts": { + "build": "del-cli lib/dotjs/*.js \"!lib/dotjs/index.js\" && node scripts/compile-dots.js", + "bundle": "del-cli dist && node ./scripts/bundle.js . Ajv pure_getters", + "bundle-beautify": "node ./scripts/bundle.js js-beautify", + "eslint": "eslint lib/{compile/,}*.js spec/{**/,}*.js scripts --ignore-pattern spec/JSON-Schema-Test-Suite", + "jshint": "jshint lib/{compile/,}*.js", + "lint": "npm run jshint && npm run eslint", + "prepublish": "npm run build && npm run bundle", + "test": "npm run lint && npm run build && npm run test-all", + "test-all": "npm run test-cov && if-node-version 10 npm run test-browser", + "test-browser": "del-cli .browser && npm run bundle && scripts/prepare-tests && npm run test-karma", + "test-cov": "nyc npm run test-spec", + "test-debug": "npm run test-spec -- --inspect-brk", + "test-fast": "AJV_FAST_TEST=true npm run test-spec", + "test-karma": "karma start", + "test-spec": "mocha spec/{**/,}*.spec.js -R spec", + "test-ts": "tsc --target ES5 --noImplicitAny --noEmit spec/typescript/index.ts", + "watch": "watch \"npm run build\" ./lib/dot" + }, + "tonicExampleFilename": ".tonic_example.js", + "typings": "lib/ajv.d.ts", + "version": "6.12.6" } diff --git a/node_modules/ansi-align/CHANGELOG.md b/node_modules/ansi-align/CHANGELOG.md deleted file mode 100644 index 36eeb52c9..000000000 --- a/node_modules/ansi-align/CHANGELOG.md +++ /dev/null @@ -1,58 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. - -### [3.0.1](https://github.com/nexdrew/ansi-align/compare/v3.0.0...v3.0.1) (2021-09-27) - - -### Bug Fixes - -* **package:** update string-width to version 4.1.0 ([#52](https://github.com/nexdrew/ansi-align/issues/52)) ([ab5b733](https://github.com/nexdrew/ansi-align/commit/ab5b733b1c30eef87b75e15459f2216db28d7ed3)) - - -# [3.0.0](https://github.com/nexdrew/ansi-align/compare/v2.0.0...v3.0.0) (2018-12-17) - - -### Bug Fixes - -* **package:** update string-width to version 3.0.0 ([#50](https://github.com/nexdrew/ansi-align/issues/50)) ([67f0d8f](https://github.com/nexdrew/ansi-align/commit/67f0d8f)) - - -### BREAKING CHANGES - -* **package:** Node 4 no longer supported, please update to Node 6+ or use ansi-align@2.0.0 - - - - -# [2.0.0](https://github.com/nexdrew/ansi-align/compare/v1.1.0...v2.0.0) (2017-05-01) - - -### Features - -* ES2015ify, dropping support for Node <4 ([#30](https://github.com/nexdrew/ansi-align/issues/30)) ([7b43f48](https://github.com/nexdrew/ansi-align/commit/7b43f48)) - - -### BREAKING CHANGES - -* Node 0.10 or 0.12 no longer supported, please update to Node 4+ or use ansi-align@1.1.0 - - - - -# [1.1.0](https://github.com/nexdrew/ansi-align/compare/v1.0.0...v1.1.0) (2016-06-06) - - -### Features - -* support left-alignment as no-op ([#3](https://github.com/nexdrew/ansi-align/issues/3)) ([e581db6](https://github.com/nexdrew/ansi-align/commit/e581db6)) - - - - -# 1.0.0 (2016-04-30) - - -### Features - -* initial commit ([1914d90](https://github.com/nexdrew/ansi-align/commit/1914d90)) diff --git a/node_modules/ansi-align/LICENSE b/node_modules/ansi-align/LICENSE deleted file mode 100644 index ab601b657..000000000 --- a/node_modules/ansi-align/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2016, Contributors - -Permission to use, copy, modify, and/or distribute this software for any purpose -with or without fee is hereby granted, provided that the above copyright notice -and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS -OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF -THIS SOFTWARE. diff --git a/node_modules/ansi-align/README.md b/node_modules/ansi-align/README.md deleted file mode 100644 index 5e5168255..000000000 --- a/node_modules/ansi-align/README.md +++ /dev/null @@ -1,80 +0,0 @@ -# ansi-align - -> align-text with ANSI support for CLIs - -[![Build Status](https://travis-ci.org/nexdrew/ansi-align.svg?branch=master)](https://travis-ci.org/nexdrew/ansi-align) -[![Coverage Status](https://coveralls.io/repos/github/nexdrew/ansi-align/badge.svg?branch=master)](https://coveralls.io/github/nexdrew/ansi-align?branch=master) -[![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventional-changelog/standard-version) -[![Greenkeeper badge](https://badges.greenkeeper.io/nexdrew/ansi-align.svg)](https://greenkeeper.io/) - -Easily center- or right- align a block of text, carefully ignoring ANSI escape codes. - -E.g. turn this: - -ansi text block no alignment :( - -Into this: - -ansi text block center aligned! - -## Install - -```sh -npm install --save ansi-align -``` - -```js -var ansiAlign = require('ansi-align') -``` - -## API - -### `ansiAlign(text, [opts])` - -Align the given text per the line with the greatest [`string-width`](https://github.com/sindresorhus/string-width), returning a new string (or array). - -#### Arguments - -- `text`: required, string or array - - The text to align. If a string is given, it will be split using either the `opts.split` value or `'\n'` by default. If an array is given, a different array of modified strings will be returned. - -- `opts`: optional, object - - Options to change behavior, see below. - -#### Options - -- `opts.align`: string, default `'center'` - - The alignment mode. Use `'center'` for center-alignment, `'right'` for right-alignment, or `'left'` for left-alignment. Note that the given `text` is assumed to be left-aligned already, so specifying `align: 'left'` just returns the `text` as is (no-op). - -- `opts.split`: string or RegExp, default `'\n'` - - The separator to use when splitting the text. Only used if text is given as a string. - -- `opts.pad`: string, default `' '` - - The value used to left-pad (prepend to) lines of lesser width. Will be repeated as necessary to adjust alignment to the line with the greatest width. - -### `ansiAlign.center(text)` - -Alias for `ansiAlign(text, { align: 'center' })`. - -### `ansiAlign.right(text)` - -Alias for `ansiAlign(text, { align: 'right' })`. - -### `ansiAlign.left(text)` - -Alias for `ansiAlign(text, { align: 'left' })`, which is a no-op. - -## Similar Packages - -- [`center-align`](https://github.com/jonschlinkert/center-align): Very close to this package, except it doesn't support ANSI codes. -- [`left-pad`](https://github.com/camwest/left-pad): Great for left-padding but does not support center alignment or ANSI codes. -- Pretty much anything by the [chalk](https://github.com/chalk) team - -## License - -ISC © Contributors diff --git a/node_modules/ansi-align/index.js b/node_modules/ansi-align/index.js deleted file mode 100644 index 67fa826d0..000000000 --- a/node_modules/ansi-align/index.js +++ /dev/null @@ -1,61 +0,0 @@ -'use strict' - -const stringWidth = require('string-width') - -function ansiAlign (text, opts) { - if (!text) return text - - opts = opts || {} - const align = opts.align || 'center' - - // short-circuit `align: 'left'` as no-op - if (align === 'left') return text - - const split = opts.split || '\n' - const pad = opts.pad || ' ' - const widthDiffFn = align !== 'right' ? halfDiff : fullDiff - - let returnString = false - if (!Array.isArray(text)) { - returnString = true - text = String(text).split(split) - } - - let width - let maxWidth = 0 - text = text.map(function (str) { - str = String(str) - width = stringWidth(str) - maxWidth = Math.max(width, maxWidth) - return { - str, - width - } - }).map(function (obj) { - return new Array(widthDiffFn(maxWidth, obj.width) + 1).join(pad) + obj.str - }) - - return returnString ? text.join(split) : text -} - -ansiAlign.left = function left (text) { - return ansiAlign(text, { align: 'left' }) -} - -ansiAlign.center = function center (text) { - return ansiAlign(text, { align: 'center' }) -} - -ansiAlign.right = function right (text) { - return ansiAlign(text, { align: 'right' }) -} - -module.exports = ansiAlign - -function halfDiff (maxWidth, curWidth) { - return Math.floor((maxWidth - curWidth) / 2) -} - -function fullDiff (maxWidth, curWidth) { - return maxWidth - curWidth -} diff --git a/node_modules/ansi-align/package.json b/node_modules/ansi-align/package.json deleted file mode 100644 index 96a9471c2..000000000 --- a/node_modules/ansi-align/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "ansi-align", - "version": "3.0.1", - "description": "align-text with ANSI support for CLIs", - "main": "index.js", - "scripts": { - "pretest": "standard", - "test": "nyc ava", - "coverage": "nyc report --reporter=text-lcov | coveralls", - "release": "standard-version" - }, - "files": [ - "index.js" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/nexdrew/ansi-align.git" - }, - "keywords": [ - "ansi", - "align", - "cli", - "center", - "pad" - ], - "author": "nexdrew", - "license": "ISC", - "bugs": { - "url": "https://github.com/nexdrew/ansi-align/issues" - }, - "homepage": "https://github.com/nexdrew/ansi-align#readme", - "dependencies": { - "string-width": "^4.1.0" - }, - "devDependencies": { - "ava": "^2.0.0", - "chalk": "^2.4.2", - "coveralls": "^3.0.3", - "nyc": "^14.0.0", - "standard": "^14.0.0", - "standard-version": "^7.0.0" - } -} diff --git a/node_modules/ansi-colors/package.json b/node_modules/ansi-colors/package.json index e11093140..a536d6b22 100644 --- a/node_modules/ansi-colors/package.json +++ b/node_modules/ansi-colors/package.json @@ -1,33 +1,58 @@ { - "name": "ansi-colors", - "description": "Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).", - "version": "4.1.1", - "homepage": "https://github.com/doowb/ansi-colors", - "author": "Brian Woodward (https://github.com/doowb)", - "contributors": [ - "Brian Woodward (https://twitter.com/doowb)", - "Jason Schilling (https://sourecode.de)", - "Jon Schlinkert (http://twitter.com/jonschlinkert)", - "Jordan (https://github.com/Silic0nS0ldier)" + "_args": [ + [ + "ansi-colors@4.1.1", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": "doowb/ansi-colors", - "bugs": { - "url": "https://github.com/doowb/ansi-colors/issues" + "_from": "ansi-colors@4.1.1", + "_id": "ansi-colors@4.1.1", + "_inBundle": false, + "_integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "_location": "/ansi-colors", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ansi-colors@4.1.1", + "name": "ansi-colors", + "escapedName": "ansi-colors", + "rawSpec": "4.1.1", + "saveSpec": null, + "fetchSpec": "4.1.1" }, - "license": "MIT", - "files": [ - "index.js", - "symbols.js", - "types/index.d.ts" + "_requiredBy": [ + "/enquirer" ], - "main": "index.js", - "types": "./types/index.d.ts", - "engines": { - "node": ">=6" + "_resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "_spec": "4.1.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Brian Woodward", + "url": "https://github.com/doowb" }, - "scripts": { - "test": "mocha" + "bugs": { + "url": "https://github.com/doowb/ansi-colors/issues" }, + "contributors": [ + { + "name": "Brian Woodward", + "url": "https://twitter.com/doowb" + }, + { + "name": "Jason Schilling", + "url": "https://sourecode.de" + }, + { + "name": "Jon Schlinkert", + "url": "http://twitter.com/jonschlinkert" + }, + { + "name": "Jordan", + "url": "https://github.com/Silic0nS0ldier" + } + ], + "description": "Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).", "devDependencies": { "decache": "^4.5.1", "gulp-format-md": "^2.0.0", @@ -35,6 +60,15 @@ "mocha": "^6.1.4", "text-table": "^0.2.0" }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "symbols.js", + "types/index.d.ts" + ], + "homepage": "https://github.com/doowb/ansi-colors", "keywords": [ "ansi", "bgblack", @@ -75,6 +109,17 @@ "white", "yellow" ], + "license": "MIT", + "main": "index.js", + "name": "ansi-colors", + "repository": { + "type": "git", + "url": "git+https://github.com/doowb/ansi-colors.git" + }, + "scripts": { + "test": "mocha" + }, + "types": "./types/index.d.ts", "verb": { "toc": false, "layout": "default", @@ -105,5 +150,6 @@ "colors", "kleur" ] - } + }, + "version": "4.1.1" } diff --git a/node_modules/ansi-escapes/node_modules/type-fest/package.json b/node_modules/ansi-escapes/node_modules/type-fest/package.json index a0a37182a..fbcf1bbbc 100644 --- a/node_modules/ansi-escapes/node_modules/type-fest/package.json +++ b/node_modules/ansi-escapes/node_modules/type-fest/package.json @@ -1,58 +1,94 @@ { - "name": "type-fest", - "version": "0.21.3", - "description": "A collection of essential TypeScript types", - "license": "(MIT OR CC0-1.0)", - "repository": "sindresorhus/type-fest", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && tsd && tsc" - }, - "files": [ - "index.d.ts", - "base.d.ts", - "source", - "ts41" - ], - "keywords": [ - "typescript", - "ts", - "types", - "utility", - "util", - "utilities", - "omit", - "merge", - "json" - ], - "devDependencies": { - "@sindresorhus/tsconfig": "~0.7.0", - "expect-type": "^0.11.0", - "tsd": "^0.14.0", - "typescript": "^4.1.3", - "xo": "^0.36.1" - }, - "types": "./index.d.ts", - "typesVersions": { - ">=4.1": { - "*": [ - "ts41/*" - ] - } - }, - "xo": { - "rules": { - "@typescript-eslint/ban-types": "off", - "@typescript-eslint/indent": "off", - "node/no-unsupported-features/es-builtins": "off" - } - } + "_args": [ + [ + "type-fest@0.21.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "type-fest@0.21.3", + "_id": "type-fest@0.21.3", + "_inBundle": false, + "_integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "_location": "/ansi-escapes/type-fest", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "type-fest@0.21.3", + "name": "type-fest", + "escapedName": "type-fest", + "rawSpec": "0.21.3", + "saveSpec": null, + "fetchSpec": "0.21.3" + }, + "_requiredBy": [ + "/ansi-escapes" + ], + "_resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "_spec": "0.21.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/type-fest/issues" + }, + "description": "A collection of essential TypeScript types", + "devDependencies": { + "@sindresorhus/tsconfig": "~0.7.0", + "expect-type": "^0.11.0", + "tsd": "^0.14.0", + "typescript": "^4.1.3", + "xo": "^0.36.1" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.d.ts", + "base.d.ts", + "source", + "ts41" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/type-fest#readme", + "keywords": [ + "typescript", + "ts", + "types", + "utility", + "util", + "utilities", + "omit", + "merge", + "json" + ], + "license": "(MIT OR CC0-1.0)", + "name": "type-fest", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/type-fest.git" + }, + "scripts": { + "test": "xo && tsd && tsc" + }, + "types": "./index.d.ts", + "typesVersions": { + ">=4.1": { + "*": [ + "ts41/*" + ] + } + }, + "version": "0.21.3", + "xo": { + "rules": { + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/indent": "off", + "node/no-unsupported-features/es-builtins": "off" + } + } } diff --git a/node_modules/ansi-escapes/package.json b/node_modules/ansi-escapes/package.json index 88a9356c4..4d37a4bda 100644 --- a/node_modules/ansi-escapes/package.json +++ b/node_modules/ansi-escapes/package.json @@ -1,57 +1,96 @@ { - "name": "ansi-escapes", - "version": "4.3.2", - "description": "ANSI escape codes for manipulating the terminal", - "license": "MIT", - "repository": "sindresorhus/ansi-escapes", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "ansi", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "escapes", - "formatting", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text", - "vt100", - "sequence", - "control", - "code", - "codes", - "cursor", - "iterm", - "iterm2" - ], - "dependencies": { - "type-fest": "^0.21.3" - }, - "devDependencies": { - "@types/node": "^13.7.7", - "ava": "^2.1.0", - "tsd": "^0.14.0", - "xo": "^0.25.3" - } + "_args": [ + [ + "ansi-escapes@4.3.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "ansi-escapes@4.3.2", + "_id": "ansi-escapes@4.3.2", + "_inBundle": false, + "_integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "_location": "/ansi-escapes", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ansi-escapes@4.3.2", + "name": "ansi-escapes", + "escapedName": "ansi-escapes", + "rawSpec": "4.3.2", + "saveSpec": null, + "fetchSpec": "4.3.2" + }, + "_requiredBy": [ + "/@jest/core", + "/jest-watcher", + "/log-update", + "/terminal-link" + ], + "_resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "_spec": "4.3.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/ansi-escapes/issues" + }, + "dependencies": { + "type-fest": "^0.21.3" + }, + "description": "ANSI escape codes for manipulating the terminal", + "devDependencies": { + "@types/node": "^13.7.7", + "ava": "^2.1.0", + "tsd": "^0.14.0", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/ansi-escapes#readme", + "keywords": [ + "ansi", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "escapes", + "formatting", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text", + "vt100", + "sequence", + "control", + "code", + "codes", + "cursor", + "iterm", + "iterm2" + ], + "license": "MIT", + "name": "ansi-escapes", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/ansi-escapes.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.3.2" } diff --git a/node_modules/ansi-regex/package.json b/node_modules/ansi-regex/package.json index 017f53116..e2782adb6 100644 --- a/node_modules/ansi-regex/package.json +++ b/node_modules/ansi-regex/package.json @@ -1,55 +1,91 @@ { - "name": "ansi-regex", - "version": "5.0.1", - "description": "Regular expression for matching ANSI escape codes", - "license": "MIT", - "repository": "chalk/ansi-regex", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd", - "view-supported": "node fixtures/view-codes.js" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "text", - "regex", - "regexp", - "re", - "match", - "test", - "find", - "pattern" - ], - "devDependencies": { - "ava": "^2.4.0", - "tsd": "^0.9.0", - "xo": "^0.25.3" - } + "_args": [ + [ + "ansi-regex@5.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "ansi-regex@5.0.1", + "_id": "ansi-regex@5.0.1", + "_inBundle": false, + "_integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "_location": "/ansi-regex", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ansi-regex@5.0.1", + "name": "ansi-regex", + "escapedName": "ansi-regex", + "rawSpec": "5.0.1", + "saveSpec": null, + "fetchSpec": "5.0.1" + }, + "_requiredBy": [ + "/pretty-format", + "/strip-ansi" + ], + "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "_spec": "5.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-regex/issues" + }, + "description": "Regular expression for matching ANSI escape codes", + "devDependencies": { + "ava": "^2.4.0", + "tsd": "^0.9.0", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/chalk/ansi-regex#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "text", + "regex", + "regexp", + "re", + "match", + "test", + "find", + "pattern" + ], + "license": "MIT", + "name": "ansi-regex", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-regex.git" + }, + "scripts": { + "test": "xo && ava && tsd", + "view-supported": "node fixtures/view-codes.js" + }, + "version": "5.0.1" } diff --git a/node_modules/ansi-styles/package.json b/node_modules/ansi-styles/package.json index 75393284d..f7775a32d 100644 --- a/node_modules/ansi-styles/package.json +++ b/node_modules/ansi-styles/package.json @@ -1,56 +1,96 @@ { - "name": "ansi-styles", - "version": "4.3.0", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT", - "repository": "chalk/ansi-styles", - "funding": "https://github.com/chalk/ansi-styles?sponsor=1", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd", - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "color-convert": "^2.0.1" - }, - "devDependencies": { - "@types/color-convert": "^1.9.0", - "ava": "^2.3.0", - "svg-term-cli": "^2.1.1", - "tsd": "^0.11.0", - "xo": "^0.25.3" - } + "_args": [ + [ + "ansi-styles@4.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "ansi-styles@4.3.0", + "_id": "ansi-styles@4.3.0", + "_inBundle": false, + "_integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "_location": "/ansi-styles", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ansi-styles@4.3.0", + "name": "ansi-styles", + "escapedName": "ansi-styles", + "rawSpec": "4.3.0", + "saveSpec": null, + "fetchSpec": "4.3.0" + }, + "_requiredBy": [ + "/chalk", + "/eslint/slice-ansi", + "/log-update/slice-ansi", + "/log-update/wrap-ansi", + "/slice-ansi", + "/wrap-ansi" + ], + "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "_spec": "4.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-styles/issues" + }, + "dependencies": { + "color-convert": "^2.0.1" + }, + "description": "ANSI escape codes for styling strings in the terminal", + "devDependencies": { + "@types/color-convert": "^1.9.0", + "ava": "^2.3.0", + "svg-term-cli": "^2.1.1", + "tsd": "^0.11.0", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/chalk/ansi-styles?sponsor=1", + "homepage": "https://github.com/chalk/ansi-styles#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "ansi-styles", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-styles.git" + }, + "scripts": { + "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", + "test": "xo && ava && tsd" + }, + "version": "4.3.0" } diff --git a/node_modules/anymatch/package.json b/node_modules/anymatch/package.json index f9b528479..a9013b74c 100644 --- a/node_modules/anymatch/package.json +++ b/node_modules/anymatch/package.json @@ -1,25 +1,57 @@ { - "name": "anymatch", - "version": "3.1.2", - "description": "Matches strings against configurable strings, globs, regular expressions, and/or functions", - "files": [ - "index.js", - "index.d.ts" + "_args": [ + [ + "anymatch@3.1.2", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" + "_development": true, + "_from": "anymatch@3.1.2", + "_id": "anymatch@3.1.2", + "_inBundle": false, + "_integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "_location": "/anymatch", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "anymatch@3.1.2", + "name": "anymatch", + "escapedName": "anymatch", + "rawSpec": "3.1.2", + "saveSpec": null, + "fetchSpec": "3.1.2" }, + "_requiredBy": [ + "/jest-haste-map" + ], + "_resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "_spec": "3.1.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Elan Shanker", "url": "https://github.com/es128" }, - "license": "ISC", - "homepage": "https://github.com/micromatch/anymatch", - "repository": { - "type": "git", - "url": "https://github.com/micromatch/anymatch" + "bugs": { + "url": "https://github.com/micromatch/anymatch/issues" + }, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" }, + "description": "Matches strings against configurable strings, globs, regular expressions, and/or functions", + "devDependencies": { + "mocha": "^6.1.3", + "nyc": "^14.0.0" + }, + "engines": { + "node": ">= 8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/micromatch/anymatch", "keywords": [ "match", "any", @@ -34,15 +66,15 @@ "expression", "function" ], - "scripts": { - "test": "nyc mocha", - "mocha": "mocha" + "license": "ISC", + "name": "anymatch", + "repository": { + "type": "git", + "url": "git+https://github.com/micromatch/anymatch.git" }, - "devDependencies": { - "mocha": "^6.1.3", - "nyc": "^14.0.0" + "scripts": { + "mocha": "mocha", + "test": "nyc mocha" }, - "engines": { - "node": ">= 8" - } + "version": "3.1.2" } diff --git a/node_modules/arg/package.json b/node_modules/arg/package.json index 22261897c..7d379f1e8 100644 --- a/node_modules/arg/package.json +++ b/node_modules/arg/package.json @@ -1,30 +1,69 @@ { - "name": "arg", - "version": "4.1.3", + "_args": [ + [ + "arg@4.1.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "arg@4.1.3", + "_id": "arg@4.1.3", + "_inBundle": false, + "_integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "_location": "/arg", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "arg@4.1.3", + "name": "arg", + "escapedName": "arg", + "rawSpec": "4.1.3", + "saveSpec": null, + "fetchSpec": "4.1.3" + }, + "_requiredBy": [ + "/ts-node" + ], + "_resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "_spec": "4.1.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Josh Junon", + "email": "junon@zeit.co" + }, + "bugs": { + "url": "https://github.com/zeit/arg/issues" + }, "description": "Another simple argument parser", - "main": "index.js", - "types": "index.d.ts", - "repository": "zeit/arg", - "author": "Josh Junon ", - "license": "MIT", + "devDependencies": { + "chai": "^4.1.1", + "jest": "^20.0.4", + "xo": "^0.18.2" + }, "files": [ "index.js", "index.d.ts" ], + "homepage": "https://github.com/zeit/arg#readme", + "license": "MIT", + "main": "index.js", + "name": "arg", + "repository": { + "type": "git", + "url": "git+https://github.com/zeit/arg.git" + }, "scripts": { "pretest": "xo", "test": "WARN_EXIT=1 jest --coverage -w 2" }, + "types": "index.d.ts", + "version": "4.1.3", "xo": { "rules": { "complexity": 0, "max-depth": 0, "no-div-regex": 0 } - }, - "devDependencies": { - "chai": "^4.1.1", - "jest": "^20.0.4", - "xo": "^0.18.2" } } diff --git a/node_modules/argparse/package.json b/node_modules/argparse/package.json index 62fba0a9f..5c36f4433 100644 --- a/node_modules/argparse/package.json +++ b/node_modules/argparse/package.json @@ -1,7 +1,59 @@ { - "name": "argparse", + "_args": [ + [ + "argparse@1.0.10", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "argparse@1.0.10", + "_id": "argparse@1.0.10", + "_inBundle": false, + "_integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "_location": "/argparse", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "argparse@1.0.10", + "name": "argparse", + "escapedName": "argparse", + "rawSpec": "1.0.10", + "saveSpec": null, + "fetchSpec": "1.0.10" + }, + "_requiredBy": [ + "/js-yaml" + ], + "_resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "_spec": "1.0.10", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/nodeca/argparse/issues" + }, + "contributors": [ + { + "name": "Eugene Shkuropat" + }, + { + "name": "Paul Jacobson" + } + ], + "dependencies": { + "sprintf-js": "~1.0.2" + }, "description": "Very powerful CLI arguments parser. Native port of argparse - python's options parsing library", - "version": "1.0.10", + "devDependencies": { + "eslint": "^2.13.1", + "istanbul": "^0.4.5", + "mocha": "^3.1.0", + "ndoc": "^5.0.1" + }, + "files": [ + "index.js", + "lib/" + ], + "homepage": "https://github.com/nodeca/argparse#readme", "keywords": [ "cli", "parser", @@ -9,26 +61,14 @@ "option", "args" ], - "contributors": [ - "Eugene Shkuropat", - "Paul Jacobson" - ], - "files": [ - "index.js", - "lib/" - ], "license": "MIT", - "repository": "nodeca/argparse", + "name": "argparse", + "repository": { + "type": "git", + "url": "git+https://github.com/nodeca/argparse.git" + }, "scripts": { "test": "make test" }, - "dependencies": { - "sprintf-js": "~1.0.2" - }, - "devDependencies": { - "eslint": "^2.13.1", - "istanbul": "^0.4.5", - "mocha": "^3.1.0", - "ndoc": "^5.0.1" - } + "version": "1.0.10" } diff --git a/node_modules/array-flatten/package.json b/node_modules/array-flatten/package.json index 1a24e2a1a..d53d5fbf7 100644 --- a/node_modules/array-flatten/package.json +++ b/node_modules/array-flatten/package.json @@ -1,39 +1,67 @@ { - "name": "array-flatten", - "version": "1.1.1", - "description": "Flatten an array of nested arrays into a single flat array", - "main": "array-flatten.js", - "files": [ - "array-flatten.js", - "LICENSE" + "_args": [ + [ + "array-flatten@1.1.1", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "test": "istanbul cover _mocha -- -R spec" + "_from": "array-flatten@1.1.1", + "_id": "array-flatten@1.1.1", + "_inBundle": false, + "_integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "_location": "/array-flatten", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "array-flatten@1.1.1", + "name": "array-flatten", + "escapedName": "array-flatten", + "rawSpec": "1.1.1", + "saveSpec": null, + "fetchSpec": "1.1.1" }, - "repository": { - "type": "git", - "url": "git://github.com/blakeembrey/array-flatten.git" - }, - "keywords": [ - "array", - "flatten", - "arguments", - "depth" + "_requiredBy": [ + "/express" ], + "_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "_spec": "1.1.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Blake Embrey", "email": "hello@blakeembrey.com", "url": "http://blakeembrey.me" }, - "license": "MIT", "bugs": { "url": "https://github.com/blakeembrey/array-flatten/issues" }, - "homepage": "https://github.com/blakeembrey/array-flatten", + "description": "Flatten an array of nested arrays into a single flat array", "devDependencies": { "istanbul": "^0.3.13", "mocha": "^2.2.4", "pre-commit": "^1.0.7", "standard": "^3.7.3" - } + }, + "files": [ + "array-flatten.js", + "LICENSE" + ], + "homepage": "https://github.com/blakeembrey/array-flatten", + "keywords": [ + "array", + "flatten", + "arguments", + "depth" + ], + "license": "MIT", + "main": "array-flatten.js", + "name": "array-flatten", + "repository": { + "type": "git", + "url": "git://github.com/blakeembrey/array-flatten.git" + }, + "scripts": { + "test": "istanbul cover _mocha -- -R spec" + }, + "version": "1.1.1" } diff --git a/node_modules/array-union/package.json b/node_modules/array-union/package.json index 5ad5afa71..b5e70ba02 100644 --- a/node_modules/array-union/package.json +++ b/node_modules/array-union/package.json @@ -1,38 +1,74 @@ { - "name": "array-union", - "version": "2.1.0", - "description": "Create an array of unique values, in order, from the input arrays", - "license": "MIT", - "repository": "sindresorhus/array-union", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "array", - "set", - "uniq", - "unique", - "duplicate", - "remove", - "union", - "combine", - "merge" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "array-union@2.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "array-union@2.1.0", + "_id": "array-union@2.1.0", + "_inBundle": false, + "_integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "_location": "/array-union", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "array-union@2.1.0", + "name": "array-union", + "escapedName": "array-union", + "rawSpec": "2.1.0", + "saveSpec": null, + "fetchSpec": "2.1.0" + }, + "_requiredBy": [ + "/globby" + ], + "_resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "_spec": "2.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/array-union/issues" + }, + "description": "Create an array of unique values, in order, from the input arrays", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/array-union#readme", + "keywords": [ + "array", + "set", + "uniq", + "unique", + "duplicate", + "remove", + "union", + "combine", + "merge" + ], + "license": "MIT", + "name": "array-union", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/array-union.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "2.1.0" } diff --git a/node_modules/arrify/package.json b/node_modules/arrify/package.json index 1e63e5971..8c2deeef9 100644 --- a/node_modules/arrify/package.json +++ b/node_modules/arrify/package.json @@ -1,23 +1,49 @@ { - "name": "arrify", - "version": "1.0.1", - "description": "Convert a value to an array", - "license": "MIT", - "repository": "sindresorhus/arrify", + "_from": "arrify@^1.0.1", + "_id": "arrify@1.0.1", + "_inBundle": false, + "_integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "_location": "/arrify", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "arrify@^1.0.1", + "name": "arrify", + "escapedName": "arrify", + "rawSpec": "^1.0.1", + "saveSpec": null, + "fetchSpec": "^1.0.1" + }, + "_requiredBy": [ + "/minimist-options" + ], + "_resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "_shasum": "898508da2226f380df904728456849c1501a4b0d", + "_spec": "arrify@^1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/minimist-options", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/arrify/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Convert a value to an array", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=0.10.0" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/arrify#readme", "keywords": [ "array", "arr", @@ -26,8 +52,14 @@ "convert", "value" ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "license": "MIT", + "name": "arrify", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/arrify.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.0.1" } diff --git a/node_modules/astral-regex/package.json b/node_modules/astral-regex/package.json index d1ceea7f3..ed7414e8a 100644 --- a/node_modules/astral-regex/package.json +++ b/node_modules/astral-regex/package.json @@ -1,33 +1,71 @@ { - "name": "astral-regex", - "version": "2.0.0", - "description": "Regular expression for matching astral symbols", - "license": "MIT", - "repository": "kevva/astral-regex", - "author": { - "name": "Kevin Mårtensson", - "email": "kevinmartensson@gmail.com", - "url": "github.com/kevva" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "astral", - "emoji", - "regex", - "surrogate" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "astral-regex@2.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "astral-regex@2.0.0", + "_id": "astral-regex@2.0.0", + "_inBundle": false, + "_integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "_location": "/astral-regex", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "astral-regex@2.0.0", + "name": "astral-regex", + "escapedName": "astral-regex", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/eslint/slice-ansi", + "/log-update/slice-ansi", + "/slice-ansi" + ], + "_resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Kevin Mårtensson", + "email": "kevinmartensson@gmail.com", + "url": "github.com/kevva" + }, + "bugs": { + "url": "https://github.com/kevva/astral-regex/issues" + }, + "description": "Regular expression for matching astral symbols", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/kevva/astral-regex#readme", + "keywords": [ + "astral", + "emoji", + "regex", + "surrogate" + ], + "license": "MIT", + "name": "astral-regex", + "repository": { + "type": "git", + "url": "git+https://github.com/kevva/astral-regex.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "2.0.0" } diff --git a/node_modules/asynckit/package.json b/node_modules/asynckit/package.json index 51147d656..38d72f6d8 100644 --- a/node_modules/asynckit/package.json +++ b/node_modules/asynckit/package.json @@ -1,49 +1,42 @@ { - "name": "asynckit", - "version": "0.4.0", - "description": "Minimal async jobs utility library, with streams support", - "main": "index.js", - "scripts": { - "clean": "rimraf coverage", - "lint": "eslint *.js lib/*.js test/*.js", - "test": "istanbul cover --reporter=json tape -- 'test/test-*.js' | tap-spec", - "win-test": "tape test/test-*.js", - "browser": "browserify -t browserify-istanbul test/lib/browserify_adjustment.js test/test-*.js | obake --coverage | tap-spec", - "report": "istanbul report", - "size": "browserify index.js | size-table asynckit", - "debug": "tape test/test-*.js" - }, - "pre-commit": [ - "clean", - "lint", - "test", - "browser", - "report", - "size" + "_args": [ + [ + "asynckit@0.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": { - "type": "git", - "url": "git+https://github.com/alexindigo/asynckit.git" + "_development": true, + "_from": "asynckit@0.4.0", + "_id": "asynckit@0.4.0", + "_inBundle": false, + "_integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "_location": "/asynckit", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "asynckit@0.4.0", + "name": "asynckit", + "escapedName": "asynckit", + "rawSpec": "0.4.0", + "saveSpec": null, + "fetchSpec": "0.4.0" }, - "keywords": [ - "async", - "jobs", - "parallel", - "serial", - "iterator", - "array", - "object", - "stream", - "destroy", - "terminate", - "abort" + "_requiredBy": [ + "/form-data" ], - "author": "Alex Indigo ", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "_spec": "0.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Alex Indigo", + "email": "iam@alexindigo.com" + }, "bugs": { "url": "https://github.com/alexindigo/asynckit/issues" }, - "homepage": "https://github.com/alexindigo/asynckit#readme", + "dependencies": {}, + "description": "Minimal async jobs utility library, with streams support", "devDependencies": { "browserify": "^13.0.0", "browserify-istanbul": "^2.0.0", @@ -59,5 +52,44 @@ "tap-spec": "^4.1.1", "tape": "^4.5.1" }, - "dependencies": {} + "homepage": "https://github.com/alexindigo/asynckit#readme", + "keywords": [ + "async", + "jobs", + "parallel", + "serial", + "iterator", + "array", + "object", + "stream", + "destroy", + "terminate", + "abort" + ], + "license": "MIT", + "main": "index.js", + "name": "asynckit", + "pre-commit": [ + "clean", + "lint", + "test", + "browser", + "report", + "size" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/alexindigo/asynckit.git" + }, + "scripts": { + "browser": "browserify -t browserify-istanbul test/lib/browserify_adjustment.js test/test-*.js | obake --coverage | tap-spec", + "clean": "rimraf coverage", + "debug": "tape test/test-*.js", + "lint": "eslint *.js lib/*.js test/*.js", + "report": "istanbul report", + "size": "browserify index.js | size-table asynckit", + "test": "istanbul cover --reporter=json tape -- 'test/test-*.js' | tap-spec", + "win-test": "tape test/test-*.js" + }, + "version": "0.4.0" } diff --git a/node_modules/aws-sdk/CHANGELOG.md b/node_modules/aws-sdk/CHANGELOG.md index ab3696d14..11e261df6 100644 --- a/node_modules/aws-sdk/CHANGELOG.md +++ b/node_modules/aws-sdk/CHANGELOG.md @@ -1,7 +1,146 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1075.0 +* feature: Budgets: Adds support for auto-adjusting budgets, a new budget method alongside fixed and planned. Auto-adjusting budgets introduces new metadata to configure a budget limit baseline using a historical lookback average or current period forecast. +* feature: CostExplorer: AWS Cost Anomaly Detection now supports SNS FIFO topic subscribers. +* feature: Glue: Support for optimistic locking in UpdateTable + +## 2.1074.0 +* bugfix: ParamValidator: Fix the validation error when assign non-object values to member with document trait +* feature: Appflow: Launching Amazon AppFlow SAP as a destination connector SDK. +* feature: Athena: This release adds a subfield, ErrorType, to the AthenaError response object in the GetQueryExecution API when a query fails. +* feature: RDS: Adds support for determining which Aurora PostgreSQL versions support Babelfish. + +## 2.1073.0 +* feature: CloudFormation: This SDK release adds AWS CloudFormation Hooks HandlerErrorCodes +* feature: LookoutVision: This release makes CompilerOptions in Lookout for Vision's StartModelPackagingJob's Configuration object optional. +* feature: Pinpoint: This SDK release adds a new paramater creation date for GetApp and GetApps Api call +* feature: WAFV2: Adds support for AWS WAF Fraud Control account takeover prevention (ATP), with configuration options for the new managed rule group AWSManagedRulesATPRuleSet and support for application integration SDKs for Android and iOS mobile apps. + +## 2.1072.0 +* feature: CloudFormation: This SDK release is for the feature launch of AWS CloudFormation Hooks. + +## 2.1071.0 +* feature: AppRunner: This release adds support for App Runner to route outbound network traffic of a service through an Amazon VPC. New API: CreateVpcConnector, DescribeVpcConnector, ListVpcConnectors, and DeleteVpcConnector. Updated API: CreateService, DescribeService, and UpdateService. +* feature: Kendra: Amazon Kendra now provides a data source connector for Amazon FSx. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-fsx.html +* feature: S3Control: This release adds support for S3 Batch Replication. Batch Replication lets you replicate existing objects, already replicated objects to new destinations, and objects that previously failed to replicate. Customers will receive object-level visibility of progress and a detailed completion report. +* feature: SageMaker: Autopilot now generates an additional report with information on the performance of the best model, such as a Confusion matrix and Area under the receiver operating characteristic (AUC-ROC). The path to the report can be found in CandidateArtifactLocations. + +## 2.1070.0 +* feature: AuditManager: This release updates 3 API parameters. UpdateAssessmentFrameworkControlSet now requires the controls attribute, and CreateAssessmentFrameworkControl requires the id attribute. Additionally, UpdateAssessmentFramework now has a minimum length constraint for the controlSets attribute. +* feature: SSMIncidents: Update RelatedItem enum to support SSM Automation +* feature: Synthetics: Adding names parameters to the Describe APIs. + +## 2.1069.0 +* feature: Athena: You can now optionally specify the account ID that you expect to be the owner of your query results output location bucket in Athena. If the account ID of the query results bucket owner does not match the specified account ID, attempts to output to the bucket will fail with an S3 permissions error. +* feature: LakeFormation: Add support for calling Update Table Objects without a TransactionId. + +## 2.1068.0 +* feature: EC2: adds support for AMIs in Recycle Bin +* feature: MarketplaceMetering: Add CustomerAWSAccountId to ResolveCustomer API response and increase UsageAllocation limit to 2500. +* feature: Rbin: Add EC2 Image recycle bin support. +* feature: RoboMaker: The release deprecates the use various APIs of RoboMaker Deployment Service in favor of AWS IoT GreenGrass v2.0. + +## 2.1067.0 +* feature: Appflow: Launching Amazon AppFlow Custom Connector SDK. +* feature: Comprehend: Amazon Comprehend now supports sharing and importing custom trained models from one AWS account to another within the same region. +* feature: ES: Allows customers to get progress updates for blue/green deployments +* feature: Fis: Added GetTargetResourceType and ListTargetResourceTypesAPI actions. These actions return additional details about resource types and parameters that can be targeted by FIS actions. Added a parameters field for the targets that can be specified in experiment templates. +* feature: Glue: Launch Protobuf support for AWS Glue Schema Registry +* feature: Iot: This release adds support for configuring AWS IoT logging level per client ID, source IP, or principal ID. +* feature: Personalize: Adding minRecommendationRequestsPerSecond attribute to recommender APIs. + +## 2.1066.0 +* feature: Athena: This release adds a field, AthenaError, to the GetQueryExecution response object when a query fails. +* feature: SageMaker: This release added a new NNA accelerator compilation support for Sagemaker Neo. +* feature: SecretsManager: Feature are ready to release on Jan 28th + +## 2.1065.0 +* feature: Connect: This release adds support for configuring a custom chat duration when starting a new chat session via the StartChatContact API. The default value for chat duration is 25 hours, minimum configurable value is 1 hour (60 minutes) and maximum configurable value is 7 days (10,080 minutes). +* feature: EC2: X2ezn instances are powered by Intel Cascade Lake CPUs that deliver turbo all core frequency of up to 4.5 GHz and up to 100 Gbps of networking bandwidth +* feature: Kafka: Amazon MSK has updated the CreateCluster and UpdateBrokerStorage API that allows you to specify volume throughput during cluster creation and broker volume updates. +* feature: OpenSearch: Allows customers to get progress updates for blue/green deployments + +## 2.1064.0 +* feature: CodeGuruReviewer: Added failure state and adjusted timeout in waiter +* feature: FraudDetector: Added new APIs for viewing past predictions and obtaining prediction metadata including prediction explanations: ListEventPredictions and GetEventPredictionMetadata +* feature: SageMaker: API changes relating to Fail steps in model building pipeline and add PipelineExecutionFailureReason in PipelineExecutionSummary. +* feature: SecurityHub: Adding top level Sample boolean field + +## 2.1063.0 +* feature: Connect: This release adds support for custom vocabularies to be used with Contact Lens. Custom vocabularies improve transcription accuracy for one or more specific words. +* feature: EFS: Use Amazon EFS Replication to replicate your Amazon EFS file system in the AWS Region of your preference. +* feature: FSx: This release adds support for growing SSD storage capacity and growing/shrinking SSD IOPS for FSx for ONTAP file systems. +* feature: GuardDuty: Amazon GuardDuty expands threat detection coverage to protect Amazon Elastic Kubernetes Service (EKS) workloads. + +## 2.1062.0 +* bugfix: ParamValidator: fix the issue that the ParamValidator always fails on the document trait +* feature: MediaConvert: AWS Elemental MediaConvert SDK has added support for 4K AV1 output resolutions & 10-bit AV1 color, the ability to ingest sidecar Dolby Vision XML metadata files, and the ability to flag WebVTT and IMSC tracks for accessibility in HLS. +* feature: TranscribeService: Add support for granular PIIEntityTypes when using Batch ContentRedaction. + +## 2.1061.0 +* feature: Connect: This release adds tagging support for UserHierarchyGroups resource. +* feature: EC2: C6i, M6i and R6i instances are powered by a third-generation Intel Xeon Scalable processor (Ice Lake) delivering all-core turbo frequency of 3.5 GHz +* feature: Fis: Added action startTime and action endTime timestamp fields to the ExperimentAction object +* feature: GuardDuty: Amazon GuardDuty findings now include remoteAccountDetails under AwsApiCallAction section if instance credential is exfiltrated. +* feature: MediaTailor: This release adds support for multiple Segment Delivery Configurations. Users can provide a list of names and URLs when creating or editing a source location. When retrieving content, users can send a header to choose which URL should be used to serve content. + +## 2.1060.0 +* feature: EC2InstanceConnect: Adds support for ED25519 keys. PushSSHPublicKey Availability Zone parameter is now optional. Adds EC2InstanceStateInvalidException for instances that are not running. This was previously a service exception, so this may require updating your code to handle this new exception. +* feature: Macie2: This release of the Amazon Macie API introduces stricter validation of requests to create custom data identifiers. + +## 2.1059.0 +* feature: EC2: Add support for AWS Client VPN client login banner and session timeout. +* feature: IVS: This release adds support for the new Thumbnail Configuration property for Recording Configurations. For more information see https://docs.aws.amazon.com/ivs/latest/userguide/record-to-s3.html +* feature: Location: This release adds the CalculateRouteMatrix API which calculates routes for the provided departure and destination positions. The release also deprecates the use of pricing plan across all verticals. + +## 2.1058.0 +* feature: ConfigService: Update ResourceType enum with values for CodeDeploy, EC2 and Kinesis resources +* feature: Honeycode: Added read and write api support for multi-select picklist. And added errorcode field to DescribeTableDataImportJob API output, when import job fails. +* feature: LookoutMetrics: This release adds a new DeactivateAnomalyDetector API operation. +* feature: RAM: This release adds the ListPermissionVersions API which lists the versions for a given permission. + +## 2.1057.0 +* feature: ElastiCache: AWS ElastiCache for Redis has added a new Engine Log LogType in LogDelivery feature. You can now publish the Engine Log from your Amazon ElastiCache for Redis clusters to Amazon CloudWatch Logs and Amazon Kinesis Data Firehose. +* feature: Glue: This SDK release adds support to pass run properties when starting a workflow run +* feature: LexRuntimeV2: Updates API to latest version. +* feature: Nimble: Amazon Nimble Studio now supports validation for Launch Profiles. Launch Profiles now report static validation results after create/update to detect errors in network or active directory configuration. +* feature: Pinpoint: Adds JourneyChannelSettings to WriteJourneyRequest +* feature: SSM: AWS Systems Manager adds category support for DescribeDocument API + +## 2.1056.0 +* feature: EC2: Hpc6a instances are powered by a third-generation AMD EPYC processors (Milan) delivering all-core turbo frequency of 3.4 GHz +* feature: FMS: Shield Advanced policies for Amazon CloudFront resources now support automatic application layer DDoS mitigation. The max length for SecurityServicePolicyData ManagedServiceData is now 8192 characters, instead of 4096. +* feature: Honeycode: Honeycode is releasing new APIs to allow user to create, delete and list tags on resources. +* feature: LexModelsV2: This release adds support for Custom vocabulary in Amazon Lex V2 APIs for model building. Customers can give Amazon Lex V2 more information about how to process audio conversations with a bot by creating a custom vocabulary in a specific language. +* feature: PI: This release adds three Performance Insights APIs. Use ListAvailableResourceMetrics to get available metrics, GetResourceMetadata to get feature metadata, and ListAvailableResourceDimensions to list available dimensions. The AdditionalMetrics field in DescribeDimensionKeys retrieves per-SQL metrics. + +## 2.1055.0 +* feature: EC2: EC2 Capacity Reservations now supports RHEL instance platforms (RHEL with SQL Server Standard, RHEL with SQL Server Enterprise, RHEL with SQL Server Web, RHEL with HA, RHEL with HA and SQL Server Standard, RHEL with HA and SQL Server Enterprise) +* feature: Kendra: Amazon Kendra now supports advanced query language and query-less search. +* feature: RDS: This release adds the db-proxy event type to support subscribing to RDS Proxy events. +* feature: WorkSpaces: Introducing new APIs for Workspaces audio optimization with Amazon Connect: CreateConnectClientAddIn, DescribeConnectClientAddIns, UpdateConnectClientAddIn and DeleteConnectClientAddIn. + +## 2.1054.0 +* feature: ComputeOptimizer: Adds support for new Compute Optimizer capability that makes it easier for customers to optimize their EC2 instances by leveraging multiple CPU architectures. +* feature: DataBrew: This SDK release adds support for specifying a Bucket Owner for an S3 location. +* feature: EC2: New feature: Updated EC2 API to support faster launching for Windows images. Optimized images are pre-provisioned, using snapshots to launch instances up to 65% faster. +* feature: LookoutMetrics: This release adds FailureType in the response of DescribeAnomalyDetector. + +## 2.1053.0 +* feature: MediaLive: This release adds support for selecting the Program Date Time (PDT) Clock source algorithm for HLS outputs. + +## 2.1052.0 +* feature: AppSync: AppSync: AWS AppSync now supports configurable batching sizes for AWS Lambda resolvers, Direct AWS Lambda resolvers and pipeline functions +* feature: EC2: This release introduces On-Demand Capacity Reservation support for Cluster Placement Groups, adds Tags on instance Metadata, and includes documentation updates for Amazon EC2. +* feature: ES: Amazon OpenSearch Service adds support for Fine Grained Access Control for existing domains running Elasticsearch version 6.7 and above +* feature: IoTWireless: Downlink Queue Management feature provides APIs for customers to manage the queued messages destined to device inside AWS IoT Core for LoRaWAN. Customer can view, delete or purge the queued message(s). It allows customer to preempt the queued messages and let more urgent messages go through. +* feature: MWAA: This release adds a "Source" field that provides the initiator of an update, such as due to an automated patch from AWS or due to modification via Console or API. +* feature: MediaTailor: This release adds support for filler slate when updating MediaTailor channels that use the linear playback mode. +* feature: OpenSearch: Amazon OpenSearch Service adds support for Fine Grained Access Control for existing domains running Elasticsearch version 6.7 and above + ## 2.1051.0 * feature: AppStream: Includes APIs for App Entitlement management regarding entitlement and entitled application association. * feature: CloudTrail: This release adds support for CloudTrail Lake, a new feature that lets you run SQL-based queries on events that you have aggregated into event data stores. New APIs have been added for creating and managing event data stores, and creating, running, and managing queries in CloudTrail Lake. diff --git a/node_modules/aws-sdk/README.md b/node_modules/aws-sdk/README.md index 15acccba4..677c3a2ca 100644 --- a/node_modules/aws-sdk/README.md +++ b/node_modules/aws-sdk/README.md @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json b/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json index 238751f5a..c6036b257 100644 --- a/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json +++ b/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json @@ -371,7 +371,9 @@ } }, "payload": "Content" - } + }, + "deprecated": true, + "deprecatedMessage": "This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession." }, "GetConfigurationProfile": { "http": { diff --git a/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json b/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json index 542c6ddf2..ad000113d 100644 --- a/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json +++ b/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json @@ -33,14 +33,6 @@ "output": { "type": "structure", "members": { - "Configuration": { - "type": "blob", - "sensitive": true - }, - "ContentType": { - "location": "header", - "locationName": "Content-Type" - }, "NextPollConfigurationToken": { "location": "header", "locationName": "Next-Poll-Configuration-Token" @@ -49,6 +41,14 @@ "location": "header", "locationName": "Next-Poll-Interval-In-Seconds", "type": "integer" + }, + "ContentType": { + "location": "header", + "locationName": "Content-Type" + }, + "Configuration": { + "type": "blob", + "sensitive": true } }, "payload": "Configuration" @@ -63,13 +63,13 @@ "type": "structure", "required": [ "ApplicationIdentifier", - "ConfigurationProfileIdentifier", - "EnvironmentIdentifier" + "EnvironmentIdentifier", + "ConfigurationProfileIdentifier" ], "members": { "ApplicationIdentifier": {}, - "ConfigurationProfileIdentifier": {}, "EnvironmentIdentifier": {}, + "ConfigurationProfileIdentifier": {}, "RequiredMinimumPollIntervalInSeconds": { "type": "integer" } diff --git a/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json b/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json index 5aeac7ff4..f91582b68 100644 --- a/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +++ b/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json @@ -28,9 +28,10 @@ "connectorProfileName": {}, "kmsArn": {}, "connectorType": {}, + "connectorLabel": {}, "connectionMode": {}, "connectorProfileConfig": { - "shape": "S6" + "shape": "S7" } } }, @@ -59,19 +60,19 @@ "description": {}, "kmsArn": {}, "triggerConfig": { - "shape": "S2g" + "shape": "S2w" }, "sourceFlowConfig": { - "shape": "S2p" + "shape": "S35" }, "destinationFlowConfigList": { - "shape": "S3c" + "shape": "S3y" }, "tasks": { - "shape": "S44" + "shape": "S4t" }, "tags": { - "shape": "S4t" + "shape": "S5j" } } }, @@ -125,6 +126,29 @@ "members": {} } }, + "DescribeConnector": { + "http": { + "requestUri": "/describe-connector" + }, + "input": { + "type": "structure", + "required": [ + "connectorType" + ], + "members": { + "connectorType": {}, + "connectorLabel": {} + } + }, + "output": { + "type": "structure", + "members": { + "connectorConfiguration": { + "shape": "S5v" + } + } + } + }, "DescribeConnectorEntity": { "http": { "requestUri": "/describe-connector-entity" @@ -137,7 +161,8 @@ "members": { "connectorEntityName": {}, "connectorType": {}, - "connectorProfileName": {} + "connectorProfileName": {}, + "apiVersion": {} } }, "output": { @@ -155,7 +180,15 @@ ], "members": { "identifier": {}, + "parentIdentifier": {}, "label": {}, + "isPrimaryKey": { + "type": "boolean" + }, + "defaultValue": {}, + "isDeprecated": { + "type": "boolean" + }, "supportedFieldTypeDetails": { "type": "structure", "required": [ @@ -177,6 +210,14 @@ "supportedValues": { "type": "list", "member": {} + }, + "valueRegexPattern": {}, + "supportedDateFormat": {}, + "fieldValueRange": { + "shape": "S7x" + }, + "fieldLengthRange": { + "shape": "S7x" } } } @@ -191,6 +232,9 @@ }, "isQueryable": { "type": "boolean" + }, + "isTimestampFieldForIncrementalQueries": { + "type": "boolean" } } }, @@ -209,11 +253,16 @@ "isUpdatable": { "type": "boolean" }, + "isDefaultedOnCreate": { + "type": "boolean" + }, "supportedWriteOperations": { - "type": "list", - "member": {} + "shape": "S7g" } } + }, + "customProperties": { + "shape": "S3t" } } } @@ -233,6 +282,7 @@ "member": {} }, "connectorType": {}, + "connectorLabel": {}, "maxResults": { "type": "integer" }, @@ -250,10 +300,11 @@ "connectorProfileArn": {}, "connectorProfileName": {}, "connectorType": {}, + "connectorLabel": {}, "connectionMode": {}, "credentialsArn": {}, "connectorProfileProperties": { - "shape": "S7" + "shape": "S8" }, "createdAt": { "type": "timestamp" @@ -284,7 +335,10 @@ "type": "structure", "members": { "connectorTypes": { - "shape": "S5x" + "shape": "S5w" + }, + "maxResults": { + "type": "integer" }, "nextToken": {} } @@ -296,148 +350,12 @@ "type": "map", "key": {}, "value": { - "type": "structure", - "members": { - "canUseAsSource": { - "type": "boolean" - }, - "canUseAsDestination": { - "type": "boolean" - }, - "supportedDestinationConnectors": { - "shape": "S5x" - }, - "supportedSchedulingFrequencies": { - "type": "list", - "member": {} - }, - "isPrivateLinkEnabled": { - "type": "boolean" - }, - "isPrivateLinkEndpointUrlRequired": { - "type": "boolean" - }, - "supportedTriggerTypes": { - "type": "list", - "member": {} - }, - "connectorMetadata": { - "type": "structure", - "members": { - "Amplitude": { - "type": "structure", - "members": {} - }, - "Datadog": { - "type": "structure", - "members": {} - }, - "Dynatrace": { - "type": "structure", - "members": {} - }, - "GoogleAnalytics": { - "type": "structure", - "members": { - "oAuthScopes": { - "shape": "S18" - } - } - }, - "InforNexus": { - "type": "structure", - "members": {} - }, - "Marketo": { - "type": "structure", - "members": {} - }, - "Redshift": { - "type": "structure", - "members": {} - }, - "S3": { - "type": "structure", - "members": {} - }, - "Salesforce": { - "type": "structure", - "members": { - "oAuthScopes": { - "shape": "S18" - } - } - }, - "ServiceNow": { - "type": "structure", - "members": {} - }, - "Singular": { - "type": "structure", - "members": {} - }, - "Slack": { - "type": "structure", - "members": { - "oAuthScopes": { - "shape": "S18" - } - } - }, - "Snowflake": { - "type": "structure", - "members": { - "supportedRegions": { - "type": "list", - "member": {} - } - } - }, - "Trendmicro": { - "type": "structure", - "members": {} - }, - "Veeva": { - "type": "structure", - "members": {} - }, - "Zendesk": { - "type": "structure", - "members": { - "oAuthScopes": { - "shape": "S18" - } - } - }, - "EventBridge": { - "type": "structure", - "members": {} - }, - "Upsolver": { - "type": "structure", - "members": {} - }, - "CustomerProfiles": { - "type": "structure", - "members": {} - }, - "Honeycode": { - "type": "structure", - "members": { - "oAuthScopes": { - "shape": "S18" - } - } - }, - "SAPOData": { - "type": "structure", - "members": {} - } - } - } - } + "shape": "S5v" } }, + "connectors": { + "shape": "S8f" + }, "nextToken": {} } } @@ -465,19 +383,19 @@ "flowStatus": {}, "flowStatusMessage": {}, "sourceFlowConfig": { - "shape": "S2p" + "shape": "S35" }, "destinationFlowConfigList": { - "shape": "S3c" + "shape": "S3y" }, "lastRunExecutionDetails": { - "shape": "S6u" + "shape": "S8l" }, "triggerConfig": { - "shape": "S2g" + "shape": "S2w" }, "tasks": { - "shape": "S44" + "shape": "S4t" }, "createdAt": { "type": "timestamp" @@ -488,7 +406,7 @@ "createdBy": {}, "lastUpdatedBy": {}, "tags": { - "shape": "S4t" + "shape": "S5j" } } } @@ -571,7 +489,8 @@ "members": { "connectorProfileName": {}, "connectorType": {}, - "entitiesPath": {} + "entitiesPath": {}, + "apiVersion": {} } }, "output": { @@ -603,6 +522,29 @@ } } }, + "ListConnectors": { + "http": { + "requestUri": "/list-connectors" + }, + "input": { + "type": "structure", + "members": { + "maxResults": { + "type": "integer" + }, + "nextToken": {} + } + }, + "output": { + "type": "structure", + "members": { + "connectors": { + "shape": "S8f" + }, + "nextToken": {} + } + } + }, "ListFlows": { "http": { "requestUri": "/list-flows" @@ -629,7 +571,9 @@ "flowName": {}, "flowStatus": {}, "sourceConnectorType": {}, + "sourceConnectorLabel": {}, "destinationConnectorType": {}, + "destinationConnectorLabel": {}, "triggerType": {}, "createdAt": { "type": "timestamp" @@ -640,10 +584,10 @@ "createdBy": {}, "lastUpdatedBy": {}, "tags": { - "shape": "S4t" + "shape": "S5j" }, "lastRunExecutionDetails": { - "shape": "S6u" + "shape": "S8l" } } } @@ -673,9 +617,31 @@ "type": "structure", "members": { "tags": { - "shape": "S4t" + "shape": "S5j" + } + } + } + }, + "RegisterConnector": { + "http": { + "requestUri": "/register-connector" + }, + "input": { + "type": "structure", + "members": { + "connectorLabel": {}, + "description": {}, + "connectorProvisioningType": {}, + "connectorProvisioningConfig": { + "shape": "S7i" } } + }, + "output": { + "type": "structure", + "members": { + "connectorArn": {} + } } }, "StartFlow": { @@ -737,7 +703,28 @@ "locationName": "resourceArn" }, "tags": { - "shape": "S4t" + "shape": "S5j" + } + } + }, + "output": { + "type": "structure", + "members": {} + } + }, + "UnregisterConnector": { + "http": { + "requestUri": "/unregister-connector" + }, + "input": { + "type": "structure", + "required": [ + "connectorLabel" + ], + "members": { + "connectorLabel": {}, + "forceDelete": { + "type": "boolean" } } }, @@ -790,7 +777,7 @@ "connectorProfileName": {}, "connectionMode": {}, "connectorProfileConfig": { - "shape": "S6" + "shape": "S7" } } }, @@ -818,16 +805,16 @@ "flowName": {}, "description": {}, "triggerConfig": { - "shape": "S2g" + "shape": "S2w" }, "sourceFlowConfig": { - "shape": "S2p" + "shape": "S35" }, "destinationFlowConfigList": { - "shape": "S3c" + "shape": "S3y" }, "tasks": { - "shape": "S44" + "shape": "S4t" } } }, @@ -840,7 +827,7 @@ } }, "shapes": { - "S6": { + "S7": { "type": "structure", "required": [ "connectorProfileProperties", @@ -848,7 +835,7 @@ ], "members": { "connectorProfileProperties": { - "shape": "S7" + "shape": "S8" }, "connectorProfileCredentials": { "type": "structure", @@ -860,7 +847,9 @@ "secretKey" ], "members": { - "apiKey": {}, + "apiKey": { + "shape": "S1j" + }, "secretKey": { "type": "string", "sensitive": true @@ -874,7 +863,9 @@ "applicationKey" ], "members": { - "apiKey": {}, + "apiKey": { + "shape": "S1j" + }, "applicationKey": {} } }, @@ -896,14 +887,14 @@ "members": { "clientId": {}, "clientSecret": { - "shape": "S1k" + "shape": "S1r" }, "accessToken": { - "shape": "S1l" + "shape": "S1s" }, "refreshToken": {}, "oAuthRequest": { - "shape": "S1n" + "shape": "S1u" } } }, @@ -911,11 +902,11 @@ "type": "structure", "members": { "accessToken": { - "shape": "S1l" + "shape": "S1s" }, "refreshToken": {}, "oAuthRequest": { - "shape": "S1n" + "shape": "S1u" } } }, @@ -946,13 +937,13 @@ "members": { "clientId": {}, "clientSecret": { - "shape": "S1k" + "shape": "S1r" }, "accessToken": { - "shape": "S1l" + "shape": "S1s" }, "oAuthRequest": { - "shape": "S1n" + "shape": "S1u" } } }, @@ -965,7 +956,7 @@ "members": { "username": {}, "password": { - "shape": "S1x" + "shape": "S24" } } }, @@ -973,11 +964,11 @@ "type": "structure", "members": { "accessToken": { - "shape": "S1l" + "shape": "S1s" }, "refreshToken": {}, "oAuthRequest": { - "shape": "S1n" + "shape": "S1u" }, "clientCredentialsArn": { "type": "string", @@ -994,7 +985,7 @@ "members": { "username": {}, "password": { - "shape": "S1x" + "shape": "S24" } } }, @@ -1004,7 +995,9 @@ "apiKey" ], "members": { - "apiKey": {} + "apiKey": { + "shape": "S1j" + } } }, "Slack": { @@ -1016,13 +1009,13 @@ "members": { "clientId": {}, "clientSecret": { - "shape": "S1k" + "shape": "S1r" }, "accessToken": { - "shape": "S1l" + "shape": "S1s" }, "oAuthRequest": { - "shape": "S1n" + "shape": "S1u" } } }, @@ -1035,7 +1028,7 @@ "members": { "username": {}, "password": { - "shape": "S1x" + "shape": "S24" } } }, @@ -1046,8 +1039,7 @@ ], "members": { "apiSecretKey": { - "type": "string", - "sensitive": true + "shape": "S2c" } } }, @@ -1060,7 +1052,7 @@ "members": { "username": {}, "password": { - "shape": "S1x" + "shape": "S24" } } }, @@ -1073,13 +1065,13 @@ "members": { "clientId": {}, "clientSecret": { - "shape": "S1k" + "shape": "S1r" }, "accessToken": { - "shape": "S1l" + "shape": "S1s" }, "oAuthRequest": { - "shape": "S1n" + "shape": "S1u" } } }, @@ -1087,35 +1079,87 @@ "type": "structure", "members": { "basicAuthCredentials": { + "shape": "S2g" + }, + "oAuthCredentials": { "type": "structure", "required": [ - "username", - "password" + "clientId", + "clientSecret" ], "members": { - "username": {}, - "password": { - "shape": "S1x" + "clientId": {}, + "clientSecret": { + "shape": "S1r" + }, + "accessToken": { + "shape": "S1s" + }, + "refreshToken": {}, + "oAuthRequest": { + "shape": "S1u" } } + } + } + }, + "CustomConnector": { + "type": "structure", + "required": [ + "authenticationType" + ], + "members": { + "authenticationType": {}, + "basic": { + "shape": "S2g" }, - "oAuthCredentials": { + "oauth2": { "type": "structure", - "required": [ - "clientId", - "clientSecret" - ], "members": { "clientId": {}, "clientSecret": { - "shape": "S1k" + "shape": "S1r" }, "accessToken": { - "shape": "S1l" + "shape": "S1s" }, "refreshToken": {}, "oAuthRequest": { - "shape": "S1n" + "shape": "S1u" + } + } + }, + "apiKey": { + "type": "structure", + "required": [ + "apiKey" + ], + "members": { + "apiKey": { + "shape": "S1j" + }, + "apiSecretKey": { + "shape": "S2c" + } + } + }, + "custom": { + "type": "structure", + "required": [ + "customAuthenticationType" + ], + "members": { + "customAuthenticationType": {}, + "credentialsMap": { + "type": "map", + "key": { + "type": "string", + "sensitive": true + }, + "value": { + "type": "string", + "sensitive": true + } } } } @@ -1125,7 +1169,7 @@ } } }, - "S7": { + "S8": { "type": "structure", "members": { "Amplitude": { @@ -1288,38 +1332,80 @@ "tokenUrl": {}, "authCodeUrl": {}, "oAuthScopes": { - "shape": "S18" + "shape": "S19" } } } } + }, + "CustomConnector": { + "type": "structure", + "members": { + "profileProperties": { + "type": "map", + "key": {}, + "value": {} + }, + "oAuth2Properties": { + "type": "structure", + "required": [ + "tokenUrl", + "oAuth2GrantType" + ], + "members": { + "tokenUrl": {}, + "oAuth2GrantType": {} + } + } + } } } }, - "S18": { + "S19": { "type": "list", "member": {} }, - "S1k": { + "S1j": { + "type": "string", + "sensitive": true + }, + "S1r": { "type": "string", "sensitive": true }, - "S1l": { + "S1s": { "type": "string", "sensitive": true }, - "S1n": { + "S1u": { "type": "structure", "members": { "authCode": {}, "redirectUri": {} } }, - "S1x": { + "S24": { + "type": "string", + "sensitive": true + }, + "S2c": { "type": "string", "sensitive": true }, "S2g": { + "type": "structure", + "required": [ + "username", + "password" + ], + "members": { + "username": {}, + "password": { + "shape": "S24" + } + } + }, + "S2w": { "type": "structure", "required": [ "triggerType" @@ -1356,7 +1442,7 @@ } } }, - "S2p": { + "S35": { "type": "structure", "required": [ "connectorType", @@ -1364,6 +1450,7 @@ ], "members": { "connectorType": {}, + "apiVersion": {}, "connectorProfileName": {}, "sourceConnectorProperties": { "type": "structure", @@ -1522,6 +1609,18 @@ "members": { "objectPath": {} } + }, + "CustomConnector": { + "type": "structure", + "required": [ + "entityName" + ], + "members": { + "entityName": {}, + "customProperties": { + "shape": "S3t" + } + } } } }, @@ -1533,7 +1632,12 @@ } } }, - "S3c": { + "S3t": { + "type": "map", + "key": {}, + "value": {} + }, + "S3y": { "type": "list", "member": { "type": "structure", @@ -1543,6 +1647,7 @@ ], "members": { "connectorType": {}, + "apiVersion": {}, "connectorProfileName": {}, "destinationConnectorProperties": { "type": "structure", @@ -1558,7 +1663,7 @@ "intermediateBucketName": {}, "bucketPrefix": {}, "errorHandlingConfig": { - "shape": "S3g" + "shape": "S42" } } }, @@ -1575,10 +1680,10 @@ "members": { "fileType": {}, "prefixConfig": { - "shape": "S3k" + "shape": "S46" }, "aggregationConfig": { - "shape": "S3n" + "shape": "S49" } } } @@ -1592,10 +1697,10 @@ "members": { "object": {}, "idFieldNames": { - "shape": "S3q" + "shape": "S4c" }, "errorHandlingConfig": { - "shape": "S3g" + "shape": "S42" }, "writeOperationType": {} } @@ -1611,7 +1716,7 @@ "intermediateBucketName": {}, "bucketPrefix": {}, "errorHandlingConfig": { - "shape": "S3g" + "shape": "S42" } } }, @@ -1623,7 +1728,7 @@ "members": { "object": {}, "errorHandlingConfig": { - "shape": "S3g" + "shape": "S42" } } }, @@ -1648,10 +1753,10 @@ "members": { "fileType": {}, "prefixConfig": { - "shape": "S3k" + "shape": "S46" }, "aggregationConfig": { - "shape": "S3n" + "shape": "S49" } } } @@ -1665,7 +1770,7 @@ "members": { "object": {}, "errorHandlingConfig": { - "shape": "S3g" + "shape": "S42" } } }, @@ -1687,10 +1792,52 @@ "members": { "object": {}, "idFieldNames": { - "shape": "S3q" + "shape": "S4c" }, "errorHandlingConfig": { - "shape": "S3g" + "shape": "S42" + }, + "writeOperationType": {} + } + }, + "CustomConnector": { + "type": "structure", + "required": [ + "entityName" + ], + "members": { + "entityName": {}, + "errorHandlingConfig": { + "shape": "S42" + }, + "writeOperationType": {}, + "idFieldNames": { + "shape": "S4c" + }, + "customProperties": { + "shape": "S3t" + } + } + }, + "SAPOData": { + "type": "structure", + "required": [ + "objectPath" + ], + "members": { + "objectPath": {}, + "successResponseHandlingConfig": { + "type": "structure", + "members": { + "bucketPrefix": {}, + "bucketName": {} + } + }, + "idFieldNames": { + "shape": "S4c" + }, + "errorHandlingConfig": { + "shape": "S42" }, "writeOperationType": {} } @@ -1700,7 +1847,7 @@ } } }, - "S3g": { + "S42": { "type": "structure", "members": { "failOnFirstDestinationError": { @@ -1710,24 +1857,24 @@ "bucketName": {} } }, - "S3k": { + "S46": { "type": "structure", "members": { "prefixType": {}, "prefixFormat": {} } }, - "S3n": { + "S49": { "type": "structure", "members": { "aggregationType": {} } }, - "S3q": { + "S4c": { "type": "list", "member": {} }, - "S44": { + "S4t": { "type": "list", "member": { "type": "structure", @@ -1757,7 +1904,8 @@ "Trendmicro": {}, "Veeva": {}, "Zendesk": {}, - "SAPOData": {} + "SAPOData": {}, + "CustomConnector": {} } }, "destinationField": {}, @@ -1770,16 +1918,331 @@ } } }, - "S4t": { + "S5j": { "type": "map", "key": {}, "value": {} }, - "S5x": { + "S5v": { + "type": "structure", + "members": { + "canUseAsSource": { + "type": "boolean" + }, + "canUseAsDestination": { + "type": "boolean" + }, + "supportedDestinationConnectors": { + "shape": "S5w" + }, + "supportedSchedulingFrequencies": { + "type": "list", + "member": {} + }, + "isPrivateLinkEnabled": { + "type": "boolean" + }, + "isPrivateLinkEndpointUrlRequired": { + "type": "boolean" + }, + "supportedTriggerTypes": { + "type": "list", + "member": {} + }, + "connectorMetadata": { + "type": "structure", + "members": { + "Amplitude": { + "type": "structure", + "members": {} + }, + "Datadog": { + "type": "structure", + "members": {} + }, + "Dynatrace": { + "type": "structure", + "members": {} + }, + "GoogleAnalytics": { + "type": "structure", + "members": { + "oAuthScopes": { + "shape": "S19" + } + } + }, + "InforNexus": { + "type": "structure", + "members": {} + }, + "Marketo": { + "type": "structure", + "members": {} + }, + "Redshift": { + "type": "structure", + "members": {} + }, + "S3": { + "type": "structure", + "members": {} + }, + "Salesforce": { + "type": "structure", + "members": { + "oAuthScopes": { + "shape": "S19" + } + } + }, + "ServiceNow": { + "type": "structure", + "members": {} + }, + "Singular": { + "type": "structure", + "members": {} + }, + "Slack": { + "type": "structure", + "members": { + "oAuthScopes": { + "shape": "S19" + } + } + }, + "Snowflake": { + "type": "structure", + "members": { + "supportedRegions": { + "type": "list", + "member": {} + } + } + }, + "Trendmicro": { + "type": "structure", + "members": {} + }, + "Veeva": { + "type": "structure", + "members": {} + }, + "Zendesk": { + "type": "structure", + "members": { + "oAuthScopes": { + "shape": "S19" + } + } + }, + "EventBridge": { + "type": "structure", + "members": {} + }, + "Upsolver": { + "type": "structure", + "members": {} + }, + "CustomerProfiles": { + "type": "structure", + "members": {} + }, + "Honeycode": { + "type": "structure", + "members": { + "oAuthScopes": { + "shape": "S19" + } + } + }, + "SAPOData": { + "type": "structure", + "members": {} + } + } + }, + "connectorType": {}, + "connectorLabel": {}, + "connectorDescription": {}, + "connectorOwner": {}, + "connectorName": {}, + "connectorVersion": {}, + "connectorArn": {}, + "connectorModes": { + "shape": "S6s" + }, + "authenticationConfig": { + "type": "structure", + "members": { + "isBasicAuthSupported": { + "type": "boolean" + }, + "isApiKeyAuthSupported": { + "type": "boolean" + }, + "isOAuth2Supported": { + "type": "boolean" + }, + "isCustomAuthSupported": { + "type": "boolean" + }, + "oAuth2Defaults": { + "type": "structure", + "members": { + "oauthScopes": { + "shape": "S19" + }, + "tokenUrls": { + "type": "list", + "member": {} + }, + "authCodeUrls": { + "type": "list", + "member": {} + }, + "oauth2GrantTypesSupported": { + "type": "list", + "member": {} + } + } + }, + "customAuthConfigs": { + "type": "list", + "member": { + "type": "structure", + "members": { + "customAuthenticationType": {}, + "authParameters": { + "type": "list", + "member": { + "type": "structure", + "members": { + "key": {}, + "isRequired": { + "type": "boolean" + }, + "label": {}, + "description": {}, + "isSensitiveField": { + "type": "boolean" + }, + "connectorSuppliedValues": { + "type": "list", + "member": {} + } + } + } + } + } + } + } + } + }, + "connectorRuntimeSettings": { + "type": "list", + "member": { + "type": "structure", + "members": { + "key": {}, + "dataType": {}, + "isRequired": { + "type": "boolean" + }, + "label": {}, + "description": {}, + "scope": {}, + "connectorSuppliedValueOptions": { + "type": "list", + "member": {} + } + } + } + }, + "supportedApiVersions": { + "type": "list", + "member": {} + }, + "supportedOperators": { + "type": "list", + "member": {} + }, + "supportedWriteOperations": { + "shape": "S7g" + }, + "connectorProvisioningType": {}, + "connectorProvisioningConfig": { + "shape": "S7i" + }, + "logoURL": {}, + "registeredAt": { + "type": "timestamp" + }, + "registeredBy": {} + } + }, + "S5w": { + "type": "list", + "member": {} + }, + "S6s": { "type": "list", "member": {} }, - "S6u": { + "S7g": { + "type": "list", + "member": {} + }, + "S7i": { + "type": "structure", + "members": { + "lambda": { + "type": "structure", + "required": [ + "lambdaArn" + ], + "members": { + "lambdaArn": {} + } + } + } + }, + "S7x": { + "type": "structure", + "members": { + "maximum": { + "type": "double" + }, + "minimum": { + "type": "double" + } + } + }, + "S8f": { + "type": "list", + "member": { + "type": "structure", + "members": { + "connectorDescription": {}, + "connectorName": {}, + "connectorOwner": {}, + "connectorVersion": {}, + "applicationType": {}, + "connectorType": {}, + "connectorLabel": {}, + "registeredAt": { + "type": "timestamp" + }, + "registeredBy": {}, + "connectorProvisioningType": {}, + "connectorModes": { + "shape": "S6s" + } + } + } + }, + "S8l": { "type": "structure", "members": { "mostRecentExecutionMessage": {}, diff --git a/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json b/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json index deabfa47b..c013f8761 100644 --- a/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json +++ b/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json @@ -7,13 +7,19 @@ }, "DescribeConnectors": { "input_token": "nextToken", - "output_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", diff --git a/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json b/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json index 0f18071ac..33ad7a501 100644 --- a/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json +++ b/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json @@ -129,7 +129,10 @@ "HealthCheckConfiguration": { "shape": "S1n" }, - "AutoScalingConfigurationArn": {} + "AutoScalingConfigurationArn": {}, + "NetworkConfiguration": { + "shape": "S1u" + } } }, "output": { @@ -140,12 +143,44 @@ ], "members": { "Service": { - "shape": "S1v" + "shape": "S1y" }, "OperationId": {} } } }, + "CreateVpcConnector": { + "input": { + "type": "structure", + "required": [ + "VpcConnectorName", + "Subnets" + ], + "members": { + "VpcConnectorName": {}, + "Subnets": { + "shape": "S25" + }, + "SecurityGroups": { + "shape": "S25" + }, + "Tags": { + "shape": "Sh" + } + } + }, + "output": { + "type": "structure", + "required": [ + "VpcConnector" + ], + "members": { + "VpcConnector": { + "shape": "S27" + } + } + } + }, "DeleteAutoScalingConfiguration": { "input": { "type": "structure", @@ -205,12 +240,34 @@ ], "members": { "Service": { - "shape": "S1v" + "shape": "S1y" }, "OperationId": {} } } }, + "DeleteVpcConnector": { + "input": { + "type": "structure", + "required": [ + "VpcConnectorArn" + ], + "members": { + "VpcConnectorArn": {} + } + }, + "output": { + "type": "structure", + "required": [ + "VpcConnector" + ], + "members": { + "VpcConnector": { + "shape": "S27" + } + } + } + }, "DescribeAutoScalingConfiguration": { "input": { "type": "structure", @@ -284,7 +341,29 @@ ], "members": { "Service": { - "shape": "S1v" + "shape": "S1y" + } + } + } + }, + "DescribeVpcConnector": { + "input": { + "type": "structure", + "required": [ + "VpcConnectorArn" + ], + "members": { + "VpcConnectorArn": {} + } + }, + "output": { + "type": "structure", + "required": [ + "VpcConnector" + ], + "members": { + "VpcConnector": { + "shape": "S27" } } } @@ -340,7 +419,7 @@ "AutoScalingConfigurationSummaryList": { "type": "list", "member": { - "shape": "S1y" + "shape": "S21" } }, "NextToken": {} @@ -483,6 +562,32 @@ } } }, + "ListVpcConnectors": { + "input": { + "type": "structure", + "members": { + "MaxResults": { + "type": "integer" + }, + "NextToken": {} + } + }, + "output": { + "type": "structure", + "required": [ + "VpcConnectors" + ], + "members": { + "VpcConnectors": { + "type": "list", + "member": { + "shape": "S27" + } + }, + "NextToken": {} + } + } + }, "PauseService": { "input": { "type": "structure", @@ -500,7 +605,7 @@ ], "members": { "Service": { - "shape": "S1v" + "shape": "S1y" }, "OperationId": {} } @@ -523,7 +628,7 @@ ], "members": { "Service": { - "shape": "S1v" + "shape": "S1y" }, "OperationId": {} } @@ -605,6 +710,9 @@ "AutoScalingConfigurationArn": {}, "HealthCheckConfiguration": { "shape": "S1n" + }, + "NetworkConfiguration": { + "shape": "S1u" } } }, @@ -616,7 +724,7 @@ ], "members": { "Service": { - "shape": "S1v" + "shape": "S1y" }, "OperationId": {} } @@ -743,8 +851,7 @@ "sensitive": true }, "StartCommand": { - "type": "string", - "sensitive": true + "shape": "S18" }, "Port": {}, "RuntimeEnvironmentVariables": { @@ -770,7 +877,9 @@ "RuntimeEnvironmentVariables": { "shape": "S19" }, - "StartCommand": {}, + "StartCommand": { + "shape": "S18" + }, "Port": {} } }, @@ -789,6 +898,10 @@ } } }, + "S18": { + "type": "string", + "sensitive": true + }, "S19": { "type": "map", "key": { @@ -836,7 +949,19 @@ } } }, - "S1v": { + "S1u": { + "type": "structure", + "members": { + "EgressConfiguration": { + "type": "structure", + "members": { + "EgressType": {}, + "VpcConnectorArn": {} + } + } + } + }, + "S1y": { "type": "structure", "required": [ "ServiceName", @@ -848,7 +973,8 @@ "Status", "SourceConfiguration", "InstanceConfiguration", - "AutoScalingConfigurationSummary" + "AutoScalingConfigurationSummary", + "NetworkConfiguration" ], "members": { "ServiceName": {}, @@ -878,11 +1004,14 @@ "shape": "S1n" }, "AutoScalingConfigurationSummary": { - "shape": "S1y" + "shape": "S21" + }, + "NetworkConfiguration": { + "shape": "S1u" } } }, - "S1y": { + "S21": { "type": "structure", "members": { "AutoScalingConfigurationArn": {}, @@ -891,6 +1020,33 @@ "type": "integer" } } + }, + "S25": { + "type": "list", + "member": {} + }, + "S27": { + "type": "structure", + "members": { + "VpcConnectorName": {}, + "VpcConnectorArn": {}, + "VpcConnectorRevision": { + "type": "integer" + }, + "Subnets": { + "shape": "S25" + }, + "SecurityGroups": { + "shape": "S25" + }, + "Status": {}, + "CreatedAt": { + "type": "timestamp" + }, + "DeletedAt": { + "type": "timestamp" + } + } } } } \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json b/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json index 698ccc695..bd38c8a6d 100644 --- a/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +++ b/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json @@ -24,6 +24,11 @@ "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" + }, + "ListVpcConnectors": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" } } } diff --git a/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json b/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json index 1d944ae2a..a326da692 100644 --- a/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +++ b/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json @@ -207,6 +207,9 @@ "functionVersion": {}, "syncConfig": { "shape": "S16" + }, + "maxBatchSize": { + "type": "integer" } } }, @@ -214,7 +217,7 @@ "type": "structure", "members": { "functionConfiguration": { - "shape": "S1b" + "shape": "S1c" } } } @@ -232,26 +235,26 @@ "members": { "name": {}, "logConfig": { - "shape": "S1d" + "shape": "S1e" }, "authenticationType": {}, "userPoolConfig": { - "shape": "S1g" + "shape": "S1h" }, "openIDConnectConfig": { - "shape": "S1i" + "shape": "S1j" }, "tags": { - "shape": "S1j" + "shape": "S1k" }, "additionalAuthenticationProviders": { - "shape": "S1m" + "shape": "S1n" }, "xrayEnabled": { "type": "boolean" }, "lambdaAuthorizerConfig": { - "shape": "S1p" + "shape": "S1q" } } }, @@ -259,7 +262,7 @@ "type": "structure", "members": { "graphqlApi": { - "shape": "S1s" + "shape": "S1t" } } } @@ -290,13 +293,16 @@ "responseMappingTemplate": {}, "kind": {}, "pipelineConfig": { - "shape": "S1w" + "shape": "S1x" }, "syncConfig": { "shape": "S16" }, "cachingConfig": { - "shape": "S1y" + "shape": "S1z" + }, + "maxBatchSize": { + "type": "integer" } } }, @@ -304,7 +310,7 @@ "type": "structure", "members": { "resolver": { - "shape": "S21" + "shape": "S22" } } } @@ -333,7 +339,7 @@ "type": "structure", "members": { "type": { - "shape": "S25" + "shape": "S26" } } } @@ -723,7 +729,7 @@ "type": "structure", "members": { "functionConfiguration": { - "shape": "S1b" + "shape": "S1c" } } } @@ -749,7 +755,7 @@ "type": "structure", "members": { "graphqlApi": { - "shape": "S1s" + "shape": "S1t" } } } @@ -822,7 +828,7 @@ "type": "structure", "members": { "resolver": { - "shape": "S21" + "shape": "S22" } } } @@ -883,7 +889,7 @@ "type": "structure", "members": { "type": { - "shape": "S25" + "shape": "S26" } } } @@ -1030,7 +1036,7 @@ "functions": { "type": "list", "member": { - "shape": "S1b" + "shape": "S1c" } }, "nextToken": {} @@ -1062,7 +1068,7 @@ "graphqlApis": { "type": "list", "member": { - "shape": "S1s" + "shape": "S1t" } }, "nextToken": {} @@ -1104,7 +1110,7 @@ "type": "structure", "members": { "resolvers": { - "shape": "S3x" + "shape": "S3y" }, "nextToken": {} } @@ -1145,7 +1151,7 @@ "type": "structure", "members": { "resolvers": { - "shape": "S3x" + "shape": "S3y" }, "nextToken": {} } @@ -1172,7 +1178,7 @@ "type": "structure", "members": { "tags": { - "shape": "S1j" + "shape": "S1k" } } } @@ -1214,7 +1220,7 @@ "types": { "type": "list", "member": { - "shape": "S25" + "shape": "S26" } }, "nextToken": {} @@ -1264,7 +1270,7 @@ "locationName": "resourceArn" }, "tags": { - "shape": "S1j" + "shape": "S1k" } } }, @@ -1477,6 +1483,9 @@ "functionVersion": {}, "syncConfig": { "shape": "S16" + }, + "maxBatchSize": { + "type": "integer" } } }, @@ -1484,7 +1493,7 @@ "type": "structure", "members": { "functionConfiguration": { - "shape": "S1b" + "shape": "S1c" } } } @@ -1506,23 +1515,23 @@ }, "name": {}, "logConfig": { - "shape": "S1d" + "shape": "S1e" }, "authenticationType": {}, "userPoolConfig": { - "shape": "S1g" + "shape": "S1h" }, "openIDConnectConfig": { - "shape": "S1i" + "shape": "S1j" }, "additionalAuthenticationProviders": { - "shape": "S1m" + "shape": "S1n" }, "xrayEnabled": { "type": "boolean" }, "lambdaAuthorizerConfig": { - "shape": "S1p" + "shape": "S1q" } } }, @@ -1530,7 +1539,7 @@ "type": "structure", "members": { "graphqlApi": { - "shape": "S1s" + "shape": "S1t" } } } @@ -1564,13 +1573,16 @@ "responseMappingTemplate": {}, "kind": {}, "pipelineConfig": { - "shape": "S1w" + "shape": "S1x" }, "syncConfig": { "shape": "S16" }, "cachingConfig": { - "shape": "S1y" + "shape": "S1z" + }, + "maxBatchSize": { + "type": "integer" } } }, @@ -1578,7 +1590,7 @@ "type": "structure", "members": { "resolver": { - "shape": "S21" + "shape": "S22" } } } @@ -1611,7 +1623,7 @@ "type": "structure", "members": { "type": { - "shape": "S25" + "shape": "S26" } } } @@ -1806,7 +1818,7 @@ } } }, - "S1b": { + "S1c": { "type": "structure", "members": { "functionId": {}, @@ -1819,10 +1831,13 @@ "functionVersion": {}, "syncConfig": { "shape": "S16" + }, + "maxBatchSize": { + "type": "integer" } } }, - "S1d": { + "S1e": { "type": "structure", "required": [ "fieldLogLevel", @@ -1836,7 +1851,7 @@ } } }, - "S1g": { + "S1h": { "type": "structure", "required": [ "userPoolId", @@ -1850,7 +1865,7 @@ "appIdClientRegex": {} } }, - "S1i": { + "S1j": { "type": "structure", "required": [ "issuer" @@ -1866,19 +1881,19 @@ } } }, - "S1j": { + "S1k": { "type": "map", "key": {}, "value": {} }, - "S1m": { + "S1n": { "type": "list", "member": { "type": "structure", "members": { "authenticationType": {}, "openIDConnectConfig": { - "shape": "S1i" + "shape": "S1j" }, "userPoolConfig": { "type": "structure", @@ -1893,12 +1908,12 @@ } }, "lambdaAuthorizerConfig": { - "shape": "S1p" + "shape": "S1q" } } } }, - "S1p": { + "S1q": { "type": "structure", "required": [ "authorizerUri" @@ -1911,20 +1926,20 @@ "identityValidationExpression": {} } }, - "S1s": { + "S1t": { "type": "structure", "members": { "name": {}, "apiId": {}, "authenticationType": {}, "logConfig": { - "shape": "S1d" + "shape": "S1e" }, "userPoolConfig": { - "shape": "S1g" + "shape": "S1h" }, "openIDConnectConfig": { - "shape": "S1i" + "shape": "S1j" }, "arn": {}, "uris": { @@ -1933,21 +1948,21 @@ "value": {} }, "tags": { - "shape": "S1j" + "shape": "S1k" }, "additionalAuthenticationProviders": { - "shape": "S1m" + "shape": "S1n" }, "xrayEnabled": { "type": "boolean" }, "wafWebAclArn": {}, "lambdaAuthorizerConfig": { - "shape": "S1p" + "shape": "S1q" } } }, - "S1w": { + "S1x": { "type": "structure", "members": { "functions": { @@ -1956,7 +1971,7 @@ } } }, - "S1y": { + "S1z": { "type": "structure", "members": { "ttl": { @@ -1968,7 +1983,7 @@ } } }, - "S21": { + "S22": { "type": "structure", "members": { "typeName": {}, @@ -1979,17 +1994,20 @@ "responseMappingTemplate": {}, "kind": {}, "pipelineConfig": { - "shape": "S1w" + "shape": "S1x" }, "syncConfig": { "shape": "S16" }, "cachingConfig": { - "shape": "S1y" + "shape": "S1z" + }, + "maxBatchSize": { + "type": "integer" } } }, - "S25": { + "S26": { "type": "structure", "members": { "name": {}, @@ -1999,10 +2017,10 @@ "format": {} } }, - "S3x": { + "S3y": { "type": "list", "member": { - "shape": "S21" + "shape": "S22" } } } diff --git a/node_modules/aws-sdk/apis/athena-2017-05-18.min.json b/node_modules/aws-sdk/apis/athena-2017-05-18.min.json index f72de3e90..7f495755d 100644 --- a/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +++ b/node_modules/aws-sdk/apis/athena-2017-05-18.min.json @@ -94,10 +94,10 @@ "Type": {}, "Description": {}, "Parameters": { - "shape": "S13" + "shape": "S16" }, "Tags": { - "shape": "S16" + "shape": "S19" } } }, @@ -162,11 +162,11 @@ "members": { "Name": {}, "Configuration": { - "shape": "S1i" + "shape": "S1l" }, "Description": {}, "Tags": { - "shape": "S16" + "shape": "S19" } } }, @@ -268,7 +268,7 @@ "Description": {}, "Type": {}, "Parameters": { - "shape": "S13" + "shape": "S16" } } } @@ -291,7 +291,7 @@ "type": "structure", "members": { "Database": { - "shape": "S20" + "shape": "S23" } } } @@ -461,7 +461,7 @@ "type": "structure", "members": { "TableMetadata": { - "shape": "S2q" + "shape": "S2t" } } } @@ -488,7 +488,7 @@ "Name": {}, "State": {}, "Configuration": { - "shape": "S1i" + "shape": "S1l" }, "Description": {}, "CreationTime": { @@ -546,7 +546,7 @@ "DatabaseList": { "type": "list", "member": { - "shape": "S20" + "shape": "S23" } }, "NextToken": {} @@ -569,7 +569,7 @@ "EngineVersions": { "type": "list", "member": { - "shape": "Sy" + "shape": "S11" } }, "NextToken": {} @@ -674,7 +674,7 @@ "TableMetadataList": { "type": "list", "member": { - "shape": "S2q" + "shape": "S2t" } }, "NextToken": {} @@ -699,7 +699,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S16" + "shape": "S19" }, "NextToken": {} } @@ -730,7 +730,7 @@ "type": "timestamp" }, "EngineVersion": { - "shape": "Sy" + "shape": "S11" } } } @@ -795,7 +795,7 @@ "members": { "ResourceARN": {}, "Tags": { - "shape": "S16" + "shape": "S19" } } }, @@ -836,7 +836,7 @@ "Type": {}, "Description": {}, "Parameters": { - "shape": "S13" + "shape": "S16" } } }, @@ -892,6 +892,10 @@ }, "RemoveEncryptionConfiguration": { "type": "boolean" + }, + "ExpectedBucketOwner": {}, + "RemoveExpectedBucketOwner": { + "type": "boolean" } } }, @@ -908,7 +912,7 @@ "type": "boolean" }, "EngineVersion": { - "shape": "Sy" + "shape": "S11" } } }, @@ -968,6 +972,17 @@ }, "CompletionDateTime": { "type": "timestamp" + }, + "AthenaError": { + "type": "structure", + "members": { + "ErrorCategory": { + "type": "integer" + }, + "ErrorType": { + "type": "integer" + } + } } } }, @@ -997,7 +1012,7 @@ }, "WorkGroup": {}, "EngineVersion": { - "shape": "Sy" + "shape": "S11" } } }, @@ -1007,7 +1022,8 @@ "OutputLocation": {}, "EncryptionConfiguration": { "shape": "Sp" - } + }, + "ExpectedBucketOwner": {} } }, "Sp": { @@ -1027,19 +1043,19 @@ "Catalog": {} } }, - "Sy": { + "S11": { "type": "structure", "members": { "SelectedEngineVersion": {}, "EffectiveEngineVersion": {} } }, - "S13": { + "S16": { "type": "map", "key": {}, "value": {} }, - "S16": { + "S19": { "type": "list", "member": { "type": "structure", @@ -1049,7 +1065,7 @@ } } }, - "S1i": { + "S1l": { "type": "structure", "members": { "ResultConfiguration": { @@ -1068,11 +1084,11 @@ "type": "boolean" }, "EngineVersion": { - "shape": "Sy" + "shape": "S11" } } }, - "S20": { + "S23": { "type": "structure", "required": [ "Name" @@ -1081,11 +1097,11 @@ "Name": {}, "Description": {}, "Parameters": { - "shape": "S13" + "shape": "S16" } } }, - "S2q": { + "S2t": { "type": "structure", "required": [ "Name" @@ -1100,17 +1116,17 @@ }, "TableType": {}, "Columns": { - "shape": "S2t" + "shape": "S2w" }, "PartitionKeys": { - "shape": "S2t" + "shape": "S2w" }, "Parameters": { - "shape": "S13" + "shape": "S16" } } }, - "S2t": { + "S2w": { "type": "list", "member": { "type": "structure", diff --git a/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json b/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json index 0983e4bde..a20eb2384 100644 --- a/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +++ b/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json @@ -1966,7 +1966,8 @@ "member": { "type": "structure", "required": [ - "name" + "name", + "controls" ], "members": { "id": {}, @@ -2371,6 +2372,9 @@ "type": "list", "member": { "type": "structure", + "required": [ + "id" + ], "members": { "id": {} } diff --git a/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json b/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json index 63e614c97..b3343e38d 100644 --- a/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +++ b/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json @@ -35,10 +35,10 @@ ], "members": { "Notification": { - "shape": "Sl" + "shape": "Sp" }, "Subscribers": { - "shape": "Sr" + "shape": "Sv" } } } @@ -70,15 +70,15 @@ "NotificationType": {}, "ActionType": {}, "ActionThreshold": { - "shape": "Sy" + "shape": "S12" }, "Definition": { - "shape": "Sz" + "shape": "S13" }, "ExecutionRoleArn": {}, "ApprovalModel": {}, "Subscribers": { - "shape": "Sr" + "shape": "Sv" } } }, @@ -109,10 +109,10 @@ "AccountId": {}, "BudgetName": {}, "Notification": { - "shape": "Sl" + "shape": "Sp" }, "Subscribers": { - "shape": "Sr" + "shape": "Sv" } } }, @@ -134,10 +134,10 @@ "AccountId": {}, "BudgetName": {}, "Notification": { - "shape": "Sl" + "shape": "Sp" }, "Subscriber": { - "shape": "Ss" + "shape": "Sw" } } }, @@ -188,7 +188,7 @@ "AccountId": {}, "BudgetName": {}, "Action": { - "shape": "S1t" + "shape": "S1x" } } } @@ -205,7 +205,7 @@ "AccountId": {}, "BudgetName": {}, "Notification": { - "shape": "Sl" + "shape": "Sp" } } }, @@ -227,10 +227,10 @@ "AccountId": {}, "BudgetName": {}, "Notification": { - "shape": "Sl" + "shape": "Sp" }, "Subscriber": { - "shape": "Ss" + "shape": "Sw" } } }, @@ -285,7 +285,7 @@ "AccountId": {}, "BudgetName": {}, "Action": { - "shape": "S1t" + "shape": "S1x" } } } @@ -342,7 +342,7 @@ "members": { "Message": {}, "Action": { - "shape": "S1t" + "shape": "S1x" } } } @@ -374,7 +374,7 @@ ], "members": { "Actions": { - "shape": "S2c" + "shape": "S2g" }, "NextToken": {} } @@ -403,7 +403,7 @@ ], "members": { "Actions": { - "shape": "S2c" + "shape": "S2g" }, "NextToken": {} } @@ -515,7 +515,7 @@ "Notifications": { "type": "list", "member": { - "shape": "Sl" + "shape": "Sp" } }, "NextToken": {} @@ -534,7 +534,7 @@ "AccountId": {}, "BudgetName": {}, "Notification": { - "shape": "Sl" + "shape": "Sp" }, "MaxResults": { "type": "integer" @@ -546,7 +546,7 @@ "type": "structure", "members": { "Subscribers": { - "shape": "Sr" + "shape": "Sv" }, "NextToken": {} } @@ -617,15 +617,15 @@ "ActionId": {}, "NotificationType": {}, "ActionThreshold": { - "shape": "Sy" + "shape": "S12" }, "Definition": { - "shape": "Sz" + "shape": "S13" }, "ExecutionRoleArn": {}, "ApprovalModel": {}, "Subscribers": { - "shape": "Sr" + "shape": "Sv" } } }, @@ -641,10 +641,10 @@ "AccountId": {}, "BudgetName": {}, "OldAction": { - "shape": "S1t" + "shape": "S1x" }, "NewAction": { - "shape": "S1t" + "shape": "S1x" } } } @@ -662,10 +662,10 @@ "AccountId": {}, "BudgetName": {}, "OldNotification": { - "shape": "Sl" + "shape": "Sp" }, "NewNotification": { - "shape": "Sl" + "shape": "Sp" } } }, @@ -688,13 +688,13 @@ "AccountId": {}, "BudgetName": {}, "Notification": { - "shape": "Sl" + "shape": "Sp" }, "OldSubscriber": { - "shape": "Ss" + "shape": "Sw" }, "NewSubscriber": { - "shape": "Ss" + "shape": "Sw" } } }, @@ -751,6 +751,32 @@ "BudgetType": {}, "LastUpdatedTime": { "type": "timestamp" + }, + "AutoAdjustData": { + "type": "structure", + "required": [ + "AutoAdjustType" + ], + "members": { + "AutoAdjustType": {}, + "HistoricalOptions": { + "type": "structure", + "required": [ + "BudgetAdjustmentPeriod" + ], + "members": { + "BudgetAdjustmentPeriod": { + "type": "integer" + }, + "LookBackAvailablePeriods": { + "type": "integer" + } + } + }, + "LastAutoAdjustTime": { + "type": "timestamp" + } + } } } }, @@ -822,7 +848,7 @@ } } }, - "Sl": { + "Sp": { "type": "structure", "required": [ "NotificationType", @@ -839,13 +865,13 @@ "NotificationState": {} } }, - "Sr": { + "Sv": { "type": "list", "member": { - "shape": "Ss" + "shape": "Sw" } }, - "Ss": { + "Sw": { "type": "structure", "required": [ "SubscriptionType", @@ -859,7 +885,7 @@ } } }, - "Sy": { + "S12": { "type": "structure", "required": [ "ActionThresholdValue", @@ -872,7 +898,7 @@ "ActionThresholdType": {} } }, - "Sz": { + "S13": { "type": "structure", "members": { "IamActionDefinition": { @@ -928,7 +954,7 @@ } } }, - "S1t": { + "S1x": { "type": "structure", "required": [ "ActionId", @@ -948,23 +974,23 @@ "NotificationType": {}, "ActionType": {}, "ActionThreshold": { - "shape": "Sy" + "shape": "S12" }, "Definition": { - "shape": "Sz" + "shape": "S13" }, "ExecutionRoleArn": {}, "ApprovalModel": {}, "Status": {}, "Subscribers": { - "shape": "Sr" + "shape": "Sv" } } }, - "S2c": { + "S2g": { "type": "list", "member": { - "shape": "S1t" + "shape": "S1x" } } } diff --git a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json index 477a5f366..98a62485c 100644 --- a/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +++ b/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json @@ -539,6 +539,9 @@ "type": "structure", "members": { "Type": {}, + "HookInvocationCount": { + "type": "integer" + }, "ResourceChange": { "type": "structure", "members": { @@ -572,7 +575,7 @@ }, "ChangeSetId": {}, "ModuleInfo": { - "shape": "S4h" + "shape": "S4i" } } } @@ -588,6 +591,59 @@ } } }, + "DescribeChangeSetHooks": { + "input": { + "type": "structure", + "required": [ + "ChangeSetName" + ], + "members": { + "ChangeSetName": {}, + "StackName": {}, + "NextToken": {}, + "LogicalResourceId": {} + } + }, + "output": { + "resultWrapper": "DescribeChangeSetHooksResult", + "type": "structure", + "members": { + "ChangeSetId": {}, + "ChangeSetName": {}, + "Hooks": { + "type": "list", + "member": { + "type": "structure", + "members": { + "InvocationPoint": {}, + "FailureMode": {}, + "TypeName": {}, + "TypeVersionId": {}, + "TypeConfigurationVersionId": {}, + "TargetDetails": { + "type": "structure", + "members": { + "TargetType": {}, + "ResourceTargetDetails": { + "type": "structure", + "members": { + "LogicalResourceId": {}, + "ResourceType": {}, + "ResourceAction": {} + } + } + } + } + } + } + }, + "Status": {}, + "NextToken": {}, + "StackId": {}, + "StackName": {} + } + } + }, "DescribePublisher": { "input": { "type": "structure", @@ -676,7 +732,12 @@ "ResourceStatus": {}, "ResourceStatusReason": {}, "ResourceProperties": {}, - "ClientRequestToken": {} + "ClientRequestToken": {}, + "HookType": {}, + "HookStatus": {}, + "HookStatusReason": {}, + "HookInvocationPoint": {}, + "HookFailureMode": {} } } }, @@ -715,7 +776,7 @@ }, "Status": {}, "StackInstanceStatus": { - "shape": "S58" + "shape": "S5q" }, "StatusReason": {}, "OrganizationalUnitId": {}, @@ -766,10 +827,10 @@ "Description": {}, "Metadata": {}, "DriftInformation": { - "shape": "S5f" + "shape": "S5x" }, "ModuleInfo": { - "shape": "S4h" + "shape": "S4i" } } } @@ -804,7 +865,7 @@ "StackResourceDrifts": { "type": "list", "member": { - "shape": "S5m" + "shape": "S64" } }, "NextToken": {} @@ -847,10 +908,10 @@ "ResourceStatusReason": {}, "Description": {}, "DriftInformation": { - "shape": "S5f" + "shape": "S5x" }, "ModuleInfo": { - "shape": "S4h" + "shape": "S4i" } } } @@ -894,7 +955,7 @@ "AdministrationRoleARN": {}, "ExecutionRoleName": {}, "StackSetDriftDetectionDetails": { - "shape": "S66" + "shape": "S6o" }, "AutoDeployment": { "shape": "S30" @@ -953,7 +1014,7 @@ "shape": "S2j" }, "StackSetDriftDetectionDetails": { - "shape": "S66" + "shape": "S6o" } } } @@ -1161,7 +1222,7 @@ "members": { "StackName": {}, "LogicalResourceIds": { - "shape": "S7k" + "shape": "S82" } } }, @@ -1196,7 +1257,7 @@ ], "members": { "StackResourceDrift": { - "shape": "S5m" + "shape": "S64" } } } @@ -1355,7 +1416,7 @@ "Version": {}, "Metadata": {}, "DeclaredTransforms": { - "shape": "S8d" + "shape": "S8v" }, "ResourceIdentifierSummaries": { "type": "list", @@ -1364,7 +1425,7 @@ "members": { "ResourceType": {}, "LogicalResourceIds": { - "shape": "S7k" + "shape": "S82" }, "ResourceIdentifiers": { "type": "list", @@ -1544,7 +1605,7 @@ "Status": {}, "StatusReason": {}, "StackInstanceStatus": { - "shape": "S58" + "shape": "S5q" }, "OrganizationalUnitId": {}, "DriftStatus": {}, @@ -1605,7 +1666,7 @@ } }, "ModuleInfo": { - "shape": "S4h" + "shape": "S4i" } } } @@ -2346,7 +2407,7 @@ }, "CapabilitiesReason": {}, "DeclaredTransforms": { - "shape": "S8d" + "shape": "S8v" } } } @@ -2500,20 +2561,20 @@ } } }, - "S4h": { + "S4i": { "type": "structure", "members": { "TypeHierarchy": {}, "LogicalIdHierarchy": {} } }, - "S58": { + "S5q": { "type": "structure", "members": { "DetailedStatus": {} } }, - "S5f": { + "S5x": { "type": "structure", "required": [ "StackResourceDriftStatus" @@ -2525,7 +2586,7 @@ } } }, - "S5m": { + "S64": { "type": "structure", "required": [ "StackId", @@ -2578,11 +2639,11 @@ "type": "timestamp" }, "ModuleInfo": { - "shape": "S4h" + "shape": "S4i" } } }, - "S66": { + "S6o": { "type": "structure", "members": { "DriftStatus": {}, @@ -2607,11 +2668,11 @@ } } }, - "S7k": { + "S82": { "type": "list", "member": {} }, - "S8d": { + "S8v": { "type": "list", "member": {} } diff --git a/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json b/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json index 7a1fd0ef9..cd1730fab 100644 --- a/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json +++ b/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json @@ -7,7 +7,7 @@ "description": "Wait until a repository association is complete.", "operation": "DescribeRepositoryAssociation", "delay": 10, - "maxAttempts": 20, + "maxAttempts": 30, "acceptors": [ { "state": "success", @@ -15,6 +15,12 @@ "argument": "RepositoryAssociation.State", "expected": "Associated" }, + { + "state": "failure", + "matcher": "path", + "argument": "RepositoryAssociation.State", + "expected": "Failed" + }, { "state": "retry", "matcher": "path", @@ -27,7 +33,7 @@ "description": "Wait until a code review is complete.", "operation": "DescribeCodeReview", "delay": 10, - "maxAttempts": 60, + "maxAttempts": 180, "acceptors": [ { "state": "success", @@ -35,6 +41,12 @@ "argument": "CodeReview.State", "expected": "Completed" }, + { + "state": "failure", + "matcher": "path", + "argument": "CodeReview.State", + "expected": "Failed" + }, { "state": "retry", "matcher": "path", diff --git a/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json b/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json index 51a4a21d4..98fccec80 100644 --- a/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +++ b/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json @@ -328,7 +328,8 @@ "shape": "S24" }, "Mode": {}, - "ModelKmsKeyId": {} + "ModelKmsKeyId": {}, + "ModelPolicy": {} } }, "output": { @@ -385,7 +386,7 @@ "shape": "S1n" }, "InputDataConfig": { - "shape": "S2j" + "shape": "S2k" }, "ClientRequestToken": { "idempotencyToken": true @@ -395,7 +396,8 @@ "VpcConfig": { "shape": "S24" }, - "ModelKmsKeyId": {} + "ModelKmsKeyId": {}, + "ModelPolicy": {} } }, "output": { @@ -450,6 +452,22 @@ "members": {} } }, + "DeleteResourcePolicy": { + "input": { + "type": "structure", + "required": [ + "ResourceArn" + ], + "members": { + "ResourceArn": {}, + "PolicyRevisionId": {} + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "DescribeDocumentClassificationJob": { "input": { "type": "structure", @@ -464,7 +482,7 @@ "type": "structure", "members": { "DocumentClassificationJobProperties": { - "shape": "S34" + "shape": "S38" } } } @@ -483,7 +501,7 @@ "type": "structure", "members": { "DocumentClassifierProperties": { - "shape": "S3j" + "shape": "S3n" } } } @@ -502,7 +520,7 @@ "type": "structure", "members": { "DominantLanguageDetectionJobProperties": { - "shape": "S3q" + "shape": "S3u" } } } @@ -521,7 +539,7 @@ "type": "structure", "members": { "EndpointProperties": { - "shape": "S3t" + "shape": "S3x" } } } @@ -540,7 +558,7 @@ "type": "structure", "members": { "EntitiesDetectionJobProperties": { - "shape": "S3x" + "shape": "S41" } } } @@ -559,7 +577,7 @@ "type": "structure", "members": { "EntityRecognizerProperties": { - "shape": "S40" + "shape": "S44" } } } @@ -578,7 +596,7 @@ "type": "structure", "members": { "EventsDetectionJobProperties": { - "shape": "S48" + "shape": "S4c" } } } @@ -597,7 +615,7 @@ "type": "structure", "members": { "KeyPhrasesDetectionJobProperties": { - "shape": "S4d" + "shape": "S4h" } } } @@ -616,11 +634,35 @@ "type": "structure", "members": { "PiiEntitiesDetectionJobProperties": { - "shape": "S4g" + "shape": "S4k" } } } }, + "DescribeResourcePolicy": { + "input": { + "type": "structure", + "required": [ + "ResourceArn" + ], + "members": { + "ResourceArn": {} + } + }, + "output": { + "type": "structure", + "members": { + "ResourcePolicy": {}, + "CreationTime": { + "type": "timestamp" + }, + "LastModifiedTime": { + "type": "timestamp" + }, + "PolicyRevisionId": {} + } + } + }, "DescribeSentimentDetectionJob": { "input": { "type": "structure", @@ -635,7 +677,7 @@ "type": "structure", "members": { "SentimentDetectionJobProperties": { - "shape": "S4p" + "shape": "S4v" } } } @@ -654,7 +696,7 @@ "type": "structure", "members": { "TopicsDetectionJobProperties": { - "shape": "S4s" + "shape": "S4y" } } } @@ -814,6 +856,30 @@ "sensitive": true } }, + "ImportModel": { + "input": { + "type": "structure", + "required": [ + "SourceModelArn" + ], + "members": { + "SourceModelArn": {}, + "ModelName": {}, + "VersionName": {}, + "ModelKmsKeyId": {}, + "DataAccessRoleArn": {}, + "Tags": { + "shape": "S1n" + } + } + }, + "output": { + "type": "structure", + "members": { + "ModelArn": {} + } + } + }, "ListDocumentClassificationJobs": { "input": { "type": "structure", @@ -843,7 +909,7 @@ "DocumentClassificationJobPropertiesList": { "type": "list", "member": { - "shape": "S34" + "shape": "S38" } }, "NextToken": {} @@ -913,7 +979,7 @@ "DocumentClassifierPropertiesList": { "type": "list", "member": { - "shape": "S3j" + "shape": "S3n" } }, "NextToken": {} @@ -949,7 +1015,7 @@ "DominantLanguageDetectionJobPropertiesList": { "type": "list", "member": { - "shape": "S3q" + "shape": "S3u" } }, "NextToken": {} @@ -985,7 +1051,7 @@ "EndpointPropertiesList": { "type": "list", "member": { - "shape": "S3t" + "shape": "S3x" } }, "NextToken": {} @@ -1021,7 +1087,7 @@ "EntitiesDetectionJobPropertiesList": { "type": "list", "member": { - "shape": "S3x" + "shape": "S41" } }, "NextToken": {} @@ -1091,7 +1157,7 @@ "EntityRecognizerPropertiesList": { "type": "list", "member": { - "shape": "S40" + "shape": "S44" } }, "NextToken": {} @@ -1127,7 +1193,7 @@ "EventsDetectionJobPropertiesList": { "type": "list", "member": { - "shape": "S48" + "shape": "S4c" } }, "NextToken": {} @@ -1163,7 +1229,7 @@ "KeyPhrasesDetectionJobPropertiesList": { "type": "list", "member": { - "shape": "S4d" + "shape": "S4h" } }, "NextToken": {} @@ -1199,7 +1265,7 @@ "PiiEntitiesDetectionJobPropertiesList": { "type": "list", "member": { - "shape": "S4g" + "shape": "S4k" } }, "NextToken": {} @@ -1235,7 +1301,7 @@ "SentimentDetectionJobPropertiesList": { "type": "list", "member": { - "shape": "S4p" + "shape": "S4v" } }, "NextToken": {} @@ -1291,13 +1357,33 @@ "TopicsDetectionJobPropertiesList": { "type": "list", "member": { - "shape": "S4s" + "shape": "S4y" } }, "NextToken": {} } } }, + "PutResourcePolicy": { + "input": { + "type": "structure", + "required": [ + "ResourceArn", + "ResourcePolicy" + ], + "members": { + "ResourceArn": {}, + "ResourcePolicy": {}, + "PolicyRevisionId": {} + } + }, + "output": { + "type": "structure", + "members": { + "PolicyRevisionId": {} + } + } + }, "StartDocumentClassificationJob": { "input": { "type": "structure", @@ -1311,10 +1397,10 @@ "JobName": {}, "DocumentClassifierArn": {}, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "ClientRequestToken": { @@ -1348,10 +1434,10 @@ ], "members": { "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "JobName": {}, @@ -1387,10 +1473,10 @@ ], "members": { "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "JobName": {}, @@ -1429,10 +1515,10 @@ ], "members": { "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "JobName": {}, @@ -1441,7 +1527,7 @@ "idempotencyToken": true }, "TargetEventTypes": { - "shape": "S49" + "shape": "S4d" }, "Tags": { "shape": "S1n" @@ -1468,10 +1554,10 @@ ], "members": { "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "JobName": {}, @@ -1509,14 +1595,14 @@ ], "members": { "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "Mode": {}, "RedactionConfig": { - "shape": "S4i" + "shape": "S4m" }, "DataAccessRoleArn": {}, "JobName": {}, @@ -1549,10 +1635,10 @@ ], "members": { "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "JobName": {}, @@ -1588,10 +1674,10 @@ ], "members": { "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "JobName": {}, @@ -2005,7 +2091,7 @@ } } }, - "S2j": { + "S2k": { "type": "structure", "required": [ "EntityTypes" @@ -2062,7 +2148,7 @@ } } }, - "S34": { + "S38": { "type": "structure", "members": { "JobId": {}, @@ -2078,10 +2164,10 @@ }, "DocumentClassifierArn": {}, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "VolumeKmsKeyId": {}, @@ -2090,7 +2176,7 @@ } } }, - "S3a": { + "S3e": { "type": "structure", "required": [ "S3Uri" @@ -2114,7 +2200,7 @@ } } }, - "S3g": { + "S3k": { "type": "structure", "required": [ "S3Uri" @@ -2124,7 +2210,7 @@ "KmsKeyId": {} } }, - "S3j": { + "S3n": { "type": "structure", "members": { "DocumentClassifierArn": {}, @@ -2200,10 +2286,11 @@ }, "Mode": {}, "ModelKmsKeyId": {}, - "VersionName": {} + "VersionName": {}, + "SourceModelArn": {} } }, - "S3q": { + "S3u": { "type": "structure", "members": { "JobId": {}, @@ -2218,10 +2305,10 @@ "type": "timestamp" }, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "DataAccessRoleArn": {}, "VolumeKmsKeyId": {}, @@ -2230,7 +2317,7 @@ } } }, - "S3t": { + "S3x": { "type": "structure", "members": { "EndpointArn": {}, @@ -2254,7 +2341,7 @@ "DesiredDataAccessRoleArn": {} } }, - "S3x": { + "S41": { "type": "structure", "members": { "JobId": {}, @@ -2270,10 +2357,10 @@ }, "EntityRecognizerArn": {}, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "LanguageCode": {}, "DataAccessRoleArn": {}, @@ -2283,7 +2370,7 @@ } } }, - "S40": { + "S44": { "type": "structure", "members": { "EntityRecognizerArn": {}, @@ -2303,7 +2390,7 @@ "type": "timestamp" }, "InputDataConfig": { - "shape": "S2j" + "shape": "S2k" }, "RecognizerMetadata": { "type": "structure", @@ -2363,10 +2450,11 @@ "shape": "S24" }, "ModelKmsKeyId": {}, - "VersionName": {} + "VersionName": {}, + "SourceModelArn": {} } }, - "S48": { + "S4c": { "type": "structure", "members": { "JobId": {}, @@ -2381,23 +2469,23 @@ "type": "timestamp" }, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "LanguageCode": {}, "DataAccessRoleArn": {}, "TargetEventTypes": { - "shape": "S49" + "shape": "S4d" } } }, - "S49": { + "S4d": { "type": "list", "member": {} }, - "S4d": { + "S4h": { "type": "structure", "members": { "JobId": {}, @@ -2412,10 +2500,10 @@ "type": "timestamp" }, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "LanguageCode": {}, "DataAccessRoleArn": {}, @@ -2425,7 +2513,7 @@ } } }, - "S4g": { + "S4k": { "type": "structure", "members": { "JobId": {}, @@ -2440,7 +2528,7 @@ "type": "timestamp" }, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { "type": "structure", @@ -2453,14 +2541,14 @@ } }, "RedactionConfig": { - "shape": "S4i" + "shape": "S4m" }, "LanguageCode": {}, "DataAccessRoleArn": {}, "Mode": {} } }, - "S4i": { + "S4m": { "type": "structure", "members": { "PiiEntityTypes": { @@ -2471,7 +2559,7 @@ "MaskCharacter": {} } }, - "S4p": { + "S4v": { "type": "structure", "members": { "JobId": {}, @@ -2486,10 +2574,10 @@ "type": "timestamp" }, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "LanguageCode": {}, "DataAccessRoleArn": {}, @@ -2499,7 +2587,7 @@ } } }, - "S4s": { + "S4y": { "type": "structure", "members": { "JobId": {}, @@ -2514,10 +2602,10 @@ "type": "timestamp" }, "InputDataConfig": { - "shape": "S3a" + "shape": "S3e" }, "OutputDataConfig": { - "shape": "S3g" + "shape": "S3k" }, "NumberOfTopics": { "type": "integer" diff --git a/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json b/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json index c59b56934..7459fb083 100644 --- a/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +++ b/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json @@ -309,7 +309,8 @@ }, "savingsOpportunity": { "shape": "S2h" - } + }, + "migrationEffort": {} } } }, @@ -318,13 +319,16 @@ }, "currentPerformanceRisk": {}, "effectiveRecommendationPreferences": { - "shape": "S2o" + "shape": "S2p" + }, + "inferredWorkloadTypes": { + "shape": "S2s" } } } }, "errors": { - "shape": "S2q" + "shape": "S2u" } } } @@ -361,7 +365,7 @@ "volumeArn": {}, "accountId": {}, "currentConfiguration": { - "shape": "S31" + "shape": "S35" }, "finding": {}, "utilizationMetrics": { @@ -386,7 +390,7 @@ "type": "structure", "members": { "configuration": { - "shape": "S31" + "shape": "S35" }, "performanceRisk": { "type": "double" @@ -408,7 +412,7 @@ } }, "errors": { - "shape": "S2q" + "shape": "S2u" } } } @@ -481,7 +485,8 @@ }, "savingsOpportunity": { "shape": "S2h" - } + }, + "migrationEffort": {} } } }, @@ -500,13 +505,16 @@ }, "currentPerformanceRisk": {}, "effectiveRecommendationPreferences": { - "shape": "S2o" + "shape": "S2p" + }, + "inferredWorkloadTypes": { + "shape": "S2s" } } } }, "errors": { - "shape": "S2q" + "shape": "S2u" } } } @@ -788,7 +796,8 @@ "shape": "S3" }, "resourceType": {}, - "enhancedInfrastructureMetrics": {} + "enhancedInfrastructureMetrics": {}, + "inferredWorkloadTypes": {} } } } @@ -880,7 +889,8 @@ "scope": { "shape": "S3" }, - "enhancedInfrastructureMetrics": {} + "enhancedInfrastructureMetrics": {}, + "inferredWorkloadTypes": {} } }, "output": { @@ -1043,16 +1053,21 @@ } } }, - "S2o": { + "S2p": { "type": "structure", "members": { "cpuVendorArchitectures": { "shape": "S18" }, - "enhancedInfrastructureMetrics": {} + "enhancedInfrastructureMetrics": {}, + "inferredWorkloadTypes": {} } }, - "S2q": { + "S2s": { + "type": "list", + "member": {} + }, + "S2u": { "type": "list", "member": { "type": "structure", @@ -1063,7 +1078,7 @@ } } }, - "S31": { + "S35": { "type": "structure", "members": { "volumeType": {}, diff --git a/node_modules/aws-sdk/apis/connect-2017-08-08.min.json b/node_modules/aws-sdk/apis/connect-2017-08-08.min.json index c6e7b1a5b..c39dcc152 100644 --- a/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +++ b/node_modules/aws-sdk/apis/connect-2017-08-08.min.json @@ -57,6 +57,34 @@ } } }, + "AssociateDefaultVocabulary": { + "http": { + "method": "PUT", + "requestUri": "/default-vocabulary/{InstanceId}/{LanguageCode}" + }, + "input": { + "type": "structure", + "required": [ + "InstanceId", + "LanguageCode" + ], + "members": { + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + }, + "LanguageCode": { + "location": "uri", + "locationName": "LanguageCode" + }, + "VocabularyId": {} + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "AssociateInstanceStorageConfig": { "http": { "method": "PUT", @@ -76,7 +104,7 @@ }, "ResourceType": {}, "StorageConfig": { - "shape": "Sc" + "shape": "Sg" } } }, @@ -150,7 +178,7 @@ "locationName": "QueueId" }, "QuickConnectIds": { - "shape": "Sw" + "shape": "S10" } } } @@ -176,7 +204,7 @@ "locationName": "RoutingProfileId" }, "QueueConfigs": { - "shape": "S10" + "shape": "S14" } } } @@ -231,7 +259,7 @@ "type": "integer" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -266,7 +294,7 @@ "Description": {}, "Content": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -299,7 +327,7 @@ "Description": {}, "Content": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" }, "ClientToken": { "idempotencyToken": true @@ -336,10 +364,10 @@ "Description": {}, "TimeZone": {}, "Config": { - "shape": "S21" + "shape": "S25" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -367,7 +395,7 @@ "ClientToken": {}, "IdentityManagementType": {}, "InstanceAlias": { - "shape": "S2b" + "shape": "S2f" }, "DirectoryId": {}, "InboundCallsEnabled": { @@ -409,7 +437,7 @@ "SourceApplicationName": {}, "SourceType": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -441,17 +469,17 @@ "Name": {}, "Description": {}, "OutboundCallerConfig": { - "shape": "S2p" + "shape": "S2t" }, "HoursOfOperationId": {}, "MaxContacts": { "type": "integer" }, "QuickConnectIds": { - "shape": "Sw" + "shape": "S10" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -483,10 +511,10 @@ "Name": {}, "Description": {}, "QuickConnectConfig": { - "shape": "S2x" + "shape": "S31" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -521,13 +549,13 @@ "Description": {}, "DefaultOutboundQueueId": {}, "QueueConfigs": { - "shape": "S10" + "shape": "S14" }, "MediaConcurrencies": { - "shape": "S38" + "shape": "S3c" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -554,14 +582,14 @@ "SecurityProfileName": {}, "Description": {}, "Permissions": { - "shape": "S3f" + "shape": "S3j" }, "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -596,7 +624,7 @@ }, "UseCaseType": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -626,14 +654,14 @@ "Username": {}, "Password": {}, "IdentityInfo": { - "shape": "S3q" + "shape": "S3u" }, "PhoneConfig": { - "shape": "S3u" + "shape": "S3y" }, "DirectoryUserId": {}, "SecurityProfileIds": { - "shape": "S3z" + "shape": "S43" }, "RoutingProfileId": {}, "HierarchyGroupId": {}, @@ -642,7 +670,7 @@ "locationName": "InstanceId" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } }, @@ -671,6 +699,9 @@ "InstanceId": { "location": "uri", "locationName": "InstanceId" + }, + "Tags": { + "shape": "S1i" } } }, @@ -682,6 +713,48 @@ } } }, + "CreateVocabulary": { + "http": { + "requestUri": "/vocabulary/{InstanceId}" + }, + "input": { + "type": "structure", + "required": [ + "InstanceId", + "VocabularyName", + "LanguageCode", + "Content" + ], + "members": { + "ClientToken": { + "idempotencyToken": true + }, + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + }, + "VocabularyName": {}, + "LanguageCode": {}, + "Content": {}, + "Tags": { + "shape": "S1i" + } + } + }, + "output": { + "type": "structure", + "required": [ + "VocabularyArn", + "VocabularyId", + "State" + ], + "members": { + "VocabularyArn": {}, + "VocabularyId": {}, + "State": {} + } + } + }, "DeleteContactFlow": { "http": { "method": "DELETE", @@ -916,6 +989,41 @@ } } }, + "DeleteVocabulary": { + "http": { + "requestUri": "/vocabulary-remove/{InstanceId}/{VocabularyId}" + }, + "input": { + "type": "structure", + "required": [ + "InstanceId", + "VocabularyId" + ], + "members": { + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + }, + "VocabularyId": { + "location": "uri", + "locationName": "VocabularyId" + } + } + }, + "output": { + "type": "structure", + "required": [ + "VocabularyArn", + "VocabularyId", + "State" + ], + "members": { + "VocabularyArn": {}, + "VocabularyId": {}, + "State": {} + } + } + }, "DescribeAgentStatus": { "http": { "method": "GET", @@ -954,7 +1062,7 @@ }, "State": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1068,7 +1176,7 @@ "Description": {}, "Content": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1111,7 +1219,7 @@ "State": {}, "Status": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1152,10 +1260,10 @@ "Description": {}, "TimeZone": {}, "Config": { - "shape": "S21" + "shape": "S25" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1189,7 +1297,7 @@ "Arn": {}, "IdentityManagementType": {}, "InstanceAlias": { - "shape": "S2b" + "shape": "S2f" }, "CreatedTime": { "type": "timestamp" @@ -1239,7 +1347,7 @@ "type": "structure", "members": { "Attribute": { - "shape": "S5h" + "shape": "S5s" } } } @@ -1275,7 +1383,7 @@ "type": "structure", "members": { "StorageConfig": { - "shape": "Sc" + "shape": "Sg" } } } @@ -1313,7 +1421,7 @@ "QueueId": {}, "Description": {}, "OutboundCallerConfig": { - "shape": "S2p" + "shape": "S2t" }, "HoursOfOperationId": {}, "MaxContacts": { @@ -1321,7 +1429,7 @@ }, "Status": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1361,10 +1469,10 @@ "Name": {}, "Description": {}, "QuickConnectConfig": { - "shape": "S2x" + "shape": "S31" }, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1405,11 +1513,11 @@ "RoutingProfileId": {}, "Description": {}, "MediaConcurrencies": { - "shape": "S38" + "shape": "S3c" }, "DefaultOutboundQueueId": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1450,7 +1558,7 @@ "SecurityProfileName": {}, "Description": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1489,19 +1597,19 @@ "Arn": {}, "Username": {}, "IdentityInfo": { - "shape": "S3q" + "shape": "S3u" }, "PhoneConfig": { - "shape": "S3u" + "shape": "S3y" }, "DirectoryUserId": {}, "SecurityProfileIds": { - "shape": "S3z" + "shape": "S43" }, "RoutingProfileId": {}, "HierarchyGroupId": {}, "Tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -1544,21 +1652,24 @@ "type": "structure", "members": { "LevelOne": { - "shape": "S66" + "shape": "S6h" }, "LevelTwo": { - "shape": "S66" + "shape": "S6h" }, "LevelThree": { - "shape": "S66" + "shape": "S6h" }, "LevelFour": { - "shape": "S66" + "shape": "S6h" }, "LevelFive": { - "shape": "S66" + "shape": "S6h" } } + }, + "Tags": { + "shape": "S1i" } } } @@ -1589,19 +1700,76 @@ "type": "structure", "members": { "LevelOne": { - "shape": "S6a" + "shape": "S6l" }, "LevelTwo": { - "shape": "S6a" + "shape": "S6l" }, "LevelThree": { - "shape": "S6a" + "shape": "S6l" }, "LevelFour": { - "shape": "S6a" + "shape": "S6l" }, "LevelFive": { - "shape": "S6a" + "shape": "S6l" + } + } + } + } + } + }, + "DescribeVocabulary": { + "http": { + "method": "GET", + "requestUri": "/vocabulary/{InstanceId}/{VocabularyId}" + }, + "input": { + "type": "structure", + "required": [ + "InstanceId", + "VocabularyId" + ], + "members": { + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + }, + "VocabularyId": { + "location": "uri", + "locationName": "VocabularyId" + } + } + }, + "output": { + "type": "structure", + "required": [ + "Vocabulary" + ], + "members": { + "Vocabulary": { + "type": "structure", + "required": [ + "Name", + "Id", + "Arn", + "LanguageCode", + "State", + "LastModifiedTime" + ], + "members": { + "Name": {}, + "Id": {}, + "Arn": {}, + "LanguageCode": {}, + "State": {}, + "LastModifiedTime": { + "type": "timestamp" + }, + "FailureReason": {}, + "Content": {}, + "Tags": { + "shape": "S1i" } } } @@ -1754,7 +1922,7 @@ "locationName": "QueueId" }, "QuickConnectIds": { - "shape": "Sw" + "shape": "S10" } } } @@ -1782,7 +1950,7 @@ "QueueReferences": { "type": "list", "member": { - "shape": "S12" + "shape": "S16" } } } @@ -1837,7 +2005,7 @@ "type": "structure", "members": { "Attributes": { - "shape": "S6n" + "shape": "S73" } } } @@ -1859,15 +2027,15 @@ "locationName": "InstanceId" }, "Filters": { - "shape": "S6r" + "shape": "S77" }, "Groupings": { - "shape": "S6u" + "shape": "S7a" }, "CurrentMetrics": { "type": "list", "member": { - "shape": "S6x" + "shape": "S7d" } }, "NextToken": {}, @@ -1886,7 +2054,7 @@ "type": "structure", "members": { "Dimensions": { - "shape": "S75" + "shape": "S7l" }, "Collections": { "type": "list", @@ -1894,7 +2062,7 @@ "type": "structure", "members": { "Metric": { - "shape": "S6x" + "shape": "S7d" }, "Value": { "type": "double" @@ -1935,13 +2103,13 @@ "type": "structure", "members": { "AccessToken": { - "shape": "S7d" + "shape": "S7t" }, "AccessTokenExpiration": { "type": "timestamp" }, "RefreshToken": { - "shape": "S7d" + "shape": "S7t" }, "RefreshTokenExpiration": { "type": "timestamp" @@ -1976,15 +2144,15 @@ "type": "timestamp" }, "Filters": { - "shape": "S6r" + "shape": "S77" }, "Groupings": { - "shape": "S6u" + "shape": "S7a" }, "HistoricalMetrics": { "type": "list", "member": { - "shape": "S7g" + "shape": "S7w" } }, "NextToken": {}, @@ -2003,7 +2171,7 @@ "type": "structure", "members": { "Dimensions": { - "shape": "S75" + "shape": "S7l" }, "Collections": { "type": "list", @@ -2011,7 +2179,7 @@ "type": "structure", "members": { "Metric": { - "shape": "S7g" + "shape": "S7w" }, "Value": { "type": "double" @@ -2330,6 +2498,55 @@ } } }, + "ListDefaultVocabularies": { + "http": { + "requestUri": "/default-vocabulary-summary/{InstanceId}" + }, + "input": { + "type": "structure", + "required": [ + "InstanceId" + ], + "members": { + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + }, + "LanguageCode": {}, + "MaxResults": { + "type": "integer" + }, + "NextToken": {} + } + }, + "output": { + "type": "structure", + "required": [ + "DefaultVocabularyList" + ], + "members": { + "DefaultVocabularyList": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "InstanceId", + "LanguageCode", + "VocabularyId", + "VocabularyName" + ], + "members": { + "InstanceId": {}, + "LanguageCode": {}, + "VocabularyId": {}, + "VocabularyName": {} + } + } + }, + "NextToken": {} + } + } + }, "ListHoursOfOperations": { "http": { "method": "GET", @@ -2406,7 +2623,7 @@ "Attributes": { "type": "list", "member": { - "shape": "S5h" + "shape": "S5s" } }, "NextToken": {} @@ -2450,7 +2667,7 @@ "StorageConfigs": { "type": "list", "member": { - "shape": "Sc" + "shape": "Sg" } }, "NextToken": {} @@ -2488,7 +2705,7 @@ "Arn": {}, "IdentityManagementType": {}, "InstanceAlias": { - "shape": "S2b" + "shape": "S2f" }, "CreatedTime": { "type": "timestamp" @@ -2775,7 +2992,7 @@ "members": { "NextToken": {}, "QuickConnectSummaryList": { - "shape": "S9x" + "shape": "Sai" } } } @@ -2867,7 +3084,7 @@ "type": "structure", "members": { "QuickConnectSummaryList": { - "shape": "S9x" + "shape": "Sai" }, "NextToken": {} } @@ -3062,7 +3279,7 @@ "type": "structure", "members": { "Permissions": { - "shape": "S3f" + "shape": "S3j" }, "NextToken": {} } @@ -3133,7 +3350,7 @@ "type": "structure", "members": { "tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -3219,7 +3436,7 @@ "UserHierarchyGroupSummaryList": { "type": "list", "member": { - "shape": "S66" + "shape": "S6h" } }, "NextToken": {} @@ -3292,6 +3509,61 @@ "members": {} } }, + "SearchVocabularies": { + "http": { + "requestUri": "/vocabulary-summary/{InstanceId}" + }, + "input": { + "type": "structure", + "required": [ + "InstanceId" + ], + "members": { + "InstanceId": { + "location": "uri", + "locationName": "InstanceId" + }, + "MaxResults": { + "type": "integer" + }, + "NextToken": {}, + "State": {}, + "NameStartsWith": {}, + "LanguageCode": {} + } + }, + "output": { + "type": "structure", + "members": { + "VocabularySummaryList": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "Name", + "Id", + "Arn", + "LanguageCode", + "State", + "LastModifiedTime" + ], + "members": { + "Name": {}, + "Id": {}, + "Arn": {}, + "LanguageCode": {}, + "State": {}, + "LastModifiedTime": { + "type": "timestamp" + }, + "FailureReason": {} + } + } + }, + "NextToken": {} + } + } + }, "StartChatContact": { "http": { "method": "PUT", @@ -3308,7 +3580,7 @@ "InstanceId": {}, "ContactFlowId": {}, "Attributes": { - "shape": "S6n" + "shape": "S73" }, "ParticipantDetails": { "type": "structure", @@ -3332,6 +3604,9 @@ }, "ClientToken": { "idempotencyToken": true + }, + "ChatDurationInMinutes": { + "type": "integer" } } }, @@ -3434,7 +3709,7 @@ "SourcePhoneNumber": {}, "QueueId": {}, "Attributes": { - "shape": "S6n" + "shape": "S73" }, "AnswerMachineDetectionConfig": { "type": "structure", @@ -3475,11 +3750,11 @@ "PreviousContactId": {}, "ContactFlowId": {}, "Attributes": { - "shape": "S6n" + "shape": "S73" }, "Name": {}, "References": { - "shape": "Sbw" + "shape": "Scm" }, "Description": {}, "ClientToken": { @@ -3599,7 +3874,7 @@ "locationName": "resourceArn" }, "tags": { - "shape": "S1e" + "shape": "S1i" } } } @@ -3682,7 +3957,7 @@ "Name": {}, "Description": {}, "References": { - "shape": "Sbw" + "shape": "Scm" } } }, @@ -3706,7 +3981,7 @@ "InitialContactId": {}, "InstanceId": {}, "Attributes": { - "shape": "S6n" + "shape": "S73" } } }, @@ -3892,7 +4167,7 @@ "Description": {}, "TimeZone": {}, "Config": { - "shape": "S21" + "shape": "S25" } } } @@ -3947,7 +4222,7 @@ "locationName": "resourceType" }, "StorageConfig": { - "shape": "Sc" + "shape": "Sg" } } } @@ -4046,7 +4321,7 @@ "locationName": "QueueId" }, "OutboundCallerConfig": { - "shape": "S2p" + "shape": "S2t" } } } @@ -4096,7 +4371,7 @@ "locationName": "QuickConnectId" }, "QuickConnectConfig": { - "shape": "S2x" + "shape": "S31" } } } @@ -4146,7 +4421,7 @@ "locationName": "RoutingProfileId" }, "MediaConcurrencies": { - "shape": "S38" + "shape": "S3c" } } } @@ -4220,7 +4495,7 @@ "locationName": "RoutingProfileId" }, "QueueConfigs": { - "shape": "S10" + "shape": "S14" } } } @@ -4238,7 +4513,7 @@ "members": { "Description": {}, "Permissions": { - "shape": "S3f" + "shape": "S3j" }, "SecurityProfileId": { "location": "uri", @@ -4313,19 +4588,19 @@ "type": "structure", "members": { "LevelOne": { - "shape": "Sda" + "shape": "Se0" }, "LevelTwo": { - "shape": "Sda" + "shape": "Se0" }, "LevelThree": { - "shape": "Sda" + "shape": "Se0" }, "LevelFour": { - "shape": "Sda" + "shape": "Se0" }, "LevelFive": { - "shape": "Sda" + "shape": "Se0" } } }, @@ -4349,7 +4624,7 @@ ], "members": { "IdentityInfo": { - "shape": "S3q" + "shape": "S3u" }, "UserId": { "location": "uri", @@ -4375,7 +4650,7 @@ ], "members": { "PhoneConfig": { - "shape": "S3u" + "shape": "S3y" }, "UserId": { "location": "uri", @@ -4425,7 +4700,7 @@ ], "members": { "SecurityProfileIds": { - "shape": "S3z" + "shape": "S43" }, "UserId": { "location": "uri", @@ -4453,7 +4728,7 @@ "AliasArn": {} } }, - "Sc": { + "Sg": { "type": "structure", "required": [ "StorageType" @@ -4471,7 +4746,7 @@ "BucketName": {}, "BucketPrefix": {}, "EncryptionConfig": { - "shape": "Si" + "shape": "Sm" } } }, @@ -4488,7 +4763,7 @@ "type": "integer" }, "EncryptionConfig": { - "shape": "Si" + "shape": "Sm" } } }, @@ -4512,7 +4787,7 @@ } } }, - "Si": { + "Sm": { "type": "structure", "required": [ "EncryptionType", @@ -4523,11 +4798,11 @@ "KeyId": {} } }, - "Sw": { + "S10": { "type": "list", "member": {} }, - "S10": { + "S14": { "type": "list", "member": { "type": "structure", @@ -4538,7 +4813,7 @@ ], "members": { "QueueReference": { - "shape": "S12" + "shape": "S16" }, "Priority": { "type": "integer" @@ -4549,7 +4824,7 @@ } } }, - "S12": { + "S16": { "type": "structure", "required": [ "QueueId", @@ -4560,12 +4835,12 @@ "Channel": {} } }, - "S1e": { + "S1i": { "type": "map", "key": {}, "value": {} }, - "S21": { + "S25": { "type": "list", "member": { "type": "structure", @@ -4577,15 +4852,15 @@ "members": { "Day": {}, "StartTime": { - "shape": "S24" + "shape": "S28" }, "EndTime": { - "shape": "S24" + "shape": "S28" } } } }, - "S24": { + "S28": { "type": "structure", "required": [ "Hours", @@ -4600,11 +4875,11 @@ } } }, - "S2b": { + "S2f": { "type": "string", "sensitive": true }, - "S2p": { + "S2t": { "type": "structure", "members": { "OutboundCallerIdName": {}, @@ -4612,7 +4887,7 @@ "OutboundFlowId": {} } }, - "S2x": { + "S31": { "type": "structure", "required": [ "QuickConnectType" @@ -4652,7 +4927,7 @@ } } }, - "S38": { + "S3c": { "type": "list", "member": { "type": "structure", @@ -4668,11 +4943,11 @@ } } }, - "S3f": { + "S3j": { "type": "list", "member": {} }, - "S3q": { + "S3u": { "type": "structure", "members": { "FirstName": {}, @@ -4680,7 +4955,7 @@ "Email": {} } }, - "S3u": { + "S3y": { "type": "structure", "required": [ "PhoneType" @@ -4696,18 +4971,18 @@ "DeskPhoneNumber": {} } }, - "S3z": { + "S43": { "type": "list", "member": {} }, - "S5h": { + "S5s": { "type": "structure", "members": { "AttributeType": {}, "Value": {} } }, - "S66": { + "S6h": { "type": "structure", "members": { "Id": {}, @@ -4715,7 +4990,7 @@ "Name": {} } }, - "S6a": { + "S6l": { "type": "structure", "members": { "Id": {}, @@ -4723,12 +4998,12 @@ "Name": {} } }, - "S6n": { + "S73": { "type": "map", "key": {}, "value": {} }, - "S6r": { + "S77": { "type": "structure", "members": { "Queues": { @@ -4741,18 +5016,18 @@ } } }, - "S6u": { + "S7a": { "type": "list", "member": {} }, - "S6x": { + "S7d": { "type": "structure", "members": { "Name": {}, "Unit": {} } }, - "S75": { + "S7l": { "type": "structure", "members": { "Queue": { @@ -4765,11 +5040,11 @@ "Channel": {} } }, - "S7d": { + "S7t": { "type": "string", "sensitive": true }, - "S7g": { + "S7w": { "type": "structure", "members": { "Name": {}, @@ -4786,7 +5061,7 @@ "Unit": {} } }, - "S9x": { + "Sai": { "type": "list", "member": { "type": "structure", @@ -4798,7 +5073,7 @@ } } }, - "Sbw": { + "Scm": { "type": "map", "key": {}, "value": { @@ -4813,7 +5088,7 @@ } } }, - "Sda": { + "Se0": { "type": "structure", "required": [ "Name" diff --git a/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json b/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json index d3e1f13ea..91f5bbf7d 100644 --- a/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +++ b/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json @@ -45,6 +45,12 @@ "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", @@ -164,6 +170,12 @@ "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "UserSummaryList" + }, + "SearchVocabularies": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "VocabularySummaryList" } } } \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json b/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json index c7fc75350..dbb550108 100644 --- a/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json +++ b/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json @@ -74,10 +74,10 @@ "shape": "So" }, "PathOptions": { - "shape": "S12" + "shape": "S13" }, "Tags": { - "shape": "S1l" + "shape": "S1m" } } }, @@ -119,20 +119,20 @@ "shape": "Sp" }, "Configuration": { - "shape": "S1w" + "shape": "S1x" }, "ValidationConfigurations": { - "shape": "S2f" + "shape": "S2g" }, "RoleArn": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "Timeout": { "type": "integer" }, "JobSample": { - "shape": "S2j" + "shape": "S2k" } } }, @@ -163,11 +163,11 @@ "Name": {}, "RecipeName": {}, "Sample": { - "shape": "S2p" + "shape": "S2q" }, "RoleArn": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" } } }, @@ -195,10 +195,10 @@ "Description": {}, "Name": {}, "Steps": { - "shape": "S2v" + "shape": "S2w" }, "Tags": { - "shape": "S1l" + "shape": "S1m" } } }, @@ -235,21 +235,21 @@ "type": "integer" }, "Outputs": { - "shape": "S35" + "shape": "S36" }, "DataCatalogOutputs": { - "shape": "S3d" + "shape": "S3e" }, "DatabaseOutputs": { - "shape": "S3h" + "shape": "S3i" }, "ProjectName": {}, "RecipeReference": { - "shape": "S3k" + "shape": "S3l" }, "RoleArn": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "Timeout": { "type": "integer" @@ -282,10 +282,10 @@ "Description": {}, "TargetArn": {}, "Rules": { - "shape": "S3p" + "shape": "S3q" }, "Tags": { - "shape": "S1l" + "shape": "S1m" } } }, @@ -311,11 +311,11 @@ ], "members": { "JobNames": { - "shape": "S3z" + "shape": "S40" }, "CronExpression": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "Name": {} } @@ -541,10 +541,10 @@ "LastModifiedBy": {}, "Source": {}, "PathOptions": { - "shape": "S12" + "shape": "S13" }, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "ResourceArn": {} } @@ -594,34 +594,34 @@ "type": "integer" }, "Outputs": { - "shape": "S35" + "shape": "S36" }, "DataCatalogOutputs": { - "shape": "S3d" + "shape": "S3e" }, "DatabaseOutputs": { - "shape": "S3h" + "shape": "S3i" }, "ProjectName": {}, "ProfileConfiguration": { - "shape": "S1w" + "shape": "S1x" }, "ValidationConfigurations": { - "shape": "S2f" + "shape": "S2g" }, "RecipeReference": { - "shape": "S3k" + "shape": "S3l" }, "ResourceArn": {}, "RoleArn": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "Timeout": { "type": "integer" }, "JobSample": { - "shape": "S2j" + "shape": "S2k" } } } @@ -667,33 +667,33 @@ }, "JobName": {}, "ProfileConfiguration": { - "shape": "S1w" + "shape": "S1x" }, "ValidationConfigurations": { - "shape": "S2f" + "shape": "S2g" }, "RunId": {}, "State": {}, "LogSubscription": {}, "LogGroupName": {}, "Outputs": { - "shape": "S35" + "shape": "S36" }, "DataCatalogOutputs": { - "shape": "S3d" + "shape": "S3e" }, "DatabaseOutputs": { - "shape": "S3h" + "shape": "S3i" }, "RecipeReference": { - "shape": "S3k" + "shape": "S3l" }, "StartedBy": {}, "StartedOn": { "type": "timestamp" }, "JobSample": { - "shape": "S2j" + "shape": "S2k" } } } @@ -734,11 +734,11 @@ "RecipeName": {}, "ResourceArn": {}, "Sample": { - "shape": "S2p" + "shape": "S2q" }, "RoleArn": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "SessionStatus": {}, "OpenedBy": {}, @@ -791,10 +791,10 @@ "Description": {}, "Name": {}, "Steps": { - "shape": "S2v" + "shape": "S2w" }, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "ResourceArn": {}, "RecipeVersion": {} @@ -828,7 +828,7 @@ "Description": {}, "TargetArn": {}, "Rules": { - "shape": "S3p" + "shape": "S3q" }, "CreateDate": { "type": "timestamp" @@ -840,7 +840,7 @@ }, "ResourceArn": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" } } } @@ -873,7 +873,7 @@ }, "CreatedBy": {}, "JobNames": { - "shape": "S3z" + "shape": "S40" }, "LastModifiedBy": {}, "LastModifiedDate": { @@ -882,7 +882,7 @@ "ResourceArn": {}, "CronExpression": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "Name": {} } @@ -941,10 +941,10 @@ "LastModifiedBy": {}, "Source": {}, "PathOptions": { - "shape": "S12" + "shape": "S13" }, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "ResourceArn": {} } @@ -1008,26 +1008,26 @@ "LogSubscription": {}, "LogGroupName": {}, "Outputs": { - "shape": "S35" + "shape": "S36" }, "DataCatalogOutputs": { - "shape": "S3d" + "shape": "S3e" }, "DatabaseOutputs": { - "shape": "S3h" + "shape": "S3i" }, "RecipeReference": { - "shape": "S3k" + "shape": "S3l" }, "StartedBy": {}, "StartedOn": { "type": "timestamp" }, "JobSample": { - "shape": "S2j" + "shape": "S2k" }, "ValidationConfigurations": { - "shape": "S2f" + "shape": "S2g" } } } @@ -1099,17 +1099,17 @@ "type": "integer" }, "Outputs": { - "shape": "S35" + "shape": "S36" }, "DataCatalogOutputs": { - "shape": "S3d" + "shape": "S3e" }, "DatabaseOutputs": { - "shape": "S3h" + "shape": "S3i" }, "ProjectName": {}, "RecipeReference": { - "shape": "S3k" + "shape": "S3l" }, "ResourceArn": {}, "RoleArn": {}, @@ -1117,13 +1117,13 @@ "type": "integer" }, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "JobSample": { - "shape": "S2j" + "shape": "S2k" }, "ValidationConfigurations": { - "shape": "S2f" + "shape": "S2g" } } } @@ -1180,10 +1180,10 @@ "RecipeName": {}, "ResourceArn": {}, "Sample": { - "shape": "S2p" + "shape": "S2q" }, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "RoleArn": {}, "OpenedBy": {}, @@ -1231,7 +1231,7 @@ "members": { "NextToken": {}, "Recipes": { - "shape": "S5t" + "shape": "S5u" } } } @@ -1266,7 +1266,7 @@ ], "members": { "Recipes": { - "shape": "S5t" + "shape": "S5u" }, "NextToken": {} } @@ -1326,7 +1326,7 @@ "type": "integer" }, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "TargetArn": {} } @@ -1379,7 +1379,7 @@ "type": "timestamp" }, "JobNames": { - "shape": "S3z" + "shape": "S40" }, "LastModifiedBy": {}, "LastModifiedDate": { @@ -1388,7 +1388,7 @@ "ResourceArn": {}, "CronExpression": {}, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "Name": {} } @@ -1419,7 +1419,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S1l" + "shape": "S1m" } } } @@ -1470,13 +1470,13 @@ "locationName": "name" }, "RecipeStep": { - "shape": "S2w" + "shape": "S2x" }, "StepIndex": { "type": "integer" }, "ClientSessionId": { - "shape": "S6d" + "shape": "S6e" }, "ViewFrame": { "type": "structure", @@ -1573,7 +1573,7 @@ "members": { "Name": {}, "ClientSessionId": { - "shape": "S6d" + "shape": "S6e" } } } @@ -1625,7 +1625,7 @@ "locationName": "ResourceArn" }, "Tags": { - "shape": "S1l" + "shape": "S1m" } } }, @@ -1687,7 +1687,7 @@ "shape": "So" }, "PathOptions": { - "shape": "S12" + "shape": "S13" } } }, @@ -1715,7 +1715,7 @@ ], "members": { "Configuration": { - "shape": "S1w" + "shape": "S1x" }, "EncryptionKeyArn": {}, "EncryptionMode": {}, @@ -1734,14 +1734,14 @@ "shape": "Sp" }, "ValidationConfigurations": { - "shape": "S2f" + "shape": "S2g" }, "RoleArn": {}, "Timeout": { "type": "integer" }, "JobSample": { - "shape": "S2j" + "shape": "S2k" } } }, @@ -1768,7 +1768,7 @@ ], "members": { "Sample": { - "shape": "S2p" + "shape": "S2q" }, "RoleArn": {}, "Name": { @@ -1807,7 +1807,7 @@ "locationName": "name" }, "Steps": { - "shape": "S2v" + "shape": "S2w" } } }, @@ -1847,13 +1847,13 @@ "type": "integer" }, "Outputs": { - "shape": "S35" + "shape": "S36" }, "DataCatalogOutputs": { - "shape": "S3d" + "shape": "S3e" }, "DatabaseOutputs": { - "shape": "S3h" + "shape": "S3i" }, "RoleArn": {}, "Timeout": { @@ -1889,7 +1889,7 @@ }, "Description": {}, "Rules": { - "shape": "S3p" + "shape": "S3q" } } }, @@ -1916,7 +1916,7 @@ ], "members": { "JobNames": { - "shape": "S3z" + "shape": "S40" }, "CronExpression": {}, "Name": { @@ -2027,14 +2027,15 @@ ], "members": { "Bucket": {}, - "Key": {} + "Key": {}, + "BucketOwner": {} } }, - "S12": { + "S13": { "type": "structure", "members": { "LastModifiedDateCondition": { - "shape": "S13" + "shape": "S14" }, "FilesLimit": { "type": "structure", @@ -2076,14 +2077,14 @@ "type": "boolean" }, "Filter": { - "shape": "S13" + "shape": "S14" } } } } } }, - "S13": { + "S14": { "type": "structure", "required": [ "Expression", @@ -2092,28 +2093,28 @@ "members": { "Expression": {}, "ValuesMap": { - "shape": "S15" + "shape": "S16" } } }, - "S15": { + "S16": { "type": "map", "key": {}, "value": {} }, - "S1l": { + "S1m": { "type": "map", "key": {}, "value": {} }, - "S1w": { + "S1x": { "type": "structure", "members": { "DatasetStatisticsConfiguration": { - "shape": "S1x" + "shape": "S1y" }, "ProfileColumns": { - "shape": "S25" + "shape": "S26" }, "ColumnStatisticsConfigurations": { "type": "list", @@ -2124,10 +2125,10 @@ ], "members": { "Selectors": { - "shape": "S25" + "shape": "S26" }, "Statistics": { - "shape": "S1x" + "shape": "S1y" } } } @@ -2151,7 +2152,7 @@ ], "members": { "Statistics": { - "shape": "S1y" + "shape": "S1z" } } } @@ -2160,11 +2161,11 @@ } } }, - "S1x": { + "S1y": { "type": "structure", "members": { "IncludedStatistics": { - "shape": "S1y" + "shape": "S1z" }, "Overrides": { "type": "list", @@ -2177,23 +2178,23 @@ "members": { "Statistic": {}, "Parameters": { - "shape": "S22" + "shape": "S23" } } } } } }, - "S1y": { + "S1z": { "type": "list", "member": {} }, - "S22": { + "S23": { "type": "map", "key": {}, "value": {} }, - "S25": { + "S26": { "type": "list", "member": { "type": "structure", @@ -2203,7 +2204,7 @@ } } }, - "S2f": { + "S2g": { "type": "list", "member": { "type": "structure", @@ -2216,7 +2217,7 @@ } } }, - "S2j": { + "S2k": { "type": "structure", "members": { "Mode": {}, @@ -2225,7 +2226,7 @@ } } }, - "S2p": { + "S2q": { "type": "structure", "required": [ "Type" @@ -2237,13 +2238,13 @@ "Type": {} } }, - "S2v": { + "S2w": { "type": "list", "member": { - "shape": "S2w" + "shape": "S2x" } }, - "S2w": { + "S2x": { "type": "structure", "required": [ "Action" @@ -2257,7 +2258,7 @@ "members": { "Operation": {}, "Parameters": { - "shape": "S22" + "shape": "S23" } } }, @@ -2278,7 +2279,7 @@ } } }, - "S35": { + "S36": { "type": "list", "member": { "type": "structure", @@ -2312,7 +2313,7 @@ } } }, - "S3d": { + "S3e": { "type": "list", "member": { "type": "structure", @@ -2336,7 +2337,7 @@ } }, "DatabaseOptions": { - "shape": "S3g" + "shape": "S3h" }, "Overwrite": { "type": "boolean" @@ -2344,7 +2345,7 @@ } } }, - "S3g": { + "S3h": { "type": "structure", "required": [ "TableName" @@ -2356,7 +2357,7 @@ "TableName": {} } }, - "S3h": { + "S3i": { "type": "list", "member": { "type": "structure", @@ -2367,13 +2368,13 @@ "members": { "GlueConnectionName": {}, "DatabaseOptions": { - "shape": "S3g" + "shape": "S3h" }, "DatabaseOutputMode": {} } } }, - "S3k": { + "S3l": { "type": "structure", "required": [ "Name" @@ -2383,7 +2384,7 @@ "RecipeVersion": {} } }, - "S3p": { + "S3q": { "type": "list", "member": { "type": "structure", @@ -2398,7 +2399,7 @@ }, "CheckExpression": {}, "SubstitutionMap": { - "shape": "S15" + "shape": "S16" }, "Threshold": { "type": "structure", @@ -2414,16 +2415,16 @@ } }, "ColumnSelectors": { - "shape": "S25" + "shape": "S26" } } } }, - "S3z": { + "S40": { "type": "list", "member": {} }, - "S5t": { + "S5u": { "type": "list", "member": { "type": "structure", @@ -2448,16 +2449,16 @@ "Name": {}, "ResourceArn": {}, "Steps": { - "shape": "S2v" + "shape": "S2w" }, "Tags": { - "shape": "S1l" + "shape": "S1m" }, "RecipeVersion": {} } } }, - "S6d": { + "S6e": { "type": "string", "sensitive": true } diff --git a/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json b/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json index 9b87c3870..4a658968e 100644 --- a/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +++ b/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json @@ -1600,14 +1600,15 @@ "DryRun": { "type": "boolean" }, - "OutpostArn": {} + "OutpostArn": {}, + "PlacementGroupArn": {} } }, "output": { "type": "structure", "members": { "CapacityReservation": { - "shape": "S80", + "shape": "S81", "locationName": "capacityReservation" } } @@ -1699,7 +1700,7 @@ "locationName": "tenancy" }, "FleetCapacityReservations": { - "shape": "S8c", + "shape": "S8d", "locationName": "fleetCapacityReservationSet" }, "Tags": { @@ -1733,7 +1734,7 @@ "type": "structure", "members": { "CarrierGateway": { - "shape": "S8g", + "shape": "S8h", "locationName": "carrierGateway" } } @@ -1781,7 +1782,7 @@ } }, "ConnectionLogOptions": { - "shape": "S8q" + "shape": "S8r" }, "DnsServers": { "shape": "Se" @@ -1811,7 +1812,13 @@ "VpcId": {}, "SelfServicePortal": {}, "ClientConnectOptions": { - "shape": "S8t" + "shape": "S8u" + }, + "SessionTimeoutHours": { + "type": "integer" + }, + "ClientLoginBannerOptions": { + "shape": "S8v" } } }, @@ -1822,7 +1829,7 @@ "locationName": "clientVpnEndpointId" }, "Status": { - "shape": "S8v", + "shape": "S8x", "locationName": "status" }, "DnsName": { @@ -1856,7 +1863,7 @@ "type": "structure", "members": { "Status": { - "shape": "S8z", + "shape": "S91", "locationName": "status" } } @@ -1893,7 +1900,7 @@ "type": "structure", "members": { "CustomerGateway": { - "shape": "S94", + "shape": "S96", "locationName": "customerGateway" } } @@ -1919,7 +1926,7 @@ "type": "structure", "members": { "Subnet": { - "shape": "S97", + "shape": "S99", "locationName": "subnet" } } @@ -1938,7 +1945,7 @@ "type": "structure", "members": { "Vpc": { - "shape": "S9f", + "shape": "S9h", "locationName": "vpc" } } @@ -1982,7 +1989,7 @@ "type": "structure", "members": { "DhcpOptions": { - "shape": "S9o", + "shape": "S9q", "locationName": "dhcpOptions" } } @@ -2013,7 +2020,7 @@ "locationName": "clientToken" }, "EgressOnlyInternetGateway": { - "shape": "S9v", + "shape": "S9x", "locationName": "egressOnlyInternetGateway" } } @@ -2089,10 +2096,10 @@ }, "ExcessCapacityTerminationPolicy": {}, "LaunchTemplateConfigs": { - "shape": "Sab" + "shape": "Sad" }, "TargetCapacitySpecification": { - "shape": "Sba" + "shape": "Sbc" }, "TerminateInstancesWithExpiration": { "type": "boolean" @@ -2128,7 +2135,7 @@ "type": "structure", "members": { "LaunchTemplateAndOverrides": { - "shape": "Sbi", + "shape": "Sbk", "locationName": "launchTemplateAndOverrides" }, "Lifecycle": { @@ -2151,14 +2158,14 @@ "type": "structure", "members": { "LaunchTemplateAndOverrides": { - "shape": "Sbi", + "shape": "Sbk", "locationName": "launchTemplateAndOverrides" }, "Lifecycle": { "locationName": "lifecycle" }, "InstanceIds": { - "shape": "Sby", + "shape": "Sc0", "locationName": "instanceIds" }, "InstanceType": { @@ -2249,10 +2256,10 @@ "type": "boolean" }, "InputStorageLocation": { - "shape": "Sca" + "shape": "Scc" }, "LogsStorageLocation": { - "shape": "Sca" + "shape": "Scc" }, "Description": {}, "Name": {}, @@ -2284,7 +2291,7 @@ ], "members": { "BlockDeviceMappings": { - "shape": "Scd", + "shape": "Scf", "locationName": "blockDeviceMapping" }, "Description": { @@ -2328,7 +2335,7 @@ }, "Name": {}, "TimeRanges": { - "shape": "Sck", + "shape": "Scm", "locationName": "TimeRange" }, "CronExpression": {}, @@ -2394,7 +2401,7 @@ "type": "structure", "members": { "ExportTask": { - "shape": "Sct", + "shape": "Scv", "locationName": "exportTask" } } @@ -2418,7 +2425,7 @@ "type": "structure", "members": { "InternetGateway": { - "shape": "Scz", + "shape": "Sd1", "locationName": "internetGateway" } } @@ -2433,7 +2440,7 @@ }, "Description": {}, "OperatingRegions": { - "shape": "Sd1", + "shape": "Sd3", "locationName": "OperatingRegion" }, "TagSpecifications": { @@ -2449,7 +2456,7 @@ "type": "structure", "members": { "Ipam": { - "shape": "Sd4", + "shape": "Sd6", "locationName": "ipam" } } @@ -2486,7 +2493,7 @@ "type": "integer" }, "AllocationResourceTags": { - "shape": "Sdd", + "shape": "Sdf", "locationName": "AllocationResourceTag" }, "TagSpecifications": { @@ -2503,7 +2510,7 @@ "type": "structure", "members": { "IpamPool": { - "shape": "Sdh", + "shape": "Sdj", "locationName": "ipamPool" } } @@ -2534,7 +2541,7 @@ "type": "structure", "members": { "IpamScope": { - "shape": "Sdo", + "shape": "Sdq", "locationName": "ipamScope" } } @@ -2598,7 +2605,7 @@ "LaunchTemplateName": {}, "VersionDescription": {}, "LaunchTemplateData": { - "shape": "Sdw" + "shape": "Sdy" }, "TagSpecifications": { "shape": "S1t", @@ -2610,11 +2617,11 @@ "type": "structure", "members": { "LaunchTemplate": { - "shape": "Sfb", + "shape": "Sfe", "locationName": "launchTemplate" }, "Warning": { - "shape": "Sfc", + "shape": "Sff", "locationName": "warning" } } @@ -2636,7 +2643,7 @@ "SourceVersion": {}, "VersionDescription": {}, "LaunchTemplateData": { - "shape": "Sdw" + "shape": "Sdy" } } }, @@ -2644,11 +2651,11 @@ "type": "structure", "members": { "LaunchTemplateVersion": { - "shape": "Sfh", + "shape": "Sfk", "locationName": "launchTemplateVersion" }, "Warning": { - "shape": "Sfc", + "shape": "Sff", "locationName": "warning" } } @@ -2675,7 +2682,7 @@ "type": "structure", "members": { "Route": { - "shape": "Sgk", + "shape": "Sgn", "locationName": "route" } } @@ -2704,7 +2711,7 @@ "type": "structure", "members": { "LocalGatewayRouteTableVpcAssociation": { - "shape": "Sgp", + "shape": "Sgs", "locationName": "localGatewayRouteTableVpcAssociation" } } @@ -2724,7 +2731,7 @@ }, "PrefixListName": {}, "Entries": { - "shape": "Sgs", + "shape": "Sgv", "locationName": "Entry" }, "MaxEntries": { @@ -2744,7 +2751,7 @@ "type": "structure", "members": { "PrefixList": { - "shape": "Sgv", + "shape": "Sgy", "locationName": "prefixList" } } @@ -2779,7 +2786,7 @@ "locationName": "clientToken" }, "NatGateway": { - "shape": "Sh0", + "shape": "Sh3", "locationName": "natGateway" } } @@ -2809,7 +2816,7 @@ "type": "structure", "members": { "NetworkAcl": { - "shape": "Sh7", + "shape": "Sha", "locationName": "networkAcl" } } @@ -2838,7 +2845,7 @@ "type": "boolean" }, "IcmpTypeCode": { - "shape": "Shc", + "shape": "Shf", "locationName": "Icmp" }, "Ipv6CidrBlock": { @@ -2848,7 +2855,7 @@ "locationName": "networkAclId" }, "PortRange": { - "shape": "Shd", + "shape": "Shg", "locationName": "portRange" }, "Protocol": { @@ -2872,11 +2879,11 @@ ], "members": { "MatchPaths": { - "shape": "Shi", + "shape": "Shl", "locationName": "MatchPath" }, "ExcludePaths": { - "shape": "Shi", + "shape": "Shl", "locationName": "ExcludePath" }, "ClientToken": { @@ -2895,11 +2902,11 @@ "type": "structure", "members": { "NetworkInsightsAccessScope": { - "shape": "Shs", + "shape": "Shv", "locationName": "networkInsightsAccessScope" }, "NetworkInsightsAccessScopeContent": { - "shape": "Shu", + "shape": "Shx", "locationName": "networkInsightsAccessScopeContent" } } @@ -2939,7 +2946,7 @@ "type": "structure", "members": { "NetworkInsightsPath": { - "shape": "Si6", + "shape": "Sia", "locationName": "networkInsightsPath" } } @@ -2960,7 +2967,7 @@ "type": "boolean" }, "Groups": { - "shape": "Se4", + "shape": "Se6", "locationName": "SecurityGroupId" }, "Ipv6AddressCount": { @@ -2968,14 +2975,14 @@ "type": "integer" }, "Ipv6Addresses": { - "shape": "Sfp", + "shape": "Sfs", "locationName": "ipv6Addresses" }, "PrivateIpAddress": { "locationName": "privateIpAddress" }, "PrivateIpAddresses": { - "shape": "Se7", + "shape": "Se9", "locationName": "privateIpAddresses" }, "SecondaryPrivateIpAddressCount": { @@ -2983,14 +2990,14 @@ "type": "integer" }, "Ipv4Prefixes": { - "shape": "Se9", + "shape": "Seb", "locationName": "Ipv4Prefix" }, "Ipv4PrefixCount": { "type": "integer" }, "Ipv6Prefixes": { - "shape": "Seb", + "shape": "Sed", "locationName": "Ipv6Prefix" }, "Ipv6PrefixCount": { @@ -3013,7 +3020,7 @@ "type": "structure", "members": { "NetworkInterface": { - "shape": "Sib", + "shape": "Sif", "locationName": "networkInterface" }, "ClientToken": { @@ -3043,7 +3050,7 @@ "type": "structure", "members": { "InterfacePermission": { - "shape": "Sir", + "shape": "Siv", "locationName": "interfacePermission" } } @@ -3076,7 +3083,7 @@ "type": "structure", "members": { "PlacementGroup": { - "shape": "Six", + "shape": "Sj1", "locationName": "placementGroup" } } @@ -3129,7 +3136,7 @@ "type": "structure", "members": { "ReplaceRootVolumeTask": { - "shape": "Sj3", + "shape": "Sj7", "locationName": "replaceRootVolumeTask" } } @@ -3297,7 +3304,7 @@ "type": "structure", "members": { "RouteTable": { - "shape": "Sjk", + "shape": "Sjo", "locationName": "routeTable" } } @@ -3360,7 +3367,7 @@ } }, "output": { - "shape": "Sjw" + "shape": "Sk0" } }, "CreateSnapshots": { @@ -3467,7 +3474,7 @@ "type": "structure", "members": { "SpotDatafeedSubscription": { - "shape": "Sk7", + "shape": "Skb", "locationName": "spotDatafeedSubscription" } } @@ -3539,7 +3546,7 @@ "type": "structure", "members": { "Subnet": { - "shape": "S97", + "shape": "S99", "locationName": "subnet" } } @@ -3571,7 +3578,7 @@ "type": "structure", "members": { "SubnetCidrReservation": { - "shape": "Skj", + "shape": "Skn", "locationName": "subnetCidrReservation" } } @@ -3590,7 +3597,7 @@ "type": "boolean" }, "Resources": { - "shape": "Skm", + "shape": "Skq", "locationName": "ResourceId" }, "Tags": { @@ -3621,7 +3628,7 @@ "type": "structure", "members": { "TrafficMirrorFilter": { - "shape": "Skq", + "shape": "Sku", "locationName": "trafficMirrorFilter" }, "ClientToken": { @@ -3649,10 +3656,10 @@ }, "RuleAction": {}, "DestinationPortRange": { - "shape": "Sl0" + "shape": "Sl4" }, "SourcePortRange": { - "shape": "Sl0" + "shape": "Sl4" }, "Protocol": { "type": "integer" @@ -3672,7 +3679,7 @@ "type": "structure", "members": { "TrafficMirrorFilterRule": { - "shape": "Sks", + "shape": "Skw", "locationName": "trafficMirrorFilterRule" }, "ClientToken": { @@ -3720,7 +3727,7 @@ "type": "structure", "members": { "TrafficMirrorSession": { - "shape": "Sl5", + "shape": "Sl9", "locationName": "trafficMirrorSession" }, "ClientToken": { @@ -3752,7 +3759,7 @@ "type": "structure", "members": { "TrafficMirrorTarget": { - "shape": "Sl8", + "shape": "Slc", "locationName": "trafficMirrorTarget" }, "ClientToken": { @@ -3779,7 +3786,7 @@ "DnsSupport": {}, "MulticastSupport": {}, "TransitGatewayCidrBlocks": { - "shape": "Slh" + "shape": "Sll" } } }, @@ -3796,7 +3803,7 @@ "type": "structure", "members": { "TransitGateway": { - "shape": "Slj", + "shape": "Sln", "locationName": "transitGateway" } } @@ -3833,7 +3840,7 @@ "type": "structure", "members": { "TransitGatewayConnect": { - "shape": "Slq", + "shape": "Slu", "locationName": "transitGatewayConnect" } } @@ -3860,7 +3867,7 @@ } }, "InsideCidrBlocks": { - "shape": "Slu" + "shape": "Sly" }, "TagSpecifications": { "shape": "S1t", @@ -3875,7 +3882,7 @@ "type": "structure", "members": { "TransitGatewayConnectPeer": { - "shape": "Slw", + "shape": "Sm0", "locationName": "transitGatewayConnectPeer" } } @@ -3910,7 +3917,7 @@ "type": "structure", "members": { "TransitGatewayMulticastDomain": { - "shape": "Sm9", + "shape": "Smd", "locationName": "transitGatewayMulticastDomain" } } @@ -3972,7 +3979,7 @@ "type": "structure", "members": { "TransitGatewayPrefixListReference": { - "shape": "Smh", + "shape": "Sml", "locationName": "transitGatewayPrefixListReference" } } @@ -4001,7 +4008,7 @@ "type": "structure", "members": { "Route": { - "shape": "Smm", + "shape": "Smq", "locationName": "route" } } @@ -4027,7 +4034,7 @@ "type": "structure", "members": { "TransitGatewayRouteTable": { - "shape": "Smt", + "shape": "Smx", "locationName": "transitGatewayRouteTable" } } @@ -4115,7 +4122,7 @@ } }, "output": { - "shape": "Smz" + "shape": "Sn3" } }, "CreateVpc": { @@ -4155,7 +4162,7 @@ "type": "structure", "members": { "Vpc": { - "shape": "S9f", + "shape": "S9h", "locationName": "vpc" } } @@ -4177,15 +4184,15 @@ "ServiceName": {}, "PolicyDocument": {}, "RouteTableIds": { - "shape": "Sn6", + "shape": "Sna", "locationName": "RouteTableId" }, "SubnetIds": { - "shape": "Sn7", + "shape": "Snb", "locationName": "SubnetId" }, "SecurityGroupIds": { - "shape": "Sn8", + "shape": "Snc", "locationName": "SecurityGroupId" }, "ClientToken": {}, @@ -4202,7 +4209,7 @@ "type": "structure", "members": { "VpcEndpoint": { - "shape": "Sna", + "shape": "Sne", "locationName": "vpcEndpoint" }, "ClientToken": { @@ -4235,7 +4242,7 @@ "type": "structure", "members": { "ConnectionNotification": { - "shape": "Snj", + "shape": "Snn", "locationName": "connectionNotification" }, "ClientToken": { @@ -4274,7 +4281,7 @@ "type": "structure", "members": { "ServiceConfiguration": { - "shape": "Sno", + "shape": "Sns", "locationName": "serviceConfiguration" }, "ClientToken": { @@ -4373,31 +4380,31 @@ }, "DPDTimeoutAction": {}, "Phase1EncryptionAlgorithms": { - "shape": "So4", + "shape": "So8", "locationName": "Phase1EncryptionAlgorithm" }, "Phase2EncryptionAlgorithms": { - "shape": "So6", + "shape": "Soa", "locationName": "Phase2EncryptionAlgorithm" }, "Phase1IntegrityAlgorithms": { - "shape": "So8", + "shape": "Soc", "locationName": "Phase1IntegrityAlgorithm" }, "Phase2IntegrityAlgorithms": { - "shape": "Soa", + "shape": "Soe", "locationName": "Phase2IntegrityAlgorithm" }, "Phase1DHGroupNumbers": { - "shape": "Soc", + "shape": "Sog", "locationName": "Phase1DHGroupNumber" }, "Phase2DHGroupNumbers": { - "shape": "Soe", + "shape": "Soi", "locationName": "Phase2DHGroupNumber" }, "IKEVersions": { - "shape": "Sog", + "shape": "Sok", "locationName": "IKEVersion" }, "StartupAction": {} @@ -4420,7 +4427,7 @@ "type": "structure", "members": { "VpnConnection": { - "shape": "Soj", + "shape": "Son", "locationName": "vpnConnection" } } @@ -4465,7 +4472,7 @@ "type": "structure", "members": { "VpnGateway": { - "shape": "Spd", + "shape": "Sph", "locationName": "vpnGateway" } } @@ -4488,7 +4495,7 @@ "type": "structure", "members": { "CarrierGateway": { - "shape": "S8g", + "shape": "S8h", "locationName": "carrierGateway" } } @@ -4511,7 +4518,7 @@ "type": "structure", "members": { "Status": { - "shape": "S8v", + "shape": "S8x", "locationName": "status" } } @@ -4537,7 +4544,7 @@ "type": "structure", "members": { "Status": { - "shape": "S8z", + "shape": "S91", "locationName": "status" } } @@ -4608,7 +4615,7 @@ "type": "boolean" }, "FleetIds": { - "shape": "Spr", + "shape": "Spv", "locationName": "FleetId" }, "TerminateInstances": { @@ -4677,7 +4684,7 @@ "type": "boolean" }, "FlowLogIds": { - "shape": "Sq1", + "shape": "Sq5", "locationName": "FlowLogId" } } @@ -4783,7 +4790,7 @@ "type": "structure", "members": { "Ipam": { - "shape": "Sd4", + "shape": "Sd6", "locationName": "ipam" } } @@ -4806,7 +4813,7 @@ "type": "structure", "members": { "IpamPool": { - "shape": "Sdh", + "shape": "Sdj", "locationName": "ipamPool" } } @@ -4829,7 +4836,7 @@ "type": "structure", "members": { "IpamScope": { - "shape": "Sdo", + "shape": "Sdq", "locationName": "ipamScope" } } @@ -4863,7 +4870,7 @@ "type": "structure", "members": { "LaunchTemplate": { - "shape": "Sfb", + "shape": "Sfe", "locationName": "launchTemplate" } } @@ -4882,7 +4889,7 @@ "LaunchTemplateId": {}, "LaunchTemplateName": {}, "Versions": { - "shape": "Sqm", + "shape": "Sqq", "locationName": "LaunchTemplateVersion" } } @@ -4964,7 +4971,7 @@ "type": "structure", "members": { "Route": { - "shape": "Sgk", + "shape": "Sgn", "locationName": "route" } } @@ -4987,7 +4994,7 @@ "type": "structure", "members": { "LocalGatewayRouteTableVpcAssociation": { - "shape": "Sgp", + "shape": "Sgs", "locationName": "localGatewayRouteTableVpcAssociation" } } @@ -5010,7 +5017,7 @@ "type": "structure", "members": { "PrefixList": { - "shape": "Sgv", + "shape": "Sgy", "locationName": "prefixList" } } @@ -5428,7 +5435,7 @@ "type": "structure", "members": { "DeletedSubnetCidrReservation": { - "shape": "Skj", + "shape": "Skn", "locationName": "deletedSubnetCidrReservation" } } @@ -5446,7 +5453,7 @@ "type": "boolean" }, "Resources": { - "shape": "Skm", + "shape": "Skq", "locationName": "resourceId" }, "Tags": { @@ -5561,7 +5568,7 @@ "type": "structure", "members": { "TransitGateway": { - "shape": "Slj", + "shape": "Sln", "locationName": "transitGateway" } } @@ -5584,7 +5591,7 @@ "type": "structure", "members": { "TransitGatewayConnect": { - "shape": "Slq", + "shape": "Slu", "locationName": "transitGatewayConnect" } } @@ -5607,7 +5614,7 @@ "type": "structure", "members": { "TransitGatewayConnectPeer": { - "shape": "Slw", + "shape": "Sm0", "locationName": "transitGatewayConnectPeer" } } @@ -5630,7 +5637,7 @@ "type": "structure", "members": { "TransitGatewayMulticastDomain": { - "shape": "Sm9", + "shape": "Smd", "locationName": "transitGatewayMulticastDomain" } } @@ -5678,7 +5685,7 @@ "type": "structure", "members": { "TransitGatewayPrefixListReference": { - "shape": "Smh", + "shape": "Sml", "locationName": "transitGatewayPrefixListReference" } } @@ -5703,7 +5710,7 @@ "type": "structure", "members": { "Route": { - "shape": "Smm", + "shape": "Smq", "locationName": "route" } } @@ -5726,7 +5733,7 @@ "type": "structure", "members": { "TransitGatewayRouteTable": { - "shape": "Smt", + "shape": "Smx", "locationName": "transitGatewayRouteTable" } } @@ -5825,7 +5832,7 @@ "type": "boolean" }, "ServiceIds": { - "shape": "St2", + "shape": "St6", "locationName": "ServiceId" } } @@ -5976,7 +5983,7 @@ "type": "structure", "members": { "IpamPoolCidr": { - "shape": "Stf", + "shape": "Stj", "locationName": "ipamPoolCidr" } } @@ -6042,7 +6049,7 @@ "type": "boolean" }, "InstanceTagKeys": { - "shape": "Stp", + "shape": "Stt", "locationName": "InstanceTagKey" } } @@ -6053,7 +6060,7 @@ "type": "structure", "members": { "InstanceTagAttribute": { - "shape": "Str", + "shape": "Stv", "locationName": "instanceTagAttribute" } } @@ -6066,7 +6073,7 @@ "TransitGatewayMulticastDomainId": {}, "GroupIpAddress": {}, "NetworkInterfaceIds": { - "shape": "Stt" + "shape": "Stx" }, "DryRun": { "type": "boolean" @@ -6102,7 +6109,7 @@ "TransitGatewayMulticastDomainId": {}, "GroupIpAddress": {}, "NetworkInterfaceIds": { - "shape": "Stt" + "shape": "Stx" }, "DryRun": { "type": "boolean" @@ -6185,7 +6192,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "PublicIps": { @@ -6295,7 +6302,7 @@ "locationName": "addressSet", "type": "list", "member": { - "shape": "Sum", + "shape": "Suq", "locationName": "item" } }, @@ -6322,7 +6329,7 @@ "type": "boolean" }, "Statuses": { - "shape": "Suq", + "shape": "Suu", "locationName": "statusSet" } } @@ -6333,7 +6340,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "ZoneNames": { @@ -6430,7 +6437,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -6499,7 +6506,7 @@ "type": "integer" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -6552,7 +6559,7 @@ "locationName": "allocationStrategy" }, "InstanceTypeSpecifications": { - "shape": "S8c", + "shape": "S8d", "locationName": "instanceTypeSpecificationSet" }, "Tags": { @@ -6584,7 +6591,7 @@ "type": "integer" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -6602,7 +6609,7 @@ "locationName": "capacityReservationSet", "type": "list", "member": { - "shape": "S80", + "shape": "S81", "locationName": "item" } } @@ -6619,7 +6626,7 @@ "member": {} }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -6638,7 +6645,7 @@ "locationName": "carrierGatewaySet", "type": "list", "member": { - "shape": "S8g", + "shape": "S8h", "locationName": "item" } }, @@ -6653,7 +6660,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -6661,7 +6668,7 @@ "type": "boolean" }, "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "MaxResults": { @@ -6684,7 +6691,7 @@ "type": "structure", "members": { "Groups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "InstanceId": { @@ -6719,7 +6726,7 @@ }, "NextToken": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -6775,7 +6782,7 @@ "members": { "ClientVpnEndpointId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "NextToken": {}, @@ -6831,7 +6838,7 @@ "locationName": "commonName" }, "Status": { - "shape": "Sw5", + "shape": "Sw9", "locationName": "status" }, "ConnectionEndTime": { @@ -6866,7 +6873,7 @@ }, "NextToken": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -6891,7 +6898,7 @@ "locationName": "description" }, "Status": { - "shape": "S8v", + "shape": "S8x", "locationName": "status" }, "CreationTime": { @@ -7037,6 +7044,23 @@ } } } + }, + "SessionTimeoutHours": { + "locationName": "sessionTimeoutHours", + "type": "integer" + }, + "ClientLoginBannerOptions": { + "locationName": "clientLoginBannerOptions", + "type": "structure", + "members": { + "Enabled": { + "locationName": "enabled", + "type": "boolean" + }, + "BannerText": { + "locationName": "bannerText" + } + } } } } @@ -7056,7 +7080,7 @@ "members": { "ClientVpnEndpointId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -7094,7 +7118,7 @@ "locationName": "origin" }, "Status": { - "shape": "S8z", + "shape": "S91", "locationName": "status" }, "Description": { @@ -7125,7 +7149,7 @@ }, "NextToken": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -7184,7 +7208,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -7256,7 +7280,7 @@ "locationName": "conversionTasks", "type": "list", "member": { - "shape": "Sxa", + "shape": "Sxf", "locationName": "item" } } @@ -7275,7 +7299,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -7291,7 +7315,7 @@ "locationName": "customerGatewaySet", "type": "list", "member": { - "shape": "S94", + "shape": "S96", "locationName": "item" } } @@ -7310,7 +7334,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -7330,7 +7354,7 @@ "locationName": "dhcpOptionsSet", "type": "list", "member": { - "shape": "S9o", + "shape": "S9q", "locationName": "item" } }, @@ -7359,7 +7383,7 @@ }, "NextToken": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" } } @@ -7371,7 +7395,7 @@ "locationName": "egressOnlyInternetGatewaySet", "type": "list", "member": { - "shape": "S9v", + "shape": "S9x", "locationName": "item" } }, @@ -7396,7 +7420,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -7464,7 +7488,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "ExportImageTaskIds": { @@ -7503,7 +7527,7 @@ "locationName": "progress" }, "S3ExportLocation": { - "shape": "Syd", + "shape": "Syi", "locationName": "s3ExportLocation" }, "Status": { @@ -7537,7 +7561,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" } } @@ -7549,19 +7573,93 @@ "locationName": "exportTaskSet", "type": "list", "member": { - "shape": "Sct", + "shape": "Scv", "locationName": "item" } } } } }, + "DescribeFastLaunchImages": { + "input": { + "type": "structure", + "members": { + "ImageIds": { + "locationName": "ImageId", + "type": "list", + "member": { + "locationName": "ImageId" + } + }, + "Filters": { + "shape": "Suc", + "locationName": "Filter" + }, + "MaxResults": { + "type": "integer" + }, + "NextToken": {}, + "DryRun": { + "type": "boolean" + } + } + }, + "output": { + "type": "structure", + "members": { + "FastLaunchImages": { + "locationName": "fastLaunchImageSet", + "type": "list", + "member": { + "locationName": "item", + "type": "structure", + "members": { + "ImageId": { + "locationName": "imageId" + }, + "ResourceType": { + "locationName": "resourceType" + }, + "SnapshotConfiguration": { + "shape": "Syv", + "locationName": "snapshotConfiguration" + }, + "LaunchTemplate": { + "shape": "Syw", + "locationName": "launchTemplate" + }, + "MaxParallelLaunches": { + "locationName": "maxParallelLaunches", + "type": "integer" + }, + "OwnerId": { + "locationName": "ownerId" + }, + "State": { + "locationName": "state" + }, + "StateTransitionReason": { + "locationName": "stateTransitionReason" + }, + "StateTransitionTime": { + "locationName": "stateTransitionTime", + "type": "timestamp" + } + } + } + }, + "NextToken": { + "locationName": "nextToken" + } + } + } + }, "DescribeFastSnapshotRestores": { "input": { "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -7663,7 +7761,7 @@ "type": "structure", "members": { "EventInformation": { - "shape": "Syu", + "shape": "Sz9", "locationName": "eventInformation" }, "EventType": { @@ -7709,7 +7807,7 @@ "NextToken": {}, "FleetId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" } } @@ -7718,7 +7816,7 @@ "type": "structure", "members": { "ActiveInstances": { - "shape": "Syx", + "shape": "Szc", "locationName": "activeInstanceSet" }, "NextToken": { @@ -7742,11 +7840,11 @@ }, "NextToken": {}, "FleetIds": { - "shape": "Spr", + "shape": "Spv", "locationName": "FleetId" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" } } @@ -7799,14 +7897,14 @@ "type": "structure", "members": { "LaunchTemplateSpecification": { - "shape": "Sbj", + "shape": "Sbl", "locationName": "launchTemplateSpecification" }, "Overrides": { "locationName": "overrides", "type": "list", "member": { - "shape": "Sbk", + "shape": "Sbm", "locationName": "item" } } @@ -7951,7 +8049,7 @@ "type": "structure", "members": { "LaunchTemplateAndOverrides": { - "shape": "Sbi", + "shape": "Sbk", "locationName": "launchTemplateAndOverrides" }, "Lifecycle": { @@ -7974,14 +8072,14 @@ "type": "structure", "members": { "LaunchTemplateAndOverrides": { - "shape": "Sbi", + "shape": "Sbk", "locationName": "launchTemplateAndOverrides" }, "Lifecycle": { "locationName": "lifecycle" }, "InstanceIds": { - "shape": "Sby", + "shape": "Sc0", "locationName": "instanceIds" }, "InstanceType": { @@ -8010,10 +8108,10 @@ "type": "boolean" }, "Filter": { - "shape": "Su8" + "shape": "Suc" }, "FlowLogIds": { - "shape": "Sq1", + "shape": "Sq5", "locationName": "FlowLogId" }, "MaxResults": { @@ -8122,7 +8220,7 @@ "type": "structure", "members": { "FpgaImageAttribute": { - "shape": "Szq", + "shape": "S105", "locationName": "fpgaImageAttribute" } } @@ -8143,11 +8241,11 @@ } }, "Owners": { - "shape": "Szz", + "shape": "S10e", "locationName": "Owner" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "NextToken": {}, @@ -8218,7 +8316,7 @@ "locationName": "ownerAlias" }, "ProductCodes": { - "shape": "Szu", + "shape": "S109", "locationName": "productCodes" }, "Tags": { @@ -8247,7 +8345,7 @@ "type": "structure", "members": { "Filter": { - "shape": "Su8" + "shape": "Suc" }, "MaxDuration": { "type": "integer" @@ -8308,7 +8406,7 @@ "type": "structure", "members": { "Filter": { - "shape": "Su8" + "shape": "Suc" }, "HostReservationIdSet": { "type": "list", @@ -8348,7 +8446,7 @@ "type": "timestamp" }, "HostIdSet": { - "shape": "S10k", + "shape": "S10z", "locationName": "hostIdSet" }, "HostReservationId": { @@ -8394,11 +8492,11 @@ "type": "structure", "members": { "Filter": { - "shape": "Su8", + "shape": "Suc", "locationName": "filter" }, "HostIds": { - "shape": "S10n", + "shape": "S112", "locationName": "hostId" }, "MaxResults": { @@ -8561,7 +8659,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -8598,7 +8696,7 @@ "type": "structure", "members": { "Statuses": { - "shape": "Suq", + "shape": "Suu", "locationName": "statusSet" } } @@ -8623,7 +8721,7 @@ "type": "structure", "members": { "Statuses": { - "shape": "Suq", + "shape": "Suu", "locationName": "statusSet" } } @@ -8649,38 +8747,38 @@ "type": "structure", "members": { "BlockDeviceMappings": { - "shape": "S11c", + "shape": "S11r", "locationName": "blockDeviceMapping" }, "ImageId": { "locationName": "imageId" }, "LaunchPermissions": { - "shape": "S11d", + "shape": "S11s", "locationName": "launchPermission" }, "ProductCodes": { - "shape": "Szu", + "shape": "S109", "locationName": "productCodes" }, "Description": { - "shape": "S9s", + "shape": "S9u", "locationName": "description" }, "KernelId": { - "shape": "S9s", + "shape": "S9u", "locationName": "kernel" }, "RamdiskId": { - "shape": "S9s", + "shape": "S9u", "locationName": "ramdisk" }, "SriovNetSupport": { - "shape": "S9s", + "shape": "S9u", "locationName": "sriovNetSupport" }, "BootMode": { - "shape": "S9s", + "shape": "S9u", "locationName": "bootMode" } } @@ -8698,18 +8796,15 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "ImageIds": { - "locationName": "ImageId", - "type": "list", - "member": { - "locationName": "ImageId" - } + "shape": "S11w", + "locationName": "ImageId" }, "Owners": { - "shape": "Szz", + "shape": "S10e", "locationName": "Owner" }, "IncludeDeprecated": { @@ -8766,7 +8861,7 @@ "locationName": "usageOperation" }, "ProductCodes": { - "shape": "Szu", + "shape": "S109", "locationName": "productCodes" }, "RamdiskId": { @@ -8776,7 +8871,7 @@ "locationName": "imageState" }, "BlockDeviceMappings": { - "shape": "S11c", + "shape": "S11r", "locationName": "blockDeviceMapping" }, "Description": { @@ -8805,7 +8900,7 @@ "locationName": "sriovNetSupport" }, "StateReason": { - "shape": "S11q", + "shape": "S125", "locationName": "stateReason" }, "Tags": { @@ -8835,7 +8930,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8" + "shape": "Suc" }, "ImportTaskIds": { "locationName": "ImportTaskId", @@ -8892,7 +8987,7 @@ "locationName": "progress" }, "SnapshotDetails": { - "shape": "S11z", + "shape": "S12e", "locationName": "snapshotDetailSet" }, "Status": { @@ -8906,7 +9001,7 @@ "locationName": "tagSet" }, "LicenseSpecifications": { - "shape": "S122", + "shape": "S12h", "locationName": "licenseSpecifications" }, "UsageOperation": { @@ -8932,7 +9027,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8" + "shape": "Suc" }, "ImportTaskIds": { "locationName": "ImportTaskId", @@ -8964,7 +9059,7 @@ "locationName": "importTaskId" }, "SnapshotTaskDetail": { - "shape": "S12a", + "shape": "S12p", "locationName": "snapshotTaskDetail" }, "Tags": { @@ -9004,66 +9099,66 @@ "type": "structure", "members": { "Groups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "BlockDeviceMappings": { - "shape": "S12e", + "shape": "S12t", "locationName": "blockDeviceMapping" }, "DisableApiTermination": { - "shape": "S12h", + "shape": "S12w", "locationName": "disableApiTermination" }, "EnaSupport": { - "shape": "S12h", + "shape": "S12w", "locationName": "enaSupport" }, "EnclaveOptions": { - "shape": "S12i", + "shape": "S12x", "locationName": "enclaveOptions" }, "EbsOptimized": { - "shape": "S12h", + "shape": "S12w", "locationName": "ebsOptimized" }, "InstanceId": { "locationName": "instanceId" }, "InstanceInitiatedShutdownBehavior": { - "shape": "S9s", + "shape": "S9u", "locationName": "instanceInitiatedShutdownBehavior" }, "InstanceType": { - "shape": "S9s", + "shape": "S9u", "locationName": "instanceType" }, "KernelId": { - "shape": "S9s", + "shape": "S9u", "locationName": "kernel" }, "ProductCodes": { - "shape": "Szu", + "shape": "S109", "locationName": "productCodes" }, "RamdiskId": { - "shape": "S9s", + "shape": "S9u", "locationName": "ramdisk" }, "RootDeviceName": { - "shape": "S9s", + "shape": "S9u", "locationName": "rootDeviceName" }, "SourceDestCheck": { - "shape": "S12h", + "shape": "S12w", "locationName": "sourceDestCheck" }, "SriovNetSupport": { - "shape": "S9s", + "shape": "S9u", "locationName": "sriovNetSupport" }, "UserData": { - "shape": "S9s", + "shape": "S9u", "locationName": "userData" } } @@ -9077,11 +9172,11 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "MaxResults": { @@ -9128,7 +9223,7 @@ "type": "structure", "members": { "InstanceTagAttribute": { - "shape": "Str", + "shape": "Stv", "locationName": "instanceTagAttribute" } } @@ -9149,7 +9244,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -9180,11 +9275,11 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "MaxResults": { @@ -9221,7 +9316,7 @@ "locationName": "eventsSet", "type": "list", "member": { - "shape": "S130", + "shape": "S13f", "locationName": "item" } }, @@ -9229,15 +9324,15 @@ "locationName": "instanceId" }, "InstanceState": { - "shape": "S133", + "shape": "S13i", "locationName": "instanceState" }, "InstanceStatus": { - "shape": "S135", + "shape": "S13k", "locationName": "instanceStatus" }, "SystemStatus": { - "shape": "S135", + "shape": "S13k", "locationName": "systemStatus" } } @@ -9258,7 +9353,7 @@ }, "LocationType": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -9308,7 +9403,7 @@ "member": {} }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -9743,11 +9838,11 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "DryRun": { @@ -9770,7 +9865,7 @@ "locationName": "reservationSet", "type": "list", "member": { - "shape": "S169", + "shape": "S16o", "locationName": "item" } }, @@ -9785,7 +9880,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -9812,7 +9907,7 @@ "locationName": "internetGatewaySet", "type": "list", "member": { - "shape": "Scz", + "shape": "Sd1", "locationName": "item" } }, @@ -9830,7 +9925,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -9853,7 +9948,7 @@ "locationName": "ipamPoolSet", "type": "list", "member": { - "shape": "Sdh", + "shape": "Sdj", "locationName": "item" } } @@ -9868,7 +9963,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -9891,7 +9986,7 @@ "locationName": "ipamScopeSet", "type": "list", "member": { - "shape": "Sdo", + "shape": "Sdq", "locationName": "item" } } @@ -9906,7 +10001,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -9929,7 +10024,7 @@ "locationName": "ipamSet", "type": "list", "member": { - "shape": "Sd4", + "shape": "Sd6", "locationName": "item" } } @@ -9955,7 +10050,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" } } @@ -10007,7 +10102,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "KeyNames": { @@ -10072,7 +10167,7 @@ "LaunchTemplateId": {}, "LaunchTemplateName": {}, "Versions": { - "shape": "Sqm", + "shape": "Sqq", "locationName": "LaunchTemplateVersion" }, "MinVersion": {}, @@ -10082,7 +10177,7 @@ "type": "integer" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" } } @@ -10094,7 +10189,7 @@ "locationName": "launchTemplateVersionSet", "type": "list", "member": { - "shape": "Sfh", + "shape": "Sfk", "locationName": "item" } }, @@ -10126,7 +10221,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "NextToken": {}, @@ -10142,7 +10237,7 @@ "locationName": "launchTemplates", "type": "list", "member": { - "shape": "Sfb", + "shape": "Sfe", "locationName": "item" } }, @@ -10164,7 +10259,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10232,7 +10327,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10251,7 +10346,7 @@ "locationName": "localGatewayRouteTableVpcAssociationSet", "type": "list", "member": { - "shape": "Sgp", + "shape": "Sgs", "locationName": "item" } }, @@ -10273,7 +10368,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10338,7 +10433,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10364,7 +10459,7 @@ "locationName": "localGatewayVirtualInterfaceGroupId" }, "LocalGatewayVirtualInterfaceIds": { - "shape": "S18r", + "shape": "S197", "locationName": "localGatewayVirtualInterfaceIdSet" }, "LocalGatewayId": { @@ -10391,11 +10486,11 @@ "type": "structure", "members": { "LocalGatewayVirtualInterfaceIds": { - "shape": "S18r", + "shape": "S197", "locationName": "LocalGatewayVirtualInterfaceId" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10469,7 +10564,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10524,7 +10619,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10547,7 +10642,7 @@ "locationName": "prefixListSet", "type": "list", "member": { - "shape": "Sgv", + "shape": "Sgy", "locationName": "item" } } @@ -10559,7 +10654,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "filter" }, "DryRun": { @@ -10612,7 +10707,7 @@ "type": "boolean" }, "Filter": { - "shape": "Su8" + "shape": "Suc" }, "MaxResults": { "type": "integer" @@ -10634,7 +10729,7 @@ "locationName": "natGatewaySet", "type": "list", "member": { - "shape": "Sh0", + "shape": "Sh3", "locationName": "item" } }, @@ -10649,7 +10744,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -10676,7 +10771,7 @@ "locationName": "networkAclSet", "type": "list", "member": { - "shape": "Sh7", + "shape": "Sha", "locationName": "item" } }, @@ -10705,7 +10800,7 @@ "type": "timestamp" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10724,7 +10819,7 @@ "locationName": "networkInsightsAccessScopeAnalysisSet", "type": "list", "member": { - "shape": "S19r", + "shape": "S1a7", "locationName": "item" } }, @@ -10746,7 +10841,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10765,7 +10860,7 @@ "locationName": "networkInsightsAccessScopeSet", "type": "list", "member": { - "shape": "Shs", + "shape": "Shv", "locationName": "item" } }, @@ -10794,7 +10889,7 @@ "type": "timestamp" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10813,7 +10908,7 @@ "locationName": "networkInsightsAnalysisSet", "type": "list", "member": { - "shape": "S1a2", + "shape": "S1ai", "locationName": "item" } }, @@ -10835,7 +10930,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -10854,7 +10949,7 @@ "locationName": "networkInsightsPathSet", "type": "list", "member": { - "shape": "Si6", + "shape": "Sia", "locationName": "item" } }, @@ -10887,22 +10982,22 @@ "type": "structure", "members": { "Attachment": { - "shape": "Sid", + "shape": "Sih", "locationName": "attachment" }, "Description": { - "shape": "S9s", + "shape": "S9u", "locationName": "description" }, "Groups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "NetworkInterfaceId": { "locationName": "networkInterfaceId" }, "SourceDestCheck": { - "shape": "S12h", + "shape": "S12w", "locationName": "sourceDestCheck" } } @@ -10918,7 +11013,7 @@ "member": {} }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "NextToken": {}, @@ -10934,7 +11029,7 @@ "locationName": "networkInterfacePermissions", "type": "list", "member": { - "shape": "Sir", + "shape": "Siv", "locationName": "item" } }, @@ -10949,7 +11044,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "filter" }, "DryRun": { @@ -10976,7 +11071,7 @@ "locationName": "networkInterfaceSet", "type": "list", "member": { - "shape": "Sib", + "shape": "Sif", "locationName": "item" } }, @@ -10991,7 +11086,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -11019,7 +11114,7 @@ "locationName": "placementGroupSet", "type": "list", "member": { - "shape": "Six", + "shape": "Sj1", "locationName": "item" } } @@ -11034,7 +11129,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -11113,7 +11208,7 @@ "locationName": "arn" }, "Statuses": { - "shape": "Suq", + "shape": "Suu", "locationName": "statusSet" } } @@ -11141,7 +11236,7 @@ "type": "integer" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" } } @@ -11166,7 +11261,7 @@ "locationName": "poolAddressRangeSet", "type": "list", "member": { - "shape": "S1bq", + "shape": "S1c6", "locationName": "item" } }, @@ -11199,7 +11294,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "RegionNames": { @@ -11255,7 +11350,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -11274,7 +11369,7 @@ "locationName": "replaceRootVolumeTaskSet", "type": "list", "member": { - "shape": "Sj3", + "shape": "Sj7", "locationName": "item" } }, @@ -11289,12 +11384,12 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "OfferingClass": {}, "ReservedInstancesIds": { - "shape": "S1c3", + "shape": "S1cj", "locationName": "ReservedInstancesId" }, "DryRun": { @@ -11368,7 +11463,7 @@ "locationName": "offeringType" }, "RecurringCharges": { - "shape": "S1cb", + "shape": "S1cr", "locationName": "recurringCharges" }, "Scope": { @@ -11389,7 +11484,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "ReservedInstancesId": { @@ -11415,7 +11510,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "ReservedInstancesModificationIds": { @@ -11465,7 +11560,7 @@ "locationName": "reservedInstancesId" }, "TargetConfiguration": { - "shape": "S1cp", + "shape": "S1d5", "locationName": "targetConfiguration" } } @@ -11509,7 +11604,7 @@ "members": { "AvailabilityZone": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "IncludeMarketplace": { @@ -11620,7 +11715,7 @@ } }, "RecurringCharges": { - "shape": "S1cb", + "shape": "S1cr", "locationName": "recurringCharges" }, "Scope": { @@ -11640,7 +11735,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -11667,7 +11762,7 @@ "locationName": "routeTableSet", "type": "list", "member": { - "shape": "Sjk", + "shape": "Sjo", "locationName": "item" } }, @@ -11689,7 +11784,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "FirstSlotStartTimeRange": { @@ -11788,7 +11883,7 @@ "locationName": "purchaseToken" }, "Recurrence": { - "shape": "S1dc", + "shape": "S1ds", "locationName": "recurrence" }, "SlotDurationInHours": { @@ -11813,7 +11908,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -11850,7 +11945,7 @@ "locationName": "scheduledInstanceSet", "type": "list", "member": { - "shape": "S1dk", + "shape": "S1e0", "locationName": "item" } } @@ -11905,11 +12000,11 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "SecurityGroupRuleIds": { - "shape": "S1dr", + "shape": "S1e7", "locationName": "SecurityGroupRuleId" }, "DryRun": { @@ -11939,7 +12034,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "GroupIds": { @@ -11947,7 +12042,7 @@ "locationName": "GroupId" }, "GroupNames": { - "shape": "S1dv", + "shape": "S1eb", "locationName": "GroupName" }, "DryRun": { @@ -12026,11 +12121,11 @@ "type": "structure", "members": { "CreateVolumePermissions": { - "shape": "S1e3", + "shape": "S1ej", "locationName": "createVolumePermission" }, "ProductCodes": { - "shape": "Szu", + "shape": "S109", "locationName": "productCodes" }, "SnapshotId": { @@ -12044,7 +12139,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -12121,7 +12216,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12129,7 +12224,7 @@ }, "NextToken": {}, "OwnerIds": { - "shape": "Szz", + "shape": "S10e", "locationName": "Owner" }, "RestorableByUserIds": { @@ -12138,7 +12233,7 @@ "member": {} }, "SnapshotIds": { - "shape": "S1ed", + "shape": "S1et", "locationName": "SnapshotId" }, "DryRun": { @@ -12154,7 +12249,7 @@ "locationName": "snapshotSet", "type": "list", "member": { - "shape": "Sjw", + "shape": "Sk0", "locationName": "item" } }, @@ -12178,7 +12273,7 @@ "type": "structure", "members": { "SpotDatafeedSubscription": { - "shape": "Sk7", + "shape": "Skb", "locationName": "spotDatafeedSubscription" } } @@ -12211,7 +12306,7 @@ "type": "structure", "members": { "ActiveInstances": { - "shape": "Syx", + "shape": "Szc", "locationName": "activeInstanceSet" }, "NextToken": { @@ -12265,7 +12360,7 @@ "type": "structure", "members": { "EventInformation": { - "shape": "Syu", + "shape": "Sz9", "locationName": "eventInformation" }, "EventType": { @@ -12337,7 +12432,7 @@ "type": "timestamp" }, "SpotFleetRequestConfig": { - "shape": "S1ew", + "shape": "S1fc", "locationName": "spotFleetRequestConfig" }, "SpotFleetRequestId": { @@ -12361,7 +12456,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -12382,7 +12477,7 @@ "type": "structure", "members": { "SpotInstanceRequests": { - "shape": "S1fo", + "shape": "S1g4", "locationName": "spotInstanceRequestSet" }, "NextToken": { @@ -12396,7 +12491,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "AvailabilityZone": { @@ -12508,11 +12603,11 @@ "locationName": "groupName" }, "StaleIpPermissions": { - "shape": "S1g6", + "shape": "S1gm", "locationName": "staleIpPermissions" }, "StaleIpPermissionsEgress": { - "shape": "S1g6", + "shape": "S1gm", "locationName": "staleIpPermissionsEgress" }, "VpcId": { @@ -12539,7 +12634,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "NextToken": {}, @@ -12595,7 +12690,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "SubnetIds": { @@ -12622,7 +12717,7 @@ "locationName": "subnetSet", "type": "list", "member": { - "shape": "S97", + "shape": "S99", "locationName": "item" } }, @@ -12641,7 +12736,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12699,7 +12794,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12715,7 +12810,7 @@ "locationName": "trafficMirrorFilterSet", "type": "list", "member": { - "shape": "Skq", + "shape": "Sku", "locationName": "item" } }, @@ -12740,7 +12835,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12756,7 +12851,7 @@ "locationName": "trafficMirrorSessionSet", "type": "list", "member": { - "shape": "Sl5", + "shape": "Sl9", "locationName": "item" } }, @@ -12781,7 +12876,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12797,7 +12892,7 @@ "locationName": "trafficMirrorTargetSet", "type": "list", "member": { - "shape": "Sl8", + "shape": "Slc", "locationName": "item" } }, @@ -12812,10 +12907,10 @@ "type": "structure", "members": { "TransitGatewayAttachmentIds": { - "shape": "S1h4" + "shape": "S1hk" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12898,7 +12993,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12917,7 +13012,7 @@ "locationName": "transitGatewayConnectPeerSet", "type": "list", "member": { - "shape": "Slw", + "shape": "Sm0", "locationName": "item" } }, @@ -12932,10 +13027,10 @@ "type": "structure", "members": { "TransitGatewayAttachmentIds": { - "shape": "S1h4" + "shape": "S1hk" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12954,7 +13049,7 @@ "locationName": "transitGatewayConnectSet", "type": "list", "member": { - "shape": "Slq", + "shape": "Slu", "locationName": "item" } }, @@ -12975,7 +13070,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -12994,7 +13089,7 @@ "locationName": "transitGatewayMulticastDomains", "type": "list", "member": { - "shape": "Sm9", + "shape": "Smd", "locationName": "item" } }, @@ -13009,10 +13104,10 @@ "type": "structure", "members": { "TransitGatewayAttachmentIds": { - "shape": "S1h4" + "shape": "S1hk" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13052,7 +13147,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13071,7 +13166,7 @@ "locationName": "transitGatewayRouteTables", "type": "list", "member": { - "shape": "Smt", + "shape": "Smx", "locationName": "item" } }, @@ -13086,10 +13181,10 @@ "type": "structure", "members": { "TransitGatewayAttachmentIds": { - "shape": "S1h4" + "shape": "S1hk" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13129,7 +13224,7 @@ } }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13148,7 +13243,7 @@ "locationName": "transitGatewaySet", "type": "list", "member": { - "shape": "Slj", + "shape": "Sln", "locationName": "item" } }, @@ -13173,7 +13268,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "NextToken": {}, @@ -13219,11 +13314,11 @@ "type": "structure", "members": { "AutoEnableIO": { - "shape": "S12h", + "shape": "S12w", "locationName": "autoEnableIO" }, "ProductCodes": { - "shape": "Szu", + "shape": "S109", "locationName": "productCodes" }, "VolumeId": { @@ -13237,7 +13332,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13245,7 +13340,7 @@ }, "NextToken": {}, "VolumeIds": { - "shape": "S1i8", + "shape": "S1io", "locationName": "VolumeId" }, "DryRun": { @@ -13380,11 +13475,11 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "VolumeIds": { - "shape": "S1i8", + "shape": "S1io", "locationName": "VolumeId" }, "DryRun": { @@ -13407,7 +13502,7 @@ "locationName": "volumeSet", "type": "list", "member": { - "shape": "Smz", + "shape": "Sn3", "locationName": "item" } }, @@ -13425,11 +13520,11 @@ "type": "boolean" }, "VolumeIds": { - "shape": "S1i8", + "shape": "S1io", "locationName": "VolumeId" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "NextToken": {}, @@ -13445,7 +13540,7 @@ "locationName": "volumeModificationSet", "type": "list", "member": { - "shape": "S1it", + "shape": "S1j9", "locationName": "item" } }, @@ -13478,11 +13573,11 @@ "locationName": "vpcId" }, "EnableDnsHostnames": { - "shape": "S12h", + "shape": "S12w", "locationName": "enableDnsHostnames" }, "EnableDnsSupport": { - "shape": "S12h", + "shape": "S12w", "locationName": "enableDnsSupport" } } @@ -13493,7 +13588,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -13501,7 +13596,7 @@ "type": "boolean" }, "VpcIds": { - "shape": "S1iz", + "shape": "S1jf", "locationName": "VpcId" } } @@ -13545,7 +13640,7 @@ "locationName": "nextToken" }, "VpcIds": { - "shape": "S1iz" + "shape": "S1jf" } } }, @@ -13584,7 +13679,7 @@ }, "ConnectionNotificationId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13600,7 +13695,7 @@ "locationName": "connectionNotificationSet", "type": "list", "member": { - "shape": "Snj", + "shape": "Snn", "locationName": "item" } }, @@ -13618,7 +13713,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13654,7 +13749,7 @@ "type": "timestamp" }, "DnsEntries": { - "shape": "Sne", + "shape": "Sni", "locationName": "dnsEntrySet" }, "NetworkLoadBalancerArns": { @@ -13682,11 +13777,11 @@ "type": "boolean" }, "ServiceIds": { - "shape": "St2", + "shape": "St6", "locationName": "ServiceId" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13702,7 +13797,7 @@ "locationName": "serviceConfigurationSet", "type": "list", "member": { - "shape": "Sno", + "shape": "Sns", "locationName": "item" } }, @@ -13724,7 +13819,7 @@ }, "ServiceId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13770,7 +13865,7 @@ "locationName": "ServiceName" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13800,7 +13895,7 @@ "locationName": "serviceId" }, "ServiceType": { - "shape": "Snp", + "shape": "Snt", "locationName": "serviceType" }, "AvailabilityZones": { @@ -13873,7 +13968,7 @@ "locationName": "VpcEndpointId" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -13889,7 +13984,7 @@ "locationName": "vpcEndpointSet", "type": "list", "member": { - "shape": "Sna", + "shape": "Sne", "locationName": "item" } }, @@ -13904,7 +13999,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "DryRun": { @@ -13946,7 +14041,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "VpcIds": { @@ -13973,7 +14068,7 @@ "locationName": "vpcSet", "type": "list", "member": { - "shape": "S9f", + "shape": "S9h", "locationName": "item" } }, @@ -13988,7 +14083,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "VpnConnectionIds": { @@ -14011,7 +14106,7 @@ "locationName": "vpnConnectionSet", "type": "list", "member": { - "shape": "Soj", + "shape": "Son", "locationName": "item" } } @@ -14023,7 +14118,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "VpnGatewayIds": { @@ -14046,7 +14141,7 @@ "locationName": "vpnGatewaySet", "type": "list", "member": { - "shape": "Spd", + "shape": "Sph", "locationName": "item" } } @@ -14184,6 +14279,59 @@ } } }, + "DisableFastLaunch": { + "input": { + "type": "structure", + "required": [ + "ImageId" + ], + "members": { + "ImageId": {}, + "Force": { + "type": "boolean" + }, + "DryRun": { + "type": "boolean" + } + } + }, + "output": { + "type": "structure", + "members": { + "ImageId": { + "locationName": "imageId" + }, + "ResourceType": { + "locationName": "resourceType" + }, + "SnapshotConfiguration": { + "shape": "Syv", + "locationName": "snapshotConfiguration" + }, + "LaunchTemplate": { + "shape": "Syw", + "locationName": "launchTemplate" + }, + "MaxParallelLaunches": { + "locationName": "maxParallelLaunches", + "type": "integer" + }, + "OwnerId": { + "locationName": "ownerId" + }, + "State": { + "locationName": "state" + }, + "StateTransitionReason": { + "locationName": "stateTransitionReason" + }, + "StateTransitionTime": { + "locationName": "stateTransitionTime", + "type": "timestamp" + } + } + } + }, "DisableFastSnapshotRestores": { "input": { "type": "structure", @@ -14193,11 +14341,11 @@ ], "members": { "AvailabilityZones": { - "shape": "S1kp", + "shape": "S1l7", "locationName": "AvailabilityZone" }, "SourceSnapshotIds": { - "shape": "S1ed", + "shape": "S1et", "locationName": "SourceSnapshotId" }, "DryRun": { @@ -14381,7 +14529,7 @@ "type": "structure", "members": { "Propagation": { - "shape": "S1l6", + "shape": "S1lo", "locationName": "propagation" } } @@ -14737,6 +14885,79 @@ } } }, + "EnableFastLaunch": { + "input": { + "type": "structure", + "required": [ + "ImageId" + ], + "members": { + "ImageId": {}, + "ResourceType": {}, + "SnapshotConfiguration": { + "type": "structure", + "members": { + "TargetResourceCount": { + "type": "integer" + } + } + }, + "LaunchTemplate": { + "type": "structure", + "required": [ + "Version" + ], + "members": { + "LaunchTemplateId": {}, + "LaunchTemplateName": {}, + "Version": {} + } + }, + "MaxParallelLaunches": { + "type": "integer" + }, + "DryRun": { + "type": "boolean" + } + } + }, + "output": { + "type": "structure", + "members": { + "ImageId": { + "locationName": "imageId" + }, + "ResourceType": { + "locationName": "resourceType" + }, + "SnapshotConfiguration": { + "shape": "Syv", + "locationName": "snapshotConfiguration" + }, + "LaunchTemplate": { + "shape": "Syw", + "locationName": "launchTemplate" + }, + "MaxParallelLaunches": { + "locationName": "maxParallelLaunches", + "type": "integer" + }, + "OwnerId": { + "locationName": "ownerId" + }, + "State": { + "locationName": "state" + }, + "StateTransitionReason": { + "locationName": "stateTransitionReason" + }, + "StateTransitionTime": { + "locationName": "stateTransitionTime", + "type": "timestamp" + } + } + } + }, "EnableFastSnapshotRestores": { "input": { "type": "structure", @@ -14746,11 +14967,11 @@ ], "members": { "AvailabilityZones": { - "shape": "S1kp", + "shape": "S1l7", "locationName": "AvailabilityZone" }, "SourceSnapshotIds": { - "shape": "S1ed", + "shape": "S1et", "locationName": "SourceSnapshotId" }, "DryRun": { @@ -14938,7 +15159,7 @@ "type": "structure", "members": { "Propagation": { - "shape": "S1l6", + "shape": "S1lo", "locationName": "propagation" } } @@ -15133,7 +15354,7 @@ "locationName": "progress" }, "S3ExportLocation": { - "shape": "Syd", + "shape": "Syi", "locationName": "s3ExportLocation" }, "Status": { @@ -15159,7 +15380,7 @@ "members": { "TransitGatewayRouteTableId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "S3Bucket": {}, @@ -15326,7 +15547,7 @@ "members": { "PoolId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -15450,7 +15671,7 @@ "type": "structure", "members": { "InstanceFamilyCreditSpecification": { - "shape": "S1nq", + "shape": "S1oc", "locationName": "instanceFamilyCreditSpecification" } } @@ -15597,7 +15818,7 @@ ], "members": { "HostIdSet": { - "shape": "S1o7" + "shape": "S1ot" }, "OfferingId": {} } @@ -15609,7 +15830,7 @@ "locationName": "currencyCode" }, "Purchase": { - "shape": "S1o9", + "shape": "S1ov", "locationName": "purchase" }, "TotalHourlyPrice": { @@ -15634,15 +15855,15 @@ "type": "boolean" }, "ArchitectureTypes": { - "shape": "S1oc", + "shape": "S1oy", "locationName": "ArchitectureType" }, "VirtualizationTypes": { - "shape": "S1od", + "shape": "S1oz", "locationName": "VirtualizationType" }, "InstanceRequirements": { - "shape": "Sak" + "shape": "Sam" }, "MaxResults": { "type": "integer" @@ -15765,7 +15986,7 @@ "IpamPoolId": {}, "IpamPoolAllocationId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -15803,7 +16024,7 @@ }, "IpamPoolId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -15819,7 +16040,7 @@ "locationName": "ipamPoolCidrSet", "type": "list", "member": { - "shape": "Stf", + "shape": "Stj", "locationName": "item" } }, @@ -15840,7 +16061,7 @@ "type": "boolean" }, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -15852,7 +16073,7 @@ "ResourceId": {}, "ResourceType": {}, "ResourceTag": { - "shape": "Sde" + "shape": "Sdg" }, "ResourceOwner": {} } @@ -15867,7 +16088,7 @@ "locationName": "ipamResourceCidrSet", "type": "list", "member": { - "shape": "S1p0", + "shape": "S1pm", "locationName": "item" } } @@ -15891,7 +16112,7 @@ "type": "structure", "members": { "LaunchTemplateData": { - "shape": "Sfi", + "shape": "Sfl", "locationName": "launchTemplateData" } } @@ -16027,7 +16248,7 @@ "locationName": "findingId" }, "FindingComponents": { - "shape": "S1a4", + "shape": "S1ak", "locationName": "findingComponentSet" } } @@ -16056,7 +16277,7 @@ "type": "structure", "members": { "NetworkInsightsAccessScopeContent": { - "shape": "Shu", + "shape": "Shx", "locationName": "networkInsightsAccessScopeContent" } } @@ -16130,7 +16351,7 @@ "locationName": "paymentDue" }, "ReservedInstanceValueRollup": { - "shape": "S1po", + "shape": "S1qa", "locationName": "reservedInstanceValueRollup" }, "ReservedInstanceValueSet": { @@ -16141,7 +16362,7 @@ "type": "structure", "members": { "ReservationValue": { - "shape": "S1po", + "shape": "S1qa", "locationName": "reservationValue" }, "ReservedInstanceId": { @@ -16151,7 +16372,7 @@ } }, "TargetConfigurationValueRollup": { - "shape": "S1po", + "shape": "S1qa", "locationName": "targetConfigurationValueRollup" }, "TargetConfigurationValueSet": { @@ -16162,7 +16383,7 @@ "type": "structure", "members": { "ReservationValue": { - "shape": "S1po", + "shape": "S1qa", "locationName": "reservationValue" }, "TargetConfiguration": { @@ -16234,15 +16455,15 @@ "type": "structure", "members": { "ArchitectureTypes": { - "shape": "S1oc", + "shape": "S1oy", "locationName": "ArchitectureType" }, "VirtualizationTypes": { - "shape": "S1od", + "shape": "S1oz", "locationName": "VirtualizationType" }, "InstanceRequirements": { - "shape": "Sak" + "shape": "Sam" } } }, @@ -16292,7 +16513,7 @@ ], "members": { "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "SubnetId": {}, @@ -16309,11 +16530,11 @@ "type": "structure", "members": { "SubnetIpv4CidrReservations": { - "shape": "S1q8", + "shape": "S1qu", "locationName": "subnetIpv4CidrReservationSet" }, "SubnetIpv6CidrReservations": { - "shape": "S1q8", + "shape": "S1qu", "locationName": "subnetIpv6CidrReservationSet" }, "NextToken": { @@ -16331,7 +16552,7 @@ "members": { "TransitGatewayAttachmentId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -16374,7 +16595,7 @@ "members": { "TransitGatewayMulticastDomainId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -16430,7 +16651,7 @@ "members": { "TransitGatewayRouteTableId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -16449,7 +16670,7 @@ "locationName": "transitGatewayPrefixListReferenceSet", "type": "list", "member": { - "shape": "Smh", + "shape": "Sml", "locationName": "item" } }, @@ -16468,7 +16689,7 @@ "members": { "TransitGatewayRouteTableId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -16520,7 +16741,7 @@ "members": { "TransitGatewayRouteTableId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -16665,7 +16886,7 @@ "members": { "Architecture": {}, "ClientData": { - "shape": "S1r4" + "shape": "S1rq" }, "ClientToken": {}, "Description": {}, @@ -16682,7 +16903,7 @@ "SnapshotId": {}, "Url": {}, "UserBucket": { - "shape": "S1r7" + "shape": "S1rt" } } } @@ -16751,7 +16972,7 @@ "locationName": "progress" }, "SnapshotDetails": { - "shape": "S11z", + "shape": "S12e", "locationName": "snapshotDetailSet" }, "Status": { @@ -16761,7 +16982,7 @@ "locationName": "statusMessage" }, "LicenseSpecifications": { - "shape": "S122", + "shape": "S12h", "locationName": "licenseSpecifications" }, "Tags": { @@ -16792,10 +17013,10 @@ "members": { "Description": {}, "Image": { - "shape": "S1re" + "shape": "S1s0" }, "Volume": { - "shape": "S1rf" + "shape": "S1s1" } } } @@ -16815,11 +17036,11 @@ "locationName": "architecture" }, "GroupIds": { - "shape": "Se4", + "shape": "Se6", "locationName": "GroupId" }, "GroupNames": { - "shape": "Seq", + "shape": "Ses", "locationName": "GroupName" }, "InstanceInitiatedShutdownBehavior": { @@ -16833,7 +17054,7 @@ "type": "boolean" }, "Placement": { - "shape": "Sai", + "shape": "Sak", "locationName": "placement" }, "PrivateIpAddress": { @@ -16863,7 +17084,7 @@ "type": "structure", "members": { "ConversionTask": { - "shape": "Sxa", + "shape": "Sxf", "locationName": "conversionTask" } } @@ -16918,7 +17139,7 @@ "type": "structure", "members": { "ClientData": { - "shape": "S1r4" + "shape": "S1rq" }, "ClientToken": {}, "Description": {}, @@ -16929,7 +17150,7 @@ "Format": {}, "Url": {}, "UserBucket": { - "shape": "S1r7" + "shape": "S1rt" } } }, @@ -16957,7 +17178,7 @@ "locationName": "importTaskId" }, "SnapshotTaskDetail": { - "shape": "S12a", + "shape": "S12p", "locationName": "snapshotTaskDetail" }, "Tags": { @@ -16987,11 +17208,11 @@ "type": "boolean" }, "Image": { - "shape": "S1re", + "shape": "S1s0", "locationName": "image" }, "Volume": { - "shape": "S1rf", + "shape": "S1s1", "locationName": "volume" } } @@ -17000,12 +17221,65 @@ "type": "structure", "members": { "ConversionTask": { - "shape": "Sxa", + "shape": "Sxf", "locationName": "conversionTask" } } } }, + "ListImagesInRecycleBin": { + "input": { + "type": "structure", + "members": { + "ImageIds": { + "shape": "S11w", + "locationName": "ImageId" + }, + "NextToken": {}, + "MaxResults": { + "type": "integer" + }, + "DryRun": { + "type": "boolean" + } + } + }, + "output": { + "type": "structure", + "members": { + "Images": { + "locationName": "imageSet", + "type": "list", + "member": { + "locationName": "item", + "type": "structure", + "members": { + "ImageId": { + "locationName": "imageId" + }, + "Name": { + "locationName": "name" + }, + "Description": { + "locationName": "description" + }, + "RecycleBinEnterTime": { + "locationName": "recycleBinEnterTime", + "type": "timestamp" + }, + "RecycleBinExitTime": { + "locationName": "recycleBinExitTime", + "type": "timestamp" + } + } + } + }, + "NextToken": { + "locationName": "nextToken" + } + } + } + }, "ListSnapshotsInRecycleBin": { "input": { "type": "structure", @@ -17015,7 +17289,7 @@ }, "NextToken": {}, "SnapshotIds": { - "shape": "S1ed", + "shape": "S1et", "locationName": "SnapshotId" }, "DryRun": { @@ -17077,7 +17351,7 @@ "type": "structure", "members": { "Address": { - "shape": "Sum", + "shape": "Suq", "locationName": "address" } } @@ -17184,7 +17458,7 @@ "ClientVpnEndpointId": {}, "ServerCertificateArn": {}, "ConnectionLogOptions": { - "shape": "S8q" + "shape": "S8r" }, "DnsServers": { "type": "structure", @@ -17214,7 +17488,13 @@ "VpcId": {}, "SelfServicePortal": {}, "ClientConnectOptions": { - "shape": "S8t" + "shape": "S8u" + }, + "SessionTimeoutHours": { + "type": "integer" + }, + "ClientLoginBannerOptions": { + "shape": "S8v" } } }, @@ -17247,7 +17527,7 @@ "type": "structure", "members": { "InstanceFamilyCreditSpecification": { - "shape": "S1nq", + "shape": "S1oc", "locationName": "instanceFamilyCreditSpecification" } } @@ -17287,12 +17567,12 @@ }, "ExcessCapacityTerminationPolicy": {}, "LaunchTemplateConfigs": { - "shape": "Sab", + "shape": "Sad", "locationName": "LaunchTemplateConfig" }, "FleetId": {}, "TargetCapacitySpecification": { - "shape": "Sba" + "shape": "Sbc" }, "Context": {} } @@ -17321,25 +17601,25 @@ "Attribute": {}, "OperationType": {}, "UserIds": { - "shape": "S1sf", + "shape": "S1t6", "locationName": "UserId" }, "UserGroups": { - "shape": "S1sg", + "shape": "S1t7", "locationName": "UserGroup" }, "ProductCodes": { - "shape": "S1sh", + "shape": "S1t8", "locationName": "ProductCode" }, "LoadPermission": { "type": "structure", "members": { "Add": { - "shape": "S1sj" + "shape": "S1ta" }, "Remove": { - "shape": "S1sj" + "shape": "S1ta" } } }, @@ -17351,7 +17631,7 @@ "type": "structure", "members": { "FpgaImageAttribute": { - "shape": "Szq", + "shape": "S105", "locationName": "fpgaImageAttribute" } } @@ -17368,7 +17648,7 @@ "locationName": "autoPlacement" }, "HostIds": { - "shape": "S10n", + "shape": "S112", "locationName": "hostId" }, "HostRecovery": {}, @@ -17384,7 +17664,7 @@ "locationName": "successful" }, "Unsuccessful": { - "shape": "S1so", + "shape": "S1tf", "locationName": "unsuccessful" } } @@ -17436,31 +17716,31 @@ "members": { "Attribute": {}, "Description": { - "shape": "S9s" + "shape": "S9u" }, "ImageId": {}, "LaunchPermission": { "type": "structure", "members": { "Add": { - "shape": "S11d" + "shape": "S11s" }, "Remove": { - "shape": "S11d" + "shape": "S11s" } } }, "OperationType": {}, "ProductCodes": { - "shape": "S1sh", + "shape": "S1t8", "locationName": "ProductCode" }, "UserGroups": { - "shape": "S1sg", + "shape": "S1t7", "locationName": "UserGroup" }, "UserIds": { - "shape": "S1sf", + "shape": "S1t6", "locationName": "UserId" }, "Value": {}, @@ -17493,7 +17773,7 @@ ], "members": { "SourceDestCheck": { - "shape": "S12h" + "shape": "S12w" }, "Attribute": { "locationName": "attribute" @@ -17531,7 +17811,7 @@ } }, "DisableApiTermination": { - "shape": "S12h", + "shape": "S12w", "locationName": "disableApiTermination" }, "DryRun": { @@ -17539,11 +17819,11 @@ "type": "boolean" }, "EbsOptimized": { - "shape": "S12h", + "shape": "S12w", "locationName": "ebsOptimized" }, "EnaSupport": { - "shape": "S12h", + "shape": "S12w", "locationName": "enaSupport" }, "Groups": { @@ -17554,23 +17834,23 @@ "locationName": "instanceId" }, "InstanceInitiatedShutdownBehavior": { - "shape": "S9s", + "shape": "S9u", "locationName": "instanceInitiatedShutdownBehavior" }, "InstanceType": { - "shape": "S9s", + "shape": "S9u", "locationName": "instanceType" }, "Kernel": { - "shape": "S9s", + "shape": "S9u", "locationName": "kernel" }, "Ramdisk": { - "shape": "S9s", + "shape": "S9u", "locationName": "ramdisk" }, "SriovNetSupport": { - "shape": "S9s", + "shape": "S9u", "locationName": "sriovNetSupport" }, "UserData": { @@ -17599,7 +17879,7 @@ "members": { "InstanceId": {}, "CapacityReservationSpecification": { - "shape": "S1t1" + "shape": "S1ts" }, "DryRun": { "type": "boolean" @@ -17708,7 +17988,7 @@ "type": "structure", "members": { "Event": { - "shape": "S130", + "shape": "S13f", "locationName": "event" } } @@ -17727,7 +18007,7 @@ "Name": {}, "InstanceEventWindowId": {}, "TimeRanges": { - "shape": "Sck", + "shape": "Scm", "locationName": "TimeRange" }, "CronExpression": {} @@ -17759,7 +18039,8 @@ "DryRun": { "type": "boolean" }, - "HttpProtocolIpv6": {} + "HttpProtocolIpv6": {}, + "InstanceMetadataTags": {} } }, "output": { @@ -17769,7 +18050,7 @@ "locationName": "instanceId" }, "InstanceMetadataOptions": { - "shape": "S16y", + "shape": "S17d", "locationName": "instanceMetadataOptions" } } @@ -17824,7 +18105,7 @@ "IpamId": {}, "Description": {}, "AddOperatingRegions": { - "shape": "Sd1", + "shape": "Sd3", "locationName": "AddOperatingRegion" }, "RemoveOperatingRegions": { @@ -17843,7 +18124,7 @@ "type": "structure", "members": { "Ipam": { - "shape": "Sd4", + "shape": "Sd6", "locationName": "ipam" } } @@ -17877,11 +18158,11 @@ "type": "boolean" }, "AddAllocationResourceTags": { - "shape": "Sdd", + "shape": "Sdf", "locationName": "AddAllocationResourceTag" }, "RemoveAllocationResourceTags": { - "shape": "Sdd", + "shape": "Sdf", "locationName": "RemoveAllocationResourceTag" } } @@ -17890,7 +18171,7 @@ "type": "structure", "members": { "IpamPool": { - "shape": "Sdh", + "shape": "Sdj", "locationName": "ipamPool" } } @@ -17924,7 +18205,7 @@ "type": "structure", "members": { "IpamResourceCidr": { - "shape": "S1p0", + "shape": "S1pm", "locationName": "ipamResourceCidr" } } @@ -17948,7 +18229,7 @@ "type": "structure", "members": { "IpamScope": { - "shape": "Sdo", + "shape": "Sdq", "locationName": "ipamScope" } } @@ -17973,7 +18254,7 @@ "type": "structure", "members": { "LaunchTemplate": { - "shape": "Sfb", + "shape": "Sfe", "locationName": "launchTemplate" } } @@ -17995,7 +18276,7 @@ }, "PrefixListName": {}, "AddEntries": { - "shape": "Sgs", + "shape": "Sgv", "locationName": "AddEntry" }, "RemoveEntries": { @@ -18020,7 +18301,7 @@ "type": "structure", "members": { "PrefixList": { - "shape": "Sgv", + "shape": "Sgy", "locationName": "prefixList" } } @@ -18047,7 +18328,7 @@ } }, "Description": { - "shape": "S9s", + "shape": "S9u", "locationName": "description" }, "DryRun": { @@ -18055,14 +18336,14 @@ "type": "boolean" }, "Groups": { - "shape": "Se4", + "shape": "Se6", "locationName": "SecurityGroupId" }, "NetworkInterfaceId": { "locationName": "networkInterfaceId" }, "SourceDestCheck": { - "shape": "S12h", + "shape": "S12w", "locationName": "sourceDestCheck" } } @@ -18104,7 +18385,7 @@ ], "members": { "ReservedInstancesIds": { - "shape": "S1c3", + "shape": "S1cj", "locationName": "ReservedInstancesId" }, "ClientToken": { @@ -18114,7 +18395,7 @@ "locationName": "ReservedInstancesConfigurationSetItemType", "type": "list", "member": { - "shape": "S1cp", + "shape": "S1d5", "locationName": "item" } } @@ -18193,21 +18474,21 @@ "type": "structure", "members": { "Add": { - "shape": "S1e3" + "shape": "S1ej" }, "Remove": { - "shape": "S1e3" + "shape": "S1ej" } } }, "GroupNames": { - "shape": "S1dv", + "shape": "S1eb", "locationName": "UserGroup" }, "OperationType": {}, "SnapshotId": {}, "UserIds": { - "shape": "S1sf", + "shape": "S1t6", "locationName": "UserId" }, "DryRun": { @@ -18255,7 +18536,7 @@ "locationName": "excessCapacityTerminationPolicy" }, "LaunchTemplateConfigs": { - "shape": "S1fb", + "shape": "S1fr", "locationName": "LaunchTemplateConfig" }, "SpotFleetRequestId": { @@ -18289,33 +18570,33 @@ ], "members": { "AssignIpv6AddressOnCreation": { - "shape": "S12h" + "shape": "S12w" }, "MapPublicIpOnLaunch": { - "shape": "S12h" + "shape": "S12w" }, "SubnetId": { "locationName": "subnetId" }, "MapCustomerOwnedIpOnLaunch": { - "shape": "S12h" + "shape": "S12w" }, "CustomerOwnedIpv4Pool": {}, "EnableDns64": { - "shape": "S12h" + "shape": "S12w" }, "PrivateDnsHostnameTypeOnLaunch": {}, "EnableResourceNameDnsARecordOnLaunch": { - "shape": "S12h" + "shape": "S12w" }, "EnableResourceNameDnsAAAARecordOnLaunch": { - "shape": "S12h" + "shape": "S12w" }, "EnableLniAtDeviceIndex": { "type": "integer" }, "DisableLniAtDeviceIndex": { - "shape": "S12h" + "shape": "S12w" } } } @@ -18329,11 +18610,11 @@ "members": { "TrafficMirrorFilterId": {}, "AddNetworkServices": { - "shape": "Skw", + "shape": "Sl0", "locationName": "AddNetworkService" }, "RemoveNetworkServices": { - "shape": "Skw", + "shape": "Sl0", "locationName": "RemoveNetworkService" }, "DryRun": { @@ -18345,7 +18626,7 @@ "type": "structure", "members": { "TrafficMirrorFilter": { - "shape": "Skq", + "shape": "Sku", "locationName": "trafficMirrorFilter" } } @@ -18365,10 +18646,10 @@ }, "RuleAction": {}, "DestinationPortRange": { - "shape": "Sl0" + "shape": "Sl4" }, "SourcePortRange": { - "shape": "Sl0" + "shape": "Sl4" }, "Protocol": { "type": "integer" @@ -18390,7 +18671,7 @@ "type": "structure", "members": { "TrafficMirrorFilterRule": { - "shape": "Sks", + "shape": "Skw", "locationName": "trafficMirrorFilterRule" } } @@ -18430,7 +18711,7 @@ "type": "structure", "members": { "TrafficMirrorSession": { - "shape": "Sl5", + "shape": "Sl9", "locationName": "trafficMirrorSession" } } @@ -18449,10 +18730,10 @@ "type": "structure", "members": { "AddTransitGatewayCidrBlocks": { - "shape": "Slh" + "shape": "Sll" }, "RemoveTransitGatewayCidrBlocks": { - "shape": "Slh" + "shape": "Sll" }, "VpnEcmpSupport": {}, "DnsSupport": {}, @@ -18472,7 +18753,7 @@ "type": "structure", "members": { "TransitGateway": { - "shape": "Slj", + "shape": "Sln", "locationName": "transitGateway" } } @@ -18501,7 +18782,7 @@ "type": "structure", "members": { "TransitGatewayPrefixListReference": { - "shape": "Smh", + "shape": "Sml", "locationName": "transitGatewayPrefixListReference" } } @@ -18574,7 +18855,7 @@ "type": "structure", "members": { "VolumeModification": { - "shape": "S1it", + "shape": "S1j9", "locationName": "volumeModification" } } @@ -18588,7 +18869,7 @@ ], "members": { "AutoEnableIO": { - "shape": "S12h" + "shape": "S12w" }, "VolumeId": {}, "DryRun": { @@ -18606,10 +18887,10 @@ ], "members": { "EnableDnsHostnames": { - "shape": "S12h" + "shape": "S12w" }, "EnableDnsSupport": { - "shape": "S12h" + "shape": "S12w" }, "VpcId": { "locationName": "vpcId" @@ -18633,27 +18914,27 @@ }, "PolicyDocument": {}, "AddRouteTableIds": { - "shape": "Sn6", + "shape": "Sna", "locationName": "AddRouteTableId" }, "RemoveRouteTableIds": { - "shape": "Sn6", + "shape": "Sna", "locationName": "RemoveRouteTableId" }, "AddSubnetIds": { - "shape": "Sn7", + "shape": "Snb", "locationName": "AddSubnetId" }, "RemoveSubnetIds": { - "shape": "Sn7", + "shape": "Snb", "locationName": "RemoveSubnetId" }, "AddSecurityGroupIds": { - "shape": "Sn8", + "shape": "Snc", "locationName": "AddSecurityGroupId" }, "RemoveSecurityGroupIds": { - "shape": "Sn8", + "shape": "Snc", "locationName": "RemoveSecurityGroupId" }, "PrivateDnsEnabled": { @@ -18806,13 +19087,13 @@ ], "members": { "AccepterPeeringConnectionOptions": { - "shape": "S1vk" + "shape": "S1wb" }, "DryRun": { "type": "boolean" }, "RequesterPeeringConnectionOptions": { - "shape": "S1vk" + "shape": "S1wb" }, "VpcPeeringConnectionId": {} } @@ -18821,11 +19102,11 @@ "type": "structure", "members": { "AccepterPeeringConnectionOptions": { - "shape": "S1vm", + "shape": "S1wd", "locationName": "accepterPeeringConnectionOptions" }, "RequesterPeeringConnectionOptions": { - "shape": "S1vm", + "shape": "S1wd", "locationName": "requesterPeeringConnectionOptions" } } @@ -18876,7 +19157,7 @@ "type": "structure", "members": { "VpnConnection": { - "shape": "Soj", + "shape": "Son", "locationName": "vpnConnection" } } @@ -18903,7 +19184,7 @@ "type": "structure", "members": { "VpnConnection": { - "shape": "Soj", + "shape": "Son", "locationName": "vpnConnection" } } @@ -18928,7 +19209,7 @@ "type": "structure", "members": { "VpnConnection": { - "shape": "Soj", + "shape": "Son", "locationName": "vpnConnection" } } @@ -18971,31 +19252,31 @@ }, "DPDTimeoutAction": {}, "Phase1EncryptionAlgorithms": { - "shape": "So4", + "shape": "So8", "locationName": "Phase1EncryptionAlgorithm" }, "Phase2EncryptionAlgorithms": { - "shape": "So6", + "shape": "Soa", "locationName": "Phase2EncryptionAlgorithm" }, "Phase1IntegrityAlgorithms": { - "shape": "So8", + "shape": "Soc", "locationName": "Phase1IntegrityAlgorithm" }, "Phase2IntegrityAlgorithms": { - "shape": "Soa", + "shape": "Soe", "locationName": "Phase2IntegrityAlgorithm" }, "Phase1DHGroupNumbers": { - "shape": "Soc", + "shape": "Sog", "locationName": "Phase1DHGroupNumber" }, "Phase2DHGroupNumbers": { - "shape": "Soe", + "shape": "Soi", "locationName": "Phase2DHGroupNumber" }, "IKEVersions": { - "shape": "Sog", + "shape": "Sok", "locationName": "IKEVersion" }, "StartupAction": {} @@ -19010,7 +19291,7 @@ "type": "structure", "members": { "VpnConnection": { - "shape": "Soj", + "shape": "Son", "locationName": "vpnConnection" } } @@ -19024,7 +19305,7 @@ ], "members": { "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "DryRun": { @@ -19037,7 +19318,7 @@ "type": "structure", "members": { "InstanceMonitorings": { - "shape": "S1w1", + "shape": "S1ws", "locationName": "instancesSet" } } @@ -19074,6 +19355,11 @@ "MoveByoipCidrToIpam": { "input": { "type": "structure", + "required": [ + "Cidr", + "IpamPoolId", + "IpamPoolOwner" + ], "members": { "DryRun": { "type": "boolean" @@ -19163,7 +19449,7 @@ "type": "structure", "members": { "IpamPoolCidr": { - "shape": "Stf", + "shape": "Stj", "locationName": "ipamPoolCidr" } } @@ -19195,7 +19481,7 @@ "locationName": "poolId" }, "PoolAddressRange": { - "shape": "S1bq", + "shape": "S1c6", "locationName": "poolAddressRange" } } @@ -19212,7 +19498,7 @@ "ClientToken": {}, "CurrencyCode": {}, "HostIdSet": { - "shape": "S1o7" + "shape": "S1ot" }, "LimitPrice": {}, "OfferingId": {}, @@ -19232,7 +19518,7 @@ "locationName": "currencyCode" }, "Purchase": { - "shape": "S1o9", + "shape": "S1ov", "locationName": "purchase" }, "TotalHourlyPrice": { @@ -19327,7 +19613,7 @@ "locationName": "scheduledInstanceSet", "type": "list", "member": { - "shape": "S1dk", + "shape": "S1e0", "locationName": "item" } } @@ -19342,7 +19628,7 @@ ], "members": { "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "DryRun": { @@ -19364,7 +19650,7 @@ "locationName": "architecture" }, "BlockDeviceMappings": { - "shape": "Scd", + "shape": "Scf", "locationName": "BlockDeviceMapping" }, "Description": { @@ -19429,7 +19715,7 @@ "type": "boolean" }, "InstanceTagKeys": { - "shape": "Stp", + "shape": "Stt", "locationName": "InstanceTagKey" } } @@ -19440,7 +19726,7 @@ "type": "structure", "members": { "InstanceTagAttribute": { - "shape": "Str", + "shape": "Stv", "locationName": "instanceTagAttribute" } } @@ -19453,7 +19739,7 @@ "TransitGatewayMulticastDomainId": {}, "GroupIpAddress": {}, "NetworkInterfaceIds": { - "shape": "Stt" + "shape": "Stx" }, "DryRun": { "type": "boolean" @@ -19489,7 +19775,7 @@ "TransitGatewayMulticastDomainId": {}, "GroupIpAddress": {}, "NetworkInterfaceIds": { - "shape": "Stt" + "shape": "Stx" }, "DryRun": { "type": "boolean" @@ -19664,7 +19950,7 @@ ], "members": { "HostIds": { - "shape": "S10n", + "shape": "S112", "locationName": "hostId" } } @@ -19677,7 +19963,7 @@ "locationName": "successful" }, "Unsuccessful": { - "shape": "S1so", + "shape": "S1tf", "locationName": "unsuccessful" } } @@ -19785,7 +20071,7 @@ "type": "boolean" }, "IcmpTypeCode": { - "shape": "Shc", + "shape": "Shf", "locationName": "Icmp" }, "Ipv6CidrBlock": { @@ -19795,7 +20081,7 @@ "locationName": "networkAclId" }, "PortRange": { - "shape": "Shd", + "shape": "Shg", "locationName": "portRange" }, "Protocol": { @@ -19917,7 +20203,7 @@ "type": "structure", "members": { "Route": { - "shape": "Smm", + "shape": "Smq", "locationName": "route" } } @@ -19944,7 +20230,7 @@ "type": "timestamp" }, "Instances": { - "shape": "Svq", + "shape": "Svu", "locationName": "instanceId" }, "ReasonCodes": { @@ -19976,7 +20262,7 @@ "type": "boolean" }, "SpotFleetRequestConfig": { - "shape": "S1ew", + "shape": "S1fc", "locationName": "spotFleetRequestConfig" } } @@ -20036,7 +20322,7 @@ "locationName": "addressingType" }, "BlockDeviceMappings": { - "shape": "S11c", + "shape": "S11r", "locationName": "blockDeviceMapping" }, "EbsOptimized": { @@ -20060,15 +20346,15 @@ "locationName": "keyName" }, "Monitoring": { - "shape": "S1fr", + "shape": "S1g7", "locationName": "monitoring" }, "NetworkInterfaces": { - "shape": "S1f6", + "shape": "S1fm", "locationName": "NetworkInterface" }, "Placement": { - "shape": "S1f8", + "shape": "S1fo", "locationName": "placement" }, "RamdiskId": { @@ -20107,7 +20393,7 @@ "type": "structure", "members": { "SpotInstanceRequests": { - "shape": "S1fo", + "shape": "S1g4", "locationName": "spotInstanceRequestSet" } } @@ -20132,7 +20418,7 @@ "type": "structure", "members": { "Address": { - "shape": "Sum", + "shape": "Suq", "locationName": "address" } } @@ -20283,6 +20569,29 @@ } } }, + "RestoreImageFromRecycleBin": { + "input": { + "type": "structure", + "required": [ + "ImageId" + ], + "members": { + "ImageId": {}, + "DryRun": { + "type": "boolean" + } + } + }, + "output": { + "type": "structure", + "members": { + "Return": { + "locationName": "return", + "type": "boolean" + } + } + } + }, "RestoreManagedPrefixListVersion": { "input": { "type": "structure", @@ -20308,7 +20617,7 @@ "type": "structure", "members": { "PrefixList": { - "shape": "Sgv", + "shape": "Sgy", "locationName": "prefixList" } } @@ -20454,7 +20763,7 @@ "locationName": "ipPermissions" }, "SecurityGroupRuleIds": { - "shape": "S1dr", + "shape": "S1e7", "locationName": "SecurityGroupRuleId" }, "CidrIp": { @@ -20517,7 +20826,7 @@ "type": "boolean" }, "SecurityGroupRuleIds": { - "shape": "S1dr", + "shape": "S1e7", "locationName": "SecurityGroupRuleId" } } @@ -20545,7 +20854,7 @@ ], "members": { "BlockDeviceMappings": { - "shape": "Scd", + "shape": "Scf", "locationName": "BlockDeviceMapping" }, "ImageId": {}, @@ -20554,7 +20863,7 @@ "type": "integer" }, "Ipv6Addresses": { - "shape": "Sfp", + "shape": "Sfs", "locationName": "Ipv6Address" }, "KernelId": {}, @@ -20566,18 +20875,18 @@ "type": "integer" }, "Monitoring": { - "shape": "S1fr" + "shape": "S1g7" }, "Placement": { - "shape": "Sai" + "shape": "Sak" }, "RamdiskId": {}, "SecurityGroupIds": { - "shape": "Se4", + "shape": "Se6", "locationName": "SecurityGroupId" }, "SecurityGroups": { - "shape": "Seq", + "shape": "Ses", "locationName": "SecurityGroup" }, "SubnetId": {}, @@ -20609,7 +20918,7 @@ "locationName": "instanceInitiatedShutdownBehavior" }, "NetworkInterfaces": { - "shape": "S1f6", + "shape": "S1fm", "locationName": "networkInterface" }, "PrivateIpAddress": { @@ -20618,7 +20927,7 @@ "ElasticGpuSpecification": { "type": "list", "member": { - "shape": "Sem", + "shape": "Seo", "locationName": "item" } }, @@ -20672,7 +20981,7 @@ } }, "CreditSpecification": { - "shape": "Sew" + "shape": "Sey" }, "CpuOptions": { "type": "structure", @@ -20686,7 +20995,7 @@ } }, "CapacityReservationSpecification": { - "shape": "S1t1" + "shape": "S1ts" }, "HibernationOptions": { "type": "structure", @@ -20715,7 +21024,8 @@ "type": "integer" }, "HttpEndpoint": {}, - "HttpProtocolIpv6": {} + "HttpProtocolIpv6": {}, + "InstanceMetadataTags": {} } }, "EnclaveOptions": { @@ -20741,7 +21051,7 @@ } }, "output": { - "shape": "S169" + "shape": "S16o" } }, "RunScheduledInstances": { @@ -20839,7 +21149,7 @@ "type": "integer" }, "Groups": { - "shape": "S1zj", + "shape": "S20c", "locationName": "Group" }, "Ipv6AddressCount": { @@ -20888,7 +21198,7 @@ }, "RamdiskId": {}, "SecurityGroupIds": { - "shape": "S1zj", + "shape": "S20c", "locationName": "SecurityGroupId" }, "SubnetId": {}, @@ -20920,7 +21230,7 @@ "members": { "LocalGatewayRouteTableId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -20939,7 +21249,7 @@ "locationName": "routeSet", "type": "list", "member": { - "shape": "Sgk", + "shape": "Sgn", "locationName": "item" } }, @@ -20955,7 +21265,7 @@ "members": { "TransitGatewayMulticastDomainId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -21031,7 +21341,7 @@ "members": { "TransitGatewayRouteTableId": {}, "Filters": { - "shape": "Su8", + "shape": "Suc", "locationName": "Filter" }, "MaxResults": { @@ -21049,7 +21359,7 @@ "locationName": "routeSet", "type": "list", "member": { - "shape": "Smm", + "shape": "Smq", "locationName": "item" } }, @@ -21082,7 +21392,7 @@ ], "members": { "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "AdditionalInfo": { @@ -21098,7 +21408,7 @@ "type": "structure", "members": { "StartingInstances": { - "shape": "S207", + "shape": "S210", "locationName": "instancesSet" } } @@ -21129,7 +21439,7 @@ "type": "structure", "members": { "NetworkInsightsAccessScopeAnalysis": { - "shape": "S19r", + "shape": "S1a7", "locationName": "networkInsightsAccessScopeAnalysis" } } @@ -21145,7 +21455,7 @@ "members": { "NetworkInsightsPathId": {}, "FilterInArns": { - "shape": "S1a3", + "shape": "S1aj", "locationName": "FilterInArn" }, "DryRun": { @@ -21164,7 +21474,7 @@ "type": "structure", "members": { "NetworkInsightsAnalysis": { - "shape": "S1a2", + "shape": "S1ai", "locationName": "networkInsightsAnalysis" } } @@ -21201,7 +21511,7 @@ ], "members": { "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "Hibernate": { @@ -21221,7 +21531,7 @@ "type": "structure", "members": { "StoppingInstances": { - "shape": "S207", + "shape": "S210", "locationName": "instancesSet" } } @@ -21262,11 +21572,11 @@ "locationName": "connectionId" }, "PreviousStatus": { - "shape": "Sw5", + "shape": "Sw9", "locationName": "previousStatus" }, "CurrentStatus": { - "shape": "Sw5", + "shape": "Sw9", "locationName": "currentStatus" } } @@ -21283,7 +21593,7 @@ ], "members": { "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "DryRun": { @@ -21296,7 +21606,7 @@ "type": "structure", "members": { "TerminatingInstances": { - "shape": "S207", + "shape": "S210", "locationName": "instancesSet" } } @@ -21368,7 +21678,7 @@ ], "members": { "InstanceIds": { - "shape": "Svq", + "shape": "Svu", "locationName": "InstanceId" }, "DryRun": { @@ -21381,7 +21691,7 @@ "type": "structure", "members": { "InstanceMonitorings": { - "shape": "S1w1", + "shape": "S1ws", "locationName": "instancesSet" } } @@ -21400,7 +21710,7 @@ "shape": "S58" }, "SecurityGroupRuleDescriptions": { - "shape": "S20t", + "shape": "S21m", "locationName": "SecurityGroupRuleDescription" } } @@ -21428,7 +21738,7 @@ "shape": "S58" }, "SecurityGroupRuleDescriptions": { - "shape": "S20t", + "shape": "S21m", "locationName": "SecurityGroupRuleDescription" } } @@ -22533,7 +22843,7 @@ "locationName": "SpotInstanceRequestId" } }, - "S80": { + "S81": { "type": "structure", "members": { "CapacityReservationId": { @@ -22606,10 +22916,13 @@ }, "CapacityReservationFleetId": { "locationName": "capacityReservationFleetId" + }, + "PlacementGroupArn": { + "locationName": "placementGroupArn" } } }, - "S8c": { + "S8d": { "type": "list", "member": { "locationName": "item", @@ -22657,7 +22970,7 @@ } } }, - "S8g": { + "S8h": { "type": "structure", "members": { "CarrierGatewayId": { @@ -22678,7 +22991,7 @@ } } }, - "S8q": { + "S8r": { "type": "structure", "members": { "Enabled": { @@ -22688,7 +23001,7 @@ "CloudwatchLogStream": {} } }, - "S8t": { + "S8u": { "type": "structure", "members": { "Enabled": { @@ -22698,6 +23011,15 @@ } }, "S8v": { + "type": "structure", + "members": { + "Enabled": { + "type": "boolean" + }, + "BannerText": {} + } + }, + "S8x": { "type": "structure", "members": { "Code": { @@ -22708,7 +23030,7 @@ } } }, - "S8z": { + "S91": { "type": "structure", "members": { "Code": { @@ -22719,7 +23041,7 @@ } } }, - "S94": { + "S96": { "type": "structure", "members": { "BgpAsn": { @@ -22749,7 +23071,7 @@ } } }, - "S97": { + "S99": { "type": "structure", "members": { "AvailabilityZone": { @@ -22845,7 +23167,7 @@ } } }, - "S9f": { + "S9h": { "type": "structure", "members": { "CidrBlock": { @@ -22892,7 +23214,7 @@ } } }, - "S9o": { + "S9q": { "type": "structure", "members": { "DhcpConfigurations": { @@ -22909,7 +23231,7 @@ "locationName": "valueSet", "type": "list", "member": { - "shape": "S9s", + "shape": "S9u", "locationName": "item" } } @@ -22928,7 +23250,7 @@ } } }, - "S9s": { + "S9u": { "type": "structure", "members": { "Value": { @@ -22936,11 +23258,11 @@ } } }, - "S9v": { + "S9x": { "type": "structure", "members": { "Attachments": { - "shape": "S9w", + "shape": "S9y", "locationName": "attachmentSet" }, "EgressOnlyInternetGatewayId": { @@ -22952,7 +23274,7 @@ } } }, - "S9w": { + "S9y": { "type": "list", "member": { "locationName": "item", @@ -22967,7 +23289,7 @@ } } }, - "Sab": { + "Sad": { "type": "list", "member": { "locationName": "item", @@ -22998,10 +23320,10 @@ "type": "double" }, "Placement": { - "shape": "Sai" + "shape": "Sak" }, "InstanceRequirements": { - "shape": "Sak" + "shape": "Sam" } } } @@ -23009,7 +23331,7 @@ } } }, - "Sai": { + "Sak": { "type": "structure", "members": { "AvailabilityZone": { @@ -23039,7 +23361,7 @@ } } }, - "Sak": { + "Sam": { "type": "structure", "required": [ "VCpuCount", @@ -23075,7 +23397,7 @@ } }, "CpuManufacturers": { - "shape": "San", + "shape": "Sap", "locationName": "CpuManufacturer" }, "MemoryGiBPerVCpu": { @@ -23090,11 +23412,11 @@ } }, "ExcludedInstanceTypes": { - "shape": "Saq", + "shape": "Sas", "locationName": "ExcludedInstanceType" }, "InstanceGenerations": { - "shape": "Sas", + "shape": "Sau", "locationName": "InstanceGeneration" }, "SpotMaxPricePercentageOverLowestPrice": { @@ -23121,7 +23443,7 @@ }, "LocalStorage": {}, "LocalStorageTypes": { - "shape": "Say", + "shape": "Sb0", "locationName": "LocalStorageType" }, "TotalLocalStorageGB": { @@ -23147,7 +23469,7 @@ } }, "AcceleratorTypes": { - "shape": "Sb2", + "shape": "Sb4", "locationName": "AcceleratorType" }, "AcceleratorCount": { @@ -23162,11 +23484,11 @@ } }, "AcceleratorManufacturers": { - "shape": "Sb5", + "shape": "Sb7", "locationName": "AcceleratorManufacturer" }, "AcceleratorNames": { - "shape": "Sb7", + "shape": "Sb9", "locationName": "AcceleratorName" }, "AcceleratorTotalMemoryMiB": { @@ -23182,49 +23504,49 @@ } } }, - "San": { + "Sap": { "type": "list", "member": { "locationName": "item" } }, - "Saq": { + "Sas": { "type": "list", "member": { "locationName": "item" } }, - "Sas": { + "Sau": { "type": "list", "member": { "locationName": "item" } }, - "Say": { + "Sb0": { "type": "list", "member": { "locationName": "item" } }, - "Sb2": { + "Sb4": { "type": "list", "member": { "locationName": "item" } }, - "Sb5": { + "Sb7": { "type": "list", "member": { "locationName": "item" } }, - "Sb7": { + "Sb9": { "type": "list", "member": { "locationName": "item" } }, - "Sba": { + "Sbc": { "type": "structure", "required": [ "TotalTargetCapacity" @@ -23243,20 +23565,20 @@ "TargetCapacityUnitType": {} } }, - "Sbi": { + "Sbk": { "type": "structure", "members": { "LaunchTemplateSpecification": { - "shape": "Sbj", + "shape": "Sbl", "locationName": "launchTemplateSpecification" }, "Overrides": { - "shape": "Sbk", + "shape": "Sbm", "locationName": "overrides" } } }, - "Sbj": { + "Sbl": { "type": "structure", "members": { "LaunchTemplateId": { @@ -23270,7 +23592,7 @@ } } }, - "Sbk": { + "Sbm": { "type": "structure", "members": { "InstanceType": { @@ -23303,12 +23625,12 @@ } }, "InstanceRequirements": { - "shape": "Sbm", + "shape": "Sbo", "locationName": "instanceRequirements" } } }, - "Sbm": { + "Sbo": { "type": "structure", "members": { "VCpuCount": { @@ -23340,7 +23662,7 @@ } }, "CpuManufacturers": { - "shape": "San", + "shape": "Sap", "locationName": "cpuManufacturerSet" }, "MemoryGiBPerVCpu": { @@ -23358,11 +23680,11 @@ } }, "ExcludedInstanceTypes": { - "shape": "Saq", + "shape": "Sas", "locationName": "excludedInstanceTypeSet" }, "InstanceGenerations": { - "shape": "Sas", + "shape": "Sau", "locationName": "instanceGenerationSet" }, "SpotMaxPricePercentageOverLowestPrice": { @@ -23401,7 +23723,7 @@ "locationName": "localStorage" }, "LocalStorageTypes": { - "shape": "Say", + "shape": "Sb0", "locationName": "localStorageTypeSet" }, "TotalLocalStorageGB": { @@ -23433,7 +23755,7 @@ } }, "AcceleratorTypes": { - "shape": "Sb2", + "shape": "Sb4", "locationName": "acceleratorTypeSet" }, "AcceleratorCount": { @@ -23451,11 +23773,11 @@ } }, "AcceleratorManufacturers": { - "shape": "Sb5", + "shape": "Sb7", "locationName": "acceleratorManufacturerSet" }, "AcceleratorNames": { - "shape": "Sb7", + "shape": "Sb9", "locationName": "acceleratorNameSet" }, "AcceleratorTotalMemoryMiB": { @@ -23474,27 +23796,27 @@ } } }, - "Sby": { + "Sc0": { "type": "list", "member": { "locationName": "item" } }, - "Sca": { + "Scc": { "type": "structure", "members": { "Bucket": {}, "Key": {} } }, - "Scd": { + "Scf": { "type": "list", "member": { - "shape": "Sce", + "shape": "Scg", "locationName": "BlockDeviceMapping" } }, - "Sce": { + "Scg": { "type": "structure", "members": { "DeviceName": { @@ -23544,7 +23866,7 @@ } } }, - "Sck": { + "Scm": { "type": "list", "member": { "type": "structure", @@ -23560,7 +23882,7 @@ } } }, - "Sct": { + "Scv": { "type": "structure", "members": { "Description": { @@ -23611,11 +23933,11 @@ } } }, - "Scz": { + "Sd1": { "type": "structure", "members": { "Attachments": { - "shape": "S9w", + "shape": "S9y", "locationName": "attachmentSet" }, "InternetGatewayId": { @@ -23630,7 +23952,7 @@ } } }, - "Sd1": { + "Sd3": { "type": "list", "member": { "type": "structure", @@ -23639,7 +23961,7 @@ } } }, - "Sd4": { + "Sd6": { "type": "structure", "members": { "OwnerId": { @@ -23689,21 +24011,21 @@ } } }, - "Sdd": { + "Sdf": { "type": "list", "member": { - "shape": "Sde", + "shape": "Sdg", "locationName": "item" } }, - "Sde": { + "Sdg": { "type": "structure", "members": { "Key": {}, "Value": {} } }, - "Sdh": { + "Sdj": { "type": "structure", "members": { "OwnerId": { @@ -23770,7 +24092,7 @@ "type": "integer" }, "AllocationResourceTags": { - "shape": "Sdk", + "shape": "Sdm", "locationName": "allocationResourceTagSet" }, "Tags": { @@ -23782,7 +24104,7 @@ } } }, - "Sdk": { + "Sdm": { "type": "list", "member": { "locationName": "item", @@ -23797,7 +24119,7 @@ } } }, - "Sdo": { + "Sdq": { "type": "structure", "members": { "OwnerId": { @@ -23838,7 +24160,7 @@ } } }, - "Sdw": { + "Sdy": { "type": "structure", "members": { "KernelId": {}, @@ -23909,7 +24231,7 @@ "type": "integer" }, "Groups": { - "shape": "Se4", + "shape": "Se6", "locationName": "SecurityGroupId" }, "InterfaceType": {}, @@ -23929,7 +24251,7 @@ "NetworkInterfaceId": {}, "PrivateIpAddress": {}, "PrivateIpAddresses": { - "shape": "Se7" + "shape": "Se9" }, "SecondaryPrivateIpAddressCount": { "type": "integer" @@ -23939,14 +24261,14 @@ "type": "integer" }, "Ipv4Prefixes": { - "shape": "Se9", + "shape": "Seb", "locationName": "Ipv4Prefix" }, "Ipv4PrefixCount": { "type": "integer" }, "Ipv6Prefixes": { - "shape": "Seb", + "shape": "Sed", "locationName": "Ipv6Prefix" }, "Ipv6PrefixCount": { @@ -24006,7 +24328,7 @@ "locationName": "ElasticGpuSpecification", "type": "list", "member": { - "shape": "Sem", + "shape": "Seo", "locationName": "ElasticGpuSpecification" } }, @@ -24028,11 +24350,11 @@ } }, "SecurityGroupIds": { - "shape": "Se4", + "shape": "Se6", "locationName": "SecurityGroupId" }, "SecurityGroups": { - "shape": "Seq", + "shape": "Ses", "locationName": "SecurityGroup" }, "InstanceMarketOptions": { @@ -24056,7 +24378,7 @@ } }, "CreditSpecification": { - "shape": "Sew" + "shape": "Sey" }, "CpuOptions": { "type": "structure", @@ -24074,7 +24396,7 @@ "members": { "CapacityReservationPreference": {}, "CapacityReservationTarget": { - "shape": "Sf0" + "shape": "Sf2" } } }, @@ -24105,7 +24427,8 @@ "type": "integer" }, "HttpEndpoint": {}, - "HttpProtocolIpv6": {} + "HttpProtocolIpv6": {}, + "InstanceMetadataTags": {} } }, "EnclaveOptions": { @@ -24117,7 +24440,7 @@ } }, "InstanceRequirements": { - "shape": "Sak" + "shape": "Sam" }, "PrivateDnsNameOptions": { "type": "structure", @@ -24133,13 +24456,13 @@ } } }, - "Se4": { + "Se6": { "type": "list", "member": { "locationName": "SecurityGroupId" } }, - "Se7": { + "Se9": { "type": "list", "member": { "locationName": "item", @@ -24155,7 +24478,7 @@ } } }, - "Se9": { + "Seb": { "type": "list", "member": { "locationName": "item", @@ -24165,7 +24488,7 @@ } } }, - "Seb": { + "Sed": { "type": "list", "member": { "locationName": "item", @@ -24175,7 +24498,7 @@ } } }, - "Sem": { + "Seo": { "type": "structure", "required": [ "Type" @@ -24184,13 +24507,13 @@ "Type": {} } }, - "Seq": { + "Ses": { "type": "list", "member": { "locationName": "SecurityGroup" } }, - "Sew": { + "Sey": { "type": "structure", "required": [ "CpuCredits" @@ -24199,14 +24522,14 @@ "CpuCredits": {} } }, - "Sf0": { + "Sf2": { "type": "structure", "members": { "CapacityReservationId": {}, "CapacityReservationResourceGroupArn": {} } }, - "Sfb": { + "Sfe": { "type": "structure", "members": { "LaunchTemplateId": { @@ -24236,7 +24559,7 @@ } } }, - "Sfc": { + "Sff": { "type": "structure", "members": { "Errors": { @@ -24257,7 +24580,7 @@ } } }, - "Sfh": { + "Sfk": { "type": "structure", "members": { "LaunchTemplateId": { @@ -24285,12 +24608,12 @@ "type": "boolean" }, "LaunchTemplateData": { - "shape": "Sfi", + "shape": "Sfl", "locationName": "launchTemplateData" } } }, - "Sfi": { + "Sfl": { "type": "structure", "members": { "KernelId": { @@ -24404,7 +24727,7 @@ "type": "integer" }, "Ipv6Addresses": { - "shape": "Sfp", + "shape": "Sfs", "locationName": "ipv6AddressesSet" }, "NetworkInterfaceId": { @@ -24414,7 +24737,7 @@ "locationName": "privateIpAddress" }, "PrivateIpAddresses": { - "shape": "Se7", + "shape": "Se9", "locationName": "privateIpAddressesSet" }, "SecondaryPrivateIpAddressCount": { @@ -24646,7 +24969,7 @@ "locationName": "capacityReservationPreference" }, "CapacityReservationTarget": { - "shape": "Sg8", + "shape": "Sgb", "locationName": "capacityReservationTarget" } } @@ -24693,6 +25016,9 @@ }, "HttpProtocolIpv6": { "locationName": "httpProtocolIpv6" + }, + "InstanceMetadataTags": { + "locationName": "instanceMetadataTags" } } }, @@ -24707,7 +25033,7 @@ } }, "InstanceRequirements": { - "shape": "Sbm", + "shape": "Sbo", "locationName": "instanceRequirements" }, "PrivateDnsNameOptions": { @@ -24729,7 +25055,7 @@ } } }, - "Sfp": { + "Sfs": { "type": "list", "member": { "locationName": "item", @@ -24741,7 +25067,7 @@ } } }, - "Sg8": { + "Sgb": { "type": "structure", "members": { "CapacityReservationId": { @@ -24752,7 +25078,7 @@ } } }, - "Sgk": { + "Sgn": { "type": "structure", "members": { "DestinationCidrBlock": { @@ -24778,7 +25104,7 @@ } } }, - "Sgp": { + "Sgs": { "type": "structure", "members": { "LocalGatewayRouteTableVpcAssociationId": { @@ -24808,7 +25134,7 @@ } } }, - "Sgs": { + "Sgv": { "type": "list", "member": { "type": "structure", @@ -24821,7 +25147,7 @@ } } }, - "Sgv": { + "Sgy": { "type": "structure", "members": { "PrefixListId": { @@ -24859,7 +25185,7 @@ } } }, - "Sh0": { + "Sh3": { "type": "structure", "members": { "CreateTime": { @@ -24942,7 +25268,7 @@ } } }, - "Sh7": { + "Sha": { "type": "structure", "members": { "Associations": { @@ -24979,14 +25305,14 @@ "type": "boolean" }, "IcmpTypeCode": { - "shape": "Shc", + "shape": "Shf", "locationName": "icmpTypeCode" }, "Ipv6CidrBlock": { "locationName": "ipv6CidrBlock" }, "PortRange": { - "shape": "Shd", + "shape": "Shg", "locationName": "portRange" }, "Protocol": { @@ -25021,7 +25347,7 @@ } } }, - "Shc": { + "Shf": { "type": "structure", "members": { "Code": { @@ -25034,7 +25360,7 @@ } } }, - "Shd": { + "Shg": { "type": "structure", "members": { "From": { @@ -25047,17 +25373,17 @@ } } }, - "Shi": { + "Shl": { "type": "list", "member": { "locationName": "item", "type": "structure", "members": { "Source": { - "shape": "Shk" + "shape": "Shn" }, "Destination": { - "shape": "Shk" + "shape": "Shn" }, "ThroughResources": { "locationName": "ThroughResource", @@ -25067,7 +25393,7 @@ "type": "structure", "members": { "ResourceStatement": { - "shape": "Sho" + "shape": "Shr" } } } @@ -25075,7 +25401,7 @@ } } }, - "Shk": { + "Shn": { "type": "structure", "members": { "PacketHeaderStatement": { @@ -25106,23 +25432,23 @@ "locationName": "DestinationPrefixList" }, "Protocols": { - "shape": "Shm", + "shape": "Shp", "locationName": "Protocol" } } }, "ResourceStatement": { - "shape": "Sho" + "shape": "Shr" } } }, - "Shm": { + "Shp": { "type": "list", "member": { "locationName": "item" } }, - "Sho": { + "Shr": { "type": "structure", "members": { "Resources": { @@ -25135,7 +25461,7 @@ } } }, - "Shs": { + "Shv": { "type": "structure", "members": { "NetworkInsightsAccessScopeId": { @@ -25158,34 +25484,34 @@ } } }, - "Shu": { + "Shx": { "type": "structure", "members": { "NetworkInsightsAccessScopeId": { "locationName": "networkInsightsAccessScopeId" }, "MatchPaths": { - "shape": "Shv", + "shape": "Shy", "locationName": "matchPathSet" }, "ExcludePaths": { - "shape": "Shv", + "shape": "Shy", "locationName": "excludePathSet" } } }, - "Shv": { + "Shy": { "type": "list", "member": { "locationName": "item", "type": "structure", "members": { "Source": { - "shape": "Shx", + "shape": "Si0", "locationName": "source" }, "Destination": { - "shape": "Shx", + "shape": "Si0", "locationName": "destination" }, "ThroughResources": { @@ -25196,7 +25522,7 @@ "type": "structure", "members": { "ResourceStatement": { - "shape": "Shz", + "shape": "Si2", "locationName": "resourceStatement" } } @@ -25205,7 +25531,7 @@ } } }, - "Shx": { + "Si0": { "type": "structure", "members": { "PacketHeaderStatement": { @@ -25237,18 +25563,18 @@ "locationName": "destinationPrefixListSet" }, "Protocols": { - "shape": "Shm", + "shape": "Shp", "locationName": "protocolSet" } } }, "ResourceStatement": { - "shape": "Shz", + "shape": "Si2", "locationName": "resourceStatement" } } }, - "Shz": { + "Si2": { "type": "structure", "members": { "Resources": { @@ -25261,7 +25587,7 @@ } } }, - "Si6": { + "Sia": { "type": "structure", "members": { "NetworkInsightsPathId": { @@ -25299,15 +25625,15 @@ } } }, - "Sib": { + "Sif": { "type": "structure", "members": { "Association": { - "shape": "Sic", + "shape": "Sig", "locationName": "association" }, "Attachment": { - "shape": "Sid", + "shape": "Sih", "locationName": "attachment" }, "AvailabilityZone": { @@ -25317,7 +25643,7 @@ "locationName": "description" }, "Groups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "InterfaceType": { @@ -25362,7 +25688,7 @@ "type": "structure", "members": { "Association": { - "shape": "Sic", + "shape": "Sig", "locationName": "association" }, "Primary": { @@ -25432,7 +25758,7 @@ } } }, - "Sic": { + "Sig": { "type": "structure", "members": { "AllocationId": { @@ -25458,7 +25784,7 @@ } } }, - "Sid": { + "Sih": { "type": "structure", "members": { "AttachTime": { @@ -25491,7 +25817,7 @@ } } }, - "Sie": { + "Sii": { "type": "list", "member": { "locationName": "item", @@ -25506,7 +25832,7 @@ } } }, - "Sir": { + "Siv": { "type": "structure", "members": { "NetworkInterfacePermissionId": { @@ -25538,7 +25864,7 @@ } } }, - "Six": { + "Sj1": { "type": "structure", "members": { "GroupName": { @@ -25560,10 +25886,13 @@ "Tags": { "shape": "Ss", "locationName": "tagSet" + }, + "GroupArn": { + "locationName": "groupArn" } } }, - "Sj3": { + "Sj7": { "type": "structure", "members": { "ReplaceRootVolumeTaskId": { @@ -25587,7 +25916,7 @@ } } }, - "Sjk": { + "Sjo": { "type": "structure", "members": { "Associations": { @@ -25706,7 +26035,7 @@ } } }, - "Sjw": { + "Sk0": { "type": "structure", "members": { "DataEncryptionKeyId": { @@ -25767,14 +26096,14 @@ } } }, - "Sk7": { + "Skb": { "type": "structure", "members": { "Bucket": { "locationName": "bucket" }, "Fault": { - "shape": "Sk8", + "shape": "Skc", "locationName": "fault" }, "OwnerId": { @@ -25788,7 +26117,7 @@ } } }, - "Sk8": { + "Skc": { "type": "structure", "members": { "Code": { @@ -25799,7 +26128,7 @@ } } }, - "Skj": { + "Skn": { "type": "structure", "members": { "SubnetCidrReservationId": { @@ -25826,26 +26155,26 @@ } } }, - "Skm": { + "Skq": { "type": "list", "member": {} }, - "Skq": { + "Sku": { "type": "structure", "members": { "TrafficMirrorFilterId": { "locationName": "trafficMirrorFilterId" }, "IngressFilterRules": { - "shape": "Skr", + "shape": "Skv", "locationName": "ingressFilterRuleSet" }, "EgressFilterRules": { - "shape": "Skr", + "shape": "Skv", "locationName": "egressFilterRuleSet" }, "NetworkServices": { - "shape": "Skw", + "shape": "Sl0", "locationName": "networkServiceSet" }, "Description": { @@ -25857,14 +26186,14 @@ } } }, - "Skr": { + "Skv": { "type": "list", "member": { - "shape": "Sks", + "shape": "Skw", "locationName": "item" } }, - "Sks": { + "Skw": { "type": "structure", "members": { "TrafficMirrorFilterRuleId": { @@ -25888,11 +26217,11 @@ "type": "integer" }, "DestinationPortRange": { - "shape": "Skv", + "shape": "Skz", "locationName": "destinationPortRange" }, "SourcePortRange": { - "shape": "Skv", + "shape": "Skz", "locationName": "sourcePortRange" }, "DestinationCidrBlock": { @@ -25906,7 +26235,7 @@ } } }, - "Skv": { + "Skz": { "type": "structure", "members": { "FromPort": { @@ -25919,13 +26248,13 @@ } } }, - "Skw": { + "Sl0": { "type": "list", "member": { "locationName": "item" } }, - "Sl0": { + "Sl4": { "type": "structure", "members": { "FromPort": { @@ -25936,7 +26265,7 @@ } } }, - "Sl5": { + "Sl9": { "type": "structure", "members": { "TrafficMirrorSessionId": { @@ -25975,7 +26304,7 @@ } } }, - "Sl8": { + "Slc": { "type": "structure", "members": { "TrafficMirrorTargetId": { @@ -26002,13 +26331,13 @@ } } }, - "Slh": { + "Sll": { "type": "list", "member": { "locationName": "item" } }, - "Slj": { + "Sln": { "type": "structure", "members": { "TransitGatewayId": { @@ -26074,7 +26403,7 @@ } } }, - "Slq": { + "Slu": { "type": "structure", "members": { "TransitGatewayAttachmentId": { @@ -26108,13 +26437,13 @@ } } }, - "Slu": { + "Sly": { "type": "list", "member": { "locationName": "item" } }, - "Slw": { + "Sm0": { "type": "structure", "members": { "TransitGatewayAttachmentId": { @@ -26141,7 +26470,7 @@ "locationName": "peerAddress" }, "InsideCidrBlocks": { - "shape": "Slu", + "shape": "Sly", "locationName": "insideCidrBlocks" }, "Protocol": { @@ -26182,7 +26511,7 @@ } } }, - "Sm9": { + "Smd": { "type": "structure", "members": { "TransitGatewayMulticastDomainId": { @@ -26225,7 +26554,7 @@ } } }, - "Smh": { + "Sml": { "type": "structure", "members": { "TransitGatewayRouteTableId": { @@ -26261,7 +26590,7 @@ } } }, - "Smm": { + "Smq": { "type": "structure", "members": { "DestinationCidrBlock": { @@ -26297,7 +26626,7 @@ } } }, - "Smt": { + "Smx": { "type": "structure", "members": { "TransitGatewayRouteTableId": { @@ -26327,7 +26656,7 @@ } } }, - "Smz": { + "Sn3": { "type": "structure", "members": { "Attachments": { @@ -26393,25 +26722,25 @@ } } }, - "Sn6": { + "Sna": { "type": "list", "member": { "locationName": "item" } }, - "Sn7": { + "Snb": { "type": "list", "member": { "locationName": "item" } }, - "Sn8": { + "Snc": { "type": "list", "member": { "locationName": "item" } }, - "Sna": { + "Sne": { "type": "structure", "members": { "VpcEndpointId": { @@ -26469,7 +26798,7 @@ "locationName": "networkInterfaceIdSet" }, "DnsEntries": { - "shape": "Sne", + "shape": "Sni", "locationName": "dnsEntrySet" }, "CreationTimestamp": { @@ -26497,7 +26826,7 @@ } } }, - "Sne": { + "Sni": { "type": "list", "member": { "locationName": "item", @@ -26512,7 +26841,7 @@ } } }, - "Snj": { + "Snn": { "type": "structure", "members": { "ConnectionNotificationId": { @@ -26539,11 +26868,11 @@ } } }, - "Sno": { + "Sns": { "type": "structure", "members": { "ServiceType": { - "shape": "Snp", + "shape": "Snt", "locationName": "serviceType" }, "ServiceId": { @@ -26609,7 +26938,7 @@ } } }, - "Snp": { + "Snt": { "type": "list", "member": { "locationName": "item", @@ -26621,7 +26950,7 @@ } } }, - "So4": { + "So8": { "type": "list", "member": { "locationName": "item", @@ -26631,7 +26960,7 @@ } } }, - "So6": { + "Soa": { "type": "list", "member": { "locationName": "item", @@ -26641,7 +26970,7 @@ } } }, - "So8": { + "Soc": { "type": "list", "member": { "locationName": "item", @@ -26651,7 +26980,7 @@ } } }, - "Soa": { + "Soe": { "type": "list", "member": { "locationName": "item", @@ -26661,7 +26990,7 @@ } } }, - "Soc": { + "Sog": { "type": "list", "member": { "locationName": "item", @@ -26673,7 +27002,7 @@ } } }, - "Soe": { + "Soi": { "type": "list", "member": { "locationName": "item", @@ -26685,7 +27014,7 @@ } } }, - "Sog": { + "Sok": { "type": "list", "member": { "locationName": "item", @@ -26695,7 +27024,7 @@ } } }, - "Soj": { + "Son": { "type": "structure", "members": { "CustomerGatewayConfiguration": { @@ -26960,7 +27289,7 @@ } } }, - "Spd": { + "Sph": { "type": "structure", "members": { "AvailabilityZone": { @@ -26993,29 +27322,29 @@ } } }, - "Spr": { + "Spv": { "type": "list", "member": {} }, - "Sq1": { + "Sq5": { "type": "list", "member": { "locationName": "item" } }, - "Sqm": { + "Sqq": { "type": "list", "member": { "locationName": "item" } }, - "St2": { + "St6": { "type": "list", "member": { "locationName": "item" } }, - "Stf": { + "Stj": { "type": "structure", "members": { "Cidr": { @@ -27038,17 +27367,17 @@ } } }, - "Stp": { + "Stt": { "type": "list", "member": { "locationName": "item" } }, - "Str": { + "Stv": { "type": "structure", "members": { "InstanceTagKeys": { - "shape": "Stp", + "shape": "Stt", "locationName": "instanceTagKeySet" }, "IncludeAllTagsOfInstance": { @@ -27057,13 +27386,13 @@ } } }, - "Stt": { + "Stx": { "type": "list", "member": { "locationName": "item" } }, - "Su8": { + "Suc": { "type": "list", "member": { "locationName": "Filter", @@ -27077,7 +27406,7 @@ } } }, - "Sum": { + "Suq": { "type": "structure", "members": { "PublicIp": { @@ -27106,7 +27435,7 @@ } } }, - "Suq": { + "Suu": { "type": "list", "member": { "locationName": "item", @@ -27126,13 +27455,13 @@ } } }, - "Svq": { + "Svu": { "type": "list", "member": { "locationName": "InstanceId" } }, - "Sw5": { + "Sw9": { "type": "structure", "members": { "Code": { @@ -27143,7 +27472,7 @@ } } }, - "Sxa": { + "Sxf": { "type": "structure", "members": { "ConversionTaskId": { @@ -27183,7 +27512,7 @@ "locationName": "description" }, "Image": { - "shape": "Sxe", + "shape": "Sxj", "locationName": "image" }, "Status": { @@ -27193,7 +27522,7 @@ "locationName": "statusMessage" }, "Volume": { - "shape": "Sxf", + "shape": "Sxk", "locationName": "volume" } } @@ -27216,11 +27545,11 @@ "locationName": "description" }, "Image": { - "shape": "Sxe", + "shape": "Sxj", "locationName": "image" }, "Volume": { - "shape": "Sxf", + "shape": "Sxk", "locationName": "volume" } } @@ -27237,7 +27566,7 @@ } } }, - "Sxe": { + "Sxj": { "type": "structure", "members": { "Checksum": { @@ -27255,7 +27584,7 @@ } } }, - "Sxf": { + "Sxk": { "type": "structure", "members": { "Id": { @@ -27267,7 +27596,7 @@ } } }, - "Syd": { + "Syi": { "type": "structure", "members": { "S3Bucket": { @@ -27278,7 +27607,30 @@ } } }, - "Syu": { + "Syv": { + "type": "structure", + "members": { + "TargetResourceCount": { + "locationName": "targetResourceCount", + "type": "integer" + } + } + }, + "Syw": { + "type": "structure", + "members": { + "LaunchTemplateId": { + "locationName": "launchTemplateId" + }, + "LaunchTemplateName": { + "locationName": "launchTemplateName" + }, + "Version": { + "locationName": "version" + } + } + }, + "Sz9": { "type": "structure", "members": { "EventDescription": { @@ -27292,7 +27644,7 @@ } } }, - "Syx": { + "Szc": { "type": "list", "member": { "locationName": "item", @@ -27313,7 +27665,7 @@ } } }, - "Szq": { + "S105": { "type": "structure", "members": { "FpgaImageId": { @@ -27342,12 +27694,12 @@ } }, "ProductCodes": { - "shape": "Szu", + "shape": "S109", "locationName": "productCodes" } } }, - "Szu": { + "S109": { "type": "list", "member": { "locationName": "item", @@ -27362,32 +27714,32 @@ } } }, - "Szz": { + "S10e": { "type": "list", "member": { "locationName": "Owner" } }, - "S10k": { + "S10z": { "type": "list", "member": { "locationName": "item" } }, - "S10n": { + "S112": { "type": "list", "member": { "locationName": "item" } }, - "S11c": { + "S11r": { "type": "list", "member": { - "shape": "Sce", + "shape": "Scg", "locationName": "item" } }, - "S11d": { + "S11s": { "type": "list", "member": { "locationName": "item", @@ -27408,7 +27760,13 @@ } } }, - "S11q": { + "S11w": { + "type": "list", + "member": { + "locationName": "ImageId" + } + }, + "S125": { "type": "structure", "members": { "Code": { @@ -27419,7 +27777,7 @@ } } }, - "S11z": { + "S12e": { "type": "list", "member": { "locationName": "item", @@ -27454,13 +27812,13 @@ "locationName": "url" }, "UserBucket": { - "shape": "S121", + "shape": "S12g", "locationName": "userBucket" } } } }, - "S121": { + "S12g": { "type": "structure", "members": { "S3Bucket": { @@ -27471,7 +27829,7 @@ } } }, - "S122": { + "S12h": { "type": "list", "member": { "locationName": "item", @@ -27483,7 +27841,7 @@ } } }, - "S12a": { + "S12p": { "type": "structure", "members": { "Description": { @@ -27519,12 +27877,12 @@ "locationName": "url" }, "UserBucket": { - "shape": "S121", + "shape": "S12g", "locationName": "userBucket" } } }, - "S12e": { + "S12t": { "type": "list", "member": { "locationName": "item", @@ -27556,7 +27914,7 @@ } } }, - "S12h": { + "S12w": { "type": "structure", "members": { "Value": { @@ -27565,7 +27923,7 @@ } } }, - "S12i": { + "S12x": { "type": "structure", "members": { "Enabled": { @@ -27574,7 +27932,7 @@ } } }, - "S130": { + "S13f": { "type": "structure", "members": { "InstanceEventId": { @@ -27600,7 +27958,7 @@ } } }, - "S133": { + "S13i": { "type": "structure", "members": { "Code": { @@ -27612,7 +27970,7 @@ } } }, - "S135": { + "S13k": { "type": "structure", "members": { "Details": { @@ -27640,11 +27998,11 @@ } } }, - "S169": { + "S16o": { "type": "structure", "members": { "Groups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "Instances": { @@ -27678,11 +28036,11 @@ "type": "timestamp" }, "Monitoring": { - "shape": "S16c", + "shape": "S16r", "locationName": "monitoring" }, "Placement": { - "shape": "Sai", + "shape": "Sak", "locationName": "placement" }, "Platform": { @@ -27695,7 +28053,7 @@ "locationName": "privateIpAddress" }, "ProductCodes": { - "shape": "Szu", + "shape": "S109", "locationName": "productCodes" }, "PublicDnsName": { @@ -27708,7 +28066,7 @@ "locationName": "ramdiskId" }, "State": { - "shape": "S133", + "shape": "S13i", "locationName": "instanceState" }, "StateTransitionReason": { @@ -27724,7 +28082,7 @@ "locationName": "architecture" }, "BlockDeviceMappings": { - "shape": "S12e", + "shape": "S12t", "locationName": "blockDeviceMapping" }, "ClientToken": { @@ -27801,7 +28159,7 @@ "type": "structure", "members": { "Association": { - "shape": "S16l", + "shape": "S170", "locationName": "association" }, "Attachment": { @@ -27836,11 +28194,11 @@ "locationName": "description" }, "Groups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "Ipv6Addresses": { - "shape": "Sfp", + "shape": "Sfs", "locationName": "ipv6AddressesSet" }, "MacAddress": { @@ -27866,7 +28224,7 @@ "type": "structure", "members": { "Association": { - "shape": "S16l", + "shape": "S170", "locationName": "association" }, "Primary": { @@ -27937,7 +28295,7 @@ "locationName": "rootDeviceType" }, "SecurityGroups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "SourceDestCheck": { @@ -27951,7 +28309,7 @@ "locationName": "sriovNetSupport" }, "StateReason": { - "shape": "S11q", + "shape": "S125", "locationName": "stateReason" }, "Tags": { @@ -27986,7 +28344,7 @@ "locationName": "capacityReservationPreference" }, "CapacityReservationTarget": { - "shape": "Sg8", + "shape": "Sgb", "locationName": "capacityReservationTarget" } } @@ -28015,11 +28373,11 @@ } }, "MetadataOptions": { - "shape": "S16y", + "shape": "S17d", "locationName": "metadataOptions" }, "EnclaveOptions": { - "shape": "S12i", + "shape": "S12x", "locationName": "enclaveOptions" }, "BootMode": { @@ -28069,7 +28427,7 @@ } } }, - "S16c": { + "S16r": { "type": "structure", "members": { "State": { @@ -28077,7 +28435,7 @@ } } }, - "S16l": { + "S170": { "type": "structure", "members": { "CarrierIp": { @@ -28097,7 +28455,7 @@ } } }, - "S16y": { + "S17d": { "type": "structure", "members": { "State": { @@ -28115,16 +28473,19 @@ }, "HttpProtocolIpv6": { "locationName": "httpProtocolIpv6" + }, + "InstanceMetadataTags": { + "locationName": "instanceMetadataTags" } } }, - "S18r": { + "S197": { "type": "list", "member": { "locationName": "item" } }, - "S19r": { + "S1a7": { "type": "structure", "members": { "NetworkInsightsAccessScopeAnalysisId": { @@ -28166,7 +28527,7 @@ } } }, - "S1a2": { + "S1ai": { "type": "structure", "members": { "NetworkInsightsAnalysisId": { @@ -28179,7 +28540,7 @@ "locationName": "networkInsightsPathId" }, "FilterInArns": { - "shape": "S1a3", + "shape": "S1aj", "locationName": "filterInArnSet" }, "StartDate": { @@ -28200,11 +28561,11 @@ "type": "boolean" }, "ForwardPathComponents": { - "shape": "S1a4", + "shape": "S1ak", "locationName": "forwardPathComponentSet" }, "ReturnPathComponents": { - "shape": "S1a4", + "shape": "S1ak", "locationName": "returnPathComponentSet" }, "Explanations": { @@ -28215,22 +28576,22 @@ "type": "structure", "members": { "Acl": { - "shape": "S1a7", + "shape": "S1an", "locationName": "acl" }, "AclRule": { - "shape": "S1a6", + "shape": "S1am", "locationName": "aclRule" }, "Address": { "locationName": "address" }, "Addresses": { - "shape": "S1a9", + "shape": "S1ap", "locationName": "addressSet" }, "AttachedTo": { - "shape": "S1a7", + "shape": "S1an", "locationName": "attachedTo" }, "AvailabilityZones": { @@ -28242,19 +28603,19 @@ "locationName": "cidrSet" }, "Component": { - "shape": "S1a7", + "shape": "S1an", "locationName": "component" }, "CustomerGateway": { - "shape": "S1a7", + "shape": "S1an", "locationName": "customerGateway" }, "Destination": { - "shape": "S1a7", + "shape": "S1an", "locationName": "destination" }, "DestinationVpc": { - "shape": "S1a7", + "shape": "S1an", "locationName": "destinationVpc" }, "Direction": { @@ -28264,11 +28625,11 @@ "locationName": "explanationCode" }, "IngressRouteTable": { - "shape": "S1a7", + "shape": "S1an", "locationName": "ingressRouteTable" }, "InternetGateway": { - "shape": "S1a7", + "shape": "S1an", "locationName": "internetGateway" }, "LoadBalancerArn": { @@ -28303,7 +28664,7 @@ "locationName": "availabilityZone" }, "Instance": { - "shape": "S1a7", + "shape": "S1an", "locationName": "instance" }, "Port": { @@ -28313,11 +28674,11 @@ } }, "LoadBalancerTargetGroup": { - "shape": "S1a7", + "shape": "S1an", "locationName": "loadBalancerTargetGroup" }, "LoadBalancerTargetGroups": { - "shape": "S1ah", + "shape": "S1ax", "locationName": "loadBalancerTargetGroupSet" }, "LoadBalancerTargetPort": { @@ -28325,25 +28686,25 @@ "type": "integer" }, "ElasticLoadBalancerListener": { - "shape": "S1a7", + "shape": "S1an", "locationName": "elasticLoadBalancerListener" }, "MissingComponent": { "locationName": "missingComponent" }, "NatGateway": { - "shape": "S1a7", + "shape": "S1an", "locationName": "natGateway" }, "NetworkInterface": { - "shape": "S1a7", + "shape": "S1an", "locationName": "networkInterface" }, "PacketField": { "locationName": "packetField" }, "VpcPeeringConnection": { - "shape": "S1a7", + "shape": "S1an", "locationName": "vpcPeeringConnection" }, "Port": { @@ -28351,11 +28712,11 @@ "type": "integer" }, "PortRanges": { - "shape": "S1aa", + "shape": "S1aq", "locationName": "portRangeSet" }, "PrefixList": { - "shape": "S1a7", + "shape": "S1an", "locationName": "prefixList" }, "Protocols": { @@ -28366,54 +28727,54 @@ } }, "RouteTableRoute": { - "shape": "S1ab", + "shape": "S1ar", "locationName": "routeTableRoute" }, "RouteTable": { - "shape": "S1a7", + "shape": "S1an", "locationName": "routeTable" }, "SecurityGroup": { - "shape": "S1a7", + "shape": "S1an", "locationName": "securityGroup" }, "SecurityGroupRule": { - "shape": "S1ac", + "shape": "S1as", "locationName": "securityGroupRule" }, "SecurityGroups": { - "shape": "S1ah", + "shape": "S1ax", "locationName": "securityGroupSet" }, "SourceVpc": { - "shape": "S1a7", + "shape": "S1an", "locationName": "sourceVpc" }, "State": { "locationName": "state" }, "Subnet": { - "shape": "S1a7", + "shape": "S1an", "locationName": "subnet" }, "SubnetRouteTable": { - "shape": "S1a7", + "shape": "S1an", "locationName": "subnetRouteTable" }, "Vpc": { - "shape": "S1a7", + "shape": "S1an", "locationName": "vpc" }, "VpcEndpoint": { - "shape": "S1a7", + "shape": "S1an", "locationName": "vpcEndpoint" }, "VpnConnection": { - "shape": "S1a7", + "shape": "S1an", "locationName": "vpnConnection" }, "VpnGateway": { - "shape": "S1a7", + "shape": "S1an", "locationName": "vpnGateway" } } @@ -28441,13 +28802,13 @@ } } }, - "S1a3": { + "S1aj": { "type": "list", "member": { "locationName": "item" } }, - "S1a4": { + "S1ak": { "type": "list", "member": { "locationName": "item", @@ -28458,53 +28819,53 @@ "type": "integer" }, "AclRule": { - "shape": "S1a6", + "shape": "S1am", "locationName": "aclRule" }, "AttachedTo": { - "shape": "S1a7", + "shape": "S1an", "locationName": "attachedTo" }, "Component": { - "shape": "S1a7", + "shape": "S1an", "locationName": "component" }, "DestinationVpc": { - "shape": "S1a7", + "shape": "S1an", "locationName": "destinationVpc" }, "OutboundHeader": { - "shape": "S1a8", + "shape": "S1ao", "locationName": "outboundHeader" }, "InboundHeader": { - "shape": "S1a8", + "shape": "S1ao", "locationName": "inboundHeader" }, "RouteTableRoute": { - "shape": "S1ab", + "shape": "S1ar", "locationName": "routeTableRoute" }, "SecurityGroupRule": { - "shape": "S1ac", + "shape": "S1as", "locationName": "securityGroupRule" }, "SourceVpc": { - "shape": "S1a7", + "shape": "S1an", "locationName": "sourceVpc" }, "Subnet": { - "shape": "S1a7", + "shape": "S1an", "locationName": "subnet" }, "Vpc": { - "shape": "S1a7", + "shape": "S1an", "locationName": "vpc" } } } }, - "S1a6": { + "S1am": { "type": "structure", "members": { "Cidr": { @@ -28515,7 +28876,7 @@ "type": "boolean" }, "PortRange": { - "shape": "Shd", + "shape": "Shg", "locationName": "portRange" }, "Protocol": { @@ -28530,7 +28891,7 @@ } } }, - "S1a7": { + "S1an": { "type": "structure", "members": { "Id": { @@ -28544,44 +28905,44 @@ } } }, - "S1a8": { + "S1ao": { "type": "structure", "members": { "DestinationAddresses": { - "shape": "S1a9", + "shape": "S1ap", "locationName": "destinationAddressSet" }, "DestinationPortRanges": { - "shape": "S1aa", + "shape": "S1aq", "locationName": "destinationPortRangeSet" }, "Protocol": { "locationName": "protocol" }, "SourceAddresses": { - "shape": "S1a9", + "shape": "S1ap", "locationName": "sourceAddressSet" }, "SourcePortRanges": { - "shape": "S1aa", + "shape": "S1aq", "locationName": "sourcePortRangeSet" } } }, - "S1a9": { + "S1ap": { "type": "list", "member": { "locationName": "item" } }, - "S1aa": { + "S1aq": { "type": "list", "member": { - "shape": "Shd", + "shape": "Shg", "locationName": "item" } }, - "S1ab": { + "S1ar": { "type": "structure", "members": { "DestinationCidr": { @@ -28616,7 +28977,7 @@ } } }, - "S1ac": { + "S1as": { "type": "structure", "members": { "Cidr": { @@ -28629,7 +28990,7 @@ "locationName": "securityGroupId" }, "PortRange": { - "shape": "Shd", + "shape": "Shg", "locationName": "portRange" }, "PrefixListId": { @@ -28640,14 +29001,14 @@ } } }, - "S1ah": { + "S1ax": { "type": "list", "member": { - "shape": "S1a7", + "shape": "S1an", "locationName": "item" } }, - "S1bq": { + "S1c6": { "type": "structure", "members": { "FirstAddress": { @@ -28666,13 +29027,13 @@ } } }, - "S1c3": { + "S1cj": { "type": "list", "member": { "locationName": "ReservedInstancesId" } }, - "S1cb": { + "S1cr": { "type": "list", "member": { "locationName": "item", @@ -28688,7 +29049,7 @@ } } }, - "S1cp": { + "S1d5": { "type": "structure", "members": { "AvailabilityZone": { @@ -28709,7 +29070,7 @@ } } }, - "S1dc": { + "S1ds": { "type": "structure", "members": { "Frequency": { @@ -28736,7 +29097,7 @@ } } }, - "S1dk": { + "S1e0": { "type": "structure", "members": { "AvailabilityZone": { @@ -28771,7 +29132,7 @@ "type": "timestamp" }, "Recurrence": { - "shape": "S1dc", + "shape": "S1ds", "locationName": "recurrence" }, "ScheduledInstanceId": { @@ -28795,19 +29156,19 @@ } } }, - "S1dr": { + "S1e7": { "type": "list", "member": { "locationName": "item" } }, - "S1dv": { + "S1eb": { "type": "list", "member": { "locationName": "GroupName" } }, - "S1e3": { + "S1ej": { "type": "list", "member": { "locationName": "item", @@ -28822,13 +29183,13 @@ } } }, - "S1ed": { + "S1et": { "type": "list", "member": { "locationName": "SnapshotId" } }, - "S1ew": { + "S1fc": { "type": "structure", "required": [ "IamFleetRole", @@ -28885,14 +29246,14 @@ "type": "structure", "members": { "SecurityGroups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "AddressingType": { "locationName": "addressingType" }, "BlockDeviceMappings": { - "shape": "S11c", + "shape": "S11r", "locationName": "blockDeviceMapping" }, "EbsOptimized": { @@ -28926,11 +29287,11 @@ } }, "NetworkInterfaces": { - "shape": "S1f6", + "shape": "S1fm", "locationName": "networkInterfaceSet" }, "Placement": { - "shape": "S1f8", + "shape": "S1fo", "locationName": "placement" }, "RamdiskId": { @@ -28967,14 +29328,14 @@ } }, "InstanceRequirements": { - "shape": "Sbm", + "shape": "Sbo", "locationName": "instanceRequirements" } } } }, "LaunchTemplateConfigs": { - "shape": "S1fb", + "shape": "S1fr", "locationName": "launchTemplateConfigs" }, "SpotPrice": { @@ -29076,7 +29437,7 @@ } } }, - "S1f6": { + "S1fm": { "type": "list", "member": { "locationName": "item", @@ -29098,7 +29459,7 @@ "type": "integer" }, "Groups": { - "shape": "Se4", + "shape": "Se6", "locationName": "SecurityGroupId" }, "Ipv6AddressCount": { @@ -29106,7 +29467,7 @@ "type": "integer" }, "Ipv6Addresses": { - "shape": "Sfp", + "shape": "Sfs", "locationName": "ipv6AddressesSet", "queryName": "Ipv6Addresses" }, @@ -29117,7 +29478,7 @@ "locationName": "privateIpAddress" }, "PrivateIpAddresses": { - "shape": "Se7", + "shape": "Se9", "locationName": "privateIpAddressesSet", "queryName": "PrivateIpAddresses" }, @@ -29136,14 +29497,14 @@ "type": "integer" }, "Ipv4Prefixes": { - "shape": "Se9", + "shape": "Seb", "locationName": "Ipv4Prefix" }, "Ipv4PrefixCount": { "type": "integer" }, "Ipv6Prefixes": { - "shape": "Seb", + "shape": "Sed", "locationName": "Ipv6Prefix" }, "Ipv6PrefixCount": { @@ -29152,7 +29513,7 @@ } } }, - "S1f8": { + "S1fo": { "type": "structure", "members": { "AvailabilityZone": { @@ -29166,14 +29527,14 @@ } } }, - "S1fb": { + "S1fr": { "type": "list", "member": { "locationName": "item", "type": "structure", "members": { "LaunchTemplateSpecification": { - "shape": "Sbj", + "shape": "Sbl", "locationName": "launchTemplateSpecification" }, "Overrides": { @@ -29204,7 +29565,7 @@ "type": "double" }, "InstanceRequirements": { - "shape": "Sbm", + "shape": "Sbo", "locationName": "instanceRequirements" } } @@ -29213,7 +29574,7 @@ } } }, - "S1fo": { + "S1g4": { "type": "list", "member": { "locationName": "item", @@ -29234,7 +29595,7 @@ "type": "timestamp" }, "Fault": { - "shape": "Sk8", + "shape": "Skc", "locationName": "fault" }, "InstanceId": { @@ -29251,14 +29612,14 @@ "locationName": "userData" }, "SecurityGroups": { - "shape": "Sie", + "shape": "Sii", "locationName": "groupSet" }, "AddressingType": { "locationName": "addressingType" }, "BlockDeviceMappings": { - "shape": "S11c", + "shape": "S11r", "locationName": "blockDeviceMapping" }, "EbsOptimized": { @@ -29282,11 +29643,11 @@ "locationName": "keyName" }, "NetworkInterfaces": { - "shape": "S1f6", + "shape": "S1fm", "locationName": "networkInterfaceSet" }, "Placement": { - "shape": "S1f8", + "shape": "S1fo", "locationName": "placement" }, "RamdiskId": { @@ -29296,7 +29657,7 @@ "locationName": "subnetId" }, "Monitoring": { - "shape": "S1fr", + "shape": "S1g7", "locationName": "monitoring" } } @@ -29353,7 +29714,7 @@ } } }, - "S1fr": { + "S1g7": { "type": "structure", "required": [ "Enabled" @@ -29365,7 +29726,7 @@ } } }, - "S1g6": { + "S1gm": { "type": "list", "member": { "locationName": "item", @@ -29407,17 +29768,17 @@ } } }, - "S1h4": { + "S1hk": { "type": "list", "member": {} }, - "S1i8": { + "S1io": { "type": "list", "member": { "locationName": "VolumeId" } }, - "S1it": { + "S1j9": { "type": "structure", "members": { "VolumeId": { @@ -29481,19 +29842,19 @@ } } }, - "S1iz": { + "S1jf": { "type": "list", "member": { "locationName": "VpcId" } }, - "S1kp": { + "S1l7": { "type": "list", "member": { "locationName": "AvailabilityZone" } }, - "S1l6": { + "S1lo": { "type": "structure", "members": { "TransitGatewayAttachmentId": { @@ -29513,7 +29874,7 @@ } } }, - "S1nq": { + "S1oc": { "type": "structure", "members": { "InstanceFamily": { @@ -29524,13 +29885,13 @@ } } }, - "S1o7": { + "S1ot": { "type": "list", "member": { "locationName": "item" } }, - "S1o9": { + "S1ov": { "type": "list", "member": { "locationName": "item", @@ -29544,7 +29905,7 @@ "type": "integer" }, "HostIdSet": { - "shape": "S10k", + "shape": "S10z", "locationName": "hostIdSet" }, "HostReservationId": { @@ -29565,19 +29926,19 @@ } } }, - "S1oc": { + "S1oy": { "type": "list", "member": { "locationName": "item" } }, - "S1od": { + "S1oz": { "type": "list", "member": { "locationName": "item" } }, - "S1p0": { + "S1pm": { "type": "structure", "members": { "IpamId": { @@ -29608,7 +29969,7 @@ "locationName": "resourceType" }, "ResourceTags": { - "shape": "Sdk", + "shape": "Sdm", "locationName": "resourceTagSet" }, "IpUsage": { @@ -29629,7 +29990,7 @@ } } }, - "S1po": { + "S1qa": { "type": "structure", "members": { "HourlyPrice": { @@ -29643,14 +30004,14 @@ } } }, - "S1q8": { + "S1qu": { "type": "list", "member": { - "shape": "Skj", + "shape": "Skn", "locationName": "item" } }, - "S1r4": { + "S1rq": { "type": "structure", "members": { "Comment": {}, @@ -29665,14 +30026,14 @@ } } }, - "S1r7": { + "S1rt": { "type": "structure", "members": { "S3Bucket": {}, "S3Key": {} } }, - "S1re": { + "S1s0": { "type": "structure", "required": [ "Bytes", @@ -29692,7 +30053,7 @@ } } }, - "S1rf": { + "S1s1": { "type": "structure", "required": [ "Size" @@ -29704,25 +30065,25 @@ } } }, - "S1sf": { + "S1t6": { "type": "list", "member": { "locationName": "UserId" } }, - "S1sg": { + "S1t7": { "type": "list", "member": { "locationName": "UserGroup" } }, - "S1sh": { + "S1t8": { "type": "list", "member": { "locationName": "ProductCode" } }, - "S1sj": { + "S1ta": { "type": "list", "member": { "locationName": "item", @@ -29733,23 +30094,23 @@ } } }, - "S1so": { + "S1tf": { "type": "list", "member": { "shape": "S17", "locationName": "item" } }, - "S1t1": { + "S1ts": { "type": "structure", "members": { "CapacityReservationPreference": {}, "CapacityReservationTarget": { - "shape": "Sf0" + "shape": "Sf2" } } }, - "S1vk": { + "S1wb": { "type": "structure", "members": { "AllowDnsResolutionFromRemoteVpc": { @@ -29763,7 +30124,7 @@ } } }, - "S1vm": { + "S1wd": { "type": "structure", "members": { "AllowDnsResolutionFromRemoteVpc": { @@ -29780,7 +30141,7 @@ } } }, - "S1w1": { + "S1ws": { "type": "list", "member": { "locationName": "item", @@ -29790,39 +30151,39 @@ "locationName": "instanceId" }, "Monitoring": { - "shape": "S16c", + "shape": "S16r", "locationName": "monitoring" } } } }, - "S1zj": { + "S20c": { "type": "list", "member": { "locationName": "SecurityGroupId" } }, - "S207": { + "S210": { "type": "list", "member": { "locationName": "item", "type": "structure", "members": { "CurrentState": { - "shape": "S133", + "shape": "S13i", "locationName": "currentState" }, "InstanceId": { "locationName": "instanceId" }, "PreviousState": { - "shape": "S133", + "shape": "S13i", "locationName": "previousState" } } } }, - "S20t": { + "S21m": { "type": "list", "member": { "locationName": "item", diff --git a/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json b/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json index a44793e9a..4745c97e8 100644 --- a/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +++ b/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json @@ -111,6 +111,12 @@ "DescribeExportTasks": { "result_key": "ExportTasks" }, + "DescribeFastLaunchImages": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "FastLaunchImages" + }, "DescribeFastSnapshotRestores": { "input_token": "NextToken", "limit_key": "MaxResults", @@ -722,6 +728,12 @@ "output_token": "NextToken", "result_key": "VpnConnectionDeviceTypes" }, + "ListImagesInRecycleBin": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "Images" + }, "ListSnapshotsInRecycleBin": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/node_modules/aws-sdk/apis/ec2-instance-connect-2018-04-02.min.json b/node_modules/aws-sdk/apis/ec2-instance-connect-2018-04-02.min.json index 25629a57d..5be788756 100644 --- a/node_modules/aws-sdk/apis/ec2-instance-connect-2018-04-02.min.json +++ b/node_modules/aws-sdk/apis/ec2-instance-connect-2018-04-02.min.json @@ -19,8 +19,7 @@ "required": [ "InstanceId", "InstanceOSUser", - "SSHPublicKey", - "AvailabilityZone" + "SSHPublicKey" ], "members": { "InstanceId": {}, diff --git a/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json b/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json index 496ab86d8..3433f192d 100644 --- a/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +++ b/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json @@ -102,6 +102,39 @@ "shape": "S1a" } }, + "CreateReplicationConfiguration": { + "http": { + "requestUri": "/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "SourceFileSystemId", + "Destinations" + ], + "members": { + "SourceFileSystemId": { + "location": "uri", + "locationName": "SourceFileSystemId" + }, + "Destinations": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Region": {}, + "AvailabilityZoneName": {}, + "KmsKeyId": {} + } + } + } + } + }, + "output": { + "shape": "S1i" + } + }, "CreateTags": { "http": { "requestUri": "/2015-02-01/create-tags/{FileSystemId}", @@ -202,6 +235,25 @@ } } }, + "DeleteReplicationConfiguration": { + "http": { + "method": "DELETE", + "requestUri": "/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", + "responseCode": 204 + }, + "input": { + "type": "structure", + "required": [ + "SourceFileSystemId" + ], + "members": { + "SourceFileSystemId": { + "location": "uri", + "locationName": "SourceFileSystemId" + } + } + } + }, "DeleteTags": { "http": { "requestUri": "/2015-02-01/delete-tags/{FileSystemId}", @@ -219,7 +271,7 @@ "locationName": "FileSystemId" }, "TagKeys": { - "shape": "S1k" + "shape": "S1t" } } }, @@ -286,7 +338,7 @@ "type": "structure", "members": { "ResourceIdPreference": { - "shape": "S1s" + "shape": "S21" }, "NextToken": {} } @@ -311,7 +363,7 @@ } }, "output": { - "shape": "S1x" + "shape": "S26" } }, "DescribeFileSystemPolicy": { @@ -333,7 +385,7 @@ } }, "output": { - "shape": "S21" + "shape": "S2a" } }, "DescribeFileSystems": { @@ -397,7 +449,7 @@ } }, "output": { - "shape": "S29" + "shape": "S2i" } }, "DescribeMountTargetSecurityGroups": { @@ -476,6 +528,43 @@ } } }, + "DescribeReplicationConfigurations": { + "http": { + "method": "GET", + "requestUri": "/2015-02-01/file-systems/replication-configurations", + "responseCode": 200 + }, + "input": { + "type": "structure", + "members": { + "FileSystemId": { + "location": "querystring", + "locationName": "FileSystemId" + }, + "NextToken": { + "location": "querystring", + "locationName": "NextToken" + }, + "MaxResults": { + "location": "querystring", + "locationName": "MaxResults", + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "Replications": { + "type": "list", + "member": { + "shape": "S1i" + } + }, + "NextToken": {} + } + } + }, "DescribeTags": { "http": { "method": "GET", @@ -597,7 +686,7 @@ "type": "structure", "members": { "ResourceIdPreference": { - "shape": "S1s" + "shape": "S21" } } } @@ -620,12 +709,12 @@ "locationName": "FileSystemId" }, "BackupPolicy": { - "shape": "S1y" + "shape": "S27" } } }, "output": { - "shape": "S1x" + "shape": "S26" } }, "PutFileSystemPolicy": { @@ -652,7 +741,7 @@ } }, "output": { - "shape": "S21" + "shape": "S2a" } }, "PutLifecycleConfiguration": { @@ -673,12 +762,12 @@ "locationName": "FileSystemId" }, "LifecyclePolicies": { - "shape": "S2a" + "shape": "S2j" } } }, "output": { - "shape": "S29" + "shape": "S2i" } }, "TagResource": { @@ -721,7 +810,7 @@ "locationName": "ResourceId" }, "TagKeys": { - "shape": "S1k", + "shape": "S1t", "location": "querystring", "locationName": "tagKeys" } @@ -922,11 +1011,50 @@ "VpcId": {} } }, - "S1k": { + "S1i": { + "type": "structure", + "required": [ + "SourceFileSystemId", + "SourceFileSystemRegion", + "SourceFileSystemArn", + "OriginalSourceFileSystemArn", + "CreationTime", + "Destinations" + ], + "members": { + "SourceFileSystemId": {}, + "SourceFileSystemRegion": {}, + "SourceFileSystemArn": {}, + "OriginalSourceFileSystemArn": {}, + "CreationTime": { + "type": "timestamp" + }, + "Destinations": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "Status", + "FileSystemId", + "Region" + ], + "members": { + "Status": {}, + "FileSystemId": {}, + "Region": {}, + "LastReplicatedTimestamp": { + "type": "timestamp" + } + } + } + } + } + }, + "S1t": { "type": "list", "member": {} }, - "S1s": { + "S21": { "type": "structure", "members": { "ResourceIdType": {}, @@ -936,15 +1064,15 @@ } } }, - "S1x": { + "S26": { "type": "structure", "members": { "BackupPolicy": { - "shape": "S1y" + "shape": "S27" } } }, - "S1y": { + "S27": { "type": "structure", "required": [ "Status" @@ -953,22 +1081,22 @@ "Status": {} } }, - "S21": { + "S2a": { "type": "structure", "members": { "FileSystemId": {}, "Policy": {} } }, - "S29": { + "S2i": { "type": "structure", "members": { "LifecyclePolicies": { - "shape": "S2a" + "shape": "S2j" } } }, - "S2a": { + "S2j": { "type": "list", "member": { "type": "structure", diff --git a/node_modules/aws-sdk/apis/es-2015-01-01.min.json b/node_modules/aws-sdk/apis/es-2015-01-01.min.json index 1c1e1717b..424633866 100644 --- a/node_modules/aws-sdk/apis/es-2015-01-01.min.json +++ b/node_modules/aws-sdk/apis/es-2015-01-01.min.json @@ -207,7 +207,7 @@ }, "ConnectionAlias": {}, "ConnectionStatus": { - "shape": "S2p" + "shape": "S2t" }, "CrossClusterSearchConnectionId": {} } @@ -229,7 +229,7 @@ "PackageType": {}, "PackageDescription": {}, "PackageSource": { - "shape": "S2t" + "shape": "S2x" } } }, @@ -237,7 +237,7 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S2x" + "shape": "S31" } } } @@ -321,7 +321,7 @@ "type": "structure", "members": { "CrossClusterSearchConnection": { - "shape": "S36" + "shape": "S3a" } } } @@ -347,7 +347,7 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S2x" + "shape": "S31" } } } @@ -405,6 +405,66 @@ } } }, + "DescribeDomainChangeProgress": { + "http": { + "method": "GET", + "requestUri": "/2015-01-01/es/domain/{DomainName}/progress" + }, + "input": { + "type": "structure", + "required": [ + "DomainName" + ], + "members": { + "DomainName": { + "location": "uri", + "locationName": "DomainName" + }, + "ChangeId": { + "location": "querystring", + "locationName": "changeid" + } + } + }, + "output": { + "type": "structure", + "members": { + "ChangeProgressStatus": { + "type": "structure", + "members": { + "ChangeId": {}, + "StartTime": { + "type": "timestamp" + }, + "Status": {}, + "PendingProperties": { + "shape": "S1f" + }, + "CompletedProperties": { + "shape": "S1f" + }, + "TotalNumberOfStages": { + "type": "integer" + }, + "ChangeProgressStages": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Name": {}, + "Status": {}, + "Description": {}, + "LastUpdated": { + "type": "timestamp" + } + } + } + } + } + } + } + } + }, "DescribeElasticsearchDomain": { "http": { "method": "GET", @@ -458,7 +518,7 @@ ], "members": { "DomainConfig": { - "shape": "S3q" + "shape": "S45" } } } @@ -543,7 +603,7 @@ "members": { "LimitName": {}, "LimitValues": { - "shape": "S4s" + "shape": "S56" } } } @@ -574,7 +634,7 @@ "members": { "LimitName": {}, "LimitValues": { - "shape": "S4s" + "shape": "S56" } } } @@ -593,7 +653,7 @@ "type": "structure", "members": { "Filters": { - "shape": "S51" + "shape": "S5f" }, "MaxResults": { "type": "integer" @@ -622,7 +682,7 @@ "type": "structure", "members": { "Filters": { - "shape": "S51" + "shape": "S5f" }, "MaxResults": { "type": "integer" @@ -636,7 +696,7 @@ "CrossClusterSearchConnections": { "type": "list", "member": { - "shape": "S36" + "shape": "S3a" } }, "NextToken": {} @@ -675,7 +735,7 @@ "PackageDetailsList": { "type": "list", "member": { - "shape": "S2x" + "shape": "S31" } }, "NextToken": {} @@ -728,7 +788,7 @@ "CurrencyCode": {}, "PaymentOption": {}, "RecurringCharges": { - "shape": "S5q" + "shape": "S63" } } } @@ -791,7 +851,7 @@ "State": {}, "PaymentOption": {}, "RecurringCharges": { - "shape": "S5q" + "shape": "S63" } } } @@ -853,7 +913,7 @@ "members": { "SourceVersion": {}, "TargetVersions": { - "shape": "S63" + "shape": "S6g" } } } @@ -1057,7 +1117,7 @@ "type": "structure", "members": { "DomainPackageDetailsList": { - "shape": "S6u" + "shape": "S77" }, "NextToken": {} } @@ -1127,7 +1187,7 @@ "type": "structure", "members": { "ElasticsearchVersions": { - "shape": "S63" + "shape": "S6g" }, "NextToken": {} } @@ -1163,7 +1223,7 @@ "type": "structure", "members": { "DomainPackageDetailsList": { - "shape": "S6u" + "shape": "S77" }, "NextToken": {} } @@ -1336,7 +1396,7 @@ "shape": "S1k" }, "AutoTuneOptions": { - "shape": "S49" + "shape": "S4n" }, "DryRun": { "type": "boolean" @@ -1350,7 +1410,7 @@ ], "members": { "DomainConfig": { - "shape": "S3q" + "shape": "S45" }, "DryRunResults": { "type": "structure", @@ -1375,7 +1435,7 @@ "members": { "PackageID": {}, "PackageSource": { - "shape": "S2t" + "shape": "S2x" }, "PackageDescription": {}, "CommitMessage": {} @@ -1385,7 +1445,7 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S2x" + "shape": "S31" } } } @@ -1415,6 +1475,9 @@ "TargetVersion": {}, "PerformCheckOnly": { "type": "boolean" + }, + "ChangeProgressDetails": { + "shape": "S2n" } } } @@ -1695,6 +1758,9 @@ "type": "integer" } } + }, + "AnonymousAuthEnabled": { + "type": "boolean" } } }, @@ -1808,6 +1874,9 @@ "State": {}, "ErrorMessage": {} } + }, + "ChangeProgressDetails": { + "shape": "S2n" } } }, @@ -1850,24 +1919,37 @@ "type": "integer" } } + }, + "AnonymousAuthDisableDate": { + "type": "timestamp" + }, + "AnonymousAuthEnabled": { + "type": "boolean" } } }, - "S2p": { + "S2n": { "type": "structure", "members": { - "StatusCode": {}, + "ChangeId": {}, "Message": {} } }, "S2t": { + "type": "structure", + "members": { + "StatusCode": {}, + "Message": {} + } + }, + "S2x": { "type": "structure", "members": { "S3BucketName": {}, "S3Key": {} } }, - "S2x": { + "S31": { "type": "structure", "members": { "PackageID": {}, @@ -1887,7 +1969,7 @@ } } }, - "S36": { + "S3a": { "type": "structure", "members": { "SourceDomainInfo": { @@ -1899,11 +1981,11 @@ "CrossClusterSearchConnectionId": {}, "ConnectionAlias": {}, "ConnectionStatus": { - "shape": "S2p" + "shape": "S2t" } } }, - "S3q": { + "S45": { "type": "structure", "members": { "ElasticsearchVersion": { @@ -1915,7 +1997,7 @@ "members": { "Options": {}, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -1930,7 +2012,7 @@ "shape": "S14" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -1945,7 +2027,7 @@ "shape": "S1a" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -1958,7 +2040,7 @@ "members": { "Options": {}, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -1973,7 +2055,7 @@ "shape": "S1d" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -1988,7 +2070,7 @@ "shape": "S2h" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -2003,7 +2085,7 @@ "shape": "S1g" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -2018,7 +2100,7 @@ "shape": "S1k" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -2033,7 +2115,7 @@ "shape": "S1m" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -2048,7 +2130,7 @@ "shape": "S1n" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -2059,7 +2141,7 @@ "shape": "S1o" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -2074,7 +2156,7 @@ "shape": "S1s" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -2089,7 +2171,7 @@ "shape": "S2i" }, "Status": { - "shape": "S3s" + "shape": "S47" } } }, @@ -2097,7 +2179,7 @@ "type": "structure", "members": { "Options": { - "shape": "S49" + "shape": "S4n" }, "Status": { "type": "structure", @@ -2124,10 +2206,13 @@ } } } + }, + "ChangeProgressDetails": { + "shape": "S2n" } } }, - "S3s": { + "S47": { "type": "structure", "required": [ "CreationDate", @@ -2150,7 +2235,7 @@ } } }, - "S49": { + "S4n": { "type": "structure", "members": { "DesiredState": {}, @@ -2160,11 +2245,11 @@ } } }, - "S4s": { + "S56": { "type": "list", "member": {} }, - "S51": { + "S5f": { "type": "list", "member": { "type": "structure", @@ -2177,7 +2262,7 @@ } } }, - "S5q": { + "S63": { "type": "list", "member": { "type": "structure", @@ -2189,11 +2274,11 @@ } } }, - "S63": { + "S6g": { "type": "list", "member": {} }, - "S6u": { + "S77": { "type": "list", "member": { "shape": "Sl" diff --git a/node_modules/aws-sdk/apis/fis-2020-12-01.min.json b/node_modules/aws-sdk/apis/fis-2020-12-01.min.json index 51798d198..01d9f7050 100644 --- a/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +++ b/node_modules/aws-sdk/apis/fis-2020-12-01.min.json @@ -65,7 +65,10 @@ "filters": { "shape": "Sh" }, - "selectionMode": {} + "selectionMode": {}, + "parameters": { + "shape": "Sn" + } } } }, @@ -81,13 +84,13 @@ "actionId": {}, "description": {}, "parameters": { - "shape": "Ss" + "shape": "Sv" }, "targets": { - "shape": "Sv" + "shape": "Sy" }, "startAfter": { - "shape": "Sx" + "shape": "S10" } } } @@ -102,7 +105,7 @@ "type": "structure", "members": { "experimentTemplate": { - "shape": "S11" + "shape": "S14" } } } @@ -129,7 +132,7 @@ "type": "structure", "members": { "experimentTemplate": { - "shape": "S11" + "shape": "S14" } } } @@ -174,7 +177,7 @@ } }, "targets": { - "shape": "S1o" + "shape": "S1r" }, "tags": { "shape": "Se" @@ -206,7 +209,7 @@ "type": "structure", "members": { "experiment": { - "shape": "S1v" + "shape": "S1x" } } } @@ -233,7 +236,51 @@ "type": "structure", "members": { "experimentTemplate": { - "shape": "S11" + "shape": "S14" + } + } + } + }, + "GetTargetResourceType": { + "http": { + "method": "GET", + "requestUri": "/targetResourceTypes/{resourceType}", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "resourceType" + ], + "members": { + "resourceType": { + "location": "uri", + "locationName": "resourceType" + } + } + }, + "output": { + "type": "structure", + "members": { + "targetResourceType": { + "type": "structure", + "members": { + "resourceType": {}, + "description": {}, + "parameters": { + "type": "map", + "key": {}, + "value": { + "type": "structure", + "members": { + "description": {}, + "required": { + "type": "boolean" + } + } + } + } + } } } } @@ -269,7 +316,7 @@ "id": {}, "description": {}, "targets": { - "shape": "S1o" + "shape": "S1r" }, "tags": { "shape": "Se" @@ -358,7 +405,7 @@ "id": {}, "experimentTemplateId": {}, "state": { - "shape": "S1w" + "shape": "S1y" }, "creationTime": { "type": "timestamp" @@ -400,6 +447,43 @@ } } }, + "ListTargetResourceTypes": { + "http": { + "method": "GET", + "requestUri": "/targetResourceTypes", + "responseCode": 200 + }, + "input": { + "type": "structure", + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "members": { + "targetResourceTypes": { + "type": "list", + "member": { + "type": "structure", + "members": { + "resourceType": {}, + "description": {} + } + } + }, + "nextToken": {} + } + } + }, "StartExperiment": { "http": { "requestUri": "/experiments", @@ -425,7 +509,7 @@ "type": "structure", "members": { "experiment": { - "shape": "S1v" + "shape": "S1x" } } } @@ -452,7 +536,7 @@ "type": "structure", "members": { "experiment": { - "shape": "S1v" + "shape": "S1x" } } } @@ -562,7 +646,10 @@ "filters": { "shape": "Sh" }, - "selectionMode": {} + "selectionMode": {}, + "parameters": { + "shape": "Sn" + } } } }, @@ -575,13 +662,13 @@ "actionId": {}, "description": {}, "parameters": { - "shape": "Ss" + "shape": "Sv" }, "targets": { - "shape": "Sv" + "shape": "Sy" }, "startAfter": { - "shape": "Sx" + "shape": "S10" } } } @@ -593,7 +680,7 @@ "type": "structure", "members": { "experimentTemplate": { - "shape": "S11" + "shape": "S14" } } } @@ -629,7 +716,7 @@ "type": "list", "member": {} }, - "Ss": { + "Sn": { "type": "map", "key": {}, "value": {} @@ -639,11 +726,16 @@ "key": {}, "value": {} }, - "Sx": { + "Sy": { + "type": "map", + "key": {}, + "value": {} + }, + "S10": { "type": "list", "member": {} }, - "S11": { + "S14": { "type": "structure", "members": { "id": {}, @@ -673,7 +765,10 @@ } } }, - "selectionMode": {} + "selectionMode": {}, + "parameters": { + "shape": "Sn" + } } } }, @@ -686,13 +781,13 @@ "actionId": {}, "description": {}, "parameters": { - "shape": "Ss" + "shape": "Sv" }, "targets": { - "shape": "Sv" + "shape": "Sy" }, "startAfter": { - "shape": "Sx" + "shape": "S10" } } } @@ -719,7 +814,7 @@ } } }, - "S1o": { + "S1r": { "type": "map", "key": {}, "value": { @@ -729,14 +824,14 @@ } } }, - "S1v": { + "S1x": { "type": "structure", "members": { "id": {}, "experimentTemplateId": {}, "roleArn": {}, "state": { - "shape": "S1w" + "shape": "S1y" }, "targets": { "type": "map", @@ -764,7 +859,12 @@ } } }, - "selectionMode": {} + "selectionMode": {}, + "parameters": { + "type": "map", + "key": {}, + "value": {} + } } } }, @@ -796,6 +896,12 @@ "status": {}, "reason": {} } + }, + "startTime": { + "type": "timestamp" + }, + "endTime": { + "type": "timestamp" } } } @@ -824,7 +930,7 @@ } } }, - "S1w": { + "S1y": { "type": "structure", "members": { "status": {}, diff --git a/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json b/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json index 325359fe4..905d0ae99 100644 --- a/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +++ b/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json @@ -14,6 +14,11 @@ "input_token": "nextToken", "output_token": "nextToken", "limit_key": "maxResults" + }, + "ListTargetResourceTypes": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" } } } diff --git a/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json b/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json index c53484c72..cd7c1b532 100644 --- a/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json +++ b/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json @@ -1080,6 +1080,142 @@ } } }, + "GetEventPredictionMetadata": { + "input": { + "type": "structure", + "required": [ + "eventId", + "eventTypeName", + "detectorId", + "detectorVersionId", + "predictionTimestamp" + ], + "members": { + "eventId": {}, + "eventTypeName": {}, + "detectorId": {}, + "detectorVersionId": {}, + "predictionTimestamp": {} + } + }, + "output": { + "type": "structure", + "members": { + "eventId": {}, + "eventTypeName": {}, + "entityId": {}, + "entityType": {}, + "eventTimestamp": {}, + "detectorId": {}, + "detectorVersionId": {}, + "detectorVersionStatus": {}, + "eventVariables": { + "type": "list", + "member": { + "type": "structure", + "members": { + "name": { + "shape": "S52" + }, + "value": { + "shape": "S52" + }, + "source": { + "shape": "S52" + } + } + } + }, + "rules": { + "type": "list", + "member": { + "type": "structure", + "members": { + "ruleId": {}, + "ruleVersion": {}, + "expression": { + "shape": "S52" + }, + "expressionWithValues": { + "shape": "S52" + }, + "outcomes": { + "shape": "S12" + }, + "evaluated": { + "type": "boolean" + }, + "matched": { + "type": "boolean" + } + } + } + }, + "ruleExecutionMode": {}, + "outcomes": { + "shape": "S12" + }, + "evaluatedModelVersions": { + "type": "list", + "member": { + "type": "structure", + "members": { + "modelId": {}, + "modelVersion": {}, + "modelType": {}, + "evaluations": { + "type": "list", + "member": { + "type": "structure", + "members": { + "outputVariableName": {}, + "evaluationScore": {}, + "predictionExplanations": { + "type": "structure", + "members": { + "variableImpactExplanations": { + "type": "list", + "member": { + "type": "structure", + "members": { + "eventVariableName": {}, + "relativeImpact": {}, + "logOddsImpact": { + "type": "float" + } + } + } + } + } + } + } + } + } + } + } + }, + "evaluatedExternalModels": { + "type": "list", + "member": { + "type": "structure", + "members": { + "modelEndpoint": {}, + "useEventVariables": { + "type": "boolean" + }, + "inputVariables": { + "shape": "S5f" + }, + "outputVariables": { + "shape": "S5f" + } + } + } + }, + "predictionTimestamp": {} + } + } + }, "GetEventTypes": { "input": { "type": "structure", @@ -1159,10 +1295,10 @@ "modelSource": {}, "invokeModelEndpointRoleArn": {}, "inputConfiguration": { - "shape": "S5b" + "shape": "S5t" }, "outputConfiguration": { - "shape": "S5f" + "shape": "S5x" }, "modelEndpointStatus": {}, "lastUpdatedTime": {}, @@ -1385,6 +1521,60 @@ } } }, + "ListEventPredictions": { + "input": { + "type": "structure", + "members": { + "eventId": { + "shape": "S6u" + }, + "eventType": { + "shape": "S6u" + }, + "detectorId": { + "shape": "S6u" + }, + "detectorVersionId": { + "shape": "S6u" + }, + "predictionTimeRange": { + "type": "structure", + "required": [ + "startTime", + "endTime" + ], + "members": { + "startTime": {}, + "endTime": {} + } + }, + "nextToken": {}, + "maxResults": { + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "eventPredictionSummaries": { + "type": "list", + "member": { + "type": "structure", + "members": { + "eventId": {}, + "eventTypeName": {}, + "eventTimestamp": {}, + "predictionTimestamp": {}, + "detectorId": {}, + "detectorVersionId": {} + } + } + }, + "nextToken": {} + } + } + }, "ListTagsForResource": { "input": { "type": "structure", @@ -1496,10 +1686,10 @@ "modelSource": {}, "invokeModelEndpointRoleArn": {}, "inputConfiguration": { - "shape": "S5b" + "shape": "S5t" }, "outputConfiguration": { - "shape": "S5f" + "shape": "S5x" }, "modelEndpointStatus": {}, "tags": { @@ -2031,7 +2221,17 @@ "sensitive": true } }, - "S5b": { + "S52": { + "type": "string", + "sensitive": true + }, + "S5f": { + "type": "map", + "key": {}, + "value": {}, + "sensitive": true + }, + "S5t": { "type": "structure", "required": [ "useEventVariables" @@ -2046,7 +2246,7 @@ "csvInputTemplate": {} } }, - "S5f": { + "S5x": { "type": "structure", "required": [ "format" @@ -2064,6 +2264,12 @@ "value": {} } } + }, + "S6u": { + "type": "structure", + "members": { + "value": {} + } } } } \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json b/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json index cf1e32051..83158e239 100644 --- a/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json +++ b/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json @@ -60,6 +60,11 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "ListEventPredictions": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, "ListTagsForResource": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json b/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json index 599fc0eb2..3ee39ad7b 100644 --- a/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +++ b/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json @@ -1208,7 +1208,10 @@ "FsxAdminPassword": { "shape": "S4z" }, - "WeeklyMaintenanceStartTime": {} + "WeeklyMaintenanceStartTime": {}, + "DiskIopsConfiguration": { + "shape": "S3l" + } } }, "OpenZFSConfiguration": { diff --git a/node_modules/aws-sdk/apis/glue-2017-03-31.min.json b/node_modules/aws-sdk/apis/glue-2017-03-31.min.json index 3605b9756..a0407c1ba 100644 --- a/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +++ b/node_modules/aws-sdk/apis/glue-2017-03-31.min.json @@ -4043,7 +4043,10 @@ "Name" ], "members": { - "Name": {} + "Name": {}, + "RunProperties": { + "shape": "S59" + } } }, "output": { @@ -4622,7 +4625,8 @@ "SkipArchive": { "type": "boolean" }, - "TransactionId": {} + "TransactionId": {}, + "VersionId": {} } }, "output": { @@ -6654,7 +6658,8 @@ "TargetTable": { "shape": "S9h" }, - "CatalogId": {} + "CatalogId": {}, + "VersionId": {} } }, "Sgz": { diff --git a/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json b/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json index 7d4cddf0a..66cb1f2ad 100644 --- a/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +++ b/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json @@ -96,7 +96,7 @@ "locationName": "dataSources" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -141,7 +141,7 @@ "type": "integer" }, "FindingCriteria": { - "shape": "So", + "shape": "Sq", "locationName": "findingCriteria" }, "ClientToken": { @@ -149,7 +149,7 @@ "locationName": "clientToken" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -203,7 +203,7 @@ "locationName": "clientToken" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -264,7 +264,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -291,7 +291,7 @@ "locationName": "destinationType" }, "DestinationProperties": { - "shape": "S1d", + "shape": "S1f", "locationName": "destinationProperties" }, "ClientToken": { @@ -376,7 +376,7 @@ "locationName": "clientToken" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -405,7 +405,7 @@ ], "members": { "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" } } @@ -417,7 +417,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -514,7 +514,7 @@ ], "members": { "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" } } @@ -526,7 +526,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -549,7 +549,7 @@ "locationName": "detectorId" }, "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" } } @@ -561,7 +561,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -675,6 +675,28 @@ "type": "boolean" } } + }, + "Kubernetes": { + "locationName": "kubernetes", + "type": "structure", + "required": [ + "AuditLogs" + ], + "members": { + "AuditLogs": { + "locationName": "auditLogs", + "type": "structure", + "required": [ + "AutoEnable" + ], + "members": { + "AutoEnable": { + "locationName": "autoEnable", + "type": "boolean" + } + } + } + } } } } @@ -728,7 +750,7 @@ "type": "long" }, "DestinationProperties": { - "shape": "S1d", + "shape": "S1f", "locationName": "destinationProperties" } } @@ -794,7 +816,7 @@ "locationName": "detectorId" }, "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" } } @@ -806,7 +828,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -874,11 +896,11 @@ "locationName": "updatedAt" }, "DataSources": { - "shape": "S2l", + "shape": "S2p", "locationName": "dataSources" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -929,11 +951,11 @@ "type": "integer" }, "FindingCriteria": { - "shape": "So", + "shape": "Sq", "locationName": "findingCriteria" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -960,7 +982,7 @@ "locationName": "findingIds" }, "SortCriteria": { - "shape": "S2u", + "shape": "S30", "locationName": "sortCriteria" } } @@ -1065,7 +1087,7 @@ } }, "Tags": { - "shape": "S36", + "shape": "S3c", "locationName": "tags" }, "DefaultServerSideEncryption": { @@ -1121,7 +1143,7 @@ } }, "BlockPublicAccess": { - "shape": "S3e", + "shape": "S3k", "locationName": "blockPublicAccess" } } @@ -1131,7 +1153,7 @@ "type": "structure", "members": { "BlockPublicAccess": { - "shape": "S3e", + "shape": "S3k", "locationName": "blockPublicAccess" } } @@ -1270,8 +1292,149 @@ } }, "Tags": { - "shape": "S36", + "shape": "S3c", + "locationName": "tags" + } + } + }, + "EksClusterDetails": { + "locationName": "eksClusterDetails", + "type": "structure", + "members": { + "Name": { + "locationName": "name" + }, + "Arn": { + "locationName": "arn" + }, + "VpcId": { + "locationName": "vpcId" + }, + "Status": { + "locationName": "status" + }, + "Tags": { + "shape": "S3c", "locationName": "tags" + }, + "CreatedAt": { + "locationName": "createdAt", + "type": "timestamp" + } + } + }, + "KubernetesDetails": { + "locationName": "kubernetesDetails", + "type": "structure", + "members": { + "KubernetesUserDetails": { + "locationName": "kubernetesUserDetails", + "type": "structure", + "members": { + "Username": { + "locationName": "username" + }, + "Uid": { + "locationName": "uid" + }, + "Groups": { + "locationName": "groups", + "type": "list", + "member": {} + } + } + }, + "KubernetesWorkloadDetails": { + "locationName": "kubernetesWorkloadDetails", + "type": "structure", + "members": { + "Name": { + "locationName": "name" + }, + "Type": { + "locationName": "type" + }, + "Uid": { + "locationName": "uid" + }, + "Namespace": { + "locationName": "namespace" + }, + "HostNetwork": { + "locationName": "hostNetwork", + "type": "boolean" + }, + "Containers": { + "locationName": "containers", + "type": "list", + "member": { + "type": "structure", + "members": { + "ContainerRuntime": { + "locationName": "containerRuntime" + }, + "Id": { + "locationName": "id" + }, + "Name": { + "locationName": "name" + }, + "Image": { + "locationName": "image" + }, + "ImagePrefix": { + "locationName": "imagePrefix" + }, + "VolumeMounts": { + "locationName": "volumeMounts", + "type": "list", + "member": { + "type": "structure", + "members": { + "Name": { + "locationName": "name" + }, + "MountPath": { + "locationName": "mountPath" + } + } + } + }, + "SecurityContext": { + "locationName": "securityContext", + "type": "structure", + "members": { + "Privileged": { + "locationName": "privileged", + "type": "boolean" + } + } + } + } + } + }, + "Volumes": { + "locationName": "volumes", + "type": "list", + "member": { + "type": "structure", + "members": { + "Name": { + "locationName": "name" + }, + "HostPath": { + "locationName": "hostPath", + "type": "structure", + "members": { + "Path": { + "locationName": "path" + } + } + } + } + } + } + } } } }, @@ -1316,12 +1479,28 @@ "ErrorCode": { "locationName": "errorCode" }, + "UserAgent": { + "locationName": "userAgent" + }, "RemoteIpDetails": { - "shape": "S3v", + "shape": "S4e", "locationName": "remoteIpDetails" }, "ServiceName": { "locationName": "serviceName" + }, + "RemoteAccountDetails": { + "locationName": "remoteAccountDetails", + "type": "structure", + "members": { + "AccountId": { + "locationName": "accountId" + }, + "Affiliated": { + "locationName": "affiliated", + "type": "boolean" + } + } } } }, @@ -1346,18 +1525,18 @@ "locationName": "connectionDirection" }, "LocalPortDetails": { - "shape": "S42", + "shape": "S4m", "locationName": "localPortDetails" }, "Protocol": { "locationName": "protocol" }, "LocalIpDetails": { - "shape": "S43", + "shape": "S4n", "locationName": "localIpDetails" }, "RemoteIpDetails": { - "shape": "S3v", + "shape": "S4e", "locationName": "remoteIpDetails" }, "RemotePortDetails": { @@ -1390,21 +1569,52 @@ "type": "structure", "members": { "LocalPortDetails": { - "shape": "S42", + "shape": "S4m", "locationName": "localPortDetails" }, "LocalIpDetails": { - "shape": "S43", + "shape": "S4n", "locationName": "localIpDetails" }, "RemoteIpDetails": { - "shape": "S3v", + "shape": "S4e", "locationName": "remoteIpDetails" } } } } } + }, + "KubernetesApiCallAction": { + "locationName": "kubernetesApiCallAction", + "type": "structure", + "members": { + "RequestUri": { + "locationName": "requestUri" + }, + "Verb": { + "locationName": "verb" + }, + "SourceIps": { + "locationName": "sourceIps", + "type": "list", + "member": {} + }, + "UserAgent": { + "locationName": "userAgent" + }, + "RemoteIpDetails": { + "shape": "S4e", + "locationName": "remoteIpDetails" + }, + "StatusCode": { + "locationName": "statusCode", + "type": "integer" + }, + "Parameters": { + "locationName": "parameters" + } + } } } }, @@ -1500,7 +1710,7 @@ "member": {} }, "FindingCriteria": { - "shape": "So", + "shape": "Sq", "locationName": "findingCriteria" } } @@ -1573,7 +1783,7 @@ "locationName": "status" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -1661,7 +1871,7 @@ "locationName": "detectorId" }, "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" } } @@ -1687,14 +1897,14 @@ "locationName": "accountId" }, "DataSources": { - "shape": "S2l", + "shape": "S2p", "locationName": "dataSources" } } } }, "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -1717,7 +1927,7 @@ "locationName": "detectorId" }, "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" } } @@ -1730,11 +1940,11 @@ ], "members": { "Members": { - "shape": "S4w", + "shape": "S5i", "locationName": "members" }, "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -1785,7 +1995,7 @@ "locationName": "status" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -1819,7 +2029,7 @@ ], "members": { "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" }, "DataSources": { @@ -1863,7 +2073,7 @@ "locationName": "accountId" }, "Total": { - "shape": "S5c", + "shape": "S5y", "locationName": "total" } } @@ -1879,18 +2089,18 @@ "locationName": "dataSource" }, "Total": { - "shape": "S5c", + "shape": "S5y", "locationName": "total" } } } }, "SumByResource": { - "shape": "S5f", + "shape": "S61", "locationName": "sumByResource" }, "TopResources": { - "shape": "S5f", + "shape": "S61", "locationName": "topResources" } } @@ -1918,7 +2128,7 @@ "locationName": "detectorId" }, "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" }, "DisableEmailNotification": { @@ -1937,7 +2147,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -2040,11 +2250,11 @@ "locationName": "detectorId" }, "FindingCriteria": { - "shape": "So", + "shape": "Sq", "locationName": "findingCriteria" }, "SortCriteria": { - "shape": "S2u", + "shape": "S30", "locationName": "sortCriteria" }, "MaxResults": { @@ -2201,7 +2411,7 @@ "type": "structure", "members": { "Members": { - "shape": "S4w", + "shape": "S5i", "locationName": "members" }, "NextToken": { @@ -2338,7 +2548,7 @@ "type": "structure", "members": { "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -2405,7 +2615,7 @@ "locationName": "detectorId" }, "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" } } @@ -2417,7 +2627,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -2440,7 +2650,7 @@ "locationName": "detectorId" }, "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" } } @@ -2452,7 +2662,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -2475,7 +2685,7 @@ "locationName": "resourceArn" }, "Tags": { - "shape": "Sf", + "shape": "Sh", "locationName": "tags" } } @@ -2606,7 +2816,7 @@ "type": "integer" }, "FindingCriteria": { - "shape": "So", + "shape": "Sq", "locationName": "findingCriteria" } } @@ -2711,7 +2921,7 @@ "locationName": "detectorId" }, "AccountIds": { - "shape": "S1n", + "shape": "S1p", "locationName": "accountIds" }, "DataSources": { @@ -2727,7 +2937,7 @@ ], "members": { "UnprocessedAccounts": { - "shape": "S19", + "shape": "S1b", "locationName": "unprocessedAccounts" } } @@ -2769,6 +2979,28 @@ "type": "boolean" } } + }, + "Kubernetes": { + "locationName": "kubernetes", + "type": "structure", + "required": [ + "AuditLogs" + ], + "members": { + "AuditLogs": { + "locationName": "auditLogs", + "type": "structure", + "required": [ + "AutoEnable" + ], + "members": { + "AutoEnable": { + "locationName": "autoEnable", + "type": "boolean" + } + } + } + } } } } @@ -2800,7 +3032,7 @@ "locationName": "destinationId" }, "DestinationProperties": { - "shape": "S1d", + "shape": "S1f", "locationName": "destinationProperties" } } @@ -2868,15 +3100,37 @@ "type": "boolean" } } + }, + "Kubernetes": { + "locationName": "kubernetes", + "type": "structure", + "required": [ + "AuditLogs" + ], + "members": { + "AuditLogs": { + "locationName": "auditLogs", + "type": "structure", + "required": [ + "Enable" + ], + "members": { + "Enable": { + "locationName": "enable", + "type": "boolean" + } + } + } + } } } }, - "Sf": { + "Sh": { "type": "map", "key": {}, "value": {} }, - "So": { + "Sq": { "type": "structure", "members": { "Criterion": { @@ -2949,7 +3203,7 @@ } } }, - "S19": { + "S1b": { "type": "list", "member": { "type": "structure", @@ -2967,7 +3221,7 @@ } } }, - "S1d": { + "S1f": { "type": "structure", "members": { "DestinationArn": { @@ -2978,11 +3232,11 @@ } } }, - "S1n": { + "S1p": { "type": "list", "member": {} }, - "S2l": { + "S2p": { "type": "structure", "required": [ "CloudTrail", @@ -3038,10 +3292,31 @@ "locationName": "status" } } + }, + "Kubernetes": { + "locationName": "kubernetes", + "type": "structure", + "required": [ + "AuditLogs" + ], + "members": { + "AuditLogs": { + "locationName": "auditLogs", + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": { + "locationName": "status" + } + } + } + } } } }, - "S2u": { + "S30": { "type": "structure", "members": { "AttributeName": { @@ -3052,7 +3327,7 @@ } } }, - "S36": { + "S3c": { "type": "list", "member": { "type": "structure", @@ -3066,7 +3341,7 @@ } } }, - "S3e": { + "S3k": { "type": "structure", "members": { "IgnorePublicAcls": { @@ -3087,7 +3362,7 @@ } } }, - "S3v": { + "S4e": { "type": "structure", "members": { "City": { @@ -3148,7 +3423,7 @@ } } }, - "S42": { + "S4m": { "type": "structure", "members": { "Port": { @@ -3160,7 +3435,7 @@ } } }, - "S43": { + "S4n": { "type": "structure", "members": { "IpAddressV4": { @@ -3168,7 +3443,7 @@ } } }, - "S4w": { + "S5i": { "type": "list", "member": { "type": "structure", @@ -3204,7 +3479,7 @@ } } }, - "S5c": { + "S5y": { "type": "structure", "members": { "Amount": { @@ -3215,7 +3490,7 @@ } } }, - "S5f": { + "S61": { "type": "list", "member": { "type": "structure", @@ -3224,7 +3499,7 @@ "locationName": "resource" }, "Total": { - "shape": "S5c", + "shape": "S5y", "locationName": "total" } } diff --git a/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json b/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json index 2b8511014..15f8df46a 100644 --- a/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json +++ b/node_modules/aws-sdk/apis/honeycode-2020-03-01.min.json @@ -68,7 +68,7 @@ "value": {} }, "failedBatchItems": { - "shape": "Se" + "shape": "Sf" } } } @@ -94,7 +94,7 @@ "locationName": "tableId" }, "rowIds": { - "shape": "Si" + "shape": "Sj" }, "clientRequestToken": {} } @@ -109,7 +109,7 @@ "type": "long" }, "failedBatchItems": { - "shape": "Se" + "shape": "Sf" } } } @@ -163,7 +163,7 @@ "type": "long" }, "failedBatchItems": { - "shape": "Se" + "shape": "Sf" } } } @@ -200,7 +200,7 @@ "members": { "batchItemId": {}, "filter": { - "shape": "Sr" + "shape": "Ss" }, "cellsToUpdate": { "shape": "S6" @@ -229,7 +229,7 @@ ], "members": { "rowIds": { - "shape": "Si" + "shape": "Sj" }, "upsertAction": {} } @@ -239,7 +239,7 @@ "type": "long" }, "failedBatchItems": { - "shape": "Se" + "shape": "Sf" } } } @@ -304,13 +304,14 @@ "type": "timestamp" }, "importOptions": { - "shape": "S17" + "shape": "S18" }, "dataSource": { - "shape": "S1h" + "shape": "S1i" } } - } + }, + "errorCode": {} } } }, @@ -330,7 +331,7 @@ "appId": {}, "screenId": {}, "variables": { - "shape": "S1l" + "shape": "S1n" }, "maxResults": { "type": "integer" @@ -348,7 +349,7 @@ "results": { "type": "map", "key": { - "shape": "S1t" + "shape": "S1v" }, "value": { "type": "structure", @@ -367,7 +368,7 @@ ], "members": { "name": { - "shape": "S1t" + "shape": "S1v" }, "format": {} } @@ -437,7 +438,7 @@ "locationName": "automationId" }, "variables": { - "shape": "S1l" + "shape": "S1n" }, "rowId": {}, "clientRequestToken": {} @@ -525,7 +526,7 @@ "locationName": "tableId" }, "rowIds": { - "shape": "Si" + "shape": "Sj" }, "maxResults": { "type": "integer" @@ -542,13 +543,13 @@ ], "members": { "columnIds": { - "shape": "S2c" + "shape": "S2e" }, "rows": { - "shape": "S2d" + "shape": "S2f" }, "rowIdsNotFound": { - "shape": "Si" + "shape": "Sj" }, "nextToken": {}, "workbookCursor": { @@ -606,6 +607,32 @@ } } }, + "ListTagsForResource": { + "http": { + "method": "GET", + "requestUri": "/tags/{resourceArn}" + }, + "input": { + "type": "structure", + "required": [ + "resourceArn" + ], + "members": { + "resourceArn": { + "location": "uri", + "locationName": "resourceArn" + } + } + }, + "output": { + "type": "structure", + "members": { + "tags": { + "shape": "S2s" + } + } + } + }, "QueryTableRows": { "http": { "requestUri": "/workbooks/{workbookId}/tables/{tableId}/rows/query" @@ -627,7 +654,7 @@ "locationName": "tableId" }, "filterFormula": { - "shape": "Sr" + "shape": "Ss" }, "maxResults": { "type": "integer" @@ -644,10 +671,10 @@ ], "members": { "columnIds": { - "shape": "S2c" + "shape": "S2e" }, "rows": { - "shape": "S2d" + "shape": "S2f" }, "nextToken": {}, "workbookCursor": { @@ -676,7 +703,7 @@ "locationName": "workbookId" }, "dataSource": { - "shape": "S1h" + "shape": "S1i" }, "dataFormat": {}, "destinationTableId": { @@ -684,7 +711,7 @@ "locationName": "tableId" }, "importOptions": { - "shape": "S17" + "shape": "S18" }, "clientRequestToken": {} } @@ -700,6 +727,60 @@ "jobStatus": {} } } + }, + "TagResource": { + "http": { + "requestUri": "/tags/{resourceArn}" + }, + "input": { + "type": "structure", + "required": [ + "resourceArn", + "tags" + ], + "members": { + "resourceArn": { + "location": "uri", + "locationName": "resourceArn" + }, + "tags": { + "shape": "S2s" + } + } + }, + "output": { + "type": "structure", + "members": {} + } + }, + "UntagResource": { + "http": { + "method": "DELETE", + "requestUri": "/tags/{resourceArn}" + }, + "input": { + "type": "structure", + "required": [ + "resourceArn", + "tagKeys" + ], + "members": { + "resourceArn": { + "location": "uri", + "locationName": "resourceArn" + }, + "tagKeys": { + "location": "querystring", + "locationName": "tagKeys", + "type": "list", + "member": {} + } + } + }, + "output": { + "type": "structure", + "members": {} + } } }, "shapes": { @@ -710,13 +791,22 @@ "type": "structure", "members": { "fact": { - "type": "string", - "sensitive": true + "shape": "S8" + }, + "facts": { + "type": "list", + "member": { + "shape": "S8" + } } } } }, - "Se": { + "S8": { + "type": "string", + "sensitive": true + }, + "Sf": { "type": "list", "member": { "type": "structure", @@ -730,27 +820,27 @@ } } }, - "Si": { + "Sj": { "type": "list", "member": {} }, - "Sr": { + "Ss": { "type": "structure", "required": [ "formula" ], "members": { "formula": { - "shape": "Ss" + "shape": "St" }, "contextRowId": {} } }, - "Ss": { + "St": { "type": "string", "sensitive": true }, - "S17": { + "S18": { "type": "structure", "members": { "destinationOptions": { @@ -788,7 +878,7 @@ } } }, - "S1h": { + "S1i": { "type": "structure", "required": [ "dataSourceConfig" @@ -797,12 +887,15 @@ "dataSourceConfig": { "type": "structure", "members": { - "dataSourceUrl": {} + "dataSourceUrl": { + "type": "string", + "sensitive": true + } } } } }, - "S1l": { + "S1n": { "type": "map", "key": { "type": "string", @@ -820,15 +913,15 @@ }, "sensitive": true }, - "S1t": { + "S1v": { "type": "string", "sensitive": true }, - "S2c": { + "S2e": { "type": "list", "member": {} }, - "S2d": { + "S2f": { "type": "list", "member": { "type": "structure", @@ -844,17 +937,26 @@ "type": "structure", "members": { "formula": { - "shape": "Ss" + "shape": "St" }, "format": {}, "rawValue": {}, - "formattedValue": {} + "formattedValue": {}, + "formattedValues": { + "type": "list", + "member": {} + } }, "sensitive": true } } } } + }, + "S2s": { + "type": "map", + "key": {}, + "value": {} } } } \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json b/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json index 96f54f506..fe321eefc 100644 --- a/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +++ b/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json @@ -599,6 +599,38 @@ "members": {} } }, + "DeleteQueuedMessages": { + "http": { + "method": "DELETE", + "requestUri": "/wireless-devices/{Id}/data", + "responseCode": 204 + }, + "input": { + "type": "structure", + "required": [ + "Id", + "MessageId" + ], + "members": { + "Id": { + "location": "uri", + "locationName": "Id" + }, + "MessageId": { + "location": "querystring", + "locationName": "messageId" + }, + "WirelessDeviceType": { + "location": "querystring", + "locationName": "WirelessDeviceType" + } + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "DeleteServiceProfile": { "http": { "method": "DELETE", @@ -983,7 +1015,7 @@ "members": { "RfRegion": {}, "StartTime": { - "shape": "S55" + "shape": "S58" } } }, @@ -1010,10 +1042,10 @@ "members": { "DefaultLogLevel": {}, "WirelessGatewayLogOptions": { - "shape": "S5a" + "shape": "S5d" }, "WirelessDeviceLogOptions": { - "shape": "S5g" + "shape": "S5j" } } } @@ -1083,7 +1115,7 @@ "type": "structure", "members": { "LoRaWAN": { - "shape": "S5t" + "shape": "S5w" } } } @@ -1110,13 +1142,13 @@ "type": "structure", "members": { "TraceContent": { - "shape": "S61" + "shape": "S64" }, "WirelessDevices": { - "shape": "S63" + "shape": "S66" }, "WirelessGateways": { - "shape": "S64" + "shape": "S67" } } } @@ -1147,7 +1179,7 @@ "type": "structure", "members": { "Sidewalk": { - "shape": "S67" + "shape": "S6a" }, "AccountLinked": { "type": "boolean" @@ -1185,10 +1217,10 @@ "type": "structure", "members": { "DeviceRegistrationState": { - "shape": "S6f" + "shape": "S6i" }, "Proximity": { - "shape": "S6i" + "shape": "S6l" } } } @@ -1371,7 +1403,7 @@ "SidewalkId": {}, "SidewalkManufacturingSn": {}, "DeviceCertificates": { - "shape": "S7k" + "shape": "S7n" } } } @@ -1844,7 +1876,60 @@ "Sidewalk": { "type": "list", "member": { - "shape": "S67" + "shape": "S6a" + } + } + } + } + }, + "ListQueuedMessages": { + "http": { + "method": "GET", + "requestUri": "/wireless-devices/{Id}/data" + }, + "input": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "location": "uri", + "locationName": "Id" + }, + "NextToken": { + "location": "querystring", + "locationName": "nextToken" + }, + "MaxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "WirelessDeviceType": { + "location": "querystring", + "locationName": "WirelessDeviceType" + } + } + }, + "output": { + "type": "structure", + "members": { + "NextToken": {}, + "DownlinkQueueMessagesList": { + "type": "list", + "member": { + "type": "structure", + "members": { + "MessageId": {}, + "TransmitMode": { + "type": "integer" + }, + "ReceivedAt": {}, + "LoRaWAN": { + "shape": "S9c" + } + } } } } @@ -1984,7 +2069,7 @@ "SidewalkId": {}, "SidewalkManufacturingSn": {}, "DeviceCertificates": { - "shape": "S7k" + "shape": "S7n" } } }, @@ -2230,12 +2315,7 @@ "type": "structure", "members": { "LoRaWAN": { - "type": "structure", - "members": { - "FPort": { - "type": "integer" - } - } + "shape": "S9c" }, "Sidewalk": { "type": "structure", @@ -2330,7 +2410,7 @@ "type": "structure", "members": { "StartTime": { - "shape": "S55" + "shape": "S58" } } } @@ -2359,7 +2439,7 @@ "locationName": "Id" }, "LoRaWAN": { - "shape": "S5t" + "shape": "S5w" } } }, @@ -2515,10 +2595,10 @@ "members": { "DefaultLogLevel": {}, "WirelessDeviceLogOptions": { - "shape": "S5g" + "shape": "S5j" }, "WirelessGatewayLogOptions": { - "shape": "S5a" + "shape": "S5d" } } }, @@ -2572,19 +2652,19 @@ "locationName": "ConfigurationName" }, "TraceContent": { - "shape": "S61" + "shape": "S64" }, "WirelessDevicesToAdd": { - "shape": "S63" + "shape": "S66" }, "WirelessDevicesToRemove": { - "shape": "S63" + "shape": "S66" }, "WirelessGatewaysToAdd": { - "shape": "S64" + "shape": "S67" }, "WirelessGatewaysToRemove": { - "shape": "S64" + "shape": "S67" } } }, @@ -2656,10 +2736,10 @@ "locationName": "partnerType" }, "DeviceRegistrationState": { - "shape": "S6f" + "shape": "S6i" }, "Proximity": { - "shape": "S6i" + "shape": "S6l" } } }, @@ -2959,11 +3039,11 @@ "Station": {} } }, - "S55": { + "S58": { "type": "timestamp", "timestampFormat": "iso8601" }, - "S5a": { + "S5d": { "type": "list", "member": { "type": "structure", @@ -2991,7 +3071,7 @@ } } }, - "S5g": { + "S5j": { "type": "list", "member": { "type": "structure", @@ -3019,7 +3099,7 @@ } } }, - "S5t": { + "S5w": { "type": "structure", "members": { "DlDr": { @@ -3037,22 +3117,22 @@ } } }, - "S61": { + "S64": { "type": "structure", "members": { "WirelessDeviceFrameInfo": {}, "LogLevel": {} } }, - "S63": { + "S66": { "type": "list", "member": {} }, - "S64": { + "S67": { "type": "list", "member": {} }, - "S67": { + "S6a": { "type": "structure", "members": { "AmazonId": {}, @@ -3063,29 +3143,29 @@ "Arn": {} } }, - "S6f": { + "S6i": { "type": "structure", "members": { "Sidewalk": { - "shape": "S6g" + "shape": "S6j" } } }, - "S6g": { + "S6j": { "type": "structure", "members": { "AmazonIdEventTopic": {} } }, - "S6i": { + "S6l": { "type": "structure", "members": { "Sidewalk": { - "shape": "S6g" + "shape": "S6j" } } }, - "S7k": { + "S7n": { "type": "list", "member": { "type": "structure", @@ -3098,6 +3178,14 @@ "Value": {} } } + }, + "S9c": { + "type": "structure", + "members": { + "FPort": { + "type": "integer" + } + } } } } \ No newline at end of file diff --git a/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json b/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json index f489332c6..d8018e602 100644 --- a/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json +++ b/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json @@ -25,6 +25,11 @@ "output_token": "NextToken", "limit_key": "MaxResults" }, + "ListQueuedMessages": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListServiceProfiles": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json b/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json index 7d3fdcadc..556d86fd8 100644 --- a/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json +++ b/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json @@ -126,6 +126,9 @@ "name": {}, "tags": { "shape": "Sd" + }, + "thumbnailConfiguration": { + "shape": "S11" } } }, @@ -133,7 +136,7 @@ "type": "structure", "members": { "recordingConfiguration": { - "shape": "S12" + "shape": "S15" } } } @@ -269,7 +272,7 @@ "type": "structure", "members": { "keyPair": { - "shape": "S1h" + "shape": "S1k" } } } @@ -292,7 +295,7 @@ "type": "structure", "members": { "recordingConfiguration": { - "shape": "S12" + "shape": "S15" } } } @@ -321,7 +324,7 @@ "health": {}, "playbackUrl": {}, "startTime": { - "shape": "S1q" + "shape": "S1t" }, "state": {}, "streamId": {}, @@ -381,7 +384,7 @@ "shape": "S6" }, "endTime": { - "shape": "S1z" + "shape": "S22" }, "ingestConfiguration": { "type": "structure", @@ -425,10 +428,10 @@ } }, "recordingConfiguration": { - "shape": "S12" + "shape": "S15" }, "startTime": { - "shape": "S1z" + "shape": "S22" }, "streamId": {}, "truncatedEvents": { @@ -437,7 +440,7 @@ "type": "structure", "members": { "eventTime": { - "shape": "S1z" + "shape": "S22" }, "name": {}, "type": {} @@ -471,7 +474,7 @@ "type": "structure", "members": { "keyPair": { - "shape": "S1h" + "shape": "S1k" } } } @@ -675,13 +678,13 @@ "type": "structure", "members": { "endTime": { - "shape": "S1z" + "shape": "S22" }, "hasErrorEvent": { "type": "boolean" }, "startTime": { - "shape": "S1z" + "shape": "S22" }, "streamId": {} } @@ -725,7 +728,7 @@ "channelArn": {}, "health": {}, "startTime": { - "shape": "S1q" + "shape": "S1t" }, "state": {}, "streamId": {}, @@ -958,7 +961,16 @@ } } }, - "S12": { + "S11": { + "type": "structure", + "members": { + "recordingMode": {}, + "targetIntervalSeconds": { + "type": "long" + } + } + }, + "S15": { "type": "structure", "required": [ "arn", @@ -974,10 +986,13 @@ "state": {}, "tags": { "shape": "Sd" + }, + "thumbnailConfiguration": { + "shape": "S11" } } }, - "S1h": { + "S1k": { "type": "structure", "members": { "arn": {}, @@ -988,11 +1003,11 @@ } } }, - "S1q": { + "S1t": { "type": "timestamp", "timestampFormat": "iso8601" }, - "S1z": { + "S22": { "type": "timestamp", "timestampFormat": "iso8601" } diff --git a/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json b/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json index 60615fdbf..12f7d80a3 100644 --- a/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +++ b/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json @@ -60,32 +60,32 @@ "locationName": "brokerNodeGroupInfo" }, "ClientAuthentication": { - "shape": "Sg", + "shape": "Sj", "locationName": "clientAuthentication" }, "ClusterName": { "locationName": "clusterName" }, "ConfigurationInfo": { - "shape": "So", + "shape": "Sq", "locationName": "configurationInfo" }, "EncryptionInfo": { - "shape": "Sq", + "shape": "Ss", "locationName": "encryptionInfo" }, "EnhancedMonitoring": { "locationName": "enhancedMonitoring" }, "OpenMonitoring": { - "shape": "Sv", + "shape": "Sx", "locationName": "openMonitoring" }, "KafkaVersion": { "locationName": "kafkaVersion" }, "LoggingInfo": { - "shape": "S10", + "shape": "S12", "locationName": "loggingInfo" }, "NumberOfBrokerNodes": { @@ -93,7 +93,7 @@ "type": "integer" }, "Tags": { - "shape": "S16", + "shape": "S18", "locationName": "tags" } }, @@ -131,7 +131,7 @@ "locationName": "clusterName" }, "Tags": { - "shape": "S16", + "shape": "S18", "locationName": "tags" }, "Provisioned": { @@ -143,29 +143,29 @@ "locationName": "brokerNodeGroupInfo" }, "ClientAuthentication": { - "shape": "Sg", + "shape": "Sj", "locationName": "clientAuthentication" }, "ConfigurationInfo": { - "shape": "So", + "shape": "Sq", "locationName": "configurationInfo" }, "EncryptionInfo": { - "shape": "Sq", + "shape": "Ss", "locationName": "encryptionInfo" }, "EnhancedMonitoring": { "locationName": "enhancedMonitoring" }, "OpenMonitoring": { - "shape": "Sv", + "shape": "Sx", "locationName": "openMonitoring" }, "KafkaVersion": { "locationName": "kafkaVersion" }, "LoggingInfo": { - "shape": "S10", + "shape": "S12", "locationName": "loggingInfo" }, "NumberOfBrokerNodes": { @@ -184,11 +184,11 @@ "type": "structure", "members": { "VpcConfigs": { - "shape": "S1c", + "shape": "S1e", "locationName": "vpcConfigs" }, "ClientAuthentication": { - "shape": "S1e", + "shape": "S1g", "locationName": "clientAuthentication" } }, @@ -254,11 +254,11 @@ "locationName": "arn" }, "CreationTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "creationTime" }, "LatestRevision": { - "shape": "S1m", + "shape": "S1o", "locationName": "latestRevision" }, "Name": { @@ -356,7 +356,7 @@ "type": "structure", "members": { "ClusterInfo": { - "shape": "S1u", + "shape": "S1w", "locationName": "clusterInfo" } } @@ -384,7 +384,7 @@ "type": "structure", "members": { "ClusterInfo": { - "shape": "S24", + "shape": "S25", "locationName": "clusterInfo" } } @@ -412,7 +412,7 @@ "type": "structure", "members": { "ClusterOperationInfo": { - "shape": "S29", + "shape": "S2a", "locationName": "clusterOperationInfo" } } @@ -443,7 +443,7 @@ "locationName": "arn" }, "CreationTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "creationTime" }, "Description": { @@ -454,7 +454,7 @@ "locationName": "kafkaVersions" }, "LatestRevision": { - "shape": "S1m", + "shape": "S1o", "locationName": "latestRevision" }, "Name": { @@ -497,7 +497,7 @@ "locationName": "arn" }, "CreationTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "creationTime" }, "Description": { @@ -666,7 +666,7 @@ "locationName": "clusterOperationInfoList", "type": "list", "member": { - "shape": "S29" + "shape": "S2a" } }, "NextToken": { @@ -706,7 +706,7 @@ "locationName": "clusterInfoList", "type": "list", "member": { - "shape": "S1u" + "shape": "S1w" } }, "NextToken": { @@ -750,7 +750,7 @@ "locationName": "clusterInfoList", "type": "list", "member": { - "shape": "S24" + "shape": "S25" } }, "NextToken": { @@ -796,7 +796,7 @@ "locationName": "revisions", "type": "list", "member": { - "shape": "S1m" + "shape": "S1o" } } } @@ -835,7 +835,7 @@ "locationName": "arn" }, "CreationTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "creationTime" }, "Description": { @@ -846,7 +846,7 @@ "locationName": "kafkaVersions" }, "LatestRevision": { - "shape": "S1m", + "shape": "S1o", "locationName": "latestRevision" }, "Name": { @@ -977,7 +977,7 @@ "locationName": "clientVpcIpAddress" }, "CurrentBrokerSoftwareInfo": { - "shape": "S1v", + "shape": "S1x", "locationName": "currentBrokerSoftwareInfo" }, "Endpoints": { @@ -1086,7 +1086,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S16", + "shape": "S18", "locationName": "tags" } } @@ -1140,7 +1140,7 @@ "locationName": "resourceArn" }, "Tags": { - "shape": "S16", + "shape": "S18", "locationName": "tags" } }, @@ -1269,7 +1269,7 @@ "locationName": "currentVersion" }, "TargetBrokerEBSVolumeInfo": { - "shape": "S2f", + "shape": "S2g", "locationName": "targetBrokerEBSVolumeInfo" } }, @@ -1324,7 +1324,7 @@ "locationName": "arn" }, "LatestRevision": { - "shape": "S1m", + "shape": "S1o", "locationName": "latestRevision" } } @@ -1344,7 +1344,7 @@ "locationName": "clusterArn" }, "ConnectivityInfo": { - "shape": "Se", + "shape": "Sh", "locationName": "connectivityInfo" }, "CurrentVersion": { @@ -1383,7 +1383,7 @@ "locationName": "clusterArn" }, "ConfigurationInfo": { - "shape": "So", + "shape": "Sq", "locationName": "configurationInfo" }, "CurrentVersion": { @@ -1422,7 +1422,7 @@ "locationName": "clusterArn" }, "ConfigurationInfo": { - "shape": "So", + "shape": "Sq", "locationName": "configurationInfo" }, "CurrentVersion": { @@ -1470,11 +1470,11 @@ "locationName": "enhancedMonitoring" }, "OpenMonitoring": { - "shape": "Sv", + "shape": "Sx", "locationName": "openMonitoring" }, "LoggingInfo": { - "shape": "S10", + "shape": "S12", "locationName": "loggingInfo" } }, @@ -1505,7 +1505,7 @@ "type": "structure", "members": { "ClientAuthentication": { - "shape": "Sg", + "shape": "Sj", "locationName": "clientAuthentication" }, "ClusterArn": { @@ -1516,7 +1516,7 @@ "locationName": "currentVersion" }, "EncryptionInfo": { - "shape": "Sq", + "shape": "Ss", "locationName": "encryptionInfo" } }, @@ -1585,6 +1585,10 @@ "locationName": "ebsStorageInfo", "type": "structure", "members": { + "ProvisionedThroughput": { + "shape": "Sd", + "locationName": "provisionedThroughput" + }, "VolumeSize": { "locationName": "volumeSize", "type": "integer" @@ -1594,7 +1598,7 @@ } }, "ConnectivityInfo": { - "shape": "Se", + "shape": "Sh", "locationName": "connectivityInfo" } }, @@ -1603,7 +1607,20 @@ "InstanceType" ] }, - "Se": { + "Sd": { + "type": "structure", + "members": { + "Enabled": { + "locationName": "enabled", + "type": "boolean" + }, + "VolumeThroughput": { + "locationName": "volumeThroughput", + "type": "integer" + } + } + }, + "Sh": { "type": "structure", "members": { "PublicAccess": { @@ -1617,7 +1634,7 @@ } } }, - "Sg": { + "Sj": { "type": "structure", "members": { "Sasl": { @@ -1635,7 +1652,7 @@ } }, "Iam": { - "shape": "Sk", + "shape": "Sm", "locationName": "iam" } } @@ -1666,7 +1683,7 @@ } } }, - "Sk": { + "Sm": { "type": "structure", "members": { "Enabled": { @@ -1675,7 +1692,7 @@ } } }, - "So": { + "Sq": { "type": "structure", "members": { "Arn": { @@ -1691,7 +1708,7 @@ "Arn" ] }, - "Sq": { + "Ss": { "type": "structure", "members": { "EncryptionAtRest": { @@ -1721,7 +1738,7 @@ } } }, - "Sv": { + "Sx": { "type": "structure", "members": { "Prometheus": { @@ -1761,7 +1778,7 @@ "Prometheus" ] }, - "S10": { + "S12": { "type": "structure", "members": { "BrokerLogs": { @@ -1826,12 +1843,12 @@ "BrokerLogs" ] }, - "S16": { + "S18": { "type": "map", "key": {}, "value": {} }, - "S1c": { + "S1e": { "type": "list", "member": { "type": "structure", @@ -1850,7 +1867,7 @@ ] } }, - "S1e": { + "S1g": { "type": "structure", "members": { "Sasl": { @@ -1858,22 +1875,22 @@ "type": "structure", "members": { "Iam": { - "shape": "Sk", + "shape": "Sm", "locationName": "iam" } } } } }, - "S1l": { + "S1n": { "type": "timestamp", "timestampFormat": "iso8601" }, - "S1m": { + "S1o": { "type": "structure", "members": { "CreationTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "creationTime" }, "Description": { @@ -1889,7 +1906,7 @@ "CreationTime" ] }, - "S1u": { + "S1w": { "type": "structure", "members": { "ActiveOperationArn": { @@ -1900,7 +1917,7 @@ "locationName": "brokerNodeGroupInfo" }, "ClientAuthentication": { - "shape": "Sg", + "shape": "Sj", "locationName": "clientAuthentication" }, "ClusterArn": { @@ -1910,29 +1927,29 @@ "locationName": "clusterName" }, "CreationTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "creationTime" }, "CurrentBrokerSoftwareInfo": { - "shape": "S1v", + "shape": "S1x", "locationName": "currentBrokerSoftwareInfo" }, "CurrentVersion": { "locationName": "currentVersion" }, "EncryptionInfo": { - "shape": "Sq", + "shape": "Ss", "locationName": "encryptionInfo" }, "EnhancedMonitoring": { "locationName": "enhancedMonitoring" }, "OpenMonitoring": { - "shape": "S1w", + "shape": "S1y", "locationName": "openMonitoring" }, "LoggingInfo": { - "shape": "S10", + "shape": "S12", "locationName": "loggingInfo" }, "NumberOfBrokerNodes": { @@ -1943,11 +1960,11 @@ "locationName": "state" }, "StateInfo": { - "shape": "S21", + "shape": "S22", "locationName": "stateInfo" }, "Tags": { - "shape": "S16", + "shape": "S18", "locationName": "tags" }, "ZookeeperConnectString": { @@ -1958,7 +1975,7 @@ } } }, - "S1v": { + "S1x": { "type": "structure", "members": { "ConfigurationArn": { @@ -1973,7 +1990,7 @@ } } }, - "S1w": { + "S1y": { "type": "structure", "members": { "Prometheus": { @@ -2013,7 +2030,7 @@ "Prometheus" ] }, - "S21": { + "S22": { "type": "structure", "members": { "Code": { @@ -2024,7 +2041,7 @@ } } }, - "S24": { + "S25": { "type": "structure", "members": { "ActiveOperationArn": { @@ -2040,7 +2057,7 @@ "locationName": "clusterName" }, "CreationTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "creationTime" }, "CurrentVersion": { @@ -2050,11 +2067,11 @@ "locationName": "state" }, "StateInfo": { - "shape": "S21", + "shape": "S22", "locationName": "stateInfo" }, "Tags": { - "shape": "S16", + "shape": "S18", "locationName": "tags" }, "Provisioned": { @@ -2066,26 +2083,26 @@ "locationName": "brokerNodeGroupInfo" }, "CurrentBrokerSoftwareInfo": { - "shape": "S1v", + "shape": "S1x", "locationName": "currentBrokerSoftwareInfo" }, "ClientAuthentication": { - "shape": "Sg", + "shape": "Sj", "locationName": "clientAuthentication" }, "EncryptionInfo": { - "shape": "Sq", + "shape": "Ss", "locationName": "encryptionInfo" }, "EnhancedMonitoring": { "locationName": "enhancedMonitoring" }, "OpenMonitoring": { - "shape": "Sv", + "shape": "Sx", "locationName": "openMonitoring" }, "LoggingInfo": { - "shape": "S10", + "shape": "S12", "locationName": "loggingInfo" }, "NumberOfBrokerNodes": { @@ -2109,11 +2126,11 @@ "type": "structure", "members": { "VpcConfigs": { - "shape": "S1c", + "shape": "S1e", "locationName": "vpcConfigs" }, "ClientAuthentication": { - "shape": "S1e", + "shape": "S1g", "locationName": "clientAuthentication" } }, @@ -2123,7 +2140,7 @@ } } }, - "S29": { + "S2a": { "type": "structure", "members": { "ClientRequestId": { @@ -2133,11 +2150,11 @@ "locationName": "clusterArn" }, "CreationTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "creationTime" }, "EndTime": { - "shape": "S1l", + "shape": "S1n", "locationName": "endTime" }, "ErrorInfo": { @@ -2183,24 +2200,24 @@ "locationName": "operationType" }, "SourceClusterInfo": { - "shape": "S2e", + "shape": "S2f", "locationName": "sourceClusterInfo" }, "TargetClusterInfo": { - "shape": "S2e", + "shape": "S2f", "locationName": "targetClusterInfo" } } }, - "S2e": { + "S2f": { "type": "structure", "members": { "BrokerEBSVolumeInfo": { - "shape": "S2f", + "shape": "S2g", "locationName": "brokerEBSVolumeInfo" }, "ConfigurationInfo": { - "shape": "So", + "shape": "Sq", "locationName": "configurationInfo" }, "NumberOfBrokerNodes": { @@ -2211,34 +2228,34 @@ "locationName": "enhancedMonitoring" }, "OpenMonitoring": { - "shape": "S1w", + "shape": "S1y", "locationName": "openMonitoring" }, "KafkaVersion": { "locationName": "kafkaVersion" }, "LoggingInfo": { - "shape": "S10", + "shape": "S12", "locationName": "loggingInfo" }, "InstanceType": { "locationName": "instanceType" }, "ClientAuthentication": { - "shape": "Sg", + "shape": "Sj", "locationName": "clientAuthentication" }, "EncryptionInfo": { - "shape": "Sq", + "shape": "Ss", "locationName": "encryptionInfo" }, "ConnectivityInfo": { - "shape": "Se", + "shape": "Sh", "locationName": "connectivityInfo" } } }, - "S2f": { + "S2g": { "type": "list", "member": { "type": "structure", @@ -2246,13 +2263,16 @@ "KafkaBrokerNodeId": { "locationName": "kafkaBrokerNodeId" }, + "ProvisionedThroughput": { + "shape": "Sd", + "locationName": "provisionedThroughput" + }, "VolumeSizeGB": { "locationName": "volumeSizeGB", "type": "integer" } }, "required": [ - "VolumeSizeGB", "KafkaBrokerNodeId" ] } diff --git a/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json b/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json index 2f02b0096..b471880bd 100644 --- a/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +++ b/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json @@ -280,7 +280,7 @@ "Schedule": {}, "RoleArn": {}, "Tags": { - "shape": "S5a" + "shape": "S5d" }, "ClientToken": { "idempotencyToken": true @@ -313,7 +313,7 @@ "IndexId": {}, "RoleArn": {}, "Configuration": { - "shape": "S5j" + "shape": "S5m" }, "Description": {}, "ClientToken": { @@ -349,7 +349,7 @@ }, "RoleArn": {}, "Tags": { - "shape": "S5a" + "shape": "S5d" }, "FileFormat": {}, "ClientToken": { @@ -377,21 +377,21 @@ "Edition": {}, "RoleArn": {}, "ServerSideEncryptionConfiguration": { - "shape": "S5y" + "shape": "S61" }, "Description": {}, "ClientToken": { "idempotencyToken": true }, "Tags": { - "shape": "S5a" + "shape": "S5d" }, "UserTokenConfigurations": { - "shape": "S60" + "shape": "S63" }, "UserContextPolicy": {}, "UserGroupResolutionConfiguration": { - "shape": "S6a" + "shape": "S6d" } } }, @@ -423,7 +423,7 @@ }, "RoleArn": {}, "Tags": { - "shape": "S5a" + "shape": "S5d" } } }, @@ -449,7 +449,7 @@ "Description": {}, "RoleArn": {}, "Tags": { - "shape": "S5a" + "shape": "S5d" }, "SourceS3Path": { "shape": "S1g" @@ -622,10 +622,10 @@ "IndexId": {}, "Name": {}, "Endpoints": { - "shape": "S70" + "shape": "S73" }, "Configuration": { - "shape": "S5j" + "shape": "S5m" }, "CreatedAt": { "type": "timestamp" @@ -694,7 +694,7 @@ "Edition": {}, "RoleArn": {}, "ServerSideEncryptionConfiguration": { - "shape": "S5y" + "shape": "S61" }, "Status": {}, "Description": {}, @@ -705,7 +705,7 @@ "type": "timestamp" }, "DocumentMetadataConfigurations": { - "shape": "S7b" + "shape": "S7e" }, "IndexStatistics": { "type": "structure", @@ -744,14 +744,14 @@ }, "ErrorMessage": {}, "CapacityUnits": { - "shape": "S7t" + "shape": "S7w" }, "UserTokenConfigurations": { - "shape": "S60" + "shape": "S63" }, "UserContextPolicy": {}, "UserGroupResolutionConfiguration": { - "shape": "S6a" + "shape": "S6d" } } } @@ -1051,7 +1051,7 @@ "type": "structure", "members": { "SnapShotTimeFilter": { - "shape": "S92" + "shape": "S95" }, "SnapshotsDataHeader": { "type": "list", @@ -1083,7 +1083,7 @@ "type": "integer" }, "StartTimeFilter": { - "shape": "S92" + "shape": "S95" }, "StatusFilter": {} } @@ -1230,19 +1230,19 @@ "type": "structure", "members": { "UserName": { - "shape": "S9t" + "shape": "S9w" }, "GroupName": { - "shape": "S9t" + "shape": "S9w" }, "IdentifiedUserName": { - "shape": "S9t" + "shape": "S9w" }, "FirstName": { - "shape": "S9t" + "shape": "S9w" }, "LastName": { - "shape": "S9t" + "shape": "S9w" } } } @@ -1282,7 +1282,7 @@ }, "Status": {}, "Endpoints": { - "shape": "S70" + "shape": "S73" } } } @@ -1464,7 +1464,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S5a" + "shape": "S5d" } } } @@ -1563,14 +1563,13 @@ "input": { "type": "structure", "required": [ - "IndexId", - "QueryText" + "IndexId" ], "members": { "IndexId": {}, "QueryText": {}, "AttributeFilter": { - "shape": "Sb0" + "shape": "Sb3" }, "Facets": { "type": "list", @@ -1597,7 +1596,7 @@ "members": { "Name": {}, "Relevance": { - "shape": "S7f" + "shape": "S7i" } } } @@ -1674,7 +1673,7 @@ "type": "structure", "members": { "TextWithHighlightsValue": { - "shape": "Sbo" + "shape": "Sbr" } } } @@ -1683,10 +1682,10 @@ }, "DocumentId": {}, "DocumentTitle": { - "shape": "Sbo" + "shape": "Sbr" }, "DocumentExcerpt": { - "shape": "Sbo" + "shape": "Sbr" }, "DocumentURI": {}, "DocumentAttributes": { @@ -1728,6 +1727,16 @@ }, "TotalNumberOfResults": { "type": "integer" + }, + "Warnings": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Message": {}, + "Code": {} + } + } } } } @@ -1817,7 +1826,7 @@ "members": { "ResourceARN": {}, "Tags": { - "shape": "S5a" + "shape": "S5d" } } }, @@ -1883,7 +1892,7 @@ "IndexId": {}, "RoleArn": {}, "Configuration": { - "shape": "S5j" + "shape": "S5m" }, "Description": {} } @@ -1901,17 +1910,17 @@ "RoleArn": {}, "Description": {}, "DocumentMetadataConfigurationUpdates": { - "shape": "S7b" + "shape": "S7e" }, "CapacityUnits": { - "shape": "S7t" + "shape": "S7w" }, "UserTokenConfigurations": { - "shape": "S60" + "shape": "S63" }, "UserContextPolicy": {}, "UserGroupResolutionConfiguration": { - "shape": "S6a" + "shape": "S6d" } } } @@ -2724,6 +2733,31 @@ "shape": "S2n" } } + }, + "FsxConfiguration": { + "type": "structure", + "required": [ + "FileSystemId", + "FileSystemType", + "VpcConfiguration" + ], + "members": { + "FileSystemId": {}, + "FileSystemType": {}, + "VpcConfiguration": { + "shape": "S2i" + }, + "SecretArn": {}, + "InclusionPatterns": { + "shape": "S29" + }, + "ExclusionPatterns": { + "shape": "S29" + }, + "FieldMappings": { + "shape": "S2n" + } + } } } }, @@ -2767,7 +2801,7 @@ "type": "list", "member": {} }, - "S5a": { + "S5d": { "type": "list", "member": { "type": "structure", @@ -2781,7 +2815,7 @@ } } }, - "S5j": { + "S5m": { "type": "structure", "members": { "ContentSourceConfiguration": { @@ -2808,7 +2842,7 @@ } } }, - "S5y": { + "S61": { "type": "structure", "members": { "KmsKeyId": { @@ -2817,7 +2851,7 @@ } } }, - "S60": { + "S63": { "type": "list", "member": { "type": "structure", @@ -2851,7 +2885,7 @@ } } }, - "S6a": { + "S6d": { "type": "structure", "required": [ "UserGroupResolutionMode" @@ -2860,7 +2894,7 @@ "UserGroupResolutionMode": {} } }, - "S70": { + "S73": { "type": "list", "member": { "type": "structure", @@ -2870,7 +2904,7 @@ } } }, - "S7b": { + "S7e": { "type": "list", "member": { "type": "structure", @@ -2882,7 +2916,7 @@ "Name": {}, "Type": {}, "Relevance": { - "shape": "S7f" + "shape": "S7i" }, "Search": { "type": "structure", @@ -2904,7 +2938,7 @@ } } }, - "S7f": { + "S7i": { "type": "structure", "members": { "Freshness": { @@ -2924,7 +2958,7 @@ } } }, - "S7t": { + "S7w": { "type": "structure", "required": [ "StorageCapacityUnits", @@ -2939,7 +2973,7 @@ } } }, - "S92": { + "S95": { "type": "structure", "members": { "StartTime": { @@ -2950,21 +2984,21 @@ } } }, - "S9t": { + "S9w": { "type": "string", "sensitive": true }, - "Sb0": { + "Sb3": { "type": "structure", "members": { "AndAllFilters": { - "shape": "Sb1" + "shape": "Sb4" }, "OrAllFilters": { - "shape": "Sb1" + "shape": "Sb4" }, "NotFilter": { - "shape": "Sb0" + "shape": "Sb3" }, "EqualsTo": { "shape": "Sw" @@ -2989,13 +3023,13 @@ } } }, - "Sb1": { + "Sb4": { "type": "list", "member": { - "shape": "Sb0" + "shape": "Sb3" } }, - "Sbo": { + "Sbr": { "type": "structure", "members": { "Text": {}, diff --git a/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json b/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json index cdd20f2b0..d5b1cff17 100644 --- a/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +++ b/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json @@ -1,5 +1,10 @@ { "pagination": { + "GetSnapshots": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListDataSourceSyncJobs": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json b/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json index 7c06b559d..3b051063c 100644 --- a/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +++ b/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json @@ -1292,7 +1292,6 @@ "required": [ "DatabaseName", "TableName", - "TransactionId", "WriteOperations" ], "members": { diff --git a/node_modules/aws-sdk/apis/location-2020-11-19.min.json b/node_modules/aws-sdk/apis/location-2020-11-19.min.json index a27096ce3..b805ab3bb 100644 --- a/node_modules/aws-sdk/apis/location-2020-11-19.min.json +++ b/node_modules/aws-sdk/apis/location-2020-11-19.min.json @@ -406,15 +406,7 @@ "locationName": "CalculatorName" }, "CarModeOptions": { - "type": "structure", - "members": { - "AvoidFerries": { - "type": "boolean" - }, - "AvoidTolls": { - "type": "boolean" - } - } + "shape": "S1m" }, "DepartNow": { "type": "boolean" @@ -434,39 +426,7 @@ }, "TravelMode": {}, "TruckModeOptions": { - "type": "structure", - "members": { - "AvoidFerries": { - "type": "boolean" - }, - "AvoidTolls": { - "type": "boolean" - }, - "Dimensions": { - "type": "structure", - "members": { - "Height": { - "type": "double" - }, - "Length": { - "type": "double" - }, - "Unit": {}, - "Width": { - "type": "double" - } - } - }, - "Weight": { - "type": "structure", - "members": { - "Total": { - "type": "double" - }, - "Unit": {} - } - } - } + "shape": "S1q" }, "WaypointPositions": { "type": "list", @@ -579,6 +539,122 @@ "hostPrefix": "routes." } }, + "CalculateRouteMatrix": { + "http": { + "requestUri": "/routes/v0/calculators/{CalculatorName}/calculate/route-matrix", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "CalculatorName", + "DeparturePositions", + "DestinationPositions" + ], + "members": { + "CalculatorName": { + "location": "uri", + "locationName": "CalculatorName" + }, + "CarModeOptions": { + "shape": "S1m" + }, + "DepartNow": { + "type": "boolean" + }, + "DeparturePositions": { + "type": "list", + "member": { + "shape": "So" + } + }, + "DepartureTime": { + "shape": "St" + }, + "DestinationPositions": { + "type": "list", + "member": { + "shape": "So" + } + }, + "DistanceUnit": {}, + "TravelMode": {}, + "TruckModeOptions": { + "shape": "S1q" + } + } + }, + "output": { + "type": "structure", + "required": [ + "RouteMatrix", + "Summary" + ], + "members": { + "RouteMatrix": { + "type": "list", + "member": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Distance": { + "type": "double" + }, + "DurationSeconds": { + "type": "double" + }, + "Error": { + "type": "structure", + "required": [ + "Code" + ], + "members": { + "Code": {}, + "Message": {} + } + } + } + } + } + }, + "SnappedDeparturePositions": { + "type": "list", + "member": { + "shape": "So" + } + }, + "SnappedDestinationPositions": { + "type": "list", + "member": { + "shape": "So" + } + }, + "Summary": { + "type": "structure", + "required": [ + "DataSource", + "DistanceUnit", + "ErrorCount", + "RouteCount" + ], + "members": { + "DataSource": {}, + "DistanceUnit": {}, + "ErrorCount": { + "type": "integer" + }, + "RouteCount": { + "type": "integer" + } + } + } + } + }, + "endpoint": { + "hostPrefix": "routes." + } + }, "CreateGeofenceCollection": { "http": { "requestUri": "/geofencing/v0/collections", @@ -593,10 +669,16 @@ "CollectionName": {}, "Description": {}, "KmsKeyId": {}, - "PricingPlan": {}, - "PricingPlanDataSource": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + }, + "PricingPlanDataSource": { + "deprecated": true, + "deprecatedMessage": "Deprecated. No longer allowed." + }, "Tags": { - "shape": "S2k" + "shape": "S30" } } }, @@ -633,13 +715,16 @@ ], "members": { "Configuration": { - "shape": "S2p" + "shape": "S35" }, "Description": {}, "MapName": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + }, "Tags": { - "shape": "S2k" + "shape": "S30" } } }, @@ -677,13 +762,16 @@ "members": { "DataSource": {}, "DataSourceConfiguration": { - "shape": "S2t" + "shape": "S39" }, "Description": {}, "IndexName": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + }, "Tags": { - "shape": "S2k" + "shape": "S30" } } }, @@ -722,9 +810,12 @@ "CalculatorName": {}, "DataSource": {}, "Description": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + }, "Tags": { - "shape": "S2k" + "shape": "S30" } } }, @@ -762,10 +853,16 @@ "Description": {}, "KmsKeyId": {}, "PositionFiltering": {}, - "PricingPlan": {}, - "PricingPlanDataSource": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + }, + "PricingPlanDataSource": { + "deprecated": true, + "deprecatedMessage": "Deprecated. No longer allowed." + }, "Tags": { - "shape": "S2k" + "shape": "S30" }, "TrackerName": {} } @@ -950,7 +1047,6 @@ "CollectionName", "CreateTime", "Description", - "PricingPlan", "UpdateTime" ], "members": { @@ -961,10 +1057,16 @@ }, "Description": {}, "KmsKeyId": {}, - "PricingPlan": {}, - "PricingPlanDataSource": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, + "PricingPlanDataSource": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Unused." + }, "Tags": { - "shape": "S2k" + "shape": "S30" }, "UpdateTime": { "shape": "St" @@ -1002,12 +1104,11 @@ "Description", "MapArn", "MapName", - "PricingPlan", "UpdateTime" ], "members": { "Configuration": { - "shape": "S2p" + "shape": "S35" }, "CreateTime": { "shape": "St" @@ -1016,9 +1117,12 @@ "Description": {}, "MapArn": {}, "MapName": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, "Tags": { - "shape": "S2k" + "shape": "S30" }, "UpdateTime": { "shape": "St" @@ -1056,7 +1160,6 @@ "Description", "IndexArn", "IndexName", - "PricingPlan", "UpdateTime" ], "members": { @@ -1065,14 +1168,17 @@ }, "DataSource": {}, "DataSourceConfiguration": { - "shape": "S2t" + "shape": "S39" }, "Description": {}, "IndexArn": {}, "IndexName": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, "Tags": { - "shape": "S2k" + "shape": "S30" }, "UpdateTime": { "shape": "St" @@ -1109,7 +1215,6 @@ "CreateTime", "DataSource", "Description", - "PricingPlan", "UpdateTime" ], "members": { @@ -1120,9 +1225,12 @@ }, "DataSource": {}, "Description": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, "Tags": { - "shape": "S2k" + "shape": "S30" }, "UpdateTime": { "shape": "St" @@ -1156,7 +1264,6 @@ "required": [ "CreateTime", "Description", - "PricingPlan", "TrackerArn", "TrackerName", "UpdateTime" @@ -1168,10 +1275,16 @@ "Description": {}, "KmsKeyId": {}, "PositionFiltering": {}, - "PricingPlan": {}, - "PricingPlanDataSource": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, + "PricingPlanDataSource": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Unused." + }, "Tags": { - "shape": "S2k" + "shape": "S30" }, "TrackerArn": {}, "TrackerName": {}, @@ -1621,7 +1734,6 @@ "CollectionName", "CreateTime", "Description", - "PricingPlan", "UpdateTime" ], "members": { @@ -1630,8 +1742,14 @@ "shape": "St" }, "Description": {}, - "PricingPlan": {}, - "PricingPlanDataSource": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, + "PricingPlanDataSource": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Unused." + }, "UpdateTime": { "shape": "St" } @@ -1731,7 +1849,6 @@ "DataSource", "Description", "MapName", - "PricingPlan", "UpdateTime" ], "members": { @@ -1741,7 +1858,10 @@ "DataSource": {}, "Description": {}, "MapName": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, "UpdateTime": { "shape": "St" } @@ -1784,7 +1904,6 @@ "DataSource", "Description", "IndexName", - "PricingPlan", "UpdateTime" ], "members": { @@ -1794,7 +1913,10 @@ "DataSource": {}, "Description": {}, "IndexName": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, "UpdateTime": { "shape": "St" } @@ -1837,7 +1959,6 @@ "CreateTime", "DataSource", "Description", - "PricingPlan", "UpdateTime" ], "members": { @@ -1847,7 +1968,10 @@ }, "DataSource": {}, "Description": {}, - "PricingPlan": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, "UpdateTime": { "shape": "St" } @@ -1883,7 +2007,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S2k" + "shape": "S30" } } }, @@ -1956,7 +2080,6 @@ "required": [ "CreateTime", "Description", - "PricingPlan", "TrackerName", "UpdateTime" ], @@ -1965,8 +2088,14 @@ "shape": "St" }, "Description": {}, - "PricingPlan": {}, - "PricingPlanDataSource": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Always returns RequestBasedUsage." + }, + "PricingPlanDataSource": { + "deprecated": true, + "deprecatedMessage": "Deprecated. Unused." + }, "TrackerName": {}, "UpdateTime": { "shape": "St" @@ -2074,7 +2203,7 @@ "type": "double" }, "Place": { - "shape": "S5l" + "shape": "S61" } } } @@ -2121,7 +2250,7 @@ "shape": "S2f" }, "FilterCountries": { - "shape": "S5r" + "shape": "S67" }, "IndexName": { "location": "uri", @@ -2171,7 +2300,7 @@ "shape": "S2f" }, "FilterCountries": { - "shape": "S5r" + "shape": "S67" }, "Language": {}, "MaxResults": { @@ -2208,7 +2337,7 @@ "shape": "S2f" }, "FilterCountries": { - "shape": "S5r" + "shape": "S67" }, "IndexName": { "location": "uri", @@ -2243,7 +2372,7 @@ "type": "double" }, "Place": { - "shape": "S5l" + "shape": "S61" }, "Relevance": { "type": "double" @@ -2266,7 +2395,7 @@ "shape": "S2f" }, "FilterCountries": { - "shape": "S5r" + "shape": "S67" }, "Language": {}, "MaxResults": { @@ -2304,7 +2433,7 @@ "locationName": "ResourceArn" }, "Tags": { - "shape": "S2k" + "shape": "S30" } } }, @@ -2367,8 +2496,14 @@ "locationName": "CollectionName" }, "Description": {}, - "PricingPlan": {}, - "PricingPlanDataSource": {} + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + }, + "PricingPlanDataSource": { + "deprecated": true, + "deprecatedMessage": "Deprecated. No longer allowed." + } } }, "output": { @@ -2408,7 +2543,10 @@ "location": "uri", "locationName": "MapName" }, - "PricingPlan": {} + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + } } }, "output": { @@ -2444,14 +2582,17 @@ ], "members": { "DataSourceConfiguration": { - "shape": "S2t" + "shape": "S39" }, "Description": {}, "IndexName": { "location": "uri", "locationName": "IndexName" }, - "PricingPlan": {} + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + } } }, "output": { @@ -2491,7 +2632,10 @@ "locationName": "CalculatorName" }, "Description": {}, - "PricingPlan": {} + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + } } }, "output": { @@ -2528,8 +2672,14 @@ "members": { "Description": {}, "PositionFiltering": {}, - "PricingPlan": {}, - "PricingPlanDataSource": {}, + "PricingPlan": { + "deprecated": true, + "deprecatedMessage": "Deprecated. If included, the only allowed value is RequestBasedUsage." + }, + "PricingPlanDataSource": { + "deprecated": true, + "deprecatedMessage": "Deprecated. No longer allowed." + }, "TrackerName": { "location": "uri", "locationName": "TrackerName" @@ -2659,6 +2809,52 @@ } } }, + "S1m": { + "type": "structure", + "members": { + "AvoidFerries": { + "type": "boolean" + }, + "AvoidTolls": { + "type": "boolean" + } + } + }, + "S1q": { + "type": "structure", + "members": { + "AvoidFerries": { + "type": "boolean" + }, + "AvoidTolls": { + "type": "boolean" + }, + "Dimensions": { + "type": "structure", + "members": { + "Height": { + "type": "double" + }, + "Length": { + "type": "double" + }, + "Unit": {}, + "Width": { + "type": "double" + } + } + }, + "Weight": { + "type": "structure", + "members": { + "Total": { + "type": "double" + }, + "Unit": {} + } + } + } + }, "S2f": { "type": "list", "member": { @@ -2666,12 +2862,12 @@ }, "sensitive": true }, - "S2k": { + "S30": { "type": "map", "key": {}, "value": {} }, - "S2p": { + "S35": { "type": "structure", "required": [ "Style" @@ -2680,13 +2876,13 @@ "Style": {} } }, - "S2t": { + "S39": { "type": "structure", "members": { "IntendedUse": {} } }, - "S5l": { + "S61": { "type": "structure", "required": [ "Geometry" @@ -2726,7 +2922,7 @@ } } }, - "S5r": { + "S67": { "type": "list", "member": {} } diff --git a/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json b/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json index 49cac52e1..85828710e 100644 --- a/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json +++ b/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json @@ -157,6 +157,24 @@ } } }, + "DeactivateAnomalyDetector": { + "http": { + "requestUri": "/DeactivateAnomalyDetector" + }, + "input": { + "type": "structure", + "required": [ + "AnomalyDetectorArn" + ], + "members": { + "AnomalyDetectorArn": {} + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "DeleteAlert": { "http": { "requestUri": "/DeleteAlert" @@ -304,7 +322,8 @@ }, "Status": {}, "FailureReason": {}, - "KmsKeyArn": {} + "KmsKeyArn": {}, + "FailureType": {} } } }, @@ -1071,9 +1090,6 @@ "members": { "S3SourceConfig": { "type": "structure", - "required": [ - "RoleArn" - ], "members": { "RoleArn": {}, "TemplatedPathList": { @@ -1089,10 +1105,6 @@ }, "AppFlowConfig": { "type": "structure", - "required": [ - "RoleArn", - "FlowName" - ], "members": { "RoleArn": {}, "FlowName": {} @@ -1100,25 +1112,12 @@ }, "CloudWatchConfig": { "type": "structure", - "required": [ - "RoleArn" - ], "members": { "RoleArn": {} } }, "RDSSourceConfig": { "type": "structure", - "required": [ - "DBInstanceIdentifier", - "DatabaseHost", - "DatabasePort", - "SecretManagerArn", - "DatabaseName", - "TableName", - "RoleArn", - "VpcConfiguration" - ], "members": { "DBInstanceIdentifier": {}, "DatabaseHost": {}, @@ -1136,16 +1135,6 @@ }, "RedshiftSourceConfig": { "type": "structure", - "required": [ - "ClusterIdentifier", - "DatabaseHost", - "DatabasePort", - "SecretManagerArn", - "DatabaseName", - "TableName", - "RoleArn", - "VpcConfiguration" - ], "members": { "ClusterIdentifier": {}, "DatabaseHost": {}, diff --git a/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json b/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json index cd11de8cb..dd5cc6309 100644 --- a/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json +++ b/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json @@ -1030,7 +1030,6 @@ "Greengrass": { "type": "structure", "required": [ - "CompilerOptions", "S3OutputLocation", "ComponentName" ], diff --git a/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json b/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json index 061999d20..39a045e91 100644 --- a/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +++ b/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json @@ -204,7 +204,11 @@ "shape": "S17", "locationName": "tags" } - } + }, + "required": [ + "name", + "regex" + ] }, "output": { "type": "structure", diff --git a/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json b/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json index 3c2fe8b7d..a40239e73 100644 --- a/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +++ b/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json @@ -103,11 +103,11 @@ "locationName": "statusUpdateInterval" }, "Tags": { - "shape": "Sj2", + "shape": "Sj8", "locationName": "tags" }, "UserMetadata": { - "shape": "Sj2", + "shape": "Sj8", "locationName": "userMetadata" } }, @@ -120,7 +120,7 @@ "type": "structure", "members": { "Job": { - "shape": "Sj4", + "shape": "Sja", "locationName": "job" } } @@ -159,14 +159,14 @@ "locationName": "queue" }, "Settings": { - "shape": "Sjk", + "shape": "Sjq", "locationName": "settings" }, "StatusUpdateInterval": { "locationName": "statusUpdateInterval" }, "Tags": { - "shape": "Sj2", + "shape": "Sj8", "locationName": "tags" } }, @@ -179,7 +179,7 @@ "type": "structure", "members": { "JobTemplate": { - "shape": "Sjo", + "shape": "Sju", "locationName": "jobTemplate" } } @@ -203,11 +203,11 @@ "locationName": "name" }, "Settings": { - "shape": "Sjr", + "shape": "Sjx", "locationName": "settings" }, "Tags": { - "shape": "Sj2", + "shape": "Sj8", "locationName": "tags" } }, @@ -220,7 +220,7 @@ "type": "structure", "members": { "Preset": { - "shape": "Sjv", + "shape": "Sk1", "locationName": "preset" } } @@ -244,14 +244,14 @@ "locationName": "pricingPlan" }, "ReservationPlanSettings": { - "shape": "Sjy", + "shape": "Sk4", "locationName": "reservationPlanSettings" }, "Status": { "locationName": "status" }, "Tags": { - "shape": "Sj2", + "shape": "Sj8", "locationName": "tags" } }, @@ -263,7 +263,7 @@ "type": "structure", "members": { "Queue": { - "shape": "Sk3", + "shape": "Sk9", "locationName": "queue" } } @@ -439,7 +439,7 @@ "type": "structure", "members": { "Job": { - "shape": "Sj4", + "shape": "Sja", "locationName": "job" } } @@ -467,7 +467,7 @@ "type": "structure", "members": { "JobTemplate": { - "shape": "Sjo", + "shape": "Sju", "locationName": "jobTemplate" } } @@ -487,7 +487,7 @@ "type": "structure", "members": { "Policy": { - "shape": "Skr", + "shape": "Skx", "locationName": "policy" } } @@ -515,7 +515,7 @@ "type": "structure", "members": { "Preset": { - "shape": "Sjv", + "shape": "Sk1", "locationName": "preset" } } @@ -543,7 +543,7 @@ "type": "structure", "members": { "Queue": { - "shape": "Sk3", + "shape": "Sk9", "locationName": "queue" } } @@ -588,7 +588,7 @@ "locationName": "jobTemplates", "type": "list", "member": { - "shape": "Sjo" + "shape": "Sju" } }, "NextToken": { @@ -636,7 +636,7 @@ "locationName": "jobs", "type": "list", "member": { - "shape": "Sj4" + "shape": "Sja" } }, "NextToken": { @@ -687,7 +687,7 @@ "locationName": "presets", "type": "list", "member": { - "shape": "Sjv" + "shape": "Sk1" } } } @@ -731,7 +731,7 @@ "locationName": "queues", "type": "list", "member": { - "shape": "Sk3" + "shape": "Sk9" } } } @@ -766,7 +766,7 @@ "locationName": "arn" }, "Tags": { - "shape": "Sj2", + "shape": "Sj8", "locationName": "tags" } } @@ -784,7 +784,7 @@ "type": "structure", "members": { "Policy": { - "shape": "Skr", + "shape": "Skx", "locationName": "policy" } }, @@ -796,7 +796,7 @@ "type": "structure", "members": { "Policy": { - "shape": "Skr", + "shape": "Skx", "locationName": "policy" } } @@ -814,7 +814,7 @@ "locationName": "arn" }, "Tags": { - "shape": "Sj2", + "shape": "Sj8", "locationName": "tags" } }, @@ -842,7 +842,7 @@ "location": "uri" }, "TagKeys": { - "shape": "Sj9", + "shape": "Sjf", "locationName": "tagKeys" } }, @@ -890,7 +890,7 @@ "locationName": "queue" }, "Settings": { - "shape": "Sjk", + "shape": "Sjq", "locationName": "settings" }, "StatusUpdateInterval": { @@ -905,7 +905,7 @@ "type": "structure", "members": { "JobTemplate": { - "shape": "Sjo", + "shape": "Sju", "locationName": "jobTemplate" } } @@ -931,7 +931,7 @@ "location": "uri" }, "Settings": { - "shape": "Sjr", + "shape": "Sjx", "locationName": "settings" } }, @@ -943,7 +943,7 @@ "type": "structure", "members": { "Preset": { - "shape": "Sjv", + "shape": "Sk1", "locationName": "preset" } } @@ -966,7 +966,7 @@ "location": "uri" }, "ReservationPlanSettings": { - "shape": "Sjy", + "shape": "Sk4", "locationName": "reservationPlanSettings" }, "Status": { @@ -981,7 +981,7 @@ "type": "structure", "members": { "Queue": { - "shape": "Sk3", + "shape": "Sk9", "locationName": "queue" } } @@ -1084,6 +1084,9 @@ "DenoiseFilter": { "locationName": "denoiseFilter" }, + "DolbyVisionMetadataXml": { + "locationName": "dolbyVisionMetadataXml" + }, "FileInput": { "locationName": "fileInput" }, @@ -1095,11 +1098,11 @@ "type": "integer" }, "ImageInserter": { - "shape": "S2j", + "shape": "S2k", "locationName": "imageInserter" }, "InputClippings": { - "shape": "S2q", + "shape": "S2r", "locationName": "inputClippings" }, "InputScanType": { @@ -1128,38 +1131,38 @@ "locationName": "timecodeStart" }, "VideoSelector": { - "shape": "S2z", + "shape": "S30", "locationName": "videoSelector" } } } }, "KantarWatermark": { - "shape": "S38", + "shape": "S39", "locationName": "kantarWatermark" }, "MotionImageInserter": { - "shape": "S3g", + "shape": "S3h", "locationName": "motionImageInserter" }, "NielsenConfiguration": { - "shape": "S3o", + "shape": "S3p", "locationName": "nielsenConfiguration" }, "NielsenNonLinearWatermark": { - "shape": "S3q", + "shape": "S3r", "locationName": "nielsenNonLinearWatermark" }, "OutputGroups": { - "shape": "S3x", + "shape": "S3y", "locationName": "outputGroups" }, "TimecodeConfig": { - "shape": "Siu", + "shape": "Sj0", "locationName": "timecodeConfig" }, "TimedMetadataInsertion": { - "shape": "Six", + "shape": "Sj3", "locationName": "timedMetadataInsertion" } } @@ -1492,7 +1495,7 @@ } } }, - "S2j": { + "S2k": { "type": "structure", "members": { "InsertableImages": { @@ -1548,7 +1551,7 @@ } } }, - "S2q": { + "S2r": { "type": "list", "member": { "type": "structure", @@ -1562,7 +1565,7 @@ } } }, - "S2z": { + "S30": { "type": "structure", "members": { "AlphaBehavior": { @@ -1575,7 +1578,7 @@ "locationName": "colorSpaceUsage" }, "Hdr10Metadata": { - "shape": "S33", + "shape": "S34", "locationName": "hdr10Metadata" }, "Pid": { @@ -1594,7 +1597,7 @@ } } }, - "S33": { + "S34": { "type": "structure", "members": { "BluePrimaryX": { @@ -1647,7 +1650,7 @@ } } }, - "S38": { + "S39": { "type": "structure", "members": { "ChannelName": { @@ -1693,7 +1696,7 @@ } } }, - "S3g": { + "S3h": { "type": "structure", "members": { "Framerate": { @@ -1738,7 +1741,7 @@ } } }, - "S3o": { + "S3p": { "type": "structure", "members": { "BreakoutCode": { @@ -1750,7 +1753,7 @@ } } }, - "S3q": { + "S3r": { "type": "structure", "members": { "ActiveWatermarkProcess": { @@ -1789,7 +1792,7 @@ } } }, - "S3x": { + "S3y": { "type": "list", "member": { "type": "structure", @@ -1861,7 +1864,7 @@ "locationName": "destination" }, "DestinationSettings": { - "shape": "S49", + "shape": "S4a", "locationName": "destinationSettings" }, "Encryption": { @@ -1885,11 +1888,11 @@ "locationName": "certificateArn" }, "DashSignaledSystemIds": { - "shape": "S4n", + "shape": "S4o", "locationName": "dashSignaledSystemIds" }, "HlsSignaledSystemIds": { - "shape": "S4n", + "shape": "S4o", "locationName": "hlsSignaledSystemIds" }, "ResourceId": { @@ -1901,7 +1904,7 @@ } }, "StaticKeyProvider": { - "shape": "S4q", + "shape": "S4r", "locationName": "staticKeyProvider" }, "Type": { @@ -2022,7 +2025,7 @@ "locationName": "destination" }, "DestinationSettings": { - "shape": "S49", + "shape": "S4a", "locationName": "destinationSettings" }, "Encryption": { @@ -2033,7 +2036,7 @@ "locationName": "playbackDeviceCompatibility" }, "SpekeKeyProvider": { - "shape": "S5k", + "shape": "S5l", "locationName": "spekeKeyProvider" } } @@ -2114,7 +2117,7 @@ "locationName": "destination" }, "DestinationSettings": { - "shape": "S49", + "shape": "S4a", "locationName": "destinationSettings" } } @@ -2185,7 +2188,7 @@ "locationName": "destination" }, "DestinationSettings": { - "shape": "S49", + "shape": "S4a", "locationName": "destinationSettings" }, "DirectoryStructure": { @@ -2208,11 +2211,11 @@ "locationName": "offlineEncrypted" }, "SpekeKeyProvider": { - "shape": "S5k", + "shape": "S5l", "locationName": "spekeKeyProvider" }, "StaticKeyProvider": { - "shape": "S4q", + "shape": "S4r", "locationName": "staticKeyProvider" }, "Type": { @@ -2336,7 +2339,7 @@ "locationName": "destination" }, "DestinationSettings": { - "shape": "S49", + "shape": "S4a", "locationName": "destinationSettings" }, "Encryption": { @@ -2344,7 +2347,7 @@ "type": "structure", "members": { "SpekeKeyProvider": { - "shape": "S5k", + "shape": "S5l", "locationName": "spekeKeyProvider" } } @@ -2373,7 +2376,7 @@ "type": "structure", "members": { "AudioDescriptions": { - "shape": "S72", + "shape": "S73", "locationName": "audioDescriptions" }, "CaptionDescriptions": { @@ -2389,7 +2392,7 @@ "locationName": "customLanguageCode" }, "DestinationSettings": { - "shape": "S9k", + "shape": "S9l", "locationName": "destinationSettings" }, "LanguageCode": { @@ -2402,7 +2405,7 @@ } }, "ContainerSettings": { - "shape": "Sas", + "shape": "Sav", "locationName": "containerSettings" }, "Extension": { @@ -2448,7 +2451,7 @@ "locationName": "preset" }, "VideoDescription": { - "shape": "Scw", + "shape": "Sd1", "locationName": "videoDescription" } } @@ -2457,7 +2460,7 @@ } } }, - "S49": { + "S4a": { "type": "structure", "members": { "S3Settings": { @@ -2492,11 +2495,11 @@ } } }, - "S4n": { + "S4o": { "type": "list", "member": {} }, - "S4q": { + "S4r": { "type": "structure", "members": { "KeyFormat": { @@ -2513,7 +2516,7 @@ } } }, - "S5k": { + "S5l": { "type": "structure", "members": { "CertificateArn": { @@ -2532,7 +2535,7 @@ } } }, - "S72": { + "S73": { "type": "list", "member": { "type": "structure", @@ -2942,7 +2945,7 @@ } } }, - "S9k": { + "S9l": { "type": "structure", "members": { "BurninDestinationSettings": { @@ -3146,6 +3149,9 @@ "locationName": "imscDestinationSettings", "type": "structure", "members": { + "Accessibility": { + "locationName": "accessibility" + }, "StylePassthrough": { "locationName": "stylePassthrough" } @@ -3196,6 +3202,9 @@ "locationName": "webvttDestinationSettings", "type": "structure", "members": { + "Accessibility": { + "locationName": "accessibility" + }, "StylePassthrough": { "locationName": "stylePassthrough" } @@ -3203,7 +3212,7 @@ } } }, - "Sas": { + "Sav": { "type": "structure", "members": { "CmfcSettings": { @@ -3233,6 +3242,9 @@ }, "Scte35Source": { "locationName": "scte35Source" + }, + "TimedMetadata": { + "locationName": "timedMetadata" } } }, @@ -3263,7 +3275,7 @@ "type": "integer" }, "AudioPids": { - "shape": "Sb6", + "shape": "Sba", "locationName": "audioPids" }, "Bitrate": { @@ -3313,7 +3325,7 @@ } }, "DvbSubPids": { - "shape": "Sb6", + "shape": "Sba", "locationName": "dvbSubPids" }, "DvbTdtSettings": { @@ -3444,7 +3456,7 @@ "type": "integer" }, "AudioPids": { - "shape": "Sb6", + "shape": "Sba", "locationName": "audioPids" }, "DataPTSControl": { @@ -3572,6 +3584,9 @@ }, "Scte35Source": { "locationName": "scte35Source" + }, + "TimedMetadata": { + "locationName": "timedMetadata" } } }, @@ -3602,13 +3617,13 @@ } } }, - "Sb6": { + "Sba": { "type": "list", "member": { "type": "integer" } }, - "Scw": { + "Sd1": { "type": "structure", "members": { "AfdSignaling": { @@ -3628,6 +3643,9 @@ "AdaptiveQuantization": { "locationName": "adaptiveQuantization" }, + "BitDepth": { + "locationName": "bitDepth" + }, "FramerateControl": { "locationName": "framerateControl" }, @@ -4560,7 +4578,7 @@ "type": "integer" }, "Hdr10Metadata": { - "shape": "S33", + "shape": "S34", "locationName": "hdr10Metadata" }, "Hue": { @@ -4632,7 +4650,7 @@ } }, "ImageInserter": { - "shape": "S2j", + "shape": "S2k", "locationName": "imageInserter" }, "NoiseReducer": { @@ -4745,7 +4763,7 @@ } } }, - "Siu": { + "Sj0": { "type": "structure", "members": { "Anchor": { @@ -4762,7 +4780,7 @@ } } }, - "Six": { + "Sj3": { "type": "structure", "members": { "Id3Insertions": { @@ -4782,12 +4800,12 @@ } } }, - "Sj2": { + "Sj8": { "type": "map", "key": {}, "value": {} }, - "Sj4": { + "Sja": { "type": "structure", "members": { "AccelerationSettings": { @@ -4804,7 +4822,7 @@ "locationName": "billingTagsSource" }, "CreatedAt": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "createdAt" }, "CurrentPhase": { @@ -4836,11 +4854,11 @@ "type": "structure", "members": { "Info": { - "shape": "Sj9", + "shape": "Sjf", "locationName": "info" }, "Warning": { - "shape": "Sj9", + "shape": "Sjf", "locationName": "warning" } } @@ -4901,7 +4919,7 @@ "locationName": "sourceQueue" }, "Timestamp": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "timestamp" } } @@ -4932,21 +4950,21 @@ "type": "structure", "members": { "FinishTime": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "finishTime" }, "StartTime": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "startTime" }, "SubmitTime": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "submitTime" } } }, "UserMetadata": { - "shape": "Sj2", + "shape": "Sj8", "locationName": "userMetadata" } }, @@ -4955,15 +4973,15 @@ "Settings" ] }, - "Sj6": { + "Sjc": { "type": "timestamp", "timestampFormat": "unixTimestamp" }, - "Sj9": { + "Sjf": { "type": "list", "member": {} }, - "Sjk": { + "Sjq": { "type": "structure", "members": { "AdAvailOffset": { @@ -5010,6 +5028,9 @@ "DenoiseFilter": { "locationName": "denoiseFilter" }, + "DolbyVisionMetadataXml": { + "locationName": "dolbyVisionMetadataXml" + }, "FilterEnable": { "locationName": "filterEnable" }, @@ -5018,11 +5039,11 @@ "type": "integer" }, "ImageInserter": { - "shape": "S2j", + "shape": "S2k", "locationName": "imageInserter" }, "InputClippings": { - "shape": "S2q", + "shape": "S2r", "locationName": "inputClippings" }, "InputScanType": { @@ -5046,43 +5067,43 @@ "locationName": "timecodeStart" }, "VideoSelector": { - "shape": "S2z", + "shape": "S30", "locationName": "videoSelector" } } } }, "KantarWatermark": { - "shape": "S38", + "shape": "S39", "locationName": "kantarWatermark" }, "MotionImageInserter": { - "shape": "S3g", + "shape": "S3h", "locationName": "motionImageInserter" }, "NielsenConfiguration": { - "shape": "S3o", + "shape": "S3p", "locationName": "nielsenConfiguration" }, "NielsenNonLinearWatermark": { - "shape": "S3q", + "shape": "S3r", "locationName": "nielsenNonLinearWatermark" }, "OutputGroups": { - "shape": "S3x", + "shape": "S3y", "locationName": "outputGroups" }, "TimecodeConfig": { - "shape": "Siu", + "shape": "Sj0", "locationName": "timecodeConfig" }, "TimedMetadataInsertion": { - "shape": "Six", + "shape": "Sj3", "locationName": "timedMetadataInsertion" } } }, - "Sjo": { + "Sju": { "type": "structure", "members": { "AccelerationSettings": { @@ -5096,7 +5117,7 @@ "locationName": "category" }, "CreatedAt": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "createdAt" }, "Description": { @@ -5107,7 +5128,7 @@ "locationName": "hopDestinations" }, "LastUpdated": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "lastUpdated" }, "Name": { @@ -5121,7 +5142,7 @@ "locationName": "queue" }, "Settings": { - "shape": "Sjk", + "shape": "Sjq", "locationName": "settings" }, "StatusUpdateInterval": { @@ -5136,11 +5157,11 @@ "Name" ] }, - "Sjr": { + "Sjx": { "type": "structure", "members": { "AudioDescriptions": { - "shape": "S72", + "shape": "S73", "locationName": "audioDescriptions" }, "CaptionDescriptions": { @@ -5153,7 +5174,7 @@ "locationName": "customLanguageCode" }, "DestinationSettings": { - "shape": "S9k", + "shape": "S9l", "locationName": "destinationSettings" }, "LanguageCode": { @@ -5166,16 +5187,16 @@ } }, "ContainerSettings": { - "shape": "Sas", + "shape": "Sav", "locationName": "containerSettings" }, "VideoDescription": { - "shape": "Scw", + "shape": "Sd1", "locationName": "videoDescription" } } }, - "Sjv": { + "Sk1": { "type": "structure", "members": { "Arn": { @@ -5185,21 +5206,21 @@ "locationName": "category" }, "CreatedAt": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "createdAt" }, "Description": { "locationName": "description" }, "LastUpdated": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "lastUpdated" }, "Name": { "locationName": "name" }, "Settings": { - "shape": "Sjr", + "shape": "Sjx", "locationName": "settings" }, "Type": { @@ -5211,7 +5232,7 @@ "Name" ] }, - "Sjy": { + "Sk4": { "type": "structure", "members": { "Commitment": { @@ -5231,21 +5252,21 @@ "RenewalType" ] }, - "Sk3": { + "Sk9": { "type": "structure", "members": { "Arn": { "locationName": "arn" }, "CreatedAt": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "createdAt" }, "Description": { "locationName": "description" }, "LastUpdated": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "lastUpdated" }, "Name": { @@ -5266,11 +5287,11 @@ "locationName": "commitment" }, "ExpiresAt": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "expiresAt" }, "PurchasedAt": { - "shape": "Sj6", + "shape": "Sjc", "locationName": "purchasedAt" }, "RenewalType": { @@ -5300,7 +5321,7 @@ "Name" ] }, - "Skr": { + "Skx": { "type": "structure", "members": { "HttpInputs": { diff --git a/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json b/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json index 1567fd9ae..600e4fba2 100644 --- a/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +++ b/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json @@ -278,11 +278,11 @@ "locationName": "encoderSettings" }, "InputAttachments": { - "shape": "Sci", + "shape": "Scj", "locationName": "inputAttachments" }, "InputSpecification": { - "shape": "Se5", + "shape": "Se6", "locationName": "inputSpecification" }, "LogLevel": { @@ -303,7 +303,7 @@ "locationName": "roleArn" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Vpc": { @@ -333,7 +333,7 @@ "type": "structure", "members": { "Channel": { - "shape": "Sed", + "shape": "See", "locationName": "channel" } } @@ -348,11 +348,11 @@ "type": "structure", "members": { "Destinations": { - "shape": "Sel", + "shape": "Sem", "locationName": "destinations" }, "InputDevices": { - "shape": "Sen", + "shape": "Seo", "locationName": "inputDevices" }, "InputSecurityGroups": { @@ -360,7 +360,7 @@ "locationName": "inputSecurityGroups" }, "MediaConnectFlows": { - "shape": "Sep", + "shape": "Seq", "locationName": "mediaConnectFlows" }, "Name": { @@ -374,11 +374,11 @@ "locationName": "roleArn" }, "Sources": { - "shape": "Ser", + "shape": "Ses", "locationName": "sources" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Type": { @@ -407,7 +407,7 @@ "type": "structure", "members": { "Input": { - "shape": "Sew", + "shape": "Sex", "locationName": "input" } } @@ -422,11 +422,11 @@ "type": "structure", "members": { "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "WhitelistRules": { - "shape": "Sf8", + "shape": "Sf9", "locationName": "whitelistRules" } } @@ -435,7 +435,7 @@ "type": "structure", "members": { "SecurityGroup": { - "shape": "Sfb", + "shape": "Sfc", "locationName": "securityGroup" } } @@ -454,7 +454,7 @@ "locationName": "availabilityZones" }, "MultiplexSettings": { - "shape": "Sfg", + "shape": "Sfh", "locationName": "multiplexSettings" }, "Name": { @@ -465,7 +465,7 @@ "idempotencyToken": true }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } }, @@ -480,7 +480,7 @@ "type": "structure", "members": { "Multiplex": { - "shape": "Sfl", + "shape": "Sfm", "locationName": "multiplex" } } @@ -499,7 +499,7 @@ "locationName": "multiplexId" }, "MultiplexProgramSettings": { - "shape": "Sfr", + "shape": "Sfs", "locationName": "multiplexProgramSettings" }, "ProgramName": { @@ -521,7 +521,7 @@ "type": "structure", "members": { "MultiplexProgram": { - "shape": "Sg0", + "shape": "Sg1", "locationName": "multiplexProgram" } } @@ -544,7 +544,7 @@ "idempotencyToken": true }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } }, @@ -556,7 +556,7 @@ "type": "structure", "members": { "Input": { - "shape": "Sew", + "shape": "Sex", "locationName": "input" } } @@ -575,7 +575,7 @@ "locationName": "resource-arn" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } }, @@ -620,7 +620,7 @@ "locationName": "destinations" }, "EgressEndpoints": { - "shape": "See", + "shape": "Sef", "locationName": "egressEndpoints" }, "EncoderSettings": { @@ -631,11 +631,11 @@ "locationName": "id" }, "InputAttachments": { - "shape": "Sci", + "shape": "Scj", "locationName": "inputAttachments" }, "InputSpecification": { - "shape": "Se5", + "shape": "Se6", "locationName": "inputSpecification" }, "LogLevel": { @@ -645,7 +645,7 @@ "locationName": "name" }, "PipelineDetails": { - "shape": "Seg", + "shape": "Seh", "locationName": "pipelineDetails" }, "PipelinesRunningCount": { @@ -659,11 +659,11 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Vpc": { - "shape": "Sej", + "shape": "Sek", "locationName": "vpc" } } @@ -744,14 +744,14 @@ "locationName": "availabilityZones" }, "Destinations": { - "shape": "Sfm", + "shape": "Sfn", "locationName": "destinations" }, "Id": { "locationName": "id" }, "MultiplexSettings": { - "shape": "Sfg", + "shape": "Sfh", "locationName": "multiplexSettings" }, "Name": { @@ -769,7 +769,7 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } } @@ -805,15 +805,15 @@ "locationName": "channelId" }, "MultiplexProgramSettings": { - "shape": "Sfr", + "shape": "Sfs", "locationName": "multiplexProgramSettings" }, "PacketIdentifiersMap": { - "shape": "Sg1", + "shape": "Sg2", "locationName": "packetIdentifiersMap" }, "PipelineDetails": { - "shape": "Sg3", + "shape": "Sg4", "locationName": "pipelineDetails" }, "ProgramName": { @@ -886,7 +886,7 @@ "locationName": "reservationId" }, "ResourceSpecification": { - "shape": "Sgm", + "shape": "Sgn", "locationName": "resourceSpecification" }, "Start": { @@ -896,7 +896,7 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "UsagePrice": { @@ -990,7 +990,7 @@ "locationName": "destinations" }, "EgressEndpoints": { - "shape": "See", + "shape": "Sef", "locationName": "egressEndpoints" }, "EncoderSettings": { @@ -1001,11 +1001,11 @@ "locationName": "id" }, "InputAttachments": { - "shape": "Sci", + "shape": "Scj", "locationName": "inputAttachments" }, "InputSpecification": { - "shape": "Se5", + "shape": "Se6", "locationName": "inputSpecification" }, "LogLevel": { @@ -1015,7 +1015,7 @@ "locationName": "name" }, "PipelineDetails": { - "shape": "Seg", + "shape": "Seh", "locationName": "pipelineDetails" }, "PipelinesRunningCount": { @@ -1029,11 +1029,11 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Vpc": { - "shape": "Sej", + "shape": "Sek", "locationName": "vpc" } } @@ -1068,7 +1068,7 @@ "locationName": "attachedChannels" }, "Destinations": { - "shape": "Sex", + "shape": "Sey", "locationName": "destinations" }, "Id": { @@ -1078,7 +1078,7 @@ "locationName": "inputClass" }, "InputDevices": { - "shape": "Sen", + "shape": "Seo", "locationName": "inputDevices" }, "InputPartnerIds": { @@ -1089,7 +1089,7 @@ "locationName": "inputSourceType" }, "MediaConnectFlows": { - "shape": "Sf2", + "shape": "Sf3", "locationName": "mediaConnectFlows" }, "Name": { @@ -1103,14 +1103,14 @@ "locationName": "securityGroups" }, "Sources": { - "shape": "Sf4", + "shape": "Sf5", "locationName": "sources" }, "State": { "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Type": { @@ -1153,7 +1153,7 @@ "locationName": "deviceUpdateStatus" }, "HdDeviceSettings": { - "shape": "Sh7", + "shape": "Sh8", "locationName": "hdDeviceSettings" }, "Id": { @@ -1166,7 +1166,7 @@ "locationName": "name" }, "NetworkSettings": { - "shape": "Shc", + "shape": "Shd", "locationName": "networkSettings" }, "SerialNumber": { @@ -1176,7 +1176,7 @@ "locationName": "type" }, "UhdDeviceSettings": { - "shape": "Shf", + "shape": "Shg", "locationName": "uhdDeviceSettings" } } @@ -1270,11 +1270,11 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "WhitelistRules": { - "shape": "Sfd", + "shape": "Sfe", "locationName": "whitelistRules" } } @@ -1309,14 +1309,14 @@ "locationName": "availabilityZones" }, "Destinations": { - "shape": "Sfm", + "shape": "Sfn", "locationName": "destinations" }, "Id": { "locationName": "id" }, "MultiplexSettings": { - "shape": "Sfg", + "shape": "Sfh", "locationName": "multiplexSettings" }, "Name": { @@ -1334,7 +1334,7 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } } @@ -1370,15 +1370,15 @@ "locationName": "channelId" }, "MultiplexProgramSettings": { - "shape": "Sfr", + "shape": "Sfs", "locationName": "multiplexProgramSettings" }, "PacketIdentifiersMap": { - "shape": "Sg1", + "shape": "Sg2", "locationName": "packetIdentifiersMap" }, "PipelineDetails": { - "shape": "Sg3", + "shape": "Sg4", "locationName": "pipelineDetails" }, "ProgramName": { @@ -1438,7 +1438,7 @@ "locationName": "region" }, "ResourceSpecification": { - "shape": "Sgm", + "shape": "Sgn", "locationName": "resourceSpecification" }, "UsagePrice": { @@ -1512,7 +1512,7 @@ "locationName": "reservationId" }, "ResourceSpecification": { - "shape": "Sgm", + "shape": "Sgn", "locationName": "resourceSpecification" }, "Start": { @@ -1522,7 +1522,7 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "UsagePrice": { @@ -1616,18 +1616,18 @@ "locationName": "destinations" }, "EgressEndpoints": { - "shape": "See", + "shape": "Sef", "locationName": "egressEndpoints" }, "Id": { "locationName": "id" }, "InputAttachments": { - "shape": "Sci", + "shape": "Scj", "locationName": "inputAttachments" }, "InputSpecification": { - "shape": "Se5", + "shape": "Se6", "locationName": "inputSpecification" }, "LogLevel": { @@ -1647,11 +1647,11 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Vpc": { - "shape": "Sej", + "shape": "Sek", "locationName": "vpc" } } @@ -1762,7 +1762,7 @@ "locationName": "deviceUpdateStatus" }, "HdDeviceSettings": { - "shape": "Sh7", + "shape": "Sh8", "locationName": "hdDeviceSettings" }, "Id": { @@ -1775,7 +1775,7 @@ "locationName": "name" }, "NetworkSettings": { - "shape": "Shc", + "shape": "Shd", "locationName": "networkSettings" }, "SerialNumber": { @@ -1785,7 +1785,7 @@ "locationName": "type" }, "UhdDeviceSettings": { - "shape": "Shf", + "shape": "Shg", "locationName": "uhdDeviceSettings" } } @@ -1824,7 +1824,7 @@ "locationName": "inputSecurityGroups", "type": "list", "member": { - "shape": "Sfb" + "shape": "Sfc" } }, "NextToken": { @@ -1860,7 +1860,7 @@ "locationName": "inputs", "type": "list", "member": { - "shape": "Sew" + "shape": "Sex" } }, "NextToken": { @@ -1984,7 +1984,7 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } } @@ -2098,7 +2098,7 @@ "locationName": "region" }, "ResourceSpecification": { - "shape": "Sgm", + "shape": "Sgn", "locationName": "resourceSpecification" }, "UsagePrice": { @@ -2173,7 +2173,7 @@ "locationName": "reservations", "type": "list", "member": { - "shape": "Siz" + "shape": "Sj0" } } } @@ -2201,7 +2201,7 @@ "type": "structure", "members": { "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } } @@ -2234,7 +2234,7 @@ "locationName": "start" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } }, @@ -2247,7 +2247,7 @@ "type": "structure", "members": { "Reservation": { - "shape": "Siz", + "shape": "Sj0", "locationName": "reservation" } } @@ -2310,7 +2310,7 @@ "locationName": "destinations" }, "EgressEndpoints": { - "shape": "See", + "shape": "Sef", "locationName": "egressEndpoints" }, "EncoderSettings": { @@ -2321,11 +2321,11 @@ "locationName": "id" }, "InputAttachments": { - "shape": "Sci", + "shape": "Scj", "locationName": "inputAttachments" }, "InputSpecification": { - "shape": "Se5", + "shape": "Se6", "locationName": "inputSpecification" }, "LogLevel": { @@ -2335,7 +2335,7 @@ "locationName": "name" }, "PipelineDetails": { - "shape": "Seg", + "shape": "Seh", "locationName": "pipelineDetails" }, "PipelinesRunningCount": { @@ -2349,11 +2349,11 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Vpc": { - "shape": "Sej", + "shape": "Sek", "locationName": "vpc" } } @@ -2387,14 +2387,14 @@ "locationName": "availabilityZones" }, "Destinations": { - "shape": "Sfm", + "shape": "Sfn", "locationName": "destinations" }, "Id": { "locationName": "id" }, "MultiplexSettings": { - "shape": "Sfg", + "shape": "Sfh", "locationName": "multiplexSettings" }, "Name": { @@ -2412,7 +2412,7 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } } @@ -2453,7 +2453,7 @@ "locationName": "destinations" }, "EgressEndpoints": { - "shape": "See", + "shape": "Sef", "locationName": "egressEndpoints" }, "EncoderSettings": { @@ -2464,11 +2464,11 @@ "locationName": "id" }, "InputAttachments": { - "shape": "Sci", + "shape": "Scj", "locationName": "inputAttachments" }, "InputSpecification": { - "shape": "Se5", + "shape": "Se6", "locationName": "inputSpecification" }, "LogLevel": { @@ -2478,7 +2478,7 @@ "locationName": "name" }, "PipelineDetails": { - "shape": "Seg", + "shape": "Seh", "locationName": "pipelineDetails" }, "PipelinesRunningCount": { @@ -2492,11 +2492,11 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Vpc": { - "shape": "Sej", + "shape": "Sek", "locationName": "vpc" } } @@ -2530,14 +2530,14 @@ "locationName": "availabilityZones" }, "Destinations": { - "shape": "Sfm", + "shape": "Sfn", "locationName": "destinations" }, "Id": { "locationName": "id" }, "MultiplexSettings": { - "shape": "Sfg", + "shape": "Sfh", "locationName": "multiplexSettings" }, "Name": { @@ -2555,7 +2555,7 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } } @@ -2618,11 +2618,11 @@ "locationName": "encoderSettings" }, "InputAttachments": { - "shape": "Sci", + "shape": "Scj", "locationName": "inputAttachments" }, "InputSpecification": { - "shape": "Se5", + "shape": "Se6", "locationName": "inputSpecification" }, "LogLevel": { @@ -2643,7 +2643,7 @@ "type": "structure", "members": { "Channel": { - "shape": "Sed", + "shape": "See", "locationName": "channel" } } @@ -2679,7 +2679,7 @@ "type": "structure", "members": { "Channel": { - "shape": "Sed", + "shape": "See", "locationName": "channel" } } @@ -2695,7 +2695,7 @@ "type": "structure", "members": { "Destinations": { - "shape": "Sel", + "shape": "Sem", "locationName": "destinations" }, "InputDevices": { @@ -2719,7 +2719,7 @@ "locationName": "inputSecurityGroups" }, "MediaConnectFlows": { - "shape": "Sep", + "shape": "Seq", "locationName": "mediaConnectFlows" }, "Name": { @@ -2729,7 +2729,7 @@ "locationName": "roleArn" }, "Sources": { - "shape": "Ser", + "shape": "Ses", "locationName": "sources" } }, @@ -2741,7 +2741,7 @@ "type": "structure", "members": { "Input": { - "shape": "Sew", + "shape": "Sex", "locationName": "input" } } @@ -2757,7 +2757,7 @@ "type": "structure", "members": { "HdDeviceSettings": { - "shape": "Sjp", + "shape": "Sjq", "locationName": "hdDeviceSettings" }, "InputDeviceId": { @@ -2768,7 +2768,7 @@ "locationName": "name" }, "UhdDeviceSettings": { - "shape": "Sjp", + "shape": "Sjq", "locationName": "uhdDeviceSettings" } }, @@ -2792,7 +2792,7 @@ "locationName": "deviceUpdateStatus" }, "HdDeviceSettings": { - "shape": "Sh7", + "shape": "Sh8", "locationName": "hdDeviceSettings" }, "Id": { @@ -2805,7 +2805,7 @@ "locationName": "name" }, "NetworkSettings": { - "shape": "Shc", + "shape": "Shd", "locationName": "networkSettings" }, "SerialNumber": { @@ -2815,7 +2815,7 @@ "locationName": "type" }, "UhdDeviceSettings": { - "shape": "Shf", + "shape": "Shg", "locationName": "uhdDeviceSettings" } } @@ -2835,11 +2835,11 @@ "locationName": "inputSecurityGroupId" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "WhitelistRules": { - "shape": "Sf8", + "shape": "Sf9", "locationName": "whitelistRules" } }, @@ -2851,7 +2851,7 @@ "type": "structure", "members": { "SecurityGroup": { - "shape": "Sfb", + "shape": "Sfc", "locationName": "securityGroup" } } @@ -2871,7 +2871,7 @@ "locationName": "multiplexId" }, "MultiplexSettings": { - "shape": "Sfg", + "shape": "Sfh", "locationName": "multiplexSettings" }, "Name": { @@ -2886,7 +2886,7 @@ "type": "structure", "members": { "Multiplex": { - "shape": "Sfl", + "shape": "Sfm", "locationName": "multiplex" } } @@ -2906,7 +2906,7 @@ "locationName": "multiplexId" }, "MultiplexProgramSettings": { - "shape": "Sfr", + "shape": "Sfs", "locationName": "multiplexProgramSettings" }, "ProgramName": { @@ -2923,7 +2923,7 @@ "type": "structure", "members": { "MultiplexProgram": { - "shape": "Sg0", + "shape": "Sg1", "locationName": "multiplexProgram" } } @@ -2954,7 +2954,7 @@ "type": "structure", "members": { "Reservation": { - "shape": "Siz", + "shape": "Sj0", "locationName": "reservation" } } @@ -4564,6 +4564,9 @@ "ProgramDateTime": { "locationName": "programDateTime" }, + "ProgramDateTimeClock": { + "locationName": "programDateTimeClock" + }, "ProgramDateTimePeriod": { "locationName": "programDateTimePeriod", "type": "integer" @@ -4774,7 +4777,7 @@ "type": "structure", "members": { "M2tsSettings": { - "shape": "S8i", + "shape": "S8j", "locationName": "m2tsSettings" }, "RawSettings": { @@ -5009,7 +5012,7 @@ "type": "structure", "members": { "M2tsSettings": { - "shape": "S8i", + "shape": "S8j", "locationName": "m2tsSettings" } } @@ -5128,15 +5131,15 @@ "type": "structure", "members": { "ColorSpacePassthroughSettings": { - "shape": "Sap", + "shape": "Saq", "locationName": "colorSpacePassthroughSettings" }, "Rec601Settings": { - "shape": "Saq", + "shape": "Sar", "locationName": "rec601Settings" }, "Rec709Settings": { - "shape": "Sar", + "shape": "Sas", "locationName": "rec709Settings" } } @@ -5149,7 +5152,7 @@ "type": "structure", "members": { "TemporalFilterSettings": { - "shape": "Sau", + "shape": "Sav", "locationName": "temporalFilterSettings" } } @@ -5294,19 +5297,19 @@ "type": "structure", "members": { "ColorSpacePassthroughSettings": { - "shape": "Sap", + "shape": "Saq", "locationName": "colorSpacePassthroughSettings" }, "Hdr10Settings": { - "shape": "Sbs", + "shape": "Sbt", "locationName": "hdr10Settings" }, "Rec601Settings": { - "shape": "Saq", + "shape": "Sar", "locationName": "rec601Settings" }, "Rec709Settings": { - "shape": "Sar", + "shape": "Sas", "locationName": "rec709Settings" } } @@ -5316,7 +5319,7 @@ "type": "structure", "members": { "TemporalFilterSettings": { - "shape": "Sau", + "shape": "Sav", "locationName": "temporalFilterSettings" } } @@ -5424,7 +5427,7 @@ "type": "structure", "members": { "TemporalFilterSettings": { - "shape": "Sau", + "shape": "Sav", "locationName": "temporalFilterSettings" } } @@ -5515,7 +5518,7 @@ } } }, - "S8i": { + "S8j": { "type": "structure", "members": { "AbsentInputAudioBehavior": { @@ -5713,19 +5716,19 @@ } } }, - "Sap": { + "Saq": { "type": "structure", "members": {} }, - "Saq": { + "Sar": { "type": "structure", "members": {} }, - "Sar": { + "Sas": { "type": "structure", "members": {} }, - "Sau": { + "Sav": { "type": "structure", "members": { "PostFilterSharpening": { @@ -5736,7 +5739,7 @@ } } }, - "Sbs": { + "Sbt": { "type": "structure", "members": { "MaxCll": { @@ -5749,7 +5752,7 @@ } } }, - "Sci": { + "Scj": { "type": "list", "member": { "type": "structure", @@ -6132,7 +6135,7 @@ "type": "structure", "members": { "Hdr10Settings": { - "shape": "Sbs", + "shape": "Sbt", "locationName": "hdr10Settings" } } @@ -6173,7 +6176,7 @@ } } }, - "Se5": { + "Se6": { "type": "structure", "members": { "Codec": { @@ -6187,12 +6190,12 @@ } } }, - "Sea": { + "Seb": { "type": "map", "key": {}, "value": {} }, - "Sed": { + "See": { "type": "structure", "members": { "Arn": { @@ -6210,7 +6213,7 @@ "locationName": "destinations" }, "EgressEndpoints": { - "shape": "See", + "shape": "Sef", "locationName": "egressEndpoints" }, "EncoderSettings": { @@ -6221,11 +6224,11 @@ "locationName": "id" }, "InputAttachments": { - "shape": "Sci", + "shape": "Scj", "locationName": "inputAttachments" }, "InputSpecification": { - "shape": "Se5", + "shape": "Se6", "locationName": "inputSpecification" }, "LogLevel": { @@ -6235,7 +6238,7 @@ "locationName": "name" }, "PipelineDetails": { - "shape": "Seg", + "shape": "Seh", "locationName": "pipelineDetails" }, "PipelinesRunningCount": { @@ -6249,16 +6252,16 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Vpc": { - "shape": "Sej", + "shape": "Sek", "locationName": "vpc" } } }, - "See": { + "Sef": { "type": "list", "member": { "type": "structure", @@ -6269,7 +6272,7 @@ } } }, - "Seg": { + "Seh": { "type": "list", "member": { "type": "structure", @@ -6292,7 +6295,7 @@ } } }, - "Sej": { + "Sek": { "type": "structure", "members": { "AvailabilityZones": { @@ -6313,7 +6316,7 @@ } } }, - "Sel": { + "Sem": { "type": "list", "member": { "type": "structure", @@ -6324,7 +6327,7 @@ } } }, - "Sen": { + "Seo": { "type": "list", "member": { "type": "structure", @@ -6335,7 +6338,7 @@ } } }, - "Sep": { + "Seq": { "type": "list", "member": { "type": "structure", @@ -6346,7 +6349,7 @@ } } }, - "Ser": { + "Ses": { "type": "list", "member": { "type": "structure", @@ -6363,7 +6366,7 @@ } } }, - "Sew": { + "Sex": { "type": "structure", "members": { "Arn": { @@ -6374,7 +6377,7 @@ "locationName": "attachedChannels" }, "Destinations": { - "shape": "Sex", + "shape": "Sey", "locationName": "destinations" }, "Id": { @@ -6384,7 +6387,7 @@ "locationName": "inputClass" }, "InputDevices": { - "shape": "Sen", + "shape": "Seo", "locationName": "inputDevices" }, "InputPartnerIds": { @@ -6395,7 +6398,7 @@ "locationName": "inputSourceType" }, "MediaConnectFlows": { - "shape": "Sf2", + "shape": "Sf3", "locationName": "mediaConnectFlows" }, "Name": { @@ -6409,14 +6412,14 @@ "locationName": "securityGroups" }, "Sources": { - "shape": "Sf4", + "shape": "Sf5", "locationName": "sources" }, "State": { "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "Type": { @@ -6424,7 +6427,7 @@ } } }, - "Sex": { + "Sey": { "type": "list", "member": { "type": "structure", @@ -6453,7 +6456,7 @@ } } }, - "Sf2": { + "Sf3": { "type": "list", "member": { "type": "structure", @@ -6464,7 +6467,7 @@ } } }, - "Sf4": { + "Sf5": { "type": "list", "member": { "type": "structure", @@ -6481,7 +6484,7 @@ } } }, - "Sf8": { + "Sf9": { "type": "list", "member": { "type": "structure", @@ -6492,7 +6495,7 @@ } } }, - "Sfb": { + "Sfc": { "type": "structure", "members": { "Arn": { @@ -6509,16 +6512,16 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "WhitelistRules": { - "shape": "Sfd", + "shape": "Sfe", "locationName": "whitelistRules" } } }, - "Sfd": { + "Sfe": { "type": "list", "member": { "type": "structure", @@ -6529,7 +6532,7 @@ } } }, - "Sfg": { + "Sfh": { "type": "structure", "members": { "MaximumVideoBufferDelayMilliseconds": { @@ -6554,7 +6557,7 @@ "TransportStreamId" ] }, - "Sfl": { + "Sfm": { "type": "structure", "members": { "Arn": { @@ -6565,14 +6568,14 @@ "locationName": "availabilityZones" }, "Destinations": { - "shape": "Sfm", + "shape": "Sfn", "locationName": "destinations" }, "Id": { "locationName": "id" }, "MultiplexSettings": { - "shape": "Sfg", + "shape": "Sfh", "locationName": "multiplexSettings" }, "Name": { @@ -6590,12 +6593,12 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" } } }, - "Sfm": { + "Sfn": { "type": "list", "member": { "type": "structure", @@ -6612,7 +6615,7 @@ } } }, - "Sfr": { + "Sfs": { "type": "structure", "members": { "PreferredChannelPipeline": { @@ -6671,22 +6674,22 @@ "ProgramNumber" ] }, - "Sg0": { + "Sg1": { "type": "structure", "members": { "ChannelId": { "locationName": "channelId" }, "MultiplexProgramSettings": { - "shape": "Sfr", + "shape": "Sfs", "locationName": "multiplexProgramSettings" }, "PacketIdentifiersMap": { - "shape": "Sg1", + "shape": "Sg2", "locationName": "packetIdentifiersMap" }, "PipelineDetails": { - "shape": "Sg3", + "shape": "Sg4", "locationName": "pipelineDetails" }, "ProgramName": { @@ -6694,15 +6697,15 @@ } } }, - "Sg1": { + "Sg2": { "type": "structure", "members": { "AudioPids": { - "shape": "Sg2", + "shape": "Sg3", "locationName": "audioPids" }, "DvbSubPids": { - "shape": "Sg2", + "shape": "Sg3", "locationName": "dvbSubPids" }, "DvbTeletextPid": { @@ -6718,7 +6721,7 @@ "type": "integer" }, "KlvDataPids": { - "shape": "Sg2", + "shape": "Sg3", "locationName": "klvDataPids" }, "PcrPid": { @@ -6734,7 +6737,7 @@ "type": "integer" }, "Scte27Pids": { - "shape": "Sg2", + "shape": "Sg3", "locationName": "scte27Pids" }, "Scte35Pid": { @@ -6751,13 +6754,13 @@ } } }, - "Sg2": { + "Sg3": { "type": "list", "member": { "type": "integer" } }, - "Sg3": { + "Sg4": { "type": "list", "member": { "type": "structure", @@ -6771,7 +6774,7 @@ } } }, - "Sgm": { + "Sgn": { "type": "structure", "members": { "ChannelClass": { @@ -6800,7 +6803,7 @@ } } }, - "Sh7": { + "Sh8": { "type": "structure", "members": { "ActiveInput": { @@ -6833,7 +6836,7 @@ } } }, - "Shc": { + "Shd": { "type": "structure", "members": { "DnsAddresses": { @@ -6854,7 +6857,7 @@ } } }, - "Shf": { + "Shg": { "type": "structure", "members": { "ActiveInput": { @@ -6887,7 +6890,7 @@ } } }, - "Siz": { + "Sj0": { "type": "structure", "members": { "Arn": { @@ -6933,7 +6936,7 @@ "locationName": "reservationId" }, "ResourceSpecification": { - "shape": "Sgm", + "shape": "Sgn", "locationName": "resourceSpecification" }, "Start": { @@ -6943,7 +6946,7 @@ "locationName": "state" }, "Tags": { - "shape": "Sea", + "shape": "Seb", "locationName": "tags" }, "UsagePrice": { @@ -6952,7 +6955,7 @@ } } }, - "Sjp": { + "Sjq": { "type": "structure", "members": { "ConfiguredInput": { diff --git a/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json b/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json index da1b19092..567f202e7 100644 --- a/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +++ b/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json @@ -123,8 +123,8 @@ "required": [ "Name", "PlaybackConfigurationName", - "Consumption", - "Retrieval" + "Retrieval", + "Consumption" ], "type": "structure" }, @@ -192,8 +192,8 @@ "ChannelName", "ProgramName", "VodSourceName", - "ScheduleConfiguration", - "SourceLocationName" + "SourceLocationName", + "ScheduleConfiguration" ], "type": "structure" }, @@ -233,6 +233,9 @@ "HttpConfiguration": { "shape": "S14" }, + "SegmentDeliveryConfigurations": { + "shape": "S15" + }, "SourceLocationName": { "location": "uri", "locationName": "sourceLocationName" @@ -266,6 +269,9 @@ "LastModifiedTime": { "shape": "Sf" }, + "SegmentDeliveryConfigurations": { + "shape": "S15" + }, "SourceLocationName": {}, "Tags": { "locationName": "tags", @@ -283,7 +289,7 @@ "input": { "members": { "HttpPackageConfigurations": { - "shape": "S17" + "shape": "S19" }, "SourceLocationName": { "location": "uri", @@ -312,7 +318,7 @@ "shape": "Sf" }, "HttpPackageConfigurations": { - "shape": "S17" + "shape": "S19" }, "LastModifiedTime": { "shape": "Sf" @@ -626,6 +632,9 @@ "LastModifiedTime": { "shape": "Sf" }, + "SegmentDeliveryConfigurations": { + "shape": "S15" + }, "SourceLocationName": {}, "Tags": { "locationName": "tags", @@ -665,7 +674,7 @@ "shape": "Sf" }, "HttpPackageConfigurations": { - "shape": "S17" + "shape": "S19" }, "LastModifiedTime": { "shape": "Sf" @@ -772,8 +781,8 @@ }, "required": [ "VodSourceName", - "ChannelName", "SourceLocationName", + "ChannelName", "Arn", "ProgramName" ], @@ -808,31 +817,31 @@ "members": { "AdDecisionServerUrl": {}, "AvailSuppression": { - "shape": "S29" + "shape": "S2b" }, "Bumper": { - "shape": "S2b" + "shape": "S2d" }, "CdnConfiguration": { - "shape": "S2c" + "shape": "S2e" }, "ConfigurationAliases": { - "shape": "S2d" + "shape": "S2f" }, "DashConfiguration": { - "shape": "S2e" + "shape": "S2g" }, "HlsConfiguration": { - "shape": "S2g" + "shape": "S2i" }, "LivePreRollConfiguration": { - "shape": "S2h" + "shape": "S2j" }, "LogConfiguration": { - "shape": "S2i" + "shape": "S2k" }, "ManifestProcessingRules": { - "shape": "S2j" + "shape": "S2l" }, "Name": {}, "PersonalizationThresholdSeconds": { @@ -929,7 +938,7 @@ "shape": "Sf" }, "RelatedResourceArns": { - "shape": "S2t" + "shape": "S2v" }, "ResourceArn": {} }, @@ -1038,31 +1047,31 @@ "members": { "AdDecisionServerUrl": {}, "AvailSuppression": { - "shape": "S29" + "shape": "S2b" }, "Bumper": { - "shape": "S2b" + "shape": "S2d" }, "CdnConfiguration": { - "shape": "S2c" + "shape": "S2e" }, "ConfigurationAliases": { - "shape": "S2d" + "shape": "S2f" }, "DashConfiguration": { - "shape": "S2e" + "shape": "S2g" }, "HlsConfiguration": { - "shape": "S2g" + "shape": "S2i" }, "LivePreRollConfiguration": { - "shape": "S2h" + "shape": "S2j" }, "LogConfiguration": { - "shape": "S2i" + "shape": "S2k" }, "ManifestProcessingRules": { - "shape": "S2j" + "shape": "S2l" }, "Name": {}, "PersonalizationThresholdSeconds": { @@ -1183,6 +1192,9 @@ "LastModifiedTime": { "shape": "Sf" }, + "SegmentDeliveryConfigurations": { + "shape": "S15" + }, "SourceLocationName": {}, "Tags": { "locationName": "tags", @@ -1268,7 +1280,7 @@ "shape": "Sf" }, "HttpPackageConfigurations": { - "shape": "S17" + "shape": "S19" }, "LastModifiedTime": { "shape": "Sf" @@ -1330,13 +1342,13 @@ "members": { "AdDecisionServerUrl": {}, "AvailSuppression": { - "shape": "S29" + "shape": "S2b" }, "Bumper": { - "shape": "S2b" + "shape": "S2d" }, "CdnConfiguration": { - "shape": "S2c" + "shape": "S2e" }, "ConfigurationAliases": { "key": {}, @@ -1353,10 +1365,10 @@ "type": "structure" }, "LivePreRollConfiguration": { - "shape": "S2h" + "shape": "S2j" }, "ManifestProcessingRules": { - "shape": "S2j" + "shape": "S2l" }, "Name": {}, "PersonalizationThresholdSeconds": { @@ -1376,31 +1388,31 @@ "members": { "AdDecisionServerUrl": {}, "AvailSuppression": { - "shape": "S29" + "shape": "S2b" }, "Bumper": { - "shape": "S2b" + "shape": "S2d" }, "CdnConfiguration": { - "shape": "S2c" + "shape": "S2e" }, "ConfigurationAliases": { - "shape": "S2d" + "shape": "S2f" }, "DashConfiguration": { - "shape": "S2e" + "shape": "S2g" }, "HlsConfiguration": { - "shape": "S2g" + "shape": "S2i" }, "LivePreRollConfiguration": { - "shape": "S2h" + "shape": "S2j" }, "LogConfiguration": { - "shape": "S2i" + "shape": "S2k" }, "ManifestProcessingRules": { - "shape": "S2j" + "shape": "S2l" }, "Name": {}, "PersonalizationThresholdSeconds": { @@ -1504,7 +1516,7 @@ "TagKeys": { "location": "querystring", "locationName": "tagKeys", - "shape": "S2t" + "shape": "S2v" } }, "required": [ @@ -1526,6 +1538,9 @@ "location": "uri", "locationName": "channelName" }, + "FillerSlate": { + "shape": "S6" + }, "Outputs": { "shape": "S7" } @@ -1579,6 +1594,9 @@ "HttpConfiguration": { "shape": "S14" }, + "SegmentDeliveryConfigurations": { + "shape": "S15" + }, "SourceLocationName": { "location": "uri", "locationName": "sourceLocationName" @@ -1608,6 +1626,9 @@ "LastModifiedTime": { "shape": "Sf" }, + "SegmentDeliveryConfigurations": { + "shape": "S15" + }, "SourceLocationName": {}, "Tags": { "locationName": "tags", @@ -1626,7 +1647,7 @@ "input": { "members": { "HttpPackageConfigurations": { - "shape": "S17" + "shape": "S19" }, "SourceLocationName": { "location": "uri", @@ -1651,7 +1672,7 @@ "shape": "Sf" }, "HttpPackageConfigurations": { - "shape": "S17" + "shape": "S19" }, "LastModifiedTime": { "shape": "Sf" @@ -1857,7 +1878,17 @@ ], "type": "structure" }, - "S17": { + "S15": { + "member": { + "members": { + "BaseUrl": {}, + "Name": {} + }, + "type": "structure" + }, + "type": "list" + }, + "S19": { "member": { "members": { "Path": {}, @@ -1873,35 +1904,35 @@ }, "type": "list" }, - "S29": { + "S2b": { "members": { "Mode": {}, "Value": {} }, "type": "structure" }, - "S2b": { + "S2d": { "members": { "EndUrl": {}, "StartUrl": {} }, "type": "structure" }, - "S2c": { + "S2e": { "members": { "AdSegmentUrlPrefix": {}, "ContentSegmentUrlPrefix": {} }, "type": "structure" }, - "S2d": { + "S2f": { "key": {}, "type": "map", "value": { "shape": "Sc" } }, - "S2e": { + "S2g": { "members": { "ManifestEndpointPrefix": {}, "MpdLocation": {}, @@ -1909,13 +1940,13 @@ }, "type": "structure" }, - "S2g": { + "S2i": { "members": { "ManifestEndpointPrefix": {} }, "type": "structure" }, - "S2h": { + "S2j": { "members": { "AdDecisionServerUrl": {}, "MaxDurationSeconds": { @@ -1924,7 +1955,7 @@ }, "type": "structure" }, - "S2i": { + "S2k": { "members": { "PercentEnabled": { "type": "integer" @@ -1935,7 +1966,7 @@ ], "type": "structure" }, - "S2j": { + "S2l": { "members": { "AdMarkerPassthrough": { "members": { @@ -1948,7 +1979,7 @@ }, "type": "structure" }, - "S2t": { + "S2v": { "member": {}, "type": "list" } diff --git a/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json b/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json index ef2c2925c..8e50ec0ec 100644 --- a/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +++ b/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json @@ -120,7 +120,8 @@ "type": "structure", "members": { "CustomerIdentifier": {}, - "ProductCode": {} + "ProductCode": {}, + "CustomerAWSAccountId": {} } } } diff --git a/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json b/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json index 0dd1ad532..f0d55f9f6 100644 --- a/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +++ b/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json @@ -283,7 +283,7 @@ }, "fileFormat": {}, "filePassword": { - "shape": "S1r" + "shape": "S1s" } } }, @@ -321,28 +321,28 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S1w" + "shape": "S1x" }, "dialogCodeHook": { - "shape": "S1z" + "shape": "S20" }, "fulfillmentCodeHook": { - "shape": "S20" + "shape": "S21" }, "intentConfirmationSetting": { - "shape": "S2r" + "shape": "S2s" }, "intentClosingSetting": { - "shape": "S2u" + "shape": "S2v" }, "inputContexts": { - "shape": "S2v" + "shape": "S2w" }, "outputContexts": { - "shape": "S2x" + "shape": "S2y" }, "kendraConfiguration": { - "shape": "S31" + "shape": "S32" }, "botId": { "location": "uri", @@ -366,28 +366,28 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S1w" + "shape": "S1x" }, "dialogCodeHook": { - "shape": "S1z" + "shape": "S20" }, "fulfillmentCodeHook": { - "shape": "S20" + "shape": "S21" }, "intentConfirmationSetting": { - "shape": "S2r" + "shape": "S2s" }, "intentClosingSetting": { - "shape": "S2u" + "shape": "S2v" }, "inputContexts": { - "shape": "S2v" + "shape": "S2w" }, "outputContexts": { - "shape": "S2x" + "shape": "S2y" }, "kendraConfiguration": { - "shape": "S31" + "shape": "S32" }, "botId": {}, "botVersion": {}, @@ -505,10 +505,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S3q" + "shape": "S3r" }, "obfuscationSetting": { - "shape": "S40" + "shape": "S41" }, "botId": { "location": "uri", @@ -527,7 +527,7 @@ "locationName": "intentId" }, "multipleValuesSetting": { - "shape": "S42" + "shape": "S43" } } }, @@ -539,10 +539,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S3q" + "shape": "S3r" }, "obfuscationSetting": { - "shape": "S40" + "shape": "S41" }, "botId": {}, "botVersion": {}, @@ -552,7 +552,7 @@ "type": "timestamp" }, "multipleValuesSetting": { - "shape": "S42" + "shape": "S43" } } } @@ -575,10 +575,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S45" + "shape": "S46" }, "valueSelectionSetting": { - "shape": "S4a" + "shape": "S4b" }, "parentSlotTypeSignature": {}, "botId": { @@ -594,7 +594,7 @@ "locationName": "localeId" }, "externalSourceSetting": { - "shape": "S4f" + "shape": "S4i" } } }, @@ -605,10 +605,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S45" + "shape": "S46" }, "valueSelectionSetting": { - "shape": "S4a" + "shape": "S4b" }, "parentSlotTypeSignature": {}, "botId": {}, @@ -618,7 +618,7 @@ "type": "timestamp" }, "externalSourceSetting": { - "shape": "S4f" + "shape": "S4i" } } } @@ -783,6 +783,44 @@ } } }, + "DeleteCustomVocabulary": { + "http": { + "method": "DELETE", + "requestUri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary", + "responseCode": 202 + }, + "input": { + "type": "structure", + "required": [ + "botId", + "botVersion", + "localeId" + ], + "members": { + "botId": { + "location": "uri", + "locationName": "botId" + }, + "botVersion": { + "location": "uri", + "locationName": "botVersion" + }, + "localeId": { + "location": "uri", + "locationName": "localeId" + } + } + }, + "output": { + "type": "structure", + "members": { + "botId": {}, + "botVersion": {}, + "localeId": {}, + "customVocabularyStatus": {} + } + } + }, "DeleteExport": { "http": { "method": "DELETE", @@ -1199,7 +1237,7 @@ }, "botLocaleStatus": {}, "failureReasons": { - "shape": "S5l" + "shape": "S5r" }, "creationDateTime": { "type": "timestamp" @@ -1227,7 +1265,7 @@ } }, "recommendedActions": { - "shape": "S5q" + "shape": "S5w" } } } @@ -1274,7 +1312,7 @@ "botRecommendationStatus": {}, "botRecommendationId": {}, "failureReasons": { - "shape": "S5l" + "shape": "S5r" }, "creationDateTime": { "type": "timestamp" @@ -1283,10 +1321,10 @@ "type": "timestamp" }, "transcriptSourceSetting": { - "shape": "S5v" + "shape": "S61" }, "encryptionSetting": { - "shape": "S64" + "shape": "S6a" }, "botRecommendationResults": { "type": "structure", @@ -1358,7 +1396,7 @@ }, "botStatus": {}, "failureReasons": { - "shape": "S5l" + "shape": "S5r" }, "creationDateTime": { "type": "timestamp" @@ -1366,6 +1404,50 @@ } } }, + "DescribeCustomVocabularyMetadata": { + "http": { + "method": "GET", + "requestUri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/metadata", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "botId", + "botVersion", + "localeId" + ], + "members": { + "botId": { + "location": "uri", + "locationName": "botId" + }, + "botVersion": { + "location": "uri", + "locationName": "botVersion" + }, + "localeId": { + "location": "uri", + "locationName": "localeId" + } + } + }, + "output": { + "type": "structure", + "members": { + "botId": {}, + "botVersion": {}, + "localeId": {}, + "customVocabularyStatus": {}, + "creationDateTime": { + "type": "timestamp" + }, + "lastUpdatedDateTime": { + "type": "timestamp" + } + } + } + }, "DescribeExport": { "http": { "method": "GET", @@ -1394,7 +1476,7 @@ "fileFormat": {}, "exportStatus": {}, "failureReasons": { - "shape": "S5l" + "shape": "S5r" }, "downloadUrl": {}, "creationDateTime": { @@ -1429,14 +1511,14 @@ "members": { "importId": {}, "resourceSpecification": { - "shape": "S6h" + "shape": "S6p" }, "importedResourceId": {}, "importedResourceName": {}, "mergeStrategy": {}, "importStatus": {}, "failureReasons": { - "shape": "S5l" + "shape": "S5r" }, "creationDateTime": { "type": "timestamp" @@ -1488,31 +1570,31 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S1w" + "shape": "S1x" }, "dialogCodeHook": { - "shape": "S1z" + "shape": "S20" }, "fulfillmentCodeHook": { - "shape": "S20" + "shape": "S21" }, "slotPriorities": { - "shape": "S6o" + "shape": "S6x" }, "intentConfirmationSetting": { - "shape": "S2r" + "shape": "S2s" }, "intentClosingSetting": { - "shape": "S2u" + "shape": "S2v" }, "inputContexts": { - "shape": "S2v" + "shape": "S2w" }, "outputContexts": { - "shape": "S2x" + "shape": "S2y" }, "kendraConfiguration": { - "shape": "S31" + "shape": "S32" }, "botId": {}, "botVersion": {}, @@ -1599,10 +1681,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S3q" + "shape": "S3r" }, "obfuscationSetting": { - "shape": "S40" + "shape": "S41" }, "botId": {}, "botVersion": {}, @@ -1615,7 +1697,7 @@ "type": "timestamp" }, "multipleValuesSetting": { - "shape": "S42" + "shape": "S43" } } } @@ -1660,10 +1742,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S45" + "shape": "S46" }, "valueSelectionSetting": { - "shape": "S4a" + "shape": "S4b" }, "parentSlotTypeSignature": {}, "botId": {}, @@ -1676,7 +1758,7 @@ "type": "timestamp" }, "externalSourceSetting": { - "shape": "S4f" + "shape": "S4i" } } } @@ -1702,7 +1784,7 @@ "botVersion": {}, "localeId": {}, "aggregationDuration": { - "shape": "S6y" + "shape": "S77" }, "sortBy": { "type": "structure", @@ -1727,7 +1809,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" }, "operator": {} } @@ -1747,7 +1829,7 @@ "botVersion": {}, "localeId": {}, "aggregationDuration": { - "shape": "S6y" + "shape": "S77" }, "aggregationWindowStartTime": { "type": "timestamp" @@ -1877,7 +1959,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" }, "operator": {} } @@ -2063,7 +2145,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" }, "operator": {} } @@ -2231,7 +2313,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" }, "operator": {} } @@ -2240,7 +2322,8 @@ "maxResults": { "type": "integer" }, - "nextToken": {} + "nextToken": {}, + "localeId": {} } }, "output": { @@ -2268,7 +2351,8 @@ } } }, - "nextToken": {} + "nextToken": {}, + "localeId": {} } } }, @@ -2305,7 +2389,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" }, "operator": {} } @@ -2314,7 +2398,8 @@ "maxResults": { "type": "integer" }, - "nextToken": {} + "nextToken": {}, + "localeId": {} } }, "output": { @@ -2337,11 +2422,13 @@ }, "lastUpdatedDateTime": { "type": "timestamp" - } + }, + "importedResourceType": {} } } }, - "nextToken": {} + "nextToken": {}, + "localeId": {} } } }, @@ -2393,7 +2480,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" }, "operator": {} } @@ -2421,10 +2508,10 @@ "description": {}, "parentIntentSignature": {}, "inputContexts": { - "shape": "S2v" + "shape": "S2w" }, "outputContexts": { - "shape": "S2x" + "shape": "S2y" }, "lastUpdatedDateTime": { "type": "timestamp" @@ -2544,7 +2631,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" }, "operator": {} } @@ -2635,7 +2722,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" }, "operator": {} } @@ -2665,7 +2752,7 @@ "slotConstraint": {}, "slotTypeId": {}, "valueElicitationPromptSpecification": { - "shape": "S2s" + "shape": "S2t" }, "lastUpdatedDateTime": { "type": "timestamp" @@ -2747,7 +2834,7 @@ "members": { "name": {}, "values": { - "shape": "S78" + "shape": "S7h" } } } @@ -2813,10 +2900,10 @@ "locationName": "localeId" }, "transcriptSourceSetting": { - "shape": "S5v" + "shape": "S61" }, "encryptionSetting": { - "shape": "S64" + "shape": "S6a" } } }, @@ -2832,10 +2919,10 @@ "type": "timestamp" }, "transcriptSourceSetting": { - "shape": "S5v" + "shape": "S61" }, "encryptionSetting": { - "shape": "S64" + "shape": "S6a" } } } @@ -2856,11 +2943,11 @@ "members": { "importId": {}, "resourceSpecification": { - "shape": "S6h" + "shape": "S6p" }, "mergeStrategy": {}, "filePassword": { - "shape": "S1r" + "shape": "S1s" } } }, @@ -2869,7 +2956,7 @@ "members": { "importId": {}, "resourceSpecification": { - "shape": "S6h" + "shape": "S6p" }, "mergeStrategy": {}, "importStatus": {}, @@ -3104,7 +3191,7 @@ }, "botLocaleStatus": {}, "failureReasons": { - "shape": "S5l" + "shape": "S5r" }, "creationDateTime": { "type": "timestamp" @@ -3113,7 +3200,7 @@ "type": "timestamp" }, "recommendedActions": { - "shape": "S5q" + "shape": "S5w" } } } @@ -3151,7 +3238,7 @@ "locationName": "botRecommendationId" }, "encryptionSetting": { - "shape": "S64" + "shape": "S6a" } } }, @@ -3170,10 +3257,10 @@ "type": "timestamp" }, "transcriptSourceSetting": { - "shape": "S5v" + "shape": "S61" }, "encryptionSetting": { - "shape": "S64" + "shape": "S6a" } } } @@ -3195,7 +3282,7 @@ "locationName": "exportId" }, "filePassword": { - "shape": "S1r" + "shape": "S1s" } } }, @@ -3241,31 +3328,31 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S1w" + "shape": "S1x" }, "dialogCodeHook": { - "shape": "S1z" + "shape": "S20" }, "fulfillmentCodeHook": { - "shape": "S20" + "shape": "S21" }, "slotPriorities": { - "shape": "S6o" + "shape": "S6x" }, "intentConfirmationSetting": { - "shape": "S2r" + "shape": "S2s" }, "intentClosingSetting": { - "shape": "S2u" + "shape": "S2v" }, "inputContexts": { - "shape": "S2v" + "shape": "S2w" }, "outputContexts": { - "shape": "S2x" + "shape": "S2y" }, "kendraConfiguration": { - "shape": "S31" + "shape": "S32" }, "botId": { "location": "uri", @@ -3289,31 +3376,31 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S1w" + "shape": "S1x" }, "dialogCodeHook": { - "shape": "S1z" + "shape": "S20" }, "fulfillmentCodeHook": { - "shape": "S20" + "shape": "S21" }, "slotPriorities": { - "shape": "S6o" + "shape": "S6x" }, "intentConfirmationSetting": { - "shape": "S2r" + "shape": "S2s" }, "intentClosingSetting": { - "shape": "S2u" + "shape": "S2v" }, "inputContexts": { - "shape": "S2v" + "shape": "S2w" }, "outputContexts": { - "shape": "S2x" + "shape": "S2y" }, "kendraConfiguration": { - "shape": "S31" + "shape": "S32" }, "botId": {}, "botVersion": {}, @@ -3386,10 +3473,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S3q" + "shape": "S3r" }, "obfuscationSetting": { - "shape": "S40" + "shape": "S41" }, "botId": { "location": "uri", @@ -3408,7 +3495,7 @@ "locationName": "intentId" }, "multipleValuesSetting": { - "shape": "S42" + "shape": "S43" } } }, @@ -3420,10 +3507,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S3q" + "shape": "S3r" }, "obfuscationSetting": { - "shape": "S40" + "shape": "S41" }, "botId": {}, "botVersion": {}, @@ -3436,7 +3523,7 @@ "type": "timestamp" }, "multipleValuesSetting": { - "shape": "S42" + "shape": "S43" } } } @@ -3464,10 +3551,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S45" + "shape": "S46" }, "valueSelectionSetting": { - "shape": "S4a" + "shape": "S4b" }, "parentSlotTypeSignature": {}, "botId": { @@ -3483,7 +3570,7 @@ "locationName": "localeId" }, "externalSourceSetting": { - "shape": "S4f" + "shape": "S4i" } } }, @@ -3494,10 +3581,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S45" + "shape": "S46" }, "valueSelectionSetting": { - "shape": "S4a" + "shape": "S4b" }, "parentSlotTypeSignature": {}, "botId": {}, @@ -3510,7 +3597,7 @@ "type": "timestamp" }, "externalSourceSetting": { - "shape": "S4f" + "shape": "S4i" } } } @@ -3701,14 +3788,27 @@ "botVersion": {}, "localeId": {} } + }, + "customVocabularyExportSpecification": { + "type": "structure", + "required": [ + "botId", + "botVersion", + "localeId" + ], + "members": { + "botId": {}, + "botVersion": {}, + "localeId": {} + } } } }, - "S1r": { + "S1s": { "type": "string", "sensitive": true }, - "S1w": { + "S1x": { "type": "list", "member": { "type": "structure", @@ -3720,7 +3820,7 @@ } } }, - "S1z": { + "S20": { "type": "structure", "required": [ "enabled" @@ -3731,7 +3831,7 @@ } } }, - "S20": { + "S21": { "type": "structure", "required": [ "enabled" @@ -3744,13 +3844,13 @@ "type": "structure", "members": { "successResponse": { - "shape": "S22" + "shape": "S23" }, "failureResponse": { - "shape": "S22" + "shape": "S23" }, "timeoutResponse": { - "shape": "S22" + "shape": "S23" } } }, @@ -3774,7 +3874,7 @@ "type": "integer" }, "messageGroups": { - "shape": "S23" + "shape": "S24" }, "allowInterrupt": { "type": "boolean" @@ -3792,7 +3892,7 @@ "type": "integer" }, "messageGroups": { - "shape": "S23" + "shape": "S24" }, "allowInterrupt": { "type": "boolean" @@ -3806,21 +3906,21 @@ } } }, - "S22": { + "S23": { "type": "structure", "required": [ "messageGroups" ], "members": { "messageGroups": { - "shape": "S23" + "shape": "S24" }, "allowInterrupt": { "type": "boolean" } } }, - "S23": { + "S24": { "type": "list", "member": { "type": "structure", @@ -3829,18 +3929,18 @@ ], "members": { "message": { - "shape": "S25" + "shape": "S26" }, "variations": { "type": "list", "member": { - "shape": "S25" + "shape": "S26" } } } } }, - "S25": { + "S26": { "type": "structure", "members": { "plainTextMessage": { @@ -3897,7 +3997,7 @@ } } }, - "S2r": { + "S2s": { "type": "structure", "required": [ "promptSpecification", @@ -3905,17 +4005,17 @@ ], "members": { "promptSpecification": { - "shape": "S2s" + "shape": "S2t" }, "declinationResponse": { - "shape": "S22" + "shape": "S23" }, "active": { "type": "boolean" } } }, - "S2s": { + "S2t": { "type": "structure", "required": [ "messageGroups", @@ -3923,7 +4023,7 @@ ], "members": { "messageGroups": { - "shape": "S23" + "shape": "S24" }, "maxRetries": { "type": "integer" @@ -3933,21 +4033,21 @@ } } }, - "S2u": { + "S2v": { "type": "structure", "required": [ "closingResponse" ], "members": { "closingResponse": { - "shape": "S22" + "shape": "S23" }, "active": { "type": "boolean" } } }, - "S2v": { + "S2w": { "type": "list", "member": { "type": "structure", @@ -3959,7 +4059,7 @@ } } }, - "S2x": { + "S2y": { "type": "list", "member": { "type": "structure", @@ -3979,7 +4079,7 @@ } } }, - "S31": { + "S32": { "type": "structure", "required": [ "kendraIndex" @@ -3992,7 +4092,7 @@ "queryFilterString": {} } }, - "S3q": { + "S3r": { "type": "structure", "required": [ "slotConstraint" @@ -4020,10 +4120,10 @@ }, "slotConstraint": {}, "promptSpecification": { - "shape": "S2s" + "shape": "S2t" }, "sampleUtterances": { - "shape": "S1w" + "shape": "S1x" }, "waitAndContinueSpecification": { "type": "structure", @@ -4033,10 +4133,10 @@ ], "members": { "waitingResponse": { - "shape": "S22" + "shape": "S23" }, "continueResponse": { - "shape": "S22" + "shape": "S23" }, "stillWaitingResponse": { "type": "structure", @@ -4047,7 +4147,7 @@ ], "members": { "messageGroups": { - "shape": "S23" + "shape": "S24" }, "frequencyInSeconds": { "type": "integer" @@ -4067,7 +4167,7 @@ } } }, - "S40": { + "S41": { "type": "structure", "required": [ "obfuscationSettingType" @@ -4076,7 +4176,7 @@ "obfuscationSettingType": {} } }, - "S42": { + "S43": { "type": "structure", "members": { "allowMultipleValues": { @@ -4084,24 +4184,24 @@ } } }, - "S45": { + "S46": { "type": "list", "member": { "type": "structure", "members": { "sampleValue": { - "shape": "S47" + "shape": "S48" }, "synonyms": { "type": "list", "member": { - "shape": "S47" + "shape": "S48" } } } } }, - "S47": { + "S48": { "type": "structure", "required": [ "value" @@ -4110,7 +4210,7 @@ "value": {} } }, - "S4a": { + "S4b": { "type": "structure", "required": [ "resolutionStrategy" @@ -4125,10 +4225,16 @@ "members": { "pattern": {} } + }, + "advancedRecognitionSetting": { + "type": "structure", + "members": { + "audioRecognitionStrategy": {} + } } } }, - "S4f": { + "S4i": { "type": "structure", "members": { "grammarSlotTypeSetting": { @@ -4150,15 +4256,15 @@ } } }, - "S5l": { + "S5r": { "type": "list", "member": {} }, - "S5q": { + "S5w": { "type": "list", "member": {} }, - "S5v": { + "S61": { "type": "structure", "members": { "s3BucketTranscriptSource": { @@ -4209,23 +4315,23 @@ } } }, - "S64": { + "S6a": { "type": "structure", "members": { "kmsKeyArn": {}, "botLocaleExportPassword": { - "shape": "S65" + "shape": "S6b" }, "associatedTranscriptsPassword": { - "shape": "S65" + "shape": "S6b" } } }, - "S65": { + "S6b": { "type": "string", "sensitive": true }, - "S6h": { + "S6p": { "type": "structure", "members": { "botImportSpecification": { @@ -4270,10 +4376,23 @@ "shape": "S1c" } } + }, + "customVocabularyImportSpecification": { + "type": "structure", + "required": [ + "botId", + "botVersion", + "localeId" + ], + "members": { + "botId": {}, + "botVersion": {}, + "localeId": {} + } } } }, - "S6o": { + "S6x": { "type": "list", "member": { "type": "structure", @@ -4289,7 +4408,7 @@ } } }, - "S6y": { + "S77": { "type": "structure", "required": [ "relativeAggregationDuration" @@ -4310,7 +4429,7 @@ } } }, - "S78": { + "S7h": { "type": "list", "member": {} } diff --git a/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json b/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json index fc108a3b3..3e718b886 100644 --- a/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json +++ b/node_modules/aws-sdk/apis/mwaa-2020-07-01.min.json @@ -222,6 +222,7 @@ "ErrorMessage": {} } }, + "Source": {}, "Status": {} } }, @@ -229,19 +230,19 @@ "type": "structure", "members": { "DagProcessingLogs": { - "shape": "S1h" + "shape": "S1i" }, "SchedulerLogs": { - "shape": "S1h" + "shape": "S1i" }, "TaskLogs": { - "shape": "S1h" + "shape": "S1i" }, "WebserverLogs": { - "shape": "S1h" + "shape": "S1i" }, "WorkerLogs": { - "shape": "S1h" + "shape": "S1i" } } }, @@ -610,7 +611,7 @@ "key": {}, "value": {} }, - "S1h": { + "S1i": { "type": "structure", "members": { "CloudWatchLogGroupArn": {}, diff --git a/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json b/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json index 6a17eb700..777a80641 100644 --- a/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json +++ b/node_modules/aws-sdk/apis/nimble-2020-08-01.min.json @@ -143,7 +143,7 @@ "type": "structure", "members": { "streamingImage": { - "shape": "S19" + "shape": "S1f" } } } @@ -181,7 +181,7 @@ "type": "structure", "members": { "session": { - "shape": "S1l" + "shape": "S1r" } } } @@ -220,7 +220,7 @@ "type": "structure", "members": { "stream": { - "shape": "S1s" + "shape": "S1y" } } }, @@ -251,7 +251,7 @@ "sensitive": true }, "studioEncryptionConfiguration": { - "shape": "S1y" + "shape": "S24" }, "studioName": {}, "tags": { @@ -264,7 +264,7 @@ "type": "structure", "members": { "studio": { - "shape": "S23" + "shape": "S29" } } } @@ -288,22 +288,22 @@ "locationName": "X-Amz-Client-Token" }, "configuration": { - "shape": "S29" + "shape": "S2f" }, "description": { - "shape": "S2p" + "shape": "S2v" }, "ec2SecurityGroupIds": { - "shape": "S2q" + "shape": "S2w" }, "initializationScripts": { - "shape": "S2s" + "shape": "S2y" }, "name": { - "shape": "S2x" + "shape": "S33" }, "scriptParameters": { - "shape": "S2y" + "shape": "S34" }, "studioId": { "location": "uri", @@ -320,7 +320,7 @@ "type": "structure", "members": { "studioComponent": { - "shape": "S35" + "shape": "S3b" } } } @@ -434,7 +434,7 @@ "type": "structure", "members": { "streamingImage": { - "shape": "S19" + "shape": "S1f" } } }, @@ -472,7 +472,7 @@ "type": "structure", "members": { "session": { - "shape": "S1l" + "shape": "S1r" } } }, @@ -508,7 +508,7 @@ ], "members": { "studio": { - "shape": "S23" + "shape": "S29" } } }, @@ -546,7 +546,7 @@ "type": "structure", "members": { "studioComponent": { - "shape": "S35" + "shape": "S3b" } } }, @@ -608,7 +608,7 @@ "type": "structure", "members": { "eula": { - "shape": "S3p" + "shape": "S3v" } } } @@ -675,7 +675,7 @@ "shape": "Sz" }, "streamingImages": { - "shape": "S3v" + "shape": "S41" }, "studioComponentSummaries": { "type": "list", @@ -687,10 +687,10 @@ }, "createdBy": {}, "description": { - "shape": "S2p" + "shape": "S2v" }, "name": { - "shape": "S2x" + "shape": "S33" }, "studioComponentId": {}, "subtype": {}, @@ -726,7 +726,7 @@ "locationName": "launchProfileId" }, "launchProfileProtocolVersions": { - "shape": "S3z", + "shape": "S45", "location": "querystring", "locationName": "launchProfileProtocolVersions" }, @@ -754,7 +754,7 @@ "type": "structure", "members": { "computerAttributes": { - "shape": "S2b" + "shape": "S2h" }, "directoryId": {}, "directoryName": {}, @@ -765,7 +765,7 @@ "organizationalUnitDistinguishedName": {}, "studioComponentId": {}, "studioComponentName": { - "shape": "S2x" + "shape": "S33" } } }, @@ -781,10 +781,10 @@ }, "platform": {}, "systemInitializationScripts": { - "shape": "S47" + "shape": "S4d" }, "userInitializationScripts": { - "shape": "S47" + "shape": "S4d" } } } @@ -823,7 +823,7 @@ "type": "structure", "members": { "member": { - "shape": "S4b" + "shape": "S4h" } } } @@ -855,7 +855,7 @@ "type": "structure", "members": { "streamingImage": { - "shape": "S19" + "shape": "S1f" } } } @@ -887,7 +887,7 @@ "type": "structure", "members": { "session": { - "shape": "S1l" + "shape": "S1r" } } } @@ -924,7 +924,7 @@ "type": "structure", "members": { "stream": { - "shape": "S1s" + "shape": "S1y" } } } @@ -954,7 +954,7 @@ ], "members": { "studio": { - "shape": "S23" + "shape": "S29" } } } @@ -986,7 +986,7 @@ "type": "structure", "members": { "studioComponent": { - "shape": "S35" + "shape": "S3b" } } } @@ -1018,7 +1018,7 @@ "type": "structure", "members": { "member": { - "shape": "S4p" + "shape": "S4v" } } } @@ -1036,7 +1036,7 @@ ], "members": { "eulaIds": { - "shape": "S3z", + "shape": "S45", "location": "querystring", "locationName": "eulaIds" }, @@ -1070,7 +1070,7 @@ "type": "structure", "members": { "eulaIds": { - "shape": "S3z", + "shape": "S45", "location": "querystring", "locationName": "eulaIds" }, @@ -1086,7 +1086,7 @@ "eulas": { "type": "list", "member": { - "shape": "S3p" + "shape": "S3v" } }, "nextToken": {} @@ -1131,7 +1131,7 @@ "members": { "type": "list", "member": { - "shape": "S4b" + "shape": "S4h" } }, "nextToken": {} @@ -1164,9 +1164,10 @@ "locationName": "principalId" }, "states": { - "shape": "S3z", "location": "querystring", - "locationName": "states" + "locationName": "states", + "type": "list", + "member": {} }, "studioId": { "location": "uri", @@ -1218,7 +1219,7 @@ "members": { "nextToken": {}, "streamingImages": { - "shape": "S3v" + "shape": "S41" } } } @@ -1264,7 +1265,7 @@ "sessions": { "type": "list", "member": { - "shape": "S1l" + "shape": "S1r" } } } @@ -1292,18 +1293,20 @@ "locationName": "nextToken" }, "states": { - "shape": "S3z", "location": "querystring", - "locationName": "states" + "locationName": "states", + "type": "list", + "member": {} }, "studioId": { "location": "uri", "locationName": "studioId" }, "types": { - "shape": "S3z", "location": "querystring", - "locationName": "types" + "locationName": "types", + "type": "list", + "member": {} } } }, @@ -1314,7 +1317,7 @@ "studioComponents": { "type": "list", "member": { - "shape": "S35" + "shape": "S3b" } } } @@ -1353,7 +1356,7 @@ "members": { "type": "list", "member": { - "shape": "S4p" + "shape": "S4v" } }, "nextToken": {} @@ -1385,7 +1388,7 @@ "studios": { "type": "list", "member": { - "shape": "S23" + "shape": "S29" } } } @@ -1542,7 +1545,7 @@ "type": "structure", "members": { "session": { - "shape": "S1l" + "shape": "S1r" } } }, @@ -1578,7 +1581,7 @@ ], "members": { "studio": { - "shape": "S23" + "shape": "S29" } } }, @@ -1615,7 +1618,7 @@ "type": "structure", "members": { "session": { - "shape": "S1l" + "shape": "S1r" } } }, @@ -1664,7 +1667,7 @@ "locationName": "resourceArn" }, "tagKeys": { - "shape": "S3z", + "shape": "S45", "location": "querystring", "locationName": "tagKeys" } @@ -1767,7 +1770,7 @@ "type": "structure", "members": { "member": { - "shape": "S4b" + "shape": "S4h" } } } @@ -1812,7 +1815,7 @@ "type": "structure", "members": { "streamingImage": { - "shape": "S19" + "shape": "S1f" } } } @@ -1853,7 +1856,7 @@ ], "members": { "studio": { - "shape": "S23" + "shape": "S29" } } } @@ -1877,22 +1880,22 @@ "locationName": "X-Amz-Client-Token" }, "configuration": { - "shape": "S29" + "shape": "S2f" }, "description": { - "shape": "S2p" + "shape": "S2v" }, "ec2SecurityGroupIds": { - "shape": "S2q" + "shape": "S2w" }, "initializationScripts": { - "shape": "S2s" + "shape": "S2y" }, "name": { - "shape": "S2x" + "shape": "S33" }, "scriptParameters": { - "shape": "S2y" + "shape": "S34" }, "studioComponentId": { "location": "uri", @@ -1910,7 +1913,7 @@ "type": "structure", "members": { "studioComponent": { - "shape": "S35" + "shape": "S3b" } } } @@ -2083,10 +2086,28 @@ "updatedAt": { "shape": "S8" }, - "updatedBy": {} + "updatedBy": {}, + "validationResults": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "state", + "statusCode", + "statusMessage", + "type" + ], + "members": { + "state": {}, + "statusCode": {}, + "statusMessage": {}, + "type": {} + } + } + } } }, - "S19": { + "S1f": { "type": "structure", "members": { "arn": {}, @@ -2123,7 +2144,7 @@ } } }, - "S1l": { + "S1r": { "type": "structure", "members": { "arn": {}, @@ -2162,7 +2183,7 @@ "updatedBy": {} } }, - "S1s": { + "S1y": { "type": "structure", "members": { "createdAt": { @@ -2182,7 +2203,7 @@ } } }, - "S1y": { + "S24": { "type": "structure", "required": [ "keyType" @@ -2192,7 +2213,7 @@ "keyType": {} } }, - "S23": { + "S29": { "type": "structure", "members": { "adminRoleArn": {}, @@ -2210,7 +2231,7 @@ "statusCode": {}, "statusMessage": {}, "studioEncryptionConfiguration": { - "shape": "S1y" + "shape": "S24" }, "studioId": {}, "studioName": {}, @@ -2224,14 +2245,14 @@ "userRoleArn": {} } }, - "S29": { + "S2f": { "type": "structure", "members": { "activeDirectoryConfiguration": { "type": "structure", "members": { "computerAttributes": { - "shape": "S2b" + "shape": "S2h" }, "directoryId": {}, "organizationalUnitDistinguishedName": {} @@ -2260,7 +2281,7 @@ "type": "structure", "members": { "endpoint": { - "shape": "S2m" + "shape": "S2s" }, "fileSystemId": {}, "linuxMountPoint": { @@ -2268,7 +2289,7 @@ "sensitive": true }, "shareName": { - "shape": "S2m" + "shape": "S2s" }, "windowsMountDrive": {} } @@ -2276,7 +2297,7 @@ }, "union": true }, - "S2b": { + "S2h": { "type": "list", "member": { "type": "structure", @@ -2287,19 +2308,19 @@ }, "sensitive": true }, - "S2m": { + "S2s": { "type": "string", "sensitive": true }, - "S2p": { + "S2v": { "type": "string", "sensitive": true }, - "S2q": { + "S2w": { "type": "list", "member": {} }, - "S2s": { + "S2y": { "type": "list", "member": { "type": "structure", @@ -2308,20 +2329,20 @@ "platform": {}, "runContext": {}, "script": { - "shape": "S2w" + "shape": "S32" } } } }, - "S2w": { + "S32": { "type": "string", "sensitive": true }, - "S2x": { + "S33": { "type": "string", "sensitive": true }, - "S2y": { + "S34": { "type": "list", "member": { "type": "structure", @@ -2332,31 +2353,31 @@ }, "sensitive": true }, - "S35": { + "S3b": { "type": "structure", "members": { "arn": {}, "configuration": { - "shape": "S29" + "shape": "S2f" }, "createdAt": { "shape": "S8" }, "createdBy": {}, "description": { - "shape": "S2p" + "shape": "S2v" }, "ec2SecurityGroupIds": { - "shape": "S2q" + "shape": "S2w" }, "initializationScripts": { - "shape": "S2s" + "shape": "S2y" }, "name": { - "shape": "S2x" + "shape": "S33" }, "scriptParameters": { - "shape": "S2y" + "shape": "S34" }, "state": {}, "statusCode": {}, @@ -2373,7 +2394,7 @@ "updatedBy": {} } }, - "S3p": { + "S3v": { "type": "structure", "members": { "content": {}, @@ -2387,32 +2408,32 @@ } } }, - "S3v": { + "S41": { "type": "list", "member": { - "shape": "S19" + "shape": "S1f" } }, - "S3z": { + "S45": { "type": "list", "member": {} }, - "S47": { + "S4d": { "type": "list", "member": { "type": "structure", "members": { "script": { - "shape": "S2w" + "shape": "S32" }, "studioComponentId": {}, "studioComponentName": { - "shape": "S2x" + "shape": "S33" } } } }, - "S4b": { + "S4h": { "type": "structure", "members": { "identityStoreId": {}, @@ -2421,7 +2442,7 @@ "sid": {} } }, - "S4p": { + "S4v": { "type": "structure", "members": { "identityStoreId": {}, diff --git a/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json b/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json index 474e3aa3b..1348bbc36 100644 --- a/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +++ b/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json @@ -207,7 +207,7 @@ }, "ConnectionAlias": {}, "ConnectionStatus": { - "shape": "S2q" + "shape": "S2u" }, "ConnectionId": {} } @@ -229,7 +229,7 @@ "PackageType": {}, "PackageDescription": {}, "PackageSource": { - "shape": "S2u" + "shape": "S2y" } } }, @@ -237,7 +237,7 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S2y" + "shape": "S32" } } } @@ -315,7 +315,7 @@ "type": "structure", "members": { "Connection": { - "shape": "S37" + "shape": "S3b" } } } @@ -341,7 +341,7 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S2y" + "shape": "S32" } } } @@ -428,6 +428,66 @@ } } }, + "DescribeDomainChangeProgress": { + "http": { + "method": "GET", + "requestUri": "/2021-01-01/opensearch/domain/{DomainName}/progress" + }, + "input": { + "type": "structure", + "required": [ + "DomainName" + ], + "members": { + "DomainName": { + "location": "uri", + "locationName": "DomainName" + }, + "ChangeId": { + "location": "querystring", + "locationName": "changeid" + } + } + }, + "output": { + "type": "structure", + "members": { + "ChangeProgressStatus": { + "type": "structure", + "members": { + "ChangeId": {}, + "StartTime": { + "type": "timestamp" + }, + "Status": {}, + "PendingProperties": { + "shape": "S1g" + }, + "CompletedProperties": { + "shape": "S1g" + }, + "TotalNumberOfStages": { + "type": "integer" + }, + "ChangeProgressStages": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Name": {}, + "Status": {}, + "Description": {}, + "LastUpdated": { + "type": "timestamp" + } + } + } + } + } + } + } + } + }, "DescribeDomainConfig": { "http": { "method": "GET", @@ -452,7 +512,7 @@ ], "members": { "DomainConfig": { - "shape": "S3r" + "shape": "S46" } } } @@ -496,7 +556,7 @@ "type": "structure", "members": { "Filters": { - "shape": "S4i" + "shape": "S4w" }, "MaxResults": { "type": "integer" @@ -566,7 +626,7 @@ "members": { "LimitName": {}, "LimitValues": { - "shape": "S50" + "shape": "S5e" } } } @@ -597,7 +657,7 @@ "members": { "LimitName": {}, "LimitValues": { - "shape": "S50" + "shape": "S5e" } } } @@ -616,7 +676,7 @@ "type": "structure", "members": { "Filters": { - "shape": "S4i" + "shape": "S4w" }, "MaxResults": { "type": "integer" @@ -630,7 +690,7 @@ "Connections": { "type": "list", "member": { - "shape": "S37" + "shape": "S3b" } }, "NextToken": {} @@ -669,7 +729,7 @@ "PackageDetailsList": { "type": "list", "member": { - "shape": "S2y" + "shape": "S32" } }, "NextToken": {} @@ -722,7 +782,7 @@ "CurrencyCode": {}, "PaymentOption": {}, "RecurringCharges": { - "shape": "S5r" + "shape": "S64" } } } @@ -788,7 +848,7 @@ "State": {}, "PaymentOption": {}, "RecurringCharges": { - "shape": "S5r" + "shape": "S64" } } } @@ -850,7 +910,7 @@ "members": { "SourceVersion": {}, "TargetVersions": { - "shape": "S65" + "shape": "S6i" } } } @@ -1054,7 +1114,7 @@ "type": "structure", "members": { "DomainPackageDetailsList": { - "shape": "S6w" + "shape": "S79" }, "NextToken": {} } @@ -1155,7 +1215,7 @@ "type": "structure", "members": { "DomainPackageDetailsList": { - "shape": "S6w" + "shape": "S79" }, "NextToken": {} } @@ -1210,7 +1270,7 @@ "type": "structure", "members": { "Versions": { - "shape": "S65" + "shape": "S6i" }, "NextToken": {} } @@ -1357,7 +1417,7 @@ "shape": "S1w" }, "AutoTuneOptions": { - "shape": "S4a" + "shape": "S4o" }, "DryRun": { "type": "boolean" @@ -1371,7 +1431,7 @@ ], "members": { "DomainConfig": { - "shape": "S3r" + "shape": "S46" }, "DryRunResults": { "type": "structure", @@ -1396,7 +1456,7 @@ "members": { "PackageID": {}, "PackageSource": { - "shape": "S2u" + "shape": "S2y" }, "PackageDescription": {}, "CommitMessage": {} @@ -1406,7 +1466,7 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S2y" + "shape": "S32" } } } @@ -1443,6 +1503,9 @@ }, "AdvancedOptions": { "shape": "S1o" + }, + "ChangeProgressDetails": { + "shape": "S2o" } } } @@ -1728,6 +1791,9 @@ "type": "integer" } } + }, + "AnonymousAuthEnabled": { + "type": "boolean" } } }, @@ -1841,6 +1907,9 @@ "State": {}, "ErrorMessage": {} } + }, + "ChangeProgressDetails": { + "shape": "S2o" } } }, @@ -1883,24 +1952,37 @@ "type": "integer" } } + }, + "AnonymousAuthDisableDate": { + "type": "timestamp" + }, + "AnonymousAuthEnabled": { + "type": "boolean" } } }, - "S2q": { + "S2o": { "type": "structure", "members": { - "StatusCode": {}, + "ChangeId": {}, "Message": {} } }, "S2u": { + "type": "structure", + "members": { + "StatusCode": {}, + "Message": {} + } + }, + "S2y": { "type": "structure", "members": { "S3BucketName": {}, "S3Key": {} } }, - "S2y": { + "S32": { "type": "structure", "members": { "PackageID": {}, @@ -1920,7 +2002,7 @@ } } }, - "S37": { + "S3b": { "type": "structure", "members": { "LocalDomainInfo": { @@ -1932,11 +2014,11 @@ "ConnectionId": {}, "ConnectionAlias": {}, "ConnectionStatus": { - "shape": "S2q" + "shape": "S2u" } } }, - "S3r": { + "S46": { "type": "structure", "members": { "EngineVersion": { @@ -1948,7 +2030,7 @@ "members": { "Options": {}, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -1963,7 +2045,7 @@ "shape": "S15" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -1978,7 +2060,7 @@ "shape": "S1b" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -1991,7 +2073,7 @@ "members": { "Options": {}, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2006,7 +2088,7 @@ "shape": "S1e" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2021,7 +2103,7 @@ "shape": "S2i" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2036,7 +2118,7 @@ "shape": "S1h" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2051,7 +2133,7 @@ "shape": "S1l" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2066,7 +2148,7 @@ "shape": "S1n" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2081,7 +2163,7 @@ "shape": "S1o" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2092,7 +2174,7 @@ "shape": "S1p" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2107,7 +2189,7 @@ "shape": "S1t" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2122,7 +2204,7 @@ "shape": "S2j" }, "Status": { - "shape": "S3t" + "shape": "S48" } } }, @@ -2130,7 +2212,7 @@ "type": "structure", "members": { "Options": { - "shape": "S4a" + "shape": "S4o" }, "Status": { "type": "structure", @@ -2157,10 +2239,13 @@ } } } + }, + "ChangeProgressDetails": { + "shape": "S2o" } } }, - "S3t": { + "S48": { "type": "structure", "required": [ "CreationDate", @@ -2183,7 +2268,7 @@ } } }, - "S4a": { + "S4o": { "type": "structure", "members": { "DesiredState": {}, @@ -2193,7 +2278,7 @@ } } }, - "S4i": { + "S4w": { "type": "list", "member": { "type": "structure", @@ -2206,11 +2291,11 @@ } } }, - "S50": { + "S5e": { "type": "list", "member": {} }, - "S5r": { + "S64": { "type": "list", "member": { "type": "structure", @@ -2222,11 +2307,11 @@ } } }, - "S65": { + "S6i": { "type": "list", "member": {} }, - "S6w": { + "S79": { "type": "list", "member": { "shape": "Sm" diff --git a/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json b/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json index 06ebcf676..20e8020e2 100644 --- a/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +++ b/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json @@ -1868,6 +1868,9 @@ "members": { "itemExplorationConfig": { "shape": "Sc" + }, + "minRecommendationRequestsPerSecond": { + "type": "integer" } } }, diff --git a/node_modules/aws-sdk/apis/pi-2018-02-27.min.json b/node_modules/aws-sdk/apis/pi-2018-02-27.min.json index 716e0739e..e4a02d751 100644 --- a/node_modules/aws-sdk/apis/pi-2018-02-27.min.json +++ b/node_modules/aws-sdk/apis/pi-2018-02-27.min.json @@ -41,11 +41,15 @@ "GroupBy": { "shape": "S6" }, + "AdditionalMetrics": { + "type": "list", + "member": {} + }, "PartitionBy": { "shape": "S6" }, "Filter": { - "shape": "S9" + "shape": "Sa" }, "MaxResults": { "type": "integer" @@ -71,7 +75,7 @@ ], "members": { "Dimensions": { - "shape": "Sf" + "shape": "Sg" } } } @@ -82,11 +86,18 @@ "type": "structure", "members": { "Dimensions": { - "shape": "Sf" + "shape": "Sg" }, "Total": { "type": "double" }, + "AdditionalMetrics": { + "type": "map", + "key": {}, + "value": { + "type": "double" + } + }, "Partitions": { "type": "list", "member": { @@ -137,6 +148,35 @@ } } }, + "GetResourceMetadata": { + "input": { + "type": "structure", + "required": [ + "ServiceType", + "Identifier" + ], + "members": { + "ServiceType": {}, + "Identifier": {} + } + }, + "output": { + "type": "structure", + "members": { + "Identifier": {}, + "Features": { + "type": "map", + "key": {}, + "value": { + "type": "structure", + "members": { + "Status": {} + } + } + } + } + } + }, "GetResourceMetrics": { "input": { "type": "structure", @@ -163,7 +203,7 @@ "shape": "S6" }, "Filter": { - "shape": "S9" + "shape": "Sa" } } } @@ -206,7 +246,7 @@ "members": { "Metric": {}, "Dimensions": { - "shape": "Sf" + "shape": "Sg" } } }, @@ -234,6 +274,100 @@ "NextToken": {} } } + }, + "ListAvailableResourceDimensions": { + "input": { + "type": "structure", + "required": [ + "ServiceType", + "Identifier", + "Metrics" + ], + "members": { + "ServiceType": {}, + "Identifier": {}, + "Metrics": { + "type": "list", + "member": {} + }, + "MaxResults": { + "type": "integer" + }, + "NextToken": {} + } + }, + "output": { + "type": "structure", + "members": { + "MetricDimensions": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Metric": {}, + "Groups": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Group": {}, + "Dimensions": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Identifier": {} + } + } + } + } + } + } + } + } + }, + "NextToken": {} + } + } + }, + "ListAvailableResourceMetrics": { + "input": { + "type": "structure", + "required": [ + "ServiceType", + "Identifier", + "MetricTypes" + ], + "members": { + "ServiceType": {}, + "Identifier": {}, + "MetricTypes": { + "type": "list", + "member": {} + }, + "NextToken": {}, + "MaxResults": { + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "Metrics": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Metric": {}, + "Description": {}, + "Unit": {} + } + } + }, + "NextToken": {} + } + } } }, "shapes": { @@ -253,12 +387,12 @@ } } }, - "S9": { + "Sa": { "type": "map", "key": {}, "value": {} }, - "Sf": { + "Sg": { "type": "map", "key": {}, "value": {} diff --git a/node_modules/aws-sdk/apis/pi-2018-02-27.paginators.json b/node_modules/aws-sdk/apis/pi-2018-02-27.paginators.json index 5677bd8e4..8392da5c2 100644 --- a/node_modules/aws-sdk/apis/pi-2018-02-27.paginators.json +++ b/node_modules/aws-sdk/apis/pi-2018-02-27.paginators.json @@ -1,4 +1,24 @@ { "pagination": { + "DescribeDimensionKeys": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, + "GetResourceMetrics": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, + "ListAvailableResourceDimensions": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, + "ListAvailableResourceMetrics": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + } } } diff --git a/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json b/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json index 1349145e7..f70dd1810 100644 --- a/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +++ b/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json @@ -288,7 +288,7 @@ "type": "structure", "members": { "JourneyResponse": { - "shape": "S3i" + "shape": "S3j" } }, "required": [ @@ -965,7 +965,7 @@ "type": "structure", "members": { "JourneyResponse": { - "shape": "S3i" + "shape": "S3j" } }, "required": [ @@ -2506,7 +2506,7 @@ "type": "structure", "members": { "JourneyResponse": { - "shape": "S3i" + "shape": "S3j" } }, "required": [ @@ -3364,7 +3364,7 @@ "Item": { "type": "list", "member": { - "shape": "S3i" + "shape": "S3j" } }, "NextToken": {} @@ -4841,7 +4841,7 @@ "type": "structure", "members": { "JourneyResponse": { - "shape": "S3i" + "shape": "S3j" } }, "required": [ @@ -4885,7 +4885,7 @@ "type": "structure", "members": { "JourneyResponse": { - "shape": "S3i" + "shape": "S3j" } }, "required": [ @@ -5319,7 +5319,8 @@ "tags": { "shape": "S4", "locationName": "tags" - } + }, + "CreationDate": {} }, "required": [ "Id", @@ -6023,6 +6024,9 @@ }, "RefreshOnSegmentUpdate": { "type": "boolean" + }, + "JourneyChannelSettings": { + "shape": "S3h" } }, "required": [ @@ -6373,7 +6377,14 @@ } } }, - "S3i": { + "S3h": { + "type": "structure", + "members": { + "ConnectCampaignArn": {}, + "ConnectCampaignExecutionRoleArn": {} + } + }, + "S3j": { "type": "structure", "members": { "Activities": { @@ -6413,11 +6424,7 @@ "type": "boolean" }, "JourneyChannelSettings": { - "type": "structure", - "members": { - "ConnectCampaignArn": {}, - "ConnectCampaignExecutionRoleArn": {} - } + "shape": "S3h" } }, "required": [ diff --git a/node_modules/aws-sdk/apis/ram-2018-01-04.min.json b/node_modules/aws-sdk/apis/ram-2018-01-04.min.json index 7b7b91732..924245027 100644 --- a/node_modules/aws-sdk/apis/ram-2018-01-04.min.json +++ b/node_modules/aws-sdk/apis/ram-2018-01-04.min.json @@ -460,6 +460,33 @@ } } }, + "ListPermissionVersions": { + "http": { + "requestUri": "/listpermissionversions" + }, + "input": { + "type": "structure", + "required": [ + "permissionArn" + ], + "members": { + "permissionArn": {}, + "nextToken": {}, + "maxResults": { + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "permissions": { + "shape": "S1w" + }, + "nextToken": {} + } + } + }, "ListPermissions": { "http": { "requestUri": "/listpermissions" diff --git a/node_modules/aws-sdk/apis/ram-2018-01-04.paginators.json b/node_modules/aws-sdk/apis/ram-2018-01-04.paginators.json index 889569a30..5e8aa9e9d 100644 --- a/node_modules/aws-sdk/apis/ram-2018-01-04.paginators.json +++ b/node_modules/aws-sdk/apis/ram-2018-01-04.paginators.json @@ -25,6 +25,11 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "ListPermissionVersions": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, "ListPermissions": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/node_modules/aws-sdk/apis/rds-2014-10-31.min.json b/node_modules/aws-sdk/apis/rds-2014-10-31.min.json index 2b103f259..8de91dd3d 100644 --- a/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +++ b/node_modules/aws-sdk/apis/rds-2014-10-31.min.json @@ -5087,6 +5087,9 @@ }, "SupportsGlobalDatabases": { "type": "boolean" + }, + "SupportsBabelfish": { + "type": "boolean" } } } @@ -5134,6 +5137,9 @@ }, "TagList": { "shape": "Sb" + }, + "SupportsBabelfish": { + "type": "boolean" } } }, diff --git a/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json b/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json index 81e9303cd..7f7a3e4a9 100644 --- a/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +++ b/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json @@ -127,12 +127,18 @@ ], "members": { "job": {} - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", - "members": {} - } + "members": {}, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "CancelSimulationJob": { "http": { @@ -231,7 +237,9 @@ "tags": { "shape": "S1o" } - } + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -253,8 +261,12 @@ "tags": { "shape": "S1o" } - } - } + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "CreateFleet": { "http": { @@ -270,7 +282,9 @@ "tags": { "shape": "S1o" } - } + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -283,8 +297,12 @@ "tags": { "shape": "S1o" } - } - } + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "CreateRobot": { "http": { @@ -304,7 +322,9 @@ "tags": { "shape": "S1o" } - } + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -319,8 +339,12 @@ "tags": { "shape": "S1o" } - } - } + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "CreateRobotApplication": { "http": { @@ -756,12 +780,18 @@ ], "members": { "fleet": {} - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", - "members": {} - } + "members": {}, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "DeleteRobot": { "http": { @@ -774,12 +804,18 @@ ], "members": { "robot": {} - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", - "members": {} - } + "members": {}, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "DeleteRobotApplication": { "http": { @@ -850,15 +886,21 @@ "members": { "fleet": {}, "robot": {} - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", "members": { "fleet": {}, "robot": {} - } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "DescribeDeploymentJob": { "http": { @@ -871,7 +913,9 @@ ], "members": { "job": {} - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -924,8 +968,12 @@ "tags": { "shape": "S1o" } - } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "DescribeFleet": { "http": { @@ -938,7 +986,9 @@ ], "members": { "fleet": {} - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -959,8 +1009,12 @@ "tags": { "shape": "S1o" } - } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "DescribeRobot": { "http": { @@ -973,7 +1027,9 @@ ], "members": { "robot": {} - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -994,8 +1050,12 @@ "tags": { "shape": "S1o" } - } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "DescribeRobotApplication": { "http": { @@ -1393,7 +1453,9 @@ "maxResults": { "type": "integer" } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -1421,8 +1483,12 @@ } }, "nextToken": {} - } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "ListFleets": { "http": { @@ -1438,7 +1504,9 @@ "filters": { "shape": "S5z" } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -1462,8 +1530,12 @@ } }, "nextToken": {} - } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "ListRobotApplications": { "http": { @@ -1520,7 +1592,9 @@ "filters": { "shape": "S5z" } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -1529,8 +1603,12 @@ "shape": "S4s" }, "nextToken": {} - } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "ListSimulationApplications": { "http": { @@ -1857,15 +1935,21 @@ "members": { "fleet": {}, "robot": {} - } + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", "members": { "fleet": {}, "robot": {} - } - } + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "RestartSimulationJob": { "http": { @@ -1953,7 +2037,9 @@ "idempotencyToken": true }, "fleet": {} - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "output": { "type": "structure", @@ -1972,8 +2058,12 @@ "createdAt": { "type": "timestamp" } - } - } + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." + }, + "deprecated": true, + "deprecatedMessage": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." }, "TagResource": { "http": { diff --git a/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json b/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json index 7dcd59ed0..b4251b6b7 100644 --- a/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +++ b/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json @@ -175,7 +175,7 @@ "locationName": "x-amz-lex-session-id" }, "audioStream": { - "shape": "S1h" + "shape": "S1p" } }, "payload": "audioStream" @@ -272,12 +272,12 @@ "locationName": "sessionId" }, "sessionState": { - "shape": "S1l", + "shape": "S1t", "location": "header", "locationName": "x-amz-lex-session-state" }, "requestAttributes": { - "shape": "S1l", + "shape": "S1t", "location": "header", "locationName": "x-amz-lex-request-attributes" }, @@ -290,7 +290,7 @@ "locationName": "Response-Content-Type" }, "inputStream": { - "shape": "S1h" + "shape": "S1p" } }, "payload": "inputStream" @@ -331,7 +331,7 @@ "locationName": "x-amz-lex-input-transcript" }, "audioStream": { - "shape": "S1h" + "shape": "S1p" } }, "payload": "audioStream" @@ -526,7 +526,40 @@ "sessionAttributes": { "shape": "S1d" }, - "originatingRequestId": {} + "originatingRequestId": {}, + "runtimeHints": { + "type": "structure", + "members": { + "slotHints": { + "type": "map", + "key": {}, + "value": { + "type": "map", + "key": {}, + "value": { + "type": "structure", + "required": [ + "runtimeHintValues" + ], + "members": { + "runtimeHintValues": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "phrase" + ], + "members": { + "phrase": {} + } + } + } + } + } + } + } + } + } } }, "S1d": { @@ -534,11 +567,11 @@ "key": {}, "value": {} }, - "S1h": { + "S1p": { "type": "blob", "streaming": true }, - "S1l": { + "S1t": { "type": "string", "sensitive": true } diff --git a/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json b/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json index 98e6d4c03..2d1214802 100644 --- a/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +++ b/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json @@ -186,7 +186,6 @@ "Operation", "Report", "ClientRequestToken", - "Manifest", "Priority", "RoleArn" ], @@ -203,13 +202,13 @@ "shape": "S19" }, "Report": { - "shape": "S2e" + "shape": "S2f" }, "ClientRequestToken": { "idempotencyToken": true }, "Manifest": { - "shape": "S2i" + "shape": "S2j" }, "Description": {}, "Priority": { @@ -218,6 +217,9 @@ "RoleArn": {}, "Tags": { "shape": "S1r" + }, + "ManifestGenerator": { + "shape": "S2u" } } }, @@ -256,7 +258,7 @@ "idempotencyToken": true }, "Details": { - "shape": "S2x" + "shape": "S3a" } } }, @@ -544,7 +546,7 @@ "idempotencyToken": true }, "Details": { - "shape": "S3e" + "shape": "S3r" } } }, @@ -676,7 +678,7 @@ "JobArn": {}, "Status": {}, "Manifest": { - "shape": "S2i" + "shape": "S2j" }, "Operation": { "shape": "S19" @@ -685,7 +687,7 @@ "type": "integer" }, "ProgressSummary": { - "shape": "S3q" + "shape": "S43" }, "StatusUpdateReason": {}, "FailureReasons": { @@ -699,7 +701,7 @@ } }, "Report": { - "shape": "S2e" + "shape": "S2f" }, "CreationTime": { "type": "timestamp" @@ -711,7 +713,19 @@ "SuspendedDate": { "type": "timestamp" }, - "SuspendedCause": {} + "SuspendedCause": {}, + "ManifestGenerator": { + "shape": "S2u" + }, + "GeneratedManifestDescriptor": { + "type": "structure", + "members": { + "Format": {}, + "Location": { + "shape": "S2o" + } + } + } } } } @@ -758,13 +772,13 @@ "type": "structure", "members": { "CreateMultiRegionAccessPointRequest": { - "shape": "S2x" + "shape": "S3a" }, "DeleteMultiRegionAccessPointRequest": { - "shape": "S3e" + "shape": "S3r" }, "PutMultiRegionAccessPointPolicyRequest": { - "shape": "S49" + "shape": "S4p" } } }, @@ -1026,7 +1040,7 @@ "type": "structure", "members": { "PolicyStatus": { - "shape": "S4y" + "shape": "S5e" } } }, @@ -1061,7 +1075,7 @@ "type": "structure", "members": { "PolicyStatus": { - "shape": "S4y" + "shape": "S5e" } } }, @@ -1135,7 +1149,7 @@ "type": "structure", "members": { "Rules": { - "shape": "S57" + "shape": "S5n" } } }, @@ -1276,7 +1290,7 @@ "type": "structure", "members": { "AccessPoint": { - "shape": "S5y" + "shape": "S6e" } } }, @@ -1362,7 +1376,7 @@ "type": "structure", "members": { "Established": { - "shape": "S4y" + "shape": "S5e" } } }, @@ -1429,7 +1443,7 @@ "type": "structure", "members": { "StorageLensConfiguration": { - "shape": "S6f" + "shape": "S6v" } }, "payload": "StorageLensConfiguration" @@ -1465,7 +1479,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S79" + "shape": "S7p" } } }, @@ -1643,7 +1657,7 @@ "type": "timestamp" }, "ProgressSummary": { - "shape": "S3q" + "shape": "S43" } } } @@ -1687,7 +1701,7 @@ "AccessPoints": { "type": "list", "member": { - "shape": "S5y", + "shape": "S6e", "locationName": "AccessPoint" } }, @@ -1946,7 +1960,7 @@ "type": "structure", "members": { "Rules": { - "shape": "S57" + "shape": "S5n" } } } @@ -2106,7 +2120,7 @@ "idempotencyToken": true }, "Details": { - "shape": "S49" + "shape": "S4p" } } }, @@ -2179,10 +2193,10 @@ "locationName": "x-amz-account-id" }, "StorageLensConfiguration": { - "shape": "S6f" + "shape": "S6v" }, "Tags": { - "shape": "S79" + "shape": "S7p" } } }, @@ -2217,7 +2231,7 @@ "locationName": "x-amz-account-id" }, "Tags": { - "shape": "S79" + "shape": "S7p" } } }, @@ -2559,6 +2573,10 @@ } } } + }, + "S3ReplicateObject": { + "type": "structure", + "members": {} } } }, @@ -2596,7 +2614,7 @@ "Value": {} } }, - "S2e": { + "S2f": { "type": "structure", "required": [ "Enabled" @@ -2611,7 +2629,7 @@ "ReportScope": {} } }, - "S2i": { + "S2j": { "type": "structure", "required": [ "Spec", @@ -2632,20 +2650,94 @@ } }, "Location": { + "shape": "S2o" + } + } + }, + "S2o": { + "type": "structure", + "required": [ + "ObjectArn", + "ETag" + ], + "members": { + "ObjectArn": {}, + "ObjectVersionId": {}, + "ETag": {} + } + }, + "S2u": { + "type": "structure", + "members": { + "S3JobManifestGenerator": { "type": "structure", "required": [ - "ObjectArn", - "ETag" + "SourceBucket", + "EnableManifestOutput" ], "members": { - "ObjectArn": {}, - "ObjectVersionId": {}, - "ETag": {} + "ExpectedBucketOwner": {}, + "SourceBucket": {}, + "ManifestOutputLocation": { + "type": "structure", + "required": [ + "Bucket", + "ManifestFormat" + ], + "members": { + "ExpectedManifestBucketOwner": {}, + "Bucket": {}, + "ManifestPrefix": {}, + "ManifestEncryption": { + "type": "structure", + "members": { + "SSES3": { + "locationName": "SSE-S3", + "type": "structure", + "members": {} + }, + "SSEKMS": { + "locationName": "SSE-KMS", + "type": "structure", + "required": [ + "KeyId" + ], + "members": { + "KeyId": {} + } + } + } + }, + "ManifestFormat": {} + } + }, + "Filter": { + "type": "structure", + "members": { + "EligibleForReplication": { + "type": "boolean" + }, + "CreatedAfter": { + "type": "timestamp" + }, + "CreatedBefore": { + "type": "timestamp" + }, + "ObjectReplicationStatuses": { + "type": "list", + "member": {} + } + } + }, + "EnableManifestOutput": { + "type": "boolean" + } } } - } + }, + "union": true }, - "S2x": { + "S3a": { "type": "structure", "required": [ "Name", @@ -2671,7 +2763,7 @@ } } }, - "S3e": { + "S3r": { "type": "structure", "required": [ "Name" @@ -2680,7 +2772,7 @@ "Name": {} } }, - "S3q": { + "S43": { "type": "structure", "members": { "TotalNumberOfTasks": { @@ -2691,10 +2783,18 @@ }, "NumberOfTasksFailed": { "type": "long" + }, + "Timers": { + "type": "structure", + "members": { + "ElapsedTimeInActiveSeconds": { + "type": "long" + } + } } } }, - "S49": { + "S4p": { "type": "structure", "required": [ "Name", @@ -2705,7 +2805,7 @@ "Policy": {} } }, - "S4y": { + "S5e": { "type": "structure", "members": { "IsPublic": { @@ -2714,7 +2814,7 @@ } } }, - "S57": { + "S5n": { "type": "list", "member": { "locationName": "Rule", @@ -2805,7 +2905,7 @@ } } }, - "S5y": { + "S6e": { "type": "structure", "members": { "Name": {}, @@ -2830,7 +2930,7 @@ } } }, - "S6f": { + "S6v": { "type": "structure", "required": [ "Id", @@ -2846,13 +2946,13 @@ ], "members": { "ActivityMetrics": { - "shape": "S6h" + "shape": "S6x" }, "BucketLevel": { "type": "structure", "members": { "ActivityMetrics": { - "shape": "S6h" + "shape": "S6x" }, "PrefixLevel": { "type": "structure", @@ -2890,10 +2990,10 @@ "type": "structure", "members": { "Buckets": { - "shape": "S6r" + "shape": "S77" }, "Regions": { - "shape": "S6s" + "shape": "S78" } } }, @@ -2901,10 +3001,10 @@ "type": "structure", "members": { "Buckets": { - "shape": "S6r" + "shape": "S77" }, "Regions": { - "shape": "S6s" + "shape": "S78" } } }, @@ -2975,7 +3075,7 @@ "StorageLensArn": {} } }, - "S6h": { + "S6x": { "type": "structure", "members": { "IsEnabled": { @@ -2983,19 +3083,19 @@ } } }, - "S6r": { + "S77": { "type": "list", "member": { "locationName": "Arn" } }, - "S6s": { + "S78": { "type": "list", "member": { "locationName": "Region" } }, - "S79": { + "S7p": { "type": "list", "member": { "locationName": "Tag", diff --git a/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json b/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json index ffd787e14..0d242e4f4 100644 --- a/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +++ b/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json @@ -2709,7 +2709,7 @@ }, "FailureReason": {}, "ModelArtifacts": { - "shape": "Soo" + "shape": "Sop" }, "ModelDigests": { "type": "structure", @@ -3046,10 +3046,10 @@ "EndpointArn": {}, "EndpointConfigName": {}, "ProductionVariants": { - "shape": "Spk" + "shape": "Spl" }, "DataCaptureConfig": { - "shape": "Spt" + "shape": "Spu" }, "EndpointStatus": {}, "FailureReason": {}, @@ -3082,7 +3082,7 @@ "members": { "VariantName": {}, "DeployedImages": { - "shape": "Spm" + "shape": "Spn" }, "CurrentWeight": { "type": "float" @@ -3099,7 +3099,7 @@ "InstanceType": {}, "AcceleratorType": {}, "VariantStatus": { - "shape": "Spp" + "shape": "Spq" }, "CurrentServerlessConfig": { "shape": "S9d" @@ -3172,7 +3172,7 @@ "ExperimentArn": {}, "DisplayName": {}, "Source": { - "shape": "Sq3" + "shape": "Sq4" }, "Description": {}, "CreationTime": { @@ -3232,7 +3232,7 @@ "RoleArn": {}, "FeatureGroupStatus": {}, "OfflineStoreStatus": { - "shape": "Sq9" + "shape": "Sqa" }, "FailureReason": {}, "Description": {}, @@ -3364,16 +3364,16 @@ "type": "timestamp" }, "TrainingJobStatusCounters": { - "shape": "Sqo" + "shape": "Sqp" }, "ObjectiveStatusCounters": { - "shape": "Sqq" + "shape": "Sqr" }, "BestTrainingJob": { - "shape": "Sqs" + "shape": "Sqt" }, "OverallBestTrainingJob": { - "shape": "Sqs" + "shape": "Sqt" }, "WarmStartConfig": { "shape": "Sc5" @@ -3596,7 +3596,7 @@ "members": { "LabelingJobStatus": {}, "LabelCounters": { - "shape": "Srf" + "shape": "Srg" }, "FailureReason": {}, "CreationTime": { @@ -3630,7 +3630,7 @@ "shape": "S7" }, "LabelingJobOutput": { - "shape": "Sri" + "shape": "Srj" } } } @@ -3857,7 +3857,7 @@ }, "ModelPackageStatus": {}, "ModelPackageStatusDetails": { - "shape": "Srt" + "shape": "Sru" }, "CertifyForMarketplace": { "type": "boolean" @@ -4017,7 +4017,7 @@ }, "EndpointName": {}, "LastMonitoringExecutionSummary": { - "shape": "Ss6" + "shape": "Ss7" } } } @@ -4181,7 +4181,7 @@ "PipelineExecutionStatus": {}, "PipelineExecutionDescription": {}, "PipelineExperimentConfig": { - "shape": "Ssp" + "shape": "Ssq" }, "FailureReason": {}, "CreationTime": { @@ -4300,7 +4300,7 @@ "shape": "Sim" }, "ServiceCatalogProvisionedProductDetails": { - "shape": "Ssx" + "shape": "Ssy" }, "ProjectStatus": {}, "CreatedBy": { @@ -4361,7 +4361,7 @@ ], "members": { "SubscribedWorkteam": { - "shape": "St4" + "shape": "St5" } } } @@ -4396,7 +4396,7 @@ "LabelingJobArn": {}, "AutoMLJobArn": {}, "ModelArtifacts": { - "shape": "Soo" + "shape": "Sop" }, "TrainingJobStatus": {}, "SecondaryStatus": {}, @@ -4436,10 +4436,10 @@ "type": "timestamp" }, "SecondaryStatusTransitions": { - "shape": "St8" + "shape": "St9" }, "FinalMetricDataList": { - "shape": "Stb" + "shape": "Stc" }, "EnableNetworkIsolation": { "type": "boolean" @@ -4472,7 +4472,7 @@ "shape": "Sjg" }, "DebugRuleEvaluationStatuses": { - "shape": "Stf" + "shape": "Stg" }, "ProfilerConfig": { "shape": "Sjh" @@ -4592,7 +4592,7 @@ "DisplayName": {}, "ExperimentName": {}, "Source": { - "shape": "Str" + "shape": "Sts" }, "CreationTime": { "type": "timestamp" @@ -4629,7 +4629,7 @@ "TrialComponentArn": {}, "DisplayName": {}, "Source": { - "shape": "Stv" + "shape": "Stw" }, "Status": { "shape": "Sk4" @@ -4665,7 +4665,7 @@ "shape": "S1q" }, "Metrics": { - "shape": "Stx" + "shape": "Sty" }, "LineageGroupArn": {} } @@ -4723,7 +4723,7 @@ ], "members": { "Workforce": { - "shape": "Su7" + "shape": "Su8" } } } @@ -4745,7 +4745,7 @@ ], "members": { "Workteam": { - "shape": "Sub" + "shape": "Suc" } } } @@ -5559,7 +5559,7 @@ ], "members": { "JobDefinitionSummaries": { - "shape": "Sx4" + "shape": "Sx5" }, "NextToken": {} } @@ -5918,7 +5918,7 @@ "ExperimentName": {}, "DisplayName": {}, "ExperimentSource": { - "shape": "Sq3" + "shape": "Sq4" }, "CreationTime": { "type": "timestamp" @@ -5978,7 +5978,7 @@ }, "FeatureGroupStatus": {}, "OfflineStoreStatus": { - "shape": "Sq9" + "shape": "Sqa" } } } @@ -6140,10 +6140,10 @@ "type": "timestamp" }, "TrainingJobStatusCounters": { - "shape": "Sqo" + "shape": "Sqp" }, "ObjectiveStatusCounters": { - "shape": "Sqq" + "shape": "Sqr" }, "ResourceLimits": { "shape": "Sbh" @@ -6402,14 +6402,14 @@ }, "LabelingJobStatus": {}, "LabelCounters": { - "shape": "Srf" + "shape": "Srg" }, "WorkteamArn": {}, "PreHumanTaskLambdaArn": {}, "AnnotationConsolidationLambdaArn": {}, "FailureReason": {}, "LabelingJobOutput": { - "shape": "Sri" + "shape": "Srj" }, "InputConfig": { "shape": "Sdh" @@ -6559,7 +6559,7 @@ ], "members": { "JobDefinitionSummaries": { - "shape": "Sx4" + "shape": "Sx5" }, "NextToken": {} } @@ -6592,7 +6592,7 @@ ], "members": { "JobDefinitionSummaries": { - "shape": "Sx4" + "shape": "Sx5" }, "NextToken": {} } @@ -6792,7 +6792,7 @@ ], "members": { "JobDefinitionSummaries": { - "shape": "Sx4" + "shape": "Sx5" }, "NextToken": {} } @@ -6889,7 +6889,7 @@ "MonitoringExecutionSummaries": { "type": "list", "member": { - "shape": "Ss6" + "shape": "Ss7" } }, "NextToken": {} @@ -7169,7 +7169,7 @@ "CallbackToken": {}, "SqsQueueUrl": {}, "OutputParameters": { - "shape": "S11z" + "shape": "S120" } } }, @@ -7178,7 +7178,7 @@ "members": { "Arn": {}, "OutputParameters": { - "shape": "S11z" + "shape": "S120" } } }, @@ -7226,6 +7226,12 @@ "StepName": {}, "LogFilePath": {} } + }, + "Fail": { + "type": "structure", + "members": { + "ErrorMessage": {} + } } } } @@ -7272,7 +7278,8 @@ }, "PipelineExecutionStatus": {}, "PipelineExecutionDescription": {}, - "PipelineExecutionDisplayName": {} + "PipelineExecutionDisplayName": {}, + "PipelineExecutionFailureReason": {} } } }, @@ -7298,7 +7305,7 @@ "type": "structure", "members": { "PipelineParameters": { - "shape": "S12c" + "shape": "S12f" }, "NextToken": {} } @@ -7538,7 +7545,7 @@ "SubscribedWorkteams": { "type": "list", "member": { - "shape": "St4" + "shape": "St5" } }, "NextToken": {} @@ -7657,7 +7664,7 @@ "TrainingJobSummaries": { "type": "list", "member": { - "shape": "Sqs" + "shape": "Sqt" } }, "NextToken": {} @@ -7760,7 +7767,7 @@ "TrialComponentArn": {}, "DisplayName": {}, "TrialComponentSource": { - "shape": "Stv" + "shape": "Stw" }, "Status": { "shape": "Sk4" @@ -7822,7 +7829,7 @@ "TrialName": {}, "DisplayName": {}, "TrialSource": { - "shape": "Str" + "shape": "Sts" }, "CreationTime": { "type": "timestamp" @@ -7897,7 +7904,7 @@ "Workforces": { "type": "list", "member": { - "shape": "Su7" + "shape": "Su8" } }, "NextToken": {} @@ -7926,7 +7933,7 @@ "Workteams": { "type": "list", "member": { - "shape": "Sub" + "shape": "Suc" } }, "NextToken": {} @@ -8048,7 +8055,7 @@ "members": { "DeviceFleetName": {}, "Devices": { - "shape": "S14o" + "shape": "S14r" }, "Tags": { "shape": "S7" @@ -8138,7 +8145,7 @@ "members": { "Resource": {}, "SearchExpression": { - "shape": "S14z" + "shape": "S152" }, "SortBy": {}, "SortOrder": {}, @@ -8157,7 +8164,7 @@ "type": "structure", "members": { "TrainingJob": { - "shape": "S15c" + "shape": "S15f" }, "Experiment": { "type": "structure", @@ -8166,7 +8173,7 @@ "ExperimentArn": {}, "DisplayName": {}, "Source": { - "shape": "Sq3" + "shape": "Sq4" }, "Description": {}, "CreationTime": { @@ -8194,7 +8201,7 @@ "DisplayName": {}, "ExperimentName": {}, "Source": { - "shape": "Str" + "shape": "Sts" }, "CreationTime": { "type": "timestamp" @@ -8222,7 +8229,7 @@ "TrialComponentName": {}, "TrialComponentArn": {}, "TrialComponentSource": { - "shape": "Stv" + "shape": "Stw" }, "CreationTime": { "type": "timestamp" @@ -8242,7 +8249,7 @@ "DisplayName": {}, "TrialComponentArn": {}, "Source": { - "shape": "Stv" + "shape": "Stw" }, "Status": { "shape": "Sk4" @@ -8275,7 +8282,7 @@ "shape": "Skc" }, "Metrics": { - "shape": "Stx" + "shape": "Sty" }, "MetadataProperties": { "shape": "S1q" @@ -8285,7 +8292,7 @@ "members": { "SourceArn": {}, "TrainingJob": { - "shape": "S15c" + "shape": "S15f" }, "ProcessingJob": { "type": "structure", @@ -8425,10 +8432,10 @@ "EndpointArn": {}, "EndpointConfigName": {}, "ProductionVariants": { - "shape": "Spk" + "shape": "Spl" }, "DataCaptureConfig": { - "shape": "Spt" + "shape": "Spu" }, "EndpointStatus": {}, "FailureReason": {}, @@ -8459,7 +8466,7 @@ }, "EndpointName": {}, "LastMonitoringExecutionSummary": { - "shape": "Ss6" + "shape": "Ss7" }, "Tags": { "shape": "S7" @@ -8496,7 +8503,7 @@ }, "ModelPackageStatus": {}, "ModelPackageStatusDetails": { - "shape": "Srt" + "shape": "Sru" }, "CertifyForMarketplace": { "type": "boolean" @@ -8594,7 +8601,7 @@ "PipelineExecutionStatus": {}, "PipelineExecutionDescription": {}, "PipelineExperimentConfig": { - "shape": "Ssp" + "shape": "Ssq" }, "FailureReason": {}, "CreationTime": { @@ -8613,7 +8620,7 @@ "shape": "Sh5" }, "PipelineParameters": { - "shape": "S12c" + "shape": "S12f" } } }, @@ -8639,7 +8646,7 @@ "RoleArn": {}, "FeatureGroupStatus": {}, "OfflineStoreStatus": { - "shape": "Sq9" + "shape": "Sqa" }, "FailureReason": {}, "Description": {}, @@ -8659,7 +8666,7 @@ "shape": "Sim" }, "ServiceCatalogProvisionedProductDetails": { - "shape": "Ssx" + "shape": "Ssy" }, "ProjectStatus": {}, "CreatedBy": { @@ -8716,7 +8723,7 @@ "members": { "CallbackToken": {}, "OutputParameters": { - "shape": "S11z" + "shape": "S120" }, "ClientRequestToken": { "idempotencyToken": true @@ -8763,7 +8770,7 @@ "PipelineName": {}, "PipelineExecutionDisplayName": {}, "PipelineParameters": { - "shape": "S12c" + "shape": "S12f" }, "PipelineExecutionDescription": {}, "ClientRequestToken": { @@ -8937,7 +8944,7 @@ "shape": "S1o" }, "PropertiesToRemove": { - "shape": "S16i" + "shape": "S16l" } } }, @@ -8981,7 +8988,7 @@ "shape": "S1o" }, "PropertiesToRemove": { - "shape": "S16i" + "shape": "S16l" } } }, @@ -9031,7 +9038,7 @@ "shape": "S1o" }, "PropertiesToRemove": { - "shape": "S16i" + "shape": "S16l" } } }, @@ -9072,7 +9079,7 @@ "members": { "DeviceFleetName": {}, "Devices": { - "shape": "S14o" + "shape": "S14r" } } } @@ -9517,19 +9524,19 @@ "shape": "Sk8" }, "ParametersToRemove": { - "shape": "S185" + "shape": "S188" }, "InputArtifacts": { "shape": "Skc" }, "InputArtifactsToRemove": { - "shape": "S185" + "shape": "S188" }, "OutputArtifacts": { "shape": "Skc" }, "OutputArtifactsToRemove": { - "shape": "S185" + "shape": "S188" } } }, @@ -9585,7 +9592,7 @@ ], "members": { "Workforce": { - "shape": "Su7" + "shape": "Su8" } } } @@ -9614,7 +9621,7 @@ ], "members": { "Workteam": { - "shape": "Sub" + "shape": "Suc" } } } @@ -12605,7 +12612,8 @@ "Explainability" ], "members": { - "Explainability": {} + "Explainability": {}, + "ModelInsights": {} } }, "CandidateMetrics": { @@ -12625,7 +12633,7 @@ } } }, - "Soo": { + "Sop": { "type": "structure", "required": [ "S3ModelArtifacts" @@ -12634,7 +12642,7 @@ "S3ModelArtifacts": {} } }, - "Spk": { + "Spl": { "type": "list", "member": { "type": "structure", @@ -12644,7 +12652,7 @@ "members": { "VariantName": {}, "DeployedImages": { - "shape": "Spm" + "shape": "Spn" }, "CurrentWeight": { "type": "float" @@ -12659,7 +12667,7 @@ "type": "integer" }, "VariantStatus": { - "shape": "Spp" + "shape": "Spq" }, "CurrentServerlessConfig": { "shape": "S9d" @@ -12670,7 +12678,7 @@ } } }, - "Spm": { + "Spn": { "type": "list", "member": { "type": "structure", @@ -12683,7 +12691,7 @@ } } }, - "Spp": { + "Spq": { "type": "list", "member": { "type": "structure", @@ -12699,7 +12707,7 @@ } } }, - "Spt": { + "Spu": { "type": "structure", "required": [ "EnableCapture", @@ -12720,7 +12728,7 @@ "KmsKeyId": {} } }, - "Sq3": { + "Sq4": { "type": "structure", "required": [ "SourceArn" @@ -12730,7 +12738,7 @@ "SourceType": {} } }, - "Sq9": { + "Sqa": { "type": "structure", "required": [ "Status" @@ -12740,7 +12748,7 @@ "BlockedReason": {} } }, - "Sqo": { + "Sqp": { "type": "structure", "members": { "Completed": { @@ -12760,7 +12768,7 @@ } } }, - "Sqq": { + "Sqr": { "type": "structure", "members": { "Succeeded": { @@ -12774,7 +12782,7 @@ } } }, - "Sqs": { + "Sqt": { "type": "structure", "required": [ "TrainingJobName", @@ -12819,7 +12827,7 @@ "ObjectiveStatus": {} } }, - "Srf": { + "Srg": { "type": "structure", "members": { "TotalLabeled": { @@ -12839,7 +12847,7 @@ } } }, - "Sri": { + "Srj": { "type": "structure", "required": [ "OutputDatasetS3Uri" @@ -12849,21 +12857,21 @@ "FinalActiveLearningModelArn": {} } }, - "Srt": { + "Sru": { "type": "structure", "required": [ "ValidationStatuses" ], "members": { "ValidationStatuses": { - "shape": "Sru" + "shape": "Srv" }, "ImageScanStatuses": { - "shape": "Sru" + "shape": "Srv" } } }, - "Sru": { + "Srv": { "type": "list", "member": { "type": "structure", @@ -12878,7 +12886,7 @@ } } }, - "Ss6": { + "Ss7": { "type": "structure", "required": [ "MonitoringScheduleName", @@ -12906,21 +12914,21 @@ "MonitoringType": {} } }, - "Ssp": { + "Ssq": { "type": "structure", "members": { "ExperimentName": {}, "TrialName": {} } }, - "Ssx": { + "Ssy": { "type": "structure", "members": { "ProvisionedProductId": {}, "ProvisionedProductStatusMessage": {} } }, - "St4": { + "St5": { "type": "structure", "required": [ "WorkteamArn" @@ -12933,7 +12941,7 @@ "ListingId": {} } }, - "St8": { + "St9": { "type": "list", "member": { "type": "structure", @@ -12953,7 +12961,7 @@ } } }, - "Stb": { + "Stc": { "type": "list", "member": { "type": "structure", @@ -12968,7 +12976,7 @@ } } }, - "Stf": { + "Stg": { "type": "list", "member": { "type": "structure", @@ -12983,7 +12991,7 @@ } } }, - "Str": { + "Sts": { "type": "structure", "required": [ "SourceArn" @@ -12993,7 +13001,7 @@ "SourceType": {} } }, - "Stv": { + "Stw": { "type": "structure", "required": [ "SourceArn" @@ -13003,7 +13011,7 @@ "SourceType": {} } }, - "Stx": { + "Sty": { "type": "list", "member": { "type": "structure", @@ -13034,7 +13042,7 @@ } } }, - "Su7": { + "Su8": { "type": "structure", "required": [ "WorkforceName", @@ -13070,7 +13078,7 @@ } } }, - "Sub": { + "Suc": { "type": "structure", "required": [ "WorkteamName", @@ -13102,7 +13110,7 @@ } } }, - "Sx4": { + "Sx5": { "type": "list", "member": { "type": "structure", @@ -13122,7 +13130,7 @@ } } }, - "S11z": { + "S120": { "type": "list", "member": { "type": "structure", @@ -13136,7 +13144,7 @@ } } }, - "S12c": { + "S12f": { "type": "list", "member": { "type": "structure", @@ -13150,7 +13158,7 @@ } } }, - "S14o": { + "S14r": { "type": "list", "member": { "type": "structure", @@ -13164,11 +13172,11 @@ } } }, - "S14z": { + "S152": { "type": "structure", "members": { "Filters": { - "shape": "S150" + "shape": "S153" }, "NestedFilters": { "type": "list", @@ -13181,7 +13189,7 @@ "members": { "NestedPropertyName": {}, "Filters": { - "shape": "S150" + "shape": "S153" } } } @@ -13189,13 +13197,13 @@ "SubExpressions": { "type": "list", "member": { - "shape": "S14z" + "shape": "S152" } }, "Operator": {} } }, - "S150": { + "S153": { "type": "list", "member": { "type": "structure", @@ -13209,7 +13217,7 @@ } } }, - "S15c": { + "S15f": { "type": "structure", "members": { "TrainingJobName": {}, @@ -13218,7 +13226,7 @@ "LabelingJobArn": {}, "AutoMLJobArn": {}, "ModelArtifacts": { - "shape": "Soo" + "shape": "Sop" }, "TrainingJobStatus": {}, "SecondaryStatus": {}, @@ -13258,10 +13266,10 @@ "type": "timestamp" }, "SecondaryStatusTransitions": { - "shape": "St8" + "shape": "St9" }, "FinalMetricDataList": { - "shape": "Stb" + "shape": "Stc" }, "EnableNetworkIsolation": { "type": "boolean" @@ -13294,7 +13302,7 @@ "shape": "Sjg" }, "DebugRuleEvaluationStatuses": { - "shape": "Stf" + "shape": "Stg" }, "Environment": { "shape": "Sjm" @@ -13307,11 +13315,11 @@ } } }, - "S16i": { + "S16l": { "type": "list", "member": {} }, - "S185": { + "S188": { "type": "list", "member": {} } diff --git a/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json b/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json index af4378da7..720e7cadd 100644 --- a/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +++ b/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json @@ -159,7 +159,7 @@ "shape": "Se" }, "VersionIdsToStages": { - "shape": "S17" + "shape": "S19" }, "OwningService": {}, "CreatedDate": { @@ -254,7 +254,7 @@ "shape": "Sd" }, "VersionStages": { - "shape": "S18" + "shape": "S1a" }, "CreatedDate": { "type": "timestamp" @@ -289,7 +289,7 @@ "members": { "VersionId": {}, "VersionStages": { - "shape": "S18" + "shape": "S1a" }, "LastAccessedDate": { "type": "timestamp" @@ -369,7 +369,7 @@ "shape": "Se" }, "SecretVersionsToStages": { - "shape": "S17" + "shape": "S19" }, "OwningService": {}, "CreatedDate": { @@ -424,7 +424,7 @@ "shape": "Sd" }, "VersionStages": { - "shape": "S18" + "shape": "S1a" } } }, @@ -435,7 +435,7 @@ "Name": {}, "VersionId": {}, "VersionStages": { - "shape": "S18" + "shape": "S1a" } } } @@ -524,6 +524,9 @@ "RotationLambdaARN": {}, "RotationRules": { "shape": "S12" + }, + "RotateImmediately": { + "type": "boolean" } } }, @@ -716,17 +719,19 @@ "members": { "AutomaticallyAfterDays": { "type": "long" - } + }, + "Duration": {}, + "ScheduleExpression": {} } }, - "S17": { + "S19": { "type": "map", "key": {}, "value": { - "shape": "S18" + "shape": "S1a" } }, - "S18": { + "S1a": { "type": "list", "member": {} } diff --git a/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json b/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json index 9534caa9f..b3fa6062a 100644 --- a/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +++ b/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json @@ -361,7 +361,7 @@ "type": "structure", "members": { "UnprocessedAccounts": { - "shape": "Shh" + "shape": "Shj" } } } @@ -377,7 +377,7 @@ ], "members": { "AccountIds": { - "shape": "Shk" + "shape": "Shm" } } }, @@ -385,7 +385,7 @@ "type": "structure", "members": { "UnprocessedAccounts": { - "shape": "Shh" + "shape": "Shj" } } } @@ -477,7 +477,7 @@ ], "members": { "AccountIds": { - "shape": "Shk" + "shape": "Shm" } } }, @@ -485,7 +485,7 @@ "type": "structure", "members": { "UnprocessedAccounts": { - "shape": "Shh" + "shape": "Shj" } } } @@ -501,7 +501,7 @@ ], "members": { "AccountIds": { - "shape": "Shk" + "shape": "Shm" } } }, @@ -509,7 +509,7 @@ "type": "structure", "members": { "UnprocessedAccounts": { - "shape": "Shh" + "shape": "Shj" } } } @@ -522,7 +522,7 @@ "type": "structure", "members": { "ActionTargetArns": { - "shape": "Shx" + "shape": "Shz" }, "NextToken": {}, "MaxResults": { @@ -739,7 +739,7 @@ "ControlStatus": {}, "DisabledReason": {}, "ControlStatusUpdatedAt": { - "shape": "Sin" + "shape": "Sip" }, "ControlId": {}, "Title": {}, @@ -849,7 +849,7 @@ ], "members": { "AccountIds": { - "shape": "Shk" + "shape": "Shm" } } }, @@ -904,7 +904,7 @@ "type": "structure", "members": { "Tags": { - "shape": "Sj6" + "shape": "Sj8" }, "EnableDefaultStandards": { "type": "boolean" @@ -929,7 +929,7 @@ "type": "structure", "members": { "Administrator": { - "shape": "Sjc" + "shape": "Sje" } } } @@ -1093,7 +1093,7 @@ "type": "structure", "members": { "InsightArns": { - "shape": "Shx" + "shape": "Shz" }, "NextToken": {}, "MaxResults": { @@ -1162,7 +1162,7 @@ "type": "structure", "members": { "Master": { - "shape": "Sjc" + "shape": "Sje" } } }, @@ -1180,7 +1180,7 @@ ], "members": { "AccountIds": { - "shape": "Shk" + "shape": "Shm" } } }, @@ -1188,10 +1188,10 @@ "type": "structure", "members": { "Members": { - "shape": "Sk2" + "shape": "Sk4" }, "UnprocessedAccounts": { - "shape": "Shh" + "shape": "Shj" } } } @@ -1207,7 +1207,7 @@ ], "members": { "AccountIds": { - "shape": "Shk" + "shape": "Shm" } } }, @@ -1215,7 +1215,7 @@ "type": "structure", "members": { "UnprocessedAccounts": { - "shape": "Shh" + "shape": "Shj" } } } @@ -1310,7 +1310,7 @@ "Invitations": { "type": "list", "member": { - "shape": "Sjc" + "shape": "Sje" } }, "NextToken": {} @@ -1345,7 +1345,7 @@ "type": "structure", "members": { "Members": { - "shape": "Sk2" + "shape": "Sk4" }, "NextToken": {} } @@ -1408,7 +1408,7 @@ "type": "structure", "members": { "Tags": { - "shape": "Sj6" + "shape": "Sj8" } } } @@ -1429,7 +1429,7 @@ "locationName": "ResourceArn" }, "Tags": { - "shape": "Sj6" + "shape": "Sj8" } } }, @@ -6197,6 +6197,9 @@ "shape": "Sm" } } + }, + "Sample": { + "type": "boolean" } } }, @@ -7001,6 +7004,17 @@ }, "FindingProviderFieldsTypes": { "shape": "Sgv" + }, + "Sample": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Value": { + "type": "boolean" + } + } + } } } }, @@ -7070,7 +7084,7 @@ } } }, - "Shh": { + "Shj": { "type": "list", "member": { "type": "structure", @@ -7080,35 +7094,35 @@ } } }, - "Shk": { + "Shm": { "type": "list", "member": {} }, - "Shx": { + "Shz": { "type": "list", "member": {} }, - "Sin": { + "Sip": { "type": "timestamp", "timestampFormat": "iso8601" }, - "Sj6": { + "Sj8": { "type": "map", "key": {}, "value": {} }, - "Sjc": { + "Sje": { "type": "structure", "members": { "AccountId": {}, "InvitationId": {}, "InvitedAt": { - "shape": "Sin" + "shape": "Sip" }, "MemberStatus": {} } }, - "Sk2": { + "Sk4": { "type": "list", "member": { "type": "structure", @@ -7122,10 +7136,10 @@ "AdministratorId": {}, "MemberStatus": {}, "InvitedAt": { - "shape": "Sin" + "shape": "Sip" }, "UpdatedAt": { - "shape": "Sin" + "shape": "Sip" } } } diff --git a/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json b/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json index 78ad811c2..287f78293 100644 --- a/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +++ b/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json @@ -269,7 +269,7 @@ "members": { "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "StartDate": {}, "EndDate": {}, @@ -314,16 +314,16 @@ "Description": {}, "OpsItemType": {}, "OperationalData": { - "shape": "S47" + "shape": "S4a" }, "Notifications": { - "shape": "S4c" + "shape": "S4f" }, "Priority": { "type": "integer" }, "RelatedOpsItems": { - "shape": "S4g" + "shape": "S4j" }, "Source": {}, "Title": {}, @@ -362,7 +362,7 @@ "members": { "ResourceId": {}, "Metadata": { - "shape": "S4p" + "shape": "S4s" }, "Tags": { "shape": "S4" @@ -386,25 +386,25 @@ "OperatingSystem": {}, "Name": {}, "GlobalFilters": { - "shape": "S4y" + "shape": "S51" }, "ApprovalRules": { - "shape": "S54" + "shape": "S57" }, "ApprovedPatches": { - "shape": "S5b" + "shape": "S5e" }, "ApprovedPatchesComplianceLevel": {}, "ApprovedPatchesEnableNonSecurity": { "type": "boolean" }, "RejectedPatches": { - "shape": "S5b" + "shape": "S5e" }, "RejectedPatchesAction": {}, "Description": {}, "Sources": { - "shape": "S5f" + "shape": "S5i" }, "ClientToken": { "idempotencyToken": true @@ -430,11 +430,11 @@ "members": { "SyncName": {}, "S3Destination": { - "shape": "S5p" + "shape": "S5s" }, "SyncType": {}, "SyncSource": { - "shape": "S5y" + "shape": "S61" } } }, @@ -515,7 +515,7 @@ "DeletionId": {}, "TypeName": {}, "DeletionSummary": { - "shape": "S6m" + "shape": "S6p" } } } @@ -575,7 +575,7 @@ ], "members": { "Names": { - "shape": "S71" + "shape": "S74" } } }, @@ -583,10 +583,10 @@ "type": "structure", "members": { "DeletedParameters": { - "shape": "S71" + "shape": "S74" }, "InvalidParameters": { - "shape": "S71" + "shape": "S74" } } } @@ -948,7 +948,7 @@ "ExecutedBy": {}, "LogFile": {}, "Outputs": { - "shape": "S8w" + "shape": "S8z" }, "Mode": {}, "ParentAutomationExecutionId": {}, @@ -960,10 +960,10 @@ "shape": "S18" }, "TargetMaps": { - "shape": "S91" + "shape": "S94" }, "ResolvedTargets": { - "shape": "S96" + "shape": "S99" }, "MaxConcurrency": {}, "MaxErrors": {}, @@ -974,7 +974,7 @@ "type": "timestamp" }, "Runbooks": { - "shape": "S9a" + "shape": "S9d" }, "OpsItemId": {}, "AssociationId": {}, @@ -1024,7 +1024,7 @@ "type": "structure", "members": { "StepExecutions": { - "shape": "S9k" + "shape": "S9n" }, "NextToken": {} } @@ -1035,7 +1035,7 @@ "type": "structure", "members": { "Filters": { - "shape": "S9u" + "shape": "S9x" }, "MaxResults": { "type": "integer" @@ -1049,7 +1049,7 @@ "Patches": { "type": "list", "member": { - "shape": "Sa2" + "shape": "Sa5" } }, "NextToken": {} @@ -1097,7 +1097,7 @@ "type": "structure", "members": { "AccountIds": { - "shape": "Sax" + "shape": "Sb0" }, "AccountSharingInfoList": { "type": "list", @@ -1169,7 +1169,7 @@ "type": "structure", "members": { "Patch": { - "shape": "Sa2" + "shape": "Sa5" }, "PatchStatus": { "type": "structure", @@ -1256,7 +1256,7 @@ "members": { "key": {}, "valueSet": { - "shape": "Sbq" + "shape": "Sbt" } } } @@ -1272,7 +1272,7 @@ "members": { "Key": {}, "Values": { - "shape": "Sbq" + "shape": "Sbt" } } } @@ -1363,7 +1363,7 @@ "InstancePatchStates": { "type": "list", "member": { - "shape": "Scc" + "shape": "Scf" } }, "NextToken": {} @@ -1409,7 +1409,7 @@ "InstancePatchStates": { "type": "list", "member": { - "shape": "Scc" + "shape": "Scf" } }, "NextToken": {} @@ -1425,7 +1425,7 @@ "members": { "InstanceId": {}, "Filters": { - "shape": "S9u" + "shape": "S9x" }, "NextToken": {}, "MaxResults": { @@ -1492,7 +1492,7 @@ "LastStatus": {}, "LastStatusMessage": {}, "DeletionSummary": { - "shape": "S6m" + "shape": "S6p" }, "LastStatusUpdateTime": { "type": "timestamp" @@ -1515,7 +1515,7 @@ "WindowExecutionId": {}, "TaskId": {}, "Filters": { - "shape": "Sdi" + "shape": "Sdl" }, "MaxResults": { "type": "integer" @@ -1537,7 +1537,7 @@ "ExecutionId": {}, "TaskType": {}, "Parameters": { - "shape": "Sdu" + "shape": "Sdx" }, "Status": {}, "StatusDetails": {}, @@ -1548,7 +1548,7 @@ "type": "timestamp" }, "OwnerInformation": { - "shape": "Scf" + "shape": "Sci" }, "WindowTargetId": {} } @@ -1567,7 +1567,7 @@ "members": { "WindowExecutionId": {}, "Filters": { - "shape": "Sdi" + "shape": "Sdl" }, "MaxResults": { "type": "integer" @@ -1611,7 +1611,7 @@ "members": { "WindowId": {}, "Filters": { - "shape": "Sdi" + "shape": "Sdl" }, "MaxResults": { "type": "integer" @@ -1654,7 +1654,7 @@ }, "ResourceType": {}, "Filters": { - "shape": "S9u" + "shape": "S9x" }, "MaxResults": { "type": "integer" @@ -1689,7 +1689,7 @@ "members": { "WindowId": {}, "Filters": { - "shape": "Sdi" + "shape": "Sdl" }, "MaxResults": { "type": "integer" @@ -1712,11 +1712,11 @@ "shape": "S18" }, "OwnerInformation": { - "shape": "Scf" + "shape": "Sci" }, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" } } } @@ -1734,7 +1734,7 @@ "members": { "WindowId": {}, "Filters": { - "shape": "Sdi" + "shape": "Sdl" }, "MaxResults": { "type": "integer" @@ -1758,20 +1758,20 @@ "shape": "S18" }, "TaskParameters": { - "shape": "Sel" + "shape": "Seo" }, "Priority": { "type": "integer" }, "LoggingInfo": { - "shape": "Ser" + "shape": "Seu" }, "ServiceRoleArn": {}, "MaxConcurrency": {}, "MaxErrors": {}, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "CutoffBehavior": {} } @@ -1786,7 +1786,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Sdi" + "shape": "Sdl" }, "MaxResults": { "type": "integer" @@ -1805,7 +1805,7 @@ "WindowId": {}, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "Enabled": { "type": "boolean" @@ -1920,7 +1920,7 @@ "OpsItemId": {}, "Title": {}, "OperationalData": { - "shape": "S47" + "shape": "S4a" }, "Category": {}, "Severity": {}, @@ -1965,7 +1965,7 @@ } }, "ParameterFilters": { - "shape": "Sfl" + "shape": "Sfo" }, "MaxResults": { "type": "integer" @@ -1995,7 +1995,7 @@ }, "Tier": {}, "Policies": { - "shape": "Sg0" + "shape": "Sg3" }, "DataType": {} } @@ -2010,7 +2010,7 @@ "type": "structure", "members": { "Filters": { - "shape": "S9u" + "shape": "S9x" }, "MaxResults": { "type": "integer" @@ -2024,7 +2024,7 @@ "BaselineIdentities": { "type": "list", "member": { - "shape": "Sg6" + "shape": "Sg9" } }, "NextToken": {} @@ -2091,7 +2091,7 @@ "type": "integer" }, "Filters": { - "shape": "S9u" + "shape": "S9x" }, "NextToken": {} } @@ -2106,7 +2106,7 @@ "members": { "PatchGroup": {}, "BaselineIdentity": { - "shape": "Sg6" + "shape": "Sg9" } } } @@ -2255,16 +2255,16 @@ }, "AutomationExecutionStatus": {}, "StepExecutions": { - "shape": "S9k" + "shape": "S9n" }, "StepExecutionsTruncated": { "type": "boolean" }, "Parameters": { - "shape": "S8w" + "shape": "S8z" }, "Outputs": { - "shape": "S8w" + "shape": "S8z" }, "FailureMessage": {}, "Mode": {}, @@ -2277,10 +2277,10 @@ "shape": "S18" }, "TargetMaps": { - "shape": "S91" + "shape": "S94" }, "ResolvedTargets": { - "shape": "S96" + "shape": "S99" }, "MaxConcurrency": {}, "MaxErrors": {}, @@ -2313,7 +2313,7 @@ "type": "timestamp" }, "Runbooks": { - "shape": "S9a" + "shape": "S9d" }, "OpsItemId": {}, "AssociationId": {}, @@ -2380,7 +2380,7 @@ "StandardErrorContent": {}, "StandardErrorUrl": {}, "CloudWatchOutputConfig": { - "shape": "Shr" + "shape": "Shu" } } } @@ -2433,24 +2433,24 @@ "members": { "OperatingSystem": {}, "GlobalFilters": { - "shape": "S4y" + "shape": "S51" }, "ApprovalRules": { - "shape": "S54" + "shape": "S57" }, "ApprovedPatches": { - "shape": "S5b" + "shape": "S5e" }, "ApprovedPatchesComplianceLevel": {}, "RejectedPatches": { - "shape": "S5b" + "shape": "S5e" }, "RejectedPatchesAction": {}, "ApprovedPatchesEnableNonSecurity": { "type": "boolean" }, "Sources": { - "shape": "S5f" + "shape": "S5i" } } } @@ -2521,10 +2521,10 @@ "type": "structure", "members": { "Filters": { - "shape": "Sid" + "shape": "Sig" }, "Aggregators": { - "shape": "Sij" + "shape": "Sim" }, "ResultAttributes": { "type": "list", @@ -2569,7 +2569,7 @@ "CaptureTime": {}, "ContentHash": {}, "Content": { - "shape": "Sj0" + "shape": "Sj3" } } } @@ -2650,7 +2650,7 @@ "WindowId": {}, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "StartDate": {}, "EndDate": {}, @@ -2733,7 +2733,7 @@ "TaskParameters": { "type": "list", "member": { - "shape": "Sel" + "shape": "Seo" }, "sensitive": true }, @@ -2776,7 +2776,7 @@ "ExecutionId": {}, "TaskType": {}, "Parameters": { - "shape": "Sdu" + "shape": "Sdx" }, "Status": {}, "StatusDetails": {}, @@ -2787,7 +2787,7 @@ "type": "timestamp" }, "OwnerInformation": { - "shape": "Scf" + "shape": "Sci" }, "WindowTargetId": {} } @@ -2817,10 +2817,10 @@ "ServiceRoleArn": {}, "TaskType": {}, "TaskParameters": { - "shape": "Sel" + "shape": "Seo" }, "TaskInvocationParameters": { - "shape": "Sjr" + "shape": "Sju" }, "Priority": { "type": "integer" @@ -2828,11 +2828,11 @@ "MaxConcurrency": {}, "MaxErrors": {}, "LoggingInfo": { - "shape": "Ser" + "shape": "Seu" }, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "CutoffBehavior": {} } @@ -2865,13 +2865,13 @@ "type": "timestamp" }, "Notifications": { - "shape": "S4c" + "shape": "S4f" }, "Priority": { "type": "integer" }, "RelatedOpsItems": { - "shape": "S4g" + "shape": "S4j" }, "Status": {}, "OpsItemId": {}, @@ -2879,7 +2879,7 @@ "Title": {}, "Source": {}, "OperationalData": { - "shape": "S47" + "shape": "S4a" }, "Category": {}, "Severity": {}, @@ -2919,7 +2919,7 @@ "members": { "ResourceId": {}, "Metadata": { - "shape": "S4p" + "shape": "S4s" }, "NextToken": {} } @@ -2931,10 +2931,10 @@ "members": { "SyncName": {}, "Filters": { - "shape": "Ske" + "shape": "Skh" }, "Aggregators": { - "shape": "Skk" + "shape": "Skn" }, "ResultAttributes": { "type": "list", @@ -3005,7 +3005,7 @@ "type": "structure", "members": { "Parameter": { - "shape": "Sl6" + "shape": "Sl9" } } } @@ -3044,18 +3044,18 @@ "LastModifiedUser": {}, "Description": {}, "Value": { - "shape": "Sl7" + "shape": "Sla" }, "AllowedPattern": {}, "Version": { "type": "long" }, "Labels": { - "shape": "Sld" + "shape": "Slg" }, "Tier": {}, "Policies": { - "shape": "Sg0" + "shape": "Sg3" }, "DataType": {} } @@ -3073,7 +3073,7 @@ ], "members": { "Names": { - "shape": "S71" + "shape": "S74" }, "WithDecryption": { "type": "boolean" @@ -3084,10 +3084,10 @@ "type": "structure", "members": { "Parameters": { - "shape": "Slh" + "shape": "Slk" }, "InvalidParameters": { - "shape": "S71" + "shape": "S74" } } } @@ -3104,7 +3104,7 @@ "type": "boolean" }, "ParameterFilters": { - "shape": "Sfl" + "shape": "Sfo" }, "WithDecryption": { "type": "boolean" @@ -3119,7 +3119,7 @@ "type": "structure", "members": { "Parameters": { - "shape": "Slh" + "shape": "Slk" }, "NextToken": {} } @@ -3142,20 +3142,20 @@ "Name": {}, "OperatingSystem": {}, "GlobalFilters": { - "shape": "S4y" + "shape": "S51" }, "ApprovalRules": { - "shape": "S54" + "shape": "S57" }, "ApprovedPatches": { - "shape": "S5b" + "shape": "S5e" }, "ApprovedPatchesComplianceLevel": {}, "ApprovedPatchesEnableNonSecurity": { "type": "boolean" }, "RejectedPatches": { - "shape": "S5b" + "shape": "S5e" }, "RejectedPatchesAction": {}, "PatchGroups": { @@ -3170,7 +3170,7 @@ }, "Description": {}, "Sources": { - "shape": "S5f" + "shape": "S5i" } } } @@ -3209,7 +3209,7 @@ "type": "structure", "members": { "ServiceSetting": { - "shape": "Slt" + "shape": "Slw" } } } @@ -3227,7 +3227,7 @@ "type": "long" }, "Labels": { - "shape": "Sld" + "shape": "Slg" } } }, @@ -3235,7 +3235,7 @@ "type": "structure", "members": { "InvalidLabels": { - "shape": "Sld" + "shape": "Slg" }, "ParameterVersion": { "type": "long" @@ -3369,7 +3369,7 @@ }, "NextToken": {}, "Filters": { - "shape": "Smb" + "shape": "Sme" }, "Details": { "type": "boolean" @@ -3426,10 +3426,10 @@ }, "ServiceRole": {}, "NotificationConfig": { - "shape": "Sjt" + "shape": "Sjw" }, "CloudWatchOutputConfig": { - "shape": "Shr" + "shape": "Shu" } } } @@ -3449,7 +3449,7 @@ }, "NextToken": {}, "Filters": { - "shape": "Smb" + "shape": "Sme" } } }, @@ -3459,7 +3459,7 @@ "Commands": { "type": "list", "member": { - "shape": "Smr" + "shape": "Smu" } }, "NextToken": {} @@ -3471,7 +3471,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Smy" + "shape": "Sn1" }, "ResourceIds": { "type": "list", @@ -3503,10 +3503,10 @@ "Status": {}, "Severity": {}, "ExecutionSummary": { - "shape": "Sng" + "shape": "Snj" }, "Details": { - "shape": "Snj" + "shape": "Snm" } } } @@ -3520,7 +3520,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Smy" + "shape": "Sn1" }, "NextToken": {}, "MaxResults": { @@ -3538,10 +3538,10 @@ "members": { "ComplianceType": {}, "CompliantSummary": { - "shape": "Sno" + "shape": "Snr" }, "NonCompliantSummary": { - "shape": "Snr" + "shape": "Snu" } } } @@ -3589,7 +3589,7 @@ }, "ReviewStatus": {}, "Comment": { - "shape": "Sny" + "shape": "So1" }, "Reviewer": {} } @@ -3730,7 +3730,7 @@ "InstanceId": {}, "TypeName": {}, "Filters": { - "shape": "Sid" + "shape": "Sig" }, "NextToken": {}, "MaxResults": { @@ -3746,7 +3746,7 @@ "SchemaVersion": {}, "CaptureTime": {}, "Entries": { - "shape": "Sj0" + "shape": "Sj3" }, "NextToken": {} } @@ -3796,7 +3796,7 @@ "DetailType": {}, "Detail": {}, "CreatedBy": { - "shape": "Sow" + "shape": "Soz" }, "CreatedTime": { "type": "timestamp" @@ -3852,13 +3852,13 @@ "AssociationType": {}, "ResourceUri": {}, "CreatedBy": { - "shape": "Sow" + "shape": "Soz" }, "CreatedTime": { "type": "timestamp" }, "LastModifiedBy": { - "shape": "Sow" + "shape": "Soz" }, "LastModifiedTime": { "type": "timestamp" @@ -3925,7 +3925,7 @@ "type": "structure", "members": { "Filters": { - "shape": "Smy" + "shape": "Sn1" }, "NextToken": {}, "MaxResults": { @@ -3947,13 +3947,13 @@ "Status": {}, "OverallSeverity": {}, "ExecutionSummary": { - "shape": "Sng" + "shape": "Snj" }, "CompliantSummary": { - "shape": "Sno" + "shape": "Snr" }, "NonCompliantSummary": { - "shape": "Snr" + "shape": "Snu" } } } @@ -3988,10 +3988,10 @@ "members": { "SourceType": {}, "AwsOrganizationsSource": { - "shape": "S60" + "shape": "S63" }, "SourceRegions": { - "shape": "S65" + "shape": "S68" }, "IncludeFutureRegions": { "type": "boolean" @@ -4003,7 +4003,7 @@ } }, "S3Destination": { - "shape": "S5p" + "shape": "S5s" }, "LastSyncTime": { "type": "timestamp" @@ -4058,10 +4058,10 @@ "Name": {}, "PermissionType": {}, "AccountIdsToAdd": { - "shape": "Sax" + "shape": "Sb0" }, "AccountIdsToRemove": { - "shape": "Sax" + "shape": "Sb0" }, "SharedDocumentVersion": {} } @@ -4086,7 +4086,7 @@ "ResourceType": {}, "ComplianceType": {}, "ExecutionSummary": { - "shape": "Sng" + "shape": "Snj" }, "Items": { "type": "list", @@ -4102,7 +4102,7 @@ "Severity": {}, "Status": {}, "Details": { - "shape": "Snj" + "shape": "Snm" } } } @@ -4140,7 +4140,7 @@ "CaptureTime": {}, "ContentHash": {}, "Content": { - "shape": "Sj0" + "shape": "Sj3" }, "Context": { "type": "map", @@ -4170,7 +4170,7 @@ "Name": {}, "Description": {}, "Value": { - "shape": "Sl7" + "shape": "Sla" }, "Type": {}, "KeyId": {}, @@ -4248,11 +4248,11 @@ "shape": "S18" }, "OwnerInformation": { - "shape": "Scf" + "shape": "Sci" }, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "ClientToken": { "idempotencyToken": true @@ -4283,10 +4283,10 @@ "ServiceRoleArn": {}, "TaskType": {}, "TaskParameters": { - "shape": "Sel" + "shape": "Seo" }, "TaskInvocationParameters": { - "shape": "Sjr" + "shape": "Sju" }, "Priority": { "type": "integer" @@ -4294,11 +4294,11 @@ "MaxConcurrency": {}, "MaxErrors": {}, "LoggingInfo": { - "shape": "Ser" + "shape": "Seu" }, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "ClientToken": { "idempotencyToken": true @@ -4349,7 +4349,7 @@ "type": "structure", "members": { "ServiceSetting": { - "shape": "Slt" + "shape": "Slw" } } } @@ -4384,7 +4384,7 @@ "AutomationExecutionId": {}, "SignalType": {}, "Payload": { - "shape": "S8w" + "shape": "S8z" } } }, @@ -4424,10 +4424,10 @@ "MaxErrors": {}, "ServiceRoleArn": {}, "NotificationConfig": { - "shape": "Sjt" + "shape": "Sjw" }, "CloudWatchOutputConfig": { - "shape": "Shr" + "shape": "Shu" } } }, @@ -4435,7 +4435,7 @@ "type": "structure", "members": { "Command": { - "shape": "Smr" + "shape": "Smu" } } } @@ -4468,7 +4468,7 @@ "DocumentName": {}, "DocumentVersion": {}, "Parameters": { - "shape": "S8w" + "shape": "S8z" }, "ClientToken": {}, "Mode": {}, @@ -4477,7 +4477,7 @@ "shape": "S18" }, "TargetMaps": { - "shape": "S91" + "shape": "S94" }, "MaxConcurrency": {}, "MaxErrors": {}, @@ -4510,7 +4510,7 @@ "DocumentName": {}, "DocumentVersion": {}, "Parameters": { - "shape": "S8w" + "shape": "S8z" }, "ChangeRequestName": {}, "ClientToken": {}, @@ -4518,7 +4518,7 @@ "type": "boolean" }, "Runbooks": { - "shape": "S9a" + "shape": "S9d" }, "Tags": { "shape": "S4" @@ -4612,7 +4612,7 @@ "type": "long" }, "Labels": { - "shape": "Sld" + "shape": "Slg" } } }, @@ -4620,10 +4620,10 @@ "type": "structure", "members": { "RemovedLabels": { - "shape": "Sld" + "shape": "Slg" }, "InvalidLabels": { - "shape": "Sld" + "shape": "Slg" } } } @@ -4773,7 +4773,7 @@ "members": { "Action": {}, "Comment": { - "shape": "Sny" + "shape": "So1" } } } @@ -4794,7 +4794,7 @@ "WindowId": {}, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "StartDate": {}, "EndDate": {}, @@ -4826,7 +4826,7 @@ "WindowId": {}, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "StartDate": {}, "EndDate": {}, @@ -4864,11 +4864,11 @@ "shape": "S18" }, "OwnerInformation": { - "shape": "Scf" + "shape": "Sci" }, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "Replace": { "type": "boolean" @@ -4884,11 +4884,11 @@ "shape": "S18" }, "OwnerInformation": { - "shape": "Scf" + "shape": "Sci" }, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" } } } @@ -4909,10 +4909,10 @@ "TaskArn": {}, "ServiceRoleArn": {}, "TaskParameters": { - "shape": "Sel" + "shape": "Seo" }, "TaskInvocationParameters": { - "shape": "Sjr" + "shape": "Sju" }, "Priority": { "type": "integer" @@ -4920,11 +4920,11 @@ "MaxConcurrency": {}, "MaxErrors": {}, "LoggingInfo": { - "shape": "Ser" + "shape": "Seu" }, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "Replace": { "type": "boolean" @@ -4943,10 +4943,10 @@ "TaskArn": {}, "ServiceRoleArn": {}, "TaskParameters": { - "shape": "Sel" + "shape": "Seo" }, "TaskInvocationParameters": { - "shape": "Sjr" + "shape": "Sju" }, "Priority": { "type": "integer" @@ -4954,11 +4954,11 @@ "MaxConcurrency": {}, "MaxErrors": {}, "LoggingInfo": { - "shape": "Ser" + "shape": "Seu" }, "Name": {}, "Description": { - "shape": "S3t" + "shape": "S3w" }, "CutoffBehavior": {} } @@ -4990,20 +4990,20 @@ "members": { "Description": {}, "OperationalData": { - "shape": "S47" + "shape": "S4a" }, "OperationalDataToDelete": { "type": "list", "member": {} }, "Notifications": { - "shape": "S4c" + "shape": "S4f" }, "Priority": { "type": "integer" }, "RelatedOpsItems": { - "shape": "S4g" + "shape": "S4j" }, "Status": {}, "OpsItemId": {}, @@ -5038,7 +5038,7 @@ "members": { "OpsMetadataArn": {}, "MetadataToUpdate": { - "shape": "S4p" + "shape": "S4s" }, "KeysToDelete": { "type": "list", @@ -5063,25 +5063,25 @@ "BaselineId": {}, "Name": {}, "GlobalFilters": { - "shape": "S4y" + "shape": "S51" }, "ApprovalRules": { - "shape": "S54" + "shape": "S57" }, "ApprovedPatches": { - "shape": "S5b" + "shape": "S5e" }, "ApprovedPatchesComplianceLevel": {}, "ApprovedPatchesEnableNonSecurity": { "type": "boolean" }, "RejectedPatches": { - "shape": "S5b" + "shape": "S5e" }, "RejectedPatchesAction": {}, "Description": {}, "Sources": { - "shape": "S5f" + "shape": "S5i" }, "Replace": { "type": "boolean" @@ -5095,20 +5095,20 @@ "Name": {}, "OperatingSystem": {}, "GlobalFilters": { - "shape": "S4y" + "shape": "S51" }, "ApprovalRules": { - "shape": "S54" + "shape": "S57" }, "ApprovedPatches": { - "shape": "S5b" + "shape": "S5e" }, "ApprovedPatchesComplianceLevel": {}, "ApprovedPatchesEnableNonSecurity": { "type": "boolean" }, "RejectedPatches": { - "shape": "S5b" + "shape": "S5e" }, "RejectedPatchesAction": {}, "CreatedDate": { @@ -5119,7 +5119,7 @@ }, "Description": {}, "Sources": { - "shape": "S5f" + "shape": "S5i" } } } @@ -5136,7 +5136,7 @@ "SyncName": {}, "SyncType": {}, "SyncSource": { - "shape": "S5y" + "shape": "S61" } } }, @@ -5458,18 +5458,26 @@ }, "ApprovedVersion": {}, "PendingReviewVersion": {}, - "ReviewStatus": {} + "ReviewStatus": {}, + "Category": { + "type": "list", + "member": {} + }, + "CategoryEnum": { + "type": "list", + "member": {} + } } }, "S3g": { "type": "list", "member": {} }, - "S3t": { + "S3w": { "type": "string", "sensitive": true }, - "S47": { + "S4a": { "type": "map", "key": {}, "value": { @@ -5480,7 +5488,7 @@ } } }, - "S4c": { + "S4f": { "type": "list", "member": { "type": "structure", @@ -5489,7 +5497,7 @@ } } }, - "S4g": { + "S4j": { "type": "list", "member": { "type": "structure", @@ -5501,7 +5509,7 @@ } } }, - "S4p": { + "S4s": { "type": "map", "key": {}, "value": { @@ -5511,7 +5519,7 @@ } } }, - "S4y": { + "S51": { "type": "structure", "required": [ "PatchFilters" @@ -5536,7 +5544,7 @@ } } }, - "S54": { + "S57": { "type": "structure", "required": [ "PatchRules" @@ -5551,7 +5559,7 @@ ], "members": { "PatchFilterGroup": { - "shape": "S4y" + "shape": "S51" }, "ComplianceLevel": {}, "ApproveAfterDays": { @@ -5566,11 +5574,11 @@ } } }, - "S5b": { + "S5e": { "type": "list", "member": {} }, - "S5f": { + "S5i": { "type": "list", "member": { "type": "structure", @@ -5592,7 +5600,7 @@ } } }, - "S5p": { + "S5s": { "type": "structure", "required": [ "BucketName", @@ -5613,7 +5621,7 @@ } } }, - "S5y": { + "S61": { "type": "structure", "required": [ "SourceType", @@ -5622,10 +5630,10 @@ "members": { "SourceType": {}, "AwsOrganizationsSource": { - "shape": "S60" + "shape": "S63" }, "SourceRegions": { - "shape": "S65" + "shape": "S68" }, "IncludeFutureRegions": { "type": "boolean" @@ -5635,7 +5643,7 @@ } } }, - "S60": { + "S63": { "type": "structure", "required": [ "OrganizationSourceType" @@ -5653,11 +5661,11 @@ } } }, - "S65": { + "S68": { "type": "list", "member": {} }, - "S6m": { + "S6p": { "type": "structure", "members": { "TotalCount": { @@ -5683,11 +5691,11 @@ } } }, - "S71": { + "S74": { "type": "list", "member": {} }, - "S8w": { + "S8z": { "type": "map", "key": {}, "value": { @@ -5695,7 +5703,7 @@ "member": {} } }, - "S91": { + "S94": { "type": "list", "member": { "type": "map", @@ -5706,7 +5714,7 @@ } } }, - "S96": { + "S99": { "type": "structure", "members": { "ParameterValues": { @@ -5718,7 +5726,7 @@ } } }, - "S9a": { + "S9d": { "type": "list", "member": { "type": "structure", @@ -5729,7 +5737,7 @@ "DocumentName": {}, "DocumentVersion": {}, "Parameters": { - "shape": "S8w" + "shape": "S8z" }, "TargetParameterName": {}, "Targets": { @@ -5743,7 +5751,7 @@ } } }, - "S9k": { + "S9n": { "type": "list", "member": { "type": "structure", @@ -5771,7 +5779,7 @@ "value": {} }, "Outputs": { - "shape": "S8w" + "shape": "S8z" }, "Response": {}, "FailureMessage": {}, @@ -5781,13 +5789,13 @@ "FailureStage": {}, "FailureType": {}, "Details": { - "shape": "S8w" + "shape": "S8z" } } }, "StepExecutionId": {}, "OverriddenParameters": { - "shape": "S8w" + "shape": "S8z" }, "IsEnd": { "type": "boolean" @@ -5809,7 +5817,7 @@ } } }, - "S9u": { + "S9x": { "type": "list", "member": { "type": "structure", @@ -5822,7 +5830,7 @@ } } }, - "Sa2": { + "Sa5": { "type": "structure", "members": { "Id": {}, @@ -5863,15 +5871,15 @@ "Repository": {} } }, - "Sax": { + "Sb0": { "type": "list", "member": {} }, - "Sbq": { + "Sbt": { "type": "list", "member": {} }, - "Scc": { + "Scf": { "type": "structure", "required": [ "InstanceId", @@ -5888,7 +5896,7 @@ "SnapshotId": {}, "InstallOverrideList": {}, "OwnerInformation": { - "shape": "Scf" + "shape": "Sci" }, "InstalledCount": { "type": "integer" @@ -5936,11 +5944,11 @@ } } }, - "Scf": { + "Sci": { "type": "string", "sensitive": true }, - "Sdi": { + "Sdl": { "type": "list", "member": { "type": "structure", @@ -5953,11 +5961,11 @@ } } }, - "Sdu": { + "Sdx": { "type": "string", "sensitive": true }, - "Sel": { + "Seo": { "type": "map", "key": {}, "value": { @@ -5976,7 +5984,7 @@ }, "sensitive": true }, - "Ser": { + "Seu": { "type": "structure", "required": [ "S3BucketName", @@ -5988,7 +5996,7 @@ "S3Region": {} } }, - "Sfl": { + "Sfo": { "type": "list", "member": { "type": "structure", @@ -6005,7 +6013,7 @@ } } }, - "Sg0": { + "Sg3": { "type": "list", "member": { "type": "structure", @@ -6016,7 +6024,7 @@ } } }, - "Sg6": { + "Sg9": { "type": "structure", "members": { "BaselineId": {}, @@ -6028,7 +6036,7 @@ } } }, - "Shr": { + "Shu": { "type": "structure", "members": { "CloudWatchLogGroupName": {}, @@ -6037,7 +6045,7 @@ } } }, - "Sid": { + "Sig": { "type": "list", "member": { "type": "structure", @@ -6055,14 +6063,14 @@ } } }, - "Sij": { + "Sim": { "type": "list", "member": { "type": "structure", "members": { "Expression": {}, "Aggregators": { - "shape": "Sij" + "shape": "Sim" }, "Groups": { "type": "list", @@ -6075,7 +6083,7 @@ "members": { "Name": {}, "Filters": { - "shape": "Sid" + "shape": "Sig" } } } @@ -6083,7 +6091,7 @@ } } }, - "Sj0": { + "Sj3": { "type": "list", "member": { "type": "map", @@ -6091,7 +6099,7 @@ "value": {} } }, - "Sjr": { + "Sju": { "type": "structure", "members": { "RunCommand": { @@ -6099,13 +6107,13 @@ "members": { "Comment": {}, "CloudWatchOutputConfig": { - "shape": "Shr" + "shape": "Shu" }, "DocumentHash": {}, "DocumentHashType": {}, "DocumentVersion": {}, "NotificationConfig": { - "shape": "Sjt" + "shape": "Sjw" }, "OutputS3BucketName": {}, "OutputS3KeyPrefix": {}, @@ -6123,7 +6131,7 @@ "members": { "DocumentVersion": {}, "Parameters": { - "shape": "S8w" + "shape": "S8z" } } }, @@ -6150,7 +6158,7 @@ } } }, - "Sjt": { + "Sjw": { "type": "structure", "members": { "NotificationArn": {}, @@ -6161,7 +6169,7 @@ "NotificationType": {} } }, - "Ske": { + "Skh": { "type": "list", "member": { "type": "structure", @@ -6179,7 +6187,7 @@ } } }, - "Skk": { + "Skn": { "type": "list", "member": { "type": "structure", @@ -6193,21 +6201,21 @@ "value": {} }, "Filters": { - "shape": "Ske" + "shape": "Skh" }, "Aggregators": { - "shape": "Skk" + "shape": "Skn" } } } }, - "Sl6": { + "Sl9": { "type": "structure", "members": { "Name": {}, "Type": {}, "Value": { - "shape": "Sl7" + "shape": "Sla" }, "Version": { "type": "long" @@ -6221,21 +6229,21 @@ "DataType": {} } }, - "Sl7": { + "Sla": { "type": "string", "sensitive": true }, - "Sld": { + "Slg": { "type": "list", "member": {} }, - "Slh": { + "Slk": { "type": "list", "member": { - "shape": "Sl6" + "shape": "Sl9" } }, - "Slt": { + "Slw": { "type": "structure", "members": { "SettingId": {}, @@ -6248,7 +6256,7 @@ "Status": {} } }, - "Smb": { + "Sme": { "type": "list", "member": { "type": "structure", @@ -6262,7 +6270,7 @@ } } }, - "Smr": { + "Smu": { "type": "structure", "members": { "CommandId": {}, @@ -6305,17 +6313,17 @@ }, "ServiceRole": {}, "NotificationConfig": { - "shape": "Sjt" + "shape": "Sjw" }, "CloudWatchOutputConfig": { - "shape": "Shr" + "shape": "Shu" }, "TimeoutSeconds": { "type": "integer" } } }, - "Smy": { + "Sn1": { "type": "list", "member": { "type": "structure", @@ -6329,7 +6337,7 @@ } } }, - "Sng": { + "Snj": { "type": "structure", "required": [ "ExecutionTime" @@ -6342,23 +6350,23 @@ "ExecutionType": {} } }, - "Snj": { + "Snm": { "type": "map", "key": {}, "value": {} }, - "Sno": { + "Snr": { "type": "structure", "members": { "CompliantCount": { "type": "integer" }, "SeveritySummary": { - "shape": "Snq" + "shape": "Snt" } } }, - "Snq": { + "Snt": { "type": "structure", "members": { "CriticalCount": { @@ -6381,18 +6389,18 @@ } } }, - "Snr": { + "Snu": { "type": "structure", "members": { "NonCompliantCount": { "type": "integer" }, "SeveritySummary": { - "shape": "Snq" + "shape": "Snt" } } }, - "Sny": { + "So1": { "type": "list", "member": { "type": "structure", @@ -6402,7 +6410,7 @@ } } }, - "Sow": { + "Soz": { "type": "structure", "members": { "Arn": {} diff --git a/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json b/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json index a3495e8f0..7d5a8380d 100644 --- a/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +++ b/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json @@ -99,6 +99,10 @@ "NextToken": {}, "MaxResults": { "type": "integer" + }, + "Names": { + "type": "list", + "member": {} } } }, @@ -125,6 +129,10 @@ "NextToken": {}, "MaxResults": { "type": "integer" + }, + "Names": { + "type": "list", + "member": {} } } }, @@ -138,7 +146,7 @@ "members": { "CanaryName": {}, "LastRun": { - "shape": "S1p" + "shape": "S1r" } } } @@ -235,7 +243,7 @@ "CanaryRuns": { "type": "list", "member": { - "shape": "S1p" + "shape": "S1r" } }, "NextToken": {} @@ -629,7 +637,7 @@ } } }, - "S1p": { + "S1r": { "type": "structure", "members": { "Id": {}, diff --git a/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json b/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json index e6765167d..1b5bccdd8 100644 --- a/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +++ b/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json @@ -329,7 +329,7 @@ "type": "structure", "members": { "MedicalTranscriptionJob": { - "shape": "S2i" + "shape": "S2k" } } } @@ -372,7 +372,7 @@ "type": "structure", "members": { "TranscriptionJob": { - "shape": "S2v" + "shape": "S2x" } } } @@ -575,7 +575,7 @@ "Status": {}, "NextToken": {}, "Vocabularies": { - "shape": "S3q" + "shape": "S3s" } } } @@ -640,7 +640,7 @@ "shape": "S27" }, "ModelSettings": { - "shape": "S2x" + "shape": "S2z" }, "IdentifyLanguage": { "type": "boolean" @@ -672,7 +672,7 @@ "Status": {}, "NextToken": {}, "Vocabularies": { - "shape": "S3q" + "shape": "S3s" } } } @@ -728,7 +728,7 @@ "shape": "S25" }, "ChannelDefinitions": { - "shape": "S2d" + "shape": "S2f" } } }, @@ -766,10 +766,10 @@ "OutputKey": {}, "OutputEncryptionKMSKeyId": {}, "KMSEncryptionContext": { - "shape": "S4b" + "shape": "S4d" }, "Settings": { - "shape": "S2l" + "shape": "S2n" }, "ContentIdentificationType": {}, "Specialty": {}, @@ -783,7 +783,7 @@ "type": "structure", "members": { "MedicalTranscriptionJob": { - "shape": "S2i" + "shape": "S2k" } } } @@ -809,16 +809,16 @@ "OutputKey": {}, "OutputEncryptionKMSKeyId": {}, "KMSEncryptionContext": { - "shape": "S4b" + "shape": "S4d" }, "Settings": { - "shape": "S2w" + "shape": "S2y" }, "ModelSettings": { - "shape": "S2x" + "shape": "S2z" }, "JobExecutionSettings": { - "shape": "S2y" + "shape": "S30" }, "ContentRedaction": { "shape": "S27" @@ -827,13 +827,13 @@ "type": "boolean" }, "LanguageOptions": { - "shape": "S2a" + "shape": "S2c" }, "Subtitles": { "type": "structure", "members": { "Formats": { - "shape": "S30" + "shape": "S32" } } }, @@ -841,7 +841,7 @@ "shape": "Su" }, "LanguageIdSettings": { - "shape": "S2b" + "shape": "S2d" } } }, @@ -849,7 +849,7 @@ "type": "structure", "members": { "TranscriptionJob": { - "shape": "S2v" + "shape": "S2x" } } } @@ -1225,7 +1225,7 @@ "shape": "S25" }, "ChannelDefinitions": { - "shape": "S2d" + "shape": "S2f" } } }, @@ -1254,10 +1254,10 @@ "shape": "S27" }, "LanguageOptions": { - "shape": "S2a" + "shape": "S2c" }, "LanguageIdSettings": { - "shape": "S2b" + "shape": "S2d" } } }, @@ -1269,14 +1269,18 @@ ], "members": { "RedactionType": {}, - "RedactionOutput": {} + "RedactionOutput": {}, + "PiiEntityTypes": { + "type": "list", + "member": {} + } } }, - "S2a": { + "S2c": { "type": "list", "member": {} }, - "S2b": { + "S2d": { "type": "map", "key": {}, "value": { @@ -1288,7 +1292,7 @@ } } }, - "S2d": { + "S2f": { "type": "list", "member": { "type": "structure", @@ -1300,7 +1304,7 @@ } } }, - "S2i": { + "S2k": { "type": "structure", "members": { "MedicalTranscriptionJobName": {}, @@ -1330,7 +1334,7 @@ }, "FailureReason": {}, "Settings": { - "shape": "S2l" + "shape": "S2n" }, "ContentIdentificationType": {}, "Specialty": {}, @@ -1340,7 +1344,7 @@ } } }, - "S2l": { + "S2n": { "type": "structure", "members": { "ShowSpeakerLabels": { @@ -1361,7 +1365,7 @@ "VocabularyName": {} } }, - "S2v": { + "S2x": { "type": "structure", "members": { "TranscriptionJobName": {}, @@ -1388,13 +1392,13 @@ }, "FailureReason": {}, "Settings": { - "shape": "S2w" + "shape": "S2y" }, "ModelSettings": { - "shape": "S2x" + "shape": "S2z" }, "JobExecutionSettings": { - "shape": "S2y" + "shape": "S30" }, "ContentRedaction": { "shape": "S27" @@ -1403,7 +1407,7 @@ "type": "boolean" }, "LanguageOptions": { - "shape": "S2a" + "shape": "S2c" }, "IdentifiedLanguageScore": { "type": "float" @@ -1415,7 +1419,7 @@ "type": "structure", "members": { "Formats": { - "shape": "S30" + "shape": "S32" }, "SubtitleFileUris": { "type": "list", @@ -1424,11 +1428,11 @@ } }, "LanguageIdSettings": { - "shape": "S2b" + "shape": "S2d" } } }, - "S2w": { + "S2y": { "type": "structure", "members": { "VocabularyName": {}, @@ -1451,13 +1455,13 @@ "VocabularyFilterMethod": {} } }, - "S2x": { + "S2z": { "type": "structure", "members": { "LanguageModelName": {} } }, - "S2y": { + "S30": { "type": "structure", "members": { "AllowDeferredExecution": { @@ -1466,11 +1470,11 @@ "DataAccessRoleArn": {} } }, - "S30": { + "S32": { "type": "list", "member": {} }, - "S3q": { + "S3s": { "type": "list", "member": { "type": "structure", @@ -1484,7 +1488,7 @@ } } }, - "S4b": { + "S4d": { "type": "map", "key": {}, "value": {} diff --git a/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json b/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json index fd66fde81..2f5c509f4 100644 --- a/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +++ b/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json @@ -68,10 +68,10 @@ "Description": {}, "IPAddressVersion": {}, "Addresses": { - "shape": "S2n" + "shape": "S2u" }, "Tags": { - "shape": "S2p" + "shape": "S2w" } } }, @@ -79,7 +79,7 @@ "type": "structure", "members": { "Summary": { - "shape": "S2u" + "shape": "S31" } } } @@ -97,10 +97,10 @@ "Scope": {}, "Description": {}, "RegularExpressionList": { - "shape": "S2y" + "shape": "S35" }, "Tags": { - "shape": "S2p" + "shape": "S2w" } } }, @@ -108,7 +108,7 @@ "type": "structure", "members": { "Summary": { - "shape": "S31" + "shape": "S38" } } } @@ -133,13 +133,13 @@ "shape": "S6" }, "VisibilityConfig": { - "shape": "S2c" + "shape": "S2j" }, "Tags": { - "shape": "S2p" + "shape": "S2w" }, "CustomResponseBodies": { - "shape": "S34" + "shape": "S3b" } } }, @@ -147,7 +147,7 @@ "type": "structure", "members": { "Summary": { - "shape": "S39" + "shape": "S3g" } } } @@ -165,23 +165,23 @@ "Name": {}, "Scope": {}, "DefaultAction": { - "shape": "S3b" + "shape": "S3i" }, "Description": {}, "Rules": { "shape": "S6" }, "VisibilityConfig": { - "shape": "S2c" + "shape": "S2j" }, "Tags": { - "shape": "S2p" + "shape": "S2w" }, "CustomResponseBodies": { - "shape": "S34" + "shape": "S3b" }, "CaptchaConfig": { - "shape": "S2f" + "shape": "S2m" } } }, @@ -189,7 +189,7 @@ "type": "structure", "members": { "Summary": { - "shape": "S3d" + "shape": "S3k" } } } @@ -357,17 +357,17 @@ "members": { "Name": {}, "Action": { - "shape": "S1v" + "shape": "S22" } } } }, "LabelNamespace": {}, "AvailableLabels": { - "shape": "S3w" + "shape": "S43" }, "ConsumedLabels": { - "shape": "S3w" + "shape": "S43" } } } @@ -387,6 +387,25 @@ "members": {} } }, + "GenerateMobileSdkReleaseUrl": { + "input": { + "type": "structure", + "required": [ + "Platform", + "ReleaseVersion" + ], + "members": { + "Platform": {}, + "ReleaseVersion": {} + } + }, + "output": { + "type": "structure", + "members": { + "Url": {} + } + } + }, "GetIPSet": { "input": { "type": "structure", @@ -420,7 +439,7 @@ "Description": {}, "IPAddressVersion": {}, "Addresses": { - "shape": "S2n" + "shape": "S2u" } } }, @@ -442,7 +461,7 @@ "type": "structure", "members": { "LoggingConfiguration": { - "shape": "S45" + "shape": "S4g" } } } @@ -509,6 +528,37 @@ } } }, + "GetMobileSdkRelease": { + "input": { + "type": "structure", + "required": [ + "Platform", + "ReleaseVersion" + ], + "members": { + "Platform": {}, + "ReleaseVersion": {} + } + }, + "output": { + "type": "structure", + "members": { + "MobileSdkRelease": { + "type": "structure", + "members": { + "ReleaseVersion": {}, + "Timestamp": { + "type": "timestamp" + }, + "ReleaseNotes": {}, + "Tags": { + "shape": "S2w" + } + } + } + } + } + }, "GetPermissionPolicy": { "input": { "type": "structure", @@ -547,10 +597,10 @@ "type": "structure", "members": { "ManagedKeysIPV4": { - "shape": "S4u" + "shape": "S59" }, "ManagedKeysIPV6": { - "shape": "S4u" + "shape": "S59" } } } @@ -580,7 +630,7 @@ "ARN": {}, "Description": {}, "RegularExpressionList": { - "shape": "S2y" + "shape": "S35" } } }, @@ -622,17 +672,17 @@ "shape": "S6" }, "VisibilityConfig": { - "shape": "S2c" + "shape": "S2j" }, "LabelNamespace": {}, "CustomResponseBodies": { - "shape": "S34" + "shape": "S3b" }, "AvailableLabels": { - "shape": "S3w" + "shape": "S43" }, "ConsumedLabels": { - "shape": "S3w" + "shape": "S43" } } }, @@ -655,7 +705,7 @@ "RuleMetricName": {}, "Scope": {}, "TimeWindow": { - "shape": "S52" + "shape": "S5h" }, "MaxItems": { "type": "long" @@ -683,7 +733,7 @@ "Method": {}, "HTTPVersion": {}, "Headers": { - "shape": "S5d" + "shape": "S5s" } } }, @@ -696,13 +746,13 @@ "Action": {}, "RuleNameWithinRuleGroup": {}, "RequestHeadersInserted": { - "shape": "S5d" + "shape": "S5s" }, "ResponseCodeSent": { "type": "integer" }, "Labels": { - "shape": "S29" + "shape": "S2g" }, "CaptchaResponse": { "type": "structure", @@ -723,7 +773,7 @@ "type": "long" }, "TimeWindow": { - "shape": "S52" + "shape": "S5h" } } } @@ -746,9 +796,10 @@ "type": "structure", "members": { "WebACL": { - "shape": "S5q" + "shape": "S65" }, - "LockToken": {} + "LockToken": {}, + "ApplicationIntegrationURL": {} } } }, @@ -766,7 +817,7 @@ "type": "structure", "members": { "WebACL": { - "shape": "S5q" + "shape": "S65" } } } @@ -861,7 +912,7 @@ "IPSets": { "type": "list", "member": { - "shape": "S2u" + "shape": "S31" } } } @@ -887,7 +938,7 @@ "LoggingConfigurations": { "type": "list", "member": { - "shape": "S45" + "shape": "S4g" } }, "NextMarker": {} @@ -929,6 +980,39 @@ } } }, + "ListMobileSdkReleases": { + "input": { + "type": "structure", + "required": [ + "Platform" + ], + "members": { + "Platform": {}, + "NextMarker": {}, + "Limit": { + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "ReleaseSummaries": { + "type": "list", + "member": { + "type": "structure", + "members": { + "ReleaseVersion": {}, + "Timestamp": { + "type": "timestamp" + } + } + } + }, + "NextMarker": {} + } + } + }, "ListRegexPatternSets": { "input": { "type": "structure", @@ -950,7 +1034,7 @@ "RegexPatternSets": { "type": "list", "member": { - "shape": "S31" + "shape": "S38" } } } @@ -998,7 +1082,7 @@ "RuleGroups": { "type": "list", "member": { - "shape": "S39" + "shape": "S3g" } } } @@ -1027,7 +1111,7 @@ "members": { "ResourceARN": {}, "TagList": { - "shape": "S2p" + "shape": "S2w" } } } @@ -1055,7 +1139,7 @@ "WebACLs": { "type": "list", "member": { - "shape": "S3d" + "shape": "S3k" } } } @@ -1069,7 +1153,7 @@ ], "members": { "LoggingConfiguration": { - "shape": "S45" + "shape": "S4g" } } }, @@ -1077,7 +1161,7 @@ "type": "structure", "members": { "LoggingConfiguration": { - "shape": "S45" + "shape": "S4g" } } } @@ -1146,7 +1230,7 @@ "members": { "ResourceARN": {}, "Tags": { - "shape": "S2p" + "shape": "S2w" } } }, @@ -1191,7 +1275,7 @@ "Id": {}, "Description": {}, "Addresses": { - "shape": "S2n" + "shape": "S2u" }, "LockToken": {} } @@ -1252,7 +1336,7 @@ "Id": {}, "Description": {}, "RegularExpressionList": { - "shape": "S2y" + "shape": "S35" }, "LockToken": {} } @@ -1283,11 +1367,11 @@ "shape": "S6" }, "VisibilityConfig": { - "shape": "S2c" + "shape": "S2j" }, "LockToken": {}, "CustomResponseBodies": { - "shape": "S34" + "shape": "S3b" } } }, @@ -1314,21 +1398,21 @@ "Scope": {}, "Id": {}, "DefaultAction": { - "shape": "S3b" + "shape": "S3i" }, "Description": {}, "Rules": { "shape": "S6" }, "VisibilityConfig": { - "shape": "S2c" + "shape": "S2j" }, "LockToken": {}, "CustomResponseBodies": { - "shape": "S34" + "shape": "S3b" }, "CaptchaConfig": { - "shape": "S2f" + "shape": "S2m" } } }, @@ -1360,19 +1444,19 @@ "shape": "Sa" }, "Action": { - "shape": "S1v" + "shape": "S22" }, "OverrideAction": { - "shape": "S27" + "shape": "S2e" }, "RuleLabels": { - "shape": "S29" + "shape": "S2g" }, "VisibilityConfig": { - "shape": "S2c" + "shape": "S2j" }, "CaptchaConfig": { - "shape": "S2f" + "shape": "S2m" } } } @@ -1730,32 +1814,60 @@ }, "ScopeDownStatement": { "shape": "Sa" + }, + "ManagedRuleGroupConfigs": { + "type": "list", + "member": { + "type": "structure", + "members": { + "LoginPath": {}, + "PayloadType": {}, + "UsernameField": { + "type": "structure", + "required": [ + "Identifier" + ], + "members": { + "Identifier": {} + } + }, + "PasswordField": { + "type": "structure", + "required": [ + "Identifier" + ], + "members": { + "Identifier": {} + } + } + } + } } } }, - "S1v": { + "S22": { "type": "structure", "members": { "Block": { - "shape": "S1w" + "shape": "S23" }, "Allow": { - "shape": "S23" + "shape": "S2a" }, "Count": { - "shape": "S25" + "shape": "S2c" }, "Captcha": { "type": "structure", "members": { "CustomRequestHandling": { - "shape": "S24" + "shape": "S2b" } } } } }, - "S1w": { + "S23": { "type": "structure", "members": { "CustomResponse": { @@ -1769,13 +1881,13 @@ }, "CustomResponseBodyKey": {}, "ResponseHeaders": { - "shape": "S1z" + "shape": "S26" } } } } }, - "S1z": { + "S26": { "type": "list", "member": { "type": "structure", @@ -1789,38 +1901,38 @@ } } }, - "S23": { + "S2a": { "type": "structure", "members": { "CustomRequestHandling": { - "shape": "S24" + "shape": "S2b" } } }, - "S24": { + "S2b": { "type": "structure", "required": [ "InsertHeaders" ], "members": { "InsertHeaders": { - "shape": "S1z" + "shape": "S26" } } }, - "S25": { + "S2c": { "type": "structure", "members": { "CustomRequestHandling": { - "shape": "S24" + "shape": "S2b" } } }, - "S27": { + "S2e": { "type": "structure", "members": { "Count": { - "shape": "S25" + "shape": "S2c" }, "None": { "type": "structure", @@ -1828,7 +1940,7 @@ } } }, - "S29": { + "S2g": { "type": "list", "member": { "type": "structure", @@ -1840,7 +1952,7 @@ } } }, - "S2c": { + "S2j": { "type": "structure", "required": [ "SampledRequestsEnabled", @@ -1857,7 +1969,7 @@ "MetricName": {} } }, - "S2f": { + "S2m": { "type": "structure", "members": { "ImmunityTimeProperty": { @@ -1873,11 +1985,11 @@ } } }, - "S2n": { + "S2u": { "type": "list", "member": {} }, - "S2p": { + "S2w": { "type": "list", "member": { "type": "structure", @@ -1891,7 +2003,7 @@ } } }, - "S2u": { + "S31": { "type": "structure", "members": { "Name": {}, @@ -1901,7 +2013,7 @@ "ARN": {} } }, - "S2y": { + "S35": { "type": "list", "member": { "type": "structure", @@ -1910,7 +2022,7 @@ } } }, - "S31": { + "S38": { "type": "structure", "members": { "Name": {}, @@ -1920,7 +2032,7 @@ "ARN": {} } }, - "S34": { + "S3b": { "type": "map", "key": {}, "value": { @@ -1935,7 +2047,7 @@ } } }, - "S39": { + "S3g": { "type": "structure", "members": { "Name": {}, @@ -1945,18 +2057,18 @@ "ARN": {} } }, - "S3b": { + "S3i": { "type": "structure", "members": { "Block": { - "shape": "S1w" + "shape": "S23" }, "Allow": { - "shape": "S23" + "shape": "S2a" } } }, - "S3d": { + "S3k": { "type": "structure", "members": { "Name": {}, @@ -1966,7 +2078,7 @@ "ARN": {} } }, - "S3w": { + "S43": { "type": "list", "member": { "type": "structure", @@ -1975,7 +2087,7 @@ } } }, - "S45": { + "S4g": { "type": "structure", "required": [ "ResourceArn", @@ -2049,16 +2161,16 @@ } } }, - "S4u": { + "S59": { "type": "structure", "members": { "IPAddressVersion": {}, "Addresses": { - "shape": "S2n" + "shape": "S2u" } } }, - "S52": { + "S5h": { "type": "structure", "required": [ "StartTime", @@ -2073,7 +2185,7 @@ } } }, - "S5d": { + "S5s": { "type": "list", "member": { "type": "structure", @@ -2083,7 +2195,7 @@ } } }, - "S5q": { + "S65": { "type": "structure", "required": [ "Name", @@ -2097,37 +2209,37 @@ "Id": {}, "ARN": {}, "DefaultAction": { - "shape": "S3b" + "shape": "S3i" }, "Description": {}, "Rules": { "shape": "S6" }, "VisibilityConfig": { - "shape": "S2c" + "shape": "S2j" }, "Capacity": { "type": "long" }, "PreProcessFirewallManagerRuleGroups": { - "shape": "S5r" + "shape": "S66" }, "PostProcessFirewallManagerRuleGroups": { - "shape": "S5r" + "shape": "S66" }, "ManagedByFirewallManager": { "type": "boolean" }, "LabelNamespace": {}, "CustomResponseBodies": { - "shape": "S34" + "shape": "S3b" }, "CaptchaConfig": { - "shape": "S2f" + "shape": "S2m" } } }, - "S5r": { + "S66": { "type": "list", "member": { "type": "structure", @@ -2155,10 +2267,10 @@ } }, "OverrideAction": { - "shape": "S27" + "shape": "S2e" }, "VisibilityConfig": { - "shape": "S2c" + "shape": "S2j" } } } diff --git a/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json b/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json index 53b8b5689..626d360c8 100644 --- a/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +++ b/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json @@ -94,6 +94,27 @@ } } }, + "CreateConnectClientAddIn": { + "input": { + "type": "structure", + "required": [ + "ResourceId", + "Name", + "URL" + ], + "members": { + "ResourceId": {}, + "Name": {}, + "URL": {} + } + }, + "output": { + "type": "structure", + "members": { + "AddInId": {} + } + } + }, "CreateConnectionAlias": { "input": { "type": "structure", @@ -196,13 +217,13 @@ "BundleDescription": {}, "ImageId": {}, "ComputeType": { - "shape": "S15" + "shape": "S1a" }, "UserStorage": { - "shape": "S17" + "shape": "S1c" }, "RootStorage": { - "shape": "S18" + "shape": "S1d" }, "Tags": { "shape": "Sm" @@ -213,7 +234,7 @@ "type": "structure", "members": { "WorkspaceBundle": { - "shape": "S1a" + "shape": "S1f" } } } @@ -228,7 +249,7 @@ "Workspaces": { "type": "list", "member": { - "shape": "S1h" + "shape": "S1m" } } } @@ -242,7 +263,7 @@ "type": "structure", "members": { "WorkspaceRequest": { - "shape": "S1h" + "shape": "S1m" }, "ErrorCode": {}, "ErrorMessage": {} @@ -250,11 +271,28 @@ } }, "PendingRequests": { - "shape": "S1u" + "shape": "S1z" } } } }, + "DeleteConnectClientAddIn": { + "input": { + "type": "structure", + "required": [ + "AddInId", + "ResourceId" + ], + "members": { + "AddInId": {}, + "ResourceId": {} + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "DeleteConnectionAlias": { "input": { "type": "structure", @@ -413,7 +451,7 @@ "members": { "ResourceId": {}, "ClientProperties": { - "shape": "S2y" + "shape": "S35" } } } @@ -421,6 +459,39 @@ } } }, + "DescribeConnectClientAddIns": { + "input": { + "type": "structure", + "required": [ + "ResourceId" + ], + "members": { + "ResourceId": {}, + "NextToken": {}, + "MaxResults": { + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "AddIns": { + "type": "list", + "member": { + "type": "structure", + "members": { + "AddInId": {}, + "ResourceId": {}, + "Name": {}, + "URL": {} + } + } + }, + "NextToken": {} + } + } + }, "DescribeConnectionAliasPermissions": { "input": { "type": "structure", @@ -442,7 +513,7 @@ "ConnectionAliasPermissions": { "type": "list", "member": { - "shape": "S34" + "shape": "S3f" } }, "NextToken": {} @@ -566,7 +637,7 @@ "Bundles": { "type": "list", "member": { - "shape": "S1a" + "shape": "S1f" } }, "NextToken": {} @@ -600,7 +671,7 @@ "DirectoryName": {}, "RegistrationCode": {}, "SubnetIds": { - "shape": "S3x" + "shape": "S48" }, "DnsIpAddresses": { "type": "list", @@ -634,11 +705,11 @@ "shape": "S8" }, "WorkspaceAccessProperties": { - "shape": "S45" + "shape": "S4g" }, "Tenancy": {}, "SelfservicePermissions": { - "shape": "S48" + "shape": "S4j" } } } @@ -748,10 +819,10 @@ "type": "structure", "members": { "RebuildSnapshots": { - "shape": "S4s" + "shape": "S53" }, "RestoreSnapshots": { - "shape": "S4s" + "shape": "S53" } } } @@ -761,7 +832,7 @@ "type": "structure", "members": { "WorkspaceIds": { - "shape": "S4v" + "shape": "S56" }, "DirectoryId": {}, "UserName": {}, @@ -776,7 +847,7 @@ "type": "structure", "members": { "Workspaces": { - "shape": "S1u" + "shape": "S1z" }, "NextToken": {} } @@ -787,7 +858,7 @@ "type": "structure", "members": { "WorkspaceIds": { - "shape": "S4v" + "shape": "S56" }, "NextToken": {} } @@ -947,7 +1018,7 @@ "members": { "ResourceId": {}, "ClientProperties": { - "shape": "S2y" + "shape": "S35" } } }, @@ -966,7 +1037,7 @@ "members": { "ResourceId": {}, "SelfservicePermissions": { - "shape": "S48" + "shape": "S4j" } } }, @@ -985,7 +1056,7 @@ "members": { "ResourceId": {}, "WorkspaceAccessProperties": { - "shape": "S45" + "shape": "S4g" } } }, @@ -1039,7 +1110,7 @@ "members": { "WorkspaceId": {}, "WorkspaceProperties": { - "shape": "S1l" + "shape": "S1q" } } }, @@ -1092,7 +1163,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "S65" + "shape": "S6g" } } } @@ -1125,7 +1196,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "S65" + "shape": "S6g" } } } @@ -1141,7 +1212,7 @@ "members": { "DirectoryId": {}, "SubnetIds": { - "shape": "S3x" + "shape": "S48" }, "EnableWorkDocs": { "type": "boolean" @@ -1219,7 +1290,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "S65" + "shape": "S6g" } } } @@ -1249,7 +1320,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "S65" + "shape": "S6g" } } } @@ -1282,12 +1353,31 @@ "FailedRequests": { "type": "list", "member": { - "shape": "S65" + "shape": "S6g" } } } } }, + "UpdateConnectClientAddIn": { + "input": { + "type": "structure", + "required": [ + "AddInId", + "ResourceId" + ], + "members": { + "AddInId": {}, + "ResourceId": {}, + "Name": {}, + "URL": {} + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "UpdateConnectionAliasPermission": { "input": { "type": "structure", @@ -1298,7 +1388,7 @@ "members": { "AliasId": {}, "ConnectionAliasPermission": { - "shape": "S34" + "shape": "S3f" } } }, @@ -1389,25 +1479,25 @@ } } }, - "S15": { + "S1a": { "type": "structure", "members": { "Name": {} } }, - "S17": { + "S1c": { "type": "structure", "members": { "Capacity": {} } }, - "S18": { + "S1d": { "type": "structure", "members": { "Capacity": {} } }, - "S1a": { + "S1f": { "type": "structure", "members": { "BundleId": {}, @@ -1416,13 +1506,13 @@ "Description": {}, "ImageId": {}, "RootStorage": { - "shape": "S18" + "shape": "S1d" }, "UserStorage": { - "shape": "S17" + "shape": "S1c" }, "ComputeType": { - "shape": "S15" + "shape": "S1a" }, "LastUpdatedTime": { "type": "timestamp" @@ -1432,7 +1522,7 @@ } } }, - "S1h": { + "S1m": { "type": "structure", "required": [ "DirectoryId", @@ -1451,14 +1541,14 @@ "type": "boolean" }, "WorkspaceProperties": { - "shape": "S1l" + "shape": "S1q" }, "Tags": { "shape": "Sm" } } }, - "S1l": { + "S1q": { "type": "structure", "members": { "RunningMode": {}, @@ -1474,7 +1564,7 @@ "ComputeTypeName": {} } }, - "S1u": { + "S1z": { "type": "list", "member": { "type": "structure", @@ -1497,7 +1587,7 @@ "type": "boolean" }, "WorkspaceProperties": { - "shape": "S1l" + "shape": "S1q" }, "ModificationStates": { "type": "list", @@ -1512,13 +1602,13 @@ } } }, - "S2y": { + "S35": { "type": "structure", "members": { "ReconnectEnabled": {} } }, - "S34": { + "S3f": { "type": "structure", "required": [ "SharedAccountId", @@ -1531,11 +1621,11 @@ } } }, - "S3x": { + "S48": { "type": "list", "member": {} }, - "S45": { + "S4g": { "type": "structure", "members": { "DeviceTypeWindows": {}, @@ -1548,7 +1638,7 @@ "DeviceTypeLinux": {} } }, - "S48": { + "S4j": { "type": "structure", "members": { "RestartWorkspace": {}, @@ -1558,7 +1648,7 @@ "RebuildWorkspace": {} } }, - "S4s": { + "S53": { "type": "list", "member": { "type": "structure", @@ -1569,11 +1659,11 @@ } } }, - "S4v": { + "S56": { "type": "list", "member": {} }, - "S65": { + "S6g": { "type": "structure", "members": { "WorkspaceId": {}, diff --git a/node_modules/aws-sdk/clients/amplify.d.ts b/node_modules/aws-sdk/clients/amplify.d.ts index aee973d82..a09477318 100644 --- a/node_modules/aws-sdk/clients/amplify.d.ts +++ b/node_modules/aws-sdk/clients/amplify.d.ts @@ -373,7 +373,7 @@ declare namespace Amplify { */ enableBasicAuth: EnableBasicAuth; /** - * The basic authorization credentials for branches for the Amplify app. + * The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password. */ basicAuthCredentials?: BasicAuthCredentials; /** @@ -443,7 +443,7 @@ declare namespace Amplify { */ environmentVariables?: EnvironmentVariables; /** - * The basic authorization credentials for the autocreated branch. + * The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format user:password. */ basicAuthCredentials?: BasicAuthCredentials; /** @@ -575,7 +575,7 @@ declare namespace Amplify { */ thumbnailUrl?: ThumbnailUrl; /** - * The basic authorization credentials for a branch of an Amplify app. + * The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password. */ basicAuthCredentials?: BasicAuthCredentials; /** @@ -667,7 +667,7 @@ declare namespace Amplify { */ enableBasicAuth?: EnableBasicAuth; /** - * The credentials for basic authorization for an Amplify app. + * The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password. */ basicAuthCredentials?: BasicAuthCredentials; /** @@ -760,7 +760,7 @@ declare namespace Amplify { */ environmentVariables?: EnvironmentVariables; /** - * The basic authorization credentials for the branch. + * The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format user:password. */ basicAuthCredentials?: BasicAuthCredentials; /** @@ -1696,7 +1696,7 @@ declare namespace Amplify { */ enableBasicAuth?: EnableBasicAuth; /** - * The basic authorization credentials for an Amplify app. + * The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password. */ basicAuthCredentials?: BasicAuthCredentials; /** @@ -1776,7 +1776,7 @@ declare namespace Amplify { */ environmentVariables?: EnvironmentVariables; /** - * The basic authorization credentials for the branch. + * The basic authorization credentials for the branch. You must base64-encode the authorization credentials and provide them in the format user:password. */ basicAuthCredentials?: BasicAuthCredentials; /** diff --git a/node_modules/aws-sdk/clients/appconfig.d.ts b/node_modules/aws-sdk/clients/appconfig.d.ts index d60d619f5..585dce8de 100644 --- a/node_modules/aws-sdk/clients/appconfig.d.ts +++ b/node_modules/aws-sdk/clients/appconfig.d.ts @@ -20,11 +20,11 @@ declare class AppConfig extends Service { */ createApplication(callback?: (err: AWSError, data: AppConfig.Types.Application) => void): Request; /** - * Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide. + * Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web Services Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide. */ createConfigurationProfile(params: AppConfig.Types.CreateConfigurationProfileRequest, callback?: (err: AWSError, data: AppConfig.Types.ConfigurationProfile) => void): Request; /** - * Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide. + * Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information: The URI location of the configuration data. The Identity and Access Management (IAM) role that provides access to the configuration data. A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web Services Lambda function. For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide. */ createConfigurationProfile(callback?: (err: AWSError, data: AppConfig.Types.ConfigurationProfile) => void): Request; /** @@ -100,11 +100,11 @@ declare class AppConfig extends Service { */ getApplication(callback?: (err: AWSError, data: AppConfig.Types.Application) => void): Request; /** - * Retrieves information about a configuration. AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration. To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter. + * Retrieves the latest deployed configuration. Note the following important information. This API action has been deprecated. Calls to receive configuration data should use the StartConfigurationSession and GetLatestConfiguration APIs instead. GetConfiguration is a priced call. For more information, see Pricing. AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration. To avoid excess charges, we recommend you use the StartConfigurationSession and GetLatestConfiguration APIs, which track the client configuration version on your behalf. If you choose to continue using GetConfiguration, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. The value to use for ClientConfigurationVersion comes from the ConfigurationVersion attribute returned by GetConfiguration when there is new or updated data, and should be saved for subsequent calls to GetConfiguration. */ getConfiguration(params: AppConfig.Types.GetConfigurationRequest, callback?: (err: AWSError, data: AppConfig.Types.Configuration) => void): Request; /** - * Retrieves information about a configuration. AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration. To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter. + * Retrieves the latest deployed configuration. Note the following important information. This API action has been deprecated. Calls to receive configuration data should use the StartConfigurationSession and GetLatestConfiguration APIs instead. GetConfiguration is a priced call. For more information, see Pricing. AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration version on your clients. If you don’t send ClientConfigurationVersion with each call to GetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration. To avoid excess charges, we recommend you use the StartConfigurationSession and GetLatestConfiguration APIs, which track the client configuration version on your behalf. If you choose to continue using GetConfiguration, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. The value to use for ClientConfigurationVersion comes from the ConfigurationVersion attribute returned by GetConfiguration when there is new or updated data, and should be saved for subsequent calls to GetConfiguration. */ getConfiguration(callback?: (err: AWSError, data: AppConfig.Types.Configuration) => void): Request; /** @@ -172,11 +172,11 @@ declare class AppConfig extends Service { */ listDeploymentStrategies(callback?: (err: AWSError, data: AppConfig.Types.DeploymentStrategies) => void): Request; /** - * Lists the deployments for an environment. + * Lists the deployments for an environment in descending deployment number order. */ listDeployments(params: AppConfig.Types.ListDeploymentsRequest, callback?: (err: AWSError, data: AppConfig.Types.Deployments) => void): Request; /** - * Lists the deployments for an environment. + * Lists the deployments for an environment in descending deployment number order. */ listDeployments(callback?: (err: AWSError, data: AppConfig.Types.Deployments) => void): Request; /** @@ -306,7 +306,7 @@ declare namespace AppConfig { export type _Blob = Buffer|Uint8Array|Blob|string; export interface Configuration { /** - * The content of the configuration or the configuration data. Compare the configuration version numbers of the configuration cached locally on your machine and the configuration number in the the header. If the configuration numbers are the same, the content can be ignored. The Content section only appears if the system finds new or updated configuration data. If the system doesn't find new or updated configuration data, then the Content section is not returned. + * The content of the configuration or the configuration data. The Content attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and ClientConfigurationVersion matches the version of the current configuration, AppConfig returns a 204 No Content HTTP response code and the Content value will be empty. */ Content?: _Blob; /** @@ -348,7 +348,7 @@ declare namespace AppConfig { */ Validators?: ValidatorList; /** - * The type of configurations that the configuration profile contains. A configuration can be a feature flag used for enabling or disabling new features or a free-form configuration used for distributing configurations to your application. + * The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags AWS.Freeform */ Type?: ConfigurationProfileType; } @@ -374,7 +374,7 @@ declare namespace AppConfig { */ ValidatorTypes?: ValidatorTypeList; /** - * The type of configurations that the configuration profile contains. A configuration can be a feature flag used for enabling or disabling new features or a free-form configuration used to introduce changes to your application. + * The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags AWS.Freeform */ Type?: ConfigurationProfileType; } @@ -434,7 +434,7 @@ declare namespace AppConfig { */ Tags?: TagMap; /** - * The type of configurations that the configuration profile contains. A configuration can be a feature flag used for enabling or disabling new features or a free-form configuration used for distributing configurations to your application. + * The type of configurations contained in the profile. AppConfig supports feature flags and freeform configurations. We recommend you create feature flag configurations to enable or disable new features and freeform configurations to distribute configurations to an application. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags AWS.Freeform */ Type?: ConfigurationProfileType; } @@ -973,7 +973,7 @@ declare namespace AppConfig { */ NextToken?: NextToken; /** - * A filter based on the type of configurations that the configuration profile contains. A configuration can be a feature flag or a free-form configuration. + * A filter based on the type of configurations that the configuration profile contains. A configuration can be a feature flag or a freeform configuration. */ Type?: ConfigurationProfileType; } @@ -997,11 +997,11 @@ declare namespace AppConfig { */ EnvironmentId: Id; /** - * The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. + * The maximum number of items that may be returned for this call. If there are items that have not yet been returned, the response will include a non-null NextToken that you can provide in a subsequent call to get the next set of results. */ MaxResults?: MaxResults; /** - * A token to start the list. Use this token to get the next set of results. + * The token returned by a prior call to this operation indicating the next set of results to be returned. If not specified, the operation will return the first set of results. */ NextToken?: NextToken; } diff --git a/node_modules/aws-sdk/clients/appconfigdata.d.ts b/node_modules/aws-sdk/clients/appconfigdata.d.ts index 8ceb0d613..9ea547eb5 100644 --- a/node_modules/aws-sdk/clients/appconfigdata.d.ts +++ b/node_modules/aws-sdk/clients/appconfigdata.d.ts @@ -12,19 +12,19 @@ declare class AppConfigData extends Service { constructor(options?: AppConfigData.Types.ClientConfiguration) config: Config & AppConfigData.Types.ClientConfiguration; /** - * Retrieves the latest deployed configuration. This API may return empty Configuration data if the client already has the latest version. See StartConfigurationSession to obtain an InitialConfigurationToken to call this API. Each call to GetLatestConfiguration returns a new ConfigurationToken (NextPollConfigurationToken in the response). This new token MUST be provided to the next call to GetLatestConfiguration when polling for configuration updates. To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter. + * Retrieves the latest deployed configuration. This API may return empty configuration data if the client already has the latest version. For more information about this API action and to view example CLI commands that show how to use it with the StartConfigurationSession API action, see Receiving the configuration in the AppConfig User Guide. Note the following important information. Each configuration token is only valid for one call to GetLatestConfiguration. The GetLatestConfiguration response includes a NextPollConfigurationToken that should always replace the token used for the just-completed call in preparation for the next one. GetLatestConfiguration is a priced call. For more information, see Pricing. */ getLatestConfiguration(params: AppConfigData.Types.GetLatestConfigurationRequest, callback?: (err: AWSError, data: AppConfigData.Types.GetLatestConfigurationResponse) => void): Request; /** - * Retrieves the latest deployed configuration. This API may return empty Configuration data if the client already has the latest version. See StartConfigurationSession to obtain an InitialConfigurationToken to call this API. Each call to GetLatestConfiguration returns a new ConfigurationToken (NextPollConfigurationToken in the response). This new token MUST be provided to the next call to GetLatestConfiguration when polling for configuration updates. To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter. + * Retrieves the latest deployed configuration. This API may return empty configuration data if the client already has the latest version. For more information about this API action and to view example CLI commands that show how to use it with the StartConfigurationSession API action, see Receiving the configuration in the AppConfig User Guide. Note the following important information. Each configuration token is only valid for one call to GetLatestConfiguration. The GetLatestConfiguration response includes a NextPollConfigurationToken that should always replace the token used for the just-completed call in preparation for the next one. GetLatestConfiguration is a priced call. For more information, see Pricing. */ getLatestConfiguration(callback?: (err: AWSError, data: AppConfigData.Types.GetLatestConfigurationResponse) => void): Request; /** - * Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details. + * Starts a configuration session used to retrieve a deployed configuration. For more information about this API action and to view example CLI commands that show how to use it with the GetLatestConfiguration API action, see Receiving the configuration in the AppConfig User Guide. */ startConfigurationSession(params: AppConfigData.Types.StartConfigurationSessionRequest, callback?: (err: AWSError, data: AppConfigData.Types.StartConfigurationSessionResponse) => void): Request; /** - * Starts a configuration session used to retrieve a deployed configuration. See the GetLatestConfiguration API for more details. + * Starts a configuration session used to retrieve a deployed configuration. For more information about this API action and to view example CLI commands that show how to use it with the GetLatestConfiguration API action, see Receiving the configuration in the AppConfig User Guide. */ startConfigurationSession(callback?: (err: AWSError, data: AppConfigData.Types.StartConfigurationSessionResponse) => void): Request; } @@ -37,21 +37,21 @@ declare namespace AppConfigData { } export interface GetLatestConfigurationResponse { /** - * The data of the configuration. Note that this may be empty if the client already has the latest version of configuration. + * The latest token describing the current state of the configuration session. This MUST be provided to the next call to GetLatestConfiguration. */ - Configuration?: SyntheticGetLatestConfigurationResponseBlob; + NextPollConfigurationToken?: Token; /** - * A standard MIME type describing the format of the configuration content. + * The amount of time the client should wait before polling for configuration updates again. Use RequiredMinimumPollIntervalInSeconds to set the desired poll interval. */ - ContentType?: String; + NextPollIntervalInSeconds?: Integer; /** - * The latest token describing the current state of the configuration session. This MUST be provided to the next call to GetLatestConfiguration. + * A standard MIME type describing the format of the configuration content. */ - NextPollConfigurationToken?: Token; + ContentType?: String; /** - * The amount of time the client should wait before polling for configuration updates again. See RequiredMinimumPollIntervalInSeconds to set the desired poll interval. + * The data of the configuration. This may be empty if the client already has the latest version of configuration. */ - NextPollIntervalInSeconds?: Integer; + Configuration?: SyntheticGetLatestConfigurationResponseBlob; } export type Identifier = string; export type Integer = number; @@ -61,22 +61,22 @@ declare namespace AppConfigData { * The application ID or the application name. */ ApplicationIdentifier: Identifier; - /** - * The configuration profile ID or the configuration profile name. - */ - ConfigurationProfileIdentifier: Identifier; /** * The environment ID or the environment name. */ EnvironmentIdentifier: Identifier; /** - * The interval at which your client will poll for configuration. If provided, the service will throw a BadRequestException if the client polls before the specified poll interval. By default, client poll intervals are not enforced. + * The configuration profile ID or the configuration profile name. + */ + ConfigurationProfileIdentifier: Identifier; + /** + * Sets a constraint on a session. If you specify a value of, for example, 60 seconds, then the client that established the session can't call GetLatestConfiguration more frequently then every 60 seconds. */ RequiredMinimumPollIntervalInSeconds?: OptionalPollSeconds; } export interface StartConfigurationSessionResponse { /** - * Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data. This token should only be used once in your first call to GetLatestConfiguration. You MUST use the new token in the GetConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration. + * Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data. This token should only be used once in your first call to GetLatestConfiguration. You MUST use the new token in the GetLatestConfiguration response (NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration. */ InitialConfigurationToken?: Token; } diff --git a/node_modules/aws-sdk/clients/appflow.d.ts b/node_modules/aws-sdk/clients/appflow.d.ts index 53b3b3b4e..80190af4f 100644 --- a/node_modules/aws-sdk/clients/appflow.d.ts +++ b/node_modules/aws-sdk/clients/appflow.d.ts @@ -43,6 +43,14 @@ declare class Appflow extends Service { * Enables your application to delete an existing flow. Before deleting the flow, Amazon AppFlow validates the request by checking the flow configuration and status. You can delete flows one at a time. */ deleteFlow(callback?: (err: AWSError, data: Appflow.Types.DeleteFlowResponse) => void): Request; + /** + * Describes the given custom connector registered in your Amazon Web Services account. This API can be used for custom connectors that are registered in your account and also for Amazon authored connectors. + */ + describeConnector(params: Appflow.Types.DescribeConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorResponse) => void): Request; + /** + * Describes the given custom connector registered in your Amazon Web Services account. This API can be used for custom connectors that are registered in your account and also for Amazon authored connectors. + */ + describeConnector(callback?: (err: AWSError, data: Appflow.Types.DescribeConnectorResponse) => void): Request; /** * Provides details regarding the entity used with the connector, with a description of the data model for each entity. */ @@ -91,6 +99,14 @@ declare class Appflow extends Service { * Returns the list of available connector entities supported by Amazon AppFlow. For example, you can query Salesforce for Account and Opportunity entities, or query ServiceNow for the Incident entity. */ listConnectorEntities(callback?: (err: AWSError, data: Appflow.Types.ListConnectorEntitiesResponse) => void): Request; + /** + * Returns the list of all registered custom connectors in your Amazon Web Services account. This API lists only custom connectors registered in this account, not the Amazon Web Services authored connectors. + */ + listConnectors(params: Appflow.Types.ListConnectorsRequest, callback?: (err: AWSError, data: Appflow.Types.ListConnectorsResponse) => void): Request; + /** + * Returns the list of all registered custom connectors in your Amazon Web Services account. This API lists only custom connectors registered in this account, not the Amazon Web Services authored connectors. + */ + listConnectors(callback?: (err: AWSError, data: Appflow.Types.ListConnectorsResponse) => void): Request; /** * Lists all of the flows associated with your account. */ @@ -107,6 +123,14 @@ declare class Appflow extends Service { * Retrieves the tags that are associated with a specified flow. */ listTagsForResource(callback?: (err: AWSError, data: Appflow.Types.ListTagsForResourceResponse) => void): Request; + /** + * Registers a new connector with your Amazon Web Services account. Before you can register the connector, you must deploy lambda in your account. + */ + registerConnector(params: Appflow.Types.RegisterConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.RegisterConnectorResponse) => void): Request; + /** + * Registers a new connector with your Amazon Web Services account. Before you can register the connector, you must deploy lambda in your account. + */ + registerConnector(callback?: (err: AWSError, data: Appflow.Types.RegisterConnectorResponse) => void): Request; /** * Activates an existing flow. For on-demand flows, this operation runs the flow immediately. For schedule and event-triggered flows, this operation activates the flow. */ @@ -131,6 +155,14 @@ declare class Appflow extends Service { * Applies a tag to the specified flow. */ tagResource(callback?: (err: AWSError, data: Appflow.Types.TagResourceResponse) => void): Request; + /** + * Unregisters the custom connector registered in your account that matches the connectorLabel provided in the request. + */ + unregisterConnector(params: Appflow.Types.UnregisterConnectorRequest, callback?: (err: AWSError, data: Appflow.Types.UnregisterConnectorResponse) => void): Request; + /** + * Unregisters the custom connector registered in your account that matches the connectorLabel provided in the request. + */ + unregisterConnector(callback?: (err: AWSError, data: Appflow.Types.UnregisterConnectorResponse) => void): Request; /** * Removes a tag from the specified flow. */ @@ -190,13 +222,80 @@ declare namespace Appflow { object: Object; } export type ApiKey = string; + export interface ApiKeyCredentials { + /** + * The API key required for API key authentication. + */ + apiKey: ApiKey; + /** + * The API secret key required for API key authentication. + */ + apiSecretKey?: ApiSecretKey; + } export type ApiSecretKey = string; export type ApiToken = string; + export type ApiVersion = string; export type ApplicationHostUrl = string; export type ApplicationKey = string; export type ApplicationServicePath = string; + export type ApplicationType = string; export type AuthCode = string; export type AuthCodeUrl = string; + export type AuthCodeUrlList = AuthCodeUrl[]; + export interface AuthParameter { + /** + * The authentication key required to authenticate with the connector. + */ + key?: Key; + /** + * Indicates whether this authentication parameter is required. + */ + isRequired?: Boolean; + /** + * Label used for authentication parameter. + */ + label?: Label; + /** + * A description about the authentication parameter. + */ + description?: Description; + /** + * Indicates whether this authentication parameter is a sensitive field. + */ + isSensitiveField?: Boolean; + /** + * Contains default values for this authentication parameter that are supplied by the connector. + */ + connectorSuppliedValues?: ConnectorSuppliedValueList; + } + export type AuthParameterList = AuthParameter[]; + export interface AuthenticationConfig { + /** + * Indicates whether basic authentication is supported by the connector. + */ + isBasicAuthSupported?: Boolean; + /** + * Indicates whether API key authentication is supported by the connector + */ + isApiKeyAuthSupported?: Boolean; + /** + * Indicates whether OAuth 2.0 authentication is supported by the connector. + */ + isOAuth2Supported?: Boolean; + /** + * Indicates whether custom authentication is supported by the connector + */ + isCustomAuthSupported?: Boolean; + /** + * Contains the default values required for OAuth 2.0 authentication. + */ + oAuth2Defaults?: OAuth2Defaults; + /** + * Contains information required for custom authentication. + */ + customAuthConfigs?: CustomAuthConfigList; + } + export type AuthenticationType = "OAUTH2"|"APIKEY"|"BASIC"|"CUSTOM"|string; export interface BasicAuthCredentials { /** * The username to use to connect to a resource. @@ -248,8 +347,127 @@ declare namespace Appflow { * Specifies connector-specific metadata such as oAuthScopes, supportedRegions, privateLinkServiceUrl, and so on. */ connectorMetadata?: ConnectorMetadata; + /** + * The connector type. + */ + connectorType?: ConnectorType; + /** + * The label used for registering the connector. + */ + connectorLabel?: ConnectorLabel; + /** + * A description about the connector. + */ + connectorDescription?: ConnectorDescription; + /** + * The owner who developed the connector. + */ + connectorOwner?: ConnectorOwner; + /** + * The connector name. + */ + connectorName?: ConnectorName; + /** + * The connector version. + */ + connectorVersion?: ConnectorVersion; + /** + * The Amazon Resource Name (ARN) for the registered connector. + */ + connectorArn?: ARN; + /** + * The connection modes that the connector supports. + */ + connectorModes?: ConnectorModeList; + /** + * The authentication config required for the connector. + */ + authenticationConfig?: AuthenticationConfig; + /** + * The required connector runtime settings. + */ + connectorRuntimeSettings?: ConnectorRuntimeSettingList; + /** + * A list of API versions that are supported by the connector. + */ + supportedApiVersions?: SupportedApiVersionList; + /** + * A list of operators supported by the connector. + */ + supportedOperators?: SupportedOperatorList; + /** + * A list of write operations supported by the connector. + */ + supportedWriteOperations?: SupportedWriteOperationList; + /** + * The provisioning type used to register the connector. + */ + connectorProvisioningType?: ConnectorProvisioningType; + /** + * The configuration required for registering the connector. + */ + connectorProvisioningConfig?: ConnectorProvisioningConfig; + /** + * Logo URL of the connector. + */ + logoURL?: LogoURL; + /** + * The date on which the connector was registered. + */ + registeredAt?: _Date; + /** + * Information about who registered the connector. + */ + registeredBy?: RegisteredBy; } export type ConnectorConfigurationsMap = {[key: string]: ConnectorConfiguration}; + export type ConnectorDescription = string; + export interface ConnectorDetail { + /** + * A description about the registered connector. + */ + connectorDescription?: ConnectorDescription; + /** + * The name of the connector. + */ + connectorName?: ConnectorName; + /** + * The owner of the connector. + */ + connectorOwner?: ConnectorOwner; + /** + * The connector version. + */ + connectorVersion?: ConnectorVersion; + /** + * The application type of the connector. + */ + applicationType?: ApplicationType; + /** + * The connector type. + */ + connectorType?: ConnectorType; + /** + * A label used for the connector. + */ + connectorLabel?: ConnectorLabel; + /** + * The time at which the connector was registered. + */ + registeredAt?: _Date; + /** + * The user who registered the connector. + */ + registeredBy?: RegisteredBy; + /** + * The provisioning type that the connector uses. + */ + connectorProvisioningType?: ConnectorProvisioningType; + /** + * The connection mode that the connector supports. + */ + connectorModes?: ConnectorModeList; + } export interface ConnectorEntity { /** * The name of the connector entity. @@ -269,10 +487,26 @@ declare namespace Appflow { * The unique identifier of the connector field. */ identifier: Identifier; + /** + * The parent identifier of the connector field. + */ + parentIdentifier?: Identifier; /** * The label applied to a connector entity field. */ label?: Label; + /** + * Booelan value that indicates whether this field can be used as a primary key. + */ + isPrimaryKey?: Boolean; + /** + * Default value that can be assigned to this field. + */ + defaultValue?: String; + /** + * Booelan value that indicates whether this field is deprecated or not. + */ + isDeprecated?: Boolean; /** * Contains details regarding the supported FieldType, including the corresponding filterOperators and supportedValues. */ @@ -289,10 +523,16 @@ declare namespace Appflow { * The properties applied to a field when the connector is being used as a destination. */ destinationProperties?: DestinationFieldProperties; + /** + * A map that has specific properties related to the ConnectorEntityField. + */ + customProperties?: CustomProperties; } export type ConnectorEntityFieldList = ConnectorEntityField[]; export type ConnectorEntityList = ConnectorEntity[]; export type ConnectorEntityMap = {[key: string]: ConnectorEntityList}; + export type ConnectorLabel = string; + export type ConnectorList = ConnectorDetail[]; export interface ConnectorMetadata { /** * The connector metadata specific to Amplitude. @@ -376,6 +616,9 @@ declare namespace Appflow { Honeycode?: HoneycodeMetadata; SAPOData?: SAPODataMetadata; } + export type ConnectorMode = string; + export type ConnectorModeList = ConnectorMode[]; + export type ConnectorName = string; export interface ConnectorOAuthRequest { /** * The code provided by the connector when it has been authenticated via the connected app. @@ -447,7 +690,12 @@ declare namespace Appflow { * The operation to be performed on the provided SAPOData source fields. */ SAPOData?: SAPODataConnectorOperator; + /** + * Operators supported by the custom connector. + */ + CustomConnector?: Operator; } + export type ConnectorOwner = string; export interface ConnectorProfile { /** * The Amazon Resource Name (ARN) of the connector profile. @@ -461,6 +709,10 @@ declare namespace Appflow { * The type of connector, such as Salesforce, Amplitude, and so on. */ connectorType?: ConnectorType; + /** + * The label for the connector profile being created. + */ + connectorLabel?: ConnectorLabel; /** * Indicates the connection mode and if it is public or private. */ @@ -563,6 +815,7 @@ declare namespace Appflow { */ Zendesk?: ZendeskConnectorProfileCredentials; SAPOData?: SAPODataConnectorProfileCredentials; + CustomConnector?: CustomConnectorProfileCredentials; } export type ConnectorProfileDetailList = ConnectorProfile[]; export type ConnectorProfileName = string; @@ -633,9 +886,57 @@ declare namespace Appflow { */ Zendesk?: ZendeskConnectorProfileProperties; SAPOData?: SAPODataConnectorProfileProperties; + /** + * The properties required by the custom connector. + */ + CustomConnector?: CustomConnectorProfileProperties; + } + export interface ConnectorProvisioningConfig { + /** + * Contains information about the configuration of the lambda which is being registered as the connector. + */ + lambda?: LambdaConnectorProvisioningConfig; + } + export type ConnectorProvisioningType = "LAMBDA"|string; + export interface ConnectorRuntimeSetting { + /** + * Contains value information about the connector runtime setting. + */ + key?: Key; + /** + * Data type of the connector runtime setting. + */ + dataType?: ConnectorRuntimeSettingDataType; + /** + * Indicates whether this connector runtime setting is required. + */ + isRequired?: Boolean; + /** + * A label used for connector runtime setting. + */ + label?: Label; + /** + * A description about the connector runtime setting. + */ + description?: Description; + /** + * Indicates the scope of the connector runtime setting. + */ + scope?: ConnectorRuntimeSettingScope; + /** + * Contains default values for the connector runtime setting that are supplied by the connector. + */ + connectorSuppliedValueOptions?: ConnectorSuppliedValueOptionList; } - export type ConnectorType = "Salesforce"|"Singular"|"Slack"|"Redshift"|"S3"|"Marketo"|"Googleanalytics"|"Zendesk"|"Servicenow"|"Datadog"|"Trendmicro"|"Snowflake"|"Dynatrace"|"Infornexus"|"Amplitude"|"Veeva"|"EventBridge"|"LookoutMetrics"|"Upsolver"|"Honeycode"|"CustomerProfiles"|"SAPOData"|string; + export type ConnectorRuntimeSettingDataType = string; + export type ConnectorRuntimeSettingList = ConnectorRuntimeSetting[]; + export type ConnectorRuntimeSettingScope = string; + export type ConnectorSuppliedValue = string; + export type ConnectorSuppliedValueList = ConnectorSuppliedValue[]; + export type ConnectorSuppliedValueOptionList = ConnectorSuppliedValue[]; + export type ConnectorType = "Salesforce"|"Singular"|"Slack"|"Redshift"|"S3"|"Marketo"|"Googleanalytics"|"Zendesk"|"Servicenow"|"Datadog"|"Trendmicro"|"Snowflake"|"Dynatrace"|"Infornexus"|"Amplitude"|"Veeva"|"EventBridge"|"LookoutMetrics"|"Upsolver"|"Honeycode"|"CustomerProfiles"|"SAPOData"|"CustomConnector"|string; export type ConnectorTypeList = ConnectorType[]; + export type ConnectorVersion = string; export interface CreateConnectorProfileRequest { /** * The name of the connector profile. The name is unique for each ConnectorProfile in your Amazon Web Services account. @@ -649,6 +950,10 @@ declare namespace Appflow { * The type of connector, such as Salesforce, Amplitude, and so on. */ connectorType: ConnectorType; + /** + * The label of the connector. The label is unique for each ConnectorRegistration in your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector type/. + */ + connectorLabel?: ConnectorLabel; /** * Indicates the connection mode and specifies whether it is public or private. Private flows use Amazon Web Services PrivateLink to route data over Amazon Web Services infrastructure without exposing it to the public internet. */ @@ -709,6 +1014,95 @@ declare namespace Appflow { flowStatus?: FlowStatus; } export type CreatedBy = string; + export type CredentialsMap = {[key: string]: CredentialsMapValue}; + export type CredentialsMapKey = string; + export type CredentialsMapValue = string; + export interface CustomAuthConfig { + /** + * The authentication type that the custom connector uses. + */ + customAuthenticationType?: CustomAuthenticationType; + /** + * Information about authentication parameters required for authentication. + */ + authParameters?: AuthParameterList; + } + export type CustomAuthConfigList = CustomAuthConfig[]; + export interface CustomAuthCredentials { + /** + * The custom authentication type that the connector uses. + */ + customAuthenticationType: CustomAuthenticationType; + /** + * A map that holds custom authentication credentials. + */ + credentialsMap?: CredentialsMap; + } + export type CustomAuthenticationType = string; + export interface CustomConnectorDestinationProperties { + /** + * The entity specified in the custom connector as a destination in the flow. + */ + entityName: EntityName; + /** + * The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination. + */ + errorHandlingConfig?: ErrorHandlingConfig; + /** + * Specifies the type of write operation to be performed in the custom connector when it's used as destination. + */ + writeOperationType?: WriteOperationType; + /** + * The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert. + */ + idFieldNames?: IdFieldNameList; + /** + * The custom properties that are specific to the connector when it's used as a destination in the flow. + */ + customProperties?: CustomProperties; + } + export interface CustomConnectorProfileCredentials { + /** + * The authentication type that the custom connector uses for authenticating while creating a connector profile. + */ + authenticationType: AuthenticationType; + /** + * The basic credentials that are required for the authentication of the user. + */ + basic?: BasicAuthCredentials; + /** + * The OAuth 2.0 credentials required for the authentication of the user. + */ + oauth2?: OAuth2Credentials; + /** + * The API keys required for the authentication of the user. + */ + apiKey?: ApiKeyCredentials; + /** + * If the connector uses the custom authentication mechanism, this holds the required credentials. + */ + custom?: CustomAuthCredentials; + } + export interface CustomConnectorProfileProperties { + /** + * A map of properties that are required to create a profile for the custom connector. + */ + profileProperties?: ProfilePropertiesMap; + oAuth2Properties?: OAuth2Properties; + } + export interface CustomConnectorSourceProperties { + /** + * The entity specified in the custom connector as a source in the flow. + */ + entityName: EntityName; + /** + * Custom properties that are required to use the custom connector as a source. + */ + customProperties?: CustomProperties; + } + export type CustomProperties = {[key: string]: CustomPropertyValue}; + export type CustomPropertyKey = string; + export type CustomPropertyValue = string; export interface CustomerProfilesDestinationProperties { /** * The unique name of the Amazon Connect Customer Profiles domain. @@ -778,7 +1172,7 @@ declare namespace Appflow { /** * The entity name for that connector. */ - connectorEntityName: Name; + connectorEntityName: EntityName; /** * The type of connector application, such as Salesforce, Amplitude, and so on. */ @@ -787,6 +1181,10 @@ declare namespace Appflow { * The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account. */ connectorProfileName?: ConnectorProfileName; + /** + * The version of the API that's used by the connector. + */ + apiVersion?: ApiVersion; } export interface DescribeConnectorEntityResponse { /** @@ -803,6 +1201,10 @@ declare namespace Appflow { * The type of connector, such as Salesforce, Amplitude, and so on. */ connectorType?: ConnectorType; + /** + * The name of the connector. The name is unique for each ConnectorRegistration in your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector type/. + */ + connectorLabel?: ConnectorLabel; /** * Specifies the maximum number of items that should be returned in the result set. The default for maxResults is 20 (for all paginated API operations). */ @@ -822,11 +1224,31 @@ declare namespace Appflow { */ nextToken?: NextToken; } + export interface DescribeConnectorRequest { + /** + * The connector type, such as CUSTOMCONNECTOR, Saleforce, Marketo. Please choose CUSTOMCONNECTOR for Lambda based custom connectors. + */ + connectorType: ConnectorType; + /** + * The label of the connector. The label is unique for each ConnectorRegistration in your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector type/. + */ + connectorLabel?: ConnectorLabel; + } + export interface DescribeConnectorResponse { + /** + * Configuration info of all the connectors that the user requested. + */ + connectorConfiguration?: ConnectorConfiguration; + } export interface DescribeConnectorsRequest { /** * The type of connector, such as Salesforce, Amplitude, and so on. */ connectorTypes?: ConnectorTypeList; + /** + * The maximum number of items that should be returned in the result set. The default is 20. + */ + maxResults?: MaxResults; /** * The pagination token for the next page of data. */ @@ -837,6 +1259,10 @@ declare namespace Appflow { * The configuration that is applied to the connectors used in the flow. */ connectorConfigurations?: ConnectorConfigurationsMap; + /** + * Information about the connectors supported in Amazon AppFlow. + */ + connectors?: ConnectorList; /** * The pagination token for the next page of data. */ @@ -980,6 +1406,14 @@ declare namespace Appflow { * The properties required to query Zendesk. */ Zendesk?: ZendeskDestinationProperties; + /** + * The properties that are required to query the custom Connector. + */ + CustomConnector?: CustomConnectorDestinationProperties; + /** + * The properties required to query SAPOData. + */ + SAPOData?: SAPODataDestinationProperties; } export type DestinationField = string; export interface DestinationFieldProperties { @@ -999,6 +1433,10 @@ declare namespace Appflow { * Specifies whether the field can be updated during an UPDATE or UPSERT write operation. */ isUpdatable?: Boolean; + /** + * Specifies whether the field can use the default value during a Create operation. + */ + isDefaultedOnCreate?: Boolean; /** * A list of supported write operations. For each write operation listed, this field can be used in idFieldNames when that write operation is present as a destination option. */ @@ -1009,6 +1447,10 @@ declare namespace Appflow { * The type of connector, such as Salesforce, Amplitude, and so on. */ connectorType: ConnectorType; + /** + * The API version that the destination connector uses. + */ + apiVersion?: ApiVersion; /** * The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account. */ @@ -1021,6 +1463,7 @@ declare namespace Appflow { export type DestinationFlowConfigList = DestinationFlowConfig[]; export type DocumentType = string; export type DomainName = string; + export type Double = number; export type DynatraceConnectorOperator = "PROJECTION"|"BETWEEN"|"EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string; export interface DynatraceConnectorProfileCredentials { /** @@ -1043,6 +1486,7 @@ declare namespace Appflow { object: Object; } export type EntitiesPath = string; + export type EntityName = string; export interface ErrorHandlingConfig { /** * Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination. @@ -1155,6 +1599,22 @@ declare namespace Appflow { * The list of values that a field can contain. For example, a Boolean fieldType can have two values: "true" and "false". */ supportedValues?: SupportedValueList; + /** + * The regular expression pattern for the field name. + */ + valueRegexPattern?: String; + /** + * The date format that the field supports. + */ + supportedDateFormat?: String; + /** + * The range of values this field can hold. + */ + fieldValueRange?: Range; + /** + * This is the allowable length range for this field's value. + */ + fieldLengthRange?: Range; } export type FileType = "CSV"|"JSON"|"PARQUET"|string; export type FilterOperatorList = Operator[]; @@ -1180,10 +1640,18 @@ declare namespace Appflow { * Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on. */ sourceConnectorType?: ConnectorType; + /** + * The label of the source connector in the flow. + */ + sourceConnectorLabel?: ConnectorLabel; /** * Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on. */ destinationConnectorType?: ConnectorType; + /** + * The label of the destination connector in the flow. + */ + destinationConnectorLabel?: ConnectorLabel; /** * Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event. */ @@ -1328,6 +1796,12 @@ declare namespace Appflow { export type KMSArn = string; export type Key = string; export type Label = string; + export interface LambdaConnectorProvisioningConfig { + /** + * Lambda ARN of the connector being registered. + */ + lambdaArn: ARN; + } export interface ListConnectorEntitiesRequest { /** * The name of the connector profile. The name is unique for each ConnectorProfile in the Amazon Web Services account, and is used to query the downstream connector. @@ -1341,6 +1815,10 @@ declare namespace Appflow { * This optional parameter is specific to connector implementation. Some connectors support multiple levels or categories of entities. You can find out the list of roots for such providers by sending a request without the entitiesPath parameter. If the connector supports entities at different roots, this initial request returns the list of roots. Otherwise, this request returns all entities supported by the provider. */ entitiesPath?: EntitiesPath; + /** + * The version of the API that's used by the connector. + */ + apiVersion?: ApiVersion; } export interface ListConnectorEntitiesResponse { /** @@ -1348,6 +1826,26 @@ declare namespace Appflow { */ connectorEntityMap: ConnectorEntityMap; } + export interface ListConnectorsRequest { + /** + * Specifies the maximum number of items that should be returned in the result set. The default for maxResults is 20 (for all paginated API operations). + */ + maxResults?: MaxResults; + /** + * The pagination token for the next page of data. + */ + nextToken?: NextToken; + } + export interface ListConnectorsResponse { + /** + * Contains information about the connectors supported by Amazon AppFlow. + */ + connectors?: ConnectorList; + /** + * The pagination token for the next page of data. If nextToken=null, this means that all records have been fetched. + */ + nextToken?: NextToken; + } export interface ListFlowsRequest { /** * Specifies the maximum number of items that should be returned in the result set. @@ -1380,6 +1878,7 @@ declare namespace Appflow { */ tags?: TagMap; } + export type LogoURL = string; export type LogonLanguage = string; export type Long = number; export interface LookoutMetricsDestinationProperties { @@ -1421,6 +1920,55 @@ declare namespace Appflow { export type MostRecentExecutionMessage = string; export type Name = string; export type NextToken = string; + export interface OAuth2Credentials { + /** + * The identifier for the desired client. + */ + clientId?: ClientId; + /** + * The client secret used by the OAuth client to authenticate to the authorization server. + */ + clientSecret?: ClientSecret; + /** + * The access token used to access the connector on your behalf. + */ + accessToken?: AccessToken; + /** + * The refresh token used to refresh an expired access token. + */ + refreshToken?: RefreshToken; + oAuthRequest?: ConnectorOAuthRequest; + } + export interface OAuth2Defaults { + /** + * OAuth 2.0 scopes that the connector supports. + */ + oauthScopes?: OAuthScopeList; + /** + * Token URLs that can be used for OAuth 2.0 authentication. + */ + tokenUrls?: TokenUrlList; + /** + * Auth code URLs that can be used for OAuth 2.0 authentication. + */ + authCodeUrls?: AuthCodeUrlList; + /** + * OAuth 2.0 grant types supported by the connector. + */ + oauth2GrantTypesSupported?: OAuth2GrantTypeSupportedList; + } + export type OAuth2GrantType = "CLIENT_CREDENTIALS"|"AUTHORIZATION_CODE"|string; + export type OAuth2GrantTypeSupportedList = OAuth2GrantType[]; + export interface OAuth2Properties { + /** + * The token URL required for OAuth 2.0 authentication. + */ + tokenUrl: TokenUrl; + /** + * The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication. + */ + oAuth2GrantType: OAuth2GrantType; + } export interface OAuthCredentials { /** * The identifier for the desired client. @@ -1463,6 +2011,7 @@ declare namespace Appflow { export type ObjectTypeName = string; export type Operator = "PROJECTION"|"LESS_THAN"|"GREATER_THAN"|"CONTAINS"|"BETWEEN"|"LESS_THAN_OR_EQUAL_TO"|"GREATER_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"NOT_EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string; export type OperatorPropertiesKeys = "VALUE"|"VALUES"|"DATA_TYPE"|"UPPER_BOUND"|"LOWER_BOUND"|"SOURCE_DATA_TYPE"|"DESTINATION_DATA_TYPE"|"VALIDATION_ACTION"|"MASK_VALUE"|"MASK_LENGTH"|"TRUNCATE_LENGTH"|"MATH_OPERATION_FIELDS_ORDER"|"CONCAT_FORMAT"|"SUBFIELD_CATEGORY_MAP"|"EXCLUDE_SOURCE_FIELDS_LIST"|string; + export type Operators = "PROJECTION"|"LESS_THAN"|"GREATER_THAN"|"CONTAINS"|"BETWEEN"|"LESS_THAN_OR_EQUAL_TO"|"GREATER_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"NOT_EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string; export type Password = string; export type PortNumber = number; export interface PrefixConfig { @@ -1495,7 +2044,20 @@ declare namespace Appflow { } export type PrivateConnectionProvisioningStatus = "FAILED"|"PENDING"|"CREATED"|string; export type PrivateLinkServiceName = string; + export type ProfilePropertiesMap = {[key: string]: ProfilePropertyValue}; + export type ProfilePropertyKey = string; + export type ProfilePropertyValue = string; export type Property = string; + export interface Range { + /** + * Maximum value supported by the field. + */ + maximum?: Double; + /** + * Minimum value supported by the field. + */ + minimum?: Double; + } export type RedirectUri = string; export interface RedshiftConnectorProfileCredentials { /** @@ -1548,6 +2110,31 @@ declare namespace Appflow { export type RefreshToken = string; export type Region = string; export type RegionList = Region[]; + export interface RegisterConnectorRequest { + /** + * The name of the connector. The name is unique for each ConnectorRegistration in your Amazon Web Services account. + */ + connectorLabel?: ConnectorLabel; + /** + * A description about the connector that's being registered. + */ + description?: Description; + /** + * The provisioning type of the connector. Currently the only supported value is LAMBDA. + */ + connectorProvisioningType?: ConnectorProvisioningType; + /** + * The provisioning type of the connector. Currently the only supported value is LAMBDA. + */ + connectorProvisioningConfig?: ConnectorProvisioningConfig; + } + export interface RegisterConnectorResponse { + /** + * The ARN of the connector being registered. + */ + connectorArn?: ARN; + } + export type RegisteredBy = string; export type RoleArn = string; export type S3ConnectorOperator = "PROJECTION"|"LESS_THAN"|"GREATER_THAN"|"BETWEEN"|"LESS_THAN_OR_EQUAL_TO"|"GREATER_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"NOT_EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string; export interface S3DestinationProperties { @@ -1633,6 +2220,19 @@ declare namespace Appflow { */ oAuthProperties?: OAuthProperties; } + export interface SAPODataDestinationProperties { + /** + * The object path specified in the SAPOData flow destination. + */ + objectPath: Object; + /** + * Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data. For example, this setting would determine where to write the response from a destination connector upon a successful insert operation. + */ + successResponseHandlingConfig?: SuccessResponseHandlingConfig; + idFieldNames?: IdFieldNameList; + errorHandlingConfig?: ErrorHandlingConfig; + writeOperationType?: WriteOperationType; + } export interface SAPODataMetadata { } export interface SAPODataSourceProperties { @@ -1944,6 +2544,7 @@ declare namespace Appflow { */ Zendesk?: ZendeskSourceProperties; SAPOData?: SAPODataSourceProperties; + CustomConnector?: CustomConnectorSourceProperties; } export interface SourceFieldProperties { /** @@ -1954,6 +2555,10 @@ declare namespace Appflow { * Indicates if the field can be queried. */ isQueryable?: Boolean; + /** + * Indicates if this timestamp field can be used for incremental queries. + */ + isTimestampFieldForIncrementalQueries?: Boolean; } export type SourceFields = String[]; export interface SourceFlowConfig { @@ -1961,6 +2566,10 @@ declare namespace Appflow { * The type of connector, such as Salesforce, Amplitude, and so on. */ connectorType: ConnectorType; + /** + * The API version of the connector when it's used as a source in the flow. + */ + apiVersion?: ApiVersion; /** * The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account. */ @@ -2012,12 +2621,25 @@ declare namespace Appflow { flowStatus?: FlowStatus; } export type String = string; + export interface SuccessResponseHandlingConfig { + /** + * The Amazon S3 bucket prefix. + */ + bucketPrefix?: BucketPrefix; + /** + * The name of the Amazon S3 bucket. + */ + bucketName?: BucketName; + } + export type SupportedApiVersion = string; + export type SupportedApiVersionList = SupportedApiVersion[]; export interface SupportedFieldTypeDetails { /** * The initial supported version for fieldType. If this is later changed to a different version, v2 will be introduced. */ v1: FieldTypeDetails; } + export type SupportedOperatorList = Operators[]; export type SupportedValueList = Value[]; export type SupportedWriteOperationList = WriteOperationType[]; export type TagKey = string; @@ -2059,10 +2681,11 @@ declare namespace Appflow { taskProperties?: TaskPropertiesMap; } export type TaskPropertiesMap = {[key: string]: Property}; - export type TaskType = "Arithmetic"|"Filter"|"Map"|"Map_all"|"Mask"|"Merge"|"Truncate"|"Validate"|string; + export type TaskType = "Arithmetic"|"Filter"|"Map"|"Map_all"|"Mask"|"Merge"|"Passthrough"|"Truncate"|"Validate"|string; export type Tasks = Task[]; export type Timezone = string; export type TokenUrl = string; + export type TokenUrlList = TokenUrl[]; export type TrendmicroConnectorOperator = "PROJECTION"|"EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string; export interface TrendmicroConnectorProfileCredentials { /** @@ -2098,6 +2721,18 @@ declare namespace Appflow { } export type TriggerType = "Scheduled"|"Event"|"OnDemand"|string; export type TriggerTypeList = TriggerType[]; + export interface UnregisterConnectorRequest { + /** + * The label of the connector. The label is unique for each ConnectorRegistration in your Amazon Web Services account. + */ + connectorLabel: ConnectorLabel; + /** + * Indicates whether Amazon AppFlow should unregister the connector, even if it is currently in use in one or more connector profiles. The default value is false. + */ + forceDelete?: Boolean; + } + export interface UnregisterConnectorResponse { + } export interface UntagResourceRequest { /** * The Amazon Resource Name (ARN) of the flow that you want to untag. @@ -2229,7 +2864,7 @@ declare namespace Appflow { includeAllVersions?: Boolean; } export type Warehouse = string; - export type WriteOperationType = "INSERT"|"UPSERT"|"UPDATE"|string; + export type WriteOperationType = "INSERT"|"UPSERT"|"UPDATE"|"DELETE"|string; export type ZendeskConnectorOperator = "PROJECTION"|"GREATER_THAN"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string; export interface ZendeskConnectorProfileCredentials { /** diff --git a/node_modules/aws-sdk/clients/applicationinsights.d.ts b/node_modules/aws-sdk/clients/applicationinsights.d.ts index 020027b6b..d37433a79 100644 --- a/node_modules/aws-sdk/clients/applicationinsights.d.ts +++ b/node_modules/aws-sdk/clients/applicationinsights.d.ts @@ -1109,7 +1109,7 @@ declare namespace ApplicationInsights { export interface TagResourceResponse { } export type TagValue = string; - export type Tier = "CUSTOM"|"DEFAULT"|"DOT_NET_CORE"|"DOT_NET_WORKER"|"DOT_NET_WEB_TIER"|"DOT_NET_WEB"|"SQL_SERVER"|"SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP"|"MYSQL"|"POSTGRESQL"|"JAVA_JMX"|"ORACLE"|"SAP_HANA_MULTI_NODE"|"SAP_HANA_SINGLE_NODE"|"SAP_HANA_HIGH_AVAILABILITY"|"SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"|string; + export type Tier = "CUSTOM"|"DEFAULT"|"DOT_NET_CORE"|"DOT_NET_WORKER"|"DOT_NET_WEB_TIER"|"DOT_NET_WEB"|"SQL_SERVER"|"SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP"|"MYSQL"|"POSTGRESQL"|"JAVA_JMX"|"ORACLE"|"SAP_HANA_MULTI_NODE"|"SAP_HANA_SINGLE_NODE"|"SAP_HANA_HIGH_AVAILABILITY"|"SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"|"SHAREPOINT"|"ACTIVE_DIRECTORY"|string; export type Title = string; export type Unit = string; export interface UntagResourceRequest { diff --git a/node_modules/aws-sdk/clients/apprunner.d.ts b/node_modules/aws-sdk/clients/apprunner.d.ts index 8bd19c1f3..c87d075fc 100644 --- a/node_modules/aws-sdk/clients/apprunner.d.ts +++ b/node_modules/aws-sdk/clients/apprunner.d.ts @@ -20,11 +20,11 @@ declare class AppRunner extends Service { */ associateCustomDomain(callback?: (err: AWSError, data: AppRunner.Types.AssociateCustomDomainResponse) => void): Request; /** - * Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services that require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by using the same AutoScalingConfigurationName and different AutoScalingConfigurationRevision values. When you create a service, you can set it to use the latest active revision of an auto scaling configuration or a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand. + * Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services that require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service, you can set it to use the latest active revision of an auto scaling configuration or a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand. */ createAutoScalingConfiguration(params: AppRunner.Types.CreateAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateAutoScalingConfigurationResponse) => void): Request; /** - * Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services that require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by using the same AutoScalingConfigurationName and different AutoScalingConfigurationRevision values. When you create a service, you can set it to use the latest active revision of an auto scaling configuration or a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand. + * Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services that require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service, you can set it to use the latest active revision of an auto scaling configuration or a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand. */ createAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.CreateAutoScalingConfigurationResponse) => void): Request; /** @@ -43,6 +43,14 @@ declare class AppRunner extends Service { * Create an App Runner service. After the service is created, the action also automatically starts a deployment. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ createService(callback?: (err: AWSError, data: AppRunner.Types.CreateServiceResponse) => void): Request; + /** + * Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC). + */ + createVpcConnector(params: AppRunner.Types.CreateVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateVpcConnectorResponse) => void): Request; + /** + * Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC). + */ + createVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.CreateVpcConnectorResponse) => void): Request; /** * Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services. */ @@ -67,6 +75,14 @@ declare class AppRunner extends Service { * Delete an App Runner service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ deleteService(callback?: (err: AWSError, data: AppRunner.Types.DeleteServiceResponse) => void): Request; + /** + * Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services. + */ + deleteVpcConnector(params: AppRunner.Types.DeleteVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcConnectorResponse) => void): Request; + /** + * Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services. + */ + deleteVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcConnectorResponse) => void): Request; /** * Return a full description of an App Runner automatic scaling configuration resource. */ @@ -91,6 +107,14 @@ declare class AppRunner extends Service { * Return a full description of an App Runner service. */ describeService(callback?: (err: AWSError, data: AppRunner.Types.DescribeServiceResponse) => void): Request; + /** + * Return a description of an App Runner VPC connector resource. + */ + describeVpcConnector(params: AppRunner.Types.DescribeVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcConnectorResponse) => void): Request; + /** + * Return a description of an App Runner VPC connector resource. + */ + describeVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcConnectorResponse) => void): Request; /** * Disassociate a custom domain name from an App Runner service. Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service. */ @@ -139,6 +163,14 @@ declare class AppRunner extends Service { * List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs. */ listTagsForResource(callback?: (err: AWSError, data: AppRunner.Types.ListTagsForResourceResponse) => void): Request; + /** + * Returns a list of App Runner VPC connectors in your Amazon Web Services account. + */ + listVpcConnectors(params: AppRunner.Types.ListVpcConnectorsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListVpcConnectorsResponse) => void): Request; + /** + * Returns a list of App Runner VPC connectors in your Amazon Web Services account. + */ + listVpcConnectors(callback?: (err: AWSError, data: AppRunner.Types.ListVpcConnectorsResponse) => void): Request; /** * Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed). This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ @@ -409,7 +441,7 @@ declare namespace AppRunner { export type Cpu = string; export interface CreateAutoScalingConfigurationRequest { /** - * A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. + * A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. The name DefaultConfiguration is reserved (it's the configuration that App Runner uses if you don't provide a custome one). You can't use it to create a new auto scaling configuration, and you can't create a revision of it. When you want to use your own auto scaling configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service. */ AutoScalingConfigurationName: AutoScalingConfigurationName; /** @@ -457,7 +489,7 @@ declare namespace AppRunner { } export interface CreateServiceRequest { /** - * A name for the new service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region. + * A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region. */ ServiceName: ServiceName; /** @@ -469,21 +501,25 @@ declare namespace AppRunner { */ InstanceConfiguration?: InstanceConfiguration; /** - * An optional list of metadata items that you can associate with your service resource. A tag is a key-value pair. + * An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair. */ Tags?: TagList; /** - * An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed CMK. + * An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key. */ EncryptionConfiguration?: EncryptionConfiguration; /** - * The settings for the health check that App Runner performs to monitor the health of your service. + * The settings for the health check that App Runner performs to monitor the health of the App Runner service. */ HealthCheckConfiguration?: HealthCheckConfiguration; /** - * The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration. + * The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service. If not provided, App Runner associates the latest revision of a default auto scaling configuration. */ AutoScalingConfigurationArn?: AppRunnerResourceArn; + /** + * Configuration settings related to network traffic of the web application that the App Runner service runs. + */ + NetworkConfiguration?: NetworkConfiguration; } export interface CreateServiceResponse { /** @@ -495,6 +531,30 @@ declare namespace AppRunner { */ OperationId: UUID; } + export interface CreateVpcConnectorRequest { + /** + * A name for the VPC connector. + */ + VpcConnectorName: VpcConnectorName; + /** + * A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify. + */ + Subnets: StringList; + /** + * A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic. + */ + SecurityGroups?: StringList; + /** + * A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair. + */ + Tags?: TagList; + } + export interface CreateVpcConnectorResponse { + /** + * A description of the App Runner VPC connector that's created by this request. + */ + VpcConnector: VpcConnector; + } export interface CustomDomain { /** * An associated custom domain endpoint. It can be a root domain (for example, example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com). @@ -555,6 +615,18 @@ declare namespace AppRunner { */ OperationId: UUID; } + export interface DeleteVpcConnectorRequest { + /** + * The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to delete. The ARN must be a full VPC connector ARN. + */ + VpcConnectorArn: AppRunnerResourceArn; + } + export interface DeleteVpcConnectorResponse { + /** + * A description of the App Runner VPC connector that this request just deleted. + */ + VpcConnector: VpcConnector; + } export interface DescribeAutoScalingConfigurationRequest { /** * The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want a description for. The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is described. @@ -612,6 +684,18 @@ declare namespace AppRunner { */ Service: Service; } + export interface DescribeVpcConnectorRequest { + /** + * The Amazon Resource Name (ARN) of the App Runner VPC connector that you want a description for. The ARN must be a full VPC connector ARN. + */ + VpcConnectorArn: AppRunnerResourceArn; + } + export interface DescribeVpcConnectorResponse { + /** + * A description of the App Runner VPC connector that you specified in this request. + */ + VpcConnector: VpcConnector; + } export interface DisassociateCustomDomainRequest { /** * The Amazon Resource Name (ARN) of the App Runner service that you want to disassociate a custom domain name from. @@ -637,6 +721,17 @@ declare namespace AppRunner { CustomDomain: CustomDomain; } export type DomainName = string; + export interface EgressConfiguration { + /** + * The type of egress configuration. Set to DEFAULT for access to resources hosted on public networks. Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn. + */ + EgressType?: EgressType; + /** + * The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC. + */ + VpcConnectorArn?: AppRunnerResourceArn; + } + export type EgressType = "DEFAULT"|"VPC"|string; export interface EncryptionConfiguration { /** * The ARN of the KMS key that's used for encryption. @@ -683,7 +778,7 @@ declare namespace AppRunner { /** * An optional command that App Runner runs to start the application in the source image. If specified, this command overrides the Docker image’s default start command. */ - StartCommand?: String; + StartCommand?: StartCommand; /** * The port that your application listens to in the container. Default: 8080 */ @@ -830,8 +925,34 @@ declare namespace AppRunner { */ Tags?: TagList; } + export interface ListVpcConnectorsRequest { + /** + * The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response. + */ + MaxResults?: MaxResults; + /** + * A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request. If you don't specify NextToken, the request retrieves the first result page. + */ + NextToken?: NextToken; + } + export interface ListVpcConnectorsResponse { + /** + * A list of information records for VPC connectors. In a paginated request, the request returns up to MaxResults records for each call. + */ + VpcConnectors: VpcConnectors; + /** + * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request. + */ + NextToken?: NextToken; + } export type MaxResults = number; export type Memory = string; + export interface NetworkConfiguration { + /** + * Network configuration settings for outbound message traffic. + */ + EgressConfiguration?: EgressConfiguration; + } export type NextToken = string; export type NullableBoolean = boolean; export type OperationStatus = "PENDING"|"IN_PROGRESS"|"FAILED"|"SUCCEEDED"|"ROLLBACK_IN_PROGRESS"|"ROLLBACK_FAILED"|"ROLLBACK_SUCCEEDED"|string; @@ -947,7 +1068,7 @@ declare namespace AppRunner { */ InstanceConfiguration: InstanceConfiguration; /** - * The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed CMK. + * The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed key. */ EncryptionConfiguration?: EncryptionConfiguration; /** @@ -958,6 +1079,10 @@ declare namespace AppRunner { * Summary information for the App Runner automatic scaling configuration resource that's associated with this service. */ AutoScalingConfigurationSummary: AutoScalingConfigurationSummary; + /** + * Configuration settings related to network traffic of the web application that this service runs. + */ + NetworkConfiguration: NetworkConfiguration; } export type ServiceId = string; export type ServiceMaxResults = number; @@ -1037,6 +1162,7 @@ declare namespace AppRunner { OperationId: UUID; } export type String = string; + export type StringList = String[]; export interface Tag { /** * The key of the tag. @@ -1091,13 +1217,17 @@ declare namespace AppRunner { */ InstanceConfiguration?: InstanceConfiguration; /** - * The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. + * The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service. */ AutoScalingConfigurationArn?: AppRunnerResourceArn; /** - * The settings for the health check that App Runner performs to monitor the health of your service. + * The settings for the health check that App Runner performs to monitor the health of the App Runner service. */ HealthCheckConfiguration?: HealthCheckConfiguration; + /** + * Configuration settings related to network traffic of the web application that the App Runner service runs. + */ + NetworkConfiguration?: NetworkConfiguration; } export interface UpdateServiceResponse { /** @@ -1109,6 +1239,43 @@ declare namespace AppRunner { */ OperationId: UUID; } + export interface VpcConnector { + /** + * The customer-provided VPC connector name. + */ + VpcConnectorName?: VpcConnectorName; + /** + * The Amazon Resource Name (ARN) of this VPC connector. + */ + VpcConnectorArn?: AppRunnerResourceArn; + /** + * The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name. At this time, App Runner supports only one revision per name. + */ + VpcConnectorRevision?: Integer; + /** + * A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon VPC. + */ + Subnets?: StringList; + /** + * A list of IDs of security groups that App Runner uses for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic. + */ + SecurityGroups?: StringList; + /** + * The current state of the VPC connector. If the status of a connector revision is INACTIVE, it was deleted and can't be used. Inactive connector revisions are permanently removed some time after they are deleted. + */ + Status?: VpcConnectorStatus; + /** + * The time when the VPC connector was created. It's in Unix time stamp format. + */ + CreatedAt?: Timestamp; + /** + * The time when the VPC connector was deleted. It's in Unix time stamp format. + */ + DeletedAt?: Timestamp; + } + export type VpcConnectorName = string; + export type VpcConnectorStatus = "ACTIVE"|"INACTIVE"|string; + export type VpcConnectors = VpcConnector[]; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ diff --git a/node_modules/aws-sdk/clients/appsync.d.ts b/node_modules/aws-sdk/clients/appsync.d.ts index 32f760e66..cb4e56f25 100644 --- a/node_modules/aws-sdk/clients/appsync.d.ts +++ b/node_modules/aws-sdk/clients/appsync.d.ts @@ -714,6 +714,10 @@ declare namespace AppSync { */ functionVersion: String; syncConfig?: SyncConfig; + /** + * The maximum batching size for a resolver. + */ + maxBatchSize?: MaxBatchSize; } export interface CreateFunctionResponse { /** @@ -806,6 +810,10 @@ declare namespace AppSync { * The caching configuration for the resolver. */ cachingConfig?: CachingConfig; + /** + * The maximum batching size for a resolver. + */ + maxBatchSize?: MaxBatchSize; } export interface CreateResolverResponse { /** @@ -1092,6 +1100,10 @@ declare namespace AppSync { */ functionVersion?: String; syncConfig?: SyncConfig; + /** + * The maximum batching size for a resolver. + */ + maxBatchSize?: MaxBatchSize; } export type Functions = FunctionConfiguration[]; export type FunctionsIds = String[]; @@ -1567,6 +1579,7 @@ declare namespace AppSync { export type Long = number; export type MapOfStringToString = {[key: string]: String}; export type MappingTemplate = string; + export type MaxBatchSize = number; export type MaxResults = number; export interface OpenIDConnectConfig { /** @@ -1678,6 +1691,10 @@ declare namespace AppSync { * The caching configuration for the resolver. */ cachingConfig?: CachingConfig; + /** + * The maximum batching size for a resolver. + */ + maxBatchSize?: MaxBatchSize; } export type ResolverKind = "UNIT"|"PIPELINE"|string; export type Resolvers = Resolver[]; @@ -1918,6 +1935,10 @@ declare namespace AppSync { */ functionVersion: String; syncConfig?: SyncConfig; + /** + * The maximum batching size for a resolver. + */ + maxBatchSize?: MaxBatchSize; } export interface UpdateFunctionResponse { /** @@ -2010,6 +2031,10 @@ declare namespace AppSync { * The caching configuration for the resolver. */ cachingConfig?: CachingConfig; + /** + * The maximum batching size for a resolver. + */ + maxBatchSize?: MaxBatchSize; } export interface UpdateResolverResponse { /** diff --git a/node_modules/aws-sdk/clients/athena.d.ts b/node_modules/aws-sdk/clients/athena.d.ts index 4ab92279e..548b06060 100644 --- a/node_modules/aws-sdk/clients/athena.d.ts +++ b/node_modules/aws-sdk/clients/athena.d.ts @@ -286,6 +286,16 @@ declare class Athena extends Service { } declare namespace Athena { export type AmazonResourceName = string; + export interface AthenaError { + /** + * An integer value that specifies the category of a query failure error. The following list shows the category for each integer value. 1 - System 2 - User 3 - Unknown + */ + ErrorCategory?: ErrorCategory; + /** + * An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide. + */ + ErrorType?: ErrorType; + } export interface BatchGetNamedQueryInput { /** * An array of query IDs. @@ -384,7 +394,7 @@ declare namespace Athena { export type CommentString = string; export interface CreateDataCatalogInput { /** - * The name of the data catalog to create. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters. + * The name of the data catalog to create. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena. */ Name: CatalogNameString; /** @@ -480,7 +490,7 @@ declare namespace Athena { } export interface DataCatalog { /** - * The name of the data catalog. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters. + * The name of the data catalog. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena. */ Name: CatalogNameString; /** @@ -498,7 +508,7 @@ declare namespace Athena { } export interface DataCatalogSummary { /** - * The name of the data catalog. + * The name of the data catalog. The catalog name is unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena. */ CatalogName?: CatalogNameString; /** @@ -594,8 +604,10 @@ declare namespace Athena { EffectiveEngineVersion?: NameString; } export type EngineVersionsList = EngineVersion[]; + export type ErrorCategory = number; export type ErrorCode = string; export type ErrorMessage = string; + export type ErrorType = number; export type ExpressionString = string; export interface GetDataCatalogInput { /** @@ -1115,6 +1127,10 @@ declare namespace Athena { * The date and time that the query completed. */ CompletionDateTime?: _Date; + /** + * Provides information about an Athena query error. + */ + AthenaError?: AthenaError; } export type QueryString = string; export interface ResultConfiguration { @@ -1126,6 +1142,10 @@ declare namespace Athena { * If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE-KMS or CSE-KMS) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings. */ EncryptionConfiguration?: EncryptionConfiguration; + /** + * The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings. + */ + ExpectedBucketOwner?: String; } export interface ResultConfigurationUpdates { /** @@ -1144,6 +1164,14 @@ declare namespace Athena { * If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings. */ RemoveEncryptionConfiguration?: BoxedBoolean; + /** + * The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings. + */ + ExpectedBucketOwner?: String; + /** + * If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings. + */ + RemoveExpectedBucketOwner?: BoxedBoolean; } export interface ResultSet { /** @@ -1312,7 +1340,7 @@ declare namespace Athena { } export interface UpdateDataCatalogInput { /** - * The name of the data catalog to update. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters. + * The name of the data catalog to update. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena. */ Name: CatalogNameString; /** diff --git a/node_modules/aws-sdk/clients/auditmanager.d.ts b/node_modules/aws-sdk/clients/auditmanager.d.ts index 8a4a05bd3..c1064995e 100644 --- a/node_modules/aws-sdk/clients/auditmanager.d.ts +++ b/node_modules/aws-sdk/clients/auditmanager.d.ts @@ -1440,7 +1440,7 @@ declare namespace AuditManager { /** * The unique identifier of the control. */ - id?: UUID; + id: UUID; } export interface CreateAssessmentFrameworkControlSet { /** @@ -2874,7 +2874,7 @@ declare namespace AuditManager { /** * The list of controls that are contained within the control set. */ - controls?: CreateAssessmentFrameworkControls; + controls: CreateAssessmentFrameworkControls; } export type UpdateAssessmentFrameworkControlSets = UpdateAssessmentFrameworkControlSet[]; export interface UpdateAssessmentFrameworkRequest { diff --git a/node_modules/aws-sdk/clients/budgets.d.ts b/node_modules/aws-sdk/clients/budgets.d.ts index 72724c93c..eeb0eb010 100644 --- a/node_modules/aws-sdk/clients/budgets.d.ts +++ b/node_modules/aws-sdk/clients/budgets.d.ts @@ -156,11 +156,11 @@ declare class Budgets extends Service { */ executeBudgetAction(callback?: (err: AWSError, data: Budgets.Types.ExecuteBudgetActionResponse) => void): Request; /** - * Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until AWS has new usage data to use for forecasting. Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section. + * Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until Amazon Web Services has new usage data to use for forecasting. Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section. */ updateBudget(params: Budgets.Types.UpdateBudgetRequest, callback?: (err: AWSError, data: Budgets.Types.UpdateBudgetResponse) => void): Request; /** - * Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until AWS has new usage data to use for forecasting. Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section. + * Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until Amazon Web Services has new usage data to use for forecasting. Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section. */ updateBudget(callback?: (err: AWSError, data: Budgets.Types.UpdateBudgetResponse) => void): Request; /** @@ -192,33 +192,33 @@ declare namespace Budgets { export type AccountId = string; export interface Action { /** - * A system-generated universally unique identifier (UUID) for the action. + * A system-generated universally unique identifier (UUID) for the action. */ ActionId: ActionId; BudgetName: BudgetName; NotificationType: NotificationType; /** - * The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition. + * The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition. */ ActionType: ActionType; /** - * The trigger threshold of the action. + * The trigger threshold of the action. */ ActionThreshold: ActionThreshold; /** - * Where you specify all of the type-specific parameters. + * Where you specify all of the type-specific parameters. */ Definition: Definition; /** - * The role passed for action execution and reversion. Roles and actions must be in the same account. + * The role passed for action execution and reversion. Roles and actions must be in the same account. */ ExecutionRoleArn: RoleArn; /** - * This specifies if the action needs manual or automatic approval. + * This specifies if the action needs manual or automatic approval. */ ApprovalModel: ApprovalModel; /** - * The status of action. + * The status of the action. */ Status: ActionStatus; Subscribers: Subscribers; @@ -227,22 +227,22 @@ declare namespace Budgets { export interface ActionHistory { Timestamp: GenericTimestamp; /** - * The status of action at the time of the event. + * The status of action at the time of the event. */ Status: ActionStatus; /** - * This distinguishes between whether the events are triggered by the user or generated by the system. + * This distinguishes between whether the events are triggered by the user or are generated by the system. */ EventType: EventType; /** - * The description of details of the event. + * The description of the details for the event. */ ActionHistoryDetails: ActionHistoryDetails; } export interface ActionHistoryDetails { Message: GenericString; /** - * The budget action resource. + * The budget action resource. */ Action: Action; } @@ -255,22 +255,38 @@ declare namespace Budgets { } export type ActionType = "APPLY_IAM_POLICY"|"APPLY_SCP_POLICY"|"RUN_SSM_DOCUMENTS"|string; export type Actions = Action[]; + export type AdjustmentPeriod = number; export type ApprovalModel = "AUTOMATIC"|"MANUAL"|string; + export interface AutoAdjustData { + /** + * The string that defines whether your budget auto-adjusts based on historical or forecasted data. + */ + AutoAdjustType: AutoAdjustType; + /** + * The parameters that define or describe the historical data that your auto-adjusting budget is based on. + */ + HistoricalOptions?: HistoricalOptions; + /** + * The last time that your budget was auto-adjusted. + */ + LastAutoAdjustTime?: GenericTimestamp; + } + export type AutoAdjustType = "HISTORICAL"|"FORECAST"|string; export interface Budget { /** * The name of a budget. The name must be unique within an account. The : and \ characters aren't allowed in BudgetName. */ BudgetName: BudgetName; /** - * The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget. BudgetLimit is required for cost or usage budgets, but optional for RI or Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or coverage budgets default to 100, which is the only valid value for RI or Savings Plans utilization or coverage budgets. You can't use BudgetLimit with PlannedBudgetLimits for CreateBudget and UpdateBudget actions. + * The total amount of cost, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage that you want to track with your budget. BudgetLimit is required for cost or usage budgets, but optional for RI or Savings Plans utilization or coverage budgets. RI and Savings Plans utilization or coverage budgets default to 100. This is the only valid value for RI or Savings Plans utilization or coverage budgets. You can't use BudgetLimit with PlannedBudgetLimits for CreateBudget and UpdateBudget actions. */ BudgetLimit?: Spend; /** - * A map containing multiple BudgetLimit, including current or future limits. PlannedBudgetLimits is available for cost or usage budget and supports monthly and quarterly TimeUnit. For monthly budgets, provide 12 months of PlannedBudgetLimits values. This must start from the current month and include the next 11 months. The key is the start of the month, UTC in epoch seconds. For quarterly budgets, provide 4 quarters of PlannedBudgetLimits value entries in standard calendar quarter increments. This must start from the current quarter and include the next 3 quarters. The key is the start of the quarter, UTC in epoch seconds. If the planned budget expires before 12 months for monthly or 4 quarters for quarterly, provide the PlannedBudgetLimits values only for the remaining periods. If the budget begins at a date in the future, provide PlannedBudgetLimits values from the start date of the budget. After all of the BudgetLimit values in PlannedBudgetLimits are used, the budget continues to use the last limit as the BudgetLimit. At that point, the planned budget provides the same experience as a fixed budget. DescribeBudget and DescribeBudgets response along with PlannedBudgetLimits will also contain BudgetLimit representing the current month or quarter limit present in PlannedBudgetLimits. This only applies to budgets created with PlannedBudgetLimits. Budgets created without PlannedBudgetLimits will only contain BudgetLimit, and no PlannedBudgetLimits. + * A map containing multiple BudgetLimit, including current or future limits. PlannedBudgetLimits is available for cost or usage budget and supports both monthly and quarterly TimeUnit. For monthly budgets, provide 12 months of PlannedBudgetLimits values. This must start from the current month and include the next 11 months. The key is the start of the month, UTC in epoch seconds. For quarterly budgets, provide four quarters of PlannedBudgetLimits value entries in standard calendar quarter increments. This must start from the current quarter and include the next three quarters. The key is the start of the quarter, UTC in epoch seconds. If the planned budget expires before 12 months for monthly or four quarters for quarterly, provide the PlannedBudgetLimits values only for the remaining periods. If the budget begins at a date in the future, provide PlannedBudgetLimits values from the start date of the budget. After all of the BudgetLimit values in PlannedBudgetLimits are used, the budget continues to use the last limit as the BudgetLimit. At that point, the planned budget provides the same experience as a fixed budget. DescribeBudget and DescribeBudgets response along with PlannedBudgetLimits also contain BudgetLimit representing the current month or quarter limit present in PlannedBudgetLimits. This only applies to budgets that are created with PlannedBudgetLimits. Budgets that are created without PlannedBudgetLimits only contain BudgetLimit. They don't contain PlannedBudgetLimits. */ PlannedBudgetLimits?: PlannedBudgetLimits; /** - * The cost filters, such as service or tag, that are applied to a budget. AWS Budgets supports the following services as a filter for RI budgets: Amazon Elastic Compute Cloud - Compute Amazon Redshift Amazon Relational Database Service Amazon ElastiCache Amazon Elasticsearch Service + * The cost filters, such as Region, Service, member account, Tag, or Cost Category, that are applied to a budget. Amazon Web Services Budgets supports the following services as a Service filter for RI budgets: Amazon EC2 Amazon Redshift Amazon Relational Database Service Amazon ElastiCache Amazon OpenSearch Service */ CostFilters?: CostFilters; /** @@ -282,7 +298,7 @@ declare namespace Budgets { */ TimeUnit: TimeUnit; /** - * The period of time that is covered by a budget. The period has a start date and an end date. The start date must come before the end date. The end date must come before 06/15/87 00:00 UTC. If you create your budget and don't specify a start date, AWS defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, AWS set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, AWS set your start date to 01/01/18 00:00 UTC. If you didn't specify an end date, AWS set your end date to 06/15/87 00:00 UTC. The defaults are the same for the AWS Billing and Cost Management console and the API. You can change either date with the UpdateBudget operation. After the end date, AWS deletes the budget and all associated notifications and subscribers. + * The period of time that's covered by a budget. You setthe start date and end date. The start date must come before the end date. The end date must come before 06/15/87 00:00 UTC. If you create your budget and don't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API. You can change either date with the UpdateBudget operation. After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. */ TimePeriod?: TimePeriod; /** @@ -290,13 +306,17 @@ declare namespace Budgets { */ CalculatedSpend?: CalculatedSpend; /** - * Whether this budget tracks costs, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage. + * Specifies whether this budget tracks costs, usage, RI utilization, RI coverage, Savings Plans utilization, or Savings Plans coverage. */ BudgetType: BudgetType; /** * The last time that you updated this budget. */ LastUpdatedTime?: GenericTimestamp; + /** + * The parameters that determine the budget amount for an auto-adjusting budget. + */ + AutoAdjustData?: AutoAdjustData; } export type BudgetName = string; export interface BudgetPerformanceHistory { @@ -312,7 +332,7 @@ declare namespace Budgets { CostTypes?: CostTypes; TimeUnit?: TimeUnit; /** - * A list of amounts of cost or usage that you created budgets for, compared to your actual costs or usage. + * A list of amounts of cost or usage that you created budgets for, which are compared to your actual costs or usage. */ BudgetedAndActualAmountsList?: BudgetedAndActualAmountsList; } @@ -327,7 +347,7 @@ declare namespace Budgets { */ ActualAmount?: Spend; /** - * The time period covered by this budget comparison. + * The time period that's covered by this budget comparison. */ TimePeriod?: TimePeriod; } @@ -335,11 +355,11 @@ declare namespace Budgets { export type Budgets = Budget[]; export interface CalculatedSpend { /** - * The amount of cost, usage, RI units, or Savings Plans units that you have used. + * The amount of cost, usage, RI units, or Savings Plans units that you used. */ ActualSpend: Spend; /** - * The amount of cost, usage, RI units, or Savings Plans units that you are forecasted to use. + * The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use. */ ForecastedSpend?: Spend; } @@ -429,7 +449,7 @@ declare namespace Budgets { */ Budget: Budget; /** - * A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, AWS creates the notifications and subscribers for you. + * A notification that you want to associate with a budget. A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, Amazon Web Services creates the notifications and subscribers for you. */ NotificationsWithSubscribers?: NotificationWithSubscribersList; } @@ -441,7 +461,7 @@ declare namespace Budgets { */ AccountId: AccountId; /** - * The name of the budget that you want AWS to notify you about. Budget names must be unique within an account. + * The name of the budget that you want Amazon Web Services to notify you about. Budget names must be unique within an account. */ BudgetName: BudgetName; /** @@ -477,15 +497,15 @@ declare namespace Budgets { } export interface Definition { /** - * The AWS Identity and Access Management (IAM) action definition details. + * The Identity and Access Management (IAM) action definition details. */ IamActionDefinition?: IamActionDefinition; /** - * The service control policies (SCPs) action definition details. + * The service control policies (SCPs) action definition details. */ ScpActionDefinition?: ScpActionDefinition; /** - * The AWS Systems Manager (SSM) action definition details. + * The Amazon Web Services Systems Manager (SSM) action definition details. */ SsmActionDefinition?: SsmActionDefinition; } @@ -757,21 +777,31 @@ declare namespace Budgets { export type GenericTimestamp = Date; export type Group = string; export type Groups = Group[]; + export interface HistoricalOptions { + /** + * The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. The maximum value depends on the TimeUnit granularity of the budget: For the DAILY granularity, the maximum value is 60. For the MONTHLY granularity, the maximum value is 12. For the QUARTERLY granularity, the maximum value is 4. For the ANNUALLY granularity, the maximum value is 1. + */ + BudgetAdjustmentPeriod: AdjustmentPeriod; + /** + * The integer that describes how many budget periods in your BudgetAdjustmentPeriod are included in the calculation of your current BudgetLimit. If the first budget period in your BudgetAdjustmentPeriod has no cost data, then that budget period isn’t included in the average that determines your budget limit. For example, if you set BudgetAdjustmentPeriod as 4 quarters, but your account had no cost data in the first quarter, then only the last three quarters are included in the calculation. In this scenario, LookBackAvailablePeriods returns 3. You can’t set your own LookBackAvailablePeriods. The value is automatically calculated from the BudgetAdjustmentPeriod and your historical cost data. + */ + LookBackAvailablePeriods?: AdjustmentPeriod; + } export interface IamActionDefinition { /** - * The Amazon Resource Name (ARN) of the policy to be attached. + * The Amazon Resource Name (ARN) of the policy to be attached. */ PolicyArn: PolicyArn; /** - * A list of roles to be attached. There must be at least one role. + * A list of roles to be attached. There must be at least one role. */ Roles?: Roles; /** - * A list of groups to be attached. There must be at least one group. + * A list of groups to be attached. There must be at least one group. */ Groups?: Groups; /** - * A list of users to be attached. There must be at least one user. + * A list of users to be attached. There must be at least one user. */ Users?: Users; } @@ -780,23 +810,23 @@ declare namespace Budgets { export type MaxResults = number; export interface Notification { /** - * Whether the notification is for how much you have spent (ACTUAL) or for how much you're forecasted to spend (FORECASTED). + * Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED). */ NotificationType: NotificationType; /** - * The comparison that is used for this notification. + * The comparison that's used for this notification. */ ComparisonOperator: ComparisonOperator; /** - * The threshold that is associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount. + * The threshold that's associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount. */ Threshold: NotificationThreshold; /** - * The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, AWS notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, AWS notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE threshold of 80%, AWS notifies you when you go over 160 dollars. + * The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars. */ ThresholdType?: ThresholdType; /** - * Whether this notification is in alarm. If a budget notification is in the ALARM state, you have passed the set threshold for the budget. + * Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, you passed the set threshold for the budget. */ NotificationState?: NotificationState; } @@ -805,7 +835,7 @@ declare namespace Budgets { export type NotificationType = "ACTUAL"|"FORECASTED"|string; export interface NotificationWithSubscribers { /** - * The notification that is associated with a budget. + * The notification that's associated with a budget. */ Notification: Notification; /** @@ -826,45 +856,45 @@ declare namespace Budgets { export type Roles = Role[]; export interface ScpActionDefinition { /** - * The policy ID attached. + * The policy ID attached. */ PolicyId: PolicyId; /** - * A list of target IDs. + * A list of target IDs. */ TargetIds: TargetIds; } export interface Spend { /** - * The cost or usage amount that is associated with a budget forecast, actual spend, or budget threshold. + * The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold. */ Amount: NumericValue; /** - * The unit of measurement that is used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. + * The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP. */ Unit: UnitValue; } export interface SsmActionDefinition { /** - * The action subType. + * The action subType. */ ActionSubType: ActionSubType; /** - * The Region to run the SSM document. + * The Region to run the SSM document. */ Region: Region; /** - * The EC2 and RDS instance IDs. + * The EC2 and RDS instance IDs. */ InstanceIds: InstanceIds; } export interface Subscriber { /** - * The type of notification that AWS sends to a subscriber. + * The type of notification that Amazon Web Services sends to a subscriber. */ SubscriptionType: SubscriptionType; /** - * The address that AWS sends budget notifications to, either an SNS topic or an email. When you create a subscriber, the value of Address can't contain line breaks. + * The address that Amazon Web Services sends budget notifications to, either an SNS topic or an email. When you create a subscriber, the value of Address can't contain line breaks. */ Address: SubscriberAddress; } @@ -876,11 +906,11 @@ declare namespace Budgets { export type ThresholdType = "PERCENTAGE"|"ABSOLUTE_VALUE"|string; export interface TimePeriod { /** - * The start date for a budget. If you created your budget and didn't specify a start date, AWS defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, AWS set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, AWS set your start date to 01/01/18 00:00 UTC. The defaults are the same for the AWS Billing and Cost Management console and the API. You can change your start date with the UpdateBudget operation. + * The start date for a budget. If you created your budget and didn't specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you created your budget on January 24, 2018, chose DAILY, and didn't set a start date, Amazon Web Services set your start date to 01/24/18 00:00 UTC. If you chose MONTHLY, Amazon Web Services set your start date to 01/01/18 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API. You can change your start date with the UpdateBudget operation. */ Start?: GenericTimestamp; /** - * The end date for a budget. If you didn't specify an end date, AWS set your end date to 06/15/87 00:00 UTC. The defaults are the same for the AWS Billing and Cost Management console and the API. After the end date, AWS deletes the budget and all associated notifications and subscribers. You can change your end date with the UpdateBudget operation. + * The end date for a budget. If you didn't specify an end date, Amazon Web Services set your end date to 06/15/87 00:00 UTC. The defaults are the same for the Billing and Cost Management console and the API. After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. You can change your end date with the UpdateBudget operation. */ End?: GenericTimestamp; } diff --git a/node_modules/aws-sdk/clients/cloudformation.d.ts b/node_modules/aws-sdk/clients/cloudformation.d.ts index f536b6023..288854033 100644 --- a/node_modules/aws-sdk/clients/cloudformation.d.ts +++ b/node_modules/aws-sdk/clients/cloudformation.d.ts @@ -37,35 +37,35 @@ declare class CloudFormation extends Service { */ cancelUpdateStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * For a specified stack that is in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again. A stack goes into the UPDATE_ROLLBACK_FAILED state when CloudFormation cannot roll back all changes after a failed stack update. For example, you might have a stack that is rolling back to an old database instance that was deleted outside of CloudFormation. Because CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail. + * For a specified stack that's in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again. A stack goes into the UPDATE_ROLLBACK_FAILED state when CloudFormation can't roll back all changes after a failed stack update. For example, you might have a stack that's rolling back to an old database instance that was deleted outside of CloudFormation. Because CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail. */ continueUpdateRollback(params: CloudFormation.Types.ContinueUpdateRollbackInput, callback?: (err: AWSError, data: CloudFormation.Types.ContinueUpdateRollbackOutput) => void): Request; /** - * For a specified stack that is in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again. A stack goes into the UPDATE_ROLLBACK_FAILED state when CloudFormation cannot roll back all changes after a failed stack update. For example, you might have a stack that is rolling back to an old database instance that was deleted outside of CloudFormation. Because CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail. + * For a specified stack that's in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again. A stack goes into the UPDATE_ROLLBACK_FAILED state when CloudFormation can't roll back all changes after a failed stack update. For example, you might have a stack that's rolling back to an old database instance that was deleted outside of CloudFormation. Because CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail. */ continueUpdateRollback(callback?: (err: AWSError, data: CloudFormation.Types.ContinueUpdateRollbackOutput) => void): Request; /** - * Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that CloudFormation will create. If you create a change set for an existing stack, CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack. To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. To create a change set for an import operation, specify IMPORT for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action. When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. CloudFormation doesn't make changes until you execute the change set. To create a change set for the entire stack hierachy, set IncludeNestedStacks to True. + * Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that CloudFormation will create. If you create a change set for an existing stack, CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack. To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. To create a change set for an import operation, specify IMPORT for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action. When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. CloudFormation doesn't make changes until you execute the change set. To create a change set for the entire stack hierarchy, set IncludeNestedStacks to True. */ createChangeSet(params: CloudFormation.Types.CreateChangeSetInput, callback?: (err: AWSError, data: CloudFormation.Types.CreateChangeSetOutput) => void): Request; /** - * Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that CloudFormation will create. If you create a change set for an existing stack, CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack. To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. To create a change set for an import operation, specify IMPORT for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action. When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. CloudFormation doesn't make changes until you execute the change set. To create a change set for the entire stack hierachy, set IncludeNestedStacks to True. + * Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that CloudFormation will create. If you create a change set for an existing stack, CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack. To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. To create a change set for an import operation, specify IMPORT for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action. When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. CloudFormation doesn't make changes until you execute the change set. To create a change set for the entire stack hierarchy, set IncludeNestedStacks to True. */ createChangeSet(callback?: (err: AWSError, data: CloudFormation.Types.CreateChangeSetOutput) => void): Request; /** - * Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API. + * Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack through the DescribeStacksoperation. */ createStack(params: CloudFormation.Types.CreateStackInput, callback?: (err: AWSError, data: CloudFormation.Types.CreateStackOutput) => void): Request; /** - * Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API. + * Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack through the DescribeStacksoperation. */ createStack(callback?: (err: AWSError, data: CloudFormation.Types.CreateStackOutput) => void): Request; /** - * Creates stack instances for the specified accounts, within the specified Regions. A stack instance refers to a stack in a specific account and Region. You must specify at least one value for either Accounts or DeploymentTargets, and you must specify at least one value for Regions. + * Creates stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region. You must specify at least one value for either Accounts or DeploymentTargets, and you must specify at least one value for Regions. */ createStackInstances(params: CloudFormation.Types.CreateStackInstancesInput, callback?: (err: AWSError, data: CloudFormation.Types.CreateStackInstancesOutput) => void): Request; /** - * Creates stack instances for the specified accounts, within the specified Regions. A stack instance refers to a stack in a specific account and Region. You must specify at least one value for either Accounts or DeploymentTargets, and you must specify at least one value for Regions. + * Creates stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region. You must specify at least one value for either Accounts or DeploymentTargets, and you must specify at least one value for Regions. */ createStackInstances(callback?: (err: AWSError, data: CloudFormation.Types.CreateStackInstancesOutput) => void): Request; /** @@ -77,11 +77,11 @@ declare class CloudFormation extends Service { */ createStackSet(callback?: (err: AWSError, data: CloudFormation.Types.CreateStackSetOutput) => void): Request; /** - * Deactivates a public extension that was previously activated in this account and region. Once deactivated, an extension cannot be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions are not automatically updated if a new version of the extension is released. + * Deactivates a public extension that was previously activated in this account and region. Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions aren't automatically updated if a new version of the extension is released. */ deactivateType(params: CloudFormation.Types.DeactivateTypeInput, callback?: (err: AWSError, data: CloudFormation.Types.DeactivateTypeOutput) => void): Request; /** - * Deactivates a public extension that was previously activated in this account and region. Once deactivated, an extension cannot be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions are not automatically updated if a new version of the extension is released. + * Deactivates a public extension that was previously activated in this account and region. Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions aren't automatically updated if a new version of the extension is released. */ deactivateType(callback?: (err: AWSError, data: CloudFormation.Types.DeactivateTypeOutput) => void): Request; /** @@ -93,19 +93,19 @@ declare class CloudFormation extends Service { */ deleteChangeSet(callback?: (err: AWSError, data: CloudFormation.Types.DeleteChangeSetOutput) => void): Request; /** - * Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully. + * Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks don't show up in the DescribeStacks operation if the deletion has been completed successfully. */ deleteStack(params: CloudFormation.Types.DeleteStackInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully. + * Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks don't show up in the DescribeStacks operation if the deletion has been completed successfully. */ deleteStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes stack instances for the specified accounts, in the specified Regions. + * Deletes stack instances for the specified accounts, in the specified Amazon Web Services Regions. */ deleteStackInstances(params: CloudFormation.Types.DeleteStackInstancesInput, callback?: (err: AWSError, data: CloudFormation.Types.DeleteStackInstancesOutput) => void): Request; /** - * Deletes stack instances for the specified accounts, in the specified Regions. + * Deletes stack instances for the specified accounts, in the specified Amazon Web Services Regions. */ deleteStackInstances(callback?: (err: AWSError, data: CloudFormation.Types.DeleteStackInstancesOutput) => void): Request; /** @@ -117,19 +117,19 @@ declare class CloudFormation extends Service { */ deleteStackSet(callback?: (err: AWSError, data: CloudFormation.Types.DeleteStackSetOutput) => void): Request; /** - * Marks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations. To deregister an entire extension, you must individually deregister all active versions of that extension. If an extension has only a single active version, deregistering that version results in the extension itself being deregistered and marked as deprecated in the registry. You cannot deregister the default version of an extension if there are other active version of that extension. If you do deregister the default version of an extension, the textensionype itself is deregistered as well and marked as deprecated. To view the deprecation status of an extension or extension version, use DescribeType. + * Marks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations. To deregister an entire extension, you must individually deregister all active versions of that extension. If an extension has only a single active version, deregistering that version results in the extension itself being deregistered and marked as deprecated in the registry. You can't deregister the default version of an extension if there are other active version of that extension. If you do deregister the default version of an extension, the extension type itself is deregistered as well and marked as deprecated. To view the deprecation status of an extension or extension version, use DescribeType. */ deregisterType(params: CloudFormation.Types.DeregisterTypeInput, callback?: (err: AWSError, data: CloudFormation.Types.DeregisterTypeOutput) => void): Request; /** - * Marks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations. To deregister an entire extension, you must individually deregister all active versions of that extension. If an extension has only a single active version, deregistering that version results in the extension itself being deregistered and marked as deprecated in the registry. You cannot deregister the default version of an extension if there are other active version of that extension. If you do deregister the default version of an extension, the textensionype itself is deregistered as well and marked as deprecated. To view the deprecation status of an extension or extension version, use DescribeType. + * Marks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations. To deregister an entire extension, you must individually deregister all active versions of that extension. If an extension has only a single active version, deregistering that version results in the extension itself being deregistered and marked as deprecated in the registry. You can't deregister the default version of an extension if there are other active version of that extension. If you do deregister the default version of an extension, the extension type itself is deregistered as well and marked as deprecated. To view the deprecation status of an extension or extension version, use DescribeType. */ deregisterType(callback?: (err: AWSError, data: CloudFormation.Types.DeregisterTypeOutput) => void): Request; /** - * Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see CloudFormation Limits in the CloudFormation User Guide. + * Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see CloudFormation Quotas in the CloudFormation User Guide. */ describeAccountLimits(params: CloudFormation.Types.DescribeAccountLimitsInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeAccountLimitsOutput) => void): Request; /** - * Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see CloudFormation Limits in the CloudFormation User Guide. + * Retrieves your account's CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see CloudFormation Quotas in the CloudFormation User Guide. */ describeAccountLimits(callback?: (err: AWSError, data: CloudFormation.Types.DescribeAccountLimitsOutput) => void): Request; /** @@ -141,11 +141,19 @@ declare class CloudFormation extends Service { */ describeChangeSet(callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetOutput) => void): Request; /** - * Returns information about a CloudFormation extension publisher. If you do not supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account. For more information on registering as a publisher, see: RegisterPublisher Publishing extensions to make them available for public use in the CloudFormation CLI User Guide + * Returns hook-related information for the change set and a list of changes that CloudFormation makes when you run the change set. + */ + describeChangeSetHooks(params: CloudFormation.Types.DescribeChangeSetHooksInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetHooksOutput) => void): Request; + /** + * Returns hook-related information for the change set and a list of changes that CloudFormation makes when you run the change set. + */ + describeChangeSetHooks(callback?: (err: AWSError, data: CloudFormation.Types.DescribeChangeSetHooksOutput) => void): Request; + /** + * Returns information about a CloudFormation extension publisher. If you don't supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account. For more information on registering as a publisher, see: RegisterPublisher Publishing extensions to make them available for public use in the CloudFormation CLI User Guide */ describePublisher(params: CloudFormation.Types.DescribePublisherInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribePublisherOutput) => void): Request; /** - * Returns information about a CloudFormation extension publisher. If you do not supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account. For more information on registering as a publisher, see: RegisterPublisher Publishing extensions to make them available for public use in the CloudFormation CLI User Guide + * Returns information about a CloudFormation extension publisher. If you don't supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account. For more information on registering as a publisher, see: RegisterPublisher Publishing extensions to make them available for public use in the CloudFormation CLI User Guide */ describePublisher(callback?: (err: AWSError, data: CloudFormation.Types.DescribePublisherOutput) => void): Request; /** @@ -181,11 +189,11 @@ declare class CloudFormation extends Service { */ describeStackResource(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackResourceOutput) => void): Request; /** - * Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift are not included. Resources that do not currently support drift detection are not checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack. + * Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that don't currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack. */ describeStackResourceDrifts(params: CloudFormation.Types.DescribeStackResourceDriftsInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackResourceDriftsOutput) => void): Request; /** - * Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift are not included. Resources that do not currently support drift detection are not checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack. + * Returns drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that don't currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack. */ describeStackResourceDrifts(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackResourceDriftsOutput) => void): Request; /** @@ -197,27 +205,27 @@ declare class CloudFormation extends Service { */ describeStackResources(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackResourcesOutput) => void): Request; /** - * Returns the description of the specified stack set. + * Returns the description of the specified stack set. */ describeStackSet(params: CloudFormation.Types.DescribeStackSetInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackSetOutput) => void): Request; /** - * Returns the description of the specified stack set. + * Returns the description of the specified stack set. */ describeStackSet(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackSetOutput) => void): Request; /** - * Returns the description of the specified stack set operation. + * Returns the description of the specified stack set operation. */ describeStackSetOperation(params: CloudFormation.Types.DescribeStackSetOperationInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackSetOperationOutput) => void): Request; /** - * Returns the description of the specified stack set operation. + * Returns the description of the specified stack set operation. */ describeStackSetOperation(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStackSetOperationOutput) => void): Request; /** - * Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created. If the stack does not exist, an ValidationError is returned. + * Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created. If the stack doesn't exist, an ValidationError is returned. */ describeStacks(params: CloudFormation.Types.DescribeStacksInput, callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; /** - * Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created. If the stack does not exist, an ValidationError is returned. + * Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created. If the stack doesn't exist, an ValidationError is returned. */ describeStacks(callback?: (err: AWSError, data: CloudFormation.Types.DescribeStacksOutput) => void): Request; /** @@ -237,27 +245,27 @@ declare class CloudFormation extends Service { */ describeTypeRegistration(callback?: (err: AWSError, data: CloudFormation.Types.DescribeTypeRegistrationOutput) => void): Request; /** - * Detects whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources. Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources. For a list of stack resources that currently support drift detection, see Resources that Support Drift Detection. DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources. When detecting drift on a stack, CloudFormation does not detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself. + * Detects whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources. Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources. For a list of stack resources that currently support drift detection, see Resources that Support Drift Detection. DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources. When detecting drift on a stack, CloudFormation doesn't detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself. */ detectStackDrift(params: CloudFormation.Types.DetectStackDriftInput, callback?: (err: AWSError, data: CloudFormation.Types.DetectStackDriftOutput) => void): Request; /** - * Detects whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources. Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources. For a list of stack resources that currently support drift detection, see Resources that Support Drift Detection. DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources. When detecting drift on a stack, CloudFormation does not detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself. + * Detects whether a stack's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. For each resource in the stack that supports drift detection, CloudFormation compares the actual configuration of the resource with its expected template configuration. Only resource properties explicitly defined in the stack template are checked for drift. A stack is considered to have drifted if one or more of its resources differ from their expected template configurations. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources. Use DetectStackDrift to detect drift on all supported resources for a given stack, or DetectStackResourceDrift to detect drift on individual resources. For a list of stack resources that currently support drift detection, see Resources that Support Drift Detection. DetectStackDrift can take up to several minutes, depending on the number of resources contained within the stack. Use DescribeStackDriftDetectionStatus to monitor the progress of a detect stack drift operation. Once the drift detection operation has completed, use DescribeStackResourceDrifts to return drift information about the stack and its resources. When detecting drift on a stack, CloudFormation doesn't detect drift on any nested stacks belonging to that stack. Perform DetectStackDrift directly on the nested stack itself. */ detectStackDrift(callback?: (err: AWSError, data: CloudFormation.Types.DetectStackDriftOutput) => void): Request; /** - * Returns information about whether a resource's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection. Resources that do not currently support drift detection cannot be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection. + * Returns information about whether a resource's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection. Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection. */ detectStackResourceDrift(params: CloudFormation.Types.DetectStackResourceDriftInput, callback?: (err: AWSError, data: CloudFormation.Types.DetectStackResourceDriftOutput) => void): Request; /** - * Returns information about whether a resource's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection. Resources that do not currently support drift detection cannot be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection. + * Returns information about whether a resource's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources. Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection. Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection. */ detectStackResourceDrift(callback?: (err: AWSError, data: CloudFormation.Types.DetectStackResourceDriftOutput) => void): Request; /** - * Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it performs drift detection on the stack associated with each stack instance in the stack set. For more information, see How CloudFormation Performs Drift Detection on a Stack Set. DetectStackSetDrift returns the OperationId of the stack set drift detection operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection operation. The drift detection operation may take some time, depending on the number of stack instances included in the stack set, as well as the number of resources included in each stack. Once the operation has completed, use the following actions to return drift information: Use DescribeStackSet to return detailed information about the stack set, including detailed information about the last completed drift operation performed on the stack set. (Information about drift operations that are in progress is not included.) Use ListStackInstances to return a list of stack instances belonging to the stack set, including the drift status and last drift time checked of each instance. Use DescribeStackInstance to return detailed information about a specific stack instance, including its drift status and last drift time checked. For more information on performing a drift detection operation on a stack set, see Detecting Unmanaged Changes in Stack Sets. You can only run a single drift detection operation on a given stack set at one time. To stop a drift detection stack set operation, use StopStackSetOperation . + * Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it performs drift detection on the stack associated with each stack instance in the stack set. For more information, see How CloudFormation performs drift detection on a stack set. DetectStackSetDrift returns the OperationId of the stack set drift detection operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection operation. The drift detection operation may take some time, depending on the number of stack instances included in the stack set, in addition to the number of resources included in each stack. Once the operation has completed, use the following actions to return drift information: Use DescribeStackSet to return detailed information about the stack set, including detailed information about the last completed drift operation performed on the stack set. (Information about drift operations that are in progress isn't included.) Use ListStackInstances to return a list of stack instances belonging to the stack set, including the drift status and last drift time checked of each instance. Use DescribeStackInstance to return detailed information about a specific stack instance, including its drift status and last drift time checked. For more information on performing a drift detection operation on a stack set, see Detecting unmanaged changes in stack sets. You can only run a single drift detection operation on a given stack set at one time. To stop a drift detection stack set operation, use StopStackSetOperation . */ detectStackSetDrift(params: CloudFormation.Types.DetectStackSetDriftInput, callback?: (err: AWSError, data: CloudFormation.Types.DetectStackSetDriftOutput) => void): Request; /** - * Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it performs drift detection on the stack associated with each stack instance in the stack set. For more information, see How CloudFormation Performs Drift Detection on a Stack Set. DetectStackSetDrift returns the OperationId of the stack set drift detection operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection operation. The drift detection operation may take some time, depending on the number of stack instances included in the stack set, as well as the number of resources included in each stack. Once the operation has completed, use the following actions to return drift information: Use DescribeStackSet to return detailed information about the stack set, including detailed information about the last completed drift operation performed on the stack set. (Information about drift operations that are in progress is not included.) Use ListStackInstances to return a list of stack instances belonging to the stack set, including the drift status and last drift time checked of each instance. Use DescribeStackInstance to return detailed information about a specific stack instance, including its drift status and last drift time checked. For more information on performing a drift detection operation on a stack set, see Detecting Unmanaged Changes in Stack Sets. You can only run a single drift detection operation on a given stack set at one time. To stop a drift detection stack set operation, use StopStackSetOperation . + * Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it performs drift detection on the stack associated with each stack instance in the stack set. For more information, see How CloudFormation performs drift detection on a stack set. DetectStackSetDrift returns the OperationId of the stack set drift detection operation. Use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection operation. The drift detection operation may take some time, depending on the number of stack instances included in the stack set, in addition to the number of resources included in each stack. Once the operation has completed, use the following actions to return drift information: Use DescribeStackSet to return detailed information about the stack set, including detailed information about the last completed drift operation performed on the stack set. (Information about drift operations that are in progress isn't included.) Use ListStackInstances to return a list of stack instances belonging to the stack set, including the drift status and last drift time checked of each instance. Use DescribeStackInstance to return detailed information about a specific stack instance, including its drift status and last drift time checked. For more information on performing a drift detection operation on a stack set, see Detecting unmanaged changes in stack sets. You can only run a single drift detection operation on a given stack set at one time. To stop a drift detection stack set operation, use StopStackSetOperation . */ detectStackSetDrift(callback?: (err: AWSError, data: CloudFormation.Types.DetectStackSetDriftOutput) => void): Request; /** @@ -269,11 +277,11 @@ declare class CloudFormation extends Service { */ estimateTemplateCost(callback?: (err: AWSError, data: CloudFormation.Types.EstimateTemplateCostOutput) => void): Request; /** - * Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update. When you execute a change set, CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack. If a stack policy is associated with the stack, CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy. To create a change set for the entire stack hierachy, IncludeNestedStacks must have been set to True. + * Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update. When you execute a change set, CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack. If a stack policy is associated with the stack, CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy. To create a change set for the entire stack hierarchy, IncludeNestedStacks must have been set to True. */ executeChangeSet(params: CloudFormation.Types.ExecuteChangeSetInput, callback?: (err: AWSError, data: CloudFormation.Types.ExecuteChangeSetOutput) => void): Request; /** - * Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update. When you execute a change set, CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack. If a stack policy is associated with the stack, CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy. To create a change set for the entire stack hierachy, IncludeNestedStacks must have been set to True. + * Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update. When you execute a change set, CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack. If a stack policy is associated with the stack, CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy. To create a change set for the entire stack hierarchy, IncludeNestedStacks must have been set to True. */ executeChangeSet(callback?: (err: AWSError, data: CloudFormation.Types.ExecuteChangeSetOutput) => void): Request; /** @@ -285,27 +293,27 @@ declare class CloudFormation extends Service { */ getStackPolicy(callback?: (err: AWSError, data: CloudFormation.Types.GetStackPolicyOutput) => void): Request; /** - * Returns the template body for a specified stack. You can get the template for running or deleted stacks. For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned. + * Returns the template body for a specified stack. You can get the template for running or deleted stacks. For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted. If the template doesn't exist, a ValidationError is returned. */ getTemplate(params: CloudFormation.Types.GetTemplateInput, callback?: (err: AWSError, data: CloudFormation.Types.GetTemplateOutput) => void): Request; /** - * Returns the template body for a specified stack. You can get the template for running or deleted stacks. For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned. + * Returns the template body for a specified stack. You can get the template for running or deleted stacks. For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted. If the template doesn't exist, a ValidationError is returned. */ getTemplate(callback?: (err: AWSError, data: CloudFormation.Types.GetTemplateOutput) => void): Request; /** - * Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack or stack set. You can use the GetTemplateSummary action when you submit a template, or you can get template information for a stack set, or a running or deleted stack. For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned. + * Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack or stack set. You can use the GetTemplateSummary action when you submit a template, or you can get template information for a stack set, or a running or deleted stack. For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template doesn't exist, a ValidationError is returned. */ getTemplateSummary(params: CloudFormation.Types.GetTemplateSummaryInput, callback?: (err: AWSError, data: CloudFormation.Types.GetTemplateSummaryOutput) => void): Request; /** - * Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack or stack set. You can use the GetTemplateSummary action when you submit a template, or you can get template information for a stack set, or a running or deleted stack. For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned. + * Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack or stack set. You can use the GetTemplateSummary action when you submit a template, or you can get template information for a stack set, or a running or deleted stack. For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template doesn't exist, a ValidationError is returned. */ getTemplateSummary(callback?: (err: AWSError, data: CloudFormation.Types.GetTemplateSummaryOutput) => void): Request; /** - * Use the stack import operations for self-managed or service-managed StackSets. For self-managed StackSets, the import operation can import stacks in the administrator account or in different target accounts and Amazon Web Services Regions. For service-managed StackSets, the import operation can import any stack in the same AWS Organizations as the management account. The import operation can import up to 10 stacks using inline stack IDs or up to 10,000 stacks using an Amazon S3 object. + * Import existing stacks into a new stack sets. Use the stack import operation to import up to 10 stacks into a new stack set in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import. ImportStacksToStackSet is only supported by self-managed permissions. */ importStacksToStackSet(params: CloudFormation.Types.ImportStacksToStackSetInput, callback?: (err: AWSError, data: CloudFormation.Types.ImportStacksToStackSetOutput) => void): Request; /** - * Use the stack import operations for self-managed or service-managed StackSets. For self-managed StackSets, the import operation can import stacks in the administrator account or in different target accounts and Amazon Web Services Regions. For service-managed StackSets, the import operation can import any stack in the same AWS Organizations as the management account. The import operation can import up to 10 stacks using inline stack IDs or up to 10,000 stacks using an Amazon S3 object. + * Import existing stacks into a new stack sets. Use the stack import operation to import up to 10 stacks into a new stack set in the same account as the source stack or in a different administrator account and Region, by specifying the stack ID of the stack you intend to import. ImportStacksToStackSet is only supported by self-managed permissions. */ importStacksToStackSet(callback?: (err: AWSError, data: CloudFormation.Types.ImportStacksToStackSetOutput) => void): Request; /** @@ -317,11 +325,11 @@ declare class CloudFormation extends Service { */ listChangeSets(callback?: (err: AWSError, data: CloudFormation.Types.ListChangeSetsOutput) => void): Request; /** - * Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function. For more information, see CloudFormation Export Stack Output Values. + * Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function. For more information, see CloudFormation export stack output values. */ listExports(params: CloudFormation.Types.ListExportsInput, callback?: (err: AWSError, data: CloudFormation.Types.ListExportsOutput) => void): Request; /** - * Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function. For more information, see CloudFormation Export Stack Output Values. + * Lists all exported output values in the account and Region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue function. For more information, see CloudFormation export stack output values. */ listExports(callback?: (err: AWSError, data: CloudFormation.Types.ListExportsOutput) => void): Request; /** @@ -349,19 +357,19 @@ declare class CloudFormation extends Service { */ listStackResources(callback?: (err: AWSError, data: CloudFormation.Types.ListStackResourcesOutput) => void): Request; /** - * Returns summary information about the results of a stack set operation. + * Returns summary information about the results of a stack set operation. */ listStackSetOperationResults(params: CloudFormation.Types.ListStackSetOperationResultsInput, callback?: (err: AWSError, data: CloudFormation.Types.ListStackSetOperationResultsOutput) => void): Request; /** - * Returns summary information about the results of a stack set operation. + * Returns summary information about the results of a stack set operation. */ listStackSetOperationResults(callback?: (err: AWSError, data: CloudFormation.Types.ListStackSetOperationResultsOutput) => void): Request; /** - * Returns summary information about operations performed on a stack set. + * Returns summary information about operations performed on a stack set. */ listStackSetOperations(params: CloudFormation.Types.ListStackSetOperationsInput, callback?: (err: AWSError, data: CloudFormation.Types.ListStackSetOperationsOutput) => void): Request; /** - * Returns summary information about operations performed on a stack set. + * Returns summary information about operations performed on a stack set. */ listStackSetOperations(callback?: (err: AWSError, data: CloudFormation.Types.ListStackSetOperationsOutput) => void): Request; /** @@ -413,11 +421,11 @@ declare class CloudFormation extends Service { */ publishType(callback?: (err: AWSError, data: CloudFormation.Types.PublishTypeOutput) => void): Request; /** - * Reports progress of a resource handler to CloudFormation. Reserved for use by the CloudFormation CLI. Do not use this API in your code. + * Reports progress of a resource handler to CloudFormation. Reserved for use by the CloudFormation CLI. Don't use this API in your code. */ recordHandlerProgress(params: CloudFormation.Types.RecordHandlerProgressInput, callback?: (err: AWSError, data: CloudFormation.Types.RecordHandlerProgressOutput) => void): Request; /** - * Reports progress of a resource handler to CloudFormation. Reserved for use by the CloudFormation CLI. Do not use this API in your code. + * Reports progress of a resource handler to CloudFormation. Reserved for use by the CloudFormation CLI. Don't use this API in your code. */ recordHandlerProgress(callback?: (err: AWSError, data: CloudFormation.Types.RecordHandlerProgressOutput) => void): Request; /** @@ -429,19 +437,19 @@ declare class CloudFormation extends Service { */ registerPublisher(callback?: (err: AWSError, data: CloudFormation.Types.RegisterPublisherOutput) => void): Request; /** - * Registers an extension with the CloudFormation service. Registering an extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes: Validating the extension schema Determining which handlers, if any, have been specified for the extension Making the extension available for use in your account For more information on how to develop extensions and ready them for registeration, see Creating Resource Providers in the CloudFormation CLI User Guide. You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and per region. Use DeregisterType to deregister specific extension versions if necessary. Once you have initiated a registration request using RegisterType , you can use DescribeTypeRegistration to monitor the progress of the registration request. Once you have registered a private extension in your account and region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Configuring extensions at the account level in the CloudFormation User Guide. + * Registers an extension with the CloudFormation service. Registering an extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes: Validating the extension schema. Determining which handlers, if any, have been specified for the extension. Making the extension available for use in your account. For more information on how to develop extensions and ready them for registration, see Creating Resource Providers in the CloudFormation CLI User Guide. You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and per region. Use DeregisterType to deregister specific extension versions if necessary. Once you have initiated a registration request using RegisterType , you can use DescribeTypeRegistration to monitor the progress of the registration request. Once you have registered a private extension in your account and region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Configuring extensions at the account level in the CloudFormation User Guide. */ registerType(params: CloudFormation.Types.RegisterTypeInput, callback?: (err: AWSError, data: CloudFormation.Types.RegisterTypeOutput) => void): Request; /** - * Registers an extension with the CloudFormation service. Registering an extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes: Validating the extension schema Determining which handlers, if any, have been specified for the extension Making the extension available for use in your account For more information on how to develop extensions and ready them for registeration, see Creating Resource Providers in the CloudFormation CLI User Guide. You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and per region. Use DeregisterType to deregister specific extension versions if necessary. Once you have initiated a registration request using RegisterType , you can use DescribeTypeRegistration to monitor the progress of the registration request. Once you have registered a private extension in your account and region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Configuring extensions at the account level in the CloudFormation User Guide. + * Registers an extension with the CloudFormation service. Registering an extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes: Validating the extension schema. Determining which handlers, if any, have been specified for the extension. Making the extension available for use in your account. For more information on how to develop extensions and ready them for registration, see Creating Resource Providers in the CloudFormation CLI User Guide. You can have a maximum of 50 resource extension versions registered at a time. This maximum is per account and per region. Use DeregisterType to deregister specific extension versions if necessary. Once you have initiated a registration request using RegisterType , you can use DescribeTypeRegistration to monitor the progress of the registration request. Once you have registered a private extension in your account and region, use SetTypeConfiguration to specify configuration properties for the extension. For more information, see Configuring extensions at the account level in the CloudFormation User Guide. */ registerType(callback?: (err: AWSError, data: CloudFormation.Types.RegisterTypeOutput) => void): Request; /** - * When specifying RollbackStack, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the DescribeStacks API. Rolls back the specified stack to the last known stable state from CREATE_FAILED or UPDATE_FAILED stack statuses. This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state includes any status in a *_COMPLETE. This includes the following stack statuses. CREATE_COMPLETE UPDATE_COMPLETE UPDATE_ROLLBACK_COMPLETE IMPORT_COMPLETE IMPORT_ROLLBACK_COMPLETE + * When specifying RollbackStack, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the DescribeStacks operation. Rolls back the specified stack to the last known stable state from CREATE_FAILED or UPDATE_FAILED stack statuses. This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state includes any status in a *_COMPLETE. This includes the following stack statuses. CREATE_COMPLETE UPDATE_COMPLETE UPDATE_ROLLBACK_COMPLETE IMPORT_COMPLETE IMPORT_ROLLBACK_COMPLETE */ rollbackStack(params: CloudFormation.Types.RollbackStackInput, callback?: (err: AWSError, data: CloudFormation.Types.RollbackStackOutput) => void): Request; /** - * When specifying RollbackStack, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the DescribeStacks API. Rolls back the specified stack to the last known stable state from CREATE_FAILED or UPDATE_FAILED stack statuses. This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state includes any status in a *_COMPLETE. This includes the following stack statuses. CREATE_COMPLETE UPDATE_COMPLETE UPDATE_ROLLBACK_COMPLETE IMPORT_COMPLETE IMPORT_ROLLBACK_COMPLETE + * When specifying RollbackStack, you preserve the state of previously provisioned resources when an operation fails. You can check the status of the stack through the DescribeStacks operation. Rolls back the specified stack to the last known stable state from CREATE_FAILED or UPDATE_FAILED stack statuses. This operation will delete a stack if it doesn't contain a last known stable state. A last known stable state includes any status in a *_COMPLETE. This includes the following stack statuses. CREATE_COMPLETE UPDATE_COMPLETE UPDATE_ROLLBACK_COMPLETE IMPORT_COMPLETE IMPORT_ROLLBACK_COMPLETE */ rollbackStack(callback?: (err: AWSError, data: CloudFormation.Types.RollbackStackOutput) => void): Request; /** @@ -453,11 +461,11 @@ declare class CloudFormation extends Service { */ setStackPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Specifies the configuration data for a registered CloudFormation extension, in the given account and region. To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType. For more information, see Configuring extensions at the account level in the CloudFormation User Guide. It is strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more details on dynamic references, see Using dynamic references to specify template values in the CloudFormation User Guide. + * Specifies the configuration data for a registered CloudFormation extension, in the given account and region. To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType. For more information, see Configuring extensions at the account level in the CloudFormation User Guide. It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more details on dynamic references, see Using dynamic references to specify template values in the CloudFormation User Guide. */ setTypeConfiguration(params: CloudFormation.Types.SetTypeConfigurationInput, callback?: (err: AWSError, data: CloudFormation.Types.SetTypeConfigurationOutput) => void): Request; /** - * Specifies the configuration data for a registered CloudFormation extension, in the given account and region. To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType. For more information, see Configuring extensions at the account level in the CloudFormation User Guide. It is strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more details on dynamic references, see Using dynamic references to specify template values in the CloudFormation User Guide. + * Specifies the configuration data for a registered CloudFormation extension, in the given account and region. To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType. For more information, see Configuring extensions at the account level in the CloudFormation User Guide. It's strongly recommended that you use dynamic references to restrict sensitive configuration definitions, such as third-party credentials. For more details on dynamic references, see Using dynamic references to specify template values in the CloudFormation User Guide. */ setTypeConfiguration(callback?: (err: AWSError, data: CloudFormation.Types.SetTypeConfigurationOutput) => void): Request; /** @@ -469,59 +477,59 @@ declare class CloudFormation extends Service { */ setTypeDefaultVersion(callback?: (err: AWSError, data: CloudFormation.Types.SetTypeDefaultVersionOutput) => void): Request; /** - * Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance. + * Sends a signal to the specified resource with a success or failure status. You can use the SignalResource operation in conjunction with a creation policy or update policy. CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource operation is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance. */ signalResource(params: CloudFormation.Types.SignalResourceInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance. + * Sends a signal to the specified resource with a success or failure status. You can use the SignalResource operation in conjunction with a creation policy or update policy. CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource operation is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance. */ signalResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Stops an in-progress operation on a stack set and its associated stack instances. + * Stops an in-progress operation on a stack set and its associated stack instances. StackSets will cancel all the unstarted stack instance deployments and wait for those are in-progress to complete. */ stopStackSetOperation(params: CloudFormation.Types.StopStackSetOperationInput, callback?: (err: AWSError, data: CloudFormation.Types.StopStackSetOperationOutput) => void): Request; /** - * Stops an in-progress operation on a stack set and its associated stack instances. + * Stops an in-progress operation on a stack set and its associated stack instances. StackSets will cancel all the unstarted stack instance deployments and wait for those are in-progress to complete. */ stopStackSetOperation(callback?: (err: AWSError, data: CloudFormation.Types.StopStackSetOperationOutput) => void): Request; /** - * Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry. For resource types, this includes passing all contracts tests defined for the type. For modules, this includes determining if the module's model meets all necessary requirements. For more information, see Testing your public extension prior to publishing in the CloudFormation CLI User Guide. If you do not specify a version, CloudFormation uses the default version of the extension in your account and region for testing. To perform testing, CloudFormation assumes the execution role specified when the type was registered. For more information, see RegisterType. Once you've initiated testing on an extension using TestType, you can use DescribeType to monitor the current test status and test status description for the extension. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation CLI User Guide. + * Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry. For resource types, this includes passing all contracts tests defined for the type. For modules, this includes determining if the module's model meets all necessary requirements. For more information, see Testing your public extension prior to publishing in the CloudFormation CLI User Guide. If you don't specify a version, CloudFormation uses the default version of the extension in your account and region for testing. To perform testing, CloudFormation assumes the execution role specified when the type was registered. For more information, see RegisterType. Once you've initiated testing on an extension using TestType, you can use DescribeType to monitor the current test status and test status description for the extension. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation CLI User Guide. */ testType(params: CloudFormation.Types.TestTypeInput, callback?: (err: AWSError, data: CloudFormation.Types.TestTypeOutput) => void): Request; /** - * Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry. For resource types, this includes passing all contracts tests defined for the type. For modules, this includes determining if the module's model meets all necessary requirements. For more information, see Testing your public extension prior to publishing in the CloudFormation CLI User Guide. If you do not specify a version, CloudFormation uses the default version of the extension in your account and region for testing. To perform testing, CloudFormation assumes the execution role specified when the type was registered. For more information, see RegisterType. Once you've initiated testing on an extension using TestType, you can use DescribeType to monitor the current test status and test status description for the extension. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation CLI User Guide. + * Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry. For resource types, this includes passing all contracts tests defined for the type. For modules, this includes determining if the module's model meets all necessary requirements. For more information, see Testing your public extension prior to publishing in the CloudFormation CLI User Guide. If you don't specify a version, CloudFormation uses the default version of the extension in your account and region for testing. To perform testing, CloudFormation assumes the execution role specified when the type was registered. For more information, see RegisterType. Once you've initiated testing on an extension using TestType, you can use DescribeType to monitor the current test status and test status description for the extension. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation CLI User Guide. */ testType(callback?: (err: AWSError, data: CloudFormation.Types.TestTypeOutput) => void): Request; /** - * Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action. To get a copy of the template for an existing stack, you can use the GetTemplate action. For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack. + * Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack through the DescribeStacks action. To get a copy of the template for an existing stack, you can use the GetTemplate action. For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack. */ updateStack(params: CloudFormation.Types.UpdateStackInput, callback?: (err: AWSError, data: CloudFormation.Types.UpdateStackOutput) => void): Request; /** - * Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action. To get a copy of the template for an existing stack, you can use the GetTemplate action. For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack. + * Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack through the DescribeStacks action. To get a copy of the template for an existing stack, you can use the GetTemplate action. For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack. */ updateStack(callback?: (err: AWSError, data: CloudFormation.Types.UpdateStackOutput) => void): Request; /** - * Updates the parameter values for stack instances for the specified accounts, within the specified Regions. A stack instance refers to a stack in a specific account and Region. You can only update stack instances in Regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances. During stack set updates, any parameters overridden for a stack instance are not updated, but retain their overridden value. You can only update the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances. + * Updates the parameter values for stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region. You can only update stack instances in Amazon Web Services Regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances. During stack set updates, any parameters overridden for a stack instance aren't updated, but retain their overridden value. You can only update the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances. */ updateStackInstances(params: CloudFormation.Types.UpdateStackInstancesInput, callback?: (err: AWSError, data: CloudFormation.Types.UpdateStackInstancesOutput) => void): Request; /** - * Updates the parameter values for stack instances for the specified accounts, within the specified Regions. A stack instance refers to a stack in a specific account and Region. You can only update stack instances in Regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances. During stack set updates, any parameters overridden for a stack instance are not updated, but retain their overridden value. You can only update the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances. + * Updates the parameter values for stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region. You can only update stack instances in Amazon Web Services Regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances. During stack set updates, any parameters overridden for a stack instance aren't updated, but retain their overridden value. You can only update the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances. */ updateStackInstances(callback?: (err: AWSError, data: CloudFormation.Types.UpdateStackInstancesOutput) => void): Request; /** - * Updates the stack set, and associated stack instances in the specified accounts and Regions. Even if the stack set operation created by updating the stack set fails (completely or partially, below or above a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set. + * Updates the stack set, and associated stack instances in the specified accounts and Amazon Web Services Regions. Even if the stack set operation created by updating the stack set fails (completely or partially, below or above a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set. */ updateStackSet(params: CloudFormation.Types.UpdateStackSetInput, callback?: (err: AWSError, data: CloudFormation.Types.UpdateStackSetOutput) => void): Request; /** - * Updates the stack set, and associated stack instances in the specified accounts and Regions. Even if the stack set operation created by updating the stack set fails (completely or partially, below or above a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set. + * Updates the stack set, and associated stack instances in the specified accounts and Amazon Web Services Regions. Even if the stack set operation created by updating the stack set fails (completely or partially, below or above a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set. */ updateStackSet(callback?: (err: AWSError, data: CloudFormation.Types.UpdateStackSetOutput) => void): Request; /** - * Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. + * Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. */ updateTerminationProtection(params: CloudFormation.Types.UpdateTerminationProtectionInput, callback?: (err: AWSError, data: CloudFormation.Types.UpdateTerminationProtectionOutput) => void): Request; /** - * Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. + * Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. */ updateTerminationProtection(callback?: (err: AWSError, data: CloudFormation.Types.UpdateTerminationProtectionOutput) => void): Request; /** @@ -602,7 +610,7 @@ declare namespace CloudFormation { export type Account = string; export interface AccountGateResult { /** - * The status of the account gate function. SUCCEEDED: The account gate function has determined that the account and Region passes any requirements for a stack set operation to occur. CloudFormation proceeds with the stack operation in that account and Region. FAILED: The account gate function has determined that the account and Region does not meet the requirements for a stack set operation to occur. AWS CloudFormation cancels the stack set operation in that account and Region, and sets the stack set operation result status for that account and Region to FAILED. SKIPPED: CloudFormation has skipped calling the account gate function for this account and Region, for one of the following reasons: An account gate function has not been specified for the account and Region. CloudFormation proceeds with the stack set operation in this account and Region. The AWSCloudFormationStackSetExecutionRole of the stack set adminstration account lacks permissions to invoke the function. CloudFormation proceeds with the stack set operation in this account and Region. Either no action is necessary, or no action is possible, on the stack. CloudFormation skips the stack set operation in this account and Region. + * The status of the account gate function. SUCCEEDED: The account gate function has determined that the account and Region passes any requirements for a stack set operation to occur. CloudFormation proceeds with the stack operation in that account and Region. FAILED: The account gate function has determined that the account and Region doesn't meet the requirements for a stack set operation to occur. CloudFormation cancels the stack set operation in that account and Region, and sets the stack set operation result status for that account and Region to FAILED. SKIPPED: CloudFormation has skipped calling the account gate function for this account and Region, for one of the following reasons: An account gate function hasn't been specified for the account and Region. CloudFormation proceeds with the stack set operation in this account and Region. The AWSCloudFormationStackSetExecutionRole of the stack set administration account lacks permissions to invoke the function. CloudFormation proceeds with the stack set operation in this account and Region. Either no action is necessary, or no action is possible, on the stack. CloudFormation skips the stack set operation in this account and Region. */ Status?: AccountGateStatus; /** @@ -618,7 +626,7 @@ declare namespace CloudFormation { */ Name?: LimitName; /** - * The value that is associated with the account limit name. + * The value that's associated with the account limit name. */ Value?: LimitValue; } @@ -722,7 +730,7 @@ declare namespace CloudFormation { export type CallAs = "SELF"|"DELEGATED_ADMIN"|string; export interface CancelUpdateStackInput { /** - * The name or the unique stack ID that is associated with the stack. + * The name or the unique stack ID that's associated with the stack. */ StackName: StackName; /** @@ -740,12 +748,68 @@ declare namespace CloudFormation { * The type of entity that CloudFormation changes. Currently, the only entity type is Resource. */ Type?: ChangeType; + /** + * Is either null, if no hooks invoke for the resource, or contains the number of hooks that will invoke for the resource. + */ + HookInvocationCount?: HookInvocationCount; /** * A ResourceChange structure that describes the resource and action that CloudFormation will perform. */ ResourceChange?: ResourceChange; } export type ChangeAction = "Add"|"Modify"|"Remove"|"Import"|"Dynamic"|string; + export interface ChangeSetHook { + /** + * Specifies the points in provisioning logic where a hook is invoked. + */ + InvocationPoint?: HookInvocationPoint; + /** + * Specify the hook failure mode for non-compliant resources in the followings ways. FAIL Stops provisioning resources. WARN Allows provisioning to continue with a warning message. + */ + FailureMode?: HookFailureMode; + /** + * The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of Organization::Service::Hook. The following organization namespaces are reserved and can't be used in your hook type names: Alexa AMZN Amazon ASK AWS Custom Dev + */ + TypeName?: HookTypeName; + /** + * The version ID of the type specified. + */ + TypeVersionId?: HookTypeVersionId; + /** + * The version ID of the type configuration. + */ + TypeConfigurationVersionId?: HookTypeConfigurationVersionId; + /** + * Specifies details about the target that the hook will run against. + */ + TargetDetails?: ChangeSetHookTargetDetails; + } + export interface ChangeSetHookResourceTargetDetails { + /** + * The resource's logical ID, which is defined in the stack's template. + */ + LogicalResourceId?: LogicalResourceId; + /** + * The type of CloudFormation resource, such as AWS::S3::Bucket. + */ + ResourceType?: HookTargetTypeName; + /** + * Specifies the action of the resource. + */ + ResourceAction?: ChangeAction; + } + export interface ChangeSetHookTargetDetails { + /** + * The name of the type. + */ + TargetType?: HookTargetType; + /** + * Required if TargetType is RESOURCE. + */ + ResourceTargetDetails?: ChangeSetHookResourceTargetDetails; + } + export type ChangeSetHooks = ChangeSetHook[]; + export type ChangeSetHooksStatus = "PLANNING"|"PLANNED"|"UNAVAILABLE"|string; export type ChangeSetId = string; export type ChangeSetName = string; export type ChangeSetNameOrId = string; @@ -770,7 +834,7 @@ declare namespace CloudFormation { */ ChangeSetName?: ChangeSetName; /** - * If the change set execution status is AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated. + * If the change set execution status is AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated. */ ExecutionStatus?: ExecutionStatus; /** @@ -816,11 +880,11 @@ declare namespace CloudFormation { */ StackName: StackNameOrId; /** - * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials. + * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to roll back the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials. */ RoleARN?: RoleARN; /** - * A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was cancelled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason. Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable. Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources. To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED. Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. + * A list of the logical IDs of the resources that CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason. Specify this property to skip rolling back resources that CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable. Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources. To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED. Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy. */ ResourcesToSkip?: ResourcesToSkip; /** @@ -840,11 +904,11 @@ declare namespace CloudFormation { */ TemplateBody?: TemplateBody; /** - * The location of the file that contains the revised template. The URL must point to a template (max size: 460,800 bytes) that is located in an S3 bucket or a Systems Manager document. CloudFormation generates the change set by comparing this template with the stack that you specified. Conditional: You must specify only TemplateBody or TemplateURL. + * The location of the file that contains the revised template. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. CloudFormation generates the change set by comparing this template with the stack that you specified. Conditional: You must specify only TemplateBody or TemplateURL. */ TemplateURL?: TemplateURL; /** - * Whether to reuse the template that is associated with the stack to create the change set. + * Whether to reuse the template that's associated with the stack to create the change set. */ UsePreviousTemplate?: UsePreviousTemplate; /** @@ -852,15 +916,15 @@ declare namespace CloudFormation { */ Parameters?: Parameters; /** - * In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. This capacity does not apply to creating change sets, and specifying it when creating change sets has no effect. If you want to create a stack from a stack template that contains macros and nested stacks, you must create or update the stack directly from the template using the CreateStack or UpdateStack action, and specifying this capability. For more information on macros, see Using CloudFormation Macros to Perform Custom Processing on Templates. + * In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM resources in CloudFormation templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. This capacity doesn't apply to creating change sets, and specifying it when creating change sets has no effect. If you want to create a stack from a stack template that contains macros and nested stacks, you must create or update the stack directly from the template using the CreateStack or UpdateStack action, and specifying this capability. For more information on macros, see Using CloudFormation macros to perform custom processing on templates. */ Capabilities?: Capabilities; /** - * The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling Access with Identity and Access Management in the CloudFormation User Guide. + * The template resource types that you have permissions to work with if you execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance. If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for CloudFormation. For more information, see Controlling access with Identity and Access Management in the CloudFormation User Guide. */ ResourceTypes?: ResourceTypes; /** - * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials. + * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes when executing the change set. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least permission. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials. */ RoleARN?: RoleARN; /** @@ -876,7 +940,7 @@ declare namespace CloudFormation { */ Tags?: Tags; /** - * The name of the change set. The name must be unique among all change sets that are associated with the specified stack. A change set name can contain only alphanumeric, case sensitive characters and hyphens. It must start with an alphabetic character and cannot exceed 128 characters. + * The name of the change set. The name must be unique among all change sets that are associated with the specified stack. A change set name can contain only alphanumeric, case sensitive characters, and hyphens. It must start with an alphabetical character and can't exceed 128 characters. */ ChangeSetName: ChangeSetName; /** @@ -912,15 +976,15 @@ declare namespace CloudFormation { } export interface CreateStackInput { /** - * The name that is associated with the stack. The name must be unique in the Region in which you are creating the stack. A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetical character and cannot be longer than 128 characters. + * The name that's associated with the stack. The name must be unique in the Region in which you are creating the stack. A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an alphabetical character and can't be longer than 128 characters. */ StackName: StackName; /** - * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both. + * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template anatomy in the CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both. */ TemplateBody?: TemplateBody; /** - * Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template Anatomy in the CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both. + * Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the Template anatomy in the CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both. */ TemplateURL?: TemplateURL; /** @@ -940,11 +1004,11 @@ declare namespace CloudFormation { */ TimeoutInMinutes?: TimeoutMinutes; /** - * The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the SNS console or your Command Line Interface (CLI). + * The Amazon Simple Notification Service (Amazon SNS) topic ARNs to publish stack related events. You can find your Amazon SNS topic ARNs using the Amazon SNS console or your Command Line Interface (CLI). */ NotificationARNs?: NotificationARNs; /** - * In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. If you want to create a stack from a stack template that contains macros and nested stacks, you must create the stack directly from the template using this capability. You should only create stacks directly from a stack template that contains macros if you know what processing the macro performs. Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates. + * In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually creating the stack. If your stack template contains one or more macros, and you choose to create a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. If you want to create a stack from a stack template that contains macros and nested stacks, you must create the stack directly from the template using this capability. You should only create stacks directly from a stack template that contains macros if you know what processing the macro performs. Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified. For more information, see Using CloudFormation macros to perform custom processing on templates. */ Capabilities?: Capabilities; /** @@ -952,7 +1016,7 @@ declare namespace CloudFormation { */ ResourceTypes?: ResourceTypes; /** - * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials. + * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to create the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials. */ RoleARN?: RoleARN; /** @@ -972,11 +1036,11 @@ declare namespace CloudFormation { */ Tags?: Tags; /** - * A unique identifier for this CreateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create a stack with the same name. You might retry CreateStack requests to ensure that CloudFormation successfully received them. All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. + * A unique identifier for this CreateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to create a stack with the same name. You might retry CreateStack requests to ensure that CloudFormation successfully received them. All events initiated by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. */ ClientRequestToken?: ClientRequestToken; /** - * Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is disabled on stacks by default. For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. + * Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default. For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack. */ EnableTerminationProtection?: EnableTerminationProtection; } @@ -990,15 +1054,15 @@ declare namespace CloudFormation { */ Accounts?: AccountList; /** - * [Service-managed permissions] The Organizations accounts for which to create stack instances in the specified Regions. You can specify Accounts or DeploymentTargets, but not both. + * [Service-managed permissions] The Organizations accounts for which to create stack instances in the specified Amazon Web Services Regions. You can specify Accounts or DeploymentTargets, but not both. */ DeploymentTargets?: DeploymentTargets; /** - * The names of one or more Regions where you want to create stack instances using the specified Amazon Web Services accounts. + * The names of one or more Amazon Web Services Regions where you want to create stack instances using the specified Amazon Web Services accounts. */ Regions: RegionList; /** - * A list of stack set parameters whose values you want to override in the selected stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance operations: To override the current value for a parameter, include the parameter and specify its value. To leave an overridden parameter set to its present value, include the parameter and specify UsePreviousValue as true. (You cannot specify both a value and set UsePreviousValue to true.) To set an overridden parameter back to the value specified in the stack set, specify a parameter list but do not include the parameter in the list. To leave all parameters set to their present values, do not specify this property at all. During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value. You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. + * A list of stack set parameters whose values you want to override in the selected stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance operations: To override the current value for a parameter, include the parameter and specify its value. To leave an overridden parameter set to its present value, include the parameter and specify UsePreviousValue as true. (You can't specify both a value and set UsePreviousValue to true.) To set an overridden parameter back to the value specified in the stack set, specify a parameter list but don't include the parameter in the list. To leave all parameters set to their present values, don't specify this property at all. During stack set updates, any parameter values overridden for a stack instance aren't updated, but retain their overridden value. You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. */ ParameterOverrides?: Parameters; /** @@ -1052,7 +1116,7 @@ declare namespace CloudFormation { */ Parameters?: Parameters; /** - * In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for CloudFormation to create the stack set and related stack instances. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates. Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail. + * In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for CloudFormation to create the stack set and related stack instances. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some templates reference macros. If your stack set template references one or more macros, you must create the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To create the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates. Stack sets with service-managed permissions don't currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail. */ Capabilities?: Capabilities; /** @@ -1060,11 +1124,11 @@ declare namespace CloudFormation { */ Tags?: Tags; /** - * The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the CloudFormation User Guide. + * The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Prerequisites: Granting Permissions for Stack Set Operations in the CloudFormation User Guide. */ AdministrationRoleARN?: RoleARN; /** - * The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation. Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their stack sets. + * The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation. Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their stack sets. */ ExecutionRoleName?: ExecutionRoleName; /** @@ -1117,7 +1181,7 @@ declare namespace CloudFormation { */ ChangeSetName: ChangeSetNameOrId; /** - * If you specified the name of a change set to delete, specify the stack name or ID (ARN) that is associated with it. + * If you specified the name of a change set to delete, specify the stack name or Amazon Resource Name (ARN) that's associated with it. */ StackName?: StackNameOrId; } @@ -1125,19 +1189,19 @@ declare namespace CloudFormation { } export interface DeleteStackInput { /** - * The name or the unique stack ID that is associated with the stack. + * The name or the unique stack ID that's associated with the stack. */ StackName: StackName; /** - * For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, CloudFormation deletes the stack but does not delete the retained resources. Retaining resources is useful when you cannot delete a resource, such as a non-empty S3 bucket, but you want to delete the stack. + * For stacks in the DELETE_FAILED state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, CloudFormation deletes the stack but doesn't delete the retained resources. Retaining resources is useful when you can't delete a resource, such as a non-empty S3 bucket, but you want to delete the stack. */ RetainResources?: RetainResources; /** - * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials. + * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to delete the stack. CloudFormation uses the role's credentials to make calls on your behalf. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that's generated from your user credentials. */ RoleARN?: RoleARN; /** - * A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that CloudFormation successfully received them. All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. + * A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that CloudFormation successfully received them. All events initiated by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. */ ClientRequestToken?: ClientRequestToken; } @@ -1155,7 +1219,7 @@ declare namespace CloudFormation { */ DeploymentTargets?: DeploymentTargets; /** - * The Regions where you want to delete stack set instances. + * The Amazon Web Services Regions where you want to delete stack set instances. */ Regions: RegionList; /** @@ -1245,6 +1309,54 @@ declare namespace CloudFormation { */ NextToken?: NextToken; } + export interface DescribeChangeSetHooksInput { + /** + * The name or Amazon Resource Name (ARN) of the change set that you want to describe. + */ + ChangeSetName: ChangeSetNameOrId; + /** + * If you specified the name of a change set, specify the stack name or stack ID (ARN) of the change set you want to describe. + */ + StackName?: StackNameOrId; + /** + * A string, provided by the DescribeChangeSetHooks response output, that identifies the next page of information that you want to retrieve. + */ + NextToken?: NextToken; + /** + * If specified, lists only the hooks related to the specified LogicalResourceId. + */ + LogicalResourceId?: LogicalResourceId; + } + export interface DescribeChangeSetHooksOutput { + /** + * The change set identifier (stack ID). + */ + ChangeSetId?: ChangeSetId; + /** + * The change set name. + */ + ChangeSetName?: ChangeSetName; + /** + * List of hook objects. + */ + Hooks?: ChangeSetHooks; + /** + * Provides the status of the change set hook. + */ + Status?: ChangeSetHooksStatus; + /** + * Pagination token, null or empty if no more results. + */ + NextToken?: NextToken; + /** + * The stack identifier (stack ID). + */ + StackId?: StackId; + /** + * The stack name. + */ + StackName?: StackName; + } export interface DescribeChangeSetInput { /** * The name or Amazon Resource Name (ARN) of the change set that you want to describe. @@ -1265,15 +1377,15 @@ declare namespace CloudFormation { */ ChangeSetName?: ChangeSetName; /** - * The ARN of the change set. + * The Amazon Resource Name (ARN) of the change set. */ ChangeSetId?: ChangeSetId; /** - * The ARN of the stack that is associated with the change set. + * The Amazon Resource Name (ARN) of the stack that's associated with the change set. */ StackId?: StackId; /** - * The name of the stack that is associated with the change set. + * The name of the stack that's associated with the change set. */ StackName?: StackName; /** @@ -1289,7 +1401,7 @@ declare namespace CloudFormation { */ CreationTime?: CreationTime; /** - * If the change set execution status is AVAILABLE, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated. + * If the change set execution status is AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated. */ ExecutionStatus?: ExecutionStatus; /** @@ -1339,7 +1451,7 @@ declare namespace CloudFormation { } export interface DescribePublisherInput { /** - * The ID of the extension publisher. If you do not supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account. + * The ID of the extension publisher. If you don't supply a PublisherId, and you have registered as an extension publisher, DescribePublisher returns information about your own publisher account. */ PublisherId?: PublisherId; } @@ -1377,11 +1489,11 @@ declare namespace CloudFormation { */ StackDriftDetectionId: StackDriftDetectionId; /** - * Status of the stack's actual configuration compared to its expected configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation has not checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: This value is reserved for future use. + * Status of the stack's actual configuration compared to its expected configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: This value is reserved for future use. */ StackDriftStatus?: StackDriftStatus; /** - * The status of the stack drift detection operation. DETECTION_COMPLETE: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that do not currently support stack detection remain unchecked.) If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift. DETECTION_FAILED: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. DETECTION_IN_PROGRESS: The stack drift detection operation is currently in progress. + * The status of the stack drift detection operation. DETECTION_COMPLETE: The stack drift detection operation has successfully completed for all resources in the stack that support drift detection. (Resources that don't currently support stack detection remain unchecked.) If you specified logical resource IDs for CloudFormation to use as a filter for the stack drift detection operation, only the resources with those logical IDs are checked for drift. DETECTION_FAILED: The stack drift detection operation has failed for at least one resource in the stack. Results will be available for resources on which CloudFormation successfully completed drift detection. DETECTION_IN_PROGRESS: The stack drift detection operation is currently in progress. */ DetectionStatus: StackDriftDetectionStatus; /** @@ -1399,7 +1511,7 @@ declare namespace CloudFormation { } export interface DescribeStackEventsInput { /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. + * The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. */ StackName?: StackName; /** @@ -1447,7 +1559,7 @@ declare namespace CloudFormation { */ StackName: StackNameOrId; /** - * The resource drift status values to use as filters for the resource drift results returned. DELETED: The resource differs from its expected template configuration in that the resource has been deleted. MODIFIED: One or more resource properties differ from their expected template values. IN_SYNC: The resources's actual configuration matches its expected template configuration. NOT_CHECKED: CloudFormation does not currently return this value. + * The resource drift status values to use as filters for the resource drift results returned. DELETED: The resource differs from its expected template configuration in that the resource has been deleted. MODIFIED: One or more resource properties differ from their expected template values. IN_SYNC: The resource's actual configuration matches its expected template configuration. NOT_CHECKED: CloudFormation doesn't currently return this value. */ StackResourceDriftStatusFilters?: StackResourceDriftStatusFilters; /** @@ -1461,7 +1573,7 @@ declare namespace CloudFormation { } export interface DescribeStackResourceDriftsOutput { /** - * Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that have not yet been checked for drift are not included. Resources that do not currently support drift detection are not checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection. + * Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift. For a given stack, there will be one StackResourceDrift for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resources that Support Drift Detection. */ StackResourceDrifts: StackResourceDrifts; /** @@ -1471,7 +1583,7 @@ declare namespace CloudFormation { } export interface DescribeStackResourceInput { /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. + * The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. */ StackName: StackName; /** @@ -1487,7 +1599,7 @@ declare namespace CloudFormation { } export interface DescribeStackResourcesInput { /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. Required: Conditional. If you do not specify StackName, you must specify PhysicalResourceId. + * The name or the unique stack ID that is associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. Required: Conditional. If you don't specify StackName, you must specify PhysicalResourceId. */ StackName?: StackName; /** @@ -1495,7 +1607,7 @@ declare namespace CloudFormation { */ LogicalResourceId?: LogicalResourceId; /** - * The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation. For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance belongs to and what other resources are part of the stack. Required: Conditional. If you do not specify PhysicalResourceId, you must specify StackName. Default: There is no default value. + * The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation. For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance belongs to and what other resources are part of the stack. Required: Conditional. If you don't specify PhysicalResourceId, you must specify StackName. Default: There is no default value. */ PhysicalResourceId?: PhysicalResourceId; } @@ -1521,7 +1633,7 @@ declare namespace CloudFormation { */ StackSetName: StackSetName; /** - * The unique ID of the stack set operation. + * The unique ID of the stack set operation. */ OperationId: ClientRequestToken; /** @@ -1543,7 +1655,7 @@ declare namespace CloudFormation { } export interface DescribeStacksInput { /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. + * The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. */ StackName?: StackName; /** @@ -1563,7 +1675,7 @@ declare namespace CloudFormation { } export interface DescribeTypeInput { /** - * The kind of extension. Conditional: You must specify either TypeName and Type, or Arn. + * The kind of extension. Conditional: You must specify either TypeName and Type, or Arn. */ Type?: RegistryType; /** @@ -1593,7 +1705,7 @@ declare namespace CloudFormation { */ Arn?: TypeArn; /** - * The kind of extension. + * The kind of extension. */ Type?: RegistryType; /** @@ -1601,7 +1713,7 @@ declare namespace CloudFormation { */ TypeName?: TypeName; /** - * The ID of the default version of the extension. The default version is used when the extension version is not specified. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType. To set the default version of an extension, use SetTypeDefaultVersion . + * The ID of the default version of the extension. The default version is used when the extension version isn't specified. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType. To set the default version of an extension, use SetTypeDefaultVersion . */ DefaultVersionId?: TypeVersionId; /** @@ -1609,11 +1721,11 @@ declare namespace CloudFormation { */ IsDefaultVersion?: IsDefaultVersion; /** - * The contract test status of the registered extension version. To return the extension test status of a specifc extension version, you must specify VersionId. This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not they are activated in your account. PASSED: The extension has passed all its contract tests. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide. FAILED: The extension has failed one or more contract tests. IN_PROGRESS: Contract tests are currently being performed on the extension. NOT_TESTED: Contract tests have not been performed on the extension. + * The contract test status of the registered extension version. To return the extension test status of a specific extension version, you must specify VersionId. This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether or not they are activated in your account. PASSED: The extension has passed all its contract tests. An extension must have a test status of PASSED before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide. FAILED: The extension has failed one or more contract tests. IN_PROGRESS: Contract tests are currently being performed on the extension. NOT_TESTED: Contract tests haven't been performed on the extension. */ TypeTestsStatus?: TypeTestsStatus; /** - * The description of the test status. To return the extension test status of a specifc extension version, you must specify VersionId. This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not they are activated in your account. + * The description of the test status. To return the extension test status of a specific extension version, you must specify VersionId. This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether or not they are activated in your account. */ TypeTestsStatusDescription?: TypeTestsStatusDescription; /** @@ -1625,11 +1737,11 @@ declare namespace CloudFormation { */ Schema?: TypeSchema; /** - * For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted. Valid values include: FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations. IMMUTABLE: The resource type does not include an update handler, so the type cannot be updated and must instead be replaced during stack update operations. NON_PROVISIONABLE: The resource type does not include all of the following handlers, and therefore cannot actually be provisioned. create read delete + * For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted. Valid values include: FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations. IMMUTABLE: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations. NON_PROVISIONABLE: The resource type doesn't include all the following handlers, and therefore can't actually be provisioned. create read delete */ ProvisioningType?: ProvisioningType; /** - * The deprecation status of the extension version. Valid values include: LIVE: The extension is activated or registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. DEPRECATED: The extension has been deactivated or deregistered and can no longer be used in CloudFormation operations. For public third-party extensions, CloudFormation returns null. + * The deprecation status of the extension version. Valid values include: LIVE: The extension is activated or registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. DEPRECATED: The extension has been deactivated or deregistered and can no longer be used in CloudFormation operations. For public third-party extensions, CloudFormation returns null. */ DeprecatedStatus?: DeprecatedStatus; /** @@ -1645,7 +1757,7 @@ declare namespace CloudFormation { */ ExecutionRoleArn?: RoleArn; /** - * The scope at which the extension is visible and usable in CloudFormation operations. Valid values include: PRIVATE: The extension is only visible and usable within the account in which it is registered. CloudFormation marks any extensions you register as PRIVATE. PUBLIC: The extension is publically visible and usable within any Amazon account. + * The scope at which the extension is visible and usable in CloudFormation operations. Valid values include: PRIVATE: The extension is only visible and usable within the account in which it is registered. CloudFormation marks any extensions you register as PRIVATE. PUBLIC: The extension is publicly visible and usable within any Amazon account. */ Visibility?: Visibility; /** @@ -1661,7 +1773,7 @@ declare namespace CloudFormation { */ LastUpdated?: Timestamp; /** - * When the specified private extension version was registered or activated in your account. + * When the specified private extension version was registered or activated in your account. */ TimeCreated?: Timestamp; /** @@ -1669,7 +1781,7 @@ declare namespace CloudFormation { */ ConfigurationSchema?: ConfigurationSchema; /** - * The publisher ID of the extension publisher. This applies only to public third-party extensions. For private registered extensions, and extensions provided by Amazon, CloudFormation returns null. + * The publisher ID of the extension publisher. This applies only to public third-party extensions. For private registered extensions, and extensions provided by Amazon Web Services, CloudFormation returns null. */ PublisherId?: PublisherId; /** @@ -1685,7 +1797,7 @@ declare namespace CloudFormation { */ PublicVersionNumber?: PublicVersionNumber; /** - * The latest version of a public extension that is available for use. This only applies if you specify a public extension, and you do not specify a version. For all other requests, CloudFormation returns null. + * The latest version of a public extension that is available for use. This only applies if you specify a public extension, and you don't specify a version. For all other requests, CloudFormation returns null. */ LatestPublicVersion?: PublicVersionNumber; /** @@ -1771,7 +1883,7 @@ declare namespace CloudFormation { } export interface DetectStackSetDriftOutput { /** - * The ID of the drift detection stack set operation. you can use this operation id with DescribeStackSetOperation to monitor the progress of the drift detection operation. + * The ID of the drift detection stack set operation. You can use this operation ID with DescribeStackSetOperation to monitor the progress of the drift detection operation. */ OperationId?: ClientRequestToken; } @@ -1787,7 +1899,7 @@ declare namespace CloudFormation { */ TemplateBody?: TemplateBody; /** - * Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used. + * Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used. */ TemplateURL?: TemplateURL; /** @@ -1805,11 +1917,11 @@ declare namespace CloudFormation { export type EventId = string; export interface ExecuteChangeSetInput { /** - * The name or ARN of the change set that you want use to update the specified stack. + * The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack. */ ChangeSetName: ChangeSetNameOrId; /** - * If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute. + * If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute. */ StackName?: StackNameOrId; /** @@ -1847,7 +1959,7 @@ declare namespace CloudFormation { export type FailureTolerancePercentage = number; export interface GetStackPolicyInput { /** - * The name or unique stack ID that is associated with the stack whose policy you want to get. + * The name or unique stack ID that's associated with the stack whose policy you want to get. */ StackName: StackName; } @@ -1859,7 +1971,7 @@ declare namespace CloudFormation { } export interface GetTemplateInput { /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. + * The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. */ StackName?: StackName; /** @@ -1883,15 +1995,15 @@ declare namespace CloudFormation { } export interface GetTemplateSummaryInput { /** - * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. + * Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. */ TemplateBody?: TemplateBody; /** - * Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template Anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. + * Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see Template anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. */ TemplateURL?: TemplateURL; /** - * The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. + * The name or the stack ID that's associated with the stack, which aren't always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID. Conditional: You must specify only one of the following parameters: StackName, StackSetName, TemplateBody, or TemplateURL. */ StackName?: StackNameOrId; /** @@ -1909,7 +2021,7 @@ declare namespace CloudFormation { */ Parameters?: ParameterDeclarations; /** - * The value that is defined in the Description property of the template. + * The value that's defined in the Description property of the template. */ Description?: Description; /** @@ -1929,7 +2041,7 @@ declare namespace CloudFormation { */ Version?: Version; /** - * The value that is defined for the Metadata property of the template. + * The value that's defined for the Metadata property of the template. */ Metadata?: Metadata; /** @@ -1941,7 +2053,18 @@ declare namespace CloudFormation { */ ResourceIdentifierSummaries?: ResourceIdentifierSummaries; } - export type HandlerErrorCode = "NotUpdatable"|"InvalidRequest"|"AccessDenied"|"InvalidCredentials"|"AlreadyExists"|"NotFound"|"ResourceConflict"|"Throttling"|"ServiceLimitExceeded"|"NotStabilized"|"GeneralServiceException"|"ServiceInternalError"|"NetworkFailure"|"InternalFailure"|"InvalidTypeConfiguration"|string; + export type HandlerErrorCode = "NotUpdatable"|"InvalidRequest"|"AccessDenied"|"InvalidCredentials"|"AlreadyExists"|"NotFound"|"ResourceConflict"|"Throttling"|"ServiceLimitExceeded"|"NotStabilized"|"GeneralServiceException"|"ServiceInternalError"|"NetworkFailure"|"InternalFailure"|"InvalidTypeConfiguration"|"HandlerInternalFailure"|"NonCompliant"|"Unknown"|string; + export type HookFailureMode = "FAIL"|"WARN"|string; + export type HookInvocationCount = number; + export type HookInvocationPoint = "PRE_PROVISION"|string; + export type HookStatus = "HOOK_IN_PROGRESS"|"HOOK_COMPLETE_SUCCEEDED"|"HOOK_COMPLETE_FAILED"|"HOOK_FAILED"|string; + export type HookStatusReason = string; + export type HookTargetType = "RESOURCE"|string; + export type HookTargetTypeName = string; + export type HookType = string; + export type HookTypeConfigurationVersionId = string; + export type HookTypeName = string; + export type HookTypeVersionId = string; export type IdentityProvider = "AWS_Marketplace"|"GitHub"|"Bitbucket"|string; export interface ImportStacksToStackSetInput { /** @@ -1957,7 +2080,7 @@ declare namespace CloudFormation { */ StackIdsUrl?: StackIdsUrl; /** - * The list of OU ID’s to which the stacks being imported has to be mapped as deployment target. + * The list of OU ID's to which the stacks being imported has to be mapped as deployment target. */ OrganizationalUnitIds?: OrganizationalUnitIdList; OperationPreferences?: StackSetOperationPreferences; @@ -2065,7 +2188,7 @@ declare namespace CloudFormation { */ StackInstanceAccount?: Account; /** - * The name of the Region where you want to list stack instances. + * The name of the Region where you want to list stack instances. */ StackInstanceRegion?: Region; /** @@ -2079,13 +2202,13 @@ declare namespace CloudFormation { */ Summaries?: StackInstanceSummaries; /** - * If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null. + * If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null. */ NextToken?: NextToken; } export interface ListStackResourcesInput { /** - * The name or the unique stack ID that is associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. + * The name or the unique stack ID that is associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value. */ StackName: StackName; /** @@ -2127,7 +2250,7 @@ declare namespace CloudFormation { } export interface ListStackSetOperationResultsOutput { /** - * A list of StackSetOperationResultSummary structures that contain information about the specified operation results, for accounts and Regions that are included in the operation. + * A list of StackSetOperationResultSummary structures that contain information about the specified operation results, for accounts and Amazon Web Services Regions that are included in the operation. */ Summaries?: StackSetOperationResultSummaries; /** @@ -2165,7 +2288,7 @@ declare namespace CloudFormation { } export interface ListStackSetsInput { /** - * If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSets again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null. + * If the previous paginated request didn't return all the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSets again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null. */ NextToken?: NextToken; /** @@ -2233,13 +2356,13 @@ declare namespace CloudFormation { */ MaxResults?: MaxResults; /** - * If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null. + * If the previous paginated request didn't return all the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null. */ NextToken?: NextToken; } export interface ListTypeRegistrationsOutput { /** - * A list of extension registration tokens. Use DescribeTypeRegistration to return detailed information about a type registration request. + * A list of extension registration tokens. Use DescribeTypeRegistration to return detailed information about a type registration request. */ RegistrationTokenList?: RegistrationTokenList; /** @@ -2269,11 +2392,11 @@ declare namespace CloudFormation { */ NextToken?: NextToken; /** - * The deprecation status of the extension versions that you want to get summary information about. Valid values include: LIVE: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. DEPRECATED: The extension version has been deregistered and can no longer be used in CloudFormation operations. The default is LIVE. + * The deprecation status of the extension versions that you want to get summary information about. Valid values include: LIVE: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope. DEPRECATED: The extension version has been deregistered and can no longer be used in CloudFormation operations. The default is LIVE. */ DeprecatedStatus?: DeprecatedStatus; /** - * The publisher ID of the extension publisher. Extensions published by Amazon are not assigned a publisher ID. + * The publisher ID of the extension publisher. Extensions published by Amazon aren't assigned a publisher ID. */ PublisherId?: PublisherId; } @@ -2293,11 +2416,11 @@ declare namespace CloudFormation { */ Visibility?: Visibility; /** - * For resource types, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted. Valid values include: FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations. IMMUTABLE: The resource type does not include an update handler, so the type cannot be updated and must instead be replaced during stack update operations. NON_PROVISIONABLE: The resource type does not include create, read, and delete handlers, and therefore cannot actually be provisioned. The default is FULLY_MUTABLE. + * For resource types, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted. Valid values include: FULLY_MUTABLE: The resource type includes an update handler to process updates to the type during stack update operations. IMMUTABLE: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations. NON_PROVISIONABLE: The resource type doesn't include create, read, and delete handlers, and therefore can't actually be provisioned. The default is FULLY_MUTABLE. */ ProvisioningType?: ProvisioningType; /** - * The deprecation status of the extension that you want to get summary information about. Valid values include: LIVE: The extension is registered for use in CloudFormation operations. DEPRECATED: The extension has been deregistered and can no longer be used in CloudFormation operations. + * The deprecation status of the extension that you want to get summary information about. Valid values include: LIVE: The extension is registered for use in CloudFormation operations. DEPRECATED: The extension has been deregistered and can no longer be used in CloudFormation operations. */ DeprecatedStatus?: DeprecatedStatus; /** @@ -2323,18 +2446,18 @@ declare namespace CloudFormation { */ TypeSummaries?: TypeSummaries; /** - * If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null. + * If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null. */ NextToken?: NextToken; } export type LogGroupName = string; export interface LoggingConfig { /** - * The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs. + * The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs. */ LogRoleArn: RoleArn; /** - * The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the extension's handlers. + * The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers. */ LogGroupName: LogGroupName; } @@ -2355,11 +2478,11 @@ declare namespace CloudFormation { export type Metadata = string; export interface ModuleInfo { /** - * A concantenated list of the the module type or types containing the resource. Module types are listed starting with the inner-most nested module, and separated by /. In the following example, the resource was created from a module of type AWS::First::Example::MODULE, that is nested inside a parent module of type AWS::Second::Example::MODULE. AWS::First::Example::MODULE/AWS::Second::Example::MODULE + * A concatenated list of the module type or types containing the resource. Module types are listed starting with the inner-most nested module, and separated by /. In the following example, the resource was created from a module of type AWS::First::Example::MODULE, that's nested inside a parent module of type AWS::Second::Example::MODULE. AWS::First::Example::MODULE/AWS::Second::Example::MODULE */ TypeHierarchy?: TypeHierarchy; /** - * A concantenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /. In the following example, the resource was created from a module, moduleA, that is nested inside a parent module, moduleB. moduleA/moduleB For more information, see Referencing resources in a module in the CloudFormation User Guide. + * A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /. In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB. moduleA/moduleB For more information, see Referencing resources in a module in the CloudFormation User Guide. */ LogicalIdHierarchy?: LogicalIdHierarchy; } @@ -2396,7 +2519,7 @@ declare namespace CloudFormation { export type Outputs = Output[]; export interface Parameter { /** - * The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that is specified in your template. + * The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template. */ ParameterKey?: ParameterKey; /** @@ -2408,7 +2531,7 @@ declare namespace CloudFormation { */ UsePreviousValue?: UsePreviousValue; /** - * Read-only. Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template. + * Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template. */ ResolvedValue?: ParameterValue; } @@ -2420,7 +2543,7 @@ declare namespace CloudFormation { } export interface ParameterDeclaration { /** - * The name that is associated with the parameter. + * The name that's associated with the parameter. */ ParameterKey?: ParameterKey; /** @@ -2436,7 +2559,7 @@ declare namespace CloudFormation { */ NoEcho?: NoEcho; /** - * The description that is associate with the parameter. + * The description that's associate with the parameter. */ Description?: Description; /** @@ -2478,7 +2601,7 @@ declare namespace CloudFormation { */ ActualValue: PropertyValue; /** - * The type of property difference. ADD: A value has been added to a resource property that is an array or list data type. REMOVE: The property has been removed from the current resource configuration. NOT_EQUAL: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters). + * The type of property difference. ADD: A value has been added to a resource property that's an array or list data type. REMOVE: The property has been removed from the current resource configuration. NOT_EQUAL: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters). */ DifferenceType: DifferenceType; } @@ -2502,7 +2625,7 @@ declare namespace CloudFormation { */ TypeName?: TypeName; /** - * The version number to assign to this version of the extension. Use the following format, and adhere to semantic versioning when assigning a version number to your extension: MAJOR.MINOR.PATCH For more information, see Semantic Versioning 2.0.0. If you do not specify a version number, CloudFormation increments the version number by one minor version release. You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be 1.0.0. + * The version number to assign to this version of the extension. Use the following format, and adhere to semantic versioning when assigning a version number to your extension: MAJOR.MINOR.PATCH For more information, see Semantic Versioning 2.0.0. If you don't specify a version number, CloudFormation increments the version number by one minor version release. You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be 1.0.0. */ PublicVersionNumber?: PublicVersionNumber; } @@ -2574,11 +2697,11 @@ declare namespace CloudFormation { */ Type?: RegistryType; /** - * The name of the extension being registered. We recommend that extension names adhere to the following patterns: For resource types, company_or_organization::service::type. For modules, company_or_organization::service::type::MODULE. The following organization namespaces are reserved and cannot be used in your extension names: Alexa AMZN Amazon AWS Custom Dev + * The name of the extension being registered. We recommend that extension names adhere to the following patterns: For resource types, company_or_organization::service::type. For modules, company_or_organization::service::type::MODULE. The following organization namespaces are reserved and can't be used in your extension names: Alexa AMZN Amazon AWS Custom Dev */ TypeName: TypeName; /** - * A url to the S3 bucket containing the extension project package that contains the neccessary files for the extension you want to register. For information on generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide. The user registering the extension must be able to access the package in the S3 bucket. That is, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide. + * A URL to the S3 bucket containing the extension project package that contains the necessary files for the extension you want to register. For information on generating a schema handler package for the extension you want to register, see submit in the CloudFormation CLI User Guide. The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Identity and Access Management User Guide. */ SchemaHandlerPackage: S3Url; /** @@ -2590,20 +2713,20 @@ declare namespace CloudFormation { */ ExecutionRoleArn?: RoleArn; /** - * A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of an extension from the same registeration request, even if the request is submitted multiple times. + * A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of an extension from the same registration request, even if the request is submitted multiple times. */ ClientRequestToken?: RequestToken; } export interface RegisterTypeOutput { /** - * The identifier for this registration request. Use this registration token when calling DescribeTypeRegistration , which returns information about the status and IDs of the extension registration. + * The identifier for this registration request. Use this registration token when calling DescribeTypeRegistration , which returns information about the status and IDs of the extension registration. */ RegistrationToken?: RegistrationToken; } export type RegistrationStatus = "COMPLETE"|"IN_PROGRESS"|"FAILED"|string; export type RegistrationToken = string; export type RegistrationTokenList = RegistrationToken[]; - export type RegistryType = "RESOURCE"|"MODULE"|string; + export type RegistryType = "RESOURCE"|"MODULE"|"HOOK"|string; export type Replacement = "True"|"False"|"Conditional"|string; export type RequestToken = string; export interface RequiredActivatedType { @@ -2629,7 +2752,7 @@ declare namespace CloudFormation { export type ResourceAttribute = "Properties"|"Metadata"|"CreationPolicy"|"UpdatePolicy"|"DeletionPolicy"|"Tags"|string; export interface ResourceChange { /** - * The action that CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), Remove (deletes a resource), Import (imports a resource), or Dynamic (exact action for the resource cannot be determined). + * The action that CloudFormation takes on the resource, such as Add (adds a new resource), Modify (changes a resource), Remove (deletes a resource), Import (imports a resource), or Dynamic (exact action for the resource can't be determined). */ Action?: ChangeAction; /** @@ -2653,7 +2776,7 @@ declare namespace CloudFormation { */ Scope?: Scope; /** - * For the Modify action, a list of ResourceChangeDetail structures that describes the changes that CloudFormation will make to the resource. + * For the Modify action, a list of ResourceChangeDetail structures that describes the changes that CloudFormation will make to the resource. */ Details?: ResourceChangeDetails; /** @@ -2671,7 +2794,7 @@ declare namespace CloudFormation { */ Target?: ResourceTargetDefinition; /** - * Indicates whether CloudFormation can determine the target value, and whether the target value will change before you execute a change set. For Static evaluations, CloudFormation can determine that the target value will change, and its value. For example, if you directly modify the InstanceType property of an EC2 instance, CloudFormation knows that this property value will change, and its value, so this is a Static evaluation. For Dynamic evaluations, cannot determine the target value because it depends on the result of an intrinsic function, such as a Ref or Fn::GetAtt intrinsic function, when the stack is updated. For example, if your template includes a reference to a resource that is conditionally recreated, the value of the reference (the physical ID of the resource) might change, depending on if the resource is recreated. If the resource is recreated, it will have a new physical ID, so all references to that resource will also be updated. + * Indicates whether CloudFormation can determine the target value, and whether the target value will change before you execute a change set. For Static evaluations, CloudFormation can determine that the target value will change, and its value. For example, if you directly modify the InstanceType property of an EC2 instance, CloudFormation knows that this property value will change, and its value, so this is a Static evaluation. For Dynamic evaluations, can't determine the target value because it depends on the result of an intrinsic function, such as a Ref or Fn::GetAtt intrinsic function, when the stack is updated. For example, if your template includes a reference to a resource that's conditionally recreated, the value of the reference (the physical ID of the resource) might change, depending on if the resource is recreated. If the resource is recreated, it will have a new physical ID, so all references to that resource will also be updated. */ Evaluation?: EvaluationType; /** @@ -2679,7 +2802,7 @@ declare namespace CloudFormation { */ ChangeSource?: ChangeSource; /** - * The identity of the entity that triggered this change. This entity is a member of the group that is specified by the ChangeSource field. For example, if you modified the value of the KeyPairName parameter, the CausingEntity is the name of the parameter (KeyPairName). If the ChangeSource value is DirectModification, no value is given for CausingEntity. + * The identity of the entity that triggered this change. This entity is a member of the group that's specified by the ChangeSource field. For example, if you modified the value of the KeyPairName parameter, the CausingEntity is the name of the parameter (KeyPairName). If the ChangeSource value is DirectModification, no value is given for CausingEntity. */ CausingEntity?: CausingEntity; } @@ -2750,17 +2873,17 @@ declare namespace CloudFormation { export type RoleArn = string; export interface RollbackConfiguration { /** - * The triggers to monitor during stack creation or update actions. By default, CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those triggers replace any list of triggers previously specified for the stack. This means: To use the rollback triggers previously specified for this stack, if any, don't specify this parameter. To specify new or updated rollback triggers, you must specify all the triggers that you want used for this stack, even triggers you've specifed before (for example, when creating the stack or during a previous stack update). Any triggers that you don't include in the updated list of triggers are no longer applied to the stack. To remove all currently specified triggers, specify an empty list for this parameter. If a specified trigger is missing, the entire stack operation fails and is rolled back. + * The triggers to monitor during stack creation or update actions. By default, CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those triggers replace any list of triggers previously specified for the stack. This means: To use the rollback triggers previously specified for this stack, if any, don't specify this parameter. To specify new or updated rollback triggers, you must specify all the triggers that you want used for this stack, even triggers you've specified before (for example, when creating the stack or during a previous stack update). Any triggers that you don't include in the updated list of triggers are no longer applied to the stack. To remove all currently specified triggers, specify an empty list for this parameter. If a specified trigger is missing, the entire stack operation fails and is rolled back. */ RollbackTriggers?: RollbackTriggers; /** - * The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack creation or update operation deploys all necessary resources. The default is 0 minutes. If you specify a monitoring period but do not specify any rollback triggers, CloudFormation still waits the specified period of time before cleaning up old resources after update operations. You can use this monitoring period to perform any manual stack validation desired, and manually cancel the stack creation or update (using CancelUpdateStack, for example) as necessary. If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes. + * The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack creation or update operation deploys all necessary resources. The default is 0 minutes. If you specify a monitoring period but don't specify any rollback triggers, CloudFormation still waits the specified period of time before cleaning up old resources after update operations. You can use this monitoring period to perform any manual stack validation desired, and manually cancel the stack creation or update (using CancelUpdateStack, for example) as necessary. If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes. */ MonitoringTimeInMinutes?: MonitoringTimeInMinutes; } export interface RollbackStackInput { /** - * The name that is associated with the stack. + * The name that's associated with the stack. */ StackName: StackNameOrId; /** @@ -2780,7 +2903,7 @@ declare namespace CloudFormation { } export interface RollbackTrigger { /** - * The Amazon Resource Name (ARN) of the rollback trigger. If a specified trigger is missing, the entire stack operation fails and is rolled back. + * The Amazon Resource Name (ARN) of the rollback trigger. If a specified trigger is missing, the entire stack operation fails and is rolled back. */ Arn: Arn; /** @@ -2798,21 +2921,21 @@ declare namespace CloudFormation { */ StackName: StackName; /** - * Structure containing the stack policy body. For more information, go to Prevent Updates to Stack Resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. + * Structure containing the stack policy body. For more information, go to Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. */ StackPolicyBody?: StackPolicyBody; /** - * Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same Region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. + * Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. */ StackPolicyURL?: StackPolicyURL; } export interface SetTypeConfigurationInput { /** - * The Amazon Resource Name (ARN) for the extension, in this account and region. For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region. Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version. + * The Amazon Resource Name (ARN) for the extension, in this account and region. For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region. Do not include the extension versions suffix at the end of the ARN. You can set the configuration for an extension, but not for a specific extension version. */ TypeArn?: TypeArn; /** - * The configuration data for the extension, in this account and region. The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of API_DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide. + * The configuration data for the extension, in this account and region. The configuration data must be formatted as JSON, and validate against the schema returned in the ConfigurationSchema response element of API_DescribeType. For more information, see Defining account-level configuration data for an extension in the CloudFormation CLI User Guide. */ Configuration: TypeConfiguration; /** @@ -2918,11 +3041,11 @@ declare namespace CloudFormation { */ StackStatusReason?: StackStatusReason; /** - * Boolean to enable or disable rollback on stack creation failures: true: disable rollback false: enable rollback + * Boolean to enable or disable rollback on stack creation failures: true: disable rollback. false: enable rollback. */ DisableRollback?: DisableRollback; /** - * SNS topic ARNs to which stack related events are published. + * Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events are published. */ NotificationARNs?: NotificationARNs; /** @@ -2938,7 +3061,7 @@ declare namespace CloudFormation { */ Outputs?: Outputs; /** - * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that is associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf. + * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that's associated with the stack. During a stack operation, CloudFormation uses this role's credentials to make calls on your behalf. */ RoleARN?: RoleARN; /** @@ -2946,7 +3069,7 @@ declare namespace CloudFormation { */ Tags?: Tags; /** - * Whether termination protection is enabled for the stack. For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. + * Whether termination protection is enabled for the stack. For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. */ EnableTerminationProtection?: EnableTerminationProtection; /** @@ -2967,7 +3090,7 @@ declare namespace CloudFormation { export type StackDriftDetectionStatusReason = string; export interface StackDriftInformation { /** - * Status of the stack's actual configuration compared to its expected template configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation has not checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: This value is reserved for future use. + * Status of the stack's actual configuration compared to its expected template configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: This value is reserved for future use. */ StackDriftStatus: StackDriftStatus; /** @@ -2977,7 +3100,7 @@ declare namespace CloudFormation { } export interface StackDriftInformationSummary { /** - * Status of the stack's actual configuration compared to its expected template configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation has not checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: This value is reserved for future use. + * Status of the stack's actual configuration compared to its expected template configuration. DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. IN_SYNC: The stack's actual configuration matches its expected template configuration. UNKNOWN: This value is reserved for future use. */ StackDriftStatus: StackDriftStatus; /** @@ -3028,9 +3151,29 @@ declare namespace CloudFormation { */ ResourceProperties?: ResourceProperties; /** - * The token passed to the operation that generated this event. All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. + * The token passed to the operation that generated this event. All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. */ ClientRequestToken?: ClientRequestToken; + /** + * The name of the hook. + */ + HookType?: HookType; + /** + * Provides the status of the change set hook. + */ + HookStatus?: HookStatus; + /** + * Provides the reason for the hook status. + */ + HookStatusReason?: HookStatusReason; + /** + * Invocation points are points in provisioning logic where hooks are initiated. + */ + HookInvocationPoint?: HookInvocationPoint; + /** + * Specify the hook failure mode for non-compliant resources in the followings ways. FAIL Stops provisioning resources. WARN Allows provisioning to continue with a warning message. + */ + HookFailureMode?: HookFailureMode; } export type StackEvents = StackEvent[]; export type StackId = string; @@ -3058,7 +3201,7 @@ declare namespace CloudFormation { */ ParameterOverrides?: Parameters; /** - * The status of the stack instance, in terms of its synchronization with its associated stack set. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. OUTDATED: The stack isn't currently up to date with the stack set because: The associated stack failed during a CreateStackSet or UpdateStackSet operation. The stack was part of a CreateStackSet or UpdateStackSet operation that failed or was stopped before the stack was created or updated. CURRENT: The stack is currently up to date with the stack set. + * The status of the stack instance, in terms of its synchronization with its associated stack set. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. OUTDATED: The stack isn't currently up to date with the stack set because: The associated stack failed during a CreateStackSet or UpdateStackSet operation. The stack was part of a CreateStackSet or UpdateStackSet operation that failed or was stopped before the stack was created or updated. CURRENT: The stack is currently up to date with the stack set. */ Status?: StackInstanceStatus; /** @@ -3066,7 +3209,7 @@ declare namespace CloudFormation { */ StackInstanceStatus?: StackInstanceComprehensiveStatus; /** - * The explanation for the specific status code that is assigned to this stack instance. + * The explanation for the specific status code that's assigned to this stack instance. */ StatusReason?: Reason; /** @@ -3074,17 +3217,17 @@ declare namespace CloudFormation { */ OrganizationalUnitId?: OrganizationalUnitId; /** - * Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs. DRIFTED: The stack differs from the expected template and parameter configuration of the stack set to which it belongs. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation has not checked if the stack instance differs from its expected stack set configuration. IN_SYNC: The stack instance's actual configuration matches its expected stack set configuration. UNKNOWN: This value is reserved for future use. + * Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs. DRIFTED: The stack differs from the expected template and parameter configuration of the stack set to which it belongs. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack instance differs from its expected stack set configuration. IN_SYNC: The stack instance's actual configuration matches its expected stack set configuration. UNKNOWN: This value is reserved for future use. */ DriftStatus?: StackDriftStatus; /** - * Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value will be NULL for any stack instance on which drift detection has not yet been performed. + * Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value will be NULL for any stack instance on which drift detection hasn't yet been performed. */ LastDriftCheckTimestamp?: Timestamp; } export interface StackInstanceComprehensiveStatus { /** - * CANCELLED: The operation in the specified account and Region has been cancelled. This is either because a user has stopped the stack set operation, or because the failure tolerance of the stack set operation has been exceeded. FAILED: The operation in the specified account and Region failed. If the stack set operation fails in enough accounts within a Region, the failure tolerance for the stack set operation as a whole might be exceeded. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. PENDING: The operation in the specified account and Region has yet to start. RUNNING: The operation in the specified account and Region is currently in progress. SUCCEEDED: The operation in the specified account and Region completed successfully. + * CANCELLED: The operation in the specified account and Region has been canceled. This is either because a user has stopped the stack set operation, or because the failure tolerance of the stack set operation has been exceeded. FAILED: The operation in the specified account and Region failed. If the stack set operation fails in enough accounts within a Region, the failure tolerance for the stack set operation as a whole might be exceeded. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. PENDING: The operation in the specified account and Region has yet to start. RUNNING: The operation in the specified account and Region is currently in progress. SUCCEEDED: The operation in the specified account and Region completed successfully. */ DetailedStatus?: StackInstanceDetailedStatus; } @@ -3122,7 +3265,7 @@ declare namespace CloudFormation { */ StackId?: StackId; /** - * The status of the stack instance, in terms of its synchronization with its associated stack set. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. OUTDATED: The stack isn't currently up to date with the stack set because: The associated stack failed during a CreateStackSet or UpdateStackSet operation. The stack was part of a CreateStackSet or UpdateStackSet operation that failed or was stopped before the stack was created or updated. CURRENT: The stack is currently up to date with the stack set. + * The status of the stack instance, in terms of its synchronization with its associated stack set. INOPERABLE: A DeleteStackInstances operation has failed and left the stack in an unstable state. Stacks in this state are excluded from further UpdateStackSet operations. You might need to perform a DeleteStackInstances operation, with RetainStacks set to true, to delete the stack instance, and then delete the stack manually. OUTDATED: The stack isn't currently up to date with the stack set because: The associated stack failed during a CreateStackSet or UpdateStackSet operation. The stack was part of a CreateStackSet or UpdateStackSet operation that failed or was stopped before the stack was created or updated. CURRENT: The stack is currently up to date with the stack set. */ Status?: StackInstanceStatus; /** @@ -3138,11 +3281,11 @@ declare namespace CloudFormation { */ OrganizationalUnitId?: OrganizationalUnitId; /** - * Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs. DRIFTED: The stack differs from the expected template and parameter configuration of the stack set to which it belongs. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation has not checked if the stack instance differs from its expected stack set configuration. IN_SYNC: The stack instance's actual configuration matches its expected stack set configuration. UNKNOWN: This value is reserved for future use. + * Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs. DRIFTED: The stack differs from the expected template and parameter configuration of the stack set to which it belongs. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation hasn't checked if the stack instance differs from its expected stack set configuration. IN_SYNC: The stack instance's actual configuration matches its expected stack set configuration. UNKNOWN: This value is reserved for future use. */ DriftStatus?: StackDriftStatus; /** - * Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value will be NULL for any stack instance on which drift detection has not yet been performed. + * Most recent time when CloudFormation performed a drift detection operation on the stack instance. This value will be NULL for any stack instance on which drift detection hasn't yet been performed. */ LastDriftCheckTimestamp?: Timestamp; } @@ -3170,7 +3313,7 @@ declare namespace CloudFormation { */ PhysicalResourceId?: PhysicalResourceId; /** - * Type of resource. (For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.) + * Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide. */ ResourceType: ResourceType; /** @@ -3216,7 +3359,7 @@ declare namespace CloudFormation { */ PhysicalResourceId?: PhysicalResourceId; /** - * Type of resource. ((For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.) + * Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide. */ ResourceType: ResourceType; /** @@ -3258,11 +3401,11 @@ declare namespace CloudFormation { */ LogicalResourceId: LogicalResourceId; /** - * The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation. + * The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation. */ PhysicalResourceId?: PhysicalResourceId; /** - * Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs are not enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource. + * Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource. */ PhysicalResourceIdContext?: PhysicalResourceIdContext; /** @@ -3270,19 +3413,19 @@ declare namespace CloudFormation { */ ResourceType: ResourceType; /** - * A JSON structure containing the expected property values of the stack resource, as defined in the stack template and any values specified as template parameters. For resources whose StackResourceDriftStatus is DELETED, this structure will not be present. + * A JSON structure containing the expected property values of the stack resource, as defined in the stack template and any values specified as template parameters. For resources whose StackResourceDriftStatus is DELETED, this structure will not be present. */ ExpectedProperties?: Properties; /** - * A JSON structure containing the actual property values of the stack resource. For resources whose StackResourceDriftStatus is DELETED, this structure will not be present. + * A JSON structure containing the actual property values of the stack resource. For resources whose StackResourceDriftStatus is DELETED, this structure will not be present. */ ActualProperties?: Properties; /** - * A collection of the resource properties whose actual values differ from their expected values. These will be present only for resources whose StackResourceDriftStatus is MODIFIED. + * A collection of the resource properties whose actual values differ from their expected values. These will be present only for resources whose StackResourceDriftStatus is MODIFIED. */ PropertyDifferences?: PropertyDifferences; /** - * Status of the resource's actual configuration compared to its expected configuration DELETED: The resource differs from its expected template configuration because the resource has been deleted. MODIFIED: One or more resource properties differ from their expected values (as defined in the stack template and any values specified as template parameters). IN_SYNC: The resources's actual configuration matches its expected template configuration. NOT_CHECKED: CloudFormation does not currently return this value. + * Status of the resource's actual configuration compared to its expected configuration. DELETED: The resource differs from its expected template configuration because the resource has been deleted. MODIFIED: One or more resource properties differ from their expected values (as defined in the stack template and any values specified as template parameters). IN_SYNC: The resource's actual configuration matches its expected template configuration. NOT_CHECKED: CloudFormation does not currently return this value. */ StackResourceDriftStatus: StackResourceDriftStatus; /** @@ -3296,7 +3439,7 @@ declare namespace CloudFormation { } export interface StackResourceDriftInformation { /** - * Status of the resource's actual configuration compared to its expected configuration DELETED: The resource differs from its expected configuration in that it has been deleted. MODIFIED: The resource differs from its expected configuration. NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration. Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. IN_SYNC: The resources's actual configuration matches its expected configuration. + * Status of the resource's actual configuration compared to its expected configuration DELETED: The resource differs from its expected configuration in that it has been deleted. MODIFIED: The resource differs from its expected configuration. NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration. Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. IN_SYNC: The resource's actual configuration matches its expected configuration. */ StackResourceDriftStatus: StackResourceDriftStatus; /** @@ -3306,7 +3449,7 @@ declare namespace CloudFormation { } export interface StackResourceDriftInformationSummary { /** - * Status of the resource's actual configuration compared to its expected configuration DELETED: The resource differs from its expected configuration in that it has been deleted. MODIFIED: The resource differs from its expected configuration. NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration. Any resources that do not currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information on skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide. IN_SYNC: The resources's actual configuration matches its expected configuration. + * Status of the resource's actual configuration compared to its expected configuration. DELETED: The resource differs from its expected configuration in that it has been deleted. MODIFIED: The resource differs from its expected configuration. NOT_CHECKED: CloudFormation hasn't checked if the resource differs from its expected configuration. Any resources that don't currently support drift detection have a status of NOT_CHECKED. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included in ResourcesToSkip will also have a status of NOT_CHECKED. For more information on skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide. IN_SYNC: The resource's actual configuration matches its expected configuration. */ StackResourceDriftStatus: StackResourceDriftStatus; /** @@ -3395,11 +3538,11 @@ declare namespace CloudFormation { */ AdministrationRoleARN?: RoleARN; /** - * The name of the IAM execution role used to create or update the stack set. Use customized execution roles to control which stack resources users and groups can include in their stack sets. + * The name of the IAM execution role used to create or update the stack set. Use customized execution roles to control which stack resources users and groups can include in their stack sets. */ ExecutionRoleName?: ExecutionRoleName; /** - * Detailed information about the drift status of the stack set. For stack sets, contains information about the last completed drift operation performed on the stack set. Information about drift operations currently in progress is not included. + * Detailed information about the drift status of the stack set. For stack sets, contains information about the last completed drift operation performed on the stack set. Information about drift operations currently in progress isn't included. */ StackSetDriftDetectionDetails?: StackSetDriftDetectionDetails; /** @@ -3422,23 +3565,23 @@ declare namespace CloudFormation { export type StackSetARN = string; export interface StackSetDriftDetectionDetails { /** - * Status of the stack set's actual configuration compared to its expected template and parameter configuration. A stack set is considered to have drifted if one or more of its stack instances have drifted from their expected template and parameter configuration. DRIFTED: One or more of the stack instances belonging to the stack set stack differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation has not checked the stack set for drift. IN_SYNC: All of the stack instances belonging to the stack set stack match from the expected template and parameter configuration. + * Status of the stack set's actual configuration compared to its expected template and parameter configuration. A stack set is considered to have drifted if one or more of its stack instances have drifted from their expected template and parameter configuration. DRIFTED: One or more of the stack instances belonging to the stack set stack differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation hasn't checked the stack set for drift. IN_SYNC: All of the stack instances belonging to the stack set stack match from the expected template and parameter configuration. */ DriftStatus?: StackSetDriftStatus; /** - * The status of the stack set drift detection operation. COMPLETED: The drift detection operation completed without failing on any stack instances. FAILED: The drift detection operation exceeded the specified failure tolerance. PARTIAL_SUCCESS: The drift detection operation completed without exceeding the failure tolerance for the operation. IN_PROGRESS: The drift detection operation is currently being performed. STOPPED: The user has cancelled the drift detection operation. + * The status of the stack set drift detection operation. COMPLETED: The drift detection operation completed without failing on any stack instances. FAILED: The drift detection operation exceeded the specified failure tolerance. PARTIAL_SUCCESS: The drift detection operation completed without exceeding the failure tolerance for the operation. IN_PROGRESS: The drift detection operation is currently being performed. STOPPED: The user has canceled the drift detection operation. */ DriftDetectionStatus?: StackSetDriftDetectionStatus; /** - * Most recent time when CloudFormation performed a drift detection operation on the stack set. This value will be NULL for any stack set on which drift detection has not yet been performed. + * Most recent time when CloudFormation performed a drift detection operation on the stack set. This value will be NULL for any stack set on which drift detection hasn't yet been performed. */ LastDriftCheckTimestamp?: Timestamp; /** - * The total number of stack instances belonging to this stack set. The total number of stack instances is equal to the total of: Stack instances that match the stack set configuration. Stack instances that have drifted from the stack set configuration. Stack instances where the drift detection operation has failed. Stack instances currently being checked for drift. + * The total number of stack instances belonging to this stack set. The total number of stack instances is equal to the total of: Stack instances that match the stack set configuration. Stack instances that have drifted from the stack set configuration. Stack instances where the drift detection operation has failed. Stack instances currently being checked for drift. */ TotalStackInstancesCount?: TotalStackInstancesCount; /** - * The number of stack instances that have drifted from the expected template and parameter configuration of the stack set. A stack instance is considered to have drifted if one or more of the resources in the associated stack do not match their expected configuration. + * The number of stack instances that have drifted from the expected template and parameter configuration of the stack set. A stack instance is considered to have drifted if one or more of the resources in the associated stack don't match their expected configuration. */ DriftedStackInstancesCount?: DriftedStackInstancesCount; /** @@ -3469,11 +3612,11 @@ declare namespace CloudFormation { */ StackSetId?: StackSetId; /** - * The type of stack set operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack set instances that are associated with the specified stack set. Update operations affect both the stack set itself, as well as all associated stack set instances. + * The type of stack set operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack set instances that are associated with the specified stack set. Update operations affect both the stack set itself, in addition to all associated stack set instances. */ Action?: StackSetOperationAction; /** - * The status of the operation. FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions. QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide. RUNNING: The operation is currently being performed. STOPPED: The user has cancelled the operation. STOPPING: The operation is in the process of stopping, at user request. SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation. + * The status of the operation. FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions. QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide. RUNNING: The operation is currently being performed. STOPPED: The user has canceled the operation. STOPPING: The operation is in the process of stopping, at user request. SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation. */ Status?: StackSetOperationStatus; /** @@ -3481,15 +3624,15 @@ declare namespace CloudFormation { */ OperationPreferences?: StackSetOperationPreferences; /** - * For stack set operations of action type DELETE, specifies whether to remove the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack, or add an existing, saved stack to a new stack set. + * For stack set operations of action type DELETE, specifies whether to remove the stack instances from the specified stack set, but doesn't delete the stacks. You can't re-associate a retained stack, or add an existing, saved stack to a new stack set. */ RetainStacks?: RetainStacksNullable; /** - * The Amazon Resource Number (ARN) of the IAM role used to perform this stack set operation. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Define Permissions for Multiple Administrators in the CloudFormation User Guide. + * The Amazon Resource Number (ARN) of the IAM role used to perform this stack set operation. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see Define Permissions for Multiple Administrators in the CloudFormation User Guide. */ AdministrationRoleARN?: RoleARN; /** - * The name of the IAM execution role used to create or update the stack set. Use customized execution roles to control which stack resources users and groups can include in their stack sets. + * The name of the IAM execution role used to create or update the stack set. Use customized execution roles to control which stack resources users and groups can include in their stack sets. */ ExecutionRoleName?: ExecutionRoleName; /** @@ -3505,7 +3648,7 @@ declare namespace CloudFormation { */ DeploymentTargets?: DeploymentTargets; /** - * Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set. this information will only be present for stack set operations whose Action type is DETECT_DRIFT. For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide. + * Detailed information about the drift status of the stack set. This includes information about drift operations currently being performed on the stack set. This information will only be present for stack set operations whose Action type is DETECT_DRIFT. For more information, see Detecting Unmanaged Changes in Stack Sets in the CloudFormation User Guide. */ StackSetDriftDetectionDetails?: StackSetDriftDetectionDetails; } @@ -3528,7 +3671,7 @@ declare namespace CloudFormation { */ FailureTolerancePercentage?: FailureTolerancePercentage; /** - * The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of FailureToleranceCount. MaxConcurrentCount is at most one more than the FailureToleranceCount. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. Conditional: You must specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both. By default, 1 is specified. + * The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of FailureToleranceCount.MaxConcurrentCount is at most one more than the FailureToleranceCount. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. Conditional: You must specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both. By default, 1 is specified. */ MaxConcurrentCount?: MaxConcurrentCount; /** @@ -3548,7 +3691,7 @@ declare namespace CloudFormation { */ Region?: Region; /** - * The result status of the stack set operation for the given account in the given Region. CANCELLED: The operation in the specified account and Region has been cancelled. This is either because a user has stopped the stack set operation, or because the failure tolerance of the stack set operation has been exceeded. FAILED: The operation in the specified account and Region failed. If the stack set operation fails in enough accounts within a Region, the failure tolerance for the stack set operation as a whole might be exceeded. RUNNING: The operation in the specified account and Region is currently in progress. PENDING: The operation in the specified account and Region has yet to start. SUCCEEDED: The operation in the specified account and Region completed successfully. + * The result status of the stack set operation for the given account in the given Region. CANCELLED: The operation in the specified account and Region has been canceled. This is either because a user has stopped the stack set operation, or because the failure tolerance of the stack set operation has been exceeded. FAILED: The operation in the specified account and Region failed. If the stack set operation fails in enough accounts within a Region, the failure tolerance for the stack set operation as a whole might be exceeded. RUNNING: The operation in the specified account and Region is currently in progress. PENDING: The operation in the specified account and Region has yet to start. SUCCEEDED: The operation in the specified account and Region completed successfully. */ Status?: StackSetOperationResultStatus; /** @@ -3556,7 +3699,7 @@ declare namespace CloudFormation { */ StatusReason?: Reason; /** - * The results of the account gate function CloudFormation invokes, if present, before proceeding with stack set operations in an account + * The results of the account gate function CloudFormation invokes, if present, before proceeding with stack set operations in an account. */ AccountGateResult?: AccountGateResult; /** @@ -3572,11 +3715,11 @@ declare namespace CloudFormation { */ OperationId?: ClientRequestToken; /** - * The type of operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack instances that are associated with the specified stack set. Update operations affect both the stack set itself as well as all associated stack set instances. + * The type of operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack instances that are associated with the specified stack set. Update operations affect both the stack set itself and all associated stack set instances. */ Action?: StackSetOperationAction; /** - * The overall status of the operation. FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions. QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide. RUNNING: The operation is currently being performed. STOPPED: The user has cancelled the operation. STOPPING: The operation is in the process of stopping, at user request. SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation. + * The overall status of the operation. FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions. QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the stack set operation status codes in the CloudFormation User Guide. RUNNING: The operation is currently being performed. STOPPED: The user has canceled the operation. STOPPING: The operation is in the process of stopping, at user request. SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation. */ Status?: StackSetOperationStatus; /** @@ -3616,11 +3759,11 @@ declare namespace CloudFormation { */ PermissionModel?: PermissionModels; /** - * Status of the stack set's actual configuration compared to its expected template and parameter configuration. A stack set is considered to have drifted if one or more of its stack instances have drifted from their expected template and parameter configuration. DRIFTED: One or more of the stack instances belonging to the stack set stack differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation has not checked the stack set for drift. IN_SYNC: All of the stack instances belonging to the stack set stack match from the expected template and parameter configuration. UNKNOWN: This value is reserved for future use. + * Status of the stack set's actual configuration compared to its expected template and parameter configuration. A stack set is considered to have drifted if one or more of its stack instances have drifted from their expected template and parameter configuration. DRIFTED: One or more of the stack instances belonging to the stack set stack differs from the expected template and parameter configuration. A stack instance is considered to have drifted if one or more of the resources in the associated stack have drifted. NOT_CHECKED: CloudFormation hasn't checked the stack set for drift. IN_SYNC: All the stack instances belonging to the stack set stack match from the expected template and parameter configuration. UNKNOWN: This value is reserved for future use. */ DriftStatus?: StackDriftStatus; /** - * Most recent time when CloudFormation performed a drift detection operation on the stack set. This value will be NULL for any stack set on which drift detection has not yet been performed. + * Most recent time when CloudFormation performed a drift detection operation on the stack set. This value will be NULL for any stack set on which drift detection hasn't yet been performed. */ LastDriftCheckTimestamp?: Timestamp; /** @@ -3687,7 +3830,7 @@ declare namespace CloudFormation { */ StackSetName: StackSetName; /** - * The ID of the stack operation. + * The ID of the stack operation. */ OperationId: ClientRequestToken; /** @@ -3737,7 +3880,7 @@ declare namespace CloudFormation { export type TemplateURL = string; export interface TestTypeInput { /** - * The Amazon Resource Number (ARN) of the extension. Conditional: You must specify Arn, or TypeName and Type. + * The Amazon Resource Name (ARN) of the extension. Conditional: You must specify Arn, or TypeName and Type. */ Arn?: TypeArn; /** @@ -3749,21 +3892,21 @@ declare namespace CloudFormation { */ TypeName?: TypeName; /** - * The version of the extension to test. You can specify the version id with either Arn, or with TypeName and Type. If you do not specify a version, CloudFormation uses the default version of the extension in this account and region for testing. + * The version of the extension to test. You can specify the version id with either Arn, or with TypeName and Type. If you don't specify a version, CloudFormation uses the default version of the extension in this account and region for testing. */ VersionId?: TypeVersionId; /** - * The S3 bucket to which CloudFormation delivers the contract test execution logs. CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED. The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions: GetObject PutObject For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide. + * The S3 bucket to which CloudFormation delivers the contract test execution logs. CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED. The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions: GetObject PutObject For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide. */ LogDeliveryBucket?: S3Bucket; } export interface TestTypeOutput { /** - * The Amazon Resource Number (ARN) of the extension. + * The Amazon Resource Name (ARN) of the extension. */ TypeVersionArn?: TypeArn; } - export type ThirdPartyType = "RESOURCE"|"MODULE"|string; + export type ThirdPartyType = "RESOURCE"|"MODULE"|"HOOK"|string; export type ThirdPartyTypeArn = string; export type TimeoutMinutes = number; export type Timestamp = Date; @@ -3785,15 +3928,15 @@ declare namespace CloudFormation { */ Alias?: TypeConfigurationAlias; /** - * A JSON string specifying the configuration data for the extension, in this account and region. If a configuration has not been set for a specified extension, CloudFormation returns {}. + * A JSON string specifying the configuration data for the extension, in this account and region. If a configuration hasn't been set for a specified extension, CloudFormation returns {}. */ Configuration?: TypeConfiguration; /** - * When the configuration data was last updated for this extension. If a configuration has not been set for a specified extension, CloudFormation returns null. + * When the configuration data was last updated for this extension. If a configuration hasn't been set for a specified extension, CloudFormation returns null. */ LastUpdated?: Timestamp; /** - * The Amazon Resource Name (ARN) for the extension, in this account and region. For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region. + * The Amazon Resource Name (ARN) for the extension, in this account and region. For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region. */ TypeArn?: TypeArn; /** @@ -3808,7 +3951,7 @@ declare namespace CloudFormation { export type TypeConfigurationDetailsList = TypeConfigurationDetails[]; export interface TypeConfigurationIdentifier { /** - * The Amazon Resource Name (ARN) for the extension, in this account and region. For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region. + * The Amazon Resource Name (ARN) for the extension, in this account and region. For public extensions, this will be the ARN assigned when you activate the type in this account and region. For private extensions, this will be the ARN assigned when you register the type in this account and region. */ TypeArn?: TypeArn; /** @@ -3835,7 +3978,7 @@ declare namespace CloudFormation { */ Category?: Category; /** - * The id of the publisher of the extension. Extensions published by Amazon are not assigned a publisher ID. Use the AWS_TYPE category to specify a list of types published by Amazon. + * The id of the publisher of the extension. Extensions published by Amazon aren't assigned a publisher ID. Use the AWS_TYPES category to specify a list of types published by Amazon. */ PublisherId?: PublisherId; /** @@ -3858,7 +4001,7 @@ declare namespace CloudFormation { */ TypeName?: TypeName; /** - * The ID of the default version of the extension. The default version is used when the extension version is not specified. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType. To set the default version of an extension, use SetTypeDefaultVersion . + * The ID of the default version of the extension. The default version is used when the extension version isn't specified. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon and published by third parties, CloudFormation returns null. For more information, see RegisterType. To set the default version of an extension, use SetTypeDefaultVersion . */ DefaultVersionId?: TypeVersionId; /** @@ -3874,7 +4017,7 @@ declare namespace CloudFormation { */ Description?: Description; /** - * The ID of the extension publisher, if the extension is published by a third party. Extensions published by Amazon do not return a publisher ID. + * The ID of the extension publisher, if the extension is published by a third party. Extensions published by Amazon don't return a publisher ID. */ PublisherId?: PublisherId; /** @@ -3882,11 +4025,11 @@ declare namespace CloudFormation { */ OriginalTypeName?: TypeName; /** - * For public extensions that have been activated for this account and region, the version of the public extension to be used for CloudFormation operations in this account and region. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extention in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide. + * For public extensions that have been activated for this account and region, the version of the public extension to be used for CloudFormation operations in this account and Region. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide. */ PublicVersionNumber?: PublicVersionNumber; /** - * For public extensions that have been activated for this account and region, the latest version of the public extension that is available. For any extensions other than activated third-arty extensions, CloudFormation returns null. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extention in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide. + * For public extensions that have been activated for this account and region, the latest version of the public extension that is available. For any extensions other than activated third-arty extensions, CloudFormation returns null. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide. */ LatestPublicVersion?: PublicVersionNumber; /** @@ -3898,7 +4041,7 @@ declare namespace CloudFormation { */ PublisherName?: PublisherName; /** - * Whether or not the extension is activated for this account and region. This applies only to third-party public extensions. Extensions published by Amazon are activated by default. + * Whether or not the extension is activated for this account and region. This applies only to third-party public extensions. Extensions published by Amazon are activated by default. */ IsActivated?: IsActivated; } @@ -3916,11 +4059,11 @@ declare namespace CloudFormation { */ TypeName?: TypeName; /** - * The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered. + * The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it's registered. */ VersionId?: TypeVersionId; /** - * Whether the specified extension version is set as the default version. This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, whether or not they are activated in your account, CloudFormation returns null. + * Whether the specified extension version is set as the default version. This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, CloudFormation returns null. */ IsDefaultVersion?: IsDefaultVersion; /** @@ -3936,7 +4079,7 @@ declare namespace CloudFormation { */ Description?: Description; /** - * For public extensions that have been activated for this account and region, the version of the public extension to be used for CloudFormation operations in this account and region. For any extensions other than activated third-arty extensions, CloudFormation returns null. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extention in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide. + * For public extensions that have been activated for this account and region, the version of the public extension to be used for CloudFormation operations in this account and region. For any extensions other than activated third-arty extensions, CloudFormation returns null. How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide. */ PublicVersionNumber?: PublicVersionNumber; } @@ -3951,7 +4094,7 @@ declare namespace CloudFormation { */ TemplateBody?: TemplateBody; /** - * Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true. + * Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: TemplateBody, TemplateURL, or set the UsePreviousTemplate to true. */ TemplateURL?: TemplateURL; /** @@ -3971,7 +4114,7 @@ declare namespace CloudFormation { */ Parameters?: Parameters; /** - * In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually updating the stack. If your stack template contains one or more macros, and you choose to update a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. If you want to update a stack from a stack template that contains macros and nested stacks, you must update the stack directly from the template using this capability. You should only update stacks directly from a stack template that contains macros if you know what processing the macro performs. Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates. + * In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some template contain macros. Macros perform custom processing on templates; this can include simple actions like find-and-replace operations, all the way to extensive transformations of entire templates. Because of this, users typically create a change set from the processed template, so that they can review the changes resulting from the macros before actually updating the stack. If your stack template contains one or more macros, and you choose to update a stack directly from the processed template, without first reviewing the resulting changes in a change set, you must acknowledge this capability. This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation. If you want to update a stack from a stack template that contains macros and nested stacks, you must update the stack directly from the template using this capability. You should only update stacks directly from a stack template that contains macros if you know what processing the macro performs. Each macro relies on an underlying Lambda service function for processing stack templates. Be aware that the Lambda function owner can update the function operation without CloudFormation being notified. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates. */ Capabilities?: Capabilities; /** @@ -3979,7 +4122,7 @@ declare namespace CloudFormation { */ ResourceTypes?: ResourceTypes; /** - * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials. + * The Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that CloudFormation assumes to update the stack. CloudFormation uses the role's credentials to make calls on your behalf. CloudFormation always uses this role for all future operations on the stack. Provided that users have permission to operate on the stack, CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, CloudFormation uses the role that was previously associated with the stack. If no role is available, CloudFormation uses a temporary session that is generated from your user credentials. */ RoleARN?: RoleARN; /** @@ -3987,11 +4130,11 @@ declare namespace CloudFormation { */ RollbackConfiguration?: RollbackConfiguration; /** - * Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged. + * Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you don't specify a stack policy, the current policy that is associated with the stack is unchanged. */ StackPolicyBody?: StackPolicyBody; /** - * Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged. + * Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same Region as the stack. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you don't specify a stack policy, the current policy that is associated with the stack is unchanged. */ StackPolicyURL?: StackPolicyURL; /** @@ -4017,7 +4160,7 @@ declare namespace CloudFormation { */ StackSetName: StackSetNameOrId; /** - * [Self-managed permissions] The names of one or more Amazon Web Services accounts for which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Regions. You can specify Accounts or DeploymentTargets, but not both. + * [Self-managed permissions] The names of one or more Amazon Web Services accounts for which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. You can specify Accounts or DeploymentTargets, but not both. */ Accounts?: AccountList; /** @@ -4025,11 +4168,11 @@ declare namespace CloudFormation { */ DeploymentTargets?: DeploymentTargets; /** - * The names of one or more Regions in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Regions. + * The names of one or more Amazon Web Services Regions in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. */ Regions: RegionList; /** - * A list of input parameters whose values you want to update for the specified stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance update operations: To override the current value for a parameter, include the parameter and specify its value. To leave an overridden parameter set to its present value, include the parameter and specify UsePreviousValue as true. (You cannot specify both a value and set UsePreviousValue to true.) To set an overridden parameter back to the value specified in the stack set, specify a parameter list but do not include the parameter in the list. To leave all parameters set to their present values, do not specify this property at all. During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value. You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances. + * A list of input parameters whose values you want to update for the specified stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and Amazon Web Services Regions. When specifying parameters and their values, be aware of how CloudFormation sets parameter values during stack instance update operations: To override the current value for a parameter, include the parameter and specify its value. To leave an overridden parameter set to its present value, include the parameter and specify UsePreviousValue as true. (You can't specify both a value and set UsePreviousValue to true.) To set an overridden parameter back to the value specified in the stack set, specify a parameter list but don't include the parameter in the list. To leave all parameters set to their present values, don't specify this property at all. During stack set updates, any parameter values overridden for a stack instance aren't updated, but retain their overridden value. You can only override the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances. */ ParameterOverrides?: Parameters; /** @@ -4037,7 +4180,7 @@ declare namespace CloudFormation { */ OperationPreferences?: StackSetOperationPreferences; /** - * The unique identifier for this stack set operation. The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that CloudFormation successfully received them. If you don't specify an operation ID, the SDK generates one automatically. + * The unique identifier for this stack set operation. The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that CloudFormation successfully received them. If you don't specify an operation ID, the SDK generates one automatically. */ OperationId?: ClientRequestToken; /** @@ -4047,7 +4190,7 @@ declare namespace CloudFormation { } export interface UpdateStackInstancesOutput { /** - * The unique identifier for this stack set operation. + * The unique identifier for this stack set operation. */ OperationId?: ClientRequestToken; } @@ -4071,23 +4214,23 @@ declare namespace CloudFormation { */ TemplateBody?: TemplateBody; /** - * The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true. + * The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, see Template Anatomy in the CloudFormation User Guide. Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true. */ TemplateURL?: TemplateURL; /** - * Use the existing template that's associated with the stack set that you're updating. Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true. + * Use the existing template that's associated with the stack set that you're updating. Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true. */ UsePreviousTemplate?: UsePreviousTemplate; /** - * A list of input parameters for the stack set template. + * A list of input parameters for the stack set template. */ Parameters?: Parameters; /** - * In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack set and its associated stack instances. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates. Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail. + * In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to update the stack set and its associated stack instances. CAPABILITY_IAM and CAPABILITY_NAMED_IAM Some stack templates might include resources that can affect permissions in your Amazon Web Services account; for example, by creating new Identity and Access Management (IAM) users. For those stacks sets, you must explicitly acknowledge this by specifying one of these capabilities. The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM capability. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify either of these capabilities, CloudFormation returns an InsufficientCapabilities error. If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. AWS::IAM::AccessKey AWS::IAM::Group AWS::IAM::InstanceProfile AWS::IAM::Policy AWS::IAM::Role AWS::IAM::User AWS::IAM::UserToGroupAddition For more information, see Acknowledging IAM Resources in CloudFormation Templates. CAPABILITY_AUTO_EXPAND Some templates reference macros. If your stack set template references one or more macros, you must update the stack set directly from the processed template, without first reviewing the resulting changes in a change set. To update the stack set directly, you must acknowledge this capability. For more information, see Using CloudFormation Macros to Perform Custom Processing on Templates. Stack sets with service-managed permissions do not currently support the use of macros in templates. (This includes the AWS::Include and AWS::Serverless transforms, which are macros hosted by CloudFormation.) Even if you specify this capability for a stack set with service-managed permissions, if you reference a macro in your template the stack set operation will fail. */ Capabilities?: Capabilities; /** - * The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. You can specify a maximum number of 50 tags. If you specify tags for this parameter, those tags replace any list of tags that are currently associated with this stack set. This means: If you don't specify this parameter, CloudFormation doesn't modify the stack's tags. If you specify any tags using this parameter, you must specify all the tags that you want associated with this stack set, even tags you've specifed before (for example, when creating the stack set or during a previous update of the stack set.). Any tags that you don't include in the updated list of tags are removed from the stack set, and therefore from the stacks and resources as well. If you specify an empty value, CloudFormation removes all currently associated tags. If you specify new tags as part of an UpdateStackSet action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you omit tags that are currently associated with the stack set from the list of tags you specify, CloudFormation assumes that you want to remove those tags from the stack set, and checks to see if you have permission to untag resources. If you don't have the necessary permission(s), the entire UpdateStackSet action fails with an access denied error, and the stack set is not updated. + * The key-value pairs to associate with this stack set and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. You can specify a maximum number of 50 tags. If you specify tags for this parameter, those tags replace any list of tags that are currently associated with this stack set. This means: If you don't specify this parameter, CloudFormation doesn't modify the stack's tags. If you specify any tags using this parameter, you must specify all the tags that you want associated with this stack set, even tags you've specified before (for example, when creating the stack set or during a previous update of the stack set.). Any tags that you don't include in the updated list of tags are removed from the stack set, and therefore from the stacks and resources as well. If you specify an empty value, CloudFormation removes all currently associated tags. If you specify new tags as part of an UpdateStackSet action, CloudFormation checks to see if you have the required IAM permission to tag resources. If you omit tags that are currently associated with the stack set from the list of tags you specify, CloudFormation assumes that you want to remove those tags from the stack set, and checks to see if you have permission to untag resources. If you don't have the necessary permission(s), the entire UpdateStackSet action fails with an access denied error, and the stack set is not updated. */ Tags?: Tags; /** @@ -4099,11 +4242,11 @@ declare namespace CloudFormation { */ AdministrationRoleARN?: RoleARN; /** - * The name of the IAM execution role to use to update the stack set. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation. Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their stack sets. If you specify a customized execution role, CloudFormation uses that role to update the stack. If you do not specify a customized execution role, CloudFormation performs the update using the role previously associated with the stack set, so long as you have permissions to perform operations on the stack set. + * The name of the IAM execution role to use to update the stack set. If you do not specify an execution role, CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation. Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their stack sets. If you specify a customized execution role, CloudFormation uses that role to update the stack. If you do not specify a customized execution role, CloudFormation performs the update using the role previously associated with the stack set, so long as you have permissions to perform operations on the stack set. */ ExecutionRoleName?: ExecutionRoleName; /** - * [Service-managed permissions] The Organizations accounts in which to update associated stack instances. To update all the stack instances associated with this stack set, do not specify DeploymentTargets or Regions. If the stack set update includes changes to the template (that is, if TemplateBody or TemplateURL is specified), or the Parameters, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status. + * [Service-managed permissions] The Organizations accounts in which to update associated stack instances. To update all the stack instances associated with this stack set, do not specify DeploymentTargets or Regions. If the stack set update includes changes to the template (that is, if TemplateBody or TemplateURL is specified), or the Parameters, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Amazon Web Services Regions. If the stack set update doesn't include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status. */ DeploymentTargets?: DeploymentTargets; /** @@ -4111,19 +4254,19 @@ declare namespace CloudFormation { */ PermissionModel?: PermissionModels; /** - * [Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU). If you specify AutoDeployment, do not specify DeploymentTargets or Regions. + * [Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU). If you specify AutoDeployment, don't specify DeploymentTargets or Regions. */ AutoDeployment?: AutoDeployment; /** - * The unique ID for this stack set operation. The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that CloudFormation successfully received them. If you don't specify an operation ID, CloudFormation generates one automatically. Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED. + * The unique ID for this stack set operation. The operation ID also functions as an idempotency token, to ensure that CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that CloudFormation successfully received them. If you don't specify an operation ID, CloudFormation generates one automatically. Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED. */ OperationId?: ClientRequestToken; /** - * [Self-managed permissions] The accounts in which to update associated stack instances. If you specify accounts, you must also specify the Regions in which to update stack set instances. To update all the stack instances associated with this stack set, do not specify the Accounts or Regions properties. If the stack set update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status. + * [Self-managed permissions] The accounts in which to update associated stack instances. If you specify accounts, you must also specify the Amazon Web Services Regions in which to update stack set instances. To update all the stack instances associated with this stack set, don't specify the Accounts or Regions properties. If the stack set update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Amazon Web Services Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Amazon Web Services Regions, while leaving all other stack instances with their existing stack instance status. */ Accounts?: AccountList; /** - * The Regions in which to update associated stack instances. If you specify Regions, you must also specify accounts in which to update stack set instances. To update all the stack instances associated with this stack set, do not specify the Accounts or Regions properties. If the stack set update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status. + * The Amazon Web Services Regions in which to update associated stack instances. If you specify Regions, you must also specify accounts in which to update stack set instances. To update all the stack instances associated with this stack set, do not specify the Accounts or Regions properties. If the stack set update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the stack set update does not include changes to the template or parameters, CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status. */ Regions?: RegionList; /** diff --git a/node_modules/aws-sdk/clients/cloudtrail.d.ts b/node_modules/aws-sdk/clients/cloudtrail.d.ts index 4fb05c904..ac5323594 100644 --- a/node_modules/aws-sdk/clients/cloudtrail.d.ts +++ b/node_modules/aws-sdk/clients/cloudtrail.d.ts @@ -44,11 +44,11 @@ declare class CloudTrail extends Service { */ createTrail(callback?: (err: AWSError, data: CloudTrail.Types.CreateTrailResponse) => void): Request; /** - * Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. + * Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs. */ deleteEventDataStore(params: CloudTrail.Types.DeleteEventDataStoreRequest, callback?: (err: AWSError, data: CloudTrail.Types.DeleteEventDataStoreResponse) => void): Request; /** - * Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. + * Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store; this operation cannot work if TerminationProtectionEnabled is True. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs. */ deleteEventDataStore(callback?: (err: AWSError, data: CloudTrail.Types.DeleteEventDataStoreResponse) => void): Request; /** @@ -270,7 +270,7 @@ declare namespace CloudTrail { export type AdvancedEventSelectors = AdvancedEventSelector[]; export interface AdvancedFieldSelector { /** - * A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN. readOnly - Optional. Can be set to Equals a value of true or false. A value of false logs both read and write events. eventSource - For filtering management events only. This can be set only to NotEquals kms.amazonaws.com. eventName - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. You can have multiple values for this field, separated by commas. eventCategory - This is required. It must be set to Equals, and the value must be Management or Data. resources.type - This field is required. resources.type can only use the Equals operator, and the value can be one of the following: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream You can have only one resources.type field per selector. To log data events on more than one resource type, add another selector. resources.ARN - You can use any operator with resources.ARN, but if you use Equals or NotEquals, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals AWS::S3::Object, the ARN must be in one of the following formats. To log all data events for all objects in a specific S3 bucket, use the StartsWith operator, and include only the bucket ARN as the matching value. The trailing slash is intentional; do not exclude it. Replace the text between less than and greater than symbols (<>) with resource-specific information. arn:<partition>:s3:::<bucket_name>/ arn:<partition>:s3:::<bucket_name>/<object_path>/ When resources.type equals AWS::S3::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in one of the following formats. To log events on all objects in an S3 access point, we recommend that you use only the access point ARN, don’t include the object path, and use the StartsWith or NotStartsWith operators. arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name> arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>/object/<object_path> When resources.type equals AWS::Lambda::Function, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:lambda:<region>:<account_ID>:function:<function_name> When resources.type equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name> When resources.type equals AWS::S3Outposts::Object, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> When resources.type equals AWS::ManagedBlockchain::Node, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name> When resources.type equals AWS::EC2::Snapshot, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:ec2:<region>::snapshot/<snapshot_ID> When resources.type equals AWS::DynamoDB::Stream, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time> + * A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN. readOnly - Optional. Can be set to Equals a value of true or false. If you do not add this field, CloudTrail logs both both read and write events. A value of true logs only read events. A value of false logs only write events. eventSource - For filtering management events only. This can be set only to NotEquals kms.amazonaws.com. eventName - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. You can have multiple values for this field, separated by commas. eventCategory - This is required. It must be set to Equals, and the value must be Management or Data. resources.type - This field is required. resources.type can only use the Equals operator, and the value can be one of the following: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream AWS::Glue::Table You can have only one resources.type field per selector. To log data events on more than one resource type, add another selector. resources.ARN - You can use any operator with resources.ARN, but if you use Equals or NotEquals, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals AWS::S3::Object, the ARN must be in one of the following formats. To log all data events for all objects in a specific S3 bucket, use the StartsWith operator, and include only the bucket ARN as the matching value. The trailing slash is intentional; do not exclude it. Replace the text between less than and greater than symbols (<>) with resource-specific information. arn:<partition>:s3:::<bucket_name>/ arn:<partition>:s3:::<bucket_name>/<object_path>/ When resources.type equals AWS::S3::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in one of the following formats. To log events on all objects in an S3 access point, we recommend that you use only the access point ARN, don’t include the object path, and use the StartsWith or NotStartsWith operators. arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name> arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>/object/<object_path> When resources.type equals AWS::Lambda::Function, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:lambda:<region>:<account_ID>:function:<function_name> When resources.type equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name> When resources.type equals AWS::S3Outposts::Object, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> When resources.type equals AWS::ManagedBlockchain::Node, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name> When resources.type equals AWS::EC2::Snapshot, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:ec2:<region>::snapshot/<snapshot_ID> When resources.type equals AWS::DynamoDB::Stream, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time> When resources.type equals AWS::Glue::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format: arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name> */ Field: SelectorField; /** @@ -494,7 +494,7 @@ declare namespace CloudTrail { } export interface DataResource { /** - * The resource type in which you want to log data events. You can specify the following basic event selector resource types: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table The following resource types are also availble through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector$Field. AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream + * The resource type in which you want to log data events. You can specify the following basic event selector resource types: AWS::S3::Object AWS::Lambda::Function AWS::DynamoDB::Table The following resource types are also availble through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector$Field. AWS::S3Outposts::Object AWS::ManagedBlockchain::Node AWS::S3ObjectLambda::AccessPoint AWS::EC2::Snapshot AWS::S3::AccessPoint AWS::DynamoDB::Stream AWS::Glue::Table */ Type?: String; /** @@ -669,7 +669,7 @@ declare namespace CloudTrail { */ DataResources?: DataResources; /** - * An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out Key Management Service or Amazon RDS Data API events by containing kms.amazonaws.com or rdsdata.amazonaws.com. By default, ExcludeManagementEventSources is empty, and KMS and Amazon RDS Data API events are logged to your trail. + * An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out Key Management Service or Amazon RDS Data API events by containing kms.amazonaws.com or rdsdata.amazonaws.com. By default, ExcludeManagementEventSources is empty, and KMS and Amazon RDS Data API events are logged to your trail. You can exclude management event sources only in regions that support the event source. */ ExcludeManagementEventSources?: ExcludeManagementEventSources; } diff --git a/node_modules/aws-sdk/clients/codegurureviewer.d.ts b/node_modules/aws-sdk/clients/codegurureviewer.d.ts index fe198294e..364915f5b 100644 --- a/node_modules/aws-sdk/clients/codegurureviewer.d.ts +++ b/node_modules/aws-sdk/clients/codegurureviewer.d.ts @@ -125,19 +125,19 @@ declare class CodeGuruReviewer extends Service { */ untagResource(callback?: (err: AWSError, data: CodeGuruReviewer.Types.UntagResourceResponse) => void): Request; /** - * Waits for the repositoryAssociationSucceeded state by periodically calling the underlying CodeGuruReviewer.describeRepositoryAssociationoperation every 10 seconds (at most 20 times). Wait until a repository association is complete. + * Waits for the repositoryAssociationSucceeded state by periodically calling the underlying CodeGuruReviewer.describeRepositoryAssociationoperation every 10 seconds (at most 30 times). Wait until a repository association is complete. */ waitFor(state: "repositoryAssociationSucceeded", params: CodeGuruReviewer.Types.DescribeRepositoryAssociationRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeRepositoryAssociationResponse) => void): Request; /** - * Waits for the repositoryAssociationSucceeded state by periodically calling the underlying CodeGuruReviewer.describeRepositoryAssociationoperation every 10 seconds (at most 20 times). Wait until a repository association is complete. + * Waits for the repositoryAssociationSucceeded state by periodically calling the underlying CodeGuruReviewer.describeRepositoryAssociationoperation every 10 seconds (at most 30 times). Wait until a repository association is complete. */ waitFor(state: "repositoryAssociationSucceeded", callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeRepositoryAssociationResponse) => void): Request; /** - * Waits for the codeReviewCompleted state by periodically calling the underlying CodeGuruReviewer.describeCodeReviewoperation every 10 seconds (at most 60 times). Wait until a code review is complete. + * Waits for the codeReviewCompleted state by periodically calling the underlying CodeGuruReviewer.describeCodeReviewoperation every 10 seconds (at most 180 times). Wait until a code review is complete. */ waitFor(state: "codeReviewCompleted", params: CodeGuruReviewer.Types.DescribeCodeReviewRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeCodeReviewResponse) => void): Request; /** - * Waits for the codeReviewCompleted state by periodically calling the underlying CodeGuruReviewer.describeCodeReviewoperation every 10 seconds (at most 60 times). Wait until a code review is complete. + * Waits for the codeReviewCompleted state by periodically calling the underlying CodeGuruReviewer.describeCodeReviewoperation every 10 seconds (at most 180 times). Wait until a code review is complete. */ waitFor(state: "codeReviewCompleted", callback?: (err: AWSError, data: CodeGuruReviewer.Types.DescribeCodeReviewResponse) => void): Request; } @@ -524,6 +524,7 @@ declare namespace CodeGuruReviewer { */ NextToken?: NextToken; } + export type ListRecommendationsMaxResults = number; export interface ListRecommendationsRequest { /** * Pagination token. @@ -532,7 +533,7 @@ declare namespace CodeGuruReviewer { /** * The maximum number of results that are returned per call. The default is 100. */ - MaxResults?: MaxResults; + MaxResults?: ListRecommendationsMaxResults; /** * The Amazon Resource Name (ARN) of the CodeReview object. */ diff --git a/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts b/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts index 55d6b65b3..e9e00856d 100644 --- a/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +++ b/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts @@ -36,11 +36,11 @@ declare class CognitoIdentityServiceProvider extends Service { */ adminConfirmSignUp(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminConfirmSignUpResponse) => void): Request; /** - * Creates a new user in the specified user pool. If MessageAction is not set, the default is to send a welcome message via email or phone (SMS). This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for user name and temporary password. Alternatively, you can call AdminCreateUser with “SUPPRESS” for the MessageAction parameter, and Amazon Cognito will not send any email. In either case, the user will be in the FORCE_CHANGE_PASSWORD state until they sign in and change their password. AdminCreateUser requires developer credentials. + * Creates a new user in the specified user pool. If MessageAction isn't set, the default is to send a welcome message via email or phone (SMS). This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for user name and temporary password. Alternatively, you can call AdminCreateUser with SUPPRESS for the MessageAction parameter, and Amazon Cognito won't send any email. In either case, the user will be in the FORCE_CHANGE_PASSWORD state until they sign in and change their password. AdminCreateUser requires developer credentials. */ adminCreateUser(params: CognitoIdentityServiceProvider.Types.AdminCreateUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminCreateUserResponse) => void): Request; /** - * Creates a new user in the specified user pool. If MessageAction is not set, the default is to send a welcome message via email or phone (SMS). This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for user name and temporary password. Alternatively, you can call AdminCreateUser with “SUPPRESS” for the MessageAction parameter, and Amazon Cognito will not send any email. In either case, the user will be in the FORCE_CHANGE_PASSWORD state until they sign in and change their password. AdminCreateUser requires developer credentials. + * Creates a new user in the specified user pool. If MessageAction isn't set, the default is to send a welcome message via email or phone (SMS). This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for user name and temporary password. Alternatively, you can call AdminCreateUser with SUPPRESS for the MessageAction parameter, and Amazon Cognito won't send any email. In either case, the user will be in the FORCE_CHANGE_PASSWORD state until they sign in and change their password. AdminCreateUser requires developer credentials. */ adminCreateUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminCreateUserResponse) => void): Request; /** @@ -60,11 +60,11 @@ declare class CognitoIdentityServiceProvider extends Service { */ adminDeleteUserAttributes(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminDeleteUserAttributesResponse) => void): Request; /** - * Disables the user from signing in with the specified external (SAML or social) identity provider. If the user to disable is a Cognito User Pools native username + password user, they are not permitted to use their password to sign-in. If the user to disable is a linked external IdP user, any link between that user and an existing user is removed. The next time the external user (no longer attached to the previously linked DestinationUser) signs in, they must create a new user account. See AdminLinkProviderForUser. This action is enabled only for admin access and requires developer credentials. The ProviderName must match the value specified when creating an IdP for the pool. To disable a native username + password user, the ProviderName value must be Cognito and the ProviderAttributeName must be Cognito_Subject, with the ProviderAttributeValue being the name that is used in the user pool for the user. The ProviderAttributeName must always be Cognito_Subject for social identity providers. The ProviderAttributeValue must always be the exact subject that was used when the user was originally linked as a source user. For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign-in, the ProviderAttributeName and ProviderAttributeValue must be the same values that were used for the SourceUser when the identities were originally linked using AdminLinkProviderForUser call. (If the linking was done with ProviderAttributeName set to Cognito_Subject, the same applies here). However, if the user has already signed in, the ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be the subject of the SAML assertion. + * Disables the user from signing in with the specified external (SAML or social) identity provider. If the user to disable is a Amazon Cognito User Pools native username + password user, they aren't permitted to use their password to sign in. If the user to deactivate is a linked external identity provider (IdP) user, any link between that user and an existing user is removed. The next time the external user (no longer attached to the previously linked DestinationUser) signs in, they must create a new user account. See AdminLinkProviderForUser. This action is enabled only for admin access and requires developer credentials. The ProviderName must match the value specified when creating an IdP for the pool. To deactivate a native username + password user, the ProviderName value must be Cognito and the ProviderAttributeName must be Cognito_Subject. The ProviderAttributeValue must be the name that is used in the user pool for the user. The ProviderAttributeName must always be Cognito_Subject for social identity providers. The ProviderAttributeValue must always be the exact subject that was used when the user was originally linked as a source user. For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign in, the ProviderAttributeName and ProviderAttributeValue must be the same values that were used for the SourceUser when the identities were originally linked using AdminLinkProviderForUser call. (If the linking was done with ProviderAttributeName set to Cognito_Subject, the same applies here). However, if the user has already signed in, the ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be the subject of the SAML assertion. */ adminDisableProviderForUser(params: CognitoIdentityServiceProvider.Types.AdminDisableProviderForUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminDisableProviderForUserResponse) => void): Request; /** - * Disables the user from signing in with the specified external (SAML or social) identity provider. If the user to disable is a Cognito User Pools native username + password user, they are not permitted to use their password to sign-in. If the user to disable is a linked external IdP user, any link between that user and an existing user is removed. The next time the external user (no longer attached to the previously linked DestinationUser) signs in, they must create a new user account. See AdminLinkProviderForUser. This action is enabled only for admin access and requires developer credentials. The ProviderName must match the value specified when creating an IdP for the pool. To disable a native username + password user, the ProviderName value must be Cognito and the ProviderAttributeName must be Cognito_Subject, with the ProviderAttributeValue being the name that is used in the user pool for the user. The ProviderAttributeName must always be Cognito_Subject for social identity providers. The ProviderAttributeValue must always be the exact subject that was used when the user was originally linked as a source user. For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign-in, the ProviderAttributeName and ProviderAttributeValue must be the same values that were used for the SourceUser when the identities were originally linked using AdminLinkProviderForUser call. (If the linking was done with ProviderAttributeName set to Cognito_Subject, the same applies here). However, if the user has already signed in, the ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be the subject of the SAML assertion. + * Disables the user from signing in with the specified external (SAML or social) identity provider. If the user to disable is a Amazon Cognito User Pools native username + password user, they aren't permitted to use their password to sign in. If the user to deactivate is a linked external identity provider (IdP) user, any link between that user and an existing user is removed. The next time the external user (no longer attached to the previously linked DestinationUser) signs in, they must create a new user account. See AdminLinkProviderForUser. This action is enabled only for admin access and requires developer credentials. The ProviderName must match the value specified when creating an IdP for the pool. To deactivate a native username + password user, the ProviderName value must be Cognito and the ProviderAttributeName must be Cognito_Subject. The ProviderAttributeValue must be the name that is used in the user pool for the user. The ProviderAttributeName must always be Cognito_Subject for social identity providers. The ProviderAttributeValue must always be the exact subject that was used when the user was originally linked as a source user. For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign in, the ProviderAttributeName and ProviderAttributeValue must be the same values that were used for the SourceUser when the identities were originally linked using AdminLinkProviderForUser call. (If the linking was done with ProviderAttributeName set to Cognito_Subject, the same applies here). However, if the user has already signed in, the ProviderAttributeName must be Cognito_Subject and ProviderAttributeValue must be the subject of the SAML assertion. */ adminDisableProviderForUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminDisableProviderForUserResponse) => void): Request; /** @@ -108,19 +108,19 @@ declare class CognitoIdentityServiceProvider extends Service { */ adminGetUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminGetUserResponse) => void): Request; /** - * Initiates the authentication flow, as an administrator. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. + * Initiates the authentication flow, as an administrator. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. */ adminInitiateAuth(params: CognitoIdentityServiceProvider.Types.AdminInitiateAuthRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminInitiateAuthResponse) => void): Request; /** - * Initiates the authentication flow, as an administrator. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. + * Initiates the authentication flow, as an administrator. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. */ adminInitiateAuth(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminInitiateAuthResponse) => void): Request; /** - * Links an existing user account in a user pool (DestinationUser) to an identity from an external identity provider (SourceUser) based on a specified attribute name and value from the external identity provider. This allows you to create a link from the existing user account to an external federated user identity that has not yet been used to sign in, so that the federated user identity can be used to sign in as the existing user account. For example, if there is an existing user with a username and password, this API links that user to a federated user identity, so that when the federated user identity is used, the user signs in as the existing user account. The maximum number of federated identities linked to a user is 5. Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external identity providers and provider attributes that have been trusted by the application owner. This action is enabled only for admin access and requires developer credentials. + * Links an existing user account in a user pool (DestinationUser) to an identity from an external identity provider (SourceUser) based on a specified attribute name and value from the external identity provider. This allows you to create a link from the existing user account to an external federated user identity that has not yet been used to sign in. You can then use the federated user identity to sign in as the existing user account. For example, if there is an existing user with a username and password, this API links that user to a federated user identity. When the user signs in with a federated user identity, they sign in as the existing user account. The maximum number of federated identities linked to a user is 5. Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external identity providers and provider attributes that have been trusted by the application owner. This action is administrative and requires developer credentials. */ adminLinkProviderForUser(params: CognitoIdentityServiceProvider.Types.AdminLinkProviderForUserRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminLinkProviderForUserResponse) => void): Request; /** - * Links an existing user account in a user pool (DestinationUser) to an identity from an external identity provider (SourceUser) based on a specified attribute name and value from the external identity provider. This allows you to create a link from the existing user account to an external federated user identity that has not yet been used to sign in, so that the federated user identity can be used to sign in as the existing user account. For example, if there is an existing user with a username and password, this API links that user to a federated user identity, so that when the federated user identity is used, the user signs in as the existing user account. The maximum number of federated identities linked to a user is 5. Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external identity providers and provider attributes that have been trusted by the application owner. This action is enabled only for admin access and requires developer credentials. + * Links an existing user account in a user pool (DestinationUser) to an identity from an external identity provider (SourceUser) based on a specified attribute name and value from the external identity provider. This allows you to create a link from the existing user account to an external federated user identity that has not yet been used to sign in. You can then use the federated user identity to sign in as the existing user account. For example, if there is an existing user with a username and password, this API links that user to a federated user identity. When the user signs in with a federated user identity, they sign in as the existing user account. The maximum number of federated identities linked to a user is 5. Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external identity providers and provider attributes that have been trusted by the application owner. This action is administrative and requires developer credentials. */ adminLinkProviderForUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminLinkProviderForUserResponse) => void): Request; /** @@ -140,11 +140,11 @@ declare class CognitoIdentityServiceProvider extends Service { */ adminListGroupsForUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminListGroupsForUserResponse) => void): Request; /** - * Lists a history of user activity and any risks detected as part of Amazon Cognito advanced security. + * A history of user activity and any risks detected as part of Amazon Cognito advanced security. */ adminListUserAuthEvents(params: CognitoIdentityServiceProvider.Types.AdminListUserAuthEventsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminListUserAuthEventsResponse) => void): Request; /** - * Lists a history of user activity and any risks detected as part of Amazon Cognito advanced security. + * A history of user activity and any risks detected as part of Amazon Cognito advanced security. */ adminListUserAuthEvents(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminListUserAuthEventsResponse) => void): Request; /** @@ -156,51 +156,51 @@ declare class CognitoIdentityServiceProvider extends Service { */ adminRemoveUserFromGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Resets the specified user's password in a user pool as an administrator. Works on any user. When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. + * Resets the specified user's password in a user pool as an administrator. Works on any user. When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. */ adminResetUserPassword(params: CognitoIdentityServiceProvider.Types.AdminResetUserPasswordRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminResetUserPasswordResponse) => void): Request; /** - * Resets the specified user's password in a user pool as an administrator. Works on any user. When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. + * Resets the specified user's password in a user pool as an administrator. Works on any user. When a developer calls this API, the current password is invalidated, so it must be changed. If a user tries to sign in after the API is called, the app will get a PasswordResetRequiredException exception back and should direct the user down the flow to reset the password, which is the same as the forgot password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. */ adminResetUserPassword(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminResetUserPasswordResponse) => void): Request; /** - * Responds to an authentication challenge, as an administrator. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. + * Responds to an authentication challenge, as an administrator. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. */ adminRespondToAuthChallenge(params: CognitoIdentityServiceProvider.Types.AdminRespondToAuthChallengeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminRespondToAuthChallengeResponse) => void): Request; /** - * Responds to an authentication challenge, as an administrator. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. + * Responds to an authentication challenge, as an administrator. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. */ adminRespondToAuthChallenge(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminRespondToAuthChallengeResponse) => void): Request; /** - * Sets the user's multi-factor authentication (MFA) preference, including which MFA options are enabled and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are enabled. If multiple options are enabled and no preference is set, a challenge to choose an MFA option will be returned during sign in. + * The user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. */ adminSetUserMFAPreference(params: CognitoIdentityServiceProvider.Types.AdminSetUserMFAPreferenceRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminSetUserMFAPreferenceResponse) => void): Request; /** - * Sets the user's multi-factor authentication (MFA) preference, including which MFA options are enabled and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are enabled. If multiple options are enabled and no preference is set, a challenge to choose an MFA option will be returned during sign in. + * The user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. */ adminSetUserMFAPreference(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminSetUserMFAPreferenceResponse) => void): Request; /** - * Sets the specified user's password in a user pool as an administrator. Works on any user. The password can be temporary or permanent. If it is temporary, the user status will be placed into the FORCE_CHANGE_PASSWORD state. When the user next tries to sign in, the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED challenge. If the user does not sign in before it expires, the user will not be able to sign in and their password will need to be reset by an administrator. Once the user has set a new password, or the password is permanent, the user status will be set to Confirmed. + * Sets the specified user's password in a user pool as an administrator. Works on any user. The password can be temporary or permanent. If it is temporary, the user status enters the FORCE_CHANGE_PASSWORD state. When the user next tries to sign in, the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED challenge. If the user doesn't sign in before it expires, the user won't be able to sign in, and an administrator must reset their password. Once the user has set a new password, or the password is permanent, the user status is set to Confirmed. */ adminSetUserPassword(params: CognitoIdentityServiceProvider.Types.AdminSetUserPasswordRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminSetUserPasswordResponse) => void): Request; /** - * Sets the specified user's password in a user pool as an administrator. Works on any user. The password can be temporary or permanent. If it is temporary, the user status will be placed into the FORCE_CHANGE_PASSWORD state. When the user next tries to sign in, the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED challenge. If the user does not sign in before it expires, the user will not be able to sign in and their password will need to be reset by an administrator. Once the user has set a new password, or the password is permanent, the user status will be set to Confirmed. + * Sets the specified user's password in a user pool as an administrator. Works on any user. The password can be temporary or permanent. If it is temporary, the user status enters the FORCE_CHANGE_PASSWORD state. When the user next tries to sign in, the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED challenge. If the user doesn't sign in before it expires, the user won't be able to sign in, and an administrator must reset their password. Once the user has set a new password, or the password is permanent, the user status is set to Confirmed. */ adminSetUserPassword(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminSetUserPasswordResponse) => void): Request; /** - * This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use AdminSetUserMFAPreference instead. + * This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software token MFA. To configure either type of MFA, use AdminSetUserMFAPreference instead. */ adminSetUserSettings(params: CognitoIdentityServiceProvider.Types.AdminSetUserSettingsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminSetUserSettingsResponse) => void): Request; /** - * This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use AdminSetUserMFAPreference instead. + * This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software token MFA. To configure either type of MFA, use AdminSetUserMFAPreference instead. */ adminSetUserSettings(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminSetUserSettingsResponse) => void): Request; /** - * Provides feedback for an authentication event as to whether it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security. + * Provides feedback for an authentication event indicating if it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security. */ adminUpdateAuthEventFeedback(params: CognitoIdentityServiceProvider.Types.AdminUpdateAuthEventFeedbackRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateAuthEventFeedbackResponse) => void): Request; /** - * Provides feedback for an authentication event as to whether it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security. + * Provides feedback for an authentication event indicating if it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security. */ adminUpdateAuthEventFeedback(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateAuthEventFeedbackResponse) => void): Request; /** @@ -212,27 +212,27 @@ declare class CognitoIdentityServiceProvider extends Service { */ adminUpdateDeviceStatus(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateDeviceStatusResponse) => void): Request; /** - * Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. For custom attributes, you must prepend the custom: prefix to the attribute name. In addition to updating user attributes, this API can also be used to mark phone and email as verified. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. + * Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. For custom attributes, you must prepend the custom: prefix to the attribute name. In addition to updating user attributes, this API can also be used to mark phone and email as verified. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. */ adminUpdateUserAttributes(params: CognitoIdentityServiceProvider.Types.AdminUpdateUserAttributesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateUserAttributesResponse) => void): Request; /** - * Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. For custom attributes, you must prepend the custom: prefix to the attribute name. In addition to updating user attributes, this API can also be used to mark phone and email as verified. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. + * Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. For custom attributes, you must prepend the custom: prefix to the attribute name. In addition to updating user attributes, this API can also be used to mark phone and email as verified. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. Calling this action requires developer credentials. */ adminUpdateUserAttributes(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUpdateUserAttributesResponse) => void): Request; /** - * Signs out users from all devices, as an administrator. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued. Calling this action requires developer credentials. + * Signs out users from all devices, as an administrator. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they're issued. Calling this action requires developer credentials. */ adminUserGlobalSignOut(params: CognitoIdentityServiceProvider.Types.AdminUserGlobalSignOutRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUserGlobalSignOutResponse) => void): Request; /** - * Signs out users from all devices, as an administrator. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued. Calling this action requires developer credentials. + * Signs out users from all devices, as an administrator. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they're issued. Calling this action requires developer credentials. */ adminUserGlobalSignOut(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AdminUserGlobalSignOutResponse) => void): Request; /** - * Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both. Calling AssociateSoftwareToken immediately disassociates the existing software token from the user account. If the user doesn't subsequently verify the software token, their account is essentially set up to authenticate without MFA. If MFA config is set to Optional at the user pool level, the user can then login without MFA. However, if MFA is set to Required for the user pool, the user will be asked to setup a new software token MFA during sign in. + * Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both. Calling AssociateSoftwareToken immediately disassociates the existing software token from the user account. If the user doesn't subsequently verify the software token, their account is set up to authenticate without MFA. If MFA config is set to Optional at the user pool level, the user can then log in without MFA. However, if MFA is set to Required for the user pool, the user is asked to set up a new software token MFA during sign-in. */ associateSoftwareToken(params: CognitoIdentityServiceProvider.Types.AssociateSoftwareTokenRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AssociateSoftwareTokenResponse) => void): Request; /** - * Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both. Calling AssociateSoftwareToken immediately disassociates the existing software token from the user account. If the user doesn't subsequently verify the software token, their account is essentially set up to authenticate without MFA. If MFA config is set to Optional at the user pool level, the user can then login without MFA. However, if MFA is set to Required for the user pool, the user will be asked to setup a new software token MFA during sign in. + * Returns a unique generated shared secret key code for the user account. The request takes an access token or a session string, but not both. Calling AssociateSoftwareToken immediately disassociates the existing software token from the user account. If the user doesn't subsequently verify the software token, their account is set up to authenticate without MFA. If MFA config is set to Optional at the user pool level, the user can then log in without MFA. However, if MFA is set to Required for the user pool, the user is asked to set up a new software token MFA during sign-in. */ associateSoftwareToken(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.AssociateSoftwareTokenResponse) => void): Request; /** @@ -284,11 +284,11 @@ declare class CognitoIdentityServiceProvider extends Service { */ createIdentityProvider(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateIdentityProviderResponse) => void): Request; /** - * Creates a new OAuth2.0 resource server and defines custom scopes in it. + * Creates a new OAuth2.0 resource server and defines custom scopes within it. */ createResourceServer(params: CognitoIdentityServiceProvider.Types.CreateResourceServerRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateResourceServerResponse) => void): Request; /** - * Creates a new OAuth2.0 resource server and defines custom scopes in it. + * Creates a new OAuth2.0 resource server and defines custom scopes within it. */ createResourceServer(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateResourceServerResponse) => void): Request; /** @@ -300,19 +300,19 @@ declare class CognitoIdentityServiceProvider extends Service { */ createUserImportJob(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserImportJobResponse) => void): Request; /** - * Creates a new Amazon Cognito user pool and sets the password policy for the pool. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Creates a new Amazon Cognito user pool and sets the password policy for the pool. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ createUserPool(params: CognitoIdentityServiceProvider.Types.CreateUserPoolRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolResponse) => void): Request; /** - * Creates a new Amazon Cognito user pool and sets the password policy for the pool. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Creates a new Amazon Cognito user pool and sets the password policy for the pool. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ createUserPool(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolResponse) => void): Request; /** - * Creates the user pool client. When you create a new user pool client, token revocation is automatically enabled. For more information about revoking tokens, see RevokeToken. + * Creates the user pool client. When you create a new user pool client, token revocation is automatically activated. For more information about revoking tokens, see RevokeToken. */ createUserPoolClient(params: CognitoIdentityServiceProvider.Types.CreateUserPoolClientRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolClientResponse) => void): Request; /** - * Creates the user pool client. When you create a new user pool client, token revocation is automatically enabled. For more information about revoking tokens, see RevokeToken. + * Creates the user pool client. When you create a new user pool client, token revocation is automatically activated. For more information about revoking tokens, see RevokeToken. */ createUserPoolClient(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.CreateUserPoolClientResponse) => void): Request; /** @@ -452,19 +452,19 @@ declare class CognitoIdentityServiceProvider extends Service { */ forgetDevice(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer Guide. If neither a verified phone number nor a verified email exists, an InvalidParameterException is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer Guide. If neither a verified phone number nor a verified email exists, an InvalidParameterException is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ forgotPassword(params: CognitoIdentityServiceProvider.Types.ForgotPasswordRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ForgotPasswordResponse) => void): Request; /** - * Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer Guide. If neither a verified phone number nor a verified email exists, an InvalidParameterException is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer Guide. If neither a verified phone number nor a verified email exists, an InvalidParameterException is thrown. To use the confirmation code for resetting the password, call ConfirmForgotPassword. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ forgotPassword(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ForgotPasswordResponse) => void): Request; /** - * Gets the header information for the .csv file to be used as input for the user import job. + * Gets the header information for the comma-separated value (CSV) file to be used as input for the user import job. */ getCSVHeader(params: CognitoIdentityServiceProvider.Types.GetCSVHeaderRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetCSVHeaderResponse) => void): Request; /** - * Gets the header information for the .csv file to be used as input for the user import job. + * Gets the header information for the comma-separated value (CSV) file to be used as input for the user import job. */ getCSVHeader(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetCSVHeaderResponse) => void): Request; /** @@ -500,11 +500,11 @@ declare class CognitoIdentityServiceProvider extends Service { */ getSigningCertificate(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetSigningCertificateResponse) => void): Request; /** - * Gets the UI Customization information for a particular app client's app UI, if there is something set. If nothing is set for the particular client, but there is an existing pool level customization (app clientId will be ALL), then that is returned. If nothing is present, then an empty shape is returned. + * Gets the user interface (UI) Customization information for a particular app client's app UI, if any such information exists for the client. If nothing is set for the particular client, but there is an existing pool level customization (the app clientId is ALL), then that information is returned. If nothing is present, then an empty shape is returned. */ getUICustomization(params: CognitoIdentityServiceProvider.Types.GetUICustomizationRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUICustomizationResponse) => void): Request; /** - * Gets the UI Customization information for a particular app client's app UI, if there is something set. If nothing is set for the particular client, but there is an existing pool level customization (app clientId will be ALL), then that is returned. If nothing is present, then an empty shape is returned. + * Gets the user interface (UI) Customization information for a particular app client's app UI, if any such information exists for the client. If nothing is set for the particular client, but there is an existing pool level customization (the app clientId is ALL), then that information is returned. If nothing is present, then an empty shape is returned. */ getUICustomization(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUICustomizationResponse) => void): Request; /** @@ -516,11 +516,11 @@ declare class CognitoIdentityServiceProvider extends Service { */ getUser(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUserResponse) => void): Request; /** - * Gets the user attribute verification code for the specified attribute name. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Gets the user attribute verification code for the specified attribute name. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ getUserAttributeVerificationCode(params: CognitoIdentityServiceProvider.Types.GetUserAttributeVerificationCodeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUserAttributeVerificationCodeResponse) => void): Request; /** - * Gets the user attribute verification code for the specified attribute name. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Gets the user attribute verification code for the specified attribute name. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ getUserAttributeVerificationCode(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUserAttributeVerificationCodeResponse) => void): Request; /** @@ -532,19 +532,19 @@ declare class CognitoIdentityServiceProvider extends Service { */ getUserPoolMfaConfig(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GetUserPoolMfaConfigResponse) => void): Request; /** - * Signs out users from all devices. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued. + * Signs out users from all devices. It also invalidates all refresh tokens issued to a user. The user's current access and ID tokens remain valid until their expiry. Access and Id tokens expire one hour after they're issued. */ globalSignOut(params: CognitoIdentityServiceProvider.Types.GlobalSignOutRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GlobalSignOutResponse) => void): Request; /** - * Signs out users from all devices. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued. + * Signs out users from all devices. It also invalidates all refresh tokens issued to a user. The user's current access and ID tokens remain valid until their expiry. Access and Id tokens expire one hour after they're issued. */ globalSignOut(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.GlobalSignOutResponse) => void): Request; /** - * Initiates the authentication flow. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Initiates the authentication flow. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ initiateAuth(params: CognitoIdentityServiceProvider.Types.InitiateAuthRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.InitiateAuthResponse) => void): Request; /** - * Initiates the authentication flow. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Initiates the authentication flow. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ initiateAuth(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.InitiateAuthResponse) => void): Request; /** @@ -604,11 +604,11 @@ declare class CognitoIdentityServiceProvider extends Service { */ listUserPoolClients(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserPoolClientsResponse) => void): Request; /** - * Lists the user pools associated with an account. + * Lists the user pools associated with an Amazon Web Services account. */ listUserPools(params: CognitoIdentityServiceProvider.Types.ListUserPoolsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserPoolsResponse) => void): Request; /** - * Lists the user pools associated with an account. + * Lists the user pools associated with an Amazon Web Services account. */ listUserPools(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUserPoolsResponse) => void): Request; /** @@ -628,75 +628,75 @@ declare class CognitoIdentityServiceProvider extends Service { */ listUsersInGroup(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ListUsersInGroupResponse) => void): Request; /** - * Resends the confirmation (for confirmation of registration) to a specific user in the user pool. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Resends the confirmation (for confirmation of registration) to a specific user in the user pool. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ resendConfirmationCode(params: CognitoIdentityServiceProvider.Types.ResendConfirmationCodeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ResendConfirmationCodeResponse) => void): Request; /** - * Resends the confirmation (for confirmation of registration) to a specific user in the user pool. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Resends the confirmation (for confirmation of registration) to a specific user in the user pool. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ resendConfirmationCode(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.ResendConfirmationCodeResponse) => void): Request; /** - * Responds to the authentication challenge. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Responds to the authentication challenge. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ respondToAuthChallenge(params: CognitoIdentityServiceProvider.Types.RespondToAuthChallengeRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RespondToAuthChallengeResponse) => void): Request; /** - * Responds to the authentication challenge. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Responds to the authentication challenge. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ respondToAuthChallenge(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RespondToAuthChallengeResponse) => void): Request; /** - * Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can not use the revoked token to access Cognito authenticated APIs. + * Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can't use the revoked token to access Amazon Cognito authenticated APIs. */ revokeToken(params: CognitoIdentityServiceProvider.Types.RevokeTokenRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RevokeTokenResponse) => void): Request; /** - * Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can not use the revoked token to access Cognito authenticated APIs. + * Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can't use the revoked token to access Amazon Cognito authenticated APIs. */ revokeToken(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.RevokeTokenResponse) => void): Request; /** - * Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types. To enable Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode. + * Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types. To activate Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode. */ setRiskConfiguration(params: CognitoIdentityServiceProvider.Types.SetRiskConfigurationRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetRiskConfigurationResponse) => void): Request; /** - * Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types. To enable Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode. + * Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types. To activate Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode. */ setRiskConfiguration(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetRiskConfigurationResponse) => void): Request; /** - * Sets the UI customization information for a user pool's built-in app UI. You can specify app UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to ALL). If you specify ALL, the default configuration will be used for every client that has no UI customization set previously. If you specify UI customization settings for a particular client, it will no longer fall back to the ALL configuration. To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error. + * Sets the user interface (UI) customization information for a user pool's built-in app UI. You can specify app UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to ALL). If you specify ALL, the default configuration is used for every client that has no previously set UI customization. If you specify UI customization settings for a particular client, it will no longer return to the ALL configuration. To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error. */ setUICustomization(params: CognitoIdentityServiceProvider.Types.SetUICustomizationRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUICustomizationResponse) => void): Request; /** - * Sets the UI customization information for a user pool's built-in app UI. You can specify app UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to ALL). If you specify ALL, the default configuration will be used for every client that has no UI customization set previously. If you specify UI customization settings for a particular client, it will no longer fall back to the ALL configuration. To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error. + * Sets the user interface (UI) customization information for a user pool's built-in app UI. You can specify app UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to ALL). If you specify ALL, the default configuration is used for every client that has no previously set UI customization. If you specify UI customization settings for a particular client, it will no longer return to the ALL configuration. To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error. */ setUICustomization(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUICustomizationResponse) => void): Request; /** - * Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are enabled and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are enabled. If multiple options are enabled and no preference is set, a challenge to choose an MFA option will be returned during sign in. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. If you would like MFA to be applied selectively based on the assessed risk level of sign in attempts, disable MFA for users and turn on Adaptive Authentication for the user pool. + * Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts unless device tracking is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool. */ setUserMFAPreference(params: CognitoIdentityServiceProvider.Types.SetUserMFAPreferenceRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUserMFAPreferenceResponse) => void): Request; /** - * Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are enabled and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are enabled. If multiple options are enabled and no preference is set, a challenge to choose an MFA option will be returned during sign in. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. If you would like MFA to be applied selectively based on the assessed risk level of sign in attempts, disable MFA for users and turn on Adaptive Authentication for the user pool. + * Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts unless device tracking is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool. */ setUserMFAPreference(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUserMFAPreferenceResponse) => void): Request; /** - * Set the user pool multi-factor authentication (MFA) configuration. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Sets the user pool multi-factor authentication (MFA) configuration. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ setUserPoolMfaConfig(params: CognitoIdentityServiceProvider.Types.SetUserPoolMfaConfigRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUserPoolMfaConfigResponse) => void): Request; /** - * Set the user pool multi-factor authentication (MFA) configuration. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Sets the user pool multi-factor authentication (MFA) configuration. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ setUserPoolMfaConfig(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUserPoolMfaConfigResponse) => void): Request; /** - * This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use SetUserMFAPreference instead. + * This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software token MFA. To configure either type of MFA, use SetUserMFAPreference instead. */ setUserSettings(params: CognitoIdentityServiceProvider.Types.SetUserSettingsRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUserSettingsResponse) => void): Request; /** - * This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use SetUserMFAPreference instead. + * This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software token MFA. To configure either type of MFA, use SetUserMFAPreference instead. */ setUserSettings(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SetUserSettingsResponse) => void): Request; /** - * Registers the user in the specified user pool and creates a user name, password, and user attributes. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Registers the user in the specified user pool and creates a user name, password, and user attributes. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ signUp(params: CognitoIdentityServiceProvider.Types.SignUpRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SignUpResponse) => void): Request; /** - * Registers the user in the specified user pool and creates a user name, password, and user attributes. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Registers the user in the specified user pool and creates a user name, password, and user attributes. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ signUp(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.SignUpResponse) => void): Request; /** @@ -716,27 +716,27 @@ declare class CognitoIdentityServiceProvider extends Service { */ stopUserImportJob(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.StopUserImportJobResponse) => void): Request; /** - * Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for one user pool and Production for the other. Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an IAM policy, you can constrain permissions for user pools based on specific tags or tag values. You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags. + * Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for one user pool, and Production for the other. Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an Identity and Access Management policy, you can constrain permissions for user pools based on specific tags or tag values. You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags. */ tagResource(params: CognitoIdentityServiceProvider.Types.TagResourceRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.TagResourceResponse) => void): Request; /** - * Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for one user pool and Production for the other. Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an IAM policy, you can constrain permissions for user pools based on specific tags or tag values. You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags. + * Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment tag key to both user pools. The value of this key might be Test for one user pool, and Production for the other. Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an Identity and Access Management policy, you can constrain permissions for user pools based on specific tags or tag values. You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags. */ tagResource(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.TagResourceResponse) => void): Request; /** - * Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5 times per second, per account + * Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5 times per second, per account. */ untagResource(params: CognitoIdentityServiceProvider.Types.UntagResourceRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UntagResourceResponse) => void): Request; /** - * Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5 times per second, per account + * Removes the specified tags from an Amazon Cognito user pool. You can use this action up to 5 times per second, per account. */ untagResource(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UntagResourceResponse) => void): Request; /** - * Provides the feedback for an authentication event whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security. + * Provides the feedback for an authentication event, whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security. */ updateAuthEventFeedback(params: CognitoIdentityServiceProvider.Types.UpdateAuthEventFeedbackRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateAuthEventFeedbackResponse) => void): Request; /** - * Provides the feedback for an authentication event whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security. + * Provides the feedback for an authentication event, whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security. */ updateAuthEventFeedback(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateAuthEventFeedbackResponse) => void): Request; /** @@ -764,27 +764,27 @@ declare class CognitoIdentityServiceProvider extends Service { */ updateIdentityProvider(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateIdentityProviderResponse) => void): Request; /** - * Updates the name and scopes of resource server. All other fields are read-only. If you don't provide a value for an attribute, it will be set to the default value. + * Updates the name and scopes of resource server. All other fields are read-only. If you don't provide a value for an attribute, it is set to the default value. */ updateResourceServer(params: CognitoIdentityServiceProvider.Types.UpdateResourceServerRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateResourceServerResponse) => void): Request; /** - * Updates the name and scopes of resource server. All other fields are read-only. If you don't provide a value for an attribute, it will be set to the default value. + * Updates the name and scopes of resource server. All other fields are read-only. If you don't provide a value for an attribute, it is set to the default value. */ updateResourceServer(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateResourceServerResponse) => void): Request; /** - * Allows a user to update a specific attribute (one at a time). This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Allows a user to update a specific attribute (one at a time). This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ updateUserAttributes(params: CognitoIdentityServiceProvider.Types.UpdateUserAttributesRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserAttributesResponse) => void): Request; /** - * Allows a user to update a specific attribute (one at a time). This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Allows a user to update a specific attribute (one at a time). This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ updateUserAttributes(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserAttributesResponse) => void): Request; /** - * Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it will be set to the default value. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it will be set to the default value. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ updateUserPool(params: CognitoIdentityServiceProvider.Types.UpdateUserPoolRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolResponse) => void): Request; /** - * Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it will be set to the default value. This action might generate an SMS text message. Starting June 1, 2021, U.S. telecom carriers require that you register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Cognito will use the the registered number automatically. Otherwise, Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In sandbox mode , you’ll have limitations, such as sending messages to only verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Cognito User Pools in the Amazon Cognito Developer Guide. + * Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using DescribeUserPool. If you don't provide a value for an attribute, it will be set to the default value. This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito will use the registered number automatically. Otherwise, Amazon Cognito users that must receive SMS messages might be unable to sign up, activate their accounts, or sign in. If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in SMS sandbox. In sandbox mode , you will have limitations, such as sending messages only to verified phone numbers. After testing in the sandbox environment, you can move out of the SMS sandbox and into production. For more information, see SMS message settings for Amazon Cognito User Pools in the Amazon Cognito Developer Guide. */ updateUserPool(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolResponse) => void): Request; /** @@ -796,19 +796,19 @@ declare class CognitoIdentityServiceProvider extends Service { */ updateUserPoolClient(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolClientResponse) => void): Request; /** - * Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool. You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You cannot use it to change the domain for a user pool. A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you manage with Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain. Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same, and your custom domain uses the new certificate automatically. However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide this ARN to Amazon Cognito. When you add your new certificate in ACM, you must choose US East (N. Virginia) as the Region. After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain. For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI. + * Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool. You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You can't use it to change the domain for a user pool. A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you manage with Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain. Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same, and your custom domain uses the new certificate automatically. However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide this ARN to Amazon Cognito. When you add your new certificate in ACM, you must choose US East (N. Virginia) as the Amazon Web Services Region. After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain. For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI. */ updateUserPoolDomain(params: CognitoIdentityServiceProvider.Types.UpdateUserPoolDomainRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolDomainResponse) => void): Request; /** - * Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool. You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You cannot use it to change the domain for a user pool. A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you manage with Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain. Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same, and your custom domain uses the new certificate automatically. However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide this ARN to Amazon Cognito. When you add your new certificate in ACM, you must choose US East (N. Virginia) as the Region. After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain. For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI. + * Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool. You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You can't use it to change the domain for a user pool. A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you manage with Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain. Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same, and your custom domain uses the new certificate automatically. However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide this ARN to Amazon Cognito. When you add your new certificate in ACM, you must choose US East (N. Virginia) as the Amazon Web Services Region. After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain. For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI. */ updateUserPoolDomain(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.UpdateUserPoolDomainResponse) => void): Request; /** - * Use this API to register a user's entered TOTP code and mark the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both. + * Use this API to register a user's entered time-based one-time password (TOTP) code and mark the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both. */ verifySoftwareToken(params: CognitoIdentityServiceProvider.Types.VerifySoftwareTokenRequest, callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.VerifySoftwareTokenResponse) => void): Request; /** - * Use this API to register a user's entered TOTP code and mark the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both. + * Use this API to register a user's entered time-based one-time password (TOTP) code and mark the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both. */ verifySoftwareToken(callback?: (err: AWSError, data: CognitoIdentityServiceProvider.Types.VerifySoftwareTokenResponse) => void): Request; /** @@ -836,7 +836,7 @@ declare namespace CognitoIdentityServiceProvider { */ Notify: AccountTakeoverActionNotifyType; /** - * The event action. BLOCK Choosing this action will block the request. MFA_IF_CONFIGURED Throw MFA challenge if user has configured it, else allow the request. MFA_REQUIRED Throw MFA challenge if user has configured it, else block the request. NO_ACTION Allow the user sign-in. + * The event action. BLOCK Choosing this action will block the request. MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the request. MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request. NO_ACTION Allow the user to sign in. */ EventAction: AccountTakeoverEventActionType; } @@ -861,7 +861,7 @@ declare namespace CognitoIdentityServiceProvider { */ NotifyConfiguration?: NotifyConfigurationType; /** - * Account takeover risk configuration actions + * Account takeover risk configuration actions. */ Actions: AccountTakeoverActionsType; } @@ -901,7 +901,7 @@ declare namespace CognitoIdentityServiceProvider { */ Username: UsernameType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. If your user pool configuration includes triggers, the AdminConfirmSignUp API action invokes the Lambda function that is specified for the post confirmation trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. In this payload, the clientMetadata attribute provides the data that you assigned to the ClientMetadata parameter in your AdminConfirmSignUp request. In your function code in Lambda, you can process the ClientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. If your user pool configuration includes triggers, the AdminConfirmSignUp API action invokes the Lambda function that is specified for the post confirmation trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. In this payload, the clientMetadata attribute provides the data that you assigned to the ClientMetadata parameter in your AdminConfirmSignUp request. In your function code in Lambda, you can process the ClientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -913,7 +913,7 @@ declare namespace CognitoIdentityServiceProvider { */ AllowAdminCreateUserOnly?: BooleanType; /** - * The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The default value for this parameter is 7. If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be used and UnusedAccountValidityDays will be deprecated for that user pool. + * The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The default value for this parameter is 7. If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be used, and UnusedAccountValidityDays will be no longer be an available parameter for that user pool. */ UnusedAccountValidityDays?: AdminCreateUserUnusedAccountValidityDaysType; /** @@ -927,35 +927,35 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username cannot be changed. + * The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username can't be changed. */ Username: UsernameType; /** - * An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than Username. However, any attributes that you specify as required (when creating a user pool or in the Attributes tab of the console) must be supplied either by you (in your call to AdminCreateUser) or by the user (when he or she signs up in response to your welcome message). For custom attributes, you must prepend the custom: prefix to the attribute name. To send a message inviting the user to sign up, you must specify the user's email address or phone number. This can be done in your call to AdminCreateUser or in the Users tab of the Amazon Cognito console for managing your user pools. In your call to AdminCreateUser, you can set the email_verified attribute to True, and you can set the phone_number_verified attribute to True. (You can also do this by calling AdminUpdateUserAttributes.) email: The email address of the user to whom the message that contains the code and username will be sent. Required if the email_verified attribute is set to True, or if "EMAIL" is specified in the DesiredDeliveryMediums parameter. phone_number: The phone number of the user to whom the message that contains the code and username will be sent. Required if the phone_number_verified attribute is set to True, or if "SMS" is specified in the DesiredDeliveryMediums parameter. + * An array of name-value pairs that contain user attributes and attribute values to be set for the user to be created. You can create a user without specifying any attributes other than Username. However, any attributes that you specify as required (when creating a user pool or in the Attributes tab of the console) either you should supply (in your call to AdminCreateUser) or the user should supply (when they sign up in response to your welcome message). For custom attributes, you must prepend the custom: prefix to the attribute name. To send a message inviting the user to sign up, you must specify the user's email address or phone number. You can do this in your call to AdminCreateUser or in the Users tab of the Amazon Cognito console for managing your user pools. In your call to AdminCreateUser, you can set the email_verified attribute to True, and you can set the phone_number_verified attribute to True. You can also do this by calling AdminUpdateUserAttributes. email: The email address of the user to whom the message that contains the code and username will be sent. Required if the email_verified attribute is set to True, or if "EMAIL" is specified in the DesiredDeliveryMediums parameter. phone_number: The phone number of the user to whom the message that contains the code and username will be sent. Required if the phone_number_verified attribute is set to True, or if "SMS" is specified in the DesiredDeliveryMediums parameter. */ UserAttributes?: AttributeListType; /** - * The user's validation data. This is an array of name-value pairs that contain user attributes and attribute values that you can use for custom validation, such as restricting the types of user accounts that can be registered. For example, you might choose to allow or disallow user sign-up based on the user's domain. To configure custom validation, you must create a Pre Sign-up Lambda trigger for the user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger receives the validation data and uses it in the validation process. The user's validation data is not persisted. + * The user's validation data. This is an array of name-value pairs that contain user attributes and attribute values that you can use for custom validation, such as restricting the types of user accounts that can be registered. For example, you might choose to allow or disallow user sign-up based on the user's domain. To configure custom validation, you must create a Pre Sign-up Lambda trigger for the user pool as described in the Amazon Cognito Developer Guide. The Lambda trigger receives the validation data and uses it in the validation process. The user's validation data isn't persisted. */ ValidationData?: AttributeListType; /** - * The user's temporary password. This password must conform to the password policy that you specified when you created the user pool. The temporary password is valid only once. To complete the Admin Create User flow, the user must enter the temporary password in the sign-in page along with a new password to be used in all future sign-ins. This parameter is not required. If you do not specify a value, Amazon Cognito generates one for you. The temporary password can only be used until the user account expiration limit that you specified when you created the user pool. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. + * The user's temporary password. This password must conform to the password policy that you specified when you created the user pool. The temporary password is valid only once. To complete the Admin Create User flow, the user must enter the temporary password in the sign-in page, along with a new password to be used in all future sign-ins. This parameter isn't required. If you don't specify a value, Amazon Cognito generates one for you. The temporary password can only be used until the user account expiration limit that you specified when you created the user pool. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. */ TemporaryPassword?: PasswordType; /** - * This parameter is only used if the phone_number_verified or email_verified attribute is set to True. Otherwise, it is ignored. If this parameter is set to True and the phone number or email address specified in the UserAttributes parameter already exists as an alias with a different user, the API call will migrate the alias from the previous user to the newly created user. The previous user will no longer be able to log in using that alias. If this parameter is set to False, the API throws an AliasExistsException error if the alias already exists. The default value is False. + * This parameter is used only if the phone_number_verified or email_verified attribute is set to True. Otherwise, it is ignored. If this parameter is set to True and the phone number or email address specified in the UserAttributes parameter already exists as an alias with a different user, the API call will migrate the alias from the previous user to the newly created user. The previous user will no longer be able to log in using that alias. If this parameter is set to False, the API throws an AliasExistsException error if the alias already exists. The default value is False. */ ForceAliasCreation?: ForceAliasCreation; /** - * Set to "RESEND" to resend the invitation message to a user that already exists and reset the expiration limit on the user's account. Set to "SUPPRESS" to suppress sending the message. Only one value can be specified. + * Set to RESEND to resend the invitation message to a user that already exists and reset the expiration limit on the user's account. Set to SUPPRESS to suppress sending the message. You can specify only one value. */ MessageAction?: MessageActionType; /** - * Specify "EMAIL" if email will be used to send the welcome message. Specify "SMS" if the phone number will be used. The default value is "SMS". More than one value can be specified. + * Specify "EMAIL" if email will be used to send the welcome message. Specify "SMS" if the phone number will be used. The default value is "SMS". You can specify more than one value. */ DesiredDeliveryMediums?: DeliveryMediumListType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminCreateUser API action, Amazon Cognito invokes the function that is assigned to the pre sign-up trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminCreateUser request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminCreateUser API action, Amazon Cognito invokes the function that is assigned to the pre sign-up trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminCreateUser request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -976,7 +976,7 @@ declare namespace CognitoIdentityServiceProvider { */ Username: UsernameType; /** - * An array of strings representing the user attribute names you wish to delete. For custom attributes, you must prepend the custom: prefix to the attribute name. + * An array of strings representing the user attribute names you want to delete. For custom attributes, you must prepend the custom: prefix to the attribute name. */ UserAttributeNames: AttributeNameListType; } @@ -988,7 +988,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The user name of the user you wish to delete. + * The user name of the user you want to delete. */ Username: UsernameType; } @@ -1010,7 +1010,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The user name of the user you wish to disable. + * The user name of the user you want to disable. */ Username: UsernameType; } @@ -1022,7 +1022,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The user name of the user you wish to enable. + * The user name of the user you want to enable. */ Username: UsernameType; } @@ -1068,13 +1068,13 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The user name of the user you wish to retrieve. + * The user name of the user you want to retrieve. */ Username: UsernameType; } export interface AdminGetUserResponse { /** - * The user name of the user about whom you are receiving information. + * The user name of the user about whom you're receiving information. */ Username: UsernameType; /** @@ -1094,11 +1094,11 @@ declare namespace CognitoIdentityServiceProvider { */ Enabled?: BooleanType; /** - * The user status. Can be one of the following: UNCONFIRMED - User has been created but not confirmed. CONFIRMED - User has been confirmed. ARCHIVED - User is no longer active. COMPROMISED - User is disabled due to a potential security threat. UNKNOWN - User status is not known. RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in. FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else. + * The user status. Can be one of the following: UNCONFIRMED - User has been created but not confirmed. CONFIRMED - User has been confirmed. ARCHIVED - User is no longer active. COMPROMISED - User is disabled due to a potential security threat. UNKNOWN - User status isn't known. RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in. FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else. */ UserStatus?: UserStatusType; /** - * This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead. + * This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead. */ MFAOptions?: MFAOptionListType; /** @@ -1106,7 +1106,7 @@ declare namespace CognitoIdentityServiceProvider { */ PreferredMfaSetting?: StringType; /** - * The MFA options that are enabled for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA. + * The MFA options that are activated for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA. */ UserMFASettingList?: UserMFASettingListType; } @@ -1120,15 +1120,15 @@ declare namespace CognitoIdentityServiceProvider { */ ClientId: ClientIdType; /** - * The authentication flow for this call to execute. The API action will depend on this value. For example: REFRESH_TOKEN_AUTH will take in a valid refresh token and return new tokens. USER_SRP_AUTH will take in USERNAME and SRP_A and return the SRP variables to be used for next challenge execution. USER_PASSWORD_AUTH will take in USERNAME and PASSWORD and return the next challenge or tokens. Valid values include: USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) protocol. REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token. CUSTOM_AUTH: Custom authentication flow. ADMIN_NO_SRP_AUTH: Non-SRP authentication flow; you can pass in the USERNAME and PASSWORD directly if the flow is enabled for calling the app client. USER_PASSWORD_AUTH: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if the USERNAME is not found in the user pool. ADMIN_USER_PASSWORD_AUTH: Admin-based user password authentication. This replaces the ADMIN_NO_SRP_AUTH authentication flow. In this flow, Cognito receives the password in the request instead of using the SRP process to verify passwords. + * The authentication flow for this call to run. The API action will depend on this value. For example: REFRESH_TOKEN_AUTH will take in a valid refresh token and return new tokens. USER_SRP_AUTH will take in USERNAME and SRP_A and return the Secure Remote Password (SRP) protocol variables to be used for next challenge execution. ADMIN_USER_PASSWORD_AUTH will take in USERNAME and PASSWORD and return the next challenge or tokens. Valid values include: USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) protocol. REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token. CUSTOM_AUTH: Custom authentication flow. ADMIN_NO_SRP_AUTH: Non-SRP authentication flow; you can pass in the USERNAME and PASSWORD directly if the flow is enabled for calling the app client. ADMIN_USER_PASSWORD_AUTH: Admin-based user password authentication. This replaces the ADMIN_NO_SRP_AUTH authentication flow. In this flow, Amazon Cognito receives the password in the request instead of using the SRP process to verify passwords. */ AuthFlow: AuthFlowType; /** - * The authentication parameters. These are inputs corresponding to the AuthFlow that you are invoking. The required values depend on the value of AuthFlow: For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY. For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: REFRESH_TOKEN (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY. For ADMIN_NO_SRP_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), PASSWORD (required), DEVICE_KEY. For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), DEVICE_KEY. To start the authentication flow with password verification, include ChallengeName: SRP_A and SRP_A: (The SRP_A Value). + * The authentication parameters. These are inputs corresponding to the AuthFlow that you're invoking. The required values depend on the value of AuthFlow: For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY. For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: REFRESH_TOKEN (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY. For ADMIN_NO_SRP_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), PASSWORD (required), DEVICE_KEY. For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), DEVICE_KEY. To start the authentication flow with password verification, include ChallengeName: SRP_A and SRP_A: (The SRP_A Value). */ AuthParameters?: AuthParametersType; /** - * A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminInitiateAuth API action, Amazon Cognito invokes the Lambda functions that are specified for various triggers. The ClientMetadata value is passed as input to the functions for only the following triggers: Pre signup Pre authentication User migration When Amazon Cognito invokes the functions for these triggers, it passes a JSON payload, which the function receives as input. This payload contains a validationData attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminInitiateAuth request. In your function code in Lambda, you can process the validationData value to enhance your workflow for your specific needs. When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the functions for the following triggers, but it does not provide the ClientMetadata value as input: Post authentication Custom message Pre token generation Create auth challenge Define auth challenge Verify auth challenge For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminInitiateAuth API action, Amazon Cognito invokes the Lambda functions that are specified for various triggers. The ClientMetadata value is passed as input to the functions for only the following triggers: Pre signup Pre authentication User migration When Amazon Cognito invokes the functions for these triggers, it passes a JSON payload, which the function receives as input. This payload contains a validationData attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminInitiateAuth request. In your function code in Lambda, you can process the validationData value to enhance your workflow for your specific needs. When you use the AdminInitiateAuth API action, Amazon Cognito also invokes the functions for the following triggers, but it doesn't provide the ClientMetadata value as input: Post authentication Custom message Pre token generation Create auth challenge Define auth challenge Verify auth challenge For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; /** @@ -1142,19 +1142,19 @@ declare namespace CognitoIdentityServiceProvider { } export interface AdminInitiateAuthResponse { /** - * The name of the challenge which you are responding to with this call. This is returned to you in the AdminInitiateAuth response if you need to pass another challenge. MFA_SETUP: If MFA is required, users who do not have at least one of the MFA methods set up are presented with an MFA_SETUP challenge. The user must set up at least one MFA type to continue to authenticate. SELECT_MFA_TYPE: Selects the MFA type. Valid MFA options are SMS_MFA for text SMS MFA, and SOFTWARE_TOKEN_MFA for TOTP software token MFA. SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via SMS. PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. CUSTOM_CHALLENGE: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued. DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device. DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices only. ADMIN_NO_SRP_AUTH: This is returned if you need to authenticate with USERNAME and PASSWORD directly. An app client must be enabled to use this flow. NEW_PASSWORD_REQUIRED: For users who are required to change their passwords after successful first login. This challenge should be passed with NEW_PASSWORD and any other required attributes. MFA_SETUP: For users who are required to setup an MFA factor before they can sign-in. The MFA types enabled for the user pool will be listed in the challenge parameters MFA_CAN_SETUP value. To setup software token MFA, use the session returned here from InitiateAuth as an input to AssociateSoftwareToken, and use the session returned by VerifySoftwareToken as an input to RespondToAuthChallenge with challenge name MFA_SETUP to complete sign-in. To setup SMS MFA, users will need help from an administrator to add a phone number to their account and then call InitiateAuth again to restart sign-in. + * The name of the challenge that you're responding to with this call. This is returned in the AdminInitiateAuth response if you must pass another challenge. MFA_SETUP: If MFA is required, users who don't have at least one of the MFA methods set up are presented with an MFA_SETUP challenge. The user must set up at least one MFA type to continue to authenticate. SELECT_MFA_TYPE: Selects the MFA type. Valid MFA options are SMS_MFA for text SMS MFA, and SOFTWARE_TOKEN_MFA for time-based one-time password (TOTP) software token MFA. SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via SMS. PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. CUSTOM_CHALLENGE: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued. DEVICE_SRP_AUTH: If device tracking was activated in your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device. DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices only. ADMIN_NO_SRP_AUTH: This is returned if you must authenticate with USERNAME and PASSWORD directly. An app client must be enabled to use this flow. NEW_PASSWORD_REQUIRED: For users who are required to change their passwords after successful first login. This challenge should be passed with NEW_PASSWORD and any other required attributes. MFA_SETUP: For users who are required to set up an MFA factor before they can sign in. The MFA types activated for the user pool will be listed in the challenge parameters MFA_CAN_SETUP value. To set up software token MFA, use the session returned here from InitiateAuth as an input to AssociateSoftwareToken, and use the session returned by VerifySoftwareToken as an input to RespondToAuthChallenge with challenge name MFA_SETUP to complete sign-in. To set up SMS MFA, users will need help from an administrator to add a phone number to their account and then call InitiateAuth again to restart sign-in. */ ChallengeName?: ChallengeNameType; /** - * The session which should be passed both ways in challenge-response calls to the service. If AdminInitiateAuth or AdminRespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next AdminRespondToAuthChallenge API call. + * The session that should be passed both ways in challenge-response calls to the service. If AdminInitiateAuth or AdminRespondToAuthChallenge API call determines that the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next AdminRespondToAuthChallenge API call. */ Session?: SessionType; /** - * The challenge parameters. These are returned to you in the AdminInitiateAuth response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (AdminRespondToAuthChallenge). All challenges require USERNAME and SECRET_HASH (if applicable). The value of the USER_ID_FOR_SRP attribute will be the user's actual username, not an alias (such as email address or phone number), even if you specified an alias in your call to AdminInitiateAuth. This is because, in the AdminRespondToAuthChallenge API ChallengeResponses, the USERNAME attribute cannot be an alias. + * The challenge parameters. These are returned to you in the AdminInitiateAuth response if you must pass another challenge. The responses in this parameter should be used to compute inputs to the next call (AdminRespondToAuthChallenge). All challenges require USERNAME and SECRET_HASH (if applicable). The value of the USER_ID_FOR_SRP attribute is the user's actual username, not an alias (such as email address or phone number), even if you specified an alias in your call to AdminInitiateAuth. This happens because, in the AdminRespondToAuthChallenge API ChallengeResponses, the USERNAME attribute can't be an alias. */ ChallengeParameters?: ChallengeParametersType; /** - * The result of the authentication response. This is only returned if the caller does not need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, ChallengeName, ChallengeParameters, and Session are returned. + * The result of the authentication response. This is only returned if the caller doesn't need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, ChallengeName, ChallengeParameters, and Session are returned. */ AuthenticationResult?: AuthenticationResultType; } @@ -1164,11 +1164,11 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: StringType; /** - * The existing user in the user pool to be linked to the external identity provider user account. Can be a native (Username + Password) Cognito User Pools user or a federated user (for example, a SAML or Facebook user). If the user doesn't exist, an exception is thrown. This is the user that is returned when the new user (with the linked identity provider attribute) signs in. For a native username + password user, the ProviderAttributeValue for the DestinationUser should be the username in the user pool. For a federated user, it should be the provider-specific user_id. The ProviderAttributeName of the DestinationUser is ignored. The ProviderName should be set to Cognito for users in Cognito user pools. + * The existing user in the user pool to be linked to the external identity provider user account. Can be a native (Username + Password) Amazon Cognito User Pools user or a federated user (for example, a SAML or Facebook user). If the user doesn't exist, an exception is thrown. This is the user that is returned when the new user (with the linked identity provider attribute) signs in. For a native username + password user, the ProviderAttributeValue for the DestinationUser should be the username in the user pool. For a federated user, it should be the provider-specific user_id. The ProviderAttributeName of the DestinationUser is ignored. The ProviderName should be set to Cognito for users in Cognito user pools. All attributes in the DestinationUser profile must be mutable. If you have assigned the user any immutable custom attributes, the operation won't succeed. */ DestinationUser: ProviderUserIdentifierType; /** - * An external identity provider account for a user who does not currently exist yet in the user pool. This user must be a federated user (for example, a SAML or Facebook user), not another native user. If the SourceUser is a federated social identity provider user (Facebook, Google, or Login with Amazon), you must set the ProviderAttributeName to Cognito_Subject. For social identity providers, the ProviderName will be Facebook, Google, or LoginWithAmazon, and Cognito will automatically parse the Facebook, Google, and Login with Amazon tokens for id, sub, and user_id, respectively. The ProviderAttributeValue for the user must be the same value as the id, sub, or user_id value found in the social identity provider token. For SAML, the ProviderAttributeName can be any value that matches a claim in the SAML assertion. If you wish to link SAML users based on the subject of the SAML assertion, you should map the subject to a claim through the SAML identity provider and submit that claim name as the ProviderAttributeName. If you set ProviderAttributeName to Cognito_Subject, Cognito will automatically parse the default unique identifier found in the subject from the SAML token. + * An external identity provider account for a user who doesn't exist yet in the user pool. This user must be a federated user (for example, a SAML or Facebook user), not another native user. If the SourceUser is using a federated social identity provider, such as Facebook, Google, or Login with Amazon, you must set the ProviderAttributeName to Cognito_Subject. For social identity providers, the ProviderName will be Facebook, Google, or LoginWithAmazon, and Amazon Cognito will automatically parse the Facebook, Google, and Login with Amazon tokens for id, sub, and user_id, respectively. The ProviderAttributeValue for the user must be the same value as the id, sub, or user_id value found in the social identity provider token. For SAML, the ProviderAttributeName can be any value that matches a claim in the SAML assertion. If you want to link SAML users based on the subject of the SAML assertion, you should map the subject to a claim through the SAML identity provider and submit that claim name as the ProviderAttributeName. If you set ProviderAttributeName to Cognito_Subject, Amazon Cognito will automatically parse the default unique identifier found in the subject from the SAML token. */ SourceUser: ProviderUserIdentifierType; } @@ -1278,11 +1278,11 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The user name of the user whose password you wish to reset. + * The user name of the user whose password you want to reset. */ Username: UsernameType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminResetUserPassword API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminResetUserPassword request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminResetUserPassword API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminResetUserPassword request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -1302,11 +1302,11 @@ declare namespace CognitoIdentityServiceProvider { */ ChallengeName: ChallengeNameType; /** - * The challenge responses. These are inputs corresponding to the value of ChallengeName, for example: SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured with client secret). PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client secret). ADMIN_NO_SRP_AUTH: PASSWORD, USERNAME, SECRET_HASH (if app client is configured with client secret). NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, USERNAME, SECRET_HASH (if app client is configured with client secret). MFA_SETUP requires USERNAME, plus you need to use the session value returned by VerifySoftwareToken in the Session parameter. The value of the USERNAME attribute must be the user's actual username, not an alias (such as email address or phone number). To make this easier, the AdminInitiateAuth response includes the actual username value in the USERNAMEUSER_ID_FOR_SRP attribute, even if you specified an alias in your call to AdminInitiateAuth. + * The challenge responses. These are inputs corresponding to the value of ChallengeName, for example: SMS_MFA: SMS_MFA_CODE, USERNAME, SECRET_HASH (if app client is configured with client secret). PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP, USERNAME, SECRET_HASH (if app client is configured with client secret). PASSWORD_VERIFIER requires DEVICE_KEY when signing in with a remembered device. ADMIN_NO_SRP_AUTH: PASSWORD, USERNAME, SECRET_HASH (if app client is configured with client secret). NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, USERNAME, SECRET_HASH (if app client is configured with client secret). MFA_SETUP requires USERNAME, plus you must use the session value returned by VerifySoftwareToken in the Session parameter. The value of the USERNAME attribute must be the user's actual username, not an alias (such as an email address or phone number). To make this simpler, the AdminInitiateAuth response includes the actual username value in the USERNAMEUSER_ID_FOR_SRP attribute. This happens even if you specified an alias in your call to AdminInitiateAuth. */ ChallengeResponses?: ChallengeResponsesType; /** - * The session which should be passed both ways in challenge-response calls to the service. If InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. + * The session that should be passed both ways in challenge-response calls to the service. If an InitiateAuth or RespondToAuthChallenge API call determines that the caller must pass another challenge, it returns a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. */ Session?: SessionType; /** @@ -1318,7 +1318,7 @@ declare namespace CognitoIdentityServiceProvider { */ ContextData?: ContextDataType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminRespondToAuthChallenge API action, Amazon Cognito invokes any functions that are assigned to the following triggers: pre sign-up, custom message, post authentication, user migration, pre token generation, define auth challenge, create auth challenge, and verify auth challenge response. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminRespondToAuthChallenge request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminRespondToAuthChallenge API action, Amazon Cognito invokes any functions that are assigned to the following triggers: pre sign-up, custom message, post authentication, user migration, pre token generation, define auth challenge, create auth challenge, and verify auth challenge response. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminRespondToAuthChallenge request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -1328,7 +1328,7 @@ declare namespace CognitoIdentityServiceProvider { */ ChallengeName?: ChallengeNameType; /** - * The session which should be passed both ways in challenge-response calls to the service. If the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. + * The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. */ Session?: SessionType; /** @@ -1366,7 +1366,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The user name of the user whose password you wish to set. + * The user name of the user whose password you want to set. */ Username: UsernameType; /** @@ -1382,11 +1382,11 @@ declare namespace CognitoIdentityServiceProvider { } export interface AdminSetUserSettingsRequest { /** - * The ID of the user pool that contains the user that you are setting options for. + * The ID of the user pool that contains the user whose options you're setting. */ UserPoolId: UserPoolIdType; /** - * The user name of the user that you are setting options for. + * The user name of the user whose options you're setting. */ Username: UsernameType; /** @@ -1450,7 +1450,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserAttributes: AttributeListType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminUpdateUserAttributes API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminUpdateUserAttributes request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the AdminUpdateUserAttributes API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your AdminUpdateUserAttributes request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -1477,11 +1477,11 @@ declare namespace CognitoIdentityServiceProvider { */ ApplicationId?: HexStringType; /** - * The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project for Pinpoint integration with the chosen User Pool Client. Amazon Cognito publishes events to the pinpoint project declared by the app ARN. + * The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project for integration with the chosen User Pool Client. Amazon Cognito publishes events to the Amazon Pinpointproject declared by the app ARN. */ ApplicationArn?: ArnType; /** - * The ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. + * The ARN of an Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. */ RoleArn?: ArnType; /** @@ -1506,17 +1506,17 @@ declare namespace CognitoIdentityServiceProvider { */ AccessToken?: TokenModelType; /** - * The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process. + * The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process. */ Session?: SessionType; } export interface AssociateSoftwareTokenResponse { /** - * A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code. + * A unique generated shared secret code that is used in the time-based one-time password (TOTP) algorithm to generate a one-time code. */ SecretCode?: SecretCodeType; /** - * The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process. + * The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process. */ Session?: SessionType; } @@ -1563,7 +1563,7 @@ declare namespace CognitoIdentityServiceProvider { */ ChallengeResponses?: ChallengeResponseListType; /** - * The user context data captured at the time of an event request. It provides additional information about the client from which event the request is received. + * The user context data captured at the time of an event request. This value provides additional information about the client from which event the request is received. */ EventContextData?: EventContextDataType; /** @@ -1612,7 +1612,7 @@ declare namespace CognitoIdentityServiceProvider { export type ChallengeResponseListType = ChallengeResponseType[]; export interface ChallengeResponseType { /** - * The challenge name + * The challenge name. */ ChallengeName?: ChallengeName; /** @@ -1696,7 +1696,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface ConfirmDeviceResponse { /** - * Indicates whether the user confirmation is necessary to confirm the device response. + * Indicates whether the user confirmation must confirm the device response. */ UserConfirmationNecessary?: BooleanType; } @@ -1730,7 +1730,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserContextData?: UserContextDataType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ConfirmForgotPassword API action, Amazon Cognito invokes the function that is assigned to the post confirmation trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your ConfirmForgotPassword request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ConfirmForgotPassword API action, Amazon Cognito invokes the function that is assigned to the post confirmation trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your ConfirmForgotPassword request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -1746,7 +1746,7 @@ declare namespace CognitoIdentityServiceProvider { */ SecretHash?: SecretHashType; /** - * The user name of the user whose registration you wish to confirm. + * The user name of the user whose registration you want to confirm. */ Username: UsernameType; /** @@ -1766,7 +1766,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserContextData?: UserContextDataType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ConfirmSignUp API action, Amazon Cognito invokes the function that is assigned to the post confirmation trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your ConfirmSignUp request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ConfirmSignUp API action, Amazon Cognito invokes the function that is assigned to the post confirmation trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your ConfirmSignUp request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -1783,7 +1783,7 @@ declare namespace CognitoIdentityServiceProvider { */ ServerName: StringType; /** - * Your server path where this API is invoked. + * Your server path where this API is invoked. */ ServerPath: StringType; /** @@ -1791,7 +1791,7 @@ declare namespace CognitoIdentityServiceProvider { */ HttpHeaders: HttpHeaderList; /** - * Encoded data containing device fingerprinting details, collected using the Amazon Cognito context data collection library. + * Encoded data containing device fingerprinting details collected using the Amazon Cognito context data collection library. */ EncodedData?: StringType; } @@ -1809,11 +1809,11 @@ declare namespace CognitoIdentityServiceProvider { */ Description?: DescriptionType; /** - * The role ARN for the group. + * The role Amazon Resource Name (ARN) for the group. */ RoleArn?: ArnType; /** - * A nonnegative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. Zero is the highest precedence value. Groups with lower Precedence values take precedence over groups with higher or null Precedence values. If a user belongs to two or more groups, it is the group with the lowest precedence value whose role ARN will be used in the cognito:roles and cognito:preferred_role claims in the user's tokens. Two groups can have the same Precedence value. If this happens, neither group takes precedence over the other. If two groups with the same Precedence have the same role ARN, that role is used in the cognito:preferred_role claim in tokens for users in each group. If the two groups have different role ARNs, the cognito:preferred_role claim is not set in users' tokens. The default Precedence value is null. + * A non-negative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. Zero is the highest precedence value. Groups with lower Precedence values take precedence over groups with higher ornull Precedence values. If a user belongs to two or more groups, it is the group with the lowest precedence value whose role ARN is given in the user's tokens for the cognito:roles and cognito:preferred_role claims. Two groups can have the same Precedence value. If this happens, neither group takes precedence over the other. If two groups with the same Precedence have the same role ARN, that role is used in the cognito:preferred_role claim in tokens for users in each group. If the two groups have different role ARNs, the cognito:preferred_role claim isn't set in users' tokens. The default Precedence value is null. */ Precedence?: PrecedenceType; } @@ -1837,7 +1837,7 @@ declare namespace CognitoIdentityServiceProvider { */ ProviderType: IdentityProviderTypeType; /** - * The identity provider details. The following list describes the provider detail keys for each identity provider type. For Google and Login with Amazon: client_id client_secret authorize_scopes For Facebook: client_id client_secret authorize_scopes api_version For Sign in with Apple: client_id team_id key_id private_key authorize_scopes For OIDC providers: client_id client_secret attributes_request_method oidc_issuer authorize_scopes authorize_url if not available from discovery URL specified by oidc_issuer key token_url if not available from discovery URL specified by oidc_issuer key attributes_url if not available from discovery URL specified by oidc_issuer key jwks_uri if not available from discovery URL specified by oidc_issuer key For SAML providers: MetadataFile OR MetadataURL IDPSignout optional + * The identity provider details. The following list describes the provider detail keys for each identity provider type. For Google and Login with Amazon: client_id client_secret authorize_scopes For Facebook: client_id client_secret authorize_scopes api_version For Sign in with Apple: client_id team_id key_id private_key authorize_scopes For OpenID Connect (OIDC) providers: client_id client_secret attributes_request_method oidc_issuer authorize_scopes authorize_url if not available from discovery URL specified by oidc_issuer key token_url if not available from discovery URL specified by oidc_issuer key attributes_url if not available from discovery URL specified by oidc_issuer key jwks_uri if not available from discovery URL specified by oidc_issuer key attributes_url_add_attributes a read-only property that is set automatically For SAML providers: MetadataFile OR MetadataURL IDPSignout (optional) */ ProviderDetails: ProviderDetailsType; /** @@ -1861,7 +1861,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located. For example, https://my-weather-api.example.com. + * A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such as https://my-weather-api.example.com. */ Identifier: ResourceServerIdentifierType; /** @@ -1869,7 +1869,7 @@ declare namespace CognitoIdentityServiceProvider { */ Name: ResourceServerNameType; /** - * A list of scopes. Each scope is map, where the keys are name and description. + * A list of scopes. Each scope is a key-value map with the keys name and description. */ Scopes?: ResourceServerScopeListType; } @@ -1889,7 +1889,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The role ARN for the Amazon CloudWatch Logging role for the user import job. + * The role ARN for the Amazon CloudWatch Logs Logging role for the user import job. */ CloudWatchLogsRoleArn: ArnType; } @@ -1913,19 +1913,19 @@ declare namespace CognitoIdentityServiceProvider { */ GenerateSecret?: GenerateSecret; /** - * The time limit, in days, after which the refresh token is no longer valid and cannot be used. + * The time limit, in days, after which the refresh token is no longer valid and can't be used. */ RefreshTokenValidity?: RefreshTokenValidityType; /** - * The time limit, between 5 minutes and 1 day, after which the access token is no longer valid and cannot be used. This value will be overridden if you have entered a value in TokenValidityUnits. + * The time limit, between 5 minutes and 1 day, after which the access token is no longer valid and can't be used. If you supply a TokenValidityUnits value, you will override the default time unit. */ AccessTokenValidity?: AccessTokenValidityType; /** - * The time limit, between 5 minutes and 1 day, after which the ID token is no longer valid and cannot be used. This value will be overridden if you have entered a value in TokenValidityUnits. + * The time limit, between 5 minutes and 1 day, after which the access token is no longer valid and can't be used. If you supply a TokenValidityUnits value, you will override the default time unit. */ IdTokenValidity?: IdTokenValidityType; /** - * The units in which the validity times are represented in. Default for RefreshToken is days, and default for ID and access tokens are hours. + * The units in which the validity times are represented. Default for RefreshToken is days, and default for ID and access tokens are hours. */ TokenValidityUnits?: TokenValidityUnitsType; /** @@ -1933,11 +1933,11 @@ declare namespace CognitoIdentityServiceProvider { */ ReadAttributes?: ClientPermissionListType; /** - * The user pool attributes that the app client can write to. If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool. + * The user pool attributes that the app client can write to. If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it tries to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool. */ WriteAttributes?: ClientPermissionListType; /** - * The authentication flows that are supported by the user pool clients. Flow names without the ALLOW_ prefix are deprecated in favor of new names with the ALLOW_ prefix. Note that values with ALLOW_ prefix cannot be used along with values without ALLOW_ prefix. Valid values include: ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH setting. With this authentication flow, Cognito receives the password in the request instead of using the SRP (Secure Remote Password protocol) protocol to verify passwords. ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. In this flow, Cognito receives the password in the request instead of using the SRP protocol to verify passwords. ALLOW_USER_SRP_AUTH: Enable SRP based authentication. ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. + * The authentication flows that are supported by the user pool clients. Flow names without the ALLOW_ prefix are no longer supported, in favor of new names with the ALLOW_ prefix. Note that values with ALLOW_ prefix must be used only along with the ALLOW_ prefix. Valid values include: ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH setting. With this authentication flow, Amazon Cognito receives the password in the request instead of using the Secure Remote Password (SRP) protocol to verify passwords. ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. In this flow, Amazon Cognito receives the password in the request instead of using the SRP protocol to verify passwords. ALLOW_USER_SRP_AUTH: Enable SRP-based authentication. ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. */ ExplicitAuthFlows?: ExplicitAuthFlowsListType; /** @@ -1965,19 +1965,19 @@ declare namespace CognitoIdentityServiceProvider { */ AllowedOAuthScopes?: ScopeListType; /** - * Set to true if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. + * Set to true if the client is allowed to follow the OAuth protocol when interacting with Amazon Cognito user pools. */ AllowedOAuthFlowsUserPoolClient?: BooleanType; /** - * The Amazon Pinpoint analytics configuration for collecting metrics for this user pool. In regions where Pinpoint is not available, Cognito User Pools only supports sending events to Amazon Pinpoint projects in us-east-1. In regions where Pinpoint is available, Cognito User Pools will support sending events to Amazon Pinpoint projects within that same region. + * The Amazon Pinpoint analytics configuration for collecting metrics for this user pool. In Amazon Web Services Regions where isn't available, User Pools only supports sending events to Amazon Pinpoint projects in Amazon Web Services Region us-east-1. In Regions where is available, User Pools will support sending events to Amazon Pinpoint projects within that same Region. */ AnalyticsConfiguration?: AnalyticsConfigurationType; /** - * Use this setting to choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to ENABLED and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs will return a UserNotFoundException exception if the user does not exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the old behavior of Cognito where user existence related errors are not prevented. After February 15th 2020, the value of PreventUserExistenceErrors will default to ENABLED for newly created user pool clients if no value is provided. + * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented. */ PreventUserExistenceErrors?: PreventUserExistenceErrorTypes; /** - * Enables or disables token revocation. For more information about revoking tokens, see RevokeToken. If you don't include this parameter, token revocation is automatically enabled for the new user pool client. + * Activates or deactivates token revocation. For more information about revoking tokens, see RevokeToken. If you don't include this parameter, token revocation is automatically activated for the new user pool client. */ EnableTokenRevocation?: WrappedBooleanType; } @@ -1989,7 +1989,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface CreateUserPoolDomainRequest { /** - * The domain string. + * The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth. */ Domain: DomainType; /** @@ -2017,7 +2017,7 @@ declare namespace CognitoIdentityServiceProvider { */ Policies?: UserPoolPolicyType; /** - * The Lambda trigger configuration information for the new user pool. In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you will need to make an extra call to add permission for these event sources to invoke your Lambda function. For more information on using the Lambda API to add permission, see AddPermission . For adding permission using the CLI, see add-permission . + * The Lambda trigger configuration information for the new user pool. In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you must make an extra call to add permission for these event sources to invoke your Lambda function. For more information on using the Lambda API to add permission, see AddPermission . For adding permission using the CLI, see add-permission . */ LambdaConfig?: LambdaConfigType; /** @@ -2029,7 +2029,7 @@ declare namespace CognitoIdentityServiceProvider { */ AliasAttributes?: AliasAttributesListType; /** - * Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up. + * Specifies whether a user can use an email address or phone number as a username when they sign up. */ UsernameAttributes?: UsernameAttributesListType; /** @@ -2081,15 +2081,15 @@ declare namespace CognitoIdentityServiceProvider { */ Schema?: SchemaAttributesListType; /** - * Used to enable advanced security risk detection. Set the key AdvancedSecurityMode to the value "AUDIT". + * Enables advanced security risk detection. Set the key AdvancedSecurityMode to the value "AUDIT". */ UserPoolAddOns?: UserPoolAddOnsType; /** - * You can choose to set case sensitivity on the username input for the selected sign-in option. For example, when this is set to False, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. For more information, see UsernameConfigurationType. + * Case sensitivity on the username input for the selected sign-in option. For example, when case sensitivity is set to False, users can sign in using either "username" or "Username". This configuration is immutable once it has been set. For more information, see UsernameConfigurationType. */ UsernameConfiguration?: UsernameConfigurationType; /** - * Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. + * The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. */ AccountRecoverySetting?: AccountRecoverySettingType; } @@ -2109,22 +2109,22 @@ declare namespace CognitoIdentityServiceProvider { } export interface CustomEmailLambdaVersionConfigType { /** - * The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom email Lambda function. The only supported value is V1_0. + * Signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom email Lambda function. The only supported value is V1_0. */ LambdaVersion: CustomEmailSenderLambdaVersionType; /** - * The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send email notifications to users. + * The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send email notifications to users. */ LambdaArn: ArnType; } export type CustomEmailSenderLambdaVersionType = "V1_0"|string; export interface CustomSMSLambdaVersionConfigType { /** - * The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS Lambda function. The only supported value is V1_0. + * Signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom SMS Lambda function. The only supported value is V1_0. */ LambdaVersion: CustomSMSSenderLambdaVersionType; /** - * The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send SMS notifications to users. + * The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS notifications to users. */ LambdaArn: ArnType; } @@ -2163,7 +2163,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface DeleteUserAttributesRequest { /** - * An array of strings representing the user attribute names you wish to delete. For custom attributes, you must prepend the custom: prefix to the attribute name. + * An array of strings representing the user attribute names you want to delete. For custom attributes, you must prependattach the custom: prefix to the front of the attribute name. */ UserAttributeNames: AttributeNameListType; /** @@ -2185,7 +2185,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface DeleteUserPoolDomainRequest { /** - * The domain string. + * The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth. */ Domain: DomainType; /** @@ -2291,7 +2291,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface DescribeUserPoolDomainRequest { /** - * The domain string. + * The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth. */ Domain: DomainType; } @@ -2316,11 +2316,11 @@ declare namespace CognitoIdentityServiceProvider { export type DescriptionType = string; export interface DeviceConfigurationType { /** - * Indicates whether a challenge is required on a new device. Only applicable to a new device. + * When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA). Users that sign in with devices that have not been confirmed or remembered will still have to provide a second factor, whether or not ChallengeRequiredOnNewDevice is true, when your user pool requires MFA. */ ChallengeRequiredOnNewDevice?: BooleanType; /** - * If true, a device is only remembered on user prompt. + * When true, users can opt in to remembering their device. Your app code must use callback functions to return the user's choice. */ DeviceOnlyRememberedOnUserPrompt?: BooleanType; } @@ -2356,7 +2356,7 @@ declare namespace CognitoIdentityServiceProvider { */ DeviceLastModifiedDate?: DateType; /** - * The date in which the device was last authenticated. + * The date when the device was last authenticated. */ DeviceLastAuthenticatedDate?: DateType; } @@ -2366,19 +2366,19 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId?: UserPoolIdType; /** - * The account ID for the user pool owner. + * The Amazon Web Services ID for the user pool owner. */ AWSAccountId?: AWSAccountIdType; /** - * The domain string. + * The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such as auth. */ Domain?: DomainType; /** - * The S3 bucket where the static files for this domain are stored. + * The Amazon S3 bucket where the static files for this domain are stored. */ S3Bucket?: S3BucketType; /** - * The ARN of the CloudFront distribution. + * The Amazon Resource Name (ARN) of the Amazon CloudFront distribution. */ CloudFrontDistribution?: StringType; /** @@ -2400,23 +2400,23 @@ declare namespace CognitoIdentityServiceProvider { export type EmailAddressType = string; export interface EmailConfigurationType { /** - * The Amazon Resource Name (ARN) of a verified email address in Amazon SES. This email address is used in one of the following ways, depending on the value that you specify for the EmailSendingAccount parameter: If you specify COGNITO_DEFAULT, Amazon Cognito uses this address as the custom FROM address when it emails your users by using its built-in email account. If you specify DEVELOPER, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf. + * The ARN of a verified email address in Amazon SES. Amazon Cognito uses this email address in one of the following ways, depending on the value that you specify for the EmailSendingAccount parameter: If you specify COGNITO_DEFAULT, Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account. If you specify DEVELOPER, Amazon Cognito emails your users with this address by calling Amazon SES on your behalf. */ SourceArn?: ArnType; /** - * The destination to which the receiver of the email should reply to. + * The destination to which the receiver of the email should reply. */ ReplyToEmailAddress?: EmailAddressType; /** - * Specifies whether Amazon Cognito emails your users by using its built-in email functionality or your Amazon SES email configuration. Specify one of the following values: COGNITO_DEFAULT When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is below the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration. To look up the email delivery limit for the default option, see Limits in Amazon Cognito in the Amazon Cognito Developer Guide. The default FROM address is no-reply@verificationemail.com. To customize the FROM address, provide the ARN of an Amazon SES verified email address for the SourceArn parameter. If EmailSendingAccount is COGNITO_DEFAULT, the following parameters aren't allowed: EmailVerificationMessage EmailVerificationSubject InviteMessageTemplate.EmailMessage InviteMessageTemplate.EmailSubject VerificationMessageTemplate.EmailMessage VerificationMessageTemplate.EmailMessageByLink VerificationMessageTemplate.EmailSubject, VerificationMessageTemplate.EmailSubjectByLink DEVELOPER EmailSendingAccount is required. DEVELOPER When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your account. If you use this option, you must provide the ARN of an Amazon SES verified email address for the SourceArn parameter. Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role, which is a type of IAM role, in your account. This role contains the permissions that allow Amazon Cognito to access Amazon SES and send email messages with your address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide. + * Specifies whether Amazon Cognito emails your users by using its built-in email functionality or your Amazon Simple Email Service email configuration. Specify one of the following values: COGNITO_DEFAULT When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration. To look up the email delivery limit for the default option, see Limits in in the Developer Guide. The default FROM address is no-reply@verificationemail.com. To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for the SourceArn parameter. If EmailSendingAccount is COGNITO_DEFAULT, you can't use the following parameters: EmailVerificationMessage EmailVerificationSubject InviteMessageTemplate.EmailMessage InviteMessageTemplate.EmailSubject VerificationMessageTemplate.EmailMessage VerificationMessageTemplate.EmailMessageByLink VerificationMessageTemplate.EmailSubject, VerificationMessageTemplate.EmailSubjectByLink DEVELOPER EmailSendingAccount is required. DEVELOPER When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your Amazon Web Services account. If you use this option, you must provide the ARN of an Amazon SES verified email address for the SourceArn parameter. Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a service-linked role, which is a type of role, in your Amazon Web Services account. This role contains the permissions that allow to access Amazon SES and send email messages with your address. For more information about the service-linked role that Amazon Cognito creates, see Using Service-Linked Roles for Amazon Cognito in the Amazon Cognito Developer Guide. */ EmailSendingAccount?: EmailSendingAccountType; /** - * Identifies either the sender’s email address or the sender’s name with their email address. For example, testuser@example.com or Test User <testuser@example.com>. This address will appear before the body of the email. + * Either the sender’s email address or the sender’s name with their email address. For example, testuser@example.com or Test User <testuser@example.com>. This address appears before the body of the email. */ From?: StringType; /** - * The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails: Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other Amazon Web Services services such as SNS and CloudWatch. IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets. + * The set of configuration rules that can be applied to emails sent using Amazon Simple Email Service. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails: Event publishing – Amazon Simple Email Service can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other Amazon Web Services services such as and Amazon CloudWatch. IP pool management – When leasing dedicated IP addresses with Amazon Simple Email Service, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets. */ ConfigurationSet?: SESConfigurationSet; } @@ -2518,7 +2518,7 @@ declare namespace CognitoIdentityServiceProvider { */ AnalyticsMetadata?: AnalyticsMetadataType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ForgotPassword API action, Amazon Cognito invokes any functions that are assigned to the following triggers: pre sign-up, custom message, and user migration. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your ForgotPassword request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ForgotPassword API action, Amazon Cognito invokes any functions that are assigned to the following triggers: pre sign-up, custom message, and user migration. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your ForgotPassword request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -2541,7 +2541,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId?: UserPoolIdType; /** - * The header information for the .csv file for the user import job. + * The header information of the CSV file for the user import job. */ CSVHeader?: ListOfStringTypes; } @@ -2631,7 +2631,7 @@ declare namespace CognitoIdentityServiceProvider { */ AttributeName: AttributeNameType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the GetUserAttributeVerificationCode API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your GetUserAttributeVerificationCode request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the GetUserAttributeVerificationCode API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your GetUserAttributeVerificationCode request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -2657,7 +2657,7 @@ declare namespace CognitoIdentityServiceProvider { */ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType; /** - * The multi-factor (MFA) configuration. Valid values include: OFF MFA will not be used for any users. ON MFA is required for all users to sign in. OPTIONAL MFA will be required only for individual users who have an MFA factor enabled. + * The multi-factor (MFA) configuration. Valid values include: OFF MFA won't be used for any users. ON MFA is required for all users to sign in. OPTIONAL MFA will be required only for individual users who have an MFA factor activated. */ MfaConfiguration?: UserPoolMfaType; } @@ -2669,7 +2669,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface GetUserResponse { /** - * The user name of the user you wish to retrieve from the get user request. + * The user name of the user you want to retrieve from the get user request. */ Username: UsernameType; /** @@ -2677,7 +2677,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserAttributes: AttributeListType; /** - * This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead. + * This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead. */ MFAOptions?: MFAOptionListType; /** @@ -2685,7 +2685,7 @@ declare namespace CognitoIdentityServiceProvider { */ PreferredMfaSetting?: StringType; /** - * The MFA options that are enabled for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA. + * The MFA options that are activated for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA. */ UserMFASettingList?: UserMFASettingListType; } @@ -2713,11 +2713,11 @@ declare namespace CognitoIdentityServiceProvider { */ Description?: DescriptionType; /** - * The role ARN for the group. + * The role Amazon Resource Name (ARN) for the group. */ RoleArn?: ArnType; /** - * A nonnegative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. If a user belongs to two or more groups, it is the group with the highest precedence whose role ARN will be used in the cognito:roles and cognito:preferred_role claims in the user's tokens. Groups with higher Precedence values take precedence over groups with lower Precedence values or with null Precedence values. Two groups can have the same Precedence value. If this happens, neither group takes precedence over the other. If two groups with the same Precedence have the same role ARN, that role is used in the cognito:preferred_role claim in tokens for users in each group. If the two groups have different role ARNs, the cognito:preferred_role claim is not set in users' tokens. The default Precedence value is null. + * A non-negative integer value that specifies the precedence of this group relative to the other groups that a user can belong to in the user pool. Zero is the highest precedence value. Groups with lower Precedence values take precedence over groups with higher ornull Precedence values. If a user belongs to two or more groups, it is the group with the lowest precedence value whose role ARN is given in the user's tokens for the cognito:roles and cognito:preferred_role claims. Two groups can have the same Precedence value. If this happens, neither group takes precedence over the other. If two groups with the same Precedence have the same role ARN, that role is used in the cognito:preferred_role claim in tokens for users in each group. If the two groups have different role ARNs, the cognito:preferred_role claim isn't set in users' tokens. The default Precedence value is null. */ Precedence?: PrecedenceType; /** @@ -2732,7 +2732,7 @@ declare namespace CognitoIdentityServiceProvider { export type HexStringType = string; export interface HttpHeader { /** - * The header name + * The header name. */ headerName?: StringType; /** @@ -2756,7 +2756,7 @@ declare namespace CognitoIdentityServiceProvider { */ ProviderType?: IdentityProviderTypeType; /** - * The identity provider details. The following list describes the provider detail keys for each identity provider type. For Google and Login with Amazon: client_id client_secret authorize_scopes For Facebook: client_id client_secret authorize_scopes api_version For Sign in with Apple: client_id team_id key_id private_key authorize_scopes For OIDC providers: client_id client_secret attributes_request_method oidc_issuer authorize_scopes authorize_url if not available from discovery URL specified by oidc_issuer key token_url if not available from discovery URL specified by oidc_issuer key attributes_url if not available from discovery URL specified by oidc_issuer key jwks_uri if not available from discovery URL specified by oidc_issuer key For SAML providers: MetadataFile OR MetadataURL IDPSignOut optional + * The identity provider details. The following list describes the provider detail keys for each identity provider type. For Google and Login with Amazon: client_id client_secret authorize_scopes For Facebook: client_id client_secret authorize_scopes api_version For Sign in with Apple: client_id team_id key_id private_key authorize_scopes For OIDC providers: client_id client_secret attributes_request_method oidc_issuer authorize_scopes authorize_url if not available from discovery URL specified by oidc_issuer key token_url if not available from discovery URL specified by oidc_issuer key attributes_url if not available from discovery URL specified by oidc_issuer key jwks_uri if not available from discovery URL specified by oidc_issuer key attributes_url_add_attributes a read-only property that is set automatically For SAML providers: MetadataFile or MetadataURL IDPSignOut optional */ ProviderDetails?: ProviderDetailsType; /** @@ -2783,15 +2783,15 @@ declare namespace CognitoIdentityServiceProvider { export type ImageUrlType = string; export interface InitiateAuthRequest { /** - * The authentication flow for this call to execute. The API action will depend on this value. For example: REFRESH_TOKEN_AUTH will take in a valid refresh token and return new tokens. USER_SRP_AUTH will take in USERNAME and SRP_A and return the SRP variables to be used for next challenge execution. USER_PASSWORD_AUTH will take in USERNAME and PASSWORD and return the next challenge or tokens. Valid values include: USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) protocol. REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token. CUSTOM_AUTH: Custom authentication flow. USER_PASSWORD_AUTH: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if the USERNAME is not found in the user pool. ADMIN_USER_PASSWORD_AUTH: Admin-based user password authentication. This replaces the ADMIN_NO_SRP_AUTH authentication flow. In this flow, Cognito receives the password in the request instead of using the SRP process to verify passwords. ADMIN_NO_SRP_AUTH is not a valid value. + * The authentication flow for this call to run. The API action will depend on this value. For example: REFRESH_TOKEN_AUTH takes in a valid refresh token and returns new tokens. USER_SRP_AUTH takes in USERNAME and SRP_A and returns the SRP variables to be used for next challenge execution. USER_PASSWORD_AUTH takes in USERNAME and PASSWORD and returns the next challenge or tokens. Valid values include: USER_SRP_AUTH: Authentication flow for the Secure Remote Password (SRP) protocol. REFRESH_TOKEN_AUTH/REFRESH_TOKEN: Authentication flow for refreshing the access token and ID token by supplying a valid refresh token. CUSTOM_AUTH: Custom authentication flow. USER_PASSWORD_AUTH: Non-SRP authentication flow; USERNAME and PASSWORD are passed directly. If a user migration Lambda trigger is set, this flow will invoke the user migration Lambda if it doesn't find the USERNAME in the user pool. ADMIN_NO_SRP_AUTH isn't a valid value. */ AuthFlow: AuthFlowType; /** - * The authentication parameters. These are inputs corresponding to the AuthFlow that you are invoking. The required values depend on the value of AuthFlow: For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY. For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: REFRESH_TOKEN (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY. For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), DEVICE_KEY. To start the authentication flow with password verification, include ChallengeName: SRP_A and SRP_A: (The SRP_A Value). + * The authentication parameters. These are inputs corresponding to the AuthFlow that you're invoking. The required values depend on the value of AuthFlow: For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY. For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: REFRESH_TOKEN (required), SECRET_HASH (required if the app client is configured with a client secret), DEVICE_KEY. For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is configured with client secret), DEVICE_KEY. To start the authentication flow with password verification, include ChallengeName: SRP_A and SRP_A: (The SRP_A Value). */ AuthParameters?: AuthParametersType; /** - * A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the InitiateAuth API action, Amazon Cognito invokes the Lambda functions that are specified for various triggers. The ClientMetadata value is passed as input to the functions for only the following triggers: Pre signup Pre authentication User migration When Amazon Cognito invokes the functions for these triggers, it passes a JSON payload, which the function receives as input. This payload contains a validationData attribute, which provides the data that you assigned to the ClientMetadata parameter in your InitiateAuth request. In your function code in Lambda, you can process the validationData value to enhance your workflow for your specific needs. When you use the InitiateAuth API action, Amazon Cognito also invokes the functions for the following triggers, but it does not provide the ClientMetadata value as input: Post authentication Custom message Pre token generation Create auth challenge Define auth challenge Verify auth challenge For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for certain custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the InitiateAuth API action, Amazon Cognito invokes the Lambda functions that are specified for various triggers. The ClientMetadata value is passed as input to the functions for only the following triggers: Pre signup Pre authentication User migration When Amazon Cognito invokes the functions for these triggers, it passes a JSON payload, which the function receives as input. This payload contains a validationData attribute, which provides the data that you assigned to the ClientMetadata parameter in your InitiateAuth request. In your function code in Lambda, you can process the validationData value to enhance your workflow for your specific needs. When you use the InitiateAuth API action, Amazon Cognito also invokes the functions for the following triggers, but it doesn't provide the ClientMetadata value as input: Post authentication Custom message Pre token generation Create auth challenge Define auth challenge Verify auth challenge For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; /** @@ -2809,19 +2809,19 @@ declare namespace CognitoIdentityServiceProvider { } export interface InitiateAuthResponse { /** - * The name of the challenge which you are responding to with this call. This is returned to you in the AdminInitiateAuth response if you need to pass another challenge. Valid values include the following. Note that all of these challenges require USERNAME and SECRET_HASH (if applicable) in the parameters. SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via SMS. PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. CUSTOM_CHALLENGE: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued. DEVICE_SRP_AUTH: If device tracking was enabled on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device. DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices only. NEW_PASSWORD_REQUIRED: For users who are required to change their passwords after successful first login. This challenge should be passed with NEW_PASSWORD and any other required attributes. MFA_SETUP: For users who are required to setup an MFA factor before they can sign-in. The MFA types enabled for the user pool will be listed in the challenge parameters MFA_CAN_SETUP value. To setup software token MFA, use the session returned here from InitiateAuth as an input to AssociateSoftwareToken, and use the session returned by VerifySoftwareToken as an input to RespondToAuthChallenge with challenge name MFA_SETUP to complete sign-in. To setup SMS MFA, users will need help from an administrator to add a phone number to their account and then call InitiateAuth again to restart sign-in. + * The name of the challenge that you're responding to with this call. This name is returned in the AdminInitiateAuth response if you must pass another challenge. Valid values include the following. Note that all of these challenges require USERNAME and SECRET_HASH (if applicable) in the parameters. SMS_MFA: Next challenge is to supply an SMS_MFA_CODE, delivered via SMS. PASSWORD_VERIFIER: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, and TIMESTAMP after the client-side SRP calculations. CUSTOM_CHALLENGE: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued. DEVICE_SRP_AUTH: If device tracking was activated on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device. DEVICE_PASSWORD_VERIFIER: Similar to PASSWORD_VERIFIER, but for devices only. NEW_PASSWORD_REQUIRED: For users who are required to change their passwords after successful first login. This challenge should be passed with NEW_PASSWORD and any other required attributes. MFA_SETUP: For users who are required to setup an MFA factor before they can sign in. The MFA types activated for the user pool will be listed in the challenge parameters MFA_CAN_SETUP value. To set up software token MFA, use the session returned here from InitiateAuth as an input to AssociateSoftwareToken. Use the session returned by VerifySoftwareToken as an input to RespondToAuthChallenge with challenge name MFA_SETUP to complete sign-in. To set up SMS MFA, an administrator should help the user to add a phone number to their account, and then the user should call InitiateAuth again to restart sign-in. */ ChallengeName?: ChallengeNameType; /** - * The session which should be passed both ways in challenge-response calls to the service. If the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. + * The session that should pass both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. */ Session?: SessionType; /** - * The challenge parameters. These are returned to you in the InitiateAuth response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call (RespondToAuthChallenge). All challenges require USERNAME and SECRET_HASH (if applicable). + * The challenge parameters. These are returned in the InitiateAuth response if you must pass another challenge. The responses in this parameter should be used to compute inputs to the next call (RespondToAuthChallenge). All challenges require USERNAME and SECRET_HASH (if applicable). */ ChallengeParameters?: ChallengeParametersType; /** - * The result of the authentication response. This is only returned if the caller does not need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, ChallengeName, ChallengeParameters, and Session are returned. + * The result of the authentication response. This result is only returned if the caller doesn't need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, ChallengeName, ChallengeParameters, and Session are returned. */ AuthenticationResult?: AuthenticationResultType; } @@ -2876,7 +2876,7 @@ declare namespace CognitoIdentityServiceProvider { */ CustomEmailSender?: CustomEmailLambdaVersionConfigType; /** - * The Amazon Resource Name of Key Management Service Customer master keys . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender and CustomSMSSender. + * The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender and CustomSMSSender. */ KMSKeyID?: ArnType; } @@ -3105,7 +3105,7 @@ declare namespace CognitoIdentityServiceProvider { */ PaginationToken?: SearchPaginationTokenType; /** - * A filter string of the form "AttributeName Filter-Type "AttributeValue"". Quotation marks within the filter string must be escaped using the backslash (\) character. For example, "family_name = \"Reddy\"". AttributeName: The name of the attribute to search for. You can only search for one attribute at a time. Filter-Type: For an exact match, use =, for example, "given_name = \"Jon\"". For a prefix ("starts with") match, use ^=, for example, "given_name ^= \"Jon\"". AttributeValue: The attribute value that must be matched for each user. If the filter string is empty, ListUsers returns all users in the user pool. You can only search for the following standard attributes: username (case-sensitive) email phone_number name given_name family_name preferred_username cognito:user_status (called Status in the Console) (case-insensitive) status (called Enabled in the Console) (case-sensitive) sub Custom attributes are not searchable. For more information, see Searching for Users Using the ListUsers API and Examples of Using the ListUsers API in the Amazon Cognito Developer Guide. + * A filter string of the form "AttributeName Filter-Type "AttributeValue"". Quotation marks within the filter string must be escaped using the backslash (\) character. For example, "family_name = \"Reddy\"". AttributeName: The name of the attribute to search for. You can only search for one attribute at a time. Filter-Type: For an exact match, use =, for example, "given_name = \"Jon\"". For a prefix ("starts with") match, use ^=, for example, "given_name ^= \"Jon\"". AttributeValue: The attribute value that must be matched for each user. If the filter string is empty, ListUsers returns all users in the user pool. You can only search for the following standard attributes: username (case-sensitive) email phone_number name given_name family_name preferred_username cognito:user_status (called Status in the Console) (case-insensitive) status (called Enabled in the Console) (case-sensitive) sub Custom attributes aren't searchable. You can also list users with a client-side filter. The server-side filter matches no more than 1 attribute. For an advanced search, use a client-side filter with the --query parameter of the list-users action in the CLI. When you use a client-side filter, ListUsers returns a paginated list of zero or more users. You can receive multiple pages in a row with zero results. Repeat the query with each pagination token that is returned until you receive a null pagination token value, and then review the combined result. For more information about server-side and client-side filtering, see FilteringCLI output in the Command Line Interface User Guide. For more information, see Searching for Users Using the ListUsers API and Examples of Using the ListUsers API in the Amazon Cognito Developer Guide. */ Filter?: UserFilterType; } @@ -3159,7 +3159,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface NotifyConfigurationType { /** - * The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. + * The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES. */ From?: StringType; /** @@ -3167,7 +3167,7 @@ declare namespace CognitoIdentityServiceProvider { */ ReplyTo?: StringType; /** - * The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. It permits Amazon Cognito to send for the email address specified in the From parameter. + * The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter. */ SourceArn: ArnType; /** @@ -3179,21 +3179,21 @@ declare namespace CognitoIdentityServiceProvider { */ NoActionEmail?: NotifyEmailType; /** - * The MFA email template used when MFA is challenged as part of a detected risk. + * The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. */ MfaEmail?: NotifyEmailType; } export interface NotifyEmailType { /** - * The subject. + * The email subject. */ Subject: EmailNotificationSubjectType; /** - * The HTML body. + * The email HTML body. */ HtmlBody?: EmailNotificationBodyType; /** - * The text body. + * The email text body. */ TextBody?: EmailNotificationBodyType; } @@ -3214,7 +3214,7 @@ declare namespace CognitoIdentityServiceProvider { export type PasswordPolicyMinLengthType = number; export interface PasswordPolicyType { /** - * The minimum length of the password policy that you have set. Cannot be less than 6. + * The minimum length of the password in the policy that you have set. This value can't be less than 6. */ MinimumLength?: PasswordPolicyMinLengthType; /** @@ -3234,7 +3234,7 @@ declare namespace CognitoIdentityServiceProvider { */ RequireSymbols?: BooleanType; /** - * In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator. When you set TemporaryPasswordValidityDays for a user pool, you will no longer be able to set the deprecated UnusedAccountValidityDays value for that user pool. + * The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. When you set TemporaryPasswordValidityDays for a user pool, you can no longer set the deprecated UnusedAccountValidityDays value for that user pool. */ TemporaryPasswordValidityDays?: TemporaryPasswordValidityDaysType; } @@ -3267,15 +3267,15 @@ declare namespace CognitoIdentityServiceProvider { export type ProviderNameTypeV1 = string; export interface ProviderUserIdentifierType { /** - * The name of the provider, for example, Facebook, Google, or Login with Amazon. + * The name of the provider, such as Facebook, Google, or Login with Amazon. */ ProviderName?: ProviderNameType; /** - * The name of the provider attribute to link to, for example, NameID. + * The name of the provider attribute to link to, such as NameID. */ ProviderAttributeName?: StringType; /** - * The value of the provider attribute to link to, for example, xxxxx_account. + * The value of the provider attribute to link to, such as xxxxx_account. */ ProviderAttributeValue?: StringType; } @@ -3290,7 +3290,7 @@ declare namespace CognitoIdentityServiceProvider { */ Priority: PriorityType; /** - * Specifies the recovery method for a user. + * The recovery method for a user. */ Name: RecoveryOptionNameType; } @@ -3310,7 +3310,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserContextData?: UserContextDataType; /** - * The user name of the user to whom you wish to resend a confirmation code. + * The username attribute of the user to whom you want to resend a confirmation code. */ Username: UsernameType; /** @@ -3318,7 +3318,7 @@ declare namespace CognitoIdentityServiceProvider { */ AnalyticsMetadata?: AnalyticsMetadataType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your ResendConfirmationCode request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the ResendConfirmationCode API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your ResendConfirmationCode request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -3368,15 +3368,15 @@ declare namespace CognitoIdentityServiceProvider { */ ClientId: ClientIdType; /** - * The challenge name. For more information, see InitiateAuth. ADMIN_NO_SRP_AUTH is not a valid value. + * The challenge name. For more information, see InitiateAuth. ADMIN_NO_SRP_AUTH isn't a valid value. */ ChallengeName: ChallengeNameType; /** - * The session which should be passed both ways in challenge-response calls to the service. If InitiateAuth or RespondToAuthChallenge API call determines that the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. + * The session that should be passed both ways in challenge-response calls to the service. If InitiateAuth or RespondToAuthChallenge API call determines that the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. */ Session?: SessionType; /** - * The challenge responses. These are inputs corresponding to the value of ChallengeName, for example: SECRET_HASH (if app client is configured with client secret) applies to all inputs below (including SOFTWARE_TOKEN_MFA). SMS_MFA: SMS_MFA_CODE, USERNAME. PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP, USERNAME. NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, USERNAME. SOFTWARE_TOKEN_MFA: USERNAME and SOFTWARE_TOKEN_MFA_CODE are required attributes. DEVICE_SRP_AUTH requires USERNAME, DEVICE_KEY, SRP_A (and SECRET_HASH). DEVICE_PASSWORD_VERIFIER requires everything that PASSWORD_VERIFIER requires plus DEVICE_KEY. MFA_SETUP requires USERNAME, plus you need to use the session value returned by VerifySoftwareToken in the Session parameter. + * The challenge responses. These are inputs corresponding to the value of ChallengeName, for example: SECRET_HASH (if app client is configured with client secret) applies to all of the inputs that follow (including SOFTWARE_TOKEN_MFA). SMS_MFA: SMS_MFA_CODE, USERNAME. PASSWORD_VERIFIER: PASSWORD_CLAIM_SIGNATURE, PASSWORD_CLAIM_SECRET_BLOCK, TIMESTAMP, USERNAME. PASSWORD_VERIFIER requires DEVICE_KEY when signing in with a remembered device. NEW_PASSWORD_REQUIRED: NEW_PASSWORD, any other required attributes, USERNAME. SOFTWARE_TOKEN_MFA: USERNAME and SOFTWARE_TOKEN_MFA_CODE are required attributes. DEVICE_SRP_AUTH requires USERNAME, DEVICE_KEY, SRP_A (and SECRET_HASH). DEVICE_PASSWORD_VERIFIER requires everything that PASSWORD_VERIFIER requires, plus DEVICE_KEY. MFA_SETUP requires USERNAME, plus you must use the session value returned by VerifySoftwareToken in the Session parameter. */ ChallengeResponses?: ChallengeResponsesType; /** @@ -3388,7 +3388,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserContextData?: UserContextDataType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the RespondToAuthChallenge API action, Amazon Cognito invokes any functions that are assigned to the following triggers: post authentication, pre token generation, define auth challenge, create auth challenge, and verify auth challenge. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your RespondToAuthChallenge request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the RespondToAuthChallenge API action, Amazon Cognito invokes any functions that are assigned to the following triggers: post authentication, pre token generation, define auth challenge, create auth challenge, and verify auth challenge. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your RespondToAuthChallenge request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -3398,7 +3398,7 @@ declare namespace CognitoIdentityServiceProvider { */ ChallengeName?: ChallengeNameType; /** - * The session which should be passed both ways in challenge-response calls to the service. If the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. + * The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call. */ Session?: SessionType; /** @@ -3412,7 +3412,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface RevokeTokenRequest { /** - * The token that you want to revoke. + * The refresh token that you want to revoke. */ Token: TokenModelType; /** @@ -3436,11 +3436,11 @@ declare namespace CognitoIdentityServiceProvider { */ ClientId?: ClientIdType; /** - * The compromised credentials risk configuration object including the EventFilter and the EventAction + * The compromised credentials risk configuration object, including the EventFilter and the EventAction. */ CompromisedCredentialsRiskConfiguration?: CompromisedCredentialsRiskConfigurationType; /** - * The account takeover risk configuration object including the NotifyConfiguration object and Actions to take in the case of an account takeover. + * The account takeover risk configuration object, including the NotifyConfiguration object and Actions to take if there is an account takeover. */ AccountTakeoverRiskConfiguration?: AccountTakeoverRiskConfigurationType; /** @@ -3455,11 +3455,11 @@ declare namespace CognitoIdentityServiceProvider { export type RiskDecisionType = "NoRisk"|"AccountTakeover"|"Block"|string; export interface RiskExceptionConfigurationType { /** - * Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation: a compact representation of an IP address and its associated routing prefix. + * Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix. */ BlockedIPRangeList?: BlockedIPRangeListType; /** - * Risk detection is not performed on the IP addresses in the range list. The IP range is in CIDR notation. + * Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation. */ SkippedIPRangeList?: SkippedIPRangeListType; } @@ -3468,7 +3468,7 @@ declare namespace CognitoIdentityServiceProvider { export type SESConfigurationSet = string; export interface SMSMfaSettingsType { /** - * Specifies whether SMS text message MFA is enabled. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. + * Specifies whether SMS text message MFA is activated. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted. */ Enabled?: BooleanType; /** @@ -3486,15 +3486,15 @@ declare namespace CognitoIdentityServiceProvider { */ AttributeDataType?: AttributeDataType; /** - * We recommend that you use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using DeveloperOnlyAttribute. Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token. For example, DeveloperOnlyAttribute can be modified using AdminUpdateUserAttributes but cannot be updated using UpdateUserAttributes. + * You should use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using DeveloperOnlyAttribute. Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users won't be able to modify this attribute using their access token. For example, DeveloperOnlyAttribute can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes. */ DeveloperOnlyAttribute?: BooleanType; /** - * Specifies whether the value of the attribute can be changed. For any user pool attribute that's mapped to an identity provider attribute, you must set this parameter to true. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool. + * Specifies whether the value of the attribute can be changed. For any user pool attribute that is mapped to an identity provider attribute, you must set this parameter to true. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool. */ Mutable?: BooleanType; /** - * Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail. + * Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail. */ Required?: BooleanType; /** @@ -3520,7 +3520,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * The app client ID. If ClientId is null, then the risk configuration is mapped to userPoolId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool. Otherwise, ClientId is mapped to the client. When the client ID is not null, the user pool configuration is overridden and the risk configuration for the client is used instead. + * The app client ID. If ClientId is null, then the risk configuration is mapped to userPoolId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool. Otherwise, ClientId is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead. */ ClientId?: ClientIdType; /** @@ -3596,7 +3596,7 @@ declare namespace CognitoIdentityServiceProvider { */ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType; /** - * The MFA configuration. Users who don't have an MFA factor set up won't be able to sign-in if you set the MfaConfiguration value to ‘ON’. See Adding Multi-Factor Authentication (MFA) to a User Pool to learn more. Valid values include: OFF MFA will not be used for any users. ON MFA is required for all users to sign in. OPTIONAL MFA will be required only for individual users who have an MFA factor enabled. + * The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users with an MFA factor set up can sign in. To learn more, see Adding Multi-Factor Authentication (MFA) to a User Pool. Valid values include: OFF MFA won't be used for any users. ON MFA is required for all users to sign in. OPTIONAL MFA will be required only for individual users who have an MFA factor activated. */ MfaConfiguration?: UserPoolMfaType; } @@ -3610,7 +3610,7 @@ declare namespace CognitoIdentityServiceProvider { */ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType; /** - * The MFA configuration. Valid values include: OFF MFA will not be used for any users. ON MFA is required for all users to sign in. OPTIONAL MFA will be required only for individual users who have an MFA factor enabled. + * The MFA configuration. Valid values include: OFF MFA won't be used for any users. ON MFA is required for all users to sign in. OPTIONAL MFA will be required only for individual users who have an MFA factor enabled. */ MfaConfiguration?: UserPoolMfaType; } @@ -3636,11 +3636,11 @@ declare namespace CognitoIdentityServiceProvider { */ SecretHash?: SecretHashType; /** - * The user name of the user you wish to register. + * The user name of the user you want to register. */ Username: UsernameType; /** - * The password of the user you wish to register. + * The password of the user you want to register. */ Password: PasswordType; /** @@ -3660,7 +3660,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserContextData?: UserContextDataType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the SignUp API action, Amazon Cognito invokes any functions that are assigned to the following triggers: pre sign-up, custom message, and post confirmation. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your SignUp request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the SignUp API action, Amazon Cognito invokes any functions that are assigned to the following triggers: pre sign-up, custom message, and post confirmation. When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your SignUp request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -3674,24 +3674,24 @@ declare namespace CognitoIdentityServiceProvider { */ CodeDeliveryDetails?: CodeDeliveryDetailsType; /** - * The UUID of the authenticated user. This is not the same as username. + * The UUID of the authenticated user. This isn't the same as username. */ UserSub: StringType; } export type SkippedIPRangeListType = StringType[]; export interface SmsConfigurationType { /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) caller. This is the ARN of the IAM role in your account which Cognito will use to send SMS messages. SMS messages are subject to a spending limit. + * The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your Amazon Web Services account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a spending limit. */ SnsCallerArn: ArnType; /** - * The external ID is a value that we recommend you use to add security to your IAM role which is used to call Amazon SNS to send SMS messages for your user pool. If you provide an ExternalId, the Cognito User Pool will include it when attempting to assume your IAM role, so that you can set your roles trust policy to require the ExternalID. If you use the Cognito Management Console to create a role for SMS MFA, Cognito will create a role with the required permissions and a trust policy that demonstrates use of the ExternalId. For more information about the ExternalId of a role, see How to use an external ID when granting access to your Amazon Web Services resources to a third party + * The external ID is a value that you should use to add security to your IAM role that is used to call Amazon SNS to send SMS messages for your user pool. If you provide an ExternalId, the Amazon Cognito User Pool will include it when attempting to assume your IAM role so that you can set your roles trust policy to require the ExternalID. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito will create a role with the required permissions and a trust policy that demonstrates use of the ExternalId. For more information about the ExternalId of a role, see How to use an external ID when granting access to your Amazon Web Services resources to a third party */ ExternalId?: StringType; } export interface SmsMfaConfigType { /** - * The SMS authentication message that will be sent to users with the code they need to sign in. The message must contain the ‘{####}’ placeholder, which will be replaced with the code. If the message is not included, and default message will be used. + * The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn't included, and default message will be used. */ SmsAuthenticationMessage?: SmsVerificationMessageType; /** @@ -3703,13 +3703,13 @@ declare namespace CognitoIdentityServiceProvider { export type SoftwareTokenMFAUserCodeType = string; export interface SoftwareTokenMfaConfigType { /** - * Specifies whether software token MFA is enabled. + * Specifies whether software token MFA is activated. */ Enabled?: BooleanType; } export interface SoftwareTokenMfaSettingsType { /** - * Specifies whether software token MFA is enabled. If an MFA type is enabled for a user, the user will be prompted for MFA during all sign in attempts, unless device tracking is turned on and the device has been trusted. + * Specifies whether software token MFA is activated. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted. */ Enabled?: BooleanType; /** @@ -3781,15 +3781,15 @@ declare namespace CognitoIdentityServiceProvider { export type TokenModelType = string; export interface TokenValidityUnitsType { /** - * A time unit in “seconds”, “minutes”, “hours” or “days” for the value in AccessTokenValidity, defaults to hours. + * A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in AccessTokenValidity, defaulting to hours. */ AccessToken?: TimeUnitsType; /** - * A time unit in “seconds”, “minutes”, “hours” or “days” for the value in IdTokenValidity, defaults to hours. + * A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in IdTokenValidity, defaulting to hours. */ IdToken?: TimeUnitsType; /** - * A time unit in “seconds”, “minutes”, “hours” or “days” for the value in RefreshTokenValidity, defaults to days. + * A time unit in “seconds”, “minutes”, “hours”, or “days” for the value in RefreshTokenValidity, defaulting to days. */ RefreshToken?: TimeUnitsType; } @@ -3889,7 +3889,7 @@ declare namespace CognitoIdentityServiceProvider { */ Description?: DescriptionType; /** - * The new role ARN for the group. This is used for setting the cognito:roles and cognito:preferred_role claims in the token. + * The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles and cognito:preferred_role claims in the token. */ RoleArn?: ArnType; /** @@ -3965,7 +3965,7 @@ declare namespace CognitoIdentityServiceProvider { */ AccessToken: TokenModelType; /** - * A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the UpdateUserAttributes API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your UpdateUserAttributes request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. Take the following limitations into consideration when you use the ClientMetadata parameter: Amazon Cognito does not store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration does not include triggers, the ClientMetadata parameter serves no purpose. Amazon Cognito does not validate the ClientMetadata value. Amazon Cognito does not encrypt the the ClientMetadata value, so don't use it to provide sensitive information. + * A map of custom key-value pairs that you can provide as input for any custom workflows that this action initiates. You create custom workflows by assigning Lambda functions to user pool triggers. When you use the UpdateUserAttributes API action, Amazon Cognito invokes the function that is assigned to the custom message trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a clientMetadata attribute, which provides the data that you assigned to the ClientMetadata parameter in your UpdateUserAttributes request. In your function code in Lambda, you can process the clientMetadata value to enhance your workflow for your specific needs. For more information, see Customizing User Pool Workflows with Lambda Triggers in the Amazon Cognito Developer Guide. When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following: Store the ClientMetadata value. This data is available only to Lambda triggers that are assigned to a user pool to support custom workflows. If your user pool configuration doesn't include triggers, the ClientMetadata parameter serves no purpose. Validate the ClientMetadata value. Encrypt the ClientMetadata value. Don't use Amazon Cognito to provide sensitive information. */ ClientMetadata?: ClientMetadataType; } @@ -3989,19 +3989,19 @@ declare namespace CognitoIdentityServiceProvider { */ ClientName?: ClientNameType; /** - * The time limit, in days, after which the refresh token is no longer valid and cannot be used. + * The time limit, in days, after which the refresh token is no longer valid and can't be used. */ RefreshTokenValidity?: RefreshTokenValidityType; /** - * The time limit, after which the access token is no longer valid and cannot be used. + * The time limit after which the access token is no longer valid and can't be used. */ AccessTokenValidity?: AccessTokenValidityType; /** - * The time limit, after which the ID token is no longer valid and cannot be used. + * The time limit after which the ID token is no longer valid and can't be used. */ IdTokenValidity?: IdTokenValidityType; /** - * The units in which the validity times are represented in. Default for RefreshToken is days, and default for ID and access tokens are hours. + * The units in which the validity times are represented. Default for RefreshToken is days, and default for ID and access tokens is hours. */ TokenValidityUnits?: TokenValidityUnitsType; /** @@ -4013,7 +4013,7 @@ declare namespace CognitoIdentityServiceProvider { */ WriteAttributes?: ClientPermissionListType; /** - * The authentication flows that are supported by the user pool clients. Flow names without the ALLOW_ prefix are deprecated in favor of new names with the ALLOW_ prefix. Note that values with ALLOW_ prefix cannot be used along with values without ALLOW_ prefix. Valid values include: ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH setting. With this authentication flow, Cognito receives the password in the request instead of using the SRP (Secure Remote Password protocol) protocol to verify passwords. ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. In this flow, Cognito receives the password in the request instead of using the SRP protocol to verify passwords. ALLOW_USER_SRP_AUTH: Enable SRP based authentication. ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. + * The authentication flows that are supported by the user pool clients. Flow names without the ALLOW_ prefix are no longer supported in favor of new names with the ALLOW_ prefix. Note that values with ALLOW_ prefix must be used only along with values with the ALLOW_ prefix. Valid values include: ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH setting. With this authentication flow, Amazon Cognito receives the password in the request instead of using the Secure Remote Password (SRP) protocol to verify passwords. ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. In this flow, Amazon Cognito receives the password in the request instead of using the SRP protocol to verify passwords. ALLOW_USER_SRP_AUTH: Enable SRP-based authentication. ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. */ ExplicitAuthFlows?: ExplicitAuthFlowsListType; /** @@ -4041,35 +4041,35 @@ declare namespace CognitoIdentityServiceProvider { */ AllowedOAuthScopes?: ScopeListType; /** - * Set to true if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. + * Set to true if the client is allowed to follow the OAuth protocol when interacting with Amazon Cognito user pools. */ AllowedOAuthFlowsUserPoolClient?: BooleanType; /** - * The Amazon Pinpoint analytics configuration for collecting metrics for this user pool. In regions where Pinpoint is not available, Cognito User Pools only supports sending events to Amazon Pinpoint projects in us-east-1. In regions where Pinpoint is available, Cognito User Pools will support sending events to Amazon Pinpoint projects within that same region. + * The Amazon Pinpoint analytics configuration for collecting metrics for this user pool. In Amazon Web Services Regions where isn't available, User Pools only supports sending events to Amazon Pinpoint projects in us-east-1. In Regions where Pinpoint is available, User Pools will support sending events to Amazon Pinpoint projects within that same Region. */ AnalyticsConfiguration?: AnalyticsConfigurationType; /** - * Use this setting to choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to ENABLED and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs will return a UserNotFoundException exception if the user does not exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the old behavior of Cognito where user existence related errors are not prevented. After February 15th 2020, the value of PreventUserExistenceErrors will default to ENABLED for newly created user pool clients if no value is provided. + * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented. */ PreventUserExistenceErrors?: PreventUserExistenceErrorTypes; /** - * Enables or disables token revocation. For more information about revoking tokens, see RevokeToken. + * Activates or deactivates token revocation. For more information about revoking tokens, see RevokeToken. */ EnableTokenRevocation?: WrappedBooleanType; } export interface UpdateUserPoolClientResponse { /** - * The user pool client value from the response from the server when an update user pool client request is made. + * The user pool client value from the response from the server when you request to update the user pool client. */ UserPoolClient?: UserPoolClientType; } export interface UpdateUserPoolDomainRequest { /** - * The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. For example: auth.example.com. This string can include only lowercase letters, numbers, and hyphens. Do not use a hyphen for the first or last character. Use periods to separate subdomain names. + * The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.com. This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names. */ Domain: DomainType; /** - * The ID of the user pool that is associated with the custom domain that you are updating the certificate for. + * The ID of the user pool that is associated with the custom domain whose certificate you're updating. */ UserPoolId: UserPoolIdType; /** @@ -4089,7 +4089,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolId: UserPoolIdType; /** - * A container with the policies you wish to update in a user pool. + * A container with the policies you want to update in a user pool. */ Policies?: UserPoolPolicyType; /** @@ -4097,7 +4097,7 @@ declare namespace CognitoIdentityServiceProvider { */ LambdaConfig?: LambdaConfigType; /** - * The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools. + * The attributes that are automatically verified when Amazon Cognito requests to update user pools. */ AutoVerifiedAttributes?: VerifiedAttributesListType; /** @@ -4121,7 +4121,7 @@ declare namespace CognitoIdentityServiceProvider { */ SmsAuthenticationMessage?: SmsVerificationMessageType; /** - * Can be one of the following values: OFF - MFA tokens are not required and cannot be specified during user registration. ON - MFA tokens are required for all user registrations. You can only specify ON when you are initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools. OPTIONAL - Users have the option when registering to create an MFA token. + * Can be one of the following values: OFF - MFA tokens aren't required and can't be specified during user registration. ON - MFA tokens are required for all user registrations. You can only specify ON when you're initially creating a user pool. You can use the SetUserPoolMfaConfig API operation to turn MFA "ON" for existing user pools. OPTIONAL - Users have the option when registering to create an MFA token. */ MfaConfiguration?: UserPoolMfaType; /** @@ -4145,11 +4145,11 @@ declare namespace CognitoIdentityServiceProvider { */ AdminCreateUserConfig?: AdminCreateUserConfigType; /** - * Used to enable advanced security risk detection. Set the key AdvancedSecurityMode to the value "AUDIT". + * Enables advanced security risk detection. Set the key AdvancedSecurityMode to the value "AUDIT". */ UserPoolAddOns?: UserPoolAddOnsType; /** - * Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. + * The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. */ AccountRecoverySetting?: AccountRecoverySettingType; } @@ -4157,7 +4157,7 @@ declare namespace CognitoIdentityServiceProvider { } export interface UserContextDataType { /** - * Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security. + * Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security. */ EncodedData?: StringType; } @@ -4195,11 +4195,11 @@ declare namespace CognitoIdentityServiceProvider { */ CompletionDate?: DateType; /** - * The status of the user import job. One of the following: Created - The job was created but not started. Pending - A transition state. You have started the job, but it has not begun importing users yet. InProgress - The job has started, and users are being imported. Stopping - You have stopped the job, but the job has not stopped importing users yet. Stopped - You have stopped the job, and the job has stopped importing users. Succeeded - The job has completed successfully. Failed - The job has stopped due to an error. Expired - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job cannot be started. + * The status of the user import job. One of the following: Created - The job was created but not started. Pending - A transition state. You have started the job, but it has not begun importing users yet. InProgress - The job has started, and users are being imported. Stopping - You have stopped the job, but the job has not stopped importing users yet. Stopped - You have stopped the job, and the job has stopped importing users. Succeeded - The job has completed successfully. Failed - The job has stopped due to an error. Expired - You created a job, but did not start the job within 24-48 hours. All data associated with the job was deleted, and the job can't be started. */ Status?: UserImportJobStatusType; /** - * The role ARN for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide. + * The role Amazon Resource Name (ARN) for the Amazon CloudWatch Logging role for the user import job. For more information, see "Creating the CloudWatch Logs IAM Role" in the Amazon Cognito Developer Guide. */ CloudWatchLogsRoleArn?: ArnType; /** @@ -4211,7 +4211,7 @@ declare namespace CognitoIdentityServiceProvider { */ SkippedUsers?: LongType; /** - * The number of users that could not be imported. + * The number of users that couldn't be imported. */ FailedUsers?: LongType; /** @@ -4268,15 +4268,15 @@ declare namespace CognitoIdentityServiceProvider { */ CreationDate?: DateType; /** - * The time limit, in days, after which the refresh token is no longer valid and cannot be used. + * The time limit, in days, after which the refresh token is no longer valid and can't be used. */ RefreshTokenValidity?: RefreshTokenValidityType; /** - * The time limit, specified by tokenValidityUnits, defaulting to hours, after which the access token is no longer valid and cannot be used. + * The time limit, specified by tokenValidityUnits, defaulting to hours, after which the access token is no longer valid and can't be used. */ AccessTokenValidity?: AccessTokenValidityType; /** - * The time limit, specified by tokenValidityUnits, defaulting to hours, after which the refresh token is no longer valid and cannot be used. + * The time limit specified by tokenValidityUnits, defaulting to hours, after which the refresh token is no longer valid and can't be used. */ IdTokenValidity?: IdTokenValidityType; /** @@ -4292,7 +4292,7 @@ declare namespace CognitoIdentityServiceProvider { */ WriteAttributes?: ClientPermissionListType; /** - * The authentication flows that are supported by the user pool clients. Flow names without the ALLOW_ prefix are deprecated in favor of new names with the ALLOW_ prefix. Note that values with ALLOW_ prefix cannot be used along with values without ALLOW_ prefix. Valid values include: ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH setting. With this authentication flow, Cognito receives the password in the request instead of using the SRP (Secure Remote Password protocol) protocol to verify passwords. ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. In this flow, Cognito receives the password in the request instead of using the SRP protocol to verify passwords. ALLOW_USER_SRP_AUTH: Enable SRP based authentication. ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. + * The authentication flows that are supported by the user pool clients. Flow names without the ALLOW_ prefix are no longer supported in favor of new names with the ALLOW_ prefix. Note that values with ALLOW_ prefix must be used only along with values including the ALLOW_ prefix. Valid values include: ALLOW_ADMIN_USER_PASSWORD_AUTH: Enable admin based user password authentication flow ADMIN_USER_PASSWORD_AUTH. This setting replaces the ADMIN_NO_SRP_AUTH setting. With this authentication flow, Amazon Cognito receives the password in the request instead of using the Secure Remote Password (SRP) protocol to verify passwords. ALLOW_CUSTOM_AUTH: Enable Lambda trigger based authentication. ALLOW_USER_PASSWORD_AUTH: Enable user password-based authentication. In this flow, Amazon Cognito receives the password in the request instead of using the SRP protocol to verify passwords. ALLOW_USER_SRP_AUTH: Enable SRP-based authentication. ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. */ ExplicitAuthFlows?: ExplicitAuthFlowsListType; /** @@ -4320,19 +4320,19 @@ declare namespace CognitoIdentityServiceProvider { */ AllowedOAuthScopes?: ScopeListType; /** - * Set to true if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools. + * Set to true if the client is allowed to follow the OAuth protocol when interacting with Amazon Cognito user pools. */ AllowedOAuthFlowsUserPoolClient?: BooleanType; /** - * The Amazon Pinpoint analytics configuration for the user pool client. Cognito User Pools only supports sending events to Amazon Pinpoint projects in the US East (N. Virginia) us-east-1 Region, regardless of the region in which the user pool resides. + * The Amazon Pinpoint analytics configuration for the user pool client. Amazon Cognito User Pools only supports sending events to Amazon Pinpoint projects in the US East (N. Virginia) us-east-1 Region, regardless of the Region in which the user pool resides. */ AnalyticsConfiguration?: AnalyticsConfigurationType; /** - * Use this setting to choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to ENABLED and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs will return a UserNotFoundException exception if the user does not exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the old behavior of Cognito where user existence related errors are not prevented. After February 15th 2020, the value of PreventUserExistenceErrors will default to ENABLED for newly created user pool clients if no value is provided. + * Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs return a UserNotFoundException exception if the user doesn't exist in the user pool. Valid values include: ENABLED - This prevents user existence-related errors. LEGACY - This represents the old behavior of Cognito where user existence related errors aren't prevented. */ PreventUserExistenceErrors?: PreventUserExistenceErrorTypes; /** - * Indicates whether token revocation is enabled for the user pool client. When you create a new user pool client, token revocation is enabled by default. For more information about revoking tokens, see RevokeToken. + * Indicates whether token revocation is activated for the user pool client. When you create a new user pool client, token revocation is activated by default. For more information about revoking tokens, see RevokeToken. */ EnableTokenRevocation?: WrappedBooleanType; } @@ -4408,15 +4408,15 @@ declare namespace CognitoIdentityServiceProvider { */ SchemaAttributes?: SchemaAttributesListType; /** - * Specifies the attributes that are auto-verified in a user pool. + * The attributes that are auto-verified in a user pool. */ AutoVerifiedAttributes?: VerifiedAttributesListType; /** - * Specifies the attributes that are aliased in a user pool. + * The attributes that are aliased in a user pool. */ AliasAttributes?: AliasAttributesListType; /** - * Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up. + * Specifies whether a user can use an email address or phone number as a username when they sign up. */ UsernameAttributes?: UsernameAttributesListType; /** @@ -4440,7 +4440,7 @@ declare namespace CognitoIdentityServiceProvider { */ SmsAuthenticationMessage?: SmsVerificationMessageType; /** - * Can be one of the following values: OFF - MFA tokens are not required and cannot be specified during user registration. ON - MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool. OPTIONAL - Users have the option when registering to create an MFA token. + * Can be one of the following values: OFF - MFA tokens aren't required and can't be specified during user registration. ON - MFA tokens are required for all user registrations. You can only specify required when you're initially creating a user pool. OPTIONAL - Users have the option when registering to create an MFA token. */ MfaConfiguration?: UserPoolMfaType; /** @@ -4464,19 +4464,19 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolTags?: UserPoolTagsType; /** - * The reason why the SMS configuration cannot send the messages to your users. This message might include comma-separated values to describe why your SMS configuration can't send messages to user pool end users. InvalidSmsRoleAccessPolicyException - The IAM role which Cognito uses to send SMS messages is not properly configured. For more information, see SmsConfigurationType. SNSSandbox - The account is in SNS Sandbox and messages won’t reach unverified end users. This parameter won’t get populated with SNSSandbox if the IAM user creating the user pool doesn’t have SNS permissions. To learn how to move your account out of the sandbox, see Moving out of the SMS sandbox. + * The reason why the SMS configuration can't send the messages to your users. This message might include comma-separated values to describe why your SMS configuration can't send messages to user pool end users. InvalidSmsRoleAccessPolicyException - The Identity and Access Management role that Amazon Cognito uses to send SMS messages isn't properly configured. For more information, see SmsConfigurationType. SNSSandbox - The Amazon Web Services account is in SNS Sandbox and messages will only reach verified end users. This parameter won’t get populated with SNSSandbox if the IAM user creating the user pool doesn’t have SNS permissions. To learn how to move your Amazon Web Services account out of the sandbox, see Moving out of the SMS sandbox. */ SmsConfigurationFailure?: StringType; /** - * The reason why the email configuration cannot send the messages to your users. + * The reason why the email configuration can't send the messages to your users. */ EmailConfigurationFailure?: StringType; /** - * Holds the domain prefix if the user pool has a domain associated with it. + * The domain prefix, if the user pool has a domain associated with it. */ Domain?: DomainType; /** - * A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. For example: auth.example.com. For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI. + * A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An example of a custom domain name might be auth.example.com. For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI. */ CustomDomain?: DomainType; /** @@ -4488,7 +4488,7 @@ declare namespace CognitoIdentityServiceProvider { */ UserPoolAddOns?: UserPoolAddOnsType; /** - * You can choose to enable case sensitivity on the username input for the selected sign-in option. For example, when this is set to False, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. For more information, see UsernameConfigurationType. + * Case sensitivity of the username input for the selected sign-in option. For example, when case sensitivity is set to False, users can sign in using either "username" or "Username". This configuration is immutable once it has been set. For more information, see UsernameConfigurationType. */ UsernameConfiguration?: UsernameConfigurationType; /** @@ -4496,14 +4496,14 @@ declare namespace CognitoIdentityServiceProvider { */ Arn?: ArnType; /** - * Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email. + * The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email. */ AccountRecoverySetting?: AccountRecoverySettingType; } export type UserStatusType = "UNCONFIRMED"|"CONFIRMED"|"ARCHIVED"|"COMPROMISED"|"UNKNOWN"|"RESET_REQUIRED"|"FORCE_CHANGE_PASSWORD"|string; export interface UserType { /** - * The user name of the user you wish to describe. + * The user name of the user you want to describe. */ Username?: UsernameType; /** @@ -4523,7 +4523,7 @@ declare namespace CognitoIdentityServiceProvider { */ Enabled?: BooleanType; /** - * The user status. Can be one of the following: UNCONFIRMED - User has been created but not confirmed. CONFIRMED - User has been confirmed. ARCHIVED - User is no longer active. COMPROMISED - User is disabled due to a potential security threat. UNKNOWN - User status is not known. RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in. FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else. + * The user status. This can be one of the following: UNCONFIRMED - User has been created but not confirmed. CONFIRMED - User has been confirmed. ARCHIVED - User is no longer active. COMPROMISED - User is disabled due to a potential security threat. UNKNOWN - User status isn't known. RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in. FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else. */ UserStatus?: UserStatusType; /** @@ -4535,7 +4535,7 @@ declare namespace CognitoIdentityServiceProvider { export type UsernameAttributesListType = UsernameAttributeType[]; export interface UsernameConfigurationType { /** - * Specifies whether username case sensitivity will be applied for all users in the user pool through Cognito APIs. Valid values include: True : Enables case sensitivity for all username input. When this option is set to True, users must sign in using the exact capitalization of their given username. For example, “UserName”. This is the default value. False : Enables case insensitivity for all username input. For example, when this option is set to False, users will be able to sign in using either "username" or "Username". This option also enables both preferred_username and email alias to be case insensitive, in addition to the username attribute. + * Specifies whether username case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. Valid values include: True : Enables case sensitivity for all username input. When this option is set to True, users must sign in using the exact capitalization of their given username, such as “UserName”. This is the default value. False : Enables case insensitivity for all username input. For example, when this option is set to False, users can sign in using either "username" or "Username". This option also enables both preferred_username and email alias to be case insensitive, in addition to the username attribute. */ CaseSensitive: WrappedBooleanType; } @@ -4575,11 +4575,11 @@ declare namespace CognitoIdentityServiceProvider { */ AccessToken?: TokenModelType; /** - * The session which should be passed both ways in challenge-response calls to the service. + * The session that should be passed both ways in challenge-response calls to the service. */ Session?: SessionType; /** - * The one time password computed using the secret code returned by AssociateSoftwareToken". + * The one- time password computed using the secret code returned by AssociateSoftwareToken. */ UserCode: SoftwareTokenMFAUserCodeType; /** @@ -4593,14 +4593,14 @@ declare namespace CognitoIdentityServiceProvider { */ Status?: VerifySoftwareTokenResponseType; /** - * The session which should be passed both ways in challenge-response calls to the service. + * The session that should be passed both ways in challenge-response calls to the service. */ Session?: SessionType; } export type VerifySoftwareTokenResponseType = "SUCCESS"|"ERROR"|string; export interface VerifyUserAttributeRequest { /** - * Represents the access token of the request to verify user attributes. + * The access token of the request to verify user attributes. */ AccessToken: TokenModelType; /** diff --git a/node_modules/aws-sdk/clients/comprehend.d.ts b/node_modules/aws-sdk/clients/comprehend.d.ts index 8d09a422f..e7e892ad7 100644 --- a/node_modules/aws-sdk/clients/comprehend.d.ts +++ b/node_modules/aws-sdk/clients/comprehend.d.ts @@ -115,6 +115,14 @@ declare class Comprehend extends Service { * Deletes an entity recognizer. Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned. This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use. */ deleteEntityRecognizer(callback?: (err: AWSError, data: Comprehend.Types.DeleteEntityRecognizerResponse) => void): Request; + /** + * Deletes a resource-based policy that is attached to a custom model. + */ + deleteResourcePolicy(params: Comprehend.Types.DeleteResourcePolicyRequest, callback?: (err: AWSError, data: Comprehend.Types.DeleteResourcePolicyResponse) => void): Request; + /** + * Deletes a resource-based policy that is attached to a custom model. + */ + deleteResourcePolicy(callback?: (err: AWSError, data: Comprehend.Types.DeleteResourcePolicyResponse) => void): Request; /** * Gets the properties associated with a document classification job. Use this operation to get the status of a classification job. */ @@ -187,6 +195,14 @@ declare class Comprehend extends Service { * Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status. */ describePiiEntitiesDetectionJob(callback?: (err: AWSError, data: Comprehend.Types.DescribePiiEntitiesDetectionJobResponse) => void): Request; + /** + * Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy. + */ + describeResourcePolicy(params: Comprehend.Types.DescribeResourcePolicyRequest, callback?: (err: AWSError, data: Comprehend.Types.DescribeResourcePolicyResponse) => void): Request; + /** + * Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy. + */ + describeResourcePolicy(callback?: (err: AWSError, data: Comprehend.Types.DescribeResourcePolicyResponse) => void): Request; /** * Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job. */ @@ -251,6 +267,14 @@ declare class Comprehend extends Service { * Inspects text for syntax and the part of speech of words in the document. For more information, how-syntax. */ detectSyntax(callback?: (err: AWSError, data: Comprehend.Types.DetectSyntaxResponse) => void): Request; + /** + * Creates a new custom model that replicates a source custom model that you import. The source model can be in your AWS account or another one. If the source model is in another AWS account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same AWS region that you're using when you import. You can't import a model that's in a different region. + */ + importModel(params: Comprehend.Types.ImportModelRequest, callback?: (err: AWSError, data: Comprehend.Types.ImportModelResponse) => void): Request; + /** + * Creates a new custom model that replicates a source custom model that you import. The source model can be in your AWS account or another one. If the source model is in another AWS account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same AWS region that you're using when you import. You can't import a model that's in a different region. + */ + importModel(callback?: (err: AWSError, data: Comprehend.Types.ImportModelResponse) => void): Request; /** * Gets a list of the documentation classification jobs that you have submitted. */ @@ -363,6 +387,14 @@ declare class Comprehend extends Service { * Gets a list of the topic detection jobs that you have submitted. */ listTopicsDetectionJobs(callback?: (err: AWSError, data: Comprehend.Types.ListTopicsDetectionJobsResponse) => void): Request; + /** + * Attaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another AWS account to import the custom model, which replicates it in Amazon Comprehend in their account. + */ + putResourcePolicy(params: Comprehend.Types.PutResourcePolicyRequest, callback?: (err: AWSError, data: Comprehend.Types.PutResourcePolicyResponse) => void): Request; + /** + * Attaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another AWS account to import the custom model, which replicates it in Amazon Comprehend in their account. + */ + putResourcePolicy(callback?: (err: AWSError, data: Comprehend.Types.PutResourcePolicyResponse) => void): Request; /** * Starts an asynchronous document classification job. Use the operation to track the progress of the job. */ @@ -855,6 +887,10 @@ declare namespace Comprehend { * ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" */ ModelKmsKeyId?: KmsKeyId; + /** + * The resource-based policy to attach to your custom document classifier model. You can use this policy to allow another AWS account to import your custom model. Provide your policy as a JSON body that you enter as a UTF-8 encoded string without line breaks. To provide valid JSON, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy: "{\"attribute\": \"value\", \"attribute\": [\"value\"]}" To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values: '{"attribute": "value", "attribute": ["value"]}' + */ + ModelPolicy?: Policy; } export interface CreateDocumentClassifierResponse { /** @@ -935,6 +971,10 @@ declare namespace Comprehend { * ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" */ ModelKmsKeyId?: KmsKeyId; + /** + * The JSON resource-based policy to attach to your custom entity recognizer model. You can use this policy to allow another AWS account to import your custom model. Provide your JSON as a UTF-8 encoded string without line breaks. To provide valid JSON for your policy, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy: "{\"attribute\": \"value\", \"attribute\": [\"value\"]}" To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values: '{"attribute": "value", "attribute": ["value"]}' + */ + ModelPolicy?: Policy; } export interface CreateEntityRecognizerResponse { /** @@ -968,6 +1008,18 @@ declare namespace Comprehend { } export interface DeleteEntityRecognizerResponse { } + export interface DeleteResourcePolicyRequest { + /** + * The Amazon Resource Name (ARN) of the custom model version that has the policy to delete. + */ + ResourceArn: ComprehendModelArn; + /** + * The revision ID of the policy to delete. + */ + PolicyRevisionId?: PolicyRevisionId; + } + export interface DeleteResourcePolicyResponse { + } export interface DescribeDocumentClassificationJobRequest { /** * The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response. @@ -1073,6 +1125,30 @@ declare namespace Comprehend { export interface DescribePiiEntitiesDetectionJobResponse { PiiEntitiesDetectionJobProperties?: PiiEntitiesDetectionJobProperties; } + export interface DescribeResourcePolicyRequest { + /** + * The Amazon Resource Name (ARN) of the policy to describe. + */ + ResourceArn: ComprehendModelArn; + } + export interface DescribeResourcePolicyResponse { + /** + * The JSON body of the resource-based policy. + */ + ResourcePolicy?: Policy; + /** + * The time at which the policy was created. + */ + CreationTime?: Timestamp; + /** + * The time at which the policy was last modified. + */ + LastModifiedTime?: Timestamp; + /** + * The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy. + */ + PolicyRevisionId?: PolicyRevisionId; + } export interface DescribeSentimentDetectionJobRequest { /** * The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response. @@ -1404,6 +1480,10 @@ declare namespace Comprehend { * The version name that you assigned to the document classifier. */ VersionName?: VersionName; + /** + * The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the document classifier model in your AWS account. + */ + SourceModelArn?: DocumentClassifierArn; } export type DocumentClassifierPropertiesList = DocumentClassifierProperties[]; export type DocumentClassifierSummariesList = DocumentClassifierSummary[]; @@ -1897,6 +1977,10 @@ declare namespace Comprehend { * The version name you assigned to the entity recognizer. */ VersionName?: VersionName; + /** + * The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the entity recognizer model in your AWS account. + */ + SourceModelArn?: EntityRecognizerArn; } export type EntityRecognizerPropertiesList = EntityRecognizerProperties[]; export type EntityRecognizerSummariesList = EntityRecognizerSummary[]; @@ -2017,6 +2101,38 @@ declare namespace Comprehend { export type EventsDetectionJobPropertiesList = EventsDetectionJobProperties[]; export type Float = number; export type IamRoleArn = string; + export interface ImportModelRequest { + /** + * The Amazon Resource Name (ARN) of the custom model to import. + */ + SourceModelArn: ComprehendModelArn; + /** + * The name to assign to the custom model that is created in Amazon Comprehend by this import. + */ + ModelName?: ComprehendArnName; + /** + * The version name given to the custom model that is created by this import. Version names can have a maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores (_) are allowed. The version name must be unique among all models with the same classifier name in the account/AWS Region. + */ + VersionName?: VersionName; + /** + * ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" + */ + ModelKmsKeyId?: KmsKeyId; + /** + * The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that allows Amazon Comprehend to use Amazon Key Management Service (KMS) to encrypt or decrypt the custom model. + */ + DataAccessRoleArn?: IamRoleArn; + /** + * Tags to be associated with the custom model that is created by this import. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. + */ + Tags?: TagList; + } + export interface ImportModelResponse { + /** + * The Amazon Resource Name (ARN) of the custom model being imported. + */ + ModelArn?: ComprehendModelArn; + } export type InferenceUnitsInteger = number; export interface InputDataConfig { /** @@ -2595,6 +2711,28 @@ declare namespace Comprehend { */ KmsKeyId?: KmsKeyId; } + export type Policy = string; + export type PolicyRevisionId = string; + export interface PutResourcePolicyRequest { + /** + * The Amazon Resource Name (ARN) of the custom model to attach the policy to. + */ + ResourceArn: ComprehendModelArn; + /** + * The JSON resource-based policy to attach to your custom model. Provide your JSON as a UTF-8 encoded string without line breaks. To provide valid JSON for your policy, enclose the attribute names and values in double quotes. If the JSON body is also enclosed in double quotes, then you must escape the double quotes that are inside the policy: "{\"attribute\": \"value\", \"attribute\": [\"value\"]}" To avoid escaping quotes, you can use single quotes to enclose the policy and double quotes to enclose the JSON names and values: '{"attribute": "value", "attribute": ["value"]}' + */ + ResourcePolicy: Policy; + /** + * The revision ID that Amazon Comprehend assigned to the policy that you are updating. If you are creating a new policy that has no prior version, don't use this parameter. Amazon Comprehend creates the revision ID for you. + */ + PolicyRevisionId?: PolicyRevisionId; + } + export interface PutResourcePolicyResponse { + /** + * The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy. + */ + PolicyRevisionId?: PolicyRevisionId; + } export interface RedactionConfig { /** * An array of the types of PII entities that Amazon Comprehend detects in the input text for your request. diff --git a/node_modules/aws-sdk/clients/computeoptimizer.d.ts b/node_modules/aws-sdk/clients/computeoptimizer.d.ts index fa9c0f905..cdf76e819 100644 --- a/node_modules/aws-sdk/clients/computeoptimizer.d.ts +++ b/node_modules/aws-sdk/clients/computeoptimizer.d.ts @@ -244,6 +244,10 @@ declare namespace ComputeOptimizer { * An object that describes the effective recommendation preferences for the Auto Scaling group. */ effectiveRecommendationPreferences?: EffectiveRecommendationPreferences; + /** + * The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer. Compute Optimizer can infer if one of the following applications might be running on the instances: AmazonEmr - Infers that Amazon EMR might be running on the instances. ApacheCassandra - Infers that Apache Cassandra might be running on the instances. ApacheHadoop - Infers that Apache Hadoop might be running on the instances. Memcached - Infers that Memcached might be running on the instances. NGINX - Infers that NGINX might be running on the instances. PostgreSql - Infers that PostgreSQL might be running on the instances. Redis - Infers that Redis might be running on the instances. + */ + inferredWorkloadTypes?: InferredWorkloadTypes; } export interface AutoScalingGroupRecommendationOption { /** @@ -266,6 +270,10 @@ declare namespace ComputeOptimizer { * An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage. */ savingsOpportunity?: SavingsOpportunity; + /** + * The level of effort required to migrate from the current instance type to the recommended instance type. For example, the migration effort is Low if Amazon EMR is the inferred workload type and an Amazon Web Services Graviton instance type is recommended. The migration effort is Medium if a workload type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The migration effort is VeryLow if both the current and recommended instance types are of the same CPU architecture. + */ + migrationEffort?: MigrationEffort; } export type AutoScalingGroupRecommendationOptions = AutoScalingGroupRecommendationOption[]; export type AutoScalingGroupRecommendations = AutoScalingGroupRecommendation[]; @@ -377,9 +385,13 @@ declare namespace ComputeOptimizer { */ cpuVendorArchitectures?: CpuVendorArchitectures; /** - * Describes the activation status of the enhanced infrastructure metrics preference. A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied. + * Describes the activation status of the enhanced infrastructure metrics preference. A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide. */ enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics; + /** + * Describes the activation status of the inferred workload types preference. A status of Active confirms that the preference is applied in the latest recommendation refresh. A status of Inactive confirms that it's not yet applied to recommendations. + */ + inferredWorkloadTypes?: InferredWorkloadTypesPreference; } export type EnhancedInfrastructureMetrics = "Active"|"Inactive"|string; export interface EnrollmentFilter { @@ -550,9 +562,9 @@ declare namespace ComputeOptimizer { jobId?: JobId; s3Destination?: S3Destination; } - export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationInstanceType"|"CurrentConfigurationDesiredCapacity"|"CurrentConfigurationMinSize"|"CurrentConfigurationMaxSize"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsConfigurationInstanceType"|"RecommendationOptionsConfigurationDesiredCapacity"|"RecommendationOptionsConfigurationMinSize"|"RecommendationOptionsConfigurationMaxSize"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|string; + export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationInstanceType"|"CurrentConfigurationDesiredCapacity"|"CurrentConfigurationMinSize"|"CurrentConfigurationMaxSize"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsConfigurationInstanceType"|"RecommendationOptionsConfigurationDesiredCapacity"|"RecommendationOptionsConfigurationMinSize"|"RecommendationOptionsConfigurationMaxSize"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|string; export type ExportableAutoScalingGroupFields = ExportableAutoScalingGroupField[]; - export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|string; + export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|string; export type ExportableInstanceFields = ExportableInstanceField[]; export type ExportableLambdaFunctionField = "AccountId"|"FunctionArn"|"FunctionVersion"|"Finding"|"FindingReasonCodes"|"NumberOfInvocations"|"UtilizationMetricsDurationMaximum"|"UtilizationMetricsDurationAverage"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsMemoryAverage"|"LookbackPeriodInDays"|"CurrentConfigurationMemorySize"|"CurrentConfigurationTimeout"|"CurrentCostTotal"|"CurrentCostAverage"|"RecommendationOptionsConfigurationMemorySize"|"RecommendationOptionsCostLow"|"RecommendationOptionsCostHigh"|"RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationExpected"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|string; export type ExportableLambdaFunctionFields = ExportableLambdaFunctionField[]; @@ -735,7 +747,7 @@ declare namespace ComputeOptimizer { } export interface GetEffectiveRecommendationPreferencesResponse { /** - * The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level. A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied. To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions. + * The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level. A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations. To validate whether the preference is applied to your last generated set of recommendations, review the effectiveRecommendationPreferences value in the response of the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide. */ enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics; } @@ -889,6 +901,9 @@ declare namespace ComputeOptimizer { export type High = number; export type Identifier = string; export type IncludeMemberAccounts = boolean; + export type InferredWorkloadType = "AmazonEmr"|"ApacheCassandra"|"ApacheHadoop"|"Memcached"|"Nginx"|"PostgreSql"|"Redis"|string; + export type InferredWorkloadTypes = InferredWorkloadType[]; + export type InferredWorkloadTypesPreference = "Active"|"Inactive"|string; export type InstanceArn = string; export type InstanceArns = InstanceArn[]; export type InstanceName = string; @@ -938,13 +953,17 @@ declare namespace ComputeOptimizer { */ lastRefreshTimestamp?: LastRefreshTimestamp; /** - * The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current Lambda function requires more memory. + * The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload. */ currentPerformanceRisk?: CurrentPerformanceRisk; /** * An object that describes the effective recommendation preferences for the instance. */ effectiveRecommendationPreferences?: EffectiveRecommendationPreferences; + /** + * The applications that might be running on the instance as inferred by Compute Optimizer. Compute Optimizer can infer if one of the following applications might be running on the instance: AmazonEmr - Infers that Amazon EMR might be running on the instance. ApacheCassandra - Infers that Apache Cassandra might be running on the instance. ApacheHadoop - Infers that Apache Hadoop might be running on the instance. Memcached - Infers that Memcached might be running on the instance. NGINX - Infers that NGINX might be running on the instance. PostgreSql - Infers that PostgreSQL might be running on the instance. Redis - Infers that Redis might be running on the instance. + */ + inferredWorkloadTypes?: InferredWorkloadTypes; } export type InstanceRecommendationFindingReasonCode = "CPUOverprovisioned"|"CPUUnderprovisioned"|"MemoryOverprovisioned"|"MemoryUnderprovisioned"|"EBSThroughputOverprovisioned"|"EBSThroughputUnderprovisioned"|"EBSIOPSOverprovisioned"|"EBSIOPSUnderprovisioned"|"NetworkBandwidthOverprovisioned"|"NetworkBandwidthUnderprovisioned"|"NetworkPPSOverprovisioned"|"NetworkPPSUnderprovisioned"|"DiskIOPSOverprovisioned"|"DiskIOPSUnderprovisioned"|"DiskThroughputOverprovisioned"|"DiskThroughputUnderprovisioned"|string; export type InstanceRecommendationFindingReasonCodes = InstanceRecommendationFindingReasonCode[]; @@ -973,6 +992,10 @@ declare namespace ComputeOptimizer { * An object that describes the savings opportunity for the instance recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage. */ savingsOpportunity?: SavingsOpportunity; + /** + * The level of effort required to migrate from the current instance type to the recommended instance type. For example, the migration effort is Low if Amazon EMR is the inferred workload type and an Amazon Web Services Graviton instance type is recommended. The migration effort is Medium if a workload type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The migration effort is VeryLow if both the current and recommended instance types are of the same CPU architecture. + */ + migrationEffort?: MigrationEffort; } export type InstanceRecommendations = InstanceRecommendation[]; export type InstanceType = string; @@ -1075,7 +1098,7 @@ declare namespace ComputeOptimizer { */ memorySizeRecommendationOptions?: LambdaFunctionMemoryRecommendationOptions; /** - * The risk of the current Lambda function not meeting the performance needs of its workloads. The higher the risk, the more likely the current Lambda function configuration is underperforming in its workload. + * The risk of the current Lambda function not meeting the performance needs of its workloads. The higher the risk, the more likely the current Lambda function requires more memory. */ currentPerformanceRisk?: CurrentPerformanceRisk; } @@ -1125,6 +1148,7 @@ declare namespace ComputeOptimizer { export type MetricStatistic = "Maximum"|"Average"|string; export type MetricValue = number; export type MetricValues = MetricValue[]; + export type MigrationEffort = "VeryLow"|"Low"|"Medium"|"High"|string; export type MinSize = number; export type NextToken = string; export type NumberOfInvocations = number; @@ -1155,13 +1179,17 @@ declare namespace ComputeOptimizer { */ resourceType: ResourceType; /** - * An object that describes the scope of the recommendation preference to create. You can create recommendation preferences at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide. You cannot create recommendation preferences for Auto Scaling groups at the organization and account levels. You can create recommendation preferences for Auto Scaling groups only at the resource level by specifying a scope name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource Name (ARN). This will configure the preference for all instances that are part of the specified the Auto Scaling group. + * An object that describes the scope of the recommendation preference to create. You can create recommendation preferences at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide. You cannot create recommendation preferences for Auto Scaling groups at the organization and account levels. You can create recommendation preferences for Auto Scaling groups only at the resource level by specifying a scope name of ResourceArn and a scope value of the Auto Scaling group Amazon Resource Name (ARN). This will configure the preference for all instances that are part of the specified Auto Scaling group. You also cannot create recommendation preferences at the resource level for instances that are part of an Auto Scaling group. You can create recommendation preferences at the resource level only for standalone instances. */ scope?: Scope; /** - * The status of the enhanced infrastructure metrics recommendation preference to create or update. A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied. + * The status of the enhanced infrastructure metrics recommendation preference to create or update. Specify the Active status to activate the preference, or specify Inactive to deactivate the preference. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide. */ enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics; + /** + * The status of the inferred workload types recommendation preference to create or update. The inferred workload type feature is active by default. To deactivate it, create a recommendation preference. Specify the Inactive status to deactivate the feature, or specify Active to activate it. For more information, see Inferred workload types in the Compute Optimizer User Guide. + */ + inferredWorkloadTypes?: InferredWorkloadTypesPreference; } export interface PutRecommendationPreferencesResponse { } @@ -1209,7 +1237,7 @@ declare namespace ComputeOptimizer { } export type RecommendationExportJobs = RecommendationExportJob[]; export type RecommendationOptions = InstanceRecommendationOption[]; - export type RecommendationPreferenceName = "EnhancedInfrastructureMetrics"|string; + export type RecommendationPreferenceName = "EnhancedInfrastructureMetrics"|"InferredWorkloadTypes"|string; export type RecommendationPreferenceNames = RecommendationPreferenceName[]; export interface RecommendationPreferences { /** @@ -1227,9 +1255,13 @@ declare namespace ComputeOptimizer { */ resourceType?: ResourceType; /** - * The status of the enhanced infrastructure metrics recommendation preference. A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied. + * The status of the enhanced infrastructure metrics recommendation preference. A status of Active confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive confirms that it's not yet applied to recommendations. For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide. */ enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics; + /** + * The status of the inferred workload types recommendation preference. A status of Active confirms that the preference is applied in the latest recommendation refresh. A status of Inactive confirms that it's not yet applied to recommendations. + */ + inferredWorkloadTypes?: InferredWorkloadTypesPreference; } export type RecommendationPreferencesDetails = RecommendationPreferencesDetail[]; export interface RecommendationSource { @@ -1285,7 +1317,7 @@ declare namespace ComputeOptimizer { } export type RecommendedOptionProjectedMetrics = RecommendedOptionProjectedMetric[]; export type ResourceArn = string; - export type ResourceType = "Ec2Instance"|"AutoScalingGroup"|"EbsVolume"|"LambdaFunction"|string; + export type ResourceType = "Ec2Instance"|"AutoScalingGroup"|"EbsVolume"|"LambdaFunction"|"NotApplicable"|string; export interface S3Destination { /** * The name of the Amazon S3 bucket used as the destination of an export file. @@ -1312,11 +1344,11 @@ declare namespace ComputeOptimizer { } export interface SavingsOpportunity { /** - * The estimated monthly savings possible as a percentage of monthly cost. + * The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource. */ savingsOpportunityPercentage?: SavingsOpportunityPercentage; /** - * An object that describes the estimated monthly savings amount possible based on On-Demand instance pricing. + * An object that describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource. */ estimatedMonthlySavings?: EstimatedMonthlySavings; } diff --git a/node_modules/aws-sdk/clients/configservice.d.ts b/node_modules/aws-sdk/clients/configservice.d.ts index 0e021be0e..8803a3679 100644 --- a/node_modules/aws-sdk/clients/configservice.d.ts +++ b/node_modules/aws-sdk/clients/configservice.d.ts @@ -3924,7 +3924,7 @@ declare namespace ConfigService { } export type ResourceKeys = ResourceKey[]; export type ResourceName = string; - export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::EC2::RegisteredHAInstance"|"AWS::EC2::NatGateway"|"AWS::EC2::EgressOnlyInternetGateway"|"AWS::EC2::VPCEndpoint"|"AWS::EC2::VPCEndpointService"|"AWS::EC2::FlowLog"|"AWS::EC2::VPCPeeringConnection"|"AWS::Elasticsearch::Domain"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBCluster"|"AWS::RDS::DBClusterSnapshot"|"AWS::RDS::EventSubscription"|"AWS::S3::Bucket"|"AWS::S3::AccountPublicAccessBlock"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::SSM::ManagedInstanceInventory"|"AWS::CloudWatch::Alarm"|"AWS::CloudFormation::Stack"|"AWS::ElasticLoadBalancing::LoadBalancer"|"AWS::AutoScaling::AutoScalingGroup"|"AWS::AutoScaling::LaunchConfiguration"|"AWS::AutoScaling::ScalingPolicy"|"AWS::AutoScaling::ScheduledAction"|"AWS::DynamoDB::Table"|"AWS::CodeBuild::Project"|"AWS::WAF::RateBasedRule"|"AWS::WAF::Rule"|"AWS::WAF::RuleGroup"|"AWS::WAF::WebACL"|"AWS::WAFRegional::RateBasedRule"|"AWS::WAFRegional::Rule"|"AWS::WAFRegional::RuleGroup"|"AWS::WAFRegional::WebACL"|"AWS::CloudFront::Distribution"|"AWS::CloudFront::StreamingDistribution"|"AWS::Lambda::Function"|"AWS::NetworkFirewall::Firewall"|"AWS::NetworkFirewall::FirewallPolicy"|"AWS::NetworkFirewall::RuleGroup"|"AWS::ElasticBeanstalk::Application"|"AWS::ElasticBeanstalk::ApplicationVersion"|"AWS::ElasticBeanstalk::Environment"|"AWS::WAFv2::WebACL"|"AWS::WAFv2::RuleGroup"|"AWS::WAFv2::IPSet"|"AWS::WAFv2::RegexPatternSet"|"AWS::WAFv2::ManagedRuleSet"|"AWS::XRay::EncryptionConfig"|"AWS::SSM::AssociationCompliance"|"AWS::SSM::PatchCompliance"|"AWS::Shield::Protection"|"AWS::ShieldRegional::Protection"|"AWS::Config::ConformancePackCompliance"|"AWS::Config::ResourceCompliance"|"AWS::ApiGateway::Stage"|"AWS::ApiGateway::RestApi"|"AWS::ApiGatewayV2::Stage"|"AWS::ApiGatewayV2::Api"|"AWS::CodePipeline::Pipeline"|"AWS::ServiceCatalog::CloudFormationProvisionedProduct"|"AWS::ServiceCatalog::CloudFormationProduct"|"AWS::ServiceCatalog::Portfolio"|"AWS::SQS::Queue"|"AWS::KMS::Key"|"AWS::QLDB::Ledger"|"AWS::SecretsManager::Secret"|"AWS::SNS::Topic"|"AWS::SSM::FileData"|"AWS::Backup::BackupPlan"|"AWS::Backup::BackupSelection"|"AWS::Backup::BackupVault"|"AWS::Backup::RecoveryPoint"|"AWS::ECR::Repository"|"AWS::ECS::Cluster"|"AWS::ECS::Service"|"AWS::ECS::TaskDefinition"|"AWS::EFS::AccessPoint"|"AWS::EFS::FileSystem"|"AWS::EKS::Cluster"|"AWS::OpenSearch::Domain"|string; + export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::EC2::RegisteredHAInstance"|"AWS::EC2::NatGateway"|"AWS::EC2::EgressOnlyInternetGateway"|"AWS::EC2::VPCEndpoint"|"AWS::EC2::VPCEndpointService"|"AWS::EC2::FlowLog"|"AWS::EC2::VPCPeeringConnection"|"AWS::Elasticsearch::Domain"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBCluster"|"AWS::RDS::DBClusterSnapshot"|"AWS::RDS::EventSubscription"|"AWS::S3::Bucket"|"AWS::S3::AccountPublicAccessBlock"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::SSM::ManagedInstanceInventory"|"AWS::CloudWatch::Alarm"|"AWS::CloudFormation::Stack"|"AWS::ElasticLoadBalancing::LoadBalancer"|"AWS::AutoScaling::AutoScalingGroup"|"AWS::AutoScaling::LaunchConfiguration"|"AWS::AutoScaling::ScalingPolicy"|"AWS::AutoScaling::ScheduledAction"|"AWS::DynamoDB::Table"|"AWS::CodeBuild::Project"|"AWS::WAF::RateBasedRule"|"AWS::WAF::Rule"|"AWS::WAF::RuleGroup"|"AWS::WAF::WebACL"|"AWS::WAFRegional::RateBasedRule"|"AWS::WAFRegional::Rule"|"AWS::WAFRegional::RuleGroup"|"AWS::WAFRegional::WebACL"|"AWS::CloudFront::Distribution"|"AWS::CloudFront::StreamingDistribution"|"AWS::Lambda::Function"|"AWS::NetworkFirewall::Firewall"|"AWS::NetworkFirewall::FirewallPolicy"|"AWS::NetworkFirewall::RuleGroup"|"AWS::ElasticBeanstalk::Application"|"AWS::ElasticBeanstalk::ApplicationVersion"|"AWS::ElasticBeanstalk::Environment"|"AWS::WAFv2::WebACL"|"AWS::WAFv2::RuleGroup"|"AWS::WAFv2::IPSet"|"AWS::WAFv2::RegexPatternSet"|"AWS::WAFv2::ManagedRuleSet"|"AWS::XRay::EncryptionConfig"|"AWS::SSM::AssociationCompliance"|"AWS::SSM::PatchCompliance"|"AWS::Shield::Protection"|"AWS::ShieldRegional::Protection"|"AWS::Config::ConformancePackCompliance"|"AWS::Config::ResourceCompliance"|"AWS::ApiGateway::Stage"|"AWS::ApiGateway::RestApi"|"AWS::ApiGatewayV2::Stage"|"AWS::ApiGatewayV2::Api"|"AWS::CodePipeline::Pipeline"|"AWS::ServiceCatalog::CloudFormationProvisionedProduct"|"AWS::ServiceCatalog::CloudFormationProduct"|"AWS::ServiceCatalog::Portfolio"|"AWS::SQS::Queue"|"AWS::KMS::Key"|"AWS::QLDB::Ledger"|"AWS::SecretsManager::Secret"|"AWS::SNS::Topic"|"AWS::SSM::FileData"|"AWS::Backup::BackupPlan"|"AWS::Backup::BackupSelection"|"AWS::Backup::BackupVault"|"AWS::Backup::RecoveryPoint"|"AWS::ECR::Repository"|"AWS::ECS::Cluster"|"AWS::ECS::Service"|"AWS::ECS::TaskDefinition"|"AWS::EFS::AccessPoint"|"AWS::EFS::FileSystem"|"AWS::EKS::Cluster"|"AWS::OpenSearch::Domain"|"AWS::EC2::TransitGateway"|"AWS::Kinesis::Stream"|"AWS::Kinesis::StreamConsumer"|"AWS::CodeDeploy::Application"|"AWS::CodeDeploy::DeploymentConfig"|"AWS::CodeDeploy::DeploymentGroup"|string; export type ResourceTypeList = ResourceType[]; export type ResourceTypeString = string; export type ResourceTypes = StringWithCharLimit256[]; diff --git a/node_modules/aws-sdk/clients/connect.d.ts b/node_modules/aws-sdk/clients/connect.d.ts index 2fa79d82f..dce72bdd1 100644 --- a/node_modules/aws-sdk/clients/connect.d.ts +++ b/node_modules/aws-sdk/clients/connect.d.ts @@ -27,6 +27,14 @@ declare class Connect extends Service { * This API is in preview release for Amazon Connect and is subject to change. Allows the specified Amazon Connect instance to access the specified Amazon Lex or Amazon Lex V2 bot. */ associateBot(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language. + */ + associateDefaultVocabulary(params: Connect.Types.AssociateDefaultVocabularyRequest, callback?: (err: AWSError, data: Connect.Types.AssociateDefaultVocabularyResponse) => void): Request; + /** + * Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language. + */ + associateDefaultVocabulary(callback?: (err: AWSError, data: Connect.Types.AssociateDefaultVocabularyResponse) => void): Request; /** * This API is in preview release for Amazon Connect and is subject to change. Associates a storage resource type for the first time. You can only associate one type of storage configuration in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing chat transcripts. This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the resource being specified in the storage configuration, like an S3 bucket, exists when being used for association. */ @@ -116,11 +124,11 @@ declare class Connect extends Service { */ createInstance(callback?: (err: AWSError, data: Connect.Types.CreateInstanceResponse) => void): Request; /** - * Creates an AWS resource association with an Amazon Connect instance. + * Creates an Amazon Web Services resource association with an Amazon Connect instance. */ createIntegrationAssociation(params: Connect.Types.CreateIntegrationAssociationRequest, callback?: (err: AWSError, data: Connect.Types.CreateIntegrationAssociationResponse) => void): Request; /** - * Creates an AWS resource association with an Amazon Connect instance. + * Creates an Amazon Web Services resource association with an Amazon Connect instance. */ createIntegrationAssociation(callback?: (err: AWSError, data: Connect.Types.CreateIntegrationAssociationResponse) => void): Request; /** @@ -179,6 +187,14 @@ declare class Connect extends Service { * Creates a new user hierarchy group. */ createUserHierarchyGroup(callback?: (err: AWSError, data: Connect.Types.CreateUserHierarchyGroupResponse) => void): Request; + /** + * Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in post-call and real-time contact analysis sessions for that language. + */ + createVocabulary(params: Connect.Types.CreateVocabularyRequest, callback?: (err: AWSError, data: Connect.Types.CreateVocabularyResponse) => void): Request; + /** + * Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in post-call and real-time contact analysis sessions for that language. + */ + createVocabulary(callback?: (err: AWSError, data: Connect.Types.CreateVocabularyResponse) => void): Request; /** * Deletes a contact flow for the specified Amazon Connect instance. */ @@ -212,11 +228,11 @@ declare class Connect extends Service { */ deleteInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an AWS resource association from an Amazon Connect instance. The association must not have any use cases associated with it. + * Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have any use cases associated with it. */ deleteIntegrationAssociation(params: Connect.Types.DeleteIntegrationAssociationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an AWS resource association from an Amazon Connect instance. The association must not have any use cases associated with it. + * Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have any use cases associated with it. */ deleteIntegrationAssociation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -259,6 +275,14 @@ declare class Connect extends Service { * Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups. */ deleteUserHierarchyGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * Deletes the vocabulary that has the given identifier. + */ + deleteVocabulary(params: Connect.Types.DeleteVocabularyRequest, callback?: (err: AWSError, data: Connect.Types.DeleteVocabularyResponse) => void): Request; + /** + * Deletes the vocabulary that has the given identifier. + */ + deleteVocabulary(callback?: (err: AWSError, data: Connect.Types.DeleteVocabularyResponse) => void): Request; /** * This API is in preview release for Amazon Connect and is subject to change. Describes an agent status. */ @@ -379,6 +403,14 @@ declare class Connect extends Service { * Describes the hierarchy structure of the specified Amazon Connect instance. */ describeUserHierarchyStructure(callback?: (err: AWSError, data: Connect.Types.DescribeUserHierarchyStructureResponse) => void): Request; + /** + * Describes the specified vocabulary. + */ + describeVocabulary(params: Connect.Types.DescribeVocabularyRequest, callback?: (err: AWSError, data: Connect.Types.DescribeVocabularyResponse) => void): Request; + /** + * Describes the specified vocabulary. + */ + describeVocabulary(callback?: (err: AWSError, data: Connect.Types.DescribeVocabularyResponse) => void): Request; /** * This API is in preview release for Amazon Connect and is subject to change. Revokes access to integrated applications from Amazon Connect. */ @@ -523,6 +555,14 @@ declare class Connect extends Service { * This API is in preview release for Amazon Connect and is subject to change. For the specified referenceTypes, returns a list of references associated with the contact. */ listContactReferences(callback?: (err: AWSError, data: Connect.Types.ListContactReferencesResponse) => void): Request; + /** + * Lists the default vocabularies for the specified Amazon Connect instance. + */ + listDefaultVocabularies(params: Connect.Types.ListDefaultVocabulariesRequest, callback?: (err: AWSError, data: Connect.Types.ListDefaultVocabulariesResponse) => void): Request; + /** + * Lists the default vocabularies for the specified Amazon Connect instance. + */ + listDefaultVocabularies(callback?: (err: AWSError, data: Connect.Types.ListDefaultVocabulariesResponse) => void): Request; /** * Provides information about the hours of operation for the specified Amazon Connect instance. For more information about hours of operation, see Set the Hours of Operation for a Queue in the Amazon Connect Administrator Guide. */ @@ -556,11 +596,11 @@ declare class Connect extends Service { */ listInstances(callback?: (err: AWSError, data: Connect.Types.ListInstancesResponse) => void): Request; /** - * Provides summary information about the AWS resource associations for the specified Amazon Connect instance. + * Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance. */ listIntegrationAssociations(params: Connect.Types.ListIntegrationAssociationsRequest, callback?: (err: AWSError, data: Connect.Types.ListIntegrationAssociationsResponse) => void): Request; /** - * Provides summary information about the AWS resource associations for the specified Amazon Connect instance. + * Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance. */ listIntegrationAssociations(callback?: (err: AWSError, data: Connect.Types.ListIntegrationAssociationsResponse) => void): Request; /** @@ -700,11 +740,19 @@ declare class Connect extends Service { */ resumeContactRecording(callback?: (err: AWSError, data: Connect.Types.ResumeContactRecordingResponse) => void): Request; /** - * Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service. When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS. A 429 error occurs in two situations: API rate limit is exceeded. API TPS throttling returns a TooManyRequests exception. The quota for concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException. For more information about chat, see Chat in the Amazon Connect Administrator Guide. + * Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode. + */ + searchVocabularies(params: Connect.Types.SearchVocabulariesRequest, callback?: (err: AWSError, data: Connect.Types.SearchVocabulariesResponse) => void): Request; + /** + * Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode. + */ + searchVocabularies(callback?: (err: AWSError, data: Connect.Types.SearchVocabulariesResponse) => void): Request; + /** + * Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service. When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS. A 429 error occurs in the following situations: API rate limit is exceeded. API TPS throttling returns a TooManyRequests exception. The quota for concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException. If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support. For more information about chat, see Chat in the Amazon Connect Administrator Guide. */ startChatContact(params: Connect.Types.StartChatContactRequest, callback?: (err: AWSError, data: Connect.Types.StartChatContactResponse) => void): Request; /** - * Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service. When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS. A 429 error occurs in two situations: API rate limit is exceeded. API TPS throttling returns a TooManyRequests exception. The quota for concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException. For more information about chat, see Chat in the Amazon Connect Administrator Guide. + * Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service. When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS. A 429 error occurs in the following situations: API rate limit is exceeded. API TPS throttling returns a TooManyRequests exception. The quota for concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException. If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support. For more information about chat, see Chat in the Amazon Connect Administrator Guide. */ startChatContact(callback?: (err: AWSError, data: Connect.Types.StartChatContactResponse) => void): Request; /** @@ -1145,6 +1193,22 @@ declare namespace Connect { */ LexV2Bot?: LexV2Bot; } + export interface AssociateDefaultVocabularyRequest { + /** + * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. + */ + InstanceId: InstanceId; + /** + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe? + */ + LanguageCode: VocabularyLanguageCode; + /** + * The identifier of the custom vocabulary. If this is empty, the default is set to none. + */ + VocabularyId?: VocabularyId; + } + export interface AssociateDefaultVocabularyResponse { + } export interface AssociateInstanceStorageConfigRequest { /** * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. @@ -1267,6 +1331,7 @@ declare namespace Connect { export type Channels = Channel[]; export type ChatContent = string; export type ChatContentType = string; + export type ChatDurationInMinutes = number; export interface ChatMessage { /** * The type of the content. Supported types are text and plain. @@ -1881,6 +1946,10 @@ declare namespace Connect { * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. */ InstanceId: InstanceId; + /** + * The tags used to organize, track, or control access for this resource. + */ + Tags?: TagMap; } export interface CreateUserHierarchyGroupResponse { /** @@ -1944,6 +2013,46 @@ declare namespace Connect { */ UserArn?: ARN; } + export interface CreateVocabularyRequest { + /** + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again. + */ + ClientToken?: ClientToken; + /** + * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. + */ + InstanceId: InstanceId; + /** + * A unique name of the custom vocabulary. + */ + VocabularyName: VocabularyName; + /** + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe? + */ + LanguageCode: VocabularyLanguageCode; + /** + * The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. The size limit is 50KB. For more information, see Create a custom vocabulary using a table. + */ + Content: VocabularyContent; + /** + * The tags used to organize, track, or control access for this resource. + */ + Tags?: TagMap; + } + export interface CreateVocabularyResponse { + /** + * The Amazon Resource Name (ARN) of the custom vocabulary. + */ + VocabularyArn: ARN; + /** + * The identifier of the custom vocabulary. + */ + VocabularyId: VocabularyId; + /** + * The current state of the custom vocabulary. + */ + State: VocabularyState; + } export interface Credentials { /** * An access token generated for a federated user to access Amazon Connect. @@ -1996,6 +2105,25 @@ declare namespace Connect { } export type CurrentMetricResults = CurrentMetricResult[]; export type CurrentMetrics = CurrentMetric[]; + export interface DefaultVocabulary { + /** + * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. + */ + InstanceId: InstanceId; + /** + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe? + */ + LanguageCode: VocabularyLanguageCode; + /** + * The identifier of the custom vocabulary. + */ + VocabularyId: VocabularyId; + /** + * A unique name of the custom vocabulary. + */ + VocabularyName: VocabularyName; + } + export type DefaultVocabularyList = DefaultVocabulary[]; export type Delay = number; export interface DeleteContactFlowModuleRequest { /** @@ -2099,6 +2227,30 @@ declare namespace Connect { */ UserId: UserId; } + export interface DeleteVocabularyRequest { + /** + * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. + */ + InstanceId: InstanceId; + /** + * The identifier of the custom vocabulary. + */ + VocabularyId: VocabularyId; + } + export interface DeleteVocabularyResponse { + /** + * The Amazon Resource Name (ARN) of the custom vocabulary. + */ + VocabularyArn: ARN; + /** + * The identifier of the custom vocabulary. + */ + VocabularyId: VocabularyId; + /** + * The current state of the custom vocabulary. + */ + State: VocabularyState; + } export interface DescribeAgentStatusRequest { /** * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. @@ -2335,6 +2487,22 @@ declare namespace Connect { */ User?: User; } + export interface DescribeVocabularyRequest { + /** + * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. + */ + InstanceId: InstanceId; + /** + * The identifier of the custom vocabulary. + */ + VocabularyId: VocabularyId; + } + export interface DescribeVocabularyResponse { + /** + * A list of specific words that you want Contact Lens for Amazon Connect to recognize in your audio input. They are generally domain-specific words and phrases, words that Contact Lens is not recognizing, or proper nouns. + */ + Vocabulary: Vocabulary; + } export type Description = string; export interface Dimensions { /** @@ -2462,7 +2630,7 @@ declare namespace Connect { export type EncryptionType = "KMS"|string; export interface Filters { /** - * The queues to use to filter the metrics. You can specify up to 100 queues per request. + * The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues per request. The GetCurrentMetricsData API in particular requires a queue when you include a Filter in your request. */ Queues?: Queues; /** @@ -2607,6 +2775,10 @@ declare namespace Connect { * Information about the levels in the hierarchy group. */ HierarchyPath?: HierarchyPath; + /** + * The tags used to organize, track, or control access for this resource. + */ + Tags?: TagMap; } export type HierarchyGroupId = string; export type HierarchyGroupName = string; @@ -3206,6 +3378,34 @@ declare namespace Connect { */ NextToken?: NextToken; } + export interface ListDefaultVocabulariesRequest { + /** + * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. + */ + InstanceId: InstanceId; + /** + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe? + */ + LanguageCode?: VocabularyLanguageCode; + /** + * The maximum number of results to return per page. + */ + MaxResults?: MaxResult100; + /** + * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. + */ + NextToken?: VocabularyNextToken; + } + export interface ListDefaultVocabulariesResponse { + /** + * A list of default vocabularies. + */ + DefaultVocabularyList: DefaultVocabularyList; + /** + * If there are additional results, this is the token for the next set of results. + */ + NextToken?: VocabularyNextToken; + } export interface ListHoursOfOperationsRequest { /** * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. @@ -4163,6 +4363,42 @@ declare namespace Connect { */ EncryptionConfig?: EncryptionConfig; } + export interface SearchVocabulariesRequest { + /** + * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. + */ + InstanceId: InstanceId; + /** + * The maximum number of results to return per page. + */ + MaxResults?: MaxResult100; + /** + * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. + */ + NextToken?: VocabularyNextToken; + /** + * The current state of the custom vocabulary. + */ + State?: VocabularyState; + /** + * The starting pattern of the name of the vocabulary. + */ + NameStartsWith?: VocabularyName; + /** + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe? + */ + LanguageCode?: VocabularyLanguageCode; + } + export interface SearchVocabulariesResponse { + /** + * The list of the available custom vocabularies. + */ + VocabularySummaryList?: VocabularySummaryList; + /** + * If there are additional results, this is the token for the next set of results. + */ + NextToken?: VocabularyNextToken; + } export interface SecurityKey { /** * The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID. @@ -4252,6 +4488,10 @@ declare namespace Connect { * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ ClientToken?: ClientToken; + /** + * The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days). + */ + ChatDurationInMinutes?: ChatDurationInMinutes; } export interface StartChatContactResponse { /** @@ -4721,7 +4961,7 @@ declare namespace Connect { */ InstanceId: InstanceId; /** - * The type of attribute. Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact AWS Support for allowlisting. + * The type of attribute. Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting. */ AttributeType: InstanceAttributeType; /** @@ -5151,6 +5391,83 @@ declare namespace Connect { } export type UserSummaryList = UserSummary[]; export type Value = number; + export interface Vocabulary { + /** + * A unique name of the custom vocabulary. + */ + Name: VocabularyName; + /** + * The identifier of the custom vocabulary. + */ + Id: VocabularyId; + /** + * The Amazon Resource Name (ARN) of the custom vocabulary. + */ + Arn: ARN; + /** + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe? + */ + LanguageCode: VocabularyLanguageCode; + /** + * The current state of the custom vocabulary. + */ + State: VocabularyState; + /** + * The timestamp when the custom vocabulary was last modified. + */ + LastModifiedTime: VocabularyLastModifiedTime; + /** + * The reason why the custom vocabulary was not created. + */ + FailureReason?: VocabularyFailureReason; + /** + * The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. For more information, see Create a custom vocabulary using a table. + */ + Content?: VocabularyContent; + /** + * The tags used to organize, track, or control access for this resource. + */ + Tags?: TagMap; + } + export type VocabularyContent = string; + export type VocabularyFailureReason = string; + export type VocabularyId = string; + export type VocabularyLanguageCode = "ar-AE"|"de-CH"|"de-DE"|"en-AB"|"en-AU"|"en-GB"|"en-IE"|"en-IN"|"en-US"|"en-WL"|"es-ES"|"es-US"|"fr-CA"|"fr-FR"|"hi-IN"|"it-IT"|"ja-JP"|"ko-KR"|"pt-BR"|"pt-PT"|"zh-CN"|string; + export type VocabularyLastModifiedTime = Date; + export type VocabularyName = string; + export type VocabularyNextToken = string; + export type VocabularyState = "CREATION_IN_PROGRESS"|"ACTIVE"|"CREATION_FAILED"|"DELETE_IN_PROGRESS"|string; + export interface VocabularySummary { + /** + * A unique name of the custom vocabulary. + */ + Name: VocabularyName; + /** + * The identifier of the custom vocabulary. + */ + Id: VocabularyId; + /** + * The Amazon Resource Name (ARN) of the custom vocabulary. + */ + Arn: ARN; + /** + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe? + */ + LanguageCode: VocabularyLanguageCode; + /** + * The current state of the custom vocabulary. + */ + State: VocabularyState; + /** + * The timestamp when the custom vocabulary was last modified. + */ + LastModifiedTime: VocabularyLastModifiedTime; + /** + * The reason why the custom vocabulary was not created. + */ + FailureReason?: VocabularyFailureReason; + } + export type VocabularySummaryList = VocabularySummary[]; export interface VoiceRecordingConfiguration { /** * Identifies which track is being recorded. diff --git a/node_modules/aws-sdk/clients/costexplorer.d.ts b/node_modules/aws-sdk/clients/costexplorer.d.ts index 160f9b63f..d48d6abfd 100644 --- a/node_modules/aws-sdk/clients/costexplorer.d.ts +++ b/node_modules/aws-sdk/clients/costexplorer.d.ts @@ -760,7 +760,7 @@ declare namespace CostExplorer { export interface DescribeCostCategoryDefinitionResponse { CostCategory?: CostCategory; } - export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE"|string; + export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE"|"INVOICING_ENTITY"|string; export interface DimensionValues { /** * The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones. @@ -1125,7 +1125,7 @@ declare namespace CostExplorer { */ Granularity: Granularity; /** - * Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression. + * Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression. Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT, and CASE_SENSITIVE. The default values are EQUALS and CASE_SENSITIVE. Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE. */ Filter?: Expression; /** @@ -1133,7 +1133,7 @@ declare namespace CostExplorer { */ Metrics: MetricNames; /** - * You can group Amazon Web Services costs using up to two different groups, either dimensions, tag keys, cost categories, or any two group by types. Valid values for the DIMENSION type are AZ, INSTANCE_TYPE, LEGAL_ENTITY_NAME, LINKED_ACCOUNT, OPERATION, PLATFORM, PURCHASE_TYPE, SERVICE, TENANCY, RECORD_TYPE, and USAGE_TYPE. When you group by the TAG type and include a valid tag key, you get all tag values, including empty strings. + * You can group Amazon Web Services costs using up to two different groups, either dimensions, tag keys, cost categories, or any two group by types. Valid values for the DIMENSION type are AZ, INSTANCE_TYPE, LEGAL_ENTITY_NAME, INVOICING_ENTITY, LINKED_ACCOUNT, OPERATION, PLATFORM, PURCHASE_TYPE, SERVICE, TENANCY, RECORD_TYPE, and USAGE_TYPE. When you group by the TAG type and include a valid tag key, you get all tag values, including empty strings. */ GroupBy?: GroupDefinitions; /** @@ -1169,7 +1169,7 @@ declare namespace CostExplorer { */ Granularity: Granularity; /** - * Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression. The GetCostAndUsageWithResources operation requires that you either group by or filter by a ResourceId. It requires the Expression "SERVICE = Amazon Elastic Compute Cloud - Compute" in the filter. + * Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression. The GetCostAndUsageWithResources operation requires that you either group by or filter by a ResourceId. It requires the Expression "SERVICE = Amazon Elastic Compute Cloud - Compute" in the filter. Valid values for MatchOptions for CostCategories and Tags are EQUALS, ABSENT, and CASE_SENSITIVE. The default values are EQUALS and CASE_SENSITIVE. Valid values for MatchOptions for Dimensions are EQUALS and CASE_SENSITIVE. */ Filter: Expression; /** @@ -1292,7 +1292,7 @@ declare namespace CostExplorer { */ Dimension: Dimension; /** - * The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. The default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values can be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, the resulting dimension values can be used in the GetCostAndUsage operation. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The Amazon Web Services service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. REGION - The Amazon Web Services Region. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The Amazon Web Services Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The Amazon Web Services Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan + * The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. The default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values can be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, the resulting dimension values can be used in the GetCostAndUsage operation. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following: - Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services services. - AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that is an acting reseller for Amazon Web Services services in India. - Amazon Web Services Marketplace: The entity that supports the sale of solutions built on Amazon Web Services by third-party software providers. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases. Examples are Compute Optimized (C4, C5, C6g, C7g etc.), Memory Optimization (R4, R5n, R5b, R6g etc). INVOICING_ENTITY - The name of the entity issuing the Amazon Web Services invoice. LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans. SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute). SERVICE - The Amazon Web Services service such as Amazon DynamoDB. TENANCY - The tenancy of a resource. Examples are shared or dedicated. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. REGION - The Amazon Web Services Region. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The Amazon Web Services Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The Amazon Web Services Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans. */ Context?: Context; Filter?: Expression; @@ -1333,7 +1333,7 @@ declare namespace CostExplorer { */ TimePeriod: DateInterval; /** - * You can group the data by the following attributes: AZ CACHE_ENGINE DATABASE_ENGINE DEPLOYMENT_OPTION INSTANCE_TYPE LINKED_ACCOUNT OPERATING_SYSTEM PLATFORM REGION TENANCY + * You can group the data by the following attributes: AZ CACHE_ENGINE DATABASE_ENGINE DEPLOYMENT_OPTION INSTANCE_TYPE INVOICING_ENTITY LINKED_ACCOUNT OPERATING_SYSTEM PLATFORM REGION TENANCY */ GroupBy?: GroupDefinitions; /** @@ -1804,7 +1804,7 @@ declare namespace CostExplorer { */ ElastiCacheInstanceDetails?: ElastiCacheInstanceDetails; /** - * The Amazon ES instances that Amazon Web Services recommends that you purchase. + * The Amazon OpenSearch Service instances that Amazon Web Services recommends that you purchase. */ ESInstanceDetails?: ESInstanceDetails; } diff --git a/node_modules/aws-sdk/clients/databrew.d.ts b/node_modules/aws-sdk/clients/databrew.d.ts index d029f1e12..762e99ba2 100644 --- a/node_modules/aws-sdk/clients/databrew.d.ts +++ b/node_modules/aws-sdk/clients/databrew.d.ts @@ -399,6 +399,7 @@ declare namespace DataBrew { Errors?: RecipeErrorList; } export type Bucket = string; + export type BucketOwner = string; export type CatalogId = string; export type ClientSessionId = string; export type ColumnName = string; @@ -2216,7 +2217,7 @@ declare namespace DataBrew { */ Disabled?: Disabled; /** - * The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example, (:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2). Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example, is_between :val1 and :val2. + * The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example, (:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2). Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example, is_between :val1 and :val2. For more information, see Available checks */ CheckExpression: Expression; /** @@ -2293,6 +2294,10 @@ declare namespace DataBrew { * The unique name of the object in the bucket. */ Key?: Key; + /** + * The Amazon Web Services account ID of the bucket owner. + */ + BucketOwner?: BucketOwner; } export interface S3TableOutputOptions { /** diff --git a/node_modules/aws-sdk/clients/dynamodb.d.ts b/node_modules/aws-sdk/clients/dynamodb.d.ts index 71f733e9a..f1e0cff79 100644 --- a/node_modules/aws-sdk/clients/dynamodb.d.ts +++ b/node_modules/aws-sdk/clients/dynamodb.d.ts @@ -31,11 +31,11 @@ declare class DynamoDB extends DynamoDBCustomizations { */ batchGetItem(callback?: (err: AWSError, data: DynamoDB.Types.BatchGetItemOutput) => void): Request; /** - * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can write up to 16 MB of data, which can comprise as many as 25 put or delete requests. Individual items to be written can be as large as 400 KB. BatchWriteItem cannot update items. To update items, use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. Your request contains at least two items with identical hash and range keys (which essentially is two put operations). There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB. + * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types. BatchWriteItem cannot update items. To update items, use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. Your request contains at least two items with identical hash and range keys (which essentially is two put operations). There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB. */ batchWriteItem(params: DynamoDB.Types.BatchWriteItemInput, callback?: (err: AWSError, data: DynamoDB.Types.BatchWriteItemOutput) => void): Request; /** - * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can write up to 16 MB of data, which can comprise as many as 25 put or delete requests. Individual items to be written can be as large as 400 KB. BatchWriteItem cannot update items. To update items, use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. Your request contains at least two items with identical hash and range keys (which essentially is two put operations). There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB. + * The BatchWriteItem operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types. BatchWriteItem cannot update items. To update items, use the UpdateItem action. The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed. If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem returns a ProvisionedThroughputExceededException. If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed. For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide. With BatchWriteItem, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem does not behave in the same way as individual PutItem and DeleteItem calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem does not return deleted items in the response. If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application. Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit. If one or more of the following is true, DynamoDB rejects the entire batch write operation: One or more tables specified in the BatchWriteItem request does not exist. Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema. You try to perform multiple operations on the same item in the same BatchWriteItem request. For example, you cannot put and delete the same item in the same BatchWriteItem request. Your request contains at least two items with identical hash and range keys (which essentially is two put operations). There are more than 25 requests in the batch. Any individual item in a batch exceeds 400 KB. The total request size exceeds 16 MB. */ batchWriteItem(callback?: (err: AWSError, data: DynamoDB.Types.BatchWriteItemOutput) => void): Request; /** @@ -359,11 +359,11 @@ declare class DynamoDB extends DynamoDBCustomizations { */ updateContinuousBackups(callback?: (err: AWSError, data: DynamoDB.Types.UpdateContinuousBackupsOutput) => void): Request; /** - * Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of AWS Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an AWS managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table. + * Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an Amazon Web Services managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table. */ updateContributorInsights(params: DynamoDB.Types.UpdateContributorInsightsInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateContributorInsightsOutput) => void): Request; /** - * Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of AWS Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an AWS managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table. + * Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an Amazon Web Services managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table. */ updateContributorInsights(callback?: (err: AWSError, data: DynamoDB.Types.UpdateContributorInsightsOutput) => void): Request; /** @@ -2191,7 +2191,7 @@ declare namespace DynamoDB { export type PartiQLStatement = string; export interface PointInTimeRecoveryDescription { /** - * The current state of point in time recovery: ENABLING - Point in time recovery is being enabled. ENABLED - Point in time recovery is enabled. DISABLED - Point in time recovery is disabled. + * The current state of point in time recovery: ENABLED - Point in time recovery is enabled. DISABLED - Point in time recovery is disabled. */ PointInTimeRecoveryStatus?: PointInTimeRecoveryStatus; /** diff --git a/node_modules/aws-sdk/clients/ebs.d.ts b/node_modules/aws-sdk/clients/ebs.d.ts index 1f3455d55..0a126a395 100644 --- a/node_modules/aws-sdk/clients/ebs.d.ts +++ b/node_modules/aws-sdk/clients/ebs.d.ts @@ -171,15 +171,15 @@ declare namespace EBS { */ SecondSnapshotId: SnapshotId; /** - * The token to request the next page of results. + * The token to request the next page of results. If you specify NextToken, then StartingBlockIndex is ignored. */ NextToken?: PageToken; /** - * The number of results to return. + * The maximum number of blocks to be returned by the request. Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks. To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is null when there are no more blocks to return. */ MaxResults?: MaxResults; /** - * The block index from which the comparison should start. The list in the response will start from this block index or the next valid block index in the snapshots. + * The block index from which the comparison should start. The list in the response will start from this block index or the next valid block index in the snapshots. If you specify NextToken, then StartingBlockIndex is ignored. */ StartingBlockIndex?: BlockIndex; } @@ -211,15 +211,15 @@ declare namespace EBS { */ SnapshotId: SnapshotId; /** - * The token to request the next page of results. + * The token to request the next page of results. If you specify NextToken, then StartingBlockIndex is ignored. */ NextToken?: PageToken; /** - * The number of results to return. + * The maximum number of blocks to be returned by the request. Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks. To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is null when there are no more blocks to return. */ MaxResults?: MaxResults; /** - * The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot. + * The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot. If you specify NextToken, then StartingBlockIndex is ignored. */ StartingBlockIndex?: BlockIndex; } diff --git a/node_modules/aws-sdk/clients/ec2.d.ts b/node_modules/aws-sdk/clients/ec2.d.ts index 5d310938f..cb4abd34b 100644 --- a/node_modules/aws-sdk/clients/ec2.d.ts +++ b/node_modules/aws-sdk/clients/ec2.d.ts @@ -469,11 +469,11 @@ declare class EC2 extends Service { */ createEgressOnlyInternetGateway(callback?: (err: AWSError, data: EC2.Types.CreateEgressOnlyInternetGatewayResult) => void): Request; /** - * Launches an EC2 Fleet. You can create a single EC2 Fleet that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet. For more information, see Launching an EC2 Fleet in the Amazon EC2 User Guide. + * Launches an EC2 Fleet. You can create a single EC2 Fleet that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet. For more information, see EC2 Fleet in the Amazon EC2 User Guide. */ createFleet(params: EC2.Types.CreateFleetRequest, callback?: (err: AWSError, data: EC2.Types.CreateFleetResult) => void): Request; /** - * Launches an EC2 Fleet. You can create a single EC2 Fleet that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet. For more information, see Launching an EC2 Fleet in the Amazon EC2 User Guide. + * Launches an EC2 Fleet. You can create a single EC2 Fleet that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet. For more information, see EC2 Fleet in the Amazon EC2 User Guide. */ createFleet(callback?: (err: AWSError, data: EC2.Types.CreateFleetResult) => void): Request; /** @@ -493,11 +493,11 @@ declare class EC2 extends Service { */ createFpgaImage(callback?: (err: AWSError, data: EC2.Types.CreateFpgaImageResult) => void): Request; /** - * Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped. If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes. For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide. + * Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped. By default, Amazon EC2 shuts down and reboots the instance before creating the AMI to ensure that everything on the instance is stopped and in a consistent state during the creation process. If you're confident that your instance is in a consistent state appropriate for AMI creation, use the NoReboot parameter to prevent Amazon EC2 from shutting down and rebooting the instance. If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes. For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide. */ createImage(params: EC2.Types.CreateImageRequest, callback?: (err: AWSError, data: EC2.Types.CreateImageResult) => void): Request; /** - * Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped. If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes. For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide. + * Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped. By default, Amazon EC2 shuts down and reboots the instance before creating the AMI to ensure that everything on the instance is stopped and in a consistent state during the creation process. If you're confident that your instance is in a consistent state appropriate for AMI creation, use the NoReboot parameter to prevent Amazon EC2 from shutting down and rebooting the instance. If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes. For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide. */ createImage(callback?: (err: AWSError, data: EC2.Types.CreateImageResult) => void): Request; /** @@ -997,11 +997,11 @@ declare class EC2 extends Service { */ deleteEgressOnlyInternetGateway(callback?: (err: AWSError, data: EC2.Types.DeleteEgressOnlyInternetGatewayResult) => void): Request; /** - * Deletes the specified EC2 Fleet. After you delete an EC2 Fleet, it launches no new instances. You must specify whether a deleted EC2 Fleet should also terminate its instances. If you choose to terminate the instances, the EC2 Fleet enters the deleted_terminating state. Otherwise, the EC2 Fleet enters the deleted_running state, and the instances continue to run until they are interrupted or you terminate them manually. For instant fleets, EC2 Fleet must terminate the instances when the fleet is deleted. A deleted instant fleet with running instances is not supported. Restrictions You can delete up to 25 instant fleets in a single request. If you exceed this number, no instant fleets are deleted and an error is returned. There is no restriction on the number of fleets of type maintain or request that can be deleted in a single request. Up to 1000 instances can be terminated in a single request to delete instant fleets. For more information, see Deleting an EC2 Fleet in the Amazon EC2 User Guide. + * Deletes the specified EC2 Fleet. After you delete an EC2 Fleet, it launches no new instances. You must specify whether a deleted EC2 Fleet should also terminate its instances. If you choose to terminate the instances, the EC2 Fleet enters the deleted_terminating state. Otherwise, the EC2 Fleet enters the deleted_running state, and the instances continue to run until they are interrupted or you terminate them manually. For instant fleets, EC2 Fleet must terminate the instances when the fleet is deleted. A deleted instant fleet with running instances is not supported. Restrictions You can delete up to 25 instant fleets in a single request. If you exceed this number, no instant fleets are deleted and an error is returned. There is no restriction on the number of fleets of type maintain or request that can be deleted in a single request. Up to 1000 instances can be terminated in a single request to delete instant fleets. For more information, see Delete an EC2 Fleet in the Amazon EC2 User Guide. */ deleteFleets(params: EC2.Types.DeleteFleetsRequest, callback?: (err: AWSError, data: EC2.Types.DeleteFleetsResult) => void): Request; /** - * Deletes the specified EC2 Fleet. After you delete an EC2 Fleet, it launches no new instances. You must specify whether a deleted EC2 Fleet should also terminate its instances. If you choose to terminate the instances, the EC2 Fleet enters the deleted_terminating state. Otherwise, the EC2 Fleet enters the deleted_running state, and the instances continue to run until they are interrupted or you terminate them manually. For instant fleets, EC2 Fleet must terminate the instances when the fleet is deleted. A deleted instant fleet with running instances is not supported. Restrictions You can delete up to 25 instant fleets in a single request. If you exceed this number, no instant fleets are deleted and an error is returned. There is no restriction on the number of fleets of type maintain or request that can be deleted in a single request. Up to 1000 instances can be terminated in a single request to delete instant fleets. For more information, see Deleting an EC2 Fleet in the Amazon EC2 User Guide. + * Deletes the specified EC2 Fleet. After you delete an EC2 Fleet, it launches no new instances. You must specify whether a deleted EC2 Fleet should also terminate its instances. If you choose to terminate the instances, the EC2 Fleet enters the deleted_terminating state. Otherwise, the EC2 Fleet enters the deleted_running state, and the instances continue to run until they are interrupted or you terminate them manually. For instant fleets, EC2 Fleet must terminate the instances when the fleet is deleted. A deleted instant fleet with running instances is not supported. Restrictions You can delete up to 25 instant fleets in a single request. If you exceed this number, no instant fleets are deleted and an error is returned. There is no restriction on the number of fleets of type maintain or request that can be deleted in a single request. Up to 1000 instances can be terminated in a single request to delete instant fleets. For more information, see Delete an EC2 Fleet in the Amazon EC2 User Guide. */ deleteFleets(callback?: (err: AWSError, data: EC2.Types.DeleteFleetsResult) => void): Request; /** @@ -1469,19 +1469,19 @@ declare class EC2 extends Service { */ deprovisionPublicIpv4PoolCidr(callback?: (err: AWSError, data: EC2.Types.DeprovisionPublicIpv4PoolCidrResult) => void): Request; /** - * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances; however, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them. When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI. + * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances. If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained in the Recycle Bin for the specified retention period. For more information, see Recycle Bin in the Amazon Elastic Compute Cloud User Guide. When you deregister an AMI, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them. When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI. */ deregisterImage(params: EC2.Types.DeregisterImageRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances; however, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them. When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI. + * Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances. If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained in the Recycle Bin for the specified retention period. For more information, see Recycle Bin in the Amazon Elastic Compute Cloud User Guide. When you deregister an AMI, it doesn't affect any instances that you've already launched from the AMI. You'll continue to incur usage costs for those instances until you terminate them. When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created for the root volume of the instance during the AMI creation process. When you deregister an instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you created the AMI. */ deregisterImage(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * c Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region. + * Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region. */ deregisterInstanceEventNotificationAttributes(params: EC2.Types.DeregisterInstanceEventNotificationAttributesRequest, callback?: (err: AWSError, data: EC2.Types.DeregisterInstanceEventNotificationAttributesResult) => void): Request; /** - * c Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region. + * Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region. */ deregisterInstanceEventNotificationAttributes(callback?: (err: AWSError, data: EC2.Types.DeregisterInstanceEventNotificationAttributesResult) => void): Request; /** @@ -1501,11 +1501,11 @@ declare class EC2 extends Service { */ deregisterTransitGatewayMulticastGroupSources(callback?: (err: AWSError, data: EC2.Types.DeregisterTransitGatewayMulticastGroupSourcesResult) => void): Request; /** - * Describes attributes of your AWS account. The following are the supported account attributes: supported-platforms: Indicates whether your account can launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC. default-vpc: The ID of the default VPC for your account, or none. max-instances: This attribute is no longer supported. The returned value does not reflect your actual vCPU limit for running On-Demand Instances. For more information, see On-Demand Instance Limits in the Amazon Elastic Compute Cloud User Guide. vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface. max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-Classic. vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-VPC. + * Describes attributes of your Amazon Web Services account. The following are the supported account attributes: supported-platforms: Indicates whether your account can launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC. default-vpc: The ID of the default VPC for your account, or none. max-instances: This attribute is no longer supported. The returned value does not reflect your actual vCPU limit for running On-Demand Instances. For more information, see On-Demand Instance Limits in the Amazon Elastic Compute Cloud User Guide. vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface. max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-Classic. vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-VPC. */ describeAccountAttributes(params: EC2.Types.DescribeAccountAttributesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeAccountAttributesResult) => void): Request; /** - * Describes attributes of your AWS account. The following are the supported account attributes: supported-platforms: Indicates whether your account can launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC. default-vpc: The ID of the default VPC for your account, or none. max-instances: This attribute is no longer supported. The returned value does not reflect your actual vCPU limit for running On-Demand Instances. For more information, see On-Demand Instance Limits in the Amazon Elastic Compute Cloud User Guide. vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface. max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-Classic. vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-VPC. + * Describes attributes of your Amazon Web Services account. The following are the supported account attributes: supported-platforms: Indicates whether your account can launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC. default-vpc: The ID of the default VPC for your account, or none. max-instances: This attribute is no longer supported. The returned value does not reflect your actual vCPU limit for running On-Demand Instances. For more information, see On-Demand Instance Limits in the Amazon Elastic Compute Cloud User Guide. vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface. max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-Classic. vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-VPC. */ describeAccountAttributes(callback?: (err: AWSError, data: EC2.Types.DescribeAccountAttributesResult) => void): Request; /** @@ -1692,6 +1692,14 @@ declare class EC2 extends Service { * Describes the specified export instance tasks or all of your export instance tasks. */ describeExportTasks(callback?: (err: AWSError, data: EC2.Types.DescribeExportTasksResult) => void): Request; + /** + * Describe details for Windows AMIs that are configured for faster launching. + */ + describeFastLaunchImages(params: EC2.Types.DescribeFastLaunchImagesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeFastLaunchImagesResult) => void): Request; + /** + * Describe details for Windows AMIs that are configured for faster launching. + */ + describeFastLaunchImages(callback?: (err: AWSError, data: EC2.Types.DescribeFastLaunchImagesResult) => void): Request; /** * Describes the state of fast snapshot restores for your snapshots. */ @@ -1709,19 +1717,19 @@ declare class EC2 extends Service { */ describeFleetHistory(callback?: (err: AWSError, data: EC2.Types.DescribeFleetHistoryResult) => void): Request; /** - * Describes the running instances for the specified EC2 Fleet. For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide. + * Describes the running instances for the specified EC2 Fleet. For more information, see Monitor your EC2 Fleet in the Amazon EC2 User Guide. */ describeFleetInstances(params: EC2.Types.DescribeFleetInstancesRequest, callback?: (err: AWSError, data: EC2.Types.DescribeFleetInstancesResult) => void): Request; /** - * Describes the running instances for the specified EC2 Fleet. For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide. + * Describes the running instances for the specified EC2 Fleet. For more information, see Monitor your EC2 Fleet in the Amazon EC2 User Guide. */ describeFleetInstances(callback?: (err: AWSError, data: EC2.Types.DescribeFleetInstancesResult) => void): Request; /** - * Describes the specified EC2 Fleets or all of your EC2 Fleets. For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide. + * Describes the specified EC2 Fleets or all of your EC2 Fleets. For more information, see Monitor your EC2 Fleet in the Amazon EC2 User Guide. */ describeFleets(params: EC2.Types.DescribeFleetsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeFleetsResult) => void): Request; /** - * Describes the specified EC2 Fleets or all of your EC2 Fleets. For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide. + * Describes the specified EC2 Fleets or all of your EC2 Fleets. For more information, see Monitor your EC2 Fleet in the Amazon EC2 User Guide. */ describeFleets(callback?: (err: AWSError, data: EC2.Types.DescribeFleetsResult) => void): Request; /** @@ -2293,11 +2301,11 @@ declare class EC2 extends Service { */ describeSpotPriceHistory(callback?: (err: AWSError, data: EC2.Types.DescribeSpotPriceHistoryResult) => void): Request; /** - * [VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in a peer VPC, or a security group in a peer VPC for which the VPC peering connection has been deleted. + * [VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in the same VPC or in a peer VPC, or if they reference a security group in a peer VPC for which the VPC peering connection has been deleted. */ describeStaleSecurityGroups(params: EC2.Types.DescribeStaleSecurityGroupsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeStaleSecurityGroupsResult) => void): Request; /** - * [VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in a peer VPC, or a security group in a peer VPC for which the VPC peering connection has been deleted. + * [VPC only] Describes the stale security group rules for security groups in a specified VPC. Rules are stale when they reference a deleted security group in the same VPC or in a peer VPC, or if they reference a security group in a peer VPC for which the VPC peering connection has been deleted. */ describeStaleSecurityGroups(callback?: (err: AWSError, data: EC2.Types.DescribeStaleSecurityGroupsResult) => void): Request; /** @@ -2604,6 +2612,14 @@ declare class EC2 extends Service { * Disables EBS encryption by default for your account in the current Region. After you disable encryption by default, you can still create encrypted volumes by enabling encryption when you create each volume. Disabling encryption by default does not change the encryption status of your existing volumes. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide. */ disableEbsEncryptionByDefault(callback?: (err: AWSError, data: EC2.Types.DisableEbsEncryptionByDefaultResult) => void): Request; + /** + * Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned snapshots. When you disable faster launching, the AMI uses the standard launch process for each instance. All pre-provisioned snapshots must be removed before you can enable faster launching again. To change these settings, you must own the AMI. + */ + disableFastLaunch(params: EC2.Types.DisableFastLaunchRequest, callback?: (err: AWSError, data: EC2.Types.DisableFastLaunchResult) => void): Request; + /** + * Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned snapshots. When you disable faster launching, the AMI uses the standard launch process for each instance. All pre-provisioned snapshots must be removed before you can enable faster launching again. To change these settings, you must own the AMI. + */ + disableFastLaunch(callback?: (err: AWSError, data: EC2.Types.DisableFastLaunchResult) => void): Request; /** * Disables fast snapshot restores for the specified snapshots in the specified Availability Zones. */ @@ -2764,6 +2780,14 @@ declare class EC2 extends Service { * Enables EBS encryption by default for your account in the current Region. After you enable encryption by default, the EBS volumes that you create are always encrypted, either using the default KMS key or the KMS key that you specified when you created each volume. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide. You can specify the default KMS key for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId. Enabling encryption by default has no effect on the encryption status of your existing volumes. After you enable encryption by default, you can no longer launch instances using instance types that do not support encryption. For more information, see Supported instance types. */ enableEbsEncryptionByDefault(callback?: (err: AWSError, data: EC2.Types.EnableEbsEncryptionByDefaultResult) => void): Request; + /** + * When you enable faster launching for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency. To change these settings, you must own the AMI. + */ + enableFastLaunch(params: EC2.Types.EnableFastLaunchRequest, callback?: (err: AWSError, data: EC2.Types.EnableFastLaunchResult) => void): Request; + /** + * When you enable faster launching for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency. To change these settings, you must own the AMI. + */ + enableFastLaunch(callback?: (err: AWSError, data: EC2.Types.EnableFastLaunchResult) => void): Request; /** * Enables fast snapshot restores for the specified snapshots in the specified Availability Zones. You get the full benefit of fast snapshot restores after they enter the enabled state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable fast snapshot restores, use DisableFastSnapshotRestores. For more information, see Amazon EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide. */ @@ -3188,6 +3212,14 @@ declare class EC2 extends Service { * Creates an import volume task using metadata from the specified disk image. This API action supports only single-volume VMs. To import multi-volume VMs, use ImportImage instead. To import a disk to a snapshot, use ImportSnapshot instead. This API action is not supported by the Command Line Interface (CLI). For information about using the Amazon EC2 CLI, which is deprecated, see Importing Disks to Amazon EBS in the Amazon EC2 CLI Reference PDF file. For information about the import manifest referenced by this API action, see VM Import Manifest. */ importVolume(callback?: (err: AWSError, data: EC2.Types.ImportVolumeResult) => void): Request; + /** + * Lists one or more AMIs that are currently in the Recycle Bin. For more information, see Recycle Bin in the Amazon Elastic Compute Cloud User Guide. + */ + listImagesInRecycleBin(params: EC2.Types.ListImagesInRecycleBinRequest, callback?: (err: AWSError, data: EC2.Types.ListImagesInRecycleBinResult) => void): Request; + /** + * Lists one or more AMIs that are currently in the Recycle Bin. For more information, see Recycle Bin in the Amazon Elastic Compute Cloud User Guide. + */ + listImagesInRecycleBin(callback?: (err: AWSError, data: EC2.Types.ListImagesInRecycleBinResult) => void): Request; /** * Lists one or more snapshots that are currently in the Recycle Bin. */ @@ -3629,11 +3661,11 @@ declare class EC2 extends Service { */ modifyVpnTunnelOptions(callback?: (err: AWSError, data: EC2.Types.ModifyVpnTunnelOptionsResult) => void): Request; /** - * Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see Monitor your instances using CloudWatch in the Amazon EC2 User Guide. To disable detailed monitoring, see . + * Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see Monitor your instances using CloudWatch in the Amazon EC2 User Guide. To disable detailed monitoring, see UnmonitorInstances. */ monitorInstances(params: EC2.Types.MonitorInstancesRequest, callback?: (err: AWSError, data: EC2.Types.MonitorInstancesResult) => void): Request; /** - * Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see Monitor your instances using CloudWatch in the Amazon EC2 User Guide. To disable detailed monitoring, see . + * Enables detailed monitoring for a running instance. Otherwise, basic monitoring is enabled. For more information, see Monitor your instances using CloudWatch in the Amazon EC2 User Guide. To disable detailed monitoring, see UnmonitorInstances. */ monitorInstances(callback?: (err: AWSError, data: EC2.Types.MonitorInstancesResult) => void): Request; /** @@ -3717,11 +3749,11 @@ declare class EC2 extends Service { */ registerImage(callback?: (err: AWSError, data: EC2.Types.RegisterImageResult) => void): Request; /** - * Registers a set of tag keys to include in scheduled event notifications for your resources. To remove tags, use . + * Registers a set of tag keys to include in scheduled event notifications for your resources. To remove tags, use DeregisterInstanceEventNotificationAttributes. */ registerInstanceEventNotificationAttributes(params: EC2.Types.RegisterInstanceEventNotificationAttributesRequest, callback?: (err: AWSError, data: EC2.Types.RegisterInstanceEventNotificationAttributesResult) => void): Request; /** - * Registers a set of tag keys to include in scheduled event notifications for your resources. To remove tags, use . + * Registers a set of tag keys to include in scheduled event notifications for your resources. To remove tags, use DeregisterInstanceEventNotificationAttributes. */ registerInstanceEventNotificationAttributes(callback?: (err: AWSError, data: EC2.Types.RegisterInstanceEventNotificationAttributesResult) => void): Request; /** @@ -3940,6 +3972,14 @@ declare class EC2 extends Service { * Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface. */ restoreAddressToClassic(callback?: (err: AWSError, data: EC2.Types.RestoreAddressToClassicResult) => void): Request; + /** + * Restores an AMI from the Recycle Bin. For more information, see Recycle Bin in the Amazon Elastic Compute Cloud User Guide. + */ + restoreImageFromRecycleBin(params: EC2.Types.RestoreImageFromRecycleBinRequest, callback?: (err: AWSError, data: EC2.Types.RestoreImageFromRecycleBinResult) => void): Request; + /** + * Restores an AMI from the Recycle Bin. For more information, see Recycle Bin in the Amazon Elastic Compute Cloud User Guide. + */ + restoreImageFromRecycleBin(callback?: (err: AWSError, data: EC2.Types.RestoreImageFromRecycleBinResult) => void): Request; /** * Restores the entries from a previous version of a managed prefix list to a new version of the prefix list. */ @@ -5897,7 +5937,7 @@ declare namespace EC2 { export type AutoRecoveryFlag = boolean; export interface AvailabilityZone { /** - * The state of the Availability Zone, Local Zone, or Wavelength Zone. + * The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available. */ State?: AvailabilityZoneState; /** @@ -6408,6 +6448,10 @@ declare namespace EC2 { * The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs. Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet. */ CapacityReservationFleetId?: String; + /** + * The Amazon Resource Name (ARN) of the cluster placement group in which the Capacity Reservation was created. For more information, see Capacity Reservations for cluster placement groups in the Amazon EC2 User Guide. + */ + PlacementGroupArn?: PlacementGroupArn; } export interface CapacityReservationFleet { /** @@ -6491,7 +6535,7 @@ declare namespace EC2 { export type CapacityReservationGroupSet = CapacityReservationGroup[]; export type CapacityReservationId = string; export type CapacityReservationIdSet = CapacityReservationId[]; - export type CapacityReservationInstancePlatform = "Linux/UNIX"|"Red Hat Enterprise Linux"|"SUSE Linux"|"Windows"|"Windows with SQL Server"|"Windows with SQL Server Enterprise"|"Windows with SQL Server Standard"|"Windows with SQL Server Web"|"Linux with SQL Server Standard"|"Linux with SQL Server Web"|"Linux with SQL Server Enterprise"|string; + export type CapacityReservationInstancePlatform = "Linux/UNIX"|"Red Hat Enterprise Linux"|"SUSE Linux"|"Windows"|"Windows with SQL Server"|"Windows with SQL Server Enterprise"|"Windows with SQL Server Standard"|"Windows with SQL Server Web"|"Linux with SQL Server Standard"|"Linux with SQL Server Web"|"Linux with SQL Server Enterprise"|"RHEL with SQL Server Standard"|"RHEL with SQL Server Enterprise"|"RHEL with SQL Server Web"|"RHEL with HA"|"RHEL with HA and SQL Server Standard"|"RHEL with HA and SQL Server Enterprise"|string; export interface CapacityReservationOptions { /** * Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. If you specify use-capacity-reservations-first, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price or prioritized) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price or prioritized). If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy. @@ -6700,6 +6744,26 @@ declare namespace EC2 { */ UploadStart?: DateTime; } + export interface ClientLoginBannerOptions { + /** + * Enable or disable a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established. Valid values: true | false Default value: false + */ + Enabled?: Boolean; + /** + * Customizable text that will be displayed in a banner on Amazon Web Services provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters. + */ + BannerText?: String; + } + export interface ClientLoginBannerResponseOptions { + /** + * Current state of text banner feature. Valid values: true | false + */ + Enabled?: Boolean; + /** + * Customizable text that will be displayed in a banner on Amazon Web Services provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters. + */ + BannerText?: String; + } export type ClientVpnAssociationId = string; export interface ClientVpnAuthentication { /** @@ -6906,6 +6970,14 @@ declare namespace EC2 { * The options for managing connection authorization for new client connections. */ ClientConnectOptions?: ClientConnectResponseOptions; + /** + * The maximum VPN session duration time in hours. Valid values: 8 | 10 | 12 | 24 Default value: 24 + */ + SessionTimeoutHours?: Integer; + /** + * Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established. + */ + ClientLoginBannerOptions?: ClientLoginBannerResponseOptions; } export interface ClientVpnEndpointAttributeStatus { /** @@ -7440,6 +7512,10 @@ declare namespace EC2 { * The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation. */ OutpostArn?: OutpostArn; + /** + * The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation. For more information, see Capacity Reservations for cluster placement groups in the Amazon EC2 User Guide. + */ + PlacementGroupArn?: PlacementGroupArn; } export interface CreateCapacityReservationResult { /** @@ -7536,6 +7612,14 @@ declare namespace EC2 { * The options for managing connection authorization for new client connections. */ ClientConnectOptions?: ClientConnectOptions; + /** + * The maximum VPN session duration time in hours. Valid values: 8 | 10 | 12 | 24 Default value: 24 + */ + SessionTimeoutHours?: Integer; + /** + * Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established. + */ + ClientLoginBannerOptions?: ClientLoginBannerOptions; } export interface CreateClientVpnEndpointResult { /** @@ -7709,11 +7793,11 @@ declare namespace EC2 { */ Lifecycle?: InstanceLifecycle; /** - * The error code that indicates why the instance could not be launched. For more information about error codes, see Error Codes. + * The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes. */ ErrorCode?: String; /** - * The error message that describes why the instance could not be launched. For more information about error messages, see Error Codes. + * The error message that describes why the instance could not be launched. For more information about error messages, see Error codes. */ ErrorMessage?: String; } @@ -7747,7 +7831,7 @@ declare namespace EC2 { */ DryRun?: Boolean; /** - * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency. + * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency. */ ClientToken?: String; /** @@ -8473,11 +8557,11 @@ declare namespace EC2 { /** * The Amazon Web Services resource that is the source of the path. */ - Source: String; + Source: NetworkInsightsResourceId; /** * The Amazon Web Services resource that is the destination of the path. */ - Destination: String; + Destination: NetworkInsightsResourceId; /** * The protocol. */ @@ -8583,7 +8667,7 @@ declare namespace EC2 { */ Ipv6PrefixCount?: Integer; /** - * Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide. To create a trunk network interface, specify efa. For more information, see Network interface trunking in the Amazon Elastic Compute Cloud User Guide. + * The type of network interface. The default is interface. The only supported values are efa and trunk. */ InterfaceType?: NetworkInterfaceCreationType; /** @@ -11206,7 +11290,7 @@ declare namespace EC2 { } export interface DescribeAvailabilityZonesRequest { /** - * The filters. group-name - For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example, us-west-2-lax-1) For Wavelength Zones, use the name of the group associated with the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1). message - The Zone message. opt-in-status - The opt-in status (opted-in, and not-opted-in | opt-in-not-required). parent-zoneID - The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. parent-zoneName - The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. region-name - The name of the Region for the Zone (for example, us-east-1). state - The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available | information | impaired | unavailable). zone-id - The ID of the Availability Zone (for example, use1-az1), the Local Zone (for example, usw2-lax1-az1), or the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1). zone-type - The type of zone, for example, local-zone. zone-name - The name of the Availability Zone (for example, us-east-1a), the Local Zone (for example, us-west-2-lax-1a), or the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1). zone-type - The type of zone, for example, local-zone. + * The filters. group-name - For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example, us-west-2-lax-1) For Wavelength Zones, use the name of the group associated with the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1). message - The Zone message. opt-in-status - The opt-in status (opted-in, and not-opted-in | opt-in-not-required). parent-zoneID - The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. parent-zoneName - The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. region-name - The name of the Region for the Zone (for example, us-east-1). state - The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available). zone-id - The ID of the Availability Zone (for example, use1-az1), the Local Zone (for example, usw2-lax1-az1), or the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1). zone-type - The type of zone, for example, local-zone. zone-name - The name of the Availability Zone (for example, us-east-1a), the Local Zone (for example, us-west-2-lax-1a), or the Wavelength Zone (for example, us-east-1-wl1-bos-wlz-1). zone-type - The type of zone, for example, local-zone. */ Filters?: FilterList; /** @@ -11325,7 +11409,7 @@ declare namespace EC2 { */ MaxResults?: DescribeCapacityReservationsMaxResults; /** - * One or more filters. instance-type - The type of instance for which the Capacity Reservation reserves capacity. owner-id - The ID of the Amazon Web Services account that owns the Capacity Reservation. availability-zone-id - The Availability Zone ID of the Capacity Reservation. instance-platform - The type of operating system for which the Capacity Reservation reserves capacity. availability-zone - The Availability Zone ID of the Capacity Reservation. tenancy - Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings: default - The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts. dedicated - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account. outpost-arn - The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was created. state - The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states: active- The Capacity Reservation is active and the capacity is available for your use. expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use. cancelled - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use. pending - The Capacity Reservation request was successful but the capacity provisioning is still pending. failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes. start-date - The date and time at which the Capacity Reservation was started. end-date - The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time. end-date-type - Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: unlimited - The Capacity Reservation remains active until you explicitly cancel it. limited - The Capacity Reservation expires automatically at a specified date and time. instance-match-criteria - Indicates the type of instance launches that the Capacity Reservation accepts. The options include: open - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying any additional parameters. targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. + * One or more filters. instance-type - The type of instance for which the Capacity Reservation reserves capacity. owner-id - The ID of the Amazon Web Services account that owns the Capacity Reservation. instance-platform - The type of operating system for which the Capacity Reservation reserves capacity. availability-zone - The Availability Zone of the Capacity Reservation. tenancy - Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings: default - The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts. dedicated - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account. outpost-arn - The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was created. state - The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states: active- The Capacity Reservation is active and the capacity is available for your use. expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use. cancelled - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use. pending - The Capacity Reservation request was successful but the capacity provisioning is still pending. failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes. start-date - The date and time at which the Capacity Reservation was started. end-date - The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time. end-date-type - Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: unlimited - The Capacity Reservation remains active until you explicitly cancel it. limited - The Capacity Reservation expires automatically at a specified date and time. instance-match-criteria - Indicates the type of instance launches that the Capacity Reservation accepts. The options include: open - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying any additional parameters. targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. placement-group-arn - The ARN of the cluster placement group in which the Capacity Reservation was created. */ Filters?: FilterList; /** @@ -11583,7 +11667,7 @@ declare namespace EC2 { */ PoolIds?: CoipPoolIdSet; /** - * The filters. The following are the possible values: coip-pool.pool-id coip-pool.local-gateway-route-table-id + * One or more filters. coip-pool.local-gateway-route-table-id - The ID of the local gateway route table. coip-pool.pool-id - The ID of the address pool. */ Filters?: FilterList; /** @@ -11798,6 +11882,78 @@ declare namespace EC2 { */ ExportTasks?: ExportTaskList; } + export interface DescribeFastLaunchImagesRequest { + /** + * Details for one or more Windows AMI image IDs. + */ + ImageIds?: FastLaunchImageIdList; + /** + * Use the following filters to streamline results. resource-type - The resource type for pre-provisioning. launch-template - The launch template that is associated with the pre-provisioned Windows AMI. owner-id - The owner ID for the pre-provisioning resource. state - The current state of fast launching for the Windows AMI. + */ + Filters?: FilterList; + /** + * The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the returned NextToken value. If this parameter is not specified, then all results are returned. + */ + MaxResults?: DescribeFastLaunchImagesRequestMaxResults; + /** + * The token for the next set of results. + */ + NextToken?: NextToken; + /** + * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. + */ + DryRun?: Boolean; + } + export type DescribeFastLaunchImagesRequestMaxResults = number; + export interface DescribeFastLaunchImagesResult { + /** + * A collection of details about the fast-launch enabled Windows images that meet the requested criteria. + */ + FastLaunchImages?: DescribeFastLaunchImagesSuccessSet; + /** + * The token to use for the next set of results. This value is null when there are no more results to return. + */ + NextToken?: NextToken; + } + export interface DescribeFastLaunchImagesSuccessItem { + /** + * The image ID that identifies the fast-launch enabled Windows image. + */ + ImageId?: ImageId; + /** + * The resource type that is used for pre-provisioning the Windows AMI. Supported values include: snapshot. + */ + ResourceType?: FastLaunchResourceType; + /** + * A group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots. + */ + SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; + /** + * The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances from pre-provisioned snapshots. + */ + LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; + /** + * The maximum number of parallel instances that are launched for creating resources. + */ + MaxParallelLaunches?: Integer; + /** + * The owner ID for the fast-launch enabled Windows AMI. + */ + OwnerId?: String; + /** + * The current state of faster launching for the specified Windows AMI. + */ + State?: FastLaunchStateCode; + /** + * The reason that faster launching for the Windows AMI changed to the current state. + */ + StateTransitionReason?: String; + /** + * The time that faster launching for the Windows AMI changed to the current state. + */ + StateTransitionTime?: MillisecondDateTime; + } + export type DescribeFastLaunchImagesSuccessSet = DescribeFastLaunchImagesSuccessItem[]; export interface DescribeFastSnapshotRestoreSuccessItem { /** * The ID of the snapshot. @@ -11884,11 +12040,11 @@ declare namespace EC2 { */ Lifecycle?: InstanceLifecycle; /** - * The error code that indicates why the instance could not be launched. For more information about error codes, see Error Codes. + * The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes. */ ErrorCode?: String; /** - * The error message that describes why the instance could not be launched. For more information about error messages, see Error Codes. + * The error message that describes why the instance could not be launched. For more information about error messages, see Error codes. */ ErrorMessage?: String; } @@ -12014,7 +12170,7 @@ declare namespace EC2 { */ NextToken?: String; /** - * The ID of the EC2 Fleets. + * The IDs of the EC2 Fleets. If a fleet is of type instant, you must specify the fleet ID, otherwise it does not appear in the response. */ FleetIds?: FleetIdSet; /** @@ -12550,7 +12706,7 @@ declare namespace EC2 { */ InstanceTypes?: RequestInstanceTypeList; /** - * One or more filters. Filter names and values are case-sensitive. auto-recovery-supported - Indicates whether auto recovery is supported (true | false). bare-metal - Indicates whether it is a bare metal instance type (true | false). burstable-performance-supported - Indicates whether it is a burstable performance instance type (true | false). current-generation - Indicates whether this instance type is the latest generation instance type of an instance family (true | false). ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline bandwidth performance for an EBS-optimized instance type, in Mbps. ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage operations per second for an EBS-optimized instance type. ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline throughput performance for an EBS-optimized instance type, in MB/s. ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth performance for an EBS-optimized instance type, in Mbps. ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage operations per second for an EBS-optimized instance type. ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum throughput performance for an EBS-optimized instance type, in MB/s. ebs-info.ebs-optimized-support - Indicates whether the instance type is EBS-optimized (supported | unsupported | default). ebs-info.encryption-support - Indicates whether EBS encryption is supported (supported | unsupported). ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe) is supported for EBS volumes (required | supported | unsupported). free-tier-eligible - Indicates whether the instance type is eligible to use in the free tier (true | false). hibernation-supported - Indicates whether On-Demand hibernation is supported (true | false). hypervisor - The hypervisor (nitro | xen). instance-storage-info.disk.count - The number of local disks. instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in GB. instance-storage-info.disk.type - The storage technology for the local instance storage disks (hdd | ssd). instance-storage-info.encryption-supported - Indicates whether data is encrypted at rest (required | unsupported). instance-storage-info.nvme-support - Indicates whether non-volatile memory express (NVMe) is supported for instance store (required | supported | unsupported). instance-storage-info.total-size-in-gb - The total amount of storage available from all local instance storage, in GB. instance-storage-supported - Indicates whether the instance type has local instance storage (true | false). instance-type - The instance type (for example c5.2xlarge or c5*). memory-info.size-in-mib - The memory size. network-info.efa-info.maximum-efa-interfaces - The maximum number of Elastic Fabric Adapters (EFAs) per instance. network-info.efa-supported - Indicates whether the instance type supports Elastic Fabric Adapter (EFA) (true | false). network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is supported or required (required | supported | unsupported). network-info.encryption-in-transit-supported - Indicates whether the instance type automatically encrypts in-transit traffic between instances (true | false). network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per network interface. network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per network interface. network-info.ipv6-supported - Indicates whether the instance type supports IPv6 (true | false). network-info.maximum-network-interfaces - The maximum number of network interfaces per instance. network-info.network-performance - The network performance (for example, "25 Gigabit"). processor-info.supported-architecture - The CPU architecture (arm64 | i386 | x86_64). processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz. supported-boot-mode - The boot mode (legacy-bios | uefi). supported-root-device-type - The root device type (ebs | instance-store). supported-usage-class - The usage class (on-demand | spot). supported-virtualization-type - The virtualization type (hvm | paravirtual). vcpu-info.default-cores - The default number of cores for the instance type. vcpu-info.default-threads-per-core - The default number of threads per core for the instance type. vcpu-info.default-vcpus - The default number of vCPUs for the instance type. vcpu-info.valid-cores - The number of cores that can be configured for the instance type. vcpu-info.valid-threads-per-core - The number of threads per core that can be configured for the instance type. For example, "1" or "1,2". + * One or more filters. Filter names and values are case-sensitive. auto-recovery-supported - Indicates whether auto recovery is supported (true | false). bare-metal - Indicates whether it is a bare metal instance type (true | false). burstable-performance-supported - Indicates whether it is a burstable performance instance type (true | false). current-generation - Indicates whether this instance type is the latest generation instance type of an instance family (true | false). ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline bandwidth performance for an EBS-optimized instance type, in Mbps. ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage operations per second for an EBS-optimized instance type. ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline throughput performance for an EBS-optimized instance type, in MB/s. ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth performance for an EBS-optimized instance type, in Mbps. ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage operations per second for an EBS-optimized instance type. ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum throughput performance for an EBS-optimized instance type, in MB/s. ebs-info.ebs-optimized-support - Indicates whether the instance type is EBS-optimized (supported | unsupported | default). ebs-info.encryption-support - Indicates whether EBS encryption is supported (supported | unsupported). ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe) is supported for EBS volumes (required | supported | unsupported). free-tier-eligible - Indicates whether the instance type is eligible to use in the free tier (true | false). hibernation-supported - Indicates whether On-Demand hibernation is supported (true | false). hypervisor - The hypervisor (nitro | xen). instance-storage-info.disk.count - The number of local disks. instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in GB. instance-storage-info.disk.type - The storage technology for the local instance storage disks (hdd | ssd). instance-storage-info.encryption-support - Indicates whether data is encrypted at rest (required | supported | unsupported). instance-storage-info.nvme-support - Indicates whether non-volatile memory express (NVMe) is supported for instance store (required | supported | unsupported). instance-storage-info.total-size-in-gb - The total amount of storage available from all local instance storage, in GB. instance-storage-supported - Indicates whether the instance type has local instance storage (true | false). instance-type - The instance type (for example c5.2xlarge or c5*). memory-info.size-in-mib - The memory size. network-info.efa-info.maximum-efa-interfaces - The maximum number of Elastic Fabric Adapters (EFAs) per instance. network-info.efa-supported - Indicates whether the instance type supports Elastic Fabric Adapter (EFA) (true | false). network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is supported or required (required | supported | unsupported). network-info.encryption-in-transit-supported - Indicates whether the instance type automatically encrypts in-transit traffic between instances (true | false). network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per network interface. network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per network interface. network-info.ipv6-supported - Indicates whether the instance type supports IPv6 (true | false). network-info.maximum-network-cards - The maximum number of network cards per instance. network-info.maximum-network-interfaces - The maximum number of network interfaces per instance. network-info.network-performance - The network performance (for example, "25 Gigabit"). processor-info.supported-architecture - The CPU architecture (arm64 | i386 | x86_64). processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz. supported-boot-mode - The boot mode (legacy-bios | uefi). supported-root-device-type - The root device type (ebs | instance-store). supported-usage-class - The usage class (on-demand | spot). supported-virtualization-type - The virtualization type (hvm | paravirtual). vcpu-info.default-cores - The default number of cores for the instance type. vcpu-info.default-threads-per-core - The default number of threads per core for the instance type. vcpu-info.default-vcpus - The default number of vCPUs for the instance type. vcpu-info.valid-cores - The number of cores that can be configured for the instance type. vcpu-info.valid-threads-per-core - The number of threads per core that can be configured for the instance type. For example, "1" or "1,2". */ Filters?: FilterList; /** @@ -12823,7 +12979,7 @@ declare namespace EC2 { */ MaxResults?: Integer; /** - * One or more filters. create-time - The time the launch template version was created. ebs-optimized - A boolean that indicates whether the instance is optimized for Amazon EBS I/O. iam-instance-profile - The ARN of the IAM instance profile. image-id - The ID of the AMI. instance-type - The instance type. is-default-version - A boolean that indicates whether the launch template version is the default version. kernel-id - The kernel ID. ram-disk-id - The RAM disk ID. + * One or more filters. create-time - The time the launch template version was created. ebs-optimized - A boolean that indicates whether the instance is optimized for Amazon EBS I/O. http-endpoint - Indicates whether the HTTP metadata endpoint on your instances is enabled (enabled | disabled). http-protocol-ipv4 - Indicates whether the IPv4 endpoint for the instance metadata service is enabled (enabled | disabled). host-resource-group-arn - The ARN of the host resource group in which to launch the instances. http-tokens - The state of token usage for your instance metadata requests (optional | required). iam-instance-profile - The ARN of the IAM instance profile. image-id - The ID of the AMI. instance-type - The instance type. is-default-version - A boolean that indicates whether the launch template version is the default version. kernel-id - The kernel ID. license-configuration-arn - The ARN of the license configuration. network-card-index - The index of the network card. ram-disk-id - The RAM disk ID. */ Filters?: FilterList; } @@ -12880,7 +13036,7 @@ declare namespace EC2 { */ LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds?: LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet; /** - * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-route-table-id - The ID of the local gateway route table. local-gateway-route-table-virtual-interface-group-association-id - The ID of the association. local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group. state - The state of the association. + * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local gateway route table for the virtual interface group. local-gateway-route-table-id - The ID of the local gateway route table. local-gateway-route-table-virtual-interface-group-association-id - The ID of the association. local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group. owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual interface group association. state - The state of the association. */ Filters?: FilterList; /** @@ -12912,7 +13068,7 @@ declare namespace EC2 { */ LocalGatewayRouteTableVpcAssociationIds?: LocalGatewayRouteTableVpcAssociationIdSet; /** - * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-route-table-id - The ID of the local gateway route table. local-gateway-route-table-vpc-association-id - The ID of the association. state - The state of the association. vpc-id - The ID of the VPC. + * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local gateway route table for the association. local-gateway-route-table-id - The ID of the local gateway route table. local-gateway-route-table-vpc-association-id - The ID of the association. owner-id - The ID of the Amazon Web Services account that owns the local gateway route table for the association. state - The state of the association. vpc-id - The ID of the VPC. */ Filters?: FilterList; /** @@ -12944,7 +13100,7 @@ declare namespace EC2 { */ LocalGatewayRouteTableIds?: LocalGatewayRouteTableIdSet; /** - * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-route-table-id - The ID of a local gateway route table. outpost-arn - The Amazon Resource Name (ARN) of the Outpost. state - The state of the local gateway route table. + * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-route-table-arn - The Amazon Resource Name (ARN) of the local gateway route table. local-gateway-route-table-id - The ID of a local gateway route table. outpost-arn - The Amazon Resource Name (ARN) of the Outpost. owner-id - The ID of the Amazon Web Services account that owns the local gateway route table. state - The state of the local gateway route table. */ Filters?: FilterList; /** @@ -12976,7 +13132,7 @@ declare namespace EC2 { */ LocalGatewayVirtualInterfaceGroupIds?: LocalGatewayVirtualInterfaceGroupIdSet; /** - * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-virtual-interface-id - The ID of the virtual interface. local-gateway-virtual-interface-group-id - The ID of the virtual interface group. + * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-virtual-interface-group-id - The ID of the virtual interface group. local-gateway-virtual-interface-id - The ID of the virtual interface. owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual interface group. */ Filters?: FilterList; /** @@ -13008,7 +13164,7 @@ declare namespace EC2 { */ LocalGatewayVirtualInterfaceIds?: LocalGatewayVirtualInterfaceIdSet; /** - * One or more filters. + * One or more filters. local-address - The local address. local-bgp-asn - The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway. local-gateway-id - The ID of the local gateway. local-gateway-virtual-interface-id - The ID of the virtual interface. local-gateway-virtual-interface-group-id - The ID of the virtual interface group. owner-id - The ID of the Amazon Web Services account that owns the local gateway virtual interface. peer-address - The peer address. peer-bgp-asn - The peer BGP ASN. vlan - The ID of the VLAN. */ Filters?: FilterList; /** @@ -13036,11 +13192,11 @@ declare namespace EC2 { } export interface DescribeLocalGatewaysRequest { /** - * One or more filters. local-gateway-id - The ID of a local gateway. local-gateway-route-table-id - The ID of the local gateway route table. local-gateway-route-table-virtual-interface-group-association-id - The ID of the association. local-gateway-route-table-virtual-interface-group-id - The ID of the virtual interface group. outpost-arn - The Amazon Resource Name (ARN) of the Outpost. state - The state of the association. + * The IDs of the local gateways. */ LocalGatewayIds?: LocalGatewayIdSet; /** - * One or more filters. + * One or more filters. local-gateway-id - The ID of a local gateway. outpost-arn - The Amazon Resource Name (ARN) of the Outpost. owner-id - The ID of the Amazon Web Services account that owns the local gateway. state - The state of the association. */ Filters?: FilterList; /** @@ -13417,7 +13573,7 @@ declare namespace EC2 { export type DescribeNetworkInterfacesMaxResults = number; export interface DescribeNetworkInterfacesRequest { /** - * One or more filters. addresses.private-ip-address - The private IPv4 addresses associated with the network interface. addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface. addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4). addresses.association.owner-id - The owner ID of the addresses associated with the network interface. association.association-id - The association ID returned when the network interface was associated with an IPv4 address. association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface. association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface. association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface. association.public-dns-name - The public DNS name for the network interface (IPv4). attachment.attachment-id - The ID of the interface attachment. attachment.attach-time - The time that the network interface was attached to an instance. attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated. attachment.device-index - The device index to which the network interface is attached. attachment.instance-id - The ID of the instance to which the network interface is attached. attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached. attachment.status - The status of the attachment (attaching | attached | detaching | detached). availability-zone - The Availability Zone of the network interface. description - The description of the network interface. group-id - The ID of a security group associated with the network interface. group-name - The name of a security group associated with the network interface. ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface. mac-address - The MAC address of the network interface. network-interface-id - The ID of the network interface. owner-id - The Amazon Web Services account ID of the network interface owner. private-ip-address - The private IPv4 address or addresses of the network interface. private-dns-name - The private DNS name of the network interface (IPv4). requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface. requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on). source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC. status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use. subnet-id - The ID of the subnet for the network interface. tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. vpc-id - The ID of the VPC for the network interface. + * One or more filters. addresses.private-ip-address - The private IPv4 addresses associated with the network interface. addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface. addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4). addresses.association.owner-id - The owner ID of the addresses associated with the network interface. association.association-id - The association ID returned when the network interface was associated with an IPv4 address. association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface. association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface. association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface. association.public-dns-name - The public DNS name for the network interface (IPv4). attachment.attachment-id - The ID of the interface attachment. attachment.attach-time - The time that the network interface was attached to an instance. attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated. attachment.device-index - The device index to which the network interface is attached. attachment.instance-id - The ID of the instance to which the network interface is attached. attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached. attachment.status - The status of the attachment (attaching | attached | detaching | detached). availability-zone - The Availability Zone of the network interface. description - The description of the network interface. group-id - The ID of a security group associated with the network interface. group-name - The name of a security group associated with the network interface. ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface. interface-type - The type of network interface (api_gateway_managed | aws_codestar_connections_managed | branch | efa | gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | interface | iot_rules_managed | lambda | load_balancer | nat_gateway | network_load_balancer | quicksight | transit_gateway | trunk | vpc_endpoint). mac-address - The MAC address of the network interface. network-interface-id - The ID of the network interface. owner-id - The Amazon Web Services account ID of the network interface owner. private-ip-address - The private IPv4 address or addresses of the network interface. private-dns-name - The private DNS name of the network interface (IPv4). requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface. requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on). source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC. status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use. subnet-id - The ID of the subnet for the network interface. tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. vpc-id - The ID of the VPC for the network interface. */ Filters?: FilterList; /** @@ -13449,7 +13605,7 @@ declare namespace EC2 { } export interface DescribePlacementGroupsRequest { /** - * The filters. group-name - The name of the placement group. state - The state of the placement group (pending | available | deleting | deleted). strategy - The strategy of the placement group (cluster | spread | partition). tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value. + * The filters. group-name - The name of the placement group. group-arn - The Amazon Resource Name (ARN) of the placement group. state - The state of the placement group (pending | available | deleting | deleted). strategy - The strategy of the placement group (cluster | spread | partition). tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value. */ Filters?: FilterList; /** @@ -13992,7 +14148,7 @@ declare namespace EC2 { export type DescribeSnapshotTierStatusMaxResults = number; export interface DescribeSnapshotTierStatusRequest { /** - * The filters. snapshot-id - The snapshot ID. volume-id - The ID of the volume the snapshot is for. last-tiering-operation - The state of the last archive or restore action. (archiving | archival_error | archival_complete | restoring | restore_error | restore_complete) + * The filters. snapshot-id - The snapshot ID. volume-id - The ID of the volume the snapshot is for. last-tiering-operation - The state of the last archive or restore action. (archival-in-progress | archival-completed | archival-failed | permanent-restore-in-progress | permanent-restore-completed | permanent-restore-failed | temporary-restore-in-progress | temporary-restore-completed | temporary-restore-failed) */ Filters?: FilterList; /** @@ -15436,6 +15592,58 @@ declare namespace EC2 { */ EbsEncryptionByDefault?: Boolean; } + export interface DisableFastLaunchRequest { + /** + * The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots. + */ + ImageId: ImageId; + /** + * Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account. + */ + Force?: Boolean; + /** + * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. + */ + DryRun?: Boolean; + } + export interface DisableFastLaunchResult { + /** + * The ID of the image for which faster-launching has been turned off. + */ + ImageId?: ImageId; + /** + * The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include: snapshot. + */ + ResourceType?: FastLaunchResourceType; + /** + * Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process. + */ + SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; + /** + * The launch template that was used to launch Windows instances from pre-provisioned snapshots. + */ + LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; + /** + * The maximum number of parallel instances to launch for creating resources. + */ + MaxParallelLaunches?: Integer; + /** + * The owner of the Windows AMI for which faster launching was turned off. + */ + OwnerId?: String; + /** + * The current state of faster launching for the specified Windows AMI. + */ + State?: FastLaunchStateCode; + /** + * The reason that the state changed for faster launching for the Windows AMI. + */ + StateTransitionReason?: String; + /** + * The time that the state changed for faster launching for the Windows AMI. + */ + StateTransitionTime?: MillisecondDateTime; + } export interface DisableFastSnapshotRestoreErrorItem { /** * The ID of the snapshot. @@ -15985,7 +16193,7 @@ declare namespace EC2 { */ OutpostArn?: String; /** - * Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EC2 User Guide. In no case can you remove encryption from an encrypted volume. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. This parameter is not returned by . + * Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EC2 User Guide. In no case can you remove encryption from an encrypted volume. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. This parameter is not returned by DescribeImageAttribute. */ Encrypted?: Boolean; } @@ -16208,6 +16416,70 @@ declare namespace EC2 { */ EbsEncryptionByDefault?: Boolean; } + export interface EnableFastLaunchRequest { + /** + * The ID of the image for which you’re enabling faster launching. + */ + ImageId: ImageId; + /** + * The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot, which is the default value. + */ + ResourceType?: String; + /** + * Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI for faster launching. The associated ResourceType must be snapshot. + */ + SnapshotConfiguration?: FastLaunchSnapshotConfigurationRequest; + /** + * The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both. + */ + LaunchTemplate?: FastLaunchLaunchTemplateSpecificationRequest; + /** + * The maximum number of parallel instances to launch for creating resources. Value must be 6 or greater. + */ + MaxParallelLaunches?: Integer; + /** + * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. + */ + DryRun?: Boolean; + } + export interface EnableFastLaunchResult { + /** + * The image ID that identifies the Windows AMI for which faster launching was enabled. + */ + ImageId?: ImageId; + /** + * The type of resource that was defined for pre-provisioning the Windows AMI for faster launching. + */ + ResourceType?: FastLaunchResourceType; + /** + * The configuration settings that were defined for creating and managing the pre-provisioned snapshots for faster launching of the Windows AMI. This property is returned when the associated resourceType is snapshot. + */ + SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; + /** + * The launch template that is used when launching Windows instances from pre-provisioned snapshots. + */ + LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; + /** + * The maximum number of parallel instances to launch for creating resources. + */ + MaxParallelLaunches?: Integer; + /** + * The owner ID for the Windows AMI for which faster launching was enabled. + */ + OwnerId?: String; + /** + * The current state of faster launching for the specified Windows AMI. + */ + State?: FastLaunchStateCode; + /** + * The reason that the state changed for faster launching for the Windows AMI. + */ + StateTransitionReason?: String; + /** + * The time that the state changed for faster launching for the Windows AMI. + */ + StateTransitionTime?: MillisecondDateTime; + } export interface EnableFastSnapshotRestoreErrorItem { /** * The ID of the snapshot. @@ -16938,6 +17210,49 @@ declare namespace EC2 { ReservedInstancesId?: String; } export type FailedQueuedPurchaseDeletionSet = FailedQueuedPurchaseDeletion[]; + export type FastLaunchImageIdList = ImageId[]; + export interface FastLaunchLaunchTemplateSpecificationRequest { + /** + * The ID of the launch template to use for faster launching for a Windows AMI. + */ + LaunchTemplateId?: LaunchTemplateId; + /** + * The name of the launch template to use for faster launching for a Windows AMI. + */ + LaunchTemplateName?: String; + /** + * The version of the launch template to use for faster launching for a Windows AMI. + */ + Version: String; + } + export interface FastLaunchLaunchTemplateSpecificationResponse { + /** + * The ID of the launch template for faster launching of the associated Windows AMI. + */ + LaunchTemplateId?: LaunchTemplateId; + /** + * The name of the launch template for faster launching of the associated Windows AMI. + */ + LaunchTemplateName?: String; + /** + * The version of the launch template for faster launching of the associated Windows AMI. + */ + Version?: String; + } + export type FastLaunchResourceType = "snapshot"|string; + export interface FastLaunchSnapshotConfigurationRequest { + /** + * The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI. + */ + TargetResourceCount?: Integer; + } + export interface FastLaunchSnapshotConfigurationResponse { + /** + * The number of pre-provisioned snapshots requested to keep on hand for a fast-launch enabled Windows AMI. + */ + TargetResourceCount?: Integer; + } + export type FastLaunchStateCode = "enabling"|"enabling-failed"|"enabled"|"enabled-failed"|"disabling"|"disabling-failed"|string; export type FastSnapshotRestoreStateCode = "enabling"|"optimizing"|"enabled"|"disabling"|"disabled"|string; export interface FederatedAuthentication { /** @@ -16965,7 +17280,7 @@ declare namespace EC2 { */ Name?: String; /** - * The filter values. Filter values are case-sensitive. + * The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. */ Values?: ValueStringList; } @@ -17039,7 +17354,7 @@ declare namespace EC2 { */ FleetState?: FleetStateCode; /** - * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency. Constraints: Maximum 64 ASCII characters + * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency. Constraints: Maximum 64 ASCII characters */ ClientToken?: String; /** @@ -17241,7 +17556,7 @@ declare namespace EC2 { */ ReplacementStrategy?: FleetReplacementStrategy; /** - * The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance. Valid only when replacementStrategy is set to launch-before-terminate. Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. + * The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance. Required when ReplacementStrategy is set to launch-before-terminate. Not valid when ReplacementStrategy is set to launch. Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. */ TerminationDelay?: Integer; } @@ -17251,7 +17566,7 @@ declare namespace EC2 { */ ReplacementStrategy?: FleetReplacementStrategy; /** - * The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance. Valid only when ReplacementStrategy is set to launch-before-terminate. Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. + * The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance. Required when ReplacementStrategy is set to launch-before-terminate. Not valid when ReplacementStrategy is set to launch. Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. */ TerminationDelay?: Integer; } @@ -17578,7 +17893,7 @@ declare namespace EC2 { */ PoolId: CoipPoolId; /** - * The filters. The following are the possible values: coip-address-usage.allocation-id coip-address-usage.aws-account-id coip-address-usage.aws-service coip-address-usage.co-ip + * One or more filters. coip-address-usage.allocation-id - The allocation ID of the address. coip-address-usage.aws-account-id - The ID of the Amazon Web Services account that is using the customer-owned IP address. coip-address-usage.aws-service - The Amazon Web Services service that is using the customer-owned IP address. coip-address-usage.co-ip - The customer-owned IP address. */ Filters?: FilterList; /** @@ -19058,6 +19373,29 @@ declare namespace EC2 { export type ImageIdList = ImageId[]; export type ImageIdStringList = ImageId[]; export type ImageList = Image[]; + export interface ImageRecycleBinInfo { + /** + * The ID of the AMI. + */ + ImageId?: String; + /** + * The name of the AMI. + */ + Name?: String; + /** + * The description of the AMI. + */ + Description?: String; + /** + * The date and time when the AMI entered the Recycle Bin. + */ + RecycleBinEnterTime?: MillisecondDateTime; + /** + * The date and time when the AMI is to be permanently deleted from the Recycle Bin. + */ + RecycleBinExitTime?: MillisecondDateTime; + } + export type ImageRecycleBinInfoList = ImageRecycleBinInfo[]; export type ImageState = "pending"|"available"|"invalid"|"deregistered"|"transient"|"failed"|"error"|string; export type ImageTypeValues = "machine"|"kernel"|"ramdisk"|string; export interface ImportClientVpnClientCertificateRevocationListRequest { @@ -19096,7 +19434,7 @@ declare namespace EC2 { export type ImportImageLicenseSpecificationListResponse = ImportImageLicenseConfigurationResponse[]; export interface ImportImageRequest { /** - * The architecture of the virtual machine. Valid values: i386 | x86_64 | arm64 + * The architecture of the virtual machine. Valid values: i386 | x86_64 */ Architecture?: String; /** @@ -20173,7 +20511,7 @@ declare namespace EC2 { export type InstanceMetadataEndpointState = "disabled"|"enabled"|string; export interface InstanceMetadataOptionsRequest { /** - * The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional. If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned. If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available. + * The state of token usage for your instance metadata requests. If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned. If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available. Default: optional */ HttpTokens?: HttpTokensState; /** @@ -20181,13 +20519,17 @@ declare namespace EC2 { */ HttpPutResponseHopLimit?: Integer; /** - * Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value of disabled, you will not be able to access your instance metadata. + * Enables or disables the HTTP metadata endpoint on your instances. If you specify a value of disabled, you cannot access your instance metadata. Default: enabled */ HttpEndpoint?: InstanceMetadataEndpointState; /** * Enables or disables the IPv6 endpoint for the instance metadata service. */ HttpProtocolIpv6?: InstanceMetadataProtocolState; + /** + * Set to enabled to allow access to instance tags from the instance metadata. Set to disabled to turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata. Default: disabled + */ + InstanceMetadataTags?: InstanceMetadataTagsState; } export interface InstanceMetadataOptionsResponse { /** @@ -20195,7 +20537,7 @@ declare namespace EC2 { */ State?: InstanceMetadataOptionsState; /** - * The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional. If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned. If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credential always returns the version 2.0 credentials; the version 1.0 credentials are not available. + * The state of token usage for your instance metadata requests. If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned. If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credential always returns the version 2.0 credentials; the version 1.0 credentials are not available. Default: optional */ HttpTokens?: HttpTokensState; /** @@ -20203,16 +20545,21 @@ declare namespace EC2 { */ HttpPutResponseHopLimit?: Integer; /** - * Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled. + * Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled. If the value is disabled, you cannot access your instance metadata. */ HttpEndpoint?: InstanceMetadataEndpointState; /** * Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled. */ HttpProtocolIpv6?: InstanceMetadataProtocolState; + /** + * Indicates whether access to instance tags from the instance metadata is enabled or disabled. For more information, see Work with instance tags using the instance metadata. + */ + InstanceMetadataTags?: InstanceMetadataTagsState; } export type InstanceMetadataOptionsState = "pending"|"applied"|string; export type InstanceMetadataProtocolState = "disabled"|"enabled"|string; + export type InstanceMetadataTagsState = "disabled"|"enabled"|string; export interface InstanceMonitoring { /** * The ID of the instance. @@ -20286,7 +20633,7 @@ declare namespace EC2 { */ VpcId?: String; /** - * Describes the type of network interface. Valid values: interface | efa | trunk + * The type of network interface. Valid values: interface | efa | trunk */ InterfaceType?: String; /** @@ -20401,7 +20748,7 @@ declare namespace EC2 { */ AssociateCarrierIpAddress?: Boolean; /** - * The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide. Valid values: interface | efa + * The type of network interface. Valid values: interface | efa */ InterfaceType?: String; /** @@ -20781,7 +21128,7 @@ declare namespace EC2 { */ IncludeAllTagsOfInstance?: Boolean; } - export type InstanceType = "t1.micro"|"t2.nano"|"t2.micro"|"t2.small"|"t2.medium"|"t2.large"|"t2.xlarge"|"t2.2xlarge"|"t3.nano"|"t3.micro"|"t3.small"|"t3.medium"|"t3.large"|"t3.xlarge"|"t3.2xlarge"|"t3a.nano"|"t3a.micro"|"t3a.small"|"t3a.medium"|"t3a.large"|"t3a.xlarge"|"t3a.2xlarge"|"t4g.nano"|"t4g.micro"|"t4g.small"|"t4g.medium"|"t4g.large"|"t4g.xlarge"|"t4g.2xlarge"|"m1.small"|"m1.medium"|"m1.large"|"m1.xlarge"|"m3.medium"|"m3.large"|"m3.xlarge"|"m3.2xlarge"|"m4.large"|"m4.xlarge"|"m4.2xlarge"|"m4.4xlarge"|"m4.10xlarge"|"m4.16xlarge"|"m2.xlarge"|"m2.2xlarge"|"m2.4xlarge"|"cr1.8xlarge"|"r3.large"|"r3.xlarge"|"r3.2xlarge"|"r3.4xlarge"|"r3.8xlarge"|"r4.large"|"r4.xlarge"|"r4.2xlarge"|"r4.4xlarge"|"r4.8xlarge"|"r4.16xlarge"|"r5.large"|"r5.xlarge"|"r5.2xlarge"|"r5.4xlarge"|"r5.8xlarge"|"r5.12xlarge"|"r5.16xlarge"|"r5.24xlarge"|"r5.metal"|"r5a.large"|"r5a.xlarge"|"r5a.2xlarge"|"r5a.4xlarge"|"r5a.8xlarge"|"r5a.12xlarge"|"r5a.16xlarge"|"r5a.24xlarge"|"r5b.large"|"r5b.xlarge"|"r5b.2xlarge"|"r5b.4xlarge"|"r5b.8xlarge"|"r5b.12xlarge"|"r5b.16xlarge"|"r5b.24xlarge"|"r5b.metal"|"r5d.large"|"r5d.xlarge"|"r5d.2xlarge"|"r5d.4xlarge"|"r5d.8xlarge"|"r5d.12xlarge"|"r5d.16xlarge"|"r5d.24xlarge"|"r5d.metal"|"r5ad.large"|"r5ad.xlarge"|"r5ad.2xlarge"|"r5ad.4xlarge"|"r5ad.8xlarge"|"r5ad.12xlarge"|"r5ad.16xlarge"|"r5ad.24xlarge"|"r6g.metal"|"r6g.medium"|"r6g.large"|"r6g.xlarge"|"r6g.2xlarge"|"r6g.4xlarge"|"r6g.8xlarge"|"r6g.12xlarge"|"r6g.16xlarge"|"r6gd.metal"|"r6gd.medium"|"r6gd.large"|"r6gd.xlarge"|"r6gd.2xlarge"|"r6gd.4xlarge"|"r6gd.8xlarge"|"r6gd.12xlarge"|"r6gd.16xlarge"|"x1.16xlarge"|"x1.32xlarge"|"x1e.xlarge"|"x1e.2xlarge"|"x1e.4xlarge"|"x1e.8xlarge"|"x1e.16xlarge"|"x1e.32xlarge"|"i2.xlarge"|"i2.2xlarge"|"i2.4xlarge"|"i2.8xlarge"|"i3.large"|"i3.xlarge"|"i3.2xlarge"|"i3.4xlarge"|"i3.8xlarge"|"i3.16xlarge"|"i3.metal"|"i3en.large"|"i3en.xlarge"|"i3en.2xlarge"|"i3en.3xlarge"|"i3en.6xlarge"|"i3en.12xlarge"|"i3en.24xlarge"|"i3en.metal"|"hi1.4xlarge"|"hs1.8xlarge"|"c1.medium"|"c1.xlarge"|"c3.large"|"c3.xlarge"|"c3.2xlarge"|"c3.4xlarge"|"c3.8xlarge"|"c4.large"|"c4.xlarge"|"c4.2xlarge"|"c4.4xlarge"|"c4.8xlarge"|"c5.large"|"c5.xlarge"|"c5.2xlarge"|"c5.4xlarge"|"c5.9xlarge"|"c5.12xlarge"|"c5.18xlarge"|"c5.24xlarge"|"c5.metal"|"c5a.large"|"c5a.xlarge"|"c5a.2xlarge"|"c5a.4xlarge"|"c5a.8xlarge"|"c5a.12xlarge"|"c5a.16xlarge"|"c5a.24xlarge"|"c5ad.large"|"c5ad.xlarge"|"c5ad.2xlarge"|"c5ad.4xlarge"|"c5ad.8xlarge"|"c5ad.12xlarge"|"c5ad.16xlarge"|"c5ad.24xlarge"|"c5d.large"|"c5d.xlarge"|"c5d.2xlarge"|"c5d.4xlarge"|"c5d.9xlarge"|"c5d.12xlarge"|"c5d.18xlarge"|"c5d.24xlarge"|"c5d.metal"|"c5n.large"|"c5n.xlarge"|"c5n.2xlarge"|"c5n.4xlarge"|"c5n.9xlarge"|"c5n.18xlarge"|"c5n.metal"|"c6g.metal"|"c6g.medium"|"c6g.large"|"c6g.xlarge"|"c6g.2xlarge"|"c6g.4xlarge"|"c6g.8xlarge"|"c6g.12xlarge"|"c6g.16xlarge"|"c6gd.metal"|"c6gd.medium"|"c6gd.large"|"c6gd.xlarge"|"c6gd.2xlarge"|"c6gd.4xlarge"|"c6gd.8xlarge"|"c6gd.12xlarge"|"c6gd.16xlarge"|"c6gn.medium"|"c6gn.large"|"c6gn.xlarge"|"c6gn.2xlarge"|"c6gn.4xlarge"|"c6gn.8xlarge"|"c6gn.12xlarge"|"c6gn.16xlarge"|"c6i.large"|"c6i.xlarge"|"c6i.2xlarge"|"c6i.4xlarge"|"c6i.8xlarge"|"c6i.12xlarge"|"c6i.16xlarge"|"c6i.24xlarge"|"c6i.32xlarge"|"cc1.4xlarge"|"cc2.8xlarge"|"g2.2xlarge"|"g2.8xlarge"|"g3.4xlarge"|"g3.8xlarge"|"g3.16xlarge"|"g3s.xlarge"|"g4ad.xlarge"|"g4ad.2xlarge"|"g4ad.4xlarge"|"g4ad.8xlarge"|"g4ad.16xlarge"|"g4dn.xlarge"|"g4dn.2xlarge"|"g4dn.4xlarge"|"g4dn.8xlarge"|"g4dn.12xlarge"|"g4dn.16xlarge"|"g4dn.metal"|"cg1.4xlarge"|"p2.xlarge"|"p2.8xlarge"|"p2.16xlarge"|"p3.2xlarge"|"p3.8xlarge"|"p3.16xlarge"|"p3dn.24xlarge"|"p4d.24xlarge"|"d2.xlarge"|"d2.2xlarge"|"d2.4xlarge"|"d2.8xlarge"|"d3.xlarge"|"d3.2xlarge"|"d3.4xlarge"|"d3.8xlarge"|"d3en.xlarge"|"d3en.2xlarge"|"d3en.4xlarge"|"d3en.6xlarge"|"d3en.8xlarge"|"d3en.12xlarge"|"dl1.24xlarge"|"f1.2xlarge"|"f1.4xlarge"|"f1.16xlarge"|"m5.large"|"m5.xlarge"|"m5.2xlarge"|"m5.4xlarge"|"m5.8xlarge"|"m5.12xlarge"|"m5.16xlarge"|"m5.24xlarge"|"m5.metal"|"m5a.large"|"m5a.xlarge"|"m5a.2xlarge"|"m5a.4xlarge"|"m5a.8xlarge"|"m5a.12xlarge"|"m5a.16xlarge"|"m5a.24xlarge"|"m5d.large"|"m5d.xlarge"|"m5d.2xlarge"|"m5d.4xlarge"|"m5d.8xlarge"|"m5d.12xlarge"|"m5d.16xlarge"|"m5d.24xlarge"|"m5d.metal"|"m5ad.large"|"m5ad.xlarge"|"m5ad.2xlarge"|"m5ad.4xlarge"|"m5ad.8xlarge"|"m5ad.12xlarge"|"m5ad.16xlarge"|"m5ad.24xlarge"|"m5zn.large"|"m5zn.xlarge"|"m5zn.2xlarge"|"m5zn.3xlarge"|"m5zn.6xlarge"|"m5zn.12xlarge"|"m5zn.metal"|"h1.2xlarge"|"h1.4xlarge"|"h1.8xlarge"|"h1.16xlarge"|"z1d.large"|"z1d.xlarge"|"z1d.2xlarge"|"z1d.3xlarge"|"z1d.6xlarge"|"z1d.12xlarge"|"z1d.metal"|"u-6tb1.56xlarge"|"u-6tb1.112xlarge"|"u-9tb1.112xlarge"|"u-12tb1.112xlarge"|"u-6tb1.metal"|"u-9tb1.metal"|"u-12tb1.metal"|"u-18tb1.metal"|"u-24tb1.metal"|"a1.medium"|"a1.large"|"a1.xlarge"|"a1.2xlarge"|"a1.4xlarge"|"a1.metal"|"m5dn.large"|"m5dn.xlarge"|"m5dn.2xlarge"|"m5dn.4xlarge"|"m5dn.8xlarge"|"m5dn.12xlarge"|"m5dn.16xlarge"|"m5dn.24xlarge"|"m5dn.metal"|"m5n.large"|"m5n.xlarge"|"m5n.2xlarge"|"m5n.4xlarge"|"m5n.8xlarge"|"m5n.12xlarge"|"m5n.16xlarge"|"m5n.24xlarge"|"m5n.metal"|"r5dn.large"|"r5dn.xlarge"|"r5dn.2xlarge"|"r5dn.4xlarge"|"r5dn.8xlarge"|"r5dn.12xlarge"|"r5dn.16xlarge"|"r5dn.24xlarge"|"r5dn.metal"|"r5n.large"|"r5n.xlarge"|"r5n.2xlarge"|"r5n.4xlarge"|"r5n.8xlarge"|"r5n.12xlarge"|"r5n.16xlarge"|"r5n.24xlarge"|"r5n.metal"|"inf1.xlarge"|"inf1.2xlarge"|"inf1.6xlarge"|"inf1.24xlarge"|"m6g.metal"|"m6g.medium"|"m6g.large"|"m6g.xlarge"|"m6g.2xlarge"|"m6g.4xlarge"|"m6g.8xlarge"|"m6g.12xlarge"|"m6g.16xlarge"|"m6gd.metal"|"m6gd.medium"|"m6gd.large"|"m6gd.xlarge"|"m6gd.2xlarge"|"m6gd.4xlarge"|"m6gd.8xlarge"|"m6gd.12xlarge"|"m6gd.16xlarge"|"m6a.large"|"m6a.xlarge"|"m6a.2xlarge"|"m6a.4xlarge"|"m6a.8xlarge"|"m6a.12xlarge"|"m6a.16xlarge"|"m6a.24xlarge"|"m6a.32xlarge"|"m6a.48xlarge"|"m6i.large"|"m6i.xlarge"|"m6i.2xlarge"|"m6i.4xlarge"|"m6i.8xlarge"|"m6i.12xlarge"|"m6i.16xlarge"|"m6i.24xlarge"|"m6i.32xlarge"|"mac1.metal"|"x2gd.medium"|"x2gd.large"|"x2gd.xlarge"|"x2gd.2xlarge"|"x2gd.4xlarge"|"x2gd.8xlarge"|"x2gd.12xlarge"|"x2gd.16xlarge"|"x2gd.metal"|"vt1.3xlarge"|"vt1.6xlarge"|"vt1.24xlarge"|"im4gn.16xlarge"|"im4gn.2xlarge"|"im4gn.4xlarge"|"im4gn.8xlarge"|"im4gn.large"|"im4gn.xlarge"|"is4gen.2xlarge"|"is4gen.4xlarge"|"is4gen.8xlarge"|"is4gen.large"|"is4gen.medium"|"is4gen.xlarge"|"g5g.xlarge"|"g5g.2xlarge"|"g5g.4xlarge"|"g5g.8xlarge"|"g5g.16xlarge"|"g5g.metal"|"g5.xlarge"|"g5.2xlarge"|"g5.4xlarge"|"g5.8xlarge"|"g5.12xlarge"|"g5.16xlarge"|"g5.24xlarge"|"g5.48xlarge"|string; + export type InstanceType = "a1.medium"|"a1.large"|"a1.xlarge"|"a1.2xlarge"|"a1.4xlarge"|"a1.metal"|"c1.medium"|"c1.xlarge"|"c3.large"|"c3.xlarge"|"c3.2xlarge"|"c3.4xlarge"|"c3.8xlarge"|"c4.large"|"c4.xlarge"|"c4.2xlarge"|"c4.4xlarge"|"c4.8xlarge"|"c5.large"|"c5.xlarge"|"c5.2xlarge"|"c5.4xlarge"|"c5.9xlarge"|"c5.12xlarge"|"c5.18xlarge"|"c5.24xlarge"|"c5.metal"|"c5a.large"|"c5a.xlarge"|"c5a.2xlarge"|"c5a.4xlarge"|"c5a.8xlarge"|"c5a.12xlarge"|"c5a.16xlarge"|"c5a.24xlarge"|"c5ad.large"|"c5ad.xlarge"|"c5ad.2xlarge"|"c5ad.4xlarge"|"c5ad.8xlarge"|"c5ad.12xlarge"|"c5ad.16xlarge"|"c5ad.24xlarge"|"c5d.large"|"c5d.xlarge"|"c5d.2xlarge"|"c5d.4xlarge"|"c5d.9xlarge"|"c5d.12xlarge"|"c5d.18xlarge"|"c5d.24xlarge"|"c5d.metal"|"c5n.large"|"c5n.xlarge"|"c5n.2xlarge"|"c5n.4xlarge"|"c5n.9xlarge"|"c5n.18xlarge"|"c5n.metal"|"c6g.medium"|"c6g.large"|"c6g.xlarge"|"c6g.2xlarge"|"c6g.4xlarge"|"c6g.8xlarge"|"c6g.12xlarge"|"c6g.16xlarge"|"c6g.metal"|"c6gd.medium"|"c6gd.large"|"c6gd.xlarge"|"c6gd.2xlarge"|"c6gd.4xlarge"|"c6gd.8xlarge"|"c6gd.12xlarge"|"c6gd.16xlarge"|"c6gd.metal"|"c6gn.medium"|"c6gn.large"|"c6gn.xlarge"|"c6gn.2xlarge"|"c6gn.4xlarge"|"c6gn.8xlarge"|"c6gn.12xlarge"|"c6gn.16xlarge"|"c6i.large"|"c6i.xlarge"|"c6i.2xlarge"|"c6i.4xlarge"|"c6i.8xlarge"|"c6i.12xlarge"|"c6i.16xlarge"|"c6i.24xlarge"|"c6i.32xlarge"|"c6i.metal"|"cc1.4xlarge"|"cc2.8xlarge"|"cg1.4xlarge"|"cr1.8xlarge"|"d2.xlarge"|"d2.2xlarge"|"d2.4xlarge"|"d2.8xlarge"|"d3.xlarge"|"d3.2xlarge"|"d3.4xlarge"|"d3.8xlarge"|"d3en.xlarge"|"d3en.2xlarge"|"d3en.4xlarge"|"d3en.6xlarge"|"d3en.8xlarge"|"d3en.12xlarge"|"dl1.24xlarge"|"f1.2xlarge"|"f1.4xlarge"|"f1.16xlarge"|"g2.2xlarge"|"g2.8xlarge"|"g3.4xlarge"|"g3.8xlarge"|"g3.16xlarge"|"g3s.xlarge"|"g4ad.xlarge"|"g4ad.2xlarge"|"g4ad.4xlarge"|"g4ad.8xlarge"|"g4ad.16xlarge"|"g4dn.xlarge"|"g4dn.2xlarge"|"g4dn.4xlarge"|"g4dn.8xlarge"|"g4dn.12xlarge"|"g4dn.16xlarge"|"g4dn.metal"|"g5.xlarge"|"g5.2xlarge"|"g5.4xlarge"|"g5.8xlarge"|"g5.12xlarge"|"g5.16xlarge"|"g5.24xlarge"|"g5.48xlarge"|"g5g.xlarge"|"g5g.2xlarge"|"g5g.4xlarge"|"g5g.8xlarge"|"g5g.16xlarge"|"g5g.metal"|"hi1.4xlarge"|"hpc6a.48xlarge"|"hs1.8xlarge"|"h1.2xlarge"|"h1.4xlarge"|"h1.8xlarge"|"h1.16xlarge"|"i2.xlarge"|"i2.2xlarge"|"i2.4xlarge"|"i2.8xlarge"|"i3.large"|"i3.xlarge"|"i3.2xlarge"|"i3.4xlarge"|"i3.8xlarge"|"i3.16xlarge"|"i3.metal"|"i3en.large"|"i3en.xlarge"|"i3en.2xlarge"|"i3en.3xlarge"|"i3en.6xlarge"|"i3en.12xlarge"|"i3en.24xlarge"|"i3en.metal"|"im4gn.large"|"im4gn.xlarge"|"im4gn.2xlarge"|"im4gn.4xlarge"|"im4gn.8xlarge"|"im4gn.16xlarge"|"inf1.xlarge"|"inf1.2xlarge"|"inf1.6xlarge"|"inf1.24xlarge"|"is4gen.medium"|"is4gen.large"|"is4gen.xlarge"|"is4gen.2xlarge"|"is4gen.4xlarge"|"is4gen.8xlarge"|"m1.small"|"m1.medium"|"m1.large"|"m1.xlarge"|"m2.xlarge"|"m2.2xlarge"|"m2.4xlarge"|"m3.medium"|"m3.large"|"m3.xlarge"|"m3.2xlarge"|"m4.large"|"m4.xlarge"|"m4.2xlarge"|"m4.4xlarge"|"m4.10xlarge"|"m4.16xlarge"|"m5.large"|"m5.xlarge"|"m5.2xlarge"|"m5.4xlarge"|"m5.8xlarge"|"m5.12xlarge"|"m5.16xlarge"|"m5.24xlarge"|"m5.metal"|"m5a.large"|"m5a.xlarge"|"m5a.2xlarge"|"m5a.4xlarge"|"m5a.8xlarge"|"m5a.12xlarge"|"m5a.16xlarge"|"m5a.24xlarge"|"m5ad.large"|"m5ad.xlarge"|"m5ad.2xlarge"|"m5ad.4xlarge"|"m5ad.8xlarge"|"m5ad.12xlarge"|"m5ad.16xlarge"|"m5ad.24xlarge"|"m5d.large"|"m5d.xlarge"|"m5d.2xlarge"|"m5d.4xlarge"|"m5d.8xlarge"|"m5d.12xlarge"|"m5d.16xlarge"|"m5d.24xlarge"|"m5d.metal"|"m5dn.large"|"m5dn.xlarge"|"m5dn.2xlarge"|"m5dn.4xlarge"|"m5dn.8xlarge"|"m5dn.12xlarge"|"m5dn.16xlarge"|"m5dn.24xlarge"|"m5dn.metal"|"m5n.large"|"m5n.xlarge"|"m5n.2xlarge"|"m5n.4xlarge"|"m5n.8xlarge"|"m5n.12xlarge"|"m5n.16xlarge"|"m5n.24xlarge"|"m5n.metal"|"m5zn.large"|"m5zn.xlarge"|"m5zn.2xlarge"|"m5zn.3xlarge"|"m5zn.6xlarge"|"m5zn.12xlarge"|"m5zn.metal"|"m6a.large"|"m6a.xlarge"|"m6a.2xlarge"|"m6a.4xlarge"|"m6a.8xlarge"|"m6a.12xlarge"|"m6a.16xlarge"|"m6a.24xlarge"|"m6a.32xlarge"|"m6a.48xlarge"|"m6g.metal"|"m6g.medium"|"m6g.large"|"m6g.xlarge"|"m6g.2xlarge"|"m6g.4xlarge"|"m6g.8xlarge"|"m6g.12xlarge"|"m6g.16xlarge"|"m6gd.metal"|"m6gd.medium"|"m6gd.large"|"m6gd.xlarge"|"m6gd.2xlarge"|"m6gd.4xlarge"|"m6gd.8xlarge"|"m6gd.12xlarge"|"m6gd.16xlarge"|"m6i.large"|"m6i.xlarge"|"m6i.2xlarge"|"m6i.4xlarge"|"m6i.8xlarge"|"m6i.12xlarge"|"m6i.16xlarge"|"m6i.24xlarge"|"m6i.32xlarge"|"m6i.metal"|"mac1.metal"|"p2.xlarge"|"p2.8xlarge"|"p2.16xlarge"|"p3.2xlarge"|"p3.8xlarge"|"p3.16xlarge"|"p3dn.24xlarge"|"p4d.24xlarge"|"r3.large"|"r3.xlarge"|"r3.2xlarge"|"r3.4xlarge"|"r3.8xlarge"|"r4.large"|"r4.xlarge"|"r4.2xlarge"|"r4.4xlarge"|"r4.8xlarge"|"r4.16xlarge"|"r5.large"|"r5.xlarge"|"r5.2xlarge"|"r5.4xlarge"|"r5.8xlarge"|"r5.12xlarge"|"r5.16xlarge"|"r5.24xlarge"|"r5.metal"|"r5a.large"|"r5a.xlarge"|"r5a.2xlarge"|"r5a.4xlarge"|"r5a.8xlarge"|"r5a.12xlarge"|"r5a.16xlarge"|"r5a.24xlarge"|"r5ad.large"|"r5ad.xlarge"|"r5ad.2xlarge"|"r5ad.4xlarge"|"r5ad.8xlarge"|"r5ad.12xlarge"|"r5ad.16xlarge"|"r5ad.24xlarge"|"r5b.large"|"r5b.xlarge"|"r5b.2xlarge"|"r5b.4xlarge"|"r5b.8xlarge"|"r5b.12xlarge"|"r5b.16xlarge"|"r5b.24xlarge"|"r5b.metal"|"r5d.large"|"r5d.xlarge"|"r5d.2xlarge"|"r5d.4xlarge"|"r5d.8xlarge"|"r5d.12xlarge"|"r5d.16xlarge"|"r5d.24xlarge"|"r5d.metal"|"r5dn.large"|"r5dn.xlarge"|"r5dn.2xlarge"|"r5dn.4xlarge"|"r5dn.8xlarge"|"r5dn.12xlarge"|"r5dn.16xlarge"|"r5dn.24xlarge"|"r5dn.metal"|"r5n.large"|"r5n.xlarge"|"r5n.2xlarge"|"r5n.4xlarge"|"r5n.8xlarge"|"r5n.12xlarge"|"r5n.16xlarge"|"r5n.24xlarge"|"r5n.metal"|"r6g.medium"|"r6g.large"|"r6g.xlarge"|"r6g.2xlarge"|"r6g.4xlarge"|"r6g.8xlarge"|"r6g.12xlarge"|"r6g.16xlarge"|"r6g.metal"|"r6gd.medium"|"r6gd.large"|"r6gd.xlarge"|"r6gd.2xlarge"|"r6gd.4xlarge"|"r6gd.8xlarge"|"r6gd.12xlarge"|"r6gd.16xlarge"|"r6gd.metal"|"r6i.large"|"r6i.xlarge"|"r6i.2xlarge"|"r6i.4xlarge"|"r6i.8xlarge"|"r6i.12xlarge"|"r6i.16xlarge"|"r6i.24xlarge"|"r6i.32xlarge"|"r6i.metal"|"t1.micro"|"t2.nano"|"t2.micro"|"t2.small"|"t2.medium"|"t2.large"|"t2.xlarge"|"t2.2xlarge"|"t3.nano"|"t3.micro"|"t3.small"|"t3.medium"|"t3.large"|"t3.xlarge"|"t3.2xlarge"|"t3a.nano"|"t3a.micro"|"t3a.small"|"t3a.medium"|"t3a.large"|"t3a.xlarge"|"t3a.2xlarge"|"t4g.nano"|"t4g.micro"|"t4g.small"|"t4g.medium"|"t4g.large"|"t4g.xlarge"|"t4g.2xlarge"|"u-6tb1.56xlarge"|"u-6tb1.112xlarge"|"u-9tb1.112xlarge"|"u-12tb1.112xlarge"|"u-6tb1.metal"|"u-9tb1.metal"|"u-12tb1.metal"|"u-18tb1.metal"|"u-24tb1.metal"|"vt1.3xlarge"|"vt1.6xlarge"|"vt1.24xlarge"|"x1.16xlarge"|"x1.32xlarge"|"x1e.xlarge"|"x1e.2xlarge"|"x1e.4xlarge"|"x1e.8xlarge"|"x1e.16xlarge"|"x1e.32xlarge"|"x2iezn.2xlarge"|"x2iezn.4xlarge"|"x2iezn.6xlarge"|"x2iezn.8xlarge"|"x2iezn.12xlarge"|"x2iezn.metal"|"x2gd.medium"|"x2gd.large"|"x2gd.xlarge"|"x2gd.2xlarge"|"x2gd.4xlarge"|"x2gd.8xlarge"|"x2gd.12xlarge"|"x2gd.16xlarge"|"x2gd.metal"|"z1d.large"|"z1d.xlarge"|"z1d.2xlarge"|"z1d.3xlarge"|"z1d.6xlarge"|"z1d.12xlarge"|"z1d.metal"|string; export type InstanceTypeHypervisor = "nitro"|"xen"|string; export interface InstanceTypeInfo { /** @@ -21586,11 +21933,11 @@ declare namespace EC2 { export type LaunchPermissionList = LaunchPermission[]; export interface LaunchPermissionModifications { /** - * The Amazon Web Services account ID to add to the list of launch permissions for the AMI. + * The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI. */ Add?: LaunchPermissionList; /** - * The Amazon Web Services account ID to remove from the list of launch permissions for the AMI. + * The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI. */ Remove?: LaunchPermissionList; } @@ -21957,13 +22304,17 @@ declare namespace EC2 { */ HttpPutResponseHopLimit?: Integer; /** - * This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value of disabled, you will not be able to access your instance metadata. + * Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value of disabled, you will not be able to access your instance metadata. */ HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState; /** * Enables or disables the IPv6 endpoint for the instance metadata service. Default: disabled */ HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6; + /** + * Set to enabled to allow access to instance tags from the instance metadata. Set to disabled to turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata. Default: disabled + */ + InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState; } export interface LaunchTemplateInstanceMetadataOptionsRequest { /** @@ -21975,16 +22326,21 @@ declare namespace EC2 { */ HttpPutResponseHopLimit?: Integer; /** - * This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value of disabled, you will not be able to access your instance metadata. + * Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value of disabled, you will not be able to access your instance metadata. */ HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState; /** * Enables or disables the IPv6 endpoint for the instance metadata service. Default: disabled */ HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6; + /** + * Set to enabled to allow access to instance tags from the instance metadata. Set to disabled to turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata. Default: disabled + */ + InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState; } export type LaunchTemplateInstanceMetadataOptionsState = "pending"|"applied"|string; export type LaunchTemplateInstanceMetadataProtocolIpv6 = "disabled"|"enabled"|string; + export type LaunchTemplateInstanceMetadataTagsState = "disabled"|"enabled"|string; export interface LaunchTemplateInstanceNetworkInterfaceSpecification { /** * Indicates whether to associate a Carrier IP address with eth0 for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide. @@ -22358,7 +22714,7 @@ declare namespace EC2 { export type LaunchTemplateTagSpecificationList = LaunchTemplateTagSpecification[]; export interface LaunchTemplateTagSpecificationRequest { /** - * The type of resource to tag. Currently, the resource types that support tagging on creation are instance and volume. To tag a resource after it has been created, see CreateTags. + * The type of resource to tag. Currently, the resource types that support tagging on creation are instance, volume, elastic-gpu, network-interface, and spot-instances-request. To tag a resource after it has been created, see CreateTags. */ ResourceType?: ResourceType; /** @@ -22428,6 +22784,35 @@ declare namespace EC2 { } export type LicenseList = LicenseConfiguration[]; export type LicenseSpecificationListRequest = LicenseConfigurationRequest[]; + export type ListImagesInRecycleBinMaxResults = number; + export interface ListImagesInRecycleBinRequest { + /** + * The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a single request. + */ + ImageIds?: ImageIdStringList; + /** + * The token for the next page of results. + */ + NextToken?: String; + /** + * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If you do not specify a value for MaxResults, the request returns 1,000 items per page by default. For more information, see Pagination. + */ + MaxResults?: ListImagesInRecycleBinMaxResults; + /** + * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. + */ + DryRun?: Boolean; + } + export interface ListImagesInRecycleBinResult { + /** + * Information about the AMIs. + */ + Images?: ImageRecycleBinInfoList; + /** + * The token to use to retrieve the next page of results. This value is null when there are no more results to return. + */ + NextToken?: String; + } export type ListSnapshotsInRecycleBinMaxResults = number; export interface ListSnapshotsInRecycleBinRequest { /** @@ -22996,6 +23381,14 @@ declare namespace EC2 { * The options for managing connection authorization for new client connections. */ ClientConnectOptions?: ClientConnectOptions; + /** + * The maximum VPN session duration time in hours. Valid values: 8 | 10 | 12 | 24 Default value: 24 + */ + SessionTimeoutHours?: Integer; + /** + * Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established. + */ + ClientLoginBannerOptions?: ClientLoginBannerOptions; } export interface ModifyClientVpnEndpointResult { /** @@ -23398,7 +23791,7 @@ declare namespace EC2 { */ HttpPutResponseHopLimit?: Integer; /** - * Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the existing state is maintained. If you specify a value of disabled, you cannot access your instance metadata. + * Enables or disables the HTTP metadata endpoint on your instances. If this parameter is not specified, the existing state is maintained. If you specify a value of disabled, you cannot access your instance metadata. */ HttpEndpoint?: InstanceMetadataEndpointState; /** @@ -23409,6 +23802,10 @@ declare namespace EC2 { * Enables or disables the IPv6 endpoint for the instance metadata service. This setting applies only if you have enabled the HTTP metadata endpoint. */ HttpProtocolIpv6?: InstanceMetadataProtocolState; + /** + * Set to enabled to allow access to instance tags from the instance metadata. Set to disabled to turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata. Default: disabled + */ + InstanceMetadataTags?: InstanceMetadataTagsState; } export interface ModifyInstanceMetadataOptionsResult { /** @@ -24530,7 +24927,7 @@ declare namespace EC2 { */ ReplayWindowSize?: Integer; /** - * The number of seconds after which a DPD timeout occurs. Constraints: A value between 0 and 30. Default: 30 + * The number of seconds after which a DPD timeout occurs. Constraints: A value greater than or equal to 30. Default: 30 */ DPDTimeoutSeconds?: Integer; /** @@ -24621,15 +25018,15 @@ declare namespace EC2 { /** * The BYOIP CIDR. */ - Cidr?: String; + Cidr: String; /** * The IPAM pool ID. */ - IpamPoolId?: IpamPoolId; + IpamPoolId: IpamPoolId; /** * The Amazon Web Services account ID of the owner of the IPAM pool. */ - IpamPoolOwner?: String; + IpamPoolOwner: String; } export interface MoveByoipCidrToIpamResult { ByoipCidr?: ByoipCidr; @@ -25066,6 +25463,7 @@ declare namespace EC2 { export type NetworkInsightsPathId = string; export type NetworkInsightsPathIdList = NetworkInsightsPathId[]; export type NetworkInsightsPathList = NetworkInsightsPath[]; + export type NetworkInsightsResourceId = string; export interface NetworkInterface { /** * The association information for an Elastic IP address (IPv4) associated with the network interface. @@ -25339,7 +25737,7 @@ declare namespace EC2 { } export type NetworkInterfacePrivateIpAddressList = NetworkInterfacePrivateIpAddress[]; export type NetworkInterfaceStatus = "available"|"associated"|"attaching"|"in-use"|"detaching"|string; - export type NetworkInterfaceType = "interface"|"natGateway"|"efa"|"trunk"|string; + export type NetworkInterfaceType = "interface"|"natGateway"|"efa"|"trunk"|"load_balancer"|"network_load_balancer"|"vpc_endpoint"|"branch"|"transit_gateway"|"lambda"|"quicksight"|"global_accelerator_managed"|"api_gateway_managed"|"gateway_load_balancer"|"gateway_load_balancer_endpoint"|"iot_rules_managed"|"aws_codestar_connections_managed"|string; export type NetworkPerformance = string; export interface NewDhcpConfiguration { Key?: String; @@ -25758,7 +26156,12 @@ declare namespace EC2 { * Any tags applied to the placement group. */ Tags?: TagList; + /** + * The Amazon Resource Name (ARN) of the placement group. + */ + GroupArn?: String; } + export type PlacementGroupArn = string; export type PlacementGroupId = string; export type PlacementGroupIdStringList = PlacementGroupId[]; export interface PlacementGroupInfo { @@ -27890,6 +28293,22 @@ declare namespace EC2 { */ Status?: Status; } + export interface RestoreImageFromRecycleBinRequest { + /** + * The ID of the AMI to restore. + */ + ImageId: ImageId; + /** + * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. + */ + DryRun?: Boolean; + } + export interface RestoreImageFromRecycleBinResult { + /** + * Returns true if the request succeeds; otherwise, it returns an error. + */ + Return?: Boolean; + } export interface RestoreManagedPrefixListVersionRequest { /** * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. @@ -28874,7 +29293,7 @@ declare namespace EC2 { */ LocalGatewayRouteTableId: LocalGatewayRoutetableId; /** - * One or more filters. + * One or more filters. route-search.exact-match - The exact match of the specified filter. route-search.longest-prefix-match - The longest prefix that matches the route. route-search.subnet-of-match - The routes with a subnet that match the specified CIDR filter. route-search.supernet-of-match - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. state - The state of the route. type - The route type. */ Filters?: FilterList; /** @@ -29606,7 +30025,7 @@ declare namespace EC2 { */ ReplacementStrategy?: ReplacementStrategy; /** - * The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance. Valid only when ReplacementStrategy is set to launch-before-terminate. Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. + * The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance. Required when ReplacementStrategy is set to launch-before-terminate. Not valid when ReplacementStrategy is set to launch. Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds. */ TerminationDelay?: Integer; } @@ -29972,7 +30391,7 @@ declare namespace EC2 { export type SpotInstanceType = "one-time"|"persistent"|string; export interface SpotMaintenanceStrategies { /** - * The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. + * The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances. */ CapacityRebalance?: SpotCapacityRebalance; } @@ -30533,7 +30952,7 @@ declare namespace EC2 { */ Key?: String; /** - * The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters. + * The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters. */ Value?: String; } @@ -33045,7 +33464,7 @@ declare namespace EC2 { */ ReplayWindowSize?: Integer; /** - * The number of seconds after which a DPD timeout occurs. Constraints: A value between 0 and 30. Default: 30 + * The number of seconds after which a DPD timeout occurs. Constraints: A value greater than or equal to 30. Default: 30 */ DPDTimeoutSeconds?: Integer; /** diff --git a/node_modules/aws-sdk/clients/ec2instanceconnect.d.ts b/node_modules/aws-sdk/clients/ec2instanceconnect.d.ts index 9ba05e7b7..3651b28a7 100644 --- a/node_modules/aws-sdk/clients/ec2instanceconnect.d.ts +++ b/node_modules/aws-sdk/clients/ec2instanceconnect.d.ts @@ -50,7 +50,7 @@ declare namespace EC2InstanceConnect { /** * The Availability Zone in which the EC2 instance was launched. */ - AvailabilityZone: AvailabilityZone; + AvailabilityZone?: AvailabilityZone; } export interface SendSSHPublicKeyResponse { /** diff --git a/node_modules/aws-sdk/clients/efs.d.ts b/node_modules/aws-sdk/clients/efs.d.ts index 9ed373bd8..862860296 100644 --- a/node_modules/aws-sdk/clients/efs.d.ts +++ b/node_modules/aws-sdk/clients/efs.d.ts @@ -35,6 +35,14 @@ declare class EFS extends Service { * Creates a mount target for a file system. You can then mount the file system on EC2 instances by using the mount target. You can create one mount target in each Availability Zone in your VPC. All EC2 instances in a VPC within a given Availability Zone share a single mount target for a given file system. If you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target in order to access their file system. You can create only one mount target for an EFS file system using One Zone storage classes. You must create that mount target in the same Availability Zone in which the file system is located. Use the AvailabilityZoneName and AvailabiltyZoneId properties in the DescribeFileSystems response object to get this information. Use the subnetId associated with the file system's Availability Zone when creating the mount target. For more information, see Amazon EFS: How it Works. To create a mount target for a file system, the file system's lifecycle state must be available. For more information, see DescribeFileSystems. In the request, provide the following: The file system ID for which you are creating the mount target. A subnet ID, which determines the following: The VPC in which Amazon EFS creates the mount target The Availability Zone in which Amazon EFS creates the mount target The IP address range from which Amazon EFS selects the IP address of the mount target (if you don't specify an IP address in the request) After creating the mount target, Amazon EFS returns a response that includes, a MountTargetId and an IpAddress. You use this IP address when mounting the file system in an EC2 instance. You can also use the mount target's DNS name when mounting the file system. The EC2 instance on which you mount the file system by using the mount target can resolve the mount target's DNS name to its IP address. For more information, see How it Works: Implementation Overview. Note that you can create mount targets for a file system in only one VPC, and there can be only one mount target per Availability Zone. That is, if the file system already has one or more mount targets created for it, the subnet specified in the request to add another mount target must meet the following requirements: Must belong to the same VPC as the subnets of the existing mount targets Must not be in the same Availability Zone as any of the subnets of the existing mount targets If the request satisfies the requirements, Amazon EFS does the following: Creates a new mount target in the specified subnet. Also creates a new network interface in the subnet as follows: If the request provides an IpAddress, Amazon EFS assigns that IP address to the network interface. Otherwise, Amazon EFS assigns a free address in the subnet (in the same way that the Amazon EC2 CreateNetworkInterface call does when a request does not specify a primary private IP address). If the request provides SecurityGroups, this network interface is associated with those security groups. Otherwise, it belongs to the default security group for the subnet's VPC. Assigns the description Mount target fsmt-id for file system fs-id where fsmt-id is the mount target ID, and fs-id is the FileSystemId. Sets the requesterManaged property of the network interface to true, and the requesterId value to EFS. Each Amazon EFS mount target has one corresponding requester-managed EC2 network interface. After the network interface is created, Amazon EFS sets the NetworkInterfaceId field in the mount target's description to the network interface ID, and the IpAddress field to its address. If network interface creation fails, the entire CreateMountTarget operation fails. The CreateMountTarget call returns only after creating the network interface, but while the mount target state is still creating, you can check the mount target creation status by calling the DescribeMountTargets operation, which among other things returns the mount target state. We recommend that you create a mount target in each of the Availability Zones. There are cost considerations for using a file system in an Availability Zone through a mount target created in another Availability Zone. For more information, see Amazon EFS. In addition, by always using a mount target local to the instance's Availability Zone, you eliminate a partial failure scenario. If the Availability Zone in which your mount target is created goes down, then you can't access your file system through that mount target. This operation requires permissions for the following action on the file system: elasticfilesystem:CreateMountTarget This operation also requires permissions for the following Amazon EC2 actions: ec2:DescribeSubnets ec2:DescribeNetworkInterfaces ec2:CreateNetworkInterface */ createMountTarget(callback?: (err: AWSError, data: EFS.Types.MountTargetDescription) => void): Request; + /** + * Creates a replication configuration that replicates an existing EFS file system to a new, read-only file system. For more information, see Amazon EFS replication. The replication configuration specifies the following: Source file system - an existing EFS file system that you want replicated. The source file system cannot be a destination file system in an existing replication configuration. Destination file system configuration - the configuration of the destination file system to which the source file system will be replicated. There can only be one destination file system in a replication configuration. Amazon Web Services Region - The Amazon Web Services Region in which the destination file system is created. EFS Replication is available in all Amazon Web Services Region that Amazon EFS is available in, except the following regions: Asia Pacific (Hong Kong) Europe (Milan), Middle East (Bahrain), Africa (Cape Town), and Asia Pacific (Jakarta). Availability zone - If you want the destination file system to use One Zone availability and durability, you must specify the Availability Zone to create the file system in. For more information about EFS storage classes, see Amazon EFS storage classes in the Amazon EFS User Guide. Encryption - All destination file systems are created with encryption at rest enabled. You can specify the KMS key that is used to encrypt the destination file system. Your service-managed KMS key for Amazon EFS is used if you don't specify a KMS key. You cannot change this after the file system is created. The following properties are set by default: Performance mode - The destination file system's performance mode will match that of the source file system, unless the destination file system uses One Zone storage. In that case, the General Purpose performance mode is used. The Performance mode cannot be changed. Throughput mode - The destination file system use the Bursting throughput mode by default. You can modify the throughput mode once the file system is created. The following properties are turned off by default: Lifecycle management - EFS lifecycle management and intelligent tiering are not enabled on the destination file system. You can enable EFS lifecycle management and intelligent tiering after the destination file system is created. Automatic backups - Automatic daily backups not enabled on the destination file system. You can change this setting after the file system is created. For more information, see Amazon EFS replication. + */ + createReplicationConfiguration(params: EFS.Types.CreateReplicationConfigurationRequest, callback?: (err: AWSError, data: EFS.Types.ReplicationConfigurationDescription) => void): Request; + /** + * Creates a replication configuration that replicates an existing EFS file system to a new, read-only file system. For more information, see Amazon EFS replication. The replication configuration specifies the following: Source file system - an existing EFS file system that you want replicated. The source file system cannot be a destination file system in an existing replication configuration. Destination file system configuration - the configuration of the destination file system to which the source file system will be replicated. There can only be one destination file system in a replication configuration. Amazon Web Services Region - The Amazon Web Services Region in which the destination file system is created. EFS Replication is available in all Amazon Web Services Region that Amazon EFS is available in, except the following regions: Asia Pacific (Hong Kong) Europe (Milan), Middle East (Bahrain), Africa (Cape Town), and Asia Pacific (Jakarta). Availability zone - If you want the destination file system to use One Zone availability and durability, you must specify the Availability Zone to create the file system in. For more information about EFS storage classes, see Amazon EFS storage classes in the Amazon EFS User Guide. Encryption - All destination file systems are created with encryption at rest enabled. You can specify the KMS key that is used to encrypt the destination file system. Your service-managed KMS key for Amazon EFS is used if you don't specify a KMS key. You cannot change this after the file system is created. The following properties are set by default: Performance mode - The destination file system's performance mode will match that of the source file system, unless the destination file system uses One Zone storage. In that case, the General Purpose performance mode is used. The Performance mode cannot be changed. Throughput mode - The destination file system use the Bursting throughput mode by default. You can modify the throughput mode once the file system is created. The following properties are turned off by default: Lifecycle management - EFS lifecycle management and intelligent tiering are not enabled on the destination file system. You can enable EFS lifecycle management and intelligent tiering after the destination file system is created. Automatic backups - Automatic daily backups not enabled on the destination file system. You can change this setting after the file system is created. For more information, see Amazon EFS replication. + */ + createReplicationConfiguration(callback?: (err: AWSError, data: EFS.Types.ReplicationConfigurationDescription) => void): Request; /** * DEPRECATED - CreateTags is deprecated and not maintained. Please use the API action to create tags for EFS resources. Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the Name tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems operation. This operation requires permission for the elasticfilesystem:CreateTags action. */ @@ -75,6 +83,14 @@ declare class EFS extends Service { * Deletes the specified mount target. This operation forcibly breaks any mounts of the file system by using the mount target that is being deleted, which might disrupt instances or applications using those mounts. To avoid applications getting cut off abruptly, you might consider unmounting any mounts of the mount target, if feasible. The operation also deletes the associated network interface. Uncommitted writes might be lost, but breaking a mount target using this operation does not corrupt the file system itself. The file system you created remains. You can mount an EC2 instance in your VPC by using another mount target. This operation requires permissions for the following action on the file system: elasticfilesystem:DeleteMountTarget The DeleteMountTarget call returns while the mount target state is still deleting. You can check the mount target deletion by calling the DescribeMountTargets operation, which returns a list of mount target descriptions for the given file system. The operation also requires permissions for the following Amazon EC2 action on the mount target's network interface: ec2:DeleteNetworkInterface */ deleteMountTarget(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * Deletes an existing replication configuration. To delete a replication configuration, you must make the request from the Amazon Web Services Region in which the destination file system is located. Deleting a replication configuration ends the replication process. You can write to the destination file system once it's status becomes Writeable. + */ + deleteReplicationConfiguration(params: EFS.Types.DeleteReplicationConfigurationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * Deletes an existing replication configuration. To delete a replication configuration, you must make the request from the Amazon Web Services Region in which the destination file system is located. Deleting a replication configuration ends the replication process. You can write to the destination file system once it's status becomes Writeable. + */ + deleteReplicationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * DEPRECATED - DeleteTags is deprecated and not maintained. Please use the API action to remove tags from EFS resources. Deletes the specified tags from a file system. If the DeleteTags request includes a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an error. For more information about tags and related restrictions, see Tag restrictions in the Billing and Cost Management User Guide. This operation requires permissions for the elasticfilesystem:DeleteTags action. */ @@ -147,6 +163,14 @@ declare class EFS extends Service { * Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. When requesting all of the current mount targets, the order of mount targets returned in the response is unspecified. This operation requires permissions for the elasticfilesystem:DescribeMountTargets action, on either the file system ID that you specify in FileSystemId, or on the file system of the mount target that you specify in MountTargetId. */ describeMountTargets(callback?: (err: AWSError, data: EFS.Types.DescribeMountTargetsResponse) => void): Request; + /** + * Retrieves the replication configurations for either a specific file system, or all configurations for the Amazon Web Services account in an Amazon Web Services Region if a file system is not specified. + */ + describeReplicationConfigurations(params: EFS.Types.DescribeReplicationConfigurationsRequest, callback?: (err: AWSError, data: EFS.Types.DescribeReplicationConfigurationsResponse) => void): Request; + /** + * Retrieves the replication configurations for either a specific file system, or all configurations for the Amazon Web Services account in an Amazon Web Services Region if a file system is not specified. + */ + describeReplicationConfigurations(callback?: (err: AWSError, data: EFS.Types.DescribeReplicationConfigurationsResponse) => void): Request; /** * DEPRECATED - The DeleteTags action is deprecated and not maintained. Please use the API action to remove tags from EFS resources. Returns the tags associated with a file system. The order of tags returned in the response of one DescribeTags call and the order of tags returned across the responses of a multiple-call iteration (when using pagination) is unspecified. This operation requires permissions for the elasticfilesystem:DescribeTags action. */ @@ -324,11 +348,11 @@ declare namespace EFS { */ PerformanceMode?: PerformanceMode; /** - * A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying CreateFileSystemRequest$KmsKeyId for an existing Key Management Service (KMS customer master key (CMK). If you don't specify a CMK, then the default CMK for Amazon EFS, /aws/elasticfilesystem, is used to protect the encrypted file system. + * A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying an existing Key Management Service key (KMS key). If you don't specify a KMS key, then the default KMS key for Amazon EFS, /aws/elasticfilesystem, is used to protect the encrypted file system. */ Encrypted?: Encrypted; /** - * The ID of the KMS CMK that you want to use to protect the encrypted file system. This parameter is only required if you want to use a non-default KMS key. If this parameter is not specified, the default CMK for Amazon EFS is used. This ID can be in one of the following formats: Key ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab. ARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. Key alias - A previously created display name for a key, for example alias/projectKey1. Key alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1. If KmsKeyId is specified, the CreateFileSystemRequest$Encrypted parameter must be set to true. EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS keys with EFS file systems. + * The ID of the KMS key that you want to use to protect the encrypted file system. This parameter is only required if you want to use a non-default KMS key. If this parameter is not specified, the default KMS key for Amazon EFS is used. You can specify a KMS key ID using the following formats: Key ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab. ARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. Key alias - A previously created display name for a key, for example alias/projectKey1. Key alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1. If you use KmsKeyId, you must set the CreateFileSystemRequest$Encrypted parameter to true. EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS keys with Amazon EFS file systems. */ KmsKeyId?: KmsKeyId; /** @@ -344,7 +368,7 @@ declare namespace EFS { */ AvailabilityZoneName?: AvailabilityZoneName; /** - * Specifies whether automatic backups are enabled on the file system that you are creating. Set the value to true to enable automatic backups. If you are creating a file system that uses One Zone storage classes, automatic backups are enabled by default. For more information, see Automatic backups in the Amazon EFS User Guide. Default is false. However, if you specify an AvailabilityZoneName, the default is true. Backup is not available in all Amazon Web Services Regionswhere Amazon EFS is available. + * Specifies whether automatic backups are enabled on the file system that you are creating. Set the value to true to enable automatic backups. If you are creating a file system that uses One Zone storage classes, automatic backups are enabled by default. For more information, see Automatic backups in the Amazon EFS User Guide. Default is false. However, if you specify an AvailabilityZoneName, the default is true. Backup is not available in all Amazon Web Services Regions where Amazon EFS is available. */ Backup?: Backup; /** @@ -370,6 +394,16 @@ declare namespace EFS { */ SecurityGroups?: SecurityGroups; } + export interface CreateReplicationConfigurationRequest { + /** + * Specifies the Amazon EFS file system that you want to replicate. This file system cannot already be a source or destination file system in another replication configuration. + */ + SourceFileSystemId: FileSystemId; + /** + * An array of destination configuration objects. Only one destination configuration object is supported. + */ + Destinations: DestinationsToCreate; + } export interface CreateTagsRequest { /** * The ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system. @@ -419,6 +453,12 @@ declare namespace EFS { */ MountTargetId: MountTargetId; } + export interface DeleteReplicationConfigurationRequest { + /** + * The ID of the source file system in the replication configuration. + */ + SourceFileSystemId: FileSystemId; + } export interface DeleteTagsRequest { /** * The ID of the file system whose tags you want to delete (String). @@ -575,6 +615,30 @@ declare namespace EFS { */ NextMarker?: Marker; } + export interface DescribeReplicationConfigurationsRequest { + /** + * You can retrieve replication configurations for a specific file system by providing a file system ID. + */ + FileSystemId?: FileSystemId; + /** + * NextToken is present if the response is paginated. You can use NextMarker in a subsequent request to fetch the next page of output. + */ + NextToken?: Token; + /** + * (Optional) You can optionally specify the MaxItems parameter to limit the number of objects returned in a response. The default value is 100. + */ + MaxResults?: MaxResults; + } + export interface DescribeReplicationConfigurationsResponse { + /** + * The collection of replication configurations returned. + */ + Replications?: ReplicationConfigurationDescriptions; + /** + * You can use the NextToken from the previous response in a subsequent request to fetch the additional descriptions. + */ + NextToken?: Token; + } export interface DescribeTagsRequest { /** * (Optional) The maximum number of file system tags to return in the response. Currently, this number is automatically set to 100, and other values are ignored. The response is paginated at 100 per page if you have more than 100 tags. @@ -603,6 +667,40 @@ declare namespace EFS { */ NextMarker?: Marker; } + export interface Destination { + /** + * Describes the status of the destination Amazon EFS file system. + */ + Status: ReplicationStatus; + /** + * The ID of the destination Amazon EFS file system. + */ + FileSystemId: FileSystemId; + /** + * The Amazon Web Services Region in which the destination file system is located. + */ + Region: RegionName; + /** + * The time when the most recent sync successfully completed on the destination file system. Any changes to data on the source file system that occurred prior to this time were successfully replicated to the destination file system. Any changes that occurred after this time might not be fully replicated. + */ + LastReplicatedTimestamp?: Timestamp; + } + export interface DestinationToCreate { + /** + * To create a file system that uses regional storage, specify the Amazon Web Services Region in which to create the destination file system. + */ + Region?: RegionName; + /** + * To create a file system that uses One Zone storage, specify the name of the Availability Zone in which to create the destination file system. + */ + AvailabilityZoneName?: AvailabilityZoneName; + /** + * Specifies the KMS key you want to use to encrypt the destination file system. If you do not specify a KMS key, EFS uses your default KMS key for Amazon EFS, /aws/elasticfilesystem. This ID can be in one of the following formats: Key ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab. ARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. Key alias - A previously created display name for a key, for example alias/projectKey1. Key alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1. + */ + KmsKeyId?: KmsKeyId; + } + export type Destinations = Destination[]; + export type DestinationsToCreate = DestinationToCreate[]; export type Encrypted = boolean; export type FileSystemArn = string; export interface FileSystemDescription { @@ -651,7 +749,7 @@ declare namespace EFS { */ Encrypted?: Encrypted; /** - * The ID of an Key Management Service customer master key (CMK) that was used to protect the encrypted file system. + * The ID of an KMS key used to protect the encrypted file system. */ KmsKeyId?: KmsKeyId; /** @@ -876,6 +974,35 @@ declare namespace EFS { */ LifecyclePolicies: LifecyclePolicies; } + export type RegionName = string; + export interface ReplicationConfigurationDescription { + /** + * The ID of the source Amazon EFS file system that is being replicated. + */ + SourceFileSystemId: FileSystemId; + /** + * The Amazon Web Services Region in which the source Amazon EFS file system is located. + */ + SourceFileSystemRegion: RegionName; + /** + * The ARN of the current source file system in the replication configuration. + */ + SourceFileSystemArn: FileSystemArn; + /** + * The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration. + */ + OriginalSourceFileSystemArn: FileSystemArn; + /** + * Describes when the replication configuration was created. + */ + CreationTime: Timestamp; + /** + * Array of destination objects. Only one destination object is supported. + */ + Destinations: Destinations; + } + export type ReplicationConfigurationDescriptions = ReplicationConfigurationDescription[]; + export type ReplicationStatus = "ENABLED"|"ENABLING"|"DELETING"|"ERROR"|string; export type Resource = "FILE_SYSTEM"|"MOUNT_TARGET"|string; export type ResourceId = string; export interface ResourceIdPreference { diff --git a/node_modules/aws-sdk/clients/elasticache.d.ts b/node_modules/aws-sdk/clients/elasticache.d.ts index f2ad6109e..58667df44 100644 --- a/node_modules/aws-sdk/clients/elasticache.d.ts +++ b/node_modules/aws-sdk/clients/elasticache.d.ts @@ -671,7 +671,7 @@ declare namespace ElastiCache { */ ClientDownloadLandingPage?: String; /** - * The name of the compute and memory capacity node type for the cluster. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. + * The name of the compute and memory capacity node type for the cluster. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 6.0 onward and for Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. */ CacheNodeType?: String; /** @@ -948,7 +948,7 @@ declare namespace ElastiCache { */ CacheParameterGroupName?: String; /** - * The name of the cache parameter group family that this cache parameter group is compatible with. Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.0 | + * The name of the cache parameter group family that this cache parameter group is compatible with. Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | */ CacheParameterGroupFamily?: String; /** @@ -1177,7 +1177,7 @@ declare namespace ElastiCache { */ NumCacheNodes?: IntegerOptional; /** - * The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. + * The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 6.0 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. */ CacheNodeType?: String; /** @@ -1217,7 +1217,7 @@ declare namespace ElastiCache { */ SnapshotName?: String; /** - * Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are: + * Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. */ PreferredMaintenanceWindow?: String; /** @@ -1270,7 +1270,7 @@ declare namespace ElastiCache { */ CacheParameterGroupName: String; /** - * The name of the cache parameter group family that the cache parameter group can be used with. Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.0 | redis6.2 + * The name of the cache parameter group family that the cache parameter group can be used with. Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x */ CacheParameterGroupFamily: String; /** @@ -1386,7 +1386,7 @@ declare namespace ElastiCache { */ NodeGroupConfiguration?: NodeGroupConfigurationList; /** - * The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. + * The compute and memory capacity of the nodes in the node group (shard). The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 6.0 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. */ CacheNodeType?: String; /** @@ -1905,7 +1905,7 @@ declare namespace ElastiCache { */ ReservedCacheNodesOfferingId?: String; /** - * The cache node type filter value. Use this parameter to show only those reservations matching the specified cache node type. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. + * The cache node type filter value. Use this parameter to show only those reservations matching the specified cache node type. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 6.0 onward and for Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. */ CacheNodeType?: String; /** @@ -1935,7 +1935,7 @@ declare namespace ElastiCache { */ ReservedCacheNodesOfferingId?: String; /** - * The cache node type filter value. Use this parameter to show only the available offerings matching the specified cache node type. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward) cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. + * The cache node type filter value. Use this parameter to show only the available offerings matching the specified cache node type. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward) cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 6.0 onward and for Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. */ CacheNodeType?: String; /** @@ -2417,7 +2417,7 @@ declare namespace ElastiCache { } export interface LogDeliveryConfiguration { /** - * Refers to slow-log. + * Refers to slow-log or engine-log. */ LogType?: LogType; /** @@ -2444,7 +2444,7 @@ declare namespace ElastiCache { export type LogDeliveryConfigurationList = LogDeliveryConfiguration[]; export interface LogDeliveryConfigurationRequest { /** - * Refers to slow-log. + * Refers to slow-log or engine-log.. */ LogType?: LogType; /** @@ -2467,7 +2467,7 @@ declare namespace ElastiCache { export type LogDeliveryConfigurationRequestList = LogDeliveryConfigurationRequest[]; export type LogDeliveryConfigurationStatus = "active"|"enabling"|"modifying"|"disabling"|"error"|string; export type LogFormat = "text"|"json"|string; - export type LogType = "slow-log"|string; + export type LogType = "slow-log"|"engine-log"|string; export interface ModifyCacheClusterMessage { /** * The cluster identifier. This value is stored as a lowercase string. @@ -3021,7 +3021,7 @@ declare namespace ElastiCache { export type PendingAutomaticFailoverStatus = "enabled"|"disabled"|string; export interface PendingLogDeliveryConfiguration { /** - * Refers to slow-log. + * Refers to slow-log or engine-log.. */ LogType?: LogType; /** @@ -3325,7 +3325,7 @@ declare namespace ElastiCache { */ ReservedCacheNodesOfferingId?: String; /** - * The cache node type for the reserved cache nodes. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. + * The cache node type for the reserved cache nodes. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 6.0 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. */ CacheNodeType?: String; /** @@ -3386,7 +3386,7 @@ declare namespace ElastiCache { */ ReservedCacheNodesOfferingId?: String; /** - * The cache node type for the reserved cache node. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. + * The cache node type for the reserved cache node. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types: (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 6.0 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. */ CacheNodeType?: String; /** @@ -3583,7 +3583,7 @@ declare namespace ElastiCache { */ SnapshotSource?: String; /** - * The name of the compute and memory capacity node type for the source cluster. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 5.0.6 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. + * The name of the compute and memory capacity node type for the source cluster. The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts. General purpose: Current generation: M6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge For region availability, see Supported Node Types M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available only for Redis engine version 6.0 onward and Memcached engine version 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge Compute optimized: Previous generation: (not recommended) C1 node types: cache.c1.xlarge Memory optimized with data tiering: Current generation: R6gd node types (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, cache.r6gd.16xlarge Memory optimized: Current generation: R6g node types (available only for Redis engine version 5.0.6 onward and for Memcached engine version 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge For region availability, see Supported Node Types For region availability, see Supported Node Types R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge Previous generation: (not recommended) M2 node types: cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge Additional node type info All current generation instance types are created in Amazon VPC by default. Redis append-only files (AOF) are not supported for T1 or T2 instances. Redis Multi-AZ with automatic failover is not supported on T1 instances. Redis configuration variables appendonly and appendfsync are not supported on Redis version 2.8.22 and later. */ CacheNodeType?: String; /** diff --git a/node_modules/aws-sdk/clients/emr.d.ts b/node_modules/aws-sdk/clients/emr.d.ts index b4b5cd8e4..6b5e53125 100644 --- a/node_modules/aws-sdk/clients/emr.d.ts +++ b/node_modules/aws-sdk/clients/emr.d.ts @@ -29,11 +29,11 @@ declare class EMR extends Service { */ addInstanceGroups(callback?: (err: AWSError, data: EMR.Types.AddInstanceGroupsOutput) => void): Request; /** - * AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using SSH to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide. A step specifies the location of a JAR file stored either on the master node of the cluster or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step. Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully. You can only add steps to a cluster that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING. + * AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using SSH to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide. A step specifies the location of a JAR file stored either on the master node of the cluster or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step. Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully. You can only add steps to a cluster that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING. The string values passed into HadoopJarStep object cannot exceed a total of 10240 characters. */ addJobFlowSteps(params: EMR.Types.AddJobFlowStepsInput, callback?: (err: AWSError, data: EMR.Types.AddJobFlowStepsOutput) => void): Request; /** - * AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using SSH to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide. A step specifies the location of a JAR file stored either on the master node of the cluster or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step. Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully. You can only add steps to a cluster that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING. + * AddJobFlowSteps adds new steps to a running cluster. A maximum of 256 steps are allowed in each job flow. If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using SSH to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide. A step specifies the location of a JAR file stored either on the master node of the cluster or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step. Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully. You can only add steps to a cluster that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING. The string values passed into HadoopJarStep object cannot exceed a total of 10240 characters. */ addJobFlowSteps(callback?: (err: AWSError, data: EMR.Types.AddJobFlowStepsOutput) => void): Request; /** @@ -309,11 +309,11 @@ declare class EMR extends Service { */ putAutoScalingPolicy(callback?: (err: AWSError, data: EMR.Types.PutAutoScalingPolicyOutput) => void): Request; /** - * Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination. + * Auto-termination is supported in Amazon EMR versions 5.30.0 and 6.1.0 and later. For more information, see Using an auto-termination policy. Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination. */ putAutoTerminationPolicy(params: EMR.Types.PutAutoTerminationPolicyInput, callback?: (err: AWSError, data: EMR.Types.PutAutoTerminationPolicyOutput) => void): Request; /** - * Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination. + * Auto-termination is supported in Amazon EMR versions 5.30.0 and 6.1.0 and later. For more information, see Using an auto-termination policy. Creates or updates an auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination. */ putAutoTerminationPolicy(callback?: (err: AWSError, data: EMR.Types.PutAutoTerminationPolicyOutput) => void): Request; /** @@ -381,11 +381,11 @@ declare class EMR extends Service { */ setTerminationProtection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide. + * The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see Identity and Access Management for EMR. Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide. */ setVisibleToAllUsers(params: EMR.Types.SetVisibleToAllUsersInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide. + * The SetVisibleToAllUsers parameter is no longer supported. Your cluster may be visible to all users in your account. To restrict cluster access using an IAM policy, see Identity and Access Management for EMR. Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions on the cluster, regardless of IAM permissions policies attached to other IAM principals. This action works on running clusters. When you create a cluster, use the RunJobFlowInput$VisibleToAllUsers parameter. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide. */ setVisibleToAllUsers(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -769,7 +769,7 @@ declare namespace EMR { */ TerminationProtected?: Boolean; /** - * Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console. IAM principals that are allowed to perform actions on the cluster can use the SetVisibleToAllUsers action to change the value on a running cluster. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide. + * Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console. */ VisibleToAllUsers?: Boolean; /** @@ -1782,7 +1782,7 @@ declare namespace EMR { */ InstanceRunningCount: Integer; /** - * State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED. + * State of instance group. The following values are no longer supported: STARTING, TERMINATED, and FAILED. */ State: InstanceGroupState; /** @@ -2047,7 +2047,7 @@ declare namespace EMR { */ SupportedProducts?: SupportedProductsList; /** - * Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console. IAM principals that are authorized to perform actions on the cluster can use the SetVisibleToAllUsers action to change the value on a running cluster. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide. + * Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform EMR cluster actions that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions, regardless of IAM permissions policies attached to other IAM principals. The default value is true if a value is not provided when creating a cluster using the EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console. */ VisibleToAllUsers?: Boolean; /** @@ -2886,7 +2886,7 @@ declare namespace EMR { */ NewSupportedProducts?: NewSupportedProductsList; /** - * Applies to Amazon EMR releases 4.0 and later. A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster. For a list of applications available for each Amazon EMR release version, see the Amazon EMR Release Guide. + * Applies to Amazon EMR releases 4.0 and later. A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster. For a list of applications available for each Amazon EMR release version, see the Amazon EMRRelease Guide. */ Applications?: ApplicationList; /** @@ -2894,7 +2894,7 @@ declare namespace EMR { */ Configurations?: ConfigurationList; /** - * Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform EMR actions on the cluster that their IAM policies allow. This value defaults to true for clusters created using the EMR API or the CLI create-cluster command. When set to false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide. + * The VisibleToAllUsers parameter is no longer supported. By default, the value is set to true. Setting it to false now has no effect. Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform EMR actions on the cluster that their IAM policies allow. This value defaults to true for clusters created using the EMR API or the CLI create-cluster command. When set to false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. For more information, see Understanding the EMR Cluster VisibleToAllUsers Setting in the Amazon EMRManagement Guide. */ VisibleToAllUsers?: Boolean; /** @@ -3152,7 +3152,7 @@ declare namespace EMR { */ TimeoutAction: SpotProvisioningTimeoutAction; /** - * The defined duration for Spot Instances (also known as Spot blocks) in minutes. When specified, the Spot Instance does not terminate before the defined duration expires, and defined duration pricing for Spot Instances applies. Valid values are 60, 120, 180, 240, 300, or 360. The duration period starts as soon as a Spot Instance receives its instance ID. At the end of the duration, Amazon EC2 marks the Spot Instance for termination and provides a Spot Instance termination notice, which gives the instance a two-minute warning before it terminates. + * The defined duration for Spot Instances (also known as Spot blocks) in minutes. When specified, the Spot Instance does not terminate before the defined duration expires, and defined duration pricing for Spot Instances applies. Valid values are 60, 120, 180, 240, 300, or 360. The duration period starts as soon as a Spot Instance receives its instance ID. At the end of the duration, Amazon EC2 marks the Spot Instance for termination and provides a Spot Instance termination notice, which gives the instance a two-minute warning before it terminates. Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022. */ BlockDurationMinutes?: WholeNumber; /** @@ -3468,7 +3468,7 @@ declare namespace EMR { export type SupportedProductsList = XmlStringMaxLen256[]; export interface Tag { /** - * A user-defined key, which is the minimum required information for a valid tag. For more information, see Tag . + * A user-defined key, which is the minimum required information for a valid tag. For more information, see Tag. */ Key?: String; /** @@ -3530,7 +3530,7 @@ declare namespace EMR { } export interface VolumeSpecification { /** - * The volume type. Volume types supported are gp2, io1, standard. + * The volume type. Volume types supported are gp2, io1, and standard. */ VolumeType: String; /** diff --git a/node_modules/aws-sdk/clients/es.d.ts b/node_modules/aws-sdk/clients/es.d.ts index 6e11f18c8..893b66621 100644 --- a/node_modules/aws-sdk/clients/es.d.ts +++ b/node_modules/aws-sdk/clients/es.d.ts @@ -111,6 +111,14 @@ declare class ES extends Service { * Provides scheduled Auto-Tune action details for the Elasticsearch domain, such as Auto-Tune action type, description, severity, and scheduled date. */ describeDomainAutoTunes(callback?: (err: AWSError, data: ES.Types.DescribeDomainAutoTunesResponse) => void): Request; + /** + * Returns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages. + */ + describeDomainChangeProgress(params: ES.Types.DescribeDomainChangeProgressRequest, callback?: (err: AWSError, data: ES.Types.DescribeDomainChangeProgressResponse) => void): Request; + /** + * Returns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages. + */ + describeDomainChangeProgress(callback?: (err: AWSError, data: ES.Types.DescribeDomainChangeProgressResponse) => void): Request; /** * Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN. */ @@ -397,6 +405,14 @@ declare namespace ES { * Describes the SAML application configured for a domain. */ SAMLOptions?: SAMLOptionsOutput; + /** + * Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled. + */ + AnonymousAuthDisableDate?: DisableTimestamp; + /** + * True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains. + */ + AnonymousAuthEnabled?: Boolean; } export interface AdvancedSecurityOptionsInput { /** @@ -415,6 +431,10 @@ declare namespace ES { * Specifies the SAML application configuration for the domain. */ SAMLOptions?: SAMLOptionsInput; + /** + * True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains. + */ + AnonymousAuthEnabled?: Boolean; } export interface AdvancedSecurityOptionsStatus { /** @@ -559,6 +579,67 @@ declare namespace ES { */ ServiceSoftwareOptions?: ServiceSoftwareOptions; } + export interface ChangeProgressDetails { + /** + * The unique change identifier associated with a specific domain configuration change. + */ + ChangeId?: GUID; + /** + * Contains an optional message associated with the domain configuration change. + */ + Message?: Message; + } + export interface ChangeProgressStage { + /** + * The name of the specific progress stage. + */ + Name?: ChangeProgressStageName; + /** + * The overall status of a specific progress stage. + */ + Status?: ChangeProgressStageStatus; + /** + * The description of the progress stage. + */ + Description?: Description; + /** + * The last updated timestamp of the progress stage. + */ + LastUpdated?: LastUpdated; + } + export type ChangeProgressStageList = ChangeProgressStage[]; + export type ChangeProgressStageName = string; + export type ChangeProgressStageStatus = string; + export interface ChangeProgressStatusDetails { + /** + * The unique change identifier associated with a specific domain configuration change. + */ + ChangeId?: GUID; + /** + * The time at which the configuration change is made on the domain. + */ + StartTime?: UpdateTimestamp; + /** + * The overall status of the domain configuration change. This field can take the following values: PENDING, PROCESSING, COMPLETED and FAILED + */ + Status?: OverallChangeStatus; + /** + * The list of properties involved in the domain configuration change that are still in pending. + */ + PendingProperties?: StringList; + /** + * The list of properties involved in the domain configuration change that are completed. + */ + CompletedProperties?: StringList; + /** + * The total number of stages required for the configuration change. + */ + TotalNumberOfStages?: TotalNumberOfStages; + /** + * The specific stages that the domain is going through to perform the configuration change. + */ + ChangeProgressStages?: ChangeProgressStageList; + } export type CloudWatchLogsLogGroupArn = string; export interface CognitoOptions { /** @@ -814,6 +895,22 @@ declare namespace ES { */ NextToken?: NextToken; } + export interface DescribeDomainChangeProgressRequest { + /** + * The domain you want to get the progress information about. + */ + DomainName: DomainName; + /** + * The specific change ID for which you want to get progress information. This is an optional parameter. If omitted, the service returns information about the most recent configuration change. + */ + ChangeId?: GUID; + } + export interface DescribeDomainChangeProgressResponse { + /** + * Progress information for the configuration change that is requested in the DescribeDomainChangeProgress request. + */ + ChangeProgressStatus?: ChangeProgressStatusDetails; + } export interface DescribeElasticsearchDomainConfigRequest { /** * The Elasticsearch domain that you want to get information about. @@ -998,6 +1095,8 @@ declare namespace ES { */ ReservedElasticsearchInstances?: ReservedElasticsearchInstanceList; } + export type Description = string; + export type DisableTimestamp = Date; export interface DissociatePackageRequest { /** * Internal ID of the package that you want to associate with a domain. Use DescribePackages to find this value. @@ -1269,6 +1368,10 @@ declare namespace ES { * Specifies AutoTuneOptions for the domain. */ AutoTuneOptions?: AutoTuneOptionsStatus; + /** + * Specifies change details of the domain configuration change. + */ + ChangeProgressDetails?: ChangeProgressDetails; } export interface ElasticsearchDomainStatus { /** @@ -1364,6 +1467,10 @@ declare namespace ES { * The current status of the Elasticsearch domain's Auto-Tune options. */ AutoTuneOptions?: AutoTuneOptionsOutput; + /** + * Specifies change details of the domain configuration change. + */ + ChangeProgressDetails?: ChangeProgressDetails; } export type ElasticsearchDomainStatusList = ElasticsearchDomainStatus[]; export type ElasticsearchInstanceTypeList = ESPartitionInstanceType[]; @@ -1763,6 +1870,7 @@ declare namespace ES { } export type OutboundCrossClusterSearchConnectionStatusCode = "PENDING_ACCEPTANCE"|"VALIDATING"|"VALIDATION_FAILED"|"PROVISIONING"|"ACTIVE"|"REJECTED"|"DELETING"|"DELETED"|string; export type OutboundCrossClusterSearchConnections = OutboundCrossClusterSearchConnection[]; + export type OverallChangeStatus = "PENDING"|"PROCESSING"|"COMPLETED"|"FAILED"|string; export type OwnerId = string; export type PackageDescription = string; export interface PackageDetails { @@ -2174,6 +2282,7 @@ declare namespace ES { export type TagList = Tag[]; export type TagValue = string; export type TimeUnit = "HOURS"|string; + export type TotalNumberOfStages = number; export type UIntValue = number; export interface UpdateElasticsearchDomainConfigRequest { /** @@ -2290,6 +2399,7 @@ declare namespace ES { * This flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed. This will not actually perform the Upgrade. */ PerformCheckOnly?: Boolean; + ChangeProgressDetails?: ChangeProgressDetails; } export interface UpgradeHistory { /** diff --git a/node_modules/aws-sdk/clients/eventbridge.d.ts b/node_modules/aws-sdk/clients/eventbridge.d.ts index 14efb55fa..d140f4b03 100644 --- a/node_modules/aws-sdk/clients/eventbridge.d.ts +++ b/node_modules/aws-sdk/clients/eventbridge.d.ts @@ -340,11 +340,11 @@ declare class EventBridge extends Service { */ putRule(callback?: (err: AWSError, data: EventBridge.Types.PutRuleResponse) => void): Request; /** - * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. + * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. Each rule can have up to five (5) targets associated with it at one time. You can configure the following as targets for Events: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call EC2 Image Builder Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues) SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. */ putTargets(params: EventBridge.Types.PutTargetsRequest, callback?: (err: AWSError, data: EventBridge.Types.PutTargetsResponse) => void): Request; /** - * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. You can configure the following as targets for Events: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. + * Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered. Each rule can have up to five (5) targets associated with it at one time. You can configure the following as targets for Events: API destination Amazon API Gateway REST API endpoints API Gateway Batch job queue CloudWatch Logs group CodeBuild project CodePipeline Amazon EC2 CreateSnapshot API call EC2 Image Builder Amazon EC2 RebootInstances API call Amazon EC2 StopInstances API call Amazon EC2 TerminateInstances API call Amazon ECS tasks Event bus in a different Amazon Web Services account or Region. You can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. Firehose delivery stream (Kinesis Data Firehose) Inspector assessment template (Amazon Inspector) Kinesis stream (Kinesis Data Stream) Lambda function Redshift clusters (Data API statement execution) Amazon SNS topic Amazon SQS queues (includes FIFO queues) SSM Automation SSM OpsItem SSM Run Command Step Functions state machines Creating rules with built-in targets is supported only in the Amazon Web Services Management Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances API call, EC2 StopInstances API call, and EC2 TerminateInstances API call. For some target types, PutTargets provides target-specific parameters. If the target is a Kinesis data stream, you can optionally specify which shard the event goes to by using the KinesisParameters argument. To invoke a command on multiple EC2 instances with one rule, you can use the RunCommandParameters field. To be able to make API calls against the resources that you own, Amazon EventBridge needs the appropriate permissions. For Lambda and Amazon SNS resources, EventBridge relies on resource-based policies. For EC2 instances, Kinesis Data Streams, Step Functions state machines and API Gateway REST APIs, EventBridge relies on IAM roles that you specify in the RoleARN argument in PutTargets. For more information, see Authentication and Access Control in the Amazon EventBridge User Guide. If another Amazon Web Services account is in the same region and has granted you permission (using PutPermission), you can send events to that account. Set that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the Arn value when you run PutTargets. If your account sends events to another account, your account is charged for each sent event. Each event sent to another account is charged as a custom event. The account receiving the event is not charged. For more information, see Amazon EventBridge Pricing. Input, InputPath, and InputTransformer are not available with PutTarget if the target is an event bus of a different Amazon Web Services account. If you are setting the event bus of another account as the target, and that account granted permission to your account through an organization instead of directly by the account ID, then you must specify a RoleArn with proper permissions in the Target structure. For more information, see Sending and Receiving Events Between Amazon Web Services Accounts in the Amazon EventBridge User Guide. For more information about enabling cross-account events, see PutPermission. Input, InputPath, and InputTransformer are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event: If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON format (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target). If Input is specified in the form of valid JSON, then the matched event is overridden with this constant. If InputPath is specified in the form of JSONPath (for example, $.detail), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed). If InputTransformer is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target. When you specify InputPath or InputTransformer, you must use JSON dot notation, not bracket notation. When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. */ putTargets(callback?: (err: AWSError, data: EventBridge.Types.PutTargetsResponse) => void): Request; /** @@ -356,11 +356,11 @@ declare class EventBridge extends Service { */ removePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. + * Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. A successful execution of RemoveTargets doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. */ removeTargets(params: EventBridge.Types.RemoveTargetsRequest, callback?: (err: AWSError, data: EventBridge.Types.RemoveTargetsResponse) => void): Request; /** - * Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. + * Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked. A successful execution of RemoveTargets doesn't guarantee all targets are removed from the rule, it means that the target(s) listed in the request are removed. When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Allow a short period of time for changes to take effect. This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code. */ removeTargets(callback?: (err: AWSError, data: EventBridge.Types.RemoveTargetsResponse) => void): Request; /** @@ -1456,7 +1456,7 @@ declare namespace EventBridge { */ TaskCount?: LimitMin1; /** - * Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The FARGATE value is supported only in the Regions where Fargate witt Amazon ECS is supported. For more information, see Fargate on Amazon ECS in the Amazon Elastic Container Service Developer Guide. + * Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The FARGATE value is supported only in the Regions where Fargate with Amazon ECS is supported. For more information, see Fargate on Amazon ECS in the Amazon Elastic Container Service Developer Guide. */ LaunchType?: LaunchType; /** @@ -2026,7 +2026,7 @@ declare namespace EventBridge { */ EventBusName?: NonPartnerEventBusNameOrArn; /** - * An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event. To learn more about X-Ray trace headers, see Tracing header in the X-Ray Developer Guide. + * An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event. To learn more about X-Ray trace headers, see Tracing header in the X-Ray Developer Guide. */ TraceHeader?: TraceHeader; } @@ -2124,7 +2124,7 @@ declare namespace EventBridge { */ Principal?: Principal; /** - * An identifier string for the external account that you are granting permissions to. If you later want to revoke the permission for this external account, specify this StatementId when you run RemovePermission. + * An identifier string for the external account that you are granting permissions to. If you later want to revoke the permission for this external account, specify this StatementId when you run RemovePermission. Each StatementId must be unique. */ StatementId?: StatementId; /** @@ -2539,7 +2539,7 @@ declare namespace EventBridge { export type TagValue = string; export interface Target { /** - * The ID of the target. We recommend using a memorable and unique string. + * The ID of the target within the specified rule. Use this ID to reference the target when updating the rule. We recommend using a memorable and unique string. */ Id: TargetId; /** diff --git a/node_modules/aws-sdk/clients/finspacedata.d.ts b/node_modules/aws-sdk/clients/finspacedata.d.ts index f18418a49..06fabd352 100644 --- a/node_modules/aws-sdk/clients/finspacedata.d.ts +++ b/node_modules/aws-sdk/clients/finspacedata.d.ts @@ -182,6 +182,9 @@ declare namespace Finspacedata { * Time until which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. */ activeUntilTimestamp?: TimestampEpoch; + /** + * Beginning time from which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ activeFromTimestamp?: TimestampEpoch; /** * The unique identifier of the Changeset that is updated. @@ -214,7 +217,7 @@ declare namespace Finspacedata { export type ColumnNameList = ColumnName[]; export interface CreateChangesetRequest { /** - * A token used to ensure idempotency. + * A token that ensures idempotency. This token expires in 10 minutes. */ clientToken?: ClientToken; /** @@ -226,11 +229,11 @@ declare namespace Finspacedata { */ changeType: ChangeType; /** - * Options that define the location of the data being ingested. + * Options that define the location of the data being ingested (s3SourcePath) and the source of the changeset (sourceType). Both s3SourcePath and sourceType are required attributes. Here is an example of how you could specify the sourceParams: "sourceParams": { "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv", "sourceType": "S3" } The S3 path that you specify must allow the FinSpace role access. To do that, you first need to configure the IAM policy on S3 bucket. For more information, see Loading data from an Amazon S3 Bucket using the FinSpace APIsection. */ sourceParams: SourceParams; /** - * Options that define the structure of the source file(s) including the format type (formatType), header row (withHeader), data separation character (separator) and the type of compression (compression). formatType is a required attribute and can have the following values: PARQUET - Parquet source file format. CSV - CSV source file format. JSON - JSON source file format. XML - XML source file format. For example, you could specify the following for formatParams: "formatParams": { "formatType": "CSV", "withHeader": "true", "separator": ",", "compression":"None" } + * Options that define the structure of the source file(s) including the format type (formatType), header row (withHeader), data separation character (separator) and the type of compression (compression). formatType is a required attribute and can have the following values: PARQUET - Parquet source file format. CSV - CSV source file format. JSON - JSON source file format. XML - XML source file format. Here is an example of how you could specify the formatParams: "formatParams": { "formatType": "CSV", "withHeader": "true", "separator": ",", "compression":"None" } Note that if you only provide formatType as CSV, the rest of the attributes will automatically default to CSV values as following: { "withHeader": "true", "separator": "," } For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide. */ formatParams: FormatParams; } @@ -246,7 +249,7 @@ declare namespace Finspacedata { } export interface CreateDataViewRequest { /** - * A token used to ensure idempotency. + * A token that ensures idempotency. This token expires in 10 minutes. */ clientToken?: ClientToken; /** @@ -286,7 +289,7 @@ declare namespace Finspacedata { } export interface CreateDatasetRequest { /** - * A token used to ensure idempotency. + * A token that ensures idempotency. This token expires in 10 minutes. */ clientToken?: ClientToken; /** @@ -342,10 +345,16 @@ declare namespace Finspacedata { export type DataViewDestinationType = string; export interface DataViewDestinationTypeParams { /** - * Destination type for a Dataview. GLUE_TABLE - Glue table destination type. + * Destination type for a Dataview. GLUE_TABLE - Glue table destination type. S3 - S3 destination type. */ destinationType: DataViewDestinationType; + /** + * Data view export file format. PARQUET - Parquet export file format. DELIMITED_TEXT - Delimited text export file format. + */ s3DestinationExportFileFormat?: ExportFileFormat; + /** + * Format Options for S3 Destination type. Here is an example of how you could specify the s3DestinationExportFileFormatOptions { "header": "true", "delimiter": ",", "compression": "gzip" } + */ s3DestinationExportFileFormatOptions?: S3DestinationFormatOptions; } export interface DataViewErrorInfo { @@ -476,7 +485,7 @@ declare namespace Finspacedata { export type DatasetTitle = string; export interface DeleteDatasetRequest { /** - * A token used to ensure idempotency. + * A token that ensures idempotency. This token expires in 10 minutes. */ clientToken?: ClientToken; /** @@ -546,6 +555,9 @@ declare namespace Finspacedata { * Time until which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. */ activeUntilTimestamp?: TimestampEpoch; + /** + * Beginning time from which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. + */ activeFromTimestamp?: TimestampEpoch; /** * The unique identifier of the Changeset that is being updated. @@ -824,7 +836,7 @@ declare namespace Finspacedata { export type TimestampEpoch = number; export interface UpdateChangesetRequest { /** - * A token used to ensure idempotency. + * A token that ensures idempotency. This token expires in 10 minutes. */ clientToken?: ClientToken; /** @@ -836,11 +848,11 @@ declare namespace Finspacedata { */ changesetId: ChangesetId; /** - * Options that define the location of the data being ingested. + * Options that define the location of the data being ingested (s3SourcePath) and the source of the changeset (sourceType). Both s3SourcePath and sourceType are required attributes. Here is an example of how you could specify the sourceParams: "sourceParams": { "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv", "sourceType": "S3" } The S3 path that you specify must allow the FinSpace role access. To do that, you first need to configure the IAM policy on S3 bucket. For more information, see Loading data from an Amazon S3 Bucket using the FinSpace APIsection. */ sourceParams: SourceParams; /** - * Options that define the structure of the source file(s). + * Options that define the structure of the source file(s) including the format type (formatType), header row (withHeader), data separation character (separator) and the type of compression (compression). formatType is a required attribute and can have the following values: PARQUET - Parquet source file format. CSV - CSV source file format. JSON - JSON source file format. XML - XML source file format. Here is an example of how you could specify the formatParams: "formatParams": { "formatType": "CSV", "withHeader": "true", "separator": ",", "compression":"None" } Note that if you only provide formatType as CSV, the rest of the attributes will automatically default to CSV values as following: { "withHeader": "true", "separator": "," } For more information about supported file formats, see Supported Data Types and File Formats in the FinSpace User Guide. */ formatParams: FormatParams; } @@ -856,7 +868,7 @@ declare namespace Finspacedata { } export interface UpdateDatasetRequest { /** - * A token used to ensure idempotency. + * A token that ensures idempotency. This token expires in 10 minutes. */ clientToken?: ClientToken; /** diff --git a/node_modules/aws-sdk/clients/fis.d.ts b/node_modules/aws-sdk/clients/fis.d.ts index b9077e08b..c958a9f1b 100644 --- a/node_modules/aws-sdk/clients/fis.d.ts +++ b/node_modules/aws-sdk/clients/fis.d.ts @@ -12,11 +12,11 @@ declare class Fis extends Service { constructor(options?: Fis.Types.ClientConfiguration) config: Config & Fis.Types.ClientConfiguration; /** - * Creates an experiment template. To create a template, specify the following information: Targets: A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags. Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment. Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm. For more information, see the AWS Fault Injection Simulator User Guide. + * Creates an experiment template. An experiment template includes the following components: Targets: A target can be a specific resource in your Amazon Web Services environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags. Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment. Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm. For more information, see Experiment templates in the Fault Injection Simulator User Guide. */ createExperimentTemplate(params: Fis.Types.CreateExperimentTemplateRequest, callback?: (err: AWSError, data: Fis.Types.CreateExperimentTemplateResponse) => void): Request; /** - * Creates an experiment template. To create a template, specify the following information: Targets: A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags. Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment. Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm. For more information, see the AWS Fault Injection Simulator User Guide. + * Creates an experiment template. An experiment template includes the following components: Targets: A target can be a specific resource in your Amazon Web Services environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags. Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment. Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm. For more information, see Experiment templates in the Fault Injection Simulator User Guide. */ createExperimentTemplate(callback?: (err: AWSError, data: Fis.Types.CreateExperimentTemplateResponse) => void): Request; /** @@ -28,11 +28,11 @@ declare class Fis extends Service { */ deleteExperimentTemplate(callback?: (err: AWSError, data: Fis.Types.DeleteExperimentTemplateResponse) => void): Request; /** - * Gets information about the specified AWS FIS action. + * Gets information about the specified FIS action. */ getAction(params: Fis.Types.GetActionRequest, callback?: (err: AWSError, data: Fis.Types.GetActionResponse) => void): Request; /** - * Gets information about the specified AWS FIS action. + * Gets information about the specified FIS action. */ getAction(callback?: (err: AWSError, data: Fis.Types.GetActionResponse) => void): Request; /** @@ -52,11 +52,19 @@ declare class Fis extends Service { */ getExperimentTemplate(callback?: (err: AWSError, data: Fis.Types.GetExperimentTemplateResponse) => void): Request; /** - * Lists the available AWS FIS actions. + * Gets information about the specified resource type. + */ + getTargetResourceType(params: Fis.Types.GetTargetResourceTypeRequest, callback?: (err: AWSError, data: Fis.Types.GetTargetResourceTypeResponse) => void): Request; + /** + * Gets information about the specified resource type. + */ + getTargetResourceType(callback?: (err: AWSError, data: Fis.Types.GetTargetResourceTypeResponse) => void): Request; + /** + * Lists the available FIS actions. */ listActions(params: Fis.Types.ListActionsRequest, callback?: (err: AWSError, data: Fis.Types.ListActionsResponse) => void): Request; /** - * Lists the available AWS FIS actions. + * Lists the available FIS actions. */ listActions(callback?: (err: AWSError, data: Fis.Types.ListActionsResponse) => void): Request; /** @@ -83,6 +91,14 @@ declare class Fis extends Service { * Lists the tags for the specified resource. */ listTagsForResource(callback?: (err: AWSError, data: Fis.Types.ListTagsForResourceResponse) => void): Request; + /** + * Lists the target resource types. + */ + listTargetResourceTypes(params: Fis.Types.ListTargetResourceTypesRequest, callback?: (err: AWSError, data: Fis.Types.ListTargetResourceTypesResponse) => void): Request; + /** + * Lists the target resource types. + */ + listTargetResourceTypes(callback?: (err: AWSError, data: Fis.Types.ListTargetResourceTypesResponse) => void): Request; /** * Starts running an experiment from the specified experiment template. */ @@ -186,14 +202,14 @@ declare namespace Fis { /** * The resource type of the target. */ - resourceType?: TargetResourceType; + resourceType?: TargetResourceTypeId; } export type ActionTargetMap = {[key: string]: ActionTarget}; export type ActionTargetName = string; export type ClientToken = string; export interface CreateExperimentTemplateActionInput { /** - * The ID of the action. + * The ID of the action. The format of the action ID is: aws:service-name:action-type. */ actionId: ActionId; /** @@ -220,7 +236,7 @@ declare namespace Fis { */ clientToken: ClientToken; /** - * A description for the experiment template. Can contain up to 64 letters (A-Z and a-z). + * A description for the experiment template. */ description: ExperimentTemplateDescription; /** @@ -236,7 +252,7 @@ declare namespace Fis { */ actions: CreateExperimentTemplateActionInputMap; /** - * The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. + * The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf. */ roleArn: RoleArn; /** @@ -263,9 +279,9 @@ declare namespace Fis { export type CreateExperimentTemplateStopConditionInputList = CreateExperimentTemplateStopConditionInput[]; export interface CreateExperimentTemplateTargetInput { /** - * The AWS resource type. The resource type must be supported for the specified action. + * The resource type. The resource type must be supported for the specified action. */ - resourceType: ResourceType; + resourceType: TargetResourceTypeId; /** * The Amazon Resource Names (ARNs) of the resources. */ @@ -282,6 +298,10 @@ declare namespace Fis { * Scopes the identified resources to a specific count of the resources at random, or a percentage of the resources. All identified resources are included in the target. ALL - Run the action on all identified targets. This is the default. COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random. For example, COUNT(1) selects one of the targets. PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at random. For example, PERCENT(25) selects 25% of the targets. */ selectionMode: ExperimentTemplateTargetSelectionMode; + /** + * The resource type parameters. + */ + parameters?: ExperimentTemplateTargetParameterMap; } export type CreateExperimentTemplateTargetInputMap = {[key: string]: CreateExperimentTemplateTargetInput}; export type CreationTime = Date; @@ -307,7 +327,7 @@ declare namespace Fis { */ experimentTemplateId?: ExperimentTemplateId; /** - * The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. + * The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf. */ roleArn?: RoleArn; /** @@ -327,11 +347,11 @@ declare namespace Fis { */ stopConditions?: ExperimentStopConditionList; /** - * The time the experiment was created. + * The time that the experiment was created. */ creationTime?: CreationTime; /** - * The time that the experiment was started. + * The time that the experiment started. */ startTime?: ExperimentStartTime; /** @@ -368,8 +388,17 @@ declare namespace Fis { * The state of the action. */ state?: ExperimentActionState; + /** + * The time that the action started. + */ + startTime?: ExperimentActionStartTime; + /** + * The time that the action ended. + */ + endTime?: ExperimentActionEndTime; } export type ExperimentActionDescription = string; + export type ExperimentActionEndTime = Date; export type ExperimentActionMap = {[key: string]: ExperimentAction}; export type ExperimentActionName = string; export type ExperimentActionParameter = string; @@ -377,6 +406,7 @@ declare namespace Fis { export type ExperimentActionParameterName = string; export type ExperimentActionStartAfter = string; export type ExperimentActionStartAfterList = ExperimentActionStartAfter[]; + export type ExperimentActionStartTime = Date; export interface ExperimentActionState { /** * The state of the action. @@ -444,7 +474,7 @@ declare namespace Fis { /** * The resource type. */ - resourceType?: ResourceType; + resourceType?: TargetResourceTypeId; /** * The Amazon Resource Names (ARNs) of the resources. */ @@ -461,6 +491,10 @@ declare namespace Fis { * Scopes the identified resources to a specific count or percentage. */ selectionMode?: ExperimentTargetSelectionMode; + /** + * The resource type parameters. + */ + parameters?: ExperimentTargetParameterMap; } export interface ExperimentTargetFilter { /** @@ -478,6 +512,9 @@ declare namespace Fis { export type ExperimentTargetFilterValues = ExperimentTargetFilterValue[]; export type ExperimentTargetMap = {[key: string]: ExperimentTarget}; export type ExperimentTargetName = string; + export type ExperimentTargetParameterMap = {[key: string]: ExperimentTargetParameterValue}; + export type ExperimentTargetParameterName = string; + export type ExperimentTargetParameterValue = string; export type ExperimentTargetSelectionMode = string; export interface ExperimentTemplate { /** @@ -589,7 +626,7 @@ declare namespace Fis { /** * The resource type. */ - resourceType?: ResourceType; + resourceType?: TargetResourceTypeId; /** * The Amazon Resource Names (ARNs) of the targets. */ @@ -606,6 +643,10 @@ declare namespace Fis { * Scopes the identified resources to a specific count or percentage. */ selectionMode?: ExperimentTemplateTargetSelectionMode; + /** + * The resource type parameters. + */ + parameters?: ExperimentTemplateTargetParameterMap; } export interface ExperimentTemplateTargetFilter { /** @@ -634,6 +675,9 @@ declare namespace Fis { } export type ExperimentTemplateTargetMap = {[key: string]: ExperimentTemplateTarget}; export type ExperimentTemplateTargetName = string; + export type ExperimentTemplateTargetParameterMap = {[key: string]: ExperimentTemplateTargetParameterValue}; + export type ExperimentTemplateTargetParameterName = string; + export type ExperimentTemplateTargetParameterValue = string; export type ExperimentTemplateTargetSelectionMode = string; export interface GetActionRequest { /** @@ -671,6 +715,18 @@ declare namespace Fis { */ experimentTemplate?: ExperimentTemplate; } + export interface GetTargetResourceTypeRequest { + /** + * The resource type. + */ + resourceType: TargetResourceTypeId; + } + export interface GetTargetResourceTypeResponse { + /** + * Information about the resource type. + */ + targetResourceType?: TargetResourceType; + } export type LastUpdateTime = Date; export type ListActionsMaxResults = number; export interface ListActionsRequest { @@ -747,10 +803,30 @@ declare namespace Fis { */ tags?: TagMap; } + export type ListTargetResourceTypesMaxResults = number; + export interface ListTargetResourceTypesRequest { + /** + * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. + */ + maxResults?: ListTargetResourceTypesMaxResults; + /** + * The token for the next page of results. + */ + nextToken?: NextToken; + } + export interface ListTargetResourceTypesResponse { + /** + * The target resource types. + */ + targetResourceTypes?: TargetResourceTypeSummaryList; + /** + * The token to use to retrieve the next page of results. This value is null when there are no more results to return. + */ + nextToken?: NextToken; + } export type NextToken = string; export type ResourceArn = string; export type ResourceArnList = ResourceArn[]; - export type ResourceType = string; export type RoleArn = string; export interface StartExperimentRequest { /** @@ -802,7 +878,47 @@ declare namespace Fis { export interface TagResourceResponse { } export type TagValue = string; - export type TargetResourceType = string; + export interface TargetResourceType { + /** + * The resource type. + */ + resourceType?: TargetResourceTypeId; + /** + * A description of the resource type. + */ + description?: TargetResourceTypeDescription; + /** + * The parameters for the resource type. + */ + parameters?: TargetResourceTypeParameterMap; + } + export type TargetResourceTypeDescription = string; + export type TargetResourceTypeId = string; + export interface TargetResourceTypeParameter { + /** + * A description of the parameter. + */ + description?: TargetResourceTypeParameterDescription; + /** + * Indicates whether the parameter is required. + */ + required?: TargetResourceTypeParameterRequired; + } + export type TargetResourceTypeParameterDescription = string; + export type TargetResourceTypeParameterMap = {[key: string]: TargetResourceTypeParameter}; + export type TargetResourceTypeParameterName = string; + export type TargetResourceTypeParameterRequired = boolean; + export interface TargetResourceTypeSummary { + /** + * The resource type. + */ + resourceType?: TargetResourceTypeId; + /** + * A description of the resource type. + */ + description?: TargetResourceTypeDescription; + } + export type TargetResourceTypeSummaryList = TargetResourceTypeSummary[]; export interface UntagResourceRequest { /** * The Amazon Resource Name (ARN) of the resource. @@ -860,7 +976,7 @@ declare namespace Fis { */ actions?: UpdateExperimentTemplateActionInputMap; /** - * The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. + * The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf. */ roleArn?: RoleArn; } @@ -883,9 +999,9 @@ declare namespace Fis { export type UpdateExperimentTemplateStopConditionInputList = UpdateExperimentTemplateStopConditionInput[]; export interface UpdateExperimentTemplateTargetInput { /** - * The AWS resource type. The resource type must be supported for the specified action. + * The resource type. The resource type must be supported for the specified action. */ - resourceType: ResourceType; + resourceType: TargetResourceTypeId; /** * The Amazon Resource Names (ARNs) of the targets. */ @@ -902,6 +1018,10 @@ declare namespace Fis { * Scopes the identified resources to a specific count or percentage. */ selectionMode: ExperimentTemplateTargetSelectionMode; + /** + * The resource type parameters. + */ + parameters?: ExperimentTemplateTargetParameterMap; } export type UpdateExperimentTemplateTargetInputMap = {[key: string]: UpdateExperimentTemplateTargetInput}; /** diff --git a/node_modules/aws-sdk/clients/fms.d.ts b/node_modules/aws-sdk/clients/fms.d.ts index f5df24ed2..4c103fe81 100644 --- a/node_modules/aws-sdk/clients/fms.d.ts +++ b/node_modules/aws-sdk/clients/fms.d.ts @@ -188,11 +188,11 @@ declare class FMS extends Service { */ putNotificationChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Creates an Firewall Manager policy. Firewall Manager provides the following types of policies: An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL. An WAF Classic policy (type WAF), which defines a rule group. A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources. A security group policy, which manages VPC security groups across your Amazon Web Services organization. An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs. A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs. Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type. You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription. + * Creates an Firewall Manager policy. Firewall Manager provides the following types of policies: An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL. An WAF Classic policy (type WAF), which defines a rule group. A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources. A security group policy, which manages VPC security groups across your Amazon Web Services organization. An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs. A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs. Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type. You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription. */ putPolicy(params: FMS.Types.PutPolicyRequest, callback?: (err: AWSError, data: FMS.Types.PutPolicyResponse) => void): Request; /** - * Creates an Firewall Manager policy. Firewall Manager provides the following types of policies: An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL. An WAF Classic policy (type WAF), which defines a rule group. A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources. A security group policy, which manages VPC security groups across your Amazon Web Services organization. An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs. A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs. Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type. You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription. + * Creates an Firewall Manager policy. Firewall Manager provides the following types of policies: An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding WAF web ACL and rule groups to run last in the web ACL. An WAF Classic policy (type WAF), which defines a rule group. A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources. A security group policy, which manages VPC security groups across your Amazon Web Services organization. An Network Firewall policy, which provides firewall rules to filter network traffic in specified Amazon VPCs. A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for specified VPCs. Each policy is specific to one of the types. If you want to enforce more than one policy type across accounts, create multiple policies. You can create multiple policies for each type. You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information about subscribing to Shield Advanced, see CreateSubscription. */ putPolicy(callback?: (err: AWSError, data: FMS.Types.PutPolicyResponse) => void): Request; /** @@ -1241,7 +1241,7 @@ declare namespace FMS { */ SecurityServicePolicyData: SecurityServicePolicyData; /** - * The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference. To apply this policy to multiple resource types, specify a resource type of ResourceTypeList and then specify the resource types in a ResourceTypeList. For WAF and Shield Advanced, example resource types include AWS::ElasticLoadBalancingV2::LoadBalancer and AWS::CloudFront::Distribution. For a security group common policy, valid values are AWS::EC2::NetworkInterface and AWS::EC2::Instance. For a security group content audit policy, valid values are AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, and AWS::EC2::Instance. For a security group usage audit policy, the value is AWS::EC2::SecurityGroup. For an Network Firewall policy or DNS Firewall policy, the value is AWS::EC2::VPC. + * The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference. To apply this policy to multiple resource types, specify a resource type of ResourceTypeList and then specify the resource types in a ResourceTypeList. For WAF and Shield Advanced, resource types include AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::ElasticLoadBalancing::LoadBalancer, AWS::EC2::EIP, and AWS::CloudFront::Distribution. For a security group common policy, valid values are AWS::EC2::NetworkInterface and AWS::EC2::Instance. For a security group content audit policy, valid values are AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, and AWS::EC2::Instance. For a security group usage audit policy, the value is AWS::EC2::SecurityGroup. For an Network Firewall policy or DNS Firewall policy, the value is AWS::EC2::VPC. */ ResourceType: ResourceType; /** @@ -1261,7 +1261,7 @@ declare namespace FMS { */ RemediationEnabled: Boolean; /** - * Indicates whether Firewall Manager should delete Firewall Manager managed resources, such as web ACLs and security groups, when they are not in use by the Firewall Manager policy. By default, Firewall Manager doesn't delete unused Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies. + * Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope. By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies. */ DeleteUnusedFMManagedResources?: Boolean; /** @@ -1362,7 +1362,7 @@ declare namespace FMS { */ RemediationEnabled?: Boolean; /** - * Indicates whether Firewall Manager should delete Firewall Manager managed resources, such as web ACLs and security groups, when they are not in use by the Firewall Manager policy. By default, Firewall Manager doesn't delete unused Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies. + * Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope. By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies. */ DeleteUnusedFMManagedResources?: Boolean; } @@ -1723,7 +1723,7 @@ declare namespace FMS { */ Type: SecurityServiceType; /** - * Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Example: DNS_FIREWALL "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" Valid values for preProcessRuleGroups are between 1 and 99. Valid values for postProcessRuleGroups are between 9901 and 10000. Example: NETWORK_FIREWALL "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2\",\"priority\":10}],\"networkFirewallStatelessDefaultActions\":[\"aws:pass\",\"custom1\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"custom2\",\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"custom1\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension1\"}]}}},{\"actionName\":\"custom2\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension2\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateful-rulegroup/rulegroup1\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":true,\"allowedIPV4CidrList\":[\"10.24.34.0/28\"]} }" Example: WAFV2 "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAmazonIpReputationList\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[{\"name\":\"NoUserAgent_HEADER\"}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":{\"logDestinationConfigs\":[\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\"],\"redactedFields\":[{\"redactedFieldType\":\"SingleHeader\",\"redactedFieldValue\":\"Cookies\"},{\"redactedFieldType\":\"Method\"}]}}" In the loggingConfiguration, you can specify one logDestinationConfigs, you can optionally provide up to 20 redactedFields, and the RedactedFieldType must be one of URI, QUERY_STRING, HEADER, or METHOD. Example: WAF Classic "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\":\"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}" Example: SECURITY_GROUPS_COMMON "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: Shared VPCs. Apply the preceding policy to resources in shared VPCs as well as to those in VPCs that the account owns "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":true,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: SECURITY_GROUPS_CONTENT_AUDIT "{\"type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"securityGroupAction\":{\"type\":\"ALLOW\"}}" The security group action for content audit can be ALLOW or DENY. For ALLOW, all in-scope security group rules must be within the allowed range of the policy's security group rules. For DENY, all in-scope security group rules must not contain a value or a range that matches a rule value or range in the policy security group. Example: SECURITY_GROUPS_USAGE_AUDIT "{\"type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"deleteUnusedSecurityGroups\":true,\"coalesceRedundantSecurityGroups\":true}" + * Details about the service that are specific to the service type, in JSON format. Example: DNS_FIREWALL "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" Valid values for preProcessRuleGroups are between 1 and 99. Valid values for postProcessRuleGroups are between 9901 and 10000. Example: NETWORK_FIREWALL "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateless-rulegroup/rulegroup2\",\"priority\":10}],\"networkFirewallStatelessDefaultActions\":[\"aws:pass\",\"custom1\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"custom2\",\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"custom1\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension1\"}]}}},{\"actionName\":\"custom2\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"dimension2\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-1:1234567891011:stateful-rulegroup/rulegroup1\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":true,\"allowedIPV4CidrList\":[\"10.24.34.0/28\"]} }" Specification for SHIELD_ADVANCED for Amazon CloudFront distributions "{\"type\":\"SHIELD_ADVANCED\",\"automaticResponseConfiguration\": {\"automaticResponseStatus\":\"ENABLED|IGNORED|DISABLED\", \"automaticResponseAction\":\"BLOCK|COUNT\"}, \"overrideCustomerWebaclClassic\":true|false}" For example: "{\"type\":\"SHIELD_ADVANCED\",\"automaticResponseConfiguration\": {\"automaticResponseStatus\":\"ENABLED\", \"automaticResponseAction\":\"COUNT\"}}" The default value for automaticResponseStatus is IGNORED. The value for automaticResponseAction is only required when automaticResponseStatus is set to ENABLED. The default value for overrideCustomerWebaclClassic is false. For other resource types that you can protect with a Shield Advanced policy, this ManagedServiceData configuration is an empty string. Example: WAFV2 "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAmazonIpReputationList\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[{\"name\":\"NoUserAgent_HEADER\"}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":{\"logDestinationConfigs\":[\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\"],\"redactedFields\":[{\"redactedFieldType\":\"SingleHeader\",\"redactedFieldValue\":\"Cookies\"},{\"redactedFieldType\":\"Method\"}]}}" In the loggingConfiguration, you can specify one logDestinationConfigs, you can optionally provide up to 20 redactedFields, and the RedactedFieldType must be one of URI, QUERY_STRING, HEADER, or METHOD. Example: WAF Classic "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\":\"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}" Example: SECURITY_GROUPS_COMMON "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: Shared VPCs. Apply the preceding policy to resources in shared VPCs as well as to those in VPCs that the account owns "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":true,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: SECURITY_GROUPS_CONTENT_AUDIT "{\"type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"securityGroupAction\":{\"type\":\"ALLOW\"}}" The security group action for content audit can be ALLOW or DENY. For ALLOW, all in-scope security group rules must be within the allowed range of the policy's security group rules. For DENY, all in-scope security group rules must not contain a value or a range that matches a rule value or range in the policy security group. Example: SECURITY_GROUPS_USAGE_AUDIT "{\"type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"deleteUnusedSecurityGroups\":true,\"coalesceRedundantSecurityGroups\":true}" */ ManagedServiceData?: ManagedServiceData; } diff --git a/node_modules/aws-sdk/clients/frauddetector.d.ts b/node_modules/aws-sdk/clients/frauddetector.d.ts index d0dba28d0..d1f621a7e 100644 --- a/node_modules/aws-sdk/clients/frauddetector.d.ts +++ b/node_modules/aws-sdk/clients/frauddetector.d.ts @@ -299,6 +299,14 @@ declare class FraudDetector extends Service { * Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE) version is used. */ getEventPrediction(callback?: (err: AWSError, data: FraudDetector.Types.GetEventPredictionResult) => void): Request; + /** + * Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period. + */ + getEventPredictionMetadata(params: FraudDetector.Types.GetEventPredictionMetadataRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetEventPredictionMetadataResult) => void): Request; + /** + * Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period. + */ + getEventPredictionMetadata(callback?: (err: AWSError, data: FraudDetector.Types.GetEventPredictionMetadataResult) => void): Request; /** * Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning. */ @@ -367,6 +375,14 @@ declare class FraudDetector extends Service { * Gets all of the variables or the specific variable. This is a paginated API. Providing null maxSizePerPage results in retrieving maximum of 100 records per page. If you provide maxSizePerPage the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetVariablesResult as part of your request. Null pagination token fetches the records from the beginning. */ getVariables(callback?: (err: AWSError, data: FraudDetector.Types.GetVariablesResult) => void): Request; + /** + * Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned. For example, the following filter lists all past predictions for xyz event type - { "eventType":{ "value": "xyz" }” } This is a paginated API. If you provide a null maxResults, this action will retrieve a maximum of 10 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the nextToken from the response as part of your request. A null nextToken fetches the records from the beginning. + */ + listEventPredictions(params: FraudDetector.Types.ListEventPredictionsRequest, callback?: (err: AWSError, data: FraudDetector.Types.ListEventPredictionsResult) => void): Request; + /** + * Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period. If filter is not specified, the most recent prediction is returned. For example, the following filter lists all past predictions for xyz event type - { "eventType":{ "value": "xyz" }” } This is a paginated API. If you provide a null maxResults, this action will retrieve a maximum of 10 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the nextToken from the response as part of your request. A null nextToken fetches the records from the beginning. + */ + listEventPredictions(callback?: (err: AWSError, data: FraudDetector.Types.ListEventPredictionsResult) => void): Request; /** * Lists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning. */ @@ -718,6 +734,7 @@ declare namespace FraudDetector { totalRecordsCount?: Integer; } export type BatchPredictionList = BatchPrediction[]; + export type Boolean = boolean; export interface CancelBatchImportJobRequest { /** * The ID of an in-progress batch import job to cancel. Amazon Fraud Detector will throw an error if the batch import job is in FAILED, CANCELED, or COMPLETED state. @@ -1290,6 +1307,73 @@ declare namespace FraudDetector { */ arn?: fraudDetectorArn; } + export interface EvaluatedExternalModel { + /** + * The endpoint of the external (Amazon Sagemaker) model. + */ + modelEndpoint?: string; + /** + * Indicates whether event variables were used to generate predictions. + */ + useEventVariables?: Boolean; + /** + * Input variables use for generating predictions. + */ + inputVariables?: MapOfStrings; + /** + * Output variables. + */ + outputVariables?: MapOfStrings; + } + export interface EvaluatedModelVersion { + /** + * The model ID. + */ + modelId?: string; + /** + * The model version. + */ + modelVersion?: string; + /** + * The model type. Valid values: ONLINE_FRAUD_INSIGHTS | TRANSACTION_FRAUD_INSIGHTS + */ + modelType?: string; + /** + * Evaluations generated for the model version. + */ + evaluations?: ListOfModelVersionEvaluations; + } + export interface EvaluatedRule { + /** + * The rule ID. + */ + ruleId?: identifier; + /** + * The rule version. + */ + ruleVersion?: wholeNumberVersionString; + /** + * The rule expression. + */ + expression?: sensitiveString; + /** + * The rule expression value. + */ + expressionWithValues?: sensitiveString; + /** + * The rule outcome. + */ + outcomes?: ListOfStrings; + /** + * Indicates whether the rule was evaluated. + */ + evaluated?: Boolean; + /** + * Indicates whether the rule matched. + */ + matched?: Boolean; + } + export type EvaluatedRuleList = EvaluatedRule[]; export interface Event { /** * The event ID. @@ -1322,6 +1406,33 @@ declare namespace FraudDetector { } export type EventAttributeMap = {[key: string]: attributeValue}; export type EventIngestion = "ENABLED"|"DISABLED"|string; + export interface EventPredictionSummary { + /** + * The event ID. + */ + eventId?: identifier; + /** + * The event type. + */ + eventTypeName?: identifier; + /** + * The timestamp of the event. + */ + eventTimestamp?: time; + /** + * The timestamp when the prediction was generated. + */ + predictionTimestamp?: time; + /** + * The detector ID. + */ + detectorId?: identifier; + /** + * The detector version ID. + */ + detectorVersionId?: wholeNumberVersionString; + } + export type EventPredictionsMaxResults = number; export interface EventType { /** * The event type name. @@ -1365,6 +1476,20 @@ declare namespace FraudDetector { arn?: fraudDetectorArn; } export type EventVariableMap = {[key: string]: variableValue}; + export interface EventVariableSummary { + /** + * The event variable name. + */ + name?: sensitiveString; + /** + * The value of the event variable. + */ + value?: sensitiveString; + /** + * The event variable source. + */ + source?: sensitiveString; + } export interface ExternalEventsDetail { /** * The Amazon S3 bucket location for the data. @@ -1473,6 +1598,12 @@ declare namespace FraudDetector { */ type?: string; } + export interface FilterCondition { + /** + * A statement containing a resource property and a value to specify filter condition. + */ + value?: filterString; + } export interface GetBatchImportJobsRequest { /** * The ID of the batch import job to get. @@ -1641,6 +1772,90 @@ declare namespace FraudDetector { */ nextToken?: string; } + export interface GetEventPredictionMetadataRequest { + /** + * The event ID. + */ + eventId: identifier; + /** + * The event type associated with the detector specified for the prediction. + */ + eventTypeName: identifier; + /** + * The detector ID. + */ + detectorId: identifier; + /** + * The detector version ID. + */ + detectorVersionId: wholeNumberVersionString; + /** + * The timestamp that defines when the prediction was generated. + */ + predictionTimestamp: time; + } + export interface GetEventPredictionMetadataResult { + /** + * The event ID. + */ + eventId?: identifier; + /** + * The event type associated with the detector specified for this prediction. + */ + eventTypeName?: identifier; + /** + * The entity ID. + */ + entityId?: string; + /** + * The entity type. + */ + entityType?: string; + /** + * The timestamp for when the prediction was generated for the associated event ID. + */ + eventTimestamp?: time; + /** + * The detector ID. + */ + detectorId?: identifier; + /** + * The detector version ID. + */ + detectorVersionId?: wholeNumberVersionString; + /** + * The status of the detector version. + */ + detectorVersionStatus?: string; + /** + * A list of event variables that influenced the prediction scores. + */ + eventVariables?: ListOfEventVariableSummaries; + /** + * List of rules associated with the detector version that were used for evaluating variable values. + */ + rules?: EvaluatedRuleList; + /** + * The execution mode of the rule used for evaluating variable values. + */ + ruleExecutionMode?: RuleExecutionMode; + /** + * The outcomes of the matched rule, based on the rule execution mode. + */ + outcomes?: ListOfStrings; + /** + * Model versions that were evaluated for generating predictions. + */ + evaluatedModelVersions?: ListOfEvaluatedModelVersions; + /** + * External (Amazon SageMaker) models that were evaluated for generating predictions. + */ + evaluatedExternalModels?: ListOfEvaluatedExternalModels; + /** + * The timestamp that defines when the prediction was generated. + */ + predictionTimestamp?: time; + } export interface GetEventPredictionRequest { /** * The detector ID. @@ -2023,9 +2238,54 @@ declare namespace FraudDetector { unlabeledEventsTreatment?: UnlabeledEventsTreatment; } export type Language = "DETECTORPL"|string; + export interface ListEventPredictionsRequest { + /** + * The event ID. + */ + eventId?: FilterCondition; + /** + * The event type associated with the detector. + */ + eventType?: FilterCondition; + /** + * The detector ID. + */ + detectorId?: FilterCondition; + /** + * The detector version ID. + */ + detectorVersionId?: FilterCondition; + /** + * The time period for when the predictions were generated. + */ + predictionTimeRange?: PredictionTimeRange; + /** + * Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. + */ + nextToken?: string; + /** + * The maximum number of predictions to return for the request. + */ + maxResults?: EventPredictionsMaxResults; + } + export interface ListEventPredictionsResult { + /** + * The summary of the past predictions. + */ + eventPredictionSummaries?: ListOfEventPredictionSummaries; + /** + * Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. + */ + nextToken?: string; + } + export type ListOfEvaluatedExternalModels = EvaluatedExternalModel[]; + export type ListOfEvaluatedModelVersions = EvaluatedModelVersion[]; + export type ListOfEventPredictionSummaries = EventPredictionSummary[]; + export type ListOfEventVariableSummaries = EventVariableSummary[]; export type ListOfExternalModelOutputs = ExternalModelOutputs[]; export type ListOfLogOddsMetrics = LogOddsMetric[]; export type ListOfModelScores = ModelScores[]; + export type ListOfModelVersionEvaluations = ModelVersionEvaluation[]; export type ListOfModelVersions = ModelVersion[]; export type ListOfRuleResults = RuleResult[]; export type ListOfStrings = string[]; @@ -2068,6 +2328,7 @@ declare namespace FraudDetector { variableImportance: float; } export type Long = number; + export type MapOfStrings = {[key: string]: string}; export interface MetricDataPoint { /** * The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud. @@ -2246,6 +2507,20 @@ declare namespace FraudDetector { */ arn?: fraudDetectorArn; } + export interface ModelVersionEvaluation { + /** + * The output variable name. + */ + outputVariableName?: string; + /** + * The evaluation score generated for the model version. + */ + evaluationScore?: string; + /** + * The prediction explanations generated for the model version. + */ + predictionExplanations?: PredictionExplanations; + } export type ModelVersionStatus = "ACTIVE"|"INACTIVE"|"TRAINING_CANCELLED"|string; export type NameList = string[]; export type NonEmptyListOfStrings = string[]; @@ -2273,6 +2548,22 @@ declare namespace FraudDetector { } export type OutcomeList = Outcome[]; export type OutcomesMaxResults = number; + export interface PredictionExplanations { + /** + * The details of the event variable's impact on the prediction score. + */ + variableImpactExplanations?: listOfVariableImpactExplanations; + } + export interface PredictionTimeRange { + /** + * The start time of the time period for when the predictions were generated. + */ + startTime: time; + /** + * The end time of the time period for when the predictions were generated. + */ + endTime: time; + } export interface PutDetectorRequest { /** * The detector ID. @@ -2877,6 +3168,20 @@ declare namespace FraudDetector { variableType?: string; } export type VariableEntryList = VariableEntry[]; + export interface VariableImpactExplanation { + /** + * The event variable name. + */ + eventVariableName?: string; + /** + * The event variable's relative impact in terms of magnitude on the prediction scores. The relative impact values consist of a numerical rating (0-5, 5 being the highest) and direction (increased/decreased) impact of the fraud risk. + */ + relativeImpact?: string; + /** + * The raw, uninterpreted value represented as log-odds of the fraud. These values are usually between -10 to +10, but range from - infinity to + infinity. A positive value indicates that the variable drove the risk score up. A negative value indicates that the variable drove the risk score down. + */ + logOddsImpact?: float; + } export interface VariableImportanceMetrics { /** * List of variable metrics. @@ -2899,6 +3204,7 @@ declare namespace FraudDetector { export type eventTypesMaxResults = number; export type fieldValidationMessageList = FieldValidationMessage[]; export type fileValidationMessageList = FileValidationMessage[]; + export type filterString = string; export type float = number; export type floatVersionString = string; export type fraudDetectorArn = string; @@ -2909,6 +3215,7 @@ declare namespace FraudDetector { export type labelMapper = {[key: string]: NonEmptyListOfStrings}; export type labelsMaxResults = number; export type listOfEntities = Entity[]; + export type listOfVariableImpactExplanations = VariableImpactExplanation[]; export type metricDataPointsList = MetricDataPoint[]; export type modelIdentifier = string; export type modelInputTemplate = string; @@ -2918,6 +3225,7 @@ declare namespace FraudDetector { export type ruleExpression = string; export type s3BucketLocation = string; export type sageMakerEndpointIdentifier = string; + export type sensitiveString = string; export type tagKey = string; export type tagKeyList = tagKey[]; export type tagList = Tag[]; diff --git a/node_modules/aws-sdk/clients/fsx.d.ts b/node_modules/aws-sdk/clients/fsx.d.ts index 3e10c78b3..1d22cabfb 100644 --- a/node_modules/aws-sdk/clients/fsx.d.ts +++ b/node_modules/aws-sdk/clients/fsx.d.ts @@ -60,11 +60,11 @@ declare class FSx extends Service { */ createDataRepositoryTask(callback?: (err: AWSError, data: FSx.Types.CreateDataRepositoryTaskResponse) => void): Request; /** - * Creates a new, empty Amazon FSx file system. You can create the following supported Amazon FSx file systems using the CreateFileSystem API operation: Amazon FSx for Lustre Amazon FSx for NetApp ONTAP Amazon FSx for Windows File Server This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same. If a file system with the specified client request token exists and the parameters match, CreateFileSystem returns the description of the existing file system. If a file system with the specified client request token exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, CreateFileSystem does the following: Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle state of CREATING. Returns the description of the file system. This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport-level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives a success message as long as the parameters are the same. The CreateFileSystem call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information. + * Creates a new, empty Amazon FSx file system. You can create the following supported Amazon FSx file systems using the CreateFileSystem API operation: Amazon FSx for Lustre Amazon FSx for NetApp ONTAP Amazon FSx for OpenZFS Amazon FSx for Windows File Server This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same. If a file system with the specified client request token exists and the parameters match, CreateFileSystem returns the description of the existing file system. If a file system with the specified client request token exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, CreateFileSystem does the following: Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle state of CREATING. Returns the description of the file system. This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport-level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives a success message as long as the parameters are the same. The CreateFileSystem call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information. */ createFileSystem(params: FSx.Types.CreateFileSystemRequest, callback?: (err: AWSError, data: FSx.Types.CreateFileSystemResponse) => void): Request; /** - * Creates a new, empty Amazon FSx file system. You can create the following supported Amazon FSx file systems using the CreateFileSystem API operation: Amazon FSx for Lustre Amazon FSx for NetApp ONTAP Amazon FSx for Windows File Server This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same. If a file system with the specified client request token exists and the parameters match, CreateFileSystem returns the description of the existing file system. If a file system with the specified client request token exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, CreateFileSystem does the following: Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle state of CREATING. Returns the description of the file system. This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport-level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives a success message as long as the parameters are the same. The CreateFileSystem call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information. + * Creates a new, empty Amazon FSx file system. You can create the following supported Amazon FSx file systems using the CreateFileSystem API operation: Amazon FSx for Lustre Amazon FSx for NetApp ONTAP Amazon FSx for OpenZFS Amazon FSx for Windows File Server This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same. If a file system with the specified client request token exists and the parameters match, CreateFileSystem returns the description of the existing file system. If a file system with the specified client request token exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, CreateFileSystem does the following: Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle state of CREATING. Returns the description of the file system. This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport-level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives a success message as long as the parameters are the same. The CreateFileSystem call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information. */ createFileSystem(callback?: (err: AWSError, data: FSx.Types.CreateFileSystemResponse) => void): Request; /** @@ -276,11 +276,11 @@ declare class FSx extends Service { */ updateDataRepositoryAssociation(callback?: (err: AWSError, data: FSx.Types.UpdateDataRepositoryAssociationResponse) => void): Request; /** - * Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request. For Amazon FSx for Windows File Server file systems, you can update the following properties: AuditLogConfiguration AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime For FSx for Lustre file systems, you can update the following properties: AutoImportPolicy AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DataCompressionType StorageCapacity WeeklyMaintenanceStartTime For FSx for ONTAP file systems, you can update the following properties: AutomaticBackupRetentionDays DailyAutomaticBackupStartTime FsxAdminPassword WeeklyMaintenanceStartTime For the Amazon FSx for OpenZFS file systems, you can update the following properties: AutomaticBackupRetentionDays CopyTagsToBackups CopyTagsToVolumes DailyAutomaticBackupStartTime DiskIopsConfiguration ThroughputCapacity WeeklyMaintenanceStartTime + * Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request. For Amazon FSx for Windows File Server file systems, you can update the following properties: AuditLogConfiguration AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime For Amazon FSx for Lustre file systems, you can update the following properties: AutoImportPolicy AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DataCompressionType StorageCapacity WeeklyMaintenanceStartTime For Amazon FSx for NetApp ONTAP file systems, you can update the following properties: AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DiskIopsConfiguration FsxAdminPassword StorageCapacity WeeklyMaintenanceStartTime For the Amazon FSx for OpenZFS file systems, you can update the following properties: AutomaticBackupRetentionDays CopyTagsToBackups CopyTagsToVolumes DailyAutomaticBackupStartTime ThroughputCapacity WeeklyMaintenanceStartTime */ updateFileSystem(params: FSx.Types.UpdateFileSystemRequest, callback?: (err: AWSError, data: FSx.Types.UpdateFileSystemResponse) => void): Request; /** - * Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request. For Amazon FSx for Windows File Server file systems, you can update the following properties: AuditLogConfiguration AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime For FSx for Lustre file systems, you can update the following properties: AutoImportPolicy AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DataCompressionType StorageCapacity WeeklyMaintenanceStartTime For FSx for ONTAP file systems, you can update the following properties: AutomaticBackupRetentionDays DailyAutomaticBackupStartTime FsxAdminPassword WeeklyMaintenanceStartTime For the Amazon FSx for OpenZFS file systems, you can update the following properties: AutomaticBackupRetentionDays CopyTagsToBackups CopyTagsToVolumes DailyAutomaticBackupStartTime DiskIopsConfiguration ThroughputCapacity WeeklyMaintenanceStartTime + * Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request. For Amazon FSx for Windows File Server file systems, you can update the following properties: AuditLogConfiguration AutomaticBackupRetentionDays DailyAutomaticBackupStartTime SelfManagedActiveDirectoryConfiguration StorageCapacity ThroughputCapacity WeeklyMaintenanceStartTime For Amazon FSx for Lustre file systems, you can update the following properties: AutoImportPolicy AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DataCompressionType StorageCapacity WeeklyMaintenanceStartTime For Amazon FSx for NetApp ONTAP file systems, you can update the following properties: AutomaticBackupRetentionDays DailyAutomaticBackupStartTime DiskIopsConfiguration FsxAdminPassword StorageCapacity WeeklyMaintenanceStartTime For the Amazon FSx for OpenZFS file systems, you can update the following properties: AutomaticBackupRetentionDays CopyTagsToBackups CopyTagsToVolumes DailyAutomaticBackupStartTime ThroughputCapacity WeeklyMaintenanceStartTime */ updateFileSystem(callback?: (err: AWSError, data: FSx.Types.UpdateFileSystemResponse) => void): Request; /** @@ -660,7 +660,7 @@ declare namespace FSx { */ ImportedFileChunkSize?: Megabytes; /** - * (Optional) Choose SCRATCH_1 and SCRATCH_2 deployment types when you need temporary storage and shorter-term processing of data. The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst throughput capacity than SCRATCH_1. Choose PERSISTENT_1 for longer-term storage and for throughput-focused workloads that aren’t latency-sensitive. a. PERSISTENT_1 supports encryption of data in transit, and is available in all Amazon Web Services Regions in which FSx for Lustre is available. Choose PERSISTENT_2 for longer-term storage and for latency-sensitive workloads that require the highest levels of IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). PERSISTENT_2 is available in a limited number of Amazon Web Services Regions. For more information, and an up-to-date list of Amazon Web Services Regions in which PERSISTENT_2 is available, see File system deployment options for FSx for Lustre in the Amazon FSx for Lustre User Guide. If you choose PERSISTENT_2, and you set FileSystemTypeVersion to 2.10, the CreateFileSystem operation fails. Encryption of data in transit is automatically turned on when you access SCRATCH_2, PERSISTENT_1 and PERSISTENT_2 file systems from Amazon EC2 instances that support automatic encryption in the Amazon Web Services Regions where they are available. For more information about encryption in transit for FSx for Lustre file systems, see Encrypting data in transit in the Amazon FSx for Lustre User Guide. (Default = SCRATCH_1) + * (Optional) Choose SCRATCH_1 and SCRATCH_2 deployment types when you need temporary storage and shorter-term processing of data. The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst throughput capacity than SCRATCH_1. Choose PERSISTENT_1 for longer-term storage and for throughput-focused workloads that aren’t latency-sensitive. PERSISTENT_1 supports encryption of data in transit, and is available in all Amazon Web Services Regions in which FSx for Lustre is available. Choose PERSISTENT_2 for longer-term storage and for latency-sensitive workloads that require the highest levels of IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). PERSISTENT_2 is available in a limited number of Amazon Web Services Regions. For more information, and an up-to-date list of Amazon Web Services Regions in which PERSISTENT_2 is available, see File system deployment options for FSx for Lustre in the Amazon FSx for Lustre User Guide. If you choose PERSISTENT_2, and you set FileSystemTypeVersion to 2.10, the CreateFileSystem operation fails. Encryption of data in transit is automatically turned on when you access SCRATCH_2, PERSISTENT_1 and PERSISTENT_2 file systems from Amazon EC2 instances that support automatic encryption in the Amazon Web Services Regions where they are available. For more information about encryption in transit for FSx for Lustre file systems, see Encrypting data in transit in the Amazon FSx for Lustre User Guide. (Default = SCRATCH_1) */ DeploymentType?: LustreDeploymentType; /** @@ -718,7 +718,7 @@ declare namespace FSx { */ RouteTableIds?: RouteTableIds; /** - * Sets the throughput capacity for the file system that you're creating. Valid values are 512, 1024, and 2048 MBps. + * Sets the throughput capacity for the file system that you're creating. Valid values are 128, 256, 512, 1024, and 2048 MBps. */ ThroughputCapacity: MegabytesPerSecond; WeeklyMaintenanceStartTime?: WeeklyTime; @@ -763,7 +763,7 @@ declare namespace FSx { */ StorageCapacity: StorageCapacity; /** - * Sets the storage type for the file system that you're creating. Valid values are SSD and HDD. Set to SSD to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. Set to HDD to use hard disk drive storage. HDD is supported on SINGLE_AZ_2 and MULTI_AZ_1 Windows file system deployment types, and on PERSISTENT Lustre file system deployment types. Default value is SSD. For more information, see Storage type options in the FSx for Windows File Server User Guide and Multiple storage options in the FSx for Lustre User Guide. + * Sets the storage type for the file system that you're creating. Valid values are SSD and HDD. Set to SSD to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. Set to HDD to use hard disk drive storage. HDD is supported on SINGLE_AZ_2 and MULTI_AZ_1 Windows file system deployment types, and on PERSISTENT_1 Lustre file system deployment types. Default value is SSD. For more information, see Storage type options in the FSx for Windows File Server User Guide and Multiple storage options in the FSx for Lustre User Guide. */ StorageType?: StorageType; /** @@ -1334,7 +1334,7 @@ declare namespace FSx { } export interface DeleteVolumeOpenZFSConfiguration { /** - * To delete the volume's children and snapshots, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. + * To delete the volume's child volumes, snapshots, and clones, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. */ Options?: DeleteOpenZFSVolumeOptions; } @@ -1649,7 +1649,7 @@ declare namespace FSx { */ OntapConfiguration?: OntapFileSystemConfiguration; /** - * The Lustre version of the Amazon FSx for Lustrefile system, either 2.10 or 2.12. + * The Lustre version of the Amazon FSx for Lustre file system, either 2.10 or 2.12. */ FileSystemTypeVersion?: FileSystemTypeVersion; /** @@ -2388,6 +2388,10 @@ declare namespace FSx { */ FsxAdminPassword?: AdminPassword; WeeklyMaintenanceStartTime?: WeeklyTime; + /** + * The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP file system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The configuration consists of an IOPS mode (AUTOMATIC or USER_PROVISIONED), and in the case of USER_PROVISIONED IOPS, the total number of SSD IOPS provisioned. + */ + DiskIopsConfiguration?: DiskIopsConfiguration; } export interface UpdateFileSystemOpenZFSConfiguration { AutomaticBackupRetentionDays?: AutomaticBackupRetentionDays; @@ -2401,7 +2405,7 @@ declare namespace FSx { CopyTagsToVolumes?: Flag; DailyAutomaticBackupStartTime?: DailyTime; /** - * The throughput of an Amazon FSx file system, measured in megabytes per second (MBps), in 2 to the nth increments, between 2^3 (8) and 2^11 (2048). + * The throughput of an Amazon FSx file system, measured in megabytes per second (MBps), in 2 to the nth increments, between 2^3 (8) and 2^12 (4096). */ ThroughputCapacity?: MegabytesPerSecond; WeeklyMaintenanceStartTime?: WeeklyTime; @@ -2417,7 +2421,7 @@ declare namespace FSx { */ ClientRequestToken?: ClientRequestToken; /** - * Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server or Amazon FSx for Lustre file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating. You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress. For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For Lustre file systems, the storage capacity target value can be the following: For SCRATCH_2 and PERSISTENT_1 SSD deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. For PERSISTENT HDD file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. For SCRATCH_1 file systems, you can't increase the storage capacity. For OpenZFS file systems, the input/output operations per second (IOPS) automatically scale with increases to the storage capacity if IOPS is configured for automatic scaling. If the storage capacity increase would result in less than 3 IOPS per GiB of storage, this operation returns an error. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide, and Managing storage capacity in the Amazon FSx for OpenZFS User Guide. + * Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server, Amazon FSx for Lustre, or Amazon FSx for NetApp ONTAP file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating. You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress. For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide. For Lustre file systems, the storage capacity target value can be the following: For SCRATCH_2, PERSISTENT_1, and PERSISTENT_2 SSD deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. For PERSISTENT HDD file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. For SCRATCH_1 file systems, you can't increase the storage capacity. For more information, see Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide. For ONTAP file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide. */ StorageCapacity?: StorageCapacity; /** diff --git a/node_modules/aws-sdk/clients/glue.d.ts b/node_modules/aws-sdk/clients/glue.d.ts index 1be5c1843..3ebce6000 100644 --- a/node_modules/aws-sdk/clients/glue.d.ts +++ b/node_modules/aws-sdk/clients/glue.d.ts @@ -1968,7 +1968,7 @@ declare namespace Glue { export type CatalogTargetList = CatalogTarget[]; export interface CheckSchemaVersionValidityInput { /** - * The data format of the schema definition. Currently AVRO and JSON are supported. + * The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported. */ DataFormat: DataFormat; /** @@ -3050,7 +3050,7 @@ declare namespace Glue { */ SchemaName: SchemaRegistryNameString; /** - * The data format of the schema definition. Currently AVRO and JSON are supported. + * The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported. */ DataFormat: DataFormat; /** @@ -3092,7 +3092,7 @@ declare namespace Glue { */ Description?: DescriptionString; /** - * The data format of the schema definition. Currently AVRO and JSON are supported. + * The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported. */ DataFormat?: DataFormat; /** @@ -3363,7 +3363,7 @@ declare namespace Glue { */ ConnectionPasswordEncryption?: ConnectionPasswordEncryption; } - export type DataFormat = "AVRO"|"JSON"|string; + export type DataFormat = "AVRO"|"JSON"|"PROTOBUF"|string; export interface DataLakePrincipal { /** * An identifier for the Lake Formation principal. @@ -5073,7 +5073,7 @@ declare namespace Glue { */ SchemaArn?: GlueResourceArn; /** - * The data format of the schema definition. Currently only AVRO and JSON are supported. + * The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported. */ DataFormat?: DataFormat; /** @@ -5113,7 +5113,7 @@ declare namespace Glue { */ Description?: DescriptionString; /** - * The data format of the schema definition. Currently AVRO and JSON are supported. + * The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported. */ DataFormat?: DataFormat; /** @@ -5169,7 +5169,7 @@ declare namespace Glue { */ SchemaDefinition?: SchemaDefinitionString; /** - * The data format of the schema definition. Currently AVRO and JSON are supported. + * The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported. */ DataFormat?: DataFormat; /** @@ -7610,6 +7610,10 @@ declare namespace Glue { * The name of the workflow to start. */ Name: NameString; + /** + * The workflow run properties for the new workflow run. + */ + RunProperties?: WorkflowRunProperties; } export interface StartWorkflowRunResponse { /** @@ -7818,6 +7822,7 @@ declare namespace Glue { * The ID of the Data Catalog in which the table resides. */ CatalogId?: CatalogIdString; + VersionId?: VersionString; } export interface TableError { /** @@ -8671,6 +8676,7 @@ declare namespace Glue { * The transaction ID at which to update the table contents. */ TransactionId?: TransactionIdString; + VersionId?: VersionString; } export interface UpdateTableResponse { } diff --git a/node_modules/aws-sdk/clients/guardduty.d.ts b/node_modules/aws-sdk/clients/guardduty.d.ts index 13837f3ab..fade07076 100644 --- a/node_modules/aws-sdk/clients/guardduty.d.ts +++ b/node_modules/aws-sdk/clients/guardduty.d.ts @@ -44,19 +44,19 @@ declare class GuardDuty extends Service { */ createFilter(callback?: (err: AWSError, data: GuardDuty.Types.CreateFilterResponse) => void): Request; /** - * Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with AWS infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation. + * Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation. */ createIPSet(params: GuardDuty.Types.CreateIPSetRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateIPSetResponse) => void): Request; /** - * Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with AWS infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation. + * Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation. */ createIPSet(callback?: (err: AWSError, data: GuardDuty.Types.CreateIPSetResponse) => void): Request; /** - * Creates member accounts of the current AWS account by specifying a list of AWS account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization. When using Create Members as an organizations delegated administrator this action will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account, which must enable GuardDuty prior to being added as a member. If you are adding accounts by invitation use this action after GuardDuty has been enabled in potential member accounts and before using Invite Members . + * Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization. When using Create Members as an organizations delegated administrator this action will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account, which must enable GuardDuty prior to being added as a member. If you are adding accounts by invitation use this action after GuardDuty has been enabled in potential member accounts and before using Invite Members . */ createMembers(params: GuardDuty.Types.CreateMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.CreateMembersResponse) => void): Request; /** - * Creates member accounts of the current AWS account by specifying a list of AWS account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization. When using Create Members as an organizations delegated administrator this action will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account, which must enable GuardDuty prior to being added as a member. If you are adding accounts by invitation use this action after GuardDuty has been enabled in potential member accounts and before using Invite Members . + * Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization. When using Create Members as an organizations delegated administrator this action will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account, which must enable GuardDuty prior to being added as a member. If you are adding accounts by invitation use this action after GuardDuty has been enabled in potential member accounts and before using Invite Members . */ createMembers(callback?: (err: AWSError, data: GuardDuty.Types.CreateMembersResponse) => void): Request; /** @@ -84,11 +84,11 @@ declare class GuardDuty extends Service { */ createThreatIntelSet(callback?: (err: AWSError, data: GuardDuty.Types.CreateThreatIntelSetResponse) => void): Request; /** - * Declines invitations sent to the current member account by AWS accounts specified by their account IDs. + * Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs. */ declineInvitations(params: GuardDuty.Types.DeclineInvitationsRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeclineInvitationsResponse) => void): Request; /** - * Declines invitations sent to the current member account by AWS accounts specified by their account IDs. + * Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs. */ declineInvitations(callback?: (err: AWSError, data: GuardDuty.Types.DeclineInvitationsResponse) => void): Request; /** @@ -116,11 +116,11 @@ declare class GuardDuty extends Service { */ deleteIPSet(callback?: (err: AWSError, data: GuardDuty.Types.DeleteIPSetResponse) => void): Request; /** - * Deletes invitations sent to the current member account by AWS accounts specified by their account IDs. + * Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs. */ deleteInvitations(params: GuardDuty.Types.DeleteInvitationsRequest, callback?: (err: AWSError, data: GuardDuty.Types.DeleteInvitationsResponse) => void): Request; /** - * Deletes invitations sent to the current member account by AWS accounts specified by their account IDs. + * Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs. */ deleteInvitations(callback?: (err: AWSError, data: GuardDuty.Types.DeleteInvitationsResponse) => void): Request; /** @@ -164,11 +164,11 @@ declare class GuardDuty extends Service { */ describePublishingDestination(callback?: (err: AWSError, data: GuardDuty.Types.DescribePublishingDestinationResponse) => void): Request; /** - * Disables an AWS account within the Organization as the GuardDuty delegated administrator. + * Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator. */ disableOrganizationAdminAccount(params: GuardDuty.Types.DisableOrganizationAdminAccountRequest, callback?: (err: AWSError, data: GuardDuty.Types.DisableOrganizationAdminAccountResponse) => void): Request; /** - * Disables an AWS account within the Organization as the GuardDuty delegated administrator. + * Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator. */ disableOrganizationAdminAccount(callback?: (err: AWSError, data: GuardDuty.Types.DisableOrganizationAdminAccountResponse) => void): Request; /** @@ -188,11 +188,11 @@ declare class GuardDuty extends Service { */ disassociateMembers(callback?: (err: AWSError, data: GuardDuty.Types.DisassociateMembersResponse) => void): Request; /** - * Enables an AWS account within the organization as the GuardDuty delegated administrator. + * Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator. */ enableOrganizationAdminAccount(params: GuardDuty.Types.EnableOrganizationAdminAccountRequest, callback?: (err: AWSError, data: GuardDuty.Types.EnableOrganizationAdminAccountResponse) => void): Request; /** - * Enables an AWS account within the organization as the GuardDuty delegated administrator. + * Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator. */ enableOrganizationAdminAccount(callback?: (err: AWSError, data: GuardDuty.Types.EnableOrganizationAdminAccountResponse) => void): Request; /** @@ -284,11 +284,11 @@ declare class GuardDuty extends Service { */ getUsageStatistics(callback?: (err: AWSError, data: GuardDuty.Types.GetUsageStatisticsResponse) => void): Request; /** - * Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty, and allow the current AWS account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account. + * Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account. */ inviteMembers(params: GuardDuty.Types.InviteMembersRequest, callback?: (err: AWSError, data: GuardDuty.Types.InviteMembersResponse) => void): Request; /** - * Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty, and allow the current AWS account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account. + * Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account. */ inviteMembers(callback?: (err: AWSError, data: GuardDuty.Types.InviteMembersResponse) => void): Request; /** @@ -324,11 +324,11 @@ declare class GuardDuty extends Service { */ listIPSets(callback?: (err: AWSError, data: GuardDuty.Types.ListIPSetsResponse) => void): Request; /** - * Lists all GuardDuty membership invitations that were sent to the current AWS account. + * Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account. */ listInvitations(params: GuardDuty.Types.ListInvitationsRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListInvitationsResponse) => void): Request; /** - * Lists all GuardDuty membership invitations that were sent to the current AWS account. + * Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account. */ listInvitations(callback?: (err: AWSError, data: GuardDuty.Types.ListInvitationsResponse) => void): Request; /** @@ -348,11 +348,11 @@ declare class GuardDuty extends Service { */ listOrganizationAdminAccounts(callback?: (err: AWSError, data: GuardDuty.Types.ListOrganizationAdminAccountsResponse) => void): Request; /** - * Returns a list of publishing destinations associated with the specified dectectorId. + * Returns a list of publishing destinations associated with the specified detectorId. */ listPublishingDestinations(params: GuardDuty.Types.ListPublishingDestinationsRequest, callback?: (err: AWSError, data: GuardDuty.Types.ListPublishingDestinationsResponse) => void): Request; /** - * Returns a list of publishing destinations associated with the specified dectectorId. + * Returns a list of publishing destinations associated with the specified detectorId. */ listPublishingDestinations(callback?: (err: AWSError, data: GuardDuty.Types.ListPublishingDestinationsResponse) => void): Request; /** @@ -561,10 +561,14 @@ declare namespace GuardDuty { * Information about the PORT_PROBE action described in this finding. */ PortProbeAction?: PortProbeAction; + /** + * Information about the Kubernetes API call action described in this finding. + */ + KubernetesApiCallAction?: KubernetesApiCallAction; } export interface AdminAccount { /** - * The AWS account ID for the account. + * The Amazon Web Services account ID for the account. */ AdminAccountId?: String; /** @@ -588,29 +592,34 @@ declare namespace GuardDuty { } export interface AwsApiCallAction { /** - * The AWS API name. + * The Amazon Web Services API name. */ Api?: String; /** - * The AWS API caller type. + * The Amazon Web Services API caller type. */ CallerType?: String; /** - * The domain information for the AWS API call. + * The domain information for the Amazon Web Services API call. */ DomainDetails?: DomainDetails; /** - * The error code of the failed AWS API action. + * The error code of the failed Amazon Web Services API action. */ ErrorCode?: String; + UserAgent?: String; /** - * The remote IP information of the connection that initiated the AWS API call. + * The remote IP information of the connection that initiated the Amazon Web Services API call. */ RemoteIpDetails?: RemoteIpDetails; /** - * The AWS service name whose API was invoked. + * The Amazon Web Services service name whose API was invoked. */ ServiceName?: String; + /** + * The details of the Amazon Web Services account that made the API call. This field appears if the call was made from outside your account. + */ + RemoteAccountDetails?: RemoteAccountDetails; } export interface BlockPublicAccess { /** @@ -718,6 +727,37 @@ declare namespace GuardDuty { */ LessThanOrEqual?: Long; } + export interface Container { + /** + * The container runtime (such as, Docker or containerd) used to run the container. + */ + ContainerRuntime?: String; + /** + * Container ID. + */ + Id?: String; + /** + * Container name. + */ + Name?: String; + /** + * Container image. + */ + Image?: String; + /** + * Part of the image name before the last slash. For example, imagePrefix for public.ecr.aws/amazonlinux/amazonlinux:latest would be public.ecr.aws/amazonlinux. If the image name is relative and does not have a slash, this field is empty. + */ + ImagePrefix?: String; + /** + * Container volume mounts. + */ + VolumeMounts?: VolumeMounts; + /** + * Container security context. + */ + SecurityContext?: SecurityContext; + } + export type Containers = Container[]; export type CountBySeverity = {[key: string]: Integer}; export interface Country { /** @@ -779,7 +819,7 @@ declare namespace GuardDuty { */ Rank?: FilterRank; /** - * Represents the criteria to be used in the filter for querying findings. You can only use the following attributes to query findings: accountId region confidence id resource.accessKeyDetails.accessKeyId resource.accessKeyDetails.principalId resource.accessKeyDetails.userName resource.accessKeyDetails.userType resource.instanceDetails.iamInstanceProfile.id resource.instanceDetails.imageId resource.instanceDetails.instanceId resource.instanceDetails.outpostArn resource.instanceDetails.networkInterfaces.ipv6Addresses resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress resource.instanceDetails.networkInterfaces.publicDnsName resource.instanceDetails.networkInterfaces.publicIp resource.instanceDetails.networkInterfaces.securityGroups.groupId resource.instanceDetails.networkInterfaces.securityGroups.groupName resource.instanceDetails.networkInterfaces.subnetId resource.instanceDetails.networkInterfaces.vpcId resource.instanceDetails.tags.key resource.instanceDetails.tags.value resource.resourceType service.action.actionType service.action.awsApiCallAction.api service.action.awsApiCallAction.callerType service.action.awsApiCallAction.errorCode service.action.awsApiCallAction.remoteIpDetails.city.cityName service.action.awsApiCallAction.remoteIpDetails.country.countryName service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 service.action.awsApiCallAction.remoteIpDetails.organization.asn service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg service.action.awsApiCallAction.serviceName service.action.dnsRequestAction.domain service.action.networkConnectionAction.blocked service.action.networkConnectionAction.connectionDirection service.action.networkConnectionAction.localPortDetails.port service.action.networkConnectionAction.protocol service.action.networkConnectionAction.localIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.city.cityName service.action.networkConnectionAction.remoteIpDetails.country.countryName service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.organization.asn service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg service.action.networkConnectionAction.remotePortDetails.port service.additionalInfo.threatListName service.archived When this attribute is set to TRUE, only archived findings are listed. When it's set to FALSE, only unarchived findings are listed. When this attribute is not set, all existing findings are listed. service.resourceRole severity type updatedAt Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds. + * Represents the criteria to be used in the filter for querying findings. You can only use the following attributes to query findings: accountId region confidence id resource.accessKeyDetails.accessKeyId resource.accessKeyDetails.principalId resource.accessKeyDetails.userName resource.accessKeyDetails.userType resource.instanceDetails.iamInstanceProfile.id resource.instanceDetails.imageId resource.instanceDetails.instanceId resource.instanceDetails.outpostArn resource.instanceDetails.networkInterfaces.ipv6Addresses resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress resource.instanceDetails.networkInterfaces.publicDnsName resource.instanceDetails.networkInterfaces.publicIp resource.instanceDetails.networkInterfaces.securityGroups.groupId resource.instanceDetails.networkInterfaces.securityGroups.groupName resource.instanceDetails.networkInterfaces.subnetId resource.instanceDetails.networkInterfaces.vpcId resource.instanceDetails.tags.key resource.instanceDetails.tags.value resource.resourceType service.action.actionType service.action.awsApiCallAction.api service.action.awsApiCallAction.callerType service.action.awsApiCallAction.errorCode service.action.awsApiCallAction.remoteIpDetails.city.cityName service.action.awsApiCallAction.remoteIpDetails.country.countryName service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 service.action.awsApiCallAction.remoteIpDetails.organization.asn service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg service.action.awsApiCallAction.serviceName service.action.dnsRequestAction.domain service.action.networkConnectionAction.blocked service.action.networkConnectionAction.connectionDirection service.action.networkConnectionAction.localPortDetails.port service.action.networkConnectionAction.protocol service.action.networkConnectionAction.localIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.city.cityName service.action.networkConnectionAction.remoteIpDetails.country.countryName service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.organization.asn service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg service.action.networkConnectionAction.remotePortDetails.port service.additionalInfo.threatListName resource.s3BucketDetails.publicAccess.effectivePermissions resource.s3BucketDetails.name resource.s3BucketDetails.tags.key resource.s3BucketDetails.tags.value resource.s3BucketDetails.type service.archived When this attribute is set to TRUE, only archived findings are listed. When it's set to FALSE, only unarchived findings are listed. When this attribute is not set, all existing findings are listed. service.resourceRole severity type updatedAt Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds. */ FindingCriteria: FindingCriteria; /** @@ -811,7 +851,7 @@ declare namespace GuardDuty { */ Format: IpSetFormat; /** - * The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. + * The URI of the file that contains the IPSet. */ Location: Location; /** @@ -899,7 +939,7 @@ declare namespace GuardDuty { */ Format: ThreatIntelSetFormat; /** - * The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. + * The URI of the file that contains the ThreatIntelSet. */ Location: Location; /** @@ -928,12 +968,16 @@ declare namespace GuardDuty { */ Status: DataSourceStatus; } - export type DataSource = "FLOW_LOGS"|"CLOUD_TRAIL"|"DNS_LOGS"|"S3_LOGS"|string; + export type DataSource = "FLOW_LOGS"|"CLOUD_TRAIL"|"DNS_LOGS"|"S3_LOGS"|"KUBERNETES_AUDIT_LOGS"|string; export interface DataSourceConfigurations { /** * Describes whether S3 data event logs are enabled as a data source. */ S3Logs?: S3LogsConfiguration; + /** + * Describes whether any Kubernetes logs are enabled as data sources. + */ + Kubernetes?: KubernetesConfiguration; } export interface DataSourceConfigurationsResult { /** @@ -952,12 +996,16 @@ declare namespace GuardDuty { * An object that contains information on the status of S3 Data event logs as a data source. */ S3Logs: S3LogsConfigurationResult; + /** + * An object that contains information on the status of all Kubernetes data sources. + */ + Kubernetes?: KubernetesConfigurationResult; } export type DataSourceList = DataSource[]; export type DataSourceStatus = "ENABLED"|"DISABLED"|string; export interface DeclineInvitationsRequest { /** - * A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to decline invitations from. + * A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member account that you want to decline invitations from. */ AccountIds: AccountIds; } @@ -1011,7 +1059,7 @@ declare namespace GuardDuty { } export interface DeleteInvitationsRequest { /** - * A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to delete invitations from. + * A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member account that you want to delete invitations from. */ AccountIds: AccountIds; } @@ -1129,7 +1177,7 @@ declare namespace GuardDuty { } export interface DestinationProperties { /** - * The ARN of the resource to publish to. + * The ARN of the resource to publish to. To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/ */ DestinationArn?: String; /** @@ -1144,7 +1192,7 @@ declare namespace GuardDuty { export type DetectorStatus = "ENABLED"|"DISABLED"|string; export interface DisableOrganizationAdminAccountRequest { /** - * The AWS Account ID for the organizations account to be disabled as a GuardDuty delegated administrator. + * The Amazon Web Services Account ID for the organizations account to be disabled as a GuardDuty delegated administrator. */ AdminAccountId: String; } @@ -1182,15 +1230,41 @@ declare namespace GuardDuty { } export interface DomainDetails { /** - * The domain information for the AWS API call. + * The domain information for the Amazon Web Services API call. */ Domain?: String; } export type Double = number; + export interface EksClusterDetails { + /** + * EKS cluster name. + */ + Name?: String; + /** + * EKS cluster ARN. + */ + Arn?: String; + /** + * The VPC ID to which the EKS cluster is attached. + */ + VpcId?: String; + /** + * The EKS cluster status. + */ + Status?: String; + /** + * The EKS cluster tags. + */ + Tags?: Tags; + /** + * The timestamp when the EKS cluster was created. + */ + CreatedAt?: Timestamp; + } export type Email = string; export interface EnableOrganizationAdminAccountRequest { /** - * The AWS Account ID for the organization account to be enabled as a GuardDuty delegated administrator. + * The Amazon Web Services Account ID for the organization account to be enabled as a GuardDuty delegated administrator. */ AdminAccountId: String; } @@ -1434,7 +1508,7 @@ declare namespace GuardDuty { */ Format: IpSetFormat; /** - * The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. + * The URI of the file that contains the IPSet. */ Location: Location; /** @@ -1526,7 +1600,7 @@ declare namespace GuardDuty { */ Format: ThreatIntelSetFormat; /** - * The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. + * The URI of the file that contains the ThreatIntelSet. */ Location: Location; /** @@ -1574,7 +1648,14 @@ declare namespace GuardDuty { */ NextToken?: String; } + export type Groups = String[]; export type GuardDutyArn = string; + export interface HostPath { + /** + * Path of the file or directory on the host that the volume maps to. + */ + Path?: String; + } export interface IamInstanceProfile { /** * The profile ARN of the EC2 instance. @@ -1615,7 +1696,7 @@ declare namespace GuardDuty { */ InstanceType?: String; /** - * The Amazon Resource Name (ARN) of the AWS Outpost. Only applicable to AWS Outposts instances. + * The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. Only applicable to Amazon Web Services Outposts instances. */ OutpostArn?: String; /** @@ -1687,6 +1768,111 @@ declare namespace GuardDuty { export type IpSetIds = String[]; export type IpSetStatus = "INACTIVE"|"ACTIVATING"|"ACTIVE"|"DEACTIVATING"|"ERROR"|"DELETE_PENDING"|"DELETED"|string; export type Ipv6Addresses = String[]; + export interface KubernetesApiCallAction { + /** + * The Kubernetes API request URI. + */ + RequestUri?: String; + /** + * The Kubernetes API request HTTP verb. + */ + Verb?: String; + /** + * The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API endpoint. + */ + SourceIps?: SourceIps; + /** + * The user agent of the caller of the Kubernetes API. + */ + UserAgent?: String; + RemoteIpDetails?: RemoteIpDetails; + /** + * The resulting HTTP response code of the Kubernetes API call action. + */ + StatusCode?: Integer; + /** + * Parameters related to the Kubernetes API call action. + */ + Parameters?: String; + } + export interface KubernetesAuditLogsConfiguration { + /** + * The status of Kubernetes audit logs as a data source. + */ + Enable: Boolean; + } + export interface KubernetesAuditLogsConfigurationResult { + /** + * A value that describes whether Kubernetes audit logs are enabled as a data source. + */ + Status: DataSourceStatus; + } + export interface KubernetesConfiguration { + /** + * The status of Kubernetes audit logs as a data source. + */ + AuditLogs: KubernetesAuditLogsConfiguration; + } + export interface KubernetesConfigurationResult { + /** + * Describes whether Kubernetes audit logs are enabled as a data source. + */ + AuditLogs: KubernetesAuditLogsConfigurationResult; + } + export interface KubernetesDetails { + /** + * Details about the Kubernetes user involved in a Kubernetes finding. + */ + KubernetesUserDetails?: KubernetesUserDetails; + /** + * Details about the Kubernetes workload involved in a Kubernetes finding. + */ + KubernetesWorkloadDetails?: KubernetesWorkloadDetails; + } + export interface KubernetesUserDetails { + /** + * The username of the user who called the Kubernetes API. + */ + Username?: String; + /** + * The user ID of the user who called the Kubernetes API. + */ + Uid?: String; + /** + * The groups that include the user who called the Kubernetes API. + */ + Groups?: Groups; + } + export interface KubernetesWorkloadDetails { + /** + * Kubernetes workload name. + */ + Name?: String; + /** + * Kubernetes workload type (e.g. Pod, Deployment, etc.). + */ + Type?: String; + /** + * Kubernetes workload ID. + */ + Uid?: String; + /** + * Kubernetes namespace that the workload is part of. + */ + Namespace?: String; + /** + * Whether the hostNetwork flag is enabled for the pods included in the workload. + */ + HostNetwork?: Boolean; + /** + * Containers running as part of the Kubernetes workload. + */ + Containers?: Containers; + /** + * Volumes used by the Kubernetes workload. + */ + Volumes?: Volumes; + } export interface ListDetectorsRequest { /** * You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50. @@ -1737,7 +1923,7 @@ declare namespace GuardDuty { */ DetectorId: DetectorId; /** - * Represents the criteria used for querying findings. Valid values include: JSON field name accountId region confidence id resource.accessKeyDetails.accessKeyId resource.accessKeyDetails.principalId resource.accessKeyDetails.userName resource.accessKeyDetails.userType resource.instanceDetails.iamInstanceProfile.id resource.instanceDetails.imageId resource.instanceDetails.instanceId resource.instanceDetails.networkInterfaces.ipv6Addresses resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress resource.instanceDetails.networkInterfaces.publicDnsName resource.instanceDetails.networkInterfaces.publicIp resource.instanceDetails.networkInterfaces.securityGroups.groupId resource.instanceDetails.networkInterfaces.securityGroups.groupName resource.instanceDetails.networkInterfaces.subnetId resource.instanceDetails.networkInterfaces.vpcId resource.instanceDetails.tags.key resource.instanceDetails.tags.value resource.resourceType service.action.actionType service.action.awsApiCallAction.api service.action.awsApiCallAction.callerType service.action.awsApiCallAction.remoteIpDetails.city.cityName service.action.awsApiCallAction.remoteIpDetails.country.countryName service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 service.action.awsApiCallAction.remoteIpDetails.organization.asn service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg service.action.awsApiCallAction.serviceName service.action.dnsRequestAction.domain service.action.networkConnectionAction.blocked service.action.networkConnectionAction.connectionDirection service.action.networkConnectionAction.localPortDetails.port service.action.networkConnectionAction.protocol service.action.networkConnectionAction.remoteIpDetails.city.cityName service.action.networkConnectionAction.remoteIpDetails.country.countryName service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.organization.asn service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg service.action.networkConnectionAction.remotePortDetails.port service.additionalInfo.threatListName service.archived When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed. service.resourceRole severity type updatedAt Type: Timestamp in Unix Epoch millisecond format: 1486685375000 + * Represents the criteria used for querying findings. Valid values include: JSON field name accountId region confidence id resource.accessKeyDetails.accessKeyId resource.accessKeyDetails.principalId resource.accessKeyDetails.userName resource.accessKeyDetails.userType resource.instanceDetails.iamInstanceProfile.id resource.instanceDetails.imageId resource.instanceDetails.instanceId resource.instanceDetails.networkInterfaces.ipv6Addresses resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress resource.instanceDetails.networkInterfaces.publicDnsName resource.instanceDetails.networkInterfaces.publicIp resource.instanceDetails.networkInterfaces.securityGroups.groupId resource.instanceDetails.networkInterfaces.securityGroups.groupName resource.instanceDetails.networkInterfaces.subnetId resource.instanceDetails.networkInterfaces.vpcId resource.instanceDetails.tags.key resource.instanceDetails.tags.value resource.resourceType service.action.actionType service.action.awsApiCallAction.api service.action.awsApiCallAction.callerType service.action.awsApiCallAction.remoteIpDetails.city.cityName service.action.awsApiCallAction.remoteIpDetails.country.countryName service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 service.action.awsApiCallAction.remoteIpDetails.organization.asn service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg service.action.awsApiCallAction.serviceName service.action.dnsRequestAction.domain service.action.networkConnectionAction.blocked service.action.networkConnectionAction.connectionDirection service.action.networkConnectionAction.localPortDetails.port service.action.networkConnectionAction.protocol service.action.networkConnectionAction.remoteIpDetails.country.countryName service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 service.action.networkConnectionAction.remoteIpDetails.organization.asn service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg service.action.networkConnectionAction.remotePortDetails.port service.additionalInfo.threatListName service.archived When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed. service.resourceRole severity type updatedAt Type: Timestamp in Unix Epoch millisecond format: 1486685375000 */ FindingCriteria?: FindingCriteria; /** @@ -2094,12 +2280,44 @@ declare namespace GuardDuty { * Describes whether S3 data event logs are enabled for new members of the organization. */ S3Logs?: OrganizationS3LogsConfiguration; + /** + * Describes the configuration of Kubernetes data sources for new members of the organization. + */ + Kubernetes?: OrganizationKubernetesConfiguration; } export interface OrganizationDataSourceConfigurationsResult { /** * Describes whether S3 data event logs are enabled as a data source. */ S3Logs: OrganizationS3LogsConfigurationResult; + /** + * Describes the configuration of Kubernetes data sources. + */ + Kubernetes?: OrganizationKubernetesConfigurationResult; + } + export interface OrganizationKubernetesAuditLogsConfiguration { + /** + * A value that contains information on whether Kubernetes audit logs should be enabled automatically as a data source for the organization. + */ + AutoEnable: Boolean; + } + export interface OrganizationKubernetesAuditLogsConfigurationResult { + /** + * Whether Kubernetes audit logs data source should be auto-enabled for new members joining the organization. + */ + AutoEnable: Boolean; + } + export interface OrganizationKubernetesConfiguration { + /** + * Whether Kubernetes audit logs data source should be auto-enabled for new members joining the organization. + */ + AuditLogs: OrganizationKubernetesAuditLogsConfiguration; + } + export interface OrganizationKubernetesConfigurationResult { + /** + * The current configuration of Kubernetes audit logs as a data source for the organization. + */ + AuditLogs: OrganizationKubernetesAuditLogsConfigurationResult; } export interface OrganizationS3LogsConfiguration { /** @@ -2187,6 +2405,16 @@ declare namespace GuardDuty { EffectivePermission?: String; } export type PublishingStatus = "PENDING_VERIFICATION"|"PUBLISHING"|"UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY"|"STOPPED"|string; + export interface RemoteAccountDetails { + /** + * The Amazon Web Services account ID of the remote API caller. + */ + AccountId?: String; + /** + * Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment. If this value is True the API caller is affiliated to your account in some way. If it is False the API caller is from outside your environment. + */ + Affiliated?: Boolean; + } export interface RemoteIpDetails { /** * The city information of the remote IP address. @@ -2233,7 +2461,15 @@ declare namespace GuardDuty { */ InstanceDetails?: InstanceDetails; /** - * The type of AWS resource. + * Details about the EKS cluster involved in a Kubernetes finding. + */ + EksClusterDetails?: EksClusterDetails; + /** + * Details about the Kubernetes user and workload involved in a Kubernetes finding. + */ + KubernetesDetails?: KubernetesDetails; + /** + * The type of Amazon Web Services resource. */ ResourceType?: String; } @@ -2285,6 +2521,12 @@ declare namespace GuardDuty { */ Status: DataSourceStatus; } + export interface SecurityContext { + /** + * Whether the container is privileged. + */ + Privileged?: Boolean; + } export interface SecurityGroup { /** * The security group ID of the EC2 instance. @@ -2330,7 +2572,7 @@ declare namespace GuardDuty { */ ResourceRole?: String; /** - * The name of the AWS service (GuardDuty) that generated a finding. + * The name of the Amazon Web Services service (GuardDuty) that generated a finding. */ ServiceName?: String; /** @@ -2348,6 +2590,7 @@ declare namespace GuardDuty { */ OrderBy?: OrderBy; } + export type SourceIps = String[]; export interface StartMonitoringMembersRequest { /** * The unique ID of the detector of the GuardDuty administrator account associated with the member accounts to monitor. @@ -2448,7 +2691,7 @@ declare namespace GuardDuty { } export interface UnprocessedAccount { /** - * The AWS account ID. + * The Amazon Web Services account ID. */ AccountId: AccountId; /** @@ -2555,7 +2798,7 @@ declare namespace GuardDuty { */ Name?: Name; /** - * The updated URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. + * The updated URI of the file that contains the IPSet. */ Location?: Location; /** @@ -2679,7 +2922,7 @@ declare namespace GuardDuty { export type UsageDataSourceResultList = UsageDataSourceResult[]; export interface UsageResourceResult { /** - * The AWS resource that generated usage. + * The Amazon Web Services resource that generated usage. */ Resource?: String; /** @@ -2707,6 +2950,28 @@ declare namespace GuardDuty { */ TopResources?: UsageResourceResultList; } + export interface Volume { + /** + * Volume name. + */ + Name?: String; + /** + * Represents a pre-existing file or directory on the host machine that the volume maps to. + */ + HostPath?: HostPath; + } + export interface VolumeMount { + /** + * Volume mount name. + */ + Name?: String; + /** + * Volume mount path. + */ + MountPath?: String; + } + export type VolumeMounts = VolumeMount[]; + export type Volumes = Volume[]; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ diff --git a/node_modules/aws-sdk/clients/honeycode.d.ts b/node_modules/aws-sdk/clients/honeycode.d.ts index dbff3b296..20e1f7920 100644 --- a/node_modules/aws-sdk/clients/honeycode.d.ts +++ b/node_modules/aws-sdk/clients/honeycode.d.ts @@ -91,6 +91,14 @@ declare class Honeycode extends Service { * The ListTables API allows you to retrieve a list of all the tables in a workbook. */ listTables(callback?: (err: AWSError, data: Honeycode.Types.ListTablesResult) => void): Request; + /** + * The ListTagsForResource API allows you to return a resource's tags. + */ + listTagsForResource(params: Honeycode.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Honeycode.Types.ListTagsForResourceResult) => void): Request; + /** + * The ListTagsForResource API allows you to return a resource's tags. + */ + listTagsForResource(callback?: (err: AWSError, data: Honeycode.Types.ListTagsForResourceResult) => void): Request; /** * The QueryTableRows API allows you to use a filter formula to query for specific rows in a table. */ @@ -107,6 +115,22 @@ declare class Honeycode extends Service { * The StartTableDataImportJob API allows you to start an import job on a table. This API will only return the id of the job that was started. To find out the status of the import request, you need to call the DescribeTableDataImportJob API. */ startTableDataImportJob(callback?: (err: AWSError, data: Honeycode.Types.StartTableDataImportJobResult) => void): Request; + /** + * The TagResource API allows you to add tags to an ARN-able resource. Resource includes workbook, table, screen and screen-automation. + */ + tagResource(params: Honeycode.Types.TagResourceRequest, callback?: (err: AWSError, data: Honeycode.Types.TagResourceResult) => void): Request; + /** + * The TagResource API allows you to add tags to an ARN-able resource. Resource includes workbook, table, screen and screen-automation. + */ + tagResource(callback?: (err: AWSError, data: Honeycode.Types.TagResourceResult) => void): Request; + /** + * The UntagResource API allows you to removes tags from an ARN-able resource. Resource includes workbook, table, screen and screen-automation. + */ + untagResource(params: Honeycode.Types.UntagResourceRequest, callback?: (err: AWSError, data: Honeycode.Types.UntagResourceResult) => void): Request; + /** + * The UntagResource API allows you to removes tags from an ARN-able resource. Resource includes workbook, table, screen and screen-automation. + */ + untagResource(callback?: (err: AWSError, data: Honeycode.Types.UntagResourceResult) => void): Request; } declare namespace Honeycode { export type AwsUserArn = string; @@ -242,19 +266,27 @@ declare namespace Honeycode { */ format?: Format; /** - * The raw value of the data contained in the cell. The raw value depends on the format of the data in the cell. However the attribute in the API return value is always a string containing the raw value. Cells with format DATE, DATE_TIME or TIME have the raw value as a floating point number where the whole number represents the number of days since 1/1/1900 and the fractional part represents the fraction of the day since midnight. For example, a cell with date 11/3/2020 has the raw value "44138". A cell with the time 9:00 AM has the raw value "0.375" and a cell with date/time value of 11/3/2020 9:00 AM has the raw value "44138.375". Notice that even though the raw value is a number in all three cases, it is still represented as a string. Cells with format NUMBER, CURRENCY, PERCENTAGE and ACCOUNTING have the raw value of the data as the number representing the data being displayed. For example, the number 1.325 with two decimal places in the format will have it's raw value as "1.325" and formatted value as "1.33". A currency value for $10 will have the raw value as "10" and formatted value as "$10.00". A value representing 20% with two decimal places in the format will have its raw value as "0.2" and the formatted value as "20.00%". An accounting value of -$25 will have "-25" as the raw value and "$ (25.00)" as the formatted value. Cells with format TEXT will have the raw text as the raw value. For example, a cell with text "John Smith" will have "John Smith" as both the raw value and the formatted value. Cells with format CONTACT will have the name of the contact as a formatted value and the email address of the contact as the raw value. For example, a contact for John Smith will have "John Smith" as the formatted value and "john.smith@example.com" as the raw value. Cells with format ROWLINK (aka picklist) will have the first column of the linked row as the formatted value and the row id of the linked row as the raw value. For example, a cell containing a picklist to a table that displays task status might have "Completed" as the formatted value and "row:dfcefaee-5b37-4355-8f28-40c3e4ff5dd4/ca432b2f-b8eb-431d-9fb5-cbe0342f9f03" as the raw value. Cells with format AUTO or cells without any format that are auto-detected as one of the formats above will contain the raw and formatted values as mentioned above, based on the auto-detected formats. If there is no auto-detected format, the raw and formatted values will be the same as the data in the cell. + * The raw value of the data contained in the cell. The raw value depends on the format of the data in the cell. However the attribute in the API return value is always a string containing the raw value. Cells with format DATE, DATE_TIME or TIME have the raw value as a floating point number where the whole number represents the number of days since 1/1/1900 and the fractional part represents the fraction of the day since midnight. For example, a cell with date 11/3/2020 has the raw value "44138". A cell with the time 9:00 AM has the raw value "0.375" and a cell with date/time value of 11/3/2020 9:00 AM has the raw value "44138.375". Notice that even though the raw value is a number in all three cases, it is still represented as a string. Cells with format NUMBER, CURRENCY, PERCENTAGE and ACCOUNTING have the raw value of the data as the number representing the data being displayed. For example, the number 1.325 with two decimal places in the format will have it's raw value as "1.325" and formatted value as "1.33". A currency value for $10 will have the raw value as "10" and formatted value as "$10.00". A value representing 20% with two decimal places in the format will have its raw value as "0.2" and the formatted value as "20.00%". An accounting value of -$25 will have "-25" as the raw value and "$ (25.00)" as the formatted value. Cells with format TEXT will have the raw text as the raw value. For example, a cell with text "John Smith" will have "John Smith" as both the raw value and the formatted value. Cells with format CONTACT will have the name of the contact as a formatted value and the email address of the contact as the raw value. For example, a contact for John Smith will have "John Smith" as the formatted value and "john.smith@example.com" as the raw value. Cells with format ROWLINK (aka picklist) will have the first column of the linked row as the formatted value and the row id of the linked row as the raw value. For example, a cell containing a picklist to a table that displays task status might have "Completed" as the formatted value and "row:dfcefaee-5b37-4355-8f28-40c3e4ff5dd4/ca432b2f-b8eb-431d-9fb5-cbe0342f9f03" as the raw value. Cells with format ROWSET (aka multi-select or multi-record picklist) will by default have the first column of each of the linked rows as the formatted value in the list, and the rowset id of the linked rows as the raw value. For example, a cell containing a multi-select picklist to a table that contains items might have "Item A", "Item B" in the formatted value list and "rows:b742c1f4-6cb0-4650-a845-35eb86fcc2bb/ [fdea123b-8f68-474a-aa8a-5ff87aa333af,6daf41f0-a138-4eee-89da-123086d36ecf]" as the raw value. Cells with format ATTACHMENT will have the name of the attachment as the formatted value and the attachment id as the raw value. For example, a cell containing an attachment named "image.jpeg" will have "image.jpeg" as the formatted value and "attachment:ca432b2f-b8eb-431d-9fb5-cbe0342f9f03" as the raw value. Cells with format AUTO or cells without any format that are auto-detected as one of the formats above will contain the raw and formatted values as mentioned above, based on the auto-detected formats. If there is no auto-detected format, the raw and formatted values will be the same as the data in the cell. */ rawValue?: RawValue; /** * The formatted value of the cell. This is the value that you see displayed in the cell in the UI. Note that the formatted value of a cell is always represented as a string irrespective of the data that is stored in the cell. For example, if a cell contains a date, the formatted value of the cell is the string representation of the formatted date being shown in the cell in the UI. See details in the rawValue field below for how cells of different formats will have different raw and formatted values. */ formattedValue?: FormattedValue; + /** + * A list of formatted values of the cell. This field is only returned when the cell is ROWSET format (aka multi-select or multi-record picklist). Values in the list are always represented as strings. The formattedValue field will be empty if this field is returned. + */ + formattedValues?: FormattedValuesList; } export interface CellInput { /** * Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign. */ fact?: Fact; + /** + * A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table. + */ + facts?: FactList; } export type Cells = Cell[]; export type ClientRequestToken = string; @@ -341,6 +373,10 @@ declare namespace Honeycode { * The metadata about the job that was submitted for import. */ jobMetadata: TableDataImportJobMetadata; + /** + * If job status is failed, error code to understand reason for the failure. + */ + errorCode?: ErrorCode; } export interface DestinationOptions { /** @@ -349,7 +385,9 @@ declare namespace Honeycode { columnMap?: ImportColumnMap; } export type Email = string; + export type ErrorCode = "ACCESS_DENIED"|"INVALID_URL_ERROR"|"INVALID_IMPORT_OPTIONS_ERROR"|"INVALID_TABLE_ID_ERROR"|"INVALID_TABLE_COLUMN_ID_ERROR"|"TABLE_NOT_FOUND_ERROR"|"FILE_EMPTY_ERROR"|"INVALID_FILE_TYPE_ERROR"|"FILE_PARSING_ERROR"|"FILE_SIZE_LIMIT_ERROR"|"FILE_NOT_FOUND_ERROR"|"UNKNOWN_ERROR"|"RESOURCE_NOT_FOUND_ERROR"|"SYSTEM_LIMIT_ERROR"|string; export type Fact = string; + export type FactList = Fact[]; export interface FailedBatchItem { /** * The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations. @@ -371,8 +409,9 @@ declare namespace Honeycode { */ contextRowId?: RowId; } - export type Format = "AUTO"|"NUMBER"|"CURRENCY"|"DATE"|"TIME"|"DATE_TIME"|"PERCENTAGE"|"TEXT"|"ACCOUNTING"|"CONTACT"|"ROWLINK"|string; + export type Format = "AUTO"|"NUMBER"|"CURRENCY"|"DATE"|"TIME"|"DATE_TIME"|"PERCENTAGE"|"TEXT"|"ACCOUNTING"|"CONTACT"|"ROWLINK"|"ROWSET"|string; export type FormattedValue = string; + export type FormattedValuesList = FormattedValue[]; export type Formula = string; export interface GetScreenDataRequest { /** @@ -380,7 +419,7 @@ declare namespace Honeycode { */ workbookId: ResourceId; /** - * The ID of the app that contains the screem. + * The ID of the app that contains the screen. */ appId: ResourceId; /** @@ -588,6 +627,18 @@ declare namespace Honeycode { */ workbookCursor?: WorkbookCursor; } + export interface ListTagsForResourceRequest { + /** + * The resource's Amazon Resource Name (ARN). + */ + resourceArn: ResourceArn; + } + export interface ListTagsForResourceResult { + /** + * The resource's tags. + */ + tags?: TagsMap; + } export type MaxResults = number; export type Name = string; export type PaginationToken = string; @@ -632,6 +683,7 @@ declare namespace Honeycode { workbookCursor: WorkbookCursor; } export type RawValue = string; + export type ResourceArn = string; export type ResourceId = string; export type ResourceIds = ResourceId[]; export type ResultHeader = ColumnMetadata[]; @@ -763,7 +815,35 @@ declare namespace Honeycode { } export type TableRows = TableRow[]; export type Tables = Table[]; + export type TagKey = string; + export type TagKeysList = TagKey[]; + export interface TagResourceRequest { + /** + * The resource's Amazon Resource Name (ARN). + */ + resourceArn: ResourceArn; + /** + * A list of tags to apply to the resource. + */ + tags: TagsMap; + } + export interface TagResourceResult { + } + export type TagValue = string; + export type TagsMap = {[key: string]: TagValue}; export type TimestampInMillis = Date; + export interface UntagResourceRequest { + /** + * The resource's Amazon Resource Name (ARN). + */ + resourceArn: ResourceArn; + /** + * A list of tag keys to remove from the resource. + */ + tagKeys: TagKeysList; + } + export interface UntagResourceResult { + } export interface UpdateRowData { /** * The id of the row that needs to be updated. diff --git a/node_modules/aws-sdk/clients/iot.d.ts b/node_modules/aws-sdk/clients/iot.d.ts index ffa981f5e..b17f2d464 100644 --- a/node_modules/aws-sdk/clients/iot.d.ts +++ b/node_modules/aws-sdk/clients/iot.d.ts @@ -8310,7 +8310,7 @@ declare namespace Iot { } export type LogTargetConfigurations = LogTargetConfiguration[]; export type LogTargetName = string; - export type LogTargetType = "DEFAULT"|"THING_GROUP"|string; + export type LogTargetType = "DEFAULT"|"THING_GROUP"|"CLIENT_ID"|"SOURCE_IP"|"PRINCIPAL_ID"|string; export interface LoggingOptionsPayload { /** * The ARN of the IAM role that grants access. diff --git a/node_modules/aws-sdk/clients/ioteventsdata.d.ts b/node_modules/aws-sdk/clients/ioteventsdata.d.ts index 809c3b217..a957512d4 100644 --- a/node_modules/aws-sdk/clients/ioteventsdata.d.ts +++ b/node_modules/aws-sdk/clients/ioteventsdata.d.ts @@ -36,11 +36,11 @@ declare class IoTEventsData extends Service { */ batchEnableAlarm(callback?: (err: AWSError, data: IoTEventsData.Types.BatchEnableAlarmResponse) => void): Request; /** - * Sends a set of messages to the AWS IoT Events system. Each message payload is transformed into the input you specify ("inputName") and ingested into any detectors that monitor that input. If multiple messages are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful response. + * Sends a set of messages to the IoT Events system. Each message payload is transformed into the input you specify ("inputName") and ingested into any detectors that monitor that input. If multiple messages are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful response. */ batchPutMessage(params: IoTEventsData.Types.BatchPutMessageRequest, callback?: (err: AWSError, data: IoTEventsData.Types.BatchPutMessageResponse) => void): Request; /** - * Sends a set of messages to the AWS IoT Events system. Each message payload is transformed into the input you specify ("inputName") and ingested into any detectors that monitor that input. If multiple messages are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful response. + * Sends a set of messages to the IoT Events system. Each message payload is transformed into the input you specify ("inputName") and ingested into any detectors that monitor that input. If multiple messages are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful response. */ batchPutMessage(callback?: (err: AWSError, data: IoTEventsData.Types.BatchPutMessageResponse) => void): Request; /** @@ -721,7 +721,7 @@ declare namespace IoTEventsData { */ name: TimerName; /** - * The number of seconds which have elapsed on the timer. + * The expiration time for the timer. */ timestamp: Timestamp; } diff --git a/node_modules/aws-sdk/clients/iotwireless.d.ts b/node_modules/aws-sdk/clients/iotwireless.d.ts index 231c124fc..571e79eab 100644 --- a/node_modules/aws-sdk/clients/iotwireless.d.ts +++ b/node_modules/aws-sdk/clients/iotwireless.d.ts @@ -179,6 +179,14 @@ declare class IoTWireless extends Service { * Deletes a multicast group if it is not in use by a fuota task. */ deleteMulticastGroup(callback?: (err: AWSError, data: IoTWireless.Types.DeleteMulticastGroupResponse) => void): Request; + /** + * The operation to delete queued messages. + */ + deleteQueuedMessages(params: IoTWireless.Types.DeleteQueuedMessagesRequest, callback?: (err: AWSError, data: IoTWireless.Types.DeleteQueuedMessagesResponse) => void): Request; + /** + * The operation to delete queued messages. + */ + deleteQueuedMessages(callback?: (err: AWSError, data: IoTWireless.Types.DeleteQueuedMessagesResponse) => void): Request; /** * Deletes a service profile. */ @@ -483,6 +491,14 @@ declare class IoTWireless extends Service { * Lists the partner accounts associated with your AWS account. */ listPartnerAccounts(callback?: (err: AWSError, data: IoTWireless.Types.ListPartnerAccountsResponse) => void): Request; + /** + * The operation to list queued messages. + */ + listQueuedMessages(params: IoTWireless.Types.ListQueuedMessagesRequest, callback?: (err: AWSError, data: IoTWireless.Types.ListQueuedMessagesResponse) => void): Request; + /** + * The operation to list queued messages. + */ + listQueuedMessages(callback?: (err: AWSError, data: IoTWireless.Types.ListQueuedMessagesResponse) => void): Request; /** * Lists the service profiles registered to your AWS account. */ @@ -1105,6 +1121,22 @@ declare namespace IoTWireless { } export interface DeleteMulticastGroupResponse { } + export interface DeleteQueuedMessagesRequest { + /** + * Id of a given wireless device which messages will be deleted + */ + Id: WirelessDeviceId; + /** + * if messageID=="*", the queue for a particular wireless deviceId will be purged, otherwise, the specific message with messageId will be deleted + */ + MessageId: MessageId; + /** + * The wireless device type, it is either Sidewalk or LoRaWAN. + */ + WirelessDeviceType?: WirelessDeviceType; + } + export interface DeleteQueuedMessagesResponse { + } export interface DeleteServiceProfileRequest { /** * The ID of the resource to delete. @@ -1265,6 +1297,22 @@ declare namespace IoTWireless { export type DlRate = number; export type DlRatePolicy = string; export type Double = number; + export interface DownlinkQueueMessage { + /** + * The messageId allocated by IoT Wireless for tracing purpose + */ + MessageId?: MessageId; + /** + * The transmit mode to use to send data to the wireless device. Can be: 0 for UM (unacknowledge mode) or 1 for AM (acknowledge mode). + */ + TransmitMode?: TransmitMode; + /** + * The timestamp that Iot Wireless received the message. + */ + ReceivedAt?: ISODateTimeString; + LoRaWAN?: LoRaWANSendDataToDevice; + } + export type DownlinkQueueMessagesList = DownlinkQueueMessage[]; export type DrMax = number; export type DrMin = number; export type EndPoint = string; @@ -1832,6 +1880,34 @@ declare namespace IoTWireless { */ Sidewalk?: SidewalkAccountList; } + export interface ListQueuedMessagesRequest { + /** + * Id of a given wireless device which the downlink packets are targeted + */ + Id: WirelessDeviceId; + /** + * To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. + */ + NextToken?: NextToken; + /** + * The maximum number of results to return in this operation. + */ + MaxResults?: MaxResults; + /** + * The wireless device type, it is either Sidewalk or LoRaWAN. + */ + WirelessDeviceType?: WirelessDeviceType; + } + export interface ListQueuedMessagesResponse { + /** + * To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. + */ + NextToken?: NextToken; + /** + * The messages in downlink queue. + */ + DownlinkQueueMessagesList?: DownlinkQueueMessagesList; + } export interface ListServiceProfilesRequest { /** * To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. diff --git a/node_modules/aws-sdk/clients/ivs.d.ts b/node_modules/aws-sdk/clients/ivs.d.ts index ffa166a94..77dcc648b 100644 --- a/node_modules/aws-sdk/clients/ivs.d.ts +++ b/node_modules/aws-sdk/clients/ivs.d.ts @@ -424,6 +424,10 @@ declare namespace IVS { * Array of 1-50 maps, each of the form string:string (key:value). */ tags?: Tags; + /** + * A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session. + */ + thumbnailConfiguration?: ThumbnailConfiguration; } export interface CreateRecordingConfigurationResponse { /** @@ -700,7 +704,7 @@ declare namespace IVS { */ nextToken?: PaginationToken; /** - * + * List of stream sessions. */ streamSessions: StreamSessionList; } @@ -815,6 +819,10 @@ declare namespace IVS { * Array of 1-50 maps, each of the form string:string (key:value). */ tags?: Tags; + /** + * A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session. + */ + thumbnailConfiguration?: ThumbnailConfiguration; } export type RecordingConfigurationArn = string; export type RecordingConfigurationList = RecordingConfigurationSummary[]; @@ -842,6 +850,7 @@ declare namespace IVS { */ tags?: Tags; } + export type RecordingMode = "DISABLED"|"INTERVAL"|string; export type ResourceArn = string; export type S3DestinationBucketName = string; export interface S3DestinationConfiguration { @@ -1045,6 +1054,17 @@ declare namespace IVS { } export type TagValue = string; export type Tags = {[key: string]: TagValue}; + export type TargetIntervalSeconds = number; + export interface ThumbnailConfiguration { + /** + * Thumbnail recording mode. Default: INTERVAL. + */ + recordingMode?: RecordingMode; + /** + * The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if recordingMode is INTERVAL. Default: 60. Important: Setting a value for targetIntervalSeconds does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less than the targetIntervalSeconds value. See Amazon IVS Streaming Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder settings. + */ + targetIntervalSeconds?: TargetIntervalSeconds; + } export type Time = Date; export interface UntagResourceRequest { /** diff --git a/node_modules/aws-sdk/clients/kafka.d.ts b/node_modules/aws-sdk/clients/kafka.d.ts index 82cb72eb7..901496415 100644 --- a/node_modules/aws-sdk/clients/kafka.d.ts +++ b/node_modules/aws-sdk/clients/kafka.d.ts @@ -465,12 +465,16 @@ declare namespace Kafka { */ KafkaBrokerNodeId: __string; + /** + * EBS volume provisioned throughput information. + */ + ProvisionedThroughput?: ProvisionedThroughput; /** * Size of the EBS volume to update. */ - VolumeSizeGB: __integer; + VolumeSizeGB?: __integer; } export interface BrokerLogs { CloudWatchLogs?: CloudWatchLogs; @@ -1549,6 +1553,10 @@ kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge. UnprocessedScramSecrets?: __listOfUnprocessedScramSecret; } export interface EBSStorageInfo { + /** + * EBS volume provisioned throughput information. + */ + ProvisionedThroughput?: ProvisionedThroughput; /** * The size in GiB of the EBS volume for the data drive on each broker node. @@ -2120,6 +2128,16 @@ kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge. */ NodeExporter?: NodeExporterInfo; } + export interface ProvisionedThroughput { + /** + * Provisioned throughput is enabled or not. + */ + Enabled?: __boolean; + /** + * Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second. + */ + VolumeThroughput?: __integer; + } export interface PublicAccess { /** * diff --git a/node_modules/aws-sdk/clients/kendra.d.ts b/node_modules/aws-sdk/clients/kendra.d.ts index d2efa4349..78c2f5bf3 100644 --- a/node_modules/aws-sdk/clients/kendra.d.ts +++ b/node_modules/aws-sdk/clients/kendra.d.ts @@ -28,27 +28,27 @@ declare class Kendra extends Service { */ associatePersonasToEntities(callback?: (err: AWSError, data: Kendra.Types.AssociatePersonasToEntitiesResponse) => void): Request; /** - * Removes one or more documents from an index. The documents must have been added with the BatchPutDocument operation. The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to you CloudWatch log. + * Removes one or more documents from an index. The documents must have been added with the BatchPutDocument API. The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to you CloudWatch log. */ batchDeleteDocument(params: Kendra.Types.BatchDeleteDocumentRequest, callback?: (err: AWSError, data: Kendra.Types.BatchDeleteDocumentResponse) => void): Request; /** - * Removes one or more documents from an index. The documents must have been added with the BatchPutDocument operation. The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to you CloudWatch log. + * Removes one or more documents from an index. The documents must have been added with the BatchPutDocument API. The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to you CloudWatch log. */ batchDeleteDocument(callback?: (err: AWSError, data: Kendra.Types.BatchDeleteDocumentResponse) => void): Request; /** - * Returns the indexing status for one or more documents submitted with the BatchPutDocument operation. When you use the BatchPutDocument operation, documents are indexed asynchronously. You can use the BatchGetDocumentStatus operation to get the current status of a list of documents so that you can determine if they have been successfully indexed. You can also use the BatchGetDocumentStatus operation to check the status of the BatchDeleteDocument operation. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND as the status. + * Returns the indexing status for one or more documents submitted with the BatchPutDocument API. When you use the BatchPutDocument API, documents are indexed asynchronously. You can use the BatchGetDocumentStatus API to get the current status of a list of documents so that you can determine if they have been successfully indexed. You can also use the BatchGetDocumentStatus API to check the status of the BatchDeleteDocument API. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND as the status. */ batchGetDocumentStatus(params: Kendra.Types.BatchGetDocumentStatusRequest, callback?: (err: AWSError, data: Kendra.Types.BatchGetDocumentStatusResponse) => void): Request; /** - * Returns the indexing status for one or more documents submitted with the BatchPutDocument operation. When you use the BatchPutDocument operation, documents are indexed asynchronously. You can use the BatchGetDocumentStatus operation to get the current status of a list of documents so that you can determine if they have been successfully indexed. You can also use the BatchGetDocumentStatus operation to check the status of the BatchDeleteDocument operation. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND as the status. + * Returns the indexing status for one or more documents submitted with the BatchPutDocument API. When you use the BatchPutDocument API, documents are indexed asynchronously. You can use the BatchGetDocumentStatus API to get the current status of a list of documents so that you can determine if they have been successfully indexed. You can also use the BatchGetDocumentStatus API to check the status of the BatchDeleteDocument API. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND as the status. */ batchGetDocumentStatus(callback?: (err: AWSError, data: Kendra.Types.BatchGetDocumentStatusResponse) => void): Request; /** - * Adds one or more documents to an index. The BatchPutDocument operation enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this operation to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index. The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log. + * Adds one or more documents to an index. The BatchPutDocument API enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this API to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index. The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log. */ batchPutDocument(params: Kendra.Types.BatchPutDocumentRequest, callback?: (err: AWSError, data: Kendra.Types.BatchPutDocumentResponse) => void): Request; /** - * Adds one or more documents to an index. The BatchPutDocument operation enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this operation to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index. The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log. + * Adds one or more documents to an index. The BatchPutDocument API enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this API to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index. The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log. */ batchPutDocument(callback?: (err: AWSError, data: Kendra.Types.BatchPutDocumentResponse) => void): Request; /** @@ -76,19 +76,19 @@ declare class Kendra extends Service { */ createExperience(callback?: (err: AWSError, data: Kendra.Types.CreateExperienceResponse) => void): Request; /** - * Creates an new set of frequently asked question (FAQ) questions and answers. + * Creates an new set of frequently asked question (FAQ) questions and answers. Adding FAQs to an index is an asynchronous operation. */ createFaq(params: Kendra.Types.CreateFaqRequest, callback?: (err: AWSError, data: Kendra.Types.CreateFaqResponse) => void): Request; /** - * Creates an new set of frequently asked question (FAQ) questions and answers. + * Creates an new set of frequently asked question (FAQ) questions and answers. Adding FAQs to an index is an asynchronous operation. */ createFaq(callback?: (err: AWSError, data: Kendra.Types.CreateFaqResponse) => void): Request; /** - * Creates a new Amazon Kendra index. Index creation is an asynchronous operation. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active you can index your documents using the BatchPutDocument operation or using one of the supported data sources. + * Creates a new Amazon Kendra index. Index creation is an asynchronous API. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active you can index your documents using the BatchPutDocument API or using one of the supported data sources. */ createIndex(params: Kendra.Types.CreateIndexRequest, callback?: (err: AWSError, data: Kendra.Types.CreateIndexResponse) => void): Request; /** - * Creates a new Amazon Kendra index. Index creation is an asynchronous operation. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active you can index your documents using the BatchPutDocument operation or using one of the supported data sources. + * Creates a new Amazon Kendra index. Index creation is an asynchronous API. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active you can index your documents using the BatchPutDocument API or using one of the supported data sources. */ createIndex(callback?: (err: AWSError, data: Kendra.Types.CreateIndexResponse) => void): Request; /** @@ -108,11 +108,11 @@ declare class Kendra extends Service { */ createThesaurus(callback?: (err: AWSError, data: Kendra.Types.CreateThesaurusResponse) => void): Request; /** - * Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource operation is set to DELETING. For more information, see Deleting Data Sources. + * Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING. For more information, see Deleting Data Sources. */ deleteDataSource(params: Kendra.Types.DeleteDataSourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource operation is set to DELETING. For more information, see Deleting Data Sources. + * Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING. For more information, see Deleting Data Sources. */ deleteDataSource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -132,11 +132,11 @@ declare class Kendra extends Service { */ deleteFaq(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the Status field returned by a call to the DescribeIndex operation is set to DELETING. + * Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the Status field returned by a call to the DescribeIndex API is set to DELETING. */ deleteIndex(params: Kendra.Types.DeleteIndexRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the Status field returned by a call to the DescribeIndex operation is set to DELETING. + * Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the Status field returned by a call to the DescribeIndex API is set to DELETING. */ deleteIndex(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -164,11 +164,11 @@ declare class Kendra extends Service { */ deleteThesaurus(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Gets information about a Amazon Kendra data source. + * Gets information about an Amazon Kendra data source. */ describeDataSource(params: Kendra.Types.DescribeDataSourceRequest, callback?: (err: AWSError, data: Kendra.Types.DescribeDataSourceResponse) => void): Request; /** - * Gets information about a Amazon Kendra data source. + * Gets information about an Amazon Kendra data source. */ describeDataSource(callback?: (err: AWSError, data: Kendra.Types.DescribeDataSourceResponse) => void): Request; /** @@ -356,11 +356,11 @@ declare class Kendra extends Service { */ putPrincipalMapping(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Searches an active index. Use this API to search your documents using query. The Query operation enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results. Relevant passages Matching FAQs Relevant documents You can specify that the query return only one type of result using the QueryResultTypeConfig parameter. Each query returns the 100 most relevant results. + * Searches an active index. Use this API to search your documents using query. The Query API enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results. Relevant passages Matching FAQs Relevant documents You can specify that the query return only one type of result using the QueryResultTypeConfig parameter. Each query returns the 100 most relevant results. */ query(params: Kendra.Types.QueryRequest, callback?: (err: AWSError, data: Kendra.Types.QueryResult) => void): Request; /** - * Searches an active index. Use this API to search your documents using query. The Query operation enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results. Relevant passages Matching FAQs Relevant documents You can specify that the query return only one type of result using the QueryResultTypeConfig parameter. Each query returns the 100 most relevant results. + * Searches an active index. Use this API to search your documents using query. The Query API enables to do faceted search and to filter results based on document attributes. It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results. Relevant passages Matching FAQs Relevant documents You can specify that the query return only one type of result using the QueryResultTypeConfig parameter. Each query returns the 100 most relevant results. */ query(callback?: (err: AWSError, data: Kendra.Types.QueryResult) => void): Request; /** @@ -372,11 +372,11 @@ declare class Kendra extends Service { */ startDataSourceSyncJob(callback?: (err: AWSError, data: Kendra.Types.StartDataSourceSyncJobResponse) => void): Request; /** - * Stops a running synchronization job. You can't stop a scheduled synchronization job. + * Stops a synchronization job that is currently running. You can't stop a scheduled synchronization job. */ stopDataSourceSyncJob(params: Kendra.Types.StopDataSourceSyncJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Stops a running synchronization job. You can't stop a scheduled synchronization job. + * Stops a synchronization job that is currently running. You can't stop a scheduled synchronization job. */ stopDataSourceSyncJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -461,7 +461,7 @@ declare namespace Kendra { } export interface AclConfiguration { /** - * A list of groups, separated by semi-colons, that filters a query response based on user context. The document is only returned to users that are in one of the groups specified in the UserContext field of the Query operation. + * A list of groups, separated by semi-colons, that filters a query response based on user context. The document is only returned to users that are in one of the groups specified in the UserContext field of the Query API. */ AllowedGroupsColumnName: ColumnName; } @@ -628,7 +628,7 @@ declare namespace Kendra { export type BatchDeleteDocumentResponseFailedDocuments = BatchDeleteDocumentResponseFailedDocument[]; export interface BatchGetDocumentStatusRequest { /** - * The identifier of the index to add documents to. The index ID is returned by the CreateIndex operation. + * The identifier of the index to add documents to. The index ID is returned by the CreateIndex API. */ IndexId: IndexId; /** @@ -663,19 +663,19 @@ declare namespace Kendra { export type BatchGetDocumentStatusResponseErrors = BatchGetDocumentStatusResponseError[]; export interface BatchPutDocumentRequest { /** - * The identifier of the index to add the documents to. You need to create the index first using the CreateIndex operation. + * The identifier of the index to add the documents to. You need to create the index first using the CreateIndex API. */ IndexId: IndexId; /** - * The Amazon Resource Name (ARN) of a role that is allowed to run the BatchPutDocument operation. For more information, see IAM Roles for Amazon Kendra. + * The Amazon Resource Name (ARN) of a role that is allowed to run the BatchPutDocument API. For more information, see IAM Roles for Amazon Kendra. */ RoleArn?: RoleArn; /** - * One or more documents to add to the index. Documents can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job. Documents have the following file size limits. 5 MB total size for inline documents 50 MB total size for files from an S3 bucket 5 MB extracted text for any file For more information about file size and transaction per second quotas, see Quotas. + * One or more documents to add to the index. Documents have the following file size limits. 5 MB total size for inline documents 50 MB total size for files from an S3 bucket 5 MB extracted text for any file For more information about file size and transaction per second quotas, see Quotas. */ Documents: DocumentList; /** - * Configuration information for altering your document metadata and content during the document ingestion process when you use the BatchPutDocument operation. For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process. + * Configuration information for altering your document metadata and content during the document ingestion process when you use the BatchPutDocument API. For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process. */ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration; } @@ -746,7 +746,7 @@ declare namespace Kendra { */ DocumentTitleColumnName?: ColumnName; /** - * An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex operation. + * An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API. */ FieldMappings?: DataSourceToIndexFieldMappingList; /** @@ -762,7 +762,7 @@ declare namespace Kendra { */ CrawlAttachments?: Boolean; /** - * Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation. If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping. + * Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex API. If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping. */ AttachmentFieldMappings?: ConfluenceAttachmentFieldMappingsList; } @@ -770,7 +770,7 @@ declare namespace Kendra { export type ConfluenceAttachmentFieldName = "AUTHOR"|"CONTENT_TYPE"|"CREATED_DATE"|"DISPLAY_URL"|"FILE_SIZE"|"ITEM_TYPE"|"PARENT_ID"|"SPACE_KEY"|"SPACE_NAME"|"URL"|"VERSION"|string; export interface ConfluenceAttachmentToIndexFieldMapping { /** - * The name of the field in the data source. You must first create the index field using the UpdateIndex operation. + * The name of the field in the data source. You must first create the index field using the UpdateIndex API. */ DataSourceFieldName?: ConfluenceAttachmentFieldName; /** @@ -784,7 +784,7 @@ declare namespace Kendra { } export interface ConfluenceBlogConfiguration { /** - * Defines how blog metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation. If you specify the BlogFieldMappings parameter, you must specify at least one field mapping. + * Defines how blog metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex API. If you specify the BlogFieldMappings parameter, you must specify at least one field mapping. */ BlogFieldMappings?: ConfluenceBlogFieldMappingsList; } @@ -848,7 +848,7 @@ declare namespace Kendra { } export interface ConfluencePageConfiguration { /** - * Defines how page metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation. If you specify the PageFieldMappings parameter, you must specify at least one field mapping. + * Defines how page metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex API. If you specify the PageFieldMappings parameter, you must specify at least one field mapping. */ PageFieldMappings?: ConfluencePageFieldMappingsList; } @@ -886,7 +886,7 @@ declare namespace Kendra { */ ExcludeSpaces?: ConfluenceSpaceList; /** - * Defines how space metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex operation. If you specify the SpaceFieldMappings parameter, you must specify at least one field mapping. + * Defines how space metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex API. If you specify the SpaceFieldMappings parameter, you must specify at least one field mapping. */ SpaceFieldMappings?: ConfluenceSpaceFieldMappingsList; } @@ -941,7 +941,7 @@ declare namespace Kendra { */ FaqIds?: FaqIdsList; /** - * TRUE to use documents you indexed directly using the BatchPutDocument operation. + * TRUE to use documents you indexed directly using the BatchPutDocument API. */ DirectPutContent?: Boolean; } @@ -969,7 +969,7 @@ declare namespace Kendra { */ Description?: Description; /** - * Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index. You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception. + * Sets the frequency for Amazon Kendra to check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob API to update the index. You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception. */ Schedule?: ScanSchedule; /** @@ -981,7 +981,7 @@ declare namespace Kendra { */ Tags?: TagList; /** - * A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source. + * A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource API with the same client token will create only one data source. */ ClientToken?: ClientTokenName; /** @@ -1009,7 +1009,7 @@ declare namespace Kendra { */ IndexId: IndexId; /** - * The Amazon Resource Name (ARN) of a role with permission to access Query operations, QuerySuggestions operations, SubmitFeedback operations, and Amazon Web Services SSO that stores your user and group information. For more information, see IAM roles for Amazon Kendra. + * The Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and Amazon Web Services SSO that stores your user and group information. For more information, see IAM roles for Amazon Kendra. */ RoleArn?: RoleArn; /** @@ -1021,7 +1021,7 @@ declare namespace Kendra { */ Description?: Description; /** - * A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the CreateExperience operation with the same client token creates only one Amazon Kendra experience. + * A token that you provide to identify the request to create your Amazon Kendra experience. Multiple calls to the CreateExperience API with the same client token creates only one Amazon Kendra experience. */ ClientToken?: ClientTokenName; } @@ -1061,7 +1061,7 @@ declare namespace Kendra { */ FileFormat?: FaqFileFormat; /** - * A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest operation with the same client token will create only one FAQ. + * A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest API with the same client token will create only one FAQ. */ ClientToken?: ClientTokenName; /** @@ -1085,7 +1085,7 @@ declare namespace Kendra { */ Edition?: IndexEdition; /** - * An Identity and Access Management(IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role used when you use the BatchPutDocument operation to index documents from an Amazon S3 bucket. + * An Identity and Access Management(IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role used when you use the BatchPutDocument API to index documents from an Amazon S3 bucket. */ RoleArn: RoleArn; /** @@ -1097,7 +1097,7 @@ declare namespace Kendra { */ Description?: Description; /** - * A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex operation with the same client token will create only one index. + * A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex API with the same client token will create only one index. */ ClientToken?: ClientTokenName; /** @@ -1145,7 +1145,7 @@ declare namespace Kendra { */ ClientToken?: ClientTokenName; /** - * The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in your S3 bucket. You need permissions to the role ARN (Amazon Resource Name). The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra. + * The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in your S3 bucket. You need permissions to the role ARN (Amazon Web Services Resource Name). The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra. */ RoleArn: RoleArn; /** @@ -1185,7 +1185,7 @@ declare namespace Kendra { */ SourceS3Path: S3Path; /** - * A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus operation with the same client token will create only one thesaurus. + * A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus API with the same client token will create only one thesaurus. */ ClientToken?: ClientTokenName; } @@ -1248,9 +1248,13 @@ declare namespace Kendra { GoogleDriveConfiguration?: GoogleDriveConfiguration; WebCrawlerConfiguration?: WebCrawlerConfiguration; /** - * Provides the configuration information to connect to WorkDocs as your data source. + * Provides the configuration information to connect to Amazon WorkDocs as your data source. */ WorkDocsConfiguration?: WorkDocsConfiguration; + /** + * Provides the configuration information to connect to Amazon FSx as your data source. + */ + FsxConfiguration?: FsxConfiguration; } export type DataSourceDateFieldFormat = string; export type DataSourceFieldName = string; @@ -1308,11 +1312,11 @@ declare namespace Kendra { */ ExecutionId?: String; /** - * The UNIX datetime that the synchronization job was started. + * The UNIX datetime that the synchronization job started. */ StartTime?: Timestamp; /** - * The UNIX datetime that the synchronization job was completed. + * The UNIX datetime that the synchronization job completed. */ EndTime?: Timestamp; /** @@ -1324,7 +1328,7 @@ declare namespace Kendra { */ ErrorMessage?: ErrorMessage; /** - * If the Status field is set to FAILED, the ErrorCode field contains a the reason that the synchronization failed. + * If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed. */ ErrorCode?: ErrorCode; /** @@ -1386,7 +1390,7 @@ declare namespace Kendra { IndexFieldName: IndexFieldName; } export type DataSourceToIndexFieldMappingList = DataSourceToIndexFieldMapping[]; - export type DataSourceType = "S3"|"SHAREPOINT"|"DATABASE"|"SALESFORCE"|"ONEDRIVE"|"SERVICENOW"|"CUSTOM"|"CONFLUENCE"|"GOOGLEDRIVE"|"WEBCRAWLER"|"WORKDOCS"|string; + export type DataSourceType = "S3"|"SHAREPOINT"|"DATABASE"|"SALESFORCE"|"ONEDRIVE"|"SERVICENOW"|"CUSTOM"|"CONFLUENCE"|"GOOGLEDRIVE"|"WEBCRAWLER"|"WORKDOCS"|"FSX"|string; export interface DataSourceVpcConfiguration { /** * A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device. @@ -1548,7 +1552,7 @@ declare namespace Kendra { */ Status?: DataSourceStatus; /** - * The schedule that Amazon Kendra will update the data source. + * The schedule for Amazon Kendra to update the index. */ Schedule?: ScanSchedule; /** @@ -1616,7 +1620,7 @@ declare namespace Kendra { */ Status?: ExperienceStatus; /** - * Shows the Amazon Resource Name (ARN) of a role with permission to access Query operations, QuerySuggestions operations, SubmitFeedback operations, and Amazon Web Services SSO that stores your user and group information. + * Shows the Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and Amazon Web Services SSO that stores your user and group information. */ RoleArn?: RoleArn; /** @@ -1853,7 +1857,7 @@ declare namespace Kendra { } export interface DescribeQuerySuggestionsConfigResponse { /** - * Shows whether query suggestions are currently in ENABLED mode or LEARN_ONLY mode. By default, Amazon Kendra enables query suggestions.LEARN_ONLY turns off query suggestions for your users. You can change the mode using the UpdateQuerySuggestionsConfig operation. + * Shows whether query suggestions are currently in ENABLED mode or LEARN_ONLY mode. By default, Amazon Kendra enables query suggestions.LEARN_ONLY turns off query suggestions for your users. You can change the mode using the UpdateQuerySuggestionsConfig API. */ Mode?: Mode; /** @@ -2002,12 +2006,12 @@ declare namespace Kendra { */ Title?: Title; /** - * The contents of the document. Documents passed to the Blob parameter must be base64 encoded. Your code might not need to encode the document file bytes if you're using an Amazon Web Services SDK to call Amazon Kendra operations. If you are calling the Amazon Kendra endpoint directly using REST, you must base64 encode the contents before sending. + * The contents of the document. Documents passed to the Blob parameter must be base64 encoded. Your code might not need to encode the document file bytes if you're using an Amazon Web Services SDK to call Amazon Kendra APIs. If you are calling the Amazon Kendra endpoint directly using REST, you must base64 encode the contents before sending. */ Blob?: _Blob; S3Path?: S3Path; /** - * Custom attributes to apply to the document. Use the custom attributes to provide additional information for searching, to provide facets for refining searches, and to provide additional information in the query response. + * Custom attributes to apply to the document. Use the custom attributes to provide additional information for searching, to provide facets for refining searches, and to provide additional information in the query response. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job. */ Attributes?: DocumentAttributeList; /** @@ -2080,7 +2084,7 @@ declare namespace Kendra { */ LongValue?: Long; /** - * A date expressed as an ISO 8601 string. It is important for the time zone to be included in the ISO 8601 date-time format. For example, 20120325T123010+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time. + * A date expressed as an ISO 8601 string. It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time. */ DateValue?: Timestamp; } @@ -2203,7 +2207,7 @@ declare namespace Kendra { export type ExcludeUserAccountsList = UserAccount[]; export interface ExperienceConfiguration { /** - * The identifiers of your data sources and FAQs. Or, you can specify that you want to use documents indexed via the BatchPutDocument operation. This is the content you want to use for your Amazon Kendra experience. + * The identifiers of your data sources and FAQs. Or, you can specify that you want to use documents indexed via the BatchPutDocument API. This is the content you want to use for your Amazon Kendra experience. */ ContentSourceConfiguration?: ContentSourceConfiguration; /** @@ -2340,6 +2344,38 @@ declare namespace Kendra { } export type FaqSummaryItems = FaqSummary[]; export type FeedbackToken = string; + export type FileSystemId = string; + export interface FsxConfiguration { + /** + * The identifier of the Amazon FSx file system. You can find your file system ID on the file system dashboard in the Amazon FSx console. For information on how to create a file system in Amazon FSx console, using Windows File Server as an example, see Amazon FSx Getting started guide. + */ + FileSystemId: FileSystemId; + /** + * The Amazon FSx file system type. Windows is currently the only supported type. + */ + FileSystemType: FsxFileSystemType; + /** + * Provides the configuration information for connecting to an Amazon Virtual Private Cloud for your Amazon FSx. Your Amazon FSx instance must reside inside your VPC. + */ + VpcConfiguration: DataSourceVpcConfiguration; + /** + * The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys: username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows. password—The password of the active directory user with read and mounting access Amazon FSx Windows file system. + */ + SecretArn?: SecretArn; + /** + * A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index. + */ + InclusionPatterns?: DataSourceInclusionsExclusionsStrings; + /** + * A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index. + */ + ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; + /** + * A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names in Amazon Kendra. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata. + */ + FieldMappings?: DataSourceToIndexFieldMappingList; + } + export type FsxFileSystemType = "WINDOWS"|string; export interface GetQuerySuggestionsRequest { /** * The identifier of the index you want to get query suggestions from. @@ -2418,7 +2454,7 @@ declare namespace Kendra { */ ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; /** - * Defines mapping between a field in the Google Drive and a Amazon Kendra index field. If you are using the console, you can define index fields when creating the mapping. If you are using the API, you must first create the field using the UpdateIndex operation. + * Defines mapping between a field in the Google Drive and a Amazon Kendra index field. If you are using the console, you can define index fields when creating the mapping. If you are using the API, you must first create the field using the UpdateIndex API. */ FieldMappings?: DataSourceToIndexFieldMappingList; /** @@ -2534,7 +2570,7 @@ declare namespace Kendra { */ Name?: IndexName; /** - * A unique identifier for the index. Use this to identify the index when you are using operations such as Query, DescribeIndex, UpdateIndex, and DeleteIndex. + * A unique identifier for the index. Use this to identify the index when you are using APIs such as Query, DescribeIndex, UpdateIndex, and DeleteIndex. */ Id?: IndexId; /** @@ -2546,7 +2582,7 @@ declare namespace Kendra { */ CreatedAt: Timestamp; /** - * The Unix timestamp when the index was last updated by the UpdateIndex operation. + * The Unix timestamp when the index was last updated by the UpdateIndex API. */ UpdatedAt: Timestamp; /** @@ -3081,13 +3117,13 @@ declare namespace Kendra { export type QueryIdentifiersEnclosingOption = "DOUBLE_QUOTES"|"NONE"|string; export interface QueryRequest { /** - * The unique identifier of the index to search. The identifier is returned in the response from the CreateIndex operation. + * The unique identifier of the index to search. The identifier is returned in the response from the CreateIndex API. */ IndexId: IndexId; /** * The text to search for. */ - QueryText: QueryText; + QueryText?: QueryText; /** * Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters parameters contain a list of other filters. The AttributeFilter parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results. */ @@ -3146,6 +3182,10 @@ declare namespace Kendra { * The total number of items found by the search; however, you can only retrieve up to 100 items. For example, if the search found 192 items, you can only retrieve the first 100 of the items. */ TotalNumberOfResults?: Integer; + /** + * A list of warning codes and their messages on problems with your query. Amazon Kendra currently only supports one type of warning, which is a warning on invalid syntax used in the query. For examples of invalid query syntax, see Searching with advanced query syntax. + */ + Warnings?: WarningList; } export interface QueryResultItem { /** @@ -3597,7 +3637,7 @@ declare namespace Kendra { ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; VpcConfiguration?: DataSourceVpcConfiguration; /** - * A list of DataSourceToIndexFieldMapping objects that map Microsoft SharePoint attributes to custom fields in the Amazon Kendra index. You must first create the index fields using the UpdateIndex operation before you map SharePoint attributes. For more information, see Mapping Data Source Fields. + * A list of DataSourceToIndexFieldMapping objects that map Microsoft SharePoint attributes to custom fields in the Amazon Kendra index. You must first create the index fields using the UpdateIndex API before you map SharePoint attributes. For more information, see Mapping Data Source Fields. */ FieldMappings?: DataSourceToIndexFieldMappingList; /** @@ -3693,7 +3733,7 @@ declare namespace Kendra { */ IndexId: IndexId; /** - * The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the Query operation. + * The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the Query API. */ QueryId: QueryId; /** @@ -3897,7 +3937,7 @@ declare namespace Kendra { */ IndexId: IndexId; /** - * The Amazon Resource Name (ARN) of a role with permission to access Query operations, QuerySuggestions operations, SubmitFeedback operations, and Amazon Web Services SSO that stores your user and group information. For more information, see IAM roles for Amazon Kendra. + * The Amazon Resource Name (ARN) of a role with permission to access Query API, QuerySuggestions API, SubmitFeedback API, and Amazon Web Services SSO that stores your user and group information. For more information, see IAM roles for Amazon Kendra. */ RoleArn?: RoleArn; /** @@ -4083,6 +4123,19 @@ declare namespace Kendra { export type ValueImportanceMapKey = string; export type VisitorId = string; export type VpcSecurityGroupId = string; + export interface Warning { + /** + * The message that explains the problem with the query. + */ + Message?: WarningMessage; + /** + * The code used to show the type of warning for the query. + */ + Code?: WarningCode; + } + export type WarningCode = "QUERY_LANGUAGE_INVALID_SYNTAX"|string; + export type WarningList = Warning[]; + export type WarningMessage = string; export interface WebCrawlerConfiguration { /** * Specifies the seed or starting point URLs of the websites or the sitemap URLs of the websites you want to crawl. You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs. You can only crawl websites that use the secure communication protocol, Hypertext Transfer Protocol Secure (HTTPS). If you receive an error when crawling a website, it could be that the website is blocked from crawling. When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use Amazon Kendra Web Crawler to index your own webpages, or webpages that you have authorization to index. @@ -4144,7 +4197,7 @@ declare namespace Kendra { */ ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; /** - * A list of DataSourceToIndexFieldMapping objects that map Amazon WorkDocs field names to custom index field names in Amazon Kendra. You must first create the custom index fields using the UpdateIndex operation before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata. + * A list of DataSourceToIndexFieldMapping objects that map Amazon WorkDocs field names to custom index field names in Amazon Kendra. You must first create the custom index fields using the UpdateIndex API before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata. */ FieldMappings?: DataSourceToIndexFieldMappingList; } diff --git a/node_modules/aws-sdk/clients/lakeformation.d.ts b/node_modules/aws-sdk/clients/lakeformation.d.ts index 35ecc4ca7..3a7fdfc22 100644 --- a/node_modules/aws-sdk/clients/lakeformation.d.ts +++ b/node_modules/aws-sdk/clients/lakeformation.d.ts @@ -1934,7 +1934,7 @@ declare namespace LakeFormation { /** * The transaction at which to do the write. */ - TransactionId: TransactionIdString; + TransactionId?: TransactionIdString; /** * A list of WriteOperation objects that define an object to add to or delete from the manifest for a governed table. */ diff --git a/node_modules/aws-sdk/clients/lexmodelsv2.d.ts b/node_modules/aws-sdk/clients/lexmodelsv2.d.ts index 063bbc691..731772461 100644 --- a/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +++ b/node_modules/aws-sdk/clients/lexmodelsv2.d.ts @@ -139,6 +139,14 @@ declare class LexModelsV2 extends Service { * Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation. */ deleteBotVersion(callback?: (err: AWSError, data: LexModelsV2.Types.DeleteBotVersionResponse) => void): Request; + /** + * Removes a custom vocabulary from the specified locale in the specified bot. + */ + deleteCustomVocabulary(params: LexModelsV2.Types.DeleteCustomVocabularyRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DeleteCustomVocabularyResponse) => void): Request; + /** + * Removes a custom vocabulary from the specified locale in the specified bot. + */ + deleteCustomVocabulary(callback?: (err: AWSError, data: LexModelsV2.Types.DeleteCustomVocabularyResponse) => void): Request; /** * Removes a previous export and the associated files stored in an S3 bucket. */ @@ -243,6 +251,14 @@ declare class LexModelsV2 extends Service { * Provides metadata about a version of a bot. */ describeBotVersion(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeBotVersionResponse) => void): Request; + /** + * Provides metadata information about a custom vocabulary. + */ + describeCustomVocabularyMetadata(params: LexModelsV2.Types.DescribeCustomVocabularyMetadataRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DescribeCustomVocabularyMetadataResponse) => void): Request; + /** + * Provides metadata information about a custom vocabulary. + */ + describeCustomVocabularyMetadata(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeCustomVocabularyMetadataResponse) => void): Request; /** * Gets information about a specific export. */ @@ -356,19 +372,19 @@ declare class LexModelsV2 extends Service { */ listBuiltInSlotTypes(callback?: (err: AWSError, data: LexModelsV2.Types.ListBuiltInSlotTypesResponse) => void): Request; /** - * Lists the exports for a bot or bot locale. Exports are kept in the list for 7 days. + * Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days. */ listExports(params: LexModelsV2.Types.ListExportsRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListExportsResponse) => void): Request; /** - * Lists the exports for a bot or bot locale. Exports are kept in the list for 7 days. + * Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days. */ listExports(callback?: (err: AWSError, data: LexModelsV2.Types.ListExportsResponse) => void): Request; /** - * Lists the imports for a bot or bot locale. Imports are kept in the list for 7 days. + * Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days. */ listImports(params: LexModelsV2.Types.ListImportsRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListImportsResponse) => void): Request; /** - * Lists the imports for a bot or bot locale. Imports are kept in the list for 7 days. + * Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days. */ listImports(callback?: (err: AWSError, data: LexModelsV2.Types.ListImportsResponse) => void): Request; /** @@ -428,11 +444,11 @@ declare class LexModelsV2 extends Service { */ startBotRecommendation(callback?: (err: AWSError, data: LexModelsV2.Types.StartBotRecommendationResponse) => void): Request; /** - * Starts importing a bot or bot locale from a zip archive that you uploaded to an S3 bucket. + * Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket. */ startImport(params: LexModelsV2.Types.StartImportRequest, callback?: (err: AWSError, data: LexModelsV2.Types.StartImportResponse) => void): Request; /** - * Starts importing a bot or bot locale from a zip archive that you uploaded to an S3 bucket. + * Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket. */ startImport(callback?: (err: AWSError, data: LexModelsV2.Types.StartImportResponse) => void): Request; /** @@ -525,6 +541,12 @@ declare class LexModelsV2 extends Service { updateSlotType(callback?: (err: AWSError, data: LexModelsV2.Types.UpdateSlotTypeResponse) => void): Request; } declare namespace LexModelsV2 { + export interface AdvancedRecognitionSetting { + /** + * Enables using the slot values as a custom vocabulary for recognizing user utterances. + */ + audioRecognitionStrategy?: AudioRecognitionStrategy; + } export interface AggregatedUtterancesFilter { /** * The name of the field to filter the utterance list. @@ -616,6 +638,7 @@ declare namespace LexModelsV2 { destination: AudioLogDestination; } export type AudioLogSettingsList = AudioLogSetting[]; + export type AudioRecognitionStrategy = "UseSlotValuesAsCustomVocabulary"|string; export type Boolean = boolean; export interface BotAliasHistoryEvent { /** @@ -1748,6 +1771,35 @@ declare namespace LexModelsV2 { value: CustomPayloadValue; } export type CustomPayloadValue = string; + export interface CustomVocabularyExportSpecification { + /** + * The identifier of the bot that contains the custom vocabulary to export. + */ + botId: Id; + /** + * The version of the bot that contains the custom vocabulary to export. + */ + botVersion: BotVersion; + /** + * The locale of the bot that contains the custom vocabulary to export. + */ + localeId: LocaleId; + } + export interface CustomVocabularyImportSpecification { + /** + * The identifier of the bot to import the custom vocabulary to. + */ + botId: Id; + /** + * The version of the bot to import the custom vocabulary to. + */ + botVersion: DraftBotVersion; + /** + * The identifier of the local to import the custom vocabulary to. The value must be en_GB. + */ + localeId: LocaleId; + } + export type CustomVocabularyStatus = "Ready"|"Deleting"|"Exporting"|"Importing"|"Creating"|string; export interface DataPrivacy { /** * For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying true or false in the childDirected field. By specifying true in the childDirected field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying false in the childDirected field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the childDirected field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ. @@ -1872,6 +1924,38 @@ declare namespace LexModelsV2 { */ botStatus?: BotStatus; } + export interface DeleteCustomVocabularyRequest { + /** + * The unique identifier of the bot to remove the custom vocabulary from. + */ + botId: Id; + /** + * The version of the bot to remove the custom vocabulary from. + */ + botVersion: DraftBotVersion; + /** + * The locale identifier for the locale that contains the custom vocabulary to remove. + */ + localeId: LocaleId; + } + export interface DeleteCustomVocabularyResponse { + /** + * The identifier of the bot that the custom vocabulary was removed from. + */ + botId?: Id; + /** + * The version of the bot that the custom vocabulary was removed from. + */ + botVersion?: DraftBotVersion; + /** + * The locale identifier for the locale that the custom vocabulary was removed from. + */ + localeId?: LocaleId; + /** + * The status of removing the custom vocabulary. + */ + customVocabularyStatus?: CustomVocabularyStatus; + } export interface DeleteExportRequest { /** * The unique identifier of the export to delete. @@ -2323,6 +2407,46 @@ declare namespace LexModelsV2 { */ creationDateTime?: Timestamp; } + export interface DescribeCustomVocabularyMetadataRequest { + /** + * The unique identifier of the bot that contains the custom vocabulary. + */ + botId: Id; + /** + * The bot version of the bot to return metadata for. + */ + botVersion: BotVersion; + /** + * The locale to return the custom vocabulary information for. The locale must be en_GB. + */ + localeId: LocaleId; + } + export interface DescribeCustomVocabularyMetadataResponse { + /** + * The identifier of the bot that contains the custom vocabulary. + */ + botId?: Id; + /** + * The version of the bot that contains the custom vocabulary to describe. + */ + botVersion?: BotVersion; + /** + * The locale that contains the custom vocabulary to describe. + */ + localeId?: LocaleId; + /** + * The status of the custom vocabulary. If the status is Ready the custom vocabulary is ready to use. + */ + customVocabularyStatus?: CustomVocabularyStatus; + /** + * The date and time that the custom vocabulary was created. + */ + creationDateTime?: Timestamp; + /** + * The date and time that the custom vocabulary was last updated. + */ + lastUpdatedDateTime?: Timestamp; + } export interface DescribeExportRequest { /** * The unique identifier of the export to describe. @@ -2339,7 +2463,7 @@ declare namespace LexModelsV2 { */ resourceSpecification?: ExportResourceSpecification; /** - * The file format used in the files that describe the bot or bot locale. + * The file format used in the files that describe the resource. */ fileFormat?: ImportExportFileFormat; /** @@ -2375,7 +2499,7 @@ declare namespace LexModelsV2 { */ importId?: Id; /** - * The specifications of the imported bot or bot locale. + * The specifications of the imported bot, bot locale, or custom vocabulary. */ resourceSpecification?: ImportResourceSpecification; /** @@ -2689,7 +2813,7 @@ declare namespace LexModelsV2 { */ name: ExportFilterName; /** - * The values to use to filter the response. + * The values to use to filter the response. The values must be Bot, BotLocale, or CustomVocabulary. */ values: FilterValues; /** @@ -2709,6 +2833,10 @@ declare namespace LexModelsV2 { * Parameters for exporting a bot locale. */ botLocaleExportSpecification?: BotLocaleExportSpecification; + /** + * The parameters required to export a custom vocabulary. + */ + customVocabularyExportSpecification?: CustomVocabularyExportSpecification; } export type ExportSortAttribute = "LastUpdatedDateTime"|string; export interface ExportSortBy { @@ -2863,7 +2991,7 @@ declare namespace LexModelsV2 { */ buttons?: ButtonsList; } - export type ImportExportFileFormat = "LexJson"|string; + export type ImportExportFileFormat = "LexJson"|"TSV"|string; export type ImportExportFilePassword = string; export interface ImportFilter { /** @@ -2871,7 +2999,7 @@ declare namespace LexModelsV2 { */ name: ImportFilterName; /** - * The values to use to filter the response. + * The values to use to filter the response. The values must be Bot, BotLocale, or CustomVocabulary. */ values: FilterValues; /** @@ -2891,7 +3019,9 @@ declare namespace LexModelsV2 { * Parameters for importing a bot locale. */ botLocaleImportSpecification?: BotLocaleImportSpecification; + customVocabularyImportSpecification?: CustomVocabularyImportSpecification; } + export type ImportResourceType = "Bot"|"BotLocale"|"CustomVocabulary"|string; export type ImportSortAttribute = "LastUpdatedDateTime"|string; export interface ImportSortBy { /** @@ -2933,6 +3063,10 @@ declare namespace LexModelsV2 { * The date and time that the import was last updated. */ lastUpdatedDateTime?: Timestamp; + /** + * The type of resource that was imported. + */ + importedResourceType?: ImportResourceType; } export type ImportSummaryList = ImportSummary[]; export type ImportedResourceId = string; @@ -3308,7 +3442,7 @@ declare namespace LexModelsV2 { */ maxResults?: MaxResults; /** - * If the response from the ListBots operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. + * If the response from the ListBots operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListBots request to return the next page of results. For a complete set of results, call the ListBots operation until the nextToken returned in the response is null. */ nextToken?: NextToken; } @@ -3408,9 +3542,13 @@ declare namespace LexModelsV2 { */ maxResults?: MaxResults; /** - * If the response from the ListExports operation contains more results that specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. + * If the response from the ListExports operation contains more results that specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListExports request to return the next page of results. For a complete set of results, call the ListExports operation until the nextToken returned in the response is null. */ nextToken?: NextToken; + /** + * Specifies the resources that should be exported. If you don't specify a resource type in the filters parameter, both bot locales and custom vocabularies are exported. + */ + localeId?: LocaleId; } export interface ListExportsResponse { /** @@ -3429,6 +3567,10 @@ declare namespace LexModelsV2 { * A token that indicates whether there are more results to return in a response to the ListExports operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListExports operation request to get the next page of results. */ nextToken?: NextToken; + /** + * The locale specified in the request. + */ + localeId?: LocaleId; } export interface ListImportsRequest { /** @@ -3452,9 +3594,13 @@ declare namespace LexModelsV2 { */ maxResults?: MaxResults; /** - * If the response from the ListImports operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. + * If the response from the ListImports operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListImports request to return the next page of results. For a complete set of results, call the ListImports operation until the nextToken returned in the response is null. */ nextToken?: NextToken; + /** + * Specifies the locale that should be present in the list. If you don't specify a resource type in the filters parameter, the list contains both bot locales and custom vocabularies. + */ + localeId?: LocaleId; } export interface ListImportsResponse { /** @@ -3473,6 +3619,10 @@ declare namespace LexModelsV2 { * A token that indicates whether there are more results to return in a response to the ListImports operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListImports operation request to get the next page of results. */ nextToken?: NextToken; + /** + * The locale specified in the request. + */ + localeId?: LocaleId; } export interface ListIntentsRequest { /** @@ -3500,7 +3650,7 @@ declare namespace LexModelsV2 { */ maxResults?: MaxResults; /** - * If the response from the ListIntents operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results. + * If the response from the ListIntents operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use the returned token in the nextToken parameter of a ListIntents request to return the next page of results. For a complete set of results, call the ListIntents operation until the nextToken returned in the response is null. */ nextToken?: NextToken; } @@ -4193,6 +4343,10 @@ declare namespace LexModelsV2 { * A regular expression used to validate the value of a slot. */ regexFilter?: SlotValueRegexFilter; + /** + * Provides settings that enable advanced recognition settings for slot values. + */ + advancedRecognitionSetting?: AdvancedRecognitionSetting; } export type SortOrder = "Ascending"|"Descending"|string; export interface StartBotRecommendationRequest { @@ -4257,7 +4411,7 @@ declare namespace LexModelsV2 { */ importId: Id; /** - * Parameters for creating the bot or bot locale. + * Parameters for creating the bot, bot locale or custom vocabulary. */ resourceSpecification: ImportResourceSpecification; /** @@ -4265,7 +4419,7 @@ declare namespace LexModelsV2 { */ mergeStrategy: MergeStrategy; /** - * The password used to encrypt the zip archive that contains the bot or bot locale definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex. + * The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex. */ filePassword?: ImportExportFilePassword; } @@ -4275,7 +4429,7 @@ declare namespace LexModelsV2 { */ importId?: Id; /** - * The parameters used when importing the bot or bot locale. + * The parameters used when importing the resource. */ resourceSpecification?: ImportResourceSpecification; /** @@ -4283,7 +4437,7 @@ declare namespace LexModelsV2 { */ mergeStrategy?: MergeStrategy; /** - * The current status of the import. When the status is Complete the bot or bot alias is ready to use. + * The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use. */ importStatus?: ImportStatus; /** @@ -4665,7 +4819,7 @@ declare namespace LexModelsV2 { */ resourceSpecification?: ExportResourceSpecification; /** - * The file format used for the files that define the resource. + * The file format used for the files that define the resource. The TSV format is required to export a custom vocabulary only; otherwise use LexJson format. */ fileFormat?: ImportExportFileFormat; /** diff --git a/node_modules/aws-sdk/clients/lexruntimev2.d.ts b/node_modules/aws-sdk/clients/lexruntimev2.d.ts index df313bd0b..a6a55e00b 100644 --- a/node_modules/aws-sdk/clients/lexruntimev2.d.ts +++ b/node_modules/aws-sdk/clients/lexruntimev2.d.ts @@ -262,6 +262,7 @@ declare namespace LexRuntimeV2 { } export type MessageContentType = "CustomPayload"|"ImageResponseCard"|"PlainText"|"SSML"|string; export type Messages = Message[]; + export type Name = string; export type NonEmptyString = string; export type ParameterName = string; export interface PutSessionRequest { @@ -452,6 +453,26 @@ declare namespace LexRuntimeV2 { */ audioStream?: BlobStream; } + export interface RuntimeHintDetails { + /** + * One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values. + */ + runtimeHintValues: RuntimeHintValuesList; + } + export type RuntimeHintPhrase = string; + export interface RuntimeHintValue { + /** + * The phrase that Amazon Lex V2 should look for in the user's input to the bot. + */ + phrase: RuntimeHintPhrase; + } + export type RuntimeHintValuesList = RuntimeHintValue[]; + export interface RuntimeHints { + /** + * A list of the slots in the intent that should have runtime hints added, and the phrases that should be added for each slot. The first level of the slotHints map is the name of the intent. The second level is the name of the slot within the intent. For more information, see Using hints to improve accuracy. The intent name and slot name must exist. + */ + slotHints?: SlotHintsIntentMap; + } export type SensitiveNonEmptyString = string; export interface SentimentResponse { /** @@ -498,9 +519,13 @@ declare namespace LexRuntimeV2 { */ sessionAttributes?: StringMap; /** - * + * A unique identifier for a specific request. */ originatingRequestId?: NonEmptyString; + /** + * Hints for phrases that a customer is likely to use for a slot. Amazon Lex V2 uses the hints to help determine the correct value of a slot. + */ + runtimeHints?: RuntimeHints; } export type Shape = "Scalar"|"List"|string; export interface Slot { @@ -517,6 +542,8 @@ declare namespace LexRuntimeV2 { */ values?: Values; } + export type SlotHintsIntentMap = {[key: string]: SlotHintsSlotMap}; + export type SlotHintsSlotMap = {[key: string]: RuntimeHintDetails}; export type Slots = {[key: string]: Slot}; export type String = string; export type StringList = NonEmptyString[]; diff --git a/node_modules/aws-sdk/clients/location.d.ts b/node_modules/aws-sdk/clients/location.d.ts index d9cda8c5b..0137dcb4f 100644 --- a/node_modules/aws-sdk/clients/location.d.ts +++ b/node_modules/aws-sdk/clients/location.d.ts @@ -68,13 +68,21 @@ declare class Location extends Service { */ batchUpdateDevicePosition(callback?: (err: AWSError, data: Location.Types.BatchUpdateDevicePositionResponse) => void): Request; /** - * Calculates a route given the following required parameters: DeparturePostiton and DestinationPosition. Requires that you first create a route calculator resource. By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route. Additional options include: Specifying a departure time using either DepartureTime or DepartureNow. This calculates a route based on predictive traffic data at the given time. You can't specify both DepartureTime and DepartureNow in a single request. Specifying both parameters returns a validation error. Specifying a travel mode using TravelMode. This lets you specify an additional route preference such as CarModeOptions if traveling by Car, or TruckModeOptions if traveling by Truck. + * Calculates a route given the following required parameters: DeparturePosition and DestinationPosition. Requires that you first create a route calculator resource. By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route. Additional options include: Specifying a departure time using either DepartureTime or DepartNow. This calculates a route based on predictive traffic data at the given time. You can't specify both DepartureTime and DepartNow in a single request. Specifying both parameters returns a validation error. Specifying a travel mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify additional route preferences in CarModeOptions if traveling by Car, or TruckModeOptions if traveling by Truck. */ calculateRoute(params: Location.Types.CalculateRouteRequest, callback?: (err: AWSError, data: Location.Types.CalculateRouteResponse) => void): Request; /** - * Calculates a route given the following required parameters: DeparturePostiton and DestinationPosition. Requires that you first create a route calculator resource. By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route. Additional options include: Specifying a departure time using either DepartureTime or DepartureNow. This calculates a route based on predictive traffic data at the given time. You can't specify both DepartureTime and DepartureNow in a single request. Specifying both parameters returns a validation error. Specifying a travel mode using TravelMode. This lets you specify an additional route preference such as CarModeOptions if traveling by Car, or TruckModeOptions if traveling by Truck. + * Calculates a route given the following required parameters: DeparturePosition and DestinationPosition. Requires that you first create a route calculator resource. By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route. Additional options include: Specifying a departure time using either DepartureTime or DepartNow. This calculates a route based on predictive traffic data at the given time. You can't specify both DepartureTime and DepartNow in a single request. Specifying both parameters returns a validation error. Specifying a travel mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify additional route preferences in CarModeOptions if traveling by Car, or TruckModeOptions if traveling by Truck. */ calculateRoute(callback?: (err: AWSError, data: Location.Types.CalculateRouteResponse) => void): Request; + /** + * Calculates a route matrix given the following required parameters: DeparturePositions and DestinationPositions. CalculateRouteMatrix calculates routes and returns the travel time and travel distance from each departure position to each destination position in the request. For example, given departure positions A and B, and destination positions X and Y, CalculateRouteMatrix will return time and distance for routes from A to X, A to Y, B to X, and B to Y (in that order). The number of results returned (and routes calculated) will be the number of DeparturePositions times the number of DestinationPositions. Your account is charged for each route calculated, not the number of requests. Requires that you first create a route calculator resource. By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating routes. Additional options include: Specifying a departure time using either DepartureTime or DepartNow. This calculates routes based on predictive traffic data at the given time. You can't specify both DepartureTime and DepartNow in a single request. Specifying both parameters returns a validation error. Specifying a travel mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify additional route preferences in CarModeOptions if traveling by Car, or TruckModeOptions if traveling by Truck. + */ + calculateRouteMatrix(params: Location.Types.CalculateRouteMatrixRequest, callback?: (err: AWSError, data: Location.Types.CalculateRouteMatrixResponse) => void): Request; + /** + * Calculates a route matrix given the following required parameters: DeparturePositions and DestinationPositions. CalculateRouteMatrix calculates routes and returns the travel time and travel distance from each departure position to each destination position in the request. For example, given departure positions A and B, and destination positions X and Y, CalculateRouteMatrix will return time and distance for routes from A to X, A to Y, B to X, and B to Y (in that order). The number of results returned (and routes calculated) will be the number of DeparturePositions times the number of DestinationPositions. Your account is charged for each route calculated, not the number of requests. Requires that you first create a route calculator resource. By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating routes. Additional options include: Specifying a departure time using either DepartureTime or DepartNow. This calculates routes based on predictive traffic data at the given time. You can't specify both DepartureTime and DepartNow in a single request. Specifying both parameters returns a validation error. Specifying a travel mode using TravelMode sets the transportation mode used to calculate the routes. This also lets you specify additional route preferences in CarModeOptions if traveling by Car, or TruckModeOptions if traveling by Truck. + */ + calculateRouteMatrix(callback?: (err: AWSError, data: Location.Types.CalculateRouteMatrixResponse) => void): Request; /** * Creates a geofence collection, which manages and stores geofences. */ @@ -84,27 +92,27 @@ declare class Location extends Service { */ createGeofenceCollection(callback?: (err: AWSError, data: Location.Types.CreateGeofenceCollectionResponse) => void): Request; /** - * Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers. + * Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers. If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details. */ createMap(params: Location.Types.CreateMapRequest, callback?: (err: AWSError, data: Location.Types.CreateMapResponse) => void): Request; /** - * Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers. + * Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers. If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details. */ createMap(callback?: (err: AWSError, data: Location.Types.CreateMapResponse) => void): Request; /** - * Creates a place index resource in your AWS account. Use a place index resource to geocode addresses and other text queries by using the SearchPlaceIndexForText operation, and reverse geocode coordinates by using the SearchPlaceIndexForPosition operation, and enable autosuggestions by using the SearchPlaceIndexForSuggestions operation. + * Creates a place index resource in your AWS account. Use a place index resource to geocode addresses and other text queries by using the SearchPlaceIndexForText operation, and reverse geocode coordinates by using the SearchPlaceIndexForPosition operation, and enable autosuggestions by using the SearchPlaceIndexForSuggestions operation. If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details. */ createPlaceIndex(params: Location.Types.CreatePlaceIndexRequest, callback?: (err: AWSError, data: Location.Types.CreatePlaceIndexResponse) => void): Request; /** - * Creates a place index resource in your AWS account. Use a place index resource to geocode addresses and other text queries by using the SearchPlaceIndexForText operation, and reverse geocode coordinates by using the SearchPlaceIndexForPosition operation, and enable autosuggestions by using the SearchPlaceIndexForSuggestions operation. + * Creates a place index resource in your AWS account. Use a place index resource to geocode addresses and other text queries by using the SearchPlaceIndexForText operation, and reverse geocode coordinates by using the SearchPlaceIndexForPosition operation, and enable autosuggestions by using the SearchPlaceIndexForSuggestions operation. If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details. */ createPlaceIndex(callback?: (err: AWSError, data: Location.Types.CreatePlaceIndexResponse) => void): Request; /** - * Creates a route calculator resource in your AWS account. You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider. + * Creates a route calculator resource in your AWS account. You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider. If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details. */ createRouteCalculator(params: Location.Types.CreateRouteCalculatorRequest, callback?: (err: AWSError, data: Location.Types.CreateRouteCalculatorResponse) => void): Request; /** - * Creates a route calculator resource in your AWS account. You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider. + * Creates a route calculator resource in your AWS account. You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider. If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you may only use HERE as your geolocation provider. See section 82 of the AWS service terms for more details. */ createRouteCalculator(callback?: (err: AWSError, data: Location.Types.CreateRouteCalculatorResponse) => void): Request; /** @@ -666,6 +674,86 @@ declare namespace Location { */ AvoidTolls?: Boolean; } + export interface CalculateRouteMatrixRequest { + /** + * The name of the route calculator resource that you want to use to calculate the route matrix. + */ + CalculatorName: ResourceName; + /** + * Specifies route preferences when traveling by Car, such as avoiding routes that use ferries or tolls. Requirements: TravelMode must be specified as Car. + */ + CarModeOptions?: CalculateRouteCarModeOptions; + /** + * Sets the time of departure as the current time. Uses the current time to calculate the route matrix. You can't set both DepartureTime and DepartNow. If neither is set, the best time of day to travel with the best traffic conditions is used to calculate the route matrix. Default Value: false Valid Values: false | true + */ + DepartNow?: Boolean; + /** + * The list of departure (origin) positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format: [longitude, latitude]. For example, [-123.115, 49.285]. Depending on the data provider selected in the route calculator resource there may be additional restrictions on the inputs you can choose. See Position restrictions in the Amazon Location Service Developer Guide. For route calculators that use Esri as the data provider, if you specify a departure that's not located on a road, Amazon Location moves the position to the nearest road. The snapped value is available in the result in SnappedDeparturePositions. Valid Values: [-180 to 180,-90 to 90] + */ + DeparturePositions: CalculateRouteMatrixRequestDeparturePositionsList; + /** + * Specifies the desired time of departure. Uses the given time to calculate the route matrix. You can't set both DepartureTime and DepartNow. If neither is set, the best time of day to travel with the best traffic conditions is used to calculate the route matrix. Setting a departure time in the past returns a 400 ValidationException error. In ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. For example, 2020–07-2T12:15:20.000Z+01:00 + */ + DepartureTime?: Timestamp; + /** + * The list of destination positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format: [longitude, latitude]. For example, [-122.339, 47.615] Depending on the data provider selected in the route calculator resource there may be additional restrictions on the inputs you can choose. See Position restrictions in the Amazon Location Service Developer Guide. For route calculators that use Esri as the data provider, if you specify a destination that's not located on a road, Amazon Location moves the position to the nearest road. The snapped value is available in the result in SnappedDestinationPositions. Valid Values: [-180 to 180,-90 to 90] + */ + DestinationPositions: CalculateRouteMatrixRequestDestinationPositionsList; + /** + * Set the unit system to specify the distance. Default Value: Kilometers + */ + DistanceUnit?: DistanceUnit; + /** + * Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. The TravelMode you specify also determines how you specify route preferences: If traveling by Car use the CarModeOptions parameter. If traveling by Truck use the TruckModeOptions parameter. Default Value: Car + */ + TravelMode?: TravelMode; + /** + * Specifies route preferences when traveling by Truck, such as avoiding routes that use ferries or tolls, and truck specifications to consider when choosing an optimal road. Requirements: TravelMode must be specified as Truck. + */ + TruckModeOptions?: CalculateRouteTruckModeOptions; + } + export type CalculateRouteMatrixRequestDeparturePositionsList = Position[]; + export type CalculateRouteMatrixRequestDestinationPositionsList = Position[]; + export interface CalculateRouteMatrixResponse { + /** + * The calculated route matrix containing the results for all pairs of DeparturePositions to DestinationPositions. Each row corresponds to one entry in DeparturePositions. Each entry in the row corresponds to the route from that entry in DeparturePositions to an entry in DestinationPositions. + */ + RouteMatrix: RouteMatrix; + /** + * For routes calculated using an Esri route calculator resource, departure positions are snapped to the closest road. For Esri route calculator resources, this returns the list of departure/origin positions used for calculation of the RouteMatrix. + */ + SnappedDeparturePositions?: CalculateRouteMatrixResponseSnappedDeparturePositionsList; + /** + * The list of destination positions for the route matrix used for calculation of the RouteMatrix. + */ + SnappedDestinationPositions?: CalculateRouteMatrixResponseSnappedDestinationPositionsList; + /** + * Contains information about the route matrix, DataSource, DistanceUnit, RouteCount and ErrorCount. + */ + Summary: CalculateRouteMatrixSummary; + } + export type CalculateRouteMatrixResponseSnappedDeparturePositionsList = Position[]; + export type CalculateRouteMatrixResponseSnappedDestinationPositionsList = Position[]; + export interface CalculateRouteMatrixSummary { + /** + * The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers: Esri Here For more information about data providers, see Amazon Location Service data providers. + */ + DataSource: String; + /** + * The unit of measurement for route distances. + */ + DistanceUnit: DistanceUnit; + /** + * The count of error results in the route matrix. If this number is 0, all routes were calculated successfully. + */ + ErrorCount: CalculateRouteMatrixSummaryErrorCountInteger; + /** + * The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions. + */ + RouteCount: CalculateRouteMatrixSummaryRouteCountInteger; + } + export type CalculateRouteMatrixSummaryErrorCountInteger = number; + export type CalculateRouteMatrixSummaryRouteCountInteger = number; export interface CalculateRouteRequest { /** * The name of the route calculator resource that you want to use to calculate the route. @@ -700,7 +788,7 @@ declare namespace Location { */ IncludeLegGeometry?: Boolean; /** - * Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. The TravelMode you specify determines how you specify route preferences: If traveling by Car use the CarModeOptions parameter. If traveling by Truck use the TruckModeOptions parameter. Default Value: Car + * Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. The TravelMode you specify also determines how you specify route preferences: If traveling by Car use the CarModeOptions parameter. If traveling by Truck use the TruckModeOptions parameter. Default Value: Car */ TravelMode?: TravelMode; /** @@ -781,11 +869,11 @@ declare namespace Location { */ KmsKeyId?: KmsKeyId; /** - * Optionally specifies the pricing plan for the geofence collection. Defaults to RequestBasedUsage. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; /** - * Specifies the data provider for the geofence collection. Required value for the following pricing plans: MobileAssetTracking | MobileAssetManagement For more information about Data Providers, and Pricing plans, see the Amazon Location Service product page. Amazon Location Service only uses PricingPlanDataSource to calculate billing for your geofence collection. Your data won't be shared with the data provider, and will remain in your AWS account or Region unless you move it. Valid Values: Esri | Here + * This parameter is no longer used. */ PricingPlanDataSource?: String; /** @@ -821,7 +909,7 @@ declare namespace Location { */ MapName: ResourceName; /** - * Optionally specifies the pricing plan for the map resource. Defaults to RequestBasedUsage. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; /** @@ -861,7 +949,7 @@ declare namespace Location { */ IndexName: ResourceName; /** - * Optionally specifies the pricing plan for the place index resource. Defaults to RequestBasedUsage. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; /** @@ -897,7 +985,7 @@ declare namespace Location { */ Description?: ResourceDescription; /** - * Optionally specifies the pricing plan for the route calculator resource. Defaults to RequestBasedUsage. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; /** @@ -933,11 +1021,11 @@ declare namespace Location { */ PositionFiltering?: PositionFiltering; /** - * Optionally specifies the pricing plan for the tracker resource. Defaults to RequestBasedUsage. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; /** - * Specifies the data provider for the tracker resource. Required value for the following pricing plans: MobileAssetTracking | MobileAssetManagement For more information about Data Providers, and Pricing plans, see the Amazon Location Service product page. Amazon Location Service only uses PricingPlanDataSource to calculate billing for your tracker resource. Your data will not be shared with the data provider, and will remain in your AWS account or Region unless you move it. Valid values: Esri | Here + * This parameter is no longer used. */ PricingPlanDataSource?: String; /** @@ -1037,11 +1125,11 @@ declare namespace Location { */ KmsKeyId?: KmsKeyId; /** - * The pricing plan selected for the specified geofence collection. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page. + * No longer used. Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** - * The specified data provider for the geofence collection. + * No longer used. Always returns an empty string. */ PricingPlanDataSource?: String; /** @@ -1085,9 +1173,9 @@ declare namespace Location { */ MapName: ResourceName; /** - * The pricing plan selected for the specified map resource. <p>For additional details and restrictions on each pricing plan option, see <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing</a>.</p> + * No longer used. Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** * Tags associated with the map resource. */ @@ -1129,9 +1217,9 @@ declare namespace Location { */ IndexName: ResourceName; /** - * The pricing plan selected for the specified place index resource. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * No longer used. Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** * Tags associated with place index resource. */ @@ -1169,9 +1257,9 @@ declare namespace Location { */ Description: ResourceDescription; /** - * The pricing plan selected for the specified route calculator resource. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** * Tags associated with route calculator resource. */ @@ -1205,11 +1293,11 @@ declare namespace Location { */ PositionFiltering?: PositionFiltering; /** - * The pricing plan selected for the specified tracker resource. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** - * The specified data provider for the tracker resource. + * No longer used. Always returns an empty string. */ PricingPlanDataSource?: String; /** @@ -1618,11 +1706,11 @@ declare namespace Location { */ Description: ResourceDescription; /** - * The pricing plan for the specified geofence collection. For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page. + * No longer used. Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** - * The specified data provider for the geofence collection. + * No longer used. Always returns an empty string. */ PricingPlanDataSource?: String; /** @@ -1713,9 +1801,9 @@ declare namespace Location { */ MapName: ResourceName; /** - * The pricing plan for the specified map resource. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * No longer used. Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** * The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. */ @@ -1761,9 +1849,9 @@ declare namespace Location { */ IndexName: ResourceName; /** - * The pricing plan for the specified place index resource. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * No longer used. Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** * The timestamp for when the place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. */ @@ -1809,9 +1897,9 @@ declare namespace Location { */ Description: ResourceDescription; /** - * The pricing plan for the specified route calculator resource. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** * The timestamp when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. For example, 2020–07-2T12:15:20.000Z+01:00 */ @@ -1886,11 +1974,11 @@ declare namespace Location { */ Description: ResourceDescription; /** - * The pricing plan for the specified tracker resource. For additional details and restrictions on each pricing plan option, see Amazon Location Service pricing. + * Always returns RequestBasedUsage. */ - PricingPlan: PricingPlan; + PricingPlan?: PricingPlan; /** - * The specified data provider for the tracker resource. + * No longer used. Always returns an empty string. */ PricingPlanDataSource?: String; /** @@ -2007,6 +2095,35 @@ declare namespace Location { } export type ResourceDescription = string; export type ResourceName = string; + export type RouteMatrix = RouteMatrixRow[]; + export interface RouteMatrixEntry { + /** + * The total distance of travel for the route. + */ + Distance?: RouteMatrixEntryDistanceDouble; + /** + * The expected duration of travel for the route. + */ + DurationSeconds?: RouteMatrixEntryDurationSecondsDouble; + /** + * An error corresponding to the calculation of a route between the DeparturePosition and DestinationPosition. + */ + Error?: RouteMatrixEntryError; + } + export type RouteMatrixEntryDistanceDouble = number; + export type RouteMatrixEntryDurationSecondsDouble = number; + export interface RouteMatrixEntryError { + /** + * The type of error which occurred for the route calculation. + */ + Code: RouteMatrixErrorCode; + /** + * A message about the error that occurred for the route calculation. + */ + Message?: String; + } + export type RouteMatrixErrorCode = "RouteNotFound"|"RouteTooLong"|"PositionsNotFound"|"DestinationPositionNotFound"|"DeparturePositionNotFound"|"OtherValidationError"|string; + export type RouteMatrixRow = RouteMatrixEntry[]; export interface SearchForPositionResult { /** * The distance in meters of a great-circle arc between the query position and the result. A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations. @@ -2348,11 +2465,11 @@ declare namespace Location { */ Description?: ResourceDescription; /** - * Updates the pricing plan for the geofence collection. For more information about each pricing plan option restrictions, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; /** - * Updates the data provider for the geofence collection. A required value for the following pricing plans: MobileAssetTracking| MobileAssetManagement For more information about data providers and pricing plans, see the Amazon Location Service product page. This can only be updated when updating the PricingPlan in the same request. Amazon Location Service uses PricingPlanDataSource to calculate billing for your geofence collection. Your data won't be shared with the data provider, and will remain in your AWS account and Region unless you move it. + * This parameter is no longer used. */ PricingPlanDataSource?: String; } @@ -2380,7 +2497,7 @@ declare namespace Location { */ MapName: ResourceName; /** - * Updates the pricing plan for the map resource. For more information about each pricing plan option restrictions, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; } @@ -2412,7 +2529,7 @@ declare namespace Location { */ IndexName: ResourceName; /** - * Updates the pricing plan for the place index resource. For more information about each pricing plan option restrictions, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; } @@ -2440,7 +2557,7 @@ declare namespace Location { */ Description?: ResourceDescription; /** - * Updates the pricing plan for the route calculator resource. For more information about each pricing plan option restrictions, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; } @@ -2468,11 +2585,11 @@ declare namespace Location { */ PositionFiltering?: PositionFiltering; /** - * Updates the pricing plan for the tracker resource. For more information about each pricing plan option restrictions, see Amazon Location Service pricing. + * No longer used. If included, the only allowed value is RequestBasedUsage. */ PricingPlan?: PricingPlan; /** - * Updates the data provider for the tracker resource. A required value for the following pricing plans: MobileAssetTracking| MobileAssetManagement For more information about data providers and pricing plans, see the Amazon Location Service product page This can only be updated when updating the PricingPlan in the same request. Amazon Location Service uses PricingPlanDataSource to calculate billing for your tracker resource. Your data won't be shared with the data provider, and will remain in your AWS account and Region unless you move it. + * This parameter is no longer used. */ PricingPlanDataSource?: String; /** diff --git a/node_modules/aws-sdk/clients/lookoutmetrics.d.ts b/node_modules/aws-sdk/clients/lookoutmetrics.d.ts index 001447e66..c39fc7400 100644 --- a/node_modules/aws-sdk/clients/lookoutmetrics.d.ts +++ b/node_modules/aws-sdk/clients/lookoutmetrics.d.ts @@ -51,6 +51,14 @@ declare class LookoutMetrics extends Service { * Creates a dataset. */ createMetricSet(callback?: (err: AWSError, data: LookoutMetrics.Types.CreateMetricSetResponse) => void): Request; + /** + * Deactivates an anomaly detector. + */ + deactivateAnomalyDetector(params: LookoutMetrics.Types.DeactivateAnomalyDetectorRequest, callback?: (err: AWSError, data: LookoutMetrics.Types.DeactivateAnomalyDetectorResponse) => void): Request; + /** + * Deactivates an anomaly detector. + */ + deactivateAnomalyDetector(callback?: (err: AWSError, data: LookoutMetrics.Types.DeactivateAnomalyDetectorResponse) => void): Request; /** * Deletes an alert. */ @@ -340,8 +348,9 @@ declare namespace LookoutMetrics { AnomalyDetectorFrequency?: Frequency; } export type AnomalyDetectorDescription = string; + export type AnomalyDetectorFailureType = "ACTIVATION_FAILURE"|"BACK_TEST_ACTIVATION_FAILURE"|"DELETION_FAILURE"|"DEACTIVATION_FAILURE"|string; export type AnomalyDetectorName = string; - export type AnomalyDetectorStatus = "ACTIVE"|"ACTIVATING"|"DELETING"|"FAILED"|"INACTIVE"|"LEARNING"|"BACK_TEST_ACTIVATING"|"BACK_TEST_ACTIVE"|"BACK_TEST_COMPLETE"|string; + export type AnomalyDetectorStatus = "ACTIVE"|"ACTIVATING"|"DELETING"|"FAILED"|"INACTIVE"|"LEARNING"|"BACK_TEST_ACTIVATING"|"BACK_TEST_ACTIVE"|"BACK_TEST_COMPLETE"|"DEACTIVATED"|"DEACTIVATING"|string; export interface AnomalyDetectorSummary { /** * The ARN of the detector. @@ -464,11 +473,11 @@ declare namespace LookoutMetrics { /** * An IAM role that gives Amazon Lookout for Metrics permission to access the flow. */ - RoleArn: Arn; + RoleArn?: Arn; /** * name of the flow. */ - FlowName: FlowName; + FlowName?: FlowName; } export type Arn = string; export interface BackTestAnomalyDetectorRequest { @@ -486,7 +495,7 @@ declare namespace LookoutMetrics { /** * An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch. */ - RoleArn: Arn; + RoleArn?: Arn; } export type ColumnName = string; export interface ContributionMatrix { @@ -637,6 +646,14 @@ declare namespace LookoutMetrics { export type DatabaseHost = string; export type DatabasePort = number; export type DateTimeFormat = string; + export interface DeactivateAnomalyDetectorRequest { + /** + * The Amazon Resource Name (ARN) of the anomaly detector. + */ + AnomalyDetectorArn: Arn; + } + export interface DeactivateAnomalyDetectorResponse { + } export interface DeleteAlertRequest { /** * The ARN of the alert to delete. @@ -730,13 +747,17 @@ declare namespace LookoutMetrics { */ Status?: AnomalyDetectorStatus; /** - * The reason that the detector failed, if any. + * The reason that the detector failed. */ FailureReason?: ErrorMessage; /** * The ARN of the KMS key to use to encrypt your data. */ KmsKeyArn?: KmsKeyArn; + /** + * The process that caused the detector to fail. + */ + FailureType?: AnomalyDetectorFailureType; } export interface DescribeMetricSetRequest { /** @@ -1277,35 +1298,35 @@ declare namespace LookoutMetrics { /** * A string identifying the database instance. */ - DBInstanceIdentifier: RDSDatabaseIdentifier; + DBInstanceIdentifier?: RDSDatabaseIdentifier; /** * The host name of the database. */ - DatabaseHost: DatabaseHost; + DatabaseHost?: DatabaseHost; /** * The port number where the database can be accessed. */ - DatabasePort: DatabasePort; + DatabasePort?: DatabasePort; /** * The Amazon Resource Name (ARN) of the AWS Secrets Manager role. */ - SecretManagerArn: PoirotSecretManagerArn; + SecretManagerArn?: PoirotSecretManagerArn; /** * The name of the RDS database. */ - DatabaseName: RDSDatabaseName; + DatabaseName?: RDSDatabaseName; /** * The name of the table in the database. */ - TableName: TableName; + TableName?: TableName; /** * The Amazon Resource Name (ARN) of the role. */ - RoleArn: Arn; + RoleArn?: Arn; /** * An object containing information about the Amazon Virtual Private Cloud (VPC) configuration. */ - VpcConfiguration: VpcConfiguration; + VpcConfiguration?: VpcConfiguration; } export type RedshiftClusterIdentifier = string; export type RedshiftDatabaseName = string; @@ -1313,42 +1334,42 @@ declare namespace LookoutMetrics { /** * A string identifying the Redshift cluster. */ - ClusterIdentifier: RedshiftClusterIdentifier; + ClusterIdentifier?: RedshiftClusterIdentifier; /** * The name of the database host. */ - DatabaseHost: DatabaseHost; + DatabaseHost?: DatabaseHost; /** * The port number where the database can be accessed. */ - DatabasePort: DatabasePort; + DatabasePort?: DatabasePort; /** * The Amazon Resource Name (ARN) of the AWS Secrets Manager role. */ - SecretManagerArn: PoirotSecretManagerArn; + SecretManagerArn?: PoirotSecretManagerArn; /** * The Redshift database name. */ - DatabaseName: RedshiftDatabaseName; + DatabaseName?: RedshiftDatabaseName; /** * The table name of the Redshift database. */ - TableName: TableName; + TableName?: TableName; /** * The Amazon Resource Name (ARN) of the role providing access to the database. */ - RoleArn: Arn; + RoleArn?: Arn; /** * Contains information about the Amazon Virtual Private Cloud (VPC) configuration. */ - VpcConfiguration: VpcConfiguration; + VpcConfiguration?: VpcConfiguration; } export type RelationshipType = "CAUSE_OF_INPUT_ANOMALY_GROUP"|"EFFECT_OF_INPUT_ANOMALY_GROUP"|string; export interface S3SourceConfig { /** * The ARN of an IAM role that has read and write access permissions to the source S3 bucket. */ - RoleArn: Arn; + RoleArn?: Arn; /** * A list of templated paths to the source files. */ diff --git a/node_modules/aws-sdk/clients/lookoutvision.d.ts b/node_modules/aws-sdk/clients/lookoutvision.d.ts index 4a41f2ca9..ebd8f434c 100644 --- a/node_modules/aws-sdk/clients/lookoutvision.d.ts +++ b/node_modules/aws-sdk/clients/lookoutvision.d.ts @@ -149,11 +149,11 @@ declare class LookoutVision extends Service { */ startModel(callback?: (err: AWSError, data: LookoutVision.Types.StartModelResponse) => void): Request; /** - * Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass. Use the DescribeModelPackagingJob API to determine the current status of the job. The model packaging job is complete if the value of Status is SUCCEEDED. To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass CreateDeployment API. This operation requires the following permissions: lookoutvision:StartModelPackagingJobs s3:PutObject s3:GetBucketLocation greengrass:CreateComponentVersion greengrass:DescribeComponent (Optional) greengrass:TagResource. Only required if you want to tag the component. For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide. + * Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass. Use the DescribeModelPackagingJob API to determine the current status of the job. The model packaging job is complete if the value of Status is SUCCEEDED. To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass CreateDeployment API. This operation requires the following permissions: lookoutvision:StartModelPackagingJob s3:PutObject s3:GetBucketLocation greengrass:CreateComponentVersion greengrass:DescribeComponent (Optional) greengrass:TagResource. Only required if you want to tag the component. For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide. */ startModelPackagingJob(params: LookoutVision.Types.StartModelPackagingJobRequest, callback?: (err: AWSError, data: LookoutVision.Types.StartModelPackagingJobResponse) => void): Request; /** - * Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass. Use the DescribeModelPackagingJob API to determine the current status of the job. The model packaging job is complete if the value of Status is SUCCEEDED. To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass CreateDeployment API. This operation requires the following permissions: lookoutvision:StartModelPackagingJobs s3:PutObject s3:GetBucketLocation greengrass:CreateComponentVersion greengrass:DescribeComponent (Optional) greengrass:TagResource. Only required if you want to tag the component. For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide. + * Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass. Use the DescribeModelPackagingJob API to determine the current status of the job. The model packaging job is complete if the value of Status is SUCCEEDED. To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass CreateDeployment API. This operation requires the following permissions: lookoutvision:StartModelPackagingJob s3:PutObject s3:GetBucketLocation greengrass:CreateComponentVersion greengrass:DescribeComponent (Optional) greengrass:TagResource. Only required if you want to tag the component. For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide. */ startModelPackagingJob(callback?: (err: AWSError, data: LookoutVision.Types.StartModelPackagingJobResponse) => void): Request; /** @@ -510,9 +510,9 @@ declare namespace LookoutVision { export type Float = number; export interface GreengrassConfiguration { /** - * Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) are supported. For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide. + * Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) are supported. If you specify TargetPlatform, you must specify CompilerOptions. If you specify TargetDevice, don't specify CompilerOptions. For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide. */ - CompilerOptions: CompilerOptions; + CompilerOptions?: CompilerOptions; /** * The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform. */ diff --git a/node_modules/aws-sdk/clients/macie2.d.ts b/node_modules/aws-sdk/clients/macie2.d.ts index 3a37a2d84..7ec2db470 100644 --- a/node_modules/aws-sdk/clients/macie2.d.ts +++ b/node_modules/aws-sdk/clients/macie2.d.ts @@ -1064,11 +1064,11 @@ declare namespace Macie2 { /** * A custom name for the custom data identifier. The name can contain as many as 128 characters. We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie. */ - name?: __string; + name: __string; /** * The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters. */ - regex?: __string; + regex: __string; /** * The severity to assign to findings that the custom data identifier produces, based on the number of occurrences of text that matches the custom data identifier's detection criteria. You can specify as many as three SeverityLevel objects in this array, one for each severity: LOW, MEDIUM, or HIGH. If you specify more than one, the occurrences thresholds must be in ascending order by severity, moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for HIGH. If an S3 object contains fewer occurrences than the lowest specified threshold, Amazon Macie doesn't create a finding. If you don't specify any values for this array, Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings. */ diff --git a/node_modules/aws-sdk/clients/marketplacemetering.d.ts b/node_modules/aws-sdk/clients/marketplacemetering.d.ts index 4f17ddd9a..e3c3b3eb6 100644 --- a/node_modules/aws-sdk/clients/marketplacemetering.d.ts +++ b/node_modules/aws-sdk/clients/marketplacemetering.d.ts @@ -12,35 +12,35 @@ declare class MarketplaceMetering extends Service { constructor(options?: MarketplaceMetering.Types.ClientConfiguration) config: Config & MarketplaceMetering.Types.ClientConfiguration; /** - * BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers. For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records. Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage. BatchMeterUsage can process up to 25 UsageRecords at a time. A UsageRecord can optionally include multiple usage allocations, to provide customers with usagedata split into buckets by tags that you define (or allow the customer to define). BatchMeterUsage requests must be less than 1MB in size. + * BatchMeterUsage is called from a SaaS application listed on AWS Marketplace to post metering records for a set of customers. For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records. Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage. Usage records are expected to be submitted as quickly as possible after the event that is being recorded, and are not accepted more than 6 hours after the event. BatchMeterUsage can process up to 25 UsageRecords at a time. A UsageRecord can optionally include multiple usage allocations, to provide customers with usage data split into buckets by tags that you define (or allow the customer to define). BatchMeterUsage returns a list of UsageRecordResult objects, showing the result for each UsageRecord, as well as a list of UnprocessedRecords, indicating errors in the service side that you should retry. BatchMeterUsage requests must be less than 1MB in size. For an example of using BatchMeterUsage, see BatchMeterUsage code example in the AWS Marketplace Seller Guide. */ batchMeterUsage(params: MarketplaceMetering.Types.BatchMeterUsageRequest, callback?: (err: AWSError, data: MarketplaceMetering.Types.BatchMeterUsageResult) => void): Request; /** - * BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers. For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records. Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage. BatchMeterUsage can process up to 25 UsageRecords at a time. A UsageRecord can optionally include multiple usage allocations, to provide customers with usagedata split into buckets by tags that you define (or allow the customer to define). BatchMeterUsage requests must be less than 1MB in size. + * BatchMeterUsage is called from a SaaS application listed on AWS Marketplace to post metering records for a set of customers. For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records. Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage. Usage records are expected to be submitted as quickly as possible after the event that is being recorded, and are not accepted more than 6 hours after the event. BatchMeterUsage can process up to 25 UsageRecords at a time. A UsageRecord can optionally include multiple usage allocations, to provide customers with usage data split into buckets by tags that you define (or allow the customer to define). BatchMeterUsage returns a list of UsageRecordResult objects, showing the result for each UsageRecord, as well as a list of UnprocessedRecords, indicating errors in the service side that you should retry. BatchMeterUsage requests must be less than 1MB in size. For an example of using BatchMeterUsage, see BatchMeterUsage code example in the AWS Marketplace Seller Guide. */ batchMeterUsage(callback?: (err: AWSError, data: MarketplaceMetering.Types.BatchMeterUsageResult) => void): Request; /** - * API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID. MeterUsage is authenticated on the buyer's AWS account using credentials from the EC2 instance, ECS task, or EKS pod. MeterUsage can optionally include multiple usage allocations, to provide customers with usage data split into buckets by tags that you define (or allow the customer to define). + * API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID. MeterUsage is authenticated on the buyer's AWS account using credentials from the EC2 instance, ECS task, or EKS pod. MeterUsage can optionally include multiple usage allocations, to provide customers with usage data split into buckets by tags that you define (or allow the customer to define). Usage records are expected to be submitted as quickly as possible after the event that is being recorded, and are not accepted more than 6 hours after the event. */ meterUsage(params: MarketplaceMetering.Types.MeterUsageRequest, callback?: (err: AWSError, data: MarketplaceMetering.Types.MeterUsageResult) => void): Request; /** - * API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID. MeterUsage is authenticated on the buyer's AWS account using credentials from the EC2 instance, ECS task, or EKS pod. MeterUsage can optionally include multiple usage allocations, to provide customers with usage data split into buckets by tags that you define (or allow the customer to define). + * API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID. MeterUsage is authenticated on the buyer's AWS account using credentials from the EC2 instance, ECS task, or EKS pod. MeterUsage can optionally include multiple usage allocations, to provide customers with usage data split into buckets by tags that you define (or allow the customer to define). Usage records are expected to be submitted as quickly as possible after the event that is being recorded, and are not accepted more than 6 hours after the event. */ meterUsage(callback?: (err: AWSError, data: MarketplaceMetering.Types.MeterUsageResult) => void): Request; /** - * Paid container software products sold through AWS Marketplace must integrate with the AWS Marketplace Metering Service and call the RegisterUsage operation for software entitlement and metering. Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call RegisterUsage, but you may choose to do so if you would like to receive usage data in your seller reports. The sections below explain the behavior of RegisterUsage. RegisterUsage performs two primary functions: metering and entitlement. Entitlement: RegisterUsage allows you to verify that the customer running your paid software is subscribed to your product on AWS Marketplace, enabling you to guard against unauthorized use. Your container image that integrates with RegisterUsage is only required to guard against unauthorized use at container startup, as such a CustomerNotSubscribedException/PlatformNotSupportedException will only be thrown on the initial call to RegisterUsage. Subsequent calls from the same Amazon ECS task instance (e.g. task-id) or Amazon EKS pod will not throw a CustomerNotSubscribedException, even if the customer unsubscribes while the Amazon ECS task or Amazon EKS pod is still running. Metering: RegisterUsage meters software use per ECS task, per hour, or per pod for Amazon EKS with usage prorated to the second. A minimum of 1 minute of usage applies to tasks that are short lived. For example, if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a service configured as a Daemon Set, then Amazon ECS or Amazon EKS will launch a task on all 10 cluster nodes and the customer will be charged: (10 * hourly_rate). Metering for software use is automatically handled by the AWS Marketplace Metering Control Plane -- your software is not required to perform any metering specific actions, other than call RegisterUsage once for metering of software use to commence. The AWS Marketplace Metering Control Plane will also continue to bill customers for running ECS tasks and Amazon EKS pods, regardless of the customers subscription state, removing the need for your software to perform entitlement checks at runtime. + * Paid container software products sold through AWS Marketplace must integrate with the AWS Marketplace Metering Service and call the RegisterUsage operation for software entitlement and metering. Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call RegisterUsage, but you may choose to do so if you would like to receive usage data in your seller reports. The sections below explain the behavior of RegisterUsage. RegisterUsage performs two primary functions: metering and entitlement. Entitlement: RegisterUsage allows you to verify that the customer running your paid software is subscribed to your product on AWS Marketplace, enabling you to guard against unauthorized use. Your container image that integrates with RegisterUsage is only required to guard against unauthorized use at container startup, as such a CustomerNotSubscribedException or PlatformNotSupportedException will only be thrown on the initial call to RegisterUsage. Subsequent calls from the same Amazon ECS task instance (e.g. task-id) or Amazon EKS pod will not throw a CustomerNotSubscribedException, even if the customer unsubscribes while the Amazon ECS task or Amazon EKS pod is still running. Metering: RegisterUsage meters software use per ECS task, per hour, or per pod for Amazon EKS with usage prorated to the second. A minimum of 1 minute of usage applies to tasks that are short lived. For example, if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a service configured as a Daemon Set, then Amazon ECS or Amazon EKS will launch a task on all 10 cluster nodes and the customer will be charged: (10 * hourly_rate). Metering for software use is automatically handled by the AWS Marketplace Metering Control Plane -- your software is not required to perform any metering specific actions, other than call RegisterUsage once for metering of software use to commence. The AWS Marketplace Metering Control Plane will also continue to bill customers for running ECS tasks and Amazon EKS pods, regardless of the customers subscription state, removing the need for your software to perform entitlement checks at runtime. */ registerUsage(params: MarketplaceMetering.Types.RegisterUsageRequest, callback?: (err: AWSError, data: MarketplaceMetering.Types.RegisterUsageResult) => void): Request; /** - * Paid container software products sold through AWS Marketplace must integrate with the AWS Marketplace Metering Service and call the RegisterUsage operation for software entitlement and metering. Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call RegisterUsage, but you may choose to do so if you would like to receive usage data in your seller reports. The sections below explain the behavior of RegisterUsage. RegisterUsage performs two primary functions: metering and entitlement. Entitlement: RegisterUsage allows you to verify that the customer running your paid software is subscribed to your product on AWS Marketplace, enabling you to guard against unauthorized use. Your container image that integrates with RegisterUsage is only required to guard against unauthorized use at container startup, as such a CustomerNotSubscribedException/PlatformNotSupportedException will only be thrown on the initial call to RegisterUsage. Subsequent calls from the same Amazon ECS task instance (e.g. task-id) or Amazon EKS pod will not throw a CustomerNotSubscribedException, even if the customer unsubscribes while the Amazon ECS task or Amazon EKS pod is still running. Metering: RegisterUsage meters software use per ECS task, per hour, or per pod for Amazon EKS with usage prorated to the second. A minimum of 1 minute of usage applies to tasks that are short lived. For example, if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a service configured as a Daemon Set, then Amazon ECS or Amazon EKS will launch a task on all 10 cluster nodes and the customer will be charged: (10 * hourly_rate). Metering for software use is automatically handled by the AWS Marketplace Metering Control Plane -- your software is not required to perform any metering specific actions, other than call RegisterUsage once for metering of software use to commence. The AWS Marketplace Metering Control Plane will also continue to bill customers for running ECS tasks and Amazon EKS pods, regardless of the customers subscription state, removing the need for your software to perform entitlement checks at runtime. + * Paid container software products sold through AWS Marketplace must integrate with the AWS Marketplace Metering Service and call the RegisterUsage operation for software entitlement and metering. Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call RegisterUsage, but you may choose to do so if you would like to receive usage data in your seller reports. The sections below explain the behavior of RegisterUsage. RegisterUsage performs two primary functions: metering and entitlement. Entitlement: RegisterUsage allows you to verify that the customer running your paid software is subscribed to your product on AWS Marketplace, enabling you to guard against unauthorized use. Your container image that integrates with RegisterUsage is only required to guard against unauthorized use at container startup, as such a CustomerNotSubscribedException or PlatformNotSupportedException will only be thrown on the initial call to RegisterUsage. Subsequent calls from the same Amazon ECS task instance (e.g. task-id) or Amazon EKS pod will not throw a CustomerNotSubscribedException, even if the customer unsubscribes while the Amazon ECS task or Amazon EKS pod is still running. Metering: RegisterUsage meters software use per ECS task, per hour, or per pod for Amazon EKS with usage prorated to the second. A minimum of 1 minute of usage applies to tasks that are short lived. For example, if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a service configured as a Daemon Set, then Amazon ECS or Amazon EKS will launch a task on all 10 cluster nodes and the customer will be charged: (10 * hourly_rate). Metering for software use is automatically handled by the AWS Marketplace Metering Control Plane -- your software is not required to perform any metering specific actions, other than call RegisterUsage once for metering of software use to commence. The AWS Marketplace Metering Control Plane will also continue to bill customers for running ECS tasks and Amazon EKS pods, regardless of the customers subscription state, removing the need for your software to perform entitlement checks at runtime. */ registerUsage(callback?: (err: AWSError, data: MarketplaceMetering.Types.RegisterUsageResult) => void): Request; /** - * ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier and product code. + * ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier along with the CustomerAWSAccountId and ProductCode. The API needs to called from the seller account id used to publish the SaaS application to successfully resolve the token. For an example of using ResolveCustomer, see ResolveCustomer code example in the AWS Marketplace Seller Guide. */ resolveCustomer(params: MarketplaceMetering.Types.ResolveCustomerRequest, callback?: (err: AWSError, data: MarketplaceMetering.Types.ResolveCustomerResult) => void): Request; /** - * ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier and product code. + * ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier along with the CustomerAWSAccountId and ProductCode. The API needs to called from the seller account id used to publish the SaaS application to successfully resolve the token. For an example of using ResolveCustomer, see ResolveCustomer code example in the AWS Marketplace Seller Guide. */ resolveCustomer(callback?: (err: AWSError, data: MarketplaceMetering.Types.ResolveCustomerResult) => void): Request; } @@ -58,7 +58,7 @@ declare namespace MarketplaceMetering { } export interface BatchMeterUsageResult { /** - * Contains all UsageRecords processed by BatchMeterUsage. These records were either honored by AWS Marketplace Metering Service or were invalid. + * Contains all UsageRecords processed by BatchMeterUsage. These records were either honored by AWS Marketplace Metering Service or were invalid. Invalid records should be fixed before being resubmitted. */ Results?: UsageRecordResultList; /** @@ -67,6 +67,7 @@ declare namespace MarketplaceMetering { UnprocessedRecords?: UsageRecordList; } export type Boolean = boolean; + export type CustomerAWSAccountId = string; export type CustomerIdentifier = string; export interface MeterUsageRequest { /** @@ -129,7 +130,7 @@ declare namespace MarketplaceMetering { } export interface ResolveCustomerRequest { /** - * When a buyer visits your website during the registration process, the buyer submits a registration token through the browser. The registration token is resolved to obtain a CustomerIdentifier and product code. + * When a buyer visits your website during the registration process, the buyer submits a registration token through the browser. The registration token is resolved to obtain a CustomerIdentifier along with the CustomerAWSAccountId and ProductCode. */ RegistrationToken: NonEmptyString; } @@ -142,6 +143,10 @@ declare namespace MarketplaceMetering { * The product code is returned to confirm that the buyer is registering for your product. Subsequent BatchMeterUsage calls should be made using this product code. */ ProductCode?: ProductCode; + /** + * The CustomerAWSAccountId provides the AWS account ID associated with the CustomerIdentifier for the individual customer. + */ + CustomerAWSAccountId?: CustomerAWSAccountId; } export type String = string; export interface Tag { @@ -181,7 +186,7 @@ declare namespace MarketplaceMetering { */ CustomerIdentifier: CustomerIdentifier; /** - * During the process of registering a product on AWS Marketplace, up to eight dimensions are specified. These represent different units of value in your application. + * During the process of registering a product on AWS Marketplace, dimensions are specified. These represent different units of value in your application. */ Dimension: UsageDimension; /** @@ -204,7 +209,7 @@ declare namespace MarketplaceMetering { */ MeteringRecordId?: String; /** - * The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage. Success- The UsageRecord was accepted and honored by BatchMeterUsage. CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product. DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity. + * The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage. Success- The UsageRecord was accepted and honored by BatchMeterUsage. CustomerNotSubscribed- The CustomerIdentifier specified is not able to use your product. The UsageRecord was not honored. There are three causes for this result: The customer identifier is invalid. The customer identifier provided in the metering record does not have an active agreement or subscription with this product. Future UsageRecords for this customer will fail until the customer subscribes to your product. The customer's AWS account was suspended. DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity. */ Status?: UsageRecordResultStatus; } diff --git a/node_modules/aws-sdk/clients/mediaconvert.d.ts b/node_modules/aws-sdk/clients/mediaconvert.d.ts index c89a555dd..f3e5334c6 100644 --- a/node_modules/aws-sdk/clients/mediaconvert.d.ts +++ b/node_modules/aws-sdk/clients/mediaconvert.d.ts @@ -587,6 +587,7 @@ declare namespace MediaConvert { AbrSettings?: AutomatedAbrSettings; } export type Av1AdaptiveQuantization = "OFF"|"LOW"|"MEDIUM"|"HIGH"|"HIGHER"|"MAX"|string; + export type Av1BitDepth = "BIT_8"|"BIT_10"|string; export type Av1FramerateControl = "INITIALIZE_FROM_SOURCE"|"SPECIFIED"|string; export type Av1FramerateConversionAlgorithm = "DUPLICATE_DROP"|"INTERPOLATE"|"FRAMEFORMER"|string; export interface Av1QvbrSettings { @@ -605,6 +606,10 @@ declare namespace MediaConvert { * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to Spatial adaptive quantization (spatialAdaptiveQuantization). */ AdaptiveQuantization?: Av1AdaptiveQuantization; + /** + * Specify the Bit depth (Av1BitDepth). You can choose 8-bit (BIT_8) or 10-bit (BIT_10). + */ + BitDepth?: Av1BitDepth; /** * If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator. */ @@ -1182,7 +1187,12 @@ declare namespace MediaConvert { * Ignore this setting unless you have SCTE-35 markers in your input video file. Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want those SCTE-35 markers in this output. */ Scte35Source?: CmfcScte35Source; + /** + * Applies to CMAF outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output. + */ + TimedMetadata?: CmfcTimedMetadata; } + export type CmfcTimedMetadata = "PASSTHROUGH"|"NONE"|string; export interface ColorCorrector { /** * Brightness level. @@ -2403,7 +2413,7 @@ Within your job settings, all of your DVB-Sub settings must be identical. export type H264Telecine = "NONE"|"SOFT"|"HARD"|string; export type H264TemporalAdaptiveQuantization = "DISABLED"|"ENABLED"|string; export type H264UnregisteredSeiTimecode = "DISABLED"|"ENABLED"|string; - export type H265AdaptiveQuantization = "OFF"|"LOW"|"MEDIUM"|"HIGH"|"HIGHER"|"MAX"|string; + export type H265AdaptiveQuantization = "OFF"|"LOW"|"MEDIUM"|"HIGH"|"HIGHER"|"MAX"|"AUTO"|string; export type H265AlternateTransferFunctionSei = "DISABLED"|"ENABLED"|string; export type H265CodecLevel = "AUTO"|"LEVEL_1"|"LEVEL_2"|"LEVEL_2_1"|"LEVEL_3"|"LEVEL_3_1"|"LEVEL_4"|"LEVEL_4_1"|"LEVEL_5"|"LEVEL_5_1"|"LEVEL_5_2"|"LEVEL_6"|"LEVEL_6_1"|"LEVEL_6_2"|string; export type H265CodecProfile = "MAIN_MAIN"|"MAIN_HIGH"|"MAIN10_MAIN"|"MAIN10_HIGH"|"MAIN_422_8BIT_MAIN"|"MAIN_422_8BIT_HIGH"|"MAIN_422_10BIT_MAIN"|"MAIN_422_10BIT_HIGH"|string; @@ -2436,7 +2446,7 @@ Within your job settings, all of your DVB-Sub settings must be identical. export type H265SceneChangeDetect = "DISABLED"|"ENABLED"|"TRANSITION_DETECTION"|string; export interface H265Settings { /** - * Specify the strength of any adaptive quantization filters that you enable. The value that you choose here applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization). + * When you set Adaptive Quantization (H265AdaptiveQuantization) to Auto (AUTO), or leave blank, MediaConvert automatically applies quantization to improve the video quality of your output. Set Adaptive Quantization to Low (LOW), Medium (MEDIUM), High (HIGH), Higher (HIGHER), or Max (MAX) to manually control the strength of the quantization filter. When you do, you can specify a value for Spatial Adaptive Quantization (H265SpatialAdaptiveQuantization), Temporal Adaptive Quantization (H265TemporalAdaptiveQuantization), and Flicker Adaptive Quantization (H265FlickerAdaptiveQuantization), to further control the quantization filter. Set Adaptive Quantization to Off (OFF) to apply no quantization to your output. */ AdaptiveQuantization?: H265AdaptiveQuantization; /** @@ -2969,7 +2979,12 @@ Within your job settings, all of your DVB-Sub settings must be identical. */ InsertableImages?: __listOfInsertableImage; } + export type ImscAccessibilitySubs = "DISABLED"|"ENABLED"|string; export interface ImscDestinationSettings { + /** + * Specify whether to flag this caption track as accessibility in your HLS/CMAF parent manifest. When you choose ENABLED, MediaConvert includes the parameters CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES" in the EXT-X-MEDIA entry for this track. When you keep the default choice, DISABLED, MediaConvert leaves this parameter out. + */ + Accessibility?: ImscAccessibilitySubs; /** * Keep this setting enabled to have MediaConvert use the font style and position information from the captions source in the output. This option is available only when your input captions are IMSC, SMPTE-TT, or TTML. Disable this setting for simplified output captions. */ @@ -3005,6 +3020,10 @@ Within your job settings, all of your DVB-Sub settings must be identical. * Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs. */ DenoiseFilter?: InputDenoiseFilter; + /** + * Use this setting only when your video source has Dolby Vision studio mastering metadata that is carried in a separate XML file. Specify the Amazon S3 location for the metadata XML file. MediaConvert uses this file to provide global and frame-level metadata for Dolby Vision preprocessing. When you specify a file here and your input also has interleaved global and frame level metadata, MediaConvert ignores the interleaved metadata and uses only the the metadata from this external XML file. Note that your IAM service role must grant MediaConvert read permissions to this file. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html. + */ + DolbyVisionMetadataXml?: __stringMin14PatternS3XmlXMLHttpsXmlXML; /** * Specify the source file for your transcoding job. You can use multiple inputs in a single job. The service concatenates these inputs, in the order that you specify them in the job, to create the outputs. If your input format is IMF, specify your input by providing the path to your CPL. For example, "s3://bucket/vf/cpl.xml". If the CPL is in an incomplete IMP, make sure to use *Supplemental IMPs* (SupplementalImps) to specify any supplemental IMPs that contain assets referenced by the CPL. */ @@ -3119,6 +3138,10 @@ Within your job settings, all of your DVB-Sub settings must be identical. * Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs. */ DenoiseFilter?: InputDenoiseFilter; + /** + * Use this setting only when your video source has Dolby Vision studio mastering metadata that is carried in a separate XML file. Specify the Amazon S3 location for the metadata XML file. MediaConvert uses this file to provide global and frame-level metadata for Dolby Vision preprocessing. When you specify a file here and your input also has interleaved global and frame level metadata, MediaConvert ignores the interleaved metadata and uses only the the metadata from this external XML file. Note that your IAM service role must grant MediaConvert read permissions to this file. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html. + */ + DolbyVisionMetadataXml?: __stringMin14PatternS3XmlXMLHttpsXmlXML; /** * Specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The input is filtered regardless of input type. */ @@ -3534,7 +3557,7 @@ Within your job settings, all of your DVB-Sub settings must be identical. */ Metadata8?: __stringMin1Max50; } - export type LanguageCode = "ENG"|"SPA"|"FRA"|"DEU"|"GER"|"ZHO"|"ARA"|"HIN"|"JPN"|"RUS"|"POR"|"ITA"|"URD"|"VIE"|"KOR"|"PAN"|"ABK"|"AAR"|"AFR"|"AKA"|"SQI"|"AMH"|"ARG"|"HYE"|"ASM"|"AVA"|"AVE"|"AYM"|"AZE"|"BAM"|"BAK"|"EUS"|"BEL"|"BEN"|"BIH"|"BIS"|"BOS"|"BRE"|"BUL"|"MYA"|"CAT"|"KHM"|"CHA"|"CHE"|"NYA"|"CHU"|"CHV"|"COR"|"COS"|"CRE"|"HRV"|"CES"|"DAN"|"DIV"|"NLD"|"DZO"|"ENM"|"EPO"|"EST"|"EWE"|"FAO"|"FIJ"|"FIN"|"FRM"|"FUL"|"GLA"|"GLG"|"LUG"|"KAT"|"ELL"|"GRN"|"GUJ"|"HAT"|"HAU"|"HEB"|"HER"|"HMO"|"HUN"|"ISL"|"IDO"|"IBO"|"IND"|"INA"|"ILE"|"IKU"|"IPK"|"GLE"|"JAV"|"KAL"|"KAN"|"KAU"|"KAS"|"KAZ"|"KIK"|"KIN"|"KIR"|"KOM"|"KON"|"KUA"|"KUR"|"LAO"|"LAT"|"LAV"|"LIM"|"LIN"|"LIT"|"LUB"|"LTZ"|"MKD"|"MLG"|"MSA"|"MAL"|"MLT"|"GLV"|"MRI"|"MAR"|"MAH"|"MON"|"NAU"|"NAV"|"NDE"|"NBL"|"NDO"|"NEP"|"SME"|"NOR"|"NOB"|"NNO"|"OCI"|"OJI"|"ORI"|"ORM"|"OSS"|"PLI"|"FAS"|"POL"|"PUS"|"QUE"|"QAA"|"RON"|"ROH"|"RUN"|"SMO"|"SAG"|"SAN"|"SRD"|"SRB"|"SNA"|"III"|"SND"|"SIN"|"SLK"|"SLV"|"SOM"|"SOT"|"SUN"|"SWA"|"SSW"|"SWE"|"TGL"|"TAH"|"TGK"|"TAM"|"TAT"|"TEL"|"THA"|"BOD"|"TIR"|"TON"|"TSO"|"TSN"|"TUR"|"TUK"|"TWI"|"UIG"|"UKR"|"UZB"|"VEN"|"VOL"|"WLN"|"CYM"|"FRY"|"WOL"|"XHO"|"YID"|"YOR"|"ZHA"|"ZUL"|"ORJ"|"QPC"|"TNG"|string; + export type LanguageCode = "ENG"|"SPA"|"FRA"|"DEU"|"GER"|"ZHO"|"ARA"|"HIN"|"JPN"|"RUS"|"POR"|"ITA"|"URD"|"VIE"|"KOR"|"PAN"|"ABK"|"AAR"|"AFR"|"AKA"|"SQI"|"AMH"|"ARG"|"HYE"|"ASM"|"AVA"|"AVE"|"AYM"|"AZE"|"BAM"|"BAK"|"EUS"|"BEL"|"BEN"|"BIH"|"BIS"|"BOS"|"BRE"|"BUL"|"MYA"|"CAT"|"KHM"|"CHA"|"CHE"|"NYA"|"CHU"|"CHV"|"COR"|"COS"|"CRE"|"HRV"|"CES"|"DAN"|"DIV"|"NLD"|"DZO"|"ENM"|"EPO"|"EST"|"EWE"|"FAO"|"FIJ"|"FIN"|"FRM"|"FUL"|"GLA"|"GLG"|"LUG"|"KAT"|"ELL"|"GRN"|"GUJ"|"HAT"|"HAU"|"HEB"|"HER"|"HMO"|"HUN"|"ISL"|"IDO"|"IBO"|"IND"|"INA"|"ILE"|"IKU"|"IPK"|"GLE"|"JAV"|"KAL"|"KAN"|"KAU"|"KAS"|"KAZ"|"KIK"|"KIN"|"KIR"|"KOM"|"KON"|"KUA"|"KUR"|"LAO"|"LAT"|"LAV"|"LIM"|"LIN"|"LIT"|"LUB"|"LTZ"|"MKD"|"MLG"|"MSA"|"MAL"|"MLT"|"GLV"|"MRI"|"MAR"|"MAH"|"MON"|"NAU"|"NAV"|"NDE"|"NBL"|"NDO"|"NEP"|"SME"|"NOR"|"NOB"|"NNO"|"OCI"|"OJI"|"ORI"|"ORM"|"OSS"|"PLI"|"FAS"|"POL"|"PUS"|"QUE"|"QAA"|"RON"|"ROH"|"RUN"|"SMO"|"SAG"|"SAN"|"SRD"|"SRB"|"SNA"|"III"|"SND"|"SIN"|"SLK"|"SLV"|"SOM"|"SOT"|"SUN"|"SWA"|"SSW"|"SWE"|"TGL"|"TAH"|"TGK"|"TAM"|"TAT"|"TEL"|"THA"|"BOD"|"TIR"|"TON"|"TSO"|"TSN"|"TUR"|"TUK"|"TWI"|"UIG"|"UKR"|"UZB"|"VEN"|"VOL"|"WLN"|"CYM"|"FRY"|"WOL"|"XHO"|"YID"|"YOR"|"ZHA"|"ZUL"|"ORJ"|"QPC"|"TNG"|"SRP"|string; export interface ListJobTemplatesRequest { /** * Optionally, specify a job template category to limit responses to only job templates from that category. @@ -3912,7 +3935,7 @@ Within your job settings, all of your DVB-Sub settings must be identical. */ Scte35Source?: M3u8Scte35Source; /** - * Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output. + * Applies to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output. */ TimedMetadata?: TimedMetadata; /** @@ -4095,7 +4118,12 @@ Within your job settings, all of your DVB-Sub settings must be identical. * Ignore this setting unless you have SCTE-35 markers in your input video file. Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None (NONE) if you don't want those SCTE-35 markers in this output. */ Scte35Source?: MpdScte35Source; + /** + * Applies to DASH outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output. + */ + TimedMetadata?: MpdTimedMetadata; } + export type MpdTimedMetadata = "PASSTHROUGH"|"NONE"|string; export type Mpeg2AdaptiveQuantization = "OFF"|"LOW"|"MEDIUM"|"HIGH"|string; export type Mpeg2CodecLevel = "AUTO"|"LOW"|"MAIN"|"HIGH1440"|"HIGH"|string; export type Mpeg2CodecProfile = "MAIN"|"PROFILE_422"|string; @@ -4920,7 +4948,7 @@ Within your job settings, all of your DVB-Sub settings must be identical. /** * Optionally, specify the customer master key (CMK) that you want to use to encrypt the data key that AWS uses to encrypt your output content. Enter the Amazon Resource Name (ARN) of the CMK. To use this setting, you must also set Server-side encryption (S3ServerSideEncryptionType) to AWS KMS (SERVER_SIDE_ENCRYPTION_KMS). If you set Server-side encryption to AWS KMS but don't specify a CMK here, AWS uses the AWS managed CMK associated with Amazon S3. */ - KmsKeyArn?: __stringPatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912; + KmsKeyArn?: __stringPatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912MrkAFAF0932; } export type S3ObjectCannedAcl = "PUBLIC_READ"|"AUTHENTICATED_READ"|"BUCKET_OWNER_READ"|"BUCKET_OWNER_FULL_CONTROL"|string; export type S3ServerSideEncryptionType = "SERVER_SIDE_ENCRYPTION_S3"|"SERVER_SIDE_ENCRYPTION_KMS"|string; @@ -5593,7 +5621,12 @@ Within your job settings, all of your DVB-Sub settings must be identical. */ SampleRate?: __integerMin8000Max192000; } + export type WebvttAccessibilitySubs = "DISABLED"|"ENABLED"|string; export interface WebvttDestinationSettings { + /** + * Specify whether to flag this caption track as accessibility in your HLS/CMAF parent manifest. When you choose ENABLED, MediaConvert includes the parameters CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES" in the EXT-X-MEDIA entry for this track. When you keep the default choice, DISABLED, MediaConvert leaves this parameter out. + */ + Accessibility?: WebvttAccessibilitySubs; /** * Set Style passthrough (StylePassthrough) to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use simplified output captions. */ @@ -5939,6 +5972,7 @@ Within your job settings, all of your DVB-Sub settings must be identical. export type __stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA = string; export type __stringMin14PatternS3Mov09PngHttpsMov09Png = string; export type __stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT = string; + export type __stringMin14PatternS3XmlXMLHttpsXmlXML = string; export type __stringMin16Max24PatternAZaZ0922AZaZ0916 = string; export type __stringMin1Max100000 = string; export type __stringMin1Max20 = string; @@ -5963,7 +5997,7 @@ Within your job settings, all of your DVB-Sub settings must be identical. export type __stringPatternAZaZ0932 = string; export type __stringPatternAZaZ23AZaZ = string; export type __stringPatternArnAwsUsGovAcm = string; - export type __stringPatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912 = string; + export type __stringPatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912MrkAFAF0932 = string; export type __stringPatternDD = string; export type __stringPatternHttps = string; export type __stringPatternHttpsKantarmediaCom = string; diff --git a/node_modules/aws-sdk/clients/medialive.d.ts b/node_modules/aws-sdk/clients/medialive.d.ts index 71d8a1c46..46c848d21 100644 --- a/node_modules/aws-sdk/clients/medialive.d.ts +++ b/node_modules/aws-sdk/clients/medialive.d.ts @@ -3477,9 +3477,17 @@ SEGMENTS_ONLY: Does not generate any manifests for this output group. */ OutputSelection?: HlsOutputSelection; /** - * Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestampOffset. + * Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated using the program date time clock. */ ProgramDateTime?: HlsProgramDateTime; + /** + * Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. Options include: + +INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized as a function of the first output timecode, then incremented by the EXTINF duration of each encoded segment. + +SYSTEM_CLOCK: The PDT clock is initialized as a function of the UTC wall clock, then incremented by the EXTINF duration of each encoded segment. If the PDT clock diverges from the wall clock by more than 500ms, it is resynchronized to the wall clock. + */ + ProgramDateTimeClock?: HlsProgramDateTimeClock; /** * Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. */ @@ -3607,6 +3615,7 @@ Specifies whether MP4 segments should be packaged as HEV1 or HVC1. SegmentModifier?: __string; } export type HlsProgramDateTime = "EXCLUDE"|"INCLUDE"|string; + export type HlsProgramDateTimeClock = "INITIALIZE_FROM_OUTPUT_TIMECODE"|"SYSTEM_CLOCK"|string; export type HlsRedundantManifest = "DISABLED"|"ENABLED"|string; export interface HlsS3Settings { /** diff --git a/node_modules/aws-sdk/clients/mediatailor.d.ts b/node_modules/aws-sdk/clients/mediatailor.d.ts index 01e23835f..46bdd1ac9 100644 --- a/node_modules/aws-sdk/clients/mediatailor.d.ts +++ b/node_modules/aws-sdk/clients/mediatailor.d.ts @@ -424,7 +424,7 @@ declare namespace MediaTailor { */ CreationTime?: __timestampUnix; /** - * Contains information about the slate used to fill gaps between programs in the schedule. You must configure FillerSlate if your channel uses an LINEAR PlaybackMode. + * The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode. */ FillerSlate?: SlateSource; /** @@ -473,7 +473,7 @@ declare namespace MediaTailor { */ ChannelName: __string; /** - * The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses a LINEAR PlaybackMode. + * The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode. */ FillerSlate?: SlateSource; /** @@ -648,6 +648,7 @@ declare namespace MediaTailor { * The source's HTTP package configurations. */ HttpConfiguration: HttpConfiguration; + SegmentDeliveryConfigurations?: __listOfSegmentDeliveryConfiguration; /** * The identifier for the source location you are working on. */ @@ -682,6 +683,7 @@ declare namespace MediaTailor { * The timestamp that indicates when the source location was last modified. */ LastModifiedTime?: __timestampUnix; + SegmentDeliveryConfigurations?: __listOfSegmentDeliveryConfiguration; /** * The name of the source location. */ @@ -974,6 +976,7 @@ declare namespace MediaTailor { * The timestamp that indicates when the source location was last modified. */ LastModifiedTime?: __timestampUnix; + SegmentDeliveryConfigurations?: __listOfSegmentDeliveryConfiguration; /** * The name of the source location. */ @@ -1792,6 +1795,10 @@ declare namespace MediaTailor { */ SecretStringKey?: __string; } + export interface SegmentDeliveryConfiguration { + BaseUrl?: __string; + Name?: __string; + } export interface SlateSource { /** * The name of the source location where the slate VOD source is stored. @@ -1827,6 +1834,7 @@ declare namespace MediaTailor { * The timestamp that indicates when the source location was last modified. */ LastModifiedTime?: __timestampUnix; + SegmentDeliveryConfigurations?: __listOfSegmentDeliveryConfiguration; /** * The name of the source location. */ @@ -1914,6 +1922,10 @@ declare namespace MediaTailor { * The identifier for the channel you are working on. */ ChannelName: __string; + /** + * The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode. + */ + FillerSlate?: SlateSource; /** * The channel's output properties. */ @@ -1970,6 +1982,7 @@ declare namespace MediaTailor { * The HTTP configuration for the source location. */ HttpConfiguration: HttpConfiguration; + SegmentDeliveryConfigurations?: __listOfSegmentDeliveryConfiguration; /** * The identifier for the source location you are working on. */ @@ -2000,6 +2013,7 @@ declare namespace MediaTailor { * The timestamp that indicates when the source location was last modified. */ LastModifiedTime?: __timestampUnix; + SegmentDeliveryConfigurations?: __listOfSegmentDeliveryConfiguration; /** * The name of the source location. */ @@ -2095,6 +2109,7 @@ declare namespace MediaTailor { export type __listOfPrefetchSchedule = PrefetchSchedule[]; export type __listOfScheduleAdBreak = ScheduleAdBreak[]; export type __listOfScheduleEntry = ScheduleEntry[]; + export type __listOfSegmentDeliveryConfiguration = SegmentDeliveryConfiguration[]; export type __listOfSourceLocation = SourceLocation[]; export type __listOfVodSource = VodSource[]; export type __listOf__string = __string[]; diff --git a/node_modules/aws-sdk/clients/mwaa.d.ts b/node_modules/aws-sdk/clients/mwaa.d.ts index 605e3874b..6c7e05635 100644 --- a/node_modules/aws-sdk/clients/mwaa.d.ts +++ b/node_modules/aws-sdk/clients/mwaa.d.ts @@ -12,11 +12,11 @@ declare class MWAA extends Service { constructor(options?: MWAA.Types.ClientConfiguration) config: Config & MWAA.Types.ClientConfiguration; /** - * Create a CLI token to use Airflow CLI. + * Creates a CLI token for the Airflow CLI. To learn more, see Creating an Apache Airflow CLI token. */ createCliToken(params: MWAA.Types.CreateCliTokenRequest, callback?: (err: AWSError, data: MWAA.Types.CreateCliTokenResponse) => void): Request; /** - * Create a CLI token to use Airflow CLI. + * Creates a CLI token for the Airflow CLI. To learn more, see Creating an Apache Airflow CLI token. */ createCliToken(callback?: (err: AWSError, data: MWAA.Types.CreateCliTokenResponse) => void): Request; /** @@ -28,11 +28,11 @@ declare class MWAA extends Service { */ createEnvironment(callback?: (err: AWSError, data: MWAA.Types.CreateEnvironmentOutput) => void): Request; /** - * Create a JWT token to be used to login to Airflow Web UI with claims based Authentication. + * Creates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token. */ createWebLoginToken(params: MWAA.Types.CreateWebLoginTokenRequest, callback?: (err: AWSError, data: MWAA.Types.CreateWebLoginTokenResponse) => void): Request; /** - * Create a JWT token to be used to login to Airflow Web UI with claims based Authentication. + * Creates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token. */ createWebLoginToken(callback?: (err: AWSError, data: MWAA.Types.CreateWebLoginTokenResponse) => void): Request; /** @@ -44,11 +44,11 @@ declare class MWAA extends Service { */ deleteEnvironment(callback?: (err: AWSError, data: MWAA.Types.DeleteEnvironmentOutput) => void): Request; /** - * Retrieves the details of an Amazon Managed Workflows for Apache Airflow (MWAA) environment. + * Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment. */ getEnvironment(params: MWAA.Types.GetEnvironmentInput, callback?: (err: AWSError, data: MWAA.Types.GetEnvironmentOutput) => void): Request; /** - * Retrieves the details of an Amazon Managed Workflows for Apache Airflow (MWAA) environment. + * Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment. */ getEnvironment(callback?: (err: AWSError, data: MWAA.Types.GetEnvironmentOutput) => void): Request; /** @@ -68,11 +68,11 @@ declare class MWAA extends Service { */ listTagsForResource(callback?: (err: AWSError, data: MWAA.Types.ListTagsForResourceOutput) => void): Request; /** - * An operation for publishing metrics from the customers to the Ops plane. + * Internal only. Publishes environment health metrics to Amazon CloudWatch. */ publishMetrics(params: MWAA.Types.PublishMetricsInput, callback?: (err: AWSError, data: MWAA.Types.PublishMetricsOutput) => void): Request; /** - * An operation for publishing metrics from the customers to the Ops plane. + * Internal only. Publishes environment health metrics to Amazon CloudWatch. */ publishMetrics(callback?: (err: AWSError, data: MWAA.Types.PublishMetricsOutput) => void): Request; /** @@ -108,17 +108,17 @@ declare namespace MWAA { export type ConfigValue = string; export interface CreateCliTokenRequest { /** - * Create a CLI token request for a MWAA environment. + * The name of the Amazon MWAA environment. For example, MyMWAAEnvironment. */ Name: EnvironmentName; } export interface CreateCliTokenResponse { /** - * Create an Airflow CLI login token response for the provided JWT token. + * An Airflow CLI login token. */ CliToken?: SyntheticCreateCliTokenResponseToken; /** - * Create an Airflow CLI login token response for the provided webserver hostname. + * The Airflow web server hostname for the environment. */ WebServerHostname?: Hostname; } @@ -128,7 +128,7 @@ declare namespace MWAA { */ AirflowConfigurationOptions?: SyntheticCreateEnvironmentInputAirflowConfigurationOptions; /** - * The Apache Airflow version for your environment. For example, v1.10.12. If no value is specified, defaults to the latest version. Valid values: v1.10.12. + * The Apache Airflow version for your environment. If no value is specified, defaults to the latest version. Valid values: 1.10.12, 2.0.2. To learn more, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA). */ AirflowVersion?: AirflowVersion; /** @@ -140,15 +140,15 @@ declare namespace MWAA { */ EnvironmentClass?: EnvironmentClass; /** - * The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an AWS Identity and Access Management (IAM) role that grants MWAA permission to access AWS services and resources used by your environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role. + * The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an Amazon Web Services Identity and Access Management (IAM) role that grants MWAA permission to access Amazon Web Services services and resources used by your environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role. */ ExecutionRoleArn: IamRoleArn; /** - * The AWS Key Management Service (KMS) key to encrypt the data in your environment. You can use an AWS owned CMK, or a Customer managed CMK (advanced). To learn more, see Get started with Amazon Managed Workflows for Apache Airflow. + * The Amazon Web Services Key Management Service (KMS) key to encrypt the data in your environment. You can use an Amazon Web Services owned CMK, or a Customer managed CMK (advanced). To learn more, see Create an Amazon MWAA environment. */ KmsKey?: KmsKey; /** - * Defines the Apache Airflow logs to send to CloudWatch Logs: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, WorkerLogs. + * Defines the Apache Airflow logs to send to CloudWatch Logs. */ LoggingConfiguration?: LoggingConfigurationInput; /** @@ -164,7 +164,7 @@ declare namespace MWAA { */ Name: EnvironmentName; /** - * The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA. + * The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see About networking on Amazon MWAA. */ NetworkConfiguration: NetworkConfiguration; /** @@ -184,7 +184,7 @@ declare namespace MWAA { */ RequirementsS3Path?: RelativePath; /** - * The number of Apache Airflow schedulers to run in your environment. + * The number of Apache Airflow schedulers to run in your environment. Valid values: v2.0.2 - Accepts between 2 to 5. Defaults to 2. v1.10.12 - Accepts 1. */ Schedulers?: Schedulers; /** @@ -192,7 +192,7 @@ declare namespace MWAA { */ SourceBucketArn: S3BucketArn; /** - * The key-value tag pairs you want to associate to your environment. For example, "Environment": "Staging". To learn more, see Tagging AWS resources. + * The key-value tag pairs you want to associate to your environment. For example, "Environment": "Staging". To learn more, see Tagging Amazon Web Services resources. */ Tags?: TagMap; /** @@ -200,7 +200,7 @@ declare namespace MWAA { */ WebserverAccessMode?: WebserverAccessMode; /** - * The day and time of the week to start weekly maintenance updates of your environment in the following format: DAY:HH:MM. For example: TUE:03:30. You can specify a start time in 30 minute increments only. Supported input includes the following: MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30) + * The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly maintenance updates of your environment in the following format: DAY:HH:MM. For example: TUE:03:30. You can specify a start time in 30 minute increments only. */ WeeklyMaintenanceWindowStart?: WeeklyMaintenanceWindowStart; } @@ -212,17 +212,17 @@ declare namespace MWAA { } export interface CreateWebLoginTokenRequest { /** - * Create an Airflow Web UI login token request for a MWAA environment. + * The name of the Amazon MWAA environment. For example, MyMWAAEnvironment. */ Name: EnvironmentName; } export interface CreateWebLoginTokenResponse { /** - * Create an Airflow Web UI login token response for the provided webserver hostname. + * The Airflow web server hostname for the environment. */ WebServerHostname?: Hostname; /** - * Create an Airflow Web UI login token response for the provided JWT token. + * An Airflow web server login token. */ WebToken?: SyntheticCreateWebLoginTokenResponseToken; } @@ -237,11 +237,11 @@ declare namespace MWAA { } export interface Dimension { /** - * Internal only API. + * Internal only. The name of the dimension. */ Name: String; /** - * Internal only API. + * Internal only. The value of the dimension. */ Value: String; } @@ -253,7 +253,7 @@ declare namespace MWAA { */ AirflowConfigurationOptions?: AirflowConfigurationOptions; /** - * The Apache Airflow version on your environment. For example, v1.10.12. + * The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2. */ AirflowVersion?: AirflowVersion; /** @@ -273,16 +273,19 @@ declare namespace MWAA { */ EnvironmentClass?: EnvironmentClass; /** - * The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role. + * The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role. */ ExecutionRoleArn?: IamRoleArn; /** - * The Key Management Service (KMS) encryption key used to encrypt the data in your environment. + * The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment. */ KmsKey?: KmsKey; + /** + * The status of the last update on the environment. + */ LastUpdate?: LastUpdate; /** - * The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, WorkerLogs. + * The Apache Airflow logs published to CloudWatch Logs. */ LoggingConfiguration?: LoggingConfiguration; /** @@ -297,6 +300,9 @@ declare namespace MWAA { * The name of the Amazon MWAA environment. For example, MyMWAAEnvironment. */ Name?: EnvironmentName; + /** + * Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see About networking on Amazon MWAA. + */ NetworkConfiguration?: NetworkConfiguration; /** * The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins. @@ -331,7 +337,7 @@ declare namespace MWAA { */ Status?: EnvironmentStatus; /** - * The key-value tag pairs associated to your environment. For example, "Environment": "Staging". To learn more, see Tagging AWS resources. + * The key-value tag pairs associated to your environment. For example, "Environment": "Staging". To learn more, see Tagging Amazon Web Services resources. */ Tags?: TagMap; /** @@ -343,7 +349,7 @@ declare namespace MWAA { */ WebserverUrl?: WebserverUrl; /** - * The day and time of the week that weekly maintenance updates are scheduled. For example: TUE:03:30. + * The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: TUE:03:30. */ WeeklyMaintenanceWindowStart?: WeeklyMaintenanceWindowStart; } @@ -380,7 +386,11 @@ declare namespace MWAA { */ Error?: UpdateError; /** - * The status of the last update on the environment. Valid values: SUCCESS, PENDING, FAILED. + * The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update. + */ + Source?: UpdateSource; + /** + * The status of the last update on the environment. */ Status?: UpdateStatus; } @@ -397,7 +407,7 @@ declare namespace MWAA { export type ListEnvironmentsInputMaxResultsInteger = number; export interface ListEnvironmentsOutput { /** - * Returns the list of Amazon MWAA environments. + * Returns a list of Amazon MWAA environments. */ Environments: EnvironmentList; /** @@ -413,22 +423,52 @@ declare namespace MWAA { } export interface ListTagsForResourceOutput { /** - * The key-value tag pairs associated to your environment. To learn more, see Tagging AWS resources. + * The key-value tag pairs associated to your environment. To learn more, see Tagging Amazon Web Services resources. */ Tags?: TagMap; } export interface LoggingConfiguration { + /** + * The Airflow DAG processing logs published to CloudWatch Logs and the log level. + */ DagProcessingLogs?: ModuleLoggingConfiguration; + /** + * The Airflow scheduler logs published to CloudWatch Logs and the log level. + */ SchedulerLogs?: ModuleLoggingConfiguration; + /** + * The Airflow task logs published to CloudWatch Logs and the log level. + */ TaskLogs?: ModuleLoggingConfiguration; + /** + * The Airflow web server logs published to CloudWatch Logs and the log level. + */ WebserverLogs?: ModuleLoggingConfiguration; + /** + * The Airflow worker logs published to CloudWatch Logs and the log level. + */ WorkerLogs?: ModuleLoggingConfiguration; } export interface LoggingConfigurationInput { + /** + * Publishes Airflow DAG processing logs to CloudWatch Logs. + */ DagProcessingLogs?: ModuleLoggingConfigurationInput; + /** + * Publishes Airflow scheduler logs to CloudWatch Logs. + */ SchedulerLogs?: ModuleLoggingConfigurationInput; + /** + * Publishes Airflow task logs to CloudWatch Logs. + */ TaskLogs?: ModuleLoggingConfigurationInput; + /** + * Publishes Airflow web server logs to CloudWatch Logs. + */ WebserverLogs?: ModuleLoggingConfigurationInput; + /** + * Publishes Airflow worker logs to CloudWatch Logs. + */ WorkerLogs?: ModuleLoggingConfigurationInput; } export type LoggingEnabled = boolean; @@ -437,24 +477,27 @@ declare namespace MWAA { export type MetricData = MetricDatum[]; export interface MetricDatum { /** - * Internal only API. + * Internal only. The dimensions associated with the metric. */ Dimensions?: Dimensions; /** - * Internal only API. + * Internal only. The name of the metric. */ MetricName: String; /** - * Internal only API. + * Internal only. The statistical values for the metric. */ StatisticValues?: StatisticSet; /** - * Internal only API. + * Internal only. The time the metric data was received. */ Timestamp: Timestamp; + /** + * Internal only. The unit used to store the metric. + */ Unit?: Unit; /** - * Internal only API. + * Internal only. The value for the metric. */ Value?: Double; } @@ -465,42 +508,42 @@ declare namespace MWAA { */ CloudWatchLogGroupArn?: CloudWatchLogGroupArn; /** - * Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs) in CloudWatch Logs. + * Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs) is enabled. */ Enabled?: LoggingEnabled; /** - * Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs) to CloudWatch Logs. Valid values: CRITICAL, ERROR, WARNING, INFO. + * The Apache Airflow log level for the log type (e.g. DagProcessingLogs). */ LogLevel?: LoggingLevel; } export interface ModuleLoggingConfigurationInput { /** - * Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs) in CloudWatch Logs. + * Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs). */ Enabled: LoggingEnabled; /** - * Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs) to CloudWatch Logs. Valid values: CRITICAL, ERROR, WARNING, INFO. + * Defines the Apache Airflow log level (e.g. INFO) to send to CloudWatch Logs. */ LogLevel: LoggingLevel; } export interface NetworkConfiguration { /** - * A list of 1 or more security group IDs. Accepts up to 5 security group IDs. A security group must be attached to the same VPC as the subnets. To learn more, see Security in your VPC on Amazon MWAA. + * A list of security group IDs. To learn more, see Security in your VPC on Amazon MWAA. */ SecurityGroupIds?: SecurityGroupList; /** - * A list of 2 subnet IDs. Required to create an environment. Must be private subnets in two different availability zones. A subnet must be attached to the same VPC as the security group. + * A list of subnet IDs. To learn more, see About networking on Amazon MWAA. */ SubnetIds?: SubnetList; } export type NextToken = string; export interface PublishMetricsInput { /** - * Publishes environment metric data to Amazon CloudWatch. + * Internal only. The name of the environment. */ EnvironmentName: EnvironmentName; /** - * Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metrica. + * Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch. */ MetricData: MetricData; } @@ -514,19 +557,19 @@ declare namespace MWAA { export type SecurityGroupList = SecurityGroupId[]; export interface StatisticSet { /** - * Internal only API. + * Internal only. The maximum value of the sample set. */ Maximum?: Double; /** - * Internal only API. + * Internal only. The minimum value of the sample set. */ Minimum?: Double; /** - * Internal only API. + * Internal only. The number of samples used for the statistic set. */ SampleCount?: Integer; /** - * Internal only API. + * Internal only. The sum of values for the sample set. */ Sum?: Double; } @@ -546,7 +589,7 @@ declare namespace MWAA { */ ResourceArn: EnvironmentArn; /** - * The key-value tag pairs you want to associate to your environment. For example, "Environment": "Staging". To learn more, see Tagging AWS resources. + * The key-value tag pairs you want to associate to your environment. For example, "Environment": "Staging". To learn more, see Tagging Amazon Web Services resources. */ Tags: TagMap; } @@ -574,7 +617,7 @@ declare namespace MWAA { */ AirflowConfigurationOptions?: SyntheticUpdateEnvironmentInputAirflowConfigurationOptions; /** - * The Apache Airflow version for your environment. For example, v1.10.12. If no value is specified, defaults to the latest version. Valid values: v1.10.12. + * The Apache Airflow version for your environment. If no value is specified, defaults to the latest version. Valid values: 1.10.12, 2.0.2. */ AirflowVersion?: AirflowVersion; /** @@ -586,11 +629,11 @@ declare namespace MWAA { */ EnvironmentClass?: EnvironmentClass; /** - * The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role. + * The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role. */ ExecutionRoleArn?: IamRoleArn; /** - * Defines the Apache Airflow logs to send to CloudWatch Logs: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, WorkerLogs. + * The Apache Airflow log types to send to CloudWatch Logs. */ LoggingConfiguration?: LoggingConfigurationInput; /** @@ -606,7 +649,7 @@ declare namespace MWAA { */ Name: EnvironmentName; /** - * The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA. + * The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see About networking on Amazon MWAA. */ NetworkConfiguration?: UpdateNetworkConfigurationInput; /** @@ -638,7 +681,7 @@ declare namespace MWAA { */ WebserverAccessMode?: WebserverAccessMode; /** - * The day and time of the week to start weekly maintenance updates of your environment in the following format: DAY:HH:MM. For example: TUE:03:30. You can specify a start time in 30 minute increments only. Supported input includes the following: MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30) + * The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly maintenance updates of your environment in the following format: DAY:HH:MM. For example: TUE:03:30. You can specify a start time in 30 minute increments only. */ WeeklyMaintenanceWindowStart?: WeeklyMaintenanceWindowStart; } @@ -660,10 +703,11 @@ declare namespace MWAA { } export interface UpdateNetworkConfigurationInput { /** - * A list of 1 or more security group IDs. Accepts up to 5 security group IDs. A security group must be attached to the same VPC as the subnets. To learn more, see Security in your VPC on Amazon MWAA. + * A list of security group IDs. A security group must be attached to the same VPC as the subnets. To learn more, see Security in your VPC on Amazon MWAA. */ SecurityGroupIds: SecurityGroupList; } + export type UpdateSource = string; export type UpdateStatus = "SUCCESS"|"PENDING"|"FAILED"|string; export type WebserverAccessMode = "PRIVATE_ONLY"|"PUBLIC_ONLY"|string; export type WebserverUrl = string; diff --git a/node_modules/aws-sdk/clients/nimble.d.ts b/node_modules/aws-sdk/clients/nimble.d.ts index fbb3a8858..4c4212518 100644 --- a/node_modules/aws-sdk/clients/nimble.d.ts +++ b/node_modules/aws-sdk/clients/nimble.d.ts @@ -173,11 +173,11 @@ declare class Nimble extends Service { */ getStreamingImage(callback?: (err: AWSError, data: Nimble.Types.GetStreamingImageResponse) => void): Request; /** - * Gets StreamingSession resource. anvoke this operation to poll for a streaming session state while creating or deleting a session. + * Gets StreamingSession resource. Invoke this operation to poll for a streaming session state while creating or deleting a session. */ getStreamingSession(params: Nimble.Types.GetStreamingSessionRequest, callback?: (err: AWSError, data: Nimble.Types.GetStreamingSessionResponse) => void): Request; /** - * Gets StreamingSession resource. anvoke this operation to poll for a streaming session state while creating or deleting a session. + * Gets StreamingSession resource. Invoke this operation to poll for a streaming session state while creating or deleting a session. */ getStreamingSession(callback?: (err: AWSError, data: Nimble.Types.GetStreamingSessionResponse) => void): Request; /** @@ -637,7 +637,7 @@ declare namespace Nimble { */ launchProfileId?: String; /** - * The user ID of the user that owns the streaming session. + * The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation. */ ownedBy?: String; /** @@ -1218,6 +1218,10 @@ declare namespace Nimble { * The user ID of the user that most recently updated the resource. */ updatedBy?: String; + /** + * The list of the latest validation results. + */ + validationResults?: ValidationResults; } export type LaunchProfileDescription = string; export type LaunchProfileId = string; @@ -1331,8 +1335,13 @@ declare namespace Nimble { export type LaunchProfileProtocolVersionList = LaunchProfileProtocolVersion[]; export type LaunchProfileSecurityGroupIdList = SecurityGroupId[]; export type LaunchProfileState = "CREATE_IN_PROGRESS"|"READY"|"UPDATE_IN_PROGRESS"|"DELETE_IN_PROGRESS"|"DELETED"|"DELETE_FAILED"|"CREATE_FAILED"|"UPDATE_FAILED"|string; + export type LaunchProfileStateList = LaunchProfileState[]; export type LaunchProfileStatusCode = "LAUNCH_PROFILE_CREATED"|"LAUNCH_PROFILE_UPDATED"|"LAUNCH_PROFILE_DELETED"|"LAUNCH_PROFILE_CREATE_IN_PROGRESS"|"LAUNCH_PROFILE_UPDATE_IN_PROGRESS"|"LAUNCH_PROFILE_DELETE_IN_PROGRESS"|"INTERNAL_ERROR"|"STREAMING_IMAGE_NOT_FOUND"|"STREAMING_IMAGE_NOT_READY"|"LAUNCH_PROFILE_WITH_STREAM_SESSIONS_NOT_DELETED"|"ENCRYPTION_KEY_ACCESS_DENIED"|"ENCRYPTION_KEY_NOT_FOUND"|"INVALID_SUBNETS_PROVIDED"|string; export type LaunchProfileStudioComponentIdList = String[]; + export type LaunchProfileValidationState = "VALIDATION_NOT_STARTED"|"VALIDATION_IN_PROGRESS"|"VALIDATION_SUCCESS"|"VALIDATION_FAILED"|"VALIDATION_FAILED_INTERNAL_SERVER_ERROR"|string; + export type LaunchProfileValidationStatusCode = "VALIDATION_NOT_STARTED"|"VALIDATION_IN_PROGRESS"|"VALIDATION_SUCCESS"|"VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION"|"VALIDATION_FAILED_SUBNET_NOT_FOUND"|"VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION"|"VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY"|"VALIDATION_FAILED_UNAUTHORIZED"|"VALIDATION_FAILED_INTERNAL_SERVER_ERROR"|string; + export type LaunchProfileValidationStatusMessage = string; + export type LaunchProfileValidationType = "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT"|"VALIDATE_SUBNET_ASSOCIATION"|"VALIDATE_NETWORK_ACL_ASSOCIATION"|"VALIDATE_SECURITY_GROUP_ASSOCIATION"|string; export type LaunchPurpose = string; export interface LicenseServiceConfiguration { /** @@ -1429,7 +1438,7 @@ declare namespace Nimble { /** * Filter this request to launch profiles in any of the given states. */ - states?: StringList; + states?: LaunchProfileStateList; /** * The studio ID. */ @@ -1513,7 +1522,7 @@ declare namespace Nimble { /** * Filters the request to studio components that are in one of the given states. */ - states?: StringList; + states?: StudioComponentStateList; /** * The studio ID. */ @@ -1521,7 +1530,7 @@ declare namespace Nimble { /** * Filters the request to studio components that are of one of the given types. */ - types?: StringList; + types?: StudioComponentTypeList; } export interface ListStudioComponentsResponse { /** @@ -1900,7 +1909,7 @@ declare namespace Nimble { */ launchProfileId?: String; /** - * The user ID of the user that owns the streaming session. + * The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation. */ ownedBy?: String; /** @@ -1963,16 +1972,16 @@ declare namespace Nimble { export type StreamingSessionId = string; export type StreamingSessionList = StreamingSession[]; export type StreamingSessionState = "CREATE_IN_PROGRESS"|"DELETE_IN_PROGRESS"|"READY"|"DELETED"|"CREATE_FAILED"|"DELETE_FAILED"|"STOP_IN_PROGRESS"|"START_IN_PROGRESS"|"STOPPED"|"STOP_FAILED"|"START_FAILED"|string; - export type StreamingSessionStatusCode = "STREAMING_SESSION_READY"|"STREAMING_SESSION_DELETED"|"STREAMING_SESSION_CREATE_IN_PROGRESS"|"STREAMING_SESSION_DELETE_IN_PROGRESS"|"INTERNAL_ERROR"|"INSUFFICIENT_CAPACITY"|"ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR"|"NETWORK_CONNECTION_ERROR"|"INITIALIZATION_SCRIPT_ERROR"|"DECRYPT_STREAMING_IMAGE_ERROR"|"NETWORK_INTERFACE_ERROR"|"STREAMING_SESSION_STOPPED"|"STREAMING_SESSION_STARTED"|"STREAMING_SESSION_STOP_IN_PROGRESS"|"STREAMING_SESSION_START_IN_PROGRESS"|string; + export type StreamingSessionStatusCode = "STREAMING_SESSION_READY"|"STREAMING_SESSION_DELETED"|"STREAMING_SESSION_CREATE_IN_PROGRESS"|"STREAMING_SESSION_DELETE_IN_PROGRESS"|"INTERNAL_ERROR"|"INSUFFICIENT_CAPACITY"|"ACTIVE_DIRECTORY_DOMAIN_JOIN_ERROR"|"NETWORK_CONNECTION_ERROR"|"INITIALIZATION_SCRIPT_ERROR"|"DECRYPT_STREAMING_IMAGE_ERROR"|"NETWORK_INTERFACE_ERROR"|"STREAMING_SESSION_STOPPED"|"STREAMING_SESSION_STARTED"|"STREAMING_SESSION_STOP_IN_PROGRESS"|"STREAMING_SESSION_START_IN_PROGRESS"|"AMI_VALIDATION_ERROR"|string; export type StreamingSessionStorageMode = "UPLOAD"|string; export type StreamingSessionStorageModeList = StreamingSessionStorageMode[]; export interface StreamingSessionStorageRoot { /** - * The folder path in Linux workstations where files are uploaded. The default path is $HOME/Downloads. + * The folder path in Linux workstations where files are uploaded. */ linux?: StreamingSessionStorageRootPathLinux; /** - * The folder path in Windows workstations where files are uploaded. The default path is %HOMEPATH%\Downloads. + * The folder path in Windows workstations where files are uploaded. */ windows?: StreamingSessionStorageRootPathWindows; } @@ -1992,7 +2001,7 @@ declare namespace Nimble { */ expiresAt?: Timestamp; /** - * The user ID of the user that owns the streaming session. + * The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation. */ ownedBy?: String; /** @@ -2203,6 +2212,7 @@ declare namespace Nimble { export type StudioComponentScriptParameterKeyValueList = ScriptParameterKeyValue[]; export type StudioComponentSecurityGroupIdList = SecurityGroupId[]; export type StudioComponentState = "CREATE_IN_PROGRESS"|"READY"|"UPDATE_IN_PROGRESS"|"DELETE_IN_PROGRESS"|"DELETED"|"DELETE_FAILED"|"CREATE_FAILED"|"UPDATE_FAILED"|string; + export type StudioComponentStateList = StudioComponentState[]; export type StudioComponentStatusCode = "ACTIVE_DIRECTORY_ALREADY_EXISTS"|"STUDIO_COMPONENT_CREATED"|"STUDIO_COMPONENT_UPDATED"|"STUDIO_COMPONENT_DELETED"|"ENCRYPTION_KEY_ACCESS_DENIED"|"ENCRYPTION_KEY_NOT_FOUND"|"STUDIO_COMPONENT_CREATE_IN_PROGRESS"|"STUDIO_COMPONENT_UPDATE_IN_PROGRESS"|"STUDIO_COMPONENT_DELETE_IN_PROGRESS"|"INTERNAL_ERROR"|string; export type StudioComponentSubtype = "AWS_MANAGED_MICROSOFT_AD"|"AMAZON_FSX_FOR_WINDOWS"|"AMAZON_FSX_FOR_LUSTRE"|"CUSTOM"|string; export interface StudioComponentSummary { @@ -2245,6 +2255,7 @@ declare namespace Nimble { } export type StudioComponentSummaryList = StudioComponentSummary[]; export type StudioComponentType = "ACTIVE_DIRECTORY"|"SHARED_FILE_SYSTEM"|"COMPUTE_FARM"|"LICENSE_SERVICE"|"CUSTOM"|string; + export type StudioComponentTypeList = StudioComponentType[]; export interface StudioEncryptionConfiguration { /** * The ARN for a KMS key that is used to encrypt studio data. @@ -2493,6 +2504,25 @@ declare namespace Nimble { */ studio: Studio; } + export interface ValidationResult { + /** + * The current state. + */ + state: LaunchProfileValidationState; + /** + * The status code. This will contain the failure reason if the state is VALIDATION_FAILED. + */ + statusCode: LaunchProfileValidationStatusCode; + /** + * The status message for the validation result. + */ + statusMessage: LaunchProfileValidationStatusMessage; + /** + * The type of the validation result. + */ + type: LaunchProfileValidationType; + } + export type ValidationResults = ValidationResult[]; export type WindowsMountDrive = string; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. diff --git a/node_modules/aws-sdk/clients/opensearch.d.ts b/node_modules/aws-sdk/clients/opensearch.d.ts index c66eaa0d8..a9fff18c2 100644 --- a/node_modules/aws-sdk/clients/opensearch.d.ts +++ b/node_modules/aws-sdk/clients/opensearch.d.ts @@ -115,6 +115,14 @@ declare class OpenSearch extends Service { * Provides scheduled Auto-Tune action details for the domain, such as Auto-Tune action type, description, severity, and scheduled date. */ describeDomainAutoTunes(callback?: (err: AWSError, data: OpenSearch.Types.DescribeDomainAutoTunesResponse) => void): Request; + /** + * Returns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages. + */ + describeDomainChangeProgress(params: OpenSearch.Types.DescribeDomainChangeProgressRequest, callback?: (err: AWSError, data: OpenSearch.Types.DescribeDomainChangeProgressResponse) => void): Request; + /** + * Returns information about the current blue/green deployment happening on a domain, including a change ID, status, and progress stages. + */ + describeDomainChangeProgress(callback?: (err: AWSError, data: OpenSearch.Types.DescribeDomainChangeProgressResponse) => void): Request; /** * Provides cluster configuration information about the specified domain, such as the state, creation date, update version, and update date for cluster options. */ @@ -398,6 +406,14 @@ declare namespace OpenSearch { * Describes the SAML application configured for a domain. */ SAMLOptions?: SAMLOptionsOutput; + /** + * Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled. + */ + AnonymousAuthDisableDate?: DisableTimestamp; + /** + * True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains. + */ + AnonymousAuthEnabled?: Boolean; } export interface AdvancedSecurityOptionsInput { /** @@ -416,6 +432,10 @@ declare namespace OpenSearch { * The SAML application configuration for the domain. */ SAMLOptions?: SAMLOptionsInput; + /** + * True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains. + */ + AnonymousAuthEnabled?: Boolean; } export interface AdvancedSecurityOptionsStatus { /** @@ -560,6 +580,67 @@ declare namespace OpenSearch { */ ServiceSoftwareOptions?: ServiceSoftwareOptions; } + export interface ChangeProgressDetails { + /** + * The unique change identifier associated with a specific domain configuration change. + */ + ChangeId?: GUID; + /** + * Contains an optional message associated with the domain configuration change. + */ + Message?: Message; + } + export interface ChangeProgressStage { + /** + * The name of the specific progress stage. + */ + Name?: ChangeProgressStageName; + /** + * The overall status of a specific progress stage. + */ + Status?: ChangeProgressStageStatus; + /** + * The description of the progress stage. + */ + Description?: Description; + /** + * The last updated timestamp of the progress stage. + */ + LastUpdated?: LastUpdated; + } + export type ChangeProgressStageList = ChangeProgressStage[]; + export type ChangeProgressStageName = string; + export type ChangeProgressStageStatus = string; + export interface ChangeProgressStatusDetails { + /** + * The unique change identifier associated with a specific domain configuration change. + */ + ChangeId?: GUID; + /** + * The time at which the configuration change is made on the domain. + */ + StartTime?: UpdateTimestamp; + /** + * The overall status of the domain configuration change. This field can take the following values: PENDING, PROCESSING, COMPLETED and FAILED + */ + Status?: OverallChangeStatus; + /** + * The list of properties involved in the domain configuration change that are still in pending. + */ + PendingProperties?: StringList; + /** + * The list of properties involved in the domain configuration change that are completed. + */ + CompletedProperties?: StringList; + /** + * The total number of stages required for the configuration change. + */ + TotalNumberOfStages?: TotalNumberOfStages; + /** + * The specific stages that the domain is going through to perform the configuration change. + */ + ChangeProgressStages?: ChangeProgressStageList; + } export type CloudWatchLogsLogGroupArn = string; export interface ClusterConfig { /** @@ -871,6 +952,22 @@ declare namespace OpenSearch { */ NextToken?: NextToken; } + export interface DescribeDomainChangeProgressRequest { + /** + * The domain you want to get the progress information about. + */ + DomainName: DomainName; + /** + * The specific change ID for which you want to get progress information. This is an optional parameter. If omitted, the service returns information about the most recent configuration change. + */ + ChangeId?: GUID; + } + export interface DescribeDomainChangeProgressResponse { + /** + * Progress information for the configuration change that is requested in the DescribeDomainChangeProgress request. + */ + ChangeProgressStatus?: ChangeProgressStatusDetails; + } export interface DescribeDomainConfigRequest { /** * The domain you want to get information about. @@ -1055,6 +1152,8 @@ declare namespace OpenSearch { */ ReservedInstances?: ReservedInstanceList; } + export type Description = string; + export type DisableTimestamp = Date; export interface DissociatePackageRequest { /** * The internal ID of the package to associate with a domain. Use DescribePackages to find this value. @@ -1128,6 +1227,10 @@ declare namespace OpenSearch { * Specifies AutoTuneOptions for the domain. */ AutoTuneOptions?: AutoTuneOptionsStatus; + /** + * Specifies change details of the domain configuration change. + */ + ChangeProgressDetails?: ChangeProgressDetails; } export interface DomainEndpointOptions { /** @@ -1310,6 +1413,10 @@ declare namespace OpenSearch { * The current status of the domain's Auto-Tune options. */ AutoTuneOptions?: AutoTuneOptionsOutput; + /** + * Specifies change details of the domain configuration change. + */ + ChangeProgressDetails?: ChangeProgressDetails; } export type DomainStatusList = DomainStatus[]; export type Double = number; @@ -1743,6 +1850,7 @@ declare namespace OpenSearch { } export type OutboundConnectionStatusCode = "VALIDATING"|"VALIDATION_FAILED"|"PENDING_ACCEPTANCE"|"APPROVED"|"PROVISIONING"|"ACTIVE"|"REJECTING"|"REJECTED"|"DELETING"|"DELETED"|string; export type OutboundConnections = OutboundConnection[]; + export type OverallChangeStatus = "PENDING"|"PROCESSING"|"COMPLETED"|"FAILED"|string; export type OwnerId = string; export type PackageDescription = string; export interface PackageDetails { @@ -2155,6 +2263,7 @@ declare namespace OpenSearch { export type TagList = Tag[]; export type TagValue = string; export type TimeUnit = "HOURS"|string; + export type TotalNumberOfStages = number; export type UIntValue = number; export interface UpdateDomainConfigRequest { /** @@ -2274,6 +2383,7 @@ declare namespace OpenSearch { */ PerformCheckOnly?: Boolean; AdvancedOptions?: AdvancedOptions; + ChangeProgressDetails?: ChangeProgressDetails; } export interface UpgradeHistory { /** diff --git a/node_modules/aws-sdk/clients/personalize.d.ts b/node_modules/aws-sdk/clients/personalize.d.ts index ea50b5e8f..2e82c6f2c 100644 --- a/node_modules/aws-sdk/clients/personalize.d.ts +++ b/node_modules/aws-sdk/clients/personalize.d.ts @@ -84,11 +84,11 @@ declare class Personalize extends Service { */ createFilter(callback?: (err: AWSError, data: Personalize.Types.CreateFilterResponse) => void): Request; /** - * Creates a recommender with the recipe (a Domain dataset group use case) you specify. You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a GetRecommendations request. Status A recommender can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS To get the recommender status, call DescribeRecommender. Wait until the status of the recommender is ACTIVE before asking the recommender for recommendations. Related APIs ListRecommenders DescribeRecommender UpdateRecommender DeleteRecommender + * Creates a recommender with the recipe (a Domain dataset group use case) you specify. You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a GetRecommendations request. Minimum recommendation requests per second When you create a recommender, you can configure the recommender's minimum recommendation requests per second. The minimum recommendation requests per second (minRecommendationRequestsPerSecond) specifies the baseline recommendation request throughput provisioned by Amazon Personalize. The default minRecommendationRequestsPerSecond is 1. A recommendation request is a single GetRecommendations operation. Request throughput is measured in requests per second and Amazon Personalize uses your requests per second to derive your requests per hour and the price of your recommender usage. If your requests per second increases beyond minRecommendationRequestsPerSecond, Amazon Personalize auto-scales the provisioned capacity up and down, but never below minRecommendationRequestsPerSecond. There's a short time delay while the capacity is increased that might cause loss of requests. Your bill is the greater of either the minimum requests per hour (based on minRecommendationRequestsPerSecond) or the actual number of requests. The actual request throughput used is calculated as the average requests/second within a one-hour window. We recommend starting with the default minRecommendationRequestsPerSecond, track your usage using Amazon CloudWatch metrics, and then increase the minRecommendationRequestsPerSecond as necessary. Status A recommender can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS To get the recommender status, call DescribeRecommender. Wait until the status of the recommender is ACTIVE before asking the recommender for recommendations. Related APIs ListRecommenders DescribeRecommender UpdateRecommender DeleteRecommender */ createRecommender(params: Personalize.Types.CreateRecommenderRequest, callback?: (err: AWSError, data: Personalize.Types.CreateRecommenderResponse) => void): Request; /** - * Creates a recommender with the recipe (a Domain dataset group use case) you specify. You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a GetRecommendations request. Status A recommender can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS To get the recommender status, call DescribeRecommender. Wait until the status of the recommender is ACTIVE before asking the recommender for recommendations. Related APIs ListRecommenders DescribeRecommender UpdateRecommender DeleteRecommender + * Creates a recommender with the recipe (a Domain dataset group use case) you specify. You create recommenders for a Domain dataset group and specify the recommender's Amazon Resource Name (ARN) when you make a GetRecommendations request. Minimum recommendation requests per second When you create a recommender, you can configure the recommender's minimum recommendation requests per second. The minimum recommendation requests per second (minRecommendationRequestsPerSecond) specifies the baseline recommendation request throughput provisioned by Amazon Personalize. The default minRecommendationRequestsPerSecond is 1. A recommendation request is a single GetRecommendations operation. Request throughput is measured in requests per second and Amazon Personalize uses your requests per second to derive your requests per hour and the price of your recommender usage. If your requests per second increases beyond minRecommendationRequestsPerSecond, Amazon Personalize auto-scales the provisioned capacity up and down, but never below minRecommendationRequestsPerSecond. There's a short time delay while the capacity is increased that might cause loss of requests. Your bill is the greater of either the minimum requests per hour (based on minRecommendationRequestsPerSecond) or the actual number of requests. The actual request throughput used is calculated as the average requests/second within a one-hour window. We recommend starting with the default minRecommendationRequestsPerSecond, track your usage using Amazon CloudWatch metrics, and then increase the minRecommendationRequestsPerSecond as necessary. Status A recommender can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS To get the recommender status, call DescribeRecommender. Wait until the status of the recommender is ACTIVE before asking the recommender for recommendations. Related APIs ListRecommenders DescribeRecommender UpdateRecommender DeleteRecommender */ createRecommender(callback?: (err: AWSError, data: Personalize.Types.CreateRecommenderResponse) => void): Request; /** @@ -2532,6 +2532,10 @@ declare namespace Personalize { * Specifies the exploration configuration hyperparameters, including explorationWeight and explorationItemAgeCutOff, you want to use to configure the amount of item exploration Amazon Personalize uses when recommending items. Provide itemExplorationConfig data only if your recommenders generate personalized recommendations for a user (not popular items or similar items). */ itemExplorationConfig?: HyperParameters; + /** + * Specifies the requested minimum provisioned recommendation requests per second that Amazon Personalize will support. + */ + minRecommendationRequestsPerSecond?: TransactionsPerSecond; } export interface RecommenderSummary { /** @@ -2598,7 +2602,7 @@ declare namespace Personalize { */ path: S3Location; /** - * The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files of a batch inference job. + * The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files. */ kmsKeyArn?: KmsKeyArn; } diff --git a/node_modules/aws-sdk/clients/pi.d.ts b/node_modules/aws-sdk/clients/pi.d.ts index 116148284..0b6664c6b 100644 --- a/node_modules/aws-sdk/clients/pi.d.ts +++ b/node_modules/aws-sdk/clients/pi.d.ts @@ -12,21 +12,29 @@ declare class PI extends Service { constructor(options?: PI.Types.ClientConfiguration) config: Config & PI.Types.ClientConfiguration; /** - * For a specific time period, retrieve the top N dimension keys for a metric. Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned. + * For a specific time period, retrieve the top N dimension keys for a metric. Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned. */ describeDimensionKeys(params: PI.Types.DescribeDimensionKeysRequest, callback?: (err: AWSError, data: PI.Types.DescribeDimensionKeysResponse) => void): Request; /** - * For a specific time period, retrieve the top N dimension keys for a metric. Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned. + * For a specific time period, retrieve the top N dimension keys for a metric. Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned. */ describeDimensionKeys(callback?: (err: AWSError, data: PI.Types.DescribeDimensionKeysResponse) => void): Request; /** - * Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID, GetDimensionKeyDetails retrieves the full text of the dimension db.sql.statement associated with this ID. This operation is useful because GetResourceMetrics and DescribeDimensionKeys don't support retrieval of large SQL statement text. + * Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID, GetDimensionKeyDetails retrieves the full text of the dimension db.sql.statementcassociated with this ID. This operation is useful because GetResourceMetrics and DescribeDimensionKeys don't support retrieval of large SQL statement text. */ getDimensionKeyDetails(params: PI.Types.GetDimensionKeyDetailsRequest, callback?: (err: AWSError, data: PI.Types.GetDimensionKeyDetailsResponse) => void): Request; /** - * Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID, GetDimensionKeyDetails retrieves the full text of the dimension db.sql.statement associated with this ID. This operation is useful because GetResourceMetrics and DescribeDimensionKeys don't support retrieval of large SQL statement text. + * Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify a SQL ID, GetDimensionKeyDetails retrieves the full text of the dimension db.sql.statementcassociated with this ID. This operation is useful because GetResourceMetrics and DescribeDimensionKeys don't support retrieval of large SQL statement text. */ getDimensionKeyDetails(callback?: (err: AWSError, data: PI.Types.GetDimensionKeyDetailsResponse) => void): Request; + /** + * Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance. + */ + getResourceMetadata(params: PI.Types.GetResourceMetadataRequest, callback?: (err: AWSError, data: PI.Types.GetResourceMetadataResponse) => void): Request; + /** + * Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance. + */ + getResourceMetadata(callback?: (err: AWSError, data: PI.Types.GetResourceMetadataResponse) => void): Request; /** * Retrieve Performance Insights metrics for a set of data sources, over a time period. You can provide specific dimension groups and dimensions, and provide aggregation and filtering criteria for each group. Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned. */ @@ -35,8 +43,26 @@ declare class PI extends Service { * Retrieve Performance Insights metrics for a set of data sources, over a time period. You can provide specific dimension groups and dimensions, and provide aggregation and filtering criteria for each group. Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned. */ getResourceMetrics(callback?: (err: AWSError, data: PI.Types.GetResourceMetricsResponse) => void): Request; + /** + * Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance. + */ + listAvailableResourceDimensions(params: PI.Types.ListAvailableResourceDimensionsRequest, callback?: (err: AWSError, data: PI.Types.ListAvailableResourceDimensionsResponse) => void): Request; + /** + * Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance. + */ + listAvailableResourceDimensions(callback?: (err: AWSError, data: PI.Types.ListAvailableResourceDimensionsResponse) => void): Request; + /** + * Retrieve metrics of the specified types that can be queried for a specified DB instance. + */ + listAvailableResourceMetrics(params: PI.Types.ListAvailableResourceMetricsRequest, callback?: (err: AWSError, data: PI.Types.ListAvailableResourceMetricsResponse) => void): Request; + /** + * Retrieve metrics of the specified types that can be queried for a specified DB instance. + */ + listAvailableResourceMetrics(callback?: (err: AWSError, data: PI.Types.ListAvailableResourceMetricsResponse) => void): Request; } declare namespace PI { + export type AdditionalMetricsList = RequestString[]; + export type AdditionalMetricsMap = {[key: string]: Double}; export interface DataPoint { /** * The time, in epoch format, associated with a particular Value. @@ -50,15 +76,15 @@ declare namespace PI { export type DataPointsList = DataPoint[]; export interface DescribeDimensionKeysRequest { /** - * The AWS service for which Performance Insights will return metrics. The only valid value for ServiceType is RDS. + * The Amazon Web Services service for which Performance Insights will return metrics. The only valid value for ServiceType is RDS. */ ServiceType: ServiceType; /** - * An immutable, AWS Region-unique identifier for a data source. Performance Insights gathers metrics from this data source. To use an Amazon RDS instance as a data source, you specify its DbiResourceId value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A + * An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source. To use an Amazon RDS instance as a data source, you specify its DbiResourceId value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A. */ Identifier: RequestString; /** - * The date and time specifying the beginning of the requested time series data. You must specify a StartTime within the past 7 days. The value specified is inclusive, which means that data points equal to or greater than StartTime are returned. The value for StartTime must be earlier than the value for EndTime. + * The date and time specifying the beginning of the requested time series data. You must specify a StartTime within the past 7 days. The value specified is inclusive, which means that data points equal to or greater than StartTime are returned. The value for StartTime must be earlier than the value for EndTime. */ StartTime: ISOTimestamp; /** @@ -66,19 +92,23 @@ declare namespace PI { */ EndTime: ISOTimestamp; /** - * The name of a Performance Insights metric to be measured. Valid values for Metric are: db.load.avg - a scaled representation of the number of active sessions for the database engine. db.sampledload.avg - the raw number of active sessions for the database engine. If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only. + * The name of a Performance Insights metric to be measured. Valid values for Metric are: db.load.avg - a scaled representation of the number of active sessions for the database engine. db.sampledload.avg - the raw number of active sessions for the database engine. If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only. */ Metric: RequestString; /** - * The granularity, in seconds, of the data points returned from Performance Insights. A period can be as short as one second, or as long as one day (86400 seconds). Valid values are: 1 (one second) 60 (one minute) 300 (five minutes) 3600 (one hour) 86400 (twenty-four hours) If you don't specify PeriodInSeconds, then Performance Insights chooses a value for you, with a goal of returning roughly 100-200 data points in the response. + * The granularity, in seconds, of the data points returned from Performance Insights. A period can be as short as one second, or as long as one day (86400 seconds). Valid values are: 1 (one second) 60 (one minute) 300 (five minutes) 3600 (one hour) 86400 (twenty-four hours) If you don't specify PeriodInSeconds, then Performance Insights chooses a value for you, with a goal of returning roughly 100-200 data points in the response. */ PeriodInSeconds?: Integer; /** - * A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights returns all dimensions within this group, unless you provide the names of specific dimensions within this group. You can also request that Performance Insights return a limited number of values for a dimension. + * A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights returns all dimensions within this group, unless you provide the names of specific dimensions within this group. You can also request that Performance Insights return a limited number of values for a dimension. */ GroupBy: DimensionGroup; /** - * For each dimension specified in GroupBy, specify a secondary dimension to further subdivide the partition keys in the response. + * Additional metrics for the top N dimension keys. If the specified dimension group in the GroupBy parameter is db.sql_tokenized, you can specify per-SQL metrics to get the values for the top N SQL digests. The response syntax is "AdditionalMetrics" : { "string" : "string" }. + */ + AdditionalMetrics?: AdditionalMetricsList; + /** + * For each dimension specified in GroupBy, specify a secondary dimension to further subdivide the partition keys in the response. */ PartitionBy?: DimensionGroup; /** @@ -90,21 +120,21 @@ declare namespace PI { */ MaxResults?: MaxResults; /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords. + * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords. */ NextToken?: NextToken; } export interface DescribeDimensionKeysResponse { /** - * The start time for the returned dimension keys, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime. + * The start time for the returned dimension keys, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedStartTime will be less than or equal to the value of the user-specified StartTime. */ AlignedStartTime?: ISOTimestamp; /** - * The end time for the returned dimension keys, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime. + * The end time for the returned dimension keys, after alignment to a granular boundary (as specified by PeriodInSeconds). AlignedEndTime will be greater than or equal to the value of the user-specified Endtime. */ AlignedEndTime?: ISOTimestamp; /** - * If PartitionBy was present in the request, PartitionKeys contains the breakdown of dimension keys by the specified partitions. + * If PartitionBy was present in the request, PartitionKeys contains the breakdown of dimension keys by the specified partitions. */ PartitionKeys?: ResponsePartitionKeyList; /** @@ -112,18 +142,26 @@ declare namespace PI { */ Keys?: DimensionKeyDescriptionList; /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords. + * A pagination token that indicates the response didn’t return all available records because MaxRecords was specified in the previous request. To get the remaining records, specify NextToken in a separate request with this value. */ NextToken?: NextToken; } + export type Description = string; export type DetailStatus = "AVAILABLE"|"PROCESSING"|"UNAVAILABLE"|string; + export interface DimensionDetail { + /** + * The identifier of a dimension. + */ + Identifier?: String; + } + export type DimensionDetailList = DimensionDetail[]; export interface DimensionGroup { /** - * The name of the dimension group. Valid values are: db - The name of the database to which the client is connected (only Aurora PostgreSQL, RDS PostgreSQL, Aurora MySQL, RDS MySQL, and MariaDB) db.application - The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL) db.host - The host name of the connected client (all engines) db.session_type - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL) db.sql - The SQL that is currently executing (all engines) db.sql_tokenized - The SQL digest (all engines) db.wait_event - The event for which the database backend is waiting (all engines) db.wait_event_type - The type of event for which the database backend is waiting (all engines) db.user - The user logged in to the database (all engines) + * The name of the dimension group. Valid values are: db - The name of the database to which the client is connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL, Amazon RDS MySQL, and MariaDB) db.application - The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL) db.host - The host name of the connected client (all engines) db.session_type - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL) db.sql - The SQL that is currently executing (all engines) db.sql_tokenized - The SQL digest (all engines) db.wait_event - The event for which the database backend is waiting (all engines) db.wait_event_type - The type of event for which the database backend is waiting (all engines) db.user - The user logged in to the database (all engines) */ Group: RequestString; /** - * A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested, or are present in the response. Valid values for elements in the Dimensions array are: db.application.name - The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL) db.host.id - The host ID of the connected client (all engines) db.host.name - The host name of the connected client (all engines) db.name - The name of the database to which the client is connected (only Aurora PostgreSQL, RDS PostgreSQL, Aurora MySQL, RDS MySQL, and MariaDB) db.session_type.name - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL) db.sql.id - The SQL ID generated by Performance Insights (all engines) db.sql.db_id - The SQL ID generated by the database (all engines) db.sql.statement - The SQL text that is being executed (all engines) db.sql.tokenized_id db.sql_tokenized.id - The SQL digest ID generated by Performance Insights (all engines) db.sql_tokenized.db_id - SQL digest ID generated by the database (all engines) db.sql_tokenized.statement - The SQL digest text (all engines) db.user.id - The ID of the user logged in to the database (all engines) db.user.name - The name of the user logged in to the database (all engines) db.wait_event.name - The event for which the backend is waiting (all engines) db.wait_event.type - The type of event for which the backend is waiting (all engines) db.wait_event_type.name - The name of the event type for which the backend is waiting (all engines) + * A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that all of the dimensions in the group were requested, or are present in the response. Valid values for elements in the Dimensions array are: db.application.name - The name of the application that is connected to the database (only Aurora PostgreSQL and RDS PostgreSQL) db.host.id - The host ID of the connected client (all engines) db.host.name - The host name of the connected client (all engines) db.name - The name of the database to which the client is connected (only Aurora PostgreSQL, Amazon RDS PostgreSQL, Aurora MySQL, Amazon RDS MySQL, and MariaDB) db.session_type.name - The type of the current session (only Aurora PostgreSQL and RDS PostgreSQL) db.sql.id - The SQL ID generated by Performance Insights (all engines) db.sql.db_id - The SQL ID generated by the database (all engines) db.sql.statement - The SQL text that is being executed (all engines) db.sql.tokenized_id db.sql_tokenized.id - The SQL digest ID generated by Performance Insights (all engines) db.sql_tokenized.db_id - SQL digest ID generated by the database (all engines) db.sql_tokenized.statement - The SQL digest text (all engines) db.user.id - The ID of the user logged in to the database (all engines) db.user.name - The name of the user logged in to the database (all engines) db.wait_event.name - The event for which the backend is waiting (all engines) db.wait_event.type - The type of event for which the backend is waiting (all engines) db.wait_event_type.name - The name of the event type for which the backend is waiting (all engines) */ Dimensions?: RequestStringList; /** @@ -131,15 +169,30 @@ declare namespace PI { */ Limit?: Limit; } + export interface DimensionGroupDetail { + /** + * The name of the dimension group. + */ + Group?: String; + /** + * The dimensions within a dimension group. + */ + Dimensions?: DimensionDetailList; + } + export type DimensionGroupDetailList = DimensionGroupDetail[]; export interface DimensionKeyDescription { /** * A map of name-value pairs for the dimensions in the group. */ Dimensions?: DimensionMap; /** - * The aggregated metric value for the dimension(s), over the requested time range. + * The aggregated metric value for the dimensions, over the requested time range. */ Total?: Double; + /** + * A map that contains the value for each additional metric. + */ + AdditionalMetrics?: AdditionalMetricsMap; /** * If PartitionBy was specified, PartitionKeys contains the dimensions that were. */ @@ -162,14 +215,23 @@ declare namespace PI { } export type DimensionKeyDetailList = DimensionKeyDetail[]; export type DimensionMap = {[key: string]: RequestString}; + export type DimensionsMetricList = RequestString[]; export type Double = number; + export interface FeatureMetadata { + /** + * The status of the feature on the DB instance. Possible values include the following: ENABLED: the feature is enabled on the instance. DISABLED: the feature is disabled on the instance. UNSUPPORTED: the feature isn't supported on the instance. ENABLED_PENDING_REBOOT: the feature is enabled on the instance but requires a reboot to take effect. DISABLED_PENDING_REBOOT: the feature is disabled on the instance but requires a reboot to take effect. UNKNOWN: the feature status couldn't be determined. + */ + Status?: FeatureStatus; + } + export type FeatureMetadataMap = {[key: string]: FeatureMetadata}; + export type FeatureStatus = "ENABLED"|"DISABLED"|"UNSUPPORTED"|"ENABLED_PENDING_REBOOT"|"DISABLED_PENDING_REBOOT"|"UNKNOWN"|string; export interface GetDimensionKeyDetailsRequest { /** - * The AWS service for which Performance Insights returns data. The only valid value is RDS. + * The Amazon Web Services service for which Performance Insights returns data. The only valid value is RDS. */ ServiceType: ServiceType; /** - * The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an AWS Region. When a DB instance is the data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X. + * The ID for a data source from which to gather dimension data. This ID must be immutable and unique within an Amazon Web Services Region. When a DB instance is the data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X. */ Identifier: IdentifierString; /** @@ -181,7 +243,7 @@ declare namespace PI { */ GroupIdentifier: RequestString; /** - * A list of dimensions to retrieve the detail data for within the given dimension group. For the dimension group db.sql, specify either the full dimension name db.sql.statement or the short dimension name statement. If you don't specify this parameter, Performance Insights returns all dimension data within the specified dimension group. + * A list of dimensions to retrieve the detail data for within the given dimension group. For the dimension group db.sql, specify either the full dimension name db.sql.statement or the short dimension name statement. If you don't specify this parameter, Performance Insights returns all dimension data within the specified dimension group. */ RequestedDimensions?: RequestedDimensionList; } @@ -191,13 +253,33 @@ declare namespace PI { */ Dimensions?: DimensionKeyDetailList; } + export interface GetResourceMetadataRequest { + /** + * The Amazon Web Services service for which Performance Insights returns metrics. + */ + ServiceType: ServiceType; + /** + * An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X. + */ + Identifier: RequestString; + } + export interface GetResourceMetadataResponse { + /** + * An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X. + */ + Identifier?: String; + /** + * The metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance. + */ + Features?: FeatureMetadataMap; + } export interface GetResourceMetricsRequest { /** - * The AWS service for which Performance Insights returns metrics. The only valid value for ServiceType is RDS. + * The Amazon Web Services service for which Performance Insights returns metrics. The only valid value for ServiceType is RDS. */ ServiceType: ServiceType; /** - * An immutable, AWS Region-unique identifier for a data source. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A. + * An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-FAIHNTYBKTGAUSUZQYPDS2GW4A. */ Identifier: RequestString; /** @@ -235,7 +317,7 @@ declare namespace PI { */ AlignedEndTime?: ISOTimestamp; /** - * An immutable, AWS Region-unique identifier for a data source. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, you specify its DbiResourceId value - for example: db-FAIHNTYBKTGAUSUZQYPDS2GW4A + * An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, you specify its DbiResourceId value - for example: db-FAIHNTYBKTGAUSUZQYPDS2GW4A */ Identifier?: String; /** @@ -243,7 +325,7 @@ declare namespace PI { */ MetricList?: MetricKeyDataPointsList; /** - * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords. + * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords. */ NextToken?: NextToken; } @@ -251,10 +333,85 @@ declare namespace PI { export type IdentifierString = string; export type Integer = number; export type Limit = number; + export interface ListAvailableResourceDimensionsRequest { + /** + * The Amazon Web Services service for which Performance Insights returns metrics. + */ + ServiceType: ServiceType; + /** + * An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ. + */ + Identifier: RequestString; + /** + * The types of metrics for which to retrieve dimensions. Valid values include db.load. + */ + Metrics: DimensionsMetricList; + /** + * The maximum number of items to return in the response. If more items exist than the specified MaxRecords value, a pagination token is included in the response so that the remaining results can be retrieved. + */ + MaxResults?: MaxResults; + /** + * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords. + */ + NextToken?: NextToken; + } + export interface ListAvailableResourceDimensionsResponse { + /** + * The dimension information returned for requested metric types. + */ + MetricDimensions?: MetricDimensionsList; + /** + * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords. + */ + NextToken?: NextToken; + } + export interface ListAvailableResourceMetricsRequest { + /** + * The Amazon Web Services service for which Performance Insights returns metrics. + */ + ServiceType: ServiceType; + /** + * An immutable identifier for a data source that is unique within an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use an Amazon RDS DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VWZ. + */ + Identifier: RequestString; + /** + * The types of metrics to return in the response. Valid values in the array include the following: os (OS counter metrics) db (DB load metrics) db.sql.stats (per-SQL metrics) db.sql_tokenized.stats (per-SQL digest metrics) + */ + MetricTypes: MetricTypeList; + /** + * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by MaxRecords. + */ + NextToken?: NextToken; + /** + * The maximum number of items to return. If the MaxRecords value is less than the number of existing items, the response includes a pagination token. + */ + MaxResults?: MaxResults; + } + export interface ListAvailableResourceMetricsResponse { + /** + * An array of metrics available to query. Each array element contains the full name, description, and unit of the metric. + */ + Metrics?: ResponseResourceMetricList; + /** + * A pagination token that indicates the response didn’t return all available records because MaxRecords was specified in the previous request. To get the remaining records, specify NextToken in a separate request with this value. + */ + NextToken?: NextToken; + } export type MaxResults = number; + export interface MetricDimensionGroups { + /** + * The metric type to which the dimension information belongs. + */ + Metric?: String; + /** + * The available dimension groups for a metric type. + */ + Groups?: DimensionGroupDetailList; + } + export type MetricDimensionsList = MetricDimensionGroups[]; export interface MetricKeyDataPoints { /** - * The dimension(s) to which the data points apply. + * The dimensions to which the data points apply. */ Key?: ResponseResourceMetricKey; /** @@ -279,6 +436,7 @@ declare namespace PI { } export type MetricQueryFilterMap = {[key: string]: RequestString}; export type MetricQueryList = MetricQuery[]; + export type MetricTypeList = RequestString[]; export type MetricValuesList = Double[]; export type NextToken = string; export type RequestString = string; @@ -286,11 +444,25 @@ declare namespace PI { export type RequestedDimensionList = RequestString[]; export interface ResponsePartitionKey { /** - * A dimension map that contains the dimension(s) for this partition. + * A dimension map that contains the dimensions for this partition. */ Dimensions: DimensionMap; } export type ResponsePartitionKeyList = ResponsePartitionKey[]; + export interface ResponseResourceMetric { + /** + * The full name of the metric. + */ + Metric?: String; + /** + * The description of the metric. + */ + Description?: Description; + /** + * The unit of the metric. + */ + Unit?: String; + } export interface ResponseResourceMetricKey { /** * The name of a Performance Insights metric to be measured. Valid values for Metric are: db.load.avg - a scaled representation of the number of active sessions for the database engine. db.sampledload.avg - the raw number of active sessions for the database engine. If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only. @@ -301,7 +473,8 @@ declare namespace PI { */ Dimensions?: DimensionMap; } - export type ServiceType = "RDS"|string; + export type ResponseResourceMetricList = ResponseResourceMetric[]; + export type ServiceType = "RDS"|"DOCDB"|string; export type String = string; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. diff --git a/node_modules/aws-sdk/clients/pinpoint.d.ts b/node_modules/aws-sdk/clients/pinpoint.d.ts index 1c9e2cbd7..17a1c2732 100644 --- a/node_modules/aws-sdk/clients/pinpoint.d.ts +++ b/node_modules/aws-sdk/clients/pinpoint.d.ts @@ -1746,6 +1746,10 @@ declare namespace Pinpoint { * A string-to-string map of key-value pairs that identifies the tags that are associated with the application. Each tag consists of a required tag key and an associated tag value. */ tags?: MapOf__string; + /** + * The date and time when the Application was created. + */ + CreationDate?: __string; } export interface ApplicationSettingsResource { /** @@ -7260,6 +7264,10 @@ declare namespace Pinpoint { * Specifies whether a journey should be refreshed on segment update. */ RefreshOnSegmentUpdate?: __boolean; + /** + * The channel-specific configurations for the journey. + */ + JourneyChannelSettings?: JourneyChannelSettings; } export interface WriteSegmentRequest { /** diff --git a/node_modules/aws-sdk/clients/ram.d.ts b/node_modules/aws-sdk/clients/ram.d.ts index 06a6ce2f4..4fe2a5672 100644 --- a/node_modules/aws-sdk/clients/ram.d.ts +++ b/node_modules/aws-sdk/clients/ram.d.ts @@ -123,6 +123,14 @@ declare class RAM extends Service { * Lists the resources in a resource share that is shared with you but for which the invitation is still PENDING. That means that you haven't accepted or rejected the invitation and the invitation hasn't expired. */ listPendingInvitationResources(callback?: (err: AWSError, data: RAM.Types.ListPendingInvitationResourcesResponse) => void): Request; + /** + * Lists the available versions of the specified RAM permission. + */ + listPermissionVersions(params: RAM.Types.ListPermissionVersionsRequest, callback?: (err: AWSError, data: RAM.Types.ListPermissionVersionsResponse) => void): Request; + /** + * Lists the available versions of the specified RAM permission. + */ + listPermissionVersions(callback?: (err: AWSError, data: RAM.Types.ListPermissionVersionsResponse) => void): Request; /** * Retrieves a list of available RAM permissions that you can use for the supported resource types. */ @@ -243,7 +251,7 @@ declare namespace RAM { */ clientToken?: String; /** - * Specifies the version of the RAM permission to associate with the resource share. If you don't specify this parameter, the operation uses the version designated as the default. + * Specifies the version of the RAM permission to associate with the resource share. If you don't specify this parameter, the operation uses the version designated as the default. You can use the ListPermissionVersions operation to discover the available versions of a permission. */ permissionVersion?: Integer; } @@ -592,6 +600,30 @@ declare namespace RAM { */ nextToken?: String; } + export interface ListPermissionVersionsRequest { + /** + * Specifies the Amazon Resoure Name (ARN) of the RAM permission whose versions you want to list. You can use the permissionVersion parameter on the AssociateResourceSharePermission operation to specify a non-default version to attach. + */ + permissionArn: String; + /** + * Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results. + */ + nextToken?: String; + /** + * Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. + */ + maxResults?: MaxResults; + } + export interface ListPermissionVersionsResponse { + /** + * An array of objects that contain details for each of the available versions. + */ + permissions?: ResourceSharePermissionList; + /** + * If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results. + */ + nextToken?: String; + } export interface ListPermissionsRequest { /** * Specifies that you want to list permissions for only the specified resource type. For example, to list only permissions that apply to EC2 subnets, specify ec2:Subnet. You can use the ListResourceTypes operation to get the specific string required. diff --git a/node_modules/aws-sdk/clients/rbin.d.ts b/node_modules/aws-sdk/clients/rbin.d.ts index 63bd63172..18fe99d7b 100644 --- a/node_modules/aws-sdk/clients/rbin.d.ts +++ b/node_modules/aws-sdk/clients/rbin.d.ts @@ -12,19 +12,19 @@ declare class Rbin extends Service { constructor(options?: Rbin.Types.ClientConfiguration) config: Config & Rbin.Types.ClientConfiguration; /** - * Creates a Recycle Bin retention rule. For more information, see Create Recycle Bin retention rules in the Amazon EC2 User Guide. + * Creates a Recycle Bin retention rule. For more information, see Create Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide. */ createRule(params: Rbin.Types.CreateRuleRequest, callback?: (err: AWSError, data: Rbin.Types.CreateRuleResponse) => void): Request; /** - * Creates a Recycle Bin retention rule. For more information, see Create Recycle Bin retention rules in the Amazon EC2 User Guide. + * Creates a Recycle Bin retention rule. For more information, see Create Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide. */ createRule(callback?: (err: AWSError, data: Rbin.Types.CreateRuleResponse) => void): Request; /** - * Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon EC2 User Guide. + * Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide. */ deleteRule(params: Rbin.Types.DeleteRuleRequest, callback?: (err: AWSError, data: Rbin.Types.DeleteRuleResponse) => void): Request; /** - * Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon EC2 User Guide. + * Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide. */ deleteRule(callback?: (err: AWSError, data: Rbin.Types.DeleteRuleResponse) => void): Request; /** @@ -44,35 +44,35 @@ declare class Rbin extends Service { */ listRules(callback?: (err: AWSError, data: Rbin.Types.ListRulesResponse) => void): Request; /** - * Lists the tags assigned a specific resource. + * Lists the tags assigned to a retention rule. */ listTagsForResource(params: Rbin.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Rbin.Types.ListTagsForResourceResponse) => void): Request; /** - * Lists the tags assigned a specific resource. + * Lists the tags assigned to a retention rule. */ listTagsForResource(callback?: (err: AWSError, data: Rbin.Types.ListTagsForResourceResponse) => void): Request; /** - * Assigns tags to the specified resource. + * Assigns tags to the specified retention rule. */ tagResource(params: Rbin.Types.TagResourceRequest, callback?: (err: AWSError, data: Rbin.Types.TagResourceResponse) => void): Request; /** - * Assigns tags to the specified resource. + * Assigns tags to the specified retention rule. */ tagResource(callback?: (err: AWSError, data: Rbin.Types.TagResourceResponse) => void): Request; /** - * Unassigns a tag from a resource. + * Unassigns a tag from a retention rule. */ untagResource(params: Rbin.Types.UntagResourceRequest, callback?: (err: AWSError, data: Rbin.Types.UntagResourceResponse) => void): Request; /** - * Unassigns a tag from a resource. + * Unassigns a tag from a retention rule. */ untagResource(callback?: (err: AWSError, data: Rbin.Types.UntagResourceResponse) => void): Request; /** - * Updates an existing Recycle Bin retention rule. For more information, see Update Recycle Bin retention rules in the Amazon EC2 User Guide. + * Updates an existing Recycle Bin retention rule. For more information, see Update Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide. */ updateRule(params: Rbin.Types.UpdateRuleRequest, callback?: (err: AWSError, data: Rbin.Types.UpdateRuleResponse) => void): Request; /** - * Updates an existing Recycle Bin retention rule. For more information, see Update Recycle Bin retention rules in the Amazon EC2 User Guide. + * Updates an existing Recycle Bin retention rule. For more information, see Update Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide. */ updateRule(callback?: (err: AWSError, data: Rbin.Types.UpdateRuleResponse) => void): Request; } @@ -83,7 +83,7 @@ declare namespace Rbin { */ RetentionPeriod: RetentionPeriod; /** - * A brief description for the retention rule. + * The retention rule description. */ Description?: Description; /** @@ -91,17 +91,17 @@ declare namespace Rbin { */ Tags?: TagList; /** - * The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots are supported. + * The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify EBS_SNAPSHOT. To retain EBS-backed AMIs, specify EC2_IMAGE. */ ResourceType: ResourceType; /** - * Information about the resource tags to use to identify resources that are to be retained by the retention rule. The retention rule retains only deleted snapshots that have one or more of the specified tag key and value pairs. If a snapshot is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. + * Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged. */ ResourceTags?: ResourceTags; } export interface CreateRuleResponse { /** - * The unique identifier of the retention rule. + * The unique ID of the retention rule. */ Identifier?: RuleIdentifier; RetentionPeriod?: RetentionPeriod; @@ -110,7 +110,7 @@ declare namespace Rbin { */ Description?: Description; /** - * The tags assigned to the retention rule. + * Information about the tags assigned to the retention rule. */ Tags?: TagList; /** @@ -122,13 +122,13 @@ declare namespace Rbin { */ ResourceTags?: ResourceTags; /** - * The state of the retention rule. Only retention rules that are in the available state retain snapshots. + * The state of the retention rule. Only retention rules that are in the available state retain resources. */ Status?: RuleStatus; } export interface DeleteRuleRequest { /** - * The unique ID of the retention rule to delete. + * The unique ID of the retention rule. */ Identifier: RuleIdentifier; } @@ -147,41 +147,41 @@ declare namespace Rbin { */ Identifier?: RuleIdentifier; /** - * The description assigned to the retention rule. + * The retention rule description. */ Description?: Description; /** - * The resource type retained by the retention rule. Currently, only Amazon EBS snapshots are supported. + * The resource type retained by the retention rule. */ ResourceType?: ResourceType; /** - * Information about the period for which the retention rule retains resources. + * Information about the retention period for which the retention rule is to retain resources. */ RetentionPeriod?: RetentionPeriod; /** - * The resource tags used to identify resources that are to be retained by the retention rule. + * Information about the resource tags used to identify resources that are retained by the retention rule. */ ResourceTags?: ResourceTags; /** - * The state of the retention rule. Only retention rules that are in the available state retain snapshots. + * The state of the retention rule. Only retention rules that are in the available state retain resources. */ Status?: RuleStatus; } export interface ListRulesRequest { /** - * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error. + * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned NextToken value. */ MaxResults?: MaxResults; /** - * The token to use to retrieve the next page of results. + * The token for the next page of results. */ NextToken?: NextToken; /** - * The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed. + * The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To list retention rules that retain snapshots, specify EBS_SNAPSHOT. To list retention rules that retain EBS-backed AMIs, specify EC2_IMAGE. */ ResourceType: ResourceType; /** - * The tags used to identify resources that are to be retained by the retention rule. + * Information about the resource tags used to identify resources that are retained by the retention rule. */ ResourceTags?: ResourceTags; } @@ -197,13 +197,13 @@ declare namespace Rbin { } export interface ListTagsForResourceRequest { /** - * The Amazon Resource Name (ARN) of the resource for which to list the tags. + * The Amazon Resource Name (ARN) of the retention rule. */ ResourceArn: RuleArn; } export interface ListTagsForResourceResponse { /** - * Information about the tags assigned to the resource. + * Information about the tags assigned to the retention rule. */ Tags?: TagList; } @@ -222,7 +222,7 @@ declare namespace Rbin { export type ResourceTagKey = string; export type ResourceTagValue = string; export type ResourceTags = ResourceTag[]; - export type ResourceType = "EBS_SNAPSHOT"|string; + export type ResourceType = "EBS_SNAPSHOT"|"EC2_IMAGE"|string; export interface RetentionPeriod { /** * The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit. @@ -244,11 +244,11 @@ declare namespace Rbin { */ Identifier?: RuleIdentifier; /** - * The description for the retention rule. + * The retention rule description. */ Description?: Description; /** - * Information about the retention period for which the retention rule retains resources + * Information about the retention period for which the retention rule is to retain resources. */ RetentionPeriod?: RetentionPeriod; } @@ -268,11 +268,11 @@ declare namespace Rbin { export type TagList = Tag[]; export interface TagResourceRequest { /** - * The Amazon Resource Name (ARN) of the resource to which to assign the tags. + * The Amazon Resource Name (ARN) of the retention rule. */ ResourceArn: RuleArn; /** - * Information about the tags to assign to the resource. + * Information about the tags to assign to the retention rule. */ Tags: TagList; } @@ -281,11 +281,11 @@ declare namespace Rbin { export type TagValue = string; export interface UntagResourceRequest { /** - * The Amazon Resource Name (ARN) of the resource from which to unassign the tags. + * The Amazon Resource Name (ARN) of the retention rule. */ ResourceArn: RuleArn; /** - * Information about the tags to unassign from the resource. + * The tag keys of the tags to unassign. All tags that have the specified tag key are unassigned. */ TagKeys: TagKeyList; } @@ -293,7 +293,7 @@ declare namespace Rbin { } export interface UpdateRuleRequest { /** - * The unique ID of the retention rule to update. + * The unique ID of the retention rule. */ Identifier: RuleIdentifier; /** @@ -305,11 +305,11 @@ declare namespace Rbin { */ Description?: Description; /** - * The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots are supported. + * The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify EBS_SNAPSHOT. To retain EBS-backed AMIs, specify EC2_IMAGE. */ ResourceType?: ResourceType; /** - * Information about the resource tags to use to identify resources that are to be retained by the retention rule. The retention rule retains only deleted snapshots that have one or more of the specified tag key and value pairs. If a snapshot is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. + * Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged. */ ResourceTags?: ResourceTags; } @@ -332,7 +332,7 @@ declare namespace Rbin { */ ResourceTags?: ResourceTags; /** - * The state of the retention rule. Only retention rules that are in the available state retain snapshots. + * The state of the retention rule. Only retention rules that are in the available state retain resources. */ Status?: RuleStatus; } diff --git a/node_modules/aws-sdk/clients/rds.d.ts b/node_modules/aws-sdk/clients/rds.d.ts index bd07acbeb..8c3a774fa 100644 --- a/node_modules/aws-sdk/clients/rds.d.ts +++ b/node_modules/aws-sdk/clients/rds.d.ts @@ -126,11 +126,11 @@ declare class RDS extends Service { */ createCustomAvailabilityZone(callback?: (err: AWSError, data: RDS.Types.CreateCustomAvailabilityZoneResult) => void): Request; /** - * Creates a custom DB engine version (CEV). A CEV is a binary volume snapshot of a database engine and specific AMI. The only supported engine is Oracle Database 19c Enterprise Edition with the January 2021 or later RU/RUR. Amazon RDS, which is a fully managed service, supplies the Amazon Machine Image (AMI) and database software. The Amazon RDS database software is preinstalled, so you need only select a DB engine and version, and create your database. With Amazon RDS Custom for Oracle, you upload your database installation files in Amazon S3. When you create a custom engine version, you specify the files in a JSON document called a CEV manifest. This document describes installation .zip files stored in Amazon S3. RDS Custom creates your CEV from the installation files that you provided. This service model is called Bring Your Own Media (BYOM). Creation takes approximately two hours. If creation fails, RDS Custom issues RDS-EVENT-0196 with the message Creation failed for custom engine version, and includes details about the failure. For example, the event prints missing files. After you create the CEV, it is available for use. You can create multiple CEVs, and create multiple RDS Custom instances from any CEV. You can also change the status of a CEV to make it available or inactive. The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the CreateCustomDbEngineVersion event aren't logged. However, you might see calls from the API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for the CreateCustomDbEngineVersion event. For more information, see Creating a CEV in the Amazon RDS User Guide. + * Creates a custom DB engine version (CEV). A CEV is a binary volume snapshot of a database engine and specific AMI. The supported engines are the following: Oracle Database 12.1 Enterprise Edition with the January 2021 or later RU/RUR Oracle Database 19c Enterprise Edition with the January 2021 or later RU/RUR Amazon RDS, which is a fully managed service, supplies the Amazon Machine Image (AMI) and database software. The Amazon RDS database software is preinstalled, so you need only select a DB engine and version, and create your database. With Amazon RDS Custom for Oracle, you upload your database installation files in Amazon S3. When you create a custom engine version, you specify the files in a JSON document called a CEV manifest. This document describes installation .zip files stored in Amazon S3. RDS Custom creates your CEV from the installation files that you provided. This service model is called Bring Your Own Media (BYOM). Creation takes approximately two hours. If creation fails, RDS Custom issues RDS-EVENT-0196 with the message Creation failed for custom engine version, and includes details about the failure. For example, the event prints missing files. After you create the CEV, it is available for use. You can create multiple CEVs, and create multiple RDS Custom instances from any CEV. You can also change the status of a CEV to make it available or inactive. The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the CreateCustomDbEngineVersion event aren't logged. However, you might see calls from the API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for the CreateCustomDbEngineVersion event. For more information, see Creating a CEV in the Amazon RDS User Guide. */ createCustomDBEngineVersion(params: RDS.Types.CreateCustomDBEngineVersionMessage, callback?: (err: AWSError, data: RDS.Types.DBEngineVersion) => void): Request; /** - * Creates a custom DB engine version (CEV). A CEV is a binary volume snapshot of a database engine and specific AMI. The only supported engine is Oracle Database 19c Enterprise Edition with the January 2021 or later RU/RUR. Amazon RDS, which is a fully managed service, supplies the Amazon Machine Image (AMI) and database software. The Amazon RDS database software is preinstalled, so you need only select a DB engine and version, and create your database. With Amazon RDS Custom for Oracle, you upload your database installation files in Amazon S3. When you create a custom engine version, you specify the files in a JSON document called a CEV manifest. This document describes installation .zip files stored in Amazon S3. RDS Custom creates your CEV from the installation files that you provided. This service model is called Bring Your Own Media (BYOM). Creation takes approximately two hours. If creation fails, RDS Custom issues RDS-EVENT-0196 with the message Creation failed for custom engine version, and includes details about the failure. For example, the event prints missing files. After you create the CEV, it is available for use. You can create multiple CEVs, and create multiple RDS Custom instances from any CEV. You can also change the status of a CEV to make it available or inactive. The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the CreateCustomDbEngineVersion event aren't logged. However, you might see calls from the API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for the CreateCustomDbEngineVersion event. For more information, see Creating a CEV in the Amazon RDS User Guide. + * Creates a custom DB engine version (CEV). A CEV is a binary volume snapshot of a database engine and specific AMI. The supported engines are the following: Oracle Database 12.1 Enterprise Edition with the January 2021 or later RU/RUR Oracle Database 19c Enterprise Edition with the January 2021 or later RU/RUR Amazon RDS, which is a fully managed service, supplies the Amazon Machine Image (AMI) and database software. The Amazon RDS database software is preinstalled, so you need only select a DB engine and version, and create your database. With Amazon RDS Custom for Oracle, you upload your database installation files in Amazon S3. When you create a custom engine version, you specify the files in a JSON document called a CEV manifest. This document describes installation .zip files stored in Amazon S3. RDS Custom creates your CEV from the installation files that you provided. This service model is called Bring Your Own Media (BYOM). Creation takes approximately two hours. If creation fails, RDS Custom issues RDS-EVENT-0196 with the message Creation failed for custom engine version, and includes details about the failure. For example, the event prints missing files. After you create the CEV, it is available for use. You can create multiple CEVs, and create multiple RDS Custom instances from any CEV. You can also change the status of a CEV to make it available or inactive. The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the CreateCustomDbEngineVersion event aren't logged. However, you might see calls from the API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for the CreateCustomDbEngineVersion event. For more information, see Creating a CEV in the Amazon RDS User Guide. */ createCustomDBEngineVersion(callback?: (err: AWSError, data: RDS.Types.DBEngineVersion) => void): Request; /** @@ -230,11 +230,11 @@ declare class RDS extends Service { */ createDBSubnetGroup(callback?: (err: AWSError, data: RDS.Types.CreateDBSubnetGroupResult) => void): Request; /** - * Creates an RDS event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the type of source (SourceType) that you want to be notified of and provide a list of RDS sources (SourceIds) that triggers the events. You can also provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your RDS sources. If you don't specify either the SourceType or the SourceIdentifier, you are notified of events generated from all RDS sources belonging to your customer account. RDS event notification is only available for unencrypted SNS topics. If you specify an encrypted SNS topic, event notifications aren't sent for the topic. + * Creates an RDS event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the type of source (SourceType) that you want to be notified of and provide a list of RDS sources (SourceIds) that triggers the events. You can also provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIds = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify SourceIds, you receive notice of the events for that source type for all your RDS sources. If you don't specify either the SourceType or the SourceIds, you are notified of events generated from all RDS sources belonging to your customer account. RDS event notification is only available for unencrypted SNS topics. If you specify an encrypted SNS topic, event notifications aren't sent for the topic. */ createEventSubscription(params: RDS.Types.CreateEventSubscriptionMessage, callback?: (err: AWSError, data: RDS.Types.CreateEventSubscriptionResult) => void): Request; /** - * Creates an RDS event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the type of source (SourceType) that you want to be notified of and provide a list of RDS sources (SourceIds) that triggers the events. You can also provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you receive notice of the events for that source type for all your RDS sources. If you don't specify either the SourceType or the SourceIdentifier, you are notified of events generated from all RDS sources belonging to your customer account. RDS event notification is only available for unencrypted SNS topics. If you specify an encrypted SNS topic, event notifications aren't sent for the topic. + * Creates an RDS event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console. You can specify the type of source (SourceType) that you want to be notified of and provide a list of RDS sources (SourceIds) that triggers the events. You can also provide a list of event categories (EventCategories) for events that you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup. If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIds = myDBInstance1, you are notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify SourceIds, you receive notice of the events for that source type for all your RDS sources. If you don't specify either the SourceType or the SourceIds, you are notified of events generated from all RDS sources belonging to your customer account. RDS event notification is only available for unencrypted SNS topics. If you specify an encrypted SNS topic, event notifications aren't sent for the topic. */ createEventSubscription(callback?: (err: AWSError, data: RDS.Types.CreateEventSubscriptionResult) => void): Request; /** @@ -614,11 +614,11 @@ declare class RDS extends Service { */ describeEngineDefaultParameters(callback?: (err: AWSError, data: RDS.Types.DescribeEngineDefaultParametersResult) => void): Request; /** - * Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Events in the Amazon RDS User Guide. + * Displays a list of categories for all event source types, or, if specified, for a specified source type. You can also see this list in the "Amazon RDS event categories and event messages" section of the Amazon RDS User Guide or the Amazon Aurora User Guide . */ describeEventCategories(params: RDS.Types.DescribeEventCategoriesMessage, callback?: (err: AWSError, data: RDS.Types.EventCategoriesMessage) => void): Request; /** - * Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Events in the Amazon RDS User Guide. + * Displays a list of categories for all event source types, or, if specified, for a specified source type. You can also see this list in the "Amazon RDS event categories and event messages" section of the Amazon RDS User Guide or the Amazon Aurora User Guide . */ describeEventCategories(callback?: (err: AWSError, data: RDS.Types.EventCategoriesMessage) => void): Request; /** @@ -630,11 +630,11 @@ declare class RDS extends Service { */ describeEventSubscriptions(callback?: (err: AWSError, data: RDS.Types.EventSubscriptionsMessage) => void): Request; /** - * Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, and DB cluster snapshots for the past 14 days. Events specific to a particular DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, and DB cluster snapshots group can be obtained by providing the name as a parameter. By default, the past hour of events are returned. + * Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, DB cluster snapshots, and RDS Proxies for the past 14 days. Events specific to a particular DB instance, DB cluster, DB parameter group, DB security group, DB snapshot, DB cluster snapshot group, or RDS Proxy can be obtained by providing the name as a parameter. By default, RDS returns events that were generated in the past hour. */ describeEvents(params: RDS.Types.DescribeEventsMessage, callback?: (err: AWSError, data: RDS.Types.EventsMessage) => void): Request; /** - * Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, and DB cluster snapshots for the past 14 days. Events specific to a particular DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, and DB cluster snapshots group can be obtained by providing the name as a parameter. By default, the past hour of events are returned. + * Returns events related to DB instances, DB clusters, DB parameter groups, DB security groups, DB snapshots, DB cluster snapshots, and RDS Proxies for the past 14 days. Events specific to a particular DB instance, DB cluster, DB parameter group, DB security group, DB snapshot, DB cluster snapshot group, or RDS Proxy can be obtained by providing the name as a parameter. By default, RDS returns events that were generated in the past hour. */ describeEvents(callback?: (err: AWSError, data: RDS.Types.EventsMessage) => void): Request; /** @@ -1252,7 +1252,7 @@ declare namespace RDS { */ SubscriptionName: String; /** - * The identifier of the event source to be added. Constraints: If the source type is a DB instance, a DBInstanceIdentifier value must be supplied. If the source type is a DB cluster, a DBClusterIdentifier value must be supplied. If the source type is a DB parameter group, a DBParameterGroupName value must be supplied. If the source type is a DB security group, a DBSecurityGroupName value must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied. If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied. + * The identifier of the event source to be added. Constraints: If the source type is a DB instance, a DBInstanceIdentifier value must be supplied. If the source type is a DB cluster, a DBClusterIdentifier value must be supplied. If the source type is a DB parameter group, a DBParameterGroupName value must be supplied. If the source type is a DB security group, a DBSecurityGroupName value must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied. If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied. If the source type is an RDS Proxy, a DBProxyName value must be supplied. */ SourceIdentifier: String; } @@ -1452,11 +1452,11 @@ declare namespace RDS { } export interface ConnectionPoolConfiguration { /** - * The maximum size of the connection pool for each target in a target group. For Aurora MySQL, it is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. Default: 100 Constraints: between 1 and 100 + * The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. Default: 100 Constraints: between 1 and 100 */ MaxConnectionsPercent?: IntegerOptional; /** - * Controls how actively the proxy closes idle database connections in the connection pool. A high value enables the proxy to leave a high percentage of idle connections open. A low value causes the proxy to close idle client connections and return the underlying database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. Default: 50 Constraints: between 0 and MaxConnectionsPercent + * Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database. Default: 50 Constraints: between 0 and MaxConnectionsPercent */ MaxIdleConnectionsPercent?: IntegerOptional; /** @@ -1474,11 +1474,11 @@ declare namespace RDS { } export interface ConnectionPoolConfigurationInfo { /** - * The maximum size of the connection pool for each target in a target group. For Aurora MySQL, it is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. + * The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. */ MaxConnectionsPercent?: Integer; /** - * Controls how actively the proxy closes idle database connections in the connection pool. A high value enables the proxy to leave a high percentage of idle connections open. A low value causes the proxy to close idle client connections and return the underlying database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. + * Controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database. */ MaxIdleConnectionsPercent?: Integer; /** @@ -1724,7 +1724,7 @@ declare namespace RDS { */ VpcSecurityGroupIds?: VpcSecurityGroupIdList; /** - * A DB subnet group to associate with this DB cluster. This setting is required to create a Multi-AZ DB cluster. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup Valid for: Aurora DB clusters and Multi-AZ DB clusters + * A DB subnet group to associate with this DB cluster. This setting is required to create a Multi-AZ DB cluster. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mydbsubnetgroup Valid for: Aurora DB clusters and Multi-AZ DB clusters */ DBSubnetGroupName?: String; /** @@ -1959,7 +1959,7 @@ declare namespace RDS { */ AvailabilityZone?: String; /** - * A DB subnet group to associate with this DB instance. If there is no DB subnet group, then it is a non-VPC DB instance. + * A DB subnet group to associate with this DB instance. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mydbsubnetgroup */ DBSubnetGroupName?: String; /** @@ -2166,7 +2166,7 @@ declare namespace RDS { PubliclyAccessible?: BooleanOptional; Tags?: TagList; /** - * Specifies a DB subnet group for the DB instance. The new DB instance is created in the VPC associated with the DB subnet group. If no DB subnet group is specified, then the new DB instance isn't created in a VPC. Constraints: Can only be specified if the source DB instance identifier specifies a DB instance in another Amazon Web Services Region. If supplied, must match the name of an existing DBSubnetGroup. The specified DB subnet group must be in the same Amazon Web Services Region in which the operation is running. All read replicas in one Amazon Web Services Region that are created from the same source DB instance must either:> Specify DB subnet groups from the same VPC. All these read replicas are created in the same VPC. Not specify a DB subnet group. All these read replicas are created outside of any VPC. Example: mySubnetgroup + * Specifies a DB subnet group for the DB instance. The new DB instance is created in the VPC associated with the DB subnet group. If no DB subnet group is specified, then the new DB instance isn't created in a VPC. Constraints: Can only be specified if the source DB instance identifier specifies a DB instance in another Amazon Web Services Region. If supplied, must match the name of an existing DBSubnetGroup. The specified DB subnet group must be in the same Amazon Web Services Region in which the operation is running. All read replicas in one Amazon Web Services Region that are created from the same source DB instance must either:> Specify DB subnet groups from the same VPC. All these read replicas are created in the same VPC. Not specify a DB subnet group. All these read replicas are created outside of any VPC. Example: mydbsubnetgroup */ DBSubnetGroupName?: String; /** @@ -2391,7 +2391,7 @@ declare namespace RDS { } export interface CreateDBSubnetGroupMessage { /** - * The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup + * The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. First character must be a letter. Example: mydbsubnetgroup */ DBSubnetGroupName: String; /** @@ -2420,15 +2420,15 @@ declare namespace RDS { */ SnsTopicArn: String; /** - * The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you set this parameter to db-instance. If this value isn't specified, all events are returned. Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot + * The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you set this parameter to db-instance. For RDS Proxy events, specify db-proxy. If this value isn't specified, all events are returned. Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy */ SourceType?: String; /** - * A list of event categories for a particular source type (SourceType) that you want to subscribe to. You can see a list of the categories for a given source type in Events in the Amazon RDS User Guide or by using the DescribeEventCategories operation. + * A list of event categories for a particular source type (SourceType) that you want to subscribe to. You can see a list of the categories for a given source type in the "Amazon RDS event categories and event messages" section of the Amazon RDS User Guide or the Amazon Aurora User Guide . You can also see this list by using the DescribeEventCategories operation. */ EventCategories?: EventCategoriesList; /** - * The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It can't end with a hyphen or contain two consecutive hyphens. Constraints: If SourceIds are supplied, SourceType must also be provided. If the source type is a DB instance, a DBInstanceIdentifier value must be supplied. If the source type is a DB cluster, a DBClusterIdentifier value must be supplied. If the source type is a DB parameter group, a DBParameterGroupName value must be supplied. If the source type is a DB security group, a DBSecurityGroupName value must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied. If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied. + * The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It can't end with a hyphen or contain two consecutive hyphens. Constraints: If SourceIds are supplied, SourceType must also be provided. If the source type is a DB instance, a DBInstanceIdentifier value must be supplied. If the source type is a DB cluster, a DBClusterIdentifier value must be supplied. If the source type is a DB parameter group, a DBParameterGroupName value must be supplied. If the source type is a DB security group, a DBSecurityGroupName value must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied. If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied. If the source type is an RDS Proxy, a DBProxyName value must be supplied. */ SourceIds?: SourceIdsList; /** @@ -3226,6 +3226,10 @@ declare namespace RDS { */ CreateTime?: TStamp; TagList?: TagList; + /** + * A value that indicates whether the engine version supports Babelfish for Aurora PostgreSQL. + */ + SupportsBabelfish?: Boolean; } export type DBEngineVersionList = DBEngineVersion[]; export interface DBEngineVersionMessage { @@ -4328,7 +4332,7 @@ declare namespace RDS { } export interface DeleteDBSubnetGroupMessage { /** - * The name of the database subnet group to delete. You can't delete the default subnet group. Constraints: Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup + * The name of the database subnet group to delete. You can't delete the default subnet group. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mydbsubnetgroup */ DBSubnetGroupName: String; } @@ -4553,7 +4557,7 @@ declare namespace RDS { */ DBClusterIdentifier?: String; /** - * A filter that specifies one or more DB clusters to describe. Supported filters: clone-group-id - Accepts clone group identifiers. The results list will only include information about the DB clusters associated with these clone groups. db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB clusters identified by these ARNs. domain - Accepts Active Directory directory IDs. The results list will only include information about the DB clusters associated with these domains. engine - Accepts engine names. The results list will only include information about the DB clusters for these engines. + * A filter that specifies one or more DB clusters to describe. Supported filters: clone-group-id - Accepts clone group identifiers. The results list only includes information about the DB clusters associated with these clone groups. db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB clusters identified by these ARNs. domain - Accepts Active Directory directory IDs. The results list only includes information about the DB clusters associated with these domains. engine - Accepts engine names. The results list only includes information about the DB clusters for these engines. */ Filters?: FilterList; /** @@ -4583,7 +4587,7 @@ declare namespace RDS { */ DBParameterGroupFamily?: String; /** - * This parameter isn't currently supported. + * A filter that specifies one or more DB engine versions to describe. Supported filters: db-parameter-group-family - Accepts parameter groups family names. The results list only includes information about the DB engine versions for these parameter group families. engine - Accepts engine names. The results list only includes information about the DB engine versions for these engines. engine-mode - Accepts DB engine modes. The results list only includes information about the DB engine versions for these engine modes. Valid DB engine modes are the following: global multimaster parallelquery provisioned serverless engine-version - Accepts engine versions. The results list only includes information about the DB engine versions for these engine versions. status - Accepts engine version statuses. The results list only includes information about the DB engine versions for these statuses. Valid statuses are the following: available deprecated */ Filters?: FilterList; /** @@ -4643,7 +4647,7 @@ declare namespace RDS { */ DBInstanceIdentifier?: String; /** - * A filter that specifies one or more DB instances to describe. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include information about the DB instances associated with the DB clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list will only include information about the DB instances identified by these ARNs. dbi-resource-id - Accepts DB instance resource identifiers. The results list will only include information about the DB instances identified by these DB instance resource identifiers. domain - Accepts Active Directory directory IDs. The results list will only include information about the DB instances associated with these domains. engine - Accepts engine names. The results list will only include information about the DB instances for these engines. + * A filter that specifies one or more DB instances to describe. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs. dbi-resource-id - Accepts DB instance resource identifiers. The results list will only include information about the DB instances identified by these DB instance resource identifiers. domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains. engine - Accepts engine names. The results list only includes information about the DB instances for these engines. */ Filters?: FilterList; /** @@ -5001,7 +5005,7 @@ declare namespace RDS { } export interface DescribeEventCategoriesMessage { /** - * The type of source that is generating the events. Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot + * The type of source that is generating the events. For RDS Proxy events, specify db-proxy. Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy */ SourceType?: String; /** @@ -5029,7 +5033,7 @@ declare namespace RDS { } export interface DescribeEventsMessage { /** - * The identifier of the event source for which events are returned. If not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided. If the source type is a DB instance, a DBInstanceIdentifier value must be supplied. If the source type is a DB cluster, a DBClusterIdentifier value must be supplied. If the source type is a DB parameter group, a DBParameterGroupName value must be supplied. If the source type is a DB security group, a DBSecurityGroupName value must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied. If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied. Can't end with a hyphen or contain two consecutive hyphens. + * The identifier of the event source for which events are returned. If not specified, then all sources are included in the response. Constraints: If SourceIdentifier is supplied, SourceType must also be provided. If the source type is a DB instance, a DBInstanceIdentifier value must be supplied. If the source type is a DB cluster, a DBClusterIdentifier value must be supplied. If the source type is a DB parameter group, a DBParameterGroupName value must be supplied. If the source type is a DB security group, a DBSecurityGroupName value must be supplied. If the source type is a DB snapshot, a DBSnapshotIdentifier value must be supplied. If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier value must be supplied. If the source type is an RDS Proxy, a DBProxyName value must be supplied. Can't end with a hyphen or contain two consecutive hyphens. */ SourceIdentifier?: String; /** @@ -5215,7 +5219,7 @@ declare namespace RDS { */ ResourceIdentifier?: String; /** - * A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list will only include pending maintenance actions for the DB clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list will only include pending maintenance actions for the DB instances identified by these ARNs. + * A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes pending maintenance actions for the DB clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list only includes pending maintenance actions for the DB instances identified by these ARNs. */ Filters?: FilterList; /** @@ -6011,7 +6015,7 @@ declare namespace RDS { */ AllowMajorVersionUpgrade?: Boolean; /** - * The name of the DB parameter group to apply to all instances of the DB cluster. When you apply a parameter group using the DBInstanceParameterGroupName parameter, the DB cluster isn't rebooted automatically. Also, parameter changes aren't applied during the next maintenance window but instead are applied immediately. Default: The existing name setting Constraints: The DB parameter group must be in the same DB parameter group family as this DB cluster. The DBInstanceParameterGroupName parameter is only valid in combination with the AllowMajorVersionUpgrade parameter. Valid for: Aurora DB clusters only + * The name of the DB parameter group to apply to all instances of the DB cluster. When you apply a parameter group using the DBInstanceParameterGroupName parameter, the DB cluster isn't rebooted automatically. Also, parameter changes are applied immediately rather than during the next maintenance window. Default: The existing name setting Constraints: The DB parameter group must be in the same DB parameter group family as this DB cluster. The DBInstanceParameterGroupName parameter is valid in combination with the AllowMajorVersionUpgrade parameter for a major version upgrade only. Valid for: Aurora DB clusters only */ DBInstanceParameterGroupName?: String; /** @@ -6131,7 +6135,7 @@ declare namespace RDS { */ DBInstanceClass?: String; /** - * The new DB subnet group for the DB instance. You can use this parameter to move your DB instance to a different VPC. If your DB instance isn't in a VPC, you can also use this parameter to move your DB instance into a VPC. For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide. Changing the subnet group causes an outage during the change. The change is applied during the next maintenance window, unless you enable ApplyImmediately. This parameter doesn't apply to RDS Custom. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mySubnetGroup + * The new DB subnet group for the DB instance. You can use this parameter to move your DB instance to a different VPC. If your DB instance isn't in a VPC, you can also use this parameter to move your DB instance into a VPC. For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide. Changing the subnet group causes an outage during the change. The change is applied during the next maintenance window, unless you enable ApplyImmediately. This parameter doesn't apply to RDS Custom. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mydbsubnetgroup */ DBSubnetGroupName?: String; /** @@ -6444,7 +6448,7 @@ declare namespace RDS { } export interface ModifyDBSubnetGroupMessage { /** - * The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup + * The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mydbsubnetgroup */ DBSubnetGroupName: String; /** @@ -6469,7 +6473,7 @@ declare namespace RDS { */ SnsTopicArn?: String; /** - * The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. If this value isn't specified, all events are returned. Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot + * The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. For RDS Proxy events, specify db-proxy. If this value isn't specified, all events are returned. Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy */ SourceType?: String; /** @@ -7510,7 +7514,7 @@ declare namespace RDS { */ VpcSecurityGroupIds?: VpcSecurityGroupIdList; /** - * A DB subnet group to associate with the restored DB cluster. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup + * A DB subnet group to associate with the restored DB cluster. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mydbsubnetgroup */ DBSubnetGroupName?: String; /** @@ -7632,7 +7636,7 @@ declare namespace RDS { */ Port?: IntegerOptional; /** - * The name of the DB subnet group to use for the new DB cluster. Constraints: If supplied, must match the name of an existing DB subnet group. Example: mySubnetgroup Valid for: Aurora DB clusters and Multi-AZ DB clusters + * The name of the DB subnet group to use for the new DB cluster. Constraints: If supplied, must match the name of an existing DB subnet group. Example: mydbsubnetgroup Valid for: Aurora DB clusters and Multi-AZ DB clusters */ DBSubnetGroupName?: String; /** @@ -7696,7 +7700,7 @@ declare namespace RDS { */ DomainIAMRoleName?: String; /** - * The compute and memory capacity of the each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide. Valid for: Aurora DB clusters and Multi-AZ DB clusters + * The compute and memory capacity of the each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide. Valid for: Multi-AZ DB clusters only */ DBClusterInstanceClass?: String; /** @@ -7741,7 +7745,7 @@ declare namespace RDS { */ Port?: IntegerOptional; /** - * The DB subnet group name to use for the new DB cluster. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup Valid for: Aurora DB clusters and Multi-AZ DB clusters + * The DB subnet group name to use for the new DB cluster. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mydbsubnetgroup Valid for: Aurora DB clusters and Multi-AZ DB clusters */ DBSubnetGroupName?: String; /** @@ -7839,7 +7843,7 @@ declare namespace RDS { */ AvailabilityZone?: String; /** - * The DB subnet group name to use for the new instance. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup + * The DB subnet group name to use for the new instance. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mydbsubnetgroup */ DBSubnetGroupName?: String; /** @@ -7896,7 +7900,7 @@ declare namespace RDS { */ Domain?: String; /** - * A value that indicates whether to copy all tags from the restored DB instance to snapshots of the DB instance. By default, tags are not copied. + * A value that indicates whether to copy all tags from the restored DB instance to snapshots of the DB instance. In most cases, tags aren't copied by default. However, when you restore a DB instance from a DB snapshot, RDS checks whether you specify new tags. If yes, the new tags are added to the restored DB instance. If there are no new tags, RDS looks for the tags from the source DB instance for the DB snapshot, and then adds those tags to the restored DB instance. For more information, see Copying tags to DB instance snapshots in the Amazon RDS User Guide. */ CopyTagsToSnapshot?: BooleanOptional; /** @@ -7932,7 +7936,7 @@ declare namespace RDS { */ EnableCustomerOwnedIp?: BooleanOptional; /** - * The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The instance profile must meet the following requirements: The profile must exist in your account. The profile must have an IAM role that Amazon EC2 has permissions to assume. The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon Relational Database Service User Guide. This setting is required for RDS Custom. + * The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. The instance profile must meet the following requirements: The profile must exist in your account. The profile must have an IAM role that Amazon EC2 has permissions to assume. The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide. This setting is required for RDS Custom. */ CustomIamInstanceProfile?: String; /** @@ -7985,7 +7989,7 @@ declare namespace RDS { */ AvailabilityZone?: String; /** - * A DB subnet group to associate with this DB instance. + * A DB subnet group to associate with this DB instance. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mydbsubnetgroup */ DBSubnetGroupName?: String; /** @@ -8154,7 +8158,7 @@ declare namespace RDS { */ AvailabilityZone?: String; /** - * The DB subnet group name to use for the new instance. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup + * The DB subnet group name to use for the new instance. Constraints: If supplied, must match the name of an existing DBSubnetGroup. Example: mydbsubnetgroup */ DBSubnetGroupName?: String; /** @@ -8387,7 +8391,7 @@ declare namespace RDS { */ SourceRegions?: SourceRegionList; } - export type SourceType = "db-instance"|"db-parameter-group"|"db-security-group"|"db-snapshot"|"db-cluster"|"db-cluster-snapshot"|"custom-engine-version"|string; + export type SourceType = "db-instance"|"db-parameter-group"|"db-security-group"|"db-snapshot"|"db-cluster"|"db-cluster-snapshot"|"custom-engine-version"|"db-proxy"|string; export interface StartActivityStreamRequest { /** * The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster. @@ -8660,6 +8664,10 @@ declare namespace RDS { * A value that indicates whether you can use Aurora global databases with the target engine version. */ SupportsGlobalDatabases?: BooleanOptional; + /** + * A value that indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version. + */ + SupportsBabelfish?: BooleanOptional; } export interface UserAuthConfig { /** diff --git a/node_modules/aws-sdk/clients/robomaker.d.ts b/node_modules/aws-sdk/clients/robomaker.d.ts index 124e032d6..ba31c00d4 100644 --- a/node_modules/aws-sdk/clients/robomaker.d.ts +++ b/node_modules/aws-sdk/clients/robomaker.d.ts @@ -28,11 +28,11 @@ declare class RoboMaker extends Service { */ batchDescribeSimulationJob(callback?: (err: AWSError, data: RoboMaker.Types.BatchDescribeSimulationJobResponse) => void): Request; /** - * Cancels the specified deployment job. + * Cancels the specified deployment job. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ cancelDeploymentJob(params: RoboMaker.Types.CancelDeploymentJobRequest, callback?: (err: AWSError, data: RoboMaker.Types.CancelDeploymentJobResponse) => void): Request; /** - * Cancels the specified deployment job. + * Cancels the specified deployment job. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ cancelDeploymentJob(callback?: (err: AWSError, data: RoboMaker.Types.CancelDeploymentJobResponse) => void): Request; /** @@ -68,27 +68,27 @@ declare class RoboMaker extends Service { */ cancelWorldGenerationJob(callback?: (err: AWSError, data: RoboMaker.Types.CancelWorldGenerationJobResponse) => void): Request; /** - * Deploys a specific version of a robot application to robots in a fleet. The robot application must have a numbered applicationVersion for consistency reasons. To create a new version, use CreateRobotApplicationVersion or see Creating a Robot Application Version. After 90 days, deployment jobs expire and will be deleted. They will no longer be accessible. + * Deploys a specific version of a robot application to robots in a fleet. This API is no longer supported and will throw an error if used. The robot application must have a numbered applicationVersion for consistency reasons. To create a new version, use CreateRobotApplicationVersion or see Creating a Robot Application Version. After 90 days, deployment jobs expire and will be deleted. They will no longer be accessible. */ createDeploymentJob(params: RoboMaker.Types.CreateDeploymentJobRequest, callback?: (err: AWSError, data: RoboMaker.Types.CreateDeploymentJobResponse) => void): Request; /** - * Deploys a specific version of a robot application to robots in a fleet. The robot application must have a numbered applicationVersion for consistency reasons. To create a new version, use CreateRobotApplicationVersion or see Creating a Robot Application Version. After 90 days, deployment jobs expire and will be deleted. They will no longer be accessible. + * Deploys a specific version of a robot application to robots in a fleet. This API is no longer supported and will throw an error if used. The robot application must have a numbered applicationVersion for consistency reasons. To create a new version, use CreateRobotApplicationVersion or see Creating a Robot Application Version. After 90 days, deployment jobs expire and will be deleted. They will no longer be accessible. */ createDeploymentJob(callback?: (err: AWSError, data: RoboMaker.Types.CreateDeploymentJobResponse) => void): Request; /** - * Creates a fleet, a logical group of robots running the same robot application. + * Creates a fleet, a logical group of robots running the same robot application. This API is no longer supported and will throw an error if used. */ createFleet(params: RoboMaker.Types.CreateFleetRequest, callback?: (err: AWSError, data: RoboMaker.Types.CreateFleetResponse) => void): Request; /** - * Creates a fleet, a logical group of robots running the same robot application. + * Creates a fleet, a logical group of robots running the same robot application. This API is no longer supported and will throw an error if used. */ createFleet(callback?: (err: AWSError, data: RoboMaker.Types.CreateFleetResponse) => void): Request; /** - * Creates a robot. + * Creates a robot. This API is no longer supported and will throw an error if used. */ createRobot(params: RoboMaker.Types.CreateRobotRequest, callback?: (err: AWSError, data: RoboMaker.Types.CreateRobotResponse) => void): Request; /** - * Creates a robot. + * Creates a robot. This API is no longer supported and will throw an error if used. */ createRobot(callback?: (err: AWSError, data: RoboMaker.Types.CreateRobotResponse) => void): Request; /** @@ -156,19 +156,19 @@ declare class RoboMaker extends Service { */ createWorldTemplate(callback?: (err: AWSError, data: RoboMaker.Types.CreateWorldTemplateResponse) => void): Request; /** - * Deletes a fleet. + * Deletes a fleet. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ deleteFleet(params: RoboMaker.Types.DeleteFleetRequest, callback?: (err: AWSError, data: RoboMaker.Types.DeleteFleetResponse) => void): Request; /** - * Deletes a fleet. + * Deletes a fleet. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ deleteFleet(callback?: (err: AWSError, data: RoboMaker.Types.DeleteFleetResponse) => void): Request; /** - * Deletes a robot. + * Deletes a robot. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ deleteRobot(params: RoboMaker.Types.DeleteRobotRequest, callback?: (err: AWSError, data: RoboMaker.Types.DeleteRobotResponse) => void): Request; /** - * Deletes a robot. + * Deletes a robot. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ deleteRobot(callback?: (err: AWSError, data: RoboMaker.Types.DeleteRobotResponse) => void): Request; /** @@ -196,35 +196,35 @@ declare class RoboMaker extends Service { */ deleteWorldTemplate(callback?: (err: AWSError, data: RoboMaker.Types.DeleteWorldTemplateResponse) => void): Request; /** - * Deregisters a robot. + * Deregisters a robot. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ deregisterRobot(params: RoboMaker.Types.DeregisterRobotRequest, callback?: (err: AWSError, data: RoboMaker.Types.DeregisterRobotResponse) => void): Request; /** - * Deregisters a robot. + * Deregisters a robot. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ deregisterRobot(callback?: (err: AWSError, data: RoboMaker.Types.DeregisterRobotResponse) => void): Request; /** - * Describes a deployment job. + * Describes a deployment job. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ describeDeploymentJob(params: RoboMaker.Types.DescribeDeploymentJobRequest, callback?: (err: AWSError, data: RoboMaker.Types.DescribeDeploymentJobResponse) => void): Request; /** - * Describes a deployment job. + * Describes a deployment job. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ describeDeploymentJob(callback?: (err: AWSError, data: RoboMaker.Types.DescribeDeploymentJobResponse) => void): Request; /** - * Describes a fleet. + * Describes a fleet. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ describeFleet(params: RoboMaker.Types.DescribeFleetRequest, callback?: (err: AWSError, data: RoboMaker.Types.DescribeFleetResponse) => void): Request; /** - * Describes a fleet. + * Describes a fleet. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ describeFleet(callback?: (err: AWSError, data: RoboMaker.Types.DescribeFleetResponse) => void): Request; /** - * Describes a robot. + * Describes a robot. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ describeRobot(params: RoboMaker.Types.DescribeRobotRequest, callback?: (err: AWSError, data: RoboMaker.Types.DescribeRobotResponse) => void): Request; /** - * Describes a robot. + * Describes a robot. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ describeRobot(callback?: (err: AWSError, data: RoboMaker.Types.DescribeRobotResponse) => void): Request; /** @@ -300,19 +300,19 @@ declare class RoboMaker extends Service { */ getWorldTemplateBody(callback?: (err: AWSError, data: RoboMaker.Types.GetWorldTemplateBodyResponse) => void): Request; /** - * Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs. + * Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ listDeploymentJobs(params: RoboMaker.Types.ListDeploymentJobsRequest, callback?: (err: AWSError, data: RoboMaker.Types.ListDeploymentJobsResponse) => void): Request; /** - * Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs. + * Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ listDeploymentJobs(callback?: (err: AWSError, data: RoboMaker.Types.ListDeploymentJobsResponse) => void): Request; /** - * Returns a list of fleets. You can optionally provide filters to retrieve specific fleets. + * Returns a list of fleets. You can optionally provide filters to retrieve specific fleets. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ listFleets(params: RoboMaker.Types.ListFleetsRequest, callback?: (err: AWSError, data: RoboMaker.Types.ListFleetsResponse) => void): Request; /** - * Returns a list of fleets. You can optionally provide filters to retrieve specific fleets. + * Returns a list of fleets. You can optionally provide filters to retrieve specific fleets. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ listFleets(callback?: (err: AWSError, data: RoboMaker.Types.ListFleetsResponse) => void): Request; /** @@ -324,11 +324,11 @@ declare class RoboMaker extends Service { */ listRobotApplications(callback?: (err: AWSError, data: RoboMaker.Types.ListRobotApplicationsResponse) => void): Request; /** - * Returns a list of robots. You can optionally provide filters to retrieve specific robots. + * Returns a list of robots. You can optionally provide filters to retrieve specific robots. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ listRobots(params: RoboMaker.Types.ListRobotsRequest, callback?: (err: AWSError, data: RoboMaker.Types.ListRobotsResponse) => void): Request; /** - * Returns a list of robots. You can optionally provide filters to retrieve specific robots. + * Returns a list of robots. You can optionally provide filters to retrieve specific robots. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ listRobots(callback?: (err: AWSError, data: RoboMaker.Types.ListRobotsResponse) => void): Request; /** @@ -396,11 +396,11 @@ declare class RoboMaker extends Service { */ listWorlds(callback?: (err: AWSError, data: RoboMaker.Types.ListWorldsResponse) => void): Request; /** - * Registers a robot with a fleet. + * Registers a robot with a fleet. This API is no longer supported and will throw an error if used. */ registerRobot(params: RoboMaker.Types.RegisterRobotRequest, callback?: (err: AWSError, data: RoboMaker.Types.RegisterRobotResponse) => void): Request; /** - * Registers a robot with a fleet. + * Registers a robot with a fleet. This API is no longer supported and will throw an error if used. */ registerRobot(callback?: (err: AWSError, data: RoboMaker.Types.RegisterRobotResponse) => void): Request; /** @@ -420,11 +420,11 @@ declare class RoboMaker extends Service { */ startSimulationJobBatch(callback?: (err: AWSError, data: RoboMaker.Types.StartSimulationJobBatchResponse) => void): Request; /** - * Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment. + * Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ syncDeploymentJob(params: RoboMaker.Types.SyncDeploymentJobRequest, callback?: (err: AWSError, data: RoboMaker.Types.SyncDeploymentJobResponse) => void): Request; /** - * Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment. + * Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment. This API will no longer be supported as of May 2, 2022. Use it to remove resources that were created for Deployment Service. */ syncDeploymentJob(callback?: (err: AWSError, data: RoboMaker.Types.SyncDeploymentJobResponse) => void): Request; /** diff --git a/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts b/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts index 1b2fcd447..4765793ff 100644 --- a/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts +++ b/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts @@ -12,406 +12,418 @@ declare class Route53RecoveryReadiness extends Service { constructor(options?: Route53RecoveryReadiness.Types.ClientConfiguration) config: Config & Route53RecoveryReadiness.Types.ClientConfiguration; /** - * Creates a new Cell. + * Creates a cell in an account. */ createCell(params: Route53RecoveryReadiness.Types.CreateCellRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateCellResponse) => void): Request; /** - * Creates a new Cell. + * Creates a cell in an account. */ createCell(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateCellResponse) => void): Request; /** - * Create a new cross account readiness authorization. + * Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account. */ createCrossAccountAuthorization(params: Route53RecoveryReadiness.Types.CreateCrossAccountAuthorizationRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateCrossAccountAuthorizationResponse) => void): Request; /** - * Create a new cross account readiness authorization. + * Creates a cross-account readiness authorization. This lets you authorize another account to work with Route 53 Application Recovery Controller, for example, to check the readiness status of resources in a separate account. */ createCrossAccountAuthorization(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateCrossAccountAuthorizationResponse) => void): Request; /** - * Creates a new Readiness Check. + * Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check. */ createReadinessCheck(params: Route53RecoveryReadiness.Types.CreateReadinessCheckRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateReadinessCheckResponse) => void): Request; /** - * Creates a new Readiness Check. + * Creates a readiness check in an account. A readiness check monitors a resource set in your application, such as a set of Amazon Aurora instances, that Application Recovery Controller is auditing recovery readiness for. The audits run once every minute on every resource that's associated with a readiness check. */ createReadinessCheck(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateReadinessCheckResponse) => void): Request; /** - * Creates a new Recovery Group. + * Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application. */ createRecoveryGroup(params: Route53RecoveryReadiness.Types.CreateRecoveryGroupRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateRecoveryGroupResponse) => void): Request; /** - * Creates a new Recovery Group. + * Creates a recovery group in an account. A recovery group corresponds to an application and includes a list of the cells that make up the application. */ createRecoveryGroup(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateRecoveryGroupResponse) => void): Request; /** - * Creates a new Resource Set. + * Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness. */ createResourceSet(params: Route53RecoveryReadiness.Types.CreateResourceSetRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateResourceSetResponse) => void): Request; /** - * Creates a new Resource Set. + * Creates a resource set. A resource set is a set of resources of one type that span multiple cells. You can associate a resource set with a readiness check to monitor the resources for failover readiness. */ createResourceSet(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.CreateResourceSetResponse) => void): Request; /** - * Deletes an existing Cell. + * Delete a cell. When successful, the response code is 204, with no response body. */ deleteCell(params: Route53RecoveryReadiness.Types.DeleteCellRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an existing Cell. + * Delete a cell. When successful, the response code is 204, with no response body. */ deleteCell(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Delete cross account readiness authorization + * Deletes cross account readiness authorization. */ deleteCrossAccountAuthorization(params: Route53RecoveryReadiness.Types.DeleteCrossAccountAuthorizationRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.DeleteCrossAccountAuthorizationResponse) => void): Request; /** - * Delete cross account readiness authorization + * Deletes cross account readiness authorization. */ deleteCrossAccountAuthorization(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.DeleteCrossAccountAuthorizationResponse) => void): Request; /** - * Deletes an existing Readiness Check. + * Deletes a readiness check. */ deleteReadinessCheck(params: Route53RecoveryReadiness.Types.DeleteReadinessCheckRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an existing Readiness Check. + * Deletes a readiness check. */ deleteReadinessCheck(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an existing Recovery Group. + * Deletes a recovery group. */ deleteRecoveryGroup(params: Route53RecoveryReadiness.Types.DeleteRecoveryGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an existing Recovery Group. + * Deletes a recovery group. */ deleteRecoveryGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an existing Resource Set. + * Deletes a resource set. */ deleteResourceSet(params: Route53RecoveryReadiness.Types.DeleteResourceSetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an existing Resource Set. + * Deletes a resource set. */ deleteResourceSet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Returns a collection of recommendations to improve resilliance and readiness check quality for a Recovery Group. + * Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group. */ getArchitectureRecommendations(params: Route53RecoveryReadiness.Types.GetArchitectureRecommendationsRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetArchitectureRecommendationsResponse) => void): Request; /** - * Returns a collection of recommendations to improve resilliance and readiness check quality for a Recovery Group. + * Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group. */ getArchitectureRecommendations(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetArchitectureRecommendationsResponse) => void): Request; /** - * Returns information about a Cell. + * Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs. */ getCell(params: Route53RecoveryReadiness.Types.GetCellRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetCellResponse) => void): Request; /** - * Returns information about a Cell. + * Gets information about a cell including cell name, cell Amazon Resource Name (ARN), ARNs of nested cells for this cell, and a list of those cell ARNs with their associated recovery group ARNs. */ getCell(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetCellResponse) => void): Request; /** - * Returns information about readiness of a Cell. + * Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value. */ getCellReadinessSummary(params: Route53RecoveryReadiness.Types.GetCellReadinessSummaryRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetCellReadinessSummaryResponse) => void): Request; /** - * Returns information about readiness of a Cell. + * Gets readiness for a cell. Aggregates the readiness of all the resources that are associated with the cell into a single value. */ getCellReadinessSummary(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetCellReadinessSummaryResponse) => void): Request; /** - * Returns information about a ReadinessCheck. + * Gets details about a readiness check. */ getReadinessCheck(params: Route53RecoveryReadiness.Types.GetReadinessCheckRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetReadinessCheckResponse) => void): Request; /** - * Returns information about a ReadinessCheck. + * Gets details about a readiness check. */ getReadinessCheck(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetReadinessCheckResponse) => void): Request; /** - * Returns detailed information about the status of an individual resource within a Readiness Check's Resource Set. + * Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary. */ getReadinessCheckResourceStatus(params: Route53RecoveryReadiness.Types.GetReadinessCheckResourceStatusRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetReadinessCheckResourceStatusResponse) => void): Request; /** - * Returns detailed information about the status of an individual resource within a Readiness Check's Resource Set. + * Gets individual readiness status for a readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in the recovery group, use GetRecoveryGroupReadinessSummary. */ getReadinessCheckResourceStatus(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetReadinessCheckResourceStatusResponse) => void): Request; /** - * Returns information about the status of a Readiness Check. + * Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary. */ getReadinessCheckStatus(params: Route53RecoveryReadiness.Types.GetReadinessCheckStatusRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetReadinessCheckStatusResponse) => void): Request; /** - * Returns information about the status of a Readiness Check. + * Gets the readiness status for an individual readiness check. To see the overall readiness status for a recovery group, that considers the readiness status for all the readiness checks in a recovery group, use GetRecoveryGroupReadinessSummary. */ getReadinessCheckStatus(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetReadinessCheckStatusResponse) => void): Request; /** - * Returns information about a Recovery Group. + * Gets details about a recovery group, including a list of the cells that are included in it. */ getRecoveryGroup(params: Route53RecoveryReadiness.Types.GetRecoveryGroupRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetRecoveryGroupResponse) => void): Request; /** - * Returns information about a Recovery Group. + * Gets details about a recovery group, including a list of the cells that are included in it. */ getRecoveryGroup(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetRecoveryGroupResponse) => void): Request; /** - * Returns information about a Recovery Group. + * Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one. */ getRecoveryGroupReadinessSummary(params: Route53RecoveryReadiness.Types.GetRecoveryGroupReadinessSummaryRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetRecoveryGroupReadinessSummaryResponse) => void): Request; /** - * Returns information about a Recovery Group. + * Displays a summary of information about a recovery group's readiness status. Includes the readiness checks for resources in the recovery group and the readiness status of each one. */ getRecoveryGroupReadinessSummary(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetRecoveryGroupReadinessSummaryResponse) => void): Request; /** - * Returns information about a Resource Set. + * Displays the details about a resource set, including a list of the resources in the set. */ getResourceSet(params: Route53RecoveryReadiness.Types.GetResourceSetRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetResourceSetResponse) => void): Request; /** - * Returns information about a Resource Set. + * Displays the details about a resource set, including a list of the resources in the set. */ getResourceSet(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.GetResourceSetResponse) => void): Request; /** - * Returns a collection of Cells. + * Lists the cells for an account. */ listCells(params: Route53RecoveryReadiness.Types.ListCellsRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListCellsResponse) => void): Request; /** - * Returns a collection of Cells. + * Lists the cells for an account. */ listCells(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListCellsResponse) => void): Request; /** - * Returns a collection of cross account readiness authorizations. + * Lists the cross-account readiness authorizations that are in place for an account. */ listCrossAccountAuthorizations(params: Route53RecoveryReadiness.Types.ListCrossAccountAuthorizationsRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListCrossAccountAuthorizationsResponse) => void): Request; /** - * Returns a collection of cross account readiness authorizations. + * Lists the cross-account readiness authorizations that are in place for an account. */ listCrossAccountAuthorizations(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListCrossAccountAuthorizationsResponse) => void): Request; /** - * Returns a collection of Readiness Checks. + * Lists the readiness checks for an account. */ listReadinessChecks(params: Route53RecoveryReadiness.Types.ListReadinessChecksRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListReadinessChecksResponse) => void): Request; /** - * Returns a collection of Readiness Checks. + * Lists the readiness checks for an account. */ listReadinessChecks(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListReadinessChecksResponse) => void): Request; /** - * Returns a collection of Recovery Groups. + * Lists the recovery groups in an account. */ listRecoveryGroups(params: Route53RecoveryReadiness.Types.ListRecoveryGroupsRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListRecoveryGroupsResponse) => void): Request; /** - * Returns a collection of Recovery Groups. + * Lists the recovery groups in an account. */ listRecoveryGroups(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListRecoveryGroupsResponse) => void): Request; /** - * Returns a collection of Resource Sets. + * Lists the resource sets in an account. */ listResourceSets(params: Route53RecoveryReadiness.Types.ListResourceSetsRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListResourceSetsResponse) => void): Request; /** - * Returns a collection of Resource Sets. + * Lists the resource sets in an account. */ listResourceSets(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListResourceSetsResponse) => void): Request; /** - * Returns a collection of rules that are applied as part of Readiness Checks. + * Lists all readiness rules, or lists the readiness rules for a specific resource type. */ listRules(params: Route53RecoveryReadiness.Types.ListRulesRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListRulesResponse) => void): Request; /** - * Returns a collection of rules that are applied as part of Readiness Checks. + * Lists all readiness rules, or lists the readiness rules for a specific resource type. */ listRules(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListRulesResponse) => void): Request; /** - * Returns a list of the tags assigned to the specified resource. + * Lists the tags for a resource. */ listTagsForResources(params: Route53RecoveryReadiness.Types.ListTagsForResourcesRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListTagsForResourcesResponse) => void): Request; /** - * Returns a list of the tags assigned to the specified resource. + * Lists the tags for a resource. */ listTagsForResources(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.ListTagsForResourcesResponse) => void): Request; /** - * Adds tags to the specified resource. You can specify one or more tags to add. + * Adds a tag to a resource. */ tagResource(params: Route53RecoveryReadiness.Types.TagResourceRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.TagResourceResponse) => void): Request; /** - * Adds tags to the specified resource. You can specify one or more tags to add. + * Adds a tag to a resource. */ tagResource(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.TagResourceResponse) => void): Request; /** - * Removes tags from the specified resource. You can specify one or more tags to remove. + * Removes a tag from a resource. */ untagResource(params: Route53RecoveryReadiness.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Removes tags from the specified resource. You can specify one or more tags to remove. + * Removes a tag from a resource. */ untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Updates an existing Cell. + * Updates a cell to replace the list of nested cells with a new list of nested cells. */ updateCell(params: Route53RecoveryReadiness.Types.UpdateCellRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.UpdateCellResponse) => void): Request; /** - * Updates an existing Cell. + * Updates a cell to replace the list of nested cells with a new list of nested cells. */ updateCell(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.UpdateCellResponse) => void): Request; /** - * Updates an exisiting Readiness Check. + * Updates a readiness check. */ updateReadinessCheck(params: Route53RecoveryReadiness.Types.UpdateReadinessCheckRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.UpdateReadinessCheckResponse) => void): Request; /** - * Updates an exisiting Readiness Check. + * Updates a readiness check. */ updateReadinessCheck(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.UpdateReadinessCheckResponse) => void): Request; /** - * Updates an existing Recovery Group. + * Updates a recovery group. */ updateRecoveryGroup(params: Route53RecoveryReadiness.Types.UpdateRecoveryGroupRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.UpdateRecoveryGroupResponse) => void): Request; /** - * Updates an existing Recovery Group. + * Updates a recovery group. */ updateRecoveryGroup(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.UpdateRecoveryGroupResponse) => void): Request; /** - * Updates an existing Resource Set. + * Updates a resource set. */ updateResourceSet(params: Route53RecoveryReadiness.Types.UpdateResourceSetRequest, callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.UpdateResourceSetResponse) => void): Request; /** - * Updates an existing Resource Set. + * Updates a resource set. */ updateResourceSet(callback?: (err: AWSError, data: Route53RecoveryReadiness.Types.UpdateResourceSetResponse) => void): Request; } declare namespace Route53RecoveryReadiness { export interface CellOutput { /** - * The arn for the Cell + * The Amazon Resource Name (ARN) for the cell. */ CellArn: __stringMax256; /** - * The name of the Cell + * The name of the cell. */ CellName: __stringMax64PatternAAZAZ09Z; /** - * A list of Cell arns + * A list of cell ARNs. */ Cells: __listOf__string; /** - * A list of Cell ARNs and/or RecoveryGroup ARNs + * The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element. */ ParentReadinessScopes: __listOf__string; + /** + * Tags on the resources. + */ Tags?: Tags; } export interface CreateCellRequest { /** - * The name of the Cell to create + * The name of the cell to create. */ CellName: __string; /** - * A list of Cell arns contained within this Cell (for use in nested Cells, e.g. regions within which AZs) + * A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Amazon Web Services Regions. */ Cells?: __listOf__string; Tags?: Tags; } export interface CreateCellResponse { /** - * The arn for the Cell + * The Amazon Resource Name (ARN) for the cell. */ CellArn?: __stringMax256; /** - * The name of the Cell + * The name of the cell. */ CellName?: __stringMax64PatternAAZAZ09Z; /** - * A list of Cell arns + * A list of cell ARNs. */ Cells?: __listOf__string; /** - * A list of Cell ARNs and/or RecoveryGroup ARNs + * The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element. */ ParentReadinessScopes?: __listOf__string; + /** + * Tags on the resources. + */ Tags?: Tags; } export interface CreateCrossAccountAuthorizationRequest { /** - * The cross account authorization + * The cross-account authorization. */ CrossAccountAuthorization: CrossAccountAuthorization; } export interface CreateCrossAccountAuthorizationResponse { /** - * The cross account authorization + * The cross-account authorization. */ CrossAccountAuthorization?: CrossAccountAuthorization; } export interface CreateReadinessCheckRequest { /** - * The name of the ReadinessCheck to create + * The name of the readiness check to create. */ ReadinessCheckName: __string; /** - * The name of the ResourceSet to check + * The name of the resource set to check. */ ResourceSetName: __string; Tags?: Tags; } export interface CreateReadinessCheckResponse { /** - * Arn associated with ReadinessCheck + * The Amazon Resource Name (ARN) associated with a readiness check. */ ReadinessCheckArn?: __stringMax256; /** - * Name for a ReadinessCheck + * Name of a readiness check. */ ReadinessCheckName?: __stringMax64PatternAAZAZ09Z; /** - * Name of the ResourceSet to be checked + * Name of the resource set to be checked. */ ResourceSet?: __stringMax64PatternAAZAZ09Z; Tags?: Tags; } export interface CreateRecoveryGroupRequest { /** - * A list of Cell arns + * A list of the cell Amazon Resource Names (ARNs) in the recovery group. */ Cells?: __listOf__string; /** - * The name of the RecoveryGroup to create + * The name of the recovery group to create. */ RecoveryGroupName: __string; Tags?: Tags; } export interface CreateRecoveryGroupResponse { /** - * A list of Cell arns + * A list of a cell's Amazon Resource Names (ARNs). */ Cells?: __listOf__string; /** - * The arn for the RecoveryGroup + * The Amazon Resource Name (ARN) for the recovery group. */ RecoveryGroupArn?: __stringMax256; /** - * The name of the RecoveryGroup + * The name of the recovery group. */ RecoveryGroupName?: __stringMax64PatternAAZAZ09Z; + /** + * The tags associated with the recovery group. + */ Tags?: Tags; } export interface CreateResourceSetRequest { /** - * The name of the ResourceSet to create + * The name of the resource set to create. */ ResourceSetName: __string; /** - * AWS Resource type of the resources in the ResourceSet + * The resource type of the resources in the resource set. Enter one of the following values for resource type: AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource */ ResourceSetType: __stringPatternAWSAZaZ09AZaZ09; /** - * A list of Resource objects + * A list of resource objects in the resource set. */ Resources: __listOfResource; + /** + * A tag to associate with the parameters for a resource set. + */ Tags?: Tags; } export interface CreateResourceSetResponse { /** - * The arn for the ResourceSet + * The Amazon Resource Name (ARN) for the resource set. */ ResourceSetArn?: __stringMax256; /** - * The name of the ResourceSet + * The name of the resource set. */ ResourceSetName?: __stringMax64PatternAAZAZ09Z; /** - * AWS Resource Type of the resources in the ResourceSet + * The resource type of the resources in the resource set. Enter one of the following values for resource type: AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource */ ResourceSetType?: __stringPatternAWSAZaZ09AZaZ09; /** - * A list of Resource objects + * A list of resource objects. */ Resources?: __listOfResource; Tags?: Tags; @@ -419,32 +431,35 @@ declare namespace Route53RecoveryReadiness { export type CrossAccountAuthorization = string; export interface DNSTargetResource { /** - * The DNS Name that acts as ingress point to a portion of application + * The domain name that acts as an ingress point to a portion of the customer application. */ DomainName?: __string; /** - * The Hosted Zone ARN that contains the DNS record with the provided name of target resource. + * The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource. */ HostedZoneArn?: __string; /** - * The R53 Set Id to uniquely identify a record given a Name and a Type + * The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type. */ RecordSetId?: __string; /** - * The Type of DNS Record of target resource + * The type of DNS record of the target resource. */ RecordType?: __string; + /** + * The target resource of the DNS target resource. + */ TargetResource?: TargetResource; } export interface DeleteCellRequest { /** - * The Cell to delete + * The name of the cell. */ CellName: __string; } export interface DeleteCrossAccountAuthorizationRequest { /** - * The cross account authorization + * The cross-account authorization. */ CrossAccountAuthorization: __string; } @@ -452,167 +467,170 @@ declare namespace Route53RecoveryReadiness { } export interface DeleteReadinessCheckRequest { /** - * The ReadinessCheck to delete + * Name of a readiness check. */ ReadinessCheckName: __string; } export interface DeleteRecoveryGroupRequest { /** - * The RecoveryGroup to delete + * The name of a recovery group. */ RecoveryGroupName: __string; } export interface DeleteResourceSetRequest { /** - * The ResourceSet to delete + * Name of a resource set. */ ResourceSetName: __string; } export interface GetArchitectureRecommendationsRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * Name of RecoveryGroup (top level resource) to be analyzed. + * The name of a recovery group. */ RecoveryGroupName: __string; } export interface GetArchitectureRecommendationsResponse { /** - * The time a Recovery Group was last assessed for recommendations in UTC ISO-8601 format. + * The time that a recovery group was last assessed for recommendations, in UTC ISO-8601 format. */ LastAuditTimestamp?: LastAuditTimestamp; /** - * A token that can be used to resume pagination from the end of the collection + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * A list of recommendations for the customer's application + * A list of the recommendations for the customer's application. */ Recommendations?: __listOfRecommendation; } export interface GetCellReadinessSummaryRequest { /** - * The name of the Cell + * The name of the cell. */ CellName: __string; /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; } export interface GetCellReadinessSummaryResponse { /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * The readiness at Cell level. + * The readiness at a cell level. */ Readiness?: Readiness; /** - * Summaries for the ReadinessChecks making up the Cell + * Summaries for the readiness checks that make up the cell. */ ReadinessChecks?: __listOfReadinessCheckSummary; } export interface GetCellRequest { /** - * The Cell to get + * The name of the cell. */ CellName: __string; } export interface GetCellResponse { /** - * The arn for the Cell + * The Amazon Resource Name (ARN) for the cell. */ CellArn?: __stringMax256; /** - * The name of the Cell + * The name of the cell. */ CellName?: __stringMax64PatternAAZAZ09Z; /** - * A list of Cell arns + * A list of cell ARNs. */ Cells?: __listOf__string; /** - * A list of Cell ARNs and/or RecoveryGroup ARNs + * The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element. */ ParentReadinessScopes?: __listOf__string; + /** + * Tags on the resources. + */ Tags?: Tags; } export interface GetReadinessCheckRequest { /** - * The ReadinessCheck to get + * Name of a readiness check. */ ReadinessCheckName: __string; } export interface GetReadinessCheckResourceStatusRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * The ReadinessCheck to get + * Name of a readiness check. */ ReadinessCheckName: __string; /** - * The resource ARN or component Id to get + * The resource identifier, which is the Amazon Resource Name (ARN) or the identifier generated for the resource by Application Recovery Controller (for example, for a DNS target resource). */ ResourceIdentifier: __string; } export interface GetReadinessCheckResourceStatusResponse { /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * The readiness at rule level. + * The readiness at a rule level. */ Readiness?: Readiness; /** - * Details of the rules's results + * Details of the rule's results. */ Rules?: __listOfRuleResult; } export interface GetReadinessCheckResponse { /** - * Arn associated with ReadinessCheck + * The Amazon Resource Name (ARN) associated with a readiness check. */ ReadinessCheckArn?: __stringMax256; /** - * Name for a ReadinessCheck + * Name of a readiness check. */ ReadinessCheckName?: __stringMax64PatternAAZAZ09Z; /** - * Name of the ResourceSet to be checked + * Name of the resource set to be checked. */ ResourceSet?: __stringMax64PatternAAZAZ09Z; Tags?: Tags; } export interface GetReadinessCheckStatusRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * The ReadinessCheck to get + * Name of a readiness check. */ ReadinessCheckName: __string; } @@ -622,7 +640,7 @@ declare namespace Route53RecoveryReadiness { */ Messages?: __listOfMessage; /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** @@ -630,80 +648,83 @@ declare namespace Route53RecoveryReadiness { */ Readiness?: Readiness; /** - * Summary of resources's readiness + * Summary of the readiness of resources. */ Resources?: __listOfResourceResult; } export interface GetRecoveryGroupReadinessSummaryRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * The name of the RecoveryGroup + * The name of a recovery group. */ RecoveryGroupName: __string; } export interface GetRecoveryGroupReadinessSummaryResponse { /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * The readiness at RecoveryGroup level. + * The readiness status at a recovery group level. */ Readiness?: Readiness; /** - * Summaries for the ReadinessChecks making up the RecoveryGroup + * Summaries of the readiness checks for the recovery group. */ ReadinessChecks?: __listOfReadinessCheckSummary; } export interface GetRecoveryGroupRequest { /** - * The RecoveryGroup to get + * The name of a recovery group. */ RecoveryGroupName: __string; } export interface GetRecoveryGroupResponse { /** - * A list of Cell arns + * A list of a cell's Amazon Resource Names (ARNs). */ Cells?: __listOf__string; /** - * The arn for the RecoveryGroup + * The Amazon Resource Name (ARN) for the recovery group. */ RecoveryGroupArn?: __stringMax256; /** - * The name of the RecoveryGroup + * The name of the recovery group. */ RecoveryGroupName?: __stringMax64PatternAAZAZ09Z; + /** + * The tags associated with the recovery group. + */ Tags?: Tags; } export interface GetResourceSetRequest { /** - * The ResourceSet to get + * Name of a resource set. */ ResourceSetName: __string; } export interface GetResourceSetResponse { /** - * The arn for the ResourceSet + * The Amazon Resource Name (ARN) for the resource set. */ ResourceSetArn?: __stringMax256; /** - * The name of the ResourceSet + * The name of the resource set. */ ResourceSetName?: __stringMax64PatternAAZAZ09Z; /** - * AWS Resource Type of the resources in the ResourceSet + * The resource type of the resources in the resource set. Enter one of the following values for resource type: AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource */ ResourceSetType?: __stringPatternAWSAZaZ09AZaZ09; /** - * A list of Resource objects + * A list of resource objects. */ Resources?: __listOfResource; Tags?: Tags; @@ -711,270 +732,279 @@ declare namespace Route53RecoveryReadiness { export type LastAuditTimestamp = Date; export interface ListCellsRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; } export interface ListCellsResponse { /** - * A list of Cells + * A list of cells. */ Cells?: __listOfCellOutput; /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; } export interface ListCrossAccountAuthorizationsRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; } export interface ListCrossAccountAuthorizationsResponse { /** - * A list of CrossAccountAuthorizations + * A list of cross-account authorizations. */ CrossAccountAuthorizations?: __listOfCrossAccountAuthorization; /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; } export interface ListReadinessChecksRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; } export interface ListReadinessChecksResponse { /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * A list of ReadinessCheck associated with the account + * A list of readiness checks associated with the account. */ ReadinessChecks?: __listOfReadinessCheckOutput; } export interface ListRecoveryGroupsRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; } export interface ListRecoveryGroupsResponse { /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * A list of RecoveryGroups + * A list of recovery groups. */ RecoveryGroups?: __listOfRecoveryGroupOutput; } export interface ListResourceSetsRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; } export interface ListResourceSetsResponse { /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * A list of ResourceSets associated with the account + * A list of resource sets associated with the account. */ ResourceSets?: __listOfResourceSetOutput; } export interface ListRulesOutput { /** - * The resource type the rule applies to. + * The resource type that the readiness rule applies to. */ ResourceType: __stringMax64; /** - * A description of the rule + * The description of a readiness rule. */ RuleDescription: __stringMax256; /** - * The Rule's ID. + * The ID for the readiness rule. */ RuleId: __stringMax64; } export interface ListRulesRequest { /** - * Upper bound on number of records to return. + * The number of objects that you want to return with this call. */ MaxResults?: MaxResults; /** - * A token used to resume pagination from the end of a previous request. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * Filter parameter which specifies the rules to return given a resource type. + * The resource type that a readiness rule applies to. */ ResourceType?: __string; } export interface ListRulesResponse { /** - * A token that can be used to resume pagination from the end of the collection. + * The token that identifies which batch of results you want to see. */ NextToken?: __string; /** - * A list of rules + * A list of readiness rules for a specific resource type. */ Rules?: __listOfListRulesOutput; } export interface ListTagsForResourcesRequest { /** - * The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource. + * The Amazon Resource Name (ARN) for a resource. */ ResourceArn: __string; } export interface ListTagsForResourcesResponse { + /** + * + */ Tags?: Tags; } export type MaxResults = number; export interface Message { /** - * The text of a readiness check message + * The text of a readiness check message. */ MessageText?: __string; } export interface NLBResource { /** - * An NLB resource arn + * The Network Load Balancer resource Amazon Resource Name (ARN). */ Arn?: __string; } export interface R53ResourceRecord { /** - * The DNS target name + * The DNS target domain name. */ DomainName?: __string; /** - * The Resource Record set id + * The Route 53 Resource Record Set ID. */ RecordSetId?: __string; } export type Readiness = "READY"|"NOT_READY"|"UNKNOWN"|"NOT_AUTHORIZED"|string; export interface ReadinessCheckOutput { /** - * Arn associated with ReadinessCheck + * The Amazon Resource Name (ARN) associated with a readiness check. */ ReadinessCheckArn: __stringMax256; /** - * Name for a ReadinessCheck + * Name of a readiness check. */ ReadinessCheckName?: __stringMax64PatternAAZAZ09Z; /** - * Name of the ResourceSet to be checked + * Name of the resource set to be checked. */ ResourceSet: __stringMax64PatternAAZAZ09Z; Tags?: Tags; } export interface ReadinessCheckSummary { /** - * The readiness of this ReadinessCheck + * The readiness status of this readiness check. */ Readiness?: Readiness; /** - * The name of a ReadinessCheck which is part of the given RecoveryGroup or Cell + * The name of a readiness check. */ ReadinessCheckName?: __string; } export type ReadinessCheckTimestamp = Date; export interface Recommendation { /** - * Guidance text for recommendation + * Text of the recommendations that are provided to make an application more recovery resilient. */ RecommendationText: __string; } export interface RecoveryGroupOutput { /** - * A list of Cell arns + * A list of a cell's Amazon Resource Names (ARNs). */ Cells: __listOf__string; /** - * The arn for the RecoveryGroup + * The Amazon Resource Name (ARN) for the recovery group. */ RecoveryGroupArn: __stringMax256; /** - * The name of the RecoveryGroup + * The name of the recovery group. */ RecoveryGroupName: __stringMax64PatternAAZAZ09Z; + /** + * The tags associated with the recovery group. + */ Tags?: Tags; } export interface Resource { /** - * The component id of the resource, generated by the service when dnsTargetResource is used + * The component identifier of the resource, generated when DNS target resource is used. */ ComponentId?: __string; + /** + * The DNS target resource. + */ DnsTargetResource?: DNSTargetResource; /** - * A list of RecoveryGroup ARNs and/or Cell ARNs that this resource is contained within. + * A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within. */ ReadinessScopes?: __listOf__string; /** - * The ARN of the AWS resource, can be skipped if dnsTargetResource is used + * The Amazon Resource Name (ARN) of the Amazon Web Services resource. */ ResourceArn?: __string; } export interface ResourceResult { /** - * The component id of the resource + * The component id of the resource. */ ComponentId?: __string; /** - * The time the resource was last checked for readiness, in ISO-8601 format, UTC. + * The time (UTC) that the resource was last checked for readiness, in ISO-8601 format. */ LastCheckedTimestamp: ReadinessCheckTimestamp; /** - * The readiness of the resource. + * The readiness of a resource. */ Readiness: Readiness; /** - * The ARN of the resource + * The Amazon Resource Name (ARN) of the resource. */ ResourceArn?: __string; } export interface ResourceSetOutput { /** - * The arn for the ResourceSet + * The Amazon Resource Name (ARN) for the resource set. */ ResourceSetArn: __stringMax256; /** - * The name of the ResourceSet + * The name of the resource set. */ ResourceSetName: __stringMax64PatternAAZAZ09Z; /** - * AWS Resource Type of the resources in the ResourceSet + * The resource type of the resources in the resource set. Enter one of the following values for resource type: AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource */ ResourceSetType: __stringPatternAWSAZaZ09AZaZ09; /** - * A list of Resource objects + * A list of resource objects. */ Resources: __listOfResource; Tags?: Tags; @@ -985,7 +1015,7 @@ declare namespace Route53RecoveryReadiness { */ LastCheckedTimestamp: ReadinessCheckTimestamp; /** - * Details about the resource's readiness + * Details about the resource's readiness. */ Messages: __listOfMessage; /** @@ -999,136 +1029,151 @@ declare namespace Route53RecoveryReadiness { } export interface TagResourceRequest { /** - * The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource. + * The Amazon Resource Name (ARN) for a resource. */ ResourceArn: __string; + /** + * + */ Tags: Tags; } export interface TagResourceResponse { } export type Tags = {[key: string]: __string}; export interface TargetResource { + /** + * The Network Load Balancer Resource. + */ NLBResource?: NLBResource; + /** + * The Route 53 resource. + */ R53Resource?: R53ResourceRecord; } export interface UntagResourceRequest { /** - * The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource. + * The Amazon Resource Name (ARN) for a resource. */ ResourceArn: __string; /** - * A comma-separated list of the tag keys to remove from the resource. + * The keys for tags you add to resources. */ TagKeys: __listOf__string; } export interface UpdateCellRequest { /** - * The Cell to update + * The name of the cell. */ CellName: __string; /** - * A list of Cell arns, completely replaces previous list + * A list of cell Amazon Resource Names (ARNs), which completely replaces the previous list. */ Cells: __listOf__string; } export interface UpdateCellResponse { /** - * The arn for the Cell + * The Amazon Resource Name (ARN) for the cell. */ CellArn?: __stringMax256; /** - * The name of the Cell + * The name of the cell. */ CellName?: __stringMax64PatternAAZAZ09Z; /** - * A list of Cell arns + * A list of cell ARNs. */ Cells?: __listOf__string; /** - * A list of Cell ARNs and/or RecoveryGroup ARNs + * The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element. */ ParentReadinessScopes?: __listOf__string; + /** + * Tags on the resources. + */ Tags?: Tags; } export interface UpdateReadinessCheckRequest { /** - * The ReadinessCheck to update + * Name of a readiness check. */ ReadinessCheckName: __string; /** - * The name of the ResourceSet to check + * The name of the resource set to be checked. */ ResourceSetName: __string; } export interface UpdateReadinessCheckResponse { /** - * Arn associated with ReadinessCheck + * The Amazon Resource Name (ARN) associated with a readiness check. */ ReadinessCheckArn?: __stringMax256; /** - * Name for a ReadinessCheck + * Name of a readiness check. */ ReadinessCheckName?: __stringMax64PatternAAZAZ09Z; /** - * Name of the ResourceSet to be checked + * Name of the resource set to be checked. */ ResourceSet?: __stringMax64PatternAAZAZ09Z; Tags?: Tags; } export interface UpdateRecoveryGroupRequest { /** - * A list of Cell arns, completely replaces previous list + * A list of cell Amazon Resource Names (ARNs). This list completely replaces the previous list. */ Cells: __listOf__string; /** - * The RecoveryGroup to update + * The name of a recovery group. */ RecoveryGroupName: __string; } export interface UpdateRecoveryGroupResponse { /** - * A list of Cell arns + * A list of a cell's Amazon Resource Names (ARNs). */ Cells?: __listOf__string; /** - * The arn for the RecoveryGroup + * The Amazon Resource Name (ARN) for the recovery group. */ RecoveryGroupArn?: __stringMax256; /** - * The name of the RecoveryGroup + * The name of the recovery group. */ RecoveryGroupName?: __stringMax64PatternAAZAZ09Z; + /** + * The tags associated with the recovery group. + */ Tags?: Tags; } export interface UpdateResourceSetRequest { /** - * The ResourceSet to update + * Name of a resource set. */ ResourceSetName: __string; /** - * AWS Resource Type of the resources in the ResourceSet + * The resource type of the resources in the resource set. Enter one of the following values for resource type: AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource */ ResourceSetType: __stringPatternAWSAZaZ09AZaZ09; /** - * A list of Resource objects + * A list of resource objects. */ Resources: __listOfResource; } export interface UpdateResourceSetResponse { /** - * The arn for the ResourceSet + * The Amazon Resource Name (ARN) for the resource set. */ ResourceSetArn?: __stringMax256; /** - * The name of the ResourceSet + * The name of the resource set. */ ResourceSetName?: __stringMax64PatternAAZAZ09Z; /** - * AWS Resource Type of the resources in the ResourceSet + * The resource type of the resources in the resource set. Enter one of the following values for resource type: AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource */ ResourceSetType?: __stringPatternAWSAZaZ09AZaZ09; /** - * A list of Resource objects + * A list of resource objects. */ Resources?: __listOfResource; Tags?: Tags; diff --git a/node_modules/aws-sdk/clients/s3control.d.ts b/node_modules/aws-sdk/clients/s3control.d.ts index 22467d857..00d39993f 100644 --- a/node_modules/aws-sdk/clients/s3control.d.ts +++ b/node_modules/aws-sdk/clients/s3control.d.ts @@ -325,11 +325,11 @@ declare class S3Control extends Service { */ listAccessPoints(callback?: (err: AWSError, data: S3Control.Types.ListAccessPointsResult) => void): Request; /** - * Returns a list of the access points associated with the Object Lambda Access Point. You can retrieve up to 1000 access points per call. If there are more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points. The following actions are related to ListAccessPointsForObjectLambda: CreateAccessPointForObjectLambda DeleteAccessPointForObjectLambda GetAccessPointForObjectLambda + * Returns some or all (up to 1,000) access points associated with the Object Lambda Access Point per call. If there are more access points than what can be returned in one call, the response will include a continuation token that you can use to list the additional access points. The following actions are related to ListAccessPointsForObjectLambda: CreateAccessPointForObjectLambda DeleteAccessPointForObjectLambda GetAccessPointForObjectLambda */ listAccessPointsForObjectLambda(params: S3Control.Types.ListAccessPointsForObjectLambdaRequest, callback?: (err: AWSError, data: S3Control.Types.ListAccessPointsForObjectLambdaResult) => void): Request; /** - * Returns a list of the access points associated with the Object Lambda Access Point. You can retrieve up to 1000 access points per call. If there are more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points. The following actions are related to ListAccessPointsForObjectLambda: CreateAccessPointForObjectLambda DeleteAccessPointForObjectLambda GetAccessPointForObjectLambda + * Returns some or all (up to 1,000) access points associated with the Object Lambda Access Point per call. If there are more access points than what can be returned in one call, the response will include a continuation token that you can use to list the additional access points. The following actions are related to ListAccessPointsForObjectLambda: CreateAccessPointForObjectLambda DeleteAccessPointForObjectLambda GetAccessPointForObjectLambda */ listAccessPointsForObjectLambda(callback?: (err: AWSError, data: S3Control.Types.ListAccessPointsForObjectLambdaResult) => void): Request; /** @@ -429,11 +429,11 @@ declare class S3Control extends Service { */ putMultiRegionAccessPointPolicy(callback?: (err: AWSError, data: S3Control.Types.PutMultiRegionAccessPointPolicyResult) => void): Request; /** - * Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock + * Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For this operation, users must have the s3:PutBucketPublicAccessBlock permission. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock */ putPublicAccessBlock(params: S3Control.Types.PutPublicAccessBlockRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock + * Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For this operation, users must have the s3:PutBucketPublicAccessBlock permission. For more information, see Using Amazon S3 block public access. Related actions include: GetPublicAccessBlock DeletePublicAccessBlock */ putPublicAccessBlock(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -765,7 +765,7 @@ declare namespace S3Control { /** * Configuration parameters for the manifest. */ - Manifest: JobManifest; + Manifest?: JobManifest; /** * A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs. */ @@ -782,6 +782,10 @@ declare namespace S3Control { * A set of tags to associate with the S3 Batch Operations job. This is an optional parameter. */ Tags?: S3TagSet; + /** + * The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both. + */ + ManifestGenerator?: JobManifestGenerator; } export interface CreateJobResult { /** @@ -1024,6 +1028,17 @@ declare namespace S3Control { export type ExpiredObjectDeleteMarker = boolean; export type Format = "CSV"|"Parquet"|string; export type FunctionArnString = string; + export interface GeneratedManifestEncryption { + /** + * Specifies the use of SSE-S3 to encrypt generated manifest objects. + */ + SSES3?: SSES3Encryption; + /** + * Configuration details on how SSE-KMS is used to encrypt generated manifest objects. + */ + SSEKMS?: SSEKMSEncryption; + } + export type GeneratedManifestFormat = "S3InventoryReport_CSV_20211130"|string; export interface GetAccessPointConfigurationForObjectLambdaRequest { /** * The account ID for the account that owns the specified Object Lambda Access Point. @@ -1437,6 +1452,14 @@ declare namespace S3Control { * The reason why the specified job was suspended. A job is only suspended if you create it through the Amazon S3 console. When you create the job, it enters the Suspended state to await confirmation before running. After you confirm the job, it automatically exits the Suspended state. */ SuspendedCause?: SuspendedCause; + /** + * The manifest generator that was used to generate a job manifest for this job. + */ + ManifestGenerator?: JobManifestGenerator; + /** + * The attribute of the JobDescriptor containing details about the job's generated manifest. + */ + GeneratedManifestDescriptor?: S3GeneratedManifestDescriptor; } export interface JobFailure { /** @@ -1500,6 +1523,30 @@ declare namespace S3Control { export type JobManifestFieldList = JobManifestFieldName[]; export type JobManifestFieldName = "Ignore"|"Bucket"|"Key"|"VersionId"|string; export type JobManifestFormat = "S3BatchOperations_CSV_20180820"|"S3InventoryReport_CSV_20161130"|string; + export interface JobManifestGenerator { + /** + * The S3 job ManifestGenerator's configuration details. + */ + S3JobManifestGenerator?: S3JobManifestGenerator; + } + export interface JobManifestGeneratorFilter { + /** + * Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket. + */ + EligibleForReplication?: Boolean; + /** + * If provided, the generated manifest should include only source bucket objects that were created after this time. + */ + CreatedAfter?: ObjectCreationTime; + /** + * If provided, the generated manifest should include only source bucket objects that were created before this time. + */ + CreatedBefore?: ObjectCreationTime; + /** + * If provided, the generated manifest should include only source bucket objects that have one of the specified Replication statuses. + */ + ObjectReplicationStatuses?: ReplicationStatusFilterList; + } export interface JobManifestLocation { /** * The Amazon Resource Name (ARN) for a manifest object. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints. @@ -1553,6 +1600,10 @@ declare namespace S3Control { S3InitiateRestoreObject?: S3InitiateRestoreObjectOperation; S3PutObjectLegalHold?: S3SetObjectLegalHoldOperation; S3PutObjectRetention?: S3SetObjectRetentionOperation; + /** + * Directs the specified job to invoke ReplicateObject on every object in the job's manifest. + */ + S3ReplicateObject?: S3ReplicateObjectOperation; } export type JobPriority = number; export interface JobProgressSummary { @@ -1568,6 +1619,10 @@ declare namespace S3Control { * */ NumberOfTasksFailed?: JobNumberOfTasksFailed; + /** + * The JobTimers attribute of a job's progress summary. + */ + Timers?: JobTimers; } export interface JobReport { /** @@ -1597,6 +1652,13 @@ declare namespace S3Control { export type JobStatusList = JobStatus[]; export type JobStatusUpdateReason = string; export type JobTerminationDate = Date; + export type JobTimeInStateSeconds = number; + export interface JobTimers { + /** + * Indicates the elapsed time in seconds the job has been in the Active job state. + */ + ElapsedTimeInActiveSeconds?: JobTimeInStateSeconds; + } export type JobTotalNumberOfTasks = number; export type KmsKeyArnString = string; export interface LambdaInvokeOperation { @@ -1691,7 +1753,7 @@ declare namespace S3Control { */ NextToken?: NonEmptyMaxLength1024String; /** - * The maximum number of access points that you want to include in the list. If there are more than this number of access points, then the response will include a continuation token in the NextToken field that you can use to retrieve the next page of access points. + * The maximum number of access points that you want to include in the list. The response may contain fewer access points but will never contain more. If there are more than this number of access points, then the response will include a continuation token in the NextToken field that you can use to retrieve the next page of access points. */ MaxResults?: MaxResults; } @@ -1852,6 +1914,7 @@ declare namespace S3Control { StorageLensConfigurationList?: StorageLensConfigurationList; } export type Location = string; + export type ManifestPrefixString = string; export type MaxLength1024String = string; export type MaxResults = number; export type MinStorageBytesPercentage = number; @@ -1932,6 +1995,7 @@ declare namespace S3Control { StorageClass?: TransitionStorageClass; } export type NoncurrentVersionTransitionList = NoncurrentVersionTransition[]; + export type ObjectCreationTime = Date; export interface ObjectLambdaAccessPoint { /** * The name of the Object Lambda Access Point. @@ -1987,7 +2051,7 @@ declare namespace S3Control { export type ObjectLambdaTransformationConfigurationActionsList = ObjectLambdaTransformationConfigurationAction[]; export type ObjectLambdaTransformationConfigurationsList = ObjectLambdaTransformationConfiguration[]; export type ObjectLockEnabledForBucket = boolean; - export type OperationName = "LambdaInvoke"|"S3PutObjectCopy"|"S3PutObjectAcl"|"S3PutObjectTagging"|"S3DeleteObjectTagging"|"S3InitiateRestoreObject"|"S3PutObjectLegalHold"|"S3PutObjectRetention"|string; + export type OperationName = "LambdaInvoke"|"S3PutObjectCopy"|"S3PutObjectAcl"|"S3PutObjectTagging"|"S3DeleteObjectTagging"|"S3InitiateRestoreObject"|"S3PutObjectLegalHold"|"S3PutObjectRetention"|"S3ReplicateObject"|string; export type OutputSchemaVersion = "V_1"|string; export type Policy = string; export interface PolicyStatus { @@ -2256,6 +2320,8 @@ declare namespace S3Control { } export type RegionalBucketList = RegionalBucket[]; export type Regions = S3AWSRegion[]; + export type ReplicationStatus = "COMPLETED"|"FAILED"|"REPLICA"|"NONE"|string; + export type ReplicationStatusFilterList = ReplicationStatus[]; export type ReportPrefixString = string; export type RequestedJobStatus = "Cancelled"|"Ready"|string; export type S3AWSRegion = string; @@ -2331,7 +2397,7 @@ declare namespace S3Control { */ ModifiedSinceConstraint?: TimeStamp; /** - * + * If you don't provide this parameter, Amazon S3 copies all the metadata from the original objects. If you specify an empty set, the new objects will have no tags. Otherwise, Amazon S3 assigns the supplied tags to the new objects. */ NewObjectMetadata?: S3ObjectMetadata; /** @@ -2382,6 +2448,13 @@ declare namespace S3Control { export interface S3DeleteObjectTaggingOperation { } export type S3ExpirationInDays = number; + export interface S3GeneratedManifestDescriptor { + /** + * The format of the generated manifest. + */ + Format?: GeneratedManifestFormat; + Location?: JobManifestLocation; + } export type S3GlacierJobTier = "BULK"|"STANDARD"|string; export interface S3Grant { /** @@ -2411,7 +2484,7 @@ declare namespace S3Control { export type S3GranteeTypeIdentifier = "id"|"emailAddress"|"uri"|string; export interface S3InitiateRestoreObjectOperation { /** - * This argument specifies how long the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive object remains available in Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive objects require ExpirationInDays set to 1 or greater. Conversely, do not set ExpirationInDays when creating S3 Initiate Restore Object jobs that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying ExpirationInDays results in restore request failure. S3 Batch Operations jobs can operate either on S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs. + * This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects require ExpirationInDays set to 1 or greater. Conversely, do not set ExpirationInDays when creating S3 Initiate Restore Object jobs that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying ExpirationInDays results in restore request failure. S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs. */ ExpirationInDays?: S3ExpirationInDays; /** @@ -2419,7 +2492,51 @@ declare namespace S3Control { */ GlacierJobTier?: S3GlacierJobTier; } + export interface S3JobManifestGenerator { + /** + * The Amazon Web Services account ID that owns the bucket the generated manifest is written to. If provided the generated manifest bucket's owner Amazon Web Services account ID must match this value, else the job fails. + */ + ExpectedBucketOwner?: AccountId; + /** + * The source bucket used by the ManifestGenerator. + */ + SourceBucket: S3BucketArnString; + /** + * Specifies the location the generated manifest will be written to. + */ + ManifestOutputLocation?: S3ManifestOutputLocation; + /** + * Specifies rules the S3JobManifestGenerator should use to use to decide whether an object in the source bucket should or should not be included in the generated job manifest. + */ + Filter?: JobManifestGeneratorFilter; + /** + * Determines whether or not to write the job's generated manifest to a bucket. + */ + EnableManifestOutput: Boolean; + } export type S3KeyArnString = string; + export interface S3ManifestOutputLocation { + /** + * The Account ID that owns the bucket the generated manifest is written to. + */ + ExpectedManifestBucketOwner?: AccountId; + /** + * The bucket ARN the generated manifest should be written to. + */ + Bucket: S3BucketArnString; + /** + * Prefix identifying one or more objects to which the manifest applies. + */ + ManifestPrefix?: ManifestPrefixString; + /** + * Specifies what encryption should be used when the generated manifest objects are written. + */ + ManifestEncryption?: GeneratedManifestEncryption; + /** + * The format of the generated manifest. + */ + ManifestFormat: GeneratedManifestFormat; + } export type S3MetadataDirective = "COPY"|"REPLACE"|string; export interface S3ObjectLockLegalHold { /** @@ -2489,6 +2606,8 @@ declare namespace S3Control { export type S3ObjectVersionId = string; export type S3Permission = "FULL_CONTROL"|"READ"|"WRITE"|"READ_ACP"|"WRITE_ACP"|string; export type S3RegionalBucketArn = string; + export interface S3ReplicateObjectOperation { + } export interface S3Retention { /** * The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job. @@ -2528,7 +2647,7 @@ declare namespace S3Control { */ TagSet?: S3TagSet; } - export type S3StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"GLACIER"|"INTELLIGENT_TIERING"|"DEEP_ARCHIVE"|string; + export type S3StorageClass = "STANDARD"|"STANDARD_IA"|"ONEZONE_IA"|"GLACIER"|"INTELLIGENT_TIERING"|"DEEP_ARCHIVE"|"GLACIER_IR"|string; export interface S3Tag { /** * @@ -2547,9 +2666,17 @@ declare namespace S3Control { */ KeyId: SSEKMSKeyId; } + export interface SSEKMSEncryption { + /** + * Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key to use for encrypting generated manifest objects. + */ + KeyId: KmsKeyArnString; + } export type SSEKMSKeyId = string; export interface SSES3 { } + export interface SSES3Encryption { + } export interface SelectionCriteria { /** * A container for the delimiter of the selection criteria being used. diff --git a/node_modules/aws-sdk/clients/sagemaker.d.ts b/node_modules/aws-sdk/clients/sagemaker.d.ts index fc859e083..3401d4125 100644 --- a/node_modules/aws-sdk/clients/sagemaker.d.ts +++ b/node_modules/aws-sdk/clients/sagemaker.d.ts @@ -1789,11 +1789,11 @@ declare class SageMaker extends Service { */ stopNotebookInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Stops a pipeline execution. Callback Step A pipeline execution won't stop while a callback step is running. When you call StopPipelineExecution on a pipeline execution with a running callback step, Amazon SageMaker Pipelines sends an additional Amazon SQS message to the specified SQS queue. The body of the SQS message contains a "Status" field which is set to "Stopping". You should add logic to your Amazon SQS message consumer to take any needed action (for example, resource cleanup) upon receipt of the message followed by a call to SendPipelineExecutionStepSuccess or SendPipelineExecutionStepFailure. Only when Amazon SageMaker Pipelines receives one of these calls will it stop the pipeline execution. Lambda Step A pipeline execution can't be stopped while a lambda step is running because the Lambda function invoked by the lambda step can't be stopped. If you attempt to stop the execution while the Lambda function is running, the pipeline waits for the Lambda function to finish or until the timeout is hit, whichever occurs first, and then stops. If the Lambda function finishes, the pipeline execution status is Stopped. If the timeout is hit the pipeline execution status is Failed. + * Stops a pipeline execution. Callback Step A pipeline execution won't stop while a callback step is running. When you call StopPipelineExecution on a pipeline execution with a running callback step, SageMaker Pipelines sends an additional Amazon SQS message to the specified SQS queue. The body of the SQS message contains a "Status" field which is set to "Stopping". You should add logic to your Amazon SQS message consumer to take any needed action (for example, resource cleanup) upon receipt of the message followed by a call to SendPipelineExecutionStepSuccess or SendPipelineExecutionStepFailure. Only when SageMaker Pipelines receives one of these calls will it stop the pipeline execution. Lambda Step A pipeline execution can't be stopped while a lambda step is running because the Lambda function invoked by the lambda step can't be stopped. If you attempt to stop the execution while the Lambda function is running, the pipeline waits for the Lambda function to finish or until the timeout is hit, whichever occurs first, and then stops. If the Lambda function finishes, the pipeline execution status is Stopped. If the timeout is hit the pipeline execution status is Failed. */ stopPipelineExecution(params: SageMaker.Types.StopPipelineExecutionRequest, callback?: (err: AWSError, data: SageMaker.Types.StopPipelineExecutionResponse) => void): Request; /** - * Stops a pipeline execution. Callback Step A pipeline execution won't stop while a callback step is running. When you call StopPipelineExecution on a pipeline execution with a running callback step, Amazon SageMaker Pipelines sends an additional Amazon SQS message to the specified SQS queue. The body of the SQS message contains a "Status" field which is set to "Stopping". You should add logic to your Amazon SQS message consumer to take any needed action (for example, resource cleanup) upon receipt of the message followed by a call to SendPipelineExecutionStepSuccess or SendPipelineExecutionStepFailure. Only when Amazon SageMaker Pipelines receives one of these calls will it stop the pipeline execution. Lambda Step A pipeline execution can't be stopped while a lambda step is running because the Lambda function invoked by the lambda step can't be stopped. If you attempt to stop the execution while the Lambda function is running, the pipeline waits for the Lambda function to finish or until the timeout is hit, whichever occurs first, and then stops. If the Lambda function finishes, the pipeline execution status is Stopped. If the timeout is hit the pipeline execution status is Failed. + * Stops a pipeline execution. Callback Step A pipeline execution won't stop while a callback step is running. When you call StopPipelineExecution on a pipeline execution with a running callback step, SageMaker Pipelines sends an additional Amazon SQS message to the specified SQS queue. The body of the SQS message contains a "Status" field which is set to "Stopping". You should add logic to your Amazon SQS message consumer to take any needed action (for example, resource cleanup) upon receipt of the message followed by a call to SendPipelineExecutionStepSuccess or SendPipelineExecutionStepFailure. Only when SageMaker Pipelines receives one of these calls will it stop the pipeline execution. Lambda Step A pipeline execution can't be stopped while a lambda step is running because the Lambda function invoked by the lambda step can't be stopped. If you attempt to stop the execution while the Lambda function is running, the pipeline waits for the Lambda function to finish or until the timeout is hit, whichever occurs first, and then stops. If the Lambda function finishes, the pipeline execution status is Stopped. If the timeout is hit the pipeline execution status is Failed. */ stopPipelineExecution(callback?: (err: AWSError, data: SageMaker.Types.StopPipelineExecutionResponse) => void): Request; /** @@ -2764,7 +2764,7 @@ declare namespace SageMaker { MetricName: AutoMLMetricEnum; } export type AutoMLJobObjectiveType = "Maximize"|"Minimize"|string; - export type AutoMLJobSecondaryStatus = "Starting"|"AnalyzingData"|"FeatureEngineering"|"ModelTuning"|"MaxCandidatesReached"|"Failed"|"Stopped"|"MaxAutoMLJobRuntimeReached"|"Stopping"|"CandidateDefinitionsGenerated"|"GeneratingExplainabilityReport"|"Completed"|"ExplainabilityError"|"DeployingModel"|"ModelDeploymentError"|string; + export type AutoMLJobSecondaryStatus = "Starting"|"AnalyzingData"|"FeatureEngineering"|"ModelTuning"|"MaxCandidatesReached"|"Failed"|"Stopped"|"MaxAutoMLJobRuntimeReached"|"Stopping"|"CandidateDefinitionsGenerated"|"GeneratingExplainabilityReport"|"Completed"|"ExplainabilityError"|"DeployingModel"|"ModelDeploymentError"|"GeneratingModelInsightsReport"|"ModelInsightsError"|string; export type AutoMLJobStatus = "Completed"|"InProgress"|"Failed"|"Stopped"|"Stopping"|string; export type AutoMLJobSummaries = AutoMLJobSummary[]; export interface AutoMLJobSummary { @@ -2972,6 +2972,10 @@ declare namespace SageMaker { * The Amazon S3 prefix to the explainability artifacts generated for the AutoML candidate. */ Explainability: ExplainabilityLocation; + /** + * The Amazon S3 prefix to the model insight artifacts generated for the AutoML candidate. + */ + ModelInsights?: ModelInsightsLocation; } export type CandidateDefinitionNotebookLocation = string; export type CandidateName = string; @@ -3880,7 +3884,7 @@ declare namespace SageMaker { */ KmsKeyId?: KmsKeyId; /** - * Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in order for your Endpoint to be invoked using InvokeEndpointAsync . + * Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in order for your Endpoint to be invoked using InvokeEndpointAsync. */ AsyncInferenceConfig?: AsyncInferenceConfig; } @@ -8943,6 +8947,12 @@ declare namespace SageMaker { Report?: MetricsSource; } export type ExplainabilityLocation = string; + export interface FailStepMetadata { + /** + * A message that you define and then is processed and rendered by the Fail step when the error occurs. + */ + ErrorMessage?: String3072; + } export type FailureReason = string; export interface FeatureDefinition { /** @@ -11684,7 +11694,7 @@ declare namespace SageMaker { */ ModelPackageGroupName?: ArnOrName; /** - * A filter that returns onlyl the model packages of the specified type. This can be one of the following values. VERSIONED - List only versioned models. UNVERSIONED - List only unversioined models. BOTH - List both versioned and unversioned models. + * A filter that returns only the model packages of the specified type. This can be one of the following values. UNVERSIONED - List only unversioined models. This is the default value if no ModelPackageType is specified. VERSIONED - List only versioned models. BOTH - List both versioned and unversioned models. */ ModelPackageType?: ModelPackageType; /** @@ -12930,6 +12940,7 @@ declare namespace SageMaker { */ DataInputConfig: DataInputConfig; } + export type ModelInsightsLocation = string; export interface ModelLatencyThreshold { /** * The model latency percentile threshold. @@ -14294,7 +14305,7 @@ declare namespace SageMaker { */ CacheHitResult?: CacheHitResult; /** - * The current attempt of the execution step. For more information, see Retry Policy for Amazon SageMaker Pipelines steps. + * The current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps. */ AttemptCount?: IntegerValue; /** @@ -14356,6 +14367,10 @@ declare namespace SageMaker { * The configurations and outcomes of an EMR step execution. */ EMR?: EMRStepMetadata; + /** + * The configurations and outcomes of a Fail step execution. + */ + Fail?: FailStepMetadata; } export interface PipelineExecutionSummary { /** @@ -14378,6 +14393,10 @@ declare namespace SageMaker { * The display name of the pipeline execution. */ PipelineExecutionDisplayName?: PipelineExecutionName; + /** + * A message generated by SageMaker Pipelines describing why the pipeline execution failed. + */ + PipelineExecutionFailureReason?: String3072; } export type PipelineExecutionSummaryList = PipelineExecutionSummary[]; export interface PipelineExperimentConfig { @@ -15880,6 +15899,7 @@ declare namespace SageMaker { export type String200 = string; export type String2048 = string; export type String256 = string; + export type String3072 = string; export type String40 = string; export type String64 = string; export type String8192 = string; @@ -15976,7 +15996,7 @@ declare namespace SageMaker { */ Accelerator?: TargetPlatformAccelerator; } - export type TargetPlatformAccelerator = "INTEL_GRAPHICS"|"MALI"|"NVIDIA"|string; + export type TargetPlatformAccelerator = "INTEL_GRAPHICS"|"MALI"|"NVIDIA"|"NNA"|string; export type TargetPlatformArch = "X86_64"|"X86"|"ARM64"|"ARM_EABI"|"ARM_EABIHF"|string; export type TargetPlatformOs = "ANDROID"|"LINUX"|string; export type TaskAvailabilityLifetimeInSeconds = number; diff --git a/node_modules/aws-sdk/clients/secretsmanager.d.ts b/node_modules/aws-sdk/clients/secretsmanager.d.ts index b91f2d4be..c866c4ca1 100644 --- a/node_modules/aws-sdk/clients/secretsmanager.d.ts +++ b/node_modules/aws-sdk/clients/secretsmanager.d.ts @@ -12,179 +12,179 @@ declare class SecretsManager extends Service { constructor(options?: SecretsManager.Types.ClientConfiguration) config: Config & SecretsManager.Types.ClientConfiguration; /** - * Turns off automatic rotation, and if a rotation is currently in progress, cancels the rotation. To turn on automatic rotation again, call RotateSecret. If you cancel a rotation in progress, it can leave the VersionStage labels in an unexpected state. Depending on the step of the rotation in progress, you might need to remove the staging label AWSPENDING from the partially created version, specified by the VersionId response value. We recommend you also evaluate the partially rotated new version to see if it should be deleted. You can delete a version by removing all staging labels from it. + * Turns off automatic rotation, and if a rotation is currently in progress, cancels the rotation. To turn on automatic rotation again, call RotateSecret. If you cancel a rotation in progress, it can leave the VersionStage labels in an unexpected state. Depending on the step of the rotation in progress, you might need to remove the staging label AWSPENDING from the partially created version, specified by the VersionId response value. We recommend you also evaluate the partially rotated new version to see if it should be deleted. You can delete a version by removing all staging labels from it. Required permissions: secretsmanager:CancelRotateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ cancelRotateSecret(params: SecretsManager.Types.CancelRotateSecretRequest, callback?: (err: AWSError, data: SecretsManager.Types.CancelRotateSecretResponse) => void): Request; /** - * Turns off automatic rotation, and if a rotation is currently in progress, cancels the rotation. To turn on automatic rotation again, call RotateSecret. If you cancel a rotation in progress, it can leave the VersionStage labels in an unexpected state. Depending on the step of the rotation in progress, you might need to remove the staging label AWSPENDING from the partially created version, specified by the VersionId response value. We recommend you also evaluate the partially rotated new version to see if it should be deleted. You can delete a version by removing all staging labels from it. + * Turns off automatic rotation, and if a rotation is currently in progress, cancels the rotation. To turn on automatic rotation again, call RotateSecret. If you cancel a rotation in progress, it can leave the VersionStage labels in an unexpected state. Depending on the step of the rotation in progress, you might need to remove the staging label AWSPENDING from the partially created version, specified by the VersionId response value. We recommend you also evaluate the partially rotated new version to see if it should be deleted. You can delete a version by removing all staging labels from it. Required permissions: secretsmanager:CancelRotateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ cancelRotateSecret(callback?: (err: AWSError, data: SecretsManager.Types.CancelRotateSecretResponse) => void): Request; /** - * Creates a new secret. A secret is a set of credentials, such as a user name and password, that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret. For information about creating a secret in the console, see Create a secret. To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it. If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result. If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key. + * Creates a new secret. A secret is a set of credentials, such as a user name and password, that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret. For information about creating a secret in the console, see Create a secret. To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it. If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result. If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key. Required permissions: secretsmanager:CreateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ createSecret(params: SecretsManager.Types.CreateSecretRequest, callback?: (err: AWSError, data: SecretsManager.Types.CreateSecretResponse) => void): Request; /** - * Creates a new secret. A secret is a set of credentials, such as a user name and password, that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret. For information about creating a secret in the console, see Create a secret. To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it. If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result. If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key. + * Creates a new secret. A secret is a set of credentials, such as a user name and password, that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret. For information about creating a secret in the console, see Create a secret. To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it. If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result. If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key. Required permissions: secretsmanager:CreateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ createSecret(callback?: (err: AWSError, data: SecretsManager.Types.CreateSecretResponse) => void): Request; /** - * Deletes the resource-based permission policy attached to the secret. To attach a policy to a secret, use PutResourcePolicy. + * Deletes the resource-based permission policy attached to the secret. To attach a policy to a secret, use PutResourcePolicy. Required permissions: secretsmanager:DeleteResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ deleteResourcePolicy(params: SecretsManager.Types.DeleteResourcePolicyRequest, callback?: (err: AWSError, data: SecretsManager.Types.DeleteResourcePolicyResponse) => void): Request; /** - * Deletes the resource-based permission policy attached to the secret. To attach a policy to a secret, use PutResourcePolicy. + * Deletes the resource-based permission policy attached to the secret. To attach a policy to a secret, use PutResourcePolicy. Required permissions: secretsmanager:DeleteResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ deleteResourcePolicy(callback?: (err: AWSError, data: SecretsManager.Types.DeleteResourcePolicyResponse) => void): Request; /** - * Deletes a secret and all of its versions. You can specify a recovery window during which you can restore the secret. The minimum recovery window is 7 days. The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to the secret that specifies the end of the recovery window. At the end of the recovery window, Secrets Manager deletes the secret permanently. For information about deleting a secret in the console, see https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_delete-secret.html. Secrets Manager performs the permanent secret deletion at the end of the waiting period as a background task with low priority. There is no guarantee of a specific time after the recovery window for the permanent delete to occur. At any time before recovery window ends, you can use RestoreSecret to remove the DeletionDate and cancel the deletion of the secret. In a secret scheduled for deletion, you cannot access the encrypted secret value. To access that information, first cancel the deletion with RestoreSecret and then retrieve the information. + * Deletes a secret and all of its versions. You can specify a recovery window during which you can restore the secret. The minimum recovery window is 7 days. The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to the secret that specifies the end of the recovery window. At the end of the recovery window, Secrets Manager deletes the secret permanently. For information about deleting a secret in the console, see https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_delete-secret.html. Secrets Manager performs the permanent secret deletion at the end of the waiting period as a background task with low priority. There is no guarantee of a specific time after the recovery window for the permanent delete to occur. At any time before recovery window ends, you can use RestoreSecret to remove the DeletionDate and cancel the deletion of the secret. In a secret scheduled for deletion, you cannot access the encrypted secret value. To access that information, first cancel the deletion with RestoreSecret and then retrieve the information. Required permissions: secretsmanager:DeleteSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ deleteSecret(params: SecretsManager.Types.DeleteSecretRequest, callback?: (err: AWSError, data: SecretsManager.Types.DeleteSecretResponse) => void): Request; /** - * Deletes a secret and all of its versions. You can specify a recovery window during which you can restore the secret. The minimum recovery window is 7 days. The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to the secret that specifies the end of the recovery window. At the end of the recovery window, Secrets Manager deletes the secret permanently. For information about deleting a secret in the console, see https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_delete-secret.html. Secrets Manager performs the permanent secret deletion at the end of the waiting period as a background task with low priority. There is no guarantee of a specific time after the recovery window for the permanent delete to occur. At any time before recovery window ends, you can use RestoreSecret to remove the DeletionDate and cancel the deletion of the secret. In a secret scheduled for deletion, you cannot access the encrypted secret value. To access that information, first cancel the deletion with RestoreSecret and then retrieve the information. + * Deletes a secret and all of its versions. You can specify a recovery window during which you can restore the secret. The minimum recovery window is 7 days. The default recovery window is 30 days. Secrets Manager attaches a DeletionDate stamp to the secret that specifies the end of the recovery window. At the end of the recovery window, Secrets Manager deletes the secret permanently. For information about deleting a secret in the console, see https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_delete-secret.html. Secrets Manager performs the permanent secret deletion at the end of the waiting period as a background task with low priority. There is no guarantee of a specific time after the recovery window for the permanent delete to occur. At any time before recovery window ends, you can use RestoreSecret to remove the DeletionDate and cancel the deletion of the secret. In a secret scheduled for deletion, you cannot access the encrypted secret value. To access that information, first cancel the deletion with RestoreSecret and then retrieve the information. Required permissions: secretsmanager:DeleteSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ deleteSecret(callback?: (err: AWSError, data: SecretsManager.Types.DeleteSecretResponse) => void): Request; /** - * Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager only returns fields that have a value in the response. + * Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager only returns fields that have a value in the response. Required permissions: secretsmanager:DescribeSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ describeSecret(params: SecretsManager.Types.DescribeSecretRequest, callback?: (err: AWSError, data: SecretsManager.Types.DescribeSecretResponse) => void): Request; /** - * Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager only returns fields that have a value in the response. + * Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager only returns fields that have a value in the response. Required permissions: secretsmanager:DescribeSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ describeSecret(callback?: (err: AWSError, data: SecretsManager.Types.DescribeSecretResponse) => void): Request; /** - * Generates a random password. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. + * Generates a random password. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. Required permissions: secretsmanager:GetRandomPassword. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ getRandomPassword(params: SecretsManager.Types.GetRandomPasswordRequest, callback?: (err: AWSError, data: SecretsManager.Types.GetRandomPasswordResponse) => void): Request; /** - * Generates a random password. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. + * Generates a random password. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. Required permissions: secretsmanager:GetRandomPassword. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ getRandomPassword(callback?: (err: AWSError, data: SecretsManager.Types.GetRandomPasswordResponse) => void): Request; /** - * Retrieves the JSON text of the resource-based policy document attached to the secret. For more information about permissions policies attached to a secret, see Permissions policies attached to a secret. + * Retrieves the JSON text of the resource-based policy document attached to the secret. For more information about permissions policies attached to a secret, see Permissions policies attached to a secret. Required permissions: secretsmanager:GetResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ getResourcePolicy(params: SecretsManager.Types.GetResourcePolicyRequest, callback?: (err: AWSError, data: SecretsManager.Types.GetResourcePolicyResponse) => void): Request; /** - * Retrieves the JSON text of the resource-based policy document attached to the secret. For more information about permissions policies attached to a secret, see Permissions policies attached to a secret. + * Retrieves the JSON text of the resource-based policy document attached to the secret. For more information about permissions policies attached to a secret, see Permissions policies attached to a secret. Required permissions: secretsmanager:GetResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ getResourcePolicy(callback?: (err: AWSError, data: SecretsManager.Types.GetResourcePolicyResponse) => void): Request; /** - * Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content. For information about retrieving the secret value in the console, see Retrieve secrets. To run this command, you must have secretsmanager:GetSecretValue permissions. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. + * Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content. We recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for your applications. Required permissions: secretsmanager:GetSecretValue. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ getSecretValue(params: SecretsManager.Types.GetSecretValueRequest, callback?: (err: AWSError, data: SecretsManager.Types.GetSecretValueResponse) => void): Request; /** - * Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content. For information about retrieving the secret value in the console, see Retrieve secrets. To run this command, you must have secretsmanager:GetSecretValue permissions. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. + * Retrieves the contents of the encrypted fields SecretString or SecretBinary from the specified version of a secret, whichever contains content. We recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for your applications. Required permissions: secretsmanager:GetSecretValue. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager, then you also need kms:Decrypt permissions for that key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ getSecretValue(callback?: (err: AWSError, data: SecretsManager.Types.GetSecretValueResponse) => void): Request; /** - * Lists the versions for a secret. To list the secrets in the account, use ListSecrets. To get the secret value from SecretString or SecretBinary, call GetSecretValue. Minimum permissions To run this command, you must have secretsmanager:ListSecretVersionIds permissions. + * Lists the versions for a secret. To list the secrets in the account, use ListSecrets. To get the secret value from SecretString or SecretBinary, call GetSecretValue. Required permissions: secretsmanager:ListSecretVersionIds. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ listSecretVersionIds(params: SecretsManager.Types.ListSecretVersionIdsRequest, callback?: (err: AWSError, data: SecretsManager.Types.ListSecretVersionIdsResponse) => void): Request; /** - * Lists the versions for a secret. To list the secrets in the account, use ListSecrets. To get the secret value from SecretString or SecretBinary, call GetSecretValue. Minimum permissions To run this command, you must have secretsmanager:ListSecretVersionIds permissions. + * Lists the versions for a secret. To list the secrets in the account, use ListSecrets. To get the secret value from SecretString or SecretBinary, call GetSecretValue. Required permissions: secretsmanager:ListSecretVersionIds. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ listSecretVersionIds(callback?: (err: AWSError, data: SecretsManager.Types.ListSecretVersionIdsResponse) => void): Request; /** - * Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account. To list the versions of a secret, use ListSecretVersionIds. To get the secret value from SecretString or SecretBinary, call GetSecretValue. For information about finding secrets in the console, see Enhanced search capabilities for secrets in Secrets Manager. Minimum permissions To run this command, you must have secretsmanager:ListSecrets permissions. + * Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account. To list the versions of a secret, use ListSecretVersionIds. To get the secret value from SecretString or SecretBinary, call GetSecretValue. For information about finding secrets in the console, see Enhanced search capabilities for secrets in Secrets Manager. Required permissions: secretsmanager:ListSecrets. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ listSecrets(params: SecretsManager.Types.ListSecretsRequest, callback?: (err: AWSError, data: SecretsManager.Types.ListSecretsResponse) => void): Request; /** - * Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account. To list the versions of a secret, use ListSecretVersionIds. To get the secret value from SecretString or SecretBinary, call GetSecretValue. For information about finding secrets in the console, see Enhanced search capabilities for secrets in Secrets Manager. Minimum permissions To run this command, you must have secretsmanager:ListSecrets permissions. + * Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account. To list the versions of a secret, use ListSecretVersionIds. To get the secret value from SecretString or SecretBinary, call GetSecretValue. For information about finding secrets in the console, see Enhanced search capabilities for secrets in Secrets Manager. Required permissions: secretsmanager:ListSecrets. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ listSecrets(callback?: (err: AWSError, data: SecretsManager.Types.ListSecretsResponse) => void): Request; /** - * Attaches a resource-based permission policy to a secret. A resource-based policy is optional. For more information, see Authentication and access control for Secrets Manager For information about attaching a policy in the console, see Attach a permissions policy to a secret. + * Attaches a resource-based permission policy to a secret. A resource-based policy is optional. For more information, see Authentication and access control for Secrets Manager For information about attaching a policy in the console, see Attach a permissions policy to a secret. Required permissions: secretsmanager:PutResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ putResourcePolicy(params: SecretsManager.Types.PutResourcePolicyRequest, callback?: (err: AWSError, data: SecretsManager.Types.PutResourcePolicyResponse) => void): Request; /** - * Attaches a resource-based permission policy to a secret. A resource-based policy is optional. For more information, see Authentication and access control for Secrets Manager For information about attaching a policy in the console, see Attach a permissions policy to a secret. + * Attaches a resource-based permission policy to a secret. A resource-based policy is optional. For more information, see Authentication and access control for Secrets Manager For information about attaching a policy in the console, see Attach a permissions policy to a secret. Required permissions: secretsmanager:PutResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ putResourcePolicy(callback?: (err: AWSError, data: SecretsManager.Types.PutResourcePolicyResponse) => void): Request; /** - * Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value. We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions. You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it . If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from. This operation is idempotent. If a version with a VersionId with the same value as the ClientRequestToken parameter already exists, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones. + * Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value. We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions. You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it . If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from. This operation is idempotent. If a version with a VersionId with the same value as the ClientRequestToken parameter already exists, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones. Required permissions: secretsmanager:PutSecretValue. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ putSecretValue(params: SecretsManager.Types.PutSecretValueRequest, callback?: (err: AWSError, data: SecretsManager.Types.PutSecretValueResponse) => void): Request; /** - * Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value. We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions. You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it . If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from. This operation is idempotent. If a version with a VersionId with the same value as the ClientRequestToken parameter already exists, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones. + * Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value. We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions. You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it . If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from. This operation is idempotent. If a version with a VersionId with the same value as the ClientRequestToken parameter already exists, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones. Required permissions: secretsmanager:PutSecretValue. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ putSecretValue(callback?: (err: AWSError, data: SecretsManager.Types.PutSecretValueResponse) => void): Request; /** - * For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify. + * For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify. Required permissions: secretsmanager:RemoveRegionsFromReplication. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ removeRegionsFromReplication(params: SecretsManager.Types.RemoveRegionsFromReplicationRequest, callback?: (err: AWSError, data: SecretsManager.Types.RemoveRegionsFromReplicationResponse) => void): Request; /** - * For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify. + * For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify. Required permissions: secretsmanager:RemoveRegionsFromReplication. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ removeRegionsFromReplication(callback?: (err: AWSError, data: SecretsManager.Types.RemoveRegionsFromReplicationResponse) => void): Request; /** - * Replicates the secret to a new Regions. See Multi-Region secrets. + * Replicates the secret to a new Regions. See Multi-Region secrets. Required permissions: secretsmanager:ReplicateSecretToRegions. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ replicateSecretToRegions(params: SecretsManager.Types.ReplicateSecretToRegionsRequest, callback?: (err: AWSError, data: SecretsManager.Types.ReplicateSecretToRegionsResponse) => void): Request; /** - * Replicates the secret to a new Regions. See Multi-Region secrets. + * Replicates the secret to a new Regions. See Multi-Region secrets. Required permissions: secretsmanager:ReplicateSecretToRegions. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ replicateSecretToRegions(callback?: (err: AWSError, data: SecretsManager.Types.ReplicateSecretToRegionsResponse) => void): Request; /** - * Cancels the scheduled deletion of a secret by removing the DeletedDate time stamp. You can access a secret again after it has been restored. + * Cancels the scheduled deletion of a secret by removing the DeletedDate time stamp. You can access a secret again after it has been restored. Required permissions: secretsmanager:RestoreSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ restoreSecret(params: SecretsManager.Types.RestoreSecretRequest, callback?: (err: AWSError, data: SecretsManager.Types.RestoreSecretResponse) => void): Request; /** - * Cancels the scheduled deletion of a secret by removing the DeletedDate time stamp. You can access a secret again after it has been restored. + * Cancels the scheduled deletion of a secret by removing the DeletedDate time stamp. You can access a secret again after it has been restored. Required permissions: secretsmanager:RestoreSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ restoreSecret(callback?: (err: AWSError, data: SecretsManager.Types.RestoreSecretResponse) => void): Request; /** - * Configures and starts the asynchronous process of rotating the secret. If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret. For more information about rotation, see Rotate secrets. To configure rotation, you include the ARN of an Amazon Web Services Lambda function and the schedule for the rotation. The Lambda rotation function creates a new version of the secret and creates or updates the credentials on the database or service to match. After testing the new credentials, the function marks the new secret version with the staging label AWSCURRENT. Then anyone who retrieves the secret gets the new version. For more information, see How rotation works. When rotation is successful, the AWSPENDING staging label might be attached to the same version as the AWSCURRENT version, or it might not be attached to any version. If the AWSPENDING staging label is present but not attached to the same version as AWSCURRENT, then any later invocation of RotateSecret assumes that a previous rotation request is still in progress and returns an error. To run this command, you must have secretsmanager:RotateSecret permissions and lambda:InvokeFunction permissions on the function specified in the secret's metadata. + * Configures and starts the asynchronous process of rotating the secret. If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret. For more information about rotation, see Rotate secrets. To configure rotation, you include the ARN of an Amazon Web Services Lambda function and the schedule for the rotation. The Lambda rotation function creates a new version of the secret and creates or updates the credentials on the database or service to match. After testing the new credentials, the function marks the new secret version with the staging label AWSCURRENT. Then anyone who retrieves the secret gets the new version. For more information, see How rotation works. When rotation is successful, the AWSPENDING staging label might be attached to the same version as the AWSCURRENT version, or it might not be attached to any version. If the AWSPENDING staging label is present but not attached to the same version as AWSCURRENT, then any later invocation of RotateSecret assumes that a previous rotation request is still in progress and returns an error. Required permissions: secretsmanager:RotateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. You also need lambda:InvokeFunction permissions on the rotation function. For more information, see Permissions for rotation. */ rotateSecret(params: SecretsManager.Types.RotateSecretRequest, callback?: (err: AWSError, data: SecretsManager.Types.RotateSecretResponse) => void): Request; /** - * Configures and starts the asynchronous process of rotating the secret. If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret. For more information about rotation, see Rotate secrets. To configure rotation, you include the ARN of an Amazon Web Services Lambda function and the schedule for the rotation. The Lambda rotation function creates a new version of the secret and creates or updates the credentials on the database or service to match. After testing the new credentials, the function marks the new secret version with the staging label AWSCURRENT. Then anyone who retrieves the secret gets the new version. For more information, see How rotation works. When rotation is successful, the AWSPENDING staging label might be attached to the same version as the AWSCURRENT version, or it might not be attached to any version. If the AWSPENDING staging label is present but not attached to the same version as AWSCURRENT, then any later invocation of RotateSecret assumes that a previous rotation request is still in progress and returns an error. To run this command, you must have secretsmanager:RotateSecret permissions and lambda:InvokeFunction permissions on the function specified in the secret's metadata. + * Configures and starts the asynchronous process of rotating the secret. If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret. For more information about rotation, see Rotate secrets. To configure rotation, you include the ARN of an Amazon Web Services Lambda function and the schedule for the rotation. The Lambda rotation function creates a new version of the secret and creates or updates the credentials on the database or service to match. After testing the new credentials, the function marks the new secret version with the staging label AWSCURRENT. Then anyone who retrieves the secret gets the new version. For more information, see How rotation works. When rotation is successful, the AWSPENDING staging label might be attached to the same version as the AWSCURRENT version, or it might not be attached to any version. If the AWSPENDING staging label is present but not attached to the same version as AWSCURRENT, then any later invocation of RotateSecret assumes that a previous rotation request is still in progress and returns an error. Required permissions: secretsmanager:RotateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. You also need lambda:InvokeFunction permissions on the rotation function. For more information, see Permissions for rotation. */ rotateSecret(callback?: (err: AWSError, data: SecretsManager.Types.RotateSecretResponse) => void): Request; /** - * Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region. You must call this operation from the Region in which you want to promote the replica to a primary secret. + * Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region. You must call this operation from the Region in which you want to promote the replica to a primary secret. Required permissions: secretsmanager:StopReplicationToReplica. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ stopReplicationToReplica(params: SecretsManager.Types.StopReplicationToReplicaRequest, callback?: (err: AWSError, data: SecretsManager.Types.StopReplicationToReplicaResponse) => void): Request; /** - * Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region. You must call this operation from the Region in which you want to promote the replica to a primary secret. + * Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region. You must call this operation from the Region in which you want to promote the replica to a primary secret. Required permissions: secretsmanager:StopReplicationToReplica. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ stopReplicationToReplica(callback?: (err: AWSError, data: SecretsManager.Types.StopReplicationToReplicaResponse) => void): Request; /** - * Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags. The following restrictions apply to tags: Maximum number of tags per secret: 50 Maximum key length: 127 Unicode characters in UTF-8 Maximum value length: 255 Unicode characters in UTF-8 Tag keys and values are case sensitive. Do not use the aws: prefix in your tag names or values because Amazon Web Services reserves it for Amazon Web Services use. You can't edit or delete tag names or values with this prefix. Tags with this prefix do not count against your tags per secret limit. If you use your tagging schema across multiple services and resources, other services might have restrictions on allowed characters. Generally allowed characters: letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @. If you use tags as part of your security strategy, then adding or removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error. + * Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags. The following restrictions apply to tags: Maximum number of tags per secret: 50 Maximum key length: 127 Unicode characters in UTF-8 Maximum value length: 255 Unicode characters in UTF-8 Tag keys and values are case sensitive. Do not use the aws: prefix in your tag names or values because Amazon Web Services reserves it for Amazon Web Services use. You can't edit or delete tag names or values with this prefix. Tags with this prefix do not count against your tags per secret limit. If you use your tagging schema across multiple services and resources, other services might have restrictions on allowed characters. Generally allowed characters: letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @. If you use tags as part of your security strategy, then adding or removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error. Required permissions: secretsmanager:TagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ tagResource(params: SecretsManager.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags. The following restrictions apply to tags: Maximum number of tags per secret: 50 Maximum key length: 127 Unicode characters in UTF-8 Maximum value length: 255 Unicode characters in UTF-8 Tag keys and values are case sensitive. Do not use the aws: prefix in your tag names or values because Amazon Web Services reserves it for Amazon Web Services use. You can't edit or delete tag names or values with this prefix. Tags with this prefix do not count against your tags per secret limit. If you use your tagging schema across multiple services and resources, other services might have restrictions on allowed characters. Generally allowed characters: letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @. If you use tags as part of your security strategy, then adding or removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error. + * Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags. The following restrictions apply to tags: Maximum number of tags per secret: 50 Maximum key length: 127 Unicode characters in UTF-8 Maximum value length: 255 Unicode characters in UTF-8 Tag keys and values are case sensitive. Do not use the aws: prefix in your tag names or values because Amazon Web Services reserves it for Amazon Web Services use. You can't edit or delete tag names or values with this prefix. Tags with this prefix do not count against your tags per secret limit. If you use your tagging schema across multiple services and resources, other services might have restrictions on allowed characters. Generally allowed characters: letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @. If you use tags as part of your security strategy, then adding or removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error. Required permissions: secretsmanager:TagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Removes specific tags from a secret. This operation is idempotent. If a requested tag is not attached to the secret, no error is returned and the secret metadata is unchanged. If you use tags as part of your security strategy, then removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error. + * Removes specific tags from a secret. This operation is idempotent. If a requested tag is not attached to the secret, no error is returned and the secret metadata is unchanged. If you use tags as part of your security strategy, then removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error. Required permissions: secretsmanager:UntagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ untagResource(params: SecretsManager.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Removes specific tags from a secret. This operation is idempotent. If a requested tag is not attached to the secret, no error is returned and the secret metadata is unchanged. If you use tags as part of your security strategy, then removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error. + * Removes specific tags from a secret. This operation is idempotent. If a requested tag is not attached to the secret, no error is returned and the secret metadata is unchanged. If you use tags as part of your security strategy, then removing a tag can change permissions. If successfully completing this operation would result in you losing your permissions for this secret, then the operation is blocked and returns an Access Denied error. Required permissions: secretsmanager:UntagResource. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue. To change the rotation configuration of a secret, use RotateSecret instead. We recommend you avoid calling UpdateSecret at a sustained rate of more than once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you update the secret value more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions. If you include SecretString or SecretBinary to create a new secret version, Secrets Manager automatically attaches the staging label AWSCURRENT to the new version. If you call this operation with a VersionId that matches an existing version's ClientRequestToken, the operation results in an error. You can't modify an existing version, you can only create a new version. To remove a version, remove all staging labels from it. See UpdateSecretVersionStage. If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result. If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed key. To run this command, you must have secretsmanager:UpdateSecret permissions. If you use a customer managed key, you must also have kms:GenerateDataKey and kms:Decrypt permissions . + * Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue. To change the rotation configuration of a secret, use RotateSecret instead. We recommend you avoid calling UpdateSecret at a sustained rate of more than once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you update the secret value more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions. If you include SecretString or SecretBinary to create a new secret version, Secrets Manager automatically attaches the staging label AWSCURRENT to the new version. If you call this operation with a VersionId that matches an existing version's ClientRequestToken, the operation results in an error. You can't modify an existing version, you can only create a new version. To remove a version, remove all staging labels from it. See UpdateSecretVersionStage. If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result. If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed key. Required permissions: secretsmanager:UpdateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. If you use a customer managed key, you must also have kms:GenerateDataKey and kms:Decrypt permissions on the key. For more information, see Secret encryption and decryption. */ updateSecret(params: SecretsManager.Types.UpdateSecretRequest, callback?: (err: AWSError, data: SecretsManager.Types.UpdateSecretResponse) => void): Request; /** - * Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue. To change the rotation configuration of a secret, use RotateSecret instead. We recommend you avoid calling UpdateSecret at a sustained rate of more than once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you update the secret value more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions. If you include SecretString or SecretBinary to create a new secret version, Secrets Manager automatically attaches the staging label AWSCURRENT to the new version. If you call this operation with a VersionId that matches an existing version's ClientRequestToken, the operation results in an error. You can't modify an existing version, you can only create a new version. To remove a version, remove all staging labels from it. See UpdateSecretVersionStage. If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result. If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed key. To run this command, you must have secretsmanager:UpdateSecret permissions. If you use a customer managed key, you must also have kms:GenerateDataKey and kms:Decrypt permissions . + * Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue. To change the rotation configuration of a secret, use RotateSecret instead. We recommend you avoid calling UpdateSecret at a sustained rate of more than once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you update the secret value more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions. If you include SecretString or SecretBinary to create a new secret version, Secrets Manager automatically attaches the staging label AWSCURRENT to the new version. If you call this operation with a VersionId that matches an existing version's ClientRequestToken, the operation results in an error. You can't modify an existing version, you can only create a new version. To remove a version, remove all staging labels from it. See UpdateSecretVersionStage. If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result. If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed key. Required permissions: secretsmanager:UpdateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. If you use a customer managed key, you must also have kms:GenerateDataKey and kms:Decrypt permissions on the key. For more information, see Secret encryption and decryption. */ updateSecret(callback?: (err: AWSError, data: SecretsManager.Types.UpdateSecretResponse) => void): Request; /** - * Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to track a version as it progresses through the secret rotation process. Each staging label can be attached to only one version at a time. To add a staging label to a version when it is already attached to another version, Secrets Manager first removes it from the other version first and then attaches it to this one. For more information about versions and staging labels, see Concepts: Version. The staging labels that you specify in the VersionStage parameter are added to the existing list of staging labels for the version. You can move the AWSCURRENT staging label to this version by including it in this call. Whenever you move AWSCURRENT, Secrets Manager automatically moves the label AWSPREVIOUS to the version that AWSCURRENT was removed from. If this action results in the last label being removed from a version, then the version is considered to be 'deprecated' and can be deleted by Secrets Manager. + * Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to track a version as it progresses through the secret rotation process. Each staging label can be attached to only one version at a time. To add a staging label to a version when it is already attached to another version, Secrets Manager first removes it from the other version first and then attaches it to this one. For more information about versions and staging labels, see Concepts: Version. The staging labels that you specify in the VersionStage parameter are added to the existing list of staging labels for the version. You can move the AWSCURRENT staging label to this version by including it in this call. Whenever you move AWSCURRENT, Secrets Manager automatically moves the label AWSPREVIOUS to the version that AWSCURRENT was removed from. If this action results in the last label being removed from a version, then the version is considered to be 'deprecated' and can be deleted by Secrets Manager. Required permissions: secretsmanager:UpdateSecretVersionStage. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ updateSecretVersionStage(params: SecretsManager.Types.UpdateSecretVersionStageRequest, callback?: (err: AWSError, data: SecretsManager.Types.UpdateSecretVersionStageResponse) => void): Request; /** - * Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to track a version as it progresses through the secret rotation process. Each staging label can be attached to only one version at a time. To add a staging label to a version when it is already attached to another version, Secrets Manager first removes it from the other version first and then attaches it to this one. For more information about versions and staging labels, see Concepts: Version. The staging labels that you specify in the VersionStage parameter are added to the existing list of staging labels for the version. You can move the AWSCURRENT staging label to this version by including it in this call. Whenever you move AWSCURRENT, Secrets Manager automatically moves the label AWSPREVIOUS to the version that AWSCURRENT was removed from. If this action results in the last label being removed from a version, then the version is considered to be 'deprecated' and can be deleted by Secrets Manager. + * Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to track a version as it progresses through the secret rotation process. Each staging label can be attached to only one version at a time. To add a staging label to a version when it is already attached to another version, Secrets Manager first removes it from the other version first and then attaches it to this one. For more information about versions and staging labels, see Concepts: Version. The staging labels that you specify in the VersionStage parameter are added to the existing list of staging labels for the version. You can move the AWSCURRENT staging label to this version by including it in this call. Whenever you move AWSCURRENT, Secrets Manager automatically moves the label AWSPREVIOUS to the version that AWSCURRENT was removed from. If this action results in the last label being removed from a version, then the version is considered to be 'deprecated' and can be deleted by Secrets Manager. Required permissions: secretsmanager:UpdateSecretVersionStage. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ updateSecretVersionStage(callback?: (err: AWSError, data: SecretsManager.Types.UpdateSecretVersionStageResponse) => void): Request; /** - * Validates that a resource policy does not grant a wide range of principals access to your secret. A resource-based policy is optional for secrets. The API performs three checks when validating the policy: Sends a call to Zelkova, an automated reasoning engine, to ensure your resource policy does not allow broad access to your secret, for example policies that use a wildcard for the principal. Checks for correct syntax in a policy. Verifies the policy does not lock out a caller. + * Validates that a resource policy does not grant a wide range of principals access to your secret. A resource-based policy is optional for secrets. The API performs three checks when validating the policy: Sends a call to Zelkova, an automated reasoning engine, to ensure your resource policy does not allow broad access to your secret, for example policies that use a wildcard for the principal. Checks for correct syntax in a policy. Verifies the policy does not lock out a caller. Required permissions: secretsmanager:ValidateResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ validateResourcePolicy(params: SecretsManager.Types.ValidateResourcePolicyRequest, callback?: (err: AWSError, data: SecretsManager.Types.ValidateResourcePolicyResponse) => void): Request; /** - * Validates that a resource policy does not grant a wide range of principals access to your secret. A resource-based policy is optional for secrets. The API performs three checks when validating the policy: Sends a call to Zelkova, an automated reasoning engine, to ensure your resource policy does not allow broad access to your secret, for example policies that use a wildcard for the principal. Checks for correct syntax in a policy. Verifies the policy does not lock out a caller. + * Validates that a resource policy does not grant a wide range of principals access to your secret. A resource-based policy is optional for secrets. The API performs three checks when validating the policy: Sends a call to Zelkova, an automated reasoning engine, to ensure your resource policy does not allow broad access to your secret, for example policies that use a wildcard for the principal. Checks for correct syntax in a policy. Verifies the policy does not lock out a caller. Required permissions: secretsmanager:ValidateResourcePolicy. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. */ validateResourcePolicy(callback?: (err: AWSError, data: SecretsManager.Types.ValidateResourcePolicyResponse) => void): Request; } @@ -393,6 +393,7 @@ declare namespace SecretsManager { ReplicationStatus?: ReplicationStatusListType; } export type DescriptionType = string; + export type DurationType = string; export type ErrorMessage = string; export type ExcludeCharactersType = string; export type ExcludeLowercaseType = boolean; @@ -772,6 +773,10 @@ declare namespace SecretsManager { * A structure that defines the rotation configuration for this secret. */ RotationRules?: RotationRulesType; + /** + * Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. The rotation schedule is defined in RotateSecretRequest$RotationRules. If you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the testSecret step of the Lambda rotation function. The test creates an AWSPENDING version of the secret and then removes it. If you don't specify this value, then by default, Secrets Manager rotates the secret immediately. + */ + RotateImmediately?: BooleanType; } export interface RotateSecretResponse { /** @@ -791,10 +796,19 @@ declare namespace SecretsManager { export type RotationLambdaARNType = string; export interface RotationRulesType { /** - * Specifies the number of days between automatic scheduled rotations of the secret. Secrets Manager schedules the next rotation when the previous one is complete. Secrets Manager schedules the date by adding the rotation interval (number of days) to the actual date of the last rotation. The service chooses the hour within that 24-hour date window randomly. The minute is also chosen somewhat randomly, but weighted towards the top of the hour and influenced by a variety of factors that help distribute load. + * The number of days between automatic scheduled rotations of the secret. You can use this value to check that your secret meets your compliance guidelines for how often secrets must be rotated. In DescribeSecret and ListSecrets, this value is calculated from the rotation schedule after every successful rotation. In RotateSecret, you can set the rotation schedule in RotationRules with AutomaticallyAfterDays or ScheduleExpression, but not both. */ AutomaticallyAfterDays?: AutomaticallyRotateAfterDaysType; + /** + * The length of the rotation window in hours, for example 3h for a three hour window. Secrets Manager rotates your secret at any time during this window. The window must not go into the next UTC day. If you don't specify this value, the window automatically ends at the end of the UTC day. The window begins according to the ScheduleExpression. For more information, including examples, see Schedule expressions in Secrets Manager rotation. + */ + Duration?: DurationType; + /** + * A cron() or rate() expression that defines the schedule for rotating your secret. Secrets Manager rotation schedules use UTC time zone. Secrets Manager rate() expressions represent the interval in days that you want to rotate your secret, for example rate(10 days). If you use a rate() expression, the rotation window opens at midnight, and Secrets Manager rotates your secret any time that day after midnight. You can set a Duration to shorten the rotation window. You can use a cron() expression to create rotation schedules that are more detailed than a rotation interval. For more information, including examples, see Schedule expressions in Secrets Manager rotation. If you use a cron() expression, Secrets Manager rotates your secret any time during that day after the window opens. For example, cron(0 8 1 * ? *) represents a rotation window that occurs on the first day of every month beginning at 8:00 AM UTC. Secrets Manager rotates the secret any time that day after 8:00 AM. You can set a Duration to shorten the rotation window. + */ + ScheduleExpression?: ScheduleExpressionType; } + export type ScheduleExpressionType = string; export type SecretARNType = string; export type SecretBinaryType = Buffer|Uint8Array|Blob|string; export type SecretIdType = string; @@ -820,7 +834,7 @@ declare namespace SecretsManager { */ RotationEnabled?: RotationEnabledType; /** - * The ARN of an Amazon Web Services Lambda function invoked by Secrets Manager to rotate and expire the secret either automatically per the schedule or manually by a call to RotateSecret. + * The ARN of an Amazon Web Services Lambda function invoked by Secrets Manager to rotate and expire the secret either automatically per the schedule or manually by a call to RotateSecret . */ RotationLambdaARN?: RotationLambdaARNType; /** @@ -840,11 +854,11 @@ declare namespace SecretsManager { */ LastAccessedDate?: LastAccessedDateType; /** - * The date and time the deletion of the secret occurred. Not present on active secrets. The secret can be recovered until the number of days in the recovery window has passed, as specified in the RecoveryWindowInDays parameter of the DeleteSecret operation. + * The date and time the deletion of the secret occurred. Not present on active secrets. The secret can be recovered until the number of days in the recovery window has passed, as specified in the RecoveryWindowInDays parameter of the DeleteSecret operation. */ DeletedDate?: DeletedDateType; /** - * The list of user-defined tags associated with the secret. To add tags to a secret, use TagResource. To remove tags, use UntagResource. + * The list of user-defined tags associated with the secret. To add tags to a secret, use TagResource . To remove tags, use UntagResource . */ Tags?: TagListType; /** diff --git a/node_modules/aws-sdk/clients/securityhub.d.ts b/node_modules/aws-sdk/clients/securityhub.d.ts index 63f37f2f2..7eeedab8f 100644 --- a/node_modules/aws-sdk/clients/securityhub.d.ts +++ b/node_modules/aws-sdk/clients/securityhub.d.ts @@ -7209,6 +7209,10 @@ declare namespace SecurityHub { * In a BatchImportFindings request, finding providers use FindingProviderFields to provide and update their own values for confidence, criticality, related findings, severity, and types. */ FindingProviderFields?: FindingProviderFields; + /** + * Indicates whether the finding is a sample finding. + */ + Sample?: Boolean; } export interface AwsSecurityFindingFilters { /** @@ -7587,6 +7591,10 @@ declare namespace SecurityHub { * One or more finding types that the finding provider assigned to the finding. Uses the format of namespace/category/classifier that classify a finding. Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual Behaviors | Sensitive Data Identifications */ FindingProviderFieldsTypes?: StringFilterList; + /** + * Indicates whether or not sample findings are included in the filter results. + */ + Sample?: BooleanFilterList; } export interface AwsSecurityFindingIdentifier { /** @@ -7984,6 +7992,13 @@ declare namespace SecurityHub { } export type BatchUpdateFindingsUnprocessedFindingsList = BatchUpdateFindingsUnprocessedFinding[]; export type Boolean = boolean; + export interface BooleanFilter { + /** + * The value of the boolean. + */ + Value?: Boolean; + } + export type BooleanFilterList = BooleanFilter[]; export type CategoryList = NonEmptyString[]; export interface Cell { /** diff --git a/node_modules/aws-sdk/clients/sns.d.ts b/node_modules/aws-sdk/clients/sns.d.ts index 8e5b613f1..73f96157a 100644 --- a/node_modules/aws-sdk/clients/sns.d.ts +++ b/node_modules/aws-sdk/clients/sns.d.ts @@ -228,11 +228,11 @@ declare class SNS extends Service { */ optInPhoneNumber(callback?: (err: AWSError, data: SNS.Types.OptInPhoneNumberResponse) => void): Request; /** - * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message is saved and Amazon SNS immediately deliverers it to subscribers. To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Amazon Web Services Region. + * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message is saved and Amazon SNS immediately delivers it to subscribers. To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Amazon Web Services Region. */ publish(params: SNS.Types.PublishInput, callback?: (err: AWSError, data: SNS.Types.PublishResponse) => void): Request; /** - * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message is saved and Amazon SNS immediately deliverers it to subscribers. To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Amazon Web Services Region. + * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message is saved and Amazon SNS immediately delivers it to subscribers. To use the Publish action for publishing a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Amazon Web Services Region. */ publish(callback?: (err: AWSError, data: SNS.Types.PublishResponse) => void): Request; /** diff --git a/node_modules/aws-sdk/clients/ssm.d.ts b/node_modules/aws-sdk/clients/ssm.d.ts index 8e3ba0996..92a985afd 100644 --- a/node_modules/aws-sdk/clients/ssm.d.ts +++ b/node_modules/aws-sdk/clients/ssm.d.ts @@ -965,11 +965,11 @@ declare class SSM extends Service { */ stopAutomationExecution(callback?: (err: AWSError, data: SSM.Types.StopAutomationExecutionResult) => void): Request; /** - * Permanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the managed node. A terminated session isn't be resumed. + * Permanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the managed node. A terminated session can't be resumed. */ terminateSession(params: SSM.Types.TerminateSessionRequest, callback?: (err: AWSError, data: SSM.Types.TerminateSessionResponse) => void): Request; /** - * Permanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the managed node. A terminated session isn't be resumed. + * Permanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the managed node. A terminated session can't be resumed. */ terminateSession(callback?: (err: AWSError, data: SSM.Types.TerminateSessionResponse) => void): Request; /** @@ -981,11 +981,11 @@ declare class SSM extends Service { */ unlabelParameterVersion(callback?: (err: AWSError, data: SSM.Types.UnlabelParameterVersionResult) => void): Request; /** - * Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. + * Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call. In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run. */ updateAssociation(params: SSM.Types.UpdateAssociationRequest, callback?: (err: AWSError, data: SSM.Types.UpdateAssociationResult) => void): Request; /** - * Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. + * Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call. In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run. */ updateAssociation(callback?: (err: AWSError, data: SSM.Types.UpdateAssociationResult) => void): Request; /** @@ -1226,7 +1226,7 @@ declare namespace SSM { */ AssociationVersion?: AssociationVersion; /** - * The version of the document used in the association. + * The version of the document used in the association. State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default. */ DocumentVersion?: DocumentVersion; /** @@ -1966,6 +1966,9 @@ declare namespace SSM { */ WindowExecutionId?: MaintenanceWindowExecutionId; } + export type Category = string; + export type CategoryEnumList = Category[]; + export type CategoryList = Category[]; export type ChangeDetailsValue = string; export type ChangeRequestName = string; export type ClientToken = string; @@ -2023,7 +2026,7 @@ declare namespace SSM { */ Status?: CommandStatus; /** - * A detailed status of the command execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values: Pending: The command hasn't been sent to any managed nodes. In Progress: The command has been sent to at least one managed node but hasn't reached a final state on all managed nodes. Success: The command successfully ran on all invocations. This is a terminal state. Delivery Timed Out: The value of MaxErrors or more command invocations shows a status of Delivery Timed Out. This is a terminal state. Execution Timed Out: The value of MaxErrors or more command invocations shows a status of Execution Timed Out. This is a terminal state. Failed: The value of MaxErrors or more command invocations shows a status of Failed. This is a terminal state. Incomplete: The command was attempted on all managed nodes and one or more invocations doesn't have a value of Success but not enough invocations failed for the status to be Failed. This is a terminal state. Canceled: The command was terminated before it was completed. This is a terminal state. Rate Exceeded: The number of managed nodes targeted by the command exceeded the account limit for pending invocations. The system has canceled the command before running it on any managed node. This is a terminal state. + * A detailed status of the command execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values: Pending: The command hasn't been sent to any managed nodes. In Progress: The command has been sent to at least one managed node but hasn't reached a final state on all managed nodes. Success: The command successfully ran on all invocations. This is a terminal state. Delivery Timed Out: The value of MaxErrors or more command invocations shows a status of Delivery Timed Out. This is a terminal state. Execution Timed Out: The value of MaxErrors or more command invocations shows a status of Execution Timed Out. This is a terminal state. Failed: The value of MaxErrors or more command invocations shows a status of Failed. This is a terminal state. Incomplete: The command was attempted on all managed nodes and one or more invocations doesn't have a value of Success but not enough invocations failed for the status to be Failed. This is a terminal state. Cancelled: The command was terminated before it was completed. This is a terminal state. Rate Exceeded: The number of managed nodes targeted by the command exceeded the account limit for pending invocations. The system has canceled the command before running it on any managed node. This is a terminal state. */ StatusDetails?: StatusDetails; /** @@ -2051,7 +2054,7 @@ declare namespace SSM { */ TargetCount?: TargetCount; /** - * The number of targets for which the command invocation reached a terminal state. Terminal states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, Canceled, Terminated, or Undeliverable. + * The number of targets for which the command invocation reached a terminal state. Terminal states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, Cancelled, Terminated, or Undeliverable. */ CompletedCount?: CompletedCount; /** @@ -2127,7 +2130,7 @@ declare namespace SSM { */ Status?: CommandInvocationStatus; /** - * A detailed status of the command execution for each invocation (each managed node targeted by the command). StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values: Pending: The command hasn't been sent to the managed node. In Progress: The command has been sent to the managed node but hasn't reached a terminal state. Success: The execution of the command or plugin was successfully completed. This is a terminal state. Delivery Timed Out: The command wasn't delivered to the managed node before the delivery timeout expired. Delivery timeouts don't count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: Command execution started on the managed node, but the execution wasn't complete before the execution timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command wasn't successful on the managed node. For a plugin, this indicates that the result code wasn't zero. For a command invocation, this indicates that the result code for one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Canceled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the managed node. The managed node might not exist or might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit and don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. + * A detailed status of the command execution for each invocation (each managed node targeted by the command). StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values: Pending: The command hasn't been sent to the managed node. In Progress: The command has been sent to the managed node but hasn't reached a terminal state. Success: The execution of the command or plugin was successfully completed. This is a terminal state. Delivery Timed Out: The command wasn't delivered to the managed node before the delivery timeout expired. Delivery timeouts don't count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: Command execution started on the managed node, but the execution wasn't complete before the execution timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command wasn't successful on the managed node. For a plugin, this indicates that the result code wasn't zero. For a command invocation, this indicates that the result code for one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Cancelled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the managed node. The managed node might not exist or might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit and don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. */ StatusDetails?: StatusDetails; /** @@ -2173,7 +2176,7 @@ declare namespace SSM { */ Status?: CommandPluginStatus; /** - * A detailed status of the plugin execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values: Pending: The command hasn't been sent to the managed node. In Progress: The command has been sent to the managed node but hasn't reached a terminal state. Success: The execution of the command or plugin was successfully completed. This is a terminal state. Delivery Timed Out: The command wasn't delivered to the managed node before the delivery timeout expired. Delivery timeouts don't count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: Command execution started on the managed node, but the execution wasn't complete before the execution timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command wasn't successful on the managed node. For a plugin, this indicates that the result code wasn't zero. For a command invocation, this indicates that the result code for one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Canceled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the managed node. The managed node might not exist, or it might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit, and they don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. + * A detailed status of the plugin execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values: Pending: The command hasn't been sent to the managed node. In Progress: The command has been sent to the managed node but hasn't reached a terminal state. Success: The execution of the command or plugin was successfully completed. This is a terminal state. Delivery Timed Out: The command wasn't delivered to the managed node before the delivery timeout expired. Delivery timeouts don't count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: Command execution started on the managed node, but the execution wasn't complete before the execution timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command wasn't successful on the managed node. For a plugin, this indicates that the result code wasn't zero. For a command invocation, this indicates that the result code for one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Cancelled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the managed node. The managed node might not exist, or it might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit, and they don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. */ StatusDetails?: StatusDetails; /** @@ -2487,7 +2490,7 @@ declare namespace SSM { */ Name: DocumentARN; /** - * The document version you want to associate with the target(s). Can be a specific version or the default version. + * The document version you want to associate with the target(s). Can be a specific version or the default version. State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default. */ DocumentVersion?: DocumentVersion; /** @@ -2579,7 +2582,7 @@ declare namespace SSM { */ VersionName?: DocumentVersionName; /** - * The type of document to create. + * The type of document to create. The DeploymentStrategy document type is an internal-use-only document type reserved for AppConfig. */ DocumentType?: DocumentType; /** @@ -4034,7 +4037,7 @@ declare namespace SSM { */ Parameters?: DocumentParameterList; /** - * The list of OS platforms compatible with this SSM document. + * The list of operating system (OS) platforms compatible with this SSM document. */ PlatformTypes?: PlatformTypeList; /** @@ -4093,6 +4096,14 @@ declare namespace SSM { * The current status of the review. */ ReviewStatus?: ReviewStatus; + /** + * The classification of a document to help you identify and categorize its use. + */ + Category?: CategoryList; + /** + * The value that identifies a document's category. + */ + CategoryEnum?: CategoryEnumList; } export type DocumentDisplayName = string; export interface DocumentFilter { @@ -4474,7 +4485,7 @@ declare namespace SSM { */ Status?: CommandInvocationStatus; /** - * A detailed status of the command execution for an invocation. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values: Pending: The command hasn't been sent to the managed node. In Progress: The command has been sent to the managed node but hasn't reached a terminal state. Delayed: The system attempted to send the command to the target, but the target wasn't available. The managed node might not be available because of network issues, because the node was stopped, or for similar reasons. The system will try to send the command again. Success: The command or plugin ran successfully. This is a terminal state. Delivery Timed Out: The command wasn't delivered to the managed node before the delivery timeout expired. Delivery timeouts don't count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: The command started to run on the managed node, but the execution wasn't complete before the timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command wasn't run successfully on the managed node. For a plugin, this indicates that the result code wasn't zero. For a command invocation, this indicates that the result code for one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Canceled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the managed node. The node might not exist or might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit and don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. + * A detailed status of the command execution for an invocation. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values: Pending: The command hasn't been sent to the managed node. In Progress: The command has been sent to the managed node but hasn't reached a terminal state. Delayed: The system attempted to send the command to the target, but the target wasn't available. The managed node might not be available because of network issues, because the node was stopped, or for similar reasons. The system will try to send the command again. Success: The command or plugin ran successfully. This is a terminal state. Delivery Timed Out: The command wasn't delivered to the managed node before the delivery timeout expired. Delivery timeouts don't count against the parent command's MaxErrors limit, but they do contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Execution Timed Out: The command started to run on the managed node, but the execution wasn't complete before the timeout expired. Execution timeouts count against the MaxErrors limit of the parent command. This is a terminal state. Failed: The command wasn't run successfully on the managed node. For a plugin, this indicates that the result code wasn't zero. For a command invocation, this indicates that the result code for one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of the parent command. This is a terminal state. Cancelled: The command was terminated before it was completed. This is a terminal state. Undeliverable: The command can't be delivered to the managed node. The node might not exist or might not be responding. Undeliverable invocations don't count against the parent command's MaxErrors limit and don't contribute to whether the parent command status is Success or Incomplete. This is a terminal state. Terminated: The parent command exceeded its MaxErrors limit and subsequent command invocations were canceled by the system. This is a terminal state. */ StatusDetails?: StatusDetails; /** @@ -5123,7 +5134,7 @@ declare namespace SSM { export type GetParametersByPathMaxResults = number; export interface GetParametersByPathRequest { /** - * The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierachy is the parameter name except the last part of the parameter. For the API call to succeeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33 + * The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierarchy is the parameter name except the last part of the parameter. For the API call to succeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33 */ Path: PSParameterName; /** @@ -6690,11 +6701,11 @@ declare namespace SSM { */ ServiceRoleArn?: ServiceRole; /** - * The maximum number of targets this task can be run for, in parallel. + * The maximum number of targets this task can be run for, in parallel. Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1. This value doesn't affect the running of your task. */ MaxConcurrency?: MaxConcurrency; /** - * The maximum number of errors allowed before this task stops being scheduled. + * The maximum number of errors allowed before this task stops being scheduled. Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1. This value doesn't affect the running of your task. */ MaxErrors?: MaxErrors; /** @@ -7289,11 +7300,11 @@ declare namespace SSM { */ Name?: PSParameterName; /** - * The type of parameter. Valid values include the following: String, StringList, and SecureString. + * The type of parameter. Valid values include the following: String, StringList, and SecureString. If type is StringList, the system returns a comma-separated string with no spaces between commas in the Value field. */ Type?: ParameterType; /** - * The parameter value. + * The parameter value. If type is StringList, the system returns a comma-separated string with no spaces between commas in the Value field. */ Value?: PSParameterValue; /** @@ -7384,7 +7395,7 @@ declare namespace SSM { */ PolicyText?: String; /** - * The type of policy. Parameter Store, a capablility of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification. + * The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification. */ PolicyType?: String; /** @@ -7627,7 +7638,7 @@ declare namespace SSM { */ Classification: PatchClassification; /** - * The severity of the patchsuch as Critical, Important, and Moderate. + * The severity of the patch such as Critical, Important, and Moderate. */ Severity: PatchSeverity; /** @@ -7910,7 +7921,7 @@ declare namespace SSM { */ Policies?: ParameterPolicies; /** - * The data type for a String parameter. Supported data types include plain text and Amazon Machine Image (AMI) IDs. The following data type values are supported. text aws:ec2:image When you create a String parameter and specify aws:ec2:image, Amazon Web Services Systems Manager validates the parameter value is in the required format, such as ami-12345abcdeEXAMPLE, and that the specified AMI is available in your Amazon Web Services account. For more information, see Native parameter support for Amazon Machine Image (AMI) IDs in the Amazon Web Services Systems Manager User Guide. + * The data type for a String parameter. Supported data types include plain text and Amazon Machine Image (AMI) IDs. The following data type values are supported. text aws:ec2:image aws:ssm:integration When you create a String parameter and specify aws:ec2:image, Amazon Web Services Systems Manager validates the parameter value is in the required format, such as ami-12345abcdeEXAMPLE, and that the specified AMI is available in your Amazon Web Services account. For more information, see Native parameter support for Amazon Machine Image (AMI) IDs in the Amazon Web Services Systems Manager User Guide. */ DataType?: ParameterDataType; } @@ -8029,11 +8040,11 @@ declare namespace SSM { */ Priority?: MaintenanceWindowTaskPriority; /** - * The maximum number of targets this task can be run for in parallel. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1. This value doesn't affect the running of your task. + * The maximum number of targets this task can be run for, in parallel. Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1. This value doesn't affect the running of your task. */ MaxConcurrency?: MaxConcurrency; /** - * The maximum number of errors allowed before this task stops being scheduled. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1. This value doesn't affect the running of your task. + * The maximum number of errors allowed before this task stops being scheduled. Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1. This value doesn't affect the running of your task. */ MaxErrors?: MaxErrors; /** @@ -9062,7 +9073,7 @@ declare namespace SSM { */ Parameters?: Parameters; /** - * The document version you want update for the association. + * The document version you want update for the association. State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default. */ DocumentVersion?: DocumentVersion; /** @@ -9234,7 +9245,7 @@ declare namespace SSM { */ Description?: MaintenanceWindowDescription; /** - * The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website. + * The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become active. StartDate allows you to delay activation of the maintenance window until the specified future date. */ StartDate?: MaintenanceWindowStringDateTime; /** @@ -9414,11 +9425,11 @@ declare namespace SSM { */ Priority?: MaintenanceWindowTaskPriority; /** - * The new MaxConcurrency value you want to specify. MaxConcurrency is the number of targets that are allowed to run this task in parallel. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1, which may be reported in the response to this command. This value doesn't affect the running of your task and can be ignored. + * The new MaxConcurrency value you want to specify. MaxConcurrency is the number of targets that are allowed to run this task, in parallel. Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1. This value doesn't affect the running of your task. */ MaxConcurrency?: MaxConcurrency; /** - * The new MaxErrors value to specify. MaxErrors is the maximum number of errors that are allowed before the task stops being scheduled. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1, which may be reported in the response to this command. This value doesn't affect the running of your task and can be ignored. + * The new MaxErrors value to specify. MaxErrors is the maximum number of errors that are allowed before the task stops being scheduled. Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1. This value doesn't affect the running of your task. */ MaxErrors?: MaxErrors; /** @@ -9578,7 +9589,7 @@ declare namespace SSM { } export interface UpdateOpsMetadataRequest { /** - * The Amazon Resoure Name (ARN) of the OpsMetadata Object to update. + * The Amazon Resource Name (ARN) of the OpsMetadata Object to update. */ OpsMetadataArn: OpsMetadataArn; /** diff --git a/node_modules/aws-sdk/clients/ssmincidents.d.ts b/node_modules/aws-sdk/clients/ssmincidents.d.ts index b5efaa4c2..64a7e308c 100644 --- a/node_modules/aws-sdk/clients/ssmincidents.d.ts +++ b/node_modules/aws-sdk/clients/ssmincidents.d.ts @@ -752,7 +752,7 @@ declare namespace SSMIncidents { */ value: ItemValue; } - export type ItemType = "ANALYSIS"|"INCIDENT"|"METRIC"|"PARENT"|"ATTACHMENT"|"OTHER"|string; + export type ItemType = "ANALYSIS"|"INCIDENT"|"METRIC"|"PARENT"|"ATTACHMENT"|"OTHER"|"AUTOMATION"|string; export interface ItemValue { /** * The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource. diff --git a/node_modules/aws-sdk/clients/storagegateway.d.ts b/node_modules/aws-sdk/clients/storagegateway.d.ts index 1b7beb01b..1741ce7e9 100644 --- a/node_modules/aws-sdk/clients/storagegateway.d.ts +++ b/node_modules/aws-sdk/clients/storagegateway.d.ts @@ -172,11 +172,11 @@ declare class StorageGateway extends Service { */ deleteAutomaticTapeCreationPolicy(callback?: (err: AWSError, data: StorageGateway.Types.DeleteAutomaticTapeCreationPolicyOutput) => void): Request; /** - * Deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request. This operation is supported for the stored volume, cached volume and tape gateway types. + * Deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request. This operation is supported only for the stored volume, cached volume, and tape gateway types. */ deleteBandwidthRateLimit(params: StorageGateway.Types.DeleteBandwidthRateLimitInput, callback?: (err: AWSError, data: StorageGateway.Types.DeleteBandwidthRateLimitOutput) => void): Request; /** - * Deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request. This operation is supported for the stored volume, cached volume and tape gateway types. + * Deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request. This operation is supported only for the stored volume, cached volume, and tape gateway types. */ deleteBandwidthRateLimit(callback?: (err: AWSError, data: StorageGateway.Types.DeleteBandwidthRateLimitOutput) => void): Request; /** @@ -252,19 +252,19 @@ declare class StorageGateway extends Service { */ describeAvailabilityMonitorTest(callback?: (err: AWSError, data: StorageGateway.Types.DescribeAvailabilityMonitorTestOutput) => void): Request; /** - * Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect. This operation is supported for the stored volume, cached volume, and tape gateway types. This operation only returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. + * Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect. This operation is supported only for the stored volume, cached volume, and tape gateway types. To describe bandwidth rate limits for S3 file gateways, use DescribeBandwidthRateLimitSchedule. This operation returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. */ describeBandwidthRateLimit(params: StorageGateway.Types.DescribeBandwidthRateLimitInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeBandwidthRateLimitOutput) => void): Request; /** - * Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect. This operation is supported for the stored volume, cached volume, and tape gateway types. This operation only returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. + * Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect. This operation is supported only for the stored volume, cached volume, and tape gateway types. To describe bandwidth rate limits for S3 file gateways, use DescribeBandwidthRateLimitSchedule. This operation returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. */ describeBandwidthRateLimit(callback?: (err: AWSError, data: StorageGateway.Types.DescribeBandwidthRateLimitOutput) => void): Request; /** - * Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This operation is supported only in the volume and tape gateway types. This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both. A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, an ending hour and minute, and bandwidth rate limits for uploading and downloading If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. + * Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This operation is supported only for volume, tape and S3 file gateways. FSx file gateways do not support bandwidth rate limits. This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both. A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, an ending hour and minute, and bandwidth rate limits for uploading and downloading If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. */ describeBandwidthRateLimitSchedule(params: StorageGateway.Types.DescribeBandwidthRateLimitScheduleInput, callback?: (err: AWSError, data: StorageGateway.Types.DescribeBandwidthRateLimitScheduleOutput) => void): Request; /** - * Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This operation is supported only in the volume and tape gateway types. This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both. A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, an ending hour and minute, and bandwidth rate limits for uploading and downloading If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. + * Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This operation is supported only for volume, tape and S3 file gateways. FSx file gateways do not support bandwidth rate limits. This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both. A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, an ending hour and minute, and bandwidth rate limits for uploading and downloading If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request. */ describeBandwidthRateLimitSchedule(callback?: (err: AWSError, data: StorageGateway.Types.DescribeBandwidthRateLimitScheduleOutput) => void): Request; /** @@ -620,19 +620,19 @@ declare class StorageGateway extends Service { */ updateAutomaticTapeCreationPolicy(callback?: (err: AWSError, data: StorageGateway.Types.UpdateAutomaticTapeCreationPolicyOutput) => void): Request; /** - * Updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains. This operation is supported for the stored volume, cached volume, and tape gateway types. By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. + * Updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains. This operation is supported only for the stored volume, cached volume, and tape gateway types. To update bandwidth rate limits for S3 file gateways, use UpdateBandwidthRateLimitSchedule. By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. */ updateBandwidthRateLimit(params: StorageGateway.Types.UpdateBandwidthRateLimitInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateBandwidthRateLimitOutput) => void): Request; /** - * Updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains. This operation is supported for the stored volume, cached volume, and tape gateway types. By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. + * Updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains. This operation is supported only for the stored volume, cached volume, and tape gateway types. To update bandwidth rate limits for S3 file gateways, use UpdateBandwidthRateLimitSchedule. By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. */ updateBandwidthRateLimit(callback?: (err: AWSError, data: StorageGateway.Types.UpdateBandwidthRateLimitOutput) => void): Request; /** - * Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This operation is supported in the volume and tape gateway types. + * Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This operation is supported only for volume, tape and S3 file gateways. FSx file gateways do not support bandwidth rate limits. */ updateBandwidthRateLimitSchedule(params: StorageGateway.Types.UpdateBandwidthRateLimitScheduleInput, callback?: (err: AWSError, data: StorageGateway.Types.UpdateBandwidthRateLimitScheduleOutput) => void): Request; /** - * Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This operation is supported in the volume and tape gateway types. + * Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This operation is supported only for volume, tape and S3 file gateways. FSx file gateways do not support bandwidth rate limits. */ updateBandwidthRateLimitSchedule(callback?: (err: AWSError, data: StorageGateway.Types.UpdateBandwidthRateLimitScheduleOutput) => void): Request; /** diff --git a/node_modules/aws-sdk/clients/synthetics.d.ts b/node_modules/aws-sdk/clients/synthetics.d.ts index 1ce72f24c..08b413d47 100644 --- a/node_modules/aws-sdk/clients/synthetics.d.ts +++ b/node_modules/aws-sdk/clients/synthetics.d.ts @@ -28,19 +28,19 @@ declare class Synthetics extends Service { */ deleteCanary(callback?: (err: AWSError, data: Synthetics.Types.DeleteCanaryResponse) => void): Request; /** - * This operation returns a list of the canaries in your account, along with full details about each canary. This operation does not have resource-level authorization, so if a user is able to use DescribeCanaries, the user can see all of the canaries in the account. A deny policy can only be used to restrict access to all canaries. It cannot be used on specific resources. + * This operation returns a list of the canaries in your account, along with full details about each canary. This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries. */ describeCanaries(params: Synthetics.Types.DescribeCanariesRequest, callback?: (err: AWSError, data: Synthetics.Types.DescribeCanariesResponse) => void): Request; /** - * This operation returns a list of the canaries in your account, along with full details about each canary. This operation does not have resource-level authorization, so if a user is able to use DescribeCanaries, the user can see all of the canaries in the account. A deny policy can only be used to restrict access to all canaries. It cannot be used on specific resources. + * This operation returns a list of the canaries in your account, along with full details about each canary. This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries. */ describeCanaries(callback?: (err: AWSError, data: Synthetics.Types.DescribeCanariesResponse) => void): Request; /** - * Use this operation to see information from the most recent run of each canary that you have created. + * Use this operation to see information from the most recent run of each canary that you have created. This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries. */ describeCanariesLastRun(params: Synthetics.Types.DescribeCanariesLastRunRequest, callback?: (err: AWSError, data: Synthetics.Types.DescribeCanariesLastRunResponse) => void): Request; /** - * Use this operation to see information from the most recent run of each canary that you have created. + * Use this operation to see information from the most recent run of each canary that you have created. This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries. */ describeCanariesLastRun(callback?: (err: AWSError, data: Synthetics.Types.DescribeCanariesLastRunResponse) => void): Request; /** @@ -221,7 +221,7 @@ declare namespace Synthetics { */ S3Version?: String; /** - * If you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the base64-encoded contents of the .zip file that contains the script. It must be smaller than 256 Kb. + * If you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the base64-encoded contents of the .zip file that contains the script. It must be smaller than 225 Kb. For large canary scripts, we recommend that you use an S3 location instead of inputting it directly with this parameter. */ ZipFile?: _Blob; /** @@ -449,6 +449,7 @@ declare namespace Synthetics { } export interface DeleteCanaryResponse { } + export type DescribeCanariesLastRunNameFilter = CanaryName[]; export interface DescribeCanariesLastRunRequest { /** * A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanaries operation to retrieve the next set of results. @@ -458,6 +459,10 @@ declare namespace Synthetics { * Specify this parameter to limit how many runs are returned each time you use the DescribeLastRun operation. If you omit this parameter, the default of 100 is used. */ MaxResults?: MaxSize100; + /** + * Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names. If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries. + */ + Names?: DescribeCanariesLastRunNameFilter; } export interface DescribeCanariesLastRunResponse { /** @@ -469,6 +474,7 @@ declare namespace Synthetics { */ NextToken?: Token; } + export type DescribeCanariesNameFilter = CanaryName[]; export interface DescribeCanariesRequest { /** * A token that indicates that there is more data available. You can use this token in a subsequent operation to retrieve the next set of results. @@ -478,6 +484,10 @@ declare namespace Synthetics { * Specify this parameter to limit how many canaries are returned each time you use the DescribeCanaries operation. If you omit this parameter, the default of 100 is used. */ MaxResults?: MaxCanaryResults; + /** + * Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names. If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response. You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries. + */ + Names?: DescribeCanariesNameFilter; } export interface DescribeCanariesResponse { /** diff --git a/node_modules/aws-sdk/clients/transcribeservice.d.ts b/node_modules/aws-sdk/clients/transcribeservice.d.ts index 049363f45..a5feff234 100644 --- a/node_modules/aws-sdk/clients/transcribeservice.d.ts +++ b/node_modules/aws-sdk/clients/transcribeservice.d.ts @@ -292,11 +292,11 @@ declare class TranscribeService extends Service { */ untagResource(callback?: (err: AWSError, data: TranscribeService.Types.UntagResourceResponse) => void): Request; /** - * Updates the call analytics category with new values. The UpdateCallAnalyticsCategory operation overwrites all of the existing information with the values that you provide in the request. + * Updates the call analytics category with new values. The UpdateCallAnalyticsCategory operation overwrites all of the existing information with the values that you provide in the request. */ updateCallAnalyticsCategory(params: TranscribeService.Types.UpdateCallAnalyticsCategoryRequest, callback?: (err: AWSError, data: TranscribeService.Types.UpdateCallAnalyticsCategoryResponse) => void): Request; /** - * Updates the call analytics category with new values. The UpdateCallAnalyticsCategory operation overwrites all of the existing information with the values that you provide in the request. + * Updates the call analytics category with new values. The UpdateCallAnalyticsCategory operation overwrites all of the existing information with the values that you provide in the request. */ updateCallAnalyticsCategory(callback?: (err: AWSError, data: TranscribeService.Types.UpdateCallAnalyticsCategoryResponse) => void): Request; /** @@ -331,7 +331,7 @@ declare namespace TranscribeService { */ StartTime?: TimestampMilliseconds; /** - * A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values: StartTime - 10000 Endtime - 50000 The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call. + * A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values: StartTime - 10000 Endtime - 50000 The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call. */ EndTime?: TimestampMilliseconds; /** @@ -356,7 +356,7 @@ declare namespace TranscribeService { */ CallAnalyticsJobStatus?: CallAnalyticsJobStatus; /** - * If you know the language spoken between the customer and the agent, specify a language code for this field. If you don't know the language, you can leave this field blank, and Amazon Transcribe will use machine learning to automatically identify the language. To improve the accuracy of language identification, you can provide an array containing the possible language codes for the language spoken in your audio. Refer to Supported languages and language-specific features for additional information. + * If you know the language spoken between the customer and the agent, specify a language code for this field. If you don't know the language, you can leave this field blank, and Amazon Transcribe will use machine learning to automatically identify the language. To improve the accuracy of language identification, you can provide an array containing the possible language codes for the language spoken in your audio. Refer to Supported languages for additional information. */ LanguageCode?: LanguageCode; /** @@ -364,7 +364,7 @@ declare namespace TranscribeService { */ MediaSampleRateHertz?: MediaSampleRateHertz; /** - * The format of the input audio file. Note: for call analytics jobs, only the following media formats are supported: MP3, MP4, WAV, FLAC, OGG, and WebM. + * The format of the input audio file. Note: for call analytics jobs, only the following media formats are supported: MP3, MP4, WAV, FLAC, OGG, and WebM. */ MediaFormat?: MediaFormat; Media?: Media; @@ -390,7 +390,7 @@ declare namespace TranscribeService { */ DataAccessRoleArn?: DataAccessRoleArn; /** - * A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. This value appears only when you don't provide a single language code. Larger values indicate that Amazon Transcribe has higher confidence in the language that it identified + * A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. This value appears only when you don't provide a single language code. Larger values indicate that Amazon Transcribe has higher confidence in the language that it identified. */ IdentifiedLanguageScore?: IdentifiedLanguageScore; /** @@ -422,7 +422,7 @@ declare namespace TranscribeService { LanguageModelName?: ModelName; ContentRedaction?: ContentRedaction; /** - * When you run a call analytics job, you can specify the language spoken in the audio, or you can have Amazon Transcribe identify the language for you. To specify a language, specify an array with one language code. If you don't know the language, you can leave this field blank and Amazon Transcribe will use machine learning to identify the language for you. To improve the ability of Amazon Transcribe to correctly identify the language, you can provide an array of the languages that can be present in the audio. Refer to Supported languages and language-specific features for additional information. + * When you run a call analytics job, you can specify the language spoken in the audio, or you can have Amazon Transcribe identify the language for you. To specify a language, specify an array with one language code. If you don't know the language, you can leave this field blank and Amazon Transcribe will use machine learning to identify the language for you. To improve the ability of Amazon Transcribe to correctly identify the language, you can provide an array of the languages that can be present in the audio. Refer to Supported languages for additional information. */ LanguageOptions?: LanguageOptions; /** @@ -503,6 +503,10 @@ declare namespace TranscribeService { * The output transcript file stored in either the default S3 bucket or in a bucket you specify. When you choose redacted Amazon Transcribe outputs only the redacted transcript. When you choose redacted_and_unredacted Amazon Transcribe outputs both the redacted and unredacted transcripts. */ RedactionOutput: RedactionOutput; + /** + * The types of personally identifiable information (PII) you want to redact in your transcript. + */ + PiiEntityTypes?: PiiEntityTypes; } export interface CreateCallAnalyticsCategoryRequest { /** @@ -510,7 +514,7 @@ declare namespace TranscribeService { */ CategoryName: CategoryName; /** - * To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral. + * To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral. */ Rules: RuleList; } @@ -574,7 +578,7 @@ declare namespace TranscribeService { */ LanguageCode: LanguageCode; /** - * The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you're calling. Enter information about your VocabularyFileUri in the following format: https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey> The following is an example URI for a vocabulary file that is stored in Amazon S3: https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Medical Custom Vocabularies. + * The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you're calling. Enter information about your VocabularyFileUri in the following format: https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey> The following is an example URI for a vocabulary file that is stored in Amazon S3: https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Medical Custom Vocabularies. */ VocabularyFileUri: Uri; /** @@ -646,7 +650,7 @@ declare namespace TranscribeService { */ VocabularyName: VocabularyName; /** - * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see transcribe-whatis. + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see table-language-matrix. */ LanguageCode: LanguageCode; /** @@ -654,7 +658,7 @@ declare namespace TranscribeService { */ Phrases?: Phrases; /** - * The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is: For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Custom vocabularies. + * The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is: https://s3.<Amazon Web Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey> For example: https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Custom vocabularies. */ VocabularyFileUri?: Uri; /** @@ -912,7 +916,7 @@ declare namespace TranscribeService { */ ParticipantRole?: ParticipantRole; /** - * An object you can use to specify a time range (in milliseconds) for when you'd want to find the interruption. For example, you could search for an interruption between the 30,000 millisecond mark and the 45,000 millisecond mark. You could also specify the time period as the first 15,000 milliseconds or the last 15,000 milliseconds. + * An object you can use to specify a time range (in milliseconds) for when you'd want to find the interruption. For example, you could search for an interruption between the 30,000 millisecond mark and the 45,000 millisecond mark. You could also specify the time period as the first 15,000 milliseconds or the last 15,000 milliseconds. */ AbsoluteTimeRange?: AbsoluteTimeRange; /** @@ -939,15 +943,15 @@ declare namespace TranscribeService { export type LanguageCode = "af-ZA"|"ar-AE"|"ar-SA"|"cy-GB"|"da-DK"|"de-CH"|"de-DE"|"en-AB"|"en-AU"|"en-GB"|"en-IE"|"en-IN"|"en-US"|"en-WL"|"es-ES"|"es-US"|"fa-IR"|"fr-CA"|"fr-FR"|"ga-IE"|"gd-GB"|"he-IL"|"hi-IN"|"id-ID"|"it-IT"|"ja-JP"|"ko-KR"|"ms-MY"|"nl-NL"|"pt-BR"|"pt-PT"|"ru-RU"|"ta-IN"|"te-IN"|"tr-TR"|"zh-CN"|"zh-TW"|"th-TH"|"en-ZA"|"en-NZ"|string; export interface LanguageIdSettings { /** - * The name of the vocabulary you want to use when processing your transcription job. The vocabulary you specify must have the same language code as the transcription job; if the languages don't match, the vocabulary won't be applied. + * The name of the vocabulary you want to use when processing your transcription job. The vocabulary you specify must have the same language codes as the transcription job; if the languages don't match, the vocabulary isn't applied. */ VocabularyName?: VocabularyName; /** - * The name of the vocabulary filter you want to use when transcribing your audio. The filter you specify must have the same language code as the transcription job; if the languages don't match, the vocabulary filter won't be applied. + * The name of the vocabulary filter you want to use when transcribing your audio. The filter you specify must have the same language codes as the transcription job; if the languages don't match, the vocabulary filter isn't be applied. */ VocabularyFilterName?: VocabularyFilterName; /** - * The name of the language model you want to use when transcribing your audio. The model you specify must have the same language code as the transcription job; if the languages don't match, the language model won't be applied. + * The name of the language model you want to use when transcribing your audio. The model you specify must have the same language codes as the transcription job; if the languages don't match, the language model isn't be applied. */ LanguageModelName?: ModelName; } @@ -1244,11 +1248,11 @@ declare namespace TranscribeService { export type MaxSpeakers = number; export interface Media { /** - * The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is: For example: For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. + * The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is: s3://<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey> For example: s3://AWSDOC-EXAMPLE-BUCKET/example.mp4 s3://AWSDOC-EXAMPLE-BUCKET/mediadocs/example.mp4 For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. */ MediaFileUri?: Uri; /** - * The S3 object location for your redacted output media file. This is only supported for call analytics jobs. + * The S3 object location for your redacted output media file. This is only supported for call analytics jobs. */ RedactedMediaFileUri?: Uri; } @@ -1275,7 +1279,7 @@ declare namespace TranscribeService { */ LanguageCode?: LanguageCode; /** - * The sample rate, in Hertz, of the source audio containing medical information. If you don't specify the sample rate, Amazon Transcribe Medical determines it for you. If you choose to specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. In most cases, you should leave the MedicalMediaSampleHertz blank and let Amazon Transcribe Medical determine the sample rate. + * The sample rate, in Hertz, of the source audio containing medical information. If you don't specify the sample rate, Amazon Transcribe Medical determines it for you. If you choose to specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. */ MediaSampleRateHertz?: MediaSampleRateHertz; /** @@ -1300,7 +1304,7 @@ declare namespace TranscribeService { */ CompletionTime?: DateTime; /** - * If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed. The FailureReason field contains one of the following values: Unsupported media format- The media format specified in the MediaFormat field of the request isn't valid. See the description of the MediaFormat field for a list of valid values. The media format provided does not match the detected media format- The media format of the audio file doesn't match the format specified in the MediaFormat field in the request. Check the media format of your media file and make sure the two values match. Invalid sample rate for audio file- The sample rate specified in the MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8,000 and 48,000 Hertz. The sample rate provided does not match the detected sample rate- The sample rate in the audio file doesn't match the sample rate specified in the MediaSampleRateHertz field in the request. Check the sample rate of your media file and make sure that the two values match. Invalid file size: file size too large- The size of your audio file is larger than what Amazon Transcribe Medical can process. For more information, see Guidelines and Quotas in the Amazon Transcribe Medical Guide Invalid number of channels: number of channels too large- Your audio contains more channels than Amazon Transcribe Medical is configured to process. To request additional channels, see Amazon Transcribe Medical Endpoints and Quotas in the Amazon Web Services General Reference + * If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed. The FailureReason field contains one of the following values: Unsupported media format- The media format specified in the MediaFormat field of the request isn't valid. See the description of the MediaFormat field for a list of valid values. The media format provided does not match the detected media format- The media format of the audio file doesn't match the format specified in the MediaFormat field in the request. Check the media format of your media file and make sure the two values match. Invalid sample rate for audio file- The sample rate specified in the MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8,000 and 48,000 Hertz. The sample rate provided does not match the detected sample rate- The sample rate in the audio file doesn't match the sample rate specified in the MediaSampleRateHertz field in the request. Check the sample rate of your media file and make sure that the two values match. Invalid file size: file size too large- The size of your audio file is larger than what Amazon Transcribe Medical can process. For more information, see Guidelines and Quotas in the Amazon Transcribe Medical Guide. Invalid number of channels: number of channels too large- Your audio contains more channels than Amazon Transcribe Medical is configured to process. To request additional channels, see Amazon Transcribe Medical Endpoints and Quotas in the Amazon Web Services General Reference. */ FailureReason?: FailureReason; /** @@ -1381,7 +1385,7 @@ declare namespace TranscribeService { */ MaxSpeakerLabels?: MaxSpeakers; /** - * Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription. Amazon Transcribe Medical also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical. You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException + * Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription. Amazon Transcribe Medical also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical. You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException. */ ChannelIdentification?: Boolean; /** @@ -1433,6 +1437,8 @@ declare namespace TranscribeService { export type Percentage = number; export type Phrase = string; export type Phrases = Phrase[]; + export type PiiEntityType = "BANK_ACCOUNT_NUMBER"|"BANK_ROUTING"|"CREDIT_DEBIT_NUMBER"|"CREDIT_DEBIT_CVV"|"CREDIT_DEBIT_EXPIRY"|"PIN"|"EMAIL"|"ADDRESS"|"NAME"|"PHONE"|"SSN"|"ALL"|string; + export type PiiEntityTypes = PiiEntityType[]; export type RedactionOutput = "redacted"|"redacted_and_unredacted"|string; export type RedactionType = "PII"|string; export interface RelativeTimeRange { @@ -1490,7 +1496,7 @@ declare namespace TranscribeService { */ ParticipantRole?: ParticipantRole; /** - * Set to TRUE to look for sentiments that weren't specified in the request. + * Set to TRUE to look for sentiments that weren't specified in the request. */ Negate?: Boolean; } @@ -1510,7 +1516,7 @@ declare namespace TranscribeService { */ MaxSpeakerLabels?: MaxSpeakers; /** - * Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription. Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription. You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException. + * Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription. Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription. You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException. */ ChannelIdentification?: Boolean; /** @@ -1538,11 +1544,11 @@ declare namespace TranscribeService { CallAnalyticsJobName: CallAnalyticsJobName; Media: Media; /** - * The Amazon S3 location where the output of the call analytics job is stored. You can provide the following location types to store the output of call analytics job: s3://DOC-EXAMPLE-BUCKET1 If you specify a bucket, Amazon Transcribe saves the output of the analytics job as a JSON file at the root level of the bucket. s3://DOC-EXAMPLE-BUCKET1/folder/ f you specify a path, Amazon Transcribe saves the output of the analytics job as s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json If you specify a folder, you must provide a trailing slash. s3://DOC-EXAMPLE-BUCKET1/folder/filename.json If you provide a path that has the filename specified, Amazon Transcribe saves the output of the analytics job as s3://DOC-EXAMPLEBUCKET1/folder/filename.json You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt the output of our analytics job using the OutputEncryptionKMSKeyId parameter. If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption of the analytics job output that is placed in your S3 bucket. + * The Amazon S3 location where the output of the call analytics job is stored. You can provide the following location types to store the output of call analytics job: s3://DOC-EXAMPLE-BUCKET1 If you specify a bucket, Amazon Transcribe saves the output of the analytics job as a JSON file at the root level of the bucket. s3://DOC-EXAMPLE-BUCKET1/folder/ f you specify a path, Amazon Transcribe saves the output of the analytics job as s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json. If you specify a folder, you must provide a trailing slash. s3://DOC-EXAMPLE-BUCKET1/folder/filename.json. If you provide a path that has the filename specified, Amazon Transcribe saves the output of the analytics job as s3://DOC-EXAMPLEBUCKET1/folder/filename.json. You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt the output of our analytics job using the OutputEncryptionKMSKeyId parameter. If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption of the analytics job output that is placed in your S3 bucket. */ OutputLocation?: Uri; /** - * The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service key used to encrypt the output of the call analytics job. The user calling the operation must have permission to use the specified KMS key. You use either of the following to identify an Amazon Web Services KMS key in the current account: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" KMS Key Alias: "alias/ExampleAlias" You can use either of the following to identify a KMS key in the current account or another account: Amazon Resource Name (ARN) of a KMS key in the current account or another account: "arn:aws:kms:region:account ID:key/1234abcd-12ab-34cd-56ef1234567890ab" ARN of a KMS Key Alias: "arn:aws:kms:region:account ID:alias/ExampleAlias" If you don't specify an encryption key, the output of the call analytics job is encrypted with the default Amazon S3 key (SSE-S3). If you specify a KMS key to encrypt your output, you must also specify an output location in the OutputLocation parameter. + * The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service key used to encrypt the output of the call analytics job. The user calling the operation must have permission to use the specified KMS key. You use either of the following to identify an Amazon Web Services KMS key in the current account: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" KMS Key Alias: "alias/ExampleAlias" You can use either of the following to identify a KMS key in the current account or another account: Amazon Resource Name (ARN) of a KMS key in the current account or another account: "arn:aws:kms:region:account ID:key/1234abcd-12ab-34cd-56ef1234567890ab" ARN of a KMS Key Alias: "arn:aws:kms:region:accountID:alias/ExampleAlias" If you don't specify an encryption key, the output of the call analytics job is encrypted with the default Amazon S3 key (SSE-S3). If you specify a KMS key to encrypt your output, you must also specify an output location in the OutputLocation parameter. */ OutputEncryptionKMSKeyId?: KMSKeyId; /** @@ -1550,7 +1556,7 @@ declare namespace TranscribeService { */ DataAccessRoleArn: DataAccessRoleArn; /** - * A Settings object that provides optional settings for a call analytics job. + * A Settings object that provides optional settings for a call analytics job. */ Settings?: CallAnalyticsJobSettings; /** @@ -1717,7 +1723,7 @@ declare namespace TranscribeService { } export interface SubtitlesOutput { /** - * Specify the output format for your subtitle file; if you select both SRT and VTT formats, two output files are genereated. + * Specify the output format for your subtitle file; if you select both SRT and VTT formats, two output files are generated. */ Formats?: SubtitleFormats; /** @@ -1804,7 +1810,7 @@ declare namespace TranscribeService { */ LanguageCode?: LanguageCode; /** - * The sample rate, in Hertz, of the audio track in the input media file. + * The sample rate, in Hertz (Hz), of the audio track in the input media file. */ MediaSampleRateHertz?: MediaSampleRateHertz; /** @@ -1872,7 +1878,7 @@ declare namespace TranscribeService { */ Subtitles?: SubtitlesOutput; /** - * Language-specific settings that can be specified when language identification is enabled for your transcription job. These settings include VocabularyName, VocabularyFilterName, and LanguageModelNameLanguageModelName. + * Language-specific settings that can be specified when language identification is enabled for your transcription job. These settings include VocabularyName, VocabularyFilterName, and LanguageModelName. */ LanguageIdSettings?: LanguageIdSettingsMap; } @@ -1945,13 +1951,13 @@ declare namespace TranscribeService { */ CategoryName: CategoryName; /** - * The rules used for the updated analytics category. The rules that you provide in this field replace the ones that are currently being used. + * The rules used for the updated analytics category. The rules that you provide in this field replace the ones that are currently being used. */ Rules: RuleList; } export interface UpdateCallAnalyticsCategoryResponse { /** - * The attributes describing the analytics category. You can see information such as the rules that you've used to update the category and when the category was originally created. + * The attributes describing the analytics category. You can see information such as the rules that you've used to update the category and when the category was originally created. */ CategoryProperties?: CategoryProperties; } @@ -1961,7 +1967,7 @@ declare namespace TranscribeService { */ VocabularyName: VocabularyName; /** - * The language code of the language used for the entries in the updated vocabulary. US English (en-US) is the only valid language code in Amazon Transcribe Medical. + * The language code of the language used for the entries in the updated vocabulary. U.S. English (en-US) is the only valid language code in Amazon Transcribe Medical. */ LanguageCode: LanguageCode; /** @@ -2021,7 +2027,7 @@ declare namespace TranscribeService { */ VocabularyName: VocabularyName; /** - * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see transcribe-whatis. + * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see Supported languages. */ LanguageCode: LanguageCode; /** @@ -2029,7 +2035,7 @@ declare namespace TranscribeService { */ Phrases?: Phrases; /** - * The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is For example: For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Custom Vocabularies. + * The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is: https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey> For example: https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Custom Vocabularies. */ VocabularyFileUri?: Uri; } diff --git a/node_modules/aws-sdk/clients/wafv2.d.ts b/node_modules/aws-sdk/clients/wafv2.d.ts index 7bfe2c1b0..7d492e492 100644 --- a/node_modules/aws-sdk/clients/wafv2.d.ts +++ b/node_modules/aws-sdk/clients/wafv2.d.ts @@ -131,6 +131,14 @@ declare class WAFV2 extends Service { * Disassociates a web ACL from a regional application resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To disassociate a web ACL, provide an empty web ACL ID in the CloudFront call UpdateDistribution. For information, see UpdateDistribution. */ disassociateWebACL(callback?: (err: AWSError, data: WAFV2.Types.DisassociateWebACLResponse) => void): Request; + /** + * Generates a presigned download URL for the specified release of the mobile SDK. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. + */ + generateMobileSdkReleaseUrl(params: WAFV2.Types.GenerateMobileSdkReleaseUrlRequest, callback?: (err: AWSError, data: WAFV2.Types.GenerateMobileSdkReleaseUrlResponse) => void): Request; + /** + * Generates a presigned download URL for the specified release of the mobile SDK. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. + */ + generateMobileSdkReleaseUrl(callback?: (err: AWSError, data: WAFV2.Types.GenerateMobileSdkReleaseUrlResponse) => void): Request; /** * Retrieves the specified IPSet. */ @@ -155,6 +163,14 @@ declare class WAFV2 extends Service { * Retrieves the specified managed rule set. This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate. */ getManagedRuleSet(callback?: (err: AWSError, data: WAFV2.Types.GetManagedRuleSetResponse) => void): Request; + /** + * Retrieves information for the specified mobile SDK release, including release notes and tags. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. + */ + getMobileSdkRelease(params: WAFV2.Types.GetMobileSdkReleaseRequest, callback?: (err: AWSError, data: WAFV2.Types.GetMobileSdkReleaseResponse) => void): Request; + /** + * Retrieves information for the specified mobile SDK release, including release notes and tags. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. + */ + getMobileSdkRelease(callback?: (err: AWSError, data: WAFV2.Types.GetMobileSdkReleaseResponse) => void): Request; /** * Returns the IAM policy that is attached to the specified rule group. You must be the owner of the rule group to perform this operation. */ @@ -251,6 +267,14 @@ declare class WAFV2 extends Service { * Retrieves the managed rule sets that you own. This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate. */ listManagedRuleSets(callback?: (err: AWSError, data: WAFV2.Types.ListManagedRuleSetsResponse) => void): Request; + /** + * Retrieves a list of the available releases for the mobile SDK and the specified device platform. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. + */ + listMobileSdkReleases(params: WAFV2.Types.ListMobileSdkReleasesRequest, callback?: (err: AWSError, data: WAFV2.Types.ListMobileSdkReleasesResponse) => void): Request; + /** + * Retrieves a list of the available releases for the mobile SDK and the specified device platform. The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage Security Token Service (STS) security tokens for use in HTTP(S) requests from a mobile device to WAF. + */ + listMobileSdkReleases(callback?: (err: AWSError, data: WAFV2.Types.ListMobileSdkReleasesResponse) => void): Request; /** * Retrieves an array of RegexPatternSetSummary objects for the regex pattern sets that you manage. */ @@ -868,6 +892,7 @@ declare namespace WAFV2 { } export interface DisassociateWebACLResponse { } + export type DownloadUrl = string; export type EntityDescription = string; export type EntityId = string; export type EntityName = string; @@ -880,6 +905,7 @@ declare namespace WAFV2 { export type ExcludedRules = ExcludedRule[]; export type FailureReason = "TOKEN_MISSING"|"TOKEN_EXPIRED"|string; export type FallbackBehavior = "MATCH"|"NO_MATCH"|string; + export type FieldIdentifier = string; export interface FieldToMatch { /** * Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive. Example JSON: "SingleHeader": { "Name": "haystack" } @@ -977,6 +1003,22 @@ declare namespace WAFV2 { } export type ForwardedIPHeaderName = string; export type ForwardedIPPosition = "FIRST"|"LAST"|"ANY"|string; + export interface GenerateMobileSdkReleaseUrlRequest { + /** + * The device platform. + */ + Platform: Platform; + /** + * The release version. For the latest available version, specify LATEST. + */ + ReleaseVersion: VersionKeyString; + } + export interface GenerateMobileSdkReleaseUrlResponse { + /** + * The presigned download URL for the specified SDK release. + */ + Url?: DownloadUrl; + } export interface GeoMatchStatement { /** * An array of two-character country codes, for example, [ "US", "CN" ], from the alpha-2 country ISO codes of the ISO 3166 international standard. @@ -1047,6 +1089,22 @@ declare namespace WAFV2 { */ LockToken?: LockToken; } + export interface GetMobileSdkReleaseRequest { + /** + * The device platform. + */ + Platform: Platform; + /** + * The release version. For the latest available version, specify LATEST. + */ + ReleaseVersion: VersionKeyString; + } + export interface GetMobileSdkReleaseResponse { + /** + * Information for a specified SDK release, including release notes and tags. + */ + MobileSdkRelease?: MobileSdkRelease; + } export interface GetPermissionPolicyRequest { /** * The Amazon Resource Name (ARN) of the rule group for which you want to get the policy. @@ -1214,6 +1272,10 @@ declare namespace WAFV2 { * A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation. */ LockToken?: LockToken; + /** + * The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group AWSManagedRulesATPRuleSet. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see WAF application integration in the WAF Developer Guide. + */ + ApplicationIntegrationURL?: OutputUrl; } export interface HTTPHeader { /** @@ -1528,6 +1590,30 @@ declare namespace WAFV2 { ManagedRuleSets?: ManagedRuleSetSummaries; } export type ListMaxItems = number; + export interface ListMobileSdkReleasesRequest { + /** + * The device platform to retrieve the list for. + */ + Platform: Platform; + /** + * When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request. + */ + NextMarker?: NextMarker; + /** + * The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of objects. + */ + Limit?: PaginationLimit; + } + export interface ListMobileSdkReleasesResponse { + /** + * High level information for the available SDK releases. + */ + ReleaseSummaries?: ReleaseSummaries; + /** + * When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request. + */ + NextMarker?: NextMarker; + } export interface ListRegexPatternSetsRequest { /** * Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1. @@ -1675,6 +1761,26 @@ declare namespace WAFV2 { */ DefaultBehavior: FilterBehavior; } + export type LoginPathString = string; + export interface ManagedRuleGroupConfig { + /** + * The login endpoint for your application. For example https://example.com/web/login. + */ + LoginPath?: LoginPathString; + /** + * The payload type for your login endpoint, either JSON or form encoded. + */ + PayloadType?: PayloadType; + /** + * Details about your login page username field. + */ + UsernameField?: UsernameField; + /** + * Details about your login page password field. + */ + PasswordField?: PasswordField; + } + export type ManagedRuleGroupConfigs = ManagedRuleGroupConfig[]; export interface ManagedRuleGroupStatement { /** * The name of the managed rule group vendor. You use this, along with the rule group name, to identify the rule group. @@ -1696,6 +1802,10 @@ declare namespace WAFV2 { * An optional nested statement that narrows the scope of the web requests that are evaluated by the managed rule group. Requests are only evaluated by the rule group if they match the scope-down statement. You can use any nestable Statement in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement. */ ScopeDownStatement?: Statement; + /** + * Additional information that's used by a managed rule group. Most managed rule groups don't require this. Use this for the account takeover prevention managed rule group AWSManagedRulesATPRuleSet, to provide information about the sign-in page of your application. + */ + ManagedRuleGroupConfigs?: ManagedRuleGroupConfigs; } export type ManagedRuleGroupSummaries = ManagedRuleGroupSummary[]; export interface ManagedRuleGroupSummary { @@ -1809,6 +1919,24 @@ declare namespace WAFV2 { export interface Method { } export type MetricName = string; + export interface MobileSdkRelease { + /** + * The release version. + */ + ReleaseVersion?: VersionKeyString; + /** + * The timestamp of the release. + */ + Timestamp?: Timestamp; + /** + * Notes describing the release. + */ + ReleaseNotes?: ReleaseNotes; + /** + * Tags that are associated with the release. + */ + Tags?: TagList; + } export type NextMarker = string; export interface NoneAction { } @@ -1824,6 +1952,7 @@ declare namespace WAFV2 { */ Statements: Statements; } + export type OutputUrl = string; export interface OverrideAction { /** * Override the rule group evaluation result to count only. This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings. @@ -1835,6 +1964,14 @@ declare namespace WAFV2 { None?: NoneAction; } export type PaginationLimit = number; + export interface PasswordField { + /** + * The name of the password field. For example /form/password. + */ + Identifier: FieldIdentifier; + } + export type PayloadType = "JSON"|"FORM_ENCODED"|string; + export type Platform = "IOS"|"ANDROID"|string; export type PolicyString = string; export type PopulationSize = number; export type PositionalConstraint = "EXACTLY"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CONTAINS_WORD"|string; @@ -2009,6 +2146,18 @@ declare namespace WAFV2 { } export type RegexPatternString = string; export type RegularExpressionList = Regex[]; + export type ReleaseNotes = string; + export type ReleaseSummaries = ReleaseSummary[]; + export interface ReleaseSummary { + /** + * The release version. + */ + ReleaseVersion?: VersionKeyString; + /** + * The timestamp of the release. + */ + Timestamp?: Timestamp; + } export type ResourceArn = string; export type ResourceArns = ResourceArn[]; export type ResourceType = "APPLICATION_LOAD_BALANCER"|"API_GATEWAY"|"APPSYNC"|string; @@ -2576,6 +2725,12 @@ declare namespace WAFV2 { } export interface UriPath { } + export interface UsernameField { + /** + * The name of the username field. For example /form/username. + */ + Identifier: FieldIdentifier; + } export type VendorName = string; export type VersionKeyString = string; export interface VersionToPublish { diff --git a/node_modules/aws-sdk/clients/workspaces.d.ts b/node_modules/aws-sdk/clients/workspaces.d.ts index 58c72549b..0bff470bd 100644 --- a/node_modules/aws-sdk/clients/workspaces.d.ts +++ b/node_modules/aws-sdk/clients/workspaces.d.ts @@ -43,6 +43,14 @@ declare class WorkSpaces extends Service { * Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image. In the China (Ningxia) Region, you can copy images only within the same Region. In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support. Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations. */ copyWorkspaceImage(callback?: (err: AWSError, data: WorkSpaces.Types.CopyWorkspaceImageResult) => void): Request; + /** + * Creates a client-add-in for Amazon Connect within a directory. You can create only one Amazon Connect client add-in within a directory. This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect. + */ + createConnectClientAddIn(params: WorkSpaces.Types.CreateConnectClientAddInRequest, callback?: (err: AWSError, data: WorkSpaces.Types.CreateConnectClientAddInResult) => void): Request; + /** + * Creates a client-add-in for Amazon Connect within a directory. You can create only one Amazon Connect client add-in within a directory. This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect. + */ + createConnectClientAddIn(callback?: (err: AWSError, data: WorkSpaces.Types.CreateConnectClientAddInResult) => void): Request; /** * Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces. */ @@ -91,6 +99,14 @@ declare class WorkSpaces extends Service { * Creates one or more WorkSpaces. This operation is asynchronous and returns before the WorkSpaces are created. */ createWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.CreateWorkspacesResult) => void): Request; + /** + * Deletes a client-add-in for Amazon Connect that is configured within a directory. + */ + deleteConnectClientAddIn(params: WorkSpaces.Types.DeleteConnectClientAddInRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DeleteConnectClientAddInResult) => void): Request; + /** + * Deletes a client-add-in for Amazon Connect that is configured within a directory. + */ + deleteConnectClientAddIn(callback?: (err: AWSError, data: WorkSpaces.Types.DeleteConnectClientAddInResult) => void): Request; /** * Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces. If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection. To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories. */ @@ -163,6 +179,14 @@ declare class WorkSpaces extends Service { * Retrieves a list that describes one or more specified Amazon WorkSpaces clients. */ describeClientProperties(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeClientPropertiesResult) => void): Request; + /** + * Retrieves a list of Amazon Connect client add-ins that have been created. + */ + describeConnectClientAddIns(params: WorkSpaces.Types.DescribeConnectClientAddInsRequest, callback?: (err: AWSError, data: WorkSpaces.Types.DescribeConnectClientAddInsResult) => void): Request; + /** + * Retrieves a list of Amazon Connect client add-ins that have been created. + */ + describeConnectClientAddIns(callback?: (err: AWSError, data: WorkSpaces.Types.DescribeConnectClientAddInsResult) => void): Request; /** * Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces. */ @@ -411,6 +435,14 @@ declare class WorkSpaces extends Service { * Terminates the specified WorkSpaces. Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact Amazon Web Services Support before terminating the WorkSpace. You can terminate a WorkSpace that is in any state except SUSPENDED. This operation is asynchronous and returns before the WorkSpaces have been completely terminated. After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated. Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms. To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again. */ terminateWorkspaces(callback?: (err: AWSError, data: WorkSpaces.Types.TerminateWorkspacesResult) => void): Request; + /** + * Updates a Amazon Connect client add-in. Use this action to update the name and endpoint URL of a Amazon Connect client add-in. + */ + updateConnectClientAddIn(params: WorkSpaces.Types.UpdateConnectClientAddInRequest, callback?: (err: AWSError, data: WorkSpaces.Types.UpdateConnectClientAddInResult) => void): Request; + /** + * Updates a Amazon Connect client add-in. Use this action to update the name and endpoint URL of a Amazon Connect client add-in. + */ + updateConnectClientAddIn(callback?: (err: AWSError, data: WorkSpaces.Types.UpdateConnectClientAddInResult) => void): Request; /** * Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces. Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED. To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories. */ @@ -474,7 +506,10 @@ declare namespace WorkSpaces { ErrorMessage?: Description; } export type AccountModificationList = AccountModification[]; + export type AddInName = string; + export type AddInUrl = string; export type Alias = string; + export type AmazonUuid = string; export type Application = "Microsoft_Office_2016"|"Microsoft_Office_2019"|string; export type ApplicationList = Application[]; export interface AssociateConnectionAliasRequest { @@ -549,6 +584,25 @@ declare namespace WorkSpaces { Name?: Compute; } export type ComputerName = string; + export interface ConnectClientAddIn { + /** + * The client add-in identifier. + */ + AddInId?: AmazonUuid; + /** + * The directory identifier for which the client add-in is configured. + */ + ResourceId?: DirectoryId; + /** + * The name of the client add in. + */ + Name?: AddInName; + /** + * The endpoint URL of the client add-in. + */ + URL?: AddInUrl; + } + export type ConnectClientAddInList = ConnectClientAddIn[]; export interface ConnectionAlias { /** * The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com. @@ -636,6 +690,26 @@ declare namespace WorkSpaces { */ ImageId?: WorkspaceImageId; } + export interface CreateConnectClientAddInRequest { + /** + * The directory identifier for which to configure the client add-in. + */ + ResourceId: DirectoryId; + /** + * The name of the client add-in. + */ + Name: AddInName; + /** + * The endpoint URL of the Amazon Connect client add-in. + */ + URL: AddInUrl; + } + export interface CreateConnectClientAddInResult { + /** + * The client add-in identifier. + */ + AddInId?: AmazonUuid; + } export interface CreateConnectionAliasRequest { /** * A connection string in the form of a fully qualified domain name (FQDN), such as www.example.com. After you create a connection string, it is always associated to your Amazon Web Services account. You cannot recreate the same connection string with a different account, even if you delete all instances of it from the original account. The connection string is globally reserved for your account. @@ -784,6 +858,18 @@ declare namespace WorkSpaces { */ EnableMaintenanceMode?: BooleanObject; } + export interface DeleteConnectClientAddInRequest { + /** + * The identifier of the client add-in to delete. + */ + AddInId: AmazonUuid; + /** + * The directory identifier for which the client add-in is configured. + */ + ResourceId: DirectoryId; + } + export interface DeleteConnectClientAddInResult { + } export interface DeleteConnectionAliasRequest { /** * The identifier of the connection alias to delete. @@ -876,6 +962,30 @@ declare namespace WorkSpaces { */ ClientPropertiesList?: ClientPropertiesList; } + export interface DescribeConnectClientAddInsRequest { + /** + * The directory identifier for which the client add-in is configured. + */ + ResourceId: DirectoryId; + /** + * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. + */ + NextToken?: PaginationToken; + /** + * The maximum number of items to return. + */ + MaxResults?: Limit; + } + export interface DescribeConnectClientAddInsResult { + /** + * Information about client add-ins. + */ + AddIns?: ConnectClientAddInList; + /** + * The token to use to retrieve the next page of results. This value is null when there are no more results to return. + */ + NextToken?: PaginationToken; + } export interface DescribeConnectionAliasPermissionsRequest { /** * The identifier of the connection alias. @@ -1623,6 +1733,26 @@ declare namespace WorkSpaces { FailedRequests?: FailedTerminateWorkspaceRequests; } export type Timestamp = Date; + export interface UpdateConnectClientAddInRequest { + /** + * The identifier of the client add-in to update. + */ + AddInId: AmazonUuid; + /** + * The directory identifier for which the client add-in is configured. + */ + ResourceId: DirectoryId; + /** + * The name of the client add-in. + */ + Name?: AddInName; + /** + * The endpoint URL of the Amazon Connect client add-in. + */ + URL?: AddInUrl; + } + export interface UpdateConnectClientAddInResult { + } export interface UpdateConnectionAliasPermissionRequest { /** * The identifier of the connection alias that you want to update permissions for. diff --git a/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js b/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js index b17a047c1..0bc51ec70 100644 --- a/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +++ b/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1051.0', + VERSION: '2.1075.0', /** * @api private @@ -9228,6 +9228,18 @@ return /******/ (function(modules) { // webpackBootstrap var TYPE_NULL = 7; var TYPE_ARRAY_NUMBER = 8; var TYPE_ARRAY_STRING = 9; + var TYPE_NAME_TABLE = { + 0: 'number', + 1: 'any', + 2: 'string', + 3: 'array', + 4: 'object', + 5: 'boolean', + 6: 'expression', + 7: 'null', + 8: 'Array', + 9: 'Array' + }; var TOK_EOF = "EOF"; var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; @@ -9639,10 +9651,8 @@ return /******/ (function(modules) { // webpackBootstrap var node = {type: "Field", name: token.value}; if (this._lookahead(0) === TOK_LPAREN) { throw new Error("Quoted identifier not allowed for function names."); - } else { - return node; } - break; + return node; case TOK_NOT: right = this.expression(bindingPower.Not); return {type: "NotExpression", children: [right]}; @@ -9676,10 +9686,8 @@ return /******/ (function(modules) { // webpackBootstrap right = this._parseProjectionRHS(bindingPower.Star); return {type: "Projection", children: [{type: "Identity"}, right]}; - } else { - return this._parseMultiselectList(); } - break; + return this._parseMultiselectList(); case TOK_CURRENT: return {type: TOK_CURRENT}; case TOK_EXPREF: @@ -9711,13 +9719,11 @@ return /******/ (function(modules) { // webpackBootstrap if (this._lookahead(0) !== TOK_STAR) { right = this._parseDotRHS(rbp); return {type: "Subexpression", children: [left, right]}; - } else { - // Creating a projection. - this._advance(); - right = this._parseProjectionRHS(rbp); - return {type: "ValueProjection", children: [left, right]}; } - break; + // Creating a projection. + this._advance(); + right = this._parseProjectionRHS(rbp); + return {type: "ValueProjection", children: [left, right]}; case TOK_PIPE: right = this.expression(bindingPower.Pipe); return {type: TOK_PIPE, children: [left, right]}; @@ -9771,13 +9777,11 @@ return /******/ (function(modules) { // webpackBootstrap if (token.type === TOK_NUMBER || token.type === TOK_COLON) { right = this._parseIndexExpression(); return this._projectIfSlice(left, right); - } else { - this._match(TOK_STAR); - this._match(TOK_RBRACKET); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", children: [left, right]}; } - break; + this._match(TOK_STAR); + this._match(TOK_RBRACKET); + right = this._parseProjectionRHS(bindingPower.Star); + return {type: "Projection", children: [left, right]}; default: this._errorToken(this._lookaheadToken(0)); } @@ -9954,19 +9958,15 @@ return /******/ (function(modules) { // webpackBootstrap var matched, current, result, first, second, field, left, right, collected, i; switch (node.type) { case "Field": - if (value === null ) { - return null; - } else if (isObject(value)) { + if (value !== null && isObject(value)) { field = value[node.name]; if (field === undefined) { return null; } else { return field; } - } else { - return null; } - break; + return null; case "Subexpression": result = this.visit(node.children[0], value); for (i = 1; i < node.children.length; i++) { @@ -10337,11 +10337,16 @@ return /******/ (function(modules) { // webpackBootstrap } } if (!typeMatched) { + var expected = currentSpec + .map(function(typeIdentifier) { + return TYPE_NAME_TABLE[typeIdentifier]; + }) + .join(','); throw new Error("TypeError: " + name + "() " + "expected argument " + (i + 1) + - " to be type " + currentSpec + - " but received type " + actualType + - " instead."); + " to be type " + expected + + " but received type " + + TYPE_NAME_TABLE[actualType] + " instead."); } } }, @@ -12075,8 +12080,9 @@ return /******/ (function(modules) { // webpackBootstrap }, validateStructure: function validateStructure(shape, params, context) { - this.validateType(params, context, ['object'], 'structure'); + if (shape.isDocument) return true; + this.validateType(params, context, ['object'], 'structure'); var paramName; for (var i = 0; shape.required && i < shape.required.length; i++) { paramName = shape.required[i]; diff --git a/node_modules/aws-sdk/dist/aws-sdk-react-native.js b/node_modules/aws-sdk/dist/aws-sdk-react-native.js index 5981ea020..b374b3d5f 100644 --- a/node_modules/aws-sdk/dist/aws-sdk-react-native.js +++ b/node_modules/aws-sdk/dist/aws-sdk-react-native.js @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1051.0', + VERSION: '2.1075.0', /** * @api private @@ -9540,6 +9540,18 @@ return /******/ (function(modules) { // webpackBootstrap var TYPE_NULL = 7; var TYPE_ARRAY_NUMBER = 8; var TYPE_ARRAY_STRING = 9; + var TYPE_NAME_TABLE = { + 0: 'number', + 1: 'any', + 2: 'string', + 3: 'array', + 4: 'object', + 5: 'boolean', + 6: 'expression', + 7: 'null', + 8: 'Array', + 9: 'Array' + }; var TOK_EOF = "EOF"; var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; @@ -9951,10 +9963,8 @@ return /******/ (function(modules) { // webpackBootstrap var node = {type: "Field", name: token.value}; if (this._lookahead(0) === TOK_LPAREN) { throw new Error("Quoted identifier not allowed for function names."); - } else { - return node; } - break; + return node; case TOK_NOT: right = this.expression(bindingPower.Not); return {type: "NotExpression", children: [right]}; @@ -9988,10 +9998,8 @@ return /******/ (function(modules) { // webpackBootstrap right = this._parseProjectionRHS(bindingPower.Star); return {type: "Projection", children: [{type: "Identity"}, right]}; - } else { - return this._parseMultiselectList(); } - break; + return this._parseMultiselectList(); case TOK_CURRENT: return {type: TOK_CURRENT}; case TOK_EXPREF: @@ -10023,13 +10031,11 @@ return /******/ (function(modules) { // webpackBootstrap if (this._lookahead(0) !== TOK_STAR) { right = this._parseDotRHS(rbp); return {type: "Subexpression", children: [left, right]}; - } else { - // Creating a projection. - this._advance(); - right = this._parseProjectionRHS(rbp); - return {type: "ValueProjection", children: [left, right]}; } - break; + // Creating a projection. + this._advance(); + right = this._parseProjectionRHS(rbp); + return {type: "ValueProjection", children: [left, right]}; case TOK_PIPE: right = this.expression(bindingPower.Pipe); return {type: TOK_PIPE, children: [left, right]}; @@ -10083,13 +10089,11 @@ return /******/ (function(modules) { // webpackBootstrap if (token.type === TOK_NUMBER || token.type === TOK_COLON) { right = this._parseIndexExpression(); return this._projectIfSlice(left, right); - } else { - this._match(TOK_STAR); - this._match(TOK_RBRACKET); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", children: [left, right]}; } - break; + this._match(TOK_STAR); + this._match(TOK_RBRACKET); + right = this._parseProjectionRHS(bindingPower.Star); + return {type: "Projection", children: [left, right]}; default: this._errorToken(this._lookaheadToken(0)); } @@ -10266,19 +10270,15 @@ return /******/ (function(modules) { // webpackBootstrap var matched, current, result, first, second, field, left, right, collected, i; switch (node.type) { case "Field": - if (value === null ) { - return null; - } else if (isObject(value)) { + if (value !== null && isObject(value)) { field = value[node.name]; if (field === undefined) { return null; } else { return field; } - } else { - return null; } - break; + return null; case "Subexpression": result = this.visit(node.children[0], value); for (i = 1; i < node.children.length; i++) { @@ -10649,11 +10649,16 @@ return /******/ (function(modules) { // webpackBootstrap } } if (!typeMatched) { + var expected = currentSpec + .map(function(typeIdentifier) { + return TYPE_NAME_TABLE[typeIdentifier]; + }) + .join(','); throw new Error("TypeError: " + name + "() " + "expected argument " + (i + 1) + - " to be type " + currentSpec + - " but received type " + actualType + - " instead."); + " to be type " + expected + + " but received type " + + TYPE_NAME_TABLE[actualType] + " instead."); } } }, @@ -12387,8 +12392,9 @@ return /******/ (function(modules) { // webpackBootstrap }, validateStructure: function validateStructure(shape, params, context) { - this.validateType(params, context, ['object'], 'structure'); + if (shape.isDocument) return true; + this.validateType(params, context, ['object'], 'structure'); var paramName; for (var i = 0; shape.required && i < shape.required.length; i++) { paramName = shape.required[i]; @@ -31583,7 +31589,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 72 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-10-20","endpointPrefix":"budgets","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"AWSBudgets","serviceFullName":"AWS Budgets","serviceId":"Budgets","signatureVersion":"v4","targetPrefix":"AWSBudgetServiceGateway","uid":"budgets-2016-10-20"},"operations":{"CreateBudget":{"input":{"type":"structure","required":["AccountId","Budget"],"members":{"AccountId":{},"Budget":{"shape":"S3"},"NotificationsWithSubscribers":{"type":"list","member":{"type":"structure","required":["Notification","Subscribers"],"members":{"Notification":{"shape":"Sl"},"Subscribers":{"shape":"Sr"}}}}}},"output":{"type":"structure","members":{}}},"CreateBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","NotificationType","ActionType","ActionThreshold","Definition","ExecutionRoleArn","ApprovalModel","Subscribers"],"members":{"AccountId":{},"BudgetName":{},"NotificationType":{},"ActionType":{},"ActionThreshold":{"shape":"Sy"},"Definition":{"shape":"Sz"},"ExecutionRoleArn":{},"ApprovalModel":{},"Subscribers":{"shape":"Sr"}}},"output":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{}}}},"CreateNotification":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification","Subscribers"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sl"},"Subscribers":{"shape":"Sr"}}},"output":{"type":"structure","members":{}}},"CreateSubscriber":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification","Subscriber"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sl"},"Subscriber":{"shape":"Ss"}}},"output":{"type":"structure","members":{}}},"DeleteBudget":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{}}},"output":{"type":"structure","members":{}}},"DeleteBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{}}},"output":{"type":"structure","required":["AccountId","BudgetName","Action"],"members":{"AccountId":{},"BudgetName":{},"Action":{"shape":"S1t"}}}},"DeleteNotification":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sl"}}},"output":{"type":"structure","members":{}}},"DeleteSubscriber":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification","Subscriber"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sl"},"Subscriber":{"shape":"Ss"}}},"output":{"type":"structure","members":{}}},"DescribeBudget":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{}}},"output":{"type":"structure","members":{"Budget":{"shape":"S3"}}}},"DescribeBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{}}},"output":{"type":"structure","required":["AccountId","BudgetName","Action"],"members":{"AccountId":{},"BudgetName":{},"Action":{"shape":"S1t"}}}},"DescribeBudgetActionHistories":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{},"TimePeriod":{"shape":"Sf"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["ActionHistories"],"members":{"ActionHistories":{"type":"list","member":{"type":"structure","required":["Timestamp","Status","EventType","ActionHistoryDetails"],"members":{"Timestamp":{"type":"timestamp"},"Status":{},"EventType":{},"ActionHistoryDetails":{"type":"structure","required":["Message","Action"],"members":{"Message":{},"Action":{"shape":"S1t"}}}}}},"NextToken":{}}}},"DescribeBudgetActionsForAccount":{"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Actions"],"members":{"Actions":{"shape":"S2c"},"NextToken":{}}}},"DescribeBudgetActionsForBudget":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Actions"],"members":{"Actions":{"shape":"S2c"},"NextToken":{}}}},"DescribeBudgetPerformanceHistory":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{},"TimePeriod":{"shape":"Sf"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BudgetPerformanceHistory":{"type":"structure","members":{"BudgetName":{},"BudgetType":{},"CostFilters":{"shape":"Sa"},"CostTypes":{"shape":"Sc"},"TimeUnit":{},"BudgetedAndActualAmountsList":{"type":"list","member":{"type":"structure","members":{"BudgetedAmount":{"shape":"S5"},"ActualAmount":{"shape":"S5"},"TimePeriod":{"shape":"Sf"}}}}}},"NextToken":{}}}},"DescribeBudgets":{"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Budgets":{"type":"list","member":{"shape":"S3"}},"NextToken":{}}}},"DescribeNotificationsForBudget":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Notifications":{"type":"list","member":{"shape":"Sl"}},"NextToken":{}}}},"DescribeSubscribersForNotification":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sl"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Subscribers":{"shape":"Sr"},"NextToken":{}}}},"ExecuteBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId","ExecutionType"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{},"ExecutionType":{}}},"output":{"type":"structure","required":["AccountId","BudgetName","ActionId","ExecutionType"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{},"ExecutionType":{}}}},"UpdateBudget":{"input":{"type":"structure","required":["AccountId","NewBudget"],"members":{"AccountId":{},"NewBudget":{"shape":"S3"}}},"output":{"type":"structure","members":{}}},"UpdateBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{},"NotificationType":{},"ActionThreshold":{"shape":"Sy"},"Definition":{"shape":"Sz"},"ExecutionRoleArn":{},"ApprovalModel":{},"Subscribers":{"shape":"Sr"}}},"output":{"type":"structure","required":["AccountId","BudgetName","OldAction","NewAction"],"members":{"AccountId":{},"BudgetName":{},"OldAction":{"shape":"S1t"},"NewAction":{"shape":"S1t"}}}},"UpdateNotification":{"input":{"type":"structure","required":["AccountId","BudgetName","OldNotification","NewNotification"],"members":{"AccountId":{},"BudgetName":{},"OldNotification":{"shape":"Sl"},"NewNotification":{"shape":"Sl"}}},"output":{"type":"structure","members":{}}},"UpdateSubscriber":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification","OldSubscriber","NewSubscriber"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sl"},"OldSubscriber":{"shape":"Ss"},"NewSubscriber":{"shape":"Ss"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S3":{"type":"structure","required":["BudgetName","TimeUnit","BudgetType"],"members":{"BudgetName":{},"BudgetLimit":{"shape":"S5"},"PlannedBudgetLimits":{"type":"map","key":{},"value":{"shape":"S5"}},"CostFilters":{"shape":"Sa"},"CostTypes":{"shape":"Sc"},"TimeUnit":{},"TimePeriod":{"shape":"Sf"},"CalculatedSpend":{"type":"structure","required":["ActualSpend"],"members":{"ActualSpend":{"shape":"S5"},"ForecastedSpend":{"shape":"S5"}}},"BudgetType":{},"LastUpdatedTime":{"type":"timestamp"}}},"S5":{"type":"structure","required":["Amount","Unit"],"members":{"Amount":{},"Unit":{}}},"Sa":{"type":"map","key":{},"value":{"type":"list","member":{}}},"Sc":{"type":"structure","members":{"IncludeTax":{"type":"boolean"},"IncludeSubscription":{"type":"boolean"},"UseBlended":{"type":"boolean"},"IncludeRefund":{"type":"boolean"},"IncludeCredit":{"type":"boolean"},"IncludeUpfront":{"type":"boolean"},"IncludeRecurring":{"type":"boolean"},"IncludeOtherSubscription":{"type":"boolean"},"IncludeSupport":{"type":"boolean"},"IncludeDiscount":{"type":"boolean"},"UseAmortized":{"type":"boolean"}}},"Sf":{"type":"structure","members":{"Start":{"type":"timestamp"},"End":{"type":"timestamp"}}},"Sl":{"type":"structure","required":["NotificationType","ComparisonOperator","Threshold"],"members":{"NotificationType":{},"ComparisonOperator":{},"Threshold":{"type":"double"},"ThresholdType":{},"NotificationState":{}}},"Sr":{"type":"list","member":{"shape":"Ss"}},"Ss":{"type":"structure","required":["SubscriptionType","Address"],"members":{"SubscriptionType":{},"Address":{"type":"string","sensitive":true}}},"Sy":{"type":"structure","required":["ActionThresholdValue","ActionThresholdType"],"members":{"ActionThresholdValue":{"type":"double"},"ActionThresholdType":{}}},"Sz":{"type":"structure","members":{"IamActionDefinition":{"type":"structure","required":["PolicyArn"],"members":{"PolicyArn":{},"Roles":{"type":"list","member":{}},"Groups":{"type":"list","member":{}},"Users":{"type":"list","member":{}}}},"ScpActionDefinition":{"type":"structure","required":["PolicyId","TargetIds"],"members":{"PolicyId":{},"TargetIds":{"type":"list","member":{}}}},"SsmActionDefinition":{"type":"structure","required":["ActionSubType","Region","InstanceIds"],"members":{"ActionSubType":{},"Region":{},"InstanceIds":{"type":"list","member":{}}}}}},"S1t":{"type":"structure","required":["ActionId","BudgetName","NotificationType","ActionType","ActionThreshold","Definition","ExecutionRoleArn","ApprovalModel","Status","Subscribers"],"members":{"ActionId":{},"BudgetName":{},"NotificationType":{},"ActionType":{},"ActionThreshold":{"shape":"Sy"},"Definition":{"shape":"Sz"},"ExecutionRoleArn":{},"ApprovalModel":{},"Status":{},"Subscribers":{"shape":"Sr"}}},"S2c":{"type":"list","member":{"shape":"S1t"}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-10-20","endpointPrefix":"budgets","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"AWSBudgets","serviceFullName":"AWS Budgets","serviceId":"Budgets","signatureVersion":"v4","targetPrefix":"AWSBudgetServiceGateway","uid":"budgets-2016-10-20"},"operations":{"CreateBudget":{"input":{"type":"structure","required":["AccountId","Budget"],"members":{"AccountId":{},"Budget":{"shape":"S3"},"NotificationsWithSubscribers":{"type":"list","member":{"type":"structure","required":["Notification","Subscribers"],"members":{"Notification":{"shape":"Sp"},"Subscribers":{"shape":"Sv"}}}}}},"output":{"type":"structure","members":{}}},"CreateBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","NotificationType","ActionType","ActionThreshold","Definition","ExecutionRoleArn","ApprovalModel","Subscribers"],"members":{"AccountId":{},"BudgetName":{},"NotificationType":{},"ActionType":{},"ActionThreshold":{"shape":"S12"},"Definition":{"shape":"S13"},"ExecutionRoleArn":{},"ApprovalModel":{},"Subscribers":{"shape":"Sv"}}},"output":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{}}}},"CreateNotification":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification","Subscribers"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sp"},"Subscribers":{"shape":"Sv"}}},"output":{"type":"structure","members":{}}},"CreateSubscriber":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification","Subscriber"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sp"},"Subscriber":{"shape":"Sw"}}},"output":{"type":"structure","members":{}}},"DeleteBudget":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{}}},"output":{"type":"structure","members":{}}},"DeleteBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{}}},"output":{"type":"structure","required":["AccountId","BudgetName","Action"],"members":{"AccountId":{},"BudgetName":{},"Action":{"shape":"S1x"}}}},"DeleteNotification":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sp"}}},"output":{"type":"structure","members":{}}},"DeleteSubscriber":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification","Subscriber"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sp"},"Subscriber":{"shape":"Sw"}}},"output":{"type":"structure","members":{}}},"DescribeBudget":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{}}},"output":{"type":"structure","members":{"Budget":{"shape":"S3"}}}},"DescribeBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{}}},"output":{"type":"structure","required":["AccountId","BudgetName","Action"],"members":{"AccountId":{},"BudgetName":{},"Action":{"shape":"S1x"}}}},"DescribeBudgetActionHistories":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{},"TimePeriod":{"shape":"Sf"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["ActionHistories"],"members":{"ActionHistories":{"type":"list","member":{"type":"structure","required":["Timestamp","Status","EventType","ActionHistoryDetails"],"members":{"Timestamp":{"type":"timestamp"},"Status":{},"EventType":{},"ActionHistoryDetails":{"type":"structure","required":["Message","Action"],"members":{"Message":{},"Action":{"shape":"S1x"}}}}}},"NextToken":{}}}},"DescribeBudgetActionsForAccount":{"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Actions"],"members":{"Actions":{"shape":"S2g"},"NextToken":{}}}},"DescribeBudgetActionsForBudget":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Actions"],"members":{"Actions":{"shape":"S2g"},"NextToken":{}}}},"DescribeBudgetPerformanceHistory":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{},"TimePeriod":{"shape":"Sf"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BudgetPerformanceHistory":{"type":"structure","members":{"BudgetName":{},"BudgetType":{},"CostFilters":{"shape":"Sa"},"CostTypes":{"shape":"Sc"},"TimeUnit":{},"BudgetedAndActualAmountsList":{"type":"list","member":{"type":"structure","members":{"BudgetedAmount":{"shape":"S5"},"ActualAmount":{"shape":"S5"},"TimePeriod":{"shape":"Sf"}}}}}},"NextToken":{}}}},"DescribeBudgets":{"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Budgets":{"type":"list","member":{"shape":"S3"}},"NextToken":{}}}},"DescribeNotificationsForBudget":{"input":{"type":"structure","required":["AccountId","BudgetName"],"members":{"AccountId":{},"BudgetName":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Notifications":{"type":"list","member":{"shape":"Sp"}},"NextToken":{}}}},"DescribeSubscribersForNotification":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sp"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Subscribers":{"shape":"Sv"},"NextToken":{}}}},"ExecuteBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId","ExecutionType"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{},"ExecutionType":{}}},"output":{"type":"structure","required":["AccountId","BudgetName","ActionId","ExecutionType"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{},"ExecutionType":{}}}},"UpdateBudget":{"input":{"type":"structure","required":["AccountId","NewBudget"],"members":{"AccountId":{},"NewBudget":{"shape":"S3"}}},"output":{"type":"structure","members":{}}},"UpdateBudgetAction":{"input":{"type":"structure","required":["AccountId","BudgetName","ActionId"],"members":{"AccountId":{},"BudgetName":{},"ActionId":{},"NotificationType":{},"ActionThreshold":{"shape":"S12"},"Definition":{"shape":"S13"},"ExecutionRoleArn":{},"ApprovalModel":{},"Subscribers":{"shape":"Sv"}}},"output":{"type":"structure","required":["AccountId","BudgetName","OldAction","NewAction"],"members":{"AccountId":{},"BudgetName":{},"OldAction":{"shape":"S1x"},"NewAction":{"shape":"S1x"}}}},"UpdateNotification":{"input":{"type":"structure","required":["AccountId","BudgetName","OldNotification","NewNotification"],"members":{"AccountId":{},"BudgetName":{},"OldNotification":{"shape":"Sp"},"NewNotification":{"shape":"Sp"}}},"output":{"type":"structure","members":{}}},"UpdateSubscriber":{"input":{"type":"structure","required":["AccountId","BudgetName","Notification","OldSubscriber","NewSubscriber"],"members":{"AccountId":{},"BudgetName":{},"Notification":{"shape":"Sp"},"OldSubscriber":{"shape":"Sw"},"NewSubscriber":{"shape":"Sw"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S3":{"type":"structure","required":["BudgetName","TimeUnit","BudgetType"],"members":{"BudgetName":{},"BudgetLimit":{"shape":"S5"},"PlannedBudgetLimits":{"type":"map","key":{},"value":{"shape":"S5"}},"CostFilters":{"shape":"Sa"},"CostTypes":{"shape":"Sc"},"TimeUnit":{},"TimePeriod":{"shape":"Sf"},"CalculatedSpend":{"type":"structure","required":["ActualSpend"],"members":{"ActualSpend":{"shape":"S5"},"ForecastedSpend":{"shape":"S5"}}},"BudgetType":{},"LastUpdatedTime":{"type":"timestamp"},"AutoAdjustData":{"type":"structure","required":["AutoAdjustType"],"members":{"AutoAdjustType":{},"HistoricalOptions":{"type":"structure","required":["BudgetAdjustmentPeriod"],"members":{"BudgetAdjustmentPeriod":{"type":"integer"},"LookBackAvailablePeriods":{"type":"integer"}}},"LastAutoAdjustTime":{"type":"timestamp"}}}}},"S5":{"type":"structure","required":["Amount","Unit"],"members":{"Amount":{},"Unit":{}}},"Sa":{"type":"map","key":{},"value":{"type":"list","member":{}}},"Sc":{"type":"structure","members":{"IncludeTax":{"type":"boolean"},"IncludeSubscription":{"type":"boolean"},"UseBlended":{"type":"boolean"},"IncludeRefund":{"type":"boolean"},"IncludeCredit":{"type":"boolean"},"IncludeUpfront":{"type":"boolean"},"IncludeRecurring":{"type":"boolean"},"IncludeOtherSubscription":{"type":"boolean"},"IncludeSupport":{"type":"boolean"},"IncludeDiscount":{"type":"boolean"},"UseAmortized":{"type":"boolean"}}},"Sf":{"type":"structure","members":{"Start":{"type":"timestamp"},"End":{"type":"timestamp"}}},"Sp":{"type":"structure","required":["NotificationType","ComparisonOperator","Threshold"],"members":{"NotificationType":{},"ComparisonOperator":{},"Threshold":{"type":"double"},"ThresholdType":{},"NotificationState":{}}},"Sv":{"type":"list","member":{"shape":"Sw"}},"Sw":{"type":"structure","required":["SubscriptionType","Address"],"members":{"SubscriptionType":{},"Address":{"type":"string","sensitive":true}}},"S12":{"type":"structure","required":["ActionThresholdValue","ActionThresholdType"],"members":{"ActionThresholdValue":{"type":"double"},"ActionThresholdType":{}}},"S13":{"type":"structure","members":{"IamActionDefinition":{"type":"structure","required":["PolicyArn"],"members":{"PolicyArn":{},"Roles":{"type":"list","member":{}},"Groups":{"type":"list","member":{}},"Users":{"type":"list","member":{}}}},"ScpActionDefinition":{"type":"structure","required":["PolicyId","TargetIds"],"members":{"PolicyId":{},"TargetIds":{"type":"list","member":{}}}},"SsmActionDefinition":{"type":"structure","required":["ActionSubType","Region","InstanceIds"],"members":{"ActionSubType":{},"Region":{},"InstanceIds":{"type":"list","member":{}}}}}},"S1x":{"type":"structure","required":["ActionId","BudgetName","NotificationType","ActionType","ActionThreshold","Definition","ExecutionRoleArn","ApprovalModel","Status","Subscribers"],"members":{"ActionId":{},"BudgetName":{},"NotificationType":{},"ActionType":{},"ActionThreshold":{"shape":"S12"},"Definition":{"shape":"S13"},"ExecutionRoleArn":{},"ApprovalModel":{},"Status":{},"Subscribers":{"shape":"Sv"}}},"S2g":{"type":"list","member":{"shape":"S1x"}}}} /***/ }), /* 73 */ @@ -31677,7 +31683,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 80 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2010-05-15","endpointPrefix":"cloudformation","protocol":"query","serviceFullName":"AWS CloudFormation","serviceId":"CloudFormation","signatureVersion":"v4","uid":"cloudformation-2010-05-15","xmlNamespace":"http://cloudformation.amazonaws.com/doc/2010-05-15/"},"operations":{"ActivateType":{"input":{"type":"structure","members":{"Type":{},"PublicTypeArn":{},"PublisherId":{},"TypeName":{},"TypeNameAlias":{},"AutoUpdate":{"type":"boolean"},"LoggingConfig":{"shape":"S7"},"ExecutionRoleArn":{},"VersionBump":{},"MajorVersion":{"type":"long"}}},"output":{"resultWrapper":"ActivateTypeResult","type":"structure","members":{"Arn":{}}},"idempotent":true},"BatchDescribeTypeConfigurations":{"input":{"type":"structure","required":["TypeConfigurationIdentifiers"],"members":{"TypeConfigurationIdentifiers":{"type":"list","member":{"shape":"Sg"}}}},"output":{"resultWrapper":"BatchDescribeTypeConfigurationsResult","type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{},"TypeConfigurationIdentifier":{"shape":"Sg"}}}},"UnprocessedTypeConfigurations":{"type":"list","member":{"shape":"Sg"}},"TypeConfigurations":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Alias":{},"Configuration":{},"LastUpdated":{"type":"timestamp"},"TypeArn":{},"TypeName":{},"IsDefaultConfiguration":{"type":"boolean"}}}}}}},"CancelUpdateStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"ClientRequestToken":{}}}},"ContinueUpdateRollback":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"RoleARN":{},"ResourcesToSkip":{"type":"list","member":{}},"ClientRequestToken":{}}},"output":{"resultWrapper":"ContinueUpdateRollbackResult","type":"structure","members":{}}},"CreateChangeSet":{"input":{"type":"structure","required":["StackName","ChangeSetName"],"members":{"StackName":{},"TemplateBody":{},"TemplateURL":{},"UsePreviousTemplate":{"type":"boolean"},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"ResourceTypes":{"shape":"S1f"},"RoleARN":{},"RollbackConfiguration":{"shape":"S1h"},"NotificationARNs":{"shape":"S1n"},"Tags":{"shape":"S1p"},"ChangeSetName":{},"ClientToken":{},"Description":{},"ChangeSetType":{},"ResourcesToImport":{"type":"list","member":{"type":"structure","required":["ResourceType","LogicalResourceId","ResourceIdentifier"],"members":{"ResourceType":{},"LogicalResourceId":{},"ResourceIdentifier":{"type":"map","key":{},"value":{}}}}},"IncludeNestedStacks":{"type":"boolean"}}},"output":{"resultWrapper":"CreateChangeSetResult","type":"structure","members":{"Id":{},"StackId":{}}}},"CreateStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"TemplateBody":{},"TemplateURL":{},"Parameters":{"shape":"S18"},"DisableRollback":{"type":"boolean"},"RollbackConfiguration":{"shape":"S1h"},"TimeoutInMinutes":{"type":"integer"},"NotificationARNs":{"shape":"S1n"},"Capabilities":{"shape":"S1d"},"ResourceTypes":{"shape":"S1f"},"RoleARN":{},"OnFailure":{},"StackPolicyBody":{},"StackPolicyURL":{},"Tags":{"shape":"S1p"},"ClientRequestToken":{},"EnableTerminationProtection":{"type":"boolean"}}},"output":{"resultWrapper":"CreateStackResult","type":"structure","members":{"StackId":{}}}},"CreateStackInstances":{"input":{"type":"structure","required":["StackSetName","Regions"],"members":{"StackSetName":{},"Accounts":{"shape":"S2h"},"DeploymentTargets":{"shape":"S2j"},"Regions":{"shape":"S2n"},"ParameterOverrides":{"shape":"S18"},"OperationPreferences":{"shape":"S2p"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"CreateStackInstancesResult","type":"structure","members":{"OperationId":{}}}},"CreateStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"Description":{},"TemplateBody":{},"TemplateURL":{},"StackId":{},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"Tags":{"shape":"S1p"},"AdministrationRoleARN":{},"ExecutionRoleName":{},"PermissionModel":{},"AutoDeployment":{"shape":"S30"},"CallAs":{},"ClientRequestToken":{"idempotencyToken":true},"ManagedExecution":{"shape":"S33"}}},"output":{"resultWrapper":"CreateStackSetResult","type":"structure","members":{"StackSetId":{}}}},"DeactivateType":{"input":{"type":"structure","members":{"TypeName":{},"Type":{},"Arn":{}}},"output":{"resultWrapper":"DeactivateTypeResult","type":"structure","members":{}},"idempotent":true},"DeleteChangeSet":{"input":{"type":"structure","required":["ChangeSetName"],"members":{"ChangeSetName":{},"StackName":{}}},"output":{"resultWrapper":"DeleteChangeSetResult","type":"structure","members":{}}},"DeleteStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"RetainResources":{"type":"list","member":{}},"RoleARN":{},"ClientRequestToken":{}}}},"DeleteStackInstances":{"input":{"type":"structure","required":["StackSetName","Regions","RetainStacks"],"members":{"StackSetName":{},"Accounts":{"shape":"S2h"},"DeploymentTargets":{"shape":"S2j"},"Regions":{"shape":"S2n"},"OperationPreferences":{"shape":"S2p"},"RetainStacks":{"type":"boolean"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"DeleteStackInstancesResult","type":"structure","members":{"OperationId":{}}}},"DeleteStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"CallAs":{}}},"output":{"resultWrapper":"DeleteStackSetResult","type":"structure","members":{}}},"DeregisterType":{"input":{"type":"structure","members":{"Arn":{},"Type":{},"TypeName":{},"VersionId":{}}},"output":{"resultWrapper":"DeregisterTypeResult","type":"structure","members":{}},"idempotent":true},"DescribeAccountLimits":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"resultWrapper":"DescribeAccountLimitsResult","type":"structure","members":{"AccountLimits":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"integer"}}}},"NextToken":{}}}},"DescribeChangeSet":{"input":{"type":"structure","required":["ChangeSetName"],"members":{"ChangeSetName":{},"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"DescribeChangeSetResult","type":"structure","members":{"ChangeSetName":{},"ChangeSetId":{},"StackId":{},"StackName":{},"Description":{},"Parameters":{"shape":"S18"},"CreationTime":{"type":"timestamp"},"ExecutionStatus":{},"Status":{},"StatusReason":{},"NotificationARNs":{"shape":"S1n"},"RollbackConfiguration":{"shape":"S1h"},"Capabilities":{"shape":"S1d"},"Tags":{"shape":"S1p"},"Changes":{"type":"list","member":{"type":"structure","members":{"Type":{},"ResourceChange":{"type":"structure","members":{"Action":{},"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"Replacement":{},"Scope":{"type":"list","member":{}},"Details":{"type":"list","member":{"type":"structure","members":{"Target":{"type":"structure","members":{"Attribute":{},"Name":{},"RequiresRecreation":{}}},"Evaluation":{},"ChangeSource":{},"CausingEntity":{}}}},"ChangeSetId":{},"ModuleInfo":{"shape":"S4h"}}}}}},"NextToken":{},"IncludeNestedStacks":{"type":"boolean"},"ParentChangeSetId":{},"RootChangeSetId":{}}}},"DescribePublisher":{"input":{"type":"structure","members":{"PublisherId":{}}},"output":{"resultWrapper":"DescribePublisherResult","type":"structure","members":{"PublisherId":{},"PublisherStatus":{},"IdentityProvider":{},"PublisherProfile":{}}},"idempotent":true},"DescribeStackDriftDetectionStatus":{"input":{"type":"structure","required":["StackDriftDetectionId"],"members":{"StackDriftDetectionId":{}}},"output":{"resultWrapper":"DescribeStackDriftDetectionStatusResult","type":"structure","required":["StackId","StackDriftDetectionId","DetectionStatus","Timestamp"],"members":{"StackId":{},"StackDriftDetectionId":{},"StackDriftStatus":{},"DetectionStatus":{},"DetectionStatusReason":{},"DriftedStackResourceCount":{"type":"integer"},"Timestamp":{"type":"timestamp"}}}},"DescribeStackEvents":{"input":{"type":"structure","members":{"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"DescribeStackEventsResult","type":"structure","members":{"StackEvents":{"type":"list","member":{"type":"structure","required":["StackId","EventId","StackName","Timestamp"],"members":{"StackId":{},"EventId":{},"StackName":{},"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"Timestamp":{"type":"timestamp"},"ResourceStatus":{},"ResourceStatusReason":{},"ResourceProperties":{},"ClientRequestToken":{}}}},"NextToken":{}}}},"DescribeStackInstance":{"input":{"type":"structure","required":["StackSetName","StackInstanceAccount","StackInstanceRegion"],"members":{"StackSetName":{},"StackInstanceAccount":{},"StackInstanceRegion":{},"CallAs":{}}},"output":{"resultWrapper":"DescribeStackInstanceResult","type":"structure","members":{"StackInstance":{"type":"structure","members":{"StackSetId":{},"Region":{},"Account":{},"StackId":{},"ParameterOverrides":{"shape":"S18"},"Status":{},"StackInstanceStatus":{"shape":"S58"},"StatusReason":{},"OrganizationalUnitId":{},"DriftStatus":{},"LastDriftCheckTimestamp":{"type":"timestamp"}}}}}},"DescribeStackResource":{"input":{"type":"structure","required":["StackName","LogicalResourceId"],"members":{"StackName":{},"LogicalResourceId":{}}},"output":{"resultWrapper":"DescribeStackResourceResult","type":"structure","members":{"StackResourceDetail":{"type":"structure","required":["LogicalResourceId","ResourceType","LastUpdatedTimestamp","ResourceStatus"],"members":{"StackName":{},"StackId":{},"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"LastUpdatedTimestamp":{"type":"timestamp"},"ResourceStatus":{},"ResourceStatusReason":{},"Description":{},"Metadata":{},"DriftInformation":{"shape":"S5f"},"ModuleInfo":{"shape":"S4h"}}}}}},"DescribeStackResourceDrifts":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"StackResourceDriftStatusFilters":{"type":"list","member":{}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"resultWrapper":"DescribeStackResourceDriftsResult","type":"structure","required":["StackResourceDrifts"],"members":{"StackResourceDrifts":{"type":"list","member":{"shape":"S5m"}},"NextToken":{}}}},"DescribeStackResources":{"input":{"type":"structure","members":{"StackName":{},"LogicalResourceId":{},"PhysicalResourceId":{}}},"output":{"resultWrapper":"DescribeStackResourcesResult","type":"structure","members":{"StackResources":{"type":"list","member":{"type":"structure","required":["LogicalResourceId","ResourceType","Timestamp","ResourceStatus"],"members":{"StackName":{},"StackId":{},"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"Timestamp":{"type":"timestamp"},"ResourceStatus":{},"ResourceStatusReason":{},"Description":{},"DriftInformation":{"shape":"S5f"},"ModuleInfo":{"shape":"S4h"}}}}}}},"DescribeStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"CallAs":{}}},"output":{"resultWrapper":"DescribeStackSetResult","type":"structure","members":{"StackSet":{"type":"structure","members":{"StackSetName":{},"StackSetId":{},"Description":{},"Status":{},"TemplateBody":{},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"Tags":{"shape":"S1p"},"StackSetARN":{},"AdministrationRoleARN":{},"ExecutionRoleName":{},"StackSetDriftDetectionDetails":{"shape":"S66"},"AutoDeployment":{"shape":"S30"},"PermissionModel":{},"OrganizationalUnitIds":{"shape":"S2l"},"ManagedExecution":{"shape":"S33"}}}}}},"DescribeStackSetOperation":{"input":{"type":"structure","required":["StackSetName","OperationId"],"members":{"StackSetName":{},"OperationId":{},"CallAs":{}}},"output":{"resultWrapper":"DescribeStackSetOperationResult","type":"structure","members":{"StackSetOperation":{"type":"structure","members":{"OperationId":{},"StackSetId":{},"Action":{},"Status":{},"OperationPreferences":{"shape":"S2p"},"RetainStacks":{"type":"boolean"},"AdministrationRoleARN":{},"ExecutionRoleName":{},"CreationTimestamp":{"type":"timestamp"},"EndTimestamp":{"type":"timestamp"},"DeploymentTargets":{"shape":"S2j"},"StackSetDriftDetectionDetails":{"shape":"S66"}}}}}},"DescribeStacks":{"input":{"type":"structure","members":{"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"DescribeStacksResult","type":"structure","members":{"Stacks":{"type":"list","member":{"type":"structure","required":["StackName","CreationTime","StackStatus"],"members":{"StackId":{},"StackName":{},"ChangeSetId":{},"Description":{},"Parameters":{"shape":"S18"},"CreationTime":{"type":"timestamp"},"DeletionTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"RollbackConfiguration":{"shape":"S1h"},"StackStatus":{},"StackStatusReason":{},"DisableRollback":{"type":"boolean"},"NotificationARNs":{"shape":"S1n"},"TimeoutInMinutes":{"type":"integer"},"Capabilities":{"shape":"S1d"},"Outputs":{"type":"list","member":{"type":"structure","members":{"OutputKey":{},"OutputValue":{},"Description":{},"ExportName":{}}}},"RoleARN":{},"Tags":{"shape":"S1p"},"EnableTerminationProtection":{"type":"boolean"},"ParentId":{},"RootId":{},"DriftInformation":{"type":"structure","required":["StackDriftStatus"],"members":{"StackDriftStatus":{},"LastCheckTimestamp":{"type":"timestamp"}}}}}},"NextToken":{}}}},"DescribeType":{"input":{"type":"structure","members":{"Type":{},"TypeName":{},"Arn":{},"VersionId":{},"PublisherId":{},"PublicVersionNumber":{}}},"output":{"resultWrapper":"DescribeTypeResult","type":"structure","members":{"Arn":{},"Type":{},"TypeName":{},"DefaultVersionId":{},"IsDefaultVersion":{"type":"boolean"},"TypeTestsStatus":{},"TypeTestsStatusDescription":{},"Description":{},"Schema":{},"ProvisioningType":{},"DeprecatedStatus":{},"LoggingConfig":{"shape":"S7"},"RequiredActivatedTypes":{"type":"list","member":{"type":"structure","members":{"TypeNameAlias":{},"OriginalTypeName":{},"PublisherId":{},"SupportedMajorVersions":{"type":"list","member":{"type":"integer"}}}}},"ExecutionRoleArn":{},"Visibility":{},"SourceUrl":{},"DocumentationUrl":{},"LastUpdated":{"type":"timestamp"},"TimeCreated":{"type":"timestamp"},"ConfigurationSchema":{},"PublisherId":{},"OriginalTypeName":{},"OriginalTypeArn":{},"PublicVersionNumber":{},"LatestPublicVersion":{},"IsActivated":{"type":"boolean"},"AutoUpdate":{"type":"boolean"}}},"idempotent":true},"DescribeTypeRegistration":{"input":{"type":"structure","required":["RegistrationToken"],"members":{"RegistrationToken":{}}},"output":{"resultWrapper":"DescribeTypeRegistrationResult","type":"structure","members":{"ProgressStatus":{},"Description":{},"TypeArn":{},"TypeVersionArn":{}}},"idempotent":true},"DetectStackDrift":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"LogicalResourceIds":{"shape":"S7k"}}},"output":{"resultWrapper":"DetectStackDriftResult","type":"structure","required":["StackDriftDetectionId"],"members":{"StackDriftDetectionId":{}}}},"DetectStackResourceDrift":{"input":{"type":"structure","required":["StackName","LogicalResourceId"],"members":{"StackName":{},"LogicalResourceId":{}}},"output":{"resultWrapper":"DetectStackResourceDriftResult","type":"structure","required":["StackResourceDrift"],"members":{"StackResourceDrift":{"shape":"S5m"}}}},"DetectStackSetDrift":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"OperationPreferences":{"shape":"S2p"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"DetectStackSetDriftResult","type":"structure","members":{"OperationId":{}}}},"EstimateTemplateCost":{"input":{"type":"structure","members":{"TemplateBody":{},"TemplateURL":{},"Parameters":{"shape":"S18"}}},"output":{"resultWrapper":"EstimateTemplateCostResult","type":"structure","members":{"Url":{}}}},"ExecuteChangeSet":{"input":{"type":"structure","required":["ChangeSetName"],"members":{"ChangeSetName":{},"StackName":{},"ClientRequestToken":{},"DisableRollback":{"type":"boolean"}}},"output":{"resultWrapper":"ExecuteChangeSetResult","type":"structure","members":{}}},"GetStackPolicy":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{}}},"output":{"resultWrapper":"GetStackPolicyResult","type":"structure","members":{"StackPolicyBody":{}}}},"GetTemplate":{"input":{"type":"structure","members":{"StackName":{},"ChangeSetName":{},"TemplateStage":{}}},"output":{"resultWrapper":"GetTemplateResult","type":"structure","members":{"TemplateBody":{},"StagesAvailable":{"type":"list","member":{}}}}},"GetTemplateSummary":{"input":{"type":"structure","members":{"TemplateBody":{},"TemplateURL":{},"StackName":{},"StackSetName":{},"CallAs":{}}},"output":{"resultWrapper":"GetTemplateSummaryResult","type":"structure","members":{"Parameters":{"type":"list","member":{"type":"structure","members":{"ParameterKey":{},"DefaultValue":{},"ParameterType":{},"NoEcho":{"type":"boolean"},"Description":{},"ParameterConstraints":{"type":"structure","members":{"AllowedValues":{"type":"list","member":{}}}}}}},"Description":{},"Capabilities":{"shape":"S1d"},"CapabilitiesReason":{},"ResourceTypes":{"shape":"S1f"},"Version":{},"Metadata":{},"DeclaredTransforms":{"shape":"S8d"},"ResourceIdentifierSummaries":{"type":"list","member":{"type":"structure","members":{"ResourceType":{},"LogicalResourceIds":{"shape":"S7k"},"ResourceIdentifiers":{"type":"list","member":{}}}}}}}},"ImportStacksToStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"StackIds":{"type":"list","member":{}},"StackIdsUrl":{},"OrganizationalUnitIds":{"shape":"S2l"},"OperationPreferences":{"shape":"S2p"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"ImportStacksToStackSetResult","type":"structure","members":{"OperationId":{}}}},"ListChangeSets":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"ListChangeSetsResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"StackId":{},"StackName":{},"ChangeSetId":{},"ChangeSetName":{},"ExecutionStatus":{},"Status":{},"StatusReason":{},"CreationTime":{"type":"timestamp"},"Description":{},"IncludeNestedStacks":{"type":"boolean"},"ParentChangeSetId":{},"RootChangeSetId":{}}}},"NextToken":{}}}},"ListExports":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"resultWrapper":"ListExportsResult","type":"structure","members":{"Exports":{"type":"list","member":{"type":"structure","members":{"ExportingStackId":{},"Name":{},"Value":{}}}},"NextToken":{}}}},"ListImports":{"input":{"type":"structure","required":["ExportName"],"members":{"ExportName":{},"NextToken":{}}},"output":{"resultWrapper":"ListImportsResult","type":"structure","members":{"Imports":{"type":"list","member":{}},"NextToken":{}}}},"ListStackInstances":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{}}}},"StackInstanceAccount":{},"StackInstanceRegion":{},"CallAs":{}}},"output":{"resultWrapper":"ListStackInstancesResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"StackSetId":{},"Region":{},"Account":{},"StackId":{},"Status":{},"StatusReason":{},"StackInstanceStatus":{"shape":"S58"},"OrganizationalUnitId":{},"DriftStatus":{},"LastDriftCheckTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"ListStackResources":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"ListStackResourcesResult","type":"structure","members":{"StackResourceSummaries":{"type":"list","member":{"type":"structure","required":["LogicalResourceId","ResourceType","LastUpdatedTimestamp","ResourceStatus"],"members":{"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"LastUpdatedTimestamp":{"type":"timestamp"},"ResourceStatus":{},"ResourceStatusReason":{},"DriftInformation":{"type":"structure","required":["StackResourceDriftStatus"],"members":{"StackResourceDriftStatus":{},"LastCheckTimestamp":{"type":"timestamp"}}},"ModuleInfo":{"shape":"S4h"}}}},"NextToken":{}}}},"ListStackSetOperationResults":{"input":{"type":"structure","required":["StackSetName","OperationId"],"members":{"StackSetName":{},"OperationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"CallAs":{}}},"output":{"resultWrapper":"ListStackSetOperationResultsResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"Account":{},"Region":{},"Status":{},"StatusReason":{},"AccountGateResult":{"type":"structure","members":{"Status":{},"StatusReason":{}}},"OrganizationalUnitId":{}}}},"NextToken":{}}}},"ListStackSetOperations":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"NextToken":{},"MaxResults":{"type":"integer"},"CallAs":{}}},"output":{"resultWrapper":"ListStackSetOperationsResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"OperationId":{},"Action":{},"Status":{},"CreationTimestamp":{"type":"timestamp"},"EndTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"ListStackSets":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Status":{},"CallAs":{}}},"output":{"resultWrapper":"ListStackSetsResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"StackSetName":{},"StackSetId":{},"Description":{},"Status":{},"AutoDeployment":{"shape":"S30"},"PermissionModel":{},"DriftStatus":{},"LastDriftCheckTimestamp":{"type":"timestamp"},"ManagedExecution":{"shape":"S33"}}}},"NextToken":{}}}},"ListStacks":{"input":{"type":"structure","members":{"NextToken":{},"StackStatusFilter":{"type":"list","member":{}}}},"output":{"resultWrapper":"ListStacksResult","type":"structure","members":{"StackSummaries":{"type":"list","member":{"type":"structure","required":["StackName","CreationTime","StackStatus"],"members":{"StackId":{},"StackName":{},"TemplateDescription":{},"CreationTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"DeletionTime":{"type":"timestamp"},"StackStatus":{},"StackStatusReason":{},"ParentId":{},"RootId":{},"DriftInformation":{"type":"structure","required":["StackDriftStatus"],"members":{"StackDriftStatus":{},"LastCheckTimestamp":{"type":"timestamp"}}}}}},"NextToken":{}}}},"ListTypeRegistrations":{"input":{"type":"structure","members":{"Type":{},"TypeName":{},"TypeArn":{},"RegistrationStatusFilter":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"resultWrapper":"ListTypeRegistrationsResult","type":"structure","members":{"RegistrationTokenList":{"type":"list","member":{}},"NextToken":{}}},"idempotent":true},"ListTypeVersions":{"input":{"type":"structure","members":{"Type":{},"TypeName":{},"Arn":{},"MaxResults":{"type":"integer"},"NextToken":{},"DeprecatedStatus":{},"PublisherId":{}}},"output":{"resultWrapper":"ListTypeVersionsResult","type":"structure","members":{"TypeVersionSummaries":{"type":"list","member":{"type":"structure","members":{"Type":{},"TypeName":{},"VersionId":{},"IsDefaultVersion":{"type":"boolean"},"Arn":{},"TimeCreated":{"type":"timestamp"},"Description":{},"PublicVersionNumber":{}}}},"NextToken":{}}},"idempotent":true},"ListTypes":{"input":{"type":"structure","members":{"Visibility":{},"ProvisioningType":{},"DeprecatedStatus":{},"Type":{},"Filters":{"type":"structure","members":{"Category":{},"PublisherId":{},"TypeNamePrefix":{}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"resultWrapper":"ListTypesResult","type":"structure","members":{"TypeSummaries":{"type":"list","member":{"type":"structure","members":{"Type":{},"TypeName":{},"DefaultVersionId":{},"TypeArn":{},"LastUpdated":{"type":"timestamp"},"Description":{},"PublisherId":{},"OriginalTypeName":{},"PublicVersionNumber":{},"LatestPublicVersion":{},"PublisherIdentity":{},"PublisherName":{},"IsActivated":{"type":"boolean"}}}},"NextToken":{}}},"idempotent":true},"PublishType":{"input":{"type":"structure","members":{"Type":{},"Arn":{},"TypeName":{},"PublicVersionNumber":{}}},"output":{"resultWrapper":"PublishTypeResult","type":"structure","members":{"PublicTypeArn":{}}},"idempotent":true},"RecordHandlerProgress":{"input":{"type":"structure","required":["BearerToken","OperationStatus"],"members":{"BearerToken":{},"OperationStatus":{},"CurrentOperationStatus":{},"StatusMessage":{},"ErrorCode":{},"ResourceModel":{},"ClientRequestToken":{}}},"output":{"resultWrapper":"RecordHandlerProgressResult","type":"structure","members":{}},"idempotent":true},"RegisterPublisher":{"input":{"type":"structure","members":{"AcceptTermsAndConditions":{"type":"boolean"},"ConnectionArn":{}}},"output":{"resultWrapper":"RegisterPublisherResult","type":"structure","members":{"PublisherId":{}}},"idempotent":true},"RegisterType":{"input":{"type":"structure","required":["TypeName","SchemaHandlerPackage"],"members":{"Type":{},"TypeName":{},"SchemaHandlerPackage":{},"LoggingConfig":{"shape":"S7"},"ExecutionRoleArn":{},"ClientRequestToken":{}}},"output":{"resultWrapper":"RegisterTypeResult","type":"structure","members":{"RegistrationToken":{}}},"idempotent":true},"RollbackStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"RoleARN":{},"ClientRequestToken":{}}},"output":{"resultWrapper":"RollbackStackResult","type":"structure","members":{"StackId":{}}}},"SetStackPolicy":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"StackPolicyBody":{},"StackPolicyURL":{}}}},"SetTypeConfiguration":{"input":{"type":"structure","required":["Configuration"],"members":{"TypeArn":{},"Configuration":{},"ConfigurationAlias":{},"TypeName":{},"Type":{}}},"output":{"resultWrapper":"SetTypeConfigurationResult","type":"structure","members":{"ConfigurationArn":{}}}},"SetTypeDefaultVersion":{"input":{"type":"structure","members":{"Arn":{},"Type":{},"TypeName":{},"VersionId":{}}},"output":{"resultWrapper":"SetTypeDefaultVersionResult","type":"structure","members":{}},"idempotent":true},"SignalResource":{"input":{"type":"structure","required":["StackName","LogicalResourceId","UniqueId","Status"],"members":{"StackName":{},"LogicalResourceId":{},"UniqueId":{},"Status":{}}}},"StopStackSetOperation":{"input":{"type":"structure","required":["StackSetName","OperationId"],"members":{"StackSetName":{},"OperationId":{},"CallAs":{}}},"output":{"resultWrapper":"StopStackSetOperationResult","type":"structure","members":{}}},"TestType":{"input":{"type":"structure","members":{"Arn":{},"Type":{},"TypeName":{},"VersionId":{},"LogDeliveryBucket":{}}},"output":{"resultWrapper":"TestTypeResult","type":"structure","members":{"TypeVersionArn":{}}},"idempotent":true},"UpdateStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"TemplateBody":{},"TemplateURL":{},"UsePreviousTemplate":{"type":"boolean"},"StackPolicyDuringUpdateBody":{},"StackPolicyDuringUpdateURL":{},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"ResourceTypes":{"shape":"S1f"},"RoleARN":{},"RollbackConfiguration":{"shape":"S1h"},"StackPolicyBody":{},"StackPolicyURL":{},"NotificationARNs":{"shape":"S1n"},"Tags":{"shape":"S1p"},"DisableRollback":{"type":"boolean"},"ClientRequestToken":{}}},"output":{"resultWrapper":"UpdateStackResult","type":"structure","members":{"StackId":{}}}},"UpdateStackInstances":{"input":{"type":"structure","required":["StackSetName","Regions"],"members":{"StackSetName":{},"Accounts":{"shape":"S2h"},"DeploymentTargets":{"shape":"S2j"},"Regions":{"shape":"S2n"},"ParameterOverrides":{"shape":"S18"},"OperationPreferences":{"shape":"S2p"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"UpdateStackInstancesResult","type":"structure","members":{"OperationId":{}}}},"UpdateStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"Description":{},"TemplateBody":{},"TemplateURL":{},"UsePreviousTemplate":{"type":"boolean"},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"Tags":{"shape":"S1p"},"OperationPreferences":{"shape":"S2p"},"AdministrationRoleARN":{},"ExecutionRoleName":{},"DeploymentTargets":{"shape":"S2j"},"PermissionModel":{},"AutoDeployment":{"shape":"S30"},"OperationId":{"idempotencyToken":true},"Accounts":{"shape":"S2h"},"Regions":{"shape":"S2n"},"CallAs":{},"ManagedExecution":{"shape":"S33"}}},"output":{"resultWrapper":"UpdateStackSetResult","type":"structure","members":{"OperationId":{}}}},"UpdateTerminationProtection":{"input":{"type":"structure","required":["EnableTerminationProtection","StackName"],"members":{"EnableTerminationProtection":{"type":"boolean"},"StackName":{}}},"output":{"resultWrapper":"UpdateTerminationProtectionResult","type":"structure","members":{"StackId":{}}}},"ValidateTemplate":{"input":{"type":"structure","members":{"TemplateBody":{},"TemplateURL":{}}},"output":{"resultWrapper":"ValidateTemplateResult","type":"structure","members":{"Parameters":{"type":"list","member":{"type":"structure","members":{"ParameterKey":{},"DefaultValue":{},"NoEcho":{"type":"boolean"},"Description":{}}}},"Description":{},"Capabilities":{"shape":"S1d"},"CapabilitiesReason":{},"DeclaredTransforms":{"shape":"S8d"}}}}},"shapes":{"S7":{"type":"structure","required":["LogRoleArn","LogGroupName"],"members":{"LogRoleArn":{},"LogGroupName":{}}},"Sg":{"type":"structure","members":{"TypeArn":{},"TypeConfigurationAlias":{},"TypeConfigurationArn":{},"Type":{},"TypeName":{}}},"S18":{"type":"list","member":{"type":"structure","members":{"ParameterKey":{},"ParameterValue":{},"UsePreviousValue":{"type":"boolean"},"ResolvedValue":{}}}},"S1d":{"type":"list","member":{}},"S1f":{"type":"list","member":{}},"S1h":{"type":"structure","members":{"RollbackTriggers":{"type":"list","member":{"type":"structure","required":["Arn","Type"],"members":{"Arn":{},"Type":{}}}},"MonitoringTimeInMinutes":{"type":"integer"}}},"S1n":{"type":"list","member":{}},"S1p":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S2h":{"type":"list","member":{}},"S2j":{"type":"structure","members":{"Accounts":{"shape":"S2h"},"AccountsUrl":{},"OrganizationalUnitIds":{"shape":"S2l"}}},"S2l":{"type":"list","member":{}},"S2n":{"type":"list","member":{}},"S2p":{"type":"structure","members":{"RegionConcurrencyType":{},"RegionOrder":{"shape":"S2n"},"FailureToleranceCount":{"type":"integer"},"FailureTolerancePercentage":{"type":"integer"},"MaxConcurrentCount":{"type":"integer"},"MaxConcurrentPercentage":{"type":"integer"}}},"S30":{"type":"structure","members":{"Enabled":{"type":"boolean"},"RetainStacksOnAccountRemoval":{"type":"boolean"}}},"S33":{"type":"structure","members":{"Active":{"type":"boolean"}}},"S4h":{"type":"structure","members":{"TypeHierarchy":{},"LogicalIdHierarchy":{}}},"S58":{"type":"structure","members":{"DetailedStatus":{}}},"S5f":{"type":"structure","required":["StackResourceDriftStatus"],"members":{"StackResourceDriftStatus":{},"LastCheckTimestamp":{"type":"timestamp"}}},"S5m":{"type":"structure","required":["StackId","LogicalResourceId","ResourceType","StackResourceDriftStatus","Timestamp"],"members":{"StackId":{},"LogicalResourceId":{},"PhysicalResourceId":{},"PhysicalResourceIdContext":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"ResourceType":{},"ExpectedProperties":{},"ActualProperties":{},"PropertyDifferences":{"type":"list","member":{"type":"structure","required":["PropertyPath","ExpectedValue","ActualValue","DifferenceType"],"members":{"PropertyPath":{},"ExpectedValue":{},"ActualValue":{},"DifferenceType":{}}}},"StackResourceDriftStatus":{},"Timestamp":{"type":"timestamp"},"ModuleInfo":{"shape":"S4h"}}},"S66":{"type":"structure","members":{"DriftStatus":{},"DriftDetectionStatus":{},"LastDriftCheckTimestamp":{"type":"timestamp"},"TotalStackInstancesCount":{"type":"integer"},"DriftedStackInstancesCount":{"type":"integer"},"InSyncStackInstancesCount":{"type":"integer"},"InProgressStackInstancesCount":{"type":"integer"},"FailedStackInstancesCount":{"type":"integer"}}},"S7k":{"type":"list","member":{}},"S8d":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2010-05-15","endpointPrefix":"cloudformation","protocol":"query","serviceFullName":"AWS CloudFormation","serviceId":"CloudFormation","signatureVersion":"v4","uid":"cloudformation-2010-05-15","xmlNamespace":"http://cloudformation.amazonaws.com/doc/2010-05-15/"},"operations":{"ActivateType":{"input":{"type":"structure","members":{"Type":{},"PublicTypeArn":{},"PublisherId":{},"TypeName":{},"TypeNameAlias":{},"AutoUpdate":{"type":"boolean"},"LoggingConfig":{"shape":"S7"},"ExecutionRoleArn":{},"VersionBump":{},"MajorVersion":{"type":"long"}}},"output":{"resultWrapper":"ActivateTypeResult","type":"structure","members":{"Arn":{}}},"idempotent":true},"BatchDescribeTypeConfigurations":{"input":{"type":"structure","required":["TypeConfigurationIdentifiers"],"members":{"TypeConfigurationIdentifiers":{"type":"list","member":{"shape":"Sg"}}}},"output":{"resultWrapper":"BatchDescribeTypeConfigurationsResult","type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{},"TypeConfigurationIdentifier":{"shape":"Sg"}}}},"UnprocessedTypeConfigurations":{"type":"list","member":{"shape":"Sg"}},"TypeConfigurations":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Alias":{},"Configuration":{},"LastUpdated":{"type":"timestamp"},"TypeArn":{},"TypeName":{},"IsDefaultConfiguration":{"type":"boolean"}}}}}}},"CancelUpdateStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"ClientRequestToken":{}}}},"ContinueUpdateRollback":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"RoleARN":{},"ResourcesToSkip":{"type":"list","member":{}},"ClientRequestToken":{}}},"output":{"resultWrapper":"ContinueUpdateRollbackResult","type":"structure","members":{}}},"CreateChangeSet":{"input":{"type":"structure","required":["StackName","ChangeSetName"],"members":{"StackName":{},"TemplateBody":{},"TemplateURL":{},"UsePreviousTemplate":{"type":"boolean"},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"ResourceTypes":{"shape":"S1f"},"RoleARN":{},"RollbackConfiguration":{"shape":"S1h"},"NotificationARNs":{"shape":"S1n"},"Tags":{"shape":"S1p"},"ChangeSetName":{},"ClientToken":{},"Description":{},"ChangeSetType":{},"ResourcesToImport":{"type":"list","member":{"type":"structure","required":["ResourceType","LogicalResourceId","ResourceIdentifier"],"members":{"ResourceType":{},"LogicalResourceId":{},"ResourceIdentifier":{"type":"map","key":{},"value":{}}}}},"IncludeNestedStacks":{"type":"boolean"}}},"output":{"resultWrapper":"CreateChangeSetResult","type":"structure","members":{"Id":{},"StackId":{}}}},"CreateStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"TemplateBody":{},"TemplateURL":{},"Parameters":{"shape":"S18"},"DisableRollback":{"type":"boolean"},"RollbackConfiguration":{"shape":"S1h"},"TimeoutInMinutes":{"type":"integer"},"NotificationARNs":{"shape":"S1n"},"Capabilities":{"shape":"S1d"},"ResourceTypes":{"shape":"S1f"},"RoleARN":{},"OnFailure":{},"StackPolicyBody":{},"StackPolicyURL":{},"Tags":{"shape":"S1p"},"ClientRequestToken":{},"EnableTerminationProtection":{"type":"boolean"}}},"output":{"resultWrapper":"CreateStackResult","type":"structure","members":{"StackId":{}}}},"CreateStackInstances":{"input":{"type":"structure","required":["StackSetName","Regions"],"members":{"StackSetName":{},"Accounts":{"shape":"S2h"},"DeploymentTargets":{"shape":"S2j"},"Regions":{"shape":"S2n"},"ParameterOverrides":{"shape":"S18"},"OperationPreferences":{"shape":"S2p"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"CreateStackInstancesResult","type":"structure","members":{"OperationId":{}}}},"CreateStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"Description":{},"TemplateBody":{},"TemplateURL":{},"StackId":{},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"Tags":{"shape":"S1p"},"AdministrationRoleARN":{},"ExecutionRoleName":{},"PermissionModel":{},"AutoDeployment":{"shape":"S30"},"CallAs":{},"ClientRequestToken":{"idempotencyToken":true},"ManagedExecution":{"shape":"S33"}}},"output":{"resultWrapper":"CreateStackSetResult","type":"structure","members":{"StackSetId":{}}}},"DeactivateType":{"input":{"type":"structure","members":{"TypeName":{},"Type":{},"Arn":{}}},"output":{"resultWrapper":"DeactivateTypeResult","type":"structure","members":{}},"idempotent":true},"DeleteChangeSet":{"input":{"type":"structure","required":["ChangeSetName"],"members":{"ChangeSetName":{},"StackName":{}}},"output":{"resultWrapper":"DeleteChangeSetResult","type":"structure","members":{}}},"DeleteStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"RetainResources":{"type":"list","member":{}},"RoleARN":{},"ClientRequestToken":{}}}},"DeleteStackInstances":{"input":{"type":"structure","required":["StackSetName","Regions","RetainStacks"],"members":{"StackSetName":{},"Accounts":{"shape":"S2h"},"DeploymentTargets":{"shape":"S2j"},"Regions":{"shape":"S2n"},"OperationPreferences":{"shape":"S2p"},"RetainStacks":{"type":"boolean"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"DeleteStackInstancesResult","type":"structure","members":{"OperationId":{}}}},"DeleteStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"CallAs":{}}},"output":{"resultWrapper":"DeleteStackSetResult","type":"structure","members":{}}},"DeregisterType":{"input":{"type":"structure","members":{"Arn":{},"Type":{},"TypeName":{},"VersionId":{}}},"output":{"resultWrapper":"DeregisterTypeResult","type":"structure","members":{}},"idempotent":true},"DescribeAccountLimits":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"resultWrapper":"DescribeAccountLimitsResult","type":"structure","members":{"AccountLimits":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"integer"}}}},"NextToken":{}}}},"DescribeChangeSet":{"input":{"type":"structure","required":["ChangeSetName"],"members":{"ChangeSetName":{},"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"DescribeChangeSetResult","type":"structure","members":{"ChangeSetName":{},"ChangeSetId":{},"StackId":{},"StackName":{},"Description":{},"Parameters":{"shape":"S18"},"CreationTime":{"type":"timestamp"},"ExecutionStatus":{},"Status":{},"StatusReason":{},"NotificationARNs":{"shape":"S1n"},"RollbackConfiguration":{"shape":"S1h"},"Capabilities":{"shape":"S1d"},"Tags":{"shape":"S1p"},"Changes":{"type":"list","member":{"type":"structure","members":{"Type":{},"HookInvocationCount":{"type":"integer"},"ResourceChange":{"type":"structure","members":{"Action":{},"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"Replacement":{},"Scope":{"type":"list","member":{}},"Details":{"type":"list","member":{"type":"structure","members":{"Target":{"type":"structure","members":{"Attribute":{},"Name":{},"RequiresRecreation":{}}},"Evaluation":{},"ChangeSource":{},"CausingEntity":{}}}},"ChangeSetId":{},"ModuleInfo":{"shape":"S4i"}}}}}},"NextToken":{},"IncludeNestedStacks":{"type":"boolean"},"ParentChangeSetId":{},"RootChangeSetId":{}}}},"DescribeChangeSetHooks":{"input":{"type":"structure","required":["ChangeSetName"],"members":{"ChangeSetName":{},"StackName":{},"NextToken":{},"LogicalResourceId":{}}},"output":{"resultWrapper":"DescribeChangeSetHooksResult","type":"structure","members":{"ChangeSetId":{},"ChangeSetName":{},"Hooks":{"type":"list","member":{"type":"structure","members":{"InvocationPoint":{},"FailureMode":{},"TypeName":{},"TypeVersionId":{},"TypeConfigurationVersionId":{},"TargetDetails":{"type":"structure","members":{"TargetType":{},"ResourceTargetDetails":{"type":"structure","members":{"LogicalResourceId":{},"ResourceType":{},"ResourceAction":{}}}}}}}},"Status":{},"NextToken":{},"StackId":{},"StackName":{}}}},"DescribePublisher":{"input":{"type":"structure","members":{"PublisherId":{}}},"output":{"resultWrapper":"DescribePublisherResult","type":"structure","members":{"PublisherId":{},"PublisherStatus":{},"IdentityProvider":{},"PublisherProfile":{}}},"idempotent":true},"DescribeStackDriftDetectionStatus":{"input":{"type":"structure","required":["StackDriftDetectionId"],"members":{"StackDriftDetectionId":{}}},"output":{"resultWrapper":"DescribeStackDriftDetectionStatusResult","type":"structure","required":["StackId","StackDriftDetectionId","DetectionStatus","Timestamp"],"members":{"StackId":{},"StackDriftDetectionId":{},"StackDriftStatus":{},"DetectionStatus":{},"DetectionStatusReason":{},"DriftedStackResourceCount":{"type":"integer"},"Timestamp":{"type":"timestamp"}}}},"DescribeStackEvents":{"input":{"type":"structure","members":{"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"DescribeStackEventsResult","type":"structure","members":{"StackEvents":{"type":"list","member":{"type":"structure","required":["StackId","EventId","StackName","Timestamp"],"members":{"StackId":{},"EventId":{},"StackName":{},"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"Timestamp":{"type":"timestamp"},"ResourceStatus":{},"ResourceStatusReason":{},"ResourceProperties":{},"ClientRequestToken":{},"HookType":{},"HookStatus":{},"HookStatusReason":{},"HookInvocationPoint":{},"HookFailureMode":{}}}},"NextToken":{}}}},"DescribeStackInstance":{"input":{"type":"structure","required":["StackSetName","StackInstanceAccount","StackInstanceRegion"],"members":{"StackSetName":{},"StackInstanceAccount":{},"StackInstanceRegion":{},"CallAs":{}}},"output":{"resultWrapper":"DescribeStackInstanceResult","type":"structure","members":{"StackInstance":{"type":"structure","members":{"StackSetId":{},"Region":{},"Account":{},"StackId":{},"ParameterOverrides":{"shape":"S18"},"Status":{},"StackInstanceStatus":{"shape":"S5q"},"StatusReason":{},"OrganizationalUnitId":{},"DriftStatus":{},"LastDriftCheckTimestamp":{"type":"timestamp"}}}}}},"DescribeStackResource":{"input":{"type":"structure","required":["StackName","LogicalResourceId"],"members":{"StackName":{},"LogicalResourceId":{}}},"output":{"resultWrapper":"DescribeStackResourceResult","type":"structure","members":{"StackResourceDetail":{"type":"structure","required":["LogicalResourceId","ResourceType","LastUpdatedTimestamp","ResourceStatus"],"members":{"StackName":{},"StackId":{},"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"LastUpdatedTimestamp":{"type":"timestamp"},"ResourceStatus":{},"ResourceStatusReason":{},"Description":{},"Metadata":{},"DriftInformation":{"shape":"S5x"},"ModuleInfo":{"shape":"S4i"}}}}}},"DescribeStackResourceDrifts":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"StackResourceDriftStatusFilters":{"type":"list","member":{}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"resultWrapper":"DescribeStackResourceDriftsResult","type":"structure","required":["StackResourceDrifts"],"members":{"StackResourceDrifts":{"type":"list","member":{"shape":"S64"}},"NextToken":{}}}},"DescribeStackResources":{"input":{"type":"structure","members":{"StackName":{},"LogicalResourceId":{},"PhysicalResourceId":{}}},"output":{"resultWrapper":"DescribeStackResourcesResult","type":"structure","members":{"StackResources":{"type":"list","member":{"type":"structure","required":["LogicalResourceId","ResourceType","Timestamp","ResourceStatus"],"members":{"StackName":{},"StackId":{},"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"Timestamp":{"type":"timestamp"},"ResourceStatus":{},"ResourceStatusReason":{},"Description":{},"DriftInformation":{"shape":"S5x"},"ModuleInfo":{"shape":"S4i"}}}}}}},"DescribeStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"CallAs":{}}},"output":{"resultWrapper":"DescribeStackSetResult","type":"structure","members":{"StackSet":{"type":"structure","members":{"StackSetName":{},"StackSetId":{},"Description":{},"Status":{},"TemplateBody":{},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"Tags":{"shape":"S1p"},"StackSetARN":{},"AdministrationRoleARN":{},"ExecutionRoleName":{},"StackSetDriftDetectionDetails":{"shape":"S6o"},"AutoDeployment":{"shape":"S30"},"PermissionModel":{},"OrganizationalUnitIds":{"shape":"S2l"},"ManagedExecution":{"shape":"S33"}}}}}},"DescribeStackSetOperation":{"input":{"type":"structure","required":["StackSetName","OperationId"],"members":{"StackSetName":{},"OperationId":{},"CallAs":{}}},"output":{"resultWrapper":"DescribeStackSetOperationResult","type":"structure","members":{"StackSetOperation":{"type":"structure","members":{"OperationId":{},"StackSetId":{},"Action":{},"Status":{},"OperationPreferences":{"shape":"S2p"},"RetainStacks":{"type":"boolean"},"AdministrationRoleARN":{},"ExecutionRoleName":{},"CreationTimestamp":{"type":"timestamp"},"EndTimestamp":{"type":"timestamp"},"DeploymentTargets":{"shape":"S2j"},"StackSetDriftDetectionDetails":{"shape":"S6o"}}}}}},"DescribeStacks":{"input":{"type":"structure","members":{"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"DescribeStacksResult","type":"structure","members":{"Stacks":{"type":"list","member":{"type":"structure","required":["StackName","CreationTime","StackStatus"],"members":{"StackId":{},"StackName":{},"ChangeSetId":{},"Description":{},"Parameters":{"shape":"S18"},"CreationTime":{"type":"timestamp"},"DeletionTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"RollbackConfiguration":{"shape":"S1h"},"StackStatus":{},"StackStatusReason":{},"DisableRollback":{"type":"boolean"},"NotificationARNs":{"shape":"S1n"},"TimeoutInMinutes":{"type":"integer"},"Capabilities":{"shape":"S1d"},"Outputs":{"type":"list","member":{"type":"structure","members":{"OutputKey":{},"OutputValue":{},"Description":{},"ExportName":{}}}},"RoleARN":{},"Tags":{"shape":"S1p"},"EnableTerminationProtection":{"type":"boolean"},"ParentId":{},"RootId":{},"DriftInformation":{"type":"structure","required":["StackDriftStatus"],"members":{"StackDriftStatus":{},"LastCheckTimestamp":{"type":"timestamp"}}}}}},"NextToken":{}}}},"DescribeType":{"input":{"type":"structure","members":{"Type":{},"TypeName":{},"Arn":{},"VersionId":{},"PublisherId":{},"PublicVersionNumber":{}}},"output":{"resultWrapper":"DescribeTypeResult","type":"structure","members":{"Arn":{},"Type":{},"TypeName":{},"DefaultVersionId":{},"IsDefaultVersion":{"type":"boolean"},"TypeTestsStatus":{},"TypeTestsStatusDescription":{},"Description":{},"Schema":{},"ProvisioningType":{},"DeprecatedStatus":{},"LoggingConfig":{"shape":"S7"},"RequiredActivatedTypes":{"type":"list","member":{"type":"structure","members":{"TypeNameAlias":{},"OriginalTypeName":{},"PublisherId":{},"SupportedMajorVersions":{"type":"list","member":{"type":"integer"}}}}},"ExecutionRoleArn":{},"Visibility":{},"SourceUrl":{},"DocumentationUrl":{},"LastUpdated":{"type":"timestamp"},"TimeCreated":{"type":"timestamp"},"ConfigurationSchema":{},"PublisherId":{},"OriginalTypeName":{},"OriginalTypeArn":{},"PublicVersionNumber":{},"LatestPublicVersion":{},"IsActivated":{"type":"boolean"},"AutoUpdate":{"type":"boolean"}}},"idempotent":true},"DescribeTypeRegistration":{"input":{"type":"structure","required":["RegistrationToken"],"members":{"RegistrationToken":{}}},"output":{"resultWrapper":"DescribeTypeRegistrationResult","type":"structure","members":{"ProgressStatus":{},"Description":{},"TypeArn":{},"TypeVersionArn":{}}},"idempotent":true},"DetectStackDrift":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"LogicalResourceIds":{"shape":"S82"}}},"output":{"resultWrapper":"DetectStackDriftResult","type":"structure","required":["StackDriftDetectionId"],"members":{"StackDriftDetectionId":{}}}},"DetectStackResourceDrift":{"input":{"type":"structure","required":["StackName","LogicalResourceId"],"members":{"StackName":{},"LogicalResourceId":{}}},"output":{"resultWrapper":"DetectStackResourceDriftResult","type":"structure","required":["StackResourceDrift"],"members":{"StackResourceDrift":{"shape":"S64"}}}},"DetectStackSetDrift":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"OperationPreferences":{"shape":"S2p"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"DetectStackSetDriftResult","type":"structure","members":{"OperationId":{}}}},"EstimateTemplateCost":{"input":{"type":"structure","members":{"TemplateBody":{},"TemplateURL":{},"Parameters":{"shape":"S18"}}},"output":{"resultWrapper":"EstimateTemplateCostResult","type":"structure","members":{"Url":{}}}},"ExecuteChangeSet":{"input":{"type":"structure","required":["ChangeSetName"],"members":{"ChangeSetName":{},"StackName":{},"ClientRequestToken":{},"DisableRollback":{"type":"boolean"}}},"output":{"resultWrapper":"ExecuteChangeSetResult","type":"structure","members":{}}},"GetStackPolicy":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{}}},"output":{"resultWrapper":"GetStackPolicyResult","type":"structure","members":{"StackPolicyBody":{}}}},"GetTemplate":{"input":{"type":"structure","members":{"StackName":{},"ChangeSetName":{},"TemplateStage":{}}},"output":{"resultWrapper":"GetTemplateResult","type":"structure","members":{"TemplateBody":{},"StagesAvailable":{"type":"list","member":{}}}}},"GetTemplateSummary":{"input":{"type":"structure","members":{"TemplateBody":{},"TemplateURL":{},"StackName":{},"StackSetName":{},"CallAs":{}}},"output":{"resultWrapper":"GetTemplateSummaryResult","type":"structure","members":{"Parameters":{"type":"list","member":{"type":"structure","members":{"ParameterKey":{},"DefaultValue":{},"ParameterType":{},"NoEcho":{"type":"boolean"},"Description":{},"ParameterConstraints":{"type":"structure","members":{"AllowedValues":{"type":"list","member":{}}}}}}},"Description":{},"Capabilities":{"shape":"S1d"},"CapabilitiesReason":{},"ResourceTypes":{"shape":"S1f"},"Version":{},"Metadata":{},"DeclaredTransforms":{"shape":"S8v"},"ResourceIdentifierSummaries":{"type":"list","member":{"type":"structure","members":{"ResourceType":{},"LogicalResourceIds":{"shape":"S82"},"ResourceIdentifiers":{"type":"list","member":{}}}}}}}},"ImportStacksToStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"StackIds":{"type":"list","member":{}},"StackIdsUrl":{},"OrganizationalUnitIds":{"shape":"S2l"},"OperationPreferences":{"shape":"S2p"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"ImportStacksToStackSetResult","type":"structure","members":{"OperationId":{}}}},"ListChangeSets":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"ListChangeSetsResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"StackId":{},"StackName":{},"ChangeSetId":{},"ChangeSetName":{},"ExecutionStatus":{},"Status":{},"StatusReason":{},"CreationTime":{"type":"timestamp"},"Description":{},"IncludeNestedStacks":{"type":"boolean"},"ParentChangeSetId":{},"RootChangeSetId":{}}}},"NextToken":{}}}},"ListExports":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"resultWrapper":"ListExportsResult","type":"structure","members":{"Exports":{"type":"list","member":{"type":"structure","members":{"ExportingStackId":{},"Name":{},"Value":{}}}},"NextToken":{}}}},"ListImports":{"input":{"type":"structure","required":["ExportName"],"members":{"ExportName":{},"NextToken":{}}},"output":{"resultWrapper":"ListImportsResult","type":"structure","members":{"Imports":{"type":"list","member":{}},"NextToken":{}}}},"ListStackInstances":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{}}}},"StackInstanceAccount":{},"StackInstanceRegion":{},"CallAs":{}}},"output":{"resultWrapper":"ListStackInstancesResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"StackSetId":{},"Region":{},"Account":{},"StackId":{},"Status":{},"StatusReason":{},"StackInstanceStatus":{"shape":"S5q"},"OrganizationalUnitId":{},"DriftStatus":{},"LastDriftCheckTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"ListStackResources":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"NextToken":{}}},"output":{"resultWrapper":"ListStackResourcesResult","type":"structure","members":{"StackResourceSummaries":{"type":"list","member":{"type":"structure","required":["LogicalResourceId","ResourceType","LastUpdatedTimestamp","ResourceStatus"],"members":{"LogicalResourceId":{},"PhysicalResourceId":{},"ResourceType":{},"LastUpdatedTimestamp":{"type":"timestamp"},"ResourceStatus":{},"ResourceStatusReason":{},"DriftInformation":{"type":"structure","required":["StackResourceDriftStatus"],"members":{"StackResourceDriftStatus":{},"LastCheckTimestamp":{"type":"timestamp"}}},"ModuleInfo":{"shape":"S4i"}}}},"NextToken":{}}}},"ListStackSetOperationResults":{"input":{"type":"structure","required":["StackSetName","OperationId"],"members":{"StackSetName":{},"OperationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"CallAs":{}}},"output":{"resultWrapper":"ListStackSetOperationResultsResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"Account":{},"Region":{},"Status":{},"StatusReason":{},"AccountGateResult":{"type":"structure","members":{"Status":{},"StatusReason":{}}},"OrganizationalUnitId":{}}}},"NextToken":{}}}},"ListStackSetOperations":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"NextToken":{},"MaxResults":{"type":"integer"},"CallAs":{}}},"output":{"resultWrapper":"ListStackSetOperationsResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"OperationId":{},"Action":{},"Status":{},"CreationTimestamp":{"type":"timestamp"},"EndTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"ListStackSets":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Status":{},"CallAs":{}}},"output":{"resultWrapper":"ListStackSetsResult","type":"structure","members":{"Summaries":{"type":"list","member":{"type":"structure","members":{"StackSetName":{},"StackSetId":{},"Description":{},"Status":{},"AutoDeployment":{"shape":"S30"},"PermissionModel":{},"DriftStatus":{},"LastDriftCheckTimestamp":{"type":"timestamp"},"ManagedExecution":{"shape":"S33"}}}},"NextToken":{}}}},"ListStacks":{"input":{"type":"structure","members":{"NextToken":{},"StackStatusFilter":{"type":"list","member":{}}}},"output":{"resultWrapper":"ListStacksResult","type":"structure","members":{"StackSummaries":{"type":"list","member":{"type":"structure","required":["StackName","CreationTime","StackStatus"],"members":{"StackId":{},"StackName":{},"TemplateDescription":{},"CreationTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"DeletionTime":{"type":"timestamp"},"StackStatus":{},"StackStatusReason":{},"ParentId":{},"RootId":{},"DriftInformation":{"type":"structure","required":["StackDriftStatus"],"members":{"StackDriftStatus":{},"LastCheckTimestamp":{"type":"timestamp"}}}}}},"NextToken":{}}}},"ListTypeRegistrations":{"input":{"type":"structure","members":{"Type":{},"TypeName":{},"TypeArn":{},"RegistrationStatusFilter":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"resultWrapper":"ListTypeRegistrationsResult","type":"structure","members":{"RegistrationTokenList":{"type":"list","member":{}},"NextToken":{}}},"idempotent":true},"ListTypeVersions":{"input":{"type":"structure","members":{"Type":{},"TypeName":{},"Arn":{},"MaxResults":{"type":"integer"},"NextToken":{},"DeprecatedStatus":{},"PublisherId":{}}},"output":{"resultWrapper":"ListTypeVersionsResult","type":"structure","members":{"TypeVersionSummaries":{"type":"list","member":{"type":"structure","members":{"Type":{},"TypeName":{},"VersionId":{},"IsDefaultVersion":{"type":"boolean"},"Arn":{},"TimeCreated":{"type":"timestamp"},"Description":{},"PublicVersionNumber":{}}}},"NextToken":{}}},"idempotent":true},"ListTypes":{"input":{"type":"structure","members":{"Visibility":{},"ProvisioningType":{},"DeprecatedStatus":{},"Type":{},"Filters":{"type":"structure","members":{"Category":{},"PublisherId":{},"TypeNamePrefix":{}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"resultWrapper":"ListTypesResult","type":"structure","members":{"TypeSummaries":{"type":"list","member":{"type":"structure","members":{"Type":{},"TypeName":{},"DefaultVersionId":{},"TypeArn":{},"LastUpdated":{"type":"timestamp"},"Description":{},"PublisherId":{},"OriginalTypeName":{},"PublicVersionNumber":{},"LatestPublicVersion":{},"PublisherIdentity":{},"PublisherName":{},"IsActivated":{"type":"boolean"}}}},"NextToken":{}}},"idempotent":true},"PublishType":{"input":{"type":"structure","members":{"Type":{},"Arn":{},"TypeName":{},"PublicVersionNumber":{}}},"output":{"resultWrapper":"PublishTypeResult","type":"structure","members":{"PublicTypeArn":{}}},"idempotent":true},"RecordHandlerProgress":{"input":{"type":"structure","required":["BearerToken","OperationStatus"],"members":{"BearerToken":{},"OperationStatus":{},"CurrentOperationStatus":{},"StatusMessage":{},"ErrorCode":{},"ResourceModel":{},"ClientRequestToken":{}}},"output":{"resultWrapper":"RecordHandlerProgressResult","type":"structure","members":{}},"idempotent":true},"RegisterPublisher":{"input":{"type":"structure","members":{"AcceptTermsAndConditions":{"type":"boolean"},"ConnectionArn":{}}},"output":{"resultWrapper":"RegisterPublisherResult","type":"structure","members":{"PublisherId":{}}},"idempotent":true},"RegisterType":{"input":{"type":"structure","required":["TypeName","SchemaHandlerPackage"],"members":{"Type":{},"TypeName":{},"SchemaHandlerPackage":{},"LoggingConfig":{"shape":"S7"},"ExecutionRoleArn":{},"ClientRequestToken":{}}},"output":{"resultWrapper":"RegisterTypeResult","type":"structure","members":{"RegistrationToken":{}}},"idempotent":true},"RollbackStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"RoleARN":{},"ClientRequestToken":{}}},"output":{"resultWrapper":"RollbackStackResult","type":"structure","members":{"StackId":{}}}},"SetStackPolicy":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"StackPolicyBody":{},"StackPolicyURL":{}}}},"SetTypeConfiguration":{"input":{"type":"structure","required":["Configuration"],"members":{"TypeArn":{},"Configuration":{},"ConfigurationAlias":{},"TypeName":{},"Type":{}}},"output":{"resultWrapper":"SetTypeConfigurationResult","type":"structure","members":{"ConfigurationArn":{}}}},"SetTypeDefaultVersion":{"input":{"type":"structure","members":{"Arn":{},"Type":{},"TypeName":{},"VersionId":{}}},"output":{"resultWrapper":"SetTypeDefaultVersionResult","type":"structure","members":{}},"idempotent":true},"SignalResource":{"input":{"type":"structure","required":["StackName","LogicalResourceId","UniqueId","Status"],"members":{"StackName":{},"LogicalResourceId":{},"UniqueId":{},"Status":{}}}},"StopStackSetOperation":{"input":{"type":"structure","required":["StackSetName","OperationId"],"members":{"StackSetName":{},"OperationId":{},"CallAs":{}}},"output":{"resultWrapper":"StopStackSetOperationResult","type":"structure","members":{}}},"TestType":{"input":{"type":"structure","members":{"Arn":{},"Type":{},"TypeName":{},"VersionId":{},"LogDeliveryBucket":{}}},"output":{"resultWrapper":"TestTypeResult","type":"structure","members":{"TypeVersionArn":{}}},"idempotent":true},"UpdateStack":{"input":{"type":"structure","required":["StackName"],"members":{"StackName":{},"TemplateBody":{},"TemplateURL":{},"UsePreviousTemplate":{"type":"boolean"},"StackPolicyDuringUpdateBody":{},"StackPolicyDuringUpdateURL":{},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"ResourceTypes":{"shape":"S1f"},"RoleARN":{},"RollbackConfiguration":{"shape":"S1h"},"StackPolicyBody":{},"StackPolicyURL":{},"NotificationARNs":{"shape":"S1n"},"Tags":{"shape":"S1p"},"DisableRollback":{"type":"boolean"},"ClientRequestToken":{}}},"output":{"resultWrapper":"UpdateStackResult","type":"structure","members":{"StackId":{}}}},"UpdateStackInstances":{"input":{"type":"structure","required":["StackSetName","Regions"],"members":{"StackSetName":{},"Accounts":{"shape":"S2h"},"DeploymentTargets":{"shape":"S2j"},"Regions":{"shape":"S2n"},"ParameterOverrides":{"shape":"S18"},"OperationPreferences":{"shape":"S2p"},"OperationId":{"idempotencyToken":true},"CallAs":{}}},"output":{"resultWrapper":"UpdateStackInstancesResult","type":"structure","members":{"OperationId":{}}}},"UpdateStackSet":{"input":{"type":"structure","required":["StackSetName"],"members":{"StackSetName":{},"Description":{},"TemplateBody":{},"TemplateURL":{},"UsePreviousTemplate":{"type":"boolean"},"Parameters":{"shape":"S18"},"Capabilities":{"shape":"S1d"},"Tags":{"shape":"S1p"},"OperationPreferences":{"shape":"S2p"},"AdministrationRoleARN":{},"ExecutionRoleName":{},"DeploymentTargets":{"shape":"S2j"},"PermissionModel":{},"AutoDeployment":{"shape":"S30"},"OperationId":{"idempotencyToken":true},"Accounts":{"shape":"S2h"},"Regions":{"shape":"S2n"},"CallAs":{},"ManagedExecution":{"shape":"S33"}}},"output":{"resultWrapper":"UpdateStackSetResult","type":"structure","members":{"OperationId":{}}}},"UpdateTerminationProtection":{"input":{"type":"structure","required":["EnableTerminationProtection","StackName"],"members":{"EnableTerminationProtection":{"type":"boolean"},"StackName":{}}},"output":{"resultWrapper":"UpdateTerminationProtectionResult","type":"structure","members":{"StackId":{}}}},"ValidateTemplate":{"input":{"type":"structure","members":{"TemplateBody":{},"TemplateURL":{}}},"output":{"resultWrapper":"ValidateTemplateResult","type":"structure","members":{"Parameters":{"type":"list","member":{"type":"structure","members":{"ParameterKey":{},"DefaultValue":{},"NoEcho":{"type":"boolean"},"Description":{}}}},"Description":{},"Capabilities":{"shape":"S1d"},"CapabilitiesReason":{},"DeclaredTransforms":{"shape":"S8v"}}}}},"shapes":{"S7":{"type":"structure","required":["LogRoleArn","LogGroupName"],"members":{"LogRoleArn":{},"LogGroupName":{}}},"Sg":{"type":"structure","members":{"TypeArn":{},"TypeConfigurationAlias":{},"TypeConfigurationArn":{},"Type":{},"TypeName":{}}},"S18":{"type":"list","member":{"type":"structure","members":{"ParameterKey":{},"ParameterValue":{},"UsePreviousValue":{"type":"boolean"},"ResolvedValue":{}}}},"S1d":{"type":"list","member":{}},"S1f":{"type":"list","member":{}},"S1h":{"type":"structure","members":{"RollbackTriggers":{"type":"list","member":{"type":"structure","required":["Arn","Type"],"members":{"Arn":{},"Type":{}}}},"MonitoringTimeInMinutes":{"type":"integer"}}},"S1n":{"type":"list","member":{}},"S1p":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S2h":{"type":"list","member":{}},"S2j":{"type":"structure","members":{"Accounts":{"shape":"S2h"},"AccountsUrl":{},"OrganizationalUnitIds":{"shape":"S2l"}}},"S2l":{"type":"list","member":{}},"S2n":{"type":"list","member":{}},"S2p":{"type":"structure","members":{"RegionConcurrencyType":{},"RegionOrder":{"shape":"S2n"},"FailureToleranceCount":{"type":"integer"},"FailureTolerancePercentage":{"type":"integer"},"MaxConcurrentCount":{"type":"integer"},"MaxConcurrentPercentage":{"type":"integer"}}},"S30":{"type":"structure","members":{"Enabled":{"type":"boolean"},"RetainStacksOnAccountRemoval":{"type":"boolean"}}},"S33":{"type":"structure","members":{"Active":{"type":"boolean"}}},"S4i":{"type":"structure","members":{"TypeHierarchy":{},"LogicalIdHierarchy":{}}},"S5q":{"type":"structure","members":{"DetailedStatus":{}}},"S5x":{"type":"structure","required":["StackResourceDriftStatus"],"members":{"StackResourceDriftStatus":{},"LastCheckTimestamp":{"type":"timestamp"}}},"S64":{"type":"structure","required":["StackId","LogicalResourceId","ResourceType","StackResourceDriftStatus","Timestamp"],"members":{"StackId":{},"LogicalResourceId":{},"PhysicalResourceId":{},"PhysicalResourceIdContext":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"ResourceType":{},"ExpectedProperties":{},"ActualProperties":{},"PropertyDifferences":{"type":"list","member":{"type":"structure","required":["PropertyPath","ExpectedValue","ActualValue","DifferenceType"],"members":{"PropertyPath":{},"ExpectedValue":{},"ActualValue":{},"DifferenceType":{}}}},"StackResourceDriftStatus":{},"Timestamp":{"type":"timestamp"},"ModuleInfo":{"shape":"S4i"}}},"S6o":{"type":"structure","members":{"DriftStatus":{},"DriftDetectionStatus":{},"LastDriftCheckTimestamp":{"type":"timestamp"},"TotalStackInstancesCount":{"type":"integer"},"DriftedStackInstancesCount":{"type":"integer"},"InSyncStackInstancesCount":{"type":"integer"},"InProgressStackInstancesCount":{"type":"integer"},"FailedStackInstancesCount":{"type":"integer"}}},"S82":{"type":"list","member":{}},"S8v":{"type":"list","member":{}}}} /***/ }), /* 81 */ @@ -34486,13 +34492,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 194 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-11-15","endpointPrefix":"ec2","protocol":"ec2","serviceAbbreviation":"Amazon EC2","serviceFullName":"Amazon Elastic Compute Cloud","serviceId":"EC2","signatureVersion":"v4","uid":"ec2-2016-11-15","xmlNamespace":"http://ec2.amazonaws.com/doc/2016-11-15"},"operations":{"AcceptReservedInstancesExchangeQuote":{"input":{"type":"structure","required":["ReservedInstanceIds"],"members":{"DryRun":{"type":"boolean"},"ReservedInstanceIds":{"shape":"S3","locationName":"ReservedInstanceId"},"TargetConfigurations":{"shape":"S5","locationName":"TargetConfiguration"}}},"output":{"type":"structure","members":{"ExchangeId":{"locationName":"exchangeId"}}}},"AcceptTransitGatewayMulticastDomainAssociations":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"TransitGatewayAttachmentId":{},"SubnetIds":{"shape":"Se"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"shape":"Sg","locationName":"associations"}}}},"AcceptTransitGatewayPeeringAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachment":{"shape":"Sn","locationName":"transitGatewayPeeringAttachment"}}}},"AcceptTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"AcceptVpcEndpointConnections":{"input":{"type":"structure","required":["ServiceId","VpcEndpointIds"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"VpcEndpointIds":{"shape":"S13","locationName":"VpcEndpointId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"AcceptVpcPeeringConnection":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"output":{"type":"structure","members":{"VpcPeeringConnection":{"shape":"S1c","locationName":"vpcPeeringConnection"}}}},"AdvertiseByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}},"AllocateAddress":{"input":{"type":"structure","members":{"Domain":{},"Address":{},"PublicIpv4Pool":{},"NetworkBorderGroup":{},"CustomerOwnedIpv4Pool":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"PublicIp":{"locationName":"publicIp"},"AllocationId":{"locationName":"allocationId"},"PublicIpv4Pool":{"locationName":"publicIpv4Pool"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"Domain":{"locationName":"domain"},"CustomerOwnedIp":{"locationName":"customerOwnedIp"},"CustomerOwnedIpv4Pool":{"locationName":"customerOwnedIpv4Pool"},"CarrierIp":{"locationName":"carrierIp"}}}},"AllocateHosts":{"input":{"type":"structure","required":["AvailabilityZone","Quantity"],"members":{"AutoPlacement":{"locationName":"autoPlacement"},"AvailabilityZone":{"locationName":"availabilityZone"},"ClientToken":{"locationName":"clientToken"},"InstanceType":{"locationName":"instanceType"},"InstanceFamily":{},"Quantity":{"locationName":"quantity","type":"integer"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"HostRecovery":{}}},"output":{"type":"structure","members":{"HostIds":{"shape":"S21","locationName":"hostIdSet"}}}},"AllocateIpamPoolCidr":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Cidr":{},"NetmaskLength":{"type":"integer"},"ClientToken":{"idempotencyToken":true},"Description":{},"PreviewNextCidr":{"type":"boolean"},"DisallowedCidrs":{"locationName":"DisallowedCidr","type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"IpamPoolAllocation":{"shape":"S26","locationName":"ipamPoolAllocation"}}}},"ApplySecurityGroupsToClientVpnTargetNetwork":{"input":{"type":"structure","required":["ClientVpnEndpointId","VpcId","SecurityGroupIds"],"members":{"ClientVpnEndpointId":{},"VpcId":{},"SecurityGroupIds":{"shape":"S2c","locationName":"SecurityGroupId"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SecurityGroupIds":{"shape":"S2c","locationName":"securityGroupIds"}}}},"AssignIpv6Addresses":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"Ipv6AddressCount":{"locationName":"ipv6AddressCount","type":"integer"},"Ipv6Addresses":{"shape":"S2g","locationName":"ipv6Addresses"},"Ipv6PrefixCount":{"type":"integer"},"Ipv6Prefixes":{"shape":"S2h","locationName":"Ipv6Prefix"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}},"output":{"type":"structure","members":{"AssignedIpv6Addresses":{"shape":"S2g","locationName":"assignedIpv6Addresses"},"AssignedIpv6Prefixes":{"shape":"S2h","locationName":"assignedIpv6PrefixSet"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}}},"AssignPrivateIpAddresses":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"AllowReassignment":{"locationName":"allowReassignment","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddresses":{"shape":"S2l","locationName":"privateIpAddress"},"SecondaryPrivateIpAddressCount":{"locationName":"secondaryPrivateIpAddressCount","type":"integer"},"Ipv4Prefixes":{"shape":"S2h","locationName":"Ipv4Prefix"},"Ipv4PrefixCount":{"type":"integer"}}},"output":{"type":"structure","members":{"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"AssignedPrivateIpAddresses":{"locationName":"assignedPrivateIpAddressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"AssignedIpv4Prefixes":{"shape":"S2p","locationName":"assignedIpv4PrefixSet"}}}},"AssociateAddress":{"input":{"type":"structure","members":{"AllocationId":{},"InstanceId":{},"PublicIp":{},"AllowReassociation":{"locationName":"allowReassociation","type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}},"output":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"}}}},"AssociateClientVpnTargetNetwork":{"input":{"type":"structure","required":["ClientVpnEndpointId","SubnetId"],"members":{"ClientVpnEndpointId":{},"SubnetId":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"Status":{"shape":"S2y","locationName":"status"}}}},"AssociateDhcpOptions":{"input":{"type":"structure","required":["DhcpOptionsId","VpcId"],"members":{"DhcpOptionsId":{},"VpcId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"AssociateEnclaveCertificateIamRole":{"input":{"type":"structure","members":{"CertificateArn":{},"RoleArn":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CertificateS3BucketName":{"locationName":"certificateS3BucketName"},"CertificateS3ObjectKey":{"locationName":"certificateS3ObjectKey"},"EncryptionKmsKeyId":{"locationName":"encryptionKmsKeyId"}}}},"AssociateIamInstanceProfile":{"input":{"type":"structure","required":["IamInstanceProfile","InstanceId"],"members":{"IamInstanceProfile":{"shape":"S36"},"InstanceId":{}}},"output":{"type":"structure","members":{"IamInstanceProfileAssociation":{"shape":"S38","locationName":"iamInstanceProfileAssociation"}}}},"AssociateInstanceEventWindow":{"input":{"type":"structure","required":["InstanceEventWindowId","AssociationTarget"],"members":{"DryRun":{"type":"boolean"},"InstanceEventWindowId":{},"AssociationTarget":{"type":"structure","members":{"InstanceIds":{"shape":"S3e","locationName":"InstanceId"},"InstanceTags":{"shape":"Ss","locationName":"InstanceTag"},"DedicatedHostIds":{"shape":"S3f","locationName":"DedicatedHostId"}}}}},"output":{"type":"structure","members":{"InstanceEventWindow":{"shape":"S3i","locationName":"instanceEventWindow"}}}},"AssociateRouteTable":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableId":{"locationName":"routeTableId"},"SubnetId":{"locationName":"subnetId"},"GatewayId":{}}},"output":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"AssociationState":{"shape":"S3u","locationName":"associationState"}}}},"AssociateSubnetCidrBlock":{"input":{"type":"structure","required":["Ipv6CidrBlock","SubnetId"],"members":{"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"SubnetId":{"locationName":"subnetId"}}},"output":{"type":"structure","members":{"Ipv6CidrBlockAssociation":{"shape":"S3y","locationName":"ipv6CidrBlockAssociation"},"SubnetId":{"locationName":"subnetId"}}}},"AssociateTransitGatewayMulticastDomain":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"TransitGatewayAttachmentId":{},"SubnetIds":{"shape":"S43"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"shape":"Sg","locationName":"associations"}}}},"AssociateTransitGatewayRouteTable":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","TransitGatewayAttachmentId"],"members":{"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Association":{"shape":"S48","locationName":"association"}}}},"AssociateTrunkInterface":{"input":{"type":"structure","required":["BranchInterfaceId","TrunkInterfaceId"],"members":{"BranchInterfaceId":{},"TrunkInterfaceId":{},"VlanId":{"type":"integer"},"GreKey":{"type":"integer"},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"InterfaceAssociation":{"shape":"S4c","locationName":"interfaceAssociation"},"ClientToken":{"locationName":"clientToken"}}}},"AssociateVpcCidrBlock":{"input":{"type":"structure","required":["VpcId"],"members":{"AmazonProvidedIpv6CidrBlock":{"locationName":"amazonProvidedIpv6CidrBlock","type":"boolean"},"CidrBlock":{},"VpcId":{"locationName":"vpcId"},"Ipv6CidrBlockNetworkBorderGroup":{},"Ipv6Pool":{},"Ipv6CidrBlock":{},"Ipv4IpamPoolId":{},"Ipv4NetmaskLength":{"type":"integer"},"Ipv6IpamPoolId":{},"Ipv6NetmaskLength":{"type":"integer"}}},"output":{"type":"structure","members":{"Ipv6CidrBlockAssociation":{"shape":"S4j","locationName":"ipv6CidrBlockAssociation"},"CidrBlockAssociation":{"shape":"S4m","locationName":"cidrBlockAssociation"},"VpcId":{"locationName":"vpcId"}}}},"AttachClassicLinkVpc":{"input":{"type":"structure","required":["Groups","InstanceId","VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Groups":{"shape":"S4o","locationName":"SecurityGroupId"},"InstanceId":{"locationName":"instanceId"},"VpcId":{"locationName":"vpcId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"AttachInternetGateway":{"input":{"type":"structure","required":["InternetGatewayId","VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"InternetGatewayId":{"locationName":"internetGatewayId"},"VpcId":{"locationName":"vpcId"}}}},"AttachNetworkInterface":{"input":{"type":"structure","required":["DeviceIndex","InstanceId","NetworkInterfaceId"],"members":{"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"NetworkCardIndex":{"type":"integer"}}},"output":{"type":"structure","members":{"AttachmentId":{"locationName":"attachmentId"},"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"}}}},"AttachVolume":{"input":{"type":"structure","required":["Device","InstanceId","VolumeId"],"members":{"Device":{},"InstanceId":{},"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"shape":"S4w"}},"AttachVpnGateway":{"input":{"type":"structure","required":["VpcId","VpnGatewayId"],"members":{"VpcId":{},"VpnGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpcAttachment":{"shape":"S51","locationName":"attachment"}}}},"AuthorizeClientVpnIngress":{"input":{"type":"structure","required":["ClientVpnEndpointId","TargetNetworkCidr"],"members":{"ClientVpnEndpointId":{},"TargetNetworkCidr":{},"AccessGroupId":{},"AuthorizeAllGroups":{"type":"boolean"},"Description":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S55","locationName":"status"}}}},"AuthorizeSecurityGroupEgress":{"input":{"type":"structure","required":["GroupId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupId":{"locationName":"groupId"},"IpPermissions":{"shape":"S58","locationName":"ipPermissions"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"CidrIp":{"locationName":"cidrIp"},"FromPort":{"locationName":"fromPort","type":"integer"},"IpProtocol":{"locationName":"ipProtocol"},"ToPort":{"locationName":"toPort","type":"integer"},"SourceSecurityGroupName":{"locationName":"sourceSecurityGroupName"},"SourceSecurityGroupOwnerId":{"locationName":"sourceSecurityGroupOwnerId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"SecurityGroupRules":{"shape":"S5j","locationName":"securityGroupRuleSet"}}}},"AuthorizeSecurityGroupIngress":{"input":{"type":"structure","members":{"CidrIp":{},"FromPort":{"type":"integer"},"GroupId":{},"GroupName":{},"IpPermissions":{"shape":"S58"},"IpProtocol":{},"SourceSecurityGroupName":{},"SourceSecurityGroupOwnerId":{},"ToPort":{"type":"integer"},"DryRun":{"locationName":"dryRun","type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"SecurityGroupRules":{"shape":"S5j","locationName":"securityGroupRuleSet"}}}},"BundleInstance":{"input":{"type":"structure","required":["InstanceId","Storage"],"members":{"InstanceId":{},"Storage":{"shape":"S5s"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"BundleTask":{"shape":"S5w","locationName":"bundleInstanceTask"}}}},"CancelBundleTask":{"input":{"type":"structure","required":["BundleId"],"members":{"BundleId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"BundleTask":{"shape":"S5w","locationName":"bundleInstanceTask"}}}},"CancelCapacityReservation":{"input":{"type":"structure","required":["CapacityReservationId"],"members":{"CapacityReservationId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"CancelCapacityReservationFleets":{"input":{"type":"structure","required":["CapacityReservationFleetIds"],"members":{"DryRun":{"type":"boolean"},"CapacityReservationFleetIds":{"shape":"S66","locationName":"CapacityReservationFleetId"}}},"output":{"type":"structure","members":{"SuccessfulFleetCancellations":{"locationName":"successfulFleetCancellationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrentFleetState":{"locationName":"currentFleetState"},"PreviousFleetState":{"locationName":"previousFleetState"},"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"}}}},"FailedFleetCancellations":{"locationName":"failedFleetCancellationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"},"CancelCapacityReservationFleetError":{"locationName":"cancelCapacityReservationFleetError","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}},"CancelConversionTask":{"input":{"type":"structure","required":["ConversionTaskId"],"members":{"ConversionTaskId":{"locationName":"conversionTaskId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"ReasonMessage":{"locationName":"reasonMessage"}}}},"CancelExportTask":{"input":{"type":"structure","required":["ExportTaskId"],"members":{"ExportTaskId":{"locationName":"exportTaskId"}}}},"CancelImportTask":{"input":{"type":"structure","members":{"CancelReason":{},"DryRun":{"type":"boolean"},"ImportTaskId":{}}},"output":{"type":"structure","members":{"ImportTaskId":{"locationName":"importTaskId"},"PreviousState":{"locationName":"previousState"},"State":{"locationName":"state"}}}},"CancelReservedInstancesListing":{"input":{"type":"structure","required":["ReservedInstancesListingId"],"members":{"ReservedInstancesListingId":{"locationName":"reservedInstancesListingId"}}},"output":{"type":"structure","members":{"ReservedInstancesListings":{"shape":"S6r","locationName":"reservedInstancesListingsSet"}}}},"CancelSpotFleetRequests":{"input":{"type":"structure","required":["SpotFleetRequestIds","TerminateInstances"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"SpotFleetRequestIds":{"shape":"S73","locationName":"spotFleetRequestId"},"TerminateInstances":{"locationName":"terminateInstances","type":"boolean"}}},"output":{"type":"structure","members":{"SuccessfulFleetRequests":{"locationName":"successfulFleetRequestSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrentSpotFleetRequestState":{"locationName":"currentSpotFleetRequestState"},"PreviousSpotFleetRequestState":{"locationName":"previousSpotFleetRequestState"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}}},"UnsuccessfulFleetRequests":{"locationName":"unsuccessfulFleetRequestSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}}}}}},"CancelSpotInstanceRequests":{"input":{"type":"structure","required":["SpotInstanceRequestIds"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"SpotInstanceRequestIds":{"shape":"S7e","locationName":"SpotInstanceRequestId"}}},"output":{"type":"structure","members":{"CancelledSpotInstanceRequests":{"locationName":"spotInstanceRequestSet","type":"list","member":{"locationName":"item","type":"structure","members":{"SpotInstanceRequestId":{"locationName":"spotInstanceRequestId"},"State":{"locationName":"state"}}}}}}},"ConfirmProductInstance":{"input":{"type":"structure","required":["InstanceId","ProductCode"],"members":{"InstanceId":{},"ProductCode":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"OwnerId":{"locationName":"ownerId"},"Return":{"locationName":"return","type":"boolean"}}}},"CopyFpgaImage":{"input":{"type":"structure","required":["SourceFpgaImageId","SourceRegion"],"members":{"DryRun":{"type":"boolean"},"SourceFpgaImageId":{},"Description":{},"Name":{},"SourceRegion":{},"ClientToken":{}}},"output":{"type":"structure","members":{"FpgaImageId":{"locationName":"fpgaImageId"}}}},"CopyImage":{"input":{"type":"structure","required":["Name","SourceImageId","SourceRegion"],"members":{"ClientToken":{},"Description":{},"Encrypted":{"locationName":"encrypted","type":"boolean"},"KmsKeyId":{"locationName":"kmsKeyId"},"Name":{},"SourceImageId":{},"SourceRegion":{},"DestinationOutpostArn":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"}}}},"CopySnapshot":{"input":{"type":"structure","required":["SourceRegion","SourceSnapshotId"],"members":{"Description":{},"DestinationOutpostArn":{},"DestinationRegion":{"locationName":"destinationRegion"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"KmsKeyId":{"locationName":"kmsKeyId"},"PresignedUrl":{"locationName":"presignedUrl"},"SourceRegion":{},"SourceSnapshotId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"CreateCapacityReservation":{"input":{"type":"structure","required":["InstanceType","InstancePlatform","InstanceCount"],"members":{"ClientToken":{},"InstanceType":{},"InstancePlatform":{},"AvailabilityZone":{},"AvailabilityZoneId":{},"Tenancy":{},"InstanceCount":{"type":"integer"},"EbsOptimized":{"type":"boolean"},"EphemeralStorage":{"type":"boolean"},"EndDate":{"type":"timestamp"},"EndDateType":{},"InstanceMatchCriteria":{},"TagSpecifications":{"shape":"S1t"},"DryRun":{"type":"boolean"},"OutpostArn":{}}},"output":{"type":"structure","members":{"CapacityReservation":{"shape":"S80","locationName":"capacityReservation"}}}},"CreateCapacityReservationFleet":{"input":{"type":"structure","required":["InstanceTypeSpecifications","TotalTargetCapacity"],"members":{"AllocationStrategy":{},"ClientToken":{"idempotencyToken":true},"InstanceTypeSpecifications":{"locationName":"InstanceTypeSpecification","type":"list","member":{"type":"structure","members":{"InstanceType":{},"InstancePlatform":{},"Weight":{"type":"double"},"AvailabilityZone":{},"AvailabilityZoneId":{},"EbsOptimized":{"type":"boolean"},"Priority":{"type":"integer"}}}},"Tenancy":{},"TotalTargetCapacity":{"type":"integer"},"EndDate":{"type":"timestamp"},"InstanceMatchCriteria":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"},"State":{"locationName":"state"},"TotalTargetCapacity":{"locationName":"totalTargetCapacity","type":"integer"},"TotalFulfilledCapacity":{"locationName":"totalFulfilledCapacity","type":"double"},"InstanceMatchCriteria":{"locationName":"instanceMatchCriteria"},"AllocationStrategy":{"locationName":"allocationStrategy"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"EndDate":{"locationName":"endDate","type":"timestamp"},"Tenancy":{"locationName":"tenancy"},"FleetCapacityReservations":{"shape":"S8c","locationName":"fleetCapacityReservationSet"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"CreateCarrierGateway":{"input":{"type":"structure","required":["VpcId"],"members":{"VpcId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"CarrierGateway":{"shape":"S8g","locationName":"carrierGateway"}}}},"CreateClientVpnEndpoint":{"input":{"type":"structure","required":["ClientCidrBlock","ServerCertificateArn","AuthenticationOptions","ConnectionLogOptions"],"members":{"ClientCidrBlock":{},"ServerCertificateArn":{},"AuthenticationOptions":{"locationName":"Authentication","type":"list","member":{"type":"structure","members":{"Type":{},"ActiveDirectory":{"type":"structure","members":{"DirectoryId":{}}},"MutualAuthentication":{"type":"structure","members":{"ClientRootCertificateChainArn":{}}},"FederatedAuthentication":{"type":"structure","members":{"SAMLProviderArn":{},"SelfServiceSAMLProviderArn":{}}}}}},"ConnectionLogOptions":{"shape":"S8q"},"DnsServers":{"shape":"Se"},"TransportProtocol":{},"VpnPort":{"type":"integer"},"Description":{},"SplitTunnel":{"type":"boolean"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"SecurityGroupIds":{"shape":"S2c","locationName":"SecurityGroupId"},"VpcId":{},"SelfServicePortal":{},"ClientConnectOptions":{"shape":"S8t"}}},"output":{"type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Status":{"shape":"S8v","locationName":"status"},"DnsName":{"locationName":"dnsName"}}}},"CreateClientVpnRoute":{"input":{"type":"structure","required":["ClientVpnEndpointId","DestinationCidrBlock","TargetVpcSubnetId"],"members":{"ClientVpnEndpointId":{},"DestinationCidrBlock":{},"TargetVpcSubnetId":{},"Description":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S8z","locationName":"status"}}}},"CreateCustomerGateway":{"input":{"type":"structure","required":["BgpAsn","Type"],"members":{"BgpAsn":{"type":"integer"},"PublicIp":{"locationName":"IpAddress"},"CertificateArn":{},"Type":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DeviceName":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"CustomerGateway":{"shape":"S94","locationName":"customerGateway"}}}},"CreateDefaultSubnet":{"input":{"type":"structure","required":["AvailabilityZone"],"members":{"AvailabilityZone":{},"DryRun":{"type":"boolean"},"Ipv6Native":{"type":"boolean"}}},"output":{"type":"structure","members":{"Subnet":{"shape":"S97","locationName":"subnet"}}}},"CreateDefaultVpc":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Vpc":{"shape":"S9f","locationName":"vpc"}}}},"CreateDhcpOptions":{"input":{"type":"structure","required":["DhcpConfigurations"],"members":{"DhcpConfigurations":{"locationName":"dhcpConfiguration","type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"Values":{"shape":"Se","locationName":"Value"}}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"DhcpOptions":{"shape":"S9o","locationName":"dhcpOptions"}}}},"CreateEgressOnlyInternetGateway":{"input":{"type":"structure","required":["VpcId"],"members":{"ClientToken":{},"DryRun":{"type":"boolean"},"VpcId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"EgressOnlyInternetGateway":{"shape":"S9v","locationName":"egressOnlyInternetGateway"}}}},"CreateFleet":{"input":{"type":"structure","required":["LaunchTemplateConfigs","TargetCapacitySpecification"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"SpotOptions":{"type":"structure","members":{"AllocationStrategy":{},"MaintenanceStrategies":{"type":"structure","members":{"CapacityRebalance":{"type":"structure","members":{"ReplacementStrategy":{},"TerminationDelay":{"type":"integer"}}}}},"InstanceInterruptionBehavior":{},"InstancePoolsToUseCount":{"type":"integer"},"SingleInstanceType":{"type":"boolean"},"SingleAvailabilityZone":{"type":"boolean"},"MinTargetCapacity":{"type":"integer"},"MaxTotalPrice":{}}},"OnDemandOptions":{"type":"structure","members":{"AllocationStrategy":{},"CapacityReservationOptions":{"type":"structure","members":{"UsageStrategy":{}}},"SingleInstanceType":{"type":"boolean"},"SingleAvailabilityZone":{"type":"boolean"},"MinTargetCapacity":{"type":"integer"},"MaxTotalPrice":{}}},"ExcessCapacityTerminationPolicy":{},"LaunchTemplateConfigs":{"shape":"Sab"},"TargetCapacitySpecification":{"shape":"Sba"},"TerminateInstancesWithExpiration":{"type":"boolean"},"Type":{},"ValidFrom":{"type":"timestamp"},"ValidUntil":{"type":"timestamp"},"ReplaceUnhealthyInstances":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"Context":{}}},"output":{"type":"structure","members":{"FleetId":{"locationName":"fleetId"},"Errors":{"locationName":"errorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateAndOverrides":{"shape":"Sbi","locationName":"launchTemplateAndOverrides"},"Lifecycle":{"locationName":"lifecycle"},"ErrorCode":{"locationName":"errorCode"},"ErrorMessage":{"locationName":"errorMessage"}}}},"Instances":{"locationName":"fleetInstanceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateAndOverrides":{"shape":"Sbi","locationName":"launchTemplateAndOverrides"},"Lifecycle":{"locationName":"lifecycle"},"InstanceIds":{"shape":"Sby","locationName":"instanceIds"},"InstanceType":{"locationName":"instanceType"},"Platform":{"locationName":"platform"}}}}}}},"CreateFlowLogs":{"input":{"type":"structure","required":["ResourceIds","ResourceType","TrafficType"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"DeliverLogsPermissionArn":{},"LogGroupName":{},"ResourceIds":{"locationName":"ResourceId","type":"list","member":{"locationName":"item"}},"ResourceType":{},"TrafficType":{},"LogDestinationType":{},"LogDestination":{},"LogFormat":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"MaxAggregationInterval":{"type":"integer"},"DestinationOptions":{"type":"structure","members":{"FileFormat":{},"HiveCompatiblePartitions":{"type":"boolean"},"PerHourPartition":{"type":"boolean"}}}}},"output":{"type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"FlowLogIds":{"shape":"Se","locationName":"flowLogIdSet"},"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"CreateFpgaImage":{"input":{"type":"structure","required":["InputStorageLocation"],"members":{"DryRun":{"type":"boolean"},"InputStorageLocation":{"shape":"Sca"},"LogsStorageLocation":{"shape":"Sca"},"Description":{},"Name":{},"ClientToken":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"FpgaImageId":{"locationName":"fpgaImageId"},"FpgaImageGlobalId":{"locationName":"fpgaImageGlobalId"}}}},"CreateImage":{"input":{"type":"structure","required":["InstanceId","Name"],"members":{"BlockDeviceMappings":{"shape":"Scd","locationName":"blockDeviceMapping"},"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"},"Name":{"locationName":"name"},"NoReboot":{"locationName":"noReboot","type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"}}}},"CreateInstanceEventWindow":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Name":{},"TimeRanges":{"shape":"Sck","locationName":"TimeRange"},"CronExpression":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"InstanceEventWindow":{"shape":"S3i","locationName":"instanceEventWindow"}}}},"CreateInstanceExportTask":{"input":{"type":"structure","required":["ExportToS3Task","InstanceId","TargetEnvironment"],"members":{"Description":{"locationName":"description"},"ExportToS3Task":{"locationName":"exportToS3","type":"structure","members":{"ContainerFormat":{"locationName":"containerFormat"},"DiskImageFormat":{"locationName":"diskImageFormat"},"S3Bucket":{"locationName":"s3Bucket"},"S3Prefix":{"locationName":"s3Prefix"}}},"InstanceId":{"locationName":"instanceId"},"TargetEnvironment":{"locationName":"targetEnvironment"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ExportTask":{"shape":"Sct","locationName":"exportTask"}}}},"CreateInternetGateway":{"input":{"type":"structure","members":{"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"InternetGateway":{"shape":"Scz","locationName":"internetGateway"}}}},"CreateIpam":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Description":{},"OperatingRegions":{"shape":"Sd1","locationName":"OperatingRegion"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Ipam":{"shape":"Sd4","locationName":"ipam"}}}},"CreateIpamPool":{"input":{"type":"structure","required":["IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"IpamScopeId":{},"Locale":{},"SourceIpamPoolId":{},"Description":{},"AddressFamily":{},"AutoImport":{"type":"boolean"},"PubliclyAdvertisable":{"type":"boolean"},"AllocationMinNetmaskLength":{"type":"integer"},"AllocationMaxNetmaskLength":{"type":"integer"},"AllocationDefaultNetmaskLength":{"type":"integer"},"AllocationResourceTags":{"shape":"Sdd","locationName":"AllocationResourceTag"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true},"AwsService":{}}},"output":{"type":"structure","members":{"IpamPool":{"shape":"Sdh","locationName":"ipamPool"}}}},"CreateIpamScope":{"input":{"type":"structure","required":["IpamId"],"members":{"DryRun":{"type":"boolean"},"IpamId":{},"Description":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"IpamScope":{"shape":"Sdo","locationName":"ipamScope"}}}},"CreateKeyPair":{"input":{"type":"structure","required":["KeyName"],"members":{"KeyName":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"KeyType":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"KeyFingerprint":{"locationName":"keyFingerprint"},"KeyMaterial":{"locationName":"keyMaterial","type":"string","sensitive":true},"KeyName":{"locationName":"keyName"},"KeyPairId":{"locationName":"keyPairId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"CreateLaunchTemplate":{"input":{"type":"structure","required":["LaunchTemplateName","LaunchTemplateData"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"LaunchTemplateName":{},"VersionDescription":{},"LaunchTemplateData":{"shape":"Sdw"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"LaunchTemplate":{"shape":"Sfb","locationName":"launchTemplate"},"Warning":{"shape":"Sfc","locationName":"warning"}}}},"CreateLaunchTemplateVersion":{"input":{"type":"structure","required":["LaunchTemplateData"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"LaunchTemplateId":{},"LaunchTemplateName":{},"SourceVersion":{},"VersionDescription":{},"LaunchTemplateData":{"shape":"Sdw"}}},"output":{"type":"structure","members":{"LaunchTemplateVersion":{"shape":"Sfh","locationName":"launchTemplateVersion"},"Warning":{"shape":"Sfc","locationName":"warning"}}}},"CreateLocalGatewayRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","LocalGatewayRouteTableId","LocalGatewayVirtualInterfaceGroupId"],"members":{"DestinationCidrBlock":{},"LocalGatewayRouteTableId":{},"LocalGatewayVirtualInterfaceGroupId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Sgk","locationName":"route"}}}},"CreateLocalGatewayRouteTableVpcAssociation":{"input":{"type":"structure","required":["LocalGatewayRouteTableId","VpcId"],"members":{"LocalGatewayRouteTableId":{},"VpcId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociation":{"shape":"Sgp","locationName":"localGatewayRouteTableVpcAssociation"}}}},"CreateManagedPrefixList":{"input":{"type":"structure","required":["PrefixListName","MaxEntries","AddressFamily"],"members":{"DryRun":{"type":"boolean"},"PrefixListName":{},"Entries":{"shape":"Sgs","locationName":"Entry"},"MaxEntries":{"type":"integer"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"AddressFamily":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PrefixList":{"shape":"Sgv","locationName":"prefixList"}}}},"CreateNatGateway":{"input":{"type":"structure","required":["SubnetId"],"members":{"AllocationId":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"},"SubnetId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ConnectivityType":{}}},"output":{"type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"NatGateway":{"shape":"Sh0","locationName":"natGateway"}}}},"CreateNetworkAcl":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcId":{"locationName":"vpcId"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"NetworkAcl":{"shape":"Sh7","locationName":"networkAcl"}}}},"CreateNetworkAclEntry":{"input":{"type":"structure","required":["Egress","NetworkAclId","Protocol","RuleAction","RuleNumber"],"members":{"CidrBlock":{"locationName":"cidrBlock"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Egress":{"locationName":"egress","type":"boolean"},"IcmpTypeCode":{"shape":"Shc","locationName":"Icmp"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"NetworkAclId":{"locationName":"networkAclId"},"PortRange":{"shape":"Shd","locationName":"portRange"},"Protocol":{"locationName":"protocol"},"RuleAction":{"locationName":"ruleAction"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}}},"CreateNetworkInsightsAccessScope":{"input":{"type":"structure","required":["ClientToken"],"members":{"MatchPaths":{"shape":"Shi","locationName":"MatchPath"},"ExcludePaths":{"shape":"Shi","locationName":"ExcludePath"},"ClientToken":{"idempotencyToken":true},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScope":{"shape":"Shs","locationName":"networkInsightsAccessScope"},"NetworkInsightsAccessScopeContent":{"shape":"Shu","locationName":"networkInsightsAccessScopeContent"}}}},"CreateNetworkInsightsPath":{"input":{"type":"structure","required":["Source","Destination","Protocol","ClientToken"],"members":{"SourceIp":{},"DestinationIp":{},"Source":{},"Destination":{},"Protocol":{},"DestinationPort":{"type":"integer"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"NetworkInsightsPath":{"shape":"Si6","locationName":"networkInsightsPath"}}}},"CreateNetworkInterface":{"input":{"type":"structure","required":["SubnetId"],"members":{"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Groups":{"shape":"Se4","locationName":"SecurityGroupId"},"Ipv6AddressCount":{"locationName":"ipv6AddressCount","type":"integer"},"Ipv6Addresses":{"shape":"Sfp","locationName":"ipv6Addresses"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"shape":"Se7","locationName":"privateIpAddresses"},"SecondaryPrivateIpAddressCount":{"locationName":"secondaryPrivateIpAddressCount","type":"integer"},"Ipv4Prefixes":{"shape":"Se9","locationName":"Ipv4Prefix"},"Ipv4PrefixCount":{"type":"integer"},"Ipv6Prefixes":{"shape":"Seb","locationName":"Ipv6Prefix"},"Ipv6PrefixCount":{"type":"integer"},"InterfaceType":{},"SubnetId":{"locationName":"subnetId"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"NetworkInterface":{"shape":"Sib","locationName":"networkInterface"},"ClientToken":{"locationName":"clientToken"}}}},"CreateNetworkInterfacePermission":{"input":{"type":"structure","required":["NetworkInterfaceId","Permission"],"members":{"NetworkInterfaceId":{},"AwsAccountId":{},"AwsService":{},"Permission":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"InterfacePermission":{"shape":"Sir","locationName":"interfacePermission"}}}},"CreatePlacementGroup":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupName":{"locationName":"groupName"},"Strategy":{"locationName":"strategy"},"PartitionCount":{"type":"integer"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"PlacementGroup":{"shape":"Six","locationName":"placementGroup"}}}},"CreatePublicIpv4Pool":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"PoolId":{"locationName":"poolId"}}}},"CreateReplaceRootVolumeTask":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"SnapshotId":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ReplaceRootVolumeTask":{"shape":"Sj3","locationName":"replaceRootVolumeTask"}}}},"CreateReservedInstancesListing":{"input":{"type":"structure","required":["ClientToken","InstanceCount","PriceSchedules","ReservedInstancesId"],"members":{"ClientToken":{"locationName":"clientToken"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"PriceSchedules":{"locationName":"priceSchedules","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"Price":{"locationName":"price","type":"double"},"Term":{"locationName":"term","type":"long"}}}},"ReservedInstancesId":{"locationName":"reservedInstancesId"}}},"output":{"type":"structure","members":{"ReservedInstancesListings":{"shape":"S6r","locationName":"reservedInstancesListingsSet"}}}},"CreateRestoreImageTask":{"input":{"type":"structure","required":["Bucket","ObjectKey"],"members":{"Bucket":{},"ObjectKey":{},"Name":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"}}}},"CreateRoute":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"DestinationIpv6CidrBlock":{"locationName":"destinationIpv6CidrBlock"},"DestinationPrefixListId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcEndpointId":{},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"GatewayId":{"locationName":"gatewayId"},"InstanceId":{"locationName":"instanceId"},"NatGatewayId":{"locationName":"natGatewayId"},"TransitGatewayId":{},"LocalGatewayId":{},"CarrierGatewayId":{},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"RouteTableId":{"locationName":"routeTableId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"},"CoreNetworkArn":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"CreateRouteTable":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcId":{"locationName":"vpcId"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"RouteTable":{"shape":"Sjk","locationName":"routeTable"}}}},"CreateSecurityGroup":{"input":{"type":"structure","required":["Description","GroupName"],"members":{"Description":{"locationName":"GroupDescription"},"GroupName":{},"VpcId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"GroupId":{"locationName":"groupId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"CreateSnapshot":{"input":{"type":"structure","required":["VolumeId"],"members":{"Description":{},"OutpostArn":{},"VolumeId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"shape":"Sjw"}},"CreateSnapshots":{"input":{"type":"structure","required":["InstanceSpecification"],"members":{"Description":{},"InstanceSpecification":{"type":"structure","members":{"InstanceId":{},"ExcludeBootVolume":{"type":"boolean"}}},"OutpostArn":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"CopyTagsFromSource":{}}},"output":{"type":"structure","members":{"Snapshots":{"locationName":"snapshotSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"VolumeId":{"locationName":"volumeId"},"State":{"locationName":"state"},"VolumeSize":{"locationName":"volumeSize","type":"integer"},"StartTime":{"locationName":"startTime","type":"timestamp"},"Progress":{"locationName":"progress"},"OwnerId":{"locationName":"ownerId"},"SnapshotId":{"locationName":"snapshotId"},"OutpostArn":{"locationName":"outpostArn"}}}}}}},"CreateSpotDatafeedSubscription":{"input":{"type":"structure","required":["Bucket"],"members":{"Bucket":{"locationName":"bucket"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Prefix":{"locationName":"prefix"}}},"output":{"type":"structure","members":{"SpotDatafeedSubscription":{"shape":"Sk7","locationName":"spotDatafeedSubscription"}}}},"CreateStoreImageTask":{"input":{"type":"structure","required":["ImageId","Bucket"],"members":{"ImageId":{},"Bucket":{},"S3ObjectTags":{"locationName":"S3ObjectTag","type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{},"Value":{}}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ObjectKey":{"locationName":"objectKey"}}}},"CreateSubnet":{"input":{"type":"structure","required":["VpcId"],"members":{"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"AvailabilityZone":{},"AvailabilityZoneId":{},"CidrBlock":{},"Ipv6CidrBlock":{},"OutpostArn":{},"VpcId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"Ipv6Native":{"type":"boolean"}}},"output":{"type":"structure","members":{"Subnet":{"shape":"S97","locationName":"subnet"}}}},"CreateSubnetCidrReservation":{"input":{"type":"structure","required":["SubnetId","Cidr","ReservationType"],"members":{"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"SubnetId":{},"Cidr":{},"ReservationType":{},"Description":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SubnetCidrReservation":{"shape":"Skj","locationName":"subnetCidrReservation"}}}},"CreateTags":{"input":{"type":"structure","required":["Resources","Tags"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Resources":{"shape":"Skm","locationName":"ResourceId"},"Tags":{"shape":"Ss","locationName":"Tag"}}}},"CreateTrafficMirrorFilter":{"input":{"type":"structure","members":{"Description":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"TrafficMirrorFilter":{"shape":"Skq","locationName":"trafficMirrorFilter"},"ClientToken":{"locationName":"clientToken"}}}},"CreateTrafficMirrorFilterRule":{"input":{"type":"structure","required":["TrafficMirrorFilterId","TrafficDirection","RuleNumber","RuleAction","DestinationCidrBlock","SourceCidrBlock"],"members":{"TrafficMirrorFilterId":{},"TrafficDirection":{},"RuleNumber":{"type":"integer"},"RuleAction":{},"DestinationPortRange":{"shape":"Sl0"},"SourcePortRange":{"shape":"Sl0"},"Protocol":{"type":"integer"},"DestinationCidrBlock":{},"SourceCidrBlock":{},"Description":{},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"TrafficMirrorFilterRule":{"shape":"Sks","locationName":"trafficMirrorFilterRule"},"ClientToken":{"locationName":"clientToken"}}}},"CreateTrafficMirrorSession":{"input":{"type":"structure","required":["NetworkInterfaceId","TrafficMirrorTargetId","TrafficMirrorFilterId","SessionNumber"],"members":{"NetworkInterfaceId":{},"TrafficMirrorTargetId":{},"TrafficMirrorFilterId":{},"PacketLength":{"type":"integer"},"SessionNumber":{"type":"integer"},"VirtualNetworkId":{"type":"integer"},"Description":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"TrafficMirrorSession":{"shape":"Sl5","locationName":"trafficMirrorSession"},"ClientToken":{"locationName":"clientToken"}}}},"CreateTrafficMirrorTarget":{"input":{"type":"structure","members":{"NetworkInterfaceId":{},"NetworkLoadBalancerArn":{},"Description":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"TrafficMirrorTarget":{"shape":"Sl8","locationName":"trafficMirrorTarget"},"ClientToken":{"locationName":"clientToken"}}}},"CreateTransitGateway":{"input":{"type":"structure","members":{"Description":{},"Options":{"type":"structure","members":{"AmazonSideAsn":{"type":"long"},"AutoAcceptSharedAttachments":{},"DefaultRouteTableAssociation":{},"DefaultRouteTablePropagation":{},"VpnEcmpSupport":{},"DnsSupport":{},"MulticastSupport":{},"TransitGatewayCidrBlocks":{"shape":"Slh"}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGateway":{"shape":"Slj","locationName":"transitGateway"}}}},"CreateTransitGatewayConnect":{"input":{"type":"structure","required":["TransportTransitGatewayAttachmentId","Options"],"members":{"TransportTransitGatewayAttachmentId":{},"Options":{"type":"structure","required":["Protocol"],"members":{"Protocol":{}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnect":{"shape":"Slq","locationName":"transitGatewayConnect"}}}},"CreateTransitGatewayConnectPeer":{"input":{"type":"structure","required":["TransitGatewayAttachmentId","PeerAddress","InsideCidrBlocks"],"members":{"TransitGatewayAttachmentId":{},"TransitGatewayAddress":{},"PeerAddress":{},"BgpOptions":{"type":"structure","members":{"PeerAsn":{"type":"long"}}},"InsideCidrBlocks":{"shape":"Slu"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnectPeer":{"shape":"Slw","locationName":"transitGatewayConnectPeer"}}}},"CreateTransitGatewayMulticastDomain":{"input":{"type":"structure","required":["TransitGatewayId"],"members":{"TransitGatewayId":{},"Options":{"type":"structure","members":{"Igmpv2Support":{},"StaticSourcesSupport":{},"AutoAcceptSharedAssociations":{}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayMulticastDomain":{"shape":"Sm9","locationName":"transitGatewayMulticastDomain"}}}},"CreateTransitGatewayPeeringAttachment":{"input":{"type":"structure","required":["TransitGatewayId","PeerTransitGatewayId","PeerAccountId","PeerRegion"],"members":{"TransitGatewayId":{},"PeerTransitGatewayId":{},"PeerAccountId":{},"PeerRegion":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachment":{"shape":"Sn","locationName":"transitGatewayPeeringAttachment"}}}},"CreateTransitGatewayPrefixListReference":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","PrefixListId"],"members":{"TransitGatewayRouteTableId":{},"PrefixListId":{},"TransitGatewayAttachmentId":{},"Blackhole":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPrefixListReference":{"shape":"Smh","locationName":"transitGatewayPrefixListReference"}}}},"CreateTransitGatewayRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","TransitGatewayRouteTableId"],"members":{"DestinationCidrBlock":{},"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"Blackhole":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Smm","locationName":"route"}}}},"CreateTransitGatewayRouteTable":{"input":{"type":"structure","required":["TransitGatewayId"],"members":{"TransitGatewayId":{},"TagSpecifications":{"shape":"S1t"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayRouteTable":{"shape":"Smt","locationName":"transitGatewayRouteTable"}}}},"CreateTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayId","VpcId","SubnetIds"],"members":{"TransitGatewayId":{},"VpcId":{},"SubnetIds":{"shape":"S43"},"Options":{"type":"structure","members":{"DnsSupport":{},"Ipv6Support":{},"ApplianceModeSupport":{}}},"TagSpecifications":{"shape":"S1t"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"CreateVolume":{"input":{"type":"structure","required":["AvailabilityZone"],"members":{"AvailabilityZone":{},"Encrypted":{"locationName":"encrypted","type":"boolean"},"Iops":{"type":"integer"},"KmsKeyId":{},"OutpostArn":{},"Size":{"type":"integer"},"SnapshotId":{},"VolumeType":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"MultiAttachEnabled":{"type":"boolean"},"Throughput":{"type":"integer"},"ClientToken":{"idempotencyToken":true}}},"output":{"shape":"Smz"}},"CreateVpc":{"input":{"type":"structure","members":{"CidrBlock":{},"AmazonProvidedIpv6CidrBlock":{"locationName":"amazonProvidedIpv6CidrBlock","type":"boolean"},"Ipv6Pool":{},"Ipv6CidrBlock":{},"Ipv4IpamPoolId":{},"Ipv4NetmaskLength":{"type":"integer"},"Ipv6IpamPoolId":{},"Ipv6NetmaskLength":{"type":"integer"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceTenancy":{"locationName":"instanceTenancy"},"Ipv6CidrBlockNetworkBorderGroup":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"Vpc":{"shape":"S9f","locationName":"vpc"}}}},"CreateVpcEndpoint":{"input":{"type":"structure","required":["VpcId","ServiceName"],"members":{"DryRun":{"type":"boolean"},"VpcEndpointType":{},"VpcId":{},"ServiceName":{},"PolicyDocument":{},"RouteTableIds":{"shape":"Sn6","locationName":"RouteTableId"},"SubnetIds":{"shape":"Sn7","locationName":"SubnetId"},"SecurityGroupIds":{"shape":"Sn8","locationName":"SecurityGroupId"},"ClientToken":{},"PrivateDnsEnabled":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"VpcEndpoint":{"shape":"Sna","locationName":"vpcEndpoint"},"ClientToken":{"locationName":"clientToken"}}}},"CreateVpcEndpointConnectionNotification":{"input":{"type":"structure","required":["ConnectionNotificationArn","ConnectionEvents"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"VpcEndpointId":{},"ConnectionNotificationArn":{},"ConnectionEvents":{"shape":"Se"},"ClientToken":{}}},"output":{"type":"structure","members":{"ConnectionNotification":{"shape":"Snj","locationName":"connectionNotification"},"ClientToken":{"locationName":"clientToken"}}}},"CreateVpcEndpointServiceConfiguration":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"AcceptanceRequired":{"type":"boolean"},"PrivateDnsName":{},"NetworkLoadBalancerArns":{"shape":"Se","locationName":"NetworkLoadBalancerArn"},"GatewayLoadBalancerArns":{"shape":"Se","locationName":"GatewayLoadBalancerArn"},"ClientToken":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ServiceConfiguration":{"shape":"Sno","locationName":"serviceConfiguration"},"ClientToken":{"locationName":"clientToken"}}}},"CreateVpcPeeringConnection":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"PeerOwnerId":{"locationName":"peerOwnerId"},"PeerVpcId":{"locationName":"peerVpcId"},"VpcId":{"locationName":"vpcId"},"PeerRegion":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"VpcPeeringConnection":{"shape":"S1c","locationName":"vpcPeeringConnection"}}}},"CreateVpnConnection":{"input":{"type":"structure","required":["CustomerGatewayId","Type"],"members":{"CustomerGatewayId":{},"Type":{},"VpnGatewayId":{},"TransitGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"Options":{"locationName":"options","type":"structure","members":{"EnableAcceleration":{"type":"boolean"},"StaticRoutesOnly":{"locationName":"staticRoutesOnly","type":"boolean"},"TunnelInsideIpVersion":{},"TunnelOptions":{"type":"list","member":{"type":"structure","members":{"TunnelInsideCidr":{},"TunnelInsideIpv6Cidr":{},"PreSharedKey":{},"Phase1LifetimeSeconds":{"type":"integer"},"Phase2LifetimeSeconds":{"type":"integer"},"RekeyMarginTimeSeconds":{"type":"integer"},"RekeyFuzzPercentage":{"type":"integer"},"ReplayWindowSize":{"type":"integer"},"DPDTimeoutSeconds":{"type":"integer"},"DPDTimeoutAction":{},"Phase1EncryptionAlgorithms":{"shape":"So4","locationName":"Phase1EncryptionAlgorithm"},"Phase2EncryptionAlgorithms":{"shape":"So6","locationName":"Phase2EncryptionAlgorithm"},"Phase1IntegrityAlgorithms":{"shape":"So8","locationName":"Phase1IntegrityAlgorithm"},"Phase2IntegrityAlgorithms":{"shape":"Soa","locationName":"Phase2IntegrityAlgorithm"},"Phase1DHGroupNumbers":{"shape":"Soc","locationName":"Phase1DHGroupNumber"},"Phase2DHGroupNumbers":{"shape":"Soe","locationName":"Phase2DHGroupNumber"},"IKEVersions":{"shape":"Sog","locationName":"IKEVersion"},"StartupAction":{}}}},"LocalIpv4NetworkCidr":{},"RemoteIpv4NetworkCidr":{},"LocalIpv6NetworkCidr":{},"RemoteIpv6NetworkCidr":{}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Soj","locationName":"vpnConnection"}}}},"CreateVpnConnectionRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","VpnConnectionId"],"members":{"DestinationCidrBlock":{},"VpnConnectionId":{}}}},"CreateVpnGateway":{"input":{"type":"structure","required":["Type"],"members":{"AvailabilityZone":{},"Type":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"AmazonSideAsn":{"type":"long"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpnGateway":{"shape":"Spd","locationName":"vpnGateway"}}}},"DeleteCarrierGateway":{"input":{"type":"structure","required":["CarrierGatewayId"],"members":{"CarrierGatewayId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CarrierGateway":{"shape":"S8g","locationName":"carrierGateway"}}}},"DeleteClientVpnEndpoint":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S8v","locationName":"status"}}}},"DeleteClientVpnRoute":{"input":{"type":"structure","required":["ClientVpnEndpointId","DestinationCidrBlock"],"members":{"ClientVpnEndpointId":{},"TargetVpcSubnetId":{},"DestinationCidrBlock":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S8z","locationName":"status"}}}},"DeleteCustomerGateway":{"input":{"type":"structure","required":["CustomerGatewayId"],"members":{"CustomerGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteDhcpOptions":{"input":{"type":"structure","required":["DhcpOptionsId"],"members":{"DhcpOptionsId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteEgressOnlyInternetGateway":{"input":{"type":"structure","required":["EgressOnlyInternetGatewayId"],"members":{"DryRun":{"type":"boolean"},"EgressOnlyInternetGatewayId":{}}},"output":{"type":"structure","members":{"ReturnCode":{"locationName":"returnCode","type":"boolean"}}}},"DeleteFleets":{"input":{"type":"structure","required":["FleetIds","TerminateInstances"],"members":{"DryRun":{"type":"boolean"},"FleetIds":{"shape":"Spr","locationName":"FleetId"},"TerminateInstances":{"type":"boolean"}}},"output":{"type":"structure","members":{"SuccessfulFleetDeletions":{"locationName":"successfulFleetDeletionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrentFleetState":{"locationName":"currentFleetState"},"PreviousFleetState":{"locationName":"previousFleetState"},"FleetId":{"locationName":"fleetId"}}}},"UnsuccessfulFleetDeletions":{"locationName":"unsuccessfulFleetDeletionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"FleetId":{"locationName":"fleetId"}}}}}}},"DeleteFlowLogs":{"input":{"type":"structure","required":["FlowLogIds"],"members":{"DryRun":{"type":"boolean"},"FlowLogIds":{"shape":"Sq1","locationName":"FlowLogId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"DeleteFpgaImage":{"input":{"type":"structure","required":["FpgaImageId"],"members":{"DryRun":{"type":"boolean"},"FpgaImageId":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DeleteInstanceEventWindow":{"input":{"type":"structure","required":["InstanceEventWindowId"],"members":{"DryRun":{"type":"boolean"},"ForceDelete":{"type":"boolean"},"InstanceEventWindowId":{}}},"output":{"type":"structure","members":{"InstanceEventWindowState":{"locationName":"instanceEventWindowState","type":"structure","members":{"InstanceEventWindowId":{"locationName":"instanceEventWindowId"},"State":{"locationName":"state"}}}}}},"DeleteInternetGateway":{"input":{"type":"structure","required":["InternetGatewayId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"InternetGatewayId":{"locationName":"internetGatewayId"}}}},"DeleteIpam":{"input":{"type":"structure","required":["IpamId"],"members":{"DryRun":{"type":"boolean"},"IpamId":{}}},"output":{"type":"structure","members":{"Ipam":{"shape":"Sd4","locationName":"ipam"}}}},"DeleteIpamPool":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{}}},"output":{"type":"structure","members":{"IpamPool":{"shape":"Sdh","locationName":"ipamPool"}}}},"DeleteIpamScope":{"input":{"type":"structure","required":["IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"IpamScopeId":{}}},"output":{"type":"structure","members":{"IpamScope":{"shape":"Sdo","locationName":"ipamScope"}}}},"DeleteKeyPair":{"input":{"type":"structure","members":{"KeyName":{},"KeyPairId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteLaunchTemplate":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"LaunchTemplateId":{},"LaunchTemplateName":{}}},"output":{"type":"structure","members":{"LaunchTemplate":{"shape":"Sfb","locationName":"launchTemplate"}}}},"DeleteLaunchTemplateVersions":{"input":{"type":"structure","required":["Versions"],"members":{"DryRun":{"type":"boolean"},"LaunchTemplateId":{},"LaunchTemplateName":{},"Versions":{"shape":"Sqm","locationName":"LaunchTemplateVersion"}}},"output":{"type":"structure","members":{"SuccessfullyDeletedLaunchTemplateVersions":{"locationName":"successfullyDeletedLaunchTemplateVersionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"VersionNumber":{"locationName":"versionNumber","type":"long"}}}},"UnsuccessfullyDeletedLaunchTemplateVersions":{"locationName":"unsuccessfullyDeletedLaunchTemplateVersionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"VersionNumber":{"locationName":"versionNumber","type":"long"},"ResponseError":{"locationName":"responseError","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}},"DeleteLocalGatewayRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","LocalGatewayRouteTableId"],"members":{"DestinationCidrBlock":{},"LocalGatewayRouteTableId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Sgk","locationName":"route"}}}},"DeleteLocalGatewayRouteTableVpcAssociation":{"input":{"type":"structure","required":["LocalGatewayRouteTableVpcAssociationId"],"members":{"LocalGatewayRouteTableVpcAssociationId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociation":{"shape":"Sgp","locationName":"localGatewayRouteTableVpcAssociation"}}}},"DeleteManagedPrefixList":{"input":{"type":"structure","required":["PrefixListId"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{}}},"output":{"type":"structure","members":{"PrefixList":{"shape":"Sgv","locationName":"prefixList"}}}},"DeleteNatGateway":{"input":{"type":"structure","required":["NatGatewayId"],"members":{"DryRun":{"type":"boolean"},"NatGatewayId":{}}},"output":{"type":"structure","members":{"NatGatewayId":{"locationName":"natGatewayId"}}}},"DeleteNetworkAcl":{"input":{"type":"structure","required":["NetworkAclId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkAclId":{"locationName":"networkAclId"}}}},"DeleteNetworkAclEntry":{"input":{"type":"structure","required":["Egress","NetworkAclId","RuleNumber"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Egress":{"locationName":"egress","type":"boolean"},"NetworkAclId":{"locationName":"networkAclId"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}}},"DeleteNetworkInsightsAccessScope":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeId"],"members":{"DryRun":{"type":"boolean"},"NetworkInsightsAccessScopeId":{}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"}}}},"DeleteNetworkInsightsAccessScopeAnalysis":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeAnalysisId"],"members":{"NetworkInsightsAccessScopeAnalysisId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysisId":{"locationName":"networkInsightsAccessScopeAnalysisId"}}}},"DeleteNetworkInsightsAnalysis":{"input":{"type":"structure","required":["NetworkInsightsAnalysisId"],"members":{"DryRun":{"type":"boolean"},"NetworkInsightsAnalysisId":{}}},"output":{"type":"structure","members":{"NetworkInsightsAnalysisId":{"locationName":"networkInsightsAnalysisId"}}}},"DeleteNetworkInsightsPath":{"input":{"type":"structure","required":["NetworkInsightsPathId"],"members":{"DryRun":{"type":"boolean"},"NetworkInsightsPathId":{}}},"output":{"type":"structure","members":{"NetworkInsightsPathId":{"locationName":"networkInsightsPathId"}}}},"DeleteNetworkInterface":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}}},"DeleteNetworkInterfacePermission":{"input":{"type":"structure","required":["NetworkInterfacePermissionId"],"members":{"NetworkInterfacePermissionId":{},"Force":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DeletePlacementGroup":{"input":{"type":"structure","required":["GroupName"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupName":{"locationName":"groupName"}}}},"DeletePublicIpv4Pool":{"input":{"type":"structure","required":["PoolId"],"members":{"DryRun":{"type":"boolean"},"PoolId":{}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"returnValue","type":"boolean"}}}},"DeleteQueuedReservedInstances":{"input":{"type":"structure","required":["ReservedInstancesIds"],"members":{"DryRun":{"type":"boolean"},"ReservedInstancesIds":{"locationName":"ReservedInstancesId","type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"SuccessfulQueuedPurchaseDeletions":{"locationName":"successfulQueuedPurchaseDeletionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservedInstancesId":{"locationName":"reservedInstancesId"}}}},"FailedQueuedPurchaseDeletions":{"locationName":"failedQueuedPurchaseDeletionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"ReservedInstancesId":{"locationName":"reservedInstancesId"}}}}}}},"DeleteRoute":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"DestinationIpv6CidrBlock":{"locationName":"destinationIpv6CidrBlock"},"DestinationPrefixListId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableId":{"locationName":"routeTableId"}}}},"DeleteRouteTable":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableId":{"locationName":"routeTableId"}}}},"DeleteSecurityGroup":{"input":{"type":"structure","members":{"GroupId":{},"GroupName":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteSnapshot":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteSpotDatafeedSubscription":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteSubnet":{"input":{"type":"structure","required":["SubnetId"],"members":{"SubnetId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteSubnetCidrReservation":{"input":{"type":"structure","required":["SubnetCidrReservationId"],"members":{"SubnetCidrReservationId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"DeletedSubnetCidrReservation":{"shape":"Skj","locationName":"deletedSubnetCidrReservation"}}}},"DeleteTags":{"input":{"type":"structure","required":["Resources"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Resources":{"shape":"Skm","locationName":"resourceId"},"Tags":{"shape":"Ss","locationName":"tag"}}}},"DeleteTrafficMirrorFilter":{"input":{"type":"structure","required":["TrafficMirrorFilterId"],"members":{"TrafficMirrorFilterId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorFilterId":{"locationName":"trafficMirrorFilterId"}}}},"DeleteTrafficMirrorFilterRule":{"input":{"type":"structure","required":["TrafficMirrorFilterRuleId"],"members":{"TrafficMirrorFilterRuleId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorFilterRuleId":{"locationName":"trafficMirrorFilterRuleId"}}}},"DeleteTrafficMirrorSession":{"input":{"type":"structure","required":["TrafficMirrorSessionId"],"members":{"TrafficMirrorSessionId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorSessionId":{"locationName":"trafficMirrorSessionId"}}}},"DeleteTrafficMirrorTarget":{"input":{"type":"structure","required":["TrafficMirrorTargetId"],"members":{"TrafficMirrorTargetId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorTargetId":{"locationName":"trafficMirrorTargetId"}}}},"DeleteTransitGateway":{"input":{"type":"structure","required":["TransitGatewayId"],"members":{"TransitGatewayId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGateway":{"shape":"Slj","locationName":"transitGateway"}}}},"DeleteTransitGatewayConnect":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnect":{"shape":"Slq","locationName":"transitGatewayConnect"}}}},"DeleteTransitGatewayConnectPeer":{"input":{"type":"structure","required":["TransitGatewayConnectPeerId"],"members":{"TransitGatewayConnectPeerId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnectPeer":{"shape":"Slw","locationName":"transitGatewayConnectPeer"}}}},"DeleteTransitGatewayMulticastDomain":{"input":{"type":"structure","required":["TransitGatewayMulticastDomainId"],"members":{"TransitGatewayMulticastDomainId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayMulticastDomain":{"shape":"Sm9","locationName":"transitGatewayMulticastDomain"}}}},"DeleteTransitGatewayPeeringAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachment":{"shape":"Sn","locationName":"transitGatewayPeeringAttachment"}}}},"DeleteTransitGatewayPrefixListReference":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","PrefixListId"],"members":{"TransitGatewayRouteTableId":{},"PrefixListId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPrefixListReference":{"shape":"Smh","locationName":"transitGatewayPrefixListReference"}}}},"DeleteTransitGatewayRoute":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","DestinationCidrBlock"],"members":{"TransitGatewayRouteTableId":{},"DestinationCidrBlock":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Smm","locationName":"route"}}}},"DeleteTransitGatewayRouteTable":{"input":{"type":"structure","required":["TransitGatewayRouteTableId"],"members":{"TransitGatewayRouteTableId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayRouteTable":{"shape":"Smt","locationName":"transitGatewayRouteTable"}}}},"DeleteTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"DeleteVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteVpc":{"input":{"type":"structure","required":["VpcId"],"members":{"VpcId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteVpcEndpointConnectionNotifications":{"input":{"type":"structure","required":["ConnectionNotificationIds"],"members":{"DryRun":{"type":"boolean"},"ConnectionNotificationIds":{"locationName":"ConnectionNotificationId","type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"DeleteVpcEndpointServiceConfigurations":{"input":{"type":"structure","required":["ServiceIds"],"members":{"DryRun":{"type":"boolean"},"ServiceIds":{"shape":"St2","locationName":"ServiceId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"DeleteVpcEndpoints":{"input":{"type":"structure","required":["VpcEndpointIds"],"members":{"DryRun":{"type":"boolean"},"VpcEndpointIds":{"shape":"S13","locationName":"VpcEndpointId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"DeleteVpcPeeringConnection":{"input":{"type":"structure","required":["VpcPeeringConnectionId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DeleteVpnConnection":{"input":{"type":"structure","required":["VpnConnectionId"],"members":{"VpnConnectionId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteVpnConnectionRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","VpnConnectionId"],"members":{"DestinationCidrBlock":{},"VpnConnectionId":{}}}},"DeleteVpnGateway":{"input":{"type":"structure","required":["VpnGatewayId"],"members":{"VpnGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeprovisionByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}},"DeprovisionIpamPoolCidr":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Cidr":{}}},"output":{"type":"structure","members":{"IpamPoolCidr":{"shape":"Stf","locationName":"ipamPoolCidr"}}}},"DeprovisionPublicIpv4PoolCidr":{"input":{"type":"structure","required":["PoolId","Cidr"],"members":{"DryRun":{"type":"boolean"},"PoolId":{},"Cidr":{}}},"output":{"type":"structure","members":{"PoolId":{"locationName":"poolId"},"DeprovisionedAddresses":{"locationName":"deprovisionedAddressSet","type":"list","member":{"locationName":"item"}}}}},"DeregisterImage":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeregisterInstanceEventNotificationAttributes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceTagAttribute":{"type":"structure","members":{"IncludeAllTagsOfInstance":{"type":"boolean"},"InstanceTagKeys":{"shape":"Stp","locationName":"InstanceTagKey"}}}}},"output":{"type":"structure","members":{"InstanceTagAttribute":{"shape":"Str","locationName":"instanceTagAttribute"}}}},"DeregisterTransitGatewayMulticastGroupMembers":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"GroupIpAddress":{},"NetworkInterfaceIds":{"shape":"Stt"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"DeregisteredMulticastGroupMembers":{"locationName":"deregisteredMulticastGroupMembers","type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"DeregisteredNetworkInterfaceIds":{"shape":"Se","locationName":"deregisteredNetworkInterfaceIds"},"GroupIpAddress":{"locationName":"groupIpAddress"}}}}}},"DeregisterTransitGatewayMulticastGroupSources":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"GroupIpAddress":{},"NetworkInterfaceIds":{"shape":"Stt"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"DeregisteredMulticastGroupSources":{"locationName":"deregisteredMulticastGroupSources","type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"DeregisteredNetworkInterfaceIds":{"shape":"Se","locationName":"deregisteredNetworkInterfaceIds"},"GroupIpAddress":{"locationName":"groupIpAddress"}}}}}},"DescribeAccountAttributes":{"input":{"type":"structure","members":{"AttributeNames":{"locationName":"attributeName","type":"list","member":{"locationName":"attributeName"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"AccountAttributes":{"locationName":"accountAttributeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AttributeName":{"locationName":"attributeName"},"AttributeValues":{"locationName":"attributeValueSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AttributeValue":{"locationName":"attributeValue"}}}}}}}}}},"DescribeAddresses":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"PublicIps":{"locationName":"PublicIp","type":"list","member":{"locationName":"PublicIp"}},"AllocationIds":{"locationName":"AllocationId","type":"list","member":{"locationName":"AllocationId"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"Addresses":{"locationName":"addressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"PublicIp":{"locationName":"publicIp"},"AllocationId":{"locationName":"allocationId"},"AssociationId":{"locationName":"associationId"},"Domain":{"locationName":"domain"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"NetworkInterfaceOwnerId":{"locationName":"networkInterfaceOwnerId"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"Tags":{"shape":"Ss","locationName":"tagSet"},"PublicIpv4Pool":{"locationName":"publicIpv4Pool"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"CustomerOwnedIp":{"locationName":"customerOwnedIp"},"CustomerOwnedIpv4Pool":{"locationName":"customerOwnedIpv4Pool"},"CarrierIp":{"locationName":"carrierIp"}}}}}}},"DescribeAddressesAttribute":{"input":{"type":"structure","members":{"AllocationIds":{"locationName":"AllocationId","type":"list","member":{"locationName":"item"}},"Attribute":{},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Addresses":{"locationName":"addressSet","type":"list","member":{"shape":"Sum","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeAggregateIdFormat":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"UseLongIdsAggregated":{"locationName":"useLongIdsAggregated","type":"boolean"},"Statuses":{"shape":"Suq","locationName":"statusSet"}}}},"DescribeAvailabilityZones":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"ZoneNames":{"locationName":"ZoneName","type":"list","member":{"locationName":"ZoneName"}},"ZoneIds":{"locationName":"ZoneId","type":"list","member":{"locationName":"ZoneId"}},"AllAvailabilityZones":{"type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"AvailabilityZones":{"locationName":"availabilityZoneInfo","type":"list","member":{"locationName":"item","type":"structure","members":{"State":{"locationName":"zoneState"},"OptInStatus":{"locationName":"optInStatus"},"Messages":{"locationName":"messageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Message":{"locationName":"message"}}}},"RegionName":{"locationName":"regionName"},"ZoneName":{"locationName":"zoneName"},"ZoneId":{"locationName":"zoneId"},"GroupName":{"locationName":"groupName"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"ZoneType":{"locationName":"zoneType"},"ParentZoneName":{"locationName":"parentZoneName"},"ParentZoneId":{"locationName":"parentZoneId"}}}}}}},"DescribeBundleTasks":{"input":{"type":"structure","members":{"BundleIds":{"locationName":"BundleId","type":"list","member":{"locationName":"BundleId"}},"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"BundleTasks":{"locationName":"bundleInstanceTasksSet","type":"list","member":{"shape":"S5w","locationName":"item"}}}}},"DescribeByoipCidrs":{"input":{"type":"structure","required":["MaxResults"],"members":{"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ByoipCidrs":{"locationName":"byoipCidrSet","type":"list","member":{"shape":"S1n","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeCapacityReservationFleets":{"input":{"type":"structure","members":{"CapacityReservationFleetIds":{"shape":"S66","locationName":"CapacityReservationFleetId"},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CapacityReservationFleets":{"locationName":"capacityReservationFleetSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"},"CapacityReservationFleetArn":{"locationName":"capacityReservationFleetArn"},"State":{"locationName":"state"},"TotalTargetCapacity":{"locationName":"totalTargetCapacity","type":"integer"},"TotalFulfilledCapacity":{"locationName":"totalFulfilledCapacity","type":"double"},"Tenancy":{"locationName":"tenancy"},"EndDate":{"locationName":"endDate","type":"timestamp"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"InstanceMatchCriteria":{"locationName":"instanceMatchCriteria"},"AllocationStrategy":{"locationName":"allocationStrategy"},"InstanceTypeSpecifications":{"shape":"S8c","locationName":"instanceTypeSpecificationSet"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeCapacityReservations":{"input":{"type":"structure","members":{"CapacityReservationIds":{"locationName":"CapacityReservationId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"CapacityReservations":{"locationName":"capacityReservationSet","type":"list","member":{"shape":"S80","locationName":"item"}}}}},"DescribeCarrierGateways":{"input":{"type":"structure","members":{"CarrierGatewayIds":{"locationName":"CarrierGatewayId","type":"list","member":{}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CarrierGateways":{"locationName":"carrierGatewaySet","type":"list","member":{"shape":"S8g","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClassicLinkInstances":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Instances":{"locationName":"instancesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Groups":{"shape":"Sie","locationName":"groupSet"},"InstanceId":{"locationName":"instanceId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnAuthorizationRules":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"DryRun":{"type":"boolean"},"NextToken":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AuthorizationRules":{"locationName":"authorizationRule","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Description":{"locationName":"description"},"GroupId":{"locationName":"groupId"},"AccessAll":{"locationName":"accessAll","type":"boolean"},"DestinationCidr":{"locationName":"destinationCidr"},"Status":{"shape":"S55","locationName":"status"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnConnections":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Connections":{"locationName":"connections","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Timestamp":{"locationName":"timestamp"},"ConnectionId":{"locationName":"connectionId"},"Username":{"locationName":"username"},"ConnectionEstablishedTime":{"locationName":"connectionEstablishedTime"},"IngressBytes":{"locationName":"ingressBytes"},"EgressBytes":{"locationName":"egressBytes"},"IngressPackets":{"locationName":"ingressPackets"},"EgressPackets":{"locationName":"egressPackets"},"ClientIp":{"locationName":"clientIp"},"CommonName":{"locationName":"commonName"},"Status":{"shape":"Sw5","locationName":"status"},"ConnectionEndTime":{"locationName":"connectionEndTime"},"PostureComplianceStatuses":{"shape":"Se","locationName":"postureComplianceStatusSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnEndpoints":{"input":{"type":"structure","members":{"ClientVpnEndpointIds":{"locationName":"ClientVpnEndpointId","type":"list","member":{"locationName":"item"}},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClientVpnEndpoints":{"locationName":"clientVpnEndpoint","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Description":{"locationName":"description"},"Status":{"shape":"S8v","locationName":"status"},"CreationTime":{"locationName":"creationTime"},"DeletionTime":{"locationName":"deletionTime"},"DnsName":{"locationName":"dnsName"},"ClientCidrBlock":{"locationName":"clientCidrBlock"},"DnsServers":{"shape":"Se","locationName":"dnsServer"},"SplitTunnel":{"locationName":"splitTunnel","type":"boolean"},"VpnProtocol":{"locationName":"vpnProtocol"},"TransportProtocol":{"locationName":"transportProtocol"},"VpnPort":{"locationName":"vpnPort","type":"integer"},"AssociatedTargetNetworks":{"deprecated":true,"deprecatedMessage":"This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.","locationName":"associatedTargetNetwork","type":"list","member":{"locationName":"item","type":"structure","members":{"NetworkId":{"locationName":"networkId"},"NetworkType":{"locationName":"networkType"}}}},"ServerCertificateArn":{"locationName":"serverCertificateArn"},"AuthenticationOptions":{"locationName":"authenticationOptions","type":"list","member":{"locationName":"item","type":"structure","members":{"Type":{"locationName":"type"},"ActiveDirectory":{"locationName":"activeDirectory","type":"structure","members":{"DirectoryId":{"locationName":"directoryId"}}},"MutualAuthentication":{"locationName":"mutualAuthentication","type":"structure","members":{"ClientRootCertificateChain":{"locationName":"clientRootCertificateChain"}}},"FederatedAuthentication":{"locationName":"federatedAuthentication","type":"structure","members":{"SamlProviderArn":{"locationName":"samlProviderArn"},"SelfServiceSamlProviderArn":{"locationName":"selfServiceSamlProviderArn"}}}}}},"ConnectionLogOptions":{"locationName":"connectionLogOptions","type":"structure","members":{"Enabled":{"type":"boolean"},"CloudwatchLogGroup":{},"CloudwatchLogStream":{}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"SecurityGroupIds":{"shape":"S2c","locationName":"securityGroupIdSet"},"VpcId":{"locationName":"vpcId"},"SelfServicePortalUrl":{"locationName":"selfServicePortalUrl"},"ClientConnectOptions":{"locationName":"clientConnectOptions","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"},"LambdaFunctionArn":{"locationName":"lambdaFunctionArn"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnRoutes":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Routes":{"locationName":"routes","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"DestinationCidr":{"locationName":"destinationCidr"},"TargetSubnet":{"locationName":"targetSubnet"},"Type":{"locationName":"type"},"Origin":{"locationName":"origin"},"Status":{"shape":"S8z","locationName":"status"},"Description":{"locationName":"description"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnTargetNetworks":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"AssociationIds":{"shape":"Se"},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClientVpnTargetNetworks":{"locationName":"clientVpnTargetNetworks","type":"list","member":{"locationName":"item","type":"structure","members":{"AssociationId":{"locationName":"associationId"},"VpcId":{"locationName":"vpcId"},"TargetNetworkId":{"locationName":"targetNetworkId"},"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Status":{"shape":"S2y","locationName":"status"},"SecurityGroups":{"shape":"Se","locationName":"securityGroups"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeCoipPools":{"input":{"type":"structure","members":{"PoolIds":{"locationName":"PoolId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CoipPools":{"locationName":"coipPoolSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PoolId":{"locationName":"poolId"},"PoolCidrs":{"shape":"Se","locationName":"poolCidrSet"},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"PoolArn":{"locationName":"poolArn"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeConversionTasks":{"input":{"type":"structure","members":{"ConversionTaskIds":{"locationName":"conversionTaskId","type":"list","member":{"locationName":"item"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"ConversionTasks":{"locationName":"conversionTasks","type":"list","member":{"shape":"Sxa","locationName":"item"}}}}},"DescribeCustomerGateways":{"input":{"type":"structure","members":{"CustomerGatewayIds":{"locationName":"CustomerGatewayId","type":"list","member":{"locationName":"CustomerGatewayId"}},"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"CustomerGateways":{"locationName":"customerGatewaySet","type":"list","member":{"shape":"S94","locationName":"item"}}}}},"DescribeDhcpOptions":{"input":{"type":"structure","members":{"DhcpOptionsIds":{"locationName":"DhcpOptionsId","type":"list","member":{"locationName":"DhcpOptionsId"}},"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DhcpOptions":{"locationName":"dhcpOptionsSet","type":"list","member":{"shape":"S9o","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeEgressOnlyInternetGateways":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"EgressOnlyInternetGatewayIds":{"locationName":"EgressOnlyInternetGatewayId","type":"list","member":{"locationName":"item"}},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Su8","locationName":"Filter"}}},"output":{"type":"structure","members":{"EgressOnlyInternetGateways":{"locationName":"egressOnlyInternetGatewaySet","type":"list","member":{"shape":"S9v","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeElasticGpus":{"input":{"type":"structure","members":{"ElasticGpuIds":{"locationName":"ElasticGpuId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ElasticGpuSet":{"locationName":"elasticGpuSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ElasticGpuId":{"locationName":"elasticGpuId"},"AvailabilityZone":{"locationName":"availabilityZone"},"ElasticGpuType":{"locationName":"elasticGpuType"},"ElasticGpuHealth":{"locationName":"elasticGpuHealth","type":"structure","members":{"Status":{"locationName":"status"}}},"ElasticGpuState":{"locationName":"elasticGpuState"},"InstanceId":{"locationName":"instanceId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}}},"DescribeExportImageTasks":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"ExportImageTaskIds":{"locationName":"ExportImageTaskId","type":"list","member":{"locationName":"ExportImageTaskId"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ExportImageTasks":{"locationName":"exportImageTaskSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"ExportImageTaskId":{"locationName":"exportImageTaskId"},"ImageId":{"locationName":"imageId"},"Progress":{"locationName":"progress"},"S3ExportLocation":{"shape":"Syd","locationName":"s3ExportLocation"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeExportTasks":{"input":{"type":"structure","members":{"ExportTaskIds":{"locationName":"exportTaskId","type":"list","member":{"locationName":"ExportTaskId"}},"Filters":{"shape":"Su8","locationName":"Filter"}}},"output":{"type":"structure","members":{"ExportTasks":{"locationName":"exportTaskSet","type":"list","member":{"shape":"Sct","locationName":"item"}}}}},"DescribeFastSnapshotRestores":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"FastSnapshotRestores":{"locationName":"fastSnapshotRestoreSet","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"AvailabilityZone":{"locationName":"availabilityZone"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"OwnerId":{"locationName":"ownerId"},"OwnerAlias":{"locationName":"ownerAlias"},"EnablingTime":{"locationName":"enablingTime","type":"timestamp"},"OptimizingTime":{"locationName":"optimizingTime","type":"timestamp"},"EnabledTime":{"locationName":"enabledTime","type":"timestamp"},"DisablingTime":{"locationName":"disablingTime","type":"timestamp"},"DisabledTime":{"locationName":"disabledTime","type":"timestamp"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeFleetHistory":{"input":{"type":"structure","required":["FleetId","StartTime"],"members":{"DryRun":{"type":"boolean"},"EventType":{},"MaxResults":{"type":"integer"},"NextToken":{},"FleetId":{},"StartTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"HistoryRecords":{"locationName":"historyRecordSet","type":"list","member":{"locationName":"item","type":"structure","members":{"EventInformation":{"shape":"Syu","locationName":"eventInformation"},"EventType":{"locationName":"eventType"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}},"LastEvaluatedTime":{"locationName":"lastEvaluatedTime","type":"timestamp"},"NextToken":{"locationName":"nextToken"},"FleetId":{"locationName":"fleetId"},"StartTime":{"locationName":"startTime","type":"timestamp"}}}},"DescribeFleetInstances":{"input":{"type":"structure","required":["FleetId"],"members":{"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{},"FleetId":{},"Filters":{"shape":"Su8","locationName":"Filter"}}},"output":{"type":"structure","members":{"ActiveInstances":{"shape":"Syx","locationName":"activeInstanceSet"},"NextToken":{"locationName":"nextToken"},"FleetId":{"locationName":"fleetId"}}}},"DescribeFleets":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{},"FleetIds":{"shape":"Spr","locationName":"FleetId"},"Filters":{"shape":"Su8","locationName":"Filter"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Fleets":{"locationName":"fleetSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ActivityStatus":{"locationName":"activityStatus"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"FleetId":{"locationName":"fleetId"},"FleetState":{"locationName":"fleetState"},"ClientToken":{"locationName":"clientToken"},"ExcessCapacityTerminationPolicy":{"locationName":"excessCapacityTerminationPolicy"},"FulfilledCapacity":{"locationName":"fulfilledCapacity","type":"double"},"FulfilledOnDemandCapacity":{"locationName":"fulfilledOnDemandCapacity","type":"double"},"LaunchTemplateConfigs":{"locationName":"launchTemplateConfigs","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateSpecification":{"shape":"Sbj","locationName":"launchTemplateSpecification"},"Overrides":{"locationName":"overrides","type":"list","member":{"shape":"Sbk","locationName":"item"}}}}},"TargetCapacitySpecification":{"locationName":"targetCapacitySpecification","type":"structure","members":{"TotalTargetCapacity":{"locationName":"totalTargetCapacity","type":"integer"},"OnDemandTargetCapacity":{"locationName":"onDemandTargetCapacity","type":"integer"},"SpotTargetCapacity":{"locationName":"spotTargetCapacity","type":"integer"},"DefaultTargetCapacityType":{"locationName":"defaultTargetCapacityType"},"TargetCapacityUnitType":{"locationName":"targetCapacityUnitType"}}},"TerminateInstancesWithExpiration":{"locationName":"terminateInstancesWithExpiration","type":"boolean"},"Type":{"locationName":"type"},"ValidFrom":{"locationName":"validFrom","type":"timestamp"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"ReplaceUnhealthyInstances":{"locationName":"replaceUnhealthyInstances","type":"boolean"},"SpotOptions":{"locationName":"spotOptions","type":"structure","members":{"AllocationStrategy":{"locationName":"allocationStrategy"},"MaintenanceStrategies":{"locationName":"maintenanceStrategies","type":"structure","members":{"CapacityRebalance":{"locationName":"capacityRebalance","type":"structure","members":{"ReplacementStrategy":{"locationName":"replacementStrategy"},"TerminationDelay":{"locationName":"terminationDelay","type":"integer"}}}}},"InstanceInterruptionBehavior":{"locationName":"instanceInterruptionBehavior"},"InstancePoolsToUseCount":{"locationName":"instancePoolsToUseCount","type":"integer"},"SingleInstanceType":{"locationName":"singleInstanceType","type":"boolean"},"SingleAvailabilityZone":{"locationName":"singleAvailabilityZone","type":"boolean"},"MinTargetCapacity":{"locationName":"minTargetCapacity","type":"integer"},"MaxTotalPrice":{"locationName":"maxTotalPrice"}}},"OnDemandOptions":{"locationName":"onDemandOptions","type":"structure","members":{"AllocationStrategy":{"locationName":"allocationStrategy"},"CapacityReservationOptions":{"locationName":"capacityReservationOptions","type":"structure","members":{"UsageStrategy":{"locationName":"usageStrategy"}}},"SingleInstanceType":{"locationName":"singleInstanceType","type":"boolean"},"SingleAvailabilityZone":{"locationName":"singleAvailabilityZone","type":"boolean"},"MinTargetCapacity":{"locationName":"minTargetCapacity","type":"integer"},"MaxTotalPrice":{"locationName":"maxTotalPrice"}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"Errors":{"locationName":"errorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateAndOverrides":{"shape":"Sbi","locationName":"launchTemplateAndOverrides"},"Lifecycle":{"locationName":"lifecycle"},"ErrorCode":{"locationName":"errorCode"},"ErrorMessage":{"locationName":"errorMessage"}}}},"Instances":{"locationName":"fleetInstanceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateAndOverrides":{"shape":"Sbi","locationName":"launchTemplateAndOverrides"},"Lifecycle":{"locationName":"lifecycle"},"InstanceIds":{"shape":"Sby","locationName":"instanceIds"},"InstanceType":{"locationName":"instanceType"},"Platform":{"locationName":"platform"}}}},"Context":{"locationName":"context"}}}}}}},"DescribeFlowLogs":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filter":{"shape":"Su8"},"FlowLogIds":{"shape":"Sq1","locationName":"FlowLogId"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"FlowLogs":{"locationName":"flowLogSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CreationTime":{"locationName":"creationTime","type":"timestamp"},"DeliverLogsErrorMessage":{"locationName":"deliverLogsErrorMessage"},"DeliverLogsPermissionArn":{"locationName":"deliverLogsPermissionArn"},"DeliverLogsStatus":{"locationName":"deliverLogsStatus"},"FlowLogId":{"locationName":"flowLogId"},"FlowLogStatus":{"locationName":"flowLogStatus"},"LogGroupName":{"locationName":"logGroupName"},"ResourceId":{"locationName":"resourceId"},"TrafficType":{"locationName":"trafficType"},"LogDestinationType":{"locationName":"logDestinationType"},"LogDestination":{"locationName":"logDestination"},"LogFormat":{"locationName":"logFormat"},"Tags":{"shape":"Ss","locationName":"tagSet"},"MaxAggregationInterval":{"locationName":"maxAggregationInterval","type":"integer"},"DestinationOptions":{"locationName":"destinationOptions","type":"structure","members":{"FileFormat":{"locationName":"fileFormat"},"HiveCompatiblePartitions":{"locationName":"hiveCompatiblePartitions","type":"boolean"},"PerHourPartition":{"locationName":"perHourPartition","type":"boolean"}}}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeFpgaImageAttribute":{"input":{"type":"structure","required":["FpgaImageId","Attribute"],"members":{"DryRun":{"type":"boolean"},"FpgaImageId":{},"Attribute":{}}},"output":{"type":"structure","members":{"FpgaImageAttribute":{"shape":"Szq","locationName":"fpgaImageAttribute"}}}},"DescribeFpgaImages":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"FpgaImageIds":{"locationName":"FpgaImageId","type":"list","member":{"locationName":"item"}},"Owners":{"shape":"Szz","locationName":"Owner"},"Filters":{"shape":"Su8","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"FpgaImages":{"locationName":"fpgaImageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"FpgaImageId":{"locationName":"fpgaImageId"},"FpgaImageGlobalId":{"locationName":"fpgaImageGlobalId"},"Name":{"locationName":"name"},"Description":{"locationName":"description"},"ShellVersion":{"locationName":"shellVersion"},"PciId":{"locationName":"pciId","type":"structure","members":{"DeviceId":{},"VendorId":{},"SubsystemId":{},"SubsystemVendorId":{}}},"State":{"locationName":"state","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"CreateTime":{"locationName":"createTime","type":"timestamp"},"UpdateTime":{"locationName":"updateTime","type":"timestamp"},"OwnerId":{"locationName":"ownerId"},"OwnerAlias":{"locationName":"ownerAlias"},"ProductCodes":{"shape":"Szu","locationName":"productCodes"},"Tags":{"shape":"Ss","locationName":"tags"},"Public":{"locationName":"public","type":"boolean"},"DataRetentionSupport":{"locationName":"dataRetentionSupport","type":"boolean"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeHostReservationOfferings":{"input":{"type":"structure","members":{"Filter":{"shape":"Su8"},"MaxDuration":{"type":"integer"},"MaxResults":{"type":"integer"},"MinDuration":{"type":"integer"},"NextToken":{},"OfferingId":{}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"OfferingSet":{"locationName":"offeringSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceFamily":{"locationName":"instanceFamily"},"OfferingId":{"locationName":"offeringId"},"PaymentOption":{"locationName":"paymentOption"},"UpfrontPrice":{"locationName":"upfrontPrice"}}}}}}},"DescribeHostReservations":{"input":{"type":"structure","members":{"Filter":{"shape":"Su8"},"HostReservationIdSet":{"type":"list","member":{"locationName":"item"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"HostReservationSet":{"locationName":"hostReservationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Count":{"locationName":"count","type":"integer"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"End":{"locationName":"end","type":"timestamp"},"HostIdSet":{"shape":"S10k","locationName":"hostIdSet"},"HostReservationId":{"locationName":"hostReservationId"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceFamily":{"locationName":"instanceFamily"},"OfferingId":{"locationName":"offeringId"},"PaymentOption":{"locationName":"paymentOption"},"Start":{"locationName":"start","type":"timestamp"},"State":{"locationName":"state"},"UpfrontPrice":{"locationName":"upfrontPrice"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeHosts":{"input":{"type":"structure","members":{"Filter":{"shape":"Su8","locationName":"filter"},"HostIds":{"shape":"S10n","locationName":"hostId"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Hosts":{"locationName":"hostSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AutoPlacement":{"locationName":"autoPlacement"},"AvailabilityZone":{"locationName":"availabilityZone"},"AvailableCapacity":{"locationName":"availableCapacity","type":"structure","members":{"AvailableInstanceCapacity":{"locationName":"availableInstanceCapacity","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailableCapacity":{"locationName":"availableCapacity","type":"integer"},"InstanceType":{"locationName":"instanceType"},"TotalCapacity":{"locationName":"totalCapacity","type":"integer"}}}},"AvailableVCpus":{"locationName":"availableVCpus","type":"integer"}}},"ClientToken":{"locationName":"clientToken"},"HostId":{"locationName":"hostId"},"HostProperties":{"locationName":"hostProperties","type":"structure","members":{"Cores":{"locationName":"cores","type":"integer"},"InstanceType":{"locationName":"instanceType"},"InstanceFamily":{"locationName":"instanceFamily"},"Sockets":{"locationName":"sockets","type":"integer"},"TotalVCpus":{"locationName":"totalVCpus","type":"integer"}}},"HostReservationId":{"locationName":"hostReservationId"},"Instances":{"locationName":"instances","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"InstanceType":{"locationName":"instanceType"},"OwnerId":{"locationName":"ownerId"}}}},"State":{"locationName":"state"},"AllocationTime":{"locationName":"allocationTime","type":"timestamp"},"ReleaseTime":{"locationName":"releaseTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"},"HostRecovery":{"locationName":"hostRecovery"},"AllowsMultipleInstanceTypes":{"locationName":"allowsMultipleInstanceTypes"},"OwnerId":{"locationName":"ownerId"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"MemberOfServiceLinkedResourceGroup":{"locationName":"memberOfServiceLinkedResourceGroup","type":"boolean"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeIamInstanceProfileAssociations":{"input":{"type":"structure","members":{"AssociationIds":{"locationName":"AssociationId","type":"list","member":{"locationName":"AssociationId"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IamInstanceProfileAssociations":{"locationName":"iamInstanceProfileAssociationSet","type":"list","member":{"shape":"S38","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeIdFormat":{"input":{"type":"structure","members":{"Resource":{}}},"output":{"type":"structure","members":{"Statuses":{"shape":"Suq","locationName":"statusSet"}}}},"DescribeIdentityIdFormat":{"input":{"type":"structure","required":["PrincipalArn"],"members":{"PrincipalArn":{"locationName":"principalArn"},"Resource":{"locationName":"resource"}}},"output":{"type":"structure","members":{"Statuses":{"shape":"Suq","locationName":"statusSet"}}}},"DescribeImageAttribute":{"input":{"type":"structure","required":["Attribute","ImageId"],"members":{"Attribute":{},"ImageId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"BlockDeviceMappings":{"shape":"S11c","locationName":"blockDeviceMapping"},"ImageId":{"locationName":"imageId"},"LaunchPermissions":{"shape":"S11d","locationName":"launchPermission"},"ProductCodes":{"shape":"Szu","locationName":"productCodes"},"Description":{"shape":"S9s","locationName":"description"},"KernelId":{"shape":"S9s","locationName":"kernel"},"RamdiskId":{"shape":"S9s","locationName":"ramdisk"},"SriovNetSupport":{"shape":"S9s","locationName":"sriovNetSupport"},"BootMode":{"shape":"S9s","locationName":"bootMode"}}}},"DescribeImages":{"input":{"type":"structure","members":{"ExecutableUsers":{"locationName":"ExecutableBy","type":"list","member":{"locationName":"ExecutableBy"}},"Filters":{"shape":"Su8","locationName":"Filter"},"ImageIds":{"locationName":"ImageId","type":"list","member":{"locationName":"ImageId"}},"Owners":{"shape":"Szz","locationName":"Owner"},"IncludeDeprecated":{"type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"Images":{"locationName":"imagesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Architecture":{"locationName":"architecture"},"CreationDate":{"locationName":"creationDate"},"ImageId":{"locationName":"imageId"},"ImageLocation":{"locationName":"imageLocation"},"ImageType":{"locationName":"imageType"},"Public":{"locationName":"isPublic","type":"boolean"},"KernelId":{"locationName":"kernelId"},"OwnerId":{"locationName":"imageOwnerId"},"Platform":{"locationName":"platform"},"PlatformDetails":{"locationName":"platformDetails"},"UsageOperation":{"locationName":"usageOperation"},"ProductCodes":{"shape":"Szu","locationName":"productCodes"},"RamdiskId":{"locationName":"ramdiskId"},"State":{"locationName":"imageState"},"BlockDeviceMappings":{"shape":"S11c","locationName":"blockDeviceMapping"},"Description":{"locationName":"description"},"EnaSupport":{"locationName":"enaSupport","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"ImageOwnerAlias":{"locationName":"imageOwnerAlias"},"Name":{"locationName":"name"},"RootDeviceName":{"locationName":"rootDeviceName"},"RootDeviceType":{"locationName":"rootDeviceType"},"SriovNetSupport":{"locationName":"sriovNetSupport"},"StateReason":{"shape":"S11q","locationName":"stateReason"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VirtualizationType":{"locationName":"virtualizationType"},"BootMode":{"locationName":"bootMode"},"DeprecationTime":{"locationName":"deprecationTime"}}}}}}},"DescribeImportImageTasks":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8"},"ImportTaskIds":{"locationName":"ImportTaskId","type":"list","member":{"locationName":"ImportTaskId"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ImportImageTasks":{"locationName":"importImageTaskSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Architecture":{"locationName":"architecture"},"Description":{"locationName":"description"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"ImageId":{"locationName":"imageId"},"ImportTaskId":{"locationName":"importTaskId"},"KmsKeyId":{"locationName":"kmsKeyId"},"LicenseType":{"locationName":"licenseType"},"Platform":{"locationName":"platform"},"Progress":{"locationName":"progress"},"SnapshotDetails":{"shape":"S11z","locationName":"snapshotDetailSet"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"},"LicenseSpecifications":{"shape":"S122","locationName":"licenseSpecifications"},"UsageOperation":{"locationName":"usageOperation"},"BootMode":{"locationName":"bootMode"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeImportSnapshotTasks":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8"},"ImportTaskIds":{"locationName":"ImportTaskId","type":"list","member":{"locationName":"ImportTaskId"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ImportSnapshotTasks":{"locationName":"importSnapshotTaskSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"ImportTaskId":{"locationName":"importTaskId"},"SnapshotTaskDetail":{"shape":"S12a","locationName":"snapshotTaskDetail"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceAttribute":{"input":{"type":"structure","required":["Attribute","InstanceId"],"members":{"Attribute":{"locationName":"attribute"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"}}},"output":{"type":"structure","members":{"Groups":{"shape":"Sie","locationName":"groupSet"},"BlockDeviceMappings":{"shape":"S12e","locationName":"blockDeviceMapping"},"DisableApiTermination":{"shape":"S12h","locationName":"disableApiTermination"},"EnaSupport":{"shape":"S12h","locationName":"enaSupport"},"EnclaveOptions":{"shape":"S12i","locationName":"enclaveOptions"},"EbsOptimized":{"shape":"S12h","locationName":"ebsOptimized"},"InstanceId":{"locationName":"instanceId"},"InstanceInitiatedShutdownBehavior":{"shape":"S9s","locationName":"instanceInitiatedShutdownBehavior"},"InstanceType":{"shape":"S9s","locationName":"instanceType"},"KernelId":{"shape":"S9s","locationName":"kernel"},"ProductCodes":{"shape":"Szu","locationName":"productCodes"},"RamdiskId":{"shape":"S9s","locationName":"ramdisk"},"RootDeviceName":{"shape":"S9s","locationName":"rootDeviceName"},"SourceDestCheck":{"shape":"S12h","locationName":"sourceDestCheck"},"SriovNetSupport":{"shape":"S9s","locationName":"sriovNetSupport"},"UserData":{"shape":"S9s","locationName":"userData"}}}},"DescribeInstanceCreditSpecifications":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceCreditSpecifications":{"locationName":"instanceCreditSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"CpuCredits":{"locationName":"cpuCredits"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceEventNotificationAttributes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"InstanceTagAttribute":{"shape":"Str","locationName":"instanceTagAttribute"}}}},"DescribeInstanceEventWindows":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceEventWindowIds":{"locationName":"InstanceEventWindowId","type":"list","member":{"locationName":"InstanceEventWindowId"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceEventWindows":{"locationName":"instanceEventWindowSet","type":"list","member":{"shape":"S3i","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceStatus":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"IncludeAllInstances":{"locationName":"includeAllInstances","type":"boolean"}}},"output":{"type":"structure","members":{"InstanceStatuses":{"locationName":"instanceStatusSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"OutpostArn":{"locationName":"outpostArn"},"Events":{"locationName":"eventsSet","type":"list","member":{"shape":"S130","locationName":"item"}},"InstanceId":{"locationName":"instanceId"},"InstanceState":{"shape":"S133","locationName":"instanceState"},"InstanceStatus":{"shape":"S135","locationName":"instanceStatus"},"SystemStatus":{"shape":"S135","locationName":"systemStatus"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceTypeOfferings":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"LocationType":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceTypeOfferings":{"locationName":"instanceTypeOfferingSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{"locationName":"instanceType"},"LocationType":{"locationName":"locationType"},"Location":{"locationName":"location"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceTypes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceTypes":{"locationName":"InstanceType","type":"list","member":{}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceTypes":{"locationName":"instanceTypeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{"locationName":"instanceType"},"CurrentGeneration":{"locationName":"currentGeneration","type":"boolean"},"FreeTierEligible":{"locationName":"freeTierEligible","type":"boolean"},"SupportedUsageClasses":{"locationName":"supportedUsageClasses","type":"list","member":{"locationName":"item"}},"SupportedRootDeviceTypes":{"locationName":"supportedRootDeviceTypes","type":"list","member":{"locationName":"item"}},"SupportedVirtualizationTypes":{"locationName":"supportedVirtualizationTypes","type":"list","member":{"locationName":"item"}},"BareMetal":{"locationName":"bareMetal","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"ProcessorInfo":{"locationName":"processorInfo","type":"structure","members":{"SupportedArchitectures":{"locationName":"supportedArchitectures","type":"list","member":{"locationName":"item"}},"SustainedClockSpeedInGhz":{"locationName":"sustainedClockSpeedInGhz","type":"double"}}},"VCpuInfo":{"locationName":"vCpuInfo","type":"structure","members":{"DefaultVCpus":{"locationName":"defaultVCpus","type":"integer"},"DefaultCores":{"locationName":"defaultCores","type":"integer"},"DefaultThreadsPerCore":{"locationName":"defaultThreadsPerCore","type":"integer"},"ValidCores":{"locationName":"validCores","type":"list","member":{"locationName":"item","type":"integer"}},"ValidThreadsPerCore":{"locationName":"validThreadsPerCore","type":"list","member":{"locationName":"item","type":"integer"}}}},"MemoryInfo":{"locationName":"memoryInfo","type":"structure","members":{"SizeInMiB":{"locationName":"sizeInMiB","type":"long"}}},"InstanceStorageSupported":{"locationName":"instanceStorageSupported","type":"boolean"},"InstanceStorageInfo":{"locationName":"instanceStorageInfo","type":"structure","members":{"TotalSizeInGB":{"locationName":"totalSizeInGB","type":"long"},"Disks":{"locationName":"disks","type":"list","member":{"locationName":"item","type":"structure","members":{"SizeInGB":{"locationName":"sizeInGB","type":"long"},"Count":{"locationName":"count","type":"integer"},"Type":{"locationName":"type"}}}},"NvmeSupport":{"locationName":"nvmeSupport"},"EncryptionSupport":{"locationName":"encryptionSupport"}}},"EbsInfo":{"locationName":"ebsInfo","type":"structure","members":{"EbsOptimizedSupport":{"locationName":"ebsOptimizedSupport"},"EncryptionSupport":{"locationName":"encryptionSupport"},"EbsOptimizedInfo":{"locationName":"ebsOptimizedInfo","type":"structure","members":{"BaselineBandwidthInMbps":{"locationName":"baselineBandwidthInMbps","type":"integer"},"BaselineThroughputInMBps":{"locationName":"baselineThroughputInMBps","type":"double"},"BaselineIops":{"locationName":"baselineIops","type":"integer"},"MaximumBandwidthInMbps":{"locationName":"maximumBandwidthInMbps","type":"integer"},"MaximumThroughputInMBps":{"locationName":"maximumThroughputInMBps","type":"double"},"MaximumIops":{"locationName":"maximumIops","type":"integer"}}},"NvmeSupport":{"locationName":"nvmeSupport"}}},"NetworkInfo":{"locationName":"networkInfo","type":"structure","members":{"NetworkPerformance":{"locationName":"networkPerformance"},"MaximumNetworkInterfaces":{"locationName":"maximumNetworkInterfaces","type":"integer"},"MaximumNetworkCards":{"locationName":"maximumNetworkCards","type":"integer"},"DefaultNetworkCardIndex":{"locationName":"defaultNetworkCardIndex","type":"integer"},"NetworkCards":{"locationName":"networkCards","type":"list","member":{"locationName":"item","type":"structure","members":{"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"},"NetworkPerformance":{"locationName":"networkPerformance"},"MaximumNetworkInterfaces":{"locationName":"maximumNetworkInterfaces","type":"integer"}}}},"Ipv4AddressesPerInterface":{"locationName":"ipv4AddressesPerInterface","type":"integer"},"Ipv6AddressesPerInterface":{"locationName":"ipv6AddressesPerInterface","type":"integer"},"Ipv6Supported":{"locationName":"ipv6Supported","type":"boolean"},"EnaSupport":{"locationName":"enaSupport"},"EfaSupported":{"locationName":"efaSupported","type":"boolean"},"EfaInfo":{"locationName":"efaInfo","type":"structure","members":{"MaximumEfaInterfaces":{"locationName":"maximumEfaInterfaces","type":"integer"}}},"EncryptionInTransitSupported":{"locationName":"encryptionInTransitSupported","type":"boolean"}}},"GpuInfo":{"locationName":"gpuInfo","type":"structure","members":{"Gpus":{"locationName":"gpus","type":"list","member":{"locationName":"item","type":"structure","members":{"Name":{"locationName":"name"},"Manufacturer":{"locationName":"manufacturer"},"Count":{"locationName":"count","type":"integer"},"MemoryInfo":{"locationName":"memoryInfo","type":"structure","members":{"SizeInMiB":{"locationName":"sizeInMiB","type":"integer"}}}}}},"TotalGpuMemoryInMiB":{"locationName":"totalGpuMemoryInMiB","type":"integer"}}},"FpgaInfo":{"locationName":"fpgaInfo","type":"structure","members":{"Fpgas":{"locationName":"fpgas","type":"list","member":{"locationName":"item","type":"structure","members":{"Name":{"locationName":"name"},"Manufacturer":{"locationName":"manufacturer"},"Count":{"locationName":"count","type":"integer"},"MemoryInfo":{"locationName":"memoryInfo","type":"structure","members":{"SizeInMiB":{"locationName":"sizeInMiB","type":"integer"}}}}}},"TotalFpgaMemoryInMiB":{"locationName":"totalFpgaMemoryInMiB","type":"integer"}}},"PlacementGroupInfo":{"locationName":"placementGroupInfo","type":"structure","members":{"SupportedStrategies":{"locationName":"supportedStrategies","type":"list","member":{"locationName":"item"}}}},"InferenceAcceleratorInfo":{"locationName":"inferenceAcceleratorInfo","type":"structure","members":{"Accelerators":{"locationName":"item","type":"list","member":{"type":"structure","members":{"Count":{"locationName":"count","type":"integer"},"Name":{"locationName":"name"},"Manufacturer":{"locationName":"manufacturer"}}}}}},"HibernationSupported":{"locationName":"hibernationSupported","type":"boolean"},"BurstablePerformanceSupported":{"locationName":"burstablePerformanceSupported","type":"boolean"},"DedicatedHostsSupported":{"locationName":"dedicatedHostsSupported","type":"boolean"},"AutoRecoverySupported":{"locationName":"autoRecoverySupported","type":"boolean"},"SupportedBootModes":{"locationName":"supportedBootModes","type":"list","member":{"locationName":"item"}}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstances":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Reservations":{"locationName":"reservationSet","type":"list","member":{"shape":"S169","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInternetGateways":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InternetGatewayIds":{"locationName":"internetGatewayId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InternetGateways":{"locationName":"internetGatewaySet","type":"list","member":{"shape":"Scz","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeIpamPools":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"IpamPoolIds":{"shape":"Se","locationName":"IpamPoolId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"IpamPools":{"locationName":"ipamPoolSet","type":"list","member":{"shape":"Sdh","locationName":"item"}}}}},"DescribeIpamScopes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"IpamScopeIds":{"shape":"Se","locationName":"IpamScopeId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"IpamScopes":{"locationName":"ipamScopeSet","type":"list","member":{"shape":"Sdo","locationName":"item"}}}}},"DescribeIpams":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"IpamIds":{"shape":"Se","locationName":"IpamId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Ipams":{"locationName":"ipamSet","type":"list","member":{"shape":"Sd4","locationName":"item"}}}}},"DescribeIpv6Pools":{"input":{"type":"structure","members":{"PoolIds":{"locationName":"PoolId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"}}},"output":{"type":"structure","members":{"Ipv6Pools":{"locationName":"ipv6PoolSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PoolId":{"locationName":"poolId"},"Description":{"locationName":"description"},"PoolCidrBlocks":{"locationName":"poolCidrBlockSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Cidr":{"locationName":"poolCidrBlock"}}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeKeyPairs":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"KeyNames":{"locationName":"KeyName","type":"list","member":{"locationName":"KeyName"}},"KeyPairIds":{"locationName":"KeyPairId","type":"list","member":{"locationName":"KeyPairId"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"KeyPairs":{"locationName":"keySet","type":"list","member":{"locationName":"item","type":"structure","members":{"KeyPairId":{"locationName":"keyPairId"},"KeyFingerprint":{"locationName":"keyFingerprint"},"KeyName":{"locationName":"keyName"},"KeyType":{"locationName":"keyType"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}}}}},"DescribeLaunchTemplateVersions":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"LaunchTemplateId":{},"LaunchTemplateName":{},"Versions":{"shape":"Sqm","locationName":"LaunchTemplateVersion"},"MinVersion":{},"MaxVersion":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"shape":"Su8","locationName":"Filter"}}},"output":{"type":"structure","members":{"LaunchTemplateVersions":{"locationName":"launchTemplateVersionSet","type":"list","member":{"shape":"Sfh","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLaunchTemplates":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"LaunchTemplateIds":{"locationName":"LaunchTemplateId","type":"list","member":{"locationName":"item"}},"LaunchTemplateNames":{"locationName":"LaunchTemplateName","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"LaunchTemplates":{"locationName":"launchTemplates","type":"list","member":{"shape":"Sfb","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations":{"input":{"type":"structure","members":{"LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds":{"locationName":"LocalGatewayRouteTableVirtualInterfaceGroupAssociationId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTableVirtualInterfaceGroupAssociations":{"locationName":"localGatewayRouteTableVirtualInterfaceGroupAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayRouteTableVirtualInterfaceGroupAssociationId":{"locationName":"localGatewayRouteTableVirtualInterfaceGroupAssociationId"},"LocalGatewayVirtualInterfaceGroupId":{"locationName":"localGatewayVirtualInterfaceGroupId"},"LocalGatewayId":{"locationName":"localGatewayId"},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"LocalGatewayRouteTableArn":{"locationName":"localGatewayRouteTableArn"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayRouteTableVpcAssociations":{"input":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociationIds":{"locationName":"LocalGatewayRouteTableVpcAssociationId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociations":{"locationName":"localGatewayRouteTableVpcAssociationSet","type":"list","member":{"shape":"Sgp","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayRouteTables":{"input":{"type":"structure","members":{"LocalGatewayRouteTableIds":{"locationName":"LocalGatewayRouteTableId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTables":{"locationName":"localGatewayRouteTableSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"LocalGatewayRouteTableArn":{"locationName":"localGatewayRouteTableArn"},"LocalGatewayId":{"locationName":"localGatewayId"},"OutpostArn":{"locationName":"outpostArn"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayVirtualInterfaceGroups":{"input":{"type":"structure","members":{"LocalGatewayVirtualInterfaceGroupIds":{"locationName":"LocalGatewayVirtualInterfaceGroupId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayVirtualInterfaceGroups":{"locationName":"localGatewayVirtualInterfaceGroupSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayVirtualInterfaceGroupId":{"locationName":"localGatewayVirtualInterfaceGroupId"},"LocalGatewayVirtualInterfaceIds":{"shape":"S18r","locationName":"localGatewayVirtualInterfaceIdSet"},"LocalGatewayId":{"locationName":"localGatewayId"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayVirtualInterfaces":{"input":{"type":"structure","members":{"LocalGatewayVirtualInterfaceIds":{"shape":"S18r","locationName":"LocalGatewayVirtualInterfaceId"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayVirtualInterfaces":{"locationName":"localGatewayVirtualInterfaceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayVirtualInterfaceId":{"locationName":"localGatewayVirtualInterfaceId"},"LocalGatewayId":{"locationName":"localGatewayId"},"Vlan":{"locationName":"vlan","type":"integer"},"LocalAddress":{"locationName":"localAddress"},"PeerAddress":{"locationName":"peerAddress"},"LocalBgpAsn":{"locationName":"localBgpAsn","type":"integer"},"PeerBgpAsn":{"locationName":"peerBgpAsn","type":"integer"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGateways":{"input":{"type":"structure","members":{"LocalGatewayIds":{"locationName":"LocalGatewayId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGateways":{"locationName":"localGatewaySet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayId":{"locationName":"localGatewayId"},"OutpostArn":{"locationName":"outpostArn"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeManagedPrefixLists":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"PrefixListIds":{"shape":"Se","locationName":"PrefixListId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"PrefixLists":{"locationName":"prefixListSet","type":"list","member":{"shape":"Sgv","locationName":"item"}}}}},"DescribeMovingAddresses":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"PublicIps":{"shape":"Se","locationName":"publicIp"}}},"output":{"type":"structure","members":{"MovingAddressStatuses":{"locationName":"movingAddressStatusSet","type":"list","member":{"locationName":"item","type":"structure","members":{"MoveStatus":{"locationName":"moveStatus"},"PublicIp":{"locationName":"publicIp"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNatGateways":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filter":{"shape":"Su8"},"MaxResults":{"type":"integer"},"NatGatewayIds":{"locationName":"NatGatewayId","type":"list","member":{"locationName":"item"}},"NextToken":{}}},"output":{"type":"structure","members":{"NatGateways":{"locationName":"natGatewaySet","type":"list","member":{"shape":"Sh0","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkAcls":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkAclIds":{"locationName":"NetworkAclId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NetworkAcls":{"locationName":"networkAclSet","type":"list","member":{"shape":"Sh7","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInsightsAccessScopeAnalyses":{"input":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysisIds":{"locationName":"NetworkInsightsAccessScopeAnalysisId","type":"list","member":{"locationName":"item"}},"NetworkInsightsAccessScopeId":{},"AnalysisStartTimeBegin":{"type":"timestamp"},"AnalysisStartTimeEnd":{"type":"timestamp"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalyses":{"locationName":"networkInsightsAccessScopeAnalysisSet","type":"list","member":{"shape":"S19r","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInsightsAccessScopes":{"input":{"type":"structure","members":{"NetworkInsightsAccessScopeIds":{"locationName":"NetworkInsightsAccessScopeId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopes":{"locationName":"networkInsightsAccessScopeSet","type":"list","member":{"shape":"Shs","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInsightsAnalyses":{"input":{"type":"structure","members":{"NetworkInsightsAnalysisIds":{"locationName":"NetworkInsightsAnalysisId","type":"list","member":{"locationName":"item"}},"NetworkInsightsPathId":{},"AnalysisStartTime":{"type":"timestamp"},"AnalysisEndTime":{"type":"timestamp"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"NetworkInsightsAnalyses":{"locationName":"networkInsightsAnalysisSet","type":"list","member":{"shape":"S1a2","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInsightsPaths":{"input":{"type":"structure","members":{"NetworkInsightsPathIds":{"locationName":"NetworkInsightsPathId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"NetworkInsightsPaths":{"locationName":"networkInsightsPathSet","type":"list","member":{"shape":"Si6","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInterfaceAttribute":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"Attribute":{"locationName":"attribute"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}},"output":{"type":"structure","members":{"Attachment":{"shape":"Sid","locationName":"attachment"},"Description":{"shape":"S9s","locationName":"description"},"Groups":{"shape":"Sie","locationName":"groupSet"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"SourceDestCheck":{"shape":"S12h","locationName":"sourceDestCheck"}}}},"DescribeNetworkInterfacePermissions":{"input":{"type":"structure","members":{"NetworkInterfacePermissionIds":{"locationName":"NetworkInterfacePermissionId","type":"list","member":{}},"Filters":{"shape":"Su8","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NetworkInterfacePermissions":{"locationName":"networkInterfacePermissions","type":"list","member":{"shape":"Sir","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInterfaces":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceIds":{"locationName":"NetworkInterfaceId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NetworkInterfaces":{"locationName":"networkInterfaceSet","type":"list","member":{"shape":"Sib","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribePlacementGroups":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupNames":{"locationName":"groupName","type":"list","member":{}},"GroupIds":{"locationName":"GroupId","type":"list","member":{"locationName":"GroupId"}}}},"output":{"type":"structure","members":{"PlacementGroups":{"locationName":"placementGroupSet","type":"list","member":{"shape":"Six","locationName":"item"}}}}},"DescribePrefixLists":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"PrefixListIds":{"locationName":"PrefixListId","type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"PrefixLists":{"locationName":"prefixListSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Cidrs":{"shape":"Se","locationName":"cidrSet"},"PrefixListId":{"locationName":"prefixListId"},"PrefixListName":{"locationName":"prefixListName"}}}}}}},"DescribePrincipalIdFormat":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Resources":{"locationName":"Resource","type":"list","member":{"locationName":"item"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Principals":{"locationName":"principalSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Arn":{"locationName":"arn"},"Statuses":{"shape":"Suq","locationName":"statusSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribePublicIpv4Pools":{"input":{"type":"structure","members":{"PoolIds":{"locationName":"PoolId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"shape":"Su8","locationName":"Filter"}}},"output":{"type":"structure","members":{"PublicIpv4Pools":{"locationName":"publicIpv4PoolSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PoolId":{"locationName":"poolId"},"Description":{"locationName":"description"},"PoolAddressRanges":{"locationName":"poolAddressRangeSet","type":"list","member":{"shape":"S1bq","locationName":"item"}},"TotalAddressCount":{"locationName":"totalAddressCount","type":"integer"},"TotalAvailableAddressCount":{"locationName":"totalAvailableAddressCount","type":"integer"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeRegions":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"RegionNames":{"locationName":"RegionName","type":"list","member":{"locationName":"RegionName"}},"DryRun":{"locationName":"dryRun","type":"boolean"},"AllRegions":{"type":"boolean"}}},"output":{"type":"structure","members":{"Regions":{"locationName":"regionInfo","type":"list","member":{"locationName":"item","type":"structure","members":{"Endpoint":{"locationName":"regionEndpoint"},"RegionName":{"locationName":"regionName"},"OptInStatus":{"locationName":"optInStatus"}}}}}}},"DescribeReplaceRootVolumeTasks":{"input":{"type":"structure","members":{"ReplaceRootVolumeTaskIds":{"locationName":"ReplaceRootVolumeTaskId","type":"list","member":{"locationName":"ReplaceRootVolumeTaskId"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ReplaceRootVolumeTasks":{"locationName":"replaceRootVolumeTaskSet","type":"list","member":{"shape":"Sj3","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeReservedInstances":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"OfferingClass":{},"ReservedInstancesIds":{"shape":"S1c3","locationName":"ReservedInstancesId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"OfferingType":{"locationName":"offeringType"}}},"output":{"type":"structure","members":{"ReservedInstances":{"locationName":"reservedInstancesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Duration":{"locationName":"duration","type":"long"},"End":{"locationName":"end","type":"timestamp"},"FixedPrice":{"locationName":"fixedPrice","type":"float"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"InstanceType":{"locationName":"instanceType"},"ProductDescription":{"locationName":"productDescription"},"ReservedInstancesId":{"locationName":"reservedInstancesId"},"Start":{"locationName":"start","type":"timestamp"},"State":{"locationName":"state"},"UsagePrice":{"locationName":"usagePrice","type":"float"},"CurrencyCode":{"locationName":"currencyCode"},"InstanceTenancy":{"locationName":"instanceTenancy"},"OfferingClass":{"locationName":"offeringClass"},"OfferingType":{"locationName":"offeringType"},"RecurringCharges":{"shape":"S1cb","locationName":"recurringCharges"},"Scope":{"locationName":"scope"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}}}}},"DescribeReservedInstancesListings":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"ReservedInstancesId":{"locationName":"reservedInstancesId"},"ReservedInstancesListingId":{"locationName":"reservedInstancesListingId"}}},"output":{"type":"structure","members":{"ReservedInstancesListings":{"shape":"S6r","locationName":"reservedInstancesListingsSet"}}}},"DescribeReservedInstancesModifications":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"ReservedInstancesModificationIds":{"locationName":"ReservedInstancesModificationId","type":"list","member":{"locationName":"ReservedInstancesModificationId"}},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"ReservedInstancesModifications":{"locationName":"reservedInstancesModificationsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"EffectiveDate":{"locationName":"effectiveDate","type":"timestamp"},"ModificationResults":{"locationName":"modificationResultSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservedInstancesId":{"locationName":"reservedInstancesId"},"TargetConfiguration":{"shape":"S1cp","locationName":"targetConfiguration"}}}},"ReservedInstancesIds":{"locationName":"reservedInstancesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservedInstancesId":{"locationName":"reservedInstancesId"}}}},"ReservedInstancesModificationId":{"locationName":"reservedInstancesModificationId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"UpdateDate":{"locationName":"updateDate","type":"timestamp"}}}}}}},"DescribeReservedInstancesOfferings":{"input":{"type":"structure","members":{"AvailabilityZone":{},"Filters":{"shape":"Su8","locationName":"Filter"},"IncludeMarketplace":{"type":"boolean"},"InstanceType":{},"MaxDuration":{"type":"long"},"MaxInstanceCount":{"type":"integer"},"MinDuration":{"type":"long"},"OfferingClass":{},"ProductDescription":{},"ReservedInstancesOfferingIds":{"locationName":"ReservedInstancesOfferingId","type":"list","member":{}},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceTenancy":{"locationName":"instanceTenancy"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"OfferingType":{"locationName":"offeringType"}}},"output":{"type":"structure","members":{"ReservedInstancesOfferings":{"locationName":"reservedInstancesOfferingsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Duration":{"locationName":"duration","type":"long"},"FixedPrice":{"locationName":"fixedPrice","type":"float"},"InstanceType":{"locationName":"instanceType"},"ProductDescription":{"locationName":"productDescription"},"ReservedInstancesOfferingId":{"locationName":"reservedInstancesOfferingId"},"UsagePrice":{"locationName":"usagePrice","type":"float"},"CurrencyCode":{"locationName":"currencyCode"},"InstanceTenancy":{"locationName":"instanceTenancy"},"Marketplace":{"locationName":"marketplace","type":"boolean"},"OfferingClass":{"locationName":"offeringClass"},"OfferingType":{"locationName":"offeringType"},"PricingDetails":{"locationName":"pricingDetailsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Count":{"locationName":"count","type":"integer"},"Price":{"locationName":"price","type":"double"}}}},"RecurringCharges":{"shape":"S1cb","locationName":"recurringCharges"},"Scope":{"locationName":"scope"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeRouteTables":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableIds":{"locationName":"RouteTableId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"RouteTables":{"locationName":"routeTableSet","type":"list","member":{"shape":"Sjk","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeScheduledInstanceAvailability":{"input":{"type":"structure","required":["FirstSlotStartTimeRange","Recurrence"],"members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"FirstSlotStartTimeRange":{"type":"structure","required":["EarliestTime","LatestTime"],"members":{"EarliestTime":{"type":"timestamp"},"LatestTime":{"type":"timestamp"}}},"MaxResults":{"type":"integer"},"MaxSlotDurationInHours":{"type":"integer"},"MinSlotDurationInHours":{"type":"integer"},"NextToken":{},"Recurrence":{"type":"structure","members":{"Frequency":{},"Interval":{"type":"integer"},"OccurrenceDays":{"locationName":"OccurrenceDay","type":"list","member":{"locationName":"OccurenceDay","type":"integer"}},"OccurrenceRelativeToEnd":{"type":"boolean"},"OccurrenceUnit":{}}}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"ScheduledInstanceAvailabilitySet":{"locationName":"scheduledInstanceAvailabilitySet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"AvailableInstanceCount":{"locationName":"availableInstanceCount","type":"integer"},"FirstSlotStartTime":{"locationName":"firstSlotStartTime","type":"timestamp"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceType":{"locationName":"instanceType"},"MaxTermDurationInDays":{"locationName":"maxTermDurationInDays","type":"integer"},"MinTermDurationInDays":{"locationName":"minTermDurationInDays","type":"integer"},"NetworkPlatform":{"locationName":"networkPlatform"},"Platform":{"locationName":"platform"},"PurchaseToken":{"locationName":"purchaseToken"},"Recurrence":{"shape":"S1dc","locationName":"recurrence"},"SlotDurationInHours":{"locationName":"slotDurationInHours","type":"integer"},"TotalScheduledInstanceHours":{"locationName":"totalScheduledInstanceHours","type":"integer"}}}}}}},"DescribeScheduledInstances":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"ScheduledInstanceIds":{"locationName":"ScheduledInstanceId","type":"list","member":{"locationName":"ScheduledInstanceId"}},"SlotStartTimeRange":{"type":"structure","members":{"EarliestTime":{"type":"timestamp"},"LatestTime":{"type":"timestamp"}}}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"ScheduledInstanceSet":{"locationName":"scheduledInstanceSet","type":"list","member":{"shape":"S1dk","locationName":"item"}}}}},"DescribeSecurityGroupReferences":{"input":{"type":"structure","required":["GroupId"],"members":{"DryRun":{"type":"boolean"},"GroupId":{"type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"SecurityGroupReferenceSet":{"locationName":"securityGroupReferenceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"GroupId":{"locationName":"groupId"},"ReferencingVpcId":{"locationName":"referencingVpcId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}}}}}},"DescribeSecurityGroupRules":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"SecurityGroupRuleIds":{"shape":"S1dr","locationName":"SecurityGroupRuleId"},"DryRun":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SecurityGroupRules":{"shape":"S5j","locationName":"securityGroupRuleSet"},"NextToken":{"locationName":"nextToken"}}}},"DescribeSecurityGroups":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"GroupIds":{"shape":"S4o","locationName":"GroupId"},"GroupNames":{"shape":"S1dv","locationName":"GroupName"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SecurityGroups":{"locationName":"securityGroupInfo","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"groupDescription"},"GroupName":{"locationName":"groupName"},"IpPermissions":{"shape":"S58","locationName":"ipPermissions"},"OwnerId":{"locationName":"ownerId"},"GroupId":{"locationName":"groupId"},"IpPermissionsEgress":{"shape":"S58","locationName":"ipPermissionsEgress"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeSnapshotAttribute":{"input":{"type":"structure","required":["Attribute","SnapshotId"],"members":{"Attribute":{},"SnapshotId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"CreateVolumePermissions":{"shape":"S1e3","locationName":"createVolumePermission"},"ProductCodes":{"shape":"Szu","locationName":"productCodes"},"SnapshotId":{"locationName":"snapshotId"}}}},"DescribeSnapshotTierStatus":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SnapshotTierStatuses":{"locationName":"snapshotTierStatusSet","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"VolumeId":{"locationName":"volumeId"},"Status":{"locationName":"status"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"StorageTier":{"locationName":"storageTier"},"LastTieringStartTime":{"locationName":"lastTieringStartTime","type":"timestamp"},"LastTieringProgress":{"locationName":"lastTieringProgress","type":"integer"},"LastTieringOperationStatus":{"locationName":"lastTieringOperationStatus"},"LastTieringOperationStatusDetail":{"locationName":"lastTieringOperationStatusDetail"},"ArchivalCompleteTime":{"locationName":"archivalCompleteTime","type":"timestamp"},"RestoreExpiryTime":{"locationName":"restoreExpiryTime","type":"timestamp"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeSnapshots":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"OwnerIds":{"shape":"Szz","locationName":"Owner"},"RestorableByUserIds":{"locationName":"RestorableBy","type":"list","member":{}},"SnapshotIds":{"shape":"S1ed","locationName":"SnapshotId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"Snapshots":{"locationName":"snapshotSet","type":"list","member":{"shape":"Sjw","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeSpotDatafeedSubscription":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"SpotDatafeedSubscription":{"shape":"Sk7","locationName":"spotDatafeedSubscription"}}}},"DescribeSpotFleetInstances":{"input":{"type":"structure","required":["SpotFleetRequestId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}},"output":{"type":"structure","members":{"ActiveInstances":{"shape":"Syx","locationName":"activeInstanceSet"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}}},"DescribeSpotFleetRequestHistory":{"input":{"type":"structure","required":["SpotFleetRequestId","StartTime"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"EventType":{"locationName":"eventType"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"},"StartTime":{"locationName":"startTime","type":"timestamp"}}},"output":{"type":"structure","members":{"HistoryRecords":{"locationName":"historyRecordSet","type":"list","member":{"locationName":"item","type":"structure","members":{"EventInformation":{"shape":"Syu","locationName":"eventInformation"},"EventType":{"locationName":"eventType"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}},"LastEvaluatedTime":{"locationName":"lastEvaluatedTime","type":"timestamp"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"},"StartTime":{"locationName":"startTime","type":"timestamp"}}}},"DescribeSpotFleetRequests":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestIds":{"shape":"S73","locationName":"spotFleetRequestId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"SpotFleetRequestConfigs":{"locationName":"spotFleetRequestConfigSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ActivityStatus":{"locationName":"activityStatus"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"SpotFleetRequestConfig":{"shape":"S1ew","locationName":"spotFleetRequestConfig"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"},"SpotFleetRequestState":{"locationName":"spotFleetRequestState"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}}}}},"DescribeSpotInstanceRequests":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"SpotInstanceRequestIds":{"shape":"S7e","locationName":"SpotInstanceRequestId"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SpotInstanceRequests":{"shape":"S1fo","locationName":"spotInstanceRequestSet"},"NextToken":{"locationName":"nextToken"}}}},"DescribeSpotPriceHistory":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"AvailabilityZone":{"locationName":"availabilityZone"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EndTime":{"locationName":"endTime","type":"timestamp"},"InstanceTypes":{"locationName":"InstanceType","type":"list","member":{}},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"ProductDescriptions":{"locationName":"ProductDescription","type":"list","member":{}},"StartTime":{"locationName":"startTime","type":"timestamp"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"SpotPriceHistory":{"locationName":"spotPriceHistorySet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"InstanceType":{"locationName":"instanceType"},"ProductDescription":{"locationName":"productDescription"},"SpotPrice":{"locationName":"spotPrice"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}}}}},"DescribeStaleSecurityGroups":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{},"VpcId":{}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"StaleSecurityGroupSet":{"locationName":"staleSecurityGroupSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"GroupId":{"locationName":"groupId"},"GroupName":{"locationName":"groupName"},"StaleIpPermissions":{"shape":"S1g6","locationName":"staleIpPermissions"},"StaleIpPermissionsEgress":{"shape":"S1g6","locationName":"staleIpPermissionsEgress"},"VpcId":{"locationName":"vpcId"}}}}}}},"DescribeStoreImageTasks":{"input":{"type":"structure","members":{"ImageIds":{"locationName":"ImageId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"StoreImageTaskResults":{"locationName":"storeImageTaskResultSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AmiId":{"locationName":"amiId"},"TaskStartTime":{"locationName":"taskStartTime","type":"timestamp"},"Bucket":{"locationName":"bucket"},"S3objectKey":{"locationName":"s3objectKey"},"ProgressPercentage":{"locationName":"progressPercentage","type":"integer"},"StoreTaskState":{"locationName":"storeTaskState"},"StoreTaskFailureReason":{"locationName":"storeTaskFailureReason"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeSubnets":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"SubnetIds":{"locationName":"SubnetId","type":"list","member":{"locationName":"SubnetId"}},"DryRun":{"locationName":"dryRun","type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Subnets":{"locationName":"subnetSet","type":"list","member":{"shape":"S97","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTags":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Tags":{"locationName":"tagSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"Value":{"locationName":"value"}}}}}}},"DescribeTrafficMirrorFilters":{"input":{"type":"structure","members":{"TrafficMirrorFilterIds":{"locationName":"TrafficMirrorFilterId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrafficMirrorFilters":{"locationName":"trafficMirrorFilterSet","type":"list","member":{"shape":"Skq","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTrafficMirrorSessions":{"input":{"type":"structure","members":{"TrafficMirrorSessionIds":{"locationName":"TrafficMirrorSessionId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrafficMirrorSessions":{"locationName":"trafficMirrorSessionSet","type":"list","member":{"shape":"Sl5","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTrafficMirrorTargets":{"input":{"type":"structure","members":{"TrafficMirrorTargetIds":{"locationName":"TrafficMirrorTargetId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrafficMirrorTargets":{"locationName":"trafficMirrorTargetSet","type":"list","member":{"shape":"Sl8","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayAttachments":{"input":{"type":"structure","members":{"TransitGatewayAttachmentIds":{"shape":"S1h4"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayAttachments":{"locationName":"transitGatewayAttachments","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"TransitGatewayOwnerId":{"locationName":"transitGatewayOwnerId"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"ResourceType":{"locationName":"resourceType"},"ResourceId":{"locationName":"resourceId"},"State":{"locationName":"state"},"Association":{"locationName":"association","type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"State":{"locationName":"state"}}},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayConnectPeers":{"input":{"type":"structure","members":{"TransitGatewayConnectPeerIds":{"type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnectPeers":{"locationName":"transitGatewayConnectPeerSet","type":"list","member":{"shape":"Slw","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayConnects":{"input":{"type":"structure","members":{"TransitGatewayAttachmentIds":{"shape":"S1h4"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnects":{"locationName":"transitGatewayConnectSet","type":"list","member":{"shape":"Slq","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayMulticastDomains":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainIds":{"type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayMulticastDomains":{"locationName":"transitGatewayMulticastDomains","type":"list","member":{"shape":"Sm9","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayPeeringAttachments":{"input":{"type":"structure","members":{"TransitGatewayAttachmentIds":{"shape":"S1h4"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachments":{"locationName":"transitGatewayPeeringAttachments","type":"list","member":{"shape":"Sn","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayRouteTables":{"input":{"type":"structure","members":{"TransitGatewayRouteTableIds":{"type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayRouteTables":{"locationName":"transitGatewayRouteTables","type":"list","member":{"shape":"Smt","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayVpcAttachments":{"input":{"type":"structure","members":{"TransitGatewayAttachmentIds":{"shape":"S1h4"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachments":{"locationName":"transitGatewayVpcAttachments","type":"list","member":{"shape":"Sw","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGateways":{"input":{"type":"structure","members":{"TransitGatewayIds":{"type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGateways":{"locationName":"transitGatewaySet","type":"list","member":{"shape":"Slj","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTrunkInterfaceAssociations":{"input":{"type":"structure","members":{"AssociationIds":{"locationName":"AssociationId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InterfaceAssociations":{"locationName":"interfaceAssociationSet","type":"list","member":{"shape":"S4c","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVolumeAttribute":{"input":{"type":"structure","required":["Attribute","VolumeId"],"members":{"Attribute":{},"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"AutoEnableIO":{"shape":"S12h","locationName":"autoEnableIO"},"ProductCodes":{"shape":"Szu","locationName":"productCodes"},"VolumeId":{"locationName":"volumeId"}}}},"DescribeVolumeStatus":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"VolumeIds":{"shape":"S1i8","locationName":"VolumeId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"VolumeStatuses":{"locationName":"volumeStatusSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Actions":{"locationName":"actionsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Code":{"locationName":"code"},"Description":{"locationName":"description"},"EventId":{"locationName":"eventId"},"EventType":{"locationName":"eventType"}}}},"AvailabilityZone":{"locationName":"availabilityZone"},"OutpostArn":{"locationName":"outpostArn"},"Events":{"locationName":"eventsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"EventId":{"locationName":"eventId"},"EventType":{"locationName":"eventType"},"NotAfter":{"locationName":"notAfter","type":"timestamp"},"NotBefore":{"locationName":"notBefore","type":"timestamp"},"InstanceId":{"locationName":"instanceId"}}}},"VolumeId":{"locationName":"volumeId"},"VolumeStatus":{"locationName":"volumeStatus","type":"structure","members":{"Details":{"locationName":"details","type":"list","member":{"locationName":"item","type":"structure","members":{"Name":{"locationName":"name"},"Status":{"locationName":"status"}}}},"Status":{"locationName":"status"}}},"AttachmentStatuses":{"locationName":"attachmentStatuses","type":"list","member":{"locationName":"item","type":"structure","members":{"IoPerformance":{"locationName":"ioPerformance"},"InstanceId":{"locationName":"instanceId"}}}}}}}}}},"DescribeVolumes":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"VolumeIds":{"shape":"S1i8","locationName":"VolumeId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Volumes":{"locationName":"volumeSet","type":"list","member":{"shape":"Smz","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVolumesModifications":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"VolumeIds":{"shape":"S1i8","locationName":"VolumeId"},"Filters":{"shape":"Su8","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"VolumesModifications":{"locationName":"volumeModificationSet","type":"list","member":{"shape":"S1it","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcAttribute":{"input":{"type":"structure","required":["Attribute","VpcId"],"members":{"Attribute":{},"VpcId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpcId":{"locationName":"vpcId"},"EnableDnsHostnames":{"shape":"S12h","locationName":"enableDnsHostnames"},"EnableDnsSupport":{"shape":"S12h","locationName":"enableDnsSupport"}}}},"DescribeVpcClassicLink":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcIds":{"shape":"S1iz","locationName":"VpcId"}}},"output":{"type":"structure","members":{"Vpcs":{"locationName":"vpcSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ClassicLinkEnabled":{"locationName":"classicLinkEnabled","type":"boolean"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"}}}}}}},"DescribeVpcClassicLinkDnsSupport":{"input":{"type":"structure","members":{"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"VpcIds":{"shape":"S1iz"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Vpcs":{"locationName":"vpcs","type":"list","member":{"locationName":"item","type":"structure","members":{"ClassicLinkDnsSupported":{"locationName":"classicLinkDnsSupported","type":"boolean"},"VpcId":{"locationName":"vpcId"}}}}}}},"DescribeVpcEndpointConnectionNotifications":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"ConnectionNotificationId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ConnectionNotificationSet":{"locationName":"connectionNotificationSet","type":"list","member":{"shape":"Snj","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpointConnections":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"VpcEndpointConnections":{"locationName":"vpcEndpointConnectionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ServiceId":{"locationName":"serviceId"},"VpcEndpointId":{"locationName":"vpcEndpointId"},"VpcEndpointOwner":{"locationName":"vpcEndpointOwner"},"VpcEndpointState":{"locationName":"vpcEndpointState"},"CreationTimestamp":{"locationName":"creationTimestamp","type":"timestamp"},"DnsEntries":{"shape":"Sne","locationName":"dnsEntrySet"},"NetworkLoadBalancerArns":{"shape":"Se","locationName":"networkLoadBalancerArnSet"},"GatewayLoadBalancerArns":{"shape":"Se","locationName":"gatewayLoadBalancerArnSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpointServiceConfigurations":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"ServiceIds":{"shape":"St2","locationName":"ServiceId"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ServiceConfigurations":{"locationName":"serviceConfigurationSet","type":"list","member":{"shape":"Sno","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpointServicePermissions":{"input":{"type":"structure","required":["ServiceId"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AllowedPrincipals":{"locationName":"allowedPrincipals","type":"list","member":{"locationName":"item","type":"structure","members":{"PrincipalType":{"locationName":"principalType"},"Principal":{"locationName":"principal"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpointServices":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"ServiceNames":{"shape":"Se","locationName":"ServiceName"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ServiceNames":{"shape":"Se","locationName":"serviceNameSet"},"ServiceDetails":{"locationName":"serviceDetailSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ServiceName":{"locationName":"serviceName"},"ServiceId":{"locationName":"serviceId"},"ServiceType":{"shape":"Snp","locationName":"serviceType"},"AvailabilityZones":{"shape":"Se","locationName":"availabilityZoneSet"},"Owner":{"locationName":"owner"},"BaseEndpointDnsNames":{"shape":"Se","locationName":"baseEndpointDnsNameSet"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateDnsNames":{"locationName":"privateDnsNameSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PrivateDnsName":{"locationName":"privateDnsName"}}}},"VpcEndpointPolicySupported":{"locationName":"vpcEndpointPolicySupported","type":"boolean"},"AcceptanceRequired":{"locationName":"acceptanceRequired","type":"boolean"},"ManagesVpcEndpoints":{"locationName":"managesVpcEndpoints","type":"boolean"},"PayerResponsibility":{"locationName":"payerResponsibility"},"Tags":{"shape":"Ss","locationName":"tagSet"},"PrivateDnsNameVerificationState":{"locationName":"privateDnsNameVerificationState"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpoints":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"VpcEndpointIds":{"shape":"S13","locationName":"VpcEndpointId"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"VpcEndpoints":{"locationName":"vpcEndpointSet","type":"list","member":{"shape":"Sna","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcPeeringConnections":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcPeeringConnectionIds":{"locationName":"VpcPeeringConnectionId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"VpcPeeringConnections":{"locationName":"vpcPeeringConnectionSet","type":"list","member":{"shape":"S1c","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcs":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"VpcIds":{"locationName":"VpcId","type":"list","member":{"locationName":"VpcId"}},"DryRun":{"locationName":"dryRun","type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Vpcs":{"locationName":"vpcSet","type":"list","member":{"shape":"S9f","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpnConnections":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"VpnConnectionIds":{"locationName":"VpnConnectionId","type":"list","member":{"locationName":"VpnConnectionId"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnections":{"locationName":"vpnConnectionSet","type":"list","member":{"shape":"Soj","locationName":"item"}}}}},"DescribeVpnGateways":{"input":{"type":"structure","members":{"Filters":{"shape":"Su8","locationName":"Filter"},"VpnGatewayIds":{"locationName":"VpnGatewayId","type":"list","member":{"locationName":"VpnGatewayId"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpnGateways":{"locationName":"vpnGatewaySet","type":"list","member":{"shape":"Spd","locationName":"item"}}}}},"DetachClassicLinkVpc":{"input":{"type":"structure","required":["InstanceId","VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"},"VpcId":{"locationName":"vpcId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DetachInternetGateway":{"input":{"type":"structure","required":["InternetGatewayId","VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"InternetGatewayId":{"locationName":"internetGatewayId"},"VpcId":{"locationName":"vpcId"}}}},"DetachNetworkInterface":{"input":{"type":"structure","required":["AttachmentId"],"members":{"AttachmentId":{"locationName":"attachmentId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Force":{"locationName":"force","type":"boolean"}}}},"DetachVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"Device":{},"Force":{"type":"boolean"},"InstanceId":{},"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"shape":"S4w"}},"DetachVpnGateway":{"input":{"type":"structure","required":["VpcId","VpnGatewayId"],"members":{"VpcId":{},"VpnGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DisableEbsEncryptionByDefault":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"EbsEncryptionByDefault":{"locationName":"ebsEncryptionByDefault","type":"boolean"}}}},"DisableFastSnapshotRestores":{"input":{"type":"structure","required":["AvailabilityZones","SourceSnapshotIds"],"members":{"AvailabilityZones":{"shape":"S1kp","locationName":"AvailabilityZone"},"SourceSnapshotIds":{"shape":"S1ed","locationName":"SourceSnapshotId"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Successful":{"locationName":"successful","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"AvailabilityZone":{"locationName":"availabilityZone"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"OwnerId":{"locationName":"ownerId"},"OwnerAlias":{"locationName":"ownerAlias"},"EnablingTime":{"locationName":"enablingTime","type":"timestamp"},"OptimizingTime":{"locationName":"optimizingTime","type":"timestamp"},"EnabledTime":{"locationName":"enabledTime","type":"timestamp"},"DisablingTime":{"locationName":"disablingTime","type":"timestamp"},"DisabledTime":{"locationName":"disabledTime","type":"timestamp"}}}},"Unsuccessful":{"locationName":"unsuccessful","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"FastSnapshotRestoreStateErrors":{"locationName":"fastSnapshotRestoreStateErrorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}}}}},"DisableImageDeprecation":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DisableIpamOrganizationAdminAccount":{"input":{"type":"structure","required":["DelegatedAdminAccountId"],"members":{"DryRun":{"type":"boolean"},"DelegatedAdminAccountId":{}}},"output":{"type":"structure","members":{"Success":{"locationName":"success","type":"boolean"}}}},"DisableSerialConsoleAccess":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SerialConsoleAccessEnabled":{"locationName":"serialConsoleAccessEnabled","type":"boolean"}}}},"DisableTransitGatewayRouteTablePropagation":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","TransitGatewayAttachmentId"],"members":{"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Propagation":{"shape":"S1l6","locationName":"propagation"}}}},"DisableVgwRoutePropagation":{"input":{"type":"structure","required":["GatewayId","RouteTableId"],"members":{"GatewayId":{},"RouteTableId":{},"DryRun":{"type":"boolean"}}}},"DisableVpcClassicLink":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcId":{"locationName":"vpcId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DisableVpcClassicLinkDnsSupport":{"input":{"type":"structure","members":{"VpcId":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DisassociateAddress":{"input":{"type":"structure","members":{"AssociationId":{},"PublicIp":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DisassociateClientVpnTargetNetwork":{"input":{"type":"structure","required":["ClientVpnEndpointId","AssociationId"],"members":{"ClientVpnEndpointId":{},"AssociationId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"Status":{"shape":"S2y","locationName":"status"}}}},"DisassociateEnclaveCertificateIamRole":{"input":{"type":"structure","members":{"CertificateArn":{},"RoleArn":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DisassociateIamInstanceProfile":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{}}},"output":{"type":"structure","members":{"IamInstanceProfileAssociation":{"shape":"S38","locationName":"iamInstanceProfileAssociation"}}}},"DisassociateInstanceEventWindow":{"input":{"type":"structure","required":["InstanceEventWindowId","AssociationTarget"],"members":{"DryRun":{"type":"boolean"},"InstanceEventWindowId":{},"AssociationTarget":{"type":"structure","members":{"InstanceIds":{"shape":"S3e","locationName":"InstanceId"},"InstanceTags":{"shape":"Ss","locationName":"InstanceTag"},"DedicatedHostIds":{"shape":"S3f","locationName":"DedicatedHostId"}}}}},"output":{"type":"structure","members":{"InstanceEventWindow":{"shape":"S3i","locationName":"instanceEventWindow"}}}},"DisassociateRouteTable":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{"locationName":"associationId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DisassociateSubnetCidrBlock":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{"locationName":"associationId"}}},"output":{"type":"structure","members":{"Ipv6CidrBlockAssociation":{"shape":"S3y","locationName":"ipv6CidrBlockAssociation"},"SubnetId":{"locationName":"subnetId"}}}},"DisassociateTransitGatewayMulticastDomain":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"TransitGatewayAttachmentId":{},"SubnetIds":{"shape":"S43"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"shape":"Sg","locationName":"associations"}}}},"DisassociateTransitGatewayRouteTable":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","TransitGatewayAttachmentId"],"members":{"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Association":{"shape":"S48","locationName":"association"}}}},"DisassociateTrunkInterface":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"ClientToken":{"locationName":"clientToken"}}}},"DisassociateVpcCidrBlock":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{"locationName":"associationId"}}},"output":{"type":"structure","members":{"Ipv6CidrBlockAssociation":{"shape":"S4j","locationName":"ipv6CidrBlockAssociation"},"CidrBlockAssociation":{"shape":"S4m","locationName":"cidrBlockAssociation"},"VpcId":{"locationName":"vpcId"}}}},"EnableEbsEncryptionByDefault":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"EbsEncryptionByDefault":{"locationName":"ebsEncryptionByDefault","type":"boolean"}}}},"EnableFastSnapshotRestores":{"input":{"type":"structure","required":["AvailabilityZones","SourceSnapshotIds"],"members":{"AvailabilityZones":{"shape":"S1kp","locationName":"AvailabilityZone"},"SourceSnapshotIds":{"shape":"S1ed","locationName":"SourceSnapshotId"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Successful":{"locationName":"successful","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"AvailabilityZone":{"locationName":"availabilityZone"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"OwnerId":{"locationName":"ownerId"},"OwnerAlias":{"locationName":"ownerAlias"},"EnablingTime":{"locationName":"enablingTime","type":"timestamp"},"OptimizingTime":{"locationName":"optimizingTime","type":"timestamp"},"EnabledTime":{"locationName":"enabledTime","type":"timestamp"},"DisablingTime":{"locationName":"disablingTime","type":"timestamp"},"DisabledTime":{"locationName":"disabledTime","type":"timestamp"}}}},"Unsuccessful":{"locationName":"unsuccessful","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"FastSnapshotRestoreStateErrors":{"locationName":"fastSnapshotRestoreStateErrorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}}}}},"EnableImageDeprecation":{"input":{"type":"structure","required":["ImageId","DeprecateAt"],"members":{"ImageId":{},"DeprecateAt":{"type":"timestamp"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"EnableIpamOrganizationAdminAccount":{"input":{"type":"structure","required":["DelegatedAdminAccountId"],"members":{"DryRun":{"type":"boolean"},"DelegatedAdminAccountId":{}}},"output":{"type":"structure","members":{"Success":{"locationName":"success","type":"boolean"}}}},"EnableSerialConsoleAccess":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SerialConsoleAccessEnabled":{"locationName":"serialConsoleAccessEnabled","type":"boolean"}}}},"EnableTransitGatewayRouteTablePropagation":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","TransitGatewayAttachmentId"],"members":{"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Propagation":{"shape":"S1l6","locationName":"propagation"}}}},"EnableVgwRoutePropagation":{"input":{"type":"structure","required":["GatewayId","RouteTableId"],"members":{"GatewayId":{},"RouteTableId":{},"DryRun":{"type":"boolean"}}}},"EnableVolumeIO":{"input":{"type":"structure","required":["VolumeId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VolumeId":{"locationName":"volumeId"}}}},"EnableVpcClassicLink":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcId":{"locationName":"vpcId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"EnableVpcClassicLinkDnsSupport":{"input":{"type":"structure","members":{"VpcId":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ExportClientVpnClientCertificateRevocationList":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CertificateRevocationList":{"locationName":"certificateRevocationList"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}},"ExportClientVpnClientConfiguration":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClientConfiguration":{"locationName":"clientConfiguration"}}}},"ExportImage":{"input":{"type":"structure","required":["DiskImageFormat","ImageId","S3ExportLocation"],"members":{"ClientToken":{"idempotencyToken":true},"Description":{},"DiskImageFormat":{},"DryRun":{"type":"boolean"},"ImageId":{},"S3ExportLocation":{"type":"structure","required":["S3Bucket"],"members":{"S3Bucket":{},"S3Prefix":{}}},"RoleName":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"Description":{"locationName":"description"},"DiskImageFormat":{"locationName":"diskImageFormat"},"ExportImageTaskId":{"locationName":"exportImageTaskId"},"ImageId":{"locationName":"imageId"},"RoleName":{"locationName":"roleName"},"Progress":{"locationName":"progress"},"S3ExportLocation":{"shape":"Syd","locationName":"s3ExportLocation"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"ExportTransitGatewayRoutes":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","S3Bucket"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"S3Bucket":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"S3Location":{"locationName":"s3Location"}}}},"GetAssociatedEnclaveCertificateIamRoles":{"input":{"type":"structure","members":{"CertificateArn":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"AssociatedRoles":{"locationName":"associatedRoleSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AssociatedRoleArn":{"locationName":"associatedRoleArn"},"CertificateS3BucketName":{"locationName":"certificateS3BucketName"},"CertificateS3ObjectKey":{"locationName":"certificateS3ObjectKey"},"EncryptionKmsKeyId":{"locationName":"encryptionKmsKeyId"}}}}}}},"GetAssociatedIpv6PoolCidrs":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Ipv6CidrAssociations":{"locationName":"ipv6CidrAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Cidr":{"locationName":"ipv6Cidr"},"AssociatedResource":{"locationName":"associatedResource"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetCapacityReservationUsage":{"input":{"type":"structure","required":["CapacityReservationId"],"members":{"CapacityReservationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"CapacityReservationId":{"locationName":"capacityReservationId"},"InstanceType":{"locationName":"instanceType"},"TotalInstanceCount":{"locationName":"totalInstanceCount","type":"integer"},"AvailableInstanceCount":{"locationName":"availableInstanceCount","type":"integer"},"State":{"locationName":"state"},"InstanceUsages":{"locationName":"instanceUsageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AccountId":{"locationName":"accountId"},"UsedInstanceCount":{"locationName":"usedInstanceCount","type":"integer"}}}}}}},"GetCoipPoolUsage":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CoipPoolId":{"locationName":"coipPoolId"},"CoipAddressUsages":{"locationName":"coipAddressUsageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AllocationId":{"locationName":"allocationId"},"AwsAccountId":{"locationName":"awsAccountId"},"AwsService":{"locationName":"awsService"},"CoIp":{"locationName":"coIp"}}}},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"}}}},"GetConsoleOutput":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"Latest":{"type":"boolean"}}},"output":{"type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"Output":{"locationName":"output"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}},"GetConsoleScreenshot":{"input":{"type":"structure","required":["InstanceId"],"members":{"DryRun":{"type":"boolean"},"InstanceId":{},"WakeUp":{"type":"boolean"}}},"output":{"type":"structure","members":{"ImageData":{"locationName":"imageData"},"InstanceId":{"locationName":"instanceId"}}}},"GetDefaultCreditSpecification":{"input":{"type":"structure","required":["InstanceFamily"],"members":{"DryRun":{"type":"boolean"},"InstanceFamily":{}}},"output":{"type":"structure","members":{"InstanceFamilyCreditSpecification":{"shape":"S1nq","locationName":"instanceFamilyCreditSpecification"}}}},"GetEbsDefaultKmsKeyId":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"KmsKeyId":{"locationName":"kmsKeyId"}}}},"GetEbsEncryptionByDefault":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"EbsEncryptionByDefault":{"locationName":"ebsEncryptionByDefault","type":"boolean"}}}},"GetFlowLogsIntegrationTemplate":{"input":{"type":"structure","required":["FlowLogId","ConfigDeliveryS3DestinationArn","IntegrateServices"],"members":{"DryRun":{"type":"boolean"},"FlowLogId":{},"ConfigDeliveryS3DestinationArn":{},"IntegrateServices":{"locationName":"IntegrateService","type":"structure","members":{"AthenaIntegrations":{"locationName":"AthenaIntegration","type":"list","member":{"locationName":"item","type":"structure","required":["IntegrationResultS3DestinationArn","PartitionLoadFrequency"],"members":{"IntegrationResultS3DestinationArn":{},"PartitionLoadFrequency":{},"PartitionStartDate":{"type":"timestamp"},"PartitionEndDate":{"type":"timestamp"}}}}}}}},"output":{"type":"structure","members":{"Result":{"locationName":"result"}}}},"GetGroupsForCapacityReservation":{"input":{"type":"structure","required":["CapacityReservationId"],"members":{"CapacityReservationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"CapacityReservationGroups":{"locationName":"capacityReservationGroupSet","type":"list","member":{"locationName":"item","type":"structure","members":{"GroupArn":{"locationName":"groupArn"},"OwnerId":{"locationName":"ownerId"}}}}}}},"GetHostReservationPurchasePreview":{"input":{"type":"structure","required":["HostIdSet","OfferingId"],"members":{"HostIdSet":{"shape":"S1o7"},"OfferingId":{}}},"output":{"type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"Purchase":{"shape":"S1o9","locationName":"purchase"},"TotalHourlyPrice":{"locationName":"totalHourlyPrice"},"TotalUpfrontPrice":{"locationName":"totalUpfrontPrice"}}}},"GetInstanceTypesFromInstanceRequirements":{"input":{"type":"structure","required":["ArchitectureTypes","VirtualizationTypes","InstanceRequirements"],"members":{"DryRun":{"type":"boolean"},"ArchitectureTypes":{"shape":"S1oc","locationName":"ArchitectureType"},"VirtualizationTypes":{"shape":"S1od","locationName":"VirtualizationType"},"InstanceRequirements":{"shape":"Sak"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceTypes":{"locationName":"instanceTypeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{"locationName":"instanceType"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetIpamAddressHistory":{"input":{"type":"structure","required":["Cidr","IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"Cidr":{},"IpamScopeId":{},"VpcId":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"HistoryRecords":{"locationName":"historyRecordSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceOwnerId":{"locationName":"resourceOwnerId"},"ResourceRegion":{"locationName":"resourceRegion"},"ResourceType":{"locationName":"resourceType"},"ResourceId":{"locationName":"resourceId"},"ResourceCidr":{"locationName":"resourceCidr"},"ResourceName":{"locationName":"resourceName"},"ResourceComplianceStatus":{"locationName":"resourceComplianceStatus"},"ResourceOverlapStatus":{"locationName":"resourceOverlapStatus"},"VpcId":{"locationName":"vpcId"},"SampledStartTime":{"locationName":"sampledStartTime","type":"timestamp"},"SampledEndTime":{"locationName":"sampledEndTime","type":"timestamp"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetIpamPoolAllocations":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"IpamPoolAllocationId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IpamPoolAllocations":{"locationName":"ipamPoolAllocationSet","type":"list","member":{"shape":"S26","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"GetIpamPoolCidrs":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IpamPoolCidrs":{"locationName":"ipamPoolCidrSet","type":"list","member":{"shape":"Stf","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"GetIpamResourceCidrs":{"input":{"type":"structure","required":["IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"IpamScopeId":{},"IpamPoolId":{},"ResourceId":{},"ResourceType":{},"ResourceTag":{"shape":"Sde"},"ResourceOwner":{}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"IpamResourceCidrs":{"locationName":"ipamResourceCidrSet","type":"list","member":{"shape":"S1p0","locationName":"item"}}}}},"GetLaunchTemplateData":{"input":{"type":"structure","required":["InstanceId"],"members":{"DryRun":{"type":"boolean"},"InstanceId":{}}},"output":{"type":"structure","members":{"LaunchTemplateData":{"shape":"Sfi","locationName":"launchTemplateData"}}}},"GetManagedPrefixListAssociations":{"input":{"type":"structure","required":["PrefixListId"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PrefixListAssociations":{"locationName":"prefixListAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceId":{"locationName":"resourceId"},"ResourceOwner":{"locationName":"resourceOwner"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetManagedPrefixListEntries":{"input":{"type":"structure","required":["PrefixListId"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{},"TargetVersion":{"type":"long"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Entries":{"locationName":"entrySet","type":"list","member":{"locationName":"item","type":"structure","members":{"Cidr":{"locationName":"cidr"},"Description":{"locationName":"description"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetNetworkInsightsAccessScopeAnalysisFindings":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeAnalysisId"],"members":{"NetworkInsightsAccessScopeAnalysisId":{},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysisId":{"locationName":"networkInsightsAccessScopeAnalysisId"},"AnalysisStatus":{"locationName":"analysisStatus"},"AnalysisFindings":{"locationName":"analysisFindingSet","type":"list","member":{"locationName":"item","type":"structure","members":{"NetworkInsightsAccessScopeAnalysisId":{"locationName":"networkInsightsAccessScopeAnalysisId"},"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"},"FindingId":{"locationName":"findingId"},"FindingComponents":{"shape":"S1a4","locationName":"findingComponentSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetNetworkInsightsAccessScopeContent":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeId"],"members":{"NetworkInsightsAccessScopeId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeContent":{"shape":"Shu","locationName":"networkInsightsAccessScopeContent"}}}},"GetPasswordData":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"PasswordData":{"locationName":"passwordData"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}},"GetReservedInstancesExchangeQuote":{"input":{"type":"structure","required":["ReservedInstanceIds"],"members":{"DryRun":{"type":"boolean"},"ReservedInstanceIds":{"shape":"S3","locationName":"ReservedInstanceId"},"TargetConfigurations":{"shape":"S5","locationName":"TargetConfiguration"}}},"output":{"type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"IsValidExchange":{"locationName":"isValidExchange","type":"boolean"},"OutputReservedInstancesWillExpireAt":{"locationName":"outputReservedInstancesWillExpireAt","type":"timestamp"},"PaymentDue":{"locationName":"paymentDue"},"ReservedInstanceValueRollup":{"shape":"S1po","locationName":"reservedInstanceValueRollup"},"ReservedInstanceValueSet":{"locationName":"reservedInstanceValueSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservationValue":{"shape":"S1po","locationName":"reservationValue"},"ReservedInstanceId":{"locationName":"reservedInstanceId"}}}},"TargetConfigurationValueRollup":{"shape":"S1po","locationName":"targetConfigurationValueRollup"},"TargetConfigurationValueSet":{"locationName":"targetConfigurationValueSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservationValue":{"shape":"S1po","locationName":"reservationValue"},"TargetConfiguration":{"locationName":"targetConfiguration","type":"structure","members":{"InstanceCount":{"locationName":"instanceCount","type":"integer"},"OfferingId":{"locationName":"offeringId"}}}}}},"ValidationFailureReason":{"locationName":"validationFailureReason"}}}},"GetSerialConsoleAccessStatus":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SerialConsoleAccessEnabled":{"locationName":"serialConsoleAccessEnabled","type":"boolean"}}}},"GetSpotPlacementScores":{"input":{"type":"structure","required":["TargetCapacity"],"members":{"InstanceTypes":{"locationName":"InstanceType","type":"list","member":{}},"TargetCapacity":{"type":"integer"},"TargetCapacityUnitType":{},"SingleAvailabilityZone":{"type":"boolean"},"RegionNames":{"locationName":"RegionName","type":"list","member":{}},"InstanceRequirementsWithMetadata":{"type":"structure","members":{"ArchitectureTypes":{"shape":"S1oc","locationName":"ArchitectureType"},"VirtualizationTypes":{"shape":"S1od","locationName":"VirtualizationType"},"InstanceRequirements":{"shape":"Sak"}}},"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"SpotPlacementScores":{"locationName":"spotPlacementScoreSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Region":{"locationName":"region"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"Score":{"locationName":"score","type":"integer"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetSubnetCidrReservations":{"input":{"type":"structure","required":["SubnetId"],"members":{"Filters":{"shape":"Su8","locationName":"Filter"},"SubnetId":{},"DryRun":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SubnetIpv4CidrReservations":{"shape":"S1q8","locationName":"subnetIpv4CidrReservationSet"},"SubnetIpv6CidrReservations":{"shape":"S1q8","locationName":"subnetIpv6CidrReservationSet"},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayAttachmentPropagations":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayAttachmentPropagations":{"locationName":"transitGatewayAttachmentPropagations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"State":{"locationName":"state"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayMulticastDomainAssociations":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"MulticastDomainAssociations":{"locationName":"multicastDomainAssociations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"Subnet":{"shape":"Sj","locationName":"subnet"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayPrefixListReferences":{"input":{"type":"structure","required":["TransitGatewayRouteTableId"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPrefixListReferences":{"locationName":"transitGatewayPrefixListReferenceSet","type":"list","member":{"shape":"Smh","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayRouteTableAssociations":{"input":{"type":"structure","required":["TransitGatewayRouteTableId"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"locationName":"associations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"State":{"locationName":"state"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayRouteTablePropagations":{"input":{"type":"structure","required":["TransitGatewayRouteTableId"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayRouteTablePropagations":{"locationName":"transitGatewayRouteTablePropagations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"State":{"locationName":"state"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetVpnConnectionDeviceSampleConfiguration":{"input":{"type":"structure","required":["VpnConnectionId","VpnConnectionDeviceTypeId"],"members":{"VpnConnectionId":{},"VpnConnectionDeviceTypeId":{},"InternetKeyExchangeVersion":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnectionDeviceSampleConfiguration":{"locationName":"vpnConnectionDeviceSampleConfiguration","type":"string","sensitive":true}}}},"GetVpnConnectionDeviceTypes":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnectionDeviceTypes":{"locationName":"vpnConnectionDeviceTypeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"VpnConnectionDeviceTypeId":{"locationName":"vpnConnectionDeviceTypeId"},"Vendor":{"locationName":"vendor"},"Platform":{"locationName":"platform"},"Software":{"locationName":"software"}}}},"NextToken":{"locationName":"nextToken"}}}},"ImportClientVpnClientCertificateRevocationList":{"input":{"type":"structure","required":["ClientVpnEndpointId","CertificateRevocationList"],"members":{"ClientVpnEndpointId":{},"CertificateRevocationList":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ImportImage":{"input":{"type":"structure","members":{"Architecture":{},"ClientData":{"shape":"S1r4"},"ClientToken":{},"Description":{},"DiskContainers":{"locationName":"DiskContainer","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{},"DeviceName":{},"Format":{},"SnapshotId":{},"Url":{},"UserBucket":{"shape":"S1r7"}}}},"DryRun":{"type":"boolean"},"Encrypted":{"type":"boolean"},"Hypervisor":{},"KmsKeyId":{},"LicenseType":{},"Platform":{},"RoleName":{},"LicenseSpecifications":{"type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{}}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"UsageOperation":{},"BootMode":{}}},"output":{"type":"structure","members":{"Architecture":{"locationName":"architecture"},"Description":{"locationName":"description"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"ImageId":{"locationName":"imageId"},"ImportTaskId":{"locationName":"importTaskId"},"KmsKeyId":{"locationName":"kmsKeyId"},"LicenseType":{"locationName":"licenseType"},"Platform":{"locationName":"platform"},"Progress":{"locationName":"progress"},"SnapshotDetails":{"shape":"S11z","locationName":"snapshotDetailSet"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"LicenseSpecifications":{"shape":"S122","locationName":"licenseSpecifications"},"Tags":{"shape":"Ss","locationName":"tagSet"},"UsageOperation":{"locationName":"usageOperation"}}}},"ImportInstance":{"input":{"type":"structure","required":["Platform"],"members":{"Description":{"locationName":"description"},"DiskImages":{"locationName":"diskImage","type":"list","member":{"type":"structure","members":{"Description":{},"Image":{"shape":"S1re"},"Volume":{"shape":"S1rf"}}}},"DryRun":{"locationName":"dryRun","type":"boolean"},"LaunchSpecification":{"locationName":"launchSpecification","type":"structure","members":{"AdditionalInfo":{"locationName":"additionalInfo"},"Architecture":{"locationName":"architecture"},"GroupIds":{"shape":"Se4","locationName":"GroupId"},"GroupNames":{"shape":"Seq","locationName":"GroupName"},"InstanceInitiatedShutdownBehavior":{"locationName":"instanceInitiatedShutdownBehavior"},"InstanceType":{"locationName":"instanceType"},"Monitoring":{"locationName":"monitoring","type":"boolean"},"Placement":{"shape":"Sai","locationName":"placement"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"SubnetId":{"locationName":"subnetId"},"UserData":{"locationName":"userData","type":"structure","members":{"Data":{"locationName":"data"}},"sensitive":true}}},"Platform":{"locationName":"platform"}}},"output":{"type":"structure","members":{"ConversionTask":{"shape":"Sxa","locationName":"conversionTask"}}}},"ImportKeyPair":{"input":{"type":"structure","required":["KeyName","PublicKeyMaterial"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"KeyName":{"locationName":"keyName"},"PublicKeyMaterial":{"locationName":"publicKeyMaterial","type":"blob"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"KeyFingerprint":{"locationName":"keyFingerprint"},"KeyName":{"locationName":"keyName"},"KeyPairId":{"locationName":"keyPairId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"ImportSnapshot":{"input":{"type":"structure","members":{"ClientData":{"shape":"S1r4"},"ClientToken":{},"Description":{},"DiskContainer":{"type":"structure","members":{"Description":{},"Format":{},"Url":{},"UserBucket":{"shape":"S1r7"}}},"DryRun":{"type":"boolean"},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"RoleName":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"Description":{"locationName":"description"},"ImportTaskId":{"locationName":"importTaskId"},"SnapshotTaskDetail":{"shape":"S12a","locationName":"snapshotTaskDetail"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"ImportVolume":{"input":{"type":"structure","required":["AvailabilityZone","Image","Volume"],"members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Image":{"shape":"S1re","locationName":"image"},"Volume":{"shape":"S1rf","locationName":"volume"}}},"output":{"type":"structure","members":{"ConversionTask":{"shape":"Sxa","locationName":"conversionTask"}}}},"ListSnapshotsInRecycleBin":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"SnapshotIds":{"shape":"S1ed","locationName":"SnapshotId"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Snapshots":{"locationName":"snapshotSet","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"RecycleBinEnterTime":{"locationName":"recycleBinEnterTime","type":"timestamp"},"RecycleBinExitTime":{"locationName":"recycleBinExitTime","type":"timestamp"},"Description":{"locationName":"description"},"VolumeId":{"locationName":"volumeId"}}}},"NextToken":{"locationName":"nextToken"}}}},"ModifyAddressAttribute":{"input":{"type":"structure","required":["AllocationId"],"members":{"AllocationId":{},"DomainName":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Address":{"shape":"Sum","locationName":"address"}}}},"ModifyAvailabilityZoneGroup":{"input":{"type":"structure","required":["GroupName","OptInStatus"],"members":{"GroupName":{},"OptInStatus":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyCapacityReservation":{"input":{"type":"structure","required":["CapacityReservationId"],"members":{"CapacityReservationId":{},"InstanceCount":{"type":"integer"},"EndDate":{"type":"timestamp"},"EndDateType":{},"Accept":{"type":"boolean"},"DryRun":{"type":"boolean"},"AdditionalInfo":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyCapacityReservationFleet":{"input":{"type":"structure","required":["CapacityReservationFleetId"],"members":{"CapacityReservationFleetId":{},"TotalTargetCapacity":{"type":"integer"},"EndDate":{"type":"timestamp"},"DryRun":{"type":"boolean"},"RemoveEndDate":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyClientVpnEndpoint":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"ServerCertificateArn":{},"ConnectionLogOptions":{"shape":"S8q"},"DnsServers":{"type":"structure","members":{"CustomDnsServers":{"shape":"Se"},"Enabled":{"type":"boolean"}}},"VpnPort":{"type":"integer"},"Description":{},"SplitTunnel":{"type":"boolean"},"DryRun":{"type":"boolean"},"SecurityGroupIds":{"shape":"S2c","locationName":"SecurityGroupId"},"VpcId":{},"SelfServicePortal":{},"ClientConnectOptions":{"shape":"S8t"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyDefaultCreditSpecification":{"input":{"type":"structure","required":["InstanceFamily","CpuCredits"],"members":{"DryRun":{"type":"boolean"},"InstanceFamily":{},"CpuCredits":{}}},"output":{"type":"structure","members":{"InstanceFamilyCreditSpecification":{"shape":"S1nq","locationName":"instanceFamilyCreditSpecification"}}}},"ModifyEbsDefaultKmsKeyId":{"input":{"type":"structure","required":["KmsKeyId"],"members":{"KmsKeyId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"KmsKeyId":{"locationName":"kmsKeyId"}}}},"ModifyFleet":{"input":{"type":"structure","required":["FleetId"],"members":{"DryRun":{"type":"boolean"},"ExcessCapacityTerminationPolicy":{},"LaunchTemplateConfigs":{"shape":"Sab","locationName":"LaunchTemplateConfig"},"FleetId":{},"TargetCapacitySpecification":{"shape":"Sba"},"Context":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyFpgaImageAttribute":{"input":{"type":"structure","required":["FpgaImageId"],"members":{"DryRun":{"type":"boolean"},"FpgaImageId":{},"Attribute":{},"OperationType":{},"UserIds":{"shape":"S1sf","locationName":"UserId"},"UserGroups":{"shape":"S1sg","locationName":"UserGroup"},"ProductCodes":{"shape":"S1sh","locationName":"ProductCode"},"LoadPermission":{"type":"structure","members":{"Add":{"shape":"S1sj"},"Remove":{"shape":"S1sj"}}},"Description":{},"Name":{}}},"output":{"type":"structure","members":{"FpgaImageAttribute":{"shape":"Szq","locationName":"fpgaImageAttribute"}}}},"ModifyHosts":{"input":{"type":"structure","required":["HostIds"],"members":{"AutoPlacement":{"locationName":"autoPlacement"},"HostIds":{"shape":"S10n","locationName":"hostId"},"HostRecovery":{},"InstanceType":{},"InstanceFamily":{}}},"output":{"type":"structure","members":{"Successful":{"shape":"S21","locationName":"successful"},"Unsuccessful":{"shape":"S1so","locationName":"unsuccessful"}}}},"ModifyIdFormat":{"input":{"type":"structure","required":["Resource","UseLongIds"],"members":{"Resource":{},"UseLongIds":{"type":"boolean"}}}},"ModifyIdentityIdFormat":{"input":{"type":"structure","required":["PrincipalArn","Resource","UseLongIds"],"members":{"PrincipalArn":{"locationName":"principalArn"},"Resource":{"locationName":"resource"},"UseLongIds":{"locationName":"useLongIds","type":"boolean"}}}},"ModifyImageAttribute":{"input":{"type":"structure","required":["ImageId"],"members":{"Attribute":{},"Description":{"shape":"S9s"},"ImageId":{},"LaunchPermission":{"type":"structure","members":{"Add":{"shape":"S11d"},"Remove":{"shape":"S11d"}}},"OperationType":{},"ProductCodes":{"shape":"S1sh","locationName":"ProductCode"},"UserGroups":{"shape":"S1sg","locationName":"UserGroup"},"UserIds":{"shape":"S1sf","locationName":"UserId"},"Value":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"OrganizationArns":{"locationName":"OrganizationArn","type":"list","member":{"locationName":"OrganizationArn"}},"OrganizationalUnitArns":{"locationName":"OrganizationalUnitArn","type":"list","member":{"locationName":"OrganizationalUnitArn"}}}}},"ModifyInstanceAttribute":{"input":{"type":"structure","required":["InstanceId"],"members":{"SourceDestCheck":{"shape":"S12h"},"Attribute":{"locationName":"attribute"},"BlockDeviceMappings":{"locationName":"blockDeviceMapping","type":"list","member":{"locationName":"item","type":"structure","members":{"DeviceName":{"locationName":"deviceName"},"Ebs":{"locationName":"ebs","type":"structure","members":{"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"VolumeId":{"locationName":"volumeId"}}},"NoDevice":{"locationName":"noDevice"},"VirtualName":{"locationName":"virtualName"}}}},"DisableApiTermination":{"shape":"S12h","locationName":"disableApiTermination"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EbsOptimized":{"shape":"S12h","locationName":"ebsOptimized"},"EnaSupport":{"shape":"S12h","locationName":"enaSupport"},"Groups":{"shape":"S4o","locationName":"GroupId"},"InstanceId":{"locationName":"instanceId"},"InstanceInitiatedShutdownBehavior":{"shape":"S9s","locationName":"instanceInitiatedShutdownBehavior"},"InstanceType":{"shape":"S9s","locationName":"instanceType"},"Kernel":{"shape":"S9s","locationName":"kernel"},"Ramdisk":{"shape":"S9s","locationName":"ramdisk"},"SriovNetSupport":{"shape":"S9s","locationName":"sriovNetSupport"},"UserData":{"locationName":"userData","type":"structure","members":{"Value":{"locationName":"value","type":"blob"}}},"Value":{"locationName":"value"}}}},"ModifyInstanceCapacityReservationAttributes":{"input":{"type":"structure","required":["InstanceId","CapacityReservationSpecification"],"members":{"InstanceId":{},"CapacityReservationSpecification":{"shape":"S1t1"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyInstanceCreditSpecification":{"input":{"type":"structure","required":["InstanceCreditSpecifications"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"InstanceCreditSpecifications":{"locationName":"InstanceCreditSpecification","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{},"CpuCredits":{}}}}}},"output":{"type":"structure","members":{"SuccessfulInstanceCreditSpecifications":{"locationName":"successfulInstanceCreditSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"}}}},"UnsuccessfulInstanceCreditSpecifications":{"locationName":"unsuccessfulInstanceCreditSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}},"ModifyInstanceEventStartTime":{"input":{"type":"structure","required":["InstanceId","InstanceEventId","NotBefore"],"members":{"DryRun":{"type":"boolean"},"InstanceId":{},"InstanceEventId":{},"NotBefore":{"type":"timestamp"}}},"output":{"type":"structure","members":{"Event":{"shape":"S130","locationName":"event"}}}},"ModifyInstanceEventWindow":{"input":{"type":"structure","required":["InstanceEventWindowId"],"members":{"DryRun":{"type":"boolean"},"Name":{},"InstanceEventWindowId":{},"TimeRanges":{"shape":"Sck","locationName":"TimeRange"},"CronExpression":{}}},"output":{"type":"structure","members":{"InstanceEventWindow":{"shape":"S3i","locationName":"instanceEventWindow"}}}},"ModifyInstanceMetadataOptions":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"HttpTokens":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpEndpoint":{},"DryRun":{"type":"boolean"},"HttpProtocolIpv6":{}}},"output":{"type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"InstanceMetadataOptions":{"shape":"S16y","locationName":"instanceMetadataOptions"}}}},"ModifyInstancePlacement":{"input":{"type":"structure","required":["InstanceId"],"members":{"Affinity":{"locationName":"affinity"},"GroupName":{},"HostId":{"locationName":"hostId"},"InstanceId":{"locationName":"instanceId"},"Tenancy":{"locationName":"tenancy"},"PartitionNumber":{"type":"integer"},"HostResourceGroupArn":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyIpam":{"input":{"type":"structure","required":["IpamId"],"members":{"DryRun":{"type":"boolean"},"IpamId":{},"Description":{},"AddOperatingRegions":{"shape":"Sd1","locationName":"AddOperatingRegion"},"RemoveOperatingRegions":{"locationName":"RemoveOperatingRegion","type":"list","member":{"type":"structure","members":{"RegionName":{}}}}}},"output":{"type":"structure","members":{"Ipam":{"shape":"Sd4","locationName":"ipam"}}}},"ModifyIpamPool":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Description":{},"AutoImport":{"type":"boolean"},"AllocationMinNetmaskLength":{"type":"integer"},"AllocationMaxNetmaskLength":{"type":"integer"},"AllocationDefaultNetmaskLength":{"type":"integer"},"ClearAllocationDefaultNetmaskLength":{"type":"boolean"},"AddAllocationResourceTags":{"shape":"Sdd","locationName":"AddAllocationResourceTag"},"RemoveAllocationResourceTags":{"shape":"Sdd","locationName":"RemoveAllocationResourceTag"}}},"output":{"type":"structure","members":{"IpamPool":{"shape":"Sdh","locationName":"ipamPool"}}}},"ModifyIpamResourceCidr":{"input":{"type":"structure","required":["ResourceId","ResourceCidr","ResourceRegion","CurrentIpamScopeId","Monitored"],"members":{"DryRun":{"type":"boolean"},"ResourceId":{},"ResourceCidr":{},"ResourceRegion":{},"CurrentIpamScopeId":{},"DestinationIpamScopeId":{},"Monitored":{"type":"boolean"}}},"output":{"type":"structure","members":{"IpamResourceCidr":{"shape":"S1p0","locationName":"ipamResourceCidr"}}}},"ModifyIpamScope":{"input":{"type":"structure","required":["IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"IpamScopeId":{},"Description":{}}},"output":{"type":"structure","members":{"IpamScope":{"shape":"Sdo","locationName":"ipamScope"}}}},"ModifyLaunchTemplate":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"ClientToken":{},"LaunchTemplateId":{},"LaunchTemplateName":{},"DefaultVersion":{"locationName":"SetDefaultVersion"}}},"output":{"type":"structure","members":{"LaunchTemplate":{"shape":"Sfb","locationName":"launchTemplate"}}}},"ModifyManagedPrefixList":{"input":{"type":"structure","required":["PrefixListId"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{},"CurrentVersion":{"type":"long"},"PrefixListName":{},"AddEntries":{"shape":"Sgs","locationName":"AddEntry"},"RemoveEntries":{"locationName":"RemoveEntry","type":"list","member":{"type":"structure","required":["Cidr"],"members":{"Cidr":{}}}},"MaxEntries":{"type":"integer"}}},"output":{"type":"structure","members":{"PrefixList":{"shape":"Sgv","locationName":"prefixList"}}}},"ModifyNetworkInterfaceAttribute":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"Attachment":{"locationName":"attachment","type":"structure","members":{"AttachmentId":{"locationName":"attachmentId"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"}}},"Description":{"shape":"S9s","locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Groups":{"shape":"Se4","locationName":"SecurityGroupId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"SourceDestCheck":{"shape":"S12h","locationName":"sourceDestCheck"}}}},"ModifyPrivateDnsNameOptions":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceId":{},"PrivateDnsHostnameType":{},"EnableResourceNameDnsARecord":{"type":"boolean"},"EnableResourceNameDnsAAAARecord":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyReservedInstances":{"input":{"type":"structure","required":["ReservedInstancesIds","TargetConfigurations"],"members":{"ReservedInstancesIds":{"shape":"S1c3","locationName":"ReservedInstancesId"},"ClientToken":{"locationName":"clientToken"},"TargetConfigurations":{"locationName":"ReservedInstancesConfigurationSetItemType","type":"list","member":{"shape":"S1cp","locationName":"item"}}}},"output":{"type":"structure","members":{"ReservedInstancesModificationId":{"locationName":"reservedInstancesModificationId"}}}},"ModifySecurityGroupRules":{"input":{"type":"structure","required":["GroupId","SecurityGroupRules"],"members":{"GroupId":{},"SecurityGroupRules":{"locationName":"SecurityGroupRule","type":"list","member":{"locationName":"item","type":"structure","members":{"SecurityGroupRuleId":{},"SecurityGroupRule":{"type":"structure","members":{"IpProtocol":{},"FromPort":{"type":"integer"},"ToPort":{"type":"integer"},"CidrIpv4":{},"CidrIpv6":{},"PrefixListId":{},"ReferencedGroupId":{},"Description":{}}}}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifySnapshotAttribute":{"input":{"type":"structure","required":["SnapshotId"],"members":{"Attribute":{},"CreateVolumePermission":{"type":"structure","members":{"Add":{"shape":"S1e3"},"Remove":{"shape":"S1e3"}}},"GroupNames":{"shape":"S1dv","locationName":"UserGroup"},"OperationType":{},"SnapshotId":{},"UserIds":{"shape":"S1sf","locationName":"UserId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"ModifySnapshotTier":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{},"StorageTier":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"TieringStartTime":{"locationName":"tieringStartTime","type":"timestamp"}}}},"ModifySpotFleetRequest":{"input":{"type":"structure","required":["SpotFleetRequestId"],"members":{"ExcessCapacityTerminationPolicy":{"locationName":"excessCapacityTerminationPolicy"},"LaunchTemplateConfigs":{"shape":"S1fb","locationName":"LaunchTemplateConfig"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"},"TargetCapacity":{"locationName":"targetCapacity","type":"integer"},"OnDemandTargetCapacity":{"type":"integer"},"Context":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifySubnetAttribute":{"input":{"type":"structure","required":["SubnetId"],"members":{"AssignIpv6AddressOnCreation":{"shape":"S12h"},"MapPublicIpOnLaunch":{"shape":"S12h"},"SubnetId":{"locationName":"subnetId"},"MapCustomerOwnedIpOnLaunch":{"shape":"S12h"},"CustomerOwnedIpv4Pool":{},"EnableDns64":{"shape":"S12h"},"PrivateDnsHostnameTypeOnLaunch":{},"EnableResourceNameDnsARecordOnLaunch":{"shape":"S12h"},"EnableResourceNameDnsAAAARecordOnLaunch":{"shape":"S12h"},"EnableLniAtDeviceIndex":{"type":"integer"},"DisableLniAtDeviceIndex":{"shape":"S12h"}}}},"ModifyTrafficMirrorFilterNetworkServices":{"input":{"type":"structure","required":["TrafficMirrorFilterId"],"members":{"TrafficMirrorFilterId":{},"AddNetworkServices":{"shape":"Skw","locationName":"AddNetworkService"},"RemoveNetworkServices":{"shape":"Skw","locationName":"RemoveNetworkService"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorFilter":{"shape":"Skq","locationName":"trafficMirrorFilter"}}}},"ModifyTrafficMirrorFilterRule":{"input":{"type":"structure","required":["TrafficMirrorFilterRuleId"],"members":{"TrafficMirrorFilterRuleId":{},"TrafficDirection":{},"RuleNumber":{"type":"integer"},"RuleAction":{},"DestinationPortRange":{"shape":"Sl0"},"SourcePortRange":{"shape":"Sl0"},"Protocol":{"type":"integer"},"DestinationCidrBlock":{},"SourceCidrBlock":{},"Description":{},"RemoveFields":{"locationName":"RemoveField","type":"list","member":{}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorFilterRule":{"shape":"Sks","locationName":"trafficMirrorFilterRule"}}}},"ModifyTrafficMirrorSession":{"input":{"type":"structure","required":["TrafficMirrorSessionId"],"members":{"TrafficMirrorSessionId":{},"TrafficMirrorTargetId":{},"TrafficMirrorFilterId":{},"PacketLength":{"type":"integer"},"SessionNumber":{"type":"integer"},"VirtualNetworkId":{"type":"integer"},"Description":{},"RemoveFields":{"locationName":"RemoveField","type":"list","member":{}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorSession":{"shape":"Sl5","locationName":"trafficMirrorSession"}}}},"ModifyTransitGateway":{"input":{"type":"structure","required":["TransitGatewayId"],"members":{"TransitGatewayId":{},"Description":{},"Options":{"type":"structure","members":{"AddTransitGatewayCidrBlocks":{"shape":"Slh"},"RemoveTransitGatewayCidrBlocks":{"shape":"Slh"},"VpnEcmpSupport":{},"DnsSupport":{},"AutoAcceptSharedAttachments":{},"DefaultRouteTableAssociation":{},"AssociationDefaultRouteTableId":{},"DefaultRouteTablePropagation":{},"PropagationDefaultRouteTableId":{}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGateway":{"shape":"Slj","locationName":"transitGateway"}}}},"ModifyTransitGatewayPrefixListReference":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","PrefixListId"],"members":{"TransitGatewayRouteTableId":{},"PrefixListId":{},"TransitGatewayAttachmentId":{},"Blackhole":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPrefixListReference":{"shape":"Smh","locationName":"transitGatewayPrefixListReference"}}}},"ModifyTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"AddSubnetIds":{"shape":"S43"},"RemoveSubnetIds":{"shape":"S43"},"Options":{"type":"structure","members":{"DnsSupport":{},"Ipv6Support":{},"ApplianceModeSupport":{}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"ModifyVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"DryRun":{"type":"boolean"},"VolumeId":{},"Size":{"type":"integer"},"VolumeType":{},"Iops":{"type":"integer"},"Throughput":{"type":"integer"},"MultiAttachEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"VolumeModification":{"shape":"S1it","locationName":"volumeModification"}}}},"ModifyVolumeAttribute":{"input":{"type":"structure","required":["VolumeId"],"members":{"AutoEnableIO":{"shape":"S12h"},"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"ModifyVpcAttribute":{"input":{"type":"structure","required":["VpcId"],"members":{"EnableDnsHostnames":{"shape":"S12h"},"EnableDnsSupport":{"shape":"S12h"},"VpcId":{"locationName":"vpcId"}}}},"ModifyVpcEndpoint":{"input":{"type":"structure","required":["VpcEndpointId"],"members":{"DryRun":{"type":"boolean"},"VpcEndpointId":{},"ResetPolicy":{"type":"boolean"},"PolicyDocument":{},"AddRouteTableIds":{"shape":"Sn6","locationName":"AddRouteTableId"},"RemoveRouteTableIds":{"shape":"Sn6","locationName":"RemoveRouteTableId"},"AddSubnetIds":{"shape":"Sn7","locationName":"AddSubnetId"},"RemoveSubnetIds":{"shape":"Sn7","locationName":"RemoveSubnetId"},"AddSecurityGroupIds":{"shape":"Sn8","locationName":"AddSecurityGroupId"},"RemoveSecurityGroupIds":{"shape":"Sn8","locationName":"RemoveSecurityGroupId"},"PrivateDnsEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyVpcEndpointConnectionNotification":{"input":{"type":"structure","required":["ConnectionNotificationId"],"members":{"DryRun":{"type":"boolean"},"ConnectionNotificationId":{},"ConnectionNotificationArn":{},"ConnectionEvents":{"shape":"Se"}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"ModifyVpcEndpointServiceConfiguration":{"input":{"type":"structure","required":["ServiceId"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"PrivateDnsName":{},"RemovePrivateDnsName":{"type":"boolean"},"AcceptanceRequired":{"type":"boolean"},"AddNetworkLoadBalancerArns":{"shape":"Se","locationName":"AddNetworkLoadBalancerArn"},"RemoveNetworkLoadBalancerArns":{"shape":"Se","locationName":"RemoveNetworkLoadBalancerArn"},"AddGatewayLoadBalancerArns":{"shape":"Se","locationName":"AddGatewayLoadBalancerArn"},"RemoveGatewayLoadBalancerArns":{"shape":"Se","locationName":"RemoveGatewayLoadBalancerArn"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyVpcEndpointServicePayerResponsibility":{"input":{"type":"structure","required":["ServiceId","PayerResponsibility"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"PayerResponsibility":{}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"ModifyVpcEndpointServicePermissions":{"input":{"type":"structure","required":["ServiceId"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"AddAllowedPrincipals":{"shape":"Se"},"RemoveAllowedPrincipals":{"shape":"Se"}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"ModifyVpcPeeringConnectionOptions":{"input":{"type":"structure","required":["VpcPeeringConnectionId"],"members":{"AccepterPeeringConnectionOptions":{"shape":"S1vk"},"DryRun":{"type":"boolean"},"RequesterPeeringConnectionOptions":{"shape":"S1vk"},"VpcPeeringConnectionId":{}}},"output":{"type":"structure","members":{"AccepterPeeringConnectionOptions":{"shape":"S1vm","locationName":"accepterPeeringConnectionOptions"},"RequesterPeeringConnectionOptions":{"shape":"S1vm","locationName":"requesterPeeringConnectionOptions"}}}},"ModifyVpcTenancy":{"input":{"type":"structure","required":["VpcId","InstanceTenancy"],"members":{"VpcId":{},"InstanceTenancy":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"ModifyVpnConnection":{"input":{"type":"structure","required":["VpnConnectionId"],"members":{"VpnConnectionId":{},"TransitGatewayId":{},"CustomerGatewayId":{},"VpnGatewayId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Soj","locationName":"vpnConnection"}}}},"ModifyVpnConnectionOptions":{"input":{"type":"structure","required":["VpnConnectionId"],"members":{"VpnConnectionId":{},"LocalIpv4NetworkCidr":{},"RemoteIpv4NetworkCidr":{},"LocalIpv6NetworkCidr":{},"RemoteIpv6NetworkCidr":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Soj","locationName":"vpnConnection"}}}},"ModifyVpnTunnelCertificate":{"input":{"type":"structure","required":["VpnConnectionId","VpnTunnelOutsideIpAddress"],"members":{"VpnConnectionId":{},"VpnTunnelOutsideIpAddress":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Soj","locationName":"vpnConnection"}}}},"ModifyVpnTunnelOptions":{"input":{"type":"structure","required":["VpnConnectionId","VpnTunnelOutsideIpAddress","TunnelOptions"],"members":{"VpnConnectionId":{},"VpnTunnelOutsideIpAddress":{},"TunnelOptions":{"type":"structure","members":{"TunnelInsideCidr":{},"TunnelInsideIpv6Cidr":{},"PreSharedKey":{},"Phase1LifetimeSeconds":{"type":"integer"},"Phase2LifetimeSeconds":{"type":"integer"},"RekeyMarginTimeSeconds":{"type":"integer"},"RekeyFuzzPercentage":{"type":"integer"},"ReplayWindowSize":{"type":"integer"},"DPDTimeoutSeconds":{"type":"integer"},"DPDTimeoutAction":{},"Phase1EncryptionAlgorithms":{"shape":"So4","locationName":"Phase1EncryptionAlgorithm"},"Phase2EncryptionAlgorithms":{"shape":"So6","locationName":"Phase2EncryptionAlgorithm"},"Phase1IntegrityAlgorithms":{"shape":"So8","locationName":"Phase1IntegrityAlgorithm"},"Phase2IntegrityAlgorithms":{"shape":"Soa","locationName":"Phase2IntegrityAlgorithm"},"Phase1DHGroupNumbers":{"shape":"Soc","locationName":"Phase1DHGroupNumber"},"Phase2DHGroupNumbers":{"shape":"Soe","locationName":"Phase2DHGroupNumber"},"IKEVersions":{"shape":"Sog","locationName":"IKEVersion"},"StartupAction":{}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Soj","locationName":"vpnConnection"}}}},"MonitorInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"InstanceMonitorings":{"shape":"S1w1","locationName":"instancesSet"}}}},"MoveAddressToVpc":{"input":{"type":"structure","required":["PublicIp"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"PublicIp":{"locationName":"publicIp"}}},"output":{"type":"structure","members":{"AllocationId":{"locationName":"allocationId"},"Status":{"locationName":"status"}}}},"MoveByoipCidrToIpam":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Cidr":{},"IpamPoolId":{},"IpamPoolOwner":{}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}},"ProvisionByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"CidrAuthorizationContext":{"type":"structure","required":["Message","Signature"],"members":{"Message":{},"Signature":{}}},"PubliclyAdvertisable":{"type":"boolean"},"Description":{},"DryRun":{"type":"boolean"},"PoolTagSpecifications":{"shape":"S1t","locationName":"PoolTagSpecification"},"MultiRegion":{"type":"boolean"}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}},"ProvisionIpamPoolCidr":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Cidr":{},"CidrAuthorizationContext":{"type":"structure","members":{"Message":{},"Signature":{}}}}},"output":{"type":"structure","members":{"IpamPoolCidr":{"shape":"Stf","locationName":"ipamPoolCidr"}}}},"ProvisionPublicIpv4PoolCidr":{"input":{"type":"structure","required":["IpamPoolId","PoolId","NetmaskLength"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"PoolId":{},"NetmaskLength":{"type":"integer"}}},"output":{"type":"structure","members":{"PoolId":{"locationName":"poolId"},"PoolAddressRange":{"shape":"S1bq","locationName":"poolAddressRange"}}}},"PurchaseHostReservation":{"input":{"type":"structure","required":["HostIdSet","OfferingId"],"members":{"ClientToken":{},"CurrencyCode":{},"HostIdSet":{"shape":"S1o7"},"LimitPrice":{},"OfferingId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"CurrencyCode":{"locationName":"currencyCode"},"Purchase":{"shape":"S1o9","locationName":"purchase"},"TotalHourlyPrice":{"locationName":"totalHourlyPrice"},"TotalUpfrontPrice":{"locationName":"totalUpfrontPrice"}}}},"PurchaseReservedInstancesOffering":{"input":{"type":"structure","required":["InstanceCount","ReservedInstancesOfferingId"],"members":{"InstanceCount":{"type":"integer"},"ReservedInstancesOfferingId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"LimitPrice":{"locationName":"limitPrice","type":"structure","members":{"Amount":{"locationName":"amount","type":"double"},"CurrencyCode":{"locationName":"currencyCode"}}},"PurchaseTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"ReservedInstancesId":{"locationName":"reservedInstancesId"}}}},"PurchaseScheduledInstances":{"input":{"type":"structure","required":["PurchaseRequests"],"members":{"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"},"PurchaseRequests":{"locationName":"PurchaseRequest","type":"list","member":{"locationName":"PurchaseRequest","type":"structure","required":["InstanceCount","PurchaseToken"],"members":{"InstanceCount":{"type":"integer"},"PurchaseToken":{}}}}}},"output":{"type":"structure","members":{"ScheduledInstanceSet":{"locationName":"scheduledInstanceSet","type":"list","member":{"shape":"S1dk","locationName":"item"}}}}},"RebootInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"RegisterImage":{"input":{"type":"structure","required":["Name"],"members":{"ImageLocation":{},"Architecture":{"locationName":"architecture"},"BlockDeviceMappings":{"shape":"Scd","locationName":"BlockDeviceMapping"},"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EnaSupport":{"locationName":"enaSupport","type":"boolean"},"KernelId":{"locationName":"kernelId"},"Name":{"locationName":"name"},"BillingProducts":{"locationName":"BillingProduct","type":"list","member":{"locationName":"item"}},"RamdiskId":{"locationName":"ramdiskId"},"RootDeviceName":{"locationName":"rootDeviceName"},"SriovNetSupport":{"locationName":"sriovNetSupport"},"VirtualizationType":{"locationName":"virtualizationType"},"BootMode":{}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"}}}},"RegisterInstanceEventNotificationAttributes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceTagAttribute":{"type":"structure","members":{"IncludeAllTagsOfInstance":{"type":"boolean"},"InstanceTagKeys":{"shape":"Stp","locationName":"InstanceTagKey"}}}}},"output":{"type":"structure","members":{"InstanceTagAttribute":{"shape":"Str","locationName":"instanceTagAttribute"}}}},"RegisterTransitGatewayMulticastGroupMembers":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"GroupIpAddress":{},"NetworkInterfaceIds":{"shape":"Stt"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"RegisteredMulticastGroupMembers":{"locationName":"registeredMulticastGroupMembers","type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"RegisteredNetworkInterfaceIds":{"shape":"Se","locationName":"registeredNetworkInterfaceIds"},"GroupIpAddress":{"locationName":"groupIpAddress"}}}}}},"RegisterTransitGatewayMulticastGroupSources":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"GroupIpAddress":{},"NetworkInterfaceIds":{"shape":"Stt"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"RegisteredMulticastGroupSources":{"locationName":"registeredMulticastGroupSources","type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"RegisteredNetworkInterfaceIds":{"shape":"Se","locationName":"registeredNetworkInterfaceIds"},"GroupIpAddress":{"locationName":"groupIpAddress"}}}}}},"RejectTransitGatewayMulticastDomainAssociations":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"TransitGatewayAttachmentId":{},"SubnetIds":{"shape":"Se"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"shape":"Sg","locationName":"associations"}}}},"RejectTransitGatewayPeeringAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachment":{"shape":"Sn","locationName":"transitGatewayPeeringAttachment"}}}},"RejectTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"RejectVpcEndpointConnections":{"input":{"type":"structure","required":["ServiceId","VpcEndpointIds"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"VpcEndpointIds":{"shape":"S13","locationName":"VpcEndpointId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"RejectVpcPeeringConnection":{"input":{"type":"structure","required":["VpcPeeringConnectionId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ReleaseAddress":{"input":{"type":"structure","members":{"AllocationId":{},"PublicIp":{},"NetworkBorderGroup":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"ReleaseHosts":{"input":{"type":"structure","required":["HostIds"],"members":{"HostIds":{"shape":"S10n","locationName":"hostId"}}},"output":{"type":"structure","members":{"Successful":{"shape":"S21","locationName":"successful"},"Unsuccessful":{"shape":"S1so","locationName":"unsuccessful"}}}},"ReleaseIpamPoolAllocation":{"input":{"type":"structure","required":["IpamPoolId","Cidr"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Cidr":{},"IpamPoolAllocationId":{}}},"output":{"type":"structure","members":{"Success":{"locationName":"success","type":"boolean"}}}},"ReplaceIamInstanceProfileAssociation":{"input":{"type":"structure","required":["IamInstanceProfile","AssociationId"],"members":{"IamInstanceProfile":{"shape":"S36"},"AssociationId":{}}},"output":{"type":"structure","members":{"IamInstanceProfileAssociation":{"shape":"S38","locationName":"iamInstanceProfileAssociation"}}}},"ReplaceNetworkAclAssociation":{"input":{"type":"structure","required":["AssociationId","NetworkAclId"],"members":{"AssociationId":{"locationName":"associationId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkAclId":{"locationName":"networkAclId"}}},"output":{"type":"structure","members":{"NewAssociationId":{"locationName":"newAssociationId"}}}},"ReplaceNetworkAclEntry":{"input":{"type":"structure","required":["Egress","NetworkAclId","Protocol","RuleAction","RuleNumber"],"members":{"CidrBlock":{"locationName":"cidrBlock"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Egress":{"locationName":"egress","type":"boolean"},"IcmpTypeCode":{"shape":"Shc","locationName":"Icmp"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"NetworkAclId":{"locationName":"networkAclId"},"PortRange":{"shape":"Shd","locationName":"portRange"},"Protocol":{"locationName":"protocol"},"RuleAction":{"locationName":"ruleAction"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}}},"ReplaceRoute":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"DestinationIpv6CidrBlock":{"locationName":"destinationIpv6CidrBlock"},"DestinationPrefixListId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcEndpointId":{},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"GatewayId":{"locationName":"gatewayId"},"InstanceId":{"locationName":"instanceId"},"LocalTarget":{"type":"boolean"},"NatGatewayId":{"locationName":"natGatewayId"},"TransitGatewayId":{},"LocalGatewayId":{},"CarrierGatewayId":{},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"RouteTableId":{"locationName":"routeTableId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"},"CoreNetworkArn":{}}}},"ReplaceRouteTableAssociation":{"input":{"type":"structure","required":["AssociationId","RouteTableId"],"members":{"AssociationId":{"locationName":"associationId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableId":{"locationName":"routeTableId"}}},"output":{"type":"structure","members":{"NewAssociationId":{"locationName":"newAssociationId"},"AssociationState":{"shape":"S3u","locationName":"associationState"}}}},"ReplaceTransitGatewayRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","TransitGatewayRouteTableId"],"members":{"DestinationCidrBlock":{},"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"Blackhole":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Smm","locationName":"route"}}}},"ReportInstanceStatus":{"input":{"type":"structure","required":["Instances","ReasonCodes","Status"],"members":{"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EndTime":{"locationName":"endTime","type":"timestamp"},"Instances":{"shape":"Svq","locationName":"instanceId"},"ReasonCodes":{"locationName":"reasonCode","type":"list","member":{"locationName":"item"}},"StartTime":{"locationName":"startTime","type":"timestamp"},"Status":{"locationName":"status"}}}},"RequestSpotFleet":{"input":{"type":"structure","required":["SpotFleetRequestConfig"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"SpotFleetRequestConfig":{"shape":"S1ew","locationName":"spotFleetRequestConfig"}}},"output":{"type":"structure","members":{"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}}},"RequestSpotInstances":{"input":{"type":"structure","members":{"AvailabilityZoneGroup":{"locationName":"availabilityZoneGroup"},"BlockDurationMinutes":{"locationName":"blockDurationMinutes","type":"integer"},"ClientToken":{"locationName":"clientToken"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"LaunchGroup":{"locationName":"launchGroup"},"LaunchSpecification":{"type":"structure","members":{"SecurityGroupIds":{"locationName":"SecurityGroupId","type":"list","member":{"locationName":"item"}},"SecurityGroups":{"locationName":"SecurityGroup","type":"list","member":{"locationName":"item"}},"AddressingType":{"locationName":"addressingType"},"BlockDeviceMappings":{"shape":"S11c","locationName":"blockDeviceMapping"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"shape":"S36","locationName":"iamInstanceProfile"},"ImageId":{"locationName":"imageId"},"InstanceType":{"locationName":"instanceType"},"KernelId":{"locationName":"kernelId"},"KeyName":{"locationName":"keyName"},"Monitoring":{"shape":"S1fr","locationName":"monitoring"},"NetworkInterfaces":{"shape":"S1f6","locationName":"NetworkInterface"},"Placement":{"shape":"S1f8","locationName":"placement"},"RamdiskId":{"locationName":"ramdiskId"},"SubnetId":{"locationName":"subnetId"},"UserData":{"locationName":"userData"}}},"SpotPrice":{"locationName":"spotPrice"},"Type":{"locationName":"type"},"ValidFrom":{"locationName":"validFrom","type":"timestamp"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"InstanceInterruptionBehavior":{}}},"output":{"type":"structure","members":{"SpotInstanceRequests":{"shape":"S1fo","locationName":"spotInstanceRequestSet"}}}},"ResetAddressAttribute":{"input":{"type":"structure","required":["AllocationId","Attribute"],"members":{"AllocationId":{},"Attribute":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Address":{"shape":"Sum","locationName":"address"}}}},"ResetEbsDefaultKmsKeyId":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"KmsKeyId":{"locationName":"kmsKeyId"}}}},"ResetFpgaImageAttribute":{"input":{"type":"structure","required":["FpgaImageId"],"members":{"DryRun":{"type":"boolean"},"FpgaImageId":{},"Attribute":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ResetImageAttribute":{"input":{"type":"structure","required":["Attribute","ImageId"],"members":{"Attribute":{},"ImageId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"ResetInstanceAttribute":{"input":{"type":"structure","required":["Attribute","InstanceId"],"members":{"Attribute":{"locationName":"attribute"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"}}}},"ResetNetworkInterfaceAttribute":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"SourceDestCheck":{"locationName":"sourceDestCheck"}}}},"ResetSnapshotAttribute":{"input":{"type":"structure","required":["Attribute","SnapshotId"],"members":{"Attribute":{},"SnapshotId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"RestoreAddressToClassic":{"input":{"type":"structure","required":["PublicIp"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"PublicIp":{"locationName":"publicIp"}}},"output":{"type":"structure","members":{"PublicIp":{"locationName":"publicIp"},"Status":{"locationName":"status"}}}},"RestoreManagedPrefixListVersion":{"input":{"type":"structure","required":["PrefixListId","PreviousVersion","CurrentVersion"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{},"PreviousVersion":{"type":"long"},"CurrentVersion":{"type":"long"}}},"output":{"type":"structure","members":{"PrefixList":{"shape":"Sgv","locationName":"prefixList"}}}},"RestoreSnapshotFromRecycleBin":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"OutpostArn":{"locationName":"outpostArn"},"Description":{"locationName":"description"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"OwnerId":{"locationName":"ownerId"},"Progress":{"locationName":"progress"},"StartTime":{"locationName":"startTime","type":"timestamp"},"State":{"locationName":"status"},"VolumeId":{"locationName":"volumeId"},"VolumeSize":{"locationName":"volumeSize","type":"integer"}}}},"RestoreSnapshotTier":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{},"TemporaryRestoreDays":{"type":"integer"},"PermanentRestore":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"RestoreStartTime":{"locationName":"restoreStartTime","type":"timestamp"},"RestoreDuration":{"locationName":"restoreDuration","type":"integer"},"IsPermanentRestore":{"locationName":"isPermanentRestore","type":"boolean"}}}},"RevokeClientVpnIngress":{"input":{"type":"structure","required":["ClientVpnEndpointId","TargetNetworkCidr"],"members":{"ClientVpnEndpointId":{},"TargetNetworkCidr":{},"AccessGroupId":{},"RevokeAllGroups":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S55","locationName":"status"}}}},"RevokeSecurityGroupEgress":{"input":{"type":"structure","required":["GroupId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupId":{"locationName":"groupId"},"IpPermissions":{"shape":"S58","locationName":"ipPermissions"},"SecurityGroupRuleIds":{"shape":"S1dr","locationName":"SecurityGroupRuleId"},"CidrIp":{"locationName":"cidrIp"},"FromPort":{"locationName":"fromPort","type":"integer"},"IpProtocol":{"locationName":"ipProtocol"},"ToPort":{"locationName":"toPort","type":"integer"},"SourceSecurityGroupName":{"locationName":"sourceSecurityGroupName"},"SourceSecurityGroupOwnerId":{"locationName":"sourceSecurityGroupOwnerId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"UnknownIpPermissions":{"shape":"S58","locationName":"unknownIpPermissionSet"}}}},"RevokeSecurityGroupIngress":{"input":{"type":"structure","members":{"CidrIp":{},"FromPort":{"type":"integer"},"GroupId":{},"GroupName":{},"IpPermissions":{"shape":"S58"},"IpProtocol":{},"SourceSecurityGroupName":{},"SourceSecurityGroupOwnerId":{},"ToPort":{"type":"integer"},"DryRun":{"locationName":"dryRun","type":"boolean"},"SecurityGroupRuleIds":{"shape":"S1dr","locationName":"SecurityGroupRuleId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"UnknownIpPermissions":{"shape":"S58","locationName":"unknownIpPermissionSet"}}}},"RunInstances":{"input":{"type":"structure","required":["MaxCount","MinCount"],"members":{"BlockDeviceMappings":{"shape":"Scd","locationName":"BlockDeviceMapping"},"ImageId":{},"InstanceType":{},"Ipv6AddressCount":{"type":"integer"},"Ipv6Addresses":{"shape":"Sfp","locationName":"Ipv6Address"},"KernelId":{},"KeyName":{},"MaxCount":{"type":"integer"},"MinCount":{"type":"integer"},"Monitoring":{"shape":"S1fr"},"Placement":{"shape":"Sai"},"RamdiskId":{},"SecurityGroupIds":{"shape":"Se4","locationName":"SecurityGroupId"},"SecurityGroups":{"shape":"Seq","locationName":"SecurityGroup"},"SubnetId":{},"UserData":{},"AdditionalInfo":{"locationName":"additionalInfo"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"DisableApiTermination":{"locationName":"disableApiTermination","type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"shape":"S36","locationName":"iamInstanceProfile"},"InstanceInitiatedShutdownBehavior":{"locationName":"instanceInitiatedShutdownBehavior"},"NetworkInterfaces":{"shape":"S1f6","locationName":"networkInterface"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"ElasticGpuSpecification":{"type":"list","member":{"shape":"Sem","locationName":"item"}},"ElasticInferenceAccelerators":{"locationName":"ElasticInferenceAccelerator","type":"list","member":{"locationName":"item","type":"structure","required":["Type"],"members":{"Type":{},"Count":{"type":"integer"}}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"LaunchTemplate":{"type":"structure","members":{"LaunchTemplateId":{},"LaunchTemplateName":{},"Version":{}}},"InstanceMarketOptions":{"type":"structure","members":{"MarketType":{},"SpotOptions":{"type":"structure","members":{"MaxPrice":{},"SpotInstanceType":{},"BlockDurationMinutes":{"type":"integer"},"ValidUntil":{"type":"timestamp"},"InstanceInterruptionBehavior":{}}}}},"CreditSpecification":{"shape":"Sew"},"CpuOptions":{"type":"structure","members":{"CoreCount":{"type":"integer"},"ThreadsPerCore":{"type":"integer"}}},"CapacityReservationSpecification":{"shape":"S1t1"},"HibernationOptions":{"type":"structure","members":{"Configured":{"type":"boolean"}}},"LicenseSpecifications":{"locationName":"LicenseSpecification","type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{}}}},"MetadataOptions":{"type":"structure","members":{"HttpTokens":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpEndpoint":{},"HttpProtocolIpv6":{}}},"EnclaveOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"PrivateDnsNameOptions":{"type":"structure","members":{"HostnameType":{},"EnableResourceNameDnsARecord":{"type":"boolean"},"EnableResourceNameDnsAAAARecord":{"type":"boolean"}}}}},"output":{"shape":"S169"}},"RunScheduledInstances":{"input":{"type":"structure","required":["LaunchSpecification","ScheduledInstanceId"],"members":{"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"},"InstanceCount":{"type":"integer"},"LaunchSpecification":{"type":"structure","required":["ImageId"],"members":{"BlockDeviceMappings":{"locationName":"BlockDeviceMapping","type":"list","member":{"locationName":"BlockDeviceMapping","type":"structure","members":{"DeviceName":{},"Ebs":{"type":"structure","members":{"DeleteOnTermination":{"type":"boolean"},"Encrypted":{"type":"boolean"},"Iops":{"type":"integer"},"SnapshotId":{},"VolumeSize":{"type":"integer"},"VolumeType":{}}},"NoDevice":{},"VirtualName":{}}}},"EbsOptimized":{"type":"boolean"},"IamInstanceProfile":{"type":"structure","members":{"Arn":{},"Name":{}}},"ImageId":{},"InstanceType":{},"KernelId":{},"KeyName":{},"Monitoring":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"NetworkInterfaces":{"locationName":"NetworkInterface","type":"list","member":{"locationName":"NetworkInterface","type":"structure","members":{"AssociatePublicIpAddress":{"type":"boolean"},"DeleteOnTermination":{"type":"boolean"},"Description":{},"DeviceIndex":{"type":"integer"},"Groups":{"shape":"S1zj","locationName":"Group"},"Ipv6AddressCount":{"type":"integer"},"Ipv6Addresses":{"locationName":"Ipv6Address","type":"list","member":{"locationName":"Ipv6Address","type":"structure","members":{"Ipv6Address":{}}}},"NetworkInterfaceId":{},"PrivateIpAddress":{},"PrivateIpAddressConfigs":{"locationName":"PrivateIpAddressConfig","type":"list","member":{"locationName":"PrivateIpAddressConfigSet","type":"structure","members":{"Primary":{"type":"boolean"},"PrivateIpAddress":{}}}},"SecondaryPrivateIpAddressCount":{"type":"integer"},"SubnetId":{}}}},"Placement":{"type":"structure","members":{"AvailabilityZone":{},"GroupName":{}}},"RamdiskId":{},"SecurityGroupIds":{"shape":"S1zj","locationName":"SecurityGroupId"},"SubnetId":{},"UserData":{}}},"ScheduledInstanceId":{}}},"output":{"type":"structure","members":{"InstanceIdSet":{"locationName":"instanceIdSet","type":"list","member":{"locationName":"item"}}}}},"SearchLocalGatewayRoutes":{"input":{"type":"structure","required":["LocalGatewayRouteTableId"],"members":{"LocalGatewayRouteTableId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Routes":{"locationName":"routeSet","type":"list","member":{"shape":"Sgk","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"SearchTransitGatewayMulticastGroups":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"MulticastGroups":{"locationName":"multicastGroups","type":"list","member":{"locationName":"item","type":"structure","members":{"GroupIpAddress":{"locationName":"groupIpAddress"},"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"SubnetId":{"locationName":"subnetId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"GroupMember":{"locationName":"groupMember","type":"boolean"},"GroupSource":{"locationName":"groupSource","type":"boolean"},"MemberType":{"locationName":"memberType"},"SourceType":{"locationName":"sourceType"}}}},"NextToken":{"locationName":"nextToken"}}}},"SearchTransitGatewayRoutes":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","Filters"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Su8","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Routes":{"locationName":"routeSet","type":"list","member":{"shape":"Smm","locationName":"item"}},"AdditionalRoutesAvailable":{"locationName":"additionalRoutesAvailable","type":"boolean"}}}},"SendDiagnosticInterrupt":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"DryRun":{"type":"boolean"}}}},"StartInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"AdditionalInfo":{"locationName":"additionalInfo"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"StartingInstances":{"shape":"S207","locationName":"instancesSet"}}}},"StartNetworkInsightsAccessScopeAnalysis":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeId","ClientToken"],"members":{"NetworkInsightsAccessScopeId":{},"DryRun":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysis":{"shape":"S19r","locationName":"networkInsightsAccessScopeAnalysis"}}}},"StartNetworkInsightsAnalysis":{"input":{"type":"structure","required":["NetworkInsightsPathId","ClientToken"],"members":{"NetworkInsightsPathId":{},"FilterInArns":{"shape":"S1a3","locationName":"FilterInArn"},"DryRun":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"NetworkInsightsAnalysis":{"shape":"S1a2","locationName":"networkInsightsAnalysis"}}}},"StartVpcEndpointServicePrivateDnsVerification":{"input":{"type":"structure","required":["ServiceId"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"StopInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"Hibernate":{"type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Force":{"locationName":"force","type":"boolean"}}},"output":{"type":"structure","members":{"StoppingInstances":{"shape":"S207","locationName":"instancesSet"}}}},"TerminateClientVpnConnections":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"ConnectionId":{},"Username":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Username":{"locationName":"username"},"ConnectionStatuses":{"locationName":"connectionStatuses","type":"list","member":{"locationName":"item","type":"structure","members":{"ConnectionId":{"locationName":"connectionId"},"PreviousStatus":{"shape":"Sw5","locationName":"previousStatus"},"CurrentStatus":{"shape":"Sw5","locationName":"currentStatus"}}}}}}},"TerminateInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"TerminatingInstances":{"shape":"S207","locationName":"instancesSet"}}}},"UnassignIpv6Addresses":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"Ipv6Addresses":{"shape":"S2g","locationName":"ipv6Addresses"},"Ipv6Prefixes":{"shape":"S2h","locationName":"Ipv6Prefix"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}},"output":{"type":"structure","members":{"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"UnassignedIpv6Addresses":{"shape":"S2g","locationName":"unassignedIpv6Addresses"},"UnassignedIpv6Prefixes":{"shape":"S2h","locationName":"unassignedIpv6PrefixSet"}}}},"UnassignPrivateIpAddresses":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddresses":{"shape":"S2l","locationName":"privateIpAddress"},"Ipv4Prefixes":{"shape":"S2h","locationName":"Ipv4Prefix"}}}},"UnmonitorInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svq","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"InstanceMonitorings":{"shape":"S1w1","locationName":"instancesSet"}}}},"UpdateSecurityGroupRuleDescriptionsEgress":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"GroupId":{},"GroupName":{},"IpPermissions":{"shape":"S58"},"SecurityGroupRuleDescriptions":{"shape":"S20t","locationName":"SecurityGroupRuleDescription"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"UpdateSecurityGroupRuleDescriptionsIngress":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"GroupId":{},"GroupName":{},"IpPermissions":{"shape":"S58"},"SecurityGroupRuleDescriptions":{"shape":"S20t","locationName":"SecurityGroupRuleDescription"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"WithdrawByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}}},"shapes":{"S3":{"type":"list","member":{"locationName":"ReservedInstanceId"}},"S5":{"type":"list","member":{"locationName":"TargetConfigurationRequest","type":"structure","required":["OfferingId"],"members":{"InstanceCount":{"type":"integer"},"OfferingId":{}}}},"Se":{"type":"list","member":{"locationName":"item"}},"Sg":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"Subnets":{"locationName":"subnets","type":"list","member":{"shape":"Sj","locationName":"item"}}}},"Sj":{"type":"structure","members":{"SubnetId":{"locationName":"subnetId"},"State":{"locationName":"state"}}},"Sn":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"RequesterTgwInfo":{"shape":"So","locationName":"requesterTgwInfo"},"AccepterTgwInfo":{"shape":"So","locationName":"accepterTgwInfo"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"State":{"locationName":"state"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"So":{"type":"structure","members":{"TransitGatewayId":{"locationName":"transitGatewayId"},"OwnerId":{"locationName":"ownerId"},"Region":{"locationName":"region"}}},"Ss":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"Value":{"locationName":"value"}}}},"Sw":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"VpcId":{"locationName":"vpcId"},"VpcOwnerId":{"locationName":"vpcOwnerId"},"State":{"locationName":"state"},"SubnetIds":{"shape":"Se","locationName":"subnetIds"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Options":{"locationName":"options","type":"structure","members":{"DnsSupport":{"locationName":"dnsSupport"},"Ipv6Support":{"locationName":"ipv6Support"},"ApplianceModeSupport":{"locationName":"applianceModeSupport"}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S13":{"type":"list","member":{"locationName":"item"}},"S16":{"type":"list","member":{"shape":"S17","locationName":"item"}},"S17":{"type":"structure","members":{"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"ResourceId":{"locationName":"resourceId"}}},"S1c":{"type":"structure","members":{"AccepterVpcInfo":{"shape":"S1d","locationName":"accepterVpcInfo"},"ExpirationTime":{"locationName":"expirationTime","type":"timestamp"},"RequesterVpcInfo":{"shape":"S1d","locationName":"requesterVpcInfo"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"S1d":{"type":"structure","members":{"CidrBlock":{"locationName":"cidrBlock"},"Ipv6CidrBlockSet":{"locationName":"ipv6CidrBlockSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"}}}},"CidrBlockSet":{"locationName":"cidrBlockSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CidrBlock":{"locationName":"cidrBlock"}}}},"OwnerId":{"locationName":"ownerId"},"PeeringOptions":{"locationName":"peeringOptions","type":"structure","members":{"AllowDnsResolutionFromRemoteVpc":{"locationName":"allowDnsResolutionFromRemoteVpc","type":"boolean"},"AllowEgressFromLocalClassicLinkToRemoteVpc":{"locationName":"allowEgressFromLocalClassicLinkToRemoteVpc","type":"boolean"},"AllowEgressFromLocalVpcToRemoteClassicLink":{"locationName":"allowEgressFromLocalVpcToRemoteClassicLink","type":"boolean"}}},"VpcId":{"locationName":"vpcId"},"Region":{"locationName":"region"}}},"S1n":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"Description":{"locationName":"description"},"StatusMessage":{"locationName":"statusMessage"},"State":{"locationName":"state"}}},"S1t":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceType":{"locationName":"resourceType"},"Tags":{"shape":"Ss","locationName":"Tag"}}}},"S21":{"type":"list","member":{"locationName":"item"}},"S26":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"IpamPoolAllocationId":{"locationName":"ipamPoolAllocationId"},"Description":{"locationName":"description"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"ResourceRegion":{"locationName":"resourceRegion"},"ResourceOwner":{"locationName":"resourceOwner"}}},"S2c":{"type":"list","member":{"locationName":"item"}},"S2g":{"type":"list","member":{"locationName":"item"}},"S2h":{"type":"list","member":{"locationName":"item"}},"S2l":{"type":"list","member":{"locationName":"PrivateIpAddress"}},"S2p":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv4Prefix":{"locationName":"ipv4Prefix"}}}},"S2y":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S36":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Name":{"locationName":"name"}}},"S38":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"InstanceId":{"locationName":"instanceId"},"IamInstanceProfile":{"shape":"S39","locationName":"iamInstanceProfile"},"State":{"locationName":"state"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}},"S39":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"}}},"S3e":{"type":"list","member":{"locationName":"item"}},"S3f":{"type":"list","member":{"locationName":"item"}},"S3i":{"type":"structure","members":{"InstanceEventWindowId":{"locationName":"instanceEventWindowId"},"TimeRanges":{"locationName":"timeRangeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"StartWeekDay":{"locationName":"startWeekDay"},"StartHour":{"locationName":"startHour","type":"integer"},"EndWeekDay":{"locationName":"endWeekDay"},"EndHour":{"locationName":"endHour","type":"integer"}}}},"Name":{"locationName":"name"},"CronExpression":{"locationName":"cronExpression"},"AssociationTarget":{"locationName":"associationTarget","type":"structure","members":{"InstanceIds":{"shape":"S3e","locationName":"instanceIdSet"},"Tags":{"shape":"Ss","locationName":"tagSet"},"DedicatedHostIds":{"shape":"S3f","locationName":"dedicatedHostIdSet"}}},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S3u":{"type":"structure","members":{"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"}}},"S3y":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"Ipv6CidrBlockState":{"locationName":"ipv6CidrBlockState","type":"structure","members":{"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"}}}}},"S43":{"type":"list","member":{"locationName":"item"}},"S48":{"type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"State":{"locationName":"state"}}},"S4c":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"BranchInterfaceId":{"locationName":"branchInterfaceId"},"TrunkInterfaceId":{"locationName":"trunkInterfaceId"},"InterfaceProtocol":{"locationName":"interfaceProtocol"},"VlanId":{"locationName":"vlanId","type":"integer"},"GreKey":{"locationName":"greKey","type":"integer"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S4j":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"Ipv6CidrBlockState":{"shape":"S4k","locationName":"ipv6CidrBlockState"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"Ipv6Pool":{"locationName":"ipv6Pool"}}},"S4k":{"type":"structure","members":{"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"}}},"S4m":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"CidrBlock":{"locationName":"cidrBlock"},"CidrBlockState":{"shape":"S4k","locationName":"cidrBlockState"}}},"S4o":{"type":"list","member":{"locationName":"groupId"}},"S4w":{"type":"structure","members":{"AttachTime":{"locationName":"attachTime","type":"timestamp"},"Device":{"locationName":"device"},"InstanceId":{"locationName":"instanceId"},"State":{"locationName":"status"},"VolumeId":{"locationName":"volumeId"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"}}},"S51":{"type":"structure","members":{"State":{"locationName":"state"},"VpcId":{"locationName":"vpcId"}}},"S55":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S58":{"type":"list","member":{"locationName":"item","type":"structure","members":{"FromPort":{"locationName":"fromPort","type":"integer"},"IpProtocol":{"locationName":"ipProtocol"},"IpRanges":{"locationName":"ipRanges","type":"list","member":{"locationName":"item","type":"structure","members":{"CidrIp":{"locationName":"cidrIp"},"Description":{"locationName":"description"}}}},"Ipv6Ranges":{"locationName":"ipv6Ranges","type":"list","member":{"locationName":"item","type":"structure","members":{"CidrIpv6":{"locationName":"cidrIpv6"},"Description":{"locationName":"description"}}}},"PrefixListIds":{"locationName":"prefixListIds","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"PrefixListId":{"locationName":"prefixListId"}}}},"ToPort":{"locationName":"toPort","type":"integer"},"UserIdGroupPairs":{"locationName":"groups","type":"list","member":{"shape":"S5h","locationName":"item"}}}}},"S5h":{"type":"structure","members":{"Description":{"locationName":"description"},"GroupId":{"locationName":"groupId"},"GroupName":{"locationName":"groupName"},"PeeringStatus":{"locationName":"peeringStatus"},"UserId":{"locationName":"userId"},"VpcId":{"locationName":"vpcId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"S5j":{"type":"list","member":{"locationName":"item","type":"structure","members":{"SecurityGroupRuleId":{"locationName":"securityGroupRuleId"},"GroupId":{"locationName":"groupId"},"GroupOwnerId":{"locationName":"groupOwnerId"},"IsEgress":{"locationName":"isEgress","type":"boolean"},"IpProtocol":{"locationName":"ipProtocol"},"FromPort":{"locationName":"fromPort","type":"integer"},"ToPort":{"locationName":"toPort","type":"integer"},"CidrIpv4":{"locationName":"cidrIpv4"},"CidrIpv6":{"locationName":"cidrIpv6"},"PrefixListId":{"locationName":"prefixListId"},"ReferencedGroupInfo":{"locationName":"referencedGroupInfo","type":"structure","members":{"GroupId":{"locationName":"groupId"},"PeeringStatus":{"locationName":"peeringStatus"},"UserId":{"locationName":"userId"},"VpcId":{"locationName":"vpcId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"S5s":{"type":"structure","members":{"S3":{"type":"structure","members":{"AWSAccessKeyId":{},"Bucket":{"locationName":"bucket"},"Prefix":{"locationName":"prefix"},"UploadPolicy":{"locationName":"uploadPolicy","type":"blob"},"UploadPolicySignature":{"locationName":"uploadPolicySignature"}}}}},"S5w":{"type":"structure","members":{"BundleId":{"locationName":"bundleId"},"BundleTaskError":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"InstanceId":{"locationName":"instanceId"},"Progress":{"locationName":"progress"},"StartTime":{"locationName":"startTime","type":"timestamp"},"State":{"locationName":"state"},"Storage":{"shape":"S5s","locationName":"storage"},"UpdateTime":{"locationName":"updateTime","type":"timestamp"}}},"S66":{"type":"list","member":{"locationName":"item"}},"S6r":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"InstanceCounts":{"locationName":"instanceCounts","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceCount":{"locationName":"instanceCount","type":"integer"},"State":{"locationName":"state"}}}},"PriceSchedules":{"locationName":"priceSchedules","type":"list","member":{"locationName":"item","type":"structure","members":{"Active":{"locationName":"active","type":"boolean"},"CurrencyCode":{"locationName":"currencyCode"},"Price":{"locationName":"price","type":"double"},"Term":{"locationName":"term","type":"long"}}}},"ReservedInstancesId":{"locationName":"reservedInstancesId"},"ReservedInstancesListingId":{"locationName":"reservedInstancesListingId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"},"UpdateDate":{"locationName":"updateDate","type":"timestamp"}}}},"S73":{"type":"list","member":{"locationName":"item"}},"S7e":{"type":"list","member":{"locationName":"SpotInstanceRequestId"}},"S80":{"type":"structure","members":{"CapacityReservationId":{"locationName":"capacityReservationId"},"OwnerId":{"locationName":"ownerId"},"CapacityReservationArn":{"locationName":"capacityReservationArn"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"InstanceType":{"locationName":"instanceType"},"InstancePlatform":{"locationName":"instancePlatform"},"AvailabilityZone":{"locationName":"availabilityZone"},"Tenancy":{"locationName":"tenancy"},"TotalInstanceCount":{"locationName":"totalInstanceCount","type":"integer"},"AvailableInstanceCount":{"locationName":"availableInstanceCount","type":"integer"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"EphemeralStorage":{"locationName":"ephemeralStorage","type":"boolean"},"State":{"locationName":"state"},"StartDate":{"locationName":"startDate","type":"timestamp"},"EndDate":{"locationName":"endDate","type":"timestamp"},"EndDateType":{"locationName":"endDateType"},"InstanceMatchCriteria":{"locationName":"instanceMatchCriteria"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"},"OutpostArn":{"locationName":"outpostArn"},"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"}}},"S8c":{"type":"list","member":{"locationName":"item","type":"structure","members":{"CapacityReservationId":{"locationName":"capacityReservationId"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"InstanceType":{"locationName":"instanceType"},"InstancePlatform":{"locationName":"instancePlatform"},"AvailabilityZone":{"locationName":"availabilityZone"},"TotalInstanceCount":{"locationName":"totalInstanceCount","type":"integer"},"FulfilledCapacity":{"locationName":"fulfilledCapacity","type":"double"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"Weight":{"locationName":"weight","type":"double"},"Priority":{"locationName":"priority","type":"integer"}}}},"S8g":{"type":"structure","members":{"CarrierGatewayId":{"locationName":"carrierGatewayId"},"VpcId":{"locationName":"vpcId"},"State":{"locationName":"state"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S8q":{"type":"structure","members":{"Enabled":{"type":"boolean"},"CloudwatchLogGroup":{},"CloudwatchLogStream":{}}},"S8t":{"type":"structure","members":{"Enabled":{"type":"boolean"},"LambdaFunctionArn":{}}},"S8v":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S8z":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S94":{"type":"structure","members":{"BgpAsn":{"locationName":"bgpAsn"},"CustomerGatewayId":{"locationName":"customerGatewayId"},"IpAddress":{"locationName":"ipAddress"},"CertificateArn":{"locationName":"certificateArn"},"State":{"locationName":"state"},"Type":{"locationName":"type"},"DeviceName":{"locationName":"deviceName"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S97":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"AvailableIpAddressCount":{"locationName":"availableIpAddressCount","type":"integer"},"CidrBlock":{"locationName":"cidrBlock"},"DefaultForAz":{"locationName":"defaultForAz","type":"boolean"},"EnableLniAtDeviceIndex":{"locationName":"enableLniAtDeviceIndex","type":"integer"},"MapPublicIpOnLaunch":{"locationName":"mapPublicIpOnLaunch","type":"boolean"},"MapCustomerOwnedIpOnLaunch":{"locationName":"mapCustomerOwnedIpOnLaunch","type":"boolean"},"CustomerOwnedIpv4Pool":{"locationName":"customerOwnedIpv4Pool"},"State":{"locationName":"state"},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"},"AssignIpv6AddressOnCreation":{"locationName":"assignIpv6AddressOnCreation","type":"boolean"},"Ipv6CidrBlockAssociationSet":{"locationName":"ipv6CidrBlockAssociationSet","type":"list","member":{"shape":"S3y","locationName":"item"}},"Tags":{"shape":"Ss","locationName":"tagSet"},"SubnetArn":{"locationName":"subnetArn"},"OutpostArn":{"locationName":"outpostArn"},"EnableDns64":{"locationName":"enableDns64","type":"boolean"},"Ipv6Native":{"locationName":"ipv6Native","type":"boolean"},"PrivateDnsNameOptionsOnLaunch":{"locationName":"privateDnsNameOptionsOnLaunch","type":"structure","members":{"HostnameType":{"locationName":"hostnameType"},"EnableResourceNameDnsARecord":{"locationName":"enableResourceNameDnsARecord","type":"boolean"},"EnableResourceNameDnsAAAARecord":{"locationName":"enableResourceNameDnsAAAARecord","type":"boolean"}}}}},"S9f":{"type":"structure","members":{"CidrBlock":{"locationName":"cidrBlock"},"DhcpOptionsId":{"locationName":"dhcpOptionsId"},"State":{"locationName":"state"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"},"InstanceTenancy":{"locationName":"instanceTenancy"},"Ipv6CidrBlockAssociationSet":{"locationName":"ipv6CidrBlockAssociationSet","type":"list","member":{"shape":"S4j","locationName":"item"}},"CidrBlockAssociationSet":{"locationName":"cidrBlockAssociationSet","type":"list","member":{"shape":"S4m","locationName":"item"}},"IsDefault":{"locationName":"isDefault","type":"boolean"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S9o":{"type":"structure","members":{"DhcpConfigurations":{"locationName":"dhcpConfigurationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"Values":{"locationName":"valueSet","type":"list","member":{"shape":"S9s","locationName":"item"}}}}},"DhcpOptionsId":{"locationName":"dhcpOptionsId"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S9s":{"type":"structure","members":{"Value":{"locationName":"value"}}},"S9v":{"type":"structure","members":{"Attachments":{"shape":"S9w","locationName":"attachmentSet"},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S9w":{"type":"list","member":{"locationName":"item","type":"structure","members":{"State":{"locationName":"state"},"VpcId":{"locationName":"vpcId"}}}},"Sab":{"type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateSpecification":{"type":"structure","members":{"LaunchTemplateId":{},"LaunchTemplateName":{},"Version":{}}},"Overrides":{"type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{},"MaxPrice":{},"SubnetId":{},"AvailabilityZone":{},"WeightedCapacity":{"type":"double"},"Priority":{"type":"double"},"Placement":{"shape":"Sai"},"InstanceRequirements":{"shape":"Sak"}}}}}}},"Sai":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Affinity":{"locationName":"affinity"},"GroupName":{"locationName":"groupName"},"PartitionNumber":{"locationName":"partitionNumber","type":"integer"},"HostId":{"locationName":"hostId"},"Tenancy":{"locationName":"tenancy"},"SpreadDomain":{"locationName":"spreadDomain"},"HostResourceGroupArn":{"locationName":"hostResourceGroupArn"}}},"Sak":{"type":"structure","required":["VCpuCount","MemoryMiB"],"members":{"VCpuCount":{"type":"structure","required":["Min"],"members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"MemoryMiB":{"type":"structure","required":["Min"],"members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"CpuManufacturers":{"shape":"San","locationName":"CpuManufacturer"},"MemoryGiBPerVCpu":{"type":"structure","members":{"Min":{"type":"double"},"Max":{"type":"double"}}},"ExcludedInstanceTypes":{"shape":"Saq","locationName":"ExcludedInstanceType"},"InstanceGenerations":{"shape":"Sas","locationName":"InstanceGeneration"},"SpotMaxPricePercentageOverLowestPrice":{"type":"integer"},"OnDemandMaxPricePercentageOverLowestPrice":{"type":"integer"},"BareMetal":{},"BurstablePerformance":{},"RequireHibernateSupport":{"type":"boolean"},"NetworkInterfaceCount":{"type":"structure","members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"LocalStorage":{},"LocalStorageTypes":{"shape":"Say","locationName":"LocalStorageType"},"TotalLocalStorageGB":{"type":"structure","members":{"Min":{"type":"double"},"Max":{"type":"double"}}},"BaselineEbsBandwidthMbps":{"type":"structure","members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"AcceleratorTypes":{"shape":"Sb2","locationName":"AcceleratorType"},"AcceleratorCount":{"type":"structure","members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"AcceleratorManufacturers":{"shape":"Sb5","locationName":"AcceleratorManufacturer"},"AcceleratorNames":{"shape":"Sb7","locationName":"AcceleratorName"},"AcceleratorTotalMemoryMiB":{"type":"structure","members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}}}},"San":{"type":"list","member":{"locationName":"item"}},"Saq":{"type":"list","member":{"locationName":"item"}},"Sas":{"type":"list","member":{"locationName":"item"}},"Say":{"type":"list","member":{"locationName":"item"}},"Sb2":{"type":"list","member":{"locationName":"item"}},"Sb5":{"type":"list","member":{"locationName":"item"}},"Sb7":{"type":"list","member":{"locationName":"item"}},"Sba":{"type":"structure","required":["TotalTargetCapacity"],"members":{"TotalTargetCapacity":{"type":"integer"},"OnDemandTargetCapacity":{"type":"integer"},"SpotTargetCapacity":{"type":"integer"},"DefaultTargetCapacityType":{},"TargetCapacityUnitType":{}}},"Sbi":{"type":"structure","members":{"LaunchTemplateSpecification":{"shape":"Sbj","locationName":"launchTemplateSpecification"},"Overrides":{"shape":"Sbk","locationName":"overrides"}}},"Sbj":{"type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"Version":{"locationName":"version"}}},"Sbk":{"type":"structure","members":{"InstanceType":{"locationName":"instanceType"},"MaxPrice":{"locationName":"maxPrice"},"SubnetId":{"locationName":"subnetId"},"AvailabilityZone":{"locationName":"availabilityZone"},"WeightedCapacity":{"locationName":"weightedCapacity","type":"double"},"Priority":{"locationName":"priority","type":"double"},"Placement":{"locationName":"placement","type":"structure","members":{"GroupName":{"locationName":"groupName"}}},"InstanceRequirements":{"shape":"Sbm","locationName":"instanceRequirements"}}},"Sbm":{"type":"structure","members":{"VCpuCount":{"locationName":"vCpuCount","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"MemoryMiB":{"locationName":"memoryMiB","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"CpuManufacturers":{"shape":"San","locationName":"cpuManufacturerSet"},"MemoryGiBPerVCpu":{"locationName":"memoryGiBPerVCpu","type":"structure","members":{"Min":{"locationName":"min","type":"double"},"Max":{"locationName":"max","type":"double"}}},"ExcludedInstanceTypes":{"shape":"Saq","locationName":"excludedInstanceTypeSet"},"InstanceGenerations":{"shape":"Sas","locationName":"instanceGenerationSet"},"SpotMaxPricePercentageOverLowestPrice":{"locationName":"spotMaxPricePercentageOverLowestPrice","type":"integer"},"OnDemandMaxPricePercentageOverLowestPrice":{"locationName":"onDemandMaxPricePercentageOverLowestPrice","type":"integer"},"BareMetal":{"locationName":"bareMetal"},"BurstablePerformance":{"locationName":"burstablePerformance"},"RequireHibernateSupport":{"locationName":"requireHibernateSupport","type":"boolean"},"NetworkInterfaceCount":{"locationName":"networkInterfaceCount","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"LocalStorage":{"locationName":"localStorage"},"LocalStorageTypes":{"shape":"Say","locationName":"localStorageTypeSet"},"TotalLocalStorageGB":{"locationName":"totalLocalStorageGB","type":"structure","members":{"Min":{"locationName":"min","type":"double"},"Max":{"locationName":"max","type":"double"}}},"BaselineEbsBandwidthMbps":{"locationName":"baselineEbsBandwidthMbps","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"AcceleratorTypes":{"shape":"Sb2","locationName":"acceleratorTypeSet"},"AcceleratorCount":{"locationName":"acceleratorCount","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"AcceleratorManufacturers":{"shape":"Sb5","locationName":"acceleratorManufacturerSet"},"AcceleratorNames":{"shape":"Sb7","locationName":"acceleratorNameSet"},"AcceleratorTotalMemoryMiB":{"locationName":"acceleratorTotalMemoryMiB","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}}}},"Sby":{"type":"list","member":{"locationName":"item"}},"Sca":{"type":"structure","members":{"Bucket":{},"Key":{}}},"Scd":{"type":"list","member":{"shape":"Sce","locationName":"BlockDeviceMapping"}},"Sce":{"type":"structure","members":{"DeviceName":{"locationName":"deviceName"},"VirtualName":{"locationName":"virtualName"},"Ebs":{"locationName":"ebs","type":"structure","members":{"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Iops":{"locationName":"iops","type":"integer"},"SnapshotId":{"locationName":"snapshotId"},"VolumeSize":{"locationName":"volumeSize","type":"integer"},"VolumeType":{"locationName":"volumeType"},"KmsKeyId":{},"Throughput":{"locationName":"throughput","type":"integer"},"OutpostArn":{"locationName":"outpostArn"},"Encrypted":{"locationName":"encrypted","type":"boolean"}}},"NoDevice":{"locationName":"noDevice"}}},"Sck":{"type":"list","member":{"type":"structure","members":{"StartWeekDay":{},"StartHour":{"type":"integer"},"EndWeekDay":{},"EndHour":{"type":"integer"}}}},"Sct":{"type":"structure","members":{"Description":{"locationName":"description"},"ExportTaskId":{"locationName":"exportTaskId"},"ExportToS3Task":{"locationName":"exportToS3","type":"structure","members":{"ContainerFormat":{"locationName":"containerFormat"},"DiskImageFormat":{"locationName":"diskImageFormat"},"S3Bucket":{"locationName":"s3Bucket"},"S3Key":{"locationName":"s3Key"}}},"InstanceExportDetails":{"locationName":"instanceExport","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"TargetEnvironment":{"locationName":"targetEnvironment"}}},"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Scz":{"type":"structure","members":{"Attachments":{"shape":"S9w","locationName":"attachmentSet"},"InternetGatewayId":{"locationName":"internetGatewayId"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sd1":{"type":"list","member":{"type":"structure","members":{"RegionName":{}}}},"Sd4":{"type":"structure","members":{"OwnerId":{"locationName":"ownerId"},"IpamId":{"locationName":"ipamId"},"IpamArn":{"locationName":"ipamArn"},"IpamRegion":{"locationName":"ipamRegion"},"PublicDefaultScopeId":{"locationName":"publicDefaultScopeId"},"PrivateDefaultScopeId":{"locationName":"privateDefaultScopeId"},"ScopeCount":{"locationName":"scopeCount","type":"integer"},"Description":{"locationName":"description"},"OperatingRegions":{"locationName":"operatingRegionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"RegionName":{"locationName":"regionName"}}}},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sdd":{"type":"list","member":{"shape":"Sde","locationName":"item"}},"Sde":{"type":"structure","members":{"Key":{},"Value":{}}},"Sdh":{"type":"structure","members":{"OwnerId":{"locationName":"ownerId"},"IpamPoolId":{"locationName":"ipamPoolId"},"SourceIpamPoolId":{"locationName":"sourceIpamPoolId"},"IpamPoolArn":{"locationName":"ipamPoolArn"},"IpamScopeArn":{"locationName":"ipamScopeArn"},"IpamScopeType":{"locationName":"ipamScopeType"},"IpamArn":{"locationName":"ipamArn"},"IpamRegion":{"locationName":"ipamRegion"},"Locale":{"locationName":"locale"},"PoolDepth":{"locationName":"poolDepth","type":"integer"},"State":{"locationName":"state"},"StateMessage":{"locationName":"stateMessage"},"Description":{"locationName":"description"},"AutoImport":{"locationName":"autoImport","type":"boolean"},"PubliclyAdvertisable":{"locationName":"publiclyAdvertisable","type":"boolean"},"AddressFamily":{"locationName":"addressFamily"},"AllocationMinNetmaskLength":{"locationName":"allocationMinNetmaskLength","type":"integer"},"AllocationMaxNetmaskLength":{"locationName":"allocationMaxNetmaskLength","type":"integer"},"AllocationDefaultNetmaskLength":{"locationName":"allocationDefaultNetmaskLength","type":"integer"},"AllocationResourceTags":{"shape":"Sdk","locationName":"allocationResourceTagSet"},"Tags":{"shape":"Ss","locationName":"tagSet"},"AwsService":{"locationName":"awsService"}}},"Sdk":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"Value":{"locationName":"value"}}}},"Sdo":{"type":"structure","members":{"OwnerId":{"locationName":"ownerId"},"IpamScopeId":{"locationName":"ipamScopeId"},"IpamScopeArn":{"locationName":"ipamScopeArn"},"IpamArn":{"locationName":"ipamArn"},"IpamRegion":{"locationName":"ipamRegion"},"IpamScopeType":{"locationName":"ipamScopeType"},"IsDefault":{"locationName":"isDefault","type":"boolean"},"Description":{"locationName":"description"},"PoolCount":{"locationName":"poolCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sdw":{"type":"structure","members":{"KernelId":{},"EbsOptimized":{"type":"boolean"},"IamInstanceProfile":{"type":"structure","members":{"Arn":{},"Name":{}}},"BlockDeviceMappings":{"locationName":"BlockDeviceMapping","type":"list","member":{"locationName":"BlockDeviceMapping","type":"structure","members":{"DeviceName":{},"VirtualName":{},"Ebs":{"type":"structure","members":{"Encrypted":{"type":"boolean"},"DeleteOnTermination":{"type":"boolean"},"Iops":{"type":"integer"},"KmsKeyId":{},"SnapshotId":{},"VolumeSize":{"type":"integer"},"VolumeType":{},"Throughput":{"type":"integer"}}},"NoDevice":{}}}},"NetworkInterfaces":{"locationName":"NetworkInterface","type":"list","member":{"locationName":"InstanceNetworkInterfaceSpecification","type":"structure","members":{"AssociateCarrierIpAddress":{"type":"boolean"},"AssociatePublicIpAddress":{"type":"boolean"},"DeleteOnTermination":{"type":"boolean"},"Description":{},"DeviceIndex":{"type":"integer"},"Groups":{"shape":"Se4","locationName":"SecurityGroupId"},"InterfaceType":{},"Ipv6AddressCount":{"type":"integer"},"Ipv6Addresses":{"type":"list","member":{"locationName":"InstanceIpv6Address","type":"structure","members":{"Ipv6Address":{}}}},"NetworkInterfaceId":{},"PrivateIpAddress":{},"PrivateIpAddresses":{"shape":"Se7"},"SecondaryPrivateIpAddressCount":{"type":"integer"},"SubnetId":{},"NetworkCardIndex":{"type":"integer"},"Ipv4Prefixes":{"shape":"Se9","locationName":"Ipv4Prefix"},"Ipv4PrefixCount":{"type":"integer"},"Ipv6Prefixes":{"shape":"Seb","locationName":"Ipv6Prefix"},"Ipv6PrefixCount":{"type":"integer"}}}},"ImageId":{},"InstanceType":{},"KeyName":{},"Monitoring":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"Placement":{"type":"structure","members":{"AvailabilityZone":{},"Affinity":{},"GroupName":{},"HostId":{},"Tenancy":{},"SpreadDomain":{},"HostResourceGroupArn":{},"PartitionNumber":{"type":"integer"}}},"RamDiskId":{},"DisableApiTermination":{"type":"boolean"},"InstanceInitiatedShutdownBehavior":{},"UserData":{},"TagSpecifications":{"locationName":"TagSpecification","type":"list","member":{"locationName":"LaunchTemplateTagSpecificationRequest","type":"structure","members":{"ResourceType":{},"Tags":{"shape":"Ss","locationName":"Tag"}}}},"ElasticGpuSpecifications":{"locationName":"ElasticGpuSpecification","type":"list","member":{"shape":"Sem","locationName":"ElasticGpuSpecification"}},"ElasticInferenceAccelerators":{"locationName":"ElasticInferenceAccelerator","type":"list","member":{"locationName":"item","type":"structure","required":["Type"],"members":{"Type":{},"Count":{"type":"integer"}}}},"SecurityGroupIds":{"shape":"Se4","locationName":"SecurityGroupId"},"SecurityGroups":{"shape":"Seq","locationName":"SecurityGroup"},"InstanceMarketOptions":{"type":"structure","members":{"MarketType":{},"SpotOptions":{"type":"structure","members":{"MaxPrice":{},"SpotInstanceType":{},"BlockDurationMinutes":{"type":"integer"},"ValidUntil":{"type":"timestamp"},"InstanceInterruptionBehavior":{}}}}},"CreditSpecification":{"shape":"Sew"},"CpuOptions":{"type":"structure","members":{"CoreCount":{"type":"integer"},"ThreadsPerCore":{"type":"integer"}}},"CapacityReservationSpecification":{"type":"structure","members":{"CapacityReservationPreference":{},"CapacityReservationTarget":{"shape":"Sf0"}}},"LicenseSpecifications":{"locationName":"LicenseSpecification","type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{}}}},"HibernationOptions":{"type":"structure","members":{"Configured":{"type":"boolean"}}},"MetadataOptions":{"type":"structure","members":{"HttpTokens":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpEndpoint":{},"HttpProtocolIpv6":{}}},"EnclaveOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"InstanceRequirements":{"shape":"Sak"},"PrivateDnsNameOptions":{"type":"structure","members":{"HostnameType":{},"EnableResourceNameDnsARecord":{"type":"boolean"},"EnableResourceNameDnsAAAARecord":{"type":"boolean"}}}}},"Se4":{"type":"list","member":{"locationName":"SecurityGroupId"}},"Se7":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Primary":{"locationName":"primary","type":"boolean"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"Se9":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv4Prefix":{}}}},"Seb":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Prefix":{}}}},"Sem":{"type":"structure","required":["Type"],"members":{"Type":{}}},"Seq":{"type":"list","member":{"locationName":"SecurityGroup"}},"Sew":{"type":"structure","required":["CpuCredits"],"members":{"CpuCredits":{}}},"Sf0":{"type":"structure","members":{"CapacityReservationId":{},"CapacityReservationResourceGroupArn":{}}},"Sfb":{"type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"CreatedBy":{"locationName":"createdBy"},"DefaultVersionNumber":{"locationName":"defaultVersionNumber","type":"long"},"LatestVersionNumber":{"locationName":"latestVersionNumber","type":"long"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sfc":{"type":"structure","members":{"Errors":{"locationName":"errorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}},"Sfh":{"type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"VersionNumber":{"locationName":"versionNumber","type":"long"},"VersionDescription":{"locationName":"versionDescription"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"CreatedBy":{"locationName":"createdBy"},"DefaultVersion":{"locationName":"defaultVersion","type":"boolean"},"LaunchTemplateData":{"shape":"Sfi","locationName":"launchTemplateData"}}},"Sfi":{"type":"structure","members":{"KernelId":{"locationName":"kernelId"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"locationName":"iamInstanceProfile","type":"structure","members":{"Arn":{"locationName":"arn"},"Name":{"locationName":"name"}}},"BlockDeviceMappings":{"locationName":"blockDeviceMappingSet","type":"list","member":{"locationName":"item","type":"structure","members":{"DeviceName":{"locationName":"deviceName"},"VirtualName":{"locationName":"virtualName"},"Ebs":{"locationName":"ebs","type":"structure","members":{"Encrypted":{"locationName":"encrypted","type":"boolean"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Iops":{"locationName":"iops","type":"integer"},"KmsKeyId":{"locationName":"kmsKeyId"},"SnapshotId":{"locationName":"snapshotId"},"VolumeSize":{"locationName":"volumeSize","type":"integer"},"VolumeType":{"locationName":"volumeType"},"Throughput":{"locationName":"throughput","type":"integer"}}},"NoDevice":{"locationName":"noDevice"}}}},"NetworkInterfaces":{"locationName":"networkInterfaceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AssociateCarrierIpAddress":{"locationName":"associateCarrierIpAddress","type":"boolean"},"AssociatePublicIpAddress":{"locationName":"associatePublicIpAddress","type":"boolean"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Description":{"locationName":"description"},"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"Groups":{"shape":"S4o","locationName":"groupSet"},"InterfaceType":{"locationName":"interfaceType"},"Ipv6AddressCount":{"locationName":"ipv6AddressCount","type":"integer"},"Ipv6Addresses":{"shape":"Sfp","locationName":"ipv6AddressesSet"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"shape":"Se7","locationName":"privateIpAddressesSet"},"SecondaryPrivateIpAddressCount":{"locationName":"secondaryPrivateIpAddressCount","type":"integer"},"SubnetId":{"locationName":"subnetId"},"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"},"Ipv4Prefixes":{"locationName":"ipv4PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv4Prefix":{"locationName":"ipv4Prefix"}}}},"Ipv4PrefixCount":{"locationName":"ipv4PrefixCount","type":"integer"},"Ipv6Prefixes":{"locationName":"ipv6PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Prefix":{"locationName":"ipv6Prefix"}}}},"Ipv6PrefixCount":{"locationName":"ipv6PrefixCount","type":"integer"}}}},"ImageId":{"locationName":"imageId"},"InstanceType":{"locationName":"instanceType"},"KeyName":{"locationName":"keyName"},"Monitoring":{"locationName":"monitoring","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"Placement":{"locationName":"placement","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Affinity":{"locationName":"affinity"},"GroupName":{"locationName":"groupName"},"HostId":{"locationName":"hostId"},"Tenancy":{"locationName":"tenancy"},"SpreadDomain":{"locationName":"spreadDomain"},"HostResourceGroupArn":{"locationName":"hostResourceGroupArn"},"PartitionNumber":{"locationName":"partitionNumber","type":"integer"}}},"RamDiskId":{"locationName":"ramDiskId"},"DisableApiTermination":{"locationName":"disableApiTermination","type":"boolean"},"InstanceInitiatedShutdownBehavior":{"locationName":"instanceInitiatedShutdownBehavior"},"UserData":{"locationName":"userData"},"TagSpecifications":{"locationName":"tagSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceType":{"locationName":"resourceType"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"ElasticGpuSpecifications":{"locationName":"elasticGpuSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Type":{"locationName":"type"}}}},"ElasticInferenceAccelerators":{"locationName":"elasticInferenceAcceleratorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Type":{"locationName":"type"},"Count":{"locationName":"count","type":"integer"}}}},"SecurityGroupIds":{"shape":"Se","locationName":"securityGroupIdSet"},"SecurityGroups":{"shape":"Se","locationName":"securityGroupSet"},"InstanceMarketOptions":{"locationName":"instanceMarketOptions","type":"structure","members":{"MarketType":{"locationName":"marketType"},"SpotOptions":{"locationName":"spotOptions","type":"structure","members":{"MaxPrice":{"locationName":"maxPrice"},"SpotInstanceType":{"locationName":"spotInstanceType"},"BlockDurationMinutes":{"locationName":"blockDurationMinutes","type":"integer"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"InstanceInterruptionBehavior":{"locationName":"instanceInterruptionBehavior"}}}}},"CreditSpecification":{"locationName":"creditSpecification","type":"structure","members":{"CpuCredits":{"locationName":"cpuCredits"}}},"CpuOptions":{"locationName":"cpuOptions","type":"structure","members":{"CoreCount":{"locationName":"coreCount","type":"integer"},"ThreadsPerCore":{"locationName":"threadsPerCore","type":"integer"}}},"CapacityReservationSpecification":{"locationName":"capacityReservationSpecification","type":"structure","members":{"CapacityReservationPreference":{"locationName":"capacityReservationPreference"},"CapacityReservationTarget":{"shape":"Sg8","locationName":"capacityReservationTarget"}}},"LicenseSpecifications":{"locationName":"licenseSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{"locationName":"licenseConfigurationArn"}}}},"HibernationOptions":{"locationName":"hibernationOptions","type":"structure","members":{"Configured":{"locationName":"configured","type":"boolean"}}},"MetadataOptions":{"locationName":"metadataOptions","type":"structure","members":{"State":{"locationName":"state"},"HttpTokens":{"locationName":"httpTokens"},"HttpPutResponseHopLimit":{"locationName":"httpPutResponseHopLimit","type":"integer"},"HttpEndpoint":{"locationName":"httpEndpoint"},"HttpProtocolIpv6":{"locationName":"httpProtocolIpv6"}}},"EnclaveOptions":{"locationName":"enclaveOptions","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"InstanceRequirements":{"shape":"Sbm","locationName":"instanceRequirements"},"PrivateDnsNameOptions":{"locationName":"privateDnsNameOptions","type":"structure","members":{"HostnameType":{"locationName":"hostnameType"},"EnableResourceNameDnsARecord":{"locationName":"enableResourceNameDnsARecord","type":"boolean"},"EnableResourceNameDnsAAAARecord":{"locationName":"enableResourceNameDnsAAAARecord","type":"boolean"}}}}},"Sfp":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Address":{"locationName":"ipv6Address"}}}},"Sg8":{"type":"structure","members":{"CapacityReservationId":{"locationName":"capacityReservationId"},"CapacityReservationResourceGroupArn":{"locationName":"capacityReservationResourceGroupArn"}}},"Sgk":{"type":"structure","members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"LocalGatewayVirtualInterfaceGroupId":{"locationName":"localGatewayVirtualInterfaceGroupId"},"Type":{"locationName":"type"},"State":{"locationName":"state"},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"LocalGatewayRouteTableArn":{"locationName":"localGatewayRouteTableArn"},"OwnerId":{"locationName":"ownerId"}}},"Sgp":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociationId":{"locationName":"localGatewayRouteTableVpcAssociationId"},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"LocalGatewayRouteTableArn":{"locationName":"localGatewayRouteTableArn"},"LocalGatewayId":{"locationName":"localGatewayId"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sgs":{"type":"list","member":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"Description":{}}}},"Sgv":{"type":"structure","members":{"PrefixListId":{"locationName":"prefixListId"},"AddressFamily":{"locationName":"addressFamily"},"State":{"locationName":"state"},"StateMessage":{"locationName":"stateMessage"},"PrefixListArn":{"locationName":"prefixListArn"},"PrefixListName":{"locationName":"prefixListName"},"MaxEntries":{"locationName":"maxEntries","type":"integer"},"Version":{"locationName":"version","type":"long"},"Tags":{"shape":"Ss","locationName":"tagSet"},"OwnerId":{"locationName":"ownerId"}}},"Sh0":{"type":"structure","members":{"CreateTime":{"locationName":"createTime","type":"timestamp"},"DeleteTime":{"locationName":"deleteTime","type":"timestamp"},"FailureCode":{"locationName":"failureCode"},"FailureMessage":{"locationName":"failureMessage"},"NatGatewayAddresses":{"locationName":"natGatewayAddressSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AllocationId":{"locationName":"allocationId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIp":{"locationName":"privateIp"},"PublicIp":{"locationName":"publicIp"}}}},"NatGatewayId":{"locationName":"natGatewayId"},"ProvisionedBandwidth":{"locationName":"provisionedBandwidth","type":"structure","members":{"ProvisionTime":{"locationName":"provisionTime","type":"timestamp"},"Provisioned":{"locationName":"provisioned"},"RequestTime":{"locationName":"requestTime","type":"timestamp"},"Requested":{"locationName":"requested"},"Status":{"locationName":"status"}}},"State":{"locationName":"state"},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"ConnectivityType":{"locationName":"connectivityType"}}},"Sh7":{"type":"structure","members":{"Associations":{"locationName":"associationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"NetworkAclAssociationId":{"locationName":"networkAclAssociationId"},"NetworkAclId":{"locationName":"networkAclId"},"SubnetId":{"locationName":"subnetId"}}}},"Entries":{"locationName":"entrySet","type":"list","member":{"locationName":"item","type":"structure","members":{"CidrBlock":{"locationName":"cidrBlock"},"Egress":{"locationName":"egress","type":"boolean"},"IcmpTypeCode":{"shape":"Shc","locationName":"icmpTypeCode"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"PortRange":{"shape":"Shd","locationName":"portRange"},"Protocol":{"locationName":"protocol"},"RuleAction":{"locationName":"ruleAction"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}}},"IsDefault":{"locationName":"default","type":"boolean"},"NetworkAclId":{"locationName":"networkAclId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"}}},"Shc":{"type":"structure","members":{"Code":{"locationName":"code","type":"integer"},"Type":{"locationName":"type","type":"integer"}}},"Shd":{"type":"structure","members":{"From":{"locationName":"from","type":"integer"},"To":{"locationName":"to","type":"integer"}}},"Shi":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Source":{"shape":"Shk"},"Destination":{"shape":"Shk"},"ThroughResources":{"locationName":"ThroughResource","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceStatement":{"shape":"Sho"}}}}}}},"Shk":{"type":"structure","members":{"PacketHeaderStatement":{"type":"structure","members":{"SourceAddresses":{"shape":"Se","locationName":"SourceAddress"},"DestinationAddresses":{"shape":"Se","locationName":"DestinationAddress"},"SourcePorts":{"shape":"Se","locationName":"SourcePort"},"DestinationPorts":{"shape":"Se","locationName":"DestinationPort"},"SourcePrefixLists":{"shape":"Se","locationName":"SourcePrefixList"},"DestinationPrefixLists":{"shape":"Se","locationName":"DestinationPrefixList"},"Protocols":{"shape":"Shm","locationName":"Protocol"}}},"ResourceStatement":{"shape":"Sho"}}},"Shm":{"type":"list","member":{"locationName":"item"}},"Sho":{"type":"structure","members":{"Resources":{"shape":"Se","locationName":"Resource"},"ResourceTypes":{"shape":"Se","locationName":"ResourceType"}}},"Shs":{"type":"structure","members":{"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"},"NetworkInsightsAccessScopeArn":{"locationName":"networkInsightsAccessScopeArn"},"CreatedDate":{"locationName":"createdDate","type":"timestamp"},"UpdatedDate":{"locationName":"updatedDate","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Shu":{"type":"structure","members":{"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"},"MatchPaths":{"shape":"Shv","locationName":"matchPathSet"},"ExcludePaths":{"shape":"Shv","locationName":"excludePathSet"}}},"Shv":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Source":{"shape":"Shx","locationName":"source"},"Destination":{"shape":"Shx","locationName":"destination"},"ThroughResources":{"locationName":"throughResourceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceStatement":{"shape":"Shz","locationName":"resourceStatement"}}}}}}},"Shx":{"type":"structure","members":{"PacketHeaderStatement":{"locationName":"packetHeaderStatement","type":"structure","members":{"SourceAddresses":{"shape":"Se","locationName":"sourceAddressSet"},"DestinationAddresses":{"shape":"Se","locationName":"destinationAddressSet"},"SourcePorts":{"shape":"Se","locationName":"sourcePortSet"},"DestinationPorts":{"shape":"Se","locationName":"destinationPortSet"},"SourcePrefixLists":{"shape":"Se","locationName":"sourcePrefixListSet"},"DestinationPrefixLists":{"shape":"Se","locationName":"destinationPrefixListSet"},"Protocols":{"shape":"Shm","locationName":"protocolSet"}}},"ResourceStatement":{"shape":"Shz","locationName":"resourceStatement"}}},"Shz":{"type":"structure","members":{"Resources":{"shape":"Se","locationName":"resourceSet"},"ResourceTypes":{"shape":"Se","locationName":"resourceTypeSet"}}},"Si6":{"type":"structure","members":{"NetworkInsightsPathId":{"locationName":"networkInsightsPathId"},"NetworkInsightsPathArn":{"locationName":"networkInsightsPathArn"},"CreatedDate":{"locationName":"createdDate","type":"timestamp"},"Source":{"locationName":"source"},"Destination":{"locationName":"destination"},"SourceIp":{"locationName":"sourceIp"},"DestinationIp":{"locationName":"destinationIp"},"Protocol":{"locationName":"protocol"},"DestinationPort":{"locationName":"destinationPort","type":"integer"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sib":{"type":"structure","members":{"Association":{"shape":"Sic","locationName":"association"},"Attachment":{"shape":"Sid","locationName":"attachment"},"AvailabilityZone":{"locationName":"availabilityZone"},"Description":{"locationName":"description"},"Groups":{"shape":"Sie","locationName":"groupSet"},"InterfaceType":{"locationName":"interfaceType"},"Ipv6Addresses":{"locationName":"ipv6AddressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Address":{"locationName":"ipv6Address"}}}},"MacAddress":{"locationName":"macAddress"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"OutpostArn":{"locationName":"outpostArn"},"OwnerId":{"locationName":"ownerId"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"locationName":"privateIpAddressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Association":{"shape":"Sic","locationName":"association"},"Primary":{"locationName":"primary","type":"boolean"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"Ipv4Prefixes":{"shape":"S2p","locationName":"ipv4PrefixSet"},"Ipv6Prefixes":{"locationName":"ipv6PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Prefix":{"locationName":"ipv6Prefix"}}}},"RequesterId":{"locationName":"requesterId"},"RequesterManaged":{"locationName":"requesterManaged","type":"boolean"},"SourceDestCheck":{"locationName":"sourceDestCheck","type":"boolean"},"Status":{"locationName":"status"},"SubnetId":{"locationName":"subnetId"},"TagSet":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"},"DenyAllIgwTraffic":{"locationName":"denyAllIgwTraffic","type":"boolean"},"Ipv6Native":{"locationName":"ipv6Native","type":"boolean"},"Ipv6Address":{"locationName":"ipv6Address"}}},"Sic":{"type":"structure","members":{"AllocationId":{"locationName":"allocationId"},"AssociationId":{"locationName":"associationId"},"IpOwnerId":{"locationName":"ipOwnerId"},"PublicDnsName":{"locationName":"publicDnsName"},"PublicIp":{"locationName":"publicIp"},"CustomerOwnedIp":{"locationName":"customerOwnedIp"},"CarrierIp":{"locationName":"carrierIp"}}},"Sid":{"type":"structure","members":{"AttachTime":{"locationName":"attachTime","type":"timestamp"},"AttachmentId":{"locationName":"attachmentId"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"},"InstanceId":{"locationName":"instanceId"},"InstanceOwnerId":{"locationName":"instanceOwnerId"},"Status":{"locationName":"status"}}},"Sie":{"type":"list","member":{"locationName":"item","type":"structure","members":{"GroupName":{"locationName":"groupName"},"GroupId":{"locationName":"groupId"}}}},"Sir":{"type":"structure","members":{"NetworkInterfacePermissionId":{"locationName":"networkInterfacePermissionId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"AwsAccountId":{"locationName":"awsAccountId"},"AwsService":{"locationName":"awsService"},"Permission":{"locationName":"permission"},"PermissionState":{"locationName":"permissionState","type":"structure","members":{"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"}}}}},"Six":{"type":"structure","members":{"GroupName":{"locationName":"groupName"},"State":{"locationName":"state"},"Strategy":{"locationName":"strategy"},"PartitionCount":{"locationName":"partitionCount","type":"integer"},"GroupId":{"locationName":"groupId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sj3":{"type":"structure","members":{"ReplaceRootVolumeTaskId":{"locationName":"replaceRootVolumeTaskId"},"InstanceId":{"locationName":"instanceId"},"TaskState":{"locationName":"taskState"},"StartTime":{"locationName":"startTime"},"CompleteTime":{"locationName":"completeTime"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sjk":{"type":"structure","members":{"Associations":{"locationName":"associationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Main":{"locationName":"main","type":"boolean"},"RouteTableAssociationId":{"locationName":"routeTableAssociationId"},"RouteTableId":{"locationName":"routeTableId"},"SubnetId":{"locationName":"subnetId"},"GatewayId":{"locationName":"gatewayId"},"AssociationState":{"shape":"S3u","locationName":"associationState"}}}},"PropagatingVgws":{"locationName":"propagatingVgwSet","type":"list","member":{"locationName":"item","type":"structure","members":{"GatewayId":{"locationName":"gatewayId"}}}},"RouteTableId":{"locationName":"routeTableId"},"Routes":{"locationName":"routeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"DestinationIpv6CidrBlock":{"locationName":"destinationIpv6CidrBlock"},"DestinationPrefixListId":{"locationName":"destinationPrefixListId"},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"GatewayId":{"locationName":"gatewayId"},"InstanceId":{"locationName":"instanceId"},"InstanceOwnerId":{"locationName":"instanceOwnerId"},"NatGatewayId":{"locationName":"natGatewayId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"LocalGatewayId":{"locationName":"localGatewayId"},"CarrierGatewayId":{"locationName":"carrierGatewayId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"Origin":{"locationName":"origin"},"State":{"locationName":"state"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"},"CoreNetworkArn":{"locationName":"coreNetworkArn"}}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"}}},"Sjw":{"type":"structure","members":{"DataEncryptionKeyId":{"locationName":"dataEncryptionKeyId"},"Description":{"locationName":"description"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"KmsKeyId":{"locationName":"kmsKeyId"},"OwnerId":{"locationName":"ownerId"},"Progress":{"locationName":"progress"},"SnapshotId":{"locationName":"snapshotId"},"StartTime":{"locationName":"startTime","type":"timestamp"},"State":{"locationName":"status"},"StateMessage":{"locationName":"statusMessage"},"VolumeId":{"locationName":"volumeId"},"VolumeSize":{"locationName":"volumeSize","type":"integer"},"OwnerAlias":{"locationName":"ownerAlias"},"OutpostArn":{"locationName":"outpostArn"},"Tags":{"shape":"Ss","locationName":"tagSet"},"StorageTier":{"locationName":"storageTier"},"RestoreExpiryTime":{"locationName":"restoreExpiryTime","type":"timestamp"}}},"Sk7":{"type":"structure","members":{"Bucket":{"locationName":"bucket"},"Fault":{"shape":"Sk8","locationName":"fault"},"OwnerId":{"locationName":"ownerId"},"Prefix":{"locationName":"prefix"},"State":{"locationName":"state"}}},"Sk8":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"Skj":{"type":"structure","members":{"SubnetCidrReservationId":{"locationName":"subnetCidrReservationId"},"SubnetId":{"locationName":"subnetId"},"Cidr":{"locationName":"cidr"},"ReservationType":{"locationName":"reservationType"},"OwnerId":{"locationName":"ownerId"},"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Skm":{"type":"list","member":{}},"Skq":{"type":"structure","members":{"TrafficMirrorFilterId":{"locationName":"trafficMirrorFilterId"},"IngressFilterRules":{"shape":"Skr","locationName":"ingressFilterRuleSet"},"EgressFilterRules":{"shape":"Skr","locationName":"egressFilterRuleSet"},"NetworkServices":{"shape":"Skw","locationName":"networkServiceSet"},"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Skr":{"type":"list","member":{"shape":"Sks","locationName":"item"}},"Sks":{"type":"structure","members":{"TrafficMirrorFilterRuleId":{"locationName":"trafficMirrorFilterRuleId"},"TrafficMirrorFilterId":{"locationName":"trafficMirrorFilterId"},"TrafficDirection":{"locationName":"trafficDirection"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"},"RuleAction":{"locationName":"ruleAction"},"Protocol":{"locationName":"protocol","type":"integer"},"DestinationPortRange":{"shape":"Skv","locationName":"destinationPortRange"},"SourcePortRange":{"shape":"Skv","locationName":"sourcePortRange"},"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"SourceCidrBlock":{"locationName":"sourceCidrBlock"},"Description":{"locationName":"description"}}},"Skv":{"type":"structure","members":{"FromPort":{"locationName":"fromPort","type":"integer"},"ToPort":{"locationName":"toPort","type":"integer"}}},"Skw":{"type":"list","member":{"locationName":"item"}},"Sl0":{"type":"structure","members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}},"Sl5":{"type":"structure","members":{"TrafficMirrorSessionId":{"locationName":"trafficMirrorSessionId"},"TrafficMirrorTargetId":{"locationName":"trafficMirrorTargetId"},"TrafficMirrorFilterId":{"locationName":"trafficMirrorFilterId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"OwnerId":{"locationName":"ownerId"},"PacketLength":{"locationName":"packetLength","type":"integer"},"SessionNumber":{"locationName":"sessionNumber","type":"integer"},"VirtualNetworkId":{"locationName":"virtualNetworkId","type":"integer"},"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sl8":{"type":"structure","members":{"TrafficMirrorTargetId":{"locationName":"trafficMirrorTargetId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"NetworkLoadBalancerArn":{"locationName":"networkLoadBalancerArn"},"Type":{"locationName":"type"},"Description":{"locationName":"description"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Slh":{"type":"list","member":{"locationName":"item"}},"Slj":{"type":"structure","members":{"TransitGatewayId":{"locationName":"transitGatewayId"},"TransitGatewayArn":{"locationName":"transitGatewayArn"},"State":{"locationName":"state"},"OwnerId":{"locationName":"ownerId"},"Description":{"locationName":"description"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Options":{"locationName":"options","type":"structure","members":{"AmazonSideAsn":{"locationName":"amazonSideAsn","type":"long"},"TransitGatewayCidrBlocks":{"shape":"Se","locationName":"transitGatewayCidrBlocks"},"AutoAcceptSharedAttachments":{"locationName":"autoAcceptSharedAttachments"},"DefaultRouteTableAssociation":{"locationName":"defaultRouteTableAssociation"},"AssociationDefaultRouteTableId":{"locationName":"associationDefaultRouteTableId"},"DefaultRouteTablePropagation":{"locationName":"defaultRouteTablePropagation"},"PropagationDefaultRouteTableId":{"locationName":"propagationDefaultRouteTableId"},"VpnEcmpSupport":{"locationName":"vpnEcmpSupport"},"DnsSupport":{"locationName":"dnsSupport"},"MulticastSupport":{"locationName":"multicastSupport"}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Slq":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"TransportTransitGatewayAttachmentId":{"locationName":"transportTransitGatewayAttachmentId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"State":{"locationName":"state"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Options":{"locationName":"options","type":"structure","members":{"Protocol":{"locationName":"protocol"}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Slu":{"type":"list","member":{"locationName":"item"}},"Slw":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"TransitGatewayConnectPeerId":{"locationName":"transitGatewayConnectPeerId"},"State":{"locationName":"state"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"ConnectPeerConfiguration":{"locationName":"connectPeerConfiguration","type":"structure","members":{"TransitGatewayAddress":{"locationName":"transitGatewayAddress"},"PeerAddress":{"locationName":"peerAddress"},"InsideCidrBlocks":{"shape":"Slu","locationName":"insideCidrBlocks"},"Protocol":{"locationName":"protocol"},"BgpConfigurations":{"locationName":"bgpConfigurations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAsn":{"locationName":"transitGatewayAsn","type":"long"},"PeerAsn":{"locationName":"peerAsn","type":"long"},"TransitGatewayAddress":{"locationName":"transitGatewayAddress"},"PeerAddress":{"locationName":"peerAddress"},"BgpStatus":{"locationName":"bgpStatus"}}}}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sm9":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"TransitGatewayMulticastDomainArn":{"locationName":"transitGatewayMulticastDomainArn"},"OwnerId":{"locationName":"ownerId"},"Options":{"locationName":"options","type":"structure","members":{"Igmpv2Support":{"locationName":"igmpv2Support"},"StaticSourcesSupport":{"locationName":"staticSourcesSupport"},"AutoAcceptSharedAssociations":{"locationName":"autoAcceptSharedAssociations"}}},"State":{"locationName":"state"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Smh":{"type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"PrefixListId":{"locationName":"prefixListId"},"PrefixListOwnerId":{"locationName":"prefixListOwnerId"},"State":{"locationName":"state"},"Blackhole":{"locationName":"blackhole","type":"boolean"},"TransitGatewayAttachment":{"locationName":"transitGatewayAttachment","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceType":{"locationName":"resourceType"},"ResourceId":{"locationName":"resourceId"}}}}},"Smm":{"type":"structure","members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"PrefixListId":{"locationName":"prefixListId"},"TransitGatewayAttachments":{"locationName":"transitGatewayAttachments","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceId":{"locationName":"resourceId"},"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceType":{"locationName":"resourceType"}}}},"Type":{"locationName":"type"},"State":{"locationName":"state"}}},"Smt":{"type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"State":{"locationName":"state"},"DefaultAssociationRouteTable":{"locationName":"defaultAssociationRouteTable","type":"boolean"},"DefaultPropagationRouteTable":{"locationName":"defaultPropagationRouteTable","type":"boolean"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Smz":{"type":"structure","members":{"Attachments":{"locationName":"attachmentSet","type":"list","member":{"shape":"S4w","locationName":"item"}},"AvailabilityZone":{"locationName":"availabilityZone"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"KmsKeyId":{"locationName":"kmsKeyId"},"OutpostArn":{"locationName":"outpostArn"},"Size":{"locationName":"size","type":"integer"},"SnapshotId":{"locationName":"snapshotId"},"State":{"locationName":"status"},"VolumeId":{"locationName":"volumeId"},"Iops":{"locationName":"iops","type":"integer"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VolumeType":{"locationName":"volumeType"},"FastRestored":{"locationName":"fastRestored","type":"boolean"},"MultiAttachEnabled":{"locationName":"multiAttachEnabled","type":"boolean"},"Throughput":{"locationName":"throughput","type":"integer"}}},"Sn6":{"type":"list","member":{"locationName":"item"}},"Sn7":{"type":"list","member":{"locationName":"item"}},"Sn8":{"type":"list","member":{"locationName":"item"}},"Sna":{"type":"structure","members":{"VpcEndpointId":{"locationName":"vpcEndpointId"},"VpcEndpointType":{"locationName":"vpcEndpointType"},"VpcId":{"locationName":"vpcId"},"ServiceName":{"locationName":"serviceName"},"State":{"locationName":"state"},"PolicyDocument":{"locationName":"policyDocument"},"RouteTableIds":{"shape":"Se","locationName":"routeTableIdSet"},"SubnetIds":{"shape":"Se","locationName":"subnetIdSet"},"Groups":{"locationName":"groupSet","type":"list","member":{"locationName":"item","type":"structure","members":{"GroupId":{"locationName":"groupId"},"GroupName":{"locationName":"groupName"}}}},"PrivateDnsEnabled":{"locationName":"privateDnsEnabled","type":"boolean"},"RequesterManaged":{"locationName":"requesterManaged","type":"boolean"},"NetworkInterfaceIds":{"shape":"Se","locationName":"networkInterfaceIdSet"},"DnsEntries":{"shape":"Sne","locationName":"dnsEntrySet"},"CreationTimestamp":{"locationName":"creationTimestamp","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"},"OwnerId":{"locationName":"ownerId"},"LastError":{"locationName":"lastError","type":"structure","members":{"Message":{"locationName":"message"},"Code":{"locationName":"code"}}}}},"Sne":{"type":"list","member":{"locationName":"item","type":"structure","members":{"DnsName":{"locationName":"dnsName"},"HostedZoneId":{"locationName":"hostedZoneId"}}}},"Snj":{"type":"structure","members":{"ConnectionNotificationId":{"locationName":"connectionNotificationId"},"ServiceId":{"locationName":"serviceId"},"VpcEndpointId":{"locationName":"vpcEndpointId"},"ConnectionNotificationType":{"locationName":"connectionNotificationType"},"ConnectionNotificationArn":{"locationName":"connectionNotificationArn"},"ConnectionEvents":{"shape":"Se","locationName":"connectionEvents"},"ConnectionNotificationState":{"locationName":"connectionNotificationState"}}},"Sno":{"type":"structure","members":{"ServiceType":{"shape":"Snp","locationName":"serviceType"},"ServiceId":{"locationName":"serviceId"},"ServiceName":{"locationName":"serviceName"},"ServiceState":{"locationName":"serviceState"},"AvailabilityZones":{"shape":"Se","locationName":"availabilityZoneSet"},"AcceptanceRequired":{"locationName":"acceptanceRequired","type":"boolean"},"ManagesVpcEndpoints":{"locationName":"managesVpcEndpoints","type":"boolean"},"NetworkLoadBalancerArns":{"shape":"Se","locationName":"networkLoadBalancerArnSet"},"GatewayLoadBalancerArns":{"shape":"Se","locationName":"gatewayLoadBalancerArnSet"},"BaseEndpointDnsNames":{"shape":"Se","locationName":"baseEndpointDnsNameSet"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateDnsNameConfiguration":{"locationName":"privateDnsNameConfiguration","type":"structure","members":{"State":{"locationName":"state"},"Type":{"locationName":"type"},"Value":{"locationName":"value"},"Name":{"locationName":"name"}}},"PayerResponsibility":{"locationName":"payerResponsibility"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Snp":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ServiceType":{"locationName":"serviceType"}}}},"So4":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"So6":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"So8":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"Soa":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"Soc":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"type":"integer"}}}},"Soe":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"type":"integer"}}}},"Sog":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"Soj":{"type":"structure","members":{"CustomerGatewayConfiguration":{"locationName":"customerGatewayConfiguration"},"CustomerGatewayId":{"locationName":"customerGatewayId"},"Category":{"locationName":"category"},"State":{"locationName":"state"},"Type":{"locationName":"type"},"VpnConnectionId":{"locationName":"vpnConnectionId"},"VpnGatewayId":{"locationName":"vpnGatewayId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"CoreNetworkArn":{"locationName":"coreNetworkArn"},"CoreNetworkAttachmentArn":{"locationName":"coreNetworkAttachmentArn"},"GatewayAssociationState":{"locationName":"gatewayAssociationState"},"Options":{"locationName":"options","type":"structure","members":{"EnableAcceleration":{"locationName":"enableAcceleration","type":"boolean"},"StaticRoutesOnly":{"locationName":"staticRoutesOnly","type":"boolean"},"LocalIpv4NetworkCidr":{"locationName":"localIpv4NetworkCidr"},"RemoteIpv4NetworkCidr":{"locationName":"remoteIpv4NetworkCidr"},"LocalIpv6NetworkCidr":{"locationName":"localIpv6NetworkCidr"},"RemoteIpv6NetworkCidr":{"locationName":"remoteIpv6NetworkCidr"},"TunnelInsideIpVersion":{"locationName":"tunnelInsideIpVersion"},"TunnelOptions":{"locationName":"tunnelOptionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"OutsideIpAddress":{"locationName":"outsideIpAddress"},"TunnelInsideCidr":{"locationName":"tunnelInsideCidr"},"TunnelInsideIpv6Cidr":{"locationName":"tunnelInsideIpv6Cidr"},"PreSharedKey":{"locationName":"preSharedKey"},"Phase1LifetimeSeconds":{"locationName":"phase1LifetimeSeconds","type":"integer"},"Phase2LifetimeSeconds":{"locationName":"phase2LifetimeSeconds","type":"integer"},"RekeyMarginTimeSeconds":{"locationName":"rekeyMarginTimeSeconds","type":"integer"},"RekeyFuzzPercentage":{"locationName":"rekeyFuzzPercentage","type":"integer"},"ReplayWindowSize":{"locationName":"replayWindowSize","type":"integer"},"DpdTimeoutSeconds":{"locationName":"dpdTimeoutSeconds","type":"integer"},"DpdTimeoutAction":{"locationName":"dpdTimeoutAction"},"Phase1EncryptionAlgorithms":{"locationName":"phase1EncryptionAlgorithmSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"Phase2EncryptionAlgorithms":{"locationName":"phase2EncryptionAlgorithmSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"Phase1IntegrityAlgorithms":{"locationName":"phase1IntegrityAlgorithmSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"Phase2IntegrityAlgorithms":{"locationName":"phase2IntegrityAlgorithmSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"Phase1DHGroupNumbers":{"locationName":"phase1DHGroupNumberSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value","type":"integer"}}}},"Phase2DHGroupNumbers":{"locationName":"phase2DHGroupNumberSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value","type":"integer"}}}},"IkeVersions":{"locationName":"ikeVersionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"StartupAction":{"locationName":"startupAction"}}}}}},"Routes":{"locationName":"routes","type":"list","member":{"locationName":"item","type":"structure","members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"Source":{"locationName":"source"},"State":{"locationName":"state"}}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"VgwTelemetry":{"locationName":"vgwTelemetry","type":"list","member":{"locationName":"item","type":"structure","members":{"AcceptedRouteCount":{"locationName":"acceptedRouteCount","type":"integer"},"LastStatusChange":{"locationName":"lastStatusChange","type":"timestamp"},"OutsideIpAddress":{"locationName":"outsideIpAddress"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"CertificateArn":{"locationName":"certificateArn"}}}}}},"Spd":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"State":{"locationName":"state"},"Type":{"locationName":"type"},"VpcAttachments":{"locationName":"attachments","type":"list","member":{"shape":"S51","locationName":"item"}},"VpnGatewayId":{"locationName":"vpnGatewayId"},"AmazonSideAsn":{"locationName":"amazonSideAsn","type":"long"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Spr":{"type":"list","member":{}},"Sq1":{"type":"list","member":{"locationName":"item"}},"Sqm":{"type":"list","member":{"locationName":"item"}},"St2":{"type":"list","member":{"locationName":"item"}},"Stf":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"State":{"locationName":"state"},"FailureReason":{"locationName":"failureReason","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}},"Stp":{"type":"list","member":{"locationName":"item"}},"Str":{"type":"structure","members":{"InstanceTagKeys":{"shape":"Stp","locationName":"instanceTagKeySet"},"IncludeAllTagsOfInstance":{"locationName":"includeAllTagsOfInstance","type":"boolean"}}},"Stt":{"type":"list","member":{"locationName":"item"}},"Su8":{"type":"list","member":{"locationName":"Filter","type":"structure","members":{"Name":{},"Values":{"shape":"Se","locationName":"Value"}}}},"Sum":{"type":"structure","members":{"PublicIp":{"locationName":"publicIp"},"AllocationId":{"locationName":"allocationId"},"PtrRecord":{"locationName":"ptrRecord"},"PtrRecordUpdate":{"locationName":"ptrRecordUpdate","type":"structure","members":{"Value":{"locationName":"value"},"Status":{"locationName":"status"},"Reason":{"locationName":"reason"}}}}},"Suq":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Deadline":{"locationName":"deadline","type":"timestamp"},"Resource":{"locationName":"resource"},"UseLongIds":{"locationName":"useLongIds","type":"boolean"}}}},"Svq":{"type":"list","member":{"locationName":"InstanceId"}},"Sw5":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"Sxa":{"type":"structure","members":{"ConversionTaskId":{"locationName":"conversionTaskId"},"ExpirationTime":{"locationName":"expirationTime"},"ImportInstance":{"locationName":"importInstance","type":"structure","members":{"Description":{"locationName":"description"},"InstanceId":{"locationName":"instanceId"},"Platform":{"locationName":"platform"},"Volumes":{"locationName":"volumes","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"BytesConverted":{"locationName":"bytesConverted","type":"long"},"Description":{"locationName":"description"},"Image":{"shape":"Sxe","locationName":"image"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Volume":{"shape":"Sxf","locationName":"volume"}}}}}},"ImportVolume":{"locationName":"importVolume","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"BytesConverted":{"locationName":"bytesConverted","type":"long"},"Description":{"locationName":"description"},"Image":{"shape":"Sxe","locationName":"image"},"Volume":{"shape":"Sxf","locationName":"volume"}}},"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sxe":{"type":"structure","members":{"Checksum":{"locationName":"checksum"},"Format":{"locationName":"format"},"ImportManifestUrl":{"locationName":"importManifestUrl"},"Size":{"locationName":"size","type":"long"}}},"Sxf":{"type":"structure","members":{"Id":{"locationName":"id"},"Size":{"locationName":"size","type":"long"}}},"Syd":{"type":"structure","members":{"S3Bucket":{"locationName":"s3Bucket"},"S3Prefix":{"locationName":"s3Prefix"}}},"Syu":{"type":"structure","members":{"EventDescription":{"locationName":"eventDescription"},"EventSubType":{"locationName":"eventSubType"},"InstanceId":{"locationName":"instanceId"}}},"Syx":{"type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"InstanceType":{"locationName":"instanceType"},"SpotInstanceRequestId":{"locationName":"spotInstanceRequestId"},"InstanceHealth":{"locationName":"instanceHealth"}}}},"Szq":{"type":"structure","members":{"FpgaImageId":{"locationName":"fpgaImageId"},"Name":{"locationName":"name"},"Description":{"locationName":"description"},"LoadPermissions":{"locationName":"loadPermissions","type":"list","member":{"locationName":"item","type":"structure","members":{"UserId":{"locationName":"userId"},"Group":{"locationName":"group"}}}},"ProductCodes":{"shape":"Szu","locationName":"productCodes"}}},"Szu":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ProductCodeId":{"locationName":"productCode"},"ProductCodeType":{"locationName":"type"}}}},"Szz":{"type":"list","member":{"locationName":"Owner"}},"S10k":{"type":"list","member":{"locationName":"item"}},"S10n":{"type":"list","member":{"locationName":"item"}},"S11c":{"type":"list","member":{"shape":"Sce","locationName":"item"}},"S11d":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Group":{"locationName":"group"},"UserId":{"locationName":"userId"},"OrganizationArn":{"locationName":"organizationArn"},"OrganizationalUnitArn":{"locationName":"organizationalUnitArn"}}}},"S11q":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S11z":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"DeviceName":{"locationName":"deviceName"},"DiskImageSize":{"locationName":"diskImageSize","type":"double"},"Format":{"locationName":"format"},"Progress":{"locationName":"progress"},"SnapshotId":{"locationName":"snapshotId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Url":{"locationName":"url"},"UserBucket":{"shape":"S121","locationName":"userBucket"}}}},"S121":{"type":"structure","members":{"S3Bucket":{"locationName":"s3Bucket"},"S3Key":{"locationName":"s3Key"}}},"S122":{"type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{"locationName":"licenseConfigurationArn"}}}},"S12a":{"type":"structure","members":{"Description":{"locationName":"description"},"DiskImageSize":{"locationName":"diskImageSize","type":"double"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"Format":{"locationName":"format"},"KmsKeyId":{"locationName":"kmsKeyId"},"Progress":{"locationName":"progress"},"SnapshotId":{"locationName":"snapshotId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Url":{"locationName":"url"},"UserBucket":{"shape":"S121","locationName":"userBucket"}}},"S12e":{"type":"list","member":{"locationName":"item","type":"structure","members":{"DeviceName":{"locationName":"deviceName"},"Ebs":{"locationName":"ebs","type":"structure","members":{"AttachTime":{"locationName":"attachTime","type":"timestamp"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Status":{"locationName":"status"},"VolumeId":{"locationName":"volumeId"}}}}}},"S12h":{"type":"structure","members":{"Value":{"locationName":"value","type":"boolean"}}},"S12i":{"type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"S130":{"type":"structure","members":{"InstanceEventId":{"locationName":"instanceEventId"},"Code":{"locationName":"code"},"Description":{"locationName":"description"},"NotAfter":{"locationName":"notAfter","type":"timestamp"},"NotBefore":{"locationName":"notBefore","type":"timestamp"},"NotBeforeDeadline":{"locationName":"notBeforeDeadline","type":"timestamp"}}},"S133":{"type":"structure","members":{"Code":{"locationName":"code","type":"integer"},"Name":{"locationName":"name"}}},"S135":{"type":"structure","members":{"Details":{"locationName":"details","type":"list","member":{"locationName":"item","type":"structure","members":{"ImpairedSince":{"locationName":"impairedSince","type":"timestamp"},"Name":{"locationName":"name"},"Status":{"locationName":"status"}}}},"Status":{"locationName":"status"}}},"S169":{"type":"structure","members":{"Groups":{"shape":"Sie","locationName":"groupSet"},"Instances":{"locationName":"instancesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AmiLaunchIndex":{"locationName":"amiLaunchIndex","type":"integer"},"ImageId":{"locationName":"imageId"},"InstanceId":{"locationName":"instanceId"},"InstanceType":{"locationName":"instanceType"},"KernelId":{"locationName":"kernelId"},"KeyName":{"locationName":"keyName"},"LaunchTime":{"locationName":"launchTime","type":"timestamp"},"Monitoring":{"shape":"S16c","locationName":"monitoring"},"Placement":{"shape":"Sai","locationName":"placement"},"Platform":{"locationName":"platform"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"ProductCodes":{"shape":"Szu","locationName":"productCodes"},"PublicDnsName":{"locationName":"dnsName"},"PublicIpAddress":{"locationName":"ipAddress"},"RamdiskId":{"locationName":"ramdiskId"},"State":{"shape":"S133","locationName":"instanceState"},"StateTransitionReason":{"locationName":"reason"},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"},"Architecture":{"locationName":"architecture"},"BlockDeviceMappings":{"shape":"S12e","locationName":"blockDeviceMapping"},"ClientToken":{"locationName":"clientToken"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"EnaSupport":{"locationName":"enaSupport","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"IamInstanceProfile":{"shape":"S39","locationName":"iamInstanceProfile"},"InstanceLifecycle":{"locationName":"instanceLifecycle"},"ElasticGpuAssociations":{"locationName":"elasticGpuAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ElasticGpuId":{"locationName":"elasticGpuId"},"ElasticGpuAssociationId":{"locationName":"elasticGpuAssociationId"},"ElasticGpuAssociationState":{"locationName":"elasticGpuAssociationState"},"ElasticGpuAssociationTime":{"locationName":"elasticGpuAssociationTime"}}}},"ElasticInferenceAcceleratorAssociations":{"locationName":"elasticInferenceAcceleratorAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ElasticInferenceAcceleratorArn":{"locationName":"elasticInferenceAcceleratorArn"},"ElasticInferenceAcceleratorAssociationId":{"locationName":"elasticInferenceAcceleratorAssociationId"},"ElasticInferenceAcceleratorAssociationState":{"locationName":"elasticInferenceAcceleratorAssociationState"},"ElasticInferenceAcceleratorAssociationTime":{"locationName":"elasticInferenceAcceleratorAssociationTime","type":"timestamp"}}}},"NetworkInterfaces":{"locationName":"networkInterfaceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Association":{"shape":"S16l","locationName":"association"},"Attachment":{"locationName":"attachment","type":"structure","members":{"AttachTime":{"locationName":"attachTime","type":"timestamp"},"AttachmentId":{"locationName":"attachmentId"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"Status":{"locationName":"status"},"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"}}},"Description":{"locationName":"description"},"Groups":{"shape":"Sie","locationName":"groupSet"},"Ipv6Addresses":{"shape":"Sfp","locationName":"ipv6AddressesSet"},"MacAddress":{"locationName":"macAddress"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"OwnerId":{"locationName":"ownerId"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"locationName":"privateIpAddressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Association":{"shape":"S16l","locationName":"association"},"Primary":{"locationName":"primary","type":"boolean"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"SourceDestCheck":{"locationName":"sourceDestCheck","type":"boolean"},"Status":{"locationName":"status"},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"},"InterfaceType":{"locationName":"interfaceType"},"Ipv4Prefixes":{"locationName":"ipv4PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv4Prefix":{"locationName":"ipv4Prefix"}}}},"Ipv6Prefixes":{"locationName":"ipv6PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Prefix":{"locationName":"ipv6Prefix"}}}}}}},"OutpostArn":{"locationName":"outpostArn"},"RootDeviceName":{"locationName":"rootDeviceName"},"RootDeviceType":{"locationName":"rootDeviceType"},"SecurityGroups":{"shape":"Sie","locationName":"groupSet"},"SourceDestCheck":{"locationName":"sourceDestCheck","type":"boolean"},"SpotInstanceRequestId":{"locationName":"spotInstanceRequestId"},"SriovNetSupport":{"locationName":"sriovNetSupport"},"StateReason":{"shape":"S11q","locationName":"stateReason"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VirtualizationType":{"locationName":"virtualizationType"},"CpuOptions":{"locationName":"cpuOptions","type":"structure","members":{"CoreCount":{"locationName":"coreCount","type":"integer"},"ThreadsPerCore":{"locationName":"threadsPerCore","type":"integer"}}},"CapacityReservationId":{"locationName":"capacityReservationId"},"CapacityReservationSpecification":{"locationName":"capacityReservationSpecification","type":"structure","members":{"CapacityReservationPreference":{"locationName":"capacityReservationPreference"},"CapacityReservationTarget":{"shape":"Sg8","locationName":"capacityReservationTarget"}}},"HibernationOptions":{"locationName":"hibernationOptions","type":"structure","members":{"Configured":{"locationName":"configured","type":"boolean"}}},"Licenses":{"locationName":"licenseSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{"locationName":"licenseConfigurationArn"}}}},"MetadataOptions":{"shape":"S16y","locationName":"metadataOptions"},"EnclaveOptions":{"shape":"S12i","locationName":"enclaveOptions"},"BootMode":{"locationName":"bootMode"},"PlatformDetails":{"locationName":"platformDetails"},"UsageOperation":{"locationName":"usageOperation"},"UsageOperationUpdateTime":{"locationName":"usageOperationUpdateTime","type":"timestamp"},"PrivateDnsNameOptions":{"locationName":"privateDnsNameOptions","type":"structure","members":{"HostnameType":{"locationName":"hostnameType"},"EnableResourceNameDnsARecord":{"locationName":"enableResourceNameDnsARecord","type":"boolean"},"EnableResourceNameDnsAAAARecord":{"locationName":"enableResourceNameDnsAAAARecord","type":"boolean"}}},"Ipv6Address":{"locationName":"ipv6Address"}}}},"OwnerId":{"locationName":"ownerId"},"RequesterId":{"locationName":"requesterId"},"ReservationId":{"locationName":"reservationId"}}},"S16c":{"type":"structure","members":{"State":{"locationName":"state"}}},"S16l":{"type":"structure","members":{"CarrierIp":{"locationName":"carrierIp"},"CustomerOwnedIp":{"locationName":"customerOwnedIp"},"IpOwnerId":{"locationName":"ipOwnerId"},"PublicDnsName":{"locationName":"publicDnsName"},"PublicIp":{"locationName":"publicIp"}}},"S16y":{"type":"structure","members":{"State":{"locationName":"state"},"HttpTokens":{"locationName":"httpTokens"},"HttpPutResponseHopLimit":{"locationName":"httpPutResponseHopLimit","type":"integer"},"HttpEndpoint":{"locationName":"httpEndpoint"},"HttpProtocolIpv6":{"locationName":"httpProtocolIpv6"}}},"S18r":{"type":"list","member":{"locationName":"item"}},"S19r":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysisId":{"locationName":"networkInsightsAccessScopeAnalysisId"},"NetworkInsightsAccessScopeAnalysisArn":{"locationName":"networkInsightsAccessScopeAnalysisArn"},"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"WarningMessage":{"locationName":"warningMessage"},"StartDate":{"locationName":"startDate","type":"timestamp"},"EndDate":{"locationName":"endDate","type":"timestamp"},"FindingsFound":{"locationName":"findingsFound"},"AnalyzedEniCount":{"locationName":"analyzedEniCount","type":"integer"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S1a2":{"type":"structure","members":{"NetworkInsightsAnalysisId":{"locationName":"networkInsightsAnalysisId"},"NetworkInsightsAnalysisArn":{"locationName":"networkInsightsAnalysisArn"},"NetworkInsightsPathId":{"locationName":"networkInsightsPathId"},"FilterInArns":{"shape":"S1a3","locationName":"filterInArnSet"},"StartDate":{"locationName":"startDate","type":"timestamp"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"WarningMessage":{"locationName":"warningMessage"},"NetworkPathFound":{"locationName":"networkPathFound","type":"boolean"},"ForwardPathComponents":{"shape":"S1a4","locationName":"forwardPathComponentSet"},"ReturnPathComponents":{"shape":"S1a4","locationName":"returnPathComponentSet"},"Explanations":{"locationName":"explanationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Acl":{"shape":"S1a7","locationName":"acl"},"AclRule":{"shape":"S1a6","locationName":"aclRule"},"Address":{"locationName":"address"},"Addresses":{"shape":"S1a9","locationName":"addressSet"},"AttachedTo":{"shape":"S1a7","locationName":"attachedTo"},"AvailabilityZones":{"shape":"Se","locationName":"availabilityZoneSet"},"Cidrs":{"shape":"Se","locationName":"cidrSet"},"Component":{"shape":"S1a7","locationName":"component"},"CustomerGateway":{"shape":"S1a7","locationName":"customerGateway"},"Destination":{"shape":"S1a7","locationName":"destination"},"DestinationVpc":{"shape":"S1a7","locationName":"destinationVpc"},"Direction":{"locationName":"direction"},"ExplanationCode":{"locationName":"explanationCode"},"IngressRouteTable":{"shape":"S1a7","locationName":"ingressRouteTable"},"InternetGateway":{"shape":"S1a7","locationName":"internetGateway"},"LoadBalancerArn":{"locationName":"loadBalancerArn"},"ClassicLoadBalancerListener":{"locationName":"classicLoadBalancerListener","type":"structure","members":{"LoadBalancerPort":{"locationName":"loadBalancerPort","type":"integer"},"InstancePort":{"locationName":"instancePort","type":"integer"}}},"LoadBalancerListenerPort":{"locationName":"loadBalancerListenerPort","type":"integer"},"LoadBalancerTarget":{"locationName":"loadBalancerTarget","type":"structure","members":{"Address":{"locationName":"address"},"AvailabilityZone":{"locationName":"availabilityZone"},"Instance":{"shape":"S1a7","locationName":"instance"},"Port":{"locationName":"port","type":"integer"}}},"LoadBalancerTargetGroup":{"shape":"S1a7","locationName":"loadBalancerTargetGroup"},"LoadBalancerTargetGroups":{"shape":"S1ah","locationName":"loadBalancerTargetGroupSet"},"LoadBalancerTargetPort":{"locationName":"loadBalancerTargetPort","type":"integer"},"ElasticLoadBalancerListener":{"shape":"S1a7","locationName":"elasticLoadBalancerListener"},"MissingComponent":{"locationName":"missingComponent"},"NatGateway":{"shape":"S1a7","locationName":"natGateway"},"NetworkInterface":{"shape":"S1a7","locationName":"networkInterface"},"PacketField":{"locationName":"packetField"},"VpcPeeringConnection":{"shape":"S1a7","locationName":"vpcPeeringConnection"},"Port":{"locationName":"port","type":"integer"},"PortRanges":{"shape":"S1aa","locationName":"portRangeSet"},"PrefixList":{"shape":"S1a7","locationName":"prefixList"},"Protocols":{"locationName":"protocolSet","type":"list","member":{"locationName":"item"}},"RouteTableRoute":{"shape":"S1ab","locationName":"routeTableRoute"},"RouteTable":{"shape":"S1a7","locationName":"routeTable"},"SecurityGroup":{"shape":"S1a7","locationName":"securityGroup"},"SecurityGroupRule":{"shape":"S1ac","locationName":"securityGroupRule"},"SecurityGroups":{"shape":"S1ah","locationName":"securityGroupSet"},"SourceVpc":{"shape":"S1a7","locationName":"sourceVpc"},"State":{"locationName":"state"},"Subnet":{"shape":"S1a7","locationName":"subnet"},"SubnetRouteTable":{"shape":"S1a7","locationName":"subnetRouteTable"},"Vpc":{"shape":"S1a7","locationName":"vpc"},"VpcEndpoint":{"shape":"S1a7","locationName":"vpcEndpoint"},"VpnConnection":{"shape":"S1a7","locationName":"vpnConnection"},"VpnGateway":{"shape":"S1a7","locationName":"vpnGateway"}}}},"AlternatePathHints":{"locationName":"alternatePathHintSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ComponentId":{"locationName":"componentId"},"ComponentArn":{"locationName":"componentArn"}}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S1a3":{"type":"list","member":{"locationName":"item"}},"S1a4":{"type":"list","member":{"locationName":"item","type":"structure","members":{"SequenceNumber":{"locationName":"sequenceNumber","type":"integer"},"AclRule":{"shape":"S1a6","locationName":"aclRule"},"AttachedTo":{"shape":"S1a7","locationName":"attachedTo"},"Component":{"shape":"S1a7","locationName":"component"},"DestinationVpc":{"shape":"S1a7","locationName":"destinationVpc"},"OutboundHeader":{"shape":"S1a8","locationName":"outboundHeader"},"InboundHeader":{"shape":"S1a8","locationName":"inboundHeader"},"RouteTableRoute":{"shape":"S1ab","locationName":"routeTableRoute"},"SecurityGroupRule":{"shape":"S1ac","locationName":"securityGroupRule"},"SourceVpc":{"shape":"S1a7","locationName":"sourceVpc"},"Subnet":{"shape":"S1a7","locationName":"subnet"},"Vpc":{"shape":"S1a7","locationName":"vpc"}}}},"S1a6":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"Egress":{"locationName":"egress","type":"boolean"},"PortRange":{"shape":"Shd","locationName":"portRange"},"Protocol":{"locationName":"protocol"},"RuleAction":{"locationName":"ruleAction"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}},"S1a7":{"type":"structure","members":{"Id":{"locationName":"id"},"Arn":{"locationName":"arn"},"Name":{"locationName":"name"}}},"S1a8":{"type":"structure","members":{"DestinationAddresses":{"shape":"S1a9","locationName":"destinationAddressSet"},"DestinationPortRanges":{"shape":"S1aa","locationName":"destinationPortRangeSet"},"Protocol":{"locationName":"protocol"},"SourceAddresses":{"shape":"S1a9","locationName":"sourceAddressSet"},"SourcePortRanges":{"shape":"S1aa","locationName":"sourcePortRangeSet"}}},"S1a9":{"type":"list","member":{"locationName":"item"}},"S1aa":{"type":"list","member":{"shape":"Shd","locationName":"item"}},"S1ab":{"type":"structure","members":{"DestinationCidr":{"locationName":"destinationCidr"},"DestinationPrefixListId":{"locationName":"destinationPrefixListId"},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"GatewayId":{"locationName":"gatewayId"},"InstanceId":{"locationName":"instanceId"},"NatGatewayId":{"locationName":"natGatewayId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"Origin":{"locationName":"origin"},"TransitGatewayId":{"locationName":"transitGatewayId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"S1ac":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"Direction":{"locationName":"direction"},"SecurityGroupId":{"locationName":"securityGroupId"},"PortRange":{"shape":"Shd","locationName":"portRange"},"PrefixListId":{"locationName":"prefixListId"},"Protocol":{"locationName":"protocol"}}},"S1ah":{"type":"list","member":{"shape":"S1a7","locationName":"item"}},"S1bq":{"type":"structure","members":{"FirstAddress":{"locationName":"firstAddress"},"LastAddress":{"locationName":"lastAddress"},"AddressCount":{"locationName":"addressCount","type":"integer"},"AvailableAddressCount":{"locationName":"availableAddressCount","type":"integer"}}},"S1c3":{"type":"list","member":{"locationName":"ReservedInstancesId"}},"S1cb":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Amount":{"locationName":"amount","type":"double"},"Frequency":{"locationName":"frequency"}}}},"S1cp":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"InstanceType":{"locationName":"instanceType"},"Platform":{"locationName":"platform"},"Scope":{"locationName":"scope"}}},"S1dc":{"type":"structure","members":{"Frequency":{"locationName":"frequency"},"Interval":{"locationName":"interval","type":"integer"},"OccurrenceDaySet":{"locationName":"occurrenceDaySet","type":"list","member":{"locationName":"item","type":"integer"}},"OccurrenceRelativeToEnd":{"locationName":"occurrenceRelativeToEnd","type":"boolean"},"OccurrenceUnit":{"locationName":"occurrenceUnit"}}},"S1dk":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"InstanceType":{"locationName":"instanceType"},"NetworkPlatform":{"locationName":"networkPlatform"},"NextSlotStartTime":{"locationName":"nextSlotStartTime","type":"timestamp"},"Platform":{"locationName":"platform"},"PreviousSlotEndTime":{"locationName":"previousSlotEndTime","type":"timestamp"},"Recurrence":{"shape":"S1dc","locationName":"recurrence"},"ScheduledInstanceId":{"locationName":"scheduledInstanceId"},"SlotDurationInHours":{"locationName":"slotDurationInHours","type":"integer"},"TermEndDate":{"locationName":"termEndDate","type":"timestamp"},"TermStartDate":{"locationName":"termStartDate","type":"timestamp"},"TotalScheduledInstanceHours":{"locationName":"totalScheduledInstanceHours","type":"integer"}}},"S1dr":{"type":"list","member":{"locationName":"item"}},"S1dv":{"type":"list","member":{"locationName":"GroupName"}},"S1e3":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Group":{"locationName":"group"},"UserId":{"locationName":"userId"}}}},"S1ed":{"type":"list","member":{"locationName":"SnapshotId"}},"S1ew":{"type":"structure","required":["IamFleetRole","TargetCapacity"],"members":{"AllocationStrategy":{"locationName":"allocationStrategy"},"OnDemandAllocationStrategy":{"locationName":"onDemandAllocationStrategy"},"SpotMaintenanceStrategies":{"locationName":"spotMaintenanceStrategies","type":"structure","members":{"CapacityRebalance":{"locationName":"capacityRebalance","type":"structure","members":{"ReplacementStrategy":{"locationName":"replacementStrategy"},"TerminationDelay":{"locationName":"terminationDelay","type":"integer"}}}}},"ClientToken":{"locationName":"clientToken"},"ExcessCapacityTerminationPolicy":{"locationName":"excessCapacityTerminationPolicy"},"FulfilledCapacity":{"locationName":"fulfilledCapacity","type":"double"},"OnDemandFulfilledCapacity":{"locationName":"onDemandFulfilledCapacity","type":"double"},"IamFleetRole":{"locationName":"iamFleetRole"},"LaunchSpecifications":{"locationName":"launchSpecifications","type":"list","member":{"locationName":"item","type":"structure","members":{"SecurityGroups":{"shape":"Sie","locationName":"groupSet"},"AddressingType":{"locationName":"addressingType"},"BlockDeviceMappings":{"shape":"S11c","locationName":"blockDeviceMapping"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"shape":"S36","locationName":"iamInstanceProfile"},"ImageId":{"locationName":"imageId"},"InstanceType":{"locationName":"instanceType"},"KernelId":{"locationName":"kernelId"},"KeyName":{"locationName":"keyName"},"Monitoring":{"locationName":"monitoring","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"NetworkInterfaces":{"shape":"S1f6","locationName":"networkInterfaceSet"},"Placement":{"shape":"S1f8","locationName":"placement"},"RamdiskId":{"locationName":"ramdiskId"},"SpotPrice":{"locationName":"spotPrice"},"SubnetId":{"locationName":"subnetId"},"UserData":{"locationName":"userData"},"WeightedCapacity":{"locationName":"weightedCapacity","type":"double"},"TagSpecifications":{"locationName":"tagSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceType":{"locationName":"resourceType"},"Tags":{"shape":"Ss","locationName":"tag"}}}},"InstanceRequirements":{"shape":"Sbm","locationName":"instanceRequirements"}}}},"LaunchTemplateConfigs":{"shape":"S1fb","locationName":"launchTemplateConfigs"},"SpotPrice":{"locationName":"spotPrice"},"TargetCapacity":{"locationName":"targetCapacity","type":"integer"},"OnDemandTargetCapacity":{"locationName":"onDemandTargetCapacity","type":"integer"},"OnDemandMaxTotalPrice":{"locationName":"onDemandMaxTotalPrice"},"SpotMaxTotalPrice":{"locationName":"spotMaxTotalPrice"},"TerminateInstancesWithExpiration":{"locationName":"terminateInstancesWithExpiration","type":"boolean"},"Type":{"locationName":"type"},"ValidFrom":{"locationName":"validFrom","type":"timestamp"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"ReplaceUnhealthyInstances":{"locationName":"replaceUnhealthyInstances","type":"boolean"},"InstanceInterruptionBehavior":{"locationName":"instanceInterruptionBehavior"},"LoadBalancersConfig":{"locationName":"loadBalancersConfig","type":"structure","members":{"ClassicLoadBalancersConfig":{"locationName":"classicLoadBalancersConfig","type":"structure","members":{"ClassicLoadBalancers":{"locationName":"classicLoadBalancers","type":"list","member":{"locationName":"item","type":"structure","members":{"Name":{"locationName":"name"}}}}}},"TargetGroupsConfig":{"locationName":"targetGroupsConfig","type":"structure","members":{"TargetGroups":{"locationName":"targetGroups","type":"list","member":{"locationName":"item","type":"structure","members":{"Arn":{"locationName":"arn"}}}}}}}},"InstancePoolsToUseCount":{"locationName":"instancePoolsToUseCount","type":"integer"},"Context":{"locationName":"context"},"TargetCapacityUnitType":{"locationName":"targetCapacityUnitType"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"S1f6":{"type":"list","member":{"locationName":"item","type":"structure","members":{"AssociatePublicIpAddress":{"locationName":"associatePublicIpAddress","type":"boolean"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Description":{"locationName":"description"},"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"Groups":{"shape":"Se4","locationName":"SecurityGroupId"},"Ipv6AddressCount":{"locationName":"ipv6AddressCount","type":"integer"},"Ipv6Addresses":{"shape":"Sfp","locationName":"ipv6AddressesSet","queryName":"Ipv6Addresses"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"shape":"Se7","locationName":"privateIpAddressesSet","queryName":"PrivateIpAddresses"},"SecondaryPrivateIpAddressCount":{"locationName":"secondaryPrivateIpAddressCount","type":"integer"},"SubnetId":{"locationName":"subnetId"},"AssociateCarrierIpAddress":{"type":"boolean"},"InterfaceType":{},"NetworkCardIndex":{"type":"integer"},"Ipv4Prefixes":{"shape":"Se9","locationName":"Ipv4Prefix"},"Ipv4PrefixCount":{"type":"integer"},"Ipv6Prefixes":{"shape":"Seb","locationName":"Ipv6Prefix"},"Ipv6PrefixCount":{"type":"integer"}}}},"S1f8":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"GroupName":{"locationName":"groupName"},"Tenancy":{"locationName":"tenancy"}}},"S1fb":{"type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateSpecification":{"shape":"Sbj","locationName":"launchTemplateSpecification"},"Overrides":{"locationName":"overrides","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{"locationName":"instanceType"},"SpotPrice":{"locationName":"spotPrice"},"SubnetId":{"locationName":"subnetId"},"AvailabilityZone":{"locationName":"availabilityZone"},"WeightedCapacity":{"locationName":"weightedCapacity","type":"double"},"Priority":{"locationName":"priority","type":"double"},"InstanceRequirements":{"shape":"Sbm","locationName":"instanceRequirements"}}}}}}},"S1fo":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ActualBlockHourlyPrice":{"locationName":"actualBlockHourlyPrice"},"AvailabilityZoneGroup":{"locationName":"availabilityZoneGroup"},"BlockDurationMinutes":{"locationName":"blockDurationMinutes","type":"integer"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"Fault":{"shape":"Sk8","locationName":"fault"},"InstanceId":{"locationName":"instanceId"},"LaunchGroup":{"locationName":"launchGroup"},"LaunchSpecification":{"locationName":"launchSpecification","type":"structure","members":{"UserData":{"locationName":"userData"},"SecurityGroups":{"shape":"Sie","locationName":"groupSet"},"AddressingType":{"locationName":"addressingType"},"BlockDeviceMappings":{"shape":"S11c","locationName":"blockDeviceMapping"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"shape":"S36","locationName":"iamInstanceProfile"},"ImageId":{"locationName":"imageId"},"InstanceType":{"locationName":"instanceType"},"KernelId":{"locationName":"kernelId"},"KeyName":{"locationName":"keyName"},"NetworkInterfaces":{"shape":"S1f6","locationName":"networkInterfaceSet"},"Placement":{"shape":"S1f8","locationName":"placement"},"RamdiskId":{"locationName":"ramdiskId"},"SubnetId":{"locationName":"subnetId"},"Monitoring":{"shape":"S1fr","locationName":"monitoring"}}},"LaunchedAvailabilityZone":{"locationName":"launchedAvailabilityZone"},"ProductDescription":{"locationName":"productDescription"},"SpotInstanceRequestId":{"locationName":"spotInstanceRequestId"},"SpotPrice":{"locationName":"spotPrice"},"State":{"locationName":"state"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"},"UpdateTime":{"locationName":"updateTime","type":"timestamp"}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"Type":{"locationName":"type"},"ValidFrom":{"locationName":"validFrom","type":"timestamp"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"InstanceInterruptionBehavior":{"locationName":"instanceInterruptionBehavior"}}}},"S1fr":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"S1g6":{"type":"list","member":{"locationName":"item","type":"structure","members":{"FromPort":{"locationName":"fromPort","type":"integer"},"IpProtocol":{"locationName":"ipProtocol"},"IpRanges":{"locationName":"ipRanges","type":"list","member":{"locationName":"item"}},"PrefixListIds":{"locationName":"prefixListIds","type":"list","member":{"locationName":"item"}},"ToPort":{"locationName":"toPort","type":"integer"},"UserIdGroupPairs":{"locationName":"groups","type":"list","member":{"shape":"S5h","locationName":"item"}}}}},"S1h4":{"type":"list","member":{}},"S1i8":{"type":"list","member":{"locationName":"VolumeId"}},"S1it":{"type":"structure","members":{"VolumeId":{"locationName":"volumeId"},"ModificationState":{"locationName":"modificationState"},"StatusMessage":{"locationName":"statusMessage"},"TargetSize":{"locationName":"targetSize","type":"integer"},"TargetIops":{"locationName":"targetIops","type":"integer"},"TargetVolumeType":{"locationName":"targetVolumeType"},"TargetThroughput":{"locationName":"targetThroughput","type":"integer"},"TargetMultiAttachEnabled":{"locationName":"targetMultiAttachEnabled","type":"boolean"},"OriginalSize":{"locationName":"originalSize","type":"integer"},"OriginalIops":{"locationName":"originalIops","type":"integer"},"OriginalVolumeType":{"locationName":"originalVolumeType"},"OriginalThroughput":{"locationName":"originalThroughput","type":"integer"},"OriginalMultiAttachEnabled":{"locationName":"originalMultiAttachEnabled","type":"boolean"},"Progress":{"locationName":"progress","type":"long"},"StartTime":{"locationName":"startTime","type":"timestamp"},"EndTime":{"locationName":"endTime","type":"timestamp"}}},"S1iz":{"type":"list","member":{"locationName":"VpcId"}},"S1kp":{"type":"list","member":{"locationName":"AvailabilityZone"}},"S1l6":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"State":{"locationName":"state"}}},"S1nq":{"type":"structure","members":{"InstanceFamily":{"locationName":"instanceFamily"},"CpuCredits":{"locationName":"cpuCredits"}}},"S1o7":{"type":"list","member":{"locationName":"item"}},"S1o9":{"type":"list","member":{"locationName":"item","type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"HostIdSet":{"shape":"S10k","locationName":"hostIdSet"},"HostReservationId":{"locationName":"hostReservationId"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceFamily":{"locationName":"instanceFamily"},"PaymentOption":{"locationName":"paymentOption"},"UpfrontPrice":{"locationName":"upfrontPrice"}}}},"S1oc":{"type":"list","member":{"locationName":"item"}},"S1od":{"type":"list","member":{"locationName":"item"}},"S1p0":{"type":"structure","members":{"IpamId":{"locationName":"ipamId"},"IpamScopeId":{"locationName":"ipamScopeId"},"IpamPoolId":{"locationName":"ipamPoolId"},"ResourceRegion":{"locationName":"resourceRegion"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"ResourceId":{"locationName":"resourceId"},"ResourceName":{"locationName":"resourceName"},"ResourceCidr":{"locationName":"resourceCidr"},"ResourceType":{"locationName":"resourceType"},"ResourceTags":{"shape":"Sdk","locationName":"resourceTagSet"},"IpUsage":{"locationName":"ipUsage","type":"double"},"ComplianceStatus":{"locationName":"complianceStatus"},"ManagementState":{"locationName":"managementState"},"OverlapStatus":{"locationName":"overlapStatus"},"VpcId":{"locationName":"vpcId"}}},"S1po":{"type":"structure","members":{"HourlyPrice":{"locationName":"hourlyPrice"},"RemainingTotalValue":{"locationName":"remainingTotalValue"},"RemainingUpfrontValue":{"locationName":"remainingUpfrontValue"}}},"S1q8":{"type":"list","member":{"shape":"Skj","locationName":"item"}},"S1r4":{"type":"structure","members":{"Comment":{},"UploadEnd":{"type":"timestamp"},"UploadSize":{"type":"double"},"UploadStart":{"type":"timestamp"}}},"S1r7":{"type":"structure","members":{"S3Bucket":{},"S3Key":{}}},"S1re":{"type":"structure","required":["Bytes","Format","ImportManifestUrl"],"members":{"Bytes":{"locationName":"bytes","type":"long"},"Format":{"locationName":"format"},"ImportManifestUrl":{"locationName":"importManifestUrl"}}},"S1rf":{"type":"structure","required":["Size"],"members":{"Size":{"locationName":"size","type":"long"}}},"S1sf":{"type":"list","member":{"locationName":"UserId"}},"S1sg":{"type":"list","member":{"locationName":"UserGroup"}},"S1sh":{"type":"list","member":{"locationName":"ProductCode"}},"S1sj":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Group":{},"UserId":{}}}},"S1so":{"type":"list","member":{"shape":"S17","locationName":"item"}},"S1t1":{"type":"structure","members":{"CapacityReservationPreference":{},"CapacityReservationTarget":{"shape":"Sf0"}}},"S1vk":{"type":"structure","members":{"AllowDnsResolutionFromRemoteVpc":{"type":"boolean"},"AllowEgressFromLocalClassicLinkToRemoteVpc":{"type":"boolean"},"AllowEgressFromLocalVpcToRemoteClassicLink":{"type":"boolean"}}},"S1vm":{"type":"structure","members":{"AllowDnsResolutionFromRemoteVpc":{"locationName":"allowDnsResolutionFromRemoteVpc","type":"boolean"},"AllowEgressFromLocalClassicLinkToRemoteVpc":{"locationName":"allowEgressFromLocalClassicLinkToRemoteVpc","type":"boolean"},"AllowEgressFromLocalVpcToRemoteClassicLink":{"locationName":"allowEgressFromLocalVpcToRemoteClassicLink","type":"boolean"}}},"S1w1":{"type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"Monitoring":{"shape":"S16c","locationName":"monitoring"}}}},"S1zj":{"type":"list","member":{"locationName":"SecurityGroupId"}},"S207":{"type":"list","member":{"locationName":"item","type":"structure","members":{"CurrentState":{"shape":"S133","locationName":"currentState"},"InstanceId":{"locationName":"instanceId"},"PreviousState":{"shape":"S133","locationName":"previousState"}}}},"S20t":{"type":"list","member":{"locationName":"item","type":"structure","members":{"SecurityGroupRuleId":{},"Description":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-11-15","endpointPrefix":"ec2","protocol":"ec2","serviceAbbreviation":"Amazon EC2","serviceFullName":"Amazon Elastic Compute Cloud","serviceId":"EC2","signatureVersion":"v4","uid":"ec2-2016-11-15","xmlNamespace":"http://ec2.amazonaws.com/doc/2016-11-15"},"operations":{"AcceptReservedInstancesExchangeQuote":{"input":{"type":"structure","required":["ReservedInstanceIds"],"members":{"DryRun":{"type":"boolean"},"ReservedInstanceIds":{"shape":"S3","locationName":"ReservedInstanceId"},"TargetConfigurations":{"shape":"S5","locationName":"TargetConfiguration"}}},"output":{"type":"structure","members":{"ExchangeId":{"locationName":"exchangeId"}}}},"AcceptTransitGatewayMulticastDomainAssociations":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"TransitGatewayAttachmentId":{},"SubnetIds":{"shape":"Se"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"shape":"Sg","locationName":"associations"}}}},"AcceptTransitGatewayPeeringAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachment":{"shape":"Sn","locationName":"transitGatewayPeeringAttachment"}}}},"AcceptTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"AcceptVpcEndpointConnections":{"input":{"type":"structure","required":["ServiceId","VpcEndpointIds"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"VpcEndpointIds":{"shape":"S13","locationName":"VpcEndpointId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"AcceptVpcPeeringConnection":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"output":{"type":"structure","members":{"VpcPeeringConnection":{"shape":"S1c","locationName":"vpcPeeringConnection"}}}},"AdvertiseByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}},"AllocateAddress":{"input":{"type":"structure","members":{"Domain":{},"Address":{},"PublicIpv4Pool":{},"NetworkBorderGroup":{},"CustomerOwnedIpv4Pool":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"PublicIp":{"locationName":"publicIp"},"AllocationId":{"locationName":"allocationId"},"PublicIpv4Pool":{"locationName":"publicIpv4Pool"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"Domain":{"locationName":"domain"},"CustomerOwnedIp":{"locationName":"customerOwnedIp"},"CustomerOwnedIpv4Pool":{"locationName":"customerOwnedIpv4Pool"},"CarrierIp":{"locationName":"carrierIp"}}}},"AllocateHosts":{"input":{"type":"structure","required":["AvailabilityZone","Quantity"],"members":{"AutoPlacement":{"locationName":"autoPlacement"},"AvailabilityZone":{"locationName":"availabilityZone"},"ClientToken":{"locationName":"clientToken"},"InstanceType":{"locationName":"instanceType"},"InstanceFamily":{},"Quantity":{"locationName":"quantity","type":"integer"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"HostRecovery":{}}},"output":{"type":"structure","members":{"HostIds":{"shape":"S21","locationName":"hostIdSet"}}}},"AllocateIpamPoolCidr":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Cidr":{},"NetmaskLength":{"type":"integer"},"ClientToken":{"idempotencyToken":true},"Description":{},"PreviewNextCidr":{"type":"boolean"},"DisallowedCidrs":{"locationName":"DisallowedCidr","type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"IpamPoolAllocation":{"shape":"S26","locationName":"ipamPoolAllocation"}}}},"ApplySecurityGroupsToClientVpnTargetNetwork":{"input":{"type":"structure","required":["ClientVpnEndpointId","VpcId","SecurityGroupIds"],"members":{"ClientVpnEndpointId":{},"VpcId":{},"SecurityGroupIds":{"shape":"S2c","locationName":"SecurityGroupId"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SecurityGroupIds":{"shape":"S2c","locationName":"securityGroupIds"}}}},"AssignIpv6Addresses":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"Ipv6AddressCount":{"locationName":"ipv6AddressCount","type":"integer"},"Ipv6Addresses":{"shape":"S2g","locationName":"ipv6Addresses"},"Ipv6PrefixCount":{"type":"integer"},"Ipv6Prefixes":{"shape":"S2h","locationName":"Ipv6Prefix"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}},"output":{"type":"structure","members":{"AssignedIpv6Addresses":{"shape":"S2g","locationName":"assignedIpv6Addresses"},"AssignedIpv6Prefixes":{"shape":"S2h","locationName":"assignedIpv6PrefixSet"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}}},"AssignPrivateIpAddresses":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"AllowReassignment":{"locationName":"allowReassignment","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddresses":{"shape":"S2l","locationName":"privateIpAddress"},"SecondaryPrivateIpAddressCount":{"locationName":"secondaryPrivateIpAddressCount","type":"integer"},"Ipv4Prefixes":{"shape":"S2h","locationName":"Ipv4Prefix"},"Ipv4PrefixCount":{"type":"integer"}}},"output":{"type":"structure","members":{"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"AssignedPrivateIpAddresses":{"locationName":"assignedPrivateIpAddressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"AssignedIpv4Prefixes":{"shape":"S2p","locationName":"assignedIpv4PrefixSet"}}}},"AssociateAddress":{"input":{"type":"structure","members":{"AllocationId":{},"InstanceId":{},"PublicIp":{},"AllowReassociation":{"locationName":"allowReassociation","type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}},"output":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"}}}},"AssociateClientVpnTargetNetwork":{"input":{"type":"structure","required":["ClientVpnEndpointId","SubnetId"],"members":{"ClientVpnEndpointId":{},"SubnetId":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"Status":{"shape":"S2y","locationName":"status"}}}},"AssociateDhcpOptions":{"input":{"type":"structure","required":["DhcpOptionsId","VpcId"],"members":{"DhcpOptionsId":{},"VpcId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"AssociateEnclaveCertificateIamRole":{"input":{"type":"structure","members":{"CertificateArn":{},"RoleArn":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CertificateS3BucketName":{"locationName":"certificateS3BucketName"},"CertificateS3ObjectKey":{"locationName":"certificateS3ObjectKey"},"EncryptionKmsKeyId":{"locationName":"encryptionKmsKeyId"}}}},"AssociateIamInstanceProfile":{"input":{"type":"structure","required":["IamInstanceProfile","InstanceId"],"members":{"IamInstanceProfile":{"shape":"S36"},"InstanceId":{}}},"output":{"type":"structure","members":{"IamInstanceProfileAssociation":{"shape":"S38","locationName":"iamInstanceProfileAssociation"}}}},"AssociateInstanceEventWindow":{"input":{"type":"structure","required":["InstanceEventWindowId","AssociationTarget"],"members":{"DryRun":{"type":"boolean"},"InstanceEventWindowId":{},"AssociationTarget":{"type":"structure","members":{"InstanceIds":{"shape":"S3e","locationName":"InstanceId"},"InstanceTags":{"shape":"Ss","locationName":"InstanceTag"},"DedicatedHostIds":{"shape":"S3f","locationName":"DedicatedHostId"}}}}},"output":{"type":"structure","members":{"InstanceEventWindow":{"shape":"S3i","locationName":"instanceEventWindow"}}}},"AssociateRouteTable":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableId":{"locationName":"routeTableId"},"SubnetId":{"locationName":"subnetId"},"GatewayId":{}}},"output":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"AssociationState":{"shape":"S3u","locationName":"associationState"}}}},"AssociateSubnetCidrBlock":{"input":{"type":"structure","required":["Ipv6CidrBlock","SubnetId"],"members":{"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"SubnetId":{"locationName":"subnetId"}}},"output":{"type":"structure","members":{"Ipv6CidrBlockAssociation":{"shape":"S3y","locationName":"ipv6CidrBlockAssociation"},"SubnetId":{"locationName":"subnetId"}}}},"AssociateTransitGatewayMulticastDomain":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"TransitGatewayAttachmentId":{},"SubnetIds":{"shape":"S43"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"shape":"Sg","locationName":"associations"}}}},"AssociateTransitGatewayRouteTable":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","TransitGatewayAttachmentId"],"members":{"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Association":{"shape":"S48","locationName":"association"}}}},"AssociateTrunkInterface":{"input":{"type":"structure","required":["BranchInterfaceId","TrunkInterfaceId"],"members":{"BranchInterfaceId":{},"TrunkInterfaceId":{},"VlanId":{"type":"integer"},"GreKey":{"type":"integer"},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"InterfaceAssociation":{"shape":"S4c","locationName":"interfaceAssociation"},"ClientToken":{"locationName":"clientToken"}}}},"AssociateVpcCidrBlock":{"input":{"type":"structure","required":["VpcId"],"members":{"AmazonProvidedIpv6CidrBlock":{"locationName":"amazonProvidedIpv6CidrBlock","type":"boolean"},"CidrBlock":{},"VpcId":{"locationName":"vpcId"},"Ipv6CidrBlockNetworkBorderGroup":{},"Ipv6Pool":{},"Ipv6CidrBlock":{},"Ipv4IpamPoolId":{},"Ipv4NetmaskLength":{"type":"integer"},"Ipv6IpamPoolId":{},"Ipv6NetmaskLength":{"type":"integer"}}},"output":{"type":"structure","members":{"Ipv6CidrBlockAssociation":{"shape":"S4j","locationName":"ipv6CidrBlockAssociation"},"CidrBlockAssociation":{"shape":"S4m","locationName":"cidrBlockAssociation"},"VpcId":{"locationName":"vpcId"}}}},"AttachClassicLinkVpc":{"input":{"type":"structure","required":["Groups","InstanceId","VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Groups":{"shape":"S4o","locationName":"SecurityGroupId"},"InstanceId":{"locationName":"instanceId"},"VpcId":{"locationName":"vpcId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"AttachInternetGateway":{"input":{"type":"structure","required":["InternetGatewayId","VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"InternetGatewayId":{"locationName":"internetGatewayId"},"VpcId":{"locationName":"vpcId"}}}},"AttachNetworkInterface":{"input":{"type":"structure","required":["DeviceIndex","InstanceId","NetworkInterfaceId"],"members":{"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"NetworkCardIndex":{"type":"integer"}}},"output":{"type":"structure","members":{"AttachmentId":{"locationName":"attachmentId"},"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"}}}},"AttachVolume":{"input":{"type":"structure","required":["Device","InstanceId","VolumeId"],"members":{"Device":{},"InstanceId":{},"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"shape":"S4w"}},"AttachVpnGateway":{"input":{"type":"structure","required":["VpcId","VpnGatewayId"],"members":{"VpcId":{},"VpnGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpcAttachment":{"shape":"S51","locationName":"attachment"}}}},"AuthorizeClientVpnIngress":{"input":{"type":"structure","required":["ClientVpnEndpointId","TargetNetworkCidr"],"members":{"ClientVpnEndpointId":{},"TargetNetworkCidr":{},"AccessGroupId":{},"AuthorizeAllGroups":{"type":"boolean"},"Description":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S55","locationName":"status"}}}},"AuthorizeSecurityGroupEgress":{"input":{"type":"structure","required":["GroupId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupId":{"locationName":"groupId"},"IpPermissions":{"shape":"S58","locationName":"ipPermissions"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"CidrIp":{"locationName":"cidrIp"},"FromPort":{"locationName":"fromPort","type":"integer"},"IpProtocol":{"locationName":"ipProtocol"},"ToPort":{"locationName":"toPort","type":"integer"},"SourceSecurityGroupName":{"locationName":"sourceSecurityGroupName"},"SourceSecurityGroupOwnerId":{"locationName":"sourceSecurityGroupOwnerId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"SecurityGroupRules":{"shape":"S5j","locationName":"securityGroupRuleSet"}}}},"AuthorizeSecurityGroupIngress":{"input":{"type":"structure","members":{"CidrIp":{},"FromPort":{"type":"integer"},"GroupId":{},"GroupName":{},"IpPermissions":{"shape":"S58"},"IpProtocol":{},"SourceSecurityGroupName":{},"SourceSecurityGroupOwnerId":{},"ToPort":{"type":"integer"},"DryRun":{"locationName":"dryRun","type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"SecurityGroupRules":{"shape":"S5j","locationName":"securityGroupRuleSet"}}}},"BundleInstance":{"input":{"type":"structure","required":["InstanceId","Storage"],"members":{"InstanceId":{},"Storage":{"shape":"S5s"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"BundleTask":{"shape":"S5w","locationName":"bundleInstanceTask"}}}},"CancelBundleTask":{"input":{"type":"structure","required":["BundleId"],"members":{"BundleId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"BundleTask":{"shape":"S5w","locationName":"bundleInstanceTask"}}}},"CancelCapacityReservation":{"input":{"type":"structure","required":["CapacityReservationId"],"members":{"CapacityReservationId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"CancelCapacityReservationFleets":{"input":{"type":"structure","required":["CapacityReservationFleetIds"],"members":{"DryRun":{"type":"boolean"},"CapacityReservationFleetIds":{"shape":"S66","locationName":"CapacityReservationFleetId"}}},"output":{"type":"structure","members":{"SuccessfulFleetCancellations":{"locationName":"successfulFleetCancellationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrentFleetState":{"locationName":"currentFleetState"},"PreviousFleetState":{"locationName":"previousFleetState"},"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"}}}},"FailedFleetCancellations":{"locationName":"failedFleetCancellationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"},"CancelCapacityReservationFleetError":{"locationName":"cancelCapacityReservationFleetError","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}},"CancelConversionTask":{"input":{"type":"structure","required":["ConversionTaskId"],"members":{"ConversionTaskId":{"locationName":"conversionTaskId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"ReasonMessage":{"locationName":"reasonMessage"}}}},"CancelExportTask":{"input":{"type":"structure","required":["ExportTaskId"],"members":{"ExportTaskId":{"locationName":"exportTaskId"}}}},"CancelImportTask":{"input":{"type":"structure","members":{"CancelReason":{},"DryRun":{"type":"boolean"},"ImportTaskId":{}}},"output":{"type":"structure","members":{"ImportTaskId":{"locationName":"importTaskId"},"PreviousState":{"locationName":"previousState"},"State":{"locationName":"state"}}}},"CancelReservedInstancesListing":{"input":{"type":"structure","required":["ReservedInstancesListingId"],"members":{"ReservedInstancesListingId":{"locationName":"reservedInstancesListingId"}}},"output":{"type":"structure","members":{"ReservedInstancesListings":{"shape":"S6r","locationName":"reservedInstancesListingsSet"}}}},"CancelSpotFleetRequests":{"input":{"type":"structure","required":["SpotFleetRequestIds","TerminateInstances"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"SpotFleetRequestIds":{"shape":"S73","locationName":"spotFleetRequestId"},"TerminateInstances":{"locationName":"terminateInstances","type":"boolean"}}},"output":{"type":"structure","members":{"SuccessfulFleetRequests":{"locationName":"successfulFleetRequestSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrentSpotFleetRequestState":{"locationName":"currentSpotFleetRequestState"},"PreviousSpotFleetRequestState":{"locationName":"previousSpotFleetRequestState"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}}},"UnsuccessfulFleetRequests":{"locationName":"unsuccessfulFleetRequestSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}}}}}},"CancelSpotInstanceRequests":{"input":{"type":"structure","required":["SpotInstanceRequestIds"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"SpotInstanceRequestIds":{"shape":"S7e","locationName":"SpotInstanceRequestId"}}},"output":{"type":"structure","members":{"CancelledSpotInstanceRequests":{"locationName":"spotInstanceRequestSet","type":"list","member":{"locationName":"item","type":"structure","members":{"SpotInstanceRequestId":{"locationName":"spotInstanceRequestId"},"State":{"locationName":"state"}}}}}}},"ConfirmProductInstance":{"input":{"type":"structure","required":["InstanceId","ProductCode"],"members":{"InstanceId":{},"ProductCode":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"OwnerId":{"locationName":"ownerId"},"Return":{"locationName":"return","type":"boolean"}}}},"CopyFpgaImage":{"input":{"type":"structure","required":["SourceFpgaImageId","SourceRegion"],"members":{"DryRun":{"type":"boolean"},"SourceFpgaImageId":{},"Description":{},"Name":{},"SourceRegion":{},"ClientToken":{}}},"output":{"type":"structure","members":{"FpgaImageId":{"locationName":"fpgaImageId"}}}},"CopyImage":{"input":{"type":"structure","required":["Name","SourceImageId","SourceRegion"],"members":{"ClientToken":{},"Description":{},"Encrypted":{"locationName":"encrypted","type":"boolean"},"KmsKeyId":{"locationName":"kmsKeyId"},"Name":{},"SourceImageId":{},"SourceRegion":{},"DestinationOutpostArn":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"}}}},"CopySnapshot":{"input":{"type":"structure","required":["SourceRegion","SourceSnapshotId"],"members":{"Description":{},"DestinationOutpostArn":{},"DestinationRegion":{"locationName":"destinationRegion"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"KmsKeyId":{"locationName":"kmsKeyId"},"PresignedUrl":{"locationName":"presignedUrl"},"SourceRegion":{},"SourceSnapshotId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"CreateCapacityReservation":{"input":{"type":"structure","required":["InstanceType","InstancePlatform","InstanceCount"],"members":{"ClientToken":{},"InstanceType":{},"InstancePlatform":{},"AvailabilityZone":{},"AvailabilityZoneId":{},"Tenancy":{},"InstanceCount":{"type":"integer"},"EbsOptimized":{"type":"boolean"},"EphemeralStorage":{"type":"boolean"},"EndDate":{"type":"timestamp"},"EndDateType":{},"InstanceMatchCriteria":{},"TagSpecifications":{"shape":"S1t"},"DryRun":{"type":"boolean"},"OutpostArn":{},"PlacementGroupArn":{}}},"output":{"type":"structure","members":{"CapacityReservation":{"shape":"S81","locationName":"capacityReservation"}}}},"CreateCapacityReservationFleet":{"input":{"type":"structure","required":["InstanceTypeSpecifications","TotalTargetCapacity"],"members":{"AllocationStrategy":{},"ClientToken":{"idempotencyToken":true},"InstanceTypeSpecifications":{"locationName":"InstanceTypeSpecification","type":"list","member":{"type":"structure","members":{"InstanceType":{},"InstancePlatform":{},"Weight":{"type":"double"},"AvailabilityZone":{},"AvailabilityZoneId":{},"EbsOptimized":{"type":"boolean"},"Priority":{"type":"integer"}}}},"Tenancy":{},"TotalTargetCapacity":{"type":"integer"},"EndDate":{"type":"timestamp"},"InstanceMatchCriteria":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"},"State":{"locationName":"state"},"TotalTargetCapacity":{"locationName":"totalTargetCapacity","type":"integer"},"TotalFulfilledCapacity":{"locationName":"totalFulfilledCapacity","type":"double"},"InstanceMatchCriteria":{"locationName":"instanceMatchCriteria"},"AllocationStrategy":{"locationName":"allocationStrategy"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"EndDate":{"locationName":"endDate","type":"timestamp"},"Tenancy":{"locationName":"tenancy"},"FleetCapacityReservations":{"shape":"S8d","locationName":"fleetCapacityReservationSet"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"CreateCarrierGateway":{"input":{"type":"structure","required":["VpcId"],"members":{"VpcId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"CarrierGateway":{"shape":"S8h","locationName":"carrierGateway"}}}},"CreateClientVpnEndpoint":{"input":{"type":"structure","required":["ClientCidrBlock","ServerCertificateArn","AuthenticationOptions","ConnectionLogOptions"],"members":{"ClientCidrBlock":{},"ServerCertificateArn":{},"AuthenticationOptions":{"locationName":"Authentication","type":"list","member":{"type":"structure","members":{"Type":{},"ActiveDirectory":{"type":"structure","members":{"DirectoryId":{}}},"MutualAuthentication":{"type":"structure","members":{"ClientRootCertificateChainArn":{}}},"FederatedAuthentication":{"type":"structure","members":{"SAMLProviderArn":{},"SelfServiceSAMLProviderArn":{}}}}}},"ConnectionLogOptions":{"shape":"S8r"},"DnsServers":{"shape":"Se"},"TransportProtocol":{},"VpnPort":{"type":"integer"},"Description":{},"SplitTunnel":{"type":"boolean"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"SecurityGroupIds":{"shape":"S2c","locationName":"SecurityGroupId"},"VpcId":{},"SelfServicePortal":{},"ClientConnectOptions":{"shape":"S8u"},"SessionTimeoutHours":{"type":"integer"},"ClientLoginBannerOptions":{"shape":"S8v"}}},"output":{"type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Status":{"shape":"S8x","locationName":"status"},"DnsName":{"locationName":"dnsName"}}}},"CreateClientVpnRoute":{"input":{"type":"structure","required":["ClientVpnEndpointId","DestinationCidrBlock","TargetVpcSubnetId"],"members":{"ClientVpnEndpointId":{},"DestinationCidrBlock":{},"TargetVpcSubnetId":{},"Description":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S91","locationName":"status"}}}},"CreateCustomerGateway":{"input":{"type":"structure","required":["BgpAsn","Type"],"members":{"BgpAsn":{"type":"integer"},"PublicIp":{"locationName":"IpAddress"},"CertificateArn":{},"Type":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DeviceName":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"CustomerGateway":{"shape":"S96","locationName":"customerGateway"}}}},"CreateDefaultSubnet":{"input":{"type":"structure","required":["AvailabilityZone"],"members":{"AvailabilityZone":{},"DryRun":{"type":"boolean"},"Ipv6Native":{"type":"boolean"}}},"output":{"type":"structure","members":{"Subnet":{"shape":"S99","locationName":"subnet"}}}},"CreateDefaultVpc":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Vpc":{"shape":"S9h","locationName":"vpc"}}}},"CreateDhcpOptions":{"input":{"type":"structure","required":["DhcpConfigurations"],"members":{"DhcpConfigurations":{"locationName":"dhcpConfiguration","type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"Values":{"shape":"Se","locationName":"Value"}}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"DhcpOptions":{"shape":"S9q","locationName":"dhcpOptions"}}}},"CreateEgressOnlyInternetGateway":{"input":{"type":"structure","required":["VpcId"],"members":{"ClientToken":{},"DryRun":{"type":"boolean"},"VpcId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"EgressOnlyInternetGateway":{"shape":"S9x","locationName":"egressOnlyInternetGateway"}}}},"CreateFleet":{"input":{"type":"structure","required":["LaunchTemplateConfigs","TargetCapacitySpecification"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"SpotOptions":{"type":"structure","members":{"AllocationStrategy":{},"MaintenanceStrategies":{"type":"structure","members":{"CapacityRebalance":{"type":"structure","members":{"ReplacementStrategy":{},"TerminationDelay":{"type":"integer"}}}}},"InstanceInterruptionBehavior":{},"InstancePoolsToUseCount":{"type":"integer"},"SingleInstanceType":{"type":"boolean"},"SingleAvailabilityZone":{"type":"boolean"},"MinTargetCapacity":{"type":"integer"},"MaxTotalPrice":{}}},"OnDemandOptions":{"type":"structure","members":{"AllocationStrategy":{},"CapacityReservationOptions":{"type":"structure","members":{"UsageStrategy":{}}},"SingleInstanceType":{"type":"boolean"},"SingleAvailabilityZone":{"type":"boolean"},"MinTargetCapacity":{"type":"integer"},"MaxTotalPrice":{}}},"ExcessCapacityTerminationPolicy":{},"LaunchTemplateConfigs":{"shape":"Sad"},"TargetCapacitySpecification":{"shape":"Sbc"},"TerminateInstancesWithExpiration":{"type":"boolean"},"Type":{},"ValidFrom":{"type":"timestamp"},"ValidUntil":{"type":"timestamp"},"ReplaceUnhealthyInstances":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"Context":{}}},"output":{"type":"structure","members":{"FleetId":{"locationName":"fleetId"},"Errors":{"locationName":"errorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateAndOverrides":{"shape":"Sbk","locationName":"launchTemplateAndOverrides"},"Lifecycle":{"locationName":"lifecycle"},"ErrorCode":{"locationName":"errorCode"},"ErrorMessage":{"locationName":"errorMessage"}}}},"Instances":{"locationName":"fleetInstanceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateAndOverrides":{"shape":"Sbk","locationName":"launchTemplateAndOverrides"},"Lifecycle":{"locationName":"lifecycle"},"InstanceIds":{"shape":"Sc0","locationName":"instanceIds"},"InstanceType":{"locationName":"instanceType"},"Platform":{"locationName":"platform"}}}}}}},"CreateFlowLogs":{"input":{"type":"structure","required":["ResourceIds","ResourceType","TrafficType"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"DeliverLogsPermissionArn":{},"LogGroupName":{},"ResourceIds":{"locationName":"ResourceId","type":"list","member":{"locationName":"item"}},"ResourceType":{},"TrafficType":{},"LogDestinationType":{},"LogDestination":{},"LogFormat":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"MaxAggregationInterval":{"type":"integer"},"DestinationOptions":{"type":"structure","members":{"FileFormat":{},"HiveCompatiblePartitions":{"type":"boolean"},"PerHourPartition":{"type":"boolean"}}}}},"output":{"type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"FlowLogIds":{"shape":"Se","locationName":"flowLogIdSet"},"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"CreateFpgaImage":{"input":{"type":"structure","required":["InputStorageLocation"],"members":{"DryRun":{"type":"boolean"},"InputStorageLocation":{"shape":"Scc"},"LogsStorageLocation":{"shape":"Scc"},"Description":{},"Name":{},"ClientToken":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"FpgaImageId":{"locationName":"fpgaImageId"},"FpgaImageGlobalId":{"locationName":"fpgaImageGlobalId"}}}},"CreateImage":{"input":{"type":"structure","required":["InstanceId","Name"],"members":{"BlockDeviceMappings":{"shape":"Scf","locationName":"blockDeviceMapping"},"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"},"Name":{"locationName":"name"},"NoReboot":{"locationName":"noReboot","type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"}}}},"CreateInstanceEventWindow":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Name":{},"TimeRanges":{"shape":"Scm","locationName":"TimeRange"},"CronExpression":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"InstanceEventWindow":{"shape":"S3i","locationName":"instanceEventWindow"}}}},"CreateInstanceExportTask":{"input":{"type":"structure","required":["ExportToS3Task","InstanceId","TargetEnvironment"],"members":{"Description":{"locationName":"description"},"ExportToS3Task":{"locationName":"exportToS3","type":"structure","members":{"ContainerFormat":{"locationName":"containerFormat"},"DiskImageFormat":{"locationName":"diskImageFormat"},"S3Bucket":{"locationName":"s3Bucket"},"S3Prefix":{"locationName":"s3Prefix"}}},"InstanceId":{"locationName":"instanceId"},"TargetEnvironment":{"locationName":"targetEnvironment"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ExportTask":{"shape":"Scv","locationName":"exportTask"}}}},"CreateInternetGateway":{"input":{"type":"structure","members":{"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"InternetGateway":{"shape":"Sd1","locationName":"internetGateway"}}}},"CreateIpam":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Description":{},"OperatingRegions":{"shape":"Sd3","locationName":"OperatingRegion"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Ipam":{"shape":"Sd6","locationName":"ipam"}}}},"CreateIpamPool":{"input":{"type":"structure","required":["IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"IpamScopeId":{},"Locale":{},"SourceIpamPoolId":{},"Description":{},"AddressFamily":{},"AutoImport":{"type":"boolean"},"PubliclyAdvertisable":{"type":"boolean"},"AllocationMinNetmaskLength":{"type":"integer"},"AllocationMaxNetmaskLength":{"type":"integer"},"AllocationDefaultNetmaskLength":{"type":"integer"},"AllocationResourceTags":{"shape":"Sdf","locationName":"AllocationResourceTag"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true},"AwsService":{}}},"output":{"type":"structure","members":{"IpamPool":{"shape":"Sdj","locationName":"ipamPool"}}}},"CreateIpamScope":{"input":{"type":"structure","required":["IpamId"],"members":{"DryRun":{"type":"boolean"},"IpamId":{},"Description":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"IpamScope":{"shape":"Sdq","locationName":"ipamScope"}}}},"CreateKeyPair":{"input":{"type":"structure","required":["KeyName"],"members":{"KeyName":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"KeyType":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"KeyFingerprint":{"locationName":"keyFingerprint"},"KeyMaterial":{"locationName":"keyMaterial","type":"string","sensitive":true},"KeyName":{"locationName":"keyName"},"KeyPairId":{"locationName":"keyPairId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"CreateLaunchTemplate":{"input":{"type":"structure","required":["LaunchTemplateName","LaunchTemplateData"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"LaunchTemplateName":{},"VersionDescription":{},"LaunchTemplateData":{"shape":"Sdy"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"LaunchTemplate":{"shape":"Sfe","locationName":"launchTemplate"},"Warning":{"shape":"Sff","locationName":"warning"}}}},"CreateLaunchTemplateVersion":{"input":{"type":"structure","required":["LaunchTemplateData"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"LaunchTemplateId":{},"LaunchTemplateName":{},"SourceVersion":{},"VersionDescription":{},"LaunchTemplateData":{"shape":"Sdy"}}},"output":{"type":"structure","members":{"LaunchTemplateVersion":{"shape":"Sfk","locationName":"launchTemplateVersion"},"Warning":{"shape":"Sff","locationName":"warning"}}}},"CreateLocalGatewayRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","LocalGatewayRouteTableId","LocalGatewayVirtualInterfaceGroupId"],"members":{"DestinationCidrBlock":{},"LocalGatewayRouteTableId":{},"LocalGatewayVirtualInterfaceGroupId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Sgn","locationName":"route"}}}},"CreateLocalGatewayRouteTableVpcAssociation":{"input":{"type":"structure","required":["LocalGatewayRouteTableId","VpcId"],"members":{"LocalGatewayRouteTableId":{},"VpcId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociation":{"shape":"Sgs","locationName":"localGatewayRouteTableVpcAssociation"}}}},"CreateManagedPrefixList":{"input":{"type":"structure","required":["PrefixListName","MaxEntries","AddressFamily"],"members":{"DryRun":{"type":"boolean"},"PrefixListName":{},"Entries":{"shape":"Sgv","locationName":"Entry"},"MaxEntries":{"type":"integer"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"AddressFamily":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PrefixList":{"shape":"Sgy","locationName":"prefixList"}}}},"CreateNatGateway":{"input":{"type":"structure","required":["SubnetId"],"members":{"AllocationId":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"},"SubnetId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ConnectivityType":{}}},"output":{"type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"NatGateway":{"shape":"Sh3","locationName":"natGateway"}}}},"CreateNetworkAcl":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcId":{"locationName":"vpcId"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"NetworkAcl":{"shape":"Sha","locationName":"networkAcl"}}}},"CreateNetworkAclEntry":{"input":{"type":"structure","required":["Egress","NetworkAclId","Protocol","RuleAction","RuleNumber"],"members":{"CidrBlock":{"locationName":"cidrBlock"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Egress":{"locationName":"egress","type":"boolean"},"IcmpTypeCode":{"shape":"Shf","locationName":"Icmp"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"NetworkAclId":{"locationName":"networkAclId"},"PortRange":{"shape":"Shg","locationName":"portRange"},"Protocol":{"locationName":"protocol"},"RuleAction":{"locationName":"ruleAction"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}}},"CreateNetworkInsightsAccessScope":{"input":{"type":"structure","required":["ClientToken"],"members":{"MatchPaths":{"shape":"Shl","locationName":"MatchPath"},"ExcludePaths":{"shape":"Shl","locationName":"ExcludePath"},"ClientToken":{"idempotencyToken":true},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScope":{"shape":"Shv","locationName":"networkInsightsAccessScope"},"NetworkInsightsAccessScopeContent":{"shape":"Shx","locationName":"networkInsightsAccessScopeContent"}}}},"CreateNetworkInsightsPath":{"input":{"type":"structure","required":["Source","Destination","Protocol","ClientToken"],"members":{"SourceIp":{},"DestinationIp":{},"Source":{},"Destination":{},"Protocol":{},"DestinationPort":{"type":"integer"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"NetworkInsightsPath":{"shape":"Sia","locationName":"networkInsightsPath"}}}},"CreateNetworkInterface":{"input":{"type":"structure","required":["SubnetId"],"members":{"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Groups":{"shape":"Se6","locationName":"SecurityGroupId"},"Ipv6AddressCount":{"locationName":"ipv6AddressCount","type":"integer"},"Ipv6Addresses":{"shape":"Sfs","locationName":"ipv6Addresses"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"shape":"Se9","locationName":"privateIpAddresses"},"SecondaryPrivateIpAddressCount":{"locationName":"secondaryPrivateIpAddressCount","type":"integer"},"Ipv4Prefixes":{"shape":"Seb","locationName":"Ipv4Prefix"},"Ipv4PrefixCount":{"type":"integer"},"Ipv6Prefixes":{"shape":"Sed","locationName":"Ipv6Prefix"},"Ipv6PrefixCount":{"type":"integer"},"InterfaceType":{},"SubnetId":{"locationName":"subnetId"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"NetworkInterface":{"shape":"Sif","locationName":"networkInterface"},"ClientToken":{"locationName":"clientToken"}}}},"CreateNetworkInterfacePermission":{"input":{"type":"structure","required":["NetworkInterfaceId","Permission"],"members":{"NetworkInterfaceId":{},"AwsAccountId":{},"AwsService":{},"Permission":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"InterfacePermission":{"shape":"Siv","locationName":"interfacePermission"}}}},"CreatePlacementGroup":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupName":{"locationName":"groupName"},"Strategy":{"locationName":"strategy"},"PartitionCount":{"type":"integer"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"PlacementGroup":{"shape":"Sj1","locationName":"placementGroup"}}}},"CreatePublicIpv4Pool":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"PoolId":{"locationName":"poolId"}}}},"CreateReplaceRootVolumeTask":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"SnapshotId":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ReplaceRootVolumeTask":{"shape":"Sj7","locationName":"replaceRootVolumeTask"}}}},"CreateReservedInstancesListing":{"input":{"type":"structure","required":["ClientToken","InstanceCount","PriceSchedules","ReservedInstancesId"],"members":{"ClientToken":{"locationName":"clientToken"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"PriceSchedules":{"locationName":"priceSchedules","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"Price":{"locationName":"price","type":"double"},"Term":{"locationName":"term","type":"long"}}}},"ReservedInstancesId":{"locationName":"reservedInstancesId"}}},"output":{"type":"structure","members":{"ReservedInstancesListings":{"shape":"S6r","locationName":"reservedInstancesListingsSet"}}}},"CreateRestoreImageTask":{"input":{"type":"structure","required":["Bucket","ObjectKey"],"members":{"Bucket":{},"ObjectKey":{},"Name":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"}}}},"CreateRoute":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"DestinationIpv6CidrBlock":{"locationName":"destinationIpv6CidrBlock"},"DestinationPrefixListId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcEndpointId":{},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"GatewayId":{"locationName":"gatewayId"},"InstanceId":{"locationName":"instanceId"},"NatGatewayId":{"locationName":"natGatewayId"},"TransitGatewayId":{},"LocalGatewayId":{},"CarrierGatewayId":{},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"RouteTableId":{"locationName":"routeTableId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"},"CoreNetworkArn":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"CreateRouteTable":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcId":{"locationName":"vpcId"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"RouteTable":{"shape":"Sjo","locationName":"routeTable"}}}},"CreateSecurityGroup":{"input":{"type":"structure","required":["Description","GroupName"],"members":{"Description":{"locationName":"GroupDescription"},"GroupName":{},"VpcId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"GroupId":{"locationName":"groupId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"CreateSnapshot":{"input":{"type":"structure","required":["VolumeId"],"members":{"Description":{},"OutpostArn":{},"VolumeId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"shape":"Sk0"}},"CreateSnapshots":{"input":{"type":"structure","required":["InstanceSpecification"],"members":{"Description":{},"InstanceSpecification":{"type":"structure","members":{"InstanceId":{},"ExcludeBootVolume":{"type":"boolean"}}},"OutpostArn":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"CopyTagsFromSource":{}}},"output":{"type":"structure","members":{"Snapshots":{"locationName":"snapshotSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"VolumeId":{"locationName":"volumeId"},"State":{"locationName":"state"},"VolumeSize":{"locationName":"volumeSize","type":"integer"},"StartTime":{"locationName":"startTime","type":"timestamp"},"Progress":{"locationName":"progress"},"OwnerId":{"locationName":"ownerId"},"SnapshotId":{"locationName":"snapshotId"},"OutpostArn":{"locationName":"outpostArn"}}}}}}},"CreateSpotDatafeedSubscription":{"input":{"type":"structure","required":["Bucket"],"members":{"Bucket":{"locationName":"bucket"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Prefix":{"locationName":"prefix"}}},"output":{"type":"structure","members":{"SpotDatafeedSubscription":{"shape":"Skb","locationName":"spotDatafeedSubscription"}}}},"CreateStoreImageTask":{"input":{"type":"structure","required":["ImageId","Bucket"],"members":{"ImageId":{},"Bucket":{},"S3ObjectTags":{"locationName":"S3ObjectTag","type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{},"Value":{}}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ObjectKey":{"locationName":"objectKey"}}}},"CreateSubnet":{"input":{"type":"structure","required":["VpcId"],"members":{"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"AvailabilityZone":{},"AvailabilityZoneId":{},"CidrBlock":{},"Ipv6CidrBlock":{},"OutpostArn":{},"VpcId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"Ipv6Native":{"type":"boolean"}}},"output":{"type":"structure","members":{"Subnet":{"shape":"S99","locationName":"subnet"}}}},"CreateSubnetCidrReservation":{"input":{"type":"structure","required":["SubnetId","Cidr","ReservationType"],"members":{"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"SubnetId":{},"Cidr":{},"ReservationType":{},"Description":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SubnetCidrReservation":{"shape":"Skn","locationName":"subnetCidrReservation"}}}},"CreateTags":{"input":{"type":"structure","required":["Resources","Tags"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Resources":{"shape":"Skq","locationName":"ResourceId"},"Tags":{"shape":"Ss","locationName":"Tag"}}}},"CreateTrafficMirrorFilter":{"input":{"type":"structure","members":{"Description":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"TrafficMirrorFilter":{"shape":"Sku","locationName":"trafficMirrorFilter"},"ClientToken":{"locationName":"clientToken"}}}},"CreateTrafficMirrorFilterRule":{"input":{"type":"structure","required":["TrafficMirrorFilterId","TrafficDirection","RuleNumber","RuleAction","DestinationCidrBlock","SourceCidrBlock"],"members":{"TrafficMirrorFilterId":{},"TrafficDirection":{},"RuleNumber":{"type":"integer"},"RuleAction":{},"DestinationPortRange":{"shape":"Sl4"},"SourcePortRange":{"shape":"Sl4"},"Protocol":{"type":"integer"},"DestinationCidrBlock":{},"SourceCidrBlock":{},"Description":{},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"TrafficMirrorFilterRule":{"shape":"Skw","locationName":"trafficMirrorFilterRule"},"ClientToken":{"locationName":"clientToken"}}}},"CreateTrafficMirrorSession":{"input":{"type":"structure","required":["NetworkInterfaceId","TrafficMirrorTargetId","TrafficMirrorFilterId","SessionNumber"],"members":{"NetworkInterfaceId":{},"TrafficMirrorTargetId":{},"TrafficMirrorFilterId":{},"PacketLength":{"type":"integer"},"SessionNumber":{"type":"integer"},"VirtualNetworkId":{"type":"integer"},"Description":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"TrafficMirrorSession":{"shape":"Sl9","locationName":"trafficMirrorSession"},"ClientToken":{"locationName":"clientToken"}}}},"CreateTrafficMirrorTarget":{"input":{"type":"structure","members":{"NetworkInterfaceId":{},"NetworkLoadBalancerArn":{},"Description":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"TrafficMirrorTarget":{"shape":"Slc","locationName":"trafficMirrorTarget"},"ClientToken":{"locationName":"clientToken"}}}},"CreateTransitGateway":{"input":{"type":"structure","members":{"Description":{},"Options":{"type":"structure","members":{"AmazonSideAsn":{"type":"long"},"AutoAcceptSharedAttachments":{},"DefaultRouteTableAssociation":{},"DefaultRouteTablePropagation":{},"VpnEcmpSupport":{},"DnsSupport":{},"MulticastSupport":{},"TransitGatewayCidrBlocks":{"shape":"Sll"}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGateway":{"shape":"Sln","locationName":"transitGateway"}}}},"CreateTransitGatewayConnect":{"input":{"type":"structure","required":["TransportTransitGatewayAttachmentId","Options"],"members":{"TransportTransitGatewayAttachmentId":{},"Options":{"type":"structure","required":["Protocol"],"members":{"Protocol":{}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnect":{"shape":"Slu","locationName":"transitGatewayConnect"}}}},"CreateTransitGatewayConnectPeer":{"input":{"type":"structure","required":["TransitGatewayAttachmentId","PeerAddress","InsideCidrBlocks"],"members":{"TransitGatewayAttachmentId":{},"TransitGatewayAddress":{},"PeerAddress":{},"BgpOptions":{"type":"structure","members":{"PeerAsn":{"type":"long"}}},"InsideCidrBlocks":{"shape":"Sly"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnectPeer":{"shape":"Sm0","locationName":"transitGatewayConnectPeer"}}}},"CreateTransitGatewayMulticastDomain":{"input":{"type":"structure","required":["TransitGatewayId"],"members":{"TransitGatewayId":{},"Options":{"type":"structure","members":{"Igmpv2Support":{},"StaticSourcesSupport":{},"AutoAcceptSharedAssociations":{}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayMulticastDomain":{"shape":"Smd","locationName":"transitGatewayMulticastDomain"}}}},"CreateTransitGatewayPeeringAttachment":{"input":{"type":"structure","required":["TransitGatewayId","PeerTransitGatewayId","PeerAccountId","PeerRegion"],"members":{"TransitGatewayId":{},"PeerTransitGatewayId":{},"PeerAccountId":{},"PeerRegion":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachment":{"shape":"Sn","locationName":"transitGatewayPeeringAttachment"}}}},"CreateTransitGatewayPrefixListReference":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","PrefixListId"],"members":{"TransitGatewayRouteTableId":{},"PrefixListId":{},"TransitGatewayAttachmentId":{},"Blackhole":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPrefixListReference":{"shape":"Sml","locationName":"transitGatewayPrefixListReference"}}}},"CreateTransitGatewayRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","TransitGatewayRouteTableId"],"members":{"DestinationCidrBlock":{},"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"Blackhole":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Smq","locationName":"route"}}}},"CreateTransitGatewayRouteTable":{"input":{"type":"structure","required":["TransitGatewayId"],"members":{"TransitGatewayId":{},"TagSpecifications":{"shape":"S1t"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayRouteTable":{"shape":"Smx","locationName":"transitGatewayRouteTable"}}}},"CreateTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayId","VpcId","SubnetIds"],"members":{"TransitGatewayId":{},"VpcId":{},"SubnetIds":{"shape":"S43"},"Options":{"type":"structure","members":{"DnsSupport":{},"Ipv6Support":{},"ApplianceModeSupport":{}}},"TagSpecifications":{"shape":"S1t"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"CreateVolume":{"input":{"type":"structure","required":["AvailabilityZone"],"members":{"AvailabilityZone":{},"Encrypted":{"locationName":"encrypted","type":"boolean"},"Iops":{"type":"integer"},"KmsKeyId":{},"OutpostArn":{},"Size":{"type":"integer"},"SnapshotId":{},"VolumeType":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"MultiAttachEnabled":{"type":"boolean"},"Throughput":{"type":"integer"},"ClientToken":{"idempotencyToken":true}}},"output":{"shape":"Sn3"}},"CreateVpc":{"input":{"type":"structure","members":{"CidrBlock":{},"AmazonProvidedIpv6CidrBlock":{"locationName":"amazonProvidedIpv6CidrBlock","type":"boolean"},"Ipv6Pool":{},"Ipv6CidrBlock":{},"Ipv4IpamPoolId":{},"Ipv4NetmaskLength":{"type":"integer"},"Ipv6IpamPoolId":{},"Ipv6NetmaskLength":{"type":"integer"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceTenancy":{"locationName":"instanceTenancy"},"Ipv6CidrBlockNetworkBorderGroup":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"Vpc":{"shape":"S9h","locationName":"vpc"}}}},"CreateVpcEndpoint":{"input":{"type":"structure","required":["VpcId","ServiceName"],"members":{"DryRun":{"type":"boolean"},"VpcEndpointType":{},"VpcId":{},"ServiceName":{},"PolicyDocument":{},"RouteTableIds":{"shape":"Sna","locationName":"RouteTableId"},"SubnetIds":{"shape":"Snb","locationName":"SubnetId"},"SecurityGroupIds":{"shape":"Snc","locationName":"SecurityGroupId"},"ClientToken":{},"PrivateDnsEnabled":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"VpcEndpoint":{"shape":"Sne","locationName":"vpcEndpoint"},"ClientToken":{"locationName":"clientToken"}}}},"CreateVpcEndpointConnectionNotification":{"input":{"type":"structure","required":["ConnectionNotificationArn","ConnectionEvents"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"VpcEndpointId":{},"ConnectionNotificationArn":{},"ConnectionEvents":{"shape":"Se"},"ClientToken":{}}},"output":{"type":"structure","members":{"ConnectionNotification":{"shape":"Snn","locationName":"connectionNotification"},"ClientToken":{"locationName":"clientToken"}}}},"CreateVpcEndpointServiceConfiguration":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"AcceptanceRequired":{"type":"boolean"},"PrivateDnsName":{},"NetworkLoadBalancerArns":{"shape":"Se","locationName":"NetworkLoadBalancerArn"},"GatewayLoadBalancerArns":{"shape":"Se","locationName":"GatewayLoadBalancerArn"},"ClientToken":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ServiceConfiguration":{"shape":"Sns","locationName":"serviceConfiguration"},"ClientToken":{"locationName":"clientToken"}}}},"CreateVpcPeeringConnection":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"PeerOwnerId":{"locationName":"peerOwnerId"},"PeerVpcId":{"locationName":"peerVpcId"},"VpcId":{"locationName":"vpcId"},"PeerRegion":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"VpcPeeringConnection":{"shape":"S1c","locationName":"vpcPeeringConnection"}}}},"CreateVpnConnection":{"input":{"type":"structure","required":["CustomerGatewayId","Type"],"members":{"CustomerGatewayId":{},"Type":{},"VpnGatewayId":{},"TransitGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"Options":{"locationName":"options","type":"structure","members":{"EnableAcceleration":{"type":"boolean"},"StaticRoutesOnly":{"locationName":"staticRoutesOnly","type":"boolean"},"TunnelInsideIpVersion":{},"TunnelOptions":{"type":"list","member":{"type":"structure","members":{"TunnelInsideCidr":{},"TunnelInsideIpv6Cidr":{},"PreSharedKey":{},"Phase1LifetimeSeconds":{"type":"integer"},"Phase2LifetimeSeconds":{"type":"integer"},"RekeyMarginTimeSeconds":{"type":"integer"},"RekeyFuzzPercentage":{"type":"integer"},"ReplayWindowSize":{"type":"integer"},"DPDTimeoutSeconds":{"type":"integer"},"DPDTimeoutAction":{},"Phase1EncryptionAlgorithms":{"shape":"So8","locationName":"Phase1EncryptionAlgorithm"},"Phase2EncryptionAlgorithms":{"shape":"Soa","locationName":"Phase2EncryptionAlgorithm"},"Phase1IntegrityAlgorithms":{"shape":"Soc","locationName":"Phase1IntegrityAlgorithm"},"Phase2IntegrityAlgorithms":{"shape":"Soe","locationName":"Phase2IntegrityAlgorithm"},"Phase1DHGroupNumbers":{"shape":"Sog","locationName":"Phase1DHGroupNumber"},"Phase2DHGroupNumbers":{"shape":"Soi","locationName":"Phase2DHGroupNumber"},"IKEVersions":{"shape":"Sok","locationName":"IKEVersion"},"StartupAction":{}}}},"LocalIpv4NetworkCidr":{},"RemoteIpv4NetworkCidr":{},"LocalIpv6NetworkCidr":{},"RemoteIpv6NetworkCidr":{}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Son","locationName":"vpnConnection"}}}},"CreateVpnConnectionRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","VpnConnectionId"],"members":{"DestinationCidrBlock":{},"VpnConnectionId":{}}}},"CreateVpnGateway":{"input":{"type":"structure","required":["Type"],"members":{"AvailabilityZone":{},"Type":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"AmazonSideAsn":{"type":"long"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpnGateway":{"shape":"Sph","locationName":"vpnGateway"}}}},"DeleteCarrierGateway":{"input":{"type":"structure","required":["CarrierGatewayId"],"members":{"CarrierGatewayId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CarrierGateway":{"shape":"S8h","locationName":"carrierGateway"}}}},"DeleteClientVpnEndpoint":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S8x","locationName":"status"}}}},"DeleteClientVpnRoute":{"input":{"type":"structure","required":["ClientVpnEndpointId","DestinationCidrBlock"],"members":{"ClientVpnEndpointId":{},"TargetVpcSubnetId":{},"DestinationCidrBlock":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S91","locationName":"status"}}}},"DeleteCustomerGateway":{"input":{"type":"structure","required":["CustomerGatewayId"],"members":{"CustomerGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteDhcpOptions":{"input":{"type":"structure","required":["DhcpOptionsId"],"members":{"DhcpOptionsId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteEgressOnlyInternetGateway":{"input":{"type":"structure","required":["EgressOnlyInternetGatewayId"],"members":{"DryRun":{"type":"boolean"},"EgressOnlyInternetGatewayId":{}}},"output":{"type":"structure","members":{"ReturnCode":{"locationName":"returnCode","type":"boolean"}}}},"DeleteFleets":{"input":{"type":"structure","required":["FleetIds","TerminateInstances"],"members":{"DryRun":{"type":"boolean"},"FleetIds":{"shape":"Spv","locationName":"FleetId"},"TerminateInstances":{"type":"boolean"}}},"output":{"type":"structure","members":{"SuccessfulFleetDeletions":{"locationName":"successfulFleetDeletionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrentFleetState":{"locationName":"currentFleetState"},"PreviousFleetState":{"locationName":"previousFleetState"},"FleetId":{"locationName":"fleetId"}}}},"UnsuccessfulFleetDeletions":{"locationName":"unsuccessfulFleetDeletionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"FleetId":{"locationName":"fleetId"}}}}}}},"DeleteFlowLogs":{"input":{"type":"structure","required":["FlowLogIds"],"members":{"DryRun":{"type":"boolean"},"FlowLogIds":{"shape":"Sq5","locationName":"FlowLogId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"DeleteFpgaImage":{"input":{"type":"structure","required":["FpgaImageId"],"members":{"DryRun":{"type":"boolean"},"FpgaImageId":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DeleteInstanceEventWindow":{"input":{"type":"structure","required":["InstanceEventWindowId"],"members":{"DryRun":{"type":"boolean"},"ForceDelete":{"type":"boolean"},"InstanceEventWindowId":{}}},"output":{"type":"structure","members":{"InstanceEventWindowState":{"locationName":"instanceEventWindowState","type":"structure","members":{"InstanceEventWindowId":{"locationName":"instanceEventWindowId"},"State":{"locationName":"state"}}}}}},"DeleteInternetGateway":{"input":{"type":"structure","required":["InternetGatewayId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"InternetGatewayId":{"locationName":"internetGatewayId"}}}},"DeleteIpam":{"input":{"type":"structure","required":["IpamId"],"members":{"DryRun":{"type":"boolean"},"IpamId":{}}},"output":{"type":"structure","members":{"Ipam":{"shape":"Sd6","locationName":"ipam"}}}},"DeleteIpamPool":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{}}},"output":{"type":"structure","members":{"IpamPool":{"shape":"Sdj","locationName":"ipamPool"}}}},"DeleteIpamScope":{"input":{"type":"structure","required":["IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"IpamScopeId":{}}},"output":{"type":"structure","members":{"IpamScope":{"shape":"Sdq","locationName":"ipamScope"}}}},"DeleteKeyPair":{"input":{"type":"structure","members":{"KeyName":{},"KeyPairId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteLaunchTemplate":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"LaunchTemplateId":{},"LaunchTemplateName":{}}},"output":{"type":"structure","members":{"LaunchTemplate":{"shape":"Sfe","locationName":"launchTemplate"}}}},"DeleteLaunchTemplateVersions":{"input":{"type":"structure","required":["Versions"],"members":{"DryRun":{"type":"boolean"},"LaunchTemplateId":{},"LaunchTemplateName":{},"Versions":{"shape":"Sqq","locationName":"LaunchTemplateVersion"}}},"output":{"type":"structure","members":{"SuccessfullyDeletedLaunchTemplateVersions":{"locationName":"successfullyDeletedLaunchTemplateVersionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"VersionNumber":{"locationName":"versionNumber","type":"long"}}}},"UnsuccessfullyDeletedLaunchTemplateVersions":{"locationName":"unsuccessfullyDeletedLaunchTemplateVersionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"VersionNumber":{"locationName":"versionNumber","type":"long"},"ResponseError":{"locationName":"responseError","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}},"DeleteLocalGatewayRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","LocalGatewayRouteTableId"],"members":{"DestinationCidrBlock":{},"LocalGatewayRouteTableId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Sgn","locationName":"route"}}}},"DeleteLocalGatewayRouteTableVpcAssociation":{"input":{"type":"structure","required":["LocalGatewayRouteTableVpcAssociationId"],"members":{"LocalGatewayRouteTableVpcAssociationId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociation":{"shape":"Sgs","locationName":"localGatewayRouteTableVpcAssociation"}}}},"DeleteManagedPrefixList":{"input":{"type":"structure","required":["PrefixListId"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{}}},"output":{"type":"structure","members":{"PrefixList":{"shape":"Sgy","locationName":"prefixList"}}}},"DeleteNatGateway":{"input":{"type":"structure","required":["NatGatewayId"],"members":{"DryRun":{"type":"boolean"},"NatGatewayId":{}}},"output":{"type":"structure","members":{"NatGatewayId":{"locationName":"natGatewayId"}}}},"DeleteNetworkAcl":{"input":{"type":"structure","required":["NetworkAclId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkAclId":{"locationName":"networkAclId"}}}},"DeleteNetworkAclEntry":{"input":{"type":"structure","required":["Egress","NetworkAclId","RuleNumber"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Egress":{"locationName":"egress","type":"boolean"},"NetworkAclId":{"locationName":"networkAclId"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}}},"DeleteNetworkInsightsAccessScope":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeId"],"members":{"DryRun":{"type":"boolean"},"NetworkInsightsAccessScopeId":{}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"}}}},"DeleteNetworkInsightsAccessScopeAnalysis":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeAnalysisId"],"members":{"NetworkInsightsAccessScopeAnalysisId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysisId":{"locationName":"networkInsightsAccessScopeAnalysisId"}}}},"DeleteNetworkInsightsAnalysis":{"input":{"type":"structure","required":["NetworkInsightsAnalysisId"],"members":{"DryRun":{"type":"boolean"},"NetworkInsightsAnalysisId":{}}},"output":{"type":"structure","members":{"NetworkInsightsAnalysisId":{"locationName":"networkInsightsAnalysisId"}}}},"DeleteNetworkInsightsPath":{"input":{"type":"structure","required":["NetworkInsightsPathId"],"members":{"DryRun":{"type":"boolean"},"NetworkInsightsPathId":{}}},"output":{"type":"structure","members":{"NetworkInsightsPathId":{"locationName":"networkInsightsPathId"}}}},"DeleteNetworkInterface":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}}},"DeleteNetworkInterfacePermission":{"input":{"type":"structure","required":["NetworkInterfacePermissionId"],"members":{"NetworkInterfacePermissionId":{},"Force":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DeletePlacementGroup":{"input":{"type":"structure","required":["GroupName"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupName":{"locationName":"groupName"}}}},"DeletePublicIpv4Pool":{"input":{"type":"structure","required":["PoolId"],"members":{"DryRun":{"type":"boolean"},"PoolId":{}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"returnValue","type":"boolean"}}}},"DeleteQueuedReservedInstances":{"input":{"type":"structure","required":["ReservedInstancesIds"],"members":{"DryRun":{"type":"boolean"},"ReservedInstancesIds":{"locationName":"ReservedInstancesId","type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"SuccessfulQueuedPurchaseDeletions":{"locationName":"successfulQueuedPurchaseDeletionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservedInstancesId":{"locationName":"reservedInstancesId"}}}},"FailedQueuedPurchaseDeletions":{"locationName":"failedQueuedPurchaseDeletionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"ReservedInstancesId":{"locationName":"reservedInstancesId"}}}}}}},"DeleteRoute":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"DestinationIpv6CidrBlock":{"locationName":"destinationIpv6CidrBlock"},"DestinationPrefixListId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableId":{"locationName":"routeTableId"}}}},"DeleteRouteTable":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableId":{"locationName":"routeTableId"}}}},"DeleteSecurityGroup":{"input":{"type":"structure","members":{"GroupId":{},"GroupName":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteSnapshot":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteSpotDatafeedSubscription":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteSubnet":{"input":{"type":"structure","required":["SubnetId"],"members":{"SubnetId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteSubnetCidrReservation":{"input":{"type":"structure","required":["SubnetCidrReservationId"],"members":{"SubnetCidrReservationId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"DeletedSubnetCidrReservation":{"shape":"Skn","locationName":"deletedSubnetCidrReservation"}}}},"DeleteTags":{"input":{"type":"structure","required":["Resources"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Resources":{"shape":"Skq","locationName":"resourceId"},"Tags":{"shape":"Ss","locationName":"tag"}}}},"DeleteTrafficMirrorFilter":{"input":{"type":"structure","required":["TrafficMirrorFilterId"],"members":{"TrafficMirrorFilterId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorFilterId":{"locationName":"trafficMirrorFilterId"}}}},"DeleteTrafficMirrorFilterRule":{"input":{"type":"structure","required":["TrafficMirrorFilterRuleId"],"members":{"TrafficMirrorFilterRuleId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorFilterRuleId":{"locationName":"trafficMirrorFilterRuleId"}}}},"DeleteTrafficMirrorSession":{"input":{"type":"structure","required":["TrafficMirrorSessionId"],"members":{"TrafficMirrorSessionId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorSessionId":{"locationName":"trafficMirrorSessionId"}}}},"DeleteTrafficMirrorTarget":{"input":{"type":"structure","required":["TrafficMirrorTargetId"],"members":{"TrafficMirrorTargetId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorTargetId":{"locationName":"trafficMirrorTargetId"}}}},"DeleteTransitGateway":{"input":{"type":"structure","required":["TransitGatewayId"],"members":{"TransitGatewayId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGateway":{"shape":"Sln","locationName":"transitGateway"}}}},"DeleteTransitGatewayConnect":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnect":{"shape":"Slu","locationName":"transitGatewayConnect"}}}},"DeleteTransitGatewayConnectPeer":{"input":{"type":"structure","required":["TransitGatewayConnectPeerId"],"members":{"TransitGatewayConnectPeerId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnectPeer":{"shape":"Sm0","locationName":"transitGatewayConnectPeer"}}}},"DeleteTransitGatewayMulticastDomain":{"input":{"type":"structure","required":["TransitGatewayMulticastDomainId"],"members":{"TransitGatewayMulticastDomainId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayMulticastDomain":{"shape":"Smd","locationName":"transitGatewayMulticastDomain"}}}},"DeleteTransitGatewayPeeringAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachment":{"shape":"Sn","locationName":"transitGatewayPeeringAttachment"}}}},"DeleteTransitGatewayPrefixListReference":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","PrefixListId"],"members":{"TransitGatewayRouteTableId":{},"PrefixListId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPrefixListReference":{"shape":"Sml","locationName":"transitGatewayPrefixListReference"}}}},"DeleteTransitGatewayRoute":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","DestinationCidrBlock"],"members":{"TransitGatewayRouteTableId":{},"DestinationCidrBlock":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Smq","locationName":"route"}}}},"DeleteTransitGatewayRouteTable":{"input":{"type":"structure","required":["TransitGatewayRouteTableId"],"members":{"TransitGatewayRouteTableId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayRouteTable":{"shape":"Smx","locationName":"transitGatewayRouteTable"}}}},"DeleteTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"DeleteVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteVpc":{"input":{"type":"structure","required":["VpcId"],"members":{"VpcId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteVpcEndpointConnectionNotifications":{"input":{"type":"structure","required":["ConnectionNotificationIds"],"members":{"DryRun":{"type":"boolean"},"ConnectionNotificationIds":{"locationName":"ConnectionNotificationId","type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"DeleteVpcEndpointServiceConfigurations":{"input":{"type":"structure","required":["ServiceIds"],"members":{"DryRun":{"type":"boolean"},"ServiceIds":{"shape":"St6","locationName":"ServiceId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"DeleteVpcEndpoints":{"input":{"type":"structure","required":["VpcEndpointIds"],"members":{"DryRun":{"type":"boolean"},"VpcEndpointIds":{"shape":"S13","locationName":"VpcEndpointId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"DeleteVpcPeeringConnection":{"input":{"type":"structure","required":["VpcPeeringConnectionId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DeleteVpnConnection":{"input":{"type":"structure","required":["VpnConnectionId"],"members":{"VpnConnectionId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeleteVpnConnectionRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","VpnConnectionId"],"members":{"DestinationCidrBlock":{},"VpnConnectionId":{}}}},"DeleteVpnGateway":{"input":{"type":"structure","required":["VpnGatewayId"],"members":{"VpnGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeprovisionByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}},"DeprovisionIpamPoolCidr":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Cidr":{}}},"output":{"type":"structure","members":{"IpamPoolCidr":{"shape":"Stj","locationName":"ipamPoolCidr"}}}},"DeprovisionPublicIpv4PoolCidr":{"input":{"type":"structure","required":["PoolId","Cidr"],"members":{"DryRun":{"type":"boolean"},"PoolId":{},"Cidr":{}}},"output":{"type":"structure","members":{"PoolId":{"locationName":"poolId"},"DeprovisionedAddresses":{"locationName":"deprovisionedAddressSet","type":"list","member":{"locationName":"item"}}}}},"DeregisterImage":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DeregisterInstanceEventNotificationAttributes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceTagAttribute":{"type":"structure","members":{"IncludeAllTagsOfInstance":{"type":"boolean"},"InstanceTagKeys":{"shape":"Stt","locationName":"InstanceTagKey"}}}}},"output":{"type":"structure","members":{"InstanceTagAttribute":{"shape":"Stv","locationName":"instanceTagAttribute"}}}},"DeregisterTransitGatewayMulticastGroupMembers":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"GroupIpAddress":{},"NetworkInterfaceIds":{"shape":"Stx"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"DeregisteredMulticastGroupMembers":{"locationName":"deregisteredMulticastGroupMembers","type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"DeregisteredNetworkInterfaceIds":{"shape":"Se","locationName":"deregisteredNetworkInterfaceIds"},"GroupIpAddress":{"locationName":"groupIpAddress"}}}}}},"DeregisterTransitGatewayMulticastGroupSources":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"GroupIpAddress":{},"NetworkInterfaceIds":{"shape":"Stx"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"DeregisteredMulticastGroupSources":{"locationName":"deregisteredMulticastGroupSources","type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"DeregisteredNetworkInterfaceIds":{"shape":"Se","locationName":"deregisteredNetworkInterfaceIds"},"GroupIpAddress":{"locationName":"groupIpAddress"}}}}}},"DescribeAccountAttributes":{"input":{"type":"structure","members":{"AttributeNames":{"locationName":"attributeName","type":"list","member":{"locationName":"attributeName"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"AccountAttributes":{"locationName":"accountAttributeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AttributeName":{"locationName":"attributeName"},"AttributeValues":{"locationName":"attributeValueSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AttributeValue":{"locationName":"attributeValue"}}}}}}}}}},"DescribeAddresses":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"PublicIps":{"locationName":"PublicIp","type":"list","member":{"locationName":"PublicIp"}},"AllocationIds":{"locationName":"AllocationId","type":"list","member":{"locationName":"AllocationId"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"Addresses":{"locationName":"addressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"PublicIp":{"locationName":"publicIp"},"AllocationId":{"locationName":"allocationId"},"AssociationId":{"locationName":"associationId"},"Domain":{"locationName":"domain"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"NetworkInterfaceOwnerId":{"locationName":"networkInterfaceOwnerId"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"Tags":{"shape":"Ss","locationName":"tagSet"},"PublicIpv4Pool":{"locationName":"publicIpv4Pool"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"CustomerOwnedIp":{"locationName":"customerOwnedIp"},"CustomerOwnedIpv4Pool":{"locationName":"customerOwnedIpv4Pool"},"CarrierIp":{"locationName":"carrierIp"}}}}}}},"DescribeAddressesAttribute":{"input":{"type":"structure","members":{"AllocationIds":{"locationName":"AllocationId","type":"list","member":{"locationName":"item"}},"Attribute":{},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Addresses":{"locationName":"addressSet","type":"list","member":{"shape":"Suq","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeAggregateIdFormat":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"UseLongIdsAggregated":{"locationName":"useLongIdsAggregated","type":"boolean"},"Statuses":{"shape":"Suu","locationName":"statusSet"}}}},"DescribeAvailabilityZones":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"ZoneNames":{"locationName":"ZoneName","type":"list","member":{"locationName":"ZoneName"}},"ZoneIds":{"locationName":"ZoneId","type":"list","member":{"locationName":"ZoneId"}},"AllAvailabilityZones":{"type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"AvailabilityZones":{"locationName":"availabilityZoneInfo","type":"list","member":{"locationName":"item","type":"structure","members":{"State":{"locationName":"zoneState"},"OptInStatus":{"locationName":"optInStatus"},"Messages":{"locationName":"messageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Message":{"locationName":"message"}}}},"RegionName":{"locationName":"regionName"},"ZoneName":{"locationName":"zoneName"},"ZoneId":{"locationName":"zoneId"},"GroupName":{"locationName":"groupName"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"ZoneType":{"locationName":"zoneType"},"ParentZoneName":{"locationName":"parentZoneName"},"ParentZoneId":{"locationName":"parentZoneId"}}}}}}},"DescribeBundleTasks":{"input":{"type":"structure","members":{"BundleIds":{"locationName":"BundleId","type":"list","member":{"locationName":"BundleId"}},"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"BundleTasks":{"locationName":"bundleInstanceTasksSet","type":"list","member":{"shape":"S5w","locationName":"item"}}}}},"DescribeByoipCidrs":{"input":{"type":"structure","required":["MaxResults"],"members":{"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ByoipCidrs":{"locationName":"byoipCidrSet","type":"list","member":{"shape":"S1n","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeCapacityReservationFleets":{"input":{"type":"structure","members":{"CapacityReservationFleetIds":{"shape":"S66","locationName":"CapacityReservationFleetId"},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CapacityReservationFleets":{"locationName":"capacityReservationFleetSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"},"CapacityReservationFleetArn":{"locationName":"capacityReservationFleetArn"},"State":{"locationName":"state"},"TotalTargetCapacity":{"locationName":"totalTargetCapacity","type":"integer"},"TotalFulfilledCapacity":{"locationName":"totalFulfilledCapacity","type":"double"},"Tenancy":{"locationName":"tenancy"},"EndDate":{"locationName":"endDate","type":"timestamp"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"InstanceMatchCriteria":{"locationName":"instanceMatchCriteria"},"AllocationStrategy":{"locationName":"allocationStrategy"},"InstanceTypeSpecifications":{"shape":"S8d","locationName":"instanceTypeSpecificationSet"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeCapacityReservations":{"input":{"type":"structure","members":{"CapacityReservationIds":{"locationName":"CapacityReservationId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"CapacityReservations":{"locationName":"capacityReservationSet","type":"list","member":{"shape":"S81","locationName":"item"}}}}},"DescribeCarrierGateways":{"input":{"type":"structure","members":{"CarrierGatewayIds":{"locationName":"CarrierGatewayId","type":"list","member":{}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CarrierGateways":{"locationName":"carrierGatewaySet","type":"list","member":{"shape":"S8h","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClassicLinkInstances":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Instances":{"locationName":"instancesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Groups":{"shape":"Sii","locationName":"groupSet"},"InstanceId":{"locationName":"instanceId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnAuthorizationRules":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"DryRun":{"type":"boolean"},"NextToken":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AuthorizationRules":{"locationName":"authorizationRule","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Description":{"locationName":"description"},"GroupId":{"locationName":"groupId"},"AccessAll":{"locationName":"accessAll","type":"boolean"},"DestinationCidr":{"locationName":"destinationCidr"},"Status":{"shape":"S55","locationName":"status"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnConnections":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Connections":{"locationName":"connections","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Timestamp":{"locationName":"timestamp"},"ConnectionId":{"locationName":"connectionId"},"Username":{"locationName":"username"},"ConnectionEstablishedTime":{"locationName":"connectionEstablishedTime"},"IngressBytes":{"locationName":"ingressBytes"},"EgressBytes":{"locationName":"egressBytes"},"IngressPackets":{"locationName":"ingressPackets"},"EgressPackets":{"locationName":"egressPackets"},"ClientIp":{"locationName":"clientIp"},"CommonName":{"locationName":"commonName"},"Status":{"shape":"Sw9","locationName":"status"},"ConnectionEndTime":{"locationName":"connectionEndTime"},"PostureComplianceStatuses":{"shape":"Se","locationName":"postureComplianceStatusSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnEndpoints":{"input":{"type":"structure","members":{"ClientVpnEndpointIds":{"locationName":"ClientVpnEndpointId","type":"list","member":{"locationName":"item"}},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClientVpnEndpoints":{"locationName":"clientVpnEndpoint","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Description":{"locationName":"description"},"Status":{"shape":"S8x","locationName":"status"},"CreationTime":{"locationName":"creationTime"},"DeletionTime":{"locationName":"deletionTime"},"DnsName":{"locationName":"dnsName"},"ClientCidrBlock":{"locationName":"clientCidrBlock"},"DnsServers":{"shape":"Se","locationName":"dnsServer"},"SplitTunnel":{"locationName":"splitTunnel","type":"boolean"},"VpnProtocol":{"locationName":"vpnProtocol"},"TransportProtocol":{"locationName":"transportProtocol"},"VpnPort":{"locationName":"vpnPort","type":"integer"},"AssociatedTargetNetworks":{"deprecated":true,"deprecatedMessage":"This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.","locationName":"associatedTargetNetwork","type":"list","member":{"locationName":"item","type":"structure","members":{"NetworkId":{"locationName":"networkId"},"NetworkType":{"locationName":"networkType"}}}},"ServerCertificateArn":{"locationName":"serverCertificateArn"},"AuthenticationOptions":{"locationName":"authenticationOptions","type":"list","member":{"locationName":"item","type":"structure","members":{"Type":{"locationName":"type"},"ActiveDirectory":{"locationName":"activeDirectory","type":"structure","members":{"DirectoryId":{"locationName":"directoryId"}}},"MutualAuthentication":{"locationName":"mutualAuthentication","type":"structure","members":{"ClientRootCertificateChain":{"locationName":"clientRootCertificateChain"}}},"FederatedAuthentication":{"locationName":"federatedAuthentication","type":"structure","members":{"SamlProviderArn":{"locationName":"samlProviderArn"},"SelfServiceSamlProviderArn":{"locationName":"selfServiceSamlProviderArn"}}}}}},"ConnectionLogOptions":{"locationName":"connectionLogOptions","type":"structure","members":{"Enabled":{"type":"boolean"},"CloudwatchLogGroup":{},"CloudwatchLogStream":{}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"SecurityGroupIds":{"shape":"S2c","locationName":"securityGroupIdSet"},"VpcId":{"locationName":"vpcId"},"SelfServicePortalUrl":{"locationName":"selfServicePortalUrl"},"ClientConnectOptions":{"locationName":"clientConnectOptions","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"},"LambdaFunctionArn":{"locationName":"lambdaFunctionArn"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}},"SessionTimeoutHours":{"locationName":"sessionTimeoutHours","type":"integer"},"ClientLoginBannerOptions":{"locationName":"clientLoginBannerOptions","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"},"BannerText":{"locationName":"bannerText"}}}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnRoutes":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Routes":{"locationName":"routes","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"DestinationCidr":{"locationName":"destinationCidr"},"TargetSubnet":{"locationName":"targetSubnet"},"Type":{"locationName":"type"},"Origin":{"locationName":"origin"},"Status":{"shape":"S91","locationName":"status"},"Description":{"locationName":"description"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeClientVpnTargetNetworks":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"AssociationIds":{"shape":"Se"},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClientVpnTargetNetworks":{"locationName":"clientVpnTargetNetworks","type":"list","member":{"locationName":"item","type":"structure","members":{"AssociationId":{"locationName":"associationId"},"VpcId":{"locationName":"vpcId"},"TargetNetworkId":{"locationName":"targetNetworkId"},"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Status":{"shape":"S2y","locationName":"status"},"SecurityGroups":{"shape":"Se","locationName":"securityGroups"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeCoipPools":{"input":{"type":"structure","members":{"PoolIds":{"locationName":"PoolId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CoipPools":{"locationName":"coipPoolSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PoolId":{"locationName":"poolId"},"PoolCidrs":{"shape":"Se","locationName":"poolCidrSet"},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"PoolArn":{"locationName":"poolArn"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeConversionTasks":{"input":{"type":"structure","members":{"ConversionTaskIds":{"locationName":"conversionTaskId","type":"list","member":{"locationName":"item"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"ConversionTasks":{"locationName":"conversionTasks","type":"list","member":{"shape":"Sxf","locationName":"item"}}}}},"DescribeCustomerGateways":{"input":{"type":"structure","members":{"CustomerGatewayIds":{"locationName":"CustomerGatewayId","type":"list","member":{"locationName":"CustomerGatewayId"}},"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"CustomerGateways":{"locationName":"customerGatewaySet","type":"list","member":{"shape":"S96","locationName":"item"}}}}},"DescribeDhcpOptions":{"input":{"type":"structure","members":{"DhcpOptionsIds":{"locationName":"DhcpOptionsId","type":"list","member":{"locationName":"DhcpOptionsId"}},"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DhcpOptions":{"locationName":"dhcpOptionsSet","type":"list","member":{"shape":"S9q","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeEgressOnlyInternetGateways":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"EgressOnlyInternetGatewayIds":{"locationName":"EgressOnlyInternetGatewayId","type":"list","member":{"locationName":"item"}},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Suc","locationName":"Filter"}}},"output":{"type":"structure","members":{"EgressOnlyInternetGateways":{"locationName":"egressOnlyInternetGatewaySet","type":"list","member":{"shape":"S9x","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeElasticGpus":{"input":{"type":"structure","members":{"ElasticGpuIds":{"locationName":"ElasticGpuId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ElasticGpuSet":{"locationName":"elasticGpuSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ElasticGpuId":{"locationName":"elasticGpuId"},"AvailabilityZone":{"locationName":"availabilityZone"},"ElasticGpuType":{"locationName":"elasticGpuType"},"ElasticGpuHealth":{"locationName":"elasticGpuHealth","type":"structure","members":{"Status":{"locationName":"status"}}},"ElasticGpuState":{"locationName":"elasticGpuState"},"InstanceId":{"locationName":"instanceId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}}},"DescribeExportImageTasks":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"ExportImageTaskIds":{"locationName":"ExportImageTaskId","type":"list","member":{"locationName":"ExportImageTaskId"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ExportImageTasks":{"locationName":"exportImageTaskSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"ExportImageTaskId":{"locationName":"exportImageTaskId"},"ImageId":{"locationName":"imageId"},"Progress":{"locationName":"progress"},"S3ExportLocation":{"shape":"Syi","locationName":"s3ExportLocation"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeExportTasks":{"input":{"type":"structure","members":{"ExportTaskIds":{"locationName":"exportTaskId","type":"list","member":{"locationName":"ExportTaskId"}},"Filters":{"shape":"Suc","locationName":"Filter"}}},"output":{"type":"structure","members":{"ExportTasks":{"locationName":"exportTaskSet","type":"list","member":{"shape":"Scv","locationName":"item"}}}}},"DescribeFastLaunchImages":{"input":{"type":"structure","members":{"ImageIds":{"locationName":"ImageId","type":"list","member":{"locationName":"ImageId"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"FastLaunchImages":{"locationName":"fastLaunchImageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ImageId":{"locationName":"imageId"},"ResourceType":{"locationName":"resourceType"},"SnapshotConfiguration":{"shape":"Syv","locationName":"snapshotConfiguration"},"LaunchTemplate":{"shape":"Syw","locationName":"launchTemplate"},"MaxParallelLaunches":{"locationName":"maxParallelLaunches","type":"integer"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"StateTransitionTime":{"locationName":"stateTransitionTime","type":"timestamp"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeFastSnapshotRestores":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"FastSnapshotRestores":{"locationName":"fastSnapshotRestoreSet","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"AvailabilityZone":{"locationName":"availabilityZone"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"OwnerId":{"locationName":"ownerId"},"OwnerAlias":{"locationName":"ownerAlias"},"EnablingTime":{"locationName":"enablingTime","type":"timestamp"},"OptimizingTime":{"locationName":"optimizingTime","type":"timestamp"},"EnabledTime":{"locationName":"enabledTime","type":"timestamp"},"DisablingTime":{"locationName":"disablingTime","type":"timestamp"},"DisabledTime":{"locationName":"disabledTime","type":"timestamp"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeFleetHistory":{"input":{"type":"structure","required":["FleetId","StartTime"],"members":{"DryRun":{"type":"boolean"},"EventType":{},"MaxResults":{"type":"integer"},"NextToken":{},"FleetId":{},"StartTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"HistoryRecords":{"locationName":"historyRecordSet","type":"list","member":{"locationName":"item","type":"structure","members":{"EventInformation":{"shape":"Sz9","locationName":"eventInformation"},"EventType":{"locationName":"eventType"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}},"LastEvaluatedTime":{"locationName":"lastEvaluatedTime","type":"timestamp"},"NextToken":{"locationName":"nextToken"},"FleetId":{"locationName":"fleetId"},"StartTime":{"locationName":"startTime","type":"timestamp"}}}},"DescribeFleetInstances":{"input":{"type":"structure","required":["FleetId"],"members":{"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{},"FleetId":{},"Filters":{"shape":"Suc","locationName":"Filter"}}},"output":{"type":"structure","members":{"ActiveInstances":{"shape":"Szc","locationName":"activeInstanceSet"},"NextToken":{"locationName":"nextToken"},"FleetId":{"locationName":"fleetId"}}}},"DescribeFleets":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{},"FleetIds":{"shape":"Spv","locationName":"FleetId"},"Filters":{"shape":"Suc","locationName":"Filter"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Fleets":{"locationName":"fleetSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ActivityStatus":{"locationName":"activityStatus"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"FleetId":{"locationName":"fleetId"},"FleetState":{"locationName":"fleetState"},"ClientToken":{"locationName":"clientToken"},"ExcessCapacityTerminationPolicy":{"locationName":"excessCapacityTerminationPolicy"},"FulfilledCapacity":{"locationName":"fulfilledCapacity","type":"double"},"FulfilledOnDemandCapacity":{"locationName":"fulfilledOnDemandCapacity","type":"double"},"LaunchTemplateConfigs":{"locationName":"launchTemplateConfigs","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateSpecification":{"shape":"Sbl","locationName":"launchTemplateSpecification"},"Overrides":{"locationName":"overrides","type":"list","member":{"shape":"Sbm","locationName":"item"}}}}},"TargetCapacitySpecification":{"locationName":"targetCapacitySpecification","type":"structure","members":{"TotalTargetCapacity":{"locationName":"totalTargetCapacity","type":"integer"},"OnDemandTargetCapacity":{"locationName":"onDemandTargetCapacity","type":"integer"},"SpotTargetCapacity":{"locationName":"spotTargetCapacity","type":"integer"},"DefaultTargetCapacityType":{"locationName":"defaultTargetCapacityType"},"TargetCapacityUnitType":{"locationName":"targetCapacityUnitType"}}},"TerminateInstancesWithExpiration":{"locationName":"terminateInstancesWithExpiration","type":"boolean"},"Type":{"locationName":"type"},"ValidFrom":{"locationName":"validFrom","type":"timestamp"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"ReplaceUnhealthyInstances":{"locationName":"replaceUnhealthyInstances","type":"boolean"},"SpotOptions":{"locationName":"spotOptions","type":"structure","members":{"AllocationStrategy":{"locationName":"allocationStrategy"},"MaintenanceStrategies":{"locationName":"maintenanceStrategies","type":"structure","members":{"CapacityRebalance":{"locationName":"capacityRebalance","type":"structure","members":{"ReplacementStrategy":{"locationName":"replacementStrategy"},"TerminationDelay":{"locationName":"terminationDelay","type":"integer"}}}}},"InstanceInterruptionBehavior":{"locationName":"instanceInterruptionBehavior"},"InstancePoolsToUseCount":{"locationName":"instancePoolsToUseCount","type":"integer"},"SingleInstanceType":{"locationName":"singleInstanceType","type":"boolean"},"SingleAvailabilityZone":{"locationName":"singleAvailabilityZone","type":"boolean"},"MinTargetCapacity":{"locationName":"minTargetCapacity","type":"integer"},"MaxTotalPrice":{"locationName":"maxTotalPrice"}}},"OnDemandOptions":{"locationName":"onDemandOptions","type":"structure","members":{"AllocationStrategy":{"locationName":"allocationStrategy"},"CapacityReservationOptions":{"locationName":"capacityReservationOptions","type":"structure","members":{"UsageStrategy":{"locationName":"usageStrategy"}}},"SingleInstanceType":{"locationName":"singleInstanceType","type":"boolean"},"SingleAvailabilityZone":{"locationName":"singleAvailabilityZone","type":"boolean"},"MinTargetCapacity":{"locationName":"minTargetCapacity","type":"integer"},"MaxTotalPrice":{"locationName":"maxTotalPrice"}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"Errors":{"locationName":"errorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateAndOverrides":{"shape":"Sbk","locationName":"launchTemplateAndOverrides"},"Lifecycle":{"locationName":"lifecycle"},"ErrorCode":{"locationName":"errorCode"},"ErrorMessage":{"locationName":"errorMessage"}}}},"Instances":{"locationName":"fleetInstanceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateAndOverrides":{"shape":"Sbk","locationName":"launchTemplateAndOverrides"},"Lifecycle":{"locationName":"lifecycle"},"InstanceIds":{"shape":"Sc0","locationName":"instanceIds"},"InstanceType":{"locationName":"instanceType"},"Platform":{"locationName":"platform"}}}},"Context":{"locationName":"context"}}}}}}},"DescribeFlowLogs":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filter":{"shape":"Suc"},"FlowLogIds":{"shape":"Sq5","locationName":"FlowLogId"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"FlowLogs":{"locationName":"flowLogSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CreationTime":{"locationName":"creationTime","type":"timestamp"},"DeliverLogsErrorMessage":{"locationName":"deliverLogsErrorMessage"},"DeliverLogsPermissionArn":{"locationName":"deliverLogsPermissionArn"},"DeliverLogsStatus":{"locationName":"deliverLogsStatus"},"FlowLogId":{"locationName":"flowLogId"},"FlowLogStatus":{"locationName":"flowLogStatus"},"LogGroupName":{"locationName":"logGroupName"},"ResourceId":{"locationName":"resourceId"},"TrafficType":{"locationName":"trafficType"},"LogDestinationType":{"locationName":"logDestinationType"},"LogDestination":{"locationName":"logDestination"},"LogFormat":{"locationName":"logFormat"},"Tags":{"shape":"Ss","locationName":"tagSet"},"MaxAggregationInterval":{"locationName":"maxAggregationInterval","type":"integer"},"DestinationOptions":{"locationName":"destinationOptions","type":"structure","members":{"FileFormat":{"locationName":"fileFormat"},"HiveCompatiblePartitions":{"locationName":"hiveCompatiblePartitions","type":"boolean"},"PerHourPartition":{"locationName":"perHourPartition","type":"boolean"}}}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeFpgaImageAttribute":{"input":{"type":"structure","required":["FpgaImageId","Attribute"],"members":{"DryRun":{"type":"boolean"},"FpgaImageId":{},"Attribute":{}}},"output":{"type":"structure","members":{"FpgaImageAttribute":{"shape":"S105","locationName":"fpgaImageAttribute"}}}},"DescribeFpgaImages":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"FpgaImageIds":{"locationName":"FpgaImageId","type":"list","member":{"locationName":"item"}},"Owners":{"shape":"S10e","locationName":"Owner"},"Filters":{"shape":"Suc","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"FpgaImages":{"locationName":"fpgaImageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"FpgaImageId":{"locationName":"fpgaImageId"},"FpgaImageGlobalId":{"locationName":"fpgaImageGlobalId"},"Name":{"locationName":"name"},"Description":{"locationName":"description"},"ShellVersion":{"locationName":"shellVersion"},"PciId":{"locationName":"pciId","type":"structure","members":{"DeviceId":{},"VendorId":{},"SubsystemId":{},"SubsystemVendorId":{}}},"State":{"locationName":"state","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"CreateTime":{"locationName":"createTime","type":"timestamp"},"UpdateTime":{"locationName":"updateTime","type":"timestamp"},"OwnerId":{"locationName":"ownerId"},"OwnerAlias":{"locationName":"ownerAlias"},"ProductCodes":{"shape":"S109","locationName":"productCodes"},"Tags":{"shape":"Ss","locationName":"tags"},"Public":{"locationName":"public","type":"boolean"},"DataRetentionSupport":{"locationName":"dataRetentionSupport","type":"boolean"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeHostReservationOfferings":{"input":{"type":"structure","members":{"Filter":{"shape":"Suc"},"MaxDuration":{"type":"integer"},"MaxResults":{"type":"integer"},"MinDuration":{"type":"integer"},"NextToken":{},"OfferingId":{}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"OfferingSet":{"locationName":"offeringSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceFamily":{"locationName":"instanceFamily"},"OfferingId":{"locationName":"offeringId"},"PaymentOption":{"locationName":"paymentOption"},"UpfrontPrice":{"locationName":"upfrontPrice"}}}}}}},"DescribeHostReservations":{"input":{"type":"structure","members":{"Filter":{"shape":"Suc"},"HostReservationIdSet":{"type":"list","member":{"locationName":"item"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"HostReservationSet":{"locationName":"hostReservationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Count":{"locationName":"count","type":"integer"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"End":{"locationName":"end","type":"timestamp"},"HostIdSet":{"shape":"S10z","locationName":"hostIdSet"},"HostReservationId":{"locationName":"hostReservationId"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceFamily":{"locationName":"instanceFamily"},"OfferingId":{"locationName":"offeringId"},"PaymentOption":{"locationName":"paymentOption"},"Start":{"locationName":"start","type":"timestamp"},"State":{"locationName":"state"},"UpfrontPrice":{"locationName":"upfrontPrice"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeHosts":{"input":{"type":"structure","members":{"Filter":{"shape":"Suc","locationName":"filter"},"HostIds":{"shape":"S112","locationName":"hostId"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Hosts":{"locationName":"hostSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AutoPlacement":{"locationName":"autoPlacement"},"AvailabilityZone":{"locationName":"availabilityZone"},"AvailableCapacity":{"locationName":"availableCapacity","type":"structure","members":{"AvailableInstanceCapacity":{"locationName":"availableInstanceCapacity","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailableCapacity":{"locationName":"availableCapacity","type":"integer"},"InstanceType":{"locationName":"instanceType"},"TotalCapacity":{"locationName":"totalCapacity","type":"integer"}}}},"AvailableVCpus":{"locationName":"availableVCpus","type":"integer"}}},"ClientToken":{"locationName":"clientToken"},"HostId":{"locationName":"hostId"},"HostProperties":{"locationName":"hostProperties","type":"structure","members":{"Cores":{"locationName":"cores","type":"integer"},"InstanceType":{"locationName":"instanceType"},"InstanceFamily":{"locationName":"instanceFamily"},"Sockets":{"locationName":"sockets","type":"integer"},"TotalVCpus":{"locationName":"totalVCpus","type":"integer"}}},"HostReservationId":{"locationName":"hostReservationId"},"Instances":{"locationName":"instances","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"InstanceType":{"locationName":"instanceType"},"OwnerId":{"locationName":"ownerId"}}}},"State":{"locationName":"state"},"AllocationTime":{"locationName":"allocationTime","type":"timestamp"},"ReleaseTime":{"locationName":"releaseTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"},"HostRecovery":{"locationName":"hostRecovery"},"AllowsMultipleInstanceTypes":{"locationName":"allowsMultipleInstanceTypes"},"OwnerId":{"locationName":"ownerId"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"MemberOfServiceLinkedResourceGroup":{"locationName":"memberOfServiceLinkedResourceGroup","type":"boolean"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeIamInstanceProfileAssociations":{"input":{"type":"structure","members":{"AssociationIds":{"locationName":"AssociationId","type":"list","member":{"locationName":"AssociationId"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IamInstanceProfileAssociations":{"locationName":"iamInstanceProfileAssociationSet","type":"list","member":{"shape":"S38","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeIdFormat":{"input":{"type":"structure","members":{"Resource":{}}},"output":{"type":"structure","members":{"Statuses":{"shape":"Suu","locationName":"statusSet"}}}},"DescribeIdentityIdFormat":{"input":{"type":"structure","required":["PrincipalArn"],"members":{"PrincipalArn":{"locationName":"principalArn"},"Resource":{"locationName":"resource"}}},"output":{"type":"structure","members":{"Statuses":{"shape":"Suu","locationName":"statusSet"}}}},"DescribeImageAttribute":{"input":{"type":"structure","required":["Attribute","ImageId"],"members":{"Attribute":{},"ImageId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"BlockDeviceMappings":{"shape":"S11r","locationName":"blockDeviceMapping"},"ImageId":{"locationName":"imageId"},"LaunchPermissions":{"shape":"S11s","locationName":"launchPermission"},"ProductCodes":{"shape":"S109","locationName":"productCodes"},"Description":{"shape":"S9u","locationName":"description"},"KernelId":{"shape":"S9u","locationName":"kernel"},"RamdiskId":{"shape":"S9u","locationName":"ramdisk"},"SriovNetSupport":{"shape":"S9u","locationName":"sriovNetSupport"},"BootMode":{"shape":"S9u","locationName":"bootMode"}}}},"DescribeImages":{"input":{"type":"structure","members":{"ExecutableUsers":{"locationName":"ExecutableBy","type":"list","member":{"locationName":"ExecutableBy"}},"Filters":{"shape":"Suc","locationName":"Filter"},"ImageIds":{"shape":"S11w","locationName":"ImageId"},"Owners":{"shape":"S10e","locationName":"Owner"},"IncludeDeprecated":{"type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"Images":{"locationName":"imagesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Architecture":{"locationName":"architecture"},"CreationDate":{"locationName":"creationDate"},"ImageId":{"locationName":"imageId"},"ImageLocation":{"locationName":"imageLocation"},"ImageType":{"locationName":"imageType"},"Public":{"locationName":"isPublic","type":"boolean"},"KernelId":{"locationName":"kernelId"},"OwnerId":{"locationName":"imageOwnerId"},"Platform":{"locationName":"platform"},"PlatformDetails":{"locationName":"platformDetails"},"UsageOperation":{"locationName":"usageOperation"},"ProductCodes":{"shape":"S109","locationName":"productCodes"},"RamdiskId":{"locationName":"ramdiskId"},"State":{"locationName":"imageState"},"BlockDeviceMappings":{"shape":"S11r","locationName":"blockDeviceMapping"},"Description":{"locationName":"description"},"EnaSupport":{"locationName":"enaSupport","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"ImageOwnerAlias":{"locationName":"imageOwnerAlias"},"Name":{"locationName":"name"},"RootDeviceName":{"locationName":"rootDeviceName"},"RootDeviceType":{"locationName":"rootDeviceType"},"SriovNetSupport":{"locationName":"sriovNetSupport"},"StateReason":{"shape":"S125","locationName":"stateReason"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VirtualizationType":{"locationName":"virtualizationType"},"BootMode":{"locationName":"bootMode"},"DeprecationTime":{"locationName":"deprecationTime"}}}}}}},"DescribeImportImageTasks":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc"},"ImportTaskIds":{"locationName":"ImportTaskId","type":"list","member":{"locationName":"ImportTaskId"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ImportImageTasks":{"locationName":"importImageTaskSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Architecture":{"locationName":"architecture"},"Description":{"locationName":"description"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"ImageId":{"locationName":"imageId"},"ImportTaskId":{"locationName":"importTaskId"},"KmsKeyId":{"locationName":"kmsKeyId"},"LicenseType":{"locationName":"licenseType"},"Platform":{"locationName":"platform"},"Progress":{"locationName":"progress"},"SnapshotDetails":{"shape":"S12e","locationName":"snapshotDetailSet"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"},"LicenseSpecifications":{"shape":"S12h","locationName":"licenseSpecifications"},"UsageOperation":{"locationName":"usageOperation"},"BootMode":{"locationName":"bootMode"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeImportSnapshotTasks":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc"},"ImportTaskIds":{"locationName":"ImportTaskId","type":"list","member":{"locationName":"ImportTaskId"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ImportSnapshotTasks":{"locationName":"importSnapshotTaskSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"ImportTaskId":{"locationName":"importTaskId"},"SnapshotTaskDetail":{"shape":"S12p","locationName":"snapshotTaskDetail"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceAttribute":{"input":{"type":"structure","required":["Attribute","InstanceId"],"members":{"Attribute":{"locationName":"attribute"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"}}},"output":{"type":"structure","members":{"Groups":{"shape":"Sii","locationName":"groupSet"},"BlockDeviceMappings":{"shape":"S12t","locationName":"blockDeviceMapping"},"DisableApiTermination":{"shape":"S12w","locationName":"disableApiTermination"},"EnaSupport":{"shape":"S12w","locationName":"enaSupport"},"EnclaveOptions":{"shape":"S12x","locationName":"enclaveOptions"},"EbsOptimized":{"shape":"S12w","locationName":"ebsOptimized"},"InstanceId":{"locationName":"instanceId"},"InstanceInitiatedShutdownBehavior":{"shape":"S9u","locationName":"instanceInitiatedShutdownBehavior"},"InstanceType":{"shape":"S9u","locationName":"instanceType"},"KernelId":{"shape":"S9u","locationName":"kernel"},"ProductCodes":{"shape":"S109","locationName":"productCodes"},"RamdiskId":{"shape":"S9u","locationName":"ramdisk"},"RootDeviceName":{"shape":"S9u","locationName":"rootDeviceName"},"SourceDestCheck":{"shape":"S12w","locationName":"sourceDestCheck"},"SriovNetSupport":{"shape":"S9u","locationName":"sriovNetSupport"},"UserData":{"shape":"S9u","locationName":"userData"}}}},"DescribeInstanceCreditSpecifications":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceCreditSpecifications":{"locationName":"instanceCreditSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"CpuCredits":{"locationName":"cpuCredits"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceEventNotificationAttributes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"InstanceTagAttribute":{"shape":"Stv","locationName":"instanceTagAttribute"}}}},"DescribeInstanceEventWindows":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceEventWindowIds":{"locationName":"InstanceEventWindowId","type":"list","member":{"locationName":"InstanceEventWindowId"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceEventWindows":{"locationName":"instanceEventWindowSet","type":"list","member":{"shape":"S3i","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceStatus":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"IncludeAllInstances":{"locationName":"includeAllInstances","type":"boolean"}}},"output":{"type":"structure","members":{"InstanceStatuses":{"locationName":"instanceStatusSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"OutpostArn":{"locationName":"outpostArn"},"Events":{"locationName":"eventsSet","type":"list","member":{"shape":"S13f","locationName":"item"}},"InstanceId":{"locationName":"instanceId"},"InstanceState":{"shape":"S13i","locationName":"instanceState"},"InstanceStatus":{"shape":"S13k","locationName":"instanceStatus"},"SystemStatus":{"shape":"S13k","locationName":"systemStatus"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceTypeOfferings":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"LocationType":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceTypeOfferings":{"locationName":"instanceTypeOfferingSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{"locationName":"instanceType"},"LocationType":{"locationName":"locationType"},"Location":{"locationName":"location"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstanceTypes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceTypes":{"locationName":"InstanceType","type":"list","member":{}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceTypes":{"locationName":"instanceTypeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{"locationName":"instanceType"},"CurrentGeneration":{"locationName":"currentGeneration","type":"boolean"},"FreeTierEligible":{"locationName":"freeTierEligible","type":"boolean"},"SupportedUsageClasses":{"locationName":"supportedUsageClasses","type":"list","member":{"locationName":"item"}},"SupportedRootDeviceTypes":{"locationName":"supportedRootDeviceTypes","type":"list","member":{"locationName":"item"}},"SupportedVirtualizationTypes":{"locationName":"supportedVirtualizationTypes","type":"list","member":{"locationName":"item"}},"BareMetal":{"locationName":"bareMetal","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"ProcessorInfo":{"locationName":"processorInfo","type":"structure","members":{"SupportedArchitectures":{"locationName":"supportedArchitectures","type":"list","member":{"locationName":"item"}},"SustainedClockSpeedInGhz":{"locationName":"sustainedClockSpeedInGhz","type":"double"}}},"VCpuInfo":{"locationName":"vCpuInfo","type":"structure","members":{"DefaultVCpus":{"locationName":"defaultVCpus","type":"integer"},"DefaultCores":{"locationName":"defaultCores","type":"integer"},"DefaultThreadsPerCore":{"locationName":"defaultThreadsPerCore","type":"integer"},"ValidCores":{"locationName":"validCores","type":"list","member":{"locationName":"item","type":"integer"}},"ValidThreadsPerCore":{"locationName":"validThreadsPerCore","type":"list","member":{"locationName":"item","type":"integer"}}}},"MemoryInfo":{"locationName":"memoryInfo","type":"structure","members":{"SizeInMiB":{"locationName":"sizeInMiB","type":"long"}}},"InstanceStorageSupported":{"locationName":"instanceStorageSupported","type":"boolean"},"InstanceStorageInfo":{"locationName":"instanceStorageInfo","type":"structure","members":{"TotalSizeInGB":{"locationName":"totalSizeInGB","type":"long"},"Disks":{"locationName":"disks","type":"list","member":{"locationName":"item","type":"structure","members":{"SizeInGB":{"locationName":"sizeInGB","type":"long"},"Count":{"locationName":"count","type":"integer"},"Type":{"locationName":"type"}}}},"NvmeSupport":{"locationName":"nvmeSupport"},"EncryptionSupport":{"locationName":"encryptionSupport"}}},"EbsInfo":{"locationName":"ebsInfo","type":"structure","members":{"EbsOptimizedSupport":{"locationName":"ebsOptimizedSupport"},"EncryptionSupport":{"locationName":"encryptionSupport"},"EbsOptimizedInfo":{"locationName":"ebsOptimizedInfo","type":"structure","members":{"BaselineBandwidthInMbps":{"locationName":"baselineBandwidthInMbps","type":"integer"},"BaselineThroughputInMBps":{"locationName":"baselineThroughputInMBps","type":"double"},"BaselineIops":{"locationName":"baselineIops","type":"integer"},"MaximumBandwidthInMbps":{"locationName":"maximumBandwidthInMbps","type":"integer"},"MaximumThroughputInMBps":{"locationName":"maximumThroughputInMBps","type":"double"},"MaximumIops":{"locationName":"maximumIops","type":"integer"}}},"NvmeSupport":{"locationName":"nvmeSupport"}}},"NetworkInfo":{"locationName":"networkInfo","type":"structure","members":{"NetworkPerformance":{"locationName":"networkPerformance"},"MaximumNetworkInterfaces":{"locationName":"maximumNetworkInterfaces","type":"integer"},"MaximumNetworkCards":{"locationName":"maximumNetworkCards","type":"integer"},"DefaultNetworkCardIndex":{"locationName":"defaultNetworkCardIndex","type":"integer"},"NetworkCards":{"locationName":"networkCards","type":"list","member":{"locationName":"item","type":"structure","members":{"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"},"NetworkPerformance":{"locationName":"networkPerformance"},"MaximumNetworkInterfaces":{"locationName":"maximumNetworkInterfaces","type":"integer"}}}},"Ipv4AddressesPerInterface":{"locationName":"ipv4AddressesPerInterface","type":"integer"},"Ipv6AddressesPerInterface":{"locationName":"ipv6AddressesPerInterface","type":"integer"},"Ipv6Supported":{"locationName":"ipv6Supported","type":"boolean"},"EnaSupport":{"locationName":"enaSupport"},"EfaSupported":{"locationName":"efaSupported","type":"boolean"},"EfaInfo":{"locationName":"efaInfo","type":"structure","members":{"MaximumEfaInterfaces":{"locationName":"maximumEfaInterfaces","type":"integer"}}},"EncryptionInTransitSupported":{"locationName":"encryptionInTransitSupported","type":"boolean"}}},"GpuInfo":{"locationName":"gpuInfo","type":"structure","members":{"Gpus":{"locationName":"gpus","type":"list","member":{"locationName":"item","type":"structure","members":{"Name":{"locationName":"name"},"Manufacturer":{"locationName":"manufacturer"},"Count":{"locationName":"count","type":"integer"},"MemoryInfo":{"locationName":"memoryInfo","type":"structure","members":{"SizeInMiB":{"locationName":"sizeInMiB","type":"integer"}}}}}},"TotalGpuMemoryInMiB":{"locationName":"totalGpuMemoryInMiB","type":"integer"}}},"FpgaInfo":{"locationName":"fpgaInfo","type":"structure","members":{"Fpgas":{"locationName":"fpgas","type":"list","member":{"locationName":"item","type":"structure","members":{"Name":{"locationName":"name"},"Manufacturer":{"locationName":"manufacturer"},"Count":{"locationName":"count","type":"integer"},"MemoryInfo":{"locationName":"memoryInfo","type":"structure","members":{"SizeInMiB":{"locationName":"sizeInMiB","type":"integer"}}}}}},"TotalFpgaMemoryInMiB":{"locationName":"totalFpgaMemoryInMiB","type":"integer"}}},"PlacementGroupInfo":{"locationName":"placementGroupInfo","type":"structure","members":{"SupportedStrategies":{"locationName":"supportedStrategies","type":"list","member":{"locationName":"item"}}}},"InferenceAcceleratorInfo":{"locationName":"inferenceAcceleratorInfo","type":"structure","members":{"Accelerators":{"locationName":"item","type":"list","member":{"type":"structure","members":{"Count":{"locationName":"count","type":"integer"},"Name":{"locationName":"name"},"Manufacturer":{"locationName":"manufacturer"}}}}}},"HibernationSupported":{"locationName":"hibernationSupported","type":"boolean"},"BurstablePerformanceSupported":{"locationName":"burstablePerformanceSupported","type":"boolean"},"DedicatedHostsSupported":{"locationName":"dedicatedHostsSupported","type":"boolean"},"AutoRecoverySupported":{"locationName":"autoRecoverySupported","type":"boolean"},"SupportedBootModes":{"locationName":"supportedBootModes","type":"list","member":{"locationName":"item"}}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInstances":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Reservations":{"locationName":"reservationSet","type":"list","member":{"shape":"S16o","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeInternetGateways":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InternetGatewayIds":{"locationName":"internetGatewayId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InternetGateways":{"locationName":"internetGatewaySet","type":"list","member":{"shape":"Sd1","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeIpamPools":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"IpamPoolIds":{"shape":"Se","locationName":"IpamPoolId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"IpamPools":{"locationName":"ipamPoolSet","type":"list","member":{"shape":"Sdj","locationName":"item"}}}}},"DescribeIpamScopes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"IpamScopeIds":{"shape":"Se","locationName":"IpamScopeId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"IpamScopes":{"locationName":"ipamScopeSet","type":"list","member":{"shape":"Sdq","locationName":"item"}}}}},"DescribeIpams":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"IpamIds":{"shape":"Se","locationName":"IpamId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Ipams":{"locationName":"ipamSet","type":"list","member":{"shape":"Sd6","locationName":"item"}}}}},"DescribeIpv6Pools":{"input":{"type":"structure","members":{"PoolIds":{"locationName":"PoolId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"}}},"output":{"type":"structure","members":{"Ipv6Pools":{"locationName":"ipv6PoolSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PoolId":{"locationName":"poolId"},"Description":{"locationName":"description"},"PoolCidrBlocks":{"locationName":"poolCidrBlockSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Cidr":{"locationName":"poolCidrBlock"}}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeKeyPairs":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"KeyNames":{"locationName":"KeyName","type":"list","member":{"locationName":"KeyName"}},"KeyPairIds":{"locationName":"KeyPairId","type":"list","member":{"locationName":"KeyPairId"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"KeyPairs":{"locationName":"keySet","type":"list","member":{"locationName":"item","type":"structure","members":{"KeyPairId":{"locationName":"keyPairId"},"KeyFingerprint":{"locationName":"keyFingerprint"},"KeyName":{"locationName":"keyName"},"KeyType":{"locationName":"keyType"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}}}}},"DescribeLaunchTemplateVersions":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"LaunchTemplateId":{},"LaunchTemplateName":{},"Versions":{"shape":"Sqq","locationName":"LaunchTemplateVersion"},"MinVersion":{},"MaxVersion":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"shape":"Suc","locationName":"Filter"}}},"output":{"type":"structure","members":{"LaunchTemplateVersions":{"locationName":"launchTemplateVersionSet","type":"list","member":{"shape":"Sfk","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLaunchTemplates":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"LaunchTemplateIds":{"locationName":"LaunchTemplateId","type":"list","member":{"locationName":"item"}},"LaunchTemplateNames":{"locationName":"LaunchTemplateName","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"LaunchTemplates":{"locationName":"launchTemplates","type":"list","member":{"shape":"Sfe","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations":{"input":{"type":"structure","members":{"LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds":{"locationName":"LocalGatewayRouteTableVirtualInterfaceGroupAssociationId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTableVirtualInterfaceGroupAssociations":{"locationName":"localGatewayRouteTableVirtualInterfaceGroupAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayRouteTableVirtualInterfaceGroupAssociationId":{"locationName":"localGatewayRouteTableVirtualInterfaceGroupAssociationId"},"LocalGatewayVirtualInterfaceGroupId":{"locationName":"localGatewayVirtualInterfaceGroupId"},"LocalGatewayId":{"locationName":"localGatewayId"},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"LocalGatewayRouteTableArn":{"locationName":"localGatewayRouteTableArn"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayRouteTableVpcAssociations":{"input":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociationIds":{"locationName":"LocalGatewayRouteTableVpcAssociationId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociations":{"locationName":"localGatewayRouteTableVpcAssociationSet","type":"list","member":{"shape":"Sgs","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayRouteTables":{"input":{"type":"structure","members":{"LocalGatewayRouteTableIds":{"locationName":"LocalGatewayRouteTableId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayRouteTables":{"locationName":"localGatewayRouteTableSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"LocalGatewayRouteTableArn":{"locationName":"localGatewayRouteTableArn"},"LocalGatewayId":{"locationName":"localGatewayId"},"OutpostArn":{"locationName":"outpostArn"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayVirtualInterfaceGroups":{"input":{"type":"structure","members":{"LocalGatewayVirtualInterfaceGroupIds":{"locationName":"LocalGatewayVirtualInterfaceGroupId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayVirtualInterfaceGroups":{"locationName":"localGatewayVirtualInterfaceGroupSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayVirtualInterfaceGroupId":{"locationName":"localGatewayVirtualInterfaceGroupId"},"LocalGatewayVirtualInterfaceIds":{"shape":"S197","locationName":"localGatewayVirtualInterfaceIdSet"},"LocalGatewayId":{"locationName":"localGatewayId"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGatewayVirtualInterfaces":{"input":{"type":"structure","members":{"LocalGatewayVirtualInterfaceIds":{"shape":"S197","locationName":"LocalGatewayVirtualInterfaceId"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGatewayVirtualInterfaces":{"locationName":"localGatewayVirtualInterfaceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayVirtualInterfaceId":{"locationName":"localGatewayVirtualInterfaceId"},"LocalGatewayId":{"locationName":"localGatewayId"},"Vlan":{"locationName":"vlan","type":"integer"},"LocalAddress":{"locationName":"localAddress"},"PeerAddress":{"locationName":"peerAddress"},"LocalBgpAsn":{"locationName":"localBgpAsn","type":"integer"},"PeerBgpAsn":{"locationName":"peerBgpAsn","type":"integer"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeLocalGateways":{"input":{"type":"structure","members":{"LocalGatewayIds":{"locationName":"LocalGatewayId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"LocalGateways":{"locationName":"localGatewaySet","type":"list","member":{"locationName":"item","type":"structure","members":{"LocalGatewayId":{"locationName":"localGatewayId"},"OutpostArn":{"locationName":"outpostArn"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeManagedPrefixLists":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"PrefixListIds":{"shape":"Se","locationName":"PrefixListId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"PrefixLists":{"locationName":"prefixListSet","type":"list","member":{"shape":"Sgy","locationName":"item"}}}}},"DescribeMovingAddresses":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"PublicIps":{"shape":"Se","locationName":"publicIp"}}},"output":{"type":"structure","members":{"MovingAddressStatuses":{"locationName":"movingAddressStatusSet","type":"list","member":{"locationName":"item","type":"structure","members":{"MoveStatus":{"locationName":"moveStatus"},"PublicIp":{"locationName":"publicIp"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNatGateways":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filter":{"shape":"Suc"},"MaxResults":{"type":"integer"},"NatGatewayIds":{"locationName":"NatGatewayId","type":"list","member":{"locationName":"item"}},"NextToken":{}}},"output":{"type":"structure","members":{"NatGateways":{"locationName":"natGatewaySet","type":"list","member":{"shape":"Sh3","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkAcls":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkAclIds":{"locationName":"NetworkAclId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NetworkAcls":{"locationName":"networkAclSet","type":"list","member":{"shape":"Sha","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInsightsAccessScopeAnalyses":{"input":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysisIds":{"locationName":"NetworkInsightsAccessScopeAnalysisId","type":"list","member":{"locationName":"item"}},"NetworkInsightsAccessScopeId":{},"AnalysisStartTimeBegin":{"type":"timestamp"},"AnalysisStartTimeEnd":{"type":"timestamp"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalyses":{"locationName":"networkInsightsAccessScopeAnalysisSet","type":"list","member":{"shape":"S1a7","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInsightsAccessScopes":{"input":{"type":"structure","members":{"NetworkInsightsAccessScopeIds":{"locationName":"NetworkInsightsAccessScopeId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopes":{"locationName":"networkInsightsAccessScopeSet","type":"list","member":{"shape":"Shv","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInsightsAnalyses":{"input":{"type":"structure","members":{"NetworkInsightsAnalysisIds":{"locationName":"NetworkInsightsAnalysisId","type":"list","member":{"locationName":"item"}},"NetworkInsightsPathId":{},"AnalysisStartTime":{"type":"timestamp"},"AnalysisEndTime":{"type":"timestamp"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"NetworkInsightsAnalyses":{"locationName":"networkInsightsAnalysisSet","type":"list","member":{"shape":"S1ai","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInsightsPaths":{"input":{"type":"structure","members":{"NetworkInsightsPathIds":{"locationName":"NetworkInsightsPathId","type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"},"NextToken":{}}},"output":{"type":"structure","members":{"NetworkInsightsPaths":{"locationName":"networkInsightsPathSet","type":"list","member":{"shape":"Sia","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInterfaceAttribute":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"Attribute":{"locationName":"attribute"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}},"output":{"type":"structure","members":{"Attachment":{"shape":"Sih","locationName":"attachment"},"Description":{"shape":"S9u","locationName":"description"},"Groups":{"shape":"Sii","locationName":"groupSet"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"SourceDestCheck":{"shape":"S12w","locationName":"sourceDestCheck"}}}},"DescribeNetworkInterfacePermissions":{"input":{"type":"structure","members":{"NetworkInterfacePermissionIds":{"locationName":"NetworkInterfacePermissionId","type":"list","member":{}},"Filters":{"shape":"Suc","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NetworkInterfacePermissions":{"locationName":"networkInterfacePermissions","type":"list","member":{"shape":"Siv","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeNetworkInterfaces":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceIds":{"locationName":"NetworkInterfaceId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NetworkInterfaces":{"locationName":"networkInterfaceSet","type":"list","member":{"shape":"Sif","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribePlacementGroups":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupNames":{"locationName":"groupName","type":"list","member":{}},"GroupIds":{"locationName":"GroupId","type":"list","member":{"locationName":"GroupId"}}}},"output":{"type":"structure","members":{"PlacementGroups":{"locationName":"placementGroupSet","type":"list","member":{"shape":"Sj1","locationName":"item"}}}}},"DescribePrefixLists":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"PrefixListIds":{"locationName":"PrefixListId","type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"PrefixLists":{"locationName":"prefixListSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Cidrs":{"shape":"Se","locationName":"cidrSet"},"PrefixListId":{"locationName":"prefixListId"},"PrefixListName":{"locationName":"prefixListName"}}}}}}},"DescribePrincipalIdFormat":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Resources":{"locationName":"Resource","type":"list","member":{"locationName":"item"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Principals":{"locationName":"principalSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Arn":{"locationName":"arn"},"Statuses":{"shape":"Suu","locationName":"statusSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribePublicIpv4Pools":{"input":{"type":"structure","members":{"PoolIds":{"locationName":"PoolId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"},"Filters":{"shape":"Suc","locationName":"Filter"}}},"output":{"type":"structure","members":{"PublicIpv4Pools":{"locationName":"publicIpv4PoolSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PoolId":{"locationName":"poolId"},"Description":{"locationName":"description"},"PoolAddressRanges":{"locationName":"poolAddressRangeSet","type":"list","member":{"shape":"S1c6","locationName":"item"}},"TotalAddressCount":{"locationName":"totalAddressCount","type":"integer"},"TotalAvailableAddressCount":{"locationName":"totalAvailableAddressCount","type":"integer"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeRegions":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"RegionNames":{"locationName":"RegionName","type":"list","member":{"locationName":"RegionName"}},"DryRun":{"locationName":"dryRun","type":"boolean"},"AllRegions":{"type":"boolean"}}},"output":{"type":"structure","members":{"Regions":{"locationName":"regionInfo","type":"list","member":{"locationName":"item","type":"structure","members":{"Endpoint":{"locationName":"regionEndpoint"},"RegionName":{"locationName":"regionName"},"OptInStatus":{"locationName":"optInStatus"}}}}}}},"DescribeReplaceRootVolumeTasks":{"input":{"type":"structure","members":{"ReplaceRootVolumeTaskIds":{"locationName":"ReplaceRootVolumeTaskId","type":"list","member":{"locationName":"ReplaceRootVolumeTaskId"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ReplaceRootVolumeTasks":{"locationName":"replaceRootVolumeTaskSet","type":"list","member":{"shape":"Sj7","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeReservedInstances":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"OfferingClass":{},"ReservedInstancesIds":{"shape":"S1cj","locationName":"ReservedInstancesId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"OfferingType":{"locationName":"offeringType"}}},"output":{"type":"structure","members":{"ReservedInstances":{"locationName":"reservedInstancesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Duration":{"locationName":"duration","type":"long"},"End":{"locationName":"end","type":"timestamp"},"FixedPrice":{"locationName":"fixedPrice","type":"float"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"InstanceType":{"locationName":"instanceType"},"ProductDescription":{"locationName":"productDescription"},"ReservedInstancesId":{"locationName":"reservedInstancesId"},"Start":{"locationName":"start","type":"timestamp"},"State":{"locationName":"state"},"UsagePrice":{"locationName":"usagePrice","type":"float"},"CurrencyCode":{"locationName":"currencyCode"},"InstanceTenancy":{"locationName":"instanceTenancy"},"OfferingClass":{"locationName":"offeringClass"},"OfferingType":{"locationName":"offeringType"},"RecurringCharges":{"shape":"S1cr","locationName":"recurringCharges"},"Scope":{"locationName":"scope"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}}}}},"DescribeReservedInstancesListings":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"ReservedInstancesId":{"locationName":"reservedInstancesId"},"ReservedInstancesListingId":{"locationName":"reservedInstancesListingId"}}},"output":{"type":"structure","members":{"ReservedInstancesListings":{"shape":"S6r","locationName":"reservedInstancesListingsSet"}}}},"DescribeReservedInstancesModifications":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"ReservedInstancesModificationIds":{"locationName":"ReservedInstancesModificationId","type":"list","member":{"locationName":"ReservedInstancesModificationId"}},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"ReservedInstancesModifications":{"locationName":"reservedInstancesModificationsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"EffectiveDate":{"locationName":"effectiveDate","type":"timestamp"},"ModificationResults":{"locationName":"modificationResultSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservedInstancesId":{"locationName":"reservedInstancesId"},"TargetConfiguration":{"shape":"S1d5","locationName":"targetConfiguration"}}}},"ReservedInstancesIds":{"locationName":"reservedInstancesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservedInstancesId":{"locationName":"reservedInstancesId"}}}},"ReservedInstancesModificationId":{"locationName":"reservedInstancesModificationId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"UpdateDate":{"locationName":"updateDate","type":"timestamp"}}}}}}},"DescribeReservedInstancesOfferings":{"input":{"type":"structure","members":{"AvailabilityZone":{},"Filters":{"shape":"Suc","locationName":"Filter"},"IncludeMarketplace":{"type":"boolean"},"InstanceType":{},"MaxDuration":{"type":"long"},"MaxInstanceCount":{"type":"integer"},"MinDuration":{"type":"long"},"OfferingClass":{},"ProductDescription":{},"ReservedInstancesOfferingIds":{"locationName":"ReservedInstancesOfferingId","type":"list","member":{}},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceTenancy":{"locationName":"instanceTenancy"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"OfferingType":{"locationName":"offeringType"}}},"output":{"type":"structure","members":{"ReservedInstancesOfferings":{"locationName":"reservedInstancesOfferingsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Duration":{"locationName":"duration","type":"long"},"FixedPrice":{"locationName":"fixedPrice","type":"float"},"InstanceType":{"locationName":"instanceType"},"ProductDescription":{"locationName":"productDescription"},"ReservedInstancesOfferingId":{"locationName":"reservedInstancesOfferingId"},"UsagePrice":{"locationName":"usagePrice","type":"float"},"CurrencyCode":{"locationName":"currencyCode"},"InstanceTenancy":{"locationName":"instanceTenancy"},"Marketplace":{"locationName":"marketplace","type":"boolean"},"OfferingClass":{"locationName":"offeringClass"},"OfferingType":{"locationName":"offeringType"},"PricingDetails":{"locationName":"pricingDetailsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Count":{"locationName":"count","type":"integer"},"Price":{"locationName":"price","type":"double"}}}},"RecurringCharges":{"shape":"S1cr","locationName":"recurringCharges"},"Scope":{"locationName":"scope"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeRouteTables":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableIds":{"locationName":"RouteTableId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"RouteTables":{"locationName":"routeTableSet","type":"list","member":{"shape":"Sjo","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeScheduledInstanceAvailability":{"input":{"type":"structure","required":["FirstSlotStartTimeRange","Recurrence"],"members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"FirstSlotStartTimeRange":{"type":"structure","required":["EarliestTime","LatestTime"],"members":{"EarliestTime":{"type":"timestamp"},"LatestTime":{"type":"timestamp"}}},"MaxResults":{"type":"integer"},"MaxSlotDurationInHours":{"type":"integer"},"MinSlotDurationInHours":{"type":"integer"},"NextToken":{},"Recurrence":{"type":"structure","members":{"Frequency":{},"Interval":{"type":"integer"},"OccurrenceDays":{"locationName":"OccurrenceDay","type":"list","member":{"locationName":"OccurenceDay","type":"integer"}},"OccurrenceRelativeToEnd":{"type":"boolean"},"OccurrenceUnit":{}}}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"ScheduledInstanceAvailabilitySet":{"locationName":"scheduledInstanceAvailabilitySet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"AvailableInstanceCount":{"locationName":"availableInstanceCount","type":"integer"},"FirstSlotStartTime":{"locationName":"firstSlotStartTime","type":"timestamp"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceType":{"locationName":"instanceType"},"MaxTermDurationInDays":{"locationName":"maxTermDurationInDays","type":"integer"},"MinTermDurationInDays":{"locationName":"minTermDurationInDays","type":"integer"},"NetworkPlatform":{"locationName":"networkPlatform"},"Platform":{"locationName":"platform"},"PurchaseToken":{"locationName":"purchaseToken"},"Recurrence":{"shape":"S1ds","locationName":"recurrence"},"SlotDurationInHours":{"locationName":"slotDurationInHours","type":"integer"},"TotalScheduledInstanceHours":{"locationName":"totalScheduledInstanceHours","type":"integer"}}}}}}},"DescribeScheduledInstances":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"ScheduledInstanceIds":{"locationName":"ScheduledInstanceId","type":"list","member":{"locationName":"ScheduledInstanceId"}},"SlotStartTimeRange":{"type":"structure","members":{"EarliestTime":{"type":"timestamp"},"LatestTime":{"type":"timestamp"}}}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"ScheduledInstanceSet":{"locationName":"scheduledInstanceSet","type":"list","member":{"shape":"S1e0","locationName":"item"}}}}},"DescribeSecurityGroupReferences":{"input":{"type":"structure","required":["GroupId"],"members":{"DryRun":{"type":"boolean"},"GroupId":{"type":"list","member":{"locationName":"item"}}}},"output":{"type":"structure","members":{"SecurityGroupReferenceSet":{"locationName":"securityGroupReferenceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"GroupId":{"locationName":"groupId"},"ReferencingVpcId":{"locationName":"referencingVpcId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}}}}}},"DescribeSecurityGroupRules":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"SecurityGroupRuleIds":{"shape":"S1e7","locationName":"SecurityGroupRuleId"},"DryRun":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SecurityGroupRules":{"shape":"S5j","locationName":"securityGroupRuleSet"},"NextToken":{"locationName":"nextToken"}}}},"DescribeSecurityGroups":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"GroupIds":{"shape":"S4o","locationName":"GroupId"},"GroupNames":{"shape":"S1eb","locationName":"GroupName"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SecurityGroups":{"locationName":"securityGroupInfo","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"groupDescription"},"GroupName":{"locationName":"groupName"},"IpPermissions":{"shape":"S58","locationName":"ipPermissions"},"OwnerId":{"locationName":"ownerId"},"GroupId":{"locationName":"groupId"},"IpPermissionsEgress":{"shape":"S58","locationName":"ipPermissionsEgress"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeSnapshotAttribute":{"input":{"type":"structure","required":["Attribute","SnapshotId"],"members":{"Attribute":{},"SnapshotId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"CreateVolumePermissions":{"shape":"S1ej","locationName":"createVolumePermission"},"ProductCodes":{"shape":"S109","locationName":"productCodes"},"SnapshotId":{"locationName":"snapshotId"}}}},"DescribeSnapshotTierStatus":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SnapshotTierStatuses":{"locationName":"snapshotTierStatusSet","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"VolumeId":{"locationName":"volumeId"},"Status":{"locationName":"status"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"StorageTier":{"locationName":"storageTier"},"LastTieringStartTime":{"locationName":"lastTieringStartTime","type":"timestamp"},"LastTieringProgress":{"locationName":"lastTieringProgress","type":"integer"},"LastTieringOperationStatus":{"locationName":"lastTieringOperationStatus"},"LastTieringOperationStatusDetail":{"locationName":"lastTieringOperationStatusDetail"},"ArchivalCompleteTime":{"locationName":"archivalCompleteTime","type":"timestamp"},"RestoreExpiryTime":{"locationName":"restoreExpiryTime","type":"timestamp"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeSnapshots":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"OwnerIds":{"shape":"S10e","locationName":"Owner"},"RestorableByUserIds":{"locationName":"RestorableBy","type":"list","member":{}},"SnapshotIds":{"shape":"S1et","locationName":"SnapshotId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"Snapshots":{"locationName":"snapshotSet","type":"list","member":{"shape":"Sk0","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeSpotDatafeedSubscription":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"SpotDatafeedSubscription":{"shape":"Skb","locationName":"spotDatafeedSubscription"}}}},"DescribeSpotFleetInstances":{"input":{"type":"structure","required":["SpotFleetRequestId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}},"output":{"type":"structure","members":{"ActiveInstances":{"shape":"Szc","locationName":"activeInstanceSet"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}}},"DescribeSpotFleetRequestHistory":{"input":{"type":"structure","required":["SpotFleetRequestId","StartTime"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"EventType":{"locationName":"eventType"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"},"StartTime":{"locationName":"startTime","type":"timestamp"}}},"output":{"type":"structure","members":{"HistoryRecords":{"locationName":"historyRecordSet","type":"list","member":{"locationName":"item","type":"structure","members":{"EventInformation":{"shape":"Sz9","locationName":"eventInformation"},"EventType":{"locationName":"eventType"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}},"LastEvaluatedTime":{"locationName":"lastEvaluatedTime","type":"timestamp"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"},"StartTime":{"locationName":"startTime","type":"timestamp"}}}},"DescribeSpotFleetRequests":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"SpotFleetRequestIds":{"shape":"S73","locationName":"spotFleetRequestId"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"SpotFleetRequestConfigs":{"locationName":"spotFleetRequestConfigSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ActivityStatus":{"locationName":"activityStatus"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"SpotFleetRequestConfig":{"shape":"S1fc","locationName":"spotFleetRequestConfig"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"},"SpotFleetRequestState":{"locationName":"spotFleetRequestState"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}}}}},"DescribeSpotInstanceRequests":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"SpotInstanceRequestIds":{"shape":"S7e","locationName":"SpotInstanceRequestId"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SpotInstanceRequests":{"shape":"S1g4","locationName":"spotInstanceRequestSet"},"NextToken":{"locationName":"nextToken"}}}},"DescribeSpotPriceHistory":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"AvailabilityZone":{"locationName":"availabilityZone"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EndTime":{"locationName":"endTime","type":"timestamp"},"InstanceTypes":{"locationName":"InstanceType","type":"list","member":{}},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"ProductDescriptions":{"locationName":"ProductDescription","type":"list","member":{}},"StartTime":{"locationName":"startTime","type":"timestamp"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"SpotPriceHistory":{"locationName":"spotPriceHistorySet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"InstanceType":{"locationName":"instanceType"},"ProductDescription":{"locationName":"productDescription"},"SpotPrice":{"locationName":"spotPrice"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}}}}},"DescribeStaleSecurityGroups":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{},"VpcId":{}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"StaleSecurityGroupSet":{"locationName":"staleSecurityGroupSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"GroupId":{"locationName":"groupId"},"GroupName":{"locationName":"groupName"},"StaleIpPermissions":{"shape":"S1gm","locationName":"staleIpPermissions"},"StaleIpPermissionsEgress":{"shape":"S1gm","locationName":"staleIpPermissionsEgress"},"VpcId":{"locationName":"vpcId"}}}}}}},"DescribeStoreImageTasks":{"input":{"type":"structure","members":{"ImageIds":{"locationName":"ImageId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"StoreImageTaskResults":{"locationName":"storeImageTaskResultSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AmiId":{"locationName":"amiId"},"TaskStartTime":{"locationName":"taskStartTime","type":"timestamp"},"Bucket":{"locationName":"bucket"},"S3objectKey":{"locationName":"s3objectKey"},"ProgressPercentage":{"locationName":"progressPercentage","type":"integer"},"StoreTaskState":{"locationName":"storeTaskState"},"StoreTaskFailureReason":{"locationName":"storeTaskFailureReason"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeSubnets":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"SubnetIds":{"locationName":"SubnetId","type":"list","member":{"locationName":"SubnetId"}},"DryRun":{"locationName":"dryRun","type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Subnets":{"locationName":"subnetSet","type":"list","member":{"shape":"S99","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTags":{"input":{"type":"structure","members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Tags":{"locationName":"tagSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"Value":{"locationName":"value"}}}}}}},"DescribeTrafficMirrorFilters":{"input":{"type":"structure","members":{"TrafficMirrorFilterIds":{"locationName":"TrafficMirrorFilterId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrafficMirrorFilters":{"locationName":"trafficMirrorFilterSet","type":"list","member":{"shape":"Sku","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTrafficMirrorSessions":{"input":{"type":"structure","members":{"TrafficMirrorSessionIds":{"locationName":"TrafficMirrorSessionId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrafficMirrorSessions":{"locationName":"trafficMirrorSessionSet","type":"list","member":{"shape":"Sl9","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTrafficMirrorTargets":{"input":{"type":"structure","members":{"TrafficMirrorTargetIds":{"locationName":"TrafficMirrorTargetId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrafficMirrorTargets":{"locationName":"trafficMirrorTargetSet","type":"list","member":{"shape":"Slc","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayAttachments":{"input":{"type":"structure","members":{"TransitGatewayAttachmentIds":{"shape":"S1hk"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayAttachments":{"locationName":"transitGatewayAttachments","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"TransitGatewayOwnerId":{"locationName":"transitGatewayOwnerId"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"ResourceType":{"locationName":"resourceType"},"ResourceId":{"locationName":"resourceId"},"State":{"locationName":"state"},"Association":{"locationName":"association","type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"State":{"locationName":"state"}}},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayConnectPeers":{"input":{"type":"structure","members":{"TransitGatewayConnectPeerIds":{"type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnectPeers":{"locationName":"transitGatewayConnectPeerSet","type":"list","member":{"shape":"Sm0","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayConnects":{"input":{"type":"structure","members":{"TransitGatewayAttachmentIds":{"shape":"S1hk"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayConnects":{"locationName":"transitGatewayConnectSet","type":"list","member":{"shape":"Slu","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayMulticastDomains":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainIds":{"type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayMulticastDomains":{"locationName":"transitGatewayMulticastDomains","type":"list","member":{"shape":"Smd","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayPeeringAttachments":{"input":{"type":"structure","members":{"TransitGatewayAttachmentIds":{"shape":"S1hk"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachments":{"locationName":"transitGatewayPeeringAttachments","type":"list","member":{"shape":"Sn","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayRouteTables":{"input":{"type":"structure","members":{"TransitGatewayRouteTableIds":{"type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayRouteTables":{"locationName":"transitGatewayRouteTables","type":"list","member":{"shape":"Smx","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGatewayVpcAttachments":{"input":{"type":"structure","members":{"TransitGatewayAttachmentIds":{"shape":"S1hk"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachments":{"locationName":"transitGatewayVpcAttachments","type":"list","member":{"shape":"Sw","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTransitGateways":{"input":{"type":"structure","members":{"TransitGatewayIds":{"type":"list","member":{"locationName":"item"}},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGateways":{"locationName":"transitGatewaySet","type":"list","member":{"shape":"Sln","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeTrunkInterfaceAssociations":{"input":{"type":"structure","members":{"AssociationIds":{"locationName":"AssociationId","type":"list","member":{"locationName":"item"}},"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InterfaceAssociations":{"locationName":"interfaceAssociationSet","type":"list","member":{"shape":"S4c","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVolumeAttribute":{"input":{"type":"structure","required":["Attribute","VolumeId"],"members":{"Attribute":{},"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"AutoEnableIO":{"shape":"S12w","locationName":"autoEnableIO"},"ProductCodes":{"shape":"S109","locationName":"productCodes"},"VolumeId":{"locationName":"volumeId"}}}},"DescribeVolumeStatus":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"VolumeIds":{"shape":"S1io","locationName":"VolumeId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"VolumeStatuses":{"locationName":"volumeStatusSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Actions":{"locationName":"actionsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Code":{"locationName":"code"},"Description":{"locationName":"description"},"EventId":{"locationName":"eventId"},"EventType":{"locationName":"eventType"}}}},"AvailabilityZone":{"locationName":"availabilityZone"},"OutpostArn":{"locationName":"outpostArn"},"Events":{"locationName":"eventsSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"EventId":{"locationName":"eventId"},"EventType":{"locationName":"eventType"},"NotAfter":{"locationName":"notAfter","type":"timestamp"},"NotBefore":{"locationName":"notBefore","type":"timestamp"},"InstanceId":{"locationName":"instanceId"}}}},"VolumeId":{"locationName":"volumeId"},"VolumeStatus":{"locationName":"volumeStatus","type":"structure","members":{"Details":{"locationName":"details","type":"list","member":{"locationName":"item","type":"structure","members":{"Name":{"locationName":"name"},"Status":{"locationName":"status"}}}},"Status":{"locationName":"status"}}},"AttachmentStatuses":{"locationName":"attachmentStatuses","type":"list","member":{"locationName":"item","type":"structure","members":{"IoPerformance":{"locationName":"ioPerformance"},"InstanceId":{"locationName":"instanceId"}}}}}}}}}},"DescribeVolumes":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"VolumeIds":{"shape":"S1io","locationName":"VolumeId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Volumes":{"locationName":"volumeSet","type":"list","member":{"shape":"Sn3","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVolumesModifications":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"VolumeIds":{"shape":"S1io","locationName":"VolumeId"},"Filters":{"shape":"Suc","locationName":"Filter"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"VolumesModifications":{"locationName":"volumeModificationSet","type":"list","member":{"shape":"S1j9","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcAttribute":{"input":{"type":"structure","required":["Attribute","VpcId"],"members":{"Attribute":{},"VpcId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpcId":{"locationName":"vpcId"},"EnableDnsHostnames":{"shape":"S12w","locationName":"enableDnsHostnames"},"EnableDnsSupport":{"shape":"S12w","locationName":"enableDnsSupport"}}}},"DescribeVpcClassicLink":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcIds":{"shape":"S1jf","locationName":"VpcId"}}},"output":{"type":"structure","members":{"Vpcs":{"locationName":"vpcSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ClassicLinkEnabled":{"locationName":"classicLinkEnabled","type":"boolean"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"}}}}}}},"DescribeVpcClassicLinkDnsSupport":{"input":{"type":"structure","members":{"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"VpcIds":{"shape":"S1jf"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Vpcs":{"locationName":"vpcs","type":"list","member":{"locationName":"item","type":"structure","members":{"ClassicLinkDnsSupported":{"locationName":"classicLinkDnsSupported","type":"boolean"},"VpcId":{"locationName":"vpcId"}}}}}}},"DescribeVpcEndpointConnectionNotifications":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"ConnectionNotificationId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ConnectionNotificationSet":{"locationName":"connectionNotificationSet","type":"list","member":{"shape":"Snn","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpointConnections":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"VpcEndpointConnections":{"locationName":"vpcEndpointConnectionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ServiceId":{"locationName":"serviceId"},"VpcEndpointId":{"locationName":"vpcEndpointId"},"VpcEndpointOwner":{"locationName":"vpcEndpointOwner"},"VpcEndpointState":{"locationName":"vpcEndpointState"},"CreationTimestamp":{"locationName":"creationTimestamp","type":"timestamp"},"DnsEntries":{"shape":"Sni","locationName":"dnsEntrySet"},"NetworkLoadBalancerArns":{"shape":"Se","locationName":"networkLoadBalancerArnSet"},"GatewayLoadBalancerArns":{"shape":"Se","locationName":"gatewayLoadBalancerArnSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpointServiceConfigurations":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"ServiceIds":{"shape":"St6","locationName":"ServiceId"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ServiceConfigurations":{"locationName":"serviceConfigurationSet","type":"list","member":{"shape":"Sns","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpointServicePermissions":{"input":{"type":"structure","required":["ServiceId"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AllowedPrincipals":{"locationName":"allowedPrincipals","type":"list","member":{"locationName":"item","type":"structure","members":{"PrincipalType":{"locationName":"principalType"},"Principal":{"locationName":"principal"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpointServices":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"ServiceNames":{"shape":"Se","locationName":"ServiceName"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ServiceNames":{"shape":"Se","locationName":"serviceNameSet"},"ServiceDetails":{"locationName":"serviceDetailSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ServiceName":{"locationName":"serviceName"},"ServiceId":{"locationName":"serviceId"},"ServiceType":{"shape":"Snt","locationName":"serviceType"},"AvailabilityZones":{"shape":"Se","locationName":"availabilityZoneSet"},"Owner":{"locationName":"owner"},"BaseEndpointDnsNames":{"shape":"Se","locationName":"baseEndpointDnsNameSet"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateDnsNames":{"locationName":"privateDnsNameSet","type":"list","member":{"locationName":"item","type":"structure","members":{"PrivateDnsName":{"locationName":"privateDnsName"}}}},"VpcEndpointPolicySupported":{"locationName":"vpcEndpointPolicySupported","type":"boolean"},"AcceptanceRequired":{"locationName":"acceptanceRequired","type":"boolean"},"ManagesVpcEndpoints":{"locationName":"managesVpcEndpoints","type":"boolean"},"PayerResponsibility":{"locationName":"payerResponsibility"},"Tags":{"shape":"Ss","locationName":"tagSet"},"PrivateDnsNameVerificationState":{"locationName":"privateDnsNameVerificationState"}}}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcEndpoints":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"VpcEndpointIds":{"shape":"S13","locationName":"VpcEndpointId"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"VpcEndpoints":{"locationName":"vpcEndpointSet","type":"list","member":{"shape":"Sne","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcPeeringConnections":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcPeeringConnectionIds":{"locationName":"VpcPeeringConnectionId","type":"list","member":{"locationName":"item"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"VpcPeeringConnections":{"locationName":"vpcPeeringConnectionSet","type":"list","member":{"shape":"S1c","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpcs":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"VpcIds":{"locationName":"VpcId","type":"list","member":{"locationName":"VpcId"}},"DryRun":{"locationName":"dryRun","type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Vpcs":{"locationName":"vpcSet","type":"list","member":{"shape":"S9h","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"DescribeVpnConnections":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"VpnConnectionIds":{"locationName":"VpnConnectionId","type":"list","member":{"locationName":"VpnConnectionId"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnections":{"locationName":"vpnConnectionSet","type":"list","member":{"shape":"Son","locationName":"item"}}}}},"DescribeVpnGateways":{"input":{"type":"structure","members":{"Filters":{"shape":"Suc","locationName":"Filter"},"VpnGatewayIds":{"locationName":"VpnGatewayId","type":"list","member":{"locationName":"VpnGatewayId"}},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"VpnGateways":{"locationName":"vpnGatewaySet","type":"list","member":{"shape":"Sph","locationName":"item"}}}}},"DetachClassicLinkVpc":{"input":{"type":"structure","required":["InstanceId","VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"},"VpcId":{"locationName":"vpcId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DetachInternetGateway":{"input":{"type":"structure","required":["InternetGatewayId","VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"InternetGatewayId":{"locationName":"internetGatewayId"},"VpcId":{"locationName":"vpcId"}}}},"DetachNetworkInterface":{"input":{"type":"structure","required":["AttachmentId"],"members":{"AttachmentId":{"locationName":"attachmentId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Force":{"locationName":"force","type":"boolean"}}}},"DetachVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"Device":{},"Force":{"type":"boolean"},"InstanceId":{},"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"shape":"S4w"}},"DetachVpnGateway":{"input":{"type":"structure","required":["VpcId","VpnGatewayId"],"members":{"VpcId":{},"VpnGatewayId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DisableEbsEncryptionByDefault":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"EbsEncryptionByDefault":{"locationName":"ebsEncryptionByDefault","type":"boolean"}}}},"DisableFastLaunch":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"Force":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"},"ResourceType":{"locationName":"resourceType"},"SnapshotConfiguration":{"shape":"Syv","locationName":"snapshotConfiguration"},"LaunchTemplate":{"shape":"Syw","locationName":"launchTemplate"},"MaxParallelLaunches":{"locationName":"maxParallelLaunches","type":"integer"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"StateTransitionTime":{"locationName":"stateTransitionTime","type":"timestamp"}}}},"DisableFastSnapshotRestores":{"input":{"type":"structure","required":["AvailabilityZones","SourceSnapshotIds"],"members":{"AvailabilityZones":{"shape":"S1l7","locationName":"AvailabilityZone"},"SourceSnapshotIds":{"shape":"S1et","locationName":"SourceSnapshotId"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Successful":{"locationName":"successful","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"AvailabilityZone":{"locationName":"availabilityZone"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"OwnerId":{"locationName":"ownerId"},"OwnerAlias":{"locationName":"ownerAlias"},"EnablingTime":{"locationName":"enablingTime","type":"timestamp"},"OptimizingTime":{"locationName":"optimizingTime","type":"timestamp"},"EnabledTime":{"locationName":"enabledTime","type":"timestamp"},"DisablingTime":{"locationName":"disablingTime","type":"timestamp"},"DisabledTime":{"locationName":"disabledTime","type":"timestamp"}}}},"Unsuccessful":{"locationName":"unsuccessful","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"FastSnapshotRestoreStateErrors":{"locationName":"fastSnapshotRestoreStateErrorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}}}}},"DisableImageDeprecation":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DisableIpamOrganizationAdminAccount":{"input":{"type":"structure","required":["DelegatedAdminAccountId"],"members":{"DryRun":{"type":"boolean"},"DelegatedAdminAccountId":{}}},"output":{"type":"structure","members":{"Success":{"locationName":"success","type":"boolean"}}}},"DisableSerialConsoleAccess":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SerialConsoleAccessEnabled":{"locationName":"serialConsoleAccessEnabled","type":"boolean"}}}},"DisableTransitGatewayRouteTablePropagation":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","TransitGatewayAttachmentId"],"members":{"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Propagation":{"shape":"S1lo","locationName":"propagation"}}}},"DisableVgwRoutePropagation":{"input":{"type":"structure","required":["GatewayId","RouteTableId"],"members":{"GatewayId":{},"RouteTableId":{},"DryRun":{"type":"boolean"}}}},"DisableVpcClassicLink":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcId":{"locationName":"vpcId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DisableVpcClassicLinkDnsSupport":{"input":{"type":"structure","members":{"VpcId":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DisassociateAddress":{"input":{"type":"structure","members":{"AssociationId":{},"PublicIp":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DisassociateClientVpnTargetNetwork":{"input":{"type":"structure","required":["ClientVpnEndpointId","AssociationId"],"members":{"ClientVpnEndpointId":{},"AssociationId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"Status":{"shape":"S2y","locationName":"status"}}}},"DisassociateEnclaveCertificateIamRole":{"input":{"type":"structure","members":{"CertificateArn":{},"RoleArn":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"DisassociateIamInstanceProfile":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{}}},"output":{"type":"structure","members":{"IamInstanceProfileAssociation":{"shape":"S38","locationName":"iamInstanceProfileAssociation"}}}},"DisassociateInstanceEventWindow":{"input":{"type":"structure","required":["InstanceEventWindowId","AssociationTarget"],"members":{"DryRun":{"type":"boolean"},"InstanceEventWindowId":{},"AssociationTarget":{"type":"structure","members":{"InstanceIds":{"shape":"S3e","locationName":"InstanceId"},"InstanceTags":{"shape":"Ss","locationName":"InstanceTag"},"DedicatedHostIds":{"shape":"S3f","locationName":"DedicatedHostId"}}}}},"output":{"type":"structure","members":{"InstanceEventWindow":{"shape":"S3i","locationName":"instanceEventWindow"}}}},"DisassociateRouteTable":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{"locationName":"associationId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"DisassociateSubnetCidrBlock":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{"locationName":"associationId"}}},"output":{"type":"structure","members":{"Ipv6CidrBlockAssociation":{"shape":"S3y","locationName":"ipv6CidrBlockAssociation"},"SubnetId":{"locationName":"subnetId"}}}},"DisassociateTransitGatewayMulticastDomain":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"TransitGatewayAttachmentId":{},"SubnetIds":{"shape":"S43"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"shape":"Sg","locationName":"associations"}}}},"DisassociateTransitGatewayRouteTable":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","TransitGatewayAttachmentId"],"members":{"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Association":{"shape":"S48","locationName":"association"}}}},"DisassociateTrunkInterface":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"ClientToken":{"locationName":"clientToken"}}}},"DisassociateVpcCidrBlock":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{"locationName":"associationId"}}},"output":{"type":"structure","members":{"Ipv6CidrBlockAssociation":{"shape":"S4j","locationName":"ipv6CidrBlockAssociation"},"CidrBlockAssociation":{"shape":"S4m","locationName":"cidrBlockAssociation"},"VpcId":{"locationName":"vpcId"}}}},"EnableEbsEncryptionByDefault":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"EbsEncryptionByDefault":{"locationName":"ebsEncryptionByDefault","type":"boolean"}}}},"EnableFastLaunch":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"ResourceType":{},"SnapshotConfiguration":{"type":"structure","members":{"TargetResourceCount":{"type":"integer"}}},"LaunchTemplate":{"type":"structure","required":["Version"],"members":{"LaunchTemplateId":{},"LaunchTemplateName":{},"Version":{}}},"MaxParallelLaunches":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"},"ResourceType":{"locationName":"resourceType"},"SnapshotConfiguration":{"shape":"Syv","locationName":"snapshotConfiguration"},"LaunchTemplate":{"shape":"Syw","locationName":"launchTemplate"},"MaxParallelLaunches":{"locationName":"maxParallelLaunches","type":"integer"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"StateTransitionTime":{"locationName":"stateTransitionTime","type":"timestamp"}}}},"EnableFastSnapshotRestores":{"input":{"type":"structure","required":["AvailabilityZones","SourceSnapshotIds"],"members":{"AvailabilityZones":{"shape":"S1l7","locationName":"AvailabilityZone"},"SourceSnapshotIds":{"shape":"S1et","locationName":"SourceSnapshotId"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Successful":{"locationName":"successful","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"AvailabilityZone":{"locationName":"availabilityZone"},"State":{"locationName":"state"},"StateTransitionReason":{"locationName":"stateTransitionReason"},"OwnerId":{"locationName":"ownerId"},"OwnerAlias":{"locationName":"ownerAlias"},"EnablingTime":{"locationName":"enablingTime","type":"timestamp"},"OptimizingTime":{"locationName":"optimizingTime","type":"timestamp"},"EnabledTime":{"locationName":"enabledTime","type":"timestamp"},"DisablingTime":{"locationName":"disablingTime","type":"timestamp"},"DisabledTime":{"locationName":"disabledTime","type":"timestamp"}}}},"Unsuccessful":{"locationName":"unsuccessful","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"FastSnapshotRestoreStateErrors":{"locationName":"fastSnapshotRestoreStateErrorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}}}}},"EnableImageDeprecation":{"input":{"type":"structure","required":["ImageId","DeprecateAt"],"members":{"ImageId":{},"DeprecateAt":{"type":"timestamp"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"EnableIpamOrganizationAdminAccount":{"input":{"type":"structure","required":["DelegatedAdminAccountId"],"members":{"DryRun":{"type":"boolean"},"DelegatedAdminAccountId":{}}},"output":{"type":"structure","members":{"Success":{"locationName":"success","type":"boolean"}}}},"EnableSerialConsoleAccess":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SerialConsoleAccessEnabled":{"locationName":"serialConsoleAccessEnabled","type":"boolean"}}}},"EnableTransitGatewayRouteTablePropagation":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","TransitGatewayAttachmentId"],"members":{"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Propagation":{"shape":"S1lo","locationName":"propagation"}}}},"EnableVgwRoutePropagation":{"input":{"type":"structure","required":["GatewayId","RouteTableId"],"members":{"GatewayId":{},"RouteTableId":{},"DryRun":{"type":"boolean"}}}},"EnableVolumeIO":{"input":{"type":"structure","required":["VolumeId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VolumeId":{"locationName":"volumeId"}}}},"EnableVpcClassicLink":{"input":{"type":"structure","required":["VpcId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcId":{"locationName":"vpcId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"EnableVpcClassicLinkDnsSupport":{"input":{"type":"structure","members":{"VpcId":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ExportClientVpnClientCertificateRevocationList":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CertificateRevocationList":{"locationName":"certificateRevocationList"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}},"ExportClientVpnClientConfiguration":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClientConfiguration":{"locationName":"clientConfiguration"}}}},"ExportImage":{"input":{"type":"structure","required":["DiskImageFormat","ImageId","S3ExportLocation"],"members":{"ClientToken":{"idempotencyToken":true},"Description":{},"DiskImageFormat":{},"DryRun":{"type":"boolean"},"ImageId":{},"S3ExportLocation":{"type":"structure","required":["S3Bucket"],"members":{"S3Bucket":{},"S3Prefix":{}}},"RoleName":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"Description":{"locationName":"description"},"DiskImageFormat":{"locationName":"diskImageFormat"},"ExportImageTaskId":{"locationName":"exportImageTaskId"},"ImageId":{"locationName":"imageId"},"RoleName":{"locationName":"roleName"},"Progress":{"locationName":"progress"},"S3ExportLocation":{"shape":"Syi","locationName":"s3ExportLocation"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"ExportTransitGatewayRoutes":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","S3Bucket"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"S3Bucket":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"S3Location":{"locationName":"s3Location"}}}},"GetAssociatedEnclaveCertificateIamRoles":{"input":{"type":"structure","members":{"CertificateArn":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"AssociatedRoles":{"locationName":"associatedRoleSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AssociatedRoleArn":{"locationName":"associatedRoleArn"},"CertificateS3BucketName":{"locationName":"certificateS3BucketName"},"CertificateS3ObjectKey":{"locationName":"certificateS3ObjectKey"},"EncryptionKmsKeyId":{"locationName":"encryptionKmsKeyId"}}}}}}},"GetAssociatedIpv6PoolCidrs":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Ipv6CidrAssociations":{"locationName":"ipv6CidrAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Cidr":{"locationName":"ipv6Cidr"},"AssociatedResource":{"locationName":"associatedResource"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetCapacityReservationUsage":{"input":{"type":"structure","required":["CapacityReservationId"],"members":{"CapacityReservationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"CapacityReservationId":{"locationName":"capacityReservationId"},"InstanceType":{"locationName":"instanceType"},"TotalInstanceCount":{"locationName":"totalInstanceCount","type":"integer"},"AvailableInstanceCount":{"locationName":"availableInstanceCount","type":"integer"},"State":{"locationName":"state"},"InstanceUsages":{"locationName":"instanceUsageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AccountId":{"locationName":"accountId"},"UsedInstanceCount":{"locationName":"usedInstanceCount","type":"integer"}}}}}}},"GetCoipPoolUsage":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"CoipPoolId":{"locationName":"coipPoolId"},"CoipAddressUsages":{"locationName":"coipAddressUsageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AllocationId":{"locationName":"allocationId"},"AwsAccountId":{"locationName":"awsAccountId"},"AwsService":{"locationName":"awsService"},"CoIp":{"locationName":"coIp"}}}},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"}}}},"GetConsoleOutput":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"Latest":{"type":"boolean"}}},"output":{"type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"Output":{"locationName":"output"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}},"GetConsoleScreenshot":{"input":{"type":"structure","required":["InstanceId"],"members":{"DryRun":{"type":"boolean"},"InstanceId":{},"WakeUp":{"type":"boolean"}}},"output":{"type":"structure","members":{"ImageData":{"locationName":"imageData"},"InstanceId":{"locationName":"instanceId"}}}},"GetDefaultCreditSpecification":{"input":{"type":"structure","required":["InstanceFamily"],"members":{"DryRun":{"type":"boolean"},"InstanceFamily":{}}},"output":{"type":"structure","members":{"InstanceFamilyCreditSpecification":{"shape":"S1oc","locationName":"instanceFamilyCreditSpecification"}}}},"GetEbsDefaultKmsKeyId":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"KmsKeyId":{"locationName":"kmsKeyId"}}}},"GetEbsEncryptionByDefault":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"EbsEncryptionByDefault":{"locationName":"ebsEncryptionByDefault","type":"boolean"}}}},"GetFlowLogsIntegrationTemplate":{"input":{"type":"structure","required":["FlowLogId","ConfigDeliveryS3DestinationArn","IntegrateServices"],"members":{"DryRun":{"type":"boolean"},"FlowLogId":{},"ConfigDeliveryS3DestinationArn":{},"IntegrateServices":{"locationName":"IntegrateService","type":"structure","members":{"AthenaIntegrations":{"locationName":"AthenaIntegration","type":"list","member":{"locationName":"item","type":"structure","required":["IntegrationResultS3DestinationArn","PartitionLoadFrequency"],"members":{"IntegrationResultS3DestinationArn":{},"PartitionLoadFrequency":{},"PartitionStartDate":{"type":"timestamp"},"PartitionEndDate":{"type":"timestamp"}}}}}}}},"output":{"type":"structure","members":{"Result":{"locationName":"result"}}}},"GetGroupsForCapacityReservation":{"input":{"type":"structure","required":["CapacityReservationId"],"members":{"CapacityReservationId":{},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"CapacityReservationGroups":{"locationName":"capacityReservationGroupSet","type":"list","member":{"locationName":"item","type":"structure","members":{"GroupArn":{"locationName":"groupArn"},"OwnerId":{"locationName":"ownerId"}}}}}}},"GetHostReservationPurchasePreview":{"input":{"type":"structure","required":["HostIdSet","OfferingId"],"members":{"HostIdSet":{"shape":"S1ot"},"OfferingId":{}}},"output":{"type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"Purchase":{"shape":"S1ov","locationName":"purchase"},"TotalHourlyPrice":{"locationName":"totalHourlyPrice"},"TotalUpfrontPrice":{"locationName":"totalUpfrontPrice"}}}},"GetInstanceTypesFromInstanceRequirements":{"input":{"type":"structure","required":["ArchitectureTypes","VirtualizationTypes","InstanceRequirements"],"members":{"DryRun":{"type":"boolean"},"ArchitectureTypes":{"shape":"S1oy","locationName":"ArchitectureType"},"VirtualizationTypes":{"shape":"S1oz","locationName":"VirtualizationType"},"InstanceRequirements":{"shape":"Sam"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceTypes":{"locationName":"instanceTypeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{"locationName":"instanceType"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetIpamAddressHistory":{"input":{"type":"structure","required":["Cidr","IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"Cidr":{},"IpamScopeId":{},"VpcId":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"HistoryRecords":{"locationName":"historyRecordSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceOwnerId":{"locationName":"resourceOwnerId"},"ResourceRegion":{"locationName":"resourceRegion"},"ResourceType":{"locationName":"resourceType"},"ResourceId":{"locationName":"resourceId"},"ResourceCidr":{"locationName":"resourceCidr"},"ResourceName":{"locationName":"resourceName"},"ResourceComplianceStatus":{"locationName":"resourceComplianceStatus"},"ResourceOverlapStatus":{"locationName":"resourceOverlapStatus"},"VpcId":{"locationName":"vpcId"},"SampledStartTime":{"locationName":"sampledStartTime","type":"timestamp"},"SampledEndTime":{"locationName":"sampledEndTime","type":"timestamp"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetIpamPoolAllocations":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"IpamPoolAllocationId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IpamPoolAllocations":{"locationName":"ipamPoolAllocationSet","type":"list","member":{"shape":"S26","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"GetIpamPoolCidrs":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IpamPoolCidrs":{"locationName":"ipamPoolCidrSet","type":"list","member":{"shape":"Stj","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"GetIpamResourceCidrs":{"input":{"type":"structure","required":["IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"IpamScopeId":{},"IpamPoolId":{},"ResourceId":{},"ResourceType":{},"ResourceTag":{"shape":"Sdg"},"ResourceOwner":{}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"IpamResourceCidrs":{"locationName":"ipamResourceCidrSet","type":"list","member":{"shape":"S1pm","locationName":"item"}}}}},"GetLaunchTemplateData":{"input":{"type":"structure","required":["InstanceId"],"members":{"DryRun":{"type":"boolean"},"InstanceId":{}}},"output":{"type":"structure","members":{"LaunchTemplateData":{"shape":"Sfl","locationName":"launchTemplateData"}}}},"GetManagedPrefixListAssociations":{"input":{"type":"structure","required":["PrefixListId"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PrefixListAssociations":{"locationName":"prefixListAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceId":{"locationName":"resourceId"},"ResourceOwner":{"locationName":"resourceOwner"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetManagedPrefixListEntries":{"input":{"type":"structure","required":["PrefixListId"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{},"TargetVersion":{"type":"long"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Entries":{"locationName":"entrySet","type":"list","member":{"locationName":"item","type":"structure","members":{"Cidr":{"locationName":"cidr"},"Description":{"locationName":"description"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetNetworkInsightsAccessScopeAnalysisFindings":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeAnalysisId"],"members":{"NetworkInsightsAccessScopeAnalysisId":{},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysisId":{"locationName":"networkInsightsAccessScopeAnalysisId"},"AnalysisStatus":{"locationName":"analysisStatus"},"AnalysisFindings":{"locationName":"analysisFindingSet","type":"list","member":{"locationName":"item","type":"structure","members":{"NetworkInsightsAccessScopeAnalysisId":{"locationName":"networkInsightsAccessScopeAnalysisId"},"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"},"FindingId":{"locationName":"findingId"},"FindingComponents":{"shape":"S1ak","locationName":"findingComponentSet"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetNetworkInsightsAccessScopeContent":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeId"],"members":{"NetworkInsightsAccessScopeId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeContent":{"shape":"Shx","locationName":"networkInsightsAccessScopeContent"}}}},"GetPasswordData":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"PasswordData":{"locationName":"passwordData"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}}},"GetReservedInstancesExchangeQuote":{"input":{"type":"structure","required":["ReservedInstanceIds"],"members":{"DryRun":{"type":"boolean"},"ReservedInstanceIds":{"shape":"S3","locationName":"ReservedInstanceId"},"TargetConfigurations":{"shape":"S5","locationName":"TargetConfiguration"}}},"output":{"type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"IsValidExchange":{"locationName":"isValidExchange","type":"boolean"},"OutputReservedInstancesWillExpireAt":{"locationName":"outputReservedInstancesWillExpireAt","type":"timestamp"},"PaymentDue":{"locationName":"paymentDue"},"ReservedInstanceValueRollup":{"shape":"S1qa","locationName":"reservedInstanceValueRollup"},"ReservedInstanceValueSet":{"locationName":"reservedInstanceValueSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservationValue":{"shape":"S1qa","locationName":"reservationValue"},"ReservedInstanceId":{"locationName":"reservedInstanceId"}}}},"TargetConfigurationValueRollup":{"shape":"S1qa","locationName":"targetConfigurationValueRollup"},"TargetConfigurationValueSet":{"locationName":"targetConfigurationValueSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ReservationValue":{"shape":"S1qa","locationName":"reservationValue"},"TargetConfiguration":{"locationName":"targetConfiguration","type":"structure","members":{"InstanceCount":{"locationName":"instanceCount","type":"integer"},"OfferingId":{"locationName":"offeringId"}}}}}},"ValidationFailureReason":{"locationName":"validationFailureReason"}}}},"GetSerialConsoleAccessStatus":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SerialConsoleAccessEnabled":{"locationName":"serialConsoleAccessEnabled","type":"boolean"}}}},"GetSpotPlacementScores":{"input":{"type":"structure","required":["TargetCapacity"],"members":{"InstanceTypes":{"locationName":"InstanceType","type":"list","member":{}},"TargetCapacity":{"type":"integer"},"TargetCapacityUnitType":{},"SingleAvailabilityZone":{"type":"boolean"},"RegionNames":{"locationName":"RegionName","type":"list","member":{}},"InstanceRequirementsWithMetadata":{"type":"structure","members":{"ArchitectureTypes":{"shape":"S1oy","locationName":"ArchitectureType"},"VirtualizationTypes":{"shape":"S1oz","locationName":"VirtualizationType"},"InstanceRequirements":{"shape":"Sam"}}},"DryRun":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"SpotPlacementScores":{"locationName":"spotPlacementScoreSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Region":{"locationName":"region"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"Score":{"locationName":"score","type":"integer"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetSubnetCidrReservations":{"input":{"type":"structure","required":["SubnetId"],"members":{"Filters":{"shape":"Suc","locationName":"Filter"},"SubnetId":{},"DryRun":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SubnetIpv4CidrReservations":{"shape":"S1qu","locationName":"subnetIpv4CidrReservationSet"},"SubnetIpv6CidrReservations":{"shape":"S1qu","locationName":"subnetIpv6CidrReservationSet"},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayAttachmentPropagations":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayAttachmentPropagations":{"locationName":"transitGatewayAttachmentPropagations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"State":{"locationName":"state"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayMulticastDomainAssociations":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"MulticastDomainAssociations":{"locationName":"multicastDomainAssociations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"Subnet":{"shape":"Sj","locationName":"subnet"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayPrefixListReferences":{"input":{"type":"structure","required":["TransitGatewayRouteTableId"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPrefixListReferences":{"locationName":"transitGatewayPrefixListReferenceSet","type":"list","member":{"shape":"Sml","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayRouteTableAssociations":{"input":{"type":"structure","required":["TransitGatewayRouteTableId"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"locationName":"associations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"State":{"locationName":"state"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetTransitGatewayRouteTablePropagations":{"input":{"type":"structure","required":["TransitGatewayRouteTableId"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayRouteTablePropagations":{"locationName":"transitGatewayRouteTablePropagations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"State":{"locationName":"state"}}}},"NextToken":{"locationName":"nextToken"}}}},"GetVpnConnectionDeviceSampleConfiguration":{"input":{"type":"structure","required":["VpnConnectionId","VpnConnectionDeviceTypeId"],"members":{"VpnConnectionId":{},"VpnConnectionDeviceTypeId":{},"InternetKeyExchangeVersion":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnectionDeviceSampleConfiguration":{"locationName":"vpnConnectionDeviceSampleConfiguration","type":"string","sensitive":true}}}},"GetVpnConnectionDeviceTypes":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnectionDeviceTypes":{"locationName":"vpnConnectionDeviceTypeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"VpnConnectionDeviceTypeId":{"locationName":"vpnConnectionDeviceTypeId"},"Vendor":{"locationName":"vendor"},"Platform":{"locationName":"platform"},"Software":{"locationName":"software"}}}},"NextToken":{"locationName":"nextToken"}}}},"ImportClientVpnClientCertificateRevocationList":{"input":{"type":"structure","required":["ClientVpnEndpointId","CertificateRevocationList"],"members":{"ClientVpnEndpointId":{},"CertificateRevocationList":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ImportImage":{"input":{"type":"structure","members":{"Architecture":{},"ClientData":{"shape":"S1rq"},"ClientToken":{},"Description":{},"DiskContainers":{"locationName":"DiskContainer","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{},"DeviceName":{},"Format":{},"SnapshotId":{},"Url":{},"UserBucket":{"shape":"S1rt"}}}},"DryRun":{"type":"boolean"},"Encrypted":{"type":"boolean"},"Hypervisor":{},"KmsKeyId":{},"LicenseType":{},"Platform":{},"RoleName":{},"LicenseSpecifications":{"type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{}}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"UsageOperation":{},"BootMode":{}}},"output":{"type":"structure","members":{"Architecture":{"locationName":"architecture"},"Description":{"locationName":"description"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"ImageId":{"locationName":"imageId"},"ImportTaskId":{"locationName":"importTaskId"},"KmsKeyId":{"locationName":"kmsKeyId"},"LicenseType":{"locationName":"licenseType"},"Platform":{"locationName":"platform"},"Progress":{"locationName":"progress"},"SnapshotDetails":{"shape":"S12e","locationName":"snapshotDetailSet"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"LicenseSpecifications":{"shape":"S12h","locationName":"licenseSpecifications"},"Tags":{"shape":"Ss","locationName":"tagSet"},"UsageOperation":{"locationName":"usageOperation"}}}},"ImportInstance":{"input":{"type":"structure","required":["Platform"],"members":{"Description":{"locationName":"description"},"DiskImages":{"locationName":"diskImage","type":"list","member":{"type":"structure","members":{"Description":{},"Image":{"shape":"S1s0"},"Volume":{"shape":"S1s1"}}}},"DryRun":{"locationName":"dryRun","type":"boolean"},"LaunchSpecification":{"locationName":"launchSpecification","type":"structure","members":{"AdditionalInfo":{"locationName":"additionalInfo"},"Architecture":{"locationName":"architecture"},"GroupIds":{"shape":"Se6","locationName":"GroupId"},"GroupNames":{"shape":"Ses","locationName":"GroupName"},"InstanceInitiatedShutdownBehavior":{"locationName":"instanceInitiatedShutdownBehavior"},"InstanceType":{"locationName":"instanceType"},"Monitoring":{"locationName":"monitoring","type":"boolean"},"Placement":{"shape":"Sak","locationName":"placement"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"SubnetId":{"locationName":"subnetId"},"UserData":{"locationName":"userData","type":"structure","members":{"Data":{"locationName":"data"}},"sensitive":true}}},"Platform":{"locationName":"platform"}}},"output":{"type":"structure","members":{"ConversionTask":{"shape":"Sxf","locationName":"conversionTask"}}}},"ImportKeyPair":{"input":{"type":"structure","required":["KeyName","PublicKeyMaterial"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"KeyName":{"locationName":"keyName"},"PublicKeyMaterial":{"locationName":"publicKeyMaterial","type":"blob"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"KeyFingerprint":{"locationName":"keyFingerprint"},"KeyName":{"locationName":"keyName"},"KeyPairId":{"locationName":"keyPairId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"ImportSnapshot":{"input":{"type":"structure","members":{"ClientData":{"shape":"S1rq"},"ClientToken":{},"Description":{},"DiskContainer":{"type":"structure","members":{"Description":{},"Format":{},"Url":{},"UserBucket":{"shape":"S1rt"}}},"DryRun":{"type":"boolean"},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"RoleName":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"Description":{"locationName":"description"},"ImportTaskId":{"locationName":"importTaskId"},"SnapshotTaskDetail":{"shape":"S12p","locationName":"snapshotTaskDetail"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"ImportVolume":{"input":{"type":"structure","required":["AvailabilityZone","Image","Volume"],"members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Image":{"shape":"S1s0","locationName":"image"},"Volume":{"shape":"S1s1","locationName":"volume"}}},"output":{"type":"structure","members":{"ConversionTask":{"shape":"Sxf","locationName":"conversionTask"}}}},"ListImagesInRecycleBin":{"input":{"type":"structure","members":{"ImageIds":{"shape":"S11w","locationName":"ImageId"},"NextToken":{},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Images":{"locationName":"imageSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ImageId":{"locationName":"imageId"},"Name":{"locationName":"name"},"Description":{"locationName":"description"},"RecycleBinEnterTime":{"locationName":"recycleBinEnterTime","type":"timestamp"},"RecycleBinExitTime":{"locationName":"recycleBinExitTime","type":"timestamp"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListSnapshotsInRecycleBin":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"SnapshotIds":{"shape":"S1et","locationName":"SnapshotId"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Snapshots":{"locationName":"snapshotSet","type":"list","member":{"locationName":"item","type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"RecycleBinEnterTime":{"locationName":"recycleBinEnterTime","type":"timestamp"},"RecycleBinExitTime":{"locationName":"recycleBinExitTime","type":"timestamp"},"Description":{"locationName":"description"},"VolumeId":{"locationName":"volumeId"}}}},"NextToken":{"locationName":"nextToken"}}}},"ModifyAddressAttribute":{"input":{"type":"structure","required":["AllocationId"],"members":{"AllocationId":{},"DomainName":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Address":{"shape":"Suq","locationName":"address"}}}},"ModifyAvailabilityZoneGroup":{"input":{"type":"structure","required":["GroupName","OptInStatus"],"members":{"GroupName":{},"OptInStatus":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyCapacityReservation":{"input":{"type":"structure","required":["CapacityReservationId"],"members":{"CapacityReservationId":{},"InstanceCount":{"type":"integer"},"EndDate":{"type":"timestamp"},"EndDateType":{},"Accept":{"type":"boolean"},"DryRun":{"type":"boolean"},"AdditionalInfo":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyCapacityReservationFleet":{"input":{"type":"structure","required":["CapacityReservationFleetId"],"members":{"CapacityReservationFleetId":{},"TotalTargetCapacity":{"type":"integer"},"EndDate":{"type":"timestamp"},"DryRun":{"type":"boolean"},"RemoveEndDate":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyClientVpnEndpoint":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"ServerCertificateArn":{},"ConnectionLogOptions":{"shape":"S8r"},"DnsServers":{"type":"structure","members":{"CustomDnsServers":{"shape":"Se"},"Enabled":{"type":"boolean"}}},"VpnPort":{"type":"integer"},"Description":{},"SplitTunnel":{"type":"boolean"},"DryRun":{"type":"boolean"},"SecurityGroupIds":{"shape":"S2c","locationName":"SecurityGroupId"},"VpcId":{},"SelfServicePortal":{},"ClientConnectOptions":{"shape":"S8u"},"SessionTimeoutHours":{"type":"integer"},"ClientLoginBannerOptions":{"shape":"S8v"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyDefaultCreditSpecification":{"input":{"type":"structure","required":["InstanceFamily","CpuCredits"],"members":{"DryRun":{"type":"boolean"},"InstanceFamily":{},"CpuCredits":{}}},"output":{"type":"structure","members":{"InstanceFamilyCreditSpecification":{"shape":"S1oc","locationName":"instanceFamilyCreditSpecification"}}}},"ModifyEbsDefaultKmsKeyId":{"input":{"type":"structure","required":["KmsKeyId"],"members":{"KmsKeyId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"KmsKeyId":{"locationName":"kmsKeyId"}}}},"ModifyFleet":{"input":{"type":"structure","required":["FleetId"],"members":{"DryRun":{"type":"boolean"},"ExcessCapacityTerminationPolicy":{},"LaunchTemplateConfigs":{"shape":"Sad","locationName":"LaunchTemplateConfig"},"FleetId":{},"TargetCapacitySpecification":{"shape":"Sbc"},"Context":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyFpgaImageAttribute":{"input":{"type":"structure","required":["FpgaImageId"],"members":{"DryRun":{"type":"boolean"},"FpgaImageId":{},"Attribute":{},"OperationType":{},"UserIds":{"shape":"S1t6","locationName":"UserId"},"UserGroups":{"shape":"S1t7","locationName":"UserGroup"},"ProductCodes":{"shape":"S1t8","locationName":"ProductCode"},"LoadPermission":{"type":"structure","members":{"Add":{"shape":"S1ta"},"Remove":{"shape":"S1ta"}}},"Description":{},"Name":{}}},"output":{"type":"structure","members":{"FpgaImageAttribute":{"shape":"S105","locationName":"fpgaImageAttribute"}}}},"ModifyHosts":{"input":{"type":"structure","required":["HostIds"],"members":{"AutoPlacement":{"locationName":"autoPlacement"},"HostIds":{"shape":"S112","locationName":"hostId"},"HostRecovery":{},"InstanceType":{},"InstanceFamily":{}}},"output":{"type":"structure","members":{"Successful":{"shape":"S21","locationName":"successful"},"Unsuccessful":{"shape":"S1tf","locationName":"unsuccessful"}}}},"ModifyIdFormat":{"input":{"type":"structure","required":["Resource","UseLongIds"],"members":{"Resource":{},"UseLongIds":{"type":"boolean"}}}},"ModifyIdentityIdFormat":{"input":{"type":"structure","required":["PrincipalArn","Resource","UseLongIds"],"members":{"PrincipalArn":{"locationName":"principalArn"},"Resource":{"locationName":"resource"},"UseLongIds":{"locationName":"useLongIds","type":"boolean"}}}},"ModifyImageAttribute":{"input":{"type":"structure","required":["ImageId"],"members":{"Attribute":{},"Description":{"shape":"S9u"},"ImageId":{},"LaunchPermission":{"type":"structure","members":{"Add":{"shape":"S11s"},"Remove":{"shape":"S11s"}}},"OperationType":{},"ProductCodes":{"shape":"S1t8","locationName":"ProductCode"},"UserGroups":{"shape":"S1t7","locationName":"UserGroup"},"UserIds":{"shape":"S1t6","locationName":"UserId"},"Value":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"OrganizationArns":{"locationName":"OrganizationArn","type":"list","member":{"locationName":"OrganizationArn"}},"OrganizationalUnitArns":{"locationName":"OrganizationalUnitArn","type":"list","member":{"locationName":"OrganizationalUnitArn"}}}}},"ModifyInstanceAttribute":{"input":{"type":"structure","required":["InstanceId"],"members":{"SourceDestCheck":{"shape":"S12w"},"Attribute":{"locationName":"attribute"},"BlockDeviceMappings":{"locationName":"blockDeviceMapping","type":"list","member":{"locationName":"item","type":"structure","members":{"DeviceName":{"locationName":"deviceName"},"Ebs":{"locationName":"ebs","type":"structure","members":{"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"VolumeId":{"locationName":"volumeId"}}},"NoDevice":{"locationName":"noDevice"},"VirtualName":{"locationName":"virtualName"}}}},"DisableApiTermination":{"shape":"S12w","locationName":"disableApiTermination"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EbsOptimized":{"shape":"S12w","locationName":"ebsOptimized"},"EnaSupport":{"shape":"S12w","locationName":"enaSupport"},"Groups":{"shape":"S4o","locationName":"GroupId"},"InstanceId":{"locationName":"instanceId"},"InstanceInitiatedShutdownBehavior":{"shape":"S9u","locationName":"instanceInitiatedShutdownBehavior"},"InstanceType":{"shape":"S9u","locationName":"instanceType"},"Kernel":{"shape":"S9u","locationName":"kernel"},"Ramdisk":{"shape":"S9u","locationName":"ramdisk"},"SriovNetSupport":{"shape":"S9u","locationName":"sriovNetSupport"},"UserData":{"locationName":"userData","type":"structure","members":{"Value":{"locationName":"value","type":"blob"}}},"Value":{"locationName":"value"}}}},"ModifyInstanceCapacityReservationAttributes":{"input":{"type":"structure","required":["InstanceId","CapacityReservationSpecification"],"members":{"InstanceId":{},"CapacityReservationSpecification":{"shape":"S1ts"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyInstanceCreditSpecification":{"input":{"type":"structure","required":["InstanceCreditSpecifications"],"members":{"DryRun":{"type":"boolean"},"ClientToken":{},"InstanceCreditSpecifications":{"locationName":"InstanceCreditSpecification","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{},"CpuCredits":{}}}}}},"output":{"type":"structure","members":{"SuccessfulInstanceCreditSpecifications":{"locationName":"successfulInstanceCreditSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"}}}},"UnsuccessfulInstanceCreditSpecifications":{"locationName":"unsuccessfulInstanceCreditSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}}}}},"ModifyInstanceEventStartTime":{"input":{"type":"structure","required":["InstanceId","InstanceEventId","NotBefore"],"members":{"DryRun":{"type":"boolean"},"InstanceId":{},"InstanceEventId":{},"NotBefore":{"type":"timestamp"}}},"output":{"type":"structure","members":{"Event":{"shape":"S13f","locationName":"event"}}}},"ModifyInstanceEventWindow":{"input":{"type":"structure","required":["InstanceEventWindowId"],"members":{"DryRun":{"type":"boolean"},"Name":{},"InstanceEventWindowId":{},"TimeRanges":{"shape":"Scm","locationName":"TimeRange"},"CronExpression":{}}},"output":{"type":"structure","members":{"InstanceEventWindow":{"shape":"S3i","locationName":"instanceEventWindow"}}}},"ModifyInstanceMetadataOptions":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"HttpTokens":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpEndpoint":{},"DryRun":{"type":"boolean"},"HttpProtocolIpv6":{},"InstanceMetadataTags":{}}},"output":{"type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"InstanceMetadataOptions":{"shape":"S17d","locationName":"instanceMetadataOptions"}}}},"ModifyInstancePlacement":{"input":{"type":"structure","required":["InstanceId"],"members":{"Affinity":{"locationName":"affinity"},"GroupName":{},"HostId":{"locationName":"hostId"},"InstanceId":{"locationName":"instanceId"},"Tenancy":{"locationName":"tenancy"},"PartitionNumber":{"type":"integer"},"HostResourceGroupArn":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyIpam":{"input":{"type":"structure","required":["IpamId"],"members":{"DryRun":{"type":"boolean"},"IpamId":{},"Description":{},"AddOperatingRegions":{"shape":"Sd3","locationName":"AddOperatingRegion"},"RemoveOperatingRegions":{"locationName":"RemoveOperatingRegion","type":"list","member":{"type":"structure","members":{"RegionName":{}}}}}},"output":{"type":"structure","members":{"Ipam":{"shape":"Sd6","locationName":"ipam"}}}},"ModifyIpamPool":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Description":{},"AutoImport":{"type":"boolean"},"AllocationMinNetmaskLength":{"type":"integer"},"AllocationMaxNetmaskLength":{"type":"integer"},"AllocationDefaultNetmaskLength":{"type":"integer"},"ClearAllocationDefaultNetmaskLength":{"type":"boolean"},"AddAllocationResourceTags":{"shape":"Sdf","locationName":"AddAllocationResourceTag"},"RemoveAllocationResourceTags":{"shape":"Sdf","locationName":"RemoveAllocationResourceTag"}}},"output":{"type":"structure","members":{"IpamPool":{"shape":"Sdj","locationName":"ipamPool"}}}},"ModifyIpamResourceCidr":{"input":{"type":"structure","required":["ResourceId","ResourceCidr","ResourceRegion","CurrentIpamScopeId","Monitored"],"members":{"DryRun":{"type":"boolean"},"ResourceId":{},"ResourceCidr":{},"ResourceRegion":{},"CurrentIpamScopeId":{},"DestinationIpamScopeId":{},"Monitored":{"type":"boolean"}}},"output":{"type":"structure","members":{"IpamResourceCidr":{"shape":"S1pm","locationName":"ipamResourceCidr"}}}},"ModifyIpamScope":{"input":{"type":"structure","required":["IpamScopeId"],"members":{"DryRun":{"type":"boolean"},"IpamScopeId":{},"Description":{}}},"output":{"type":"structure","members":{"IpamScope":{"shape":"Sdq","locationName":"ipamScope"}}}},"ModifyLaunchTemplate":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"ClientToken":{},"LaunchTemplateId":{},"LaunchTemplateName":{},"DefaultVersion":{"locationName":"SetDefaultVersion"}}},"output":{"type":"structure","members":{"LaunchTemplate":{"shape":"Sfe","locationName":"launchTemplate"}}}},"ModifyManagedPrefixList":{"input":{"type":"structure","required":["PrefixListId"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{},"CurrentVersion":{"type":"long"},"PrefixListName":{},"AddEntries":{"shape":"Sgv","locationName":"AddEntry"},"RemoveEntries":{"locationName":"RemoveEntry","type":"list","member":{"type":"structure","required":["Cidr"],"members":{"Cidr":{}}}},"MaxEntries":{"type":"integer"}}},"output":{"type":"structure","members":{"PrefixList":{"shape":"Sgy","locationName":"prefixList"}}}},"ModifyNetworkInterfaceAttribute":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"Attachment":{"locationName":"attachment","type":"structure","members":{"AttachmentId":{"locationName":"attachmentId"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"}}},"Description":{"shape":"S9u","locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Groups":{"shape":"Se6","locationName":"SecurityGroupId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"SourceDestCheck":{"shape":"S12w","locationName":"sourceDestCheck"}}}},"ModifyPrivateDnsNameOptions":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceId":{},"PrivateDnsHostnameType":{},"EnableResourceNameDnsARecord":{"type":"boolean"},"EnableResourceNameDnsAAAARecord":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyReservedInstances":{"input":{"type":"structure","required":["ReservedInstancesIds","TargetConfigurations"],"members":{"ReservedInstancesIds":{"shape":"S1cj","locationName":"ReservedInstancesId"},"ClientToken":{"locationName":"clientToken"},"TargetConfigurations":{"locationName":"ReservedInstancesConfigurationSetItemType","type":"list","member":{"shape":"S1d5","locationName":"item"}}}},"output":{"type":"structure","members":{"ReservedInstancesModificationId":{"locationName":"reservedInstancesModificationId"}}}},"ModifySecurityGroupRules":{"input":{"type":"structure","required":["GroupId","SecurityGroupRules"],"members":{"GroupId":{},"SecurityGroupRules":{"locationName":"SecurityGroupRule","type":"list","member":{"locationName":"item","type":"structure","members":{"SecurityGroupRuleId":{},"SecurityGroupRule":{"type":"structure","members":{"IpProtocol":{},"FromPort":{"type":"integer"},"ToPort":{"type":"integer"},"CidrIpv4":{},"CidrIpv6":{},"PrefixListId":{},"ReferencedGroupId":{},"Description":{}}}}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifySnapshotAttribute":{"input":{"type":"structure","required":["SnapshotId"],"members":{"Attribute":{},"CreateVolumePermission":{"type":"structure","members":{"Add":{"shape":"S1ej"},"Remove":{"shape":"S1ej"}}},"GroupNames":{"shape":"S1eb","locationName":"UserGroup"},"OperationType":{},"SnapshotId":{},"UserIds":{"shape":"S1t6","locationName":"UserId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"ModifySnapshotTier":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{},"StorageTier":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"TieringStartTime":{"locationName":"tieringStartTime","type":"timestamp"}}}},"ModifySpotFleetRequest":{"input":{"type":"structure","required":["SpotFleetRequestId"],"members":{"ExcessCapacityTerminationPolicy":{"locationName":"excessCapacityTerminationPolicy"},"LaunchTemplateConfigs":{"shape":"S1fr","locationName":"LaunchTemplateConfig"},"SpotFleetRequestId":{"locationName":"spotFleetRequestId"},"TargetCapacity":{"locationName":"targetCapacity","type":"integer"},"OnDemandTargetCapacity":{"type":"integer"},"Context":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifySubnetAttribute":{"input":{"type":"structure","required":["SubnetId"],"members":{"AssignIpv6AddressOnCreation":{"shape":"S12w"},"MapPublicIpOnLaunch":{"shape":"S12w"},"SubnetId":{"locationName":"subnetId"},"MapCustomerOwnedIpOnLaunch":{"shape":"S12w"},"CustomerOwnedIpv4Pool":{},"EnableDns64":{"shape":"S12w"},"PrivateDnsHostnameTypeOnLaunch":{},"EnableResourceNameDnsARecordOnLaunch":{"shape":"S12w"},"EnableResourceNameDnsAAAARecordOnLaunch":{"shape":"S12w"},"EnableLniAtDeviceIndex":{"type":"integer"},"DisableLniAtDeviceIndex":{"shape":"S12w"}}}},"ModifyTrafficMirrorFilterNetworkServices":{"input":{"type":"structure","required":["TrafficMirrorFilterId"],"members":{"TrafficMirrorFilterId":{},"AddNetworkServices":{"shape":"Sl0","locationName":"AddNetworkService"},"RemoveNetworkServices":{"shape":"Sl0","locationName":"RemoveNetworkService"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorFilter":{"shape":"Sku","locationName":"trafficMirrorFilter"}}}},"ModifyTrafficMirrorFilterRule":{"input":{"type":"structure","required":["TrafficMirrorFilterRuleId"],"members":{"TrafficMirrorFilterRuleId":{},"TrafficDirection":{},"RuleNumber":{"type":"integer"},"RuleAction":{},"DestinationPortRange":{"shape":"Sl4"},"SourcePortRange":{"shape":"Sl4"},"Protocol":{"type":"integer"},"DestinationCidrBlock":{},"SourceCidrBlock":{},"Description":{},"RemoveFields":{"locationName":"RemoveField","type":"list","member":{}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorFilterRule":{"shape":"Skw","locationName":"trafficMirrorFilterRule"}}}},"ModifyTrafficMirrorSession":{"input":{"type":"structure","required":["TrafficMirrorSessionId"],"members":{"TrafficMirrorSessionId":{},"TrafficMirrorTargetId":{},"TrafficMirrorFilterId":{},"PacketLength":{"type":"integer"},"SessionNumber":{"type":"integer"},"VirtualNetworkId":{"type":"integer"},"Description":{},"RemoveFields":{"locationName":"RemoveField","type":"list","member":{}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TrafficMirrorSession":{"shape":"Sl9","locationName":"trafficMirrorSession"}}}},"ModifyTransitGateway":{"input":{"type":"structure","required":["TransitGatewayId"],"members":{"TransitGatewayId":{},"Description":{},"Options":{"type":"structure","members":{"AddTransitGatewayCidrBlocks":{"shape":"Sll"},"RemoveTransitGatewayCidrBlocks":{"shape":"Sll"},"VpnEcmpSupport":{},"DnsSupport":{},"AutoAcceptSharedAttachments":{},"DefaultRouteTableAssociation":{},"AssociationDefaultRouteTableId":{},"DefaultRouteTablePropagation":{},"PropagationDefaultRouteTableId":{}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGateway":{"shape":"Sln","locationName":"transitGateway"}}}},"ModifyTransitGatewayPrefixListReference":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","PrefixListId"],"members":{"TransitGatewayRouteTableId":{},"PrefixListId":{},"TransitGatewayAttachmentId":{},"Blackhole":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPrefixListReference":{"shape":"Sml","locationName":"transitGatewayPrefixListReference"}}}},"ModifyTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"AddSubnetIds":{"shape":"S43"},"RemoveSubnetIds":{"shape":"S43"},"Options":{"type":"structure","members":{"DnsSupport":{},"Ipv6Support":{},"ApplianceModeSupport":{}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"ModifyVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"DryRun":{"type":"boolean"},"VolumeId":{},"Size":{"type":"integer"},"VolumeType":{},"Iops":{"type":"integer"},"Throughput":{"type":"integer"},"MultiAttachEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"VolumeModification":{"shape":"S1j9","locationName":"volumeModification"}}}},"ModifyVolumeAttribute":{"input":{"type":"structure","required":["VolumeId"],"members":{"AutoEnableIO":{"shape":"S12w"},"VolumeId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"ModifyVpcAttribute":{"input":{"type":"structure","required":["VpcId"],"members":{"EnableDnsHostnames":{"shape":"S12w"},"EnableDnsSupport":{"shape":"S12w"},"VpcId":{"locationName":"vpcId"}}}},"ModifyVpcEndpoint":{"input":{"type":"structure","required":["VpcEndpointId"],"members":{"DryRun":{"type":"boolean"},"VpcEndpointId":{},"ResetPolicy":{"type":"boolean"},"PolicyDocument":{},"AddRouteTableIds":{"shape":"Sna","locationName":"AddRouteTableId"},"RemoveRouteTableIds":{"shape":"Sna","locationName":"RemoveRouteTableId"},"AddSubnetIds":{"shape":"Snb","locationName":"AddSubnetId"},"RemoveSubnetIds":{"shape":"Snb","locationName":"RemoveSubnetId"},"AddSecurityGroupIds":{"shape":"Snc","locationName":"AddSecurityGroupId"},"RemoveSecurityGroupIds":{"shape":"Snc","locationName":"RemoveSecurityGroupId"},"PrivateDnsEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyVpcEndpointConnectionNotification":{"input":{"type":"structure","required":["ConnectionNotificationId"],"members":{"DryRun":{"type":"boolean"},"ConnectionNotificationId":{},"ConnectionNotificationArn":{},"ConnectionEvents":{"shape":"Se"}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"ModifyVpcEndpointServiceConfiguration":{"input":{"type":"structure","required":["ServiceId"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"PrivateDnsName":{},"RemovePrivateDnsName":{"type":"boolean"},"AcceptanceRequired":{"type":"boolean"},"AddNetworkLoadBalancerArns":{"shape":"Se","locationName":"AddNetworkLoadBalancerArn"},"RemoveNetworkLoadBalancerArns":{"shape":"Se","locationName":"RemoveNetworkLoadBalancerArn"},"AddGatewayLoadBalancerArns":{"shape":"Se","locationName":"AddGatewayLoadBalancerArn"},"RemoveGatewayLoadBalancerArns":{"shape":"Se","locationName":"RemoveGatewayLoadBalancerArn"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ModifyVpcEndpointServicePayerResponsibility":{"input":{"type":"structure","required":["ServiceId","PayerResponsibility"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"PayerResponsibility":{}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"ModifyVpcEndpointServicePermissions":{"input":{"type":"structure","required":["ServiceId"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"AddAllowedPrincipals":{"shape":"Se"},"RemoveAllowedPrincipals":{"shape":"Se"}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"ModifyVpcPeeringConnectionOptions":{"input":{"type":"structure","required":["VpcPeeringConnectionId"],"members":{"AccepterPeeringConnectionOptions":{"shape":"S1wb"},"DryRun":{"type":"boolean"},"RequesterPeeringConnectionOptions":{"shape":"S1wb"},"VpcPeeringConnectionId":{}}},"output":{"type":"structure","members":{"AccepterPeeringConnectionOptions":{"shape":"S1wd","locationName":"accepterPeeringConnectionOptions"},"RequesterPeeringConnectionOptions":{"shape":"S1wd","locationName":"requesterPeeringConnectionOptions"}}}},"ModifyVpcTenancy":{"input":{"type":"structure","required":["VpcId","InstanceTenancy"],"members":{"VpcId":{},"InstanceTenancy":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"ModifyVpnConnection":{"input":{"type":"structure","required":["VpnConnectionId"],"members":{"VpnConnectionId":{},"TransitGatewayId":{},"CustomerGatewayId":{},"VpnGatewayId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Son","locationName":"vpnConnection"}}}},"ModifyVpnConnectionOptions":{"input":{"type":"structure","required":["VpnConnectionId"],"members":{"VpnConnectionId":{},"LocalIpv4NetworkCidr":{},"RemoteIpv4NetworkCidr":{},"LocalIpv6NetworkCidr":{},"RemoteIpv6NetworkCidr":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Son","locationName":"vpnConnection"}}}},"ModifyVpnTunnelCertificate":{"input":{"type":"structure","required":["VpnConnectionId","VpnTunnelOutsideIpAddress"],"members":{"VpnConnectionId":{},"VpnTunnelOutsideIpAddress":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Son","locationName":"vpnConnection"}}}},"ModifyVpnTunnelOptions":{"input":{"type":"structure","required":["VpnConnectionId","VpnTunnelOutsideIpAddress","TunnelOptions"],"members":{"VpnConnectionId":{},"VpnTunnelOutsideIpAddress":{},"TunnelOptions":{"type":"structure","members":{"TunnelInsideCidr":{},"TunnelInsideIpv6Cidr":{},"PreSharedKey":{},"Phase1LifetimeSeconds":{"type":"integer"},"Phase2LifetimeSeconds":{"type":"integer"},"RekeyMarginTimeSeconds":{"type":"integer"},"RekeyFuzzPercentage":{"type":"integer"},"ReplayWindowSize":{"type":"integer"},"DPDTimeoutSeconds":{"type":"integer"},"DPDTimeoutAction":{},"Phase1EncryptionAlgorithms":{"shape":"So8","locationName":"Phase1EncryptionAlgorithm"},"Phase2EncryptionAlgorithms":{"shape":"Soa","locationName":"Phase2EncryptionAlgorithm"},"Phase1IntegrityAlgorithms":{"shape":"Soc","locationName":"Phase1IntegrityAlgorithm"},"Phase2IntegrityAlgorithms":{"shape":"Soe","locationName":"Phase2IntegrityAlgorithm"},"Phase1DHGroupNumbers":{"shape":"Sog","locationName":"Phase1DHGroupNumber"},"Phase2DHGroupNumbers":{"shape":"Soi","locationName":"Phase2DHGroupNumber"},"IKEVersions":{"shape":"Sok","locationName":"IKEVersion"},"StartupAction":{}}},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"VpnConnection":{"shape":"Son","locationName":"vpnConnection"}}}},"MonitorInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"InstanceMonitorings":{"shape":"S1ws","locationName":"instancesSet"}}}},"MoveAddressToVpc":{"input":{"type":"structure","required":["PublicIp"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"PublicIp":{"locationName":"publicIp"}}},"output":{"type":"structure","members":{"AllocationId":{"locationName":"allocationId"},"Status":{"locationName":"status"}}}},"MoveByoipCidrToIpam":{"input":{"type":"structure","required":["Cidr","IpamPoolId","IpamPoolOwner"],"members":{"DryRun":{"type":"boolean"},"Cidr":{},"IpamPoolId":{},"IpamPoolOwner":{}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}},"ProvisionByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"CidrAuthorizationContext":{"type":"structure","required":["Message","Signature"],"members":{"Message":{},"Signature":{}}},"PubliclyAdvertisable":{"type":"boolean"},"Description":{},"DryRun":{"type":"boolean"},"PoolTagSpecifications":{"shape":"S1t","locationName":"PoolTagSpecification"},"MultiRegion":{"type":"boolean"}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}},"ProvisionIpamPoolCidr":{"input":{"type":"structure","required":["IpamPoolId"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Cidr":{},"CidrAuthorizationContext":{"type":"structure","members":{"Message":{},"Signature":{}}}}},"output":{"type":"structure","members":{"IpamPoolCidr":{"shape":"Stj","locationName":"ipamPoolCidr"}}}},"ProvisionPublicIpv4PoolCidr":{"input":{"type":"structure","required":["IpamPoolId","PoolId","NetmaskLength"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"PoolId":{},"NetmaskLength":{"type":"integer"}}},"output":{"type":"structure","members":{"PoolId":{"locationName":"poolId"},"PoolAddressRange":{"shape":"S1c6","locationName":"poolAddressRange"}}}},"PurchaseHostReservation":{"input":{"type":"structure","required":["HostIdSet","OfferingId"],"members":{"ClientToken":{},"CurrencyCode":{},"HostIdSet":{"shape":"S1ot"},"LimitPrice":{},"OfferingId":{},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"output":{"type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"CurrencyCode":{"locationName":"currencyCode"},"Purchase":{"shape":"S1ov","locationName":"purchase"},"TotalHourlyPrice":{"locationName":"totalHourlyPrice"},"TotalUpfrontPrice":{"locationName":"totalUpfrontPrice"}}}},"PurchaseReservedInstancesOffering":{"input":{"type":"structure","required":["InstanceCount","ReservedInstancesOfferingId"],"members":{"InstanceCount":{"type":"integer"},"ReservedInstancesOfferingId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"LimitPrice":{"locationName":"limitPrice","type":"structure","members":{"Amount":{"locationName":"amount","type":"double"},"CurrencyCode":{"locationName":"currencyCode"}}},"PurchaseTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"ReservedInstancesId":{"locationName":"reservedInstancesId"}}}},"PurchaseScheduledInstances":{"input":{"type":"structure","required":["PurchaseRequests"],"members":{"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"},"PurchaseRequests":{"locationName":"PurchaseRequest","type":"list","member":{"locationName":"PurchaseRequest","type":"structure","required":["InstanceCount","PurchaseToken"],"members":{"InstanceCount":{"type":"integer"},"PurchaseToken":{}}}}}},"output":{"type":"structure","members":{"ScheduledInstanceSet":{"locationName":"scheduledInstanceSet","type":"list","member":{"shape":"S1e0","locationName":"item"}}}}},"RebootInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"RegisterImage":{"input":{"type":"structure","required":["Name"],"members":{"ImageLocation":{},"Architecture":{"locationName":"architecture"},"BlockDeviceMappings":{"shape":"Scf","locationName":"BlockDeviceMapping"},"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EnaSupport":{"locationName":"enaSupport","type":"boolean"},"KernelId":{"locationName":"kernelId"},"Name":{"locationName":"name"},"BillingProducts":{"locationName":"BillingProduct","type":"list","member":{"locationName":"item"}},"RamdiskId":{"locationName":"ramdiskId"},"RootDeviceName":{"locationName":"rootDeviceName"},"SriovNetSupport":{"locationName":"sriovNetSupport"},"VirtualizationType":{"locationName":"virtualizationType"},"BootMode":{}}},"output":{"type":"structure","members":{"ImageId":{"locationName":"imageId"}}}},"RegisterInstanceEventNotificationAttributes":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"InstanceTagAttribute":{"type":"structure","members":{"IncludeAllTagsOfInstance":{"type":"boolean"},"InstanceTagKeys":{"shape":"Stt","locationName":"InstanceTagKey"}}}}},"output":{"type":"structure","members":{"InstanceTagAttribute":{"shape":"Stv","locationName":"instanceTagAttribute"}}}},"RegisterTransitGatewayMulticastGroupMembers":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"GroupIpAddress":{},"NetworkInterfaceIds":{"shape":"Stx"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"RegisteredMulticastGroupMembers":{"locationName":"registeredMulticastGroupMembers","type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"RegisteredNetworkInterfaceIds":{"shape":"Se","locationName":"registeredNetworkInterfaceIds"},"GroupIpAddress":{"locationName":"groupIpAddress"}}}}}},"RegisterTransitGatewayMulticastGroupSources":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"GroupIpAddress":{},"NetworkInterfaceIds":{"shape":"Stx"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"RegisteredMulticastGroupSources":{"locationName":"registeredMulticastGroupSources","type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"RegisteredNetworkInterfaceIds":{"shape":"Se","locationName":"registeredNetworkInterfaceIds"},"GroupIpAddress":{"locationName":"groupIpAddress"}}}}}},"RejectTransitGatewayMulticastDomainAssociations":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"TransitGatewayAttachmentId":{},"SubnetIds":{"shape":"Se"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Associations":{"shape":"Sg","locationName":"associations"}}}},"RejectTransitGatewayPeeringAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayPeeringAttachment":{"shape":"Sn","locationName":"transitGatewayPeeringAttachment"}}}},"RejectTransitGatewayVpcAttachment":{"input":{"type":"structure","required":["TransitGatewayAttachmentId"],"members":{"TransitGatewayAttachmentId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"TransitGatewayVpcAttachment":{"shape":"Sw","locationName":"transitGatewayVpcAttachment"}}}},"RejectVpcEndpointConnections":{"input":{"type":"structure","required":["ServiceId","VpcEndpointIds"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{},"VpcEndpointIds":{"shape":"S13","locationName":"VpcEndpointId"}}},"output":{"type":"structure","members":{"Unsuccessful":{"shape":"S16","locationName":"unsuccessful"}}}},"RejectVpcPeeringConnection":{"input":{"type":"structure","required":["VpcPeeringConnectionId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ReleaseAddress":{"input":{"type":"structure","members":{"AllocationId":{},"PublicIp":{},"NetworkBorderGroup":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"ReleaseHosts":{"input":{"type":"structure","required":["HostIds"],"members":{"HostIds":{"shape":"S112","locationName":"hostId"}}},"output":{"type":"structure","members":{"Successful":{"shape":"S21","locationName":"successful"},"Unsuccessful":{"shape":"S1tf","locationName":"unsuccessful"}}}},"ReleaseIpamPoolAllocation":{"input":{"type":"structure","required":["IpamPoolId","Cidr"],"members":{"DryRun":{"type":"boolean"},"IpamPoolId":{},"Cidr":{},"IpamPoolAllocationId":{}}},"output":{"type":"structure","members":{"Success":{"locationName":"success","type":"boolean"}}}},"ReplaceIamInstanceProfileAssociation":{"input":{"type":"structure","required":["IamInstanceProfile","AssociationId"],"members":{"IamInstanceProfile":{"shape":"S36"},"AssociationId":{}}},"output":{"type":"structure","members":{"IamInstanceProfileAssociation":{"shape":"S38","locationName":"iamInstanceProfileAssociation"}}}},"ReplaceNetworkAclAssociation":{"input":{"type":"structure","required":["AssociationId","NetworkAclId"],"members":{"AssociationId":{"locationName":"associationId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkAclId":{"locationName":"networkAclId"}}},"output":{"type":"structure","members":{"NewAssociationId":{"locationName":"newAssociationId"}}}},"ReplaceNetworkAclEntry":{"input":{"type":"structure","required":["Egress","NetworkAclId","Protocol","RuleAction","RuleNumber"],"members":{"CidrBlock":{"locationName":"cidrBlock"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Egress":{"locationName":"egress","type":"boolean"},"IcmpTypeCode":{"shape":"Shf","locationName":"Icmp"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"NetworkAclId":{"locationName":"networkAclId"},"PortRange":{"shape":"Shg","locationName":"portRange"},"Protocol":{"locationName":"protocol"},"RuleAction":{"locationName":"ruleAction"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}}},"ReplaceRoute":{"input":{"type":"structure","required":["RouteTableId"],"members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"DestinationIpv6CidrBlock":{"locationName":"destinationIpv6CidrBlock"},"DestinationPrefixListId":{},"DryRun":{"locationName":"dryRun","type":"boolean"},"VpcEndpointId":{},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"GatewayId":{"locationName":"gatewayId"},"InstanceId":{"locationName":"instanceId"},"LocalTarget":{"type":"boolean"},"NatGatewayId":{"locationName":"natGatewayId"},"TransitGatewayId":{},"LocalGatewayId":{},"CarrierGatewayId":{},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"RouteTableId":{"locationName":"routeTableId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"},"CoreNetworkArn":{}}}},"ReplaceRouteTableAssociation":{"input":{"type":"structure","required":["AssociationId","RouteTableId"],"members":{"AssociationId":{"locationName":"associationId"},"DryRun":{"locationName":"dryRun","type":"boolean"},"RouteTableId":{"locationName":"routeTableId"}}},"output":{"type":"structure","members":{"NewAssociationId":{"locationName":"newAssociationId"},"AssociationState":{"shape":"S3u","locationName":"associationState"}}}},"ReplaceTransitGatewayRoute":{"input":{"type":"structure","required":["DestinationCidrBlock","TransitGatewayRouteTableId"],"members":{"DestinationCidrBlock":{},"TransitGatewayRouteTableId":{},"TransitGatewayAttachmentId":{},"Blackhole":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Route":{"shape":"Smq","locationName":"route"}}}},"ReportInstanceStatus":{"input":{"type":"structure","required":["Instances","ReasonCodes","Status"],"members":{"Description":{"locationName":"description"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EndTime":{"locationName":"endTime","type":"timestamp"},"Instances":{"shape":"Svu","locationName":"instanceId"},"ReasonCodes":{"locationName":"reasonCode","type":"list","member":{"locationName":"item"}},"StartTime":{"locationName":"startTime","type":"timestamp"},"Status":{"locationName":"status"}}}},"RequestSpotFleet":{"input":{"type":"structure","required":["SpotFleetRequestConfig"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"SpotFleetRequestConfig":{"shape":"S1fc","locationName":"spotFleetRequestConfig"}}},"output":{"type":"structure","members":{"SpotFleetRequestId":{"locationName":"spotFleetRequestId"}}}},"RequestSpotInstances":{"input":{"type":"structure","members":{"AvailabilityZoneGroup":{"locationName":"availabilityZoneGroup"},"BlockDurationMinutes":{"locationName":"blockDurationMinutes","type":"integer"},"ClientToken":{"locationName":"clientToken"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"LaunchGroup":{"locationName":"launchGroup"},"LaunchSpecification":{"type":"structure","members":{"SecurityGroupIds":{"locationName":"SecurityGroupId","type":"list","member":{"locationName":"item"}},"SecurityGroups":{"locationName":"SecurityGroup","type":"list","member":{"locationName":"item"}},"AddressingType":{"locationName":"addressingType"},"BlockDeviceMappings":{"shape":"S11r","locationName":"blockDeviceMapping"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"shape":"S36","locationName":"iamInstanceProfile"},"ImageId":{"locationName":"imageId"},"InstanceType":{"locationName":"instanceType"},"KernelId":{"locationName":"kernelId"},"KeyName":{"locationName":"keyName"},"Monitoring":{"shape":"S1g7","locationName":"monitoring"},"NetworkInterfaces":{"shape":"S1fm","locationName":"NetworkInterface"},"Placement":{"shape":"S1fo","locationName":"placement"},"RamdiskId":{"locationName":"ramdiskId"},"SubnetId":{"locationName":"subnetId"},"UserData":{"locationName":"userData"}}},"SpotPrice":{"locationName":"spotPrice"},"Type":{"locationName":"type"},"ValidFrom":{"locationName":"validFrom","type":"timestamp"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"InstanceInterruptionBehavior":{}}},"output":{"type":"structure","members":{"SpotInstanceRequests":{"shape":"S1g4","locationName":"spotInstanceRequestSet"}}}},"ResetAddressAttribute":{"input":{"type":"structure","required":["AllocationId","Attribute"],"members":{"AllocationId":{},"Attribute":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Address":{"shape":"Suq","locationName":"address"}}}},"ResetEbsDefaultKmsKeyId":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"KmsKeyId":{"locationName":"kmsKeyId"}}}},"ResetFpgaImageAttribute":{"input":{"type":"structure","required":["FpgaImageId"],"members":{"DryRun":{"type":"boolean"},"FpgaImageId":{},"Attribute":{}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"ResetImageAttribute":{"input":{"type":"structure","required":["Attribute","ImageId"],"members":{"Attribute":{},"ImageId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"ResetInstanceAttribute":{"input":{"type":"structure","required":["Attribute","InstanceId"],"members":{"Attribute":{"locationName":"attribute"},"DryRun":{"locationName":"dryRun","type":"boolean"},"InstanceId":{"locationName":"instanceId"}}}},"ResetNetworkInterfaceAttribute":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"SourceDestCheck":{"locationName":"sourceDestCheck"}}}},"ResetSnapshotAttribute":{"input":{"type":"structure","required":["Attribute","SnapshotId"],"members":{"Attribute":{},"SnapshotId":{},"DryRun":{"locationName":"dryRun","type":"boolean"}}}},"RestoreAddressToClassic":{"input":{"type":"structure","required":["PublicIp"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"PublicIp":{"locationName":"publicIp"}}},"output":{"type":"structure","members":{"PublicIp":{"locationName":"publicIp"},"Status":{"locationName":"status"}}}},"RestoreImageFromRecycleBin":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"RestoreManagedPrefixListVersion":{"input":{"type":"structure","required":["PrefixListId","PreviousVersion","CurrentVersion"],"members":{"DryRun":{"type":"boolean"},"PrefixListId":{},"PreviousVersion":{"type":"long"},"CurrentVersion":{"type":"long"}}},"output":{"type":"structure","members":{"PrefixList":{"shape":"Sgy","locationName":"prefixList"}}}},"RestoreSnapshotFromRecycleBin":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"OutpostArn":{"locationName":"outpostArn"},"Description":{"locationName":"description"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"OwnerId":{"locationName":"ownerId"},"Progress":{"locationName":"progress"},"StartTime":{"locationName":"startTime","type":"timestamp"},"State":{"locationName":"status"},"VolumeId":{"locationName":"volumeId"},"VolumeSize":{"locationName":"volumeSize","type":"integer"}}}},"RestoreSnapshotTier":{"input":{"type":"structure","required":["SnapshotId"],"members":{"SnapshotId":{},"TemporaryRestoreDays":{"type":"integer"},"PermanentRestore":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"SnapshotId":{"locationName":"snapshotId"},"RestoreStartTime":{"locationName":"restoreStartTime","type":"timestamp"},"RestoreDuration":{"locationName":"restoreDuration","type":"integer"},"IsPermanentRestore":{"locationName":"isPermanentRestore","type":"boolean"}}}},"RevokeClientVpnIngress":{"input":{"type":"structure","required":["ClientVpnEndpointId","TargetNetworkCidr"],"members":{"ClientVpnEndpointId":{},"TargetNetworkCidr":{},"AccessGroupId":{},"RevokeAllGroups":{"type":"boolean"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Status":{"shape":"S55","locationName":"status"}}}},"RevokeSecurityGroupEgress":{"input":{"type":"structure","required":["GroupId"],"members":{"DryRun":{"locationName":"dryRun","type":"boolean"},"GroupId":{"locationName":"groupId"},"IpPermissions":{"shape":"S58","locationName":"ipPermissions"},"SecurityGroupRuleIds":{"shape":"S1e7","locationName":"SecurityGroupRuleId"},"CidrIp":{"locationName":"cidrIp"},"FromPort":{"locationName":"fromPort","type":"integer"},"IpProtocol":{"locationName":"ipProtocol"},"ToPort":{"locationName":"toPort","type":"integer"},"SourceSecurityGroupName":{"locationName":"sourceSecurityGroupName"},"SourceSecurityGroupOwnerId":{"locationName":"sourceSecurityGroupOwnerId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"UnknownIpPermissions":{"shape":"S58","locationName":"unknownIpPermissionSet"}}}},"RevokeSecurityGroupIngress":{"input":{"type":"structure","members":{"CidrIp":{},"FromPort":{"type":"integer"},"GroupId":{},"GroupName":{},"IpPermissions":{"shape":"S58"},"IpProtocol":{},"SourceSecurityGroupName":{},"SourceSecurityGroupOwnerId":{},"ToPort":{"type":"integer"},"DryRun":{"locationName":"dryRun","type":"boolean"},"SecurityGroupRuleIds":{"shape":"S1e7","locationName":"SecurityGroupRuleId"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"},"UnknownIpPermissions":{"shape":"S58","locationName":"unknownIpPermissionSet"}}}},"RunInstances":{"input":{"type":"structure","required":["MaxCount","MinCount"],"members":{"BlockDeviceMappings":{"shape":"Scf","locationName":"BlockDeviceMapping"},"ImageId":{},"InstanceType":{},"Ipv6AddressCount":{"type":"integer"},"Ipv6Addresses":{"shape":"Sfs","locationName":"Ipv6Address"},"KernelId":{},"KeyName":{},"MaxCount":{"type":"integer"},"MinCount":{"type":"integer"},"Monitoring":{"shape":"S1g7"},"Placement":{"shape":"Sak"},"RamdiskId":{},"SecurityGroupIds":{"shape":"Se6","locationName":"SecurityGroupId"},"SecurityGroups":{"shape":"Ses","locationName":"SecurityGroup"},"SubnetId":{},"UserData":{},"AdditionalInfo":{"locationName":"additionalInfo"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"DisableApiTermination":{"locationName":"disableApiTermination","type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"shape":"S36","locationName":"iamInstanceProfile"},"InstanceInitiatedShutdownBehavior":{"locationName":"instanceInitiatedShutdownBehavior"},"NetworkInterfaces":{"shape":"S1fm","locationName":"networkInterface"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"ElasticGpuSpecification":{"type":"list","member":{"shape":"Seo","locationName":"item"}},"ElasticInferenceAccelerators":{"locationName":"ElasticInferenceAccelerator","type":"list","member":{"locationName":"item","type":"structure","required":["Type"],"members":{"Type":{},"Count":{"type":"integer"}}}},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"LaunchTemplate":{"type":"structure","members":{"LaunchTemplateId":{},"LaunchTemplateName":{},"Version":{}}},"InstanceMarketOptions":{"type":"structure","members":{"MarketType":{},"SpotOptions":{"type":"structure","members":{"MaxPrice":{},"SpotInstanceType":{},"BlockDurationMinutes":{"type":"integer"},"ValidUntil":{"type":"timestamp"},"InstanceInterruptionBehavior":{}}}}},"CreditSpecification":{"shape":"Sey"},"CpuOptions":{"type":"structure","members":{"CoreCount":{"type":"integer"},"ThreadsPerCore":{"type":"integer"}}},"CapacityReservationSpecification":{"shape":"S1ts"},"HibernationOptions":{"type":"structure","members":{"Configured":{"type":"boolean"}}},"LicenseSpecifications":{"locationName":"LicenseSpecification","type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{}}}},"MetadataOptions":{"type":"structure","members":{"HttpTokens":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpEndpoint":{},"HttpProtocolIpv6":{},"InstanceMetadataTags":{}}},"EnclaveOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"PrivateDnsNameOptions":{"type":"structure","members":{"HostnameType":{},"EnableResourceNameDnsARecord":{"type":"boolean"},"EnableResourceNameDnsAAAARecord":{"type":"boolean"}}}}},"output":{"shape":"S16o"}},"RunScheduledInstances":{"input":{"type":"structure","required":["LaunchSpecification","ScheduledInstanceId"],"members":{"ClientToken":{"idempotencyToken":true},"DryRun":{"type":"boolean"},"InstanceCount":{"type":"integer"},"LaunchSpecification":{"type":"structure","required":["ImageId"],"members":{"BlockDeviceMappings":{"locationName":"BlockDeviceMapping","type":"list","member":{"locationName":"BlockDeviceMapping","type":"structure","members":{"DeviceName":{},"Ebs":{"type":"structure","members":{"DeleteOnTermination":{"type":"boolean"},"Encrypted":{"type":"boolean"},"Iops":{"type":"integer"},"SnapshotId":{},"VolumeSize":{"type":"integer"},"VolumeType":{}}},"NoDevice":{},"VirtualName":{}}}},"EbsOptimized":{"type":"boolean"},"IamInstanceProfile":{"type":"structure","members":{"Arn":{},"Name":{}}},"ImageId":{},"InstanceType":{},"KernelId":{},"KeyName":{},"Monitoring":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"NetworkInterfaces":{"locationName":"NetworkInterface","type":"list","member":{"locationName":"NetworkInterface","type":"structure","members":{"AssociatePublicIpAddress":{"type":"boolean"},"DeleteOnTermination":{"type":"boolean"},"Description":{},"DeviceIndex":{"type":"integer"},"Groups":{"shape":"S20c","locationName":"Group"},"Ipv6AddressCount":{"type":"integer"},"Ipv6Addresses":{"locationName":"Ipv6Address","type":"list","member":{"locationName":"Ipv6Address","type":"structure","members":{"Ipv6Address":{}}}},"NetworkInterfaceId":{},"PrivateIpAddress":{},"PrivateIpAddressConfigs":{"locationName":"PrivateIpAddressConfig","type":"list","member":{"locationName":"PrivateIpAddressConfigSet","type":"structure","members":{"Primary":{"type":"boolean"},"PrivateIpAddress":{}}}},"SecondaryPrivateIpAddressCount":{"type":"integer"},"SubnetId":{}}}},"Placement":{"type":"structure","members":{"AvailabilityZone":{},"GroupName":{}}},"RamdiskId":{},"SecurityGroupIds":{"shape":"S20c","locationName":"SecurityGroupId"},"SubnetId":{},"UserData":{}}},"ScheduledInstanceId":{}}},"output":{"type":"structure","members":{"InstanceIdSet":{"locationName":"instanceIdSet","type":"list","member":{"locationName":"item"}}}}},"SearchLocalGatewayRoutes":{"input":{"type":"structure","required":["LocalGatewayRouteTableId"],"members":{"LocalGatewayRouteTableId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Routes":{"locationName":"routeSet","type":"list","member":{"shape":"Sgn","locationName":"item"}},"NextToken":{"locationName":"nextToken"}}}},"SearchTransitGatewayMulticastGroups":{"input":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"NextToken":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"MulticastGroups":{"locationName":"multicastGroups","type":"list","member":{"locationName":"item","type":"structure","members":{"GroupIpAddress":{"locationName":"groupIpAddress"},"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"SubnetId":{"locationName":"subnetId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"GroupMember":{"locationName":"groupMember","type":"boolean"},"GroupSource":{"locationName":"groupSource","type":"boolean"},"MemberType":{"locationName":"memberType"},"SourceType":{"locationName":"sourceType"}}}},"NextToken":{"locationName":"nextToken"}}}},"SearchTransitGatewayRoutes":{"input":{"type":"structure","required":["TransitGatewayRouteTableId","Filters"],"members":{"TransitGatewayRouteTableId":{},"Filters":{"shape":"Suc","locationName":"Filter"},"MaxResults":{"type":"integer"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"Routes":{"locationName":"routeSet","type":"list","member":{"shape":"Smq","locationName":"item"}},"AdditionalRoutesAvailable":{"locationName":"additionalRoutesAvailable","type":"boolean"}}}},"SendDiagnosticInterrupt":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"DryRun":{"type":"boolean"}}}},"StartInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"AdditionalInfo":{"locationName":"additionalInfo"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"StartingInstances":{"shape":"S210","locationName":"instancesSet"}}}},"StartNetworkInsightsAccessScopeAnalysis":{"input":{"type":"structure","required":["NetworkInsightsAccessScopeId","ClientToken"],"members":{"NetworkInsightsAccessScopeId":{},"DryRun":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysis":{"shape":"S1a7","locationName":"networkInsightsAccessScopeAnalysis"}}}},"StartNetworkInsightsAnalysis":{"input":{"type":"structure","required":["NetworkInsightsPathId","ClientToken"],"members":{"NetworkInsightsPathId":{},"FilterInArns":{"shape":"S1aj","locationName":"FilterInArn"},"DryRun":{"type":"boolean"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"NetworkInsightsAnalysis":{"shape":"S1ai","locationName":"networkInsightsAnalysis"}}}},"StartVpcEndpointServicePrivateDnsVerification":{"input":{"type":"structure","required":["ServiceId"],"members":{"DryRun":{"type":"boolean"},"ServiceId":{}}},"output":{"type":"structure","members":{"ReturnValue":{"locationName":"return","type":"boolean"}}}},"StopInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"Hibernate":{"type":"boolean"},"DryRun":{"locationName":"dryRun","type":"boolean"},"Force":{"locationName":"force","type":"boolean"}}},"output":{"type":"structure","members":{"StoppingInstances":{"shape":"S210","locationName":"instancesSet"}}}},"TerminateClientVpnConnections":{"input":{"type":"structure","required":["ClientVpnEndpointId"],"members":{"ClientVpnEndpointId":{},"ConnectionId":{},"Username":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ClientVpnEndpointId":{"locationName":"clientVpnEndpointId"},"Username":{"locationName":"username"},"ConnectionStatuses":{"locationName":"connectionStatuses","type":"list","member":{"locationName":"item","type":"structure","members":{"ConnectionId":{"locationName":"connectionId"},"PreviousStatus":{"shape":"Sw9","locationName":"previousStatus"},"CurrentStatus":{"shape":"Sw9","locationName":"currentStatus"}}}}}}},"TerminateInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"TerminatingInstances":{"shape":"S210","locationName":"instancesSet"}}}},"UnassignIpv6Addresses":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"Ipv6Addresses":{"shape":"S2g","locationName":"ipv6Addresses"},"Ipv6Prefixes":{"shape":"S2h","locationName":"Ipv6Prefix"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}},"output":{"type":"structure","members":{"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"UnassignedIpv6Addresses":{"shape":"S2g","locationName":"unassignedIpv6Addresses"},"UnassignedIpv6Prefixes":{"shape":"S2h","locationName":"unassignedIpv6PrefixSet"}}}},"UnassignPrivateIpAddresses":{"input":{"type":"structure","required":["NetworkInterfaceId"],"members":{"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddresses":{"shape":"S2l","locationName":"privateIpAddress"},"Ipv4Prefixes":{"shape":"S2h","locationName":"Ipv4Prefix"}}}},"UnmonitorInstances":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Svu","locationName":"InstanceId"},"DryRun":{"locationName":"dryRun","type":"boolean"}}},"output":{"type":"structure","members":{"InstanceMonitorings":{"shape":"S1ws","locationName":"instancesSet"}}}},"UpdateSecurityGroupRuleDescriptionsEgress":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"GroupId":{},"GroupName":{},"IpPermissions":{"shape":"S58"},"SecurityGroupRuleDescriptions":{"shape":"S21m","locationName":"SecurityGroupRuleDescription"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"UpdateSecurityGroupRuleDescriptionsIngress":{"input":{"type":"structure","members":{"DryRun":{"type":"boolean"},"GroupId":{},"GroupName":{},"IpPermissions":{"shape":"S58"},"SecurityGroupRuleDescriptions":{"shape":"S21m","locationName":"SecurityGroupRuleDescription"}}},"output":{"type":"structure","members":{"Return":{"locationName":"return","type":"boolean"}}}},"WithdrawByoipCidr":{"input":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","members":{"ByoipCidr":{"shape":"S1n","locationName":"byoipCidr"}}}}},"shapes":{"S3":{"type":"list","member":{"locationName":"ReservedInstanceId"}},"S5":{"type":"list","member":{"locationName":"TargetConfigurationRequest","type":"structure","required":["OfferingId"],"members":{"InstanceCount":{"type":"integer"},"OfferingId":{}}}},"Se":{"type":"list","member":{"locationName":"item"}},"Sg":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"Subnets":{"locationName":"subnets","type":"list","member":{"shape":"Sj","locationName":"item"}}}},"Sj":{"type":"structure","members":{"SubnetId":{"locationName":"subnetId"},"State":{"locationName":"state"}}},"Sn":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"RequesterTgwInfo":{"shape":"So","locationName":"requesterTgwInfo"},"AccepterTgwInfo":{"shape":"So","locationName":"accepterTgwInfo"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"State":{"locationName":"state"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"So":{"type":"structure","members":{"TransitGatewayId":{"locationName":"transitGatewayId"},"OwnerId":{"locationName":"ownerId"},"Region":{"locationName":"region"}}},"Ss":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"Value":{"locationName":"value"}}}},"Sw":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"VpcId":{"locationName":"vpcId"},"VpcOwnerId":{"locationName":"vpcOwnerId"},"State":{"locationName":"state"},"SubnetIds":{"shape":"Se","locationName":"subnetIds"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Options":{"locationName":"options","type":"structure","members":{"DnsSupport":{"locationName":"dnsSupport"},"Ipv6Support":{"locationName":"ipv6Support"},"ApplianceModeSupport":{"locationName":"applianceModeSupport"}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S13":{"type":"list","member":{"locationName":"item"}},"S16":{"type":"list","member":{"shape":"S17","locationName":"item"}},"S17":{"type":"structure","members":{"Error":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"ResourceId":{"locationName":"resourceId"}}},"S1c":{"type":"structure","members":{"AccepterVpcInfo":{"shape":"S1d","locationName":"accepterVpcInfo"},"ExpirationTime":{"locationName":"expirationTime","type":"timestamp"},"RequesterVpcInfo":{"shape":"S1d","locationName":"requesterVpcInfo"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"S1d":{"type":"structure","members":{"CidrBlock":{"locationName":"cidrBlock"},"Ipv6CidrBlockSet":{"locationName":"ipv6CidrBlockSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"}}}},"CidrBlockSet":{"locationName":"cidrBlockSet","type":"list","member":{"locationName":"item","type":"structure","members":{"CidrBlock":{"locationName":"cidrBlock"}}}},"OwnerId":{"locationName":"ownerId"},"PeeringOptions":{"locationName":"peeringOptions","type":"structure","members":{"AllowDnsResolutionFromRemoteVpc":{"locationName":"allowDnsResolutionFromRemoteVpc","type":"boolean"},"AllowEgressFromLocalClassicLinkToRemoteVpc":{"locationName":"allowEgressFromLocalClassicLinkToRemoteVpc","type":"boolean"},"AllowEgressFromLocalVpcToRemoteClassicLink":{"locationName":"allowEgressFromLocalVpcToRemoteClassicLink","type":"boolean"}}},"VpcId":{"locationName":"vpcId"},"Region":{"locationName":"region"}}},"S1n":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"Description":{"locationName":"description"},"StatusMessage":{"locationName":"statusMessage"},"State":{"locationName":"state"}}},"S1t":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceType":{"locationName":"resourceType"},"Tags":{"shape":"Ss","locationName":"Tag"}}}},"S21":{"type":"list","member":{"locationName":"item"}},"S26":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"IpamPoolAllocationId":{"locationName":"ipamPoolAllocationId"},"Description":{"locationName":"description"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"ResourceRegion":{"locationName":"resourceRegion"},"ResourceOwner":{"locationName":"resourceOwner"}}},"S2c":{"type":"list","member":{"locationName":"item"}},"S2g":{"type":"list","member":{"locationName":"item"}},"S2h":{"type":"list","member":{"locationName":"item"}},"S2l":{"type":"list","member":{"locationName":"PrivateIpAddress"}},"S2p":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv4Prefix":{"locationName":"ipv4Prefix"}}}},"S2y":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S36":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Name":{"locationName":"name"}}},"S38":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"InstanceId":{"locationName":"instanceId"},"IamInstanceProfile":{"shape":"S39","locationName":"iamInstanceProfile"},"State":{"locationName":"state"},"Timestamp":{"locationName":"timestamp","type":"timestamp"}}},"S39":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"}}},"S3e":{"type":"list","member":{"locationName":"item"}},"S3f":{"type":"list","member":{"locationName":"item"}},"S3i":{"type":"structure","members":{"InstanceEventWindowId":{"locationName":"instanceEventWindowId"},"TimeRanges":{"locationName":"timeRangeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"StartWeekDay":{"locationName":"startWeekDay"},"StartHour":{"locationName":"startHour","type":"integer"},"EndWeekDay":{"locationName":"endWeekDay"},"EndHour":{"locationName":"endHour","type":"integer"}}}},"Name":{"locationName":"name"},"CronExpression":{"locationName":"cronExpression"},"AssociationTarget":{"locationName":"associationTarget","type":"structure","members":{"InstanceIds":{"shape":"S3e","locationName":"instanceIdSet"},"Tags":{"shape":"Ss","locationName":"tagSet"},"DedicatedHostIds":{"shape":"S3f","locationName":"dedicatedHostIdSet"}}},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S3u":{"type":"structure","members":{"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"}}},"S3y":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"Ipv6CidrBlockState":{"locationName":"ipv6CidrBlockState","type":"structure","members":{"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"}}}}},"S43":{"type":"list","member":{"locationName":"item"}},"S48":{"type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"State":{"locationName":"state"}}},"S4c":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"BranchInterfaceId":{"locationName":"branchInterfaceId"},"TrunkInterfaceId":{"locationName":"trunkInterfaceId"},"InterfaceProtocol":{"locationName":"interfaceProtocol"},"VlanId":{"locationName":"vlanId","type":"integer"},"GreKey":{"locationName":"greKey","type":"integer"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S4j":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"Ipv6CidrBlockState":{"shape":"S4k","locationName":"ipv6CidrBlockState"},"NetworkBorderGroup":{"locationName":"networkBorderGroup"},"Ipv6Pool":{"locationName":"ipv6Pool"}}},"S4k":{"type":"structure","members":{"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"}}},"S4m":{"type":"structure","members":{"AssociationId":{"locationName":"associationId"},"CidrBlock":{"locationName":"cidrBlock"},"CidrBlockState":{"shape":"S4k","locationName":"cidrBlockState"}}},"S4o":{"type":"list","member":{"locationName":"groupId"}},"S4w":{"type":"structure","members":{"AttachTime":{"locationName":"attachTime","type":"timestamp"},"Device":{"locationName":"device"},"InstanceId":{"locationName":"instanceId"},"State":{"locationName":"status"},"VolumeId":{"locationName":"volumeId"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"}}},"S51":{"type":"structure","members":{"State":{"locationName":"state"},"VpcId":{"locationName":"vpcId"}}},"S55":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S58":{"type":"list","member":{"locationName":"item","type":"structure","members":{"FromPort":{"locationName":"fromPort","type":"integer"},"IpProtocol":{"locationName":"ipProtocol"},"IpRanges":{"locationName":"ipRanges","type":"list","member":{"locationName":"item","type":"structure","members":{"CidrIp":{"locationName":"cidrIp"},"Description":{"locationName":"description"}}}},"Ipv6Ranges":{"locationName":"ipv6Ranges","type":"list","member":{"locationName":"item","type":"structure","members":{"CidrIpv6":{"locationName":"cidrIpv6"},"Description":{"locationName":"description"}}}},"PrefixListIds":{"locationName":"prefixListIds","type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"PrefixListId":{"locationName":"prefixListId"}}}},"ToPort":{"locationName":"toPort","type":"integer"},"UserIdGroupPairs":{"locationName":"groups","type":"list","member":{"shape":"S5h","locationName":"item"}}}}},"S5h":{"type":"structure","members":{"Description":{"locationName":"description"},"GroupId":{"locationName":"groupId"},"GroupName":{"locationName":"groupName"},"PeeringStatus":{"locationName":"peeringStatus"},"UserId":{"locationName":"userId"},"VpcId":{"locationName":"vpcId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"S5j":{"type":"list","member":{"locationName":"item","type":"structure","members":{"SecurityGroupRuleId":{"locationName":"securityGroupRuleId"},"GroupId":{"locationName":"groupId"},"GroupOwnerId":{"locationName":"groupOwnerId"},"IsEgress":{"locationName":"isEgress","type":"boolean"},"IpProtocol":{"locationName":"ipProtocol"},"FromPort":{"locationName":"fromPort","type":"integer"},"ToPort":{"locationName":"toPort","type":"integer"},"CidrIpv4":{"locationName":"cidrIpv4"},"CidrIpv6":{"locationName":"cidrIpv6"},"PrefixListId":{"locationName":"prefixListId"},"ReferencedGroupInfo":{"locationName":"referencedGroupInfo","type":"structure","members":{"GroupId":{"locationName":"groupId"},"PeeringStatus":{"locationName":"peeringStatus"},"UserId":{"locationName":"userId"},"VpcId":{"locationName":"vpcId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"S5s":{"type":"structure","members":{"S3":{"type":"structure","members":{"AWSAccessKeyId":{},"Bucket":{"locationName":"bucket"},"Prefix":{"locationName":"prefix"},"UploadPolicy":{"locationName":"uploadPolicy","type":"blob"},"UploadPolicySignature":{"locationName":"uploadPolicySignature"}}}}},"S5w":{"type":"structure","members":{"BundleId":{"locationName":"bundleId"},"BundleTaskError":{"locationName":"error","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"InstanceId":{"locationName":"instanceId"},"Progress":{"locationName":"progress"},"StartTime":{"locationName":"startTime","type":"timestamp"},"State":{"locationName":"state"},"Storage":{"shape":"S5s","locationName":"storage"},"UpdateTime":{"locationName":"updateTime","type":"timestamp"}}},"S66":{"type":"list","member":{"locationName":"item"}},"S6r":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ClientToken":{"locationName":"clientToken"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"InstanceCounts":{"locationName":"instanceCounts","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceCount":{"locationName":"instanceCount","type":"integer"},"State":{"locationName":"state"}}}},"PriceSchedules":{"locationName":"priceSchedules","type":"list","member":{"locationName":"item","type":"structure","members":{"Active":{"locationName":"active","type":"boolean"},"CurrencyCode":{"locationName":"currencyCode"},"Price":{"locationName":"price","type":"double"},"Term":{"locationName":"term","type":"long"}}}},"ReservedInstancesId":{"locationName":"reservedInstancesId"},"ReservedInstancesListingId":{"locationName":"reservedInstancesListingId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"},"UpdateDate":{"locationName":"updateDate","type":"timestamp"}}}},"S73":{"type":"list","member":{"locationName":"item"}},"S7e":{"type":"list","member":{"locationName":"SpotInstanceRequestId"}},"S81":{"type":"structure","members":{"CapacityReservationId":{"locationName":"capacityReservationId"},"OwnerId":{"locationName":"ownerId"},"CapacityReservationArn":{"locationName":"capacityReservationArn"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"InstanceType":{"locationName":"instanceType"},"InstancePlatform":{"locationName":"instancePlatform"},"AvailabilityZone":{"locationName":"availabilityZone"},"Tenancy":{"locationName":"tenancy"},"TotalInstanceCount":{"locationName":"totalInstanceCount","type":"integer"},"AvailableInstanceCount":{"locationName":"availableInstanceCount","type":"integer"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"EphemeralStorage":{"locationName":"ephemeralStorage","type":"boolean"},"State":{"locationName":"state"},"StartDate":{"locationName":"startDate","type":"timestamp"},"EndDate":{"locationName":"endDate","type":"timestamp"},"EndDateType":{"locationName":"endDateType"},"InstanceMatchCriteria":{"locationName":"instanceMatchCriteria"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"},"OutpostArn":{"locationName":"outpostArn"},"CapacityReservationFleetId":{"locationName":"capacityReservationFleetId"},"PlacementGroupArn":{"locationName":"placementGroupArn"}}},"S8d":{"type":"list","member":{"locationName":"item","type":"structure","members":{"CapacityReservationId":{"locationName":"capacityReservationId"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"InstanceType":{"locationName":"instanceType"},"InstancePlatform":{"locationName":"instancePlatform"},"AvailabilityZone":{"locationName":"availabilityZone"},"TotalInstanceCount":{"locationName":"totalInstanceCount","type":"integer"},"FulfilledCapacity":{"locationName":"fulfilledCapacity","type":"double"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"Weight":{"locationName":"weight","type":"double"},"Priority":{"locationName":"priority","type":"integer"}}}},"S8h":{"type":"structure","members":{"CarrierGatewayId":{"locationName":"carrierGatewayId"},"VpcId":{"locationName":"vpcId"},"State":{"locationName":"state"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S8r":{"type":"structure","members":{"Enabled":{"type":"boolean"},"CloudwatchLogGroup":{},"CloudwatchLogStream":{}}},"S8u":{"type":"structure","members":{"Enabled":{"type":"boolean"},"LambdaFunctionArn":{}}},"S8v":{"type":"structure","members":{"Enabled":{"type":"boolean"},"BannerText":{}}},"S8x":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S91":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S96":{"type":"structure","members":{"BgpAsn":{"locationName":"bgpAsn"},"CustomerGatewayId":{"locationName":"customerGatewayId"},"IpAddress":{"locationName":"ipAddress"},"CertificateArn":{"locationName":"certificateArn"},"State":{"locationName":"state"},"Type":{"locationName":"type"},"DeviceName":{"locationName":"deviceName"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S99":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"AvailabilityZoneId":{"locationName":"availabilityZoneId"},"AvailableIpAddressCount":{"locationName":"availableIpAddressCount","type":"integer"},"CidrBlock":{"locationName":"cidrBlock"},"DefaultForAz":{"locationName":"defaultForAz","type":"boolean"},"EnableLniAtDeviceIndex":{"locationName":"enableLniAtDeviceIndex","type":"integer"},"MapPublicIpOnLaunch":{"locationName":"mapPublicIpOnLaunch","type":"boolean"},"MapCustomerOwnedIpOnLaunch":{"locationName":"mapCustomerOwnedIpOnLaunch","type":"boolean"},"CustomerOwnedIpv4Pool":{"locationName":"customerOwnedIpv4Pool"},"State":{"locationName":"state"},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"},"AssignIpv6AddressOnCreation":{"locationName":"assignIpv6AddressOnCreation","type":"boolean"},"Ipv6CidrBlockAssociationSet":{"locationName":"ipv6CidrBlockAssociationSet","type":"list","member":{"shape":"S3y","locationName":"item"}},"Tags":{"shape":"Ss","locationName":"tagSet"},"SubnetArn":{"locationName":"subnetArn"},"OutpostArn":{"locationName":"outpostArn"},"EnableDns64":{"locationName":"enableDns64","type":"boolean"},"Ipv6Native":{"locationName":"ipv6Native","type":"boolean"},"PrivateDnsNameOptionsOnLaunch":{"locationName":"privateDnsNameOptionsOnLaunch","type":"structure","members":{"HostnameType":{"locationName":"hostnameType"},"EnableResourceNameDnsARecord":{"locationName":"enableResourceNameDnsARecord","type":"boolean"},"EnableResourceNameDnsAAAARecord":{"locationName":"enableResourceNameDnsAAAARecord","type":"boolean"}}}}},"S9h":{"type":"structure","members":{"CidrBlock":{"locationName":"cidrBlock"},"DhcpOptionsId":{"locationName":"dhcpOptionsId"},"State":{"locationName":"state"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"},"InstanceTenancy":{"locationName":"instanceTenancy"},"Ipv6CidrBlockAssociationSet":{"locationName":"ipv6CidrBlockAssociationSet","type":"list","member":{"shape":"S4j","locationName":"item"}},"CidrBlockAssociationSet":{"locationName":"cidrBlockAssociationSet","type":"list","member":{"shape":"S4m","locationName":"item"}},"IsDefault":{"locationName":"isDefault","type":"boolean"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S9q":{"type":"structure","members":{"DhcpConfigurations":{"locationName":"dhcpConfigurationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"Values":{"locationName":"valueSet","type":"list","member":{"shape":"S9u","locationName":"item"}}}}},"DhcpOptionsId":{"locationName":"dhcpOptionsId"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S9u":{"type":"structure","members":{"Value":{"locationName":"value"}}},"S9x":{"type":"structure","members":{"Attachments":{"shape":"S9y","locationName":"attachmentSet"},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S9y":{"type":"list","member":{"locationName":"item","type":"structure","members":{"State":{"locationName":"state"},"VpcId":{"locationName":"vpcId"}}}},"Sad":{"type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateSpecification":{"type":"structure","members":{"LaunchTemplateId":{},"LaunchTemplateName":{},"Version":{}}},"Overrides":{"type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{},"MaxPrice":{},"SubnetId":{},"AvailabilityZone":{},"WeightedCapacity":{"type":"double"},"Priority":{"type":"double"},"Placement":{"shape":"Sak"},"InstanceRequirements":{"shape":"Sam"}}}}}}},"Sak":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Affinity":{"locationName":"affinity"},"GroupName":{"locationName":"groupName"},"PartitionNumber":{"locationName":"partitionNumber","type":"integer"},"HostId":{"locationName":"hostId"},"Tenancy":{"locationName":"tenancy"},"SpreadDomain":{"locationName":"spreadDomain"},"HostResourceGroupArn":{"locationName":"hostResourceGroupArn"}}},"Sam":{"type":"structure","required":["VCpuCount","MemoryMiB"],"members":{"VCpuCount":{"type":"structure","required":["Min"],"members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"MemoryMiB":{"type":"structure","required":["Min"],"members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"CpuManufacturers":{"shape":"Sap","locationName":"CpuManufacturer"},"MemoryGiBPerVCpu":{"type":"structure","members":{"Min":{"type":"double"},"Max":{"type":"double"}}},"ExcludedInstanceTypes":{"shape":"Sas","locationName":"ExcludedInstanceType"},"InstanceGenerations":{"shape":"Sau","locationName":"InstanceGeneration"},"SpotMaxPricePercentageOverLowestPrice":{"type":"integer"},"OnDemandMaxPricePercentageOverLowestPrice":{"type":"integer"},"BareMetal":{},"BurstablePerformance":{},"RequireHibernateSupport":{"type":"boolean"},"NetworkInterfaceCount":{"type":"structure","members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"LocalStorage":{},"LocalStorageTypes":{"shape":"Sb0","locationName":"LocalStorageType"},"TotalLocalStorageGB":{"type":"structure","members":{"Min":{"type":"double"},"Max":{"type":"double"}}},"BaselineEbsBandwidthMbps":{"type":"structure","members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"AcceleratorTypes":{"shape":"Sb4","locationName":"AcceleratorType"},"AcceleratorCount":{"type":"structure","members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}},"AcceleratorManufacturers":{"shape":"Sb7","locationName":"AcceleratorManufacturer"},"AcceleratorNames":{"shape":"Sb9","locationName":"AcceleratorName"},"AcceleratorTotalMemoryMiB":{"type":"structure","members":{"Min":{"type":"integer"},"Max":{"type":"integer"}}}}},"Sap":{"type":"list","member":{"locationName":"item"}},"Sas":{"type":"list","member":{"locationName":"item"}},"Sau":{"type":"list","member":{"locationName":"item"}},"Sb0":{"type":"list","member":{"locationName":"item"}},"Sb4":{"type":"list","member":{"locationName":"item"}},"Sb7":{"type":"list","member":{"locationName":"item"}},"Sb9":{"type":"list","member":{"locationName":"item"}},"Sbc":{"type":"structure","required":["TotalTargetCapacity"],"members":{"TotalTargetCapacity":{"type":"integer"},"OnDemandTargetCapacity":{"type":"integer"},"SpotTargetCapacity":{"type":"integer"},"DefaultTargetCapacityType":{},"TargetCapacityUnitType":{}}},"Sbk":{"type":"structure","members":{"LaunchTemplateSpecification":{"shape":"Sbl","locationName":"launchTemplateSpecification"},"Overrides":{"shape":"Sbm","locationName":"overrides"}}},"Sbl":{"type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"Version":{"locationName":"version"}}},"Sbm":{"type":"structure","members":{"InstanceType":{"locationName":"instanceType"},"MaxPrice":{"locationName":"maxPrice"},"SubnetId":{"locationName":"subnetId"},"AvailabilityZone":{"locationName":"availabilityZone"},"WeightedCapacity":{"locationName":"weightedCapacity","type":"double"},"Priority":{"locationName":"priority","type":"double"},"Placement":{"locationName":"placement","type":"structure","members":{"GroupName":{"locationName":"groupName"}}},"InstanceRequirements":{"shape":"Sbo","locationName":"instanceRequirements"}}},"Sbo":{"type":"structure","members":{"VCpuCount":{"locationName":"vCpuCount","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"MemoryMiB":{"locationName":"memoryMiB","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"CpuManufacturers":{"shape":"Sap","locationName":"cpuManufacturerSet"},"MemoryGiBPerVCpu":{"locationName":"memoryGiBPerVCpu","type":"structure","members":{"Min":{"locationName":"min","type":"double"},"Max":{"locationName":"max","type":"double"}}},"ExcludedInstanceTypes":{"shape":"Sas","locationName":"excludedInstanceTypeSet"},"InstanceGenerations":{"shape":"Sau","locationName":"instanceGenerationSet"},"SpotMaxPricePercentageOverLowestPrice":{"locationName":"spotMaxPricePercentageOverLowestPrice","type":"integer"},"OnDemandMaxPricePercentageOverLowestPrice":{"locationName":"onDemandMaxPricePercentageOverLowestPrice","type":"integer"},"BareMetal":{"locationName":"bareMetal"},"BurstablePerformance":{"locationName":"burstablePerformance"},"RequireHibernateSupport":{"locationName":"requireHibernateSupport","type":"boolean"},"NetworkInterfaceCount":{"locationName":"networkInterfaceCount","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"LocalStorage":{"locationName":"localStorage"},"LocalStorageTypes":{"shape":"Sb0","locationName":"localStorageTypeSet"},"TotalLocalStorageGB":{"locationName":"totalLocalStorageGB","type":"structure","members":{"Min":{"locationName":"min","type":"double"},"Max":{"locationName":"max","type":"double"}}},"BaselineEbsBandwidthMbps":{"locationName":"baselineEbsBandwidthMbps","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"AcceleratorTypes":{"shape":"Sb4","locationName":"acceleratorTypeSet"},"AcceleratorCount":{"locationName":"acceleratorCount","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}},"AcceleratorManufacturers":{"shape":"Sb7","locationName":"acceleratorManufacturerSet"},"AcceleratorNames":{"shape":"Sb9","locationName":"acceleratorNameSet"},"AcceleratorTotalMemoryMiB":{"locationName":"acceleratorTotalMemoryMiB","type":"structure","members":{"Min":{"locationName":"min","type":"integer"},"Max":{"locationName":"max","type":"integer"}}}}},"Sc0":{"type":"list","member":{"locationName":"item"}},"Scc":{"type":"structure","members":{"Bucket":{},"Key":{}}},"Scf":{"type":"list","member":{"shape":"Scg","locationName":"BlockDeviceMapping"}},"Scg":{"type":"structure","members":{"DeviceName":{"locationName":"deviceName"},"VirtualName":{"locationName":"virtualName"},"Ebs":{"locationName":"ebs","type":"structure","members":{"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Iops":{"locationName":"iops","type":"integer"},"SnapshotId":{"locationName":"snapshotId"},"VolumeSize":{"locationName":"volumeSize","type":"integer"},"VolumeType":{"locationName":"volumeType"},"KmsKeyId":{},"Throughput":{"locationName":"throughput","type":"integer"},"OutpostArn":{"locationName":"outpostArn"},"Encrypted":{"locationName":"encrypted","type":"boolean"}}},"NoDevice":{"locationName":"noDevice"}}},"Scm":{"type":"list","member":{"type":"structure","members":{"StartWeekDay":{},"StartHour":{"type":"integer"},"EndWeekDay":{},"EndHour":{"type":"integer"}}}},"Scv":{"type":"structure","members":{"Description":{"locationName":"description"},"ExportTaskId":{"locationName":"exportTaskId"},"ExportToS3Task":{"locationName":"exportToS3","type":"structure","members":{"ContainerFormat":{"locationName":"containerFormat"},"DiskImageFormat":{"locationName":"diskImageFormat"},"S3Bucket":{"locationName":"s3Bucket"},"S3Key":{"locationName":"s3Key"}}},"InstanceExportDetails":{"locationName":"instanceExport","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"TargetEnvironment":{"locationName":"targetEnvironment"}}},"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sd1":{"type":"structure","members":{"Attachments":{"shape":"S9y","locationName":"attachmentSet"},"InternetGatewayId":{"locationName":"internetGatewayId"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sd3":{"type":"list","member":{"type":"structure","members":{"RegionName":{}}}},"Sd6":{"type":"structure","members":{"OwnerId":{"locationName":"ownerId"},"IpamId":{"locationName":"ipamId"},"IpamArn":{"locationName":"ipamArn"},"IpamRegion":{"locationName":"ipamRegion"},"PublicDefaultScopeId":{"locationName":"publicDefaultScopeId"},"PrivateDefaultScopeId":{"locationName":"privateDefaultScopeId"},"ScopeCount":{"locationName":"scopeCount","type":"integer"},"Description":{"locationName":"description"},"OperatingRegions":{"locationName":"operatingRegionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"RegionName":{"locationName":"regionName"}}}},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sdf":{"type":"list","member":{"shape":"Sdg","locationName":"item"}},"Sdg":{"type":"structure","members":{"Key":{},"Value":{}}},"Sdj":{"type":"structure","members":{"OwnerId":{"locationName":"ownerId"},"IpamPoolId":{"locationName":"ipamPoolId"},"SourceIpamPoolId":{"locationName":"sourceIpamPoolId"},"IpamPoolArn":{"locationName":"ipamPoolArn"},"IpamScopeArn":{"locationName":"ipamScopeArn"},"IpamScopeType":{"locationName":"ipamScopeType"},"IpamArn":{"locationName":"ipamArn"},"IpamRegion":{"locationName":"ipamRegion"},"Locale":{"locationName":"locale"},"PoolDepth":{"locationName":"poolDepth","type":"integer"},"State":{"locationName":"state"},"StateMessage":{"locationName":"stateMessage"},"Description":{"locationName":"description"},"AutoImport":{"locationName":"autoImport","type":"boolean"},"PubliclyAdvertisable":{"locationName":"publiclyAdvertisable","type":"boolean"},"AddressFamily":{"locationName":"addressFamily"},"AllocationMinNetmaskLength":{"locationName":"allocationMinNetmaskLength","type":"integer"},"AllocationMaxNetmaskLength":{"locationName":"allocationMaxNetmaskLength","type":"integer"},"AllocationDefaultNetmaskLength":{"locationName":"allocationDefaultNetmaskLength","type":"integer"},"AllocationResourceTags":{"shape":"Sdm","locationName":"allocationResourceTagSet"},"Tags":{"shape":"Ss","locationName":"tagSet"},"AwsService":{"locationName":"awsService"}}},"Sdm":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Key":{"locationName":"key"},"Value":{"locationName":"value"}}}},"Sdq":{"type":"structure","members":{"OwnerId":{"locationName":"ownerId"},"IpamScopeId":{"locationName":"ipamScopeId"},"IpamScopeArn":{"locationName":"ipamScopeArn"},"IpamArn":{"locationName":"ipamArn"},"IpamRegion":{"locationName":"ipamRegion"},"IpamScopeType":{"locationName":"ipamScopeType"},"IsDefault":{"locationName":"isDefault","type":"boolean"},"Description":{"locationName":"description"},"PoolCount":{"locationName":"poolCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sdy":{"type":"structure","members":{"KernelId":{},"EbsOptimized":{"type":"boolean"},"IamInstanceProfile":{"type":"structure","members":{"Arn":{},"Name":{}}},"BlockDeviceMappings":{"locationName":"BlockDeviceMapping","type":"list","member":{"locationName":"BlockDeviceMapping","type":"structure","members":{"DeviceName":{},"VirtualName":{},"Ebs":{"type":"structure","members":{"Encrypted":{"type":"boolean"},"DeleteOnTermination":{"type":"boolean"},"Iops":{"type":"integer"},"KmsKeyId":{},"SnapshotId":{},"VolumeSize":{"type":"integer"},"VolumeType":{},"Throughput":{"type":"integer"}}},"NoDevice":{}}}},"NetworkInterfaces":{"locationName":"NetworkInterface","type":"list","member":{"locationName":"InstanceNetworkInterfaceSpecification","type":"structure","members":{"AssociateCarrierIpAddress":{"type":"boolean"},"AssociatePublicIpAddress":{"type":"boolean"},"DeleteOnTermination":{"type":"boolean"},"Description":{},"DeviceIndex":{"type":"integer"},"Groups":{"shape":"Se6","locationName":"SecurityGroupId"},"InterfaceType":{},"Ipv6AddressCount":{"type":"integer"},"Ipv6Addresses":{"type":"list","member":{"locationName":"InstanceIpv6Address","type":"structure","members":{"Ipv6Address":{}}}},"NetworkInterfaceId":{},"PrivateIpAddress":{},"PrivateIpAddresses":{"shape":"Se9"},"SecondaryPrivateIpAddressCount":{"type":"integer"},"SubnetId":{},"NetworkCardIndex":{"type":"integer"},"Ipv4Prefixes":{"shape":"Seb","locationName":"Ipv4Prefix"},"Ipv4PrefixCount":{"type":"integer"},"Ipv6Prefixes":{"shape":"Sed","locationName":"Ipv6Prefix"},"Ipv6PrefixCount":{"type":"integer"}}}},"ImageId":{},"InstanceType":{},"KeyName":{},"Monitoring":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"Placement":{"type":"structure","members":{"AvailabilityZone":{},"Affinity":{},"GroupName":{},"HostId":{},"Tenancy":{},"SpreadDomain":{},"HostResourceGroupArn":{},"PartitionNumber":{"type":"integer"}}},"RamDiskId":{},"DisableApiTermination":{"type":"boolean"},"InstanceInitiatedShutdownBehavior":{},"UserData":{},"TagSpecifications":{"locationName":"TagSpecification","type":"list","member":{"locationName":"LaunchTemplateTagSpecificationRequest","type":"structure","members":{"ResourceType":{},"Tags":{"shape":"Ss","locationName":"Tag"}}}},"ElasticGpuSpecifications":{"locationName":"ElasticGpuSpecification","type":"list","member":{"shape":"Seo","locationName":"ElasticGpuSpecification"}},"ElasticInferenceAccelerators":{"locationName":"ElasticInferenceAccelerator","type":"list","member":{"locationName":"item","type":"structure","required":["Type"],"members":{"Type":{},"Count":{"type":"integer"}}}},"SecurityGroupIds":{"shape":"Se6","locationName":"SecurityGroupId"},"SecurityGroups":{"shape":"Ses","locationName":"SecurityGroup"},"InstanceMarketOptions":{"type":"structure","members":{"MarketType":{},"SpotOptions":{"type":"structure","members":{"MaxPrice":{},"SpotInstanceType":{},"BlockDurationMinutes":{"type":"integer"},"ValidUntil":{"type":"timestamp"},"InstanceInterruptionBehavior":{}}}}},"CreditSpecification":{"shape":"Sey"},"CpuOptions":{"type":"structure","members":{"CoreCount":{"type":"integer"},"ThreadsPerCore":{"type":"integer"}}},"CapacityReservationSpecification":{"type":"structure","members":{"CapacityReservationPreference":{},"CapacityReservationTarget":{"shape":"Sf2"}}},"LicenseSpecifications":{"locationName":"LicenseSpecification","type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{}}}},"HibernationOptions":{"type":"structure","members":{"Configured":{"type":"boolean"}}},"MetadataOptions":{"type":"structure","members":{"HttpTokens":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpEndpoint":{},"HttpProtocolIpv6":{},"InstanceMetadataTags":{}}},"EnclaveOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"InstanceRequirements":{"shape":"Sam"},"PrivateDnsNameOptions":{"type":"structure","members":{"HostnameType":{},"EnableResourceNameDnsARecord":{"type":"boolean"},"EnableResourceNameDnsAAAARecord":{"type":"boolean"}}}}},"Se6":{"type":"list","member":{"locationName":"SecurityGroupId"}},"Se9":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Primary":{"locationName":"primary","type":"boolean"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"Seb":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv4Prefix":{}}}},"Sed":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Prefix":{}}}},"Seo":{"type":"structure","required":["Type"],"members":{"Type":{}}},"Ses":{"type":"list","member":{"locationName":"SecurityGroup"}},"Sey":{"type":"structure","required":["CpuCredits"],"members":{"CpuCredits":{}}},"Sf2":{"type":"structure","members":{"CapacityReservationId":{},"CapacityReservationResourceGroupArn":{}}},"Sfe":{"type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"CreatedBy":{"locationName":"createdBy"},"DefaultVersionNumber":{"locationName":"defaultVersionNumber","type":"long"},"LatestVersionNumber":{"locationName":"latestVersionNumber","type":"long"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sff":{"type":"structure","members":{"Errors":{"locationName":"errorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}}},"Sfk":{"type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"VersionNumber":{"locationName":"versionNumber","type":"long"},"VersionDescription":{"locationName":"versionDescription"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"CreatedBy":{"locationName":"createdBy"},"DefaultVersion":{"locationName":"defaultVersion","type":"boolean"},"LaunchTemplateData":{"shape":"Sfl","locationName":"launchTemplateData"}}},"Sfl":{"type":"structure","members":{"KernelId":{"locationName":"kernelId"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"locationName":"iamInstanceProfile","type":"structure","members":{"Arn":{"locationName":"arn"},"Name":{"locationName":"name"}}},"BlockDeviceMappings":{"locationName":"blockDeviceMappingSet","type":"list","member":{"locationName":"item","type":"structure","members":{"DeviceName":{"locationName":"deviceName"},"VirtualName":{"locationName":"virtualName"},"Ebs":{"locationName":"ebs","type":"structure","members":{"Encrypted":{"locationName":"encrypted","type":"boolean"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Iops":{"locationName":"iops","type":"integer"},"KmsKeyId":{"locationName":"kmsKeyId"},"SnapshotId":{"locationName":"snapshotId"},"VolumeSize":{"locationName":"volumeSize","type":"integer"},"VolumeType":{"locationName":"volumeType"},"Throughput":{"locationName":"throughput","type":"integer"}}},"NoDevice":{"locationName":"noDevice"}}}},"NetworkInterfaces":{"locationName":"networkInterfaceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AssociateCarrierIpAddress":{"locationName":"associateCarrierIpAddress","type":"boolean"},"AssociatePublicIpAddress":{"locationName":"associatePublicIpAddress","type":"boolean"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Description":{"locationName":"description"},"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"Groups":{"shape":"S4o","locationName":"groupSet"},"InterfaceType":{"locationName":"interfaceType"},"Ipv6AddressCount":{"locationName":"ipv6AddressCount","type":"integer"},"Ipv6Addresses":{"shape":"Sfs","locationName":"ipv6AddressesSet"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"shape":"Se9","locationName":"privateIpAddressesSet"},"SecondaryPrivateIpAddressCount":{"locationName":"secondaryPrivateIpAddressCount","type":"integer"},"SubnetId":{"locationName":"subnetId"},"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"},"Ipv4Prefixes":{"locationName":"ipv4PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv4Prefix":{"locationName":"ipv4Prefix"}}}},"Ipv4PrefixCount":{"locationName":"ipv4PrefixCount","type":"integer"},"Ipv6Prefixes":{"locationName":"ipv6PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Prefix":{"locationName":"ipv6Prefix"}}}},"Ipv6PrefixCount":{"locationName":"ipv6PrefixCount","type":"integer"}}}},"ImageId":{"locationName":"imageId"},"InstanceType":{"locationName":"instanceType"},"KeyName":{"locationName":"keyName"},"Monitoring":{"locationName":"monitoring","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"Placement":{"locationName":"placement","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"Affinity":{"locationName":"affinity"},"GroupName":{"locationName":"groupName"},"HostId":{"locationName":"hostId"},"Tenancy":{"locationName":"tenancy"},"SpreadDomain":{"locationName":"spreadDomain"},"HostResourceGroupArn":{"locationName":"hostResourceGroupArn"},"PartitionNumber":{"locationName":"partitionNumber","type":"integer"}}},"RamDiskId":{"locationName":"ramDiskId"},"DisableApiTermination":{"locationName":"disableApiTermination","type":"boolean"},"InstanceInitiatedShutdownBehavior":{"locationName":"instanceInitiatedShutdownBehavior"},"UserData":{"locationName":"userData"},"TagSpecifications":{"locationName":"tagSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceType":{"locationName":"resourceType"},"Tags":{"shape":"Ss","locationName":"tagSet"}}}},"ElasticGpuSpecifications":{"locationName":"elasticGpuSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Type":{"locationName":"type"}}}},"ElasticInferenceAccelerators":{"locationName":"elasticInferenceAcceleratorSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Type":{"locationName":"type"},"Count":{"locationName":"count","type":"integer"}}}},"SecurityGroupIds":{"shape":"Se","locationName":"securityGroupIdSet"},"SecurityGroups":{"shape":"Se","locationName":"securityGroupSet"},"InstanceMarketOptions":{"locationName":"instanceMarketOptions","type":"structure","members":{"MarketType":{"locationName":"marketType"},"SpotOptions":{"locationName":"spotOptions","type":"structure","members":{"MaxPrice":{"locationName":"maxPrice"},"SpotInstanceType":{"locationName":"spotInstanceType"},"BlockDurationMinutes":{"locationName":"blockDurationMinutes","type":"integer"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"InstanceInterruptionBehavior":{"locationName":"instanceInterruptionBehavior"}}}}},"CreditSpecification":{"locationName":"creditSpecification","type":"structure","members":{"CpuCredits":{"locationName":"cpuCredits"}}},"CpuOptions":{"locationName":"cpuOptions","type":"structure","members":{"CoreCount":{"locationName":"coreCount","type":"integer"},"ThreadsPerCore":{"locationName":"threadsPerCore","type":"integer"}}},"CapacityReservationSpecification":{"locationName":"capacityReservationSpecification","type":"structure","members":{"CapacityReservationPreference":{"locationName":"capacityReservationPreference"},"CapacityReservationTarget":{"shape":"Sgb","locationName":"capacityReservationTarget"}}},"LicenseSpecifications":{"locationName":"licenseSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{"locationName":"licenseConfigurationArn"}}}},"HibernationOptions":{"locationName":"hibernationOptions","type":"structure","members":{"Configured":{"locationName":"configured","type":"boolean"}}},"MetadataOptions":{"locationName":"metadataOptions","type":"structure","members":{"State":{"locationName":"state"},"HttpTokens":{"locationName":"httpTokens"},"HttpPutResponseHopLimit":{"locationName":"httpPutResponseHopLimit","type":"integer"},"HttpEndpoint":{"locationName":"httpEndpoint"},"HttpProtocolIpv6":{"locationName":"httpProtocolIpv6"},"InstanceMetadataTags":{"locationName":"instanceMetadataTags"}}},"EnclaveOptions":{"locationName":"enclaveOptions","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"InstanceRequirements":{"shape":"Sbo","locationName":"instanceRequirements"},"PrivateDnsNameOptions":{"locationName":"privateDnsNameOptions","type":"structure","members":{"HostnameType":{"locationName":"hostnameType"},"EnableResourceNameDnsARecord":{"locationName":"enableResourceNameDnsARecord","type":"boolean"},"EnableResourceNameDnsAAAARecord":{"locationName":"enableResourceNameDnsAAAARecord","type":"boolean"}}}}},"Sfs":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Address":{"locationName":"ipv6Address"}}}},"Sgb":{"type":"structure","members":{"CapacityReservationId":{"locationName":"capacityReservationId"},"CapacityReservationResourceGroupArn":{"locationName":"capacityReservationResourceGroupArn"}}},"Sgn":{"type":"structure","members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"LocalGatewayVirtualInterfaceGroupId":{"locationName":"localGatewayVirtualInterfaceGroupId"},"Type":{"locationName":"type"},"State":{"locationName":"state"},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"LocalGatewayRouteTableArn":{"locationName":"localGatewayRouteTableArn"},"OwnerId":{"locationName":"ownerId"}}},"Sgs":{"type":"structure","members":{"LocalGatewayRouteTableVpcAssociationId":{"locationName":"localGatewayRouteTableVpcAssociationId"},"LocalGatewayRouteTableId":{"locationName":"localGatewayRouteTableId"},"LocalGatewayRouteTableArn":{"locationName":"localGatewayRouteTableArn"},"LocalGatewayId":{"locationName":"localGatewayId"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"},"State":{"locationName":"state"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sgv":{"type":"list","member":{"type":"structure","required":["Cidr"],"members":{"Cidr":{},"Description":{}}}},"Sgy":{"type":"structure","members":{"PrefixListId":{"locationName":"prefixListId"},"AddressFamily":{"locationName":"addressFamily"},"State":{"locationName":"state"},"StateMessage":{"locationName":"stateMessage"},"PrefixListArn":{"locationName":"prefixListArn"},"PrefixListName":{"locationName":"prefixListName"},"MaxEntries":{"locationName":"maxEntries","type":"integer"},"Version":{"locationName":"version","type":"long"},"Tags":{"shape":"Ss","locationName":"tagSet"},"OwnerId":{"locationName":"ownerId"}}},"Sh3":{"type":"structure","members":{"CreateTime":{"locationName":"createTime","type":"timestamp"},"DeleteTime":{"locationName":"deleteTime","type":"timestamp"},"FailureCode":{"locationName":"failureCode"},"FailureMessage":{"locationName":"failureMessage"},"NatGatewayAddresses":{"locationName":"natGatewayAddressSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AllocationId":{"locationName":"allocationId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIp":{"locationName":"privateIp"},"PublicIp":{"locationName":"publicIp"}}}},"NatGatewayId":{"locationName":"natGatewayId"},"ProvisionedBandwidth":{"locationName":"provisionedBandwidth","type":"structure","members":{"ProvisionTime":{"locationName":"provisionTime","type":"timestamp"},"Provisioned":{"locationName":"provisioned"},"RequestTime":{"locationName":"requestTime","type":"timestamp"},"Requested":{"locationName":"requested"},"Status":{"locationName":"status"}}},"State":{"locationName":"state"},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"ConnectivityType":{"locationName":"connectivityType"}}},"Sha":{"type":"structure","members":{"Associations":{"locationName":"associationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"NetworkAclAssociationId":{"locationName":"networkAclAssociationId"},"NetworkAclId":{"locationName":"networkAclId"},"SubnetId":{"locationName":"subnetId"}}}},"Entries":{"locationName":"entrySet","type":"list","member":{"locationName":"item","type":"structure","members":{"CidrBlock":{"locationName":"cidrBlock"},"Egress":{"locationName":"egress","type":"boolean"},"IcmpTypeCode":{"shape":"Shf","locationName":"icmpTypeCode"},"Ipv6CidrBlock":{"locationName":"ipv6CidrBlock"},"PortRange":{"shape":"Shg","locationName":"portRange"},"Protocol":{"locationName":"protocol"},"RuleAction":{"locationName":"ruleAction"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}}},"IsDefault":{"locationName":"default","type":"boolean"},"NetworkAclId":{"locationName":"networkAclId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"}}},"Shf":{"type":"structure","members":{"Code":{"locationName":"code","type":"integer"},"Type":{"locationName":"type","type":"integer"}}},"Shg":{"type":"structure","members":{"From":{"locationName":"from","type":"integer"},"To":{"locationName":"to","type":"integer"}}},"Shl":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Source":{"shape":"Shn"},"Destination":{"shape":"Shn"},"ThroughResources":{"locationName":"ThroughResource","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceStatement":{"shape":"Shr"}}}}}}},"Shn":{"type":"structure","members":{"PacketHeaderStatement":{"type":"structure","members":{"SourceAddresses":{"shape":"Se","locationName":"SourceAddress"},"DestinationAddresses":{"shape":"Se","locationName":"DestinationAddress"},"SourcePorts":{"shape":"Se","locationName":"SourcePort"},"DestinationPorts":{"shape":"Se","locationName":"DestinationPort"},"SourcePrefixLists":{"shape":"Se","locationName":"SourcePrefixList"},"DestinationPrefixLists":{"shape":"Se","locationName":"DestinationPrefixList"},"Protocols":{"shape":"Shp","locationName":"Protocol"}}},"ResourceStatement":{"shape":"Shr"}}},"Shp":{"type":"list","member":{"locationName":"item"}},"Shr":{"type":"structure","members":{"Resources":{"shape":"Se","locationName":"Resource"},"ResourceTypes":{"shape":"Se","locationName":"ResourceType"}}},"Shv":{"type":"structure","members":{"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"},"NetworkInsightsAccessScopeArn":{"locationName":"networkInsightsAccessScopeArn"},"CreatedDate":{"locationName":"createdDate","type":"timestamp"},"UpdatedDate":{"locationName":"updatedDate","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Shx":{"type":"structure","members":{"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"},"MatchPaths":{"shape":"Shy","locationName":"matchPathSet"},"ExcludePaths":{"shape":"Shy","locationName":"excludePathSet"}}},"Shy":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Source":{"shape":"Si0","locationName":"source"},"Destination":{"shape":"Si0","locationName":"destination"},"ThroughResources":{"locationName":"throughResourceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceStatement":{"shape":"Si2","locationName":"resourceStatement"}}}}}}},"Si0":{"type":"structure","members":{"PacketHeaderStatement":{"locationName":"packetHeaderStatement","type":"structure","members":{"SourceAddresses":{"shape":"Se","locationName":"sourceAddressSet"},"DestinationAddresses":{"shape":"Se","locationName":"destinationAddressSet"},"SourcePorts":{"shape":"Se","locationName":"sourcePortSet"},"DestinationPorts":{"shape":"Se","locationName":"destinationPortSet"},"SourcePrefixLists":{"shape":"Se","locationName":"sourcePrefixListSet"},"DestinationPrefixLists":{"shape":"Se","locationName":"destinationPrefixListSet"},"Protocols":{"shape":"Shp","locationName":"protocolSet"}}},"ResourceStatement":{"shape":"Si2","locationName":"resourceStatement"}}},"Si2":{"type":"structure","members":{"Resources":{"shape":"Se","locationName":"resourceSet"},"ResourceTypes":{"shape":"Se","locationName":"resourceTypeSet"}}},"Sia":{"type":"structure","members":{"NetworkInsightsPathId":{"locationName":"networkInsightsPathId"},"NetworkInsightsPathArn":{"locationName":"networkInsightsPathArn"},"CreatedDate":{"locationName":"createdDate","type":"timestamp"},"Source":{"locationName":"source"},"Destination":{"locationName":"destination"},"SourceIp":{"locationName":"sourceIp"},"DestinationIp":{"locationName":"destinationIp"},"Protocol":{"locationName":"protocol"},"DestinationPort":{"locationName":"destinationPort","type":"integer"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sif":{"type":"structure","members":{"Association":{"shape":"Sig","locationName":"association"},"Attachment":{"shape":"Sih","locationName":"attachment"},"AvailabilityZone":{"locationName":"availabilityZone"},"Description":{"locationName":"description"},"Groups":{"shape":"Sii","locationName":"groupSet"},"InterfaceType":{"locationName":"interfaceType"},"Ipv6Addresses":{"locationName":"ipv6AddressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Address":{"locationName":"ipv6Address"}}}},"MacAddress":{"locationName":"macAddress"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"OutpostArn":{"locationName":"outpostArn"},"OwnerId":{"locationName":"ownerId"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"locationName":"privateIpAddressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Association":{"shape":"Sig","locationName":"association"},"Primary":{"locationName":"primary","type":"boolean"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"Ipv4Prefixes":{"shape":"S2p","locationName":"ipv4PrefixSet"},"Ipv6Prefixes":{"locationName":"ipv6PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Prefix":{"locationName":"ipv6Prefix"}}}},"RequesterId":{"locationName":"requesterId"},"RequesterManaged":{"locationName":"requesterManaged","type":"boolean"},"SourceDestCheck":{"locationName":"sourceDestCheck","type":"boolean"},"Status":{"locationName":"status"},"SubnetId":{"locationName":"subnetId"},"TagSet":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"},"DenyAllIgwTraffic":{"locationName":"denyAllIgwTraffic","type":"boolean"},"Ipv6Native":{"locationName":"ipv6Native","type":"boolean"},"Ipv6Address":{"locationName":"ipv6Address"}}},"Sig":{"type":"structure","members":{"AllocationId":{"locationName":"allocationId"},"AssociationId":{"locationName":"associationId"},"IpOwnerId":{"locationName":"ipOwnerId"},"PublicDnsName":{"locationName":"publicDnsName"},"PublicIp":{"locationName":"publicIp"},"CustomerOwnedIp":{"locationName":"customerOwnedIp"},"CarrierIp":{"locationName":"carrierIp"}}},"Sih":{"type":"structure","members":{"AttachTime":{"locationName":"attachTime","type":"timestamp"},"AttachmentId":{"locationName":"attachmentId"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"},"InstanceId":{"locationName":"instanceId"},"InstanceOwnerId":{"locationName":"instanceOwnerId"},"Status":{"locationName":"status"}}},"Sii":{"type":"list","member":{"locationName":"item","type":"structure","members":{"GroupName":{"locationName":"groupName"},"GroupId":{"locationName":"groupId"}}}},"Siv":{"type":"structure","members":{"NetworkInterfacePermissionId":{"locationName":"networkInterfacePermissionId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"AwsAccountId":{"locationName":"awsAccountId"},"AwsService":{"locationName":"awsService"},"Permission":{"locationName":"permission"},"PermissionState":{"locationName":"permissionState","type":"structure","members":{"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"}}}}},"Sj1":{"type":"structure","members":{"GroupName":{"locationName":"groupName"},"State":{"locationName":"state"},"Strategy":{"locationName":"strategy"},"PartitionCount":{"locationName":"partitionCount","type":"integer"},"GroupId":{"locationName":"groupId"},"Tags":{"shape":"Ss","locationName":"tagSet"},"GroupArn":{"locationName":"groupArn"}}},"Sj7":{"type":"structure","members":{"ReplaceRootVolumeTaskId":{"locationName":"replaceRootVolumeTaskId"},"InstanceId":{"locationName":"instanceId"},"TaskState":{"locationName":"taskState"},"StartTime":{"locationName":"startTime"},"CompleteTime":{"locationName":"completeTime"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sjo":{"type":"structure","members":{"Associations":{"locationName":"associationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Main":{"locationName":"main","type":"boolean"},"RouteTableAssociationId":{"locationName":"routeTableAssociationId"},"RouteTableId":{"locationName":"routeTableId"},"SubnetId":{"locationName":"subnetId"},"GatewayId":{"locationName":"gatewayId"},"AssociationState":{"shape":"S3u","locationName":"associationState"}}}},"PropagatingVgws":{"locationName":"propagatingVgwSet","type":"list","member":{"locationName":"item","type":"structure","members":{"GatewayId":{"locationName":"gatewayId"}}}},"RouteTableId":{"locationName":"routeTableId"},"Routes":{"locationName":"routeSet","type":"list","member":{"locationName":"item","type":"structure","members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"DestinationIpv6CidrBlock":{"locationName":"destinationIpv6CidrBlock"},"DestinationPrefixListId":{"locationName":"destinationPrefixListId"},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"GatewayId":{"locationName":"gatewayId"},"InstanceId":{"locationName":"instanceId"},"InstanceOwnerId":{"locationName":"instanceOwnerId"},"NatGatewayId":{"locationName":"natGatewayId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"LocalGatewayId":{"locationName":"localGatewayId"},"CarrierGatewayId":{"locationName":"carrierGatewayId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"Origin":{"locationName":"origin"},"State":{"locationName":"state"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"},"CoreNetworkArn":{"locationName":"coreNetworkArn"}}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"VpcId":{"locationName":"vpcId"},"OwnerId":{"locationName":"ownerId"}}},"Sk0":{"type":"structure","members":{"DataEncryptionKeyId":{"locationName":"dataEncryptionKeyId"},"Description":{"locationName":"description"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"KmsKeyId":{"locationName":"kmsKeyId"},"OwnerId":{"locationName":"ownerId"},"Progress":{"locationName":"progress"},"SnapshotId":{"locationName":"snapshotId"},"StartTime":{"locationName":"startTime","type":"timestamp"},"State":{"locationName":"status"},"StateMessage":{"locationName":"statusMessage"},"VolumeId":{"locationName":"volumeId"},"VolumeSize":{"locationName":"volumeSize","type":"integer"},"OwnerAlias":{"locationName":"ownerAlias"},"OutpostArn":{"locationName":"outpostArn"},"Tags":{"shape":"Ss","locationName":"tagSet"},"StorageTier":{"locationName":"storageTier"},"RestoreExpiryTime":{"locationName":"restoreExpiryTime","type":"timestamp"}}},"Skb":{"type":"structure","members":{"Bucket":{"locationName":"bucket"},"Fault":{"shape":"Skc","locationName":"fault"},"OwnerId":{"locationName":"ownerId"},"Prefix":{"locationName":"prefix"},"State":{"locationName":"state"}}},"Skc":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"Skn":{"type":"structure","members":{"SubnetCidrReservationId":{"locationName":"subnetCidrReservationId"},"SubnetId":{"locationName":"subnetId"},"Cidr":{"locationName":"cidr"},"ReservationType":{"locationName":"reservationType"},"OwnerId":{"locationName":"ownerId"},"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Skq":{"type":"list","member":{}},"Sku":{"type":"structure","members":{"TrafficMirrorFilterId":{"locationName":"trafficMirrorFilterId"},"IngressFilterRules":{"shape":"Skv","locationName":"ingressFilterRuleSet"},"EgressFilterRules":{"shape":"Skv","locationName":"egressFilterRuleSet"},"NetworkServices":{"shape":"Sl0","locationName":"networkServiceSet"},"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Skv":{"type":"list","member":{"shape":"Skw","locationName":"item"}},"Skw":{"type":"structure","members":{"TrafficMirrorFilterRuleId":{"locationName":"trafficMirrorFilterRuleId"},"TrafficMirrorFilterId":{"locationName":"trafficMirrorFilterId"},"TrafficDirection":{"locationName":"trafficDirection"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"},"RuleAction":{"locationName":"ruleAction"},"Protocol":{"locationName":"protocol","type":"integer"},"DestinationPortRange":{"shape":"Skz","locationName":"destinationPortRange"},"SourcePortRange":{"shape":"Skz","locationName":"sourcePortRange"},"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"SourceCidrBlock":{"locationName":"sourceCidrBlock"},"Description":{"locationName":"description"}}},"Skz":{"type":"structure","members":{"FromPort":{"locationName":"fromPort","type":"integer"},"ToPort":{"locationName":"toPort","type":"integer"}}},"Sl0":{"type":"list","member":{"locationName":"item"}},"Sl4":{"type":"structure","members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}},"Sl9":{"type":"structure","members":{"TrafficMirrorSessionId":{"locationName":"trafficMirrorSessionId"},"TrafficMirrorTargetId":{"locationName":"trafficMirrorTargetId"},"TrafficMirrorFilterId":{"locationName":"trafficMirrorFilterId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"OwnerId":{"locationName":"ownerId"},"PacketLength":{"locationName":"packetLength","type":"integer"},"SessionNumber":{"locationName":"sessionNumber","type":"integer"},"VirtualNetworkId":{"locationName":"virtualNetworkId","type":"integer"},"Description":{"locationName":"description"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Slc":{"type":"structure","members":{"TrafficMirrorTargetId":{"locationName":"trafficMirrorTargetId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"NetworkLoadBalancerArn":{"locationName":"networkLoadBalancerArn"},"Type":{"locationName":"type"},"Description":{"locationName":"description"},"OwnerId":{"locationName":"ownerId"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sll":{"type":"list","member":{"locationName":"item"}},"Sln":{"type":"structure","members":{"TransitGatewayId":{"locationName":"transitGatewayId"},"TransitGatewayArn":{"locationName":"transitGatewayArn"},"State":{"locationName":"state"},"OwnerId":{"locationName":"ownerId"},"Description":{"locationName":"description"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Options":{"locationName":"options","type":"structure","members":{"AmazonSideAsn":{"locationName":"amazonSideAsn","type":"long"},"TransitGatewayCidrBlocks":{"shape":"Se","locationName":"transitGatewayCidrBlocks"},"AutoAcceptSharedAttachments":{"locationName":"autoAcceptSharedAttachments"},"DefaultRouteTableAssociation":{"locationName":"defaultRouteTableAssociation"},"AssociationDefaultRouteTableId":{"locationName":"associationDefaultRouteTableId"},"DefaultRouteTablePropagation":{"locationName":"defaultRouteTablePropagation"},"PropagationDefaultRouteTableId":{"locationName":"propagationDefaultRouteTableId"},"VpnEcmpSupport":{"locationName":"vpnEcmpSupport"},"DnsSupport":{"locationName":"dnsSupport"},"MulticastSupport":{"locationName":"multicastSupport"}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Slu":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"TransportTransitGatewayAttachmentId":{"locationName":"transportTransitGatewayAttachmentId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"State":{"locationName":"state"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Options":{"locationName":"options","type":"structure","members":{"Protocol":{"locationName":"protocol"}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sly":{"type":"list","member":{"locationName":"item"}},"Sm0":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"TransitGatewayConnectPeerId":{"locationName":"transitGatewayConnectPeerId"},"State":{"locationName":"state"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"ConnectPeerConfiguration":{"locationName":"connectPeerConfiguration","type":"structure","members":{"TransitGatewayAddress":{"locationName":"transitGatewayAddress"},"PeerAddress":{"locationName":"peerAddress"},"InsideCidrBlocks":{"shape":"Sly","locationName":"insideCidrBlocks"},"Protocol":{"locationName":"protocol"},"BgpConfigurations":{"locationName":"bgpConfigurations","type":"list","member":{"locationName":"item","type":"structure","members":{"TransitGatewayAsn":{"locationName":"transitGatewayAsn","type":"long"},"PeerAsn":{"locationName":"peerAsn","type":"long"},"TransitGatewayAddress":{"locationName":"transitGatewayAddress"},"PeerAddress":{"locationName":"peerAddress"},"BgpStatus":{"locationName":"bgpStatus"}}}}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Smd":{"type":"structure","members":{"TransitGatewayMulticastDomainId":{"locationName":"transitGatewayMulticastDomainId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"TransitGatewayMulticastDomainArn":{"locationName":"transitGatewayMulticastDomainArn"},"OwnerId":{"locationName":"ownerId"},"Options":{"locationName":"options","type":"structure","members":{"Igmpv2Support":{"locationName":"igmpv2Support"},"StaticSourcesSupport":{"locationName":"staticSourcesSupport"},"AutoAcceptSharedAssociations":{"locationName":"autoAcceptSharedAssociations"}}},"State":{"locationName":"state"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sml":{"type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"PrefixListId":{"locationName":"prefixListId"},"PrefixListOwnerId":{"locationName":"prefixListOwnerId"},"State":{"locationName":"state"},"Blackhole":{"locationName":"blackhole","type":"boolean"},"TransitGatewayAttachment":{"locationName":"transitGatewayAttachment","type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceType":{"locationName":"resourceType"},"ResourceId":{"locationName":"resourceId"}}}}},"Smq":{"type":"structure","members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"PrefixListId":{"locationName":"prefixListId"},"TransitGatewayAttachments":{"locationName":"transitGatewayAttachments","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceId":{"locationName":"resourceId"},"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceType":{"locationName":"resourceType"}}}},"Type":{"locationName":"type"},"State":{"locationName":"state"}}},"Smx":{"type":"structure","members":{"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"State":{"locationName":"state"},"DefaultAssociationRouteTable":{"locationName":"defaultAssociationRouteTable","type":"boolean"},"DefaultPropagationRouteTable":{"locationName":"defaultPropagationRouteTable","type":"boolean"},"CreationTime":{"locationName":"creationTime","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sn3":{"type":"structure","members":{"Attachments":{"locationName":"attachmentSet","type":"list","member":{"shape":"S4w","locationName":"item"}},"AvailabilityZone":{"locationName":"availabilityZone"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"KmsKeyId":{"locationName":"kmsKeyId"},"OutpostArn":{"locationName":"outpostArn"},"Size":{"locationName":"size","type":"integer"},"SnapshotId":{"locationName":"snapshotId"},"State":{"locationName":"status"},"VolumeId":{"locationName":"volumeId"},"Iops":{"locationName":"iops","type":"integer"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VolumeType":{"locationName":"volumeType"},"FastRestored":{"locationName":"fastRestored","type":"boolean"},"MultiAttachEnabled":{"locationName":"multiAttachEnabled","type":"boolean"},"Throughput":{"locationName":"throughput","type":"integer"}}},"Sna":{"type":"list","member":{"locationName":"item"}},"Snb":{"type":"list","member":{"locationName":"item"}},"Snc":{"type":"list","member":{"locationName":"item"}},"Sne":{"type":"structure","members":{"VpcEndpointId":{"locationName":"vpcEndpointId"},"VpcEndpointType":{"locationName":"vpcEndpointType"},"VpcId":{"locationName":"vpcId"},"ServiceName":{"locationName":"serviceName"},"State":{"locationName":"state"},"PolicyDocument":{"locationName":"policyDocument"},"RouteTableIds":{"shape":"Se","locationName":"routeTableIdSet"},"SubnetIds":{"shape":"Se","locationName":"subnetIdSet"},"Groups":{"locationName":"groupSet","type":"list","member":{"locationName":"item","type":"structure","members":{"GroupId":{"locationName":"groupId"},"GroupName":{"locationName":"groupName"}}}},"PrivateDnsEnabled":{"locationName":"privateDnsEnabled","type":"boolean"},"RequesterManaged":{"locationName":"requesterManaged","type":"boolean"},"NetworkInterfaceIds":{"shape":"Se","locationName":"networkInterfaceIdSet"},"DnsEntries":{"shape":"Sni","locationName":"dnsEntrySet"},"CreationTimestamp":{"locationName":"creationTimestamp","type":"timestamp"},"Tags":{"shape":"Ss","locationName":"tagSet"},"OwnerId":{"locationName":"ownerId"},"LastError":{"locationName":"lastError","type":"structure","members":{"Message":{"locationName":"message"},"Code":{"locationName":"code"}}}}},"Sni":{"type":"list","member":{"locationName":"item","type":"structure","members":{"DnsName":{"locationName":"dnsName"},"HostedZoneId":{"locationName":"hostedZoneId"}}}},"Snn":{"type":"structure","members":{"ConnectionNotificationId":{"locationName":"connectionNotificationId"},"ServiceId":{"locationName":"serviceId"},"VpcEndpointId":{"locationName":"vpcEndpointId"},"ConnectionNotificationType":{"locationName":"connectionNotificationType"},"ConnectionNotificationArn":{"locationName":"connectionNotificationArn"},"ConnectionEvents":{"shape":"Se","locationName":"connectionEvents"},"ConnectionNotificationState":{"locationName":"connectionNotificationState"}}},"Sns":{"type":"structure","members":{"ServiceType":{"shape":"Snt","locationName":"serviceType"},"ServiceId":{"locationName":"serviceId"},"ServiceName":{"locationName":"serviceName"},"ServiceState":{"locationName":"serviceState"},"AvailabilityZones":{"shape":"Se","locationName":"availabilityZoneSet"},"AcceptanceRequired":{"locationName":"acceptanceRequired","type":"boolean"},"ManagesVpcEndpoints":{"locationName":"managesVpcEndpoints","type":"boolean"},"NetworkLoadBalancerArns":{"shape":"Se","locationName":"networkLoadBalancerArnSet"},"GatewayLoadBalancerArns":{"shape":"Se","locationName":"gatewayLoadBalancerArnSet"},"BaseEndpointDnsNames":{"shape":"Se","locationName":"baseEndpointDnsNameSet"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateDnsNameConfiguration":{"locationName":"privateDnsNameConfiguration","type":"structure","members":{"State":{"locationName":"state"},"Type":{"locationName":"type"},"Value":{"locationName":"value"},"Name":{"locationName":"name"}}},"PayerResponsibility":{"locationName":"payerResponsibility"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Snt":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ServiceType":{"locationName":"serviceType"}}}},"So8":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"Soa":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"Soc":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"Soe":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"Sog":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"type":"integer"}}}},"Soi":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"type":"integer"}}}},"Sok":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{}}}},"Son":{"type":"structure","members":{"CustomerGatewayConfiguration":{"locationName":"customerGatewayConfiguration"},"CustomerGatewayId":{"locationName":"customerGatewayId"},"Category":{"locationName":"category"},"State":{"locationName":"state"},"Type":{"locationName":"type"},"VpnConnectionId":{"locationName":"vpnConnectionId"},"VpnGatewayId":{"locationName":"vpnGatewayId"},"TransitGatewayId":{"locationName":"transitGatewayId"},"CoreNetworkArn":{"locationName":"coreNetworkArn"},"CoreNetworkAttachmentArn":{"locationName":"coreNetworkAttachmentArn"},"GatewayAssociationState":{"locationName":"gatewayAssociationState"},"Options":{"locationName":"options","type":"structure","members":{"EnableAcceleration":{"locationName":"enableAcceleration","type":"boolean"},"StaticRoutesOnly":{"locationName":"staticRoutesOnly","type":"boolean"},"LocalIpv4NetworkCidr":{"locationName":"localIpv4NetworkCidr"},"RemoteIpv4NetworkCidr":{"locationName":"remoteIpv4NetworkCidr"},"LocalIpv6NetworkCidr":{"locationName":"localIpv6NetworkCidr"},"RemoteIpv6NetworkCidr":{"locationName":"remoteIpv6NetworkCidr"},"TunnelInsideIpVersion":{"locationName":"tunnelInsideIpVersion"},"TunnelOptions":{"locationName":"tunnelOptionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"OutsideIpAddress":{"locationName":"outsideIpAddress"},"TunnelInsideCidr":{"locationName":"tunnelInsideCidr"},"TunnelInsideIpv6Cidr":{"locationName":"tunnelInsideIpv6Cidr"},"PreSharedKey":{"locationName":"preSharedKey"},"Phase1LifetimeSeconds":{"locationName":"phase1LifetimeSeconds","type":"integer"},"Phase2LifetimeSeconds":{"locationName":"phase2LifetimeSeconds","type":"integer"},"RekeyMarginTimeSeconds":{"locationName":"rekeyMarginTimeSeconds","type":"integer"},"RekeyFuzzPercentage":{"locationName":"rekeyFuzzPercentage","type":"integer"},"ReplayWindowSize":{"locationName":"replayWindowSize","type":"integer"},"DpdTimeoutSeconds":{"locationName":"dpdTimeoutSeconds","type":"integer"},"DpdTimeoutAction":{"locationName":"dpdTimeoutAction"},"Phase1EncryptionAlgorithms":{"locationName":"phase1EncryptionAlgorithmSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"Phase2EncryptionAlgorithms":{"locationName":"phase2EncryptionAlgorithmSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"Phase1IntegrityAlgorithms":{"locationName":"phase1IntegrityAlgorithmSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"Phase2IntegrityAlgorithms":{"locationName":"phase2IntegrityAlgorithmSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"Phase1DHGroupNumbers":{"locationName":"phase1DHGroupNumberSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value","type":"integer"}}}},"Phase2DHGroupNumbers":{"locationName":"phase2DHGroupNumberSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value","type":"integer"}}}},"IkeVersions":{"locationName":"ikeVersionSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Value":{"locationName":"value"}}}},"StartupAction":{"locationName":"startupAction"}}}}}},"Routes":{"locationName":"routes","type":"list","member":{"locationName":"item","type":"structure","members":{"DestinationCidrBlock":{"locationName":"destinationCidrBlock"},"Source":{"locationName":"source"},"State":{"locationName":"state"}}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"VgwTelemetry":{"locationName":"vgwTelemetry","type":"list","member":{"locationName":"item","type":"structure","members":{"AcceptedRouteCount":{"locationName":"acceptedRouteCount","type":"integer"},"LastStatusChange":{"locationName":"lastStatusChange","type":"timestamp"},"OutsideIpAddress":{"locationName":"outsideIpAddress"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"CertificateArn":{"locationName":"certificateArn"}}}}}},"Sph":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"State":{"locationName":"state"},"Type":{"locationName":"type"},"VpcAttachments":{"locationName":"attachments","type":"list","member":{"shape":"S51","locationName":"item"}},"VpnGatewayId":{"locationName":"vpnGatewayId"},"AmazonSideAsn":{"locationName":"amazonSideAsn","type":"long"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Spv":{"type":"list","member":{}},"Sq5":{"type":"list","member":{"locationName":"item"}},"Sqq":{"type":"list","member":{"locationName":"item"}},"St6":{"type":"list","member":{"locationName":"item"}},"Stj":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"State":{"locationName":"state"},"FailureReason":{"locationName":"failureReason","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}}}},"Stt":{"type":"list","member":{"locationName":"item"}},"Stv":{"type":"structure","members":{"InstanceTagKeys":{"shape":"Stt","locationName":"instanceTagKeySet"},"IncludeAllTagsOfInstance":{"locationName":"includeAllTagsOfInstance","type":"boolean"}}},"Stx":{"type":"list","member":{"locationName":"item"}},"Suc":{"type":"list","member":{"locationName":"Filter","type":"structure","members":{"Name":{},"Values":{"shape":"Se","locationName":"Value"}}}},"Suq":{"type":"structure","members":{"PublicIp":{"locationName":"publicIp"},"AllocationId":{"locationName":"allocationId"},"PtrRecord":{"locationName":"ptrRecord"},"PtrRecordUpdate":{"locationName":"ptrRecordUpdate","type":"structure","members":{"Value":{"locationName":"value"},"Status":{"locationName":"status"},"Reason":{"locationName":"reason"}}}}},"Suu":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Deadline":{"locationName":"deadline","type":"timestamp"},"Resource":{"locationName":"resource"},"UseLongIds":{"locationName":"useLongIds","type":"boolean"}}}},"Svu":{"type":"list","member":{"locationName":"InstanceId"}},"Sw9":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"Sxf":{"type":"structure","members":{"ConversionTaskId":{"locationName":"conversionTaskId"},"ExpirationTime":{"locationName":"expirationTime"},"ImportInstance":{"locationName":"importInstance","type":"structure","members":{"Description":{"locationName":"description"},"InstanceId":{"locationName":"instanceId"},"Platform":{"locationName":"platform"},"Volumes":{"locationName":"volumes","type":"list","member":{"locationName":"item","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"BytesConverted":{"locationName":"bytesConverted","type":"long"},"Description":{"locationName":"description"},"Image":{"shape":"Sxj","locationName":"image"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Volume":{"shape":"Sxk","locationName":"volume"}}}}}},"ImportVolume":{"locationName":"importVolume","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"BytesConverted":{"locationName":"bytesConverted","type":"long"},"Description":{"locationName":"description"},"Image":{"shape":"Sxj","locationName":"image"},"Volume":{"shape":"Sxk","locationName":"volume"}}},"State":{"locationName":"state"},"StatusMessage":{"locationName":"statusMessage"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"Sxj":{"type":"structure","members":{"Checksum":{"locationName":"checksum"},"Format":{"locationName":"format"},"ImportManifestUrl":{"locationName":"importManifestUrl"},"Size":{"locationName":"size","type":"long"}}},"Sxk":{"type":"structure","members":{"Id":{"locationName":"id"},"Size":{"locationName":"size","type":"long"}}},"Syi":{"type":"structure","members":{"S3Bucket":{"locationName":"s3Bucket"},"S3Prefix":{"locationName":"s3Prefix"}}},"Syv":{"type":"structure","members":{"TargetResourceCount":{"locationName":"targetResourceCount","type":"integer"}}},"Syw":{"type":"structure","members":{"LaunchTemplateId":{"locationName":"launchTemplateId"},"LaunchTemplateName":{"locationName":"launchTemplateName"},"Version":{"locationName":"version"}}},"Sz9":{"type":"structure","members":{"EventDescription":{"locationName":"eventDescription"},"EventSubType":{"locationName":"eventSubType"},"InstanceId":{"locationName":"instanceId"}}},"Szc":{"type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"InstanceType":{"locationName":"instanceType"},"SpotInstanceRequestId":{"locationName":"spotInstanceRequestId"},"InstanceHealth":{"locationName":"instanceHealth"}}}},"S105":{"type":"structure","members":{"FpgaImageId":{"locationName":"fpgaImageId"},"Name":{"locationName":"name"},"Description":{"locationName":"description"},"LoadPermissions":{"locationName":"loadPermissions","type":"list","member":{"locationName":"item","type":"structure","members":{"UserId":{"locationName":"userId"},"Group":{"locationName":"group"}}}},"ProductCodes":{"shape":"S109","locationName":"productCodes"}}},"S109":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ProductCodeId":{"locationName":"productCode"},"ProductCodeType":{"locationName":"type"}}}},"S10e":{"type":"list","member":{"locationName":"Owner"}},"S10z":{"type":"list","member":{"locationName":"item"}},"S112":{"type":"list","member":{"locationName":"item"}},"S11r":{"type":"list","member":{"shape":"Scg","locationName":"item"}},"S11s":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Group":{"locationName":"group"},"UserId":{"locationName":"userId"},"OrganizationArn":{"locationName":"organizationArn"},"OrganizationalUnitArn":{"locationName":"organizationalUnitArn"}}}},"S11w":{"type":"list","member":{"locationName":"ImageId"}},"S125":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S12e":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Description":{"locationName":"description"},"DeviceName":{"locationName":"deviceName"},"DiskImageSize":{"locationName":"diskImageSize","type":"double"},"Format":{"locationName":"format"},"Progress":{"locationName":"progress"},"SnapshotId":{"locationName":"snapshotId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Url":{"locationName":"url"},"UserBucket":{"shape":"S12g","locationName":"userBucket"}}}},"S12g":{"type":"structure","members":{"S3Bucket":{"locationName":"s3Bucket"},"S3Key":{"locationName":"s3Key"}}},"S12h":{"type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{"locationName":"licenseConfigurationArn"}}}},"S12p":{"type":"structure","members":{"Description":{"locationName":"description"},"DiskImageSize":{"locationName":"diskImageSize","type":"double"},"Encrypted":{"locationName":"encrypted","type":"boolean"},"Format":{"locationName":"format"},"KmsKeyId":{"locationName":"kmsKeyId"},"Progress":{"locationName":"progress"},"SnapshotId":{"locationName":"snapshotId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"Url":{"locationName":"url"},"UserBucket":{"shape":"S12g","locationName":"userBucket"}}},"S12t":{"type":"list","member":{"locationName":"item","type":"structure","members":{"DeviceName":{"locationName":"deviceName"},"Ebs":{"locationName":"ebs","type":"structure","members":{"AttachTime":{"locationName":"attachTime","type":"timestamp"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Status":{"locationName":"status"},"VolumeId":{"locationName":"volumeId"}}}}}},"S12w":{"type":"structure","members":{"Value":{"locationName":"value","type":"boolean"}}},"S12x":{"type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"S13f":{"type":"structure","members":{"InstanceEventId":{"locationName":"instanceEventId"},"Code":{"locationName":"code"},"Description":{"locationName":"description"},"NotAfter":{"locationName":"notAfter","type":"timestamp"},"NotBefore":{"locationName":"notBefore","type":"timestamp"},"NotBeforeDeadline":{"locationName":"notBeforeDeadline","type":"timestamp"}}},"S13i":{"type":"structure","members":{"Code":{"locationName":"code","type":"integer"},"Name":{"locationName":"name"}}},"S13k":{"type":"structure","members":{"Details":{"locationName":"details","type":"list","member":{"locationName":"item","type":"structure","members":{"ImpairedSince":{"locationName":"impairedSince","type":"timestamp"},"Name":{"locationName":"name"},"Status":{"locationName":"status"}}}},"Status":{"locationName":"status"}}},"S16o":{"type":"structure","members":{"Groups":{"shape":"Sii","locationName":"groupSet"},"Instances":{"locationName":"instancesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"AmiLaunchIndex":{"locationName":"amiLaunchIndex","type":"integer"},"ImageId":{"locationName":"imageId"},"InstanceId":{"locationName":"instanceId"},"InstanceType":{"locationName":"instanceType"},"KernelId":{"locationName":"kernelId"},"KeyName":{"locationName":"keyName"},"LaunchTime":{"locationName":"launchTime","type":"timestamp"},"Monitoring":{"shape":"S16r","locationName":"monitoring"},"Placement":{"shape":"Sak","locationName":"placement"},"Platform":{"locationName":"platform"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"ProductCodes":{"shape":"S109","locationName":"productCodes"},"PublicDnsName":{"locationName":"dnsName"},"PublicIpAddress":{"locationName":"ipAddress"},"RamdiskId":{"locationName":"ramdiskId"},"State":{"shape":"S13i","locationName":"instanceState"},"StateTransitionReason":{"locationName":"reason"},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"},"Architecture":{"locationName":"architecture"},"BlockDeviceMappings":{"shape":"S12t","locationName":"blockDeviceMapping"},"ClientToken":{"locationName":"clientToken"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"EnaSupport":{"locationName":"enaSupport","type":"boolean"},"Hypervisor":{"locationName":"hypervisor"},"IamInstanceProfile":{"shape":"S39","locationName":"iamInstanceProfile"},"InstanceLifecycle":{"locationName":"instanceLifecycle"},"ElasticGpuAssociations":{"locationName":"elasticGpuAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ElasticGpuId":{"locationName":"elasticGpuId"},"ElasticGpuAssociationId":{"locationName":"elasticGpuAssociationId"},"ElasticGpuAssociationState":{"locationName":"elasticGpuAssociationState"},"ElasticGpuAssociationTime":{"locationName":"elasticGpuAssociationTime"}}}},"ElasticInferenceAcceleratorAssociations":{"locationName":"elasticInferenceAcceleratorAssociationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ElasticInferenceAcceleratorArn":{"locationName":"elasticInferenceAcceleratorArn"},"ElasticInferenceAcceleratorAssociationId":{"locationName":"elasticInferenceAcceleratorAssociationId"},"ElasticInferenceAcceleratorAssociationState":{"locationName":"elasticInferenceAcceleratorAssociationState"},"ElasticInferenceAcceleratorAssociationTime":{"locationName":"elasticInferenceAcceleratorAssociationTime","type":"timestamp"}}}},"NetworkInterfaces":{"locationName":"networkInterfaceSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Association":{"shape":"S170","locationName":"association"},"Attachment":{"locationName":"attachment","type":"structure","members":{"AttachTime":{"locationName":"attachTime","type":"timestamp"},"AttachmentId":{"locationName":"attachmentId"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"Status":{"locationName":"status"},"NetworkCardIndex":{"locationName":"networkCardIndex","type":"integer"}}},"Description":{"locationName":"description"},"Groups":{"shape":"Sii","locationName":"groupSet"},"Ipv6Addresses":{"shape":"Sfs","locationName":"ipv6AddressesSet"},"MacAddress":{"locationName":"macAddress"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"OwnerId":{"locationName":"ownerId"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"locationName":"privateIpAddressesSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Association":{"shape":"S170","locationName":"association"},"Primary":{"locationName":"primary","type":"boolean"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"SourceDestCheck":{"locationName":"sourceDestCheck","type":"boolean"},"Status":{"locationName":"status"},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"},"InterfaceType":{"locationName":"interfaceType"},"Ipv4Prefixes":{"locationName":"ipv4PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv4Prefix":{"locationName":"ipv4Prefix"}}}},"Ipv6Prefixes":{"locationName":"ipv6PrefixSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Ipv6Prefix":{"locationName":"ipv6Prefix"}}}}}}},"OutpostArn":{"locationName":"outpostArn"},"RootDeviceName":{"locationName":"rootDeviceName"},"RootDeviceType":{"locationName":"rootDeviceType"},"SecurityGroups":{"shape":"Sii","locationName":"groupSet"},"SourceDestCheck":{"locationName":"sourceDestCheck","type":"boolean"},"SpotInstanceRequestId":{"locationName":"spotInstanceRequestId"},"SriovNetSupport":{"locationName":"sriovNetSupport"},"StateReason":{"shape":"S125","locationName":"stateReason"},"Tags":{"shape":"Ss","locationName":"tagSet"},"VirtualizationType":{"locationName":"virtualizationType"},"CpuOptions":{"locationName":"cpuOptions","type":"structure","members":{"CoreCount":{"locationName":"coreCount","type":"integer"},"ThreadsPerCore":{"locationName":"threadsPerCore","type":"integer"}}},"CapacityReservationId":{"locationName":"capacityReservationId"},"CapacityReservationSpecification":{"locationName":"capacityReservationSpecification","type":"structure","members":{"CapacityReservationPreference":{"locationName":"capacityReservationPreference"},"CapacityReservationTarget":{"shape":"Sgb","locationName":"capacityReservationTarget"}}},"HibernationOptions":{"locationName":"hibernationOptions","type":"structure","members":{"Configured":{"locationName":"configured","type":"boolean"}}},"Licenses":{"locationName":"licenseSet","type":"list","member":{"locationName":"item","type":"structure","members":{"LicenseConfigurationArn":{"locationName":"licenseConfigurationArn"}}}},"MetadataOptions":{"shape":"S17d","locationName":"metadataOptions"},"EnclaveOptions":{"shape":"S12x","locationName":"enclaveOptions"},"BootMode":{"locationName":"bootMode"},"PlatformDetails":{"locationName":"platformDetails"},"UsageOperation":{"locationName":"usageOperation"},"UsageOperationUpdateTime":{"locationName":"usageOperationUpdateTime","type":"timestamp"},"PrivateDnsNameOptions":{"locationName":"privateDnsNameOptions","type":"structure","members":{"HostnameType":{"locationName":"hostnameType"},"EnableResourceNameDnsARecord":{"locationName":"enableResourceNameDnsARecord","type":"boolean"},"EnableResourceNameDnsAAAARecord":{"locationName":"enableResourceNameDnsAAAARecord","type":"boolean"}}},"Ipv6Address":{"locationName":"ipv6Address"}}}},"OwnerId":{"locationName":"ownerId"},"RequesterId":{"locationName":"requesterId"},"ReservationId":{"locationName":"reservationId"}}},"S16r":{"type":"structure","members":{"State":{"locationName":"state"}}},"S170":{"type":"structure","members":{"CarrierIp":{"locationName":"carrierIp"},"CustomerOwnedIp":{"locationName":"customerOwnedIp"},"IpOwnerId":{"locationName":"ipOwnerId"},"PublicDnsName":{"locationName":"publicDnsName"},"PublicIp":{"locationName":"publicIp"}}},"S17d":{"type":"structure","members":{"State":{"locationName":"state"},"HttpTokens":{"locationName":"httpTokens"},"HttpPutResponseHopLimit":{"locationName":"httpPutResponseHopLimit","type":"integer"},"HttpEndpoint":{"locationName":"httpEndpoint"},"HttpProtocolIpv6":{"locationName":"httpProtocolIpv6"},"InstanceMetadataTags":{"locationName":"instanceMetadataTags"}}},"S197":{"type":"list","member":{"locationName":"item"}},"S1a7":{"type":"structure","members":{"NetworkInsightsAccessScopeAnalysisId":{"locationName":"networkInsightsAccessScopeAnalysisId"},"NetworkInsightsAccessScopeAnalysisArn":{"locationName":"networkInsightsAccessScopeAnalysisArn"},"NetworkInsightsAccessScopeId":{"locationName":"networkInsightsAccessScopeId"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"WarningMessage":{"locationName":"warningMessage"},"StartDate":{"locationName":"startDate","type":"timestamp"},"EndDate":{"locationName":"endDate","type":"timestamp"},"FindingsFound":{"locationName":"findingsFound"},"AnalyzedEniCount":{"locationName":"analyzedEniCount","type":"integer"},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S1ai":{"type":"structure","members":{"NetworkInsightsAnalysisId":{"locationName":"networkInsightsAnalysisId"},"NetworkInsightsAnalysisArn":{"locationName":"networkInsightsAnalysisArn"},"NetworkInsightsPathId":{"locationName":"networkInsightsPathId"},"FilterInArns":{"shape":"S1aj","locationName":"filterInArnSet"},"StartDate":{"locationName":"startDate","type":"timestamp"},"Status":{"locationName":"status"},"StatusMessage":{"locationName":"statusMessage"},"WarningMessage":{"locationName":"warningMessage"},"NetworkPathFound":{"locationName":"networkPathFound","type":"boolean"},"ForwardPathComponents":{"shape":"S1ak","locationName":"forwardPathComponentSet"},"ReturnPathComponents":{"shape":"S1ak","locationName":"returnPathComponentSet"},"Explanations":{"locationName":"explanationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"Acl":{"shape":"S1an","locationName":"acl"},"AclRule":{"shape":"S1am","locationName":"aclRule"},"Address":{"locationName":"address"},"Addresses":{"shape":"S1ap","locationName":"addressSet"},"AttachedTo":{"shape":"S1an","locationName":"attachedTo"},"AvailabilityZones":{"shape":"Se","locationName":"availabilityZoneSet"},"Cidrs":{"shape":"Se","locationName":"cidrSet"},"Component":{"shape":"S1an","locationName":"component"},"CustomerGateway":{"shape":"S1an","locationName":"customerGateway"},"Destination":{"shape":"S1an","locationName":"destination"},"DestinationVpc":{"shape":"S1an","locationName":"destinationVpc"},"Direction":{"locationName":"direction"},"ExplanationCode":{"locationName":"explanationCode"},"IngressRouteTable":{"shape":"S1an","locationName":"ingressRouteTable"},"InternetGateway":{"shape":"S1an","locationName":"internetGateway"},"LoadBalancerArn":{"locationName":"loadBalancerArn"},"ClassicLoadBalancerListener":{"locationName":"classicLoadBalancerListener","type":"structure","members":{"LoadBalancerPort":{"locationName":"loadBalancerPort","type":"integer"},"InstancePort":{"locationName":"instancePort","type":"integer"}}},"LoadBalancerListenerPort":{"locationName":"loadBalancerListenerPort","type":"integer"},"LoadBalancerTarget":{"locationName":"loadBalancerTarget","type":"structure","members":{"Address":{"locationName":"address"},"AvailabilityZone":{"locationName":"availabilityZone"},"Instance":{"shape":"S1an","locationName":"instance"},"Port":{"locationName":"port","type":"integer"}}},"LoadBalancerTargetGroup":{"shape":"S1an","locationName":"loadBalancerTargetGroup"},"LoadBalancerTargetGroups":{"shape":"S1ax","locationName":"loadBalancerTargetGroupSet"},"LoadBalancerTargetPort":{"locationName":"loadBalancerTargetPort","type":"integer"},"ElasticLoadBalancerListener":{"shape":"S1an","locationName":"elasticLoadBalancerListener"},"MissingComponent":{"locationName":"missingComponent"},"NatGateway":{"shape":"S1an","locationName":"natGateway"},"NetworkInterface":{"shape":"S1an","locationName":"networkInterface"},"PacketField":{"locationName":"packetField"},"VpcPeeringConnection":{"shape":"S1an","locationName":"vpcPeeringConnection"},"Port":{"locationName":"port","type":"integer"},"PortRanges":{"shape":"S1aq","locationName":"portRangeSet"},"PrefixList":{"shape":"S1an","locationName":"prefixList"},"Protocols":{"locationName":"protocolSet","type":"list","member":{"locationName":"item"}},"RouteTableRoute":{"shape":"S1ar","locationName":"routeTableRoute"},"RouteTable":{"shape":"S1an","locationName":"routeTable"},"SecurityGroup":{"shape":"S1an","locationName":"securityGroup"},"SecurityGroupRule":{"shape":"S1as","locationName":"securityGroupRule"},"SecurityGroups":{"shape":"S1ax","locationName":"securityGroupSet"},"SourceVpc":{"shape":"S1an","locationName":"sourceVpc"},"State":{"locationName":"state"},"Subnet":{"shape":"S1an","locationName":"subnet"},"SubnetRouteTable":{"shape":"S1an","locationName":"subnetRouteTable"},"Vpc":{"shape":"S1an","locationName":"vpc"},"VpcEndpoint":{"shape":"S1an","locationName":"vpcEndpoint"},"VpnConnection":{"shape":"S1an","locationName":"vpnConnection"},"VpnGateway":{"shape":"S1an","locationName":"vpnGateway"}}}},"AlternatePathHints":{"locationName":"alternatePathHintSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ComponentId":{"locationName":"componentId"},"ComponentArn":{"locationName":"componentArn"}}}},"Tags":{"shape":"Ss","locationName":"tagSet"}}},"S1aj":{"type":"list","member":{"locationName":"item"}},"S1ak":{"type":"list","member":{"locationName":"item","type":"structure","members":{"SequenceNumber":{"locationName":"sequenceNumber","type":"integer"},"AclRule":{"shape":"S1am","locationName":"aclRule"},"AttachedTo":{"shape":"S1an","locationName":"attachedTo"},"Component":{"shape":"S1an","locationName":"component"},"DestinationVpc":{"shape":"S1an","locationName":"destinationVpc"},"OutboundHeader":{"shape":"S1ao","locationName":"outboundHeader"},"InboundHeader":{"shape":"S1ao","locationName":"inboundHeader"},"RouteTableRoute":{"shape":"S1ar","locationName":"routeTableRoute"},"SecurityGroupRule":{"shape":"S1as","locationName":"securityGroupRule"},"SourceVpc":{"shape":"S1an","locationName":"sourceVpc"},"Subnet":{"shape":"S1an","locationName":"subnet"},"Vpc":{"shape":"S1an","locationName":"vpc"}}}},"S1am":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"Egress":{"locationName":"egress","type":"boolean"},"PortRange":{"shape":"Shg","locationName":"portRange"},"Protocol":{"locationName":"protocol"},"RuleAction":{"locationName":"ruleAction"},"RuleNumber":{"locationName":"ruleNumber","type":"integer"}}},"S1an":{"type":"structure","members":{"Id":{"locationName":"id"},"Arn":{"locationName":"arn"},"Name":{"locationName":"name"}}},"S1ao":{"type":"structure","members":{"DestinationAddresses":{"shape":"S1ap","locationName":"destinationAddressSet"},"DestinationPortRanges":{"shape":"S1aq","locationName":"destinationPortRangeSet"},"Protocol":{"locationName":"protocol"},"SourceAddresses":{"shape":"S1ap","locationName":"sourceAddressSet"},"SourcePortRanges":{"shape":"S1aq","locationName":"sourcePortRangeSet"}}},"S1ap":{"type":"list","member":{"locationName":"item"}},"S1aq":{"type":"list","member":{"shape":"Shg","locationName":"item"}},"S1ar":{"type":"structure","members":{"DestinationCidr":{"locationName":"destinationCidr"},"DestinationPrefixListId":{"locationName":"destinationPrefixListId"},"EgressOnlyInternetGatewayId":{"locationName":"egressOnlyInternetGatewayId"},"GatewayId":{"locationName":"gatewayId"},"InstanceId":{"locationName":"instanceId"},"NatGatewayId":{"locationName":"natGatewayId"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"Origin":{"locationName":"origin"},"TransitGatewayId":{"locationName":"transitGatewayId"},"VpcPeeringConnectionId":{"locationName":"vpcPeeringConnectionId"}}},"S1as":{"type":"structure","members":{"Cidr":{"locationName":"cidr"},"Direction":{"locationName":"direction"},"SecurityGroupId":{"locationName":"securityGroupId"},"PortRange":{"shape":"Shg","locationName":"portRange"},"PrefixListId":{"locationName":"prefixListId"},"Protocol":{"locationName":"protocol"}}},"S1ax":{"type":"list","member":{"shape":"S1an","locationName":"item"}},"S1c6":{"type":"structure","members":{"FirstAddress":{"locationName":"firstAddress"},"LastAddress":{"locationName":"lastAddress"},"AddressCount":{"locationName":"addressCount","type":"integer"},"AvailableAddressCount":{"locationName":"availableAddressCount","type":"integer"}}},"S1cj":{"type":"list","member":{"locationName":"ReservedInstancesId"}},"S1cr":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Amount":{"locationName":"amount","type":"double"},"Frequency":{"locationName":"frequency"}}}},"S1d5":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"InstanceType":{"locationName":"instanceType"},"Platform":{"locationName":"platform"},"Scope":{"locationName":"scope"}}},"S1ds":{"type":"structure","members":{"Frequency":{"locationName":"frequency"},"Interval":{"locationName":"interval","type":"integer"},"OccurrenceDaySet":{"locationName":"occurrenceDaySet","type":"list","member":{"locationName":"item","type":"integer"}},"OccurrenceRelativeToEnd":{"locationName":"occurrenceRelativeToEnd","type":"boolean"},"OccurrenceUnit":{"locationName":"occurrenceUnit"}}},"S1e0":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"CreateDate":{"locationName":"createDate","type":"timestamp"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceCount":{"locationName":"instanceCount","type":"integer"},"InstanceType":{"locationName":"instanceType"},"NetworkPlatform":{"locationName":"networkPlatform"},"NextSlotStartTime":{"locationName":"nextSlotStartTime","type":"timestamp"},"Platform":{"locationName":"platform"},"PreviousSlotEndTime":{"locationName":"previousSlotEndTime","type":"timestamp"},"Recurrence":{"shape":"S1ds","locationName":"recurrence"},"ScheduledInstanceId":{"locationName":"scheduledInstanceId"},"SlotDurationInHours":{"locationName":"slotDurationInHours","type":"integer"},"TermEndDate":{"locationName":"termEndDate","type":"timestamp"},"TermStartDate":{"locationName":"termStartDate","type":"timestamp"},"TotalScheduledInstanceHours":{"locationName":"totalScheduledInstanceHours","type":"integer"}}},"S1e7":{"type":"list","member":{"locationName":"item"}},"S1eb":{"type":"list","member":{"locationName":"GroupName"}},"S1ej":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Group":{"locationName":"group"},"UserId":{"locationName":"userId"}}}},"S1et":{"type":"list","member":{"locationName":"SnapshotId"}},"S1fc":{"type":"structure","required":["IamFleetRole","TargetCapacity"],"members":{"AllocationStrategy":{"locationName":"allocationStrategy"},"OnDemandAllocationStrategy":{"locationName":"onDemandAllocationStrategy"},"SpotMaintenanceStrategies":{"locationName":"spotMaintenanceStrategies","type":"structure","members":{"CapacityRebalance":{"locationName":"capacityRebalance","type":"structure","members":{"ReplacementStrategy":{"locationName":"replacementStrategy"},"TerminationDelay":{"locationName":"terminationDelay","type":"integer"}}}}},"ClientToken":{"locationName":"clientToken"},"ExcessCapacityTerminationPolicy":{"locationName":"excessCapacityTerminationPolicy"},"FulfilledCapacity":{"locationName":"fulfilledCapacity","type":"double"},"OnDemandFulfilledCapacity":{"locationName":"onDemandFulfilledCapacity","type":"double"},"IamFleetRole":{"locationName":"iamFleetRole"},"LaunchSpecifications":{"locationName":"launchSpecifications","type":"list","member":{"locationName":"item","type":"structure","members":{"SecurityGroups":{"shape":"Sii","locationName":"groupSet"},"AddressingType":{"locationName":"addressingType"},"BlockDeviceMappings":{"shape":"S11r","locationName":"blockDeviceMapping"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"shape":"S36","locationName":"iamInstanceProfile"},"ImageId":{"locationName":"imageId"},"InstanceType":{"locationName":"instanceType"},"KernelId":{"locationName":"kernelId"},"KeyName":{"locationName":"keyName"},"Monitoring":{"locationName":"monitoring","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"NetworkInterfaces":{"shape":"S1fm","locationName":"networkInterfaceSet"},"Placement":{"shape":"S1fo","locationName":"placement"},"RamdiskId":{"locationName":"ramdiskId"},"SpotPrice":{"locationName":"spotPrice"},"SubnetId":{"locationName":"subnetId"},"UserData":{"locationName":"userData"},"WeightedCapacity":{"locationName":"weightedCapacity","type":"double"},"TagSpecifications":{"locationName":"tagSpecificationSet","type":"list","member":{"locationName":"item","type":"structure","members":{"ResourceType":{"locationName":"resourceType"},"Tags":{"shape":"Ss","locationName":"tag"}}}},"InstanceRequirements":{"shape":"Sbo","locationName":"instanceRequirements"}}}},"LaunchTemplateConfigs":{"shape":"S1fr","locationName":"launchTemplateConfigs"},"SpotPrice":{"locationName":"spotPrice"},"TargetCapacity":{"locationName":"targetCapacity","type":"integer"},"OnDemandTargetCapacity":{"locationName":"onDemandTargetCapacity","type":"integer"},"OnDemandMaxTotalPrice":{"locationName":"onDemandMaxTotalPrice"},"SpotMaxTotalPrice":{"locationName":"spotMaxTotalPrice"},"TerminateInstancesWithExpiration":{"locationName":"terminateInstancesWithExpiration","type":"boolean"},"Type":{"locationName":"type"},"ValidFrom":{"locationName":"validFrom","type":"timestamp"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"ReplaceUnhealthyInstances":{"locationName":"replaceUnhealthyInstances","type":"boolean"},"InstanceInterruptionBehavior":{"locationName":"instanceInterruptionBehavior"},"LoadBalancersConfig":{"locationName":"loadBalancersConfig","type":"structure","members":{"ClassicLoadBalancersConfig":{"locationName":"classicLoadBalancersConfig","type":"structure","members":{"ClassicLoadBalancers":{"locationName":"classicLoadBalancers","type":"list","member":{"locationName":"item","type":"structure","members":{"Name":{"locationName":"name"}}}}}},"TargetGroupsConfig":{"locationName":"targetGroupsConfig","type":"structure","members":{"TargetGroups":{"locationName":"targetGroups","type":"list","member":{"locationName":"item","type":"structure","members":{"Arn":{"locationName":"arn"}}}}}}}},"InstancePoolsToUseCount":{"locationName":"instancePoolsToUseCount","type":"integer"},"Context":{"locationName":"context"},"TargetCapacityUnitType":{"locationName":"targetCapacityUnitType"},"TagSpecifications":{"shape":"S1t","locationName":"TagSpecification"}}},"S1fm":{"type":"list","member":{"locationName":"item","type":"structure","members":{"AssociatePublicIpAddress":{"locationName":"associatePublicIpAddress","type":"boolean"},"DeleteOnTermination":{"locationName":"deleteOnTermination","type":"boolean"},"Description":{"locationName":"description"},"DeviceIndex":{"locationName":"deviceIndex","type":"integer"},"Groups":{"shape":"Se6","locationName":"SecurityGroupId"},"Ipv6AddressCount":{"locationName":"ipv6AddressCount","type":"integer"},"Ipv6Addresses":{"shape":"Sfs","locationName":"ipv6AddressesSet","queryName":"Ipv6Addresses"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"shape":"Se9","locationName":"privateIpAddressesSet","queryName":"PrivateIpAddresses"},"SecondaryPrivateIpAddressCount":{"locationName":"secondaryPrivateIpAddressCount","type":"integer"},"SubnetId":{"locationName":"subnetId"},"AssociateCarrierIpAddress":{"type":"boolean"},"InterfaceType":{},"NetworkCardIndex":{"type":"integer"},"Ipv4Prefixes":{"shape":"Seb","locationName":"Ipv4Prefix"},"Ipv4PrefixCount":{"type":"integer"},"Ipv6Prefixes":{"shape":"Sed","locationName":"Ipv6Prefix"},"Ipv6PrefixCount":{"type":"integer"}}}},"S1fo":{"type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"GroupName":{"locationName":"groupName"},"Tenancy":{"locationName":"tenancy"}}},"S1fr":{"type":"list","member":{"locationName":"item","type":"structure","members":{"LaunchTemplateSpecification":{"shape":"Sbl","locationName":"launchTemplateSpecification"},"Overrides":{"locationName":"overrides","type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceType":{"locationName":"instanceType"},"SpotPrice":{"locationName":"spotPrice"},"SubnetId":{"locationName":"subnetId"},"AvailabilityZone":{"locationName":"availabilityZone"},"WeightedCapacity":{"locationName":"weightedCapacity","type":"double"},"Priority":{"locationName":"priority","type":"double"},"InstanceRequirements":{"shape":"Sbo","locationName":"instanceRequirements"}}}}}}},"S1g4":{"type":"list","member":{"locationName":"item","type":"structure","members":{"ActualBlockHourlyPrice":{"locationName":"actualBlockHourlyPrice"},"AvailabilityZoneGroup":{"locationName":"availabilityZoneGroup"},"BlockDurationMinutes":{"locationName":"blockDurationMinutes","type":"integer"},"CreateTime":{"locationName":"createTime","type":"timestamp"},"Fault":{"shape":"Skc","locationName":"fault"},"InstanceId":{"locationName":"instanceId"},"LaunchGroup":{"locationName":"launchGroup"},"LaunchSpecification":{"locationName":"launchSpecification","type":"structure","members":{"UserData":{"locationName":"userData"},"SecurityGroups":{"shape":"Sii","locationName":"groupSet"},"AddressingType":{"locationName":"addressingType"},"BlockDeviceMappings":{"shape":"S11r","locationName":"blockDeviceMapping"},"EbsOptimized":{"locationName":"ebsOptimized","type":"boolean"},"IamInstanceProfile":{"shape":"S36","locationName":"iamInstanceProfile"},"ImageId":{"locationName":"imageId"},"InstanceType":{"locationName":"instanceType"},"KernelId":{"locationName":"kernelId"},"KeyName":{"locationName":"keyName"},"NetworkInterfaces":{"shape":"S1fm","locationName":"networkInterfaceSet"},"Placement":{"shape":"S1fo","locationName":"placement"},"RamdiskId":{"locationName":"ramdiskId"},"SubnetId":{"locationName":"subnetId"},"Monitoring":{"shape":"S1g7","locationName":"monitoring"}}},"LaunchedAvailabilityZone":{"locationName":"launchedAvailabilityZone"},"ProductDescription":{"locationName":"productDescription"},"SpotInstanceRequestId":{"locationName":"spotInstanceRequestId"},"SpotPrice":{"locationName":"spotPrice"},"State":{"locationName":"state"},"Status":{"locationName":"status","type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"},"UpdateTime":{"locationName":"updateTime","type":"timestamp"}}},"Tags":{"shape":"Ss","locationName":"tagSet"},"Type":{"locationName":"type"},"ValidFrom":{"locationName":"validFrom","type":"timestamp"},"ValidUntil":{"locationName":"validUntil","type":"timestamp"},"InstanceInterruptionBehavior":{"locationName":"instanceInterruptionBehavior"}}}},"S1g7":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"S1gm":{"type":"list","member":{"locationName":"item","type":"structure","members":{"FromPort":{"locationName":"fromPort","type":"integer"},"IpProtocol":{"locationName":"ipProtocol"},"IpRanges":{"locationName":"ipRanges","type":"list","member":{"locationName":"item"}},"PrefixListIds":{"locationName":"prefixListIds","type":"list","member":{"locationName":"item"}},"ToPort":{"locationName":"toPort","type":"integer"},"UserIdGroupPairs":{"locationName":"groups","type":"list","member":{"shape":"S5h","locationName":"item"}}}}},"S1hk":{"type":"list","member":{}},"S1io":{"type":"list","member":{"locationName":"VolumeId"}},"S1j9":{"type":"structure","members":{"VolumeId":{"locationName":"volumeId"},"ModificationState":{"locationName":"modificationState"},"StatusMessage":{"locationName":"statusMessage"},"TargetSize":{"locationName":"targetSize","type":"integer"},"TargetIops":{"locationName":"targetIops","type":"integer"},"TargetVolumeType":{"locationName":"targetVolumeType"},"TargetThroughput":{"locationName":"targetThroughput","type":"integer"},"TargetMultiAttachEnabled":{"locationName":"targetMultiAttachEnabled","type":"boolean"},"OriginalSize":{"locationName":"originalSize","type":"integer"},"OriginalIops":{"locationName":"originalIops","type":"integer"},"OriginalVolumeType":{"locationName":"originalVolumeType"},"OriginalThroughput":{"locationName":"originalThroughput","type":"integer"},"OriginalMultiAttachEnabled":{"locationName":"originalMultiAttachEnabled","type":"boolean"},"Progress":{"locationName":"progress","type":"long"},"StartTime":{"locationName":"startTime","type":"timestamp"},"EndTime":{"locationName":"endTime","type":"timestamp"}}},"S1jf":{"type":"list","member":{"locationName":"VpcId"}},"S1l7":{"type":"list","member":{"locationName":"AvailabilityZone"}},"S1lo":{"type":"structure","members":{"TransitGatewayAttachmentId":{"locationName":"transitGatewayAttachmentId"},"ResourceId":{"locationName":"resourceId"},"ResourceType":{"locationName":"resourceType"},"TransitGatewayRouteTableId":{"locationName":"transitGatewayRouteTableId"},"State":{"locationName":"state"}}},"S1oc":{"type":"structure","members":{"InstanceFamily":{"locationName":"instanceFamily"},"CpuCredits":{"locationName":"cpuCredits"}}},"S1ot":{"type":"list","member":{"locationName":"item"}},"S1ov":{"type":"list","member":{"locationName":"item","type":"structure","members":{"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"HostIdSet":{"shape":"S10z","locationName":"hostIdSet"},"HostReservationId":{"locationName":"hostReservationId"},"HourlyPrice":{"locationName":"hourlyPrice"},"InstanceFamily":{"locationName":"instanceFamily"},"PaymentOption":{"locationName":"paymentOption"},"UpfrontPrice":{"locationName":"upfrontPrice"}}}},"S1oy":{"type":"list","member":{"locationName":"item"}},"S1oz":{"type":"list","member":{"locationName":"item"}},"S1pm":{"type":"structure","members":{"IpamId":{"locationName":"ipamId"},"IpamScopeId":{"locationName":"ipamScopeId"},"IpamPoolId":{"locationName":"ipamPoolId"},"ResourceRegion":{"locationName":"resourceRegion"},"ResourceOwnerId":{"locationName":"resourceOwnerId"},"ResourceId":{"locationName":"resourceId"},"ResourceName":{"locationName":"resourceName"},"ResourceCidr":{"locationName":"resourceCidr"},"ResourceType":{"locationName":"resourceType"},"ResourceTags":{"shape":"Sdm","locationName":"resourceTagSet"},"IpUsage":{"locationName":"ipUsage","type":"double"},"ComplianceStatus":{"locationName":"complianceStatus"},"ManagementState":{"locationName":"managementState"},"OverlapStatus":{"locationName":"overlapStatus"},"VpcId":{"locationName":"vpcId"}}},"S1qa":{"type":"structure","members":{"HourlyPrice":{"locationName":"hourlyPrice"},"RemainingTotalValue":{"locationName":"remainingTotalValue"},"RemainingUpfrontValue":{"locationName":"remainingUpfrontValue"}}},"S1qu":{"type":"list","member":{"shape":"Skn","locationName":"item"}},"S1rq":{"type":"structure","members":{"Comment":{},"UploadEnd":{"type":"timestamp"},"UploadSize":{"type":"double"},"UploadStart":{"type":"timestamp"}}},"S1rt":{"type":"structure","members":{"S3Bucket":{},"S3Key":{}}},"S1s0":{"type":"structure","required":["Bytes","Format","ImportManifestUrl"],"members":{"Bytes":{"locationName":"bytes","type":"long"},"Format":{"locationName":"format"},"ImportManifestUrl":{"locationName":"importManifestUrl"}}},"S1s1":{"type":"structure","required":["Size"],"members":{"Size":{"locationName":"size","type":"long"}}},"S1t6":{"type":"list","member":{"locationName":"UserId"}},"S1t7":{"type":"list","member":{"locationName":"UserGroup"}},"S1t8":{"type":"list","member":{"locationName":"ProductCode"}},"S1ta":{"type":"list","member":{"locationName":"item","type":"structure","members":{"Group":{},"UserId":{}}}},"S1tf":{"type":"list","member":{"shape":"S17","locationName":"item"}},"S1ts":{"type":"structure","members":{"CapacityReservationPreference":{},"CapacityReservationTarget":{"shape":"Sf2"}}},"S1wb":{"type":"structure","members":{"AllowDnsResolutionFromRemoteVpc":{"type":"boolean"},"AllowEgressFromLocalClassicLinkToRemoteVpc":{"type":"boolean"},"AllowEgressFromLocalVpcToRemoteClassicLink":{"type":"boolean"}}},"S1wd":{"type":"structure","members":{"AllowDnsResolutionFromRemoteVpc":{"locationName":"allowDnsResolutionFromRemoteVpc","type":"boolean"},"AllowEgressFromLocalClassicLinkToRemoteVpc":{"locationName":"allowEgressFromLocalClassicLinkToRemoteVpc","type":"boolean"},"AllowEgressFromLocalVpcToRemoteClassicLink":{"locationName":"allowEgressFromLocalVpcToRemoteClassicLink","type":"boolean"}}},"S1ws":{"type":"list","member":{"locationName":"item","type":"structure","members":{"InstanceId":{"locationName":"instanceId"},"Monitoring":{"shape":"S16r","locationName":"monitoring"}}}},"S20c":{"type":"list","member":{"locationName":"SecurityGroupId"}},"S210":{"type":"list","member":{"locationName":"item","type":"structure","members":{"CurrentState":{"shape":"S13i","locationName":"currentState"},"InstanceId":{"locationName":"instanceId"},"PreviousState":{"shape":"S13i","locationName":"previousState"}}}},"S21m":{"type":"list","member":{"locationName":"item","type":"structure","members":{"SecurityGroupRuleId":{},"Description":{}}}}}} /***/ }), /* 195 */ /***/ (function(module, exports) { - module.exports = {"pagination":{"DescribeAccountAttributes":{"result_key":"AccountAttributes"},"DescribeAddresses":{"result_key":"Addresses"},"DescribeAddressesAttribute":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Addresses"},"DescribeAvailabilityZones":{"result_key":"AvailabilityZones"},"DescribeBundleTasks":{"result_key":"BundleTasks"},"DescribeByoipCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ByoipCidrs"},"DescribeCapacityReservationFleets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CapacityReservationFleets"},"DescribeCapacityReservations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CapacityReservations"},"DescribeCarrierGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CarrierGateways"},"DescribeClassicLinkInstances":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Instances"},"DescribeClientVpnAuthorizationRules":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"AuthorizationRules"},"DescribeClientVpnConnections":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Connections"},"DescribeClientVpnEndpoints":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ClientVpnEndpoints"},"DescribeClientVpnRoutes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Routes"},"DescribeClientVpnTargetNetworks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ClientVpnTargetNetworks"},"DescribeCoipPools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CoipPools"},"DescribeConversionTasks":{"result_key":"ConversionTasks"},"DescribeCustomerGateways":{"result_key":"CustomerGateways"},"DescribeDhcpOptions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"DhcpOptions"},"DescribeEgressOnlyInternetGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"EgressOnlyInternetGateways"},"DescribeExportImageTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ExportImageTasks"},"DescribeExportTasks":{"result_key":"ExportTasks"},"DescribeFastSnapshotRestores":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"FastSnapshotRestores"},"DescribeFleets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Fleets"},"DescribeFlowLogs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"FlowLogs"},"DescribeFpgaImages":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"FpgaImages"},"DescribeHostReservationOfferings":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"OfferingSet"},"DescribeHostReservations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"HostReservationSet"},"DescribeHosts":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Hosts"},"DescribeIamInstanceProfileAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IamInstanceProfileAssociations"},"DescribeImages":{"result_key":"Images"},"DescribeImportImageTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ImportImageTasks"},"DescribeImportSnapshotTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ImportSnapshotTasks"},"DescribeInstanceCreditSpecifications":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceCreditSpecifications"},"DescribeInstanceEventWindows":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceEventWindows"},"DescribeInstanceStatus":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceStatuses"},"DescribeInstanceTypeOfferings":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceTypeOfferings"},"DescribeInstanceTypes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceTypes"},"DescribeInstances":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Reservations"},"DescribeInternetGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InternetGateways"},"DescribeIpamPools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamPools"},"DescribeIpamScopes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamScopes"},"DescribeIpams":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Ipams"},"DescribeIpv6Pools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Ipv6Pools"},"DescribeKeyPairs":{"result_key":"KeyPairs"},"DescribeLaunchTemplateVersions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LaunchTemplateVersions"},"DescribeLaunchTemplates":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LaunchTemplates"},"DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayRouteTableVirtualInterfaceGroupAssociations"},"DescribeLocalGatewayRouteTableVpcAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayRouteTableVpcAssociations"},"DescribeLocalGatewayRouteTables":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayRouteTables"},"DescribeLocalGatewayVirtualInterfaceGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayVirtualInterfaceGroups"},"DescribeLocalGatewayVirtualInterfaces":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayVirtualInterfaces"},"DescribeLocalGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGateways"},"DescribeManagedPrefixLists":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PrefixLists"},"DescribeMovingAddresses":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"MovingAddressStatuses"},"DescribeNatGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NatGateways"},"DescribeNetworkAcls":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkAcls"},"DescribeNetworkInsightsAccessScopeAnalyses":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInsightsAccessScopeAnalyses"},"DescribeNetworkInsightsAccessScopes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInsightsAccessScopes"},"DescribeNetworkInsightsAnalyses":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInsightsAnalyses"},"DescribeNetworkInsightsPaths":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInsightsPaths"},"DescribeNetworkInterfacePermissions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInterfacePermissions"},"DescribeNetworkInterfaces":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInterfaces"},"DescribePlacementGroups":{"result_key":"PlacementGroups"},"DescribePrefixLists":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PrefixLists"},"DescribePrincipalIdFormat":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Principals"},"DescribePublicIpv4Pools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PublicIpv4Pools"},"DescribeRegions":{"result_key":"Regions"},"DescribeReplaceRootVolumeTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ReplaceRootVolumeTasks"},"DescribeReservedInstances":{"result_key":"ReservedInstances"},"DescribeReservedInstancesListings":{"result_key":"ReservedInstancesListings"},"DescribeReservedInstancesModifications":{"input_token":"NextToken","output_token":"NextToken","result_key":"ReservedInstancesModifications"},"DescribeReservedInstancesOfferings":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ReservedInstancesOfferings"},"DescribeRouteTables":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"RouteTables"},"DescribeScheduledInstanceAvailability":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ScheduledInstanceAvailabilitySet"},"DescribeScheduledInstances":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ScheduledInstanceSet"},"DescribeSecurityGroupRules":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SecurityGroupRules"},"DescribeSecurityGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SecurityGroups"},"DescribeSnapshotTierStatus":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SnapshotTierStatuses"},"DescribeSnapshots":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Snapshots"},"DescribeSpotFleetRequests":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SpotFleetRequestConfigs"},"DescribeSpotInstanceRequests":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SpotInstanceRequests"},"DescribeSpotPriceHistory":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SpotPriceHistory"},"DescribeStaleSecurityGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"StaleSecurityGroupSet"},"DescribeStoreImageTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"StoreImageTaskResults"},"DescribeSubnets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Subnets"},"DescribeTags":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Tags"},"DescribeTrafficMirrorFilters":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TrafficMirrorFilters"},"DescribeTrafficMirrorSessions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TrafficMirrorSessions"},"DescribeTrafficMirrorTargets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TrafficMirrorTargets"},"DescribeTransitGatewayAttachments":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayAttachments"},"DescribeTransitGatewayConnectPeers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayConnectPeers"},"DescribeTransitGatewayConnects":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayConnects"},"DescribeTransitGatewayMulticastDomains":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayMulticastDomains"},"DescribeTransitGatewayPeeringAttachments":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayPeeringAttachments"},"DescribeTransitGatewayRouteTables":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayRouteTables"},"DescribeTransitGatewayVpcAttachments":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayVpcAttachments"},"DescribeTransitGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGateways"},"DescribeTrunkInterfaceAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InterfaceAssociations"},"DescribeVolumeStatus":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VolumeStatuses"},"DescribeVolumes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Volumes"},"DescribeVolumesModifications":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VolumesModifications"},"DescribeVpcClassicLinkDnsSupport":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Vpcs"},"DescribeVpcEndpointConnectionNotifications":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ConnectionNotificationSet"},"DescribeVpcEndpointConnections":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VpcEndpointConnections"},"DescribeVpcEndpointServiceConfigurations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ServiceConfigurations"},"DescribeVpcEndpointServicePermissions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"AllowedPrincipals"},"DescribeVpcEndpoints":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VpcEndpoints"},"DescribeVpcPeeringConnections":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VpcPeeringConnections"},"DescribeVpcs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Vpcs"},"DescribeVpnConnections":{"result_key":"VpnConnections"},"DescribeVpnGateways":{"result_key":"VpnGateways"},"GetAssociatedIpv6PoolCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Ipv6CidrAssociations"},"GetGroupsForCapacityReservation":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CapacityReservationGroups"},"GetInstanceTypesFromInstanceRequirements":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceTypes"},"GetIpamAddressHistory":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"HistoryRecords"},"GetIpamPoolAllocations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamPoolAllocations"},"GetIpamPoolCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamPoolCidrs"},"GetIpamResourceCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamResourceCidrs"},"GetManagedPrefixListAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PrefixListAssociations"},"GetManagedPrefixListEntries":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Entries"},"GetSpotPlacementScores":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SpotPlacementScores"},"GetTransitGatewayAttachmentPropagations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayAttachmentPropagations"},"GetTransitGatewayMulticastDomainAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"MulticastDomainAssociations"},"GetTransitGatewayPrefixListReferences":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayPrefixListReferences"},"GetTransitGatewayRouteTableAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Associations"},"GetTransitGatewayRouteTablePropagations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayRouteTablePropagations"},"GetVpnConnectionDeviceTypes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VpnConnectionDeviceTypes"},"ListSnapshotsInRecycleBin":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Snapshots"},"SearchLocalGatewayRoutes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Routes"},"SearchTransitGatewayMulticastGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"MulticastGroups"}}} + module.exports = {"pagination":{"DescribeAccountAttributes":{"result_key":"AccountAttributes"},"DescribeAddresses":{"result_key":"Addresses"},"DescribeAddressesAttribute":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Addresses"},"DescribeAvailabilityZones":{"result_key":"AvailabilityZones"},"DescribeBundleTasks":{"result_key":"BundleTasks"},"DescribeByoipCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ByoipCidrs"},"DescribeCapacityReservationFleets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CapacityReservationFleets"},"DescribeCapacityReservations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CapacityReservations"},"DescribeCarrierGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CarrierGateways"},"DescribeClassicLinkInstances":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Instances"},"DescribeClientVpnAuthorizationRules":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"AuthorizationRules"},"DescribeClientVpnConnections":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Connections"},"DescribeClientVpnEndpoints":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ClientVpnEndpoints"},"DescribeClientVpnRoutes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Routes"},"DescribeClientVpnTargetNetworks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ClientVpnTargetNetworks"},"DescribeCoipPools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CoipPools"},"DescribeConversionTasks":{"result_key":"ConversionTasks"},"DescribeCustomerGateways":{"result_key":"CustomerGateways"},"DescribeDhcpOptions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"DhcpOptions"},"DescribeEgressOnlyInternetGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"EgressOnlyInternetGateways"},"DescribeExportImageTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ExportImageTasks"},"DescribeExportTasks":{"result_key":"ExportTasks"},"DescribeFastLaunchImages":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"FastLaunchImages"},"DescribeFastSnapshotRestores":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"FastSnapshotRestores"},"DescribeFleets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Fleets"},"DescribeFlowLogs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"FlowLogs"},"DescribeFpgaImages":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"FpgaImages"},"DescribeHostReservationOfferings":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"OfferingSet"},"DescribeHostReservations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"HostReservationSet"},"DescribeHosts":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Hosts"},"DescribeIamInstanceProfileAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IamInstanceProfileAssociations"},"DescribeImages":{"result_key":"Images"},"DescribeImportImageTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ImportImageTasks"},"DescribeImportSnapshotTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ImportSnapshotTasks"},"DescribeInstanceCreditSpecifications":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceCreditSpecifications"},"DescribeInstanceEventWindows":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceEventWindows"},"DescribeInstanceStatus":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceStatuses"},"DescribeInstanceTypeOfferings":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceTypeOfferings"},"DescribeInstanceTypes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceTypes"},"DescribeInstances":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Reservations"},"DescribeInternetGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InternetGateways"},"DescribeIpamPools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamPools"},"DescribeIpamScopes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamScopes"},"DescribeIpams":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Ipams"},"DescribeIpv6Pools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Ipv6Pools"},"DescribeKeyPairs":{"result_key":"KeyPairs"},"DescribeLaunchTemplateVersions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LaunchTemplateVersions"},"DescribeLaunchTemplates":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LaunchTemplates"},"DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayRouteTableVirtualInterfaceGroupAssociations"},"DescribeLocalGatewayRouteTableVpcAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayRouteTableVpcAssociations"},"DescribeLocalGatewayRouteTables":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayRouteTables"},"DescribeLocalGatewayVirtualInterfaceGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayVirtualInterfaceGroups"},"DescribeLocalGatewayVirtualInterfaces":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGatewayVirtualInterfaces"},"DescribeLocalGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"LocalGateways"},"DescribeManagedPrefixLists":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PrefixLists"},"DescribeMovingAddresses":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"MovingAddressStatuses"},"DescribeNatGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NatGateways"},"DescribeNetworkAcls":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkAcls"},"DescribeNetworkInsightsAccessScopeAnalyses":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInsightsAccessScopeAnalyses"},"DescribeNetworkInsightsAccessScopes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInsightsAccessScopes"},"DescribeNetworkInsightsAnalyses":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInsightsAnalyses"},"DescribeNetworkInsightsPaths":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInsightsPaths"},"DescribeNetworkInterfacePermissions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInterfacePermissions"},"DescribeNetworkInterfaces":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"NetworkInterfaces"},"DescribePlacementGroups":{"result_key":"PlacementGroups"},"DescribePrefixLists":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PrefixLists"},"DescribePrincipalIdFormat":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Principals"},"DescribePublicIpv4Pools":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PublicIpv4Pools"},"DescribeRegions":{"result_key":"Regions"},"DescribeReplaceRootVolumeTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ReplaceRootVolumeTasks"},"DescribeReservedInstances":{"result_key":"ReservedInstances"},"DescribeReservedInstancesListings":{"result_key":"ReservedInstancesListings"},"DescribeReservedInstancesModifications":{"input_token":"NextToken","output_token":"NextToken","result_key":"ReservedInstancesModifications"},"DescribeReservedInstancesOfferings":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ReservedInstancesOfferings"},"DescribeRouteTables":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"RouteTables"},"DescribeScheduledInstanceAvailability":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ScheduledInstanceAvailabilitySet"},"DescribeScheduledInstances":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ScheduledInstanceSet"},"DescribeSecurityGroupRules":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SecurityGroupRules"},"DescribeSecurityGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SecurityGroups"},"DescribeSnapshotTierStatus":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SnapshotTierStatuses"},"DescribeSnapshots":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Snapshots"},"DescribeSpotFleetRequests":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SpotFleetRequestConfigs"},"DescribeSpotInstanceRequests":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SpotInstanceRequests"},"DescribeSpotPriceHistory":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SpotPriceHistory"},"DescribeStaleSecurityGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"StaleSecurityGroupSet"},"DescribeStoreImageTasks":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"StoreImageTaskResults"},"DescribeSubnets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Subnets"},"DescribeTags":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Tags"},"DescribeTrafficMirrorFilters":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TrafficMirrorFilters"},"DescribeTrafficMirrorSessions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TrafficMirrorSessions"},"DescribeTrafficMirrorTargets":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TrafficMirrorTargets"},"DescribeTransitGatewayAttachments":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayAttachments"},"DescribeTransitGatewayConnectPeers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayConnectPeers"},"DescribeTransitGatewayConnects":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayConnects"},"DescribeTransitGatewayMulticastDomains":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayMulticastDomains"},"DescribeTransitGatewayPeeringAttachments":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayPeeringAttachments"},"DescribeTransitGatewayRouteTables":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayRouteTables"},"DescribeTransitGatewayVpcAttachments":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayVpcAttachments"},"DescribeTransitGateways":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGateways"},"DescribeTrunkInterfaceAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InterfaceAssociations"},"DescribeVolumeStatus":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VolumeStatuses"},"DescribeVolumes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Volumes"},"DescribeVolumesModifications":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VolumesModifications"},"DescribeVpcClassicLinkDnsSupport":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Vpcs"},"DescribeVpcEndpointConnectionNotifications":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ConnectionNotificationSet"},"DescribeVpcEndpointConnections":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VpcEndpointConnections"},"DescribeVpcEndpointServiceConfigurations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"ServiceConfigurations"},"DescribeVpcEndpointServicePermissions":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"AllowedPrincipals"},"DescribeVpcEndpoints":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VpcEndpoints"},"DescribeVpcPeeringConnections":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VpcPeeringConnections"},"DescribeVpcs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Vpcs"},"DescribeVpnConnections":{"result_key":"VpnConnections"},"DescribeVpnGateways":{"result_key":"VpnGateways"},"GetAssociatedIpv6PoolCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Ipv6CidrAssociations"},"GetGroupsForCapacityReservation":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"CapacityReservationGroups"},"GetInstanceTypesFromInstanceRequirements":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"InstanceTypes"},"GetIpamAddressHistory":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"HistoryRecords"},"GetIpamPoolAllocations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamPoolAllocations"},"GetIpamPoolCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamPoolCidrs"},"GetIpamResourceCidrs":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"IpamResourceCidrs"},"GetManagedPrefixListAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PrefixListAssociations"},"GetManagedPrefixListEntries":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Entries"},"GetSpotPlacementScores":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"SpotPlacementScores"},"GetTransitGatewayAttachmentPropagations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayAttachmentPropagations"},"GetTransitGatewayMulticastDomainAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"MulticastDomainAssociations"},"GetTransitGatewayPrefixListReferences":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayPrefixListReferences"},"GetTransitGatewayRouteTableAssociations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Associations"},"GetTransitGatewayRouteTablePropagations":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"TransitGatewayRouteTablePropagations"},"GetVpnConnectionDeviceTypes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"VpnConnectionDeviceTypes"},"ListImagesInRecycleBin":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Images"},"ListSnapshotsInRecycleBin":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Snapshots"},"SearchLocalGatewayRoutes":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"Routes"},"SearchTransitGatewayMulticastGroups":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"MulticastGroups"}}} /***/ }), /* 196 */ @@ -34614,7 +34620,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 206 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-02-01","endpointPrefix":"elasticfilesystem","protocol":"rest-json","serviceAbbreviation":"EFS","serviceFullName":"Amazon Elastic File System","serviceId":"EFS","signatureVersion":"v4","uid":"elasticfilesystem-2015-02-01"},"operations":{"CreateAccessPoint":{"http":{"requestUri":"/2015-02-01/access-points","responseCode":200},"input":{"type":"structure","required":["ClientToken","FileSystemId"],"members":{"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S3"},"FileSystemId":{},"PosixUser":{"shape":"S8"},"RootDirectory":{"shape":"Sc"}}},"output":{"shape":"Si"}},"CreateFileSystem":{"http":{"requestUri":"/2015-02-01/file-systems","responseCode":201},"input":{"type":"structure","required":["CreationToken"],"members":{"CreationToken":{"idempotencyToken":true},"PerformanceMode":{},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"ThroughputMode":{},"ProvisionedThroughputInMibps":{"type":"double"},"AvailabilityZoneName":{},"Backup":{"type":"boolean"},"Tags":{"shape":"S3"}}},"output":{"shape":"Sx"}},"CreateMountTarget":{"http":{"requestUri":"/2015-02-01/mount-targets","responseCode":200},"input":{"type":"structure","required":["FileSystemId","SubnetId"],"members":{"FileSystemId":{},"SubnetId":{},"IpAddress":{},"SecurityGroups":{"shape":"S18"}}},"output":{"shape":"S1a"}},"CreateTags":{"http":{"requestUri":"/2015-02-01/create-tags/{FileSystemId}","responseCode":204},"input":{"type":"structure","required":["FileSystemId","Tags"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"Tags":{"shape":"S3"}}},"deprecated":true,"deprecatedMessage":"Use TagResource."},"DeleteAccessPoint":{"http":{"method":"DELETE","requestUri":"/2015-02-01/access-points/{AccessPointId}","responseCode":204},"input":{"type":"structure","required":["AccessPointId"],"members":{"AccessPointId":{"location":"uri","locationName":"AccessPointId"}}}},"DeleteFileSystem":{"http":{"method":"DELETE","requestUri":"/2015-02-01/file-systems/{FileSystemId}","responseCode":204},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}}},"DeleteFileSystemPolicy":{"http":{"method":"DELETE","requestUri":"/2015-02-01/file-systems/{FileSystemId}/policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}}},"DeleteMountTarget":{"http":{"method":"DELETE","requestUri":"/2015-02-01/mount-targets/{MountTargetId}","responseCode":204},"input":{"type":"structure","required":["MountTargetId"],"members":{"MountTargetId":{"location":"uri","locationName":"MountTargetId"}}}},"DeleteTags":{"http":{"requestUri":"/2015-02-01/delete-tags/{FileSystemId}","responseCode":204},"input":{"type":"structure","required":["FileSystemId","TagKeys"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"TagKeys":{"shape":"S1k"}}},"deprecated":true,"deprecatedMessage":"Use UntagResource."},"DescribeAccessPoints":{"http":{"method":"GET","requestUri":"/2015-02-01/access-points","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"},"AccessPointId":{"location":"querystring","locationName":"AccessPointId"},"FileSystemId":{"location":"querystring","locationName":"FileSystemId"}}},"output":{"type":"structure","members":{"AccessPoints":{"type":"list","member":{"shape":"Si"}},"NextToken":{}}}},"DescribeAccountPreferences":{"http":{"method":"GET","requestUri":"/2015-02-01/account-preferences","responseCode":200},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ResourceIdPreference":{"shape":"S1s"},"NextToken":{}}}},"DescribeBackupPolicy":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems/{FileSystemId}/backup-policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}},"output":{"shape":"S1x"}},"DescribeFileSystemPolicy":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems/{FileSystemId}/policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}},"output":{"shape":"S21"}},"DescribeFileSystems":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems","responseCode":200},"input":{"type":"structure","members":{"MaxItems":{"location":"querystring","locationName":"MaxItems","type":"integer"},"Marker":{"location":"querystring","locationName":"Marker"},"CreationToken":{"location":"querystring","locationName":"CreationToken"},"FileSystemId":{"location":"querystring","locationName":"FileSystemId"}}},"output":{"type":"structure","members":{"Marker":{},"FileSystems":{"type":"list","member":{"shape":"Sx"}},"NextMarker":{}}}},"DescribeLifecycleConfiguration":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}},"output":{"shape":"S29"}},"DescribeMountTargetSecurityGroups":{"http":{"method":"GET","requestUri":"/2015-02-01/mount-targets/{MountTargetId}/security-groups","responseCode":200},"input":{"type":"structure","required":["MountTargetId"],"members":{"MountTargetId":{"location":"uri","locationName":"MountTargetId"}}},"output":{"type":"structure","required":["SecurityGroups"],"members":{"SecurityGroups":{"shape":"S18"}}}},"DescribeMountTargets":{"http":{"method":"GET","requestUri":"/2015-02-01/mount-targets","responseCode":200},"input":{"type":"structure","members":{"MaxItems":{"location":"querystring","locationName":"MaxItems","type":"integer"},"Marker":{"location":"querystring","locationName":"Marker"},"FileSystemId":{"location":"querystring","locationName":"FileSystemId"},"MountTargetId":{"location":"querystring","locationName":"MountTargetId"},"AccessPointId":{"location":"querystring","locationName":"AccessPointId"}}},"output":{"type":"structure","members":{"Marker":{},"MountTargets":{"type":"list","member":{"shape":"S1a"}},"NextMarker":{}}}},"DescribeTags":{"http":{"method":"GET","requestUri":"/2015-02-01/tags/{FileSystemId}/","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"MaxItems":{"location":"querystring","locationName":"MaxItems","type":"integer"},"Marker":{"location":"querystring","locationName":"Marker"},"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}},"output":{"type":"structure","required":["Tags"],"members":{"Marker":{},"Tags":{"shape":"S3"},"NextMarker":{}}},"deprecated":true,"deprecatedMessage":"Use ListTagsForResource."},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2015-02-01/resource-tags/{ResourceId}","responseCode":200},"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{"location":"uri","locationName":"ResourceId"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S3"},"NextToken":{}}}},"ModifyMountTargetSecurityGroups":{"http":{"method":"PUT","requestUri":"/2015-02-01/mount-targets/{MountTargetId}/security-groups","responseCode":204},"input":{"type":"structure","required":["MountTargetId"],"members":{"MountTargetId":{"location":"uri","locationName":"MountTargetId"},"SecurityGroups":{"shape":"S18"}}}},"PutAccountPreferences":{"http":{"method":"PUT","requestUri":"/2015-02-01/account-preferences","responseCode":200},"input":{"type":"structure","required":["ResourceIdType"],"members":{"ResourceIdType":{}}},"output":{"type":"structure","members":{"ResourceIdPreference":{"shape":"S1s"}}}},"PutBackupPolicy":{"http":{"method":"PUT","requestUri":"/2015-02-01/file-systems/{FileSystemId}/backup-policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId","BackupPolicy"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"BackupPolicy":{"shape":"S1y"}}},"output":{"shape":"S1x"}},"PutFileSystemPolicy":{"http":{"method":"PUT","requestUri":"/2015-02-01/file-systems/{FileSystemId}/policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId","Policy"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"Policy":{},"BypassPolicyLockoutSafetyCheck":{"type":"boolean"}}},"output":{"shape":"S21"}},"PutLifecycleConfiguration":{"http":{"method":"PUT","requestUri":"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration","responseCode":200},"input":{"type":"structure","required":["FileSystemId","LifecyclePolicies"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"LifecyclePolicies":{"shape":"S2a"}}},"output":{"shape":"S29"}},"TagResource":{"http":{"requestUri":"/2015-02-01/resource-tags/{ResourceId}","responseCode":200},"input":{"type":"structure","required":["ResourceId","Tags"],"members":{"ResourceId":{"location":"uri","locationName":"ResourceId"},"Tags":{"shape":"S3"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/2015-02-01/resource-tags/{ResourceId}","responseCode":200},"input":{"type":"structure","required":["ResourceId","TagKeys"],"members":{"ResourceId":{"location":"uri","locationName":"ResourceId"},"TagKeys":{"shape":"S1k","location":"querystring","locationName":"tagKeys"}}}},"UpdateFileSystem":{"http":{"method":"PUT","requestUri":"/2015-02-01/file-systems/{FileSystemId}","responseCode":202},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"ThroughputMode":{},"ProvisionedThroughputInMibps":{"type":"double"}}},"output":{"shape":"Sx"}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S8":{"type":"structure","required":["Uid","Gid"],"members":{"Uid":{"type":"long"},"Gid":{"type":"long"},"SecondaryGids":{"type":"list","member":{"type":"long"}}}},"Sc":{"type":"structure","members":{"Path":{},"CreationInfo":{"type":"structure","required":["OwnerUid","OwnerGid","Permissions"],"members":{"OwnerUid":{"type":"long"},"OwnerGid":{"type":"long"},"Permissions":{}}}}},"Si":{"type":"structure","members":{"ClientToken":{},"Name":{},"Tags":{"shape":"S3"},"AccessPointId":{},"AccessPointArn":{},"FileSystemId":{},"PosixUser":{"shape":"S8"},"RootDirectory":{"shape":"Sc"},"OwnerId":{},"LifeCycleState":{}}},"Sx":{"type":"structure","required":["OwnerId","CreationToken","FileSystemId","CreationTime","LifeCycleState","NumberOfMountTargets","SizeInBytes","PerformanceMode","Tags"],"members":{"OwnerId":{},"CreationToken":{},"FileSystemId":{},"FileSystemArn":{},"CreationTime":{"type":"timestamp"},"LifeCycleState":{},"Name":{},"NumberOfMountTargets":{"type":"integer"},"SizeInBytes":{"type":"structure","required":["Value"],"members":{"Value":{"type":"long"},"Timestamp":{"type":"timestamp"},"ValueInIA":{"type":"long"},"ValueInStandard":{"type":"long"}}},"PerformanceMode":{},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"ThroughputMode":{},"ProvisionedThroughputInMibps":{"type":"double"},"AvailabilityZoneName":{},"AvailabilityZoneId":{},"Tags":{"shape":"S3"}}},"S18":{"type":"list","member":{}},"S1a":{"type":"structure","required":["MountTargetId","FileSystemId","SubnetId","LifeCycleState"],"members":{"OwnerId":{},"MountTargetId":{},"FileSystemId":{},"SubnetId":{},"LifeCycleState":{},"IpAddress":{},"NetworkInterfaceId":{},"AvailabilityZoneId":{},"AvailabilityZoneName":{},"VpcId":{}}},"S1k":{"type":"list","member":{}},"S1s":{"type":"structure","members":{"ResourceIdType":{},"Resources":{"type":"list","member":{}}}},"S1x":{"type":"structure","members":{"BackupPolicy":{"shape":"S1y"}}},"S1y":{"type":"structure","required":["Status"],"members":{"Status":{}}},"S21":{"type":"structure","members":{"FileSystemId":{},"Policy":{}}},"S29":{"type":"structure","members":{"LifecyclePolicies":{"shape":"S2a"}}},"S2a":{"type":"list","member":{"type":"structure","members":{"TransitionToIA":{},"TransitionToPrimaryStorageClass":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-02-01","endpointPrefix":"elasticfilesystem","protocol":"rest-json","serviceAbbreviation":"EFS","serviceFullName":"Amazon Elastic File System","serviceId":"EFS","signatureVersion":"v4","uid":"elasticfilesystem-2015-02-01"},"operations":{"CreateAccessPoint":{"http":{"requestUri":"/2015-02-01/access-points","responseCode":200},"input":{"type":"structure","required":["ClientToken","FileSystemId"],"members":{"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S3"},"FileSystemId":{},"PosixUser":{"shape":"S8"},"RootDirectory":{"shape":"Sc"}}},"output":{"shape":"Si"}},"CreateFileSystem":{"http":{"requestUri":"/2015-02-01/file-systems","responseCode":201},"input":{"type":"structure","required":["CreationToken"],"members":{"CreationToken":{"idempotencyToken":true},"PerformanceMode":{},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"ThroughputMode":{},"ProvisionedThroughputInMibps":{"type":"double"},"AvailabilityZoneName":{},"Backup":{"type":"boolean"},"Tags":{"shape":"S3"}}},"output":{"shape":"Sx"}},"CreateMountTarget":{"http":{"requestUri":"/2015-02-01/mount-targets","responseCode":200},"input":{"type":"structure","required":["FileSystemId","SubnetId"],"members":{"FileSystemId":{},"SubnetId":{},"IpAddress":{},"SecurityGroups":{"shape":"S18"}}},"output":{"shape":"S1a"}},"CreateReplicationConfiguration":{"http":{"requestUri":"/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration","responseCode":200},"input":{"type":"structure","required":["SourceFileSystemId","Destinations"],"members":{"SourceFileSystemId":{"location":"uri","locationName":"SourceFileSystemId"},"Destinations":{"type":"list","member":{"type":"structure","members":{"Region":{},"AvailabilityZoneName":{},"KmsKeyId":{}}}}}},"output":{"shape":"S1i"}},"CreateTags":{"http":{"requestUri":"/2015-02-01/create-tags/{FileSystemId}","responseCode":204},"input":{"type":"structure","required":["FileSystemId","Tags"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"Tags":{"shape":"S3"}}},"deprecated":true,"deprecatedMessage":"Use TagResource."},"DeleteAccessPoint":{"http":{"method":"DELETE","requestUri":"/2015-02-01/access-points/{AccessPointId}","responseCode":204},"input":{"type":"structure","required":["AccessPointId"],"members":{"AccessPointId":{"location":"uri","locationName":"AccessPointId"}}}},"DeleteFileSystem":{"http":{"method":"DELETE","requestUri":"/2015-02-01/file-systems/{FileSystemId}","responseCode":204},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}}},"DeleteFileSystemPolicy":{"http":{"method":"DELETE","requestUri":"/2015-02-01/file-systems/{FileSystemId}/policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}}},"DeleteMountTarget":{"http":{"method":"DELETE","requestUri":"/2015-02-01/mount-targets/{MountTargetId}","responseCode":204},"input":{"type":"structure","required":["MountTargetId"],"members":{"MountTargetId":{"location":"uri","locationName":"MountTargetId"}}}},"DeleteReplicationConfiguration":{"http":{"method":"DELETE","requestUri":"/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration","responseCode":204},"input":{"type":"structure","required":["SourceFileSystemId"],"members":{"SourceFileSystemId":{"location":"uri","locationName":"SourceFileSystemId"}}}},"DeleteTags":{"http":{"requestUri":"/2015-02-01/delete-tags/{FileSystemId}","responseCode":204},"input":{"type":"structure","required":["FileSystemId","TagKeys"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"TagKeys":{"shape":"S1t"}}},"deprecated":true,"deprecatedMessage":"Use UntagResource."},"DescribeAccessPoints":{"http":{"method":"GET","requestUri":"/2015-02-01/access-points","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"},"AccessPointId":{"location":"querystring","locationName":"AccessPointId"},"FileSystemId":{"location":"querystring","locationName":"FileSystemId"}}},"output":{"type":"structure","members":{"AccessPoints":{"type":"list","member":{"shape":"Si"}},"NextToken":{}}}},"DescribeAccountPreferences":{"http":{"method":"GET","requestUri":"/2015-02-01/account-preferences","responseCode":200},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ResourceIdPreference":{"shape":"S21"},"NextToken":{}}}},"DescribeBackupPolicy":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems/{FileSystemId}/backup-policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}},"output":{"shape":"S26"}},"DescribeFileSystemPolicy":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems/{FileSystemId}/policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}},"output":{"shape":"S2a"}},"DescribeFileSystems":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems","responseCode":200},"input":{"type":"structure","members":{"MaxItems":{"location":"querystring","locationName":"MaxItems","type":"integer"},"Marker":{"location":"querystring","locationName":"Marker"},"CreationToken":{"location":"querystring","locationName":"CreationToken"},"FileSystemId":{"location":"querystring","locationName":"FileSystemId"}}},"output":{"type":"structure","members":{"Marker":{},"FileSystems":{"type":"list","member":{"shape":"Sx"}},"NextMarker":{}}}},"DescribeLifecycleConfiguration":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}},"output":{"shape":"S2i"}},"DescribeMountTargetSecurityGroups":{"http":{"method":"GET","requestUri":"/2015-02-01/mount-targets/{MountTargetId}/security-groups","responseCode":200},"input":{"type":"structure","required":["MountTargetId"],"members":{"MountTargetId":{"location":"uri","locationName":"MountTargetId"}}},"output":{"type":"structure","required":["SecurityGroups"],"members":{"SecurityGroups":{"shape":"S18"}}}},"DescribeMountTargets":{"http":{"method":"GET","requestUri":"/2015-02-01/mount-targets","responseCode":200},"input":{"type":"structure","members":{"MaxItems":{"location":"querystring","locationName":"MaxItems","type":"integer"},"Marker":{"location":"querystring","locationName":"Marker"},"FileSystemId":{"location":"querystring","locationName":"FileSystemId"},"MountTargetId":{"location":"querystring","locationName":"MountTargetId"},"AccessPointId":{"location":"querystring","locationName":"AccessPointId"}}},"output":{"type":"structure","members":{"Marker":{},"MountTargets":{"type":"list","member":{"shape":"S1a"}},"NextMarker":{}}}},"DescribeReplicationConfigurations":{"http":{"method":"GET","requestUri":"/2015-02-01/file-systems/replication-configurations","responseCode":200},"input":{"type":"structure","members":{"FileSystemId":{"location":"querystring","locationName":"FileSystemId"},"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Replications":{"type":"list","member":{"shape":"S1i"}},"NextToken":{}}}},"DescribeTags":{"http":{"method":"GET","requestUri":"/2015-02-01/tags/{FileSystemId}/","responseCode":200},"input":{"type":"structure","required":["FileSystemId"],"members":{"MaxItems":{"location":"querystring","locationName":"MaxItems","type":"integer"},"Marker":{"location":"querystring","locationName":"Marker"},"FileSystemId":{"location":"uri","locationName":"FileSystemId"}}},"output":{"type":"structure","required":["Tags"],"members":{"Marker":{},"Tags":{"shape":"S3"},"NextMarker":{}}},"deprecated":true,"deprecatedMessage":"Use ListTagsForResource."},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2015-02-01/resource-tags/{ResourceId}","responseCode":200},"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{"location":"uri","locationName":"ResourceId"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S3"},"NextToken":{}}}},"ModifyMountTargetSecurityGroups":{"http":{"method":"PUT","requestUri":"/2015-02-01/mount-targets/{MountTargetId}/security-groups","responseCode":204},"input":{"type":"structure","required":["MountTargetId"],"members":{"MountTargetId":{"location":"uri","locationName":"MountTargetId"},"SecurityGroups":{"shape":"S18"}}}},"PutAccountPreferences":{"http":{"method":"PUT","requestUri":"/2015-02-01/account-preferences","responseCode":200},"input":{"type":"structure","required":["ResourceIdType"],"members":{"ResourceIdType":{}}},"output":{"type":"structure","members":{"ResourceIdPreference":{"shape":"S21"}}}},"PutBackupPolicy":{"http":{"method":"PUT","requestUri":"/2015-02-01/file-systems/{FileSystemId}/backup-policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId","BackupPolicy"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"BackupPolicy":{"shape":"S27"}}},"output":{"shape":"S26"}},"PutFileSystemPolicy":{"http":{"method":"PUT","requestUri":"/2015-02-01/file-systems/{FileSystemId}/policy","responseCode":200},"input":{"type":"structure","required":["FileSystemId","Policy"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"Policy":{},"BypassPolicyLockoutSafetyCheck":{"type":"boolean"}}},"output":{"shape":"S2a"}},"PutLifecycleConfiguration":{"http":{"method":"PUT","requestUri":"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration","responseCode":200},"input":{"type":"structure","required":["FileSystemId","LifecyclePolicies"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"LifecyclePolicies":{"shape":"S2j"}}},"output":{"shape":"S2i"}},"TagResource":{"http":{"requestUri":"/2015-02-01/resource-tags/{ResourceId}","responseCode":200},"input":{"type":"structure","required":["ResourceId","Tags"],"members":{"ResourceId":{"location":"uri","locationName":"ResourceId"},"Tags":{"shape":"S3"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/2015-02-01/resource-tags/{ResourceId}","responseCode":200},"input":{"type":"structure","required":["ResourceId","TagKeys"],"members":{"ResourceId":{"location":"uri","locationName":"ResourceId"},"TagKeys":{"shape":"S1t","location":"querystring","locationName":"tagKeys"}}}},"UpdateFileSystem":{"http":{"method":"PUT","requestUri":"/2015-02-01/file-systems/{FileSystemId}","responseCode":202},"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{"location":"uri","locationName":"FileSystemId"},"ThroughputMode":{},"ProvisionedThroughputInMibps":{"type":"double"}}},"output":{"shape":"Sx"}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S8":{"type":"structure","required":["Uid","Gid"],"members":{"Uid":{"type":"long"},"Gid":{"type":"long"},"SecondaryGids":{"type":"list","member":{"type":"long"}}}},"Sc":{"type":"structure","members":{"Path":{},"CreationInfo":{"type":"structure","required":["OwnerUid","OwnerGid","Permissions"],"members":{"OwnerUid":{"type":"long"},"OwnerGid":{"type":"long"},"Permissions":{}}}}},"Si":{"type":"structure","members":{"ClientToken":{},"Name":{},"Tags":{"shape":"S3"},"AccessPointId":{},"AccessPointArn":{},"FileSystemId":{},"PosixUser":{"shape":"S8"},"RootDirectory":{"shape":"Sc"},"OwnerId":{},"LifeCycleState":{}}},"Sx":{"type":"structure","required":["OwnerId","CreationToken","FileSystemId","CreationTime","LifeCycleState","NumberOfMountTargets","SizeInBytes","PerformanceMode","Tags"],"members":{"OwnerId":{},"CreationToken":{},"FileSystemId":{},"FileSystemArn":{},"CreationTime":{"type":"timestamp"},"LifeCycleState":{},"Name":{},"NumberOfMountTargets":{"type":"integer"},"SizeInBytes":{"type":"structure","required":["Value"],"members":{"Value":{"type":"long"},"Timestamp":{"type":"timestamp"},"ValueInIA":{"type":"long"},"ValueInStandard":{"type":"long"}}},"PerformanceMode":{},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"ThroughputMode":{},"ProvisionedThroughputInMibps":{"type":"double"},"AvailabilityZoneName":{},"AvailabilityZoneId":{},"Tags":{"shape":"S3"}}},"S18":{"type":"list","member":{}},"S1a":{"type":"structure","required":["MountTargetId","FileSystemId","SubnetId","LifeCycleState"],"members":{"OwnerId":{},"MountTargetId":{},"FileSystemId":{},"SubnetId":{},"LifeCycleState":{},"IpAddress":{},"NetworkInterfaceId":{},"AvailabilityZoneId":{},"AvailabilityZoneName":{},"VpcId":{}}},"S1i":{"type":"structure","required":["SourceFileSystemId","SourceFileSystemRegion","SourceFileSystemArn","OriginalSourceFileSystemArn","CreationTime","Destinations"],"members":{"SourceFileSystemId":{},"SourceFileSystemRegion":{},"SourceFileSystemArn":{},"OriginalSourceFileSystemArn":{},"CreationTime":{"type":"timestamp"},"Destinations":{"type":"list","member":{"type":"structure","required":["Status","FileSystemId","Region"],"members":{"Status":{},"FileSystemId":{},"Region":{},"LastReplicatedTimestamp":{"type":"timestamp"}}}}}},"S1t":{"type":"list","member":{}},"S21":{"type":"structure","members":{"ResourceIdType":{},"Resources":{"type":"list","member":{}}}},"S26":{"type":"structure","members":{"BackupPolicy":{"shape":"S27"}}},"S27":{"type":"structure","required":["Status"],"members":{"Status":{}}},"S2a":{"type":"structure","members":{"FileSystemId":{},"Policy":{}}},"S2i":{"type":"structure","members":{"LifecyclePolicies":{"shape":"S2j"}}},"S2j":{"type":"list","member":{"type":"structure","members":{"TransitionToIA":{},"TransitionToPrimaryStorageClass":{}}}}}} /***/ }), /* 207 */ @@ -34865,7 +34871,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 229 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-01-01","endpointPrefix":"es","protocol":"rest-json","serviceFullName":"Amazon Elasticsearch Service","serviceId":"Elasticsearch Service","signatureVersion":"v4","uid":"es-2015-01-01"},"operations":{"AcceptInboundCrossClusterSearchConnection":{"http":{"method":"PUT","requestUri":"/2015-01-01/es/ccs/inboundConnection/{ConnectionId}/accept"},"input":{"type":"structure","required":["CrossClusterSearchConnectionId"],"members":{"CrossClusterSearchConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"CrossClusterSearchConnection":{"shape":"S4"}}}},"AddTags":{"http":{"requestUri":"/2015-01-01/tags"},"input":{"type":"structure","required":["ARN","TagList"],"members":{"ARN":{},"TagList":{"shape":"Se"}}}},"AssociatePackage":{"http":{"requestUri":"/2015-01-01/packages/associate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sl"}}}},"CancelElasticsearchServiceSoftwareUpdate":{"http":{"requestUri":"/2015-01-01/es/serviceSoftwareUpdate/cancel"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"Sx"}}}},"CreateElasticsearchDomain":{"http":{"requestUri":"/2015-01-01/es/domain"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"ElasticsearchVersion":{},"ElasticsearchClusterConfig":{"shape":"S14"},"EBSOptions":{"shape":"S1a"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1d"},"VPCOptions":{"shape":"S1e"},"CognitoOptions":{"shape":"S1g"},"EncryptionAtRestOptions":{"shape":"S1k"},"NodeToNodeEncryptionOptions":{"shape":"S1m"},"AdvancedOptions":{"shape":"S1n"},"LogPublishingOptions":{"shape":"S1o"},"DomainEndpointOptions":{"shape":"S1s"},"AdvancedSecurityOptions":{"shape":"S1v"},"AutoTuneOptions":{"type":"structure","members":{"DesiredState":{},"MaintenanceSchedules":{"shape":"S26"}}},"TagList":{"shape":"Se"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2d"}}}},"CreateOutboundCrossClusterSearchConnection":{"http":{"requestUri":"/2015-01-01/es/ccs/outboundConnection"},"input":{"type":"structure","required":["SourceDomainInfo","DestinationDomainInfo","ConnectionAlias"],"members":{"SourceDomainInfo":{"shape":"S5"},"DestinationDomainInfo":{"shape":"S5"},"ConnectionAlias":{}}},"output":{"type":"structure","members":{"SourceDomainInfo":{"shape":"S5"},"DestinationDomainInfo":{"shape":"S5"},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S2p"},"CrossClusterSearchConnectionId":{}}}},"CreatePackage":{"http":{"requestUri":"/2015-01-01/packages"},"input":{"type":"structure","required":["PackageName","PackageType","PackageSource"],"members":{"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageSource":{"shape":"S2t"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S2x"}}}},"DeleteElasticsearchDomain":{"http":{"method":"DELETE","requestUri":"/2015-01-01/es/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2d"}}}},"DeleteElasticsearchServiceRole":{"http":{"method":"DELETE","requestUri":"/2015-01-01/es/role"}},"DeleteInboundCrossClusterSearchConnection":{"http":{"method":"DELETE","requestUri":"/2015-01-01/es/ccs/inboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["CrossClusterSearchConnectionId"],"members":{"CrossClusterSearchConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"CrossClusterSearchConnection":{"shape":"S4"}}}},"DeleteOutboundCrossClusterSearchConnection":{"http":{"method":"DELETE","requestUri":"/2015-01-01/es/ccs/outboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["CrossClusterSearchConnectionId"],"members":{"CrossClusterSearchConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"CrossClusterSearchConnection":{"shape":"S36"}}}},"DeletePackage":{"http":{"method":"DELETE","requestUri":"/2015-01-01/packages/{PackageID}"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S2x"}}}},"DescribeDomainAutoTunes":{"http":{"method":"GET","requestUri":"/2015-01-01/es/domain/{DomainName}/autoTunes"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AutoTunes":{"type":"list","member":{"type":"structure","members":{"AutoTuneType":{},"AutoTuneDetails":{"type":"structure","members":{"ScheduledAutoTuneDetails":{"type":"structure","members":{"Date":{"type":"timestamp"},"ActionType":{},"Action":{},"Severity":{}}}}}}}},"NextToken":{}}}},"DescribeElasticsearchDomain":{"http":{"method":"GET","requestUri":"/2015-01-01/es/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainStatus"],"members":{"DomainStatus":{"shape":"S2d"}}}},"DescribeElasticsearchDomainConfig":{"http":{"method":"GET","requestUri":"/2015-01-01/es/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S3q"}}}},"DescribeElasticsearchDomains":{"http":{"requestUri":"/2015-01-01/es/domain-info"},"input":{"type":"structure","required":["DomainNames"],"members":{"DomainNames":{"type":"list","member":{}}}},"output":{"type":"structure","required":["DomainStatusList"],"members":{"DomainStatusList":{"type":"list","member":{"shape":"S2d"}}}}},"DescribeElasticsearchInstanceTypeLimits":{"http":{"method":"GET","requestUri":"/2015-01-01/es/instanceTypeLimits/{ElasticsearchVersion}/{InstanceType}"},"input":{"type":"structure","required":["InstanceType","ElasticsearchVersion"],"members":{"DomainName":{"location":"querystring","locationName":"domainName"},"InstanceType":{"location":"uri","locationName":"InstanceType"},"ElasticsearchVersion":{"location":"uri","locationName":"ElasticsearchVersion"}}},"output":{"type":"structure","members":{"LimitsByRole":{"type":"map","key":{},"value":{"type":"structure","members":{"StorageTypes":{"type":"list","member":{"type":"structure","members":{"StorageTypeName":{},"StorageSubTypeName":{},"StorageTypeLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S4s"}}}}}}},"InstanceLimits":{"type":"structure","members":{"InstanceCountLimits":{"type":"structure","members":{"MinimumInstanceCount":{"type":"integer"},"MaximumInstanceCount":{"type":"integer"}}}}},"AdditionalLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S4s"}}}}}}}}}},"DescribeInboundCrossClusterSearchConnections":{"http":{"requestUri":"/2015-01-01/es/ccs/inboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S51"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"CrossClusterSearchConnections":{"type":"list","member":{"shape":"S4"}},"NextToken":{}}}},"DescribeOutboundCrossClusterSearchConnections":{"http":{"requestUri":"/2015-01-01/es/ccs/outboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S51"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"CrossClusterSearchConnections":{"type":"list","member":{"shape":"S36"}},"NextToken":{}}}},"DescribePackages":{"http":{"requestUri":"/2015-01-01/packages/describe"},"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PackageDetailsList":{"type":"list","member":{"shape":"S2x"}},"NextToken":{}}}},"DescribeReservedElasticsearchInstanceOfferings":{"http":{"method":"GET","requestUri":"/2015-01-01/es/reservedInstanceOfferings"},"input":{"type":"structure","members":{"ReservedElasticsearchInstanceOfferingId":{"location":"querystring","locationName":"offeringId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedElasticsearchInstanceOfferings":{"type":"list","member":{"type":"structure","members":{"ReservedElasticsearchInstanceOfferingId":{},"ElasticsearchInstanceType":{},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"PaymentOption":{},"RecurringCharges":{"shape":"S5q"}}}}}}},"DescribeReservedElasticsearchInstances":{"http":{"method":"GET","requestUri":"/2015-01-01/es/reservedInstances"},"input":{"type":"structure","members":{"ReservedElasticsearchInstanceId":{"location":"querystring","locationName":"reservationId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedElasticsearchInstances":{"type":"list","member":{"type":"structure","members":{"ReservationName":{},"ReservedElasticsearchInstanceId":{},"ReservedElasticsearchInstanceOfferingId":{},"ElasticsearchInstanceType":{},"StartTime":{"type":"timestamp"},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"ElasticsearchInstanceCount":{"type":"integer"},"State":{},"PaymentOption":{},"RecurringCharges":{"shape":"S5q"}}}}}}},"DissociatePackage":{"http":{"requestUri":"/2015-01-01/packages/dissociate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sl"}}}},"GetCompatibleElasticsearchVersions":{"http":{"method":"GET","requestUri":"/2015-01-01/es/compatibleVersions"},"input":{"type":"structure","members":{"DomainName":{"location":"querystring","locationName":"domainName"}}},"output":{"type":"structure","members":{"CompatibleElasticsearchVersions":{"type":"list","member":{"type":"structure","members":{"SourceVersion":{},"TargetVersions":{"shape":"S63"}}}}}}},"GetPackageVersionHistory":{"http":{"method":"GET","requestUri":"/2015-01-01/packages/{PackageID}/history"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"PackageID":{},"PackageVersionHistoryList":{"type":"list","member":{"type":"structure","members":{"PackageVersion":{},"CommitMessage":{},"CreatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"GetUpgradeHistory":{"http":{"method":"GET","requestUri":"/2015-01-01/es/upgradeDomain/{DomainName}/history"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"UpgradeHistories":{"type":"list","member":{"type":"structure","members":{"UpgradeName":{},"StartTimestamp":{"type":"timestamp"},"UpgradeStatus":{},"StepsList":{"type":"list","member":{"type":"structure","members":{"UpgradeStep":{},"UpgradeStepStatus":{},"Issues":{"type":"list","member":{}},"ProgressPercent":{"type":"double"}}}}}}},"NextToken":{}}}},"GetUpgradeStatus":{"http":{"method":"GET","requestUri":"/2015-01-01/es/upgradeDomain/{DomainName}/status"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"UpgradeStep":{},"StepStatus":{},"UpgradeName":{}}}},"ListDomainNames":{"http":{"method":"GET","requestUri":"/2015-01-01/domain"},"input":{"type":"structure","members":{"EngineType":{"location":"querystring","locationName":"engineType"}}},"output":{"type":"structure","members":{"DomainNames":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"EngineType":{}}}}}}},"ListDomainsForPackage":{"http":{"method":"GET","requestUri":"/2015-01-01/packages/{PackageID}/domains"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S6u"},"NextToken":{}}}},"ListElasticsearchInstanceTypes":{"http":{"method":"GET","requestUri":"/2015-01-01/es/instanceTypes/{ElasticsearchVersion}"},"input":{"type":"structure","required":["ElasticsearchVersion"],"members":{"ElasticsearchVersion":{"location":"uri","locationName":"ElasticsearchVersion"},"DomainName":{"location":"querystring","locationName":"domainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ElasticsearchInstanceTypes":{"type":"list","member":{}},"NextToken":{}}}},"ListElasticsearchVersions":{"http":{"method":"GET","requestUri":"/2015-01-01/es/versions"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ElasticsearchVersions":{"shape":"S63"},"NextToken":{}}}},"ListPackagesForDomain":{"http":{"method":"GET","requestUri":"/2015-01-01/domain/{DomainName}/packages"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S6u"},"NextToken":{}}}},"ListTags":{"http":{"method":"GET","requestUri":"/2015-01-01/tags/"},"input":{"type":"structure","required":["ARN"],"members":{"ARN":{"location":"querystring","locationName":"arn"}}},"output":{"type":"structure","members":{"TagList":{"shape":"Se"}}}},"PurchaseReservedElasticsearchInstanceOffering":{"http":{"requestUri":"/2015-01-01/es/purchaseReservedInstanceOffering"},"input":{"type":"structure","required":["ReservedElasticsearchInstanceOfferingId","ReservationName"],"members":{"ReservedElasticsearchInstanceOfferingId":{},"ReservationName":{},"InstanceCount":{"type":"integer"}}},"output":{"type":"structure","members":{"ReservedElasticsearchInstanceId":{},"ReservationName":{}}}},"RejectInboundCrossClusterSearchConnection":{"http":{"method":"PUT","requestUri":"/2015-01-01/es/ccs/inboundConnection/{ConnectionId}/reject"},"input":{"type":"structure","required":["CrossClusterSearchConnectionId"],"members":{"CrossClusterSearchConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"CrossClusterSearchConnection":{"shape":"S4"}}}},"RemoveTags":{"http":{"requestUri":"/2015-01-01/tags-removal"},"input":{"type":"structure","required":["ARN","TagKeys"],"members":{"ARN":{},"TagKeys":{"shape":"S1f"}}}},"StartElasticsearchServiceSoftwareUpdate":{"http":{"requestUri":"/2015-01-01/es/serviceSoftwareUpdate/start"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"Sx"}}}},"UpdateElasticsearchDomainConfig":{"http":{"requestUri":"/2015-01-01/es/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ElasticsearchClusterConfig":{"shape":"S14"},"EBSOptions":{"shape":"S1a"},"SnapshotOptions":{"shape":"S1d"},"VPCOptions":{"shape":"S1e"},"CognitoOptions":{"shape":"S1g"},"AdvancedOptions":{"shape":"S1n"},"AccessPolicies":{},"LogPublishingOptions":{"shape":"S1o"},"DomainEndpointOptions":{"shape":"S1s"},"AdvancedSecurityOptions":{"shape":"S1v"},"NodeToNodeEncryptionOptions":{"shape":"S1m"},"EncryptionAtRestOptions":{"shape":"S1k"},"AutoTuneOptions":{"shape":"S49"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S3q"},"DryRunResults":{"type":"structure","members":{"DeploymentType":{},"Message":{}}}}}},"UpdatePackage":{"http":{"requestUri":"/2015-01-01/packages/update"},"input":{"type":"structure","required":["PackageID","PackageSource"],"members":{"PackageID":{},"PackageSource":{"shape":"S2t"},"PackageDescription":{},"CommitMessage":{}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S2x"}}}},"UpgradeElasticsearchDomain":{"http":{"requestUri":"/2015-01-01/es/upgradeDomain"},"input":{"type":"structure","required":["DomainName","TargetVersion"],"members":{"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"}}},"output":{"type":"structure","members":{"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"}}}}},"shapes":{"S4":{"type":"structure","members":{"SourceDomainInfo":{"shape":"S5"},"DestinationDomainInfo":{"shape":"S5"},"CrossClusterSearchConnectionId":{},"ConnectionStatus":{"type":"structure","members":{"StatusCode":{},"Message":{}}}}},"S5":{"type":"structure","required":["DomainName"],"members":{"OwnerId":{},"DomainName":{},"Region":{}}},"Se":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sl":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"LastUpdated":{"type":"timestamp"},"DomainName":{},"DomainPackageStatus":{},"PackageVersion":{},"ReferencePath":{},"ErrorDetails":{"shape":"Ss"}}},"Ss":{"type":"structure","members":{"ErrorType":{},"ErrorMessage":{}}},"Sx":{"type":"structure","members":{"CurrentVersion":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"Cancellable":{"type":"boolean"},"UpdateStatus":{},"Description":{},"AutomatedUpdateDate":{"type":"timestamp"},"OptionalDeployment":{"type":"boolean"}}},"S14":{"type":"structure","members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"ZoneAwarenessEnabled":{"type":"boolean"},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"DedicatedMasterType":{},"DedicatedMasterCount":{"type":"integer"},"WarmEnabled":{"type":"boolean"},"WarmType":{},"WarmCount":{"type":"integer"},"ColdStorageOptions":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"}}}}},"S1a":{"type":"structure","members":{"EBSEnabled":{"type":"boolean"},"VolumeType":{},"VolumeSize":{"type":"integer"},"Iops":{"type":"integer"}}},"S1d":{"type":"structure","members":{"AutomatedSnapshotStartHour":{"type":"integer"}}},"S1e":{"type":"structure","members":{"SubnetIds":{"shape":"S1f"},"SecurityGroupIds":{"shape":"S1f"}}},"S1f":{"type":"list","member":{}},"S1g":{"type":"structure","members":{"Enabled":{"type":"boolean"},"UserPoolId":{},"IdentityPoolId":{},"RoleArn":{}}},"S1k":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"S1m":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"S1n":{"type":"map","key":{},"value":{}},"S1o":{"type":"map","key":{},"value":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}}},"S1s":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{},"CustomEndpointEnabled":{"type":"boolean"},"CustomEndpoint":{},"CustomEndpointCertificateArn":{}}},"S1v":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"MasterUserOptions":{"type":"structure","members":{"MasterUserARN":{},"MasterUserName":{"shape":"S1x"},"MasterUserPassword":{"type":"string","sensitive":true}}},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S20"},"MasterUserName":{"shape":"S1x"},"MasterBackendRole":{},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}}}},"S1x":{"type":"string","sensitive":true},"S20":{"type":"structure","required":["MetadataContent","EntityId"],"members":{"MetadataContent":{},"EntityId":{}}},"S26":{"type":"list","member":{"type":"structure","members":{"StartAt":{"type":"timestamp"},"Duration":{"type":"structure","members":{"Value":{"type":"long"},"Unit":{}}},"CronExpressionForRecurrence":{}}}},"S2d":{"type":"structure","required":["DomainId","DomainName","ARN","ElasticsearchClusterConfig"],"members":{"DomainId":{},"DomainName":{},"ARN":{},"Created":{"type":"boolean"},"Deleted":{"type":"boolean"},"Endpoint":{},"Endpoints":{"type":"map","key":{},"value":{}},"Processing":{"type":"boolean"},"UpgradeProcessing":{"type":"boolean"},"ElasticsearchVersion":{},"ElasticsearchClusterConfig":{"shape":"S14"},"EBSOptions":{"shape":"S1a"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1d"},"VPCOptions":{"shape":"S2h"},"CognitoOptions":{"shape":"S1g"},"EncryptionAtRestOptions":{"shape":"S1k"},"NodeToNodeEncryptionOptions":{"shape":"S1m"},"AdvancedOptions":{"shape":"S1n"},"LogPublishingOptions":{"shape":"S1o"},"ServiceSoftwareOptions":{"shape":"Sx"},"DomainEndpointOptions":{"shape":"S1s"},"AdvancedSecurityOptions":{"shape":"S2i"},"AutoTuneOptions":{"type":"structure","members":{"State":{},"ErrorMessage":{}}}}},"S2h":{"type":"structure","members":{"VPCId":{},"SubnetIds":{"shape":"S1f"},"AvailabilityZones":{"shape":"S1f"},"SecurityGroupIds":{"shape":"S1f"}}},"S2i":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S20"},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}}}},"S2p":{"type":"structure","members":{"StatusCode":{},"Message":{}}},"S2t":{"type":"structure","members":{"S3BucketName":{},"S3Key":{}}},"S2x":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageStatus":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"AvailablePackageVersion":{},"ErrorDetails":{"shape":"Ss"}}},"S36":{"type":"structure","members":{"SourceDomainInfo":{"shape":"S5"},"DestinationDomainInfo":{"shape":"S5"},"CrossClusterSearchConnectionId":{},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S2p"}}},"S3q":{"type":"structure","members":{"ElasticsearchVersion":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S3s"}}},"ElasticsearchClusterConfig":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S14"},"Status":{"shape":"S3s"}}},"EBSOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1a"},"Status":{"shape":"S3s"}}},"AccessPolicies":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S3s"}}},"SnapshotOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1d"},"Status":{"shape":"S3s"}}},"VPCOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2h"},"Status":{"shape":"S3s"}}},"CognitoOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1g"},"Status":{"shape":"S3s"}}},"EncryptionAtRestOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1k"},"Status":{"shape":"S3s"}}},"NodeToNodeEncryptionOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1m"},"Status":{"shape":"S3s"}}},"AdvancedOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1n"},"Status":{"shape":"S3s"}}},"LogPublishingOptions":{"type":"structure","members":{"Options":{"shape":"S1o"},"Status":{"shape":"S3s"}}},"DomainEndpointOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1s"},"Status":{"shape":"S3s"}}},"AdvancedSecurityOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2i"},"Status":{"shape":"S3s"}}},"AutoTuneOptions":{"type":"structure","members":{"Options":{"shape":"S49"},"Status":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"ErrorMessage":{},"PendingDeletion":{"type":"boolean"}}}}}}},"S3s":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"PendingDeletion":{"type":"boolean"}}},"S49":{"type":"structure","members":{"DesiredState":{},"RollbackOnDisable":{},"MaintenanceSchedules":{"shape":"S26"}}},"S4s":{"type":"list","member":{}},"S51":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S5q":{"type":"list","member":{"type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}}}},"S63":{"type":"list","member":{}},"S6u":{"type":"list","member":{"shape":"Sl"}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-01-01","endpointPrefix":"es","protocol":"rest-json","serviceFullName":"Amazon Elasticsearch Service","serviceId":"Elasticsearch Service","signatureVersion":"v4","uid":"es-2015-01-01"},"operations":{"AcceptInboundCrossClusterSearchConnection":{"http":{"method":"PUT","requestUri":"/2015-01-01/es/ccs/inboundConnection/{ConnectionId}/accept"},"input":{"type":"structure","required":["CrossClusterSearchConnectionId"],"members":{"CrossClusterSearchConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"CrossClusterSearchConnection":{"shape":"S4"}}}},"AddTags":{"http":{"requestUri":"/2015-01-01/tags"},"input":{"type":"structure","required":["ARN","TagList"],"members":{"ARN":{},"TagList":{"shape":"Se"}}}},"AssociatePackage":{"http":{"requestUri":"/2015-01-01/packages/associate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sl"}}}},"CancelElasticsearchServiceSoftwareUpdate":{"http":{"requestUri":"/2015-01-01/es/serviceSoftwareUpdate/cancel"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"Sx"}}}},"CreateElasticsearchDomain":{"http":{"requestUri":"/2015-01-01/es/domain"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"ElasticsearchVersion":{},"ElasticsearchClusterConfig":{"shape":"S14"},"EBSOptions":{"shape":"S1a"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1d"},"VPCOptions":{"shape":"S1e"},"CognitoOptions":{"shape":"S1g"},"EncryptionAtRestOptions":{"shape":"S1k"},"NodeToNodeEncryptionOptions":{"shape":"S1m"},"AdvancedOptions":{"shape":"S1n"},"LogPublishingOptions":{"shape":"S1o"},"DomainEndpointOptions":{"shape":"S1s"},"AdvancedSecurityOptions":{"shape":"S1v"},"AutoTuneOptions":{"type":"structure","members":{"DesiredState":{},"MaintenanceSchedules":{"shape":"S26"}}},"TagList":{"shape":"Se"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2d"}}}},"CreateOutboundCrossClusterSearchConnection":{"http":{"requestUri":"/2015-01-01/es/ccs/outboundConnection"},"input":{"type":"structure","required":["SourceDomainInfo","DestinationDomainInfo","ConnectionAlias"],"members":{"SourceDomainInfo":{"shape":"S5"},"DestinationDomainInfo":{"shape":"S5"},"ConnectionAlias":{}}},"output":{"type":"structure","members":{"SourceDomainInfo":{"shape":"S5"},"DestinationDomainInfo":{"shape":"S5"},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S2t"},"CrossClusterSearchConnectionId":{}}}},"CreatePackage":{"http":{"requestUri":"/2015-01-01/packages"},"input":{"type":"structure","required":["PackageName","PackageType","PackageSource"],"members":{"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageSource":{"shape":"S2x"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S31"}}}},"DeleteElasticsearchDomain":{"http":{"method":"DELETE","requestUri":"/2015-01-01/es/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2d"}}}},"DeleteElasticsearchServiceRole":{"http":{"method":"DELETE","requestUri":"/2015-01-01/es/role"}},"DeleteInboundCrossClusterSearchConnection":{"http":{"method":"DELETE","requestUri":"/2015-01-01/es/ccs/inboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["CrossClusterSearchConnectionId"],"members":{"CrossClusterSearchConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"CrossClusterSearchConnection":{"shape":"S4"}}}},"DeleteOutboundCrossClusterSearchConnection":{"http":{"method":"DELETE","requestUri":"/2015-01-01/es/ccs/outboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["CrossClusterSearchConnectionId"],"members":{"CrossClusterSearchConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"CrossClusterSearchConnection":{"shape":"S3a"}}}},"DeletePackage":{"http":{"method":"DELETE","requestUri":"/2015-01-01/packages/{PackageID}"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S31"}}}},"DescribeDomainAutoTunes":{"http":{"method":"GET","requestUri":"/2015-01-01/es/domain/{DomainName}/autoTunes"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AutoTunes":{"type":"list","member":{"type":"structure","members":{"AutoTuneType":{},"AutoTuneDetails":{"type":"structure","members":{"ScheduledAutoTuneDetails":{"type":"structure","members":{"Date":{"type":"timestamp"},"ActionType":{},"Action":{},"Severity":{}}}}}}}},"NextToken":{}}}},"DescribeDomainChangeProgress":{"http":{"method":"GET","requestUri":"/2015-01-01/es/domain/{DomainName}/progress"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ChangeId":{"location":"querystring","locationName":"changeid"}}},"output":{"type":"structure","members":{"ChangeProgressStatus":{"type":"structure","members":{"ChangeId":{},"StartTime":{"type":"timestamp"},"Status":{},"PendingProperties":{"shape":"S1f"},"CompletedProperties":{"shape":"S1f"},"TotalNumberOfStages":{"type":"integer"},"ChangeProgressStages":{"type":"list","member":{"type":"structure","members":{"Name":{},"Status":{},"Description":{},"LastUpdated":{"type":"timestamp"}}}}}}}}},"DescribeElasticsearchDomain":{"http":{"method":"GET","requestUri":"/2015-01-01/es/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainStatus"],"members":{"DomainStatus":{"shape":"S2d"}}}},"DescribeElasticsearchDomainConfig":{"http":{"method":"GET","requestUri":"/2015-01-01/es/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S45"}}}},"DescribeElasticsearchDomains":{"http":{"requestUri":"/2015-01-01/es/domain-info"},"input":{"type":"structure","required":["DomainNames"],"members":{"DomainNames":{"type":"list","member":{}}}},"output":{"type":"structure","required":["DomainStatusList"],"members":{"DomainStatusList":{"type":"list","member":{"shape":"S2d"}}}}},"DescribeElasticsearchInstanceTypeLimits":{"http":{"method":"GET","requestUri":"/2015-01-01/es/instanceTypeLimits/{ElasticsearchVersion}/{InstanceType}"},"input":{"type":"structure","required":["InstanceType","ElasticsearchVersion"],"members":{"DomainName":{"location":"querystring","locationName":"domainName"},"InstanceType":{"location":"uri","locationName":"InstanceType"},"ElasticsearchVersion":{"location":"uri","locationName":"ElasticsearchVersion"}}},"output":{"type":"structure","members":{"LimitsByRole":{"type":"map","key":{},"value":{"type":"structure","members":{"StorageTypes":{"type":"list","member":{"type":"structure","members":{"StorageTypeName":{},"StorageSubTypeName":{},"StorageTypeLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S56"}}}}}}},"InstanceLimits":{"type":"structure","members":{"InstanceCountLimits":{"type":"structure","members":{"MinimumInstanceCount":{"type":"integer"},"MaximumInstanceCount":{"type":"integer"}}}}},"AdditionalLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S56"}}}}}}}}}},"DescribeInboundCrossClusterSearchConnections":{"http":{"requestUri":"/2015-01-01/es/ccs/inboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S5f"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"CrossClusterSearchConnections":{"type":"list","member":{"shape":"S4"}},"NextToken":{}}}},"DescribeOutboundCrossClusterSearchConnections":{"http":{"requestUri":"/2015-01-01/es/ccs/outboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S5f"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"CrossClusterSearchConnections":{"type":"list","member":{"shape":"S3a"}},"NextToken":{}}}},"DescribePackages":{"http":{"requestUri":"/2015-01-01/packages/describe"},"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PackageDetailsList":{"type":"list","member":{"shape":"S31"}},"NextToken":{}}}},"DescribeReservedElasticsearchInstanceOfferings":{"http":{"method":"GET","requestUri":"/2015-01-01/es/reservedInstanceOfferings"},"input":{"type":"structure","members":{"ReservedElasticsearchInstanceOfferingId":{"location":"querystring","locationName":"offeringId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedElasticsearchInstanceOfferings":{"type":"list","member":{"type":"structure","members":{"ReservedElasticsearchInstanceOfferingId":{},"ElasticsearchInstanceType":{},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"PaymentOption":{},"RecurringCharges":{"shape":"S63"}}}}}}},"DescribeReservedElasticsearchInstances":{"http":{"method":"GET","requestUri":"/2015-01-01/es/reservedInstances"},"input":{"type":"structure","members":{"ReservedElasticsearchInstanceId":{"location":"querystring","locationName":"reservationId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedElasticsearchInstances":{"type":"list","member":{"type":"structure","members":{"ReservationName":{},"ReservedElasticsearchInstanceId":{},"ReservedElasticsearchInstanceOfferingId":{},"ElasticsearchInstanceType":{},"StartTime":{"type":"timestamp"},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"ElasticsearchInstanceCount":{"type":"integer"},"State":{},"PaymentOption":{},"RecurringCharges":{"shape":"S63"}}}}}}},"DissociatePackage":{"http":{"requestUri":"/2015-01-01/packages/dissociate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sl"}}}},"GetCompatibleElasticsearchVersions":{"http":{"method":"GET","requestUri":"/2015-01-01/es/compatibleVersions"},"input":{"type":"structure","members":{"DomainName":{"location":"querystring","locationName":"domainName"}}},"output":{"type":"structure","members":{"CompatibleElasticsearchVersions":{"type":"list","member":{"type":"structure","members":{"SourceVersion":{},"TargetVersions":{"shape":"S6g"}}}}}}},"GetPackageVersionHistory":{"http":{"method":"GET","requestUri":"/2015-01-01/packages/{PackageID}/history"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"PackageID":{},"PackageVersionHistoryList":{"type":"list","member":{"type":"structure","members":{"PackageVersion":{},"CommitMessage":{},"CreatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"GetUpgradeHistory":{"http":{"method":"GET","requestUri":"/2015-01-01/es/upgradeDomain/{DomainName}/history"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"UpgradeHistories":{"type":"list","member":{"type":"structure","members":{"UpgradeName":{},"StartTimestamp":{"type":"timestamp"},"UpgradeStatus":{},"StepsList":{"type":"list","member":{"type":"structure","members":{"UpgradeStep":{},"UpgradeStepStatus":{},"Issues":{"type":"list","member":{}},"ProgressPercent":{"type":"double"}}}}}}},"NextToken":{}}}},"GetUpgradeStatus":{"http":{"method":"GET","requestUri":"/2015-01-01/es/upgradeDomain/{DomainName}/status"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"UpgradeStep":{},"StepStatus":{},"UpgradeName":{}}}},"ListDomainNames":{"http":{"method":"GET","requestUri":"/2015-01-01/domain"},"input":{"type":"structure","members":{"EngineType":{"location":"querystring","locationName":"engineType"}}},"output":{"type":"structure","members":{"DomainNames":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"EngineType":{}}}}}}},"ListDomainsForPackage":{"http":{"method":"GET","requestUri":"/2015-01-01/packages/{PackageID}/domains"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S77"},"NextToken":{}}}},"ListElasticsearchInstanceTypes":{"http":{"method":"GET","requestUri":"/2015-01-01/es/instanceTypes/{ElasticsearchVersion}"},"input":{"type":"structure","required":["ElasticsearchVersion"],"members":{"ElasticsearchVersion":{"location":"uri","locationName":"ElasticsearchVersion"},"DomainName":{"location":"querystring","locationName":"domainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ElasticsearchInstanceTypes":{"type":"list","member":{}},"NextToken":{}}}},"ListElasticsearchVersions":{"http":{"method":"GET","requestUri":"/2015-01-01/es/versions"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ElasticsearchVersions":{"shape":"S6g"},"NextToken":{}}}},"ListPackagesForDomain":{"http":{"method":"GET","requestUri":"/2015-01-01/domain/{DomainName}/packages"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S77"},"NextToken":{}}}},"ListTags":{"http":{"method":"GET","requestUri":"/2015-01-01/tags/"},"input":{"type":"structure","required":["ARN"],"members":{"ARN":{"location":"querystring","locationName":"arn"}}},"output":{"type":"structure","members":{"TagList":{"shape":"Se"}}}},"PurchaseReservedElasticsearchInstanceOffering":{"http":{"requestUri":"/2015-01-01/es/purchaseReservedInstanceOffering"},"input":{"type":"structure","required":["ReservedElasticsearchInstanceOfferingId","ReservationName"],"members":{"ReservedElasticsearchInstanceOfferingId":{},"ReservationName":{},"InstanceCount":{"type":"integer"}}},"output":{"type":"structure","members":{"ReservedElasticsearchInstanceId":{},"ReservationName":{}}}},"RejectInboundCrossClusterSearchConnection":{"http":{"method":"PUT","requestUri":"/2015-01-01/es/ccs/inboundConnection/{ConnectionId}/reject"},"input":{"type":"structure","required":["CrossClusterSearchConnectionId"],"members":{"CrossClusterSearchConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"CrossClusterSearchConnection":{"shape":"S4"}}}},"RemoveTags":{"http":{"requestUri":"/2015-01-01/tags-removal"},"input":{"type":"structure","required":["ARN","TagKeys"],"members":{"ARN":{},"TagKeys":{"shape":"S1f"}}}},"StartElasticsearchServiceSoftwareUpdate":{"http":{"requestUri":"/2015-01-01/es/serviceSoftwareUpdate/start"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"Sx"}}}},"UpdateElasticsearchDomainConfig":{"http":{"requestUri":"/2015-01-01/es/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ElasticsearchClusterConfig":{"shape":"S14"},"EBSOptions":{"shape":"S1a"},"SnapshotOptions":{"shape":"S1d"},"VPCOptions":{"shape":"S1e"},"CognitoOptions":{"shape":"S1g"},"AdvancedOptions":{"shape":"S1n"},"AccessPolicies":{},"LogPublishingOptions":{"shape":"S1o"},"DomainEndpointOptions":{"shape":"S1s"},"AdvancedSecurityOptions":{"shape":"S1v"},"NodeToNodeEncryptionOptions":{"shape":"S1m"},"EncryptionAtRestOptions":{"shape":"S1k"},"AutoTuneOptions":{"shape":"S4n"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S45"},"DryRunResults":{"type":"structure","members":{"DeploymentType":{},"Message":{}}}}}},"UpdatePackage":{"http":{"requestUri":"/2015-01-01/packages/update"},"input":{"type":"structure","required":["PackageID","PackageSource"],"members":{"PackageID":{},"PackageSource":{"shape":"S2x"},"PackageDescription":{},"CommitMessage":{}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S31"}}}},"UpgradeElasticsearchDomain":{"http":{"requestUri":"/2015-01-01/es/upgradeDomain"},"input":{"type":"structure","required":["DomainName","TargetVersion"],"members":{"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"}}},"output":{"type":"structure","members":{"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"ChangeProgressDetails":{"shape":"S2n"}}}}},"shapes":{"S4":{"type":"structure","members":{"SourceDomainInfo":{"shape":"S5"},"DestinationDomainInfo":{"shape":"S5"},"CrossClusterSearchConnectionId":{},"ConnectionStatus":{"type":"structure","members":{"StatusCode":{},"Message":{}}}}},"S5":{"type":"structure","required":["DomainName"],"members":{"OwnerId":{},"DomainName":{},"Region":{}}},"Se":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sl":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"LastUpdated":{"type":"timestamp"},"DomainName":{},"DomainPackageStatus":{},"PackageVersion":{},"ReferencePath":{},"ErrorDetails":{"shape":"Ss"}}},"Ss":{"type":"structure","members":{"ErrorType":{},"ErrorMessage":{}}},"Sx":{"type":"structure","members":{"CurrentVersion":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"Cancellable":{"type":"boolean"},"UpdateStatus":{},"Description":{},"AutomatedUpdateDate":{"type":"timestamp"},"OptionalDeployment":{"type":"boolean"}}},"S14":{"type":"structure","members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"ZoneAwarenessEnabled":{"type":"boolean"},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"DedicatedMasterType":{},"DedicatedMasterCount":{"type":"integer"},"WarmEnabled":{"type":"boolean"},"WarmType":{},"WarmCount":{"type":"integer"},"ColdStorageOptions":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"}}}}},"S1a":{"type":"structure","members":{"EBSEnabled":{"type":"boolean"},"VolumeType":{},"VolumeSize":{"type":"integer"},"Iops":{"type":"integer"}}},"S1d":{"type":"structure","members":{"AutomatedSnapshotStartHour":{"type":"integer"}}},"S1e":{"type":"structure","members":{"SubnetIds":{"shape":"S1f"},"SecurityGroupIds":{"shape":"S1f"}}},"S1f":{"type":"list","member":{}},"S1g":{"type":"structure","members":{"Enabled":{"type":"boolean"},"UserPoolId":{},"IdentityPoolId":{},"RoleArn":{}}},"S1k":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"S1m":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"S1n":{"type":"map","key":{},"value":{}},"S1o":{"type":"map","key":{},"value":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}}},"S1s":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{},"CustomEndpointEnabled":{"type":"boolean"},"CustomEndpoint":{},"CustomEndpointCertificateArn":{}}},"S1v":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"MasterUserOptions":{"type":"structure","members":{"MasterUserARN":{},"MasterUserName":{"shape":"S1x"},"MasterUserPassword":{"type":"string","sensitive":true}}},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S20"},"MasterUserName":{"shape":"S1x"},"MasterBackendRole":{},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}},"AnonymousAuthEnabled":{"type":"boolean"}}},"S1x":{"type":"string","sensitive":true},"S20":{"type":"structure","required":["MetadataContent","EntityId"],"members":{"MetadataContent":{},"EntityId":{}}},"S26":{"type":"list","member":{"type":"structure","members":{"StartAt":{"type":"timestamp"},"Duration":{"type":"structure","members":{"Value":{"type":"long"},"Unit":{}}},"CronExpressionForRecurrence":{}}}},"S2d":{"type":"structure","required":["DomainId","DomainName","ARN","ElasticsearchClusterConfig"],"members":{"DomainId":{},"DomainName":{},"ARN":{},"Created":{"type":"boolean"},"Deleted":{"type":"boolean"},"Endpoint":{},"Endpoints":{"type":"map","key":{},"value":{}},"Processing":{"type":"boolean"},"UpgradeProcessing":{"type":"boolean"},"ElasticsearchVersion":{},"ElasticsearchClusterConfig":{"shape":"S14"},"EBSOptions":{"shape":"S1a"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1d"},"VPCOptions":{"shape":"S2h"},"CognitoOptions":{"shape":"S1g"},"EncryptionAtRestOptions":{"shape":"S1k"},"NodeToNodeEncryptionOptions":{"shape":"S1m"},"AdvancedOptions":{"shape":"S1n"},"LogPublishingOptions":{"shape":"S1o"},"ServiceSoftwareOptions":{"shape":"Sx"},"DomainEndpointOptions":{"shape":"S1s"},"AdvancedSecurityOptions":{"shape":"S2i"},"AutoTuneOptions":{"type":"structure","members":{"State":{},"ErrorMessage":{}}},"ChangeProgressDetails":{"shape":"S2n"}}},"S2h":{"type":"structure","members":{"VPCId":{},"SubnetIds":{"shape":"S1f"},"AvailabilityZones":{"shape":"S1f"},"SecurityGroupIds":{"shape":"S1f"}}},"S2i":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S20"},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}},"AnonymousAuthDisableDate":{"type":"timestamp"},"AnonymousAuthEnabled":{"type":"boolean"}}},"S2n":{"type":"structure","members":{"ChangeId":{},"Message":{}}},"S2t":{"type":"structure","members":{"StatusCode":{},"Message":{}}},"S2x":{"type":"structure","members":{"S3BucketName":{},"S3Key":{}}},"S31":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageStatus":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"AvailablePackageVersion":{},"ErrorDetails":{"shape":"Ss"}}},"S3a":{"type":"structure","members":{"SourceDomainInfo":{"shape":"S5"},"DestinationDomainInfo":{"shape":"S5"},"CrossClusterSearchConnectionId":{},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S2t"}}},"S45":{"type":"structure","members":{"ElasticsearchVersion":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S47"}}},"ElasticsearchClusterConfig":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S14"},"Status":{"shape":"S47"}}},"EBSOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1a"},"Status":{"shape":"S47"}}},"AccessPolicies":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S47"}}},"SnapshotOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1d"},"Status":{"shape":"S47"}}},"VPCOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2h"},"Status":{"shape":"S47"}}},"CognitoOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1g"},"Status":{"shape":"S47"}}},"EncryptionAtRestOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1k"},"Status":{"shape":"S47"}}},"NodeToNodeEncryptionOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1m"},"Status":{"shape":"S47"}}},"AdvancedOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1n"},"Status":{"shape":"S47"}}},"LogPublishingOptions":{"type":"structure","members":{"Options":{"shape":"S1o"},"Status":{"shape":"S47"}}},"DomainEndpointOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1s"},"Status":{"shape":"S47"}}},"AdvancedSecurityOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2i"},"Status":{"shape":"S47"}}},"AutoTuneOptions":{"type":"structure","members":{"Options":{"shape":"S4n"},"Status":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"ErrorMessage":{},"PendingDeletion":{"type":"boolean"}}}}},"ChangeProgressDetails":{"shape":"S2n"}}},"S47":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"PendingDeletion":{"type":"boolean"}}},"S4n":{"type":"structure","members":{"DesiredState":{},"RollbackOnDisable":{},"MaintenanceSchedules":{"shape":"S26"}}},"S56":{"type":"list","member":{}},"S5f":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S63":{"type":"list","member":{"type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}}}},"S6g":{"type":"list","member":{}},"S77":{"type":"list","member":{"shape":"Sl"}}}} /***/ }), /* 230 */ @@ -35891,7 +35897,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 298 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-01-14","endpointPrefix":"metering.marketplace","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWSMarketplace Metering","serviceId":"Marketplace Metering","signatureVersion":"v4","signingName":"aws-marketplace","targetPrefix":"AWSMPMeteringService","uid":"meteringmarketplace-2016-01-14"},"operations":{"BatchMeterUsage":{"input":{"type":"structure","required":["UsageRecords","ProductCode"],"members":{"UsageRecords":{"shape":"S2"},"ProductCode":{}}},"output":{"type":"structure","members":{"Results":{"type":"list","member":{"type":"structure","members":{"UsageRecord":{"shape":"S3"},"MeteringRecordId":{},"Status":{}}}},"UnprocessedRecords":{"shape":"S2"}}}},"MeterUsage":{"input":{"type":"structure","required":["ProductCode","Timestamp","UsageDimension"],"members":{"ProductCode":{},"Timestamp":{"type":"timestamp"},"UsageDimension":{},"UsageQuantity":{"type":"integer"},"DryRun":{"type":"boolean"},"UsageAllocations":{"shape":"S8"}}},"output":{"type":"structure","members":{"MeteringRecordId":{}}}},"RegisterUsage":{"input":{"type":"structure","required":["ProductCode","PublicKeyVersion"],"members":{"ProductCode":{},"PublicKeyVersion":{"type":"integer"},"Nonce":{}}},"output":{"type":"structure","members":{"PublicKeyRotationTimestamp":{"type":"timestamp"},"Signature":{}}}},"ResolveCustomer":{"input":{"type":"structure","required":["RegistrationToken"],"members":{"RegistrationToken":{}}},"output":{"type":"structure","members":{"CustomerIdentifier":{},"ProductCode":{}}}}},"shapes":{"S2":{"type":"list","member":{"shape":"S3"}},"S3":{"type":"structure","required":["Timestamp","CustomerIdentifier","Dimension"],"members":{"Timestamp":{"type":"timestamp"},"CustomerIdentifier":{},"Dimension":{},"Quantity":{"type":"integer"},"UsageAllocations":{"shape":"S8"}}},"S8":{"type":"list","member":{"type":"structure","required":["AllocatedUsageQuantity"],"members":{"AllocatedUsageQuantity":{"type":"integer"},"Tags":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2016-01-14","endpointPrefix":"metering.marketplace","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWSMarketplace Metering","serviceId":"Marketplace Metering","signatureVersion":"v4","signingName":"aws-marketplace","targetPrefix":"AWSMPMeteringService","uid":"meteringmarketplace-2016-01-14"},"operations":{"BatchMeterUsage":{"input":{"type":"structure","required":["UsageRecords","ProductCode"],"members":{"UsageRecords":{"shape":"S2"},"ProductCode":{}}},"output":{"type":"structure","members":{"Results":{"type":"list","member":{"type":"structure","members":{"UsageRecord":{"shape":"S3"},"MeteringRecordId":{},"Status":{}}}},"UnprocessedRecords":{"shape":"S2"}}}},"MeterUsage":{"input":{"type":"structure","required":["ProductCode","Timestamp","UsageDimension"],"members":{"ProductCode":{},"Timestamp":{"type":"timestamp"},"UsageDimension":{},"UsageQuantity":{"type":"integer"},"DryRun":{"type":"boolean"},"UsageAllocations":{"shape":"S8"}}},"output":{"type":"structure","members":{"MeteringRecordId":{}}}},"RegisterUsage":{"input":{"type":"structure","required":["ProductCode","PublicKeyVersion"],"members":{"ProductCode":{},"PublicKeyVersion":{"type":"integer"},"Nonce":{}}},"output":{"type":"structure","members":{"PublicKeyRotationTimestamp":{"type":"timestamp"},"Signature":{}}}},"ResolveCustomer":{"input":{"type":"structure","required":["RegistrationToken"],"members":{"RegistrationToken":{}}},"output":{"type":"structure","members":{"CustomerIdentifier":{},"ProductCode":{},"CustomerAWSAccountId":{}}}}},"shapes":{"S2":{"type":"list","member":{"shape":"S3"}},"S3":{"type":"structure","required":["Timestamp","CustomerIdentifier","Dimension"],"members":{"Timestamp":{"type":"timestamp"},"CustomerIdentifier":{},"Dimension":{},"Quantity":{"type":"integer"},"UsageAllocations":{"shape":"S8"}}},"S8":{"type":"list","member":{"type":"structure","required":["AllocatedUsageQuantity"],"members":{"AllocatedUsageQuantity":{"type":"integer"},"Tags":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}}}}} /***/ }), /* 299 */ @@ -36113,7 +36119,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 317 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2016-12-01","endpointPrefix":"pinpoint","signingName":"mobiletargeting","serviceFullName":"Amazon Pinpoint","serviceId":"Pinpoint","protocol":"rest-json","jsonVersion":"1.1","uid":"pinpoint-2016-12-01","signatureVersion":"v4"},"operations":{"CreateApp":{"http":{"requestUri":"/v1/apps","responseCode":201},"input":{"type":"structure","members":{"CreateApplicationRequest":{"type":"structure","members":{"Name":{},"tags":{"shape":"S4","locationName":"tags"}},"required":["Name"]}},"required":["CreateApplicationRequest"],"payload":"CreateApplicationRequest"},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"CreateCampaign":{"http":{"requestUri":"/v1/apps/{application-id}/campaigns","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteCampaignRequest":{"shape":"S8"}},"required":["ApplicationId","WriteCampaignRequest"],"payload":"WriteCampaignRequest"},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"CreateEmailTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/email","responseCode":201},"input":{"type":"structure","members":{"EmailTemplateRequest":{"shape":"S1p"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateExportJob":{"http":{"requestUri":"/v1/apps/{application-id}/jobs/export","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"ExportJobRequest":{"type":"structure","members":{"RoleArn":{},"S3UrlPrefix":{},"SegmentId":{},"SegmentVersion":{"type":"integer"}},"required":["S3UrlPrefix","RoleArn"]}},"required":["ApplicationId","ExportJobRequest"],"payload":"ExportJobRequest"},"output":{"type":"structure","members":{"ExportJobResponse":{"shape":"S1v"}},"required":["ExportJobResponse"],"payload":"ExportJobResponse"}},"CreateImportJob":{"http":{"requestUri":"/v1/apps/{application-id}/jobs/import","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"ImportJobRequest":{"type":"structure","members":{"DefineSegment":{"type":"boolean"},"ExternalId":{},"Format":{},"RegisterEndpoints":{"type":"boolean"},"RoleArn":{},"S3Url":{},"SegmentId":{},"SegmentName":{}},"required":["Format","S3Url","RoleArn"]}},"required":["ApplicationId","ImportJobRequest"],"payload":"ImportJobRequest"},"output":{"type":"structure","members":{"ImportJobResponse":{"shape":"S22"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"CreateInAppTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/inapp","responseCode":201},"input":{"type":"structure","members":{"InAppTemplateRequest":{"shape":"S25"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","InAppTemplateRequest"],"payload":"InAppTemplateRequest"},"output":{"type":"structure","members":{"TemplateCreateMessageBody":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}}},"required":["TemplateCreateMessageBody"],"payload":"TemplateCreateMessageBody"}},"CreateJourney":{"http":{"requestUri":"/v1/apps/{application-id}/journeys","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteJourneyRequest":{"shape":"S29"}},"required":["ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"CreatePushTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/push","responseCode":201},"input":{"type":"structure","members":{"PushNotificationTemplateRequest":{"shape":"S3l"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateRecommenderConfiguration":{"http":{"requestUri":"/v1/recommenders","responseCode":201},"input":{"type":"structure","members":{"CreateRecommenderConfiguration":{"type":"structure","members":{"Attributes":{"shape":"S4"},"Description":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","RecommendationProviderRoleArn"]}},"required":["CreateRecommenderConfiguration"],"payload":"CreateRecommenderConfiguration"},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"CreateSegment":{"http":{"requestUri":"/v1/apps/{application-id}/segments","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteSegmentRequest":{"shape":"S3v"}},"required":["ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"CreateSmsTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/sms","responseCode":201},"input":{"type":"structure","members":{"SMSTemplateRequest":{"shape":"S4b"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateVoiceTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/voice","responseCode":201},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"VoiceTemplateRequest":{"shape":"S4e"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"DeleteAdmChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"DeleteApnsChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"DeleteApnsSandboxChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"DeleteApnsVoipChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"DeleteApnsVoipSandboxChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"DeleteApp":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"DeleteBaiduChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"DeleteCampaign":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"}},"required":["CampaignId","ApplicationId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"DeleteEmailChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"DeleteEmailTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/email","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteEndpoint":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"EndpointResponse":{"shape":"S5a"}},"required":["EndpointResponse"],"payload":"EndpointResponse"}},"DeleteEventStream":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"DeleteGcmChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"DeleteInAppTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/inapp","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteJourney":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"}},"required":["JourneyId","ApplicationId"]},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"DeletePushTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/push","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteRecommenderConfiguration":{"http":{"method":"DELETE","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"}},"required":["RecommenderId"]},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"DeleteSegment":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"DeleteSmsChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"DeleteSmsTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/sms","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteUserEndpoints":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/users/{user-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"UserId":{"location":"uri","locationName":"user-id"}},"required":["ApplicationId","UserId"]},"output":{"type":"structure","members":{"EndpointsResponse":{"shape":"S64"}},"required":["EndpointsResponse"],"payload":"EndpointsResponse"}},"DeleteVoiceChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"DeleteVoiceTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/voice","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"GetAdmChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"GetApnsChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"GetApnsSandboxChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"GetApnsVoipChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"GetApnsVoipSandboxChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"GetApp":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"GetApplicationDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName"]},"output":{"type":"structure","members":{"ApplicationDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S3c"},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","EndTime","StartTime","ApplicationId"]}},"required":["ApplicationDateRangeKpiResponse"],"payload":"ApplicationDateRangeKpiResponse"}},"GetApplicationSettings":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/settings","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6x"}},"required":["ApplicationSettingsResource"],"payload":"ApplicationSettingsResource"}},"GetApps":{"http":{"method":"GET","requestUri":"/v1/apps","responseCode":200},"input":{"type":"structure","members":{"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}}},"output":{"type":"structure","members":{"ApplicationsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S6"}},"NextToken":{}}}},"required":["ApplicationsResponse"],"payload":"ApplicationsResponse"}},"GetBaiduChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"GetCampaign":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"}},"required":["CampaignId","ApplicationId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"GetCampaignActivities":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/activities","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"ActivitiesResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"End":{},"Id":{},"Result":{},"ScheduledStart":{},"Start":{},"State":{},"SuccessfulEndpointCount":{"type":"integer"},"TimezonesCompletedCount":{"type":"integer"},"TimezonesTotalCount":{"type":"integer"},"TotalEndpointCount":{"type":"integer"},"TreatmentId":{}},"required":["CampaignId","Id","ApplicationId"]}},"NextToken":{}},"required":["Item"]}},"required":["ActivitiesResponse"],"payload":"ActivitiesResponse"}},"GetCampaignDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName","CampaignId"]},"output":{"type":"structure","members":{"CampaignDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"EndTime":{"shape":"S3c"},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","EndTime","CampaignId","StartTime","ApplicationId"]}},"required":["CampaignDateRangeKpiResponse"],"payload":"CampaignDateRangeKpiResponse"}},"GetCampaignVersion":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"Version":{"location":"uri","locationName":"version"}},"required":["Version","ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"GetCampaignVersions":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"CampaignsResponse":{"shape":"S7i"}},"required":["CampaignsResponse"],"payload":"CampaignsResponse"}},"GetCampaigns":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"CampaignsResponse":{"shape":"S7i"}},"required":["CampaignsResponse"],"payload":"CampaignsResponse"}},"GetChannels":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ChannelsResponse":{"type":"structure","members":{"Channels":{"type":"map","key":{},"value":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Version":{"type":"integer"}}}}},"required":["Channels"]}},"required":["ChannelsResponse"],"payload":"ChannelsResponse"}},"GetEmailChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"GetEmailTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/email","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"EmailTemplateResponse":{"type":"structure","members":{"Arn":{},"CreationDate":{},"DefaultSubstitutions":{},"HtmlPart":{},"LastModifiedDate":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"TextPart":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["EmailTemplateResponse"],"payload":"EmailTemplateResponse"}},"GetEndpoint":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"EndpointResponse":{"shape":"S5a"}},"required":["EndpointResponse"],"payload":"EndpointResponse"}},"GetEventStream":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"GetExportJob":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/export/{job-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JobId":{"location":"uri","locationName":"job-id"}},"required":["ApplicationId","JobId"]},"output":{"type":"structure","members":{"ExportJobResponse":{"shape":"S1v"}},"required":["ExportJobResponse"],"payload":"ExportJobResponse"}},"GetExportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/export","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ExportJobsResponse":{"shape":"S85"}},"required":["ExportJobsResponse"],"payload":"ExportJobsResponse"}},"GetGcmChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"GetImportJob":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/import/{job-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JobId":{"location":"uri","locationName":"job-id"}},"required":["ApplicationId","JobId"]},"output":{"type":"structure","members":{"ImportJobResponse":{"shape":"S22"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"GetImportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/import","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ImportJobsResponse":{"shape":"S8d"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"GetInAppMessages":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}/inappmessages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"InAppMessagesResponse":{"type":"structure","members":{"InAppMessageCampaigns":{"type":"list","member":{"type":"structure","members":{"CampaignId":{},"DailyCap":{"type":"integer"},"InAppMessage":{"type":"structure","members":{"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{}}},"Priority":{"type":"integer"},"Schedule":{"type":"structure","members":{"EndDate":{},"EventFilter":{"shape":"Sz"},"QuietTime":{"shape":"S1c"}}},"SessionCap":{"type":"integer"},"TotalCap":{"type":"integer"},"TreatmentId":{}}}}}}},"required":["InAppMessagesResponse"],"payload":"InAppMessagesResponse"}},"GetInAppTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/inapp","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"InAppTemplateResponse":{"type":"structure","members":{"Arn":{},"Content":{"shape":"So"},"CreationDate":{},"CustomConfig":{"shape":"S4"},"LastModifiedDate":{},"Layout":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["InAppTemplateResponse"],"payload":"InAppTemplateResponse"}},"GetJourney":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"}},"required":["JourneyId","ApplicationId"]},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"GetJourneyDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"JourneyId":{"location":"uri","locationName":"journey-id"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["JourneyId","ApplicationId","KpiName"]},"output":{"type":"structure","members":{"JourneyDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S3c"},"JourneyId":{},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","JourneyId","EndTime","StartTime","ApplicationId"]}},"required":["JourneyDateRangeKpiResponse"],"payload":"JourneyDateRangeKpiResponse"}},"GetJourneyExecutionActivityMetrics":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyActivityId":{"location":"uri","locationName":"journey-activity-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"}},"required":["JourneyActivityId","ApplicationId","JourneyId"]},"output":{"type":"structure","members":{"JourneyExecutionActivityMetricsResponse":{"type":"structure","members":{"ActivityType":{},"ApplicationId":{},"JourneyActivityId":{},"JourneyId":{},"LastEvaluatedTime":{},"Metrics":{"shape":"S4"}},"required":["Metrics","JourneyId","LastEvaluatedTime","JourneyActivityId","ActivityType","ApplicationId"]}},"required":["JourneyExecutionActivityMetricsResponse"],"payload":"JourneyExecutionActivityMetricsResponse"}},"GetJourneyExecutionMetrics":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/execution-metrics","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"}},"required":["ApplicationId","JourneyId"]},"output":{"type":"structure","members":{"JourneyExecutionMetricsResponse":{"type":"structure","members":{"ApplicationId":{},"JourneyId":{},"LastEvaluatedTime":{},"Metrics":{"shape":"S4"}},"required":["Metrics","JourneyId","LastEvaluatedTime","ApplicationId"]}},"required":["JourneyExecutionMetricsResponse"],"payload":"JourneyExecutionMetricsResponse"}},"GetPushTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/push","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"PushNotificationTemplateResponse":{"type":"structure","members":{"ADM":{"shape":"S3m"},"APNS":{"shape":"S3n"},"Arn":{},"Baidu":{"shape":"S3m"},"CreationDate":{},"Default":{"shape":"S3o"},"DefaultSubstitutions":{},"GCM":{"shape":"S3m"},"LastModifiedDate":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateType","TemplateName"]}},"required":["PushNotificationTemplateResponse"],"payload":"PushNotificationTemplateResponse"}},"GetRecommenderConfiguration":{"http":{"method":"GET","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"}},"required":["RecommenderId"]},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"GetRecommenderConfigurations":{"http":{"method":"GET","requestUri":"/v1/recommenders","responseCode":200},"input":{"type":"structure","members":{"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}}},"output":{"type":"structure","members":{"ListRecommenderConfigurationsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3t"}},"NextToken":{}},"required":["Item"]}},"required":["ListRecommenderConfigurationsResponse"],"payload":"ListRecommenderConfigurationsResponse"}},"GetSegment":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"GetSegmentExportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/jobs/export","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"ExportJobsResponse":{"shape":"S85"}},"required":["ExportJobsResponse"],"payload":"ExportJobsResponse"}},"GetSegmentImportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/jobs/import","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"ImportJobsResponse":{"shape":"S8d"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"GetSegmentVersion":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/versions/{version}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Version":{"location":"uri","locationName":"version"}},"required":["SegmentId","Version","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"GetSegmentVersions":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentsResponse":{"shape":"S9j"}},"required":["SegmentsResponse"],"payload":"SegmentsResponse"}},"GetSegments":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SegmentsResponse":{"shape":"S9j"}},"required":["SegmentsResponse"],"payload":"SegmentsResponse"}},"GetSmsChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"GetSmsTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/sms","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"SMSTemplateResponse":{"type":"structure","members":{"Arn":{},"Body":{},"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["SMSTemplateResponse"],"payload":"SMSTemplateResponse"}},"GetUserEndpoints":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/users/{user-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"UserId":{"location":"uri","locationName":"user-id"}},"required":["ApplicationId","UserId"]},"output":{"type":"structure","members":{"EndpointsResponse":{"shape":"S64"}},"required":["EndpointsResponse"],"payload":"EndpointsResponse"}},"GetVoiceChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"GetVoiceTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/voice","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"VoiceTemplateResponse":{"type":"structure","members":{"Arn":{},"Body":{},"CreationDate":{},"DefaultSubstitutions":{},"LanguageCode":{},"LastModifiedDate":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{},"VoiceId":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["VoiceTemplateResponse"],"payload":"VoiceTemplateResponse"}},"ListJourneys":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"JourneysResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3i"}},"NextToken":{}},"required":["Item"]}},"required":["JourneysResponse"],"payload":"JourneysResponse"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"TagsModel":{"shape":"Sa5"}},"required":["TagsModel"],"payload":"TagsModel"}},"ListTemplateVersions":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/{template-type}/versions","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"TemplateName":{"location":"uri","locationName":"template-name"},"TemplateType":{"location":"uri","locationName":"template-type"}},"required":["TemplateName","TemplateType"]},"output":{"type":"structure","members":{"TemplateVersionsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"Message":{},"NextToken":{},"RequestID":{}},"required":["Item"]}},"required":["TemplateVersionsResponse"],"payload":"TemplateVersionsResponse"}},"ListTemplates":{"http":{"method":"GET","requestUri":"/v1/templates","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"Prefix":{"location":"querystring","locationName":"prefix"},"TemplateType":{"location":"querystring","locationName":"template-type"}}},"output":{"type":"structure","members":{"TemplatesResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"NextToken":{}},"required":["Item"]}},"required":["TemplatesResponse"],"payload":"TemplatesResponse"}},"PhoneNumberValidate":{"http":{"requestUri":"/v1/phone/number/validate","responseCode":200},"input":{"type":"structure","members":{"NumberValidateRequest":{"type":"structure","members":{"IsoCountryCode":{},"PhoneNumber":{}}}},"required":["NumberValidateRequest"],"payload":"NumberValidateRequest"},"output":{"type":"structure","members":{"NumberValidateResponse":{"type":"structure","members":{"Carrier":{},"City":{},"CleansedPhoneNumberE164":{},"CleansedPhoneNumberNational":{},"Country":{},"CountryCodeIso2":{},"CountryCodeNumeric":{},"County":{},"OriginalCountryCodeIso2":{},"OriginalPhoneNumber":{},"PhoneType":{},"PhoneTypeCode":{"type":"integer"},"Timezone":{},"ZipCode":{}}}},"required":["NumberValidateResponse"],"payload":"NumberValidateResponse"}},"PutEventStream":{"http":{"requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteEventStream":{"type":"structure","members":{"DestinationStreamArn":{},"RoleArn":{}},"required":["RoleArn","DestinationStreamArn"]}},"required":["ApplicationId","WriteEventStream"],"payload":"WriteEventStream"},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"PutEvents":{"http":{"requestUri":"/v1/apps/{application-id}/events","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EventsRequest":{"type":"structure","members":{"BatchItem":{"type":"map","key":{},"value":{"type":"structure","members":{"Endpoint":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}},"Events":{"type":"map","key":{},"value":{"type":"structure","members":{"AppPackageName":{},"AppTitle":{},"AppVersionCode":{},"Attributes":{"shape":"S4"},"ClientSdkVersion":{},"EventType":{},"Metrics":{"shape":"S5f"},"SdkName":{},"Session":{"type":"structure","members":{"Duration":{"type":"integer"},"Id":{},"StartTimestamp":{},"StopTimestamp":{}},"required":["StartTimestamp","Id"]},"Timestamp":{}},"required":["EventType","Timestamp"]}}},"required":["Endpoint","Events"]}}},"required":["BatchItem"]}},"required":["ApplicationId","EventsRequest"],"payload":"EventsRequest"},"output":{"type":"structure","members":{"EventsResponse":{"type":"structure","members":{"Results":{"type":"map","key":{},"value":{"type":"structure","members":{"EndpointItemResponse":{"type":"structure","members":{"Message":{},"StatusCode":{"type":"integer"}}},"EventsItemResponse":{"type":"map","key":{},"value":{"type":"structure","members":{"Message":{},"StatusCode":{"type":"integer"}}}}}}}}}},"required":["EventsResponse"],"payload":"EventsResponse"}},"RemoveAttributes":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/attributes/{attribute-type}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"AttributeType":{"location":"uri","locationName":"attribute-type"},"UpdateAttributesRequest":{"type":"structure","members":{"Blacklist":{"shape":"S14"}}}},"required":["AttributeType","ApplicationId","UpdateAttributesRequest"],"payload":"UpdateAttributesRequest"},"output":{"type":"structure","members":{"AttributesResource":{"type":"structure","members":{"ApplicationId":{},"AttributeType":{},"Attributes":{"shape":"S14"}},"required":["AttributeType","ApplicationId"]}},"required":["AttributesResource"],"payload":"AttributesResource"}},"SendMessages":{"http":{"requestUri":"/v1/apps/{application-id}/messages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"MessageRequest":{"type":"structure","members":{"Addresses":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"ChannelType":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S5b"},"TitleOverride":{}}}},"Context":{"shape":"S4"},"Endpoints":{"shape":"Sba"},"MessageConfiguration":{"shape":"Sbc"},"TemplateConfiguration":{"shape":"S1d"},"TraceId":{}},"required":["MessageConfiguration"]}},"required":["ApplicationId","MessageRequest"],"payload":"MessageRequest"},"output":{"type":"structure","members":{"MessageResponse":{"shape":"Sbr"}},"required":["MessageResponse"],"payload":"MessageResponse"}},"SendOTPMessage":{"http":{"requestUri":"/v1/apps/{application-id}/otp","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SendOTPMessageRequestParameters":{"type":"structure","members":{"AllowedAttempts":{"type":"integer"},"BrandName":{},"Channel":{},"CodeLength":{"type":"integer"},"DestinationIdentity":{},"EntityId":{},"Language":{},"OriginationIdentity":{},"ReferenceId":{},"TemplateId":{},"ValidityPeriod":{"type":"integer"}},"required":["BrandName","ReferenceId","Channel","DestinationIdentity","OriginationIdentity"]}},"required":["ApplicationId","SendOTPMessageRequestParameters"],"payload":"SendOTPMessageRequestParameters"},"output":{"type":"structure","members":{"MessageResponse":{"shape":"Sbr"}},"required":["MessageResponse"],"payload":"MessageResponse"}},"SendUsersMessages":{"http":{"requestUri":"/v1/apps/{application-id}/users-messages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SendUsersMessageRequest":{"type":"structure","members":{"Context":{"shape":"S4"},"MessageConfiguration":{"shape":"Sbc"},"TemplateConfiguration":{"shape":"S1d"},"TraceId":{},"Users":{"shape":"Sba"}},"required":["MessageConfiguration","Users"]}},"required":["ApplicationId","SendUsersMessageRequest"],"payload":"SendUsersMessageRequest"},"output":{"type":"structure","members":{"SendUsersMessageResponse":{"type":"structure","members":{"ApplicationId":{},"RequestId":{},"Result":{"type":"map","key":{},"value":{"shape":"Sbs"}}},"required":["ApplicationId"]}},"required":["SendUsersMessageResponse"],"payload":"SendUsersMessageResponse"}},"TagResource":{"http":{"requestUri":"/v1/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagsModel":{"shape":"Sa5"}},"required":["ResourceArn","TagsModel"],"payload":"TagsModel"}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"shape":"S14","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"UpdateAdmChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ADMChannelRequest":{"type":"structure","members":{"ClientId":{},"ClientSecret":{},"Enabled":{"type":"boolean"}},"required":["ClientSecret","ClientId"]},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","ADMChannelRequest"],"payload":"ADMChannelRequest"},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"UpdateApnsChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"APNSChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSChannelRequest"],"payload":"APNSChannelRequest"},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"UpdateApnsSandboxChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"APNSSandboxChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSSandboxChannelRequest"],"payload":"APNSSandboxChannelRequest"},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"UpdateApnsVoipChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"APNSVoipChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSVoipChannelRequest"],"payload":"APNSVoipChannelRequest"},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"UpdateApnsVoipSandboxChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"APNSVoipSandboxChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSVoipSandboxChannelRequest"],"payload":"APNSVoipSandboxChannelRequest"},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"UpdateApplicationSettings":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/settings","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteApplicationSettingsRequest":{"type":"structure","members":{"CampaignHook":{"shape":"S1f"},"CloudWatchMetricsEnabled":{"type":"boolean"},"EventTaggingEnabled":{"type":"boolean"},"Limits":{"shape":"S1h"},"QuietTime":{"shape":"S1c"}}}},"required":["ApplicationId","WriteApplicationSettingsRequest"],"payload":"WriteApplicationSettingsRequest"},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6x"}},"required":["ApplicationSettingsResource"],"payload":"ApplicationSettingsResource"}},"UpdateBaiduChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"BaiduChannelRequest":{"type":"structure","members":{"ApiKey":{},"Enabled":{"type":"boolean"},"SecretKey":{}},"required":["SecretKey","ApiKey"]}},"required":["ApplicationId","BaiduChannelRequest"],"payload":"BaiduChannelRequest"},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"UpdateCampaign":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"WriteCampaignRequest":{"shape":"S8"}},"required":["CampaignId","ApplicationId","WriteCampaignRequest"],"payload":"WriteCampaignRequest"},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"UpdateEmailChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EmailChannelRequest":{"type":"structure","members":{"ConfigurationSet":{},"Enabled":{"type":"boolean"},"FromAddress":{},"Identity":{},"RoleArn":{}},"required":["FromAddress","Identity"]}},"required":["ApplicationId","EmailChannelRequest"],"payload":"EmailChannelRequest"},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"UpdateEmailTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/email","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"EmailTemplateRequest":{"shape":"S1p"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateEndpoint":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"},"EndpointRequest":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}}},"required":["ApplicationId","EndpointId","EndpointRequest"],"payload":"EndpointRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateEndpointsBatch":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/endpoints","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointBatchRequest":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}}}},"required":["Item"]}},"required":["ApplicationId","EndpointBatchRequest"],"payload":"EndpointBatchRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateGcmChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"GCMChannelRequest":{"type":"structure","members":{"ApiKey":{},"Enabled":{"type":"boolean"}},"required":["ApiKey"]}},"required":["ApplicationId","GCMChannelRequest"],"payload":"GCMChannelRequest"},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"UpdateInAppTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/inapp","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"InAppTemplateRequest":{"shape":"S25"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","InAppTemplateRequest"],"payload":"InAppTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateJourney":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"WriteJourneyRequest":{"shape":"S29"}},"required":["JourneyId","ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"UpdateJourneyState":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/state","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"JourneyStateRequest":{"type":"structure","members":{"State":{}}}},"required":["JourneyId","ApplicationId","JourneyStateRequest"],"payload":"JourneyStateRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"UpdatePushTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/push","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"PushNotificationTemplateRequest":{"shape":"S3l"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateRecommenderConfiguration":{"http":{"method":"PUT","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"},"UpdateRecommenderConfiguration":{"type":"structure","members":{"Attributes":{"shape":"S4"},"Description":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","RecommendationProviderRoleArn"]}},"required":["RecommenderId","UpdateRecommenderConfiguration"],"payload":"UpdateRecommenderConfiguration"},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"UpdateSegment":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"},"WriteSegmentRequest":{"shape":"S3v"}},"required":["SegmentId","ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"UpdateSmsChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SMSChannelRequest":{"type":"structure","members":{"Enabled":{"type":"boolean"},"SenderId":{},"ShortCode":{}}}},"required":["ApplicationId","SMSChannelRequest"],"payload":"SMSChannelRequest"},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"UpdateSmsTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/sms","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"SMSTemplateRequest":{"shape":"S4b"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateTemplateActiveVersion":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/{template-type}/active-version","responseCode":200},"input":{"type":"structure","members":{"TemplateActiveVersionRequest":{"type":"structure","members":{"Version":{}}},"TemplateName":{"location":"uri","locationName":"template-name"},"TemplateType":{"location":"uri","locationName":"template-type"}},"required":["TemplateName","TemplateType","TemplateActiveVersionRequest"],"payload":"TemplateActiveVersionRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateVoiceChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"VoiceChannelRequest":{"type":"structure","members":{"Enabled":{"type":"boolean"}}}},"required":["ApplicationId","VoiceChannelRequest"],"payload":"VoiceChannelRequest"},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"UpdateVoiceTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/voice","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"},"VoiceTemplateRequest":{"shape":"S4e"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"VerifyOTPMessage":{"http":{"requestUri":"/v1/apps/{application-id}/verify-otp","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"VerifyOTPMessageRequestParameters":{"type":"structure","members":{"DestinationIdentity":{},"Otp":{},"ReferenceId":{}},"required":["ReferenceId","Otp","DestinationIdentity"]}},"required":["ApplicationId","VerifyOTPMessageRequestParameters"],"payload":"VerifyOTPMessageRequestParameters"},"output":{"type":"structure","members":{"VerificationResponse":{"type":"structure","members":{"Valid":{"type":"boolean"}}}},"required":["VerificationResponse"],"payload":"VerificationResponse"}}},"shapes":{"S4":{"type":"map","key":{},"value":{}},"S6":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"tags":{"shape":"S4","locationName":"tags"}},"required":["Id","Arn","Name"]},"S8":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sy"},"SizePercent":{"type":"integer"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{}},"required":["SizePercent"]}},"CustomDeliveryConfiguration":{"shape":"Sb"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S1f"},"IsPaused":{"type":"boolean"},"Limits":{"shape":"S1h"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sy"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{},"Priority":{"type":"integer"}}},"Sb":{"type":"structure","members":{"DeliveryUri":{},"EndpointTypes":{"shape":"Sc"}},"required":["DeliveryUri"]},"Sc":{"type":"list","member":{}},"Se":{"type":"structure","members":{"ADMMessage":{"shape":"Sf"},"APNSMessage":{"shape":"Sf"},"BaiduMessage":{"shape":"Sf"},"CustomMessage":{"type":"structure","members":{"Data":{}}},"DefaultMessage":{"shape":"Sf"},"EmailMessage":{"type":"structure","members":{"Body":{},"FromAddress":{},"HtmlBody":{},"Title":{}}},"GCMMessage":{"shape":"Sf"},"SMSMessage":{"type":"structure","members":{"Body":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"EntityId":{},"TemplateId":{}}},"InAppMessage":{"type":"structure","members":{"Body":{},"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{}}}}},"Sf":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageSmallIconUrl":{},"ImageUrl":{},"JsonBody":{},"MediaUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"So":{"type":"list","member":{"type":"structure","members":{"BackgroundColor":{},"BodyConfig":{"type":"structure","members":{"Alignment":{},"Body":{},"TextColor":{}},"required":["Alignment","TextColor","Body"]},"HeaderConfig":{"type":"structure","members":{"Alignment":{},"Header":{},"TextColor":{}},"required":["Alignment","Header","TextColor"]},"ImageUrl":{},"PrimaryBtn":{"shape":"St"},"SecondaryBtn":{"shape":"St"}}}},"St":{"type":"structure","members":{"Android":{"shape":"Su"},"DefaultConfig":{"type":"structure","members":{"BackgroundColor":{},"BorderRadius":{"type":"integer"},"ButtonAction":{},"Link":{},"Text":{},"TextColor":{}},"required":["ButtonAction","Text"]},"IOS":{"shape":"Su"},"Web":{"shape":"Su"}}},"Su":{"type":"structure","members":{"ButtonAction":{},"Link":{}},"required":["ButtonAction"]},"Sy":{"type":"structure","members":{"EndTime":{},"EventFilter":{"shape":"Sz"},"Frequency":{},"IsLocalTime":{"type":"boolean"},"QuietTime":{"shape":"S1c"},"StartTime":{},"Timezone":{}},"required":["StartTime"]},"Sz":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"FilterType":{}},"required":["FilterType","Dimensions"]},"S10":{"type":"structure","members":{"Attributes":{"shape":"S11"},"EventType":{"shape":"S15"},"Metrics":{"shape":"S17"}}},"S11":{"type":"map","key":{},"value":{"type":"structure","members":{"AttributeType":{},"Values":{"shape":"S14"}},"required":["Values"]}},"S14":{"type":"list","member":{}},"S15":{"type":"structure","members":{"DimensionType":{},"Values":{"shape":"S14"}},"required":["Values"]},"S17":{"type":"map","key":{},"value":{"type":"structure","members":{"ComparisonOperator":{},"Value":{"type":"double"}},"required":["ComparisonOperator","Value"]}},"S1c":{"type":"structure","members":{"End":{},"Start":{}}},"S1d":{"type":"structure","members":{"EmailTemplate":{"shape":"S1e"},"PushTemplate":{"shape":"S1e"},"SMSTemplate":{"shape":"S1e"},"VoiceTemplate":{"shape":"S1e"}}},"S1e":{"type":"structure","members":{"Name":{},"Version":{}}},"S1f":{"type":"structure","members":{"LambdaFunctionName":{},"Mode":{},"WebUrl":{}}},"S1h":{"type":"structure","members":{"Daily":{"type":"integer"},"MaximumDuration":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"Total":{"type":"integer"},"Session":{"type":"integer"}}},"S1j":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"Id":{},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sy"},"SizePercent":{"type":"integer"},"State":{"shape":"S1m"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{}},"required":["Id","SizePercent"]}},"ApplicationId":{},"Arn":{},"CreationDate":{},"CustomDeliveryConfiguration":{"shape":"Sb"},"DefaultState":{"shape":"S1m"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S1f"},"Id":{},"IsPaused":{"type":"boolean"},"LastModifiedDate":{},"Limits":{"shape":"S1h"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sy"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"State":{"shape":"S1m"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{},"Version":{"type":"integer"},"Priority":{"type":"integer"}},"required":["LastModifiedDate","CreationDate","SegmentId","SegmentVersion","Id","Arn","ApplicationId"]},"S1m":{"type":"structure","members":{"CampaignStatus":{}}},"S1p":{"type":"structure","members":{"DefaultSubstitutions":{},"HtmlPart":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TextPart":{}}},"S1r":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}},"S1v":{"type":"structure","members":{"ApplicationId":{},"CompletedPieces":{"type":"integer"},"CompletionDate":{},"CreationDate":{},"Definition":{"type":"structure","members":{"RoleArn":{},"S3UrlPrefix":{},"SegmentId":{},"SegmentVersion":{"type":"integer"}},"required":["S3UrlPrefix","RoleArn"]},"FailedPieces":{"type":"integer"},"Failures":{"shape":"S14"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S22":{"type":"structure","members":{"ApplicationId":{},"CompletedPieces":{"type":"integer"},"CompletionDate":{},"CreationDate":{},"Definition":{"type":"structure","members":{"DefineSegment":{"type":"boolean"},"ExternalId":{},"Format":{},"RegisterEndpoints":{"type":"boolean"},"RoleArn":{},"S3Url":{},"SegmentId":{},"SegmentName":{}},"required":["Format","S3Url","RoleArn"]},"FailedPieces":{"type":"integer"},"Failures":{"shape":"S14"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S25":{"type":"structure","members":{"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S29":{"type":"structure","members":{"Activities":{"shape":"S2a"},"CreationDate":{},"LastModifiedDate":{},"Limits":{"shape":"S3a"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S1c"},"RefreshFrequency":{},"Schedule":{"shape":"S3b"},"StartActivity":{},"StartCondition":{"shape":"S3d"},"State":{},"WaitForQuietTime":{"type":"boolean"},"RefreshOnSegmentUpdate":{"type":"boolean"}},"required":["Name"]},"S2a":{"type":"map","key":{},"value":{"type":"structure","members":{"CUSTOM":{"type":"structure","members":{"DeliveryUri":{},"EndpointTypes":{"shape":"Sc"},"MessageConfig":{"type":"structure","members":{"Data":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"ConditionalSplit":{"type":"structure","members":{"Condition":{"type":"structure","members":{"Conditions":{"type":"list","member":{"shape":"S2h"}},"Operator":{}}},"EvaluationWaitTime":{"shape":"S2u"},"FalseActivity":{},"TrueActivity":{}}},"Description":{},"EMAIL":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"FromAddress":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Holdout":{"type":"structure","members":{"NextActivity":{},"Percentage":{"type":"integer"}},"required":["Percentage"]},"MultiCondition":{"type":"structure","members":{"Branches":{"type":"list","member":{"type":"structure","members":{"Condition":{"shape":"S2h"},"NextActivity":{}}}},"DefaultActivity":{},"EvaluationWaitTime":{"shape":"S2u"}}},"PUSH":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"TimeToLive":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"RandomSplit":{"type":"structure","members":{"Branches":{"type":"list","member":{"type":"structure","members":{"NextActivity":{},"Percentage":{"type":"integer"}}}}}},"SMS":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"MessageType":{},"OriginationNumber":{},"SenderId":{},"EntityId":{},"TemplateId":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Wait":{"type":"structure","members":{"NextActivity":{},"WaitTime":{"shape":"S2u"}}},"ContactCenter":{"type":"structure","members":{"NextActivity":{}}}}}},"S2h":{"type":"structure","members":{"EventCondition":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"MessageActivity":{}}},"SegmentCondition":{"shape":"S2j"},"SegmentDimensions":{"shape":"S2k","locationName":"segmentDimensions"}}},"S2j":{"type":"structure","members":{"SegmentId":{}},"required":["SegmentId"]},"S2k":{"type":"structure","members":{"Attributes":{"shape":"S11"},"Behavior":{"type":"structure","members":{"Recency":{"type":"structure","members":{"Duration":{},"RecencyType":{}},"required":["Duration","RecencyType"]}}},"Demographic":{"type":"structure","members":{"AppVersion":{"shape":"S15"},"Channel":{"shape":"S15"},"DeviceType":{"shape":"S15"},"Make":{"shape":"S15"},"Model":{"shape":"S15"},"Platform":{"shape":"S15"}}},"Location":{"type":"structure","members":{"Country":{"shape":"S15"},"GPSPoint":{"type":"structure","members":{"Coordinates":{"type":"structure","members":{"Latitude":{"type":"double"},"Longitude":{"type":"double"}},"required":["Latitude","Longitude"]},"RangeInKilometers":{"type":"double"}},"required":["Coordinates"]}}},"Metrics":{"shape":"S17"},"UserAttributes":{"shape":"S11"}}},"S2u":{"type":"structure","members":{"WaitFor":{},"WaitUntil":{}}},"S3a":{"type":"structure","members":{"DailyCap":{"type":"integer"},"EndpointReentryCap":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"EndpointReentryInterval":{}}},"S3b":{"type":"structure","members":{"EndTime":{"shape":"S3c"},"StartTime":{"shape":"S3c"},"Timezone":{}}},"S3c":{"type":"timestamp","timestampFormat":"iso8601"},"S3d":{"type":"structure","members":{"Description":{},"EventStartCondition":{"type":"structure","members":{"EventFilter":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"FilterType":{}},"required":["FilterType","Dimensions"]},"SegmentId":{}}},"SegmentStartCondition":{"shape":"S2j"}}},"S3i":{"type":"structure","members":{"Activities":{"shape":"S2a"},"ApplicationId":{},"CreationDate":{},"Id":{},"LastModifiedDate":{},"Limits":{"shape":"S3a"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S1c"},"RefreshFrequency":{},"Schedule":{"shape":"S3b"},"StartActivity":{},"StartCondition":{"shape":"S3d"},"State":{},"tags":{"shape":"S4","locationName":"tags"},"WaitForQuietTime":{"type":"boolean"},"RefreshOnSegmentUpdate":{"type":"boolean"},"JourneyChannelSettings":{"type":"structure","members":{"ConnectCampaignArn":{},"ConnectCampaignExecutionRoleArn":{}}}},"required":["Name","Id","ApplicationId"]},"S3l":{"type":"structure","members":{"ADM":{"shape":"S3m"},"APNS":{"shape":"S3n"},"Baidu":{"shape":"S3m"},"Default":{"shape":"S3o"},"DefaultSubstitutions":{},"GCM":{"shape":"S3m"},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S3m":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SmallImageIconUrl":{},"Sound":{},"Title":{},"Url":{}}},"S3n":{"type":"structure","members":{"Action":{},"Body":{},"MediaUrl":{},"RawContent":{},"Sound":{},"Title":{},"Url":{}}},"S3o":{"type":"structure","members":{"Action":{},"Body":{},"Sound":{},"Title":{},"Url":{}}},"S3t":{"type":"structure","members":{"Attributes":{"shape":"S4"},"CreationDate":{},"Description":{},"Id":{},"LastModifiedDate":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","LastModifiedDate","CreationDate","RecommendationProviderRoleArn","Id"]},"S3v":{"type":"structure","members":{"Dimensions":{"shape":"S2k"},"Name":{},"SegmentGroups":{"shape":"S3w"},"tags":{"shape":"S4","locationName":"tags"}}},"S3w":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"shape":"S2k"}},"SourceSegments":{"type":"list","member":{"type":"structure","members":{"Id":{},"Version":{"type":"integer"}},"required":["Id"]}},"SourceType":{},"Type":{}}}},"Include":{}}},"S46":{"type":"structure","members":{"ApplicationId":{},"Arn":{},"CreationDate":{},"Dimensions":{"shape":"S2k"},"Id":{},"ImportDefinition":{"type":"structure","members":{"ChannelCounts":{"type":"map","key":{},"value":{"type":"integer"}},"ExternalId":{},"Format":{},"RoleArn":{},"S3Url":{},"Size":{"type":"integer"}},"required":["Format","S3Url","Size","ExternalId","RoleArn"]},"LastModifiedDate":{},"Name":{},"SegmentGroups":{"shape":"S3w"},"SegmentType":{},"tags":{"shape":"S4","locationName":"tags"},"Version":{"type":"integer"}},"required":["SegmentType","CreationDate","Id","Arn","ApplicationId"]},"S4b":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S4e":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"LanguageCode":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"VoiceId":{}}},"S4i":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4l":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4o":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4r":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4u":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4z":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Credential":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Credential","Platform"]},"S54":{"type":"structure","members":{"ApplicationId":{},"ConfigurationSet":{},"CreationDate":{},"Enabled":{"type":"boolean"},"FromAddress":{},"HasCredential":{"type":"boolean"},"Id":{},"Identity":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"MessagesPerSecond":{"type":"integer"},"Platform":{},"RoleArn":{},"Version":{"type":"integer"}},"required":["Platform"]},"S57":{"type":"structure","members":{"Message":{},"RequestID":{}}},"S5a":{"type":"structure","members":{"Address":{},"ApplicationId":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"CohortId":{},"CreationDate":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}},"S5b":{"type":"map","key":{},"value":{"shape":"S14"}},"S5d":{"type":"structure","members":{"AppVersion":{},"Locale":{},"Make":{},"Model":{},"ModelVersion":{},"Platform":{},"PlatformVersion":{},"Timezone":{}}},"S5e":{"type":"structure","members":{"City":{},"Country":{},"Latitude":{"type":"double"},"Longitude":{"type":"double"},"PostalCode":{},"Region":{}}},"S5f":{"type":"map","key":{},"value":{"type":"double"}},"S5g":{"type":"structure","members":{"UserAttributes":{"shape":"S5b"},"UserId":{}}},"S5j":{"type":"structure","members":{"ApplicationId":{},"DestinationStreamArn":{},"ExternalId":{},"LastModifiedDate":{},"LastUpdatedBy":{},"RoleArn":{}},"required":["ApplicationId","RoleArn","DestinationStreamArn"]},"S5m":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Credential":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Credential","Platform"]},"S5z":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"PromotionalMessagesPerSecond":{"type":"integer"},"SenderId":{},"ShortCode":{},"TransactionalMessagesPerSecond":{"type":"integer"},"Version":{"type":"integer"}},"required":["Platform"]},"S64":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S5a"}}},"required":["Item"]},"S68":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S6q":{"type":"structure","members":{"Rows":{"type":"list","member":{"type":"structure","members":{"GroupedBys":{"shape":"S6t"},"Values":{"shape":"S6t"}},"required":["GroupedBys","Values"]}}},"required":["Rows"]},"S6t":{"type":"list","member":{"type":"structure","members":{"Key":{},"Type":{},"Value":{}},"required":["Type","Value","Key"]}},"S6x":{"type":"structure","members":{"ApplicationId":{},"CampaignHook":{"shape":"S1f"},"LastModifiedDate":{},"Limits":{"shape":"S1h"},"QuietTime":{"shape":"S1c"}},"required":["ApplicationId"]},"S7i":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1j"}},"NextToken":{}},"required":["Item"]},"S85":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1v"}},"NextToken":{}},"required":["Item"]},"S8d":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S22"}},"NextToken":{}},"required":["Item"]},"S9j":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S46"}},"NextToken":{}},"required":["Item"]},"Sa5":{"type":"structure","members":{"tags":{"shape":"S4","locationName":"tags"}},"required":["tags"]},"Sba":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S5b"},"TitleOverride":{}}}},"Sbc":{"type":"structure","members":{"ADMMessage":{"type":"structure","members":{"Action":{},"Body":{},"ConsolidationKey":{},"Data":{"shape":"S4"},"ExpiresAfter":{},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"MD5":{},"RawContent":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"Title":{},"Url":{}}},"APNSMessage":{"type":"structure","members":{"APNSPushType":{},"Action":{},"Badge":{"type":"integer"},"Body":{},"Category":{},"CollapseId":{},"Data":{"shape":"S4"},"MediaUrl":{},"PreferredAuthenticationMethod":{},"Priority":{},"RawContent":{},"SilentPush":{"type":"boolean"},"Sound":{},"Substitutions":{"shape":"S5b"},"ThreadId":{},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"BaiduMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"DefaultMessage":{"type":"structure","members":{"Body":{},"Substitutions":{"shape":"S5b"}}},"DefaultPushNotificationMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"SilentPush":{"type":"boolean"},"Substitutions":{"shape":"S5b"},"Title":{},"Url":{}}},"EmailMessage":{"type":"structure","members":{"Body":{},"FeedbackForwardingAddress":{},"FromAddress":{},"RawEmail":{"type":"structure","members":{"Data":{"type":"blob"}}},"ReplyToAddresses":{"shape":"S14"},"SimpleEmail":{"type":"structure","members":{"HtmlPart":{"shape":"Sbm"},"Subject":{"shape":"Sbm"},"TextPart":{"shape":"Sbm"}}},"Substitutions":{"shape":"S5b"}}},"GCMMessage":{"type":"structure","members":{"Action":{},"Body":{},"CollapseKey":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"Priority":{},"RawContent":{},"RestrictedPackageName":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"SMSMessage":{"type":"structure","members":{"Body":{},"Keyword":{},"MediaUrl":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"Substitutions":{"shape":"S5b"},"EntityId":{},"TemplateId":{}}},"VoiceMessage":{"type":"structure","members":{"Body":{},"LanguageCode":{},"OriginationNumber":{},"Substitutions":{"shape":"S5b"},"VoiceId":{}}}}},"Sbm":{"type":"structure","members":{"Charset":{},"Data":{}}},"Sbr":{"type":"structure","members":{"ApplicationId":{},"EndpointResult":{"shape":"Sbs"},"RequestId":{},"Result":{"type":"map","key":{},"value":{"type":"structure","members":{"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}},"required":["ApplicationId"]},"Sbs":{"type":"map","key":{},"value":{"type":"structure","members":{"Address":{},"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}}} + module.exports = {"metadata":{"apiVersion":"2016-12-01","endpointPrefix":"pinpoint","signingName":"mobiletargeting","serviceFullName":"Amazon Pinpoint","serviceId":"Pinpoint","protocol":"rest-json","jsonVersion":"1.1","uid":"pinpoint-2016-12-01","signatureVersion":"v4"},"operations":{"CreateApp":{"http":{"requestUri":"/v1/apps","responseCode":201},"input":{"type":"structure","members":{"CreateApplicationRequest":{"type":"structure","members":{"Name":{},"tags":{"shape":"S4","locationName":"tags"}},"required":["Name"]}},"required":["CreateApplicationRequest"],"payload":"CreateApplicationRequest"},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"CreateCampaign":{"http":{"requestUri":"/v1/apps/{application-id}/campaigns","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteCampaignRequest":{"shape":"S8"}},"required":["ApplicationId","WriteCampaignRequest"],"payload":"WriteCampaignRequest"},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"CreateEmailTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/email","responseCode":201},"input":{"type":"structure","members":{"EmailTemplateRequest":{"shape":"S1p"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateExportJob":{"http":{"requestUri":"/v1/apps/{application-id}/jobs/export","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"ExportJobRequest":{"type":"structure","members":{"RoleArn":{},"S3UrlPrefix":{},"SegmentId":{},"SegmentVersion":{"type":"integer"}},"required":["S3UrlPrefix","RoleArn"]}},"required":["ApplicationId","ExportJobRequest"],"payload":"ExportJobRequest"},"output":{"type":"structure","members":{"ExportJobResponse":{"shape":"S1v"}},"required":["ExportJobResponse"],"payload":"ExportJobResponse"}},"CreateImportJob":{"http":{"requestUri":"/v1/apps/{application-id}/jobs/import","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"ImportJobRequest":{"type":"structure","members":{"DefineSegment":{"type":"boolean"},"ExternalId":{},"Format":{},"RegisterEndpoints":{"type":"boolean"},"RoleArn":{},"S3Url":{},"SegmentId":{},"SegmentName":{}},"required":["Format","S3Url","RoleArn"]}},"required":["ApplicationId","ImportJobRequest"],"payload":"ImportJobRequest"},"output":{"type":"structure","members":{"ImportJobResponse":{"shape":"S22"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"CreateInAppTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/inapp","responseCode":201},"input":{"type":"structure","members":{"InAppTemplateRequest":{"shape":"S25"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","InAppTemplateRequest"],"payload":"InAppTemplateRequest"},"output":{"type":"structure","members":{"TemplateCreateMessageBody":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}}},"required":["TemplateCreateMessageBody"],"payload":"TemplateCreateMessageBody"}},"CreateJourney":{"http":{"requestUri":"/v1/apps/{application-id}/journeys","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteJourneyRequest":{"shape":"S29"}},"required":["ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3j"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"CreatePushTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/push","responseCode":201},"input":{"type":"structure","members":{"PushNotificationTemplateRequest":{"shape":"S3l"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateRecommenderConfiguration":{"http":{"requestUri":"/v1/recommenders","responseCode":201},"input":{"type":"structure","members":{"CreateRecommenderConfiguration":{"type":"structure","members":{"Attributes":{"shape":"S4"},"Description":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","RecommendationProviderRoleArn"]}},"required":["CreateRecommenderConfiguration"],"payload":"CreateRecommenderConfiguration"},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"CreateSegment":{"http":{"requestUri":"/v1/apps/{application-id}/segments","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteSegmentRequest":{"shape":"S3v"}},"required":["ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"CreateSmsTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/sms","responseCode":201},"input":{"type":"structure","members":{"SMSTemplateRequest":{"shape":"S4b"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateVoiceTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/voice","responseCode":201},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"VoiceTemplateRequest":{"shape":"S4e"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"DeleteAdmChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"DeleteApnsChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"DeleteApnsSandboxChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"DeleteApnsVoipChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"DeleteApnsVoipSandboxChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"DeleteApp":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"DeleteBaiduChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"DeleteCampaign":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"}},"required":["CampaignId","ApplicationId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"DeleteEmailChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"DeleteEmailTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/email","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteEndpoint":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"EndpointResponse":{"shape":"S5a"}},"required":["EndpointResponse"],"payload":"EndpointResponse"}},"DeleteEventStream":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"DeleteGcmChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"DeleteInAppTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/inapp","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteJourney":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"}},"required":["JourneyId","ApplicationId"]},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3j"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"DeletePushTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/push","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteRecommenderConfiguration":{"http":{"method":"DELETE","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"}},"required":["RecommenderId"]},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"DeleteSegment":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"DeleteSmsChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"DeleteSmsTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/sms","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteUserEndpoints":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/users/{user-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"UserId":{"location":"uri","locationName":"user-id"}},"required":["ApplicationId","UserId"]},"output":{"type":"structure","members":{"EndpointsResponse":{"shape":"S64"}},"required":["EndpointsResponse"],"payload":"EndpointsResponse"}},"DeleteVoiceChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"DeleteVoiceTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/voice","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"GetAdmChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"GetApnsChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"GetApnsSandboxChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"GetApnsVoipChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"GetApnsVoipSandboxChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"GetApp":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"GetApplicationDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName"]},"output":{"type":"structure","members":{"ApplicationDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S3c"},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","EndTime","StartTime","ApplicationId"]}},"required":["ApplicationDateRangeKpiResponse"],"payload":"ApplicationDateRangeKpiResponse"}},"GetApplicationSettings":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/settings","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6x"}},"required":["ApplicationSettingsResource"],"payload":"ApplicationSettingsResource"}},"GetApps":{"http":{"method":"GET","requestUri":"/v1/apps","responseCode":200},"input":{"type":"structure","members":{"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}}},"output":{"type":"structure","members":{"ApplicationsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S6"}},"NextToken":{}}}},"required":["ApplicationsResponse"],"payload":"ApplicationsResponse"}},"GetBaiduChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"GetCampaign":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"}},"required":["CampaignId","ApplicationId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"GetCampaignActivities":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/activities","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"ActivitiesResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"End":{},"Id":{},"Result":{},"ScheduledStart":{},"Start":{},"State":{},"SuccessfulEndpointCount":{"type":"integer"},"TimezonesCompletedCount":{"type":"integer"},"TimezonesTotalCount":{"type":"integer"},"TotalEndpointCount":{"type":"integer"},"TreatmentId":{}},"required":["CampaignId","Id","ApplicationId"]}},"NextToken":{}},"required":["Item"]}},"required":["ActivitiesResponse"],"payload":"ActivitiesResponse"}},"GetCampaignDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName","CampaignId"]},"output":{"type":"structure","members":{"CampaignDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"EndTime":{"shape":"S3c"},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","EndTime","CampaignId","StartTime","ApplicationId"]}},"required":["CampaignDateRangeKpiResponse"],"payload":"CampaignDateRangeKpiResponse"}},"GetCampaignVersion":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"Version":{"location":"uri","locationName":"version"}},"required":["Version","ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"GetCampaignVersions":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"CampaignsResponse":{"shape":"S7i"}},"required":["CampaignsResponse"],"payload":"CampaignsResponse"}},"GetCampaigns":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"CampaignsResponse":{"shape":"S7i"}},"required":["CampaignsResponse"],"payload":"CampaignsResponse"}},"GetChannels":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ChannelsResponse":{"type":"structure","members":{"Channels":{"type":"map","key":{},"value":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Version":{"type":"integer"}}}}},"required":["Channels"]}},"required":["ChannelsResponse"],"payload":"ChannelsResponse"}},"GetEmailChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"GetEmailTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/email","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"EmailTemplateResponse":{"type":"structure","members":{"Arn":{},"CreationDate":{},"DefaultSubstitutions":{},"HtmlPart":{},"LastModifiedDate":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"TextPart":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["EmailTemplateResponse"],"payload":"EmailTemplateResponse"}},"GetEndpoint":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"EndpointResponse":{"shape":"S5a"}},"required":["EndpointResponse"],"payload":"EndpointResponse"}},"GetEventStream":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"GetExportJob":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/export/{job-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JobId":{"location":"uri","locationName":"job-id"}},"required":["ApplicationId","JobId"]},"output":{"type":"structure","members":{"ExportJobResponse":{"shape":"S1v"}},"required":["ExportJobResponse"],"payload":"ExportJobResponse"}},"GetExportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/export","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ExportJobsResponse":{"shape":"S85"}},"required":["ExportJobsResponse"],"payload":"ExportJobsResponse"}},"GetGcmChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"GetImportJob":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/import/{job-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JobId":{"location":"uri","locationName":"job-id"}},"required":["ApplicationId","JobId"]},"output":{"type":"structure","members":{"ImportJobResponse":{"shape":"S22"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"GetImportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/import","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ImportJobsResponse":{"shape":"S8d"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"GetInAppMessages":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}/inappmessages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"InAppMessagesResponse":{"type":"structure","members":{"InAppMessageCampaigns":{"type":"list","member":{"type":"structure","members":{"CampaignId":{},"DailyCap":{"type":"integer"},"InAppMessage":{"type":"structure","members":{"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{}}},"Priority":{"type":"integer"},"Schedule":{"type":"structure","members":{"EndDate":{},"EventFilter":{"shape":"Sz"},"QuietTime":{"shape":"S1c"}}},"SessionCap":{"type":"integer"},"TotalCap":{"type":"integer"},"TreatmentId":{}}}}}}},"required":["InAppMessagesResponse"],"payload":"InAppMessagesResponse"}},"GetInAppTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/inapp","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"InAppTemplateResponse":{"type":"structure","members":{"Arn":{},"Content":{"shape":"So"},"CreationDate":{},"CustomConfig":{"shape":"S4"},"LastModifiedDate":{},"Layout":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["InAppTemplateResponse"],"payload":"InAppTemplateResponse"}},"GetJourney":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"}},"required":["JourneyId","ApplicationId"]},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3j"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"GetJourneyDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"JourneyId":{"location":"uri","locationName":"journey-id"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["JourneyId","ApplicationId","KpiName"]},"output":{"type":"structure","members":{"JourneyDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S3c"},"JourneyId":{},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","JourneyId","EndTime","StartTime","ApplicationId"]}},"required":["JourneyDateRangeKpiResponse"],"payload":"JourneyDateRangeKpiResponse"}},"GetJourneyExecutionActivityMetrics":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyActivityId":{"location":"uri","locationName":"journey-activity-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"}},"required":["JourneyActivityId","ApplicationId","JourneyId"]},"output":{"type":"structure","members":{"JourneyExecutionActivityMetricsResponse":{"type":"structure","members":{"ActivityType":{},"ApplicationId":{},"JourneyActivityId":{},"JourneyId":{},"LastEvaluatedTime":{},"Metrics":{"shape":"S4"}},"required":["Metrics","JourneyId","LastEvaluatedTime","JourneyActivityId","ActivityType","ApplicationId"]}},"required":["JourneyExecutionActivityMetricsResponse"],"payload":"JourneyExecutionActivityMetricsResponse"}},"GetJourneyExecutionMetrics":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/execution-metrics","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"}},"required":["ApplicationId","JourneyId"]},"output":{"type":"structure","members":{"JourneyExecutionMetricsResponse":{"type":"structure","members":{"ApplicationId":{},"JourneyId":{},"LastEvaluatedTime":{},"Metrics":{"shape":"S4"}},"required":["Metrics","JourneyId","LastEvaluatedTime","ApplicationId"]}},"required":["JourneyExecutionMetricsResponse"],"payload":"JourneyExecutionMetricsResponse"}},"GetPushTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/push","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"PushNotificationTemplateResponse":{"type":"structure","members":{"ADM":{"shape":"S3m"},"APNS":{"shape":"S3n"},"Arn":{},"Baidu":{"shape":"S3m"},"CreationDate":{},"Default":{"shape":"S3o"},"DefaultSubstitutions":{},"GCM":{"shape":"S3m"},"LastModifiedDate":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateType","TemplateName"]}},"required":["PushNotificationTemplateResponse"],"payload":"PushNotificationTemplateResponse"}},"GetRecommenderConfiguration":{"http":{"method":"GET","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"}},"required":["RecommenderId"]},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"GetRecommenderConfigurations":{"http":{"method":"GET","requestUri":"/v1/recommenders","responseCode":200},"input":{"type":"structure","members":{"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}}},"output":{"type":"structure","members":{"ListRecommenderConfigurationsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3t"}},"NextToken":{}},"required":["Item"]}},"required":["ListRecommenderConfigurationsResponse"],"payload":"ListRecommenderConfigurationsResponse"}},"GetSegment":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"GetSegmentExportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/jobs/export","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"ExportJobsResponse":{"shape":"S85"}},"required":["ExportJobsResponse"],"payload":"ExportJobsResponse"}},"GetSegmentImportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/jobs/import","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"ImportJobsResponse":{"shape":"S8d"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"GetSegmentVersion":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/versions/{version}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Version":{"location":"uri","locationName":"version"}},"required":["SegmentId","Version","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"GetSegmentVersions":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentsResponse":{"shape":"S9j"}},"required":["SegmentsResponse"],"payload":"SegmentsResponse"}},"GetSegments":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SegmentsResponse":{"shape":"S9j"}},"required":["SegmentsResponse"],"payload":"SegmentsResponse"}},"GetSmsChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"GetSmsTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/sms","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"SMSTemplateResponse":{"type":"structure","members":{"Arn":{},"Body":{},"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["SMSTemplateResponse"],"payload":"SMSTemplateResponse"}},"GetUserEndpoints":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/users/{user-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"UserId":{"location":"uri","locationName":"user-id"}},"required":["ApplicationId","UserId"]},"output":{"type":"structure","members":{"EndpointsResponse":{"shape":"S64"}},"required":["EndpointsResponse"],"payload":"EndpointsResponse"}},"GetVoiceChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"GetVoiceTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/voice","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"VoiceTemplateResponse":{"type":"structure","members":{"Arn":{},"Body":{},"CreationDate":{},"DefaultSubstitutions":{},"LanguageCode":{},"LastModifiedDate":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{},"VoiceId":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["VoiceTemplateResponse"],"payload":"VoiceTemplateResponse"}},"ListJourneys":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"JourneysResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3j"}},"NextToken":{}},"required":["Item"]}},"required":["JourneysResponse"],"payload":"JourneysResponse"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"TagsModel":{"shape":"Sa5"}},"required":["TagsModel"],"payload":"TagsModel"}},"ListTemplateVersions":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/{template-type}/versions","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"TemplateName":{"location":"uri","locationName":"template-name"},"TemplateType":{"location":"uri","locationName":"template-type"}},"required":["TemplateName","TemplateType"]},"output":{"type":"structure","members":{"TemplateVersionsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"Message":{},"NextToken":{},"RequestID":{}},"required":["Item"]}},"required":["TemplateVersionsResponse"],"payload":"TemplateVersionsResponse"}},"ListTemplates":{"http":{"method":"GET","requestUri":"/v1/templates","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"Prefix":{"location":"querystring","locationName":"prefix"},"TemplateType":{"location":"querystring","locationName":"template-type"}}},"output":{"type":"structure","members":{"TemplatesResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"NextToken":{}},"required":["Item"]}},"required":["TemplatesResponse"],"payload":"TemplatesResponse"}},"PhoneNumberValidate":{"http":{"requestUri":"/v1/phone/number/validate","responseCode":200},"input":{"type":"structure","members":{"NumberValidateRequest":{"type":"structure","members":{"IsoCountryCode":{},"PhoneNumber":{}}}},"required":["NumberValidateRequest"],"payload":"NumberValidateRequest"},"output":{"type":"structure","members":{"NumberValidateResponse":{"type":"structure","members":{"Carrier":{},"City":{},"CleansedPhoneNumberE164":{},"CleansedPhoneNumberNational":{},"Country":{},"CountryCodeIso2":{},"CountryCodeNumeric":{},"County":{},"OriginalCountryCodeIso2":{},"OriginalPhoneNumber":{},"PhoneType":{},"PhoneTypeCode":{"type":"integer"},"Timezone":{},"ZipCode":{}}}},"required":["NumberValidateResponse"],"payload":"NumberValidateResponse"}},"PutEventStream":{"http":{"requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteEventStream":{"type":"structure","members":{"DestinationStreamArn":{},"RoleArn":{}},"required":["RoleArn","DestinationStreamArn"]}},"required":["ApplicationId","WriteEventStream"],"payload":"WriteEventStream"},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"PutEvents":{"http":{"requestUri":"/v1/apps/{application-id}/events","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EventsRequest":{"type":"structure","members":{"BatchItem":{"type":"map","key":{},"value":{"type":"structure","members":{"Endpoint":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}},"Events":{"type":"map","key":{},"value":{"type":"structure","members":{"AppPackageName":{},"AppTitle":{},"AppVersionCode":{},"Attributes":{"shape":"S4"},"ClientSdkVersion":{},"EventType":{},"Metrics":{"shape":"S5f"},"SdkName":{},"Session":{"type":"structure","members":{"Duration":{"type":"integer"},"Id":{},"StartTimestamp":{},"StopTimestamp":{}},"required":["StartTimestamp","Id"]},"Timestamp":{}},"required":["EventType","Timestamp"]}}},"required":["Endpoint","Events"]}}},"required":["BatchItem"]}},"required":["ApplicationId","EventsRequest"],"payload":"EventsRequest"},"output":{"type":"structure","members":{"EventsResponse":{"type":"structure","members":{"Results":{"type":"map","key":{},"value":{"type":"structure","members":{"EndpointItemResponse":{"type":"structure","members":{"Message":{},"StatusCode":{"type":"integer"}}},"EventsItemResponse":{"type":"map","key":{},"value":{"type":"structure","members":{"Message":{},"StatusCode":{"type":"integer"}}}}}}}}}},"required":["EventsResponse"],"payload":"EventsResponse"}},"RemoveAttributes":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/attributes/{attribute-type}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"AttributeType":{"location":"uri","locationName":"attribute-type"},"UpdateAttributesRequest":{"type":"structure","members":{"Blacklist":{"shape":"S14"}}}},"required":["AttributeType","ApplicationId","UpdateAttributesRequest"],"payload":"UpdateAttributesRequest"},"output":{"type":"structure","members":{"AttributesResource":{"type":"structure","members":{"ApplicationId":{},"AttributeType":{},"Attributes":{"shape":"S14"}},"required":["AttributeType","ApplicationId"]}},"required":["AttributesResource"],"payload":"AttributesResource"}},"SendMessages":{"http":{"requestUri":"/v1/apps/{application-id}/messages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"MessageRequest":{"type":"structure","members":{"Addresses":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"ChannelType":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S5b"},"TitleOverride":{}}}},"Context":{"shape":"S4"},"Endpoints":{"shape":"Sba"},"MessageConfiguration":{"shape":"Sbc"},"TemplateConfiguration":{"shape":"S1d"},"TraceId":{}},"required":["MessageConfiguration"]}},"required":["ApplicationId","MessageRequest"],"payload":"MessageRequest"},"output":{"type":"structure","members":{"MessageResponse":{"shape":"Sbr"}},"required":["MessageResponse"],"payload":"MessageResponse"}},"SendOTPMessage":{"http":{"requestUri":"/v1/apps/{application-id}/otp","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SendOTPMessageRequestParameters":{"type":"structure","members":{"AllowedAttempts":{"type":"integer"},"BrandName":{},"Channel":{},"CodeLength":{"type":"integer"},"DestinationIdentity":{},"EntityId":{},"Language":{},"OriginationIdentity":{},"ReferenceId":{},"TemplateId":{},"ValidityPeriod":{"type":"integer"}},"required":["BrandName","ReferenceId","Channel","DestinationIdentity","OriginationIdentity"]}},"required":["ApplicationId","SendOTPMessageRequestParameters"],"payload":"SendOTPMessageRequestParameters"},"output":{"type":"structure","members":{"MessageResponse":{"shape":"Sbr"}},"required":["MessageResponse"],"payload":"MessageResponse"}},"SendUsersMessages":{"http":{"requestUri":"/v1/apps/{application-id}/users-messages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SendUsersMessageRequest":{"type":"structure","members":{"Context":{"shape":"S4"},"MessageConfiguration":{"shape":"Sbc"},"TemplateConfiguration":{"shape":"S1d"},"TraceId":{},"Users":{"shape":"Sba"}},"required":["MessageConfiguration","Users"]}},"required":["ApplicationId","SendUsersMessageRequest"],"payload":"SendUsersMessageRequest"},"output":{"type":"structure","members":{"SendUsersMessageResponse":{"type":"structure","members":{"ApplicationId":{},"RequestId":{},"Result":{"type":"map","key":{},"value":{"shape":"Sbs"}}},"required":["ApplicationId"]}},"required":["SendUsersMessageResponse"],"payload":"SendUsersMessageResponse"}},"TagResource":{"http":{"requestUri":"/v1/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagsModel":{"shape":"Sa5"}},"required":["ResourceArn","TagsModel"],"payload":"TagsModel"}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"shape":"S14","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"UpdateAdmChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ADMChannelRequest":{"type":"structure","members":{"ClientId":{},"ClientSecret":{},"Enabled":{"type":"boolean"}},"required":["ClientSecret","ClientId"]},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","ADMChannelRequest"],"payload":"ADMChannelRequest"},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"UpdateApnsChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"APNSChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSChannelRequest"],"payload":"APNSChannelRequest"},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"UpdateApnsSandboxChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"APNSSandboxChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSSandboxChannelRequest"],"payload":"APNSSandboxChannelRequest"},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"UpdateApnsVoipChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"APNSVoipChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSVoipChannelRequest"],"payload":"APNSVoipChannelRequest"},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"UpdateApnsVoipSandboxChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"APNSVoipSandboxChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSVoipSandboxChannelRequest"],"payload":"APNSVoipSandboxChannelRequest"},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"UpdateApplicationSettings":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/settings","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteApplicationSettingsRequest":{"type":"structure","members":{"CampaignHook":{"shape":"S1f"},"CloudWatchMetricsEnabled":{"type":"boolean"},"EventTaggingEnabled":{"type":"boolean"},"Limits":{"shape":"S1h"},"QuietTime":{"shape":"S1c"}}}},"required":["ApplicationId","WriteApplicationSettingsRequest"],"payload":"WriteApplicationSettingsRequest"},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6x"}},"required":["ApplicationSettingsResource"],"payload":"ApplicationSettingsResource"}},"UpdateBaiduChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"BaiduChannelRequest":{"type":"structure","members":{"ApiKey":{},"Enabled":{"type":"boolean"},"SecretKey":{}},"required":["SecretKey","ApiKey"]}},"required":["ApplicationId","BaiduChannelRequest"],"payload":"BaiduChannelRequest"},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"UpdateCampaign":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"WriteCampaignRequest":{"shape":"S8"}},"required":["CampaignId","ApplicationId","WriteCampaignRequest"],"payload":"WriteCampaignRequest"},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"UpdateEmailChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EmailChannelRequest":{"type":"structure","members":{"ConfigurationSet":{},"Enabled":{"type":"boolean"},"FromAddress":{},"Identity":{},"RoleArn":{}},"required":["FromAddress","Identity"]}},"required":["ApplicationId","EmailChannelRequest"],"payload":"EmailChannelRequest"},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"UpdateEmailTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/email","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"EmailTemplateRequest":{"shape":"S1p"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateEndpoint":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"},"EndpointRequest":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}}},"required":["ApplicationId","EndpointId","EndpointRequest"],"payload":"EndpointRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateEndpointsBatch":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/endpoints","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointBatchRequest":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}}}},"required":["Item"]}},"required":["ApplicationId","EndpointBatchRequest"],"payload":"EndpointBatchRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateGcmChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"GCMChannelRequest":{"type":"structure","members":{"ApiKey":{},"Enabled":{"type":"boolean"}},"required":["ApiKey"]}},"required":["ApplicationId","GCMChannelRequest"],"payload":"GCMChannelRequest"},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"UpdateInAppTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/inapp","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"InAppTemplateRequest":{"shape":"S25"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","InAppTemplateRequest"],"payload":"InAppTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateJourney":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"WriteJourneyRequest":{"shape":"S29"}},"required":["JourneyId","ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3j"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"UpdateJourneyState":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/state","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"JourneyStateRequest":{"type":"structure","members":{"State":{}}}},"required":["JourneyId","ApplicationId","JourneyStateRequest"],"payload":"JourneyStateRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3j"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"UpdatePushTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/push","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"PushNotificationTemplateRequest":{"shape":"S3l"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateRecommenderConfiguration":{"http":{"method":"PUT","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"},"UpdateRecommenderConfiguration":{"type":"structure","members":{"Attributes":{"shape":"S4"},"Description":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","RecommendationProviderRoleArn"]}},"required":["RecommenderId","UpdateRecommenderConfiguration"],"payload":"UpdateRecommenderConfiguration"},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"UpdateSegment":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"},"WriteSegmentRequest":{"shape":"S3v"}},"required":["SegmentId","ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"UpdateSmsChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SMSChannelRequest":{"type":"structure","members":{"Enabled":{"type":"boolean"},"SenderId":{},"ShortCode":{}}}},"required":["ApplicationId","SMSChannelRequest"],"payload":"SMSChannelRequest"},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"UpdateSmsTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/sms","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"SMSTemplateRequest":{"shape":"S4b"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateTemplateActiveVersion":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/{template-type}/active-version","responseCode":200},"input":{"type":"structure","members":{"TemplateActiveVersionRequest":{"type":"structure","members":{"Version":{}}},"TemplateName":{"location":"uri","locationName":"template-name"},"TemplateType":{"location":"uri","locationName":"template-type"}},"required":["TemplateName","TemplateType","TemplateActiveVersionRequest"],"payload":"TemplateActiveVersionRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateVoiceChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"VoiceChannelRequest":{"type":"structure","members":{"Enabled":{"type":"boolean"}}}},"required":["ApplicationId","VoiceChannelRequest"],"payload":"VoiceChannelRequest"},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"UpdateVoiceTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/voice","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"},"VoiceTemplateRequest":{"shape":"S4e"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"VerifyOTPMessage":{"http":{"requestUri":"/v1/apps/{application-id}/verify-otp","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"VerifyOTPMessageRequestParameters":{"type":"structure","members":{"DestinationIdentity":{},"Otp":{},"ReferenceId":{}},"required":["ReferenceId","Otp","DestinationIdentity"]}},"required":["ApplicationId","VerifyOTPMessageRequestParameters"],"payload":"VerifyOTPMessageRequestParameters"},"output":{"type":"structure","members":{"VerificationResponse":{"type":"structure","members":{"Valid":{"type":"boolean"}}}},"required":["VerificationResponse"],"payload":"VerificationResponse"}}},"shapes":{"S4":{"type":"map","key":{},"value":{}},"S6":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"tags":{"shape":"S4","locationName":"tags"},"CreationDate":{}},"required":["Id","Arn","Name"]},"S8":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sy"},"SizePercent":{"type":"integer"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{}},"required":["SizePercent"]}},"CustomDeliveryConfiguration":{"shape":"Sb"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S1f"},"IsPaused":{"type":"boolean"},"Limits":{"shape":"S1h"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sy"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{},"Priority":{"type":"integer"}}},"Sb":{"type":"structure","members":{"DeliveryUri":{},"EndpointTypes":{"shape":"Sc"}},"required":["DeliveryUri"]},"Sc":{"type":"list","member":{}},"Se":{"type":"structure","members":{"ADMMessage":{"shape":"Sf"},"APNSMessage":{"shape":"Sf"},"BaiduMessage":{"shape":"Sf"},"CustomMessage":{"type":"structure","members":{"Data":{}}},"DefaultMessage":{"shape":"Sf"},"EmailMessage":{"type":"structure","members":{"Body":{},"FromAddress":{},"HtmlBody":{},"Title":{}}},"GCMMessage":{"shape":"Sf"},"SMSMessage":{"type":"structure","members":{"Body":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"EntityId":{},"TemplateId":{}}},"InAppMessage":{"type":"structure","members":{"Body":{},"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{}}}}},"Sf":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageSmallIconUrl":{},"ImageUrl":{},"JsonBody":{},"MediaUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"So":{"type":"list","member":{"type":"structure","members":{"BackgroundColor":{},"BodyConfig":{"type":"structure","members":{"Alignment":{},"Body":{},"TextColor":{}},"required":["Alignment","TextColor","Body"]},"HeaderConfig":{"type":"structure","members":{"Alignment":{},"Header":{},"TextColor":{}},"required":["Alignment","Header","TextColor"]},"ImageUrl":{},"PrimaryBtn":{"shape":"St"},"SecondaryBtn":{"shape":"St"}}}},"St":{"type":"structure","members":{"Android":{"shape":"Su"},"DefaultConfig":{"type":"structure","members":{"BackgroundColor":{},"BorderRadius":{"type":"integer"},"ButtonAction":{},"Link":{},"Text":{},"TextColor":{}},"required":["ButtonAction","Text"]},"IOS":{"shape":"Su"},"Web":{"shape":"Su"}}},"Su":{"type":"structure","members":{"ButtonAction":{},"Link":{}},"required":["ButtonAction"]},"Sy":{"type":"structure","members":{"EndTime":{},"EventFilter":{"shape":"Sz"},"Frequency":{},"IsLocalTime":{"type":"boolean"},"QuietTime":{"shape":"S1c"},"StartTime":{},"Timezone":{}},"required":["StartTime"]},"Sz":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"FilterType":{}},"required":["FilterType","Dimensions"]},"S10":{"type":"structure","members":{"Attributes":{"shape":"S11"},"EventType":{"shape":"S15"},"Metrics":{"shape":"S17"}}},"S11":{"type":"map","key":{},"value":{"type":"structure","members":{"AttributeType":{},"Values":{"shape":"S14"}},"required":["Values"]}},"S14":{"type":"list","member":{}},"S15":{"type":"structure","members":{"DimensionType":{},"Values":{"shape":"S14"}},"required":["Values"]},"S17":{"type":"map","key":{},"value":{"type":"structure","members":{"ComparisonOperator":{},"Value":{"type":"double"}},"required":["ComparisonOperator","Value"]}},"S1c":{"type":"structure","members":{"End":{},"Start":{}}},"S1d":{"type":"structure","members":{"EmailTemplate":{"shape":"S1e"},"PushTemplate":{"shape":"S1e"},"SMSTemplate":{"shape":"S1e"},"VoiceTemplate":{"shape":"S1e"}}},"S1e":{"type":"structure","members":{"Name":{},"Version":{}}},"S1f":{"type":"structure","members":{"LambdaFunctionName":{},"Mode":{},"WebUrl":{}}},"S1h":{"type":"structure","members":{"Daily":{"type":"integer"},"MaximumDuration":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"Total":{"type":"integer"},"Session":{"type":"integer"}}},"S1j":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"Id":{},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sy"},"SizePercent":{"type":"integer"},"State":{"shape":"S1m"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{}},"required":["Id","SizePercent"]}},"ApplicationId":{},"Arn":{},"CreationDate":{},"CustomDeliveryConfiguration":{"shape":"Sb"},"DefaultState":{"shape":"S1m"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S1f"},"Id":{},"IsPaused":{"type":"boolean"},"LastModifiedDate":{},"Limits":{"shape":"S1h"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sy"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"State":{"shape":"S1m"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{},"Version":{"type":"integer"},"Priority":{"type":"integer"}},"required":["LastModifiedDate","CreationDate","SegmentId","SegmentVersion","Id","Arn","ApplicationId"]},"S1m":{"type":"structure","members":{"CampaignStatus":{}}},"S1p":{"type":"structure","members":{"DefaultSubstitutions":{},"HtmlPart":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TextPart":{}}},"S1r":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}},"S1v":{"type":"structure","members":{"ApplicationId":{},"CompletedPieces":{"type":"integer"},"CompletionDate":{},"CreationDate":{},"Definition":{"type":"structure","members":{"RoleArn":{},"S3UrlPrefix":{},"SegmentId":{},"SegmentVersion":{"type":"integer"}},"required":["S3UrlPrefix","RoleArn"]},"FailedPieces":{"type":"integer"},"Failures":{"shape":"S14"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S22":{"type":"structure","members":{"ApplicationId":{},"CompletedPieces":{"type":"integer"},"CompletionDate":{},"CreationDate":{},"Definition":{"type":"structure","members":{"DefineSegment":{"type":"boolean"},"ExternalId":{},"Format":{},"RegisterEndpoints":{"type":"boolean"},"RoleArn":{},"S3Url":{},"SegmentId":{},"SegmentName":{}},"required":["Format","S3Url","RoleArn"]},"FailedPieces":{"type":"integer"},"Failures":{"shape":"S14"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S25":{"type":"structure","members":{"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S29":{"type":"structure","members":{"Activities":{"shape":"S2a"},"CreationDate":{},"LastModifiedDate":{},"Limits":{"shape":"S3a"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S1c"},"RefreshFrequency":{},"Schedule":{"shape":"S3b"},"StartActivity":{},"StartCondition":{"shape":"S3d"},"State":{},"WaitForQuietTime":{"type":"boolean"},"RefreshOnSegmentUpdate":{"type":"boolean"},"JourneyChannelSettings":{"shape":"S3h"}},"required":["Name"]},"S2a":{"type":"map","key":{},"value":{"type":"structure","members":{"CUSTOM":{"type":"structure","members":{"DeliveryUri":{},"EndpointTypes":{"shape":"Sc"},"MessageConfig":{"type":"structure","members":{"Data":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"ConditionalSplit":{"type":"structure","members":{"Condition":{"type":"structure","members":{"Conditions":{"type":"list","member":{"shape":"S2h"}},"Operator":{}}},"EvaluationWaitTime":{"shape":"S2u"},"FalseActivity":{},"TrueActivity":{}}},"Description":{},"EMAIL":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"FromAddress":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Holdout":{"type":"structure","members":{"NextActivity":{},"Percentage":{"type":"integer"}},"required":["Percentage"]},"MultiCondition":{"type":"structure","members":{"Branches":{"type":"list","member":{"type":"structure","members":{"Condition":{"shape":"S2h"},"NextActivity":{}}}},"DefaultActivity":{},"EvaluationWaitTime":{"shape":"S2u"}}},"PUSH":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"TimeToLive":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"RandomSplit":{"type":"structure","members":{"Branches":{"type":"list","member":{"type":"structure","members":{"NextActivity":{},"Percentage":{"type":"integer"}}}}}},"SMS":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"MessageType":{},"OriginationNumber":{},"SenderId":{},"EntityId":{},"TemplateId":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Wait":{"type":"structure","members":{"NextActivity":{},"WaitTime":{"shape":"S2u"}}},"ContactCenter":{"type":"structure","members":{"NextActivity":{}}}}}},"S2h":{"type":"structure","members":{"EventCondition":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"MessageActivity":{}}},"SegmentCondition":{"shape":"S2j"},"SegmentDimensions":{"shape":"S2k","locationName":"segmentDimensions"}}},"S2j":{"type":"structure","members":{"SegmentId":{}},"required":["SegmentId"]},"S2k":{"type":"structure","members":{"Attributes":{"shape":"S11"},"Behavior":{"type":"structure","members":{"Recency":{"type":"structure","members":{"Duration":{},"RecencyType":{}},"required":["Duration","RecencyType"]}}},"Demographic":{"type":"structure","members":{"AppVersion":{"shape":"S15"},"Channel":{"shape":"S15"},"DeviceType":{"shape":"S15"},"Make":{"shape":"S15"},"Model":{"shape":"S15"},"Platform":{"shape":"S15"}}},"Location":{"type":"structure","members":{"Country":{"shape":"S15"},"GPSPoint":{"type":"structure","members":{"Coordinates":{"type":"structure","members":{"Latitude":{"type":"double"},"Longitude":{"type":"double"}},"required":["Latitude","Longitude"]},"RangeInKilometers":{"type":"double"}},"required":["Coordinates"]}}},"Metrics":{"shape":"S17"},"UserAttributes":{"shape":"S11"}}},"S2u":{"type":"structure","members":{"WaitFor":{},"WaitUntil":{}}},"S3a":{"type":"structure","members":{"DailyCap":{"type":"integer"},"EndpointReentryCap":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"EndpointReentryInterval":{}}},"S3b":{"type":"structure","members":{"EndTime":{"shape":"S3c"},"StartTime":{"shape":"S3c"},"Timezone":{}}},"S3c":{"type":"timestamp","timestampFormat":"iso8601"},"S3d":{"type":"structure","members":{"Description":{},"EventStartCondition":{"type":"structure","members":{"EventFilter":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"FilterType":{}},"required":["FilterType","Dimensions"]},"SegmentId":{}}},"SegmentStartCondition":{"shape":"S2j"}}},"S3h":{"type":"structure","members":{"ConnectCampaignArn":{},"ConnectCampaignExecutionRoleArn":{}}},"S3j":{"type":"structure","members":{"Activities":{"shape":"S2a"},"ApplicationId":{},"CreationDate":{},"Id":{},"LastModifiedDate":{},"Limits":{"shape":"S3a"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S1c"},"RefreshFrequency":{},"Schedule":{"shape":"S3b"},"StartActivity":{},"StartCondition":{"shape":"S3d"},"State":{},"tags":{"shape":"S4","locationName":"tags"},"WaitForQuietTime":{"type":"boolean"},"RefreshOnSegmentUpdate":{"type":"boolean"},"JourneyChannelSettings":{"shape":"S3h"}},"required":["Name","Id","ApplicationId"]},"S3l":{"type":"structure","members":{"ADM":{"shape":"S3m"},"APNS":{"shape":"S3n"},"Baidu":{"shape":"S3m"},"Default":{"shape":"S3o"},"DefaultSubstitutions":{},"GCM":{"shape":"S3m"},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S3m":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SmallImageIconUrl":{},"Sound":{},"Title":{},"Url":{}}},"S3n":{"type":"structure","members":{"Action":{},"Body":{},"MediaUrl":{},"RawContent":{},"Sound":{},"Title":{},"Url":{}}},"S3o":{"type":"structure","members":{"Action":{},"Body":{},"Sound":{},"Title":{},"Url":{}}},"S3t":{"type":"structure","members":{"Attributes":{"shape":"S4"},"CreationDate":{},"Description":{},"Id":{},"LastModifiedDate":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","LastModifiedDate","CreationDate","RecommendationProviderRoleArn","Id"]},"S3v":{"type":"structure","members":{"Dimensions":{"shape":"S2k"},"Name":{},"SegmentGroups":{"shape":"S3w"},"tags":{"shape":"S4","locationName":"tags"}}},"S3w":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"shape":"S2k"}},"SourceSegments":{"type":"list","member":{"type":"structure","members":{"Id":{},"Version":{"type":"integer"}},"required":["Id"]}},"SourceType":{},"Type":{}}}},"Include":{}}},"S46":{"type":"structure","members":{"ApplicationId":{},"Arn":{},"CreationDate":{},"Dimensions":{"shape":"S2k"},"Id":{},"ImportDefinition":{"type":"structure","members":{"ChannelCounts":{"type":"map","key":{},"value":{"type":"integer"}},"ExternalId":{},"Format":{},"RoleArn":{},"S3Url":{},"Size":{"type":"integer"}},"required":["Format","S3Url","Size","ExternalId","RoleArn"]},"LastModifiedDate":{},"Name":{},"SegmentGroups":{"shape":"S3w"},"SegmentType":{},"tags":{"shape":"S4","locationName":"tags"},"Version":{"type":"integer"}},"required":["SegmentType","CreationDate","Id","Arn","ApplicationId"]},"S4b":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S4e":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"LanguageCode":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"VoiceId":{}}},"S4i":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4l":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4o":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4r":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4u":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4z":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Credential":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Credential","Platform"]},"S54":{"type":"structure","members":{"ApplicationId":{},"ConfigurationSet":{},"CreationDate":{},"Enabled":{"type":"boolean"},"FromAddress":{},"HasCredential":{"type":"boolean"},"Id":{},"Identity":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"MessagesPerSecond":{"type":"integer"},"Platform":{},"RoleArn":{},"Version":{"type":"integer"}},"required":["Platform"]},"S57":{"type":"structure","members":{"Message":{},"RequestID":{}}},"S5a":{"type":"structure","members":{"Address":{},"ApplicationId":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"CohortId":{},"CreationDate":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}},"S5b":{"type":"map","key":{},"value":{"shape":"S14"}},"S5d":{"type":"structure","members":{"AppVersion":{},"Locale":{},"Make":{},"Model":{},"ModelVersion":{},"Platform":{},"PlatformVersion":{},"Timezone":{}}},"S5e":{"type":"structure","members":{"City":{},"Country":{},"Latitude":{"type":"double"},"Longitude":{"type":"double"},"PostalCode":{},"Region":{}}},"S5f":{"type":"map","key":{},"value":{"type":"double"}},"S5g":{"type":"structure","members":{"UserAttributes":{"shape":"S5b"},"UserId":{}}},"S5j":{"type":"structure","members":{"ApplicationId":{},"DestinationStreamArn":{},"ExternalId":{},"LastModifiedDate":{},"LastUpdatedBy":{},"RoleArn":{}},"required":["ApplicationId","RoleArn","DestinationStreamArn"]},"S5m":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Credential":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Credential","Platform"]},"S5z":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"PromotionalMessagesPerSecond":{"type":"integer"},"SenderId":{},"ShortCode":{},"TransactionalMessagesPerSecond":{"type":"integer"},"Version":{"type":"integer"}},"required":["Platform"]},"S64":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S5a"}}},"required":["Item"]},"S68":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S6q":{"type":"structure","members":{"Rows":{"type":"list","member":{"type":"structure","members":{"GroupedBys":{"shape":"S6t"},"Values":{"shape":"S6t"}},"required":["GroupedBys","Values"]}}},"required":["Rows"]},"S6t":{"type":"list","member":{"type":"structure","members":{"Key":{},"Type":{},"Value":{}},"required":["Type","Value","Key"]}},"S6x":{"type":"structure","members":{"ApplicationId":{},"CampaignHook":{"shape":"S1f"},"LastModifiedDate":{},"Limits":{"shape":"S1h"},"QuietTime":{"shape":"S1c"}},"required":["ApplicationId"]},"S7i":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1j"}},"NextToken":{}},"required":["Item"]},"S85":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1v"}},"NextToken":{}},"required":["Item"]},"S8d":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S22"}},"NextToken":{}},"required":["Item"]},"S9j":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S46"}},"NextToken":{}},"required":["Item"]},"Sa5":{"type":"structure","members":{"tags":{"shape":"S4","locationName":"tags"}},"required":["tags"]},"Sba":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S5b"},"TitleOverride":{}}}},"Sbc":{"type":"structure","members":{"ADMMessage":{"type":"structure","members":{"Action":{},"Body":{},"ConsolidationKey":{},"Data":{"shape":"S4"},"ExpiresAfter":{},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"MD5":{},"RawContent":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"Title":{},"Url":{}}},"APNSMessage":{"type":"structure","members":{"APNSPushType":{},"Action":{},"Badge":{"type":"integer"},"Body":{},"Category":{},"CollapseId":{},"Data":{"shape":"S4"},"MediaUrl":{},"PreferredAuthenticationMethod":{},"Priority":{},"RawContent":{},"SilentPush":{"type":"boolean"},"Sound":{},"Substitutions":{"shape":"S5b"},"ThreadId":{},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"BaiduMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"DefaultMessage":{"type":"structure","members":{"Body":{},"Substitutions":{"shape":"S5b"}}},"DefaultPushNotificationMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"SilentPush":{"type":"boolean"},"Substitutions":{"shape":"S5b"},"Title":{},"Url":{}}},"EmailMessage":{"type":"structure","members":{"Body":{},"FeedbackForwardingAddress":{},"FromAddress":{},"RawEmail":{"type":"structure","members":{"Data":{"type":"blob"}}},"ReplyToAddresses":{"shape":"S14"},"SimpleEmail":{"type":"structure","members":{"HtmlPart":{"shape":"Sbm"},"Subject":{"shape":"Sbm"},"TextPart":{"shape":"Sbm"}}},"Substitutions":{"shape":"S5b"}}},"GCMMessage":{"type":"structure","members":{"Action":{},"Body":{},"CollapseKey":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"Priority":{},"RawContent":{},"RestrictedPackageName":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"SMSMessage":{"type":"structure","members":{"Body":{},"Keyword":{},"MediaUrl":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"Substitutions":{"shape":"S5b"},"EntityId":{},"TemplateId":{}}},"VoiceMessage":{"type":"structure","members":{"Body":{},"LanguageCode":{},"OriginationNumber":{},"Substitutions":{"shape":"S5b"},"VoiceId":{}}}}},"Sbm":{"type":"structure","members":{"Charset":{},"Data":{}}},"Sbr":{"type":"structure","members":{"ApplicationId":{},"EndpointResult":{"shape":"Sbs"},"RequestId":{},"Result":{"type":"map","key":{},"value":{"type":"structure","members":{"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}},"required":["ApplicationId"]},"Sbs":{"type":"map","key":{},"value":{"type":"structure","members":{"Address":{},"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}}} /***/ }), /* 318 */ @@ -36714,7 +36720,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 336 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2014-10-31","endpointPrefix":"rds","protocol":"query","serviceAbbreviation":"Amazon RDS","serviceFullName":"Amazon Relational Database Service","serviceId":"RDS","signatureVersion":"v4","uid":"rds-2014-10-31","xmlNamespace":"http://rds.amazonaws.com/doc/2014-10-31/"},"operations":{"AddRoleToDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","RoleArn"],"members":{"DBClusterIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"AddRoleToDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier","RoleArn","FeatureName"],"members":{"DBInstanceIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"AddSourceIdentifierToSubscription":{"input":{"type":"structure","required":["SubscriptionName","SourceIdentifier"],"members":{"SubscriptionName":{},"SourceIdentifier":{}}},"output":{"resultWrapper":"AddSourceIdentifierToSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"AddTagsToResource":{"input":{"type":"structure","required":["ResourceName","Tags"],"members":{"ResourceName":{},"Tags":{"shape":"Sb"}}}},"ApplyPendingMaintenanceAction":{"input":{"type":"structure","required":["ResourceIdentifier","ApplyAction","OptInType"],"members":{"ResourceIdentifier":{},"ApplyAction":{},"OptInType":{}}},"output":{"resultWrapper":"ApplyPendingMaintenanceActionResult","type":"structure","members":{"ResourcePendingMaintenanceActions":{"shape":"Sf"}}}},"AuthorizeDBSecurityGroupIngress":{"input":{"type":"structure","required":["DBSecurityGroupName"],"members":{"DBSecurityGroupName":{},"CIDRIP":{},"EC2SecurityGroupName":{},"EC2SecurityGroupId":{},"EC2SecurityGroupOwnerId":{}}},"output":{"resultWrapper":"AuthorizeDBSecurityGroupIngressResult","type":"structure","members":{"DBSecurityGroup":{"shape":"Sl"}}}},"BacktrackDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","BacktrackTo"],"members":{"DBClusterIdentifier":{},"BacktrackTo":{"type":"timestamp"},"Force":{"type":"boolean"},"UseEarliestTimeOnPointInTimeUnavailable":{"type":"boolean"}}},"output":{"shape":"Ss","resultWrapper":"BacktrackDBClusterResult"}},"CancelExportTask":{"input":{"type":"structure","required":["ExportTaskIdentifier"],"members":{"ExportTaskIdentifier":{}}},"output":{"shape":"Su","resultWrapper":"CancelExportTaskResult"}},"CopyDBClusterParameterGroup":{"input":{"type":"structure","required":["SourceDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupDescription"],"members":{"SourceDBClusterParameterGroupIdentifier":{},"TargetDBClusterParameterGroupIdentifier":{},"TargetDBClusterParameterGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CopyDBClusterParameterGroupResult","type":"structure","members":{"DBClusterParameterGroup":{"shape":"Sz"}}}},"CopyDBClusterSnapshot":{"input":{"type":"structure","required":["SourceDBClusterSnapshotIdentifier","TargetDBClusterSnapshotIdentifier"],"members":{"SourceDBClusterSnapshotIdentifier":{},"TargetDBClusterSnapshotIdentifier":{},"KmsKeyId":{},"PreSignedUrl":{},"CopyTags":{"type":"boolean"},"Tags":{"shape":"Sb"},"SourceRegion":{}}},"output":{"resultWrapper":"CopyDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"S12"}}}},"CopyDBParameterGroup":{"input":{"type":"structure","required":["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],"members":{"SourceDBParameterGroupIdentifier":{},"TargetDBParameterGroupIdentifier":{},"TargetDBParameterGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CopyDBParameterGroupResult","type":"structure","members":{"DBParameterGroup":{"shape":"S16"}}}},"CopyDBSnapshot":{"input":{"type":"structure","required":["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],"members":{"SourceDBSnapshotIdentifier":{},"TargetDBSnapshotIdentifier":{},"KmsKeyId":{},"Tags":{"shape":"Sb"},"CopyTags":{"type":"boolean"},"PreSignedUrl":{},"OptionGroupName":{},"TargetCustomAvailabilityZone":{},"SourceRegion":{}}},"output":{"resultWrapper":"CopyDBSnapshotResult","type":"structure","members":{"DBSnapshot":{"shape":"S19"}}}},"CopyOptionGroup":{"input":{"type":"structure","required":["SourceOptionGroupIdentifier","TargetOptionGroupIdentifier","TargetOptionGroupDescription"],"members":{"SourceOptionGroupIdentifier":{},"TargetOptionGroupIdentifier":{},"TargetOptionGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CopyOptionGroupResult","type":"structure","members":{"OptionGroup":{"shape":"S1f"}}}},"CreateCustomAvailabilityZone":{"input":{"type":"structure","required":["CustomAvailabilityZoneName"],"members":{"CustomAvailabilityZoneName":{},"ExistingVpnId":{},"NewVpnTunnelName":{},"VpnTunnelOriginatorIP":{}}},"output":{"resultWrapper":"CreateCustomAvailabilityZoneResult","type":"structure","members":{"CustomAvailabilityZone":{"shape":"S1q"}}}},"CreateCustomDBEngineVersion":{"input":{"type":"structure","required":["Engine","EngineVersion","DatabaseInstallationFilesS3BucketName","KMSKeyId","Manifest"],"members":{"Engine":{},"EngineVersion":{},"DatabaseInstallationFilesS3BucketName":{},"DatabaseInstallationFilesS3Prefix":{},"KMSKeyId":{},"Description":{},"Manifest":{},"Tags":{"shape":"Sb"}}},"output":{"shape":"S21","resultWrapper":"CreateCustomDBEngineVersionResult"}},"CreateDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","Engine"],"members":{"AvailabilityZones":{"shape":"S13"},"BackupRetentionPeriod":{"type":"integer"},"CharacterSetName":{},"DatabaseName":{},"DBClusterIdentifier":{},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"DBSubnetGroupName":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"MasterUsername":{},"MasterUserPassword":{},"OptionGroupName":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"ReplicationSourceIdentifier":{},"Tags":{"shape":"Sb"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"PreSignedUrl":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"BacktrackWindow":{"type":"long"},"EnableCloudwatchLogsExports":{"shape":"S29"},"EngineMode":{},"ScalingConfiguration":{"shape":"S2e"},"DeletionProtection":{"type":"boolean"},"GlobalClusterIdentifier":{},"EnableHttpEndpoint":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{},"EnableGlobalWriteForwarding":{"type":"boolean"},"DBClusterInstanceClass":{},"AllocatedStorage":{"type":"integer"},"StorageType":{},"Iops":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"SourceRegion":{}}},"output":{"resultWrapper":"CreateDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"CreateDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterIdentifier","DBClusterEndpointIdentifier","EndpointType"],"members":{"DBClusterIdentifier":{},"DBClusterEndpointIdentifier":{},"EndpointType":{},"StaticMembers":{"shape":"Sv"},"ExcludedMembers":{"shape":"Sv"},"Tags":{"shape":"Sb"}}},"output":{"shape":"S2x","resultWrapper":"CreateDBClusterEndpointResult"}},"CreateDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName","DBParameterGroupFamily","Description"],"members":{"DBClusterParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBClusterParameterGroupResult","type":"structure","members":{"DBClusterParameterGroup":{"shape":"Sz"}}}},"CreateDBClusterSnapshot":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier","DBClusterIdentifier"],"members":{"DBClusterSnapshotIdentifier":{},"DBClusterIdentifier":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"S12"}}}},"CreateDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier","DBInstanceClass","Engine"],"members":{"DBName":{},"DBInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"DBInstanceClass":{},"Engine":{},"MasterUsername":{},"MasterUserPassword":{},"DBSecurityGroups":{"shape":"S33"},"VpcSecurityGroupIds":{"shape":"S2c"},"AvailabilityZone":{},"DBSubnetGroupName":{},"PreferredMaintenanceWindow":{},"DBParameterGroupName":{},"BackupRetentionPeriod":{"type":"integer"},"PreferredBackupWindow":{},"Port":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupName":{},"CharacterSetName":{},"NcharCharacterSetName":{},"PubliclyAccessible":{"type":"boolean"},"Tags":{"shape":"Sb"},"DBClusterIdentifier":{},"StorageType":{},"TdeCredentialArn":{},"TdeCredentialPassword":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"Domain":{},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"DomainIAMRoleName":{},"PromotionTier":{"type":"integer"},"Timezone":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"DeletionProtection":{"type":"boolean"},"MaxAllocatedStorage":{"type":"integer"},"EnableCustomerOwnedIp":{"type":"boolean"},"CustomIamInstanceProfile":{},"BackupTarget":{}}},"output":{"resultWrapper":"CreateDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"CreateDBInstanceReadReplica":{"input":{"type":"structure","required":["DBInstanceIdentifier","SourceDBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"SourceDBInstanceIdentifier":{},"DBInstanceClass":{},"AvailabilityZone":{},"Port":{"type":"integer"},"MultiAZ":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"Iops":{"type":"integer"},"OptionGroupName":{},"DBParameterGroupName":{},"PubliclyAccessible":{"type":"boolean"},"Tags":{"shape":"Sb"},"DBSubnetGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"StorageType":{},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"KmsKeyId":{},"PreSignedUrl":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DeletionProtection":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{},"ReplicaMode":{},"MaxAllocatedStorage":{"type":"integer"},"CustomIamInstanceProfile":{},"SourceRegion":{}}},"output":{"resultWrapper":"CreateDBInstanceReadReplicaResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"CreateDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName","DBParameterGroupFamily","Description"],"members":{"DBParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBParameterGroupResult","type":"structure","members":{"DBParameterGroup":{"shape":"S16"}}}},"CreateDBProxy":{"input":{"type":"structure","required":["DBProxyName","EngineFamily","Auth","RoleArn","VpcSubnetIds"],"members":{"DBProxyName":{},"EngineFamily":{},"Auth":{"shape":"S3x"},"RoleArn":{},"VpcSubnetIds":{"shape":"Sv"},"VpcSecurityGroupIds":{"shape":"Sv"},"RequireTLS":{"type":"boolean"},"IdleClientTimeout":{"type":"integer"},"DebugLogging":{"type":"boolean"},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBProxyResult","type":"structure","members":{"DBProxy":{"shape":"S42"}}}},"CreateDBProxyEndpoint":{"input":{"type":"structure","required":["DBProxyName","DBProxyEndpointName","VpcSubnetIds"],"members":{"DBProxyName":{},"DBProxyEndpointName":{},"VpcSubnetIds":{"shape":"Sv"},"VpcSecurityGroupIds":{"shape":"Sv"},"TargetRole":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBProxyEndpointResult","type":"structure","members":{"DBProxyEndpoint":{"shape":"S4b"}}}},"CreateDBSecurityGroup":{"input":{"type":"structure","required":["DBSecurityGroupName","DBSecurityGroupDescription"],"members":{"DBSecurityGroupName":{},"DBSecurityGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBSecurityGroupResult","type":"structure","members":{"DBSecurityGroup":{"shape":"Sl"}}}},"CreateDBSnapshot":{"input":{"type":"structure","required":["DBSnapshotIdentifier","DBInstanceIdentifier"],"members":{"DBSnapshotIdentifier":{},"DBInstanceIdentifier":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBSnapshotResult","type":"structure","members":{"DBSnapshot":{"shape":"S19"}}}},"CreateDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],"members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"SubnetIds":{"shape":"S4i"},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBSubnetGroupResult","type":"structure","members":{"DBSubnetGroup":{"shape":"S39"}}}},"CreateEventSubscription":{"input":{"type":"structure","required":["SubscriptionName","SnsTopicArn"],"members":{"SubscriptionName":{},"SnsTopicArn":{},"SourceType":{},"EventCategories":{"shape":"S8"},"SourceIds":{"shape":"S7"},"Enabled":{"type":"boolean"},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"CreateGlobalCluster":{"input":{"type":"structure","members":{"GlobalClusterIdentifier":{},"SourceDBClusterIdentifier":{},"Engine":{},"EngineVersion":{},"DeletionProtection":{"type":"boolean"},"DatabaseName":{},"StorageEncrypted":{"type":"boolean"}}},"output":{"resultWrapper":"CreateGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"CreateOptionGroup":{"input":{"type":"structure","required":["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],"members":{"OptionGroupName":{},"EngineName":{},"MajorEngineVersion":{},"OptionGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateOptionGroupResult","type":"structure","members":{"OptionGroup":{"shape":"S1f"}}}},"DeleteCustomAvailabilityZone":{"input":{"type":"structure","required":["CustomAvailabilityZoneId"],"members":{"CustomAvailabilityZoneId":{}}},"output":{"resultWrapper":"DeleteCustomAvailabilityZoneResult","type":"structure","members":{"CustomAvailabilityZone":{"shape":"S1q"}}}},"DeleteCustomDBEngineVersion":{"input":{"type":"structure","required":["Engine","EngineVersion"],"members":{"Engine":{},"EngineVersion":{}}},"output":{"shape":"S21","resultWrapper":"DeleteCustomDBEngineVersionResult"}},"DeleteDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"SkipFinalSnapshot":{"type":"boolean"},"FinalDBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"DeleteDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterEndpointIdentifier"],"members":{"DBClusterEndpointIdentifier":{}}},"output":{"shape":"S2x","resultWrapper":"DeleteDBClusterEndpointResult"}},"DeleteDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{}}}},"DeleteDBClusterSnapshot":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier"],"members":{"DBClusterSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"S12"}}}},"DeleteDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"SkipFinalSnapshot":{"type":"boolean"},"FinalDBSnapshotIdentifier":{},"DeleteAutomatedBackups":{"type":"boolean"}}},"output":{"resultWrapper":"DeleteDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"DeleteDBInstanceAutomatedBackup":{"input":{"type":"structure","members":{"DbiResourceId":{},"DBInstanceAutomatedBackupsArn":{}}},"output":{"resultWrapper":"DeleteDBInstanceAutomatedBackupResult","type":"structure","members":{"DBInstanceAutomatedBackup":{"shape":"S59"}}}},"DeleteDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{}}}},"DeleteDBProxy":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{}}},"output":{"resultWrapper":"DeleteDBProxyResult","type":"structure","members":{"DBProxy":{"shape":"S42"}}}},"DeleteDBProxyEndpoint":{"input":{"type":"structure","required":["DBProxyEndpointName"],"members":{"DBProxyEndpointName":{}}},"output":{"resultWrapper":"DeleteDBProxyEndpointResult","type":"structure","members":{"DBProxyEndpoint":{"shape":"S4b"}}}},"DeleteDBSecurityGroup":{"input":{"type":"structure","required":["DBSecurityGroupName"],"members":{"DBSecurityGroupName":{}}}},"DeleteDBSnapshot":{"input":{"type":"structure","required":["DBSnapshotIdentifier"],"members":{"DBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBSnapshotResult","type":"structure","members":{"DBSnapshot":{"shape":"S19"}}}},"DeleteDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName"],"members":{"DBSubnetGroupName":{}}}},"DeleteEventSubscription":{"input":{"type":"structure","required":["SubscriptionName"],"members":{"SubscriptionName":{}}},"output":{"resultWrapper":"DeleteEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"DeleteGlobalCluster":{"input":{"type":"structure","required":["GlobalClusterIdentifier"],"members":{"GlobalClusterIdentifier":{}}},"output":{"resultWrapper":"DeleteGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"DeleteInstallationMedia":{"input":{"type":"structure","required":["InstallationMediaId"],"members":{"InstallationMediaId":{}}},"output":{"shape":"S5p","resultWrapper":"DeleteInstallationMediaResult"}},"DeleteOptionGroup":{"input":{"type":"structure","required":["OptionGroupName"],"members":{"OptionGroupName":{}}}},"DeregisterDBProxyTargets":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"TargetGroupName":{},"DBInstanceIdentifiers":{"shape":"Sv"},"DBClusterIdentifiers":{"shape":"Sv"}}},"output":{"resultWrapper":"DeregisterDBProxyTargetsResult","type":"structure","members":{}}},"DescribeAccountAttributes":{"input":{"type":"structure","members":{}},"output":{"resultWrapper":"DescribeAccountAttributesResult","type":"structure","members":{"AccountQuotas":{"type":"list","member":{"locationName":"AccountQuota","type":"structure","members":{"AccountQuotaName":{},"Used":{"type":"long"},"Max":{"type":"long"}},"wrapper":true}}}}},"DescribeCertificates":{"input":{"type":"structure","members":{"CertificateIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeCertificatesResult","type":"structure","members":{"Certificates":{"type":"list","member":{"shape":"S65","locationName":"Certificate"}},"Marker":{}}}},"DescribeCustomAvailabilityZones":{"input":{"type":"structure","members":{"CustomAvailabilityZoneId":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeCustomAvailabilityZonesResult","type":"structure","members":{"Marker":{},"CustomAvailabilityZones":{"type":"list","member":{"shape":"S1q","locationName":"CustomAvailabilityZone"}}}}},"DescribeDBClusterBacktracks":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"BacktrackIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterBacktracksResult","type":"structure","members":{"Marker":{},"DBClusterBacktracks":{"type":"list","member":{"shape":"Ss","locationName":"DBClusterBacktrack"}}}}},"DescribeDBClusterEndpoints":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"DBClusterEndpointIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterEndpointsResult","type":"structure","members":{"Marker":{},"DBClusterEndpoints":{"type":"list","member":{"shape":"S2x","locationName":"DBClusterEndpointList"}}}}},"DescribeDBClusterParameterGroups":{"input":{"type":"structure","members":{"DBClusterParameterGroupName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterParameterGroupsResult","type":"structure","members":{"Marker":{},"DBClusterParameterGroups":{"type":"list","member":{"shape":"Sz","locationName":"DBClusterParameterGroup"}}}}},"DescribeDBClusterParameters":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{},"Source":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterParametersResult","type":"structure","members":{"Parameters":{"shape":"S6k"},"Marker":{}}}},"DescribeDBClusterSnapshotAttributes":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier"],"members":{"DBClusterSnapshotIdentifier":{}}},"output":{"resultWrapper":"DescribeDBClusterSnapshotAttributesResult","type":"structure","members":{"DBClusterSnapshotAttributesResult":{"shape":"S6p"}}}},"DescribeDBClusterSnapshots":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"DBClusterSnapshotIdentifier":{},"SnapshotType":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"IncludeShared":{"type":"boolean"},"IncludePublic":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBClusterSnapshotsResult","type":"structure","members":{"Marker":{},"DBClusterSnapshots":{"type":"list","member":{"shape":"S12","locationName":"DBClusterSnapshot"}}}}},"DescribeDBClusters":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"IncludeShared":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBClustersResult","type":"structure","members":{"Marker":{},"DBClusters":{"type":"list","member":{"shape":"S2g","locationName":"DBCluster"}}}}},"DescribeDBEngineVersions":{"input":{"type":"structure","members":{"Engine":{},"EngineVersion":{},"DBParameterGroupFamily":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"DefaultOnly":{"type":"boolean"},"ListSupportedCharacterSets":{"type":"boolean"},"ListSupportedTimezones":{"type":"boolean"},"IncludeAll":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBEngineVersionsResult","type":"structure","members":{"Marker":{},"DBEngineVersions":{"type":"list","member":{"shape":"S21","locationName":"DBEngineVersion"}}}}},"DescribeDBInstanceAutomatedBackups":{"input":{"type":"structure","members":{"DbiResourceId":{},"DBInstanceIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"DBInstanceAutomatedBackupsArn":{}}},"output":{"resultWrapper":"DescribeDBInstanceAutomatedBackupsResult","type":"structure","members":{"Marker":{},"DBInstanceAutomatedBackups":{"type":"list","member":{"shape":"S59","locationName":"DBInstanceAutomatedBackup"}}}}},"DescribeDBInstances":{"input":{"type":"structure","members":{"DBInstanceIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBInstancesResult","type":"structure","members":{"Marker":{},"DBInstances":{"type":"list","member":{"shape":"S35","locationName":"DBInstance"}}}}},"DescribeDBLogFiles":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"FilenameContains":{},"FileLastWritten":{"type":"long"},"FileSize":{"type":"long"},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBLogFilesResult","type":"structure","members":{"DescribeDBLogFiles":{"type":"list","member":{"locationName":"DescribeDBLogFilesDetails","type":"structure","members":{"LogFileName":{},"LastWritten":{"type":"long"},"Size":{"type":"long"}}}},"Marker":{}}}},"DescribeDBParameterGroups":{"input":{"type":"structure","members":{"DBParameterGroupName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBParameterGroupsResult","type":"structure","members":{"Marker":{},"DBParameterGroups":{"type":"list","member":{"shape":"S16","locationName":"DBParameterGroup"}}}}},"DescribeDBParameters":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{},"Source":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBParametersResult","type":"structure","members":{"Parameters":{"shape":"S6k"},"Marker":{}}}},"DescribeDBProxies":{"input":{"type":"structure","members":{"DBProxyName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeDBProxiesResult","type":"structure","members":{"DBProxies":{"type":"list","member":{"shape":"S42"}},"Marker":{}}}},"DescribeDBProxyEndpoints":{"input":{"type":"structure","members":{"DBProxyName":{},"DBProxyEndpointName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeDBProxyEndpointsResult","type":"structure","members":{"DBProxyEndpoints":{"type":"list","member":{"shape":"S4b"}},"Marker":{}}}},"DescribeDBProxyTargetGroups":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"TargetGroupName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeDBProxyTargetGroupsResult","type":"structure","members":{"TargetGroups":{"type":"list","member":{"shape":"S7r"}},"Marker":{}}}},"DescribeDBProxyTargets":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"TargetGroupName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeDBProxyTargetsResult","type":"structure","members":{"Targets":{"shape":"S7v"},"Marker":{}}}},"DescribeDBSecurityGroups":{"input":{"type":"structure","members":{"DBSecurityGroupName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBSecurityGroupsResult","type":"structure","members":{"Marker":{},"DBSecurityGroups":{"type":"list","member":{"shape":"Sl","locationName":"DBSecurityGroup"}}}}},"DescribeDBSnapshotAttributes":{"input":{"type":"structure","required":["DBSnapshotIdentifier"],"members":{"DBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DescribeDBSnapshotAttributesResult","type":"structure","members":{"DBSnapshotAttributesResult":{"shape":"S87"}}}},"DescribeDBSnapshots":{"input":{"type":"structure","members":{"DBInstanceIdentifier":{},"DBSnapshotIdentifier":{},"SnapshotType":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"IncludeShared":{"type":"boolean"},"IncludePublic":{"type":"boolean"},"DbiResourceId":{}}},"output":{"resultWrapper":"DescribeDBSnapshotsResult","type":"structure","members":{"Marker":{},"DBSnapshots":{"type":"list","member":{"shape":"S19","locationName":"DBSnapshot"}}}}},"DescribeDBSubnetGroups":{"input":{"type":"structure","members":{"DBSubnetGroupName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBSubnetGroupsResult","type":"structure","members":{"Marker":{},"DBSubnetGroups":{"type":"list","member":{"shape":"S39","locationName":"DBSubnetGroup"}}}}},"DescribeEngineDefaultClusterParameters":{"input":{"type":"structure","required":["DBParameterGroupFamily"],"members":{"DBParameterGroupFamily":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEngineDefaultClusterParametersResult","type":"structure","members":{"EngineDefaults":{"shape":"S8i"}}}},"DescribeEngineDefaultParameters":{"input":{"type":"structure","required":["DBParameterGroupFamily"],"members":{"DBParameterGroupFamily":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEngineDefaultParametersResult","type":"structure","members":{"EngineDefaults":{"shape":"S8i"}}}},"DescribeEventCategories":{"input":{"type":"structure","members":{"SourceType":{},"Filters":{"shape":"S60"}}},"output":{"resultWrapper":"DescribeEventCategoriesResult","type":"structure","members":{"EventCategoriesMapList":{"type":"list","member":{"locationName":"EventCategoriesMap","type":"structure","members":{"SourceType":{},"EventCategories":{"shape":"S8"}},"wrapper":true}}}}},"DescribeEventSubscriptions":{"input":{"type":"structure","members":{"SubscriptionName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEventSubscriptionsResult","type":"structure","members":{"Marker":{},"EventSubscriptionsList":{"type":"list","member":{"shape":"S6","locationName":"EventSubscription"}}}}},"DescribeEvents":{"input":{"type":"structure","members":{"SourceIdentifier":{},"SourceType":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Duration":{"type":"integer"},"EventCategories":{"shape":"S8"},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEventsResult","type":"structure","members":{"Marker":{},"Events":{"type":"list","member":{"locationName":"Event","type":"structure","members":{"SourceIdentifier":{},"SourceType":{},"Message":{},"EventCategories":{"shape":"S8"},"Date":{"type":"timestamp"},"SourceArn":{}}}}}}},"DescribeExportTasks":{"input":{"type":"structure","members":{"ExportTaskIdentifier":{},"SourceArn":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeExportTasksResult","type":"structure","members":{"Marker":{},"ExportTasks":{"type":"list","member":{"shape":"Su","locationName":"ExportTask"}}}}},"DescribeGlobalClusters":{"input":{"type":"structure","members":{"GlobalClusterIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeGlobalClustersResult","type":"structure","members":{"Marker":{},"GlobalClusters":{"type":"list","member":{"shape":"S4o","locationName":"GlobalClusterMember"}}}}},"DescribeInstallationMedia":{"input":{"type":"structure","members":{"InstallationMediaId":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeInstallationMediaResult","type":"structure","members":{"Marker":{},"InstallationMedia":{"type":"list","member":{"shape":"S5p","locationName":"InstallationMedia"}}}}},"DescribeOptionGroupOptions":{"input":{"type":"structure","required":["EngineName"],"members":{"EngineName":{},"MajorEngineVersion":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeOptionGroupOptionsResult","type":"structure","members":{"OptionGroupOptions":{"type":"list","member":{"locationName":"OptionGroupOption","type":"structure","members":{"Name":{},"Description":{},"EngineName":{},"MajorEngineVersion":{},"MinimumRequiredMinorEngineVersion":{},"PortRequired":{"type":"boolean"},"DefaultPort":{"type":"integer"},"OptionsDependedOn":{"type":"list","member":{"locationName":"OptionName"}},"OptionsConflictsWith":{"type":"list","member":{"locationName":"OptionConflictName"}},"Persistent":{"type":"boolean"},"Permanent":{"type":"boolean"},"RequiresAutoMinorEngineVersionUpgrade":{"type":"boolean"},"VpcOnly":{"type":"boolean"},"SupportsOptionVersionDowngrade":{"type":"boolean"},"OptionGroupOptionSettings":{"type":"list","member":{"locationName":"OptionGroupOptionSetting","type":"structure","members":{"SettingName":{},"SettingDescription":{},"DefaultValue":{},"ApplyType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"IsRequired":{"type":"boolean"},"MinimumEngineVersionPerAllowedValue":{"type":"list","member":{"locationName":"MinimumEngineVersionPerAllowedValue","type":"structure","members":{"AllowedValue":{},"MinimumEngineVersion":{}}}}}}},"OptionGroupOptionVersions":{"type":"list","member":{"locationName":"OptionVersion","type":"structure","members":{"Version":{},"IsDefault":{"type":"boolean"}}}}}}},"Marker":{}}}},"DescribeOptionGroups":{"input":{"type":"structure","members":{"OptionGroupName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"},"EngineName":{},"MajorEngineVersion":{}}},"output":{"resultWrapper":"DescribeOptionGroupsResult","type":"structure","members":{"OptionGroupsList":{"type":"list","member":{"shape":"S1f","locationName":"OptionGroup"}},"Marker":{}}}},"DescribeOrderableDBInstanceOptions":{"input":{"type":"structure","required":["Engine"],"members":{"Engine":{},"EngineVersion":{},"DBInstanceClass":{},"LicenseModel":{},"AvailabilityZoneGroup":{},"Vpc":{"type":"boolean"},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeOrderableDBInstanceOptionsResult","type":"structure","members":{"OrderableDBInstanceOptions":{"type":"list","member":{"locationName":"OrderableDBInstanceOption","type":"structure","members":{"Engine":{},"EngineVersion":{},"DBInstanceClass":{},"LicenseModel":{},"AvailabilityZoneGroup":{},"AvailabilityZones":{"type":"list","member":{"shape":"S3c","locationName":"AvailabilityZone"}},"MultiAZCapable":{"type":"boolean"},"ReadReplicaCapable":{"type":"boolean"},"Vpc":{"type":"boolean"},"SupportsStorageEncryption":{"type":"boolean"},"StorageType":{},"SupportsIops":{"type":"boolean"},"SupportsEnhancedMonitoring":{"type":"boolean"},"SupportsIAMDatabaseAuthentication":{"type":"boolean"},"SupportsPerformanceInsights":{"type":"boolean"},"MinStorageSize":{"type":"integer"},"MaxStorageSize":{"type":"integer"},"MinIopsPerDbInstance":{"type":"integer"},"MaxIopsPerDbInstance":{"type":"integer"},"MinIopsPerGib":{"type":"double"},"MaxIopsPerGib":{"type":"double"},"AvailableProcessorFeatures":{"shape":"S9r"},"SupportedEngineModes":{"shape":"S26"},"SupportsStorageAutoscaling":{"type":"boolean"},"SupportsKerberosAuthentication":{"type":"boolean"},"OutpostCapable":{"type":"boolean"},"SupportedActivityStreamModes":{"type":"list","member":{}},"SupportsGlobalDatabases":{"type":"boolean"},"SupportsClusters":{"type":"boolean"}},"wrapper":true}},"Marker":{}}}},"DescribePendingMaintenanceActions":{"input":{"type":"structure","members":{"ResourceIdentifier":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribePendingMaintenanceActionsResult","type":"structure","members":{"PendingMaintenanceActions":{"type":"list","member":{"shape":"Sf","locationName":"ResourcePendingMaintenanceActions"}},"Marker":{}}}},"DescribeReservedDBInstances":{"input":{"type":"structure","members":{"ReservedDBInstanceId":{},"ReservedDBInstancesOfferingId":{},"DBInstanceClass":{},"Duration":{},"ProductDescription":{},"OfferingType":{},"MultiAZ":{"type":"boolean"},"LeaseId":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeReservedDBInstancesResult","type":"structure","members":{"Marker":{},"ReservedDBInstances":{"type":"list","member":{"shape":"Sa0","locationName":"ReservedDBInstance"}}}}},"DescribeReservedDBInstancesOfferings":{"input":{"type":"structure","members":{"ReservedDBInstancesOfferingId":{},"DBInstanceClass":{},"Duration":{},"ProductDescription":{},"OfferingType":{},"MultiAZ":{"type":"boolean"},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeReservedDBInstancesOfferingsResult","type":"structure","members":{"Marker":{},"ReservedDBInstancesOfferings":{"type":"list","member":{"locationName":"ReservedDBInstancesOffering","type":"structure","members":{"ReservedDBInstancesOfferingId":{},"DBInstanceClass":{},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"ProductDescription":{},"OfferingType":{},"MultiAZ":{"type":"boolean"},"RecurringCharges":{"shape":"Sa2"}},"wrapper":true}}}}},"DescribeSourceRegions":{"input":{"type":"structure","members":{"RegionName":{},"MaxRecords":{"type":"integer"},"Marker":{},"Filters":{"shape":"S60"}}},"output":{"resultWrapper":"DescribeSourceRegionsResult","type":"structure","members":{"Marker":{},"SourceRegions":{"type":"list","member":{"locationName":"SourceRegion","type":"structure","members":{"RegionName":{},"Endpoint":{},"Status":{},"SupportsDBInstanceAutomatedBackupsReplication":{"type":"boolean"}}}}}}},"DescribeValidDBInstanceModifications":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{}}},"output":{"resultWrapper":"DescribeValidDBInstanceModificationsResult","type":"structure","members":{"ValidDBInstanceModificationsMessage":{"type":"structure","members":{"Storage":{"type":"list","member":{"locationName":"ValidStorageOptions","type":"structure","members":{"StorageType":{},"StorageSize":{"shape":"Sah"},"ProvisionedIops":{"shape":"Sah"},"IopsToStorageRatio":{"type":"list","member":{"locationName":"DoubleRange","type":"structure","members":{"From":{"type":"double"},"To":{"type":"double"}}}},"SupportsStorageAutoscaling":{"type":"boolean"}}}},"ValidProcessorFeatures":{"shape":"S9r"}},"wrapper":true}}}},"DownloadDBLogFilePortion":{"input":{"type":"structure","required":["DBInstanceIdentifier","LogFileName"],"members":{"DBInstanceIdentifier":{},"LogFileName":{},"Marker":{},"NumberOfLines":{"type":"integer"}}},"output":{"resultWrapper":"DownloadDBLogFilePortionResult","type":"structure","members":{"LogFileData":{},"Marker":{},"AdditionalDataPending":{"type":"boolean"}}}},"FailoverDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"TargetDBInstanceIdentifier":{}}},"output":{"resultWrapper":"FailoverDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"FailoverGlobalCluster":{"input":{"type":"structure","required":["GlobalClusterIdentifier","TargetDbClusterIdentifier"],"members":{"GlobalClusterIdentifier":{},"TargetDbClusterIdentifier":{}}},"output":{"resultWrapper":"FailoverGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"ImportInstallationMedia":{"input":{"type":"structure","required":["CustomAvailabilityZoneId","Engine","EngineVersion","EngineInstallationMediaPath","OSInstallationMediaPath"],"members":{"CustomAvailabilityZoneId":{},"Engine":{},"EngineVersion":{},"EngineInstallationMediaPath":{},"OSInstallationMediaPath":{}}},"output":{"shape":"S5p","resultWrapper":"ImportInstallationMediaResult"}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceName"],"members":{"ResourceName":{},"Filters":{"shape":"S60"}}},"output":{"resultWrapper":"ListTagsForResourceResult","type":"structure","members":{"TagList":{"shape":"Sb"}}}},"ModifyCertificates":{"input":{"type":"structure","members":{"CertificateIdentifier":{},"RemoveCustomerOverride":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyCertificatesResult","type":"structure","members":{"Certificate":{"shape":"S65"}}}},"ModifyCurrentDBClusterCapacity":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"Capacity":{"type":"integer"},"SecondsBeforeTimeout":{"type":"integer"},"TimeoutAction":{}}},"output":{"resultWrapper":"ModifyCurrentDBClusterCapacityResult","type":"structure","members":{"DBClusterIdentifier":{},"PendingCapacity":{"type":"integer"},"CurrentCapacity":{"type":"integer"},"SecondsBeforeTimeout":{"type":"integer"},"TimeoutAction":{}}}},"ModifyCustomDBEngineVersion":{"input":{"type":"structure","required":["Engine","EngineVersion"],"members":{"Engine":{},"EngineVersion":{},"Description":{},"Status":{}}},"output":{"shape":"S21","resultWrapper":"ModifyCustomDBEngineVersionResult"}},"ModifyDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"NewDBClusterIdentifier":{},"ApplyImmediately":{"type":"boolean"},"BackupRetentionPeriod":{"type":"integer"},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Port":{"type":"integer"},"MasterUserPassword":{},"OptionGroupName":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"BacktrackWindow":{"type":"long"},"CloudwatchLogsExportConfiguration":{"shape":"Sb3"},"EngineVersion":{},"AllowMajorVersionUpgrade":{"type":"boolean"},"DBInstanceParameterGroupName":{},"Domain":{},"DomainIAMRoleName":{},"ScalingConfiguration":{"shape":"S2e"},"DeletionProtection":{"type":"boolean"},"EnableHttpEndpoint":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"EnableGlobalWriteForwarding":{"type":"boolean"},"DBClusterInstanceClass":{},"AllocatedStorage":{"type":"integer"},"StorageType":{},"Iops":{"type":"integer"},"AutoMinorVersionUpgrade":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"}}},"output":{"resultWrapper":"ModifyDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"ModifyDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterEndpointIdentifier"],"members":{"DBClusterEndpointIdentifier":{},"EndpointType":{},"StaticMembers":{"shape":"Sv"},"ExcludedMembers":{"shape":"Sv"}}},"output":{"shape":"S2x","resultWrapper":"ModifyDBClusterEndpointResult"}},"ModifyDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName","Parameters"],"members":{"DBClusterParameterGroupName":{},"Parameters":{"shape":"S6k"}}},"output":{"shape":"Sb7","resultWrapper":"ModifyDBClusterParameterGroupResult"}},"ModifyDBClusterSnapshotAttribute":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier","AttributeName"],"members":{"DBClusterSnapshotIdentifier":{},"AttributeName":{},"ValuesToAdd":{"shape":"S6s"},"ValuesToRemove":{"shape":"S6s"}}},"output":{"resultWrapper":"ModifyDBClusterSnapshotAttributeResult","type":"structure","members":{"DBClusterSnapshotAttributesResult":{"shape":"S6p"}}}},"ModifyDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"DBInstanceClass":{},"DBSubnetGroupName":{},"DBSecurityGroups":{"shape":"S33"},"VpcSecurityGroupIds":{"shape":"S2c"},"ApplyImmediately":{"type":"boolean"},"MasterUserPassword":{},"DBParameterGroupName":{},"BackupRetentionPeriod":{"type":"integer"},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AllowMajorVersionUpgrade":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupName":{},"NewDBInstanceIdentifier":{},"StorageType":{},"TdeCredentialArn":{},"TdeCredentialPassword":{},"CACertificateIdentifier":{},"Domain":{},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"DBPortNumber":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"},"MonitoringRoleArn":{},"DomainIAMRoleName":{},"PromotionTier":{"type":"integer"},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"CloudwatchLogsExportConfiguration":{"shape":"Sb3"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DeletionProtection":{"type":"boolean"},"MaxAllocatedStorage":{"type":"integer"},"CertificateRotationRestart":{"type":"boolean"},"ReplicaMode":{},"EnableCustomerOwnedIp":{"type":"boolean"},"AwsBackupRecoveryPointArn":{},"AutomationMode":{},"ResumeFullAutomationModeMinutes":{"type":"integer"}}},"output":{"resultWrapper":"ModifyDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"ModifyDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName","Parameters"],"members":{"DBParameterGroupName":{},"Parameters":{"shape":"S6k"}}},"output":{"shape":"Sbe","resultWrapper":"ModifyDBParameterGroupResult"}},"ModifyDBProxy":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"NewDBProxyName":{},"Auth":{"shape":"S3x"},"RequireTLS":{"type":"boolean"},"IdleClientTimeout":{"type":"integer"},"DebugLogging":{"type":"boolean"},"RoleArn":{},"SecurityGroups":{"shape":"Sv"}}},"output":{"resultWrapper":"ModifyDBProxyResult","type":"structure","members":{"DBProxy":{"shape":"S42"}}}},"ModifyDBProxyEndpoint":{"input":{"type":"structure","required":["DBProxyEndpointName"],"members":{"DBProxyEndpointName":{},"NewDBProxyEndpointName":{},"VpcSecurityGroupIds":{"shape":"Sv"}}},"output":{"resultWrapper":"ModifyDBProxyEndpointResult","type":"structure","members":{"DBProxyEndpoint":{"shape":"S4b"}}}},"ModifyDBProxyTargetGroup":{"input":{"type":"structure","required":["TargetGroupName","DBProxyName"],"members":{"TargetGroupName":{},"DBProxyName":{},"ConnectionPoolConfig":{"type":"structure","members":{"MaxConnectionsPercent":{"type":"integer"},"MaxIdleConnectionsPercent":{"type":"integer"},"ConnectionBorrowTimeout":{"type":"integer"},"SessionPinningFilters":{"shape":"Sv"},"InitQuery":{}}},"NewName":{}}},"output":{"resultWrapper":"ModifyDBProxyTargetGroupResult","type":"structure","members":{"DBProxyTargetGroup":{"shape":"S7r"}}}},"ModifyDBSnapshot":{"input":{"type":"structure","required":["DBSnapshotIdentifier"],"members":{"DBSnapshotIdentifier":{},"EngineVersion":{},"OptionGroupName":{}}},"output":{"resultWrapper":"ModifyDBSnapshotResult","type":"structure","members":{"DBSnapshot":{"shape":"S19"}}}},"ModifyDBSnapshotAttribute":{"input":{"type":"structure","required":["DBSnapshotIdentifier","AttributeName"],"members":{"DBSnapshotIdentifier":{},"AttributeName":{},"ValuesToAdd":{"shape":"S6s"},"ValuesToRemove":{"shape":"S6s"}}},"output":{"resultWrapper":"ModifyDBSnapshotAttributeResult","type":"structure","members":{"DBSnapshotAttributesResult":{"shape":"S87"}}}},"ModifyDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName","SubnetIds"],"members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"SubnetIds":{"shape":"S4i"}}},"output":{"resultWrapper":"ModifyDBSubnetGroupResult","type":"structure","members":{"DBSubnetGroup":{"shape":"S39"}}}},"ModifyEventSubscription":{"input":{"type":"structure","required":["SubscriptionName"],"members":{"SubscriptionName":{},"SnsTopicArn":{},"SourceType":{},"EventCategories":{"shape":"S8"},"Enabled":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"ModifyGlobalCluster":{"input":{"type":"structure","members":{"GlobalClusterIdentifier":{},"NewGlobalClusterIdentifier":{},"DeletionProtection":{"type":"boolean"},"EngineVersion":{},"AllowMajorVersionUpgrade":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"ModifyOptionGroup":{"input":{"type":"structure","required":["OptionGroupName"],"members":{"OptionGroupName":{},"OptionsToInclude":{"type":"list","member":{"locationName":"OptionConfiguration","type":"structure","required":["OptionName"],"members":{"OptionName":{},"Port":{"type":"integer"},"OptionVersion":{},"DBSecurityGroupMemberships":{"shape":"S33"},"VpcSecurityGroupMemberships":{"shape":"S2c"},"OptionSettings":{"type":"list","member":{"shape":"S1j","locationName":"OptionSetting"}}}}},"OptionsToRemove":{"type":"list","member":{}},"ApplyImmediately":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyOptionGroupResult","type":"structure","members":{"OptionGroup":{"shape":"S1f"}}}},"PromoteReadReplica":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"BackupRetentionPeriod":{"type":"integer"},"PreferredBackupWindow":{}}},"output":{"resultWrapper":"PromoteReadReplicaResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"PromoteReadReplicaDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"PromoteReadReplicaDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"PurchaseReservedDBInstancesOffering":{"input":{"type":"structure","required":["ReservedDBInstancesOfferingId"],"members":{"ReservedDBInstancesOfferingId":{},"ReservedDBInstanceId":{},"DBInstanceCount":{"type":"integer"},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"PurchaseReservedDBInstancesOfferingResult","type":"structure","members":{"ReservedDBInstance":{"shape":"Sa0"}}}},"RebootDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"RebootDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"RebootDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"ForceFailover":{"type":"boolean"}}},"output":{"resultWrapper":"RebootDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"RegisterDBProxyTargets":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"TargetGroupName":{},"DBInstanceIdentifiers":{"shape":"Sv"},"DBClusterIdentifiers":{"shape":"Sv"}}},"output":{"resultWrapper":"RegisterDBProxyTargetsResult","type":"structure","members":{"DBProxyTargets":{"shape":"S7v"}}}},"RemoveFromGlobalCluster":{"input":{"type":"structure","members":{"GlobalClusterIdentifier":{},"DbClusterIdentifier":{}}},"output":{"resultWrapper":"RemoveFromGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"RemoveRoleFromDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","RoleArn"],"members":{"DBClusterIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"RemoveRoleFromDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier","RoleArn","FeatureName"],"members":{"DBInstanceIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"RemoveSourceIdentifierFromSubscription":{"input":{"type":"structure","required":["SubscriptionName","SourceIdentifier"],"members":{"SubscriptionName":{},"SourceIdentifier":{}}},"output":{"resultWrapper":"RemoveSourceIdentifierFromSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"RemoveTagsFromResource":{"input":{"type":"structure","required":["ResourceName","TagKeys"],"members":{"ResourceName":{},"TagKeys":{"type":"list","member":{}}}}},"ResetDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{},"ResetAllParameters":{"type":"boolean"},"Parameters":{"shape":"S6k"}}},"output":{"shape":"Sb7","resultWrapper":"ResetDBClusterParameterGroupResult"}},"ResetDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{},"ResetAllParameters":{"type":"boolean"},"Parameters":{"shape":"S6k"}}},"output":{"shape":"Sbe","resultWrapper":"ResetDBParameterGroupResult"}},"RestoreDBClusterFromS3":{"input":{"type":"structure","required":["DBClusterIdentifier","Engine","MasterUsername","MasterUserPassword","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],"members":{"AvailabilityZones":{"shape":"S13"},"BackupRetentionPeriod":{"type":"integer"},"CharacterSetName":{},"DatabaseName":{},"DBClusterIdentifier":{},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"DBSubnetGroupName":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"MasterUsername":{},"MasterUserPassword":{},"OptionGroupName":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"Tags":{"shape":"Sb"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"SourceEngine":{},"SourceEngineVersion":{},"S3BucketName":{},"S3Prefix":{},"S3IngestionRoleArn":{},"BacktrackWindow":{"type":"long"},"EnableCloudwatchLogsExports":{"shape":"S29"},"DeletionProtection":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{}}},"output":{"resultWrapper":"RestoreDBClusterFromS3Result","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"RestoreDBClusterFromSnapshot":{"input":{"type":"structure","required":["DBClusterIdentifier","SnapshotIdentifier","Engine"],"members":{"AvailabilityZones":{"shape":"S13"},"DBClusterIdentifier":{},"SnapshotIdentifier":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"DBSubnetGroupName":{},"DatabaseName":{},"OptionGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Tags":{"shape":"Sb"},"KmsKeyId":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"BacktrackWindow":{"type":"long"},"EnableCloudwatchLogsExports":{"shape":"S29"},"EngineMode":{},"ScalingConfiguration":{"shape":"S2e"},"DBClusterParameterGroupName":{},"DeletionProtection":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{},"DBClusterInstanceClass":{},"StorageType":{},"Iops":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"}}},"output":{"resultWrapper":"RestoreDBClusterFromSnapshotResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"RestoreDBClusterToPointInTime":{"input":{"type":"structure","required":["DBClusterIdentifier","SourceDBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"RestoreType":{},"SourceDBClusterIdentifier":{},"RestoreToTime":{"type":"timestamp"},"UseLatestRestorableTime":{"type":"boolean"},"Port":{"type":"integer"},"DBSubnetGroupName":{},"OptionGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Tags":{"shape":"Sb"},"KmsKeyId":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"BacktrackWindow":{"type":"long"},"EnableCloudwatchLogsExports":{"shape":"S29"},"DBClusterParameterGroupName":{},"DeletionProtection":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{},"ScalingConfiguration":{"shape":"S2e"},"EngineMode":{},"DBClusterInstanceClass":{},"StorageType":{},"PubliclyAccessible":{"type":"boolean"},"Iops":{"type":"integer"}}},"output":{"resultWrapper":"RestoreDBClusterToPointInTimeResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"RestoreDBInstanceFromDBSnapshot":{"input":{"type":"structure","required":["DBInstanceIdentifier","DBSnapshotIdentifier"],"members":{"DBInstanceIdentifier":{},"DBSnapshotIdentifier":{},"DBInstanceClass":{},"Port":{"type":"integer"},"AvailabilityZone":{},"DBSubnetGroupName":{},"MultiAZ":{"type":"boolean"},"PubliclyAccessible":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"DBName":{},"Engine":{},"Iops":{"type":"integer"},"OptionGroupName":{},"Tags":{"shape":"Sb"},"StorageType":{},"TdeCredentialArn":{},"TdeCredentialPassword":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Domain":{},"CopyTagsToSnapshot":{"type":"boolean"},"DomainIAMRoleName":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DBParameterGroupName":{},"DeletionProtection":{"type":"boolean"},"EnableCustomerOwnedIp":{"type":"boolean"},"CustomIamInstanceProfile":{},"BackupTarget":{}}},"output":{"resultWrapper":"RestoreDBInstanceFromDBSnapshotResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"RestoreDBInstanceFromS3":{"input":{"type":"structure","required":["DBInstanceIdentifier","DBInstanceClass","Engine","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],"members":{"DBName":{},"DBInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"DBInstanceClass":{},"Engine":{},"MasterUsername":{},"MasterUserPassword":{},"DBSecurityGroups":{"shape":"S33"},"VpcSecurityGroupIds":{"shape":"S2c"},"AvailabilityZone":{},"DBSubnetGroupName":{},"PreferredMaintenanceWindow":{},"DBParameterGroupName":{},"BackupRetentionPeriod":{"type":"integer"},"PreferredBackupWindow":{},"Port":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupName":{},"PubliclyAccessible":{"type":"boolean"},"Tags":{"shape":"Sb"},"StorageType":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"SourceEngine":{},"SourceEngineVersion":{},"S3BucketName":{},"S3Prefix":{},"S3IngestionRoleArn":{},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DeletionProtection":{"type":"boolean"},"MaxAllocatedStorage":{"type":"integer"}}},"output":{"resultWrapper":"RestoreDBInstanceFromS3Result","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"RestoreDBInstanceToPointInTime":{"input":{"type":"structure","required":["TargetDBInstanceIdentifier"],"members":{"SourceDBInstanceIdentifier":{},"TargetDBInstanceIdentifier":{},"RestoreTime":{"type":"timestamp"},"UseLatestRestorableTime":{"type":"boolean"},"DBInstanceClass":{},"Port":{"type":"integer"},"AvailabilityZone":{},"DBSubnetGroupName":{},"MultiAZ":{"type":"boolean"},"PubliclyAccessible":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"DBName":{},"Engine":{},"Iops":{"type":"integer"},"OptionGroupName":{},"CopyTagsToSnapshot":{"type":"boolean"},"Tags":{"shape":"Sb"},"StorageType":{},"TdeCredentialArn":{},"TdeCredentialPassword":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Domain":{},"DomainIAMRoleName":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DBParameterGroupName":{},"DeletionProtection":{"type":"boolean"},"SourceDbiResourceId":{},"MaxAllocatedStorage":{"type":"integer"},"SourceDBInstanceAutomatedBackupsArn":{},"EnableCustomerOwnedIp":{"type":"boolean"},"CustomIamInstanceProfile":{},"BackupTarget":{}}},"output":{"resultWrapper":"RestoreDBInstanceToPointInTimeResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"RevokeDBSecurityGroupIngress":{"input":{"type":"structure","required":["DBSecurityGroupName"],"members":{"DBSecurityGroupName":{},"CIDRIP":{},"EC2SecurityGroupName":{},"EC2SecurityGroupId":{},"EC2SecurityGroupOwnerId":{}}},"output":{"resultWrapper":"RevokeDBSecurityGroupIngressResult","type":"structure","members":{"DBSecurityGroup":{"shape":"Sl"}}}},"StartActivityStream":{"input":{"type":"structure","required":["ResourceArn","Mode","KmsKeyId"],"members":{"ResourceArn":{},"Mode":{},"KmsKeyId":{},"ApplyImmediately":{"type":"boolean"},"EngineNativeAuditFieldsIncluded":{"type":"boolean"}}},"output":{"resultWrapper":"StartActivityStreamResult","type":"structure","members":{"KmsKeyId":{},"KinesisStreamName":{},"Status":{},"Mode":{},"ApplyImmediately":{"type":"boolean"},"EngineNativeAuditFieldsIncluded":{"type":"boolean"}}}},"StartDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"StartDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"StartDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{}}},"output":{"resultWrapper":"StartDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"StartDBInstanceAutomatedBackupsReplication":{"input":{"type":"structure","required":["SourceDBInstanceArn"],"members":{"SourceDBInstanceArn":{},"BackupRetentionPeriod":{"type":"integer"},"KmsKeyId":{},"PreSignedUrl":{}}},"output":{"resultWrapper":"StartDBInstanceAutomatedBackupsReplicationResult","type":"structure","members":{"DBInstanceAutomatedBackup":{"shape":"S59"}}}},"StartExportTask":{"input":{"type":"structure","required":["ExportTaskIdentifier","SourceArn","S3BucketName","IamRoleArn","KmsKeyId"],"members":{"ExportTaskIdentifier":{},"SourceArn":{},"S3BucketName":{},"IamRoleArn":{},"KmsKeyId":{},"S3Prefix":{},"ExportOnly":{"shape":"Sv"}}},"output":{"shape":"Su","resultWrapper":"StartExportTaskResult"}},"StopActivityStream":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"ApplyImmediately":{"type":"boolean"}}},"output":{"resultWrapper":"StopActivityStreamResult","type":"structure","members":{"KmsKeyId":{},"KinesisStreamName":{},"Status":{}}}},"StopDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"StopDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"StopDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"DBSnapshotIdentifier":{}}},"output":{"resultWrapper":"StopDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"StopDBInstanceAutomatedBackupsReplication":{"input":{"type":"structure","required":["SourceDBInstanceArn"],"members":{"SourceDBInstanceArn":{}}},"output":{"resultWrapper":"StopDBInstanceAutomatedBackupsReplicationResult","type":"structure","members":{"DBInstanceAutomatedBackup":{"shape":"S59"}}}}},"shapes":{"S6":{"type":"structure","members":{"CustomerAwsId":{},"CustSubscriptionId":{},"SnsTopicArn":{},"Status":{},"SubscriptionCreationTime":{},"SourceType":{},"SourceIdsList":{"shape":"S7"},"EventCategoriesList":{"shape":"S8"},"Enabled":{"type":"boolean"},"EventSubscriptionArn":{}},"wrapper":true},"S7":{"type":"list","member":{"locationName":"SourceId"}},"S8":{"type":"list","member":{"locationName":"EventCategory"}},"Sb":{"type":"list","member":{"locationName":"Tag","type":"structure","members":{"Key":{},"Value":{}}}},"Sf":{"type":"structure","members":{"ResourceIdentifier":{},"PendingMaintenanceActionDetails":{"type":"list","member":{"locationName":"PendingMaintenanceAction","type":"structure","members":{"Action":{},"AutoAppliedAfterDate":{"type":"timestamp"},"ForcedApplyDate":{"type":"timestamp"},"OptInStatus":{},"CurrentApplyDate":{"type":"timestamp"},"Description":{}}}}},"wrapper":true},"Sl":{"type":"structure","members":{"OwnerId":{},"DBSecurityGroupName":{},"DBSecurityGroupDescription":{},"VpcId":{},"EC2SecurityGroups":{"type":"list","member":{"locationName":"EC2SecurityGroup","type":"structure","members":{"Status":{},"EC2SecurityGroupName":{},"EC2SecurityGroupId":{},"EC2SecurityGroupOwnerId":{}}}},"IPRanges":{"type":"list","member":{"locationName":"IPRange","type":"structure","members":{"Status":{},"CIDRIP":{}}}},"DBSecurityGroupArn":{}},"wrapper":true},"Ss":{"type":"structure","members":{"DBClusterIdentifier":{},"BacktrackIdentifier":{},"BacktrackTo":{"type":"timestamp"},"BacktrackedFrom":{"type":"timestamp"},"BacktrackRequestCreationTime":{"type":"timestamp"},"Status":{}}},"Su":{"type":"structure","members":{"ExportTaskIdentifier":{},"SourceArn":{},"ExportOnly":{"shape":"Sv"},"SnapshotTime":{"type":"timestamp"},"TaskStartTime":{"type":"timestamp"},"TaskEndTime":{"type":"timestamp"},"S3Bucket":{},"S3Prefix":{},"IamRoleArn":{},"KmsKeyId":{},"Status":{},"PercentProgress":{"type":"integer"},"TotalExtractedDataInGB":{"type":"integer"},"FailureCause":{},"WarningMessage":{}}},"Sv":{"type":"list","member":{}},"Sz":{"type":"structure","members":{"DBClusterParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"DBClusterParameterGroupArn":{}},"wrapper":true},"S12":{"type":"structure","members":{"AvailabilityZones":{"shape":"S13"},"DBClusterSnapshotIdentifier":{},"DBClusterIdentifier":{},"SnapshotCreateTime":{"type":"timestamp"},"Engine":{},"EngineMode":{},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"VpcId":{},"ClusterCreateTime":{"type":"timestamp"},"MasterUsername":{},"EngineVersion":{},"LicenseModel":{},"SnapshotType":{},"PercentProgress":{"type":"integer"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DBClusterSnapshotArn":{},"SourceDBClusterSnapshotArn":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"TagList":{"shape":"Sb"}},"wrapper":true},"S13":{"type":"list","member":{"locationName":"AvailabilityZone"}},"S16":{"type":"structure","members":{"DBParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"DBParameterGroupArn":{}},"wrapper":true},"S19":{"type":"structure","members":{"DBSnapshotIdentifier":{},"DBInstanceIdentifier":{},"SnapshotCreateTime":{"type":"timestamp"},"Engine":{},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"InstanceCreateTime":{"type":"timestamp"},"MasterUsername":{},"EngineVersion":{},"LicenseModel":{},"SnapshotType":{},"Iops":{"type":"integer"},"OptionGroupName":{},"PercentProgress":{"type":"integer"},"SourceRegion":{},"SourceDBSnapshotIdentifier":{},"StorageType":{},"TdeCredentialArn":{},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"DBSnapshotArn":{},"Timezone":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"ProcessorFeatures":{"shape":"S1b"},"DbiResourceId":{},"TagList":{"shape":"Sb"},"OriginalSnapshotCreateTime":{"type":"timestamp"},"SnapshotTarget":{}},"wrapper":true},"S1b":{"type":"list","member":{"locationName":"ProcessorFeature","type":"structure","members":{"Name":{},"Value":{}}}},"S1f":{"type":"structure","members":{"OptionGroupName":{},"OptionGroupDescription":{},"EngineName":{},"MajorEngineVersion":{},"Options":{"type":"list","member":{"locationName":"Option","type":"structure","members":{"OptionName":{},"OptionDescription":{},"Persistent":{"type":"boolean"},"Permanent":{"type":"boolean"},"Port":{"type":"integer"},"OptionVersion":{},"OptionSettings":{"type":"list","member":{"shape":"S1j","locationName":"OptionSetting"}},"DBSecurityGroupMemberships":{"shape":"S1k"},"VpcSecurityGroupMemberships":{"shape":"S1m"}}}},"AllowsVpcAndNonVpcInstanceMemberships":{"type":"boolean"},"VpcId":{},"OptionGroupArn":{}},"wrapper":true},"S1j":{"type":"structure","members":{"Name":{},"Value":{},"DefaultValue":{},"Description":{},"ApplyType":{},"DataType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"IsCollection":{"type":"boolean"}}},"S1k":{"type":"list","member":{"locationName":"DBSecurityGroup","type":"structure","members":{"DBSecurityGroupName":{},"Status":{}}}},"S1m":{"type":"list","member":{"locationName":"VpcSecurityGroupMembership","type":"structure","members":{"VpcSecurityGroupId":{},"Status":{}}}},"S1q":{"type":"structure","members":{"CustomAvailabilityZoneId":{},"CustomAvailabilityZoneName":{},"CustomAvailabilityZoneStatus":{},"VpnDetails":{"type":"structure","members":{"VpnId":{},"VpnTunnelOriginatorIP":{},"VpnGatewayIp":{},"VpnPSK":{"type":"string","sensitive":true},"VpnName":{},"VpnState":{}}}},"wrapper":true},"S21":{"type":"structure","members":{"Engine":{},"EngineVersion":{},"DBParameterGroupFamily":{},"DBEngineDescription":{},"DBEngineVersionDescription":{},"DefaultCharacterSet":{"shape":"S22"},"SupportedCharacterSets":{"shape":"S23"},"SupportedNcharCharacterSets":{"shape":"S23"},"ValidUpgradeTarget":{"type":"list","member":{"locationName":"UpgradeTarget","type":"structure","members":{"Engine":{},"EngineVersion":{},"Description":{},"AutoUpgrade":{"type":"boolean"},"IsMajorVersionUpgrade":{"type":"boolean"},"SupportedEngineModes":{"shape":"S26"},"SupportsParallelQuery":{"type":"boolean"},"SupportsGlobalDatabases":{"type":"boolean"}}}},"SupportedTimezones":{"type":"list","member":{"locationName":"Timezone","type":"structure","members":{"TimezoneName":{}}}},"ExportableLogTypes":{"shape":"S29"},"SupportsLogExportsToCloudwatchLogs":{"type":"boolean"},"SupportsReadReplica":{"type":"boolean"},"SupportedEngineModes":{"shape":"S26"},"SupportedFeatureNames":{"type":"list","member":{}},"Status":{},"SupportsParallelQuery":{"type":"boolean"},"SupportsGlobalDatabases":{"type":"boolean"},"MajorEngineVersion":{},"DatabaseInstallationFilesS3BucketName":{},"DatabaseInstallationFilesS3Prefix":{},"DBEngineVersionArn":{},"KMSKeyId":{},"CreateTime":{"type":"timestamp"},"TagList":{"shape":"Sb"}}},"S22":{"type":"structure","members":{"CharacterSetName":{},"CharacterSetDescription":{}}},"S23":{"type":"list","member":{"shape":"S22","locationName":"CharacterSet"}},"S26":{"type":"list","member":{}},"S29":{"type":"list","member":{}},"S2c":{"type":"list","member":{"locationName":"VpcSecurityGroupId"}},"S2e":{"type":"structure","members":{"MinCapacity":{"type":"integer"},"MaxCapacity":{"type":"integer"},"AutoPause":{"type":"boolean"},"SecondsUntilAutoPause":{"type":"integer"},"TimeoutAction":{},"SecondsBeforeTimeout":{"type":"integer"}}},"S2g":{"type":"structure","members":{"AllocatedStorage":{"type":"integer"},"AvailabilityZones":{"shape":"S13"},"BackupRetentionPeriod":{"type":"integer"},"CharacterSetName":{},"DatabaseName":{},"DBClusterIdentifier":{},"DBClusterParameterGroup":{},"DBSubnetGroup":{},"Status":{},"AutomaticRestartTime":{"type":"timestamp"},"PercentProgress":{},"EarliestRestorableTime":{"type":"timestamp"},"Endpoint":{},"ReaderEndpoint":{},"CustomEndpoints":{"shape":"Sv"},"MultiAZ":{"type":"boolean"},"Engine":{},"EngineVersion":{},"LatestRestorableTime":{"type":"timestamp"},"Port":{"type":"integer"},"MasterUsername":{},"DBClusterOptionGroupMemberships":{"type":"list","member":{"locationName":"DBClusterOptionGroup","type":"structure","members":{"DBClusterOptionGroupName":{},"Status":{}}}},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"ReplicationSourceIdentifier":{},"ReadReplicaIdentifiers":{"type":"list","member":{"locationName":"ReadReplicaIdentifier"}},"DBClusterMembers":{"type":"list","member":{"locationName":"DBClusterMember","type":"structure","members":{"DBInstanceIdentifier":{},"IsClusterWriter":{"type":"boolean"},"DBClusterParameterGroupStatus":{},"PromotionTier":{"type":"integer"}},"wrapper":true}},"VpcSecurityGroups":{"shape":"S1m"},"HostedZoneId":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbClusterResourceId":{},"DBClusterArn":{},"AssociatedRoles":{"type":"list","member":{"locationName":"DBClusterRole","type":"structure","members":{"RoleArn":{},"Status":{},"FeatureName":{}}}},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"CloneGroupId":{},"ClusterCreateTime":{"type":"timestamp"},"EarliestBacktrackTime":{"type":"timestamp"},"BacktrackWindow":{"type":"long"},"BacktrackConsumedChangeRecords":{"type":"long"},"EnabledCloudwatchLogsExports":{"shape":"S29"},"Capacity":{"type":"integer"},"EngineMode":{},"ScalingConfigurationInfo":{"type":"structure","members":{"MinCapacity":{"type":"integer"},"MaxCapacity":{"type":"integer"},"AutoPause":{"type":"boolean"},"SecondsUntilAutoPause":{"type":"integer"},"TimeoutAction":{},"SecondsBeforeTimeout":{"type":"integer"}}},"DeletionProtection":{"type":"boolean"},"HttpEndpointEnabled":{"type":"boolean"},"ActivityStreamMode":{},"ActivityStreamStatus":{},"ActivityStreamKmsKeyId":{},"ActivityStreamKinesisStreamName":{},"CopyTagsToSnapshot":{"type":"boolean"},"CrossAccountClone":{"type":"boolean"},"DomainMemberships":{"shape":"S2r"},"TagList":{"shape":"Sb"},"GlobalWriteForwardingStatus":{},"GlobalWriteForwardingRequested":{"type":"boolean"},"PendingModifiedValues":{"type":"structure","members":{"PendingCloudwatchLogsExports":{"shape":"S2v"},"DBClusterIdentifier":{},"MasterUserPassword":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"EngineVersion":{}}},"DBClusterInstanceClass":{},"StorageType":{},"Iops":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"PerformanceInsightsEnabled":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"}},"wrapper":true},"S2r":{"type":"list","member":{"locationName":"DomainMembership","type":"structure","members":{"Domain":{},"Status":{},"FQDN":{},"IAMRoleName":{}}}},"S2v":{"type":"structure","members":{"LogTypesToEnable":{"shape":"S29"},"LogTypesToDisable":{"shape":"S29"}}},"S2x":{"type":"structure","members":{"DBClusterEndpointIdentifier":{},"DBClusterIdentifier":{},"DBClusterEndpointResourceIdentifier":{},"Endpoint":{},"Status":{},"EndpointType":{},"CustomEndpointType":{},"StaticMembers":{"shape":"Sv"},"ExcludedMembers":{"shape":"Sv"},"DBClusterEndpointArn":{}}},"S33":{"type":"list","member":{"locationName":"DBSecurityGroupName"}},"S35":{"type":"structure","members":{"DBInstanceIdentifier":{},"DBInstanceClass":{},"Engine":{},"DBInstanceStatus":{},"AutomaticRestartTime":{"type":"timestamp"},"MasterUsername":{},"DBName":{},"Endpoint":{"shape":"S36"},"AllocatedStorage":{"type":"integer"},"InstanceCreateTime":{"type":"timestamp"},"PreferredBackupWindow":{},"BackupRetentionPeriod":{"type":"integer"},"DBSecurityGroups":{"shape":"S1k"},"VpcSecurityGroups":{"shape":"S1m"},"DBParameterGroups":{"type":"list","member":{"locationName":"DBParameterGroup","type":"structure","members":{"DBParameterGroupName":{},"ParameterApplyStatus":{}}}},"AvailabilityZone":{},"DBSubnetGroup":{"shape":"S39"},"PreferredMaintenanceWindow":{},"PendingModifiedValues":{"type":"structure","members":{"DBInstanceClass":{},"AllocatedStorage":{"type":"integer"},"MasterUserPassword":{},"Port":{"type":"integer"},"BackupRetentionPeriod":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"LicenseModel":{},"Iops":{"type":"integer"},"DBInstanceIdentifier":{},"StorageType":{},"CACertificateIdentifier":{},"DBSubnetGroupName":{},"PendingCloudwatchLogsExports":{"shape":"S2v"},"ProcessorFeatures":{"shape":"S1b"},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"AutomationMode":{},"ResumeFullAutomationModeTime":{"type":"timestamp"}}},"LatestRestorableTime":{"type":"timestamp"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"ReadReplicaSourceDBInstanceIdentifier":{},"ReadReplicaDBInstanceIdentifiers":{"type":"list","member":{"locationName":"ReadReplicaDBInstanceIdentifier"}},"ReadReplicaDBClusterIdentifiers":{"type":"list","member":{"locationName":"ReadReplicaDBClusterIdentifier"}},"ReplicaMode":{},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupMemberships":{"type":"list","member":{"locationName":"OptionGroupMembership","type":"structure","members":{"OptionGroupName":{},"Status":{}}}},"CharacterSetName":{},"NcharCharacterSetName":{},"SecondaryAvailabilityZone":{},"PubliclyAccessible":{"type":"boolean"},"StatusInfos":{"type":"list","member":{"locationName":"DBInstanceStatusInfo","type":"structure","members":{"StatusType":{},"Normal":{"type":"boolean"},"Status":{},"Message":{}}}},"StorageType":{},"TdeCredentialArn":{},"DbInstancePort":{"type":"integer"},"DBClusterIdentifier":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbiResourceId":{},"CACertificateIdentifier":{},"DomainMemberships":{"shape":"S2r"},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"EnhancedMonitoringResourceArn":{},"MonitoringRoleArn":{},"PromotionTier":{"type":"integer"},"DBInstanceArn":{},"Timezone":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"PerformanceInsightsEnabled":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnabledCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"DeletionProtection":{"type":"boolean"},"AssociatedRoles":{"type":"list","member":{"locationName":"DBInstanceRole","type":"structure","members":{"RoleArn":{},"FeatureName":{},"Status":{}}}},"ListenerEndpoint":{"shape":"S36"},"MaxAllocatedStorage":{"type":"integer"},"TagList":{"shape":"Sb"},"DBInstanceAutomatedBackupsReplications":{"shape":"S3p"},"CustomerOwnedIpEnabled":{"type":"boolean"},"AwsBackupRecoveryPointArn":{},"ActivityStreamStatus":{},"ActivityStreamKmsKeyId":{},"ActivityStreamKinesisStreamName":{},"ActivityStreamMode":{},"ActivityStreamEngineNativeAuditFieldsIncluded":{"type":"boolean"},"AutomationMode":{},"ResumeFullAutomationModeTime":{"type":"timestamp"},"CustomIamInstanceProfile":{},"BackupTarget":{}},"wrapper":true},"S36":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"},"HostedZoneId":{}}},"S39":{"type":"structure","members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"VpcId":{},"SubnetGroupStatus":{},"Subnets":{"type":"list","member":{"locationName":"Subnet","type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"shape":"S3c"},"SubnetOutpost":{"type":"structure","members":{"Arn":{}}},"SubnetStatus":{}}}},"DBSubnetGroupArn":{}},"wrapper":true},"S3c":{"type":"structure","members":{"Name":{}},"wrapper":true},"S3p":{"type":"list","member":{"locationName":"DBInstanceAutomatedBackupsReplication","type":"structure","members":{"DBInstanceAutomatedBackupsArn":{}}}},"S3x":{"type":"list","member":{"type":"structure","members":{"Description":{},"UserName":{},"AuthScheme":{},"SecretArn":{},"IAMAuth":{}}}},"S42":{"type":"structure","members":{"DBProxyName":{},"DBProxyArn":{},"Status":{},"EngineFamily":{},"VpcId":{},"VpcSecurityGroupIds":{"shape":"Sv"},"VpcSubnetIds":{"shape":"Sv"},"Auth":{"type":"list","member":{"type":"structure","members":{"Description":{},"UserName":{},"AuthScheme":{},"SecretArn":{},"IAMAuth":{}}}},"RoleArn":{},"Endpoint":{},"RequireTLS":{"type":"boolean"},"IdleClientTimeout":{"type":"integer"},"DebugLogging":{"type":"boolean"},"CreatedDate":{"type":"timestamp"},"UpdatedDate":{"type":"timestamp"}}},"S4b":{"type":"structure","members":{"DBProxyEndpointName":{},"DBProxyEndpointArn":{},"DBProxyName":{},"Status":{},"VpcId":{},"VpcSecurityGroupIds":{"shape":"Sv"},"VpcSubnetIds":{"shape":"Sv"},"Endpoint":{},"CreatedDate":{"type":"timestamp"},"TargetRole":{},"IsDefault":{"type":"boolean"}}},"S4i":{"type":"list","member":{"locationName":"SubnetIdentifier"}},"S4o":{"type":"structure","members":{"GlobalClusterIdentifier":{},"GlobalClusterResourceId":{},"GlobalClusterArn":{},"Status":{},"Engine":{},"EngineVersion":{},"DatabaseName":{},"StorageEncrypted":{"type":"boolean"},"DeletionProtection":{"type":"boolean"},"GlobalClusterMembers":{"type":"list","member":{"locationName":"GlobalClusterMember","type":"structure","members":{"DBClusterArn":{},"Readers":{"type":"list","member":{}},"IsWriter":{"type":"boolean"},"GlobalWriteForwardingStatus":{}},"wrapper":true}},"FailoverState":{"type":"structure","members":{"Status":{},"FromDbClusterArn":{},"ToDbClusterArn":{}},"wrapper":true}},"wrapper":true},"S59":{"type":"structure","members":{"DBInstanceArn":{},"DbiResourceId":{},"Region":{},"DBInstanceIdentifier":{},"RestoreWindow":{"type":"structure","members":{"EarliestTime":{"type":"timestamp"},"LatestTime":{"type":"timestamp"}}},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"InstanceCreateTime":{"type":"timestamp"},"MasterUsername":{},"Engine":{},"EngineVersion":{},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupName":{},"TdeCredentialArn":{},"Encrypted":{"type":"boolean"},"StorageType":{},"KmsKeyId":{},"Timezone":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"BackupRetentionPeriod":{"type":"integer"},"DBInstanceAutomatedBackupsArn":{},"DBInstanceAutomatedBackupsReplications":{"shape":"S3p"},"BackupTarget":{}},"wrapper":true},"S5p":{"type":"structure","members":{"InstallationMediaId":{},"CustomAvailabilityZoneId":{},"Engine":{},"EngineVersion":{},"EngineInstallationMediaPath":{},"OSInstallationMediaPath":{},"Status":{},"FailureCause":{"type":"structure","members":{"Message":{}}}}},"S60":{"type":"list","member":{"locationName":"Filter","type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{"locationName":"Value"}}}}},"S65":{"type":"structure","members":{"CertificateIdentifier":{},"CertificateType":{},"Thumbprint":{},"ValidFrom":{"type":"timestamp"},"ValidTill":{"type":"timestamp"},"CertificateArn":{},"CustomerOverride":{"type":"boolean"},"CustomerOverrideValidTill":{"type":"timestamp"}},"wrapper":true},"S6k":{"type":"list","member":{"locationName":"Parameter","type":"structure","members":{"ParameterName":{},"ParameterValue":{},"Description":{},"Source":{},"ApplyType":{},"DataType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"MinimumEngineVersion":{},"ApplyMethod":{},"SupportedEngineModes":{"shape":"S26"}}}},"S6p":{"type":"structure","members":{"DBClusterSnapshotIdentifier":{},"DBClusterSnapshotAttributes":{"type":"list","member":{"locationName":"DBClusterSnapshotAttribute","type":"structure","members":{"AttributeName":{},"AttributeValues":{"shape":"S6s"}}}}},"wrapper":true},"S6s":{"type":"list","member":{"locationName":"AttributeValue"}},"S7r":{"type":"structure","members":{"DBProxyName":{},"TargetGroupName":{},"TargetGroupArn":{},"IsDefault":{"type":"boolean"},"Status":{},"ConnectionPoolConfig":{"type":"structure","members":{"MaxConnectionsPercent":{"type":"integer"},"MaxIdleConnectionsPercent":{"type":"integer"},"ConnectionBorrowTimeout":{"type":"integer"},"SessionPinningFilters":{"shape":"Sv"},"InitQuery":{}}},"CreatedDate":{"type":"timestamp"},"UpdatedDate":{"type":"timestamp"}}},"S7v":{"type":"list","member":{"type":"structure","members":{"TargetArn":{},"Endpoint":{},"TrackedClusterId":{},"RdsResourceId":{},"Port":{"type":"integer"},"Type":{},"Role":{},"TargetHealth":{"type":"structure","members":{"State":{},"Reason":{},"Description":{}}}}}},"S87":{"type":"structure","members":{"DBSnapshotIdentifier":{},"DBSnapshotAttributes":{"type":"list","member":{"locationName":"DBSnapshotAttribute","type":"structure","members":{"AttributeName":{},"AttributeValues":{"shape":"S6s"}},"wrapper":true}}},"wrapper":true},"S8i":{"type":"structure","members":{"DBParameterGroupFamily":{},"Marker":{},"Parameters":{"shape":"S6k"}},"wrapper":true},"S9r":{"type":"list","member":{"locationName":"AvailableProcessorFeature","type":"structure","members":{"Name":{},"DefaultValue":{},"AllowedValues":{}}}},"Sa0":{"type":"structure","members":{"ReservedDBInstanceId":{},"ReservedDBInstancesOfferingId":{},"DBInstanceClass":{},"StartTime":{"type":"timestamp"},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"DBInstanceCount":{"type":"integer"},"ProductDescription":{},"OfferingType":{},"MultiAZ":{"type":"boolean"},"State":{},"RecurringCharges":{"shape":"Sa2"},"ReservedDBInstanceArn":{},"LeaseId":{}},"wrapper":true},"Sa2":{"type":"list","member":{"locationName":"RecurringCharge","type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}},"wrapper":true}},"Sah":{"type":"list","member":{"locationName":"Range","type":"structure","members":{"From":{"type":"integer"},"To":{"type":"integer"},"Step":{"type":"integer"}}}},"Sb3":{"type":"structure","members":{"EnableLogTypes":{"shape":"S29"},"DisableLogTypes":{"shape":"S29"}}},"Sb7":{"type":"structure","members":{"DBClusterParameterGroupName":{}}},"Sbe":{"type":"structure","members":{"DBParameterGroupName":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2014-10-31","endpointPrefix":"rds","protocol":"query","serviceAbbreviation":"Amazon RDS","serviceFullName":"Amazon Relational Database Service","serviceId":"RDS","signatureVersion":"v4","uid":"rds-2014-10-31","xmlNamespace":"http://rds.amazonaws.com/doc/2014-10-31/"},"operations":{"AddRoleToDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","RoleArn"],"members":{"DBClusterIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"AddRoleToDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier","RoleArn","FeatureName"],"members":{"DBInstanceIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"AddSourceIdentifierToSubscription":{"input":{"type":"structure","required":["SubscriptionName","SourceIdentifier"],"members":{"SubscriptionName":{},"SourceIdentifier":{}}},"output":{"resultWrapper":"AddSourceIdentifierToSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"AddTagsToResource":{"input":{"type":"structure","required":["ResourceName","Tags"],"members":{"ResourceName":{},"Tags":{"shape":"Sb"}}}},"ApplyPendingMaintenanceAction":{"input":{"type":"structure","required":["ResourceIdentifier","ApplyAction","OptInType"],"members":{"ResourceIdentifier":{},"ApplyAction":{},"OptInType":{}}},"output":{"resultWrapper":"ApplyPendingMaintenanceActionResult","type":"structure","members":{"ResourcePendingMaintenanceActions":{"shape":"Sf"}}}},"AuthorizeDBSecurityGroupIngress":{"input":{"type":"structure","required":["DBSecurityGroupName"],"members":{"DBSecurityGroupName":{},"CIDRIP":{},"EC2SecurityGroupName":{},"EC2SecurityGroupId":{},"EC2SecurityGroupOwnerId":{}}},"output":{"resultWrapper":"AuthorizeDBSecurityGroupIngressResult","type":"structure","members":{"DBSecurityGroup":{"shape":"Sl"}}}},"BacktrackDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","BacktrackTo"],"members":{"DBClusterIdentifier":{},"BacktrackTo":{"type":"timestamp"},"Force":{"type":"boolean"},"UseEarliestTimeOnPointInTimeUnavailable":{"type":"boolean"}}},"output":{"shape":"Ss","resultWrapper":"BacktrackDBClusterResult"}},"CancelExportTask":{"input":{"type":"structure","required":["ExportTaskIdentifier"],"members":{"ExportTaskIdentifier":{}}},"output":{"shape":"Su","resultWrapper":"CancelExportTaskResult"}},"CopyDBClusterParameterGroup":{"input":{"type":"structure","required":["SourceDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupDescription"],"members":{"SourceDBClusterParameterGroupIdentifier":{},"TargetDBClusterParameterGroupIdentifier":{},"TargetDBClusterParameterGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CopyDBClusterParameterGroupResult","type":"structure","members":{"DBClusterParameterGroup":{"shape":"Sz"}}}},"CopyDBClusterSnapshot":{"input":{"type":"structure","required":["SourceDBClusterSnapshotIdentifier","TargetDBClusterSnapshotIdentifier"],"members":{"SourceDBClusterSnapshotIdentifier":{},"TargetDBClusterSnapshotIdentifier":{},"KmsKeyId":{},"PreSignedUrl":{},"CopyTags":{"type":"boolean"},"Tags":{"shape":"Sb"},"SourceRegion":{}}},"output":{"resultWrapper":"CopyDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"S12"}}}},"CopyDBParameterGroup":{"input":{"type":"structure","required":["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],"members":{"SourceDBParameterGroupIdentifier":{},"TargetDBParameterGroupIdentifier":{},"TargetDBParameterGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CopyDBParameterGroupResult","type":"structure","members":{"DBParameterGroup":{"shape":"S16"}}}},"CopyDBSnapshot":{"input":{"type":"structure","required":["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],"members":{"SourceDBSnapshotIdentifier":{},"TargetDBSnapshotIdentifier":{},"KmsKeyId":{},"Tags":{"shape":"Sb"},"CopyTags":{"type":"boolean"},"PreSignedUrl":{},"OptionGroupName":{},"TargetCustomAvailabilityZone":{},"SourceRegion":{}}},"output":{"resultWrapper":"CopyDBSnapshotResult","type":"structure","members":{"DBSnapshot":{"shape":"S19"}}}},"CopyOptionGroup":{"input":{"type":"structure","required":["SourceOptionGroupIdentifier","TargetOptionGroupIdentifier","TargetOptionGroupDescription"],"members":{"SourceOptionGroupIdentifier":{},"TargetOptionGroupIdentifier":{},"TargetOptionGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CopyOptionGroupResult","type":"structure","members":{"OptionGroup":{"shape":"S1f"}}}},"CreateCustomAvailabilityZone":{"input":{"type":"structure","required":["CustomAvailabilityZoneName"],"members":{"CustomAvailabilityZoneName":{},"ExistingVpnId":{},"NewVpnTunnelName":{},"VpnTunnelOriginatorIP":{}}},"output":{"resultWrapper":"CreateCustomAvailabilityZoneResult","type":"structure","members":{"CustomAvailabilityZone":{"shape":"S1q"}}}},"CreateCustomDBEngineVersion":{"input":{"type":"structure","required":["Engine","EngineVersion","DatabaseInstallationFilesS3BucketName","KMSKeyId","Manifest"],"members":{"Engine":{},"EngineVersion":{},"DatabaseInstallationFilesS3BucketName":{},"DatabaseInstallationFilesS3Prefix":{},"KMSKeyId":{},"Description":{},"Manifest":{},"Tags":{"shape":"Sb"}}},"output":{"shape":"S21","resultWrapper":"CreateCustomDBEngineVersionResult"}},"CreateDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","Engine"],"members":{"AvailabilityZones":{"shape":"S13"},"BackupRetentionPeriod":{"type":"integer"},"CharacterSetName":{},"DatabaseName":{},"DBClusterIdentifier":{},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"DBSubnetGroupName":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"MasterUsername":{},"MasterUserPassword":{},"OptionGroupName":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"ReplicationSourceIdentifier":{},"Tags":{"shape":"Sb"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"PreSignedUrl":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"BacktrackWindow":{"type":"long"},"EnableCloudwatchLogsExports":{"shape":"S29"},"EngineMode":{},"ScalingConfiguration":{"shape":"S2e"},"DeletionProtection":{"type":"boolean"},"GlobalClusterIdentifier":{},"EnableHttpEndpoint":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{},"EnableGlobalWriteForwarding":{"type":"boolean"},"DBClusterInstanceClass":{},"AllocatedStorage":{"type":"integer"},"StorageType":{},"Iops":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"SourceRegion":{}}},"output":{"resultWrapper":"CreateDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"CreateDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterIdentifier","DBClusterEndpointIdentifier","EndpointType"],"members":{"DBClusterIdentifier":{},"DBClusterEndpointIdentifier":{},"EndpointType":{},"StaticMembers":{"shape":"Sv"},"ExcludedMembers":{"shape":"Sv"},"Tags":{"shape":"Sb"}}},"output":{"shape":"S2x","resultWrapper":"CreateDBClusterEndpointResult"}},"CreateDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName","DBParameterGroupFamily","Description"],"members":{"DBClusterParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBClusterParameterGroupResult","type":"structure","members":{"DBClusterParameterGroup":{"shape":"Sz"}}}},"CreateDBClusterSnapshot":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier","DBClusterIdentifier"],"members":{"DBClusterSnapshotIdentifier":{},"DBClusterIdentifier":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"S12"}}}},"CreateDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier","DBInstanceClass","Engine"],"members":{"DBName":{},"DBInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"DBInstanceClass":{},"Engine":{},"MasterUsername":{},"MasterUserPassword":{},"DBSecurityGroups":{"shape":"S33"},"VpcSecurityGroupIds":{"shape":"S2c"},"AvailabilityZone":{},"DBSubnetGroupName":{},"PreferredMaintenanceWindow":{},"DBParameterGroupName":{},"BackupRetentionPeriod":{"type":"integer"},"PreferredBackupWindow":{},"Port":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupName":{},"CharacterSetName":{},"NcharCharacterSetName":{},"PubliclyAccessible":{"type":"boolean"},"Tags":{"shape":"Sb"},"DBClusterIdentifier":{},"StorageType":{},"TdeCredentialArn":{},"TdeCredentialPassword":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"Domain":{},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"DomainIAMRoleName":{},"PromotionTier":{"type":"integer"},"Timezone":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"DeletionProtection":{"type":"boolean"},"MaxAllocatedStorage":{"type":"integer"},"EnableCustomerOwnedIp":{"type":"boolean"},"CustomIamInstanceProfile":{},"BackupTarget":{}}},"output":{"resultWrapper":"CreateDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"CreateDBInstanceReadReplica":{"input":{"type":"structure","required":["DBInstanceIdentifier","SourceDBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"SourceDBInstanceIdentifier":{},"DBInstanceClass":{},"AvailabilityZone":{},"Port":{"type":"integer"},"MultiAZ":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"Iops":{"type":"integer"},"OptionGroupName":{},"DBParameterGroupName":{},"PubliclyAccessible":{"type":"boolean"},"Tags":{"shape":"Sb"},"DBSubnetGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"StorageType":{},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"KmsKeyId":{},"PreSignedUrl":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DeletionProtection":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{},"ReplicaMode":{},"MaxAllocatedStorage":{"type":"integer"},"CustomIamInstanceProfile":{},"SourceRegion":{}}},"output":{"resultWrapper":"CreateDBInstanceReadReplicaResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"CreateDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName","DBParameterGroupFamily","Description"],"members":{"DBParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBParameterGroupResult","type":"structure","members":{"DBParameterGroup":{"shape":"S16"}}}},"CreateDBProxy":{"input":{"type":"structure","required":["DBProxyName","EngineFamily","Auth","RoleArn","VpcSubnetIds"],"members":{"DBProxyName":{},"EngineFamily":{},"Auth":{"shape":"S3x"},"RoleArn":{},"VpcSubnetIds":{"shape":"Sv"},"VpcSecurityGroupIds":{"shape":"Sv"},"RequireTLS":{"type":"boolean"},"IdleClientTimeout":{"type":"integer"},"DebugLogging":{"type":"boolean"},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBProxyResult","type":"structure","members":{"DBProxy":{"shape":"S42"}}}},"CreateDBProxyEndpoint":{"input":{"type":"structure","required":["DBProxyName","DBProxyEndpointName","VpcSubnetIds"],"members":{"DBProxyName":{},"DBProxyEndpointName":{},"VpcSubnetIds":{"shape":"Sv"},"VpcSecurityGroupIds":{"shape":"Sv"},"TargetRole":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBProxyEndpointResult","type":"structure","members":{"DBProxyEndpoint":{"shape":"S4b"}}}},"CreateDBSecurityGroup":{"input":{"type":"structure","required":["DBSecurityGroupName","DBSecurityGroupDescription"],"members":{"DBSecurityGroupName":{},"DBSecurityGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBSecurityGroupResult","type":"structure","members":{"DBSecurityGroup":{"shape":"Sl"}}}},"CreateDBSnapshot":{"input":{"type":"structure","required":["DBSnapshotIdentifier","DBInstanceIdentifier"],"members":{"DBSnapshotIdentifier":{},"DBInstanceIdentifier":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBSnapshotResult","type":"structure","members":{"DBSnapshot":{"shape":"S19"}}}},"CreateDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],"members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"SubnetIds":{"shape":"S4i"},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateDBSubnetGroupResult","type":"structure","members":{"DBSubnetGroup":{"shape":"S39"}}}},"CreateEventSubscription":{"input":{"type":"structure","required":["SubscriptionName","SnsTopicArn"],"members":{"SubscriptionName":{},"SnsTopicArn":{},"SourceType":{},"EventCategories":{"shape":"S8"},"SourceIds":{"shape":"S7"},"Enabled":{"type":"boolean"},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"CreateGlobalCluster":{"input":{"type":"structure","members":{"GlobalClusterIdentifier":{},"SourceDBClusterIdentifier":{},"Engine":{},"EngineVersion":{},"DeletionProtection":{"type":"boolean"},"DatabaseName":{},"StorageEncrypted":{"type":"boolean"}}},"output":{"resultWrapper":"CreateGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"CreateOptionGroup":{"input":{"type":"structure","required":["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],"members":{"OptionGroupName":{},"EngineName":{},"MajorEngineVersion":{},"OptionGroupDescription":{},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"CreateOptionGroupResult","type":"structure","members":{"OptionGroup":{"shape":"S1f"}}}},"DeleteCustomAvailabilityZone":{"input":{"type":"structure","required":["CustomAvailabilityZoneId"],"members":{"CustomAvailabilityZoneId":{}}},"output":{"resultWrapper":"DeleteCustomAvailabilityZoneResult","type":"structure","members":{"CustomAvailabilityZone":{"shape":"S1q"}}}},"DeleteCustomDBEngineVersion":{"input":{"type":"structure","required":["Engine","EngineVersion"],"members":{"Engine":{},"EngineVersion":{}}},"output":{"shape":"S21","resultWrapper":"DeleteCustomDBEngineVersionResult"}},"DeleteDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"SkipFinalSnapshot":{"type":"boolean"},"FinalDBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"DeleteDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterEndpointIdentifier"],"members":{"DBClusterEndpointIdentifier":{}}},"output":{"shape":"S2x","resultWrapper":"DeleteDBClusterEndpointResult"}},"DeleteDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{}}}},"DeleteDBClusterSnapshot":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier"],"members":{"DBClusterSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBClusterSnapshotResult","type":"structure","members":{"DBClusterSnapshot":{"shape":"S12"}}}},"DeleteDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"SkipFinalSnapshot":{"type":"boolean"},"FinalDBSnapshotIdentifier":{},"DeleteAutomatedBackups":{"type":"boolean"}}},"output":{"resultWrapper":"DeleteDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"DeleteDBInstanceAutomatedBackup":{"input":{"type":"structure","members":{"DbiResourceId":{},"DBInstanceAutomatedBackupsArn":{}}},"output":{"resultWrapper":"DeleteDBInstanceAutomatedBackupResult","type":"structure","members":{"DBInstanceAutomatedBackup":{"shape":"S59"}}}},"DeleteDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{}}}},"DeleteDBProxy":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{}}},"output":{"resultWrapper":"DeleteDBProxyResult","type":"structure","members":{"DBProxy":{"shape":"S42"}}}},"DeleteDBProxyEndpoint":{"input":{"type":"structure","required":["DBProxyEndpointName"],"members":{"DBProxyEndpointName":{}}},"output":{"resultWrapper":"DeleteDBProxyEndpointResult","type":"structure","members":{"DBProxyEndpoint":{"shape":"S4b"}}}},"DeleteDBSecurityGroup":{"input":{"type":"structure","required":["DBSecurityGroupName"],"members":{"DBSecurityGroupName":{}}}},"DeleteDBSnapshot":{"input":{"type":"structure","required":["DBSnapshotIdentifier"],"members":{"DBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DeleteDBSnapshotResult","type":"structure","members":{"DBSnapshot":{"shape":"S19"}}}},"DeleteDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName"],"members":{"DBSubnetGroupName":{}}}},"DeleteEventSubscription":{"input":{"type":"structure","required":["SubscriptionName"],"members":{"SubscriptionName":{}}},"output":{"resultWrapper":"DeleteEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"DeleteGlobalCluster":{"input":{"type":"structure","required":["GlobalClusterIdentifier"],"members":{"GlobalClusterIdentifier":{}}},"output":{"resultWrapper":"DeleteGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"DeleteInstallationMedia":{"input":{"type":"structure","required":["InstallationMediaId"],"members":{"InstallationMediaId":{}}},"output":{"shape":"S5p","resultWrapper":"DeleteInstallationMediaResult"}},"DeleteOptionGroup":{"input":{"type":"structure","required":["OptionGroupName"],"members":{"OptionGroupName":{}}}},"DeregisterDBProxyTargets":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"TargetGroupName":{},"DBInstanceIdentifiers":{"shape":"Sv"},"DBClusterIdentifiers":{"shape":"Sv"}}},"output":{"resultWrapper":"DeregisterDBProxyTargetsResult","type":"structure","members":{}}},"DescribeAccountAttributes":{"input":{"type":"structure","members":{}},"output":{"resultWrapper":"DescribeAccountAttributesResult","type":"structure","members":{"AccountQuotas":{"type":"list","member":{"locationName":"AccountQuota","type":"structure","members":{"AccountQuotaName":{},"Used":{"type":"long"},"Max":{"type":"long"}},"wrapper":true}}}}},"DescribeCertificates":{"input":{"type":"structure","members":{"CertificateIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeCertificatesResult","type":"structure","members":{"Certificates":{"type":"list","member":{"shape":"S65","locationName":"Certificate"}},"Marker":{}}}},"DescribeCustomAvailabilityZones":{"input":{"type":"structure","members":{"CustomAvailabilityZoneId":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeCustomAvailabilityZonesResult","type":"structure","members":{"Marker":{},"CustomAvailabilityZones":{"type":"list","member":{"shape":"S1q","locationName":"CustomAvailabilityZone"}}}}},"DescribeDBClusterBacktracks":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"BacktrackIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterBacktracksResult","type":"structure","members":{"Marker":{},"DBClusterBacktracks":{"type":"list","member":{"shape":"Ss","locationName":"DBClusterBacktrack"}}}}},"DescribeDBClusterEndpoints":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"DBClusterEndpointIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterEndpointsResult","type":"structure","members":{"Marker":{},"DBClusterEndpoints":{"type":"list","member":{"shape":"S2x","locationName":"DBClusterEndpointList"}}}}},"DescribeDBClusterParameterGroups":{"input":{"type":"structure","members":{"DBClusterParameterGroupName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterParameterGroupsResult","type":"structure","members":{"Marker":{},"DBClusterParameterGroups":{"type":"list","member":{"shape":"Sz","locationName":"DBClusterParameterGroup"}}}}},"DescribeDBClusterParameters":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{},"Source":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBClusterParametersResult","type":"structure","members":{"Parameters":{"shape":"S6k"},"Marker":{}}}},"DescribeDBClusterSnapshotAttributes":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier"],"members":{"DBClusterSnapshotIdentifier":{}}},"output":{"resultWrapper":"DescribeDBClusterSnapshotAttributesResult","type":"structure","members":{"DBClusterSnapshotAttributesResult":{"shape":"S6p"}}}},"DescribeDBClusterSnapshots":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"DBClusterSnapshotIdentifier":{},"SnapshotType":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"IncludeShared":{"type":"boolean"},"IncludePublic":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBClusterSnapshotsResult","type":"structure","members":{"Marker":{},"DBClusterSnapshots":{"type":"list","member":{"shape":"S12","locationName":"DBClusterSnapshot"}}}}},"DescribeDBClusters":{"input":{"type":"structure","members":{"DBClusterIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"IncludeShared":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBClustersResult","type":"structure","members":{"Marker":{},"DBClusters":{"type":"list","member":{"shape":"S2g","locationName":"DBCluster"}}}}},"DescribeDBEngineVersions":{"input":{"type":"structure","members":{"Engine":{},"EngineVersion":{},"DBParameterGroupFamily":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"DefaultOnly":{"type":"boolean"},"ListSupportedCharacterSets":{"type":"boolean"},"ListSupportedTimezones":{"type":"boolean"},"IncludeAll":{"type":"boolean"}}},"output":{"resultWrapper":"DescribeDBEngineVersionsResult","type":"structure","members":{"Marker":{},"DBEngineVersions":{"type":"list","member":{"shape":"S21","locationName":"DBEngineVersion"}}}}},"DescribeDBInstanceAutomatedBackups":{"input":{"type":"structure","members":{"DbiResourceId":{},"DBInstanceIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"DBInstanceAutomatedBackupsArn":{}}},"output":{"resultWrapper":"DescribeDBInstanceAutomatedBackupsResult","type":"structure","members":{"Marker":{},"DBInstanceAutomatedBackups":{"type":"list","member":{"shape":"S59","locationName":"DBInstanceAutomatedBackup"}}}}},"DescribeDBInstances":{"input":{"type":"structure","members":{"DBInstanceIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBInstancesResult","type":"structure","members":{"Marker":{},"DBInstances":{"type":"list","member":{"shape":"S35","locationName":"DBInstance"}}}}},"DescribeDBLogFiles":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"FilenameContains":{},"FileLastWritten":{"type":"long"},"FileSize":{"type":"long"},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBLogFilesResult","type":"structure","members":{"DescribeDBLogFiles":{"type":"list","member":{"locationName":"DescribeDBLogFilesDetails","type":"structure","members":{"LogFileName":{},"LastWritten":{"type":"long"},"Size":{"type":"long"}}}},"Marker":{}}}},"DescribeDBParameterGroups":{"input":{"type":"structure","members":{"DBParameterGroupName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBParameterGroupsResult","type":"structure","members":{"Marker":{},"DBParameterGroups":{"type":"list","member":{"shape":"S16","locationName":"DBParameterGroup"}}}}},"DescribeDBParameters":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{},"Source":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBParametersResult","type":"structure","members":{"Parameters":{"shape":"S6k"},"Marker":{}}}},"DescribeDBProxies":{"input":{"type":"structure","members":{"DBProxyName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeDBProxiesResult","type":"structure","members":{"DBProxies":{"type":"list","member":{"shape":"S42"}},"Marker":{}}}},"DescribeDBProxyEndpoints":{"input":{"type":"structure","members":{"DBProxyName":{},"DBProxyEndpointName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeDBProxyEndpointsResult","type":"structure","members":{"DBProxyEndpoints":{"type":"list","member":{"shape":"S4b"}},"Marker":{}}}},"DescribeDBProxyTargetGroups":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"TargetGroupName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeDBProxyTargetGroupsResult","type":"structure","members":{"TargetGroups":{"type":"list","member":{"shape":"S7r"}},"Marker":{}}}},"DescribeDBProxyTargets":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"TargetGroupName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeDBProxyTargetsResult","type":"structure","members":{"Targets":{"shape":"S7v"},"Marker":{}}}},"DescribeDBSecurityGroups":{"input":{"type":"structure","members":{"DBSecurityGroupName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBSecurityGroupsResult","type":"structure","members":{"Marker":{},"DBSecurityGroups":{"type":"list","member":{"shape":"Sl","locationName":"DBSecurityGroup"}}}}},"DescribeDBSnapshotAttributes":{"input":{"type":"structure","required":["DBSnapshotIdentifier"],"members":{"DBSnapshotIdentifier":{}}},"output":{"resultWrapper":"DescribeDBSnapshotAttributesResult","type":"structure","members":{"DBSnapshotAttributesResult":{"shape":"S87"}}}},"DescribeDBSnapshots":{"input":{"type":"structure","members":{"DBInstanceIdentifier":{},"DBSnapshotIdentifier":{},"SnapshotType":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{},"IncludeShared":{"type":"boolean"},"IncludePublic":{"type":"boolean"},"DbiResourceId":{}}},"output":{"resultWrapper":"DescribeDBSnapshotsResult","type":"structure","members":{"Marker":{},"DBSnapshots":{"type":"list","member":{"shape":"S19","locationName":"DBSnapshot"}}}}},"DescribeDBSubnetGroups":{"input":{"type":"structure","members":{"DBSubnetGroupName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeDBSubnetGroupsResult","type":"structure","members":{"Marker":{},"DBSubnetGroups":{"type":"list","member":{"shape":"S39","locationName":"DBSubnetGroup"}}}}},"DescribeEngineDefaultClusterParameters":{"input":{"type":"structure","required":["DBParameterGroupFamily"],"members":{"DBParameterGroupFamily":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEngineDefaultClusterParametersResult","type":"structure","members":{"EngineDefaults":{"shape":"S8i"}}}},"DescribeEngineDefaultParameters":{"input":{"type":"structure","required":["DBParameterGroupFamily"],"members":{"DBParameterGroupFamily":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEngineDefaultParametersResult","type":"structure","members":{"EngineDefaults":{"shape":"S8i"}}}},"DescribeEventCategories":{"input":{"type":"structure","members":{"SourceType":{},"Filters":{"shape":"S60"}}},"output":{"resultWrapper":"DescribeEventCategoriesResult","type":"structure","members":{"EventCategoriesMapList":{"type":"list","member":{"locationName":"EventCategoriesMap","type":"structure","members":{"SourceType":{},"EventCategories":{"shape":"S8"}},"wrapper":true}}}}},"DescribeEventSubscriptions":{"input":{"type":"structure","members":{"SubscriptionName":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEventSubscriptionsResult","type":"structure","members":{"Marker":{},"EventSubscriptionsList":{"type":"list","member":{"shape":"S6","locationName":"EventSubscription"}}}}},"DescribeEvents":{"input":{"type":"structure","members":{"SourceIdentifier":{},"SourceType":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Duration":{"type":"integer"},"EventCategories":{"shape":"S8"},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeEventsResult","type":"structure","members":{"Marker":{},"Events":{"type":"list","member":{"locationName":"Event","type":"structure","members":{"SourceIdentifier":{},"SourceType":{},"Message":{},"EventCategories":{"shape":"S8"},"Date":{"type":"timestamp"},"SourceArn":{}}}}}}},"DescribeExportTasks":{"input":{"type":"structure","members":{"ExportTaskIdentifier":{},"SourceArn":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribeExportTasksResult","type":"structure","members":{"Marker":{},"ExportTasks":{"type":"list","member":{"shape":"Su","locationName":"ExportTask"}}}}},"DescribeGlobalClusters":{"input":{"type":"structure","members":{"GlobalClusterIdentifier":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeGlobalClustersResult","type":"structure","members":{"Marker":{},"GlobalClusters":{"type":"list","member":{"shape":"S4o","locationName":"GlobalClusterMember"}}}}},"DescribeInstallationMedia":{"input":{"type":"structure","members":{"InstallationMediaId":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeInstallationMediaResult","type":"structure","members":{"Marker":{},"InstallationMedia":{"type":"list","member":{"shape":"S5p","locationName":"InstallationMedia"}}}}},"DescribeOptionGroupOptions":{"input":{"type":"structure","required":["EngineName"],"members":{"EngineName":{},"MajorEngineVersion":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeOptionGroupOptionsResult","type":"structure","members":{"OptionGroupOptions":{"type":"list","member":{"locationName":"OptionGroupOption","type":"structure","members":{"Name":{},"Description":{},"EngineName":{},"MajorEngineVersion":{},"MinimumRequiredMinorEngineVersion":{},"PortRequired":{"type":"boolean"},"DefaultPort":{"type":"integer"},"OptionsDependedOn":{"type":"list","member":{"locationName":"OptionName"}},"OptionsConflictsWith":{"type":"list","member":{"locationName":"OptionConflictName"}},"Persistent":{"type":"boolean"},"Permanent":{"type":"boolean"},"RequiresAutoMinorEngineVersionUpgrade":{"type":"boolean"},"VpcOnly":{"type":"boolean"},"SupportsOptionVersionDowngrade":{"type":"boolean"},"OptionGroupOptionSettings":{"type":"list","member":{"locationName":"OptionGroupOptionSetting","type":"structure","members":{"SettingName":{},"SettingDescription":{},"DefaultValue":{},"ApplyType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"IsRequired":{"type":"boolean"},"MinimumEngineVersionPerAllowedValue":{"type":"list","member":{"locationName":"MinimumEngineVersionPerAllowedValue","type":"structure","members":{"AllowedValue":{},"MinimumEngineVersion":{}}}}}}},"OptionGroupOptionVersions":{"type":"list","member":{"locationName":"OptionVersion","type":"structure","members":{"Version":{},"IsDefault":{"type":"boolean"}}}}}}},"Marker":{}}}},"DescribeOptionGroups":{"input":{"type":"structure","members":{"OptionGroupName":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"},"EngineName":{},"MajorEngineVersion":{}}},"output":{"resultWrapper":"DescribeOptionGroupsResult","type":"structure","members":{"OptionGroupsList":{"type":"list","member":{"shape":"S1f","locationName":"OptionGroup"}},"Marker":{}}}},"DescribeOrderableDBInstanceOptions":{"input":{"type":"structure","required":["Engine"],"members":{"Engine":{},"EngineVersion":{},"DBInstanceClass":{},"LicenseModel":{},"AvailabilityZoneGroup":{},"Vpc":{"type":"boolean"},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeOrderableDBInstanceOptionsResult","type":"structure","members":{"OrderableDBInstanceOptions":{"type":"list","member":{"locationName":"OrderableDBInstanceOption","type":"structure","members":{"Engine":{},"EngineVersion":{},"DBInstanceClass":{},"LicenseModel":{},"AvailabilityZoneGroup":{},"AvailabilityZones":{"type":"list","member":{"shape":"S3c","locationName":"AvailabilityZone"}},"MultiAZCapable":{"type":"boolean"},"ReadReplicaCapable":{"type":"boolean"},"Vpc":{"type":"boolean"},"SupportsStorageEncryption":{"type":"boolean"},"StorageType":{},"SupportsIops":{"type":"boolean"},"SupportsEnhancedMonitoring":{"type":"boolean"},"SupportsIAMDatabaseAuthentication":{"type":"boolean"},"SupportsPerformanceInsights":{"type":"boolean"},"MinStorageSize":{"type":"integer"},"MaxStorageSize":{"type":"integer"},"MinIopsPerDbInstance":{"type":"integer"},"MaxIopsPerDbInstance":{"type":"integer"},"MinIopsPerGib":{"type":"double"},"MaxIopsPerGib":{"type":"double"},"AvailableProcessorFeatures":{"shape":"S9r"},"SupportedEngineModes":{"shape":"S26"},"SupportsStorageAutoscaling":{"type":"boolean"},"SupportsKerberosAuthentication":{"type":"boolean"},"OutpostCapable":{"type":"boolean"},"SupportedActivityStreamModes":{"type":"list","member":{}},"SupportsGlobalDatabases":{"type":"boolean"},"SupportsClusters":{"type":"boolean"}},"wrapper":true}},"Marker":{}}}},"DescribePendingMaintenanceActions":{"input":{"type":"structure","members":{"ResourceIdentifier":{},"Filters":{"shape":"S60"},"Marker":{},"MaxRecords":{"type":"integer"}}},"output":{"resultWrapper":"DescribePendingMaintenanceActionsResult","type":"structure","members":{"PendingMaintenanceActions":{"type":"list","member":{"shape":"Sf","locationName":"ResourcePendingMaintenanceActions"}},"Marker":{}}}},"DescribeReservedDBInstances":{"input":{"type":"structure","members":{"ReservedDBInstanceId":{},"ReservedDBInstancesOfferingId":{},"DBInstanceClass":{},"Duration":{},"ProductDescription":{},"OfferingType":{},"MultiAZ":{"type":"boolean"},"LeaseId":{},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeReservedDBInstancesResult","type":"structure","members":{"Marker":{},"ReservedDBInstances":{"type":"list","member":{"shape":"Sa0","locationName":"ReservedDBInstance"}}}}},"DescribeReservedDBInstancesOfferings":{"input":{"type":"structure","members":{"ReservedDBInstancesOfferingId":{},"DBInstanceClass":{},"Duration":{},"ProductDescription":{},"OfferingType":{},"MultiAZ":{"type":"boolean"},"Filters":{"shape":"S60"},"MaxRecords":{"type":"integer"},"Marker":{}}},"output":{"resultWrapper":"DescribeReservedDBInstancesOfferingsResult","type":"structure","members":{"Marker":{},"ReservedDBInstancesOfferings":{"type":"list","member":{"locationName":"ReservedDBInstancesOffering","type":"structure","members":{"ReservedDBInstancesOfferingId":{},"DBInstanceClass":{},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"ProductDescription":{},"OfferingType":{},"MultiAZ":{"type":"boolean"},"RecurringCharges":{"shape":"Sa2"}},"wrapper":true}}}}},"DescribeSourceRegions":{"input":{"type":"structure","members":{"RegionName":{},"MaxRecords":{"type":"integer"},"Marker":{},"Filters":{"shape":"S60"}}},"output":{"resultWrapper":"DescribeSourceRegionsResult","type":"structure","members":{"Marker":{},"SourceRegions":{"type":"list","member":{"locationName":"SourceRegion","type":"structure","members":{"RegionName":{},"Endpoint":{},"Status":{},"SupportsDBInstanceAutomatedBackupsReplication":{"type":"boolean"}}}}}}},"DescribeValidDBInstanceModifications":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{}}},"output":{"resultWrapper":"DescribeValidDBInstanceModificationsResult","type":"structure","members":{"ValidDBInstanceModificationsMessage":{"type":"structure","members":{"Storage":{"type":"list","member":{"locationName":"ValidStorageOptions","type":"structure","members":{"StorageType":{},"StorageSize":{"shape":"Sah"},"ProvisionedIops":{"shape":"Sah"},"IopsToStorageRatio":{"type":"list","member":{"locationName":"DoubleRange","type":"structure","members":{"From":{"type":"double"},"To":{"type":"double"}}}},"SupportsStorageAutoscaling":{"type":"boolean"}}}},"ValidProcessorFeatures":{"shape":"S9r"}},"wrapper":true}}}},"DownloadDBLogFilePortion":{"input":{"type":"structure","required":["DBInstanceIdentifier","LogFileName"],"members":{"DBInstanceIdentifier":{},"LogFileName":{},"Marker":{},"NumberOfLines":{"type":"integer"}}},"output":{"resultWrapper":"DownloadDBLogFilePortionResult","type":"structure","members":{"LogFileData":{},"Marker":{},"AdditionalDataPending":{"type":"boolean"}}}},"FailoverDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"TargetDBInstanceIdentifier":{}}},"output":{"resultWrapper":"FailoverDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"FailoverGlobalCluster":{"input":{"type":"structure","required":["GlobalClusterIdentifier","TargetDbClusterIdentifier"],"members":{"GlobalClusterIdentifier":{},"TargetDbClusterIdentifier":{}}},"output":{"resultWrapper":"FailoverGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"ImportInstallationMedia":{"input":{"type":"structure","required":["CustomAvailabilityZoneId","Engine","EngineVersion","EngineInstallationMediaPath","OSInstallationMediaPath"],"members":{"CustomAvailabilityZoneId":{},"Engine":{},"EngineVersion":{},"EngineInstallationMediaPath":{},"OSInstallationMediaPath":{}}},"output":{"shape":"S5p","resultWrapper":"ImportInstallationMediaResult"}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceName"],"members":{"ResourceName":{},"Filters":{"shape":"S60"}}},"output":{"resultWrapper":"ListTagsForResourceResult","type":"structure","members":{"TagList":{"shape":"Sb"}}}},"ModifyCertificates":{"input":{"type":"structure","members":{"CertificateIdentifier":{},"RemoveCustomerOverride":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyCertificatesResult","type":"structure","members":{"Certificate":{"shape":"S65"}}}},"ModifyCurrentDBClusterCapacity":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"Capacity":{"type":"integer"},"SecondsBeforeTimeout":{"type":"integer"},"TimeoutAction":{}}},"output":{"resultWrapper":"ModifyCurrentDBClusterCapacityResult","type":"structure","members":{"DBClusterIdentifier":{},"PendingCapacity":{"type":"integer"},"CurrentCapacity":{"type":"integer"},"SecondsBeforeTimeout":{"type":"integer"},"TimeoutAction":{}}}},"ModifyCustomDBEngineVersion":{"input":{"type":"structure","required":["Engine","EngineVersion"],"members":{"Engine":{},"EngineVersion":{},"Description":{},"Status":{}}},"output":{"shape":"S21","resultWrapper":"ModifyCustomDBEngineVersionResult"}},"ModifyDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"NewDBClusterIdentifier":{},"ApplyImmediately":{"type":"boolean"},"BackupRetentionPeriod":{"type":"integer"},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Port":{"type":"integer"},"MasterUserPassword":{},"OptionGroupName":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"BacktrackWindow":{"type":"long"},"CloudwatchLogsExportConfiguration":{"shape":"Sb3"},"EngineVersion":{},"AllowMajorVersionUpgrade":{"type":"boolean"},"DBInstanceParameterGroupName":{},"Domain":{},"DomainIAMRoleName":{},"ScalingConfiguration":{"shape":"S2e"},"DeletionProtection":{"type":"boolean"},"EnableHttpEndpoint":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"EnableGlobalWriteForwarding":{"type":"boolean"},"DBClusterInstanceClass":{},"AllocatedStorage":{"type":"integer"},"StorageType":{},"Iops":{"type":"integer"},"AutoMinorVersionUpgrade":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"}}},"output":{"resultWrapper":"ModifyDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"ModifyDBClusterEndpoint":{"input":{"type":"structure","required":["DBClusterEndpointIdentifier"],"members":{"DBClusterEndpointIdentifier":{},"EndpointType":{},"StaticMembers":{"shape":"Sv"},"ExcludedMembers":{"shape":"Sv"}}},"output":{"shape":"S2x","resultWrapper":"ModifyDBClusterEndpointResult"}},"ModifyDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName","Parameters"],"members":{"DBClusterParameterGroupName":{},"Parameters":{"shape":"S6k"}}},"output":{"shape":"Sb7","resultWrapper":"ModifyDBClusterParameterGroupResult"}},"ModifyDBClusterSnapshotAttribute":{"input":{"type":"structure","required":["DBClusterSnapshotIdentifier","AttributeName"],"members":{"DBClusterSnapshotIdentifier":{},"AttributeName":{},"ValuesToAdd":{"shape":"S6s"},"ValuesToRemove":{"shape":"S6s"}}},"output":{"resultWrapper":"ModifyDBClusterSnapshotAttributeResult","type":"structure","members":{"DBClusterSnapshotAttributesResult":{"shape":"S6p"}}}},"ModifyDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"DBInstanceClass":{},"DBSubnetGroupName":{},"DBSecurityGroups":{"shape":"S33"},"VpcSecurityGroupIds":{"shape":"S2c"},"ApplyImmediately":{"type":"boolean"},"MasterUserPassword":{},"DBParameterGroupName":{},"BackupRetentionPeriod":{"type":"integer"},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AllowMajorVersionUpgrade":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupName":{},"NewDBInstanceIdentifier":{},"StorageType":{},"TdeCredentialArn":{},"TdeCredentialPassword":{},"CACertificateIdentifier":{},"Domain":{},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"DBPortNumber":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"},"MonitoringRoleArn":{},"DomainIAMRoleName":{},"PromotionTier":{"type":"integer"},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"CloudwatchLogsExportConfiguration":{"shape":"Sb3"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DeletionProtection":{"type":"boolean"},"MaxAllocatedStorage":{"type":"integer"},"CertificateRotationRestart":{"type":"boolean"},"ReplicaMode":{},"EnableCustomerOwnedIp":{"type":"boolean"},"AwsBackupRecoveryPointArn":{},"AutomationMode":{},"ResumeFullAutomationModeMinutes":{"type":"integer"}}},"output":{"resultWrapper":"ModifyDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"ModifyDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName","Parameters"],"members":{"DBParameterGroupName":{},"Parameters":{"shape":"S6k"}}},"output":{"shape":"Sbe","resultWrapper":"ModifyDBParameterGroupResult"}},"ModifyDBProxy":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"NewDBProxyName":{},"Auth":{"shape":"S3x"},"RequireTLS":{"type":"boolean"},"IdleClientTimeout":{"type":"integer"},"DebugLogging":{"type":"boolean"},"RoleArn":{},"SecurityGroups":{"shape":"Sv"}}},"output":{"resultWrapper":"ModifyDBProxyResult","type":"structure","members":{"DBProxy":{"shape":"S42"}}}},"ModifyDBProxyEndpoint":{"input":{"type":"structure","required":["DBProxyEndpointName"],"members":{"DBProxyEndpointName":{},"NewDBProxyEndpointName":{},"VpcSecurityGroupIds":{"shape":"Sv"}}},"output":{"resultWrapper":"ModifyDBProxyEndpointResult","type":"structure","members":{"DBProxyEndpoint":{"shape":"S4b"}}}},"ModifyDBProxyTargetGroup":{"input":{"type":"structure","required":["TargetGroupName","DBProxyName"],"members":{"TargetGroupName":{},"DBProxyName":{},"ConnectionPoolConfig":{"type":"structure","members":{"MaxConnectionsPercent":{"type":"integer"},"MaxIdleConnectionsPercent":{"type":"integer"},"ConnectionBorrowTimeout":{"type":"integer"},"SessionPinningFilters":{"shape":"Sv"},"InitQuery":{}}},"NewName":{}}},"output":{"resultWrapper":"ModifyDBProxyTargetGroupResult","type":"structure","members":{"DBProxyTargetGroup":{"shape":"S7r"}}}},"ModifyDBSnapshot":{"input":{"type":"structure","required":["DBSnapshotIdentifier"],"members":{"DBSnapshotIdentifier":{},"EngineVersion":{},"OptionGroupName":{}}},"output":{"resultWrapper":"ModifyDBSnapshotResult","type":"structure","members":{"DBSnapshot":{"shape":"S19"}}}},"ModifyDBSnapshotAttribute":{"input":{"type":"structure","required":["DBSnapshotIdentifier","AttributeName"],"members":{"DBSnapshotIdentifier":{},"AttributeName":{},"ValuesToAdd":{"shape":"S6s"},"ValuesToRemove":{"shape":"S6s"}}},"output":{"resultWrapper":"ModifyDBSnapshotAttributeResult","type":"structure","members":{"DBSnapshotAttributesResult":{"shape":"S87"}}}},"ModifyDBSubnetGroup":{"input":{"type":"structure","required":["DBSubnetGroupName","SubnetIds"],"members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"SubnetIds":{"shape":"S4i"}}},"output":{"resultWrapper":"ModifyDBSubnetGroupResult","type":"structure","members":{"DBSubnetGroup":{"shape":"S39"}}}},"ModifyEventSubscription":{"input":{"type":"structure","required":["SubscriptionName"],"members":{"SubscriptionName":{},"SnsTopicArn":{},"SourceType":{},"EventCategories":{"shape":"S8"},"Enabled":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyEventSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"ModifyGlobalCluster":{"input":{"type":"structure","members":{"GlobalClusterIdentifier":{},"NewGlobalClusterIdentifier":{},"DeletionProtection":{"type":"boolean"},"EngineVersion":{},"AllowMajorVersionUpgrade":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"ModifyOptionGroup":{"input":{"type":"structure","required":["OptionGroupName"],"members":{"OptionGroupName":{},"OptionsToInclude":{"type":"list","member":{"locationName":"OptionConfiguration","type":"structure","required":["OptionName"],"members":{"OptionName":{},"Port":{"type":"integer"},"OptionVersion":{},"DBSecurityGroupMemberships":{"shape":"S33"},"VpcSecurityGroupMemberships":{"shape":"S2c"},"OptionSettings":{"type":"list","member":{"shape":"S1j","locationName":"OptionSetting"}}}}},"OptionsToRemove":{"type":"list","member":{}},"ApplyImmediately":{"type":"boolean"}}},"output":{"resultWrapper":"ModifyOptionGroupResult","type":"structure","members":{"OptionGroup":{"shape":"S1f"}}}},"PromoteReadReplica":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"BackupRetentionPeriod":{"type":"integer"},"PreferredBackupWindow":{}}},"output":{"resultWrapper":"PromoteReadReplicaResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"PromoteReadReplicaDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"PromoteReadReplicaDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"PurchaseReservedDBInstancesOffering":{"input":{"type":"structure","required":["ReservedDBInstancesOfferingId"],"members":{"ReservedDBInstancesOfferingId":{},"ReservedDBInstanceId":{},"DBInstanceCount":{"type":"integer"},"Tags":{"shape":"Sb"}}},"output":{"resultWrapper":"PurchaseReservedDBInstancesOfferingResult","type":"structure","members":{"ReservedDBInstance":{"shape":"Sa0"}}}},"RebootDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"RebootDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"RebootDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"ForceFailover":{"type":"boolean"}}},"output":{"resultWrapper":"RebootDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"RegisterDBProxyTargets":{"input":{"type":"structure","required":["DBProxyName"],"members":{"DBProxyName":{},"TargetGroupName":{},"DBInstanceIdentifiers":{"shape":"Sv"},"DBClusterIdentifiers":{"shape":"Sv"}}},"output":{"resultWrapper":"RegisterDBProxyTargetsResult","type":"structure","members":{"DBProxyTargets":{"shape":"S7v"}}}},"RemoveFromGlobalCluster":{"input":{"type":"structure","members":{"GlobalClusterIdentifier":{},"DbClusterIdentifier":{}}},"output":{"resultWrapper":"RemoveFromGlobalClusterResult","type":"structure","members":{"GlobalCluster":{"shape":"S4o"}}}},"RemoveRoleFromDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier","RoleArn"],"members":{"DBClusterIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"RemoveRoleFromDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier","RoleArn","FeatureName"],"members":{"DBInstanceIdentifier":{},"RoleArn":{},"FeatureName":{}}}},"RemoveSourceIdentifierFromSubscription":{"input":{"type":"structure","required":["SubscriptionName","SourceIdentifier"],"members":{"SubscriptionName":{},"SourceIdentifier":{}}},"output":{"resultWrapper":"RemoveSourceIdentifierFromSubscriptionResult","type":"structure","members":{"EventSubscription":{"shape":"S6"}}}},"RemoveTagsFromResource":{"input":{"type":"structure","required":["ResourceName","TagKeys"],"members":{"ResourceName":{},"TagKeys":{"type":"list","member":{}}}}},"ResetDBClusterParameterGroup":{"input":{"type":"structure","required":["DBClusterParameterGroupName"],"members":{"DBClusterParameterGroupName":{},"ResetAllParameters":{"type":"boolean"},"Parameters":{"shape":"S6k"}}},"output":{"shape":"Sb7","resultWrapper":"ResetDBClusterParameterGroupResult"}},"ResetDBParameterGroup":{"input":{"type":"structure","required":["DBParameterGroupName"],"members":{"DBParameterGroupName":{},"ResetAllParameters":{"type":"boolean"},"Parameters":{"shape":"S6k"}}},"output":{"shape":"Sbe","resultWrapper":"ResetDBParameterGroupResult"}},"RestoreDBClusterFromS3":{"input":{"type":"structure","required":["DBClusterIdentifier","Engine","MasterUsername","MasterUserPassword","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],"members":{"AvailabilityZones":{"shape":"S13"},"BackupRetentionPeriod":{"type":"integer"},"CharacterSetName":{},"DatabaseName":{},"DBClusterIdentifier":{},"DBClusterParameterGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"DBSubnetGroupName":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"MasterUsername":{},"MasterUserPassword":{},"OptionGroupName":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"Tags":{"shape":"Sb"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"SourceEngine":{},"SourceEngineVersion":{},"S3BucketName":{},"S3Prefix":{},"S3IngestionRoleArn":{},"BacktrackWindow":{"type":"long"},"EnableCloudwatchLogsExports":{"shape":"S29"},"DeletionProtection":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{}}},"output":{"resultWrapper":"RestoreDBClusterFromS3Result","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"RestoreDBClusterFromSnapshot":{"input":{"type":"structure","required":["DBClusterIdentifier","SnapshotIdentifier","Engine"],"members":{"AvailabilityZones":{"shape":"S13"},"DBClusterIdentifier":{},"SnapshotIdentifier":{},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"DBSubnetGroupName":{},"DatabaseName":{},"OptionGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Tags":{"shape":"Sb"},"KmsKeyId":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"BacktrackWindow":{"type":"long"},"EnableCloudwatchLogsExports":{"shape":"S29"},"EngineMode":{},"ScalingConfiguration":{"shape":"S2e"},"DBClusterParameterGroupName":{},"DeletionProtection":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{},"DBClusterInstanceClass":{},"StorageType":{},"Iops":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"}}},"output":{"resultWrapper":"RestoreDBClusterFromSnapshotResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"RestoreDBClusterToPointInTime":{"input":{"type":"structure","required":["DBClusterIdentifier","SourceDBClusterIdentifier"],"members":{"DBClusterIdentifier":{},"RestoreType":{},"SourceDBClusterIdentifier":{},"RestoreToTime":{"type":"timestamp"},"UseLatestRestorableTime":{"type":"boolean"},"Port":{"type":"integer"},"DBSubnetGroupName":{},"OptionGroupName":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Tags":{"shape":"Sb"},"KmsKeyId":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"BacktrackWindow":{"type":"long"},"EnableCloudwatchLogsExports":{"shape":"S29"},"DBClusterParameterGroupName":{},"DeletionProtection":{"type":"boolean"},"CopyTagsToSnapshot":{"type":"boolean"},"Domain":{},"DomainIAMRoleName":{},"ScalingConfiguration":{"shape":"S2e"},"EngineMode":{},"DBClusterInstanceClass":{},"StorageType":{},"PubliclyAccessible":{"type":"boolean"},"Iops":{"type":"integer"}}},"output":{"resultWrapper":"RestoreDBClusterToPointInTimeResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"RestoreDBInstanceFromDBSnapshot":{"input":{"type":"structure","required":["DBInstanceIdentifier","DBSnapshotIdentifier"],"members":{"DBInstanceIdentifier":{},"DBSnapshotIdentifier":{},"DBInstanceClass":{},"Port":{"type":"integer"},"AvailabilityZone":{},"DBSubnetGroupName":{},"MultiAZ":{"type":"boolean"},"PubliclyAccessible":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"DBName":{},"Engine":{},"Iops":{"type":"integer"},"OptionGroupName":{},"Tags":{"shape":"Sb"},"StorageType":{},"TdeCredentialArn":{},"TdeCredentialPassword":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Domain":{},"CopyTagsToSnapshot":{"type":"boolean"},"DomainIAMRoleName":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DBParameterGroupName":{},"DeletionProtection":{"type":"boolean"},"EnableCustomerOwnedIp":{"type":"boolean"},"CustomIamInstanceProfile":{},"BackupTarget":{}}},"output":{"resultWrapper":"RestoreDBInstanceFromDBSnapshotResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"RestoreDBInstanceFromS3":{"input":{"type":"structure","required":["DBInstanceIdentifier","DBInstanceClass","Engine","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],"members":{"DBName":{},"DBInstanceIdentifier":{},"AllocatedStorage":{"type":"integer"},"DBInstanceClass":{},"Engine":{},"MasterUsername":{},"MasterUserPassword":{},"DBSecurityGroups":{"shape":"S33"},"VpcSecurityGroupIds":{"shape":"S2c"},"AvailabilityZone":{},"DBSubnetGroupName":{},"PreferredMaintenanceWindow":{},"DBParameterGroupName":{},"BackupRetentionPeriod":{"type":"integer"},"PreferredBackupWindow":{},"Port":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupName":{},"PubliclyAccessible":{"type":"boolean"},"Tags":{"shape":"Sb"},"StorageType":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"SourceEngine":{},"SourceEngineVersion":{},"S3BucketName":{},"S3Prefix":{},"S3IngestionRoleArn":{},"EnablePerformanceInsights":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DeletionProtection":{"type":"boolean"},"MaxAllocatedStorage":{"type":"integer"}}},"output":{"resultWrapper":"RestoreDBInstanceFromS3Result","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"RestoreDBInstanceToPointInTime":{"input":{"type":"structure","required":["TargetDBInstanceIdentifier"],"members":{"SourceDBInstanceIdentifier":{},"TargetDBInstanceIdentifier":{},"RestoreTime":{"type":"timestamp"},"UseLatestRestorableTime":{"type":"boolean"},"DBInstanceClass":{},"Port":{"type":"integer"},"AvailabilityZone":{},"DBSubnetGroupName":{},"MultiAZ":{"type":"boolean"},"PubliclyAccessible":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"LicenseModel":{},"DBName":{},"Engine":{},"Iops":{"type":"integer"},"OptionGroupName":{},"CopyTagsToSnapshot":{"type":"boolean"},"Tags":{"shape":"Sb"},"StorageType":{},"TdeCredentialArn":{},"TdeCredentialPassword":{},"VpcSecurityGroupIds":{"shape":"S2c"},"Domain":{},"DomainIAMRoleName":{},"EnableIAMDatabaseAuthentication":{"type":"boolean"},"EnableCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"UseDefaultProcessorFeatures":{"type":"boolean"},"DBParameterGroupName":{},"DeletionProtection":{"type":"boolean"},"SourceDbiResourceId":{},"MaxAllocatedStorage":{"type":"integer"},"SourceDBInstanceAutomatedBackupsArn":{},"EnableCustomerOwnedIp":{"type":"boolean"},"CustomIamInstanceProfile":{},"BackupTarget":{}}},"output":{"resultWrapper":"RestoreDBInstanceToPointInTimeResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"RevokeDBSecurityGroupIngress":{"input":{"type":"structure","required":["DBSecurityGroupName"],"members":{"DBSecurityGroupName":{},"CIDRIP":{},"EC2SecurityGroupName":{},"EC2SecurityGroupId":{},"EC2SecurityGroupOwnerId":{}}},"output":{"resultWrapper":"RevokeDBSecurityGroupIngressResult","type":"structure","members":{"DBSecurityGroup":{"shape":"Sl"}}}},"StartActivityStream":{"input":{"type":"structure","required":["ResourceArn","Mode","KmsKeyId"],"members":{"ResourceArn":{},"Mode":{},"KmsKeyId":{},"ApplyImmediately":{"type":"boolean"},"EngineNativeAuditFieldsIncluded":{"type":"boolean"}}},"output":{"resultWrapper":"StartActivityStreamResult","type":"structure","members":{"KmsKeyId":{},"KinesisStreamName":{},"Status":{},"Mode":{},"ApplyImmediately":{"type":"boolean"},"EngineNativeAuditFieldsIncluded":{"type":"boolean"}}}},"StartDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"StartDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"StartDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{}}},"output":{"resultWrapper":"StartDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"StartDBInstanceAutomatedBackupsReplication":{"input":{"type":"structure","required":["SourceDBInstanceArn"],"members":{"SourceDBInstanceArn":{},"BackupRetentionPeriod":{"type":"integer"},"KmsKeyId":{},"PreSignedUrl":{}}},"output":{"resultWrapper":"StartDBInstanceAutomatedBackupsReplicationResult","type":"structure","members":{"DBInstanceAutomatedBackup":{"shape":"S59"}}}},"StartExportTask":{"input":{"type":"structure","required":["ExportTaskIdentifier","SourceArn","S3BucketName","IamRoleArn","KmsKeyId"],"members":{"ExportTaskIdentifier":{},"SourceArn":{},"S3BucketName":{},"IamRoleArn":{},"KmsKeyId":{},"S3Prefix":{},"ExportOnly":{"shape":"Sv"}}},"output":{"shape":"Su","resultWrapper":"StartExportTaskResult"}},"StopActivityStream":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"ApplyImmediately":{"type":"boolean"}}},"output":{"resultWrapper":"StopActivityStreamResult","type":"structure","members":{"KmsKeyId":{},"KinesisStreamName":{},"Status":{}}}},"StopDBCluster":{"input":{"type":"structure","required":["DBClusterIdentifier"],"members":{"DBClusterIdentifier":{}}},"output":{"resultWrapper":"StopDBClusterResult","type":"structure","members":{"DBCluster":{"shape":"S2g"}}}},"StopDBInstance":{"input":{"type":"structure","required":["DBInstanceIdentifier"],"members":{"DBInstanceIdentifier":{},"DBSnapshotIdentifier":{}}},"output":{"resultWrapper":"StopDBInstanceResult","type":"structure","members":{"DBInstance":{"shape":"S35"}}}},"StopDBInstanceAutomatedBackupsReplication":{"input":{"type":"structure","required":["SourceDBInstanceArn"],"members":{"SourceDBInstanceArn":{}}},"output":{"resultWrapper":"StopDBInstanceAutomatedBackupsReplicationResult","type":"structure","members":{"DBInstanceAutomatedBackup":{"shape":"S59"}}}}},"shapes":{"S6":{"type":"structure","members":{"CustomerAwsId":{},"CustSubscriptionId":{},"SnsTopicArn":{},"Status":{},"SubscriptionCreationTime":{},"SourceType":{},"SourceIdsList":{"shape":"S7"},"EventCategoriesList":{"shape":"S8"},"Enabled":{"type":"boolean"},"EventSubscriptionArn":{}},"wrapper":true},"S7":{"type":"list","member":{"locationName":"SourceId"}},"S8":{"type":"list","member":{"locationName":"EventCategory"}},"Sb":{"type":"list","member":{"locationName":"Tag","type":"structure","members":{"Key":{},"Value":{}}}},"Sf":{"type":"structure","members":{"ResourceIdentifier":{},"PendingMaintenanceActionDetails":{"type":"list","member":{"locationName":"PendingMaintenanceAction","type":"structure","members":{"Action":{},"AutoAppliedAfterDate":{"type":"timestamp"},"ForcedApplyDate":{"type":"timestamp"},"OptInStatus":{},"CurrentApplyDate":{"type":"timestamp"},"Description":{}}}}},"wrapper":true},"Sl":{"type":"structure","members":{"OwnerId":{},"DBSecurityGroupName":{},"DBSecurityGroupDescription":{},"VpcId":{},"EC2SecurityGroups":{"type":"list","member":{"locationName":"EC2SecurityGroup","type":"structure","members":{"Status":{},"EC2SecurityGroupName":{},"EC2SecurityGroupId":{},"EC2SecurityGroupOwnerId":{}}}},"IPRanges":{"type":"list","member":{"locationName":"IPRange","type":"structure","members":{"Status":{},"CIDRIP":{}}}},"DBSecurityGroupArn":{}},"wrapper":true},"Ss":{"type":"structure","members":{"DBClusterIdentifier":{},"BacktrackIdentifier":{},"BacktrackTo":{"type":"timestamp"},"BacktrackedFrom":{"type":"timestamp"},"BacktrackRequestCreationTime":{"type":"timestamp"},"Status":{}}},"Su":{"type":"structure","members":{"ExportTaskIdentifier":{},"SourceArn":{},"ExportOnly":{"shape":"Sv"},"SnapshotTime":{"type":"timestamp"},"TaskStartTime":{"type":"timestamp"},"TaskEndTime":{"type":"timestamp"},"S3Bucket":{},"S3Prefix":{},"IamRoleArn":{},"KmsKeyId":{},"Status":{},"PercentProgress":{"type":"integer"},"TotalExtractedDataInGB":{"type":"integer"},"FailureCause":{},"WarningMessage":{}}},"Sv":{"type":"list","member":{}},"Sz":{"type":"structure","members":{"DBClusterParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"DBClusterParameterGroupArn":{}},"wrapper":true},"S12":{"type":"structure","members":{"AvailabilityZones":{"shape":"S13"},"DBClusterSnapshotIdentifier":{},"DBClusterIdentifier":{},"SnapshotCreateTime":{"type":"timestamp"},"Engine":{},"EngineMode":{},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"VpcId":{},"ClusterCreateTime":{"type":"timestamp"},"MasterUsername":{},"EngineVersion":{},"LicenseModel":{},"SnapshotType":{},"PercentProgress":{"type":"integer"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DBClusterSnapshotArn":{},"SourceDBClusterSnapshotArn":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"TagList":{"shape":"Sb"}},"wrapper":true},"S13":{"type":"list","member":{"locationName":"AvailabilityZone"}},"S16":{"type":"structure","members":{"DBParameterGroupName":{},"DBParameterGroupFamily":{},"Description":{},"DBParameterGroupArn":{}},"wrapper":true},"S19":{"type":"structure","members":{"DBSnapshotIdentifier":{},"DBInstanceIdentifier":{},"SnapshotCreateTime":{"type":"timestamp"},"Engine":{},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"InstanceCreateTime":{"type":"timestamp"},"MasterUsername":{},"EngineVersion":{},"LicenseModel":{},"SnapshotType":{},"Iops":{"type":"integer"},"OptionGroupName":{},"PercentProgress":{"type":"integer"},"SourceRegion":{},"SourceDBSnapshotIdentifier":{},"StorageType":{},"TdeCredentialArn":{},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"DBSnapshotArn":{},"Timezone":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"ProcessorFeatures":{"shape":"S1b"},"DbiResourceId":{},"TagList":{"shape":"Sb"},"OriginalSnapshotCreateTime":{"type":"timestamp"},"SnapshotTarget":{}},"wrapper":true},"S1b":{"type":"list","member":{"locationName":"ProcessorFeature","type":"structure","members":{"Name":{},"Value":{}}}},"S1f":{"type":"structure","members":{"OptionGroupName":{},"OptionGroupDescription":{},"EngineName":{},"MajorEngineVersion":{},"Options":{"type":"list","member":{"locationName":"Option","type":"structure","members":{"OptionName":{},"OptionDescription":{},"Persistent":{"type":"boolean"},"Permanent":{"type":"boolean"},"Port":{"type":"integer"},"OptionVersion":{},"OptionSettings":{"type":"list","member":{"shape":"S1j","locationName":"OptionSetting"}},"DBSecurityGroupMemberships":{"shape":"S1k"},"VpcSecurityGroupMemberships":{"shape":"S1m"}}}},"AllowsVpcAndNonVpcInstanceMemberships":{"type":"boolean"},"VpcId":{},"OptionGroupArn":{}},"wrapper":true},"S1j":{"type":"structure","members":{"Name":{},"Value":{},"DefaultValue":{},"Description":{},"ApplyType":{},"DataType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"IsCollection":{"type":"boolean"}}},"S1k":{"type":"list","member":{"locationName":"DBSecurityGroup","type":"structure","members":{"DBSecurityGroupName":{},"Status":{}}}},"S1m":{"type":"list","member":{"locationName":"VpcSecurityGroupMembership","type":"structure","members":{"VpcSecurityGroupId":{},"Status":{}}}},"S1q":{"type":"structure","members":{"CustomAvailabilityZoneId":{},"CustomAvailabilityZoneName":{},"CustomAvailabilityZoneStatus":{},"VpnDetails":{"type":"structure","members":{"VpnId":{},"VpnTunnelOriginatorIP":{},"VpnGatewayIp":{},"VpnPSK":{"type":"string","sensitive":true},"VpnName":{},"VpnState":{}}}},"wrapper":true},"S21":{"type":"structure","members":{"Engine":{},"EngineVersion":{},"DBParameterGroupFamily":{},"DBEngineDescription":{},"DBEngineVersionDescription":{},"DefaultCharacterSet":{"shape":"S22"},"SupportedCharacterSets":{"shape":"S23"},"SupportedNcharCharacterSets":{"shape":"S23"},"ValidUpgradeTarget":{"type":"list","member":{"locationName":"UpgradeTarget","type":"structure","members":{"Engine":{},"EngineVersion":{},"Description":{},"AutoUpgrade":{"type":"boolean"},"IsMajorVersionUpgrade":{"type":"boolean"},"SupportedEngineModes":{"shape":"S26"},"SupportsParallelQuery":{"type":"boolean"},"SupportsGlobalDatabases":{"type":"boolean"},"SupportsBabelfish":{"type":"boolean"}}}},"SupportedTimezones":{"type":"list","member":{"locationName":"Timezone","type":"structure","members":{"TimezoneName":{}}}},"ExportableLogTypes":{"shape":"S29"},"SupportsLogExportsToCloudwatchLogs":{"type":"boolean"},"SupportsReadReplica":{"type":"boolean"},"SupportedEngineModes":{"shape":"S26"},"SupportedFeatureNames":{"type":"list","member":{}},"Status":{},"SupportsParallelQuery":{"type":"boolean"},"SupportsGlobalDatabases":{"type":"boolean"},"MajorEngineVersion":{},"DatabaseInstallationFilesS3BucketName":{},"DatabaseInstallationFilesS3Prefix":{},"DBEngineVersionArn":{},"KMSKeyId":{},"CreateTime":{"type":"timestamp"},"TagList":{"shape":"Sb"},"SupportsBabelfish":{"type":"boolean"}}},"S22":{"type":"structure","members":{"CharacterSetName":{},"CharacterSetDescription":{}}},"S23":{"type":"list","member":{"shape":"S22","locationName":"CharacterSet"}},"S26":{"type":"list","member":{}},"S29":{"type":"list","member":{}},"S2c":{"type":"list","member":{"locationName":"VpcSecurityGroupId"}},"S2e":{"type":"structure","members":{"MinCapacity":{"type":"integer"},"MaxCapacity":{"type":"integer"},"AutoPause":{"type":"boolean"},"SecondsUntilAutoPause":{"type":"integer"},"TimeoutAction":{},"SecondsBeforeTimeout":{"type":"integer"}}},"S2g":{"type":"structure","members":{"AllocatedStorage":{"type":"integer"},"AvailabilityZones":{"shape":"S13"},"BackupRetentionPeriod":{"type":"integer"},"CharacterSetName":{},"DatabaseName":{},"DBClusterIdentifier":{},"DBClusterParameterGroup":{},"DBSubnetGroup":{},"Status":{},"AutomaticRestartTime":{"type":"timestamp"},"PercentProgress":{},"EarliestRestorableTime":{"type":"timestamp"},"Endpoint":{},"ReaderEndpoint":{},"CustomEndpoints":{"shape":"Sv"},"MultiAZ":{"type":"boolean"},"Engine":{},"EngineVersion":{},"LatestRestorableTime":{"type":"timestamp"},"Port":{"type":"integer"},"MasterUsername":{},"DBClusterOptionGroupMemberships":{"type":"list","member":{"locationName":"DBClusterOptionGroup","type":"structure","members":{"DBClusterOptionGroupName":{},"Status":{}}}},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"ReplicationSourceIdentifier":{},"ReadReplicaIdentifiers":{"type":"list","member":{"locationName":"ReadReplicaIdentifier"}},"DBClusterMembers":{"type":"list","member":{"locationName":"DBClusterMember","type":"structure","members":{"DBInstanceIdentifier":{},"IsClusterWriter":{"type":"boolean"},"DBClusterParameterGroupStatus":{},"PromotionTier":{"type":"integer"}},"wrapper":true}},"VpcSecurityGroups":{"shape":"S1m"},"HostedZoneId":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbClusterResourceId":{},"DBClusterArn":{},"AssociatedRoles":{"type":"list","member":{"locationName":"DBClusterRole","type":"structure","members":{"RoleArn":{},"Status":{},"FeatureName":{}}}},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"CloneGroupId":{},"ClusterCreateTime":{"type":"timestamp"},"EarliestBacktrackTime":{"type":"timestamp"},"BacktrackWindow":{"type":"long"},"BacktrackConsumedChangeRecords":{"type":"long"},"EnabledCloudwatchLogsExports":{"shape":"S29"},"Capacity":{"type":"integer"},"EngineMode":{},"ScalingConfigurationInfo":{"type":"structure","members":{"MinCapacity":{"type":"integer"},"MaxCapacity":{"type":"integer"},"AutoPause":{"type":"boolean"},"SecondsUntilAutoPause":{"type":"integer"},"TimeoutAction":{},"SecondsBeforeTimeout":{"type":"integer"}}},"DeletionProtection":{"type":"boolean"},"HttpEndpointEnabled":{"type":"boolean"},"ActivityStreamMode":{},"ActivityStreamStatus":{},"ActivityStreamKmsKeyId":{},"ActivityStreamKinesisStreamName":{},"CopyTagsToSnapshot":{"type":"boolean"},"CrossAccountClone":{"type":"boolean"},"DomainMemberships":{"shape":"S2r"},"TagList":{"shape":"Sb"},"GlobalWriteForwardingStatus":{},"GlobalWriteForwardingRequested":{"type":"boolean"},"PendingModifiedValues":{"type":"structure","members":{"PendingCloudwatchLogsExports":{"shape":"S2v"},"DBClusterIdentifier":{},"MasterUserPassword":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"EngineVersion":{}}},"DBClusterInstanceClass":{},"StorageType":{},"Iops":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"},"AutoMinorVersionUpgrade":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"PerformanceInsightsEnabled":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"}},"wrapper":true},"S2r":{"type":"list","member":{"locationName":"DomainMembership","type":"structure","members":{"Domain":{},"Status":{},"FQDN":{},"IAMRoleName":{}}}},"S2v":{"type":"structure","members":{"LogTypesToEnable":{"shape":"S29"},"LogTypesToDisable":{"shape":"S29"}}},"S2x":{"type":"structure","members":{"DBClusterEndpointIdentifier":{},"DBClusterIdentifier":{},"DBClusterEndpointResourceIdentifier":{},"Endpoint":{},"Status":{},"EndpointType":{},"CustomEndpointType":{},"StaticMembers":{"shape":"Sv"},"ExcludedMembers":{"shape":"Sv"},"DBClusterEndpointArn":{}}},"S33":{"type":"list","member":{"locationName":"DBSecurityGroupName"}},"S35":{"type":"structure","members":{"DBInstanceIdentifier":{},"DBInstanceClass":{},"Engine":{},"DBInstanceStatus":{},"AutomaticRestartTime":{"type":"timestamp"},"MasterUsername":{},"DBName":{},"Endpoint":{"shape":"S36"},"AllocatedStorage":{"type":"integer"},"InstanceCreateTime":{"type":"timestamp"},"PreferredBackupWindow":{},"BackupRetentionPeriod":{"type":"integer"},"DBSecurityGroups":{"shape":"S1k"},"VpcSecurityGroups":{"shape":"S1m"},"DBParameterGroups":{"type":"list","member":{"locationName":"DBParameterGroup","type":"structure","members":{"DBParameterGroupName":{},"ParameterApplyStatus":{}}}},"AvailabilityZone":{},"DBSubnetGroup":{"shape":"S39"},"PreferredMaintenanceWindow":{},"PendingModifiedValues":{"type":"structure","members":{"DBInstanceClass":{},"AllocatedStorage":{"type":"integer"},"MasterUserPassword":{},"Port":{"type":"integer"},"BackupRetentionPeriod":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"LicenseModel":{},"Iops":{"type":"integer"},"DBInstanceIdentifier":{},"StorageType":{},"CACertificateIdentifier":{},"DBSubnetGroupName":{},"PendingCloudwatchLogsExports":{"shape":"S2v"},"ProcessorFeatures":{"shape":"S1b"},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"AutomationMode":{},"ResumeFullAutomationModeTime":{"type":"timestamp"}}},"LatestRestorableTime":{"type":"timestamp"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"ReadReplicaSourceDBInstanceIdentifier":{},"ReadReplicaDBInstanceIdentifiers":{"type":"list","member":{"locationName":"ReadReplicaDBInstanceIdentifier"}},"ReadReplicaDBClusterIdentifiers":{"type":"list","member":{"locationName":"ReadReplicaDBClusterIdentifier"}},"ReplicaMode":{},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupMemberships":{"type":"list","member":{"locationName":"OptionGroupMembership","type":"structure","members":{"OptionGroupName":{},"Status":{}}}},"CharacterSetName":{},"NcharCharacterSetName":{},"SecondaryAvailabilityZone":{},"PubliclyAccessible":{"type":"boolean"},"StatusInfos":{"type":"list","member":{"locationName":"DBInstanceStatusInfo","type":"structure","members":{"StatusType":{},"Normal":{"type":"boolean"},"Status":{},"Message":{}}}},"StorageType":{},"TdeCredentialArn":{},"DbInstancePort":{"type":"integer"},"DBClusterIdentifier":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbiResourceId":{},"CACertificateIdentifier":{},"DomainMemberships":{"shape":"S2r"},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"EnhancedMonitoringResourceArn":{},"MonitoringRoleArn":{},"PromotionTier":{"type":"integer"},"DBInstanceArn":{},"Timezone":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"PerformanceInsightsEnabled":{"type":"boolean"},"PerformanceInsightsKMSKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnabledCloudwatchLogsExports":{"shape":"S29"},"ProcessorFeatures":{"shape":"S1b"},"DeletionProtection":{"type":"boolean"},"AssociatedRoles":{"type":"list","member":{"locationName":"DBInstanceRole","type":"structure","members":{"RoleArn":{},"FeatureName":{},"Status":{}}}},"ListenerEndpoint":{"shape":"S36"},"MaxAllocatedStorage":{"type":"integer"},"TagList":{"shape":"Sb"},"DBInstanceAutomatedBackupsReplications":{"shape":"S3p"},"CustomerOwnedIpEnabled":{"type":"boolean"},"AwsBackupRecoveryPointArn":{},"ActivityStreamStatus":{},"ActivityStreamKmsKeyId":{},"ActivityStreamKinesisStreamName":{},"ActivityStreamMode":{},"ActivityStreamEngineNativeAuditFieldsIncluded":{"type":"boolean"},"AutomationMode":{},"ResumeFullAutomationModeTime":{"type":"timestamp"},"CustomIamInstanceProfile":{},"BackupTarget":{}},"wrapper":true},"S36":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"},"HostedZoneId":{}}},"S39":{"type":"structure","members":{"DBSubnetGroupName":{},"DBSubnetGroupDescription":{},"VpcId":{},"SubnetGroupStatus":{},"Subnets":{"type":"list","member":{"locationName":"Subnet","type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"shape":"S3c"},"SubnetOutpost":{"type":"structure","members":{"Arn":{}}},"SubnetStatus":{}}}},"DBSubnetGroupArn":{}},"wrapper":true},"S3c":{"type":"structure","members":{"Name":{}},"wrapper":true},"S3p":{"type":"list","member":{"locationName":"DBInstanceAutomatedBackupsReplication","type":"structure","members":{"DBInstanceAutomatedBackupsArn":{}}}},"S3x":{"type":"list","member":{"type":"structure","members":{"Description":{},"UserName":{},"AuthScheme":{},"SecretArn":{},"IAMAuth":{}}}},"S42":{"type":"structure","members":{"DBProxyName":{},"DBProxyArn":{},"Status":{},"EngineFamily":{},"VpcId":{},"VpcSecurityGroupIds":{"shape":"Sv"},"VpcSubnetIds":{"shape":"Sv"},"Auth":{"type":"list","member":{"type":"structure","members":{"Description":{},"UserName":{},"AuthScheme":{},"SecretArn":{},"IAMAuth":{}}}},"RoleArn":{},"Endpoint":{},"RequireTLS":{"type":"boolean"},"IdleClientTimeout":{"type":"integer"},"DebugLogging":{"type":"boolean"},"CreatedDate":{"type":"timestamp"},"UpdatedDate":{"type":"timestamp"}}},"S4b":{"type":"structure","members":{"DBProxyEndpointName":{},"DBProxyEndpointArn":{},"DBProxyName":{},"Status":{},"VpcId":{},"VpcSecurityGroupIds":{"shape":"Sv"},"VpcSubnetIds":{"shape":"Sv"},"Endpoint":{},"CreatedDate":{"type":"timestamp"},"TargetRole":{},"IsDefault":{"type":"boolean"}}},"S4i":{"type":"list","member":{"locationName":"SubnetIdentifier"}},"S4o":{"type":"structure","members":{"GlobalClusterIdentifier":{},"GlobalClusterResourceId":{},"GlobalClusterArn":{},"Status":{},"Engine":{},"EngineVersion":{},"DatabaseName":{},"StorageEncrypted":{"type":"boolean"},"DeletionProtection":{"type":"boolean"},"GlobalClusterMembers":{"type":"list","member":{"locationName":"GlobalClusterMember","type":"structure","members":{"DBClusterArn":{},"Readers":{"type":"list","member":{}},"IsWriter":{"type":"boolean"},"GlobalWriteForwardingStatus":{}},"wrapper":true}},"FailoverState":{"type":"structure","members":{"Status":{},"FromDbClusterArn":{},"ToDbClusterArn":{}},"wrapper":true}},"wrapper":true},"S59":{"type":"structure","members":{"DBInstanceArn":{},"DbiResourceId":{},"Region":{},"DBInstanceIdentifier":{},"RestoreWindow":{"type":"structure","members":{"EarliestTime":{"type":"timestamp"},"LatestTime":{"type":"timestamp"}}},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"InstanceCreateTime":{"type":"timestamp"},"MasterUsername":{},"Engine":{},"EngineVersion":{},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupName":{},"TdeCredentialArn":{},"Encrypted":{"type":"boolean"},"StorageType":{},"KmsKeyId":{},"Timezone":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"BackupRetentionPeriod":{"type":"integer"},"DBInstanceAutomatedBackupsArn":{},"DBInstanceAutomatedBackupsReplications":{"shape":"S3p"},"BackupTarget":{}},"wrapper":true},"S5p":{"type":"structure","members":{"InstallationMediaId":{},"CustomAvailabilityZoneId":{},"Engine":{},"EngineVersion":{},"EngineInstallationMediaPath":{},"OSInstallationMediaPath":{},"Status":{},"FailureCause":{"type":"structure","members":{"Message":{}}}}},"S60":{"type":"list","member":{"locationName":"Filter","type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{"locationName":"Value"}}}}},"S65":{"type":"structure","members":{"CertificateIdentifier":{},"CertificateType":{},"Thumbprint":{},"ValidFrom":{"type":"timestamp"},"ValidTill":{"type":"timestamp"},"CertificateArn":{},"CustomerOverride":{"type":"boolean"},"CustomerOverrideValidTill":{"type":"timestamp"}},"wrapper":true},"S6k":{"type":"list","member":{"locationName":"Parameter","type":"structure","members":{"ParameterName":{},"ParameterValue":{},"Description":{},"Source":{},"ApplyType":{},"DataType":{},"AllowedValues":{},"IsModifiable":{"type":"boolean"},"MinimumEngineVersion":{},"ApplyMethod":{},"SupportedEngineModes":{"shape":"S26"}}}},"S6p":{"type":"structure","members":{"DBClusterSnapshotIdentifier":{},"DBClusterSnapshotAttributes":{"type":"list","member":{"locationName":"DBClusterSnapshotAttribute","type":"structure","members":{"AttributeName":{},"AttributeValues":{"shape":"S6s"}}}}},"wrapper":true},"S6s":{"type":"list","member":{"locationName":"AttributeValue"}},"S7r":{"type":"structure","members":{"DBProxyName":{},"TargetGroupName":{},"TargetGroupArn":{},"IsDefault":{"type":"boolean"},"Status":{},"ConnectionPoolConfig":{"type":"structure","members":{"MaxConnectionsPercent":{"type":"integer"},"MaxIdleConnectionsPercent":{"type":"integer"},"ConnectionBorrowTimeout":{"type":"integer"},"SessionPinningFilters":{"shape":"Sv"},"InitQuery":{}}},"CreatedDate":{"type":"timestamp"},"UpdatedDate":{"type":"timestamp"}}},"S7v":{"type":"list","member":{"type":"structure","members":{"TargetArn":{},"Endpoint":{},"TrackedClusterId":{},"RdsResourceId":{},"Port":{"type":"integer"},"Type":{},"Role":{},"TargetHealth":{"type":"structure","members":{"State":{},"Reason":{},"Description":{}}}}}},"S87":{"type":"structure","members":{"DBSnapshotIdentifier":{},"DBSnapshotAttributes":{"type":"list","member":{"locationName":"DBSnapshotAttribute","type":"structure","members":{"AttributeName":{},"AttributeValues":{"shape":"S6s"}},"wrapper":true}}},"wrapper":true},"S8i":{"type":"structure","members":{"DBParameterGroupFamily":{},"Marker":{},"Parameters":{"shape":"S6k"}},"wrapper":true},"S9r":{"type":"list","member":{"locationName":"AvailableProcessorFeature","type":"structure","members":{"Name":{},"DefaultValue":{},"AllowedValues":{}}}},"Sa0":{"type":"structure","members":{"ReservedDBInstanceId":{},"ReservedDBInstancesOfferingId":{},"DBInstanceClass":{},"StartTime":{"type":"timestamp"},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"DBInstanceCount":{"type":"integer"},"ProductDescription":{},"OfferingType":{},"MultiAZ":{"type":"boolean"},"State":{},"RecurringCharges":{"shape":"Sa2"},"ReservedDBInstanceArn":{},"LeaseId":{}},"wrapper":true},"Sa2":{"type":"list","member":{"locationName":"RecurringCharge","type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}},"wrapper":true}},"Sah":{"type":"list","member":{"locationName":"Range","type":"structure","members":{"From":{"type":"integer"},"To":{"type":"integer"},"Step":{"type":"integer"}}}},"Sb3":{"type":"structure","members":{"EnableLogTypes":{"shape":"S29"},"DisableLogTypes":{"shape":"S29"}}},"Sb7":{"type":"structure","members":{"DBClusterParameterGroupName":{}}},"Sbe":{"type":"structure","members":{"DBParameterGroupName":{}}}}} /***/ }), /* 337 */ @@ -47312,7 +47318,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 431 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-08-20","endpointPrefix":"s3-control","protocol":"rest-xml","serviceFullName":"AWS S3 Control","serviceId":"S3 Control","signatureVersion":"s3v4","signingName":"s3","uid":"s3control-2018-08-20"},"operations":{"CreateAccessPoint":{"http":{"method":"PUT","requestUri":"/v20180820/accesspoint/{name}"},"input":{"locationName":"CreateAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Bucket":{},"VpcConfiguration":{"shape":"S5"},"PublicAccessBlockConfiguration":{"shape":"S7"}}},"output":{"type":"structure","members":{"AccessPointArn":{},"Alias":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"CreateAccessPointForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"locationName":"CreateAccessPointForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Configuration"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Configuration":{"shape":"Se"}}},"output":{"type":"structure","members":{"ObjectLambdaAccessPointArn":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"CreateBucket":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["Bucket"],"members":{"ACL":{"location":"header","locationName":"x-amz-acl"},"Bucket":{"location":"uri","locationName":"name"},"CreateBucketConfiguration":{"locationName":"CreateBucketConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"LocationConstraint":{}}},"GrantFullControl":{"location":"header","locationName":"x-amz-grant-full-control"},"GrantRead":{"location":"header","locationName":"x-amz-grant-read"},"GrantReadACP":{"location":"header","locationName":"x-amz-grant-read-acp"},"GrantWrite":{"location":"header","locationName":"x-amz-grant-write"},"GrantWriteACP":{"location":"header","locationName":"x-amz-grant-write-acp"},"ObjectLockEnabledForBucket":{"location":"header","locationName":"x-amz-bucket-object-lock-enabled","type":"boolean"},"OutpostId":{"location":"header","locationName":"x-amz-outpost-id"}},"payload":"CreateBucketConfiguration"},"output":{"type":"structure","members":{"Location":{"location":"header","locationName":"Location"},"BucketArn":{}}},"httpChecksumRequired":true},"CreateJob":{"http":{"requestUri":"/v20180820/jobs"},"input":{"locationName":"CreateJobRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Operation","Report","ClientRequestToken","Manifest","Priority","RoleArn"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ConfirmationRequired":{"type":"boolean"},"Operation":{"shape":"S19"},"Report":{"shape":"S2e"},"ClientRequestToken":{"idempotencyToken":true},"Manifest":{"shape":"S2i"},"Description":{},"Priority":{"type":"integer"},"RoleArn":{},"Tags":{"shape":"S1r"}}},"output":{"type":"structure","members":{"JobId":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"CreateMultiRegionAccessPoint":{"http":{"requestUri":"/v20180820/async-requests/mrap/create"},"input":{"locationName":"CreateMultiRegionAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S2x"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"DeleteAccessPoint":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspoint/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteAccessPointForObjectLambda":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteAccessPointPolicy":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteAccessPointPolicyForObjectLambda":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteBucket":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteBucketLifecycleConfiguration":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteBucketPolicy":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteBucketTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/tagging","responseCode":204},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteJobTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteMultiRegionAccessPoint":{"http":{"requestUri":"/v20180820/async-requests/mrap/delete"},"input":{"locationName":"DeleteMultiRegionAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S3e"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"DeletePublicAccessBlock":{"http":{"method":"DELETE","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteStorageLensConfiguration":{"http":{"method":"DELETE","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteStorageLensConfigurationTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"DescribeJob":{"http":{"method":"GET","requestUri":"/v20180820/jobs/{id}"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"Job":{"type":"structure","members":{"JobId":{},"ConfirmationRequired":{"type":"boolean"},"Description":{},"JobArn":{},"Status":{},"Manifest":{"shape":"S2i"},"Operation":{"shape":"S19"},"Priority":{"type":"integer"},"ProgressSummary":{"shape":"S3q"},"StatusUpdateReason":{},"FailureReasons":{"type":"list","member":{"type":"structure","members":{"FailureCode":{},"FailureReason":{}}}},"Report":{"shape":"S2e"},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"RoleArn":{},"SuspendedDate":{"type":"timestamp"},"SuspendedCause":{}}}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DescribeMultiRegionAccessPointOperation":{"http":{"method":"GET","requestUri":"/v20180820/async-requests/mrap/{request_token+}"},"input":{"type":"structure","required":["AccountId","RequestTokenARN"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"RequestTokenARN":{"location":"uri","locationName":"request_token"}}},"output":{"type":"structure","members":{"AsyncOperation":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"Operation":{},"RequestTokenARN":{},"RequestParameters":{"type":"structure","members":{"CreateMultiRegionAccessPointRequest":{"shape":"S2x"},"DeleteMultiRegionAccessPointRequest":{"shape":"S3e"},"PutMultiRegionAccessPointPolicyRequest":{"shape":"S49"}}},"RequestStatus":{},"ResponseDetails":{"type":"structure","members":{"MultiRegionAccessPointDetails":{"type":"structure","members":{"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","members":{"Name":{},"RequestStatus":{}}}}}},"ErrorDetails":{"type":"structure","members":{"Code":{},"Message":{},"Resource":{},"RequestId":{}}}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"GetAccessPoint":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"Bucket":{},"NetworkOrigin":{},"VpcConfiguration":{"shape":"S5"},"PublicAccessBlockConfiguration":{"shape":"S7"},"CreationDate":{"type":"timestamp"},"Alias":{},"AccessPointArn":{},"Endpoints":{"type":"map","key":{},"value":{}}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointConfigurationForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/configuration"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Configuration":{"shape":"Se"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"PublicAccessBlockConfiguration":{"shape":"S7"},"CreationDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointPolicy":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointPolicyForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointPolicyStatus":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}/policyStatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"PolicyStatus":{"shape":"S4y"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointPolicyStatusForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policyStatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"PolicyStatus":{"shape":"S4y"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetBucket":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Bucket":{},"PublicAccessBlockEnabled":{"type":"boolean"},"CreationDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetBucketLifecycleConfiguration":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Rules":{"shape":"S57"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetBucketPolicy":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetBucketTagging":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/tagging"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["TagSet"],"members":{"TagSet":{"shape":"S1r"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetJobTagging":{"http":{"method":"GET","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S1r"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetMultiRegionAccessPoint":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"AccessPoint":{"shape":"S5y"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"GetMultiRegionAccessPointPolicy":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{"type":"structure","members":{"Established":{"type":"structure","members":{"Policy":{}}},"Proposed":{"type":"structure","members":{"Policy":{}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"GetMultiRegionAccessPointPolicyStatus":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name}/policystatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Established":{"shape":"S4y"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"GetPublicAccessBlock":{"http":{"method":"GET","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"PublicAccessBlockConfiguration":{"shape":"S7"}},"payload":"PublicAccessBlockConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."}},"GetStorageLensConfiguration":{"http":{"method":"GET","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"StorageLensConfiguration":{"shape":"S6f"}},"payload":"StorageLensConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."}},"GetStorageLensConfigurationTagging":{"http":{"method":"GET","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S79"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListAccessPoints":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"querystring","locationName":"bucket"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"AccessPointList":{"type":"list","member":{"locationName":"AccessPoint","type":"structure","required":["Name","NetworkOrigin","Bucket"],"members":{"Name":{},"NetworkOrigin":{},"VpcConfiguration":{"shape":"S5"},"Bucket":{},"AccessPointArn":{},"Alias":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListAccessPointsForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"ObjectLambdaAccessPointList":{"type":"list","member":{"locationName":"ObjectLambdaAccessPoint","type":"structure","required":["Name"],"members":{"Name":{},"ObjectLambdaAccessPointArn":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListJobs":{"http":{"method":"GET","requestUri":"/v20180820/jobs"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobStatuses":{"location":"querystring","locationName":"jobStatuses","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Jobs":{"type":"list","member":{"type":"structure","members":{"JobId":{},"Description":{},"Operation":{},"Priority":{"type":"integer"},"Status":{},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"ProgressSummary":{"shape":"S3q"}}}}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListMultiRegionAccessPoints":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"AccessPoints":{"type":"list","member":{"shape":"S5y","locationName":"AccessPoint"}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"ListRegionalBuckets":{"http":{"method":"GET","requestUri":"/v20180820/bucket"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"OutpostId":{"location":"header","locationName":"x-amz-outpost-id"}}},"output":{"type":"structure","members":{"RegionalBucketList":{"type":"list","member":{"locationName":"RegionalBucket","type":"structure","required":["Bucket","PublicAccessBlockEnabled","CreationDate"],"members":{"Bucket":{},"BucketArn":{},"PublicAccessBlockEnabled":{"type":"boolean"},"CreationDate":{"type":"timestamp"},"OutpostId":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListStorageLensConfigurations":{"http":{"method":"GET","requestUri":"/v20180820/storagelens"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"StorageLensConfigurationList":{"type":"list","member":{"locationName":"StorageLensConfiguration","type":"structure","required":["Id","StorageLensArn","HomeRegion"],"members":{"Id":{},"StorageLensArn":{},"HomeRegion":{},"IsEnabled":{"type":"boolean"}}},"flattened":true}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutAccessPointConfigurationForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}/configuration"},"input":{"locationName":"PutAccessPointConfigurationForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Configuration"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Configuration":{"shape":"Se"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutAccessPointPolicy":{"http":{"method":"PUT","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"locationName":"PutAccessPointPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Policy"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutAccessPointPolicyForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"locationName":"PutAccessPointPolicyForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Policy"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutBucketLifecycleConfiguration":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"},"LifecycleConfiguration":{"locationName":"LifecycleConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"Rules":{"shape":"S57"}}}},"payload":"LifecycleConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"PutBucketPolicy":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"locationName":"PutBucketPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Bucket","Policy"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"},"ConfirmRemoveSelfBucketAccess":{"location":"header","locationName":"x-amz-confirm-remove-self-bucket-access","type":"boolean"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"PutBucketTagging":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/tagging"},"input":{"type":"structure","required":["AccountId","Bucket","Tagging"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"},"Tagging":{"locationName":"Tagging","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["TagSet"],"members":{"TagSet":{"shape":"S1r"}}}},"payload":"Tagging"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"PutJobTagging":{"http":{"method":"PUT","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"locationName":"PutJobTaggingRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","JobId","Tags"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"Tags":{"shape":"S1r"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutMultiRegionAccessPointPolicy":{"http":{"requestUri":"/v20180820/async-requests/mrap/put-policy"},"input":{"locationName":"PutMultiRegionAccessPointPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S49"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"PutPublicAccessBlock":{"http":{"method":"PUT","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["PublicAccessBlockConfiguration","AccountId"],"members":{"PublicAccessBlockConfiguration":{"shape":"S7","locationName":"PublicAccessBlockConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"}},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}},"payload":"PublicAccessBlockConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."}},"PutStorageLensConfiguration":{"http":{"method":"PUT","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"locationName":"PutStorageLensConfigurationRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["ConfigId","AccountId","StorageLensConfiguration"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"StorageLensConfiguration":{"shape":"S6f"},"Tags":{"shape":"S79"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutStorageLensConfigurationTagging":{"http":{"method":"PUT","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"locationName":"PutStorageLensConfigurationTaggingRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["ConfigId","AccountId","Tags"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Tags":{"shape":"S79"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"UpdateJobPriority":{"http":{"requestUri":"/v20180820/jobs/{id}/priority"},"input":{"type":"structure","required":["AccountId","JobId","Priority"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"Priority":{"location":"querystring","locationName":"priority","type":"integer"}}},"output":{"type":"structure","required":["JobId","Priority"],"members":{"JobId":{},"Priority":{"type":"integer"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"UpdateJobStatus":{"http":{"requestUri":"/v20180820/jobs/{id}/status"},"input":{"type":"structure","required":["AccountId","JobId","RequestedJobStatus"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"RequestedJobStatus":{"location":"querystring","locationName":"requestedJobStatus"},"StatusUpdateReason":{"location":"querystring","locationName":"statusUpdateReason"}}},"output":{"type":"structure","members":{"JobId":{},"Status":{},"StatusUpdateReason":{}}},"endpoint":{"hostPrefix":"{AccountId}."}}},"shapes":{"S5":{"type":"structure","required":["VpcId"],"members":{"VpcId":{}}},"S7":{"type":"structure","members":{"BlockPublicAcls":{"locationName":"BlockPublicAcls","type":"boolean"},"IgnorePublicAcls":{"locationName":"IgnorePublicAcls","type":"boolean"},"BlockPublicPolicy":{"locationName":"BlockPublicPolicy","type":"boolean"},"RestrictPublicBuckets":{"locationName":"RestrictPublicBuckets","type":"boolean"}}},"Se":{"type":"structure","required":["SupportingAccessPoint","TransformationConfigurations"],"members":{"SupportingAccessPoint":{},"CloudWatchMetricsEnabled":{"type":"boolean"},"AllowedFeatures":{"type":"list","member":{"locationName":"AllowedFeature"}},"TransformationConfigurations":{"type":"list","member":{"locationName":"TransformationConfiguration","type":"structure","required":["Actions","ContentTransformation"],"members":{"Actions":{"type":"list","member":{"locationName":"Action"}},"ContentTransformation":{"type":"structure","members":{"AwsLambda":{"type":"structure","required":["FunctionArn"],"members":{"FunctionArn":{},"FunctionPayload":{}}}},"union":true}}}}}},"S19":{"type":"structure","members":{"LambdaInvoke":{"type":"structure","members":{"FunctionArn":{}}},"S3PutObjectCopy":{"type":"structure","members":{"TargetResource":{},"CannedAccessControlList":{},"AccessControlGrants":{"shape":"S1e"},"MetadataDirective":{},"ModifiedSinceConstraint":{"type":"timestamp"},"NewObjectMetadata":{"type":"structure","members":{"CacheControl":{},"ContentDisposition":{},"ContentEncoding":{},"ContentLanguage":{},"UserMetadata":{"type":"map","key":{},"value":{}},"ContentLength":{"type":"long"},"ContentMD5":{},"ContentType":{},"HttpExpiresDate":{"type":"timestamp"},"RequesterCharged":{"type":"boolean"},"SSEAlgorithm":{}}},"NewObjectTagging":{"shape":"S1r"},"RedirectLocation":{},"RequesterPays":{"type":"boolean"},"StorageClass":{},"UnModifiedSinceConstraint":{"type":"timestamp"},"SSEAwsKmsKeyId":{},"TargetKeyPrefix":{},"ObjectLockLegalHoldStatus":{},"ObjectLockMode":{},"ObjectLockRetainUntilDate":{"type":"timestamp"},"BucketKeyEnabled":{"type":"boolean"}}},"S3PutObjectAcl":{"type":"structure","members":{"AccessControlPolicy":{"type":"structure","members":{"AccessControlList":{"type":"structure","required":["Owner"],"members":{"Owner":{"type":"structure","members":{"ID":{},"DisplayName":{}}},"Grants":{"shape":"S1e"}}},"CannedAccessControlList":{}}}}},"S3PutObjectTagging":{"type":"structure","members":{"TagSet":{"shape":"S1r"}}},"S3DeleteObjectTagging":{"type":"structure","members":{}},"S3InitiateRestoreObject":{"type":"structure","members":{"ExpirationInDays":{"type":"integer"},"GlacierJobTier":{}}},"S3PutObjectLegalHold":{"type":"structure","required":["LegalHold"],"members":{"LegalHold":{"type":"structure","required":["Status"],"members":{"Status":{}}}}},"S3PutObjectRetention":{"type":"structure","required":["Retention"],"members":{"BypassGovernanceRetention":{"type":"boolean"},"Retention":{"type":"structure","members":{"RetainUntilDate":{"type":"timestamp"},"Mode":{}}}}}}},"S1e":{"type":"list","member":{"type":"structure","members":{"Grantee":{"type":"structure","members":{"TypeIdentifier":{},"Identifier":{},"DisplayName":{}}},"Permission":{}}}},"S1r":{"type":"list","member":{"shape":"S1s"}},"S1s":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}},"S2e":{"type":"structure","required":["Enabled"],"members":{"Bucket":{},"Format":{},"Enabled":{"type":"boolean"},"Prefix":{},"ReportScope":{}}},"S2i":{"type":"structure","required":["Spec","Location"],"members":{"Spec":{"type":"structure","required":["Format"],"members":{"Format":{},"Fields":{"type":"list","member":{}}}},"Location":{"type":"structure","required":["ObjectArn","ETag"],"members":{"ObjectArn":{},"ObjectVersionId":{},"ETag":{}}}}},"S2x":{"type":"structure","required":["Name","Regions"],"members":{"Name":{},"PublicAccessBlock":{"shape":"S7"},"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","required":["Bucket"],"members":{"Bucket":{}}}}}},"S3e":{"type":"structure","required":["Name"],"members":{"Name":{}}},"S3q":{"type":"structure","members":{"TotalNumberOfTasks":{"type":"long"},"NumberOfTasksSucceeded":{"type":"long"},"NumberOfTasksFailed":{"type":"long"}}},"S49":{"type":"structure","required":["Name","Policy"],"members":{"Name":{},"Policy":{}}},"S4y":{"type":"structure","members":{"IsPublic":{"locationName":"IsPublic","type":"boolean"}}},"S57":{"type":"list","member":{"locationName":"Rule","type":"structure","required":["Status"],"members":{"Expiration":{"type":"structure","members":{"Date":{"type":"timestamp"},"Days":{"type":"integer"},"ExpiredObjectDeleteMarker":{"type":"boolean"}}},"ID":{},"Filter":{"type":"structure","members":{"Prefix":{},"Tag":{"shape":"S1s"},"And":{"type":"structure","members":{"Prefix":{},"Tags":{"shape":"S1r"}}}}},"Status":{},"Transitions":{"type":"list","member":{"locationName":"Transition","type":"structure","members":{"Date":{"type":"timestamp"},"Days":{"type":"integer"},"StorageClass":{}}}},"NoncurrentVersionTransitions":{"type":"list","member":{"locationName":"NoncurrentVersionTransition","type":"structure","members":{"NoncurrentDays":{"type":"integer"},"StorageClass":{}}}},"NoncurrentVersionExpiration":{"type":"structure","members":{"NoncurrentDays":{"type":"integer"}}},"AbortIncompleteMultipartUpload":{"type":"structure","members":{"DaysAfterInitiation":{"type":"integer"}}}}}},"S5y":{"type":"structure","members":{"Name":{},"Alias":{},"CreatedAt":{"type":"timestamp"},"PublicAccessBlock":{"shape":"S7"},"Status":{},"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","members":{"Bucket":{},"Region":{}}}}}},"S6f":{"type":"structure","required":["Id","AccountLevel","IsEnabled"],"members":{"Id":{},"AccountLevel":{"type":"structure","required":["BucketLevel"],"members":{"ActivityMetrics":{"shape":"S6h"},"BucketLevel":{"type":"structure","members":{"ActivityMetrics":{"shape":"S6h"},"PrefixLevel":{"type":"structure","required":["StorageMetrics"],"members":{"StorageMetrics":{"type":"structure","members":{"IsEnabled":{"type":"boolean"},"SelectionCriteria":{"type":"structure","members":{"Delimiter":{},"MaxDepth":{"type":"integer"},"MinStorageBytesPercentage":{"type":"double"}}}}}}}}}}},"Include":{"type":"structure","members":{"Buckets":{"shape":"S6r"},"Regions":{"shape":"S6s"}}},"Exclude":{"type":"structure","members":{"Buckets":{"shape":"S6r"},"Regions":{"shape":"S6s"}}},"DataExport":{"type":"structure","members":{"S3BucketDestination":{"type":"structure","required":["Format","OutputSchemaVersion","AccountId","Arn"],"members":{"Format":{},"OutputSchemaVersion":{},"AccountId":{},"Arn":{},"Prefix":{},"Encryption":{"type":"structure","members":{"SSES3":{"locationName":"SSE-S3","type":"structure","members":{}},"SSEKMS":{"locationName":"SSE-KMS","type":"structure","required":["KeyId"],"members":{"KeyId":{}}}}}}},"CloudWatchMetrics":{"type":"structure","required":["IsEnabled"],"members":{"IsEnabled":{"type":"boolean"}}}}},"IsEnabled":{"type":"boolean"},"AwsOrg":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"StorageLensArn":{}}},"S6h":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S6r":{"type":"list","member":{"locationName":"Arn"}},"S6s":{"type":"list","member":{"locationName":"Region"}},"S79":{"type":"list","member":{"locationName":"Tag","type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-08-20","endpointPrefix":"s3-control","protocol":"rest-xml","serviceFullName":"AWS S3 Control","serviceId":"S3 Control","signatureVersion":"s3v4","signingName":"s3","uid":"s3control-2018-08-20"},"operations":{"CreateAccessPoint":{"http":{"method":"PUT","requestUri":"/v20180820/accesspoint/{name}"},"input":{"locationName":"CreateAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Bucket":{},"VpcConfiguration":{"shape":"S5"},"PublicAccessBlockConfiguration":{"shape":"S7"}}},"output":{"type":"structure","members":{"AccessPointArn":{},"Alias":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"CreateAccessPointForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"locationName":"CreateAccessPointForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Configuration"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Configuration":{"shape":"Se"}}},"output":{"type":"structure","members":{"ObjectLambdaAccessPointArn":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"CreateBucket":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["Bucket"],"members":{"ACL":{"location":"header","locationName":"x-amz-acl"},"Bucket":{"location":"uri","locationName":"name"},"CreateBucketConfiguration":{"locationName":"CreateBucketConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"LocationConstraint":{}}},"GrantFullControl":{"location":"header","locationName":"x-amz-grant-full-control"},"GrantRead":{"location":"header","locationName":"x-amz-grant-read"},"GrantReadACP":{"location":"header","locationName":"x-amz-grant-read-acp"},"GrantWrite":{"location":"header","locationName":"x-amz-grant-write"},"GrantWriteACP":{"location":"header","locationName":"x-amz-grant-write-acp"},"ObjectLockEnabledForBucket":{"location":"header","locationName":"x-amz-bucket-object-lock-enabled","type":"boolean"},"OutpostId":{"location":"header","locationName":"x-amz-outpost-id"}},"payload":"CreateBucketConfiguration"},"output":{"type":"structure","members":{"Location":{"location":"header","locationName":"Location"},"BucketArn":{}}},"httpChecksumRequired":true},"CreateJob":{"http":{"requestUri":"/v20180820/jobs"},"input":{"locationName":"CreateJobRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Operation","Report","ClientRequestToken","Priority","RoleArn"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ConfirmationRequired":{"type":"boolean"},"Operation":{"shape":"S19"},"Report":{"shape":"S2f"},"ClientRequestToken":{"idempotencyToken":true},"Manifest":{"shape":"S2j"},"Description":{},"Priority":{"type":"integer"},"RoleArn":{},"Tags":{"shape":"S1r"},"ManifestGenerator":{"shape":"S2u"}}},"output":{"type":"structure","members":{"JobId":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"CreateMultiRegionAccessPoint":{"http":{"requestUri":"/v20180820/async-requests/mrap/create"},"input":{"locationName":"CreateMultiRegionAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S3a"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"DeleteAccessPoint":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspoint/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteAccessPointForObjectLambda":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteAccessPointPolicy":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteAccessPointPolicyForObjectLambda":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteBucket":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteBucketLifecycleConfiguration":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteBucketPolicy":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteBucketTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/tagging","responseCode":204},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteJobTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteMultiRegionAccessPoint":{"http":{"requestUri":"/v20180820/async-requests/mrap/delete"},"input":{"locationName":"DeleteMultiRegionAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S3r"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"DeletePublicAccessBlock":{"http":{"method":"DELETE","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteStorageLensConfiguration":{"http":{"method":"DELETE","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DeleteStorageLensConfigurationTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"DescribeJob":{"http":{"method":"GET","requestUri":"/v20180820/jobs/{id}"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"Job":{"type":"structure","members":{"JobId":{},"ConfirmationRequired":{"type":"boolean"},"Description":{},"JobArn":{},"Status":{},"Manifest":{"shape":"S2j"},"Operation":{"shape":"S19"},"Priority":{"type":"integer"},"ProgressSummary":{"shape":"S43"},"StatusUpdateReason":{},"FailureReasons":{"type":"list","member":{"type":"structure","members":{"FailureCode":{},"FailureReason":{}}}},"Report":{"shape":"S2f"},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"RoleArn":{},"SuspendedDate":{"type":"timestamp"},"SuspendedCause":{},"ManifestGenerator":{"shape":"S2u"},"GeneratedManifestDescriptor":{"type":"structure","members":{"Format":{},"Location":{"shape":"S2o"}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."}},"DescribeMultiRegionAccessPointOperation":{"http":{"method":"GET","requestUri":"/v20180820/async-requests/mrap/{request_token+}"},"input":{"type":"structure","required":["AccountId","RequestTokenARN"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"RequestTokenARN":{"location":"uri","locationName":"request_token"}}},"output":{"type":"structure","members":{"AsyncOperation":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"Operation":{},"RequestTokenARN":{},"RequestParameters":{"type":"structure","members":{"CreateMultiRegionAccessPointRequest":{"shape":"S3a"},"DeleteMultiRegionAccessPointRequest":{"shape":"S3r"},"PutMultiRegionAccessPointPolicyRequest":{"shape":"S4p"}}},"RequestStatus":{},"ResponseDetails":{"type":"structure","members":{"MultiRegionAccessPointDetails":{"type":"structure","members":{"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","members":{"Name":{},"RequestStatus":{}}}}}},"ErrorDetails":{"type":"structure","members":{"Code":{},"Message":{},"Resource":{},"RequestId":{}}}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"GetAccessPoint":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"Bucket":{},"NetworkOrigin":{},"VpcConfiguration":{"shape":"S5"},"PublicAccessBlockConfiguration":{"shape":"S7"},"CreationDate":{"type":"timestamp"},"Alias":{},"AccessPointArn":{},"Endpoints":{"type":"map","key":{},"value":{}}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointConfigurationForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/configuration"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Configuration":{"shape":"Se"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"PublicAccessBlockConfiguration":{"shape":"S7"},"CreationDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointPolicy":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointPolicyForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointPolicyStatus":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}/policyStatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"PolicyStatus":{"shape":"S5e"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetAccessPointPolicyStatusForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policyStatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"PolicyStatus":{"shape":"S5e"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetBucket":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Bucket":{},"PublicAccessBlockEnabled":{"type":"boolean"},"CreationDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetBucketLifecycleConfiguration":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Rules":{"shape":"S5n"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetBucketPolicy":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetBucketTagging":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/tagging"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["TagSet"],"members":{"TagSet":{"shape":"S1r"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetJobTagging":{"http":{"method":"GET","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S1r"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"GetMultiRegionAccessPoint":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"AccessPoint":{"shape":"S6e"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"GetMultiRegionAccessPointPolicy":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{"type":"structure","members":{"Established":{"type":"structure","members":{"Policy":{}}},"Proposed":{"type":"structure","members":{"Policy":{}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"GetMultiRegionAccessPointPolicyStatus":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name}/policystatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Established":{"shape":"S5e"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"GetPublicAccessBlock":{"http":{"method":"GET","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"PublicAccessBlockConfiguration":{"shape":"S7"}},"payload":"PublicAccessBlockConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."}},"GetStorageLensConfiguration":{"http":{"method":"GET","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"StorageLensConfiguration":{"shape":"S6v"}},"payload":"StorageLensConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."}},"GetStorageLensConfigurationTagging":{"http":{"method":"GET","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S7p"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListAccessPoints":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"querystring","locationName":"bucket"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"AccessPointList":{"type":"list","member":{"locationName":"AccessPoint","type":"structure","required":["Name","NetworkOrigin","Bucket"],"members":{"Name":{},"NetworkOrigin":{},"VpcConfiguration":{"shape":"S5"},"Bucket":{},"AccessPointArn":{},"Alias":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListAccessPointsForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"ObjectLambdaAccessPointList":{"type":"list","member":{"locationName":"ObjectLambdaAccessPoint","type":"structure","required":["Name"],"members":{"Name":{},"ObjectLambdaAccessPointArn":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListJobs":{"http":{"method":"GET","requestUri":"/v20180820/jobs"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobStatuses":{"location":"querystring","locationName":"jobStatuses","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Jobs":{"type":"list","member":{"type":"structure","members":{"JobId":{},"Description":{},"Operation":{},"Priority":{"type":"integer"},"Status":{},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"ProgressSummary":{"shape":"S43"}}}}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListMultiRegionAccessPoints":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"AccessPoints":{"type":"list","member":{"shape":"S6e","locationName":"AccessPoint"}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"ListRegionalBuckets":{"http":{"method":"GET","requestUri":"/v20180820/bucket"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"OutpostId":{"location":"header","locationName":"x-amz-outpost-id"}}},"output":{"type":"structure","members":{"RegionalBucketList":{"type":"list","member":{"locationName":"RegionalBucket","type":"structure","required":["Bucket","PublicAccessBlockEnabled","CreationDate"],"members":{"Bucket":{},"BucketArn":{},"PublicAccessBlockEnabled":{"type":"boolean"},"CreationDate":{"type":"timestamp"},"OutpostId":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"ListStorageLensConfigurations":{"http":{"method":"GET","requestUri":"/v20180820/storagelens"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"StorageLensConfigurationList":{"type":"list","member":{"locationName":"StorageLensConfiguration","type":"structure","required":["Id","StorageLensArn","HomeRegion"],"members":{"Id":{},"StorageLensArn":{},"HomeRegion":{},"IsEnabled":{"type":"boolean"}}},"flattened":true}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutAccessPointConfigurationForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}/configuration"},"input":{"locationName":"PutAccessPointConfigurationForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Configuration"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Configuration":{"shape":"Se"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutAccessPointPolicy":{"http":{"method":"PUT","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"locationName":"PutAccessPointPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Policy"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutAccessPointPolicyForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"locationName":"PutAccessPointPolicyForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Policy"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutBucketLifecycleConfiguration":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"},"LifecycleConfiguration":{"locationName":"LifecycleConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"Rules":{"shape":"S5n"}}}},"payload":"LifecycleConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"PutBucketPolicy":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"locationName":"PutBucketPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Bucket","Policy"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"},"ConfirmRemoveSelfBucketAccess":{"location":"header","locationName":"x-amz-confirm-remove-self-bucket-access","type":"boolean"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"PutBucketTagging":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/tagging"},"input":{"type":"structure","required":["AccountId","Bucket","Tagging"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"location":"uri","locationName":"name"},"Tagging":{"locationName":"Tagging","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["TagSet"],"members":{"TagSet":{"shape":"S1r"}}}},"payload":"Tagging"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"PutJobTagging":{"http":{"method":"PUT","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"locationName":"PutJobTaggingRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","JobId","Tags"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"Tags":{"shape":"S1r"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutMultiRegionAccessPointPolicy":{"http":{"requestUri":"/v20180820/async-requests/mrap/put-policy"},"input":{"locationName":"PutMultiRegionAccessPointPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S4p"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true},"PutPublicAccessBlock":{"http":{"method":"PUT","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["PublicAccessBlockConfiguration","AccountId"],"members":{"PublicAccessBlockConfiguration":{"shape":"S7","locationName":"PublicAccessBlockConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"}},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}},"payload":"PublicAccessBlockConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."}},"PutStorageLensConfiguration":{"http":{"method":"PUT","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"locationName":"PutStorageLensConfigurationRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["ConfigId","AccountId","StorageLensConfiguration"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"StorageLensConfiguration":{"shape":"S6v"},"Tags":{"shape":"S7p"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"PutStorageLensConfigurationTagging":{"http":{"method":"PUT","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"locationName":"PutStorageLensConfigurationTaggingRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["ConfigId","AccountId","Tags"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Tags":{"shape":"S7p"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."}},"UpdateJobPriority":{"http":{"requestUri":"/v20180820/jobs/{id}/priority"},"input":{"type":"structure","required":["AccountId","JobId","Priority"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"Priority":{"location":"querystring","locationName":"priority","type":"integer"}}},"output":{"type":"structure","required":["JobId","Priority"],"members":{"JobId":{},"Priority":{"type":"integer"}}},"endpoint":{"hostPrefix":"{AccountId}."}},"UpdateJobStatus":{"http":{"requestUri":"/v20180820/jobs/{id}/status"},"input":{"type":"structure","required":["AccountId","JobId","RequestedJobStatus"],"members":{"AccountId":{"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"RequestedJobStatus":{"location":"querystring","locationName":"requestedJobStatus"},"StatusUpdateReason":{"location":"querystring","locationName":"statusUpdateReason"}}},"output":{"type":"structure","members":{"JobId":{},"Status":{},"StatusUpdateReason":{}}},"endpoint":{"hostPrefix":"{AccountId}."}}},"shapes":{"S5":{"type":"structure","required":["VpcId"],"members":{"VpcId":{}}},"S7":{"type":"structure","members":{"BlockPublicAcls":{"locationName":"BlockPublicAcls","type":"boolean"},"IgnorePublicAcls":{"locationName":"IgnorePublicAcls","type":"boolean"},"BlockPublicPolicy":{"locationName":"BlockPublicPolicy","type":"boolean"},"RestrictPublicBuckets":{"locationName":"RestrictPublicBuckets","type":"boolean"}}},"Se":{"type":"structure","required":["SupportingAccessPoint","TransformationConfigurations"],"members":{"SupportingAccessPoint":{},"CloudWatchMetricsEnabled":{"type":"boolean"},"AllowedFeatures":{"type":"list","member":{"locationName":"AllowedFeature"}},"TransformationConfigurations":{"type":"list","member":{"locationName":"TransformationConfiguration","type":"structure","required":["Actions","ContentTransformation"],"members":{"Actions":{"type":"list","member":{"locationName":"Action"}},"ContentTransformation":{"type":"structure","members":{"AwsLambda":{"type":"structure","required":["FunctionArn"],"members":{"FunctionArn":{},"FunctionPayload":{}}}},"union":true}}}}}},"S19":{"type":"structure","members":{"LambdaInvoke":{"type":"structure","members":{"FunctionArn":{}}},"S3PutObjectCopy":{"type":"structure","members":{"TargetResource":{},"CannedAccessControlList":{},"AccessControlGrants":{"shape":"S1e"},"MetadataDirective":{},"ModifiedSinceConstraint":{"type":"timestamp"},"NewObjectMetadata":{"type":"structure","members":{"CacheControl":{},"ContentDisposition":{},"ContentEncoding":{},"ContentLanguage":{},"UserMetadata":{"type":"map","key":{},"value":{}},"ContentLength":{"type":"long"},"ContentMD5":{},"ContentType":{},"HttpExpiresDate":{"type":"timestamp"},"RequesterCharged":{"type":"boolean"},"SSEAlgorithm":{}}},"NewObjectTagging":{"shape":"S1r"},"RedirectLocation":{},"RequesterPays":{"type":"boolean"},"StorageClass":{},"UnModifiedSinceConstraint":{"type":"timestamp"},"SSEAwsKmsKeyId":{},"TargetKeyPrefix":{},"ObjectLockLegalHoldStatus":{},"ObjectLockMode":{},"ObjectLockRetainUntilDate":{"type":"timestamp"},"BucketKeyEnabled":{"type":"boolean"}}},"S3PutObjectAcl":{"type":"structure","members":{"AccessControlPolicy":{"type":"structure","members":{"AccessControlList":{"type":"structure","required":["Owner"],"members":{"Owner":{"type":"structure","members":{"ID":{},"DisplayName":{}}},"Grants":{"shape":"S1e"}}},"CannedAccessControlList":{}}}}},"S3PutObjectTagging":{"type":"structure","members":{"TagSet":{"shape":"S1r"}}},"S3DeleteObjectTagging":{"type":"structure","members":{}},"S3InitiateRestoreObject":{"type":"structure","members":{"ExpirationInDays":{"type":"integer"},"GlacierJobTier":{}}},"S3PutObjectLegalHold":{"type":"structure","required":["LegalHold"],"members":{"LegalHold":{"type":"structure","required":["Status"],"members":{"Status":{}}}}},"S3PutObjectRetention":{"type":"structure","required":["Retention"],"members":{"BypassGovernanceRetention":{"type":"boolean"},"Retention":{"type":"structure","members":{"RetainUntilDate":{"type":"timestamp"},"Mode":{}}}}},"S3ReplicateObject":{"type":"structure","members":{}}}},"S1e":{"type":"list","member":{"type":"structure","members":{"Grantee":{"type":"structure","members":{"TypeIdentifier":{},"Identifier":{},"DisplayName":{}}},"Permission":{}}}},"S1r":{"type":"list","member":{"shape":"S1s"}},"S1s":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}},"S2f":{"type":"structure","required":["Enabled"],"members":{"Bucket":{},"Format":{},"Enabled":{"type":"boolean"},"Prefix":{},"ReportScope":{}}},"S2j":{"type":"structure","required":["Spec","Location"],"members":{"Spec":{"type":"structure","required":["Format"],"members":{"Format":{},"Fields":{"type":"list","member":{}}}},"Location":{"shape":"S2o"}}},"S2o":{"type":"structure","required":["ObjectArn","ETag"],"members":{"ObjectArn":{},"ObjectVersionId":{},"ETag":{}}},"S2u":{"type":"structure","members":{"S3JobManifestGenerator":{"type":"structure","required":["SourceBucket","EnableManifestOutput"],"members":{"ExpectedBucketOwner":{},"SourceBucket":{},"ManifestOutputLocation":{"type":"structure","required":["Bucket","ManifestFormat"],"members":{"ExpectedManifestBucketOwner":{},"Bucket":{},"ManifestPrefix":{},"ManifestEncryption":{"type":"structure","members":{"SSES3":{"locationName":"SSE-S3","type":"structure","members":{}},"SSEKMS":{"locationName":"SSE-KMS","type":"structure","required":["KeyId"],"members":{"KeyId":{}}}}},"ManifestFormat":{}}},"Filter":{"type":"structure","members":{"EligibleForReplication":{"type":"boolean"},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"ObjectReplicationStatuses":{"type":"list","member":{}}}},"EnableManifestOutput":{"type":"boolean"}}}},"union":true},"S3a":{"type":"structure","required":["Name","Regions"],"members":{"Name":{},"PublicAccessBlock":{"shape":"S7"},"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","required":["Bucket"],"members":{"Bucket":{}}}}}},"S3r":{"type":"structure","required":["Name"],"members":{"Name":{}}},"S43":{"type":"structure","members":{"TotalNumberOfTasks":{"type":"long"},"NumberOfTasksSucceeded":{"type":"long"},"NumberOfTasksFailed":{"type":"long"},"Timers":{"type":"structure","members":{"ElapsedTimeInActiveSeconds":{"type":"long"}}}}},"S4p":{"type":"structure","required":["Name","Policy"],"members":{"Name":{},"Policy":{}}},"S5e":{"type":"structure","members":{"IsPublic":{"locationName":"IsPublic","type":"boolean"}}},"S5n":{"type":"list","member":{"locationName":"Rule","type":"structure","required":["Status"],"members":{"Expiration":{"type":"structure","members":{"Date":{"type":"timestamp"},"Days":{"type":"integer"},"ExpiredObjectDeleteMarker":{"type":"boolean"}}},"ID":{},"Filter":{"type":"structure","members":{"Prefix":{},"Tag":{"shape":"S1s"},"And":{"type":"structure","members":{"Prefix":{},"Tags":{"shape":"S1r"}}}}},"Status":{},"Transitions":{"type":"list","member":{"locationName":"Transition","type":"structure","members":{"Date":{"type":"timestamp"},"Days":{"type":"integer"},"StorageClass":{}}}},"NoncurrentVersionTransitions":{"type":"list","member":{"locationName":"NoncurrentVersionTransition","type":"structure","members":{"NoncurrentDays":{"type":"integer"},"StorageClass":{}}}},"NoncurrentVersionExpiration":{"type":"structure","members":{"NoncurrentDays":{"type":"integer"}}},"AbortIncompleteMultipartUpload":{"type":"structure","members":{"DaysAfterInitiation":{"type":"integer"}}}}}},"S6e":{"type":"structure","members":{"Name":{},"Alias":{},"CreatedAt":{"type":"timestamp"},"PublicAccessBlock":{"shape":"S7"},"Status":{},"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","members":{"Bucket":{},"Region":{}}}}}},"S6v":{"type":"structure","required":["Id","AccountLevel","IsEnabled"],"members":{"Id":{},"AccountLevel":{"type":"structure","required":["BucketLevel"],"members":{"ActivityMetrics":{"shape":"S6x"},"BucketLevel":{"type":"structure","members":{"ActivityMetrics":{"shape":"S6x"},"PrefixLevel":{"type":"structure","required":["StorageMetrics"],"members":{"StorageMetrics":{"type":"structure","members":{"IsEnabled":{"type":"boolean"},"SelectionCriteria":{"type":"structure","members":{"Delimiter":{},"MaxDepth":{"type":"integer"},"MinStorageBytesPercentage":{"type":"double"}}}}}}}}}}},"Include":{"type":"structure","members":{"Buckets":{"shape":"S77"},"Regions":{"shape":"S78"}}},"Exclude":{"type":"structure","members":{"Buckets":{"shape":"S77"},"Regions":{"shape":"S78"}}},"DataExport":{"type":"structure","members":{"S3BucketDestination":{"type":"structure","required":["Format","OutputSchemaVersion","AccountId","Arn"],"members":{"Format":{},"OutputSchemaVersion":{},"AccountId":{},"Arn":{},"Prefix":{},"Encryption":{"type":"structure","members":{"SSES3":{"locationName":"SSE-S3","type":"structure","members":{}},"SSEKMS":{"locationName":"SSE-KMS","type":"structure","required":["KeyId"],"members":{"KeyId":{}}}}}}},"CloudWatchMetrics":{"type":"structure","required":["IsEnabled"],"members":{"IsEnabled":{"type":"boolean"}}}}},"IsEnabled":{"type":"boolean"},"AwsOrg":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"StorageLensArn":{}}},"S6x":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S77":{"type":"list","member":{"locationName":"Arn"}},"S78":{"type":"list","member":{"locationName":"Region"}},"S7p":{"type":"list","member":{"locationName":"Tag","type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}} /***/ }), /* 432 */ @@ -47782,7 +47788,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 460 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2014-11-06","endpointPrefix":"ssm","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"Amazon SSM","serviceFullName":"Amazon Simple Systems Manager (SSM)","serviceId":"SSM","signatureVersion":"v4","targetPrefix":"AmazonSSM","uid":"ssm-2014-11-06"},"operations":{"AddTagsToResource":{"input":{"type":"structure","required":["ResourceType","ResourceId","Tags"],"members":{"ResourceType":{},"ResourceId":{},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{}}},"AssociateOpsItemRelatedItem":{"input":{"type":"structure","required":["OpsItemId","AssociationType","ResourceType","ResourceUri"],"members":{"OpsItemId":{},"AssociationType":{},"ResourceType":{},"ResourceUri":{}}},"output":{"type":"structure","members":{"AssociationId":{}}}},"CancelCommand":{"input":{"type":"structure","required":["CommandId"],"members":{"CommandId":{},"InstanceIds":{"shape":"Si"}}},"output":{"type":"structure","members":{}}},"CancelMaintenanceWindowExecution":{"input":{"type":"structure","required":["WindowExecutionId"],"members":{"WindowExecutionId":{}}},"output":{"type":"structure","members":{"WindowExecutionId":{}}}},"CreateActivation":{"input":{"type":"structure","required":["IamRole"],"members":{"Description":{},"DefaultInstanceName":{},"IamRole":{},"RegistrationLimit":{"type":"integer"},"ExpirationDate":{"type":"timestamp"},"Tags":{"shape":"S4"},"RegistrationMetadata":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}},"output":{"type":"structure","members":{"ActivationId":{},"ActivationCode":{}}}},"CreateAssociation":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"DocumentVersion":{},"InstanceId":{},"Parameters":{"shape":"S14"},"Targets":{"shape":"S18"},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"AssociationName":{},"AutomationTargetParameterName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}},"output":{"type":"structure","members":{"AssociationDescription":{"shape":"S20"}}}},"CreateAssociationBatch":{"input":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"shape":"S2e"}}}},"output":{"type":"structure","members":{"Successful":{"type":"list","member":{"shape":"S20"}},"Failed":{"type":"list","member":{"type":"structure","members":{"Entry":{"shape":"S2e"},"Message":{},"Fault":{}}}}}}},"CreateDocument":{"input":{"type":"structure","required":["Content","Name"],"members":{"Content":{},"Requires":{"shape":"S2n"},"Attachments":{"shape":"S2p"},"Name":{},"DisplayName":{},"VersionName":{},"DocumentType":{},"DocumentFormat":{},"TargetType":{},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"DocumentDescription":{"shape":"S32"}}}},"CreateMaintenanceWindow":{"input":{"type":"structure","required":["Name","Schedule","Duration","Cutoff","AllowUnassociatedTargets"],"members":{"Name":{},"Description":{"shape":"S3t"},"StartDate":{},"EndDate":{},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"AllowUnassociatedTargets":{"type":"boolean"},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"WindowId":{}}}},"CreateOpsItem":{"input":{"type":"structure","required":["Description","Source","Title"],"members":{"Description":{},"OpsItemType":{},"OperationalData":{"shape":"S47"},"Notifications":{"shape":"S4c"},"Priority":{"type":"integer"},"RelatedOpsItems":{"shape":"S4g"},"Source":{},"Title":{},"Tags":{"shape":"S4"},"Category":{},"Severity":{},"ActualStartTime":{"type":"timestamp"},"ActualEndTime":{"type":"timestamp"},"PlannedStartTime":{"type":"timestamp"},"PlannedEndTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"OpsItemId":{}}}},"CreateOpsMetadata":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"Metadata":{"shape":"S4p"},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"OpsMetadataArn":{}}}},"CreatePatchBaseline":{"input":{"type":"structure","required":["Name"],"members":{"OperatingSystem":{},"Name":{},"GlobalFilters":{"shape":"S4y"},"ApprovalRules":{"shape":"S54"},"ApprovedPatches":{"shape":"S5b"},"ApprovedPatchesComplianceLevel":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"RejectedPatches":{"shape":"S5b"},"RejectedPatchesAction":{},"Description":{},"Sources":{"shape":"S5f"},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"BaselineId":{}}}},"CreateResourceDataSync":{"input":{"type":"structure","required":["SyncName"],"members":{"SyncName":{},"S3Destination":{"shape":"S5p"},"SyncType":{},"SyncSource":{"shape":"S5y"}}},"output":{"type":"structure","members":{}}},"DeleteActivation":{"input":{"type":"structure","required":["ActivationId"],"members":{"ActivationId":{}}},"output":{"type":"structure","members":{}}},"DeleteAssociation":{"input":{"type":"structure","members":{"Name":{},"InstanceId":{},"AssociationId":{}}},"output":{"type":"structure","members":{}}},"DeleteDocument":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"DocumentVersion":{},"VersionName":{},"Force":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeleteInventory":{"input":{"type":"structure","required":["TypeName"],"members":{"TypeName":{},"SchemaDeleteOption":{},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"DeletionId":{},"TypeName":{},"DeletionSummary":{"shape":"S6m"}}}},"DeleteMaintenanceWindow":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{}}},"output":{"type":"structure","members":{"WindowId":{}}}},"DeleteOpsMetadata":{"input":{"type":"structure","required":["OpsMetadataArn"],"members":{"OpsMetadataArn":{}}},"output":{"type":"structure","members":{}}},"DeleteParameter":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteParameters":{"input":{"type":"structure","required":["Names"],"members":{"Names":{"shape":"S71"}}},"output":{"type":"structure","members":{"DeletedParameters":{"shape":"S71"},"InvalidParameters":{"shape":"S71"}}}},"DeletePatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{}}},"output":{"type":"structure","members":{"BaselineId":{}}}},"DeleteResourceDataSync":{"input":{"type":"structure","required":["SyncName"],"members":{"SyncName":{},"SyncType":{}}},"output":{"type":"structure","members":{}}},"DeregisterManagedInstance":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{}}},"output":{"type":"structure","members":{}}},"DeregisterPatchBaselineForPatchGroup":{"input":{"type":"structure","required":["BaselineId","PatchGroup"],"members":{"BaselineId":{},"PatchGroup":{}}},"output":{"type":"structure","members":{"BaselineId":{},"PatchGroup":{}}}},"DeregisterTargetFromMaintenanceWindow":{"input":{"type":"structure","required":["WindowId","WindowTargetId"],"members":{"WindowId":{},"WindowTargetId":{},"Safe":{"type":"boolean"}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTargetId":{}}}},"DeregisterTaskFromMaintenanceWindow":{"input":{"type":"structure","required":["WindowId","WindowTaskId"],"members":{"WindowId":{},"WindowTaskId":{}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTaskId":{}}}},"DescribeActivations":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"FilterKey":{},"FilterValues":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ActivationList":{"type":"list","member":{"type":"structure","members":{"ActivationId":{},"Description":{},"DefaultInstanceName":{},"IamRole":{},"RegistrationLimit":{"type":"integer"},"RegistrationsCount":{"type":"integer"},"ExpirationDate":{"type":"timestamp"},"Expired":{"type":"boolean"},"CreatedDate":{"type":"timestamp"},"Tags":{"shape":"S4"}}}},"NextToken":{}}}},"DescribeAssociation":{"input":{"type":"structure","members":{"Name":{},"InstanceId":{},"AssociationId":{},"AssociationVersion":{}}},"output":{"type":"structure","members":{"AssociationDescription":{"shape":"S20"}}}},"DescribeAssociationExecutionTargets":{"input":{"type":"structure","required":["AssociationId","ExecutionId"],"members":{"AssociationId":{},"ExecutionId":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AssociationExecutionTargets":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"AssociationVersion":{},"ExecutionId":{},"ResourceId":{},"ResourceType":{},"Status":{},"DetailedStatus":{},"LastExecutionDate":{"type":"timestamp"},"OutputSource":{"type":"structure","members":{"OutputSourceId":{},"OutputSourceType":{}}}}}},"NextToken":{}}}},"DescribeAssociationExecutions":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Value","Type"],"members":{"Key":{},"Value":{},"Type":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AssociationExecutions":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"AssociationVersion":{},"ExecutionId":{},"Status":{},"DetailedStatus":{},"CreatedTime":{"type":"timestamp"},"LastExecutionDate":{"type":"timestamp"},"ResourceCountByStatus":{}}}},"NextToken":{}}}},"DescribeAutomationExecutions":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AutomationExecutionMetadataList":{"type":"list","member":{"type":"structure","members":{"AutomationExecutionId":{},"DocumentName":{},"DocumentVersion":{},"AutomationExecutionStatus":{},"ExecutionStartTime":{"type":"timestamp"},"ExecutionEndTime":{"type":"timestamp"},"ExecutedBy":{},"LogFile":{},"Outputs":{"shape":"S8w"},"Mode":{},"ParentAutomationExecutionId":{},"CurrentStepName":{},"CurrentAction":{},"FailureMessage":{},"TargetParameterName":{},"Targets":{"shape":"S18"},"TargetMaps":{"shape":"S91"},"ResolvedTargets":{"shape":"S96"},"MaxConcurrency":{},"MaxErrors":{},"Target":{},"AutomationType":{},"AutomationSubtype":{},"ScheduledTime":{"type":"timestamp"},"Runbooks":{"shape":"S9a"},"OpsItemId":{},"AssociationId":{},"ChangeRequestName":{}}}},"NextToken":{}}}},"DescribeAutomationStepExecutions":{"input":{"type":"structure","required":["AutomationExecutionId"],"members":{"AutomationExecutionId":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}},"NextToken":{},"MaxResults":{"type":"integer"},"ReverseOrder":{"type":"boolean"}}},"output":{"type":"structure","members":{"StepExecutions":{"shape":"S9k"},"NextToken":{}}}},"DescribeAvailablePatches":{"input":{"type":"structure","members":{"Filters":{"shape":"S9u"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Patches":{"type":"list","member":{"shape":"Sa2"}},"NextToken":{}}}},"DescribeDocument":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"DocumentVersion":{},"VersionName":{}}},"output":{"type":"structure","members":{"Document":{"shape":"S32"}}}},"DescribeDocumentPermission":{"input":{"type":"structure","required":["Name","PermissionType"],"members":{"Name":{},"PermissionType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AccountIds":{"shape":"Sax"},"AccountSharingInfoList":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"SharedDocumentVersion":{}}}},"NextToken":{}}}},"DescribeEffectiveInstanceAssociations":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"InstanceId":{},"Content":{},"AssociationVersion":{}}}},"NextToken":{}}}},"DescribeEffectivePatchesForPatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"EffectivePatches":{"type":"list","member":{"type":"structure","members":{"Patch":{"shape":"Sa2"},"PatchStatus":{"type":"structure","members":{"DeploymentStatus":{},"ComplianceLevel":{},"ApprovalDate":{"type":"timestamp"}}}}}},"NextToken":{}}}},"DescribeInstanceAssociationsStatus":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceAssociationStatusInfos":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"Name":{},"DocumentVersion":{},"AssociationVersion":{},"InstanceId":{},"ExecutionDate":{"type":"timestamp"},"Status":{},"DetailedStatus":{},"ExecutionSummary":{},"ErrorCode":{},"OutputUrl":{"type":"structure","members":{"S3OutputUrl":{"type":"structure","members":{"OutputUrl":{}}}}},"AssociationName":{}}}},"NextToken":{}}}},"DescribeInstanceInformation":{"input":{"type":"structure","members":{"InstanceInformationFilterList":{"type":"list","member":{"type":"structure","required":["key","valueSet"],"members":{"key":{},"valueSet":{"shape":"Sbq"}}}},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"shape":"Sbq"}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceInformationList":{"type":"list","member":{"type":"structure","members":{"InstanceId":{},"PingStatus":{},"LastPingDateTime":{"type":"timestamp"},"AgentVersion":{},"IsLatestVersion":{"type":"boolean"},"PlatformType":{},"PlatformName":{},"PlatformVersion":{},"ActivationId":{},"IamRole":{},"RegistrationDate":{"type":"timestamp"},"ResourceType":{},"Name":{},"IPAddress":{},"ComputerName":{},"AssociationStatus":{},"LastAssociationExecutionDate":{"type":"timestamp"},"LastSuccessfulAssociationExecutionDate":{"type":"timestamp"},"AssociationOverview":{"type":"structure","members":{"DetailedStatus":{},"InstanceAssociationStatusAggregatedCount":{"type":"map","key":{},"value":{"type":"integer"}}}},"SourceId":{},"SourceType":{}}}},"NextToken":{}}}},"DescribeInstancePatchStates":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Si"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InstancePatchStates":{"type":"list","member":{"shape":"Scc"}},"NextToken":{}}}},"DescribeInstancePatchStatesForPatchGroup":{"input":{"type":"structure","required":["PatchGroup"],"members":{"PatchGroup":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values","Type"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Type":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InstancePatchStates":{"type":"list","member":{"shape":"Scc"}},"NextToken":{}}}},"DescribeInstancePatches":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"Filters":{"shape":"S9u"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Patches":{"type":"list","member":{"type":"structure","required":["Title","KBId","Classification","Severity","State","InstalledTime"],"members":{"Title":{},"KBId":{},"Classification":{},"Severity":{},"State":{},"InstalledTime":{"type":"timestamp"},"CVEIds":{}}}},"NextToken":{}}}},"DescribeInventoryDeletions":{"input":{"type":"structure","members":{"DeletionId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InventoryDeletions":{"type":"list","member":{"type":"structure","members":{"DeletionId":{},"TypeName":{},"DeletionStartTime":{"type":"timestamp"},"LastStatus":{},"LastStatusMessage":{},"DeletionSummary":{"shape":"S6m"},"LastStatusUpdateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeMaintenanceWindowExecutionTaskInvocations":{"input":{"type":"structure","required":["WindowExecutionId","TaskId"],"members":{"WindowExecutionId":{},"TaskId":{},"Filters":{"shape":"Sdi"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowExecutionTaskInvocationIdentities":{"type":"list","member":{"type":"structure","members":{"WindowExecutionId":{},"TaskExecutionId":{},"InvocationId":{},"ExecutionId":{},"TaskType":{},"Parameters":{"shape":"Sdu"},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"OwnerInformation":{"shape":"Scf"},"WindowTargetId":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindowExecutionTasks":{"input":{"type":"structure","required":["WindowExecutionId"],"members":{"WindowExecutionId":{},"Filters":{"shape":"Sdi"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowExecutionTaskIdentities":{"type":"list","member":{"type":"structure","members":{"WindowExecutionId":{},"TaskExecutionId":{},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"TaskArn":{},"TaskType":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindowExecutions":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{},"Filters":{"shape":"Sdi"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowExecutions":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"WindowExecutionId":{},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeMaintenanceWindowSchedule":{"input":{"type":"structure","members":{"WindowId":{},"Targets":{"shape":"S18"},"ResourceType":{},"Filters":{"shape":"S9u"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ScheduledWindowExecutions":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"Name":{},"ExecutionTime":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindowTargets":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{},"Filters":{"shape":"Sdi"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Targets":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"WindowTargetId":{},"ResourceType":{},"Targets":{"shape":"S18"},"OwnerInformation":{"shape":"Scf"},"Name":{},"Description":{"shape":"S3t"}}}},"NextToken":{}}}},"DescribeMaintenanceWindowTasks":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{},"Filters":{"shape":"Sdi"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Tasks":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"WindowTaskId":{},"TaskArn":{},"Type":{},"Targets":{"shape":"S18"},"TaskParameters":{"shape":"Sel"},"Priority":{"type":"integer"},"LoggingInfo":{"shape":"Ser"},"ServiceRoleArn":{},"MaxConcurrency":{},"MaxErrors":{},"Name":{},"Description":{"shape":"S3t"},"CutoffBehavior":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindows":{"input":{"type":"structure","members":{"Filters":{"shape":"Sdi"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowIdentities":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"Name":{},"Description":{"shape":"S3t"},"Enabled":{"type":"boolean"},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"EndDate":{},"StartDate":{},"NextExecutionTime":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindowsForTarget":{"input":{"type":"structure","required":["Targets","ResourceType"],"members":{"Targets":{"shape":"S18"},"ResourceType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowIdentities":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"Name":{}}}},"NextToken":{}}}},"DescribeOpsItems":{"input":{"type":"structure","members":{"OpsItemFilters":{"type":"list","member":{"type":"structure","required":["Key","Values","Operator"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Operator":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"NextToken":{},"OpsItemSummaries":{"type":"list","member":{"type":"structure","members":{"CreatedBy":{},"CreatedTime":{"type":"timestamp"},"LastModifiedBy":{},"LastModifiedTime":{"type":"timestamp"},"Priority":{"type":"integer"},"Source":{},"Status":{},"OpsItemId":{},"Title":{},"OperationalData":{"shape":"S47"},"Category":{},"Severity":{},"OpsItemType":{},"ActualStartTime":{"type":"timestamp"},"ActualEndTime":{"type":"timestamp"},"PlannedStartTime":{"type":"timestamp"},"PlannedEndTime":{"type":"timestamp"}}}}}}},"DescribeParameters":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}},"ParameterFilters":{"shape":"Sfl"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Parameters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"KeyId":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedUser":{},"Description":{},"AllowedPattern":{},"Version":{"type":"long"},"Tier":{},"Policies":{"shape":"Sg0"},"DataType":{}}}},"NextToken":{}}}},"DescribePatchBaselines":{"input":{"type":"structure","members":{"Filters":{"shape":"S9u"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BaselineIdentities":{"type":"list","member":{"shape":"Sg6"}},"NextToken":{}}}},"DescribePatchGroupState":{"input":{"type":"structure","required":["PatchGroup"],"members":{"PatchGroup":{}}},"output":{"type":"structure","members":{"Instances":{"type":"integer"},"InstancesWithInstalledPatches":{"type":"integer"},"InstancesWithInstalledOtherPatches":{"type":"integer"},"InstancesWithInstalledPendingRebootPatches":{"type":"integer"},"InstancesWithInstalledRejectedPatches":{"type":"integer"},"InstancesWithMissingPatches":{"type":"integer"},"InstancesWithFailedPatches":{"type":"integer"},"InstancesWithNotApplicablePatches":{"type":"integer"},"InstancesWithUnreportedNotApplicablePatches":{"type":"integer"},"InstancesWithCriticalNonCompliantPatches":{"type":"integer"},"InstancesWithSecurityNonCompliantPatches":{"type":"integer"},"InstancesWithOtherNonCompliantPatches":{"type":"integer"}}}},"DescribePatchGroups":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"Filters":{"shape":"S9u"},"NextToken":{}}},"output":{"type":"structure","members":{"Mappings":{"type":"list","member":{"type":"structure","members":{"PatchGroup":{},"BaselineIdentity":{"shape":"Sg6"}}}},"NextToken":{}}}},"DescribePatchProperties":{"input":{"type":"structure","required":["OperatingSystem","Property"],"members":{"OperatingSystem":{},"Property":{},"PatchSet":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Properties":{"type":"list","member":{"type":"map","key":{},"value":{}}},"NextToken":{}}}},"DescribeSessions":{"input":{"type":"structure","required":["State"],"members":{"State":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}}}},"output":{"type":"structure","members":{"Sessions":{"type":"list","member":{"type":"structure","members":{"SessionId":{},"Target":{},"Status":{},"StartDate":{"type":"timestamp"},"EndDate":{"type":"timestamp"},"DocumentName":{},"Owner":{},"Reason":{},"Details":{},"OutputUrl":{"type":"structure","members":{"S3OutputUrl":{},"CloudWatchOutputUrl":{}}},"MaxSessionDuration":{}}}},"NextToken":{}}}},"DisassociateOpsItemRelatedItem":{"input":{"type":"structure","required":["OpsItemId","AssociationId"],"members":{"OpsItemId":{},"AssociationId":{}}},"output":{"type":"structure","members":{}}},"GetAutomationExecution":{"input":{"type":"structure","required":["AutomationExecutionId"],"members":{"AutomationExecutionId":{}}},"output":{"type":"structure","members":{"AutomationExecution":{"type":"structure","members":{"AutomationExecutionId":{},"DocumentName":{},"DocumentVersion":{},"ExecutionStartTime":{"type":"timestamp"},"ExecutionEndTime":{"type":"timestamp"},"AutomationExecutionStatus":{},"StepExecutions":{"shape":"S9k"},"StepExecutionsTruncated":{"type":"boolean"},"Parameters":{"shape":"S8w"},"Outputs":{"shape":"S8w"},"FailureMessage":{},"Mode":{},"ParentAutomationExecutionId":{},"ExecutedBy":{},"CurrentStepName":{},"CurrentAction":{},"TargetParameterName":{},"Targets":{"shape":"S18"},"TargetMaps":{"shape":"S91"},"ResolvedTargets":{"shape":"S96"},"MaxConcurrency":{},"MaxErrors":{},"Target":{},"TargetLocations":{"shape":"S1s"},"ProgressCounters":{"type":"structure","members":{"TotalSteps":{"type":"integer"},"SuccessSteps":{"type":"integer"},"FailedSteps":{"type":"integer"},"CancelledSteps":{"type":"integer"},"TimedOutSteps":{"type":"integer"}}},"AutomationSubtype":{},"ScheduledTime":{"type":"timestamp"},"Runbooks":{"shape":"S9a"},"OpsItemId":{},"AssociationId":{},"ChangeRequestName":{}}}}}},"GetCalendarState":{"input":{"type":"structure","required":["CalendarNames"],"members":{"CalendarNames":{"shape":"S1q"},"AtTime":{}}},"output":{"type":"structure","members":{"State":{},"AtTime":{},"NextTransitionTime":{}}}},"GetCommandInvocation":{"input":{"type":"structure","required":["CommandId","InstanceId"],"members":{"CommandId":{},"InstanceId":{},"PluginName":{}}},"output":{"type":"structure","members":{"CommandId":{},"InstanceId":{},"Comment":{},"DocumentName":{},"DocumentVersion":{},"PluginName":{},"ResponseCode":{"type":"integer"},"ExecutionStartDateTime":{},"ExecutionElapsedTime":{},"ExecutionEndDateTime":{},"Status":{},"StatusDetails":{},"StandardOutputContent":{},"StandardOutputUrl":{},"StandardErrorContent":{},"StandardErrorUrl":{},"CloudWatchOutputConfig":{"shape":"Shr"}}}},"GetConnectionStatus":{"input":{"type":"structure","required":["Target"],"members":{"Target":{}}},"output":{"type":"structure","members":{"Target":{},"Status":{}}}},"GetDefaultPatchBaseline":{"input":{"type":"structure","members":{"OperatingSystem":{}}},"output":{"type":"structure","members":{"BaselineId":{},"OperatingSystem":{}}}},"GetDeployablePatchSnapshotForInstance":{"input":{"type":"structure","required":["InstanceId","SnapshotId"],"members":{"InstanceId":{},"SnapshotId":{},"BaselineOverride":{"type":"structure","members":{"OperatingSystem":{},"GlobalFilters":{"shape":"S4y"},"ApprovalRules":{"shape":"S54"},"ApprovedPatches":{"shape":"S5b"},"ApprovedPatchesComplianceLevel":{},"RejectedPatches":{"shape":"S5b"},"RejectedPatchesAction":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"Sources":{"shape":"S5f"}}}}},"output":{"type":"structure","members":{"InstanceId":{},"SnapshotId":{},"SnapshotDownloadUrl":{},"Product":{}}}},"GetDocument":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"VersionName":{},"DocumentVersion":{},"DocumentFormat":{}}},"output":{"type":"structure","members":{"Name":{},"CreatedDate":{"type":"timestamp"},"DisplayName":{},"VersionName":{},"DocumentVersion":{},"Status":{},"StatusInformation":{},"Content":{},"DocumentType":{},"DocumentFormat":{},"Requires":{"shape":"S2n"},"AttachmentsContent":{"type":"list","member":{"type":"structure","members":{"Name":{},"Size":{"type":"long"},"Hash":{},"HashType":{},"Url":{}}}},"ReviewStatus":{}}}},"GetInventory":{"input":{"type":"structure","members":{"Filters":{"shape":"Sid"},"Aggregators":{"shape":"Sij"},"ResultAttributes":{"type":"list","member":{"type":"structure","required":["TypeName"],"members":{"TypeName":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Entities":{"type":"list","member":{"type":"structure","members":{"Id":{},"Data":{"type":"map","key":{},"value":{"type":"structure","required":["TypeName","SchemaVersion","Content"],"members":{"TypeName":{},"SchemaVersion":{},"CaptureTime":{},"ContentHash":{},"Content":{"shape":"Sj0"}}}}}}},"NextToken":{}}}},"GetInventorySchema":{"input":{"type":"structure","members":{"TypeName":{},"NextToken":{},"MaxResults":{"type":"integer"},"Aggregator":{"type":"boolean"},"SubType":{"type":"boolean"}}},"output":{"type":"structure","members":{"Schemas":{"type":"list","member":{"type":"structure","required":["TypeName","Attributes"],"members":{"TypeName":{},"Version":{},"Attributes":{"type":"list","member":{"type":"structure","required":["Name","DataType"],"members":{"Name":{},"DataType":{}}}},"DisplayName":{}}}},"NextToken":{}}}},"GetMaintenanceWindow":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{}}},"output":{"type":"structure","members":{"WindowId":{},"Name":{},"Description":{"shape":"S3t"},"StartDate":{},"EndDate":{},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"NextExecutionTime":{},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"AllowUnassociatedTargets":{"type":"boolean"},"Enabled":{"type":"boolean"},"CreatedDate":{"type":"timestamp"},"ModifiedDate":{"type":"timestamp"}}}},"GetMaintenanceWindowExecution":{"input":{"type":"structure","required":["WindowExecutionId"],"members":{"WindowExecutionId":{}}},"output":{"type":"structure","members":{"WindowExecutionId":{},"TaskIds":{"type":"list","member":{}},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"GetMaintenanceWindowExecutionTask":{"input":{"type":"structure","required":["WindowExecutionId","TaskId"],"members":{"WindowExecutionId":{},"TaskId":{}}},"output":{"type":"structure","members":{"WindowExecutionId":{},"TaskExecutionId":{},"TaskArn":{},"ServiceRole":{},"Type":{},"TaskParameters":{"type":"list","member":{"shape":"Sel"},"sensitive":true},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"GetMaintenanceWindowExecutionTaskInvocation":{"input":{"type":"structure","required":["WindowExecutionId","TaskId","InvocationId"],"members":{"WindowExecutionId":{},"TaskId":{},"InvocationId":{}}},"output":{"type":"structure","members":{"WindowExecutionId":{},"TaskExecutionId":{},"InvocationId":{},"ExecutionId":{},"TaskType":{},"Parameters":{"shape":"Sdu"},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"OwnerInformation":{"shape":"Scf"},"WindowTargetId":{}}}},"GetMaintenanceWindowTask":{"input":{"type":"structure","required":["WindowId","WindowTaskId"],"members":{"WindowId":{},"WindowTaskId":{}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTaskId":{},"Targets":{"shape":"S18"},"TaskArn":{},"ServiceRoleArn":{},"TaskType":{},"TaskParameters":{"shape":"Sel"},"TaskInvocationParameters":{"shape":"Sjr"},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"LoggingInfo":{"shape":"Ser"},"Name":{},"Description":{"shape":"S3t"},"CutoffBehavior":{}}}},"GetOpsItem":{"input":{"type":"structure","required":["OpsItemId"],"members":{"OpsItemId":{}}},"output":{"type":"structure","members":{"OpsItem":{"type":"structure","members":{"CreatedBy":{},"OpsItemType":{},"CreatedTime":{"type":"timestamp"},"Description":{},"LastModifiedBy":{},"LastModifiedTime":{"type":"timestamp"},"Notifications":{"shape":"S4c"},"Priority":{"type":"integer"},"RelatedOpsItems":{"shape":"S4g"},"Status":{},"OpsItemId":{},"Version":{},"Title":{},"Source":{},"OperationalData":{"shape":"S47"},"Category":{},"Severity":{},"ActualStartTime":{"type":"timestamp"},"ActualEndTime":{"type":"timestamp"},"PlannedStartTime":{"type":"timestamp"},"PlannedEndTime":{"type":"timestamp"}}}}}},"GetOpsMetadata":{"input":{"type":"structure","required":["OpsMetadataArn"],"members":{"OpsMetadataArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ResourceId":{},"Metadata":{"shape":"S4p"},"NextToken":{}}}},"GetOpsSummary":{"input":{"type":"structure","members":{"SyncName":{},"Filters":{"shape":"Ske"},"Aggregators":{"shape":"Skk"},"ResultAttributes":{"type":"list","member":{"type":"structure","required":["TypeName"],"members":{"TypeName":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Entities":{"type":"list","member":{"type":"structure","members":{"Id":{},"Data":{"type":"map","key":{},"value":{"type":"structure","members":{"CaptureTime":{},"Content":{"type":"list","member":{"type":"map","key":{},"value":{}}}}}}}}},"NextToken":{}}}},"GetParameter":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"WithDecryption":{"type":"boolean"}}},"output":{"type":"structure","members":{"Parameter":{"shape":"Sl6"}}}},"GetParameterHistory":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"WithDecryption":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Parameters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"KeyId":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedUser":{},"Description":{},"Value":{"shape":"Sl7"},"AllowedPattern":{},"Version":{"type":"long"},"Labels":{"shape":"Sld"},"Tier":{},"Policies":{"shape":"Sg0"},"DataType":{}}}},"NextToken":{}}}},"GetParameters":{"input":{"type":"structure","required":["Names"],"members":{"Names":{"shape":"S71"},"WithDecryption":{"type":"boolean"}}},"output":{"type":"structure","members":{"Parameters":{"shape":"Slh"},"InvalidParameters":{"shape":"S71"}}}},"GetParametersByPath":{"input":{"type":"structure","required":["Path"],"members":{"Path":{},"Recursive":{"type":"boolean"},"ParameterFilters":{"shape":"Sfl"},"WithDecryption":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Parameters":{"shape":"Slh"},"NextToken":{}}}},"GetPatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{}}},"output":{"type":"structure","members":{"BaselineId":{},"Name":{},"OperatingSystem":{},"GlobalFilters":{"shape":"S4y"},"ApprovalRules":{"shape":"S54"},"ApprovedPatches":{"shape":"S5b"},"ApprovedPatchesComplianceLevel":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"RejectedPatches":{"shape":"S5b"},"RejectedPatchesAction":{},"PatchGroups":{"type":"list","member":{}},"CreatedDate":{"type":"timestamp"},"ModifiedDate":{"type":"timestamp"},"Description":{},"Sources":{"shape":"S5f"}}}},"GetPatchBaselineForPatchGroup":{"input":{"type":"structure","required":["PatchGroup"],"members":{"PatchGroup":{},"OperatingSystem":{}}},"output":{"type":"structure","members":{"BaselineId":{},"PatchGroup":{},"OperatingSystem":{}}}},"GetServiceSetting":{"input":{"type":"structure","required":["SettingId"],"members":{"SettingId":{}}},"output":{"type":"structure","members":{"ServiceSetting":{"shape":"Slt"}}}},"LabelParameterVersion":{"input":{"type":"structure","required":["Name","Labels"],"members":{"Name":{},"ParameterVersion":{"type":"long"},"Labels":{"shape":"Sld"}}},"output":{"type":"structure","members":{"InvalidLabels":{"shape":"Sld"},"ParameterVersion":{"type":"long"}}}},"ListAssociationVersions":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AssociationVersions":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"AssociationVersion":{},"CreatedDate":{"type":"timestamp"},"Name":{},"DocumentVersion":{},"Parameters":{"shape":"S14"},"Targets":{"shape":"S18"},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"AssociationName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}}},"NextToken":{}}}},"ListAssociations":{"input":{"type":"structure","members":{"AssociationFilterList":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"Name":{},"InstanceId":{},"AssociationId":{},"AssociationVersion":{},"DocumentVersion":{},"Targets":{"shape":"S18"},"LastExecutionDate":{"type":"timestamp"},"Overview":{"shape":"S27"},"ScheduleExpression":{},"AssociationName":{}}}},"NextToken":{}}}},"ListCommandInvocations":{"input":{"type":"structure","members":{"CommandId":{},"InstanceId":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Smb"},"Details":{"type":"boolean"}}},"output":{"type":"structure","members":{"CommandInvocations":{"type":"list","member":{"type":"structure","members":{"CommandId":{},"InstanceId":{},"InstanceName":{},"Comment":{},"DocumentName":{},"DocumentVersion":{},"RequestedDateTime":{"type":"timestamp"},"Status":{},"StatusDetails":{},"TraceOutput":{},"StandardOutputUrl":{},"StandardErrorUrl":{},"CommandPlugins":{"type":"list","member":{"type":"structure","members":{"Name":{},"Status":{},"StatusDetails":{},"ResponseCode":{"type":"integer"},"ResponseStartDateTime":{"type":"timestamp"},"ResponseFinishDateTime":{"type":"timestamp"},"Output":{},"StandardOutputUrl":{},"StandardErrorUrl":{},"OutputS3Region":{},"OutputS3BucketName":{},"OutputS3KeyPrefix":{}}}},"ServiceRole":{},"NotificationConfig":{"shape":"Sjt"},"CloudWatchOutputConfig":{"shape":"Shr"}}}},"NextToken":{}}}},"ListCommands":{"input":{"type":"structure","members":{"CommandId":{},"InstanceId":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Smb"}}},"output":{"type":"structure","members":{"Commands":{"type":"list","member":{"shape":"Smr"}},"NextToken":{}}}},"ListComplianceItems":{"input":{"type":"structure","members":{"Filters":{"shape":"Smy"},"ResourceIds":{"type":"list","member":{}},"ResourceTypes":{"type":"list","member":{}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ComplianceItems":{"type":"list","member":{"type":"structure","members":{"ComplianceType":{},"ResourceType":{},"ResourceId":{},"Id":{},"Title":{},"Status":{},"Severity":{},"ExecutionSummary":{"shape":"Sng"},"Details":{"shape":"Snj"}}}},"NextToken":{}}}},"ListComplianceSummaries":{"input":{"type":"structure","members":{"Filters":{"shape":"Smy"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ComplianceSummaryItems":{"type":"list","member":{"type":"structure","members":{"ComplianceType":{},"CompliantSummary":{"shape":"Sno"},"NonCompliantSummary":{"shape":"Snr"}}}},"NextToken":{}}}},"ListDocumentMetadataHistory":{"input":{"type":"structure","required":["Name","Metadata"],"members":{"Name":{},"DocumentVersion":{},"Metadata":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Name":{},"DocumentVersion":{},"Author":{},"Metadata":{"type":"structure","members":{"ReviewerResponse":{"type":"list","member":{"type":"structure","members":{"CreateTime":{"type":"timestamp"},"UpdatedTime":{"type":"timestamp"},"ReviewStatus":{},"Comment":{"shape":"Sny"},"Reviewer":{}}}}}},"NextToken":{}}}},"ListDocumentVersions":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DocumentVersions":{"type":"list","member":{"type":"structure","members":{"Name":{},"DisplayName":{},"DocumentVersion":{},"VersionName":{},"CreatedDate":{"type":"timestamp"},"IsDefaultVersion":{"type":"boolean"},"DocumentFormat":{},"Status":{},"StatusInformation":{},"ReviewStatus":{}}}},"NextToken":{}}}},"ListDocuments":{"input":{"type":"structure","members":{"DocumentFilterList":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Filters":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DocumentIdentifiers":{"type":"list","member":{"type":"structure","members":{"Name":{},"CreatedDate":{"type":"timestamp"},"DisplayName":{},"Owner":{},"VersionName":{},"PlatformTypes":{"shape":"S3g"},"DocumentVersion":{},"DocumentType":{},"SchemaVersion":{},"DocumentFormat":{},"TargetType":{},"Tags":{"shape":"S4"},"Requires":{"shape":"S2n"},"ReviewStatus":{},"Author":{}}}},"NextToken":{}}}},"ListInventoryEntries":{"input":{"type":"structure","required":["InstanceId","TypeName"],"members":{"InstanceId":{},"TypeName":{},"Filters":{"shape":"Sid"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"TypeName":{},"InstanceId":{},"SchemaVersion":{},"CaptureTime":{},"Entries":{"shape":"Sj0"},"NextToken":{}}}},"ListOpsItemEvents":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values","Operator"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Operator":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"NextToken":{},"Summaries":{"type":"list","member":{"type":"structure","members":{"OpsItemId":{},"EventId":{},"Source":{},"DetailType":{},"Detail":{},"CreatedBy":{"shape":"Sow"},"CreatedTime":{"type":"timestamp"}}}}}}},"ListOpsItemRelatedItems":{"input":{"type":"structure","members":{"OpsItemId":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values","Operator"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Operator":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"NextToken":{},"Summaries":{"type":"list","member":{"type":"structure","members":{"OpsItemId":{},"AssociationId":{},"ResourceType":{},"AssociationType":{},"ResourceUri":{},"CreatedBy":{"shape":"Sow"},"CreatedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sow"},"LastModifiedTime":{"type":"timestamp"}}}}}}},"ListOpsMetadata":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"OpsMetadataList":{"type":"list","member":{"type":"structure","members":{"ResourceId":{},"OpsMetadataArn":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedUser":{},"CreationDate":{"type":"timestamp"}}}},"NextToken":{}}}},"ListResourceComplianceSummaries":{"input":{"type":"structure","members":{"Filters":{"shape":"Smy"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ResourceComplianceSummaryItems":{"type":"list","member":{"type":"structure","members":{"ComplianceType":{},"ResourceType":{},"ResourceId":{},"Status":{},"OverallSeverity":{},"ExecutionSummary":{"shape":"Sng"},"CompliantSummary":{"shape":"Sno"},"NonCompliantSummary":{"shape":"Snr"}}}},"NextToken":{}}}},"ListResourceDataSync":{"input":{"type":"structure","members":{"SyncType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ResourceDataSyncItems":{"type":"list","member":{"type":"structure","members":{"SyncName":{},"SyncType":{},"SyncSource":{"type":"structure","members":{"SourceType":{},"AwsOrganizationsSource":{"shape":"S60"},"SourceRegions":{"shape":"S65"},"IncludeFutureRegions":{"type":"boolean"},"State":{},"EnableAllOpsDataSources":{"type":"boolean"}}},"S3Destination":{"shape":"S5p"},"LastSyncTime":{"type":"timestamp"},"LastSuccessfulSyncTime":{"type":"timestamp"},"SyncLastModifiedTime":{"type":"timestamp"},"LastStatus":{},"SyncCreatedTime":{"type":"timestamp"},"LastSyncStatusMessage":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceType","ResourceId"],"members":{"ResourceType":{},"ResourceId":{}}},"output":{"type":"structure","members":{"TagList":{"shape":"S4"}}}},"ModifyDocumentPermission":{"input":{"type":"structure","required":["Name","PermissionType"],"members":{"Name":{},"PermissionType":{},"AccountIdsToAdd":{"shape":"Sax"},"AccountIdsToRemove":{"shape":"Sax"},"SharedDocumentVersion":{}}},"output":{"type":"structure","members":{}}},"PutComplianceItems":{"input":{"type":"structure","required":["ResourceId","ResourceType","ComplianceType","ExecutionSummary","Items"],"members":{"ResourceId":{},"ResourceType":{},"ComplianceType":{},"ExecutionSummary":{"shape":"Sng"},"Items":{"type":"list","member":{"type":"structure","required":["Severity","Status"],"members":{"Id":{},"Title":{},"Severity":{},"Status":{},"Details":{"shape":"Snj"}}}},"ItemContentHash":{},"UploadType":{}}},"output":{"type":"structure","members":{}}},"PutInventory":{"input":{"type":"structure","required":["InstanceId","Items"],"members":{"InstanceId":{},"Items":{"type":"list","member":{"type":"structure","required":["TypeName","SchemaVersion","CaptureTime"],"members":{"TypeName":{},"SchemaVersion":{},"CaptureTime":{},"ContentHash":{},"Content":{"shape":"Sj0"},"Context":{"type":"map","key":{},"value":{}}}}}}},"output":{"type":"structure","members":{"Message":{}}}},"PutParameter":{"input":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Description":{},"Value":{"shape":"Sl7"},"Type":{},"KeyId":{},"Overwrite":{"type":"boolean"},"AllowedPattern":{},"Tags":{"shape":"S4"},"Tier":{},"Policies":{},"DataType":{}}},"output":{"type":"structure","members":{"Version":{"type":"long"},"Tier":{}}}},"RegisterDefaultPatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{}}},"output":{"type":"structure","members":{"BaselineId":{}}}},"RegisterPatchBaselineForPatchGroup":{"input":{"type":"structure","required":["BaselineId","PatchGroup"],"members":{"BaselineId":{},"PatchGroup":{}}},"output":{"type":"structure","members":{"BaselineId":{},"PatchGroup":{}}}},"RegisterTargetWithMaintenanceWindow":{"input":{"type":"structure","required":["WindowId","ResourceType","Targets"],"members":{"WindowId":{},"ResourceType":{},"Targets":{"shape":"S18"},"OwnerInformation":{"shape":"Scf"},"Name":{},"Description":{"shape":"S3t"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"WindowTargetId":{}}}},"RegisterTaskWithMaintenanceWindow":{"input":{"type":"structure","required":["WindowId","TaskArn","TaskType"],"members":{"WindowId":{},"Targets":{"shape":"S18"},"TaskArn":{},"ServiceRoleArn":{},"TaskType":{},"TaskParameters":{"shape":"Sel"},"TaskInvocationParameters":{"shape":"Sjr"},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"LoggingInfo":{"shape":"Ser"},"Name":{},"Description":{"shape":"S3t"},"ClientToken":{"idempotencyToken":true},"CutoffBehavior":{}}},"output":{"type":"structure","members":{"WindowTaskId":{}}}},"RemoveTagsFromResource":{"input":{"type":"structure","required":["ResourceType","ResourceId","TagKeys"],"members":{"ResourceType":{},"ResourceId":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"ResetServiceSetting":{"input":{"type":"structure","required":["SettingId"],"members":{"SettingId":{}}},"output":{"type":"structure","members":{"ServiceSetting":{"shape":"Slt"}}}},"ResumeSession":{"input":{"type":"structure","required":["SessionId"],"members":{"SessionId":{}}},"output":{"type":"structure","members":{"SessionId":{},"TokenValue":{},"StreamUrl":{}}}},"SendAutomationSignal":{"input":{"type":"structure","required":["AutomationExecutionId","SignalType"],"members":{"AutomationExecutionId":{},"SignalType":{},"Payload":{"shape":"S8w"}}},"output":{"type":"structure","members":{}}},"SendCommand":{"input":{"type":"structure","required":["DocumentName"],"members":{"InstanceIds":{"shape":"Si"},"Targets":{"shape":"S18"},"DocumentName":{},"DocumentVersion":{},"DocumentHash":{},"DocumentHashType":{},"TimeoutSeconds":{"type":"integer"},"Comment":{},"Parameters":{"shape":"S14"},"OutputS3Region":{},"OutputS3BucketName":{},"OutputS3KeyPrefix":{},"MaxConcurrency":{},"MaxErrors":{},"ServiceRoleArn":{},"NotificationConfig":{"shape":"Sjt"},"CloudWatchOutputConfig":{"shape":"Shr"}}},"output":{"type":"structure","members":{"Command":{"shape":"Smr"}}}},"StartAssociationsOnce":{"input":{"type":"structure","required":["AssociationIds"],"members":{"AssociationIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"StartAutomationExecution":{"input":{"type":"structure","required":["DocumentName"],"members":{"DocumentName":{},"DocumentVersion":{},"Parameters":{"shape":"S8w"},"ClientToken":{},"Mode":{},"TargetParameterName":{},"Targets":{"shape":"S18"},"TargetMaps":{"shape":"S91"},"MaxConcurrency":{},"MaxErrors":{},"TargetLocations":{"shape":"S1s"},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"AutomationExecutionId":{}}}},"StartChangeRequestExecution":{"input":{"type":"structure","required":["DocumentName","Runbooks"],"members":{"ScheduledTime":{"type":"timestamp"},"DocumentName":{},"DocumentVersion":{},"Parameters":{"shape":"S8w"},"ChangeRequestName":{},"ClientToken":{},"AutoApprove":{"type":"boolean"},"Runbooks":{"shape":"S9a"},"Tags":{"shape":"S4"},"ScheduledEndTime":{"type":"timestamp"},"ChangeDetails":{}}},"output":{"type":"structure","members":{"AutomationExecutionId":{}}}},"StartSession":{"input":{"type":"structure","required":["Target"],"members":{"Target":{},"DocumentName":{},"Reason":{},"Parameters":{"type":"map","key":{},"value":{"type":"list","member":{}}}}},"output":{"type":"structure","members":{"SessionId":{},"TokenValue":{},"StreamUrl":{}}}},"StopAutomationExecution":{"input":{"type":"structure","required":["AutomationExecutionId"],"members":{"AutomationExecutionId":{},"Type":{}}},"output":{"type":"structure","members":{}}},"TerminateSession":{"input":{"type":"structure","required":["SessionId"],"members":{"SessionId":{}}},"output":{"type":"structure","members":{"SessionId":{}}}},"UnlabelParameterVersion":{"input":{"type":"structure","required":["Name","ParameterVersion","Labels"],"members":{"Name":{},"ParameterVersion":{"type":"long"},"Labels":{"shape":"Sld"}}},"output":{"type":"structure","members":{"RemovedLabels":{"shape":"Sld"},"InvalidLabels":{"shape":"Sld"}}}},"UpdateAssociation":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"Parameters":{"shape":"S14"},"DocumentVersion":{},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"Name":{},"Targets":{"shape":"S18"},"AssociationName":{},"AssociationVersion":{},"AutomationTargetParameterName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}},"output":{"type":"structure","members":{"AssociationDescription":{"shape":"S20"}}}},"UpdateAssociationStatus":{"input":{"type":"structure","required":["Name","InstanceId","AssociationStatus"],"members":{"Name":{},"InstanceId":{},"AssociationStatus":{"shape":"S23"}}},"output":{"type":"structure","members":{"AssociationDescription":{"shape":"S20"}}}},"UpdateDocument":{"input":{"type":"structure","required":["Content","Name"],"members":{"Content":{},"Attachments":{"shape":"S2p"},"Name":{},"DisplayName":{},"VersionName":{},"DocumentVersion":{},"DocumentFormat":{},"TargetType":{}}},"output":{"type":"structure","members":{"DocumentDescription":{"shape":"S32"}}}},"UpdateDocumentDefaultVersion":{"input":{"type":"structure","required":["Name","DocumentVersion"],"members":{"Name":{},"DocumentVersion":{}}},"output":{"type":"structure","members":{"Description":{"type":"structure","members":{"Name":{},"DefaultVersion":{},"DefaultVersionName":{}}}}}},"UpdateDocumentMetadata":{"input":{"type":"structure","required":["Name","DocumentReviews"],"members":{"Name":{},"DocumentVersion":{},"DocumentReviews":{"type":"structure","required":["Action"],"members":{"Action":{},"Comment":{"shape":"Sny"}}}}},"output":{"type":"structure","members":{}}},"UpdateMaintenanceWindow":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{},"Name":{},"Description":{"shape":"S3t"},"StartDate":{},"EndDate":{},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"AllowUnassociatedTargets":{"type":"boolean"},"Enabled":{"type":"boolean"},"Replace":{"type":"boolean"}}},"output":{"type":"structure","members":{"WindowId":{},"Name":{},"Description":{"shape":"S3t"},"StartDate":{},"EndDate":{},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"AllowUnassociatedTargets":{"type":"boolean"},"Enabled":{"type":"boolean"}}}},"UpdateMaintenanceWindowTarget":{"input":{"type":"structure","required":["WindowId","WindowTargetId"],"members":{"WindowId":{},"WindowTargetId":{},"Targets":{"shape":"S18"},"OwnerInformation":{"shape":"Scf"},"Name":{},"Description":{"shape":"S3t"},"Replace":{"type":"boolean"}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTargetId":{},"Targets":{"shape":"S18"},"OwnerInformation":{"shape":"Scf"},"Name":{},"Description":{"shape":"S3t"}}}},"UpdateMaintenanceWindowTask":{"input":{"type":"structure","required":["WindowId","WindowTaskId"],"members":{"WindowId":{},"WindowTaskId":{},"Targets":{"shape":"S18"},"TaskArn":{},"ServiceRoleArn":{},"TaskParameters":{"shape":"Sel"},"TaskInvocationParameters":{"shape":"Sjr"},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"LoggingInfo":{"shape":"Ser"},"Name":{},"Description":{"shape":"S3t"},"Replace":{"type":"boolean"},"CutoffBehavior":{}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTaskId":{},"Targets":{"shape":"S18"},"TaskArn":{},"ServiceRoleArn":{},"TaskParameters":{"shape":"Sel"},"TaskInvocationParameters":{"shape":"Sjr"},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"LoggingInfo":{"shape":"Ser"},"Name":{},"Description":{"shape":"S3t"},"CutoffBehavior":{}}}},"UpdateManagedInstanceRole":{"input":{"type":"structure","required":["InstanceId","IamRole"],"members":{"InstanceId":{},"IamRole":{}}},"output":{"type":"structure","members":{}}},"UpdateOpsItem":{"input":{"type":"structure","required":["OpsItemId"],"members":{"Description":{},"OperationalData":{"shape":"S47"},"OperationalDataToDelete":{"type":"list","member":{}},"Notifications":{"shape":"S4c"},"Priority":{"type":"integer"},"RelatedOpsItems":{"shape":"S4g"},"Status":{},"OpsItemId":{},"Title":{},"Category":{},"Severity":{},"ActualStartTime":{"type":"timestamp"},"ActualEndTime":{"type":"timestamp"},"PlannedStartTime":{"type":"timestamp"},"PlannedEndTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{}}},"UpdateOpsMetadata":{"input":{"type":"structure","required":["OpsMetadataArn"],"members":{"OpsMetadataArn":{},"MetadataToUpdate":{"shape":"S4p"},"KeysToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"OpsMetadataArn":{}}}},"UpdatePatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{},"Name":{},"GlobalFilters":{"shape":"S4y"},"ApprovalRules":{"shape":"S54"},"ApprovedPatches":{"shape":"S5b"},"ApprovedPatchesComplianceLevel":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"RejectedPatches":{"shape":"S5b"},"RejectedPatchesAction":{},"Description":{},"Sources":{"shape":"S5f"},"Replace":{"type":"boolean"}}},"output":{"type":"structure","members":{"BaselineId":{},"Name":{},"OperatingSystem":{},"GlobalFilters":{"shape":"S4y"},"ApprovalRules":{"shape":"S54"},"ApprovedPatches":{"shape":"S5b"},"ApprovedPatchesComplianceLevel":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"RejectedPatches":{"shape":"S5b"},"RejectedPatchesAction":{},"CreatedDate":{"type":"timestamp"},"ModifiedDate":{"type":"timestamp"},"Description":{},"Sources":{"shape":"S5f"}}}},"UpdateResourceDataSync":{"input":{"type":"structure","required":["SyncName","SyncType","SyncSource"],"members":{"SyncName":{},"SyncType":{},"SyncSource":{"shape":"S5y"}}},"output":{"type":"structure","members":{}}},"UpdateServiceSetting":{"input":{"type":"structure","required":["SettingId","SettingValue"],"members":{"SettingId":{},"SettingValue":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S4":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Si":{"type":"list","member":{}},"S14":{"type":"map","key":{},"value":{"type":"list","member":{}},"sensitive":true},"S18":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"S1e":{"type":"structure","members":{"S3Location":{"type":"structure","members":{"OutputS3Region":{},"OutputS3BucketName":{},"OutputS3KeyPrefix":{}}}}},"S1q":{"type":"list","member":{}},"S1s":{"type":"list","member":{"shape":"S1t"}},"S1t":{"type":"structure","members":{"Accounts":{"type":"list","member":{}},"Regions":{"type":"list","member":{}},"TargetLocationMaxConcurrency":{},"TargetLocationMaxErrors":{},"ExecutionRoleName":{}}},"S20":{"type":"structure","members":{"Name":{},"InstanceId":{},"AssociationVersion":{},"Date":{"type":"timestamp"},"LastUpdateAssociationDate":{"type":"timestamp"},"Status":{"shape":"S23"},"Overview":{"shape":"S27"},"DocumentVersion":{},"AutomationTargetParameterName":{},"Parameters":{"shape":"S14"},"AssociationId":{},"Targets":{"shape":"S18"},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"LastExecutionDate":{"type":"timestamp"},"LastSuccessfulExecutionDate":{"type":"timestamp"},"AssociationName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}},"S23":{"type":"structure","required":["Date","Name","Message"],"members":{"Date":{"type":"timestamp"},"Name":{},"Message":{},"AdditionalInfo":{}}},"S27":{"type":"structure","members":{"Status":{},"DetailedStatus":{},"AssociationStatusAggregatedCount":{"type":"map","key":{},"value":{"type":"integer"}}}},"S2e":{"type":"structure","required":["Name"],"members":{"Name":{},"InstanceId":{},"Parameters":{"shape":"S14"},"AutomationTargetParameterName":{},"DocumentVersion":{},"Targets":{"shape":"S18"},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"AssociationName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}},"S2n":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Version":{}}}},"S2p":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}},"Name":{}}}},"S32":{"type":"structure","members":{"Sha1":{},"Hash":{},"HashType":{},"Name":{},"DisplayName":{},"VersionName":{},"Owner":{},"CreatedDate":{"type":"timestamp"},"Status":{},"StatusInformation":{},"DocumentVersion":{},"Description":{},"Parameters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"Description":{},"DefaultValue":{}}}},"PlatformTypes":{"shape":"S3g"},"DocumentType":{},"SchemaVersion":{},"LatestVersion":{},"DefaultVersion":{},"DocumentFormat":{},"TargetType":{},"Tags":{"shape":"S4"},"AttachmentsInformation":{"type":"list","member":{"type":"structure","members":{"Name":{}}}},"Requires":{"shape":"S2n"},"Author":{},"ReviewInformation":{"type":"list","member":{"type":"structure","members":{"ReviewedTime":{"type":"timestamp"},"Status":{},"Reviewer":{}}}},"ApprovedVersion":{},"PendingReviewVersion":{},"ReviewStatus":{}}},"S3g":{"type":"list","member":{}},"S3t":{"type":"string","sensitive":true},"S47":{"type":"map","key":{},"value":{"type":"structure","members":{"Value":{},"Type":{}}}},"S4c":{"type":"list","member":{"type":"structure","members":{"Arn":{}}}},"S4g":{"type":"list","member":{"type":"structure","required":["OpsItemId"],"members":{"OpsItemId":{}}}},"S4p":{"type":"map","key":{},"value":{"type":"structure","members":{"Value":{}}}},"S4y":{"type":"structure","required":["PatchFilters"],"members":{"PatchFilters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}}}},"S54":{"type":"structure","required":["PatchRules"],"members":{"PatchRules":{"type":"list","member":{"type":"structure","required":["PatchFilterGroup"],"members":{"PatchFilterGroup":{"shape":"S4y"},"ComplianceLevel":{},"ApproveAfterDays":{"type":"integer"},"ApproveUntilDate":{},"EnableNonSecurity":{"type":"boolean"}}}}}},"S5b":{"type":"list","member":{}},"S5f":{"type":"list","member":{"type":"structure","required":["Name","Products","Configuration"],"members":{"Name":{},"Products":{"type":"list","member":{}},"Configuration":{"type":"string","sensitive":true}}}},"S5p":{"type":"structure","required":["BucketName","SyncFormat","Region"],"members":{"BucketName":{},"Prefix":{},"SyncFormat":{},"Region":{},"AWSKMSKeyARN":{},"DestinationDataSharing":{"type":"structure","members":{"DestinationDataSharingType":{}}}}},"S5y":{"type":"structure","required":["SourceType","SourceRegions"],"members":{"SourceType":{},"AwsOrganizationsSource":{"shape":"S60"},"SourceRegions":{"shape":"S65"},"IncludeFutureRegions":{"type":"boolean"},"EnableAllOpsDataSources":{"type":"boolean"}}},"S60":{"type":"structure","required":["OrganizationSourceType"],"members":{"OrganizationSourceType":{},"OrganizationalUnits":{"type":"list","member":{"type":"structure","members":{"OrganizationalUnitId":{}}}}}},"S65":{"type":"list","member":{}},"S6m":{"type":"structure","members":{"TotalCount":{"type":"integer"},"RemainingCount":{"type":"integer"},"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Version":{},"Count":{"type":"integer"},"RemainingCount":{"type":"integer"}}}}}},"S71":{"type":"list","member":{}},"S8w":{"type":"map","key":{},"value":{"type":"list","member":{}}},"S91":{"type":"list","member":{"type":"map","key":{},"value":{"type":"list","member":{}}}},"S96":{"type":"structure","members":{"ParameterValues":{"type":"list","member":{}},"Truncated":{"type":"boolean"}}},"S9a":{"type":"list","member":{"type":"structure","required":["DocumentName"],"members":{"DocumentName":{},"DocumentVersion":{},"Parameters":{"shape":"S8w"},"TargetParameterName":{},"Targets":{"shape":"S18"},"MaxConcurrency":{},"MaxErrors":{},"TargetLocations":{"shape":"S1s"}}}},"S9k":{"type":"list","member":{"type":"structure","members":{"StepName":{},"Action":{},"TimeoutSeconds":{"type":"long"},"OnFailure":{},"MaxAttempts":{"type":"integer"},"ExecutionStartTime":{"type":"timestamp"},"ExecutionEndTime":{"type":"timestamp"},"StepStatus":{},"ResponseCode":{},"Inputs":{"type":"map","key":{},"value":{}},"Outputs":{"shape":"S8w"},"Response":{},"FailureMessage":{},"FailureDetails":{"type":"structure","members":{"FailureStage":{},"FailureType":{},"Details":{"shape":"S8w"}}},"StepExecutionId":{},"OverriddenParameters":{"shape":"S8w"},"IsEnd":{"type":"boolean"},"NextStep":{},"IsCritical":{"type":"boolean"},"ValidNextSteps":{"type":"list","member":{}},"Targets":{"shape":"S18"},"TargetLocation":{"shape":"S1t"}}}},"S9u":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"Sa2":{"type":"structure","members":{"Id":{},"ReleaseDate":{"type":"timestamp"},"Title":{},"Description":{},"ContentUrl":{},"Vendor":{},"ProductFamily":{},"Product":{},"Classification":{},"MsrcSeverity":{},"KbNumber":{},"MsrcNumber":{},"Language":{},"AdvisoryIds":{"type":"list","member":{}},"BugzillaIds":{"type":"list","member":{}},"CVEIds":{"type":"list","member":{}},"Name":{},"Epoch":{"type":"integer"},"Version":{},"Release":{},"Arch":{},"Severity":{},"Repository":{}}},"Sax":{"type":"list","member":{}},"Sbq":{"type":"list","member":{}},"Scc":{"type":"structure","required":["InstanceId","PatchGroup","BaselineId","OperationStartTime","OperationEndTime","Operation"],"members":{"InstanceId":{},"PatchGroup":{},"BaselineId":{},"SnapshotId":{},"InstallOverrideList":{},"OwnerInformation":{"shape":"Scf"},"InstalledCount":{"type":"integer"},"InstalledOtherCount":{"type":"integer"},"InstalledPendingRebootCount":{"type":"integer"},"InstalledRejectedCount":{"type":"integer"},"MissingCount":{"type":"integer"},"FailedCount":{"type":"integer"},"UnreportedNotApplicableCount":{"type":"integer"},"NotApplicableCount":{"type":"integer"},"OperationStartTime":{"type":"timestamp"},"OperationEndTime":{"type":"timestamp"},"Operation":{},"LastNoRebootInstallOperationTime":{"type":"timestamp"},"RebootOption":{},"CriticalNonCompliantCount":{"type":"integer"},"SecurityNonCompliantCount":{"type":"integer"},"OtherNonCompliantCount":{"type":"integer"}}},"Scf":{"type":"string","sensitive":true},"Sdi":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"Sdu":{"type":"string","sensitive":true},"Sel":{"type":"map","key":{},"value":{"type":"structure","members":{"Values":{"type":"list","member":{"type":"string","sensitive":true},"sensitive":true}},"sensitive":true},"sensitive":true},"Ser":{"type":"structure","required":["S3BucketName","S3Region"],"members":{"S3BucketName":{},"S3KeyPrefix":{},"S3Region":{}}},"Sfl":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Option":{},"Values":{"type":"list","member":{}}}}},"Sg0":{"type":"list","member":{"type":"structure","members":{"PolicyText":{},"PolicyType":{},"PolicyStatus":{}}}},"Sg6":{"type":"structure","members":{"BaselineId":{},"BaselineName":{},"OperatingSystem":{},"BaselineDescription":{},"DefaultBaseline":{"type":"boolean"}}},"Shr":{"type":"structure","members":{"CloudWatchLogGroupName":{},"CloudWatchOutputEnabled":{"type":"boolean"}}},"Sid":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Type":{}}}},"Sij":{"type":"list","member":{"type":"structure","members":{"Expression":{},"Aggregators":{"shape":"Sij"},"Groups":{"type":"list","member":{"type":"structure","required":["Name","Filters"],"members":{"Name":{},"Filters":{"shape":"Sid"}}}}}}},"Sj0":{"type":"list","member":{"type":"map","key":{},"value":{}}},"Sjr":{"type":"structure","members":{"RunCommand":{"type":"structure","members":{"Comment":{},"CloudWatchOutputConfig":{"shape":"Shr"},"DocumentHash":{},"DocumentHashType":{},"DocumentVersion":{},"NotificationConfig":{"shape":"Sjt"},"OutputS3BucketName":{},"OutputS3KeyPrefix":{},"Parameters":{"shape":"S14"},"ServiceRoleArn":{},"TimeoutSeconds":{"type":"integer"}}},"Automation":{"type":"structure","members":{"DocumentVersion":{},"Parameters":{"shape":"S8w"}}},"StepFunctions":{"type":"structure","members":{"Input":{"type":"string","sensitive":true},"Name":{}}},"Lambda":{"type":"structure","members":{"ClientContext":{},"Qualifier":{},"Payload":{"type":"blob","sensitive":true}}}}},"Sjt":{"type":"structure","members":{"NotificationArn":{},"NotificationEvents":{"type":"list","member":{}},"NotificationType":{}}},"Ske":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Type":{}}}},"Skk":{"type":"list","member":{"type":"structure","members":{"AggregatorType":{},"TypeName":{},"AttributeName":{},"Values":{"type":"map","key":{},"value":{}},"Filters":{"shape":"Ske"},"Aggregators":{"shape":"Skk"}}}},"Sl6":{"type":"structure","members":{"Name":{},"Type":{},"Value":{"shape":"Sl7"},"Version":{"type":"long"},"Selector":{},"SourceResult":{},"LastModifiedDate":{"type":"timestamp"},"ARN":{},"DataType":{}}},"Sl7":{"type":"string","sensitive":true},"Sld":{"type":"list","member":{}},"Slh":{"type":"list","member":{"shape":"Sl6"}},"Slt":{"type":"structure","members":{"SettingId":{},"SettingValue":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedUser":{},"ARN":{},"Status":{}}},"Smb":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Smr":{"type":"structure","members":{"CommandId":{},"DocumentName":{},"DocumentVersion":{},"Comment":{},"ExpiresAfter":{"type":"timestamp"},"Parameters":{"shape":"S14"},"InstanceIds":{"shape":"Si"},"Targets":{"shape":"S18"},"RequestedDateTime":{"type":"timestamp"},"Status":{},"StatusDetails":{},"OutputS3Region":{},"OutputS3BucketName":{},"OutputS3KeyPrefix":{},"MaxConcurrency":{},"MaxErrors":{},"TargetCount":{"type":"integer"},"CompletedCount":{"type":"integer"},"ErrorCount":{"type":"integer"},"DeliveryTimedOutCount":{"type":"integer"},"ServiceRole":{},"NotificationConfig":{"shape":"Sjt"},"CloudWatchOutputConfig":{"shape":"Shr"},"TimeoutSeconds":{"type":"integer"}}},"Smy":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}},"Type":{}}}},"Sng":{"type":"structure","required":["ExecutionTime"],"members":{"ExecutionTime":{"type":"timestamp"},"ExecutionId":{},"ExecutionType":{}}},"Snj":{"type":"map","key":{},"value":{}},"Sno":{"type":"structure","members":{"CompliantCount":{"type":"integer"},"SeveritySummary":{"shape":"Snq"}}},"Snq":{"type":"structure","members":{"CriticalCount":{"type":"integer"},"HighCount":{"type":"integer"},"MediumCount":{"type":"integer"},"LowCount":{"type":"integer"},"InformationalCount":{"type":"integer"},"UnspecifiedCount":{"type":"integer"}}},"Snr":{"type":"structure","members":{"NonCompliantCount":{"type":"integer"},"SeveritySummary":{"shape":"Snq"}}},"Sny":{"type":"list","member":{"type":"structure","members":{"Type":{},"Content":{}}}},"Sow":{"type":"structure","members":{"Arn":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2014-11-06","endpointPrefix":"ssm","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"Amazon SSM","serviceFullName":"Amazon Simple Systems Manager (SSM)","serviceId":"SSM","signatureVersion":"v4","targetPrefix":"AmazonSSM","uid":"ssm-2014-11-06"},"operations":{"AddTagsToResource":{"input":{"type":"structure","required":["ResourceType","ResourceId","Tags"],"members":{"ResourceType":{},"ResourceId":{},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{}}},"AssociateOpsItemRelatedItem":{"input":{"type":"structure","required":["OpsItemId","AssociationType","ResourceType","ResourceUri"],"members":{"OpsItemId":{},"AssociationType":{},"ResourceType":{},"ResourceUri":{}}},"output":{"type":"structure","members":{"AssociationId":{}}}},"CancelCommand":{"input":{"type":"structure","required":["CommandId"],"members":{"CommandId":{},"InstanceIds":{"shape":"Si"}}},"output":{"type":"structure","members":{}}},"CancelMaintenanceWindowExecution":{"input":{"type":"structure","required":["WindowExecutionId"],"members":{"WindowExecutionId":{}}},"output":{"type":"structure","members":{"WindowExecutionId":{}}}},"CreateActivation":{"input":{"type":"structure","required":["IamRole"],"members":{"Description":{},"DefaultInstanceName":{},"IamRole":{},"RegistrationLimit":{"type":"integer"},"ExpirationDate":{"type":"timestamp"},"Tags":{"shape":"S4"},"RegistrationMetadata":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}}},"output":{"type":"structure","members":{"ActivationId":{},"ActivationCode":{}}}},"CreateAssociation":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"DocumentVersion":{},"InstanceId":{},"Parameters":{"shape":"S14"},"Targets":{"shape":"S18"},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"AssociationName":{},"AutomationTargetParameterName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}},"output":{"type":"structure","members":{"AssociationDescription":{"shape":"S20"}}}},"CreateAssociationBatch":{"input":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"shape":"S2e"}}}},"output":{"type":"structure","members":{"Successful":{"type":"list","member":{"shape":"S20"}},"Failed":{"type":"list","member":{"type":"structure","members":{"Entry":{"shape":"S2e"},"Message":{},"Fault":{}}}}}}},"CreateDocument":{"input":{"type":"structure","required":["Content","Name"],"members":{"Content":{},"Requires":{"shape":"S2n"},"Attachments":{"shape":"S2p"},"Name":{},"DisplayName":{},"VersionName":{},"DocumentType":{},"DocumentFormat":{},"TargetType":{},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"DocumentDescription":{"shape":"S32"}}}},"CreateMaintenanceWindow":{"input":{"type":"structure","required":["Name","Schedule","Duration","Cutoff","AllowUnassociatedTargets"],"members":{"Name":{},"Description":{"shape":"S3w"},"StartDate":{},"EndDate":{},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"AllowUnassociatedTargets":{"type":"boolean"},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"WindowId":{}}}},"CreateOpsItem":{"input":{"type":"structure","required":["Description","Source","Title"],"members":{"Description":{},"OpsItemType":{},"OperationalData":{"shape":"S4a"},"Notifications":{"shape":"S4f"},"Priority":{"type":"integer"},"RelatedOpsItems":{"shape":"S4j"},"Source":{},"Title":{},"Tags":{"shape":"S4"},"Category":{},"Severity":{},"ActualStartTime":{"type":"timestamp"},"ActualEndTime":{"type":"timestamp"},"PlannedStartTime":{"type":"timestamp"},"PlannedEndTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"OpsItemId":{}}}},"CreateOpsMetadata":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"Metadata":{"shape":"S4s"},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"OpsMetadataArn":{}}}},"CreatePatchBaseline":{"input":{"type":"structure","required":["Name"],"members":{"OperatingSystem":{},"Name":{},"GlobalFilters":{"shape":"S51"},"ApprovalRules":{"shape":"S57"},"ApprovedPatches":{"shape":"S5e"},"ApprovedPatchesComplianceLevel":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"RejectedPatches":{"shape":"S5e"},"RejectedPatchesAction":{},"Description":{},"Sources":{"shape":"S5i"},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"BaselineId":{}}}},"CreateResourceDataSync":{"input":{"type":"structure","required":["SyncName"],"members":{"SyncName":{},"S3Destination":{"shape":"S5s"},"SyncType":{},"SyncSource":{"shape":"S61"}}},"output":{"type":"structure","members":{}}},"DeleteActivation":{"input":{"type":"structure","required":["ActivationId"],"members":{"ActivationId":{}}},"output":{"type":"structure","members":{}}},"DeleteAssociation":{"input":{"type":"structure","members":{"Name":{},"InstanceId":{},"AssociationId":{}}},"output":{"type":"structure","members":{}}},"DeleteDocument":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"DocumentVersion":{},"VersionName":{},"Force":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeleteInventory":{"input":{"type":"structure","required":["TypeName"],"members":{"TypeName":{},"SchemaDeleteOption":{},"DryRun":{"type":"boolean"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"DeletionId":{},"TypeName":{},"DeletionSummary":{"shape":"S6p"}}}},"DeleteMaintenanceWindow":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{}}},"output":{"type":"structure","members":{"WindowId":{}}}},"DeleteOpsMetadata":{"input":{"type":"structure","required":["OpsMetadataArn"],"members":{"OpsMetadataArn":{}}},"output":{"type":"structure","members":{}}},"DeleteParameter":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteParameters":{"input":{"type":"structure","required":["Names"],"members":{"Names":{"shape":"S74"}}},"output":{"type":"structure","members":{"DeletedParameters":{"shape":"S74"},"InvalidParameters":{"shape":"S74"}}}},"DeletePatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{}}},"output":{"type":"structure","members":{"BaselineId":{}}}},"DeleteResourceDataSync":{"input":{"type":"structure","required":["SyncName"],"members":{"SyncName":{},"SyncType":{}}},"output":{"type":"structure","members":{}}},"DeregisterManagedInstance":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{}}},"output":{"type":"structure","members":{}}},"DeregisterPatchBaselineForPatchGroup":{"input":{"type":"structure","required":["BaselineId","PatchGroup"],"members":{"BaselineId":{},"PatchGroup":{}}},"output":{"type":"structure","members":{"BaselineId":{},"PatchGroup":{}}}},"DeregisterTargetFromMaintenanceWindow":{"input":{"type":"structure","required":["WindowId","WindowTargetId"],"members":{"WindowId":{},"WindowTargetId":{},"Safe":{"type":"boolean"}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTargetId":{}}}},"DeregisterTaskFromMaintenanceWindow":{"input":{"type":"structure","required":["WindowId","WindowTaskId"],"members":{"WindowId":{},"WindowTaskId":{}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTaskId":{}}}},"DescribeActivations":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"FilterKey":{},"FilterValues":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ActivationList":{"type":"list","member":{"type":"structure","members":{"ActivationId":{},"Description":{},"DefaultInstanceName":{},"IamRole":{},"RegistrationLimit":{"type":"integer"},"RegistrationsCount":{"type":"integer"},"ExpirationDate":{"type":"timestamp"},"Expired":{"type":"boolean"},"CreatedDate":{"type":"timestamp"},"Tags":{"shape":"S4"}}}},"NextToken":{}}}},"DescribeAssociation":{"input":{"type":"structure","members":{"Name":{},"InstanceId":{},"AssociationId":{},"AssociationVersion":{}}},"output":{"type":"structure","members":{"AssociationDescription":{"shape":"S20"}}}},"DescribeAssociationExecutionTargets":{"input":{"type":"structure","required":["AssociationId","ExecutionId"],"members":{"AssociationId":{},"ExecutionId":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AssociationExecutionTargets":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"AssociationVersion":{},"ExecutionId":{},"ResourceId":{},"ResourceType":{},"Status":{},"DetailedStatus":{},"LastExecutionDate":{"type":"timestamp"},"OutputSource":{"type":"structure","members":{"OutputSourceId":{},"OutputSourceType":{}}}}}},"NextToken":{}}}},"DescribeAssociationExecutions":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Value","Type"],"members":{"Key":{},"Value":{},"Type":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AssociationExecutions":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"AssociationVersion":{},"ExecutionId":{},"Status":{},"DetailedStatus":{},"CreatedTime":{"type":"timestamp"},"LastExecutionDate":{"type":"timestamp"},"ResourceCountByStatus":{}}}},"NextToken":{}}}},"DescribeAutomationExecutions":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AutomationExecutionMetadataList":{"type":"list","member":{"type":"structure","members":{"AutomationExecutionId":{},"DocumentName":{},"DocumentVersion":{},"AutomationExecutionStatus":{},"ExecutionStartTime":{"type":"timestamp"},"ExecutionEndTime":{"type":"timestamp"},"ExecutedBy":{},"LogFile":{},"Outputs":{"shape":"S8z"},"Mode":{},"ParentAutomationExecutionId":{},"CurrentStepName":{},"CurrentAction":{},"FailureMessage":{},"TargetParameterName":{},"Targets":{"shape":"S18"},"TargetMaps":{"shape":"S94"},"ResolvedTargets":{"shape":"S99"},"MaxConcurrency":{},"MaxErrors":{},"Target":{},"AutomationType":{},"AutomationSubtype":{},"ScheduledTime":{"type":"timestamp"},"Runbooks":{"shape":"S9d"},"OpsItemId":{},"AssociationId":{},"ChangeRequestName":{}}}},"NextToken":{}}}},"DescribeAutomationStepExecutions":{"input":{"type":"structure","required":["AutomationExecutionId"],"members":{"AutomationExecutionId":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}},"NextToken":{},"MaxResults":{"type":"integer"},"ReverseOrder":{"type":"boolean"}}},"output":{"type":"structure","members":{"StepExecutions":{"shape":"S9n"},"NextToken":{}}}},"DescribeAvailablePatches":{"input":{"type":"structure","members":{"Filters":{"shape":"S9x"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Patches":{"type":"list","member":{"shape":"Sa5"}},"NextToken":{}}}},"DescribeDocument":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"DocumentVersion":{},"VersionName":{}}},"output":{"type":"structure","members":{"Document":{"shape":"S32"}}}},"DescribeDocumentPermission":{"input":{"type":"structure","required":["Name","PermissionType"],"members":{"Name":{},"PermissionType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AccountIds":{"shape":"Sb0"},"AccountSharingInfoList":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"SharedDocumentVersion":{}}}},"NextToken":{}}}},"DescribeEffectiveInstanceAssociations":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"InstanceId":{},"Content":{},"AssociationVersion":{}}}},"NextToken":{}}}},"DescribeEffectivePatchesForPatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"EffectivePatches":{"type":"list","member":{"type":"structure","members":{"Patch":{"shape":"Sa5"},"PatchStatus":{"type":"structure","members":{"DeploymentStatus":{},"ComplianceLevel":{},"ApprovalDate":{"type":"timestamp"}}}}}},"NextToken":{}}}},"DescribeInstanceAssociationsStatus":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceAssociationStatusInfos":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"Name":{},"DocumentVersion":{},"AssociationVersion":{},"InstanceId":{},"ExecutionDate":{"type":"timestamp"},"Status":{},"DetailedStatus":{},"ExecutionSummary":{},"ErrorCode":{},"OutputUrl":{"type":"structure","members":{"S3OutputUrl":{"type":"structure","members":{"OutputUrl":{}}}}},"AssociationName":{}}}},"NextToken":{}}}},"DescribeInstanceInformation":{"input":{"type":"structure","members":{"InstanceInformationFilterList":{"type":"list","member":{"type":"structure","required":["key","valueSet"],"members":{"key":{},"valueSet":{"shape":"Sbt"}}}},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"shape":"Sbt"}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InstanceInformationList":{"type":"list","member":{"type":"structure","members":{"InstanceId":{},"PingStatus":{},"LastPingDateTime":{"type":"timestamp"},"AgentVersion":{},"IsLatestVersion":{"type":"boolean"},"PlatformType":{},"PlatformName":{},"PlatformVersion":{},"ActivationId":{},"IamRole":{},"RegistrationDate":{"type":"timestamp"},"ResourceType":{},"Name":{},"IPAddress":{},"ComputerName":{},"AssociationStatus":{},"LastAssociationExecutionDate":{"type":"timestamp"},"LastSuccessfulAssociationExecutionDate":{"type":"timestamp"},"AssociationOverview":{"type":"structure","members":{"DetailedStatus":{},"InstanceAssociationStatusAggregatedCount":{"type":"map","key":{},"value":{"type":"integer"}}}},"SourceId":{},"SourceType":{}}}},"NextToken":{}}}},"DescribeInstancePatchStates":{"input":{"type":"structure","required":["InstanceIds"],"members":{"InstanceIds":{"shape":"Si"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InstancePatchStates":{"type":"list","member":{"shape":"Scf"}},"NextToken":{}}}},"DescribeInstancePatchStatesForPatchGroup":{"input":{"type":"structure","required":["PatchGroup"],"members":{"PatchGroup":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values","Type"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Type":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InstancePatchStates":{"type":"list","member":{"shape":"Scf"}},"NextToken":{}}}},"DescribeInstancePatches":{"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{},"Filters":{"shape":"S9x"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Patches":{"type":"list","member":{"type":"structure","required":["Title","KBId","Classification","Severity","State","InstalledTime"],"members":{"Title":{},"KBId":{},"Classification":{},"Severity":{},"State":{},"InstalledTime":{"type":"timestamp"},"CVEIds":{}}}},"NextToken":{}}}},"DescribeInventoryDeletions":{"input":{"type":"structure","members":{"DeletionId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"InventoryDeletions":{"type":"list","member":{"type":"structure","members":{"DeletionId":{},"TypeName":{},"DeletionStartTime":{"type":"timestamp"},"LastStatus":{},"LastStatusMessage":{},"DeletionSummary":{"shape":"S6p"},"LastStatusUpdateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeMaintenanceWindowExecutionTaskInvocations":{"input":{"type":"structure","required":["WindowExecutionId","TaskId"],"members":{"WindowExecutionId":{},"TaskId":{},"Filters":{"shape":"Sdl"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowExecutionTaskInvocationIdentities":{"type":"list","member":{"type":"structure","members":{"WindowExecutionId":{},"TaskExecutionId":{},"InvocationId":{},"ExecutionId":{},"TaskType":{},"Parameters":{"shape":"Sdx"},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"OwnerInformation":{"shape":"Sci"},"WindowTargetId":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindowExecutionTasks":{"input":{"type":"structure","required":["WindowExecutionId"],"members":{"WindowExecutionId":{},"Filters":{"shape":"Sdl"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowExecutionTaskIdentities":{"type":"list","member":{"type":"structure","members":{"WindowExecutionId":{},"TaskExecutionId":{},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"TaskArn":{},"TaskType":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindowExecutions":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{},"Filters":{"shape":"Sdl"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowExecutions":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"WindowExecutionId":{},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeMaintenanceWindowSchedule":{"input":{"type":"structure","members":{"WindowId":{},"Targets":{"shape":"S18"},"ResourceType":{},"Filters":{"shape":"S9x"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ScheduledWindowExecutions":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"Name":{},"ExecutionTime":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindowTargets":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{},"Filters":{"shape":"Sdl"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Targets":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"WindowTargetId":{},"ResourceType":{},"Targets":{"shape":"S18"},"OwnerInformation":{"shape":"Sci"},"Name":{},"Description":{"shape":"S3w"}}}},"NextToken":{}}}},"DescribeMaintenanceWindowTasks":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{},"Filters":{"shape":"Sdl"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Tasks":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"WindowTaskId":{},"TaskArn":{},"Type":{},"Targets":{"shape":"S18"},"TaskParameters":{"shape":"Seo"},"Priority":{"type":"integer"},"LoggingInfo":{"shape":"Seu"},"ServiceRoleArn":{},"MaxConcurrency":{},"MaxErrors":{},"Name":{},"Description":{"shape":"S3w"},"CutoffBehavior":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindows":{"input":{"type":"structure","members":{"Filters":{"shape":"Sdl"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowIdentities":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"Name":{},"Description":{"shape":"S3w"},"Enabled":{"type":"boolean"},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"EndDate":{},"StartDate":{},"NextExecutionTime":{}}}},"NextToken":{}}}},"DescribeMaintenanceWindowsForTarget":{"input":{"type":"structure","required":["Targets","ResourceType"],"members":{"Targets":{"shape":"S18"},"ResourceType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WindowIdentities":{"type":"list","member":{"type":"structure","members":{"WindowId":{},"Name":{}}}},"NextToken":{}}}},"DescribeOpsItems":{"input":{"type":"structure","members":{"OpsItemFilters":{"type":"list","member":{"type":"structure","required":["Key","Values","Operator"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Operator":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"NextToken":{},"OpsItemSummaries":{"type":"list","member":{"type":"structure","members":{"CreatedBy":{},"CreatedTime":{"type":"timestamp"},"LastModifiedBy":{},"LastModifiedTime":{"type":"timestamp"},"Priority":{"type":"integer"},"Source":{},"Status":{},"OpsItemId":{},"Title":{},"OperationalData":{"shape":"S4a"},"Category":{},"Severity":{},"OpsItemType":{},"ActualStartTime":{"type":"timestamp"},"ActualEndTime":{"type":"timestamp"},"PlannedStartTime":{"type":"timestamp"},"PlannedEndTime":{"type":"timestamp"}}}}}}},"DescribeParameters":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}},"ParameterFilters":{"shape":"Sfo"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Parameters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"KeyId":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedUser":{},"Description":{},"AllowedPattern":{},"Version":{"type":"long"},"Tier":{},"Policies":{"shape":"Sg3"},"DataType":{}}}},"NextToken":{}}}},"DescribePatchBaselines":{"input":{"type":"structure","members":{"Filters":{"shape":"S9x"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BaselineIdentities":{"type":"list","member":{"shape":"Sg9"}},"NextToken":{}}}},"DescribePatchGroupState":{"input":{"type":"structure","required":["PatchGroup"],"members":{"PatchGroup":{}}},"output":{"type":"structure","members":{"Instances":{"type":"integer"},"InstancesWithInstalledPatches":{"type":"integer"},"InstancesWithInstalledOtherPatches":{"type":"integer"},"InstancesWithInstalledPendingRebootPatches":{"type":"integer"},"InstancesWithInstalledRejectedPatches":{"type":"integer"},"InstancesWithMissingPatches":{"type":"integer"},"InstancesWithFailedPatches":{"type":"integer"},"InstancesWithNotApplicablePatches":{"type":"integer"},"InstancesWithUnreportedNotApplicablePatches":{"type":"integer"},"InstancesWithCriticalNonCompliantPatches":{"type":"integer"},"InstancesWithSecurityNonCompliantPatches":{"type":"integer"},"InstancesWithOtherNonCompliantPatches":{"type":"integer"}}}},"DescribePatchGroups":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"Filters":{"shape":"S9x"},"NextToken":{}}},"output":{"type":"structure","members":{"Mappings":{"type":"list","member":{"type":"structure","members":{"PatchGroup":{},"BaselineIdentity":{"shape":"Sg9"}}}},"NextToken":{}}}},"DescribePatchProperties":{"input":{"type":"structure","required":["OperatingSystem","Property"],"members":{"OperatingSystem":{},"Property":{},"PatchSet":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Properties":{"type":"list","member":{"type":"map","key":{},"value":{}}},"NextToken":{}}}},"DescribeSessions":{"input":{"type":"structure","required":["State"],"members":{"State":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}}}},"output":{"type":"structure","members":{"Sessions":{"type":"list","member":{"type":"structure","members":{"SessionId":{},"Target":{},"Status":{},"StartDate":{"type":"timestamp"},"EndDate":{"type":"timestamp"},"DocumentName":{},"Owner":{},"Reason":{},"Details":{},"OutputUrl":{"type":"structure","members":{"S3OutputUrl":{},"CloudWatchOutputUrl":{}}},"MaxSessionDuration":{}}}},"NextToken":{}}}},"DisassociateOpsItemRelatedItem":{"input":{"type":"structure","required":["OpsItemId","AssociationId"],"members":{"OpsItemId":{},"AssociationId":{}}},"output":{"type":"structure","members":{}}},"GetAutomationExecution":{"input":{"type":"structure","required":["AutomationExecutionId"],"members":{"AutomationExecutionId":{}}},"output":{"type":"structure","members":{"AutomationExecution":{"type":"structure","members":{"AutomationExecutionId":{},"DocumentName":{},"DocumentVersion":{},"ExecutionStartTime":{"type":"timestamp"},"ExecutionEndTime":{"type":"timestamp"},"AutomationExecutionStatus":{},"StepExecutions":{"shape":"S9n"},"StepExecutionsTruncated":{"type":"boolean"},"Parameters":{"shape":"S8z"},"Outputs":{"shape":"S8z"},"FailureMessage":{},"Mode":{},"ParentAutomationExecutionId":{},"ExecutedBy":{},"CurrentStepName":{},"CurrentAction":{},"TargetParameterName":{},"Targets":{"shape":"S18"},"TargetMaps":{"shape":"S94"},"ResolvedTargets":{"shape":"S99"},"MaxConcurrency":{},"MaxErrors":{},"Target":{},"TargetLocations":{"shape":"S1s"},"ProgressCounters":{"type":"structure","members":{"TotalSteps":{"type":"integer"},"SuccessSteps":{"type":"integer"},"FailedSteps":{"type":"integer"},"CancelledSteps":{"type":"integer"},"TimedOutSteps":{"type":"integer"}}},"AutomationSubtype":{},"ScheduledTime":{"type":"timestamp"},"Runbooks":{"shape":"S9d"},"OpsItemId":{},"AssociationId":{},"ChangeRequestName":{}}}}}},"GetCalendarState":{"input":{"type":"structure","required":["CalendarNames"],"members":{"CalendarNames":{"shape":"S1q"},"AtTime":{}}},"output":{"type":"structure","members":{"State":{},"AtTime":{},"NextTransitionTime":{}}}},"GetCommandInvocation":{"input":{"type":"structure","required":["CommandId","InstanceId"],"members":{"CommandId":{},"InstanceId":{},"PluginName":{}}},"output":{"type":"structure","members":{"CommandId":{},"InstanceId":{},"Comment":{},"DocumentName":{},"DocumentVersion":{},"PluginName":{},"ResponseCode":{"type":"integer"},"ExecutionStartDateTime":{},"ExecutionElapsedTime":{},"ExecutionEndDateTime":{},"Status":{},"StatusDetails":{},"StandardOutputContent":{},"StandardOutputUrl":{},"StandardErrorContent":{},"StandardErrorUrl":{},"CloudWatchOutputConfig":{"shape":"Shu"}}}},"GetConnectionStatus":{"input":{"type":"structure","required":["Target"],"members":{"Target":{}}},"output":{"type":"structure","members":{"Target":{},"Status":{}}}},"GetDefaultPatchBaseline":{"input":{"type":"structure","members":{"OperatingSystem":{}}},"output":{"type":"structure","members":{"BaselineId":{},"OperatingSystem":{}}}},"GetDeployablePatchSnapshotForInstance":{"input":{"type":"structure","required":["InstanceId","SnapshotId"],"members":{"InstanceId":{},"SnapshotId":{},"BaselineOverride":{"type":"structure","members":{"OperatingSystem":{},"GlobalFilters":{"shape":"S51"},"ApprovalRules":{"shape":"S57"},"ApprovedPatches":{"shape":"S5e"},"ApprovedPatchesComplianceLevel":{},"RejectedPatches":{"shape":"S5e"},"RejectedPatchesAction":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"Sources":{"shape":"S5i"}}}}},"output":{"type":"structure","members":{"InstanceId":{},"SnapshotId":{},"SnapshotDownloadUrl":{},"Product":{}}}},"GetDocument":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"VersionName":{},"DocumentVersion":{},"DocumentFormat":{}}},"output":{"type":"structure","members":{"Name":{},"CreatedDate":{"type":"timestamp"},"DisplayName":{},"VersionName":{},"DocumentVersion":{},"Status":{},"StatusInformation":{},"Content":{},"DocumentType":{},"DocumentFormat":{},"Requires":{"shape":"S2n"},"AttachmentsContent":{"type":"list","member":{"type":"structure","members":{"Name":{},"Size":{"type":"long"},"Hash":{},"HashType":{},"Url":{}}}},"ReviewStatus":{}}}},"GetInventory":{"input":{"type":"structure","members":{"Filters":{"shape":"Sig"},"Aggregators":{"shape":"Sim"},"ResultAttributes":{"type":"list","member":{"type":"structure","required":["TypeName"],"members":{"TypeName":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Entities":{"type":"list","member":{"type":"structure","members":{"Id":{},"Data":{"type":"map","key":{},"value":{"type":"structure","required":["TypeName","SchemaVersion","Content"],"members":{"TypeName":{},"SchemaVersion":{},"CaptureTime":{},"ContentHash":{},"Content":{"shape":"Sj3"}}}}}}},"NextToken":{}}}},"GetInventorySchema":{"input":{"type":"structure","members":{"TypeName":{},"NextToken":{},"MaxResults":{"type":"integer"},"Aggregator":{"type":"boolean"},"SubType":{"type":"boolean"}}},"output":{"type":"structure","members":{"Schemas":{"type":"list","member":{"type":"structure","required":["TypeName","Attributes"],"members":{"TypeName":{},"Version":{},"Attributes":{"type":"list","member":{"type":"structure","required":["Name","DataType"],"members":{"Name":{},"DataType":{}}}},"DisplayName":{}}}},"NextToken":{}}}},"GetMaintenanceWindow":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{}}},"output":{"type":"structure","members":{"WindowId":{},"Name":{},"Description":{"shape":"S3w"},"StartDate":{},"EndDate":{},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"NextExecutionTime":{},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"AllowUnassociatedTargets":{"type":"boolean"},"Enabled":{"type":"boolean"},"CreatedDate":{"type":"timestamp"},"ModifiedDate":{"type":"timestamp"}}}},"GetMaintenanceWindowExecution":{"input":{"type":"structure","required":["WindowExecutionId"],"members":{"WindowExecutionId":{}}},"output":{"type":"structure","members":{"WindowExecutionId":{},"TaskIds":{"type":"list","member":{}},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"GetMaintenanceWindowExecutionTask":{"input":{"type":"structure","required":["WindowExecutionId","TaskId"],"members":{"WindowExecutionId":{},"TaskId":{}}},"output":{"type":"structure","members":{"WindowExecutionId":{},"TaskExecutionId":{},"TaskArn":{},"ServiceRole":{},"Type":{},"TaskParameters":{"type":"list","member":{"shape":"Seo"},"sensitive":true},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}}},"GetMaintenanceWindowExecutionTaskInvocation":{"input":{"type":"structure","required":["WindowExecutionId","TaskId","InvocationId"],"members":{"WindowExecutionId":{},"TaskId":{},"InvocationId":{}}},"output":{"type":"structure","members":{"WindowExecutionId":{},"TaskExecutionId":{},"InvocationId":{},"ExecutionId":{},"TaskType":{},"Parameters":{"shape":"Sdx"},"Status":{},"StatusDetails":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"OwnerInformation":{"shape":"Sci"},"WindowTargetId":{}}}},"GetMaintenanceWindowTask":{"input":{"type":"structure","required":["WindowId","WindowTaskId"],"members":{"WindowId":{},"WindowTaskId":{}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTaskId":{},"Targets":{"shape":"S18"},"TaskArn":{},"ServiceRoleArn":{},"TaskType":{},"TaskParameters":{"shape":"Seo"},"TaskInvocationParameters":{"shape":"Sju"},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"LoggingInfo":{"shape":"Seu"},"Name":{},"Description":{"shape":"S3w"},"CutoffBehavior":{}}}},"GetOpsItem":{"input":{"type":"structure","required":["OpsItemId"],"members":{"OpsItemId":{}}},"output":{"type":"structure","members":{"OpsItem":{"type":"structure","members":{"CreatedBy":{},"OpsItemType":{},"CreatedTime":{"type":"timestamp"},"Description":{},"LastModifiedBy":{},"LastModifiedTime":{"type":"timestamp"},"Notifications":{"shape":"S4f"},"Priority":{"type":"integer"},"RelatedOpsItems":{"shape":"S4j"},"Status":{},"OpsItemId":{},"Version":{},"Title":{},"Source":{},"OperationalData":{"shape":"S4a"},"Category":{},"Severity":{},"ActualStartTime":{"type":"timestamp"},"ActualEndTime":{"type":"timestamp"},"PlannedStartTime":{"type":"timestamp"},"PlannedEndTime":{"type":"timestamp"}}}}}},"GetOpsMetadata":{"input":{"type":"structure","required":["OpsMetadataArn"],"members":{"OpsMetadataArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ResourceId":{},"Metadata":{"shape":"S4s"},"NextToken":{}}}},"GetOpsSummary":{"input":{"type":"structure","members":{"SyncName":{},"Filters":{"shape":"Skh"},"Aggregators":{"shape":"Skn"},"ResultAttributes":{"type":"list","member":{"type":"structure","required":["TypeName"],"members":{"TypeName":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Entities":{"type":"list","member":{"type":"structure","members":{"Id":{},"Data":{"type":"map","key":{},"value":{"type":"structure","members":{"CaptureTime":{},"Content":{"type":"list","member":{"type":"map","key":{},"value":{}}}}}}}}},"NextToken":{}}}},"GetParameter":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"WithDecryption":{"type":"boolean"}}},"output":{"type":"structure","members":{"Parameter":{"shape":"Sl9"}}}},"GetParameterHistory":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"WithDecryption":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Parameters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"KeyId":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedUser":{},"Description":{},"Value":{"shape":"Sla"},"AllowedPattern":{},"Version":{"type":"long"},"Labels":{"shape":"Slg"},"Tier":{},"Policies":{"shape":"Sg3"},"DataType":{}}}},"NextToken":{}}}},"GetParameters":{"input":{"type":"structure","required":["Names"],"members":{"Names":{"shape":"S74"},"WithDecryption":{"type":"boolean"}}},"output":{"type":"structure","members":{"Parameters":{"shape":"Slk"},"InvalidParameters":{"shape":"S74"}}}},"GetParametersByPath":{"input":{"type":"structure","required":["Path"],"members":{"Path":{},"Recursive":{"type":"boolean"},"ParameterFilters":{"shape":"Sfo"},"WithDecryption":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Parameters":{"shape":"Slk"},"NextToken":{}}}},"GetPatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{}}},"output":{"type":"structure","members":{"BaselineId":{},"Name":{},"OperatingSystem":{},"GlobalFilters":{"shape":"S51"},"ApprovalRules":{"shape":"S57"},"ApprovedPatches":{"shape":"S5e"},"ApprovedPatchesComplianceLevel":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"RejectedPatches":{"shape":"S5e"},"RejectedPatchesAction":{},"PatchGroups":{"type":"list","member":{}},"CreatedDate":{"type":"timestamp"},"ModifiedDate":{"type":"timestamp"},"Description":{},"Sources":{"shape":"S5i"}}}},"GetPatchBaselineForPatchGroup":{"input":{"type":"structure","required":["PatchGroup"],"members":{"PatchGroup":{},"OperatingSystem":{}}},"output":{"type":"structure","members":{"BaselineId":{},"PatchGroup":{},"OperatingSystem":{}}}},"GetServiceSetting":{"input":{"type":"structure","required":["SettingId"],"members":{"SettingId":{}}},"output":{"type":"structure","members":{"ServiceSetting":{"shape":"Slw"}}}},"LabelParameterVersion":{"input":{"type":"structure","required":["Name","Labels"],"members":{"Name":{},"ParameterVersion":{"type":"long"},"Labels":{"shape":"Slg"}}},"output":{"type":"structure","members":{"InvalidLabels":{"shape":"Slg"},"ParameterVersion":{"type":"long"}}}},"ListAssociationVersions":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AssociationVersions":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"AssociationVersion":{},"CreatedDate":{"type":"timestamp"},"Name":{},"DocumentVersion":{},"Parameters":{"shape":"S14"},"Targets":{"shape":"S18"},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"AssociationName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}}},"NextToken":{}}}},"ListAssociations":{"input":{"type":"structure","members":{"AssociationFilterList":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"Name":{},"InstanceId":{},"AssociationId":{},"AssociationVersion":{},"DocumentVersion":{},"Targets":{"shape":"S18"},"LastExecutionDate":{"type":"timestamp"},"Overview":{"shape":"S27"},"ScheduleExpression":{},"AssociationName":{}}}},"NextToken":{}}}},"ListCommandInvocations":{"input":{"type":"structure","members":{"CommandId":{},"InstanceId":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Sme"},"Details":{"type":"boolean"}}},"output":{"type":"structure","members":{"CommandInvocations":{"type":"list","member":{"type":"structure","members":{"CommandId":{},"InstanceId":{},"InstanceName":{},"Comment":{},"DocumentName":{},"DocumentVersion":{},"RequestedDateTime":{"type":"timestamp"},"Status":{},"StatusDetails":{},"TraceOutput":{},"StandardOutputUrl":{},"StandardErrorUrl":{},"CommandPlugins":{"type":"list","member":{"type":"structure","members":{"Name":{},"Status":{},"StatusDetails":{},"ResponseCode":{"type":"integer"},"ResponseStartDateTime":{"type":"timestamp"},"ResponseFinishDateTime":{"type":"timestamp"},"Output":{},"StandardOutputUrl":{},"StandardErrorUrl":{},"OutputS3Region":{},"OutputS3BucketName":{},"OutputS3KeyPrefix":{}}}},"ServiceRole":{},"NotificationConfig":{"shape":"Sjw"},"CloudWatchOutputConfig":{"shape":"Shu"}}}},"NextToken":{}}}},"ListCommands":{"input":{"type":"structure","members":{"CommandId":{},"InstanceId":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"shape":"Sme"}}},"output":{"type":"structure","members":{"Commands":{"type":"list","member":{"shape":"Smu"}},"NextToken":{}}}},"ListComplianceItems":{"input":{"type":"structure","members":{"Filters":{"shape":"Sn1"},"ResourceIds":{"type":"list","member":{}},"ResourceTypes":{"type":"list","member":{}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ComplianceItems":{"type":"list","member":{"type":"structure","members":{"ComplianceType":{},"ResourceType":{},"ResourceId":{},"Id":{},"Title":{},"Status":{},"Severity":{},"ExecutionSummary":{"shape":"Snj"},"Details":{"shape":"Snm"}}}},"NextToken":{}}}},"ListComplianceSummaries":{"input":{"type":"structure","members":{"Filters":{"shape":"Sn1"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ComplianceSummaryItems":{"type":"list","member":{"type":"structure","members":{"ComplianceType":{},"CompliantSummary":{"shape":"Snr"},"NonCompliantSummary":{"shape":"Snu"}}}},"NextToken":{}}}},"ListDocumentMetadataHistory":{"input":{"type":"structure","required":["Name","Metadata"],"members":{"Name":{},"DocumentVersion":{},"Metadata":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Name":{},"DocumentVersion":{},"Author":{},"Metadata":{"type":"structure","members":{"ReviewerResponse":{"type":"list","member":{"type":"structure","members":{"CreateTime":{"type":"timestamp"},"UpdatedTime":{"type":"timestamp"},"ReviewStatus":{},"Comment":{"shape":"So1"},"Reviewer":{}}}}}},"NextToken":{}}}},"ListDocumentVersions":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DocumentVersions":{"type":"list","member":{"type":"structure","members":{"Name":{},"DisplayName":{},"DocumentVersion":{},"VersionName":{},"CreatedDate":{"type":"timestamp"},"IsDefaultVersion":{"type":"boolean"},"DocumentFormat":{},"Status":{},"StatusInformation":{},"ReviewStatus":{}}}},"NextToken":{}}}},"ListDocuments":{"input":{"type":"structure","members":{"DocumentFilterList":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Filters":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DocumentIdentifiers":{"type":"list","member":{"type":"structure","members":{"Name":{},"CreatedDate":{"type":"timestamp"},"DisplayName":{},"Owner":{},"VersionName":{},"PlatformTypes":{"shape":"S3g"},"DocumentVersion":{},"DocumentType":{},"SchemaVersion":{},"DocumentFormat":{},"TargetType":{},"Tags":{"shape":"S4"},"Requires":{"shape":"S2n"},"ReviewStatus":{},"Author":{}}}},"NextToken":{}}}},"ListInventoryEntries":{"input":{"type":"structure","required":["InstanceId","TypeName"],"members":{"InstanceId":{},"TypeName":{},"Filters":{"shape":"Sig"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"TypeName":{},"InstanceId":{},"SchemaVersion":{},"CaptureTime":{},"Entries":{"shape":"Sj3"},"NextToken":{}}}},"ListOpsItemEvents":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values","Operator"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Operator":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"NextToken":{},"Summaries":{"type":"list","member":{"type":"structure","members":{"OpsItemId":{},"EventId":{},"Source":{},"DetailType":{},"Detail":{},"CreatedBy":{"shape":"Soz"},"CreatedTime":{"type":"timestamp"}}}}}}},"ListOpsItemRelatedItems":{"input":{"type":"structure","members":{"OpsItemId":{},"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values","Operator"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Operator":{}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"NextToken":{},"Summaries":{"type":"list","member":{"type":"structure","members":{"OpsItemId":{},"AssociationId":{},"ResourceType":{},"AssociationType":{},"ResourceUri":{},"CreatedBy":{"shape":"Soz"},"CreatedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Soz"},"LastModifiedTime":{"type":"timestamp"}}}}}}},"ListOpsMetadata":{"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"OpsMetadataList":{"type":"list","member":{"type":"structure","members":{"ResourceId":{},"OpsMetadataArn":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedUser":{},"CreationDate":{"type":"timestamp"}}}},"NextToken":{}}}},"ListResourceComplianceSummaries":{"input":{"type":"structure","members":{"Filters":{"shape":"Sn1"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ResourceComplianceSummaryItems":{"type":"list","member":{"type":"structure","members":{"ComplianceType":{},"ResourceType":{},"ResourceId":{},"Status":{},"OverallSeverity":{},"ExecutionSummary":{"shape":"Snj"},"CompliantSummary":{"shape":"Snr"},"NonCompliantSummary":{"shape":"Snu"}}}},"NextToken":{}}}},"ListResourceDataSync":{"input":{"type":"structure","members":{"SyncType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ResourceDataSyncItems":{"type":"list","member":{"type":"structure","members":{"SyncName":{},"SyncType":{},"SyncSource":{"type":"structure","members":{"SourceType":{},"AwsOrganizationsSource":{"shape":"S63"},"SourceRegions":{"shape":"S68"},"IncludeFutureRegions":{"type":"boolean"},"State":{},"EnableAllOpsDataSources":{"type":"boolean"}}},"S3Destination":{"shape":"S5s"},"LastSyncTime":{"type":"timestamp"},"LastSuccessfulSyncTime":{"type":"timestamp"},"SyncLastModifiedTime":{"type":"timestamp"},"LastStatus":{},"SyncCreatedTime":{"type":"timestamp"},"LastSyncStatusMessage":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceType","ResourceId"],"members":{"ResourceType":{},"ResourceId":{}}},"output":{"type":"structure","members":{"TagList":{"shape":"S4"}}}},"ModifyDocumentPermission":{"input":{"type":"structure","required":["Name","PermissionType"],"members":{"Name":{},"PermissionType":{},"AccountIdsToAdd":{"shape":"Sb0"},"AccountIdsToRemove":{"shape":"Sb0"},"SharedDocumentVersion":{}}},"output":{"type":"structure","members":{}}},"PutComplianceItems":{"input":{"type":"structure","required":["ResourceId","ResourceType","ComplianceType","ExecutionSummary","Items"],"members":{"ResourceId":{},"ResourceType":{},"ComplianceType":{},"ExecutionSummary":{"shape":"Snj"},"Items":{"type":"list","member":{"type":"structure","required":["Severity","Status"],"members":{"Id":{},"Title":{},"Severity":{},"Status":{},"Details":{"shape":"Snm"}}}},"ItemContentHash":{},"UploadType":{}}},"output":{"type":"structure","members":{}}},"PutInventory":{"input":{"type":"structure","required":["InstanceId","Items"],"members":{"InstanceId":{},"Items":{"type":"list","member":{"type":"structure","required":["TypeName","SchemaVersion","CaptureTime"],"members":{"TypeName":{},"SchemaVersion":{},"CaptureTime":{},"ContentHash":{},"Content":{"shape":"Sj3"},"Context":{"type":"map","key":{},"value":{}}}}}}},"output":{"type":"structure","members":{"Message":{}}}},"PutParameter":{"input":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Description":{},"Value":{"shape":"Sla"},"Type":{},"KeyId":{},"Overwrite":{"type":"boolean"},"AllowedPattern":{},"Tags":{"shape":"S4"},"Tier":{},"Policies":{},"DataType":{}}},"output":{"type":"structure","members":{"Version":{"type":"long"},"Tier":{}}}},"RegisterDefaultPatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{}}},"output":{"type":"structure","members":{"BaselineId":{}}}},"RegisterPatchBaselineForPatchGroup":{"input":{"type":"structure","required":["BaselineId","PatchGroup"],"members":{"BaselineId":{},"PatchGroup":{}}},"output":{"type":"structure","members":{"BaselineId":{},"PatchGroup":{}}}},"RegisterTargetWithMaintenanceWindow":{"input":{"type":"structure","required":["WindowId","ResourceType","Targets"],"members":{"WindowId":{},"ResourceType":{},"Targets":{"shape":"S18"},"OwnerInformation":{"shape":"Sci"},"Name":{},"Description":{"shape":"S3w"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"WindowTargetId":{}}}},"RegisterTaskWithMaintenanceWindow":{"input":{"type":"structure","required":["WindowId","TaskArn","TaskType"],"members":{"WindowId":{},"Targets":{"shape":"S18"},"TaskArn":{},"ServiceRoleArn":{},"TaskType":{},"TaskParameters":{"shape":"Seo"},"TaskInvocationParameters":{"shape":"Sju"},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"LoggingInfo":{"shape":"Seu"},"Name":{},"Description":{"shape":"S3w"},"ClientToken":{"idempotencyToken":true},"CutoffBehavior":{}}},"output":{"type":"structure","members":{"WindowTaskId":{}}}},"RemoveTagsFromResource":{"input":{"type":"structure","required":["ResourceType","ResourceId","TagKeys"],"members":{"ResourceType":{},"ResourceId":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"ResetServiceSetting":{"input":{"type":"structure","required":["SettingId"],"members":{"SettingId":{}}},"output":{"type":"structure","members":{"ServiceSetting":{"shape":"Slw"}}}},"ResumeSession":{"input":{"type":"structure","required":["SessionId"],"members":{"SessionId":{}}},"output":{"type":"structure","members":{"SessionId":{},"TokenValue":{},"StreamUrl":{}}}},"SendAutomationSignal":{"input":{"type":"structure","required":["AutomationExecutionId","SignalType"],"members":{"AutomationExecutionId":{},"SignalType":{},"Payload":{"shape":"S8z"}}},"output":{"type":"structure","members":{}}},"SendCommand":{"input":{"type":"structure","required":["DocumentName"],"members":{"InstanceIds":{"shape":"Si"},"Targets":{"shape":"S18"},"DocumentName":{},"DocumentVersion":{},"DocumentHash":{},"DocumentHashType":{},"TimeoutSeconds":{"type":"integer"},"Comment":{},"Parameters":{"shape":"S14"},"OutputS3Region":{},"OutputS3BucketName":{},"OutputS3KeyPrefix":{},"MaxConcurrency":{},"MaxErrors":{},"ServiceRoleArn":{},"NotificationConfig":{"shape":"Sjw"},"CloudWatchOutputConfig":{"shape":"Shu"}}},"output":{"type":"structure","members":{"Command":{"shape":"Smu"}}}},"StartAssociationsOnce":{"input":{"type":"structure","required":["AssociationIds"],"members":{"AssociationIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"StartAutomationExecution":{"input":{"type":"structure","required":["DocumentName"],"members":{"DocumentName":{},"DocumentVersion":{},"Parameters":{"shape":"S8z"},"ClientToken":{},"Mode":{},"TargetParameterName":{},"Targets":{"shape":"S18"},"TargetMaps":{"shape":"S94"},"MaxConcurrency":{},"MaxErrors":{},"TargetLocations":{"shape":"S1s"},"Tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"AutomationExecutionId":{}}}},"StartChangeRequestExecution":{"input":{"type":"structure","required":["DocumentName","Runbooks"],"members":{"ScheduledTime":{"type":"timestamp"},"DocumentName":{},"DocumentVersion":{},"Parameters":{"shape":"S8z"},"ChangeRequestName":{},"ClientToken":{},"AutoApprove":{"type":"boolean"},"Runbooks":{"shape":"S9d"},"Tags":{"shape":"S4"},"ScheduledEndTime":{"type":"timestamp"},"ChangeDetails":{}}},"output":{"type":"structure","members":{"AutomationExecutionId":{}}}},"StartSession":{"input":{"type":"structure","required":["Target"],"members":{"Target":{},"DocumentName":{},"Reason":{},"Parameters":{"type":"map","key":{},"value":{"type":"list","member":{}}}}},"output":{"type":"structure","members":{"SessionId":{},"TokenValue":{},"StreamUrl":{}}}},"StopAutomationExecution":{"input":{"type":"structure","required":["AutomationExecutionId"],"members":{"AutomationExecutionId":{},"Type":{}}},"output":{"type":"structure","members":{}}},"TerminateSession":{"input":{"type":"structure","required":["SessionId"],"members":{"SessionId":{}}},"output":{"type":"structure","members":{"SessionId":{}}}},"UnlabelParameterVersion":{"input":{"type":"structure","required":["Name","ParameterVersion","Labels"],"members":{"Name":{},"ParameterVersion":{"type":"long"},"Labels":{"shape":"Slg"}}},"output":{"type":"structure","members":{"RemovedLabels":{"shape":"Slg"},"InvalidLabels":{"shape":"Slg"}}}},"UpdateAssociation":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"Parameters":{"shape":"S14"},"DocumentVersion":{},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"Name":{},"Targets":{"shape":"S18"},"AssociationName":{},"AssociationVersion":{},"AutomationTargetParameterName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}},"output":{"type":"structure","members":{"AssociationDescription":{"shape":"S20"}}}},"UpdateAssociationStatus":{"input":{"type":"structure","required":["Name","InstanceId","AssociationStatus"],"members":{"Name":{},"InstanceId":{},"AssociationStatus":{"shape":"S23"}}},"output":{"type":"structure","members":{"AssociationDescription":{"shape":"S20"}}}},"UpdateDocument":{"input":{"type":"structure","required":["Content","Name"],"members":{"Content":{},"Attachments":{"shape":"S2p"},"Name":{},"DisplayName":{},"VersionName":{},"DocumentVersion":{},"DocumentFormat":{},"TargetType":{}}},"output":{"type":"structure","members":{"DocumentDescription":{"shape":"S32"}}}},"UpdateDocumentDefaultVersion":{"input":{"type":"structure","required":["Name","DocumentVersion"],"members":{"Name":{},"DocumentVersion":{}}},"output":{"type":"structure","members":{"Description":{"type":"structure","members":{"Name":{},"DefaultVersion":{},"DefaultVersionName":{}}}}}},"UpdateDocumentMetadata":{"input":{"type":"structure","required":["Name","DocumentReviews"],"members":{"Name":{},"DocumentVersion":{},"DocumentReviews":{"type":"structure","required":["Action"],"members":{"Action":{},"Comment":{"shape":"So1"}}}}},"output":{"type":"structure","members":{}}},"UpdateMaintenanceWindow":{"input":{"type":"structure","required":["WindowId"],"members":{"WindowId":{},"Name":{},"Description":{"shape":"S3w"},"StartDate":{},"EndDate":{},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"AllowUnassociatedTargets":{"type":"boolean"},"Enabled":{"type":"boolean"},"Replace":{"type":"boolean"}}},"output":{"type":"structure","members":{"WindowId":{},"Name":{},"Description":{"shape":"S3w"},"StartDate":{},"EndDate":{},"Schedule":{},"ScheduleTimezone":{},"ScheduleOffset":{"type":"integer"},"Duration":{"type":"integer"},"Cutoff":{"type":"integer"},"AllowUnassociatedTargets":{"type":"boolean"},"Enabled":{"type":"boolean"}}}},"UpdateMaintenanceWindowTarget":{"input":{"type":"structure","required":["WindowId","WindowTargetId"],"members":{"WindowId":{},"WindowTargetId":{},"Targets":{"shape":"S18"},"OwnerInformation":{"shape":"Sci"},"Name":{},"Description":{"shape":"S3w"},"Replace":{"type":"boolean"}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTargetId":{},"Targets":{"shape":"S18"},"OwnerInformation":{"shape":"Sci"},"Name":{},"Description":{"shape":"S3w"}}}},"UpdateMaintenanceWindowTask":{"input":{"type":"structure","required":["WindowId","WindowTaskId"],"members":{"WindowId":{},"WindowTaskId":{},"Targets":{"shape":"S18"},"TaskArn":{},"ServiceRoleArn":{},"TaskParameters":{"shape":"Seo"},"TaskInvocationParameters":{"shape":"Sju"},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"LoggingInfo":{"shape":"Seu"},"Name":{},"Description":{"shape":"S3w"},"Replace":{"type":"boolean"},"CutoffBehavior":{}}},"output":{"type":"structure","members":{"WindowId":{},"WindowTaskId":{},"Targets":{"shape":"S18"},"TaskArn":{},"ServiceRoleArn":{},"TaskParameters":{"shape":"Seo"},"TaskInvocationParameters":{"shape":"Sju"},"Priority":{"type":"integer"},"MaxConcurrency":{},"MaxErrors":{},"LoggingInfo":{"shape":"Seu"},"Name":{},"Description":{"shape":"S3w"},"CutoffBehavior":{}}}},"UpdateManagedInstanceRole":{"input":{"type":"structure","required":["InstanceId","IamRole"],"members":{"InstanceId":{},"IamRole":{}}},"output":{"type":"structure","members":{}}},"UpdateOpsItem":{"input":{"type":"structure","required":["OpsItemId"],"members":{"Description":{},"OperationalData":{"shape":"S4a"},"OperationalDataToDelete":{"type":"list","member":{}},"Notifications":{"shape":"S4f"},"Priority":{"type":"integer"},"RelatedOpsItems":{"shape":"S4j"},"Status":{},"OpsItemId":{},"Title":{},"Category":{},"Severity":{},"ActualStartTime":{"type":"timestamp"},"ActualEndTime":{"type":"timestamp"},"PlannedStartTime":{"type":"timestamp"},"PlannedEndTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{}}},"UpdateOpsMetadata":{"input":{"type":"structure","required":["OpsMetadataArn"],"members":{"OpsMetadataArn":{},"MetadataToUpdate":{"shape":"S4s"},"KeysToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"OpsMetadataArn":{}}}},"UpdatePatchBaseline":{"input":{"type":"structure","required":["BaselineId"],"members":{"BaselineId":{},"Name":{},"GlobalFilters":{"shape":"S51"},"ApprovalRules":{"shape":"S57"},"ApprovedPatches":{"shape":"S5e"},"ApprovedPatchesComplianceLevel":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"RejectedPatches":{"shape":"S5e"},"RejectedPatchesAction":{},"Description":{},"Sources":{"shape":"S5i"},"Replace":{"type":"boolean"}}},"output":{"type":"structure","members":{"BaselineId":{},"Name":{},"OperatingSystem":{},"GlobalFilters":{"shape":"S51"},"ApprovalRules":{"shape":"S57"},"ApprovedPatches":{"shape":"S5e"},"ApprovedPatchesComplianceLevel":{},"ApprovedPatchesEnableNonSecurity":{"type":"boolean"},"RejectedPatches":{"shape":"S5e"},"RejectedPatchesAction":{},"CreatedDate":{"type":"timestamp"},"ModifiedDate":{"type":"timestamp"},"Description":{},"Sources":{"shape":"S5i"}}}},"UpdateResourceDataSync":{"input":{"type":"structure","required":["SyncName","SyncType","SyncSource"],"members":{"SyncName":{},"SyncType":{},"SyncSource":{"shape":"S61"}}},"output":{"type":"structure","members":{}}},"UpdateServiceSetting":{"input":{"type":"structure","required":["SettingId","SettingValue"],"members":{"SettingId":{},"SettingValue":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S4":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Si":{"type":"list","member":{}},"S14":{"type":"map","key":{},"value":{"type":"list","member":{}},"sensitive":true},"S18":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"S1e":{"type":"structure","members":{"S3Location":{"type":"structure","members":{"OutputS3Region":{},"OutputS3BucketName":{},"OutputS3KeyPrefix":{}}}}},"S1q":{"type":"list","member":{}},"S1s":{"type":"list","member":{"shape":"S1t"}},"S1t":{"type":"structure","members":{"Accounts":{"type":"list","member":{}},"Regions":{"type":"list","member":{}},"TargetLocationMaxConcurrency":{},"TargetLocationMaxErrors":{},"ExecutionRoleName":{}}},"S20":{"type":"structure","members":{"Name":{},"InstanceId":{},"AssociationVersion":{},"Date":{"type":"timestamp"},"LastUpdateAssociationDate":{"type":"timestamp"},"Status":{"shape":"S23"},"Overview":{"shape":"S27"},"DocumentVersion":{},"AutomationTargetParameterName":{},"Parameters":{"shape":"S14"},"AssociationId":{},"Targets":{"shape":"S18"},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"LastExecutionDate":{"type":"timestamp"},"LastSuccessfulExecutionDate":{"type":"timestamp"},"AssociationName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}},"S23":{"type":"structure","required":["Date","Name","Message"],"members":{"Date":{"type":"timestamp"},"Name":{},"Message":{},"AdditionalInfo":{}}},"S27":{"type":"structure","members":{"Status":{},"DetailedStatus":{},"AssociationStatusAggregatedCount":{"type":"map","key":{},"value":{"type":"integer"}}}},"S2e":{"type":"structure","required":["Name"],"members":{"Name":{},"InstanceId":{},"Parameters":{"shape":"S14"},"AutomationTargetParameterName":{},"DocumentVersion":{},"Targets":{"shape":"S18"},"ScheduleExpression":{},"OutputLocation":{"shape":"S1e"},"AssociationName":{},"MaxErrors":{},"MaxConcurrency":{},"ComplianceSeverity":{},"SyncCompliance":{},"ApplyOnlyAtCronInterval":{"type":"boolean"},"CalendarNames":{"shape":"S1q"},"TargetLocations":{"shape":"S1s"}}},"S2n":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Version":{}}}},"S2p":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}},"Name":{}}}},"S32":{"type":"structure","members":{"Sha1":{},"Hash":{},"HashType":{},"Name":{},"DisplayName":{},"VersionName":{},"Owner":{},"CreatedDate":{"type":"timestamp"},"Status":{},"StatusInformation":{},"DocumentVersion":{},"Description":{},"Parameters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"Description":{},"DefaultValue":{}}}},"PlatformTypes":{"shape":"S3g"},"DocumentType":{},"SchemaVersion":{},"LatestVersion":{},"DefaultVersion":{},"DocumentFormat":{},"TargetType":{},"Tags":{"shape":"S4"},"AttachmentsInformation":{"type":"list","member":{"type":"structure","members":{"Name":{}}}},"Requires":{"shape":"S2n"},"Author":{},"ReviewInformation":{"type":"list","member":{"type":"structure","members":{"ReviewedTime":{"type":"timestamp"},"Status":{},"Reviewer":{}}}},"ApprovedVersion":{},"PendingReviewVersion":{},"ReviewStatus":{},"Category":{"type":"list","member":{}},"CategoryEnum":{"type":"list","member":{}}}},"S3g":{"type":"list","member":{}},"S3w":{"type":"string","sensitive":true},"S4a":{"type":"map","key":{},"value":{"type":"structure","members":{"Value":{},"Type":{}}}},"S4f":{"type":"list","member":{"type":"structure","members":{"Arn":{}}}},"S4j":{"type":"list","member":{"type":"structure","required":["OpsItemId"],"members":{"OpsItemId":{}}}},"S4s":{"type":"map","key":{},"value":{"type":"structure","members":{"Value":{}}}},"S51":{"type":"structure","required":["PatchFilters"],"members":{"PatchFilters":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}}}}}}},"S57":{"type":"structure","required":["PatchRules"],"members":{"PatchRules":{"type":"list","member":{"type":"structure","required":["PatchFilterGroup"],"members":{"PatchFilterGroup":{"shape":"S51"},"ComplianceLevel":{},"ApproveAfterDays":{"type":"integer"},"ApproveUntilDate":{},"EnableNonSecurity":{"type":"boolean"}}}}}},"S5e":{"type":"list","member":{}},"S5i":{"type":"list","member":{"type":"structure","required":["Name","Products","Configuration"],"members":{"Name":{},"Products":{"type":"list","member":{}},"Configuration":{"type":"string","sensitive":true}}}},"S5s":{"type":"structure","required":["BucketName","SyncFormat","Region"],"members":{"BucketName":{},"Prefix":{},"SyncFormat":{},"Region":{},"AWSKMSKeyARN":{},"DestinationDataSharing":{"type":"structure","members":{"DestinationDataSharingType":{}}}}},"S61":{"type":"structure","required":["SourceType","SourceRegions"],"members":{"SourceType":{},"AwsOrganizationsSource":{"shape":"S63"},"SourceRegions":{"shape":"S68"},"IncludeFutureRegions":{"type":"boolean"},"EnableAllOpsDataSources":{"type":"boolean"}}},"S63":{"type":"structure","required":["OrganizationSourceType"],"members":{"OrganizationSourceType":{},"OrganizationalUnits":{"type":"list","member":{"type":"structure","members":{"OrganizationalUnitId":{}}}}}},"S68":{"type":"list","member":{}},"S6p":{"type":"structure","members":{"TotalCount":{"type":"integer"},"RemainingCount":{"type":"integer"},"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Version":{},"Count":{"type":"integer"},"RemainingCount":{"type":"integer"}}}}}},"S74":{"type":"list","member":{}},"S8z":{"type":"map","key":{},"value":{"type":"list","member":{}}},"S94":{"type":"list","member":{"type":"map","key":{},"value":{"type":"list","member":{}}}},"S99":{"type":"structure","members":{"ParameterValues":{"type":"list","member":{}},"Truncated":{"type":"boolean"}}},"S9d":{"type":"list","member":{"type":"structure","required":["DocumentName"],"members":{"DocumentName":{},"DocumentVersion":{},"Parameters":{"shape":"S8z"},"TargetParameterName":{},"Targets":{"shape":"S18"},"MaxConcurrency":{},"MaxErrors":{},"TargetLocations":{"shape":"S1s"}}}},"S9n":{"type":"list","member":{"type":"structure","members":{"StepName":{},"Action":{},"TimeoutSeconds":{"type":"long"},"OnFailure":{},"MaxAttempts":{"type":"integer"},"ExecutionStartTime":{"type":"timestamp"},"ExecutionEndTime":{"type":"timestamp"},"StepStatus":{},"ResponseCode":{},"Inputs":{"type":"map","key":{},"value":{}},"Outputs":{"shape":"S8z"},"Response":{},"FailureMessage":{},"FailureDetails":{"type":"structure","members":{"FailureStage":{},"FailureType":{},"Details":{"shape":"S8z"}}},"StepExecutionId":{},"OverriddenParameters":{"shape":"S8z"},"IsEnd":{"type":"boolean"},"NextStep":{},"IsCritical":{"type":"boolean"},"ValidNextSteps":{"type":"list","member":{}},"Targets":{"shape":"S18"},"TargetLocation":{"shape":"S1t"}}}},"S9x":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"Sa5":{"type":"structure","members":{"Id":{},"ReleaseDate":{"type":"timestamp"},"Title":{},"Description":{},"ContentUrl":{},"Vendor":{},"ProductFamily":{},"Product":{},"Classification":{},"MsrcSeverity":{},"KbNumber":{},"MsrcNumber":{},"Language":{},"AdvisoryIds":{"type":"list","member":{}},"BugzillaIds":{"type":"list","member":{}},"CVEIds":{"type":"list","member":{}},"Name":{},"Epoch":{"type":"integer"},"Version":{},"Release":{},"Arch":{},"Severity":{},"Repository":{}}},"Sb0":{"type":"list","member":{}},"Sbt":{"type":"list","member":{}},"Scf":{"type":"structure","required":["InstanceId","PatchGroup","BaselineId","OperationStartTime","OperationEndTime","Operation"],"members":{"InstanceId":{},"PatchGroup":{},"BaselineId":{},"SnapshotId":{},"InstallOverrideList":{},"OwnerInformation":{"shape":"Sci"},"InstalledCount":{"type":"integer"},"InstalledOtherCount":{"type":"integer"},"InstalledPendingRebootCount":{"type":"integer"},"InstalledRejectedCount":{"type":"integer"},"MissingCount":{"type":"integer"},"FailedCount":{"type":"integer"},"UnreportedNotApplicableCount":{"type":"integer"},"NotApplicableCount":{"type":"integer"},"OperationStartTime":{"type":"timestamp"},"OperationEndTime":{"type":"timestamp"},"Operation":{},"LastNoRebootInstallOperationTime":{"type":"timestamp"},"RebootOption":{},"CriticalNonCompliantCount":{"type":"integer"},"SecurityNonCompliantCount":{"type":"integer"},"OtherNonCompliantCount":{"type":"integer"}}},"Sci":{"type":"string","sensitive":true},"Sdl":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"Sdx":{"type":"string","sensitive":true},"Seo":{"type":"map","key":{},"value":{"type":"structure","members":{"Values":{"type":"list","member":{"type":"string","sensitive":true},"sensitive":true}},"sensitive":true},"sensitive":true},"Seu":{"type":"structure","required":["S3BucketName","S3Region"],"members":{"S3BucketName":{},"S3KeyPrefix":{},"S3Region":{}}},"Sfo":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Option":{},"Values":{"type":"list","member":{}}}}},"Sg3":{"type":"list","member":{"type":"structure","members":{"PolicyText":{},"PolicyType":{},"PolicyStatus":{}}}},"Sg9":{"type":"structure","members":{"BaselineId":{},"BaselineName":{},"OperatingSystem":{},"BaselineDescription":{},"DefaultBaseline":{"type":"boolean"}}},"Shu":{"type":"structure","members":{"CloudWatchLogGroupName":{},"CloudWatchOutputEnabled":{"type":"boolean"}}},"Sig":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Type":{}}}},"Sim":{"type":"list","member":{"type":"structure","members":{"Expression":{},"Aggregators":{"shape":"Sim"},"Groups":{"type":"list","member":{"type":"structure","required":["Name","Filters"],"members":{"Name":{},"Filters":{"shape":"Sig"}}}}}}},"Sj3":{"type":"list","member":{"type":"map","key":{},"value":{}}},"Sju":{"type":"structure","members":{"RunCommand":{"type":"structure","members":{"Comment":{},"CloudWatchOutputConfig":{"shape":"Shu"},"DocumentHash":{},"DocumentHashType":{},"DocumentVersion":{},"NotificationConfig":{"shape":"Sjw"},"OutputS3BucketName":{},"OutputS3KeyPrefix":{},"Parameters":{"shape":"S14"},"ServiceRoleArn":{},"TimeoutSeconds":{"type":"integer"}}},"Automation":{"type":"structure","members":{"DocumentVersion":{},"Parameters":{"shape":"S8z"}}},"StepFunctions":{"type":"structure","members":{"Input":{"type":"string","sensitive":true},"Name":{}}},"Lambda":{"type":"structure","members":{"ClientContext":{},"Qualifier":{},"Payload":{"type":"blob","sensitive":true}}}}},"Sjw":{"type":"structure","members":{"NotificationArn":{},"NotificationEvents":{"type":"list","member":{}},"NotificationType":{}}},"Skh":{"type":"list","member":{"type":"structure","required":["Key","Values"],"members":{"Key":{},"Values":{"type":"list","member":{}},"Type":{}}}},"Skn":{"type":"list","member":{"type":"structure","members":{"AggregatorType":{},"TypeName":{},"AttributeName":{},"Values":{"type":"map","key":{},"value":{}},"Filters":{"shape":"Skh"},"Aggregators":{"shape":"Skn"}}}},"Sl9":{"type":"structure","members":{"Name":{},"Type":{},"Value":{"shape":"Sla"},"Version":{"type":"long"},"Selector":{},"SourceResult":{},"LastModifiedDate":{"type":"timestamp"},"ARN":{},"DataType":{}}},"Sla":{"type":"string","sensitive":true},"Slg":{"type":"list","member":{}},"Slk":{"type":"list","member":{"shape":"Sl9"}},"Slw":{"type":"structure","members":{"SettingId":{},"SettingValue":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedUser":{},"ARN":{},"Status":{}}},"Sme":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Smu":{"type":"structure","members":{"CommandId":{},"DocumentName":{},"DocumentVersion":{},"Comment":{},"ExpiresAfter":{"type":"timestamp"},"Parameters":{"shape":"S14"},"InstanceIds":{"shape":"Si"},"Targets":{"shape":"S18"},"RequestedDateTime":{"type":"timestamp"},"Status":{},"StatusDetails":{},"OutputS3Region":{},"OutputS3BucketName":{},"OutputS3KeyPrefix":{},"MaxConcurrency":{},"MaxErrors":{},"TargetCount":{"type":"integer"},"CompletedCount":{"type":"integer"},"ErrorCount":{"type":"integer"},"DeliveryTimedOutCount":{"type":"integer"},"ServiceRole":{},"NotificationConfig":{"shape":"Sjw"},"CloudWatchOutputConfig":{"shape":"Shu"},"TimeoutSeconds":{"type":"integer"}}},"Sn1":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}},"Type":{}}}},"Snj":{"type":"structure","required":["ExecutionTime"],"members":{"ExecutionTime":{"type":"timestamp"},"ExecutionId":{},"ExecutionType":{}}},"Snm":{"type":"map","key":{},"value":{}},"Snr":{"type":"structure","members":{"CompliantCount":{"type":"integer"},"SeveritySummary":{"shape":"Snt"}}},"Snt":{"type":"structure","members":{"CriticalCount":{"type":"integer"},"HighCount":{"type":"integer"},"MediumCount":{"type":"integer"},"LowCount":{"type":"integer"},"InformationalCount":{"type":"integer"},"UnspecifiedCount":{"type":"integer"}}},"Snu":{"type":"structure","members":{"NonCompliantCount":{"type":"integer"},"SeveritySummary":{"shape":"Snt"}}},"So1":{"type":"list","member":{"type":"structure","members":{"Type":{},"Content":{}}}},"Soz":{"type":"structure","members":{"Arn":{}}}}} /***/ }), /* 461 */ @@ -48129,7 +48135,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 489 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-04-08","endpointPrefix":"workspaces","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon WorkSpaces","serviceId":"WorkSpaces","signatureVersion":"v4","targetPrefix":"WorkspacesService","uid":"workspaces-2015-04-08"},"operations":{"AssociateConnectionAlias":{"input":{"type":"structure","required":["AliasId","ResourceId"],"members":{"AliasId":{},"ResourceId":{}}},"output":{"type":"structure","members":{"ConnectionIdentifier":{}}}},"AssociateIpGroups":{"input":{"type":"structure","required":["DirectoryId","GroupIds"],"members":{"DirectoryId":{},"GroupIds":{"shape":"S8"}}},"output":{"type":"structure","members":{}}},"AuthorizeIpRules":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"CopyWorkspaceImage":{"input":{"type":"structure","required":["Name","SourceImageId","SourceRegion"],"members":{"Name":{},"Description":{},"SourceImageId":{},"SourceRegion":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"ImageId":{}}}},"CreateConnectionAlias":{"input":{"type":"structure","required":["ConnectionString"],"members":{"ConnectionString":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"AliasId":{}}}},"CreateIpGroup":{"input":{"type":"structure","required":["GroupName"],"members":{"GroupName":{},"GroupDesc":{},"UserRules":{"shape":"Sc"},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"GroupId":{}}}},"CreateTags":{"input":{"type":"structure","required":["ResourceId","Tags"],"members":{"ResourceId":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{}}},"CreateUpdatedWorkspaceImage":{"input":{"type":"structure","required":["Name","Description","SourceImageId"],"members":{"Name":{},"Description":{},"SourceImageId":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"ImageId":{}}}},"CreateWorkspaceBundle":{"input":{"type":"structure","required":["BundleName","BundleDescription","ImageId","ComputeType","UserStorage"],"members":{"BundleName":{},"BundleDescription":{},"ImageId":{},"ComputeType":{"shape":"S15"},"UserStorage":{"shape":"S17"},"RootStorage":{"shape":"S18"},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"WorkspaceBundle":{"shape":"S1a"}}}},"CreateWorkspaces":{"input":{"type":"structure","required":["Workspaces"],"members":{"Workspaces":{"type":"list","member":{"shape":"S1h"}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceRequest":{"shape":"S1h"},"ErrorCode":{},"ErrorMessage":{}}}},"PendingRequests":{"shape":"S1u"}}}},"DeleteConnectionAlias":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{}}},"output":{"type":"structure","members":{}}},"DeleteIpGroup":{"input":{"type":"structure","required":["GroupId"],"members":{"GroupId":{}}},"output":{"type":"structure","members":{}}},"DeleteTags":{"input":{"type":"structure","required":["ResourceId","TagKeys"],"members":{"ResourceId":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteWorkspaceBundle":{"input":{"type":"structure","members":{"BundleId":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkspaceImage":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{}}},"output":{"type":"structure","members":{}}},"DeregisterWorkspaceDirectory":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{}}},"DescribeAccount":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{}}}},"DescribeAccountModifications":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"type":"structure","members":{"AccountModifications":{"type":"list","member":{"type":"structure","members":{"ModificationState":{},"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{},"StartTime":{"type":"timestamp"},"ErrorCode":{},"ErrorMessage":{}}}},"NextToken":{}}}},"DescribeClientProperties":{"input":{"type":"structure","required":["ResourceIds"],"members":{"ResourceIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ClientPropertiesList":{"type":"list","member":{"type":"structure","members":{"ResourceId":{},"ClientProperties":{"shape":"S2y"}}}}}}},"DescribeConnectionAliasPermissions":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AliasId":{},"ConnectionAliasPermissions":{"type":"list","member":{"shape":"S34"}},"NextToken":{}}}},"DescribeConnectionAliases":{"input":{"type":"structure","members":{"AliasIds":{"type":"list","member":{}},"ResourceId":{},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ConnectionAliases":{"type":"list","member":{"type":"structure","members":{"ConnectionString":{},"AliasId":{},"State":{},"OwnerAccountId":{},"Associations":{"type":"list","member":{"type":"structure","members":{"AssociationStatus":{},"AssociatedAccountId":{},"ResourceId":{},"ConnectionIdentifier":{}}}}}}},"NextToken":{}}}},"DescribeIpGroups":{"input":{"type":"structure","members":{"GroupIds":{"shape":"S8"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Result":{"type":"list","member":{"type":"structure","members":{"groupId":{},"groupName":{},"groupDesc":{},"userRules":{"shape":"Sc"}}}},"NextToken":{}}}},"DescribeTags":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{}}},"output":{"type":"structure","members":{"TagList":{"shape":"Sm"}}}},"DescribeWorkspaceBundles":{"input":{"type":"structure","members":{"BundleIds":{"type":"list","member":{}},"Owner":{},"NextToken":{}}},"output":{"type":"structure","members":{"Bundles":{"type":"list","member":{"shape":"S1a"}},"NextToken":{}}}},"DescribeWorkspaceDirectories":{"input":{"type":"structure","members":{"DirectoryIds":{"type":"list","member":{}},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Directories":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"Alias":{},"DirectoryName":{},"RegistrationCode":{},"SubnetIds":{"shape":"S3x"},"DnsIpAddresses":{"type":"list","member":{}},"CustomerUserName":{},"IamRoleId":{},"DirectoryType":{},"WorkspaceSecurityGroupId":{},"State":{},"WorkspaceCreationProperties":{"type":"structure","members":{"EnableWorkDocs":{"type":"boolean"},"EnableInternetAccess":{"type":"boolean"},"DefaultOu":{},"CustomSecurityGroupId":{},"UserEnabledAsLocalAdministrator":{"type":"boolean"},"EnableMaintenanceMode":{"type":"boolean"}}},"ipGroupIds":{"shape":"S8"},"WorkspaceAccessProperties":{"shape":"S45"},"Tenancy":{},"SelfservicePermissions":{"shape":"S48"}}}},"NextToken":{}}}},"DescribeWorkspaceImagePermissions":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ImageId":{},"ImagePermissions":{"type":"list","member":{"type":"structure","members":{"SharedAccountId":{}}}},"NextToken":{}}}},"DescribeWorkspaceImages":{"input":{"type":"structure","members":{"ImageIds":{"type":"list","member":{}},"ImageType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Images":{"type":"list","member":{"type":"structure","members":{"ImageId":{},"Name":{},"Description":{},"OperatingSystem":{"type":"structure","members":{"Type":{}}},"State":{},"RequiredTenancy":{},"ErrorCode":{},"ErrorMessage":{},"Created":{"type":"timestamp"},"OwnerAccountId":{},"Updates":{"type":"structure","members":{"UpdateAvailable":{"type":"boolean"},"Description":{}}}}}},"NextToken":{}}}},"DescribeWorkspaceSnapshots":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}},"output":{"type":"structure","members":{"RebuildSnapshots":{"shape":"S4s"},"RestoreSnapshots":{"shape":"S4s"}}}},"DescribeWorkspaces":{"input":{"type":"structure","members":{"WorkspaceIds":{"shape":"S4v"},"DirectoryId":{},"UserName":{},"BundleId":{},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Workspaces":{"shape":"S1u"},"NextToken":{}}}},"DescribeWorkspacesConnectionStatus":{"input":{"type":"structure","members":{"WorkspaceIds":{"shape":"S4v"},"NextToken":{}}},"output":{"type":"structure","members":{"WorkspacesConnectionStatus":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"ConnectionState":{},"ConnectionStateCheckTimestamp":{"type":"timestamp"},"LastKnownUserConnectionTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"DisassociateConnectionAlias":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{}}},"output":{"type":"structure","members":{}}},"DisassociateIpGroups":{"input":{"type":"structure","required":["DirectoryId","GroupIds"],"members":{"DirectoryId":{},"GroupIds":{"shape":"S8"}}},"output":{"type":"structure","members":{}}},"ImportWorkspaceImage":{"input":{"type":"structure","required":["Ec2ImageId","IngestionProcess","ImageName","ImageDescription"],"members":{"Ec2ImageId":{},"IngestionProcess":{},"ImageName":{},"ImageDescription":{},"Tags":{"shape":"Sm"},"Applications":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ImageId":{}}}},"ListAvailableManagementCidrRanges":{"input":{"type":"structure","required":["ManagementCidrRangeConstraint"],"members":{"ManagementCidrRangeConstraint":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ManagementCidrRanges":{"type":"list","member":{}},"NextToken":{}}}},"MigrateWorkspace":{"input":{"type":"structure","required":["SourceWorkspaceId","BundleId"],"members":{"SourceWorkspaceId":{},"BundleId":{}}},"output":{"type":"structure","members":{"SourceWorkspaceId":{},"TargetWorkspaceId":{}}}},"ModifyAccount":{"input":{"type":"structure","members":{"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{}}},"output":{"type":"structure","members":{}}},"ModifyClientProperties":{"input":{"type":"structure","required":["ResourceId","ClientProperties"],"members":{"ResourceId":{},"ClientProperties":{"shape":"S2y"}}},"output":{"type":"structure","members":{}}},"ModifySelfservicePermissions":{"input":{"type":"structure","required":["ResourceId","SelfservicePermissions"],"members":{"ResourceId":{},"SelfservicePermissions":{"shape":"S48"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceAccessProperties":{"input":{"type":"structure","required":["ResourceId","WorkspaceAccessProperties"],"members":{"ResourceId":{},"WorkspaceAccessProperties":{"shape":"S45"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceCreationProperties":{"input":{"type":"structure","required":["ResourceId","WorkspaceCreationProperties"],"members":{"ResourceId":{},"WorkspaceCreationProperties":{"type":"structure","members":{"EnableWorkDocs":{"type":"boolean"},"EnableInternetAccess":{"type":"boolean"},"DefaultOu":{},"CustomSecurityGroupId":{},"UserEnabledAsLocalAdministrator":{"type":"boolean"},"EnableMaintenanceMode":{"type":"boolean"}}}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceProperties":{"input":{"type":"structure","required":["WorkspaceId","WorkspaceProperties"],"members":{"WorkspaceId":{},"WorkspaceProperties":{"shape":"S1l"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceState":{"input":{"type":"structure","required":["WorkspaceId","WorkspaceState"],"members":{"WorkspaceId":{},"WorkspaceState":{}}},"output":{"type":"structure","members":{}}},"RebootWorkspaces":{"input":{"type":"structure","required":["RebootWorkspaceRequests"],"members":{"RebootWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S65"}}}}},"RebuildWorkspaces":{"input":{"type":"structure","required":["RebuildWorkspaceRequests"],"members":{"RebuildWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S65"}}}}},"RegisterWorkspaceDirectory":{"input":{"type":"structure","required":["DirectoryId","EnableWorkDocs"],"members":{"DirectoryId":{},"SubnetIds":{"shape":"S3x"},"EnableWorkDocs":{"type":"boolean"},"EnableSelfService":{"type":"boolean"},"Tenancy":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{}}},"RestoreWorkspace":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}},"output":{"type":"structure","members":{}}},"RevokeIpRules":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"StartWorkspaces":{"input":{"type":"structure","required":["StartWorkspaceRequests"],"members":{"StartWorkspaceRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S65"}}}}},"StopWorkspaces":{"input":{"type":"structure","required":["StopWorkspaceRequests"],"members":{"StopWorkspaceRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S65"}}}}},"TerminateWorkspaces":{"input":{"type":"structure","required":["TerminateWorkspaceRequests"],"members":{"TerminateWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S65"}}}}},"UpdateConnectionAliasPermission":{"input":{"type":"structure","required":["AliasId","ConnectionAliasPermission"],"members":{"AliasId":{},"ConnectionAliasPermission":{"shape":"S34"}}},"output":{"type":"structure","members":{}}},"UpdateRulesOfIpGroup":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"UpdateWorkspaceBundle":{"input":{"type":"structure","members":{"BundleId":{},"ImageId":{}}},"output":{"type":"structure","members":{}}},"UpdateWorkspaceImagePermission":{"input":{"type":"structure","required":["ImageId","AllowCopyImage","SharedAccountId"],"members":{"ImageId":{},"AllowCopyImage":{"type":"boolean"},"SharedAccountId":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S8":{"type":"list","member":{}},"Sc":{"type":"list","member":{"type":"structure","members":{"ipRule":{},"ruleDesc":{}}}},"Sm":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"S15":{"type":"structure","members":{"Name":{}}},"S17":{"type":"structure","members":{"Capacity":{}}},"S18":{"type":"structure","members":{"Capacity":{}}},"S1a":{"type":"structure","members":{"BundleId":{},"Name":{},"Owner":{},"Description":{},"ImageId":{},"RootStorage":{"shape":"S18"},"UserStorage":{"shape":"S17"},"ComputeType":{"shape":"S15"},"LastUpdatedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"}}},"S1h":{"type":"structure","required":["DirectoryId","UserName","BundleId"],"members":{"DirectoryId":{},"UserName":{},"BundleId":{},"VolumeEncryptionKey":{},"UserVolumeEncryptionEnabled":{"type":"boolean"},"RootVolumeEncryptionEnabled":{"type":"boolean"},"WorkspaceProperties":{"shape":"S1l"},"Tags":{"shape":"Sm"}}},"S1l":{"type":"structure","members":{"RunningMode":{},"RunningModeAutoStopTimeoutInMinutes":{"type":"integer"},"RootVolumeSizeGib":{"type":"integer"},"UserVolumeSizeGib":{"type":"integer"},"ComputeTypeName":{}}},"S1u":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"DirectoryId":{},"UserName":{},"IpAddress":{},"State":{},"BundleId":{},"SubnetId":{},"ErrorMessage":{},"ErrorCode":{},"ComputerName":{},"VolumeEncryptionKey":{},"UserVolumeEncryptionEnabled":{"type":"boolean"},"RootVolumeEncryptionEnabled":{"type":"boolean"},"WorkspaceProperties":{"shape":"S1l"},"ModificationStates":{"type":"list","member":{"type":"structure","members":{"Resource":{},"State":{}}}}}}},"S2y":{"type":"structure","members":{"ReconnectEnabled":{}}},"S34":{"type":"structure","required":["SharedAccountId","AllowAssociation"],"members":{"SharedAccountId":{},"AllowAssociation":{"type":"boolean"}}},"S3x":{"type":"list","member":{}},"S45":{"type":"structure","members":{"DeviceTypeWindows":{},"DeviceTypeOsx":{},"DeviceTypeWeb":{},"DeviceTypeIos":{},"DeviceTypeAndroid":{},"DeviceTypeChromeOs":{},"DeviceTypeZeroClient":{},"DeviceTypeLinux":{}}},"S48":{"type":"structure","members":{"RestartWorkspace":{},"IncreaseVolumeSize":{},"ChangeComputeType":{},"SwitchRunningMode":{},"RebuildWorkspace":{}}},"S4s":{"type":"list","member":{"type":"structure","members":{"SnapshotTime":{"type":"timestamp"}}}},"S4v":{"type":"list","member":{}},"S65":{"type":"structure","members":{"WorkspaceId":{},"ErrorCode":{},"ErrorMessage":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-04-08","endpointPrefix":"workspaces","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon WorkSpaces","serviceId":"WorkSpaces","signatureVersion":"v4","targetPrefix":"WorkspacesService","uid":"workspaces-2015-04-08"},"operations":{"AssociateConnectionAlias":{"input":{"type":"structure","required":["AliasId","ResourceId"],"members":{"AliasId":{},"ResourceId":{}}},"output":{"type":"structure","members":{"ConnectionIdentifier":{}}}},"AssociateIpGroups":{"input":{"type":"structure","required":["DirectoryId","GroupIds"],"members":{"DirectoryId":{},"GroupIds":{"shape":"S8"}}},"output":{"type":"structure","members":{}}},"AuthorizeIpRules":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"CopyWorkspaceImage":{"input":{"type":"structure","required":["Name","SourceImageId","SourceRegion"],"members":{"Name":{},"Description":{},"SourceImageId":{},"SourceRegion":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"ImageId":{}}}},"CreateConnectClientAddIn":{"input":{"type":"structure","required":["ResourceId","Name","URL"],"members":{"ResourceId":{},"Name":{},"URL":{}}},"output":{"type":"structure","members":{"AddInId":{}}}},"CreateConnectionAlias":{"input":{"type":"structure","required":["ConnectionString"],"members":{"ConnectionString":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"AliasId":{}}}},"CreateIpGroup":{"input":{"type":"structure","required":["GroupName"],"members":{"GroupName":{},"GroupDesc":{},"UserRules":{"shape":"Sc"},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"GroupId":{}}}},"CreateTags":{"input":{"type":"structure","required":["ResourceId","Tags"],"members":{"ResourceId":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{}}},"CreateUpdatedWorkspaceImage":{"input":{"type":"structure","required":["Name","Description","SourceImageId"],"members":{"Name":{},"Description":{},"SourceImageId":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"ImageId":{}}}},"CreateWorkspaceBundle":{"input":{"type":"structure","required":["BundleName","BundleDescription","ImageId","ComputeType","UserStorage"],"members":{"BundleName":{},"BundleDescription":{},"ImageId":{},"ComputeType":{"shape":"S1a"},"UserStorage":{"shape":"S1c"},"RootStorage":{"shape":"S1d"},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"WorkspaceBundle":{"shape":"S1f"}}}},"CreateWorkspaces":{"input":{"type":"structure","required":["Workspaces"],"members":{"Workspaces":{"type":"list","member":{"shape":"S1m"}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceRequest":{"shape":"S1m"},"ErrorCode":{},"ErrorMessage":{}}}},"PendingRequests":{"shape":"S1z"}}}},"DeleteConnectClientAddIn":{"input":{"type":"structure","required":["AddInId","ResourceId"],"members":{"AddInId":{},"ResourceId":{}}},"output":{"type":"structure","members":{}}},"DeleteConnectionAlias":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{}}},"output":{"type":"structure","members":{}}},"DeleteIpGroup":{"input":{"type":"structure","required":["GroupId"],"members":{"GroupId":{}}},"output":{"type":"structure","members":{}}},"DeleteTags":{"input":{"type":"structure","required":["ResourceId","TagKeys"],"members":{"ResourceId":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteWorkspaceBundle":{"input":{"type":"structure","members":{"BundleId":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkspaceImage":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{}}},"output":{"type":"structure","members":{}}},"DeregisterWorkspaceDirectory":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{}}},"DescribeAccount":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{}}}},"DescribeAccountModifications":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"type":"structure","members":{"AccountModifications":{"type":"list","member":{"type":"structure","members":{"ModificationState":{},"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{},"StartTime":{"type":"timestamp"},"ErrorCode":{},"ErrorMessage":{}}}},"NextToken":{}}}},"DescribeClientProperties":{"input":{"type":"structure","required":["ResourceIds"],"members":{"ResourceIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ClientPropertiesList":{"type":"list","member":{"type":"structure","members":{"ResourceId":{},"ClientProperties":{"shape":"S35"}}}}}}},"DescribeConnectClientAddIns":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AddIns":{"type":"list","member":{"type":"structure","members":{"AddInId":{},"ResourceId":{},"Name":{},"URL":{}}}},"NextToken":{}}}},"DescribeConnectionAliasPermissions":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AliasId":{},"ConnectionAliasPermissions":{"type":"list","member":{"shape":"S3f"}},"NextToken":{}}}},"DescribeConnectionAliases":{"input":{"type":"structure","members":{"AliasIds":{"type":"list","member":{}},"ResourceId":{},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ConnectionAliases":{"type":"list","member":{"type":"structure","members":{"ConnectionString":{},"AliasId":{},"State":{},"OwnerAccountId":{},"Associations":{"type":"list","member":{"type":"structure","members":{"AssociationStatus":{},"AssociatedAccountId":{},"ResourceId":{},"ConnectionIdentifier":{}}}}}}},"NextToken":{}}}},"DescribeIpGroups":{"input":{"type":"structure","members":{"GroupIds":{"shape":"S8"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Result":{"type":"list","member":{"type":"structure","members":{"groupId":{},"groupName":{},"groupDesc":{},"userRules":{"shape":"Sc"}}}},"NextToken":{}}}},"DescribeTags":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{}}},"output":{"type":"structure","members":{"TagList":{"shape":"Sm"}}}},"DescribeWorkspaceBundles":{"input":{"type":"structure","members":{"BundleIds":{"type":"list","member":{}},"Owner":{},"NextToken":{}}},"output":{"type":"structure","members":{"Bundles":{"type":"list","member":{"shape":"S1f"}},"NextToken":{}}}},"DescribeWorkspaceDirectories":{"input":{"type":"structure","members":{"DirectoryIds":{"type":"list","member":{}},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Directories":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"Alias":{},"DirectoryName":{},"RegistrationCode":{},"SubnetIds":{"shape":"S48"},"DnsIpAddresses":{"type":"list","member":{}},"CustomerUserName":{},"IamRoleId":{},"DirectoryType":{},"WorkspaceSecurityGroupId":{},"State":{},"WorkspaceCreationProperties":{"type":"structure","members":{"EnableWorkDocs":{"type":"boolean"},"EnableInternetAccess":{"type":"boolean"},"DefaultOu":{},"CustomSecurityGroupId":{},"UserEnabledAsLocalAdministrator":{"type":"boolean"},"EnableMaintenanceMode":{"type":"boolean"}}},"ipGroupIds":{"shape":"S8"},"WorkspaceAccessProperties":{"shape":"S4g"},"Tenancy":{},"SelfservicePermissions":{"shape":"S4j"}}}},"NextToken":{}}}},"DescribeWorkspaceImagePermissions":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ImageId":{},"ImagePermissions":{"type":"list","member":{"type":"structure","members":{"SharedAccountId":{}}}},"NextToken":{}}}},"DescribeWorkspaceImages":{"input":{"type":"structure","members":{"ImageIds":{"type":"list","member":{}},"ImageType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Images":{"type":"list","member":{"type":"structure","members":{"ImageId":{},"Name":{},"Description":{},"OperatingSystem":{"type":"structure","members":{"Type":{}}},"State":{},"RequiredTenancy":{},"ErrorCode":{},"ErrorMessage":{},"Created":{"type":"timestamp"},"OwnerAccountId":{},"Updates":{"type":"structure","members":{"UpdateAvailable":{"type":"boolean"},"Description":{}}}}}},"NextToken":{}}}},"DescribeWorkspaceSnapshots":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}},"output":{"type":"structure","members":{"RebuildSnapshots":{"shape":"S53"},"RestoreSnapshots":{"shape":"S53"}}}},"DescribeWorkspaces":{"input":{"type":"structure","members":{"WorkspaceIds":{"shape":"S56"},"DirectoryId":{},"UserName":{},"BundleId":{},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Workspaces":{"shape":"S1z"},"NextToken":{}}}},"DescribeWorkspacesConnectionStatus":{"input":{"type":"structure","members":{"WorkspaceIds":{"shape":"S56"},"NextToken":{}}},"output":{"type":"structure","members":{"WorkspacesConnectionStatus":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"ConnectionState":{},"ConnectionStateCheckTimestamp":{"type":"timestamp"},"LastKnownUserConnectionTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"DisassociateConnectionAlias":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{}}},"output":{"type":"structure","members":{}}},"DisassociateIpGroups":{"input":{"type":"structure","required":["DirectoryId","GroupIds"],"members":{"DirectoryId":{},"GroupIds":{"shape":"S8"}}},"output":{"type":"structure","members":{}}},"ImportWorkspaceImage":{"input":{"type":"structure","required":["Ec2ImageId","IngestionProcess","ImageName","ImageDescription"],"members":{"Ec2ImageId":{},"IngestionProcess":{},"ImageName":{},"ImageDescription":{},"Tags":{"shape":"Sm"},"Applications":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ImageId":{}}}},"ListAvailableManagementCidrRanges":{"input":{"type":"structure","required":["ManagementCidrRangeConstraint"],"members":{"ManagementCidrRangeConstraint":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ManagementCidrRanges":{"type":"list","member":{}},"NextToken":{}}}},"MigrateWorkspace":{"input":{"type":"structure","required":["SourceWorkspaceId","BundleId"],"members":{"SourceWorkspaceId":{},"BundleId":{}}},"output":{"type":"structure","members":{"SourceWorkspaceId":{},"TargetWorkspaceId":{}}}},"ModifyAccount":{"input":{"type":"structure","members":{"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{}}},"output":{"type":"structure","members":{}}},"ModifyClientProperties":{"input":{"type":"structure","required":["ResourceId","ClientProperties"],"members":{"ResourceId":{},"ClientProperties":{"shape":"S35"}}},"output":{"type":"structure","members":{}}},"ModifySelfservicePermissions":{"input":{"type":"structure","required":["ResourceId","SelfservicePermissions"],"members":{"ResourceId":{},"SelfservicePermissions":{"shape":"S4j"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceAccessProperties":{"input":{"type":"structure","required":["ResourceId","WorkspaceAccessProperties"],"members":{"ResourceId":{},"WorkspaceAccessProperties":{"shape":"S4g"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceCreationProperties":{"input":{"type":"structure","required":["ResourceId","WorkspaceCreationProperties"],"members":{"ResourceId":{},"WorkspaceCreationProperties":{"type":"structure","members":{"EnableWorkDocs":{"type":"boolean"},"EnableInternetAccess":{"type":"boolean"},"DefaultOu":{},"CustomSecurityGroupId":{},"UserEnabledAsLocalAdministrator":{"type":"boolean"},"EnableMaintenanceMode":{"type":"boolean"}}}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceProperties":{"input":{"type":"structure","required":["WorkspaceId","WorkspaceProperties"],"members":{"WorkspaceId":{},"WorkspaceProperties":{"shape":"S1q"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceState":{"input":{"type":"structure","required":["WorkspaceId","WorkspaceState"],"members":{"WorkspaceId":{},"WorkspaceState":{}}},"output":{"type":"structure","members":{}}},"RebootWorkspaces":{"input":{"type":"structure","required":["RebootWorkspaceRequests"],"members":{"RebootWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S6g"}}}}},"RebuildWorkspaces":{"input":{"type":"structure","required":["RebuildWorkspaceRequests"],"members":{"RebuildWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S6g"}}}}},"RegisterWorkspaceDirectory":{"input":{"type":"structure","required":["DirectoryId","EnableWorkDocs"],"members":{"DirectoryId":{},"SubnetIds":{"shape":"S48"},"EnableWorkDocs":{"type":"boolean"},"EnableSelfService":{"type":"boolean"},"Tenancy":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{}}},"RestoreWorkspace":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}},"output":{"type":"structure","members":{}}},"RevokeIpRules":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"StartWorkspaces":{"input":{"type":"structure","required":["StartWorkspaceRequests"],"members":{"StartWorkspaceRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S6g"}}}}},"StopWorkspaces":{"input":{"type":"structure","required":["StopWorkspaceRequests"],"members":{"StopWorkspaceRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S6g"}}}}},"TerminateWorkspaces":{"input":{"type":"structure","required":["TerminateWorkspaceRequests"],"members":{"TerminateWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"S6g"}}}}},"UpdateConnectClientAddIn":{"input":{"type":"structure","required":["AddInId","ResourceId"],"members":{"AddInId":{},"ResourceId":{},"Name":{},"URL":{}}},"output":{"type":"structure","members":{}}},"UpdateConnectionAliasPermission":{"input":{"type":"structure","required":["AliasId","ConnectionAliasPermission"],"members":{"AliasId":{},"ConnectionAliasPermission":{"shape":"S3f"}}},"output":{"type":"structure","members":{}}},"UpdateRulesOfIpGroup":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"shape":"Sc"}}},"output":{"type":"structure","members":{}}},"UpdateWorkspaceBundle":{"input":{"type":"structure","members":{"BundleId":{},"ImageId":{}}},"output":{"type":"structure","members":{}}},"UpdateWorkspaceImagePermission":{"input":{"type":"structure","required":["ImageId","AllowCopyImage","SharedAccountId"],"members":{"ImageId":{},"AllowCopyImage":{"type":"boolean"},"SharedAccountId":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S8":{"type":"list","member":{}},"Sc":{"type":"list","member":{"type":"structure","members":{"ipRule":{},"ruleDesc":{}}}},"Sm":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"S1a":{"type":"structure","members":{"Name":{}}},"S1c":{"type":"structure","members":{"Capacity":{}}},"S1d":{"type":"structure","members":{"Capacity":{}}},"S1f":{"type":"structure","members":{"BundleId":{},"Name":{},"Owner":{},"Description":{},"ImageId":{},"RootStorage":{"shape":"S1d"},"UserStorage":{"shape":"S1c"},"ComputeType":{"shape":"S1a"},"LastUpdatedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"}}},"S1m":{"type":"structure","required":["DirectoryId","UserName","BundleId"],"members":{"DirectoryId":{},"UserName":{},"BundleId":{},"VolumeEncryptionKey":{},"UserVolumeEncryptionEnabled":{"type":"boolean"},"RootVolumeEncryptionEnabled":{"type":"boolean"},"WorkspaceProperties":{"shape":"S1q"},"Tags":{"shape":"Sm"}}},"S1q":{"type":"structure","members":{"RunningMode":{},"RunningModeAutoStopTimeoutInMinutes":{"type":"integer"},"RootVolumeSizeGib":{"type":"integer"},"UserVolumeSizeGib":{"type":"integer"},"ComputeTypeName":{}}},"S1z":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"DirectoryId":{},"UserName":{},"IpAddress":{},"State":{},"BundleId":{},"SubnetId":{},"ErrorMessage":{},"ErrorCode":{},"ComputerName":{},"VolumeEncryptionKey":{},"UserVolumeEncryptionEnabled":{"type":"boolean"},"RootVolumeEncryptionEnabled":{"type":"boolean"},"WorkspaceProperties":{"shape":"S1q"},"ModificationStates":{"type":"list","member":{"type":"structure","members":{"Resource":{},"State":{}}}}}}},"S35":{"type":"structure","members":{"ReconnectEnabled":{}}},"S3f":{"type":"structure","required":["SharedAccountId","AllowAssociation"],"members":{"SharedAccountId":{},"AllowAssociation":{"type":"boolean"}}},"S48":{"type":"list","member":{}},"S4g":{"type":"structure","members":{"DeviceTypeWindows":{},"DeviceTypeOsx":{},"DeviceTypeWeb":{},"DeviceTypeIos":{},"DeviceTypeAndroid":{},"DeviceTypeChromeOs":{},"DeviceTypeZeroClient":{},"DeviceTypeLinux":{}}},"S4j":{"type":"structure","members":{"RestartWorkspace":{},"IncreaseVolumeSize":{},"ChangeComputeType":{},"SwitchRunningMode":{},"RebuildWorkspace":{}}},"S53":{"type":"list","member":{"type":"structure","members":{"SnapshotTime":{"type":"timestamp"}}}},"S56":{"type":"list","member":{}},"S6g":{"type":"structure","members":{"WorkspaceId":{},"ErrorCode":{},"ErrorMessage":{}}}}} /***/ }), /* 490 */ @@ -48273,7 +48279,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 501 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-05-18","endpointPrefix":"athena","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Athena","serviceId":"Athena","signatureVersion":"v4","targetPrefix":"AmazonAthena","uid":"athena-2017-05-18"},"operations":{"BatchGetNamedQuery":{"input":{"type":"structure","required":["NamedQueryIds"],"members":{"NamedQueryIds":{"shape":"S2"}}},"output":{"type":"structure","members":{"NamedQueries":{"type":"list","member":{"shape":"S6"}},"UnprocessedNamedQueryIds":{"type":"list","member":{"type":"structure","members":{"NamedQueryId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"BatchGetQueryExecution":{"input":{"type":"structure","required":["QueryExecutionIds"],"members":{"QueryExecutionIds":{"shape":"Sh"}}},"output":{"type":"structure","members":{"QueryExecutions":{"type":"list","member":{"shape":"Sl"}},"UnprocessedQueryExecutionIds":{"type":"list","member":{"type":"structure","members":{"QueryExecutionId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"CreateDataCatalog":{"input":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Description":{},"Parameters":{"shape":"S13"},"Tags":{"shape":"S16"}}},"output":{"type":"structure","members":{}}},"CreateNamedQuery":{"input":{"type":"structure","required":["Name","Database","QueryString"],"members":{"Name":{},"Description":{},"Database":{},"QueryString":{},"ClientRequestToken":{"idempotencyToken":true},"WorkGroup":{}}},"output":{"type":"structure","members":{"NamedQueryId":{}}},"idempotent":true},"CreatePreparedStatement":{"input":{"type":"structure","required":["StatementName","WorkGroup","QueryStatement"],"members":{"StatementName":{},"WorkGroup":{},"QueryStatement":{},"Description":{}}},"output":{"type":"structure","members":{}}},"CreateWorkGroup":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Configuration":{"shape":"S1i"},"Description":{},"Tags":{"shape":"S16"}}},"output":{"type":"structure","members":{}}},"DeleteDataCatalog":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteNamedQuery":{"input":{"type":"structure","required":["NamedQueryId"],"members":{"NamedQueryId":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeletePreparedStatement":{"input":{"type":"structure","required":["StatementName","WorkGroup"],"members":{"StatementName":{},"WorkGroup":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkGroup":{"input":{"type":"structure","required":["WorkGroup"],"members":{"WorkGroup":{},"RecursiveDeleteOption":{"type":"boolean"}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetDataCatalog":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"DataCatalog":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Description":{},"Type":{},"Parameters":{"shape":"S13"}}}}}},"GetDatabase":{"input":{"type":"structure","required":["CatalogName","DatabaseName"],"members":{"CatalogName":{},"DatabaseName":{}}},"output":{"type":"structure","members":{"Database":{"shape":"S20"}}}},"GetNamedQuery":{"input":{"type":"structure","required":["NamedQueryId"],"members":{"NamedQueryId":{}}},"output":{"type":"structure","members":{"NamedQuery":{"shape":"S6"}}}},"GetPreparedStatement":{"input":{"type":"structure","required":["StatementName","WorkGroup"],"members":{"StatementName":{},"WorkGroup":{}}},"output":{"type":"structure","members":{"PreparedStatement":{"type":"structure","members":{"StatementName":{},"QueryStatement":{},"WorkGroupName":{},"Description":{},"LastModifiedTime":{"type":"timestamp"}}}}}},"GetQueryExecution":{"input":{"type":"structure","required":["QueryExecutionId"],"members":{"QueryExecutionId":{}}},"output":{"type":"structure","members":{"QueryExecution":{"shape":"Sl"}}}},"GetQueryResults":{"input":{"type":"structure","required":["QueryExecutionId"],"members":{"QueryExecutionId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"UpdateCount":{"type":"long"},"ResultSet":{"type":"structure","members":{"Rows":{"type":"list","member":{"type":"structure","members":{"Data":{"type":"list","member":{"type":"structure","members":{"VarCharValue":{}}}}}}},"ResultSetMetadata":{"type":"structure","members":{"ColumnInfo":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"CatalogName":{},"SchemaName":{},"TableName":{},"Name":{},"Label":{},"Type":{},"Precision":{"type":"integer"},"Scale":{"type":"integer"},"Nullable":{},"CaseSensitive":{"type":"boolean"}}}}}}}},"NextToken":{}}}},"GetTableMetadata":{"input":{"type":"structure","required":["CatalogName","DatabaseName","TableName"],"members":{"CatalogName":{},"DatabaseName":{},"TableName":{}}},"output":{"type":"structure","members":{"TableMetadata":{"shape":"S2q"}}}},"GetWorkGroup":{"input":{"type":"structure","required":["WorkGroup"],"members":{"WorkGroup":{}}},"output":{"type":"structure","members":{"WorkGroup":{"type":"structure","required":["Name"],"members":{"Name":{},"State":{},"Configuration":{"shape":"S1i"},"Description":{},"CreationTime":{"type":"timestamp"}}}}}},"ListDataCatalogs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DataCatalogsSummary":{"type":"list","member":{"type":"structure","members":{"CatalogName":{},"Type":{}}}},"NextToken":{}}}},"ListDatabases":{"input":{"type":"structure","required":["CatalogName"],"members":{"CatalogName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DatabaseList":{"type":"list","member":{"shape":"S20"}},"NextToken":{}}}},"ListEngineVersions":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EngineVersions":{"type":"list","member":{"shape":"Sy"}},"NextToken":{}}}},"ListNamedQueries":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"WorkGroup":{}}},"output":{"type":"structure","members":{"NamedQueryIds":{"shape":"S2"},"NextToken":{}}}},"ListPreparedStatements":{"input":{"type":"structure","required":["WorkGroup"],"members":{"WorkGroup":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PreparedStatements":{"type":"list","member":{"type":"structure","members":{"StatementName":{},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListQueryExecutions":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"WorkGroup":{}}},"output":{"type":"structure","members":{"QueryExecutionIds":{"shape":"Sh"},"NextToken":{}}}},"ListTableMetadata":{"input":{"type":"structure","required":["CatalogName","DatabaseName"],"members":{"CatalogName":{},"DatabaseName":{},"Expression":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"TableMetadataList":{"type":"list","member":{"shape":"S2q"}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S16"},"NextToken":{}}}},"ListWorkGroups":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"WorkGroups":{"type":"list","member":{"type":"structure","members":{"Name":{},"State":{},"Description":{},"CreationTime":{"type":"timestamp"},"EngineVersion":{"shape":"Sy"}}}},"NextToken":{}}}},"StartQueryExecution":{"input":{"type":"structure","required":["QueryString"],"members":{"QueryString":{},"ClientRequestToken":{"idempotencyToken":true},"QueryExecutionContext":{"shape":"Sr"},"ResultConfiguration":{"shape":"Sn"},"WorkGroup":{}}},"output":{"type":"structure","members":{"QueryExecutionId":{}}},"idempotent":true},"StopQueryExecution":{"input":{"type":"structure","required":["QueryExecutionId"],"members":{"QueryExecutionId":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"idempotent":true},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S16"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDataCatalog":{"input":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Description":{},"Parameters":{"shape":"S13"}}},"output":{"type":"structure","members":{}}},"UpdatePreparedStatement":{"input":{"type":"structure","required":["StatementName","WorkGroup","QueryStatement"],"members":{"StatementName":{},"WorkGroup":{},"QueryStatement":{},"Description":{}}},"output":{"type":"structure","members":{}}},"UpdateWorkGroup":{"input":{"type":"structure","required":["WorkGroup"],"members":{"WorkGroup":{},"Description":{},"ConfigurationUpdates":{"type":"structure","members":{"EnforceWorkGroupConfiguration":{"type":"boolean"},"ResultConfigurationUpdates":{"type":"structure","members":{"OutputLocation":{},"RemoveOutputLocation":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sp"},"RemoveEncryptionConfiguration":{"type":"boolean"}}},"PublishCloudWatchMetricsEnabled":{"type":"boolean"},"BytesScannedCutoffPerQuery":{"type":"long"},"RemoveBytesScannedCutoffPerQuery":{"type":"boolean"},"RequesterPaysEnabled":{"type":"boolean"},"EngineVersion":{"shape":"Sy"}}},"State":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S2":{"type":"list","member":{}},"S6":{"type":"structure","required":["Name","Database","QueryString"],"members":{"Name":{},"Description":{},"Database":{},"QueryString":{},"NamedQueryId":{},"WorkGroup":{}}},"Sh":{"type":"list","member":{}},"Sl":{"type":"structure","members":{"QueryExecutionId":{},"Query":{},"StatementType":{},"ResultConfiguration":{"shape":"Sn"},"QueryExecutionContext":{"shape":"Sr"},"Status":{"type":"structure","members":{"State":{},"StateChangeReason":{},"SubmissionDateTime":{"type":"timestamp"},"CompletionDateTime":{"type":"timestamp"}}},"Statistics":{"type":"structure","members":{"EngineExecutionTimeInMillis":{"type":"long"},"DataScannedInBytes":{"type":"long"},"DataManifestLocation":{},"TotalExecutionTimeInMillis":{"type":"long"},"QueryQueueTimeInMillis":{"type":"long"},"QueryPlanningTimeInMillis":{"type":"long"},"ServiceProcessingTimeInMillis":{"type":"long"}}},"WorkGroup":{},"EngineVersion":{"shape":"Sy"}}},"Sn":{"type":"structure","members":{"OutputLocation":{},"EncryptionConfiguration":{"shape":"Sp"}}},"Sp":{"type":"structure","required":["EncryptionOption"],"members":{"EncryptionOption":{},"KmsKey":{}}},"Sr":{"type":"structure","members":{"Database":{},"Catalog":{}}},"Sy":{"type":"structure","members":{"SelectedEngineVersion":{},"EffectiveEngineVersion":{}}},"S13":{"type":"map","key":{},"value":{}},"S16":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"S1i":{"type":"structure","members":{"ResultConfiguration":{"shape":"Sn"},"EnforceWorkGroupConfiguration":{"type":"boolean"},"PublishCloudWatchMetricsEnabled":{"type":"boolean"},"BytesScannedCutoffPerQuery":{"type":"long"},"RequesterPaysEnabled":{"type":"boolean"},"EngineVersion":{"shape":"Sy"}}},"S20":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"Parameters":{"shape":"S13"}}},"S2q":{"type":"structure","required":["Name"],"members":{"Name":{},"CreateTime":{"type":"timestamp"},"LastAccessTime":{"type":"timestamp"},"TableType":{},"Columns":{"shape":"S2t"},"PartitionKeys":{"shape":"S2t"},"Parameters":{"shape":"S13"}}},"S2t":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Type":{},"Comment":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-05-18","endpointPrefix":"athena","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Athena","serviceId":"Athena","signatureVersion":"v4","targetPrefix":"AmazonAthena","uid":"athena-2017-05-18"},"operations":{"BatchGetNamedQuery":{"input":{"type":"structure","required":["NamedQueryIds"],"members":{"NamedQueryIds":{"shape":"S2"}}},"output":{"type":"structure","members":{"NamedQueries":{"type":"list","member":{"shape":"S6"}},"UnprocessedNamedQueryIds":{"type":"list","member":{"type":"structure","members":{"NamedQueryId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"BatchGetQueryExecution":{"input":{"type":"structure","required":["QueryExecutionIds"],"members":{"QueryExecutionIds":{"shape":"Sh"}}},"output":{"type":"structure","members":{"QueryExecutions":{"type":"list","member":{"shape":"Sl"}},"UnprocessedQueryExecutionIds":{"type":"list","member":{"type":"structure","members":{"QueryExecutionId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"CreateDataCatalog":{"input":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Description":{},"Parameters":{"shape":"S16"},"Tags":{"shape":"S19"}}},"output":{"type":"structure","members":{}}},"CreateNamedQuery":{"input":{"type":"structure","required":["Name","Database","QueryString"],"members":{"Name":{},"Description":{},"Database":{},"QueryString":{},"ClientRequestToken":{"idempotencyToken":true},"WorkGroup":{}}},"output":{"type":"structure","members":{"NamedQueryId":{}}},"idempotent":true},"CreatePreparedStatement":{"input":{"type":"structure","required":["StatementName","WorkGroup","QueryStatement"],"members":{"StatementName":{},"WorkGroup":{},"QueryStatement":{},"Description":{}}},"output":{"type":"structure","members":{}}},"CreateWorkGroup":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Configuration":{"shape":"S1l"},"Description":{},"Tags":{"shape":"S19"}}},"output":{"type":"structure","members":{}}},"DeleteDataCatalog":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteNamedQuery":{"input":{"type":"structure","required":["NamedQueryId"],"members":{"NamedQueryId":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeletePreparedStatement":{"input":{"type":"structure","required":["StatementName","WorkGroup"],"members":{"StatementName":{},"WorkGroup":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkGroup":{"input":{"type":"structure","required":["WorkGroup"],"members":{"WorkGroup":{},"RecursiveDeleteOption":{"type":"boolean"}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetDataCatalog":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"DataCatalog":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Description":{},"Type":{},"Parameters":{"shape":"S16"}}}}}},"GetDatabase":{"input":{"type":"structure","required":["CatalogName","DatabaseName"],"members":{"CatalogName":{},"DatabaseName":{}}},"output":{"type":"structure","members":{"Database":{"shape":"S23"}}}},"GetNamedQuery":{"input":{"type":"structure","required":["NamedQueryId"],"members":{"NamedQueryId":{}}},"output":{"type":"structure","members":{"NamedQuery":{"shape":"S6"}}}},"GetPreparedStatement":{"input":{"type":"structure","required":["StatementName","WorkGroup"],"members":{"StatementName":{},"WorkGroup":{}}},"output":{"type":"structure","members":{"PreparedStatement":{"type":"structure","members":{"StatementName":{},"QueryStatement":{},"WorkGroupName":{},"Description":{},"LastModifiedTime":{"type":"timestamp"}}}}}},"GetQueryExecution":{"input":{"type":"structure","required":["QueryExecutionId"],"members":{"QueryExecutionId":{}}},"output":{"type":"structure","members":{"QueryExecution":{"shape":"Sl"}}}},"GetQueryResults":{"input":{"type":"structure","required":["QueryExecutionId"],"members":{"QueryExecutionId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"UpdateCount":{"type":"long"},"ResultSet":{"type":"structure","members":{"Rows":{"type":"list","member":{"type":"structure","members":{"Data":{"type":"list","member":{"type":"structure","members":{"VarCharValue":{}}}}}}},"ResultSetMetadata":{"type":"structure","members":{"ColumnInfo":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"CatalogName":{},"SchemaName":{},"TableName":{},"Name":{},"Label":{},"Type":{},"Precision":{"type":"integer"},"Scale":{"type":"integer"},"Nullable":{},"CaseSensitive":{"type":"boolean"}}}}}}}},"NextToken":{}}}},"GetTableMetadata":{"input":{"type":"structure","required":["CatalogName","DatabaseName","TableName"],"members":{"CatalogName":{},"DatabaseName":{},"TableName":{}}},"output":{"type":"structure","members":{"TableMetadata":{"shape":"S2t"}}}},"GetWorkGroup":{"input":{"type":"structure","required":["WorkGroup"],"members":{"WorkGroup":{}}},"output":{"type":"structure","members":{"WorkGroup":{"type":"structure","required":["Name"],"members":{"Name":{},"State":{},"Configuration":{"shape":"S1l"},"Description":{},"CreationTime":{"type":"timestamp"}}}}}},"ListDataCatalogs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DataCatalogsSummary":{"type":"list","member":{"type":"structure","members":{"CatalogName":{},"Type":{}}}},"NextToken":{}}}},"ListDatabases":{"input":{"type":"structure","required":["CatalogName"],"members":{"CatalogName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DatabaseList":{"type":"list","member":{"shape":"S23"}},"NextToken":{}}}},"ListEngineVersions":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EngineVersions":{"type":"list","member":{"shape":"S11"}},"NextToken":{}}}},"ListNamedQueries":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"WorkGroup":{}}},"output":{"type":"structure","members":{"NamedQueryIds":{"shape":"S2"},"NextToken":{}}}},"ListPreparedStatements":{"input":{"type":"structure","required":["WorkGroup"],"members":{"WorkGroup":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PreparedStatements":{"type":"list","member":{"type":"structure","members":{"StatementName":{},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListQueryExecutions":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"WorkGroup":{}}},"output":{"type":"structure","members":{"QueryExecutionIds":{"shape":"Sh"},"NextToken":{}}}},"ListTableMetadata":{"input":{"type":"structure","required":["CatalogName","DatabaseName"],"members":{"CatalogName":{},"DatabaseName":{},"Expression":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"TableMetadataList":{"type":"list","member":{"shape":"S2t"}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S19"},"NextToken":{}}}},"ListWorkGroups":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"WorkGroups":{"type":"list","member":{"type":"structure","members":{"Name":{},"State":{},"Description":{},"CreationTime":{"type":"timestamp"},"EngineVersion":{"shape":"S11"}}}},"NextToken":{}}}},"StartQueryExecution":{"input":{"type":"structure","required":["QueryString"],"members":{"QueryString":{},"ClientRequestToken":{"idempotencyToken":true},"QueryExecutionContext":{"shape":"Sr"},"ResultConfiguration":{"shape":"Sn"},"WorkGroup":{}}},"output":{"type":"structure","members":{"QueryExecutionId":{}}},"idempotent":true},"StopQueryExecution":{"input":{"type":"structure","required":["QueryExecutionId"],"members":{"QueryExecutionId":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"idempotent":true},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S19"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDataCatalog":{"input":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Description":{},"Parameters":{"shape":"S16"}}},"output":{"type":"structure","members":{}}},"UpdatePreparedStatement":{"input":{"type":"structure","required":["StatementName","WorkGroup","QueryStatement"],"members":{"StatementName":{},"WorkGroup":{},"QueryStatement":{},"Description":{}}},"output":{"type":"structure","members":{}}},"UpdateWorkGroup":{"input":{"type":"structure","required":["WorkGroup"],"members":{"WorkGroup":{},"Description":{},"ConfigurationUpdates":{"type":"structure","members":{"EnforceWorkGroupConfiguration":{"type":"boolean"},"ResultConfigurationUpdates":{"type":"structure","members":{"OutputLocation":{},"RemoveOutputLocation":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sp"},"RemoveEncryptionConfiguration":{"type":"boolean"},"ExpectedBucketOwner":{},"RemoveExpectedBucketOwner":{"type":"boolean"}}},"PublishCloudWatchMetricsEnabled":{"type":"boolean"},"BytesScannedCutoffPerQuery":{"type":"long"},"RemoveBytesScannedCutoffPerQuery":{"type":"boolean"},"RequesterPaysEnabled":{"type":"boolean"},"EngineVersion":{"shape":"S11"}}},"State":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S2":{"type":"list","member":{}},"S6":{"type":"structure","required":["Name","Database","QueryString"],"members":{"Name":{},"Description":{},"Database":{},"QueryString":{},"NamedQueryId":{},"WorkGroup":{}}},"Sh":{"type":"list","member":{}},"Sl":{"type":"structure","members":{"QueryExecutionId":{},"Query":{},"StatementType":{},"ResultConfiguration":{"shape":"Sn"},"QueryExecutionContext":{"shape":"Sr"},"Status":{"type":"structure","members":{"State":{},"StateChangeReason":{},"SubmissionDateTime":{"type":"timestamp"},"CompletionDateTime":{"type":"timestamp"},"AthenaError":{"type":"structure","members":{"ErrorCategory":{"type":"integer"},"ErrorType":{"type":"integer"}}}}},"Statistics":{"type":"structure","members":{"EngineExecutionTimeInMillis":{"type":"long"},"DataScannedInBytes":{"type":"long"},"DataManifestLocation":{},"TotalExecutionTimeInMillis":{"type":"long"},"QueryQueueTimeInMillis":{"type":"long"},"QueryPlanningTimeInMillis":{"type":"long"},"ServiceProcessingTimeInMillis":{"type":"long"}}},"WorkGroup":{},"EngineVersion":{"shape":"S11"}}},"Sn":{"type":"structure","members":{"OutputLocation":{},"EncryptionConfiguration":{"shape":"Sp"},"ExpectedBucketOwner":{}}},"Sp":{"type":"structure","required":["EncryptionOption"],"members":{"EncryptionOption":{},"KmsKey":{}}},"Sr":{"type":"structure","members":{"Database":{},"Catalog":{}}},"S11":{"type":"structure","members":{"SelectedEngineVersion":{},"EffectiveEngineVersion":{}}},"S16":{"type":"map","key":{},"value":{}},"S19":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"S1l":{"type":"structure","members":{"ResultConfiguration":{"shape":"Sn"},"EnforceWorkGroupConfiguration":{"type":"boolean"},"PublishCloudWatchMetricsEnabled":{"type":"boolean"},"BytesScannedCutoffPerQuery":{"type":"long"},"RequesterPaysEnabled":{"type":"boolean"},"EngineVersion":{"shape":"S11"}}},"S23":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"Parameters":{"shape":"S16"}}},"S2t":{"type":"structure","required":["Name"],"members":{"Name":{},"CreateTime":{"type":"timestamp"},"LastAccessTime":{"type":"timestamp"},"TableType":{},"Columns":{"shape":"S2w"},"PartitionKeys":{"shape":"S2w"},"Parameters":{"shape":"S16"}}},"S2w":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Type":{},"Comment":{}}}}}} /***/ }), /* 502 */ @@ -48446,7 +48452,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 515 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-03-31","endpointPrefix":"glue","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Glue","serviceId":"Glue","signatureVersion":"v4","targetPrefix":"AWSGlue","uid":"glue-2017-03-31"},"operations":{"BatchCreatePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionInputList"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionInputList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"Errors":{"shape":"S12"}}}},"BatchDeleteConnection":{"input":{"type":"structure","required":["ConnectionNameList"],"members":{"CatalogId":{},"ConnectionNameList":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Succeeded":{"shape":"Sn"},"Errors":{"type":"map","key":{},"value":{"shape":"S14"}}}}},"BatchDeletePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionsToDelete"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionsToDelete":{"type":"list","member":{"shape":"S1c"}}}},"output":{"type":"structure","members":{"Errors":{"shape":"S12"}}}},"BatchDeleteTable":{"input":{"type":"structure","required":["DatabaseName","TablesToDelete"],"members":{"CatalogId":{},"DatabaseName":{},"TablesToDelete":{"type":"list","member":{}},"TransactionId":{}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"TableName":{},"ErrorDetail":{"shape":"S14"}}}}}}},"BatchDeleteTableVersion":{"input":{"type":"structure","required":["DatabaseName","TableName","VersionIds"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"VersionIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"TableName":{},"VersionId":{},"ErrorDetail":{"shape":"S14"}}}}}}},"BatchGetBlueprints":{"input":{"type":"structure","required":["Names"],"members":{"Names":{"type":"list","member":{}},"IncludeBlueprint":{"type":"boolean"},"IncludeParameterSpec":{"type":"boolean"}}},"output":{"type":"structure","members":{"Blueprints":{"type":"list","member":{"shape":"S1w"}},"MissingBlueprints":{"shape":"S24"}}}},"BatchGetCrawlers":{"input":{"type":"structure","required":["CrawlerNames"],"members":{"CrawlerNames":{"shape":"S26"}}},"output":{"type":"structure","members":{"Crawlers":{"shape":"S28"},"CrawlersNotFound":{"shape":"S26"}}}},"BatchGetDevEndpoints":{"input":{"type":"structure","required":["DevEndpointNames"],"members":{"DevEndpointNames":{"shape":"S3l"}}},"output":{"type":"structure","members":{"DevEndpoints":{"shape":"S3n"},"DevEndpointsNotFound":{"shape":"S3l"}}}},"BatchGetJobs":{"input":{"type":"structure","required":["JobNames"],"members":{"JobNames":{"shape":"S3x"}}},"output":{"type":"structure","members":{"Jobs":{"shape":"S3z"},"JobsNotFound":{"shape":"S3x"}}}},"BatchGetPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionsToGet"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionsToGet":{"shape":"S4g"}}},"output":{"type":"structure","members":{"Partitions":{"shape":"S4i"},"UnprocessedKeys":{"shape":"S4g"}}}},"BatchGetTriggers":{"input":{"type":"structure","required":["TriggerNames"],"members":{"TriggerNames":{"shape":"S4l"}}},"output":{"type":"structure","members":{"Triggers":{"shape":"S4n"},"TriggersNotFound":{"shape":"S4l"}}}},"BatchGetWorkflows":{"input":{"type":"structure","required":["Names"],"members":{"Names":{"shape":"S55"},"IncludeGraph":{"type":"boolean"}}},"output":{"type":"structure","members":{"Workflows":{"type":"list","member":{"shape":"S58"}},"MissingWorkflows":{"shape":"S55"}}}},"BatchStopJobRun":{"input":{"type":"structure","required":["JobName","JobRunIds"],"members":{"JobName":{},"JobRunIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"SuccessfulSubmissions":{"type":"list","member":{"type":"structure","members":{"JobName":{},"JobRunId":{}}}},"Errors":{"type":"list","member":{"type":"structure","members":{"JobName":{},"JobRunId":{},"ErrorDetail":{"shape":"S14"}}}}}}},"BatchUpdatePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","Entries"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"Entries":{"type":"list","member":{"type":"structure","required":["PartitionValueList","PartitionInput"],"members":{"PartitionValueList":{"shape":"S66"},"PartitionInput":{"shape":"S5"}}}}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"PartitionValueList":{"shape":"S66"},"ErrorDetail":{"shape":"S14"}}}}}}},"CancelMLTaskRun":{"input":{"type":"structure","required":["TransformId","TaskRunId"],"members":{"TransformId":{},"TaskRunId":{}}},"output":{"type":"structure","members":{"TransformId":{},"TaskRunId":{},"Status":{}}}},"CheckSchemaVersionValidity":{"input":{"type":"structure","required":["DataFormat","SchemaDefinition"],"members":{"DataFormat":{},"SchemaDefinition":{}}},"output":{"type":"structure","members":{"Valid":{"type":"boolean"},"Error":{}}}},"CreateBlueprint":{"input":{"type":"structure","required":["Name","BlueprintLocation"],"members":{"Name":{},"Description":{},"BlueprintLocation":{},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"Name":{}}}},"CreateClassifier":{"input":{"type":"structure","members":{"GrokClassifier":{"type":"structure","required":["Classification","Name","GrokPattern"],"members":{"Classification":{},"Name":{},"GrokPattern":{},"CustomPatterns":{}}},"XMLClassifier":{"type":"structure","required":["Classification","Name"],"members":{"Classification":{},"Name":{},"RowTag":{}}},"JsonClassifier":{"type":"structure","required":["Name","JsonPath"],"members":{"Name":{},"JsonPath":{}}},"CsvClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"Delimiter":{},"QuoteSymbol":{},"ContainsHeader":{},"Header":{"shape":"S73"},"DisableValueTrimming":{"type":"boolean"},"AllowSingleColumn":{"type":"boolean"}}}}},"output":{"type":"structure","members":{}}},"CreateConnection":{"input":{"type":"structure","required":["ConnectionInput"],"members":{"CatalogId":{},"ConnectionInput":{"shape":"S76"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{}}},"CreateCrawler":{"input":{"type":"structure","required":["Name","Role","Targets"],"members":{"Name":{},"Role":{},"DatabaseName":{},"Description":{},"Targets":{"shape":"S2b"},"Schedule":{},"Classifiers":{"shape":"S2w"},"TablePrefix":{},"SchemaChangePolicy":{"shape":"S2z"},"RecrawlPolicy":{"shape":"S2x"},"LineageConfiguration":{"shape":"S32"},"LakeFormationConfiguration":{"shape":"S3i"},"Configuration":{},"CrawlerSecurityConfiguration":{},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{}}},"CreateDatabase":{"input":{"type":"structure","required":["DatabaseInput"],"members":{"CatalogId":{},"DatabaseInput":{"shape":"S7h"}}},"output":{"type":"structure","members":{}}},"CreateDevEndpoint":{"input":{"type":"structure","required":["EndpointName","RoleArn"],"members":{"EndpointName":{},"RoleArn":{},"SecurityGroupIds":{"shape":"S3q"},"SubnetId":{},"PublicKey":{},"PublicKeys":{"shape":"S3u"},"NumberOfNodes":{"type":"integer"},"WorkerType":{},"GlueVersion":{},"NumberOfWorkers":{"type":"integer"},"ExtraPythonLibsS3Path":{},"ExtraJarsS3Path":{},"SecurityConfiguration":{},"Tags":{"shape":"S6m"},"Arguments":{"shape":"S3v"}}},"output":{"type":"structure","members":{"EndpointName":{},"Status":{},"SecurityGroupIds":{"shape":"S3q"},"SubnetId":{},"RoleArn":{},"YarnEndpointAddress":{},"ZeppelinRemoteSparkInterpreterPort":{"type":"integer"},"NumberOfNodes":{"type":"integer"},"WorkerType":{},"GlueVersion":{},"NumberOfWorkers":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"ExtraPythonLibsS3Path":{},"ExtraJarsS3Path":{},"FailureReason":{},"SecurityConfiguration":{},"CreatedTimestamp":{"type":"timestamp"},"Arguments":{"shape":"S3v"}}}},"CreateJob":{"input":{"type":"structure","required":["Name","Role","Command"],"members":{"Name":{},"Description":{},"LogUri":{},"Role":{},"ExecutionProperty":{"shape":"S43"},"Command":{"shape":"S45"},"DefaultArguments":{"shape":"S48"},"NonOverridableArguments":{"shape":"S48"},"Connections":{"shape":"S49"},"MaxRetries":{"type":"integer"},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"SecurityConfiguration":{},"Tags":{"shape":"S6m"},"NotificationProperty":{"shape":"S4d"},"GlueVersion":{},"NumberOfWorkers":{"type":"integer"},"WorkerType":{}}},"output":{"type":"structure","members":{"Name":{}}}},"CreateMLTransform":{"input":{"type":"structure","required":["Name","InputRecordTables","Parameters","Role"],"members":{"Name":{},"Description":{},"InputRecordTables":{"shape":"S7w"},"Parameters":{"shape":"S7y"},"Role":{},"GlueVersion":{},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"Timeout":{"type":"integer"},"MaxRetries":{"type":"integer"},"Tags":{"shape":"S6m"},"TransformEncryption":{"shape":"S83"}}},"output":{"type":"structure","members":{"TransformId":{}}}},"CreatePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionInput"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionInput":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"CreatePartitionIndex":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionIndex"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionIndex":{"shape":"S8a"}}},"output":{"type":"structure","members":{}}},"CreateRegistry":{"input":{"type":"structure","required":["RegistryName"],"members":{"RegistryName":{},"Description":{},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"RegistryArn":{},"RegistryName":{},"Description":{},"Tags":{"shape":"S6m"}}}},"CreateSchema":{"input":{"type":"structure","required":["SchemaName","DataFormat"],"members":{"RegistryId":{"shape":"S8g"},"SchemaName":{},"DataFormat":{},"Compatibility":{},"Description":{},"Tags":{"shape":"S6m"},"SchemaDefinition":{}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"SchemaName":{},"SchemaArn":{},"Description":{},"DataFormat":{},"Compatibility":{},"SchemaCheckpoint":{"type":"long"},"LatestSchemaVersion":{"type":"long"},"NextSchemaVersion":{"type":"long"},"SchemaStatus":{},"Tags":{"shape":"S6m"},"SchemaVersionId":{},"SchemaVersionStatus":{}}}},"CreateScript":{"input":{"type":"structure","members":{"DagNodes":{"shape":"S8n"},"DagEdges":{"shape":"S8v"},"Language":{}}},"output":{"type":"structure","members":{"PythonScript":{},"ScalaCode":{}}}},"CreateSecurityConfiguration":{"input":{"type":"structure","required":["Name","EncryptionConfiguration"],"members":{"Name":{},"EncryptionConfiguration":{"shape":"S92"}}},"output":{"type":"structure","members":{"Name":{},"CreatedTimestamp":{"type":"timestamp"}}}},"CreateTable":{"input":{"type":"structure","required":["DatabaseName","TableInput"],"members":{"CatalogId":{},"DatabaseName":{},"TableInput":{"shape":"S9d"},"PartitionIndexes":{"type":"list","member":{"shape":"S8a"}},"TransactionId":{}}},"output":{"type":"structure","members":{}}},"CreateTrigger":{"input":{"type":"structure","required":["Name","Type","Actions"],"members":{"Name":{},"WorkflowName":{},"Type":{},"Schedule":{},"Predicate":{"shape":"S4u"},"Actions":{"shape":"S4s"},"Description":{},"StartOnCreation":{"type":"boolean"},"Tags":{"shape":"S6m"},"EventBatchingCondition":{"shape":"S51"}}},"output":{"type":"structure","members":{"Name":{}}}},"CreateUserDefinedFunction":{"input":{"type":"structure","required":["DatabaseName","FunctionInput"],"members":{"CatalogId":{},"DatabaseName":{},"FunctionInput":{"shape":"S9o"}}},"output":{"type":"structure","members":{}}},"CreateWorkflow":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"DefaultRunProperties":{"shape":"S59"},"Tags":{"shape":"S6m"},"MaxConcurrentRuns":{"type":"integer"}}},"output":{"type":"structure","members":{"Name":{}}}},"DeleteBlueprint":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"DeleteClassifier":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteColumnStatisticsForPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues","ColumnName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"},"ColumnName":{}}},"output":{"type":"structure","members":{}}},"DeleteColumnStatisticsForTable":{"input":{"type":"structure","required":["DatabaseName","TableName","ColumnName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"ColumnName":{}}},"output":{"type":"structure","members":{}}},"DeleteConnection":{"input":{"type":"structure","required":["ConnectionName"],"members":{"CatalogId":{},"ConnectionName":{}}},"output":{"type":"structure","members":{}}},"DeleteCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteDatabase":{"input":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteDevEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{}}},"output":{"type":"structure","members":{}}},"DeleteJob":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{}}},"output":{"type":"structure","members":{"JobName":{}}}},"DeleteMLTransform":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{}}},"output":{"type":"structure","members":{"TransformId":{}}}},"DeletePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"}}},"output":{"type":"structure","members":{}}},"DeletePartitionIndex":{"input":{"type":"structure","required":["DatabaseName","TableName","IndexName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"IndexName":{}}},"output":{"type":"structure","members":{}}},"DeleteRegistry":{"input":{"type":"structure","required":["RegistryId"],"members":{"RegistryId":{"shape":"S8g"}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"Status":{}}}},"DeleteResourcePolicy":{"input":{"type":"structure","members":{"PolicyHashCondition":{},"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeleteSchema":{"input":{"type":"structure","required":["SchemaId"],"members":{"SchemaId":{"shape":"Sw"}}},"output":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"Status":{}}}},"DeleteSchemaVersions":{"input":{"type":"structure","required":["SchemaId","Versions"],"members":{"SchemaId":{"shape":"Sw"},"Versions":{}}},"output":{"type":"structure","members":{"SchemaVersionErrors":{"type":"list","member":{"type":"structure","members":{"VersionNumber":{"type":"long"},"ErrorDetails":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}}}}}}},"DeleteSecurityConfiguration":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteTable":{"input":{"type":"structure","required":["DatabaseName","Name"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"TransactionId":{}}},"output":{"type":"structure","members":{}}},"DeleteTableVersion":{"input":{"type":"structure","required":["DatabaseName","TableName","VersionId"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"VersionId":{}}},"output":{"type":"structure","members":{}}},"DeleteTrigger":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"DeleteUserDefinedFunction":{"input":{"type":"structure","required":["DatabaseName","FunctionName"],"members":{"CatalogId":{},"DatabaseName":{},"FunctionName":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkflow":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"GetBlueprint":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"IncludeBlueprint":{"type":"boolean"},"IncludeParameterSpec":{"type":"boolean"}}},"output":{"type":"structure","members":{"Blueprint":{"shape":"S1w"}}}},"GetBlueprintRun":{"input":{"type":"structure","required":["BlueprintName","RunId"],"members":{"BlueprintName":{},"RunId":{}}},"output":{"type":"structure","members":{"BlueprintRun":{"shape":"Sbf"}}}},"GetBlueprintRuns":{"input":{"type":"structure","required":["BlueprintName"],"members":{"BlueprintName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"BlueprintRuns":{"type":"list","member":{"shape":"Sbf"}},"NextToken":{}}}},"GetCatalogImportStatus":{"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{"ImportStatus":{"type":"structure","members":{"ImportCompleted":{"type":"boolean"},"ImportTime":{"type":"timestamp"},"ImportedBy":{}}}}}},"GetClassifier":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Classifier":{"shape":"Sbt"}}}},"GetClassifiers":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Classifiers":{"type":"list","member":{"shape":"Sbt"}},"NextToken":{}}}},"GetColumnStatisticsForPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues","ColumnNames"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"},"ColumnNames":{"shape":"Sc3"}}},"output":{"type":"structure","members":{"ColumnStatisticsList":{"shape":"Sc5"},"Errors":{"shape":"Scn"}}}},"GetColumnStatisticsForTable":{"input":{"type":"structure","required":["DatabaseName","TableName","ColumnNames"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"ColumnNames":{"shape":"Sc3"}}},"output":{"type":"structure","members":{"ColumnStatisticsList":{"shape":"Sc5"},"Errors":{"shape":"Scn"}}}},"GetConnection":{"input":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{},"HidePassword":{"type":"boolean"}}},"output":{"type":"structure","members":{"Connection":{"shape":"Sct"}}}},"GetConnections":{"input":{"type":"structure","members":{"CatalogId":{},"Filter":{"type":"structure","members":{"MatchCriteria":{"shape":"S78"},"ConnectionType":{}}},"HidePassword":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ConnectionList":{"type":"list","member":{"shape":"Sct"}},"NextToken":{}}}},"GetCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Crawler":{"shape":"S29"}}}},"GetCrawlerMetrics":{"input":{"type":"structure","members":{"CrawlerNameList":{"shape":"S26"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"CrawlerMetricsList":{"type":"list","member":{"type":"structure","members":{"CrawlerName":{},"TimeLeftSeconds":{"type":"double"},"StillEstimating":{"type":"boolean"},"LastRuntimeSeconds":{"type":"double"},"MedianRuntimeSeconds":{"type":"double"},"TablesCreated":{"type":"integer"},"TablesUpdated":{"type":"integer"},"TablesDeleted":{"type":"integer"}}}},"NextToken":{}}}},"GetCrawlers":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Crawlers":{"shape":"S28"},"NextToken":{}}}},"GetDataCatalogEncryptionSettings":{"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{"DataCatalogEncryptionSettings":{"shape":"Sd8"}}}},"GetDatabase":{"input":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{}}},"output":{"type":"structure","members":{"Database":{"shape":"Sde"}}}},"GetDatabases":{"input":{"type":"structure","members":{"CatalogId":{},"NextToken":{},"MaxResults":{"type":"integer"},"ResourceShareType":{}}},"output":{"type":"structure","required":["DatabaseList"],"members":{"DatabaseList":{"type":"list","member":{"shape":"Sde"}},"NextToken":{}}}},"GetDataflowGraph":{"input":{"type":"structure","members":{"PythonScript":{}}},"output":{"type":"structure","members":{"DagNodes":{"shape":"S8n"},"DagEdges":{"shape":"S8v"}}}},"GetDevEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{}}},"output":{"type":"structure","members":{"DevEndpoint":{"shape":"S3o"}}}},"GetDevEndpoints":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DevEndpoints":{"shape":"S3n"},"NextToken":{}}}},"GetJob":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{}}},"output":{"type":"structure","members":{"Job":{"shape":"S40"}}}},"GetJobBookmark":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{},"RunId":{}}},"output":{"type":"structure","members":{"JobBookmarkEntry":{"shape":"Sdw"}}}},"GetJobRun":{"input":{"type":"structure","required":["JobName","RunId"],"members":{"JobName":{},"RunId":{},"PredecessorsIncluded":{"type":"boolean"}}},"output":{"type":"structure","members":{"JobRun":{"shape":"S5k"}}}},"GetJobRuns":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"JobRuns":{"shape":"S5j"},"NextToken":{}}}},"GetJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Jobs":{"shape":"S3z"},"NextToken":{}}}},"GetMLTaskRun":{"input":{"type":"structure","required":["TransformId","TaskRunId"],"members":{"TransformId":{},"TaskRunId":{}}},"output":{"type":"structure","members":{"TransformId":{},"TaskRunId":{},"Status":{},"LogGroupName":{},"Properties":{"shape":"Se6"},"ErrorString":{},"StartedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"ExecutionTime":{"type":"integer"}}}},"GetMLTaskRuns":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filter":{"type":"structure","members":{"TaskRunType":{},"Status":{},"StartedBefore":{"type":"timestamp"},"StartedAfter":{"type":"timestamp"}}},"Sort":{"type":"structure","required":["Column","SortDirection"],"members":{"Column":{},"SortDirection":{}}}}},"output":{"type":"structure","members":{"TaskRuns":{"type":"list","member":{"type":"structure","members":{"TransformId":{},"TaskRunId":{},"Status":{},"LogGroupName":{},"Properties":{"shape":"Se6"},"ErrorString":{},"StartedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"ExecutionTime":{"type":"integer"}}}},"NextToken":{}}}},"GetMLTransform":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{}}},"output":{"type":"structure","members":{"TransformId":{},"Name":{},"Description":{},"Status":{},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"InputRecordTables":{"shape":"S7w"},"Parameters":{"shape":"S7y"},"EvaluationMetrics":{"shape":"Sep"},"LabelCount":{"type":"integer"},"Schema":{"shape":"Sew"},"Role":{},"GlueVersion":{},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"Timeout":{"type":"integer"},"MaxRetries":{"type":"integer"},"TransformEncryption":{"shape":"S83"}}}},"GetMLTransforms":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Filter":{"shape":"Sez"},"Sort":{"shape":"Sf0"}}},"output":{"type":"structure","required":["Transforms"],"members":{"Transforms":{"type":"list","member":{"type":"structure","members":{"TransformId":{},"Name":{},"Description":{},"Status":{},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"InputRecordTables":{"shape":"S7w"},"Parameters":{"shape":"S7y"},"EvaluationMetrics":{"shape":"Sep"},"LabelCount":{"type":"integer"},"Schema":{"shape":"Sew"},"Role":{},"GlueVersion":{},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"Timeout":{"type":"integer"},"MaxRetries":{"type":"integer"},"TransformEncryption":{"shape":"S83"}}}},"NextToken":{}}}},"GetMapping":{"input":{"type":"structure","required":["Source"],"members":{"Source":{"shape":"Sf6"},"Sinks":{"shape":"Sf7"},"Location":{"shape":"Sf8"}}},"output":{"type":"structure","required":["Mapping"],"members":{"Mapping":{"shape":"Sfa"}}}},"GetPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"}}},"output":{"type":"structure","members":{"Partition":{"shape":"S4j"}}}},"GetPartitionIndexes":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"NextToken":{}}},"output":{"type":"structure","members":{"PartitionIndexDescriptorList":{"type":"list","member":{"type":"structure","required":["IndexName","Keys","IndexStatus"],"members":{"IndexName":{},"Keys":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{}}}},"IndexStatus":{},"BackfillErrors":{"type":"list","member":{"type":"structure","members":{"Code":{},"Partitions":{"type":"list","member":{"shape":"S1c"}}}}}}}},"NextToken":{}}}},"GetPartitions":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"Expression":{},"NextToken":{},"Segment":{"shape":"Sfu"},"MaxResults":{"type":"integer"},"ExcludeColumnSchema":{"type":"boolean"},"TransactionId":{},"QueryAsOfTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"Partitions":{"shape":"S4i"},"NextToken":{}}}},"GetPlan":{"input":{"type":"structure","required":["Mapping","Source"],"members":{"Mapping":{"shape":"Sfa"},"Source":{"shape":"Sf6"},"Sinks":{"shape":"Sf7"},"Location":{"shape":"Sf8"},"Language":{},"AdditionalPlanOptionsMap":{"type":"map","key":{},"value":{}}}},"output":{"type":"structure","members":{"PythonScript":{},"ScalaCode":{}}}},"GetRegistry":{"input":{"type":"structure","required":["RegistryId"],"members":{"RegistryId":{"shape":"S8g"}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"Description":{},"Status":{},"CreatedTime":{},"UpdatedTime":{}}}},"GetResourcePolicies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"GetResourcePoliciesResponseList":{"type":"list","member":{"type":"structure","members":{"PolicyInJson":{},"PolicyHash":{},"CreateTime":{"type":"timestamp"},"UpdateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"GetResourcePolicy":{"input":{"type":"structure","members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"PolicyInJson":{},"PolicyHash":{},"CreateTime":{"type":"timestamp"},"UpdateTime":{"type":"timestamp"}}}},"GetSchema":{"input":{"type":"structure","required":["SchemaId"],"members":{"SchemaId":{"shape":"Sw"}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"SchemaName":{},"SchemaArn":{},"Description":{},"DataFormat":{},"Compatibility":{},"SchemaCheckpoint":{"type":"long"},"LatestSchemaVersion":{"type":"long"},"NextSchemaVersion":{"type":"long"},"SchemaStatus":{},"CreatedTime":{},"UpdatedTime":{}}}},"GetSchemaByDefinition":{"input":{"type":"structure","required":["SchemaId","SchemaDefinition"],"members":{"SchemaId":{"shape":"Sw"},"SchemaDefinition":{}}},"output":{"type":"structure","members":{"SchemaVersionId":{},"SchemaArn":{},"DataFormat":{},"Status":{},"CreatedTime":{}}}},"GetSchemaVersion":{"input":{"type":"structure","members":{"SchemaId":{"shape":"Sw"},"SchemaVersionId":{},"SchemaVersionNumber":{"shape":"Sgh"}}},"output":{"type":"structure","members":{"SchemaVersionId":{},"SchemaDefinition":{},"DataFormat":{},"SchemaArn":{},"VersionNumber":{"type":"long"},"Status":{},"CreatedTime":{}}}},"GetSchemaVersionsDiff":{"input":{"type":"structure","required":["SchemaId","FirstSchemaVersionNumber","SecondSchemaVersionNumber","SchemaDiffType"],"members":{"SchemaId":{"shape":"Sw"},"FirstSchemaVersionNumber":{"shape":"Sgh"},"SecondSchemaVersionNumber":{"shape":"Sgh"},"SchemaDiffType":{}}},"output":{"type":"structure","members":{"Diff":{}}}},"GetSecurityConfiguration":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"SecurityConfiguration":{"shape":"Sgq"}}}},"GetSecurityConfigurations":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"SecurityConfigurations":{"type":"list","member":{"shape":"Sgq"}},"NextToken":{}}}},"GetTable":{"input":{"type":"structure","required":["DatabaseName","Name"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"TransactionId":{},"QueryAsOfTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"Table":{"shape":"Sgw"}}}},"GetTableVersion":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"VersionId":{}}},"output":{"type":"structure","members":{"TableVersion":{"shape":"Sgz"}}}},"GetTableVersions":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"TableVersions":{"type":"list","member":{"shape":"Sgz"}},"NextToken":{}}}},"GetTables":{"input":{"type":"structure","required":["DatabaseName"],"members":{"CatalogId":{},"DatabaseName":{},"Expression":{},"NextToken":{},"MaxResults":{"type":"integer"},"TransactionId":{},"QueryAsOfTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"TableList":{"shape":"Sh6"},"NextToken":{}}}},"GetTags":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S6m"}}}},"GetTrigger":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Trigger":{"shape":"S4o"}}}},"GetTriggers":{"input":{"type":"structure","members":{"NextToken":{},"DependentJobName":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Triggers":{"shape":"S4n"},"NextToken":{}}}},"GetUnfilteredPartitionMetadata":{"input":{"type":"structure","required":["CatalogId","DatabaseName","TableName","PartitionValues","SupportedPermissionTypes"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"},"AuditContext":{"shape":"She"},"SupportedPermissionTypes":{"shape":"Shg"}}},"output":{"type":"structure","members":{"Partition":{"shape":"S4j"},"AuthorizedColumns":{"shape":"Sn"},"IsRegisteredWithLakeFormation":{"type":"boolean"}}}},"GetUnfilteredPartitionsMetadata":{"input":{"type":"structure","required":["CatalogId","DatabaseName","TableName","SupportedPermissionTypes"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"Expression":{},"AuditContext":{"shape":"She"},"SupportedPermissionTypes":{"shape":"Shg"},"NextToken":{},"Segment":{"shape":"Sfu"},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"UnfilteredPartitions":{"type":"list","member":{"type":"structure","members":{"Partition":{"shape":"S4j"},"AuthorizedColumns":{"shape":"Sn"},"IsRegisteredWithLakeFormation":{"type":"boolean"}}}},"NextToken":{}}}},"GetUnfilteredTableMetadata":{"input":{"type":"structure","required":["CatalogId","DatabaseName","Name","SupportedPermissionTypes"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"AuditContext":{"shape":"She"},"SupportedPermissionTypes":{"shape":"Shg"}}},"output":{"type":"structure","members":{"Table":{"shape":"Sgw"},"AuthorizedColumns":{"shape":"Sn"},"IsRegisteredWithLakeFormation":{"type":"boolean"},"CellFilters":{"type":"list","member":{"type":"structure","members":{"ColumnName":{},"RowFilterExpression":{}}}}}}},"GetUserDefinedFunction":{"input":{"type":"structure","required":["DatabaseName","FunctionName"],"members":{"CatalogId":{},"DatabaseName":{},"FunctionName":{}}},"output":{"type":"structure","members":{"UserDefinedFunction":{"shape":"Sht"}}}},"GetUserDefinedFunctions":{"input":{"type":"structure","required":["Pattern"],"members":{"CatalogId":{},"DatabaseName":{},"Pattern":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"UserDefinedFunctions":{"type":"list","member":{"shape":"Sht"}},"NextToken":{}}}},"GetWorkflow":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"IncludeGraph":{"type":"boolean"}}},"output":{"type":"structure","members":{"Workflow":{"shape":"S58"}}}},"GetWorkflowRun":{"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{},"RunId":{},"IncludeGraph":{"type":"boolean"}}},"output":{"type":"structure","members":{"Run":{"shape":"S5a"}}}},"GetWorkflowRunProperties":{"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{},"RunId":{}}},"output":{"type":"structure","members":{"RunProperties":{"shape":"S59"}}}},"GetWorkflowRuns":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"IncludeGraph":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Runs":{"type":"list","member":{"shape":"S5a"}},"NextToken":{}}}},"ImportCatalogToGlue":{"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{}}},"ListBlueprints":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"Blueprints":{"shape":"S24"},"NextToken":{}}}},"ListCrawlers":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"CrawlerNames":{"shape":"S26"},"NextToken":{}}}},"ListDevEndpoints":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"DevEndpointNames":{"type":"list","member":{}},"NextToken":{}}}},"ListJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"JobNames":{"shape":"S3x"},"NextToken":{}}}},"ListMLTransforms":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Filter":{"shape":"Sez"},"Sort":{"shape":"Sf0"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","required":["TransformIds"],"members":{"TransformIds":{"type":"list","member":{}},"NextToken":{}}}},"ListRegistries":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Registries":{"type":"list","member":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"Description":{},"Status":{},"CreatedTime":{},"UpdatedTime":{}}}},"NextToken":{}}}},"ListSchemaVersions":{"input":{"type":"structure","required":["SchemaId"],"members":{"SchemaId":{"shape":"Sw"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Schemas":{"type":"list","member":{"type":"structure","members":{"SchemaArn":{},"SchemaVersionId":{},"VersionNumber":{"type":"long"},"Status":{},"CreatedTime":{}}}},"NextToken":{}}}},"ListSchemas":{"input":{"type":"structure","members":{"RegistryId":{"shape":"S8g"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Schemas":{"type":"list","member":{"type":"structure","members":{"RegistryName":{},"SchemaName":{},"SchemaArn":{},"Description":{},"SchemaStatus":{},"CreatedTime":{},"UpdatedTime":{}}}},"NextToken":{}}}},"ListTriggers":{"input":{"type":"structure","members":{"NextToken":{},"DependentJobName":{},"MaxResults":{"type":"integer"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"TriggerNames":{"shape":"S4l"},"NextToken":{}}}},"ListWorkflows":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Workflows":{"shape":"S55"},"NextToken":{}}}},"PutDataCatalogEncryptionSettings":{"input":{"type":"structure","required":["DataCatalogEncryptionSettings"],"members":{"CatalogId":{},"DataCatalogEncryptionSettings":{"shape":"Sd8"}}},"output":{"type":"structure","members":{}}},"PutResourcePolicy":{"input":{"type":"structure","required":["PolicyInJson"],"members":{"PolicyInJson":{},"ResourceArn":{},"PolicyHashCondition":{},"PolicyExistsCondition":{},"EnableHybrid":{}}},"output":{"type":"structure","members":{"PolicyHash":{}}}},"PutSchemaVersionMetadata":{"input":{"type":"structure","required":["MetadataKeyValue"],"members":{"SchemaId":{"shape":"Sw"},"SchemaVersionNumber":{"shape":"Sgh"},"SchemaVersionId":{},"MetadataKeyValue":{"shape":"Sj9"}}},"output":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"RegistryName":{},"LatestVersion":{"type":"boolean"},"VersionNumber":{"type":"long"},"SchemaVersionId":{},"MetadataKey":{},"MetadataValue":{}}}},"PutWorkflowRunProperties":{"input":{"type":"structure","required":["Name","RunId","RunProperties"],"members":{"Name":{},"RunId":{},"RunProperties":{"shape":"S59"}}},"output":{"type":"structure","members":{}}},"QuerySchemaVersionMetadata":{"input":{"type":"structure","members":{"SchemaId":{"shape":"Sw"},"SchemaVersionNumber":{"shape":"Sgh"},"SchemaVersionId":{},"MetadataList":{"type":"list","member":{"shape":"Sj9"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"MetadataInfoMap":{"type":"map","key":{},"value":{"type":"structure","members":{"MetadataValue":{},"CreatedTime":{},"OtherMetadataValueList":{"type":"list","member":{"type":"structure","members":{"MetadataValue":{},"CreatedTime":{}}}}}}},"SchemaVersionId":{},"NextToken":{}}}},"RegisterSchemaVersion":{"input":{"type":"structure","required":["SchemaId","SchemaDefinition"],"members":{"SchemaId":{"shape":"Sw"},"SchemaDefinition":{}}},"output":{"type":"structure","members":{"SchemaVersionId":{},"VersionNumber":{"type":"long"},"Status":{}}}},"RemoveSchemaVersionMetadata":{"input":{"type":"structure","required":["MetadataKeyValue"],"members":{"SchemaId":{"shape":"Sw"},"SchemaVersionNumber":{"shape":"Sgh"},"SchemaVersionId":{},"MetadataKeyValue":{"shape":"Sj9"}}},"output":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"RegistryName":{},"LatestVersion":{"type":"boolean"},"VersionNumber":{"type":"long"},"SchemaVersionId":{},"MetadataKey":{},"MetadataValue":{}}}},"ResetJobBookmark":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{},"RunId":{}}},"output":{"type":"structure","members":{"JobBookmarkEntry":{"shape":"Sdw"}}}},"ResumeWorkflowRun":{"input":{"type":"structure","required":["Name","RunId","NodeIds"],"members":{"Name":{},"RunId":{},"NodeIds":{"shape":"Sju"}}},"output":{"type":"structure","members":{"RunId":{},"NodeIds":{"shape":"Sju"}}}},"SearchTables":{"input":{"type":"structure","members":{"CatalogId":{},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{},"Comparator":{}}}},"SearchText":{},"SortCriteria":{"type":"list","member":{"type":"structure","members":{"FieldName":{},"Sort":{}}}},"MaxResults":{"type":"integer"},"ResourceShareType":{}}},"output":{"type":"structure","members":{"NextToken":{},"TableList":{"shape":"Sh6"}}}},"StartBlueprintRun":{"input":{"type":"structure","required":["BlueprintName","RoleArn"],"members":{"BlueprintName":{},"Parameters":{},"RoleArn":{}}},"output":{"type":"structure","members":{"RunId":{}}}},"StartCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"StartCrawlerSchedule":{"input":{"type":"structure","required":["CrawlerName"],"members":{"CrawlerName":{}}},"output":{"type":"structure","members":{}}},"StartExportLabelsTaskRun":{"input":{"type":"structure","required":["TransformId","OutputS3Path"],"members":{"TransformId":{},"OutputS3Path":{}}},"output":{"type":"structure","members":{"TaskRunId":{}}}},"StartImportLabelsTaskRun":{"input":{"type":"structure","required":["TransformId","InputS3Path"],"members":{"TransformId":{},"InputS3Path":{},"ReplaceAllLabels":{"type":"boolean"}}},"output":{"type":"structure","members":{"TaskRunId":{}}}},"StartJobRun":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{},"JobRunId":{},"Arguments":{"shape":"S48"},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"SecurityConfiguration":{},"NotificationProperty":{"shape":"S4d"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"}}},"output":{"type":"structure","members":{"JobRunId":{}}}},"StartMLEvaluationTaskRun":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{}}},"output":{"type":"structure","members":{"TaskRunId":{}}}},"StartMLLabelingSetGenerationTaskRun":{"input":{"type":"structure","required":["TransformId","OutputS3Path"],"members":{"TransformId":{},"OutputS3Path":{}}},"output":{"type":"structure","members":{"TaskRunId":{}}}},"StartTrigger":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"StartWorkflowRun":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"RunId":{}}}},"StopCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"StopCrawlerSchedule":{"input":{"type":"structure","required":["CrawlerName"],"members":{"CrawlerName":{}}},"output":{"type":"structure","members":{}}},"StopTrigger":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"StopWorkflowRun":{"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{},"RunId":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","TagsToAdd"],"members":{"ResourceArn":{},"TagsToAdd":{"shape":"S6m"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagsToRemove"],"members":{"ResourceArn":{},"TagsToRemove":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateBlueprint":{"input":{"type":"structure","required":["Name","BlueprintLocation"],"members":{"Name":{},"Description":{},"BlueprintLocation":{}}},"output":{"type":"structure","members":{"Name":{}}}},"UpdateClassifier":{"input":{"type":"structure","members":{"GrokClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"Classification":{},"GrokPattern":{},"CustomPatterns":{}}},"XMLClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"Classification":{},"RowTag":{}}},"JsonClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"JsonPath":{}}},"CsvClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"Delimiter":{},"QuoteSymbol":{},"ContainsHeader":{},"Header":{"shape":"S73"},"DisableValueTrimming":{"type":"boolean"},"AllowSingleColumn":{"type":"boolean"}}}}},"output":{"type":"structure","members":{}}},"UpdateColumnStatisticsForPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues","ColumnStatisticsList"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"},"ColumnStatisticsList":{"shape":"Sla"}}},"output":{"type":"structure","members":{"Errors":{"shape":"Slc"}}}},"UpdateColumnStatisticsForTable":{"input":{"type":"structure","required":["DatabaseName","TableName","ColumnStatisticsList"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"ColumnStatisticsList":{"shape":"Sla"}}},"output":{"type":"structure","members":{"Errors":{"shape":"Slc"}}}},"UpdateConnection":{"input":{"type":"structure","required":["Name","ConnectionInput"],"members":{"CatalogId":{},"Name":{},"ConnectionInput":{"shape":"S76"}}},"output":{"type":"structure","members":{}}},"UpdateCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Role":{},"DatabaseName":{},"Description":{},"Targets":{"shape":"S2b"},"Schedule":{},"Classifiers":{"shape":"S2w"},"TablePrefix":{},"SchemaChangePolicy":{"shape":"S2z"},"RecrawlPolicy":{"shape":"S2x"},"LineageConfiguration":{"shape":"S32"},"LakeFormationConfiguration":{"shape":"S3i"},"Configuration":{},"CrawlerSecurityConfiguration":{}}},"output":{"type":"structure","members":{}}},"UpdateCrawlerSchedule":{"input":{"type":"structure","required":["CrawlerName"],"members":{"CrawlerName":{},"Schedule":{}}},"output":{"type":"structure","members":{}}},"UpdateDatabase":{"input":{"type":"structure","required":["Name","DatabaseInput"],"members":{"CatalogId":{},"Name":{},"DatabaseInput":{"shape":"S7h"}}},"output":{"type":"structure","members":{}}},"UpdateDevEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{},"PublicKey":{},"AddPublicKeys":{"shape":"S3u"},"DeletePublicKeys":{"shape":"S3u"},"CustomLibraries":{"type":"structure","members":{"ExtraPythonLibsS3Path":{},"ExtraJarsS3Path":{}}},"UpdateEtlLibraries":{"type":"boolean"},"DeleteArguments":{"shape":"S3q"},"AddArguments":{"shape":"S3v"}}},"output":{"type":"structure","members":{}}},"UpdateJob":{"input":{"type":"structure","required":["JobName","JobUpdate"],"members":{"JobName":{},"JobUpdate":{"type":"structure","members":{"Description":{},"LogUri":{},"Role":{},"ExecutionProperty":{"shape":"S43"},"Command":{"shape":"S45"},"DefaultArguments":{"shape":"S48"},"NonOverridableArguments":{"shape":"S48"},"Connections":{"shape":"S49"},"MaxRetries":{"type":"integer"},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"SecurityConfiguration":{},"NotificationProperty":{"shape":"S4d"},"GlueVersion":{}}}}},"output":{"type":"structure","members":{"JobName":{}}}},"UpdateMLTransform":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{},"Name":{},"Description":{},"Parameters":{"shape":"S7y"},"Role":{},"GlueVersion":{},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"Timeout":{"type":"integer"},"MaxRetries":{"type":"integer"}}},"output":{"type":"structure","members":{"TransformId":{}}}},"UpdatePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValueList","PartitionInput"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValueList":{"shape":"S66"},"PartitionInput":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"UpdateRegistry":{"input":{"type":"structure","required":["RegistryId","Description"],"members":{"RegistryId":{"shape":"S8g"},"Description":{}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{}}}},"UpdateSchema":{"input":{"type":"structure","required":["SchemaId"],"members":{"SchemaId":{"shape":"Sw"},"SchemaVersionNumber":{"shape":"Sgh"},"Compatibility":{},"Description":{}}},"output":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"RegistryName":{}}}},"UpdateTable":{"input":{"type":"structure","required":["DatabaseName","TableInput"],"members":{"CatalogId":{},"DatabaseName":{},"TableInput":{"shape":"S9d"},"SkipArchive":{"type":"boolean"},"TransactionId":{}}},"output":{"type":"structure","members":{}}},"UpdateTrigger":{"input":{"type":"structure","required":["Name","TriggerUpdate"],"members":{"Name":{},"TriggerUpdate":{"type":"structure","members":{"Name":{},"Description":{},"Schedule":{},"Actions":{"shape":"S4s"},"Predicate":{"shape":"S4u"},"EventBatchingCondition":{"shape":"S51"}}}}},"output":{"type":"structure","members":{"Trigger":{"shape":"S4o"}}}},"UpdateUserDefinedFunction":{"input":{"type":"structure","required":["DatabaseName","FunctionName","FunctionInput"],"members":{"CatalogId":{},"DatabaseName":{},"FunctionName":{},"FunctionInput":{"shape":"S9o"}}},"output":{"type":"structure","members":{}}},"UpdateWorkflow":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"DefaultRunProperties":{"shape":"S59"},"MaxConcurrentRuns":{"type":"integer"}}},"output":{"type":"structure","members":{"Name":{}}}}},"shapes":{"S5":{"type":"structure","members":{"Values":{"shape":"S6"},"LastAccessTime":{"type":"timestamp"},"StorageDescriptor":{"shape":"S9"},"Parameters":{"shape":"Se"},"LastAnalyzedTime":{"type":"timestamp"}}},"S6":{"type":"list","member":{}},"S9":{"type":"structure","members":{"Columns":{"shape":"Sa"},"Location":{},"AdditionalLocations":{"type":"list","member":{}},"InputFormat":{},"OutputFormat":{},"Compressed":{"type":"boolean"},"NumberOfBuckets":{"type":"integer"},"SerdeInfo":{"type":"structure","members":{"Name":{},"SerializationLibrary":{},"Parameters":{"shape":"Se"}}},"BucketColumns":{"shape":"Sn"},"SortColumns":{"type":"list","member":{"type":"structure","required":["Column","SortOrder"],"members":{"Column":{},"SortOrder":{"type":"integer"}}}},"Parameters":{"shape":"Se"},"SkewedInfo":{"type":"structure","members":{"SkewedColumnNames":{"shape":"Sn"},"SkewedColumnValues":{"type":"list","member":{}},"SkewedColumnValueLocationMaps":{"type":"map","key":{},"value":{}}}},"StoredAsSubDirectories":{"type":"boolean"},"SchemaReference":{"type":"structure","members":{"SchemaId":{"shape":"Sw"},"SchemaVersionId":{},"SchemaVersionNumber":{"type":"long"}}}}},"Sa":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Type":{},"Comment":{},"Parameters":{"shape":"Se"}}}},"Se":{"type":"map","key":{},"value":{}},"Sn":{"type":"list","member":{}},"Sw":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"RegistryName":{}}},"S12":{"type":"list","member":{"type":"structure","members":{"PartitionValues":{"shape":"S6"},"ErrorDetail":{"shape":"S14"}}}},"S14":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}},"S1c":{"type":"structure","required":["Values"],"members":{"Values":{"shape":"S6"}}},"S1w":{"type":"structure","members":{"Name":{},"Description":{},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"ParameterSpec":{},"BlueprintLocation":{},"BlueprintServiceLocation":{},"Status":{},"ErrorMessage":{},"LastActiveDefinition":{"type":"structure","members":{"Description":{},"LastModifiedOn":{"type":"timestamp"},"ParameterSpec":{},"BlueprintLocation":{},"BlueprintServiceLocation":{}}}}},"S24":{"type":"list","member":{}},"S26":{"type":"list","member":{}},"S28":{"type":"list","member":{"shape":"S29"}},"S29":{"type":"structure","members":{"Name":{},"Role":{},"Targets":{"shape":"S2b"},"DatabaseName":{},"Description":{},"Classifiers":{"shape":"S2w"},"RecrawlPolicy":{"shape":"S2x"},"SchemaChangePolicy":{"shape":"S2z"},"LineageConfiguration":{"shape":"S32"},"State":{},"TablePrefix":{},"Schedule":{"type":"structure","members":{"ScheduleExpression":{},"State":{}}},"CrawlElapsedTime":{"type":"long"},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"LastCrawl":{"type":"structure","members":{"Status":{},"ErrorMessage":{},"LogGroup":{},"LogStream":{},"MessagePrefix":{},"StartTime":{"type":"timestamp"}}},"Version":{"type":"long"},"Configuration":{},"CrawlerSecurityConfiguration":{},"LakeFormationConfiguration":{"shape":"S3i"}}},"S2b":{"type":"structure","members":{"S3Targets":{"type":"list","member":{"type":"structure","members":{"Path":{},"Exclusions":{"shape":"S2f"},"ConnectionName":{},"SampleSize":{"type":"integer"},"EventQueueArn":{},"DlqEventQueueArn":{}}}},"JdbcTargets":{"type":"list","member":{"type":"structure","members":{"ConnectionName":{},"Path":{},"Exclusions":{"shape":"S2f"}}}},"MongoDBTargets":{"type":"list","member":{"type":"structure","members":{"ConnectionName":{},"Path":{},"ScanAll":{"type":"boolean"}}}},"DynamoDBTargets":{"type":"list","member":{"type":"structure","members":{"Path":{},"scanAll":{"type":"boolean"},"scanRate":{"type":"double"}}}},"CatalogTargets":{"type":"list","member":{"type":"structure","required":["DatabaseName","Tables"],"members":{"DatabaseName":{},"Tables":{"type":"list","member":{}},"ConnectionName":{}}}},"DeltaTargets":{"type":"list","member":{"type":"structure","members":{"DeltaTables":{"shape":"S2f"},"ConnectionName":{},"WriteManifest":{"type":"boolean"}}}}}},"S2f":{"type":"list","member":{}},"S2w":{"type":"list","member":{}},"S2x":{"type":"structure","members":{"RecrawlBehavior":{}}},"S2z":{"type":"structure","members":{"UpdateBehavior":{},"DeleteBehavior":{}}},"S32":{"type":"structure","members":{"CrawlerLineageSettings":{}}},"S3i":{"type":"structure","members":{"UseLakeFormationCredentials":{"type":"boolean"},"AccountId":{}}},"S3l":{"type":"list","member":{}},"S3n":{"type":"list","member":{"shape":"S3o"}},"S3o":{"type":"structure","members":{"EndpointName":{},"RoleArn":{},"SecurityGroupIds":{"shape":"S3q"},"SubnetId":{},"YarnEndpointAddress":{},"PrivateAddress":{},"ZeppelinRemoteSparkInterpreterPort":{"type":"integer"},"PublicAddress":{},"Status":{},"WorkerType":{},"GlueVersion":{},"NumberOfWorkers":{"type":"integer"},"NumberOfNodes":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"ExtraPythonLibsS3Path":{},"ExtraJarsS3Path":{},"FailureReason":{},"LastUpdateStatus":{},"CreatedTimestamp":{"type":"timestamp"},"LastModifiedTimestamp":{"type":"timestamp"},"PublicKey":{},"PublicKeys":{"shape":"S3u"},"SecurityConfiguration":{},"Arguments":{"shape":"S3v"}}},"S3q":{"type":"list","member":{}},"S3u":{"type":"list","member":{}},"S3v":{"type":"map","key":{},"value":{}},"S3x":{"type":"list","member":{}},"S3z":{"type":"list","member":{"shape":"S40"}},"S40":{"type":"structure","members":{"Name":{},"Description":{},"LogUri":{},"Role":{},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"ExecutionProperty":{"shape":"S43"},"Command":{"shape":"S45"},"DefaultArguments":{"shape":"S48"},"NonOverridableArguments":{"shape":"S48"},"Connections":{"shape":"S49"},"MaxRetries":{"type":"integer"},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"SecurityConfiguration":{},"NotificationProperty":{"shape":"S4d"},"GlueVersion":{}}},"S43":{"type":"structure","members":{"MaxConcurrentRuns":{"type":"integer"}}},"S45":{"type":"structure","members":{"Name":{},"ScriptLocation":{},"PythonVersion":{}}},"S48":{"type":"map","key":{},"value":{}},"S49":{"type":"structure","members":{"Connections":{"type":"list","member":{}}}},"S4d":{"type":"structure","members":{"NotifyDelayAfter":{"type":"integer"}}},"S4g":{"type":"list","member":{"shape":"S1c"}},"S4i":{"type":"list","member":{"shape":"S4j"}},"S4j":{"type":"structure","members":{"Values":{"shape":"S6"},"DatabaseName":{},"TableName":{},"CreationTime":{"type":"timestamp"},"LastAccessTime":{"type":"timestamp"},"StorageDescriptor":{"shape":"S9"},"Parameters":{"shape":"Se"},"LastAnalyzedTime":{"type":"timestamp"},"CatalogId":{}}},"S4l":{"type":"list","member":{}},"S4n":{"type":"list","member":{"shape":"S4o"}},"S4o":{"type":"structure","members":{"Name":{},"WorkflowName":{},"Id":{},"Type":{},"State":{},"Description":{},"Schedule":{},"Actions":{"shape":"S4s"},"Predicate":{"shape":"S4u"},"EventBatchingCondition":{"shape":"S51"}}},"S4s":{"type":"list","member":{"type":"structure","members":{"JobName":{},"Arguments":{"shape":"S48"},"Timeout":{"type":"integer"},"SecurityConfiguration":{},"NotificationProperty":{"shape":"S4d"},"CrawlerName":{}}}},"S4u":{"type":"structure","members":{"Logical":{},"Conditions":{"type":"list","member":{"type":"structure","members":{"LogicalOperator":{},"JobName":{},"State":{},"CrawlerName":{},"CrawlState":{}}}}}},"S51":{"type":"structure","required":["BatchSize"],"members":{"BatchSize":{"type":"integer"},"BatchWindow":{"type":"integer"}}},"S55":{"type":"list","member":{}},"S58":{"type":"structure","members":{"Name":{},"Description":{},"DefaultRunProperties":{"shape":"S59"},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"LastRun":{"shape":"S5a"},"Graph":{"shape":"S5d"},"MaxConcurrentRuns":{"type":"integer"},"BlueprintDetails":{"type":"structure","members":{"BlueprintName":{},"RunId":{}}}}},"S59":{"type":"map","key":{},"value":{}},"S5a":{"type":"structure","members":{"Name":{},"WorkflowRunId":{},"PreviousRunId":{},"WorkflowRunProperties":{"shape":"S59"},"StartedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"Status":{},"ErrorMessage":{},"Statistics":{"type":"structure","members":{"TotalActions":{"type":"integer"},"TimeoutActions":{"type":"integer"},"FailedActions":{"type":"integer"},"StoppedActions":{"type":"integer"},"SucceededActions":{"type":"integer"},"RunningActions":{"type":"integer"}}},"Graph":{"shape":"S5d"},"StartingEventBatchCondition":{"type":"structure","members":{"BatchSize":{"type":"integer"},"BatchWindow":{"type":"integer"}}}}},"S5d":{"type":"structure","members":{"Nodes":{"type":"list","member":{"type":"structure","members":{"Type":{},"Name":{},"UniqueId":{},"TriggerDetails":{"type":"structure","members":{"Trigger":{"shape":"S4o"}}},"JobDetails":{"type":"structure","members":{"JobRuns":{"shape":"S5j"}}},"CrawlerDetails":{"type":"structure","members":{"Crawls":{"type":"list","member":{"type":"structure","members":{"State":{},"StartedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"ErrorMessage":{},"LogGroup":{},"LogStream":{}}}}}}}}},"Edges":{"type":"list","member":{"type":"structure","members":{"SourceId":{},"DestinationId":{}}}}}},"S5j":{"type":"list","member":{"shape":"S5k"}},"S5k":{"type":"structure","members":{"Id":{},"Attempt":{"type":"integer"},"PreviousRunId":{},"TriggerName":{},"JobName":{},"StartedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"JobRunState":{},"Arguments":{"shape":"S48"},"ErrorMessage":{},"PredecessorRuns":{"type":"list","member":{"type":"structure","members":{"JobName":{},"RunId":{}}}},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"ExecutionTime":{"type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"SecurityConfiguration":{},"LogGroupName":{},"NotificationProperty":{"shape":"S4d"},"GlueVersion":{}}},"S66":{"type":"list","member":{}},"S6m":{"type":"map","key":{},"value":{}},"S73":{"type":"list","member":{}},"S76":{"type":"structure","required":["Name","ConnectionType","ConnectionProperties"],"members":{"Name":{},"Description":{},"ConnectionType":{},"MatchCriteria":{"shape":"S78"},"ConnectionProperties":{"shape":"S79"},"PhysicalConnectionRequirements":{"shape":"S7b"}}},"S78":{"type":"list","member":{}},"S79":{"type":"map","key":{},"value":{}},"S7b":{"type":"structure","members":{"SubnetId":{},"SecurityGroupIdList":{"type":"list","member":{}},"AvailabilityZone":{}}},"S7h":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"LocationUri":{},"Parameters":{"shape":"Se"},"CreateTableDefaultPermissions":{"shape":"S7j"},"TargetDatabase":{"shape":"S7p"}}},"S7j":{"type":"list","member":{"type":"structure","members":{"Principal":{"type":"structure","members":{"DataLakePrincipalIdentifier":{}}},"Permissions":{"type":"list","member":{}}}}},"S7p":{"type":"structure","members":{"CatalogId":{},"DatabaseName":{}}},"S7w":{"type":"list","member":{"type":"structure","required":["DatabaseName","TableName"],"members":{"DatabaseName":{},"TableName":{},"CatalogId":{},"ConnectionName":{}}}},"S7y":{"type":"structure","required":["TransformType"],"members":{"TransformType":{},"FindMatchesParameters":{"type":"structure","members":{"PrimaryKeyColumnName":{},"PrecisionRecallTradeoff":{"type":"double"},"AccuracyCostTradeoff":{"type":"double"},"EnforceProvidedLabels":{"type":"boolean"}}}}},"S83":{"type":"structure","members":{"MlUserDataEncryption":{"type":"structure","required":["MlUserDataEncryptionMode"],"members":{"MlUserDataEncryptionMode":{},"KmsKeyId":{}}},"TaskRunSecurityConfigurationName":{}}},"S8a":{"type":"structure","required":["Keys","IndexName"],"members":{"Keys":{"type":"list","member":{}},"IndexName":{}}},"S8g":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{}}},"S8n":{"type":"list","member":{"type":"structure","required":["Id","NodeType","Args"],"members":{"Id":{},"NodeType":{},"Args":{"shape":"S8r"},"LineNumber":{"type":"integer"}}}},"S8r":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{},"Param":{"type":"boolean"}}}},"S8v":{"type":"list","member":{"type":"structure","required":["Source","Target"],"members":{"Source":{},"Target":{},"TargetParameter":{}}}},"S92":{"type":"structure","members":{"S3Encryption":{"type":"list","member":{"type":"structure","members":{"S3EncryptionMode":{},"KmsKeyArn":{}}}},"CloudWatchEncryption":{"type":"structure","members":{"CloudWatchEncryptionMode":{},"KmsKeyArn":{}}},"JobBookmarksEncryption":{"type":"structure","members":{"JobBookmarksEncryptionMode":{},"KmsKeyArn":{}}}}},"S9d":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"Owner":{},"LastAccessTime":{"type":"timestamp"},"LastAnalyzedTime":{"type":"timestamp"},"Retention":{"type":"integer"},"StorageDescriptor":{"shape":"S9"},"PartitionKeys":{"shape":"Sa"},"ViewOriginalText":{},"ViewExpandedText":{},"TableType":{},"Parameters":{"shape":"Se"},"TargetTable":{"shape":"S9h"}}},"S9h":{"type":"structure","members":{"CatalogId":{},"DatabaseName":{},"Name":{}}},"S9o":{"type":"structure","members":{"FunctionName":{},"ClassName":{},"OwnerName":{},"OwnerType":{},"ResourceUris":{"shape":"S9q"}}},"S9q":{"type":"list","member":{"type":"structure","members":{"ResourceType":{},"Uri":{}}}},"Sbf":{"type":"structure","members":{"BlueprintName":{},"RunId":{},"WorkflowName":{},"State":{},"StartedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"ErrorMessage":{},"RollbackErrorMessage":{},"Parameters":{},"RoleArn":{}}},"Sbt":{"type":"structure","members":{"GrokClassifier":{"type":"structure","required":["Name","Classification","GrokPattern"],"members":{"Name":{},"Classification":{},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"Version":{"type":"long"},"GrokPattern":{},"CustomPatterns":{}}},"XMLClassifier":{"type":"structure","required":["Name","Classification"],"members":{"Name":{},"Classification":{},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"Version":{"type":"long"},"RowTag":{}}},"JsonClassifier":{"type":"structure","required":["Name","JsonPath"],"members":{"Name":{},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"Version":{"type":"long"},"JsonPath":{}}},"CsvClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"Version":{"type":"long"},"Delimiter":{},"QuoteSymbol":{},"ContainsHeader":{},"Header":{"shape":"S73"},"DisableValueTrimming":{"type":"boolean"},"AllowSingleColumn":{"type":"boolean"}}}}},"Sc3":{"type":"list","member":{}},"Sc5":{"type":"list","member":{"shape":"Sc6"}},"Sc6":{"type":"structure","required":["ColumnName","ColumnType","AnalyzedTime","StatisticsData"],"members":{"ColumnName":{},"ColumnType":{},"AnalyzedTime":{"type":"timestamp"},"StatisticsData":{"type":"structure","required":["Type"],"members":{"Type":{},"BooleanColumnStatisticsData":{"type":"structure","required":["NumberOfTrues","NumberOfFalses","NumberOfNulls"],"members":{"NumberOfTrues":{"type":"long"},"NumberOfFalses":{"type":"long"},"NumberOfNulls":{"type":"long"}}},"DateColumnStatisticsData":{"type":"structure","required":["NumberOfNulls","NumberOfDistinctValues"],"members":{"MinimumValue":{"type":"timestamp"},"MaximumValue":{"type":"timestamp"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"DecimalColumnStatisticsData":{"type":"structure","required":["NumberOfNulls","NumberOfDistinctValues"],"members":{"MinimumValue":{"shape":"Sce"},"MaximumValue":{"shape":"Sce"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"DoubleColumnStatisticsData":{"type":"structure","required":["NumberOfNulls","NumberOfDistinctValues"],"members":{"MinimumValue":{"type":"double"},"MaximumValue":{"type":"double"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"LongColumnStatisticsData":{"type":"structure","required":["NumberOfNulls","NumberOfDistinctValues"],"members":{"MinimumValue":{"type":"long"},"MaximumValue":{"type":"long"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"StringColumnStatisticsData":{"type":"structure","required":["MaximumLength","AverageLength","NumberOfNulls","NumberOfDistinctValues"],"members":{"MaximumLength":{"type":"long"},"AverageLength":{"type":"double"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"BinaryColumnStatisticsData":{"type":"structure","required":["MaximumLength","AverageLength","NumberOfNulls"],"members":{"MaximumLength":{"type":"long"},"AverageLength":{"type":"double"},"NumberOfNulls":{"type":"long"}}}}}}},"Sce":{"type":"structure","required":["UnscaledValue","Scale"],"members":{"UnscaledValue":{"type":"blob"},"Scale":{"type":"integer"}}},"Scn":{"type":"list","member":{"type":"structure","members":{"ColumnName":{},"Error":{"shape":"S14"}}}},"Sct":{"type":"structure","members":{"Name":{},"Description":{},"ConnectionType":{},"MatchCriteria":{"shape":"S78"},"ConnectionProperties":{"shape":"S79"},"PhysicalConnectionRequirements":{"shape":"S7b"},"CreationTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"LastUpdatedBy":{}}},"Sd8":{"type":"structure","members":{"EncryptionAtRest":{"type":"structure","required":["CatalogEncryptionMode"],"members":{"CatalogEncryptionMode":{},"SseAwsKmsKeyId":{}}},"ConnectionPasswordEncryption":{"type":"structure","required":["ReturnConnectionPasswordEncrypted"],"members":{"ReturnConnectionPasswordEncrypted":{"type":"boolean"},"AwsKmsKeyId":{}}}}},"Sde":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"LocationUri":{},"Parameters":{"shape":"Se"},"CreateTime":{"type":"timestamp"},"CreateTableDefaultPermissions":{"shape":"S7j"},"TargetDatabase":{"shape":"S7p"},"CatalogId":{}}},"Sdw":{"type":"structure","members":{"JobName":{},"Version":{"type":"integer"},"Run":{"type":"integer"},"Attempt":{"type":"integer"},"PreviousRunId":{},"RunId":{},"JobBookmark":{}}},"Se6":{"type":"structure","members":{"TaskType":{},"ImportLabelsTaskRunProperties":{"type":"structure","members":{"InputS3Path":{},"Replace":{"type":"boolean"}}},"ExportLabelsTaskRunProperties":{"type":"structure","members":{"OutputS3Path":{}}},"LabelingSetGenerationTaskRunProperties":{"type":"structure","members":{"OutputS3Path":{}}},"FindMatchesTaskRunProperties":{"type":"structure","members":{"JobId":{},"JobName":{},"JobRunId":{}}}}},"Sep":{"type":"structure","required":["TransformType"],"members":{"TransformType":{},"FindMatchesMetrics":{"type":"structure","members":{"AreaUnderPRCurve":{"type":"double"},"Precision":{"type":"double"},"Recall":{"type":"double"},"F1":{"type":"double"},"ConfusionMatrix":{"type":"structure","members":{"NumTruePositives":{"type":"long"},"NumFalsePositives":{"type":"long"},"NumTrueNegatives":{"type":"long"},"NumFalseNegatives":{"type":"long"}}},"ColumnImportances":{"type":"list","member":{"type":"structure","members":{"ColumnName":{},"Importance":{"type":"double"}}}}}}}},"Sew":{"type":"list","member":{"type":"structure","members":{"Name":{},"DataType":{}}}},"Sez":{"type":"structure","members":{"Name":{},"TransformType":{},"Status":{},"GlueVersion":{},"CreatedBefore":{"type":"timestamp"},"CreatedAfter":{"type":"timestamp"},"LastModifiedBefore":{"type":"timestamp"},"LastModifiedAfter":{"type":"timestamp"},"Schema":{"shape":"Sew"}}},"Sf0":{"type":"structure","required":["Column","SortDirection"],"members":{"Column":{},"SortDirection":{}}},"Sf6":{"type":"structure","required":["DatabaseName","TableName"],"members":{"DatabaseName":{},"TableName":{}}},"Sf7":{"type":"list","member":{"shape":"Sf6"}},"Sf8":{"type":"structure","members":{"Jdbc":{"shape":"S8r"},"S3":{"shape":"S8r"},"DynamoDB":{"shape":"S8r"}}},"Sfa":{"type":"list","member":{"type":"structure","members":{"SourceTable":{},"SourcePath":{},"SourceType":{},"TargetTable":{},"TargetPath":{},"TargetType":{}}}},"Sfu":{"type":"structure","required":["SegmentNumber","TotalSegments"],"members":{"SegmentNumber":{"type":"integer"},"TotalSegments":{"type":"integer"}}},"Sgh":{"type":"structure","members":{"LatestVersion":{"type":"boolean"},"VersionNumber":{"type":"long"}}},"Sgq":{"type":"structure","members":{"Name":{},"CreatedTimeStamp":{"type":"timestamp"},"EncryptionConfiguration":{"shape":"S92"}}},"Sgw":{"type":"structure","required":["Name"],"members":{"Name":{},"DatabaseName":{},"Description":{},"Owner":{},"CreateTime":{"type":"timestamp"},"UpdateTime":{"type":"timestamp"},"LastAccessTime":{"type":"timestamp"},"LastAnalyzedTime":{"type":"timestamp"},"Retention":{"type":"integer"},"StorageDescriptor":{"shape":"S9"},"PartitionKeys":{"shape":"Sa"},"ViewOriginalText":{},"ViewExpandedText":{},"TableType":{},"Parameters":{"shape":"Se"},"CreatedBy":{},"IsRegisteredWithLakeFormation":{"type":"boolean"},"TargetTable":{"shape":"S9h"},"CatalogId":{}}},"Sgz":{"type":"structure","members":{"Table":{"shape":"Sgw"},"VersionId":{}}},"Sh6":{"type":"list","member":{"shape":"Sgw"}},"She":{"type":"structure","members":{"AdditionalAuditContext":{}}},"Shg":{"type":"list","member":{}},"Sht":{"type":"structure","members":{"FunctionName":{},"DatabaseName":{},"ClassName":{},"OwnerName":{},"OwnerType":{},"CreateTime":{"type":"timestamp"},"ResourceUris":{"shape":"S9q"},"CatalogId":{}}},"Sj9":{"type":"structure","members":{"MetadataKey":{},"MetadataValue":{}}},"Sju":{"type":"list","member":{}},"Sla":{"type":"list","member":{"shape":"Sc6"}},"Slc":{"type":"list","member":{"type":"structure","members":{"ColumnStatistics":{"shape":"Sc6"},"Error":{"shape":"S14"}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-03-31","endpointPrefix":"glue","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Glue","serviceId":"Glue","signatureVersion":"v4","targetPrefix":"AWSGlue","uid":"glue-2017-03-31"},"operations":{"BatchCreatePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionInputList"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionInputList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"Errors":{"shape":"S12"}}}},"BatchDeleteConnection":{"input":{"type":"structure","required":["ConnectionNameList"],"members":{"CatalogId":{},"ConnectionNameList":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Succeeded":{"shape":"Sn"},"Errors":{"type":"map","key":{},"value":{"shape":"S14"}}}}},"BatchDeletePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionsToDelete"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionsToDelete":{"type":"list","member":{"shape":"S1c"}}}},"output":{"type":"structure","members":{"Errors":{"shape":"S12"}}}},"BatchDeleteTable":{"input":{"type":"structure","required":["DatabaseName","TablesToDelete"],"members":{"CatalogId":{},"DatabaseName":{},"TablesToDelete":{"type":"list","member":{}},"TransactionId":{}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"TableName":{},"ErrorDetail":{"shape":"S14"}}}}}}},"BatchDeleteTableVersion":{"input":{"type":"structure","required":["DatabaseName","TableName","VersionIds"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"VersionIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"TableName":{},"VersionId":{},"ErrorDetail":{"shape":"S14"}}}}}}},"BatchGetBlueprints":{"input":{"type":"structure","required":["Names"],"members":{"Names":{"type":"list","member":{}},"IncludeBlueprint":{"type":"boolean"},"IncludeParameterSpec":{"type":"boolean"}}},"output":{"type":"structure","members":{"Blueprints":{"type":"list","member":{"shape":"S1w"}},"MissingBlueprints":{"shape":"S24"}}}},"BatchGetCrawlers":{"input":{"type":"structure","required":["CrawlerNames"],"members":{"CrawlerNames":{"shape":"S26"}}},"output":{"type":"structure","members":{"Crawlers":{"shape":"S28"},"CrawlersNotFound":{"shape":"S26"}}}},"BatchGetDevEndpoints":{"input":{"type":"structure","required":["DevEndpointNames"],"members":{"DevEndpointNames":{"shape":"S3l"}}},"output":{"type":"structure","members":{"DevEndpoints":{"shape":"S3n"},"DevEndpointsNotFound":{"shape":"S3l"}}}},"BatchGetJobs":{"input":{"type":"structure","required":["JobNames"],"members":{"JobNames":{"shape":"S3x"}}},"output":{"type":"structure","members":{"Jobs":{"shape":"S3z"},"JobsNotFound":{"shape":"S3x"}}}},"BatchGetPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionsToGet"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionsToGet":{"shape":"S4g"}}},"output":{"type":"structure","members":{"Partitions":{"shape":"S4i"},"UnprocessedKeys":{"shape":"S4g"}}}},"BatchGetTriggers":{"input":{"type":"structure","required":["TriggerNames"],"members":{"TriggerNames":{"shape":"S4l"}}},"output":{"type":"structure","members":{"Triggers":{"shape":"S4n"},"TriggersNotFound":{"shape":"S4l"}}}},"BatchGetWorkflows":{"input":{"type":"structure","required":["Names"],"members":{"Names":{"shape":"S55"},"IncludeGraph":{"type":"boolean"}}},"output":{"type":"structure","members":{"Workflows":{"type":"list","member":{"shape":"S58"}},"MissingWorkflows":{"shape":"S55"}}}},"BatchStopJobRun":{"input":{"type":"structure","required":["JobName","JobRunIds"],"members":{"JobName":{},"JobRunIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"SuccessfulSubmissions":{"type":"list","member":{"type":"structure","members":{"JobName":{},"JobRunId":{}}}},"Errors":{"type":"list","member":{"type":"structure","members":{"JobName":{},"JobRunId":{},"ErrorDetail":{"shape":"S14"}}}}}}},"BatchUpdatePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","Entries"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"Entries":{"type":"list","member":{"type":"structure","required":["PartitionValueList","PartitionInput"],"members":{"PartitionValueList":{"shape":"S66"},"PartitionInput":{"shape":"S5"}}}}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"PartitionValueList":{"shape":"S66"},"ErrorDetail":{"shape":"S14"}}}}}}},"CancelMLTaskRun":{"input":{"type":"structure","required":["TransformId","TaskRunId"],"members":{"TransformId":{},"TaskRunId":{}}},"output":{"type":"structure","members":{"TransformId":{},"TaskRunId":{},"Status":{}}}},"CheckSchemaVersionValidity":{"input":{"type":"structure","required":["DataFormat","SchemaDefinition"],"members":{"DataFormat":{},"SchemaDefinition":{}}},"output":{"type":"structure","members":{"Valid":{"type":"boolean"},"Error":{}}}},"CreateBlueprint":{"input":{"type":"structure","required":["Name","BlueprintLocation"],"members":{"Name":{},"Description":{},"BlueprintLocation":{},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"Name":{}}}},"CreateClassifier":{"input":{"type":"structure","members":{"GrokClassifier":{"type":"structure","required":["Classification","Name","GrokPattern"],"members":{"Classification":{},"Name":{},"GrokPattern":{},"CustomPatterns":{}}},"XMLClassifier":{"type":"structure","required":["Classification","Name"],"members":{"Classification":{},"Name":{},"RowTag":{}}},"JsonClassifier":{"type":"structure","required":["Name","JsonPath"],"members":{"Name":{},"JsonPath":{}}},"CsvClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"Delimiter":{},"QuoteSymbol":{},"ContainsHeader":{},"Header":{"shape":"S73"},"DisableValueTrimming":{"type":"boolean"},"AllowSingleColumn":{"type":"boolean"}}}}},"output":{"type":"structure","members":{}}},"CreateConnection":{"input":{"type":"structure","required":["ConnectionInput"],"members":{"CatalogId":{},"ConnectionInput":{"shape":"S76"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{}}},"CreateCrawler":{"input":{"type":"structure","required":["Name","Role","Targets"],"members":{"Name":{},"Role":{},"DatabaseName":{},"Description":{},"Targets":{"shape":"S2b"},"Schedule":{},"Classifiers":{"shape":"S2w"},"TablePrefix":{},"SchemaChangePolicy":{"shape":"S2z"},"RecrawlPolicy":{"shape":"S2x"},"LineageConfiguration":{"shape":"S32"},"LakeFormationConfiguration":{"shape":"S3i"},"Configuration":{},"CrawlerSecurityConfiguration":{},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{}}},"CreateDatabase":{"input":{"type":"structure","required":["DatabaseInput"],"members":{"CatalogId":{},"DatabaseInput":{"shape":"S7h"}}},"output":{"type":"structure","members":{}}},"CreateDevEndpoint":{"input":{"type":"structure","required":["EndpointName","RoleArn"],"members":{"EndpointName":{},"RoleArn":{},"SecurityGroupIds":{"shape":"S3q"},"SubnetId":{},"PublicKey":{},"PublicKeys":{"shape":"S3u"},"NumberOfNodes":{"type":"integer"},"WorkerType":{},"GlueVersion":{},"NumberOfWorkers":{"type":"integer"},"ExtraPythonLibsS3Path":{},"ExtraJarsS3Path":{},"SecurityConfiguration":{},"Tags":{"shape":"S6m"},"Arguments":{"shape":"S3v"}}},"output":{"type":"structure","members":{"EndpointName":{},"Status":{},"SecurityGroupIds":{"shape":"S3q"},"SubnetId":{},"RoleArn":{},"YarnEndpointAddress":{},"ZeppelinRemoteSparkInterpreterPort":{"type":"integer"},"NumberOfNodes":{"type":"integer"},"WorkerType":{},"GlueVersion":{},"NumberOfWorkers":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"ExtraPythonLibsS3Path":{},"ExtraJarsS3Path":{},"FailureReason":{},"SecurityConfiguration":{},"CreatedTimestamp":{"type":"timestamp"},"Arguments":{"shape":"S3v"}}}},"CreateJob":{"input":{"type":"structure","required":["Name","Role","Command"],"members":{"Name":{},"Description":{},"LogUri":{},"Role":{},"ExecutionProperty":{"shape":"S43"},"Command":{"shape":"S45"},"DefaultArguments":{"shape":"S48"},"NonOverridableArguments":{"shape":"S48"},"Connections":{"shape":"S49"},"MaxRetries":{"type":"integer"},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"SecurityConfiguration":{},"Tags":{"shape":"S6m"},"NotificationProperty":{"shape":"S4d"},"GlueVersion":{},"NumberOfWorkers":{"type":"integer"},"WorkerType":{}}},"output":{"type":"structure","members":{"Name":{}}}},"CreateMLTransform":{"input":{"type":"structure","required":["Name","InputRecordTables","Parameters","Role"],"members":{"Name":{},"Description":{},"InputRecordTables":{"shape":"S7w"},"Parameters":{"shape":"S7y"},"Role":{},"GlueVersion":{},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"Timeout":{"type":"integer"},"MaxRetries":{"type":"integer"},"Tags":{"shape":"S6m"},"TransformEncryption":{"shape":"S83"}}},"output":{"type":"structure","members":{"TransformId":{}}}},"CreatePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionInput"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionInput":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"CreatePartitionIndex":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionIndex"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionIndex":{"shape":"S8a"}}},"output":{"type":"structure","members":{}}},"CreateRegistry":{"input":{"type":"structure","required":["RegistryName"],"members":{"RegistryName":{},"Description":{},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"RegistryArn":{},"RegistryName":{},"Description":{},"Tags":{"shape":"S6m"}}}},"CreateSchema":{"input":{"type":"structure","required":["SchemaName","DataFormat"],"members":{"RegistryId":{"shape":"S8g"},"SchemaName":{},"DataFormat":{},"Compatibility":{},"Description":{},"Tags":{"shape":"S6m"},"SchemaDefinition":{}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"SchemaName":{},"SchemaArn":{},"Description":{},"DataFormat":{},"Compatibility":{},"SchemaCheckpoint":{"type":"long"},"LatestSchemaVersion":{"type":"long"},"NextSchemaVersion":{"type":"long"},"SchemaStatus":{},"Tags":{"shape":"S6m"},"SchemaVersionId":{},"SchemaVersionStatus":{}}}},"CreateScript":{"input":{"type":"structure","members":{"DagNodes":{"shape":"S8n"},"DagEdges":{"shape":"S8v"},"Language":{}}},"output":{"type":"structure","members":{"PythonScript":{},"ScalaCode":{}}}},"CreateSecurityConfiguration":{"input":{"type":"structure","required":["Name","EncryptionConfiguration"],"members":{"Name":{},"EncryptionConfiguration":{"shape":"S92"}}},"output":{"type":"structure","members":{"Name":{},"CreatedTimestamp":{"type":"timestamp"}}}},"CreateTable":{"input":{"type":"structure","required":["DatabaseName","TableInput"],"members":{"CatalogId":{},"DatabaseName":{},"TableInput":{"shape":"S9d"},"PartitionIndexes":{"type":"list","member":{"shape":"S8a"}},"TransactionId":{}}},"output":{"type":"structure","members":{}}},"CreateTrigger":{"input":{"type":"structure","required":["Name","Type","Actions"],"members":{"Name":{},"WorkflowName":{},"Type":{},"Schedule":{},"Predicate":{"shape":"S4u"},"Actions":{"shape":"S4s"},"Description":{},"StartOnCreation":{"type":"boolean"},"Tags":{"shape":"S6m"},"EventBatchingCondition":{"shape":"S51"}}},"output":{"type":"structure","members":{"Name":{}}}},"CreateUserDefinedFunction":{"input":{"type":"structure","required":["DatabaseName","FunctionInput"],"members":{"CatalogId":{},"DatabaseName":{},"FunctionInput":{"shape":"S9o"}}},"output":{"type":"structure","members":{}}},"CreateWorkflow":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"DefaultRunProperties":{"shape":"S59"},"Tags":{"shape":"S6m"},"MaxConcurrentRuns":{"type":"integer"}}},"output":{"type":"structure","members":{"Name":{}}}},"DeleteBlueprint":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"DeleteClassifier":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteColumnStatisticsForPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues","ColumnName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"},"ColumnName":{}}},"output":{"type":"structure","members":{}}},"DeleteColumnStatisticsForTable":{"input":{"type":"structure","required":["DatabaseName","TableName","ColumnName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"ColumnName":{}}},"output":{"type":"structure","members":{}}},"DeleteConnection":{"input":{"type":"structure","required":["ConnectionName"],"members":{"CatalogId":{},"ConnectionName":{}}},"output":{"type":"structure","members":{}}},"DeleteCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteDatabase":{"input":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteDevEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{}}},"output":{"type":"structure","members":{}}},"DeleteJob":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{}}},"output":{"type":"structure","members":{"JobName":{}}}},"DeleteMLTransform":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{}}},"output":{"type":"structure","members":{"TransformId":{}}}},"DeletePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"}}},"output":{"type":"structure","members":{}}},"DeletePartitionIndex":{"input":{"type":"structure","required":["DatabaseName","TableName","IndexName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"IndexName":{}}},"output":{"type":"structure","members":{}}},"DeleteRegistry":{"input":{"type":"structure","required":["RegistryId"],"members":{"RegistryId":{"shape":"S8g"}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"Status":{}}}},"DeleteResourcePolicy":{"input":{"type":"structure","members":{"PolicyHashCondition":{},"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeleteSchema":{"input":{"type":"structure","required":["SchemaId"],"members":{"SchemaId":{"shape":"Sw"}}},"output":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"Status":{}}}},"DeleteSchemaVersions":{"input":{"type":"structure","required":["SchemaId","Versions"],"members":{"SchemaId":{"shape":"Sw"},"Versions":{}}},"output":{"type":"structure","members":{"SchemaVersionErrors":{"type":"list","member":{"type":"structure","members":{"VersionNumber":{"type":"long"},"ErrorDetails":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}}}}}}},"DeleteSecurityConfiguration":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteTable":{"input":{"type":"structure","required":["DatabaseName","Name"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"TransactionId":{}}},"output":{"type":"structure","members":{}}},"DeleteTableVersion":{"input":{"type":"structure","required":["DatabaseName","TableName","VersionId"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"VersionId":{}}},"output":{"type":"structure","members":{}}},"DeleteTrigger":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"DeleteUserDefinedFunction":{"input":{"type":"structure","required":["DatabaseName","FunctionName"],"members":{"CatalogId":{},"DatabaseName":{},"FunctionName":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkflow":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"GetBlueprint":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"IncludeBlueprint":{"type":"boolean"},"IncludeParameterSpec":{"type":"boolean"}}},"output":{"type":"structure","members":{"Blueprint":{"shape":"S1w"}}}},"GetBlueprintRun":{"input":{"type":"structure","required":["BlueprintName","RunId"],"members":{"BlueprintName":{},"RunId":{}}},"output":{"type":"structure","members":{"BlueprintRun":{"shape":"Sbf"}}}},"GetBlueprintRuns":{"input":{"type":"structure","required":["BlueprintName"],"members":{"BlueprintName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"BlueprintRuns":{"type":"list","member":{"shape":"Sbf"}},"NextToken":{}}}},"GetCatalogImportStatus":{"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{"ImportStatus":{"type":"structure","members":{"ImportCompleted":{"type":"boolean"},"ImportTime":{"type":"timestamp"},"ImportedBy":{}}}}}},"GetClassifier":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Classifier":{"shape":"Sbt"}}}},"GetClassifiers":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Classifiers":{"type":"list","member":{"shape":"Sbt"}},"NextToken":{}}}},"GetColumnStatisticsForPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues","ColumnNames"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"},"ColumnNames":{"shape":"Sc3"}}},"output":{"type":"structure","members":{"ColumnStatisticsList":{"shape":"Sc5"},"Errors":{"shape":"Scn"}}}},"GetColumnStatisticsForTable":{"input":{"type":"structure","required":["DatabaseName","TableName","ColumnNames"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"ColumnNames":{"shape":"Sc3"}}},"output":{"type":"structure","members":{"ColumnStatisticsList":{"shape":"Sc5"},"Errors":{"shape":"Scn"}}}},"GetConnection":{"input":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{},"HidePassword":{"type":"boolean"}}},"output":{"type":"structure","members":{"Connection":{"shape":"Sct"}}}},"GetConnections":{"input":{"type":"structure","members":{"CatalogId":{},"Filter":{"type":"structure","members":{"MatchCriteria":{"shape":"S78"},"ConnectionType":{}}},"HidePassword":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ConnectionList":{"type":"list","member":{"shape":"Sct"}},"NextToken":{}}}},"GetCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Crawler":{"shape":"S29"}}}},"GetCrawlerMetrics":{"input":{"type":"structure","members":{"CrawlerNameList":{"shape":"S26"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"CrawlerMetricsList":{"type":"list","member":{"type":"structure","members":{"CrawlerName":{},"TimeLeftSeconds":{"type":"double"},"StillEstimating":{"type":"boolean"},"LastRuntimeSeconds":{"type":"double"},"MedianRuntimeSeconds":{"type":"double"},"TablesCreated":{"type":"integer"},"TablesUpdated":{"type":"integer"},"TablesDeleted":{"type":"integer"}}}},"NextToken":{}}}},"GetCrawlers":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Crawlers":{"shape":"S28"},"NextToken":{}}}},"GetDataCatalogEncryptionSettings":{"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{"DataCatalogEncryptionSettings":{"shape":"Sd8"}}}},"GetDatabase":{"input":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{}}},"output":{"type":"structure","members":{"Database":{"shape":"Sde"}}}},"GetDatabases":{"input":{"type":"structure","members":{"CatalogId":{},"NextToken":{},"MaxResults":{"type":"integer"},"ResourceShareType":{}}},"output":{"type":"structure","required":["DatabaseList"],"members":{"DatabaseList":{"type":"list","member":{"shape":"Sde"}},"NextToken":{}}}},"GetDataflowGraph":{"input":{"type":"structure","members":{"PythonScript":{}}},"output":{"type":"structure","members":{"DagNodes":{"shape":"S8n"},"DagEdges":{"shape":"S8v"}}}},"GetDevEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{}}},"output":{"type":"structure","members":{"DevEndpoint":{"shape":"S3o"}}}},"GetDevEndpoints":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DevEndpoints":{"shape":"S3n"},"NextToken":{}}}},"GetJob":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{}}},"output":{"type":"structure","members":{"Job":{"shape":"S40"}}}},"GetJobBookmark":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{},"RunId":{}}},"output":{"type":"structure","members":{"JobBookmarkEntry":{"shape":"Sdw"}}}},"GetJobRun":{"input":{"type":"structure","required":["JobName","RunId"],"members":{"JobName":{},"RunId":{},"PredecessorsIncluded":{"type":"boolean"}}},"output":{"type":"structure","members":{"JobRun":{"shape":"S5k"}}}},"GetJobRuns":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"JobRuns":{"shape":"S5j"},"NextToken":{}}}},"GetJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Jobs":{"shape":"S3z"},"NextToken":{}}}},"GetMLTaskRun":{"input":{"type":"structure","required":["TransformId","TaskRunId"],"members":{"TransformId":{},"TaskRunId":{}}},"output":{"type":"structure","members":{"TransformId":{},"TaskRunId":{},"Status":{},"LogGroupName":{},"Properties":{"shape":"Se6"},"ErrorString":{},"StartedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"ExecutionTime":{"type":"integer"}}}},"GetMLTaskRuns":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{},"NextToken":{},"MaxResults":{"type":"integer"},"Filter":{"type":"structure","members":{"TaskRunType":{},"Status":{},"StartedBefore":{"type":"timestamp"},"StartedAfter":{"type":"timestamp"}}},"Sort":{"type":"structure","required":["Column","SortDirection"],"members":{"Column":{},"SortDirection":{}}}}},"output":{"type":"structure","members":{"TaskRuns":{"type":"list","member":{"type":"structure","members":{"TransformId":{},"TaskRunId":{},"Status":{},"LogGroupName":{},"Properties":{"shape":"Se6"},"ErrorString":{},"StartedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"ExecutionTime":{"type":"integer"}}}},"NextToken":{}}}},"GetMLTransform":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{}}},"output":{"type":"structure","members":{"TransformId":{},"Name":{},"Description":{},"Status":{},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"InputRecordTables":{"shape":"S7w"},"Parameters":{"shape":"S7y"},"EvaluationMetrics":{"shape":"Sep"},"LabelCount":{"type":"integer"},"Schema":{"shape":"Sew"},"Role":{},"GlueVersion":{},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"Timeout":{"type":"integer"},"MaxRetries":{"type":"integer"},"TransformEncryption":{"shape":"S83"}}}},"GetMLTransforms":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Filter":{"shape":"Sez"},"Sort":{"shape":"Sf0"}}},"output":{"type":"structure","required":["Transforms"],"members":{"Transforms":{"type":"list","member":{"type":"structure","members":{"TransformId":{},"Name":{},"Description":{},"Status":{},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"InputRecordTables":{"shape":"S7w"},"Parameters":{"shape":"S7y"},"EvaluationMetrics":{"shape":"Sep"},"LabelCount":{"type":"integer"},"Schema":{"shape":"Sew"},"Role":{},"GlueVersion":{},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"Timeout":{"type":"integer"},"MaxRetries":{"type":"integer"},"TransformEncryption":{"shape":"S83"}}}},"NextToken":{}}}},"GetMapping":{"input":{"type":"structure","required":["Source"],"members":{"Source":{"shape":"Sf6"},"Sinks":{"shape":"Sf7"},"Location":{"shape":"Sf8"}}},"output":{"type":"structure","required":["Mapping"],"members":{"Mapping":{"shape":"Sfa"}}}},"GetPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"}}},"output":{"type":"structure","members":{"Partition":{"shape":"S4j"}}}},"GetPartitionIndexes":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"NextToken":{}}},"output":{"type":"structure","members":{"PartitionIndexDescriptorList":{"type":"list","member":{"type":"structure","required":["IndexName","Keys","IndexStatus"],"members":{"IndexName":{},"Keys":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{}}}},"IndexStatus":{},"BackfillErrors":{"type":"list","member":{"type":"structure","members":{"Code":{},"Partitions":{"type":"list","member":{"shape":"S1c"}}}}}}}},"NextToken":{}}}},"GetPartitions":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"Expression":{},"NextToken":{},"Segment":{"shape":"Sfu"},"MaxResults":{"type":"integer"},"ExcludeColumnSchema":{"type":"boolean"},"TransactionId":{},"QueryAsOfTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"Partitions":{"shape":"S4i"},"NextToken":{}}}},"GetPlan":{"input":{"type":"structure","required":["Mapping","Source"],"members":{"Mapping":{"shape":"Sfa"},"Source":{"shape":"Sf6"},"Sinks":{"shape":"Sf7"},"Location":{"shape":"Sf8"},"Language":{},"AdditionalPlanOptionsMap":{"type":"map","key":{},"value":{}}}},"output":{"type":"structure","members":{"PythonScript":{},"ScalaCode":{}}}},"GetRegistry":{"input":{"type":"structure","required":["RegistryId"],"members":{"RegistryId":{"shape":"S8g"}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"Description":{},"Status":{},"CreatedTime":{},"UpdatedTime":{}}}},"GetResourcePolicies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"GetResourcePoliciesResponseList":{"type":"list","member":{"type":"structure","members":{"PolicyInJson":{},"PolicyHash":{},"CreateTime":{"type":"timestamp"},"UpdateTime":{"type":"timestamp"}}}},"NextToken":{}}}},"GetResourcePolicy":{"input":{"type":"structure","members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"PolicyInJson":{},"PolicyHash":{},"CreateTime":{"type":"timestamp"},"UpdateTime":{"type":"timestamp"}}}},"GetSchema":{"input":{"type":"structure","required":["SchemaId"],"members":{"SchemaId":{"shape":"Sw"}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"SchemaName":{},"SchemaArn":{},"Description":{},"DataFormat":{},"Compatibility":{},"SchemaCheckpoint":{"type":"long"},"LatestSchemaVersion":{"type":"long"},"NextSchemaVersion":{"type":"long"},"SchemaStatus":{},"CreatedTime":{},"UpdatedTime":{}}}},"GetSchemaByDefinition":{"input":{"type":"structure","required":["SchemaId","SchemaDefinition"],"members":{"SchemaId":{"shape":"Sw"},"SchemaDefinition":{}}},"output":{"type":"structure","members":{"SchemaVersionId":{},"SchemaArn":{},"DataFormat":{},"Status":{},"CreatedTime":{}}}},"GetSchemaVersion":{"input":{"type":"structure","members":{"SchemaId":{"shape":"Sw"},"SchemaVersionId":{},"SchemaVersionNumber":{"shape":"Sgh"}}},"output":{"type":"structure","members":{"SchemaVersionId":{},"SchemaDefinition":{},"DataFormat":{},"SchemaArn":{},"VersionNumber":{"type":"long"},"Status":{},"CreatedTime":{}}}},"GetSchemaVersionsDiff":{"input":{"type":"structure","required":["SchemaId","FirstSchemaVersionNumber","SecondSchemaVersionNumber","SchemaDiffType"],"members":{"SchemaId":{"shape":"Sw"},"FirstSchemaVersionNumber":{"shape":"Sgh"},"SecondSchemaVersionNumber":{"shape":"Sgh"},"SchemaDiffType":{}}},"output":{"type":"structure","members":{"Diff":{}}}},"GetSecurityConfiguration":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"SecurityConfiguration":{"shape":"Sgq"}}}},"GetSecurityConfigurations":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"SecurityConfigurations":{"type":"list","member":{"shape":"Sgq"}},"NextToken":{}}}},"GetTable":{"input":{"type":"structure","required":["DatabaseName","Name"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"TransactionId":{},"QueryAsOfTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"Table":{"shape":"Sgw"}}}},"GetTableVersion":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"VersionId":{}}},"output":{"type":"structure","members":{"TableVersion":{"shape":"Sgz"}}}},"GetTableVersions":{"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"TableVersions":{"type":"list","member":{"shape":"Sgz"}},"NextToken":{}}}},"GetTables":{"input":{"type":"structure","required":["DatabaseName"],"members":{"CatalogId":{},"DatabaseName":{},"Expression":{},"NextToken":{},"MaxResults":{"type":"integer"},"TransactionId":{},"QueryAsOfTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"TableList":{"shape":"Sh6"},"NextToken":{}}}},"GetTags":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S6m"}}}},"GetTrigger":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Trigger":{"shape":"S4o"}}}},"GetTriggers":{"input":{"type":"structure","members":{"NextToken":{},"DependentJobName":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Triggers":{"shape":"S4n"},"NextToken":{}}}},"GetUnfilteredPartitionMetadata":{"input":{"type":"structure","required":["CatalogId","DatabaseName","TableName","PartitionValues","SupportedPermissionTypes"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"},"AuditContext":{"shape":"She"},"SupportedPermissionTypes":{"shape":"Shg"}}},"output":{"type":"structure","members":{"Partition":{"shape":"S4j"},"AuthorizedColumns":{"shape":"Sn"},"IsRegisteredWithLakeFormation":{"type":"boolean"}}}},"GetUnfilteredPartitionsMetadata":{"input":{"type":"structure","required":["CatalogId","DatabaseName","TableName","SupportedPermissionTypes"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"Expression":{},"AuditContext":{"shape":"She"},"SupportedPermissionTypes":{"shape":"Shg"},"NextToken":{},"Segment":{"shape":"Sfu"},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"UnfilteredPartitions":{"type":"list","member":{"type":"structure","members":{"Partition":{"shape":"S4j"},"AuthorizedColumns":{"shape":"Sn"},"IsRegisteredWithLakeFormation":{"type":"boolean"}}}},"NextToken":{}}}},"GetUnfilteredTableMetadata":{"input":{"type":"structure","required":["CatalogId","DatabaseName","Name","SupportedPermissionTypes"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"AuditContext":{"shape":"She"},"SupportedPermissionTypes":{"shape":"Shg"}}},"output":{"type":"structure","members":{"Table":{"shape":"Sgw"},"AuthorizedColumns":{"shape":"Sn"},"IsRegisteredWithLakeFormation":{"type":"boolean"},"CellFilters":{"type":"list","member":{"type":"structure","members":{"ColumnName":{},"RowFilterExpression":{}}}}}}},"GetUserDefinedFunction":{"input":{"type":"structure","required":["DatabaseName","FunctionName"],"members":{"CatalogId":{},"DatabaseName":{},"FunctionName":{}}},"output":{"type":"structure","members":{"UserDefinedFunction":{"shape":"Sht"}}}},"GetUserDefinedFunctions":{"input":{"type":"structure","required":["Pattern"],"members":{"CatalogId":{},"DatabaseName":{},"Pattern":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"UserDefinedFunctions":{"type":"list","member":{"shape":"Sht"}},"NextToken":{}}}},"GetWorkflow":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"IncludeGraph":{"type":"boolean"}}},"output":{"type":"structure","members":{"Workflow":{"shape":"S58"}}}},"GetWorkflowRun":{"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{},"RunId":{},"IncludeGraph":{"type":"boolean"}}},"output":{"type":"structure","members":{"Run":{"shape":"S5a"}}}},"GetWorkflowRunProperties":{"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{},"RunId":{}}},"output":{"type":"structure","members":{"RunProperties":{"shape":"S59"}}}},"GetWorkflowRuns":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"IncludeGraph":{"type":"boolean"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Runs":{"type":"list","member":{"shape":"S5a"}},"NextToken":{}}}},"ImportCatalogToGlue":{"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{}}},"ListBlueprints":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"Blueprints":{"shape":"S24"},"NextToken":{}}}},"ListCrawlers":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"CrawlerNames":{"shape":"S26"},"NextToken":{}}}},"ListDevEndpoints":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"DevEndpointNames":{"type":"list","member":{}},"NextToken":{}}}},"ListJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"JobNames":{"shape":"S3x"},"NextToken":{}}}},"ListMLTransforms":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Filter":{"shape":"Sez"},"Sort":{"shape":"Sf0"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","required":["TransformIds"],"members":{"TransformIds":{"type":"list","member":{}},"NextToken":{}}}},"ListRegistries":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Registries":{"type":"list","member":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{},"Description":{},"Status":{},"CreatedTime":{},"UpdatedTime":{}}}},"NextToken":{}}}},"ListSchemaVersions":{"input":{"type":"structure","required":["SchemaId"],"members":{"SchemaId":{"shape":"Sw"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Schemas":{"type":"list","member":{"type":"structure","members":{"SchemaArn":{},"SchemaVersionId":{},"VersionNumber":{"type":"long"},"Status":{},"CreatedTime":{}}}},"NextToken":{}}}},"ListSchemas":{"input":{"type":"structure","members":{"RegistryId":{"shape":"S8g"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Schemas":{"type":"list","member":{"type":"structure","members":{"RegistryName":{},"SchemaName":{},"SchemaArn":{},"Description":{},"SchemaStatus":{},"CreatedTime":{},"UpdatedTime":{}}}},"NextToken":{}}}},"ListTriggers":{"input":{"type":"structure","members":{"NextToken":{},"DependentJobName":{},"MaxResults":{"type":"integer"},"Tags":{"shape":"S6m"}}},"output":{"type":"structure","members":{"TriggerNames":{"shape":"S4l"},"NextToken":{}}}},"ListWorkflows":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Workflows":{"shape":"S55"},"NextToken":{}}}},"PutDataCatalogEncryptionSettings":{"input":{"type":"structure","required":["DataCatalogEncryptionSettings"],"members":{"CatalogId":{},"DataCatalogEncryptionSettings":{"shape":"Sd8"}}},"output":{"type":"structure","members":{}}},"PutResourcePolicy":{"input":{"type":"structure","required":["PolicyInJson"],"members":{"PolicyInJson":{},"ResourceArn":{},"PolicyHashCondition":{},"PolicyExistsCondition":{},"EnableHybrid":{}}},"output":{"type":"structure","members":{"PolicyHash":{}}}},"PutSchemaVersionMetadata":{"input":{"type":"structure","required":["MetadataKeyValue"],"members":{"SchemaId":{"shape":"Sw"},"SchemaVersionNumber":{"shape":"Sgh"},"SchemaVersionId":{},"MetadataKeyValue":{"shape":"Sj9"}}},"output":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"RegistryName":{},"LatestVersion":{"type":"boolean"},"VersionNumber":{"type":"long"},"SchemaVersionId":{},"MetadataKey":{},"MetadataValue":{}}}},"PutWorkflowRunProperties":{"input":{"type":"structure","required":["Name","RunId","RunProperties"],"members":{"Name":{},"RunId":{},"RunProperties":{"shape":"S59"}}},"output":{"type":"structure","members":{}}},"QuerySchemaVersionMetadata":{"input":{"type":"structure","members":{"SchemaId":{"shape":"Sw"},"SchemaVersionNumber":{"shape":"Sgh"},"SchemaVersionId":{},"MetadataList":{"type":"list","member":{"shape":"Sj9"}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"MetadataInfoMap":{"type":"map","key":{},"value":{"type":"structure","members":{"MetadataValue":{},"CreatedTime":{},"OtherMetadataValueList":{"type":"list","member":{"type":"structure","members":{"MetadataValue":{},"CreatedTime":{}}}}}}},"SchemaVersionId":{},"NextToken":{}}}},"RegisterSchemaVersion":{"input":{"type":"structure","required":["SchemaId","SchemaDefinition"],"members":{"SchemaId":{"shape":"Sw"},"SchemaDefinition":{}}},"output":{"type":"structure","members":{"SchemaVersionId":{},"VersionNumber":{"type":"long"},"Status":{}}}},"RemoveSchemaVersionMetadata":{"input":{"type":"structure","required":["MetadataKeyValue"],"members":{"SchemaId":{"shape":"Sw"},"SchemaVersionNumber":{"shape":"Sgh"},"SchemaVersionId":{},"MetadataKeyValue":{"shape":"Sj9"}}},"output":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"RegistryName":{},"LatestVersion":{"type":"boolean"},"VersionNumber":{"type":"long"},"SchemaVersionId":{},"MetadataKey":{},"MetadataValue":{}}}},"ResetJobBookmark":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{},"RunId":{}}},"output":{"type":"structure","members":{"JobBookmarkEntry":{"shape":"Sdw"}}}},"ResumeWorkflowRun":{"input":{"type":"structure","required":["Name","RunId","NodeIds"],"members":{"Name":{},"RunId":{},"NodeIds":{"shape":"Sju"}}},"output":{"type":"structure","members":{"RunId":{},"NodeIds":{"shape":"Sju"}}}},"SearchTables":{"input":{"type":"structure","members":{"CatalogId":{},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{},"Comparator":{}}}},"SearchText":{},"SortCriteria":{"type":"list","member":{"type":"structure","members":{"FieldName":{},"Sort":{}}}},"MaxResults":{"type":"integer"},"ResourceShareType":{}}},"output":{"type":"structure","members":{"NextToken":{},"TableList":{"shape":"Sh6"}}}},"StartBlueprintRun":{"input":{"type":"structure","required":["BlueprintName","RoleArn"],"members":{"BlueprintName":{},"Parameters":{},"RoleArn":{}}},"output":{"type":"structure","members":{"RunId":{}}}},"StartCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"StartCrawlerSchedule":{"input":{"type":"structure","required":["CrawlerName"],"members":{"CrawlerName":{}}},"output":{"type":"structure","members":{}}},"StartExportLabelsTaskRun":{"input":{"type":"structure","required":["TransformId","OutputS3Path"],"members":{"TransformId":{},"OutputS3Path":{}}},"output":{"type":"structure","members":{"TaskRunId":{}}}},"StartImportLabelsTaskRun":{"input":{"type":"structure","required":["TransformId","InputS3Path"],"members":{"TransformId":{},"InputS3Path":{},"ReplaceAllLabels":{"type":"boolean"}}},"output":{"type":"structure","members":{"TaskRunId":{}}}},"StartJobRun":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{},"JobRunId":{},"Arguments":{"shape":"S48"},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"SecurityConfiguration":{},"NotificationProperty":{"shape":"S4d"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"}}},"output":{"type":"structure","members":{"JobRunId":{}}}},"StartMLEvaluationTaskRun":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{}}},"output":{"type":"structure","members":{"TaskRunId":{}}}},"StartMLLabelingSetGenerationTaskRun":{"input":{"type":"structure","required":["TransformId","OutputS3Path"],"members":{"TransformId":{},"OutputS3Path":{}}},"output":{"type":"structure","members":{"TaskRunId":{}}}},"StartTrigger":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"StartWorkflowRun":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"RunProperties":{"shape":"S59"}}},"output":{"type":"structure","members":{"RunId":{}}}},"StopCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{}}},"StopCrawlerSchedule":{"input":{"type":"structure","required":["CrawlerName"],"members":{"CrawlerName":{}}},"output":{"type":"structure","members":{}}},"StopTrigger":{"input":{"type":"structure","required":["Name"],"members":{"Name":{}}},"output":{"type":"structure","members":{"Name":{}}}},"StopWorkflowRun":{"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{},"RunId":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","TagsToAdd"],"members":{"ResourceArn":{},"TagsToAdd":{"shape":"S6m"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagsToRemove"],"members":{"ResourceArn":{},"TagsToRemove":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateBlueprint":{"input":{"type":"structure","required":["Name","BlueprintLocation"],"members":{"Name":{},"Description":{},"BlueprintLocation":{}}},"output":{"type":"structure","members":{"Name":{}}}},"UpdateClassifier":{"input":{"type":"structure","members":{"GrokClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"Classification":{},"GrokPattern":{},"CustomPatterns":{}}},"XMLClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"Classification":{},"RowTag":{}}},"JsonClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"JsonPath":{}}},"CsvClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"Delimiter":{},"QuoteSymbol":{},"ContainsHeader":{},"Header":{"shape":"S73"},"DisableValueTrimming":{"type":"boolean"},"AllowSingleColumn":{"type":"boolean"}}}}},"output":{"type":"structure","members":{}}},"UpdateColumnStatisticsForPartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValues","ColumnStatisticsList"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValues":{"shape":"S6"},"ColumnStatisticsList":{"shape":"Sla"}}},"output":{"type":"structure","members":{"Errors":{"shape":"Slc"}}}},"UpdateColumnStatisticsForTable":{"input":{"type":"structure","required":["DatabaseName","TableName","ColumnStatisticsList"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"ColumnStatisticsList":{"shape":"Sla"}}},"output":{"type":"structure","members":{"Errors":{"shape":"Slc"}}}},"UpdateConnection":{"input":{"type":"structure","required":["Name","ConnectionInput"],"members":{"CatalogId":{},"Name":{},"ConnectionInput":{"shape":"S76"}}},"output":{"type":"structure","members":{}}},"UpdateCrawler":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Role":{},"DatabaseName":{},"Description":{},"Targets":{"shape":"S2b"},"Schedule":{},"Classifiers":{"shape":"S2w"},"TablePrefix":{},"SchemaChangePolicy":{"shape":"S2z"},"RecrawlPolicy":{"shape":"S2x"},"LineageConfiguration":{"shape":"S32"},"LakeFormationConfiguration":{"shape":"S3i"},"Configuration":{},"CrawlerSecurityConfiguration":{}}},"output":{"type":"structure","members":{}}},"UpdateCrawlerSchedule":{"input":{"type":"structure","required":["CrawlerName"],"members":{"CrawlerName":{},"Schedule":{}}},"output":{"type":"structure","members":{}}},"UpdateDatabase":{"input":{"type":"structure","required":["Name","DatabaseInput"],"members":{"CatalogId":{},"Name":{},"DatabaseInput":{"shape":"S7h"}}},"output":{"type":"structure","members":{}}},"UpdateDevEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{},"PublicKey":{},"AddPublicKeys":{"shape":"S3u"},"DeletePublicKeys":{"shape":"S3u"},"CustomLibraries":{"type":"structure","members":{"ExtraPythonLibsS3Path":{},"ExtraJarsS3Path":{}}},"UpdateEtlLibraries":{"type":"boolean"},"DeleteArguments":{"shape":"S3q"},"AddArguments":{"shape":"S3v"}}},"output":{"type":"structure","members":{}}},"UpdateJob":{"input":{"type":"structure","required":["JobName","JobUpdate"],"members":{"JobName":{},"JobUpdate":{"type":"structure","members":{"Description":{},"LogUri":{},"Role":{},"ExecutionProperty":{"shape":"S43"},"Command":{"shape":"S45"},"DefaultArguments":{"shape":"S48"},"NonOverridableArguments":{"shape":"S48"},"Connections":{"shape":"S49"},"MaxRetries":{"type":"integer"},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"SecurityConfiguration":{},"NotificationProperty":{"shape":"S4d"},"GlueVersion":{}}}}},"output":{"type":"structure","members":{"JobName":{}}}},"UpdateMLTransform":{"input":{"type":"structure","required":["TransformId"],"members":{"TransformId":{},"Name":{},"Description":{},"Parameters":{"shape":"S7y"},"Role":{},"GlueVersion":{},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"Timeout":{"type":"integer"},"MaxRetries":{"type":"integer"}}},"output":{"type":"structure","members":{"TransformId":{}}}},"UpdatePartition":{"input":{"type":"structure","required":["DatabaseName","TableName","PartitionValueList","PartitionInput"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"PartitionValueList":{"shape":"S66"},"PartitionInput":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"UpdateRegistry":{"input":{"type":"structure","required":["RegistryId","Description"],"members":{"RegistryId":{"shape":"S8g"},"Description":{}}},"output":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{}}}},"UpdateSchema":{"input":{"type":"structure","required":["SchemaId"],"members":{"SchemaId":{"shape":"Sw"},"SchemaVersionNumber":{"shape":"Sgh"},"Compatibility":{},"Description":{}}},"output":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"RegistryName":{}}}},"UpdateTable":{"input":{"type":"structure","required":["DatabaseName","TableInput"],"members":{"CatalogId":{},"DatabaseName":{},"TableInput":{"shape":"S9d"},"SkipArchive":{"type":"boolean"},"TransactionId":{},"VersionId":{}}},"output":{"type":"structure","members":{}}},"UpdateTrigger":{"input":{"type":"structure","required":["Name","TriggerUpdate"],"members":{"Name":{},"TriggerUpdate":{"type":"structure","members":{"Name":{},"Description":{},"Schedule":{},"Actions":{"shape":"S4s"},"Predicate":{"shape":"S4u"},"EventBatchingCondition":{"shape":"S51"}}}}},"output":{"type":"structure","members":{"Trigger":{"shape":"S4o"}}}},"UpdateUserDefinedFunction":{"input":{"type":"structure","required":["DatabaseName","FunctionName","FunctionInput"],"members":{"CatalogId":{},"DatabaseName":{},"FunctionName":{},"FunctionInput":{"shape":"S9o"}}},"output":{"type":"structure","members":{}}},"UpdateWorkflow":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"DefaultRunProperties":{"shape":"S59"},"MaxConcurrentRuns":{"type":"integer"}}},"output":{"type":"structure","members":{"Name":{}}}}},"shapes":{"S5":{"type":"structure","members":{"Values":{"shape":"S6"},"LastAccessTime":{"type":"timestamp"},"StorageDescriptor":{"shape":"S9"},"Parameters":{"shape":"Se"},"LastAnalyzedTime":{"type":"timestamp"}}},"S6":{"type":"list","member":{}},"S9":{"type":"structure","members":{"Columns":{"shape":"Sa"},"Location":{},"AdditionalLocations":{"type":"list","member":{}},"InputFormat":{},"OutputFormat":{},"Compressed":{"type":"boolean"},"NumberOfBuckets":{"type":"integer"},"SerdeInfo":{"type":"structure","members":{"Name":{},"SerializationLibrary":{},"Parameters":{"shape":"Se"}}},"BucketColumns":{"shape":"Sn"},"SortColumns":{"type":"list","member":{"type":"structure","required":["Column","SortOrder"],"members":{"Column":{},"SortOrder":{"type":"integer"}}}},"Parameters":{"shape":"Se"},"SkewedInfo":{"type":"structure","members":{"SkewedColumnNames":{"shape":"Sn"},"SkewedColumnValues":{"type":"list","member":{}},"SkewedColumnValueLocationMaps":{"type":"map","key":{},"value":{}}}},"StoredAsSubDirectories":{"type":"boolean"},"SchemaReference":{"type":"structure","members":{"SchemaId":{"shape":"Sw"},"SchemaVersionId":{},"SchemaVersionNumber":{"type":"long"}}}}},"Sa":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Type":{},"Comment":{},"Parameters":{"shape":"Se"}}}},"Se":{"type":"map","key":{},"value":{}},"Sn":{"type":"list","member":{}},"Sw":{"type":"structure","members":{"SchemaArn":{},"SchemaName":{},"RegistryName":{}}},"S12":{"type":"list","member":{"type":"structure","members":{"PartitionValues":{"shape":"S6"},"ErrorDetail":{"shape":"S14"}}}},"S14":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}},"S1c":{"type":"structure","required":["Values"],"members":{"Values":{"shape":"S6"}}},"S1w":{"type":"structure","members":{"Name":{},"Description":{},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"ParameterSpec":{},"BlueprintLocation":{},"BlueprintServiceLocation":{},"Status":{},"ErrorMessage":{},"LastActiveDefinition":{"type":"structure","members":{"Description":{},"LastModifiedOn":{"type":"timestamp"},"ParameterSpec":{},"BlueprintLocation":{},"BlueprintServiceLocation":{}}}}},"S24":{"type":"list","member":{}},"S26":{"type":"list","member":{}},"S28":{"type":"list","member":{"shape":"S29"}},"S29":{"type":"structure","members":{"Name":{},"Role":{},"Targets":{"shape":"S2b"},"DatabaseName":{},"Description":{},"Classifiers":{"shape":"S2w"},"RecrawlPolicy":{"shape":"S2x"},"SchemaChangePolicy":{"shape":"S2z"},"LineageConfiguration":{"shape":"S32"},"State":{},"TablePrefix":{},"Schedule":{"type":"structure","members":{"ScheduleExpression":{},"State":{}}},"CrawlElapsedTime":{"type":"long"},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"LastCrawl":{"type":"structure","members":{"Status":{},"ErrorMessage":{},"LogGroup":{},"LogStream":{},"MessagePrefix":{},"StartTime":{"type":"timestamp"}}},"Version":{"type":"long"},"Configuration":{},"CrawlerSecurityConfiguration":{},"LakeFormationConfiguration":{"shape":"S3i"}}},"S2b":{"type":"structure","members":{"S3Targets":{"type":"list","member":{"type":"structure","members":{"Path":{},"Exclusions":{"shape":"S2f"},"ConnectionName":{},"SampleSize":{"type":"integer"},"EventQueueArn":{},"DlqEventQueueArn":{}}}},"JdbcTargets":{"type":"list","member":{"type":"structure","members":{"ConnectionName":{},"Path":{},"Exclusions":{"shape":"S2f"}}}},"MongoDBTargets":{"type":"list","member":{"type":"structure","members":{"ConnectionName":{},"Path":{},"ScanAll":{"type":"boolean"}}}},"DynamoDBTargets":{"type":"list","member":{"type":"structure","members":{"Path":{},"scanAll":{"type":"boolean"},"scanRate":{"type":"double"}}}},"CatalogTargets":{"type":"list","member":{"type":"structure","required":["DatabaseName","Tables"],"members":{"DatabaseName":{},"Tables":{"type":"list","member":{}},"ConnectionName":{}}}},"DeltaTargets":{"type":"list","member":{"type":"structure","members":{"DeltaTables":{"shape":"S2f"},"ConnectionName":{},"WriteManifest":{"type":"boolean"}}}}}},"S2f":{"type":"list","member":{}},"S2w":{"type":"list","member":{}},"S2x":{"type":"structure","members":{"RecrawlBehavior":{}}},"S2z":{"type":"structure","members":{"UpdateBehavior":{},"DeleteBehavior":{}}},"S32":{"type":"structure","members":{"CrawlerLineageSettings":{}}},"S3i":{"type":"structure","members":{"UseLakeFormationCredentials":{"type":"boolean"},"AccountId":{}}},"S3l":{"type":"list","member":{}},"S3n":{"type":"list","member":{"shape":"S3o"}},"S3o":{"type":"structure","members":{"EndpointName":{},"RoleArn":{},"SecurityGroupIds":{"shape":"S3q"},"SubnetId":{},"YarnEndpointAddress":{},"PrivateAddress":{},"ZeppelinRemoteSparkInterpreterPort":{"type":"integer"},"PublicAddress":{},"Status":{},"WorkerType":{},"GlueVersion":{},"NumberOfWorkers":{"type":"integer"},"NumberOfNodes":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"ExtraPythonLibsS3Path":{},"ExtraJarsS3Path":{},"FailureReason":{},"LastUpdateStatus":{},"CreatedTimestamp":{"type":"timestamp"},"LastModifiedTimestamp":{"type":"timestamp"},"PublicKey":{},"PublicKeys":{"shape":"S3u"},"SecurityConfiguration":{},"Arguments":{"shape":"S3v"}}},"S3q":{"type":"list","member":{}},"S3u":{"type":"list","member":{}},"S3v":{"type":"map","key":{},"value":{}},"S3x":{"type":"list","member":{}},"S3z":{"type":"list","member":{"shape":"S40"}},"S40":{"type":"structure","members":{"Name":{},"Description":{},"LogUri":{},"Role":{},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"ExecutionProperty":{"shape":"S43"},"Command":{"shape":"S45"},"DefaultArguments":{"shape":"S48"},"NonOverridableArguments":{"shape":"S48"},"Connections":{"shape":"S49"},"MaxRetries":{"type":"integer"},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"SecurityConfiguration":{},"NotificationProperty":{"shape":"S4d"},"GlueVersion":{}}},"S43":{"type":"structure","members":{"MaxConcurrentRuns":{"type":"integer"}}},"S45":{"type":"structure","members":{"Name":{},"ScriptLocation":{},"PythonVersion":{}}},"S48":{"type":"map","key":{},"value":{}},"S49":{"type":"structure","members":{"Connections":{"type":"list","member":{}}}},"S4d":{"type":"structure","members":{"NotifyDelayAfter":{"type":"integer"}}},"S4g":{"type":"list","member":{"shape":"S1c"}},"S4i":{"type":"list","member":{"shape":"S4j"}},"S4j":{"type":"structure","members":{"Values":{"shape":"S6"},"DatabaseName":{},"TableName":{},"CreationTime":{"type":"timestamp"},"LastAccessTime":{"type":"timestamp"},"StorageDescriptor":{"shape":"S9"},"Parameters":{"shape":"Se"},"LastAnalyzedTime":{"type":"timestamp"},"CatalogId":{}}},"S4l":{"type":"list","member":{}},"S4n":{"type":"list","member":{"shape":"S4o"}},"S4o":{"type":"structure","members":{"Name":{},"WorkflowName":{},"Id":{},"Type":{},"State":{},"Description":{},"Schedule":{},"Actions":{"shape":"S4s"},"Predicate":{"shape":"S4u"},"EventBatchingCondition":{"shape":"S51"}}},"S4s":{"type":"list","member":{"type":"structure","members":{"JobName":{},"Arguments":{"shape":"S48"},"Timeout":{"type":"integer"},"SecurityConfiguration":{},"NotificationProperty":{"shape":"S4d"},"CrawlerName":{}}}},"S4u":{"type":"structure","members":{"Logical":{},"Conditions":{"type":"list","member":{"type":"structure","members":{"LogicalOperator":{},"JobName":{},"State":{},"CrawlerName":{},"CrawlState":{}}}}}},"S51":{"type":"structure","required":["BatchSize"],"members":{"BatchSize":{"type":"integer"},"BatchWindow":{"type":"integer"}}},"S55":{"type":"list","member":{}},"S58":{"type":"structure","members":{"Name":{},"Description":{},"DefaultRunProperties":{"shape":"S59"},"CreatedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"LastRun":{"shape":"S5a"},"Graph":{"shape":"S5d"},"MaxConcurrentRuns":{"type":"integer"},"BlueprintDetails":{"type":"structure","members":{"BlueprintName":{},"RunId":{}}}}},"S59":{"type":"map","key":{},"value":{}},"S5a":{"type":"structure","members":{"Name":{},"WorkflowRunId":{},"PreviousRunId":{},"WorkflowRunProperties":{"shape":"S59"},"StartedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"Status":{},"ErrorMessage":{},"Statistics":{"type":"structure","members":{"TotalActions":{"type":"integer"},"TimeoutActions":{"type":"integer"},"FailedActions":{"type":"integer"},"StoppedActions":{"type":"integer"},"SucceededActions":{"type":"integer"},"RunningActions":{"type":"integer"}}},"Graph":{"shape":"S5d"},"StartingEventBatchCondition":{"type":"structure","members":{"BatchSize":{"type":"integer"},"BatchWindow":{"type":"integer"}}}}},"S5d":{"type":"structure","members":{"Nodes":{"type":"list","member":{"type":"structure","members":{"Type":{},"Name":{},"UniqueId":{},"TriggerDetails":{"type":"structure","members":{"Trigger":{"shape":"S4o"}}},"JobDetails":{"type":"structure","members":{"JobRuns":{"shape":"S5j"}}},"CrawlerDetails":{"type":"structure","members":{"Crawls":{"type":"list","member":{"type":"structure","members":{"State":{},"StartedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"ErrorMessage":{},"LogGroup":{},"LogStream":{}}}}}}}}},"Edges":{"type":"list","member":{"type":"structure","members":{"SourceId":{},"DestinationId":{}}}}}},"S5j":{"type":"list","member":{"shape":"S5k"}},"S5k":{"type":"structure","members":{"Id":{},"Attempt":{"type":"integer"},"PreviousRunId":{},"TriggerName":{},"JobName":{},"StartedOn":{"type":"timestamp"},"LastModifiedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"JobRunState":{},"Arguments":{"shape":"S48"},"ErrorMessage":{},"PredecessorRuns":{"type":"list","member":{"type":"structure","members":{"JobName":{},"RunId":{}}}},"AllocatedCapacity":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use MaxCapacity instead.","type":"integer"},"ExecutionTime":{"type":"integer"},"Timeout":{"type":"integer"},"MaxCapacity":{"type":"double"},"WorkerType":{},"NumberOfWorkers":{"type":"integer"},"SecurityConfiguration":{},"LogGroupName":{},"NotificationProperty":{"shape":"S4d"},"GlueVersion":{}}},"S66":{"type":"list","member":{}},"S6m":{"type":"map","key":{},"value":{}},"S73":{"type":"list","member":{}},"S76":{"type":"structure","required":["Name","ConnectionType","ConnectionProperties"],"members":{"Name":{},"Description":{},"ConnectionType":{},"MatchCriteria":{"shape":"S78"},"ConnectionProperties":{"shape":"S79"},"PhysicalConnectionRequirements":{"shape":"S7b"}}},"S78":{"type":"list","member":{}},"S79":{"type":"map","key":{},"value":{}},"S7b":{"type":"structure","members":{"SubnetId":{},"SecurityGroupIdList":{"type":"list","member":{}},"AvailabilityZone":{}}},"S7h":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"LocationUri":{},"Parameters":{"shape":"Se"},"CreateTableDefaultPermissions":{"shape":"S7j"},"TargetDatabase":{"shape":"S7p"}}},"S7j":{"type":"list","member":{"type":"structure","members":{"Principal":{"type":"structure","members":{"DataLakePrincipalIdentifier":{}}},"Permissions":{"type":"list","member":{}}}}},"S7p":{"type":"structure","members":{"CatalogId":{},"DatabaseName":{}}},"S7w":{"type":"list","member":{"type":"structure","required":["DatabaseName","TableName"],"members":{"DatabaseName":{},"TableName":{},"CatalogId":{},"ConnectionName":{}}}},"S7y":{"type":"structure","required":["TransformType"],"members":{"TransformType":{},"FindMatchesParameters":{"type":"structure","members":{"PrimaryKeyColumnName":{},"PrecisionRecallTradeoff":{"type":"double"},"AccuracyCostTradeoff":{"type":"double"},"EnforceProvidedLabels":{"type":"boolean"}}}}},"S83":{"type":"structure","members":{"MlUserDataEncryption":{"type":"structure","required":["MlUserDataEncryptionMode"],"members":{"MlUserDataEncryptionMode":{},"KmsKeyId":{}}},"TaskRunSecurityConfigurationName":{}}},"S8a":{"type":"structure","required":["Keys","IndexName"],"members":{"Keys":{"type":"list","member":{}},"IndexName":{}}},"S8g":{"type":"structure","members":{"RegistryName":{},"RegistryArn":{}}},"S8n":{"type":"list","member":{"type":"structure","required":["Id","NodeType","Args"],"members":{"Id":{},"NodeType":{},"Args":{"shape":"S8r"},"LineNumber":{"type":"integer"}}}},"S8r":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{},"Param":{"type":"boolean"}}}},"S8v":{"type":"list","member":{"type":"structure","required":["Source","Target"],"members":{"Source":{},"Target":{},"TargetParameter":{}}}},"S92":{"type":"structure","members":{"S3Encryption":{"type":"list","member":{"type":"structure","members":{"S3EncryptionMode":{},"KmsKeyArn":{}}}},"CloudWatchEncryption":{"type":"structure","members":{"CloudWatchEncryptionMode":{},"KmsKeyArn":{}}},"JobBookmarksEncryption":{"type":"structure","members":{"JobBookmarksEncryptionMode":{},"KmsKeyArn":{}}}}},"S9d":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"Owner":{},"LastAccessTime":{"type":"timestamp"},"LastAnalyzedTime":{"type":"timestamp"},"Retention":{"type":"integer"},"StorageDescriptor":{"shape":"S9"},"PartitionKeys":{"shape":"Sa"},"ViewOriginalText":{},"ViewExpandedText":{},"TableType":{},"Parameters":{"shape":"Se"},"TargetTable":{"shape":"S9h"}}},"S9h":{"type":"structure","members":{"CatalogId":{},"DatabaseName":{},"Name":{}}},"S9o":{"type":"structure","members":{"FunctionName":{},"ClassName":{},"OwnerName":{},"OwnerType":{},"ResourceUris":{"shape":"S9q"}}},"S9q":{"type":"list","member":{"type":"structure","members":{"ResourceType":{},"Uri":{}}}},"Sbf":{"type":"structure","members":{"BlueprintName":{},"RunId":{},"WorkflowName":{},"State":{},"StartedOn":{"type":"timestamp"},"CompletedOn":{"type":"timestamp"},"ErrorMessage":{},"RollbackErrorMessage":{},"Parameters":{},"RoleArn":{}}},"Sbt":{"type":"structure","members":{"GrokClassifier":{"type":"structure","required":["Name","Classification","GrokPattern"],"members":{"Name":{},"Classification":{},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"Version":{"type":"long"},"GrokPattern":{},"CustomPatterns":{}}},"XMLClassifier":{"type":"structure","required":["Name","Classification"],"members":{"Name":{},"Classification":{},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"Version":{"type":"long"},"RowTag":{}}},"JsonClassifier":{"type":"structure","required":["Name","JsonPath"],"members":{"Name":{},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"Version":{"type":"long"},"JsonPath":{}}},"CsvClassifier":{"type":"structure","required":["Name"],"members":{"Name":{},"CreationTime":{"type":"timestamp"},"LastUpdated":{"type":"timestamp"},"Version":{"type":"long"},"Delimiter":{},"QuoteSymbol":{},"ContainsHeader":{},"Header":{"shape":"S73"},"DisableValueTrimming":{"type":"boolean"},"AllowSingleColumn":{"type":"boolean"}}}}},"Sc3":{"type":"list","member":{}},"Sc5":{"type":"list","member":{"shape":"Sc6"}},"Sc6":{"type":"structure","required":["ColumnName","ColumnType","AnalyzedTime","StatisticsData"],"members":{"ColumnName":{},"ColumnType":{},"AnalyzedTime":{"type":"timestamp"},"StatisticsData":{"type":"structure","required":["Type"],"members":{"Type":{},"BooleanColumnStatisticsData":{"type":"structure","required":["NumberOfTrues","NumberOfFalses","NumberOfNulls"],"members":{"NumberOfTrues":{"type":"long"},"NumberOfFalses":{"type":"long"},"NumberOfNulls":{"type":"long"}}},"DateColumnStatisticsData":{"type":"structure","required":["NumberOfNulls","NumberOfDistinctValues"],"members":{"MinimumValue":{"type":"timestamp"},"MaximumValue":{"type":"timestamp"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"DecimalColumnStatisticsData":{"type":"structure","required":["NumberOfNulls","NumberOfDistinctValues"],"members":{"MinimumValue":{"shape":"Sce"},"MaximumValue":{"shape":"Sce"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"DoubleColumnStatisticsData":{"type":"structure","required":["NumberOfNulls","NumberOfDistinctValues"],"members":{"MinimumValue":{"type":"double"},"MaximumValue":{"type":"double"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"LongColumnStatisticsData":{"type":"structure","required":["NumberOfNulls","NumberOfDistinctValues"],"members":{"MinimumValue":{"type":"long"},"MaximumValue":{"type":"long"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"StringColumnStatisticsData":{"type":"structure","required":["MaximumLength","AverageLength","NumberOfNulls","NumberOfDistinctValues"],"members":{"MaximumLength":{"type":"long"},"AverageLength":{"type":"double"},"NumberOfNulls":{"type":"long"},"NumberOfDistinctValues":{"type":"long"}}},"BinaryColumnStatisticsData":{"type":"structure","required":["MaximumLength","AverageLength","NumberOfNulls"],"members":{"MaximumLength":{"type":"long"},"AverageLength":{"type":"double"},"NumberOfNulls":{"type":"long"}}}}}}},"Sce":{"type":"structure","required":["UnscaledValue","Scale"],"members":{"UnscaledValue":{"type":"blob"},"Scale":{"type":"integer"}}},"Scn":{"type":"list","member":{"type":"structure","members":{"ColumnName":{},"Error":{"shape":"S14"}}}},"Sct":{"type":"structure","members":{"Name":{},"Description":{},"ConnectionType":{},"MatchCriteria":{"shape":"S78"},"ConnectionProperties":{"shape":"S79"},"PhysicalConnectionRequirements":{"shape":"S7b"},"CreationTime":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"LastUpdatedBy":{}}},"Sd8":{"type":"structure","members":{"EncryptionAtRest":{"type":"structure","required":["CatalogEncryptionMode"],"members":{"CatalogEncryptionMode":{},"SseAwsKmsKeyId":{}}},"ConnectionPasswordEncryption":{"type":"structure","required":["ReturnConnectionPasswordEncrypted"],"members":{"ReturnConnectionPasswordEncrypted":{"type":"boolean"},"AwsKmsKeyId":{}}}}},"Sde":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"LocationUri":{},"Parameters":{"shape":"Se"},"CreateTime":{"type":"timestamp"},"CreateTableDefaultPermissions":{"shape":"S7j"},"TargetDatabase":{"shape":"S7p"},"CatalogId":{}}},"Sdw":{"type":"structure","members":{"JobName":{},"Version":{"type":"integer"},"Run":{"type":"integer"},"Attempt":{"type":"integer"},"PreviousRunId":{},"RunId":{},"JobBookmark":{}}},"Se6":{"type":"structure","members":{"TaskType":{},"ImportLabelsTaskRunProperties":{"type":"structure","members":{"InputS3Path":{},"Replace":{"type":"boolean"}}},"ExportLabelsTaskRunProperties":{"type":"structure","members":{"OutputS3Path":{}}},"LabelingSetGenerationTaskRunProperties":{"type":"structure","members":{"OutputS3Path":{}}},"FindMatchesTaskRunProperties":{"type":"structure","members":{"JobId":{},"JobName":{},"JobRunId":{}}}}},"Sep":{"type":"structure","required":["TransformType"],"members":{"TransformType":{},"FindMatchesMetrics":{"type":"structure","members":{"AreaUnderPRCurve":{"type":"double"},"Precision":{"type":"double"},"Recall":{"type":"double"},"F1":{"type":"double"},"ConfusionMatrix":{"type":"structure","members":{"NumTruePositives":{"type":"long"},"NumFalsePositives":{"type":"long"},"NumTrueNegatives":{"type":"long"},"NumFalseNegatives":{"type":"long"}}},"ColumnImportances":{"type":"list","member":{"type":"structure","members":{"ColumnName":{},"Importance":{"type":"double"}}}}}}}},"Sew":{"type":"list","member":{"type":"structure","members":{"Name":{},"DataType":{}}}},"Sez":{"type":"structure","members":{"Name":{},"TransformType":{},"Status":{},"GlueVersion":{},"CreatedBefore":{"type":"timestamp"},"CreatedAfter":{"type":"timestamp"},"LastModifiedBefore":{"type":"timestamp"},"LastModifiedAfter":{"type":"timestamp"},"Schema":{"shape":"Sew"}}},"Sf0":{"type":"structure","required":["Column","SortDirection"],"members":{"Column":{},"SortDirection":{}}},"Sf6":{"type":"structure","required":["DatabaseName","TableName"],"members":{"DatabaseName":{},"TableName":{}}},"Sf7":{"type":"list","member":{"shape":"Sf6"}},"Sf8":{"type":"structure","members":{"Jdbc":{"shape":"S8r"},"S3":{"shape":"S8r"},"DynamoDB":{"shape":"S8r"}}},"Sfa":{"type":"list","member":{"type":"structure","members":{"SourceTable":{},"SourcePath":{},"SourceType":{},"TargetTable":{},"TargetPath":{},"TargetType":{}}}},"Sfu":{"type":"structure","required":["SegmentNumber","TotalSegments"],"members":{"SegmentNumber":{"type":"integer"},"TotalSegments":{"type":"integer"}}},"Sgh":{"type":"structure","members":{"LatestVersion":{"type":"boolean"},"VersionNumber":{"type":"long"}}},"Sgq":{"type":"structure","members":{"Name":{},"CreatedTimeStamp":{"type":"timestamp"},"EncryptionConfiguration":{"shape":"S92"}}},"Sgw":{"type":"structure","required":["Name"],"members":{"Name":{},"DatabaseName":{},"Description":{},"Owner":{},"CreateTime":{"type":"timestamp"},"UpdateTime":{"type":"timestamp"},"LastAccessTime":{"type":"timestamp"},"LastAnalyzedTime":{"type":"timestamp"},"Retention":{"type":"integer"},"StorageDescriptor":{"shape":"S9"},"PartitionKeys":{"shape":"Sa"},"ViewOriginalText":{},"ViewExpandedText":{},"TableType":{},"Parameters":{"shape":"Se"},"CreatedBy":{},"IsRegisteredWithLakeFormation":{"type":"boolean"},"TargetTable":{"shape":"S9h"},"CatalogId":{},"VersionId":{}}},"Sgz":{"type":"structure","members":{"Table":{"shape":"Sgw"},"VersionId":{}}},"Sh6":{"type":"list","member":{"shape":"Sgw"}},"She":{"type":"structure","members":{"AdditionalAuditContext":{}}},"Shg":{"type":"list","member":{}},"Sht":{"type":"structure","members":{"FunctionName":{},"DatabaseName":{},"ClassName":{},"OwnerName":{},"OwnerType":{},"CreateTime":{"type":"timestamp"},"ResourceUris":{"shape":"S9q"},"CatalogId":{}}},"Sj9":{"type":"structure","members":{"MetadataKey":{},"MetadataValue":{}}},"Sju":{"type":"list","member":{}},"Sla":{"type":"list","member":{"shape":"Sc6"}},"Slc":{"type":"list","member":{"type":"structure","members":{"ColumnStatistics":{"shape":"Sc6"},"Error":{"shape":"S14"}}}}}} /***/ }), /* 516 */ @@ -48590,7 +48596,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 527 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2017-08-29","endpointPrefix":"mediaconvert","signingName":"mediaconvert","serviceFullName":"AWS Elemental MediaConvert","serviceId":"MediaConvert","protocol":"rest-json","jsonVersion":"1.1","uid":"mediaconvert-2017-08-29","signatureVersion":"v4","serviceAbbreviation":"MediaConvert"},"operations":{"AssociateCertificate":{"http":{"requestUri":"/2017-08-29/certificates","responseCode":201},"input":{"type":"structure","members":{"Arn":{"locationName":"arn"}},"required":["Arn"]},"output":{"type":"structure","members":{}}},"CancelJob":{"http":{"method":"DELETE","requestUri":"/2017-08-29/jobs/{id}","responseCode":202},"input":{"type":"structure","members":{"Id":{"locationName":"id","location":"uri"}},"required":["Id"]},"output":{"type":"structure","members":{}}},"CreateJob":{"http":{"requestUri":"/2017-08-29/jobs","responseCode":201},"input":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"BillingTagsSource":{"locationName":"billingTagsSource"},"ClientRequestToken":{"locationName":"clientRequestToken","idempotencyToken":true},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"JobTemplate":{"locationName":"jobTemplate"},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"Role":{"locationName":"role"},"Settings":{"shape":"Se","locationName":"settings"},"SimulateReservedQueue":{"locationName":"simulateReservedQueue"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"},"Tags":{"shape":"Sj2","locationName":"tags"},"UserMetadata":{"shape":"Sj2","locationName":"userMetadata"}},"required":["Role","Settings"]},"output":{"type":"structure","members":{"Job":{"shape":"Sj4","locationName":"job"}}}},"CreateJobTemplate":{"http":{"requestUri":"/2017-08-29/jobTemplates","responseCode":201},"input":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"Category":{"locationName":"category"},"Description":{"locationName":"description"},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"Name":{"locationName":"name"},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"Settings":{"shape":"Sjk","locationName":"settings"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"},"Tags":{"shape":"Sj2","locationName":"tags"}},"required":["Settings","Name"]},"output":{"type":"structure","members":{"JobTemplate":{"shape":"Sjo","locationName":"jobTemplate"}}}},"CreatePreset":{"http":{"requestUri":"/2017-08-29/presets","responseCode":201},"input":{"type":"structure","members":{"Category":{"locationName":"category"},"Description":{"locationName":"description"},"Name":{"locationName":"name"},"Settings":{"shape":"Sjr","locationName":"settings"},"Tags":{"shape":"Sj2","locationName":"tags"}},"required":["Settings","Name"]},"output":{"type":"structure","members":{"Preset":{"shape":"Sjv","locationName":"preset"}}}},"CreateQueue":{"http":{"requestUri":"/2017-08-29/queues","responseCode":201},"input":{"type":"structure","members":{"Description":{"locationName":"description"},"Name":{"locationName":"name"},"PricingPlan":{"locationName":"pricingPlan"},"ReservationPlanSettings":{"shape":"Sjy","locationName":"reservationPlanSettings"},"Status":{"locationName":"status"},"Tags":{"shape":"Sj2","locationName":"tags"}},"required":["Name"]},"output":{"type":"structure","members":{"Queue":{"shape":"Sk3","locationName":"queue"}}}},"DeleteJobTemplate":{"http":{"method":"DELETE","requestUri":"/2017-08-29/jobTemplates/{name}","responseCode":202},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{}}},"DeletePolicy":{"http":{"method":"DELETE","requestUri":"/2017-08-29/policy","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DeletePreset":{"http":{"method":"DELETE","requestUri":"/2017-08-29/presets/{name}","responseCode":202},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{}}},"DeleteQueue":{"http":{"method":"DELETE","requestUri":"/2017-08-29/queues/{name}","responseCode":202},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{}}},"DescribeEndpoints":{"http":{"requestUri":"/2017-08-29/endpoints","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"locationName":"maxResults","type":"integer"},"Mode":{"locationName":"mode"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Endpoints":{"locationName":"endpoints","type":"list","member":{"type":"structure","members":{"Url":{"locationName":"url"}}}},"NextToken":{"locationName":"nextToken"}}}},"DisassociateCertificate":{"http":{"method":"DELETE","requestUri":"/2017-08-29/certificates/{arn}","responseCode":202},"input":{"type":"structure","members":{"Arn":{"locationName":"arn","location":"uri"}},"required":["Arn"]},"output":{"type":"structure","members":{}}},"GetJob":{"http":{"method":"GET","requestUri":"/2017-08-29/jobs/{id}","responseCode":200},"input":{"type":"structure","members":{"Id":{"locationName":"id","location":"uri"}},"required":["Id"]},"output":{"type":"structure","members":{"Job":{"shape":"Sj4","locationName":"job"}}}},"GetJobTemplate":{"http":{"method":"GET","requestUri":"/2017-08-29/jobTemplates/{name}","responseCode":200},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{"JobTemplate":{"shape":"Sjo","locationName":"jobTemplate"}}}},"GetPolicy":{"http":{"method":"GET","requestUri":"/2017-08-29/policy","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Policy":{"shape":"Skr","locationName":"policy"}}}},"GetPreset":{"http":{"method":"GET","requestUri":"/2017-08-29/presets/{name}","responseCode":200},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{"Preset":{"shape":"Sjv","locationName":"preset"}}}},"GetQueue":{"http":{"method":"GET","requestUri":"/2017-08-29/queues/{name}","responseCode":200},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{"Queue":{"shape":"Sk3","locationName":"queue"}}}},"ListJobTemplates":{"http":{"method":"GET","requestUri":"/2017-08-29/jobTemplates","responseCode":200},"input":{"type":"structure","members":{"Category":{"locationName":"category","location":"querystring"},"ListBy":{"locationName":"listBy","location":"querystring"},"MaxResults":{"locationName":"maxResults","location":"querystring","type":"integer"},"NextToken":{"locationName":"nextToken","location":"querystring"},"Order":{"locationName":"order","location":"querystring"}}},"output":{"type":"structure","members":{"JobTemplates":{"locationName":"jobTemplates","type":"list","member":{"shape":"Sjo"}},"NextToken":{"locationName":"nextToken"}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/2017-08-29/jobs","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"locationName":"maxResults","location":"querystring","type":"integer"},"NextToken":{"locationName":"nextToken","location":"querystring"},"Order":{"locationName":"order","location":"querystring"},"Queue":{"locationName":"queue","location":"querystring"},"Status":{"locationName":"status","location":"querystring"}}},"output":{"type":"structure","members":{"Jobs":{"locationName":"jobs","type":"list","member":{"shape":"Sj4"}},"NextToken":{"locationName":"nextToken"}}}},"ListPresets":{"http":{"method":"GET","requestUri":"/2017-08-29/presets","responseCode":200},"input":{"type":"structure","members":{"Category":{"locationName":"category","location":"querystring"},"ListBy":{"locationName":"listBy","location":"querystring"},"MaxResults":{"locationName":"maxResults","location":"querystring","type":"integer"},"NextToken":{"locationName":"nextToken","location":"querystring"},"Order":{"locationName":"order","location":"querystring"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Presets":{"locationName":"presets","type":"list","member":{"shape":"Sjv"}}}}},"ListQueues":{"http":{"method":"GET","requestUri":"/2017-08-29/queues","responseCode":200},"input":{"type":"structure","members":{"ListBy":{"locationName":"listBy","location":"querystring"},"MaxResults":{"locationName":"maxResults","location":"querystring","type":"integer"},"NextToken":{"locationName":"nextToken","location":"querystring"},"Order":{"locationName":"order","location":"querystring"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Queues":{"locationName":"queues","type":"list","member":{"shape":"Sk3"}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2017-08-29/tags/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"locationName":"arn","location":"uri"}},"required":["Arn"]},"output":{"type":"structure","members":{"ResourceTags":{"locationName":"resourceTags","type":"structure","members":{"Arn":{"locationName":"arn"},"Tags":{"shape":"Sj2","locationName":"tags"}}}}}},"PutPolicy":{"http":{"method":"PUT","requestUri":"/2017-08-29/policy","responseCode":200},"input":{"type":"structure","members":{"Policy":{"shape":"Skr","locationName":"policy"}},"required":["Policy"]},"output":{"type":"structure","members":{"Policy":{"shape":"Skr","locationName":"policy"}}}},"TagResource":{"http":{"requestUri":"/2017-08-29/tags","responseCode":200},"input":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Tags":{"shape":"Sj2","locationName":"tags"}},"required":["Arn","Tags"]},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"PUT","requestUri":"/2017-08-29/tags/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"locationName":"arn","location":"uri"},"TagKeys":{"shape":"Sj9","locationName":"tagKeys"}},"required":["Arn"]},"output":{"type":"structure","members":{}}},"UpdateJobTemplate":{"http":{"method":"PUT","requestUri":"/2017-08-29/jobTemplates/{name}","responseCode":200},"input":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"Category":{"locationName":"category"},"Description":{"locationName":"description"},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"Name":{"locationName":"name","location":"uri"},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"Settings":{"shape":"Sjk","locationName":"settings"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"}},"required":["Name"]},"output":{"type":"structure","members":{"JobTemplate":{"shape":"Sjo","locationName":"jobTemplate"}}}},"UpdatePreset":{"http":{"method":"PUT","requestUri":"/2017-08-29/presets/{name}","responseCode":200},"input":{"type":"structure","members":{"Category":{"locationName":"category"},"Description":{"locationName":"description"},"Name":{"locationName":"name","location":"uri"},"Settings":{"shape":"Sjr","locationName":"settings"}},"required":["Name"]},"output":{"type":"structure","members":{"Preset":{"shape":"Sjv","locationName":"preset"}}}},"UpdateQueue":{"http":{"method":"PUT","requestUri":"/2017-08-29/queues/{name}","responseCode":200},"input":{"type":"structure","members":{"Description":{"locationName":"description"},"Name":{"locationName":"name","location":"uri"},"ReservationPlanSettings":{"shape":"Sjy","locationName":"reservationPlanSettings"},"Status":{"locationName":"status"}},"required":["Name"]},"output":{"type":"structure","members":{"Queue":{"shape":"Sk3","locationName":"queue"}}}}},"shapes":{"S7":{"type":"structure","members":{"Mode":{"locationName":"mode"}},"required":["Mode"]},"Sa":{"type":"list","member":{"type":"structure","members":{"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"WaitMinutes":{"locationName":"waitMinutes","type":"integer"}}}},"Se":{"type":"structure","members":{"AdAvailOffset":{"locationName":"adAvailOffset","type":"integer"},"AvailBlanking":{"shape":"Sg","locationName":"availBlanking"},"Esam":{"shape":"Si","locationName":"esam"},"ExtendedDataServices":{"shape":"So","locationName":"extendedDataServices"},"Inputs":{"locationName":"inputs","type":"list","member":{"type":"structure","members":{"AudioSelectorGroups":{"shape":"St","locationName":"audioSelectorGroups"},"AudioSelectors":{"shape":"Sx","locationName":"audioSelectors"},"CaptionSelectors":{"shape":"S1i","locationName":"captionSelectors"},"Crop":{"shape":"S26","locationName":"crop"},"DeblockFilter":{"locationName":"deblockFilter"},"DecryptionSettings":{"locationName":"decryptionSettings","type":"structure","members":{"DecryptionMode":{"locationName":"decryptionMode"},"EncryptedDecryptionKey":{"locationName":"encryptedDecryptionKey"},"InitializationVector":{"locationName":"initializationVector"},"KmsKeyRegion":{"locationName":"kmsKeyRegion"}}},"DenoiseFilter":{"locationName":"denoiseFilter"},"FileInput":{"locationName":"fileInput"},"FilterEnable":{"locationName":"filterEnable"},"FilterStrength":{"locationName":"filterStrength","type":"integer"},"ImageInserter":{"shape":"S2j","locationName":"imageInserter"},"InputClippings":{"shape":"S2q","locationName":"inputClippings"},"InputScanType":{"locationName":"inputScanType"},"Position":{"shape":"S26","locationName":"position"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"PsiControl":{"locationName":"psiControl"},"SupplementalImps":{"locationName":"supplementalImps","type":"list","member":{}},"TimecodeSource":{"locationName":"timecodeSource"},"TimecodeStart":{"locationName":"timecodeStart"},"VideoSelector":{"shape":"S2z","locationName":"videoSelector"}}}},"KantarWatermark":{"shape":"S38","locationName":"kantarWatermark"},"MotionImageInserter":{"shape":"S3g","locationName":"motionImageInserter"},"NielsenConfiguration":{"shape":"S3o","locationName":"nielsenConfiguration"},"NielsenNonLinearWatermark":{"shape":"S3q","locationName":"nielsenNonLinearWatermark"},"OutputGroups":{"shape":"S3x","locationName":"outputGroups"},"TimecodeConfig":{"shape":"Siu","locationName":"timecodeConfig"},"TimedMetadataInsertion":{"shape":"Six","locationName":"timedMetadataInsertion"}}},"Sg":{"type":"structure","members":{"AvailBlankingImage":{"locationName":"availBlankingImage"}}},"Si":{"type":"structure","members":{"ManifestConfirmConditionNotification":{"locationName":"manifestConfirmConditionNotification","type":"structure","members":{"MccXml":{"locationName":"mccXml"}}},"ResponseSignalPreroll":{"locationName":"responseSignalPreroll","type":"integer"},"SignalProcessingNotification":{"locationName":"signalProcessingNotification","type":"structure","members":{"SccXml":{"locationName":"sccXml"}}}}},"So":{"type":"structure","members":{"CopyProtectionAction":{"locationName":"copyProtectionAction"},"VchipAction":{"locationName":"vchipAction"}}},"St":{"type":"map","key":{},"value":{"type":"structure","members":{"AudioSelectorNames":{"shape":"Sv","locationName":"audioSelectorNames"}}}},"Sv":{"type":"list","member":{}},"Sx":{"type":"map","key":{},"value":{"type":"structure","members":{"CustomLanguageCode":{"locationName":"customLanguageCode"},"DefaultSelection":{"locationName":"defaultSelection"},"ExternalAudioFileInput":{"locationName":"externalAudioFileInput"},"HlsRenditionGroupSettings":{"locationName":"hlsRenditionGroupSettings","type":"structure","members":{"RenditionGroupId":{"locationName":"renditionGroupId"},"RenditionLanguageCode":{"locationName":"renditionLanguageCode"},"RenditionName":{"locationName":"renditionName"}}},"LanguageCode":{"locationName":"languageCode"},"Offset":{"locationName":"offset","type":"integer"},"Pids":{"shape":"S15","locationName":"pids"},"ProgramSelection":{"locationName":"programSelection","type":"integer"},"RemixSettings":{"shape":"S18","locationName":"remixSettings"},"SelectorType":{"locationName":"selectorType"},"Tracks":{"shape":"S15","locationName":"tracks"}}}},"S15":{"type":"list","member":{"type":"integer"}},"S18":{"type":"structure","members":{"ChannelMapping":{"locationName":"channelMapping","type":"structure","members":{"OutputChannels":{"locationName":"outputChannels","type":"list","member":{"type":"structure","members":{"InputChannels":{"locationName":"inputChannels","type":"list","member":{"type":"integer"}},"InputChannelsFineTune":{"locationName":"inputChannelsFineTune","type":"list","member":{"type":"double"}}}}}}},"ChannelsIn":{"locationName":"channelsIn","type":"integer"},"ChannelsOut":{"locationName":"channelsOut","type":"integer"}}},"S1i":{"type":"map","key":{},"value":{"type":"structure","members":{"CustomLanguageCode":{"locationName":"customLanguageCode"},"LanguageCode":{"locationName":"languageCode"},"SourceSettings":{"locationName":"sourceSettings","type":"structure","members":{"AncillarySourceSettings":{"locationName":"ancillarySourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"SourceAncillaryChannelNumber":{"locationName":"sourceAncillaryChannelNumber","type":"integer"},"TerminateCaptions":{"locationName":"terminateCaptions"}}},"DvbSubSourceSettings":{"locationName":"dvbSubSourceSettings","type":"structure","members":{"Pid":{"locationName":"pid","type":"integer"}}},"EmbeddedSourceSettings":{"locationName":"embeddedSourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"Source608ChannelNumber":{"locationName":"source608ChannelNumber","type":"integer"},"Source608TrackNumber":{"locationName":"source608TrackNumber","type":"integer"},"TerminateCaptions":{"locationName":"terminateCaptions"}}},"FileSourceSettings":{"locationName":"fileSourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"Framerate":{"locationName":"framerate","type":"structure","members":{"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"}}},"SourceFile":{"locationName":"sourceFile"},"TimeDelta":{"locationName":"timeDelta","type":"integer"},"TimeDeltaUnits":{"locationName":"timeDeltaUnits"}}},"SourceType":{"locationName":"sourceType"},"TeletextSourceSettings":{"locationName":"teletextSourceSettings","type":"structure","members":{"PageNumber":{"locationName":"pageNumber"}}},"TrackSourceSettings":{"locationName":"trackSourceSettings","type":"structure","members":{"TrackNumber":{"locationName":"trackNumber","type":"integer"}}},"WebvttHlsSourceSettings":{"locationName":"webvttHlsSourceSettings","type":"structure","members":{"RenditionGroupId":{"locationName":"renditionGroupId"},"RenditionLanguageCode":{"locationName":"renditionLanguageCode"},"RenditionName":{"locationName":"renditionName"}}}}}}}},"S26":{"type":"structure","members":{"Height":{"locationName":"height","type":"integer"},"Width":{"locationName":"width","type":"integer"},"X":{"locationName":"x","type":"integer"},"Y":{"locationName":"y","type":"integer"}}},"S2j":{"type":"structure","members":{"InsertableImages":{"locationName":"insertableImages","type":"list","member":{"type":"structure","members":{"Duration":{"locationName":"duration","type":"integer"},"FadeIn":{"locationName":"fadeIn","type":"integer"},"FadeOut":{"locationName":"fadeOut","type":"integer"},"Height":{"locationName":"height","type":"integer"},"ImageInserterInput":{"locationName":"imageInserterInput"},"ImageX":{"locationName":"imageX","type":"integer"},"ImageY":{"locationName":"imageY","type":"integer"},"Layer":{"locationName":"layer","type":"integer"},"Opacity":{"locationName":"opacity","type":"integer"},"StartTime":{"locationName":"startTime"},"Width":{"locationName":"width","type":"integer"}}}}}},"S2q":{"type":"list","member":{"type":"structure","members":{"EndTimecode":{"locationName":"endTimecode"},"StartTimecode":{"locationName":"startTimecode"}}}},"S2z":{"type":"structure","members":{"AlphaBehavior":{"locationName":"alphaBehavior"},"ColorSpace":{"locationName":"colorSpace"},"ColorSpaceUsage":{"locationName":"colorSpaceUsage"},"Hdr10Metadata":{"shape":"S33","locationName":"hdr10Metadata"},"Pid":{"locationName":"pid","type":"integer"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"Rotate":{"locationName":"rotate"},"SampleRange":{"locationName":"sampleRange"}}},"S33":{"type":"structure","members":{"BluePrimaryX":{"locationName":"bluePrimaryX","type":"integer"},"BluePrimaryY":{"locationName":"bluePrimaryY","type":"integer"},"GreenPrimaryX":{"locationName":"greenPrimaryX","type":"integer"},"GreenPrimaryY":{"locationName":"greenPrimaryY","type":"integer"},"MaxContentLightLevel":{"locationName":"maxContentLightLevel","type":"integer"},"MaxFrameAverageLightLevel":{"locationName":"maxFrameAverageLightLevel","type":"integer"},"MaxLuminance":{"locationName":"maxLuminance","type":"integer"},"MinLuminance":{"locationName":"minLuminance","type":"integer"},"RedPrimaryX":{"locationName":"redPrimaryX","type":"integer"},"RedPrimaryY":{"locationName":"redPrimaryY","type":"integer"},"WhitePointX":{"locationName":"whitePointX","type":"integer"},"WhitePointY":{"locationName":"whitePointY","type":"integer"}}},"S38":{"type":"structure","members":{"ChannelName":{"locationName":"channelName"},"ContentReference":{"locationName":"contentReference"},"CredentialsSecretName":{"locationName":"credentialsSecretName"},"FileOffset":{"locationName":"fileOffset","type":"double"},"KantarLicenseId":{"locationName":"kantarLicenseId","type":"integer"},"KantarServerUrl":{"locationName":"kantarServerUrl"},"LogDestination":{"locationName":"logDestination"},"Metadata3":{"locationName":"metadata3"},"Metadata4":{"locationName":"metadata4"},"Metadata5":{"locationName":"metadata5"},"Metadata6":{"locationName":"metadata6"},"Metadata7":{"locationName":"metadata7"},"Metadata8":{"locationName":"metadata8"}}},"S3g":{"type":"structure","members":{"Framerate":{"locationName":"framerate","type":"structure","members":{"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"}}},"Input":{"locationName":"input"},"InsertionMode":{"locationName":"insertionMode"},"Offset":{"locationName":"offset","type":"structure","members":{"ImageX":{"locationName":"imageX","type":"integer"},"ImageY":{"locationName":"imageY","type":"integer"}}},"Playback":{"locationName":"playback"},"StartTime":{"locationName":"startTime"}}},"S3o":{"type":"structure","members":{"BreakoutCode":{"locationName":"breakoutCode","type":"integer"},"DistributorId":{"locationName":"distributorId"}}},"S3q":{"type":"structure","members":{"ActiveWatermarkProcess":{"locationName":"activeWatermarkProcess"},"AdiFilename":{"locationName":"adiFilename"},"AssetId":{"locationName":"assetId"},"AssetName":{"locationName":"assetName"},"CbetSourceId":{"locationName":"cbetSourceId"},"EpisodeId":{"locationName":"episodeId"},"MetadataDestination":{"locationName":"metadataDestination"},"SourceId":{"locationName":"sourceId","type":"integer"},"SourceWatermarkStatus":{"locationName":"sourceWatermarkStatus"},"TicServerUrl":{"locationName":"ticServerUrl"},"UniqueTicPerAudioTrack":{"locationName":"uniqueTicPerAudioTrack"}}},"S3x":{"type":"list","member":{"type":"structure","members":{"AutomatedEncodingSettings":{"locationName":"automatedEncodingSettings","type":"structure","members":{"AbrSettings":{"locationName":"abrSettings","type":"structure","members":{"MaxAbrBitrate":{"locationName":"maxAbrBitrate","type":"integer"},"MaxRenditions":{"locationName":"maxRenditions","type":"integer"},"MinAbrBitrate":{"locationName":"minAbrBitrate","type":"integer"}}}}},"CustomName":{"locationName":"customName"},"Name":{"locationName":"name"},"OutputGroupSettings":{"locationName":"outputGroupSettings","type":"structure","members":{"CmafGroupSettings":{"locationName":"cmafGroupSettings","type":"structure","members":{"AdditionalManifests":{"locationName":"additionalManifests","type":"list","member":{"type":"structure","members":{"ManifestNameModifier":{"locationName":"manifestNameModifier"},"SelectedOutputs":{"shape":"Sv","locationName":"selectedOutputs"}}}},"BaseUrl":{"locationName":"baseUrl"},"ClientCache":{"locationName":"clientCache"},"CodecSpecification":{"locationName":"codecSpecification"},"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S49","locationName":"destinationSettings"},"Encryption":{"locationName":"encryption","type":"structure","members":{"ConstantInitializationVector":{"locationName":"constantInitializationVector"},"EncryptionMethod":{"locationName":"encryptionMethod"},"InitializationVectorInManifest":{"locationName":"initializationVectorInManifest"},"SpekeKeyProvider":{"locationName":"spekeKeyProvider","type":"structure","members":{"CertificateArn":{"locationName":"certificateArn"},"DashSignaledSystemIds":{"shape":"S4n","locationName":"dashSignaledSystemIds"},"HlsSignaledSystemIds":{"shape":"S4n","locationName":"hlsSignaledSystemIds"},"ResourceId":{"locationName":"resourceId"},"Url":{"locationName":"url"}}},"StaticKeyProvider":{"shape":"S4q","locationName":"staticKeyProvider"},"Type":{"locationName":"type"}}},"FragmentLength":{"locationName":"fragmentLength","type":"integer"},"ImageBasedTrickPlay":{"locationName":"imageBasedTrickPlay"},"ImageBasedTrickPlaySettings":{"locationName":"imageBasedTrickPlaySettings","type":"structure","members":{"IntervalCadence":{"locationName":"intervalCadence"},"ThumbnailHeight":{"locationName":"thumbnailHeight","type":"integer"},"ThumbnailInterval":{"locationName":"thumbnailInterval","type":"double"},"ThumbnailWidth":{"locationName":"thumbnailWidth","type":"integer"},"TileHeight":{"locationName":"tileHeight","type":"integer"},"TileWidth":{"locationName":"tileWidth","type":"integer"}}},"ManifestCompression":{"locationName":"manifestCompression"},"ManifestDurationFormat":{"locationName":"manifestDurationFormat"},"MinBufferTime":{"locationName":"minBufferTime","type":"integer"},"MinFinalSegmentLength":{"locationName":"minFinalSegmentLength","type":"double"},"MpdProfile":{"locationName":"mpdProfile"},"PtsOffsetHandlingForBFrames":{"locationName":"ptsOffsetHandlingForBFrames"},"SegmentControl":{"locationName":"segmentControl"},"SegmentLength":{"locationName":"segmentLength","type":"integer"},"SegmentLengthControl":{"locationName":"segmentLengthControl"},"StreamInfResolution":{"locationName":"streamInfResolution"},"TargetDurationCompatibilityMode":{"locationName":"targetDurationCompatibilityMode"},"WriteDashManifest":{"locationName":"writeDashManifest"},"WriteHlsManifest":{"locationName":"writeHlsManifest"},"WriteSegmentTimelineInRepresentation":{"locationName":"writeSegmentTimelineInRepresentation"}}},"DashIsoGroupSettings":{"locationName":"dashIsoGroupSettings","type":"structure","members":{"AdditionalManifests":{"locationName":"additionalManifests","type":"list","member":{"type":"structure","members":{"ManifestNameModifier":{"locationName":"manifestNameModifier"},"SelectedOutputs":{"shape":"Sv","locationName":"selectedOutputs"}}}},"AudioChannelConfigSchemeIdUri":{"locationName":"audioChannelConfigSchemeIdUri"},"BaseUrl":{"locationName":"baseUrl"},"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S49","locationName":"destinationSettings"},"Encryption":{"locationName":"encryption","type":"structure","members":{"PlaybackDeviceCompatibility":{"locationName":"playbackDeviceCompatibility"},"SpekeKeyProvider":{"shape":"S5k","locationName":"spekeKeyProvider"}}},"FragmentLength":{"locationName":"fragmentLength","type":"integer"},"HbbtvCompliance":{"locationName":"hbbtvCompliance"},"ImageBasedTrickPlay":{"locationName":"imageBasedTrickPlay"},"ImageBasedTrickPlaySettings":{"locationName":"imageBasedTrickPlaySettings","type":"structure","members":{"IntervalCadence":{"locationName":"intervalCadence"},"ThumbnailHeight":{"locationName":"thumbnailHeight","type":"integer"},"ThumbnailInterval":{"locationName":"thumbnailInterval","type":"double"},"ThumbnailWidth":{"locationName":"thumbnailWidth","type":"integer"},"TileHeight":{"locationName":"tileHeight","type":"integer"},"TileWidth":{"locationName":"tileWidth","type":"integer"}}},"MinBufferTime":{"locationName":"minBufferTime","type":"integer"},"MinFinalSegmentLength":{"locationName":"minFinalSegmentLength","type":"double"},"MpdProfile":{"locationName":"mpdProfile"},"PtsOffsetHandlingForBFrames":{"locationName":"ptsOffsetHandlingForBFrames"},"SegmentControl":{"locationName":"segmentControl"},"SegmentLength":{"locationName":"segmentLength","type":"integer"},"SegmentLengthControl":{"locationName":"segmentLengthControl"},"WriteSegmentTimelineInRepresentation":{"locationName":"writeSegmentTimelineInRepresentation"}}},"FileGroupSettings":{"locationName":"fileGroupSettings","type":"structure","members":{"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S49","locationName":"destinationSettings"}}},"HlsGroupSettings":{"locationName":"hlsGroupSettings","type":"structure","members":{"AdMarkers":{"locationName":"adMarkers","type":"list","member":{}},"AdditionalManifests":{"locationName":"additionalManifests","type":"list","member":{"type":"structure","members":{"ManifestNameModifier":{"locationName":"manifestNameModifier"},"SelectedOutputs":{"shape":"Sv","locationName":"selectedOutputs"}}}},"AudioOnlyHeader":{"locationName":"audioOnlyHeader"},"BaseUrl":{"locationName":"baseUrl"},"CaptionLanguageMappings":{"locationName":"captionLanguageMappings","type":"list","member":{"type":"structure","members":{"CaptionChannel":{"locationName":"captionChannel","type":"integer"},"CustomLanguageCode":{"locationName":"customLanguageCode"},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"}}}},"CaptionLanguageSetting":{"locationName":"captionLanguageSetting"},"ClientCache":{"locationName":"clientCache"},"CodecSpecification":{"locationName":"codecSpecification"},"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S49","locationName":"destinationSettings"},"DirectoryStructure":{"locationName":"directoryStructure"},"Encryption":{"locationName":"encryption","type":"structure","members":{"ConstantInitializationVector":{"locationName":"constantInitializationVector"},"EncryptionMethod":{"locationName":"encryptionMethod"},"InitializationVectorInManifest":{"locationName":"initializationVectorInManifest"},"OfflineEncrypted":{"locationName":"offlineEncrypted"},"SpekeKeyProvider":{"shape":"S5k","locationName":"spekeKeyProvider"},"StaticKeyProvider":{"shape":"S4q","locationName":"staticKeyProvider"},"Type":{"locationName":"type"}}},"ImageBasedTrickPlay":{"locationName":"imageBasedTrickPlay"},"ImageBasedTrickPlaySettings":{"locationName":"imageBasedTrickPlaySettings","type":"structure","members":{"IntervalCadence":{"locationName":"intervalCadence"},"ThumbnailHeight":{"locationName":"thumbnailHeight","type":"integer"},"ThumbnailInterval":{"locationName":"thumbnailInterval","type":"double"},"ThumbnailWidth":{"locationName":"thumbnailWidth","type":"integer"},"TileHeight":{"locationName":"tileHeight","type":"integer"},"TileWidth":{"locationName":"tileWidth","type":"integer"}}},"ManifestCompression":{"locationName":"manifestCompression"},"ManifestDurationFormat":{"locationName":"manifestDurationFormat"},"MinFinalSegmentLength":{"locationName":"minFinalSegmentLength","type":"double"},"MinSegmentLength":{"locationName":"minSegmentLength","type":"integer"},"OutputSelection":{"locationName":"outputSelection"},"ProgramDateTime":{"locationName":"programDateTime"},"ProgramDateTimePeriod":{"locationName":"programDateTimePeriod","type":"integer"},"SegmentControl":{"locationName":"segmentControl"},"SegmentLength":{"locationName":"segmentLength","type":"integer"},"SegmentLengthControl":{"locationName":"segmentLengthControl"},"SegmentsPerSubdirectory":{"locationName":"segmentsPerSubdirectory","type":"integer"},"StreamInfResolution":{"locationName":"streamInfResolution"},"TargetDurationCompatibilityMode":{"locationName":"targetDurationCompatibilityMode"},"TimedMetadataId3Frame":{"locationName":"timedMetadataId3Frame"},"TimedMetadataId3Period":{"locationName":"timedMetadataId3Period","type":"integer"},"TimestampDeltaMilliseconds":{"locationName":"timestampDeltaMilliseconds","type":"integer"}}},"MsSmoothGroupSettings":{"locationName":"msSmoothGroupSettings","type":"structure","members":{"AdditionalManifests":{"locationName":"additionalManifests","type":"list","member":{"type":"structure","members":{"ManifestNameModifier":{"locationName":"manifestNameModifier"},"SelectedOutputs":{"shape":"Sv","locationName":"selectedOutputs"}}}},"AudioDeduplication":{"locationName":"audioDeduplication"},"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S49","locationName":"destinationSettings"},"Encryption":{"locationName":"encryption","type":"structure","members":{"SpekeKeyProvider":{"shape":"S5k","locationName":"spekeKeyProvider"}}},"FragmentLength":{"locationName":"fragmentLength","type":"integer"},"FragmentLengthControl":{"locationName":"fragmentLengthControl"},"ManifestEncoding":{"locationName":"manifestEncoding"}}},"Type":{"locationName":"type"}}},"Outputs":{"locationName":"outputs","type":"list","member":{"type":"structure","members":{"AudioDescriptions":{"shape":"S72","locationName":"audioDescriptions"},"CaptionDescriptions":{"locationName":"captionDescriptions","type":"list","member":{"type":"structure","members":{"CaptionSelectorName":{"locationName":"captionSelectorName"},"CustomLanguageCode":{"locationName":"customLanguageCode"},"DestinationSettings":{"shape":"S9k","locationName":"destinationSettings"},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"}}}},"ContainerSettings":{"shape":"Sas","locationName":"containerSettings"},"Extension":{"locationName":"extension"},"NameModifier":{"locationName":"nameModifier"},"OutputSettings":{"locationName":"outputSettings","type":"structure","members":{"HlsSettings":{"locationName":"hlsSettings","type":"structure","members":{"AudioGroupId":{"locationName":"audioGroupId"},"AudioOnlyContainer":{"locationName":"audioOnlyContainer"},"AudioRenditionSets":{"locationName":"audioRenditionSets"},"AudioTrackType":{"locationName":"audioTrackType"},"DescriptiveVideoServiceFlag":{"locationName":"descriptiveVideoServiceFlag"},"IFrameOnlyManifest":{"locationName":"iFrameOnlyManifest"},"SegmentModifier":{"locationName":"segmentModifier"}}}}},"Preset":{"locationName":"preset"},"VideoDescription":{"shape":"Scw","locationName":"videoDescription"}}}}}}},"S49":{"type":"structure","members":{"S3Settings":{"locationName":"s3Settings","type":"structure","members":{"AccessControl":{"locationName":"accessControl","type":"structure","members":{"CannedAcl":{"locationName":"cannedAcl"}}},"Encryption":{"locationName":"encryption","type":"structure","members":{"EncryptionType":{"locationName":"encryptionType"},"KmsEncryptionContext":{"locationName":"kmsEncryptionContext"},"KmsKeyArn":{"locationName":"kmsKeyArn"}}}}}}},"S4n":{"type":"list","member":{}},"S4q":{"type":"structure","members":{"KeyFormat":{"locationName":"keyFormat"},"KeyFormatVersions":{"locationName":"keyFormatVersions"},"StaticKeyValue":{"locationName":"staticKeyValue"},"Url":{"locationName":"url"}}},"S5k":{"type":"structure","members":{"CertificateArn":{"locationName":"certificateArn"},"ResourceId":{"locationName":"resourceId"},"SystemIds":{"locationName":"systemIds","type":"list","member":{}},"Url":{"locationName":"url"}}},"S72":{"type":"list","member":{"type":"structure","members":{"AudioChannelTaggingSettings":{"locationName":"audioChannelTaggingSettings","type":"structure","members":{"ChannelTag":{"locationName":"channelTag"}}},"AudioNormalizationSettings":{"locationName":"audioNormalizationSettings","type":"structure","members":{"Algorithm":{"locationName":"algorithm"},"AlgorithmControl":{"locationName":"algorithmControl"},"CorrectionGateLevel":{"locationName":"correctionGateLevel","type":"integer"},"LoudnessLogging":{"locationName":"loudnessLogging"},"PeakCalculation":{"locationName":"peakCalculation"},"TargetLkfs":{"locationName":"targetLkfs","type":"double"}}},"AudioSourceName":{"locationName":"audioSourceName"},"AudioType":{"locationName":"audioType","type":"integer"},"AudioTypeControl":{"locationName":"audioTypeControl"},"CodecSettings":{"locationName":"codecSettings","type":"structure","members":{"AacSettings":{"locationName":"aacSettings","type":"structure","members":{"AudioDescriptionBroadcasterMix":{"locationName":"audioDescriptionBroadcasterMix"},"Bitrate":{"locationName":"bitrate","type":"integer"},"CodecProfile":{"locationName":"codecProfile"},"CodingMode":{"locationName":"codingMode"},"RateControlMode":{"locationName":"rateControlMode"},"RawFormat":{"locationName":"rawFormat"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"Specification":{"locationName":"specification"},"VbrQuality":{"locationName":"vbrQuality"}}},"Ac3Settings":{"locationName":"ac3Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"Dialnorm":{"locationName":"dialnorm","type":"integer"},"DynamicRangeCompressionLine":{"locationName":"dynamicRangeCompressionLine"},"DynamicRangeCompressionProfile":{"locationName":"dynamicRangeCompressionProfile"},"DynamicRangeCompressionRf":{"locationName":"dynamicRangeCompressionRf"},"LfeFilter":{"locationName":"lfeFilter"},"MetadataControl":{"locationName":"metadataControl"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}},"AiffSettings":{"locationName":"aiffSettings","type":"structure","members":{"BitDepth":{"locationName":"bitDepth","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}},"Codec":{"locationName":"codec"},"Eac3AtmosSettings":{"locationName":"eac3AtmosSettings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"DialogueIntelligence":{"locationName":"dialogueIntelligence"},"DownmixControl":{"locationName":"downmixControl"},"DynamicRangeCompressionLine":{"locationName":"dynamicRangeCompressionLine"},"DynamicRangeCompressionRf":{"locationName":"dynamicRangeCompressionRf"},"DynamicRangeControl":{"locationName":"dynamicRangeControl"},"LoRoCenterMixLevel":{"locationName":"loRoCenterMixLevel","type":"double"},"LoRoSurroundMixLevel":{"locationName":"loRoSurroundMixLevel","type":"double"},"LtRtCenterMixLevel":{"locationName":"ltRtCenterMixLevel","type":"double"},"LtRtSurroundMixLevel":{"locationName":"ltRtSurroundMixLevel","type":"double"},"MeteringMode":{"locationName":"meteringMode"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"SpeechThreshold":{"locationName":"speechThreshold","type":"integer"},"StereoDownmix":{"locationName":"stereoDownmix"},"SurroundExMode":{"locationName":"surroundExMode"}}},"Eac3Settings":{"locationName":"eac3Settings","type":"structure","members":{"AttenuationControl":{"locationName":"attenuationControl"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"DcFilter":{"locationName":"dcFilter"},"Dialnorm":{"locationName":"dialnorm","type":"integer"},"DynamicRangeCompressionLine":{"locationName":"dynamicRangeCompressionLine"},"DynamicRangeCompressionRf":{"locationName":"dynamicRangeCompressionRf"},"LfeControl":{"locationName":"lfeControl"},"LfeFilter":{"locationName":"lfeFilter"},"LoRoCenterMixLevel":{"locationName":"loRoCenterMixLevel","type":"double"},"LoRoSurroundMixLevel":{"locationName":"loRoSurroundMixLevel","type":"double"},"LtRtCenterMixLevel":{"locationName":"ltRtCenterMixLevel","type":"double"},"LtRtSurroundMixLevel":{"locationName":"ltRtSurroundMixLevel","type":"double"},"MetadataControl":{"locationName":"metadataControl"},"PassthroughControl":{"locationName":"passthroughControl"},"PhaseControl":{"locationName":"phaseControl"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"StereoDownmix":{"locationName":"stereoDownmix"},"SurroundExMode":{"locationName":"surroundExMode"},"SurroundMode":{"locationName":"surroundMode"}}},"Mp2Settings":{"locationName":"mp2Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}},"Mp3Settings":{"locationName":"mp3Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"RateControlMode":{"locationName":"rateControlMode"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"VbrQuality":{"locationName":"vbrQuality","type":"integer"}}},"OpusSettings":{"locationName":"opusSettings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}},"VorbisSettings":{"locationName":"vorbisSettings","type":"structure","members":{"Channels":{"locationName":"channels","type":"integer"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"VbrQuality":{"locationName":"vbrQuality","type":"integer"}}},"WavSettings":{"locationName":"wavSettings","type":"structure","members":{"BitDepth":{"locationName":"bitDepth","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"Format":{"locationName":"format"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}}}},"CustomLanguageCode":{"locationName":"customLanguageCode"},"LanguageCode":{"locationName":"languageCode"},"LanguageCodeControl":{"locationName":"languageCodeControl"},"RemixSettings":{"shape":"S18","locationName":"remixSettings"},"StreamName":{"locationName":"streamName"}}}},"S9k":{"type":"structure","members":{"BurninDestinationSettings":{"locationName":"burninDestinationSettings","type":"structure","members":{"Alignment":{"locationName":"alignment"},"ApplyFontColor":{"locationName":"applyFontColor"},"BackgroundColor":{"locationName":"backgroundColor"},"BackgroundOpacity":{"locationName":"backgroundOpacity","type":"integer"},"FallbackFont":{"locationName":"fallbackFont"},"FontColor":{"locationName":"fontColor"},"FontOpacity":{"locationName":"fontOpacity","type":"integer"},"FontResolution":{"locationName":"fontResolution","type":"integer"},"FontScript":{"locationName":"fontScript"},"FontSize":{"locationName":"fontSize","type":"integer"},"HexFontColor":{"locationName":"hexFontColor"},"OutlineColor":{"locationName":"outlineColor"},"OutlineSize":{"locationName":"outlineSize","type":"integer"},"ShadowColor":{"locationName":"shadowColor"},"ShadowOpacity":{"locationName":"shadowOpacity","type":"integer"},"ShadowXOffset":{"locationName":"shadowXOffset","type":"integer"},"ShadowYOffset":{"locationName":"shadowYOffset","type":"integer"},"StylePassthrough":{"locationName":"stylePassthrough"},"TeletextSpacing":{"locationName":"teletextSpacing"},"XPosition":{"locationName":"xPosition","type":"integer"},"YPosition":{"locationName":"yPosition","type":"integer"}}},"DestinationType":{"locationName":"destinationType"},"DvbSubDestinationSettings":{"locationName":"dvbSubDestinationSettings","type":"structure","members":{"Alignment":{"locationName":"alignment"},"ApplyFontColor":{"locationName":"applyFontColor"},"BackgroundColor":{"locationName":"backgroundColor"},"BackgroundOpacity":{"locationName":"backgroundOpacity","type":"integer"},"DdsHandling":{"locationName":"ddsHandling"},"DdsXCoordinate":{"locationName":"ddsXCoordinate","type":"integer"},"DdsYCoordinate":{"locationName":"ddsYCoordinate","type":"integer"},"FallbackFont":{"locationName":"fallbackFont"},"FontColor":{"locationName":"fontColor"},"FontOpacity":{"locationName":"fontOpacity","type":"integer"},"FontResolution":{"locationName":"fontResolution","type":"integer"},"FontScript":{"locationName":"fontScript"},"FontSize":{"locationName":"fontSize","type":"integer"},"Height":{"locationName":"height","type":"integer"},"HexFontColor":{"locationName":"hexFontColor"},"OutlineColor":{"locationName":"outlineColor"},"OutlineSize":{"locationName":"outlineSize","type":"integer"},"ShadowColor":{"locationName":"shadowColor"},"ShadowOpacity":{"locationName":"shadowOpacity","type":"integer"},"ShadowXOffset":{"locationName":"shadowXOffset","type":"integer"},"ShadowYOffset":{"locationName":"shadowYOffset","type":"integer"},"StylePassthrough":{"locationName":"stylePassthrough"},"SubtitlingType":{"locationName":"subtitlingType"},"TeletextSpacing":{"locationName":"teletextSpacing"},"Width":{"locationName":"width","type":"integer"},"XPosition":{"locationName":"xPosition","type":"integer"},"YPosition":{"locationName":"yPosition","type":"integer"}}},"EmbeddedDestinationSettings":{"locationName":"embeddedDestinationSettings","type":"structure","members":{"Destination608ChannelNumber":{"locationName":"destination608ChannelNumber","type":"integer"},"Destination708ServiceNumber":{"locationName":"destination708ServiceNumber","type":"integer"}}},"ImscDestinationSettings":{"locationName":"imscDestinationSettings","type":"structure","members":{"StylePassthrough":{"locationName":"stylePassthrough"}}},"SccDestinationSettings":{"locationName":"sccDestinationSettings","type":"structure","members":{"Framerate":{"locationName":"framerate"}}},"SrtDestinationSettings":{"locationName":"srtDestinationSettings","type":"structure","members":{"StylePassthrough":{"locationName":"stylePassthrough"}}},"TeletextDestinationSettings":{"locationName":"teletextDestinationSettings","type":"structure","members":{"PageNumber":{"locationName":"pageNumber"},"PageTypes":{"locationName":"pageTypes","type":"list","member":{}}}},"TtmlDestinationSettings":{"locationName":"ttmlDestinationSettings","type":"structure","members":{"StylePassthrough":{"locationName":"stylePassthrough"}}},"WebvttDestinationSettings":{"locationName":"webvttDestinationSettings","type":"structure","members":{"StylePassthrough":{"locationName":"stylePassthrough"}}}}},"Sas":{"type":"structure","members":{"CmfcSettings":{"locationName":"cmfcSettings","type":"structure","members":{"AudioDuration":{"locationName":"audioDuration"},"AudioGroupId":{"locationName":"audioGroupId"},"AudioRenditionSets":{"locationName":"audioRenditionSets"},"AudioTrackType":{"locationName":"audioTrackType"},"DescriptiveVideoServiceFlag":{"locationName":"descriptiveVideoServiceFlag"},"IFrameOnlyManifest":{"locationName":"iFrameOnlyManifest"},"Scte35Esam":{"locationName":"scte35Esam"},"Scte35Source":{"locationName":"scte35Source"}}},"Container":{"locationName":"container"},"F4vSettings":{"locationName":"f4vSettings","type":"structure","members":{"MoovPlacement":{"locationName":"moovPlacement"}}},"M2tsSettings":{"locationName":"m2tsSettings","type":"structure","members":{"AudioBufferModel":{"locationName":"audioBufferModel"},"AudioDuration":{"locationName":"audioDuration"},"AudioFramesPerPes":{"locationName":"audioFramesPerPes","type":"integer"},"AudioPids":{"shape":"Sb6","locationName":"audioPids"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BufferModel":{"locationName":"bufferModel"},"DataPTSControl":{"locationName":"dataPTSControl"},"DvbNitSettings":{"locationName":"dvbNitSettings","type":"structure","members":{"NetworkId":{"locationName":"networkId","type":"integer"},"NetworkName":{"locationName":"networkName"},"NitInterval":{"locationName":"nitInterval","type":"integer"}}},"DvbSdtSettings":{"locationName":"dvbSdtSettings","type":"structure","members":{"OutputSdt":{"locationName":"outputSdt"},"SdtInterval":{"locationName":"sdtInterval","type":"integer"},"ServiceName":{"locationName":"serviceName"},"ServiceProviderName":{"locationName":"serviceProviderName"}}},"DvbSubPids":{"shape":"Sb6","locationName":"dvbSubPids"},"DvbTdtSettings":{"locationName":"dvbTdtSettings","type":"structure","members":{"TdtInterval":{"locationName":"tdtInterval","type":"integer"}}},"DvbTeletextPid":{"locationName":"dvbTeletextPid","type":"integer"},"EbpAudioInterval":{"locationName":"ebpAudioInterval"},"EbpPlacement":{"locationName":"ebpPlacement"},"EsRateInPes":{"locationName":"esRateInPes"},"ForceTsVideoEbpOrder":{"locationName":"forceTsVideoEbpOrder"},"FragmentTime":{"locationName":"fragmentTime","type":"double"},"MaxPcrInterval":{"locationName":"maxPcrInterval","type":"integer"},"MinEbpInterval":{"locationName":"minEbpInterval","type":"integer"},"NielsenId3":{"locationName":"nielsenId3"},"NullPacketBitrate":{"locationName":"nullPacketBitrate","type":"double"},"PatInterval":{"locationName":"patInterval","type":"integer"},"PcrControl":{"locationName":"pcrControl"},"PcrPid":{"locationName":"pcrPid","type":"integer"},"PmtInterval":{"locationName":"pmtInterval","type":"integer"},"PmtPid":{"locationName":"pmtPid","type":"integer"},"PrivateMetadataPid":{"locationName":"privateMetadataPid","type":"integer"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"RateMode":{"locationName":"rateMode"},"Scte35Esam":{"locationName":"scte35Esam","type":"structure","members":{"Scte35EsamPid":{"locationName":"scte35EsamPid","type":"integer"}}},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"Scte35Source":{"locationName":"scte35Source"},"SegmentationMarkers":{"locationName":"segmentationMarkers"},"SegmentationStyle":{"locationName":"segmentationStyle"},"SegmentationTime":{"locationName":"segmentationTime","type":"double"},"TimedMetadataPid":{"locationName":"timedMetadataPid","type":"integer"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"VideoPid":{"locationName":"videoPid","type":"integer"}}},"M3u8Settings":{"locationName":"m3u8Settings","type":"structure","members":{"AudioDuration":{"locationName":"audioDuration"},"AudioFramesPerPes":{"locationName":"audioFramesPerPes","type":"integer"},"AudioPids":{"shape":"Sb6","locationName":"audioPids"},"DataPTSControl":{"locationName":"dataPTSControl"},"MaxPcrInterval":{"locationName":"maxPcrInterval","type":"integer"},"NielsenId3":{"locationName":"nielsenId3"},"PatInterval":{"locationName":"patInterval","type":"integer"},"PcrControl":{"locationName":"pcrControl"},"PcrPid":{"locationName":"pcrPid","type":"integer"},"PmtInterval":{"locationName":"pmtInterval","type":"integer"},"PmtPid":{"locationName":"pmtPid","type":"integer"},"PrivateMetadataPid":{"locationName":"privateMetadataPid","type":"integer"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"Scte35Source":{"locationName":"scte35Source"},"TimedMetadata":{"locationName":"timedMetadata"},"TimedMetadataPid":{"locationName":"timedMetadataPid","type":"integer"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"VideoPid":{"locationName":"videoPid","type":"integer"}}},"MovSettings":{"locationName":"movSettings","type":"structure","members":{"ClapAtom":{"locationName":"clapAtom"},"CslgAtom":{"locationName":"cslgAtom"},"Mpeg2FourCCControl":{"locationName":"mpeg2FourCCControl"},"PaddingControl":{"locationName":"paddingControl"},"Reference":{"locationName":"reference"}}},"Mp4Settings":{"locationName":"mp4Settings","type":"structure","members":{"AudioDuration":{"locationName":"audioDuration"},"CslgAtom":{"locationName":"cslgAtom"},"CttsVersion":{"locationName":"cttsVersion","type":"integer"},"FreeSpaceBox":{"locationName":"freeSpaceBox"},"MoovPlacement":{"locationName":"moovPlacement"},"Mp4MajorBrand":{"locationName":"mp4MajorBrand"}}},"MpdSettings":{"locationName":"mpdSettings","type":"structure","members":{"AccessibilityCaptionHints":{"locationName":"accessibilityCaptionHints"},"AudioDuration":{"locationName":"audioDuration"},"CaptionContainerType":{"locationName":"captionContainerType"},"Scte35Esam":{"locationName":"scte35Esam"},"Scte35Source":{"locationName":"scte35Source"}}},"MxfSettings":{"locationName":"mxfSettings","type":"structure","members":{"AfdSignaling":{"locationName":"afdSignaling"},"Profile":{"locationName":"profile"},"XavcProfileSettings":{"locationName":"xavcProfileSettings","type":"structure","members":{"DurationMode":{"locationName":"durationMode"},"MaxAncDataSize":{"locationName":"maxAncDataSize","type":"integer"}}}}}}},"Sb6":{"type":"list","member":{"type":"integer"}},"Scw":{"type":"structure","members":{"AfdSignaling":{"locationName":"afdSignaling"},"AntiAlias":{"locationName":"antiAlias"},"CodecSettings":{"locationName":"codecSettings","type":"structure","members":{"Av1Settings":{"locationName":"av1Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"NumberBFramesBetweenReferenceFrames":{"locationName":"numberBFramesBetweenReferenceFrames","type":"integer"},"QvbrSettings":{"locationName":"qvbrSettings","type":"structure","members":{"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"QvbrQualityLevelFineTune":{"locationName":"qvbrQualityLevelFineTune","type":"double"}}},"RateControlMode":{"locationName":"rateControlMode"},"Slices":{"locationName":"slices","type":"integer"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"}}},"AvcIntraSettings":{"locationName":"avcIntraSettings","type":"structure","members":{"AvcIntraClass":{"locationName":"avcIntraClass"},"AvcIntraUhdSettings":{"locationName":"avcIntraUhdSettings","type":"structure","members":{"QualityTuningLevel":{"locationName":"qualityTuningLevel"}}},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SlowPal":{"locationName":"slowPal"},"Telecine":{"locationName":"telecine"}}},"Codec":{"locationName":"codec"},"FrameCaptureSettings":{"locationName":"frameCaptureSettings","type":"structure","members":{"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"MaxCaptures":{"locationName":"maxCaptures","type":"integer"},"Quality":{"locationName":"quality","type":"integer"}}},"H264Settings":{"locationName":"h264Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"Bitrate":{"locationName":"bitrate","type":"integer"},"CodecLevel":{"locationName":"codecLevel"},"CodecProfile":{"locationName":"codecProfile"},"DynamicSubGop":{"locationName":"dynamicSubGop"},"EntropyEncoding":{"locationName":"entropyEncoding"},"FieldEncoding":{"locationName":"fieldEncoding"},"FlickerAdaptiveQuantization":{"locationName":"flickerAdaptiveQuantization"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"HrdBufferInitialFillPercentage":{"locationName":"hrdBufferInitialFillPercentage","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"NumberBFramesBetweenReferenceFrames":{"locationName":"numberBFramesBetweenReferenceFrames","type":"integer"},"NumberReferenceFrames":{"locationName":"numberReferenceFrames","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"QvbrSettings":{"locationName":"qvbrSettings","type":"structure","members":{"MaxAverageBitrate":{"locationName":"maxAverageBitrate","type":"integer"},"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"QvbrQualityLevelFineTune":{"locationName":"qvbrQualityLevelFineTune","type":"double"}}},"RateControlMode":{"locationName":"rateControlMode"},"RepeatPps":{"locationName":"repeatPps"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"Slices":{"locationName":"slices","type":"integer"},"SlowPal":{"locationName":"slowPal"},"Softness":{"locationName":"softness","type":"integer"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"},"Syntax":{"locationName":"syntax"},"Telecine":{"locationName":"telecine"},"TemporalAdaptiveQuantization":{"locationName":"temporalAdaptiveQuantization"},"UnregisteredSeiTimecode":{"locationName":"unregisteredSeiTimecode"}}},"H265Settings":{"locationName":"h265Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"AlternateTransferFunctionSei":{"locationName":"alternateTransferFunctionSei"},"Bitrate":{"locationName":"bitrate","type":"integer"},"CodecLevel":{"locationName":"codecLevel"},"CodecProfile":{"locationName":"codecProfile"},"DynamicSubGop":{"locationName":"dynamicSubGop"},"FlickerAdaptiveQuantization":{"locationName":"flickerAdaptiveQuantization"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"HrdBufferInitialFillPercentage":{"locationName":"hrdBufferInitialFillPercentage","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"NumberBFramesBetweenReferenceFrames":{"locationName":"numberBFramesBetweenReferenceFrames","type":"integer"},"NumberReferenceFrames":{"locationName":"numberReferenceFrames","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"QvbrSettings":{"locationName":"qvbrSettings","type":"structure","members":{"MaxAverageBitrate":{"locationName":"maxAverageBitrate","type":"integer"},"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"QvbrQualityLevelFineTune":{"locationName":"qvbrQualityLevelFineTune","type":"double"}}},"RateControlMode":{"locationName":"rateControlMode"},"SampleAdaptiveOffsetFilterMode":{"locationName":"sampleAdaptiveOffsetFilterMode"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"Slices":{"locationName":"slices","type":"integer"},"SlowPal":{"locationName":"slowPal"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"},"Telecine":{"locationName":"telecine"},"TemporalAdaptiveQuantization":{"locationName":"temporalAdaptiveQuantization"},"TemporalIds":{"locationName":"temporalIds"},"Tiles":{"locationName":"tiles"},"UnregisteredSeiTimecode":{"locationName":"unregisteredSeiTimecode"},"WriteMp4PackagingType":{"locationName":"writeMp4PackagingType"}}},"Mpeg2Settings":{"locationName":"mpeg2Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"Bitrate":{"locationName":"bitrate","type":"integer"},"CodecLevel":{"locationName":"codecLevel"},"CodecProfile":{"locationName":"codecProfile"},"DynamicSubGop":{"locationName":"dynamicSubGop"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"HrdBufferInitialFillPercentage":{"locationName":"hrdBufferInitialFillPercentage","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"IntraDcPrecision":{"locationName":"intraDcPrecision"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"NumberBFramesBetweenReferenceFrames":{"locationName":"numberBFramesBetweenReferenceFrames","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"RateControlMode":{"locationName":"rateControlMode"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"SlowPal":{"locationName":"slowPal"},"Softness":{"locationName":"softness","type":"integer"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"},"Syntax":{"locationName":"syntax"},"Telecine":{"locationName":"telecine"},"TemporalAdaptiveQuantization":{"locationName":"temporalAdaptiveQuantization"}}},"ProresSettings":{"locationName":"proresSettings","type":"structure","members":{"ChromaSampling":{"locationName":"chromaSampling"},"CodecProfile":{"locationName":"codecProfile"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SlowPal":{"locationName":"slowPal"},"Telecine":{"locationName":"telecine"}}},"Vc3Settings":{"locationName":"vc3Settings","type":"structure","members":{"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SlowPal":{"locationName":"slowPal"},"Telecine":{"locationName":"telecine"},"Vc3Class":{"locationName":"vc3Class"}}},"Vp8Settings":{"locationName":"vp8Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"RateControlMode":{"locationName":"rateControlMode"}}},"Vp9Settings":{"locationName":"vp9Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"RateControlMode":{"locationName":"rateControlMode"}}},"XavcSettings":{"locationName":"xavcSettings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"EntropyEncoding":{"locationName":"entropyEncoding"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"Profile":{"locationName":"profile"},"SlowPal":{"locationName":"slowPal"},"Softness":{"locationName":"softness","type":"integer"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"},"TemporalAdaptiveQuantization":{"locationName":"temporalAdaptiveQuantization"},"Xavc4kIntraCbgProfileSettings":{"locationName":"xavc4kIntraCbgProfileSettings","type":"structure","members":{"XavcClass":{"locationName":"xavcClass"}}},"Xavc4kIntraVbrProfileSettings":{"locationName":"xavc4kIntraVbrProfileSettings","type":"structure","members":{"XavcClass":{"locationName":"xavcClass"}}},"Xavc4kProfileSettings":{"locationName":"xavc4kProfileSettings","type":"structure","members":{"BitrateClass":{"locationName":"bitrateClass"},"CodecProfile":{"locationName":"codecProfile"},"FlickerAdaptiveQuantization":{"locationName":"flickerAdaptiveQuantization"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"Slices":{"locationName":"slices","type":"integer"}}},"XavcHdIntraCbgProfileSettings":{"locationName":"xavcHdIntraCbgProfileSettings","type":"structure","members":{"XavcClass":{"locationName":"xavcClass"}}},"XavcHdProfileSettings":{"locationName":"xavcHdProfileSettings","type":"structure","members":{"BitrateClass":{"locationName":"bitrateClass"},"FlickerAdaptiveQuantization":{"locationName":"flickerAdaptiveQuantization"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"Slices":{"locationName":"slices","type":"integer"},"Telecine":{"locationName":"telecine"}}}}}}},"ColorMetadata":{"locationName":"colorMetadata"},"Crop":{"shape":"S26","locationName":"crop"},"DropFrameTimecode":{"locationName":"dropFrameTimecode"},"FixedAfd":{"locationName":"fixedAfd","type":"integer"},"Height":{"locationName":"height","type":"integer"},"Position":{"shape":"S26","locationName":"position"},"RespondToAfd":{"locationName":"respondToAfd"},"ScalingBehavior":{"locationName":"scalingBehavior"},"Sharpness":{"locationName":"sharpness","type":"integer"},"TimecodeInsertion":{"locationName":"timecodeInsertion"},"VideoPreprocessors":{"locationName":"videoPreprocessors","type":"structure","members":{"ColorCorrector":{"locationName":"colorCorrector","type":"structure","members":{"Brightness":{"locationName":"brightness","type":"integer"},"ColorSpaceConversion":{"locationName":"colorSpaceConversion"},"Contrast":{"locationName":"contrast","type":"integer"},"Hdr10Metadata":{"shape":"S33","locationName":"hdr10Metadata"},"Hue":{"locationName":"hue","type":"integer"},"SampleRangeConversion":{"locationName":"sampleRangeConversion"},"Saturation":{"locationName":"saturation","type":"integer"}}},"Deinterlacer":{"locationName":"deinterlacer","type":"structure","members":{"Algorithm":{"locationName":"algorithm"},"Control":{"locationName":"control"},"Mode":{"locationName":"mode"}}},"DolbyVision":{"locationName":"dolbyVision","type":"structure","members":{"L6Metadata":{"locationName":"l6Metadata","type":"structure","members":{"MaxCll":{"locationName":"maxCll","type":"integer"},"MaxFall":{"locationName":"maxFall","type":"integer"}}},"L6Mode":{"locationName":"l6Mode"},"Profile":{"locationName":"profile"}}},"Hdr10Plus":{"locationName":"hdr10Plus","type":"structure","members":{"MasteringMonitorNits":{"locationName":"masteringMonitorNits","type":"integer"},"TargetMonitorNits":{"locationName":"targetMonitorNits","type":"integer"}}},"ImageInserter":{"shape":"S2j","locationName":"imageInserter"},"NoiseReducer":{"locationName":"noiseReducer","type":"structure","members":{"Filter":{"locationName":"filter"},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"Strength":{"locationName":"strength","type":"integer"}}},"SpatialFilterSettings":{"locationName":"spatialFilterSettings","type":"structure","members":{"PostFilterSharpenStrength":{"locationName":"postFilterSharpenStrength","type":"integer"},"Speed":{"locationName":"speed","type":"integer"},"Strength":{"locationName":"strength","type":"integer"}}},"TemporalFilterSettings":{"locationName":"temporalFilterSettings","type":"structure","members":{"AggressiveMode":{"locationName":"aggressiveMode","type":"integer"},"PostTemporalSharpening":{"locationName":"postTemporalSharpening"},"PostTemporalSharpeningStrength":{"locationName":"postTemporalSharpeningStrength"},"Speed":{"locationName":"speed","type":"integer"},"Strength":{"locationName":"strength","type":"integer"}}}}},"PartnerWatermarking":{"locationName":"partnerWatermarking","type":"structure","members":{"NexguardFileMarkerSettings":{"locationName":"nexguardFileMarkerSettings","type":"structure","members":{"License":{"locationName":"license"},"Payload":{"locationName":"payload","type":"integer"},"Preset":{"locationName":"preset"},"Strength":{"locationName":"strength"}}}}},"TimecodeBurnin":{"locationName":"timecodeBurnin","type":"structure","members":{"FontSize":{"locationName":"fontSize","type":"integer"},"Position":{"locationName":"position"},"Prefix":{"locationName":"prefix"}}}}},"Width":{"locationName":"width","type":"integer"}}},"Siu":{"type":"structure","members":{"Anchor":{"locationName":"anchor"},"Source":{"locationName":"source"},"Start":{"locationName":"start"},"TimestampOffset":{"locationName":"timestampOffset"}}},"Six":{"type":"structure","members":{"Id3Insertions":{"locationName":"id3Insertions","type":"list","member":{"type":"structure","members":{"Id3":{"locationName":"id3"},"Timecode":{"locationName":"timecode"}}}}}},"Sj2":{"type":"map","key":{},"value":{}},"Sj4":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"AccelerationStatus":{"locationName":"accelerationStatus"},"Arn":{"locationName":"arn"},"BillingTagsSource":{"locationName":"billingTagsSource"},"CreatedAt":{"shape":"Sj6","locationName":"createdAt"},"CurrentPhase":{"locationName":"currentPhase"},"ErrorCode":{"locationName":"errorCode","type":"integer"},"ErrorMessage":{"locationName":"errorMessage"},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"Id":{"locationName":"id"},"JobPercentComplete":{"locationName":"jobPercentComplete","type":"integer"},"JobTemplate":{"locationName":"jobTemplate"},"Messages":{"locationName":"messages","type":"structure","members":{"Info":{"shape":"Sj9","locationName":"info"},"Warning":{"shape":"Sj9","locationName":"warning"}}},"OutputGroupDetails":{"locationName":"outputGroupDetails","type":"list","member":{"type":"structure","members":{"OutputDetails":{"locationName":"outputDetails","type":"list","member":{"type":"structure","members":{"DurationInMs":{"locationName":"durationInMs","type":"integer"},"VideoDetails":{"locationName":"videoDetails","type":"structure","members":{"HeightInPx":{"locationName":"heightInPx","type":"integer"},"WidthInPx":{"locationName":"widthInPx","type":"integer"}}}}}}}}},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"QueueTransitions":{"locationName":"queueTransitions","type":"list","member":{"type":"structure","members":{"DestinationQueue":{"locationName":"destinationQueue"},"SourceQueue":{"locationName":"sourceQueue"},"Timestamp":{"shape":"Sj6","locationName":"timestamp"}}}},"RetryCount":{"locationName":"retryCount","type":"integer"},"Role":{"locationName":"role"},"Settings":{"shape":"Se","locationName":"settings"},"SimulateReservedQueue":{"locationName":"simulateReservedQueue"},"Status":{"locationName":"status"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"},"Timing":{"locationName":"timing","type":"structure","members":{"FinishTime":{"shape":"Sj6","locationName":"finishTime"},"StartTime":{"shape":"Sj6","locationName":"startTime"},"SubmitTime":{"shape":"Sj6","locationName":"submitTime"}}},"UserMetadata":{"shape":"Sj2","locationName":"userMetadata"}},"required":["Role","Settings"]},"Sj6":{"type":"timestamp","timestampFormat":"unixTimestamp"},"Sj9":{"type":"list","member":{}},"Sjk":{"type":"structure","members":{"AdAvailOffset":{"locationName":"adAvailOffset","type":"integer"},"AvailBlanking":{"shape":"Sg","locationName":"availBlanking"},"Esam":{"shape":"Si","locationName":"esam"},"ExtendedDataServices":{"shape":"So","locationName":"extendedDataServices"},"Inputs":{"locationName":"inputs","type":"list","member":{"type":"structure","members":{"AudioSelectorGroups":{"shape":"St","locationName":"audioSelectorGroups"},"AudioSelectors":{"shape":"Sx","locationName":"audioSelectors"},"CaptionSelectors":{"shape":"S1i","locationName":"captionSelectors"},"Crop":{"shape":"S26","locationName":"crop"},"DeblockFilter":{"locationName":"deblockFilter"},"DenoiseFilter":{"locationName":"denoiseFilter"},"FilterEnable":{"locationName":"filterEnable"},"FilterStrength":{"locationName":"filterStrength","type":"integer"},"ImageInserter":{"shape":"S2j","locationName":"imageInserter"},"InputClippings":{"shape":"S2q","locationName":"inputClippings"},"InputScanType":{"locationName":"inputScanType"},"Position":{"shape":"S26","locationName":"position"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"PsiControl":{"locationName":"psiControl"},"TimecodeSource":{"locationName":"timecodeSource"},"TimecodeStart":{"locationName":"timecodeStart"},"VideoSelector":{"shape":"S2z","locationName":"videoSelector"}}}},"KantarWatermark":{"shape":"S38","locationName":"kantarWatermark"},"MotionImageInserter":{"shape":"S3g","locationName":"motionImageInserter"},"NielsenConfiguration":{"shape":"S3o","locationName":"nielsenConfiguration"},"NielsenNonLinearWatermark":{"shape":"S3q","locationName":"nielsenNonLinearWatermark"},"OutputGroups":{"shape":"S3x","locationName":"outputGroups"},"TimecodeConfig":{"shape":"Siu","locationName":"timecodeConfig"},"TimedMetadataInsertion":{"shape":"Six","locationName":"timedMetadataInsertion"}}},"Sjo":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"Arn":{"locationName":"arn"},"Category":{"locationName":"category"},"CreatedAt":{"shape":"Sj6","locationName":"createdAt"},"Description":{"locationName":"description"},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"LastUpdated":{"shape":"Sj6","locationName":"lastUpdated"},"Name":{"locationName":"name"},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"Settings":{"shape":"Sjk","locationName":"settings"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"},"Type":{"locationName":"type"}},"required":["Settings","Name"]},"Sjr":{"type":"structure","members":{"AudioDescriptions":{"shape":"S72","locationName":"audioDescriptions"},"CaptionDescriptions":{"locationName":"captionDescriptions","type":"list","member":{"type":"structure","members":{"CustomLanguageCode":{"locationName":"customLanguageCode"},"DestinationSettings":{"shape":"S9k","locationName":"destinationSettings"},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"}}}},"ContainerSettings":{"shape":"Sas","locationName":"containerSettings"},"VideoDescription":{"shape":"Scw","locationName":"videoDescription"}}},"Sjv":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Category":{"locationName":"category"},"CreatedAt":{"shape":"Sj6","locationName":"createdAt"},"Description":{"locationName":"description"},"LastUpdated":{"shape":"Sj6","locationName":"lastUpdated"},"Name":{"locationName":"name"},"Settings":{"shape":"Sjr","locationName":"settings"},"Type":{"locationName":"type"}},"required":["Settings","Name"]},"Sjy":{"type":"structure","members":{"Commitment":{"locationName":"commitment"},"RenewalType":{"locationName":"renewalType"},"ReservedSlots":{"locationName":"reservedSlots","type":"integer"}},"required":["Commitment","ReservedSlots","RenewalType"]},"Sk3":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreatedAt":{"shape":"Sj6","locationName":"createdAt"},"Description":{"locationName":"description"},"LastUpdated":{"shape":"Sj6","locationName":"lastUpdated"},"Name":{"locationName":"name"},"PricingPlan":{"locationName":"pricingPlan"},"ProgressingJobsCount":{"locationName":"progressingJobsCount","type":"integer"},"ReservationPlan":{"locationName":"reservationPlan","type":"structure","members":{"Commitment":{"locationName":"commitment"},"ExpiresAt":{"shape":"Sj6","locationName":"expiresAt"},"PurchasedAt":{"shape":"Sj6","locationName":"purchasedAt"},"RenewalType":{"locationName":"renewalType"},"ReservedSlots":{"locationName":"reservedSlots","type":"integer"},"Status":{"locationName":"status"}}},"Status":{"locationName":"status"},"SubmittedJobsCount":{"locationName":"submittedJobsCount","type":"integer"},"Type":{"locationName":"type"}},"required":["Name"]},"Skr":{"type":"structure","members":{"HttpInputs":{"locationName":"httpInputs"},"HttpsInputs":{"locationName":"httpsInputs"},"S3Inputs":{"locationName":"s3Inputs"}}}}} + module.exports = {"metadata":{"apiVersion":"2017-08-29","endpointPrefix":"mediaconvert","signingName":"mediaconvert","serviceFullName":"AWS Elemental MediaConvert","serviceId":"MediaConvert","protocol":"rest-json","jsonVersion":"1.1","uid":"mediaconvert-2017-08-29","signatureVersion":"v4","serviceAbbreviation":"MediaConvert"},"operations":{"AssociateCertificate":{"http":{"requestUri":"/2017-08-29/certificates","responseCode":201},"input":{"type":"structure","members":{"Arn":{"locationName":"arn"}},"required":["Arn"]},"output":{"type":"structure","members":{}}},"CancelJob":{"http":{"method":"DELETE","requestUri":"/2017-08-29/jobs/{id}","responseCode":202},"input":{"type":"structure","members":{"Id":{"locationName":"id","location":"uri"}},"required":["Id"]},"output":{"type":"structure","members":{}}},"CreateJob":{"http":{"requestUri":"/2017-08-29/jobs","responseCode":201},"input":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"BillingTagsSource":{"locationName":"billingTagsSource"},"ClientRequestToken":{"locationName":"clientRequestToken","idempotencyToken":true},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"JobTemplate":{"locationName":"jobTemplate"},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"Role":{"locationName":"role"},"Settings":{"shape":"Se","locationName":"settings"},"SimulateReservedQueue":{"locationName":"simulateReservedQueue"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"},"Tags":{"shape":"Sj8","locationName":"tags"},"UserMetadata":{"shape":"Sj8","locationName":"userMetadata"}},"required":["Role","Settings"]},"output":{"type":"structure","members":{"Job":{"shape":"Sja","locationName":"job"}}}},"CreateJobTemplate":{"http":{"requestUri":"/2017-08-29/jobTemplates","responseCode":201},"input":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"Category":{"locationName":"category"},"Description":{"locationName":"description"},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"Name":{"locationName":"name"},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"Settings":{"shape":"Sjq","locationName":"settings"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"},"Tags":{"shape":"Sj8","locationName":"tags"}},"required":["Settings","Name"]},"output":{"type":"structure","members":{"JobTemplate":{"shape":"Sju","locationName":"jobTemplate"}}}},"CreatePreset":{"http":{"requestUri":"/2017-08-29/presets","responseCode":201},"input":{"type":"structure","members":{"Category":{"locationName":"category"},"Description":{"locationName":"description"},"Name":{"locationName":"name"},"Settings":{"shape":"Sjx","locationName":"settings"},"Tags":{"shape":"Sj8","locationName":"tags"}},"required":["Settings","Name"]},"output":{"type":"structure","members":{"Preset":{"shape":"Sk1","locationName":"preset"}}}},"CreateQueue":{"http":{"requestUri":"/2017-08-29/queues","responseCode":201},"input":{"type":"structure","members":{"Description":{"locationName":"description"},"Name":{"locationName":"name"},"PricingPlan":{"locationName":"pricingPlan"},"ReservationPlanSettings":{"shape":"Sk4","locationName":"reservationPlanSettings"},"Status":{"locationName":"status"},"Tags":{"shape":"Sj8","locationName":"tags"}},"required":["Name"]},"output":{"type":"structure","members":{"Queue":{"shape":"Sk9","locationName":"queue"}}}},"DeleteJobTemplate":{"http":{"method":"DELETE","requestUri":"/2017-08-29/jobTemplates/{name}","responseCode":202},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{}}},"DeletePolicy":{"http":{"method":"DELETE","requestUri":"/2017-08-29/policy","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DeletePreset":{"http":{"method":"DELETE","requestUri":"/2017-08-29/presets/{name}","responseCode":202},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{}}},"DeleteQueue":{"http":{"method":"DELETE","requestUri":"/2017-08-29/queues/{name}","responseCode":202},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{}}},"DescribeEndpoints":{"http":{"requestUri":"/2017-08-29/endpoints","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"locationName":"maxResults","type":"integer"},"Mode":{"locationName":"mode"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"Endpoints":{"locationName":"endpoints","type":"list","member":{"type":"structure","members":{"Url":{"locationName":"url"}}}},"NextToken":{"locationName":"nextToken"}}}},"DisassociateCertificate":{"http":{"method":"DELETE","requestUri":"/2017-08-29/certificates/{arn}","responseCode":202},"input":{"type":"structure","members":{"Arn":{"locationName":"arn","location":"uri"}},"required":["Arn"]},"output":{"type":"structure","members":{}}},"GetJob":{"http":{"method":"GET","requestUri":"/2017-08-29/jobs/{id}","responseCode":200},"input":{"type":"structure","members":{"Id":{"locationName":"id","location":"uri"}},"required":["Id"]},"output":{"type":"structure","members":{"Job":{"shape":"Sja","locationName":"job"}}}},"GetJobTemplate":{"http":{"method":"GET","requestUri":"/2017-08-29/jobTemplates/{name}","responseCode":200},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{"JobTemplate":{"shape":"Sju","locationName":"jobTemplate"}}}},"GetPolicy":{"http":{"method":"GET","requestUri":"/2017-08-29/policy","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Policy":{"shape":"Skx","locationName":"policy"}}}},"GetPreset":{"http":{"method":"GET","requestUri":"/2017-08-29/presets/{name}","responseCode":200},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{"Preset":{"shape":"Sk1","locationName":"preset"}}}},"GetQueue":{"http":{"method":"GET","requestUri":"/2017-08-29/queues/{name}","responseCode":200},"input":{"type":"structure","members":{"Name":{"locationName":"name","location":"uri"}},"required":["Name"]},"output":{"type":"structure","members":{"Queue":{"shape":"Sk9","locationName":"queue"}}}},"ListJobTemplates":{"http":{"method":"GET","requestUri":"/2017-08-29/jobTemplates","responseCode":200},"input":{"type":"structure","members":{"Category":{"locationName":"category","location":"querystring"},"ListBy":{"locationName":"listBy","location":"querystring"},"MaxResults":{"locationName":"maxResults","location":"querystring","type":"integer"},"NextToken":{"locationName":"nextToken","location":"querystring"},"Order":{"locationName":"order","location":"querystring"}}},"output":{"type":"structure","members":{"JobTemplates":{"locationName":"jobTemplates","type":"list","member":{"shape":"Sju"}},"NextToken":{"locationName":"nextToken"}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/2017-08-29/jobs","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"locationName":"maxResults","location":"querystring","type":"integer"},"NextToken":{"locationName":"nextToken","location":"querystring"},"Order":{"locationName":"order","location":"querystring"},"Queue":{"locationName":"queue","location":"querystring"},"Status":{"locationName":"status","location":"querystring"}}},"output":{"type":"structure","members":{"Jobs":{"locationName":"jobs","type":"list","member":{"shape":"Sja"}},"NextToken":{"locationName":"nextToken"}}}},"ListPresets":{"http":{"method":"GET","requestUri":"/2017-08-29/presets","responseCode":200},"input":{"type":"structure","members":{"Category":{"locationName":"category","location":"querystring"},"ListBy":{"locationName":"listBy","location":"querystring"},"MaxResults":{"locationName":"maxResults","location":"querystring","type":"integer"},"NextToken":{"locationName":"nextToken","location":"querystring"},"Order":{"locationName":"order","location":"querystring"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Presets":{"locationName":"presets","type":"list","member":{"shape":"Sk1"}}}}},"ListQueues":{"http":{"method":"GET","requestUri":"/2017-08-29/queues","responseCode":200},"input":{"type":"structure","members":{"ListBy":{"locationName":"listBy","location":"querystring"},"MaxResults":{"locationName":"maxResults","location":"querystring","type":"integer"},"NextToken":{"locationName":"nextToken","location":"querystring"},"Order":{"locationName":"order","location":"querystring"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Queues":{"locationName":"queues","type":"list","member":{"shape":"Sk9"}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2017-08-29/tags/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"locationName":"arn","location":"uri"}},"required":["Arn"]},"output":{"type":"structure","members":{"ResourceTags":{"locationName":"resourceTags","type":"structure","members":{"Arn":{"locationName":"arn"},"Tags":{"shape":"Sj8","locationName":"tags"}}}}}},"PutPolicy":{"http":{"method":"PUT","requestUri":"/2017-08-29/policy","responseCode":200},"input":{"type":"structure","members":{"Policy":{"shape":"Skx","locationName":"policy"}},"required":["Policy"]},"output":{"type":"structure","members":{"Policy":{"shape":"Skx","locationName":"policy"}}}},"TagResource":{"http":{"requestUri":"/2017-08-29/tags","responseCode":200},"input":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Tags":{"shape":"Sj8","locationName":"tags"}},"required":["Arn","Tags"]},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"PUT","requestUri":"/2017-08-29/tags/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"locationName":"arn","location":"uri"},"TagKeys":{"shape":"Sjf","locationName":"tagKeys"}},"required":["Arn"]},"output":{"type":"structure","members":{}}},"UpdateJobTemplate":{"http":{"method":"PUT","requestUri":"/2017-08-29/jobTemplates/{name}","responseCode":200},"input":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"Category":{"locationName":"category"},"Description":{"locationName":"description"},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"Name":{"locationName":"name","location":"uri"},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"Settings":{"shape":"Sjq","locationName":"settings"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"}},"required":["Name"]},"output":{"type":"structure","members":{"JobTemplate":{"shape":"Sju","locationName":"jobTemplate"}}}},"UpdatePreset":{"http":{"method":"PUT","requestUri":"/2017-08-29/presets/{name}","responseCode":200},"input":{"type":"structure","members":{"Category":{"locationName":"category"},"Description":{"locationName":"description"},"Name":{"locationName":"name","location":"uri"},"Settings":{"shape":"Sjx","locationName":"settings"}},"required":["Name"]},"output":{"type":"structure","members":{"Preset":{"shape":"Sk1","locationName":"preset"}}}},"UpdateQueue":{"http":{"method":"PUT","requestUri":"/2017-08-29/queues/{name}","responseCode":200},"input":{"type":"structure","members":{"Description":{"locationName":"description"},"Name":{"locationName":"name","location":"uri"},"ReservationPlanSettings":{"shape":"Sk4","locationName":"reservationPlanSettings"},"Status":{"locationName":"status"}},"required":["Name"]},"output":{"type":"structure","members":{"Queue":{"shape":"Sk9","locationName":"queue"}}}}},"shapes":{"S7":{"type":"structure","members":{"Mode":{"locationName":"mode"}},"required":["Mode"]},"Sa":{"type":"list","member":{"type":"structure","members":{"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"WaitMinutes":{"locationName":"waitMinutes","type":"integer"}}}},"Se":{"type":"structure","members":{"AdAvailOffset":{"locationName":"adAvailOffset","type":"integer"},"AvailBlanking":{"shape":"Sg","locationName":"availBlanking"},"Esam":{"shape":"Si","locationName":"esam"},"ExtendedDataServices":{"shape":"So","locationName":"extendedDataServices"},"Inputs":{"locationName":"inputs","type":"list","member":{"type":"structure","members":{"AudioSelectorGroups":{"shape":"St","locationName":"audioSelectorGroups"},"AudioSelectors":{"shape":"Sx","locationName":"audioSelectors"},"CaptionSelectors":{"shape":"S1i","locationName":"captionSelectors"},"Crop":{"shape":"S26","locationName":"crop"},"DeblockFilter":{"locationName":"deblockFilter"},"DecryptionSettings":{"locationName":"decryptionSettings","type":"structure","members":{"DecryptionMode":{"locationName":"decryptionMode"},"EncryptedDecryptionKey":{"locationName":"encryptedDecryptionKey"},"InitializationVector":{"locationName":"initializationVector"},"KmsKeyRegion":{"locationName":"kmsKeyRegion"}}},"DenoiseFilter":{"locationName":"denoiseFilter"},"DolbyVisionMetadataXml":{"locationName":"dolbyVisionMetadataXml"},"FileInput":{"locationName":"fileInput"},"FilterEnable":{"locationName":"filterEnable"},"FilterStrength":{"locationName":"filterStrength","type":"integer"},"ImageInserter":{"shape":"S2k","locationName":"imageInserter"},"InputClippings":{"shape":"S2r","locationName":"inputClippings"},"InputScanType":{"locationName":"inputScanType"},"Position":{"shape":"S26","locationName":"position"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"PsiControl":{"locationName":"psiControl"},"SupplementalImps":{"locationName":"supplementalImps","type":"list","member":{}},"TimecodeSource":{"locationName":"timecodeSource"},"TimecodeStart":{"locationName":"timecodeStart"},"VideoSelector":{"shape":"S30","locationName":"videoSelector"}}}},"KantarWatermark":{"shape":"S39","locationName":"kantarWatermark"},"MotionImageInserter":{"shape":"S3h","locationName":"motionImageInserter"},"NielsenConfiguration":{"shape":"S3p","locationName":"nielsenConfiguration"},"NielsenNonLinearWatermark":{"shape":"S3r","locationName":"nielsenNonLinearWatermark"},"OutputGroups":{"shape":"S3y","locationName":"outputGroups"},"TimecodeConfig":{"shape":"Sj0","locationName":"timecodeConfig"},"TimedMetadataInsertion":{"shape":"Sj3","locationName":"timedMetadataInsertion"}}},"Sg":{"type":"structure","members":{"AvailBlankingImage":{"locationName":"availBlankingImage"}}},"Si":{"type":"structure","members":{"ManifestConfirmConditionNotification":{"locationName":"manifestConfirmConditionNotification","type":"structure","members":{"MccXml":{"locationName":"mccXml"}}},"ResponseSignalPreroll":{"locationName":"responseSignalPreroll","type":"integer"},"SignalProcessingNotification":{"locationName":"signalProcessingNotification","type":"structure","members":{"SccXml":{"locationName":"sccXml"}}}}},"So":{"type":"structure","members":{"CopyProtectionAction":{"locationName":"copyProtectionAction"},"VchipAction":{"locationName":"vchipAction"}}},"St":{"type":"map","key":{},"value":{"type":"structure","members":{"AudioSelectorNames":{"shape":"Sv","locationName":"audioSelectorNames"}}}},"Sv":{"type":"list","member":{}},"Sx":{"type":"map","key":{},"value":{"type":"structure","members":{"CustomLanguageCode":{"locationName":"customLanguageCode"},"DefaultSelection":{"locationName":"defaultSelection"},"ExternalAudioFileInput":{"locationName":"externalAudioFileInput"},"HlsRenditionGroupSettings":{"locationName":"hlsRenditionGroupSettings","type":"structure","members":{"RenditionGroupId":{"locationName":"renditionGroupId"},"RenditionLanguageCode":{"locationName":"renditionLanguageCode"},"RenditionName":{"locationName":"renditionName"}}},"LanguageCode":{"locationName":"languageCode"},"Offset":{"locationName":"offset","type":"integer"},"Pids":{"shape":"S15","locationName":"pids"},"ProgramSelection":{"locationName":"programSelection","type":"integer"},"RemixSettings":{"shape":"S18","locationName":"remixSettings"},"SelectorType":{"locationName":"selectorType"},"Tracks":{"shape":"S15","locationName":"tracks"}}}},"S15":{"type":"list","member":{"type":"integer"}},"S18":{"type":"structure","members":{"ChannelMapping":{"locationName":"channelMapping","type":"structure","members":{"OutputChannels":{"locationName":"outputChannels","type":"list","member":{"type":"structure","members":{"InputChannels":{"locationName":"inputChannels","type":"list","member":{"type":"integer"}},"InputChannelsFineTune":{"locationName":"inputChannelsFineTune","type":"list","member":{"type":"double"}}}}}}},"ChannelsIn":{"locationName":"channelsIn","type":"integer"},"ChannelsOut":{"locationName":"channelsOut","type":"integer"}}},"S1i":{"type":"map","key":{},"value":{"type":"structure","members":{"CustomLanguageCode":{"locationName":"customLanguageCode"},"LanguageCode":{"locationName":"languageCode"},"SourceSettings":{"locationName":"sourceSettings","type":"structure","members":{"AncillarySourceSettings":{"locationName":"ancillarySourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"SourceAncillaryChannelNumber":{"locationName":"sourceAncillaryChannelNumber","type":"integer"},"TerminateCaptions":{"locationName":"terminateCaptions"}}},"DvbSubSourceSettings":{"locationName":"dvbSubSourceSettings","type":"structure","members":{"Pid":{"locationName":"pid","type":"integer"}}},"EmbeddedSourceSettings":{"locationName":"embeddedSourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"Source608ChannelNumber":{"locationName":"source608ChannelNumber","type":"integer"},"Source608TrackNumber":{"locationName":"source608TrackNumber","type":"integer"},"TerminateCaptions":{"locationName":"terminateCaptions"}}},"FileSourceSettings":{"locationName":"fileSourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"Framerate":{"locationName":"framerate","type":"structure","members":{"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"}}},"SourceFile":{"locationName":"sourceFile"},"TimeDelta":{"locationName":"timeDelta","type":"integer"},"TimeDeltaUnits":{"locationName":"timeDeltaUnits"}}},"SourceType":{"locationName":"sourceType"},"TeletextSourceSettings":{"locationName":"teletextSourceSettings","type":"structure","members":{"PageNumber":{"locationName":"pageNumber"}}},"TrackSourceSettings":{"locationName":"trackSourceSettings","type":"structure","members":{"TrackNumber":{"locationName":"trackNumber","type":"integer"}}},"WebvttHlsSourceSettings":{"locationName":"webvttHlsSourceSettings","type":"structure","members":{"RenditionGroupId":{"locationName":"renditionGroupId"},"RenditionLanguageCode":{"locationName":"renditionLanguageCode"},"RenditionName":{"locationName":"renditionName"}}}}}}}},"S26":{"type":"structure","members":{"Height":{"locationName":"height","type":"integer"},"Width":{"locationName":"width","type":"integer"},"X":{"locationName":"x","type":"integer"},"Y":{"locationName":"y","type":"integer"}}},"S2k":{"type":"structure","members":{"InsertableImages":{"locationName":"insertableImages","type":"list","member":{"type":"structure","members":{"Duration":{"locationName":"duration","type":"integer"},"FadeIn":{"locationName":"fadeIn","type":"integer"},"FadeOut":{"locationName":"fadeOut","type":"integer"},"Height":{"locationName":"height","type":"integer"},"ImageInserterInput":{"locationName":"imageInserterInput"},"ImageX":{"locationName":"imageX","type":"integer"},"ImageY":{"locationName":"imageY","type":"integer"},"Layer":{"locationName":"layer","type":"integer"},"Opacity":{"locationName":"opacity","type":"integer"},"StartTime":{"locationName":"startTime"},"Width":{"locationName":"width","type":"integer"}}}}}},"S2r":{"type":"list","member":{"type":"structure","members":{"EndTimecode":{"locationName":"endTimecode"},"StartTimecode":{"locationName":"startTimecode"}}}},"S30":{"type":"structure","members":{"AlphaBehavior":{"locationName":"alphaBehavior"},"ColorSpace":{"locationName":"colorSpace"},"ColorSpaceUsage":{"locationName":"colorSpaceUsage"},"Hdr10Metadata":{"shape":"S34","locationName":"hdr10Metadata"},"Pid":{"locationName":"pid","type":"integer"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"Rotate":{"locationName":"rotate"},"SampleRange":{"locationName":"sampleRange"}}},"S34":{"type":"structure","members":{"BluePrimaryX":{"locationName":"bluePrimaryX","type":"integer"},"BluePrimaryY":{"locationName":"bluePrimaryY","type":"integer"},"GreenPrimaryX":{"locationName":"greenPrimaryX","type":"integer"},"GreenPrimaryY":{"locationName":"greenPrimaryY","type":"integer"},"MaxContentLightLevel":{"locationName":"maxContentLightLevel","type":"integer"},"MaxFrameAverageLightLevel":{"locationName":"maxFrameAverageLightLevel","type":"integer"},"MaxLuminance":{"locationName":"maxLuminance","type":"integer"},"MinLuminance":{"locationName":"minLuminance","type":"integer"},"RedPrimaryX":{"locationName":"redPrimaryX","type":"integer"},"RedPrimaryY":{"locationName":"redPrimaryY","type":"integer"},"WhitePointX":{"locationName":"whitePointX","type":"integer"},"WhitePointY":{"locationName":"whitePointY","type":"integer"}}},"S39":{"type":"structure","members":{"ChannelName":{"locationName":"channelName"},"ContentReference":{"locationName":"contentReference"},"CredentialsSecretName":{"locationName":"credentialsSecretName"},"FileOffset":{"locationName":"fileOffset","type":"double"},"KantarLicenseId":{"locationName":"kantarLicenseId","type":"integer"},"KantarServerUrl":{"locationName":"kantarServerUrl"},"LogDestination":{"locationName":"logDestination"},"Metadata3":{"locationName":"metadata3"},"Metadata4":{"locationName":"metadata4"},"Metadata5":{"locationName":"metadata5"},"Metadata6":{"locationName":"metadata6"},"Metadata7":{"locationName":"metadata7"},"Metadata8":{"locationName":"metadata8"}}},"S3h":{"type":"structure","members":{"Framerate":{"locationName":"framerate","type":"structure","members":{"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"}}},"Input":{"locationName":"input"},"InsertionMode":{"locationName":"insertionMode"},"Offset":{"locationName":"offset","type":"structure","members":{"ImageX":{"locationName":"imageX","type":"integer"},"ImageY":{"locationName":"imageY","type":"integer"}}},"Playback":{"locationName":"playback"},"StartTime":{"locationName":"startTime"}}},"S3p":{"type":"structure","members":{"BreakoutCode":{"locationName":"breakoutCode","type":"integer"},"DistributorId":{"locationName":"distributorId"}}},"S3r":{"type":"structure","members":{"ActiveWatermarkProcess":{"locationName":"activeWatermarkProcess"},"AdiFilename":{"locationName":"adiFilename"},"AssetId":{"locationName":"assetId"},"AssetName":{"locationName":"assetName"},"CbetSourceId":{"locationName":"cbetSourceId"},"EpisodeId":{"locationName":"episodeId"},"MetadataDestination":{"locationName":"metadataDestination"},"SourceId":{"locationName":"sourceId","type":"integer"},"SourceWatermarkStatus":{"locationName":"sourceWatermarkStatus"},"TicServerUrl":{"locationName":"ticServerUrl"},"UniqueTicPerAudioTrack":{"locationName":"uniqueTicPerAudioTrack"}}},"S3y":{"type":"list","member":{"type":"structure","members":{"AutomatedEncodingSettings":{"locationName":"automatedEncodingSettings","type":"structure","members":{"AbrSettings":{"locationName":"abrSettings","type":"structure","members":{"MaxAbrBitrate":{"locationName":"maxAbrBitrate","type":"integer"},"MaxRenditions":{"locationName":"maxRenditions","type":"integer"},"MinAbrBitrate":{"locationName":"minAbrBitrate","type":"integer"}}}}},"CustomName":{"locationName":"customName"},"Name":{"locationName":"name"},"OutputGroupSettings":{"locationName":"outputGroupSettings","type":"structure","members":{"CmafGroupSettings":{"locationName":"cmafGroupSettings","type":"structure","members":{"AdditionalManifests":{"locationName":"additionalManifests","type":"list","member":{"type":"structure","members":{"ManifestNameModifier":{"locationName":"manifestNameModifier"},"SelectedOutputs":{"shape":"Sv","locationName":"selectedOutputs"}}}},"BaseUrl":{"locationName":"baseUrl"},"ClientCache":{"locationName":"clientCache"},"CodecSpecification":{"locationName":"codecSpecification"},"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S4a","locationName":"destinationSettings"},"Encryption":{"locationName":"encryption","type":"structure","members":{"ConstantInitializationVector":{"locationName":"constantInitializationVector"},"EncryptionMethod":{"locationName":"encryptionMethod"},"InitializationVectorInManifest":{"locationName":"initializationVectorInManifest"},"SpekeKeyProvider":{"locationName":"spekeKeyProvider","type":"structure","members":{"CertificateArn":{"locationName":"certificateArn"},"DashSignaledSystemIds":{"shape":"S4o","locationName":"dashSignaledSystemIds"},"HlsSignaledSystemIds":{"shape":"S4o","locationName":"hlsSignaledSystemIds"},"ResourceId":{"locationName":"resourceId"},"Url":{"locationName":"url"}}},"StaticKeyProvider":{"shape":"S4r","locationName":"staticKeyProvider"},"Type":{"locationName":"type"}}},"FragmentLength":{"locationName":"fragmentLength","type":"integer"},"ImageBasedTrickPlay":{"locationName":"imageBasedTrickPlay"},"ImageBasedTrickPlaySettings":{"locationName":"imageBasedTrickPlaySettings","type":"structure","members":{"IntervalCadence":{"locationName":"intervalCadence"},"ThumbnailHeight":{"locationName":"thumbnailHeight","type":"integer"},"ThumbnailInterval":{"locationName":"thumbnailInterval","type":"double"},"ThumbnailWidth":{"locationName":"thumbnailWidth","type":"integer"},"TileHeight":{"locationName":"tileHeight","type":"integer"},"TileWidth":{"locationName":"tileWidth","type":"integer"}}},"ManifestCompression":{"locationName":"manifestCompression"},"ManifestDurationFormat":{"locationName":"manifestDurationFormat"},"MinBufferTime":{"locationName":"minBufferTime","type":"integer"},"MinFinalSegmentLength":{"locationName":"minFinalSegmentLength","type":"double"},"MpdProfile":{"locationName":"mpdProfile"},"PtsOffsetHandlingForBFrames":{"locationName":"ptsOffsetHandlingForBFrames"},"SegmentControl":{"locationName":"segmentControl"},"SegmentLength":{"locationName":"segmentLength","type":"integer"},"SegmentLengthControl":{"locationName":"segmentLengthControl"},"StreamInfResolution":{"locationName":"streamInfResolution"},"TargetDurationCompatibilityMode":{"locationName":"targetDurationCompatibilityMode"},"WriteDashManifest":{"locationName":"writeDashManifest"},"WriteHlsManifest":{"locationName":"writeHlsManifest"},"WriteSegmentTimelineInRepresentation":{"locationName":"writeSegmentTimelineInRepresentation"}}},"DashIsoGroupSettings":{"locationName":"dashIsoGroupSettings","type":"structure","members":{"AdditionalManifests":{"locationName":"additionalManifests","type":"list","member":{"type":"structure","members":{"ManifestNameModifier":{"locationName":"manifestNameModifier"},"SelectedOutputs":{"shape":"Sv","locationName":"selectedOutputs"}}}},"AudioChannelConfigSchemeIdUri":{"locationName":"audioChannelConfigSchemeIdUri"},"BaseUrl":{"locationName":"baseUrl"},"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S4a","locationName":"destinationSettings"},"Encryption":{"locationName":"encryption","type":"structure","members":{"PlaybackDeviceCompatibility":{"locationName":"playbackDeviceCompatibility"},"SpekeKeyProvider":{"shape":"S5l","locationName":"spekeKeyProvider"}}},"FragmentLength":{"locationName":"fragmentLength","type":"integer"},"HbbtvCompliance":{"locationName":"hbbtvCompliance"},"ImageBasedTrickPlay":{"locationName":"imageBasedTrickPlay"},"ImageBasedTrickPlaySettings":{"locationName":"imageBasedTrickPlaySettings","type":"structure","members":{"IntervalCadence":{"locationName":"intervalCadence"},"ThumbnailHeight":{"locationName":"thumbnailHeight","type":"integer"},"ThumbnailInterval":{"locationName":"thumbnailInterval","type":"double"},"ThumbnailWidth":{"locationName":"thumbnailWidth","type":"integer"},"TileHeight":{"locationName":"tileHeight","type":"integer"},"TileWidth":{"locationName":"tileWidth","type":"integer"}}},"MinBufferTime":{"locationName":"minBufferTime","type":"integer"},"MinFinalSegmentLength":{"locationName":"minFinalSegmentLength","type":"double"},"MpdProfile":{"locationName":"mpdProfile"},"PtsOffsetHandlingForBFrames":{"locationName":"ptsOffsetHandlingForBFrames"},"SegmentControl":{"locationName":"segmentControl"},"SegmentLength":{"locationName":"segmentLength","type":"integer"},"SegmentLengthControl":{"locationName":"segmentLengthControl"},"WriteSegmentTimelineInRepresentation":{"locationName":"writeSegmentTimelineInRepresentation"}}},"FileGroupSettings":{"locationName":"fileGroupSettings","type":"structure","members":{"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S4a","locationName":"destinationSettings"}}},"HlsGroupSettings":{"locationName":"hlsGroupSettings","type":"structure","members":{"AdMarkers":{"locationName":"adMarkers","type":"list","member":{}},"AdditionalManifests":{"locationName":"additionalManifests","type":"list","member":{"type":"structure","members":{"ManifestNameModifier":{"locationName":"manifestNameModifier"},"SelectedOutputs":{"shape":"Sv","locationName":"selectedOutputs"}}}},"AudioOnlyHeader":{"locationName":"audioOnlyHeader"},"BaseUrl":{"locationName":"baseUrl"},"CaptionLanguageMappings":{"locationName":"captionLanguageMappings","type":"list","member":{"type":"structure","members":{"CaptionChannel":{"locationName":"captionChannel","type":"integer"},"CustomLanguageCode":{"locationName":"customLanguageCode"},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"}}}},"CaptionLanguageSetting":{"locationName":"captionLanguageSetting"},"ClientCache":{"locationName":"clientCache"},"CodecSpecification":{"locationName":"codecSpecification"},"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S4a","locationName":"destinationSettings"},"DirectoryStructure":{"locationName":"directoryStructure"},"Encryption":{"locationName":"encryption","type":"structure","members":{"ConstantInitializationVector":{"locationName":"constantInitializationVector"},"EncryptionMethod":{"locationName":"encryptionMethod"},"InitializationVectorInManifest":{"locationName":"initializationVectorInManifest"},"OfflineEncrypted":{"locationName":"offlineEncrypted"},"SpekeKeyProvider":{"shape":"S5l","locationName":"spekeKeyProvider"},"StaticKeyProvider":{"shape":"S4r","locationName":"staticKeyProvider"},"Type":{"locationName":"type"}}},"ImageBasedTrickPlay":{"locationName":"imageBasedTrickPlay"},"ImageBasedTrickPlaySettings":{"locationName":"imageBasedTrickPlaySettings","type":"structure","members":{"IntervalCadence":{"locationName":"intervalCadence"},"ThumbnailHeight":{"locationName":"thumbnailHeight","type":"integer"},"ThumbnailInterval":{"locationName":"thumbnailInterval","type":"double"},"ThumbnailWidth":{"locationName":"thumbnailWidth","type":"integer"},"TileHeight":{"locationName":"tileHeight","type":"integer"},"TileWidth":{"locationName":"tileWidth","type":"integer"}}},"ManifestCompression":{"locationName":"manifestCompression"},"ManifestDurationFormat":{"locationName":"manifestDurationFormat"},"MinFinalSegmentLength":{"locationName":"minFinalSegmentLength","type":"double"},"MinSegmentLength":{"locationName":"minSegmentLength","type":"integer"},"OutputSelection":{"locationName":"outputSelection"},"ProgramDateTime":{"locationName":"programDateTime"},"ProgramDateTimePeriod":{"locationName":"programDateTimePeriod","type":"integer"},"SegmentControl":{"locationName":"segmentControl"},"SegmentLength":{"locationName":"segmentLength","type":"integer"},"SegmentLengthControl":{"locationName":"segmentLengthControl"},"SegmentsPerSubdirectory":{"locationName":"segmentsPerSubdirectory","type":"integer"},"StreamInfResolution":{"locationName":"streamInfResolution"},"TargetDurationCompatibilityMode":{"locationName":"targetDurationCompatibilityMode"},"TimedMetadataId3Frame":{"locationName":"timedMetadataId3Frame"},"TimedMetadataId3Period":{"locationName":"timedMetadataId3Period","type":"integer"},"TimestampDeltaMilliseconds":{"locationName":"timestampDeltaMilliseconds","type":"integer"}}},"MsSmoothGroupSettings":{"locationName":"msSmoothGroupSettings","type":"structure","members":{"AdditionalManifests":{"locationName":"additionalManifests","type":"list","member":{"type":"structure","members":{"ManifestNameModifier":{"locationName":"manifestNameModifier"},"SelectedOutputs":{"shape":"Sv","locationName":"selectedOutputs"}}}},"AudioDeduplication":{"locationName":"audioDeduplication"},"Destination":{"locationName":"destination"},"DestinationSettings":{"shape":"S4a","locationName":"destinationSettings"},"Encryption":{"locationName":"encryption","type":"structure","members":{"SpekeKeyProvider":{"shape":"S5l","locationName":"spekeKeyProvider"}}},"FragmentLength":{"locationName":"fragmentLength","type":"integer"},"FragmentLengthControl":{"locationName":"fragmentLengthControl"},"ManifestEncoding":{"locationName":"manifestEncoding"}}},"Type":{"locationName":"type"}}},"Outputs":{"locationName":"outputs","type":"list","member":{"type":"structure","members":{"AudioDescriptions":{"shape":"S73","locationName":"audioDescriptions"},"CaptionDescriptions":{"locationName":"captionDescriptions","type":"list","member":{"type":"structure","members":{"CaptionSelectorName":{"locationName":"captionSelectorName"},"CustomLanguageCode":{"locationName":"customLanguageCode"},"DestinationSettings":{"shape":"S9l","locationName":"destinationSettings"},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"}}}},"ContainerSettings":{"shape":"Sav","locationName":"containerSettings"},"Extension":{"locationName":"extension"},"NameModifier":{"locationName":"nameModifier"},"OutputSettings":{"locationName":"outputSettings","type":"structure","members":{"HlsSettings":{"locationName":"hlsSettings","type":"structure","members":{"AudioGroupId":{"locationName":"audioGroupId"},"AudioOnlyContainer":{"locationName":"audioOnlyContainer"},"AudioRenditionSets":{"locationName":"audioRenditionSets"},"AudioTrackType":{"locationName":"audioTrackType"},"DescriptiveVideoServiceFlag":{"locationName":"descriptiveVideoServiceFlag"},"IFrameOnlyManifest":{"locationName":"iFrameOnlyManifest"},"SegmentModifier":{"locationName":"segmentModifier"}}}}},"Preset":{"locationName":"preset"},"VideoDescription":{"shape":"Sd1","locationName":"videoDescription"}}}}}}},"S4a":{"type":"structure","members":{"S3Settings":{"locationName":"s3Settings","type":"structure","members":{"AccessControl":{"locationName":"accessControl","type":"structure","members":{"CannedAcl":{"locationName":"cannedAcl"}}},"Encryption":{"locationName":"encryption","type":"structure","members":{"EncryptionType":{"locationName":"encryptionType"},"KmsEncryptionContext":{"locationName":"kmsEncryptionContext"},"KmsKeyArn":{"locationName":"kmsKeyArn"}}}}}}},"S4o":{"type":"list","member":{}},"S4r":{"type":"structure","members":{"KeyFormat":{"locationName":"keyFormat"},"KeyFormatVersions":{"locationName":"keyFormatVersions"},"StaticKeyValue":{"locationName":"staticKeyValue"},"Url":{"locationName":"url"}}},"S5l":{"type":"structure","members":{"CertificateArn":{"locationName":"certificateArn"},"ResourceId":{"locationName":"resourceId"},"SystemIds":{"locationName":"systemIds","type":"list","member":{}},"Url":{"locationName":"url"}}},"S73":{"type":"list","member":{"type":"structure","members":{"AudioChannelTaggingSettings":{"locationName":"audioChannelTaggingSettings","type":"structure","members":{"ChannelTag":{"locationName":"channelTag"}}},"AudioNormalizationSettings":{"locationName":"audioNormalizationSettings","type":"structure","members":{"Algorithm":{"locationName":"algorithm"},"AlgorithmControl":{"locationName":"algorithmControl"},"CorrectionGateLevel":{"locationName":"correctionGateLevel","type":"integer"},"LoudnessLogging":{"locationName":"loudnessLogging"},"PeakCalculation":{"locationName":"peakCalculation"},"TargetLkfs":{"locationName":"targetLkfs","type":"double"}}},"AudioSourceName":{"locationName":"audioSourceName"},"AudioType":{"locationName":"audioType","type":"integer"},"AudioTypeControl":{"locationName":"audioTypeControl"},"CodecSettings":{"locationName":"codecSettings","type":"structure","members":{"AacSettings":{"locationName":"aacSettings","type":"structure","members":{"AudioDescriptionBroadcasterMix":{"locationName":"audioDescriptionBroadcasterMix"},"Bitrate":{"locationName":"bitrate","type":"integer"},"CodecProfile":{"locationName":"codecProfile"},"CodingMode":{"locationName":"codingMode"},"RateControlMode":{"locationName":"rateControlMode"},"RawFormat":{"locationName":"rawFormat"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"Specification":{"locationName":"specification"},"VbrQuality":{"locationName":"vbrQuality"}}},"Ac3Settings":{"locationName":"ac3Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"Dialnorm":{"locationName":"dialnorm","type":"integer"},"DynamicRangeCompressionLine":{"locationName":"dynamicRangeCompressionLine"},"DynamicRangeCompressionProfile":{"locationName":"dynamicRangeCompressionProfile"},"DynamicRangeCompressionRf":{"locationName":"dynamicRangeCompressionRf"},"LfeFilter":{"locationName":"lfeFilter"},"MetadataControl":{"locationName":"metadataControl"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}},"AiffSettings":{"locationName":"aiffSettings","type":"structure","members":{"BitDepth":{"locationName":"bitDepth","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}},"Codec":{"locationName":"codec"},"Eac3AtmosSettings":{"locationName":"eac3AtmosSettings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"DialogueIntelligence":{"locationName":"dialogueIntelligence"},"DownmixControl":{"locationName":"downmixControl"},"DynamicRangeCompressionLine":{"locationName":"dynamicRangeCompressionLine"},"DynamicRangeCompressionRf":{"locationName":"dynamicRangeCompressionRf"},"DynamicRangeControl":{"locationName":"dynamicRangeControl"},"LoRoCenterMixLevel":{"locationName":"loRoCenterMixLevel","type":"double"},"LoRoSurroundMixLevel":{"locationName":"loRoSurroundMixLevel","type":"double"},"LtRtCenterMixLevel":{"locationName":"ltRtCenterMixLevel","type":"double"},"LtRtSurroundMixLevel":{"locationName":"ltRtSurroundMixLevel","type":"double"},"MeteringMode":{"locationName":"meteringMode"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"SpeechThreshold":{"locationName":"speechThreshold","type":"integer"},"StereoDownmix":{"locationName":"stereoDownmix"},"SurroundExMode":{"locationName":"surroundExMode"}}},"Eac3Settings":{"locationName":"eac3Settings","type":"structure","members":{"AttenuationControl":{"locationName":"attenuationControl"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"DcFilter":{"locationName":"dcFilter"},"Dialnorm":{"locationName":"dialnorm","type":"integer"},"DynamicRangeCompressionLine":{"locationName":"dynamicRangeCompressionLine"},"DynamicRangeCompressionRf":{"locationName":"dynamicRangeCompressionRf"},"LfeControl":{"locationName":"lfeControl"},"LfeFilter":{"locationName":"lfeFilter"},"LoRoCenterMixLevel":{"locationName":"loRoCenterMixLevel","type":"double"},"LoRoSurroundMixLevel":{"locationName":"loRoSurroundMixLevel","type":"double"},"LtRtCenterMixLevel":{"locationName":"ltRtCenterMixLevel","type":"double"},"LtRtSurroundMixLevel":{"locationName":"ltRtSurroundMixLevel","type":"double"},"MetadataControl":{"locationName":"metadataControl"},"PassthroughControl":{"locationName":"passthroughControl"},"PhaseControl":{"locationName":"phaseControl"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"StereoDownmix":{"locationName":"stereoDownmix"},"SurroundExMode":{"locationName":"surroundExMode"},"SurroundMode":{"locationName":"surroundMode"}}},"Mp2Settings":{"locationName":"mp2Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}},"Mp3Settings":{"locationName":"mp3Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"RateControlMode":{"locationName":"rateControlMode"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"VbrQuality":{"locationName":"vbrQuality","type":"integer"}}},"OpusSettings":{"locationName":"opusSettings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}},"VorbisSettings":{"locationName":"vorbisSettings","type":"structure","members":{"Channels":{"locationName":"channels","type":"integer"},"SampleRate":{"locationName":"sampleRate","type":"integer"},"VbrQuality":{"locationName":"vbrQuality","type":"integer"}}},"WavSettings":{"locationName":"wavSettings","type":"structure","members":{"BitDepth":{"locationName":"bitDepth","type":"integer"},"Channels":{"locationName":"channels","type":"integer"},"Format":{"locationName":"format"},"SampleRate":{"locationName":"sampleRate","type":"integer"}}}}},"CustomLanguageCode":{"locationName":"customLanguageCode"},"LanguageCode":{"locationName":"languageCode"},"LanguageCodeControl":{"locationName":"languageCodeControl"},"RemixSettings":{"shape":"S18","locationName":"remixSettings"},"StreamName":{"locationName":"streamName"}}}},"S9l":{"type":"structure","members":{"BurninDestinationSettings":{"locationName":"burninDestinationSettings","type":"structure","members":{"Alignment":{"locationName":"alignment"},"ApplyFontColor":{"locationName":"applyFontColor"},"BackgroundColor":{"locationName":"backgroundColor"},"BackgroundOpacity":{"locationName":"backgroundOpacity","type":"integer"},"FallbackFont":{"locationName":"fallbackFont"},"FontColor":{"locationName":"fontColor"},"FontOpacity":{"locationName":"fontOpacity","type":"integer"},"FontResolution":{"locationName":"fontResolution","type":"integer"},"FontScript":{"locationName":"fontScript"},"FontSize":{"locationName":"fontSize","type":"integer"},"HexFontColor":{"locationName":"hexFontColor"},"OutlineColor":{"locationName":"outlineColor"},"OutlineSize":{"locationName":"outlineSize","type":"integer"},"ShadowColor":{"locationName":"shadowColor"},"ShadowOpacity":{"locationName":"shadowOpacity","type":"integer"},"ShadowXOffset":{"locationName":"shadowXOffset","type":"integer"},"ShadowYOffset":{"locationName":"shadowYOffset","type":"integer"},"StylePassthrough":{"locationName":"stylePassthrough"},"TeletextSpacing":{"locationName":"teletextSpacing"},"XPosition":{"locationName":"xPosition","type":"integer"},"YPosition":{"locationName":"yPosition","type":"integer"}}},"DestinationType":{"locationName":"destinationType"},"DvbSubDestinationSettings":{"locationName":"dvbSubDestinationSettings","type":"structure","members":{"Alignment":{"locationName":"alignment"},"ApplyFontColor":{"locationName":"applyFontColor"},"BackgroundColor":{"locationName":"backgroundColor"},"BackgroundOpacity":{"locationName":"backgroundOpacity","type":"integer"},"DdsHandling":{"locationName":"ddsHandling"},"DdsXCoordinate":{"locationName":"ddsXCoordinate","type":"integer"},"DdsYCoordinate":{"locationName":"ddsYCoordinate","type":"integer"},"FallbackFont":{"locationName":"fallbackFont"},"FontColor":{"locationName":"fontColor"},"FontOpacity":{"locationName":"fontOpacity","type":"integer"},"FontResolution":{"locationName":"fontResolution","type":"integer"},"FontScript":{"locationName":"fontScript"},"FontSize":{"locationName":"fontSize","type":"integer"},"Height":{"locationName":"height","type":"integer"},"HexFontColor":{"locationName":"hexFontColor"},"OutlineColor":{"locationName":"outlineColor"},"OutlineSize":{"locationName":"outlineSize","type":"integer"},"ShadowColor":{"locationName":"shadowColor"},"ShadowOpacity":{"locationName":"shadowOpacity","type":"integer"},"ShadowXOffset":{"locationName":"shadowXOffset","type":"integer"},"ShadowYOffset":{"locationName":"shadowYOffset","type":"integer"},"StylePassthrough":{"locationName":"stylePassthrough"},"SubtitlingType":{"locationName":"subtitlingType"},"TeletextSpacing":{"locationName":"teletextSpacing"},"Width":{"locationName":"width","type":"integer"},"XPosition":{"locationName":"xPosition","type":"integer"},"YPosition":{"locationName":"yPosition","type":"integer"}}},"EmbeddedDestinationSettings":{"locationName":"embeddedDestinationSettings","type":"structure","members":{"Destination608ChannelNumber":{"locationName":"destination608ChannelNumber","type":"integer"},"Destination708ServiceNumber":{"locationName":"destination708ServiceNumber","type":"integer"}}},"ImscDestinationSettings":{"locationName":"imscDestinationSettings","type":"structure","members":{"Accessibility":{"locationName":"accessibility"},"StylePassthrough":{"locationName":"stylePassthrough"}}},"SccDestinationSettings":{"locationName":"sccDestinationSettings","type":"structure","members":{"Framerate":{"locationName":"framerate"}}},"SrtDestinationSettings":{"locationName":"srtDestinationSettings","type":"structure","members":{"StylePassthrough":{"locationName":"stylePassthrough"}}},"TeletextDestinationSettings":{"locationName":"teletextDestinationSettings","type":"structure","members":{"PageNumber":{"locationName":"pageNumber"},"PageTypes":{"locationName":"pageTypes","type":"list","member":{}}}},"TtmlDestinationSettings":{"locationName":"ttmlDestinationSettings","type":"structure","members":{"StylePassthrough":{"locationName":"stylePassthrough"}}},"WebvttDestinationSettings":{"locationName":"webvttDestinationSettings","type":"structure","members":{"Accessibility":{"locationName":"accessibility"},"StylePassthrough":{"locationName":"stylePassthrough"}}}}},"Sav":{"type":"structure","members":{"CmfcSettings":{"locationName":"cmfcSettings","type":"structure","members":{"AudioDuration":{"locationName":"audioDuration"},"AudioGroupId":{"locationName":"audioGroupId"},"AudioRenditionSets":{"locationName":"audioRenditionSets"},"AudioTrackType":{"locationName":"audioTrackType"},"DescriptiveVideoServiceFlag":{"locationName":"descriptiveVideoServiceFlag"},"IFrameOnlyManifest":{"locationName":"iFrameOnlyManifest"},"Scte35Esam":{"locationName":"scte35Esam"},"Scte35Source":{"locationName":"scte35Source"},"TimedMetadata":{"locationName":"timedMetadata"}}},"Container":{"locationName":"container"},"F4vSettings":{"locationName":"f4vSettings","type":"structure","members":{"MoovPlacement":{"locationName":"moovPlacement"}}},"M2tsSettings":{"locationName":"m2tsSettings","type":"structure","members":{"AudioBufferModel":{"locationName":"audioBufferModel"},"AudioDuration":{"locationName":"audioDuration"},"AudioFramesPerPes":{"locationName":"audioFramesPerPes","type":"integer"},"AudioPids":{"shape":"Sba","locationName":"audioPids"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BufferModel":{"locationName":"bufferModel"},"DataPTSControl":{"locationName":"dataPTSControl"},"DvbNitSettings":{"locationName":"dvbNitSettings","type":"structure","members":{"NetworkId":{"locationName":"networkId","type":"integer"},"NetworkName":{"locationName":"networkName"},"NitInterval":{"locationName":"nitInterval","type":"integer"}}},"DvbSdtSettings":{"locationName":"dvbSdtSettings","type":"structure","members":{"OutputSdt":{"locationName":"outputSdt"},"SdtInterval":{"locationName":"sdtInterval","type":"integer"},"ServiceName":{"locationName":"serviceName"},"ServiceProviderName":{"locationName":"serviceProviderName"}}},"DvbSubPids":{"shape":"Sba","locationName":"dvbSubPids"},"DvbTdtSettings":{"locationName":"dvbTdtSettings","type":"structure","members":{"TdtInterval":{"locationName":"tdtInterval","type":"integer"}}},"DvbTeletextPid":{"locationName":"dvbTeletextPid","type":"integer"},"EbpAudioInterval":{"locationName":"ebpAudioInterval"},"EbpPlacement":{"locationName":"ebpPlacement"},"EsRateInPes":{"locationName":"esRateInPes"},"ForceTsVideoEbpOrder":{"locationName":"forceTsVideoEbpOrder"},"FragmentTime":{"locationName":"fragmentTime","type":"double"},"MaxPcrInterval":{"locationName":"maxPcrInterval","type":"integer"},"MinEbpInterval":{"locationName":"minEbpInterval","type":"integer"},"NielsenId3":{"locationName":"nielsenId3"},"NullPacketBitrate":{"locationName":"nullPacketBitrate","type":"double"},"PatInterval":{"locationName":"patInterval","type":"integer"},"PcrControl":{"locationName":"pcrControl"},"PcrPid":{"locationName":"pcrPid","type":"integer"},"PmtInterval":{"locationName":"pmtInterval","type":"integer"},"PmtPid":{"locationName":"pmtPid","type":"integer"},"PrivateMetadataPid":{"locationName":"privateMetadataPid","type":"integer"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"RateMode":{"locationName":"rateMode"},"Scte35Esam":{"locationName":"scte35Esam","type":"structure","members":{"Scte35EsamPid":{"locationName":"scte35EsamPid","type":"integer"}}},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"Scte35Source":{"locationName":"scte35Source"},"SegmentationMarkers":{"locationName":"segmentationMarkers"},"SegmentationStyle":{"locationName":"segmentationStyle"},"SegmentationTime":{"locationName":"segmentationTime","type":"double"},"TimedMetadataPid":{"locationName":"timedMetadataPid","type":"integer"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"VideoPid":{"locationName":"videoPid","type":"integer"}}},"M3u8Settings":{"locationName":"m3u8Settings","type":"structure","members":{"AudioDuration":{"locationName":"audioDuration"},"AudioFramesPerPes":{"locationName":"audioFramesPerPes","type":"integer"},"AudioPids":{"shape":"Sba","locationName":"audioPids"},"DataPTSControl":{"locationName":"dataPTSControl"},"MaxPcrInterval":{"locationName":"maxPcrInterval","type":"integer"},"NielsenId3":{"locationName":"nielsenId3"},"PatInterval":{"locationName":"patInterval","type":"integer"},"PcrControl":{"locationName":"pcrControl"},"PcrPid":{"locationName":"pcrPid","type":"integer"},"PmtInterval":{"locationName":"pmtInterval","type":"integer"},"PmtPid":{"locationName":"pmtPid","type":"integer"},"PrivateMetadataPid":{"locationName":"privateMetadataPid","type":"integer"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"Scte35Source":{"locationName":"scte35Source"},"TimedMetadata":{"locationName":"timedMetadata"},"TimedMetadataPid":{"locationName":"timedMetadataPid","type":"integer"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"VideoPid":{"locationName":"videoPid","type":"integer"}}},"MovSettings":{"locationName":"movSettings","type":"structure","members":{"ClapAtom":{"locationName":"clapAtom"},"CslgAtom":{"locationName":"cslgAtom"},"Mpeg2FourCCControl":{"locationName":"mpeg2FourCCControl"},"PaddingControl":{"locationName":"paddingControl"},"Reference":{"locationName":"reference"}}},"Mp4Settings":{"locationName":"mp4Settings","type":"structure","members":{"AudioDuration":{"locationName":"audioDuration"},"CslgAtom":{"locationName":"cslgAtom"},"CttsVersion":{"locationName":"cttsVersion","type":"integer"},"FreeSpaceBox":{"locationName":"freeSpaceBox"},"MoovPlacement":{"locationName":"moovPlacement"},"Mp4MajorBrand":{"locationName":"mp4MajorBrand"}}},"MpdSettings":{"locationName":"mpdSettings","type":"structure","members":{"AccessibilityCaptionHints":{"locationName":"accessibilityCaptionHints"},"AudioDuration":{"locationName":"audioDuration"},"CaptionContainerType":{"locationName":"captionContainerType"},"Scte35Esam":{"locationName":"scte35Esam"},"Scte35Source":{"locationName":"scte35Source"},"TimedMetadata":{"locationName":"timedMetadata"}}},"MxfSettings":{"locationName":"mxfSettings","type":"structure","members":{"AfdSignaling":{"locationName":"afdSignaling"},"Profile":{"locationName":"profile"},"XavcProfileSettings":{"locationName":"xavcProfileSettings","type":"structure","members":{"DurationMode":{"locationName":"durationMode"},"MaxAncDataSize":{"locationName":"maxAncDataSize","type":"integer"}}}}}}},"Sba":{"type":"list","member":{"type":"integer"}},"Sd1":{"type":"structure","members":{"AfdSignaling":{"locationName":"afdSignaling"},"AntiAlias":{"locationName":"antiAlias"},"CodecSettings":{"locationName":"codecSettings","type":"structure","members":{"Av1Settings":{"locationName":"av1Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"BitDepth":{"locationName":"bitDepth"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"NumberBFramesBetweenReferenceFrames":{"locationName":"numberBFramesBetweenReferenceFrames","type":"integer"},"QvbrSettings":{"locationName":"qvbrSettings","type":"structure","members":{"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"QvbrQualityLevelFineTune":{"locationName":"qvbrQualityLevelFineTune","type":"double"}}},"RateControlMode":{"locationName":"rateControlMode"},"Slices":{"locationName":"slices","type":"integer"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"}}},"AvcIntraSettings":{"locationName":"avcIntraSettings","type":"structure","members":{"AvcIntraClass":{"locationName":"avcIntraClass"},"AvcIntraUhdSettings":{"locationName":"avcIntraUhdSettings","type":"structure","members":{"QualityTuningLevel":{"locationName":"qualityTuningLevel"}}},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SlowPal":{"locationName":"slowPal"},"Telecine":{"locationName":"telecine"}}},"Codec":{"locationName":"codec"},"FrameCaptureSettings":{"locationName":"frameCaptureSettings","type":"structure","members":{"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"MaxCaptures":{"locationName":"maxCaptures","type":"integer"},"Quality":{"locationName":"quality","type":"integer"}}},"H264Settings":{"locationName":"h264Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"Bitrate":{"locationName":"bitrate","type":"integer"},"CodecLevel":{"locationName":"codecLevel"},"CodecProfile":{"locationName":"codecProfile"},"DynamicSubGop":{"locationName":"dynamicSubGop"},"EntropyEncoding":{"locationName":"entropyEncoding"},"FieldEncoding":{"locationName":"fieldEncoding"},"FlickerAdaptiveQuantization":{"locationName":"flickerAdaptiveQuantization"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"HrdBufferInitialFillPercentage":{"locationName":"hrdBufferInitialFillPercentage","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"NumberBFramesBetweenReferenceFrames":{"locationName":"numberBFramesBetweenReferenceFrames","type":"integer"},"NumberReferenceFrames":{"locationName":"numberReferenceFrames","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"QvbrSettings":{"locationName":"qvbrSettings","type":"structure","members":{"MaxAverageBitrate":{"locationName":"maxAverageBitrate","type":"integer"},"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"QvbrQualityLevelFineTune":{"locationName":"qvbrQualityLevelFineTune","type":"double"}}},"RateControlMode":{"locationName":"rateControlMode"},"RepeatPps":{"locationName":"repeatPps"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"Slices":{"locationName":"slices","type":"integer"},"SlowPal":{"locationName":"slowPal"},"Softness":{"locationName":"softness","type":"integer"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"},"Syntax":{"locationName":"syntax"},"Telecine":{"locationName":"telecine"},"TemporalAdaptiveQuantization":{"locationName":"temporalAdaptiveQuantization"},"UnregisteredSeiTimecode":{"locationName":"unregisteredSeiTimecode"}}},"H265Settings":{"locationName":"h265Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"AlternateTransferFunctionSei":{"locationName":"alternateTransferFunctionSei"},"Bitrate":{"locationName":"bitrate","type":"integer"},"CodecLevel":{"locationName":"codecLevel"},"CodecProfile":{"locationName":"codecProfile"},"DynamicSubGop":{"locationName":"dynamicSubGop"},"FlickerAdaptiveQuantization":{"locationName":"flickerAdaptiveQuantization"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"HrdBufferInitialFillPercentage":{"locationName":"hrdBufferInitialFillPercentage","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"NumberBFramesBetweenReferenceFrames":{"locationName":"numberBFramesBetweenReferenceFrames","type":"integer"},"NumberReferenceFrames":{"locationName":"numberReferenceFrames","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"QvbrSettings":{"locationName":"qvbrSettings","type":"structure","members":{"MaxAverageBitrate":{"locationName":"maxAverageBitrate","type":"integer"},"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"QvbrQualityLevelFineTune":{"locationName":"qvbrQualityLevelFineTune","type":"double"}}},"RateControlMode":{"locationName":"rateControlMode"},"SampleAdaptiveOffsetFilterMode":{"locationName":"sampleAdaptiveOffsetFilterMode"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"Slices":{"locationName":"slices","type":"integer"},"SlowPal":{"locationName":"slowPal"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"},"Telecine":{"locationName":"telecine"},"TemporalAdaptiveQuantization":{"locationName":"temporalAdaptiveQuantization"},"TemporalIds":{"locationName":"temporalIds"},"Tiles":{"locationName":"tiles"},"UnregisteredSeiTimecode":{"locationName":"unregisteredSeiTimecode"},"WriteMp4PackagingType":{"locationName":"writeMp4PackagingType"}}},"Mpeg2Settings":{"locationName":"mpeg2Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"Bitrate":{"locationName":"bitrate","type":"integer"},"CodecLevel":{"locationName":"codecLevel"},"CodecProfile":{"locationName":"codecProfile"},"DynamicSubGop":{"locationName":"dynamicSubGop"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"HrdBufferInitialFillPercentage":{"locationName":"hrdBufferInitialFillPercentage","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"IntraDcPrecision":{"locationName":"intraDcPrecision"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"NumberBFramesBetweenReferenceFrames":{"locationName":"numberBFramesBetweenReferenceFrames","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"RateControlMode":{"locationName":"rateControlMode"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"SlowPal":{"locationName":"slowPal"},"Softness":{"locationName":"softness","type":"integer"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"},"Syntax":{"locationName":"syntax"},"Telecine":{"locationName":"telecine"},"TemporalAdaptiveQuantization":{"locationName":"temporalAdaptiveQuantization"}}},"ProresSettings":{"locationName":"proresSettings","type":"structure","members":{"ChromaSampling":{"locationName":"chromaSampling"},"CodecProfile":{"locationName":"codecProfile"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SlowPal":{"locationName":"slowPal"},"Telecine":{"locationName":"telecine"}}},"Vc3Settings":{"locationName":"vc3Settings","type":"structure","members":{"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"ScanTypeConversionMode":{"locationName":"scanTypeConversionMode"},"SlowPal":{"locationName":"slowPal"},"Telecine":{"locationName":"telecine"},"Vc3Class":{"locationName":"vc3Class"}}},"Vp8Settings":{"locationName":"vp8Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"RateControlMode":{"locationName":"rateControlMode"}}},"Vp9Settings":{"locationName":"vp9Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"integer"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"RateControlMode":{"locationName":"rateControlMode"}}},"XavcSettings":{"locationName":"xavcSettings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"EntropyEncoding":{"locationName":"entropyEncoding"},"FramerateControl":{"locationName":"framerateControl"},"FramerateConversionAlgorithm":{"locationName":"framerateConversionAlgorithm"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"Profile":{"locationName":"profile"},"SlowPal":{"locationName":"slowPal"},"Softness":{"locationName":"softness","type":"integer"},"SpatialAdaptiveQuantization":{"locationName":"spatialAdaptiveQuantization"},"TemporalAdaptiveQuantization":{"locationName":"temporalAdaptiveQuantization"},"Xavc4kIntraCbgProfileSettings":{"locationName":"xavc4kIntraCbgProfileSettings","type":"structure","members":{"XavcClass":{"locationName":"xavcClass"}}},"Xavc4kIntraVbrProfileSettings":{"locationName":"xavc4kIntraVbrProfileSettings","type":"structure","members":{"XavcClass":{"locationName":"xavcClass"}}},"Xavc4kProfileSettings":{"locationName":"xavc4kProfileSettings","type":"structure","members":{"BitrateClass":{"locationName":"bitrateClass"},"CodecProfile":{"locationName":"codecProfile"},"FlickerAdaptiveQuantization":{"locationName":"flickerAdaptiveQuantization"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"Slices":{"locationName":"slices","type":"integer"}}},"XavcHdIntraCbgProfileSettings":{"locationName":"xavcHdIntraCbgProfileSettings","type":"structure","members":{"XavcClass":{"locationName":"xavcClass"}}},"XavcHdProfileSettings":{"locationName":"xavcHdProfileSettings","type":"structure","members":{"BitrateClass":{"locationName":"bitrateClass"},"FlickerAdaptiveQuantization":{"locationName":"flickerAdaptiveQuantization"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"HrdBufferSize":{"locationName":"hrdBufferSize","type":"integer"},"InterlaceMode":{"locationName":"interlaceMode"},"QualityTuningLevel":{"locationName":"qualityTuningLevel"},"Slices":{"locationName":"slices","type":"integer"},"Telecine":{"locationName":"telecine"}}}}}}},"ColorMetadata":{"locationName":"colorMetadata"},"Crop":{"shape":"S26","locationName":"crop"},"DropFrameTimecode":{"locationName":"dropFrameTimecode"},"FixedAfd":{"locationName":"fixedAfd","type":"integer"},"Height":{"locationName":"height","type":"integer"},"Position":{"shape":"S26","locationName":"position"},"RespondToAfd":{"locationName":"respondToAfd"},"ScalingBehavior":{"locationName":"scalingBehavior"},"Sharpness":{"locationName":"sharpness","type":"integer"},"TimecodeInsertion":{"locationName":"timecodeInsertion"},"VideoPreprocessors":{"locationName":"videoPreprocessors","type":"structure","members":{"ColorCorrector":{"locationName":"colorCorrector","type":"structure","members":{"Brightness":{"locationName":"brightness","type":"integer"},"ColorSpaceConversion":{"locationName":"colorSpaceConversion"},"Contrast":{"locationName":"contrast","type":"integer"},"Hdr10Metadata":{"shape":"S34","locationName":"hdr10Metadata"},"Hue":{"locationName":"hue","type":"integer"},"SampleRangeConversion":{"locationName":"sampleRangeConversion"},"Saturation":{"locationName":"saturation","type":"integer"}}},"Deinterlacer":{"locationName":"deinterlacer","type":"structure","members":{"Algorithm":{"locationName":"algorithm"},"Control":{"locationName":"control"},"Mode":{"locationName":"mode"}}},"DolbyVision":{"locationName":"dolbyVision","type":"structure","members":{"L6Metadata":{"locationName":"l6Metadata","type":"structure","members":{"MaxCll":{"locationName":"maxCll","type":"integer"},"MaxFall":{"locationName":"maxFall","type":"integer"}}},"L6Mode":{"locationName":"l6Mode"},"Profile":{"locationName":"profile"}}},"Hdr10Plus":{"locationName":"hdr10Plus","type":"structure","members":{"MasteringMonitorNits":{"locationName":"masteringMonitorNits","type":"integer"},"TargetMonitorNits":{"locationName":"targetMonitorNits","type":"integer"}}},"ImageInserter":{"shape":"S2k","locationName":"imageInserter"},"NoiseReducer":{"locationName":"noiseReducer","type":"structure","members":{"Filter":{"locationName":"filter"},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"Strength":{"locationName":"strength","type":"integer"}}},"SpatialFilterSettings":{"locationName":"spatialFilterSettings","type":"structure","members":{"PostFilterSharpenStrength":{"locationName":"postFilterSharpenStrength","type":"integer"},"Speed":{"locationName":"speed","type":"integer"},"Strength":{"locationName":"strength","type":"integer"}}},"TemporalFilterSettings":{"locationName":"temporalFilterSettings","type":"structure","members":{"AggressiveMode":{"locationName":"aggressiveMode","type":"integer"},"PostTemporalSharpening":{"locationName":"postTemporalSharpening"},"PostTemporalSharpeningStrength":{"locationName":"postTemporalSharpeningStrength"},"Speed":{"locationName":"speed","type":"integer"},"Strength":{"locationName":"strength","type":"integer"}}}}},"PartnerWatermarking":{"locationName":"partnerWatermarking","type":"structure","members":{"NexguardFileMarkerSettings":{"locationName":"nexguardFileMarkerSettings","type":"structure","members":{"License":{"locationName":"license"},"Payload":{"locationName":"payload","type":"integer"},"Preset":{"locationName":"preset"},"Strength":{"locationName":"strength"}}}}},"TimecodeBurnin":{"locationName":"timecodeBurnin","type":"structure","members":{"FontSize":{"locationName":"fontSize","type":"integer"},"Position":{"locationName":"position"},"Prefix":{"locationName":"prefix"}}}}},"Width":{"locationName":"width","type":"integer"}}},"Sj0":{"type":"structure","members":{"Anchor":{"locationName":"anchor"},"Source":{"locationName":"source"},"Start":{"locationName":"start"},"TimestampOffset":{"locationName":"timestampOffset"}}},"Sj3":{"type":"structure","members":{"Id3Insertions":{"locationName":"id3Insertions","type":"list","member":{"type":"structure","members":{"Id3":{"locationName":"id3"},"Timecode":{"locationName":"timecode"}}}}}},"Sj8":{"type":"map","key":{},"value":{}},"Sja":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"AccelerationStatus":{"locationName":"accelerationStatus"},"Arn":{"locationName":"arn"},"BillingTagsSource":{"locationName":"billingTagsSource"},"CreatedAt":{"shape":"Sjc","locationName":"createdAt"},"CurrentPhase":{"locationName":"currentPhase"},"ErrorCode":{"locationName":"errorCode","type":"integer"},"ErrorMessage":{"locationName":"errorMessage"},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"Id":{"locationName":"id"},"JobPercentComplete":{"locationName":"jobPercentComplete","type":"integer"},"JobTemplate":{"locationName":"jobTemplate"},"Messages":{"locationName":"messages","type":"structure","members":{"Info":{"shape":"Sjf","locationName":"info"},"Warning":{"shape":"Sjf","locationName":"warning"}}},"OutputGroupDetails":{"locationName":"outputGroupDetails","type":"list","member":{"type":"structure","members":{"OutputDetails":{"locationName":"outputDetails","type":"list","member":{"type":"structure","members":{"DurationInMs":{"locationName":"durationInMs","type":"integer"},"VideoDetails":{"locationName":"videoDetails","type":"structure","members":{"HeightInPx":{"locationName":"heightInPx","type":"integer"},"WidthInPx":{"locationName":"widthInPx","type":"integer"}}}}}}}}},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"QueueTransitions":{"locationName":"queueTransitions","type":"list","member":{"type":"structure","members":{"DestinationQueue":{"locationName":"destinationQueue"},"SourceQueue":{"locationName":"sourceQueue"},"Timestamp":{"shape":"Sjc","locationName":"timestamp"}}}},"RetryCount":{"locationName":"retryCount","type":"integer"},"Role":{"locationName":"role"},"Settings":{"shape":"Se","locationName":"settings"},"SimulateReservedQueue":{"locationName":"simulateReservedQueue"},"Status":{"locationName":"status"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"},"Timing":{"locationName":"timing","type":"structure","members":{"FinishTime":{"shape":"Sjc","locationName":"finishTime"},"StartTime":{"shape":"Sjc","locationName":"startTime"},"SubmitTime":{"shape":"Sjc","locationName":"submitTime"}}},"UserMetadata":{"shape":"Sj8","locationName":"userMetadata"}},"required":["Role","Settings"]},"Sjc":{"type":"timestamp","timestampFormat":"unixTimestamp"},"Sjf":{"type":"list","member":{}},"Sjq":{"type":"structure","members":{"AdAvailOffset":{"locationName":"adAvailOffset","type":"integer"},"AvailBlanking":{"shape":"Sg","locationName":"availBlanking"},"Esam":{"shape":"Si","locationName":"esam"},"ExtendedDataServices":{"shape":"So","locationName":"extendedDataServices"},"Inputs":{"locationName":"inputs","type":"list","member":{"type":"structure","members":{"AudioSelectorGroups":{"shape":"St","locationName":"audioSelectorGroups"},"AudioSelectors":{"shape":"Sx","locationName":"audioSelectors"},"CaptionSelectors":{"shape":"S1i","locationName":"captionSelectors"},"Crop":{"shape":"S26","locationName":"crop"},"DeblockFilter":{"locationName":"deblockFilter"},"DenoiseFilter":{"locationName":"denoiseFilter"},"DolbyVisionMetadataXml":{"locationName":"dolbyVisionMetadataXml"},"FilterEnable":{"locationName":"filterEnable"},"FilterStrength":{"locationName":"filterStrength","type":"integer"},"ImageInserter":{"shape":"S2k","locationName":"imageInserter"},"InputClippings":{"shape":"S2r","locationName":"inputClippings"},"InputScanType":{"locationName":"inputScanType"},"Position":{"shape":"S26","locationName":"position"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"PsiControl":{"locationName":"psiControl"},"TimecodeSource":{"locationName":"timecodeSource"},"TimecodeStart":{"locationName":"timecodeStart"},"VideoSelector":{"shape":"S30","locationName":"videoSelector"}}}},"KantarWatermark":{"shape":"S39","locationName":"kantarWatermark"},"MotionImageInserter":{"shape":"S3h","locationName":"motionImageInserter"},"NielsenConfiguration":{"shape":"S3p","locationName":"nielsenConfiguration"},"NielsenNonLinearWatermark":{"shape":"S3r","locationName":"nielsenNonLinearWatermark"},"OutputGroups":{"shape":"S3y","locationName":"outputGroups"},"TimecodeConfig":{"shape":"Sj0","locationName":"timecodeConfig"},"TimedMetadataInsertion":{"shape":"Sj3","locationName":"timedMetadataInsertion"}}},"Sju":{"type":"structure","members":{"AccelerationSettings":{"shape":"S7","locationName":"accelerationSettings"},"Arn":{"locationName":"arn"},"Category":{"locationName":"category"},"CreatedAt":{"shape":"Sjc","locationName":"createdAt"},"Description":{"locationName":"description"},"HopDestinations":{"shape":"Sa","locationName":"hopDestinations"},"LastUpdated":{"shape":"Sjc","locationName":"lastUpdated"},"Name":{"locationName":"name"},"Priority":{"locationName":"priority","type":"integer"},"Queue":{"locationName":"queue"},"Settings":{"shape":"Sjq","locationName":"settings"},"StatusUpdateInterval":{"locationName":"statusUpdateInterval"},"Type":{"locationName":"type"}},"required":["Settings","Name"]},"Sjx":{"type":"structure","members":{"AudioDescriptions":{"shape":"S73","locationName":"audioDescriptions"},"CaptionDescriptions":{"locationName":"captionDescriptions","type":"list","member":{"type":"structure","members":{"CustomLanguageCode":{"locationName":"customLanguageCode"},"DestinationSettings":{"shape":"S9l","locationName":"destinationSettings"},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"}}}},"ContainerSettings":{"shape":"Sav","locationName":"containerSettings"},"VideoDescription":{"shape":"Sd1","locationName":"videoDescription"}}},"Sk1":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Category":{"locationName":"category"},"CreatedAt":{"shape":"Sjc","locationName":"createdAt"},"Description":{"locationName":"description"},"LastUpdated":{"shape":"Sjc","locationName":"lastUpdated"},"Name":{"locationName":"name"},"Settings":{"shape":"Sjx","locationName":"settings"},"Type":{"locationName":"type"}},"required":["Settings","Name"]},"Sk4":{"type":"structure","members":{"Commitment":{"locationName":"commitment"},"RenewalType":{"locationName":"renewalType"},"ReservedSlots":{"locationName":"reservedSlots","type":"integer"}},"required":["Commitment","ReservedSlots","RenewalType"]},"Sk9":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreatedAt":{"shape":"Sjc","locationName":"createdAt"},"Description":{"locationName":"description"},"LastUpdated":{"shape":"Sjc","locationName":"lastUpdated"},"Name":{"locationName":"name"},"PricingPlan":{"locationName":"pricingPlan"},"ProgressingJobsCount":{"locationName":"progressingJobsCount","type":"integer"},"ReservationPlan":{"locationName":"reservationPlan","type":"structure","members":{"Commitment":{"locationName":"commitment"},"ExpiresAt":{"shape":"Sjc","locationName":"expiresAt"},"PurchasedAt":{"shape":"Sjc","locationName":"purchasedAt"},"RenewalType":{"locationName":"renewalType"},"ReservedSlots":{"locationName":"reservedSlots","type":"integer"},"Status":{"locationName":"status"}}},"Status":{"locationName":"status"},"SubmittedJobsCount":{"locationName":"submittedJobsCount","type":"integer"},"Type":{"locationName":"type"}},"required":["Name"]},"Skx":{"type":"structure","members":{"HttpInputs":{"locationName":"httpInputs"},"HttpsInputs":{"locationName":"httpsInputs"},"S3Inputs":{"locationName":"s3Inputs"}}}}} /***/ }), /* 528 */ @@ -48627,7 +48633,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 530 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2017-10-14","endpointPrefix":"medialive","signingName":"medialive","serviceFullName":"AWS Elemental MediaLive","serviceId":"MediaLive","protocol":"rest-json","uid":"medialive-2017-10-14","signatureVersion":"v4","serviceAbbreviation":"MediaLive","jsonVersion":"1.1"},"operations":{"AcceptInputDeviceTransfer":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/accept","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{}}},"BatchDelete":{"http":{"requestUri":"/prod/batch/delete","responseCode":200},"input":{"type":"structure","members":{"ChannelIds":{"shape":"S5","locationName":"channelIds"},"InputIds":{"shape":"S5","locationName":"inputIds"},"InputSecurityGroupIds":{"shape":"S5","locationName":"inputSecurityGroupIds"},"MultiplexIds":{"shape":"S5","locationName":"multiplexIds"}}},"output":{"type":"structure","members":{"Failed":{"shape":"S7","locationName":"failed"},"Successful":{"shape":"S9","locationName":"successful"}}}},"BatchStart":{"http":{"requestUri":"/prod/batch/start","responseCode":200},"input":{"type":"structure","members":{"ChannelIds":{"shape":"S5","locationName":"channelIds"},"MultiplexIds":{"shape":"S5","locationName":"multiplexIds"}}},"output":{"type":"structure","members":{"Failed":{"shape":"S7","locationName":"failed"},"Successful":{"shape":"S9","locationName":"successful"}}}},"BatchStop":{"http":{"requestUri":"/prod/batch/stop","responseCode":200},"input":{"type":"structure","members":{"ChannelIds":{"shape":"S5","locationName":"channelIds"},"MultiplexIds":{"shape":"S5","locationName":"multiplexIds"}}},"output":{"type":"structure","members":{"Failed":{"shape":"S7","locationName":"failed"},"Successful":{"shape":"S9","locationName":"successful"}}}},"BatchUpdateSchedule":{"http":{"method":"PUT","requestUri":"/prod/channels/{channelId}/schedule","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"},"Creates":{"locationName":"creates","type":"structure","members":{"ScheduleActions":{"shape":"Sh","locationName":"scheduleActions"}},"required":["ScheduleActions"]},"Deletes":{"locationName":"deletes","type":"structure","members":{"ActionNames":{"shape":"S5","locationName":"actionNames"}},"required":["ActionNames"]}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Creates":{"locationName":"creates","type":"structure","members":{"ScheduleActions":{"shape":"Sh","locationName":"scheduleActions"}},"required":["ScheduleActions"]},"Deletes":{"locationName":"deletes","type":"structure","members":{"ScheduleActions":{"shape":"Sh","locationName":"scheduleActions"}},"required":["ScheduleActions"]}}}},"CancelInputDeviceTransfer":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/cancel","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{}}},"ClaimDevice":{"http":{"requestUri":"/prod/claimDevice","responseCode":200},"input":{"type":"structure","members":{"Id":{"locationName":"id"}}},"output":{"type":"structure","members":{}}},"CreateChannel":{"http":{"requestUri":"/prod/channels","responseCode":201},"input":{"type":"structure","members":{"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"InputAttachments":{"shape":"Sci","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se5","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Reserved":{"locationName":"reserved","deprecated":true},"RoleArn":{"locationName":"roleArn"},"Tags":{"shape":"Sea","locationName":"tags"},"Vpc":{"locationName":"vpc","type":"structure","members":{"PublicAddressAllocationIds":{"shape":"S5","locationName":"publicAddressAllocationIds"},"SecurityGroupIds":{"shape":"S5","locationName":"securityGroupIds"},"SubnetIds":{"shape":"S5","locationName":"subnetIds"}},"required":["SubnetIds"]}}},"output":{"type":"structure","members":{"Channel":{"shape":"Sed","locationName":"channel"}}}},"CreateInput":{"http":{"requestUri":"/prod/inputs","responseCode":201},"input":{"type":"structure","members":{"Destinations":{"shape":"Sel","locationName":"destinations"},"InputDevices":{"shape":"Sen","locationName":"inputDevices"},"InputSecurityGroups":{"shape":"S5","locationName":"inputSecurityGroups"},"MediaConnectFlows":{"shape":"Sep","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"RoleArn":{"locationName":"roleArn"},"Sources":{"shape":"Ser","locationName":"sources"},"Tags":{"shape":"Sea","locationName":"tags"},"Type":{"locationName":"type"},"Vpc":{"locationName":"vpc","type":"structure","members":{"SecurityGroupIds":{"shape":"S5","locationName":"securityGroupIds"},"SubnetIds":{"shape":"S5","locationName":"subnetIds"}},"required":["SubnetIds"]}}},"output":{"type":"structure","members":{"Input":{"shape":"Sew","locationName":"input"}}}},"CreateInputSecurityGroup":{"http":{"requestUri":"/prod/inputSecurityGroups","responseCode":200},"input":{"type":"structure","members":{"Tags":{"shape":"Sea","locationName":"tags"},"WhitelistRules":{"shape":"Sf8","locationName":"whitelistRules"}}},"output":{"type":"structure","members":{"SecurityGroup":{"shape":"Sfb","locationName":"securityGroup"}}}},"CreateMultiplex":{"http":{"requestUri":"/prod/multiplexes","responseCode":201},"input":{"type":"structure","members":{"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"MultiplexSettings":{"shape":"Sfg","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Tags":{"shape":"Sea","locationName":"tags"}},"required":["RequestId","MultiplexSettings","AvailabilityZones","Name"]},"output":{"type":"structure","members":{"Multiplex":{"shape":"Sfl","locationName":"multiplex"}}}},"CreateMultiplexProgram":{"http":{"requestUri":"/prod/multiplexes/{multiplexId}/programs","responseCode":201},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"MultiplexProgramSettings":{"shape":"Sfr","locationName":"multiplexProgramSettings"},"ProgramName":{"locationName":"programName"},"RequestId":{"locationName":"requestId","idempotencyToken":true}},"required":["MultiplexId","RequestId","MultiplexProgramSettings","ProgramName"]},"output":{"type":"structure","members":{"MultiplexProgram":{"shape":"Sg0","locationName":"multiplexProgram"}}}},"CreatePartnerInput":{"http":{"requestUri":"/prod/inputs/{inputId}/partners","responseCode":201},"input":{"type":"structure","members":{"InputId":{"location":"uri","locationName":"inputId"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Tags":{"shape":"Sea","locationName":"tags"}},"required":["InputId"]},"output":{"type":"structure","members":{"Input":{"shape":"Sew","locationName":"input"}}}},"CreateTags":{"http":{"requestUri":"/prod/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"Tags":{"shape":"Sea","locationName":"tags"}},"required":["ResourceArn"]}},"DeleteChannel":{"http":{"method":"DELETE","requestUri":"/prod/channels/{channelId}","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"See","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sci","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se5","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"Vpc":{"shape":"Sej","locationName":"vpc"}}}},"DeleteInput":{"http":{"method":"DELETE","requestUri":"/prod/inputs/{inputId}","responseCode":200},"input":{"type":"structure","members":{"InputId":{"location":"uri","locationName":"inputId"}},"required":["InputId"]},"output":{"type":"structure","members":{}}},"DeleteInputSecurityGroup":{"http":{"method":"DELETE","requestUri":"/prod/inputSecurityGroups/{inputSecurityGroupId}","responseCode":200},"input":{"type":"structure","members":{"InputSecurityGroupId":{"location":"uri","locationName":"inputSecurityGroupId"}},"required":["InputSecurityGroupId"]},"output":{"type":"structure","members":{}}},"DeleteMultiplex":{"http":{"method":"DELETE","requestUri":"/prod/multiplexes/{multiplexId}","responseCode":202},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfm","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfg","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"}}}},"DeleteMultiplexProgram":{"http":{"method":"DELETE","requestUri":"/prod/multiplexes/{multiplexId}/programs/{programName}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["MultiplexId","ProgramName"]},"output":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"MultiplexProgramSettings":{"shape":"Sfr","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sg1","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sg3","locationName":"pipelineDetails"},"ProgramName":{"locationName":"programName"}}}},"DeleteReservation":{"http":{"method":"DELETE","requestUri":"/prod/reservations/{reservationId}","responseCode":200},"input":{"type":"structure","members":{"ReservationId":{"location":"uri","locationName":"reservationId"}},"required":["ReservationId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Count":{"locationName":"count","type":"integer"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"End":{"locationName":"end"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"Name":{"locationName":"name"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ReservationId":{"locationName":"reservationId"},"ResourceSpecification":{"shape":"Sgm","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}}},"DeleteSchedule":{"http":{"method":"DELETE","requestUri":"/prod/channels/{channelId}/schedule","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{}}},"DeleteTags":{"http":{"method":"DELETE","requestUri":"/prod/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"shape":"S5","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"DescribeChannel":{"http":{"method":"GET","requestUri":"/prod/channels/{channelId}","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"See","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sci","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se5","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"Vpc":{"shape":"Sej","locationName":"vpc"}}}},"DescribeInput":{"http":{"method":"GET","requestUri":"/prod/inputs/{inputId}","responseCode":200},"input":{"type":"structure","members":{"InputId":{"location":"uri","locationName":"inputId"}},"required":["InputId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AttachedChannels":{"shape":"S5","locationName":"attachedChannels"},"Destinations":{"shape":"Sex","locationName":"destinations"},"Id":{"locationName":"id"},"InputClass":{"locationName":"inputClass"},"InputDevices":{"shape":"Sen","locationName":"inputDevices"},"InputPartnerIds":{"shape":"S5","locationName":"inputPartnerIds"},"InputSourceType":{"locationName":"inputSourceType"},"MediaConnectFlows":{"shape":"Sf2","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"SecurityGroups":{"shape":"S5","locationName":"securityGroups"},"Sources":{"shape":"Sf4","locationName":"sources"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"Type":{"locationName":"type"}}}},"DescribeInputDevice":{"http":{"method":"GET","requestUri":"/prod/inputDevices/{inputDeviceId}","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"ConnectionState":{"locationName":"connectionState"},"DeviceSettingsSyncState":{"locationName":"deviceSettingsSyncState"},"DeviceUpdateStatus":{"locationName":"deviceUpdateStatus"},"HdDeviceSettings":{"shape":"Sh7","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Shc","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Shf","locationName":"uhdDeviceSettings"}}}},"DescribeInputDeviceThumbnail":{"http":{"method":"GET","requestUri":"/prod/inputDevices/{inputDeviceId}/thumbnailData","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"},"Accept":{"location":"header","locationName":"accept"}},"required":["InputDeviceId","Accept"]},"output":{"type":"structure","members":{"Body":{"locationName":"body","type":"blob","streaming":true},"ContentType":{"location":"header","locationName":"Content-Type"},"ContentLength":{"location":"header","locationName":"Content-Length","type":"long"},"ETag":{"location":"header","locationName":"ETag"},"LastModified":{"location":"header","locationName":"Last-Modified","type":"timestamp"}},"payload":"Body"}},"DescribeInputSecurityGroup":{"http":{"method":"GET","requestUri":"/prod/inputSecurityGroups/{inputSecurityGroupId}","responseCode":200},"input":{"type":"structure","members":{"InputSecurityGroupId":{"location":"uri","locationName":"inputSecurityGroupId"}},"required":["InputSecurityGroupId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"},"Inputs":{"shape":"S5","locationName":"inputs"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"WhitelistRules":{"shape":"Sfd","locationName":"whitelistRules"}}}},"DescribeMultiplex":{"http":{"method":"GET","requestUri":"/prod/multiplexes/{multiplexId}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfm","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfg","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"}}}},"DescribeMultiplexProgram":{"http":{"method":"GET","requestUri":"/prod/multiplexes/{multiplexId}/programs/{programName}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["MultiplexId","ProgramName"]},"output":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"MultiplexProgramSettings":{"shape":"Sfr","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sg1","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sg3","locationName":"pipelineDetails"},"ProgramName":{"locationName":"programName"}}}},"DescribeOffering":{"http":{"method":"GET","requestUri":"/prod/offerings/{offeringId}","responseCode":200},"input":{"type":"structure","members":{"OfferingId":{"location":"uri","locationName":"offeringId"}},"required":["OfferingId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ResourceSpecification":{"shape":"Sgm","locationName":"resourceSpecification"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}}},"DescribeReservation":{"http":{"method":"GET","requestUri":"/prod/reservations/{reservationId}","responseCode":200},"input":{"type":"structure","members":{"ReservationId":{"location":"uri","locationName":"reservationId"}},"required":["ReservationId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Count":{"locationName":"count","type":"integer"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"End":{"locationName":"end"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"Name":{"locationName":"name"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ReservationId":{"locationName":"reservationId"},"ResourceSpecification":{"shape":"Sgm","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}}},"DescribeSchedule":{"http":{"method":"GET","requestUri":"/prod/channels/{channelId}/schedule","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"ScheduleActions":{"shape":"Sh","locationName":"scheduleActions"}}}},"ListChannels":{"http":{"method":"GET","requestUri":"/prod/channels","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Channels":{"locationName":"channels","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"See","locationName":"egressEndpoints"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sci","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se5","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"Vpc":{"shape":"Sej","locationName":"vpc"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListInputDeviceTransfers":{"http":{"method":"GET","requestUri":"/prod/inputDeviceTransfers","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"TransferType":{"location":"querystring","locationName":"transferType"}},"required":["TransferType"]},"output":{"type":"structure","members":{"InputDeviceTransfers":{"locationName":"inputDeviceTransfers","type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"},"Message":{"locationName":"message"},"TargetCustomerId":{"locationName":"targetCustomerId"},"TransferType":{"locationName":"transferType"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListInputDevices":{"http":{"method":"GET","requestUri":"/prod/inputDevices","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"InputDevices":{"locationName":"inputDevices","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"ConnectionState":{"locationName":"connectionState"},"DeviceSettingsSyncState":{"locationName":"deviceSettingsSyncState"},"DeviceUpdateStatus":{"locationName":"deviceUpdateStatus"},"HdDeviceSettings":{"shape":"Sh7","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Shc","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Shf","locationName":"uhdDeviceSettings"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListInputSecurityGroups":{"http":{"method":"GET","requestUri":"/prod/inputSecurityGroups","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"InputSecurityGroups":{"locationName":"inputSecurityGroups","type":"list","member":{"shape":"Sfb"}},"NextToken":{"locationName":"nextToken"}}}},"ListInputs":{"http":{"method":"GET","requestUri":"/prod/inputs","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Inputs":{"locationName":"inputs","type":"list","member":{"shape":"Sew"}},"NextToken":{"locationName":"nextToken"}}}},"ListMultiplexPrograms":{"http":{"method":"GET","requestUri":"/prod/multiplexes/{multiplexId}/programs","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"MultiplexId":{"location":"uri","locationName":"multiplexId"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"MultiplexPrograms":{"locationName":"multiplexPrograms","type":"list","member":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"ProgramName":{"locationName":"programName"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListMultiplexes":{"http":{"method":"GET","requestUri":"/prod/multiplexes","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Multiplexes":{"locationName":"multiplexes","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Id":{"locationName":"id"},"MultiplexSettings":{"locationName":"multiplexSettings","type":"structure","members":{"TransportStreamBitrate":{"locationName":"transportStreamBitrate","type":"integer"}}},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListOfferings":{"http":{"method":"GET","requestUri":"/prod/offerings","responseCode":200},"input":{"type":"structure","members":{"ChannelClass":{"location":"querystring","locationName":"channelClass"},"ChannelConfiguration":{"location":"querystring","locationName":"channelConfiguration"},"Codec":{"location":"querystring","locationName":"codec"},"Duration":{"location":"querystring","locationName":"duration"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"MaximumBitrate":{"location":"querystring","locationName":"maximumBitrate"},"MaximumFramerate":{"location":"querystring","locationName":"maximumFramerate"},"NextToken":{"location":"querystring","locationName":"nextToken"},"Resolution":{"location":"querystring","locationName":"resolution"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"SpecialFeature":{"location":"querystring","locationName":"specialFeature"},"VideoQuality":{"location":"querystring","locationName":"videoQuality"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Offerings":{"locationName":"offerings","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ResourceSpecification":{"shape":"Sgm","locationName":"resourceSpecification"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}}}}}},"ListReservations":{"http":{"method":"GET","requestUri":"/prod/reservations","responseCode":200},"input":{"type":"structure","members":{"ChannelClass":{"location":"querystring","locationName":"channelClass"},"Codec":{"location":"querystring","locationName":"codec"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"MaximumBitrate":{"location":"querystring","locationName":"maximumBitrate"},"MaximumFramerate":{"location":"querystring","locationName":"maximumFramerate"},"NextToken":{"location":"querystring","locationName":"nextToken"},"Resolution":{"location":"querystring","locationName":"resolution"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"SpecialFeature":{"location":"querystring","locationName":"specialFeature"},"VideoQuality":{"location":"querystring","locationName":"videoQuality"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Reservations":{"locationName":"reservations","type":"list","member":{"shape":"Siz"}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/prod/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"Tags":{"shape":"Sea","locationName":"tags"}}}},"PurchaseOffering":{"http":{"requestUri":"/prod/offerings/{offeringId}/purchase","responseCode":201},"input":{"type":"structure","members":{"Count":{"locationName":"count","type":"integer"},"Name":{"locationName":"name"},"OfferingId":{"location":"uri","locationName":"offeringId"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Start":{"locationName":"start"},"Tags":{"shape":"Sea","locationName":"tags"}},"required":["OfferingId","Count"]},"output":{"type":"structure","members":{"Reservation":{"shape":"Siz","locationName":"reservation"}}}},"RejectInputDeviceTransfer":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/reject","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{}}},"StartChannel":{"http":{"requestUri":"/prod/channels/{channelId}/start","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"See","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sci","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se5","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"Vpc":{"shape":"Sej","locationName":"vpc"}}}},"StartMultiplex":{"http":{"requestUri":"/prod/multiplexes/{multiplexId}/start","responseCode":202},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfm","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfg","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"}}}},"StopChannel":{"http":{"requestUri":"/prod/channels/{channelId}/stop","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"See","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sci","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se5","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"Vpc":{"shape":"Sej","locationName":"vpc"}}}},"StopMultiplex":{"http":{"requestUri":"/prod/multiplexes/{multiplexId}/stop","responseCode":202},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfm","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfg","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"}}}},"TransferInputDevice":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/transfer","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"},"TargetCustomerId":{"locationName":"targetCustomerId"},"TargetRegion":{"locationName":"targetRegion"},"TransferMessage":{"locationName":"transferMessage"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{}}},"UpdateChannel":{"http":{"method":"PUT","requestUri":"/prod/channels/{channelId}","responseCode":200},"input":{"type":"structure","members":{"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelId":{"location":"uri","locationName":"channelId"},"Destinations":{"shape":"S25","locationName":"destinations"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"InputAttachments":{"shape":"Sci","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se5","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Channel":{"shape":"Sed","locationName":"channel"}}}},"UpdateChannelClass":{"http":{"method":"PUT","requestUri":"/prod/channels/{channelId}/channelClass","responseCode":200},"input":{"type":"structure","members":{"ChannelClass":{"locationName":"channelClass"},"ChannelId":{"location":"uri","locationName":"channelId"},"Destinations":{"shape":"S25","locationName":"destinations"}},"required":["ChannelId","ChannelClass"]},"output":{"type":"structure","members":{"Channel":{"shape":"Sed","locationName":"channel"}}}},"UpdateInput":{"http":{"method":"PUT","requestUri":"/prod/inputs/{inputId}","responseCode":200},"input":{"type":"structure","members":{"Destinations":{"shape":"Sel","locationName":"destinations"},"InputDevices":{"locationName":"inputDevices","type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"}}}},"InputId":{"location":"uri","locationName":"inputId"},"InputSecurityGroups":{"shape":"S5","locationName":"inputSecurityGroups"},"MediaConnectFlows":{"shape":"Sep","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"Sources":{"shape":"Ser","locationName":"sources"}},"required":["InputId"]},"output":{"type":"structure","members":{"Input":{"shape":"Sew","locationName":"input"}}}},"UpdateInputDevice":{"http":{"method":"PUT","requestUri":"/prod/inputDevices/{inputDeviceId}","responseCode":200},"input":{"type":"structure","members":{"HdDeviceSettings":{"shape":"Sjp","locationName":"hdDeviceSettings"},"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"},"Name":{"locationName":"name"},"UhdDeviceSettings":{"shape":"Sjp","locationName":"uhdDeviceSettings"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"ConnectionState":{"locationName":"connectionState"},"DeviceSettingsSyncState":{"locationName":"deviceSettingsSyncState"},"DeviceUpdateStatus":{"locationName":"deviceUpdateStatus"},"HdDeviceSettings":{"shape":"Sh7","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Shc","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Shf","locationName":"uhdDeviceSettings"}}}},"UpdateInputSecurityGroup":{"http":{"method":"PUT","requestUri":"/prod/inputSecurityGroups/{inputSecurityGroupId}","responseCode":200},"input":{"type":"structure","members":{"InputSecurityGroupId":{"location":"uri","locationName":"inputSecurityGroupId"},"Tags":{"shape":"Sea","locationName":"tags"},"WhitelistRules":{"shape":"Sf8","locationName":"whitelistRules"}},"required":["InputSecurityGroupId"]},"output":{"type":"structure","members":{"SecurityGroup":{"shape":"Sfb","locationName":"securityGroup"}}}},"UpdateMultiplex":{"http":{"method":"PUT","requestUri":"/prod/multiplexes/{multiplexId}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"MultiplexSettings":{"shape":"Sfg","locationName":"multiplexSettings"},"Name":{"locationName":"name"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Multiplex":{"shape":"Sfl","locationName":"multiplex"}}}},"UpdateMultiplexProgram":{"http":{"method":"PUT","requestUri":"/prod/multiplexes/{multiplexId}/programs/{programName}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"MultiplexProgramSettings":{"shape":"Sfr","locationName":"multiplexProgramSettings"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["MultiplexId","ProgramName"]},"output":{"type":"structure","members":{"MultiplexProgram":{"shape":"Sg0","locationName":"multiplexProgram"}}}},"UpdateReservation":{"http":{"method":"PUT","requestUri":"/prod/reservations/{reservationId}","responseCode":200},"input":{"type":"structure","members":{"Name":{"locationName":"name"},"ReservationId":{"location":"uri","locationName":"reservationId"}},"required":["ReservationId"]},"output":{"type":"structure","members":{"Reservation":{"shape":"Siz","locationName":"reservation"}}}}},"shapes":{"S5":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Code":{"locationName":"code"},"Id":{"locationName":"id"},"Message":{"locationName":"message"}}}},"S9":{"type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"},"State":{"locationName":"state"}}}},"Sh":{"type":"list","member":{"type":"structure","members":{"ActionName":{"locationName":"actionName"},"ScheduleActionSettings":{"locationName":"scheduleActionSettings","type":"structure","members":{"HlsId3SegmentTaggingSettings":{"locationName":"hlsId3SegmentTaggingSettings","type":"structure","members":{"Tag":{"locationName":"tag"}},"required":["Tag"]},"HlsTimedMetadataSettings":{"locationName":"hlsTimedMetadataSettings","type":"structure","members":{"Id3":{"locationName":"id3"}},"required":["Id3"]},"InputPrepareSettings":{"locationName":"inputPrepareSettings","type":"structure","members":{"InputAttachmentNameReference":{"locationName":"inputAttachmentNameReference"},"InputClippingSettings":{"shape":"Sn","locationName":"inputClippingSettings"},"UrlPath":{"shape":"S5","locationName":"urlPath"}}},"InputSwitchSettings":{"locationName":"inputSwitchSettings","type":"structure","members":{"InputAttachmentNameReference":{"locationName":"inputAttachmentNameReference"},"InputClippingSettings":{"shape":"Sn","locationName":"inputClippingSettings"},"UrlPath":{"shape":"S5","locationName":"urlPath"}},"required":["InputAttachmentNameReference"]},"MotionGraphicsImageActivateSettings":{"locationName":"motionGraphicsImageActivateSettings","type":"structure","members":{"Duration":{"locationName":"duration","type":"long"},"PasswordParam":{"locationName":"passwordParam"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}},"MotionGraphicsImageDeactivateSettings":{"locationName":"motionGraphicsImageDeactivateSettings","type":"structure","members":{}},"PauseStateSettings":{"locationName":"pauseStateSettings","type":"structure","members":{"Pipelines":{"locationName":"pipelines","type":"list","member":{"type":"structure","members":{"PipelineId":{"locationName":"pipelineId"}},"required":["PipelineId"]}}}},"Scte35ReturnToNetworkSettings":{"locationName":"scte35ReturnToNetworkSettings","type":"structure","members":{"SpliceEventId":{"locationName":"spliceEventId","type":"long"}},"required":["SpliceEventId"]},"Scte35SpliceInsertSettings":{"locationName":"scte35SpliceInsertSettings","type":"structure","members":{"Duration":{"locationName":"duration","type":"long"},"SpliceEventId":{"locationName":"spliceEventId","type":"long"}},"required":["SpliceEventId"]},"Scte35TimeSignalSettings":{"locationName":"scte35TimeSignalSettings","type":"structure","members":{"Scte35Descriptors":{"locationName":"scte35Descriptors","type":"list","member":{"type":"structure","members":{"Scte35DescriptorSettings":{"locationName":"scte35DescriptorSettings","type":"structure","members":{"SegmentationDescriptorScte35DescriptorSettings":{"locationName":"segmentationDescriptorScte35DescriptorSettings","type":"structure","members":{"DeliveryRestrictions":{"locationName":"deliveryRestrictions","type":"structure","members":{"ArchiveAllowedFlag":{"locationName":"archiveAllowedFlag"},"DeviceRestrictions":{"locationName":"deviceRestrictions"},"NoRegionalBlackoutFlag":{"locationName":"noRegionalBlackoutFlag"},"WebDeliveryAllowedFlag":{"locationName":"webDeliveryAllowedFlag"}},"required":["DeviceRestrictions","ArchiveAllowedFlag","WebDeliveryAllowedFlag","NoRegionalBlackoutFlag"]},"SegmentNum":{"locationName":"segmentNum","type":"integer"},"SegmentationCancelIndicator":{"locationName":"segmentationCancelIndicator"},"SegmentationDuration":{"locationName":"segmentationDuration","type":"long"},"SegmentationEventId":{"locationName":"segmentationEventId","type":"long"},"SegmentationTypeId":{"locationName":"segmentationTypeId","type":"integer"},"SegmentationUpid":{"locationName":"segmentationUpid"},"SegmentationUpidType":{"locationName":"segmentationUpidType","type":"integer"},"SegmentsExpected":{"locationName":"segmentsExpected","type":"integer"},"SubSegmentNum":{"locationName":"subSegmentNum","type":"integer"},"SubSegmentsExpected":{"locationName":"subSegmentsExpected","type":"integer"}},"required":["SegmentationEventId","SegmentationCancelIndicator"]}},"required":["SegmentationDescriptorScte35DescriptorSettings"]}},"required":["Scte35DescriptorSettings"]}}},"required":["Scte35Descriptors"]},"StaticImageActivateSettings":{"locationName":"staticImageActivateSettings","type":"structure","members":{"Duration":{"locationName":"duration","type":"integer"},"FadeIn":{"locationName":"fadeIn","type":"integer"},"FadeOut":{"locationName":"fadeOut","type":"integer"},"Height":{"locationName":"height","type":"integer"},"Image":{"shape":"S1k","locationName":"image"},"ImageX":{"locationName":"imageX","type":"integer"},"ImageY":{"locationName":"imageY","type":"integer"},"Layer":{"locationName":"layer","type":"integer"},"Opacity":{"locationName":"opacity","type":"integer"},"Width":{"locationName":"width","type":"integer"}},"required":["Image"]},"StaticImageDeactivateSettings":{"locationName":"staticImageDeactivateSettings","type":"structure","members":{"FadeOut":{"locationName":"fadeOut","type":"integer"},"Layer":{"locationName":"layer","type":"integer"}}}}},"ScheduleActionStartSettings":{"locationName":"scheduleActionStartSettings","type":"structure","members":{"FixedModeScheduleActionStartSettings":{"locationName":"fixedModeScheduleActionStartSettings","type":"structure","members":{"Time":{"locationName":"time"}},"required":["Time"]},"FollowModeScheduleActionStartSettings":{"locationName":"followModeScheduleActionStartSettings","type":"structure","members":{"FollowPoint":{"locationName":"followPoint"},"ReferenceActionName":{"locationName":"referenceActionName"}},"required":["ReferenceActionName","FollowPoint"]},"ImmediateModeScheduleActionStartSettings":{"locationName":"immediateModeScheduleActionStartSettings","type":"structure","members":{}}}}},"required":["ActionName","ScheduleActionStartSettings","ScheduleActionSettings"]}},"Sn":{"type":"structure","members":{"InputTimecodeSource":{"locationName":"inputTimecodeSource"},"StartTimecode":{"locationName":"startTimecode","type":"structure","members":{"Timecode":{"locationName":"timecode"}}},"StopTimecode":{"locationName":"stopTimecode","type":"structure","members":{"LastFrameClippingBehavior":{"locationName":"lastFrameClippingBehavior"},"Timecode":{"locationName":"timecode"}}}},"required":["InputTimecodeSource"]},"S1k":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Uri":{"locationName":"uri"},"Username":{"locationName":"username"}},"required":["Uri"]},"S22":{"type":"structure","members":{"Resolution":{"locationName":"resolution"}}},"S25":{"type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"},"MediaPackageSettings":{"locationName":"mediaPackageSettings","type":"list","member":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"}}}},"MultiplexSettings":{"locationName":"multiplexSettings","type":"structure","members":{"MultiplexId":{"locationName":"multiplexId"},"ProgramName":{"locationName":"programName"}}},"Settings":{"locationName":"settings","type":"list","member":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"StreamName":{"locationName":"streamName"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}}}}}},"S2d":{"type":"structure","members":{"AudioDescriptions":{"locationName":"audioDescriptions","type":"list","member":{"type":"structure","members":{"AudioNormalizationSettings":{"locationName":"audioNormalizationSettings","type":"structure","members":{"Algorithm":{"locationName":"algorithm"},"AlgorithmControl":{"locationName":"algorithmControl"},"TargetLkfs":{"locationName":"targetLkfs","type":"double"}}},"AudioSelectorName":{"locationName":"audioSelectorName"},"AudioType":{"locationName":"audioType"},"AudioTypeControl":{"locationName":"audioTypeControl"},"AudioWatermarkingSettings":{"locationName":"audioWatermarkingSettings","type":"structure","members":{"NielsenWatermarksSettings":{"locationName":"nielsenWatermarksSettings","type":"structure","members":{"NielsenCbetSettings":{"locationName":"nielsenCbetSettings","type":"structure","members":{"CbetCheckDigitString":{"locationName":"cbetCheckDigitString"},"CbetStepaside":{"locationName":"cbetStepaside"},"Csid":{"locationName":"csid"}},"required":["CbetCheckDigitString","CbetStepaside","Csid"]},"NielsenDistributionType":{"locationName":"nielsenDistributionType"},"NielsenNaesIiNwSettings":{"locationName":"nielsenNaesIiNwSettings","type":"structure","members":{"CheckDigitString":{"locationName":"checkDigitString"},"Sid":{"locationName":"sid","type":"double"}},"required":["CheckDigitString","Sid"]}}}}},"CodecSettings":{"locationName":"codecSettings","type":"structure","members":{"AacSettings":{"locationName":"aacSettings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"double"},"CodingMode":{"locationName":"codingMode"},"InputType":{"locationName":"inputType"},"Profile":{"locationName":"profile"},"RateControlMode":{"locationName":"rateControlMode"},"RawFormat":{"locationName":"rawFormat"},"SampleRate":{"locationName":"sampleRate","type":"double"},"Spec":{"locationName":"spec"},"VbrQuality":{"locationName":"vbrQuality"}}},"Ac3Settings":{"locationName":"ac3Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"double"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"Dialnorm":{"locationName":"dialnorm","type":"integer"},"DrcProfile":{"locationName":"drcProfile"},"LfeFilter":{"locationName":"lfeFilter"},"MetadataControl":{"locationName":"metadataControl"}}},"Eac3Settings":{"locationName":"eac3Settings","type":"structure","members":{"AttenuationControl":{"locationName":"attenuationControl"},"Bitrate":{"locationName":"bitrate","type":"double"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"DcFilter":{"locationName":"dcFilter"},"Dialnorm":{"locationName":"dialnorm","type":"integer"},"DrcLine":{"locationName":"drcLine"},"DrcRf":{"locationName":"drcRf"},"LfeControl":{"locationName":"lfeControl"},"LfeFilter":{"locationName":"lfeFilter"},"LoRoCenterMixLevel":{"locationName":"loRoCenterMixLevel","type":"double"},"LoRoSurroundMixLevel":{"locationName":"loRoSurroundMixLevel","type":"double"},"LtRtCenterMixLevel":{"locationName":"ltRtCenterMixLevel","type":"double"},"LtRtSurroundMixLevel":{"locationName":"ltRtSurroundMixLevel","type":"double"},"MetadataControl":{"locationName":"metadataControl"},"PassthroughControl":{"locationName":"passthroughControl"},"PhaseControl":{"locationName":"phaseControl"},"StereoDownmix":{"locationName":"stereoDownmix"},"SurroundExMode":{"locationName":"surroundExMode"},"SurroundMode":{"locationName":"surroundMode"}}},"Mp2Settings":{"locationName":"mp2Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"double"},"CodingMode":{"locationName":"codingMode"},"SampleRate":{"locationName":"sampleRate","type":"double"}}},"PassThroughSettings":{"locationName":"passThroughSettings","type":"structure","members":{}},"WavSettings":{"locationName":"wavSettings","type":"structure","members":{"BitDepth":{"locationName":"bitDepth","type":"double"},"CodingMode":{"locationName":"codingMode"},"SampleRate":{"locationName":"sampleRate","type":"double"}}}}},"LanguageCode":{"locationName":"languageCode"},"LanguageCodeControl":{"locationName":"languageCodeControl"},"Name":{"locationName":"name"},"RemixSettings":{"locationName":"remixSettings","type":"structure","members":{"ChannelMappings":{"locationName":"channelMappings","type":"list","member":{"type":"structure","members":{"InputChannelLevels":{"locationName":"inputChannelLevels","type":"list","member":{"type":"structure","members":{"Gain":{"locationName":"gain","type":"integer"},"InputChannel":{"locationName":"inputChannel","type":"integer"}},"required":["InputChannel","Gain"]}},"OutputChannel":{"locationName":"outputChannel","type":"integer"}},"required":["OutputChannel","InputChannelLevels"]}},"ChannelsIn":{"locationName":"channelsIn","type":"integer"},"ChannelsOut":{"locationName":"channelsOut","type":"integer"}},"required":["ChannelMappings"]},"StreamName":{"locationName":"streamName"}},"required":["AudioSelectorName","Name"]}},"AvailBlanking":{"locationName":"availBlanking","type":"structure","members":{"AvailBlankingImage":{"shape":"S1k","locationName":"availBlankingImage"},"State":{"locationName":"state"}}},"AvailConfiguration":{"locationName":"availConfiguration","type":"structure","members":{"AvailSettings":{"locationName":"availSettings","type":"structure","members":{"Scte35SpliceInsert":{"locationName":"scte35SpliceInsert","type":"structure","members":{"AdAvailOffset":{"locationName":"adAvailOffset","type":"integer"},"NoRegionalBlackoutFlag":{"locationName":"noRegionalBlackoutFlag"},"WebDeliveryAllowedFlag":{"locationName":"webDeliveryAllowedFlag"}}},"Scte35TimeSignalApos":{"locationName":"scte35TimeSignalApos","type":"structure","members":{"AdAvailOffset":{"locationName":"adAvailOffset","type":"integer"},"NoRegionalBlackoutFlag":{"locationName":"noRegionalBlackoutFlag"},"WebDeliveryAllowedFlag":{"locationName":"webDeliveryAllowedFlag"}}}}}}},"BlackoutSlate":{"locationName":"blackoutSlate","type":"structure","members":{"BlackoutSlateImage":{"shape":"S1k","locationName":"blackoutSlateImage"},"NetworkEndBlackout":{"locationName":"networkEndBlackout"},"NetworkEndBlackoutImage":{"shape":"S1k","locationName":"networkEndBlackoutImage"},"NetworkId":{"locationName":"networkId"},"State":{"locationName":"state"}}},"CaptionDescriptions":{"locationName":"captionDescriptions","type":"list","member":{"type":"structure","members":{"CaptionSelectorName":{"locationName":"captionSelectorName"},"DestinationSettings":{"locationName":"destinationSettings","type":"structure","members":{"AribDestinationSettings":{"locationName":"aribDestinationSettings","type":"structure","members":{}},"BurnInDestinationSettings":{"locationName":"burnInDestinationSettings","type":"structure","members":{"Alignment":{"locationName":"alignment"},"BackgroundColor":{"locationName":"backgroundColor"},"BackgroundOpacity":{"locationName":"backgroundOpacity","type":"integer"},"Font":{"shape":"S1k","locationName":"font"},"FontColor":{"locationName":"fontColor"},"FontOpacity":{"locationName":"fontOpacity","type":"integer"},"FontResolution":{"locationName":"fontResolution","type":"integer"},"FontSize":{"locationName":"fontSize"},"OutlineColor":{"locationName":"outlineColor"},"OutlineSize":{"locationName":"outlineSize","type":"integer"},"ShadowColor":{"locationName":"shadowColor"},"ShadowOpacity":{"locationName":"shadowOpacity","type":"integer"},"ShadowXOffset":{"locationName":"shadowXOffset","type":"integer"},"ShadowYOffset":{"locationName":"shadowYOffset","type":"integer"},"TeletextGridControl":{"locationName":"teletextGridControl"},"XPosition":{"locationName":"xPosition","type":"integer"},"YPosition":{"locationName":"yPosition","type":"integer"}}},"DvbSubDestinationSettings":{"locationName":"dvbSubDestinationSettings","type":"structure","members":{"Alignment":{"locationName":"alignment"},"BackgroundColor":{"locationName":"backgroundColor"},"BackgroundOpacity":{"locationName":"backgroundOpacity","type":"integer"},"Font":{"shape":"S1k","locationName":"font"},"FontColor":{"locationName":"fontColor"},"FontOpacity":{"locationName":"fontOpacity","type":"integer"},"FontResolution":{"locationName":"fontResolution","type":"integer"},"FontSize":{"locationName":"fontSize"},"OutlineColor":{"locationName":"outlineColor"},"OutlineSize":{"locationName":"outlineSize","type":"integer"},"ShadowColor":{"locationName":"shadowColor"},"ShadowOpacity":{"locationName":"shadowOpacity","type":"integer"},"ShadowXOffset":{"locationName":"shadowXOffset","type":"integer"},"ShadowYOffset":{"locationName":"shadowYOffset","type":"integer"},"TeletextGridControl":{"locationName":"teletextGridControl"},"XPosition":{"locationName":"xPosition","type":"integer"},"YPosition":{"locationName":"yPosition","type":"integer"}}},"EbuTtDDestinationSettings":{"locationName":"ebuTtDDestinationSettings","type":"structure","members":{"CopyrightHolder":{"locationName":"copyrightHolder"},"FillLineGap":{"locationName":"fillLineGap"},"FontFamily":{"locationName":"fontFamily"},"StyleControl":{"locationName":"styleControl"}}},"EmbeddedDestinationSettings":{"locationName":"embeddedDestinationSettings","type":"structure","members":{}},"EmbeddedPlusScte20DestinationSettings":{"locationName":"embeddedPlusScte20DestinationSettings","type":"structure","members":{}},"RtmpCaptionInfoDestinationSettings":{"locationName":"rtmpCaptionInfoDestinationSettings","type":"structure","members":{}},"Scte20PlusEmbeddedDestinationSettings":{"locationName":"scte20PlusEmbeddedDestinationSettings","type":"structure","members":{}},"Scte27DestinationSettings":{"locationName":"scte27DestinationSettings","type":"structure","members":{}},"SmpteTtDestinationSettings":{"locationName":"smpteTtDestinationSettings","type":"structure","members":{}},"TeletextDestinationSettings":{"locationName":"teletextDestinationSettings","type":"structure","members":{}},"TtmlDestinationSettings":{"locationName":"ttmlDestinationSettings","type":"structure","members":{"StyleControl":{"locationName":"styleControl"}}},"WebvttDestinationSettings":{"locationName":"webvttDestinationSettings","type":"structure","members":{"StyleControl":{"locationName":"styleControl"}}}}},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"},"Name":{"locationName":"name"}},"required":["CaptionSelectorName","Name"]}},"FeatureActivations":{"locationName":"featureActivations","type":"structure","members":{"InputPrepareScheduleActions":{"locationName":"inputPrepareScheduleActions"}}},"GlobalConfiguration":{"locationName":"globalConfiguration","type":"structure","members":{"InitialAudioGain":{"locationName":"initialAudioGain","type":"integer"},"InputEndAction":{"locationName":"inputEndAction"},"InputLossBehavior":{"locationName":"inputLossBehavior","type":"structure","members":{"BlackFrameMsec":{"locationName":"blackFrameMsec","type":"integer"},"InputLossImageColor":{"locationName":"inputLossImageColor"},"InputLossImageSlate":{"shape":"S1k","locationName":"inputLossImageSlate"},"InputLossImageType":{"locationName":"inputLossImageType"},"RepeatFrameMsec":{"locationName":"repeatFrameMsec","type":"integer"}}},"OutputLockingMode":{"locationName":"outputLockingMode"},"OutputTimingSource":{"locationName":"outputTimingSource"},"SupportLowFramerateInputs":{"locationName":"supportLowFramerateInputs"}}},"MotionGraphicsConfiguration":{"locationName":"motionGraphicsConfiguration","type":"structure","members":{"MotionGraphicsInsertion":{"locationName":"motionGraphicsInsertion"},"MotionGraphicsSettings":{"locationName":"motionGraphicsSettings","type":"structure","members":{"HtmlMotionGraphicsSettings":{"locationName":"htmlMotionGraphicsSettings","type":"structure","members":{}}}}},"required":["MotionGraphicsSettings"]},"NielsenConfiguration":{"locationName":"nielsenConfiguration","type":"structure","members":{"DistributorId":{"locationName":"distributorId"},"NielsenPcmToId3Tagging":{"locationName":"nielsenPcmToId3Tagging"}}},"OutputGroups":{"locationName":"outputGroups","type":"list","member":{"type":"structure","members":{"Name":{"locationName":"name"},"OutputGroupSettings":{"locationName":"outputGroupSettings","type":"structure","members":{"ArchiveGroupSettings":{"locationName":"archiveGroupSettings","type":"structure","members":{"ArchiveCdnSettings":{"locationName":"archiveCdnSettings","type":"structure","members":{"ArchiveS3Settings":{"locationName":"archiveS3Settings","type":"structure","members":{"CannedAcl":{"locationName":"cannedAcl"}}}}},"Destination":{"shape":"S6c","locationName":"destination"},"RolloverInterval":{"locationName":"rolloverInterval","type":"integer"}},"required":["Destination"]},"FrameCaptureGroupSettings":{"locationName":"frameCaptureGroupSettings","type":"structure","members":{"Destination":{"shape":"S6c","locationName":"destination"},"FrameCaptureCdnSettings":{"locationName":"frameCaptureCdnSettings","type":"structure","members":{"FrameCaptureS3Settings":{"locationName":"frameCaptureS3Settings","type":"structure","members":{"CannedAcl":{"locationName":"cannedAcl"}}}}}},"required":["Destination"]},"HlsGroupSettings":{"locationName":"hlsGroupSettings","type":"structure","members":{"AdMarkers":{"locationName":"adMarkers","type":"list","member":{}},"BaseUrlContent":{"locationName":"baseUrlContent"},"BaseUrlContent1":{"locationName":"baseUrlContent1"},"BaseUrlManifest":{"locationName":"baseUrlManifest"},"BaseUrlManifest1":{"locationName":"baseUrlManifest1"},"CaptionLanguageMappings":{"locationName":"captionLanguageMappings","type":"list","member":{"type":"structure","members":{"CaptionChannel":{"locationName":"captionChannel","type":"integer"},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"}},"required":["LanguageCode","LanguageDescription","CaptionChannel"]}},"CaptionLanguageSetting":{"locationName":"captionLanguageSetting"},"ClientCache":{"locationName":"clientCache"},"CodecSpecification":{"locationName":"codecSpecification"},"ConstantIv":{"locationName":"constantIv"},"Destination":{"shape":"S6c","locationName":"destination"},"DirectoryStructure":{"locationName":"directoryStructure"},"DiscontinuityTags":{"locationName":"discontinuityTags"},"EncryptionType":{"locationName":"encryptionType"},"HlsCdnSettings":{"locationName":"hlsCdnSettings","type":"structure","members":{"HlsAkamaiSettings":{"locationName":"hlsAkamaiSettings","type":"structure","members":{"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"HttpTransferMode":{"locationName":"httpTransferMode"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"},"Salt":{"locationName":"salt"},"Token":{"locationName":"token"}}},"HlsBasicPutSettings":{"locationName":"hlsBasicPutSettings","type":"structure","members":{"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"}}},"HlsMediaStoreSettings":{"locationName":"hlsMediaStoreSettings","type":"structure","members":{"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"MediaStoreStorageClass":{"locationName":"mediaStoreStorageClass"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"}}},"HlsS3Settings":{"locationName":"hlsS3Settings","type":"structure","members":{"CannedAcl":{"locationName":"cannedAcl"}}},"HlsWebdavSettings":{"locationName":"hlsWebdavSettings","type":"structure","members":{"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"HttpTransferMode":{"locationName":"httpTransferMode"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"}}}}},"HlsId3SegmentTagging":{"locationName":"hlsId3SegmentTagging"},"IFrameOnlyPlaylists":{"locationName":"iFrameOnlyPlaylists"},"IncompleteSegmentBehavior":{"locationName":"incompleteSegmentBehavior"},"IndexNSegments":{"locationName":"indexNSegments","type":"integer"},"InputLossAction":{"locationName":"inputLossAction"},"IvInManifest":{"locationName":"ivInManifest"},"IvSource":{"locationName":"ivSource"},"KeepSegments":{"locationName":"keepSegments","type":"integer"},"KeyFormat":{"locationName":"keyFormat"},"KeyFormatVersions":{"locationName":"keyFormatVersions"},"KeyProviderSettings":{"locationName":"keyProviderSettings","type":"structure","members":{"StaticKeySettings":{"locationName":"staticKeySettings","type":"structure","members":{"KeyProviderServer":{"shape":"S1k","locationName":"keyProviderServer"},"StaticKeyValue":{"locationName":"staticKeyValue"}},"required":["StaticKeyValue"]}}},"ManifestCompression":{"locationName":"manifestCompression"},"ManifestDurationFormat":{"locationName":"manifestDurationFormat"},"MinSegmentLength":{"locationName":"minSegmentLength","type":"integer"},"Mode":{"locationName":"mode"},"OutputSelection":{"locationName":"outputSelection"},"ProgramDateTime":{"locationName":"programDateTime"},"ProgramDateTimePeriod":{"locationName":"programDateTimePeriod","type":"integer"},"RedundantManifest":{"locationName":"redundantManifest"},"SegmentLength":{"locationName":"segmentLength","type":"integer"},"SegmentationMode":{"locationName":"segmentationMode"},"SegmentsPerSubdirectory":{"locationName":"segmentsPerSubdirectory","type":"integer"},"StreamInfResolution":{"locationName":"streamInfResolution"},"TimedMetadataId3Frame":{"locationName":"timedMetadataId3Frame"},"TimedMetadataId3Period":{"locationName":"timedMetadataId3Period","type":"integer"},"TimestampDeltaMilliseconds":{"locationName":"timestampDeltaMilliseconds","type":"integer"},"TsFileMode":{"locationName":"tsFileMode"}},"required":["Destination"]},"MediaPackageGroupSettings":{"locationName":"mediaPackageGroupSettings","type":"structure","members":{"Destination":{"shape":"S6c","locationName":"destination"}},"required":["Destination"]},"MsSmoothGroupSettings":{"locationName":"msSmoothGroupSettings","type":"structure","members":{"AcquisitionPointId":{"locationName":"acquisitionPointId"},"AudioOnlyTimecodeControl":{"locationName":"audioOnlyTimecodeControl"},"CertificateMode":{"locationName":"certificateMode"},"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"Destination":{"shape":"S6c","locationName":"destination"},"EventId":{"locationName":"eventId"},"EventIdMode":{"locationName":"eventIdMode"},"EventStopBehavior":{"locationName":"eventStopBehavior"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"FragmentLength":{"locationName":"fragmentLength","type":"integer"},"InputLossAction":{"locationName":"inputLossAction"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"},"SegmentationMode":{"locationName":"segmentationMode"},"SendDelayMs":{"locationName":"sendDelayMs","type":"integer"},"SparseTrackType":{"locationName":"sparseTrackType"},"StreamManifestBehavior":{"locationName":"streamManifestBehavior"},"TimestampOffset":{"locationName":"timestampOffset"},"TimestampOffsetMode":{"locationName":"timestampOffsetMode"}},"required":["Destination"]},"MultiplexGroupSettings":{"locationName":"multiplexGroupSettings","type":"structure","members":{}},"RtmpGroupSettings":{"locationName":"rtmpGroupSettings","type":"structure","members":{"AdMarkers":{"locationName":"adMarkers","type":"list","member":{}},"AuthenticationScheme":{"locationName":"authenticationScheme"},"CacheFullBehavior":{"locationName":"cacheFullBehavior"},"CacheLength":{"locationName":"cacheLength","type":"integer"},"CaptionData":{"locationName":"captionData"},"InputLossAction":{"locationName":"inputLossAction"},"RestartDelay":{"locationName":"restartDelay","type":"integer"}}},"UdpGroupSettings":{"locationName":"udpGroupSettings","type":"structure","members":{"InputLossAction":{"locationName":"inputLossAction"},"TimedMetadataId3Frame":{"locationName":"timedMetadataId3Frame"},"TimedMetadataId3Period":{"locationName":"timedMetadataId3Period","type":"integer"}}}}},"Outputs":{"locationName":"outputs","type":"list","member":{"type":"structure","members":{"AudioDescriptionNames":{"shape":"S5","locationName":"audioDescriptionNames"},"CaptionDescriptionNames":{"shape":"S5","locationName":"captionDescriptionNames"},"OutputName":{"locationName":"outputName"},"OutputSettings":{"locationName":"outputSettings","type":"structure","members":{"ArchiveOutputSettings":{"locationName":"archiveOutputSettings","type":"structure","members":{"ContainerSettings":{"locationName":"containerSettings","type":"structure","members":{"M2tsSettings":{"shape":"S8i","locationName":"m2tsSettings"},"RawSettings":{"locationName":"rawSettings","type":"structure","members":{}}}},"Extension":{"locationName":"extension"},"NameModifier":{"locationName":"nameModifier"}},"required":["ContainerSettings"]},"FrameCaptureOutputSettings":{"locationName":"frameCaptureOutputSettings","type":"structure","members":{"NameModifier":{"locationName":"nameModifier"}}},"HlsOutputSettings":{"locationName":"hlsOutputSettings","type":"structure","members":{"H265PackagingType":{"locationName":"h265PackagingType"},"HlsSettings":{"locationName":"hlsSettings","type":"structure","members":{"AudioOnlyHlsSettings":{"locationName":"audioOnlyHlsSettings","type":"structure","members":{"AudioGroupId":{"locationName":"audioGroupId"},"AudioOnlyImage":{"shape":"S1k","locationName":"audioOnlyImage"},"AudioTrackType":{"locationName":"audioTrackType"},"SegmentType":{"locationName":"segmentType"}}},"Fmp4HlsSettings":{"locationName":"fmp4HlsSettings","type":"structure","members":{"AudioRenditionSets":{"locationName":"audioRenditionSets"},"NielsenId3Behavior":{"locationName":"nielsenId3Behavior"},"TimedMetadataBehavior":{"locationName":"timedMetadataBehavior"}}},"FrameCaptureHlsSettings":{"locationName":"frameCaptureHlsSettings","type":"structure","members":{}},"StandardHlsSettings":{"locationName":"standardHlsSettings","type":"structure","members":{"AudioRenditionSets":{"locationName":"audioRenditionSets"},"M3u8Settings":{"locationName":"m3u8Settings","type":"structure","members":{"AudioFramesPerPes":{"locationName":"audioFramesPerPes","type":"integer"},"AudioPids":{"locationName":"audioPids"},"EcmPid":{"locationName":"ecmPid"},"NielsenId3Behavior":{"locationName":"nielsenId3Behavior"},"PatInterval":{"locationName":"patInterval","type":"integer"},"PcrControl":{"locationName":"pcrControl"},"PcrPeriod":{"locationName":"pcrPeriod","type":"integer"},"PcrPid":{"locationName":"pcrPid"},"PmtInterval":{"locationName":"pmtInterval","type":"integer"},"PmtPid":{"locationName":"pmtPid"},"ProgramNum":{"locationName":"programNum","type":"integer"},"Scte35Behavior":{"locationName":"scte35Behavior"},"Scte35Pid":{"locationName":"scte35Pid"},"TimedMetadataBehavior":{"locationName":"timedMetadataBehavior"},"TimedMetadataPid":{"locationName":"timedMetadataPid"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"VideoPid":{"locationName":"videoPid"}}}},"required":["M3u8Settings"]}}},"NameModifier":{"locationName":"nameModifier"},"SegmentModifier":{"locationName":"segmentModifier"}},"required":["HlsSettings"]},"MediaPackageOutputSettings":{"locationName":"mediaPackageOutputSettings","type":"structure","members":{}},"MsSmoothOutputSettings":{"locationName":"msSmoothOutputSettings","type":"structure","members":{"H265PackagingType":{"locationName":"h265PackagingType"},"NameModifier":{"locationName":"nameModifier"}}},"MultiplexOutputSettings":{"locationName":"multiplexOutputSettings","type":"structure","members":{"Destination":{"shape":"S6c","locationName":"destination"}},"required":["Destination"]},"RtmpOutputSettings":{"locationName":"rtmpOutputSettings","type":"structure","members":{"CertificateMode":{"locationName":"certificateMode"},"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"Destination":{"shape":"S6c","locationName":"destination"},"NumRetries":{"locationName":"numRetries","type":"integer"}},"required":["Destination"]},"UdpOutputSettings":{"locationName":"udpOutputSettings","type":"structure","members":{"BufferMsec":{"locationName":"bufferMsec","type":"integer"},"ContainerSettings":{"locationName":"containerSettings","type":"structure","members":{"M2tsSettings":{"shape":"S8i","locationName":"m2tsSettings"}}},"Destination":{"shape":"S6c","locationName":"destination"},"FecOutputSettings":{"locationName":"fecOutputSettings","type":"structure","members":{"ColumnDepth":{"locationName":"columnDepth","type":"integer"},"IncludeFec":{"locationName":"includeFec"},"RowLength":{"locationName":"rowLength","type":"integer"}}}},"required":["Destination","ContainerSettings"]}}},"VideoDescriptionName":{"locationName":"videoDescriptionName"}},"required":["OutputSettings"]}}},"required":["Outputs","OutputGroupSettings"]}},"TimecodeConfig":{"locationName":"timecodeConfig","type":"structure","members":{"Source":{"locationName":"source"},"SyncThreshold":{"locationName":"syncThreshold","type":"integer"}},"required":["Source"]},"VideoDescriptions":{"locationName":"videoDescriptions","type":"list","member":{"type":"structure","members":{"CodecSettings":{"locationName":"codecSettings","type":"structure","members":{"FrameCaptureSettings":{"locationName":"frameCaptureSettings","type":"structure","members":{"CaptureInterval":{"locationName":"captureInterval","type":"integer"},"CaptureIntervalUnits":{"locationName":"captureIntervalUnits"}}},"H264Settings":{"locationName":"h264Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"AfdSignaling":{"locationName":"afdSignaling"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BufFillPct":{"locationName":"bufFillPct","type":"integer"},"BufSize":{"locationName":"bufSize","type":"integer"},"ColorMetadata":{"locationName":"colorMetadata"},"ColorSpaceSettings":{"locationName":"colorSpaceSettings","type":"structure","members":{"ColorSpacePassthroughSettings":{"shape":"Sap","locationName":"colorSpacePassthroughSettings"},"Rec601Settings":{"shape":"Saq","locationName":"rec601Settings"},"Rec709Settings":{"shape":"Sar","locationName":"rec709Settings"}}},"EntropyEncoding":{"locationName":"entropyEncoding"},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"TemporalFilterSettings":{"shape":"Sau","locationName":"temporalFilterSettings"}}},"FixedAfd":{"locationName":"fixedAfd"},"FlickerAq":{"locationName":"flickerAq"},"ForceFieldPictures":{"locationName":"forceFieldPictures"},"FramerateControl":{"locationName":"framerateControl"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopNumBFrames":{"locationName":"gopNumBFrames","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"Level":{"locationName":"level"},"LookAheadRateControl":{"locationName":"lookAheadRateControl"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"NumRefFrames":{"locationName":"numRefFrames","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"Profile":{"locationName":"profile"},"QualityLevel":{"locationName":"qualityLevel"},"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"RateControlMode":{"locationName":"rateControlMode"},"ScanType":{"locationName":"scanType"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"Slices":{"locationName":"slices","type":"integer"},"Softness":{"locationName":"softness","type":"integer"},"SpatialAq":{"locationName":"spatialAq"},"SubgopLength":{"locationName":"subgopLength"},"Syntax":{"locationName":"syntax"},"TemporalAq":{"locationName":"temporalAq"},"TimecodeInsertion":{"locationName":"timecodeInsertion"}}},"H265Settings":{"locationName":"h265Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"AfdSignaling":{"locationName":"afdSignaling"},"AlternativeTransferFunction":{"locationName":"alternativeTransferFunction"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BufSize":{"locationName":"bufSize","type":"integer"},"ColorMetadata":{"locationName":"colorMetadata"},"ColorSpaceSettings":{"locationName":"colorSpaceSettings","type":"structure","members":{"ColorSpacePassthroughSettings":{"shape":"Sap","locationName":"colorSpacePassthroughSettings"},"Hdr10Settings":{"shape":"Sbs","locationName":"hdr10Settings"},"Rec601Settings":{"shape":"Saq","locationName":"rec601Settings"},"Rec709Settings":{"shape":"Sar","locationName":"rec709Settings"}}},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"TemporalFilterSettings":{"shape":"Sau","locationName":"temporalFilterSettings"}}},"FixedAfd":{"locationName":"fixedAfd"},"FlickerAq":{"locationName":"flickerAq"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"Level":{"locationName":"level"},"LookAheadRateControl":{"locationName":"lookAheadRateControl"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"Profile":{"locationName":"profile"},"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"RateControlMode":{"locationName":"rateControlMode"},"ScanType":{"locationName":"scanType"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"Slices":{"locationName":"slices","type":"integer"},"Tier":{"locationName":"tier"},"TimecodeInsertion":{"locationName":"timecodeInsertion"}},"required":["FramerateNumerator","FramerateDenominator"]},"Mpeg2Settings":{"locationName":"mpeg2Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"AfdSignaling":{"locationName":"afdSignaling"},"ColorMetadata":{"locationName":"colorMetadata"},"ColorSpace":{"locationName":"colorSpace"},"DisplayAspectRatio":{"locationName":"displayAspectRatio"},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"TemporalFilterSettings":{"shape":"Sau","locationName":"temporalFilterSettings"}}},"FixedAfd":{"locationName":"fixedAfd"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopNumBFrames":{"locationName":"gopNumBFrames","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"ScanType":{"locationName":"scanType"},"SubgopLength":{"locationName":"subgopLength"},"TimecodeInsertion":{"locationName":"timecodeInsertion"}},"required":["FramerateNumerator","FramerateDenominator"]}}},"Height":{"locationName":"height","type":"integer"},"Name":{"locationName":"name"},"RespondToAfd":{"locationName":"respondToAfd"},"ScalingBehavior":{"locationName":"scalingBehavior"},"Sharpness":{"locationName":"sharpness","type":"integer"},"Width":{"locationName":"width","type":"integer"}},"required":["Name"]}}},"required":["VideoDescriptions","AudioDescriptions","OutputGroups","TimecodeConfig"]},"S6c":{"type":"structure","members":{"DestinationRefId":{"locationName":"destinationRefId"}}},"S8i":{"type":"structure","members":{"AbsentInputAudioBehavior":{"locationName":"absentInputAudioBehavior"},"Arib":{"locationName":"arib"},"AribCaptionsPid":{"locationName":"aribCaptionsPid"},"AribCaptionsPidControl":{"locationName":"aribCaptionsPidControl"},"AudioBufferModel":{"locationName":"audioBufferModel"},"AudioFramesPerPes":{"locationName":"audioFramesPerPes","type":"integer"},"AudioPids":{"locationName":"audioPids"},"AudioStreamType":{"locationName":"audioStreamType"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BufferModel":{"locationName":"bufferModel"},"CcDescriptor":{"locationName":"ccDescriptor"},"DvbNitSettings":{"locationName":"dvbNitSettings","type":"structure","members":{"NetworkId":{"locationName":"networkId","type":"integer"},"NetworkName":{"locationName":"networkName"},"RepInterval":{"locationName":"repInterval","type":"integer"}},"required":["NetworkName","NetworkId"]},"DvbSdtSettings":{"locationName":"dvbSdtSettings","type":"structure","members":{"OutputSdt":{"locationName":"outputSdt"},"RepInterval":{"locationName":"repInterval","type":"integer"},"ServiceName":{"locationName":"serviceName"},"ServiceProviderName":{"locationName":"serviceProviderName"}}},"DvbSubPids":{"locationName":"dvbSubPids"},"DvbTdtSettings":{"locationName":"dvbTdtSettings","type":"structure","members":{"RepInterval":{"locationName":"repInterval","type":"integer"}}},"DvbTeletextPid":{"locationName":"dvbTeletextPid"},"Ebif":{"locationName":"ebif"},"EbpAudioInterval":{"locationName":"ebpAudioInterval"},"EbpLookaheadMs":{"locationName":"ebpLookaheadMs","type":"integer"},"EbpPlacement":{"locationName":"ebpPlacement"},"EcmPid":{"locationName":"ecmPid"},"EsRateInPes":{"locationName":"esRateInPes"},"EtvPlatformPid":{"locationName":"etvPlatformPid"},"EtvSignalPid":{"locationName":"etvSignalPid"},"FragmentTime":{"locationName":"fragmentTime","type":"double"},"Klv":{"locationName":"klv"},"KlvDataPids":{"locationName":"klvDataPids"},"NielsenId3Behavior":{"locationName":"nielsenId3Behavior"},"NullPacketBitrate":{"locationName":"nullPacketBitrate","type":"double"},"PatInterval":{"locationName":"patInterval","type":"integer"},"PcrControl":{"locationName":"pcrControl"},"PcrPeriod":{"locationName":"pcrPeriod","type":"integer"},"PcrPid":{"locationName":"pcrPid"},"PmtInterval":{"locationName":"pmtInterval","type":"integer"},"PmtPid":{"locationName":"pmtPid"},"ProgramNum":{"locationName":"programNum","type":"integer"},"RateMode":{"locationName":"rateMode"},"Scte27Pids":{"locationName":"scte27Pids"},"Scte35Control":{"locationName":"scte35Control"},"Scte35Pid":{"locationName":"scte35Pid"},"SegmentationMarkers":{"locationName":"segmentationMarkers"},"SegmentationStyle":{"locationName":"segmentationStyle"},"SegmentationTime":{"locationName":"segmentationTime","type":"double"},"TimedMetadataBehavior":{"locationName":"timedMetadataBehavior"},"TimedMetadataPid":{"locationName":"timedMetadataPid"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"VideoPid":{"locationName":"videoPid"}}},"Sap":{"type":"structure","members":{}},"Saq":{"type":"structure","members":{}},"Sar":{"type":"structure","members":{}},"Sau":{"type":"structure","members":{"PostFilterSharpening":{"locationName":"postFilterSharpening"},"Strength":{"locationName":"strength"}}},"Sbs":{"type":"structure","members":{"MaxCll":{"locationName":"maxCll","type":"integer"},"MaxFall":{"locationName":"maxFall","type":"integer"}}},"Sci":{"type":"list","member":{"type":"structure","members":{"AutomaticInputFailoverSettings":{"locationName":"automaticInputFailoverSettings","type":"structure","members":{"ErrorClearTimeMsec":{"locationName":"errorClearTimeMsec","type":"integer"},"FailoverConditions":{"locationName":"failoverConditions","type":"list","member":{"type":"structure","members":{"FailoverConditionSettings":{"locationName":"failoverConditionSettings","type":"structure","members":{"AudioSilenceSettings":{"locationName":"audioSilenceSettings","type":"structure","members":{"AudioSelectorName":{"locationName":"audioSelectorName"},"AudioSilenceThresholdMsec":{"locationName":"audioSilenceThresholdMsec","type":"integer"}},"required":["AudioSelectorName"]},"InputLossSettings":{"locationName":"inputLossSettings","type":"structure","members":{"InputLossThresholdMsec":{"locationName":"inputLossThresholdMsec","type":"integer"}}},"VideoBlackSettings":{"locationName":"videoBlackSettings","type":"structure","members":{"BlackDetectThreshold":{"locationName":"blackDetectThreshold","type":"double"},"VideoBlackThresholdMsec":{"locationName":"videoBlackThresholdMsec","type":"integer"}}}}}}}},"InputPreference":{"locationName":"inputPreference"},"SecondaryInputId":{"locationName":"secondaryInputId"}},"required":["SecondaryInputId"]},"InputAttachmentName":{"locationName":"inputAttachmentName"},"InputId":{"locationName":"inputId"},"InputSettings":{"locationName":"inputSettings","type":"structure","members":{"AudioSelectors":{"locationName":"audioSelectors","type":"list","member":{"type":"structure","members":{"Name":{"locationName":"name"},"SelectorSettings":{"locationName":"selectorSettings","type":"structure","members":{"AudioHlsRenditionSelection":{"locationName":"audioHlsRenditionSelection","type":"structure","members":{"GroupId":{"locationName":"groupId"},"Name":{"locationName":"name"}},"required":["Name","GroupId"]},"AudioLanguageSelection":{"locationName":"audioLanguageSelection","type":"structure","members":{"LanguageCode":{"locationName":"languageCode"},"LanguageSelectionPolicy":{"locationName":"languageSelectionPolicy"}},"required":["LanguageCode"]},"AudioPidSelection":{"locationName":"audioPidSelection","type":"structure","members":{"Pid":{"locationName":"pid","type":"integer"}},"required":["Pid"]},"AudioTrackSelection":{"locationName":"audioTrackSelection","type":"structure","members":{"Tracks":{"locationName":"tracks","type":"list","member":{"type":"structure","members":{"Track":{"locationName":"track","type":"integer"}},"required":["Track"]}}},"required":["Tracks"]}}}},"required":["Name"]}},"CaptionSelectors":{"locationName":"captionSelectors","type":"list","member":{"type":"structure","members":{"LanguageCode":{"locationName":"languageCode"},"Name":{"locationName":"name"},"SelectorSettings":{"locationName":"selectorSettings","type":"structure","members":{"AncillarySourceSettings":{"locationName":"ancillarySourceSettings","type":"structure","members":{"SourceAncillaryChannelNumber":{"locationName":"sourceAncillaryChannelNumber","type":"integer"}}},"AribSourceSettings":{"locationName":"aribSourceSettings","type":"structure","members":{}},"DvbSubSourceSettings":{"locationName":"dvbSubSourceSettings","type":"structure","members":{"OcrLanguage":{"locationName":"ocrLanguage"},"Pid":{"locationName":"pid","type":"integer"}}},"EmbeddedSourceSettings":{"locationName":"embeddedSourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"Scte20Detection":{"locationName":"scte20Detection"},"Source608ChannelNumber":{"locationName":"source608ChannelNumber","type":"integer"},"Source608TrackNumber":{"locationName":"source608TrackNumber","type":"integer"}}},"Scte20SourceSettings":{"locationName":"scte20SourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"Source608ChannelNumber":{"locationName":"source608ChannelNumber","type":"integer"}}},"Scte27SourceSettings":{"locationName":"scte27SourceSettings","type":"structure","members":{"OcrLanguage":{"locationName":"ocrLanguage"},"Pid":{"locationName":"pid","type":"integer"}}},"TeletextSourceSettings":{"locationName":"teletextSourceSettings","type":"structure","members":{"OutputRectangle":{"locationName":"outputRectangle","type":"structure","members":{"Height":{"locationName":"height","type":"double"},"LeftOffset":{"locationName":"leftOffset","type":"double"},"TopOffset":{"locationName":"topOffset","type":"double"},"Width":{"locationName":"width","type":"double"}},"required":["TopOffset","Height","Width","LeftOffset"]},"PageNumber":{"locationName":"pageNumber"}}}}}},"required":["Name"]}},"DeblockFilter":{"locationName":"deblockFilter"},"DenoiseFilter":{"locationName":"denoiseFilter"},"FilterStrength":{"locationName":"filterStrength","type":"integer"},"InputFilter":{"locationName":"inputFilter"},"NetworkInputSettings":{"locationName":"networkInputSettings","type":"structure","members":{"HlsInputSettings":{"locationName":"hlsInputSettings","type":"structure","members":{"Bandwidth":{"locationName":"bandwidth","type":"integer"},"BufferSegments":{"locationName":"bufferSegments","type":"integer"},"Retries":{"locationName":"retries","type":"integer"},"RetryInterval":{"locationName":"retryInterval","type":"integer"},"Scte35Source":{"locationName":"scte35Source"}}},"ServerValidation":{"locationName":"serverValidation"}}},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"Smpte2038DataPreference":{"locationName":"smpte2038DataPreference"},"SourceEndBehavior":{"locationName":"sourceEndBehavior"},"VideoSelector":{"locationName":"videoSelector","type":"structure","members":{"ColorSpace":{"locationName":"colorSpace"},"ColorSpaceSettings":{"locationName":"colorSpaceSettings","type":"structure","members":{"Hdr10Settings":{"shape":"Sbs","locationName":"hdr10Settings"}}},"ColorSpaceUsage":{"locationName":"colorSpaceUsage"},"SelectorSettings":{"locationName":"selectorSettings","type":"structure","members":{"VideoSelectorPid":{"locationName":"videoSelectorPid","type":"structure","members":{"Pid":{"locationName":"pid","type":"integer"}}},"VideoSelectorProgramId":{"locationName":"videoSelectorProgramId","type":"structure","members":{"ProgramId":{"locationName":"programId","type":"integer"}}}}}}}}}}}},"Se5":{"type":"structure","members":{"Codec":{"locationName":"codec"},"MaximumBitrate":{"locationName":"maximumBitrate"},"Resolution":{"locationName":"resolution"}}},"Sea":{"type":"map","key":{},"value":{}},"Sed":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"See","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Sci","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se5","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seg","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"Vpc":{"shape":"Sej","locationName":"vpc"}}},"See":{"type":"list","member":{"type":"structure","members":{"SourceIp":{"locationName":"sourceIp"}}}},"Seg":{"type":"list","member":{"type":"structure","members":{"ActiveInputAttachmentName":{"locationName":"activeInputAttachmentName"},"ActiveInputSwitchActionName":{"locationName":"activeInputSwitchActionName"},"ActiveMotionGraphicsActionName":{"locationName":"activeMotionGraphicsActionName"},"ActiveMotionGraphicsUri":{"locationName":"activeMotionGraphicsUri"},"PipelineId":{"locationName":"pipelineId"}}}},"Sej":{"type":"structure","members":{"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"NetworkInterfaceIds":{"shape":"S5","locationName":"networkInterfaceIds"},"SecurityGroupIds":{"shape":"S5","locationName":"securityGroupIds"},"SubnetIds":{"shape":"S5","locationName":"subnetIds"}}},"Sel":{"type":"list","member":{"type":"structure","members":{"StreamName":{"locationName":"streamName"}}}},"Sen":{"type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"}}}},"Sep":{"type":"list","member":{"type":"structure","members":{"FlowArn":{"locationName":"flowArn"}}}},"Ser":{"type":"list","member":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}}},"Sew":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AttachedChannels":{"shape":"S5","locationName":"attachedChannels"},"Destinations":{"shape":"Sex","locationName":"destinations"},"Id":{"locationName":"id"},"InputClass":{"locationName":"inputClass"},"InputDevices":{"shape":"Sen","locationName":"inputDevices"},"InputPartnerIds":{"shape":"S5","locationName":"inputPartnerIds"},"InputSourceType":{"locationName":"inputSourceType"},"MediaConnectFlows":{"shape":"Sf2","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"SecurityGroups":{"shape":"S5","locationName":"securityGroups"},"Sources":{"shape":"Sf4","locationName":"sources"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"Type":{"locationName":"type"}}},"Sex":{"type":"list","member":{"type":"structure","members":{"Ip":{"locationName":"ip"},"Port":{"locationName":"port"},"Url":{"locationName":"url"},"Vpc":{"locationName":"vpc","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}}}}},"Sf2":{"type":"list","member":{"type":"structure","members":{"FlowArn":{"locationName":"flowArn"}}}},"Sf4":{"type":"list","member":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}}},"Sf8":{"type":"list","member":{"type":"structure","members":{"Cidr":{"locationName":"cidr"}}}},"Sfb":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"},"Inputs":{"shape":"S5","locationName":"inputs"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"WhitelistRules":{"shape":"Sfd","locationName":"whitelistRules"}}},"Sfd":{"type":"list","member":{"type":"structure","members":{"Cidr":{"locationName":"cidr"}}}},"Sfg":{"type":"structure","members":{"MaximumVideoBufferDelayMilliseconds":{"locationName":"maximumVideoBufferDelayMilliseconds","type":"integer"},"TransportStreamBitrate":{"locationName":"transportStreamBitrate","type":"integer"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"TransportStreamReservedBitrate":{"locationName":"transportStreamReservedBitrate","type":"integer"}},"required":["TransportStreamBitrate","TransportStreamId"]},"Sfl":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfm","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfg","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"}}},"Sfm":{"type":"list","member":{"type":"structure","members":{"MediaConnectSettings":{"locationName":"mediaConnectSettings","type":"structure","members":{"EntitlementArn":{"locationName":"entitlementArn"}}}}}},"Sfr":{"type":"structure","members":{"PreferredChannelPipeline":{"locationName":"preferredChannelPipeline"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"ServiceDescriptor":{"locationName":"serviceDescriptor","type":"structure","members":{"ProviderName":{"locationName":"providerName"},"ServiceName":{"locationName":"serviceName"}},"required":["ProviderName","ServiceName"]},"VideoSettings":{"locationName":"videoSettings","type":"structure","members":{"ConstantBitrate":{"locationName":"constantBitrate","type":"integer"},"StatmuxSettings":{"locationName":"statmuxSettings","type":"structure","members":{"MaximumBitrate":{"locationName":"maximumBitrate","type":"integer"},"MinimumBitrate":{"locationName":"minimumBitrate","type":"integer"},"Priority":{"locationName":"priority","type":"integer"}}}}}},"required":["ProgramNumber"]},"Sg0":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"MultiplexProgramSettings":{"shape":"Sfr","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sg1","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sg3","locationName":"pipelineDetails"},"ProgramName":{"locationName":"programName"}}},"Sg1":{"type":"structure","members":{"AudioPids":{"shape":"Sg2","locationName":"audioPids"},"DvbSubPids":{"shape":"Sg2","locationName":"dvbSubPids"},"DvbTeletextPid":{"locationName":"dvbTeletextPid","type":"integer"},"EtvPlatformPid":{"locationName":"etvPlatformPid","type":"integer"},"EtvSignalPid":{"locationName":"etvSignalPid","type":"integer"},"KlvDataPids":{"shape":"Sg2","locationName":"klvDataPids"},"PcrPid":{"locationName":"pcrPid","type":"integer"},"PmtPid":{"locationName":"pmtPid","type":"integer"},"PrivateMetadataPid":{"locationName":"privateMetadataPid","type":"integer"},"Scte27Pids":{"shape":"Sg2","locationName":"scte27Pids"},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"TimedMetadataPid":{"locationName":"timedMetadataPid","type":"integer"},"VideoPid":{"locationName":"videoPid","type":"integer"}}},"Sg2":{"type":"list","member":{"type":"integer"}},"Sg3":{"type":"list","member":{"type":"structure","members":{"ActiveChannelPipeline":{"locationName":"activeChannelPipeline"},"PipelineId":{"locationName":"pipelineId"}}}},"Sgm":{"type":"structure","members":{"ChannelClass":{"locationName":"channelClass"},"Codec":{"locationName":"codec"},"MaximumBitrate":{"locationName":"maximumBitrate"},"MaximumFramerate":{"locationName":"maximumFramerate"},"Resolution":{"locationName":"resolution"},"ResourceType":{"locationName":"resourceType"},"SpecialFeature":{"locationName":"specialFeature"},"VideoQuality":{"locationName":"videoQuality"}}},"Sh7":{"type":"structure","members":{"ActiveInput":{"locationName":"activeInput"},"ConfiguredInput":{"locationName":"configuredInput"},"DeviceState":{"locationName":"deviceState"},"Framerate":{"locationName":"framerate","type":"double"},"Height":{"locationName":"height","type":"integer"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"ScanType":{"locationName":"scanType"},"Width":{"locationName":"width","type":"integer"}}},"Shc":{"type":"structure","members":{"DnsAddresses":{"shape":"S5","locationName":"dnsAddresses"},"Gateway":{"locationName":"gateway"},"IpAddress":{"locationName":"ipAddress"},"IpScheme":{"locationName":"ipScheme"},"SubnetMask":{"locationName":"subnetMask"}}},"Shf":{"type":"structure","members":{"ActiveInput":{"locationName":"activeInput"},"ConfiguredInput":{"locationName":"configuredInput"},"DeviceState":{"locationName":"deviceState"},"Framerate":{"locationName":"framerate","type":"double"},"Height":{"locationName":"height","type":"integer"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"ScanType":{"locationName":"scanType"},"Width":{"locationName":"width","type":"integer"}}},"Siz":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Count":{"locationName":"count","type":"integer"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"End":{"locationName":"end"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"Name":{"locationName":"name"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ReservationId":{"locationName":"reservationId"},"ResourceSpecification":{"shape":"Sgm","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Sea","locationName":"tags"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}},"Sjp":{"type":"structure","members":{"ConfiguredInput":{"locationName":"configuredInput"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"}}}}} + module.exports = {"metadata":{"apiVersion":"2017-10-14","endpointPrefix":"medialive","signingName":"medialive","serviceFullName":"AWS Elemental MediaLive","serviceId":"MediaLive","protocol":"rest-json","uid":"medialive-2017-10-14","signatureVersion":"v4","serviceAbbreviation":"MediaLive","jsonVersion":"1.1"},"operations":{"AcceptInputDeviceTransfer":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/accept","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{}}},"BatchDelete":{"http":{"requestUri":"/prod/batch/delete","responseCode":200},"input":{"type":"structure","members":{"ChannelIds":{"shape":"S5","locationName":"channelIds"},"InputIds":{"shape":"S5","locationName":"inputIds"},"InputSecurityGroupIds":{"shape":"S5","locationName":"inputSecurityGroupIds"},"MultiplexIds":{"shape":"S5","locationName":"multiplexIds"}}},"output":{"type":"structure","members":{"Failed":{"shape":"S7","locationName":"failed"},"Successful":{"shape":"S9","locationName":"successful"}}}},"BatchStart":{"http":{"requestUri":"/prod/batch/start","responseCode":200},"input":{"type":"structure","members":{"ChannelIds":{"shape":"S5","locationName":"channelIds"},"MultiplexIds":{"shape":"S5","locationName":"multiplexIds"}}},"output":{"type":"structure","members":{"Failed":{"shape":"S7","locationName":"failed"},"Successful":{"shape":"S9","locationName":"successful"}}}},"BatchStop":{"http":{"requestUri":"/prod/batch/stop","responseCode":200},"input":{"type":"structure","members":{"ChannelIds":{"shape":"S5","locationName":"channelIds"},"MultiplexIds":{"shape":"S5","locationName":"multiplexIds"}}},"output":{"type":"structure","members":{"Failed":{"shape":"S7","locationName":"failed"},"Successful":{"shape":"S9","locationName":"successful"}}}},"BatchUpdateSchedule":{"http":{"method":"PUT","requestUri":"/prod/channels/{channelId}/schedule","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"},"Creates":{"locationName":"creates","type":"structure","members":{"ScheduleActions":{"shape":"Sh","locationName":"scheduleActions"}},"required":["ScheduleActions"]},"Deletes":{"locationName":"deletes","type":"structure","members":{"ActionNames":{"shape":"S5","locationName":"actionNames"}},"required":["ActionNames"]}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Creates":{"locationName":"creates","type":"structure","members":{"ScheduleActions":{"shape":"Sh","locationName":"scheduleActions"}},"required":["ScheduleActions"]},"Deletes":{"locationName":"deletes","type":"structure","members":{"ScheduleActions":{"shape":"Sh","locationName":"scheduleActions"}},"required":["ScheduleActions"]}}}},"CancelInputDeviceTransfer":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/cancel","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{}}},"ClaimDevice":{"http":{"requestUri":"/prod/claimDevice","responseCode":200},"input":{"type":"structure","members":{"Id":{"locationName":"id"}}},"output":{"type":"structure","members":{}}},"CreateChannel":{"http":{"requestUri":"/prod/channels","responseCode":201},"input":{"type":"structure","members":{"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"InputAttachments":{"shape":"Scj","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Reserved":{"locationName":"reserved","deprecated":true},"RoleArn":{"locationName":"roleArn"},"Tags":{"shape":"Seb","locationName":"tags"},"Vpc":{"locationName":"vpc","type":"structure","members":{"PublicAddressAllocationIds":{"shape":"S5","locationName":"publicAddressAllocationIds"},"SecurityGroupIds":{"shape":"S5","locationName":"securityGroupIds"},"SubnetIds":{"shape":"S5","locationName":"subnetIds"}},"required":["SubnetIds"]}}},"output":{"type":"structure","members":{"Channel":{"shape":"See","locationName":"channel"}}}},"CreateInput":{"http":{"requestUri":"/prod/inputs","responseCode":201},"input":{"type":"structure","members":{"Destinations":{"shape":"Sem","locationName":"destinations"},"InputDevices":{"shape":"Seo","locationName":"inputDevices"},"InputSecurityGroups":{"shape":"S5","locationName":"inputSecurityGroups"},"MediaConnectFlows":{"shape":"Seq","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"RoleArn":{"locationName":"roleArn"},"Sources":{"shape":"Ses","locationName":"sources"},"Tags":{"shape":"Seb","locationName":"tags"},"Type":{"locationName":"type"},"Vpc":{"locationName":"vpc","type":"structure","members":{"SecurityGroupIds":{"shape":"S5","locationName":"securityGroupIds"},"SubnetIds":{"shape":"S5","locationName":"subnetIds"}},"required":["SubnetIds"]}}},"output":{"type":"structure","members":{"Input":{"shape":"Sex","locationName":"input"}}}},"CreateInputSecurityGroup":{"http":{"requestUri":"/prod/inputSecurityGroups","responseCode":200},"input":{"type":"structure","members":{"Tags":{"shape":"Seb","locationName":"tags"},"WhitelistRules":{"shape":"Sf9","locationName":"whitelistRules"}}},"output":{"type":"structure","members":{"SecurityGroup":{"shape":"Sfc","locationName":"securityGroup"}}}},"CreateMultiplex":{"http":{"requestUri":"/prod/multiplexes","responseCode":201},"input":{"type":"structure","members":{"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"MultiplexSettings":{"shape":"Sfh","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Tags":{"shape":"Seb","locationName":"tags"}},"required":["RequestId","MultiplexSettings","AvailabilityZones","Name"]},"output":{"type":"structure","members":{"Multiplex":{"shape":"Sfm","locationName":"multiplex"}}}},"CreateMultiplexProgram":{"http":{"requestUri":"/prod/multiplexes/{multiplexId}/programs","responseCode":201},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"MultiplexProgramSettings":{"shape":"Sfs","locationName":"multiplexProgramSettings"},"ProgramName":{"locationName":"programName"},"RequestId":{"locationName":"requestId","idempotencyToken":true}},"required":["MultiplexId","RequestId","MultiplexProgramSettings","ProgramName"]},"output":{"type":"structure","members":{"MultiplexProgram":{"shape":"Sg1","locationName":"multiplexProgram"}}}},"CreatePartnerInput":{"http":{"requestUri":"/prod/inputs/{inputId}/partners","responseCode":201},"input":{"type":"structure","members":{"InputId":{"location":"uri","locationName":"inputId"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Tags":{"shape":"Seb","locationName":"tags"}},"required":["InputId"]},"output":{"type":"structure","members":{"Input":{"shape":"Sex","locationName":"input"}}}},"CreateTags":{"http":{"requestUri":"/prod/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"Tags":{"shape":"Seb","locationName":"tags"}},"required":["ResourceArn"]}},"DeleteChannel":{"http":{"method":"DELETE","requestUri":"/prod/channels/{channelId}","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"Sef","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Scj","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seh","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"Vpc":{"shape":"Sek","locationName":"vpc"}}}},"DeleteInput":{"http":{"method":"DELETE","requestUri":"/prod/inputs/{inputId}","responseCode":200},"input":{"type":"structure","members":{"InputId":{"location":"uri","locationName":"inputId"}},"required":["InputId"]},"output":{"type":"structure","members":{}}},"DeleteInputSecurityGroup":{"http":{"method":"DELETE","requestUri":"/prod/inputSecurityGroups/{inputSecurityGroupId}","responseCode":200},"input":{"type":"structure","members":{"InputSecurityGroupId":{"location":"uri","locationName":"inputSecurityGroupId"}},"required":["InputSecurityGroupId"]},"output":{"type":"structure","members":{}}},"DeleteMultiplex":{"http":{"method":"DELETE","requestUri":"/prod/multiplexes/{multiplexId}","responseCode":202},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfn","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfh","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"}}}},"DeleteMultiplexProgram":{"http":{"method":"DELETE","requestUri":"/prod/multiplexes/{multiplexId}/programs/{programName}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["MultiplexId","ProgramName"]},"output":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"MultiplexProgramSettings":{"shape":"Sfs","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sg2","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sg4","locationName":"pipelineDetails"},"ProgramName":{"locationName":"programName"}}}},"DeleteReservation":{"http":{"method":"DELETE","requestUri":"/prod/reservations/{reservationId}","responseCode":200},"input":{"type":"structure","members":{"ReservationId":{"location":"uri","locationName":"reservationId"}},"required":["ReservationId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Count":{"locationName":"count","type":"integer"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"End":{"locationName":"end"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"Name":{"locationName":"name"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ReservationId":{"locationName":"reservationId"},"ResourceSpecification":{"shape":"Sgn","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}}},"DeleteSchedule":{"http":{"method":"DELETE","requestUri":"/prod/channels/{channelId}/schedule","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{}}},"DeleteTags":{"http":{"method":"DELETE","requestUri":"/prod/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"shape":"S5","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"DescribeChannel":{"http":{"method":"GET","requestUri":"/prod/channels/{channelId}","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"Sef","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Scj","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seh","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"Vpc":{"shape":"Sek","locationName":"vpc"}}}},"DescribeInput":{"http":{"method":"GET","requestUri":"/prod/inputs/{inputId}","responseCode":200},"input":{"type":"structure","members":{"InputId":{"location":"uri","locationName":"inputId"}},"required":["InputId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AttachedChannels":{"shape":"S5","locationName":"attachedChannels"},"Destinations":{"shape":"Sey","locationName":"destinations"},"Id":{"locationName":"id"},"InputClass":{"locationName":"inputClass"},"InputDevices":{"shape":"Seo","locationName":"inputDevices"},"InputPartnerIds":{"shape":"S5","locationName":"inputPartnerIds"},"InputSourceType":{"locationName":"inputSourceType"},"MediaConnectFlows":{"shape":"Sf3","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"SecurityGroups":{"shape":"S5","locationName":"securityGroups"},"Sources":{"shape":"Sf5","locationName":"sources"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"Type":{"locationName":"type"}}}},"DescribeInputDevice":{"http":{"method":"GET","requestUri":"/prod/inputDevices/{inputDeviceId}","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"ConnectionState":{"locationName":"connectionState"},"DeviceSettingsSyncState":{"locationName":"deviceSettingsSyncState"},"DeviceUpdateStatus":{"locationName":"deviceUpdateStatus"},"HdDeviceSettings":{"shape":"Sh8","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Shd","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Shg","locationName":"uhdDeviceSettings"}}}},"DescribeInputDeviceThumbnail":{"http":{"method":"GET","requestUri":"/prod/inputDevices/{inputDeviceId}/thumbnailData","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"},"Accept":{"location":"header","locationName":"accept"}},"required":["InputDeviceId","Accept"]},"output":{"type":"structure","members":{"Body":{"locationName":"body","type":"blob","streaming":true},"ContentType":{"location":"header","locationName":"Content-Type"},"ContentLength":{"location":"header","locationName":"Content-Length","type":"long"},"ETag":{"location":"header","locationName":"ETag"},"LastModified":{"location":"header","locationName":"Last-Modified","type":"timestamp"}},"payload":"Body"}},"DescribeInputSecurityGroup":{"http":{"method":"GET","requestUri":"/prod/inputSecurityGroups/{inputSecurityGroupId}","responseCode":200},"input":{"type":"structure","members":{"InputSecurityGroupId":{"location":"uri","locationName":"inputSecurityGroupId"}},"required":["InputSecurityGroupId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"},"Inputs":{"shape":"S5","locationName":"inputs"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"WhitelistRules":{"shape":"Sfe","locationName":"whitelistRules"}}}},"DescribeMultiplex":{"http":{"method":"GET","requestUri":"/prod/multiplexes/{multiplexId}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfn","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfh","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"}}}},"DescribeMultiplexProgram":{"http":{"method":"GET","requestUri":"/prod/multiplexes/{multiplexId}/programs/{programName}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["MultiplexId","ProgramName"]},"output":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"MultiplexProgramSettings":{"shape":"Sfs","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sg2","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sg4","locationName":"pipelineDetails"},"ProgramName":{"locationName":"programName"}}}},"DescribeOffering":{"http":{"method":"GET","requestUri":"/prod/offerings/{offeringId}","responseCode":200},"input":{"type":"structure","members":{"OfferingId":{"location":"uri","locationName":"offeringId"}},"required":["OfferingId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ResourceSpecification":{"shape":"Sgn","locationName":"resourceSpecification"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}}},"DescribeReservation":{"http":{"method":"GET","requestUri":"/prod/reservations/{reservationId}","responseCode":200},"input":{"type":"structure","members":{"ReservationId":{"location":"uri","locationName":"reservationId"}},"required":["ReservationId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Count":{"locationName":"count","type":"integer"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"End":{"locationName":"end"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"Name":{"locationName":"name"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ReservationId":{"locationName":"reservationId"},"ResourceSpecification":{"shape":"Sgn","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}}},"DescribeSchedule":{"http":{"method":"GET","requestUri":"/prod/channels/{channelId}/schedule","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"ScheduleActions":{"shape":"Sh","locationName":"scheduleActions"}}}},"ListChannels":{"http":{"method":"GET","requestUri":"/prod/channels","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Channels":{"locationName":"channels","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"Sef","locationName":"egressEndpoints"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Scj","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"Vpc":{"shape":"Sek","locationName":"vpc"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListInputDeviceTransfers":{"http":{"method":"GET","requestUri":"/prod/inputDeviceTransfers","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"TransferType":{"location":"querystring","locationName":"transferType"}},"required":["TransferType"]},"output":{"type":"structure","members":{"InputDeviceTransfers":{"locationName":"inputDeviceTransfers","type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"},"Message":{"locationName":"message"},"TargetCustomerId":{"locationName":"targetCustomerId"},"TransferType":{"locationName":"transferType"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListInputDevices":{"http":{"method":"GET","requestUri":"/prod/inputDevices","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"InputDevices":{"locationName":"inputDevices","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"ConnectionState":{"locationName":"connectionState"},"DeviceSettingsSyncState":{"locationName":"deviceSettingsSyncState"},"DeviceUpdateStatus":{"locationName":"deviceUpdateStatus"},"HdDeviceSettings":{"shape":"Sh8","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Shd","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Shg","locationName":"uhdDeviceSettings"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListInputSecurityGroups":{"http":{"method":"GET","requestUri":"/prod/inputSecurityGroups","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"InputSecurityGroups":{"locationName":"inputSecurityGroups","type":"list","member":{"shape":"Sfc"}},"NextToken":{"locationName":"nextToken"}}}},"ListInputs":{"http":{"method":"GET","requestUri":"/prod/inputs","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Inputs":{"locationName":"inputs","type":"list","member":{"shape":"Sex"}},"NextToken":{"locationName":"nextToken"}}}},"ListMultiplexPrograms":{"http":{"method":"GET","requestUri":"/prod/multiplexes/{multiplexId}/programs","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"MultiplexId":{"location":"uri","locationName":"multiplexId"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"MultiplexPrograms":{"locationName":"multiplexPrograms","type":"list","member":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"ProgramName":{"locationName":"programName"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListMultiplexes":{"http":{"method":"GET","requestUri":"/prod/multiplexes","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Multiplexes":{"locationName":"multiplexes","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Id":{"locationName":"id"},"MultiplexSettings":{"locationName":"multiplexSettings","type":"structure","members":{"TransportStreamBitrate":{"locationName":"transportStreamBitrate","type":"integer"}}},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListOfferings":{"http":{"method":"GET","requestUri":"/prod/offerings","responseCode":200},"input":{"type":"structure","members":{"ChannelClass":{"location":"querystring","locationName":"channelClass"},"ChannelConfiguration":{"location":"querystring","locationName":"channelConfiguration"},"Codec":{"location":"querystring","locationName":"codec"},"Duration":{"location":"querystring","locationName":"duration"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"MaximumBitrate":{"location":"querystring","locationName":"maximumBitrate"},"MaximumFramerate":{"location":"querystring","locationName":"maximumFramerate"},"NextToken":{"location":"querystring","locationName":"nextToken"},"Resolution":{"location":"querystring","locationName":"resolution"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"SpecialFeature":{"location":"querystring","locationName":"specialFeature"},"VideoQuality":{"location":"querystring","locationName":"videoQuality"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Offerings":{"locationName":"offerings","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ResourceSpecification":{"shape":"Sgn","locationName":"resourceSpecification"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}}}}}},"ListReservations":{"http":{"method":"GET","requestUri":"/prod/reservations","responseCode":200},"input":{"type":"structure","members":{"ChannelClass":{"location":"querystring","locationName":"channelClass"},"Codec":{"location":"querystring","locationName":"codec"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"MaximumBitrate":{"location":"querystring","locationName":"maximumBitrate"},"MaximumFramerate":{"location":"querystring","locationName":"maximumFramerate"},"NextToken":{"location":"querystring","locationName":"nextToken"},"Resolution":{"location":"querystring","locationName":"resolution"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"SpecialFeature":{"location":"querystring","locationName":"specialFeature"},"VideoQuality":{"location":"querystring","locationName":"videoQuality"}}},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Reservations":{"locationName":"reservations","type":"list","member":{"shape":"Sj0"}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/prod/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"Tags":{"shape":"Seb","locationName":"tags"}}}},"PurchaseOffering":{"http":{"requestUri":"/prod/offerings/{offeringId}/purchase","responseCode":201},"input":{"type":"structure","members":{"Count":{"locationName":"count","type":"integer"},"Name":{"locationName":"name"},"OfferingId":{"location":"uri","locationName":"offeringId"},"RequestId":{"locationName":"requestId","idempotencyToken":true},"Start":{"locationName":"start"},"Tags":{"shape":"Seb","locationName":"tags"}},"required":["OfferingId","Count"]},"output":{"type":"structure","members":{"Reservation":{"shape":"Sj0","locationName":"reservation"}}}},"RejectInputDeviceTransfer":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/reject","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{}}},"StartChannel":{"http":{"requestUri":"/prod/channels/{channelId}/start","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"Sef","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Scj","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seh","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"Vpc":{"shape":"Sek","locationName":"vpc"}}}},"StartMultiplex":{"http":{"requestUri":"/prod/multiplexes/{multiplexId}/start","responseCode":202},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfn","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfh","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"}}}},"StopChannel":{"http":{"requestUri":"/prod/channels/{channelId}/stop","responseCode":200},"input":{"type":"structure","members":{"ChannelId":{"location":"uri","locationName":"channelId"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"Sef","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Scj","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seh","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"Vpc":{"shape":"Sek","locationName":"vpc"}}}},"StopMultiplex":{"http":{"requestUri":"/prod/multiplexes/{multiplexId}/stop","responseCode":202},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfn","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfh","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"}}}},"TransferInputDevice":{"http":{"requestUri":"/prod/inputDevices/{inputDeviceId}/transfer","responseCode":200},"input":{"type":"structure","members":{"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"},"TargetCustomerId":{"locationName":"targetCustomerId"},"TargetRegion":{"locationName":"targetRegion"},"TransferMessage":{"locationName":"transferMessage"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{}}},"UpdateChannel":{"http":{"method":"PUT","requestUri":"/prod/channels/{channelId}","responseCode":200},"input":{"type":"structure","members":{"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelId":{"location":"uri","locationName":"channelId"},"Destinations":{"shape":"S25","locationName":"destinations"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"InputAttachments":{"shape":"Scj","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"}},"required":["ChannelId"]},"output":{"type":"structure","members":{"Channel":{"shape":"See","locationName":"channel"}}}},"UpdateChannelClass":{"http":{"method":"PUT","requestUri":"/prod/channels/{channelId}/channelClass","responseCode":200},"input":{"type":"structure","members":{"ChannelClass":{"locationName":"channelClass"},"ChannelId":{"location":"uri","locationName":"channelId"},"Destinations":{"shape":"S25","locationName":"destinations"}},"required":["ChannelId","ChannelClass"]},"output":{"type":"structure","members":{"Channel":{"shape":"See","locationName":"channel"}}}},"UpdateInput":{"http":{"method":"PUT","requestUri":"/prod/inputs/{inputId}","responseCode":200},"input":{"type":"structure","members":{"Destinations":{"shape":"Sem","locationName":"destinations"},"InputDevices":{"locationName":"inputDevices","type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"}}}},"InputId":{"location":"uri","locationName":"inputId"},"InputSecurityGroups":{"shape":"S5","locationName":"inputSecurityGroups"},"MediaConnectFlows":{"shape":"Seq","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"Sources":{"shape":"Ses","locationName":"sources"}},"required":["InputId"]},"output":{"type":"structure","members":{"Input":{"shape":"Sex","locationName":"input"}}}},"UpdateInputDevice":{"http":{"method":"PUT","requestUri":"/prod/inputDevices/{inputDeviceId}","responseCode":200},"input":{"type":"structure","members":{"HdDeviceSettings":{"shape":"Sjq","locationName":"hdDeviceSettings"},"InputDeviceId":{"location":"uri","locationName":"inputDeviceId"},"Name":{"locationName":"name"},"UhdDeviceSettings":{"shape":"Sjq","locationName":"uhdDeviceSettings"}},"required":["InputDeviceId"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"ConnectionState":{"locationName":"connectionState"},"DeviceSettingsSyncState":{"locationName":"deviceSettingsSyncState"},"DeviceUpdateStatus":{"locationName":"deviceUpdateStatus"},"HdDeviceSettings":{"shape":"Sh8","locationName":"hdDeviceSettings"},"Id":{"locationName":"id"},"MacAddress":{"locationName":"macAddress"},"Name":{"locationName":"name"},"NetworkSettings":{"shape":"Shd","locationName":"networkSettings"},"SerialNumber":{"locationName":"serialNumber"},"Type":{"locationName":"type"},"UhdDeviceSettings":{"shape":"Shg","locationName":"uhdDeviceSettings"}}}},"UpdateInputSecurityGroup":{"http":{"method":"PUT","requestUri":"/prod/inputSecurityGroups/{inputSecurityGroupId}","responseCode":200},"input":{"type":"structure","members":{"InputSecurityGroupId":{"location":"uri","locationName":"inputSecurityGroupId"},"Tags":{"shape":"Seb","locationName":"tags"},"WhitelistRules":{"shape":"Sf9","locationName":"whitelistRules"}},"required":["InputSecurityGroupId"]},"output":{"type":"structure","members":{"SecurityGroup":{"shape":"Sfc","locationName":"securityGroup"}}}},"UpdateMultiplex":{"http":{"method":"PUT","requestUri":"/prod/multiplexes/{multiplexId}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"MultiplexSettings":{"shape":"Sfh","locationName":"multiplexSettings"},"Name":{"locationName":"name"}},"required":["MultiplexId"]},"output":{"type":"structure","members":{"Multiplex":{"shape":"Sfm","locationName":"multiplex"}}}},"UpdateMultiplexProgram":{"http":{"method":"PUT","requestUri":"/prod/multiplexes/{multiplexId}/programs/{programName}","responseCode":200},"input":{"type":"structure","members":{"MultiplexId":{"location":"uri","locationName":"multiplexId"},"MultiplexProgramSettings":{"shape":"Sfs","locationName":"multiplexProgramSettings"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["MultiplexId","ProgramName"]},"output":{"type":"structure","members":{"MultiplexProgram":{"shape":"Sg1","locationName":"multiplexProgram"}}}},"UpdateReservation":{"http":{"method":"PUT","requestUri":"/prod/reservations/{reservationId}","responseCode":200},"input":{"type":"structure","members":{"Name":{"locationName":"name"},"ReservationId":{"location":"uri","locationName":"reservationId"}},"required":["ReservationId"]},"output":{"type":"structure","members":{"Reservation":{"shape":"Sj0","locationName":"reservation"}}}}},"shapes":{"S5":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Code":{"locationName":"code"},"Id":{"locationName":"id"},"Message":{"locationName":"message"}}}},"S9":{"type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"},"State":{"locationName":"state"}}}},"Sh":{"type":"list","member":{"type":"structure","members":{"ActionName":{"locationName":"actionName"},"ScheduleActionSettings":{"locationName":"scheduleActionSettings","type":"structure","members":{"HlsId3SegmentTaggingSettings":{"locationName":"hlsId3SegmentTaggingSettings","type":"structure","members":{"Tag":{"locationName":"tag"}},"required":["Tag"]},"HlsTimedMetadataSettings":{"locationName":"hlsTimedMetadataSettings","type":"structure","members":{"Id3":{"locationName":"id3"}},"required":["Id3"]},"InputPrepareSettings":{"locationName":"inputPrepareSettings","type":"structure","members":{"InputAttachmentNameReference":{"locationName":"inputAttachmentNameReference"},"InputClippingSettings":{"shape":"Sn","locationName":"inputClippingSettings"},"UrlPath":{"shape":"S5","locationName":"urlPath"}}},"InputSwitchSettings":{"locationName":"inputSwitchSettings","type":"structure","members":{"InputAttachmentNameReference":{"locationName":"inputAttachmentNameReference"},"InputClippingSettings":{"shape":"Sn","locationName":"inputClippingSettings"},"UrlPath":{"shape":"S5","locationName":"urlPath"}},"required":["InputAttachmentNameReference"]},"MotionGraphicsImageActivateSettings":{"locationName":"motionGraphicsImageActivateSettings","type":"structure","members":{"Duration":{"locationName":"duration","type":"long"},"PasswordParam":{"locationName":"passwordParam"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}},"MotionGraphicsImageDeactivateSettings":{"locationName":"motionGraphicsImageDeactivateSettings","type":"structure","members":{}},"PauseStateSettings":{"locationName":"pauseStateSettings","type":"structure","members":{"Pipelines":{"locationName":"pipelines","type":"list","member":{"type":"structure","members":{"PipelineId":{"locationName":"pipelineId"}},"required":["PipelineId"]}}}},"Scte35ReturnToNetworkSettings":{"locationName":"scte35ReturnToNetworkSettings","type":"structure","members":{"SpliceEventId":{"locationName":"spliceEventId","type":"long"}},"required":["SpliceEventId"]},"Scte35SpliceInsertSettings":{"locationName":"scte35SpliceInsertSettings","type":"structure","members":{"Duration":{"locationName":"duration","type":"long"},"SpliceEventId":{"locationName":"spliceEventId","type":"long"}},"required":["SpliceEventId"]},"Scte35TimeSignalSettings":{"locationName":"scte35TimeSignalSettings","type":"structure","members":{"Scte35Descriptors":{"locationName":"scte35Descriptors","type":"list","member":{"type":"structure","members":{"Scte35DescriptorSettings":{"locationName":"scte35DescriptorSettings","type":"structure","members":{"SegmentationDescriptorScte35DescriptorSettings":{"locationName":"segmentationDescriptorScte35DescriptorSettings","type":"structure","members":{"DeliveryRestrictions":{"locationName":"deliveryRestrictions","type":"structure","members":{"ArchiveAllowedFlag":{"locationName":"archiveAllowedFlag"},"DeviceRestrictions":{"locationName":"deviceRestrictions"},"NoRegionalBlackoutFlag":{"locationName":"noRegionalBlackoutFlag"},"WebDeliveryAllowedFlag":{"locationName":"webDeliveryAllowedFlag"}},"required":["DeviceRestrictions","ArchiveAllowedFlag","WebDeliveryAllowedFlag","NoRegionalBlackoutFlag"]},"SegmentNum":{"locationName":"segmentNum","type":"integer"},"SegmentationCancelIndicator":{"locationName":"segmentationCancelIndicator"},"SegmentationDuration":{"locationName":"segmentationDuration","type":"long"},"SegmentationEventId":{"locationName":"segmentationEventId","type":"long"},"SegmentationTypeId":{"locationName":"segmentationTypeId","type":"integer"},"SegmentationUpid":{"locationName":"segmentationUpid"},"SegmentationUpidType":{"locationName":"segmentationUpidType","type":"integer"},"SegmentsExpected":{"locationName":"segmentsExpected","type":"integer"},"SubSegmentNum":{"locationName":"subSegmentNum","type":"integer"},"SubSegmentsExpected":{"locationName":"subSegmentsExpected","type":"integer"}},"required":["SegmentationEventId","SegmentationCancelIndicator"]}},"required":["SegmentationDescriptorScte35DescriptorSettings"]}},"required":["Scte35DescriptorSettings"]}}},"required":["Scte35Descriptors"]},"StaticImageActivateSettings":{"locationName":"staticImageActivateSettings","type":"structure","members":{"Duration":{"locationName":"duration","type":"integer"},"FadeIn":{"locationName":"fadeIn","type":"integer"},"FadeOut":{"locationName":"fadeOut","type":"integer"},"Height":{"locationName":"height","type":"integer"},"Image":{"shape":"S1k","locationName":"image"},"ImageX":{"locationName":"imageX","type":"integer"},"ImageY":{"locationName":"imageY","type":"integer"},"Layer":{"locationName":"layer","type":"integer"},"Opacity":{"locationName":"opacity","type":"integer"},"Width":{"locationName":"width","type":"integer"}},"required":["Image"]},"StaticImageDeactivateSettings":{"locationName":"staticImageDeactivateSettings","type":"structure","members":{"FadeOut":{"locationName":"fadeOut","type":"integer"},"Layer":{"locationName":"layer","type":"integer"}}}}},"ScheduleActionStartSettings":{"locationName":"scheduleActionStartSettings","type":"structure","members":{"FixedModeScheduleActionStartSettings":{"locationName":"fixedModeScheduleActionStartSettings","type":"structure","members":{"Time":{"locationName":"time"}},"required":["Time"]},"FollowModeScheduleActionStartSettings":{"locationName":"followModeScheduleActionStartSettings","type":"structure","members":{"FollowPoint":{"locationName":"followPoint"},"ReferenceActionName":{"locationName":"referenceActionName"}},"required":["ReferenceActionName","FollowPoint"]},"ImmediateModeScheduleActionStartSettings":{"locationName":"immediateModeScheduleActionStartSettings","type":"structure","members":{}}}}},"required":["ActionName","ScheduleActionStartSettings","ScheduleActionSettings"]}},"Sn":{"type":"structure","members":{"InputTimecodeSource":{"locationName":"inputTimecodeSource"},"StartTimecode":{"locationName":"startTimecode","type":"structure","members":{"Timecode":{"locationName":"timecode"}}},"StopTimecode":{"locationName":"stopTimecode","type":"structure","members":{"LastFrameClippingBehavior":{"locationName":"lastFrameClippingBehavior"},"Timecode":{"locationName":"timecode"}}}},"required":["InputTimecodeSource"]},"S1k":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Uri":{"locationName":"uri"},"Username":{"locationName":"username"}},"required":["Uri"]},"S22":{"type":"structure","members":{"Resolution":{"locationName":"resolution"}}},"S25":{"type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"},"MediaPackageSettings":{"locationName":"mediaPackageSettings","type":"list","member":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"}}}},"MultiplexSettings":{"locationName":"multiplexSettings","type":"structure","members":{"MultiplexId":{"locationName":"multiplexId"},"ProgramName":{"locationName":"programName"}}},"Settings":{"locationName":"settings","type":"list","member":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"StreamName":{"locationName":"streamName"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}}}}}},"S2d":{"type":"structure","members":{"AudioDescriptions":{"locationName":"audioDescriptions","type":"list","member":{"type":"structure","members":{"AudioNormalizationSettings":{"locationName":"audioNormalizationSettings","type":"structure","members":{"Algorithm":{"locationName":"algorithm"},"AlgorithmControl":{"locationName":"algorithmControl"},"TargetLkfs":{"locationName":"targetLkfs","type":"double"}}},"AudioSelectorName":{"locationName":"audioSelectorName"},"AudioType":{"locationName":"audioType"},"AudioTypeControl":{"locationName":"audioTypeControl"},"AudioWatermarkingSettings":{"locationName":"audioWatermarkingSettings","type":"structure","members":{"NielsenWatermarksSettings":{"locationName":"nielsenWatermarksSettings","type":"structure","members":{"NielsenCbetSettings":{"locationName":"nielsenCbetSettings","type":"structure","members":{"CbetCheckDigitString":{"locationName":"cbetCheckDigitString"},"CbetStepaside":{"locationName":"cbetStepaside"},"Csid":{"locationName":"csid"}},"required":["CbetCheckDigitString","CbetStepaside","Csid"]},"NielsenDistributionType":{"locationName":"nielsenDistributionType"},"NielsenNaesIiNwSettings":{"locationName":"nielsenNaesIiNwSettings","type":"structure","members":{"CheckDigitString":{"locationName":"checkDigitString"},"Sid":{"locationName":"sid","type":"double"}},"required":["CheckDigitString","Sid"]}}}}},"CodecSettings":{"locationName":"codecSettings","type":"structure","members":{"AacSettings":{"locationName":"aacSettings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"double"},"CodingMode":{"locationName":"codingMode"},"InputType":{"locationName":"inputType"},"Profile":{"locationName":"profile"},"RateControlMode":{"locationName":"rateControlMode"},"RawFormat":{"locationName":"rawFormat"},"SampleRate":{"locationName":"sampleRate","type":"double"},"Spec":{"locationName":"spec"},"VbrQuality":{"locationName":"vbrQuality"}}},"Ac3Settings":{"locationName":"ac3Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"double"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"Dialnorm":{"locationName":"dialnorm","type":"integer"},"DrcProfile":{"locationName":"drcProfile"},"LfeFilter":{"locationName":"lfeFilter"},"MetadataControl":{"locationName":"metadataControl"}}},"Eac3Settings":{"locationName":"eac3Settings","type":"structure","members":{"AttenuationControl":{"locationName":"attenuationControl"},"Bitrate":{"locationName":"bitrate","type":"double"},"BitstreamMode":{"locationName":"bitstreamMode"},"CodingMode":{"locationName":"codingMode"},"DcFilter":{"locationName":"dcFilter"},"Dialnorm":{"locationName":"dialnorm","type":"integer"},"DrcLine":{"locationName":"drcLine"},"DrcRf":{"locationName":"drcRf"},"LfeControl":{"locationName":"lfeControl"},"LfeFilter":{"locationName":"lfeFilter"},"LoRoCenterMixLevel":{"locationName":"loRoCenterMixLevel","type":"double"},"LoRoSurroundMixLevel":{"locationName":"loRoSurroundMixLevel","type":"double"},"LtRtCenterMixLevel":{"locationName":"ltRtCenterMixLevel","type":"double"},"LtRtSurroundMixLevel":{"locationName":"ltRtSurroundMixLevel","type":"double"},"MetadataControl":{"locationName":"metadataControl"},"PassthroughControl":{"locationName":"passthroughControl"},"PhaseControl":{"locationName":"phaseControl"},"StereoDownmix":{"locationName":"stereoDownmix"},"SurroundExMode":{"locationName":"surroundExMode"},"SurroundMode":{"locationName":"surroundMode"}}},"Mp2Settings":{"locationName":"mp2Settings","type":"structure","members":{"Bitrate":{"locationName":"bitrate","type":"double"},"CodingMode":{"locationName":"codingMode"},"SampleRate":{"locationName":"sampleRate","type":"double"}}},"PassThroughSettings":{"locationName":"passThroughSettings","type":"structure","members":{}},"WavSettings":{"locationName":"wavSettings","type":"structure","members":{"BitDepth":{"locationName":"bitDepth","type":"double"},"CodingMode":{"locationName":"codingMode"},"SampleRate":{"locationName":"sampleRate","type":"double"}}}}},"LanguageCode":{"locationName":"languageCode"},"LanguageCodeControl":{"locationName":"languageCodeControl"},"Name":{"locationName":"name"},"RemixSettings":{"locationName":"remixSettings","type":"structure","members":{"ChannelMappings":{"locationName":"channelMappings","type":"list","member":{"type":"structure","members":{"InputChannelLevels":{"locationName":"inputChannelLevels","type":"list","member":{"type":"structure","members":{"Gain":{"locationName":"gain","type":"integer"},"InputChannel":{"locationName":"inputChannel","type":"integer"}},"required":["InputChannel","Gain"]}},"OutputChannel":{"locationName":"outputChannel","type":"integer"}},"required":["OutputChannel","InputChannelLevels"]}},"ChannelsIn":{"locationName":"channelsIn","type":"integer"},"ChannelsOut":{"locationName":"channelsOut","type":"integer"}},"required":["ChannelMappings"]},"StreamName":{"locationName":"streamName"}},"required":["AudioSelectorName","Name"]}},"AvailBlanking":{"locationName":"availBlanking","type":"structure","members":{"AvailBlankingImage":{"shape":"S1k","locationName":"availBlankingImage"},"State":{"locationName":"state"}}},"AvailConfiguration":{"locationName":"availConfiguration","type":"structure","members":{"AvailSettings":{"locationName":"availSettings","type":"structure","members":{"Scte35SpliceInsert":{"locationName":"scte35SpliceInsert","type":"structure","members":{"AdAvailOffset":{"locationName":"adAvailOffset","type":"integer"},"NoRegionalBlackoutFlag":{"locationName":"noRegionalBlackoutFlag"},"WebDeliveryAllowedFlag":{"locationName":"webDeliveryAllowedFlag"}}},"Scte35TimeSignalApos":{"locationName":"scte35TimeSignalApos","type":"structure","members":{"AdAvailOffset":{"locationName":"adAvailOffset","type":"integer"},"NoRegionalBlackoutFlag":{"locationName":"noRegionalBlackoutFlag"},"WebDeliveryAllowedFlag":{"locationName":"webDeliveryAllowedFlag"}}}}}}},"BlackoutSlate":{"locationName":"blackoutSlate","type":"structure","members":{"BlackoutSlateImage":{"shape":"S1k","locationName":"blackoutSlateImage"},"NetworkEndBlackout":{"locationName":"networkEndBlackout"},"NetworkEndBlackoutImage":{"shape":"S1k","locationName":"networkEndBlackoutImage"},"NetworkId":{"locationName":"networkId"},"State":{"locationName":"state"}}},"CaptionDescriptions":{"locationName":"captionDescriptions","type":"list","member":{"type":"structure","members":{"CaptionSelectorName":{"locationName":"captionSelectorName"},"DestinationSettings":{"locationName":"destinationSettings","type":"structure","members":{"AribDestinationSettings":{"locationName":"aribDestinationSettings","type":"structure","members":{}},"BurnInDestinationSettings":{"locationName":"burnInDestinationSettings","type":"structure","members":{"Alignment":{"locationName":"alignment"},"BackgroundColor":{"locationName":"backgroundColor"},"BackgroundOpacity":{"locationName":"backgroundOpacity","type":"integer"},"Font":{"shape":"S1k","locationName":"font"},"FontColor":{"locationName":"fontColor"},"FontOpacity":{"locationName":"fontOpacity","type":"integer"},"FontResolution":{"locationName":"fontResolution","type":"integer"},"FontSize":{"locationName":"fontSize"},"OutlineColor":{"locationName":"outlineColor"},"OutlineSize":{"locationName":"outlineSize","type":"integer"},"ShadowColor":{"locationName":"shadowColor"},"ShadowOpacity":{"locationName":"shadowOpacity","type":"integer"},"ShadowXOffset":{"locationName":"shadowXOffset","type":"integer"},"ShadowYOffset":{"locationName":"shadowYOffset","type":"integer"},"TeletextGridControl":{"locationName":"teletextGridControl"},"XPosition":{"locationName":"xPosition","type":"integer"},"YPosition":{"locationName":"yPosition","type":"integer"}}},"DvbSubDestinationSettings":{"locationName":"dvbSubDestinationSettings","type":"structure","members":{"Alignment":{"locationName":"alignment"},"BackgroundColor":{"locationName":"backgroundColor"},"BackgroundOpacity":{"locationName":"backgroundOpacity","type":"integer"},"Font":{"shape":"S1k","locationName":"font"},"FontColor":{"locationName":"fontColor"},"FontOpacity":{"locationName":"fontOpacity","type":"integer"},"FontResolution":{"locationName":"fontResolution","type":"integer"},"FontSize":{"locationName":"fontSize"},"OutlineColor":{"locationName":"outlineColor"},"OutlineSize":{"locationName":"outlineSize","type":"integer"},"ShadowColor":{"locationName":"shadowColor"},"ShadowOpacity":{"locationName":"shadowOpacity","type":"integer"},"ShadowXOffset":{"locationName":"shadowXOffset","type":"integer"},"ShadowYOffset":{"locationName":"shadowYOffset","type":"integer"},"TeletextGridControl":{"locationName":"teletextGridControl"},"XPosition":{"locationName":"xPosition","type":"integer"},"YPosition":{"locationName":"yPosition","type":"integer"}}},"EbuTtDDestinationSettings":{"locationName":"ebuTtDDestinationSettings","type":"structure","members":{"CopyrightHolder":{"locationName":"copyrightHolder"},"FillLineGap":{"locationName":"fillLineGap"},"FontFamily":{"locationName":"fontFamily"},"StyleControl":{"locationName":"styleControl"}}},"EmbeddedDestinationSettings":{"locationName":"embeddedDestinationSettings","type":"structure","members":{}},"EmbeddedPlusScte20DestinationSettings":{"locationName":"embeddedPlusScte20DestinationSettings","type":"structure","members":{}},"RtmpCaptionInfoDestinationSettings":{"locationName":"rtmpCaptionInfoDestinationSettings","type":"structure","members":{}},"Scte20PlusEmbeddedDestinationSettings":{"locationName":"scte20PlusEmbeddedDestinationSettings","type":"structure","members":{}},"Scte27DestinationSettings":{"locationName":"scte27DestinationSettings","type":"structure","members":{}},"SmpteTtDestinationSettings":{"locationName":"smpteTtDestinationSettings","type":"structure","members":{}},"TeletextDestinationSettings":{"locationName":"teletextDestinationSettings","type":"structure","members":{}},"TtmlDestinationSettings":{"locationName":"ttmlDestinationSettings","type":"structure","members":{"StyleControl":{"locationName":"styleControl"}}},"WebvttDestinationSettings":{"locationName":"webvttDestinationSettings","type":"structure","members":{"StyleControl":{"locationName":"styleControl"}}}}},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"},"Name":{"locationName":"name"}},"required":["CaptionSelectorName","Name"]}},"FeatureActivations":{"locationName":"featureActivations","type":"structure","members":{"InputPrepareScheduleActions":{"locationName":"inputPrepareScheduleActions"}}},"GlobalConfiguration":{"locationName":"globalConfiguration","type":"structure","members":{"InitialAudioGain":{"locationName":"initialAudioGain","type":"integer"},"InputEndAction":{"locationName":"inputEndAction"},"InputLossBehavior":{"locationName":"inputLossBehavior","type":"structure","members":{"BlackFrameMsec":{"locationName":"blackFrameMsec","type":"integer"},"InputLossImageColor":{"locationName":"inputLossImageColor"},"InputLossImageSlate":{"shape":"S1k","locationName":"inputLossImageSlate"},"InputLossImageType":{"locationName":"inputLossImageType"},"RepeatFrameMsec":{"locationName":"repeatFrameMsec","type":"integer"}}},"OutputLockingMode":{"locationName":"outputLockingMode"},"OutputTimingSource":{"locationName":"outputTimingSource"},"SupportLowFramerateInputs":{"locationName":"supportLowFramerateInputs"}}},"MotionGraphicsConfiguration":{"locationName":"motionGraphicsConfiguration","type":"structure","members":{"MotionGraphicsInsertion":{"locationName":"motionGraphicsInsertion"},"MotionGraphicsSettings":{"locationName":"motionGraphicsSettings","type":"structure","members":{"HtmlMotionGraphicsSettings":{"locationName":"htmlMotionGraphicsSettings","type":"structure","members":{}}}}},"required":["MotionGraphicsSettings"]},"NielsenConfiguration":{"locationName":"nielsenConfiguration","type":"structure","members":{"DistributorId":{"locationName":"distributorId"},"NielsenPcmToId3Tagging":{"locationName":"nielsenPcmToId3Tagging"}}},"OutputGroups":{"locationName":"outputGroups","type":"list","member":{"type":"structure","members":{"Name":{"locationName":"name"},"OutputGroupSettings":{"locationName":"outputGroupSettings","type":"structure","members":{"ArchiveGroupSettings":{"locationName":"archiveGroupSettings","type":"structure","members":{"ArchiveCdnSettings":{"locationName":"archiveCdnSettings","type":"structure","members":{"ArchiveS3Settings":{"locationName":"archiveS3Settings","type":"structure","members":{"CannedAcl":{"locationName":"cannedAcl"}}}}},"Destination":{"shape":"S6c","locationName":"destination"},"RolloverInterval":{"locationName":"rolloverInterval","type":"integer"}},"required":["Destination"]},"FrameCaptureGroupSettings":{"locationName":"frameCaptureGroupSettings","type":"structure","members":{"Destination":{"shape":"S6c","locationName":"destination"},"FrameCaptureCdnSettings":{"locationName":"frameCaptureCdnSettings","type":"structure","members":{"FrameCaptureS3Settings":{"locationName":"frameCaptureS3Settings","type":"structure","members":{"CannedAcl":{"locationName":"cannedAcl"}}}}}},"required":["Destination"]},"HlsGroupSettings":{"locationName":"hlsGroupSettings","type":"structure","members":{"AdMarkers":{"locationName":"adMarkers","type":"list","member":{}},"BaseUrlContent":{"locationName":"baseUrlContent"},"BaseUrlContent1":{"locationName":"baseUrlContent1"},"BaseUrlManifest":{"locationName":"baseUrlManifest"},"BaseUrlManifest1":{"locationName":"baseUrlManifest1"},"CaptionLanguageMappings":{"locationName":"captionLanguageMappings","type":"list","member":{"type":"structure","members":{"CaptionChannel":{"locationName":"captionChannel","type":"integer"},"LanguageCode":{"locationName":"languageCode"},"LanguageDescription":{"locationName":"languageDescription"}},"required":["LanguageCode","LanguageDescription","CaptionChannel"]}},"CaptionLanguageSetting":{"locationName":"captionLanguageSetting"},"ClientCache":{"locationName":"clientCache"},"CodecSpecification":{"locationName":"codecSpecification"},"ConstantIv":{"locationName":"constantIv"},"Destination":{"shape":"S6c","locationName":"destination"},"DirectoryStructure":{"locationName":"directoryStructure"},"DiscontinuityTags":{"locationName":"discontinuityTags"},"EncryptionType":{"locationName":"encryptionType"},"HlsCdnSettings":{"locationName":"hlsCdnSettings","type":"structure","members":{"HlsAkamaiSettings":{"locationName":"hlsAkamaiSettings","type":"structure","members":{"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"HttpTransferMode":{"locationName":"httpTransferMode"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"},"Salt":{"locationName":"salt"},"Token":{"locationName":"token"}}},"HlsBasicPutSettings":{"locationName":"hlsBasicPutSettings","type":"structure","members":{"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"}}},"HlsMediaStoreSettings":{"locationName":"hlsMediaStoreSettings","type":"structure","members":{"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"MediaStoreStorageClass":{"locationName":"mediaStoreStorageClass"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"}}},"HlsS3Settings":{"locationName":"hlsS3Settings","type":"structure","members":{"CannedAcl":{"locationName":"cannedAcl"}}},"HlsWebdavSettings":{"locationName":"hlsWebdavSettings","type":"structure","members":{"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"HttpTransferMode":{"locationName":"httpTransferMode"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"}}}}},"HlsId3SegmentTagging":{"locationName":"hlsId3SegmentTagging"},"IFrameOnlyPlaylists":{"locationName":"iFrameOnlyPlaylists"},"IncompleteSegmentBehavior":{"locationName":"incompleteSegmentBehavior"},"IndexNSegments":{"locationName":"indexNSegments","type":"integer"},"InputLossAction":{"locationName":"inputLossAction"},"IvInManifest":{"locationName":"ivInManifest"},"IvSource":{"locationName":"ivSource"},"KeepSegments":{"locationName":"keepSegments","type":"integer"},"KeyFormat":{"locationName":"keyFormat"},"KeyFormatVersions":{"locationName":"keyFormatVersions"},"KeyProviderSettings":{"locationName":"keyProviderSettings","type":"structure","members":{"StaticKeySettings":{"locationName":"staticKeySettings","type":"structure","members":{"KeyProviderServer":{"shape":"S1k","locationName":"keyProviderServer"},"StaticKeyValue":{"locationName":"staticKeyValue"}},"required":["StaticKeyValue"]}}},"ManifestCompression":{"locationName":"manifestCompression"},"ManifestDurationFormat":{"locationName":"manifestDurationFormat"},"MinSegmentLength":{"locationName":"minSegmentLength","type":"integer"},"Mode":{"locationName":"mode"},"OutputSelection":{"locationName":"outputSelection"},"ProgramDateTime":{"locationName":"programDateTime"},"ProgramDateTimeClock":{"locationName":"programDateTimeClock"},"ProgramDateTimePeriod":{"locationName":"programDateTimePeriod","type":"integer"},"RedundantManifest":{"locationName":"redundantManifest"},"SegmentLength":{"locationName":"segmentLength","type":"integer"},"SegmentationMode":{"locationName":"segmentationMode"},"SegmentsPerSubdirectory":{"locationName":"segmentsPerSubdirectory","type":"integer"},"StreamInfResolution":{"locationName":"streamInfResolution"},"TimedMetadataId3Frame":{"locationName":"timedMetadataId3Frame"},"TimedMetadataId3Period":{"locationName":"timedMetadataId3Period","type":"integer"},"TimestampDeltaMilliseconds":{"locationName":"timestampDeltaMilliseconds","type":"integer"},"TsFileMode":{"locationName":"tsFileMode"}},"required":["Destination"]},"MediaPackageGroupSettings":{"locationName":"mediaPackageGroupSettings","type":"structure","members":{"Destination":{"shape":"S6c","locationName":"destination"}},"required":["Destination"]},"MsSmoothGroupSettings":{"locationName":"msSmoothGroupSettings","type":"structure","members":{"AcquisitionPointId":{"locationName":"acquisitionPointId"},"AudioOnlyTimecodeControl":{"locationName":"audioOnlyTimecodeControl"},"CertificateMode":{"locationName":"certificateMode"},"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"Destination":{"shape":"S6c","locationName":"destination"},"EventId":{"locationName":"eventId"},"EventIdMode":{"locationName":"eventIdMode"},"EventStopBehavior":{"locationName":"eventStopBehavior"},"FilecacheDuration":{"locationName":"filecacheDuration","type":"integer"},"FragmentLength":{"locationName":"fragmentLength","type":"integer"},"InputLossAction":{"locationName":"inputLossAction"},"NumRetries":{"locationName":"numRetries","type":"integer"},"RestartDelay":{"locationName":"restartDelay","type":"integer"},"SegmentationMode":{"locationName":"segmentationMode"},"SendDelayMs":{"locationName":"sendDelayMs","type":"integer"},"SparseTrackType":{"locationName":"sparseTrackType"},"StreamManifestBehavior":{"locationName":"streamManifestBehavior"},"TimestampOffset":{"locationName":"timestampOffset"},"TimestampOffsetMode":{"locationName":"timestampOffsetMode"}},"required":["Destination"]},"MultiplexGroupSettings":{"locationName":"multiplexGroupSettings","type":"structure","members":{}},"RtmpGroupSettings":{"locationName":"rtmpGroupSettings","type":"structure","members":{"AdMarkers":{"locationName":"adMarkers","type":"list","member":{}},"AuthenticationScheme":{"locationName":"authenticationScheme"},"CacheFullBehavior":{"locationName":"cacheFullBehavior"},"CacheLength":{"locationName":"cacheLength","type":"integer"},"CaptionData":{"locationName":"captionData"},"InputLossAction":{"locationName":"inputLossAction"},"RestartDelay":{"locationName":"restartDelay","type":"integer"}}},"UdpGroupSettings":{"locationName":"udpGroupSettings","type":"structure","members":{"InputLossAction":{"locationName":"inputLossAction"},"TimedMetadataId3Frame":{"locationName":"timedMetadataId3Frame"},"TimedMetadataId3Period":{"locationName":"timedMetadataId3Period","type":"integer"}}}}},"Outputs":{"locationName":"outputs","type":"list","member":{"type":"structure","members":{"AudioDescriptionNames":{"shape":"S5","locationName":"audioDescriptionNames"},"CaptionDescriptionNames":{"shape":"S5","locationName":"captionDescriptionNames"},"OutputName":{"locationName":"outputName"},"OutputSettings":{"locationName":"outputSettings","type":"structure","members":{"ArchiveOutputSettings":{"locationName":"archiveOutputSettings","type":"structure","members":{"ContainerSettings":{"locationName":"containerSettings","type":"structure","members":{"M2tsSettings":{"shape":"S8j","locationName":"m2tsSettings"},"RawSettings":{"locationName":"rawSettings","type":"structure","members":{}}}},"Extension":{"locationName":"extension"},"NameModifier":{"locationName":"nameModifier"}},"required":["ContainerSettings"]},"FrameCaptureOutputSettings":{"locationName":"frameCaptureOutputSettings","type":"structure","members":{"NameModifier":{"locationName":"nameModifier"}}},"HlsOutputSettings":{"locationName":"hlsOutputSettings","type":"structure","members":{"H265PackagingType":{"locationName":"h265PackagingType"},"HlsSettings":{"locationName":"hlsSettings","type":"structure","members":{"AudioOnlyHlsSettings":{"locationName":"audioOnlyHlsSettings","type":"structure","members":{"AudioGroupId":{"locationName":"audioGroupId"},"AudioOnlyImage":{"shape":"S1k","locationName":"audioOnlyImage"},"AudioTrackType":{"locationName":"audioTrackType"},"SegmentType":{"locationName":"segmentType"}}},"Fmp4HlsSettings":{"locationName":"fmp4HlsSettings","type":"structure","members":{"AudioRenditionSets":{"locationName":"audioRenditionSets"},"NielsenId3Behavior":{"locationName":"nielsenId3Behavior"},"TimedMetadataBehavior":{"locationName":"timedMetadataBehavior"}}},"FrameCaptureHlsSettings":{"locationName":"frameCaptureHlsSettings","type":"structure","members":{}},"StandardHlsSettings":{"locationName":"standardHlsSettings","type":"structure","members":{"AudioRenditionSets":{"locationName":"audioRenditionSets"},"M3u8Settings":{"locationName":"m3u8Settings","type":"structure","members":{"AudioFramesPerPes":{"locationName":"audioFramesPerPes","type":"integer"},"AudioPids":{"locationName":"audioPids"},"EcmPid":{"locationName":"ecmPid"},"NielsenId3Behavior":{"locationName":"nielsenId3Behavior"},"PatInterval":{"locationName":"patInterval","type":"integer"},"PcrControl":{"locationName":"pcrControl"},"PcrPeriod":{"locationName":"pcrPeriod","type":"integer"},"PcrPid":{"locationName":"pcrPid"},"PmtInterval":{"locationName":"pmtInterval","type":"integer"},"PmtPid":{"locationName":"pmtPid"},"ProgramNum":{"locationName":"programNum","type":"integer"},"Scte35Behavior":{"locationName":"scte35Behavior"},"Scte35Pid":{"locationName":"scte35Pid"},"TimedMetadataBehavior":{"locationName":"timedMetadataBehavior"},"TimedMetadataPid":{"locationName":"timedMetadataPid"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"VideoPid":{"locationName":"videoPid"}}}},"required":["M3u8Settings"]}}},"NameModifier":{"locationName":"nameModifier"},"SegmentModifier":{"locationName":"segmentModifier"}},"required":["HlsSettings"]},"MediaPackageOutputSettings":{"locationName":"mediaPackageOutputSettings","type":"structure","members":{}},"MsSmoothOutputSettings":{"locationName":"msSmoothOutputSettings","type":"structure","members":{"H265PackagingType":{"locationName":"h265PackagingType"},"NameModifier":{"locationName":"nameModifier"}}},"MultiplexOutputSettings":{"locationName":"multiplexOutputSettings","type":"structure","members":{"Destination":{"shape":"S6c","locationName":"destination"}},"required":["Destination"]},"RtmpOutputSettings":{"locationName":"rtmpOutputSettings","type":"structure","members":{"CertificateMode":{"locationName":"certificateMode"},"ConnectionRetryInterval":{"locationName":"connectionRetryInterval","type":"integer"},"Destination":{"shape":"S6c","locationName":"destination"},"NumRetries":{"locationName":"numRetries","type":"integer"}},"required":["Destination"]},"UdpOutputSettings":{"locationName":"udpOutputSettings","type":"structure","members":{"BufferMsec":{"locationName":"bufferMsec","type":"integer"},"ContainerSettings":{"locationName":"containerSettings","type":"structure","members":{"M2tsSettings":{"shape":"S8j","locationName":"m2tsSettings"}}},"Destination":{"shape":"S6c","locationName":"destination"},"FecOutputSettings":{"locationName":"fecOutputSettings","type":"structure","members":{"ColumnDepth":{"locationName":"columnDepth","type":"integer"},"IncludeFec":{"locationName":"includeFec"},"RowLength":{"locationName":"rowLength","type":"integer"}}}},"required":["Destination","ContainerSettings"]}}},"VideoDescriptionName":{"locationName":"videoDescriptionName"}},"required":["OutputSettings"]}}},"required":["Outputs","OutputGroupSettings"]}},"TimecodeConfig":{"locationName":"timecodeConfig","type":"structure","members":{"Source":{"locationName":"source"},"SyncThreshold":{"locationName":"syncThreshold","type":"integer"}},"required":["Source"]},"VideoDescriptions":{"locationName":"videoDescriptions","type":"list","member":{"type":"structure","members":{"CodecSettings":{"locationName":"codecSettings","type":"structure","members":{"FrameCaptureSettings":{"locationName":"frameCaptureSettings","type":"structure","members":{"CaptureInterval":{"locationName":"captureInterval","type":"integer"},"CaptureIntervalUnits":{"locationName":"captureIntervalUnits"}}},"H264Settings":{"locationName":"h264Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"AfdSignaling":{"locationName":"afdSignaling"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BufFillPct":{"locationName":"bufFillPct","type":"integer"},"BufSize":{"locationName":"bufSize","type":"integer"},"ColorMetadata":{"locationName":"colorMetadata"},"ColorSpaceSettings":{"locationName":"colorSpaceSettings","type":"structure","members":{"ColorSpacePassthroughSettings":{"shape":"Saq","locationName":"colorSpacePassthroughSettings"},"Rec601Settings":{"shape":"Sar","locationName":"rec601Settings"},"Rec709Settings":{"shape":"Sas","locationName":"rec709Settings"}}},"EntropyEncoding":{"locationName":"entropyEncoding"},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"TemporalFilterSettings":{"shape":"Sav","locationName":"temporalFilterSettings"}}},"FixedAfd":{"locationName":"fixedAfd"},"FlickerAq":{"locationName":"flickerAq"},"ForceFieldPictures":{"locationName":"forceFieldPictures"},"FramerateControl":{"locationName":"framerateControl"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopBReference":{"locationName":"gopBReference"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopNumBFrames":{"locationName":"gopNumBFrames","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"Level":{"locationName":"level"},"LookAheadRateControl":{"locationName":"lookAheadRateControl"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"NumRefFrames":{"locationName":"numRefFrames","type":"integer"},"ParControl":{"locationName":"parControl"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"Profile":{"locationName":"profile"},"QualityLevel":{"locationName":"qualityLevel"},"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"RateControlMode":{"locationName":"rateControlMode"},"ScanType":{"locationName":"scanType"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"Slices":{"locationName":"slices","type":"integer"},"Softness":{"locationName":"softness","type":"integer"},"SpatialAq":{"locationName":"spatialAq"},"SubgopLength":{"locationName":"subgopLength"},"Syntax":{"locationName":"syntax"},"TemporalAq":{"locationName":"temporalAq"},"TimecodeInsertion":{"locationName":"timecodeInsertion"}}},"H265Settings":{"locationName":"h265Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"AfdSignaling":{"locationName":"afdSignaling"},"AlternativeTransferFunction":{"locationName":"alternativeTransferFunction"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BufSize":{"locationName":"bufSize","type":"integer"},"ColorMetadata":{"locationName":"colorMetadata"},"ColorSpaceSettings":{"locationName":"colorSpaceSettings","type":"structure","members":{"ColorSpacePassthroughSettings":{"shape":"Saq","locationName":"colorSpacePassthroughSettings"},"Hdr10Settings":{"shape":"Sbt","locationName":"hdr10Settings"},"Rec601Settings":{"shape":"Sar","locationName":"rec601Settings"},"Rec709Settings":{"shape":"Sas","locationName":"rec709Settings"}}},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"TemporalFilterSettings":{"shape":"Sav","locationName":"temporalFilterSettings"}}},"FixedAfd":{"locationName":"fixedAfd"},"FlickerAq":{"locationName":"flickerAq"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"Level":{"locationName":"level"},"LookAheadRateControl":{"locationName":"lookAheadRateControl"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"MinIInterval":{"locationName":"minIInterval","type":"integer"},"ParDenominator":{"locationName":"parDenominator","type":"integer"},"ParNumerator":{"locationName":"parNumerator","type":"integer"},"Profile":{"locationName":"profile"},"QvbrQualityLevel":{"locationName":"qvbrQualityLevel","type":"integer"},"RateControlMode":{"locationName":"rateControlMode"},"ScanType":{"locationName":"scanType"},"SceneChangeDetect":{"locationName":"sceneChangeDetect"},"Slices":{"locationName":"slices","type":"integer"},"Tier":{"locationName":"tier"},"TimecodeInsertion":{"locationName":"timecodeInsertion"}},"required":["FramerateNumerator","FramerateDenominator"]},"Mpeg2Settings":{"locationName":"mpeg2Settings","type":"structure","members":{"AdaptiveQuantization":{"locationName":"adaptiveQuantization"},"AfdSignaling":{"locationName":"afdSignaling"},"ColorMetadata":{"locationName":"colorMetadata"},"ColorSpace":{"locationName":"colorSpace"},"DisplayAspectRatio":{"locationName":"displayAspectRatio"},"FilterSettings":{"locationName":"filterSettings","type":"structure","members":{"TemporalFilterSettings":{"shape":"Sav","locationName":"temporalFilterSettings"}}},"FixedAfd":{"locationName":"fixedAfd"},"FramerateDenominator":{"locationName":"framerateDenominator","type":"integer"},"FramerateNumerator":{"locationName":"framerateNumerator","type":"integer"},"GopClosedCadence":{"locationName":"gopClosedCadence","type":"integer"},"GopNumBFrames":{"locationName":"gopNumBFrames","type":"integer"},"GopSize":{"locationName":"gopSize","type":"double"},"GopSizeUnits":{"locationName":"gopSizeUnits"},"ScanType":{"locationName":"scanType"},"SubgopLength":{"locationName":"subgopLength"},"TimecodeInsertion":{"locationName":"timecodeInsertion"}},"required":["FramerateNumerator","FramerateDenominator"]}}},"Height":{"locationName":"height","type":"integer"},"Name":{"locationName":"name"},"RespondToAfd":{"locationName":"respondToAfd"},"ScalingBehavior":{"locationName":"scalingBehavior"},"Sharpness":{"locationName":"sharpness","type":"integer"},"Width":{"locationName":"width","type":"integer"}},"required":["Name"]}}},"required":["VideoDescriptions","AudioDescriptions","OutputGroups","TimecodeConfig"]},"S6c":{"type":"structure","members":{"DestinationRefId":{"locationName":"destinationRefId"}}},"S8j":{"type":"structure","members":{"AbsentInputAudioBehavior":{"locationName":"absentInputAudioBehavior"},"Arib":{"locationName":"arib"},"AribCaptionsPid":{"locationName":"aribCaptionsPid"},"AribCaptionsPidControl":{"locationName":"aribCaptionsPidControl"},"AudioBufferModel":{"locationName":"audioBufferModel"},"AudioFramesPerPes":{"locationName":"audioFramesPerPes","type":"integer"},"AudioPids":{"locationName":"audioPids"},"AudioStreamType":{"locationName":"audioStreamType"},"Bitrate":{"locationName":"bitrate","type":"integer"},"BufferModel":{"locationName":"bufferModel"},"CcDescriptor":{"locationName":"ccDescriptor"},"DvbNitSettings":{"locationName":"dvbNitSettings","type":"structure","members":{"NetworkId":{"locationName":"networkId","type":"integer"},"NetworkName":{"locationName":"networkName"},"RepInterval":{"locationName":"repInterval","type":"integer"}},"required":["NetworkName","NetworkId"]},"DvbSdtSettings":{"locationName":"dvbSdtSettings","type":"structure","members":{"OutputSdt":{"locationName":"outputSdt"},"RepInterval":{"locationName":"repInterval","type":"integer"},"ServiceName":{"locationName":"serviceName"},"ServiceProviderName":{"locationName":"serviceProviderName"}}},"DvbSubPids":{"locationName":"dvbSubPids"},"DvbTdtSettings":{"locationName":"dvbTdtSettings","type":"structure","members":{"RepInterval":{"locationName":"repInterval","type":"integer"}}},"DvbTeletextPid":{"locationName":"dvbTeletextPid"},"Ebif":{"locationName":"ebif"},"EbpAudioInterval":{"locationName":"ebpAudioInterval"},"EbpLookaheadMs":{"locationName":"ebpLookaheadMs","type":"integer"},"EbpPlacement":{"locationName":"ebpPlacement"},"EcmPid":{"locationName":"ecmPid"},"EsRateInPes":{"locationName":"esRateInPes"},"EtvPlatformPid":{"locationName":"etvPlatformPid"},"EtvSignalPid":{"locationName":"etvSignalPid"},"FragmentTime":{"locationName":"fragmentTime","type":"double"},"Klv":{"locationName":"klv"},"KlvDataPids":{"locationName":"klvDataPids"},"NielsenId3Behavior":{"locationName":"nielsenId3Behavior"},"NullPacketBitrate":{"locationName":"nullPacketBitrate","type":"double"},"PatInterval":{"locationName":"patInterval","type":"integer"},"PcrControl":{"locationName":"pcrControl"},"PcrPeriod":{"locationName":"pcrPeriod","type":"integer"},"PcrPid":{"locationName":"pcrPid"},"PmtInterval":{"locationName":"pmtInterval","type":"integer"},"PmtPid":{"locationName":"pmtPid"},"ProgramNum":{"locationName":"programNum","type":"integer"},"RateMode":{"locationName":"rateMode"},"Scte27Pids":{"locationName":"scte27Pids"},"Scte35Control":{"locationName":"scte35Control"},"Scte35Pid":{"locationName":"scte35Pid"},"SegmentationMarkers":{"locationName":"segmentationMarkers"},"SegmentationStyle":{"locationName":"segmentationStyle"},"SegmentationTime":{"locationName":"segmentationTime","type":"double"},"TimedMetadataBehavior":{"locationName":"timedMetadataBehavior"},"TimedMetadataPid":{"locationName":"timedMetadataPid"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"VideoPid":{"locationName":"videoPid"}}},"Saq":{"type":"structure","members":{}},"Sar":{"type":"structure","members":{}},"Sas":{"type":"structure","members":{}},"Sav":{"type":"structure","members":{"PostFilterSharpening":{"locationName":"postFilterSharpening"},"Strength":{"locationName":"strength"}}},"Sbt":{"type":"structure","members":{"MaxCll":{"locationName":"maxCll","type":"integer"},"MaxFall":{"locationName":"maxFall","type":"integer"}}},"Scj":{"type":"list","member":{"type":"structure","members":{"AutomaticInputFailoverSettings":{"locationName":"automaticInputFailoverSettings","type":"structure","members":{"ErrorClearTimeMsec":{"locationName":"errorClearTimeMsec","type":"integer"},"FailoverConditions":{"locationName":"failoverConditions","type":"list","member":{"type":"structure","members":{"FailoverConditionSettings":{"locationName":"failoverConditionSettings","type":"structure","members":{"AudioSilenceSettings":{"locationName":"audioSilenceSettings","type":"structure","members":{"AudioSelectorName":{"locationName":"audioSelectorName"},"AudioSilenceThresholdMsec":{"locationName":"audioSilenceThresholdMsec","type":"integer"}},"required":["AudioSelectorName"]},"InputLossSettings":{"locationName":"inputLossSettings","type":"structure","members":{"InputLossThresholdMsec":{"locationName":"inputLossThresholdMsec","type":"integer"}}},"VideoBlackSettings":{"locationName":"videoBlackSettings","type":"structure","members":{"BlackDetectThreshold":{"locationName":"blackDetectThreshold","type":"double"},"VideoBlackThresholdMsec":{"locationName":"videoBlackThresholdMsec","type":"integer"}}}}}}}},"InputPreference":{"locationName":"inputPreference"},"SecondaryInputId":{"locationName":"secondaryInputId"}},"required":["SecondaryInputId"]},"InputAttachmentName":{"locationName":"inputAttachmentName"},"InputId":{"locationName":"inputId"},"InputSettings":{"locationName":"inputSettings","type":"structure","members":{"AudioSelectors":{"locationName":"audioSelectors","type":"list","member":{"type":"structure","members":{"Name":{"locationName":"name"},"SelectorSettings":{"locationName":"selectorSettings","type":"structure","members":{"AudioHlsRenditionSelection":{"locationName":"audioHlsRenditionSelection","type":"structure","members":{"GroupId":{"locationName":"groupId"},"Name":{"locationName":"name"}},"required":["Name","GroupId"]},"AudioLanguageSelection":{"locationName":"audioLanguageSelection","type":"structure","members":{"LanguageCode":{"locationName":"languageCode"},"LanguageSelectionPolicy":{"locationName":"languageSelectionPolicy"}},"required":["LanguageCode"]},"AudioPidSelection":{"locationName":"audioPidSelection","type":"structure","members":{"Pid":{"locationName":"pid","type":"integer"}},"required":["Pid"]},"AudioTrackSelection":{"locationName":"audioTrackSelection","type":"structure","members":{"Tracks":{"locationName":"tracks","type":"list","member":{"type":"structure","members":{"Track":{"locationName":"track","type":"integer"}},"required":["Track"]}}},"required":["Tracks"]}}}},"required":["Name"]}},"CaptionSelectors":{"locationName":"captionSelectors","type":"list","member":{"type":"structure","members":{"LanguageCode":{"locationName":"languageCode"},"Name":{"locationName":"name"},"SelectorSettings":{"locationName":"selectorSettings","type":"structure","members":{"AncillarySourceSettings":{"locationName":"ancillarySourceSettings","type":"structure","members":{"SourceAncillaryChannelNumber":{"locationName":"sourceAncillaryChannelNumber","type":"integer"}}},"AribSourceSettings":{"locationName":"aribSourceSettings","type":"structure","members":{}},"DvbSubSourceSettings":{"locationName":"dvbSubSourceSettings","type":"structure","members":{"OcrLanguage":{"locationName":"ocrLanguage"},"Pid":{"locationName":"pid","type":"integer"}}},"EmbeddedSourceSettings":{"locationName":"embeddedSourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"Scte20Detection":{"locationName":"scte20Detection"},"Source608ChannelNumber":{"locationName":"source608ChannelNumber","type":"integer"},"Source608TrackNumber":{"locationName":"source608TrackNumber","type":"integer"}}},"Scte20SourceSettings":{"locationName":"scte20SourceSettings","type":"structure","members":{"Convert608To708":{"locationName":"convert608To708"},"Source608ChannelNumber":{"locationName":"source608ChannelNumber","type":"integer"}}},"Scte27SourceSettings":{"locationName":"scte27SourceSettings","type":"structure","members":{"OcrLanguage":{"locationName":"ocrLanguage"},"Pid":{"locationName":"pid","type":"integer"}}},"TeletextSourceSettings":{"locationName":"teletextSourceSettings","type":"structure","members":{"OutputRectangle":{"locationName":"outputRectangle","type":"structure","members":{"Height":{"locationName":"height","type":"double"},"LeftOffset":{"locationName":"leftOffset","type":"double"},"TopOffset":{"locationName":"topOffset","type":"double"},"Width":{"locationName":"width","type":"double"}},"required":["TopOffset","Height","Width","LeftOffset"]},"PageNumber":{"locationName":"pageNumber"}}}}}},"required":["Name"]}},"DeblockFilter":{"locationName":"deblockFilter"},"DenoiseFilter":{"locationName":"denoiseFilter"},"FilterStrength":{"locationName":"filterStrength","type":"integer"},"InputFilter":{"locationName":"inputFilter"},"NetworkInputSettings":{"locationName":"networkInputSettings","type":"structure","members":{"HlsInputSettings":{"locationName":"hlsInputSettings","type":"structure","members":{"Bandwidth":{"locationName":"bandwidth","type":"integer"},"BufferSegments":{"locationName":"bufferSegments","type":"integer"},"Retries":{"locationName":"retries","type":"integer"},"RetryInterval":{"locationName":"retryInterval","type":"integer"},"Scte35Source":{"locationName":"scte35Source"}}},"ServerValidation":{"locationName":"serverValidation"}}},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"Smpte2038DataPreference":{"locationName":"smpte2038DataPreference"},"SourceEndBehavior":{"locationName":"sourceEndBehavior"},"VideoSelector":{"locationName":"videoSelector","type":"structure","members":{"ColorSpace":{"locationName":"colorSpace"},"ColorSpaceSettings":{"locationName":"colorSpaceSettings","type":"structure","members":{"Hdr10Settings":{"shape":"Sbt","locationName":"hdr10Settings"}}},"ColorSpaceUsage":{"locationName":"colorSpaceUsage"},"SelectorSettings":{"locationName":"selectorSettings","type":"structure","members":{"VideoSelectorPid":{"locationName":"videoSelectorPid","type":"structure","members":{"Pid":{"locationName":"pid","type":"integer"}}},"VideoSelectorProgramId":{"locationName":"videoSelectorProgramId","type":"structure","members":{"ProgramId":{"locationName":"programId","type":"integer"}}}}}}}}}}}},"Se6":{"type":"structure","members":{"Codec":{"locationName":"codec"},"MaximumBitrate":{"locationName":"maximumBitrate"},"Resolution":{"locationName":"resolution"}}},"Seb":{"type":"map","key":{},"value":{}},"See":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CdiInputSpecification":{"shape":"S22","locationName":"cdiInputSpecification"},"ChannelClass":{"locationName":"channelClass"},"Destinations":{"shape":"S25","locationName":"destinations"},"EgressEndpoints":{"shape":"Sef","locationName":"egressEndpoints"},"EncoderSettings":{"shape":"S2d","locationName":"encoderSettings"},"Id":{"locationName":"id"},"InputAttachments":{"shape":"Scj","locationName":"inputAttachments"},"InputSpecification":{"shape":"Se6","locationName":"inputSpecification"},"LogLevel":{"locationName":"logLevel"},"Name":{"locationName":"name"},"PipelineDetails":{"shape":"Seh","locationName":"pipelineDetails"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"RoleArn":{"locationName":"roleArn"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"Vpc":{"shape":"Sek","locationName":"vpc"}}},"Sef":{"type":"list","member":{"type":"structure","members":{"SourceIp":{"locationName":"sourceIp"}}}},"Seh":{"type":"list","member":{"type":"structure","members":{"ActiveInputAttachmentName":{"locationName":"activeInputAttachmentName"},"ActiveInputSwitchActionName":{"locationName":"activeInputSwitchActionName"},"ActiveMotionGraphicsActionName":{"locationName":"activeMotionGraphicsActionName"},"ActiveMotionGraphicsUri":{"locationName":"activeMotionGraphicsUri"},"PipelineId":{"locationName":"pipelineId"}}}},"Sek":{"type":"structure","members":{"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"NetworkInterfaceIds":{"shape":"S5","locationName":"networkInterfaceIds"},"SecurityGroupIds":{"shape":"S5","locationName":"securityGroupIds"},"SubnetIds":{"shape":"S5","locationName":"subnetIds"}}},"Sem":{"type":"list","member":{"type":"structure","members":{"StreamName":{"locationName":"streamName"}}}},"Seo":{"type":"list","member":{"type":"structure","members":{"Id":{"locationName":"id"}}}},"Seq":{"type":"list","member":{"type":"structure","members":{"FlowArn":{"locationName":"flowArn"}}}},"Ses":{"type":"list","member":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}}},"Sex":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AttachedChannels":{"shape":"S5","locationName":"attachedChannels"},"Destinations":{"shape":"Sey","locationName":"destinations"},"Id":{"locationName":"id"},"InputClass":{"locationName":"inputClass"},"InputDevices":{"shape":"Seo","locationName":"inputDevices"},"InputPartnerIds":{"shape":"S5","locationName":"inputPartnerIds"},"InputSourceType":{"locationName":"inputSourceType"},"MediaConnectFlows":{"shape":"Sf3","locationName":"mediaConnectFlows"},"Name":{"locationName":"name"},"RoleArn":{"locationName":"roleArn"},"SecurityGroups":{"shape":"S5","locationName":"securityGroups"},"Sources":{"shape":"Sf5","locationName":"sources"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"Type":{"locationName":"type"}}},"Sey":{"type":"list","member":{"type":"structure","members":{"Ip":{"locationName":"ip"},"Port":{"locationName":"port"},"Url":{"locationName":"url"},"Vpc":{"locationName":"vpc","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"NetworkInterfaceId":{"locationName":"networkInterfaceId"}}}}}},"Sf3":{"type":"list","member":{"type":"structure","members":{"FlowArn":{"locationName":"flowArn"}}}},"Sf5":{"type":"list","member":{"type":"structure","members":{"PasswordParam":{"locationName":"passwordParam"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}}}},"Sf9":{"type":"list","member":{"type":"structure","members":{"Cidr":{"locationName":"cidr"}}}},"Sfc":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"},"Inputs":{"shape":"S5","locationName":"inputs"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"WhitelistRules":{"shape":"Sfe","locationName":"whitelistRules"}}},"Sfe":{"type":"list","member":{"type":"structure","members":{"Cidr":{"locationName":"cidr"}}}},"Sfh":{"type":"structure","members":{"MaximumVideoBufferDelayMilliseconds":{"locationName":"maximumVideoBufferDelayMilliseconds","type":"integer"},"TransportStreamBitrate":{"locationName":"transportStreamBitrate","type":"integer"},"TransportStreamId":{"locationName":"transportStreamId","type":"integer"},"TransportStreamReservedBitrate":{"locationName":"transportStreamReservedBitrate","type":"integer"}},"required":["TransportStreamBitrate","TransportStreamId"]},"Sfm":{"type":"structure","members":{"Arn":{"locationName":"arn"},"AvailabilityZones":{"shape":"S5","locationName":"availabilityZones"},"Destinations":{"shape":"Sfn","locationName":"destinations"},"Id":{"locationName":"id"},"MultiplexSettings":{"shape":"Sfh","locationName":"multiplexSettings"},"Name":{"locationName":"name"},"PipelinesRunningCount":{"locationName":"pipelinesRunningCount","type":"integer"},"ProgramCount":{"locationName":"programCount","type":"integer"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"}}},"Sfn":{"type":"list","member":{"type":"structure","members":{"MediaConnectSettings":{"locationName":"mediaConnectSettings","type":"structure","members":{"EntitlementArn":{"locationName":"entitlementArn"}}}}}},"Sfs":{"type":"structure","members":{"PreferredChannelPipeline":{"locationName":"preferredChannelPipeline"},"ProgramNumber":{"locationName":"programNumber","type":"integer"},"ServiceDescriptor":{"locationName":"serviceDescriptor","type":"structure","members":{"ProviderName":{"locationName":"providerName"},"ServiceName":{"locationName":"serviceName"}},"required":["ProviderName","ServiceName"]},"VideoSettings":{"locationName":"videoSettings","type":"structure","members":{"ConstantBitrate":{"locationName":"constantBitrate","type":"integer"},"StatmuxSettings":{"locationName":"statmuxSettings","type":"structure","members":{"MaximumBitrate":{"locationName":"maximumBitrate","type":"integer"},"MinimumBitrate":{"locationName":"minimumBitrate","type":"integer"},"Priority":{"locationName":"priority","type":"integer"}}}}}},"required":["ProgramNumber"]},"Sg1":{"type":"structure","members":{"ChannelId":{"locationName":"channelId"},"MultiplexProgramSettings":{"shape":"Sfs","locationName":"multiplexProgramSettings"},"PacketIdentifiersMap":{"shape":"Sg2","locationName":"packetIdentifiersMap"},"PipelineDetails":{"shape":"Sg4","locationName":"pipelineDetails"},"ProgramName":{"locationName":"programName"}}},"Sg2":{"type":"structure","members":{"AudioPids":{"shape":"Sg3","locationName":"audioPids"},"DvbSubPids":{"shape":"Sg3","locationName":"dvbSubPids"},"DvbTeletextPid":{"locationName":"dvbTeletextPid","type":"integer"},"EtvPlatformPid":{"locationName":"etvPlatformPid","type":"integer"},"EtvSignalPid":{"locationName":"etvSignalPid","type":"integer"},"KlvDataPids":{"shape":"Sg3","locationName":"klvDataPids"},"PcrPid":{"locationName":"pcrPid","type":"integer"},"PmtPid":{"locationName":"pmtPid","type":"integer"},"PrivateMetadataPid":{"locationName":"privateMetadataPid","type":"integer"},"Scte27Pids":{"shape":"Sg3","locationName":"scte27Pids"},"Scte35Pid":{"locationName":"scte35Pid","type":"integer"},"TimedMetadataPid":{"locationName":"timedMetadataPid","type":"integer"},"VideoPid":{"locationName":"videoPid","type":"integer"}}},"Sg3":{"type":"list","member":{"type":"integer"}},"Sg4":{"type":"list","member":{"type":"structure","members":{"ActiveChannelPipeline":{"locationName":"activeChannelPipeline"},"PipelineId":{"locationName":"pipelineId"}}}},"Sgn":{"type":"structure","members":{"ChannelClass":{"locationName":"channelClass"},"Codec":{"locationName":"codec"},"MaximumBitrate":{"locationName":"maximumBitrate"},"MaximumFramerate":{"locationName":"maximumFramerate"},"Resolution":{"locationName":"resolution"},"ResourceType":{"locationName":"resourceType"},"SpecialFeature":{"locationName":"specialFeature"},"VideoQuality":{"locationName":"videoQuality"}}},"Sh8":{"type":"structure","members":{"ActiveInput":{"locationName":"activeInput"},"ConfiguredInput":{"locationName":"configuredInput"},"DeviceState":{"locationName":"deviceState"},"Framerate":{"locationName":"framerate","type":"double"},"Height":{"locationName":"height","type":"integer"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"ScanType":{"locationName":"scanType"},"Width":{"locationName":"width","type":"integer"}}},"Shd":{"type":"structure","members":{"DnsAddresses":{"shape":"S5","locationName":"dnsAddresses"},"Gateway":{"locationName":"gateway"},"IpAddress":{"locationName":"ipAddress"},"IpScheme":{"locationName":"ipScheme"},"SubnetMask":{"locationName":"subnetMask"}}},"Shg":{"type":"structure","members":{"ActiveInput":{"locationName":"activeInput"},"ConfiguredInput":{"locationName":"configuredInput"},"DeviceState":{"locationName":"deviceState"},"Framerate":{"locationName":"framerate","type":"double"},"Height":{"locationName":"height","type":"integer"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"},"ScanType":{"locationName":"scanType"},"Width":{"locationName":"width","type":"integer"}}},"Sj0":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Count":{"locationName":"count","type":"integer"},"CurrencyCode":{"locationName":"currencyCode"},"Duration":{"locationName":"duration","type":"integer"},"DurationUnits":{"locationName":"durationUnits"},"End":{"locationName":"end"},"FixedPrice":{"locationName":"fixedPrice","type":"double"},"Name":{"locationName":"name"},"OfferingDescription":{"locationName":"offeringDescription"},"OfferingId":{"locationName":"offeringId"},"OfferingType":{"locationName":"offeringType"},"Region":{"locationName":"region"},"ReservationId":{"locationName":"reservationId"},"ResourceSpecification":{"shape":"Sgn","locationName":"resourceSpecification"},"Start":{"locationName":"start"},"State":{"locationName":"state"},"Tags":{"shape":"Seb","locationName":"tags"},"UsagePrice":{"locationName":"usagePrice","type":"double"}}},"Sjq":{"type":"structure","members":{"ConfiguredInput":{"locationName":"configuredInput"},"MaxBitrate":{"locationName":"maxBitrate","type":"integer"}}}}} /***/ }), /* 531 */ @@ -48777,7 +48783,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 543 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"appsync","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"AWSAppSync","serviceFullName":"AWS AppSync","serviceId":"AppSync","signatureVersion":"v4","signingName":"appsync","uid":"appsync-2017-07-25"},"operations":{"AssociateApi":{"http":{"requestUri":"/v1/domainnames/{domainName}/apiassociation"},"input":{"type":"structure","required":["domainName","apiId"],"members":{"domainName":{"location":"uri","locationName":"domainName"},"apiId":{}}},"output":{"type":"structure","members":{"apiAssociation":{"shape":"S5"}}}},"CreateApiCache":{"http":{"requestUri":"/v1/apis/{apiId}/ApiCaches"},"input":{"type":"structure","required":["apiId","ttl","apiCachingBehavior","type"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"ttl":{"type":"long"},"transitEncryptionEnabled":{"type":"boolean"},"atRestEncryptionEnabled":{"type":"boolean"},"apiCachingBehavior":{},"type":{}}},"output":{"type":"structure","members":{"apiCache":{"shape":"Sd"}}}},"CreateApiKey":{"http":{"requestUri":"/v1/apis/{apiId}/apikeys"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"description":{},"expires":{"type":"long"}}},"output":{"type":"structure","members":{"apiKey":{"shape":"Sh"}}}},"CreateDataSource":{"http":{"requestUri":"/v1/apis/{apiId}/datasources"},"input":{"type":"structure","required":["apiId","name","type"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"description":{},"type":{},"serviceRoleArn":{},"dynamodbConfig":{"shape":"Sl"},"lambdaConfig":{"shape":"Sn"},"elasticsearchConfig":{"shape":"So"},"openSearchServiceConfig":{"shape":"Sp"},"httpConfig":{"shape":"Sq"},"relationalDatabaseConfig":{"shape":"Su"}}},"output":{"type":"structure","members":{"dataSource":{"shape":"Sy"}}}},"CreateDomainName":{"http":{"requestUri":"/v1/domainnames"},"input":{"type":"structure","required":["domainName","certificateArn"],"members":{"domainName":{},"certificateArn":{},"description":{}}},"output":{"type":"structure","members":{"domainNameConfig":{"shape":"S13"}}}},"CreateFunction":{"http":{"requestUri":"/v1/apis/{apiId}/functions"},"input":{"type":"structure","required":["apiId","name","dataSourceName","functionVersion"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"description":{},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"functionVersion":{},"syncConfig":{"shape":"S16"}}},"output":{"type":"structure","members":{"functionConfiguration":{"shape":"S1b"}}}},"CreateGraphqlApi":{"http":{"requestUri":"/v1/apis"},"input":{"type":"structure","required":["name","authenticationType"],"members":{"name":{},"logConfig":{"shape":"S1d"},"authenticationType":{},"userPoolConfig":{"shape":"S1g"},"openIDConnectConfig":{"shape":"S1i"},"tags":{"shape":"S1j"},"additionalAuthenticationProviders":{"shape":"S1m"},"xrayEnabled":{"type":"boolean"},"lambdaAuthorizerConfig":{"shape":"S1p"}}},"output":{"type":"structure","members":{"graphqlApi":{"shape":"S1s"}}}},"CreateResolver":{"http":{"requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers"},"input":{"type":"structure","required":["apiId","typeName","fieldName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"fieldName":{},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"kind":{},"pipelineConfig":{"shape":"S1w"},"syncConfig":{"shape":"S16"},"cachingConfig":{"shape":"S1y"}}},"output":{"type":"structure","members":{"resolver":{"shape":"S21"}}}},"CreateType":{"http":{"requestUri":"/v1/apis/{apiId}/types"},"input":{"type":"structure","required":["apiId","definition","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"definition":{},"format":{}}},"output":{"type":"structure","members":{"type":{"shape":"S25"}}}},"DeleteApiCache":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/ApiCaches"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{}}},"DeleteApiKey":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/apikeys/{id}"},"input":{"type":"structure","required":["apiId","id"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{}}},"DeleteDataSource":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/datasources/{name}"},"input":{"type":"structure","required":["apiId","name"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{}}},"DeleteDomainName":{"http":{"method":"DELETE","requestUri":"/v1/domainnames/{domainName}"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","members":{}}},"DeleteFunction":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/functions/{functionId}"},"input":{"type":"structure","required":["apiId","functionId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"functionId":{"location":"uri","locationName":"functionId"}}},"output":{"type":"structure","members":{}}},"DeleteGraphqlApi":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{}}},"DeleteResolver":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"},"input":{"type":"structure","required":["apiId","typeName","fieldName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"fieldName":{"location":"uri","locationName":"fieldName"}}},"output":{"type":"structure","members":{}}},"DeleteType":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/types/{typeName}"},"input":{"type":"structure","required":["apiId","typeName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"}}},"output":{"type":"structure","members":{}}},"DisassociateApi":{"http":{"method":"DELETE","requestUri":"/v1/domainnames/{domainName}/apiassociation"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","members":{}}},"FlushApiCache":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/FlushCache"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{}}},"GetApiAssociation":{"http":{"method":"GET","requestUri":"/v1/domainnames/{domainName}/apiassociation"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","members":{"apiAssociation":{"shape":"S5"}}}},"GetApiCache":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/ApiCaches"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{"apiCache":{"shape":"Sd"}}}},"GetDataSource":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/datasources/{name}"},"input":{"type":"structure","required":["apiId","name"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"dataSource":{"shape":"Sy"}}}},"GetDomainName":{"http":{"method":"GET","requestUri":"/v1/domainnames/{domainName}"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","members":{"domainNameConfig":{"shape":"S13"}}}},"GetFunction":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/functions/{functionId}"},"input":{"type":"structure","required":["apiId","functionId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"functionId":{"location":"uri","locationName":"functionId"}}},"output":{"type":"structure","members":{"functionConfiguration":{"shape":"S1b"}}}},"GetGraphqlApi":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{"graphqlApi":{"shape":"S1s"}}}},"GetIntrospectionSchema":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/schema"},"input":{"type":"structure","required":["apiId","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"format":{"location":"querystring","locationName":"format"},"includeDirectives":{"location":"querystring","locationName":"includeDirectives","type":"boolean"}}},"output":{"type":"structure","members":{"schema":{"type":"blob"}},"payload":"schema"}},"GetResolver":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"},"input":{"type":"structure","required":["apiId","typeName","fieldName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"fieldName":{"location":"uri","locationName":"fieldName"}}},"output":{"type":"structure","members":{"resolver":{"shape":"S21"}}}},"GetSchemaCreationStatus":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/schemacreation"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{"status":{},"details":{}}}},"GetType":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/types/{typeName}"},"input":{"type":"structure","required":["apiId","typeName","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"format":{"location":"querystring","locationName":"format"}}},"output":{"type":"structure","members":{"type":{"shape":"S25"}}}},"ListApiKeys":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/apikeys"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"apiKeys":{"type":"list","member":{"shape":"Sh"}},"nextToken":{}}}},"ListDataSources":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/datasources"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"dataSources":{"type":"list","member":{"shape":"Sy"}},"nextToken":{}}}},"ListDomainNames":{"http":{"method":"GET","requestUri":"/v1/domainnames"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"domainNameConfigs":{"type":"list","member":{"shape":"S13"}},"nextToken":{}}}},"ListFunctions":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/functions"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"functions":{"type":"list","member":{"shape":"S1b"}},"nextToken":{}}}},"ListGraphqlApis":{"http":{"method":"GET","requestUri":"/v1/apis"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"graphqlApis":{"type":"list","member":{"shape":"S1s"}},"nextToken":{}}}},"ListResolvers":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers"},"input":{"type":"structure","required":["apiId","typeName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"resolvers":{"shape":"S3x"},"nextToken":{}}}},"ListResolversByFunction":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/functions/{functionId}/resolvers"},"input":{"type":"structure","required":["apiId","functionId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"functionId":{"location":"uri","locationName":"functionId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"resolvers":{"shape":"S3x"},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1j"}}}},"ListTypes":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/types"},"input":{"type":"structure","required":["apiId","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"format":{"location":"querystring","locationName":"format"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"types":{"type":"list","member":{"shape":"S25"}},"nextToken":{}}}},"StartSchemaCreation":{"http":{"requestUri":"/v1/apis/{apiId}/schemacreation"},"input":{"type":"structure","required":["apiId","definition"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"definition":{"type":"blob"}}},"output":{"type":"structure","members":{"status":{}}}},"TagResource":{"http":{"requestUri":"/v1/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1j"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateApiCache":{"http":{"requestUri":"/v1/apis/{apiId}/ApiCaches/update"},"input":{"type":"structure","required":["apiId","ttl","apiCachingBehavior","type"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"ttl":{"type":"long"},"apiCachingBehavior":{},"type":{}}},"output":{"type":"structure","members":{"apiCache":{"shape":"Sd"}}}},"UpdateApiKey":{"http":{"requestUri":"/v1/apis/{apiId}/apikeys/{id}"},"input":{"type":"structure","required":["apiId","id"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"id":{"location":"uri","locationName":"id"},"description":{},"expires":{"type":"long"}}},"output":{"type":"structure","members":{"apiKey":{"shape":"Sh"}}}},"UpdateDataSource":{"http":{"requestUri":"/v1/apis/{apiId}/datasources/{name}"},"input":{"type":"structure","required":["apiId","name","type"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{"location":"uri","locationName":"name"},"description":{},"type":{},"serviceRoleArn":{},"dynamodbConfig":{"shape":"Sl"},"lambdaConfig":{"shape":"Sn"},"elasticsearchConfig":{"shape":"So"},"openSearchServiceConfig":{"shape":"Sp"},"httpConfig":{"shape":"Sq"},"relationalDatabaseConfig":{"shape":"Su"}}},"output":{"type":"structure","members":{"dataSource":{"shape":"Sy"}}}},"UpdateDomainName":{"http":{"requestUri":"/v1/domainnames/{domainName}"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"},"description":{}}},"output":{"type":"structure","members":{"domainNameConfig":{"shape":"S13"}}}},"UpdateFunction":{"http":{"requestUri":"/v1/apis/{apiId}/functions/{functionId}"},"input":{"type":"structure","required":["apiId","name","functionId","dataSourceName","functionVersion"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"description":{},"functionId":{"location":"uri","locationName":"functionId"},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"functionVersion":{},"syncConfig":{"shape":"S16"}}},"output":{"type":"structure","members":{"functionConfiguration":{"shape":"S1b"}}}},"UpdateGraphqlApi":{"http":{"requestUri":"/v1/apis/{apiId}"},"input":{"type":"structure","required":["apiId","name"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"logConfig":{"shape":"S1d"},"authenticationType":{},"userPoolConfig":{"shape":"S1g"},"openIDConnectConfig":{"shape":"S1i"},"additionalAuthenticationProviders":{"shape":"S1m"},"xrayEnabled":{"type":"boolean"},"lambdaAuthorizerConfig":{"shape":"S1p"}}},"output":{"type":"structure","members":{"graphqlApi":{"shape":"S1s"}}}},"UpdateResolver":{"http":{"requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"},"input":{"type":"structure","required":["apiId","typeName","fieldName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"fieldName":{"location":"uri","locationName":"fieldName"},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"kind":{},"pipelineConfig":{"shape":"S1w"},"syncConfig":{"shape":"S16"},"cachingConfig":{"shape":"S1y"}}},"output":{"type":"structure","members":{"resolver":{"shape":"S21"}}}},"UpdateType":{"http":{"requestUri":"/v1/apis/{apiId}/types/{typeName}"},"input":{"type":"structure","required":["apiId","typeName","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"definition":{},"format":{}}},"output":{"type":"structure","members":{"type":{"shape":"S25"}}}}},"shapes":{"S5":{"type":"structure","members":{"domainName":{},"apiId":{},"associationStatus":{},"deploymentDetail":{}}},"Sd":{"type":"structure","members":{"ttl":{"type":"long"},"apiCachingBehavior":{},"transitEncryptionEnabled":{"type":"boolean"},"atRestEncryptionEnabled":{"type":"boolean"},"type":{},"status":{}}},"Sh":{"type":"structure","members":{"id":{},"description":{},"expires":{"type":"long"},"deletes":{"type":"long"}}},"Sl":{"type":"structure","required":["tableName","awsRegion"],"members":{"tableName":{},"awsRegion":{},"useCallerCredentials":{"type":"boolean"},"deltaSyncConfig":{"type":"structure","members":{"baseTableTTL":{"type":"long"},"deltaSyncTableName":{},"deltaSyncTableTTL":{"type":"long"}}},"versioned":{"type":"boolean"}}},"Sn":{"type":"structure","required":["lambdaFunctionArn"],"members":{"lambdaFunctionArn":{}}},"So":{"type":"structure","required":["endpoint","awsRegion"],"members":{"endpoint":{},"awsRegion":{}}},"Sp":{"type":"structure","required":["endpoint","awsRegion"],"members":{"endpoint":{},"awsRegion":{}}},"Sq":{"type":"structure","members":{"endpoint":{},"authorizationConfig":{"type":"structure","required":["authorizationType"],"members":{"authorizationType":{},"awsIamConfig":{"type":"structure","members":{"signingRegion":{},"signingServiceName":{}}}}}}},"Su":{"type":"structure","members":{"relationalDatabaseSourceType":{},"rdsHttpEndpointConfig":{"type":"structure","members":{"awsRegion":{},"dbClusterIdentifier":{},"databaseName":{},"schema":{},"awsSecretStoreArn":{}}}}},"Sy":{"type":"structure","members":{"dataSourceArn":{},"name":{},"description":{},"type":{},"serviceRoleArn":{},"dynamodbConfig":{"shape":"Sl"},"lambdaConfig":{"shape":"Sn"},"elasticsearchConfig":{"shape":"So"},"openSearchServiceConfig":{"shape":"Sp"},"httpConfig":{"shape":"Sq"},"relationalDatabaseConfig":{"shape":"Su"}}},"S13":{"type":"structure","members":{"domainName":{},"description":{},"certificateArn":{},"appsyncDomainName":{},"hostedZoneId":{}}},"S16":{"type":"structure","members":{"conflictHandler":{},"conflictDetection":{},"lambdaConflictHandlerConfig":{"type":"structure","members":{"lambdaConflictHandlerArn":{}}}}},"S1b":{"type":"structure","members":{"functionId":{},"functionArn":{},"name":{},"description":{},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"functionVersion":{},"syncConfig":{"shape":"S16"}}},"S1d":{"type":"structure","required":["fieldLogLevel","cloudWatchLogsRoleArn"],"members":{"fieldLogLevel":{},"cloudWatchLogsRoleArn":{},"excludeVerboseContent":{"type":"boolean"}}},"S1g":{"type":"structure","required":["userPoolId","awsRegion","defaultAction"],"members":{"userPoolId":{},"awsRegion":{},"defaultAction":{},"appIdClientRegex":{}}},"S1i":{"type":"structure","required":["issuer"],"members":{"issuer":{},"clientId":{},"iatTTL":{"type":"long"},"authTTL":{"type":"long"}}},"S1j":{"type":"map","key":{},"value":{}},"S1m":{"type":"list","member":{"type":"structure","members":{"authenticationType":{},"openIDConnectConfig":{"shape":"S1i"},"userPoolConfig":{"type":"structure","required":["userPoolId","awsRegion"],"members":{"userPoolId":{},"awsRegion":{},"appIdClientRegex":{}}},"lambdaAuthorizerConfig":{"shape":"S1p"}}}},"S1p":{"type":"structure","required":["authorizerUri"],"members":{"authorizerResultTtlInSeconds":{"type":"integer"},"authorizerUri":{},"identityValidationExpression":{}}},"S1s":{"type":"structure","members":{"name":{},"apiId":{},"authenticationType":{},"logConfig":{"shape":"S1d"},"userPoolConfig":{"shape":"S1g"},"openIDConnectConfig":{"shape":"S1i"},"arn":{},"uris":{"type":"map","key":{},"value":{}},"tags":{"shape":"S1j"},"additionalAuthenticationProviders":{"shape":"S1m"},"xrayEnabled":{"type":"boolean"},"wafWebAclArn":{},"lambdaAuthorizerConfig":{"shape":"S1p"}}},"S1w":{"type":"structure","members":{"functions":{"type":"list","member":{}}}},"S1y":{"type":"structure","members":{"ttl":{"type":"long"},"cachingKeys":{"type":"list","member":{}}}},"S21":{"type":"structure","members":{"typeName":{},"fieldName":{},"dataSourceName":{},"resolverArn":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"kind":{},"pipelineConfig":{"shape":"S1w"},"syncConfig":{"shape":"S16"},"cachingConfig":{"shape":"S1y"}}},"S25":{"type":"structure","members":{"name":{},"description":{},"arn":{},"definition":{},"format":{}}},"S3x":{"type":"list","member":{"shape":"S21"}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"appsync","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"AWSAppSync","serviceFullName":"AWS AppSync","serviceId":"AppSync","signatureVersion":"v4","signingName":"appsync","uid":"appsync-2017-07-25"},"operations":{"AssociateApi":{"http":{"requestUri":"/v1/domainnames/{domainName}/apiassociation"},"input":{"type":"structure","required":["domainName","apiId"],"members":{"domainName":{"location":"uri","locationName":"domainName"},"apiId":{}}},"output":{"type":"structure","members":{"apiAssociation":{"shape":"S5"}}}},"CreateApiCache":{"http":{"requestUri":"/v1/apis/{apiId}/ApiCaches"},"input":{"type":"structure","required":["apiId","ttl","apiCachingBehavior","type"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"ttl":{"type":"long"},"transitEncryptionEnabled":{"type":"boolean"},"atRestEncryptionEnabled":{"type":"boolean"},"apiCachingBehavior":{},"type":{}}},"output":{"type":"structure","members":{"apiCache":{"shape":"Sd"}}}},"CreateApiKey":{"http":{"requestUri":"/v1/apis/{apiId}/apikeys"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"description":{},"expires":{"type":"long"}}},"output":{"type":"structure","members":{"apiKey":{"shape":"Sh"}}}},"CreateDataSource":{"http":{"requestUri":"/v1/apis/{apiId}/datasources"},"input":{"type":"structure","required":["apiId","name","type"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"description":{},"type":{},"serviceRoleArn":{},"dynamodbConfig":{"shape":"Sl"},"lambdaConfig":{"shape":"Sn"},"elasticsearchConfig":{"shape":"So"},"openSearchServiceConfig":{"shape":"Sp"},"httpConfig":{"shape":"Sq"},"relationalDatabaseConfig":{"shape":"Su"}}},"output":{"type":"structure","members":{"dataSource":{"shape":"Sy"}}}},"CreateDomainName":{"http":{"requestUri":"/v1/domainnames"},"input":{"type":"structure","required":["domainName","certificateArn"],"members":{"domainName":{},"certificateArn":{},"description":{}}},"output":{"type":"structure","members":{"domainNameConfig":{"shape":"S13"}}}},"CreateFunction":{"http":{"requestUri":"/v1/apis/{apiId}/functions"},"input":{"type":"structure","required":["apiId","name","dataSourceName","functionVersion"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"description":{},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"functionVersion":{},"syncConfig":{"shape":"S16"},"maxBatchSize":{"type":"integer"}}},"output":{"type":"structure","members":{"functionConfiguration":{"shape":"S1c"}}}},"CreateGraphqlApi":{"http":{"requestUri":"/v1/apis"},"input":{"type":"structure","required":["name","authenticationType"],"members":{"name":{},"logConfig":{"shape":"S1e"},"authenticationType":{},"userPoolConfig":{"shape":"S1h"},"openIDConnectConfig":{"shape":"S1j"},"tags":{"shape":"S1k"},"additionalAuthenticationProviders":{"shape":"S1n"},"xrayEnabled":{"type":"boolean"},"lambdaAuthorizerConfig":{"shape":"S1q"}}},"output":{"type":"structure","members":{"graphqlApi":{"shape":"S1t"}}}},"CreateResolver":{"http":{"requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers"},"input":{"type":"structure","required":["apiId","typeName","fieldName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"fieldName":{},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"kind":{},"pipelineConfig":{"shape":"S1x"},"syncConfig":{"shape":"S16"},"cachingConfig":{"shape":"S1z"},"maxBatchSize":{"type":"integer"}}},"output":{"type":"structure","members":{"resolver":{"shape":"S22"}}}},"CreateType":{"http":{"requestUri":"/v1/apis/{apiId}/types"},"input":{"type":"structure","required":["apiId","definition","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"definition":{},"format":{}}},"output":{"type":"structure","members":{"type":{"shape":"S26"}}}},"DeleteApiCache":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/ApiCaches"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{}}},"DeleteApiKey":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/apikeys/{id}"},"input":{"type":"structure","required":["apiId","id"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{}}},"DeleteDataSource":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/datasources/{name}"},"input":{"type":"structure","required":["apiId","name"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{}}},"DeleteDomainName":{"http":{"method":"DELETE","requestUri":"/v1/domainnames/{domainName}"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","members":{}}},"DeleteFunction":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/functions/{functionId}"},"input":{"type":"structure","required":["apiId","functionId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"functionId":{"location":"uri","locationName":"functionId"}}},"output":{"type":"structure","members":{}}},"DeleteGraphqlApi":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{}}},"DeleteResolver":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"},"input":{"type":"structure","required":["apiId","typeName","fieldName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"fieldName":{"location":"uri","locationName":"fieldName"}}},"output":{"type":"structure","members":{}}},"DeleteType":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/types/{typeName}"},"input":{"type":"structure","required":["apiId","typeName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"}}},"output":{"type":"structure","members":{}}},"DisassociateApi":{"http":{"method":"DELETE","requestUri":"/v1/domainnames/{domainName}/apiassociation"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","members":{}}},"FlushApiCache":{"http":{"method":"DELETE","requestUri":"/v1/apis/{apiId}/FlushCache"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{}}},"GetApiAssociation":{"http":{"method":"GET","requestUri":"/v1/domainnames/{domainName}/apiassociation"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","members":{"apiAssociation":{"shape":"S5"}}}},"GetApiCache":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/ApiCaches"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{"apiCache":{"shape":"Sd"}}}},"GetDataSource":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/datasources/{name}"},"input":{"type":"structure","required":["apiId","name"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"dataSource":{"shape":"Sy"}}}},"GetDomainName":{"http":{"method":"GET","requestUri":"/v1/domainnames/{domainName}"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","members":{"domainNameConfig":{"shape":"S13"}}}},"GetFunction":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/functions/{functionId}"},"input":{"type":"structure","required":["apiId","functionId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"functionId":{"location":"uri","locationName":"functionId"}}},"output":{"type":"structure","members":{"functionConfiguration":{"shape":"S1c"}}}},"GetGraphqlApi":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{"graphqlApi":{"shape":"S1t"}}}},"GetIntrospectionSchema":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/schema"},"input":{"type":"structure","required":["apiId","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"format":{"location":"querystring","locationName":"format"},"includeDirectives":{"location":"querystring","locationName":"includeDirectives","type":"boolean"}}},"output":{"type":"structure","members":{"schema":{"type":"blob"}},"payload":"schema"}},"GetResolver":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"},"input":{"type":"structure","required":["apiId","typeName","fieldName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"fieldName":{"location":"uri","locationName":"fieldName"}}},"output":{"type":"structure","members":{"resolver":{"shape":"S22"}}}},"GetSchemaCreationStatus":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/schemacreation"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"}}},"output":{"type":"structure","members":{"status":{},"details":{}}}},"GetType":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/types/{typeName}"},"input":{"type":"structure","required":["apiId","typeName","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"format":{"location":"querystring","locationName":"format"}}},"output":{"type":"structure","members":{"type":{"shape":"S26"}}}},"ListApiKeys":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/apikeys"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"apiKeys":{"type":"list","member":{"shape":"Sh"}},"nextToken":{}}}},"ListDataSources":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/datasources"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"dataSources":{"type":"list","member":{"shape":"Sy"}},"nextToken":{}}}},"ListDomainNames":{"http":{"method":"GET","requestUri":"/v1/domainnames"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"domainNameConfigs":{"type":"list","member":{"shape":"S13"}},"nextToken":{}}}},"ListFunctions":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/functions"},"input":{"type":"structure","required":["apiId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"functions":{"type":"list","member":{"shape":"S1c"}},"nextToken":{}}}},"ListGraphqlApis":{"http":{"method":"GET","requestUri":"/v1/apis"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"graphqlApis":{"type":"list","member":{"shape":"S1t"}},"nextToken":{}}}},"ListResolvers":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers"},"input":{"type":"structure","required":["apiId","typeName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"resolvers":{"shape":"S3y"},"nextToken":{}}}},"ListResolversByFunction":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/functions/{functionId}/resolvers"},"input":{"type":"structure","required":["apiId","functionId"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"functionId":{"location":"uri","locationName":"functionId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"resolvers":{"shape":"S3y"},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1k"}}}},"ListTypes":{"http":{"method":"GET","requestUri":"/v1/apis/{apiId}/types"},"input":{"type":"structure","required":["apiId","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"format":{"location":"querystring","locationName":"format"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"types":{"type":"list","member":{"shape":"S26"}},"nextToken":{}}}},"StartSchemaCreation":{"http":{"requestUri":"/v1/apis/{apiId}/schemacreation"},"input":{"type":"structure","required":["apiId","definition"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"definition":{"type":"blob"}}},"output":{"type":"structure","members":{"status":{}}}},"TagResource":{"http":{"requestUri":"/v1/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateApiCache":{"http":{"requestUri":"/v1/apis/{apiId}/ApiCaches/update"},"input":{"type":"structure","required":["apiId","ttl","apiCachingBehavior","type"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"ttl":{"type":"long"},"apiCachingBehavior":{},"type":{}}},"output":{"type":"structure","members":{"apiCache":{"shape":"Sd"}}}},"UpdateApiKey":{"http":{"requestUri":"/v1/apis/{apiId}/apikeys/{id}"},"input":{"type":"structure","required":["apiId","id"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"id":{"location":"uri","locationName":"id"},"description":{},"expires":{"type":"long"}}},"output":{"type":"structure","members":{"apiKey":{"shape":"Sh"}}}},"UpdateDataSource":{"http":{"requestUri":"/v1/apis/{apiId}/datasources/{name}"},"input":{"type":"structure","required":["apiId","name","type"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{"location":"uri","locationName":"name"},"description":{},"type":{},"serviceRoleArn":{},"dynamodbConfig":{"shape":"Sl"},"lambdaConfig":{"shape":"Sn"},"elasticsearchConfig":{"shape":"So"},"openSearchServiceConfig":{"shape":"Sp"},"httpConfig":{"shape":"Sq"},"relationalDatabaseConfig":{"shape":"Su"}}},"output":{"type":"structure","members":{"dataSource":{"shape":"Sy"}}}},"UpdateDomainName":{"http":{"requestUri":"/v1/domainnames/{domainName}"},"input":{"type":"structure","required":["domainName"],"members":{"domainName":{"location":"uri","locationName":"domainName"},"description":{}}},"output":{"type":"structure","members":{"domainNameConfig":{"shape":"S13"}}}},"UpdateFunction":{"http":{"requestUri":"/v1/apis/{apiId}/functions/{functionId}"},"input":{"type":"structure","required":["apiId","name","functionId","dataSourceName","functionVersion"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"description":{},"functionId":{"location":"uri","locationName":"functionId"},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"functionVersion":{},"syncConfig":{"shape":"S16"},"maxBatchSize":{"type":"integer"}}},"output":{"type":"structure","members":{"functionConfiguration":{"shape":"S1c"}}}},"UpdateGraphqlApi":{"http":{"requestUri":"/v1/apis/{apiId}"},"input":{"type":"structure","required":["apiId","name"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"name":{},"logConfig":{"shape":"S1e"},"authenticationType":{},"userPoolConfig":{"shape":"S1h"},"openIDConnectConfig":{"shape":"S1j"},"additionalAuthenticationProviders":{"shape":"S1n"},"xrayEnabled":{"type":"boolean"},"lambdaAuthorizerConfig":{"shape":"S1q"}}},"output":{"type":"structure","members":{"graphqlApi":{"shape":"S1t"}}}},"UpdateResolver":{"http":{"requestUri":"/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"},"input":{"type":"structure","required":["apiId","typeName","fieldName"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"fieldName":{"location":"uri","locationName":"fieldName"},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"kind":{},"pipelineConfig":{"shape":"S1x"},"syncConfig":{"shape":"S16"},"cachingConfig":{"shape":"S1z"},"maxBatchSize":{"type":"integer"}}},"output":{"type":"structure","members":{"resolver":{"shape":"S22"}}}},"UpdateType":{"http":{"requestUri":"/v1/apis/{apiId}/types/{typeName}"},"input":{"type":"structure","required":["apiId","typeName","format"],"members":{"apiId":{"location":"uri","locationName":"apiId"},"typeName":{"location":"uri","locationName":"typeName"},"definition":{},"format":{}}},"output":{"type":"structure","members":{"type":{"shape":"S26"}}}}},"shapes":{"S5":{"type":"structure","members":{"domainName":{},"apiId":{},"associationStatus":{},"deploymentDetail":{}}},"Sd":{"type":"structure","members":{"ttl":{"type":"long"},"apiCachingBehavior":{},"transitEncryptionEnabled":{"type":"boolean"},"atRestEncryptionEnabled":{"type":"boolean"},"type":{},"status":{}}},"Sh":{"type":"structure","members":{"id":{},"description":{},"expires":{"type":"long"},"deletes":{"type":"long"}}},"Sl":{"type":"structure","required":["tableName","awsRegion"],"members":{"tableName":{},"awsRegion":{},"useCallerCredentials":{"type":"boolean"},"deltaSyncConfig":{"type":"structure","members":{"baseTableTTL":{"type":"long"},"deltaSyncTableName":{},"deltaSyncTableTTL":{"type":"long"}}},"versioned":{"type":"boolean"}}},"Sn":{"type":"structure","required":["lambdaFunctionArn"],"members":{"lambdaFunctionArn":{}}},"So":{"type":"structure","required":["endpoint","awsRegion"],"members":{"endpoint":{},"awsRegion":{}}},"Sp":{"type":"structure","required":["endpoint","awsRegion"],"members":{"endpoint":{},"awsRegion":{}}},"Sq":{"type":"structure","members":{"endpoint":{},"authorizationConfig":{"type":"structure","required":["authorizationType"],"members":{"authorizationType":{},"awsIamConfig":{"type":"structure","members":{"signingRegion":{},"signingServiceName":{}}}}}}},"Su":{"type":"structure","members":{"relationalDatabaseSourceType":{},"rdsHttpEndpointConfig":{"type":"structure","members":{"awsRegion":{},"dbClusterIdentifier":{},"databaseName":{},"schema":{},"awsSecretStoreArn":{}}}}},"Sy":{"type":"structure","members":{"dataSourceArn":{},"name":{},"description":{},"type":{},"serviceRoleArn":{},"dynamodbConfig":{"shape":"Sl"},"lambdaConfig":{"shape":"Sn"},"elasticsearchConfig":{"shape":"So"},"openSearchServiceConfig":{"shape":"Sp"},"httpConfig":{"shape":"Sq"},"relationalDatabaseConfig":{"shape":"Su"}}},"S13":{"type":"structure","members":{"domainName":{},"description":{},"certificateArn":{},"appsyncDomainName":{},"hostedZoneId":{}}},"S16":{"type":"structure","members":{"conflictHandler":{},"conflictDetection":{},"lambdaConflictHandlerConfig":{"type":"structure","members":{"lambdaConflictHandlerArn":{}}}}},"S1c":{"type":"structure","members":{"functionId":{},"functionArn":{},"name":{},"description":{},"dataSourceName":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"functionVersion":{},"syncConfig":{"shape":"S16"},"maxBatchSize":{"type":"integer"}}},"S1e":{"type":"structure","required":["fieldLogLevel","cloudWatchLogsRoleArn"],"members":{"fieldLogLevel":{},"cloudWatchLogsRoleArn":{},"excludeVerboseContent":{"type":"boolean"}}},"S1h":{"type":"structure","required":["userPoolId","awsRegion","defaultAction"],"members":{"userPoolId":{},"awsRegion":{},"defaultAction":{},"appIdClientRegex":{}}},"S1j":{"type":"structure","required":["issuer"],"members":{"issuer":{},"clientId":{},"iatTTL":{"type":"long"},"authTTL":{"type":"long"}}},"S1k":{"type":"map","key":{},"value":{}},"S1n":{"type":"list","member":{"type":"structure","members":{"authenticationType":{},"openIDConnectConfig":{"shape":"S1j"},"userPoolConfig":{"type":"structure","required":["userPoolId","awsRegion"],"members":{"userPoolId":{},"awsRegion":{},"appIdClientRegex":{}}},"lambdaAuthorizerConfig":{"shape":"S1q"}}}},"S1q":{"type":"structure","required":["authorizerUri"],"members":{"authorizerResultTtlInSeconds":{"type":"integer"},"authorizerUri":{},"identityValidationExpression":{}}},"S1t":{"type":"structure","members":{"name":{},"apiId":{},"authenticationType":{},"logConfig":{"shape":"S1e"},"userPoolConfig":{"shape":"S1h"},"openIDConnectConfig":{"shape":"S1j"},"arn":{},"uris":{"type":"map","key":{},"value":{}},"tags":{"shape":"S1k"},"additionalAuthenticationProviders":{"shape":"S1n"},"xrayEnabled":{"type":"boolean"},"wafWebAclArn":{},"lambdaAuthorizerConfig":{"shape":"S1q"}}},"S1x":{"type":"structure","members":{"functions":{"type":"list","member":{}}}},"S1z":{"type":"structure","members":{"ttl":{"type":"long"},"cachingKeys":{"type":"list","member":{}}}},"S22":{"type":"structure","members":{"typeName":{},"fieldName":{},"dataSourceName":{},"resolverArn":{},"requestMappingTemplate":{},"responseMappingTemplate":{},"kind":{},"pipelineConfig":{"shape":"S1x"},"syncConfig":{"shape":"S16"},"cachingConfig":{"shape":"S1z"},"maxBatchSize":{"type":"integer"}}},"S26":{"type":"structure","members":{"name":{},"description":{},"arn":{},"definition":{},"format":{}}},"S3y":{"type":"list","member":{"shape":"S22"}}}} /***/ }), /* 544 */ @@ -48813,7 +48819,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 546 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-11-28","endpointPrefix":"guardduty","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon GuardDuty","serviceId":"GuardDuty","signatureVersion":"v4","signingName":"guardduty","uid":"guardduty-2017-11-28"},"operations":{"AcceptInvitation":{"http":{"requestUri":"/detector/{detectorId}/master","responseCode":200},"input":{"type":"structure","required":["DetectorId","MasterId","InvitationId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MasterId":{"locationName":"masterId"},"InvitationId":{"locationName":"invitationId"}}},"output":{"type":"structure","members":{}}},"ArchiveFindings":{"http":{"requestUri":"/detector/{detectorId}/findings/archive","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingIds":{"shape":"S6","locationName":"findingIds"}}},"output":{"type":"structure","members":{}}},"CreateDetector":{"http":{"requestUri":"/detector","responseCode":200},"input":{"type":"structure","required":["Enable"],"members":{"Enable":{"locationName":"enable","type":"boolean"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"FindingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"DataSources":{"shape":"Sd","locationName":"dataSources"},"Tags":{"shape":"Sf","locationName":"tags"}}},"output":{"type":"structure","members":{"DetectorId":{"locationName":"detectorId"}}}},"CreateFilter":{"http":{"requestUri":"/detector/{detectorId}/filter","responseCode":200},"input":{"type":"structure","required":["DetectorId","Name","FindingCriteria"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"Name":{"locationName":"name"},"Description":{"locationName":"description"},"Action":{"locationName":"action"},"Rank":{"locationName":"rank","type":"integer"},"FindingCriteria":{"shape":"So","locationName":"findingCriteria"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"Tags":{"shape":"Sf","locationName":"tags"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{"locationName":"name"}}}},"CreateIPSet":{"http":{"requestUri":"/detector/{detectorId}/ipset","responseCode":200},"input":{"type":"structure","required":["DetectorId","Name","Format","Location","Activate"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"Name":{"locationName":"name"},"Format":{"locationName":"format"},"Location":{"locationName":"location"},"Activate":{"locationName":"activate","type":"boolean"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"Tags":{"shape":"Sf","locationName":"tags"}}},"output":{"type":"structure","required":["IpSetId"],"members":{"IpSetId":{"locationName":"ipSetId"}}}},"CreateMembers":{"http":{"requestUri":"/detector/{detectorId}/member","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountDetails"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountDetails":{"locationName":"accountDetails","type":"list","member":{"type":"structure","required":["AccountId","Email"],"members":{"AccountId":{"locationName":"accountId"},"Email":{"locationName":"email"}}}}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"CreatePublishingDestination":{"http":{"requestUri":"/detector/{detectorId}/publishingDestination","responseCode":200},"input":{"type":"structure","required":["DetectorId","DestinationType","DestinationProperties"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"DestinationType":{"locationName":"destinationType"},"DestinationProperties":{"shape":"S1d","locationName":"destinationProperties"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"}}},"output":{"type":"structure","required":["DestinationId"],"members":{"DestinationId":{"locationName":"destinationId"}}}},"CreateSampleFindings":{"http":{"requestUri":"/detector/{detectorId}/findings/create","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingTypes":{"locationName":"findingTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"CreateThreatIntelSet":{"http":{"requestUri":"/detector/{detectorId}/threatintelset","responseCode":200},"input":{"type":"structure","required":["DetectorId","Name","Format","Location","Activate"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"Name":{"locationName":"name"},"Format":{"locationName":"format"},"Location":{"locationName":"location"},"Activate":{"locationName":"activate","type":"boolean"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"Tags":{"shape":"Sf","locationName":"tags"}}},"output":{"type":"structure","required":["ThreatIntelSetId"],"members":{"ThreatIntelSetId":{"locationName":"threatIntelSetId"}}}},"DeclineInvitations":{"http":{"requestUri":"/invitation/decline","responseCode":200},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"S1n","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"DeleteDetector":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","members":{}}},"DeleteFilter":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}/filter/{filterName}","responseCode":200},"input":{"type":"structure","required":["DetectorId","FilterName"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FilterName":{"location":"uri","locationName":"filterName"}}},"output":{"type":"structure","members":{}}},"DeleteIPSet":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}/ipset/{ipSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","IpSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"IpSetId":{"location":"uri","locationName":"ipSetId"}}},"output":{"type":"structure","members":{}}},"DeleteInvitations":{"http":{"requestUri":"/invitation/delete","responseCode":200},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"S1n","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"DeleteMembers":{"http":{"requestUri":"/detector/{detectorId}/member/delete","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1n","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"DeletePublishingDestination":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}/publishingDestination/{destinationId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","DestinationId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"DestinationId":{"location":"uri","locationName":"destinationId"}}},"output":{"type":"structure","members":{}}},"DeleteThreatIntelSet":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}/threatintelset/{threatIntelSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","ThreatIntelSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"ThreatIntelSetId":{"location":"uri","locationName":"threatIntelSetId"}}},"output":{"type":"structure","members":{}}},"DescribeOrganizationConfiguration":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/admin","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","required":["AutoEnable","MemberAccountLimitReached"],"members":{"AutoEnable":{"locationName":"autoEnable","type":"boolean"},"MemberAccountLimitReached":{"locationName":"memberAccountLimitReached","type":"boolean"},"DataSources":{"locationName":"dataSources","type":"structure","required":["S3Logs"],"members":{"S3Logs":{"locationName":"s3Logs","type":"structure","required":["AutoEnable"],"members":{"AutoEnable":{"locationName":"autoEnable","type":"boolean"}}}}}}}},"DescribePublishingDestination":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/publishingDestination/{destinationId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","DestinationId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"DestinationId":{"location":"uri","locationName":"destinationId"}}},"output":{"type":"structure","required":["DestinationId","DestinationType","Status","PublishingFailureStartTimestamp","DestinationProperties"],"members":{"DestinationId":{"locationName":"destinationId"},"DestinationType":{"locationName":"destinationType"},"Status":{"locationName":"status"},"PublishingFailureStartTimestamp":{"locationName":"publishingFailureStartTimestamp","type":"long"},"DestinationProperties":{"shape":"S1d","locationName":"destinationProperties"}}}},"DisableOrganizationAdminAccount":{"http":{"requestUri":"/admin/disable","responseCode":200},"input":{"type":"structure","required":["AdminAccountId"],"members":{"AdminAccountId":{"locationName":"adminAccountId"}}},"output":{"type":"structure","members":{}}},"DisassociateFromMasterAccount":{"http":{"requestUri":"/detector/{detectorId}/master/disassociate","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","members":{}}},"DisassociateMembers":{"http":{"requestUri":"/detector/{detectorId}/member/disassociate","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1n","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"EnableOrganizationAdminAccount":{"http":{"requestUri":"/admin/enable","responseCode":200},"input":{"type":"structure","required":["AdminAccountId"],"members":{"AdminAccountId":{"locationName":"adminAccountId"}}},"output":{"type":"structure","members":{}}},"GetDetector":{"http":{"method":"GET","requestUri":"/detector/{detectorId}","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","required":["ServiceRole","Status"],"members":{"CreatedAt":{"locationName":"createdAt"},"FindingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"ServiceRole":{"locationName":"serviceRole"},"Status":{"locationName":"status"},"UpdatedAt":{"locationName":"updatedAt"},"DataSources":{"shape":"S2l","locationName":"dataSources"},"Tags":{"shape":"Sf","locationName":"tags"}}}},"GetFilter":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/filter/{filterName}","responseCode":200},"input":{"type":"structure","required":["DetectorId","FilterName"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FilterName":{"location":"uri","locationName":"filterName"}}},"output":{"type":"structure","required":["Name","Action","FindingCriteria"],"members":{"Name":{"locationName":"name"},"Description":{"locationName":"description"},"Action":{"locationName":"action"},"Rank":{"locationName":"rank","type":"integer"},"FindingCriteria":{"shape":"So","locationName":"findingCriteria"},"Tags":{"shape":"Sf","locationName":"tags"}}}},"GetFindings":{"http":{"requestUri":"/detector/{detectorId}/findings/get","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingIds":{"shape":"S6","locationName":"findingIds"},"SortCriteria":{"shape":"S2u","locationName":"sortCriteria"}}},"output":{"type":"structure","required":["Findings"],"members":{"Findings":{"locationName":"findings","type":"list","member":{"type":"structure","required":["AccountId","Arn","CreatedAt","Id","Region","Resource","SchemaVersion","Severity","Type","UpdatedAt"],"members":{"AccountId":{"locationName":"accountId"},"Arn":{"locationName":"arn"},"Confidence":{"locationName":"confidence","type":"double"},"CreatedAt":{"locationName":"createdAt"},"Description":{"locationName":"description"},"Id":{"locationName":"id"},"Partition":{"locationName":"partition"},"Region":{"locationName":"region"},"Resource":{"locationName":"resource","type":"structure","members":{"AccessKeyDetails":{"locationName":"accessKeyDetails","type":"structure","members":{"AccessKeyId":{"locationName":"accessKeyId"},"PrincipalId":{"locationName":"principalId"},"UserName":{"locationName":"userName"},"UserType":{"locationName":"userType"}}},"S3BucketDetails":{"locationName":"s3BucketDetails","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Name":{"locationName":"name"},"Type":{"locationName":"type"},"CreatedAt":{"locationName":"createdAt","type":"timestamp"},"Owner":{"locationName":"owner","type":"structure","members":{"Id":{"locationName":"id"}}},"Tags":{"shape":"S36","locationName":"tags"},"DefaultServerSideEncryption":{"locationName":"defaultServerSideEncryption","type":"structure","members":{"EncryptionType":{"locationName":"encryptionType"},"KmsMasterKeyArn":{"locationName":"kmsMasterKeyArn"}}},"PublicAccess":{"locationName":"publicAccess","type":"structure","members":{"PermissionConfiguration":{"locationName":"permissionConfiguration","type":"structure","members":{"BucketLevelPermissions":{"locationName":"bucketLevelPermissions","type":"structure","members":{"AccessControlList":{"locationName":"accessControlList","type":"structure","members":{"AllowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"AllowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}},"BucketPolicy":{"locationName":"bucketPolicy","type":"structure","members":{"AllowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"AllowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}},"BlockPublicAccess":{"shape":"S3e","locationName":"blockPublicAccess"}}},"AccountLevelPermissions":{"locationName":"accountLevelPermissions","type":"structure","members":{"BlockPublicAccess":{"shape":"S3e","locationName":"blockPublicAccess"}}}}},"EffectivePermission":{"locationName":"effectivePermission"}}}}}},"InstanceDetails":{"locationName":"instanceDetails","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"IamInstanceProfile":{"locationName":"iamInstanceProfile","type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"}}},"ImageDescription":{"locationName":"imageDescription"},"ImageId":{"locationName":"imageId"},"InstanceId":{"locationName":"instanceId"},"InstanceState":{"locationName":"instanceState"},"InstanceType":{"locationName":"instanceType"},"OutpostArn":{"locationName":"outpostArn"},"LaunchTime":{"locationName":"launchTime"},"NetworkInterfaces":{"locationName":"networkInterfaces","type":"list","member":{"type":"structure","members":{"Ipv6Addresses":{"locationName":"ipv6Addresses","type":"list","member":{}},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"locationName":"privateIpAddresses","type":"list","member":{"type":"structure","members":{"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"PublicDnsName":{"locationName":"publicDnsName"},"PublicIp":{"locationName":"publicIp"},"SecurityGroups":{"locationName":"securityGroups","type":"list","member":{"type":"structure","members":{"GroupId":{"locationName":"groupId"},"GroupName":{"locationName":"groupName"}}}},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"}}}},"Platform":{"locationName":"platform"},"ProductCodes":{"locationName":"productCodes","type":"list","member":{"type":"structure","members":{"Code":{"locationName":"code"},"ProductType":{"locationName":"productType"}}}},"Tags":{"shape":"S36","locationName":"tags"}}},"ResourceType":{"locationName":"resourceType"}}},"SchemaVersion":{"locationName":"schemaVersion"},"Service":{"locationName":"service","type":"structure","members":{"Action":{"locationName":"action","type":"structure","members":{"ActionType":{"locationName":"actionType"},"AwsApiCallAction":{"locationName":"awsApiCallAction","type":"structure","members":{"Api":{"locationName":"api"},"CallerType":{"locationName":"callerType"},"DomainDetails":{"locationName":"domainDetails","type":"structure","members":{"Domain":{"locationName":"domain"}}},"ErrorCode":{"locationName":"errorCode"},"RemoteIpDetails":{"shape":"S3v","locationName":"remoteIpDetails"},"ServiceName":{"locationName":"serviceName"}}},"DnsRequestAction":{"locationName":"dnsRequestAction","type":"structure","members":{"Domain":{"locationName":"domain"}}},"NetworkConnectionAction":{"locationName":"networkConnectionAction","type":"structure","members":{"Blocked":{"locationName":"blocked","type":"boolean"},"ConnectionDirection":{"locationName":"connectionDirection"},"LocalPortDetails":{"shape":"S42","locationName":"localPortDetails"},"Protocol":{"locationName":"protocol"},"LocalIpDetails":{"shape":"S43","locationName":"localIpDetails"},"RemoteIpDetails":{"shape":"S3v","locationName":"remoteIpDetails"},"RemotePortDetails":{"locationName":"remotePortDetails","type":"structure","members":{"Port":{"locationName":"port","type":"integer"},"PortName":{"locationName":"portName"}}}}},"PortProbeAction":{"locationName":"portProbeAction","type":"structure","members":{"Blocked":{"locationName":"blocked","type":"boolean"},"PortProbeDetails":{"locationName":"portProbeDetails","type":"list","member":{"type":"structure","members":{"LocalPortDetails":{"shape":"S42","locationName":"localPortDetails"},"LocalIpDetails":{"shape":"S43","locationName":"localIpDetails"},"RemoteIpDetails":{"shape":"S3v","locationName":"remoteIpDetails"}}}}}}}},"Evidence":{"locationName":"evidence","type":"structure","members":{"ThreatIntelligenceDetails":{"locationName":"threatIntelligenceDetails","type":"list","member":{"type":"structure","members":{"ThreatListName":{"locationName":"threatListName"},"ThreatNames":{"locationName":"threatNames","type":"list","member":{}}}}}}},"Archived":{"locationName":"archived","type":"boolean"},"Count":{"locationName":"count","type":"integer"},"DetectorId":{"locationName":"detectorId"},"EventFirstSeen":{"locationName":"eventFirstSeen"},"EventLastSeen":{"locationName":"eventLastSeen"},"ResourceRole":{"locationName":"resourceRole"},"ServiceName":{"locationName":"serviceName"},"UserFeedback":{"locationName":"userFeedback"}}},"Severity":{"locationName":"severity","type":"double"},"Title":{"locationName":"title"},"Type":{"locationName":"type"},"UpdatedAt":{"locationName":"updatedAt"}}}}}}},"GetFindingsStatistics":{"http":{"requestUri":"/detector/{detectorId}/findings/statistics","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingStatisticTypes"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingStatisticTypes":{"locationName":"findingStatisticTypes","type":"list","member":{}},"FindingCriteria":{"shape":"So","locationName":"findingCriteria"}}},"output":{"type":"structure","required":["FindingStatistics"],"members":{"FindingStatistics":{"locationName":"findingStatistics","type":"structure","members":{"CountBySeverity":{"locationName":"countBySeverity","type":"map","key":{},"value":{"type":"integer"}}}}}}},"GetIPSet":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/ipset/{ipSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","IpSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"IpSetId":{"location":"uri","locationName":"ipSetId"}}},"output":{"type":"structure","required":["Name","Format","Location","Status"],"members":{"Name":{"locationName":"name"},"Format":{"locationName":"format"},"Location":{"locationName":"location"},"Status":{"locationName":"status"},"Tags":{"shape":"Sf","locationName":"tags"}}}},"GetInvitationsCount":{"http":{"method":"GET","requestUri":"/invitation/count","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"InvitationsCount":{"locationName":"invitationsCount","type":"integer"}}}},"GetMasterAccount":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/master","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","required":["Master"],"members":{"Master":{"locationName":"master","type":"structure","members":{"AccountId":{"locationName":"accountId"},"InvitationId":{"locationName":"invitationId"},"RelationshipStatus":{"locationName":"relationshipStatus"},"InvitedAt":{"locationName":"invitedAt"}}}}}},"GetMemberDetectors":{"http":{"requestUri":"/detector/{detectorId}/member/detector/get","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1n","locationName":"accountIds"}}},"output":{"type":"structure","required":["MemberDataSourceConfigurations","UnprocessedAccounts"],"members":{"MemberDataSourceConfigurations":{"locationName":"members","type":"list","member":{"type":"structure","required":["AccountId","DataSources"],"members":{"AccountId":{"locationName":"accountId"},"DataSources":{"shape":"S2l","locationName":"dataSources"}}}},"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"GetMembers":{"http":{"requestUri":"/detector/{detectorId}/member/get","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1n","locationName":"accountIds"}}},"output":{"type":"structure","required":["Members","UnprocessedAccounts"],"members":{"Members":{"shape":"S4w","locationName":"members"},"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"GetThreatIntelSet":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/threatintelset/{threatIntelSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","ThreatIntelSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"ThreatIntelSetId":{"location":"uri","locationName":"threatIntelSetId"}}},"output":{"type":"structure","required":["Name","Format","Location","Status"],"members":{"Name":{"locationName":"name"},"Format":{"locationName":"format"},"Location":{"locationName":"location"},"Status":{"locationName":"status"},"Tags":{"shape":"Sf","locationName":"tags"}}}},"GetUsageStatistics":{"http":{"requestUri":"/detector/{detectorId}/usage/statistics","responseCode":200},"input":{"type":"structure","required":["DetectorId","UsageStatisticType","UsageCriteria"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"UsageStatisticType":{"locationName":"usageStatisticsType"},"UsageCriteria":{"locationName":"usageCriteria","type":"structure","required":["DataSources"],"members":{"AccountIds":{"shape":"S1n","locationName":"accountIds"},"DataSources":{"locationName":"dataSources","type":"list","member":{}},"Resources":{"locationName":"resources","type":"list","member":{}}}},"Unit":{"locationName":"unit"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"UsageStatistics":{"locationName":"usageStatistics","type":"structure","members":{"SumByAccount":{"locationName":"sumByAccount","type":"list","member":{"type":"structure","members":{"AccountId":{"locationName":"accountId"},"Total":{"shape":"S5c","locationName":"total"}}}},"SumByDataSource":{"locationName":"sumByDataSource","type":"list","member":{"type":"structure","members":{"DataSource":{"locationName":"dataSource"},"Total":{"shape":"S5c","locationName":"total"}}}},"SumByResource":{"shape":"S5f","locationName":"sumByResource"},"TopResources":{"shape":"S5f","locationName":"topResources"}}},"NextToken":{"locationName":"nextToken"}}}},"InviteMembers":{"http":{"requestUri":"/detector/{detectorId}/member/invite","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1n","locationName":"accountIds"},"DisableEmailNotification":{"locationName":"disableEmailNotification","type":"boolean"},"Message":{"locationName":"message"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"ListDetectors":{"http":{"method":"GET","requestUri":"/detector","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["DetectorIds"],"members":{"DetectorIds":{"locationName":"detectorIds","type":"list","member":{}},"NextToken":{"locationName":"nextToken"}}}},"ListFilters":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/filter","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["FilterNames"],"members":{"FilterNames":{"locationName":"filterNames","type":"list","member":{}},"NextToken":{"locationName":"nextToken"}}}},"ListFindings":{"http":{"requestUri":"/detector/{detectorId}/findings","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingCriteria":{"shape":"So","locationName":"findingCriteria"},"SortCriteria":{"shape":"S2u","locationName":"sortCriteria"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","required":["FindingIds"],"members":{"FindingIds":{"shape":"S6","locationName":"findingIds"},"NextToken":{"locationName":"nextToken"}}}},"ListIPSets":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/ipset","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["IpSetIds"],"members":{"IpSetIds":{"locationName":"ipSetIds","type":"list","member":{}},"NextToken":{"locationName":"nextToken"}}}},"ListInvitations":{"http":{"method":"GET","requestUri":"/invitation","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Invitations":{"locationName":"invitations","type":"list","member":{"type":"structure","members":{"AccountId":{"locationName":"accountId"},"InvitationId":{"locationName":"invitationId"},"RelationshipStatus":{"locationName":"relationshipStatus"},"InvitedAt":{"locationName":"invitedAt"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/member","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"OnlyAssociated":{"location":"querystring","locationName":"onlyAssociated"}}},"output":{"type":"structure","members":{"Members":{"shape":"S4w","locationName":"members"},"NextToken":{"locationName":"nextToken"}}}},"ListOrganizationAdminAccounts":{"http":{"method":"GET","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"AdminAccounts":{"locationName":"adminAccounts","type":"list","member":{"type":"structure","members":{"AdminAccountId":{"locationName":"adminAccountId"},"AdminStatus":{"locationName":"adminStatus"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListPublishingDestinations":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/publishingDestination","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["Destinations"],"members":{"Destinations":{"locationName":"destinations","type":"list","member":{"type":"structure","required":["DestinationId","DestinationType","Status"],"members":{"DestinationId":{"locationName":"destinationId"},"DestinationType":{"locationName":"destinationType"},"Status":{"locationName":"status"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sf","locationName":"tags"}}}},"ListThreatIntelSets":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/threatintelset","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["ThreatIntelSetIds"],"members":{"ThreatIntelSetIds":{"locationName":"threatIntelSetIds","type":"list","member":{}},"NextToken":{"locationName":"nextToken"}}}},"StartMonitoringMembers":{"http":{"requestUri":"/detector/{detectorId}/member/start","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1n","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"StopMonitoringMembers":{"http":{"requestUri":"/detector/{detectorId}/member/stop","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1n","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"Sf","locationName":"tags"}}},"output":{"type":"structure","members":{}}},"UnarchiveFindings":{"http":{"requestUri":"/detector/{detectorId}/findings/unarchive","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingIds":{"shape":"S6","locationName":"findingIds"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDetector":{"http":{"requestUri":"/detector/{detectorId}","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"Enable":{"locationName":"enable","type":"boolean"},"FindingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"DataSources":{"shape":"Sd","locationName":"dataSources"}}},"output":{"type":"structure","members":{}}},"UpdateFilter":{"http":{"requestUri":"/detector/{detectorId}/filter/{filterName}","responseCode":200},"input":{"type":"structure","required":["DetectorId","FilterName"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FilterName":{"location":"uri","locationName":"filterName"},"Description":{"locationName":"description"},"Action":{"locationName":"action"},"Rank":{"locationName":"rank","type":"integer"},"FindingCriteria":{"shape":"So","locationName":"findingCriteria"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{"locationName":"name"}}}},"UpdateFindingsFeedback":{"http":{"requestUri":"/detector/{detectorId}/findings/feedback","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingIds","Feedback"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingIds":{"shape":"S6","locationName":"findingIds"},"Feedback":{"locationName":"feedback"},"Comments":{"locationName":"comments"}}},"output":{"type":"structure","members":{}}},"UpdateIPSet":{"http":{"requestUri":"/detector/{detectorId}/ipset/{ipSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","IpSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"IpSetId":{"location":"uri","locationName":"ipSetId"},"Name":{"locationName":"name"},"Location":{"locationName":"location"},"Activate":{"locationName":"activate","type":"boolean"}}},"output":{"type":"structure","members":{}}},"UpdateMemberDetectors":{"http":{"requestUri":"/detector/{detectorId}/member/detector/update","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1n","locationName":"accountIds"},"DataSources":{"shape":"Sd","locationName":"dataSources"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S19","locationName":"unprocessedAccounts"}}}},"UpdateOrganizationConfiguration":{"http":{"requestUri":"/detector/{detectorId}/admin","responseCode":200},"input":{"type":"structure","required":["DetectorId","AutoEnable"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AutoEnable":{"locationName":"autoEnable","type":"boolean"},"DataSources":{"locationName":"dataSources","type":"structure","members":{"S3Logs":{"locationName":"s3Logs","type":"structure","required":["AutoEnable"],"members":{"AutoEnable":{"locationName":"autoEnable","type":"boolean"}}}}}}},"output":{"type":"structure","members":{}}},"UpdatePublishingDestination":{"http":{"requestUri":"/detector/{detectorId}/publishingDestination/{destinationId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","DestinationId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"DestinationId":{"location":"uri","locationName":"destinationId"},"DestinationProperties":{"shape":"S1d","locationName":"destinationProperties"}}},"output":{"type":"structure","members":{}}},"UpdateThreatIntelSet":{"http":{"requestUri":"/detector/{detectorId}/threatintelset/{threatIntelSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","ThreatIntelSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"ThreatIntelSetId":{"location":"uri","locationName":"threatIntelSetId"},"Name":{"locationName":"name"},"Location":{"locationName":"location"},"Activate":{"locationName":"activate","type":"boolean"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S6":{"type":"list","member":{}},"Sd":{"type":"structure","members":{"S3Logs":{"locationName":"s3Logs","type":"structure","required":["Enable"],"members":{"Enable":{"locationName":"enable","type":"boolean"}}}}},"Sf":{"type":"map","key":{},"value":{}},"So":{"type":"structure","members":{"Criterion":{"locationName":"criterion","type":"map","key":{},"value":{"type":"structure","members":{"Eq":{"deprecated":true,"locationName":"eq","type":"list","member":{}},"Neq":{"deprecated":true,"locationName":"neq","type":"list","member":{}},"Gt":{"deprecated":true,"locationName":"gt","type":"integer"},"Gte":{"deprecated":true,"locationName":"gte","type":"integer"},"Lt":{"deprecated":true,"locationName":"lt","type":"integer"},"Lte":{"deprecated":true,"locationName":"lte","type":"integer"},"Equals":{"locationName":"equals","type":"list","member":{}},"NotEquals":{"locationName":"notEquals","type":"list","member":{}},"GreaterThan":{"locationName":"greaterThan","type":"long"},"GreaterThanOrEqual":{"locationName":"greaterThanOrEqual","type":"long"},"LessThan":{"locationName":"lessThan","type":"long"},"LessThanOrEqual":{"locationName":"lessThanOrEqual","type":"long"}}}}}},"S19":{"type":"list","member":{"type":"structure","required":["AccountId","Result"],"members":{"AccountId":{"locationName":"accountId"},"Result":{"locationName":"result"}}}},"S1d":{"type":"structure","members":{"DestinationArn":{"locationName":"destinationArn"},"KmsKeyArn":{"locationName":"kmsKeyArn"}}},"S1n":{"type":"list","member":{}},"S2l":{"type":"structure","required":["CloudTrail","DNSLogs","FlowLogs","S3Logs"],"members":{"CloudTrail":{"locationName":"cloudTrail","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}},"DNSLogs":{"locationName":"dnsLogs","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}},"FlowLogs":{"locationName":"flowLogs","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}},"S3Logs":{"locationName":"s3Logs","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}}}},"S2u":{"type":"structure","members":{"AttributeName":{"locationName":"attributeName"},"OrderBy":{"locationName":"orderBy"}}},"S36":{"type":"list","member":{"type":"structure","members":{"Key":{"locationName":"key"},"Value":{"locationName":"value"}}}},"S3e":{"type":"structure","members":{"IgnorePublicAcls":{"locationName":"ignorePublicAcls","type":"boolean"},"RestrictPublicBuckets":{"locationName":"restrictPublicBuckets","type":"boolean"},"BlockPublicAcls":{"locationName":"blockPublicAcls","type":"boolean"},"BlockPublicPolicy":{"locationName":"blockPublicPolicy","type":"boolean"}}},"S3v":{"type":"structure","members":{"City":{"locationName":"city","type":"structure","members":{"CityName":{"locationName":"cityName"}}},"Country":{"locationName":"country","type":"structure","members":{"CountryCode":{"locationName":"countryCode"},"CountryName":{"locationName":"countryName"}}},"GeoLocation":{"locationName":"geoLocation","type":"structure","members":{"Lat":{"locationName":"lat","type":"double"},"Lon":{"locationName":"lon","type":"double"}}},"IpAddressV4":{"locationName":"ipAddressV4"},"Organization":{"locationName":"organization","type":"structure","members":{"Asn":{"locationName":"asn"},"AsnOrg":{"locationName":"asnOrg"},"Isp":{"locationName":"isp"},"Org":{"locationName":"org"}}}}},"S42":{"type":"structure","members":{"Port":{"locationName":"port","type":"integer"},"PortName":{"locationName":"portName"}}},"S43":{"type":"structure","members":{"IpAddressV4":{"locationName":"ipAddressV4"}}},"S4w":{"type":"list","member":{"type":"structure","required":["AccountId","MasterId","Email","RelationshipStatus","UpdatedAt"],"members":{"AccountId":{"locationName":"accountId"},"DetectorId":{"locationName":"detectorId"},"MasterId":{"locationName":"masterId"},"Email":{"locationName":"email"},"RelationshipStatus":{"locationName":"relationshipStatus"},"InvitedAt":{"locationName":"invitedAt"},"UpdatedAt":{"locationName":"updatedAt"}}}},"S5c":{"type":"structure","members":{"Amount":{"locationName":"amount"},"Unit":{"locationName":"unit"}}},"S5f":{"type":"list","member":{"type":"structure","members":{"Resource":{"locationName":"resource"},"Total":{"shape":"S5c","locationName":"total"}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-11-28","endpointPrefix":"guardduty","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon GuardDuty","serviceId":"GuardDuty","signatureVersion":"v4","signingName":"guardduty","uid":"guardduty-2017-11-28"},"operations":{"AcceptInvitation":{"http":{"requestUri":"/detector/{detectorId}/master","responseCode":200},"input":{"type":"structure","required":["DetectorId","MasterId","InvitationId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MasterId":{"locationName":"masterId"},"InvitationId":{"locationName":"invitationId"}}},"output":{"type":"structure","members":{}}},"ArchiveFindings":{"http":{"requestUri":"/detector/{detectorId}/findings/archive","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingIds":{"shape":"S6","locationName":"findingIds"}}},"output":{"type":"structure","members":{}}},"CreateDetector":{"http":{"requestUri":"/detector","responseCode":200},"input":{"type":"structure","required":["Enable"],"members":{"Enable":{"locationName":"enable","type":"boolean"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"FindingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"DataSources":{"shape":"Sd","locationName":"dataSources"},"Tags":{"shape":"Sh","locationName":"tags"}}},"output":{"type":"structure","members":{"DetectorId":{"locationName":"detectorId"}}}},"CreateFilter":{"http":{"requestUri":"/detector/{detectorId}/filter","responseCode":200},"input":{"type":"structure","required":["DetectorId","Name","FindingCriteria"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"Name":{"locationName":"name"},"Description":{"locationName":"description"},"Action":{"locationName":"action"},"Rank":{"locationName":"rank","type":"integer"},"FindingCriteria":{"shape":"Sq","locationName":"findingCriteria"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"Tags":{"shape":"Sh","locationName":"tags"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{"locationName":"name"}}}},"CreateIPSet":{"http":{"requestUri":"/detector/{detectorId}/ipset","responseCode":200},"input":{"type":"structure","required":["DetectorId","Name","Format","Location","Activate"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"Name":{"locationName":"name"},"Format":{"locationName":"format"},"Location":{"locationName":"location"},"Activate":{"locationName":"activate","type":"boolean"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"Tags":{"shape":"Sh","locationName":"tags"}}},"output":{"type":"structure","required":["IpSetId"],"members":{"IpSetId":{"locationName":"ipSetId"}}}},"CreateMembers":{"http":{"requestUri":"/detector/{detectorId}/member","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountDetails"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountDetails":{"locationName":"accountDetails","type":"list","member":{"type":"structure","required":["AccountId","Email"],"members":{"AccountId":{"locationName":"accountId"},"Email":{"locationName":"email"}}}}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"CreatePublishingDestination":{"http":{"requestUri":"/detector/{detectorId}/publishingDestination","responseCode":200},"input":{"type":"structure","required":["DetectorId","DestinationType","DestinationProperties"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"DestinationType":{"locationName":"destinationType"},"DestinationProperties":{"shape":"S1f","locationName":"destinationProperties"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"}}},"output":{"type":"structure","required":["DestinationId"],"members":{"DestinationId":{"locationName":"destinationId"}}}},"CreateSampleFindings":{"http":{"requestUri":"/detector/{detectorId}/findings/create","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingTypes":{"locationName":"findingTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"CreateThreatIntelSet":{"http":{"requestUri":"/detector/{detectorId}/threatintelset","responseCode":200},"input":{"type":"structure","required":["DetectorId","Name","Format","Location","Activate"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"Name":{"locationName":"name"},"Format":{"locationName":"format"},"Location":{"locationName":"location"},"Activate":{"locationName":"activate","type":"boolean"},"ClientToken":{"idempotencyToken":true,"locationName":"clientToken"},"Tags":{"shape":"Sh","locationName":"tags"}}},"output":{"type":"structure","required":["ThreatIntelSetId"],"members":{"ThreatIntelSetId":{"locationName":"threatIntelSetId"}}}},"DeclineInvitations":{"http":{"requestUri":"/invitation/decline","responseCode":200},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"S1p","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"DeleteDetector":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","members":{}}},"DeleteFilter":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}/filter/{filterName}","responseCode":200},"input":{"type":"structure","required":["DetectorId","FilterName"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FilterName":{"location":"uri","locationName":"filterName"}}},"output":{"type":"structure","members":{}}},"DeleteIPSet":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}/ipset/{ipSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","IpSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"IpSetId":{"location":"uri","locationName":"ipSetId"}}},"output":{"type":"structure","members":{}}},"DeleteInvitations":{"http":{"requestUri":"/invitation/delete","responseCode":200},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"S1p","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"DeleteMembers":{"http":{"requestUri":"/detector/{detectorId}/member/delete","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1p","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"DeletePublishingDestination":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}/publishingDestination/{destinationId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","DestinationId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"DestinationId":{"location":"uri","locationName":"destinationId"}}},"output":{"type":"structure","members":{}}},"DeleteThreatIntelSet":{"http":{"method":"DELETE","requestUri":"/detector/{detectorId}/threatintelset/{threatIntelSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","ThreatIntelSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"ThreatIntelSetId":{"location":"uri","locationName":"threatIntelSetId"}}},"output":{"type":"structure","members":{}}},"DescribeOrganizationConfiguration":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/admin","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","required":["AutoEnable","MemberAccountLimitReached"],"members":{"AutoEnable":{"locationName":"autoEnable","type":"boolean"},"MemberAccountLimitReached":{"locationName":"memberAccountLimitReached","type":"boolean"},"DataSources":{"locationName":"dataSources","type":"structure","required":["S3Logs"],"members":{"S3Logs":{"locationName":"s3Logs","type":"structure","required":["AutoEnable"],"members":{"AutoEnable":{"locationName":"autoEnable","type":"boolean"}}},"Kubernetes":{"locationName":"kubernetes","type":"structure","required":["AuditLogs"],"members":{"AuditLogs":{"locationName":"auditLogs","type":"structure","required":["AutoEnable"],"members":{"AutoEnable":{"locationName":"autoEnable","type":"boolean"}}}}}}}}}},"DescribePublishingDestination":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/publishingDestination/{destinationId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","DestinationId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"DestinationId":{"location":"uri","locationName":"destinationId"}}},"output":{"type":"structure","required":["DestinationId","DestinationType","Status","PublishingFailureStartTimestamp","DestinationProperties"],"members":{"DestinationId":{"locationName":"destinationId"},"DestinationType":{"locationName":"destinationType"},"Status":{"locationName":"status"},"PublishingFailureStartTimestamp":{"locationName":"publishingFailureStartTimestamp","type":"long"},"DestinationProperties":{"shape":"S1f","locationName":"destinationProperties"}}}},"DisableOrganizationAdminAccount":{"http":{"requestUri":"/admin/disable","responseCode":200},"input":{"type":"structure","required":["AdminAccountId"],"members":{"AdminAccountId":{"locationName":"adminAccountId"}}},"output":{"type":"structure","members":{}}},"DisassociateFromMasterAccount":{"http":{"requestUri":"/detector/{detectorId}/master/disassociate","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","members":{}}},"DisassociateMembers":{"http":{"requestUri":"/detector/{detectorId}/member/disassociate","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1p","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"EnableOrganizationAdminAccount":{"http":{"requestUri":"/admin/enable","responseCode":200},"input":{"type":"structure","required":["AdminAccountId"],"members":{"AdminAccountId":{"locationName":"adminAccountId"}}},"output":{"type":"structure","members":{}}},"GetDetector":{"http":{"method":"GET","requestUri":"/detector/{detectorId}","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","required":["ServiceRole","Status"],"members":{"CreatedAt":{"locationName":"createdAt"},"FindingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"ServiceRole":{"locationName":"serviceRole"},"Status":{"locationName":"status"},"UpdatedAt":{"locationName":"updatedAt"},"DataSources":{"shape":"S2p","locationName":"dataSources"},"Tags":{"shape":"Sh","locationName":"tags"}}}},"GetFilter":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/filter/{filterName}","responseCode":200},"input":{"type":"structure","required":["DetectorId","FilterName"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FilterName":{"location":"uri","locationName":"filterName"}}},"output":{"type":"structure","required":["Name","Action","FindingCriteria"],"members":{"Name":{"locationName":"name"},"Description":{"locationName":"description"},"Action":{"locationName":"action"},"Rank":{"locationName":"rank","type":"integer"},"FindingCriteria":{"shape":"Sq","locationName":"findingCriteria"},"Tags":{"shape":"Sh","locationName":"tags"}}}},"GetFindings":{"http":{"requestUri":"/detector/{detectorId}/findings/get","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingIds":{"shape":"S6","locationName":"findingIds"},"SortCriteria":{"shape":"S30","locationName":"sortCriteria"}}},"output":{"type":"structure","required":["Findings"],"members":{"Findings":{"locationName":"findings","type":"list","member":{"type":"structure","required":["AccountId","Arn","CreatedAt","Id","Region","Resource","SchemaVersion","Severity","Type","UpdatedAt"],"members":{"AccountId":{"locationName":"accountId"},"Arn":{"locationName":"arn"},"Confidence":{"locationName":"confidence","type":"double"},"CreatedAt":{"locationName":"createdAt"},"Description":{"locationName":"description"},"Id":{"locationName":"id"},"Partition":{"locationName":"partition"},"Region":{"locationName":"region"},"Resource":{"locationName":"resource","type":"structure","members":{"AccessKeyDetails":{"locationName":"accessKeyDetails","type":"structure","members":{"AccessKeyId":{"locationName":"accessKeyId"},"PrincipalId":{"locationName":"principalId"},"UserName":{"locationName":"userName"},"UserType":{"locationName":"userType"}}},"S3BucketDetails":{"locationName":"s3BucketDetails","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Name":{"locationName":"name"},"Type":{"locationName":"type"},"CreatedAt":{"locationName":"createdAt","type":"timestamp"},"Owner":{"locationName":"owner","type":"structure","members":{"Id":{"locationName":"id"}}},"Tags":{"shape":"S3c","locationName":"tags"},"DefaultServerSideEncryption":{"locationName":"defaultServerSideEncryption","type":"structure","members":{"EncryptionType":{"locationName":"encryptionType"},"KmsMasterKeyArn":{"locationName":"kmsMasterKeyArn"}}},"PublicAccess":{"locationName":"publicAccess","type":"structure","members":{"PermissionConfiguration":{"locationName":"permissionConfiguration","type":"structure","members":{"BucketLevelPermissions":{"locationName":"bucketLevelPermissions","type":"structure","members":{"AccessControlList":{"locationName":"accessControlList","type":"structure","members":{"AllowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"AllowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}},"BucketPolicy":{"locationName":"bucketPolicy","type":"structure","members":{"AllowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"AllowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}},"BlockPublicAccess":{"shape":"S3k","locationName":"blockPublicAccess"}}},"AccountLevelPermissions":{"locationName":"accountLevelPermissions","type":"structure","members":{"BlockPublicAccess":{"shape":"S3k","locationName":"blockPublicAccess"}}}}},"EffectivePermission":{"locationName":"effectivePermission"}}}}}},"InstanceDetails":{"locationName":"instanceDetails","type":"structure","members":{"AvailabilityZone":{"locationName":"availabilityZone"},"IamInstanceProfile":{"locationName":"iamInstanceProfile","type":"structure","members":{"Arn":{"locationName":"arn"},"Id":{"locationName":"id"}}},"ImageDescription":{"locationName":"imageDescription"},"ImageId":{"locationName":"imageId"},"InstanceId":{"locationName":"instanceId"},"InstanceState":{"locationName":"instanceState"},"InstanceType":{"locationName":"instanceType"},"OutpostArn":{"locationName":"outpostArn"},"LaunchTime":{"locationName":"launchTime"},"NetworkInterfaces":{"locationName":"networkInterfaces","type":"list","member":{"type":"structure","members":{"Ipv6Addresses":{"locationName":"ipv6Addresses","type":"list","member":{}},"NetworkInterfaceId":{"locationName":"networkInterfaceId"},"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"},"PrivateIpAddresses":{"locationName":"privateIpAddresses","type":"list","member":{"type":"structure","members":{"PrivateDnsName":{"locationName":"privateDnsName"},"PrivateIpAddress":{"locationName":"privateIpAddress"}}}},"PublicDnsName":{"locationName":"publicDnsName"},"PublicIp":{"locationName":"publicIp"},"SecurityGroups":{"locationName":"securityGroups","type":"list","member":{"type":"structure","members":{"GroupId":{"locationName":"groupId"},"GroupName":{"locationName":"groupName"}}}},"SubnetId":{"locationName":"subnetId"},"VpcId":{"locationName":"vpcId"}}}},"Platform":{"locationName":"platform"},"ProductCodes":{"locationName":"productCodes","type":"list","member":{"type":"structure","members":{"Code":{"locationName":"code"},"ProductType":{"locationName":"productType"}}}},"Tags":{"shape":"S3c","locationName":"tags"}}},"EksClusterDetails":{"locationName":"eksClusterDetails","type":"structure","members":{"Name":{"locationName":"name"},"Arn":{"locationName":"arn"},"VpcId":{"locationName":"vpcId"},"Status":{"locationName":"status"},"Tags":{"shape":"S3c","locationName":"tags"},"CreatedAt":{"locationName":"createdAt","type":"timestamp"}}},"KubernetesDetails":{"locationName":"kubernetesDetails","type":"structure","members":{"KubernetesUserDetails":{"locationName":"kubernetesUserDetails","type":"structure","members":{"Username":{"locationName":"username"},"Uid":{"locationName":"uid"},"Groups":{"locationName":"groups","type":"list","member":{}}}},"KubernetesWorkloadDetails":{"locationName":"kubernetesWorkloadDetails","type":"structure","members":{"Name":{"locationName":"name"},"Type":{"locationName":"type"},"Uid":{"locationName":"uid"},"Namespace":{"locationName":"namespace"},"HostNetwork":{"locationName":"hostNetwork","type":"boolean"},"Containers":{"locationName":"containers","type":"list","member":{"type":"structure","members":{"ContainerRuntime":{"locationName":"containerRuntime"},"Id":{"locationName":"id"},"Name":{"locationName":"name"},"Image":{"locationName":"image"},"ImagePrefix":{"locationName":"imagePrefix"},"VolumeMounts":{"locationName":"volumeMounts","type":"list","member":{"type":"structure","members":{"Name":{"locationName":"name"},"MountPath":{"locationName":"mountPath"}}}},"SecurityContext":{"locationName":"securityContext","type":"structure","members":{"Privileged":{"locationName":"privileged","type":"boolean"}}}}}},"Volumes":{"locationName":"volumes","type":"list","member":{"type":"structure","members":{"Name":{"locationName":"name"},"HostPath":{"locationName":"hostPath","type":"structure","members":{"Path":{"locationName":"path"}}}}}}}}}},"ResourceType":{"locationName":"resourceType"}}},"SchemaVersion":{"locationName":"schemaVersion"},"Service":{"locationName":"service","type":"structure","members":{"Action":{"locationName":"action","type":"structure","members":{"ActionType":{"locationName":"actionType"},"AwsApiCallAction":{"locationName":"awsApiCallAction","type":"structure","members":{"Api":{"locationName":"api"},"CallerType":{"locationName":"callerType"},"DomainDetails":{"locationName":"domainDetails","type":"structure","members":{"Domain":{"locationName":"domain"}}},"ErrorCode":{"locationName":"errorCode"},"UserAgent":{"locationName":"userAgent"},"RemoteIpDetails":{"shape":"S4e","locationName":"remoteIpDetails"},"ServiceName":{"locationName":"serviceName"},"RemoteAccountDetails":{"locationName":"remoteAccountDetails","type":"structure","members":{"AccountId":{"locationName":"accountId"},"Affiliated":{"locationName":"affiliated","type":"boolean"}}}}},"DnsRequestAction":{"locationName":"dnsRequestAction","type":"structure","members":{"Domain":{"locationName":"domain"}}},"NetworkConnectionAction":{"locationName":"networkConnectionAction","type":"structure","members":{"Blocked":{"locationName":"blocked","type":"boolean"},"ConnectionDirection":{"locationName":"connectionDirection"},"LocalPortDetails":{"shape":"S4m","locationName":"localPortDetails"},"Protocol":{"locationName":"protocol"},"LocalIpDetails":{"shape":"S4n","locationName":"localIpDetails"},"RemoteIpDetails":{"shape":"S4e","locationName":"remoteIpDetails"},"RemotePortDetails":{"locationName":"remotePortDetails","type":"structure","members":{"Port":{"locationName":"port","type":"integer"},"PortName":{"locationName":"portName"}}}}},"PortProbeAction":{"locationName":"portProbeAction","type":"structure","members":{"Blocked":{"locationName":"blocked","type":"boolean"},"PortProbeDetails":{"locationName":"portProbeDetails","type":"list","member":{"type":"structure","members":{"LocalPortDetails":{"shape":"S4m","locationName":"localPortDetails"},"LocalIpDetails":{"shape":"S4n","locationName":"localIpDetails"},"RemoteIpDetails":{"shape":"S4e","locationName":"remoteIpDetails"}}}}}},"KubernetesApiCallAction":{"locationName":"kubernetesApiCallAction","type":"structure","members":{"RequestUri":{"locationName":"requestUri"},"Verb":{"locationName":"verb"},"SourceIps":{"locationName":"sourceIps","type":"list","member":{}},"UserAgent":{"locationName":"userAgent"},"RemoteIpDetails":{"shape":"S4e","locationName":"remoteIpDetails"},"StatusCode":{"locationName":"statusCode","type":"integer"},"Parameters":{"locationName":"parameters"}}}}},"Evidence":{"locationName":"evidence","type":"structure","members":{"ThreatIntelligenceDetails":{"locationName":"threatIntelligenceDetails","type":"list","member":{"type":"structure","members":{"ThreatListName":{"locationName":"threatListName"},"ThreatNames":{"locationName":"threatNames","type":"list","member":{}}}}}}},"Archived":{"locationName":"archived","type":"boolean"},"Count":{"locationName":"count","type":"integer"},"DetectorId":{"locationName":"detectorId"},"EventFirstSeen":{"locationName":"eventFirstSeen"},"EventLastSeen":{"locationName":"eventLastSeen"},"ResourceRole":{"locationName":"resourceRole"},"ServiceName":{"locationName":"serviceName"},"UserFeedback":{"locationName":"userFeedback"}}},"Severity":{"locationName":"severity","type":"double"},"Title":{"locationName":"title"},"Type":{"locationName":"type"},"UpdatedAt":{"locationName":"updatedAt"}}}}}}},"GetFindingsStatistics":{"http":{"requestUri":"/detector/{detectorId}/findings/statistics","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingStatisticTypes"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingStatisticTypes":{"locationName":"findingStatisticTypes","type":"list","member":{}},"FindingCriteria":{"shape":"Sq","locationName":"findingCriteria"}}},"output":{"type":"structure","required":["FindingStatistics"],"members":{"FindingStatistics":{"locationName":"findingStatistics","type":"structure","members":{"CountBySeverity":{"locationName":"countBySeverity","type":"map","key":{},"value":{"type":"integer"}}}}}}},"GetIPSet":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/ipset/{ipSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","IpSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"IpSetId":{"location":"uri","locationName":"ipSetId"}}},"output":{"type":"structure","required":["Name","Format","Location","Status"],"members":{"Name":{"locationName":"name"},"Format":{"locationName":"format"},"Location":{"locationName":"location"},"Status":{"locationName":"status"},"Tags":{"shape":"Sh","locationName":"tags"}}}},"GetInvitationsCount":{"http":{"method":"GET","requestUri":"/invitation/count","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"InvitationsCount":{"locationName":"invitationsCount","type":"integer"}}}},"GetMasterAccount":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/master","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"}}},"output":{"type":"structure","required":["Master"],"members":{"Master":{"locationName":"master","type":"structure","members":{"AccountId":{"locationName":"accountId"},"InvitationId":{"locationName":"invitationId"},"RelationshipStatus":{"locationName":"relationshipStatus"},"InvitedAt":{"locationName":"invitedAt"}}}}}},"GetMemberDetectors":{"http":{"requestUri":"/detector/{detectorId}/member/detector/get","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1p","locationName":"accountIds"}}},"output":{"type":"structure","required":["MemberDataSourceConfigurations","UnprocessedAccounts"],"members":{"MemberDataSourceConfigurations":{"locationName":"members","type":"list","member":{"type":"structure","required":["AccountId","DataSources"],"members":{"AccountId":{"locationName":"accountId"},"DataSources":{"shape":"S2p","locationName":"dataSources"}}}},"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"GetMembers":{"http":{"requestUri":"/detector/{detectorId}/member/get","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1p","locationName":"accountIds"}}},"output":{"type":"structure","required":["Members","UnprocessedAccounts"],"members":{"Members":{"shape":"S5i","locationName":"members"},"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"GetThreatIntelSet":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/threatintelset/{threatIntelSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","ThreatIntelSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"ThreatIntelSetId":{"location":"uri","locationName":"threatIntelSetId"}}},"output":{"type":"structure","required":["Name","Format","Location","Status"],"members":{"Name":{"locationName":"name"},"Format":{"locationName":"format"},"Location":{"locationName":"location"},"Status":{"locationName":"status"},"Tags":{"shape":"Sh","locationName":"tags"}}}},"GetUsageStatistics":{"http":{"requestUri":"/detector/{detectorId}/usage/statistics","responseCode":200},"input":{"type":"structure","required":["DetectorId","UsageStatisticType","UsageCriteria"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"UsageStatisticType":{"locationName":"usageStatisticsType"},"UsageCriteria":{"locationName":"usageCriteria","type":"structure","required":["DataSources"],"members":{"AccountIds":{"shape":"S1p","locationName":"accountIds"},"DataSources":{"locationName":"dataSources","type":"list","member":{}},"Resources":{"locationName":"resources","type":"list","member":{}}}},"Unit":{"locationName":"unit"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"UsageStatistics":{"locationName":"usageStatistics","type":"structure","members":{"SumByAccount":{"locationName":"sumByAccount","type":"list","member":{"type":"structure","members":{"AccountId":{"locationName":"accountId"},"Total":{"shape":"S5y","locationName":"total"}}}},"SumByDataSource":{"locationName":"sumByDataSource","type":"list","member":{"type":"structure","members":{"DataSource":{"locationName":"dataSource"},"Total":{"shape":"S5y","locationName":"total"}}}},"SumByResource":{"shape":"S61","locationName":"sumByResource"},"TopResources":{"shape":"S61","locationName":"topResources"}}},"NextToken":{"locationName":"nextToken"}}}},"InviteMembers":{"http":{"requestUri":"/detector/{detectorId}/member/invite","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1p","locationName":"accountIds"},"DisableEmailNotification":{"locationName":"disableEmailNotification","type":"boolean"},"Message":{"locationName":"message"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"ListDetectors":{"http":{"method":"GET","requestUri":"/detector","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["DetectorIds"],"members":{"DetectorIds":{"locationName":"detectorIds","type":"list","member":{}},"NextToken":{"locationName":"nextToken"}}}},"ListFilters":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/filter","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["FilterNames"],"members":{"FilterNames":{"locationName":"filterNames","type":"list","member":{}},"NextToken":{"locationName":"nextToken"}}}},"ListFindings":{"http":{"requestUri":"/detector/{detectorId}/findings","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingCriteria":{"shape":"Sq","locationName":"findingCriteria"},"SortCriteria":{"shape":"S30","locationName":"sortCriteria"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","required":["FindingIds"],"members":{"FindingIds":{"shape":"S6","locationName":"findingIds"},"NextToken":{"locationName":"nextToken"}}}},"ListIPSets":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/ipset","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["IpSetIds"],"members":{"IpSetIds":{"locationName":"ipSetIds","type":"list","member":{}},"NextToken":{"locationName":"nextToken"}}}},"ListInvitations":{"http":{"method":"GET","requestUri":"/invitation","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Invitations":{"locationName":"invitations","type":"list","member":{"type":"structure","members":{"AccountId":{"locationName":"accountId"},"InvitationId":{"locationName":"invitationId"},"RelationshipStatus":{"locationName":"relationshipStatus"},"InvitedAt":{"locationName":"invitedAt"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/member","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"OnlyAssociated":{"location":"querystring","locationName":"onlyAssociated"}}},"output":{"type":"structure","members":{"Members":{"shape":"S5i","locationName":"members"},"NextToken":{"locationName":"nextToken"}}}},"ListOrganizationAdminAccounts":{"http":{"method":"GET","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"AdminAccounts":{"locationName":"adminAccounts","type":"list","member":{"type":"structure","members":{"AdminAccountId":{"locationName":"adminAccountId"},"AdminStatus":{"locationName":"adminStatus"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListPublishingDestinations":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/publishingDestination","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["Destinations"],"members":{"Destinations":{"locationName":"destinations","type":"list","member":{"type":"structure","required":["DestinationId","DestinationType","Status"],"members":{"DestinationId":{"locationName":"destinationId"},"DestinationType":{"locationName":"destinationType"},"Status":{"locationName":"status"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sh","locationName":"tags"}}}},"ListThreatIntelSets":{"http":{"method":"GET","requestUri":"/detector/{detectorId}/threatintelset","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["ThreatIntelSetIds"],"members":{"ThreatIntelSetIds":{"locationName":"threatIntelSetIds","type":"list","member":{}},"NextToken":{"locationName":"nextToken"}}}},"StartMonitoringMembers":{"http":{"requestUri":"/detector/{detectorId}/member/start","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1p","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"StopMonitoringMembers":{"http":{"requestUri":"/detector/{detectorId}/member/stop","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1p","locationName":"accountIds"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"Sh","locationName":"tags"}}},"output":{"type":"structure","members":{}}},"UnarchiveFindings":{"http":{"requestUri":"/detector/{detectorId}/findings/unarchive","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingIds":{"shape":"S6","locationName":"findingIds"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDetector":{"http":{"requestUri":"/detector/{detectorId}","responseCode":200},"input":{"type":"structure","required":["DetectorId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"Enable":{"locationName":"enable","type":"boolean"},"FindingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"DataSources":{"shape":"Sd","locationName":"dataSources"}}},"output":{"type":"structure","members":{}}},"UpdateFilter":{"http":{"requestUri":"/detector/{detectorId}/filter/{filterName}","responseCode":200},"input":{"type":"structure","required":["DetectorId","FilterName"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FilterName":{"location":"uri","locationName":"filterName"},"Description":{"locationName":"description"},"Action":{"locationName":"action"},"Rank":{"locationName":"rank","type":"integer"},"FindingCriteria":{"shape":"Sq","locationName":"findingCriteria"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{"locationName":"name"}}}},"UpdateFindingsFeedback":{"http":{"requestUri":"/detector/{detectorId}/findings/feedback","responseCode":200},"input":{"type":"structure","required":["DetectorId","FindingIds","Feedback"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"FindingIds":{"shape":"S6","locationName":"findingIds"},"Feedback":{"locationName":"feedback"},"Comments":{"locationName":"comments"}}},"output":{"type":"structure","members":{}}},"UpdateIPSet":{"http":{"requestUri":"/detector/{detectorId}/ipset/{ipSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","IpSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"IpSetId":{"location":"uri","locationName":"ipSetId"},"Name":{"locationName":"name"},"Location":{"locationName":"location"},"Activate":{"locationName":"activate","type":"boolean"}}},"output":{"type":"structure","members":{}}},"UpdateMemberDetectors":{"http":{"requestUri":"/detector/{detectorId}/member/detector/update","responseCode":200},"input":{"type":"structure","required":["DetectorId","AccountIds"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AccountIds":{"shape":"S1p","locationName":"accountIds"},"DataSources":{"shape":"Sd","locationName":"dataSources"}}},"output":{"type":"structure","required":["UnprocessedAccounts"],"members":{"UnprocessedAccounts":{"shape":"S1b","locationName":"unprocessedAccounts"}}}},"UpdateOrganizationConfiguration":{"http":{"requestUri":"/detector/{detectorId}/admin","responseCode":200},"input":{"type":"structure","required":["DetectorId","AutoEnable"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"AutoEnable":{"locationName":"autoEnable","type":"boolean"},"DataSources":{"locationName":"dataSources","type":"structure","members":{"S3Logs":{"locationName":"s3Logs","type":"structure","required":["AutoEnable"],"members":{"AutoEnable":{"locationName":"autoEnable","type":"boolean"}}},"Kubernetes":{"locationName":"kubernetes","type":"structure","required":["AuditLogs"],"members":{"AuditLogs":{"locationName":"auditLogs","type":"structure","required":["AutoEnable"],"members":{"AutoEnable":{"locationName":"autoEnable","type":"boolean"}}}}}}}}},"output":{"type":"structure","members":{}}},"UpdatePublishingDestination":{"http":{"requestUri":"/detector/{detectorId}/publishingDestination/{destinationId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","DestinationId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"DestinationId":{"location":"uri","locationName":"destinationId"},"DestinationProperties":{"shape":"S1f","locationName":"destinationProperties"}}},"output":{"type":"structure","members":{}}},"UpdateThreatIntelSet":{"http":{"requestUri":"/detector/{detectorId}/threatintelset/{threatIntelSetId}","responseCode":200},"input":{"type":"structure","required":["DetectorId","ThreatIntelSetId"],"members":{"DetectorId":{"location":"uri","locationName":"detectorId"},"ThreatIntelSetId":{"location":"uri","locationName":"threatIntelSetId"},"Name":{"locationName":"name"},"Location":{"locationName":"location"},"Activate":{"locationName":"activate","type":"boolean"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S6":{"type":"list","member":{}},"Sd":{"type":"structure","members":{"S3Logs":{"locationName":"s3Logs","type":"structure","required":["Enable"],"members":{"Enable":{"locationName":"enable","type":"boolean"}}},"Kubernetes":{"locationName":"kubernetes","type":"structure","required":["AuditLogs"],"members":{"AuditLogs":{"locationName":"auditLogs","type":"structure","required":["Enable"],"members":{"Enable":{"locationName":"enable","type":"boolean"}}}}}}},"Sh":{"type":"map","key":{},"value":{}},"Sq":{"type":"structure","members":{"Criterion":{"locationName":"criterion","type":"map","key":{},"value":{"type":"structure","members":{"Eq":{"deprecated":true,"locationName":"eq","type":"list","member":{}},"Neq":{"deprecated":true,"locationName":"neq","type":"list","member":{}},"Gt":{"deprecated":true,"locationName":"gt","type":"integer"},"Gte":{"deprecated":true,"locationName":"gte","type":"integer"},"Lt":{"deprecated":true,"locationName":"lt","type":"integer"},"Lte":{"deprecated":true,"locationName":"lte","type":"integer"},"Equals":{"locationName":"equals","type":"list","member":{}},"NotEquals":{"locationName":"notEquals","type":"list","member":{}},"GreaterThan":{"locationName":"greaterThan","type":"long"},"GreaterThanOrEqual":{"locationName":"greaterThanOrEqual","type":"long"},"LessThan":{"locationName":"lessThan","type":"long"},"LessThanOrEqual":{"locationName":"lessThanOrEqual","type":"long"}}}}}},"S1b":{"type":"list","member":{"type":"structure","required":["AccountId","Result"],"members":{"AccountId":{"locationName":"accountId"},"Result":{"locationName":"result"}}}},"S1f":{"type":"structure","members":{"DestinationArn":{"locationName":"destinationArn"},"KmsKeyArn":{"locationName":"kmsKeyArn"}}},"S1p":{"type":"list","member":{}},"S2p":{"type":"structure","required":["CloudTrail","DNSLogs","FlowLogs","S3Logs"],"members":{"CloudTrail":{"locationName":"cloudTrail","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}},"DNSLogs":{"locationName":"dnsLogs","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}},"FlowLogs":{"locationName":"flowLogs","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}},"S3Logs":{"locationName":"s3Logs","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}},"Kubernetes":{"locationName":"kubernetes","type":"structure","required":["AuditLogs"],"members":{"AuditLogs":{"locationName":"auditLogs","type":"structure","required":["Status"],"members":{"Status":{"locationName":"status"}}}}}}},"S30":{"type":"structure","members":{"AttributeName":{"locationName":"attributeName"},"OrderBy":{"locationName":"orderBy"}}},"S3c":{"type":"list","member":{"type":"structure","members":{"Key":{"locationName":"key"},"Value":{"locationName":"value"}}}},"S3k":{"type":"structure","members":{"IgnorePublicAcls":{"locationName":"ignorePublicAcls","type":"boolean"},"RestrictPublicBuckets":{"locationName":"restrictPublicBuckets","type":"boolean"},"BlockPublicAcls":{"locationName":"blockPublicAcls","type":"boolean"},"BlockPublicPolicy":{"locationName":"blockPublicPolicy","type":"boolean"}}},"S4e":{"type":"structure","members":{"City":{"locationName":"city","type":"structure","members":{"CityName":{"locationName":"cityName"}}},"Country":{"locationName":"country","type":"structure","members":{"CountryCode":{"locationName":"countryCode"},"CountryName":{"locationName":"countryName"}}},"GeoLocation":{"locationName":"geoLocation","type":"structure","members":{"Lat":{"locationName":"lat","type":"double"},"Lon":{"locationName":"lon","type":"double"}}},"IpAddressV4":{"locationName":"ipAddressV4"},"Organization":{"locationName":"organization","type":"structure","members":{"Asn":{"locationName":"asn"},"AsnOrg":{"locationName":"asnOrg"},"Isp":{"locationName":"isp"},"Org":{"locationName":"org"}}}}},"S4m":{"type":"structure","members":{"Port":{"locationName":"port","type":"integer"},"PortName":{"locationName":"portName"}}},"S4n":{"type":"structure","members":{"IpAddressV4":{"locationName":"ipAddressV4"}}},"S5i":{"type":"list","member":{"type":"structure","required":["AccountId","MasterId","Email","RelationshipStatus","UpdatedAt"],"members":{"AccountId":{"locationName":"accountId"},"DetectorId":{"locationName":"detectorId"},"MasterId":{"locationName":"masterId"},"Email":{"locationName":"email"},"RelationshipStatus":{"locationName":"relationshipStatus"},"InvitedAt":{"locationName":"invitedAt"},"UpdatedAt":{"locationName":"updatedAt"}}}},"S5y":{"type":"structure","members":{"Amount":{"locationName":"amount"},"Unit":{"locationName":"unit"}}},"S61":{"type":"list","member":{"type":"structure","members":{"Resource":{"locationName":"resource"},"Total":{"shape":"S5y","locationName":"total"}}}}}} /***/ }), /* 547 */ @@ -48885,7 +48891,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 552 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-11-27","endpointPrefix":"comprehend","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Comprehend","serviceId":"Comprehend","signatureVersion":"v4","signingName":"comprehend","targetPrefix":"Comprehend_20171127","uid":"comprehend-2017-11-27"},"operations":{"BatchDetectDominantLanguage":{"input":{"type":"structure","required":["TextList"],"members":{"TextList":{"shape":"S2"}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"Languages":{"shape":"S8"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"BatchDetectEntities":{"input":{"type":"structure","required":["TextList","LanguageCode"],"members":{"TextList":{"shape":"S2"},"LanguageCode":{}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"Entities":{"shape":"Sj"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"BatchDetectKeyPhrases":{"input":{"type":"structure","required":["TextList","LanguageCode"],"members":{"TextList":{"shape":"S2"},"LanguageCode":{}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"KeyPhrases":{"shape":"Sq"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"BatchDetectSentiment":{"input":{"type":"structure","required":["TextList","LanguageCode"],"members":{"TextList":{"shape":"S2"},"LanguageCode":{}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"Sentiment":{},"SentimentScore":{"shape":"Sx"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"BatchDetectSyntax":{"input":{"type":"structure","required":["TextList","LanguageCode"],"members":{"TextList":{"shape":"S2"},"LanguageCode":{}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"SyntaxTokens":{"shape":"S13"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"ClassifyDocument":{"input":{"type":"structure","required":["Text","EndpointArn"],"members":{"Text":{"shape":"S3"},"EndpointArn":{}}},"output":{"type":"structure","members":{"Classes":{"type":"list","member":{"type":"structure","members":{"Name":{},"Score":{"type":"float"}}}},"Labels":{"type":"list","member":{"type":"structure","members":{"Name":{},"Score":{"type":"float"}}}}},"sensitive":true}},"ContainsPiiEntities":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{},"LanguageCode":{}}},"output":{"type":"structure","members":{"Labels":{"type":"list","member":{"type":"structure","members":{"Name":{},"Score":{"type":"float"}}}}}}},"CreateDocumentClassifier":{"input":{"type":"structure","required":["DocumentClassifierName","DataAccessRoleArn","InputDataConfig","LanguageCode"],"members":{"DocumentClassifierName":{},"VersionName":{},"DataAccessRoleArn":{},"Tags":{"shape":"S1n"},"InputDataConfig":{"shape":"S1r"},"OutputDataConfig":{"shape":"S21"},"ClientRequestToken":{"idempotencyToken":true},"LanguageCode":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Mode":{},"ModelKmsKeyId":{}}},"output":{"type":"structure","members":{"DocumentClassifierArn":{}}}},"CreateEndpoint":{"input":{"type":"structure","required":["EndpointName","ModelArn","DesiredInferenceUnits"],"members":{"EndpointName":{},"ModelArn":{},"DesiredInferenceUnits":{"type":"integer"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"S1n"},"DataAccessRoleArn":{}}},"output":{"type":"structure","members":{"EndpointArn":{}}}},"CreateEntityRecognizer":{"input":{"type":"structure","required":["RecognizerName","DataAccessRoleArn","InputDataConfig","LanguageCode"],"members":{"RecognizerName":{},"VersionName":{},"DataAccessRoleArn":{},"Tags":{"shape":"S1n"},"InputDataConfig":{"shape":"S2j"},"ClientRequestToken":{"idempotencyToken":true},"LanguageCode":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"ModelKmsKeyId":{}}},"output":{"type":"structure","members":{"EntityRecognizerArn":{}}}},"DeleteDocumentClassifier":{"input":{"type":"structure","required":["DocumentClassifierArn"],"members":{"DocumentClassifierArn":{}}},"output":{"type":"structure","members":{}}},"DeleteEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}},"output":{"type":"structure","members":{}}},"DeleteEntityRecognizer":{"input":{"type":"structure","required":["EntityRecognizerArn"],"members":{"EntityRecognizerArn":{}}},"output":{"type":"structure","members":{}}},"DescribeDocumentClassificationJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"DocumentClassificationJobProperties":{"shape":"S34"}}}},"DescribeDocumentClassifier":{"input":{"type":"structure","required":["DocumentClassifierArn"],"members":{"DocumentClassifierArn":{}}},"output":{"type":"structure","members":{"DocumentClassifierProperties":{"shape":"S3j"}}}},"DescribeDominantLanguageDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"DominantLanguageDetectionJobProperties":{"shape":"S3q"}}}},"DescribeEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}},"output":{"type":"structure","members":{"EndpointProperties":{"shape":"S3t"}}}},"DescribeEntitiesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"EntitiesDetectionJobProperties":{"shape":"S3x"}}}},"DescribeEntityRecognizer":{"input":{"type":"structure","required":["EntityRecognizerArn"],"members":{"EntityRecognizerArn":{}}},"output":{"type":"structure","members":{"EntityRecognizerProperties":{"shape":"S40"}}}},"DescribeEventsDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"EventsDetectionJobProperties":{"shape":"S48"}}}},"DescribeKeyPhrasesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"KeyPhrasesDetectionJobProperties":{"shape":"S4d"}}}},"DescribePiiEntitiesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"PiiEntitiesDetectionJobProperties":{"shape":"S4g"}}}},"DescribeSentimentDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"SentimentDetectionJobProperties":{"shape":"S4p"}}}},"DescribeTopicsDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"TopicsDetectionJobProperties":{"shape":"S4s"}}}},"DetectDominantLanguage":{"input":{"type":"structure","required":["Text"],"members":{"Text":{"shape":"S3"}}},"output":{"type":"structure","members":{"Languages":{"shape":"S8"}},"sensitive":true}},"DetectEntities":{"input":{"type":"structure","required":["Text"],"members":{"Text":{"shape":"S3"},"LanguageCode":{},"EndpointArn":{}}},"output":{"type":"structure","members":{"Entities":{"shape":"Sj"}},"sensitive":true}},"DetectKeyPhrases":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{"shape":"S3"},"LanguageCode":{}}},"output":{"type":"structure","members":{"KeyPhrases":{"shape":"Sq"}},"sensitive":true}},"DetectPiiEntities":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{},"LanguageCode":{}}},"output":{"type":"structure","members":{"Entities":{"type":"list","member":{"type":"structure","members":{"Score":{"type":"float"},"Type":{},"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}}}}},"DetectSentiment":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{"shape":"S3"},"LanguageCode":{}}},"output":{"type":"structure","members":{"Sentiment":{},"SentimentScore":{"shape":"Sx"}},"sensitive":true}},"DetectSyntax":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{"shape":"S3"},"LanguageCode":{}}},"output":{"type":"structure","members":{"SyntaxTokens":{"shape":"S13"}},"sensitive":true}},"ListDocumentClassificationJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DocumentClassificationJobPropertiesList":{"type":"list","member":{"shape":"S34"}},"NextToken":{}}}},"ListDocumentClassifierSummaries":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DocumentClassifierSummariesList":{"type":"list","member":{"type":"structure","members":{"DocumentClassifierName":{},"NumberOfVersions":{"type":"integer"},"LatestVersionCreatedAt":{"type":"timestamp"},"LatestVersionName":{},"LatestVersionStatus":{}}}},"NextToken":{}}}},"ListDocumentClassifiers":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"Status":{},"DocumentClassifierName":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DocumentClassifierPropertiesList":{"type":"list","member":{"shape":"S3j"}},"NextToken":{}}}},"ListDominantLanguageDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DominantLanguageDetectionJobPropertiesList":{"type":"list","member":{"shape":"S3q"}},"NextToken":{}}}},"ListEndpoints":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"ModelArn":{},"Status":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EndpointPropertiesList":{"type":"list","member":{"shape":"S3t"}},"NextToken":{}}}},"ListEntitiesDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EntitiesDetectionJobPropertiesList":{"type":"list","member":{"shape":"S3x"}},"NextToken":{}}}},"ListEntityRecognizerSummaries":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EntityRecognizerSummariesList":{"type":"list","member":{"type":"structure","members":{"RecognizerName":{},"NumberOfVersions":{"type":"integer"},"LatestVersionCreatedAt":{"type":"timestamp"},"LatestVersionName":{},"LatestVersionStatus":{}}}},"NextToken":{}}}},"ListEntityRecognizers":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"Status":{},"RecognizerName":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EntityRecognizerPropertiesList":{"type":"list","member":{"shape":"S40"}},"NextToken":{}}}},"ListEventsDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EventsDetectionJobPropertiesList":{"type":"list","member":{"shape":"S48"}},"NextToken":{}}}},"ListKeyPhrasesDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"KeyPhrasesDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4d"}},"NextToken":{}}}},"ListPiiEntitiesDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PiiEntitiesDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4g"}},"NextToken":{}}}},"ListSentimentDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SentimentDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4p"}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceArn":{},"Tags":{"shape":"S1n"}}}},"ListTopicsDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"TopicsDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4s"}},"NextToken":{}}}},"StartDocumentClassificationJob":{"input":{"type":"structure","required":["DocumentClassifierArn","InputDataConfig","OutputDataConfig","DataAccessRoleArn"],"members":{"JobName":{},"DocumentClassifierArn":{},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartDominantLanguageDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn"],"members":{"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"JobName":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartEntitiesDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn","LanguageCode"],"members":{"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"JobName":{},"EntityRecognizerArn":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartEventsDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn","LanguageCode","TargetEventTypes"],"members":{"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"JobName":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"TargetEventTypes":{"shape":"S49"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartKeyPhrasesDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn","LanguageCode"],"members":{"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"JobName":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartPiiEntitiesDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","Mode","DataAccessRoleArn","LanguageCode"],"members":{"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"Mode":{},"RedactionConfig":{"shape":"S4i"},"DataAccessRoleArn":{},"JobName":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartSentimentDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn","LanguageCode"],"members":{"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"JobName":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartTopicsDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn"],"members":{"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"JobName":{},"NumberOfTopics":{"type":"integer"},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StopDominantLanguageDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopEntitiesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopEventsDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopKeyPhrasesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopPiiEntitiesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopSentimentDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopTrainingDocumentClassifier":{"input":{"type":"structure","required":["DocumentClassifierArn"],"members":{"DocumentClassifierArn":{}}},"output":{"type":"structure","members":{}}},"StopTrainingEntityRecognizer":{"input":{"type":"structure","required":["EntityRecognizerArn"],"members":{"EntityRecognizerArn":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{},"DesiredModelArn":{},"DesiredInferenceUnits":{"type":"integer"},"DesiredDataAccessRoleArn":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S2":{"type":"list","member":{"shape":"S3"},"sensitive":true},"S3":{"type":"string","sensitive":true},"S8":{"type":"list","member":{"type":"structure","members":{"LanguageCode":{},"Score":{"type":"float"}}}},"Sc":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"ErrorCode":{},"ErrorMessage":{}}}},"Sj":{"type":"list","member":{"type":"structure","members":{"Score":{"type":"float"},"Type":{},"Text":{},"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}},"Sq":{"type":"list","member":{"type":"structure","members":{"Score":{"type":"float"},"Text":{},"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}},"Sx":{"type":"structure","members":{"Positive":{"type":"float"},"Negative":{"type":"float"},"Neutral":{"type":"float"},"Mixed":{"type":"float"}}},"S13":{"type":"list","member":{"type":"structure","members":{"TokenId":{"type":"integer"},"Text":{},"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"},"PartOfSpeech":{"type":"structure","members":{"Tag":{},"Score":{"type":"float"}}}}}},"S1n":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"S1r":{"type":"structure","members":{"DataFormat":{},"S3Uri":{},"TestS3Uri":{},"LabelDelimiter":{},"AugmentedManifests":{"type":"list","member":{"shape":"S1w"}}}},"S1w":{"type":"structure","required":["S3Uri","AttributeNames"],"members":{"S3Uri":{},"Split":{},"AttributeNames":{"type":"list","member":{}},"AnnotationDataS3Uri":{},"SourceDocumentsS3Uri":{},"DocumentType":{}}},"S21":{"type":"structure","members":{"S3Uri":{},"KmsKeyId":{}}},"S24":{"type":"structure","required":["SecurityGroupIds","Subnets"],"members":{"SecurityGroupIds":{"type":"list","member":{}},"Subnets":{"type":"list","member":{}}}},"S2j":{"type":"structure","required":["EntityTypes"],"members":{"DataFormat":{},"EntityTypes":{"type":"list","member":{"type":"structure","required":["Type"],"members":{"Type":{}}}},"Documents":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"TestS3Uri":{},"InputFormat":{}}},"Annotations":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"TestS3Uri":{}}},"EntityList":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{}}},"AugmentedManifests":{"type":"list","member":{"shape":"S1w"}}}},"S34":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"DocumentClassifierArn":{},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S3a":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"InputFormat":{},"DocumentReaderConfig":{"type":"structure","required":["DocumentReadAction"],"members":{"DocumentReadAction":{},"DocumentReadMode":{},"FeatureTypes":{"type":"list","member":{}}}}}},"S3g":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"KmsKeyId":{}}},"S3j":{"type":"structure","members":{"DocumentClassifierArn":{},"LanguageCode":{},"Status":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S1r"},"OutputDataConfig":{"shape":"S21"},"ClassifierMetadata":{"type":"structure","members":{"NumberOfLabels":{"type":"integer"},"NumberOfTrainedDocuments":{"type":"integer"},"NumberOfTestDocuments":{"type":"integer"},"EvaluationMetrics":{"type":"structure","members":{"Accuracy":{"type":"double"},"Precision":{"type":"double"},"Recall":{"type":"double"},"F1Score":{"type":"double"},"MicroPrecision":{"type":"double"},"MicroRecall":{"type":"double"},"MicroF1Score":{"type":"double"},"HammingLoss":{"type":"double"}}}},"sensitive":true},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Mode":{},"ModelKmsKeyId":{},"VersionName":{}}},"S3q":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S3t":{"type":"structure","members":{"EndpointArn":{},"Status":{},"Message":{},"ModelArn":{},"DesiredModelArn":{},"DesiredInferenceUnits":{"type":"integer"},"CurrentInferenceUnits":{"type":"integer"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"DataAccessRoleArn":{},"DesiredDataAccessRoleArn":{}}},"S3x":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"EntityRecognizerArn":{},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"LanguageCode":{},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S40":{"type":"structure","members":{"EntityRecognizerArn":{},"LanguageCode":{},"Status":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S2j"},"RecognizerMetadata":{"type":"structure","members":{"NumberOfTrainedDocuments":{"type":"integer"},"NumberOfTestDocuments":{"type":"integer"},"EvaluationMetrics":{"type":"structure","members":{"Precision":{"type":"double"},"Recall":{"type":"double"},"F1Score":{"type":"double"}}},"EntityTypes":{"type":"list","member":{"type":"structure","members":{"Type":{},"EvaluationMetrics":{"type":"structure","members":{"Precision":{"type":"double"},"Recall":{"type":"double"},"F1Score":{"type":"double"}}},"NumberOfTrainMentions":{"type":"integer"}}}}},"sensitive":true},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"ModelKmsKeyId":{},"VersionName":{}}},"S48":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"LanguageCode":{},"DataAccessRoleArn":{},"TargetEventTypes":{"shape":"S49"}}},"S49":{"type":"list","member":{}},"S4d":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"LanguageCode":{},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S4g":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"KmsKeyId":{}}},"RedactionConfig":{"shape":"S4i"},"LanguageCode":{},"DataAccessRoleArn":{},"Mode":{}}},"S4i":{"type":"structure","members":{"PiiEntityTypes":{"type":"list","member":{}},"MaskMode":{},"MaskCharacter":{}}},"S4p":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"LanguageCode":{},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S4s":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3a"},"OutputDataConfig":{"shape":"S3g"},"NumberOfTopics":{"type":"integer"},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-11-27","endpointPrefix":"comprehend","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Comprehend","serviceId":"Comprehend","signatureVersion":"v4","signingName":"comprehend","targetPrefix":"Comprehend_20171127","uid":"comprehend-2017-11-27"},"operations":{"BatchDetectDominantLanguage":{"input":{"type":"structure","required":["TextList"],"members":{"TextList":{"shape":"S2"}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"Languages":{"shape":"S8"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"BatchDetectEntities":{"input":{"type":"structure","required":["TextList","LanguageCode"],"members":{"TextList":{"shape":"S2"},"LanguageCode":{}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"Entities":{"shape":"Sj"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"BatchDetectKeyPhrases":{"input":{"type":"structure","required":["TextList","LanguageCode"],"members":{"TextList":{"shape":"S2"},"LanguageCode":{}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"KeyPhrases":{"shape":"Sq"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"BatchDetectSentiment":{"input":{"type":"structure","required":["TextList","LanguageCode"],"members":{"TextList":{"shape":"S2"},"LanguageCode":{}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"Sentiment":{},"SentimentScore":{"shape":"Sx"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"BatchDetectSyntax":{"input":{"type":"structure","required":["TextList","LanguageCode"],"members":{"TextList":{"shape":"S2"},"LanguageCode":{}}},"output":{"type":"structure","required":["ResultList","ErrorList"],"members":{"ResultList":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"SyntaxTokens":{"shape":"S13"}}}},"ErrorList":{"shape":"Sc"}},"sensitive":true}},"ClassifyDocument":{"input":{"type":"structure","required":["Text","EndpointArn"],"members":{"Text":{"shape":"S3"},"EndpointArn":{}}},"output":{"type":"structure","members":{"Classes":{"type":"list","member":{"type":"structure","members":{"Name":{},"Score":{"type":"float"}}}},"Labels":{"type":"list","member":{"type":"structure","members":{"Name":{},"Score":{"type":"float"}}}}},"sensitive":true}},"ContainsPiiEntities":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{},"LanguageCode":{}}},"output":{"type":"structure","members":{"Labels":{"type":"list","member":{"type":"structure","members":{"Name":{},"Score":{"type":"float"}}}}}}},"CreateDocumentClassifier":{"input":{"type":"structure","required":["DocumentClassifierName","DataAccessRoleArn","InputDataConfig","LanguageCode"],"members":{"DocumentClassifierName":{},"VersionName":{},"DataAccessRoleArn":{},"Tags":{"shape":"S1n"},"InputDataConfig":{"shape":"S1r"},"OutputDataConfig":{"shape":"S21"},"ClientRequestToken":{"idempotencyToken":true},"LanguageCode":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Mode":{},"ModelKmsKeyId":{},"ModelPolicy":{}}},"output":{"type":"structure","members":{"DocumentClassifierArn":{}}}},"CreateEndpoint":{"input":{"type":"structure","required":["EndpointName","ModelArn","DesiredInferenceUnits"],"members":{"EndpointName":{},"ModelArn":{},"DesiredInferenceUnits":{"type":"integer"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"S1n"},"DataAccessRoleArn":{}}},"output":{"type":"structure","members":{"EndpointArn":{}}}},"CreateEntityRecognizer":{"input":{"type":"structure","required":["RecognizerName","DataAccessRoleArn","InputDataConfig","LanguageCode"],"members":{"RecognizerName":{},"VersionName":{},"DataAccessRoleArn":{},"Tags":{"shape":"S1n"},"InputDataConfig":{"shape":"S2k"},"ClientRequestToken":{"idempotencyToken":true},"LanguageCode":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"ModelKmsKeyId":{},"ModelPolicy":{}}},"output":{"type":"structure","members":{"EntityRecognizerArn":{}}}},"DeleteDocumentClassifier":{"input":{"type":"structure","required":["DocumentClassifierArn"],"members":{"DocumentClassifierArn":{}}},"output":{"type":"structure","members":{}}},"DeleteEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}},"output":{"type":"structure","members":{}}},"DeleteEntityRecognizer":{"input":{"type":"structure","required":["EntityRecognizerArn"],"members":{"EntityRecognizerArn":{}}},"output":{"type":"structure","members":{}}},"DeleteResourcePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"PolicyRevisionId":{}}},"output":{"type":"structure","members":{}}},"DescribeDocumentClassificationJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"DocumentClassificationJobProperties":{"shape":"S38"}}}},"DescribeDocumentClassifier":{"input":{"type":"structure","required":["DocumentClassifierArn"],"members":{"DocumentClassifierArn":{}}},"output":{"type":"structure","members":{"DocumentClassifierProperties":{"shape":"S3n"}}}},"DescribeDominantLanguageDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"DominantLanguageDetectionJobProperties":{"shape":"S3u"}}}},"DescribeEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}},"output":{"type":"structure","members":{"EndpointProperties":{"shape":"S3x"}}}},"DescribeEntitiesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"EntitiesDetectionJobProperties":{"shape":"S41"}}}},"DescribeEntityRecognizer":{"input":{"type":"structure","required":["EntityRecognizerArn"],"members":{"EntityRecognizerArn":{}}},"output":{"type":"structure","members":{"EntityRecognizerProperties":{"shape":"S44"}}}},"DescribeEventsDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"EventsDetectionJobProperties":{"shape":"S4c"}}}},"DescribeKeyPhrasesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"KeyPhrasesDetectionJobProperties":{"shape":"S4h"}}}},"DescribePiiEntitiesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"PiiEntitiesDetectionJobProperties":{"shape":"S4k"}}}},"DescribeResourcePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourcePolicy":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"PolicyRevisionId":{}}}},"DescribeSentimentDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"SentimentDetectionJobProperties":{"shape":"S4v"}}}},"DescribeTopicsDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"TopicsDetectionJobProperties":{"shape":"S4y"}}}},"DetectDominantLanguage":{"input":{"type":"structure","required":["Text"],"members":{"Text":{"shape":"S3"}}},"output":{"type":"structure","members":{"Languages":{"shape":"S8"}},"sensitive":true}},"DetectEntities":{"input":{"type":"structure","required":["Text"],"members":{"Text":{"shape":"S3"},"LanguageCode":{},"EndpointArn":{}}},"output":{"type":"structure","members":{"Entities":{"shape":"Sj"}},"sensitive":true}},"DetectKeyPhrases":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{"shape":"S3"},"LanguageCode":{}}},"output":{"type":"structure","members":{"KeyPhrases":{"shape":"Sq"}},"sensitive":true}},"DetectPiiEntities":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{},"LanguageCode":{}}},"output":{"type":"structure","members":{"Entities":{"type":"list","member":{"type":"structure","members":{"Score":{"type":"float"},"Type":{},"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}}}}},"DetectSentiment":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{"shape":"S3"},"LanguageCode":{}}},"output":{"type":"structure","members":{"Sentiment":{},"SentimentScore":{"shape":"Sx"}},"sensitive":true}},"DetectSyntax":{"input":{"type":"structure","required":["Text","LanguageCode"],"members":{"Text":{"shape":"S3"},"LanguageCode":{}}},"output":{"type":"structure","members":{"SyntaxTokens":{"shape":"S13"}},"sensitive":true}},"ImportModel":{"input":{"type":"structure","required":["SourceModelArn"],"members":{"SourceModelArn":{},"ModelName":{},"VersionName":{},"ModelKmsKeyId":{},"DataAccessRoleArn":{},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"ModelArn":{}}}},"ListDocumentClassificationJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DocumentClassificationJobPropertiesList":{"type":"list","member":{"shape":"S38"}},"NextToken":{}}}},"ListDocumentClassifierSummaries":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DocumentClassifierSummariesList":{"type":"list","member":{"type":"structure","members":{"DocumentClassifierName":{},"NumberOfVersions":{"type":"integer"},"LatestVersionCreatedAt":{"type":"timestamp"},"LatestVersionName":{},"LatestVersionStatus":{}}}},"NextToken":{}}}},"ListDocumentClassifiers":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"Status":{},"DocumentClassifierName":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DocumentClassifierPropertiesList":{"type":"list","member":{"shape":"S3n"}},"NextToken":{}}}},"ListDominantLanguageDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DominantLanguageDetectionJobPropertiesList":{"type":"list","member":{"shape":"S3u"}},"NextToken":{}}}},"ListEndpoints":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"ModelArn":{},"Status":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EndpointPropertiesList":{"type":"list","member":{"shape":"S3x"}},"NextToken":{}}}},"ListEntitiesDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EntitiesDetectionJobPropertiesList":{"type":"list","member":{"shape":"S41"}},"NextToken":{}}}},"ListEntityRecognizerSummaries":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EntityRecognizerSummariesList":{"type":"list","member":{"type":"structure","members":{"RecognizerName":{},"NumberOfVersions":{"type":"integer"},"LatestVersionCreatedAt":{"type":"timestamp"},"LatestVersionName":{},"LatestVersionStatus":{}}}},"NextToken":{}}}},"ListEntityRecognizers":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"Status":{},"RecognizerName":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EntityRecognizerPropertiesList":{"type":"list","member":{"shape":"S44"}},"NextToken":{}}}},"ListEventsDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"EventsDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4c"}},"NextToken":{}}}},"ListKeyPhrasesDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"KeyPhrasesDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4h"}},"NextToken":{}}}},"ListPiiEntitiesDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PiiEntitiesDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4k"}},"NextToken":{}}}},"ListSentimentDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SentimentDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4v"}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceArn":{},"Tags":{"shape":"S1n"}}}},"ListTopicsDetectionJobs":{"input":{"type":"structure","members":{"Filter":{"type":"structure","members":{"JobName":{},"JobStatus":{},"SubmitTimeBefore":{"type":"timestamp"},"SubmitTimeAfter":{"type":"timestamp"}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"TopicsDetectionJobPropertiesList":{"type":"list","member":{"shape":"S4y"}},"NextToken":{}}}},"PutResourcePolicy":{"input":{"type":"structure","required":["ResourceArn","ResourcePolicy"],"members":{"ResourceArn":{},"ResourcePolicy":{},"PolicyRevisionId":{}}},"output":{"type":"structure","members":{"PolicyRevisionId":{}}}},"StartDocumentClassificationJob":{"input":{"type":"structure","required":["DocumentClassifierArn","InputDataConfig","OutputDataConfig","DataAccessRoleArn"],"members":{"JobName":{},"DocumentClassifierArn":{},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartDominantLanguageDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn"],"members":{"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"JobName":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartEntitiesDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn","LanguageCode"],"members":{"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"JobName":{},"EntityRecognizerArn":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartEventsDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn","LanguageCode","TargetEventTypes"],"members":{"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"JobName":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"TargetEventTypes":{"shape":"S4d"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartKeyPhrasesDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn","LanguageCode"],"members":{"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"JobName":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartPiiEntitiesDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","Mode","DataAccessRoleArn","LanguageCode"],"members":{"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"Mode":{},"RedactionConfig":{"shape":"S4m"},"DataAccessRoleArn":{},"JobName":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartSentimentDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn","LanguageCode"],"members":{"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"JobName":{},"LanguageCode":{},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StartTopicsDetectionJob":{"input":{"type":"structure","required":["InputDataConfig","OutputDataConfig","DataAccessRoleArn"],"members":{"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"JobName":{},"NumberOfTopics":{"type":"integer"},"ClientRequestToken":{"idempotencyToken":true},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobStatus":{}}}},"StopDominantLanguageDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopEntitiesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopEventsDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopKeyPhrasesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopPiiEntitiesDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopSentimentDetectionJob":{"input":{"type":"structure","required":["JobId"],"members":{"JobId":{}}},"output":{"type":"structure","members":{"JobId":{},"JobStatus":{}}}},"StopTrainingDocumentClassifier":{"input":{"type":"structure","required":["DocumentClassifierArn"],"members":{"DocumentClassifierArn":{}}},"output":{"type":"structure","members":{}}},"StopTrainingEntityRecognizer":{"input":{"type":"structure","required":["EntityRecognizerArn"],"members":{"EntityRecognizerArn":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S1n"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateEndpoint":{"input":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{},"DesiredModelArn":{},"DesiredInferenceUnits":{"type":"integer"},"DesiredDataAccessRoleArn":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S2":{"type":"list","member":{"shape":"S3"},"sensitive":true},"S3":{"type":"string","sensitive":true},"S8":{"type":"list","member":{"type":"structure","members":{"LanguageCode":{},"Score":{"type":"float"}}}},"Sc":{"type":"list","member":{"type":"structure","members":{"Index":{"type":"integer"},"ErrorCode":{},"ErrorMessage":{}}}},"Sj":{"type":"list","member":{"type":"structure","members":{"Score":{"type":"float"},"Type":{},"Text":{},"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}},"Sq":{"type":"list","member":{"type":"structure","members":{"Score":{"type":"float"},"Text":{},"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}},"Sx":{"type":"structure","members":{"Positive":{"type":"float"},"Negative":{"type":"float"},"Neutral":{"type":"float"},"Mixed":{"type":"float"}}},"S13":{"type":"list","member":{"type":"structure","members":{"TokenId":{"type":"integer"},"Text":{},"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"},"PartOfSpeech":{"type":"structure","members":{"Tag":{},"Score":{"type":"float"}}}}}},"S1n":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"S1r":{"type":"structure","members":{"DataFormat":{},"S3Uri":{},"TestS3Uri":{},"LabelDelimiter":{},"AugmentedManifests":{"type":"list","member":{"shape":"S1w"}}}},"S1w":{"type":"structure","required":["S3Uri","AttributeNames"],"members":{"S3Uri":{},"Split":{},"AttributeNames":{"type":"list","member":{}},"AnnotationDataS3Uri":{},"SourceDocumentsS3Uri":{},"DocumentType":{}}},"S21":{"type":"structure","members":{"S3Uri":{},"KmsKeyId":{}}},"S24":{"type":"structure","required":["SecurityGroupIds","Subnets"],"members":{"SecurityGroupIds":{"type":"list","member":{}},"Subnets":{"type":"list","member":{}}}},"S2k":{"type":"structure","required":["EntityTypes"],"members":{"DataFormat":{},"EntityTypes":{"type":"list","member":{"type":"structure","required":["Type"],"members":{"Type":{}}}},"Documents":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"TestS3Uri":{},"InputFormat":{}}},"Annotations":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"TestS3Uri":{}}},"EntityList":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{}}},"AugmentedManifests":{"type":"list","member":{"shape":"S1w"}}}},"S38":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"DocumentClassifierArn":{},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S3e":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"InputFormat":{},"DocumentReaderConfig":{"type":"structure","required":["DocumentReadAction"],"members":{"DocumentReadAction":{},"DocumentReadMode":{},"FeatureTypes":{"type":"list","member":{}}}}}},"S3k":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"KmsKeyId":{}}},"S3n":{"type":"structure","members":{"DocumentClassifierArn":{},"LanguageCode":{},"Status":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S1r"},"OutputDataConfig":{"shape":"S21"},"ClassifierMetadata":{"type":"structure","members":{"NumberOfLabels":{"type":"integer"},"NumberOfTrainedDocuments":{"type":"integer"},"NumberOfTestDocuments":{"type":"integer"},"EvaluationMetrics":{"type":"structure","members":{"Accuracy":{"type":"double"},"Precision":{"type":"double"},"Recall":{"type":"double"},"F1Score":{"type":"double"},"MicroPrecision":{"type":"double"},"MicroRecall":{"type":"double"},"MicroF1Score":{"type":"double"},"HammingLoss":{"type":"double"}}}},"sensitive":true},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"Mode":{},"ModelKmsKeyId":{},"VersionName":{},"SourceModelArn":{}}},"S3u":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S3x":{"type":"structure","members":{"EndpointArn":{},"Status":{},"Message":{},"ModelArn":{},"DesiredModelArn":{},"DesiredInferenceUnits":{"type":"integer"},"CurrentInferenceUnits":{"type":"integer"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"DataAccessRoleArn":{},"DesiredDataAccessRoleArn":{}}},"S41":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"EntityRecognizerArn":{},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"LanguageCode":{},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S44":{"type":"structure","members":{"EntityRecognizerArn":{},"LanguageCode":{},"Status":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S2k"},"RecognizerMetadata":{"type":"structure","members":{"NumberOfTrainedDocuments":{"type":"integer"},"NumberOfTestDocuments":{"type":"integer"},"EvaluationMetrics":{"type":"structure","members":{"Precision":{"type":"double"},"Recall":{"type":"double"},"F1Score":{"type":"double"}}},"EntityTypes":{"type":"list","member":{"type":"structure","members":{"Type":{},"EvaluationMetrics":{"type":"structure","members":{"Precision":{"type":"double"},"Recall":{"type":"double"},"F1Score":{"type":"double"}}},"NumberOfTrainMentions":{"type":"integer"}}}}},"sensitive":true},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"},"ModelKmsKeyId":{},"VersionName":{},"SourceModelArn":{}}},"S4c":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"LanguageCode":{},"DataAccessRoleArn":{},"TargetEventTypes":{"shape":"S4d"}}},"S4d":{"type":"list","member":{}},"S4h":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"LanguageCode":{},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S4k":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"KmsKeyId":{}}},"RedactionConfig":{"shape":"S4m"},"LanguageCode":{},"DataAccessRoleArn":{},"Mode":{}}},"S4m":{"type":"structure","members":{"PiiEntityTypes":{"type":"list","member":{}},"MaskMode":{},"MaskCharacter":{}}},"S4v":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"LanguageCode":{},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}},"S4y":{"type":"structure","members":{"JobId":{},"JobArn":{},"JobName":{},"JobStatus":{},"Message":{},"SubmitTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"InputDataConfig":{"shape":"S3e"},"OutputDataConfig":{"shape":"S3k"},"NumberOfTopics":{"type":"integer"},"DataAccessRoleArn":{},"VolumeKmsKeyId":{},"VpcConfig":{"shape":"S24"}}}}} /***/ }), /* 553 */ @@ -49102,7 +49108,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 570 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-24","endpointPrefix":"api.sagemaker","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"SageMaker","serviceFullName":"Amazon SageMaker Service","serviceId":"SageMaker","signatureVersion":"v4","signingName":"sagemaker","targetPrefix":"SageMaker","uid":"sagemaker-2017-07-24"},"operations":{"AddAssociation":{"input":{"type":"structure","required":["SourceArn","DestinationArn"],"members":{"SourceArn":{},"DestinationArn":{},"AssociationType":{}}},"output":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{}}}},"AddTags":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S7"}}}},"AssociateTrialComponent":{"input":{"type":"structure","required":["TrialComponentName","TrialName"],"members":{"TrialComponentName":{},"TrialName":{}}},"output":{"type":"structure","members":{"TrialComponentArn":{},"TrialArn":{}}}},"BatchDescribeModelPackage":{"input":{"type":"structure","required":["ModelPackageArnList"],"members":{"ModelPackageArnList":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ModelPackageSummaries":{"type":"map","key":{},"value":{"type":"structure","required":["ModelPackageGroupName","ModelPackageArn","CreationTime","InferenceSpecification","ModelPackageStatus"],"members":{"ModelPackageGroupName":{},"ModelPackageVersion":{"type":"integer"},"ModelPackageArn":{},"ModelPackageDescription":{},"CreationTime":{"type":"timestamp"},"InferenceSpecification":{"shape":"Sr"},"ModelPackageStatus":{},"ModelApprovalStatus":{}}}},"BatchDescribeModelPackageErrorMap":{"type":"map","key":{},"value":{"type":"structure","required":["ErrorCode","ErrorResponse"],"members":{"ErrorCode":{},"ErrorResponse":{}}}}}}},"CreateAction":{"input":{"type":"structure","required":["ActionName","Source","ActionType"],"members":{"ActionName":{},"Source":{"shape":"S1j"},"ActionType":{},"Description":{},"Status":{},"Properties":{"shape":"S1o"},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ActionArn":{}}}},"CreateAlgorithm":{"input":{"type":"structure","required":["AlgorithmName","TrainingSpecification"],"members":{"AlgorithmName":{},"AlgorithmDescription":{},"TrainingSpecification":{"shape":"S1v"},"InferenceSpecification":{"shape":"Sr"},"ValidationSpecification":{"shape":"S2o"},"CertifyForMarketplace":{"type":"boolean"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["AlgorithmArn"],"members":{"AlgorithmArn":{}}}},"CreateApp":{"input":{"type":"structure","required":["DomainId","UserProfileName","AppType","AppName"],"members":{"DomainId":{},"UserProfileName":{},"AppType":{},"AppName":{},"Tags":{"shape":"S7"},"ResourceSpec":{"shape":"S48"}}},"output":{"type":"structure","members":{"AppArn":{}}}},"CreateAppImageConfig":{"input":{"type":"structure","required":["AppImageConfigName"],"members":{"AppImageConfigName":{},"Tags":{"shape":"S7"},"KernelGatewayImageConfig":{"shape":"S4h"}}},"output":{"type":"structure","members":{"AppImageConfigArn":{}}}},"CreateArtifact":{"input":{"type":"structure","required":["Source","ArtifactType"],"members":{"ArtifactName":{},"Source":{"shape":"S4t"},"ArtifactType":{},"Properties":{"shape":"S1o"},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ArtifactArn":{}}}},"CreateAutoMLJob":{"input":{"type":"structure","required":["AutoMLJobName","InputDataConfig","OutputDataConfig","RoleArn"],"members":{"AutoMLJobName":{},"InputDataConfig":{"shape":"S51"},"OutputDataConfig":{"shape":"S57"},"ProblemType":{},"AutoMLJobObjective":{"shape":"S59"},"AutoMLJobConfig":{"shape":"S5b"},"RoleArn":{},"GenerateCandidateDefinitionsOnly":{"type":"boolean"},"Tags":{"shape":"S7"},"ModelDeployConfig":{"shape":"S5n"}}},"output":{"type":"structure","required":["AutoMLJobArn"],"members":{"AutoMLJobArn":{}}}},"CreateCodeRepository":{"input":{"type":"structure","required":["CodeRepositoryName","GitConfig"],"members":{"CodeRepositoryName":{},"GitConfig":{"shape":"S5t"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["CodeRepositoryArn"],"members":{"CodeRepositoryArn":{}}}},"CreateCompilationJob":{"input":{"type":"structure","required":["CompilationJobName","RoleArn","OutputConfig","StoppingCondition"],"members":{"CompilationJobName":{},"RoleArn":{},"ModelPackageVersionArn":{},"InputConfig":{"shape":"S60"},"OutputConfig":{"shape":"S62"},"VpcConfig":{"shape":"S69"},"StoppingCondition":{"shape":"S3h"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["CompilationJobArn"],"members":{"CompilationJobArn":{}}}},"CreateContext":{"input":{"type":"structure","required":["ContextName","Source","ContextType"],"members":{"ContextName":{},"Source":{"shape":"S6h"},"ContextType":{},"Description":{},"Properties":{"shape":"S1o"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ContextArn":{}}}},"CreateDataQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName","DataQualityAppSpecification","DataQualityJobInput","DataQualityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionName":{},"DataQualityBaselineConfig":{"shape":"S6m"},"DataQualityAppSpecification":{"shape":"S6q"},"DataQualityJobInput":{"shape":"S6z"},"DataQualityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobDefinitionArn"],"members":{"JobDefinitionArn":{}}}},"CreateDeviceFleet":{"input":{"type":"structure","required":["DeviceFleetName","OutputConfig"],"members":{"DeviceFleetName":{},"RoleArn":{},"Description":{},"OutputConfig":{"shape":"S7o"},"Tags":{"shape":"S7"},"EnableIotRoleAlias":{"type":"boolean"}}}},"CreateDomain":{"input":{"type":"structure","required":["DomainName","AuthMode","DefaultUserSettings","SubnetIds","VpcId"],"members":{"DomainName":{},"AuthMode":{},"DefaultUserSettings":{"shape":"S7u"},"SubnetIds":{"shape":"S5k"},"VpcId":{},"Tags":{"shape":"S7"},"AppNetworkAccessType":{},"HomeEfsFileSystemKmsKeyId":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use KmsKeyId instead."},"KmsKeyId":{},"AppSecurityGroupManagement":{},"DomainSettings":{"shape":"S8d"}}},"output":{"type":"structure","members":{"DomainArn":{},"Url":{}}}},"CreateEdgePackagingJob":{"input":{"type":"structure","required":["EdgePackagingJobName","CompilationJobName","ModelName","ModelVersion","RoleArn","OutputConfig"],"members":{"EdgePackagingJobName":{},"CompilationJobName":{},"ModelName":{},"ModelVersion":{},"RoleArn":{},"OutputConfig":{"shape":"S7o"},"ResourceKey":{},"Tags":{"shape":"S7"}}}},"CreateEndpoint":{"input":{"type":"structure","required":["EndpointName","EndpointConfigName"],"members":{"EndpointName":{},"EndpointConfigName":{},"DeploymentConfig":{"shape":"S8n"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}}},"CreateEndpointConfig":{"input":{"type":"structure","required":["EndpointConfigName","ProductionVariants"],"members":{"EndpointConfigName":{},"ProductionVariants":{"shape":"S94"},"DataCaptureConfig":{"shape":"S9g"},"Tags":{"shape":"S7"},"KmsKeyId":{},"AsyncInferenceConfig":{"shape":"S9r"}}},"output":{"type":"structure","required":["EndpointConfigArn"],"members":{"EndpointConfigArn":{}}}},"CreateExperiment":{"input":{"type":"structure","required":["ExperimentName"],"members":{"ExperimentName":{},"DisplayName":{},"Description":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ExperimentArn":{}}}},"CreateFeatureGroup":{"input":{"type":"structure","required":["FeatureGroupName","RecordIdentifierFeatureName","EventTimeFeatureName","FeatureDefinitions"],"members":{"FeatureGroupName":{},"RecordIdentifierFeatureName":{},"EventTimeFeatureName":{},"FeatureDefinitions":{"shape":"Sa5"},"OnlineStoreConfig":{"shape":"Sa8"},"OfflineStoreConfig":{"shape":"Saa"},"RoleArn":{},"Description":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["FeatureGroupArn"],"members":{"FeatureGroupArn":{}}}},"CreateFlowDefinition":{"input":{"type":"structure","required":["FlowDefinitionName","HumanLoopConfig","OutputConfig","RoleArn"],"members":{"FlowDefinitionName":{},"HumanLoopRequestSource":{"shape":"Sal"},"HumanLoopActivationConfig":{"shape":"San"},"HumanLoopConfig":{"shape":"Saq"},"OutputConfig":{"shape":"Sb5"},"RoleArn":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["FlowDefinitionArn"],"members":{"FlowDefinitionArn":{}}}},"CreateHumanTaskUi":{"input":{"type":"structure","required":["HumanTaskUiName","UiTemplate"],"members":{"HumanTaskUiName":{},"UiTemplate":{"shape":"Sba"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["HumanTaskUiArn"],"members":{"HumanTaskUiArn":{}}}},"CreateHyperParameterTuningJob":{"input":{"type":"structure","required":["HyperParameterTuningJobName","HyperParameterTuningJobConfig"],"members":{"HyperParameterTuningJobName":{},"HyperParameterTuningJobConfig":{"shape":"Sbf"},"TrainingJobDefinition":{"shape":"Sbw"},"TrainingJobDefinitions":{"shape":"Sc4"},"WarmStartConfig":{"shape":"Sc5"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["HyperParameterTuningJobArn"],"members":{"HyperParameterTuningJobArn":{}}}},"CreateImage":{"input":{"type":"structure","required":["ImageName","RoleArn"],"members":{"Description":{},"DisplayName":{},"ImageName":{},"RoleArn":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ImageArn":{}}}},"CreateImageVersion":{"input":{"type":"structure","required":["BaseImage","ClientToken","ImageName"],"members":{"BaseImage":{},"ClientToken":{"idempotencyToken":true},"ImageName":{}}},"output":{"type":"structure","members":{"ImageVersionArn":{}}}},"CreateInferenceRecommendationsJob":{"input":{"type":"structure","required":["JobName","JobType","RoleArn","InputConfig"],"members":{"JobName":{},"JobType":{},"RoleArn":{},"InputConfig":{"shape":"Scm"},"JobDescription":{},"StoppingConditions":{"shape":"Sd8"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobArn"],"members":{"JobArn":{}}}},"CreateLabelingJob":{"input":{"type":"structure","required":["LabelingJobName","LabelAttributeName","InputConfig","OutputConfig","RoleArn","HumanTaskConfig"],"members":{"LabelingJobName":{},"LabelAttributeName":{},"InputConfig":{"shape":"Sdh"},"OutputConfig":{"shape":"Sdo"},"RoleArn":{},"LabelCategoryConfigS3Uri":{},"StoppingConditions":{"shape":"Sdp"},"LabelingJobAlgorithmsConfig":{"shape":"Sds"},"HumanTaskConfig":{"shape":"Sdw"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["LabelingJobArn"],"members":{"LabelingJobArn":{}}}},"CreateModel":{"input":{"type":"structure","required":["ModelName","ExecutionRoleArn"],"members":{"ModelName":{},"PrimaryContainer":{"shape":"Seb"},"Containers":{"shape":"Sek"},"InferenceExecutionConfig":{"shape":"Sel"},"ExecutionRoleArn":{},"Tags":{"shape":"S7"},"VpcConfig":{"shape":"S5h"},"EnableNetworkIsolation":{"type":"boolean"}}},"output":{"type":"structure","required":["ModelArn"],"members":{"ModelArn":{}}}},"CreateModelBiasJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName","ModelBiasAppSpecification","ModelBiasJobInput","ModelBiasJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionName":{},"ModelBiasBaselineConfig":{"shape":"Sep"},"ModelBiasAppSpecification":{"shape":"Seq"},"ModelBiasJobInput":{"shape":"Ser"},"ModelBiasJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobDefinitionArn"],"members":{"JobDefinitionArn":{}}}},"CreateModelExplainabilityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName","ModelExplainabilityAppSpecification","ModelExplainabilityJobInput","ModelExplainabilityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionName":{},"ModelExplainabilityBaselineConfig":{"shape":"Sev"},"ModelExplainabilityAppSpecification":{"shape":"Sew"},"ModelExplainabilityJobInput":{"shape":"Sex"},"ModelExplainabilityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobDefinitionArn"],"members":{"JobDefinitionArn":{}}}},"CreateModelPackage":{"input":{"type":"structure","members":{"ModelPackageName":{},"ModelPackageGroupName":{},"ModelPackageDescription":{},"InferenceSpecification":{"shape":"Sr"},"ValidationSpecification":{"shape":"Sf0"},"SourceAlgorithmSpecification":{"shape":"Sf3"},"CertifyForMarketplace":{"type":"boolean"},"Tags":{"shape":"S7"},"ModelApprovalStatus":{},"MetadataProperties":{"shape":"S1q"},"ModelMetrics":{"shape":"Sf6"},"ClientToken":{"idempotencyToken":true},"CustomerMetadataProperties":{"shape":"Sfd"},"DriftCheckBaselines":{"shape":"Sfg"},"Domain":{},"Task":{},"SamplePayloadUrl":{},"AdditionalInferenceSpecifications":{"shape":"Sfm"}}},"output":{"type":"structure","required":["ModelPackageArn"],"members":{"ModelPackageArn":{}}}},"CreateModelPackageGroup":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{},"ModelPackageGroupDescription":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["ModelPackageGroupArn"],"members":{"ModelPackageGroupArn":{}}}},"CreateModelQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName","ModelQualityAppSpecification","ModelQualityJobInput","ModelQualityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionName":{},"ModelQualityBaselineConfig":{"shape":"Sft"},"ModelQualityAppSpecification":{"shape":"Sfu"},"ModelQualityJobInput":{"shape":"Sfw"},"ModelQualityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobDefinitionArn"],"members":{"JobDefinitionArn":{}}}},"CreateMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName","MonitoringScheduleConfig"],"members":{"MonitoringScheduleName":{},"MonitoringScheduleConfig":{"shape":"Sg0"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["MonitoringScheduleArn"],"members":{"MonitoringScheduleArn":{}}}},"CreateNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName","InstanceType","RoleArn"],"members":{"NotebookInstanceName":{},"InstanceType":{},"SubnetId":{},"SecurityGroupIds":{"shape":"S7v"},"RoleArn":{},"KmsKeyId":{},"Tags":{"shape":"S7"},"LifecycleConfigName":{},"DirectInternetAccess":{},"VolumeSizeInGB":{"type":"integer"},"AcceleratorTypes":{"shape":"Sgi"},"DefaultCodeRepository":{},"AdditionalCodeRepositories":{"shape":"Sgl"},"RootAccess":{},"PlatformIdentifier":{}}},"output":{"type":"structure","members":{"NotebookInstanceArn":{}}}},"CreateNotebookInstanceLifecycleConfig":{"input":{"type":"structure","required":["NotebookInstanceLifecycleConfigName"],"members":{"NotebookInstanceLifecycleConfigName":{},"OnCreate":{"shape":"Sgr"},"OnStart":{"shape":"Sgr"}}},"output":{"type":"structure","members":{"NotebookInstanceLifecycleConfigArn":{}}}},"CreatePipeline":{"input":{"type":"structure","required":["PipelineName","ClientRequestToken","RoleArn"],"members":{"PipelineName":{},"PipelineDisplayName":{},"PipelineDefinition":{},"PipelineDefinitionS3Location":{"shape":"Sgz"},"PipelineDescription":{},"ClientRequestToken":{"idempotencyToken":true},"RoleArn":{},"Tags":{"shape":"S7"},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineArn":{}}}},"CreatePresignedDomainUrl":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{},"SessionExpirationDurationInSeconds":{"type":"integer"},"ExpiresInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"AuthorizedUrl":{}}}},"CreatePresignedNotebookInstanceUrl":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{},"SessionExpirationDurationInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"AuthorizedUrl":{}}}},"CreateProcessingJob":{"input":{"type":"structure","required":["ProcessingJobName","ProcessingResources","AppSpecification","RoleArn"],"members":{"ProcessingInputs":{"shape":"Shi"},"ProcessingOutputConfig":{"shape":"Si5"},"ProcessingJobName":{},"ProcessingResources":{"shape":"Sia"},"StoppingCondition":{"shape":"Sic"},"AppSpecification":{"shape":"Sie"},"Environment":{"shape":"Sig"},"NetworkConfig":{"shape":"Sg8"},"RoleArn":{},"Tags":{"shape":"S7"},"ExperimentConfig":{"shape":"Sih"}}},"output":{"type":"structure","required":["ProcessingJobArn"],"members":{"ProcessingJobArn":{}}}},"CreateProject":{"input":{"type":"structure","required":["ProjectName","ServiceCatalogProvisioningDetails"],"members":{"ProjectName":{},"ProjectDescription":{},"ServiceCatalogProvisioningDetails":{"shape":"Sim"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["ProjectArn","ProjectId"],"members":{"ProjectArn":{},"ProjectId":{}}}},"CreateStudioLifecycleConfig":{"input":{"type":"structure","required":["StudioLifecycleConfigName","StudioLifecycleConfigContent","StudioLifecycleConfigAppType"],"members":{"StudioLifecycleConfigName":{},"StudioLifecycleConfigContent":{},"StudioLifecycleConfigAppType":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"StudioLifecycleConfigArn":{}}}},"CreateTrainingJob":{"input":{"type":"structure","required":["TrainingJobName","AlgorithmSpecification","RoleArn","OutputDataConfig","ResourceConfig","StoppingCondition"],"members":{"TrainingJobName":{},"HyperParameters":{"shape":"S2t"},"AlgorithmSpecification":{"shape":"Sj2"},"RoleArn":{},"InputDataConfig":{"shape":"S2v"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"VpcConfig":{"shape":"S5h"},"StoppingCondition":{"shape":"S3h"},"Tags":{"shape":"S7"},"EnableNetworkIsolation":{"type":"boolean"},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableManagedSpotTraining":{"type":"boolean"},"CheckpointConfig":{"shape":"Sc1"},"DebugHookConfig":{"shape":"Sj3"},"DebugRuleConfigurations":{"shape":"Sjb"},"TensorBoardOutputConfig":{"shape":"Sjg"},"ExperimentConfig":{"shape":"Sih"},"ProfilerConfig":{"shape":"Sjh"},"ProfilerRuleConfigurations":{"shape":"Sjk"},"Environment":{"shape":"Sjm"},"RetryStrategy":{"shape":"Sc2"}}},"output":{"type":"structure","required":["TrainingJobArn"],"members":{"TrainingJobArn":{}}}},"CreateTransformJob":{"input":{"type":"structure","required":["TransformJobName","ModelName","TransformInput","TransformOutput","TransformResources"],"members":{"TransformJobName":{},"ModelName":{},"MaxConcurrentTransforms":{"type":"integer"},"ModelClientConfig":{"shape":"Sjt"},"MaxPayloadInMB":{"type":"integer"},"BatchStrategy":{},"Environment":{"shape":"S3o"},"TransformInput":{"shape":"S3r"},"TransformOutput":{"shape":"S3v"},"TransformResources":{"shape":"S3y"},"DataProcessing":{"shape":"Sjw"},"Tags":{"shape":"S7"},"ExperimentConfig":{"shape":"Sih"}}},"output":{"type":"structure","required":["TransformJobArn"],"members":{"TransformJobArn":{}}}},"CreateTrial":{"input":{"type":"structure","required":["TrialName","ExperimentName"],"members":{"TrialName":{},"DisplayName":{},"ExperimentName":{},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"TrialArn":{}}}},"CreateTrialComponent":{"input":{"type":"structure","required":["TrialComponentName"],"members":{"TrialComponentName":{},"DisplayName":{},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Parameters":{"shape":"Sk8"},"InputArtifacts":{"shape":"Skc"},"OutputArtifacts":{"shape":"Skc"},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"TrialComponentArn":{}}}},"CreateUserProfile":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{},"SingleSignOnUserIdentifier":{},"SingleSignOnUserValue":{},"Tags":{"shape":"S7"},"UserSettings":{"shape":"S7u"}}},"output":{"type":"structure","members":{"UserProfileArn":{}}}},"CreateWorkforce":{"input":{"type":"structure","required":["WorkforceName"],"members":{"CognitoConfig":{"shape":"Skn"},"OidcConfig":{"shape":"Skq"},"SourceIpConfig":{"shape":"Skt"},"WorkforceName":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["WorkforceArn"],"members":{"WorkforceArn":{}}}},"CreateWorkteam":{"input":{"type":"structure","required":["WorkteamName","MemberDefinitions","Description"],"members":{"WorkteamName":{},"WorkforceName":{},"MemberDefinitions":{"shape":"Sl1"},"Description":{},"NotificationConfiguration":{"shape":"Sl9"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"WorkteamArn":{}}}},"DeleteAction":{"input":{"type":"structure","required":["ActionName"],"members":{"ActionName":{}}},"output":{"type":"structure","members":{"ActionArn":{}}}},"DeleteAlgorithm":{"input":{"type":"structure","required":["AlgorithmName"],"members":{"AlgorithmName":{}}}},"DeleteApp":{"input":{"type":"structure","required":["DomainId","UserProfileName","AppType","AppName"],"members":{"DomainId":{},"UserProfileName":{},"AppType":{},"AppName":{}}}},"DeleteAppImageConfig":{"input":{"type":"structure","required":["AppImageConfigName"],"members":{"AppImageConfigName":{}}}},"DeleteArtifact":{"input":{"type":"structure","members":{"ArtifactArn":{},"Source":{"shape":"S4t"}}},"output":{"type":"structure","members":{"ArtifactArn":{}}}},"DeleteAssociation":{"input":{"type":"structure","required":["SourceArn","DestinationArn"],"members":{"SourceArn":{},"DestinationArn":{}}},"output":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{}}}},"DeleteCodeRepository":{"input":{"type":"structure","required":["CodeRepositoryName"],"members":{"CodeRepositoryName":{}}}},"DeleteContext":{"input":{"type":"structure","required":["ContextName"],"members":{"ContextName":{}}},"output":{"type":"structure","members":{"ContextArn":{}}}},"DeleteDataQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}}},"DeleteDeviceFleet":{"input":{"type":"structure","required":["DeviceFleetName"],"members":{"DeviceFleetName":{}}}},"DeleteDomain":{"input":{"type":"structure","required":["DomainId"],"members":{"DomainId":{},"RetentionPolicy":{"type":"structure","members":{"HomeEfsFileSystem":{}}}}}},"DeleteEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{}}}},"DeleteEndpointConfig":{"input":{"type":"structure","required":["EndpointConfigName"],"members":{"EndpointConfigName":{}}}},"DeleteExperiment":{"input":{"type":"structure","required":["ExperimentName"],"members":{"ExperimentName":{}}},"output":{"type":"structure","members":{"ExperimentArn":{}}}},"DeleteFeatureGroup":{"input":{"type":"structure","required":["FeatureGroupName"],"members":{"FeatureGroupName":{}}}},"DeleteFlowDefinition":{"input":{"type":"structure","required":["FlowDefinitionName"],"members":{"FlowDefinitionName":{}}},"output":{"type":"structure","members":{}}},"DeleteHumanTaskUi":{"input":{"type":"structure","required":["HumanTaskUiName"],"members":{"HumanTaskUiName":{}}},"output":{"type":"structure","members":{}}},"DeleteImage":{"input":{"type":"structure","required":["ImageName"],"members":{"ImageName":{}}},"output":{"type":"structure","members":{}}},"DeleteImageVersion":{"input":{"type":"structure","required":["ImageName","Version"],"members":{"ImageName":{},"Version":{"type":"integer"}}},"output":{"type":"structure","members":{}}},"DeleteModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}}},"DeleteModelBiasJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}}},"DeleteModelExplainabilityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}}},"DeleteModelPackage":{"input":{"type":"structure","required":["ModelPackageName"],"members":{"ModelPackageName":{}}}},"DeleteModelPackageGroup":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{}}}},"DeleteModelPackageGroupPolicy":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{}}}},"DeleteModelQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}}},"DeleteMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName"],"members":{"MonitoringScheduleName":{}}}},"DeleteNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{}}}},"DeleteNotebookInstanceLifecycleConfig":{"input":{"type":"structure","required":["NotebookInstanceLifecycleConfigName"],"members":{"NotebookInstanceLifecycleConfigName":{}}}},"DeletePipeline":{"input":{"type":"structure","required":["PipelineName","ClientRequestToken"],"members":{"PipelineName":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PipelineArn":{}}}},"DeleteProject":{"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{}}}},"DeleteStudioLifecycleConfig":{"input":{"type":"structure","required":["StudioLifecycleConfigName"],"members":{"StudioLifecycleConfigName":{}}}},"DeleteTags":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteTrial":{"input":{"type":"structure","required":["TrialName"],"members":{"TrialName":{}}},"output":{"type":"structure","members":{"TrialArn":{}}}},"DeleteTrialComponent":{"input":{"type":"structure","required":["TrialComponentName"],"members":{"TrialComponentName":{}}},"output":{"type":"structure","members":{"TrialComponentArn":{}}}},"DeleteUserProfile":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{}}}},"DeleteWorkforce":{"input":{"type":"structure","required":["WorkforceName"],"members":{"WorkforceName":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkteam":{"input":{"type":"structure","required":["WorkteamName"],"members":{"WorkteamName":{}}},"output":{"type":"structure","required":["Success"],"members":{"Success":{"type":"boolean"}}}},"DeregisterDevices":{"input":{"type":"structure","required":["DeviceFleetName","DeviceNames"],"members":{"DeviceFleetName":{},"DeviceNames":{"type":"list","member":{}}}}},"DescribeAction":{"input":{"type":"structure","required":["ActionName"],"members":{"ActionName":{}}},"output":{"type":"structure","members":{"ActionName":{},"ActionArn":{},"Source":{"shape":"S1j"},"ActionType":{},"Description":{},"Status":{},"Properties":{"shape":"S1o"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"LineageGroupArn":{}}}},"DescribeAlgorithm":{"input":{"type":"structure","required":["AlgorithmName"],"members":{"AlgorithmName":{}}},"output":{"type":"structure","required":["AlgorithmName","AlgorithmArn","CreationTime","TrainingSpecification","AlgorithmStatus","AlgorithmStatusDetails"],"members":{"AlgorithmName":{},"AlgorithmArn":{},"AlgorithmDescription":{},"CreationTime":{"type":"timestamp"},"TrainingSpecification":{"shape":"S1v"},"InferenceSpecification":{"shape":"Sr"},"ValidationSpecification":{"shape":"S2o"},"AlgorithmStatus":{},"AlgorithmStatusDetails":{"type":"structure","members":{"ValidationStatuses":{"shape":"Sn9"},"ImageScanStatuses":{"shape":"Sn9"}}},"ProductId":{},"CertifyForMarketplace":{"type":"boolean"}}}},"DescribeApp":{"input":{"type":"structure","required":["DomainId","UserProfileName","AppType","AppName"],"members":{"DomainId":{},"UserProfileName":{},"AppType":{},"AppName":{}}},"output":{"type":"structure","members":{"AppArn":{},"AppType":{},"AppName":{},"DomainId":{},"UserProfileName":{},"Status":{},"LastHealthCheckTimestamp":{"type":"timestamp"},"LastUserActivityTimestamp":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"FailureReason":{},"ResourceSpec":{"shape":"S48"}}}},"DescribeAppImageConfig":{"input":{"type":"structure","required":["AppImageConfigName"],"members":{"AppImageConfigName":{}}},"output":{"type":"structure","members":{"AppImageConfigArn":{},"AppImageConfigName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"KernelGatewayImageConfig":{"shape":"S4h"}}}},"DescribeArtifact":{"input":{"type":"structure","required":["ArtifactArn"],"members":{"ArtifactArn":{}}},"output":{"type":"structure","members":{"ArtifactName":{},"ArtifactArn":{},"Source":{"shape":"S4t"},"ArtifactType":{},"Properties":{"shape":"S1o"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"LineageGroupArn":{}}}},"DescribeAutoMLJob":{"input":{"type":"structure","required":["AutoMLJobName"],"members":{"AutoMLJobName":{}}},"output":{"type":"structure","required":["AutoMLJobName","AutoMLJobArn","InputDataConfig","OutputDataConfig","RoleArn","CreationTime","LastModifiedTime","AutoMLJobStatus","AutoMLJobSecondaryStatus"],"members":{"AutoMLJobName":{},"AutoMLJobArn":{},"InputDataConfig":{"shape":"S51"},"OutputDataConfig":{"shape":"S57"},"RoleArn":{},"AutoMLJobObjective":{"shape":"S59"},"ProblemType":{},"AutoMLJobConfig":{"shape":"S5b"},"CreationTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"PartialFailureReasons":{"shape":"Snn"},"BestCandidate":{"shape":"Snp"},"AutoMLJobStatus":{},"AutoMLJobSecondaryStatus":{},"GenerateCandidateDefinitionsOnly":{"type":"boolean"},"AutoMLJobArtifacts":{"type":"structure","members":{"CandidateDefinitionNotebookLocation":{},"DataExplorationNotebookLocation":{}}},"ResolvedAttributes":{"type":"structure","members":{"AutoMLJobObjective":{"shape":"S59"},"ProblemType":{},"CompletionCriteria":{"shape":"S5c"}}},"ModelDeployConfig":{"shape":"S5n"},"ModelDeployResult":{"type":"structure","members":{"EndpointName":{}}}}}},"DescribeCodeRepository":{"input":{"type":"structure","required":["CodeRepositoryName"],"members":{"CodeRepositoryName":{}}},"output":{"type":"structure","required":["CodeRepositoryName","CodeRepositoryArn","CreationTime","LastModifiedTime"],"members":{"CodeRepositoryName":{},"CodeRepositoryArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"GitConfig":{"shape":"S5t"}}}},"DescribeCompilationJob":{"input":{"type":"structure","required":["CompilationJobName"],"members":{"CompilationJobName":{}}},"output":{"type":"structure","required":["CompilationJobName","CompilationJobArn","CompilationJobStatus","StoppingCondition","CreationTime","LastModifiedTime","FailureReason","ModelArtifacts","RoleArn","InputConfig","OutputConfig"],"members":{"CompilationJobName":{},"CompilationJobArn":{},"CompilationJobStatus":{},"CompilationStartTime":{"type":"timestamp"},"CompilationEndTime":{"type":"timestamp"},"StoppingCondition":{"shape":"S3h"},"InferenceImage":{},"ModelPackageVersionArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"ModelArtifacts":{"shape":"Soo"},"ModelDigests":{"type":"structure","members":{"ArtifactDigest":{}}},"RoleArn":{},"InputConfig":{"shape":"S60"},"OutputConfig":{"shape":"S62"},"VpcConfig":{"shape":"S69"}}}},"DescribeContext":{"input":{"type":"structure","required":["ContextName"],"members":{"ContextName":{}}},"output":{"type":"structure","members":{"ContextName":{},"ContextArn":{},"Source":{"shape":"S6h"},"ContextType":{},"Description":{},"Properties":{"shape":"S1o"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"LineageGroupArn":{}}}},"DescribeDataQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}},"output":{"type":"structure","required":["JobDefinitionArn","JobDefinitionName","CreationTime","DataQualityAppSpecification","DataQualityJobInput","DataQualityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionArn":{},"JobDefinitionName":{},"CreationTime":{"type":"timestamp"},"DataQualityBaselineConfig":{"shape":"S6m"},"DataQualityAppSpecification":{"shape":"S6q"},"DataQualityJobInput":{"shape":"S6z"},"DataQualityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"}}}},"DescribeDevice":{"input":{"type":"structure","required":["DeviceName","DeviceFleetName"],"members":{"NextToken":{},"DeviceName":{},"DeviceFleetName":{}}},"output":{"type":"structure","required":["DeviceName","DeviceFleetName","RegistrationTime"],"members":{"DeviceArn":{},"DeviceName":{},"Description":{},"DeviceFleetName":{},"IotThingName":{},"RegistrationTime":{"type":"timestamp"},"LatestHeartbeat":{"type":"timestamp"},"Models":{"type":"list","member":{"type":"structure","required":["ModelName","ModelVersion"],"members":{"ModelName":{},"ModelVersion":{},"LatestSampleTime":{"type":"timestamp"},"LatestInference":{"type":"timestamp"}}}},"MaxModels":{"type":"integer"},"NextToken":{},"AgentVersion":{}}}},"DescribeDeviceFleet":{"input":{"type":"structure","required":["DeviceFleetName"],"members":{"DeviceFleetName":{}}},"output":{"type":"structure","required":["DeviceFleetName","DeviceFleetArn","OutputConfig","CreationTime","LastModifiedTime"],"members":{"DeviceFleetName":{},"DeviceFleetArn":{},"OutputConfig":{"shape":"S7o"},"Description":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"RoleArn":{},"IotRoleAlias":{}}}},"DescribeDomain":{"input":{"type":"structure","required":["DomainId"],"members":{"DomainId":{}}},"output":{"type":"structure","members":{"DomainArn":{},"DomainId":{},"DomainName":{},"HomeEfsFileSystemId":{},"SingleSignOnManagedApplicationInstanceId":{},"Status":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"AuthMode":{},"DefaultUserSettings":{"shape":"S7u"},"AppNetworkAccessType":{},"HomeEfsFileSystemKmsKeyId":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use KmsKeyId instead."},"SubnetIds":{"shape":"S5k"},"Url":{},"VpcId":{},"KmsKeyId":{},"DomainSettings":{"shape":"S8d"},"AppSecurityGroupManagement":{},"SecurityGroupIdForDomainBoundary":{}}}},"DescribeEdgePackagingJob":{"input":{"type":"structure","required":["EdgePackagingJobName"],"members":{"EdgePackagingJobName":{}}},"output":{"type":"structure","required":["EdgePackagingJobArn","EdgePackagingJobName","EdgePackagingJobStatus"],"members":{"EdgePackagingJobArn":{},"EdgePackagingJobName":{},"CompilationJobName":{},"ModelName":{},"ModelVersion":{},"RoleArn":{},"OutputConfig":{"shape":"S7o"},"ResourceKey":{},"EdgePackagingJobStatus":{},"EdgePackagingJobStatusMessage":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"ModelArtifact":{},"ModelSignature":{},"PresetDeploymentOutput":{"type":"structure","required":["Type"],"members":{"Type":{},"Artifact":{},"Status":{},"StatusMessage":{}}}}}},"DescribeEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{}}},"output":{"type":"structure","required":["EndpointName","EndpointArn","EndpointConfigName","EndpointStatus","CreationTime","LastModifiedTime"],"members":{"EndpointName":{},"EndpointArn":{},"EndpointConfigName":{},"ProductionVariants":{"shape":"Spk"},"DataCaptureConfig":{"shape":"Spt"},"EndpointStatus":{},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastDeploymentConfig":{"shape":"S8n"},"AsyncInferenceConfig":{"shape":"S9r"},"PendingDeploymentSummary":{"type":"structure","required":["EndpointConfigName"],"members":{"EndpointConfigName":{},"ProductionVariants":{"type":"list","member":{"type":"structure","required":["VariantName"],"members":{"VariantName":{},"DeployedImages":{"shape":"Spm"},"CurrentWeight":{"type":"float"},"DesiredWeight":{"type":"float"},"CurrentInstanceCount":{"type":"integer"},"DesiredInstanceCount":{"type":"integer"},"InstanceType":{},"AcceleratorType":{},"VariantStatus":{"shape":"Spp"},"CurrentServerlessConfig":{"shape":"S9d"},"DesiredServerlessConfig":{"shape":"S9d"}}}},"StartTime":{"type":"timestamp"}}}}}},"DescribeEndpointConfig":{"input":{"type":"structure","required":["EndpointConfigName"],"members":{"EndpointConfigName":{}}},"output":{"type":"structure","required":["EndpointConfigName","EndpointConfigArn","ProductionVariants","CreationTime"],"members":{"EndpointConfigName":{},"EndpointConfigArn":{},"ProductionVariants":{"shape":"S94"},"DataCaptureConfig":{"shape":"S9g"},"KmsKeyId":{},"CreationTime":{"type":"timestamp"},"AsyncInferenceConfig":{"shape":"S9r"}}}},"DescribeExperiment":{"input":{"type":"structure","required":["ExperimentName"],"members":{"ExperimentName":{}}},"output":{"type":"structure","members":{"ExperimentName":{},"ExperimentArn":{},"DisplayName":{},"Source":{"shape":"Sq3"},"Description":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}},"DescribeFeatureGroup":{"input":{"type":"structure","required":["FeatureGroupName"],"members":{"FeatureGroupName":{},"NextToken":{}}},"output":{"type":"structure","required":["FeatureGroupArn","FeatureGroupName","RecordIdentifierFeatureName","EventTimeFeatureName","FeatureDefinitions","CreationTime","NextToken"],"members":{"FeatureGroupArn":{},"FeatureGroupName":{},"RecordIdentifierFeatureName":{},"EventTimeFeatureName":{},"FeatureDefinitions":{"shape":"Sa5"},"CreationTime":{"type":"timestamp"},"OnlineStoreConfig":{"shape":"Sa8"},"OfflineStoreConfig":{"shape":"Saa"},"RoleArn":{},"FeatureGroupStatus":{},"OfflineStoreStatus":{"shape":"Sq9"},"FailureReason":{},"Description":{},"NextToken":{}}}},"DescribeFlowDefinition":{"input":{"type":"structure","required":["FlowDefinitionName"],"members":{"FlowDefinitionName":{}}},"output":{"type":"structure","required":["FlowDefinitionArn","FlowDefinitionName","FlowDefinitionStatus","CreationTime","HumanLoopConfig","OutputConfig","RoleArn"],"members":{"FlowDefinitionArn":{},"FlowDefinitionName":{},"FlowDefinitionStatus":{},"CreationTime":{"type":"timestamp"},"HumanLoopRequestSource":{"shape":"Sal"},"HumanLoopActivationConfig":{"shape":"San"},"HumanLoopConfig":{"shape":"Saq"},"OutputConfig":{"shape":"Sb5"},"RoleArn":{},"FailureReason":{}}}},"DescribeHumanTaskUi":{"input":{"type":"structure","required":["HumanTaskUiName"],"members":{"HumanTaskUiName":{}}},"output":{"type":"structure","required":["HumanTaskUiArn","HumanTaskUiName","CreationTime","UiTemplate"],"members":{"HumanTaskUiArn":{},"HumanTaskUiName":{},"HumanTaskUiStatus":{},"CreationTime":{"type":"timestamp"},"UiTemplate":{"type":"structure","members":{"Url":{},"ContentSha256":{}}}}}},"DescribeHyperParameterTuningJob":{"input":{"type":"structure","required":["HyperParameterTuningJobName"],"members":{"HyperParameterTuningJobName":{}}},"output":{"type":"structure","required":["HyperParameterTuningJobName","HyperParameterTuningJobArn","HyperParameterTuningJobConfig","HyperParameterTuningJobStatus","CreationTime","TrainingJobStatusCounters","ObjectiveStatusCounters"],"members":{"HyperParameterTuningJobName":{},"HyperParameterTuningJobArn":{},"HyperParameterTuningJobConfig":{"shape":"Sbf"},"TrainingJobDefinition":{"shape":"Sbw"},"TrainingJobDefinitions":{"shape":"Sc4"},"HyperParameterTuningJobStatus":{},"CreationTime":{"type":"timestamp"},"HyperParameterTuningEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"TrainingJobStatusCounters":{"shape":"Sqo"},"ObjectiveStatusCounters":{"shape":"Sqq"},"BestTrainingJob":{"shape":"Sqs"},"OverallBestTrainingJob":{"shape":"Sqs"},"WarmStartConfig":{"shape":"Sc5"},"FailureReason":{}}}},"DescribeImage":{"input":{"type":"structure","required":["ImageName"],"members":{"ImageName":{}}},"output":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"Description":{},"DisplayName":{},"FailureReason":{},"ImageArn":{},"ImageName":{},"ImageStatus":{},"LastModifiedTime":{"type":"timestamp"},"RoleArn":{}}}},"DescribeImageVersion":{"input":{"type":"structure","required":["ImageName"],"members":{"ImageName":{},"Version":{"type":"integer"}}},"output":{"type":"structure","members":{"BaseImage":{},"ContainerImage":{},"CreationTime":{"type":"timestamp"},"FailureReason":{},"ImageArn":{},"ImageVersionArn":{},"ImageVersionStatus":{},"LastModifiedTime":{"type":"timestamp"},"Version":{"type":"integer"}}}},"DescribeInferenceRecommendationsJob":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{}}},"output":{"type":"structure","required":["JobName","JobType","JobArn","RoleArn","Status","CreationTime","LastModifiedTime","InputConfig"],"members":{"JobName":{},"JobDescription":{},"JobType":{},"JobArn":{},"RoleArn":{},"Status":{},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"InputConfig":{"shape":"Scm"},"StoppingConditions":{"shape":"Sd8"},"InferenceRecommendations":{"type":"list","member":{"type":"structure","required":["Metrics","EndpointConfiguration","ModelConfiguration"],"members":{"Metrics":{"type":"structure","required":["CostPerHour","CostPerInference","MaxInvocations","ModelLatency"],"members":{"CostPerHour":{"type":"float"},"CostPerInference":{"type":"float"},"MaxInvocations":{"type":"integer"},"ModelLatency":{"type":"integer"}}},"EndpointConfiguration":{"type":"structure","required":["EndpointName","VariantName","InstanceType","InitialInstanceCount"],"members":{"EndpointName":{},"VariantName":{},"InstanceType":{},"InitialInstanceCount":{"type":"integer"}}},"ModelConfiguration":{"type":"structure","members":{"InferenceSpecificationName":{},"EnvironmentParameters":{"type":"list","member":{"type":"structure","required":["Key","ValueType","Value"],"members":{"Key":{},"ValueType":{},"Value":{}}}}}}}}}}}},"DescribeLabelingJob":{"input":{"type":"structure","required":["LabelingJobName"],"members":{"LabelingJobName":{}}},"output":{"type":"structure","required":["LabelingJobStatus","LabelCounters","CreationTime","LastModifiedTime","JobReferenceCode","LabelingJobName","LabelingJobArn","InputConfig","OutputConfig","RoleArn","HumanTaskConfig"],"members":{"LabelingJobStatus":{},"LabelCounters":{"shape":"Srf"},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"JobReferenceCode":{},"LabelingJobName":{},"LabelingJobArn":{},"LabelAttributeName":{},"InputConfig":{"shape":"Sdh"},"OutputConfig":{"shape":"Sdo"},"RoleArn":{},"LabelCategoryConfigS3Uri":{},"StoppingConditions":{"shape":"Sdp"},"LabelingJobAlgorithmsConfig":{"shape":"Sds"},"HumanTaskConfig":{"shape":"Sdw"},"Tags":{"shape":"S7"},"LabelingJobOutput":{"shape":"Sri"}}}},"DescribeLineageGroup":{"input":{"type":"structure","required":["LineageGroupName"],"members":{"LineageGroupName":{}}},"output":{"type":"structure","members":{"LineageGroupName":{},"LineageGroupArn":{},"DisplayName":{},"Description":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}},"DescribeModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}},"output":{"type":"structure","required":["ModelName","ExecutionRoleArn","CreationTime","ModelArn"],"members":{"ModelName":{},"PrimaryContainer":{"shape":"Seb"},"Containers":{"shape":"Sek"},"InferenceExecutionConfig":{"shape":"Sel"},"ExecutionRoleArn":{},"VpcConfig":{"shape":"S5h"},"CreationTime":{"type":"timestamp"},"ModelArn":{},"EnableNetworkIsolation":{"type":"boolean"}}}},"DescribeModelBiasJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}},"output":{"type":"structure","required":["JobDefinitionArn","JobDefinitionName","CreationTime","ModelBiasAppSpecification","ModelBiasJobInput","ModelBiasJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionArn":{},"JobDefinitionName":{},"CreationTime":{"type":"timestamp"},"ModelBiasBaselineConfig":{"shape":"Sep"},"ModelBiasAppSpecification":{"shape":"Seq"},"ModelBiasJobInput":{"shape":"Ser"},"ModelBiasJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"}}}},"DescribeModelExplainabilityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}},"output":{"type":"structure","required":["JobDefinitionArn","JobDefinitionName","CreationTime","ModelExplainabilityAppSpecification","ModelExplainabilityJobInput","ModelExplainabilityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionArn":{},"JobDefinitionName":{},"CreationTime":{"type":"timestamp"},"ModelExplainabilityBaselineConfig":{"shape":"Sev"},"ModelExplainabilityAppSpecification":{"shape":"Sew"},"ModelExplainabilityJobInput":{"shape":"Sex"},"ModelExplainabilityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"}}}},"DescribeModelPackage":{"input":{"type":"structure","required":["ModelPackageName"],"members":{"ModelPackageName":{}}},"output":{"type":"structure","required":["ModelPackageName","ModelPackageArn","CreationTime","ModelPackageStatus","ModelPackageStatusDetails"],"members":{"ModelPackageName":{},"ModelPackageGroupName":{},"ModelPackageVersion":{"type":"integer"},"ModelPackageArn":{},"ModelPackageDescription":{},"CreationTime":{"type":"timestamp"},"InferenceSpecification":{"shape":"Sr"},"SourceAlgorithmSpecification":{"shape":"Sf3"},"ValidationSpecification":{"shape":"Sf0"},"ModelPackageStatus":{},"ModelPackageStatusDetails":{"shape":"Srt"},"CertifyForMarketplace":{"type":"boolean"},"ModelApprovalStatus":{},"CreatedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"ModelMetrics":{"shape":"Sf6"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"ApprovalDescription":{},"CustomerMetadataProperties":{"shape":"Sfd"},"DriftCheckBaselines":{"shape":"Sfg"},"Domain":{},"Task":{},"SamplePayloadUrl":{},"AdditionalInferenceSpecifications":{"shape":"Sfm"}}}},"DescribeModelPackageGroup":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{}}},"output":{"type":"structure","required":["ModelPackageGroupName","ModelPackageGroupArn","CreationTime","CreatedBy","ModelPackageGroupStatus"],"members":{"ModelPackageGroupName":{},"ModelPackageGroupArn":{},"ModelPackageGroupDescription":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"ModelPackageGroupStatus":{}}}},"DescribeModelQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}},"output":{"type":"structure","required":["JobDefinitionArn","JobDefinitionName","CreationTime","ModelQualityAppSpecification","ModelQualityJobInput","ModelQualityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionArn":{},"JobDefinitionName":{},"CreationTime":{"type":"timestamp"},"ModelQualityBaselineConfig":{"shape":"Sft"},"ModelQualityAppSpecification":{"shape":"Sfu"},"ModelQualityJobInput":{"shape":"Sfw"},"ModelQualityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"}}}},"DescribeMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName"],"members":{"MonitoringScheduleName":{}}},"output":{"type":"structure","required":["MonitoringScheduleArn","MonitoringScheduleName","MonitoringScheduleStatus","CreationTime","LastModifiedTime","MonitoringScheduleConfig"],"members":{"MonitoringScheduleArn":{},"MonitoringScheduleName":{},"MonitoringScheduleStatus":{},"MonitoringType":{},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringScheduleConfig":{"shape":"Sg0"},"EndpointName":{},"LastMonitoringExecutionSummary":{"shape":"Ss6"}}}},"DescribeNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{}}},"output":{"type":"structure","members":{"NotebookInstanceArn":{},"NotebookInstanceName":{},"NotebookInstanceStatus":{},"FailureReason":{},"Url":{},"InstanceType":{},"SubnetId":{},"SecurityGroups":{"shape":"S7v"},"RoleArn":{},"KmsKeyId":{},"NetworkInterfaceId":{},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"NotebookInstanceLifecycleConfigName":{},"DirectInternetAccess":{},"VolumeSizeInGB":{"type":"integer"},"AcceleratorTypes":{"shape":"Sgi"},"DefaultCodeRepository":{},"AdditionalCodeRepositories":{"shape":"Sgl"},"RootAccess":{},"PlatformIdentifier":{}}}},"DescribeNotebookInstanceLifecycleConfig":{"input":{"type":"structure","required":["NotebookInstanceLifecycleConfigName"],"members":{"NotebookInstanceLifecycleConfigName":{}}},"output":{"type":"structure","members":{"NotebookInstanceLifecycleConfigArn":{},"NotebookInstanceLifecycleConfigName":{},"OnCreate":{"shape":"Sgr"},"OnStart":{"shape":"Sgr"},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"}}}},"DescribePipeline":{"input":{"type":"structure","required":["PipelineName"],"members":{"PipelineName":{}}},"output":{"type":"structure","members":{"PipelineArn":{},"PipelineName":{},"PipelineDisplayName":{},"PipelineDefinition":{},"PipelineDescription":{},"RoleArn":{},"PipelineStatus":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastRunTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedBy":{"shape":"Sn3"},"ParallelismConfiguration":{"shape":"Sh5"}}}},"DescribePipelineDefinitionForExecution":{"input":{"type":"structure","required":["PipelineExecutionArn"],"members":{"PipelineExecutionArn":{}}},"output":{"type":"structure","members":{"PipelineDefinition":{},"CreationTime":{"type":"timestamp"}}}},"DescribePipelineExecution":{"input":{"type":"structure","required":["PipelineExecutionArn"],"members":{"PipelineExecutionArn":{}}},"output":{"type":"structure","members":{"PipelineArn":{},"PipelineExecutionArn":{},"PipelineExecutionDisplayName":{},"PipelineExecutionStatus":{},"PipelineExecutionDescription":{},"PipelineExperimentConfig":{"shape":"Ssp"},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedBy":{"shape":"Sn3"},"ParallelismConfiguration":{"shape":"Sh5"}}}},"DescribeProcessingJob":{"input":{"type":"structure","required":["ProcessingJobName"],"members":{"ProcessingJobName":{}}},"output":{"type":"structure","required":["ProcessingJobName","ProcessingResources","AppSpecification","ProcessingJobArn","ProcessingJobStatus","CreationTime"],"members":{"ProcessingInputs":{"shape":"Shi"},"ProcessingOutputConfig":{"shape":"Si5"},"ProcessingJobName":{},"ProcessingResources":{"shape":"Sia"},"StoppingCondition":{"shape":"Sic"},"AppSpecification":{"shape":"Sie"},"Environment":{"shape":"Sig"},"NetworkConfig":{"shape":"Sg8"},"RoleArn":{},"ExperimentConfig":{"shape":"Sih"},"ProcessingJobArn":{},"ProcessingJobStatus":{},"ExitMessage":{},"FailureReason":{},"ProcessingEndTime":{"type":"timestamp"},"ProcessingStartTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"MonitoringScheduleArn":{},"AutoMLJobArn":{},"TrainingJobArn":{}}}},"DescribeProject":{"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{}}},"output":{"type":"structure","required":["ProjectArn","ProjectName","ProjectId","ServiceCatalogProvisioningDetails","ProjectStatus","CreationTime"],"members":{"ProjectArn":{},"ProjectName":{},"ProjectId":{},"ProjectDescription":{},"ServiceCatalogProvisioningDetails":{"shape":"Sim"},"ServiceCatalogProvisionedProductDetails":{"shape":"Ssx"},"ProjectStatus":{},"CreatedBy":{"shape":"Sn3"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}},"DescribeStudioLifecycleConfig":{"input":{"type":"structure","required":["StudioLifecycleConfigName"],"members":{"StudioLifecycleConfigName":{}}},"output":{"type":"structure","members":{"StudioLifecycleConfigArn":{},"StudioLifecycleConfigName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"StudioLifecycleConfigContent":{},"StudioLifecycleConfigAppType":{}}}},"DescribeSubscribedWorkteam":{"input":{"type":"structure","required":["WorkteamArn"],"members":{"WorkteamArn":{}}},"output":{"type":"structure","required":["SubscribedWorkteam"],"members":{"SubscribedWorkteam":{"shape":"St4"}}}},"DescribeTrainingJob":{"input":{"type":"structure","required":["TrainingJobName"],"members":{"TrainingJobName":{}}},"output":{"type":"structure","required":["TrainingJobName","TrainingJobArn","ModelArtifacts","TrainingJobStatus","SecondaryStatus","AlgorithmSpecification","ResourceConfig","StoppingCondition","CreationTime"],"members":{"TrainingJobName":{},"TrainingJobArn":{},"TuningJobArn":{},"LabelingJobArn":{},"AutoMLJobArn":{},"ModelArtifacts":{"shape":"Soo"},"TrainingJobStatus":{},"SecondaryStatus":{},"FailureReason":{},"HyperParameters":{"shape":"S2t"},"AlgorithmSpecification":{"shape":"Sj2"},"RoleArn":{},"InputDataConfig":{"shape":"S2v"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"VpcConfig":{"shape":"S5h"},"StoppingCondition":{"shape":"S3h"},"CreationTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"SecondaryStatusTransitions":{"shape":"St8"},"FinalMetricDataList":{"shape":"Stb"},"EnableNetworkIsolation":{"type":"boolean"},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableManagedSpotTraining":{"type":"boolean"},"CheckpointConfig":{"shape":"Sc1"},"TrainingTimeInSeconds":{"type":"integer"},"BillableTimeInSeconds":{"type":"integer"},"DebugHookConfig":{"shape":"Sj3"},"ExperimentConfig":{"shape":"Sih"},"DebugRuleConfigurations":{"shape":"Sjb"},"TensorBoardOutputConfig":{"shape":"Sjg"},"DebugRuleEvaluationStatuses":{"shape":"Stf"},"ProfilerConfig":{"shape":"Sjh"},"ProfilerRuleConfigurations":{"shape":"Sjk"},"ProfilerRuleEvaluationStatuses":{"type":"list","member":{"type":"structure","members":{"RuleConfigurationName":{},"RuleEvaluationJobArn":{},"RuleEvaluationStatus":{},"StatusDetails":{},"LastModifiedTime":{"type":"timestamp"}}}},"ProfilingStatus":{},"RetryStrategy":{"shape":"Sc2"},"Environment":{"shape":"Sjm"}}}},"DescribeTransformJob":{"input":{"type":"structure","required":["TransformJobName"],"members":{"TransformJobName":{}}},"output":{"type":"structure","required":["TransformJobName","TransformJobArn","TransformJobStatus","ModelName","TransformInput","TransformResources","CreationTime"],"members":{"TransformJobName":{},"TransformJobArn":{},"TransformJobStatus":{},"FailureReason":{},"ModelName":{},"MaxConcurrentTransforms":{"type":"integer"},"ModelClientConfig":{"shape":"Sjt"},"MaxPayloadInMB":{"type":"integer"},"BatchStrategy":{},"Environment":{"shape":"S3o"},"TransformInput":{"shape":"S3r"},"TransformOutput":{"shape":"S3v"},"TransformResources":{"shape":"S3y"},"CreationTime":{"type":"timestamp"},"TransformStartTime":{"type":"timestamp"},"TransformEndTime":{"type":"timestamp"},"LabelingJobArn":{},"AutoMLJobArn":{},"DataProcessing":{"shape":"Sjw"},"ExperimentConfig":{"shape":"Sih"}}}},"DescribeTrial":{"input":{"type":"structure","required":["TrialName"],"members":{"TrialName":{}}},"output":{"type":"structure","members":{"TrialName":{},"TrialArn":{},"DisplayName":{},"ExperimentName":{},"Source":{"shape":"Str"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"}}}},"DescribeTrialComponent":{"input":{"type":"structure","required":["TrialComponentName"],"members":{"TrialComponentName":{}}},"output":{"type":"structure","members":{"TrialComponentName":{},"TrialComponentArn":{},"DisplayName":{},"Source":{"shape":"Stv"},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"Parameters":{"shape":"Sk8"},"InputArtifacts":{"shape":"Skc"},"OutputArtifacts":{"shape":"Skc"},"MetadataProperties":{"shape":"S1q"},"Metrics":{"shape":"Stx"},"LineageGroupArn":{}}}},"DescribeUserProfile":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{}}},"output":{"type":"structure","members":{"DomainId":{},"UserProfileArn":{},"UserProfileName":{},"HomeEfsFileSystemUid":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"FailureReason":{},"SingleSignOnUserIdentifier":{},"SingleSignOnUserValue":{},"UserSettings":{"shape":"S7u"}}}},"DescribeWorkforce":{"input":{"type":"structure","required":["WorkforceName"],"members":{"WorkforceName":{}}},"output":{"type":"structure","required":["Workforce"],"members":{"Workforce":{"shape":"Su7"}}}},"DescribeWorkteam":{"input":{"type":"structure","required":["WorkteamName"],"members":{"WorkteamName":{}}},"output":{"type":"structure","required":["Workteam"],"members":{"Workteam":{"shape":"Sub"}}}},"DisableSagemakerServicecatalogPortfolio":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateTrialComponent":{"input":{"type":"structure","required":["TrialComponentName","TrialName"],"members":{"TrialComponentName":{},"TrialName":{}}},"output":{"type":"structure","members":{"TrialComponentArn":{},"TrialArn":{}}}},"EnableSagemakerServicecatalogPortfolio":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"GetDeviceFleetReport":{"input":{"type":"structure","required":["DeviceFleetName"],"members":{"DeviceFleetName":{}}},"output":{"type":"structure","required":["DeviceFleetArn","DeviceFleetName"],"members":{"DeviceFleetArn":{},"DeviceFleetName":{},"OutputConfig":{"shape":"S7o"},"Description":{},"ReportGenerated":{"type":"timestamp"},"DeviceStats":{"type":"structure","required":["ConnectedDeviceCount","RegisteredDeviceCount"],"members":{"ConnectedDeviceCount":{"type":"long"},"RegisteredDeviceCount":{"type":"long"}}},"AgentVersions":{"type":"list","member":{"type":"structure","required":["Version","AgentCount"],"members":{"Version":{},"AgentCount":{"type":"long"}}}},"ModelStats":{"type":"list","member":{"type":"structure","required":["ModelName","ModelVersion","OfflineDeviceCount","ConnectedDeviceCount","ActiveDeviceCount","SamplingDeviceCount"],"members":{"ModelName":{},"ModelVersion":{},"OfflineDeviceCount":{"type":"long"},"ConnectedDeviceCount":{"type":"long"},"ActiveDeviceCount":{"type":"long"},"SamplingDeviceCount":{"type":"long"}}}}}}},"GetLineageGroupPolicy":{"input":{"type":"structure","required":["LineageGroupName"],"members":{"LineageGroupName":{}}},"output":{"type":"structure","members":{"LineageGroupArn":{},"ResourcePolicy":{}}}},"GetModelPackageGroupPolicy":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{}}},"output":{"type":"structure","required":["ResourcePolicy"],"members":{"ResourcePolicy":{}}}},"GetSagemakerServicecatalogPortfolioStatus":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Status":{}}}},"GetSearchSuggestions":{"input":{"type":"structure","required":["Resource"],"members":{"Resource":{},"SuggestionQuery":{"type":"structure","members":{"PropertyNameQuery":{"type":"structure","required":["PropertyNameHint"],"members":{"PropertyNameHint":{}}}}}}},"output":{"type":"structure","members":{"PropertyNameSuggestions":{"type":"list","member":{"type":"structure","members":{"PropertyName":{}}}}}}},"ListActions":{"input":{"type":"structure","members":{"SourceUri":{},"ActionType":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ActionSummaries":{"type":"list","member":{"type":"structure","members":{"ActionArn":{},"ActionName":{},"Source":{"shape":"S1j"},"ActionType":{},"Status":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListAlgorithms":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["AlgorithmSummaryList"],"members":{"AlgorithmSummaryList":{"type":"list","member":{"type":"structure","required":["AlgorithmName","AlgorithmArn","CreationTime","AlgorithmStatus"],"members":{"AlgorithmName":{},"AlgorithmArn":{},"AlgorithmDescription":{},"CreationTime":{"type":"timestamp"},"AlgorithmStatus":{}}}},"NextToken":{}}}},"ListAppImageConfigs":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"ModifiedTimeBefore":{"type":"timestamp"},"ModifiedTimeAfter":{"type":"timestamp"},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","members":{"NextToken":{},"AppImageConfigs":{"type":"list","member":{"type":"structure","members":{"AppImageConfigArn":{},"AppImageConfigName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"KernelGatewayImageConfig":{"shape":"S4h"}}}}}}},"ListApps":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortOrder":{},"SortBy":{},"DomainIdEquals":{},"UserProfileNameEquals":{}}},"output":{"type":"structure","members":{"Apps":{"type":"list","member":{"type":"structure","members":{"DomainId":{},"UserProfileName":{},"AppType":{},"AppName":{},"Status":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListArtifacts":{"input":{"type":"structure","members":{"SourceUri":{},"ArtifactType":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ArtifactSummaries":{"type":"list","member":{"type":"structure","members":{"ArtifactArn":{},"ArtifactName":{},"Source":{"shape":"S4t"},"ArtifactType":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListAssociations":{"input":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{},"SourceType":{},"DestinationType":{},"AssociationType":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AssociationSummaries":{"type":"list","member":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{},"SourceType":{},"DestinationType":{},"AssociationType":{},"SourceName":{},"DestinationName":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"}}}},"NextToken":{}}}},"ListAutoMLJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortOrder":{},"SortBy":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["AutoMLJobSummaries"],"members":{"AutoMLJobSummaries":{"type":"list","member":{"type":"structure","required":["AutoMLJobName","AutoMLJobArn","AutoMLJobStatus","AutoMLJobSecondaryStatus","CreationTime","LastModifiedTime"],"members":{"AutoMLJobName":{},"AutoMLJobArn":{},"AutoMLJobStatus":{},"AutoMLJobSecondaryStatus":{},"CreationTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"PartialFailureReasons":{"shape":"Snn"}}}},"NextToken":{}}}},"ListCandidatesForAutoMLJob":{"input":{"type":"structure","required":["AutoMLJobName"],"members":{"AutoMLJobName":{},"StatusEquals":{},"CandidateNameEquals":{},"SortOrder":{},"SortBy":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Candidates"],"members":{"Candidates":{"type":"list","member":{"shape":"Snp"}},"NextToken":{}}}},"ListCodeRepositories":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["CodeRepositorySummaryList"],"members":{"CodeRepositorySummaryList":{"type":"list","member":{"type":"structure","required":["CodeRepositoryName","CodeRepositoryArn","CreationTime","LastModifiedTime"],"members":{"CodeRepositoryName":{},"CodeRepositoryArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"GitConfig":{"shape":"S5t"}}}},"NextToken":{}}}},"ListCompilationJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["CompilationJobSummaries"],"members":{"CompilationJobSummaries":{"type":"list","member":{"type":"structure","required":["CompilationJobName","CompilationJobArn","CreationTime","CompilationJobStatus"],"members":{"CompilationJobName":{},"CompilationJobArn":{},"CreationTime":{"type":"timestamp"},"CompilationStartTime":{"type":"timestamp"},"CompilationEndTime":{"type":"timestamp"},"CompilationTargetDevice":{},"CompilationTargetPlatformOs":{},"CompilationTargetPlatformArch":{},"CompilationTargetPlatformAccelerator":{},"LastModifiedTime":{"type":"timestamp"},"CompilationJobStatus":{}}}},"NextToken":{}}}},"ListContexts":{"input":{"type":"structure","members":{"SourceUri":{},"ContextType":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ContextSummaries":{"type":"list","member":{"type":"structure","members":{"ContextArn":{},"ContextName":{},"Source":{"shape":"S6h"},"ContextType":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListDataQualityJobDefinitions":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["JobDefinitionSummaries"],"members":{"JobDefinitionSummaries":{"shape":"Sx4"},"NextToken":{}}}},"ListDeviceFleets":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["DeviceFleetSummaries"],"members":{"DeviceFleetSummaries":{"type":"list","member":{"type":"structure","required":["DeviceFleetArn","DeviceFleetName"],"members":{"DeviceFleetArn":{},"DeviceFleetName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListDevices":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"LatestHeartbeatAfter":{"type":"timestamp"},"ModelName":{},"DeviceFleetName":{}}},"output":{"type":"structure","required":["DeviceSummaries"],"members":{"DeviceSummaries":{"type":"list","member":{"type":"structure","required":["DeviceName","DeviceArn"],"members":{"DeviceName":{},"DeviceArn":{},"Description":{},"DeviceFleetName":{},"IotThingName":{},"RegistrationTime":{"type":"timestamp"},"LatestHeartbeat":{"type":"timestamp"},"Models":{"type":"list","member":{"type":"structure","required":["ModelName","ModelVersion"],"members":{"ModelName":{},"ModelVersion":{}}}},"AgentVersion":{}}}},"NextToken":{}}}},"ListDomains":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Domains":{"type":"list","member":{"type":"structure","members":{"DomainArn":{},"DomainId":{},"DomainName":{},"Status":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"Url":{}}}},"NextToken":{}}}},"ListEdgePackagingJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"ModelNameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["EdgePackagingJobSummaries"],"members":{"EdgePackagingJobSummaries":{"type":"list","member":{"type":"structure","required":["EdgePackagingJobArn","EdgePackagingJobName","EdgePackagingJobStatus"],"members":{"EdgePackagingJobArn":{},"EdgePackagingJobName":{},"EdgePackagingJobStatus":{},"CompilationJobName":{},"ModelName":{},"ModelVersion":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListEndpointConfigs":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["EndpointConfigs"],"members":{"EndpointConfigs":{"type":"list","member":{"type":"structure","required":["EndpointConfigName","EndpointConfigArn","CreationTime"],"members":{"EndpointConfigName":{},"EndpointConfigArn":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListEndpoints":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"StatusEquals":{}}},"output":{"type":"structure","required":["Endpoints"],"members":{"Endpoints":{"type":"list","member":{"type":"structure","required":["EndpointName","EndpointArn","CreationTime","LastModifiedTime","EndpointStatus"],"members":{"EndpointName":{},"EndpointArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"EndpointStatus":{}}}},"NextToken":{}}}},"ListExperiments":{"input":{"type":"structure","members":{"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ExperimentSummaries":{"type":"list","member":{"type":"structure","members":{"ExperimentArn":{},"ExperimentName":{},"DisplayName":{},"ExperimentSource":{"shape":"Sq3"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListFeatureGroups":{"input":{"type":"structure","members":{"NameContains":{},"FeatureGroupStatusEquals":{},"OfflineStoreStatusEquals":{},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"SortOrder":{},"SortBy":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["FeatureGroupSummaries","NextToken"],"members":{"FeatureGroupSummaries":{"type":"list","member":{"type":"structure","required":["FeatureGroupName","FeatureGroupArn","CreationTime"],"members":{"FeatureGroupName":{},"FeatureGroupArn":{},"CreationTime":{"type":"timestamp"},"FeatureGroupStatus":{},"OfflineStoreStatus":{"shape":"Sq9"}}}},"NextToken":{}}}},"ListFlowDefinitions":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["FlowDefinitionSummaries"],"members":{"FlowDefinitionSummaries":{"type":"list","member":{"type":"structure","required":["FlowDefinitionName","FlowDefinitionArn","FlowDefinitionStatus","CreationTime"],"members":{"FlowDefinitionName":{},"FlowDefinitionArn":{},"FlowDefinitionStatus":{},"CreationTime":{"type":"timestamp"},"FailureReason":{}}}},"NextToken":{}}}},"ListHumanTaskUis":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["HumanTaskUiSummaries"],"members":{"HumanTaskUiSummaries":{"type":"list","member":{"type":"structure","required":["HumanTaskUiName","HumanTaskUiArn","CreationTime"],"members":{"HumanTaskUiName":{},"HumanTaskUiArn":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListHyperParameterTuningJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortBy":{},"SortOrder":{},"NameContains":{},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"StatusEquals":{}}},"output":{"type":"structure","required":["HyperParameterTuningJobSummaries"],"members":{"HyperParameterTuningJobSummaries":{"type":"list","member":{"type":"structure","required":["HyperParameterTuningJobName","HyperParameterTuningJobArn","HyperParameterTuningJobStatus","Strategy","CreationTime","TrainingJobStatusCounters","ObjectiveStatusCounters"],"members":{"HyperParameterTuningJobName":{},"HyperParameterTuningJobArn":{},"HyperParameterTuningJobStatus":{},"Strategy":{},"CreationTime":{"type":"timestamp"},"HyperParameterTuningEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"TrainingJobStatusCounters":{"shape":"Sqo"},"ObjectiveStatusCounters":{"shape":"Sqq"},"ResourceLimits":{"shape":"Sbh"}}}},"NextToken":{}}}},"ListImageVersions":{"input":{"type":"structure","required":["ImageName"],"members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"ImageName":{},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","members":{"ImageVersions":{"type":"list","member":{"type":"structure","required":["CreationTime","ImageArn","ImageVersionArn","ImageVersionStatus","LastModifiedTime","Version"],"members":{"CreationTime":{"type":"timestamp"},"FailureReason":{},"ImageArn":{},"ImageVersionArn":{},"ImageVersionStatus":{},"LastModifiedTime":{"type":"timestamp"},"Version":{"type":"integer"}}}},"NextToken":{}}}},"ListImages":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","members":{"Images":{"type":"list","member":{"type":"structure","required":["CreationTime","ImageArn","ImageName","ImageStatus","LastModifiedTime"],"members":{"CreationTime":{"type":"timestamp"},"Description":{},"DisplayName":{},"FailureReason":{},"ImageArn":{},"ImageName":{},"ImageStatus":{},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListInferenceRecommendationsJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["InferenceRecommendationsJobs"],"members":{"InferenceRecommendationsJobs":{"type":"list","member":{"type":"structure","required":["JobName","JobDescription","JobType","JobArn","Status","CreationTime","RoleArn","LastModifiedTime"],"members":{"JobName":{},"JobDescription":{},"JobType":{},"JobArn":{},"Status":{},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"RoleArn":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"NextToken":{}}}},"ListLabelingJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NextToken":{},"NameContains":{},"SortBy":{},"SortOrder":{},"StatusEquals":{}}},"output":{"type":"structure","members":{"LabelingJobSummaryList":{"type":"list","member":{"type":"structure","required":["LabelingJobName","LabelingJobArn","CreationTime","LastModifiedTime","LabelingJobStatus","LabelCounters","WorkteamArn","PreHumanTaskLambdaArn"],"members":{"LabelingJobName":{},"LabelingJobArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LabelingJobStatus":{},"LabelCounters":{"shape":"Srf"},"WorkteamArn":{},"PreHumanTaskLambdaArn":{},"AnnotationConsolidationLambdaArn":{},"FailureReason":{},"LabelingJobOutput":{"shape":"Sri"},"InputConfig":{"shape":"Sdh"}}}},"NextToken":{}}}},"ListLabelingJobsForWorkteam":{"input":{"type":"structure","required":["WorkteamArn"],"members":{"WorkteamArn":{},"MaxResults":{"type":"integer"},"NextToken":{},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"JobReferenceCodeContains":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["LabelingJobSummaryList"],"members":{"LabelingJobSummaryList":{"type":"list","member":{"type":"structure","required":["JobReferenceCode","WorkRequesterAccountId","CreationTime"],"members":{"LabelingJobName":{},"JobReferenceCode":{},"WorkRequesterAccountId":{},"CreationTime":{"type":"timestamp"},"LabelCounters":{"type":"structure","members":{"HumanLabeled":{"type":"integer"},"PendingHuman":{"type":"integer"},"Total":{"type":"integer"}}},"NumberOfHumanWorkersPerDataObject":{"type":"integer"}}}},"NextToken":{}}}},"ListLineageGroups":{"input":{"type":"structure","members":{"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"LineageGroupSummaries":{"type":"list","member":{"type":"structure","members":{"LineageGroupArn":{},"LineageGroupName":{},"DisplayName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListModelBiasJobDefinitions":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["JobDefinitionSummaries"],"members":{"JobDefinitionSummaries":{"shape":"Sx4"},"NextToken":{}}}},"ListModelExplainabilityJobDefinitions":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["JobDefinitionSummaries"],"members":{"JobDefinitionSummaries":{"shape":"Sx4"},"NextToken":{}}}},"ListModelMetadata":{"input":{"type":"structure","members":{"SearchExpression":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ModelMetadataSummaries"],"members":{"ModelMetadataSummaries":{"type":"list","member":{"type":"structure","required":["Domain","Framework","Task","Model","FrameworkVersion"],"members":{"Domain":{},"Framework":{},"Task":{},"Model":{},"FrameworkVersion":{}}}},"NextToken":{}}}},"ListModelPackageGroups":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["ModelPackageGroupSummaryList"],"members":{"ModelPackageGroupSummaryList":{"type":"list","member":{"type":"structure","required":["ModelPackageGroupName","ModelPackageGroupArn","CreationTime","ModelPackageGroupStatus"],"members":{"ModelPackageGroupName":{},"ModelPackageGroupArn":{},"ModelPackageGroupDescription":{},"CreationTime":{"type":"timestamp"},"ModelPackageGroupStatus":{}}}},"NextToken":{}}}},"ListModelPackages":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"ModelApprovalStatus":{},"ModelPackageGroupName":{},"ModelPackageType":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["ModelPackageSummaryList"],"members":{"ModelPackageSummaryList":{"type":"list","member":{"type":"structure","required":["ModelPackageName","ModelPackageArn","CreationTime","ModelPackageStatus"],"members":{"ModelPackageName":{},"ModelPackageGroupName":{},"ModelPackageVersion":{"type":"integer"},"ModelPackageArn":{},"ModelPackageDescription":{},"CreationTime":{"type":"timestamp"},"ModelPackageStatus":{},"ModelApprovalStatus":{}}}},"NextToken":{}}}},"ListModelQualityJobDefinitions":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["JobDefinitionSummaries"],"members":{"JobDefinitionSummaries":{"shape":"Sx4"},"NextToken":{}}}},"ListModels":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["Models"],"members":{"Models":{"type":"list","member":{"type":"structure","required":["ModelName","ModelArn","CreationTime"],"members":{"ModelName":{},"ModelArn":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListMonitoringExecutions":{"input":{"type":"structure","members":{"MonitoringScheduleName":{},"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"ScheduledTimeBefore":{"type":"timestamp"},"ScheduledTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"StatusEquals":{},"MonitoringJobDefinitionName":{},"MonitoringTypeEquals":{}}},"output":{"type":"structure","required":["MonitoringExecutionSummaries"],"members":{"MonitoringExecutionSummaries":{"type":"list","member":{"shape":"Ss6"}},"NextToken":{}}}},"ListMonitoringSchedules":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"StatusEquals":{},"MonitoringJobDefinitionName":{},"MonitoringTypeEquals":{}}},"output":{"type":"structure","required":["MonitoringScheduleSummaries"],"members":{"MonitoringScheduleSummaries":{"type":"list","member":{"type":"structure","required":["MonitoringScheduleName","MonitoringScheduleArn","CreationTime","LastModifiedTime","MonitoringScheduleStatus"],"members":{"MonitoringScheduleName":{},"MonitoringScheduleArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringScheduleStatus":{},"EndpointName":{},"MonitoringJobDefinitionName":{},"MonitoringType":{}}}},"NextToken":{}}}},"ListNotebookInstanceLifecycleConfigs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortBy":{},"SortOrder":{},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","members":{"NextToken":{},"NotebookInstanceLifecycleConfigs":{"type":"list","member":{"type":"structure","required":["NotebookInstanceLifecycleConfigName","NotebookInstanceLifecycleConfigArn"],"members":{"NotebookInstanceLifecycleConfigName":{},"NotebookInstanceLifecycleConfigArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}}}}},"ListNotebookInstances":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortBy":{},"SortOrder":{},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"StatusEquals":{},"NotebookInstanceLifecycleConfigNameContains":{},"DefaultCodeRepositoryContains":{},"AdditionalCodeRepositoryEquals":{}}},"output":{"type":"structure","members":{"NextToken":{},"NotebookInstances":{"type":"list","member":{"type":"structure","required":["NotebookInstanceName","NotebookInstanceArn"],"members":{"NotebookInstanceName":{},"NotebookInstanceArn":{},"NotebookInstanceStatus":{},"Url":{},"InstanceType":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"NotebookInstanceLifecycleConfigName":{},"DefaultCodeRepository":{},"AdditionalCodeRepositories":{"shape":"Sgl"}}}}}}},"ListPipelineExecutionSteps":{"input":{"type":"structure","members":{"PipelineExecutionArn":{},"NextToken":{},"MaxResults":{"type":"integer"},"SortOrder":{}}},"output":{"type":"structure","members":{"PipelineExecutionSteps":{"type":"list","member":{"type":"structure","members":{"StepName":{},"StepDisplayName":{},"StepDescription":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"StepStatus":{},"CacheHitResult":{"type":"structure","members":{"SourcePipelineExecutionArn":{}}},"AttemptCount":{"type":"integer"},"FailureReason":{},"Metadata":{"type":"structure","members":{"TrainingJob":{"type":"structure","members":{"Arn":{}}},"ProcessingJob":{"type":"structure","members":{"Arn":{}}},"TransformJob":{"type":"structure","members":{"Arn":{}}},"TuningJob":{"type":"structure","members":{"Arn":{}}},"Model":{"type":"structure","members":{"Arn":{}}},"RegisterModel":{"type":"structure","members":{"Arn":{}}},"Condition":{"type":"structure","members":{"Outcome":{}}},"Callback":{"type":"structure","members":{"CallbackToken":{},"SqsQueueUrl":{},"OutputParameters":{"shape":"S11z"}}},"Lambda":{"type":"structure","members":{"Arn":{},"OutputParameters":{"shape":"S11z"}}},"QualityCheck":{"type":"structure","members":{"CheckType":{},"BaselineUsedForDriftCheckStatistics":{},"BaselineUsedForDriftCheckConstraints":{},"CalculatedBaselineStatistics":{},"CalculatedBaselineConstraints":{},"ModelPackageGroupName":{},"ViolationReport":{},"CheckJobArn":{},"SkipCheck":{"type":"boolean"},"RegisterNewBaseline":{"type":"boolean"}}},"ClarifyCheck":{"type":"structure","members":{"CheckType":{},"BaselineUsedForDriftCheckConstraints":{},"CalculatedBaselineConstraints":{},"ModelPackageGroupName":{},"ViolationReport":{},"CheckJobArn":{},"SkipCheck":{"type":"boolean"},"RegisterNewBaseline":{"type":"boolean"}}},"EMR":{"type":"structure","members":{"ClusterId":{},"StepId":{},"StepName":{},"LogFilePath":{}}}}}}}},"NextToken":{}}}},"ListPipelineExecutions":{"input":{"type":"structure","required":["PipelineName"],"members":{"PipelineName":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PipelineExecutionSummaries":{"type":"list","member":{"type":"structure","members":{"PipelineExecutionArn":{},"StartTime":{"type":"timestamp"},"PipelineExecutionStatus":{},"PipelineExecutionDescription":{},"PipelineExecutionDisplayName":{}}}},"NextToken":{}}}},"ListPipelineParametersForExecution":{"input":{"type":"structure","required":["PipelineExecutionArn"],"members":{"PipelineExecutionArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PipelineParameters":{"shape":"S12c"},"NextToken":{}}}},"ListPipelines":{"input":{"type":"structure","members":{"PipelineNamePrefix":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PipelineSummaries":{"type":"list","member":{"type":"structure","members":{"PipelineArn":{},"PipelineName":{},"PipelineDisplayName":{},"PipelineDescription":{},"RoleArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastExecutionTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListProcessingJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ProcessingJobSummaries"],"members":{"ProcessingJobSummaries":{"type":"list","member":{"type":"structure","required":["ProcessingJobName","ProcessingJobArn","CreationTime","ProcessingJobStatus"],"members":{"ProcessingJobName":{},"ProcessingJobArn":{},"CreationTime":{"type":"timestamp"},"ProcessingEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"ProcessingJobStatus":{},"FailureReason":{},"ExitMessage":{}}}},"NextToken":{}}}},"ListProjects":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["ProjectSummaryList"],"members":{"ProjectSummaryList":{"type":"list","member":{"type":"structure","required":["ProjectName","ProjectArn","ProjectId","CreationTime","ProjectStatus"],"members":{"ProjectName":{},"ProjectDescription":{},"ProjectArn":{},"ProjectId":{},"CreationTime":{"type":"timestamp"},"ProjectStatus":{}}}},"NextToken":{}}}},"ListStudioLifecycleConfigs":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"NameContains":{},"AppTypeEquals":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"ModifiedTimeBefore":{"type":"timestamp"},"ModifiedTimeAfter":{"type":"timestamp"},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","members":{"NextToken":{},"StudioLifecycleConfigs":{"type":"list","member":{"type":"structure","members":{"StudioLifecycleConfigArn":{},"StudioLifecycleConfigName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"StudioLifecycleConfigAppType":{}}}}}}},"ListSubscribedWorkteams":{"input":{"type":"structure","members":{"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["SubscribedWorkteams"],"members":{"SubscribedWorkteams":{"type":"list","member":{"shape":"St4"}},"NextToken":{}}}},"ListTags":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S7"},"NextToken":{}}}},"ListTrainingJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["TrainingJobSummaries"],"members":{"TrainingJobSummaries":{"type":"list","member":{"type":"structure","required":["TrainingJobName","TrainingJobArn","CreationTime","TrainingJobStatus"],"members":{"TrainingJobName":{},"TrainingJobArn":{},"CreationTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"TrainingJobStatus":{}}}},"NextToken":{}}}},"ListTrainingJobsForHyperParameterTuningJob":{"input":{"type":"structure","required":["HyperParameterTuningJobName"],"members":{"HyperParameterTuningJobName":{},"NextToken":{},"MaxResults":{"type":"integer"},"StatusEquals":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["TrainingJobSummaries"],"members":{"TrainingJobSummaries":{"type":"list","member":{"shape":"Sqs"}},"NextToken":{}}}},"ListTransformJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["TransformJobSummaries"],"members":{"TransformJobSummaries":{"type":"list","member":{"type":"structure","required":["TransformJobName","TransformJobArn","CreationTime","TransformJobStatus"],"members":{"TransformJobName":{},"TransformJobArn":{},"CreationTime":{"type":"timestamp"},"TransformEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"TransformJobStatus":{},"FailureReason":{}}}},"NextToken":{}}}},"ListTrialComponents":{"input":{"type":"structure","members":{"ExperimentName":{},"TrialName":{},"SourceArn":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrialComponentSummaries":{"type":"list","member":{"type":"structure","members":{"TrialComponentName":{},"TrialComponentArn":{},"DisplayName":{},"TrialComponentSource":{"shape":"Stv"},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}},"NextToken":{}}}},"ListTrials":{"input":{"type":"structure","members":{"ExperimentName":{},"TrialComponentName":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrialSummaries":{"type":"list","member":{"type":"structure","members":{"TrialArn":{},"TrialName":{},"DisplayName":{},"TrialSource":{"shape":"Str"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListUserProfiles":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortOrder":{},"SortBy":{},"DomainIdEquals":{},"UserProfileNameContains":{}}},"output":{"type":"structure","members":{"UserProfiles":{"type":"list","member":{"type":"structure","members":{"DomainId":{},"UserProfileName":{},"Status":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListWorkforces":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["Workforces"],"members":{"Workforces":{"type":"list","member":{"shape":"Su7"}},"NextToken":{}}}},"ListWorkteams":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["Workteams"],"members":{"Workteams":{"type":"list","member":{"shape":"Sub"}},"NextToken":{}}}},"PutModelPackageGroupPolicy":{"input":{"type":"structure","required":["ModelPackageGroupName","ResourcePolicy"],"members":{"ModelPackageGroupName":{},"ResourcePolicy":{}}},"output":{"type":"structure","required":["ModelPackageGroupArn"],"members":{"ModelPackageGroupArn":{}}}},"QueryLineage":{"input":{"type":"structure","required":["StartArns"],"members":{"StartArns":{"type":"list","member":{}},"Direction":{},"IncludeEdges":{"type":"boolean"},"Filters":{"type":"structure","members":{"Types":{"type":"list","member":{}},"LineageTypes":{"type":"list","member":{}},"CreatedBefore":{"type":"timestamp"},"CreatedAfter":{"type":"timestamp"},"ModifiedBefore":{"type":"timestamp"},"ModifiedAfter":{"type":"timestamp"},"Properties":{"type":"map","key":{},"value":{}}}},"MaxDepth":{"type":"integer"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Vertices":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Type":{},"LineageType":{}}}},"Edges":{"type":"list","member":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{},"AssociationType":{}}}},"NextToken":{}}}},"RegisterDevices":{"input":{"type":"structure","required":["DeviceFleetName","Devices"],"members":{"DeviceFleetName":{},"Devices":{"shape":"S14o"},"Tags":{"shape":"S7"}}}},"RenderUiTemplate":{"input":{"type":"structure","required":["Task","RoleArn"],"members":{"UiTemplate":{"shape":"Sba"},"Task":{"type":"structure","required":["Input"],"members":{"Input":{}}},"RoleArn":{},"HumanTaskUiArn":{}}},"output":{"type":"structure","required":["RenderedContent","Errors"],"members":{"RenderedContent":{},"Errors":{"type":"list","member":{"type":"structure","required":["Code","Message"],"members":{"Code":{},"Message":{}}}}}}},"RetryPipelineExecution":{"input":{"type":"structure","required":["PipelineExecutionArn","ClientRequestToken"],"members":{"PipelineExecutionArn":{},"ClientRequestToken":{"idempotencyToken":true},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"Search":{"input":{"type":"structure","required":["Resource"],"members":{"Resource":{},"SearchExpression":{"shape":"S14z"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Results":{"type":"list","member":{"type":"structure","members":{"TrainingJob":{"shape":"S15c"},"Experiment":{"type":"structure","members":{"ExperimentName":{},"ExperimentArn":{},"DisplayName":{},"Source":{"shape":"Sq3"},"Description":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"Tags":{"shape":"S7"}}},"Trial":{"type":"structure","members":{"TrialName":{},"TrialArn":{},"DisplayName":{},"ExperimentName":{},"Source":{"shape":"Str"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"},"TrialComponentSummaries":{"type":"list","member":{"type":"structure","members":{"TrialComponentName":{},"TrialComponentArn":{},"TrialComponentSource":{"shape":"Stv"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"}}}}}},"TrialComponent":{"type":"structure","members":{"TrialComponentName":{},"DisplayName":{},"TrialComponentArn":{},"Source":{"shape":"Stv"},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"Parameters":{"shape":"Sk8"},"InputArtifacts":{"shape":"Skc"},"OutputArtifacts":{"shape":"Skc"},"Metrics":{"shape":"Stx"},"MetadataProperties":{"shape":"S1q"},"SourceDetail":{"type":"structure","members":{"SourceArn":{},"TrainingJob":{"shape":"S15c"},"ProcessingJob":{"type":"structure","members":{"ProcessingInputs":{"shape":"Shi"},"ProcessingOutputConfig":{"shape":"Si5"},"ProcessingJobName":{},"ProcessingResources":{"shape":"Sia"},"StoppingCondition":{"shape":"Sic"},"AppSpecification":{"shape":"Sie"},"Environment":{"shape":"Sig"},"NetworkConfig":{"shape":"Sg8"},"RoleArn":{},"ExperimentConfig":{"shape":"Sih"},"ProcessingJobArn":{},"ProcessingJobStatus":{},"ExitMessage":{},"FailureReason":{},"ProcessingEndTime":{"type":"timestamp"},"ProcessingStartTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"MonitoringScheduleArn":{},"AutoMLJobArn":{},"TrainingJobArn":{},"Tags":{"shape":"S7"}}},"TransformJob":{"type":"structure","members":{"TransformJobName":{},"TransformJobArn":{},"TransformJobStatus":{},"FailureReason":{},"ModelName":{},"MaxConcurrentTransforms":{"type":"integer"},"ModelClientConfig":{"shape":"Sjt"},"MaxPayloadInMB":{"type":"integer"},"BatchStrategy":{},"Environment":{"shape":"S3o"},"TransformInput":{"shape":"S3r"},"TransformOutput":{"shape":"S3v"},"TransformResources":{"shape":"S3y"},"CreationTime":{"type":"timestamp"},"TransformStartTime":{"type":"timestamp"},"TransformEndTime":{"type":"timestamp"},"LabelingJobArn":{},"AutoMLJobArn":{},"DataProcessing":{"shape":"Sjw"},"ExperimentConfig":{"shape":"Sih"},"Tags":{"shape":"S7"}}}}},"LineageGroupArn":{},"Tags":{"shape":"S7"},"Parents":{"type":"list","member":{"type":"structure","members":{"TrialName":{},"ExperimentName":{}}}}}},"Endpoint":{"type":"structure","required":["EndpointName","EndpointArn","EndpointConfigName","EndpointStatus","CreationTime","LastModifiedTime"],"members":{"EndpointName":{},"EndpointArn":{},"EndpointConfigName":{},"ProductionVariants":{"shape":"Spk"},"DataCaptureConfig":{"shape":"Spt"},"EndpointStatus":{},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringSchedules":{"type":"list","member":{"type":"structure","members":{"MonitoringScheduleArn":{},"MonitoringScheduleName":{},"MonitoringScheduleStatus":{},"MonitoringType":{},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringScheduleConfig":{"shape":"Sg0"},"EndpointName":{},"LastMonitoringExecutionSummary":{"shape":"Ss6"},"Tags":{"shape":"S7"}}}},"Tags":{"shape":"S7"}}},"ModelPackage":{"type":"structure","members":{"ModelPackageName":{},"ModelPackageGroupName":{},"ModelPackageVersion":{"type":"integer"},"ModelPackageArn":{},"ModelPackageDescription":{},"CreationTime":{"type":"timestamp"},"InferenceSpecification":{"shape":"Sr"},"SourceAlgorithmSpecification":{"shape":"Sf3"},"ValidationSpecification":{"shape":"Sf0"},"ModelPackageStatus":{},"ModelPackageStatusDetails":{"shape":"Srt"},"CertifyForMarketplace":{"type":"boolean"},"ModelApprovalStatus":{},"CreatedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"ModelMetrics":{"shape":"Sf6"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"ApprovalDescription":{},"Domain":{},"Task":{},"SamplePayloadUrl":{},"AdditionalInferenceSpecifications":{"shape":"Sfm"},"Tags":{"shape":"S7"},"CustomerMetadataProperties":{"shape":"Sfd"},"DriftCheckBaselines":{"shape":"Sfg"}}},"ModelPackageGroup":{"type":"structure","members":{"ModelPackageGroupName":{},"ModelPackageGroupArn":{},"ModelPackageGroupDescription":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"ModelPackageGroupStatus":{},"Tags":{"shape":"S7"}}},"Pipeline":{"type":"structure","members":{"PipelineArn":{},"PipelineName":{},"PipelineDisplayName":{},"PipelineDescription":{},"RoleArn":{},"PipelineStatus":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastRunTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedBy":{"shape":"Sn3"},"ParallelismConfiguration":{"shape":"Sh5"},"Tags":{"shape":"S7"}}},"PipelineExecution":{"type":"structure","members":{"PipelineArn":{},"PipelineExecutionArn":{},"PipelineExecutionDisplayName":{},"PipelineExecutionStatus":{},"PipelineExecutionDescription":{},"PipelineExperimentConfig":{"shape":"Ssp"},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedBy":{"shape":"Sn3"},"ParallelismConfiguration":{"shape":"Sh5"},"PipelineParameters":{"shape":"S12c"}}},"FeatureGroup":{"type":"structure","members":{"FeatureGroupArn":{},"FeatureGroupName":{},"RecordIdentifierFeatureName":{},"EventTimeFeatureName":{},"FeatureDefinitions":{"shape":"Sa5"},"CreationTime":{"type":"timestamp"},"OnlineStoreConfig":{"shape":"Sa8"},"OfflineStoreConfig":{"shape":"Saa"},"RoleArn":{},"FeatureGroupStatus":{},"OfflineStoreStatus":{"shape":"Sq9"},"FailureReason":{},"Description":{},"Tags":{"shape":"S7"}}},"Project":{"type":"structure","members":{"ProjectArn":{},"ProjectName":{},"ProjectId":{},"ProjectDescription":{},"ServiceCatalogProvisioningDetails":{"shape":"Sim"},"ServiceCatalogProvisionedProductDetails":{"shape":"Ssx"},"ProjectStatus":{},"CreatedBy":{"shape":"Sn3"},"CreationTime":{"type":"timestamp"},"Tags":{"shape":"S7"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}}}},"NextToken":{}}}},"SendPipelineExecutionStepFailure":{"input":{"type":"structure","required":["CallbackToken"],"members":{"CallbackToken":{},"FailureReason":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"SendPipelineExecutionStepSuccess":{"input":{"type":"structure","required":["CallbackToken"],"members":{"CallbackToken":{},"OutputParameters":{"shape":"S11z"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"StartMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName"],"members":{"MonitoringScheduleName":{}}}},"StartNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{}}}},"StartPipelineExecution":{"input":{"type":"structure","required":["PipelineName","ClientRequestToken"],"members":{"PipelineName":{},"PipelineExecutionDisplayName":{},"PipelineParameters":{"shape":"S12c"},"PipelineExecutionDescription":{},"ClientRequestToken":{"idempotencyToken":true},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"StopAutoMLJob":{"input":{"type":"structure","required":["AutoMLJobName"],"members":{"AutoMLJobName":{}}}},"StopCompilationJob":{"input":{"type":"structure","required":["CompilationJobName"],"members":{"CompilationJobName":{}}}},"StopEdgePackagingJob":{"input":{"type":"structure","required":["EdgePackagingJobName"],"members":{"EdgePackagingJobName":{}}}},"StopHyperParameterTuningJob":{"input":{"type":"structure","required":["HyperParameterTuningJobName"],"members":{"HyperParameterTuningJobName":{}}}},"StopInferenceRecommendationsJob":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{}}}},"StopLabelingJob":{"input":{"type":"structure","required":["LabelingJobName"],"members":{"LabelingJobName":{}}}},"StopMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName"],"members":{"MonitoringScheduleName":{}}}},"StopNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{}}}},"StopPipelineExecution":{"input":{"type":"structure","required":["PipelineExecutionArn","ClientRequestToken"],"members":{"PipelineExecutionArn":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"StopProcessingJob":{"input":{"type":"structure","required":["ProcessingJobName"],"members":{"ProcessingJobName":{}}}},"StopTrainingJob":{"input":{"type":"structure","required":["TrainingJobName"],"members":{"TrainingJobName":{}}}},"StopTransformJob":{"input":{"type":"structure","required":["TransformJobName"],"members":{"TransformJobName":{}}}},"UpdateAction":{"input":{"type":"structure","required":["ActionName"],"members":{"ActionName":{},"Description":{},"Status":{},"Properties":{"shape":"S1o"},"PropertiesToRemove":{"shape":"S16i"}}},"output":{"type":"structure","members":{"ActionArn":{}}}},"UpdateAppImageConfig":{"input":{"type":"structure","required":["AppImageConfigName"],"members":{"AppImageConfigName":{},"KernelGatewayImageConfig":{"shape":"S4h"}}},"output":{"type":"structure","members":{"AppImageConfigArn":{}}}},"UpdateArtifact":{"input":{"type":"structure","required":["ArtifactArn"],"members":{"ArtifactArn":{},"ArtifactName":{},"Properties":{"shape":"S1o"},"PropertiesToRemove":{"shape":"S16i"}}},"output":{"type":"structure","members":{"ArtifactArn":{}}}},"UpdateCodeRepository":{"input":{"type":"structure","required":["CodeRepositoryName"],"members":{"CodeRepositoryName":{},"GitConfig":{"type":"structure","members":{"SecretArn":{}}}}},"output":{"type":"structure","required":["CodeRepositoryArn"],"members":{"CodeRepositoryArn":{}}}},"UpdateContext":{"input":{"type":"structure","required":["ContextName"],"members":{"ContextName":{},"Description":{},"Properties":{"shape":"S1o"},"PropertiesToRemove":{"shape":"S16i"}}},"output":{"type":"structure","members":{"ContextArn":{}}}},"UpdateDeviceFleet":{"input":{"type":"structure","required":["DeviceFleetName","OutputConfig"],"members":{"DeviceFleetName":{},"RoleArn":{},"Description":{},"OutputConfig":{"shape":"S7o"},"EnableIotRoleAlias":{"type":"boolean"}}}},"UpdateDevices":{"input":{"type":"structure","required":["DeviceFleetName","Devices"],"members":{"DeviceFleetName":{},"Devices":{"shape":"S14o"}}}},"UpdateDomain":{"input":{"type":"structure","required":["DomainId"],"members":{"DomainId":{},"DefaultUserSettings":{"shape":"S7u"},"DomainSettingsForUpdate":{"type":"structure","members":{"RStudioServerProDomainSettingsForUpdate":{"type":"structure","required":["DomainExecutionRoleArn"],"members":{"DomainExecutionRoleArn":{},"DefaultResourceSpec":{"shape":"S48"}}}}}}},"output":{"type":"structure","members":{"DomainArn":{}}}},"UpdateEndpoint":{"input":{"type":"structure","required":["EndpointName","EndpointConfigName"],"members":{"EndpointName":{},"EndpointConfigName":{},"RetainAllVariantProperties":{"type":"boolean"},"ExcludeRetainedVariantProperties":{"type":"list","member":{"type":"structure","required":["VariantPropertyType"],"members":{"VariantPropertyType":{}}}},"DeploymentConfig":{"shape":"S8n"},"RetainDeploymentConfig":{"type":"boolean"}}},"output":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}}},"UpdateEndpointWeightsAndCapacities":{"input":{"type":"structure","required":["EndpointName","DesiredWeightsAndCapacities"],"members":{"EndpointName":{},"DesiredWeightsAndCapacities":{"type":"list","member":{"type":"structure","required":["VariantName"],"members":{"VariantName":{},"DesiredWeight":{"type":"float"},"DesiredInstanceCount":{"type":"integer"}}}}}},"output":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}}},"UpdateExperiment":{"input":{"type":"structure","required":["ExperimentName"],"members":{"ExperimentName":{},"DisplayName":{},"Description":{}}},"output":{"type":"structure","members":{"ExperimentArn":{}}}},"UpdateImage":{"input":{"type":"structure","required":["ImageName"],"members":{"DeleteProperties":{"type":"list","member":{}},"Description":{},"DisplayName":{},"ImageName":{},"RoleArn":{}}},"output":{"type":"structure","members":{"ImageArn":{}}}},"UpdateModelPackage":{"input":{"type":"structure","required":["ModelPackageArn"],"members":{"ModelPackageArn":{},"ModelApprovalStatus":{},"ApprovalDescription":{},"CustomerMetadataProperties":{"shape":"Sfd"},"CustomerMetadataPropertiesToRemove":{"type":"list","member":{}},"AdditionalInferenceSpecificationsToAdd":{"shape":"Sfm"}}},"output":{"type":"structure","required":["ModelPackageArn"],"members":{"ModelPackageArn":{}}}},"UpdateMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName","MonitoringScheduleConfig"],"members":{"MonitoringScheduleName":{},"MonitoringScheduleConfig":{"shape":"Sg0"}}},"output":{"type":"structure","required":["MonitoringScheduleArn"],"members":{"MonitoringScheduleArn":{}}}},"UpdateNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{},"InstanceType":{},"RoleArn":{},"LifecycleConfigName":{},"DisassociateLifecycleConfig":{"type":"boolean"},"VolumeSizeInGB":{"type":"integer"},"DefaultCodeRepository":{},"AdditionalCodeRepositories":{"shape":"Sgl"},"AcceleratorTypes":{"shape":"Sgi"},"DisassociateAcceleratorTypes":{"type":"boolean"},"DisassociateDefaultCodeRepository":{"type":"boolean"},"DisassociateAdditionalCodeRepositories":{"type":"boolean"},"RootAccess":{}}},"output":{"type":"structure","members":{}}},"UpdateNotebookInstanceLifecycleConfig":{"input":{"type":"structure","required":["NotebookInstanceLifecycleConfigName"],"members":{"NotebookInstanceLifecycleConfigName":{},"OnCreate":{"shape":"Sgr"},"OnStart":{"shape":"Sgr"}}},"output":{"type":"structure","members":{}}},"UpdatePipeline":{"input":{"type":"structure","required":["PipelineName"],"members":{"PipelineName":{},"PipelineDisplayName":{},"PipelineDefinition":{},"PipelineDefinitionS3Location":{"shape":"Sgz"},"PipelineDescription":{},"RoleArn":{},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineArn":{}}}},"UpdatePipelineExecution":{"input":{"type":"structure","required":["PipelineExecutionArn"],"members":{"PipelineExecutionArn":{},"PipelineExecutionDescription":{},"PipelineExecutionDisplayName":{},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"UpdateProject":{"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{},"ProjectDescription":{},"ServiceCatalogProvisioningUpdateDetails":{"type":"structure","members":{"ProvisioningArtifactId":{},"ProvisioningParameters":{"shape":"Sio"}}},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["ProjectArn"],"members":{"ProjectArn":{}}}},"UpdateTrainingJob":{"input":{"type":"structure","required":["TrainingJobName"],"members":{"TrainingJobName":{},"ProfilerConfig":{"type":"structure","members":{"S3OutputPath":{},"ProfilingIntervalInMilliseconds":{"type":"long"},"ProfilingParameters":{"shape":"Sjj"},"DisableProfiler":{"type":"boolean"}}},"ProfilerRuleConfigurations":{"shape":"Sjk"}}},"output":{"type":"structure","required":["TrainingJobArn"],"members":{"TrainingJobArn":{}}}},"UpdateTrial":{"input":{"type":"structure","required":["TrialName"],"members":{"TrialName":{},"DisplayName":{}}},"output":{"type":"structure","members":{"TrialArn":{}}}},"UpdateTrialComponent":{"input":{"type":"structure","required":["TrialComponentName"],"members":{"TrialComponentName":{},"DisplayName":{},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Parameters":{"shape":"Sk8"},"ParametersToRemove":{"shape":"S185"},"InputArtifacts":{"shape":"Skc"},"InputArtifactsToRemove":{"shape":"S185"},"OutputArtifacts":{"shape":"Skc"},"OutputArtifactsToRemove":{"shape":"S185"}}},"output":{"type":"structure","members":{"TrialComponentArn":{}}}},"UpdateUserProfile":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{},"UserSettings":{"shape":"S7u"}}},"output":{"type":"structure","members":{"UserProfileArn":{}}}},"UpdateWorkforce":{"input":{"type":"structure","required":["WorkforceName"],"members":{"WorkforceName":{},"SourceIpConfig":{"shape":"Skt"},"OidcConfig":{"shape":"Skq"}}},"output":{"type":"structure","required":["Workforce"],"members":{"Workforce":{"shape":"Su7"}}}},"UpdateWorkteam":{"input":{"type":"structure","required":["WorkteamName"],"members":{"WorkteamName":{},"MemberDefinitions":{"shape":"Sl1"},"Description":{},"NotificationConfiguration":{"shape":"Sl9"}}},"output":{"type":"structure","required":["Workteam"],"members":{"Workteam":{"shape":"Sub"}}}}},"shapes":{"S7":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sr":{"type":"structure","required":["Containers","SupportedContentTypes","SupportedResponseMIMETypes"],"members":{"Containers":{"shape":"Ss"},"SupportedTransformInstanceTypes":{"shape":"S16"},"SupportedRealtimeInferenceInstanceTypes":{"shape":"S18"},"SupportedContentTypes":{"shape":"S1a"},"SupportedResponseMIMETypes":{"shape":"S1c"}}},"Ss":{"type":"list","member":{"type":"structure","required":["Image"],"members":{"ContainerHostname":{},"Image":{},"ImageDigest":{},"ModelDataUrl":{},"ProductId":{},"Environment":{"shape":"Sz"},"ModelInput":{"type":"structure","required":["DataInputConfig"],"members":{"DataInputConfig":{}}},"Framework":{},"FrameworkVersion":{},"NearestModelName":{}}}},"Sz":{"type":"map","key":{},"value":{}},"S16":{"type":"list","member":{}},"S18":{"type":"list","member":{}},"S1a":{"type":"list","member":{}},"S1c":{"type":"list","member":{}},"S1j":{"type":"structure","required":["SourceUri"],"members":{"SourceUri":{},"SourceType":{},"SourceId":{}}},"S1o":{"type":"map","key":{},"value":{}},"S1q":{"type":"structure","members":{"CommitId":{},"Repository":{},"GeneratedBy":{},"ProjectId":{}}},"S1v":{"type":"structure","required":["TrainingImage","SupportedTrainingInstanceTypes","TrainingChannels"],"members":{"TrainingImage":{},"TrainingImageDigest":{},"SupportedHyperParameters":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Description":{},"Type":{},"Range":{"type":"structure","members":{"IntegerParameterRangeSpecification":{"type":"structure","required":["MinValue","MaxValue"],"members":{"MinValue":{},"MaxValue":{}}},"ContinuousParameterRangeSpecification":{"type":"structure","required":["MinValue","MaxValue"],"members":{"MinValue":{},"MaxValue":{}}},"CategoricalParameterRangeSpecification":{"type":"structure","required":["Values"],"members":{"Values":{"shape":"S25"}}}}},"IsTunable":{"type":"boolean"},"IsRequired":{"type":"boolean"},"DefaultValue":{}}}},"SupportedTrainingInstanceTypes":{"type":"list","member":{}},"SupportsDistributedTraining":{"type":"boolean"},"MetricDefinitions":{"shape":"S2a"},"TrainingChannels":{"type":"list","member":{"type":"structure","required":["Name","SupportedContentTypes","SupportedInputModes"],"members":{"Name":{},"Description":{},"IsRequired":{"type":"boolean"},"SupportedContentTypes":{"shape":"S1a"},"SupportedCompressionTypes":{"type":"list","member":{}},"SupportedInputModes":{"type":"list","member":{}}}}},"SupportedTuningJobObjectiveMetrics":{"type":"list","member":{"shape":"S2m"}}}},"S25":{"type":"list","member":{}},"S2a":{"type":"list","member":{"type":"structure","required":["Name","Regex"],"members":{"Name":{},"Regex":{}}}},"S2m":{"type":"structure","required":["Type","MetricName"],"members":{"Type":{},"MetricName":{}}},"S2o":{"type":"structure","required":["ValidationRole","ValidationProfiles"],"members":{"ValidationRole":{},"ValidationProfiles":{"type":"list","member":{"type":"structure","required":["ProfileName","TrainingJobDefinition"],"members":{"ProfileName":{},"TrainingJobDefinition":{"type":"structure","required":["TrainingInputMode","InputDataConfig","OutputDataConfig","ResourceConfig","StoppingCondition"],"members":{"TrainingInputMode":{},"HyperParameters":{"shape":"S2t"},"InputDataConfig":{"shape":"S2v"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"StoppingCondition":{"shape":"S3h"}}},"TransformJobDefinition":{"shape":"S3k"}}}}}},"S2t":{"type":"map","key":{},"value":{}},"S2v":{"type":"list","member":{"type":"structure","required":["ChannelName","DataSource"],"members":{"ChannelName":{},"DataSource":{"type":"structure","members":{"S3DataSource":{"type":"structure","required":["S3DataType","S3Uri"],"members":{"S3DataType":{},"S3Uri":{},"S3DataDistributionType":{},"AttributeNames":{"type":"list","member":{}}}},"FileSystemDataSource":{"type":"structure","required":["FileSystemId","FileSystemAccessMode","FileSystemType","DirectoryPath"],"members":{"FileSystemId":{},"FileSystemAccessMode":{},"FileSystemType":{},"DirectoryPath":{}}}}},"ContentType":{},"CompressionType":{},"RecordWrapperType":{},"InputMode":{},"ShuffleConfig":{"type":"structure","required":["Seed"],"members":{"Seed":{"type":"long"}}}}}},"S3c":{"type":"structure","required":["S3OutputPath"],"members":{"KmsKeyId":{},"S3OutputPath":{}}},"S3e":{"type":"structure","required":["InstanceType","InstanceCount","VolumeSizeInGB"],"members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"VolumeSizeInGB":{"type":"integer"},"VolumeKmsKeyId":{}}},"S3h":{"type":"structure","members":{"MaxRuntimeInSeconds":{"type":"integer"},"MaxWaitTimeInSeconds":{"type":"integer"}}},"S3k":{"type":"structure","required":["TransformInput","TransformOutput","TransformResources"],"members":{"MaxConcurrentTransforms":{"type":"integer"},"MaxPayloadInMB":{"type":"integer"},"BatchStrategy":{},"Environment":{"shape":"S3o"},"TransformInput":{"shape":"S3r"},"TransformOutput":{"shape":"S3v"},"TransformResources":{"shape":"S3y"}}},"S3o":{"type":"map","key":{},"value":{}},"S3r":{"type":"structure","required":["DataSource"],"members":{"DataSource":{"type":"structure","required":["S3DataSource"],"members":{"S3DataSource":{"type":"structure","required":["S3DataType","S3Uri"],"members":{"S3DataType":{},"S3Uri":{}}}}},"ContentType":{},"CompressionType":{},"SplitType":{}}},"S3v":{"type":"structure","required":["S3OutputPath"],"members":{"S3OutputPath":{},"Accept":{},"AssembleWith":{},"KmsKeyId":{}}},"S3y":{"type":"structure","required":["InstanceType","InstanceCount"],"members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"VolumeKmsKeyId":{}}},"S48":{"type":"structure","members":{"SageMakerImageArn":{},"SageMakerImageVersionArn":{},"InstanceType":{},"LifecycleConfigArn":{}}},"S4h":{"type":"structure","required":["KernelSpecs"],"members":{"KernelSpecs":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"DisplayName":{}}}},"FileSystemConfig":{"type":"structure","members":{"MountPath":{},"DefaultUid":{"type":"integer"},"DefaultGid":{"type":"integer"}}}}},"S4t":{"type":"structure","required":["SourceUri"],"members":{"SourceUri":{},"SourceTypes":{"type":"list","member":{"type":"structure","required":["SourceIdType","Value"],"members":{"SourceIdType":{},"Value":{}}}}}},"S51":{"type":"list","member":{"type":"structure","required":["DataSource","TargetAttributeName"],"members":{"DataSource":{"type":"structure","required":["S3DataSource"],"members":{"S3DataSource":{"type":"structure","required":["S3DataType","S3Uri"],"members":{"S3DataType":{},"S3Uri":{}}}}},"CompressionType":{},"TargetAttributeName":{},"ContentType":{}}}},"S57":{"type":"structure","required":["S3OutputPath"],"members":{"KmsKeyId":{},"S3OutputPath":{}}},"S59":{"type":"structure","required":["MetricName"],"members":{"MetricName":{}}},"S5b":{"type":"structure","members":{"CompletionCriteria":{"shape":"S5c"},"SecurityConfig":{"type":"structure","members":{"VolumeKmsKeyId":{},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"VpcConfig":{"shape":"S5h"}}}}},"S5c":{"type":"structure","members":{"MaxCandidates":{"type":"integer"},"MaxRuntimePerTrainingJobInSeconds":{"type":"integer"},"MaxAutoMLJobRuntimeInSeconds":{"type":"integer"}}},"S5h":{"type":"structure","required":["SecurityGroupIds","Subnets"],"members":{"SecurityGroupIds":{"type":"list","member":{}},"Subnets":{"shape":"S5k"}}},"S5k":{"type":"list","member":{}},"S5n":{"type":"structure","members":{"AutoGenerateEndpointName":{"type":"boolean"},"EndpointName":{}}},"S5t":{"type":"structure","required":["RepositoryUrl"],"members":{"RepositoryUrl":{},"Branch":{},"SecretArn":{}}},"S60":{"type":"structure","required":["S3Uri","DataInputConfig","Framework"],"members":{"S3Uri":{},"DataInputConfig":{},"Framework":{},"FrameworkVersion":{}}},"S62":{"type":"structure","required":["S3OutputLocation"],"members":{"S3OutputLocation":{},"TargetDevice":{},"TargetPlatform":{"type":"structure","required":["Os","Arch"],"members":{"Os":{},"Arch":{},"Accelerator":{}}},"CompilerOptions":{},"KmsKeyId":{}}},"S69":{"type":"structure","required":["SecurityGroupIds","Subnets"],"members":{"SecurityGroupIds":{"type":"list","member":{}},"Subnets":{"type":"list","member":{}}}},"S6h":{"type":"structure","required":["SourceUri"],"members":{"SourceUri":{},"SourceType":{},"SourceId":{}}},"S6m":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"},"StatisticsResource":{"shape":"S6p"}}},"S6o":{"type":"structure","members":{"S3Uri":{}}},"S6p":{"type":"structure","members":{"S3Uri":{}}},"S6q":{"type":"structure","required":["ImageUri"],"members":{"ImageUri":{},"ContainerEntrypoint":{"shape":"S6s"},"ContainerArguments":{"shape":"S6u"},"RecordPreprocessorSourceUri":{},"PostAnalyticsProcessorSourceUri":{},"Environment":{"shape":"S6w"}}},"S6s":{"type":"list","member":{}},"S6u":{"type":"list","member":{}},"S6w":{"type":"map","key":{},"value":{}},"S6z":{"type":"structure","required":["EndpointInput"],"members":{"EndpointInput":{"shape":"S70"}}},"S70":{"type":"structure","required":["EndpointName","LocalPath"],"members":{"EndpointName":{},"LocalPath":{},"S3InputMode":{},"S3DataDistributionType":{},"FeaturesAttribute":{},"InferenceAttribute":{},"ProbabilityAttribute":{},"ProbabilityThresholdAttribute":{"type":"double"},"StartTimeOffset":{},"EndTimeOffset":{}}},"S76":{"type":"structure","required":["MonitoringOutputs"],"members":{"MonitoringOutputs":{"type":"list","member":{"type":"structure","required":["S3Output"],"members":{"S3Output":{"type":"structure","required":["S3Uri","LocalPath"],"members":{"S3Uri":{},"LocalPath":{},"S3UploadMode":{}}}}}},"KmsKeyId":{}}},"S7c":{"type":"structure","required":["ClusterConfig"],"members":{"ClusterConfig":{"type":"structure","required":["InstanceCount","InstanceType","VolumeSizeInGB"],"members":{"InstanceCount":{"type":"integer"},"InstanceType":{},"VolumeSizeInGB":{"type":"integer"},"VolumeKmsKeyId":{}}}}},"S7h":{"type":"structure","members":{"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableNetworkIsolation":{"type":"boolean"},"VpcConfig":{"shape":"S5h"}}},"S7i":{"type":"structure","required":["MaxRuntimeInSeconds"],"members":{"MaxRuntimeInSeconds":{"type":"integer"}}},"S7o":{"type":"structure","required":["S3OutputLocation"],"members":{"S3OutputLocation":{},"KmsKeyId":{},"PresetDeploymentType":{},"PresetDeploymentConfig":{}}},"S7u":{"type":"structure","members":{"ExecutionRole":{},"SecurityGroups":{"shape":"S7v"},"SharingSettings":{"type":"structure","members":{"NotebookOutputOption":{},"S3OutputPath":{},"S3KmsKeyId":{}}},"JupyterServerAppSettings":{"type":"structure","members":{"DefaultResourceSpec":{"shape":"S48"},"LifecycleConfigArns":{"shape":"S7z"}}},"KernelGatewayAppSettings":{"type":"structure","members":{"DefaultResourceSpec":{"shape":"S48"},"CustomImages":{"type":"list","member":{"type":"structure","required":["ImageName","AppImageConfigName"],"members":{"ImageName":{},"ImageVersionNumber":{"type":"integer"},"AppImageConfigName":{}}}},"LifecycleConfigArns":{"shape":"S7z"}}},"TensorBoardAppSettings":{"type":"structure","members":{"DefaultResourceSpec":{"shape":"S48"}}},"RStudioServerProAppSettings":{"type":"structure","members":{"AccessStatus":{},"UserGroup":{}}},"RSessionAppSettings":{"type":"structure","members":{}}}},"S7v":{"type":"list","member":{}},"S7z":{"type":"list","member":{}},"S8d":{"type":"structure","members":{"SecurityGroupIds":{"type":"list","member":{}},"RStudioServerProDomainSettings":{"type":"structure","required":["DomainExecutionRoleArn"],"members":{"DomainExecutionRoleArn":{},"RStudioConnectUrl":{},"RStudioPackageManagerUrl":{},"DefaultResourceSpec":{"shape":"S48"}}}}},"S8n":{"type":"structure","required":["BlueGreenUpdatePolicy"],"members":{"BlueGreenUpdatePolicy":{"type":"structure","required":["TrafficRoutingConfiguration"],"members":{"TrafficRoutingConfiguration":{"type":"structure","required":["Type","WaitIntervalInSeconds"],"members":{"Type":{},"WaitIntervalInSeconds":{"type":"integer"},"CanarySize":{"shape":"S8s"},"LinearStepSize":{"shape":"S8s"}}},"TerminationWaitInSeconds":{"type":"integer"},"MaximumExecutionTimeoutInSeconds":{"type":"integer"}}},"AutoRollbackConfiguration":{"type":"structure","members":{"Alarms":{"type":"list","member":{"type":"structure","members":{"AlarmName":{}}}}}}}},"S8s":{"type":"structure","required":["Type","Value"],"members":{"Type":{},"Value":{"type":"integer"}}},"S94":{"type":"list","member":{"type":"structure","required":["VariantName","ModelName"],"members":{"VariantName":{},"ModelName":{},"InitialInstanceCount":{"type":"integer"},"InstanceType":{},"InitialVariantWeight":{"type":"float"},"AcceleratorType":{},"CoreDumpConfig":{"type":"structure","required":["DestinationS3Uri"],"members":{"DestinationS3Uri":{},"KmsKeyId":{}}},"ServerlessConfig":{"shape":"S9d"}}}},"S9d":{"type":"structure","required":["MemorySizeInMB","MaxConcurrency"],"members":{"MemorySizeInMB":{"type":"integer"},"MaxConcurrency":{"type":"integer"}}},"S9g":{"type":"structure","required":["InitialSamplingPercentage","DestinationS3Uri","CaptureOptions"],"members":{"EnableCapture":{"type":"boolean"},"InitialSamplingPercentage":{"type":"integer"},"DestinationS3Uri":{},"KmsKeyId":{},"CaptureOptions":{"type":"list","member":{"type":"structure","required":["CaptureMode"],"members":{"CaptureMode":{}}}},"CaptureContentTypeHeader":{"type":"structure","members":{"CsvContentTypes":{"type":"list","member":{}},"JsonContentTypes":{"type":"list","member":{}}}}}},"S9r":{"type":"structure","required":["OutputConfig"],"members":{"ClientConfig":{"type":"structure","members":{"MaxConcurrentInvocationsPerInstance":{"type":"integer"}}},"OutputConfig":{"type":"structure","required":["S3OutputPath"],"members":{"KmsKeyId":{},"S3OutputPath":{},"NotificationConfig":{"type":"structure","members":{"SuccessTopic":{},"ErrorTopic":{}}}}}}},"Sa5":{"type":"list","member":{"type":"structure","members":{"FeatureName":{},"FeatureType":{}}}},"Sa8":{"type":"structure","members":{"SecurityConfig":{"type":"structure","members":{"KmsKeyId":{}}},"EnableOnlineStore":{"type":"boolean"}}},"Saa":{"type":"structure","required":["S3StorageConfig"],"members":{"S3StorageConfig":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"KmsKeyId":{},"ResolvedOutputS3Uri":{}}},"DisableGlueTableCreation":{"type":"boolean"},"DataCatalogConfig":{"type":"structure","required":["TableName","Catalog","Database"],"members":{"TableName":{},"Catalog":{},"Database":{}}}}},"Sal":{"type":"structure","required":["AwsManagedHumanLoopRequestSource"],"members":{"AwsManagedHumanLoopRequestSource":{}}},"San":{"type":"structure","required":["HumanLoopActivationConditionsConfig"],"members":{"HumanLoopActivationConditionsConfig":{"type":"structure","required":["HumanLoopActivationConditions"],"members":{"HumanLoopActivationConditions":{"jsonvalue":true}}}}},"Saq":{"type":"structure","required":["WorkteamArn","HumanTaskUiArn","TaskTitle","TaskDescription","TaskCount"],"members":{"WorkteamArn":{},"HumanTaskUiArn":{},"TaskTitle":{},"TaskDescription":{},"TaskCount":{"type":"integer"},"TaskAvailabilityLifetimeInSeconds":{"type":"integer"},"TaskTimeLimitInSeconds":{"type":"integer"},"TaskKeywords":{"type":"list","member":{}},"PublicWorkforceTaskPrice":{"shape":"Sb0"}}},"Sb0":{"type":"structure","members":{"AmountInUsd":{"type":"structure","members":{"Dollars":{"type":"integer"},"Cents":{"type":"integer"},"TenthFractionsOfACent":{"type":"integer"}}}}},"Sb5":{"type":"structure","required":["S3OutputPath"],"members":{"S3OutputPath":{},"KmsKeyId":{}}},"Sba":{"type":"structure","required":["Content"],"members":{"Content":{}}},"Sbf":{"type":"structure","required":["Strategy","ResourceLimits"],"members":{"Strategy":{},"HyperParameterTuningJobObjective":{"shape":"S2m"},"ResourceLimits":{"shape":"Sbh"},"ParameterRanges":{"shape":"Sbk"},"TrainingJobEarlyStoppingType":{},"TuningJobCompletionCriteria":{"type":"structure","required":["TargetObjectiveMetricValue"],"members":{"TargetObjectiveMetricValue":{"type":"float"}}}}},"Sbh":{"type":"structure","required":["MaxNumberOfTrainingJobs","MaxParallelTrainingJobs"],"members":{"MaxNumberOfTrainingJobs":{"type":"integer"},"MaxParallelTrainingJobs":{"type":"integer"}}},"Sbk":{"type":"structure","members":{"IntegerParameterRanges":{"type":"list","member":{"type":"structure","required":["Name","MinValue","MaxValue"],"members":{"Name":{},"MinValue":{},"MaxValue":{},"ScalingType":{}}}},"ContinuousParameterRanges":{"type":"list","member":{"type":"structure","required":["Name","MinValue","MaxValue"],"members":{"Name":{},"MinValue":{},"MaxValue":{},"ScalingType":{}}}},"CategoricalParameterRanges":{"type":"list","member":{"type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"shape":"S25"}}}}}},"Sbw":{"type":"structure","required":["AlgorithmSpecification","RoleArn","OutputDataConfig","ResourceConfig","StoppingCondition"],"members":{"DefinitionName":{},"TuningObjective":{"shape":"S2m"},"HyperParameterRanges":{"shape":"Sbk"},"StaticHyperParameters":{"shape":"S2t"},"AlgorithmSpecification":{"type":"structure","required":["TrainingInputMode"],"members":{"TrainingImage":{},"TrainingInputMode":{},"AlgorithmName":{},"MetricDefinitions":{"shape":"S2a"}}},"RoleArn":{},"InputDataConfig":{"shape":"S2v"},"VpcConfig":{"shape":"S5h"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"StoppingCondition":{"shape":"S3h"},"EnableNetworkIsolation":{"type":"boolean"},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableManagedSpotTraining":{"type":"boolean"},"CheckpointConfig":{"shape":"Sc1"},"RetryStrategy":{"shape":"Sc2"}}},"Sc1":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"LocalPath":{}}},"Sc2":{"type":"structure","required":["MaximumRetryAttempts"],"members":{"MaximumRetryAttempts":{"type":"integer"}}},"Sc4":{"type":"list","member":{"shape":"Sbw"}},"Sc5":{"type":"structure","required":["ParentHyperParameterTuningJobs","WarmStartType"],"members":{"ParentHyperParameterTuningJobs":{"type":"list","member":{"type":"structure","members":{"HyperParameterTuningJobName":{}}}},"WarmStartType":{}}},"Scm":{"type":"structure","required":["ModelPackageVersionArn"],"members":{"ModelPackageVersionArn":{},"JobDurationInSeconds":{"type":"integer"},"TrafficPattern":{"type":"structure","members":{"TrafficType":{},"Phases":{"type":"list","member":{"type":"structure","members":{"InitialNumberOfUsers":{"type":"integer"},"SpawnRate":{"type":"integer"},"DurationInSeconds":{"type":"integer"}}}}}},"ResourceLimit":{"type":"structure","members":{"MaxNumberOfTests":{"type":"integer"},"MaxParallelOfTests":{"type":"integer"}}},"EndpointConfigurations":{"type":"list","member":{"type":"structure","required":["InstanceType"],"members":{"InstanceType":{},"InferenceSpecificationName":{},"EnvironmentParameterRanges":{"type":"structure","members":{"CategoricalParameterRanges":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{"type":"list","member":{}}}}}}}}}}}},"Sd8":{"type":"structure","members":{"MaxInvocations":{"type":"integer"},"ModelLatencyThresholds":{"type":"list","member":{"type":"structure","members":{"Percentile":{},"ValueInMilliseconds":{"type":"integer"}}}}}},"Sdh":{"type":"structure","required":["DataSource"],"members":{"DataSource":{"type":"structure","members":{"S3DataSource":{"type":"structure","required":["ManifestS3Uri"],"members":{"ManifestS3Uri":{}}},"SnsDataSource":{"type":"structure","required":["SnsTopicArn"],"members":{"SnsTopicArn":{}}}}},"DataAttributes":{"type":"structure","members":{"ContentClassifiers":{"type":"list","member":{}}}}}},"Sdo":{"type":"structure","required":["S3OutputPath"],"members":{"S3OutputPath":{},"KmsKeyId":{},"SnsTopicArn":{}}},"Sdp":{"type":"structure","members":{"MaxHumanLabeledObjectCount":{"type":"integer"},"MaxPercentageOfInputDatasetLabeled":{"type":"integer"}}},"Sds":{"type":"structure","required":["LabelingJobAlgorithmSpecificationArn"],"members":{"LabelingJobAlgorithmSpecificationArn":{},"InitialActiveLearningModelArn":{},"LabelingJobResourceConfig":{"type":"structure","members":{"VolumeKmsKeyId":{}}}}},"Sdw":{"type":"structure","required":["WorkteamArn","UiConfig","PreHumanTaskLambdaArn","TaskTitle","TaskDescription","NumberOfHumanWorkersPerDataObject","TaskTimeLimitInSeconds","AnnotationConsolidationConfig"],"members":{"WorkteamArn":{},"UiConfig":{"type":"structure","members":{"UiTemplateS3Uri":{},"HumanTaskUiArn":{}}},"PreHumanTaskLambdaArn":{},"TaskKeywords":{"type":"list","member":{}},"TaskTitle":{},"TaskDescription":{},"NumberOfHumanWorkersPerDataObject":{"type":"integer"},"TaskTimeLimitInSeconds":{"type":"integer"},"TaskAvailabilityLifetimeInSeconds":{"type":"integer"},"MaxConcurrentTaskCount":{"type":"integer"},"AnnotationConsolidationConfig":{"type":"structure","required":["AnnotationConsolidationLambdaArn"],"members":{"AnnotationConsolidationLambdaArn":{}}},"PublicWorkforceTaskPrice":{"shape":"Sb0"}}},"Seb":{"type":"structure","members":{"ContainerHostname":{},"Image":{},"ImageConfig":{"type":"structure","required":["RepositoryAccessMode"],"members":{"RepositoryAccessMode":{},"RepositoryAuthConfig":{"type":"structure","required":["RepositoryCredentialsProviderArn"],"members":{"RepositoryCredentialsProviderArn":{}}}}},"Mode":{},"ModelDataUrl":{},"Environment":{"shape":"Sz"},"ModelPackageName":{},"InferenceSpecificationName":{},"MultiModelConfig":{"type":"structure","members":{"ModelCacheSetting":{}}}}},"Sek":{"type":"list","member":{"shape":"Seb"}},"Sel":{"type":"structure","required":["Mode"],"members":{"Mode":{}}},"Sep":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"}}},"Seq":{"type":"structure","required":["ImageUri","ConfigUri"],"members":{"ImageUri":{},"ConfigUri":{},"Environment":{"shape":"S6w"}}},"Ser":{"type":"structure","required":["EndpointInput","GroundTruthS3Input"],"members":{"EndpointInput":{"shape":"S70"},"GroundTruthS3Input":{"shape":"Ses"}}},"Ses":{"type":"structure","members":{"S3Uri":{}}},"Sev":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"}}},"Sew":{"type":"structure","required":["ImageUri","ConfigUri"],"members":{"ImageUri":{},"ConfigUri":{},"Environment":{"shape":"S6w"}}},"Sex":{"type":"structure","required":["EndpointInput"],"members":{"EndpointInput":{"shape":"S70"}}},"Sf0":{"type":"structure","required":["ValidationRole","ValidationProfiles"],"members":{"ValidationRole":{},"ValidationProfiles":{"type":"list","member":{"type":"structure","required":["ProfileName","TransformJobDefinition"],"members":{"ProfileName":{},"TransformJobDefinition":{"shape":"S3k"}}}}}},"Sf3":{"type":"structure","required":["SourceAlgorithms"],"members":{"SourceAlgorithms":{"type":"list","member":{"type":"structure","required":["AlgorithmName"],"members":{"ModelDataUrl":{},"AlgorithmName":{}}}}}},"Sf6":{"type":"structure","members":{"ModelQuality":{"type":"structure","members":{"Statistics":{"shape":"Sf8"},"Constraints":{"shape":"Sf8"}}},"ModelDataQuality":{"type":"structure","members":{"Statistics":{"shape":"Sf8"},"Constraints":{"shape":"Sf8"}}},"Bias":{"type":"structure","members":{"Report":{"shape":"Sf8"},"PreTrainingReport":{"shape":"Sf8"},"PostTrainingReport":{"shape":"Sf8"}}},"Explainability":{"type":"structure","members":{"Report":{"shape":"Sf8"}}}}},"Sf8":{"type":"structure","required":["ContentType","S3Uri"],"members":{"ContentType":{},"ContentDigest":{},"S3Uri":{}}},"Sfd":{"type":"map","key":{},"value":{}},"Sfg":{"type":"structure","members":{"Bias":{"type":"structure","members":{"ConfigFile":{"shape":"Sfi"},"PreTrainingConstraints":{"shape":"Sf8"},"PostTrainingConstraints":{"shape":"Sf8"}}},"Explainability":{"type":"structure","members":{"Constraints":{"shape":"Sf8"},"ConfigFile":{"shape":"Sfi"}}},"ModelQuality":{"type":"structure","members":{"Statistics":{"shape":"Sf8"},"Constraints":{"shape":"Sf8"}}},"ModelDataQuality":{"type":"structure","members":{"Statistics":{"shape":"Sf8"},"Constraints":{"shape":"Sf8"}}}}},"Sfi":{"type":"structure","required":["S3Uri"],"members":{"ContentType":{},"ContentDigest":{},"S3Uri":{}}},"Sfm":{"type":"list","member":{"type":"structure","required":["Name","Containers"],"members":{"Name":{},"Description":{},"Containers":{"shape":"Ss"},"SupportedTransformInstanceTypes":{"shape":"S16"},"SupportedRealtimeInferenceInstanceTypes":{"shape":"S18"},"SupportedContentTypes":{"shape":"S1a"},"SupportedResponseMIMETypes":{"shape":"S1c"}}}},"Sft":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"}}},"Sfu":{"type":"structure","required":["ImageUri"],"members":{"ImageUri":{},"ContainerEntrypoint":{"shape":"S6s"},"ContainerArguments":{"shape":"S6u"},"RecordPreprocessorSourceUri":{},"PostAnalyticsProcessorSourceUri":{},"ProblemType":{},"Environment":{"shape":"S6w"}}},"Sfw":{"type":"structure","required":["EndpointInput","GroundTruthS3Input"],"members":{"EndpointInput":{"shape":"S70"},"GroundTruthS3Input":{"shape":"Ses"}}},"Sg0":{"type":"structure","members":{"ScheduleConfig":{"type":"structure","required":["ScheduleExpression"],"members":{"ScheduleExpression":{}}},"MonitoringJobDefinition":{"type":"structure","required":["MonitoringInputs","MonitoringOutputConfig","MonitoringResources","MonitoringAppSpecification","RoleArn"],"members":{"BaselineConfig":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"},"StatisticsResource":{"shape":"S6p"}}},"MonitoringInputs":{"type":"list","member":{"type":"structure","required":["EndpointInput"],"members":{"EndpointInput":{"shape":"S70"}}}},"MonitoringOutputConfig":{"shape":"S76"},"MonitoringResources":{"shape":"S7c"},"MonitoringAppSpecification":{"type":"structure","required":["ImageUri"],"members":{"ImageUri":{},"ContainerEntrypoint":{"shape":"S6s"},"ContainerArguments":{"shape":"S6u"},"RecordPreprocessorSourceUri":{},"PostAnalyticsProcessorSourceUri":{}}},"StoppingCondition":{"shape":"S7i"},"Environment":{"shape":"S6w"},"NetworkConfig":{"shape":"Sg8"},"RoleArn":{}}},"MonitoringJobDefinitionName":{},"MonitoringType":{}}},"Sg8":{"type":"structure","members":{"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableNetworkIsolation":{"type":"boolean"},"VpcConfig":{"shape":"S5h"}}},"Sgi":{"type":"list","member":{}},"Sgl":{"type":"list","member":{}},"Sgr":{"type":"list","member":{"type":"structure","members":{"Content":{}}}},"Sgz":{"type":"structure","required":["Bucket","ObjectKey"],"members":{"Bucket":{},"ObjectKey":{},"VersionId":{}}},"Sh5":{"type":"structure","required":["MaxParallelExecutionSteps"],"members":{"MaxParallelExecutionSteps":{"type":"integer"}}},"Shi":{"type":"list","member":{"type":"structure","required":["InputName"],"members":{"InputName":{},"AppManaged":{"type":"boolean"},"S3Input":{"type":"structure","required":["S3Uri","S3DataType"],"members":{"S3Uri":{},"LocalPath":{},"S3DataType":{},"S3InputMode":{},"S3DataDistributionType":{},"S3CompressionType":{}}},"DatasetDefinition":{"type":"structure","members":{"AthenaDatasetDefinition":{"type":"structure","required":["Catalog","Database","QueryString","OutputS3Uri","OutputFormat"],"members":{"Catalog":{},"Database":{},"QueryString":{},"WorkGroup":{},"OutputS3Uri":{},"KmsKeyId":{},"OutputFormat":{},"OutputCompression":{}}},"RedshiftDatasetDefinition":{"type":"structure","required":["ClusterId","Database","DbUser","QueryString","ClusterRoleArn","OutputS3Uri","OutputFormat"],"members":{"ClusterId":{},"Database":{},"DbUser":{},"QueryString":{},"ClusterRoleArn":{},"OutputS3Uri":{},"KmsKeyId":{},"OutputFormat":{},"OutputCompression":{}}},"LocalPath":{},"DataDistributionType":{},"InputMode":{}}}}}},"Si5":{"type":"structure","required":["Outputs"],"members":{"Outputs":{"type":"list","member":{"type":"structure","required":["OutputName"],"members":{"OutputName":{},"S3Output":{"type":"structure","required":["S3Uri","LocalPath","S3UploadMode"],"members":{"S3Uri":{},"LocalPath":{},"S3UploadMode":{}}},"FeatureStoreOutput":{"type":"structure","required":["FeatureGroupName"],"members":{"FeatureGroupName":{}}},"AppManaged":{"type":"boolean"}}}},"KmsKeyId":{}}},"Sia":{"type":"structure","required":["ClusterConfig"],"members":{"ClusterConfig":{"type":"structure","required":["InstanceCount","InstanceType","VolumeSizeInGB"],"members":{"InstanceCount":{"type":"integer"},"InstanceType":{},"VolumeSizeInGB":{"type":"integer"},"VolumeKmsKeyId":{}}}}},"Sic":{"type":"structure","required":["MaxRuntimeInSeconds"],"members":{"MaxRuntimeInSeconds":{"type":"integer"}}},"Sie":{"type":"structure","required":["ImageUri"],"members":{"ImageUri":{},"ContainerEntrypoint":{"shape":"S6s"},"ContainerArguments":{"type":"list","member":{}}}},"Sig":{"type":"map","key":{},"value":{}},"Sih":{"type":"structure","members":{"ExperimentName":{},"TrialName":{},"TrialComponentDisplayName":{}}},"Sim":{"type":"structure","required":["ProductId"],"members":{"ProductId":{},"ProvisioningArtifactId":{},"PathId":{},"ProvisioningParameters":{"shape":"Sio"}}},"Sio":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"Sj2":{"type":"structure","required":["TrainingInputMode"],"members":{"TrainingImage":{},"AlgorithmName":{},"TrainingInputMode":{},"MetricDefinitions":{"shape":"S2a"},"EnableSageMakerMetricsTimeSeries":{"type":"boolean"}}},"Sj3":{"type":"structure","required":["S3OutputPath"],"members":{"LocalPath":{},"S3OutputPath":{},"HookParameters":{"type":"map","key":{},"value":{}},"CollectionConfigurations":{"type":"list","member":{"type":"structure","members":{"CollectionName":{},"CollectionParameters":{"type":"map","key":{},"value":{}}}}}}},"Sjb":{"type":"list","member":{"type":"structure","required":["RuleConfigurationName","RuleEvaluatorImage"],"members":{"RuleConfigurationName":{},"LocalPath":{},"S3OutputPath":{},"RuleEvaluatorImage":{},"InstanceType":{},"VolumeSizeInGB":{"type":"integer"},"RuleParameters":{"shape":"Sjf"}}}},"Sjf":{"type":"map","key":{},"value":{}},"Sjg":{"type":"structure","required":["S3OutputPath"],"members":{"LocalPath":{},"S3OutputPath":{}}},"Sjh":{"type":"structure","required":["S3OutputPath"],"members":{"S3OutputPath":{},"ProfilingIntervalInMilliseconds":{"type":"long"},"ProfilingParameters":{"shape":"Sjj"}}},"Sjj":{"type":"map","key":{},"value":{}},"Sjk":{"type":"list","member":{"type":"structure","required":["RuleConfigurationName","RuleEvaluatorImage"],"members":{"RuleConfigurationName":{},"LocalPath":{},"S3OutputPath":{},"RuleEvaluatorImage":{},"InstanceType":{},"VolumeSizeInGB":{"type":"integer"},"RuleParameters":{"shape":"Sjf"}}}},"Sjm":{"type":"map","key":{},"value":{}},"Sjt":{"type":"structure","members":{"InvocationsTimeoutInSeconds":{"type":"integer"},"InvocationsMaxRetries":{"type":"integer"}}},"Sjw":{"type":"structure","members":{"InputFilter":{},"OutputFilter":{},"JoinSource":{}}},"Sk4":{"type":"structure","members":{"PrimaryStatus":{},"Message":{}}},"Sk8":{"type":"map","key":{},"value":{"type":"structure","members":{"StringValue":{},"NumberValue":{"type":"double"}}}},"Skc":{"type":"map","key":{},"value":{"type":"structure","required":["Value"],"members":{"MediaType":{},"Value":{}}}},"Skn":{"type":"structure","required":["UserPool","ClientId"],"members":{"UserPool":{},"ClientId":{}}},"Skq":{"type":"structure","required":["ClientId","ClientSecret","Issuer","AuthorizationEndpoint","TokenEndpoint","UserInfoEndpoint","LogoutEndpoint","JwksUri"],"members":{"ClientId":{},"ClientSecret":{"type":"string","sensitive":true},"Issuer":{},"AuthorizationEndpoint":{},"TokenEndpoint":{},"UserInfoEndpoint":{},"LogoutEndpoint":{},"JwksUri":{}}},"Skt":{"type":"structure","required":["Cidrs"],"members":{"Cidrs":{"type":"list","member":{}}}},"Sl1":{"type":"list","member":{"type":"structure","members":{"CognitoMemberDefinition":{"type":"structure","required":["UserPool","UserGroup","ClientId"],"members":{"UserPool":{},"UserGroup":{},"ClientId":{}}},"OidcMemberDefinition":{"type":"structure","required":["Groups"],"members":{"Groups":{"type":"list","member":{}}}}}}},"Sl9":{"type":"structure","members":{"NotificationTopicArn":{}}},"Sn3":{"type":"structure","members":{"UserProfileArn":{},"UserProfileName":{},"DomainId":{}}},"Sn9":{"type":"list","member":{"type":"structure","required":["Name","Status"],"members":{"Name":{},"Status":{},"FailureReason":{}}}},"Snn":{"type":"list","member":{"type":"structure","members":{"PartialFailureMessage":{}}}},"Snp":{"type":"structure","required":["CandidateName","ObjectiveStatus","CandidateSteps","CandidateStatus","CreationTime","LastModifiedTime"],"members":{"CandidateName":{},"FinalAutoMLJobObjectiveMetric":{"type":"structure","required":["MetricName","Value"],"members":{"Type":{},"MetricName":{},"Value":{"type":"float"}}},"ObjectiveStatus":{},"CandidateSteps":{"type":"list","member":{"type":"structure","required":["CandidateStepType","CandidateStepArn","CandidateStepName"],"members":{"CandidateStepType":{},"CandidateStepArn":{},"CandidateStepName":{}}}},"CandidateStatus":{},"InferenceContainers":{"type":"list","member":{"type":"structure","required":["Image","ModelDataUrl"],"members":{"Image":{},"ModelDataUrl":{},"Environment":{"shape":"Sz"}}}},"CreationTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"CandidateProperties":{"type":"structure","members":{"CandidateArtifactLocations":{"type":"structure","required":["Explainability"],"members":{"Explainability":{}}},"CandidateMetrics":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"Value":{"type":"float"},"Set":{}}}}}}}},"Soo":{"type":"structure","required":["S3ModelArtifacts"],"members":{"S3ModelArtifacts":{}}},"Spk":{"type":"list","member":{"type":"structure","required":["VariantName"],"members":{"VariantName":{},"DeployedImages":{"shape":"Spm"},"CurrentWeight":{"type":"float"},"DesiredWeight":{"type":"float"},"CurrentInstanceCount":{"type":"integer"},"DesiredInstanceCount":{"type":"integer"},"VariantStatus":{"shape":"Spp"},"CurrentServerlessConfig":{"shape":"S9d"},"DesiredServerlessConfig":{"shape":"S9d"}}}},"Spm":{"type":"list","member":{"type":"structure","members":{"SpecifiedImage":{},"ResolvedImage":{},"ResolutionTime":{"type":"timestamp"}}}},"Spp":{"type":"list","member":{"type":"structure","required":["Status"],"members":{"Status":{},"StatusMessage":{},"StartTime":{"type":"timestamp"}}}},"Spt":{"type":"structure","required":["EnableCapture","CaptureStatus","CurrentSamplingPercentage","DestinationS3Uri","KmsKeyId"],"members":{"EnableCapture":{"type":"boolean"},"CaptureStatus":{},"CurrentSamplingPercentage":{"type":"integer"},"DestinationS3Uri":{},"KmsKeyId":{}}},"Sq3":{"type":"structure","required":["SourceArn"],"members":{"SourceArn":{},"SourceType":{}}},"Sq9":{"type":"structure","required":["Status"],"members":{"Status":{},"BlockedReason":{}}},"Sqo":{"type":"structure","members":{"Completed":{"type":"integer"},"InProgress":{"type":"integer"},"RetryableError":{"type":"integer"},"NonRetryableError":{"type":"integer"},"Stopped":{"type":"integer"}}},"Sqq":{"type":"structure","members":{"Succeeded":{"type":"integer"},"Pending":{"type":"integer"},"Failed":{"type":"integer"}}},"Sqs":{"type":"structure","required":["TrainingJobName","TrainingJobArn","CreationTime","TrainingJobStatus","TunedHyperParameters"],"members":{"TrainingJobDefinitionName":{},"TrainingJobName":{},"TrainingJobArn":{},"TuningJobName":{},"CreationTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"TrainingJobStatus":{},"TunedHyperParameters":{"shape":"S2t"},"FailureReason":{},"FinalHyperParameterTuningJobObjectiveMetric":{"type":"structure","required":["MetricName","Value"],"members":{"Type":{},"MetricName":{},"Value":{"type":"float"}}},"ObjectiveStatus":{}}},"Srf":{"type":"structure","members":{"TotalLabeled":{"type":"integer"},"HumanLabeled":{"type":"integer"},"MachineLabeled":{"type":"integer"},"FailedNonRetryableError":{"type":"integer"},"Unlabeled":{"type":"integer"}}},"Sri":{"type":"structure","required":["OutputDatasetS3Uri"],"members":{"OutputDatasetS3Uri":{},"FinalActiveLearningModelArn":{}}},"Srt":{"type":"structure","required":["ValidationStatuses"],"members":{"ValidationStatuses":{"shape":"Sru"},"ImageScanStatuses":{"shape":"Sru"}}},"Sru":{"type":"list","member":{"type":"structure","required":["Name","Status"],"members":{"Name":{},"Status":{},"FailureReason":{}}}},"Ss6":{"type":"structure","required":["MonitoringScheduleName","ScheduledTime","CreationTime","LastModifiedTime","MonitoringExecutionStatus"],"members":{"MonitoringScheduleName":{},"ScheduledTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringExecutionStatus":{},"ProcessingJobArn":{},"EndpointName":{},"FailureReason":{},"MonitoringJobDefinitionName":{},"MonitoringType":{}}},"Ssp":{"type":"structure","members":{"ExperimentName":{},"TrialName":{}}},"Ssx":{"type":"structure","members":{"ProvisionedProductId":{},"ProvisionedProductStatusMessage":{}}},"St4":{"type":"structure","required":["WorkteamArn"],"members":{"WorkteamArn":{},"MarketplaceTitle":{},"SellerName":{},"MarketplaceDescription":{},"ListingId":{}}},"St8":{"type":"list","member":{"type":"structure","required":["Status","StartTime"],"members":{"Status":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"StatusMessage":{}}}},"Stb":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"Value":{"type":"float"},"Timestamp":{"type":"timestamp"}}}},"Stf":{"type":"list","member":{"type":"structure","members":{"RuleConfigurationName":{},"RuleEvaluationJobArn":{},"RuleEvaluationStatus":{},"StatusDetails":{},"LastModifiedTime":{"type":"timestamp"}}}},"Str":{"type":"structure","required":["SourceArn"],"members":{"SourceArn":{},"SourceType":{}}},"Stv":{"type":"structure","required":["SourceArn"],"members":{"SourceArn":{},"SourceType":{}}},"Stx":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"SourceArn":{},"TimeStamp":{"type":"timestamp"},"Max":{"type":"double"},"Min":{"type":"double"},"Last":{"type":"double"},"Count":{"type":"integer"},"Avg":{"type":"double"},"StdDev":{"type":"double"}}}},"Su7":{"type":"structure","required":["WorkforceName","WorkforceArn"],"members":{"WorkforceName":{},"WorkforceArn":{},"LastUpdatedDate":{"type":"timestamp"},"SourceIpConfig":{"shape":"Skt"},"SubDomain":{},"CognitoConfig":{"shape":"Skn"},"OidcConfig":{"type":"structure","members":{"ClientId":{},"Issuer":{},"AuthorizationEndpoint":{},"TokenEndpoint":{},"UserInfoEndpoint":{},"LogoutEndpoint":{},"JwksUri":{}}},"CreateDate":{"type":"timestamp"}}},"Sub":{"type":"structure","required":["WorkteamName","MemberDefinitions","WorkteamArn","Description"],"members":{"WorkteamName":{},"MemberDefinitions":{"shape":"Sl1"},"WorkteamArn":{},"WorkforceArn":{},"ProductListingIds":{"type":"list","member":{}},"Description":{},"SubDomain":{},"CreateDate":{"type":"timestamp"},"LastUpdatedDate":{"type":"timestamp"},"NotificationConfiguration":{"shape":"Sl9"}}},"Sx4":{"type":"list","member":{"type":"structure","required":["MonitoringJobDefinitionName","MonitoringJobDefinitionArn","CreationTime","EndpointName"],"members":{"MonitoringJobDefinitionName":{},"MonitoringJobDefinitionArn":{},"CreationTime":{"type":"timestamp"},"EndpointName":{}}}},"S11z":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"S12c":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"S14o":{"type":"list","member":{"type":"structure","required":["DeviceName"],"members":{"DeviceName":{},"Description":{},"IotThingName":{}}}},"S14z":{"type":"structure","members":{"Filters":{"shape":"S150"},"NestedFilters":{"type":"list","member":{"type":"structure","required":["NestedPropertyName","Filters"],"members":{"NestedPropertyName":{},"Filters":{"shape":"S150"}}}},"SubExpressions":{"type":"list","member":{"shape":"S14z"}},"Operator":{}}},"S150":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Operator":{},"Value":{}}}},"S15c":{"type":"structure","members":{"TrainingJobName":{},"TrainingJobArn":{},"TuningJobArn":{},"LabelingJobArn":{},"AutoMLJobArn":{},"ModelArtifacts":{"shape":"Soo"},"TrainingJobStatus":{},"SecondaryStatus":{},"FailureReason":{},"HyperParameters":{"shape":"S2t"},"AlgorithmSpecification":{"shape":"Sj2"},"RoleArn":{},"InputDataConfig":{"shape":"S2v"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"VpcConfig":{"shape":"S5h"},"StoppingCondition":{"shape":"S3h"},"CreationTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"SecondaryStatusTransitions":{"shape":"St8"},"FinalMetricDataList":{"shape":"Stb"},"EnableNetworkIsolation":{"type":"boolean"},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableManagedSpotTraining":{"type":"boolean"},"CheckpointConfig":{"shape":"Sc1"},"TrainingTimeInSeconds":{"type":"integer"},"BillableTimeInSeconds":{"type":"integer"},"DebugHookConfig":{"shape":"Sj3"},"ExperimentConfig":{"shape":"Sih"},"DebugRuleConfigurations":{"shape":"Sjb"},"TensorBoardOutputConfig":{"shape":"Sjg"},"DebugRuleEvaluationStatuses":{"shape":"Stf"},"Environment":{"shape":"Sjm"},"RetryStrategy":{"shape":"Sc2"},"Tags":{"shape":"S7"}}},"S16i":{"type":"list","member":{}},"S185":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-24","endpointPrefix":"api.sagemaker","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"SageMaker","serviceFullName":"Amazon SageMaker Service","serviceId":"SageMaker","signatureVersion":"v4","signingName":"sagemaker","targetPrefix":"SageMaker","uid":"sagemaker-2017-07-24"},"operations":{"AddAssociation":{"input":{"type":"structure","required":["SourceArn","DestinationArn"],"members":{"SourceArn":{},"DestinationArn":{},"AssociationType":{}}},"output":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{}}}},"AddTags":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S7"}}}},"AssociateTrialComponent":{"input":{"type":"structure","required":["TrialComponentName","TrialName"],"members":{"TrialComponentName":{},"TrialName":{}}},"output":{"type":"structure","members":{"TrialComponentArn":{},"TrialArn":{}}}},"BatchDescribeModelPackage":{"input":{"type":"structure","required":["ModelPackageArnList"],"members":{"ModelPackageArnList":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ModelPackageSummaries":{"type":"map","key":{},"value":{"type":"structure","required":["ModelPackageGroupName","ModelPackageArn","CreationTime","InferenceSpecification","ModelPackageStatus"],"members":{"ModelPackageGroupName":{},"ModelPackageVersion":{"type":"integer"},"ModelPackageArn":{},"ModelPackageDescription":{},"CreationTime":{"type":"timestamp"},"InferenceSpecification":{"shape":"Sr"},"ModelPackageStatus":{},"ModelApprovalStatus":{}}}},"BatchDescribeModelPackageErrorMap":{"type":"map","key":{},"value":{"type":"structure","required":["ErrorCode","ErrorResponse"],"members":{"ErrorCode":{},"ErrorResponse":{}}}}}}},"CreateAction":{"input":{"type":"structure","required":["ActionName","Source","ActionType"],"members":{"ActionName":{},"Source":{"shape":"S1j"},"ActionType":{},"Description":{},"Status":{},"Properties":{"shape":"S1o"},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ActionArn":{}}}},"CreateAlgorithm":{"input":{"type":"structure","required":["AlgorithmName","TrainingSpecification"],"members":{"AlgorithmName":{},"AlgorithmDescription":{},"TrainingSpecification":{"shape":"S1v"},"InferenceSpecification":{"shape":"Sr"},"ValidationSpecification":{"shape":"S2o"},"CertifyForMarketplace":{"type":"boolean"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["AlgorithmArn"],"members":{"AlgorithmArn":{}}}},"CreateApp":{"input":{"type":"structure","required":["DomainId","UserProfileName","AppType","AppName"],"members":{"DomainId":{},"UserProfileName":{},"AppType":{},"AppName":{},"Tags":{"shape":"S7"},"ResourceSpec":{"shape":"S48"}}},"output":{"type":"structure","members":{"AppArn":{}}}},"CreateAppImageConfig":{"input":{"type":"structure","required":["AppImageConfigName"],"members":{"AppImageConfigName":{},"Tags":{"shape":"S7"},"KernelGatewayImageConfig":{"shape":"S4h"}}},"output":{"type":"structure","members":{"AppImageConfigArn":{}}}},"CreateArtifact":{"input":{"type":"structure","required":["Source","ArtifactType"],"members":{"ArtifactName":{},"Source":{"shape":"S4t"},"ArtifactType":{},"Properties":{"shape":"S1o"},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ArtifactArn":{}}}},"CreateAutoMLJob":{"input":{"type":"structure","required":["AutoMLJobName","InputDataConfig","OutputDataConfig","RoleArn"],"members":{"AutoMLJobName":{},"InputDataConfig":{"shape":"S51"},"OutputDataConfig":{"shape":"S57"},"ProblemType":{},"AutoMLJobObjective":{"shape":"S59"},"AutoMLJobConfig":{"shape":"S5b"},"RoleArn":{},"GenerateCandidateDefinitionsOnly":{"type":"boolean"},"Tags":{"shape":"S7"},"ModelDeployConfig":{"shape":"S5n"}}},"output":{"type":"structure","required":["AutoMLJobArn"],"members":{"AutoMLJobArn":{}}}},"CreateCodeRepository":{"input":{"type":"structure","required":["CodeRepositoryName","GitConfig"],"members":{"CodeRepositoryName":{},"GitConfig":{"shape":"S5t"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["CodeRepositoryArn"],"members":{"CodeRepositoryArn":{}}}},"CreateCompilationJob":{"input":{"type":"structure","required":["CompilationJobName","RoleArn","OutputConfig","StoppingCondition"],"members":{"CompilationJobName":{},"RoleArn":{},"ModelPackageVersionArn":{},"InputConfig":{"shape":"S60"},"OutputConfig":{"shape":"S62"},"VpcConfig":{"shape":"S69"},"StoppingCondition":{"shape":"S3h"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["CompilationJobArn"],"members":{"CompilationJobArn":{}}}},"CreateContext":{"input":{"type":"structure","required":["ContextName","Source","ContextType"],"members":{"ContextName":{},"Source":{"shape":"S6h"},"ContextType":{},"Description":{},"Properties":{"shape":"S1o"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ContextArn":{}}}},"CreateDataQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName","DataQualityAppSpecification","DataQualityJobInput","DataQualityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionName":{},"DataQualityBaselineConfig":{"shape":"S6m"},"DataQualityAppSpecification":{"shape":"S6q"},"DataQualityJobInput":{"shape":"S6z"},"DataQualityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobDefinitionArn"],"members":{"JobDefinitionArn":{}}}},"CreateDeviceFleet":{"input":{"type":"structure","required":["DeviceFleetName","OutputConfig"],"members":{"DeviceFleetName":{},"RoleArn":{},"Description":{},"OutputConfig":{"shape":"S7o"},"Tags":{"shape":"S7"},"EnableIotRoleAlias":{"type":"boolean"}}}},"CreateDomain":{"input":{"type":"structure","required":["DomainName","AuthMode","DefaultUserSettings","SubnetIds","VpcId"],"members":{"DomainName":{},"AuthMode":{},"DefaultUserSettings":{"shape":"S7u"},"SubnetIds":{"shape":"S5k"},"VpcId":{},"Tags":{"shape":"S7"},"AppNetworkAccessType":{},"HomeEfsFileSystemKmsKeyId":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use KmsKeyId instead."},"KmsKeyId":{},"AppSecurityGroupManagement":{},"DomainSettings":{"shape":"S8d"}}},"output":{"type":"structure","members":{"DomainArn":{},"Url":{}}}},"CreateEdgePackagingJob":{"input":{"type":"structure","required":["EdgePackagingJobName","CompilationJobName","ModelName","ModelVersion","RoleArn","OutputConfig"],"members":{"EdgePackagingJobName":{},"CompilationJobName":{},"ModelName":{},"ModelVersion":{},"RoleArn":{},"OutputConfig":{"shape":"S7o"},"ResourceKey":{},"Tags":{"shape":"S7"}}}},"CreateEndpoint":{"input":{"type":"structure","required":["EndpointName","EndpointConfigName"],"members":{"EndpointName":{},"EndpointConfigName":{},"DeploymentConfig":{"shape":"S8n"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}}},"CreateEndpointConfig":{"input":{"type":"structure","required":["EndpointConfigName","ProductionVariants"],"members":{"EndpointConfigName":{},"ProductionVariants":{"shape":"S94"},"DataCaptureConfig":{"shape":"S9g"},"Tags":{"shape":"S7"},"KmsKeyId":{},"AsyncInferenceConfig":{"shape":"S9r"}}},"output":{"type":"structure","required":["EndpointConfigArn"],"members":{"EndpointConfigArn":{}}}},"CreateExperiment":{"input":{"type":"structure","required":["ExperimentName"],"members":{"ExperimentName":{},"DisplayName":{},"Description":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ExperimentArn":{}}}},"CreateFeatureGroup":{"input":{"type":"structure","required":["FeatureGroupName","RecordIdentifierFeatureName","EventTimeFeatureName","FeatureDefinitions"],"members":{"FeatureGroupName":{},"RecordIdentifierFeatureName":{},"EventTimeFeatureName":{},"FeatureDefinitions":{"shape":"Sa5"},"OnlineStoreConfig":{"shape":"Sa8"},"OfflineStoreConfig":{"shape":"Saa"},"RoleArn":{},"Description":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["FeatureGroupArn"],"members":{"FeatureGroupArn":{}}}},"CreateFlowDefinition":{"input":{"type":"structure","required":["FlowDefinitionName","HumanLoopConfig","OutputConfig","RoleArn"],"members":{"FlowDefinitionName":{},"HumanLoopRequestSource":{"shape":"Sal"},"HumanLoopActivationConfig":{"shape":"San"},"HumanLoopConfig":{"shape":"Saq"},"OutputConfig":{"shape":"Sb5"},"RoleArn":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["FlowDefinitionArn"],"members":{"FlowDefinitionArn":{}}}},"CreateHumanTaskUi":{"input":{"type":"structure","required":["HumanTaskUiName","UiTemplate"],"members":{"HumanTaskUiName":{},"UiTemplate":{"shape":"Sba"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["HumanTaskUiArn"],"members":{"HumanTaskUiArn":{}}}},"CreateHyperParameterTuningJob":{"input":{"type":"structure","required":["HyperParameterTuningJobName","HyperParameterTuningJobConfig"],"members":{"HyperParameterTuningJobName":{},"HyperParameterTuningJobConfig":{"shape":"Sbf"},"TrainingJobDefinition":{"shape":"Sbw"},"TrainingJobDefinitions":{"shape":"Sc4"},"WarmStartConfig":{"shape":"Sc5"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["HyperParameterTuningJobArn"],"members":{"HyperParameterTuningJobArn":{}}}},"CreateImage":{"input":{"type":"structure","required":["ImageName","RoleArn"],"members":{"Description":{},"DisplayName":{},"ImageName":{},"RoleArn":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"ImageArn":{}}}},"CreateImageVersion":{"input":{"type":"structure","required":["BaseImage","ClientToken","ImageName"],"members":{"BaseImage":{},"ClientToken":{"idempotencyToken":true},"ImageName":{}}},"output":{"type":"structure","members":{"ImageVersionArn":{}}}},"CreateInferenceRecommendationsJob":{"input":{"type":"structure","required":["JobName","JobType","RoleArn","InputConfig"],"members":{"JobName":{},"JobType":{},"RoleArn":{},"InputConfig":{"shape":"Scm"},"JobDescription":{},"StoppingConditions":{"shape":"Sd8"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobArn"],"members":{"JobArn":{}}}},"CreateLabelingJob":{"input":{"type":"structure","required":["LabelingJobName","LabelAttributeName","InputConfig","OutputConfig","RoleArn","HumanTaskConfig"],"members":{"LabelingJobName":{},"LabelAttributeName":{},"InputConfig":{"shape":"Sdh"},"OutputConfig":{"shape":"Sdo"},"RoleArn":{},"LabelCategoryConfigS3Uri":{},"StoppingConditions":{"shape":"Sdp"},"LabelingJobAlgorithmsConfig":{"shape":"Sds"},"HumanTaskConfig":{"shape":"Sdw"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["LabelingJobArn"],"members":{"LabelingJobArn":{}}}},"CreateModel":{"input":{"type":"structure","required":["ModelName","ExecutionRoleArn"],"members":{"ModelName":{},"PrimaryContainer":{"shape":"Seb"},"Containers":{"shape":"Sek"},"InferenceExecutionConfig":{"shape":"Sel"},"ExecutionRoleArn":{},"Tags":{"shape":"S7"},"VpcConfig":{"shape":"S5h"},"EnableNetworkIsolation":{"type":"boolean"}}},"output":{"type":"structure","required":["ModelArn"],"members":{"ModelArn":{}}}},"CreateModelBiasJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName","ModelBiasAppSpecification","ModelBiasJobInput","ModelBiasJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionName":{},"ModelBiasBaselineConfig":{"shape":"Sep"},"ModelBiasAppSpecification":{"shape":"Seq"},"ModelBiasJobInput":{"shape":"Ser"},"ModelBiasJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobDefinitionArn"],"members":{"JobDefinitionArn":{}}}},"CreateModelExplainabilityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName","ModelExplainabilityAppSpecification","ModelExplainabilityJobInput","ModelExplainabilityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionName":{},"ModelExplainabilityBaselineConfig":{"shape":"Sev"},"ModelExplainabilityAppSpecification":{"shape":"Sew"},"ModelExplainabilityJobInput":{"shape":"Sex"},"ModelExplainabilityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobDefinitionArn"],"members":{"JobDefinitionArn":{}}}},"CreateModelPackage":{"input":{"type":"structure","members":{"ModelPackageName":{},"ModelPackageGroupName":{},"ModelPackageDescription":{},"InferenceSpecification":{"shape":"Sr"},"ValidationSpecification":{"shape":"Sf0"},"SourceAlgorithmSpecification":{"shape":"Sf3"},"CertifyForMarketplace":{"type":"boolean"},"Tags":{"shape":"S7"},"ModelApprovalStatus":{},"MetadataProperties":{"shape":"S1q"},"ModelMetrics":{"shape":"Sf6"},"ClientToken":{"idempotencyToken":true},"CustomerMetadataProperties":{"shape":"Sfd"},"DriftCheckBaselines":{"shape":"Sfg"},"Domain":{},"Task":{},"SamplePayloadUrl":{},"AdditionalInferenceSpecifications":{"shape":"Sfm"}}},"output":{"type":"structure","required":["ModelPackageArn"],"members":{"ModelPackageArn":{}}}},"CreateModelPackageGroup":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{},"ModelPackageGroupDescription":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["ModelPackageGroupArn"],"members":{"ModelPackageGroupArn":{}}}},"CreateModelQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName","ModelQualityAppSpecification","ModelQualityJobInput","ModelQualityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionName":{},"ModelQualityBaselineConfig":{"shape":"Sft"},"ModelQualityAppSpecification":{"shape":"Sfu"},"ModelQualityJobInput":{"shape":"Sfw"},"ModelQualityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["JobDefinitionArn"],"members":{"JobDefinitionArn":{}}}},"CreateMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName","MonitoringScheduleConfig"],"members":{"MonitoringScheduleName":{},"MonitoringScheduleConfig":{"shape":"Sg0"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["MonitoringScheduleArn"],"members":{"MonitoringScheduleArn":{}}}},"CreateNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName","InstanceType","RoleArn"],"members":{"NotebookInstanceName":{},"InstanceType":{},"SubnetId":{},"SecurityGroupIds":{"shape":"S7v"},"RoleArn":{},"KmsKeyId":{},"Tags":{"shape":"S7"},"LifecycleConfigName":{},"DirectInternetAccess":{},"VolumeSizeInGB":{"type":"integer"},"AcceleratorTypes":{"shape":"Sgi"},"DefaultCodeRepository":{},"AdditionalCodeRepositories":{"shape":"Sgl"},"RootAccess":{},"PlatformIdentifier":{}}},"output":{"type":"structure","members":{"NotebookInstanceArn":{}}}},"CreateNotebookInstanceLifecycleConfig":{"input":{"type":"structure","required":["NotebookInstanceLifecycleConfigName"],"members":{"NotebookInstanceLifecycleConfigName":{},"OnCreate":{"shape":"Sgr"},"OnStart":{"shape":"Sgr"}}},"output":{"type":"structure","members":{"NotebookInstanceLifecycleConfigArn":{}}}},"CreatePipeline":{"input":{"type":"structure","required":["PipelineName","ClientRequestToken","RoleArn"],"members":{"PipelineName":{},"PipelineDisplayName":{},"PipelineDefinition":{},"PipelineDefinitionS3Location":{"shape":"Sgz"},"PipelineDescription":{},"ClientRequestToken":{"idempotencyToken":true},"RoleArn":{},"Tags":{"shape":"S7"},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineArn":{}}}},"CreatePresignedDomainUrl":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{},"SessionExpirationDurationInSeconds":{"type":"integer"},"ExpiresInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"AuthorizedUrl":{}}}},"CreatePresignedNotebookInstanceUrl":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{},"SessionExpirationDurationInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"AuthorizedUrl":{}}}},"CreateProcessingJob":{"input":{"type":"structure","required":["ProcessingJobName","ProcessingResources","AppSpecification","RoleArn"],"members":{"ProcessingInputs":{"shape":"Shi"},"ProcessingOutputConfig":{"shape":"Si5"},"ProcessingJobName":{},"ProcessingResources":{"shape":"Sia"},"StoppingCondition":{"shape":"Sic"},"AppSpecification":{"shape":"Sie"},"Environment":{"shape":"Sig"},"NetworkConfig":{"shape":"Sg8"},"RoleArn":{},"Tags":{"shape":"S7"},"ExperimentConfig":{"shape":"Sih"}}},"output":{"type":"structure","required":["ProcessingJobArn"],"members":{"ProcessingJobArn":{}}}},"CreateProject":{"input":{"type":"structure","required":["ProjectName","ServiceCatalogProvisioningDetails"],"members":{"ProjectName":{},"ProjectDescription":{},"ServiceCatalogProvisioningDetails":{"shape":"Sim"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["ProjectArn","ProjectId"],"members":{"ProjectArn":{},"ProjectId":{}}}},"CreateStudioLifecycleConfig":{"input":{"type":"structure","required":["StudioLifecycleConfigName","StudioLifecycleConfigContent","StudioLifecycleConfigAppType"],"members":{"StudioLifecycleConfigName":{},"StudioLifecycleConfigContent":{},"StudioLifecycleConfigAppType":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"StudioLifecycleConfigArn":{}}}},"CreateTrainingJob":{"input":{"type":"structure","required":["TrainingJobName","AlgorithmSpecification","RoleArn","OutputDataConfig","ResourceConfig","StoppingCondition"],"members":{"TrainingJobName":{},"HyperParameters":{"shape":"S2t"},"AlgorithmSpecification":{"shape":"Sj2"},"RoleArn":{},"InputDataConfig":{"shape":"S2v"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"VpcConfig":{"shape":"S5h"},"StoppingCondition":{"shape":"S3h"},"Tags":{"shape":"S7"},"EnableNetworkIsolation":{"type":"boolean"},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableManagedSpotTraining":{"type":"boolean"},"CheckpointConfig":{"shape":"Sc1"},"DebugHookConfig":{"shape":"Sj3"},"DebugRuleConfigurations":{"shape":"Sjb"},"TensorBoardOutputConfig":{"shape":"Sjg"},"ExperimentConfig":{"shape":"Sih"},"ProfilerConfig":{"shape":"Sjh"},"ProfilerRuleConfigurations":{"shape":"Sjk"},"Environment":{"shape":"Sjm"},"RetryStrategy":{"shape":"Sc2"}}},"output":{"type":"structure","required":["TrainingJobArn"],"members":{"TrainingJobArn":{}}}},"CreateTransformJob":{"input":{"type":"structure","required":["TransformJobName","ModelName","TransformInput","TransformOutput","TransformResources"],"members":{"TransformJobName":{},"ModelName":{},"MaxConcurrentTransforms":{"type":"integer"},"ModelClientConfig":{"shape":"Sjt"},"MaxPayloadInMB":{"type":"integer"},"BatchStrategy":{},"Environment":{"shape":"S3o"},"TransformInput":{"shape":"S3r"},"TransformOutput":{"shape":"S3v"},"TransformResources":{"shape":"S3y"},"DataProcessing":{"shape":"Sjw"},"Tags":{"shape":"S7"},"ExperimentConfig":{"shape":"Sih"}}},"output":{"type":"structure","required":["TransformJobArn"],"members":{"TransformJobArn":{}}}},"CreateTrial":{"input":{"type":"structure","required":["TrialName","ExperimentName"],"members":{"TrialName":{},"DisplayName":{},"ExperimentName":{},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"TrialArn":{}}}},"CreateTrialComponent":{"input":{"type":"structure","required":["TrialComponentName"],"members":{"TrialComponentName":{},"DisplayName":{},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Parameters":{"shape":"Sk8"},"InputArtifacts":{"shape":"Skc"},"OutputArtifacts":{"shape":"Skc"},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"TrialComponentArn":{}}}},"CreateUserProfile":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{},"SingleSignOnUserIdentifier":{},"SingleSignOnUserValue":{},"Tags":{"shape":"S7"},"UserSettings":{"shape":"S7u"}}},"output":{"type":"structure","members":{"UserProfileArn":{}}}},"CreateWorkforce":{"input":{"type":"structure","required":["WorkforceName"],"members":{"CognitoConfig":{"shape":"Skn"},"OidcConfig":{"shape":"Skq"},"SourceIpConfig":{"shape":"Skt"},"WorkforceName":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["WorkforceArn"],"members":{"WorkforceArn":{}}}},"CreateWorkteam":{"input":{"type":"structure","required":["WorkteamName","MemberDefinitions","Description"],"members":{"WorkteamName":{},"WorkforceName":{},"MemberDefinitions":{"shape":"Sl1"},"Description":{},"NotificationConfiguration":{"shape":"Sl9"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"WorkteamArn":{}}}},"DeleteAction":{"input":{"type":"structure","required":["ActionName"],"members":{"ActionName":{}}},"output":{"type":"structure","members":{"ActionArn":{}}}},"DeleteAlgorithm":{"input":{"type":"structure","required":["AlgorithmName"],"members":{"AlgorithmName":{}}}},"DeleteApp":{"input":{"type":"structure","required":["DomainId","UserProfileName","AppType","AppName"],"members":{"DomainId":{},"UserProfileName":{},"AppType":{},"AppName":{}}}},"DeleteAppImageConfig":{"input":{"type":"structure","required":["AppImageConfigName"],"members":{"AppImageConfigName":{}}}},"DeleteArtifact":{"input":{"type":"structure","members":{"ArtifactArn":{},"Source":{"shape":"S4t"}}},"output":{"type":"structure","members":{"ArtifactArn":{}}}},"DeleteAssociation":{"input":{"type":"structure","required":["SourceArn","DestinationArn"],"members":{"SourceArn":{},"DestinationArn":{}}},"output":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{}}}},"DeleteCodeRepository":{"input":{"type":"structure","required":["CodeRepositoryName"],"members":{"CodeRepositoryName":{}}}},"DeleteContext":{"input":{"type":"structure","required":["ContextName"],"members":{"ContextName":{}}},"output":{"type":"structure","members":{"ContextArn":{}}}},"DeleteDataQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}}},"DeleteDeviceFleet":{"input":{"type":"structure","required":["DeviceFleetName"],"members":{"DeviceFleetName":{}}}},"DeleteDomain":{"input":{"type":"structure","required":["DomainId"],"members":{"DomainId":{},"RetentionPolicy":{"type":"structure","members":{"HomeEfsFileSystem":{}}}}}},"DeleteEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{}}}},"DeleteEndpointConfig":{"input":{"type":"structure","required":["EndpointConfigName"],"members":{"EndpointConfigName":{}}}},"DeleteExperiment":{"input":{"type":"structure","required":["ExperimentName"],"members":{"ExperimentName":{}}},"output":{"type":"structure","members":{"ExperimentArn":{}}}},"DeleteFeatureGroup":{"input":{"type":"structure","required":["FeatureGroupName"],"members":{"FeatureGroupName":{}}}},"DeleteFlowDefinition":{"input":{"type":"structure","required":["FlowDefinitionName"],"members":{"FlowDefinitionName":{}}},"output":{"type":"structure","members":{}}},"DeleteHumanTaskUi":{"input":{"type":"structure","required":["HumanTaskUiName"],"members":{"HumanTaskUiName":{}}},"output":{"type":"structure","members":{}}},"DeleteImage":{"input":{"type":"structure","required":["ImageName"],"members":{"ImageName":{}}},"output":{"type":"structure","members":{}}},"DeleteImageVersion":{"input":{"type":"structure","required":["ImageName","Version"],"members":{"ImageName":{},"Version":{"type":"integer"}}},"output":{"type":"structure","members":{}}},"DeleteModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}}},"DeleteModelBiasJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}}},"DeleteModelExplainabilityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}}},"DeleteModelPackage":{"input":{"type":"structure","required":["ModelPackageName"],"members":{"ModelPackageName":{}}}},"DeleteModelPackageGroup":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{}}}},"DeleteModelPackageGroupPolicy":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{}}}},"DeleteModelQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}}},"DeleteMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName"],"members":{"MonitoringScheduleName":{}}}},"DeleteNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{}}}},"DeleteNotebookInstanceLifecycleConfig":{"input":{"type":"structure","required":["NotebookInstanceLifecycleConfigName"],"members":{"NotebookInstanceLifecycleConfigName":{}}}},"DeletePipeline":{"input":{"type":"structure","required":["PipelineName","ClientRequestToken"],"members":{"PipelineName":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PipelineArn":{}}}},"DeleteProject":{"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{}}}},"DeleteStudioLifecycleConfig":{"input":{"type":"structure","required":["StudioLifecycleConfigName"],"members":{"StudioLifecycleConfigName":{}}}},"DeleteTags":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteTrial":{"input":{"type":"structure","required":["TrialName"],"members":{"TrialName":{}}},"output":{"type":"structure","members":{"TrialArn":{}}}},"DeleteTrialComponent":{"input":{"type":"structure","required":["TrialComponentName"],"members":{"TrialComponentName":{}}},"output":{"type":"structure","members":{"TrialComponentArn":{}}}},"DeleteUserProfile":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{}}}},"DeleteWorkforce":{"input":{"type":"structure","required":["WorkforceName"],"members":{"WorkforceName":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkteam":{"input":{"type":"structure","required":["WorkteamName"],"members":{"WorkteamName":{}}},"output":{"type":"structure","required":["Success"],"members":{"Success":{"type":"boolean"}}}},"DeregisterDevices":{"input":{"type":"structure","required":["DeviceFleetName","DeviceNames"],"members":{"DeviceFleetName":{},"DeviceNames":{"type":"list","member":{}}}}},"DescribeAction":{"input":{"type":"structure","required":["ActionName"],"members":{"ActionName":{}}},"output":{"type":"structure","members":{"ActionName":{},"ActionArn":{},"Source":{"shape":"S1j"},"ActionType":{},"Description":{},"Status":{},"Properties":{"shape":"S1o"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"LineageGroupArn":{}}}},"DescribeAlgorithm":{"input":{"type":"structure","required":["AlgorithmName"],"members":{"AlgorithmName":{}}},"output":{"type":"structure","required":["AlgorithmName","AlgorithmArn","CreationTime","TrainingSpecification","AlgorithmStatus","AlgorithmStatusDetails"],"members":{"AlgorithmName":{},"AlgorithmArn":{},"AlgorithmDescription":{},"CreationTime":{"type":"timestamp"},"TrainingSpecification":{"shape":"S1v"},"InferenceSpecification":{"shape":"Sr"},"ValidationSpecification":{"shape":"S2o"},"AlgorithmStatus":{},"AlgorithmStatusDetails":{"type":"structure","members":{"ValidationStatuses":{"shape":"Sn9"},"ImageScanStatuses":{"shape":"Sn9"}}},"ProductId":{},"CertifyForMarketplace":{"type":"boolean"}}}},"DescribeApp":{"input":{"type":"structure","required":["DomainId","UserProfileName","AppType","AppName"],"members":{"DomainId":{},"UserProfileName":{},"AppType":{},"AppName":{}}},"output":{"type":"structure","members":{"AppArn":{},"AppType":{},"AppName":{},"DomainId":{},"UserProfileName":{},"Status":{},"LastHealthCheckTimestamp":{"type":"timestamp"},"LastUserActivityTimestamp":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"FailureReason":{},"ResourceSpec":{"shape":"S48"}}}},"DescribeAppImageConfig":{"input":{"type":"structure","required":["AppImageConfigName"],"members":{"AppImageConfigName":{}}},"output":{"type":"structure","members":{"AppImageConfigArn":{},"AppImageConfigName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"KernelGatewayImageConfig":{"shape":"S4h"}}}},"DescribeArtifact":{"input":{"type":"structure","required":["ArtifactArn"],"members":{"ArtifactArn":{}}},"output":{"type":"structure","members":{"ArtifactName":{},"ArtifactArn":{},"Source":{"shape":"S4t"},"ArtifactType":{},"Properties":{"shape":"S1o"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"LineageGroupArn":{}}}},"DescribeAutoMLJob":{"input":{"type":"structure","required":["AutoMLJobName"],"members":{"AutoMLJobName":{}}},"output":{"type":"structure","required":["AutoMLJobName","AutoMLJobArn","InputDataConfig","OutputDataConfig","RoleArn","CreationTime","LastModifiedTime","AutoMLJobStatus","AutoMLJobSecondaryStatus"],"members":{"AutoMLJobName":{},"AutoMLJobArn":{},"InputDataConfig":{"shape":"S51"},"OutputDataConfig":{"shape":"S57"},"RoleArn":{},"AutoMLJobObjective":{"shape":"S59"},"ProblemType":{},"AutoMLJobConfig":{"shape":"S5b"},"CreationTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"PartialFailureReasons":{"shape":"Snn"},"BestCandidate":{"shape":"Snp"},"AutoMLJobStatus":{},"AutoMLJobSecondaryStatus":{},"GenerateCandidateDefinitionsOnly":{"type":"boolean"},"AutoMLJobArtifacts":{"type":"structure","members":{"CandidateDefinitionNotebookLocation":{},"DataExplorationNotebookLocation":{}}},"ResolvedAttributes":{"type":"structure","members":{"AutoMLJobObjective":{"shape":"S59"},"ProblemType":{},"CompletionCriteria":{"shape":"S5c"}}},"ModelDeployConfig":{"shape":"S5n"},"ModelDeployResult":{"type":"structure","members":{"EndpointName":{}}}}}},"DescribeCodeRepository":{"input":{"type":"structure","required":["CodeRepositoryName"],"members":{"CodeRepositoryName":{}}},"output":{"type":"structure","required":["CodeRepositoryName","CodeRepositoryArn","CreationTime","LastModifiedTime"],"members":{"CodeRepositoryName":{},"CodeRepositoryArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"GitConfig":{"shape":"S5t"}}}},"DescribeCompilationJob":{"input":{"type":"structure","required":["CompilationJobName"],"members":{"CompilationJobName":{}}},"output":{"type":"structure","required":["CompilationJobName","CompilationJobArn","CompilationJobStatus","StoppingCondition","CreationTime","LastModifiedTime","FailureReason","ModelArtifacts","RoleArn","InputConfig","OutputConfig"],"members":{"CompilationJobName":{},"CompilationJobArn":{},"CompilationJobStatus":{},"CompilationStartTime":{"type":"timestamp"},"CompilationEndTime":{"type":"timestamp"},"StoppingCondition":{"shape":"S3h"},"InferenceImage":{},"ModelPackageVersionArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"ModelArtifacts":{"shape":"Sop"},"ModelDigests":{"type":"structure","members":{"ArtifactDigest":{}}},"RoleArn":{},"InputConfig":{"shape":"S60"},"OutputConfig":{"shape":"S62"},"VpcConfig":{"shape":"S69"}}}},"DescribeContext":{"input":{"type":"structure","required":["ContextName"],"members":{"ContextName":{}}},"output":{"type":"structure","members":{"ContextName":{},"ContextArn":{},"Source":{"shape":"S6h"},"ContextType":{},"Description":{},"Properties":{"shape":"S1o"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"LineageGroupArn":{}}}},"DescribeDataQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}},"output":{"type":"structure","required":["JobDefinitionArn","JobDefinitionName","CreationTime","DataQualityAppSpecification","DataQualityJobInput","DataQualityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionArn":{},"JobDefinitionName":{},"CreationTime":{"type":"timestamp"},"DataQualityBaselineConfig":{"shape":"S6m"},"DataQualityAppSpecification":{"shape":"S6q"},"DataQualityJobInput":{"shape":"S6z"},"DataQualityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"}}}},"DescribeDevice":{"input":{"type":"structure","required":["DeviceName","DeviceFleetName"],"members":{"NextToken":{},"DeviceName":{},"DeviceFleetName":{}}},"output":{"type":"structure","required":["DeviceName","DeviceFleetName","RegistrationTime"],"members":{"DeviceArn":{},"DeviceName":{},"Description":{},"DeviceFleetName":{},"IotThingName":{},"RegistrationTime":{"type":"timestamp"},"LatestHeartbeat":{"type":"timestamp"},"Models":{"type":"list","member":{"type":"structure","required":["ModelName","ModelVersion"],"members":{"ModelName":{},"ModelVersion":{},"LatestSampleTime":{"type":"timestamp"},"LatestInference":{"type":"timestamp"}}}},"MaxModels":{"type":"integer"},"NextToken":{},"AgentVersion":{}}}},"DescribeDeviceFleet":{"input":{"type":"structure","required":["DeviceFleetName"],"members":{"DeviceFleetName":{}}},"output":{"type":"structure","required":["DeviceFleetName","DeviceFleetArn","OutputConfig","CreationTime","LastModifiedTime"],"members":{"DeviceFleetName":{},"DeviceFleetArn":{},"OutputConfig":{"shape":"S7o"},"Description":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"RoleArn":{},"IotRoleAlias":{}}}},"DescribeDomain":{"input":{"type":"structure","required":["DomainId"],"members":{"DomainId":{}}},"output":{"type":"structure","members":{"DomainArn":{},"DomainId":{},"DomainName":{},"HomeEfsFileSystemId":{},"SingleSignOnManagedApplicationInstanceId":{},"Status":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"AuthMode":{},"DefaultUserSettings":{"shape":"S7u"},"AppNetworkAccessType":{},"HomeEfsFileSystemKmsKeyId":{"deprecated":true,"deprecatedMessage":"This property is deprecated, use KmsKeyId instead."},"SubnetIds":{"shape":"S5k"},"Url":{},"VpcId":{},"KmsKeyId":{},"DomainSettings":{"shape":"S8d"},"AppSecurityGroupManagement":{},"SecurityGroupIdForDomainBoundary":{}}}},"DescribeEdgePackagingJob":{"input":{"type":"structure","required":["EdgePackagingJobName"],"members":{"EdgePackagingJobName":{}}},"output":{"type":"structure","required":["EdgePackagingJobArn","EdgePackagingJobName","EdgePackagingJobStatus"],"members":{"EdgePackagingJobArn":{},"EdgePackagingJobName":{},"CompilationJobName":{},"ModelName":{},"ModelVersion":{},"RoleArn":{},"OutputConfig":{"shape":"S7o"},"ResourceKey":{},"EdgePackagingJobStatus":{},"EdgePackagingJobStatusMessage":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"ModelArtifact":{},"ModelSignature":{},"PresetDeploymentOutput":{"type":"structure","required":["Type"],"members":{"Type":{},"Artifact":{},"Status":{},"StatusMessage":{}}}}}},"DescribeEndpoint":{"input":{"type":"structure","required":["EndpointName"],"members":{"EndpointName":{}}},"output":{"type":"structure","required":["EndpointName","EndpointArn","EndpointConfigName","EndpointStatus","CreationTime","LastModifiedTime"],"members":{"EndpointName":{},"EndpointArn":{},"EndpointConfigName":{},"ProductionVariants":{"shape":"Spl"},"DataCaptureConfig":{"shape":"Spu"},"EndpointStatus":{},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastDeploymentConfig":{"shape":"S8n"},"AsyncInferenceConfig":{"shape":"S9r"},"PendingDeploymentSummary":{"type":"structure","required":["EndpointConfigName"],"members":{"EndpointConfigName":{},"ProductionVariants":{"type":"list","member":{"type":"structure","required":["VariantName"],"members":{"VariantName":{},"DeployedImages":{"shape":"Spn"},"CurrentWeight":{"type":"float"},"DesiredWeight":{"type":"float"},"CurrentInstanceCount":{"type":"integer"},"DesiredInstanceCount":{"type":"integer"},"InstanceType":{},"AcceleratorType":{},"VariantStatus":{"shape":"Spq"},"CurrentServerlessConfig":{"shape":"S9d"},"DesiredServerlessConfig":{"shape":"S9d"}}}},"StartTime":{"type":"timestamp"}}}}}},"DescribeEndpointConfig":{"input":{"type":"structure","required":["EndpointConfigName"],"members":{"EndpointConfigName":{}}},"output":{"type":"structure","required":["EndpointConfigName","EndpointConfigArn","ProductionVariants","CreationTime"],"members":{"EndpointConfigName":{},"EndpointConfigArn":{},"ProductionVariants":{"shape":"S94"},"DataCaptureConfig":{"shape":"S9g"},"KmsKeyId":{},"CreationTime":{"type":"timestamp"},"AsyncInferenceConfig":{"shape":"S9r"}}}},"DescribeExperiment":{"input":{"type":"structure","required":["ExperimentName"],"members":{"ExperimentName":{}}},"output":{"type":"structure","members":{"ExperimentName":{},"ExperimentArn":{},"DisplayName":{},"Source":{"shape":"Sq4"},"Description":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}},"DescribeFeatureGroup":{"input":{"type":"structure","required":["FeatureGroupName"],"members":{"FeatureGroupName":{},"NextToken":{}}},"output":{"type":"structure","required":["FeatureGroupArn","FeatureGroupName","RecordIdentifierFeatureName","EventTimeFeatureName","FeatureDefinitions","CreationTime","NextToken"],"members":{"FeatureGroupArn":{},"FeatureGroupName":{},"RecordIdentifierFeatureName":{},"EventTimeFeatureName":{},"FeatureDefinitions":{"shape":"Sa5"},"CreationTime":{"type":"timestamp"},"OnlineStoreConfig":{"shape":"Sa8"},"OfflineStoreConfig":{"shape":"Saa"},"RoleArn":{},"FeatureGroupStatus":{},"OfflineStoreStatus":{"shape":"Sqa"},"FailureReason":{},"Description":{},"NextToken":{}}}},"DescribeFlowDefinition":{"input":{"type":"structure","required":["FlowDefinitionName"],"members":{"FlowDefinitionName":{}}},"output":{"type":"structure","required":["FlowDefinitionArn","FlowDefinitionName","FlowDefinitionStatus","CreationTime","HumanLoopConfig","OutputConfig","RoleArn"],"members":{"FlowDefinitionArn":{},"FlowDefinitionName":{},"FlowDefinitionStatus":{},"CreationTime":{"type":"timestamp"},"HumanLoopRequestSource":{"shape":"Sal"},"HumanLoopActivationConfig":{"shape":"San"},"HumanLoopConfig":{"shape":"Saq"},"OutputConfig":{"shape":"Sb5"},"RoleArn":{},"FailureReason":{}}}},"DescribeHumanTaskUi":{"input":{"type":"structure","required":["HumanTaskUiName"],"members":{"HumanTaskUiName":{}}},"output":{"type":"structure","required":["HumanTaskUiArn","HumanTaskUiName","CreationTime","UiTemplate"],"members":{"HumanTaskUiArn":{},"HumanTaskUiName":{},"HumanTaskUiStatus":{},"CreationTime":{"type":"timestamp"},"UiTemplate":{"type":"structure","members":{"Url":{},"ContentSha256":{}}}}}},"DescribeHyperParameterTuningJob":{"input":{"type":"structure","required":["HyperParameterTuningJobName"],"members":{"HyperParameterTuningJobName":{}}},"output":{"type":"structure","required":["HyperParameterTuningJobName","HyperParameterTuningJobArn","HyperParameterTuningJobConfig","HyperParameterTuningJobStatus","CreationTime","TrainingJobStatusCounters","ObjectiveStatusCounters"],"members":{"HyperParameterTuningJobName":{},"HyperParameterTuningJobArn":{},"HyperParameterTuningJobConfig":{"shape":"Sbf"},"TrainingJobDefinition":{"shape":"Sbw"},"TrainingJobDefinitions":{"shape":"Sc4"},"HyperParameterTuningJobStatus":{},"CreationTime":{"type":"timestamp"},"HyperParameterTuningEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"TrainingJobStatusCounters":{"shape":"Sqp"},"ObjectiveStatusCounters":{"shape":"Sqr"},"BestTrainingJob":{"shape":"Sqt"},"OverallBestTrainingJob":{"shape":"Sqt"},"WarmStartConfig":{"shape":"Sc5"},"FailureReason":{}}}},"DescribeImage":{"input":{"type":"structure","required":["ImageName"],"members":{"ImageName":{}}},"output":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"Description":{},"DisplayName":{},"FailureReason":{},"ImageArn":{},"ImageName":{},"ImageStatus":{},"LastModifiedTime":{"type":"timestamp"},"RoleArn":{}}}},"DescribeImageVersion":{"input":{"type":"structure","required":["ImageName"],"members":{"ImageName":{},"Version":{"type":"integer"}}},"output":{"type":"structure","members":{"BaseImage":{},"ContainerImage":{},"CreationTime":{"type":"timestamp"},"FailureReason":{},"ImageArn":{},"ImageVersionArn":{},"ImageVersionStatus":{},"LastModifiedTime":{"type":"timestamp"},"Version":{"type":"integer"}}}},"DescribeInferenceRecommendationsJob":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{}}},"output":{"type":"structure","required":["JobName","JobType","JobArn","RoleArn","Status","CreationTime","LastModifiedTime","InputConfig"],"members":{"JobName":{},"JobDescription":{},"JobType":{},"JobArn":{},"RoleArn":{},"Status":{},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"InputConfig":{"shape":"Scm"},"StoppingConditions":{"shape":"Sd8"},"InferenceRecommendations":{"type":"list","member":{"type":"structure","required":["Metrics","EndpointConfiguration","ModelConfiguration"],"members":{"Metrics":{"type":"structure","required":["CostPerHour","CostPerInference","MaxInvocations","ModelLatency"],"members":{"CostPerHour":{"type":"float"},"CostPerInference":{"type":"float"},"MaxInvocations":{"type":"integer"},"ModelLatency":{"type":"integer"}}},"EndpointConfiguration":{"type":"structure","required":["EndpointName","VariantName","InstanceType","InitialInstanceCount"],"members":{"EndpointName":{},"VariantName":{},"InstanceType":{},"InitialInstanceCount":{"type":"integer"}}},"ModelConfiguration":{"type":"structure","members":{"InferenceSpecificationName":{},"EnvironmentParameters":{"type":"list","member":{"type":"structure","required":["Key","ValueType","Value"],"members":{"Key":{},"ValueType":{},"Value":{}}}}}}}}}}}},"DescribeLabelingJob":{"input":{"type":"structure","required":["LabelingJobName"],"members":{"LabelingJobName":{}}},"output":{"type":"structure","required":["LabelingJobStatus","LabelCounters","CreationTime","LastModifiedTime","JobReferenceCode","LabelingJobName","LabelingJobArn","InputConfig","OutputConfig","RoleArn","HumanTaskConfig"],"members":{"LabelingJobStatus":{},"LabelCounters":{"shape":"Srg"},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"JobReferenceCode":{},"LabelingJobName":{},"LabelingJobArn":{},"LabelAttributeName":{},"InputConfig":{"shape":"Sdh"},"OutputConfig":{"shape":"Sdo"},"RoleArn":{},"LabelCategoryConfigS3Uri":{},"StoppingConditions":{"shape":"Sdp"},"LabelingJobAlgorithmsConfig":{"shape":"Sds"},"HumanTaskConfig":{"shape":"Sdw"},"Tags":{"shape":"S7"},"LabelingJobOutput":{"shape":"Srj"}}}},"DescribeLineageGroup":{"input":{"type":"structure","required":["LineageGroupName"],"members":{"LineageGroupName":{}}},"output":{"type":"structure","members":{"LineageGroupName":{},"LineageGroupArn":{},"DisplayName":{},"Description":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}},"DescribeModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}},"output":{"type":"structure","required":["ModelName","ExecutionRoleArn","CreationTime","ModelArn"],"members":{"ModelName":{},"PrimaryContainer":{"shape":"Seb"},"Containers":{"shape":"Sek"},"InferenceExecutionConfig":{"shape":"Sel"},"ExecutionRoleArn":{},"VpcConfig":{"shape":"S5h"},"CreationTime":{"type":"timestamp"},"ModelArn":{},"EnableNetworkIsolation":{"type":"boolean"}}}},"DescribeModelBiasJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}},"output":{"type":"structure","required":["JobDefinitionArn","JobDefinitionName","CreationTime","ModelBiasAppSpecification","ModelBiasJobInput","ModelBiasJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionArn":{},"JobDefinitionName":{},"CreationTime":{"type":"timestamp"},"ModelBiasBaselineConfig":{"shape":"Sep"},"ModelBiasAppSpecification":{"shape":"Seq"},"ModelBiasJobInput":{"shape":"Ser"},"ModelBiasJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"}}}},"DescribeModelExplainabilityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}},"output":{"type":"structure","required":["JobDefinitionArn","JobDefinitionName","CreationTime","ModelExplainabilityAppSpecification","ModelExplainabilityJobInput","ModelExplainabilityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionArn":{},"JobDefinitionName":{},"CreationTime":{"type":"timestamp"},"ModelExplainabilityBaselineConfig":{"shape":"Sev"},"ModelExplainabilityAppSpecification":{"shape":"Sew"},"ModelExplainabilityJobInput":{"shape":"Sex"},"ModelExplainabilityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"}}}},"DescribeModelPackage":{"input":{"type":"structure","required":["ModelPackageName"],"members":{"ModelPackageName":{}}},"output":{"type":"structure","required":["ModelPackageName","ModelPackageArn","CreationTime","ModelPackageStatus","ModelPackageStatusDetails"],"members":{"ModelPackageName":{},"ModelPackageGroupName":{},"ModelPackageVersion":{"type":"integer"},"ModelPackageArn":{},"ModelPackageDescription":{},"CreationTime":{"type":"timestamp"},"InferenceSpecification":{"shape":"Sr"},"SourceAlgorithmSpecification":{"shape":"Sf3"},"ValidationSpecification":{"shape":"Sf0"},"ModelPackageStatus":{},"ModelPackageStatusDetails":{"shape":"Sru"},"CertifyForMarketplace":{"type":"boolean"},"ModelApprovalStatus":{},"CreatedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"ModelMetrics":{"shape":"Sf6"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"ApprovalDescription":{},"CustomerMetadataProperties":{"shape":"Sfd"},"DriftCheckBaselines":{"shape":"Sfg"},"Domain":{},"Task":{},"SamplePayloadUrl":{},"AdditionalInferenceSpecifications":{"shape":"Sfm"}}}},"DescribeModelPackageGroup":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{}}},"output":{"type":"structure","required":["ModelPackageGroupName","ModelPackageGroupArn","CreationTime","CreatedBy","ModelPackageGroupStatus"],"members":{"ModelPackageGroupName":{},"ModelPackageGroupArn":{},"ModelPackageGroupDescription":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"ModelPackageGroupStatus":{}}}},"DescribeModelQualityJobDefinition":{"input":{"type":"structure","required":["JobDefinitionName"],"members":{"JobDefinitionName":{}}},"output":{"type":"structure","required":["JobDefinitionArn","JobDefinitionName","CreationTime","ModelQualityAppSpecification","ModelQualityJobInput","ModelQualityJobOutputConfig","JobResources","RoleArn"],"members":{"JobDefinitionArn":{},"JobDefinitionName":{},"CreationTime":{"type":"timestamp"},"ModelQualityBaselineConfig":{"shape":"Sft"},"ModelQualityAppSpecification":{"shape":"Sfu"},"ModelQualityJobInput":{"shape":"Sfw"},"ModelQualityJobOutputConfig":{"shape":"S76"},"JobResources":{"shape":"S7c"},"NetworkConfig":{"shape":"S7h"},"RoleArn":{},"StoppingCondition":{"shape":"S7i"}}}},"DescribeMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName"],"members":{"MonitoringScheduleName":{}}},"output":{"type":"structure","required":["MonitoringScheduleArn","MonitoringScheduleName","MonitoringScheduleStatus","CreationTime","LastModifiedTime","MonitoringScheduleConfig"],"members":{"MonitoringScheduleArn":{},"MonitoringScheduleName":{},"MonitoringScheduleStatus":{},"MonitoringType":{},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringScheduleConfig":{"shape":"Sg0"},"EndpointName":{},"LastMonitoringExecutionSummary":{"shape":"Ss7"}}}},"DescribeNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{}}},"output":{"type":"structure","members":{"NotebookInstanceArn":{},"NotebookInstanceName":{},"NotebookInstanceStatus":{},"FailureReason":{},"Url":{},"InstanceType":{},"SubnetId":{},"SecurityGroups":{"shape":"S7v"},"RoleArn":{},"KmsKeyId":{},"NetworkInterfaceId":{},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"NotebookInstanceLifecycleConfigName":{},"DirectInternetAccess":{},"VolumeSizeInGB":{"type":"integer"},"AcceleratorTypes":{"shape":"Sgi"},"DefaultCodeRepository":{},"AdditionalCodeRepositories":{"shape":"Sgl"},"RootAccess":{},"PlatformIdentifier":{}}}},"DescribeNotebookInstanceLifecycleConfig":{"input":{"type":"structure","required":["NotebookInstanceLifecycleConfigName"],"members":{"NotebookInstanceLifecycleConfigName":{}}},"output":{"type":"structure","members":{"NotebookInstanceLifecycleConfigArn":{},"NotebookInstanceLifecycleConfigName":{},"OnCreate":{"shape":"Sgr"},"OnStart":{"shape":"Sgr"},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"}}}},"DescribePipeline":{"input":{"type":"structure","required":["PipelineName"],"members":{"PipelineName":{}}},"output":{"type":"structure","members":{"PipelineArn":{},"PipelineName":{},"PipelineDisplayName":{},"PipelineDefinition":{},"PipelineDescription":{},"RoleArn":{},"PipelineStatus":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastRunTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedBy":{"shape":"Sn3"},"ParallelismConfiguration":{"shape":"Sh5"}}}},"DescribePipelineDefinitionForExecution":{"input":{"type":"structure","required":["PipelineExecutionArn"],"members":{"PipelineExecutionArn":{}}},"output":{"type":"structure","members":{"PipelineDefinition":{},"CreationTime":{"type":"timestamp"}}}},"DescribePipelineExecution":{"input":{"type":"structure","required":["PipelineExecutionArn"],"members":{"PipelineExecutionArn":{}}},"output":{"type":"structure","members":{"PipelineArn":{},"PipelineExecutionArn":{},"PipelineExecutionDisplayName":{},"PipelineExecutionStatus":{},"PipelineExecutionDescription":{},"PipelineExperimentConfig":{"shape":"Ssq"},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedBy":{"shape":"Sn3"},"ParallelismConfiguration":{"shape":"Sh5"}}}},"DescribeProcessingJob":{"input":{"type":"structure","required":["ProcessingJobName"],"members":{"ProcessingJobName":{}}},"output":{"type":"structure","required":["ProcessingJobName","ProcessingResources","AppSpecification","ProcessingJobArn","ProcessingJobStatus","CreationTime"],"members":{"ProcessingInputs":{"shape":"Shi"},"ProcessingOutputConfig":{"shape":"Si5"},"ProcessingJobName":{},"ProcessingResources":{"shape":"Sia"},"StoppingCondition":{"shape":"Sic"},"AppSpecification":{"shape":"Sie"},"Environment":{"shape":"Sig"},"NetworkConfig":{"shape":"Sg8"},"RoleArn":{},"ExperimentConfig":{"shape":"Sih"},"ProcessingJobArn":{},"ProcessingJobStatus":{},"ExitMessage":{},"FailureReason":{},"ProcessingEndTime":{"type":"timestamp"},"ProcessingStartTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"MonitoringScheduleArn":{},"AutoMLJobArn":{},"TrainingJobArn":{}}}},"DescribeProject":{"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{}}},"output":{"type":"structure","required":["ProjectArn","ProjectName","ProjectId","ServiceCatalogProvisioningDetails","ProjectStatus","CreationTime"],"members":{"ProjectArn":{},"ProjectName":{},"ProjectId":{},"ProjectDescription":{},"ServiceCatalogProvisioningDetails":{"shape":"Sim"},"ServiceCatalogProvisionedProductDetails":{"shape":"Ssy"},"ProjectStatus":{},"CreatedBy":{"shape":"Sn3"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}},"DescribeStudioLifecycleConfig":{"input":{"type":"structure","required":["StudioLifecycleConfigName"],"members":{"StudioLifecycleConfigName":{}}},"output":{"type":"structure","members":{"StudioLifecycleConfigArn":{},"StudioLifecycleConfigName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"StudioLifecycleConfigContent":{},"StudioLifecycleConfigAppType":{}}}},"DescribeSubscribedWorkteam":{"input":{"type":"structure","required":["WorkteamArn"],"members":{"WorkteamArn":{}}},"output":{"type":"structure","required":["SubscribedWorkteam"],"members":{"SubscribedWorkteam":{"shape":"St5"}}}},"DescribeTrainingJob":{"input":{"type":"structure","required":["TrainingJobName"],"members":{"TrainingJobName":{}}},"output":{"type":"structure","required":["TrainingJobName","TrainingJobArn","ModelArtifacts","TrainingJobStatus","SecondaryStatus","AlgorithmSpecification","ResourceConfig","StoppingCondition","CreationTime"],"members":{"TrainingJobName":{},"TrainingJobArn":{},"TuningJobArn":{},"LabelingJobArn":{},"AutoMLJobArn":{},"ModelArtifacts":{"shape":"Sop"},"TrainingJobStatus":{},"SecondaryStatus":{},"FailureReason":{},"HyperParameters":{"shape":"S2t"},"AlgorithmSpecification":{"shape":"Sj2"},"RoleArn":{},"InputDataConfig":{"shape":"S2v"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"VpcConfig":{"shape":"S5h"},"StoppingCondition":{"shape":"S3h"},"CreationTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"SecondaryStatusTransitions":{"shape":"St9"},"FinalMetricDataList":{"shape":"Stc"},"EnableNetworkIsolation":{"type":"boolean"},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableManagedSpotTraining":{"type":"boolean"},"CheckpointConfig":{"shape":"Sc1"},"TrainingTimeInSeconds":{"type":"integer"},"BillableTimeInSeconds":{"type":"integer"},"DebugHookConfig":{"shape":"Sj3"},"ExperimentConfig":{"shape":"Sih"},"DebugRuleConfigurations":{"shape":"Sjb"},"TensorBoardOutputConfig":{"shape":"Sjg"},"DebugRuleEvaluationStatuses":{"shape":"Stg"},"ProfilerConfig":{"shape":"Sjh"},"ProfilerRuleConfigurations":{"shape":"Sjk"},"ProfilerRuleEvaluationStatuses":{"type":"list","member":{"type":"structure","members":{"RuleConfigurationName":{},"RuleEvaluationJobArn":{},"RuleEvaluationStatus":{},"StatusDetails":{},"LastModifiedTime":{"type":"timestamp"}}}},"ProfilingStatus":{},"RetryStrategy":{"shape":"Sc2"},"Environment":{"shape":"Sjm"}}}},"DescribeTransformJob":{"input":{"type":"structure","required":["TransformJobName"],"members":{"TransformJobName":{}}},"output":{"type":"structure","required":["TransformJobName","TransformJobArn","TransformJobStatus","ModelName","TransformInput","TransformResources","CreationTime"],"members":{"TransformJobName":{},"TransformJobArn":{},"TransformJobStatus":{},"FailureReason":{},"ModelName":{},"MaxConcurrentTransforms":{"type":"integer"},"ModelClientConfig":{"shape":"Sjt"},"MaxPayloadInMB":{"type":"integer"},"BatchStrategy":{},"Environment":{"shape":"S3o"},"TransformInput":{"shape":"S3r"},"TransformOutput":{"shape":"S3v"},"TransformResources":{"shape":"S3y"},"CreationTime":{"type":"timestamp"},"TransformStartTime":{"type":"timestamp"},"TransformEndTime":{"type":"timestamp"},"LabelingJobArn":{},"AutoMLJobArn":{},"DataProcessing":{"shape":"Sjw"},"ExperimentConfig":{"shape":"Sih"}}}},"DescribeTrial":{"input":{"type":"structure","required":["TrialName"],"members":{"TrialName":{}}},"output":{"type":"structure","members":{"TrialName":{},"TrialArn":{},"DisplayName":{},"ExperimentName":{},"Source":{"shape":"Sts"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"}}}},"DescribeTrialComponent":{"input":{"type":"structure","required":["TrialComponentName"],"members":{"TrialComponentName":{}}},"output":{"type":"structure","members":{"TrialComponentName":{},"TrialComponentArn":{},"DisplayName":{},"Source":{"shape":"Stw"},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"Parameters":{"shape":"Sk8"},"InputArtifacts":{"shape":"Skc"},"OutputArtifacts":{"shape":"Skc"},"MetadataProperties":{"shape":"S1q"},"Metrics":{"shape":"Sty"},"LineageGroupArn":{}}}},"DescribeUserProfile":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{}}},"output":{"type":"structure","members":{"DomainId":{},"UserProfileArn":{},"UserProfileName":{},"HomeEfsFileSystemUid":{},"Status":{},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"FailureReason":{},"SingleSignOnUserIdentifier":{},"SingleSignOnUserValue":{},"UserSettings":{"shape":"S7u"}}}},"DescribeWorkforce":{"input":{"type":"structure","required":["WorkforceName"],"members":{"WorkforceName":{}}},"output":{"type":"structure","required":["Workforce"],"members":{"Workforce":{"shape":"Su8"}}}},"DescribeWorkteam":{"input":{"type":"structure","required":["WorkteamName"],"members":{"WorkteamName":{}}},"output":{"type":"structure","required":["Workteam"],"members":{"Workteam":{"shape":"Suc"}}}},"DisableSagemakerServicecatalogPortfolio":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateTrialComponent":{"input":{"type":"structure","required":["TrialComponentName","TrialName"],"members":{"TrialComponentName":{},"TrialName":{}}},"output":{"type":"structure","members":{"TrialComponentArn":{},"TrialArn":{}}}},"EnableSagemakerServicecatalogPortfolio":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"GetDeviceFleetReport":{"input":{"type":"structure","required":["DeviceFleetName"],"members":{"DeviceFleetName":{}}},"output":{"type":"structure","required":["DeviceFleetArn","DeviceFleetName"],"members":{"DeviceFleetArn":{},"DeviceFleetName":{},"OutputConfig":{"shape":"S7o"},"Description":{},"ReportGenerated":{"type":"timestamp"},"DeviceStats":{"type":"structure","required":["ConnectedDeviceCount","RegisteredDeviceCount"],"members":{"ConnectedDeviceCount":{"type":"long"},"RegisteredDeviceCount":{"type":"long"}}},"AgentVersions":{"type":"list","member":{"type":"structure","required":["Version","AgentCount"],"members":{"Version":{},"AgentCount":{"type":"long"}}}},"ModelStats":{"type":"list","member":{"type":"structure","required":["ModelName","ModelVersion","OfflineDeviceCount","ConnectedDeviceCount","ActiveDeviceCount","SamplingDeviceCount"],"members":{"ModelName":{},"ModelVersion":{},"OfflineDeviceCount":{"type":"long"},"ConnectedDeviceCount":{"type":"long"},"ActiveDeviceCount":{"type":"long"},"SamplingDeviceCount":{"type":"long"}}}}}}},"GetLineageGroupPolicy":{"input":{"type":"structure","required":["LineageGroupName"],"members":{"LineageGroupName":{}}},"output":{"type":"structure","members":{"LineageGroupArn":{},"ResourcePolicy":{}}}},"GetModelPackageGroupPolicy":{"input":{"type":"structure","required":["ModelPackageGroupName"],"members":{"ModelPackageGroupName":{}}},"output":{"type":"structure","required":["ResourcePolicy"],"members":{"ResourcePolicy":{}}}},"GetSagemakerServicecatalogPortfolioStatus":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Status":{}}}},"GetSearchSuggestions":{"input":{"type":"structure","required":["Resource"],"members":{"Resource":{},"SuggestionQuery":{"type":"structure","members":{"PropertyNameQuery":{"type":"structure","required":["PropertyNameHint"],"members":{"PropertyNameHint":{}}}}}}},"output":{"type":"structure","members":{"PropertyNameSuggestions":{"type":"list","member":{"type":"structure","members":{"PropertyName":{}}}}}}},"ListActions":{"input":{"type":"structure","members":{"SourceUri":{},"ActionType":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ActionSummaries":{"type":"list","member":{"type":"structure","members":{"ActionArn":{},"ActionName":{},"Source":{"shape":"S1j"},"ActionType":{},"Status":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListAlgorithms":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["AlgorithmSummaryList"],"members":{"AlgorithmSummaryList":{"type":"list","member":{"type":"structure","required":["AlgorithmName","AlgorithmArn","CreationTime","AlgorithmStatus"],"members":{"AlgorithmName":{},"AlgorithmArn":{},"AlgorithmDescription":{},"CreationTime":{"type":"timestamp"},"AlgorithmStatus":{}}}},"NextToken":{}}}},"ListAppImageConfigs":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"ModifiedTimeBefore":{"type":"timestamp"},"ModifiedTimeAfter":{"type":"timestamp"},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","members":{"NextToken":{},"AppImageConfigs":{"type":"list","member":{"type":"structure","members":{"AppImageConfigArn":{},"AppImageConfigName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"KernelGatewayImageConfig":{"shape":"S4h"}}}}}}},"ListApps":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortOrder":{},"SortBy":{},"DomainIdEquals":{},"UserProfileNameEquals":{}}},"output":{"type":"structure","members":{"Apps":{"type":"list","member":{"type":"structure","members":{"DomainId":{},"UserProfileName":{},"AppType":{},"AppName":{},"Status":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListArtifacts":{"input":{"type":"structure","members":{"SourceUri":{},"ArtifactType":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ArtifactSummaries":{"type":"list","member":{"type":"structure","members":{"ArtifactArn":{},"ArtifactName":{},"Source":{"shape":"S4t"},"ArtifactType":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListAssociations":{"input":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{},"SourceType":{},"DestinationType":{},"AssociationType":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AssociationSummaries":{"type":"list","member":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{},"SourceType":{},"DestinationType":{},"AssociationType":{},"SourceName":{},"DestinationName":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"}}}},"NextToken":{}}}},"ListAutoMLJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortOrder":{},"SortBy":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["AutoMLJobSummaries"],"members":{"AutoMLJobSummaries":{"type":"list","member":{"type":"structure","required":["AutoMLJobName","AutoMLJobArn","AutoMLJobStatus","AutoMLJobSecondaryStatus","CreationTime","LastModifiedTime"],"members":{"AutoMLJobName":{},"AutoMLJobArn":{},"AutoMLJobStatus":{},"AutoMLJobSecondaryStatus":{},"CreationTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"PartialFailureReasons":{"shape":"Snn"}}}},"NextToken":{}}}},"ListCandidatesForAutoMLJob":{"input":{"type":"structure","required":["AutoMLJobName"],"members":{"AutoMLJobName":{},"StatusEquals":{},"CandidateNameEquals":{},"SortOrder":{},"SortBy":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Candidates"],"members":{"Candidates":{"type":"list","member":{"shape":"Snp"}},"NextToken":{}}}},"ListCodeRepositories":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["CodeRepositorySummaryList"],"members":{"CodeRepositorySummaryList":{"type":"list","member":{"type":"structure","required":["CodeRepositoryName","CodeRepositoryArn","CreationTime","LastModifiedTime"],"members":{"CodeRepositoryName":{},"CodeRepositoryArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"GitConfig":{"shape":"S5t"}}}},"NextToken":{}}}},"ListCompilationJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["CompilationJobSummaries"],"members":{"CompilationJobSummaries":{"type":"list","member":{"type":"structure","required":["CompilationJobName","CompilationJobArn","CreationTime","CompilationJobStatus"],"members":{"CompilationJobName":{},"CompilationJobArn":{},"CreationTime":{"type":"timestamp"},"CompilationStartTime":{"type":"timestamp"},"CompilationEndTime":{"type":"timestamp"},"CompilationTargetDevice":{},"CompilationTargetPlatformOs":{},"CompilationTargetPlatformArch":{},"CompilationTargetPlatformAccelerator":{},"LastModifiedTime":{"type":"timestamp"},"CompilationJobStatus":{}}}},"NextToken":{}}}},"ListContexts":{"input":{"type":"structure","members":{"SourceUri":{},"ContextType":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ContextSummaries":{"type":"list","member":{"type":"structure","members":{"ContextArn":{},"ContextName":{},"Source":{"shape":"S6h"},"ContextType":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListDataQualityJobDefinitions":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["JobDefinitionSummaries"],"members":{"JobDefinitionSummaries":{"shape":"Sx5"},"NextToken":{}}}},"ListDeviceFleets":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["DeviceFleetSummaries"],"members":{"DeviceFleetSummaries":{"type":"list","member":{"type":"structure","required":["DeviceFleetArn","DeviceFleetName"],"members":{"DeviceFleetArn":{},"DeviceFleetName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListDevices":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"LatestHeartbeatAfter":{"type":"timestamp"},"ModelName":{},"DeviceFleetName":{}}},"output":{"type":"structure","required":["DeviceSummaries"],"members":{"DeviceSummaries":{"type":"list","member":{"type":"structure","required":["DeviceName","DeviceArn"],"members":{"DeviceName":{},"DeviceArn":{},"Description":{},"DeviceFleetName":{},"IotThingName":{},"RegistrationTime":{"type":"timestamp"},"LatestHeartbeat":{"type":"timestamp"},"Models":{"type":"list","member":{"type":"structure","required":["ModelName","ModelVersion"],"members":{"ModelName":{},"ModelVersion":{}}}},"AgentVersion":{}}}},"NextToken":{}}}},"ListDomains":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Domains":{"type":"list","member":{"type":"structure","members":{"DomainArn":{},"DomainId":{},"DomainName":{},"Status":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"Url":{}}}},"NextToken":{}}}},"ListEdgePackagingJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"ModelNameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["EdgePackagingJobSummaries"],"members":{"EdgePackagingJobSummaries":{"type":"list","member":{"type":"structure","required":["EdgePackagingJobArn","EdgePackagingJobName","EdgePackagingJobStatus"],"members":{"EdgePackagingJobArn":{},"EdgePackagingJobName":{},"EdgePackagingJobStatus":{},"CompilationJobName":{},"ModelName":{},"ModelVersion":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListEndpointConfigs":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["EndpointConfigs"],"members":{"EndpointConfigs":{"type":"list","member":{"type":"structure","required":["EndpointConfigName","EndpointConfigArn","CreationTime"],"members":{"EndpointConfigName":{},"EndpointConfigArn":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListEndpoints":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"StatusEquals":{}}},"output":{"type":"structure","required":["Endpoints"],"members":{"Endpoints":{"type":"list","member":{"type":"structure","required":["EndpointName","EndpointArn","CreationTime","LastModifiedTime","EndpointStatus"],"members":{"EndpointName":{},"EndpointArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"EndpointStatus":{}}}},"NextToken":{}}}},"ListExperiments":{"input":{"type":"structure","members":{"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ExperimentSummaries":{"type":"list","member":{"type":"structure","members":{"ExperimentArn":{},"ExperimentName":{},"DisplayName":{},"ExperimentSource":{"shape":"Sq4"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListFeatureGroups":{"input":{"type":"structure","members":{"NameContains":{},"FeatureGroupStatusEquals":{},"OfflineStoreStatusEquals":{},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"SortOrder":{},"SortBy":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["FeatureGroupSummaries","NextToken"],"members":{"FeatureGroupSummaries":{"type":"list","member":{"type":"structure","required":["FeatureGroupName","FeatureGroupArn","CreationTime"],"members":{"FeatureGroupName":{},"FeatureGroupArn":{},"CreationTime":{"type":"timestamp"},"FeatureGroupStatus":{},"OfflineStoreStatus":{"shape":"Sqa"}}}},"NextToken":{}}}},"ListFlowDefinitions":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["FlowDefinitionSummaries"],"members":{"FlowDefinitionSummaries":{"type":"list","member":{"type":"structure","required":["FlowDefinitionName","FlowDefinitionArn","FlowDefinitionStatus","CreationTime"],"members":{"FlowDefinitionName":{},"FlowDefinitionArn":{},"FlowDefinitionStatus":{},"CreationTime":{"type":"timestamp"},"FailureReason":{}}}},"NextToken":{}}}},"ListHumanTaskUis":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["HumanTaskUiSummaries"],"members":{"HumanTaskUiSummaries":{"type":"list","member":{"type":"structure","required":["HumanTaskUiName","HumanTaskUiArn","CreationTime"],"members":{"HumanTaskUiName":{},"HumanTaskUiArn":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListHyperParameterTuningJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortBy":{},"SortOrder":{},"NameContains":{},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"StatusEquals":{}}},"output":{"type":"structure","required":["HyperParameterTuningJobSummaries"],"members":{"HyperParameterTuningJobSummaries":{"type":"list","member":{"type":"structure","required":["HyperParameterTuningJobName","HyperParameterTuningJobArn","HyperParameterTuningJobStatus","Strategy","CreationTime","TrainingJobStatusCounters","ObjectiveStatusCounters"],"members":{"HyperParameterTuningJobName":{},"HyperParameterTuningJobArn":{},"HyperParameterTuningJobStatus":{},"Strategy":{},"CreationTime":{"type":"timestamp"},"HyperParameterTuningEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"TrainingJobStatusCounters":{"shape":"Sqp"},"ObjectiveStatusCounters":{"shape":"Sqr"},"ResourceLimits":{"shape":"Sbh"}}}},"NextToken":{}}}},"ListImageVersions":{"input":{"type":"structure","required":["ImageName"],"members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"ImageName":{},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","members":{"ImageVersions":{"type":"list","member":{"type":"structure","required":["CreationTime","ImageArn","ImageVersionArn","ImageVersionStatus","LastModifiedTime","Version"],"members":{"CreationTime":{"type":"timestamp"},"FailureReason":{},"ImageArn":{},"ImageVersionArn":{},"ImageVersionStatus":{},"LastModifiedTime":{"type":"timestamp"},"Version":{"type":"integer"}}}},"NextToken":{}}}},"ListImages":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","members":{"Images":{"type":"list","member":{"type":"structure","required":["CreationTime","ImageArn","ImageName","ImageStatus","LastModifiedTime"],"members":{"CreationTime":{"type":"timestamp"},"Description":{},"DisplayName":{},"FailureReason":{},"ImageArn":{},"ImageName":{},"ImageStatus":{},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListInferenceRecommendationsJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["InferenceRecommendationsJobs"],"members":{"InferenceRecommendationsJobs":{"type":"list","member":{"type":"structure","required":["JobName","JobDescription","JobType","JobArn","Status","CreationTime","RoleArn","LastModifiedTime"],"members":{"JobName":{},"JobDescription":{},"JobType":{},"JobArn":{},"Status":{},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"RoleArn":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"NextToken":{}}}},"ListLabelingJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NextToken":{},"NameContains":{},"SortBy":{},"SortOrder":{},"StatusEquals":{}}},"output":{"type":"structure","members":{"LabelingJobSummaryList":{"type":"list","member":{"type":"structure","required":["LabelingJobName","LabelingJobArn","CreationTime","LastModifiedTime","LabelingJobStatus","LabelCounters","WorkteamArn","PreHumanTaskLambdaArn"],"members":{"LabelingJobName":{},"LabelingJobArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LabelingJobStatus":{},"LabelCounters":{"shape":"Srg"},"WorkteamArn":{},"PreHumanTaskLambdaArn":{},"AnnotationConsolidationLambdaArn":{},"FailureReason":{},"LabelingJobOutput":{"shape":"Srj"},"InputConfig":{"shape":"Sdh"}}}},"NextToken":{}}}},"ListLabelingJobsForWorkteam":{"input":{"type":"structure","required":["WorkteamArn"],"members":{"WorkteamArn":{},"MaxResults":{"type":"integer"},"NextToken":{},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"JobReferenceCodeContains":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["LabelingJobSummaryList"],"members":{"LabelingJobSummaryList":{"type":"list","member":{"type":"structure","required":["JobReferenceCode","WorkRequesterAccountId","CreationTime"],"members":{"LabelingJobName":{},"JobReferenceCode":{},"WorkRequesterAccountId":{},"CreationTime":{"type":"timestamp"},"LabelCounters":{"type":"structure","members":{"HumanLabeled":{"type":"integer"},"PendingHuman":{"type":"integer"},"Total":{"type":"integer"}}},"NumberOfHumanWorkersPerDataObject":{"type":"integer"}}}},"NextToken":{}}}},"ListLineageGroups":{"input":{"type":"structure","members":{"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"LineageGroupSummaries":{"type":"list","member":{"type":"structure","members":{"LineageGroupArn":{},"LineageGroupName":{},"DisplayName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListModelBiasJobDefinitions":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["JobDefinitionSummaries"],"members":{"JobDefinitionSummaries":{"shape":"Sx5"},"NextToken":{}}}},"ListModelExplainabilityJobDefinitions":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["JobDefinitionSummaries"],"members":{"JobDefinitionSummaries":{"shape":"Sx5"},"NextToken":{}}}},"ListModelMetadata":{"input":{"type":"structure","members":{"SearchExpression":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ModelMetadataSummaries"],"members":{"ModelMetadataSummaries":{"type":"list","member":{"type":"structure","required":["Domain","Framework","Task","Model","FrameworkVersion"],"members":{"Domain":{},"Framework":{},"Task":{},"Model":{},"FrameworkVersion":{}}}},"NextToken":{}}}},"ListModelPackageGroups":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["ModelPackageGroupSummaryList"],"members":{"ModelPackageGroupSummaryList":{"type":"list","member":{"type":"structure","required":["ModelPackageGroupName","ModelPackageGroupArn","CreationTime","ModelPackageGroupStatus"],"members":{"ModelPackageGroupName":{},"ModelPackageGroupArn":{},"ModelPackageGroupDescription":{},"CreationTime":{"type":"timestamp"},"ModelPackageGroupStatus":{}}}},"NextToken":{}}}},"ListModelPackages":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"ModelApprovalStatus":{},"ModelPackageGroupName":{},"ModelPackageType":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["ModelPackageSummaryList"],"members":{"ModelPackageSummaryList":{"type":"list","member":{"type":"structure","required":["ModelPackageName","ModelPackageArn","CreationTime","ModelPackageStatus"],"members":{"ModelPackageName":{},"ModelPackageGroupName":{},"ModelPackageVersion":{"type":"integer"},"ModelPackageArn":{},"ModelPackageDescription":{},"CreationTime":{"type":"timestamp"},"ModelPackageStatus":{},"ModelApprovalStatus":{}}}},"NextToken":{}}}},"ListModelQualityJobDefinitions":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["JobDefinitionSummaries"],"members":{"JobDefinitionSummaries":{"shape":"Sx5"},"NextToken":{}}}},"ListModels":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","required":["Models"],"members":{"Models":{"type":"list","member":{"type":"structure","required":["ModelName","ModelArn","CreationTime"],"members":{"ModelName":{},"ModelArn":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListMonitoringExecutions":{"input":{"type":"structure","members":{"MonitoringScheduleName":{},"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"ScheduledTimeBefore":{"type":"timestamp"},"ScheduledTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"StatusEquals":{},"MonitoringJobDefinitionName":{},"MonitoringTypeEquals":{}}},"output":{"type":"structure","required":["MonitoringExecutionSummaries"],"members":{"MonitoringExecutionSummaries":{"type":"list","member":{"shape":"Ss7"}},"NextToken":{}}}},"ListMonitoringSchedules":{"input":{"type":"structure","members":{"EndpointName":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"StatusEquals":{},"MonitoringJobDefinitionName":{},"MonitoringTypeEquals":{}}},"output":{"type":"structure","required":["MonitoringScheduleSummaries"],"members":{"MonitoringScheduleSummaries":{"type":"list","member":{"type":"structure","required":["MonitoringScheduleName","MonitoringScheduleArn","CreationTime","LastModifiedTime","MonitoringScheduleStatus"],"members":{"MonitoringScheduleName":{},"MonitoringScheduleArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringScheduleStatus":{},"EndpointName":{},"MonitoringJobDefinitionName":{},"MonitoringType":{}}}},"NextToken":{}}}},"ListNotebookInstanceLifecycleConfigs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortBy":{},"SortOrder":{},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"}}},"output":{"type":"structure","members":{"NextToken":{},"NotebookInstanceLifecycleConfigs":{"type":"list","member":{"type":"structure","required":["NotebookInstanceLifecycleConfigName","NotebookInstanceLifecycleConfigArn"],"members":{"NotebookInstanceLifecycleConfigName":{},"NotebookInstanceLifecycleConfigArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}}}}},"ListNotebookInstances":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortBy":{},"SortOrder":{},"NameContains":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"StatusEquals":{},"NotebookInstanceLifecycleConfigNameContains":{},"DefaultCodeRepositoryContains":{},"AdditionalCodeRepositoryEquals":{}}},"output":{"type":"structure","members":{"NextToken":{},"NotebookInstances":{"type":"list","member":{"type":"structure","required":["NotebookInstanceName","NotebookInstanceArn"],"members":{"NotebookInstanceName":{},"NotebookInstanceArn":{},"NotebookInstanceStatus":{},"Url":{},"InstanceType":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"NotebookInstanceLifecycleConfigName":{},"DefaultCodeRepository":{},"AdditionalCodeRepositories":{"shape":"Sgl"}}}}}}},"ListPipelineExecutionSteps":{"input":{"type":"structure","members":{"PipelineExecutionArn":{},"NextToken":{},"MaxResults":{"type":"integer"},"SortOrder":{}}},"output":{"type":"structure","members":{"PipelineExecutionSteps":{"type":"list","member":{"type":"structure","members":{"StepName":{},"StepDisplayName":{},"StepDescription":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"StepStatus":{},"CacheHitResult":{"type":"structure","members":{"SourcePipelineExecutionArn":{}}},"AttemptCount":{"type":"integer"},"FailureReason":{},"Metadata":{"type":"structure","members":{"TrainingJob":{"type":"structure","members":{"Arn":{}}},"ProcessingJob":{"type":"structure","members":{"Arn":{}}},"TransformJob":{"type":"structure","members":{"Arn":{}}},"TuningJob":{"type":"structure","members":{"Arn":{}}},"Model":{"type":"structure","members":{"Arn":{}}},"RegisterModel":{"type":"structure","members":{"Arn":{}}},"Condition":{"type":"structure","members":{"Outcome":{}}},"Callback":{"type":"structure","members":{"CallbackToken":{},"SqsQueueUrl":{},"OutputParameters":{"shape":"S120"}}},"Lambda":{"type":"structure","members":{"Arn":{},"OutputParameters":{"shape":"S120"}}},"QualityCheck":{"type":"structure","members":{"CheckType":{},"BaselineUsedForDriftCheckStatistics":{},"BaselineUsedForDriftCheckConstraints":{},"CalculatedBaselineStatistics":{},"CalculatedBaselineConstraints":{},"ModelPackageGroupName":{},"ViolationReport":{},"CheckJobArn":{},"SkipCheck":{"type":"boolean"},"RegisterNewBaseline":{"type":"boolean"}}},"ClarifyCheck":{"type":"structure","members":{"CheckType":{},"BaselineUsedForDriftCheckConstraints":{},"CalculatedBaselineConstraints":{},"ModelPackageGroupName":{},"ViolationReport":{},"CheckJobArn":{},"SkipCheck":{"type":"boolean"},"RegisterNewBaseline":{"type":"boolean"}}},"EMR":{"type":"structure","members":{"ClusterId":{},"StepId":{},"StepName":{},"LogFilePath":{}}},"Fail":{"type":"structure","members":{"ErrorMessage":{}}}}}}}},"NextToken":{}}}},"ListPipelineExecutions":{"input":{"type":"structure","required":["PipelineName"],"members":{"PipelineName":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PipelineExecutionSummaries":{"type":"list","member":{"type":"structure","members":{"PipelineExecutionArn":{},"StartTime":{"type":"timestamp"},"PipelineExecutionStatus":{},"PipelineExecutionDescription":{},"PipelineExecutionDisplayName":{},"PipelineExecutionFailureReason":{}}}},"NextToken":{}}}},"ListPipelineParametersForExecution":{"input":{"type":"structure","required":["PipelineExecutionArn"],"members":{"PipelineExecutionArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PipelineParameters":{"shape":"S12f"},"NextToken":{}}}},"ListPipelines":{"input":{"type":"structure","members":{"PipelineNamePrefix":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"PipelineSummaries":{"type":"list","member":{"type":"structure","members":{"PipelineArn":{},"PipelineName":{},"PipelineDisplayName":{},"PipelineDescription":{},"RoleArn":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastExecutionTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListProcessingJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ProcessingJobSummaries"],"members":{"ProcessingJobSummaries":{"type":"list","member":{"type":"structure","required":["ProcessingJobName","ProcessingJobArn","CreationTime","ProcessingJobStatus"],"members":{"ProcessingJobName":{},"ProcessingJobArn":{},"CreationTime":{"type":"timestamp"},"ProcessingEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"ProcessingJobStatus":{},"FailureReason":{},"ExitMessage":{}}}},"NextToken":{}}}},"ListProjects":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"MaxResults":{"type":"integer"},"NameContains":{},"NextToken":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["ProjectSummaryList"],"members":{"ProjectSummaryList":{"type":"list","member":{"type":"structure","required":["ProjectName","ProjectArn","ProjectId","CreationTime","ProjectStatus"],"members":{"ProjectName":{},"ProjectDescription":{},"ProjectArn":{},"ProjectId":{},"CreationTime":{"type":"timestamp"},"ProjectStatus":{}}}},"NextToken":{}}}},"ListStudioLifecycleConfigs":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"NameContains":{},"AppTypeEquals":{},"CreationTimeBefore":{"type":"timestamp"},"CreationTimeAfter":{"type":"timestamp"},"ModifiedTimeBefore":{"type":"timestamp"},"ModifiedTimeAfter":{"type":"timestamp"},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","members":{"NextToken":{},"StudioLifecycleConfigs":{"type":"list","member":{"type":"structure","members":{"StudioLifecycleConfigArn":{},"StudioLifecycleConfigName":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"StudioLifecycleConfigAppType":{}}}}}}},"ListSubscribedWorkteams":{"input":{"type":"structure","members":{"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["SubscribedWorkteams"],"members":{"SubscribedWorkteams":{"type":"list","member":{"shape":"St5"}},"NextToken":{}}}},"ListTags":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S7"},"NextToken":{}}}},"ListTrainingJobs":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["TrainingJobSummaries"],"members":{"TrainingJobSummaries":{"type":"list","member":{"type":"structure","required":["TrainingJobName","TrainingJobArn","CreationTime","TrainingJobStatus"],"members":{"TrainingJobName":{},"TrainingJobArn":{},"CreationTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"TrainingJobStatus":{}}}},"NextToken":{}}}},"ListTrainingJobsForHyperParameterTuningJob":{"input":{"type":"structure","required":["HyperParameterTuningJobName"],"members":{"HyperParameterTuningJobName":{},"NextToken":{},"MaxResults":{"type":"integer"},"StatusEquals":{},"SortBy":{},"SortOrder":{}}},"output":{"type":"structure","required":["TrainingJobSummaries"],"members":{"TrainingJobSummaries":{"type":"list","member":{"shape":"Sqt"}},"NextToken":{}}}},"ListTransformJobs":{"input":{"type":"structure","members":{"CreationTimeAfter":{"type":"timestamp"},"CreationTimeBefore":{"type":"timestamp"},"LastModifiedTimeAfter":{"type":"timestamp"},"LastModifiedTimeBefore":{"type":"timestamp"},"NameContains":{},"StatusEquals":{},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["TransformJobSummaries"],"members":{"TransformJobSummaries":{"type":"list","member":{"type":"structure","required":["TransformJobName","TransformJobArn","CreationTime","TransformJobStatus"],"members":{"TransformJobName":{},"TransformJobArn":{},"CreationTime":{"type":"timestamp"},"TransformEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"TransformJobStatus":{},"FailureReason":{}}}},"NextToken":{}}}},"ListTrialComponents":{"input":{"type":"structure","members":{"ExperimentName":{},"TrialName":{},"SourceArn":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrialComponentSummaries":{"type":"list","member":{"type":"structure","members":{"TrialComponentName":{},"TrialComponentArn":{},"DisplayName":{},"TrialComponentSource":{"shape":"Stw"},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}},"NextToken":{}}}},"ListTrials":{"input":{"type":"structure","members":{"ExperimentName":{},"TrialComponentName":{},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"SortBy":{},"SortOrder":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TrialSummaries":{"type":"list","member":{"type":"structure","members":{"TrialArn":{},"TrialName":{},"DisplayName":{},"TrialSource":{"shape":"Sts"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListUserProfiles":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"SortOrder":{},"SortBy":{},"DomainIdEquals":{},"UserProfileNameContains":{}}},"output":{"type":"structure","members":{"UserProfiles":{"type":"list","member":{"type":"structure","members":{"DomainId":{},"UserProfileName":{},"Status":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListWorkforces":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["Workforces"],"members":{"Workforces":{"type":"list","member":{"shape":"Su8"}},"NextToken":{}}}},"ListWorkteams":{"input":{"type":"structure","members":{"SortBy":{},"SortOrder":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["Workteams"],"members":{"Workteams":{"type":"list","member":{"shape":"Suc"}},"NextToken":{}}}},"PutModelPackageGroupPolicy":{"input":{"type":"structure","required":["ModelPackageGroupName","ResourcePolicy"],"members":{"ModelPackageGroupName":{},"ResourcePolicy":{}}},"output":{"type":"structure","required":["ModelPackageGroupArn"],"members":{"ModelPackageGroupArn":{}}}},"QueryLineage":{"input":{"type":"structure","required":["StartArns"],"members":{"StartArns":{"type":"list","member":{}},"Direction":{},"IncludeEdges":{"type":"boolean"},"Filters":{"type":"structure","members":{"Types":{"type":"list","member":{}},"LineageTypes":{"type":"list","member":{}},"CreatedBefore":{"type":"timestamp"},"CreatedAfter":{"type":"timestamp"},"ModifiedBefore":{"type":"timestamp"},"ModifiedAfter":{"type":"timestamp"},"Properties":{"type":"map","key":{},"value":{}}}},"MaxDepth":{"type":"integer"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Vertices":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Type":{},"LineageType":{}}}},"Edges":{"type":"list","member":{"type":"structure","members":{"SourceArn":{},"DestinationArn":{},"AssociationType":{}}}},"NextToken":{}}}},"RegisterDevices":{"input":{"type":"structure","required":["DeviceFleetName","Devices"],"members":{"DeviceFleetName":{},"Devices":{"shape":"S14r"},"Tags":{"shape":"S7"}}}},"RenderUiTemplate":{"input":{"type":"structure","required":["Task","RoleArn"],"members":{"UiTemplate":{"shape":"Sba"},"Task":{"type":"structure","required":["Input"],"members":{"Input":{}}},"RoleArn":{},"HumanTaskUiArn":{}}},"output":{"type":"structure","required":["RenderedContent","Errors"],"members":{"RenderedContent":{},"Errors":{"type":"list","member":{"type":"structure","required":["Code","Message"],"members":{"Code":{},"Message":{}}}}}}},"RetryPipelineExecution":{"input":{"type":"structure","required":["PipelineExecutionArn","ClientRequestToken"],"members":{"PipelineExecutionArn":{},"ClientRequestToken":{"idempotencyToken":true},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"Search":{"input":{"type":"structure","required":["Resource"],"members":{"Resource":{},"SearchExpression":{"shape":"S152"},"SortBy":{},"SortOrder":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Results":{"type":"list","member":{"type":"structure","members":{"TrainingJob":{"shape":"S15f"},"Experiment":{"type":"structure","members":{"ExperimentName":{},"ExperimentArn":{},"DisplayName":{},"Source":{"shape":"Sq4"},"Description":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"Tags":{"shape":"S7"}}},"Trial":{"type":"structure","members":{"TrialName":{},"TrialArn":{},"DisplayName":{},"ExperimentName":{},"Source":{"shape":"Sts"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"Tags":{"shape":"S7"},"TrialComponentSummaries":{"type":"list","member":{"type":"structure","members":{"TrialComponentName":{},"TrialComponentArn":{},"TrialComponentSource":{"shape":"Stw"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"}}}}}},"TrialComponent":{"type":"structure","members":{"TrialComponentName":{},"DisplayName":{},"TrialComponentArn":{},"Source":{"shape":"Stw"},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"Parameters":{"shape":"Sk8"},"InputArtifacts":{"shape":"Skc"},"OutputArtifacts":{"shape":"Skc"},"Metrics":{"shape":"Sty"},"MetadataProperties":{"shape":"S1q"},"SourceDetail":{"type":"structure","members":{"SourceArn":{},"TrainingJob":{"shape":"S15f"},"ProcessingJob":{"type":"structure","members":{"ProcessingInputs":{"shape":"Shi"},"ProcessingOutputConfig":{"shape":"Si5"},"ProcessingJobName":{},"ProcessingResources":{"shape":"Sia"},"StoppingCondition":{"shape":"Sic"},"AppSpecification":{"shape":"Sie"},"Environment":{"shape":"Sig"},"NetworkConfig":{"shape":"Sg8"},"RoleArn":{},"ExperimentConfig":{"shape":"Sih"},"ProcessingJobArn":{},"ProcessingJobStatus":{},"ExitMessage":{},"FailureReason":{},"ProcessingEndTime":{"type":"timestamp"},"ProcessingStartTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"MonitoringScheduleArn":{},"AutoMLJobArn":{},"TrainingJobArn":{},"Tags":{"shape":"S7"}}},"TransformJob":{"type":"structure","members":{"TransformJobName":{},"TransformJobArn":{},"TransformJobStatus":{},"FailureReason":{},"ModelName":{},"MaxConcurrentTransforms":{"type":"integer"},"ModelClientConfig":{"shape":"Sjt"},"MaxPayloadInMB":{"type":"integer"},"BatchStrategy":{},"Environment":{"shape":"S3o"},"TransformInput":{"shape":"S3r"},"TransformOutput":{"shape":"S3v"},"TransformResources":{"shape":"S3y"},"CreationTime":{"type":"timestamp"},"TransformStartTime":{"type":"timestamp"},"TransformEndTime":{"type":"timestamp"},"LabelingJobArn":{},"AutoMLJobArn":{},"DataProcessing":{"shape":"Sjw"},"ExperimentConfig":{"shape":"Sih"},"Tags":{"shape":"S7"}}}}},"LineageGroupArn":{},"Tags":{"shape":"S7"},"Parents":{"type":"list","member":{"type":"structure","members":{"TrialName":{},"ExperimentName":{}}}}}},"Endpoint":{"type":"structure","required":["EndpointName","EndpointArn","EndpointConfigName","EndpointStatus","CreationTime","LastModifiedTime"],"members":{"EndpointName":{},"EndpointArn":{},"EndpointConfigName":{},"ProductionVariants":{"shape":"Spl"},"DataCaptureConfig":{"shape":"Spu"},"EndpointStatus":{},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringSchedules":{"type":"list","member":{"type":"structure","members":{"MonitoringScheduleArn":{},"MonitoringScheduleName":{},"MonitoringScheduleStatus":{},"MonitoringType":{},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringScheduleConfig":{"shape":"Sg0"},"EndpointName":{},"LastMonitoringExecutionSummary":{"shape":"Ss7"},"Tags":{"shape":"S7"}}}},"Tags":{"shape":"S7"}}},"ModelPackage":{"type":"structure","members":{"ModelPackageName":{},"ModelPackageGroupName":{},"ModelPackageVersion":{"type":"integer"},"ModelPackageArn":{},"ModelPackageDescription":{},"CreationTime":{"type":"timestamp"},"InferenceSpecification":{"shape":"Sr"},"SourceAlgorithmSpecification":{"shape":"Sf3"},"ValidationSpecification":{"shape":"Sf0"},"ModelPackageStatus":{},"ModelPackageStatusDetails":{"shape":"Sru"},"CertifyForMarketplace":{"type":"boolean"},"ModelApprovalStatus":{},"CreatedBy":{"shape":"Sn3"},"MetadataProperties":{"shape":"S1q"},"ModelMetrics":{"shape":"Sf6"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"},"ApprovalDescription":{},"Domain":{},"Task":{},"SamplePayloadUrl":{},"AdditionalInferenceSpecifications":{"shape":"Sfm"},"Tags":{"shape":"S7"},"CustomerMetadataProperties":{"shape":"Sfd"},"DriftCheckBaselines":{"shape":"Sfg"}}},"ModelPackageGroup":{"type":"structure","members":{"ModelPackageGroupName":{},"ModelPackageGroupArn":{},"ModelPackageGroupDescription":{},"CreationTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"ModelPackageGroupStatus":{},"Tags":{"shape":"S7"}}},"Pipeline":{"type":"structure","members":{"PipelineArn":{},"PipelineName":{},"PipelineDisplayName":{},"PipelineDescription":{},"RoleArn":{},"PipelineStatus":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LastRunTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedBy":{"shape":"Sn3"},"ParallelismConfiguration":{"shape":"Sh5"},"Tags":{"shape":"S7"}}},"PipelineExecution":{"type":"structure","members":{"PipelineArn":{},"PipelineExecutionArn":{},"PipelineExecutionDisplayName":{},"PipelineExecutionStatus":{},"PipelineExecutionDescription":{},"PipelineExperimentConfig":{"shape":"Ssq"},"FailureReason":{},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"CreatedBy":{"shape":"Sn3"},"LastModifiedBy":{"shape":"Sn3"},"ParallelismConfiguration":{"shape":"Sh5"},"PipelineParameters":{"shape":"S12f"}}},"FeatureGroup":{"type":"structure","members":{"FeatureGroupArn":{},"FeatureGroupName":{},"RecordIdentifierFeatureName":{},"EventTimeFeatureName":{},"FeatureDefinitions":{"shape":"Sa5"},"CreationTime":{"type":"timestamp"},"OnlineStoreConfig":{"shape":"Sa8"},"OfflineStoreConfig":{"shape":"Saa"},"RoleArn":{},"FeatureGroupStatus":{},"OfflineStoreStatus":{"shape":"Sqa"},"FailureReason":{},"Description":{},"Tags":{"shape":"S7"}}},"Project":{"type":"structure","members":{"ProjectArn":{},"ProjectName":{},"ProjectId":{},"ProjectDescription":{},"ServiceCatalogProvisioningDetails":{"shape":"Sim"},"ServiceCatalogProvisionedProductDetails":{"shape":"Ssy"},"ProjectStatus":{},"CreatedBy":{"shape":"Sn3"},"CreationTime":{"type":"timestamp"},"Tags":{"shape":"S7"},"LastModifiedTime":{"type":"timestamp"},"LastModifiedBy":{"shape":"Sn3"}}}}}},"NextToken":{}}}},"SendPipelineExecutionStepFailure":{"input":{"type":"structure","required":["CallbackToken"],"members":{"CallbackToken":{},"FailureReason":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"SendPipelineExecutionStepSuccess":{"input":{"type":"structure","required":["CallbackToken"],"members":{"CallbackToken":{},"OutputParameters":{"shape":"S120"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"StartMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName"],"members":{"MonitoringScheduleName":{}}}},"StartNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{}}}},"StartPipelineExecution":{"input":{"type":"structure","required":["PipelineName","ClientRequestToken"],"members":{"PipelineName":{},"PipelineExecutionDisplayName":{},"PipelineParameters":{"shape":"S12f"},"PipelineExecutionDescription":{},"ClientRequestToken":{"idempotencyToken":true},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"StopAutoMLJob":{"input":{"type":"structure","required":["AutoMLJobName"],"members":{"AutoMLJobName":{}}}},"StopCompilationJob":{"input":{"type":"structure","required":["CompilationJobName"],"members":{"CompilationJobName":{}}}},"StopEdgePackagingJob":{"input":{"type":"structure","required":["EdgePackagingJobName"],"members":{"EdgePackagingJobName":{}}}},"StopHyperParameterTuningJob":{"input":{"type":"structure","required":["HyperParameterTuningJobName"],"members":{"HyperParameterTuningJobName":{}}}},"StopInferenceRecommendationsJob":{"input":{"type":"structure","required":["JobName"],"members":{"JobName":{}}}},"StopLabelingJob":{"input":{"type":"structure","required":["LabelingJobName"],"members":{"LabelingJobName":{}}}},"StopMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName"],"members":{"MonitoringScheduleName":{}}}},"StopNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{}}}},"StopPipelineExecution":{"input":{"type":"structure","required":["PipelineExecutionArn","ClientRequestToken"],"members":{"PipelineExecutionArn":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"StopProcessingJob":{"input":{"type":"structure","required":["ProcessingJobName"],"members":{"ProcessingJobName":{}}}},"StopTrainingJob":{"input":{"type":"structure","required":["TrainingJobName"],"members":{"TrainingJobName":{}}}},"StopTransformJob":{"input":{"type":"structure","required":["TransformJobName"],"members":{"TransformJobName":{}}}},"UpdateAction":{"input":{"type":"structure","required":["ActionName"],"members":{"ActionName":{},"Description":{},"Status":{},"Properties":{"shape":"S1o"},"PropertiesToRemove":{"shape":"S16l"}}},"output":{"type":"structure","members":{"ActionArn":{}}}},"UpdateAppImageConfig":{"input":{"type":"structure","required":["AppImageConfigName"],"members":{"AppImageConfigName":{},"KernelGatewayImageConfig":{"shape":"S4h"}}},"output":{"type":"structure","members":{"AppImageConfigArn":{}}}},"UpdateArtifact":{"input":{"type":"structure","required":["ArtifactArn"],"members":{"ArtifactArn":{},"ArtifactName":{},"Properties":{"shape":"S1o"},"PropertiesToRemove":{"shape":"S16l"}}},"output":{"type":"structure","members":{"ArtifactArn":{}}}},"UpdateCodeRepository":{"input":{"type":"structure","required":["CodeRepositoryName"],"members":{"CodeRepositoryName":{},"GitConfig":{"type":"structure","members":{"SecretArn":{}}}}},"output":{"type":"structure","required":["CodeRepositoryArn"],"members":{"CodeRepositoryArn":{}}}},"UpdateContext":{"input":{"type":"structure","required":["ContextName"],"members":{"ContextName":{},"Description":{},"Properties":{"shape":"S1o"},"PropertiesToRemove":{"shape":"S16l"}}},"output":{"type":"structure","members":{"ContextArn":{}}}},"UpdateDeviceFleet":{"input":{"type":"structure","required":["DeviceFleetName","OutputConfig"],"members":{"DeviceFleetName":{},"RoleArn":{},"Description":{},"OutputConfig":{"shape":"S7o"},"EnableIotRoleAlias":{"type":"boolean"}}}},"UpdateDevices":{"input":{"type":"structure","required":["DeviceFleetName","Devices"],"members":{"DeviceFleetName":{},"Devices":{"shape":"S14r"}}}},"UpdateDomain":{"input":{"type":"structure","required":["DomainId"],"members":{"DomainId":{},"DefaultUserSettings":{"shape":"S7u"},"DomainSettingsForUpdate":{"type":"structure","members":{"RStudioServerProDomainSettingsForUpdate":{"type":"structure","required":["DomainExecutionRoleArn"],"members":{"DomainExecutionRoleArn":{},"DefaultResourceSpec":{"shape":"S48"}}}}}}},"output":{"type":"structure","members":{"DomainArn":{}}}},"UpdateEndpoint":{"input":{"type":"structure","required":["EndpointName","EndpointConfigName"],"members":{"EndpointName":{},"EndpointConfigName":{},"RetainAllVariantProperties":{"type":"boolean"},"ExcludeRetainedVariantProperties":{"type":"list","member":{"type":"structure","required":["VariantPropertyType"],"members":{"VariantPropertyType":{}}}},"DeploymentConfig":{"shape":"S8n"},"RetainDeploymentConfig":{"type":"boolean"}}},"output":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}}},"UpdateEndpointWeightsAndCapacities":{"input":{"type":"structure","required":["EndpointName","DesiredWeightsAndCapacities"],"members":{"EndpointName":{},"DesiredWeightsAndCapacities":{"type":"list","member":{"type":"structure","required":["VariantName"],"members":{"VariantName":{},"DesiredWeight":{"type":"float"},"DesiredInstanceCount":{"type":"integer"}}}}}},"output":{"type":"structure","required":["EndpointArn"],"members":{"EndpointArn":{}}}},"UpdateExperiment":{"input":{"type":"structure","required":["ExperimentName"],"members":{"ExperimentName":{},"DisplayName":{},"Description":{}}},"output":{"type":"structure","members":{"ExperimentArn":{}}}},"UpdateImage":{"input":{"type":"structure","required":["ImageName"],"members":{"DeleteProperties":{"type":"list","member":{}},"Description":{},"DisplayName":{},"ImageName":{},"RoleArn":{}}},"output":{"type":"structure","members":{"ImageArn":{}}}},"UpdateModelPackage":{"input":{"type":"structure","required":["ModelPackageArn"],"members":{"ModelPackageArn":{},"ModelApprovalStatus":{},"ApprovalDescription":{},"CustomerMetadataProperties":{"shape":"Sfd"},"CustomerMetadataPropertiesToRemove":{"type":"list","member":{}},"AdditionalInferenceSpecificationsToAdd":{"shape":"Sfm"}}},"output":{"type":"structure","required":["ModelPackageArn"],"members":{"ModelPackageArn":{}}}},"UpdateMonitoringSchedule":{"input":{"type":"structure","required":["MonitoringScheduleName","MonitoringScheduleConfig"],"members":{"MonitoringScheduleName":{},"MonitoringScheduleConfig":{"shape":"Sg0"}}},"output":{"type":"structure","required":["MonitoringScheduleArn"],"members":{"MonitoringScheduleArn":{}}}},"UpdateNotebookInstance":{"input":{"type":"structure","required":["NotebookInstanceName"],"members":{"NotebookInstanceName":{},"InstanceType":{},"RoleArn":{},"LifecycleConfigName":{},"DisassociateLifecycleConfig":{"type":"boolean"},"VolumeSizeInGB":{"type":"integer"},"DefaultCodeRepository":{},"AdditionalCodeRepositories":{"shape":"Sgl"},"AcceleratorTypes":{"shape":"Sgi"},"DisassociateAcceleratorTypes":{"type":"boolean"},"DisassociateDefaultCodeRepository":{"type":"boolean"},"DisassociateAdditionalCodeRepositories":{"type":"boolean"},"RootAccess":{}}},"output":{"type":"structure","members":{}}},"UpdateNotebookInstanceLifecycleConfig":{"input":{"type":"structure","required":["NotebookInstanceLifecycleConfigName"],"members":{"NotebookInstanceLifecycleConfigName":{},"OnCreate":{"shape":"Sgr"},"OnStart":{"shape":"Sgr"}}},"output":{"type":"structure","members":{}}},"UpdatePipeline":{"input":{"type":"structure","required":["PipelineName"],"members":{"PipelineName":{},"PipelineDisplayName":{},"PipelineDefinition":{},"PipelineDefinitionS3Location":{"shape":"Sgz"},"PipelineDescription":{},"RoleArn":{},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineArn":{}}}},"UpdatePipelineExecution":{"input":{"type":"structure","required":["PipelineExecutionArn"],"members":{"PipelineExecutionArn":{},"PipelineExecutionDescription":{},"PipelineExecutionDisplayName":{},"ParallelismConfiguration":{"shape":"Sh5"}}},"output":{"type":"structure","members":{"PipelineExecutionArn":{}}}},"UpdateProject":{"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{},"ProjectDescription":{},"ServiceCatalogProvisioningUpdateDetails":{"type":"structure","members":{"ProvisioningArtifactId":{},"ProvisioningParameters":{"shape":"Sio"}}},"Tags":{"shape":"S7"}}},"output":{"type":"structure","required":["ProjectArn"],"members":{"ProjectArn":{}}}},"UpdateTrainingJob":{"input":{"type":"structure","required":["TrainingJobName"],"members":{"TrainingJobName":{},"ProfilerConfig":{"type":"structure","members":{"S3OutputPath":{},"ProfilingIntervalInMilliseconds":{"type":"long"},"ProfilingParameters":{"shape":"Sjj"},"DisableProfiler":{"type":"boolean"}}},"ProfilerRuleConfigurations":{"shape":"Sjk"}}},"output":{"type":"structure","required":["TrainingJobArn"],"members":{"TrainingJobArn":{}}}},"UpdateTrial":{"input":{"type":"structure","required":["TrialName"],"members":{"TrialName":{},"DisplayName":{}}},"output":{"type":"structure","members":{"TrialArn":{}}}},"UpdateTrialComponent":{"input":{"type":"structure","required":["TrialComponentName"],"members":{"TrialComponentName":{},"DisplayName":{},"Status":{"shape":"Sk4"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Parameters":{"shape":"Sk8"},"ParametersToRemove":{"shape":"S188"},"InputArtifacts":{"shape":"Skc"},"InputArtifactsToRemove":{"shape":"S188"},"OutputArtifacts":{"shape":"Skc"},"OutputArtifactsToRemove":{"shape":"S188"}}},"output":{"type":"structure","members":{"TrialComponentArn":{}}}},"UpdateUserProfile":{"input":{"type":"structure","required":["DomainId","UserProfileName"],"members":{"DomainId":{},"UserProfileName":{},"UserSettings":{"shape":"S7u"}}},"output":{"type":"structure","members":{"UserProfileArn":{}}}},"UpdateWorkforce":{"input":{"type":"structure","required":["WorkforceName"],"members":{"WorkforceName":{},"SourceIpConfig":{"shape":"Skt"},"OidcConfig":{"shape":"Skq"}}},"output":{"type":"structure","required":["Workforce"],"members":{"Workforce":{"shape":"Su8"}}}},"UpdateWorkteam":{"input":{"type":"structure","required":["WorkteamName"],"members":{"WorkteamName":{},"MemberDefinitions":{"shape":"Sl1"},"Description":{},"NotificationConfiguration":{"shape":"Sl9"}}},"output":{"type":"structure","required":["Workteam"],"members":{"Workteam":{"shape":"Suc"}}}}},"shapes":{"S7":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sr":{"type":"structure","required":["Containers","SupportedContentTypes","SupportedResponseMIMETypes"],"members":{"Containers":{"shape":"Ss"},"SupportedTransformInstanceTypes":{"shape":"S16"},"SupportedRealtimeInferenceInstanceTypes":{"shape":"S18"},"SupportedContentTypes":{"shape":"S1a"},"SupportedResponseMIMETypes":{"shape":"S1c"}}},"Ss":{"type":"list","member":{"type":"structure","required":["Image"],"members":{"ContainerHostname":{},"Image":{},"ImageDigest":{},"ModelDataUrl":{},"ProductId":{},"Environment":{"shape":"Sz"},"ModelInput":{"type":"structure","required":["DataInputConfig"],"members":{"DataInputConfig":{}}},"Framework":{},"FrameworkVersion":{},"NearestModelName":{}}}},"Sz":{"type":"map","key":{},"value":{}},"S16":{"type":"list","member":{}},"S18":{"type":"list","member":{}},"S1a":{"type":"list","member":{}},"S1c":{"type":"list","member":{}},"S1j":{"type":"structure","required":["SourceUri"],"members":{"SourceUri":{},"SourceType":{},"SourceId":{}}},"S1o":{"type":"map","key":{},"value":{}},"S1q":{"type":"structure","members":{"CommitId":{},"Repository":{},"GeneratedBy":{},"ProjectId":{}}},"S1v":{"type":"structure","required":["TrainingImage","SupportedTrainingInstanceTypes","TrainingChannels"],"members":{"TrainingImage":{},"TrainingImageDigest":{},"SupportedHyperParameters":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Description":{},"Type":{},"Range":{"type":"structure","members":{"IntegerParameterRangeSpecification":{"type":"structure","required":["MinValue","MaxValue"],"members":{"MinValue":{},"MaxValue":{}}},"ContinuousParameterRangeSpecification":{"type":"structure","required":["MinValue","MaxValue"],"members":{"MinValue":{},"MaxValue":{}}},"CategoricalParameterRangeSpecification":{"type":"structure","required":["Values"],"members":{"Values":{"shape":"S25"}}}}},"IsTunable":{"type":"boolean"},"IsRequired":{"type":"boolean"},"DefaultValue":{}}}},"SupportedTrainingInstanceTypes":{"type":"list","member":{}},"SupportsDistributedTraining":{"type":"boolean"},"MetricDefinitions":{"shape":"S2a"},"TrainingChannels":{"type":"list","member":{"type":"structure","required":["Name","SupportedContentTypes","SupportedInputModes"],"members":{"Name":{},"Description":{},"IsRequired":{"type":"boolean"},"SupportedContentTypes":{"shape":"S1a"},"SupportedCompressionTypes":{"type":"list","member":{}},"SupportedInputModes":{"type":"list","member":{}}}}},"SupportedTuningJobObjectiveMetrics":{"type":"list","member":{"shape":"S2m"}}}},"S25":{"type":"list","member":{}},"S2a":{"type":"list","member":{"type":"structure","required":["Name","Regex"],"members":{"Name":{},"Regex":{}}}},"S2m":{"type":"structure","required":["Type","MetricName"],"members":{"Type":{},"MetricName":{}}},"S2o":{"type":"structure","required":["ValidationRole","ValidationProfiles"],"members":{"ValidationRole":{},"ValidationProfiles":{"type":"list","member":{"type":"structure","required":["ProfileName","TrainingJobDefinition"],"members":{"ProfileName":{},"TrainingJobDefinition":{"type":"structure","required":["TrainingInputMode","InputDataConfig","OutputDataConfig","ResourceConfig","StoppingCondition"],"members":{"TrainingInputMode":{},"HyperParameters":{"shape":"S2t"},"InputDataConfig":{"shape":"S2v"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"StoppingCondition":{"shape":"S3h"}}},"TransformJobDefinition":{"shape":"S3k"}}}}}},"S2t":{"type":"map","key":{},"value":{}},"S2v":{"type":"list","member":{"type":"structure","required":["ChannelName","DataSource"],"members":{"ChannelName":{},"DataSource":{"type":"structure","members":{"S3DataSource":{"type":"structure","required":["S3DataType","S3Uri"],"members":{"S3DataType":{},"S3Uri":{},"S3DataDistributionType":{},"AttributeNames":{"type":"list","member":{}}}},"FileSystemDataSource":{"type":"structure","required":["FileSystemId","FileSystemAccessMode","FileSystemType","DirectoryPath"],"members":{"FileSystemId":{},"FileSystemAccessMode":{},"FileSystemType":{},"DirectoryPath":{}}}}},"ContentType":{},"CompressionType":{},"RecordWrapperType":{},"InputMode":{},"ShuffleConfig":{"type":"structure","required":["Seed"],"members":{"Seed":{"type":"long"}}}}}},"S3c":{"type":"structure","required":["S3OutputPath"],"members":{"KmsKeyId":{},"S3OutputPath":{}}},"S3e":{"type":"structure","required":["InstanceType","InstanceCount","VolumeSizeInGB"],"members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"VolumeSizeInGB":{"type":"integer"},"VolumeKmsKeyId":{}}},"S3h":{"type":"structure","members":{"MaxRuntimeInSeconds":{"type":"integer"},"MaxWaitTimeInSeconds":{"type":"integer"}}},"S3k":{"type":"structure","required":["TransformInput","TransformOutput","TransformResources"],"members":{"MaxConcurrentTransforms":{"type":"integer"},"MaxPayloadInMB":{"type":"integer"},"BatchStrategy":{},"Environment":{"shape":"S3o"},"TransformInput":{"shape":"S3r"},"TransformOutput":{"shape":"S3v"},"TransformResources":{"shape":"S3y"}}},"S3o":{"type":"map","key":{},"value":{}},"S3r":{"type":"structure","required":["DataSource"],"members":{"DataSource":{"type":"structure","required":["S3DataSource"],"members":{"S3DataSource":{"type":"structure","required":["S3DataType","S3Uri"],"members":{"S3DataType":{},"S3Uri":{}}}}},"ContentType":{},"CompressionType":{},"SplitType":{}}},"S3v":{"type":"structure","required":["S3OutputPath"],"members":{"S3OutputPath":{},"Accept":{},"AssembleWith":{},"KmsKeyId":{}}},"S3y":{"type":"structure","required":["InstanceType","InstanceCount"],"members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"VolumeKmsKeyId":{}}},"S48":{"type":"structure","members":{"SageMakerImageArn":{},"SageMakerImageVersionArn":{},"InstanceType":{},"LifecycleConfigArn":{}}},"S4h":{"type":"structure","required":["KernelSpecs"],"members":{"KernelSpecs":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"DisplayName":{}}}},"FileSystemConfig":{"type":"structure","members":{"MountPath":{},"DefaultUid":{"type":"integer"},"DefaultGid":{"type":"integer"}}}}},"S4t":{"type":"structure","required":["SourceUri"],"members":{"SourceUri":{},"SourceTypes":{"type":"list","member":{"type":"structure","required":["SourceIdType","Value"],"members":{"SourceIdType":{},"Value":{}}}}}},"S51":{"type":"list","member":{"type":"structure","required":["DataSource","TargetAttributeName"],"members":{"DataSource":{"type":"structure","required":["S3DataSource"],"members":{"S3DataSource":{"type":"structure","required":["S3DataType","S3Uri"],"members":{"S3DataType":{},"S3Uri":{}}}}},"CompressionType":{},"TargetAttributeName":{},"ContentType":{}}}},"S57":{"type":"structure","required":["S3OutputPath"],"members":{"KmsKeyId":{},"S3OutputPath":{}}},"S59":{"type":"structure","required":["MetricName"],"members":{"MetricName":{}}},"S5b":{"type":"structure","members":{"CompletionCriteria":{"shape":"S5c"},"SecurityConfig":{"type":"structure","members":{"VolumeKmsKeyId":{},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"VpcConfig":{"shape":"S5h"}}}}},"S5c":{"type":"structure","members":{"MaxCandidates":{"type":"integer"},"MaxRuntimePerTrainingJobInSeconds":{"type":"integer"},"MaxAutoMLJobRuntimeInSeconds":{"type":"integer"}}},"S5h":{"type":"structure","required":["SecurityGroupIds","Subnets"],"members":{"SecurityGroupIds":{"type":"list","member":{}},"Subnets":{"shape":"S5k"}}},"S5k":{"type":"list","member":{}},"S5n":{"type":"structure","members":{"AutoGenerateEndpointName":{"type":"boolean"},"EndpointName":{}}},"S5t":{"type":"structure","required":["RepositoryUrl"],"members":{"RepositoryUrl":{},"Branch":{},"SecretArn":{}}},"S60":{"type":"structure","required":["S3Uri","DataInputConfig","Framework"],"members":{"S3Uri":{},"DataInputConfig":{},"Framework":{},"FrameworkVersion":{}}},"S62":{"type":"structure","required":["S3OutputLocation"],"members":{"S3OutputLocation":{},"TargetDevice":{},"TargetPlatform":{"type":"structure","required":["Os","Arch"],"members":{"Os":{},"Arch":{},"Accelerator":{}}},"CompilerOptions":{},"KmsKeyId":{}}},"S69":{"type":"structure","required":["SecurityGroupIds","Subnets"],"members":{"SecurityGroupIds":{"type":"list","member":{}},"Subnets":{"type":"list","member":{}}}},"S6h":{"type":"structure","required":["SourceUri"],"members":{"SourceUri":{},"SourceType":{},"SourceId":{}}},"S6m":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"},"StatisticsResource":{"shape":"S6p"}}},"S6o":{"type":"structure","members":{"S3Uri":{}}},"S6p":{"type":"structure","members":{"S3Uri":{}}},"S6q":{"type":"structure","required":["ImageUri"],"members":{"ImageUri":{},"ContainerEntrypoint":{"shape":"S6s"},"ContainerArguments":{"shape":"S6u"},"RecordPreprocessorSourceUri":{},"PostAnalyticsProcessorSourceUri":{},"Environment":{"shape":"S6w"}}},"S6s":{"type":"list","member":{}},"S6u":{"type":"list","member":{}},"S6w":{"type":"map","key":{},"value":{}},"S6z":{"type":"structure","required":["EndpointInput"],"members":{"EndpointInput":{"shape":"S70"}}},"S70":{"type":"structure","required":["EndpointName","LocalPath"],"members":{"EndpointName":{},"LocalPath":{},"S3InputMode":{},"S3DataDistributionType":{},"FeaturesAttribute":{},"InferenceAttribute":{},"ProbabilityAttribute":{},"ProbabilityThresholdAttribute":{"type":"double"},"StartTimeOffset":{},"EndTimeOffset":{}}},"S76":{"type":"structure","required":["MonitoringOutputs"],"members":{"MonitoringOutputs":{"type":"list","member":{"type":"structure","required":["S3Output"],"members":{"S3Output":{"type":"structure","required":["S3Uri","LocalPath"],"members":{"S3Uri":{},"LocalPath":{},"S3UploadMode":{}}}}}},"KmsKeyId":{}}},"S7c":{"type":"structure","required":["ClusterConfig"],"members":{"ClusterConfig":{"type":"structure","required":["InstanceCount","InstanceType","VolumeSizeInGB"],"members":{"InstanceCount":{"type":"integer"},"InstanceType":{},"VolumeSizeInGB":{"type":"integer"},"VolumeKmsKeyId":{}}}}},"S7h":{"type":"structure","members":{"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableNetworkIsolation":{"type":"boolean"},"VpcConfig":{"shape":"S5h"}}},"S7i":{"type":"structure","required":["MaxRuntimeInSeconds"],"members":{"MaxRuntimeInSeconds":{"type":"integer"}}},"S7o":{"type":"structure","required":["S3OutputLocation"],"members":{"S3OutputLocation":{},"KmsKeyId":{},"PresetDeploymentType":{},"PresetDeploymentConfig":{}}},"S7u":{"type":"structure","members":{"ExecutionRole":{},"SecurityGroups":{"shape":"S7v"},"SharingSettings":{"type":"structure","members":{"NotebookOutputOption":{},"S3OutputPath":{},"S3KmsKeyId":{}}},"JupyterServerAppSettings":{"type":"structure","members":{"DefaultResourceSpec":{"shape":"S48"},"LifecycleConfigArns":{"shape":"S7z"}}},"KernelGatewayAppSettings":{"type":"structure","members":{"DefaultResourceSpec":{"shape":"S48"},"CustomImages":{"type":"list","member":{"type":"structure","required":["ImageName","AppImageConfigName"],"members":{"ImageName":{},"ImageVersionNumber":{"type":"integer"},"AppImageConfigName":{}}}},"LifecycleConfigArns":{"shape":"S7z"}}},"TensorBoardAppSettings":{"type":"structure","members":{"DefaultResourceSpec":{"shape":"S48"}}},"RStudioServerProAppSettings":{"type":"structure","members":{"AccessStatus":{},"UserGroup":{}}},"RSessionAppSettings":{"type":"structure","members":{}}}},"S7v":{"type":"list","member":{}},"S7z":{"type":"list","member":{}},"S8d":{"type":"structure","members":{"SecurityGroupIds":{"type":"list","member":{}},"RStudioServerProDomainSettings":{"type":"structure","required":["DomainExecutionRoleArn"],"members":{"DomainExecutionRoleArn":{},"RStudioConnectUrl":{},"RStudioPackageManagerUrl":{},"DefaultResourceSpec":{"shape":"S48"}}}}},"S8n":{"type":"structure","required":["BlueGreenUpdatePolicy"],"members":{"BlueGreenUpdatePolicy":{"type":"structure","required":["TrafficRoutingConfiguration"],"members":{"TrafficRoutingConfiguration":{"type":"structure","required":["Type","WaitIntervalInSeconds"],"members":{"Type":{},"WaitIntervalInSeconds":{"type":"integer"},"CanarySize":{"shape":"S8s"},"LinearStepSize":{"shape":"S8s"}}},"TerminationWaitInSeconds":{"type":"integer"},"MaximumExecutionTimeoutInSeconds":{"type":"integer"}}},"AutoRollbackConfiguration":{"type":"structure","members":{"Alarms":{"type":"list","member":{"type":"structure","members":{"AlarmName":{}}}}}}}},"S8s":{"type":"structure","required":["Type","Value"],"members":{"Type":{},"Value":{"type":"integer"}}},"S94":{"type":"list","member":{"type":"structure","required":["VariantName","ModelName"],"members":{"VariantName":{},"ModelName":{},"InitialInstanceCount":{"type":"integer"},"InstanceType":{},"InitialVariantWeight":{"type":"float"},"AcceleratorType":{},"CoreDumpConfig":{"type":"structure","required":["DestinationS3Uri"],"members":{"DestinationS3Uri":{},"KmsKeyId":{}}},"ServerlessConfig":{"shape":"S9d"}}}},"S9d":{"type":"structure","required":["MemorySizeInMB","MaxConcurrency"],"members":{"MemorySizeInMB":{"type":"integer"},"MaxConcurrency":{"type":"integer"}}},"S9g":{"type":"structure","required":["InitialSamplingPercentage","DestinationS3Uri","CaptureOptions"],"members":{"EnableCapture":{"type":"boolean"},"InitialSamplingPercentage":{"type":"integer"},"DestinationS3Uri":{},"KmsKeyId":{},"CaptureOptions":{"type":"list","member":{"type":"structure","required":["CaptureMode"],"members":{"CaptureMode":{}}}},"CaptureContentTypeHeader":{"type":"structure","members":{"CsvContentTypes":{"type":"list","member":{}},"JsonContentTypes":{"type":"list","member":{}}}}}},"S9r":{"type":"structure","required":["OutputConfig"],"members":{"ClientConfig":{"type":"structure","members":{"MaxConcurrentInvocationsPerInstance":{"type":"integer"}}},"OutputConfig":{"type":"structure","required":["S3OutputPath"],"members":{"KmsKeyId":{},"S3OutputPath":{},"NotificationConfig":{"type":"structure","members":{"SuccessTopic":{},"ErrorTopic":{}}}}}}},"Sa5":{"type":"list","member":{"type":"structure","members":{"FeatureName":{},"FeatureType":{}}}},"Sa8":{"type":"structure","members":{"SecurityConfig":{"type":"structure","members":{"KmsKeyId":{}}},"EnableOnlineStore":{"type":"boolean"}}},"Saa":{"type":"structure","required":["S3StorageConfig"],"members":{"S3StorageConfig":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"KmsKeyId":{},"ResolvedOutputS3Uri":{}}},"DisableGlueTableCreation":{"type":"boolean"},"DataCatalogConfig":{"type":"structure","required":["TableName","Catalog","Database"],"members":{"TableName":{},"Catalog":{},"Database":{}}}}},"Sal":{"type":"structure","required":["AwsManagedHumanLoopRequestSource"],"members":{"AwsManagedHumanLoopRequestSource":{}}},"San":{"type":"structure","required":["HumanLoopActivationConditionsConfig"],"members":{"HumanLoopActivationConditionsConfig":{"type":"structure","required":["HumanLoopActivationConditions"],"members":{"HumanLoopActivationConditions":{"jsonvalue":true}}}}},"Saq":{"type":"structure","required":["WorkteamArn","HumanTaskUiArn","TaskTitle","TaskDescription","TaskCount"],"members":{"WorkteamArn":{},"HumanTaskUiArn":{},"TaskTitle":{},"TaskDescription":{},"TaskCount":{"type":"integer"},"TaskAvailabilityLifetimeInSeconds":{"type":"integer"},"TaskTimeLimitInSeconds":{"type":"integer"},"TaskKeywords":{"type":"list","member":{}},"PublicWorkforceTaskPrice":{"shape":"Sb0"}}},"Sb0":{"type":"structure","members":{"AmountInUsd":{"type":"structure","members":{"Dollars":{"type":"integer"},"Cents":{"type":"integer"},"TenthFractionsOfACent":{"type":"integer"}}}}},"Sb5":{"type":"structure","required":["S3OutputPath"],"members":{"S3OutputPath":{},"KmsKeyId":{}}},"Sba":{"type":"structure","required":["Content"],"members":{"Content":{}}},"Sbf":{"type":"structure","required":["Strategy","ResourceLimits"],"members":{"Strategy":{},"HyperParameterTuningJobObjective":{"shape":"S2m"},"ResourceLimits":{"shape":"Sbh"},"ParameterRanges":{"shape":"Sbk"},"TrainingJobEarlyStoppingType":{},"TuningJobCompletionCriteria":{"type":"structure","required":["TargetObjectiveMetricValue"],"members":{"TargetObjectiveMetricValue":{"type":"float"}}}}},"Sbh":{"type":"structure","required":["MaxNumberOfTrainingJobs","MaxParallelTrainingJobs"],"members":{"MaxNumberOfTrainingJobs":{"type":"integer"},"MaxParallelTrainingJobs":{"type":"integer"}}},"Sbk":{"type":"structure","members":{"IntegerParameterRanges":{"type":"list","member":{"type":"structure","required":["Name","MinValue","MaxValue"],"members":{"Name":{},"MinValue":{},"MaxValue":{},"ScalingType":{}}}},"ContinuousParameterRanges":{"type":"list","member":{"type":"structure","required":["Name","MinValue","MaxValue"],"members":{"Name":{},"MinValue":{},"MaxValue":{},"ScalingType":{}}}},"CategoricalParameterRanges":{"type":"list","member":{"type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"shape":"S25"}}}}}},"Sbw":{"type":"structure","required":["AlgorithmSpecification","RoleArn","OutputDataConfig","ResourceConfig","StoppingCondition"],"members":{"DefinitionName":{},"TuningObjective":{"shape":"S2m"},"HyperParameterRanges":{"shape":"Sbk"},"StaticHyperParameters":{"shape":"S2t"},"AlgorithmSpecification":{"type":"structure","required":["TrainingInputMode"],"members":{"TrainingImage":{},"TrainingInputMode":{},"AlgorithmName":{},"MetricDefinitions":{"shape":"S2a"}}},"RoleArn":{},"InputDataConfig":{"shape":"S2v"},"VpcConfig":{"shape":"S5h"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"StoppingCondition":{"shape":"S3h"},"EnableNetworkIsolation":{"type":"boolean"},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableManagedSpotTraining":{"type":"boolean"},"CheckpointConfig":{"shape":"Sc1"},"RetryStrategy":{"shape":"Sc2"}}},"Sc1":{"type":"structure","required":["S3Uri"],"members":{"S3Uri":{},"LocalPath":{}}},"Sc2":{"type":"structure","required":["MaximumRetryAttempts"],"members":{"MaximumRetryAttempts":{"type":"integer"}}},"Sc4":{"type":"list","member":{"shape":"Sbw"}},"Sc5":{"type":"structure","required":["ParentHyperParameterTuningJobs","WarmStartType"],"members":{"ParentHyperParameterTuningJobs":{"type":"list","member":{"type":"structure","members":{"HyperParameterTuningJobName":{}}}},"WarmStartType":{}}},"Scm":{"type":"structure","required":["ModelPackageVersionArn"],"members":{"ModelPackageVersionArn":{},"JobDurationInSeconds":{"type":"integer"},"TrafficPattern":{"type":"structure","members":{"TrafficType":{},"Phases":{"type":"list","member":{"type":"structure","members":{"InitialNumberOfUsers":{"type":"integer"},"SpawnRate":{"type":"integer"},"DurationInSeconds":{"type":"integer"}}}}}},"ResourceLimit":{"type":"structure","members":{"MaxNumberOfTests":{"type":"integer"},"MaxParallelOfTests":{"type":"integer"}}},"EndpointConfigurations":{"type":"list","member":{"type":"structure","required":["InstanceType"],"members":{"InstanceType":{},"InferenceSpecificationName":{},"EnvironmentParameterRanges":{"type":"structure","members":{"CategoricalParameterRanges":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{"type":"list","member":{}}}}}}}}}}}},"Sd8":{"type":"structure","members":{"MaxInvocations":{"type":"integer"},"ModelLatencyThresholds":{"type":"list","member":{"type":"structure","members":{"Percentile":{},"ValueInMilliseconds":{"type":"integer"}}}}}},"Sdh":{"type":"structure","required":["DataSource"],"members":{"DataSource":{"type":"structure","members":{"S3DataSource":{"type":"structure","required":["ManifestS3Uri"],"members":{"ManifestS3Uri":{}}},"SnsDataSource":{"type":"structure","required":["SnsTopicArn"],"members":{"SnsTopicArn":{}}}}},"DataAttributes":{"type":"structure","members":{"ContentClassifiers":{"type":"list","member":{}}}}}},"Sdo":{"type":"structure","required":["S3OutputPath"],"members":{"S3OutputPath":{},"KmsKeyId":{},"SnsTopicArn":{}}},"Sdp":{"type":"structure","members":{"MaxHumanLabeledObjectCount":{"type":"integer"},"MaxPercentageOfInputDatasetLabeled":{"type":"integer"}}},"Sds":{"type":"structure","required":["LabelingJobAlgorithmSpecificationArn"],"members":{"LabelingJobAlgorithmSpecificationArn":{},"InitialActiveLearningModelArn":{},"LabelingJobResourceConfig":{"type":"structure","members":{"VolumeKmsKeyId":{}}}}},"Sdw":{"type":"structure","required":["WorkteamArn","UiConfig","PreHumanTaskLambdaArn","TaskTitle","TaskDescription","NumberOfHumanWorkersPerDataObject","TaskTimeLimitInSeconds","AnnotationConsolidationConfig"],"members":{"WorkteamArn":{},"UiConfig":{"type":"structure","members":{"UiTemplateS3Uri":{},"HumanTaskUiArn":{}}},"PreHumanTaskLambdaArn":{},"TaskKeywords":{"type":"list","member":{}},"TaskTitle":{},"TaskDescription":{},"NumberOfHumanWorkersPerDataObject":{"type":"integer"},"TaskTimeLimitInSeconds":{"type":"integer"},"TaskAvailabilityLifetimeInSeconds":{"type":"integer"},"MaxConcurrentTaskCount":{"type":"integer"},"AnnotationConsolidationConfig":{"type":"structure","required":["AnnotationConsolidationLambdaArn"],"members":{"AnnotationConsolidationLambdaArn":{}}},"PublicWorkforceTaskPrice":{"shape":"Sb0"}}},"Seb":{"type":"structure","members":{"ContainerHostname":{},"Image":{},"ImageConfig":{"type":"structure","required":["RepositoryAccessMode"],"members":{"RepositoryAccessMode":{},"RepositoryAuthConfig":{"type":"structure","required":["RepositoryCredentialsProviderArn"],"members":{"RepositoryCredentialsProviderArn":{}}}}},"Mode":{},"ModelDataUrl":{},"Environment":{"shape":"Sz"},"ModelPackageName":{},"InferenceSpecificationName":{},"MultiModelConfig":{"type":"structure","members":{"ModelCacheSetting":{}}}}},"Sek":{"type":"list","member":{"shape":"Seb"}},"Sel":{"type":"structure","required":["Mode"],"members":{"Mode":{}}},"Sep":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"}}},"Seq":{"type":"structure","required":["ImageUri","ConfigUri"],"members":{"ImageUri":{},"ConfigUri":{},"Environment":{"shape":"S6w"}}},"Ser":{"type":"structure","required":["EndpointInput","GroundTruthS3Input"],"members":{"EndpointInput":{"shape":"S70"},"GroundTruthS3Input":{"shape":"Ses"}}},"Ses":{"type":"structure","members":{"S3Uri":{}}},"Sev":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"}}},"Sew":{"type":"structure","required":["ImageUri","ConfigUri"],"members":{"ImageUri":{},"ConfigUri":{},"Environment":{"shape":"S6w"}}},"Sex":{"type":"structure","required":["EndpointInput"],"members":{"EndpointInput":{"shape":"S70"}}},"Sf0":{"type":"structure","required":["ValidationRole","ValidationProfiles"],"members":{"ValidationRole":{},"ValidationProfiles":{"type":"list","member":{"type":"structure","required":["ProfileName","TransformJobDefinition"],"members":{"ProfileName":{},"TransformJobDefinition":{"shape":"S3k"}}}}}},"Sf3":{"type":"structure","required":["SourceAlgorithms"],"members":{"SourceAlgorithms":{"type":"list","member":{"type":"structure","required":["AlgorithmName"],"members":{"ModelDataUrl":{},"AlgorithmName":{}}}}}},"Sf6":{"type":"structure","members":{"ModelQuality":{"type":"structure","members":{"Statistics":{"shape":"Sf8"},"Constraints":{"shape":"Sf8"}}},"ModelDataQuality":{"type":"structure","members":{"Statistics":{"shape":"Sf8"},"Constraints":{"shape":"Sf8"}}},"Bias":{"type":"structure","members":{"Report":{"shape":"Sf8"},"PreTrainingReport":{"shape":"Sf8"},"PostTrainingReport":{"shape":"Sf8"}}},"Explainability":{"type":"structure","members":{"Report":{"shape":"Sf8"}}}}},"Sf8":{"type":"structure","required":["ContentType","S3Uri"],"members":{"ContentType":{},"ContentDigest":{},"S3Uri":{}}},"Sfd":{"type":"map","key":{},"value":{}},"Sfg":{"type":"structure","members":{"Bias":{"type":"structure","members":{"ConfigFile":{"shape":"Sfi"},"PreTrainingConstraints":{"shape":"Sf8"},"PostTrainingConstraints":{"shape":"Sf8"}}},"Explainability":{"type":"structure","members":{"Constraints":{"shape":"Sf8"},"ConfigFile":{"shape":"Sfi"}}},"ModelQuality":{"type":"structure","members":{"Statistics":{"shape":"Sf8"},"Constraints":{"shape":"Sf8"}}},"ModelDataQuality":{"type":"structure","members":{"Statistics":{"shape":"Sf8"},"Constraints":{"shape":"Sf8"}}}}},"Sfi":{"type":"structure","required":["S3Uri"],"members":{"ContentType":{},"ContentDigest":{},"S3Uri":{}}},"Sfm":{"type":"list","member":{"type":"structure","required":["Name","Containers"],"members":{"Name":{},"Description":{},"Containers":{"shape":"Ss"},"SupportedTransformInstanceTypes":{"shape":"S16"},"SupportedRealtimeInferenceInstanceTypes":{"shape":"S18"},"SupportedContentTypes":{"shape":"S1a"},"SupportedResponseMIMETypes":{"shape":"S1c"}}}},"Sft":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"}}},"Sfu":{"type":"structure","required":["ImageUri"],"members":{"ImageUri":{},"ContainerEntrypoint":{"shape":"S6s"},"ContainerArguments":{"shape":"S6u"},"RecordPreprocessorSourceUri":{},"PostAnalyticsProcessorSourceUri":{},"ProblemType":{},"Environment":{"shape":"S6w"}}},"Sfw":{"type":"structure","required":["EndpointInput","GroundTruthS3Input"],"members":{"EndpointInput":{"shape":"S70"},"GroundTruthS3Input":{"shape":"Ses"}}},"Sg0":{"type":"structure","members":{"ScheduleConfig":{"type":"structure","required":["ScheduleExpression"],"members":{"ScheduleExpression":{}}},"MonitoringJobDefinition":{"type":"structure","required":["MonitoringInputs","MonitoringOutputConfig","MonitoringResources","MonitoringAppSpecification","RoleArn"],"members":{"BaselineConfig":{"type":"structure","members":{"BaseliningJobName":{},"ConstraintsResource":{"shape":"S6o"},"StatisticsResource":{"shape":"S6p"}}},"MonitoringInputs":{"type":"list","member":{"type":"structure","required":["EndpointInput"],"members":{"EndpointInput":{"shape":"S70"}}}},"MonitoringOutputConfig":{"shape":"S76"},"MonitoringResources":{"shape":"S7c"},"MonitoringAppSpecification":{"type":"structure","required":["ImageUri"],"members":{"ImageUri":{},"ContainerEntrypoint":{"shape":"S6s"},"ContainerArguments":{"shape":"S6u"},"RecordPreprocessorSourceUri":{},"PostAnalyticsProcessorSourceUri":{}}},"StoppingCondition":{"shape":"S7i"},"Environment":{"shape":"S6w"},"NetworkConfig":{"shape":"Sg8"},"RoleArn":{}}},"MonitoringJobDefinitionName":{},"MonitoringType":{}}},"Sg8":{"type":"structure","members":{"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableNetworkIsolation":{"type":"boolean"},"VpcConfig":{"shape":"S5h"}}},"Sgi":{"type":"list","member":{}},"Sgl":{"type":"list","member":{}},"Sgr":{"type":"list","member":{"type":"structure","members":{"Content":{}}}},"Sgz":{"type":"structure","required":["Bucket","ObjectKey"],"members":{"Bucket":{},"ObjectKey":{},"VersionId":{}}},"Sh5":{"type":"structure","required":["MaxParallelExecutionSteps"],"members":{"MaxParallelExecutionSteps":{"type":"integer"}}},"Shi":{"type":"list","member":{"type":"structure","required":["InputName"],"members":{"InputName":{},"AppManaged":{"type":"boolean"},"S3Input":{"type":"structure","required":["S3Uri","S3DataType"],"members":{"S3Uri":{},"LocalPath":{},"S3DataType":{},"S3InputMode":{},"S3DataDistributionType":{},"S3CompressionType":{}}},"DatasetDefinition":{"type":"structure","members":{"AthenaDatasetDefinition":{"type":"structure","required":["Catalog","Database","QueryString","OutputS3Uri","OutputFormat"],"members":{"Catalog":{},"Database":{},"QueryString":{},"WorkGroup":{},"OutputS3Uri":{},"KmsKeyId":{},"OutputFormat":{},"OutputCompression":{}}},"RedshiftDatasetDefinition":{"type":"structure","required":["ClusterId","Database","DbUser","QueryString","ClusterRoleArn","OutputS3Uri","OutputFormat"],"members":{"ClusterId":{},"Database":{},"DbUser":{},"QueryString":{},"ClusterRoleArn":{},"OutputS3Uri":{},"KmsKeyId":{},"OutputFormat":{},"OutputCompression":{}}},"LocalPath":{},"DataDistributionType":{},"InputMode":{}}}}}},"Si5":{"type":"structure","required":["Outputs"],"members":{"Outputs":{"type":"list","member":{"type":"structure","required":["OutputName"],"members":{"OutputName":{},"S3Output":{"type":"structure","required":["S3Uri","LocalPath","S3UploadMode"],"members":{"S3Uri":{},"LocalPath":{},"S3UploadMode":{}}},"FeatureStoreOutput":{"type":"structure","required":["FeatureGroupName"],"members":{"FeatureGroupName":{}}},"AppManaged":{"type":"boolean"}}}},"KmsKeyId":{}}},"Sia":{"type":"structure","required":["ClusterConfig"],"members":{"ClusterConfig":{"type":"structure","required":["InstanceCount","InstanceType","VolumeSizeInGB"],"members":{"InstanceCount":{"type":"integer"},"InstanceType":{},"VolumeSizeInGB":{"type":"integer"},"VolumeKmsKeyId":{}}}}},"Sic":{"type":"structure","required":["MaxRuntimeInSeconds"],"members":{"MaxRuntimeInSeconds":{"type":"integer"}}},"Sie":{"type":"structure","required":["ImageUri"],"members":{"ImageUri":{},"ContainerEntrypoint":{"shape":"S6s"},"ContainerArguments":{"type":"list","member":{}}}},"Sig":{"type":"map","key":{},"value":{}},"Sih":{"type":"structure","members":{"ExperimentName":{},"TrialName":{},"TrialComponentDisplayName":{}}},"Sim":{"type":"structure","required":["ProductId"],"members":{"ProductId":{},"ProvisioningArtifactId":{},"PathId":{},"ProvisioningParameters":{"shape":"Sio"}}},"Sio":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"Sj2":{"type":"structure","required":["TrainingInputMode"],"members":{"TrainingImage":{},"AlgorithmName":{},"TrainingInputMode":{},"MetricDefinitions":{"shape":"S2a"},"EnableSageMakerMetricsTimeSeries":{"type":"boolean"}}},"Sj3":{"type":"structure","required":["S3OutputPath"],"members":{"LocalPath":{},"S3OutputPath":{},"HookParameters":{"type":"map","key":{},"value":{}},"CollectionConfigurations":{"type":"list","member":{"type":"structure","members":{"CollectionName":{},"CollectionParameters":{"type":"map","key":{},"value":{}}}}}}},"Sjb":{"type":"list","member":{"type":"structure","required":["RuleConfigurationName","RuleEvaluatorImage"],"members":{"RuleConfigurationName":{},"LocalPath":{},"S3OutputPath":{},"RuleEvaluatorImage":{},"InstanceType":{},"VolumeSizeInGB":{"type":"integer"},"RuleParameters":{"shape":"Sjf"}}}},"Sjf":{"type":"map","key":{},"value":{}},"Sjg":{"type":"structure","required":["S3OutputPath"],"members":{"LocalPath":{},"S3OutputPath":{}}},"Sjh":{"type":"structure","required":["S3OutputPath"],"members":{"S3OutputPath":{},"ProfilingIntervalInMilliseconds":{"type":"long"},"ProfilingParameters":{"shape":"Sjj"}}},"Sjj":{"type":"map","key":{},"value":{}},"Sjk":{"type":"list","member":{"type":"structure","required":["RuleConfigurationName","RuleEvaluatorImage"],"members":{"RuleConfigurationName":{},"LocalPath":{},"S3OutputPath":{},"RuleEvaluatorImage":{},"InstanceType":{},"VolumeSizeInGB":{"type":"integer"},"RuleParameters":{"shape":"Sjf"}}}},"Sjm":{"type":"map","key":{},"value":{}},"Sjt":{"type":"structure","members":{"InvocationsTimeoutInSeconds":{"type":"integer"},"InvocationsMaxRetries":{"type":"integer"}}},"Sjw":{"type":"structure","members":{"InputFilter":{},"OutputFilter":{},"JoinSource":{}}},"Sk4":{"type":"structure","members":{"PrimaryStatus":{},"Message":{}}},"Sk8":{"type":"map","key":{},"value":{"type":"structure","members":{"StringValue":{},"NumberValue":{"type":"double"}}}},"Skc":{"type":"map","key":{},"value":{"type":"structure","required":["Value"],"members":{"MediaType":{},"Value":{}}}},"Skn":{"type":"structure","required":["UserPool","ClientId"],"members":{"UserPool":{},"ClientId":{}}},"Skq":{"type":"structure","required":["ClientId","ClientSecret","Issuer","AuthorizationEndpoint","TokenEndpoint","UserInfoEndpoint","LogoutEndpoint","JwksUri"],"members":{"ClientId":{},"ClientSecret":{"type":"string","sensitive":true},"Issuer":{},"AuthorizationEndpoint":{},"TokenEndpoint":{},"UserInfoEndpoint":{},"LogoutEndpoint":{},"JwksUri":{}}},"Skt":{"type":"structure","required":["Cidrs"],"members":{"Cidrs":{"type":"list","member":{}}}},"Sl1":{"type":"list","member":{"type":"structure","members":{"CognitoMemberDefinition":{"type":"structure","required":["UserPool","UserGroup","ClientId"],"members":{"UserPool":{},"UserGroup":{},"ClientId":{}}},"OidcMemberDefinition":{"type":"structure","required":["Groups"],"members":{"Groups":{"type":"list","member":{}}}}}}},"Sl9":{"type":"structure","members":{"NotificationTopicArn":{}}},"Sn3":{"type":"structure","members":{"UserProfileArn":{},"UserProfileName":{},"DomainId":{}}},"Sn9":{"type":"list","member":{"type":"structure","required":["Name","Status"],"members":{"Name":{},"Status":{},"FailureReason":{}}}},"Snn":{"type":"list","member":{"type":"structure","members":{"PartialFailureMessage":{}}}},"Snp":{"type":"structure","required":["CandidateName","ObjectiveStatus","CandidateSteps","CandidateStatus","CreationTime","LastModifiedTime"],"members":{"CandidateName":{},"FinalAutoMLJobObjectiveMetric":{"type":"structure","required":["MetricName","Value"],"members":{"Type":{},"MetricName":{},"Value":{"type":"float"}}},"ObjectiveStatus":{},"CandidateSteps":{"type":"list","member":{"type":"structure","required":["CandidateStepType","CandidateStepArn","CandidateStepName"],"members":{"CandidateStepType":{},"CandidateStepArn":{},"CandidateStepName":{}}}},"CandidateStatus":{},"InferenceContainers":{"type":"list","member":{"type":"structure","required":["Image","ModelDataUrl"],"members":{"Image":{},"ModelDataUrl":{},"Environment":{"shape":"Sz"}}}},"CreationTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"CandidateProperties":{"type":"structure","members":{"CandidateArtifactLocations":{"type":"structure","required":["Explainability"],"members":{"Explainability":{},"ModelInsights":{}}},"CandidateMetrics":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"Value":{"type":"float"},"Set":{}}}}}}}},"Sop":{"type":"structure","required":["S3ModelArtifacts"],"members":{"S3ModelArtifacts":{}}},"Spl":{"type":"list","member":{"type":"structure","required":["VariantName"],"members":{"VariantName":{},"DeployedImages":{"shape":"Spn"},"CurrentWeight":{"type":"float"},"DesiredWeight":{"type":"float"},"CurrentInstanceCount":{"type":"integer"},"DesiredInstanceCount":{"type":"integer"},"VariantStatus":{"shape":"Spq"},"CurrentServerlessConfig":{"shape":"S9d"},"DesiredServerlessConfig":{"shape":"S9d"}}}},"Spn":{"type":"list","member":{"type":"structure","members":{"SpecifiedImage":{},"ResolvedImage":{},"ResolutionTime":{"type":"timestamp"}}}},"Spq":{"type":"list","member":{"type":"structure","required":["Status"],"members":{"Status":{},"StatusMessage":{},"StartTime":{"type":"timestamp"}}}},"Spu":{"type":"structure","required":["EnableCapture","CaptureStatus","CurrentSamplingPercentage","DestinationS3Uri","KmsKeyId"],"members":{"EnableCapture":{"type":"boolean"},"CaptureStatus":{},"CurrentSamplingPercentage":{"type":"integer"},"DestinationS3Uri":{},"KmsKeyId":{}}},"Sq4":{"type":"structure","required":["SourceArn"],"members":{"SourceArn":{},"SourceType":{}}},"Sqa":{"type":"structure","required":["Status"],"members":{"Status":{},"BlockedReason":{}}},"Sqp":{"type":"structure","members":{"Completed":{"type":"integer"},"InProgress":{"type":"integer"},"RetryableError":{"type":"integer"},"NonRetryableError":{"type":"integer"},"Stopped":{"type":"integer"}}},"Sqr":{"type":"structure","members":{"Succeeded":{"type":"integer"},"Pending":{"type":"integer"},"Failed":{"type":"integer"}}},"Sqt":{"type":"structure","required":["TrainingJobName","TrainingJobArn","CreationTime","TrainingJobStatus","TunedHyperParameters"],"members":{"TrainingJobDefinitionName":{},"TrainingJobName":{},"TrainingJobArn":{},"TuningJobName":{},"CreationTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"TrainingJobStatus":{},"TunedHyperParameters":{"shape":"S2t"},"FailureReason":{},"FinalHyperParameterTuningJobObjectiveMetric":{"type":"structure","required":["MetricName","Value"],"members":{"Type":{},"MetricName":{},"Value":{"type":"float"}}},"ObjectiveStatus":{}}},"Srg":{"type":"structure","members":{"TotalLabeled":{"type":"integer"},"HumanLabeled":{"type":"integer"},"MachineLabeled":{"type":"integer"},"FailedNonRetryableError":{"type":"integer"},"Unlabeled":{"type":"integer"}}},"Srj":{"type":"structure","required":["OutputDatasetS3Uri"],"members":{"OutputDatasetS3Uri":{},"FinalActiveLearningModelArn":{}}},"Sru":{"type":"structure","required":["ValidationStatuses"],"members":{"ValidationStatuses":{"shape":"Srv"},"ImageScanStatuses":{"shape":"Srv"}}},"Srv":{"type":"list","member":{"type":"structure","required":["Name","Status"],"members":{"Name":{},"Status":{},"FailureReason":{}}}},"Ss7":{"type":"structure","required":["MonitoringScheduleName","ScheduledTime","CreationTime","LastModifiedTime","MonitoringExecutionStatus"],"members":{"MonitoringScheduleName":{},"ScheduledTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"MonitoringExecutionStatus":{},"ProcessingJobArn":{},"EndpointName":{},"FailureReason":{},"MonitoringJobDefinitionName":{},"MonitoringType":{}}},"Ssq":{"type":"structure","members":{"ExperimentName":{},"TrialName":{}}},"Ssy":{"type":"structure","members":{"ProvisionedProductId":{},"ProvisionedProductStatusMessage":{}}},"St5":{"type":"structure","required":["WorkteamArn"],"members":{"WorkteamArn":{},"MarketplaceTitle":{},"SellerName":{},"MarketplaceDescription":{},"ListingId":{}}},"St9":{"type":"list","member":{"type":"structure","required":["Status","StartTime"],"members":{"Status":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"StatusMessage":{}}}},"Stc":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"Value":{"type":"float"},"Timestamp":{"type":"timestamp"}}}},"Stg":{"type":"list","member":{"type":"structure","members":{"RuleConfigurationName":{},"RuleEvaluationJobArn":{},"RuleEvaluationStatus":{},"StatusDetails":{},"LastModifiedTime":{"type":"timestamp"}}}},"Sts":{"type":"structure","required":["SourceArn"],"members":{"SourceArn":{},"SourceType":{}}},"Stw":{"type":"structure","required":["SourceArn"],"members":{"SourceArn":{},"SourceType":{}}},"Sty":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"SourceArn":{},"TimeStamp":{"type":"timestamp"},"Max":{"type":"double"},"Min":{"type":"double"},"Last":{"type":"double"},"Count":{"type":"integer"},"Avg":{"type":"double"},"StdDev":{"type":"double"}}}},"Su8":{"type":"structure","required":["WorkforceName","WorkforceArn"],"members":{"WorkforceName":{},"WorkforceArn":{},"LastUpdatedDate":{"type":"timestamp"},"SourceIpConfig":{"shape":"Skt"},"SubDomain":{},"CognitoConfig":{"shape":"Skn"},"OidcConfig":{"type":"structure","members":{"ClientId":{},"Issuer":{},"AuthorizationEndpoint":{},"TokenEndpoint":{},"UserInfoEndpoint":{},"LogoutEndpoint":{},"JwksUri":{}}},"CreateDate":{"type":"timestamp"}}},"Suc":{"type":"structure","required":["WorkteamName","MemberDefinitions","WorkteamArn","Description"],"members":{"WorkteamName":{},"MemberDefinitions":{"shape":"Sl1"},"WorkteamArn":{},"WorkforceArn":{},"ProductListingIds":{"type":"list","member":{}},"Description":{},"SubDomain":{},"CreateDate":{"type":"timestamp"},"LastUpdatedDate":{"type":"timestamp"},"NotificationConfiguration":{"shape":"Sl9"}}},"Sx5":{"type":"list","member":{"type":"structure","required":["MonitoringJobDefinitionName","MonitoringJobDefinitionArn","CreationTime","EndpointName"],"members":{"MonitoringJobDefinitionName":{},"MonitoringJobDefinitionArn":{},"CreationTime":{"type":"timestamp"},"EndpointName":{}}}},"S120":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"S12f":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"S14r":{"type":"list","member":{"type":"structure","required":["DeviceName"],"members":{"DeviceName":{},"Description":{},"IotThingName":{}}}},"S152":{"type":"structure","members":{"Filters":{"shape":"S153"},"NestedFilters":{"type":"list","member":{"type":"structure","required":["NestedPropertyName","Filters"],"members":{"NestedPropertyName":{},"Filters":{"shape":"S153"}}}},"SubExpressions":{"type":"list","member":{"shape":"S152"}},"Operator":{}}},"S153":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Operator":{},"Value":{}}}},"S15f":{"type":"structure","members":{"TrainingJobName":{},"TrainingJobArn":{},"TuningJobArn":{},"LabelingJobArn":{},"AutoMLJobArn":{},"ModelArtifacts":{"shape":"Sop"},"TrainingJobStatus":{},"SecondaryStatus":{},"FailureReason":{},"HyperParameters":{"shape":"S2t"},"AlgorithmSpecification":{"shape":"Sj2"},"RoleArn":{},"InputDataConfig":{"shape":"S2v"},"OutputDataConfig":{"shape":"S3c"},"ResourceConfig":{"shape":"S3e"},"VpcConfig":{"shape":"S5h"},"StoppingCondition":{"shape":"S3h"},"CreationTime":{"type":"timestamp"},"TrainingStartTime":{"type":"timestamp"},"TrainingEndTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"SecondaryStatusTransitions":{"shape":"St9"},"FinalMetricDataList":{"shape":"Stc"},"EnableNetworkIsolation":{"type":"boolean"},"EnableInterContainerTrafficEncryption":{"type":"boolean"},"EnableManagedSpotTraining":{"type":"boolean"},"CheckpointConfig":{"shape":"Sc1"},"TrainingTimeInSeconds":{"type":"integer"},"BillableTimeInSeconds":{"type":"integer"},"DebugHookConfig":{"shape":"Sj3"},"ExperimentConfig":{"shape":"Sih"},"DebugRuleConfigurations":{"shape":"Sjb"},"TensorBoardOutputConfig":{"shape":"Sjg"},"DebugRuleEvaluationStatuses":{"shape":"Stg"},"Environment":{"shape":"Sjm"},"RetryStrategy":{"shape":"Sc2"},"Tags":{"shape":"S7"}}},"S16l":{"type":"list","member":{}},"S188":{"type":"list","member":{}}}} /***/ }), /* 571 */ @@ -49432,7 +49438,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 598 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-26","endpointPrefix":"transcribe","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Transcribe Service","serviceId":"Transcribe","signatureVersion":"v4","signingName":"transcribe","targetPrefix":"Transcribe","uid":"transcribe-2017-10-26"},"operations":{"CreateCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName","Rules"],"members":{"CategoryName":{},"Rules":{"shape":"S3"}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"CreateLanguageModel":{"input":{"type":"structure","required":["LanguageCode","BaseModelName","ModelName","InputDataConfig"],"members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"Sr"},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"Sr"},"ModelStatus":{}}}},"CreateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode","VocabularyFileUri"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"S17"},"VocabularyFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName","LanguageCode"],"members":{"VocabularyFilterName":{},"LanguageCode":{},"Words":{"shape":"S1c"},"VocabularyFilterFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}},"DeleteCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName"],"members":{"CategoryName":{}}},"output":{"type":"structure","members":{}}},"DeleteCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName"],"members":{"CallAnalyticsJobName":{}}},"output":{"type":"structure","members":{}}},"DeleteLanguageModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}}},"DeleteMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}}},"DeleteMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}}},"DeleteTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName"],"members":{"TranscriptionJobName":{}}}},"DeleteVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}}},"DeleteVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{}}}},"DescribeLanguageModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}},"output":{"type":"structure","members":{"LanguageModel":{"shape":"S1t"}}}},"GetCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName"],"members":{"CategoryName":{}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"GetCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName"],"members":{"CallAnalyticsJobName":{}}},"output":{"type":"structure","members":{"CallAnalyticsJob":{"shape":"S1y"}}}},"GetMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S2i"}}}},"GetMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"DownloadUri":{}}}},"GetTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName"],"members":{"TranscriptionJobName":{}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S2v"}}}},"GetVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"DownloadUri":{}}}},"GetVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"DownloadUri":{}}}},"ListCallAnalyticsCategories":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Categories":{"type":"list","member":{"shape":"Sl"}}}}},"ListCallAnalyticsJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"CallAnalyticsJobSummaries":{"type":"list","member":{"type":"structure","members":{"CallAnalyticsJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"CallAnalyticsJobStatus":{},"FailureReason":{}}}}}}},"ListLanguageModels":{"input":{"type":"structure","members":{"StatusEquals":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Models":{"type":"list","member":{"shape":"S1t"}}}}},"ListMedicalTranscriptionJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"MedicalTranscriptionJobSummaries":{"type":"list","member":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"TranscriptionJobStatus":{},"FailureReason":{},"OutputLocationType":{},"Specialty":{},"ContentIdentificationType":{},"Type":{}}}}}}},"ListMedicalVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S3q"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceArn":{},"Tags":{"shape":"Su"}}}},"ListTranscriptionJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"TranscriptionJobSummaries":{"type":"list","member":{"type":"structure","members":{"TranscriptionJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"TranscriptionJobStatus":{},"FailureReason":{},"OutputLocationType":{},"ContentRedaction":{"shape":"S27"},"ModelSettings":{"shape":"S2x"},"IdentifyLanguage":{"type":"boolean"},"IdentifiedLanguageScore":{"type":"float"}}}}}}},"ListVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S3q"}}}},"ListVocabularyFilters":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{}}},"output":{"type":"structure","members":{"NextToken":{},"VocabularyFilters":{"type":"list","member":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}}}},"StartCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName","Media","DataAccessRoleArn"],"members":{"CallAnalyticsJobName":{},"Media":{"shape":"S22"},"OutputLocation":{},"OutputEncryptionKMSKeyId":{},"DataAccessRoleArn":{},"Settings":{"shape":"S25"},"ChannelDefinitions":{"shape":"S2d"}}},"output":{"type":"structure","members":{"CallAnalyticsJob":{"shape":"S1y"}}}},"StartMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName","LanguageCode","Media","OutputBucketName","Specialty","Type"],"members":{"MedicalTranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"KMSEncryptionContext":{"shape":"S4b"},"Settings":{"shape":"S2l"},"ContentIdentificationType":{},"Specialty":{},"Type":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S2i"}}}},"StartTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName","Media"],"members":{"TranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"KMSEncryptionContext":{"shape":"S4b"},"Settings":{"shape":"S2w"},"ModelSettings":{"shape":"S2x"},"JobExecutionSettings":{"shape":"S2y"},"ContentRedaction":{"shape":"S27"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S2a"},"Subtitles":{"type":"structure","members":{"Formats":{"shape":"S30"}}},"Tags":{"shape":"Su"},"LanguageIdSettings":{"shape":"S2b"}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S2v"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName","Rules"],"members":{"CategoryName":{},"Rules":{"shape":"S3"}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"UpdateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"S17"},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{},"Words":{"shape":"S1c"},"VocabularyFilterFileUri":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","members":{"NonTalkTimeFilter":{"type":"structure","members":{"Threshold":{"type":"long"},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"Negate":{"type":"boolean"}}},"InterruptionFilter":{"type":"structure","members":{"Threshold":{"type":"long"},"ParticipantRole":{},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"Negate":{"type":"boolean"}}},"TranscriptFilter":{"type":"structure","required":["TranscriptFilterType","Targets"],"members":{"TranscriptFilterType":{},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"ParticipantRole":{},"Negate":{"type":"boolean"},"Targets":{"type":"list","member":{}}}},"SentimentFilter":{"type":"structure","required":["Sentiments"],"members":{"Sentiments":{"type":"list","member":{}},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"ParticipantRole":{},"Negate":{"type":"boolean"}}}},"union":true}},"S7":{"type":"structure","members":{"StartTime":{"type":"long"},"EndTime":{"type":"long"},"First":{"type":"long"},"Last":{"type":"long"}}},"S8":{"type":"structure","members":{"StartPercentage":{"type":"integer"},"EndPercentage":{"type":"integer"},"First":{"type":"integer"},"Last":{"type":"integer"}}},"Sl":{"type":"structure","members":{"CategoryName":{},"Rules":{"shape":"S3"},"CreateTime":{"type":"timestamp"},"LastUpdateTime":{"type":"timestamp"}}},"Sr":{"type":"structure","required":["S3Uri","DataAccessRoleArn"],"members":{"S3Uri":{},"TuningDataS3Uri":{},"DataAccessRoleArn":{}}},"Su":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S17":{"type":"list","member":{}},"S1c":{"type":"list","member":{}},"S1t":{"type":"structure","members":{"ModelName":{},"CreateTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LanguageCode":{},"BaseModelName":{},"ModelStatus":{},"UpgradeAvailability":{"type":"boolean"},"FailureReason":{},"InputDataConfig":{"shape":"Sr"}}},"S1y":{"type":"structure","members":{"CallAnalyticsJobName":{},"CallAnalyticsJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"shape":"S23"},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"DataAccessRoleArn":{},"IdentifiedLanguageScore":{"type":"float"},"Settings":{"shape":"S25"},"ChannelDefinitions":{"shape":"S2d"}}},"S22":{"type":"structure","members":{"MediaFileUri":{},"RedactedMediaFileUri":{}}},"S23":{"type":"structure","members":{"TranscriptFileUri":{},"RedactedTranscriptFileUri":{}}},"S25":{"type":"structure","members":{"VocabularyName":{},"VocabularyFilterName":{},"VocabularyFilterMethod":{},"LanguageModelName":{},"ContentRedaction":{"shape":"S27"},"LanguageOptions":{"shape":"S2a"},"LanguageIdSettings":{"shape":"S2b"}}},"S27":{"type":"structure","required":["RedactionType","RedactionOutput"],"members":{"RedactionType":{},"RedactionOutput":{}}},"S2a":{"type":"list","member":{}},"S2b":{"type":"map","key":{},"value":{"type":"structure","members":{"VocabularyName":{},"VocabularyFilterName":{},"LanguageModelName":{}}}},"S2d":{"type":"list","member":{"type":"structure","members":{"ChannelId":{"type":"integer"},"ParticipantRole":{}}}},"S2i":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"type":"structure","members":{"TranscriptFileUri":{}}},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S2l"},"ContentIdentificationType":{},"Specialty":{},"Type":{},"Tags":{"shape":"Su"}}},"S2l":{"type":"structure","members":{"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyName":{}}},"S2v":{"type":"structure","members":{"TranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"shape":"S23"},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S2w"},"ModelSettings":{"shape":"S2x"},"JobExecutionSettings":{"shape":"S2y"},"ContentRedaction":{"shape":"S27"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S2a"},"IdentifiedLanguageScore":{"type":"float"},"Tags":{"shape":"Su"},"Subtitles":{"type":"structure","members":{"Formats":{"shape":"S30"},"SubtitleFileUris":{"type":"list","member":{}}}},"LanguageIdSettings":{"shape":"S2b"}}},"S2w":{"type":"structure","members":{"VocabularyName":{},"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyFilterName":{},"VocabularyFilterMethod":{}}},"S2x":{"type":"structure","members":{"LanguageModelName":{}}},"S2y":{"type":"structure","members":{"AllowDeferredExecution":{"type":"boolean"},"DataAccessRoleArn":{}}},"S30":{"type":"list","member":{}},"S3q":{"type":"list","member":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"S4b":{"type":"map","key":{},"value":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-26","endpointPrefix":"transcribe","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Transcribe Service","serviceId":"Transcribe","signatureVersion":"v4","signingName":"transcribe","targetPrefix":"Transcribe","uid":"transcribe-2017-10-26"},"operations":{"CreateCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName","Rules"],"members":{"CategoryName":{},"Rules":{"shape":"S3"}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"CreateLanguageModel":{"input":{"type":"structure","required":["LanguageCode","BaseModelName","ModelName","InputDataConfig"],"members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"Sr"},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"Sr"},"ModelStatus":{}}}},"CreateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode","VocabularyFileUri"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"S17"},"VocabularyFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName","LanguageCode"],"members":{"VocabularyFilterName":{},"LanguageCode":{},"Words":{"shape":"S1c"},"VocabularyFilterFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}},"DeleteCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName"],"members":{"CategoryName":{}}},"output":{"type":"structure","members":{}}},"DeleteCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName"],"members":{"CallAnalyticsJobName":{}}},"output":{"type":"structure","members":{}}},"DeleteLanguageModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}}},"DeleteMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}}},"DeleteMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}}},"DeleteTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName"],"members":{"TranscriptionJobName":{}}}},"DeleteVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}}},"DeleteVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{}}}},"DescribeLanguageModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}},"output":{"type":"structure","members":{"LanguageModel":{"shape":"S1t"}}}},"GetCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName"],"members":{"CategoryName":{}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"GetCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName"],"members":{"CallAnalyticsJobName":{}}},"output":{"type":"structure","members":{"CallAnalyticsJob":{"shape":"S1y"}}}},"GetMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S2k"}}}},"GetMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"DownloadUri":{}}}},"GetTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName"],"members":{"TranscriptionJobName":{}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S2x"}}}},"GetVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"DownloadUri":{}}}},"GetVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"DownloadUri":{}}}},"ListCallAnalyticsCategories":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Categories":{"type":"list","member":{"shape":"Sl"}}}}},"ListCallAnalyticsJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"CallAnalyticsJobSummaries":{"type":"list","member":{"type":"structure","members":{"CallAnalyticsJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"CallAnalyticsJobStatus":{},"FailureReason":{}}}}}}},"ListLanguageModels":{"input":{"type":"structure","members":{"StatusEquals":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Models":{"type":"list","member":{"shape":"S1t"}}}}},"ListMedicalTranscriptionJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"MedicalTranscriptionJobSummaries":{"type":"list","member":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"TranscriptionJobStatus":{},"FailureReason":{},"OutputLocationType":{},"Specialty":{},"ContentIdentificationType":{},"Type":{}}}}}}},"ListMedicalVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S3s"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceArn":{},"Tags":{"shape":"Su"}}}},"ListTranscriptionJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"TranscriptionJobSummaries":{"type":"list","member":{"type":"structure","members":{"TranscriptionJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"TranscriptionJobStatus":{},"FailureReason":{},"OutputLocationType":{},"ContentRedaction":{"shape":"S27"},"ModelSettings":{"shape":"S2z"},"IdentifyLanguage":{"type":"boolean"},"IdentifiedLanguageScore":{"type":"float"}}}}}}},"ListVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S3s"}}}},"ListVocabularyFilters":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{}}},"output":{"type":"structure","members":{"NextToken":{},"VocabularyFilters":{"type":"list","member":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}}}},"StartCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName","Media","DataAccessRoleArn"],"members":{"CallAnalyticsJobName":{},"Media":{"shape":"S22"},"OutputLocation":{},"OutputEncryptionKMSKeyId":{},"DataAccessRoleArn":{},"Settings":{"shape":"S25"},"ChannelDefinitions":{"shape":"S2f"}}},"output":{"type":"structure","members":{"CallAnalyticsJob":{"shape":"S1y"}}}},"StartMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName","LanguageCode","Media","OutputBucketName","Specialty","Type"],"members":{"MedicalTranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"KMSEncryptionContext":{"shape":"S4d"},"Settings":{"shape":"S2n"},"ContentIdentificationType":{},"Specialty":{},"Type":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S2k"}}}},"StartTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName","Media"],"members":{"TranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"KMSEncryptionContext":{"shape":"S4d"},"Settings":{"shape":"S2y"},"ModelSettings":{"shape":"S2z"},"JobExecutionSettings":{"shape":"S30"},"ContentRedaction":{"shape":"S27"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S2c"},"Subtitles":{"type":"structure","members":{"Formats":{"shape":"S32"}}},"Tags":{"shape":"Su"},"LanguageIdSettings":{"shape":"S2d"}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S2x"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName","Rules"],"members":{"CategoryName":{},"Rules":{"shape":"S3"}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"UpdateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"S17"},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{},"Words":{"shape":"S1c"},"VocabularyFilterFileUri":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","members":{"NonTalkTimeFilter":{"type":"structure","members":{"Threshold":{"type":"long"},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"Negate":{"type":"boolean"}}},"InterruptionFilter":{"type":"structure","members":{"Threshold":{"type":"long"},"ParticipantRole":{},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"Negate":{"type":"boolean"}}},"TranscriptFilter":{"type":"structure","required":["TranscriptFilterType","Targets"],"members":{"TranscriptFilterType":{},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"ParticipantRole":{},"Negate":{"type":"boolean"},"Targets":{"type":"list","member":{}}}},"SentimentFilter":{"type":"structure","required":["Sentiments"],"members":{"Sentiments":{"type":"list","member":{}},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"ParticipantRole":{},"Negate":{"type":"boolean"}}}},"union":true}},"S7":{"type":"structure","members":{"StartTime":{"type":"long"},"EndTime":{"type":"long"},"First":{"type":"long"},"Last":{"type":"long"}}},"S8":{"type":"structure","members":{"StartPercentage":{"type":"integer"},"EndPercentage":{"type":"integer"},"First":{"type":"integer"},"Last":{"type":"integer"}}},"Sl":{"type":"structure","members":{"CategoryName":{},"Rules":{"shape":"S3"},"CreateTime":{"type":"timestamp"},"LastUpdateTime":{"type":"timestamp"}}},"Sr":{"type":"structure","required":["S3Uri","DataAccessRoleArn"],"members":{"S3Uri":{},"TuningDataS3Uri":{},"DataAccessRoleArn":{}}},"Su":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S17":{"type":"list","member":{}},"S1c":{"type":"list","member":{}},"S1t":{"type":"structure","members":{"ModelName":{},"CreateTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LanguageCode":{},"BaseModelName":{},"ModelStatus":{},"UpgradeAvailability":{"type":"boolean"},"FailureReason":{},"InputDataConfig":{"shape":"Sr"}}},"S1y":{"type":"structure","members":{"CallAnalyticsJobName":{},"CallAnalyticsJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"shape":"S23"},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"DataAccessRoleArn":{},"IdentifiedLanguageScore":{"type":"float"},"Settings":{"shape":"S25"},"ChannelDefinitions":{"shape":"S2f"}}},"S22":{"type":"structure","members":{"MediaFileUri":{},"RedactedMediaFileUri":{}}},"S23":{"type":"structure","members":{"TranscriptFileUri":{},"RedactedTranscriptFileUri":{}}},"S25":{"type":"structure","members":{"VocabularyName":{},"VocabularyFilterName":{},"VocabularyFilterMethod":{},"LanguageModelName":{},"ContentRedaction":{"shape":"S27"},"LanguageOptions":{"shape":"S2c"},"LanguageIdSettings":{"shape":"S2d"}}},"S27":{"type":"structure","required":["RedactionType","RedactionOutput"],"members":{"RedactionType":{},"RedactionOutput":{},"PiiEntityTypes":{"type":"list","member":{}}}},"S2c":{"type":"list","member":{}},"S2d":{"type":"map","key":{},"value":{"type":"structure","members":{"VocabularyName":{},"VocabularyFilterName":{},"LanguageModelName":{}}}},"S2f":{"type":"list","member":{"type":"structure","members":{"ChannelId":{"type":"integer"},"ParticipantRole":{}}}},"S2k":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"type":"structure","members":{"TranscriptFileUri":{}}},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S2n"},"ContentIdentificationType":{},"Specialty":{},"Type":{},"Tags":{"shape":"Su"}}},"S2n":{"type":"structure","members":{"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyName":{}}},"S2x":{"type":"structure","members":{"TranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"shape":"S23"},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S2y"},"ModelSettings":{"shape":"S2z"},"JobExecutionSettings":{"shape":"S30"},"ContentRedaction":{"shape":"S27"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S2c"},"IdentifiedLanguageScore":{"type":"float"},"Tags":{"shape":"Su"},"Subtitles":{"type":"structure","members":{"Formats":{"shape":"S32"},"SubtitleFileUris":{"type":"list","member":{}}}},"LanguageIdSettings":{"shape":"S2d"}}},"S2y":{"type":"structure","members":{"VocabularyName":{},"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyFilterName":{},"VocabularyFilterMethod":{}}},"S2z":{"type":"structure","members":{"LanguageModelName":{}}},"S30":{"type":"structure","members":{"AllowDeferredExecution":{"type":"boolean"},"DataAccessRoleArn":{}}},"S32":{"type":"list","member":{}},"S3s":{"type":"list","member":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"S4d":{"type":"map","key":{},"value":{}}}} /***/ }), /* 599 */ @@ -49468,13 +49474,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 601 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-08-08","endpointPrefix":"connect","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amazon Connect","serviceFullName":"Amazon Connect Service","serviceId":"Connect","signatureVersion":"v4","signingName":"connect","uid":"connect-2017-08-08"},"operations":{"AssociateApprovedOrigin":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/approved-origin"},"input":{"type":"structure","required":["InstanceId","Origin"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Origin":{}}}},"AssociateBot":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/bot"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"LexBot":{"shape":"S5"},"LexV2Bot":{"shape":"S8"}}}},"AssociateInstanceStorageConfig":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/storage-config"},"input":{"type":"structure","required":["InstanceId","ResourceType","StorageConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ResourceType":{},"StorageConfig":{"shape":"Sc"}}},"output":{"type":"structure","members":{"AssociationId":{}}}},"AssociateLambdaFunction":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/lambda-function"},"input":{"type":"structure","required":["InstanceId","FunctionArn"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"FunctionArn":{}}}},"AssociateLexBot":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/lex-bot"},"input":{"type":"structure","required":["InstanceId","LexBot"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"LexBot":{"shape":"S5"}}}},"AssociateQueueQuickConnects":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/associate-quick-connects"},"input":{"type":"structure","required":["InstanceId","QueueId","QuickConnectIds"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"QuickConnectIds":{"shape":"Sw"}}}},"AssociateRoutingProfileQueues":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","QueueConfigs"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"QueueConfigs":{"shape":"S10"}}}},"AssociateSecurityKey":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/security-key"},"input":{"type":"structure","required":["InstanceId","Key"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Key":{}}},"output":{"type":"structure","members":{"AssociationId":{}}}},"CreateAgentStatus":{"http":{"method":"PUT","requestUri":"/agent-status/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","State"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"State":{},"DisplayOrder":{"type":"integer"},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"AgentStatusARN":{},"AgentStatusId":{}}}},"CreateContactFlow":{"http":{"method":"PUT","requestUri":"/contact-flows/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","Type","Content"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Type":{},"Description":{},"Content":{},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"ContactFlowId":{},"ContactFlowArn":{}}}},"CreateContactFlowModule":{"http":{"method":"PUT","requestUri":"/contact-flow-modules/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","Content"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"Content":{},"Tags":{"shape":"S1e"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{},"Arn":{}}}},"CreateHoursOfOperation":{"http":{"method":"PUT","requestUri":"/hours-of-operations/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","TimeZone","Config"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"TimeZone":{},"Config":{"shape":"S21"},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"HoursOfOperationId":{},"HoursOfOperationArn":{}}}},"CreateInstance":{"http":{"method":"PUT","requestUri":"/instance"},"input":{"type":"structure","required":["IdentityManagementType","InboundCallsEnabled","OutboundCallsEnabled"],"members":{"ClientToken":{},"IdentityManagementType":{},"InstanceAlias":{"shape":"S2b"},"DirectoryId":{},"InboundCallsEnabled":{"type":"boolean"},"OutboundCallsEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"Id":{},"Arn":{}}}},"CreateIntegrationAssociation":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/integration-associations"},"input":{"type":"structure","required":["InstanceId","IntegrationType","IntegrationArn"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationType":{},"IntegrationArn":{},"SourceApplicationUrl":{},"SourceApplicationName":{},"SourceType":{},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"IntegrationAssociationId":{},"IntegrationAssociationArn":{}}}},"CreateQueue":{"http":{"method":"PUT","requestUri":"/queues/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"OutboundCallerConfig":{"shape":"S2p"},"HoursOfOperationId":{},"MaxContacts":{"type":"integer"},"QuickConnectIds":{"shape":"Sw"},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"QueueArn":{},"QueueId":{}}}},"CreateQuickConnect":{"http":{"method":"PUT","requestUri":"/quick-connects/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","QuickConnectConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"QuickConnectConfig":{"shape":"S2x"},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"QuickConnectARN":{},"QuickConnectId":{}}}},"CreateRoutingProfile":{"http":{"method":"PUT","requestUri":"/routing-profiles/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","Description","DefaultOutboundQueueId","MediaConcurrencies"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"DefaultOutboundQueueId":{},"QueueConfigs":{"shape":"S10"},"MediaConcurrencies":{"shape":"S38"},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"RoutingProfileArn":{},"RoutingProfileId":{}}}},"CreateSecurityProfile":{"http":{"method":"PUT","requestUri":"/security-profiles/{InstanceId}"},"input":{"type":"structure","required":["SecurityProfileName","InstanceId"],"members":{"SecurityProfileName":{},"Description":{},"Permissions":{"shape":"S3f"},"InstanceId":{"location":"uri","locationName":"InstanceId"},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"SecurityProfileId":{},"SecurityProfileArn":{}}}},"CreateUseCase":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases"},"input":{"type":"structure","required":["InstanceId","IntegrationAssociationId","UseCaseType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationAssociationId":{"location":"uri","locationName":"IntegrationAssociationId"},"UseCaseType":{},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"UseCaseId":{},"UseCaseArn":{}}}},"CreateUser":{"http":{"method":"PUT","requestUri":"/users/{InstanceId}"},"input":{"type":"structure","required":["Username","PhoneConfig","SecurityProfileIds","RoutingProfileId","InstanceId"],"members":{"Username":{},"Password":{},"IdentityInfo":{"shape":"S3q"},"PhoneConfig":{"shape":"S3u"},"DirectoryUserId":{},"SecurityProfileIds":{"shape":"S3z"},"RoutingProfileId":{},"HierarchyGroupId":{},"InstanceId":{"location":"uri","locationName":"InstanceId"},"Tags":{"shape":"S1e"}}},"output":{"type":"structure","members":{"UserId":{},"UserArn":{}}}},"CreateUserHierarchyGroup":{"http":{"method":"PUT","requestUri":"/user-hierarchy-groups/{InstanceId}"},"input":{"type":"structure","required":["Name","InstanceId"],"members":{"Name":{},"ParentGroupId":{},"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"HierarchyGroupId":{},"HierarchyGroupArn":{}}}},"DeleteContactFlow":{"http":{"method":"DELETE","requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}"},"input":{"type":"structure","required":["InstanceId","ContactFlowId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"}}}},"DeleteContactFlowModule":{"http":{"method":"DELETE","requestUri":"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}"},"input":{"type":"structure","required":["InstanceId","ContactFlowModuleId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowModuleId":{"location":"uri","locationName":"ContactFlowModuleId"}}},"output":{"type":"structure","members":{}}},"DeleteHoursOfOperation":{"http":{"method":"DELETE","requestUri":"/hours-of-operations/{InstanceId}/{HoursOfOperationId}"},"input":{"type":"structure","required":["InstanceId","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"HoursOfOperationId":{"location":"uri","locationName":"HoursOfOperationId"}}}},"DeleteInstance":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"DeleteIntegrationAssociation":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}"},"input":{"type":"structure","required":["InstanceId","IntegrationAssociationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationAssociationId":{"location":"uri","locationName":"IntegrationAssociationId"}}}},"DeleteQuickConnect":{"http":{"method":"DELETE","requestUri":"/quick-connects/{InstanceId}/{QuickConnectId}"},"input":{"type":"structure","required":["InstanceId","QuickConnectId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QuickConnectId":{"location":"uri","locationName":"QuickConnectId"}}}},"DeleteSecurityProfile":{"http":{"method":"DELETE","requestUri":"/security-profiles/{InstanceId}/{SecurityProfileId}"},"input":{"type":"structure","required":["InstanceId","SecurityProfileId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"SecurityProfileId":{"location":"uri","locationName":"SecurityProfileId"}}}},"DeleteUseCase":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}"},"input":{"type":"structure","required":["InstanceId","IntegrationAssociationId","UseCaseId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationAssociationId":{"location":"uri","locationName":"IntegrationAssociationId"},"UseCaseId":{"location":"uri","locationName":"UseCaseId"}}}},"DeleteUser":{"http":{"method":"DELETE","requestUri":"/users/{InstanceId}/{UserId}"},"input":{"type":"structure","required":["InstanceId","UserId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"UserId":{"location":"uri","locationName":"UserId"}}}},"DeleteUserHierarchyGroup":{"http":{"method":"DELETE","requestUri":"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"},"input":{"type":"structure","required":["HierarchyGroupId","InstanceId"],"members":{"HierarchyGroupId":{"location":"uri","locationName":"HierarchyGroupId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"DescribeAgentStatus":{"http":{"method":"GET","requestUri":"/agent-status/{InstanceId}/{AgentStatusId}"},"input":{"type":"structure","required":["InstanceId","AgentStatusId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AgentStatusId":{"location":"uri","locationName":"AgentStatusId"}}},"output":{"type":"structure","members":{"AgentStatus":{"type":"structure","members":{"AgentStatusARN":{},"AgentStatusId":{},"Name":{},"Description":{},"Type":{},"DisplayOrder":{"type":"integer"},"State":{},"Tags":{"shape":"S1e"}}}}}},"DescribeContact":{"http":{"method":"GET","requestUri":"/contacts/{InstanceId}/{ContactId}"},"input":{"type":"structure","required":["InstanceId","ContactId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactId":{"location":"uri","locationName":"ContactId"}}},"output":{"type":"structure","members":{"Contact":{"type":"structure","members":{"Arn":{},"Id":{},"InitialContactId":{},"PreviousContactId":{},"InitiationMethod":{},"Name":{},"Description":{},"Channel":{},"QueueInfo":{"type":"structure","members":{"Id":{},"EnqueueTimestamp":{"type":"timestamp"}}},"AgentInfo":{"type":"structure","members":{"Id":{},"ConnectedToAgentTimestamp":{"type":"timestamp"}}},"InitiationTimestamp":{"type":"timestamp"},"DisconnectTimestamp":{"type":"timestamp"},"LastUpdateTimestamp":{"type":"timestamp"},"ScheduledTimestamp":{"type":"timestamp"}}}}}},"DescribeContactFlow":{"http":{"method":"GET","requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}"},"input":{"type":"structure","required":["InstanceId","ContactFlowId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"}}},"output":{"type":"structure","members":{"ContactFlow":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Type":{},"State":{},"Description":{},"Content":{},"Tags":{"shape":"S1e"}}}}}},"DescribeContactFlowModule":{"http":{"method":"GET","requestUri":"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}"},"input":{"type":"structure","required":["InstanceId","ContactFlowModuleId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowModuleId":{"location":"uri","locationName":"ContactFlowModuleId"}}},"output":{"type":"structure","members":{"ContactFlowModule":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Content":{},"Description":{},"State":{},"Status":{},"Tags":{"shape":"S1e"}}}}}},"DescribeHoursOfOperation":{"http":{"method":"GET","requestUri":"/hours-of-operations/{InstanceId}/{HoursOfOperationId}"},"input":{"type":"structure","required":["InstanceId","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"HoursOfOperationId":{"location":"uri","locationName":"HoursOfOperationId"}}},"output":{"type":"structure","members":{"HoursOfOperation":{"type":"structure","members":{"HoursOfOperationId":{},"HoursOfOperationArn":{},"Name":{},"Description":{},"TimeZone":{},"Config":{"shape":"S21"},"Tags":{"shape":"S1e"}}}}}},"DescribeInstance":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"Instance":{"type":"structure","members":{"Id":{},"Arn":{},"IdentityManagementType":{},"InstanceAlias":{"shape":"S2b"},"CreatedTime":{"type":"timestamp"},"ServiceRole":{},"InstanceStatus":{},"StatusReason":{"type":"structure","members":{"Message":{}}},"InboundCallsEnabled":{"type":"boolean"},"OutboundCallsEnabled":{"type":"boolean"}}}}}},"DescribeInstanceAttribute":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/attribute/{AttributeType}"},"input":{"type":"structure","required":["InstanceId","AttributeType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AttributeType":{"location":"uri","locationName":"AttributeType"}}},"output":{"type":"structure","members":{"Attribute":{"shape":"S5h"}}}},"DescribeInstanceStorageConfig":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/storage-config/{AssociationId}"},"input":{"type":"structure","required":["InstanceId","AssociationId","ResourceType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AssociationId":{"location":"uri","locationName":"AssociationId"},"ResourceType":{"location":"querystring","locationName":"resourceType"}}},"output":{"type":"structure","members":{"StorageConfig":{"shape":"Sc"}}}},"DescribeQueue":{"http":{"method":"GET","requestUri":"/queues/{InstanceId}/{QueueId}"},"input":{"type":"structure","required":["InstanceId","QueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"}}},"output":{"type":"structure","members":{"Queue":{"type":"structure","members":{"Name":{},"QueueArn":{},"QueueId":{},"Description":{},"OutboundCallerConfig":{"shape":"S2p"},"HoursOfOperationId":{},"MaxContacts":{"type":"integer"},"Status":{},"Tags":{"shape":"S1e"}}}}}},"DescribeQuickConnect":{"http":{"method":"GET","requestUri":"/quick-connects/{InstanceId}/{QuickConnectId}"},"input":{"type":"structure","required":["InstanceId","QuickConnectId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QuickConnectId":{"location":"uri","locationName":"QuickConnectId"}}},"output":{"type":"structure","members":{"QuickConnect":{"type":"structure","members":{"QuickConnectARN":{},"QuickConnectId":{},"Name":{},"Description":{},"QuickConnectConfig":{"shape":"S2x"},"Tags":{"shape":"S1e"}}}}}},"DescribeRoutingProfile":{"http":{"method":"GET","requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"}}},"output":{"type":"structure","members":{"RoutingProfile":{"type":"structure","members":{"InstanceId":{},"Name":{},"RoutingProfileArn":{},"RoutingProfileId":{},"Description":{},"MediaConcurrencies":{"shape":"S38"},"DefaultOutboundQueueId":{},"Tags":{"shape":"S1e"}}}}}},"DescribeSecurityProfile":{"http":{"method":"GET","requestUri":"/security-profiles/{InstanceId}/{SecurityProfileId}"},"input":{"type":"structure","required":["SecurityProfileId","InstanceId"],"members":{"SecurityProfileId":{"location":"uri","locationName":"SecurityProfileId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"SecurityProfile":{"type":"structure","members":{"Id":{},"OrganizationResourceId":{},"Arn":{},"SecurityProfileName":{},"Description":{},"Tags":{"shape":"S1e"}}}}}},"DescribeUser":{"http":{"method":"GET","requestUri":"/users/{InstanceId}/{UserId}"},"input":{"type":"structure","required":["UserId","InstanceId"],"members":{"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"User":{"type":"structure","members":{"Id":{},"Arn":{},"Username":{},"IdentityInfo":{"shape":"S3q"},"PhoneConfig":{"shape":"S3u"},"DirectoryUserId":{},"SecurityProfileIds":{"shape":"S3z"},"RoutingProfileId":{},"HierarchyGroupId":{},"Tags":{"shape":"S1e"}}}}}},"DescribeUserHierarchyGroup":{"http":{"method":"GET","requestUri":"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"},"input":{"type":"structure","required":["HierarchyGroupId","InstanceId"],"members":{"HierarchyGroupId":{"location":"uri","locationName":"HierarchyGroupId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"HierarchyGroup":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"LevelId":{},"HierarchyPath":{"type":"structure","members":{"LevelOne":{"shape":"S66"},"LevelTwo":{"shape":"S66"},"LevelThree":{"shape":"S66"},"LevelFour":{"shape":"S66"},"LevelFive":{"shape":"S66"}}}}}}}},"DescribeUserHierarchyStructure":{"http":{"method":"GET","requestUri":"/user-hierarchy-structure/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"HierarchyStructure":{"type":"structure","members":{"LevelOne":{"shape":"S6a"},"LevelTwo":{"shape":"S6a"},"LevelThree":{"shape":"S6a"},"LevelFour":{"shape":"S6a"},"LevelFive":{"shape":"S6a"}}}}}},"DisassociateApprovedOrigin":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/approved-origin"},"input":{"type":"structure","required":["InstanceId","Origin"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Origin":{"location":"querystring","locationName":"origin"}}}},"DisassociateBot":{"http":{"requestUri":"/instance/{InstanceId}/bot"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"LexBot":{"shape":"S5"},"LexV2Bot":{"shape":"S8"}}}},"DisassociateInstanceStorageConfig":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/storage-config/{AssociationId}"},"input":{"type":"structure","required":["InstanceId","AssociationId","ResourceType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AssociationId":{"location":"uri","locationName":"AssociationId"},"ResourceType":{"location":"querystring","locationName":"resourceType"}}}},"DisassociateLambdaFunction":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/lambda-function"},"input":{"type":"structure","required":["InstanceId","FunctionArn"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"FunctionArn":{"location":"querystring","locationName":"functionArn"}}}},"DisassociateLexBot":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/lex-bot"},"input":{"type":"structure","required":["InstanceId","BotName","LexRegion"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"BotName":{"location":"querystring","locationName":"botName"},"LexRegion":{"location":"querystring","locationName":"lexRegion"}}}},"DisassociateQueueQuickConnects":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/disassociate-quick-connects"},"input":{"type":"structure","required":["InstanceId","QueueId","QuickConnectIds"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"QuickConnectIds":{"shape":"Sw"}}}},"DisassociateRoutingProfileQueues":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","QueueReferences"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"QueueReferences":{"type":"list","member":{"shape":"S12"}}}}},"DisassociateSecurityKey":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/security-key/{AssociationId}"},"input":{"type":"structure","required":["InstanceId","AssociationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AssociationId":{"location":"uri","locationName":"AssociationId"}}}},"GetContactAttributes":{"http":{"method":"GET","requestUri":"/contact/attributes/{InstanceId}/{InitialContactId}"},"input":{"type":"structure","required":["InstanceId","InitialContactId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"InitialContactId":{"location":"uri","locationName":"InitialContactId"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"S6n"}}}},"GetCurrentMetricData":{"http":{"requestUri":"/metrics/current/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Filters","CurrentMetrics"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Filters":{"shape":"S6r"},"Groupings":{"shape":"S6u"},"CurrentMetrics":{"type":"list","member":{"shape":"S6x"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MetricResults":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"S75"},"Collections":{"type":"list","member":{"type":"structure","members":{"Metric":{"shape":"S6x"},"Value":{"type":"double"}}}}}}},"DataSnapshotTime":{"type":"timestamp"}}}},"GetFederationToken":{"http":{"method":"GET","requestUri":"/user/federate/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"Credentials":{"type":"structure","members":{"AccessToken":{"shape":"S7d"},"AccessTokenExpiration":{"type":"timestamp"},"RefreshToken":{"shape":"S7d"},"RefreshTokenExpiration":{"type":"timestamp"}}}}}},"GetMetricData":{"http":{"requestUri":"/metrics/historical/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","StartTime","EndTime","Filters","HistoricalMetrics"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Filters":{"shape":"S6r"},"Groupings":{"shape":"S6u"},"HistoricalMetrics":{"type":"list","member":{"shape":"S7g"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MetricResults":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"S75"},"Collections":{"type":"list","member":{"type":"structure","members":{"Metric":{"shape":"S7g"},"Value":{"type":"double"}}}}}}}}}},"ListAgentStatuses":{"http":{"method":"GET","requestUri":"/agent-status/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"AgentStatusTypes":{"location":"querystring","locationName":"AgentStatusTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{"NextToken":{},"AgentStatusSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"Type":{}}}}}}},"ListApprovedOrigins":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/approved-origins"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Origins":{"type":"list","member":{}},"NextToken":{}}}},"ListBots":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/bots"},"input":{"type":"structure","required":["InstanceId","LexVersion"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"LexVersion":{"location":"querystring","locationName":"lexVersion"}}},"output":{"type":"structure","members":{"LexBots":{"type":"list","member":{"type":"structure","members":{"LexBot":{"shape":"S5"},"LexV2Bot":{"shape":"S8"}}}},"NextToken":{}}}},"ListContactFlowModules":{"http":{"method":"GET","requestUri":"/contact-flow-modules-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"ContactFlowModuleState":{"location":"querystring","locationName":"state"}}},"output":{"type":"structure","members":{"ContactFlowModulesSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"State":{}}}},"NextToken":{}}}},"ListContactFlows":{"http":{"method":"GET","requestUri":"/contact-flows-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowTypes":{"location":"querystring","locationName":"contactFlowTypes","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"ContactFlowSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"ContactFlowType":{},"ContactFlowState":{}}}},"NextToken":{}}}},"ListContactReferences":{"http":{"method":"GET","requestUri":"/contact/references/{InstanceId}/{ContactId}"},"input":{"type":"structure","required":["InstanceId","ContactId","ReferenceTypes"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactId":{"location":"uri","locationName":"ContactId"},"ReferenceTypes":{"location":"querystring","locationName":"referenceTypes","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ReferenceSummaryList":{"type":"list","member":{"type":"structure","members":{"Url":{"type":"structure","members":{"Name":{},"Value":{}}},"Attachment":{"type":"structure","members":{"Name":{},"Value":{},"Status":{}}}},"union":true}},"NextToken":{}}}},"ListHoursOfOperations":{"http":{"method":"GET","requestUri":"/hours-of-operations-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"HoursOfOperationSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}},"NextToken":{}}}},"ListInstanceAttributes":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/attributes"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Attributes":{"type":"list","member":{"shape":"S5h"}},"NextToken":{}}}},"ListInstanceStorageConfigs":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/storage-configs"},"input":{"type":"structure","required":["InstanceId","ResourceType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"StorageConfigs":{"type":"list","member":{"shape":"Sc"}},"NextToken":{}}}},"ListInstances":{"http":{"method":"GET","requestUri":"/instance"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"InstanceSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"IdentityManagementType":{},"InstanceAlias":{"shape":"S2b"},"CreatedTime":{"type":"timestamp"},"ServiceRole":{},"InstanceStatus":{},"InboundCallsEnabled":{"type":"boolean"},"OutboundCallsEnabled":{"type":"boolean"}}}},"NextToken":{}}}},"ListIntegrationAssociations":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/integration-associations"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationType":{"location":"querystring","locationName":"integrationType"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"IntegrationAssociationSummaryList":{"type":"list","member":{"type":"structure","members":{"IntegrationAssociationId":{},"IntegrationAssociationArn":{},"InstanceId":{},"IntegrationType":{},"IntegrationArn":{},"SourceApplicationUrl":{},"SourceApplicationName":{},"SourceType":{}}}},"NextToken":{}}}},"ListLambdaFunctions":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/lambda-functions"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"LambdaFunctions":{"type":"list","member":{}},"NextToken":{}}}},"ListLexBots":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/lex-bots"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"LexBots":{"type":"list","member":{"shape":"S5"}},"NextToken":{}}}},"ListPhoneNumbers":{"http":{"method":"GET","requestUri":"/phone-numbers-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"PhoneNumberTypes":{"location":"querystring","locationName":"phoneNumberTypes","type":"list","member":{}},"PhoneNumberCountryCodes":{"location":"querystring","locationName":"phoneNumberCountryCodes","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"PhoneNumberSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"PhoneNumber":{},"PhoneNumberType":{},"PhoneNumberCountryCode":{}}}},"NextToken":{}}}},"ListPrompts":{"http":{"method":"GET","requestUri":"/prompts-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"PromptSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}},"NextToken":{}}}},"ListQueueQuickConnects":{"http":{"method":"GET","requestUri":"/queues/{InstanceId}/{QueueId}/quick-connects"},"input":{"type":"structure","required":["InstanceId","QueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"QuickConnectSummaryList":{"shape":"S9x"}}}},"ListQueues":{"http":{"method":"GET","requestUri":"/queues-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueTypes":{"location":"querystring","locationName":"queueTypes","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"QueueSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"QueueType":{}}}},"NextToken":{}}}},"ListQuickConnects":{"http":{"method":"GET","requestUri":"/quick-connects/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"QuickConnectTypes":{"location":"querystring","locationName":"QuickConnectTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{"QuickConnectSummaryList":{"shape":"S9x"},"NextToken":{}}}},"ListRoutingProfileQueues":{"http":{"method":"GET","requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"RoutingProfileQueueConfigSummaryList":{"type":"list","member":{"type":"structure","required":["QueueId","QueueArn","QueueName","Priority","Delay","Channel"],"members":{"QueueId":{},"QueueArn":{},"QueueName":{},"Priority":{"type":"integer"},"Delay":{"type":"integer"},"Channel":{}}}}}}},"ListRoutingProfiles":{"http":{"method":"GET","requestUri":"/routing-profiles-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"RoutingProfileSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}},"NextToken":{}}}},"ListSecurityKeys":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/security-keys"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"SecurityKeys":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"Key":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListSecurityProfilePermissions":{"http":{"method":"GET","requestUri":"/security-profiles-permissions/{InstanceId}/{SecurityProfileId}"},"input":{"type":"structure","required":["SecurityProfileId","InstanceId"],"members":{"SecurityProfileId":{"location":"uri","locationName":"SecurityProfileId"},"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"shape":"S3f"},"NextToken":{}}}},"ListSecurityProfiles":{"http":{"method":"GET","requestUri":"/security-profiles-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"SecurityProfileSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1e"}}}},"ListUseCases":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases"},"input":{"type":"structure","required":["InstanceId","IntegrationAssociationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationAssociationId":{"location":"uri","locationName":"IntegrationAssociationId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"UseCaseSummaryList":{"type":"list","member":{"type":"structure","members":{"UseCaseId":{},"UseCaseArn":{},"UseCaseType":{}}}},"NextToken":{}}}},"ListUserHierarchyGroups":{"http":{"method":"GET","requestUri":"/user-hierarchy-groups-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"UserHierarchyGroupSummaryList":{"type":"list","member":{"shape":"S66"}},"NextToken":{}}}},"ListUsers":{"http":{"method":"GET","requestUri":"/users-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"UserSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Username":{}}}},"NextToken":{}}}},"ResumeContactRecording":{"http":{"requestUri":"/contact/resume-recording"},"input":{"type":"structure","required":["InstanceId","ContactId","InitialContactId"],"members":{"InstanceId":{},"ContactId":{},"InitialContactId":{}}},"output":{"type":"structure","members":{}}},"StartChatContact":{"http":{"method":"PUT","requestUri":"/contact/chat"},"input":{"type":"structure","required":["InstanceId","ContactFlowId","ParticipantDetails"],"members":{"InstanceId":{},"ContactFlowId":{},"Attributes":{"shape":"S6n"},"ParticipantDetails":{"type":"structure","required":["DisplayName"],"members":{"DisplayName":{}}},"InitialMessage":{"type":"structure","required":["ContentType","Content"],"members":{"ContentType":{},"Content":{}}},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"ContactId":{},"ParticipantId":{},"ParticipantToken":{}}}},"StartContactRecording":{"http":{"requestUri":"/contact/start-recording"},"input":{"type":"structure","required":["InstanceId","ContactId","InitialContactId","VoiceRecordingConfiguration"],"members":{"InstanceId":{},"ContactId":{},"InitialContactId":{},"VoiceRecordingConfiguration":{"type":"structure","members":{"VoiceRecordingTrack":{}}}}},"output":{"type":"structure","members":{}}},"StartContactStreaming":{"http":{"requestUri":"/contact/start-streaming"},"input":{"type":"structure","required":["InstanceId","ContactId","ChatStreamingConfiguration","ClientToken"],"members":{"InstanceId":{},"ContactId":{},"ChatStreamingConfiguration":{"type":"structure","required":["StreamingEndpointArn"],"members":{"StreamingEndpointArn":{}}},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["StreamingId"],"members":{"StreamingId":{}}}},"StartOutboundVoiceContact":{"http":{"method":"PUT","requestUri":"/contact/outbound-voice"},"input":{"type":"structure","required":["DestinationPhoneNumber","ContactFlowId","InstanceId"],"members":{"DestinationPhoneNumber":{},"ContactFlowId":{},"InstanceId":{},"ClientToken":{"idempotencyToken":true},"SourcePhoneNumber":{},"QueueId":{},"Attributes":{"shape":"S6n"},"AnswerMachineDetectionConfig":{"type":"structure","members":{"EnableAnswerMachineDetection":{"type":"boolean"},"AwaitAnswerMachinePrompt":{"type":"boolean"}}},"CampaignId":{},"TrafficType":{}}},"output":{"type":"structure","members":{"ContactId":{}}}},"StartTaskContact":{"http":{"method":"PUT","requestUri":"/contact/task"},"input":{"type":"structure","required":["InstanceId","ContactFlowId","Name"],"members":{"InstanceId":{},"PreviousContactId":{},"ContactFlowId":{},"Attributes":{"shape":"S6n"},"Name":{},"References":{"shape":"Sbw"},"Description":{},"ClientToken":{"idempotencyToken":true},"ScheduledTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"ContactId":{}}}},"StopContact":{"http":{"requestUri":"/contact/stop"},"input":{"type":"structure","required":["ContactId","InstanceId"],"members":{"ContactId":{},"InstanceId":{}}},"output":{"type":"structure","members":{}}},"StopContactRecording":{"http":{"requestUri":"/contact/stop-recording"},"input":{"type":"structure","required":["InstanceId","ContactId","InitialContactId"],"members":{"InstanceId":{},"ContactId":{},"InitialContactId":{}}},"output":{"type":"structure","members":{}}},"StopContactStreaming":{"http":{"requestUri":"/contact/stop-streaming"},"input":{"type":"structure","required":["InstanceId","ContactId","StreamingId"],"members":{"InstanceId":{},"ContactId":{},"StreamingId":{}}},"output":{"type":"structure","members":{}}},"SuspendContactRecording":{"http":{"requestUri":"/contact/suspend-recording"},"input":{"type":"structure","required":["InstanceId","ContactId","InitialContactId"],"members":{"InstanceId":{},"ContactId":{},"InitialContactId":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1e"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}}},"UpdateAgentStatus":{"http":{"requestUri":"/agent-status/{InstanceId}/{AgentStatusId}"},"input":{"type":"structure","required":["InstanceId","AgentStatusId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AgentStatusId":{"location":"uri","locationName":"AgentStatusId"},"Name":{},"Description":{},"State":{},"DisplayOrder":{"type":"integer"},"ResetOrderNumber":{"type":"boolean"}}}},"UpdateContact":{"http":{"requestUri":"/contacts/{InstanceId}/{ContactId}"},"input":{"type":"structure","required":["InstanceId","ContactId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactId":{"location":"uri","locationName":"ContactId"},"Name":{},"Description":{},"References":{"shape":"Sbw"}}},"output":{"type":"structure","members":{}}},"UpdateContactAttributes":{"http":{"requestUri":"/contact/attributes"},"input":{"type":"structure","required":["InitialContactId","InstanceId","Attributes"],"members":{"InitialContactId":{},"InstanceId":{},"Attributes":{"shape":"S6n"}}},"output":{"type":"structure","members":{}}},"UpdateContactFlowContent":{"http":{"requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}/content"},"input":{"type":"structure","required":["InstanceId","ContactFlowId","Content"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"},"Content":{}}}},"UpdateContactFlowMetadata":{"http":{"requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}/metadata"},"input":{"type":"structure","required":["InstanceId","ContactFlowId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"},"Name":{},"Description":{},"ContactFlowState":{}}}},"UpdateContactFlowModuleContent":{"http":{"requestUri":"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/content"},"input":{"type":"structure","required":["InstanceId","ContactFlowModuleId","Content"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowModuleId":{"location":"uri","locationName":"ContactFlowModuleId"},"Content":{}}},"output":{"type":"structure","members":{}}},"UpdateContactFlowModuleMetadata":{"http":{"requestUri":"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/metadata"},"input":{"type":"structure","required":["InstanceId","ContactFlowModuleId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowModuleId":{"location":"uri","locationName":"ContactFlowModuleId"},"Name":{},"Description":{},"State":{}}},"output":{"type":"structure","members":{}}},"UpdateContactFlowName":{"http":{"requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}/name"},"input":{"type":"structure","required":["InstanceId","ContactFlowId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"},"Name":{},"Description":{}}}},"UpdateContactSchedule":{"http":{"requestUri":"/contact/schedule"},"input":{"type":"structure","required":["InstanceId","ContactId","ScheduledTime"],"members":{"InstanceId":{},"ContactId":{},"ScheduledTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{}}},"UpdateHoursOfOperation":{"http":{"requestUri":"/hours-of-operations/{InstanceId}/{HoursOfOperationId}"},"input":{"type":"structure","required":["InstanceId","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"HoursOfOperationId":{"location":"uri","locationName":"HoursOfOperationId"},"Name":{},"Description":{},"TimeZone":{},"Config":{"shape":"S21"}}}},"UpdateInstanceAttribute":{"http":{"requestUri":"/instance/{InstanceId}/attribute/{AttributeType}"},"input":{"type":"structure","required":["InstanceId","AttributeType","Value"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AttributeType":{"location":"uri","locationName":"AttributeType"},"Value":{}}}},"UpdateInstanceStorageConfig":{"http":{"requestUri":"/instance/{InstanceId}/storage-config/{AssociationId}"},"input":{"type":"structure","required":["InstanceId","AssociationId","ResourceType","StorageConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AssociationId":{"location":"uri","locationName":"AssociationId"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"StorageConfig":{"shape":"Sc"}}}},"UpdateQueueHoursOfOperation":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/hours-of-operation"},"input":{"type":"structure","required":["InstanceId","QueueId","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"HoursOfOperationId":{}}}},"UpdateQueueMaxContacts":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/max-contacts"},"input":{"type":"structure","required":["InstanceId","QueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"MaxContacts":{"type":"integer"}}}},"UpdateQueueName":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/name"},"input":{"type":"structure","required":["InstanceId","QueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"Name":{},"Description":{}}}},"UpdateQueueOutboundCallerConfig":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/outbound-caller-config"},"input":{"type":"structure","required":["InstanceId","QueueId","OutboundCallerConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"OutboundCallerConfig":{"shape":"S2p"}}}},"UpdateQueueStatus":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/status"},"input":{"type":"structure","required":["InstanceId","QueueId","Status"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"Status":{}}}},"UpdateQuickConnectConfig":{"http":{"requestUri":"/quick-connects/{InstanceId}/{QuickConnectId}/config"},"input":{"type":"structure","required":["InstanceId","QuickConnectId","QuickConnectConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QuickConnectId":{"location":"uri","locationName":"QuickConnectId"},"QuickConnectConfig":{"shape":"S2x"}}}},"UpdateQuickConnectName":{"http":{"requestUri":"/quick-connects/{InstanceId}/{QuickConnectId}/name"},"input":{"type":"structure","required":["InstanceId","QuickConnectId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QuickConnectId":{"location":"uri","locationName":"QuickConnectId"},"Name":{},"Description":{}}}},"UpdateRoutingProfileConcurrency":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","MediaConcurrencies"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"MediaConcurrencies":{"shape":"S38"}}}},"UpdateRoutingProfileDefaultOutboundQueue":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","DefaultOutboundQueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"DefaultOutboundQueueId":{}}}},"UpdateRoutingProfileName":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/name"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"Name":{},"Description":{}}}},"UpdateRoutingProfileQueues":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","QueueConfigs"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"QueueConfigs":{"shape":"S10"}}}},"UpdateSecurityProfile":{"http":{"requestUri":"/security-profiles/{InstanceId}/{SecurityProfileId}"},"input":{"type":"structure","required":["SecurityProfileId","InstanceId"],"members":{"Description":{},"Permissions":{"shape":"S3f"},"SecurityProfileId":{"location":"uri","locationName":"SecurityProfileId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserHierarchy":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/hierarchy"},"input":{"type":"structure","required":["UserId","InstanceId"],"members":{"HierarchyGroupId":{},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserHierarchyGroupName":{"http":{"requestUri":"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name"},"input":{"type":"structure","required":["Name","HierarchyGroupId","InstanceId"],"members":{"Name":{},"HierarchyGroupId":{"location":"uri","locationName":"HierarchyGroupId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserHierarchyStructure":{"http":{"requestUri":"/user-hierarchy-structure/{InstanceId}"},"input":{"type":"structure","required":["HierarchyStructure","InstanceId"],"members":{"HierarchyStructure":{"type":"structure","members":{"LevelOne":{"shape":"Sda"},"LevelTwo":{"shape":"Sda"},"LevelThree":{"shape":"Sda"},"LevelFour":{"shape":"Sda"},"LevelFive":{"shape":"Sda"}}},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserIdentityInfo":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/identity-info"},"input":{"type":"structure","required":["IdentityInfo","UserId","InstanceId"],"members":{"IdentityInfo":{"shape":"S3q"},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserPhoneConfig":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/phone-config"},"input":{"type":"structure","required":["PhoneConfig","UserId","InstanceId"],"members":{"PhoneConfig":{"shape":"S3u"},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserRoutingProfile":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/routing-profile"},"input":{"type":"structure","required":["RoutingProfileId","UserId","InstanceId"],"members":{"RoutingProfileId":{},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserSecurityProfiles":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/security-profiles"},"input":{"type":"structure","required":["SecurityProfileIds","UserId","InstanceId"],"members":{"SecurityProfileIds":{"shape":"S3z"},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}}},"shapes":{"S5":{"type":"structure","members":{"Name":{},"LexRegion":{}}},"S8":{"type":"structure","members":{"AliasArn":{}}},"Sc":{"type":"structure","required":["StorageType"],"members":{"AssociationId":{},"StorageType":{},"S3Config":{"type":"structure","required":["BucketName","BucketPrefix"],"members":{"BucketName":{},"BucketPrefix":{},"EncryptionConfig":{"shape":"Si"}}},"KinesisVideoStreamConfig":{"type":"structure","required":["Prefix","RetentionPeriodHours","EncryptionConfig"],"members":{"Prefix":{},"RetentionPeriodHours":{"type":"integer"},"EncryptionConfig":{"shape":"Si"}}},"KinesisStreamConfig":{"type":"structure","required":["StreamArn"],"members":{"StreamArn":{}}},"KinesisFirehoseConfig":{"type":"structure","required":["FirehoseArn"],"members":{"FirehoseArn":{}}}}},"Si":{"type":"structure","required":["EncryptionType","KeyId"],"members":{"EncryptionType":{},"KeyId":{}}},"Sw":{"type":"list","member":{}},"S10":{"type":"list","member":{"type":"structure","required":["QueueReference","Priority","Delay"],"members":{"QueueReference":{"shape":"S12"},"Priority":{"type":"integer"},"Delay":{"type":"integer"}}}},"S12":{"type":"structure","required":["QueueId","Channel"],"members":{"QueueId":{},"Channel":{}}},"S1e":{"type":"map","key":{},"value":{}},"S21":{"type":"list","member":{"type":"structure","required":["Day","StartTime","EndTime"],"members":{"Day":{},"StartTime":{"shape":"S24"},"EndTime":{"shape":"S24"}}}},"S24":{"type":"structure","required":["Hours","Minutes"],"members":{"Hours":{"type":"integer"},"Minutes":{"type":"integer"}}},"S2b":{"type":"string","sensitive":true},"S2p":{"type":"structure","members":{"OutboundCallerIdName":{},"OutboundCallerIdNumberId":{},"OutboundFlowId":{}}},"S2x":{"type":"structure","required":["QuickConnectType"],"members":{"QuickConnectType":{},"UserConfig":{"type":"structure","required":["UserId","ContactFlowId"],"members":{"UserId":{},"ContactFlowId":{}}},"QueueConfig":{"type":"structure","required":["QueueId","ContactFlowId"],"members":{"QueueId":{},"ContactFlowId":{}}},"PhoneConfig":{"type":"structure","required":["PhoneNumber"],"members":{"PhoneNumber":{}}}}},"S38":{"type":"list","member":{"type":"structure","required":["Channel","Concurrency"],"members":{"Channel":{},"Concurrency":{"type":"integer"}}}},"S3f":{"type":"list","member":{}},"S3q":{"type":"structure","members":{"FirstName":{},"LastName":{},"Email":{}}},"S3u":{"type":"structure","required":["PhoneType"],"members":{"PhoneType":{},"AutoAccept":{"type":"boolean"},"AfterContactWorkTimeLimit":{"type":"integer"},"DeskPhoneNumber":{}}},"S3z":{"type":"list","member":{}},"S5h":{"type":"structure","members":{"AttributeType":{},"Value":{}}},"S66":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}},"S6a":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}},"S6n":{"type":"map","key":{},"value":{}},"S6r":{"type":"structure","members":{"Queues":{"type":"list","member":{}},"Channels":{"type":"list","member":{}}}},"S6u":{"type":"list","member":{}},"S6x":{"type":"structure","members":{"Name":{},"Unit":{}}},"S75":{"type":"structure","members":{"Queue":{"type":"structure","members":{"Id":{},"Arn":{}}},"Channel":{}}},"S7d":{"type":"string","sensitive":true},"S7g":{"type":"structure","members":{"Name":{},"Threshold":{"type":"structure","members":{"Comparison":{},"ThresholdValue":{"type":"double"}}},"Statistic":{},"Unit":{}}},"S9x":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"QuickConnectType":{}}}},"Sbw":{"type":"map","key":{},"value":{"type":"structure","required":["Value","Type"],"members":{"Value":{},"Type":{}}}},"Sda":{"type":"structure","required":["Name"],"members":{"Name":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-08-08","endpointPrefix":"connect","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amazon Connect","serviceFullName":"Amazon Connect Service","serviceId":"Connect","signatureVersion":"v4","signingName":"connect","uid":"connect-2017-08-08"},"operations":{"AssociateApprovedOrigin":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/approved-origin"},"input":{"type":"structure","required":["InstanceId","Origin"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Origin":{}}}},"AssociateBot":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/bot"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"LexBot":{"shape":"S5"},"LexV2Bot":{"shape":"S8"}}}},"AssociateDefaultVocabulary":{"http":{"method":"PUT","requestUri":"/default-vocabulary/{InstanceId}/{LanguageCode}"},"input":{"type":"structure","required":["InstanceId","LanguageCode"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"LanguageCode":{"location":"uri","locationName":"LanguageCode"},"VocabularyId":{}}},"output":{"type":"structure","members":{}}},"AssociateInstanceStorageConfig":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/storage-config"},"input":{"type":"structure","required":["InstanceId","ResourceType","StorageConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ResourceType":{},"StorageConfig":{"shape":"Sg"}}},"output":{"type":"structure","members":{"AssociationId":{}}}},"AssociateLambdaFunction":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/lambda-function"},"input":{"type":"structure","required":["InstanceId","FunctionArn"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"FunctionArn":{}}}},"AssociateLexBot":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/lex-bot"},"input":{"type":"structure","required":["InstanceId","LexBot"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"LexBot":{"shape":"S5"}}}},"AssociateQueueQuickConnects":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/associate-quick-connects"},"input":{"type":"structure","required":["InstanceId","QueueId","QuickConnectIds"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"QuickConnectIds":{"shape":"S10"}}}},"AssociateRoutingProfileQueues":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","QueueConfigs"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"QueueConfigs":{"shape":"S14"}}}},"AssociateSecurityKey":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/security-key"},"input":{"type":"structure","required":["InstanceId","Key"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Key":{}}},"output":{"type":"structure","members":{"AssociationId":{}}}},"CreateAgentStatus":{"http":{"method":"PUT","requestUri":"/agent-status/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","State"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"State":{},"DisplayOrder":{"type":"integer"},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"AgentStatusARN":{},"AgentStatusId":{}}}},"CreateContactFlow":{"http":{"method":"PUT","requestUri":"/contact-flows/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","Type","Content"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Type":{},"Description":{},"Content":{},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"ContactFlowId":{},"ContactFlowArn":{}}}},"CreateContactFlowModule":{"http":{"method":"PUT","requestUri":"/contact-flow-modules/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","Content"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"Content":{},"Tags":{"shape":"S1i"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{},"Arn":{}}}},"CreateHoursOfOperation":{"http":{"method":"PUT","requestUri":"/hours-of-operations/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","TimeZone","Config"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"TimeZone":{},"Config":{"shape":"S25"},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"HoursOfOperationId":{},"HoursOfOperationArn":{}}}},"CreateInstance":{"http":{"method":"PUT","requestUri":"/instance"},"input":{"type":"structure","required":["IdentityManagementType","InboundCallsEnabled","OutboundCallsEnabled"],"members":{"ClientToken":{},"IdentityManagementType":{},"InstanceAlias":{"shape":"S2f"},"DirectoryId":{},"InboundCallsEnabled":{"type":"boolean"},"OutboundCallsEnabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"Id":{},"Arn":{}}}},"CreateIntegrationAssociation":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/integration-associations"},"input":{"type":"structure","required":["InstanceId","IntegrationType","IntegrationArn"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationType":{},"IntegrationArn":{},"SourceApplicationUrl":{},"SourceApplicationName":{},"SourceType":{},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"IntegrationAssociationId":{},"IntegrationAssociationArn":{}}}},"CreateQueue":{"http":{"method":"PUT","requestUri":"/queues/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"OutboundCallerConfig":{"shape":"S2t"},"HoursOfOperationId":{},"MaxContacts":{"type":"integer"},"QuickConnectIds":{"shape":"S10"},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"QueueArn":{},"QueueId":{}}}},"CreateQuickConnect":{"http":{"method":"PUT","requestUri":"/quick-connects/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","QuickConnectConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"QuickConnectConfig":{"shape":"S31"},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"QuickConnectARN":{},"QuickConnectId":{}}}},"CreateRoutingProfile":{"http":{"method":"PUT","requestUri":"/routing-profiles/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Name","Description","DefaultOutboundQueueId","MediaConcurrencies"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Name":{},"Description":{},"DefaultOutboundQueueId":{},"QueueConfigs":{"shape":"S14"},"MediaConcurrencies":{"shape":"S3c"},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"RoutingProfileArn":{},"RoutingProfileId":{}}}},"CreateSecurityProfile":{"http":{"method":"PUT","requestUri":"/security-profiles/{InstanceId}"},"input":{"type":"structure","required":["SecurityProfileName","InstanceId"],"members":{"SecurityProfileName":{},"Description":{},"Permissions":{"shape":"S3j"},"InstanceId":{"location":"uri","locationName":"InstanceId"},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"SecurityProfileId":{},"SecurityProfileArn":{}}}},"CreateUseCase":{"http":{"method":"PUT","requestUri":"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases"},"input":{"type":"structure","required":["InstanceId","IntegrationAssociationId","UseCaseType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationAssociationId":{"location":"uri","locationName":"IntegrationAssociationId"},"UseCaseType":{},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"UseCaseId":{},"UseCaseArn":{}}}},"CreateUser":{"http":{"method":"PUT","requestUri":"/users/{InstanceId}"},"input":{"type":"structure","required":["Username","PhoneConfig","SecurityProfileIds","RoutingProfileId","InstanceId"],"members":{"Username":{},"Password":{},"IdentityInfo":{"shape":"S3u"},"PhoneConfig":{"shape":"S3y"},"DirectoryUserId":{},"SecurityProfileIds":{"shape":"S43"},"RoutingProfileId":{},"HierarchyGroupId":{},"InstanceId":{"location":"uri","locationName":"InstanceId"},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"UserId":{},"UserArn":{}}}},"CreateUserHierarchyGroup":{"http":{"method":"PUT","requestUri":"/user-hierarchy-groups/{InstanceId}"},"input":{"type":"structure","required":["Name","InstanceId"],"members":{"Name":{},"ParentGroupId":{},"InstanceId":{"location":"uri","locationName":"InstanceId"},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","members":{"HierarchyGroupId":{},"HierarchyGroupArn":{}}}},"CreateVocabulary":{"http":{"requestUri":"/vocabulary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","VocabularyName","LanguageCode","Content"],"members":{"ClientToken":{"idempotencyToken":true},"InstanceId":{"location":"uri","locationName":"InstanceId"},"VocabularyName":{},"LanguageCode":{},"Content":{},"Tags":{"shape":"S1i"}}},"output":{"type":"structure","required":["VocabularyArn","VocabularyId","State"],"members":{"VocabularyArn":{},"VocabularyId":{},"State":{}}}},"DeleteContactFlow":{"http":{"method":"DELETE","requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}"},"input":{"type":"structure","required":["InstanceId","ContactFlowId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"}}}},"DeleteContactFlowModule":{"http":{"method":"DELETE","requestUri":"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}"},"input":{"type":"structure","required":["InstanceId","ContactFlowModuleId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowModuleId":{"location":"uri","locationName":"ContactFlowModuleId"}}},"output":{"type":"structure","members":{}}},"DeleteHoursOfOperation":{"http":{"method":"DELETE","requestUri":"/hours-of-operations/{InstanceId}/{HoursOfOperationId}"},"input":{"type":"structure","required":["InstanceId","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"HoursOfOperationId":{"location":"uri","locationName":"HoursOfOperationId"}}}},"DeleteInstance":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"DeleteIntegrationAssociation":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}"},"input":{"type":"structure","required":["InstanceId","IntegrationAssociationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationAssociationId":{"location":"uri","locationName":"IntegrationAssociationId"}}}},"DeleteQuickConnect":{"http":{"method":"DELETE","requestUri":"/quick-connects/{InstanceId}/{QuickConnectId}"},"input":{"type":"structure","required":["InstanceId","QuickConnectId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QuickConnectId":{"location":"uri","locationName":"QuickConnectId"}}}},"DeleteSecurityProfile":{"http":{"method":"DELETE","requestUri":"/security-profiles/{InstanceId}/{SecurityProfileId}"},"input":{"type":"structure","required":["InstanceId","SecurityProfileId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"SecurityProfileId":{"location":"uri","locationName":"SecurityProfileId"}}}},"DeleteUseCase":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}"},"input":{"type":"structure","required":["InstanceId","IntegrationAssociationId","UseCaseId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationAssociationId":{"location":"uri","locationName":"IntegrationAssociationId"},"UseCaseId":{"location":"uri","locationName":"UseCaseId"}}}},"DeleteUser":{"http":{"method":"DELETE","requestUri":"/users/{InstanceId}/{UserId}"},"input":{"type":"structure","required":["InstanceId","UserId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"UserId":{"location":"uri","locationName":"UserId"}}}},"DeleteUserHierarchyGroup":{"http":{"method":"DELETE","requestUri":"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"},"input":{"type":"structure","required":["HierarchyGroupId","InstanceId"],"members":{"HierarchyGroupId":{"location":"uri","locationName":"HierarchyGroupId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"DeleteVocabulary":{"http":{"requestUri":"/vocabulary-remove/{InstanceId}/{VocabularyId}"},"input":{"type":"structure","required":["InstanceId","VocabularyId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"VocabularyId":{"location":"uri","locationName":"VocabularyId"}}},"output":{"type":"structure","required":["VocabularyArn","VocabularyId","State"],"members":{"VocabularyArn":{},"VocabularyId":{},"State":{}}}},"DescribeAgentStatus":{"http":{"method":"GET","requestUri":"/agent-status/{InstanceId}/{AgentStatusId}"},"input":{"type":"structure","required":["InstanceId","AgentStatusId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AgentStatusId":{"location":"uri","locationName":"AgentStatusId"}}},"output":{"type":"structure","members":{"AgentStatus":{"type":"structure","members":{"AgentStatusARN":{},"AgentStatusId":{},"Name":{},"Description":{},"Type":{},"DisplayOrder":{"type":"integer"},"State":{},"Tags":{"shape":"S1i"}}}}}},"DescribeContact":{"http":{"method":"GET","requestUri":"/contacts/{InstanceId}/{ContactId}"},"input":{"type":"structure","required":["InstanceId","ContactId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactId":{"location":"uri","locationName":"ContactId"}}},"output":{"type":"structure","members":{"Contact":{"type":"structure","members":{"Arn":{},"Id":{},"InitialContactId":{},"PreviousContactId":{},"InitiationMethod":{},"Name":{},"Description":{},"Channel":{},"QueueInfo":{"type":"structure","members":{"Id":{},"EnqueueTimestamp":{"type":"timestamp"}}},"AgentInfo":{"type":"structure","members":{"Id":{},"ConnectedToAgentTimestamp":{"type":"timestamp"}}},"InitiationTimestamp":{"type":"timestamp"},"DisconnectTimestamp":{"type":"timestamp"},"LastUpdateTimestamp":{"type":"timestamp"},"ScheduledTimestamp":{"type":"timestamp"}}}}}},"DescribeContactFlow":{"http":{"method":"GET","requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}"},"input":{"type":"structure","required":["InstanceId","ContactFlowId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"}}},"output":{"type":"structure","members":{"ContactFlow":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Type":{},"State":{},"Description":{},"Content":{},"Tags":{"shape":"S1i"}}}}}},"DescribeContactFlowModule":{"http":{"method":"GET","requestUri":"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}"},"input":{"type":"structure","required":["InstanceId","ContactFlowModuleId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowModuleId":{"location":"uri","locationName":"ContactFlowModuleId"}}},"output":{"type":"structure","members":{"ContactFlowModule":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Content":{},"Description":{},"State":{},"Status":{},"Tags":{"shape":"S1i"}}}}}},"DescribeHoursOfOperation":{"http":{"method":"GET","requestUri":"/hours-of-operations/{InstanceId}/{HoursOfOperationId}"},"input":{"type":"structure","required":["InstanceId","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"HoursOfOperationId":{"location":"uri","locationName":"HoursOfOperationId"}}},"output":{"type":"structure","members":{"HoursOfOperation":{"type":"structure","members":{"HoursOfOperationId":{},"HoursOfOperationArn":{},"Name":{},"Description":{},"TimeZone":{},"Config":{"shape":"S25"},"Tags":{"shape":"S1i"}}}}}},"DescribeInstance":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"Instance":{"type":"structure","members":{"Id":{},"Arn":{},"IdentityManagementType":{},"InstanceAlias":{"shape":"S2f"},"CreatedTime":{"type":"timestamp"},"ServiceRole":{},"InstanceStatus":{},"StatusReason":{"type":"structure","members":{"Message":{}}},"InboundCallsEnabled":{"type":"boolean"},"OutboundCallsEnabled":{"type":"boolean"}}}}}},"DescribeInstanceAttribute":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/attribute/{AttributeType}"},"input":{"type":"structure","required":["InstanceId","AttributeType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AttributeType":{"location":"uri","locationName":"AttributeType"}}},"output":{"type":"structure","members":{"Attribute":{"shape":"S5s"}}}},"DescribeInstanceStorageConfig":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/storage-config/{AssociationId}"},"input":{"type":"structure","required":["InstanceId","AssociationId","ResourceType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AssociationId":{"location":"uri","locationName":"AssociationId"},"ResourceType":{"location":"querystring","locationName":"resourceType"}}},"output":{"type":"structure","members":{"StorageConfig":{"shape":"Sg"}}}},"DescribeQueue":{"http":{"method":"GET","requestUri":"/queues/{InstanceId}/{QueueId}"},"input":{"type":"structure","required":["InstanceId","QueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"}}},"output":{"type":"structure","members":{"Queue":{"type":"structure","members":{"Name":{},"QueueArn":{},"QueueId":{},"Description":{},"OutboundCallerConfig":{"shape":"S2t"},"HoursOfOperationId":{},"MaxContacts":{"type":"integer"},"Status":{},"Tags":{"shape":"S1i"}}}}}},"DescribeQuickConnect":{"http":{"method":"GET","requestUri":"/quick-connects/{InstanceId}/{QuickConnectId}"},"input":{"type":"structure","required":["InstanceId","QuickConnectId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QuickConnectId":{"location":"uri","locationName":"QuickConnectId"}}},"output":{"type":"structure","members":{"QuickConnect":{"type":"structure","members":{"QuickConnectARN":{},"QuickConnectId":{},"Name":{},"Description":{},"QuickConnectConfig":{"shape":"S31"},"Tags":{"shape":"S1i"}}}}}},"DescribeRoutingProfile":{"http":{"method":"GET","requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"}}},"output":{"type":"structure","members":{"RoutingProfile":{"type":"structure","members":{"InstanceId":{},"Name":{},"RoutingProfileArn":{},"RoutingProfileId":{},"Description":{},"MediaConcurrencies":{"shape":"S3c"},"DefaultOutboundQueueId":{},"Tags":{"shape":"S1i"}}}}}},"DescribeSecurityProfile":{"http":{"method":"GET","requestUri":"/security-profiles/{InstanceId}/{SecurityProfileId}"},"input":{"type":"structure","required":["SecurityProfileId","InstanceId"],"members":{"SecurityProfileId":{"location":"uri","locationName":"SecurityProfileId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"SecurityProfile":{"type":"structure","members":{"Id":{},"OrganizationResourceId":{},"Arn":{},"SecurityProfileName":{},"Description":{},"Tags":{"shape":"S1i"}}}}}},"DescribeUser":{"http":{"method":"GET","requestUri":"/users/{InstanceId}/{UserId}"},"input":{"type":"structure","required":["UserId","InstanceId"],"members":{"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"User":{"type":"structure","members":{"Id":{},"Arn":{},"Username":{},"IdentityInfo":{"shape":"S3u"},"PhoneConfig":{"shape":"S3y"},"DirectoryUserId":{},"SecurityProfileIds":{"shape":"S43"},"RoutingProfileId":{},"HierarchyGroupId":{},"Tags":{"shape":"S1i"}}}}}},"DescribeUserHierarchyGroup":{"http":{"method":"GET","requestUri":"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"},"input":{"type":"structure","required":["HierarchyGroupId","InstanceId"],"members":{"HierarchyGroupId":{"location":"uri","locationName":"HierarchyGroupId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"HierarchyGroup":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"LevelId":{},"HierarchyPath":{"type":"structure","members":{"LevelOne":{"shape":"S6h"},"LevelTwo":{"shape":"S6h"},"LevelThree":{"shape":"S6h"},"LevelFour":{"shape":"S6h"},"LevelFive":{"shape":"S6h"}}},"Tags":{"shape":"S1i"}}}}}},"DescribeUserHierarchyStructure":{"http":{"method":"GET","requestUri":"/user-hierarchy-structure/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"HierarchyStructure":{"type":"structure","members":{"LevelOne":{"shape":"S6l"},"LevelTwo":{"shape":"S6l"},"LevelThree":{"shape":"S6l"},"LevelFour":{"shape":"S6l"},"LevelFive":{"shape":"S6l"}}}}}},"DescribeVocabulary":{"http":{"method":"GET","requestUri":"/vocabulary/{InstanceId}/{VocabularyId}"},"input":{"type":"structure","required":["InstanceId","VocabularyId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"VocabularyId":{"location":"uri","locationName":"VocabularyId"}}},"output":{"type":"structure","required":["Vocabulary"],"members":{"Vocabulary":{"type":"structure","required":["Name","Id","Arn","LanguageCode","State","LastModifiedTime"],"members":{"Name":{},"Id":{},"Arn":{},"LanguageCode":{},"State":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"Content":{},"Tags":{"shape":"S1i"}}}}}},"DisassociateApprovedOrigin":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/approved-origin"},"input":{"type":"structure","required":["InstanceId","Origin"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Origin":{"location":"querystring","locationName":"origin"}}}},"DisassociateBot":{"http":{"requestUri":"/instance/{InstanceId}/bot"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"LexBot":{"shape":"S5"},"LexV2Bot":{"shape":"S8"}}}},"DisassociateInstanceStorageConfig":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/storage-config/{AssociationId}"},"input":{"type":"structure","required":["InstanceId","AssociationId","ResourceType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AssociationId":{"location":"uri","locationName":"AssociationId"},"ResourceType":{"location":"querystring","locationName":"resourceType"}}}},"DisassociateLambdaFunction":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/lambda-function"},"input":{"type":"structure","required":["InstanceId","FunctionArn"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"FunctionArn":{"location":"querystring","locationName":"functionArn"}}}},"DisassociateLexBot":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/lex-bot"},"input":{"type":"structure","required":["InstanceId","BotName","LexRegion"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"BotName":{"location":"querystring","locationName":"botName"},"LexRegion":{"location":"querystring","locationName":"lexRegion"}}}},"DisassociateQueueQuickConnects":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/disassociate-quick-connects"},"input":{"type":"structure","required":["InstanceId","QueueId","QuickConnectIds"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"QuickConnectIds":{"shape":"S10"}}}},"DisassociateRoutingProfileQueues":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","QueueReferences"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"QueueReferences":{"type":"list","member":{"shape":"S16"}}}}},"DisassociateSecurityKey":{"http":{"method":"DELETE","requestUri":"/instance/{InstanceId}/security-key/{AssociationId}"},"input":{"type":"structure","required":["InstanceId","AssociationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AssociationId":{"location":"uri","locationName":"AssociationId"}}}},"GetContactAttributes":{"http":{"method":"GET","requestUri":"/contact/attributes/{InstanceId}/{InitialContactId}"},"input":{"type":"structure","required":["InstanceId","InitialContactId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"InitialContactId":{"location":"uri","locationName":"InitialContactId"}}},"output":{"type":"structure","members":{"Attributes":{"shape":"S73"}}}},"GetCurrentMetricData":{"http":{"requestUri":"/metrics/current/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","Filters","CurrentMetrics"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"Filters":{"shape":"S77"},"Groupings":{"shape":"S7a"},"CurrentMetrics":{"type":"list","member":{"shape":"S7d"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MetricResults":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"S7l"},"Collections":{"type":"list","member":{"type":"structure","members":{"Metric":{"shape":"S7d"},"Value":{"type":"double"}}}}}}},"DataSnapshotTime":{"type":"timestamp"}}}},"GetFederationToken":{"http":{"method":"GET","requestUri":"/user/federate/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"}}},"output":{"type":"structure","members":{"Credentials":{"type":"structure","members":{"AccessToken":{"shape":"S7t"},"AccessTokenExpiration":{"type":"timestamp"},"RefreshToken":{"shape":"S7t"},"RefreshTokenExpiration":{"type":"timestamp"}}}}}},"GetMetricData":{"http":{"requestUri":"/metrics/historical/{InstanceId}"},"input":{"type":"structure","required":["InstanceId","StartTime","EndTime","Filters","HistoricalMetrics"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Filters":{"shape":"S77"},"Groupings":{"shape":"S7a"},"HistoricalMetrics":{"type":"list","member":{"shape":"S7w"}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MetricResults":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"S7l"},"Collections":{"type":"list","member":{"type":"structure","members":{"Metric":{"shape":"S7w"},"Value":{"type":"double"}}}}}}}}}},"ListAgentStatuses":{"http":{"method":"GET","requestUri":"/agent-status/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"AgentStatusTypes":{"location":"querystring","locationName":"AgentStatusTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{"NextToken":{},"AgentStatusSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"Type":{}}}}}}},"ListApprovedOrigins":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/approved-origins"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Origins":{"type":"list","member":{}},"NextToken":{}}}},"ListBots":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/bots"},"input":{"type":"structure","required":["InstanceId","LexVersion"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"LexVersion":{"location":"querystring","locationName":"lexVersion"}}},"output":{"type":"structure","members":{"LexBots":{"type":"list","member":{"type":"structure","members":{"LexBot":{"shape":"S5"},"LexV2Bot":{"shape":"S8"}}}},"NextToken":{}}}},"ListContactFlowModules":{"http":{"method":"GET","requestUri":"/contact-flow-modules-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"ContactFlowModuleState":{"location":"querystring","locationName":"state"}}},"output":{"type":"structure","members":{"ContactFlowModulesSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"State":{}}}},"NextToken":{}}}},"ListContactFlows":{"http":{"method":"GET","requestUri":"/contact-flows-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowTypes":{"location":"querystring","locationName":"contactFlowTypes","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"ContactFlowSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"ContactFlowType":{},"ContactFlowState":{}}}},"NextToken":{}}}},"ListContactReferences":{"http":{"method":"GET","requestUri":"/contact/references/{InstanceId}/{ContactId}"},"input":{"type":"structure","required":["InstanceId","ContactId","ReferenceTypes"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactId":{"location":"uri","locationName":"ContactId"},"ReferenceTypes":{"location":"querystring","locationName":"referenceTypes","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ReferenceSummaryList":{"type":"list","member":{"type":"structure","members":{"Url":{"type":"structure","members":{"Name":{},"Value":{}}},"Attachment":{"type":"structure","members":{"Name":{},"Value":{},"Status":{}}}},"union":true}},"NextToken":{}}}},"ListDefaultVocabularies":{"http":{"requestUri":"/default-vocabulary-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"LanguageCode":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["DefaultVocabularyList"],"members":{"DefaultVocabularyList":{"type":"list","member":{"type":"structure","required":["InstanceId","LanguageCode","VocabularyId","VocabularyName"],"members":{"InstanceId":{},"LanguageCode":{},"VocabularyId":{},"VocabularyName":{}}}},"NextToken":{}}}},"ListHoursOfOperations":{"http":{"method":"GET","requestUri":"/hours-of-operations-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"HoursOfOperationSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}},"NextToken":{}}}},"ListInstanceAttributes":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/attributes"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Attributes":{"type":"list","member":{"shape":"S5s"}},"NextToken":{}}}},"ListInstanceStorageConfigs":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/storage-configs"},"input":{"type":"structure","required":["InstanceId","ResourceType"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"StorageConfigs":{"type":"list","member":{"shape":"Sg"}},"NextToken":{}}}},"ListInstances":{"http":{"method":"GET","requestUri":"/instance"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"InstanceSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"IdentityManagementType":{},"InstanceAlias":{"shape":"S2f"},"CreatedTime":{"type":"timestamp"},"ServiceRole":{},"InstanceStatus":{},"InboundCallsEnabled":{"type":"boolean"},"OutboundCallsEnabled":{"type":"boolean"}}}},"NextToken":{}}}},"ListIntegrationAssociations":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/integration-associations"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationType":{"location":"querystring","locationName":"integrationType"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"IntegrationAssociationSummaryList":{"type":"list","member":{"type":"structure","members":{"IntegrationAssociationId":{},"IntegrationAssociationArn":{},"InstanceId":{},"IntegrationType":{},"IntegrationArn":{},"SourceApplicationUrl":{},"SourceApplicationName":{},"SourceType":{}}}},"NextToken":{}}}},"ListLambdaFunctions":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/lambda-functions"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"LambdaFunctions":{"type":"list","member":{}},"NextToken":{}}}},"ListLexBots":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/lex-bots"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"LexBots":{"type":"list","member":{"shape":"S5"}},"NextToken":{}}}},"ListPhoneNumbers":{"http":{"method":"GET","requestUri":"/phone-numbers-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"PhoneNumberTypes":{"location":"querystring","locationName":"phoneNumberTypes","type":"list","member":{}},"PhoneNumberCountryCodes":{"location":"querystring","locationName":"phoneNumberCountryCodes","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"PhoneNumberSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"PhoneNumber":{},"PhoneNumberType":{},"PhoneNumberCountryCode":{}}}},"NextToken":{}}}},"ListPrompts":{"http":{"method":"GET","requestUri":"/prompts-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"PromptSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}},"NextToken":{}}}},"ListQueueQuickConnects":{"http":{"method":"GET","requestUri":"/queues/{InstanceId}/{QueueId}/quick-connects"},"input":{"type":"structure","required":["InstanceId","QueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"QuickConnectSummaryList":{"shape":"Sai"}}}},"ListQueues":{"http":{"method":"GET","requestUri":"/queues-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueTypes":{"location":"querystring","locationName":"queueTypes","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"QueueSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"QueueType":{}}}},"NextToken":{}}}},"ListQuickConnects":{"http":{"method":"GET","requestUri":"/quick-connects/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"QuickConnectTypes":{"location":"querystring","locationName":"QuickConnectTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{"QuickConnectSummaryList":{"shape":"Sai"},"NextToken":{}}}},"ListRoutingProfileQueues":{"http":{"method":"GET","requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"RoutingProfileQueueConfigSummaryList":{"type":"list","member":{"type":"structure","required":["QueueId","QueueArn","QueueName","Priority","Delay","Channel"],"members":{"QueueId":{},"QueueArn":{},"QueueName":{},"Priority":{"type":"integer"},"Delay":{"type":"integer"},"Channel":{}}}}}}},"ListRoutingProfiles":{"http":{"method":"GET","requestUri":"/routing-profiles-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"RoutingProfileSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}},"NextToken":{}}}},"ListSecurityKeys":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/security-keys"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"SecurityKeys":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"Key":{},"CreationTime":{"type":"timestamp"}}}},"NextToken":{}}}},"ListSecurityProfilePermissions":{"http":{"method":"GET","requestUri":"/security-profiles-permissions/{InstanceId}/{SecurityProfileId}"},"input":{"type":"structure","required":["SecurityProfileId","InstanceId"],"members":{"SecurityProfileId":{"location":"uri","locationName":"SecurityProfileId"},"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"shape":"S3j"},"NextToken":{}}}},"ListSecurityProfiles":{"http":{"method":"GET","requestUri":"/security-profiles-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"SecurityProfileSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1i"}}}},"ListUseCases":{"http":{"method":"GET","requestUri":"/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases"},"input":{"type":"structure","required":["InstanceId","IntegrationAssociationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"IntegrationAssociationId":{"location":"uri","locationName":"IntegrationAssociationId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"UseCaseSummaryList":{"type":"list","member":{"type":"structure","members":{"UseCaseId":{},"UseCaseArn":{},"UseCaseType":{}}}},"NextToken":{}}}},"ListUserHierarchyGroups":{"http":{"method":"GET","requestUri":"/user-hierarchy-groups-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"UserHierarchyGroupSummaryList":{"type":"list","member":{"shape":"S6h"}},"NextToken":{}}}},"ListUsers":{"http":{"method":"GET","requestUri":"/users-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"UserSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Username":{}}}},"NextToken":{}}}},"ResumeContactRecording":{"http":{"requestUri":"/contact/resume-recording"},"input":{"type":"structure","required":["InstanceId","ContactId","InitialContactId"],"members":{"InstanceId":{},"ContactId":{},"InitialContactId":{}}},"output":{"type":"structure","members":{}}},"SearchVocabularies":{"http":{"requestUri":"/vocabulary-summary/{InstanceId}"},"input":{"type":"structure","required":["InstanceId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"MaxResults":{"type":"integer"},"NextToken":{},"State":{},"NameStartsWith":{},"LanguageCode":{}}},"output":{"type":"structure","members":{"VocabularySummaryList":{"type":"list","member":{"type":"structure","required":["Name","Id","Arn","LanguageCode","State","LastModifiedTime"],"members":{"Name":{},"Id":{},"Arn":{},"LanguageCode":{},"State":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"NextToken":{}}}},"StartChatContact":{"http":{"method":"PUT","requestUri":"/contact/chat"},"input":{"type":"structure","required":["InstanceId","ContactFlowId","ParticipantDetails"],"members":{"InstanceId":{},"ContactFlowId":{},"Attributes":{"shape":"S73"},"ParticipantDetails":{"type":"structure","required":["DisplayName"],"members":{"DisplayName":{}}},"InitialMessage":{"type":"structure","required":["ContentType","Content"],"members":{"ContentType":{},"Content":{}}},"ClientToken":{"idempotencyToken":true},"ChatDurationInMinutes":{"type":"integer"}}},"output":{"type":"structure","members":{"ContactId":{},"ParticipantId":{},"ParticipantToken":{}}}},"StartContactRecording":{"http":{"requestUri":"/contact/start-recording"},"input":{"type":"structure","required":["InstanceId","ContactId","InitialContactId","VoiceRecordingConfiguration"],"members":{"InstanceId":{},"ContactId":{},"InitialContactId":{},"VoiceRecordingConfiguration":{"type":"structure","members":{"VoiceRecordingTrack":{}}}}},"output":{"type":"structure","members":{}}},"StartContactStreaming":{"http":{"requestUri":"/contact/start-streaming"},"input":{"type":"structure","required":["InstanceId","ContactId","ChatStreamingConfiguration","ClientToken"],"members":{"InstanceId":{},"ContactId":{},"ChatStreamingConfiguration":{"type":"structure","required":["StreamingEndpointArn"],"members":{"StreamingEndpointArn":{}}},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["StreamingId"],"members":{"StreamingId":{}}}},"StartOutboundVoiceContact":{"http":{"method":"PUT","requestUri":"/contact/outbound-voice"},"input":{"type":"structure","required":["DestinationPhoneNumber","ContactFlowId","InstanceId"],"members":{"DestinationPhoneNumber":{},"ContactFlowId":{},"InstanceId":{},"ClientToken":{"idempotencyToken":true},"SourcePhoneNumber":{},"QueueId":{},"Attributes":{"shape":"S73"},"AnswerMachineDetectionConfig":{"type":"structure","members":{"EnableAnswerMachineDetection":{"type":"boolean"},"AwaitAnswerMachinePrompt":{"type":"boolean"}}},"CampaignId":{},"TrafficType":{}}},"output":{"type":"structure","members":{"ContactId":{}}}},"StartTaskContact":{"http":{"method":"PUT","requestUri":"/contact/task"},"input":{"type":"structure","required":["InstanceId","ContactFlowId","Name"],"members":{"InstanceId":{},"PreviousContactId":{},"ContactFlowId":{},"Attributes":{"shape":"S73"},"Name":{},"References":{"shape":"Scm"},"Description":{},"ClientToken":{"idempotencyToken":true},"ScheduledTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{"ContactId":{}}}},"StopContact":{"http":{"requestUri":"/contact/stop"},"input":{"type":"structure","required":["ContactId","InstanceId"],"members":{"ContactId":{},"InstanceId":{}}},"output":{"type":"structure","members":{}}},"StopContactRecording":{"http":{"requestUri":"/contact/stop-recording"},"input":{"type":"structure","required":["InstanceId","ContactId","InitialContactId"],"members":{"InstanceId":{},"ContactId":{},"InitialContactId":{}}},"output":{"type":"structure","members":{}}},"StopContactStreaming":{"http":{"requestUri":"/contact/stop-streaming"},"input":{"type":"structure","required":["InstanceId","ContactId","StreamingId"],"members":{"InstanceId":{},"ContactId":{},"StreamingId":{}}},"output":{"type":"structure","members":{}}},"SuspendContactRecording":{"http":{"requestUri":"/contact/suspend-recording"},"input":{"type":"structure","required":["InstanceId","ContactId","InitialContactId"],"members":{"InstanceId":{},"ContactId":{},"InitialContactId":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1i"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}}},"UpdateAgentStatus":{"http":{"requestUri":"/agent-status/{InstanceId}/{AgentStatusId}"},"input":{"type":"structure","required":["InstanceId","AgentStatusId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AgentStatusId":{"location":"uri","locationName":"AgentStatusId"},"Name":{},"Description":{},"State":{},"DisplayOrder":{"type":"integer"},"ResetOrderNumber":{"type":"boolean"}}}},"UpdateContact":{"http":{"requestUri":"/contacts/{InstanceId}/{ContactId}"},"input":{"type":"structure","required":["InstanceId","ContactId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactId":{"location":"uri","locationName":"ContactId"},"Name":{},"Description":{},"References":{"shape":"Scm"}}},"output":{"type":"structure","members":{}}},"UpdateContactAttributes":{"http":{"requestUri":"/contact/attributes"},"input":{"type":"structure","required":["InitialContactId","InstanceId","Attributes"],"members":{"InitialContactId":{},"InstanceId":{},"Attributes":{"shape":"S73"}}},"output":{"type":"structure","members":{}}},"UpdateContactFlowContent":{"http":{"requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}/content"},"input":{"type":"structure","required":["InstanceId","ContactFlowId","Content"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"},"Content":{}}}},"UpdateContactFlowMetadata":{"http":{"requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}/metadata"},"input":{"type":"structure","required":["InstanceId","ContactFlowId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"},"Name":{},"Description":{},"ContactFlowState":{}}}},"UpdateContactFlowModuleContent":{"http":{"requestUri":"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/content"},"input":{"type":"structure","required":["InstanceId","ContactFlowModuleId","Content"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowModuleId":{"location":"uri","locationName":"ContactFlowModuleId"},"Content":{}}},"output":{"type":"structure","members":{}}},"UpdateContactFlowModuleMetadata":{"http":{"requestUri":"/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/metadata"},"input":{"type":"structure","required":["InstanceId","ContactFlowModuleId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowModuleId":{"location":"uri","locationName":"ContactFlowModuleId"},"Name":{},"Description":{},"State":{}}},"output":{"type":"structure","members":{}}},"UpdateContactFlowName":{"http":{"requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}/name"},"input":{"type":"structure","required":["InstanceId","ContactFlowId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"ContactFlowId":{"location":"uri","locationName":"ContactFlowId"},"Name":{},"Description":{}}}},"UpdateContactSchedule":{"http":{"requestUri":"/contact/schedule"},"input":{"type":"structure","required":["InstanceId","ContactId","ScheduledTime"],"members":{"InstanceId":{},"ContactId":{},"ScheduledTime":{"type":"timestamp"}}},"output":{"type":"structure","members":{}}},"UpdateHoursOfOperation":{"http":{"requestUri":"/hours-of-operations/{InstanceId}/{HoursOfOperationId}"},"input":{"type":"structure","required":["InstanceId","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"HoursOfOperationId":{"location":"uri","locationName":"HoursOfOperationId"},"Name":{},"Description":{},"TimeZone":{},"Config":{"shape":"S25"}}}},"UpdateInstanceAttribute":{"http":{"requestUri":"/instance/{InstanceId}/attribute/{AttributeType}"},"input":{"type":"structure","required":["InstanceId","AttributeType","Value"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AttributeType":{"location":"uri","locationName":"AttributeType"},"Value":{}}}},"UpdateInstanceStorageConfig":{"http":{"requestUri":"/instance/{InstanceId}/storage-config/{AssociationId}"},"input":{"type":"structure","required":["InstanceId","AssociationId","ResourceType","StorageConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"AssociationId":{"location":"uri","locationName":"AssociationId"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"StorageConfig":{"shape":"Sg"}}}},"UpdateQueueHoursOfOperation":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/hours-of-operation"},"input":{"type":"structure","required":["InstanceId","QueueId","HoursOfOperationId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"HoursOfOperationId":{}}}},"UpdateQueueMaxContacts":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/max-contacts"},"input":{"type":"structure","required":["InstanceId","QueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"MaxContacts":{"type":"integer"}}}},"UpdateQueueName":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/name"},"input":{"type":"structure","required":["InstanceId","QueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"Name":{},"Description":{}}}},"UpdateQueueOutboundCallerConfig":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/outbound-caller-config"},"input":{"type":"structure","required":["InstanceId","QueueId","OutboundCallerConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"OutboundCallerConfig":{"shape":"S2t"}}}},"UpdateQueueStatus":{"http":{"requestUri":"/queues/{InstanceId}/{QueueId}/status"},"input":{"type":"structure","required":["InstanceId","QueueId","Status"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QueueId":{"location":"uri","locationName":"QueueId"},"Status":{}}}},"UpdateQuickConnectConfig":{"http":{"requestUri":"/quick-connects/{InstanceId}/{QuickConnectId}/config"},"input":{"type":"structure","required":["InstanceId","QuickConnectId","QuickConnectConfig"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QuickConnectId":{"location":"uri","locationName":"QuickConnectId"},"QuickConnectConfig":{"shape":"S31"}}}},"UpdateQuickConnectName":{"http":{"requestUri":"/quick-connects/{InstanceId}/{QuickConnectId}/name"},"input":{"type":"structure","required":["InstanceId","QuickConnectId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"QuickConnectId":{"location":"uri","locationName":"QuickConnectId"},"Name":{},"Description":{}}}},"UpdateRoutingProfileConcurrency":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","MediaConcurrencies"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"MediaConcurrencies":{"shape":"S3c"}}}},"UpdateRoutingProfileDefaultOutboundQueue":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","DefaultOutboundQueueId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"DefaultOutboundQueueId":{}}}},"UpdateRoutingProfileName":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/name"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"Name":{},"Description":{}}}},"UpdateRoutingProfileQueues":{"http":{"requestUri":"/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"},"input":{"type":"structure","required":["InstanceId","RoutingProfileId","QueueConfigs"],"members":{"InstanceId":{"location":"uri","locationName":"InstanceId"},"RoutingProfileId":{"location":"uri","locationName":"RoutingProfileId"},"QueueConfigs":{"shape":"S14"}}}},"UpdateSecurityProfile":{"http":{"requestUri":"/security-profiles/{InstanceId}/{SecurityProfileId}"},"input":{"type":"structure","required":["SecurityProfileId","InstanceId"],"members":{"Description":{},"Permissions":{"shape":"S3j"},"SecurityProfileId":{"location":"uri","locationName":"SecurityProfileId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserHierarchy":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/hierarchy"},"input":{"type":"structure","required":["UserId","InstanceId"],"members":{"HierarchyGroupId":{},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserHierarchyGroupName":{"http":{"requestUri":"/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name"},"input":{"type":"structure","required":["Name","HierarchyGroupId","InstanceId"],"members":{"Name":{},"HierarchyGroupId":{"location":"uri","locationName":"HierarchyGroupId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserHierarchyStructure":{"http":{"requestUri":"/user-hierarchy-structure/{InstanceId}"},"input":{"type":"structure","required":["HierarchyStructure","InstanceId"],"members":{"HierarchyStructure":{"type":"structure","members":{"LevelOne":{"shape":"Se0"},"LevelTwo":{"shape":"Se0"},"LevelThree":{"shape":"Se0"},"LevelFour":{"shape":"Se0"},"LevelFive":{"shape":"Se0"}}},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserIdentityInfo":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/identity-info"},"input":{"type":"structure","required":["IdentityInfo","UserId","InstanceId"],"members":{"IdentityInfo":{"shape":"S3u"},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserPhoneConfig":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/phone-config"},"input":{"type":"structure","required":["PhoneConfig","UserId","InstanceId"],"members":{"PhoneConfig":{"shape":"S3y"},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserRoutingProfile":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/routing-profile"},"input":{"type":"structure","required":["RoutingProfileId","UserId","InstanceId"],"members":{"RoutingProfileId":{},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}},"UpdateUserSecurityProfiles":{"http":{"requestUri":"/users/{InstanceId}/{UserId}/security-profiles"},"input":{"type":"structure","required":["SecurityProfileIds","UserId","InstanceId"],"members":{"SecurityProfileIds":{"shape":"S43"},"UserId":{"location":"uri","locationName":"UserId"},"InstanceId":{"location":"uri","locationName":"InstanceId"}}}}},"shapes":{"S5":{"type":"structure","members":{"Name":{},"LexRegion":{}}},"S8":{"type":"structure","members":{"AliasArn":{}}},"Sg":{"type":"structure","required":["StorageType"],"members":{"AssociationId":{},"StorageType":{},"S3Config":{"type":"structure","required":["BucketName","BucketPrefix"],"members":{"BucketName":{},"BucketPrefix":{},"EncryptionConfig":{"shape":"Sm"}}},"KinesisVideoStreamConfig":{"type":"structure","required":["Prefix","RetentionPeriodHours","EncryptionConfig"],"members":{"Prefix":{},"RetentionPeriodHours":{"type":"integer"},"EncryptionConfig":{"shape":"Sm"}}},"KinesisStreamConfig":{"type":"structure","required":["StreamArn"],"members":{"StreamArn":{}}},"KinesisFirehoseConfig":{"type":"structure","required":["FirehoseArn"],"members":{"FirehoseArn":{}}}}},"Sm":{"type":"structure","required":["EncryptionType","KeyId"],"members":{"EncryptionType":{},"KeyId":{}}},"S10":{"type":"list","member":{}},"S14":{"type":"list","member":{"type":"structure","required":["QueueReference","Priority","Delay"],"members":{"QueueReference":{"shape":"S16"},"Priority":{"type":"integer"},"Delay":{"type":"integer"}}}},"S16":{"type":"structure","required":["QueueId","Channel"],"members":{"QueueId":{},"Channel":{}}},"S1i":{"type":"map","key":{},"value":{}},"S25":{"type":"list","member":{"type":"structure","required":["Day","StartTime","EndTime"],"members":{"Day":{},"StartTime":{"shape":"S28"},"EndTime":{"shape":"S28"}}}},"S28":{"type":"structure","required":["Hours","Minutes"],"members":{"Hours":{"type":"integer"},"Minutes":{"type":"integer"}}},"S2f":{"type":"string","sensitive":true},"S2t":{"type":"structure","members":{"OutboundCallerIdName":{},"OutboundCallerIdNumberId":{},"OutboundFlowId":{}}},"S31":{"type":"structure","required":["QuickConnectType"],"members":{"QuickConnectType":{},"UserConfig":{"type":"structure","required":["UserId","ContactFlowId"],"members":{"UserId":{},"ContactFlowId":{}}},"QueueConfig":{"type":"structure","required":["QueueId","ContactFlowId"],"members":{"QueueId":{},"ContactFlowId":{}}},"PhoneConfig":{"type":"structure","required":["PhoneNumber"],"members":{"PhoneNumber":{}}}}},"S3c":{"type":"list","member":{"type":"structure","required":["Channel","Concurrency"],"members":{"Channel":{},"Concurrency":{"type":"integer"}}}},"S3j":{"type":"list","member":{}},"S3u":{"type":"structure","members":{"FirstName":{},"LastName":{},"Email":{}}},"S3y":{"type":"structure","required":["PhoneType"],"members":{"PhoneType":{},"AutoAccept":{"type":"boolean"},"AfterContactWorkTimeLimit":{"type":"integer"},"DeskPhoneNumber":{}}},"S43":{"type":"list","member":{}},"S5s":{"type":"structure","members":{"AttributeType":{},"Value":{}}},"S6h":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}},"S6l":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}},"S73":{"type":"map","key":{},"value":{}},"S77":{"type":"structure","members":{"Queues":{"type":"list","member":{}},"Channels":{"type":"list","member":{}}}},"S7a":{"type":"list","member":{}},"S7d":{"type":"structure","members":{"Name":{},"Unit":{}}},"S7l":{"type":"structure","members":{"Queue":{"type":"structure","members":{"Id":{},"Arn":{}}},"Channel":{}}},"S7t":{"type":"string","sensitive":true},"S7w":{"type":"structure","members":{"Name":{},"Threshold":{"type":"structure","members":{"Comparison":{},"ThresholdValue":{"type":"double"}}},"Statistic":{},"Unit":{}}},"Sai":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{},"QuickConnectType":{}}}},"Scm":{"type":"map","key":{},"value":{"type":"structure","required":["Value","Type"],"members":{"Value":{},"Type":{}}}},"Se0":{"type":"structure","required":["Name"],"members":{"Name":{}}}}} /***/ }), /* 602 */ /***/ (function(module, exports) { - module.exports = {"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"}}} + module.exports = {"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"}}} /***/ }), /* 603 */ @@ -49583,7 +49589,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 611 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-17","endpointPrefix":"secretsmanager","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Secrets Manager","serviceId":"Secrets Manager","signatureVersion":"v4","signingName":"secretsmanager","targetPrefix":"secretsmanager","uid":"secretsmanager-2017-10-17"},"operations":{"CancelRotateSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{}}}},"CreateSecret":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"ClientRequestToken":{"idempotencyToken":true},"Description":{},"KmsKeyId":{},"SecretBinary":{"shape":"Sc"},"SecretString":{"shape":"Sd"},"Tags":{"shape":"Se"},"AddReplicaRegions":{"shape":"Si"},"ForceOverwriteReplicaSecret":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{},"ReplicationStatus":{"shape":"Sn"}}}},"DeleteResourcePolicy":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{}}}},"DeleteSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"RecoveryWindowInDays":{"type":"long"},"ForceDeleteWithoutRecovery":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"DeletionDate":{"type":"timestamp"}}}},"DescribeSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"Description":{},"KmsKeyId":{},"RotationEnabled":{"type":"boolean"},"RotationLambdaARN":{},"RotationRules":{"shape":"S12"},"LastRotatedDate":{"type":"timestamp"},"LastChangedDate":{"type":"timestamp"},"LastAccessedDate":{"type":"timestamp"},"DeletedDate":{"type":"timestamp"},"Tags":{"shape":"Se"},"VersionIdsToStages":{"shape":"S17"},"OwningService":{},"CreatedDate":{"type":"timestamp"},"PrimaryRegion":{},"ReplicationStatus":{"shape":"Sn"}}}},"GetRandomPassword":{"input":{"type":"structure","members":{"PasswordLength":{"type":"long"},"ExcludeCharacters":{},"ExcludeNumbers":{"type":"boolean"},"ExcludePunctuation":{"type":"boolean"},"ExcludeUppercase":{"type":"boolean"},"ExcludeLowercase":{"type":"boolean"},"IncludeSpace":{"type":"boolean"},"RequireEachIncludedType":{"type":"boolean"}}},"output":{"type":"structure","members":{"RandomPassword":{"type":"string","sensitive":true}}}},"GetResourcePolicy":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"ResourcePolicy":{}}}},"GetSecretValue":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"VersionId":{},"VersionStage":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{},"SecretBinary":{"shape":"Sc"},"SecretString":{"shape":"Sd"},"VersionStages":{"shape":"S18"},"CreatedDate":{"type":"timestamp"}}}},"ListSecretVersionIds":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"MaxResults":{"type":"integer"},"NextToken":{},"IncludeDeprecated":{"type":"boolean"}}},"output":{"type":"structure","members":{"Versions":{"type":"list","member":{"type":"structure","members":{"VersionId":{},"VersionStages":{"shape":"S18"},"LastAccessedDate":{"type":"timestamp"},"CreatedDate":{"type":"timestamp"},"KmsKeyIds":{"type":"list","member":{}}}}},"NextToken":{},"ARN":{},"Name":{}}}},"ListSecrets":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"SortOrder":{}}},"output":{"type":"structure","members":{"SecretList":{"type":"list","member":{"type":"structure","members":{"ARN":{},"Name":{},"Description":{},"KmsKeyId":{},"RotationEnabled":{"type":"boolean"},"RotationLambdaARN":{},"RotationRules":{"shape":"S12"},"LastRotatedDate":{"type":"timestamp"},"LastChangedDate":{"type":"timestamp"},"LastAccessedDate":{"type":"timestamp"},"DeletedDate":{"type":"timestamp"},"Tags":{"shape":"Se"},"SecretVersionsToStages":{"shape":"S17"},"OwningService":{},"CreatedDate":{"type":"timestamp"},"PrimaryRegion":{}}}},"NextToken":{}}}},"PutResourcePolicy":{"input":{"type":"structure","required":["SecretId","ResourcePolicy"],"members":{"SecretId":{},"ResourcePolicy":{},"BlockPublicPolicy":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{}}}},"PutSecretValue":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"ClientRequestToken":{"idempotencyToken":true},"SecretBinary":{"shape":"Sc"},"SecretString":{"shape":"Sd"},"VersionStages":{"shape":"S18"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{},"VersionStages":{"shape":"S18"}}}},"RemoveRegionsFromReplication":{"input":{"type":"structure","required":["SecretId","RemoveReplicaRegions"],"members":{"SecretId":{},"RemoveReplicaRegions":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ARN":{},"ReplicationStatus":{"shape":"Sn"}}}},"ReplicateSecretToRegions":{"input":{"type":"structure","required":["SecretId","AddReplicaRegions"],"members":{"SecretId":{},"AddReplicaRegions":{"shape":"Si"},"ForceOverwriteReplicaSecret":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"ReplicationStatus":{"shape":"Sn"}}}},"RestoreSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{}}}},"RotateSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"ClientRequestToken":{"idempotencyToken":true},"RotationLambdaARN":{},"RotationRules":{"shape":"S12"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{}}}},"StopReplicationToReplica":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{}}}},"TagResource":{"input":{"type":"structure","required":["SecretId","Tags"],"members":{"SecretId":{},"Tags":{"shape":"Se"}}}},"UntagResource":{"input":{"type":"structure","required":["SecretId","TagKeys"],"members":{"SecretId":{},"TagKeys":{"type":"list","member":{}}}}},"UpdateSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"ClientRequestToken":{"idempotencyToken":true},"Description":{},"KmsKeyId":{},"SecretBinary":{"shape":"Sc"},"SecretString":{"shape":"Sd"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{}}}},"UpdateSecretVersionStage":{"input":{"type":"structure","required":["SecretId","VersionStage"],"members":{"SecretId":{},"VersionStage":{},"RemoveFromVersionId":{},"MoveToVersionId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{}}}},"ValidateResourcePolicy":{"input":{"type":"structure","required":["ResourcePolicy"],"members":{"SecretId":{},"ResourcePolicy":{}}},"output":{"type":"structure","members":{"PolicyValidationPassed":{"type":"boolean"},"ValidationErrors":{"type":"list","member":{"type":"structure","members":{"CheckName":{},"ErrorMessage":{}}}}}}}},"shapes":{"Sc":{"type":"blob","sensitive":true},"Sd":{"type":"string","sensitive":true},"Se":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"Si":{"type":"list","member":{"type":"structure","members":{"Region":{},"KmsKeyId":{}}}},"Sn":{"type":"list","member":{"type":"structure","members":{"Region":{},"KmsKeyId":{},"Status":{},"StatusMessage":{},"LastAccessedDate":{"type":"timestamp"}}}},"S12":{"type":"structure","members":{"AutomaticallyAfterDays":{"type":"long"}}},"S17":{"type":"map","key":{},"value":{"shape":"S18"}},"S18":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-17","endpointPrefix":"secretsmanager","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Secrets Manager","serviceId":"Secrets Manager","signatureVersion":"v4","signingName":"secretsmanager","targetPrefix":"secretsmanager","uid":"secretsmanager-2017-10-17"},"operations":{"CancelRotateSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{}}}},"CreateSecret":{"input":{"type":"structure","required":["Name"],"members":{"Name":{},"ClientRequestToken":{"idempotencyToken":true},"Description":{},"KmsKeyId":{},"SecretBinary":{"shape":"Sc"},"SecretString":{"shape":"Sd"},"Tags":{"shape":"Se"},"AddReplicaRegions":{"shape":"Si"},"ForceOverwriteReplicaSecret":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{},"ReplicationStatus":{"shape":"Sn"}}}},"DeleteResourcePolicy":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{}}}},"DeleteSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"RecoveryWindowInDays":{"type":"long"},"ForceDeleteWithoutRecovery":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"DeletionDate":{"type":"timestamp"}}}},"DescribeSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"Description":{},"KmsKeyId":{},"RotationEnabled":{"type":"boolean"},"RotationLambdaARN":{},"RotationRules":{"shape":"S12"},"LastRotatedDate":{"type":"timestamp"},"LastChangedDate":{"type":"timestamp"},"LastAccessedDate":{"type":"timestamp"},"DeletedDate":{"type":"timestamp"},"Tags":{"shape":"Se"},"VersionIdsToStages":{"shape":"S19"},"OwningService":{},"CreatedDate":{"type":"timestamp"},"PrimaryRegion":{},"ReplicationStatus":{"shape":"Sn"}}}},"GetRandomPassword":{"input":{"type":"structure","members":{"PasswordLength":{"type":"long"},"ExcludeCharacters":{},"ExcludeNumbers":{"type":"boolean"},"ExcludePunctuation":{"type":"boolean"},"ExcludeUppercase":{"type":"boolean"},"ExcludeLowercase":{"type":"boolean"},"IncludeSpace":{"type":"boolean"},"RequireEachIncludedType":{"type":"boolean"}}},"output":{"type":"structure","members":{"RandomPassword":{"type":"string","sensitive":true}}}},"GetResourcePolicy":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"ResourcePolicy":{}}}},"GetSecretValue":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"VersionId":{},"VersionStage":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{},"SecretBinary":{"shape":"Sc"},"SecretString":{"shape":"Sd"},"VersionStages":{"shape":"S1a"},"CreatedDate":{"type":"timestamp"}}}},"ListSecretVersionIds":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"MaxResults":{"type":"integer"},"NextToken":{},"IncludeDeprecated":{"type":"boolean"}}},"output":{"type":"structure","members":{"Versions":{"type":"list","member":{"type":"structure","members":{"VersionId":{},"VersionStages":{"shape":"S1a"},"LastAccessedDate":{"type":"timestamp"},"CreatedDate":{"type":"timestamp"},"KmsKeyIds":{"type":"list","member":{}}}}},"NextToken":{},"ARN":{},"Name":{}}}},"ListSecrets":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","members":{"Key":{},"Values":{"type":"list","member":{}}}}},"SortOrder":{}}},"output":{"type":"structure","members":{"SecretList":{"type":"list","member":{"type":"structure","members":{"ARN":{},"Name":{},"Description":{},"KmsKeyId":{},"RotationEnabled":{"type":"boolean"},"RotationLambdaARN":{},"RotationRules":{"shape":"S12"},"LastRotatedDate":{"type":"timestamp"},"LastChangedDate":{"type":"timestamp"},"LastAccessedDate":{"type":"timestamp"},"DeletedDate":{"type":"timestamp"},"Tags":{"shape":"Se"},"SecretVersionsToStages":{"shape":"S19"},"OwningService":{},"CreatedDate":{"type":"timestamp"},"PrimaryRegion":{}}}},"NextToken":{}}}},"PutResourcePolicy":{"input":{"type":"structure","required":["SecretId","ResourcePolicy"],"members":{"SecretId":{},"ResourcePolicy":{},"BlockPublicPolicy":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{}}}},"PutSecretValue":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"ClientRequestToken":{"idempotencyToken":true},"SecretBinary":{"shape":"Sc"},"SecretString":{"shape":"Sd"},"VersionStages":{"shape":"S1a"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{},"VersionStages":{"shape":"S1a"}}}},"RemoveRegionsFromReplication":{"input":{"type":"structure","required":["SecretId","RemoveReplicaRegions"],"members":{"SecretId":{},"RemoveReplicaRegions":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ARN":{},"ReplicationStatus":{"shape":"Sn"}}}},"ReplicateSecretToRegions":{"input":{"type":"structure","required":["SecretId","AddReplicaRegions"],"members":{"SecretId":{},"AddReplicaRegions":{"shape":"Si"},"ForceOverwriteReplicaSecret":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"ReplicationStatus":{"shape":"Sn"}}}},"RestoreSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{}}}},"RotateSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"ClientRequestToken":{"idempotencyToken":true},"RotationLambdaARN":{},"RotationRules":{"shape":"S12"},"RotateImmediately":{"type":"boolean"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{}}}},"StopReplicationToReplica":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{}}},"output":{"type":"structure","members":{"ARN":{}}}},"TagResource":{"input":{"type":"structure","required":["SecretId","Tags"],"members":{"SecretId":{},"Tags":{"shape":"Se"}}}},"UntagResource":{"input":{"type":"structure","required":["SecretId","TagKeys"],"members":{"SecretId":{},"TagKeys":{"type":"list","member":{}}}}},"UpdateSecret":{"input":{"type":"structure","required":["SecretId"],"members":{"SecretId":{},"ClientRequestToken":{"idempotencyToken":true},"Description":{},"KmsKeyId":{},"SecretBinary":{"shape":"Sc"},"SecretString":{"shape":"Sd"}}},"output":{"type":"structure","members":{"ARN":{},"Name":{},"VersionId":{}}}},"UpdateSecretVersionStage":{"input":{"type":"structure","required":["SecretId","VersionStage"],"members":{"SecretId":{},"VersionStage":{},"RemoveFromVersionId":{},"MoveToVersionId":{}}},"output":{"type":"structure","members":{"ARN":{},"Name":{}}}},"ValidateResourcePolicy":{"input":{"type":"structure","required":["ResourcePolicy"],"members":{"SecretId":{},"ResourcePolicy":{}}},"output":{"type":"structure","members":{"PolicyValidationPassed":{"type":"boolean"},"ValidationErrors":{"type":"list","member":{"type":"structure","members":{"CheckName":{},"ErrorMessage":{}}}}}}}},"shapes":{"Sc":{"type":"blob","sensitive":true},"Sd":{"type":"string","sensitive":true},"Se":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"Si":{"type":"list","member":{"type":"structure","members":{"Region":{},"KmsKeyId":{}}}},"Sn":{"type":"list","member":{"type":"structure","members":{"Region":{},"KmsKeyId":{},"Status":{},"StatusMessage":{},"LastAccessedDate":{"type":"timestamp"}}}},"S12":{"type":"structure","members":{"AutomaticallyAfterDays":{"type":"long"},"Duration":{},"ScheduleExpression":{}}},"S19":{"type":"map","key":{},"value":{"shape":"S1a"}},"S1a":{"type":"list","member":{}}}} /***/ }), /* 612 */ @@ -49720,13 +49726,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 622 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-02-27","endpointPrefix":"pi","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"AWS PI","serviceFullName":"AWS Performance Insights","serviceId":"PI","signatureVersion":"v4","signingName":"pi","targetPrefix":"PerformanceInsightsv20180227","uid":"pi-2018-02-27"},"operations":{"DescribeDimensionKeys":{"input":{"type":"structure","required":["ServiceType","Identifier","StartTime","EndTime","Metric","GroupBy"],"members":{"ServiceType":{},"Identifier":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Metric":{},"PeriodInSeconds":{"type":"integer"},"GroupBy":{"shape":"S6"},"PartitionBy":{"shape":"S6"},"Filter":{"shape":"S9"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AlignedStartTime":{"type":"timestamp"},"AlignedEndTime":{"type":"timestamp"},"PartitionKeys":{"type":"list","member":{"type":"structure","required":["Dimensions"],"members":{"Dimensions":{"shape":"Sf"}}}},"Keys":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"Sf"},"Total":{"type":"double"},"Partitions":{"type":"list","member":{"type":"double"}}}}},"NextToken":{}}}},"GetDimensionKeyDetails":{"input":{"type":"structure","required":["ServiceType","Identifier","Group","GroupIdentifier"],"members":{"ServiceType":{},"Identifier":{},"Group":{},"GroupIdentifier":{},"RequestedDimensions":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"type":"structure","members":{"Value":{},"Dimension":{},"Status":{}}}}}}},"GetResourceMetrics":{"input":{"type":"structure","required":["ServiceType","Identifier","MetricQueries","StartTime","EndTime"],"members":{"ServiceType":{},"Identifier":{},"MetricQueries":{"type":"list","member":{"type":"structure","required":["Metric"],"members":{"Metric":{},"GroupBy":{"shape":"S6"},"Filter":{"shape":"S9"}}}},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"PeriodInSeconds":{"type":"integer"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AlignedStartTime":{"type":"timestamp"},"AlignedEndTime":{"type":"timestamp"},"Identifier":{},"MetricList":{"type":"list","member":{"type":"structure","members":{"Key":{"type":"structure","required":["Metric"],"members":{"Metric":{},"Dimensions":{"shape":"Sf"}}},"DataPoints":{"type":"list","member":{"type":"structure","required":["Timestamp","Value"],"members":{"Timestamp":{"type":"timestamp"},"Value":{"type":"double"}}}}}}},"NextToken":{}}}}},"shapes":{"S6":{"type":"structure","required":["Group"],"members":{"Group":{},"Dimensions":{"type":"list","member":{}},"Limit":{"type":"integer"}}},"S9":{"type":"map","key":{},"value":{}},"Sf":{"type":"map","key":{},"value":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-02-27","endpointPrefix":"pi","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"AWS PI","serviceFullName":"AWS Performance Insights","serviceId":"PI","signatureVersion":"v4","signingName":"pi","targetPrefix":"PerformanceInsightsv20180227","uid":"pi-2018-02-27"},"operations":{"DescribeDimensionKeys":{"input":{"type":"structure","required":["ServiceType","Identifier","StartTime","EndTime","Metric","GroupBy"],"members":{"ServiceType":{},"Identifier":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Metric":{},"PeriodInSeconds":{"type":"integer"},"GroupBy":{"shape":"S6"},"AdditionalMetrics":{"type":"list","member":{}},"PartitionBy":{"shape":"S6"},"Filter":{"shape":"Sa"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AlignedStartTime":{"type":"timestamp"},"AlignedEndTime":{"type":"timestamp"},"PartitionKeys":{"type":"list","member":{"type":"structure","required":["Dimensions"],"members":{"Dimensions":{"shape":"Sg"}}}},"Keys":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"shape":"Sg"},"Total":{"type":"double"},"AdditionalMetrics":{"type":"map","key":{},"value":{"type":"double"}},"Partitions":{"type":"list","member":{"type":"double"}}}}},"NextToken":{}}}},"GetDimensionKeyDetails":{"input":{"type":"structure","required":["ServiceType","Identifier","Group","GroupIdentifier"],"members":{"ServiceType":{},"Identifier":{},"Group":{},"GroupIdentifier":{},"RequestedDimensions":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"type":"structure","members":{"Value":{},"Dimension":{},"Status":{}}}}}}},"GetResourceMetadata":{"input":{"type":"structure","required":["ServiceType","Identifier"],"members":{"ServiceType":{},"Identifier":{}}},"output":{"type":"structure","members":{"Identifier":{},"Features":{"type":"map","key":{},"value":{"type":"structure","members":{"Status":{}}}}}}},"GetResourceMetrics":{"input":{"type":"structure","required":["ServiceType","Identifier","MetricQueries","StartTime","EndTime"],"members":{"ServiceType":{},"Identifier":{},"MetricQueries":{"type":"list","member":{"type":"structure","required":["Metric"],"members":{"Metric":{},"GroupBy":{"shape":"S6"},"Filter":{"shape":"Sa"}}}},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"PeriodInSeconds":{"type":"integer"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AlignedStartTime":{"type":"timestamp"},"AlignedEndTime":{"type":"timestamp"},"Identifier":{},"MetricList":{"type":"list","member":{"type":"structure","members":{"Key":{"type":"structure","required":["Metric"],"members":{"Metric":{},"Dimensions":{"shape":"Sg"}}},"DataPoints":{"type":"list","member":{"type":"structure","required":["Timestamp","Value"],"members":{"Timestamp":{"type":"timestamp"},"Value":{"type":"double"}}}}}}},"NextToken":{}}}},"ListAvailableResourceDimensions":{"input":{"type":"structure","required":["ServiceType","Identifier","Metrics"],"members":{"ServiceType":{},"Identifier":{},"Metrics":{"type":"list","member":{}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"MetricDimensions":{"type":"list","member":{"type":"structure","members":{"Metric":{},"Groups":{"type":"list","member":{"type":"structure","members":{"Group":{},"Dimensions":{"type":"list","member":{"type":"structure","members":{"Identifier":{}}}}}}}}}},"NextToken":{}}}},"ListAvailableResourceMetrics":{"input":{"type":"structure","required":["ServiceType","Identifier","MetricTypes"],"members":{"ServiceType":{},"Identifier":{},"MetricTypes":{"type":"list","member":{}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Metrics":{"type":"list","member":{"type":"structure","members":{"Metric":{},"Description":{},"Unit":{}}}},"NextToken":{}}}}},"shapes":{"S6":{"type":"structure","required":["Group"],"members":{"Group":{},"Dimensions":{"type":"list","member":{}},"Limit":{"type":"integer"}}},"Sa":{"type":"map","key":{},"value":{}},"Sg":{"type":"map","key":{},"value":{}}}} /***/ }), /* 623 */ /***/ (function(module, exports) { - module.exports = {"pagination":{}} + module.exports = {"pagination":{"DescribeDimensionKeys":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"GetResourceMetrics":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListAvailableResourceDimensions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListAvailableResourceMetrics":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}} /***/ }), /* 624 */ @@ -49831,7 +49837,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 630 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2018-04-23","endpointPrefix":"api.mediatailor","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"MediaTailor","serviceFullName":"AWS MediaTailor","serviceId":"MediaTailor","signatureVersion":"v4","signingName":"mediatailor","uid":"mediatailor-2018-04-23"},"operations":{"ConfigureLogsForPlaybackConfiguration":{"http":{"method":"PUT","requestUri":"/configureLogs/playbackConfiguration","responseCode":200},"input":{"members":{"PercentEnabled":{"type":"integer"},"PlaybackConfigurationName":{}},"required":["PercentEnabled","PlaybackConfigurationName"],"type":"structure"},"output":{"members":{"PercentEnabled":{"type":"integer"},"PlaybackConfigurationName":{}},"type":"structure"}},"CreateChannel":{"http":{"requestUri":"/channel/{channelName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"FillerSlate":{"shape":"S6"},"Outputs":{"shape":"S7"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["ChannelName","Outputs","PlaybackMode"],"type":"structure"},"output":{"members":{"Arn":{},"ChannelName":{},"ChannelState":{},"CreationTime":{"shape":"Sf"},"FillerSlate":{"shape":"S6"},"LastModifiedTime":{"shape":"Sf"},"Outputs":{"shape":"Sg"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"CreatePrefetchSchedule":{"http":{"requestUri":"/prefetchSchedule/{PlaybackConfigurationName}/{Name}","responseCode":200},"input":{"members":{"Consumption":{"shape":"Sj"},"Name":{"location":"uri","locationName":"Name"},"PlaybackConfigurationName":{"location":"uri","locationName":"PlaybackConfigurationName"},"Retrieval":{"shape":"Sn"},"StreamId":{}},"required":["Name","PlaybackConfigurationName","Consumption","Retrieval"],"type":"structure"},"output":{"members":{"Arn":{},"Consumption":{"shape":"Sj"},"Name":{},"PlaybackConfigurationName":{},"Retrieval":{"shape":"Sn"},"StreamId":{}},"type":"structure"}},"CreateProgram":{"http":{"requestUri":"/channel/{channelName}/program/{programName}","responseCode":200},"input":{"members":{"AdBreaks":{"shape":"Sq"},"ChannelName":{"location":"uri","locationName":"channelName"},"ProgramName":{"location":"uri","locationName":"programName"},"ScheduleConfiguration":{"members":{"Transition":{"members":{"RelativePosition":{},"RelativeProgram":{},"ScheduledStartTimeMillis":{"type":"long"},"Type":{}},"required":["Type","RelativePosition"],"type":"structure"}},"required":["Transition"],"type":"structure"},"SourceLocationName":{},"VodSourceName":{}},"required":["ChannelName","ProgramName","VodSourceName","ScheduleConfiguration","SourceLocationName"],"type":"structure"},"output":{"members":{"AdBreaks":{"shape":"Sq"},"Arn":{},"ChannelName":{},"CreationTime":{"shape":"Sf"},"ProgramName":{},"ScheduledStartTime":{"shape":"Sf"},"SourceLocationName":{},"VodSourceName":{}},"type":"structure"}},"CreateSourceLocation":{"http":{"requestUri":"/sourceLocation/{sourceLocationName}","responseCode":200},"input":{"members":{"AccessConfiguration":{"shape":"S10"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["SourceLocationName","HttpConfiguration"],"type":"structure"},"output":{"members":{"AccessConfiguration":{"shape":"S10"},"Arn":{},"CreationTime":{"shape":"Sf"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"CreateVodSource":{"http":{"requestUri":"/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}","responseCode":200},"input":{"members":{"HttpPackageConfigurations":{"shape":"S17"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{"location":"uri","locationName":"vodSourceName"}},"required":["SourceLocationName","VodSourceName","HttpPackageConfigurations"],"type":"structure"},"output":{"members":{"Arn":{},"CreationTime":{"shape":"Sf"},"HttpPackageConfigurations":{"shape":"S17"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{}},"type":"structure"}},"DeleteChannel":{"http":{"method":"DELETE","requestUri":"/channel/{channelName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteChannelPolicy":{"http":{"method":"DELETE","requestUri":"/channel/{channelName}/policy","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeletePlaybackConfiguration":{"http":{"method":"DELETE","requestUri":"/playbackConfiguration/{Name}","responseCode":204},"input":{"members":{"Name":{"location":"uri","locationName":"Name"}},"required":["Name"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeletePrefetchSchedule":{"http":{"method":"DELETE","requestUri":"/prefetchSchedule/{PlaybackConfigurationName}/{Name}","responseCode":204},"input":{"members":{"Name":{"location":"uri","locationName":"Name"},"PlaybackConfigurationName":{"location":"uri","locationName":"PlaybackConfigurationName"}},"required":["Name","PlaybackConfigurationName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteProgram":{"http":{"method":"DELETE","requestUri":"/channel/{channelName}/program/{programName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["ChannelName","ProgramName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteSourceLocation":{"http":{"method":"DELETE","requestUri":"/sourceLocation/{sourceLocationName}","responseCode":200},"input":{"members":{"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"}},"required":["SourceLocationName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteVodSource":{"http":{"method":"DELETE","requestUri":"/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}","responseCode":200},"input":{"members":{"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"VodSourceName":{"location":"uri","locationName":"vodSourceName"}},"required":["SourceLocationName","VodSourceName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DescribeChannel":{"http":{"method":"GET","requestUri":"/channel/{channelName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{"Arn":{},"ChannelName":{},"ChannelState":{},"CreationTime":{"shape":"Sf"},"FillerSlate":{"shape":"S6"},"LastModifiedTime":{"shape":"Sf"},"Outputs":{"shape":"Sg"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"DescribeProgram":{"http":{"method":"GET","requestUri":"/channel/{channelName}/program/{programName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["ChannelName","ProgramName"],"type":"structure"},"output":{"members":{"AdBreaks":{"shape":"Sq"},"Arn":{},"ChannelName":{},"CreationTime":{"shape":"Sf"},"ProgramName":{},"ScheduledStartTime":{"shape":"Sf"},"SourceLocationName":{},"VodSourceName":{}},"type":"structure"}},"DescribeSourceLocation":{"http":{"method":"GET","requestUri":"/sourceLocation/{sourceLocationName}","responseCode":200},"input":{"members":{"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"}},"required":["SourceLocationName"],"type":"structure"},"output":{"members":{"AccessConfiguration":{"shape":"S10"},"Arn":{},"CreationTime":{"shape":"Sf"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"DescribeVodSource":{"http":{"method":"GET","requestUri":"/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}","responseCode":200},"input":{"members":{"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"VodSourceName":{"location":"uri","locationName":"vodSourceName"}},"required":["SourceLocationName","VodSourceName"],"type":"structure"},"output":{"members":{"Arn":{},"CreationTime":{"shape":"Sf"},"HttpPackageConfigurations":{"shape":"S17"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{}},"type":"structure"}},"GetChannelPolicy":{"http":{"method":"GET","requestUri":"/channel/{channelName}/policy","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{"Policy":{}},"type":"structure"}},"GetChannelSchedule":{"http":{"method":"GET","requestUri":"/channel/{channelName}/schedule","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"DurationMinutes":{"location":"querystring","locationName":"durationMinutes"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"ApproximateDurationSeconds":{"type":"long"},"ApproximateStartTime":{"shape":"Sf"},"Arn":{},"ChannelName":{},"ProgramName":{},"ScheduleAdBreaks":{"member":{"members":{"ApproximateDurationSeconds":{"type":"long"},"ApproximateStartTime":{"shape":"Sf"},"SourceLocationName":{},"VodSourceName":{}},"type":"structure"},"type":"list"},"ScheduleEntryType":{},"SourceLocationName":{},"VodSourceName":{}},"required":["VodSourceName","ChannelName","SourceLocationName","Arn","ProgramName"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"GetPlaybackConfiguration":{"http":{"method":"GET","requestUri":"/playbackConfiguration/{Name}","responseCode":200},"input":{"members":{"Name":{"location":"uri","locationName":"Name"}},"required":["Name"],"type":"structure"},"output":{"members":{"AdDecisionServerUrl":{},"AvailSuppression":{"shape":"S29"},"Bumper":{"shape":"S2b"},"CdnConfiguration":{"shape":"S2c"},"ConfigurationAliases":{"shape":"S2d"},"DashConfiguration":{"shape":"S2e"},"HlsConfiguration":{"shape":"S2g"},"LivePreRollConfiguration":{"shape":"S2h"},"LogConfiguration":{"shape":"S2i"},"ManifestProcessingRules":{"shape":"S2j"},"Name":{},"PersonalizationThresholdSeconds":{"type":"integer"},"PlaybackConfigurationArn":{},"PlaybackEndpointPrefix":{},"SessionInitializationEndpointPrefix":{},"SlateAdUrl":{},"Tags":{"locationName":"tags","shape":"Sc"},"TranscodeProfileName":{},"VideoContentSourceUrl":{}},"type":"structure"}},"GetPrefetchSchedule":{"http":{"method":"GET","requestUri":"/prefetchSchedule/{PlaybackConfigurationName}/{Name}","responseCode":200},"input":{"members":{"Name":{"location":"uri","locationName":"Name"},"PlaybackConfigurationName":{"location":"uri","locationName":"PlaybackConfigurationName"}},"required":["Name","PlaybackConfigurationName"],"type":"structure"},"output":{"members":{"Arn":{},"Consumption":{"shape":"Sj"},"Name":{},"PlaybackConfigurationName":{},"Retrieval":{"shape":"Sn"},"StreamId":{}},"type":"structure"}},"ListAlerts":{"http":{"method":"GET","requestUri":"/alerts","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"ResourceArn":{"location":"querystring","locationName":"resourceArn"}},"required":["ResourceArn"],"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"AlertCode":{},"AlertMessage":{},"LastModifiedTime":{"shape":"Sf"},"RelatedResourceArns":{"shape":"S2t"},"ResourceArn":{}},"required":["ResourceArn","AlertCode","LastModifiedTime","RelatedResourceArns","AlertMessage"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListChannels":{"http":{"method":"GET","requestUri":"/channels","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"Arn":{},"ChannelName":{},"ChannelState":{},"CreationTime":{"shape":"Sf"},"FillerSlate":{"shape":"S6"},"LastModifiedTime":{"shape":"Sf"},"Outputs":{"shape":"Sg"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["ChannelState","ChannelName","Outputs","Arn","PlaybackMode"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListPlaybackConfigurations":{"http":{"method":"GET","requestUri":"/playbackConfigurations","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"AdDecisionServerUrl":{},"AvailSuppression":{"shape":"S29"},"Bumper":{"shape":"S2b"},"CdnConfiguration":{"shape":"S2c"},"ConfigurationAliases":{"shape":"S2d"},"DashConfiguration":{"shape":"S2e"},"HlsConfiguration":{"shape":"S2g"},"LivePreRollConfiguration":{"shape":"S2h"},"LogConfiguration":{"shape":"S2i"},"ManifestProcessingRules":{"shape":"S2j"},"Name":{},"PersonalizationThresholdSeconds":{"type":"integer"},"PlaybackConfigurationArn":{},"PlaybackEndpointPrefix":{},"SessionInitializationEndpointPrefix":{},"SlateAdUrl":{},"Tags":{"locationName":"tags","shape":"Sc"},"TranscodeProfileName":{},"VideoContentSourceUrl":{}},"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListPrefetchSchedules":{"http":{"requestUri":"/prefetchSchedule/{PlaybackConfigurationName}","responseCode":200},"input":{"members":{"MaxResults":{"type":"integer"},"NextToken":{},"PlaybackConfigurationName":{"location":"uri","locationName":"PlaybackConfigurationName"},"StreamId":{}},"required":["PlaybackConfigurationName"],"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"Arn":{},"Consumption":{"shape":"Sj"},"Name":{},"PlaybackConfigurationName":{},"Retrieval":{"shape":"Sn"},"StreamId":{}},"required":["Retrieval","Consumption","Arn","PlaybackConfigurationName","Name"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListSourceLocations":{"http":{"method":"GET","requestUri":"/sourceLocations","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"AccessConfiguration":{"shape":"S10"},"Arn":{},"CreationTime":{"shape":"Sf"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["SourceLocationName","HttpConfiguration","Arn"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}},"required":["ResourceArn"],"type":"structure"},"output":{"members":{"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"ListVodSources":{"http":{"method":"GET","requestUri":"/sourceLocation/{sourceLocationName}/vodSources","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"}},"required":["SourceLocationName"],"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"Arn":{},"CreationTime":{"shape":"Sf"},"HttpPackageConfigurations":{"shape":"S17"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{}},"required":["VodSourceName","SourceLocationName","HttpPackageConfigurations","Arn"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"PutChannelPolicy":{"http":{"method":"PUT","requestUri":"/channel/{channelName}/policy","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"Policy":{}},"required":["ChannelName","Policy"],"type":"structure"},"output":{"members":{},"type":"structure"}},"PutPlaybackConfiguration":{"http":{"method":"PUT","requestUri":"/playbackConfiguration","responseCode":200},"input":{"members":{"AdDecisionServerUrl":{},"AvailSuppression":{"shape":"S29"},"Bumper":{"shape":"S2b"},"CdnConfiguration":{"shape":"S2c"},"ConfigurationAliases":{"key":{},"type":"map","value":{"shape":"Sc"}},"DashConfiguration":{"members":{"MpdLocation":{},"OriginManifestType":{}},"type":"structure"},"LivePreRollConfiguration":{"shape":"S2h"},"ManifestProcessingRules":{"shape":"S2j"},"Name":{},"PersonalizationThresholdSeconds":{"type":"integer"},"SlateAdUrl":{},"Tags":{"locationName":"tags","shape":"Sc"},"TranscodeProfileName":{},"VideoContentSourceUrl":{}},"type":"structure"},"output":{"members":{"AdDecisionServerUrl":{},"AvailSuppression":{"shape":"S29"},"Bumper":{"shape":"S2b"},"CdnConfiguration":{"shape":"S2c"},"ConfigurationAliases":{"shape":"S2d"},"DashConfiguration":{"shape":"S2e"},"HlsConfiguration":{"shape":"S2g"},"LivePreRollConfiguration":{"shape":"S2h"},"LogConfiguration":{"shape":"S2i"},"ManifestProcessingRules":{"shape":"S2j"},"Name":{},"PersonalizationThresholdSeconds":{"type":"integer"},"PlaybackConfigurationArn":{},"PlaybackEndpointPrefix":{},"SessionInitializationEndpointPrefix":{},"SlateAdUrl":{},"Tags":{"locationName":"tags","shape":"Sc"},"TranscodeProfileName":{},"VideoContentSourceUrl":{}},"type":"structure"}},"StartChannel":{"http":{"method":"PUT","requestUri":"/channel/{channelName}/start","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"StopChannel":{"http":{"method":"PUT","requestUri":"/channel/{channelName}/stop","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["ResourceArn","Tags"],"type":"structure"}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","shape":"S2t"}},"required":["ResourceArn","TagKeys"],"type":"structure"}},"UpdateChannel":{"http":{"method":"PUT","requestUri":"/channel/{channelName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"Outputs":{"shape":"S7"}},"required":["ChannelName","Outputs"],"type":"structure"},"output":{"members":{"Arn":{},"ChannelName":{},"ChannelState":{},"CreationTime":{"shape":"Sf"},"FillerSlate":{"shape":"S6"},"LastModifiedTime":{"shape":"Sf"},"Outputs":{"shape":"Sg"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"UpdateSourceLocation":{"http":{"method":"PUT","requestUri":"/sourceLocation/{sourceLocationName}","responseCode":200},"input":{"members":{"AccessConfiguration":{"shape":"S10"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"}},"required":["SourceLocationName","HttpConfiguration"],"type":"structure"},"output":{"members":{"AccessConfiguration":{"shape":"S10"},"Arn":{},"CreationTime":{"shape":"Sf"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"UpdateVodSource":{"http":{"method":"PUT","requestUri":"/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}","responseCode":200},"input":{"members":{"HttpPackageConfigurations":{"shape":"S17"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"VodSourceName":{"location":"uri","locationName":"vodSourceName"}},"required":["SourceLocationName","VodSourceName","HttpPackageConfigurations"],"type":"structure"},"output":{"members":{"Arn":{},"CreationTime":{"shape":"Sf"},"HttpPackageConfigurations":{"shape":"S17"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{}},"type":"structure"}}},"shapes":{"S6":{"members":{"SourceLocationName":{},"VodSourceName":{}},"type":"structure"},"S7":{"member":{"members":{"DashPlaylistSettings":{"shape":"S9"},"HlsPlaylistSettings":{"shape":"Sa"},"ManifestName":{},"SourceGroup":{}},"required":["ManifestName","SourceGroup"],"type":"structure"},"type":"list"},"S9":{"members":{"ManifestWindowSeconds":{"type":"integer"},"MinBufferTimeSeconds":{"type":"integer"},"MinUpdatePeriodSeconds":{"type":"integer"},"SuggestedPresentationDelaySeconds":{"type":"integer"}},"type":"structure"},"Sa":{"members":{"ManifestWindowSeconds":{"type":"integer"}},"type":"structure"},"Sc":{"key":{},"type":"map","value":{}},"Sf":{"timestampFormat":"unixTimestamp","type":"timestamp"},"Sg":{"member":{"members":{"DashPlaylistSettings":{"shape":"S9"},"HlsPlaylistSettings":{"shape":"Sa"},"ManifestName":{},"PlaybackUrl":{},"SourceGroup":{}},"required":["ManifestName","PlaybackUrl","SourceGroup"],"type":"structure"},"type":"list"},"Sj":{"members":{"AvailMatchingCriteria":{"member":{"members":{"DynamicVariable":{},"Operator":{}},"required":["Operator","DynamicVariable"],"type":"structure"},"type":"list"},"EndTime":{"shape":"Sf"},"StartTime":{"shape":"Sf"}},"required":["EndTime"],"type":"structure"},"Sn":{"members":{"DynamicVariables":{"shape":"Sc"},"EndTime":{"shape":"Sf"},"StartTime":{"shape":"Sf"}},"required":["EndTime"],"type":"structure"},"Sq":{"member":{"members":{"MessageType":{},"OffsetMillis":{"type":"long"},"Slate":{"shape":"S6"},"SpliceInsertMessage":{"members":{"AvailNum":{"type":"integer"},"AvailsExpected":{"type":"integer"},"SpliceEventId":{"type":"integer"},"UniqueProgramId":{"type":"integer"}},"type":"structure"}},"type":"structure"},"type":"list"},"S10":{"members":{"AccessType":{},"SecretsManagerAccessTokenConfiguration":{"members":{"HeaderName":{},"SecretArn":{},"SecretStringKey":{}},"type":"structure"}},"type":"structure"},"S13":{"members":{"BaseUrl":{}},"type":"structure"},"S14":{"members":{"BaseUrl":{}},"required":["BaseUrl"],"type":"structure"},"S17":{"member":{"members":{"Path":{},"SourceGroup":{},"Type":{}},"required":["Path","Type","SourceGroup"],"type":"structure"},"type":"list"},"S29":{"members":{"Mode":{},"Value":{}},"type":"structure"},"S2b":{"members":{"EndUrl":{},"StartUrl":{}},"type":"structure"},"S2c":{"members":{"AdSegmentUrlPrefix":{},"ContentSegmentUrlPrefix":{}},"type":"structure"},"S2d":{"key":{},"type":"map","value":{"shape":"Sc"}},"S2e":{"members":{"ManifestEndpointPrefix":{},"MpdLocation":{},"OriginManifestType":{}},"type":"structure"},"S2g":{"members":{"ManifestEndpointPrefix":{}},"type":"structure"},"S2h":{"members":{"AdDecisionServerUrl":{},"MaxDurationSeconds":{"type":"integer"}},"type":"structure"},"S2i":{"members":{"PercentEnabled":{"type":"integer"}},"required":["PercentEnabled"],"type":"structure"},"S2j":{"members":{"AdMarkerPassthrough":{"members":{"Enabled":{"type":"boolean"}},"type":"structure"}},"type":"structure"},"S2t":{"member":{},"type":"list"}}} + module.exports = {"metadata":{"apiVersion":"2018-04-23","endpointPrefix":"api.mediatailor","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"MediaTailor","serviceFullName":"AWS MediaTailor","serviceId":"MediaTailor","signatureVersion":"v4","signingName":"mediatailor","uid":"mediatailor-2018-04-23"},"operations":{"ConfigureLogsForPlaybackConfiguration":{"http":{"method":"PUT","requestUri":"/configureLogs/playbackConfiguration","responseCode":200},"input":{"members":{"PercentEnabled":{"type":"integer"},"PlaybackConfigurationName":{}},"required":["PercentEnabled","PlaybackConfigurationName"],"type":"structure"},"output":{"members":{"PercentEnabled":{"type":"integer"},"PlaybackConfigurationName":{}},"type":"structure"}},"CreateChannel":{"http":{"requestUri":"/channel/{channelName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"FillerSlate":{"shape":"S6"},"Outputs":{"shape":"S7"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["ChannelName","Outputs","PlaybackMode"],"type":"structure"},"output":{"members":{"Arn":{},"ChannelName":{},"ChannelState":{},"CreationTime":{"shape":"Sf"},"FillerSlate":{"shape":"S6"},"LastModifiedTime":{"shape":"Sf"},"Outputs":{"shape":"Sg"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"CreatePrefetchSchedule":{"http":{"requestUri":"/prefetchSchedule/{PlaybackConfigurationName}/{Name}","responseCode":200},"input":{"members":{"Consumption":{"shape":"Sj"},"Name":{"location":"uri","locationName":"Name"},"PlaybackConfigurationName":{"location":"uri","locationName":"PlaybackConfigurationName"},"Retrieval":{"shape":"Sn"},"StreamId":{}},"required":["Name","PlaybackConfigurationName","Retrieval","Consumption"],"type":"structure"},"output":{"members":{"Arn":{},"Consumption":{"shape":"Sj"},"Name":{},"PlaybackConfigurationName":{},"Retrieval":{"shape":"Sn"},"StreamId":{}},"type":"structure"}},"CreateProgram":{"http":{"requestUri":"/channel/{channelName}/program/{programName}","responseCode":200},"input":{"members":{"AdBreaks":{"shape":"Sq"},"ChannelName":{"location":"uri","locationName":"channelName"},"ProgramName":{"location":"uri","locationName":"programName"},"ScheduleConfiguration":{"members":{"Transition":{"members":{"RelativePosition":{},"RelativeProgram":{},"ScheduledStartTimeMillis":{"type":"long"},"Type":{}},"required":["Type","RelativePosition"],"type":"structure"}},"required":["Transition"],"type":"structure"},"SourceLocationName":{},"VodSourceName":{}},"required":["ChannelName","ProgramName","VodSourceName","SourceLocationName","ScheduleConfiguration"],"type":"structure"},"output":{"members":{"AdBreaks":{"shape":"Sq"},"Arn":{},"ChannelName":{},"CreationTime":{"shape":"Sf"},"ProgramName":{},"ScheduledStartTime":{"shape":"Sf"},"SourceLocationName":{},"VodSourceName":{}},"type":"structure"}},"CreateSourceLocation":{"http":{"requestUri":"/sourceLocation/{sourceLocationName}","responseCode":200},"input":{"members":{"AccessConfiguration":{"shape":"S10"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"SegmentDeliveryConfigurations":{"shape":"S15"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["SourceLocationName","HttpConfiguration"],"type":"structure"},"output":{"members":{"AccessConfiguration":{"shape":"S10"},"Arn":{},"CreationTime":{"shape":"Sf"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"LastModifiedTime":{"shape":"Sf"},"SegmentDeliveryConfigurations":{"shape":"S15"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"CreateVodSource":{"http":{"requestUri":"/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}","responseCode":200},"input":{"members":{"HttpPackageConfigurations":{"shape":"S19"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{"location":"uri","locationName":"vodSourceName"}},"required":["SourceLocationName","VodSourceName","HttpPackageConfigurations"],"type":"structure"},"output":{"members":{"Arn":{},"CreationTime":{"shape":"Sf"},"HttpPackageConfigurations":{"shape":"S19"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{}},"type":"structure"}},"DeleteChannel":{"http":{"method":"DELETE","requestUri":"/channel/{channelName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteChannelPolicy":{"http":{"method":"DELETE","requestUri":"/channel/{channelName}/policy","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeletePlaybackConfiguration":{"http":{"method":"DELETE","requestUri":"/playbackConfiguration/{Name}","responseCode":204},"input":{"members":{"Name":{"location":"uri","locationName":"Name"}},"required":["Name"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeletePrefetchSchedule":{"http":{"method":"DELETE","requestUri":"/prefetchSchedule/{PlaybackConfigurationName}/{Name}","responseCode":204},"input":{"members":{"Name":{"location":"uri","locationName":"Name"},"PlaybackConfigurationName":{"location":"uri","locationName":"PlaybackConfigurationName"}},"required":["Name","PlaybackConfigurationName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteProgram":{"http":{"method":"DELETE","requestUri":"/channel/{channelName}/program/{programName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["ChannelName","ProgramName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteSourceLocation":{"http":{"method":"DELETE","requestUri":"/sourceLocation/{sourceLocationName}","responseCode":200},"input":{"members":{"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"}},"required":["SourceLocationName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteVodSource":{"http":{"method":"DELETE","requestUri":"/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}","responseCode":200},"input":{"members":{"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"VodSourceName":{"location":"uri","locationName":"vodSourceName"}},"required":["SourceLocationName","VodSourceName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DescribeChannel":{"http":{"method":"GET","requestUri":"/channel/{channelName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{"Arn":{},"ChannelName":{},"ChannelState":{},"CreationTime":{"shape":"Sf"},"FillerSlate":{"shape":"S6"},"LastModifiedTime":{"shape":"Sf"},"Outputs":{"shape":"Sg"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"DescribeProgram":{"http":{"method":"GET","requestUri":"/channel/{channelName}/program/{programName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"ProgramName":{"location":"uri","locationName":"programName"}},"required":["ChannelName","ProgramName"],"type":"structure"},"output":{"members":{"AdBreaks":{"shape":"Sq"},"Arn":{},"ChannelName":{},"CreationTime":{"shape":"Sf"},"ProgramName":{},"ScheduledStartTime":{"shape":"Sf"},"SourceLocationName":{},"VodSourceName":{}},"type":"structure"}},"DescribeSourceLocation":{"http":{"method":"GET","requestUri":"/sourceLocation/{sourceLocationName}","responseCode":200},"input":{"members":{"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"}},"required":["SourceLocationName"],"type":"structure"},"output":{"members":{"AccessConfiguration":{"shape":"S10"},"Arn":{},"CreationTime":{"shape":"Sf"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"LastModifiedTime":{"shape":"Sf"},"SegmentDeliveryConfigurations":{"shape":"S15"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"DescribeVodSource":{"http":{"method":"GET","requestUri":"/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}","responseCode":200},"input":{"members":{"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"VodSourceName":{"location":"uri","locationName":"vodSourceName"}},"required":["SourceLocationName","VodSourceName"],"type":"structure"},"output":{"members":{"Arn":{},"CreationTime":{"shape":"Sf"},"HttpPackageConfigurations":{"shape":"S19"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{}},"type":"structure"}},"GetChannelPolicy":{"http":{"method":"GET","requestUri":"/channel/{channelName}/policy","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{"Policy":{}},"type":"structure"}},"GetChannelSchedule":{"http":{"method":"GET","requestUri":"/channel/{channelName}/schedule","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"DurationMinutes":{"location":"querystring","locationName":"durationMinutes"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"ApproximateDurationSeconds":{"type":"long"},"ApproximateStartTime":{"shape":"Sf"},"Arn":{},"ChannelName":{},"ProgramName":{},"ScheduleAdBreaks":{"member":{"members":{"ApproximateDurationSeconds":{"type":"long"},"ApproximateStartTime":{"shape":"Sf"},"SourceLocationName":{},"VodSourceName":{}},"type":"structure"},"type":"list"},"ScheduleEntryType":{},"SourceLocationName":{},"VodSourceName":{}},"required":["VodSourceName","SourceLocationName","ChannelName","Arn","ProgramName"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"GetPlaybackConfiguration":{"http":{"method":"GET","requestUri":"/playbackConfiguration/{Name}","responseCode":200},"input":{"members":{"Name":{"location":"uri","locationName":"Name"}},"required":["Name"],"type":"structure"},"output":{"members":{"AdDecisionServerUrl":{},"AvailSuppression":{"shape":"S2b"},"Bumper":{"shape":"S2d"},"CdnConfiguration":{"shape":"S2e"},"ConfigurationAliases":{"shape":"S2f"},"DashConfiguration":{"shape":"S2g"},"HlsConfiguration":{"shape":"S2i"},"LivePreRollConfiguration":{"shape":"S2j"},"LogConfiguration":{"shape":"S2k"},"ManifestProcessingRules":{"shape":"S2l"},"Name":{},"PersonalizationThresholdSeconds":{"type":"integer"},"PlaybackConfigurationArn":{},"PlaybackEndpointPrefix":{},"SessionInitializationEndpointPrefix":{},"SlateAdUrl":{},"Tags":{"locationName":"tags","shape":"Sc"},"TranscodeProfileName":{},"VideoContentSourceUrl":{}},"type":"structure"}},"GetPrefetchSchedule":{"http":{"method":"GET","requestUri":"/prefetchSchedule/{PlaybackConfigurationName}/{Name}","responseCode":200},"input":{"members":{"Name":{"location":"uri","locationName":"Name"},"PlaybackConfigurationName":{"location":"uri","locationName":"PlaybackConfigurationName"}},"required":["Name","PlaybackConfigurationName"],"type":"structure"},"output":{"members":{"Arn":{},"Consumption":{"shape":"Sj"},"Name":{},"PlaybackConfigurationName":{},"Retrieval":{"shape":"Sn"},"StreamId":{}},"type":"structure"}},"ListAlerts":{"http":{"method":"GET","requestUri":"/alerts","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"ResourceArn":{"location":"querystring","locationName":"resourceArn"}},"required":["ResourceArn"],"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"AlertCode":{},"AlertMessage":{},"LastModifiedTime":{"shape":"Sf"},"RelatedResourceArns":{"shape":"S2v"},"ResourceArn":{}},"required":["ResourceArn","AlertCode","LastModifiedTime","RelatedResourceArns","AlertMessage"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListChannels":{"http":{"method":"GET","requestUri":"/channels","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"Arn":{},"ChannelName":{},"ChannelState":{},"CreationTime":{"shape":"Sf"},"FillerSlate":{"shape":"S6"},"LastModifiedTime":{"shape":"Sf"},"Outputs":{"shape":"Sg"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["ChannelState","ChannelName","Outputs","Arn","PlaybackMode"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListPlaybackConfigurations":{"http":{"method":"GET","requestUri":"/playbackConfigurations","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}},"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"AdDecisionServerUrl":{},"AvailSuppression":{"shape":"S2b"},"Bumper":{"shape":"S2d"},"CdnConfiguration":{"shape":"S2e"},"ConfigurationAliases":{"shape":"S2f"},"DashConfiguration":{"shape":"S2g"},"HlsConfiguration":{"shape":"S2i"},"LivePreRollConfiguration":{"shape":"S2j"},"LogConfiguration":{"shape":"S2k"},"ManifestProcessingRules":{"shape":"S2l"},"Name":{},"PersonalizationThresholdSeconds":{"type":"integer"},"PlaybackConfigurationArn":{},"PlaybackEndpointPrefix":{},"SessionInitializationEndpointPrefix":{},"SlateAdUrl":{},"Tags":{"locationName":"tags","shape":"Sc"},"TranscodeProfileName":{},"VideoContentSourceUrl":{}},"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListPrefetchSchedules":{"http":{"requestUri":"/prefetchSchedule/{PlaybackConfigurationName}","responseCode":200},"input":{"members":{"MaxResults":{"type":"integer"},"NextToken":{},"PlaybackConfigurationName":{"location":"uri","locationName":"PlaybackConfigurationName"},"StreamId":{}},"required":["PlaybackConfigurationName"],"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"Arn":{},"Consumption":{"shape":"Sj"},"Name":{},"PlaybackConfigurationName":{},"Retrieval":{"shape":"Sn"},"StreamId":{}},"required":["Retrieval","Consumption","Arn","PlaybackConfigurationName","Name"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListSourceLocations":{"http":{"method":"GET","requestUri":"/sourceLocations","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"AccessConfiguration":{"shape":"S10"},"Arn":{},"CreationTime":{"shape":"Sf"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"LastModifiedTime":{"shape":"Sf"},"SegmentDeliveryConfigurations":{"shape":"S15"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["SourceLocationName","HttpConfiguration","Arn"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}},"required":["ResourceArn"],"type":"structure"},"output":{"members":{"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"ListVodSources":{"http":{"method":"GET","requestUri":"/sourceLocation/{sourceLocationName}/vodSources","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"}},"required":["SourceLocationName"],"type":"structure"},"output":{"members":{"Items":{"member":{"members":{"Arn":{},"CreationTime":{"shape":"Sf"},"HttpPackageConfigurations":{"shape":"S19"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{}},"required":["VodSourceName","SourceLocationName","HttpPackageConfigurations","Arn"],"type":"structure"},"type":"list"},"NextToken":{}},"type":"structure"}},"PutChannelPolicy":{"http":{"method":"PUT","requestUri":"/channel/{channelName}/policy","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"Policy":{}},"required":["ChannelName","Policy"],"type":"structure"},"output":{"members":{},"type":"structure"}},"PutPlaybackConfiguration":{"http":{"method":"PUT","requestUri":"/playbackConfiguration","responseCode":200},"input":{"members":{"AdDecisionServerUrl":{},"AvailSuppression":{"shape":"S2b"},"Bumper":{"shape":"S2d"},"CdnConfiguration":{"shape":"S2e"},"ConfigurationAliases":{"key":{},"type":"map","value":{"shape":"Sc"}},"DashConfiguration":{"members":{"MpdLocation":{},"OriginManifestType":{}},"type":"structure"},"LivePreRollConfiguration":{"shape":"S2j"},"ManifestProcessingRules":{"shape":"S2l"},"Name":{},"PersonalizationThresholdSeconds":{"type":"integer"},"SlateAdUrl":{},"Tags":{"locationName":"tags","shape":"Sc"},"TranscodeProfileName":{},"VideoContentSourceUrl":{}},"type":"structure"},"output":{"members":{"AdDecisionServerUrl":{},"AvailSuppression":{"shape":"S2b"},"Bumper":{"shape":"S2d"},"CdnConfiguration":{"shape":"S2e"},"ConfigurationAliases":{"shape":"S2f"},"DashConfiguration":{"shape":"S2g"},"HlsConfiguration":{"shape":"S2i"},"LivePreRollConfiguration":{"shape":"S2j"},"LogConfiguration":{"shape":"S2k"},"ManifestProcessingRules":{"shape":"S2l"},"Name":{},"PersonalizationThresholdSeconds":{"type":"integer"},"PlaybackConfigurationArn":{},"PlaybackEndpointPrefix":{},"SessionInitializationEndpointPrefix":{},"SlateAdUrl":{},"Tags":{"locationName":"tags","shape":"Sc"},"TranscodeProfileName":{},"VideoContentSourceUrl":{}},"type":"structure"}},"StartChannel":{"http":{"method":"PUT","requestUri":"/channel/{channelName}/start","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"StopChannel":{"http":{"method":"PUT","requestUri":"/channel/{channelName}/stop","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"}},"required":["ChannelName"],"type":"structure"},"output":{"members":{},"type":"structure"}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"locationName":"tags","shape":"Sc"}},"required":["ResourceArn","Tags"],"type":"structure"}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","shape":"S2v"}},"required":["ResourceArn","TagKeys"],"type":"structure"}},"UpdateChannel":{"http":{"method":"PUT","requestUri":"/channel/{channelName}","responseCode":200},"input":{"members":{"ChannelName":{"location":"uri","locationName":"channelName"},"FillerSlate":{"shape":"S6"},"Outputs":{"shape":"S7"}},"required":["ChannelName","Outputs"],"type":"structure"},"output":{"members":{"Arn":{},"ChannelName":{},"ChannelState":{},"CreationTime":{"shape":"Sf"},"FillerSlate":{"shape":"S6"},"LastModifiedTime":{"shape":"Sf"},"Outputs":{"shape":"Sg"},"PlaybackMode":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"UpdateSourceLocation":{"http":{"method":"PUT","requestUri":"/sourceLocation/{sourceLocationName}","responseCode":200},"input":{"members":{"AccessConfiguration":{"shape":"S10"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"SegmentDeliveryConfigurations":{"shape":"S15"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"}},"required":["SourceLocationName","HttpConfiguration"],"type":"structure"},"output":{"members":{"AccessConfiguration":{"shape":"S10"},"Arn":{},"CreationTime":{"shape":"Sf"},"DefaultSegmentDeliveryConfiguration":{"shape":"S13"},"HttpConfiguration":{"shape":"S14"},"LastModifiedTime":{"shape":"Sf"},"SegmentDeliveryConfigurations":{"shape":"S15"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"}},"type":"structure"}},"UpdateVodSource":{"http":{"method":"PUT","requestUri":"/sourceLocation/{sourceLocationName}/vodSource/{vodSourceName}","responseCode":200},"input":{"members":{"HttpPackageConfigurations":{"shape":"S19"},"SourceLocationName":{"location":"uri","locationName":"sourceLocationName"},"VodSourceName":{"location":"uri","locationName":"vodSourceName"}},"required":["SourceLocationName","VodSourceName","HttpPackageConfigurations"],"type":"structure"},"output":{"members":{"Arn":{},"CreationTime":{"shape":"Sf"},"HttpPackageConfigurations":{"shape":"S19"},"LastModifiedTime":{"shape":"Sf"},"SourceLocationName":{},"Tags":{"locationName":"tags","shape":"Sc"},"VodSourceName":{}},"type":"structure"}}},"shapes":{"S6":{"members":{"SourceLocationName":{},"VodSourceName":{}},"type":"structure"},"S7":{"member":{"members":{"DashPlaylistSettings":{"shape":"S9"},"HlsPlaylistSettings":{"shape":"Sa"},"ManifestName":{},"SourceGroup":{}},"required":["ManifestName","SourceGroup"],"type":"structure"},"type":"list"},"S9":{"members":{"ManifestWindowSeconds":{"type":"integer"},"MinBufferTimeSeconds":{"type":"integer"},"MinUpdatePeriodSeconds":{"type":"integer"},"SuggestedPresentationDelaySeconds":{"type":"integer"}},"type":"structure"},"Sa":{"members":{"ManifestWindowSeconds":{"type":"integer"}},"type":"structure"},"Sc":{"key":{},"type":"map","value":{}},"Sf":{"timestampFormat":"unixTimestamp","type":"timestamp"},"Sg":{"member":{"members":{"DashPlaylistSettings":{"shape":"S9"},"HlsPlaylistSettings":{"shape":"Sa"},"ManifestName":{},"PlaybackUrl":{},"SourceGroup":{}},"required":["ManifestName","PlaybackUrl","SourceGroup"],"type":"structure"},"type":"list"},"Sj":{"members":{"AvailMatchingCriteria":{"member":{"members":{"DynamicVariable":{},"Operator":{}},"required":["Operator","DynamicVariable"],"type":"structure"},"type":"list"},"EndTime":{"shape":"Sf"},"StartTime":{"shape":"Sf"}},"required":["EndTime"],"type":"structure"},"Sn":{"members":{"DynamicVariables":{"shape":"Sc"},"EndTime":{"shape":"Sf"},"StartTime":{"shape":"Sf"}},"required":["EndTime"],"type":"structure"},"Sq":{"member":{"members":{"MessageType":{},"OffsetMillis":{"type":"long"},"Slate":{"shape":"S6"},"SpliceInsertMessage":{"members":{"AvailNum":{"type":"integer"},"AvailsExpected":{"type":"integer"},"SpliceEventId":{"type":"integer"},"UniqueProgramId":{"type":"integer"}},"type":"structure"}},"type":"structure"},"type":"list"},"S10":{"members":{"AccessType":{},"SecretsManagerAccessTokenConfiguration":{"members":{"HeaderName":{},"SecretArn":{},"SecretStringKey":{}},"type":"structure"}},"type":"structure"},"S13":{"members":{"BaseUrl":{}},"type":"structure"},"S14":{"members":{"BaseUrl":{}},"required":["BaseUrl"],"type":"structure"},"S15":{"member":{"members":{"BaseUrl":{},"Name":{}},"type":"structure"},"type":"list"},"S19":{"member":{"members":{"Path":{},"SourceGroup":{},"Type":{}},"required":["Path","Type","SourceGroup"],"type":"structure"},"type":"list"},"S2b":{"members":{"Mode":{},"Value":{}},"type":"structure"},"S2d":{"members":{"EndUrl":{},"StartUrl":{}},"type":"structure"},"S2e":{"members":{"AdSegmentUrlPrefix":{},"ContentSegmentUrlPrefix":{}},"type":"structure"},"S2f":{"key":{},"type":"map","value":{"shape":"Sc"}},"S2g":{"members":{"ManifestEndpointPrefix":{},"MpdLocation":{},"OriginManifestType":{}},"type":"structure"},"S2i":{"members":{"ManifestEndpointPrefix":{}},"type":"structure"},"S2j":{"members":{"AdDecisionServerUrl":{},"MaxDurationSeconds":{"type":"integer"}},"type":"structure"},"S2k":{"members":{"PercentEnabled":{"type":"integer"}},"required":["PercentEnabled"],"type":"structure"},"S2l":{"members":{"AdMarkerPassthrough":{"members":{"Enabled":{"type":"boolean"}},"type":"structure"}},"type":"structure"},"S2v":{"member":{},"type":"list"}}} /***/ }), /* 631 */ @@ -50097,13 +50103,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 653 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-01-04","endpointPrefix":"ram","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"RAM","serviceFullName":"AWS Resource Access Manager","serviceId":"RAM","signatureVersion":"v4","uid":"ram-2018-01-04"},"operations":{"AcceptResourceShareInvitation":{"http":{"requestUri":"/acceptresourceshareinvitation"},"input":{"type":"structure","required":["resourceShareInvitationArn"],"members":{"resourceShareInvitationArn":{},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShareInvitation":{"shape":"S4"},"clientToken":{}}}},"AssociateResourceShare":{"http":{"requestUri":"/associateresourceshare"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{},"resourceArns":{"shape":"Sd"},"principals":{"shape":"Se"},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShareAssociations":{"shape":"S7"},"clientToken":{}}}},"AssociateResourceSharePermission":{"http":{"requestUri":"/associateresourcesharepermission"},"input":{"type":"structure","required":["resourceShareArn","permissionArn"],"members":{"resourceShareArn":{},"permissionArn":{},"replace":{"type":"boolean"},"clientToken":{},"permissionVersion":{"type":"integer"}}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"},"clientToken":{}}}},"CreateResourceShare":{"http":{"requestUri":"/createresourceshare"},"input":{"type":"structure","required":["name"],"members":{"name":{},"resourceArns":{"shape":"Sd"},"principals":{"shape":"Se"},"tags":{"shape":"Sk"},"allowExternalPrincipals":{"type":"boolean"},"clientToken":{},"permissionArns":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"resourceShare":{"shape":"Sq"},"clientToken":{}}}},"DeleteResourceShare":{"http":{"method":"DELETE","requestUri":"/deleteresourceshare"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{"location":"querystring","locationName":"resourceShareArn"},"clientToken":{"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"},"clientToken":{}}}},"DisassociateResourceShare":{"http":{"requestUri":"/disassociateresourceshare"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{},"resourceArns":{"shape":"Sd"},"principals":{"shape":"Se"},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShareAssociations":{"shape":"S7"},"clientToken":{}}}},"DisassociateResourceSharePermission":{"http":{"requestUri":"/disassociateresourcesharepermission"},"input":{"type":"structure","required":["resourceShareArn","permissionArn"],"members":{"resourceShareArn":{},"permissionArn":{},"clientToken":{}}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"},"clientToken":{}}}},"EnableSharingWithAwsOrganization":{"http":{"requestUri":"/enablesharingwithawsorganization"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"}}}},"GetPermission":{"http":{"requestUri":"/getpermission"},"input":{"type":"structure","required":["permissionArn"],"members":{"permissionArn":{},"permissionVersion":{"type":"integer"}}},"output":{"type":"structure","members":{"permission":{"type":"structure","members":{"arn":{},"version":{},"defaultVersion":{"type":"boolean"},"name":{},"resourceType":{},"permission":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"isResourceTypeDefault":{"type":"boolean"}}}}}},"GetResourcePolicies":{"http":{"requestUri":"/getresourcepolicies"},"input":{"type":"structure","required":["resourceArns"],"members":{"resourceArns":{"shape":"Sd"},"principal":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"policies":{"type":"list","member":{}},"nextToken":{}}}},"GetResourceShareAssociations":{"http":{"requestUri":"/getresourceshareassociations"},"input":{"type":"structure","required":["associationType"],"members":{"associationType":{},"resourceShareArns":{"shape":"S1a"},"resourceArn":{},"principal":{},"associationStatus":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"resourceShareAssociations":{"shape":"S7"},"nextToken":{}}}},"GetResourceShareInvitations":{"http":{"requestUri":"/getresourceshareinvitations"},"input":{"type":"structure","members":{"resourceShareInvitationArns":{"type":"list","member":{}},"resourceShareArns":{"shape":"S1a"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"resourceShareInvitations":{"type":"list","member":{"shape":"S4"}},"nextToken":{}}}},"GetResourceShares":{"http":{"requestUri":"/getresourceshares"},"input":{"type":"structure","required":["resourceOwner"],"members":{"resourceShareArns":{"shape":"S1a"},"resourceShareStatus":{},"resourceOwner":{},"name":{},"tagFilters":{"type":"list","member":{"type":"structure","members":{"tagKey":{},"tagValues":{"type":"list","member":{}}}}},"nextToken":{},"maxResults":{"type":"integer"},"permissionArn":{}}},"output":{"type":"structure","members":{"resourceShares":{"type":"list","member":{"shape":"Sq"}},"nextToken":{}}}},"ListPendingInvitationResources":{"http":{"requestUri":"/listpendinginvitationresources"},"input":{"type":"structure","required":["resourceShareInvitationArn"],"members":{"resourceShareInvitationArn":{},"nextToken":{},"maxResults":{"type":"integer"},"resourceRegionScope":{}}},"output":{"type":"structure","members":{"resources":{"shape":"S1q"},"nextToken":{}}}},"ListPermissions":{"http":{"requestUri":"/listpermissions"},"input":{"type":"structure","members":{"resourceType":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"permissions":{"shape":"S1w"},"nextToken":{}}}},"ListPrincipals":{"http":{"requestUri":"/listprincipals"},"input":{"type":"structure","required":["resourceOwner"],"members":{"resourceOwner":{},"resourceArn":{},"principals":{"shape":"Se"},"resourceType":{},"resourceShareArns":{"shape":"S1a"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"principals":{"type":"list","member":{"type":"structure","members":{"id":{},"resourceShareArn":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"external":{"type":"boolean"}}}},"nextToken":{}}}},"ListResourceSharePermissions":{"http":{"requestUri":"/listresourcesharepermissions"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"permissions":{"shape":"S1w"},"nextToken":{}}}},"ListResourceTypes":{"http":{"requestUri":"/listresourcetypes"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"resourceRegionScope":{}}},"output":{"type":"structure","members":{"resourceTypes":{"type":"list","member":{"type":"structure","members":{"resourceType":{},"serviceName":{},"resourceRegionScope":{}}}},"nextToken":{}}}},"ListResources":{"http":{"requestUri":"/listresources"},"input":{"type":"structure","required":["resourceOwner"],"members":{"resourceOwner":{},"principal":{},"resourceType":{},"resourceArns":{"shape":"Sd"},"resourceShareArns":{"shape":"S1a"},"nextToken":{},"maxResults":{"type":"integer"},"resourceRegionScope":{}}},"output":{"type":"structure","members":{"resources":{"shape":"S1q"},"nextToken":{}}}},"PromoteResourceShareCreatedFromPolicy":{"http":{"requestUri":"/promoteresourcesharecreatedfrompolicy"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{"location":"querystring","locationName":"resourceShareArn"}}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"}}}},"RejectResourceShareInvitation":{"http":{"requestUri":"/rejectresourceshareinvitation"},"input":{"type":"structure","required":["resourceShareInvitationArn"],"members":{"resourceShareInvitationArn":{},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShareInvitation":{"shape":"S4"},"clientToken":{}}}},"TagResource":{"http":{"requestUri":"/tagresource"},"input":{"type":"structure","required":["resourceShareArn","tags"],"members":{"resourceShareArn":{},"tags":{"shape":"Sk"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"requestUri":"/untagresource"},"input":{"type":"structure","required":["resourceShareArn","tagKeys"],"members":{"resourceShareArn":{},"tagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateResourceShare":{"http":{"requestUri":"/updateresourceshare"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{},"name":{},"allowExternalPrincipals":{"type":"boolean"},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShare":{"shape":"Sq"},"clientToken":{}}}}},"shapes":{"S4":{"type":"structure","members":{"resourceShareInvitationArn":{},"resourceShareName":{},"resourceShareArn":{},"senderAccountId":{},"receiverAccountId":{},"invitationTimestamp":{"type":"timestamp"},"status":{},"resourceShareAssociations":{"shape":"S7","deprecated":true,"deprecatedMessage":"This member has been deprecated. Use ListPendingInvitationResources."},"receiverArn":{}}},"S7":{"type":"list","member":{"type":"structure","members":{"resourceShareArn":{},"resourceShareName":{},"associatedEntity":{},"associationType":{},"status":{},"statusMessage":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"external":{"type":"boolean"}}}},"Sd":{"type":"list","member":{}},"Se":{"type":"list","member":{}},"Sk":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}}},"Sq":{"type":"structure","members":{"resourceShareArn":{},"name":{},"owningAccountId":{},"allowExternalPrincipals":{"type":"boolean"},"status":{},"statusMessage":{},"tags":{"shape":"Sk"},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"featureSet":{}}},"S1a":{"type":"list","member":{}},"S1q":{"type":"list","member":{"type":"structure","members":{"arn":{},"type":{},"resourceShareArn":{},"resourceGroupArn":{},"status":{},"statusMessage":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"resourceRegionScope":{}}}},"S1w":{"type":"list","member":{"type":"structure","members":{"arn":{},"version":{},"defaultVersion":{"type":"boolean"},"name":{},"resourceType":{},"status":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"isResourceTypeDefault":{"type":"boolean"}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-01-04","endpointPrefix":"ram","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"RAM","serviceFullName":"AWS Resource Access Manager","serviceId":"RAM","signatureVersion":"v4","uid":"ram-2018-01-04"},"operations":{"AcceptResourceShareInvitation":{"http":{"requestUri":"/acceptresourceshareinvitation"},"input":{"type":"structure","required":["resourceShareInvitationArn"],"members":{"resourceShareInvitationArn":{},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShareInvitation":{"shape":"S4"},"clientToken":{}}}},"AssociateResourceShare":{"http":{"requestUri":"/associateresourceshare"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{},"resourceArns":{"shape":"Sd"},"principals":{"shape":"Se"},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShareAssociations":{"shape":"S7"},"clientToken":{}}}},"AssociateResourceSharePermission":{"http":{"requestUri":"/associateresourcesharepermission"},"input":{"type":"structure","required":["resourceShareArn","permissionArn"],"members":{"resourceShareArn":{},"permissionArn":{},"replace":{"type":"boolean"},"clientToken":{},"permissionVersion":{"type":"integer"}}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"},"clientToken":{}}}},"CreateResourceShare":{"http":{"requestUri":"/createresourceshare"},"input":{"type":"structure","required":["name"],"members":{"name":{},"resourceArns":{"shape":"Sd"},"principals":{"shape":"Se"},"tags":{"shape":"Sk"},"allowExternalPrincipals":{"type":"boolean"},"clientToken":{},"permissionArns":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"resourceShare":{"shape":"Sq"},"clientToken":{}}}},"DeleteResourceShare":{"http":{"method":"DELETE","requestUri":"/deleteresourceshare"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{"location":"querystring","locationName":"resourceShareArn"},"clientToken":{"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"},"clientToken":{}}}},"DisassociateResourceShare":{"http":{"requestUri":"/disassociateresourceshare"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{},"resourceArns":{"shape":"Sd"},"principals":{"shape":"Se"},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShareAssociations":{"shape":"S7"},"clientToken":{}}}},"DisassociateResourceSharePermission":{"http":{"requestUri":"/disassociateresourcesharepermission"},"input":{"type":"structure","required":["resourceShareArn","permissionArn"],"members":{"resourceShareArn":{},"permissionArn":{},"clientToken":{}}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"},"clientToken":{}}}},"EnableSharingWithAwsOrganization":{"http":{"requestUri":"/enablesharingwithawsorganization"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"}}}},"GetPermission":{"http":{"requestUri":"/getpermission"},"input":{"type":"structure","required":["permissionArn"],"members":{"permissionArn":{},"permissionVersion":{"type":"integer"}}},"output":{"type":"structure","members":{"permission":{"type":"structure","members":{"arn":{},"version":{},"defaultVersion":{"type":"boolean"},"name":{},"resourceType":{},"permission":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"isResourceTypeDefault":{"type":"boolean"}}}}}},"GetResourcePolicies":{"http":{"requestUri":"/getresourcepolicies"},"input":{"type":"structure","required":["resourceArns"],"members":{"resourceArns":{"shape":"Sd"},"principal":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"policies":{"type":"list","member":{}},"nextToken":{}}}},"GetResourceShareAssociations":{"http":{"requestUri":"/getresourceshareassociations"},"input":{"type":"structure","required":["associationType"],"members":{"associationType":{},"resourceShareArns":{"shape":"S1a"},"resourceArn":{},"principal":{},"associationStatus":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"resourceShareAssociations":{"shape":"S7"},"nextToken":{}}}},"GetResourceShareInvitations":{"http":{"requestUri":"/getresourceshareinvitations"},"input":{"type":"structure","members":{"resourceShareInvitationArns":{"type":"list","member":{}},"resourceShareArns":{"shape":"S1a"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"resourceShareInvitations":{"type":"list","member":{"shape":"S4"}},"nextToken":{}}}},"GetResourceShares":{"http":{"requestUri":"/getresourceshares"},"input":{"type":"structure","required":["resourceOwner"],"members":{"resourceShareArns":{"shape":"S1a"},"resourceShareStatus":{},"resourceOwner":{},"name":{},"tagFilters":{"type":"list","member":{"type":"structure","members":{"tagKey":{},"tagValues":{"type":"list","member":{}}}}},"nextToken":{},"maxResults":{"type":"integer"},"permissionArn":{}}},"output":{"type":"structure","members":{"resourceShares":{"type":"list","member":{"shape":"Sq"}},"nextToken":{}}}},"ListPendingInvitationResources":{"http":{"requestUri":"/listpendinginvitationresources"},"input":{"type":"structure","required":["resourceShareInvitationArn"],"members":{"resourceShareInvitationArn":{},"nextToken":{},"maxResults":{"type":"integer"},"resourceRegionScope":{}}},"output":{"type":"structure","members":{"resources":{"shape":"S1q"},"nextToken":{}}}},"ListPermissionVersions":{"http":{"requestUri":"/listpermissionversions"},"input":{"type":"structure","required":["permissionArn"],"members":{"permissionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"permissions":{"shape":"S1w"},"nextToken":{}}}},"ListPermissions":{"http":{"requestUri":"/listpermissions"},"input":{"type":"structure","members":{"resourceType":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"permissions":{"shape":"S1w"},"nextToken":{}}}},"ListPrincipals":{"http":{"requestUri":"/listprincipals"},"input":{"type":"structure","required":["resourceOwner"],"members":{"resourceOwner":{},"resourceArn":{},"principals":{"shape":"Se"},"resourceType":{},"resourceShareArns":{"shape":"S1a"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"principals":{"type":"list","member":{"type":"structure","members":{"id":{},"resourceShareArn":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"external":{"type":"boolean"}}}},"nextToken":{}}}},"ListResourceSharePermissions":{"http":{"requestUri":"/listresourcesharepermissions"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"permissions":{"shape":"S1w"},"nextToken":{}}}},"ListResourceTypes":{"http":{"requestUri":"/listresourcetypes"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"resourceRegionScope":{}}},"output":{"type":"structure","members":{"resourceTypes":{"type":"list","member":{"type":"structure","members":{"resourceType":{},"serviceName":{},"resourceRegionScope":{}}}},"nextToken":{}}}},"ListResources":{"http":{"requestUri":"/listresources"},"input":{"type":"structure","required":["resourceOwner"],"members":{"resourceOwner":{},"principal":{},"resourceType":{},"resourceArns":{"shape":"Sd"},"resourceShareArns":{"shape":"S1a"},"nextToken":{},"maxResults":{"type":"integer"},"resourceRegionScope":{}}},"output":{"type":"structure","members":{"resources":{"shape":"S1q"},"nextToken":{}}}},"PromoteResourceShareCreatedFromPolicy":{"http":{"requestUri":"/promoteresourcesharecreatedfrompolicy"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{"location":"querystring","locationName":"resourceShareArn"}}},"output":{"type":"structure","members":{"returnValue":{"type":"boolean"}}}},"RejectResourceShareInvitation":{"http":{"requestUri":"/rejectresourceshareinvitation"},"input":{"type":"structure","required":["resourceShareInvitationArn"],"members":{"resourceShareInvitationArn":{},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShareInvitation":{"shape":"S4"},"clientToken":{}}}},"TagResource":{"http":{"requestUri":"/tagresource"},"input":{"type":"structure","required":["resourceShareArn","tags"],"members":{"resourceShareArn":{},"tags":{"shape":"Sk"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"requestUri":"/untagresource"},"input":{"type":"structure","required":["resourceShareArn","tagKeys"],"members":{"resourceShareArn":{},"tagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateResourceShare":{"http":{"requestUri":"/updateresourceshare"},"input":{"type":"structure","required":["resourceShareArn"],"members":{"resourceShareArn":{},"name":{},"allowExternalPrincipals":{"type":"boolean"},"clientToken":{}}},"output":{"type":"structure","members":{"resourceShare":{"shape":"Sq"},"clientToken":{}}}}},"shapes":{"S4":{"type":"structure","members":{"resourceShareInvitationArn":{},"resourceShareName":{},"resourceShareArn":{},"senderAccountId":{},"receiverAccountId":{},"invitationTimestamp":{"type":"timestamp"},"status":{},"resourceShareAssociations":{"shape":"S7","deprecated":true,"deprecatedMessage":"This member has been deprecated. Use ListPendingInvitationResources."},"receiverArn":{}}},"S7":{"type":"list","member":{"type":"structure","members":{"resourceShareArn":{},"resourceShareName":{},"associatedEntity":{},"associationType":{},"status":{},"statusMessage":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"external":{"type":"boolean"}}}},"Sd":{"type":"list","member":{}},"Se":{"type":"list","member":{}},"Sk":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}}},"Sq":{"type":"structure","members":{"resourceShareArn":{},"name":{},"owningAccountId":{},"allowExternalPrincipals":{"type":"boolean"},"status":{},"statusMessage":{},"tags":{"shape":"Sk"},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"featureSet":{}}},"S1a":{"type":"list","member":{}},"S1q":{"type":"list","member":{"type":"structure","members":{"arn":{},"type":{},"resourceShareArn":{},"resourceGroupArn":{},"status":{},"statusMessage":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"resourceRegionScope":{}}}},"S1w":{"type":"list","member":{"type":"structure","members":{"arn":{},"version":{},"defaultVersion":{"type":"boolean"},"name":{},"resourceType":{},"status":{},"creationTime":{"type":"timestamp"},"lastUpdatedTime":{"type":"timestamp"},"isResourceTypeDefault":{"type":"boolean"}}}}}} /***/ }), /* 654 */ /***/ (function(module, exports) { - module.exports = {"pagination":{"GetResourcePolicies":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetResourceShareAssociations":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetResourceShareInvitations":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetResourceShares":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListPendingInvitationResources":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListPermissions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListPrincipals":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListResourceSharePermissions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListResourceTypes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListResources":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"}}} + module.exports = {"pagination":{"GetResourcePolicies":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetResourceShareAssociations":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetResourceShareInvitations":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"GetResourceShares":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListPendingInvitationResources":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListPermissionVersions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListPermissions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListPrincipals":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListResourceSharePermissions":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListResourceTypes":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"},"ListResources":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults"}}} /***/ }), /* 655 */ @@ -50368,7 +50374,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 674 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-06-29","endpointPrefix":"robomaker","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"RoboMaker","serviceFullName":"AWS RoboMaker","serviceId":"RoboMaker","signatureVersion":"v4","signingName":"robomaker","uid":"robomaker-2018-06-29"},"operations":{"BatchDeleteWorlds":{"http":{"requestUri":"/batchDeleteWorlds"},"input":{"type":"structure","required":["worlds"],"members":{"worlds":{"shape":"S2"}}},"output":{"type":"structure","members":{"unprocessedWorlds":{"shape":"S2"}}}},"BatchDescribeSimulationJob":{"http":{"requestUri":"/batchDescribeSimulationJob"},"input":{"type":"structure","required":["jobs"],"members":{"jobs":{"shape":"S2"}}},"output":{"type":"structure","members":{"jobs":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"status":{},"lastStartedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"failureBehavior":{},"failureCode":{},"failureReason":{},"clientRequestToken":{},"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"simulationTimeMillis":{"type":"long"},"iamRole":{},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S1h"},"tags":{"shape":"S1o"},"vpcConfig":{"shape":"S1r"},"networkInterface":{"shape":"S1u"},"compute":{"shape":"S1v"}}}},"unprocessedJobs":{"shape":"S2"}}}},"CancelDeploymentJob":{"http":{"requestUri":"/cancelDeploymentJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"CancelSimulationJob":{"http":{"requestUri":"/cancelSimulationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"CancelSimulationJobBatch":{"http":{"requestUri":"/cancelSimulationJobBatch"},"input":{"type":"structure","required":["batch"],"members":{"batch":{}}},"output":{"type":"structure","members":{}}},"CancelWorldExportJob":{"http":{"requestUri":"/cancelWorldExportJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"CancelWorldGenerationJob":{"http":{"requestUri":"/cancelWorldGenerationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"CreateDeploymentJob":{"http":{"requestUri":"/createDeploymentJob"},"input":{"type":"structure","required":["clientRequestToken","fleet","deploymentApplicationConfigs"],"members":{"deploymentConfig":{"shape":"S2a"},"clientRequestToken":{"idempotencyToken":true},"fleet":{},"deploymentApplicationConfigs":{"shape":"S2e"},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"fleet":{},"status":{},"deploymentApplicationConfigs":{"shape":"S2e"},"failureReason":{},"failureCode":{},"createdAt":{"type":"timestamp"},"deploymentConfig":{"shape":"S2a"},"tags":{"shape":"S1o"}}}},"CreateFleet":{"http":{"requestUri":"/createFleet"},"input":{"type":"structure","required":["name"],"members":{"name":{},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"createdAt":{"type":"timestamp"},"tags":{"shape":"S1o"}}}},"CreateRobot":{"http":{"requestUri":"/createRobot"},"input":{"type":"structure","required":["name","architecture","greengrassGroupId"],"members":{"name":{},"architecture":{},"greengrassGroupId":{},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"createdAt":{"type":"timestamp"},"greengrassGroupId":{},"architecture":{},"tags":{"shape":"S1o"}}}},"CreateRobotApplication":{"http":{"requestUri":"/createRobotApplication"},"input":{"type":"structure","required":["name","robotSoftwareSuite"],"members":{"name":{},"sources":{"shape":"S2t"},"robotSoftwareSuite":{"shape":"S2v"},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"robotSoftwareSuite":{"shape":"S2v"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"}}}},"CreateRobotApplicationVersion":{"http":{"requestUri":"/createRobotApplicationVersion"},"input":{"type":"structure","required":["application"],"members":{"application":{},"currentRevisionId":{},"s3Etags":{"shape":"S35"},"imageDigest":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"robotSoftwareSuite":{"shape":"S2v"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"environment":{"shape":"S2y"}}}},"CreateSimulationApplication":{"http":{"requestUri":"/createSimulationApplication"},"input":{"type":"structure","required":["name","simulationSoftwareSuite","robotSoftwareSuite"],"members":{"name":{},"sources":{"shape":"S2t"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"}}}},"CreateSimulationApplicationVersion":{"http":{"requestUri":"/createSimulationApplicationVersion"},"input":{"type":"structure","required":["application"],"members":{"application":{},"currentRevisionId":{},"s3Etags":{"shape":"S35"},"imageDigest":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"environment":{"shape":"S2y"}}}},"CreateSimulationJob":{"http":{"requestUri":"/createSimulationJob"},"input":{"type":"structure","required":["maxJobDurationInSeconds","iamRole"],"members":{"clientRequestToken":{"idempotencyToken":true},"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"iamRole":{},"failureBehavior":{},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S3j"},"tags":{"shape":"S1o"},"vpcConfig":{"shape":"S3m"},"compute":{"shape":"S3n"}}},"output":{"type":"structure","members":{"arn":{},"status":{},"lastStartedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"failureBehavior":{},"failureCode":{},"clientRequestToken":{},"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"simulationTimeMillis":{"type":"long"},"iamRole":{},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S1h"},"tags":{"shape":"S1o"},"vpcConfig":{"shape":"S1r"},"compute":{"shape":"S1v"}}}},"CreateWorldExportJob":{"http":{"requestUri":"/createWorldExportJob"},"input":{"type":"structure","required":["worlds","outputLocation","iamRole"],"members":{"clientRequestToken":{"idempotencyToken":true},"worlds":{"shape":"S2"},"outputLocation":{"shape":"Sh"},"iamRole":{},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"failureCode":{},"clientRequestToken":{},"outputLocation":{"shape":"Sh"},"iamRole":{},"tags":{"shape":"S1o"}}}},"CreateWorldGenerationJob":{"http":{"requestUri":"/createWorldGenerationJob"},"input":{"type":"structure","required":["template","worldCount"],"members":{"clientRequestToken":{"idempotencyToken":true},"template":{},"worldCount":{"shape":"S3u"},"tags":{"shape":"S1o"},"worldTags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"failureCode":{},"clientRequestToken":{},"template":{},"worldCount":{"shape":"S3u"},"tags":{"shape":"S1o"},"worldTags":{"shape":"S1o"}}}},"CreateWorldTemplate":{"http":{"requestUri":"/createWorldTemplate"},"input":{"type":"structure","members":{"clientRequestToken":{},"name":{},"templateBody":{},"templateLocation":{"shape":"S43"},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"clientRequestToken":{},"createdAt":{"type":"timestamp"},"name":{},"tags":{"shape":"S1o"}}}},"DeleteFleet":{"http":{"requestUri":"/deleteFleet"},"input":{"type":"structure","required":["fleet"],"members":{"fleet":{}}},"output":{"type":"structure","members":{}}},"DeleteRobot":{"http":{"requestUri":"/deleteRobot"},"input":{"type":"structure","required":["robot"],"members":{"robot":{}}},"output":{"type":"structure","members":{}}},"DeleteRobotApplication":{"http":{"requestUri":"/deleteRobotApplication"},"input":{"type":"structure","required":["application"],"members":{"application":{},"applicationVersion":{}}},"output":{"type":"structure","members":{}}},"DeleteSimulationApplication":{"http":{"requestUri":"/deleteSimulationApplication"},"input":{"type":"structure","required":["application"],"members":{"application":{},"applicationVersion":{}}},"output":{"type":"structure","members":{}}},"DeleteWorldTemplate":{"http":{"requestUri":"/deleteWorldTemplate"},"input":{"type":"structure","required":["template"],"members":{"template":{}}},"output":{"type":"structure","members":{}}},"DeregisterRobot":{"http":{"requestUri":"/deregisterRobot"},"input":{"type":"structure","required":["fleet","robot"],"members":{"fleet":{},"robot":{}}},"output":{"type":"structure","members":{"fleet":{},"robot":{}}}},"DescribeDeploymentJob":{"http":{"requestUri":"/describeDeploymentJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{"arn":{},"fleet":{},"status":{},"deploymentConfig":{"shape":"S2a"},"deploymentApplicationConfigs":{"shape":"S2e"},"failureReason":{},"failureCode":{},"createdAt":{"type":"timestamp"},"robotDeploymentSummary":{"type":"list","member":{"type":"structure","members":{"arn":{},"deploymentStartTime":{"type":"timestamp"},"deploymentFinishTime":{"type":"timestamp"},"status":{},"progressDetail":{"type":"structure","members":{"currentProgress":{},"percentDone":{"type":"float"},"estimatedTimeRemainingSeconds":{"type":"integer"},"targetResource":{}}},"failureReason":{},"failureCode":{}}}},"tags":{"shape":"S1o"}}}},"DescribeFleet":{"http":{"requestUri":"/describeFleet"},"input":{"type":"structure","required":["fleet"],"members":{"fleet":{}}},"output":{"type":"structure","members":{"name":{},"arn":{},"robots":{"shape":"S4s"},"createdAt":{"type":"timestamp"},"lastDeploymentStatus":{},"lastDeploymentJob":{},"lastDeploymentTime":{"type":"timestamp"},"tags":{"shape":"S1o"}}}},"DescribeRobot":{"http":{"requestUri":"/describeRobot"},"input":{"type":"structure","required":["robot"],"members":{"robot":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"fleetArn":{},"status":{},"greengrassGroupId":{},"createdAt":{"type":"timestamp"},"architecture":{},"lastDeploymentJob":{},"lastDeploymentTime":{"type":"timestamp"},"tags":{"shape":"S1o"}}}},"DescribeRobotApplication":{"http":{"requestUri":"/describeRobotApplication"},"input":{"type":"structure","required":["application"],"members":{"application":{},"applicationVersion":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"robotSoftwareSuite":{"shape":"S2v"},"revisionId":{},"lastUpdatedAt":{"type":"timestamp"},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"},"imageDigest":{}}}},"DescribeSimulationApplication":{"http":{"requestUri":"/describeSimulationApplication"},"input":{"type":"structure","required":["application"],"members":{"application":{},"applicationVersion":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"revisionId":{},"lastUpdatedAt":{"type":"timestamp"},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"},"imageDigest":{}}}},"DescribeSimulationJob":{"http":{"requestUri":"/describeSimulationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"status":{},"lastStartedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"failureBehavior":{},"failureCode":{},"failureReason":{},"clientRequestToken":{},"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"simulationTimeMillis":{"type":"long"},"iamRole":{},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S1h"},"tags":{"shape":"S1o"},"vpcConfig":{"shape":"S1r"},"networkInterface":{"shape":"S1u"},"compute":{"shape":"S1v"}}}},"DescribeSimulationJobBatch":{"http":{"requestUri":"/describeSimulationJobBatch"},"input":{"type":"structure","required":["batch"],"members":{"batch":{}}},"output":{"type":"structure","members":{"arn":{},"status":{},"lastUpdatedAt":{"type":"timestamp"},"createdAt":{"type":"timestamp"},"clientRequestToken":{},"batchPolicy":{"shape":"S55"},"failureCode":{},"failureReason":{},"failedRequests":{"shape":"S59"},"pendingRequests":{"shape":"S5d"},"createdRequests":{"shape":"S5e"},"tags":{"shape":"S1o"}}}},"DescribeWorld":{"http":{"requestUri":"/describeWorld"},"input":{"type":"structure","required":["world"],"members":{"world":{}}},"output":{"type":"structure","members":{"arn":{},"generationJob":{},"template":{},"createdAt":{"type":"timestamp"},"tags":{"shape":"S1o"},"worldDescriptionBody":{}}}},"DescribeWorldExportJob":{"http":{"requestUri":"/describeWorldExportJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"failureCode":{},"failureReason":{},"clientRequestToken":{},"worlds":{"shape":"S2"},"outputLocation":{"shape":"Sh"},"iamRole":{},"tags":{"shape":"S1o"}}}},"DescribeWorldGenerationJob":{"http":{"requestUri":"/describeWorldGenerationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"failureCode":{},"failureReason":{},"clientRequestToken":{},"template":{},"worldCount":{"shape":"S3u"},"finishedWorldsSummary":{"type":"structure","members":{"finishedCount":{"type":"integer"},"succeededWorlds":{"shape":"S2"},"failureSummary":{"type":"structure","members":{"totalFailureCount":{"type":"integer"},"failures":{"type":"list","member":{"type":"structure","members":{"failureCode":{},"sampleFailureReason":{},"failureCount":{"type":"integer"}}}}}}}},"tags":{"shape":"S1o"},"worldTags":{"shape":"S1o"}}}},"DescribeWorldTemplate":{"http":{"requestUri":"/describeWorldTemplate"},"input":{"type":"structure","required":["template"],"members":{"template":{}}},"output":{"type":"structure","members":{"arn":{},"clientRequestToken":{},"name":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"tags":{"shape":"S1o"},"version":{}}}},"GetWorldTemplateBody":{"http":{"requestUri":"/getWorldTemplateBody"},"input":{"type":"structure","members":{"template":{},"generationJob":{}}},"output":{"type":"structure","members":{"templateBody":{}}}},"ListDeploymentJobs":{"http":{"requestUri":"/listDeploymentJobs"},"input":{"type":"structure","members":{"filters":{"shape":"S5z"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"deploymentJobs":{"type":"list","member":{"type":"structure","members":{"arn":{},"fleet":{},"status":{},"deploymentApplicationConfigs":{"shape":"S2e"},"deploymentConfig":{"shape":"S2a"},"failureReason":{},"failureCode":{},"createdAt":{"type":"timestamp"}}}},"nextToken":{}}}},"ListFleets":{"http":{"requestUri":"/listFleets"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"fleetDetails":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"createdAt":{"type":"timestamp"},"lastDeploymentStatus":{},"lastDeploymentJob":{},"lastDeploymentTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListRobotApplications":{"http":{"requestUri":"/listRobotApplications"},"input":{"type":"structure","members":{"versionQualifier":{},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"robotApplicationSummaries":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"version":{},"lastUpdatedAt":{"type":"timestamp"},"robotSoftwareSuite":{"shape":"S2v"}}}},"nextToken":{}}}},"ListRobots":{"http":{"requestUri":"/listRobots"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"robots":{"shape":"S4s"},"nextToken":{}}}},"ListSimulationApplications":{"http":{"requestUri":"/listSimulationApplications"},"input":{"type":"structure","members":{"versionQualifier":{},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"simulationApplicationSummaries":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"version":{},"lastUpdatedAt":{"type":"timestamp"},"robotSoftwareSuite":{"shape":"S2v"},"simulationSoftwareSuite":{"shape":"S39"}}}},"nextToken":{}}}},"ListSimulationJobBatches":{"http":{"requestUri":"/listSimulationJobBatches"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"simulationJobBatchSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"lastUpdatedAt":{"type":"timestamp"},"createdAt":{"type":"timestamp"},"status":{},"failedRequestCount":{"type":"integer"},"pendingRequestCount":{"type":"integer"},"createdRequestCount":{"type":"integer"}}}},"nextToken":{}}}},"ListSimulationJobs":{"http":{"requestUri":"/listSimulationJobs"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","required":["simulationJobSummaries"],"members":{"simulationJobSummaries":{"shape":"S5e"},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1o"}}}},"ListWorldExportJobs":{"http":{"requestUri":"/listWorldExportJobs"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","required":["worldExportJobSummaries"],"members":{"worldExportJobSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"worlds":{"shape":"S2"}}}},"nextToken":{}}}},"ListWorldGenerationJobs":{"http":{"requestUri":"/listWorldGenerationJobs"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","required":["worldGenerationJobSummaries"],"members":{"worldGenerationJobSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"template":{},"createdAt":{"type":"timestamp"},"status":{},"worldCount":{"shape":"S3u"},"succeededWorldCount":{"type":"integer"},"failedWorldCount":{"type":"integer"}}}},"nextToken":{}}}},"ListWorldTemplates":{"http":{"requestUri":"/listWorldTemplates"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"templateSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"name":{},"version":{}}}},"nextToken":{}}}},"ListWorlds":{"http":{"requestUri":"/listWorlds"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"worldSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"createdAt":{"type":"timestamp"},"generationJob":{},"template":{}}}},"nextToken":{}}}},"RegisterRobot":{"http":{"requestUri":"/registerRobot"},"input":{"type":"structure","required":["fleet","robot"],"members":{"fleet":{},"robot":{}}},"output":{"type":"structure","members":{"fleet":{},"robot":{}}}},"RestartSimulationJob":{"http":{"requestUri":"/restartSimulationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"StartSimulationJobBatch":{"http":{"requestUri":"/startSimulationJobBatch"},"input":{"type":"structure","required":["createSimulationJobRequests"],"members":{"clientRequestToken":{"idempotencyToken":true},"batchPolicy":{"shape":"S55"},"createSimulationJobRequests":{"shape":"S5d"},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"clientRequestToken":{},"batchPolicy":{"shape":"S55"},"failureCode":{},"failureReason":{},"failedRequests":{"shape":"S59"},"pendingRequests":{"shape":"S5d"},"createdRequests":{"shape":"S5e"},"tags":{"shape":"S1o"}}}},"SyncDeploymentJob":{"http":{"requestUri":"/syncDeploymentJob"},"input":{"type":"structure","required":["clientRequestToken","fleet"],"members":{"clientRequestToken":{"idempotencyToken":true},"fleet":{}}},"output":{"type":"structure","members":{"arn":{},"fleet":{},"status":{},"deploymentConfig":{"shape":"S2a"},"deploymentApplicationConfigs":{"shape":"S2e"},"failureReason":{},"failureCode":{},"createdAt":{"type":"timestamp"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateRobotApplication":{"http":{"requestUri":"/updateRobotApplication"},"input":{"type":"structure","required":["application","robotSoftwareSuite"],"members":{"application":{},"sources":{"shape":"S2t"},"robotSoftwareSuite":{"shape":"S2v"},"currentRevisionId":{},"environment":{"shape":"S2y"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"robotSoftwareSuite":{"shape":"S2v"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"environment":{"shape":"S2y"}}}},"UpdateSimulationApplication":{"http":{"requestUri":"/updateSimulationApplication"},"input":{"type":"structure","required":["application","simulationSoftwareSuite","robotSoftwareSuite"],"members":{"application":{},"sources":{"shape":"S2t"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"currentRevisionId":{},"environment":{"shape":"S2y"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"environment":{"shape":"S2y"}}}},"UpdateWorldTemplate":{"http":{"requestUri":"/updateWorldTemplate"},"input":{"type":"structure","required":["template"],"members":{"template":{},"name":{},"templateBody":{},"templateLocation":{"shape":"S43"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"}}}}},"shapes":{"S2":{"type":"list","member":{}},"Sh":{"type":"structure","members":{"s3Bucket":{},"s3Prefix":{}}},"Sk":{"type":"structure","required":["recordAllRosTopics"],"members":{"recordAllRosTopics":{"type":"boolean"}}},"Sp":{"type":"list","member":{"type":"structure","required":["application","launchConfig"],"members":{"application":{},"applicationVersion":{},"launchConfig":{"shape":"Ss"},"uploadConfigurations":{"shape":"S15"},"useDefaultUploadConfigurations":{"type":"boolean"},"tools":{"shape":"S19"},"useDefaultTools":{"type":"boolean"}}}},"Ss":{"type":"structure","members":{"packageName":{},"launchFile":{},"environmentVariables":{"shape":"Su"},"portForwardingConfig":{"type":"structure","members":{"portMappings":{"type":"list","member":{"type":"structure","required":["jobPort","applicationPort"],"members":{"jobPort":{"type":"integer"},"applicationPort":{"type":"integer"},"enableOnPublicIp":{"type":"boolean"}}}}}},"streamUI":{"type":"boolean"},"command":{"type":"list","member":{}}}},"Su":{"type":"map","key":{},"value":{}},"S15":{"type":"list","member":{"type":"structure","required":["name","path","uploadBehavior"],"members":{"name":{},"path":{},"uploadBehavior":{}}}},"S19":{"type":"list","member":{"type":"structure","required":["name","command"],"members":{"streamUI":{"type":"boolean"},"name":{},"command":{},"streamOutputToCloudWatch":{"type":"boolean"},"exitBehavior":{}}}},"S1d":{"type":"list","member":{"type":"structure","required":["application","launchConfig"],"members":{"application":{},"applicationVersion":{},"launchConfig":{"shape":"Ss"},"uploadConfigurations":{"shape":"S15"},"worldConfigs":{"type":"list","member":{"type":"structure","members":{"world":{}}}},"useDefaultUploadConfigurations":{"type":"boolean"},"tools":{"shape":"S19"},"useDefaultTools":{"type":"boolean"}}}},"S1h":{"type":"list","member":{"type":"structure","members":{"name":{},"s3Bucket":{},"s3Keys":{"type":"list","member":{"type":"structure","members":{"s3Key":{},"etag":{}}}},"type":{},"destination":{}}}},"S1o":{"type":"map","key":{},"value":{}},"S1r":{"type":"structure","members":{"subnets":{"shape":"S1s"},"securityGroups":{"shape":"S1t"},"vpcId":{},"assignPublicIp":{"type":"boolean"}}},"S1s":{"type":"list","member":{}},"S1t":{"type":"list","member":{}},"S1u":{"type":"structure","members":{"networkInterfaceId":{},"privateIpAddress":{},"publicIpAddress":{}}},"S1v":{"type":"structure","members":{"simulationUnitLimit":{"type":"integer"},"computeType":{},"gpuUnitLimit":{"type":"integer"}}},"S2a":{"type":"structure","members":{"concurrentDeploymentPercentage":{"type":"integer"},"failureThresholdPercentage":{"type":"integer"},"robotDeploymentTimeoutInSeconds":{"type":"long"},"downloadConditionFile":{"type":"structure","required":["bucket","key"],"members":{"bucket":{},"key":{},"etag":{}}}}},"S2e":{"type":"list","member":{"type":"structure","required":["application","applicationVersion","launchConfig"],"members":{"application":{},"applicationVersion":{},"launchConfig":{"type":"structure","required":["packageName","launchFile"],"members":{"packageName":{},"preLaunchFile":{},"launchFile":{},"postLaunchFile":{},"environmentVariables":{"shape":"Su"}}}}}},"S2t":{"type":"list","member":{"type":"structure","members":{"s3Bucket":{},"s3Key":{},"architecture":{}}}},"S2v":{"type":"structure","members":{"name":{},"version":{}}},"S2y":{"type":"structure","members":{"uri":{}}},"S31":{"type":"list","member":{"type":"structure","members":{"s3Bucket":{},"s3Key":{},"etag":{},"architecture":{}}}},"S35":{"type":"list","member":{}},"S39":{"type":"structure","members":{"name":{},"version":{}}},"S3c":{"type":"structure","members":{"name":{},"version":{}}},"S3j":{"type":"list","member":{"type":"structure","required":["name","s3Bucket","s3Keys"],"members":{"name":{},"s3Bucket":{},"s3Keys":{"type":"list","member":{}},"type":{},"destination":{}}}},"S3m":{"type":"structure","required":["subnets"],"members":{"subnets":{"shape":"S1s"},"securityGroups":{"shape":"S1t"},"assignPublicIp":{"type":"boolean"}}},"S3n":{"type":"structure","members":{"simulationUnitLimit":{"type":"integer"},"computeType":{},"gpuUnitLimit":{"type":"integer"}}},"S3u":{"type":"structure","members":{"floorplanCount":{"type":"integer"},"interiorCountPerFloorplan":{"type":"integer"}}},"S43":{"type":"structure","required":["s3Bucket","s3Key"],"members":{"s3Bucket":{},"s3Key":{}}},"S4s":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"fleetArn":{},"status":{},"greenGrassGroupId":{},"createdAt":{"type":"timestamp"},"architecture":{},"lastDeploymentJob":{},"lastDeploymentTime":{"type":"timestamp"}}}},"S55":{"type":"structure","members":{"timeoutInSeconds":{"type":"long"},"maxConcurrency":{"type":"integer"}}},"S59":{"type":"list","member":{"type":"structure","members":{"request":{"shape":"S5b"},"failureReason":{},"failureCode":{},"failedAt":{"type":"timestamp"}}}},"S5b":{"type":"structure","required":["maxJobDurationInSeconds"],"members":{"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"iamRole":{},"failureBehavior":{},"useDefaultApplications":{"type":"boolean"},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S3j"},"vpcConfig":{"shape":"S3m"},"compute":{"shape":"S3n"},"tags":{"shape":"S1o"}}},"S5d":{"type":"list","member":{"shape":"S5b"}},"S5e":{"type":"list","member":{"type":"structure","members":{"arn":{},"lastUpdatedAt":{"type":"timestamp"},"name":{},"status":{},"simulationApplicationNames":{"type":"list","member":{}},"robotApplicationNames":{"type":"list","member":{}},"dataSourceNames":{"type":"list","member":{}},"computeType":{}}}},"S5z":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-06-29","endpointPrefix":"robomaker","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"RoboMaker","serviceFullName":"AWS RoboMaker","serviceId":"RoboMaker","signatureVersion":"v4","signingName":"robomaker","uid":"robomaker-2018-06-29"},"operations":{"BatchDeleteWorlds":{"http":{"requestUri":"/batchDeleteWorlds"},"input":{"type":"structure","required":["worlds"],"members":{"worlds":{"shape":"S2"}}},"output":{"type":"structure","members":{"unprocessedWorlds":{"shape":"S2"}}}},"BatchDescribeSimulationJob":{"http":{"requestUri":"/batchDescribeSimulationJob"},"input":{"type":"structure","required":["jobs"],"members":{"jobs":{"shape":"S2"}}},"output":{"type":"structure","members":{"jobs":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"status":{},"lastStartedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"failureBehavior":{},"failureCode":{},"failureReason":{},"clientRequestToken":{},"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"simulationTimeMillis":{"type":"long"},"iamRole":{},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S1h"},"tags":{"shape":"S1o"},"vpcConfig":{"shape":"S1r"},"networkInterface":{"shape":"S1u"},"compute":{"shape":"S1v"}}}},"unprocessedJobs":{"shape":"S2"}}}},"CancelDeploymentJob":{"http":{"requestUri":"/cancelDeploymentJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"CancelSimulationJob":{"http":{"requestUri":"/cancelSimulationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"CancelSimulationJobBatch":{"http":{"requestUri":"/cancelSimulationJobBatch"},"input":{"type":"structure","required":["batch"],"members":{"batch":{}}},"output":{"type":"structure","members":{}}},"CancelWorldExportJob":{"http":{"requestUri":"/cancelWorldExportJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"CancelWorldGenerationJob":{"http":{"requestUri":"/cancelWorldGenerationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"CreateDeploymentJob":{"http":{"requestUri":"/createDeploymentJob"},"input":{"type":"structure","required":["clientRequestToken","fleet","deploymentApplicationConfigs"],"members":{"deploymentConfig":{"shape":"S2a"},"clientRequestToken":{"idempotencyToken":true},"fleet":{},"deploymentApplicationConfigs":{"shape":"S2e"},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"arn":{},"fleet":{},"status":{},"deploymentApplicationConfigs":{"shape":"S2e"},"failureReason":{},"failureCode":{},"createdAt":{"type":"timestamp"},"deploymentConfig":{"shape":"S2a"},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"CreateFleet":{"http":{"requestUri":"/createFleet"},"input":{"type":"structure","required":["name"],"members":{"name":{},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"arn":{},"name":{},"createdAt":{"type":"timestamp"},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"CreateRobot":{"http":{"requestUri":"/createRobot"},"input":{"type":"structure","required":["name","architecture","greengrassGroupId"],"members":{"name":{},"architecture":{},"greengrassGroupId":{},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"arn":{},"name":{},"createdAt":{"type":"timestamp"},"greengrassGroupId":{},"architecture":{},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"CreateRobotApplication":{"http":{"requestUri":"/createRobotApplication"},"input":{"type":"structure","required":["name","robotSoftwareSuite"],"members":{"name":{},"sources":{"shape":"S2t"},"robotSoftwareSuite":{"shape":"S2v"},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"robotSoftwareSuite":{"shape":"S2v"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"}}}},"CreateRobotApplicationVersion":{"http":{"requestUri":"/createRobotApplicationVersion"},"input":{"type":"structure","required":["application"],"members":{"application":{},"currentRevisionId":{},"s3Etags":{"shape":"S35"},"imageDigest":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"robotSoftwareSuite":{"shape":"S2v"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"environment":{"shape":"S2y"}}}},"CreateSimulationApplication":{"http":{"requestUri":"/createSimulationApplication"},"input":{"type":"structure","required":["name","simulationSoftwareSuite","robotSoftwareSuite"],"members":{"name":{},"sources":{"shape":"S2t"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"}}}},"CreateSimulationApplicationVersion":{"http":{"requestUri":"/createSimulationApplicationVersion"},"input":{"type":"structure","required":["application"],"members":{"application":{},"currentRevisionId":{},"s3Etags":{"shape":"S35"},"imageDigest":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"environment":{"shape":"S2y"}}}},"CreateSimulationJob":{"http":{"requestUri":"/createSimulationJob"},"input":{"type":"structure","required":["maxJobDurationInSeconds","iamRole"],"members":{"clientRequestToken":{"idempotencyToken":true},"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"iamRole":{},"failureBehavior":{},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S3j"},"tags":{"shape":"S1o"},"vpcConfig":{"shape":"S3m"},"compute":{"shape":"S3n"}}},"output":{"type":"structure","members":{"arn":{},"status":{},"lastStartedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"failureBehavior":{},"failureCode":{},"clientRequestToken":{},"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"simulationTimeMillis":{"type":"long"},"iamRole":{},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S1h"},"tags":{"shape":"S1o"},"vpcConfig":{"shape":"S1r"},"compute":{"shape":"S1v"}}}},"CreateWorldExportJob":{"http":{"requestUri":"/createWorldExportJob"},"input":{"type":"structure","required":["worlds","outputLocation","iamRole"],"members":{"clientRequestToken":{"idempotencyToken":true},"worlds":{"shape":"S2"},"outputLocation":{"shape":"Sh"},"iamRole":{},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"failureCode":{},"clientRequestToken":{},"outputLocation":{"shape":"Sh"},"iamRole":{},"tags":{"shape":"S1o"}}}},"CreateWorldGenerationJob":{"http":{"requestUri":"/createWorldGenerationJob"},"input":{"type":"structure","required":["template","worldCount"],"members":{"clientRequestToken":{"idempotencyToken":true},"template":{},"worldCount":{"shape":"S3u"},"tags":{"shape":"S1o"},"worldTags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"failureCode":{},"clientRequestToken":{},"template":{},"worldCount":{"shape":"S3u"},"tags":{"shape":"S1o"},"worldTags":{"shape":"S1o"}}}},"CreateWorldTemplate":{"http":{"requestUri":"/createWorldTemplate"},"input":{"type":"structure","members":{"clientRequestToken":{},"name":{},"templateBody":{},"templateLocation":{"shape":"S43"},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"clientRequestToken":{},"createdAt":{"type":"timestamp"},"name":{},"tags":{"shape":"S1o"}}}},"DeleteFleet":{"http":{"requestUri":"/deleteFleet"},"input":{"type":"structure","required":["fleet"],"members":{"fleet":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"DeleteRobot":{"http":{"requestUri":"/deleteRobot"},"input":{"type":"structure","required":["robot"],"members":{"robot":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"DeleteRobotApplication":{"http":{"requestUri":"/deleteRobotApplication"},"input":{"type":"structure","required":["application"],"members":{"application":{},"applicationVersion":{}}},"output":{"type":"structure","members":{}}},"DeleteSimulationApplication":{"http":{"requestUri":"/deleteSimulationApplication"},"input":{"type":"structure","required":["application"],"members":{"application":{},"applicationVersion":{}}},"output":{"type":"structure","members":{}}},"DeleteWorldTemplate":{"http":{"requestUri":"/deleteWorldTemplate"},"input":{"type":"structure","required":["template"],"members":{"template":{}}},"output":{"type":"structure","members":{}}},"DeregisterRobot":{"http":{"requestUri":"/deregisterRobot"},"input":{"type":"structure","required":["fleet","robot"],"members":{"fleet":{},"robot":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"fleet":{},"robot":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"DescribeDeploymentJob":{"http":{"requestUri":"/describeDeploymentJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"arn":{},"fleet":{},"status":{},"deploymentConfig":{"shape":"S2a"},"deploymentApplicationConfigs":{"shape":"S2e"},"failureReason":{},"failureCode":{},"createdAt":{"type":"timestamp"},"robotDeploymentSummary":{"type":"list","member":{"type":"structure","members":{"arn":{},"deploymentStartTime":{"type":"timestamp"},"deploymentFinishTime":{"type":"timestamp"},"status":{},"progressDetail":{"type":"structure","members":{"currentProgress":{},"percentDone":{"type":"float"},"estimatedTimeRemainingSeconds":{"type":"integer"},"targetResource":{}}},"failureReason":{},"failureCode":{}}}},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"DescribeFleet":{"http":{"requestUri":"/describeFleet"},"input":{"type":"structure","required":["fleet"],"members":{"fleet":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"name":{},"arn":{},"robots":{"shape":"S4s"},"createdAt":{"type":"timestamp"},"lastDeploymentStatus":{},"lastDeploymentJob":{},"lastDeploymentTime":{"type":"timestamp"},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"DescribeRobot":{"http":{"requestUri":"/describeRobot"},"input":{"type":"structure","required":["robot"],"members":{"robot":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"arn":{},"name":{},"fleetArn":{},"status":{},"greengrassGroupId":{},"createdAt":{"type":"timestamp"},"architecture":{},"lastDeploymentJob":{},"lastDeploymentTime":{"type":"timestamp"},"tags":{"shape":"S1o"}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"DescribeRobotApplication":{"http":{"requestUri":"/describeRobotApplication"},"input":{"type":"structure","required":["application"],"members":{"application":{},"applicationVersion":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"robotSoftwareSuite":{"shape":"S2v"},"revisionId":{},"lastUpdatedAt":{"type":"timestamp"},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"},"imageDigest":{}}}},"DescribeSimulationApplication":{"http":{"requestUri":"/describeSimulationApplication"},"input":{"type":"structure","required":["application"],"members":{"application":{},"applicationVersion":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"revisionId":{},"lastUpdatedAt":{"type":"timestamp"},"tags":{"shape":"S1o"},"environment":{"shape":"S2y"},"imageDigest":{}}}},"DescribeSimulationJob":{"http":{"requestUri":"/describeSimulationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{"arn":{},"name":{},"status":{},"lastStartedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"failureBehavior":{},"failureCode":{},"failureReason":{},"clientRequestToken":{},"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"simulationTimeMillis":{"type":"long"},"iamRole":{},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S1h"},"tags":{"shape":"S1o"},"vpcConfig":{"shape":"S1r"},"networkInterface":{"shape":"S1u"},"compute":{"shape":"S1v"}}}},"DescribeSimulationJobBatch":{"http":{"requestUri":"/describeSimulationJobBatch"},"input":{"type":"structure","required":["batch"],"members":{"batch":{}}},"output":{"type":"structure","members":{"arn":{},"status":{},"lastUpdatedAt":{"type":"timestamp"},"createdAt":{"type":"timestamp"},"clientRequestToken":{},"batchPolicy":{"shape":"S55"},"failureCode":{},"failureReason":{},"failedRequests":{"shape":"S59"},"pendingRequests":{"shape":"S5d"},"createdRequests":{"shape":"S5e"},"tags":{"shape":"S1o"}}}},"DescribeWorld":{"http":{"requestUri":"/describeWorld"},"input":{"type":"structure","required":["world"],"members":{"world":{}}},"output":{"type":"structure","members":{"arn":{},"generationJob":{},"template":{},"createdAt":{"type":"timestamp"},"tags":{"shape":"S1o"},"worldDescriptionBody":{}}}},"DescribeWorldExportJob":{"http":{"requestUri":"/describeWorldExportJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"failureCode":{},"failureReason":{},"clientRequestToken":{},"worlds":{"shape":"S2"},"outputLocation":{"shape":"Sh"},"iamRole":{},"tags":{"shape":"S1o"}}}},"DescribeWorldGenerationJob":{"http":{"requestUri":"/describeWorldGenerationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"failureCode":{},"failureReason":{},"clientRequestToken":{},"template":{},"worldCount":{"shape":"S3u"},"finishedWorldsSummary":{"type":"structure","members":{"finishedCount":{"type":"integer"},"succeededWorlds":{"shape":"S2"},"failureSummary":{"type":"structure","members":{"totalFailureCount":{"type":"integer"},"failures":{"type":"list","member":{"type":"structure","members":{"failureCode":{},"sampleFailureReason":{},"failureCount":{"type":"integer"}}}}}}}},"tags":{"shape":"S1o"},"worldTags":{"shape":"S1o"}}}},"DescribeWorldTemplate":{"http":{"requestUri":"/describeWorldTemplate"},"input":{"type":"structure","required":["template"],"members":{"template":{}}},"output":{"type":"structure","members":{"arn":{},"clientRequestToken":{},"name":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"tags":{"shape":"S1o"},"version":{}}}},"GetWorldTemplateBody":{"http":{"requestUri":"/getWorldTemplateBody"},"input":{"type":"structure","members":{"template":{},"generationJob":{}}},"output":{"type":"structure","members":{"templateBody":{}}}},"ListDeploymentJobs":{"http":{"requestUri":"/listDeploymentJobs"},"input":{"type":"structure","members":{"filters":{"shape":"S5z"},"nextToken":{},"maxResults":{"type":"integer"}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"deploymentJobs":{"type":"list","member":{"type":"structure","members":{"arn":{},"fleet":{},"status":{},"deploymentApplicationConfigs":{"shape":"S2e"},"deploymentConfig":{"shape":"S2a"},"failureReason":{},"failureCode":{},"createdAt":{"type":"timestamp"}}}},"nextToken":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"ListFleets":{"http":{"requestUri":"/listFleets"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"fleetDetails":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"createdAt":{"type":"timestamp"},"lastDeploymentStatus":{},"lastDeploymentJob":{},"lastDeploymentTime":{"type":"timestamp"}}}},"nextToken":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"ListRobotApplications":{"http":{"requestUri":"/listRobotApplications"},"input":{"type":"structure","members":{"versionQualifier":{},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"robotApplicationSummaries":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"version":{},"lastUpdatedAt":{"type":"timestamp"},"robotSoftwareSuite":{"shape":"S2v"}}}},"nextToken":{}}}},"ListRobots":{"http":{"requestUri":"/listRobots"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"robots":{"shape":"S4s"},"nextToken":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"ListSimulationApplications":{"http":{"requestUri":"/listSimulationApplications"},"input":{"type":"structure","members":{"versionQualifier":{},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"simulationApplicationSummaries":{"type":"list","member":{"type":"structure","members":{"name":{},"arn":{},"version":{},"lastUpdatedAt":{"type":"timestamp"},"robotSoftwareSuite":{"shape":"S2v"},"simulationSoftwareSuite":{"shape":"S39"}}}},"nextToken":{}}}},"ListSimulationJobBatches":{"http":{"requestUri":"/listSimulationJobBatches"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"simulationJobBatchSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"lastUpdatedAt":{"type":"timestamp"},"createdAt":{"type":"timestamp"},"status":{},"failedRequestCount":{"type":"integer"},"pendingRequestCount":{"type":"integer"},"createdRequestCount":{"type":"integer"}}}},"nextToken":{}}}},"ListSimulationJobs":{"http":{"requestUri":"/listSimulationJobs"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","required":["simulationJobSummaries"],"members":{"simulationJobSummaries":{"shape":"S5e"},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1o"}}}},"ListWorldExportJobs":{"http":{"requestUri":"/listWorldExportJobs"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","required":["worldExportJobSummaries"],"members":{"worldExportJobSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"worlds":{"shape":"S2"}}}},"nextToken":{}}}},"ListWorldGenerationJobs":{"http":{"requestUri":"/listWorldGenerationJobs"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","required":["worldGenerationJobSummaries"],"members":{"worldGenerationJobSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"template":{},"createdAt":{"type":"timestamp"},"status":{},"worldCount":{"shape":"S3u"},"succeededWorldCount":{"type":"integer"},"failedWorldCount":{"type":"integer"}}}},"nextToken":{}}}},"ListWorldTemplates":{"http":{"requestUri":"/listWorldTemplates"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"templateSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"name":{},"version":{}}}},"nextToken":{}}}},"ListWorlds":{"http":{"requestUri":"/listWorlds"},"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S5z"}}},"output":{"type":"structure","members":{"worldSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"createdAt":{"type":"timestamp"},"generationJob":{},"template":{}}}},"nextToken":{}}}},"RegisterRobot":{"http":{"requestUri":"/registerRobot"},"input":{"type":"structure","required":["fleet","robot"],"members":{"fleet":{},"robot":{}},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"fleet":{},"robot":{}},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"RestartSimulationJob":{"http":{"requestUri":"/restartSimulationJob"},"input":{"type":"structure","required":["job"],"members":{"job":{}}},"output":{"type":"structure","members":{}}},"StartSimulationJobBatch":{"http":{"requestUri":"/startSimulationJobBatch"},"input":{"type":"structure","required":["createSimulationJobRequests"],"members":{"clientRequestToken":{"idempotencyToken":true},"batchPolicy":{"shape":"S55"},"createSimulationJobRequests":{"shape":"S5d"},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{"arn":{},"status":{},"createdAt":{"type":"timestamp"},"clientRequestToken":{},"batchPolicy":{"shape":"S55"},"failureCode":{},"failureReason":{},"failedRequests":{"shape":"S59"},"pendingRequests":{"shape":"S5d"},"createdRequests":{"shape":"S5e"},"tags":{"shape":"S1o"}}}},"SyncDeploymentJob":{"http":{"requestUri":"/syncDeploymentJob"},"input":{"type":"structure","required":["clientRequestToken","fleet"],"members":{"clientRequestToken":{"idempotencyToken":true},"fleet":{}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"output":{"type":"structure","members":{"arn":{},"fleet":{},"status":{},"deploymentConfig":{"shape":"S2a"},"deploymentApplicationConfigs":{"shape":"S2e"},"failureReason":{},"failureCode":{},"createdAt":{"type":"timestamp"}},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"deprecated":true,"deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1o"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateRobotApplication":{"http":{"requestUri":"/updateRobotApplication"},"input":{"type":"structure","required":["application","robotSoftwareSuite"],"members":{"application":{},"sources":{"shape":"S2t"},"robotSoftwareSuite":{"shape":"S2v"},"currentRevisionId":{},"environment":{"shape":"S2y"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"robotSoftwareSuite":{"shape":"S2v"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"environment":{"shape":"S2y"}}}},"UpdateSimulationApplication":{"http":{"requestUri":"/updateSimulationApplication"},"input":{"type":"structure","required":["application","simulationSoftwareSuite","robotSoftwareSuite"],"members":{"application":{},"sources":{"shape":"S2t"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"currentRevisionId":{},"environment":{"shape":"S2y"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"version":{},"sources":{"shape":"S31"},"simulationSoftwareSuite":{"shape":"S39"},"robotSoftwareSuite":{"shape":"S2v"},"renderingEngine":{"shape":"S3c"},"lastUpdatedAt":{"type":"timestamp"},"revisionId":{},"environment":{"shape":"S2y"}}}},"UpdateWorldTemplate":{"http":{"requestUri":"/updateWorldTemplate"},"input":{"type":"structure","required":["template"],"members":{"template":{},"name":{},"templateBody":{},"templateLocation":{"shape":"S43"}}},"output":{"type":"structure","members":{"arn":{},"name":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"}}}}},"shapes":{"S2":{"type":"list","member":{}},"Sh":{"type":"structure","members":{"s3Bucket":{},"s3Prefix":{}}},"Sk":{"type":"structure","required":["recordAllRosTopics"],"members":{"recordAllRosTopics":{"type":"boolean"}}},"Sp":{"type":"list","member":{"type":"structure","required":["application","launchConfig"],"members":{"application":{},"applicationVersion":{},"launchConfig":{"shape":"Ss"},"uploadConfigurations":{"shape":"S15"},"useDefaultUploadConfigurations":{"type":"boolean"},"tools":{"shape":"S19"},"useDefaultTools":{"type":"boolean"}}}},"Ss":{"type":"structure","members":{"packageName":{},"launchFile":{},"environmentVariables":{"shape":"Su"},"portForwardingConfig":{"type":"structure","members":{"portMappings":{"type":"list","member":{"type":"structure","required":["jobPort","applicationPort"],"members":{"jobPort":{"type":"integer"},"applicationPort":{"type":"integer"},"enableOnPublicIp":{"type":"boolean"}}}}}},"streamUI":{"type":"boolean"},"command":{"type":"list","member":{}}}},"Su":{"type":"map","key":{},"value":{}},"S15":{"type":"list","member":{"type":"structure","required":["name","path","uploadBehavior"],"members":{"name":{},"path":{},"uploadBehavior":{}}}},"S19":{"type":"list","member":{"type":"structure","required":["name","command"],"members":{"streamUI":{"type":"boolean"},"name":{},"command":{},"streamOutputToCloudWatch":{"type":"boolean"},"exitBehavior":{}}}},"S1d":{"type":"list","member":{"type":"structure","required":["application","launchConfig"],"members":{"application":{},"applicationVersion":{},"launchConfig":{"shape":"Ss"},"uploadConfigurations":{"shape":"S15"},"worldConfigs":{"type":"list","member":{"type":"structure","members":{"world":{}}}},"useDefaultUploadConfigurations":{"type":"boolean"},"tools":{"shape":"S19"},"useDefaultTools":{"type":"boolean"}}}},"S1h":{"type":"list","member":{"type":"structure","members":{"name":{},"s3Bucket":{},"s3Keys":{"type":"list","member":{"type":"structure","members":{"s3Key":{},"etag":{}}}},"type":{},"destination":{}}}},"S1o":{"type":"map","key":{},"value":{}},"S1r":{"type":"structure","members":{"subnets":{"shape":"S1s"},"securityGroups":{"shape":"S1t"},"vpcId":{},"assignPublicIp":{"type":"boolean"}}},"S1s":{"type":"list","member":{}},"S1t":{"type":"list","member":{}},"S1u":{"type":"structure","members":{"networkInterfaceId":{},"privateIpAddress":{},"publicIpAddress":{}}},"S1v":{"type":"structure","members":{"simulationUnitLimit":{"type":"integer"},"computeType":{},"gpuUnitLimit":{"type":"integer"}}},"S2a":{"type":"structure","members":{"concurrentDeploymentPercentage":{"type":"integer"},"failureThresholdPercentage":{"type":"integer"},"robotDeploymentTimeoutInSeconds":{"type":"long"},"downloadConditionFile":{"type":"structure","required":["bucket","key"],"members":{"bucket":{},"key":{},"etag":{}}}}},"S2e":{"type":"list","member":{"type":"structure","required":["application","applicationVersion","launchConfig"],"members":{"application":{},"applicationVersion":{},"launchConfig":{"type":"structure","required":["packageName","launchFile"],"members":{"packageName":{},"preLaunchFile":{},"launchFile":{},"postLaunchFile":{},"environmentVariables":{"shape":"Su"}}}}}},"S2t":{"type":"list","member":{"type":"structure","members":{"s3Bucket":{},"s3Key":{},"architecture":{}}}},"S2v":{"type":"structure","members":{"name":{},"version":{}}},"S2y":{"type":"structure","members":{"uri":{}}},"S31":{"type":"list","member":{"type":"structure","members":{"s3Bucket":{},"s3Key":{},"etag":{},"architecture":{}}}},"S35":{"type":"list","member":{}},"S39":{"type":"structure","members":{"name":{},"version":{}}},"S3c":{"type":"structure","members":{"name":{},"version":{}}},"S3j":{"type":"list","member":{"type":"structure","required":["name","s3Bucket","s3Keys"],"members":{"name":{},"s3Bucket":{},"s3Keys":{"type":"list","member":{}},"type":{},"destination":{}}}},"S3m":{"type":"structure","required":["subnets"],"members":{"subnets":{"shape":"S1s"},"securityGroups":{"shape":"S1t"},"assignPublicIp":{"type":"boolean"}}},"S3n":{"type":"structure","members":{"simulationUnitLimit":{"type":"integer"},"computeType":{},"gpuUnitLimit":{"type":"integer"}}},"S3u":{"type":"structure","members":{"floorplanCount":{"type":"integer"},"interiorCountPerFloorplan":{"type":"integer"}}},"S43":{"type":"structure","required":["s3Bucket","s3Key"],"members":{"s3Bucket":{},"s3Key":{}}},"S4s":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"fleetArn":{},"status":{},"greenGrassGroupId":{},"createdAt":{"type":"timestamp"},"architecture":{},"lastDeploymentJob":{},"lastDeploymentTime":{"type":"timestamp"}}}},"S55":{"type":"structure","members":{"timeoutInSeconds":{"type":"long"},"maxConcurrency":{"type":"integer"}}},"S59":{"type":"list","member":{"type":"structure","members":{"request":{"shape":"S5b"},"failureReason":{},"failureCode":{},"failedAt":{"type":"timestamp"}}}},"S5b":{"type":"structure","required":["maxJobDurationInSeconds"],"members":{"outputLocation":{"shape":"Sh"},"loggingConfig":{"shape":"Sk"},"maxJobDurationInSeconds":{"type":"long"},"iamRole":{},"failureBehavior":{},"useDefaultApplications":{"type":"boolean"},"robotApplications":{"shape":"Sp"},"simulationApplications":{"shape":"S1d"},"dataSources":{"shape":"S3j"},"vpcConfig":{"shape":"S3m"},"compute":{"shape":"S3n"},"tags":{"shape":"S1o"}}},"S5d":{"type":"list","member":{"shape":"S5b"}},"S5e":{"type":"list","member":{"type":"structure","members":{"arn":{},"lastUpdatedAt":{"type":"timestamp"},"name":{},"status":{},"simulationApplicationNames":{"type":"list","member":{}},"robotApplicationNames":{"type":"list","member":{}},"dataSourceNames":{"type":"list","member":{}},"computeType":{}}}},"S5z":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}}}} /***/ }), /* 675 */ @@ -50591,7 +50597,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 693 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-03-01","endpointPrefix":"fsx","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon FSx","serviceId":"FSx","signatureVersion":"v4","signingName":"fsx","targetPrefix":"AWSSimbaAPIService_v20180301","uid":"fsx-2018-03-01"},"operations":{"AssociateFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId","Aliases"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Aliases":{"shape":"S4"}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"}}}},"CancelDataRepositoryTask":{"input":{"type":"structure","required":["TaskId"],"members":{"TaskId":{}}},"output":{"type":"structure","members":{"Lifecycle":{},"TaskId":{}}},"idempotent":true},"CopyBackup":{"input":{"type":"structure","required":["SourceBackupId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"SourceBackupId":{},"SourceRegion":{},"KmsKeyId":{},"CopyTags":{"type":"boolean"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Backup":{"shape":"So"}}},"idempotent":true},"CreateBackup":{"input":{"type":"structure","members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"},"VolumeId":{}}},"output":{"type":"structure","members":{"Backup":{"shape":"So"}}},"idempotent":true},"CreateDataRepositoryAssociation":{"input":{"type":"structure","required":["FileSystemId","FileSystemPath","DataRepositoryPath"],"members":{"FileSystemId":{},"FileSystemPath":{},"DataRepositoryPath":{},"BatchImportMetaDataOnCreate":{"type":"boolean"},"ImportedFileChunkSize":{"type":"integer"},"S3":{"shape":"S40"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Association":{"shape":"S46"}}},"idempotent":true},"CreateDataRepositoryTask":{"input":{"type":"structure","required":["Type","FileSystemId","Report"],"members":{"Type":{},"Paths":{"shape":"S4a"},"FileSystemId":{},"Report":{"shape":"S4c"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"DataRepositoryTask":{"shape":"S4g"}}},"idempotent":true},"CreateFileSystem":{"input":{"type":"structure","required":["FileSystemType","StorageCapacity","SubnetIds"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemType":{},"StorageCapacity":{"type":"integer"},"StorageType":{},"SubnetIds":{"shape":"S15"},"SecurityGroupIds":{"shape":"S4q"},"Tags":{"shape":"Sj"},"KmsKeyId":{},"WindowsConfiguration":{"shape":"S4s"},"LustreConfiguration":{"shape":"S4w"},"OntapConfiguration":{"type":"structure","required":["DeploymentType","ThroughputCapacity"],"members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"EndpointIpAddressRange":{},"FsxAdminPassword":{"shape":"S4z"},"DiskIopsConfiguration":{"shape":"S3l"},"PreferredSubnetId":{},"RouteTableIds":{"shape":"S3o"},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{}}},"FileSystemTypeVersion":{},"OpenZFSConfiguration":{"shape":"S50"}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"CreateFileSystemFromBackup":{"input":{"type":"structure","required":["BackupId","SubnetIds"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"SubnetIds":{"shape":"S15"},"SecurityGroupIds":{"shape":"S4q"},"Tags":{"shape":"Sj"},"WindowsConfiguration":{"shape":"S4s"},"LustreConfiguration":{"shape":"S4w"},"StorageType":{},"KmsKeyId":{},"FileSystemTypeVersion":{},"OpenZFSConfiguration":{"shape":"S50"}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"CreateSnapshot":{"input":{"type":"structure","required":["Name","VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"Name":{},"VolumeId":{},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Snapshot":{"shape":"S3b"}}},"idempotent":true},"CreateStorageVirtualMachine":{"input":{"type":"structure","required":["FileSystemId","Name"],"members":{"ActiveDirectoryConfiguration":{"type":"structure","required":["NetBiosName"],"members":{"NetBiosName":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S4t"}}},"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Name":{},"SvmAdminPassword":{"shape":"S4z"},"Tags":{"shape":"Sj"},"RootVolumeSecurityStyle":{}}},"output":{"type":"structure","members":{"StorageVirtualMachine":{"shape":"S5d"}}}},"CreateVolume":{"input":{"type":"structure","required":["VolumeType","Name"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeType":{},"Name":{},"OntapConfiguration":{"shape":"S5k"},"Tags":{"shape":"Sj"},"OpenZFSConfiguration":{"type":"structure","required":["ParentVolumeId"],"members":{"ParentVolumeId":{},"StorageCapacityReservationGiB":{"type":"integer"},"StorageCapacityQuotaGiB":{"type":"integer"},"DataCompressionType":{},"CopyTagsToSnapshots":{"type":"boolean"},"OriginSnapshot":{"type":"structure","required":["SnapshotARN","CopyStrategy"],"members":{"SnapshotARN":{},"CopyStrategy":{}}},"ReadOnly":{"type":"boolean"},"NfsExports":{"shape":"S31"},"UserAndGroupQuotas":{"shape":"S38"}}}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2d"}}}},"CreateVolumeFromBackup":{"input":{"type":"structure","required":["BackupId","Name"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"Name":{},"OntapConfiguration":{"shape":"S5k"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2d"}}}},"DeleteBackup":{"input":{"type":"structure","required":["BackupId"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"BackupId":{},"Lifecycle":{}}},"idempotent":true},"DeleteDataRepositoryAssociation":{"input":{"type":"structure","required":["AssociationId","DeleteDataInFileSystem"],"members":{"AssociationId":{},"ClientRequestToken":{"idempotencyToken":true},"DeleteDataInFileSystem":{"type":"boolean"}}},"output":{"type":"structure","members":{"AssociationId":{},"Lifecycle":{},"DeleteDataInFileSystem":{"type":"boolean"}}},"idempotent":true},"DeleteFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"WindowsConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}},"LustreConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}},"OpenZFSConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}}}},"output":{"type":"structure","members":{"FileSystemId":{},"Lifecycle":{},"WindowsResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}},"LustreResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}},"OpenZFSResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}}}},"idempotent":true},"DeleteSnapshot":{"input":{"type":"structure","required":["SnapshotId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"SnapshotId":{}}},"output":{"type":"structure","members":{"SnapshotId":{},"Lifecycle":{}}},"idempotent":true},"DeleteStorageVirtualMachine":{"input":{"type":"structure","required":["StorageVirtualMachineId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"StorageVirtualMachineId":{}}},"output":{"type":"structure","members":{"StorageVirtualMachineId":{},"Lifecycle":{}}}},"DeleteVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"OntapConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}},"OpenZFSConfiguration":{"type":"structure","members":{"Options":{"type":"list","member":{}}}}}},"output":{"type":"structure","members":{"VolumeId":{},"Lifecycle":{},"OntapResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}}}}},"DescribeBackups":{"input":{"type":"structure","members":{"BackupIds":{"type":"list","member":{}},"Filters":{"shape":"S6g"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Backups":{"type":"list","member":{"shape":"So"}},"NextToken":{}}}},"DescribeDataRepositoryAssociations":{"input":{"type":"structure","members":{"AssociationIds":{"type":"list","member":{}},"Filters":{"shape":"S6g"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"shape":"S46"}},"NextToken":{}}},"idempotent":true},"DescribeDataRepositoryTasks":{"input":{"type":"structure","members":{"TaskIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DataRepositoryTasks":{"type":"list","member":{"shape":"S4g"}},"NextToken":{}}}},"DescribeFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"},"NextToken":{}}}},"DescribeFileSystems":{"input":{"type":"structure","members":{"FileSystemIds":{"type":"list","member":{}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"FileSystems":{"type":"list","member":{"shape":"Sx"}},"NextToken":{}}}},"DescribeSnapshots":{"input":{"type":"structure","members":{"SnapshotIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Snapshots":{"type":"list","member":{"shape":"S3b"}},"NextToken":{}}}},"DescribeStorageVirtualMachines":{"input":{"type":"structure","members":{"StorageVirtualMachineIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"StorageVirtualMachines":{"type":"list","member":{"shape":"S5d"}},"NextToken":{}}}},"DescribeVolumes":{"input":{"type":"structure","members":{"VolumeIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Volumes":{"type":"list","member":{"shape":"S2d"}},"NextToken":{}}}},"DisassociateFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId","Aliases"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Aliases":{"shape":"S4"}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sj"},"NextToken":{}}}},"ReleaseFileSystemNfsV3Locks":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}},"idempotent":true},"RestoreVolumeFromSnapshot":{"input":{"type":"structure","required":["VolumeId","SnapshotId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"SnapshotId":{},"Options":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"VolumeId":{},"Lifecycle":{}}},"idempotent":true},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateDataRepositoryAssociation":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"ClientRequestToken":{"idempotencyToken":true},"ImportedFileChunkSize":{"type":"integer"},"S3":{"shape":"S40"}}},"output":{"type":"structure","members":{"Association":{"shape":"S46"}}},"idempotent":true},"UpdateFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"StorageCapacity":{"type":"integer"},"WindowsConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"ThroughputCapacity":{"type":"integer"},"SelfManagedActiveDirectoryConfiguration":{"shape":"S8j"},"AuditLogConfiguration":{"shape":"S4v"}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"AutoImportPolicy":{},"DataCompressionType":{},"LogConfiguration":{"shape":"S4x"}}},"OntapConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"FsxAdminPassword":{"shape":"S4z"},"WeeklyMaintenanceStartTime":{}}},"OpenZFSConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"CopyTagsToVolumes":{"type":"boolean"},"DailyAutomaticBackupStartTime":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DiskIopsConfiguration":{"shape":"S3l"}}}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"UpdateSnapshot":{"input":{"type":"structure","required":["Name","SnapshotId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"Name":{},"SnapshotId":{}}},"output":{"type":"structure","members":{"Snapshot":{"shape":"S3b"}}},"idempotent":true},"UpdateStorageVirtualMachine":{"input":{"type":"structure","required":["StorageVirtualMachineId"],"members":{"ActiveDirectoryConfiguration":{"type":"structure","members":{"SelfManagedActiveDirectoryConfiguration":{"shape":"S8j"}}},"ClientRequestToken":{"idempotencyToken":true},"StorageVirtualMachineId":{},"SvmAdminPassword":{"shape":"S4z"}}},"output":{"type":"structure","members":{"StorageVirtualMachine":{"shape":"S5d"}}}},"UpdateVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"OntapConfiguration":{"type":"structure","members":{"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"TieringPolicy":{"shape":"S2m"}}},"Name":{},"OpenZFSConfiguration":{"type":"structure","members":{"StorageCapacityReservationGiB":{"type":"integer"},"StorageCapacityQuotaGiB":{"type":"integer"},"DataCompressionType":{},"NfsExports":{"shape":"S31"},"UserAndGroupQuotas":{"shape":"S38"},"ReadOnly":{"type":"boolean"}}}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2d"}}}}},"shapes":{"S4":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"Name":{},"Lifecycle":{}}}},"Sj":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"So":{"type":"structure","required":["BackupId","Lifecycle","Type","CreationTime","FileSystem"],"members":{"BackupId":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Type":{},"ProgressPercent":{"type":"integer"},"CreationTime":{"type":"timestamp"},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sj"},"FileSystem":{"shape":"Sx"},"DirectoryInformation":{"type":"structure","members":{"DomainName":{},"ActiveDirectoryId":{},"ResourceARN":{}}},"OwnerId":{},"SourceBackupId":{},"SourceBackupRegion":{},"ResourceType":{},"Volume":{"shape":"S2d"}}},"Sx":{"type":"structure","members":{"OwnerId":{},"CreationTime":{"type":"timestamp"},"FileSystemId":{},"FileSystemType":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"StorageCapacity":{"type":"integer"},"StorageType":{},"VpcId":{},"SubnetIds":{"shape":"S15"},"NetworkInterfaceIds":{"type":"list","member":{}},"DNSName":{},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sj"},"WindowsConfiguration":{"type":"structure","members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S1c"},"DeploymentType":{},"RemoteAdministrationEndpoint":{},"PreferredSubnetId":{},"PreferredFileServerIp":{},"ThroughputCapacity":{"type":"integer"},"MaintenanceOperationsInProgress":{"type":"list","member":{}},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S7"},"AuditLogConfiguration":{"type":"structure","required":["FileAccessAuditLogLevel","FileShareAccessAuditLogLevel"],"members":{"FileAccessAuditLogLevel":{},"FileShareAccessAuditLogLevel":{},"AuditLogDestination":{}}}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DataRepositoryConfiguration":{"type":"structure","members":{"Lifecycle":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"AutoImportPolicy":{},"FailureDetails":{"shape":"S1z"}}},"DeploymentType":{},"PerUnitStorageThroughput":{"type":"integer"},"MountName":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{},"DataCompressionType":{},"LogConfiguration":{"type":"structure","required":["Level"],"members":{"Level":{},"Destination":{}}}}},"AdministrativeActions":{"shape":"S27"},"OntapConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"EndpointIpAddressRange":{},"Endpoints":{"type":"structure","members":{"Intercluster":{"shape":"S3j"},"Management":{"shape":"S3j"}}},"DiskIopsConfiguration":{"shape":"S3l"},"PreferredSubnetId":{},"RouteTableIds":{"shape":"S3o"},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{}}},"FileSystemTypeVersion":{},"OpenZFSConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"CopyTagsToVolumes":{"type":"boolean"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DiskIopsConfiguration":{"shape":"S3l"},"RootVolumeId":{}}}}},"S15":{"type":"list","member":{}},"S1c":{"type":"structure","members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"DnsIps":{"shape":"S1h"}}},"S1h":{"type":"list","member":{}},"S1z":{"type":"structure","members":{"Message":{}}},"S27":{"type":"list","member":{"type":"structure","members":{"AdministrativeActionType":{},"ProgressPercent":{"type":"integer"},"RequestTime":{"type":"timestamp"},"Status":{},"TargetFileSystemValues":{"shape":"Sx"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"TargetVolumeValues":{"shape":"S2d"},"TargetSnapshotValues":{"shape":"S3b"}}}},"S2d":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"FileSystemId":{},"Lifecycle":{},"Name":{},"OntapConfiguration":{"type":"structure","members":{"FlexCacheEndpointType":{},"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"StorageVirtualMachineId":{},"StorageVirtualMachineRoot":{"type":"boolean"},"TieringPolicy":{"shape":"S2m"},"UUID":{},"OntapVolumeType":{}}},"ResourceARN":{},"Tags":{"shape":"Sj"},"VolumeId":{},"VolumeType":{},"LifecycleTransitionReason":{"shape":"S2t"},"AdministrativeActions":{"shape":"S27"},"OpenZFSConfiguration":{"type":"structure","members":{"ParentVolumeId":{},"VolumePath":{},"StorageCapacityReservationGiB":{"type":"integer"},"StorageCapacityQuotaGiB":{"type":"integer"},"DataCompressionType":{},"CopyTagsToSnapshots":{"type":"boolean"},"OriginSnapshot":{"type":"structure","members":{"SnapshotARN":{},"CopyStrategy":{}}},"ReadOnly":{"type":"boolean"},"NfsExports":{"shape":"S31"},"UserAndGroupQuotas":{"shape":"S38"}}}}},"S2m":{"type":"structure","members":{"CoolingPeriod":{"type":"integer"},"Name":{}}},"S2t":{"type":"structure","members":{"Message":{}}},"S31":{"type":"list","member":{"type":"structure","required":["ClientConfigurations"],"members":{"ClientConfigurations":{"type":"list","member":{"type":"structure","required":["Clients","Options"],"members":{"Clients":{},"Options":{"type":"list","member":{}}}}}}}},"S38":{"type":"list","member":{"type":"structure","required":["Type","Id","StorageCapacityQuotaGiB"],"members":{"Type":{},"Id":{"type":"integer"},"StorageCapacityQuotaGiB":{"type":"integer"}}}},"S3b":{"type":"structure","members":{"ResourceARN":{},"SnapshotId":{},"Name":{},"VolumeId":{},"CreationTime":{"type":"timestamp"},"Lifecycle":{},"Tags":{"shape":"Sj"},"AdministrativeActions":{"shape":"S27"}}},"S3j":{"type":"structure","members":{"DNSName":{},"IpAddresses":{"shape":"S3k"}}},"S3k":{"type":"list","member":{}},"S3l":{"type":"structure","members":{"Mode":{},"Iops":{"type":"long"}}},"S3o":{"type":"list","member":{}},"S40":{"type":"structure","members":{"AutoImportPolicy":{"type":"structure","members":{"Events":{"shape":"S42"}}},"AutoExportPolicy":{"type":"structure","members":{"Events":{"shape":"S42"}}}}},"S42":{"type":"list","member":{}},"S46":{"type":"structure","members":{"AssociationId":{},"ResourceARN":{},"FileSystemId":{},"Lifecycle":{},"FailureDetails":{"shape":"S1z"},"FileSystemPath":{},"DataRepositoryPath":{},"BatchImportMetaDataOnCreate":{"type":"boolean"},"ImportedFileChunkSize":{"type":"integer"},"S3":{"shape":"S40"},"Tags":{"shape":"Sj"},"CreationTime":{"type":"timestamp"}}},"S4a":{"type":"list","member":{}},"S4c":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"},"Path":{},"Format":{},"Scope":{}}},"S4g":{"type":"structure","required":["TaskId","Lifecycle","Type","CreationTime","FileSystemId"],"members":{"TaskId":{},"Lifecycle":{},"Type":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"ResourceARN":{},"Tags":{"shape":"Sj"},"FileSystemId":{},"Paths":{"shape":"S4a"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Status":{"type":"structure","members":{"TotalCount":{"type":"long"},"SucceededCount":{"type":"long"},"FailedCount":{"type":"long"},"LastUpdatedTime":{"type":"timestamp"}}},"Report":{"shape":"S4c"}}},"S4q":{"type":"list","member":{}},"S4s":{"type":"structure","required":["ThroughputCapacity"],"members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S4t"},"DeploymentType":{},"PreferredSubnetId":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S4"},"AuditLogConfiguration":{"shape":"S4v"}}},"S4t":{"type":"structure","required":["DomainName","UserName","Password","DnsIps"],"members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"Password":{"shape":"S4u"},"DnsIps":{"shape":"S1h"}}},"S4u":{"type":"string","sensitive":true},"S4v":{"type":"structure","required":["FileAccessAuditLogLevel","FileShareAccessAuditLogLevel"],"members":{"FileAccessAuditLogLevel":{},"FileShareAccessAuditLogLevel":{},"AuditLogDestination":{}}},"S4w":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"DeploymentType":{},"AutoImportPolicy":{},"PerUnitStorageThroughput":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{},"DataCompressionType":{},"LogConfiguration":{"shape":"S4x"}}},"S4x":{"type":"structure","required":["Level"],"members":{"Level":{},"Destination":{}}},"S4z":{"type":"string","sensitive":true},"S50":{"type":"structure","required":["DeploymentType","ThroughputCapacity"],"members":{"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"CopyTagsToVolumes":{"type":"boolean"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DiskIopsConfiguration":{"shape":"S3l"},"RootVolumeConfiguration":{"type":"structure","members":{"DataCompressionType":{},"NfsExports":{"shape":"S31"},"UserAndGroupQuotas":{"shape":"S38"},"CopyTagsToSnapshots":{"type":"boolean"},"ReadOnly":{"type":"boolean"}}}}},"S5d":{"type":"structure","members":{"ActiveDirectoryConfiguration":{"type":"structure","members":{"NetBiosName":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S1c"}}},"CreationTime":{"type":"timestamp"},"Endpoints":{"type":"structure","members":{"Iscsi":{"shape":"S5g"},"Management":{"shape":"S5g"},"Nfs":{"shape":"S5g"},"Smb":{"shape":"S5g"}}},"FileSystemId":{},"Lifecycle":{},"Name":{},"ResourceARN":{},"StorageVirtualMachineId":{},"Subtype":{},"UUID":{},"Tags":{"shape":"Sj"},"LifecycleTransitionReason":{"shape":"S2t"},"RootVolumeSecurityStyle":{}}},"S5g":{"type":"structure","members":{"DNSName":{},"IpAddresses":{"shape":"S3k"}}},"S5k":{"type":"structure","required":["JunctionPath","SizeInMegabytes","StorageEfficiencyEnabled","StorageVirtualMachineId"],"members":{"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"StorageVirtualMachineId":{},"TieringPolicy":{"shape":"S2m"}}},"S6g":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S8j":{"type":"structure","members":{"UserName":{},"Password":{"shape":"S4u"},"DnsIps":{"shape":"S1h"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-03-01","endpointPrefix":"fsx","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon FSx","serviceId":"FSx","signatureVersion":"v4","signingName":"fsx","targetPrefix":"AWSSimbaAPIService_v20180301","uid":"fsx-2018-03-01"},"operations":{"AssociateFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId","Aliases"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Aliases":{"shape":"S4"}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"}}}},"CancelDataRepositoryTask":{"input":{"type":"structure","required":["TaskId"],"members":{"TaskId":{}}},"output":{"type":"structure","members":{"Lifecycle":{},"TaskId":{}}},"idempotent":true},"CopyBackup":{"input":{"type":"structure","required":["SourceBackupId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"SourceBackupId":{},"SourceRegion":{},"KmsKeyId":{},"CopyTags":{"type":"boolean"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Backup":{"shape":"So"}}},"idempotent":true},"CreateBackup":{"input":{"type":"structure","members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"},"VolumeId":{}}},"output":{"type":"structure","members":{"Backup":{"shape":"So"}}},"idempotent":true},"CreateDataRepositoryAssociation":{"input":{"type":"structure","required":["FileSystemId","FileSystemPath","DataRepositoryPath"],"members":{"FileSystemId":{},"FileSystemPath":{},"DataRepositoryPath":{},"BatchImportMetaDataOnCreate":{"type":"boolean"},"ImportedFileChunkSize":{"type":"integer"},"S3":{"shape":"S40"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Association":{"shape":"S46"}}},"idempotent":true},"CreateDataRepositoryTask":{"input":{"type":"structure","required":["Type","FileSystemId","Report"],"members":{"Type":{},"Paths":{"shape":"S4a"},"FileSystemId":{},"Report":{"shape":"S4c"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"DataRepositoryTask":{"shape":"S4g"}}},"idempotent":true},"CreateFileSystem":{"input":{"type":"structure","required":["FileSystemType","StorageCapacity","SubnetIds"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemType":{},"StorageCapacity":{"type":"integer"},"StorageType":{},"SubnetIds":{"shape":"S15"},"SecurityGroupIds":{"shape":"S4q"},"Tags":{"shape":"Sj"},"KmsKeyId":{},"WindowsConfiguration":{"shape":"S4s"},"LustreConfiguration":{"shape":"S4w"},"OntapConfiguration":{"type":"structure","required":["DeploymentType","ThroughputCapacity"],"members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"EndpointIpAddressRange":{},"FsxAdminPassword":{"shape":"S4z"},"DiskIopsConfiguration":{"shape":"S3l"},"PreferredSubnetId":{},"RouteTableIds":{"shape":"S3o"},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{}}},"FileSystemTypeVersion":{},"OpenZFSConfiguration":{"shape":"S50"}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"CreateFileSystemFromBackup":{"input":{"type":"structure","required":["BackupId","SubnetIds"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"SubnetIds":{"shape":"S15"},"SecurityGroupIds":{"shape":"S4q"},"Tags":{"shape":"Sj"},"WindowsConfiguration":{"shape":"S4s"},"LustreConfiguration":{"shape":"S4w"},"StorageType":{},"KmsKeyId":{},"FileSystemTypeVersion":{},"OpenZFSConfiguration":{"shape":"S50"}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"CreateSnapshot":{"input":{"type":"structure","required":["Name","VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"Name":{},"VolumeId":{},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Snapshot":{"shape":"S3b"}}},"idempotent":true},"CreateStorageVirtualMachine":{"input":{"type":"structure","required":["FileSystemId","Name"],"members":{"ActiveDirectoryConfiguration":{"type":"structure","required":["NetBiosName"],"members":{"NetBiosName":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S4t"}}},"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Name":{},"SvmAdminPassword":{"shape":"S4z"},"Tags":{"shape":"Sj"},"RootVolumeSecurityStyle":{}}},"output":{"type":"structure","members":{"StorageVirtualMachine":{"shape":"S5d"}}}},"CreateVolume":{"input":{"type":"structure","required":["VolumeType","Name"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeType":{},"Name":{},"OntapConfiguration":{"shape":"S5k"},"Tags":{"shape":"Sj"},"OpenZFSConfiguration":{"type":"structure","required":["ParentVolumeId"],"members":{"ParentVolumeId":{},"StorageCapacityReservationGiB":{"type":"integer"},"StorageCapacityQuotaGiB":{"type":"integer"},"DataCompressionType":{},"CopyTagsToSnapshots":{"type":"boolean"},"OriginSnapshot":{"type":"structure","required":["SnapshotARN","CopyStrategy"],"members":{"SnapshotARN":{},"CopyStrategy":{}}},"ReadOnly":{"type":"boolean"},"NfsExports":{"shape":"S31"},"UserAndGroupQuotas":{"shape":"S38"}}}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2d"}}}},"CreateVolumeFromBackup":{"input":{"type":"structure","required":["BackupId","Name"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"Name":{},"OntapConfiguration":{"shape":"S5k"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2d"}}}},"DeleteBackup":{"input":{"type":"structure","required":["BackupId"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"BackupId":{},"Lifecycle":{}}},"idempotent":true},"DeleteDataRepositoryAssociation":{"input":{"type":"structure","required":["AssociationId","DeleteDataInFileSystem"],"members":{"AssociationId":{},"ClientRequestToken":{"idempotencyToken":true},"DeleteDataInFileSystem":{"type":"boolean"}}},"output":{"type":"structure","members":{"AssociationId":{},"Lifecycle":{},"DeleteDataInFileSystem":{"type":"boolean"}}},"idempotent":true},"DeleteFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"WindowsConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}},"LustreConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}},"OpenZFSConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}}}},"output":{"type":"structure","members":{"FileSystemId":{},"Lifecycle":{},"WindowsResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}},"LustreResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}},"OpenZFSResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}}}},"idempotent":true},"DeleteSnapshot":{"input":{"type":"structure","required":["SnapshotId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"SnapshotId":{}}},"output":{"type":"structure","members":{"SnapshotId":{},"Lifecycle":{}}},"idempotent":true},"DeleteStorageVirtualMachine":{"input":{"type":"structure","required":["StorageVirtualMachineId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"StorageVirtualMachineId":{}}},"output":{"type":"structure","members":{"StorageVirtualMachineId":{},"Lifecycle":{}}}},"DeleteVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"OntapConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}},"OpenZFSConfiguration":{"type":"structure","members":{"Options":{"type":"list","member":{}}}}}},"output":{"type":"structure","members":{"VolumeId":{},"Lifecycle":{},"OntapResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}}}}},"DescribeBackups":{"input":{"type":"structure","members":{"BackupIds":{"type":"list","member":{}},"Filters":{"shape":"S6g"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Backups":{"type":"list","member":{"shape":"So"}},"NextToken":{}}}},"DescribeDataRepositoryAssociations":{"input":{"type":"structure","members":{"AssociationIds":{"type":"list","member":{}},"Filters":{"shape":"S6g"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"shape":"S46"}},"NextToken":{}}},"idempotent":true},"DescribeDataRepositoryTasks":{"input":{"type":"structure","members":{"TaskIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DataRepositoryTasks":{"type":"list","member":{"shape":"S4g"}},"NextToken":{}}}},"DescribeFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"},"NextToken":{}}}},"DescribeFileSystems":{"input":{"type":"structure","members":{"FileSystemIds":{"type":"list","member":{}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"FileSystems":{"type":"list","member":{"shape":"Sx"}},"NextToken":{}}}},"DescribeSnapshots":{"input":{"type":"structure","members":{"SnapshotIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Snapshots":{"type":"list","member":{"shape":"S3b"}},"NextToken":{}}}},"DescribeStorageVirtualMachines":{"input":{"type":"structure","members":{"StorageVirtualMachineIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"StorageVirtualMachines":{"type":"list","member":{"shape":"S5d"}},"NextToken":{}}}},"DescribeVolumes":{"input":{"type":"structure","members":{"VolumeIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Volumes":{"type":"list","member":{"shape":"S2d"}},"NextToken":{}}}},"DisassociateFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId","Aliases"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Aliases":{"shape":"S4"}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sj"},"NextToken":{}}}},"ReleaseFileSystemNfsV3Locks":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}},"idempotent":true},"RestoreVolumeFromSnapshot":{"input":{"type":"structure","required":["VolumeId","SnapshotId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"SnapshotId":{},"Options":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"VolumeId":{},"Lifecycle":{}}},"idempotent":true},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateDataRepositoryAssociation":{"input":{"type":"structure","required":["AssociationId"],"members":{"AssociationId":{},"ClientRequestToken":{"idempotencyToken":true},"ImportedFileChunkSize":{"type":"integer"},"S3":{"shape":"S40"}}},"output":{"type":"structure","members":{"Association":{"shape":"S46"}}},"idempotent":true},"UpdateFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"StorageCapacity":{"type":"integer"},"WindowsConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"ThroughputCapacity":{"type":"integer"},"SelfManagedActiveDirectoryConfiguration":{"shape":"S8j"},"AuditLogConfiguration":{"shape":"S4v"}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"AutoImportPolicy":{},"DataCompressionType":{},"LogConfiguration":{"shape":"S4x"}}},"OntapConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"FsxAdminPassword":{"shape":"S4z"},"WeeklyMaintenanceStartTime":{},"DiskIopsConfiguration":{"shape":"S3l"}}},"OpenZFSConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"CopyTagsToVolumes":{"type":"boolean"},"DailyAutomaticBackupStartTime":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DiskIopsConfiguration":{"shape":"S3l"}}}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"UpdateSnapshot":{"input":{"type":"structure","required":["Name","SnapshotId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"Name":{},"SnapshotId":{}}},"output":{"type":"structure","members":{"Snapshot":{"shape":"S3b"}}},"idempotent":true},"UpdateStorageVirtualMachine":{"input":{"type":"structure","required":["StorageVirtualMachineId"],"members":{"ActiveDirectoryConfiguration":{"type":"structure","members":{"SelfManagedActiveDirectoryConfiguration":{"shape":"S8j"}}},"ClientRequestToken":{"idempotencyToken":true},"StorageVirtualMachineId":{},"SvmAdminPassword":{"shape":"S4z"}}},"output":{"type":"structure","members":{"StorageVirtualMachine":{"shape":"S5d"}}}},"UpdateVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"OntapConfiguration":{"type":"structure","members":{"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"TieringPolicy":{"shape":"S2m"}}},"Name":{},"OpenZFSConfiguration":{"type":"structure","members":{"StorageCapacityReservationGiB":{"type":"integer"},"StorageCapacityQuotaGiB":{"type":"integer"},"DataCompressionType":{},"NfsExports":{"shape":"S31"},"UserAndGroupQuotas":{"shape":"S38"},"ReadOnly":{"type":"boolean"}}}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2d"}}}}},"shapes":{"S4":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"Name":{},"Lifecycle":{}}}},"Sj":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"So":{"type":"structure","required":["BackupId","Lifecycle","Type","CreationTime","FileSystem"],"members":{"BackupId":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Type":{},"ProgressPercent":{"type":"integer"},"CreationTime":{"type":"timestamp"},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sj"},"FileSystem":{"shape":"Sx"},"DirectoryInformation":{"type":"structure","members":{"DomainName":{},"ActiveDirectoryId":{},"ResourceARN":{}}},"OwnerId":{},"SourceBackupId":{},"SourceBackupRegion":{},"ResourceType":{},"Volume":{"shape":"S2d"}}},"Sx":{"type":"structure","members":{"OwnerId":{},"CreationTime":{"type":"timestamp"},"FileSystemId":{},"FileSystemType":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"StorageCapacity":{"type":"integer"},"StorageType":{},"VpcId":{},"SubnetIds":{"shape":"S15"},"NetworkInterfaceIds":{"type":"list","member":{}},"DNSName":{},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sj"},"WindowsConfiguration":{"type":"structure","members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S1c"},"DeploymentType":{},"RemoteAdministrationEndpoint":{},"PreferredSubnetId":{},"PreferredFileServerIp":{},"ThroughputCapacity":{"type":"integer"},"MaintenanceOperationsInProgress":{"type":"list","member":{}},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S7"},"AuditLogConfiguration":{"type":"structure","required":["FileAccessAuditLogLevel","FileShareAccessAuditLogLevel"],"members":{"FileAccessAuditLogLevel":{},"FileShareAccessAuditLogLevel":{},"AuditLogDestination":{}}}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DataRepositoryConfiguration":{"type":"structure","members":{"Lifecycle":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"AutoImportPolicy":{},"FailureDetails":{"shape":"S1z"}}},"DeploymentType":{},"PerUnitStorageThroughput":{"type":"integer"},"MountName":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{},"DataCompressionType":{},"LogConfiguration":{"type":"structure","required":["Level"],"members":{"Level":{},"Destination":{}}}}},"AdministrativeActions":{"shape":"S27"},"OntapConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"EndpointIpAddressRange":{},"Endpoints":{"type":"structure","members":{"Intercluster":{"shape":"S3j"},"Management":{"shape":"S3j"}}},"DiskIopsConfiguration":{"shape":"S3l"},"PreferredSubnetId":{},"RouteTableIds":{"shape":"S3o"},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{}}},"FileSystemTypeVersion":{},"OpenZFSConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"CopyTagsToVolumes":{"type":"boolean"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DiskIopsConfiguration":{"shape":"S3l"},"RootVolumeId":{}}}}},"S15":{"type":"list","member":{}},"S1c":{"type":"structure","members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"DnsIps":{"shape":"S1h"}}},"S1h":{"type":"list","member":{}},"S1z":{"type":"structure","members":{"Message":{}}},"S27":{"type":"list","member":{"type":"structure","members":{"AdministrativeActionType":{},"ProgressPercent":{"type":"integer"},"RequestTime":{"type":"timestamp"},"Status":{},"TargetFileSystemValues":{"shape":"Sx"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"TargetVolumeValues":{"shape":"S2d"},"TargetSnapshotValues":{"shape":"S3b"}}}},"S2d":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"FileSystemId":{},"Lifecycle":{},"Name":{},"OntapConfiguration":{"type":"structure","members":{"FlexCacheEndpointType":{},"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"StorageVirtualMachineId":{},"StorageVirtualMachineRoot":{"type":"boolean"},"TieringPolicy":{"shape":"S2m"},"UUID":{},"OntapVolumeType":{}}},"ResourceARN":{},"Tags":{"shape":"Sj"},"VolumeId":{},"VolumeType":{},"LifecycleTransitionReason":{"shape":"S2t"},"AdministrativeActions":{"shape":"S27"},"OpenZFSConfiguration":{"type":"structure","members":{"ParentVolumeId":{},"VolumePath":{},"StorageCapacityReservationGiB":{"type":"integer"},"StorageCapacityQuotaGiB":{"type":"integer"},"DataCompressionType":{},"CopyTagsToSnapshots":{"type":"boolean"},"OriginSnapshot":{"type":"structure","members":{"SnapshotARN":{},"CopyStrategy":{}}},"ReadOnly":{"type":"boolean"},"NfsExports":{"shape":"S31"},"UserAndGroupQuotas":{"shape":"S38"}}}}},"S2m":{"type":"structure","members":{"CoolingPeriod":{"type":"integer"},"Name":{}}},"S2t":{"type":"structure","members":{"Message":{}}},"S31":{"type":"list","member":{"type":"structure","required":["ClientConfigurations"],"members":{"ClientConfigurations":{"type":"list","member":{"type":"structure","required":["Clients","Options"],"members":{"Clients":{},"Options":{"type":"list","member":{}}}}}}}},"S38":{"type":"list","member":{"type":"structure","required":["Type","Id","StorageCapacityQuotaGiB"],"members":{"Type":{},"Id":{"type":"integer"},"StorageCapacityQuotaGiB":{"type":"integer"}}}},"S3b":{"type":"structure","members":{"ResourceARN":{},"SnapshotId":{},"Name":{},"VolumeId":{},"CreationTime":{"type":"timestamp"},"Lifecycle":{},"Tags":{"shape":"Sj"},"AdministrativeActions":{"shape":"S27"}}},"S3j":{"type":"structure","members":{"DNSName":{},"IpAddresses":{"shape":"S3k"}}},"S3k":{"type":"list","member":{}},"S3l":{"type":"structure","members":{"Mode":{},"Iops":{"type":"long"}}},"S3o":{"type":"list","member":{}},"S40":{"type":"structure","members":{"AutoImportPolicy":{"type":"structure","members":{"Events":{"shape":"S42"}}},"AutoExportPolicy":{"type":"structure","members":{"Events":{"shape":"S42"}}}}},"S42":{"type":"list","member":{}},"S46":{"type":"structure","members":{"AssociationId":{},"ResourceARN":{},"FileSystemId":{},"Lifecycle":{},"FailureDetails":{"shape":"S1z"},"FileSystemPath":{},"DataRepositoryPath":{},"BatchImportMetaDataOnCreate":{"type":"boolean"},"ImportedFileChunkSize":{"type":"integer"},"S3":{"shape":"S40"},"Tags":{"shape":"Sj"},"CreationTime":{"type":"timestamp"}}},"S4a":{"type":"list","member":{}},"S4c":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"},"Path":{},"Format":{},"Scope":{}}},"S4g":{"type":"structure","required":["TaskId","Lifecycle","Type","CreationTime","FileSystemId"],"members":{"TaskId":{},"Lifecycle":{},"Type":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"ResourceARN":{},"Tags":{"shape":"Sj"},"FileSystemId":{},"Paths":{"shape":"S4a"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Status":{"type":"structure","members":{"TotalCount":{"type":"long"},"SucceededCount":{"type":"long"},"FailedCount":{"type":"long"},"LastUpdatedTime":{"type":"timestamp"}}},"Report":{"shape":"S4c"}}},"S4q":{"type":"list","member":{}},"S4s":{"type":"structure","required":["ThroughputCapacity"],"members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S4t"},"DeploymentType":{},"PreferredSubnetId":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S4"},"AuditLogConfiguration":{"shape":"S4v"}}},"S4t":{"type":"structure","required":["DomainName","UserName","Password","DnsIps"],"members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"Password":{"shape":"S4u"},"DnsIps":{"shape":"S1h"}}},"S4u":{"type":"string","sensitive":true},"S4v":{"type":"structure","required":["FileAccessAuditLogLevel","FileShareAccessAuditLogLevel"],"members":{"FileAccessAuditLogLevel":{},"FileShareAccessAuditLogLevel":{},"AuditLogDestination":{}}},"S4w":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"DeploymentType":{},"AutoImportPolicy":{},"PerUnitStorageThroughput":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{},"DataCompressionType":{},"LogConfiguration":{"shape":"S4x"}}},"S4x":{"type":"structure","required":["Level"],"members":{"Level":{},"Destination":{}}},"S4z":{"type":"string","sensitive":true},"S50":{"type":"structure","required":["DeploymentType","ThroughputCapacity"],"members":{"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"CopyTagsToVolumes":{"type":"boolean"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DiskIopsConfiguration":{"shape":"S3l"},"RootVolumeConfiguration":{"type":"structure","members":{"DataCompressionType":{},"NfsExports":{"shape":"S31"},"UserAndGroupQuotas":{"shape":"S38"},"CopyTagsToSnapshots":{"type":"boolean"},"ReadOnly":{"type":"boolean"}}}}},"S5d":{"type":"structure","members":{"ActiveDirectoryConfiguration":{"type":"structure","members":{"NetBiosName":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S1c"}}},"CreationTime":{"type":"timestamp"},"Endpoints":{"type":"structure","members":{"Iscsi":{"shape":"S5g"},"Management":{"shape":"S5g"},"Nfs":{"shape":"S5g"},"Smb":{"shape":"S5g"}}},"FileSystemId":{},"Lifecycle":{},"Name":{},"ResourceARN":{},"StorageVirtualMachineId":{},"Subtype":{},"UUID":{},"Tags":{"shape":"Sj"},"LifecycleTransitionReason":{"shape":"S2t"},"RootVolumeSecurityStyle":{}}},"S5g":{"type":"structure","members":{"DNSName":{},"IpAddresses":{"shape":"S3k"}}},"S5k":{"type":"structure","required":["JunctionPath","SizeInMegabytes","StorageEfficiencyEnabled","StorageVirtualMachineId"],"members":{"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"StorageVirtualMachineId":{},"TieringPolicy":{"shape":"S2m"}}},"S6g":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S8j":{"type":"structure","members":{"UserName":{},"Password":{"shape":"S4u"},"DnsIps":{"shape":"S1h"}}}}} /***/ }), /* 694 */ @@ -50627,7 +50633,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 696 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-10-26","endpointPrefix":"securityhub","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS SecurityHub","serviceId":"SecurityHub","signatureVersion":"v4","signingName":"securityhub","uid":"securityhub-2018-10-26"},"operations":{"AcceptAdministratorInvitation":{"http":{"requestUri":"/administrator"},"input":{"type":"structure","required":["AdministratorId","InvitationId"],"members":{"AdministratorId":{},"InvitationId":{}}},"output":{"type":"structure","members":{}}},"AcceptInvitation":{"http":{"requestUri":"/master"},"input":{"type":"structure","required":["MasterId","InvitationId"],"members":{"MasterId":{},"InvitationId":{}}},"output":{"type":"structure","members":{}},"deprecated":true,"deprecatedMessage":"This API has been deprecated, use AcceptAdministratorInvitation API instead."},"BatchDisableStandards":{"http":{"requestUri":"/standards/deregister"},"input":{"type":"structure","required":["StandardsSubscriptionArns"],"members":{"StandardsSubscriptionArns":{"shape":"S7"}}},"output":{"type":"structure","members":{"StandardsSubscriptions":{"shape":"S9"}}}},"BatchEnableStandards":{"http":{"requestUri":"/standards/register"},"input":{"type":"structure","required":["StandardsSubscriptionRequests"],"members":{"StandardsSubscriptionRequests":{"type":"list","member":{"type":"structure","required":["StandardsArn"],"members":{"StandardsArn":{},"StandardsInput":{"shape":"Sb"}}}}}},"output":{"type":"structure","members":{"StandardsSubscriptions":{"shape":"S9"}}}},"BatchImportFindings":{"http":{"requestUri":"/findings/import"},"input":{"type":"structure","required":["Findings"],"members":{"Findings":{"type":"list","member":{"shape":"Sl"}}}},"output":{"type":"structure","required":["FailedCount","SuccessCount"],"members":{"FailedCount":{"type":"integer"},"SuccessCount":{"type":"integer"},"FailedFindings":{"type":"list","member":{"type":"structure","required":["Id","ErrorCode","ErrorMessage"],"members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"BatchUpdateFindings":{"http":{"method":"PATCH","requestUri":"/findings/batchupdate"},"input":{"type":"structure","required":["FindingIdentifiers"],"members":{"FindingIdentifiers":{"shape":"Sgh"},"Note":{"shape":"Sgj"},"Severity":{"type":"structure","members":{"Normalized":{"type":"integer"},"Product":{"type":"double"},"Label":{}}},"VerificationState":{},"Confidence":{"type":"integer"},"Criticality":{"type":"integer"},"Types":{"shape":"Sm"},"UserDefinedFields":{"shape":"St"},"Workflow":{"type":"structure","members":{"Status":{}}},"RelatedFindings":{"shape":"Sfh"}}},"output":{"type":"structure","required":["ProcessedFindings","UnprocessedFindings"],"members":{"ProcessedFindings":{"shape":"Sgh"},"UnprocessedFindings":{"type":"list","member":{"type":"structure","required":["FindingIdentifier","ErrorCode","ErrorMessage"],"members":{"FindingIdentifier":{"shape":"Sgi"},"ErrorCode":{},"ErrorMessage":{}}}}}}},"CreateActionTarget":{"http":{"requestUri":"/actionTargets"},"input":{"type":"structure","required":["Name","Description","Id"],"members":{"Name":{},"Description":{},"Id":{}}},"output":{"type":"structure","required":["ActionTargetArn"],"members":{"ActionTargetArn":{}}}},"CreateFindingAggregator":{"http":{"requestUri":"/findingAggregator/create"},"input":{"type":"structure","required":["RegionLinkingMode"],"members":{"RegionLinkingMode":{},"Regions":{"shape":"S15"}}},"output":{"type":"structure","members":{"FindingAggregatorArn":{},"FindingAggregationRegion":{},"RegionLinkingMode":{},"Regions":{"shape":"S15"}}}},"CreateInsight":{"http":{"requestUri":"/insights"},"input":{"type":"structure","required":["Name","Filters","GroupByAttribute"],"members":{"Name":{},"Filters":{"shape":"Sgu"},"GroupByAttribute":{}}},"output":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{}}}},"CreateMembers":{"http":{"requestUri":"/members"},"input":{"type":"structure","required":["AccountDetails"],"members":{"AccountDetails":{"type":"list","member":{"type":"structure","required":["AccountId"],"members":{"AccountId":{},"Email":{}}}}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shh"}}}},"DeclineInvitations":{"http":{"requestUri":"/invitations/decline"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shk"}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shh"}}}},"DeleteActionTarget":{"http":{"method":"DELETE","requestUri":"/actionTargets/{ActionTargetArn+}"},"input":{"type":"structure","required":["ActionTargetArn"],"members":{"ActionTargetArn":{"location":"uri","locationName":"ActionTargetArn"}}},"output":{"type":"structure","required":["ActionTargetArn"],"members":{"ActionTargetArn":{}}}},"DeleteFindingAggregator":{"http":{"method":"DELETE","requestUri":"/findingAggregator/delete/{FindingAggregatorArn+}"},"input":{"type":"structure","required":["FindingAggregatorArn"],"members":{"FindingAggregatorArn":{"location":"uri","locationName":"FindingAggregatorArn"}}},"output":{"type":"structure","members":{}}},"DeleteInsight":{"http":{"method":"DELETE","requestUri":"/insights/{InsightArn+}"},"input":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{"location":"uri","locationName":"InsightArn"}}},"output":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{}}}},"DeleteInvitations":{"http":{"requestUri":"/invitations/delete"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shk"}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shh"}}}},"DeleteMembers":{"http":{"requestUri":"/members/delete"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shk"}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shh"}}}},"DescribeActionTargets":{"http":{"requestUri":"/actionTargets/get"},"input":{"type":"structure","members":{"ActionTargetArns":{"shape":"Shx"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ActionTargets"],"members":{"ActionTargets":{"type":"list","member":{"type":"structure","required":["ActionTargetArn","Name","Description"],"members":{"ActionTargetArn":{},"Name":{},"Description":{}}}},"NextToken":{}}}},"DescribeHub":{"http":{"method":"GET","requestUri":"/accounts"},"input":{"type":"structure","members":{"HubArn":{"location":"querystring","locationName":"HubArn"}}},"output":{"type":"structure","members":{"HubArn":{},"SubscribedAt":{},"AutoEnableControls":{"type":"boolean"}}}},"DescribeOrganizationConfiguration":{"http":{"method":"GET","requestUri":"/organization/configuration"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"AutoEnable":{"type":"boolean"},"MemberAccountLimitReached":{"type":"boolean"}}}},"DescribeProducts":{"http":{"method":"GET","requestUri":"/products"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"ProductArn":{"location":"querystring","locationName":"ProductArn"}}},"output":{"type":"structure","required":["Products"],"members":{"Products":{"type":"list","member":{"type":"structure","required":["ProductArn"],"members":{"ProductArn":{},"ProductName":{},"CompanyName":{},"Description":{},"Categories":{"type":"list","member":{}},"IntegrationTypes":{"type":"list","member":{}},"MarketplaceUrl":{},"ActivationUrl":{},"ProductSubscriptionResourcePolicy":{}}}},"NextToken":{}}}},"DescribeStandards":{"http":{"method":"GET","requestUri":"/standards"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Standards":{"type":"list","member":{"type":"structure","members":{"StandardsArn":{},"Name":{},"Description":{},"EnabledByDefault":{"type":"boolean"}}}},"NextToken":{}}}},"DescribeStandardsControls":{"http":{"method":"GET","requestUri":"/standards/controls/{StandardsSubscriptionArn+}"},"input":{"type":"structure","required":["StandardsSubscriptionArn"],"members":{"StandardsSubscriptionArn":{"location":"uri","locationName":"StandardsSubscriptionArn"},"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Controls":{"type":"list","member":{"type":"structure","members":{"StandardsControlArn":{},"ControlStatus":{},"DisabledReason":{},"ControlStatusUpdatedAt":{"shape":"Sin"},"ControlId":{},"Title":{},"Description":{},"RemediationUrl":{},"SeverityRating":{},"RelatedRequirements":{"shape":"Sf9"}}}},"NextToken":{}}}},"DisableImportFindingsForProduct":{"http":{"method":"DELETE","requestUri":"/productSubscriptions/{ProductSubscriptionArn+}"},"input":{"type":"structure","required":["ProductSubscriptionArn"],"members":{"ProductSubscriptionArn":{"location":"uri","locationName":"ProductSubscriptionArn"}}},"output":{"type":"structure","members":{}}},"DisableOrganizationAdminAccount":{"http":{"requestUri":"/organization/admin/disable"},"input":{"type":"structure","required":["AdminAccountId"],"members":{"AdminAccountId":{}}},"output":{"type":"structure","members":{}}},"DisableSecurityHub":{"http":{"method":"DELETE","requestUri":"/accounts"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateFromAdministratorAccount":{"http":{"requestUri":"/administrator/disassociate"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateFromMasterAccount":{"http":{"requestUri":"/master/disassociate"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}},"deprecated":true,"deprecatedMessage":"This API has been deprecated, use DisassociateFromAdministratorAccount API instead."},"DisassociateMembers":{"http":{"requestUri":"/members/disassociate"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shk"}}},"output":{"type":"structure","members":{}}},"EnableImportFindingsForProduct":{"http":{"requestUri":"/productSubscriptions"},"input":{"type":"structure","required":["ProductArn"],"members":{"ProductArn":{}}},"output":{"type":"structure","members":{"ProductSubscriptionArn":{}}}},"EnableOrganizationAdminAccount":{"http":{"requestUri":"/organization/admin/enable"},"input":{"type":"structure","required":["AdminAccountId"],"members":{"AdminAccountId":{}}},"output":{"type":"structure","members":{}}},"EnableSecurityHub":{"http":{"requestUri":"/accounts"},"input":{"type":"structure","members":{"Tags":{"shape":"Sj6"},"EnableDefaultStandards":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"GetAdministratorAccount":{"http":{"method":"GET","requestUri":"/administrator"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Administrator":{"shape":"Sjc"}}}},"GetEnabledStandards":{"http":{"requestUri":"/standards/get"},"input":{"type":"structure","members":{"StandardsSubscriptionArns":{"shape":"S7"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"StandardsSubscriptions":{"shape":"S9"},"NextToken":{}}}},"GetFindingAggregator":{"http":{"method":"GET","requestUri":"/findingAggregator/get/{FindingAggregatorArn+}"},"input":{"type":"structure","required":["FindingAggregatorArn"],"members":{"FindingAggregatorArn":{"location":"uri","locationName":"FindingAggregatorArn"}}},"output":{"type":"structure","members":{"FindingAggregatorArn":{},"FindingAggregationRegion":{},"RegionLinkingMode":{},"Regions":{"shape":"S15"}}}},"GetFindings":{"http":{"requestUri":"/findings"},"input":{"type":"structure","members":{"Filters":{"shape":"Sgu"},"SortCriteria":{"type":"list","member":{"type":"structure","members":{"Field":{},"SortOrder":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["Findings"],"members":{"Findings":{"type":"list","member":{"shape":"Sl"}},"NextToken":{}}}},"GetInsightResults":{"http":{"method":"GET","requestUri":"/insights/results/{InsightArn+}"},"input":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{"location":"uri","locationName":"InsightArn"}}},"output":{"type":"structure","required":["InsightResults"],"members":{"InsightResults":{"type":"structure","required":["InsightArn","GroupByAttribute","ResultValues"],"members":{"InsightArn":{},"GroupByAttribute":{},"ResultValues":{"type":"list","member":{"type":"structure","required":["GroupByAttributeValue","Count"],"members":{"GroupByAttributeValue":{},"Count":{"type":"integer"}}}}}}}}},"GetInsights":{"http":{"requestUri":"/insights/get"},"input":{"type":"structure","members":{"InsightArns":{"shape":"Shx"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["Insights"],"members":{"Insights":{"type":"list","member":{"type":"structure","required":["InsightArn","Name","Filters","GroupByAttribute"],"members":{"InsightArn":{},"Name":{},"Filters":{"shape":"Sgu"},"GroupByAttribute":{}}}},"NextToken":{}}}},"GetInvitationsCount":{"http":{"method":"GET","requestUri":"/invitations/count"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"InvitationsCount":{"type":"integer"}}}},"GetMasterAccount":{"http":{"method":"GET","requestUri":"/master"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Master":{"shape":"Sjc"}}},"deprecated":true,"deprecatedMessage":"This API has been deprecated, use GetAdministratorAccount API instead."},"GetMembers":{"http":{"requestUri":"/members/get"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shk"}}},"output":{"type":"structure","members":{"Members":{"shape":"Sk2"},"UnprocessedAccounts":{"shape":"Shh"}}}},"InviteMembers":{"http":{"requestUri":"/members/invite"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shk"}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shh"}}}},"ListEnabledProductsForImport":{"http":{"method":"GET","requestUri":"/productSubscriptions"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"ProductSubscriptions":{"type":"list","member":{}},"NextToken":{}}}},"ListFindingAggregators":{"http":{"method":"GET","requestUri":"/findingAggregator/list"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"FindingAggregators":{"type":"list","member":{"type":"structure","members":{"FindingAggregatorArn":{}}}},"NextToken":{}}}},"ListInvitations":{"http":{"method":"GET","requestUri":"/invitations"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Invitations":{"type":"list","member":{"shape":"Sjc"}},"NextToken":{}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/members"},"input":{"type":"structure","members":{"OnlyAssociated":{"location":"querystring","locationName":"OnlyAssociated","type":"boolean"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Members":{"shape":"Sk2"},"NextToken":{}}}},"ListOrganizationAdminAccounts":{"http":{"method":"GET","requestUri":"/organization/admin"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"AdminAccounts":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"Status":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sj6"}}}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"Sj6"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateActionTarget":{"http":{"method":"PATCH","requestUri":"/actionTargets/{ActionTargetArn+}"},"input":{"type":"structure","required":["ActionTargetArn"],"members":{"ActionTargetArn":{"location":"uri","locationName":"ActionTargetArn"},"Name":{},"Description":{}}},"output":{"type":"structure","members":{}}},"UpdateFindingAggregator":{"http":{"method":"PATCH","requestUri":"/findingAggregator/update"},"input":{"type":"structure","required":["FindingAggregatorArn","RegionLinkingMode"],"members":{"FindingAggregatorArn":{},"RegionLinkingMode":{},"Regions":{"shape":"S15"}}},"output":{"type":"structure","members":{"FindingAggregatorArn":{},"FindingAggregationRegion":{},"RegionLinkingMode":{},"Regions":{"shape":"S15"}}}},"UpdateFindings":{"http":{"method":"PATCH","requestUri":"/findings"},"input":{"type":"structure","required":["Filters"],"members":{"Filters":{"shape":"Sgu"},"Note":{"shape":"Sgj"},"RecordState":{}}},"output":{"type":"structure","members":{}}},"UpdateInsight":{"http":{"method":"PATCH","requestUri":"/insights/{InsightArn+}"},"input":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{"location":"uri","locationName":"InsightArn"},"Name":{},"Filters":{"shape":"Sgu"},"GroupByAttribute":{}}},"output":{"type":"structure","members":{}}},"UpdateOrganizationConfiguration":{"http":{"requestUri":"/organization/configuration"},"input":{"type":"structure","required":["AutoEnable"],"members":{"AutoEnable":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"UpdateSecurityHubConfiguration":{"http":{"method":"PATCH","requestUri":"/accounts"},"input":{"type":"structure","members":{"AutoEnableControls":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"UpdateStandardsControl":{"http":{"method":"PATCH","requestUri":"/standards/control/{StandardsControlArn+}"},"input":{"type":"structure","required":["StandardsControlArn"],"members":{"StandardsControlArn":{"location":"uri","locationName":"StandardsControlArn"},"ControlStatus":{},"DisabledReason":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S7":{"type":"list","member":{}},"S9":{"type":"list","member":{"type":"structure","required":["StandardsSubscriptionArn","StandardsArn","StandardsInput","StandardsStatus"],"members":{"StandardsSubscriptionArn":{},"StandardsArn":{},"StandardsInput":{"shape":"Sb"},"StandardsStatus":{},"StandardsStatusReason":{"type":"structure","required":["StatusReasonCode"],"members":{"StatusReasonCode":{}}}}}},"Sb":{"type":"map","key":{},"value":{}},"Sl":{"type":"structure","required":["SchemaVersion","Id","ProductArn","GeneratorId","AwsAccountId","CreatedAt","UpdatedAt","Title","Description","Resources"],"members":{"SchemaVersion":{},"Id":{},"ProductArn":{},"ProductName":{},"CompanyName":{},"Region":{},"GeneratorId":{},"AwsAccountId":{},"Types":{"shape":"Sm"},"FirstObservedAt":{},"LastObservedAt":{},"CreatedAt":{},"UpdatedAt":{},"Severity":{"type":"structure","members":{"Product":{"type":"double"},"Label":{},"Normalized":{"type":"integer"},"Original":{}}},"Confidence":{"type":"integer"},"Criticality":{"type":"integer"},"Title":{},"Description":{},"Remediation":{"type":"structure","members":{"Recommendation":{"type":"structure","members":{"Text":{},"Url":{}}}}},"SourceUrl":{},"ProductFields":{"shape":"St"},"UserDefinedFields":{"shape":"St"},"Malware":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Type":{},"Path":{},"State":{}}}},"Network":{"type":"structure","members":{"Direction":{},"Protocol":{},"OpenPortRange":{"shape":"S10"},"SourceIpV4":{},"SourceIpV6":{},"SourcePort":{"type":"integer"},"SourceDomain":{},"SourceMac":{},"DestinationIpV4":{},"DestinationIpV6":{},"DestinationPort":{"type":"integer"},"DestinationDomain":{}}},"NetworkPath":{"type":"list","member":{"type":"structure","members":{"ComponentId":{},"ComponentType":{},"Egress":{"shape":"S13"},"Ingress":{"shape":"S13"}}}},"Process":{"type":"structure","members":{"Name":{},"Path":{},"Pid":{"type":"integer"},"ParentPid":{"type":"integer"},"LaunchedAt":{},"TerminatedAt":{}}},"ThreatIntelIndicators":{"type":"list","member":{"type":"structure","members":{"Type":{},"Value":{},"Category":{},"LastObservedAt":{},"Source":{},"SourceUrl":{}}}},"Resources":{"type":"list","member":{"type":"structure","required":["Type","Id"],"members":{"Type":{},"Id":{},"Partition":{},"Region":{},"ResourceRole":{},"Tags":{"shape":"St"},"DataClassification":{"type":"structure","members":{"DetailedResultsLocation":{},"Result":{"type":"structure","members":{"MimeType":{},"SizeClassified":{"type":"long"},"AdditionalOccurrences":{"type":"boolean"},"Status":{"type":"structure","members":{"Code":{},"Reason":{}}},"SensitiveData":{"type":"list","member":{"type":"structure","members":{"Category":{},"Detections":{"type":"list","member":{"type":"structure","members":{"Count":{"type":"long"},"Type":{},"Occurrences":{"shape":"S1o"}}}},"TotalCount":{"type":"long"}}}},"CustomDataIdentifiers":{"type":"structure","members":{"Detections":{"type":"list","member":{"type":"structure","members":{"Count":{"type":"long"},"Arn":{},"Name":{},"Occurrences":{"shape":"S1o"}}}},"TotalCount":{"type":"long"}}}}}}},"Details":{"type":"structure","members":{"AwsAutoScalingAutoScalingGroup":{"type":"structure","members":{"LaunchConfigurationName":{},"LoadBalancerNames":{"shape":"S15"},"HealthCheckType":{},"HealthCheckGracePeriod":{"type":"integer"},"CreatedTime":{},"MixedInstancesPolicy":{"type":"structure","members":{"InstancesDistribution":{"type":"structure","members":{"OnDemandAllocationStrategy":{},"OnDemandBaseCapacity":{"type":"integer"},"OnDemandPercentageAboveBaseCapacity":{"type":"integer"},"SpotAllocationStrategy":{},"SpotInstancePools":{"type":"integer"},"SpotMaxPrice":{}}},"LaunchTemplate":{"type":"structure","members":{"LaunchTemplateSpecification":{"type":"structure","members":{"LaunchTemplateId":{},"LaunchTemplateName":{},"Version":{}}},"Overrides":{"type":"list","member":{"type":"structure","members":{"InstanceType":{},"WeightedCapacity":{}}}}}}}},"AvailabilityZones":{"type":"list","member":{"type":"structure","members":{"Value":{}}}}}},"AwsCodeBuildProject":{"type":"structure","members":{"EncryptionKey":{},"Artifacts":{"type":"list","member":{"type":"structure","members":{"ArtifactIdentifier":{},"EncryptionDisabled":{"type":"boolean"},"Location":{},"Name":{},"NamespaceType":{},"OverrideArtifactName":{"type":"boolean"},"Packaging":{},"Path":{},"Type":{}}}},"Environment":{"type":"structure","members":{"Certificate":{},"EnvironmentVariables":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"Value":{}}}},"PrivilegedMode":{"type":"boolean"},"ImagePullCredentialsType":{},"RegistryCredential":{"type":"structure","members":{"Credential":{},"CredentialProvider":{}}},"Type":{}}},"Name":{},"Source":{"type":"structure","members":{"Type":{},"Location":{},"GitCloneDepth":{"type":"integer"},"InsecureSsl":{"type":"boolean"}}},"ServiceRole":{},"LogsConfig":{"type":"structure","members":{"CloudWatchLogs":{"type":"structure","members":{"GroupName":{},"Status":{},"StreamName":{}}},"S3Logs":{"type":"structure","members":{"EncryptionDisabled":{"type":"boolean"},"Location":{},"Status":{}}}}},"VpcConfig":{"type":"structure","members":{"VpcId":{},"Subnets":{"shape":"S2m"},"SecurityGroupIds":{"shape":"S2m"}}}}},"AwsCloudFrontDistribution":{"type":"structure","members":{"CacheBehaviors":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"ViewerProtocolPolicy":{}}}}}},"DefaultCacheBehavior":{"type":"structure","members":{"ViewerProtocolPolicy":{}}},"DefaultRootObject":{},"DomainName":{},"ETag":{},"LastModifiedTime":{},"Logging":{"type":"structure","members":{"Bucket":{},"Enabled":{"type":"boolean"},"IncludeCookies":{"type":"boolean"},"Prefix":{}}},"Origins":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"Id":{},"OriginPath":{},"S3OriginConfig":{"type":"structure","members":{"OriginAccessIdentity":{}}}}}}}},"OriginGroups":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"FailoverCriteria":{"type":"structure","members":{"StatusCodes":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"integer"}},"Quantity":{"type":"integer"}}}}}}}}}},"ViewerCertificate":{"type":"structure","members":{"AcmCertificateArn":{},"Certificate":{},"CertificateSource":{},"CloudFrontDefaultCertificate":{"type":"boolean"},"IamCertificateId":{},"MinimumProtocolVersion":{},"SslSupportMethod":{}}},"Status":{},"WebAclId":{}}},"AwsEc2Instance":{"type":"structure","members":{"Type":{},"ImageId":{},"IpV4Addresses":{"shape":"S15"},"IpV6Addresses":{"shape":"S15"},"KeyName":{},"IamInstanceProfileArn":{},"VpcId":{},"SubnetId":{},"LaunchedAt":{},"NetworkInterfaces":{"type":"list","member":{"type":"structure","members":{"NetworkInterfaceId":{}}}}}},"AwsEc2NetworkInterface":{"type":"structure","members":{"Attachment":{"type":"structure","members":{"AttachTime":{},"AttachmentId":{},"DeleteOnTermination":{"type":"boolean"},"DeviceIndex":{"type":"integer"},"InstanceId":{},"InstanceOwnerId":{},"Status":{}}},"NetworkInterfaceId":{},"SecurityGroups":{"type":"list","member":{"type":"structure","members":{"GroupName":{},"GroupId":{}}}},"SourceDestCheck":{"type":"boolean"},"IpV6Addresses":{"type":"list","member":{"type":"structure","members":{"IpV6Address":{}}}},"PrivateIpAddresses":{"type":"list","member":{"type":"structure","members":{"PrivateIpAddress":{},"PrivateDnsName":{}}}},"PublicDnsName":{},"PublicIp":{}}},"AwsEc2SecurityGroup":{"type":"structure","members":{"GroupName":{},"GroupId":{},"OwnerId":{},"VpcId":{},"IpPermissions":{"shape":"S3g"},"IpPermissionsEgress":{"shape":"S3g"}}},"AwsEc2Volume":{"type":"structure","members":{"CreateTime":{},"Encrypted":{"type":"boolean"},"Size":{"type":"integer"},"SnapshotId":{},"Status":{},"KmsKeyId":{},"Attachments":{"type":"list","member":{"type":"structure","members":{"AttachTime":{},"DeleteOnTermination":{"type":"boolean"},"InstanceId":{},"Status":{}}}}}},"AwsEc2Vpc":{"type":"structure","members":{"CidrBlockAssociationSet":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"CidrBlock":{},"CidrBlockState":{}}}},"Ipv6CidrBlockAssociationSet":{"shape":"S3w"},"DhcpOptionsId":{},"State":{}}},"AwsEc2Eip":{"type":"structure","members":{"InstanceId":{},"PublicIp":{},"AllocationId":{},"AssociationId":{},"Domain":{},"PublicIpv4Pool":{},"NetworkBorderGroup":{},"NetworkInterfaceId":{},"NetworkInterfaceOwnerId":{},"PrivateIpAddress":{}}},"AwsEc2Subnet":{"type":"structure","members":{"AssignIpv6AddressOnCreation":{"type":"boolean"},"AvailabilityZone":{},"AvailabilityZoneId":{},"AvailableIpAddressCount":{"type":"integer"},"CidrBlock":{},"DefaultForAz":{"type":"boolean"},"MapPublicIpOnLaunch":{"type":"boolean"},"OwnerId":{},"State":{},"SubnetArn":{},"SubnetId":{},"VpcId":{},"Ipv6CidrBlockAssociationSet":{"shape":"S3w"}}},"AwsEc2NetworkAcl":{"type":"structure","members":{"IsDefault":{"type":"boolean"},"NetworkAclId":{},"OwnerId":{},"VpcId":{},"Associations":{"type":"list","member":{"type":"structure","members":{"NetworkAclAssociationId":{},"NetworkAclId":{},"SubnetId":{}}}},"Entries":{"type":"list","member":{"type":"structure","members":{"CidrBlock":{},"Egress":{"type":"boolean"},"IcmpTypeCode":{"type":"structure","members":{"Code":{"type":"integer"},"Type":{"type":"integer"}}},"Ipv6CidrBlock":{},"PortRange":{"type":"structure","members":{"From":{"type":"integer"},"To":{"type":"integer"}}},"Protocol":{},"RuleAction":{},"RuleNumber":{"type":"integer"}}}}}},"AwsElbv2LoadBalancer":{"type":"structure","members":{"AvailabilityZones":{"type":"list","member":{"type":"structure","members":{"ZoneName":{},"SubnetId":{}}}},"CanonicalHostedZoneId":{},"CreatedTime":{},"DNSName":{},"IpAddressType":{},"Scheme":{},"SecurityGroups":{"type":"list","member":{}},"State":{"type":"structure","members":{"Code":{},"Reason":{}}},"Type":{},"VpcId":{},"LoadBalancerAttributes":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}}}},"AwsElasticBeanstalkEnvironment":{"type":"structure","members":{"ApplicationName":{},"Cname":{},"DateCreated":{},"DateUpdated":{},"Description":{},"EndpointUrl":{},"EnvironmentArn":{},"EnvironmentId":{},"EnvironmentLinks":{"type":"list","member":{"type":"structure","members":{"EnvironmentName":{},"LinkName":{}}}},"EnvironmentName":{},"OptionSettings":{"type":"list","member":{"type":"structure","members":{"Namespace":{},"OptionName":{},"ResourceName":{},"Value":{}}}},"PlatformArn":{},"SolutionStackName":{},"Status":{},"Tier":{"type":"structure","members":{"Name":{},"Type":{},"Version":{}}},"VersionLabel":{}}},"AwsElasticsearchDomain":{"type":"structure","members":{"AccessPolicies":{},"DomainEndpointOptions":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{}}},"DomainId":{},"DomainName":{},"Endpoint":{},"Endpoints":{"shape":"St"},"ElasticsearchVersion":{},"ElasticsearchClusterConfig":{"type":"structure","members":{"DedicatedMasterCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"DedicatedMasterType":{},"InstanceCount":{"type":"integer"},"InstanceType":{},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"ZoneAwarenessEnabled":{"type":"boolean"}}},"EncryptionAtRestOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"LogPublishingOptions":{"type":"structure","members":{"IndexSlowLogs":{"shape":"S4q"},"SearchSlowLogs":{"shape":"S4q"},"AuditLogs":{"shape":"S4q"}}},"NodeToNodeEncryptionOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"ServiceSoftwareOptions":{"type":"structure","members":{"AutomatedUpdateDate":{},"Cancellable":{"type":"boolean"},"CurrentVersion":{},"Description":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"UpdateStatus":{}}},"VPCOptions":{"type":"structure","members":{"AvailabilityZones":{"shape":"S2m"},"SecurityGroupIds":{"shape":"S2m"},"SubnetIds":{"shape":"S2m"},"VPCId":{}}}}},"AwsS3Bucket":{"type":"structure","members":{"OwnerId":{},"OwnerName":{},"OwnerAccountId":{},"CreatedAt":{},"ServerSideEncryptionConfiguration":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"ApplyServerSideEncryptionByDefault":{"type":"structure","members":{"SSEAlgorithm":{},"KMSMasterKeyID":{}}}}}}}},"BucketLifecycleConfiguration":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"AbortIncompleteMultipartUpload":{"type":"structure","members":{"DaysAfterInitiation":{"type":"integer"}}},"ExpirationDate":{},"ExpirationInDays":{"type":"integer"},"ExpiredObjectDeleteMarker":{"type":"boolean"},"Filter":{"type":"structure","members":{"Predicate":{"type":"structure","members":{"Operands":{"type":"list","member":{"type":"structure","members":{"Prefix":{},"Tag":{"type":"structure","members":{"Key":{},"Value":{}}},"Type":{}}}},"Prefix":{},"Tag":{"type":"structure","members":{"Key":{},"Value":{}}},"Type":{}}}}},"ID":{},"NoncurrentVersionExpirationInDays":{"type":"integer"},"NoncurrentVersionTransitions":{"type":"list","member":{"type":"structure","members":{"Days":{"type":"integer"},"StorageClass":{}}}},"Prefix":{},"Status":{},"Transitions":{"type":"list","member":{"type":"structure","members":{"Date":{},"Days":{"type":"integer"},"StorageClass":{}}}}}}}}},"PublicAccessBlockConfiguration":{"shape":"S5d"},"AccessControlList":{},"BucketLoggingConfiguration":{"type":"structure","members":{"DestinationBucketName":{},"LogFilePrefix":{}}},"BucketWebsiteConfiguration":{"type":"structure","members":{"ErrorDocument":{},"IndexDocumentSuffix":{},"RedirectAllRequestsTo":{"type":"structure","members":{"Hostname":{},"Protocol":{}}},"RoutingRules":{"type":"list","member":{"type":"structure","members":{"Condition":{"type":"structure","members":{"HttpErrorCodeReturnedEquals":{},"KeyPrefixEquals":{}}},"Redirect":{"type":"structure","members":{"Hostname":{},"HttpRedirectCode":{},"Protocol":{},"ReplaceKeyPrefixWith":{},"ReplaceKeyWith":{}}}}}}}},"BucketNotificationConfiguration":{"type":"structure","members":{"Configurations":{"type":"list","member":{"type":"structure","members":{"Events":{"type":"list","member":{}},"Filter":{"type":"structure","members":{"S3KeyFilter":{"type":"structure","members":{"FilterRules":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}}}}}},"Destination":{},"Type":{}}}}}},"BucketVersioningConfiguration":{"type":"structure","members":{"IsMfaDeleteEnabled":{"type":"boolean"},"Status":{}}}}},"AwsS3AccountPublicAccessBlock":{"shape":"S5d"},"AwsS3Object":{"type":"structure","members":{"LastModified":{},"ETag":{},"VersionId":{},"ContentType":{},"ServerSideEncryption":{},"SSEKMSKeyId":{}}},"AwsSecretsManagerSecret":{"type":"structure","members":{"RotationRules":{"type":"structure","members":{"AutomaticallyAfterDays":{"type":"integer"}}},"RotationOccurredWithinFrequency":{"type":"boolean"},"KmsKeyId":{},"RotationEnabled":{"type":"boolean"},"RotationLambdaArn":{},"Deleted":{"type":"boolean"},"Name":{},"Description":{}}},"AwsIamAccessKey":{"type":"structure","members":{"UserName":{"deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use PrincipalName."},"Status":{},"CreatedAt":{},"PrincipalId":{},"PrincipalType":{},"PrincipalName":{},"AccountId":{},"AccessKeyId":{},"SessionContext":{"type":"structure","members":{"Attributes":{"type":"structure","members":{"MfaAuthenticated":{"type":"boolean"},"CreationDate":{}}},"SessionIssuer":{"type":"structure","members":{"Type":{},"PrincipalId":{},"Arn":{},"AccountId":{},"UserName":{}}}}}}},"AwsIamUser":{"type":"structure","members":{"AttachedManagedPolicies":{"shape":"S64"},"CreateDate":{},"GroupList":{"shape":"S15"},"Path":{},"PermissionsBoundary":{"shape":"S66"},"UserId":{},"UserName":{},"UserPolicyList":{"type":"list","member":{"type":"structure","members":{"PolicyName":{}}}}}},"AwsIamPolicy":{"type":"structure","members":{"AttachmentCount":{"type":"integer"},"CreateDate":{},"DefaultVersionId":{},"Description":{},"IsAttachable":{"type":"boolean"},"Path":{},"PermissionsBoundaryUsageCount":{"type":"integer"},"PolicyId":{},"PolicyName":{},"PolicyVersionList":{"type":"list","member":{"type":"structure","members":{"VersionId":{},"IsDefaultVersion":{"type":"boolean"},"CreateDate":{}}}},"UpdateDate":{}}},"AwsApiGatewayV2Stage":{"type":"structure","members":{"ClientCertificateId":{},"CreatedDate":{},"Description":{},"DefaultRouteSettings":{"shape":"S6d"},"DeploymentId":{},"LastUpdatedDate":{},"RouteSettings":{"shape":"S6d"},"StageName":{},"StageVariables":{"shape":"St"},"AccessLogSettings":{"shape":"S6e"},"AutoDeploy":{"type":"boolean"},"LastDeploymentStatusMessage":{},"ApiGatewayManaged":{"type":"boolean"}}},"AwsApiGatewayV2Api":{"type":"structure","members":{"ApiEndpoint":{},"ApiId":{},"ApiKeySelectionExpression":{},"CreatedDate":{},"Description":{},"Version":{},"Name":{},"ProtocolType":{},"RouteSelectionExpression":{},"CorsConfiguration":{"type":"structure","members":{"AllowOrigins":{"shape":"S2m"},"AllowCredentials":{"type":"boolean"},"ExposeHeaders":{"shape":"S2m"},"MaxAge":{"type":"integer"},"AllowMethods":{"shape":"S2m"},"AllowHeaders":{"shape":"S2m"}}}}},"AwsDynamoDbTable":{"type":"structure","members":{"AttributeDefinitions":{"type":"list","member":{"type":"structure","members":{"AttributeName":{},"AttributeType":{}}}},"BillingModeSummary":{"type":"structure","members":{"BillingMode":{},"LastUpdateToPayPerRequestDateTime":{}}},"CreationDateTime":{},"GlobalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"Backfilling":{"type":"boolean"},"IndexArn":{},"IndexName":{},"IndexSizeBytes":{"type":"long"},"IndexStatus":{},"ItemCount":{"type":"integer"},"KeySchema":{"shape":"S6o"},"Projection":{"shape":"S6q"},"ProvisionedThroughput":{"shape":"S6r"}}}},"GlobalTableVersion":{},"ItemCount":{"type":"integer"},"KeySchema":{"shape":"S6o"},"LatestStreamArn":{},"LatestStreamLabel":{},"LocalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexArn":{},"IndexName":{},"KeySchema":{"shape":"S6o"},"Projection":{"shape":"S6q"}}}},"ProvisionedThroughput":{"shape":"S6r"},"Replicas":{"type":"list","member":{"type":"structure","members":{"GlobalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"ProvisionedThroughputOverride":{"shape":"S6y"}}}},"KmsMasterKeyId":{},"ProvisionedThroughputOverride":{"shape":"S6y"},"RegionName":{},"ReplicaStatus":{},"ReplicaStatusDescription":{}}}},"RestoreSummary":{"type":"structure","members":{"SourceBackupArn":{},"SourceTableArn":{},"RestoreDateTime":{},"RestoreInProgress":{"type":"boolean"}}},"SseDescription":{"type":"structure","members":{"InaccessibleEncryptionDateTime":{},"Status":{},"SseType":{},"KmsMasterKeyArn":{}}},"StreamSpecification":{"type":"structure","members":{"StreamEnabled":{"type":"boolean"},"StreamViewType":{}}},"TableId":{},"TableName":{},"TableSizeBytes":{"type":"long"},"TableStatus":{}}},"AwsApiGatewayStage":{"type":"structure","members":{"DeploymentId":{},"ClientCertificateId":{},"StageName":{},"Description":{},"CacheClusterEnabled":{"type":"boolean"},"CacheClusterSize":{},"CacheClusterStatus":{},"MethodSettings":{"type":"list","member":{"type":"structure","members":{"MetricsEnabled":{"type":"boolean"},"LoggingLevel":{},"DataTraceEnabled":{"type":"boolean"},"ThrottlingBurstLimit":{"type":"integer"},"ThrottlingRateLimit":{"type":"double"},"CachingEnabled":{"type":"boolean"},"CacheTtlInSeconds":{"type":"integer"},"CacheDataEncrypted":{"type":"boolean"},"RequireAuthorizationForCacheControl":{"type":"boolean"},"UnauthorizedCacheControlHeaderStrategy":{},"HttpMethod":{},"ResourcePath":{}}}},"Variables":{"shape":"St"},"DocumentationVersion":{},"AccessLogSettings":{"shape":"S6e"},"CanarySettings":{"type":"structure","members":{"PercentTraffic":{"type":"double"},"DeploymentId":{},"StageVariableOverrides":{"shape":"St"},"UseStageCache":{"type":"boolean"}}},"TracingEnabled":{"type":"boolean"},"CreatedDate":{},"LastUpdatedDate":{},"WebAclArn":{}}},"AwsApiGatewayRestApi":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"CreatedDate":{},"Version":{},"BinaryMediaTypes":{"shape":"S2m"},"MinimumCompressionSize":{"type":"integer"},"ApiKeySource":{},"EndpointConfiguration":{"type":"structure","members":{"Types":{"shape":"S2m"}}}}},"AwsCloudTrailTrail":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"CloudWatchLogsRoleArn":{},"HasCustomEventSelectors":{"type":"boolean"},"HomeRegion":{},"IncludeGlobalServiceEvents":{"type":"boolean"},"IsMultiRegionTrail":{"type":"boolean"},"IsOrganizationTrail":{"type":"boolean"},"KmsKeyId":{},"LogFileValidationEnabled":{"type":"boolean"},"Name":{},"S3BucketName":{},"S3KeyPrefix":{},"SnsTopicArn":{},"SnsTopicName":{},"TrailArn":{}}},"AwsSsmPatchCompliance":{"type":"structure","members":{"Patch":{"type":"structure","members":{"ComplianceSummary":{"type":"structure","members":{"Status":{},"CompliantCriticalCount":{"type":"integer"},"CompliantHighCount":{"type":"integer"},"CompliantMediumCount":{"type":"integer"},"ExecutionType":{},"NonCompliantCriticalCount":{"type":"integer"},"CompliantInformationalCount":{"type":"integer"},"NonCompliantInformationalCount":{"type":"integer"},"CompliantUnspecifiedCount":{"type":"integer"},"NonCompliantLowCount":{"type":"integer"},"NonCompliantHighCount":{"type":"integer"},"CompliantLowCount":{"type":"integer"},"ComplianceType":{},"PatchBaselineId":{},"OverallSeverity":{},"NonCompliantMediumCount":{"type":"integer"},"NonCompliantUnspecifiedCount":{"type":"integer"},"PatchGroup":{}}}}}}},"AwsCertificateManagerCertificate":{"type":"structure","members":{"CertificateAuthorityArn":{},"CreatedAt":{},"DomainName":{},"DomainValidationOptions":{"shape":"S7d"},"ExtendedKeyUsages":{"type":"list","member":{"type":"structure","members":{"Name":{},"OId":{}}}},"FailureReason":{},"ImportedAt":{},"InUseBy":{"shape":"S15"},"IssuedAt":{},"Issuer":{},"KeyAlgorithm":{},"KeyUsages":{"type":"list","member":{"type":"structure","members":{"Name":{}}}},"NotAfter":{},"NotBefore":{},"Options":{"type":"structure","members":{"CertificateTransparencyLoggingPreference":{}}},"RenewalEligibility":{},"RenewalSummary":{"type":"structure","members":{"DomainValidationOptions":{"shape":"S7d"},"RenewalStatus":{},"RenewalStatusReason":{},"UpdatedAt":{}}},"Serial":{},"SignatureAlgorithm":{},"Status":{},"Subject":{},"SubjectAlternativeNames":{"shape":"S15"},"Type":{}}},"AwsRedshiftCluster":{"type":"structure","members":{"AllowVersionUpgrade":{"type":"boolean"},"AutomatedSnapshotRetentionPeriod":{"type":"integer"},"AvailabilityZone":{},"ClusterAvailabilityStatus":{},"ClusterCreateTime":{},"ClusterIdentifier":{},"ClusterNodes":{"type":"list","member":{"type":"structure","members":{"NodeRole":{},"PrivateIpAddress":{},"PublicIpAddress":{}}}},"ClusterParameterGroups":{"type":"list","member":{"type":"structure","members":{"ClusterParameterStatusList":{"type":"list","member":{"type":"structure","members":{"ParameterName":{},"ParameterApplyStatus":{},"ParameterApplyErrorDescription":{}}}},"ParameterApplyStatus":{},"ParameterGroupName":{}}}},"ClusterPublicKey":{},"ClusterRevisionNumber":{},"ClusterSecurityGroups":{"type":"list","member":{"type":"structure","members":{"ClusterSecurityGroupName":{},"Status":{}}}},"ClusterSnapshotCopyStatus":{"type":"structure","members":{"DestinationRegion":{},"ManualSnapshotRetentionPeriod":{"type":"integer"},"RetentionPeriod":{"type":"integer"},"SnapshotCopyGrantName":{}}},"ClusterStatus":{},"ClusterSubnetGroupName":{},"ClusterVersion":{},"DBName":{},"DeferredMaintenanceWindows":{"type":"list","member":{"type":"structure","members":{"DeferMaintenanceEndTime":{},"DeferMaintenanceIdentifier":{},"DeferMaintenanceStartTime":{}}}},"ElasticIpStatus":{"type":"structure","members":{"ElasticIp":{},"Status":{}}},"ElasticResizeNumberOfNodeOptions":{},"Encrypted":{"type":"boolean"},"Endpoint":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"}}},"EnhancedVpcRouting":{"type":"boolean"},"ExpectedNextSnapshotScheduleTime":{},"ExpectedNextSnapshotScheduleTimeStatus":{},"HsmStatus":{"type":"structure","members":{"HsmClientCertificateIdentifier":{},"HsmConfigurationIdentifier":{},"Status":{}}},"IamRoles":{"type":"list","member":{"type":"structure","members":{"ApplyStatus":{},"IamRoleArn":{}}}},"KmsKeyId":{},"MaintenanceTrackName":{},"ManualSnapshotRetentionPeriod":{"type":"integer"},"MasterUsername":{},"NextMaintenanceWindowStartTime":{},"NodeType":{},"NumberOfNodes":{"type":"integer"},"PendingActions":{"shape":"S15"},"PendingModifiedValues":{"type":"structure","members":{"AutomatedSnapshotRetentionPeriod":{"type":"integer"},"ClusterIdentifier":{},"ClusterType":{},"ClusterVersion":{},"EncryptionType":{},"EnhancedVpcRouting":{"type":"boolean"},"MaintenanceTrackName":{},"MasterUserPassword":{},"NodeType":{},"NumberOfNodes":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"}}},"PreferredMaintenanceWindow":{},"PubliclyAccessible":{"type":"boolean"},"ResizeInfo":{"type":"structure","members":{"AllowCancelResize":{"type":"boolean"},"ResizeType":{}}},"RestoreStatus":{"type":"structure","members":{"CurrentRestoreRateInMegaBytesPerSecond":{"type":"double"},"ElapsedTimeInSeconds":{"type":"long"},"EstimatedTimeToCompletionInSeconds":{"type":"long"},"ProgressInMegaBytes":{"type":"long"},"SnapshotSizeInMegaBytes":{"type":"long"},"Status":{}}},"SnapshotScheduleIdentifier":{},"SnapshotScheduleState":{},"VpcId":{},"VpcSecurityGroups":{"type":"list","member":{"type":"structure","members":{"Status":{},"VpcSecurityGroupId":{}}}}}},"AwsElbLoadBalancer":{"type":"structure","members":{"AvailabilityZones":{"shape":"S15"},"BackendServerDescriptions":{"type":"list","member":{"type":"structure","members":{"InstancePort":{"type":"integer"},"PolicyNames":{"shape":"S15"}}}},"CanonicalHostedZoneName":{},"CanonicalHostedZoneNameID":{},"CreatedTime":{},"DnsName":{},"HealthCheck":{"type":"structure","members":{"HealthyThreshold":{"type":"integer"},"Interval":{"type":"integer"},"Target":{},"Timeout":{"type":"integer"},"UnhealthyThreshold":{"type":"integer"}}},"Instances":{"type":"list","member":{"type":"structure","members":{"InstanceId":{}}}},"ListenerDescriptions":{"type":"list","member":{"type":"structure","members":{"Listener":{"type":"structure","members":{"InstancePort":{"type":"integer"},"InstanceProtocol":{},"LoadBalancerPort":{"type":"integer"},"Protocol":{},"SslCertificateId":{}}},"PolicyNames":{"shape":"S15"}}}},"LoadBalancerAttributes":{"type":"structure","members":{"AccessLog":{"type":"structure","members":{"EmitInterval":{"type":"integer"},"Enabled":{"type":"boolean"},"S3BucketName":{},"S3BucketPrefix":{}}},"ConnectionDraining":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Timeout":{"type":"integer"}}},"ConnectionSettings":{"type":"structure","members":{"IdleTimeout":{"type":"integer"}}},"CrossZoneLoadBalancing":{"type":"structure","members":{"Enabled":{"type":"boolean"}}}}},"LoadBalancerName":{},"Policies":{"type":"structure","members":{"AppCookieStickinessPolicies":{"type":"list","member":{"type":"structure","members":{"CookieName":{},"PolicyName":{}}}},"LbCookieStickinessPolicies":{"type":"list","member":{"type":"structure","members":{"CookieExpirationPeriod":{"type":"long"},"PolicyName":{}}}},"OtherPolicies":{"shape":"S15"}}},"Scheme":{},"SecurityGroups":{"shape":"S15"},"SourceSecurityGroup":{"type":"structure","members":{"GroupName":{},"OwnerAlias":{}}},"Subnets":{"shape":"S15"},"VpcId":{}}},"AwsIamGroup":{"type":"structure","members":{"AttachedManagedPolicies":{"shape":"S64"},"CreateDate":{},"GroupId":{},"GroupName":{},"GroupPolicyList":{"type":"list","member":{"type":"structure","members":{"PolicyName":{}}}},"Path":{}}},"AwsIamRole":{"type":"structure","members":{"AssumeRolePolicyDocument":{},"AttachedManagedPolicies":{"shape":"S64"},"CreateDate":{},"InstanceProfileList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreateDate":{},"InstanceProfileId":{},"InstanceProfileName":{},"Path":{},"Roles":{"type":"list","member":{"type":"structure","members":{"Arn":{},"AssumeRolePolicyDocument":{},"CreateDate":{},"Path":{},"RoleId":{},"RoleName":{}}}}}}},"PermissionsBoundary":{"shape":"S66"},"RoleId":{},"RoleName":{},"RolePolicyList":{"type":"list","member":{"type":"structure","members":{"PolicyName":{}}}},"MaxSessionDuration":{"type":"integer"},"Path":{}}},"AwsKmsKey":{"type":"structure","members":{"AWSAccountId":{},"CreationDate":{"type":"double"},"KeyId":{},"KeyManager":{},"KeyState":{},"Origin":{},"Description":{},"KeyRotationStatus":{"type":"boolean"}}},"AwsLambdaFunction":{"type":"structure","members":{"Code":{"type":"structure","members":{"S3Bucket":{},"S3Key":{},"S3ObjectVersion":{},"ZipFile":{}}},"CodeSha256":{},"DeadLetterConfig":{"type":"structure","members":{"TargetArn":{}}},"Environment":{"type":"structure","members":{"Variables":{"shape":"St"},"Error":{"type":"structure","members":{"ErrorCode":{},"Message":{}}}}},"FunctionName":{},"Handler":{},"KmsKeyArn":{},"LastModified":{},"Layers":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CodeSize":{"type":"integer"}}}},"MasterArn":{},"MemorySize":{"type":"integer"},"RevisionId":{},"Role":{},"Runtime":{},"Timeout":{"type":"integer"},"TracingConfig":{"type":"structure","members":{"Mode":{}}},"VpcConfig":{"type":"structure","members":{"SecurityGroupIds":{"shape":"S2m"},"SubnetIds":{"shape":"S2m"},"VpcId":{}}},"Version":{}}},"AwsLambdaLayerVersion":{"type":"structure","members":{"Version":{"type":"long"},"CompatibleRuntimes":{"shape":"S2m"},"CreatedDate":{}}},"AwsRdsDbInstance":{"type":"structure","members":{"AssociatedRoles":{"type":"list","member":{"type":"structure","members":{"RoleArn":{},"FeatureName":{},"Status":{}}}},"CACertificateIdentifier":{},"DBClusterIdentifier":{},"DBInstanceIdentifier":{},"DBInstanceClass":{},"DbInstancePort":{"type":"integer"},"DbiResourceId":{},"DBName":{},"DeletionProtection":{"type":"boolean"},"Endpoint":{"shape":"S9i"},"Engine":{},"EngineVersion":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"InstanceCreateTime":{},"KmsKeyId":{},"PubliclyAccessible":{"type":"boolean"},"StorageEncrypted":{"type":"boolean"},"TdeCredentialArn":{},"VpcSecurityGroups":{"shape":"S9j"},"MultiAz":{"type":"boolean"},"EnhancedMonitoringResourceArn":{},"DbInstanceStatus":{},"MasterUsername":{},"AllocatedStorage":{"type":"integer"},"PreferredBackupWindow":{},"BackupRetentionPeriod":{"type":"integer"},"DbSecurityGroups":{"shape":"S15"},"DbParameterGroups":{"type":"list","member":{"type":"structure","members":{"DbParameterGroupName":{},"ParameterApplyStatus":{}}}},"AvailabilityZone":{},"DbSubnetGroup":{"type":"structure","members":{"DbSubnetGroupName":{},"DbSubnetGroupDescription":{},"VpcId":{},"SubnetGroupStatus":{},"Subnets":{"type":"list","member":{"type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"type":"structure","members":{"Name":{}}},"SubnetStatus":{}}}},"DbSubnetGroupArn":{}}},"PreferredMaintenanceWindow":{},"PendingModifiedValues":{"type":"structure","members":{"DbInstanceClass":{},"AllocatedStorage":{"type":"integer"},"MasterUserPassword":{},"Port":{"type":"integer"},"BackupRetentionPeriod":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"LicenseModel":{},"Iops":{"type":"integer"},"DbInstanceIdentifier":{},"StorageType":{},"CaCertificateIdentifier":{},"DbSubnetGroupName":{},"PendingCloudWatchLogsExports":{"type":"structure","members":{"LogTypesToEnable":{"shape":"S15"},"LogTypesToDisable":{"shape":"S15"}}},"ProcessorFeatures":{"shape":"S9t"}}},"LatestRestorableTime":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"ReadReplicaSourceDBInstanceIdentifier":{},"ReadReplicaDBInstanceIdentifiers":{"shape":"S15"},"ReadReplicaDBClusterIdentifiers":{"shape":"S15"},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupMemberships":{"type":"list","member":{"type":"structure","members":{"OptionGroupName":{},"Status":{}}}},"CharacterSetName":{},"SecondaryAvailabilityZone":{},"StatusInfos":{"type":"list","member":{"type":"structure","members":{"StatusType":{},"Normal":{"type":"boolean"},"Status":{},"Message":{}}}},"StorageType":{},"DomainMemberships":{"shape":"S9z"},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"PromotionTier":{"type":"integer"},"Timezone":{},"PerformanceInsightsEnabled":{"type":"boolean"},"PerformanceInsightsKmsKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnabledCloudWatchLogsExports":{"shape":"S15"},"ProcessorFeatures":{"shape":"S9t"},"ListenerEndpoint":{"shape":"S9i"},"MaxAllocatedStorage":{"type":"integer"}}},"AwsSnsTopic":{"type":"structure","members":{"KmsMasterKeyId":{},"Subscription":{"type":"list","member":{"type":"structure","members":{"Endpoint":{},"Protocol":{}}}},"TopicName":{},"Owner":{}}},"AwsSqsQueue":{"type":"structure","members":{"KmsDataKeyReusePeriodSeconds":{"type":"integer"},"KmsMasterKeyId":{},"QueueName":{},"DeadLetterTargetArn":{}}},"AwsWafWebAcl":{"type":"structure","members":{"Name":{},"DefaultAction":{},"Rules":{"type":"list","member":{"type":"structure","members":{"Action":{"type":"structure","members":{"Type":{}}},"ExcludedRules":{"type":"list","member":{"type":"structure","members":{"RuleId":{}}}},"OverrideAction":{"type":"structure","members":{"Type":{}}},"Priority":{"type":"integer"},"RuleId":{},"Type":{}}}},"WebAclId":{}}},"AwsRdsDbSnapshot":{"type":"structure","members":{"DbSnapshotIdentifier":{},"DbInstanceIdentifier":{},"SnapshotCreateTime":{},"Engine":{},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"InstanceCreateTime":{},"MasterUsername":{},"EngineVersion":{},"LicenseModel":{},"SnapshotType":{},"Iops":{"type":"integer"},"OptionGroupName":{},"PercentProgress":{"type":"integer"},"SourceRegion":{},"SourceDbSnapshotIdentifier":{},"StorageType":{},"TdeCredentialArn":{},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"Timezone":{},"IamDatabaseAuthenticationEnabled":{"type":"boolean"},"ProcessorFeatures":{"shape":"S9t"},"DbiResourceId":{}}},"AwsRdsDbClusterSnapshot":{"type":"structure","members":{"AvailabilityZones":{"shape":"S15"},"SnapshotCreateTime":{},"Engine":{},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"VpcId":{},"ClusterCreateTime":{},"MasterUsername":{},"EngineVersion":{},"LicenseModel":{},"SnapshotType":{},"PercentProgress":{"type":"integer"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbClusterIdentifier":{},"DbClusterSnapshotIdentifier":{},"IamDatabaseAuthenticationEnabled":{"type":"boolean"}}},"AwsRdsDbCluster":{"type":"structure","members":{"AllocatedStorage":{"type":"integer"},"AvailabilityZones":{"shape":"S15"},"BackupRetentionPeriod":{"type":"integer"},"DatabaseName":{},"Status":{},"Endpoint":{},"ReaderEndpoint":{},"CustomEndpoints":{"shape":"S15"},"MultiAz":{"type":"boolean"},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"MasterUsername":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"ReadReplicaIdentifiers":{"shape":"S15"},"VpcSecurityGroups":{"shape":"S9j"},"HostedZoneId":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbClusterResourceId":{},"AssociatedRoles":{"type":"list","member":{"type":"structure","members":{"RoleArn":{},"Status":{}}}},"ClusterCreateTime":{},"EnabledCloudWatchLogsExports":{"shape":"S15"},"EngineMode":{},"DeletionProtection":{"type":"boolean"},"HttpEndpointEnabled":{"type":"boolean"},"ActivityStreamStatus":{},"CopyTagsToSnapshot":{"type":"boolean"},"CrossAccountClone":{"type":"boolean"},"DomainMemberships":{"shape":"S9z"},"DbClusterParameterGroup":{},"DbSubnetGroup":{},"DbClusterOptionGroupMemberships":{"type":"list","member":{"type":"structure","members":{"DbClusterOptionGroupName":{},"Status":{}}}},"DbClusterIdentifier":{},"DbClusterMembers":{"type":"list","member":{"type":"structure","members":{"IsClusterWriter":{"type":"boolean"},"PromotionTier":{"type":"integer"},"DbInstanceIdentifier":{},"DbClusterParameterGroupStatus":{}}}},"IamDatabaseAuthenticationEnabled":{"type":"boolean"}}},"AwsEcsCluster":{"type":"structure","members":{"CapacityProviders":{"shape":"S2m"},"ClusterSettings":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"Configuration":{"type":"structure","members":{"ExecuteCommandConfiguration":{"type":"structure","members":{"KmsKeyId":{},"LogConfiguration":{"type":"structure","members":{"CloudWatchEncryptionEnabled":{"type":"boolean"},"CloudWatchLogGroupName":{},"S3BucketName":{},"S3EncryptionEnabled":{"type":"boolean"},"S3KeyPrefix":{}}},"Logging":{}}}}},"DefaultCapacityProviderStrategy":{"type":"list","member":{"type":"structure","members":{"Base":{"type":"integer"},"CapacityProvider":{},"Weight":{"type":"integer"}}}}}},"AwsEcsTaskDefinition":{"type":"structure","members":{"ContainerDefinitions":{"type":"list","member":{"type":"structure","members":{"Command":{"shape":"S2m"},"Cpu":{"type":"integer"},"DependsOn":{"type":"list","member":{"type":"structure","members":{"Condition":{},"ContainerName":{}}}},"DisableNetworking":{"type":"boolean"},"DnsSearchDomains":{"shape":"S2m"},"DnsServers":{"shape":"S2m"},"DockerLabels":{"shape":"St"},"DockerSecurityOptions":{"shape":"S2m"},"EntryPoint":{"shape":"S2m"},"Environment":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"EnvironmentFiles":{"type":"list","member":{"type":"structure","members":{"Type":{},"Value":{}}}},"Essential":{"type":"boolean"},"ExtraHosts":{"type":"list","member":{"type":"structure","members":{"Hostname":{},"IpAddress":{}}}},"FirelensConfiguration":{"type":"structure","members":{"Options":{"shape":"St"},"Type":{}}},"HealthCheck":{"type":"structure","members":{"Command":{"shape":"S2m"},"Interval":{"type":"integer"},"Retries":{"type":"integer"},"StartPeriod":{"type":"integer"},"Timeout":{"type":"integer"}}},"Hostname":{},"Image":{},"Interactive":{"type":"boolean"},"Links":{"shape":"S2m"},"LinuxParameters":{"type":"structure","members":{"Capabilities":{"type":"structure","members":{"Add":{"shape":"S2m"},"Drop":{"shape":"S2m"}}},"Devices":{"type":"list","member":{"type":"structure","members":{"ContainerPath":{},"HostPath":{},"Permissions":{"shape":"S2m"}}}},"InitProcessEnabled":{"type":"boolean"},"MaxSwap":{"type":"integer"},"SharedMemorySize":{"type":"integer"},"Swappiness":{"type":"integer"},"Tmpfs":{"type":"list","member":{"type":"structure","members":{"ContainerPath":{},"MountOptions":{"shape":"S2m"},"Size":{"type":"integer"}}}}}},"LogConfiguration":{"type":"structure","members":{"LogDriver":{},"Options":{"shape":"St"},"SecretOptions":{"type":"list","member":{"type":"structure","members":{"Name":{},"ValueFrom":{}}}}}},"Memory":{"type":"integer"},"MemoryReservation":{"type":"integer"},"MountPoints":{"type":"list","member":{"type":"structure","members":{"ContainerPath":{},"ReadOnly":{"type":"boolean"},"SourceVolume":{}}}},"Name":{},"PortMappings":{"type":"list","member":{"type":"structure","members":{"ContainerPort":{"type":"integer"},"HostPort":{"type":"integer"},"Protocol":{}}}},"Privileged":{"type":"boolean"},"PseudoTerminal":{"type":"boolean"},"ReadonlyRootFilesystem":{"type":"boolean"},"RepositoryCredentials":{"type":"structure","members":{"CredentialsParameter":{}}},"ResourceRequirements":{"type":"list","member":{"type":"structure","members":{"Type":{},"Value":{}}}},"Secrets":{"type":"list","member":{"type":"structure","members":{"Name":{},"ValueFrom":{}}}},"StartTimeout":{"type":"integer"},"StopTimeout":{"type":"integer"},"SystemControls":{"type":"list","member":{"type":"structure","members":{"Namespace":{},"Value":{}}}},"Ulimits":{"type":"list","member":{"type":"structure","members":{"HardLimit":{"type":"integer"},"Name":{},"SoftLimit":{"type":"integer"}}}},"User":{},"VolumesFrom":{"type":"list","member":{"type":"structure","members":{"ReadOnly":{"type":"boolean"},"SourceContainer":{}}}},"WorkingDirectory":{}}}},"Cpu":{},"ExecutionRoleArn":{},"Family":{},"InferenceAccelerators":{"type":"list","member":{"type":"structure","members":{"DeviceName":{},"DeviceType":{}}}},"IpcMode":{},"Memory":{},"NetworkMode":{},"PidMode":{},"PlacementConstraints":{"type":"list","member":{"type":"structure","members":{"Expression":{},"Type":{}}}},"ProxyConfiguration":{"type":"structure","members":{"ContainerName":{},"ProxyConfigurationProperties":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"Type":{}}},"RequiresCompatibilities":{"shape":"S2m"},"TaskRoleArn":{},"Volumes":{"type":"list","member":{"type":"structure","members":{"DockerVolumeConfiguration":{"type":"structure","members":{"Autoprovision":{"type":"boolean"},"Driver":{},"DriverOpts":{"shape":"St"},"Labels":{"shape":"St"},"Scope":{}}},"EfsVolumeConfiguration":{"type":"structure","members":{"AuthorizationConfig":{"type":"structure","members":{"AccessPointId":{},"Iam":{}}},"FilesystemId":{},"RootDirectory":{},"TransitEncryption":{},"TransitEncryptionPort":{"type":"integer"}}},"Host":{"type":"structure","members":{"SourcePath":{}}},"Name":{}}}}}},"Container":{"type":"structure","members":{"Name":{},"ImageId":{},"ImageName":{},"LaunchedAt":{}}},"Other":{"shape":"St"},"AwsRdsEventSubscription":{"type":"structure","members":{"CustSubscriptionId":{},"CustomerAwsId":{},"Enabled":{"type":"boolean"},"EventCategoriesList":{"shape":"S2m"},"EventSubscriptionArn":{},"SnsTopicArn":{},"SourceIdsList":{"shape":"S2m"},"SourceType":{},"Status":{},"SubscriptionCreationTime":{}}},"AwsEcsService":{"type":"structure","members":{"CapacityProviderStrategy":{"type":"list","member":{"type":"structure","members":{"Base":{"type":"integer"},"CapacityProvider":{},"Weight":{"type":"integer"}}}},"Cluster":{},"DeploymentConfiguration":{"type":"structure","members":{"DeploymentCircuitBreaker":{"type":"structure","members":{"Enable":{"type":"boolean"},"Rollback":{"type":"boolean"}}},"MaximumPercent":{"type":"integer"},"MinimumHealthyPercent":{"type":"integer"}}},"DeploymentController":{"type":"structure","members":{"Type":{}}},"DesiredCount":{"type":"integer"},"EnableEcsManagedTags":{"type":"boolean"},"EnableExecuteCommand":{"type":"boolean"},"HealthCheckGracePeriodSeconds":{"type":"integer"},"LaunchType":{},"LoadBalancers":{"type":"list","member":{"type":"structure","members":{"ContainerName":{},"ContainerPort":{"type":"integer"},"LoadBalancerName":{},"TargetGroupArn":{}}}},"Name":{},"NetworkConfiguration":{"type":"structure","members":{"AwsVpcConfiguration":{"type":"structure","members":{"AssignPublicIp":{},"SecurityGroups":{"shape":"S2m"},"Subnets":{"shape":"S2m"}}}}},"PlacementConstraints":{"type":"list","member":{"type":"structure","members":{"Expression":{},"Type":{}}}},"PlacementStrategies":{"type":"list","member":{"type":"structure","members":{"Field":{},"Type":{}}}},"PlatformVersion":{},"PropagateTags":{},"Role":{},"SchedulingStrategy":{},"ServiceArn":{},"ServiceName":{},"ServiceRegistries":{"type":"list","member":{"type":"structure","members":{"ContainerName":{},"ContainerPort":{"type":"integer"},"Port":{"type":"integer"},"RegistryArn":{}}}},"TaskDefinition":{}}},"AwsAutoScalingLaunchConfiguration":{"type":"structure","members":{"AssociatePublicIpAddress":{"type":"boolean"},"BlockDeviceMappings":{"type":"list","member":{"type":"structure","members":{"DeviceName":{},"Ebs":{"type":"structure","members":{"DeleteOnTermination":{"type":"boolean"},"Encrypted":{"type":"boolean"},"Iops":{"type":"integer"},"SnapshotId":{},"VolumeSize":{"type":"integer"},"VolumeType":{}}},"NoDevice":{"type":"boolean"},"VirtualName":{}}}},"ClassicLinkVpcId":{},"ClassicLinkVpcSecurityGroups":{"shape":"S2m"},"CreatedTime":{},"EbsOptimized":{"type":"boolean"},"IamInstanceProfile":{},"ImageId":{},"InstanceMonitoring":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"InstanceType":{},"KernelId":{},"KeyName":{},"LaunchConfigurationName":{},"PlacementTenancy":{},"RamdiskId":{},"SecurityGroups":{"shape":"S2m"},"SpotPrice":{},"UserData":{},"MetadataOptions":{"type":"structure","members":{"HttpEndpoint":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpTokens":{}}}}},"AwsEc2VpnConnection":{"type":"structure","members":{"VpnConnectionId":{},"State":{},"CustomerGatewayId":{},"CustomerGatewayConfiguration":{},"Type":{},"VpnGatewayId":{},"Category":{},"VgwTelemetry":{"type":"list","member":{"type":"structure","members":{"AcceptedRouteCount":{"type":"integer"},"CertificateArn":{},"LastStatusChange":{},"OutsideIpAddress":{},"Status":{},"StatusMessage":{}}}},"Options":{"type":"structure","members":{"StaticRoutesOnly":{"type":"boolean"},"TunnelOptions":{"type":"list","member":{"type":"structure","members":{"DpdTimeoutSeconds":{"type":"integer"},"IkeVersions":{"shape":"S2m"},"OutsideIpAddress":{},"Phase1DhGroupNumbers":{"shape":"Sd1"},"Phase1EncryptionAlgorithms":{"shape":"S2m"},"Phase1IntegrityAlgorithms":{"shape":"S2m"},"Phase1LifetimeSeconds":{"type":"integer"},"Phase2DhGroupNumbers":{"shape":"Sd1"},"Phase2EncryptionAlgorithms":{"shape":"S2m"},"Phase2IntegrityAlgorithms":{"shape":"S2m"},"Phase2LifetimeSeconds":{"type":"integer"},"PreSharedKey":{},"RekeyFuzzPercentage":{"type":"integer"},"RekeyMarginTimeSeconds":{"type":"integer"},"ReplayWindowSize":{"type":"integer"},"TunnelInsideCidr":{}}}}}},"Routes":{"type":"list","member":{"type":"structure","members":{"DestinationCidrBlock":{},"State":{}}}},"TransitGatewayId":{}}},"AwsEcrContainerImage":{"type":"structure","members":{"RegistryId":{},"RepositoryName":{},"Architecture":{},"ImageDigest":{},"ImageTags":{"shape":"S2m"},"ImagePublishedAt":{}}},"AwsOpenSearchServiceDomain":{"type":"structure","members":{"Arn":{},"AccessPolicies":{},"DomainName":{},"Id":{},"DomainEndpoint":{},"EngineVersion":{},"EncryptionAtRestOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"NodeToNodeEncryptionOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"ServiceSoftwareOptions":{"type":"structure","members":{"AutomatedUpdateDate":{},"Cancellable":{"type":"boolean"},"CurrentVersion":{},"Description":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"UpdateStatus":{},"OptionalDeployment":{"type":"boolean"}}},"ClusterConfig":{"type":"structure","members":{"InstanceCount":{"type":"integer"},"WarmEnabled":{"type":"boolean"},"WarmCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"DedicatedMasterCount":{"type":"integer"},"InstanceType":{},"WarmType":{},"ZoneAwarenessEnabled":{"type":"boolean"},"DedicatedMasterType":{}}},"DomainEndpointOptions":{"type":"structure","members":{"CustomEndpointCertificateArn":{},"CustomEndpointEnabled":{"type":"boolean"},"EnforceHTTPS":{"type":"boolean"},"CustomEndpoint":{},"TLSSecurityPolicy":{}}},"VpcOptions":{"type":"structure","members":{"SecurityGroupIds":{"shape":"S2m"},"SubnetIds":{"shape":"S2m"}}},"LogPublishingOptions":{"type":"structure","members":{"IndexSlowLogs":{"shape":"Sde"},"SearchSlowLogs":{"shape":"Sde"},"AuditLogs":{"shape":"Sde"}}},"DomainEndpoints":{"shape":"St"}}},"AwsEc2VpcEndpointService":{"type":"structure","members":{"AcceptanceRequired":{"type":"boolean"},"AvailabilityZones":{"shape":"S2m"},"BaseEndpointDnsNames":{"shape":"S2m"},"ManagesVpcEndpoints":{"type":"boolean"},"GatewayLoadBalancerArns":{"shape":"S2m"},"NetworkLoadBalancerArns":{"shape":"S2m"},"PrivateDnsName":{},"ServiceId":{},"ServiceName":{},"ServiceState":{},"ServiceType":{"type":"list","member":{"type":"structure","members":{"ServiceType":{}}}}}},"AwsXrayEncryptionConfig":{"type":"structure","members":{"KeyId":{},"Status":{},"Type":{}}},"AwsWafRateBasedRule":{"type":"structure","members":{"MetricName":{},"Name":{},"RateKey":{},"RateLimit":{"type":"long"},"RuleId":{},"MatchPredicates":{"type":"list","member":{"type":"structure","members":{"DataId":{},"Negated":{"type":"boolean"},"Type":{}}}}}},"AwsWafRegionalRateBasedRule":{"type":"structure","members":{"MetricName":{},"Name":{},"RateKey":{},"RateLimit":{"type":"long"},"RuleId":{},"MatchPredicates":{"type":"list","member":{"type":"structure","members":{"DataId":{},"Negated":{"type":"boolean"},"Type":{}}}}}},"AwsEcrRepository":{"type":"structure","members":{"Arn":{},"ImageScanningConfiguration":{"type":"structure","members":{"ScanOnPush":{"type":"boolean"}}},"ImageTagMutability":{},"LifecyclePolicy":{"type":"structure","members":{"LifecyclePolicyText":{},"RegistryId":{}}},"RepositoryName":{},"RepositoryPolicyText":{}}},"AwsEksCluster":{"type":"structure","members":{"Arn":{},"CertificateAuthorityData":{},"ClusterStatus":{},"Endpoint":{},"Name":{},"ResourcesVpcConfig":{"type":"structure","members":{"SecurityGroupIds":{"shape":"S2m"},"SubnetIds":{"shape":"S2m"}}},"RoleArn":{},"Version":{},"Logging":{"type":"structure","members":{"ClusterLogging":{"type":"list","member":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Types":{"shape":"S2m"}}}}}}}},"AwsNetworkFirewallFirewallPolicy":{"type":"structure","members":{"FirewallPolicy":{"type":"structure","members":{"StatefulRuleGroupReferences":{"type":"list","member":{"type":"structure","members":{"ResourceArn":{}}}},"StatelessCustomActions":{"type":"list","member":{"type":"structure","members":{"ActionDefinition":{"shape":"Se3"},"ActionName":{}}}},"StatelessDefaultActions":{"shape":"S2m"},"StatelessFragmentDefaultActions":{"shape":"S2m"},"StatelessRuleGroupReferences":{"type":"list","member":{"type":"structure","members":{"Priority":{"type":"integer"},"ResourceArn":{}}}}}},"FirewallPolicyArn":{},"FirewallPolicyId":{},"FirewallPolicyName":{},"Description":{}}},"AwsNetworkFirewallFirewall":{"type":"structure","members":{"DeleteProtection":{"type":"boolean"},"Description":{},"FirewallArn":{},"FirewallId":{},"FirewallName":{},"FirewallPolicyArn":{},"FirewallPolicyChangeProtection":{"type":"boolean"},"SubnetChangeProtection":{"type":"boolean"},"SubnetMappings":{"type":"list","member":{"type":"structure","members":{"SubnetId":{}}}},"VpcId":{}}},"AwsNetworkFirewallRuleGroup":{"type":"structure","members":{"Capacity":{"type":"integer"},"Description":{},"RuleGroup":{"type":"structure","members":{"RuleVariables":{"type":"structure","members":{"IpSets":{"type":"structure","members":{"Definition":{"shape":"S2m"}}},"PortSets":{"type":"structure","members":{"Definition":{"shape":"S2m"}}}}},"RulesSource":{"type":"structure","members":{"RulesSourceList":{"type":"structure","members":{"GeneratedRulesType":{},"TargetTypes":{"shape":"S2m"},"Targets":{"shape":"S2m"}}},"RulesString":{},"StatefulRules":{"type":"list","member":{"type":"structure","members":{"Action":{},"Header":{"type":"structure","members":{"Destination":{},"DestinationPort":{},"Direction":{},"Protocol":{},"Source":{},"SourcePort":{}}},"RuleOptions":{"type":"list","member":{"type":"structure","members":{"Keyword":{},"Settings":{"type":"list","member":{}}}}}}}},"StatelessRulesAndCustomActions":{"type":"structure","members":{"CustomActions":{"type":"list","member":{"type":"structure","members":{"ActionDefinition":{"shape":"Se3"},"ActionName":{}}}},"StatelessRules":{"type":"list","member":{"type":"structure","members":{"Priority":{"type":"integer"},"RuleDefinition":{"type":"structure","members":{"Actions":{"shape":"S2m"},"MatchAttributes":{"type":"structure","members":{"DestinationPorts":{"type":"list","member":{"type":"structure","members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}}},"Destinations":{"type":"list","member":{"type":"structure","members":{"AddressDefinition":{}}}},"Protocols":{"type":"list","member":{"type":"integer"}},"SourcePorts":{"type":"list","member":{"type":"structure","members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}}},"Sources":{"type":"list","member":{"type":"structure","members":{"AddressDefinition":{}}}},"TcpFlags":{"type":"list","member":{"type":"structure","members":{"Flags":{"shape":"S2m"},"Masks":{"shape":"S2m"}}}}}}}}}}}}}}}}},"RuleGroupArn":{},"RuleGroupId":{},"RuleGroupName":{},"Type":{}}}}}}}},"Compliance":{"type":"structure","members":{"Status":{},"RelatedRequirements":{"shape":"Sf9"},"StatusReasons":{"type":"list","member":{"type":"structure","required":["ReasonCode"],"members":{"ReasonCode":{},"Description":{}}}}}},"VerificationState":{},"WorkflowState":{"type":"string","deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use SeverityLabel or FindingProviderFieldsSeverityLabel."},"Workflow":{"type":"structure","members":{"Status":{}}},"RecordState":{},"RelatedFindings":{"shape":"Sfh"},"Note":{"type":"structure","required":["Text","UpdatedBy","UpdatedAt"],"members":{"Text":{},"UpdatedBy":{},"UpdatedAt":{}}},"Vulnerabilities":{"type":"list","member":{"type":"structure","required":["Id"],"members":{"Id":{},"VulnerablePackages":{"type":"list","member":{"type":"structure","members":{"Name":{},"Version":{},"Epoch":{},"Release":{},"Architecture":{},"PackageManager":{},"FilePath":{}}}},"Cvss":{"type":"list","member":{"type":"structure","members":{"Version":{},"BaseScore":{"type":"double"},"BaseVector":{},"Source":{},"Adjustments":{"type":"list","member":{"type":"structure","members":{"Metric":{},"Reason":{}}}}}}},"RelatedVulnerabilities":{"shape":"S15"},"Vendor":{"type":"structure","required":["Name"],"members":{"Name":{},"Url":{},"VendorSeverity":{},"VendorCreatedAt":{},"VendorUpdatedAt":{}}},"ReferenceUrls":{"shape":"S15"}}}},"PatchSummary":{"type":"structure","required":["Id"],"members":{"Id":{},"InstalledCount":{"type":"integer"},"MissingCount":{"type":"integer"},"FailedCount":{"type":"integer"},"InstalledOtherCount":{"type":"integer"},"InstalledRejectedCount":{"type":"integer"},"InstalledPendingReboot":{"type":"integer"},"OperationStartTime":{},"OperationEndTime":{},"RebootOption":{},"Operation":{}}},"Action":{"type":"structure","members":{"ActionType":{},"NetworkConnectionAction":{"type":"structure","members":{"ConnectionDirection":{},"RemoteIpDetails":{"shape":"Sfw"},"RemotePortDetails":{"type":"structure","members":{"Port":{"type":"integer"},"PortName":{}}},"LocalPortDetails":{"shape":"Sg2"},"Protocol":{},"Blocked":{"type":"boolean"}}},"AwsApiCallAction":{"type":"structure","members":{"Api":{},"ServiceName":{},"CallerType":{},"RemoteIpDetails":{"shape":"Sfw"},"DomainDetails":{"type":"structure","members":{"Domain":{}}},"AffectedResources":{"shape":"St"},"FirstSeen":{},"LastSeen":{}}},"DnsRequestAction":{"type":"structure","members":{"Domain":{},"Protocol":{},"Blocked":{"type":"boolean"}}},"PortProbeAction":{"type":"structure","members":{"PortProbeDetails":{"type":"list","member":{"type":"structure","members":{"LocalPortDetails":{"shape":"Sg2"},"LocalIpDetails":{"type":"structure","members":{"IpAddressV4":{}}},"RemoteIpDetails":{"shape":"Sfw"}}}},"Blocked":{"type":"boolean"}}}}},"FindingProviderFields":{"type":"structure","members":{"Confidence":{"type":"integer"},"Criticality":{"type":"integer"},"RelatedFindings":{"shape":"Sfh"},"Severity":{"type":"structure","members":{"Label":{},"Original":{}}},"Types":{"shape":"Sm"}}}}},"Sm":{"type":"list","member":{}},"St":{"type":"map","key":{},"value":{}},"S10":{"type":"structure","members":{"Begin":{"type":"integer"},"End":{"type":"integer"}}},"S13":{"type":"structure","members":{"Protocol":{},"Destination":{"shape":"S14"},"Source":{"shape":"S14"}}},"S14":{"type":"structure","members":{"Address":{"shape":"S15"},"PortRanges":{"type":"list","member":{"shape":"S10"}}}},"S15":{"type":"list","member":{}},"S1o":{"type":"structure","members":{"LineRanges":{"shape":"S1p"},"OffsetRanges":{"shape":"S1p"},"Pages":{"type":"list","member":{"type":"structure","members":{"PageNumber":{"type":"long"},"LineRange":{"shape":"S1q"},"OffsetRange":{"shape":"S1q"}}}},"Records":{"type":"list","member":{"type":"structure","members":{"JsonPath":{},"RecordIndex":{"type":"long"}}}},"Cells":{"type":"list","member":{"type":"structure","members":{"Column":{"type":"long"},"Row":{"type":"long"},"ColumnName":{},"CellReference":{}}}}}},"S1p":{"type":"list","member":{"shape":"S1q"}},"S1q":{"type":"structure","members":{"Start":{"type":"long"},"End":{"type":"long"},"StartColumn":{"type":"long"}}},"S2m":{"type":"list","member":{}},"S3g":{"type":"list","member":{"type":"structure","members":{"IpProtocol":{},"FromPort":{"type":"integer"},"ToPort":{"type":"integer"},"UserIdGroupPairs":{"type":"list","member":{"type":"structure","members":{"GroupId":{},"GroupName":{},"PeeringStatus":{},"UserId":{},"VpcId":{},"VpcPeeringConnectionId":{}}}},"IpRanges":{"type":"list","member":{"type":"structure","members":{"CidrIp":{}}}},"Ipv6Ranges":{"type":"list","member":{"type":"structure","members":{"CidrIpv6":{}}}},"PrefixListIds":{"type":"list","member":{"type":"structure","members":{"PrefixListId":{}}}}}}},"S3w":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"Ipv6CidrBlock":{},"CidrBlockState":{}}}},"S4q":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}},"S5d":{"type":"structure","members":{"BlockPublicAcls":{"type":"boolean"},"BlockPublicPolicy":{"type":"boolean"},"IgnorePublicAcls":{"type":"boolean"},"RestrictPublicBuckets":{"type":"boolean"}}},"S64":{"type":"list","member":{"type":"structure","members":{"PolicyName":{},"PolicyArn":{}}}},"S66":{"type":"structure","members":{"PermissionsBoundaryArn":{},"PermissionsBoundaryType":{}}},"S6d":{"type":"structure","members":{"DetailedMetricsEnabled":{"type":"boolean"},"LoggingLevel":{},"DataTraceEnabled":{"type":"boolean"},"ThrottlingBurstLimit":{"type":"integer"},"ThrottlingRateLimit":{"type":"double"}}},"S6e":{"type":"structure","members":{"Format":{},"DestinationArn":{}}},"S6o":{"type":"list","member":{"type":"structure","members":{"AttributeName":{},"KeyType":{}}}},"S6q":{"type":"structure","members":{"NonKeyAttributes":{"shape":"S15"},"ProjectionType":{}}},"S6r":{"type":"structure","members":{"LastDecreaseDateTime":{},"LastIncreaseDateTime":{},"NumberOfDecreasesToday":{"type":"integer"},"ReadCapacityUnits":{"type":"integer"},"WriteCapacityUnits":{"type":"integer"}}},"S6y":{"type":"structure","members":{"ReadCapacityUnits":{"type":"integer"}}},"S7d":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"ResourceRecord":{"type":"structure","members":{"Name":{},"Type":{},"Value":{}}},"ValidationDomain":{},"ValidationEmails":{"shape":"S15"},"ValidationMethod":{},"ValidationStatus":{}}}},"S9i":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"},"HostedZoneId":{}}},"S9j":{"type":"list","member":{"type":"structure","members":{"VpcSecurityGroupId":{},"Status":{}}}},"S9t":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"S9z":{"type":"list","member":{"type":"structure","members":{"Domain":{},"Status":{},"Fqdn":{},"IamRoleName":{}}}},"Sd1":{"type":"list","member":{"type":"integer"}},"Sde":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}},"Se3":{"type":"structure","members":{"PublishMetricAction":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"type":"structure","members":{"Value":{}}}}}}}},"Sf9":{"type":"list","member":{}},"Sfh":{"type":"list","member":{"type":"structure","required":["ProductArn","Id"],"members":{"ProductArn":{},"Id":{}}}},"Sfw":{"type":"structure","members":{"IpAddressV4":{},"Organization":{"type":"structure","members":{"Asn":{"type":"integer"},"AsnOrg":{},"Isp":{},"Org":{}}},"Country":{"type":"structure","members":{"CountryCode":{},"CountryName":{}}},"City":{"type":"structure","members":{"CityName":{}}},"GeoLocation":{"type":"structure","members":{"Lon":{"type":"double"},"Lat":{"type":"double"}}}}},"Sg2":{"type":"structure","members":{"Port":{"type":"integer"},"PortName":{}}},"Sgh":{"type":"list","member":{"shape":"Sgi"}},"Sgi":{"type":"structure","required":["Id","ProductArn"],"members":{"Id":{},"ProductArn":{}}},"Sgj":{"type":"structure","required":["Text","UpdatedBy"],"members":{"Text":{},"UpdatedBy":{}}},"Sgu":{"type":"structure","members":{"ProductArn":{"shape":"Sgv"},"AwsAccountId":{"shape":"Sgv"},"Id":{"shape":"Sgv"},"GeneratorId":{"shape":"Sgv"},"Region":{"shape":"Sgv"},"Type":{"shape":"Sgv"},"FirstObservedAt":{"shape":"Sgy"},"LastObservedAt":{"shape":"Sgy"},"CreatedAt":{"shape":"Sgy"},"UpdatedAt":{"shape":"Sgy"},"SeverityProduct":{"shape":"Sh2","deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use FindingProviderSeverityOriginal."},"SeverityNormalized":{"shape":"Sh2","deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use SeverityLabel or FindingProviderFieldsSeverityLabel."},"SeverityLabel":{"shape":"Sgv"},"Confidence":{"shape":"Sh2"},"Criticality":{"shape":"Sh2"},"Title":{"shape":"Sgv"},"Description":{"shape":"Sgv"},"RecommendationText":{"shape":"Sgv"},"SourceUrl":{"shape":"Sgv"},"ProductFields":{"shape":"Sh4"},"ProductName":{"shape":"Sgv"},"CompanyName":{"shape":"Sgv"},"UserDefinedFields":{"shape":"Sh4"},"MalwareName":{"shape":"Sgv"},"MalwareType":{"shape":"Sgv"},"MalwarePath":{"shape":"Sgv"},"MalwareState":{"shape":"Sgv"},"NetworkDirection":{"shape":"Sgv"},"NetworkProtocol":{"shape":"Sgv"},"NetworkSourceIpV4":{"shape":"Sh7"},"NetworkSourceIpV6":{"shape":"Sh7"},"NetworkSourcePort":{"shape":"Sh2"},"NetworkSourceDomain":{"shape":"Sgv"},"NetworkSourceMac":{"shape":"Sgv"},"NetworkDestinationIpV4":{"shape":"Sh7"},"NetworkDestinationIpV6":{"shape":"Sh7"},"NetworkDestinationPort":{"shape":"Sh2"},"NetworkDestinationDomain":{"shape":"Sgv"},"ProcessName":{"shape":"Sgv"},"ProcessPath":{"shape":"Sgv"},"ProcessPid":{"shape":"Sh2"},"ProcessParentPid":{"shape":"Sh2"},"ProcessLaunchedAt":{"shape":"Sgy"},"ProcessTerminatedAt":{"shape":"Sgy"},"ThreatIntelIndicatorType":{"shape":"Sgv"},"ThreatIntelIndicatorValue":{"shape":"Sgv"},"ThreatIntelIndicatorCategory":{"shape":"Sgv"},"ThreatIntelIndicatorLastObservedAt":{"shape":"Sgy"},"ThreatIntelIndicatorSource":{"shape":"Sgv"},"ThreatIntelIndicatorSourceUrl":{"shape":"Sgv"},"ResourceType":{"shape":"Sgv"},"ResourceId":{"shape":"Sgv"},"ResourcePartition":{"shape":"Sgv"},"ResourceRegion":{"shape":"Sgv"},"ResourceTags":{"shape":"Sh4"},"ResourceAwsEc2InstanceType":{"shape":"Sgv"},"ResourceAwsEc2InstanceImageId":{"shape":"Sgv"},"ResourceAwsEc2InstanceIpV4Addresses":{"shape":"Sh7"},"ResourceAwsEc2InstanceIpV6Addresses":{"shape":"Sh7"},"ResourceAwsEc2InstanceKeyName":{"shape":"Sgv"},"ResourceAwsEc2InstanceIamInstanceProfileArn":{"shape":"Sgv"},"ResourceAwsEc2InstanceVpcId":{"shape":"Sgv"},"ResourceAwsEc2InstanceSubnetId":{"shape":"Sgv"},"ResourceAwsEc2InstanceLaunchedAt":{"shape":"Sgy"},"ResourceAwsS3BucketOwnerId":{"shape":"Sgv"},"ResourceAwsS3BucketOwnerName":{"shape":"Sgv"},"ResourceAwsIamAccessKeyUserName":{"shape":"Sgv","deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use ResourceAwsIamAccessKeyPrincipalName."},"ResourceAwsIamAccessKeyPrincipalName":{"shape":"Sgv"},"ResourceAwsIamAccessKeyStatus":{"shape":"Sgv"},"ResourceAwsIamAccessKeyCreatedAt":{"shape":"Sgy"},"ResourceAwsIamUserUserName":{"shape":"Sgv"},"ResourceContainerName":{"shape":"Sgv"},"ResourceContainerImageId":{"shape":"Sgv"},"ResourceContainerImageName":{"shape":"Sgv"},"ResourceContainerLaunchedAt":{"shape":"Sgy"},"ResourceDetailsOther":{"shape":"Sh4"},"ComplianceStatus":{"shape":"Sgv"},"VerificationState":{"shape":"Sgv"},"WorkflowState":{"shape":"Sgv"},"WorkflowStatus":{"shape":"Sgv"},"RecordState":{"shape":"Sgv"},"RelatedFindingsProductArn":{"shape":"Sgv"},"RelatedFindingsId":{"shape":"Sgv"},"NoteText":{"shape":"Sgv"},"NoteUpdatedAt":{"shape":"Sgy"},"NoteUpdatedBy":{"shape":"Sgv"},"Keyword":{"deprecated":true,"deprecatedMessage":"The Keyword property is deprecated.","type":"list","member":{"type":"structure","members":{"Value":{}}}},"FindingProviderFieldsConfidence":{"shape":"Sh2"},"FindingProviderFieldsCriticality":{"shape":"Sh2"},"FindingProviderFieldsRelatedFindingsId":{"shape":"Sgv"},"FindingProviderFieldsRelatedFindingsProductArn":{"shape":"Sgv"},"FindingProviderFieldsSeverityLabel":{"shape":"Sgv"},"FindingProviderFieldsSeverityOriginal":{"shape":"Sgv"},"FindingProviderFieldsTypes":{"shape":"Sgv"}}},"Sgv":{"type":"list","member":{"type":"structure","members":{"Value":{},"Comparison":{}}}},"Sgy":{"type":"list","member":{"type":"structure","members":{"Start":{},"End":{},"DateRange":{"type":"structure","members":{"Value":{"type":"integer"},"Unit":{}}}}}},"Sh2":{"type":"list","member":{"type":"structure","members":{"Gte":{"type":"double"},"Lte":{"type":"double"},"Eq":{"type":"double"}}}},"Sh4":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{},"Comparison":{}}}},"Sh7":{"type":"list","member":{"type":"structure","members":{"Cidr":{}}}},"Shh":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"ProcessingResult":{}}}},"Shk":{"type":"list","member":{}},"Shx":{"type":"list","member":{}},"Sin":{"type":"timestamp","timestampFormat":"iso8601"},"Sj6":{"type":"map","key":{},"value":{}},"Sjc":{"type":"structure","members":{"AccountId":{},"InvitationId":{},"InvitedAt":{"shape":"Sin"},"MemberStatus":{}}},"Sk2":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"Email":{},"MasterId":{"deprecated":true,"deprecatedMessage":"This field is deprecated, use AdministratorId instead."},"AdministratorId":{},"MemberStatus":{},"InvitedAt":{"shape":"Sin"},"UpdatedAt":{"shape":"Sin"}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-10-26","endpointPrefix":"securityhub","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS SecurityHub","serviceId":"SecurityHub","signatureVersion":"v4","signingName":"securityhub","uid":"securityhub-2018-10-26"},"operations":{"AcceptAdministratorInvitation":{"http":{"requestUri":"/administrator"},"input":{"type":"structure","required":["AdministratorId","InvitationId"],"members":{"AdministratorId":{},"InvitationId":{}}},"output":{"type":"structure","members":{}}},"AcceptInvitation":{"http":{"requestUri":"/master"},"input":{"type":"structure","required":["MasterId","InvitationId"],"members":{"MasterId":{},"InvitationId":{}}},"output":{"type":"structure","members":{}},"deprecated":true,"deprecatedMessage":"This API has been deprecated, use AcceptAdministratorInvitation API instead."},"BatchDisableStandards":{"http":{"requestUri":"/standards/deregister"},"input":{"type":"structure","required":["StandardsSubscriptionArns"],"members":{"StandardsSubscriptionArns":{"shape":"S7"}}},"output":{"type":"structure","members":{"StandardsSubscriptions":{"shape":"S9"}}}},"BatchEnableStandards":{"http":{"requestUri":"/standards/register"},"input":{"type":"structure","required":["StandardsSubscriptionRequests"],"members":{"StandardsSubscriptionRequests":{"type":"list","member":{"type":"structure","required":["StandardsArn"],"members":{"StandardsArn":{},"StandardsInput":{"shape":"Sb"}}}}}},"output":{"type":"structure","members":{"StandardsSubscriptions":{"shape":"S9"}}}},"BatchImportFindings":{"http":{"requestUri":"/findings/import"},"input":{"type":"structure","required":["Findings"],"members":{"Findings":{"type":"list","member":{"shape":"Sl"}}}},"output":{"type":"structure","required":["FailedCount","SuccessCount"],"members":{"FailedCount":{"type":"integer"},"SuccessCount":{"type":"integer"},"FailedFindings":{"type":"list","member":{"type":"structure","required":["Id","ErrorCode","ErrorMessage"],"members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"BatchUpdateFindings":{"http":{"method":"PATCH","requestUri":"/findings/batchupdate"},"input":{"type":"structure","required":["FindingIdentifiers"],"members":{"FindingIdentifiers":{"shape":"Sgh"},"Note":{"shape":"Sgj"},"Severity":{"type":"structure","members":{"Normalized":{"type":"integer"},"Product":{"type":"double"},"Label":{}}},"VerificationState":{},"Confidence":{"type":"integer"},"Criticality":{"type":"integer"},"Types":{"shape":"Sm"},"UserDefinedFields":{"shape":"St"},"Workflow":{"type":"structure","members":{"Status":{}}},"RelatedFindings":{"shape":"Sfh"}}},"output":{"type":"structure","required":["ProcessedFindings","UnprocessedFindings"],"members":{"ProcessedFindings":{"shape":"Sgh"},"UnprocessedFindings":{"type":"list","member":{"type":"structure","required":["FindingIdentifier","ErrorCode","ErrorMessage"],"members":{"FindingIdentifier":{"shape":"Sgi"},"ErrorCode":{},"ErrorMessage":{}}}}}}},"CreateActionTarget":{"http":{"requestUri":"/actionTargets"},"input":{"type":"structure","required":["Name","Description","Id"],"members":{"Name":{},"Description":{},"Id":{}}},"output":{"type":"structure","required":["ActionTargetArn"],"members":{"ActionTargetArn":{}}}},"CreateFindingAggregator":{"http":{"requestUri":"/findingAggregator/create"},"input":{"type":"structure","required":["RegionLinkingMode"],"members":{"RegionLinkingMode":{},"Regions":{"shape":"S15"}}},"output":{"type":"structure","members":{"FindingAggregatorArn":{},"FindingAggregationRegion":{},"RegionLinkingMode":{},"Regions":{"shape":"S15"}}}},"CreateInsight":{"http":{"requestUri":"/insights"},"input":{"type":"structure","required":["Name","Filters","GroupByAttribute"],"members":{"Name":{},"Filters":{"shape":"Sgu"},"GroupByAttribute":{}}},"output":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{}}}},"CreateMembers":{"http":{"requestUri":"/members"},"input":{"type":"structure","required":["AccountDetails"],"members":{"AccountDetails":{"type":"list","member":{"type":"structure","required":["AccountId"],"members":{"AccountId":{},"Email":{}}}}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shj"}}}},"DeclineInvitations":{"http":{"requestUri":"/invitations/decline"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shm"}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shj"}}}},"DeleteActionTarget":{"http":{"method":"DELETE","requestUri":"/actionTargets/{ActionTargetArn+}"},"input":{"type":"structure","required":["ActionTargetArn"],"members":{"ActionTargetArn":{"location":"uri","locationName":"ActionTargetArn"}}},"output":{"type":"structure","required":["ActionTargetArn"],"members":{"ActionTargetArn":{}}}},"DeleteFindingAggregator":{"http":{"method":"DELETE","requestUri":"/findingAggregator/delete/{FindingAggregatorArn+}"},"input":{"type":"structure","required":["FindingAggregatorArn"],"members":{"FindingAggregatorArn":{"location":"uri","locationName":"FindingAggregatorArn"}}},"output":{"type":"structure","members":{}}},"DeleteInsight":{"http":{"method":"DELETE","requestUri":"/insights/{InsightArn+}"},"input":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{"location":"uri","locationName":"InsightArn"}}},"output":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{}}}},"DeleteInvitations":{"http":{"requestUri":"/invitations/delete"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shm"}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shj"}}}},"DeleteMembers":{"http":{"requestUri":"/members/delete"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shm"}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shj"}}}},"DescribeActionTargets":{"http":{"requestUri":"/actionTargets/get"},"input":{"type":"structure","members":{"ActionTargetArns":{"shape":"Shz"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ActionTargets"],"members":{"ActionTargets":{"type":"list","member":{"type":"structure","required":["ActionTargetArn","Name","Description"],"members":{"ActionTargetArn":{},"Name":{},"Description":{}}}},"NextToken":{}}}},"DescribeHub":{"http":{"method":"GET","requestUri":"/accounts"},"input":{"type":"structure","members":{"HubArn":{"location":"querystring","locationName":"HubArn"}}},"output":{"type":"structure","members":{"HubArn":{},"SubscribedAt":{},"AutoEnableControls":{"type":"boolean"}}}},"DescribeOrganizationConfiguration":{"http":{"method":"GET","requestUri":"/organization/configuration"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"AutoEnable":{"type":"boolean"},"MemberAccountLimitReached":{"type":"boolean"}}}},"DescribeProducts":{"http":{"method":"GET","requestUri":"/products"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"ProductArn":{"location":"querystring","locationName":"ProductArn"}}},"output":{"type":"structure","required":["Products"],"members":{"Products":{"type":"list","member":{"type":"structure","required":["ProductArn"],"members":{"ProductArn":{},"ProductName":{},"CompanyName":{},"Description":{},"Categories":{"type":"list","member":{}},"IntegrationTypes":{"type":"list","member":{}},"MarketplaceUrl":{},"ActivationUrl":{},"ProductSubscriptionResourcePolicy":{}}}},"NextToken":{}}}},"DescribeStandards":{"http":{"method":"GET","requestUri":"/standards"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Standards":{"type":"list","member":{"type":"structure","members":{"StandardsArn":{},"Name":{},"Description":{},"EnabledByDefault":{"type":"boolean"}}}},"NextToken":{}}}},"DescribeStandardsControls":{"http":{"method":"GET","requestUri":"/standards/controls/{StandardsSubscriptionArn+}"},"input":{"type":"structure","required":["StandardsSubscriptionArn"],"members":{"StandardsSubscriptionArn":{"location":"uri","locationName":"StandardsSubscriptionArn"},"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Controls":{"type":"list","member":{"type":"structure","members":{"StandardsControlArn":{},"ControlStatus":{},"DisabledReason":{},"ControlStatusUpdatedAt":{"shape":"Sip"},"ControlId":{},"Title":{},"Description":{},"RemediationUrl":{},"SeverityRating":{},"RelatedRequirements":{"shape":"Sf9"}}}},"NextToken":{}}}},"DisableImportFindingsForProduct":{"http":{"method":"DELETE","requestUri":"/productSubscriptions/{ProductSubscriptionArn+}"},"input":{"type":"structure","required":["ProductSubscriptionArn"],"members":{"ProductSubscriptionArn":{"location":"uri","locationName":"ProductSubscriptionArn"}}},"output":{"type":"structure","members":{}}},"DisableOrganizationAdminAccount":{"http":{"requestUri":"/organization/admin/disable"},"input":{"type":"structure","required":["AdminAccountId"],"members":{"AdminAccountId":{}}},"output":{"type":"structure","members":{}}},"DisableSecurityHub":{"http":{"method":"DELETE","requestUri":"/accounts"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateFromAdministratorAccount":{"http":{"requestUri":"/administrator/disassociate"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateFromMasterAccount":{"http":{"requestUri":"/master/disassociate"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}},"deprecated":true,"deprecatedMessage":"This API has been deprecated, use DisassociateFromAdministratorAccount API instead."},"DisassociateMembers":{"http":{"requestUri":"/members/disassociate"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shm"}}},"output":{"type":"structure","members":{}}},"EnableImportFindingsForProduct":{"http":{"requestUri":"/productSubscriptions"},"input":{"type":"structure","required":["ProductArn"],"members":{"ProductArn":{}}},"output":{"type":"structure","members":{"ProductSubscriptionArn":{}}}},"EnableOrganizationAdminAccount":{"http":{"requestUri":"/organization/admin/enable"},"input":{"type":"structure","required":["AdminAccountId"],"members":{"AdminAccountId":{}}},"output":{"type":"structure","members":{}}},"EnableSecurityHub":{"http":{"requestUri":"/accounts"},"input":{"type":"structure","members":{"Tags":{"shape":"Sj8"},"EnableDefaultStandards":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"GetAdministratorAccount":{"http":{"method":"GET","requestUri":"/administrator"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Administrator":{"shape":"Sje"}}}},"GetEnabledStandards":{"http":{"requestUri":"/standards/get"},"input":{"type":"structure","members":{"StandardsSubscriptionArns":{"shape":"S7"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"StandardsSubscriptions":{"shape":"S9"},"NextToken":{}}}},"GetFindingAggregator":{"http":{"method":"GET","requestUri":"/findingAggregator/get/{FindingAggregatorArn+}"},"input":{"type":"structure","required":["FindingAggregatorArn"],"members":{"FindingAggregatorArn":{"location":"uri","locationName":"FindingAggregatorArn"}}},"output":{"type":"structure","members":{"FindingAggregatorArn":{},"FindingAggregationRegion":{},"RegionLinkingMode":{},"Regions":{"shape":"S15"}}}},"GetFindings":{"http":{"requestUri":"/findings"},"input":{"type":"structure","members":{"Filters":{"shape":"Sgu"},"SortCriteria":{"type":"list","member":{"type":"structure","members":{"Field":{},"SortOrder":{}}}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["Findings"],"members":{"Findings":{"type":"list","member":{"shape":"Sl"}},"NextToken":{}}}},"GetInsightResults":{"http":{"method":"GET","requestUri":"/insights/results/{InsightArn+}"},"input":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{"location":"uri","locationName":"InsightArn"}}},"output":{"type":"structure","required":["InsightResults"],"members":{"InsightResults":{"type":"structure","required":["InsightArn","GroupByAttribute","ResultValues"],"members":{"InsightArn":{},"GroupByAttribute":{},"ResultValues":{"type":"list","member":{"type":"structure","required":["GroupByAttributeValue","Count"],"members":{"GroupByAttributeValue":{},"Count":{"type":"integer"}}}}}}}}},"GetInsights":{"http":{"requestUri":"/insights/get"},"input":{"type":"structure","members":{"InsightArns":{"shape":"Shz"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["Insights"],"members":{"Insights":{"type":"list","member":{"type":"structure","required":["InsightArn","Name","Filters","GroupByAttribute"],"members":{"InsightArn":{},"Name":{},"Filters":{"shape":"Sgu"},"GroupByAttribute":{}}}},"NextToken":{}}}},"GetInvitationsCount":{"http":{"method":"GET","requestUri":"/invitations/count"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"InvitationsCount":{"type":"integer"}}}},"GetMasterAccount":{"http":{"method":"GET","requestUri":"/master"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"Master":{"shape":"Sje"}}},"deprecated":true,"deprecatedMessage":"This API has been deprecated, use GetAdministratorAccount API instead."},"GetMembers":{"http":{"requestUri":"/members/get"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shm"}}},"output":{"type":"structure","members":{"Members":{"shape":"Sk4"},"UnprocessedAccounts":{"shape":"Shj"}}}},"InviteMembers":{"http":{"requestUri":"/members/invite"},"input":{"type":"structure","required":["AccountIds"],"members":{"AccountIds":{"shape":"Shm"}}},"output":{"type":"structure","members":{"UnprocessedAccounts":{"shape":"Shj"}}}},"ListEnabledProductsForImport":{"http":{"method":"GET","requestUri":"/productSubscriptions"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"ProductSubscriptions":{"type":"list","member":{}},"NextToken":{}}}},"ListFindingAggregators":{"http":{"method":"GET","requestUri":"/findingAggregator/list"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"FindingAggregators":{"type":"list","member":{"type":"structure","members":{"FindingAggregatorArn":{}}}},"NextToken":{}}}},"ListInvitations":{"http":{"method":"GET","requestUri":"/invitations"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Invitations":{"type":"list","member":{"shape":"Sje"}},"NextToken":{}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/members"},"input":{"type":"structure","members":{"OnlyAssociated":{"location":"querystring","locationName":"OnlyAssociated","type":"boolean"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"Members":{"shape":"Sk4"},"NextToken":{}}}},"ListOrganizationAdminAccounts":{"http":{"method":"GET","requestUri":"/organization/admin"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","members":{"AdminAccounts":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"Status":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sj8"}}}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"Sj8"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateActionTarget":{"http":{"method":"PATCH","requestUri":"/actionTargets/{ActionTargetArn+}"},"input":{"type":"structure","required":["ActionTargetArn"],"members":{"ActionTargetArn":{"location":"uri","locationName":"ActionTargetArn"},"Name":{},"Description":{}}},"output":{"type":"structure","members":{}}},"UpdateFindingAggregator":{"http":{"method":"PATCH","requestUri":"/findingAggregator/update"},"input":{"type":"structure","required":["FindingAggregatorArn","RegionLinkingMode"],"members":{"FindingAggregatorArn":{},"RegionLinkingMode":{},"Regions":{"shape":"S15"}}},"output":{"type":"structure","members":{"FindingAggregatorArn":{},"FindingAggregationRegion":{},"RegionLinkingMode":{},"Regions":{"shape":"S15"}}}},"UpdateFindings":{"http":{"method":"PATCH","requestUri":"/findings"},"input":{"type":"structure","required":["Filters"],"members":{"Filters":{"shape":"Sgu"},"Note":{"shape":"Sgj"},"RecordState":{}}},"output":{"type":"structure","members":{}}},"UpdateInsight":{"http":{"method":"PATCH","requestUri":"/insights/{InsightArn+}"},"input":{"type":"structure","required":["InsightArn"],"members":{"InsightArn":{"location":"uri","locationName":"InsightArn"},"Name":{},"Filters":{"shape":"Sgu"},"GroupByAttribute":{}}},"output":{"type":"structure","members":{}}},"UpdateOrganizationConfiguration":{"http":{"requestUri":"/organization/configuration"},"input":{"type":"structure","required":["AutoEnable"],"members":{"AutoEnable":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"UpdateSecurityHubConfiguration":{"http":{"method":"PATCH","requestUri":"/accounts"},"input":{"type":"structure","members":{"AutoEnableControls":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"UpdateStandardsControl":{"http":{"method":"PATCH","requestUri":"/standards/control/{StandardsControlArn+}"},"input":{"type":"structure","required":["StandardsControlArn"],"members":{"StandardsControlArn":{"location":"uri","locationName":"StandardsControlArn"},"ControlStatus":{},"DisabledReason":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S7":{"type":"list","member":{}},"S9":{"type":"list","member":{"type":"structure","required":["StandardsSubscriptionArn","StandardsArn","StandardsInput","StandardsStatus"],"members":{"StandardsSubscriptionArn":{},"StandardsArn":{},"StandardsInput":{"shape":"Sb"},"StandardsStatus":{},"StandardsStatusReason":{"type":"structure","required":["StatusReasonCode"],"members":{"StatusReasonCode":{}}}}}},"Sb":{"type":"map","key":{},"value":{}},"Sl":{"type":"structure","required":["SchemaVersion","Id","ProductArn","GeneratorId","AwsAccountId","CreatedAt","UpdatedAt","Title","Description","Resources"],"members":{"SchemaVersion":{},"Id":{},"ProductArn":{},"ProductName":{},"CompanyName":{},"Region":{},"GeneratorId":{},"AwsAccountId":{},"Types":{"shape":"Sm"},"FirstObservedAt":{},"LastObservedAt":{},"CreatedAt":{},"UpdatedAt":{},"Severity":{"type":"structure","members":{"Product":{"type":"double"},"Label":{},"Normalized":{"type":"integer"},"Original":{}}},"Confidence":{"type":"integer"},"Criticality":{"type":"integer"},"Title":{},"Description":{},"Remediation":{"type":"structure","members":{"Recommendation":{"type":"structure","members":{"Text":{},"Url":{}}}}},"SourceUrl":{},"ProductFields":{"shape":"St"},"UserDefinedFields":{"shape":"St"},"Malware":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{},"Type":{},"Path":{},"State":{}}}},"Network":{"type":"structure","members":{"Direction":{},"Protocol":{},"OpenPortRange":{"shape":"S10"},"SourceIpV4":{},"SourceIpV6":{},"SourcePort":{"type":"integer"},"SourceDomain":{},"SourceMac":{},"DestinationIpV4":{},"DestinationIpV6":{},"DestinationPort":{"type":"integer"},"DestinationDomain":{}}},"NetworkPath":{"type":"list","member":{"type":"structure","members":{"ComponentId":{},"ComponentType":{},"Egress":{"shape":"S13"},"Ingress":{"shape":"S13"}}}},"Process":{"type":"structure","members":{"Name":{},"Path":{},"Pid":{"type":"integer"},"ParentPid":{"type":"integer"},"LaunchedAt":{},"TerminatedAt":{}}},"ThreatIntelIndicators":{"type":"list","member":{"type":"structure","members":{"Type":{},"Value":{},"Category":{},"LastObservedAt":{},"Source":{},"SourceUrl":{}}}},"Resources":{"type":"list","member":{"type":"structure","required":["Type","Id"],"members":{"Type":{},"Id":{},"Partition":{},"Region":{},"ResourceRole":{},"Tags":{"shape":"St"},"DataClassification":{"type":"structure","members":{"DetailedResultsLocation":{},"Result":{"type":"structure","members":{"MimeType":{},"SizeClassified":{"type":"long"},"AdditionalOccurrences":{"type":"boolean"},"Status":{"type":"structure","members":{"Code":{},"Reason":{}}},"SensitiveData":{"type":"list","member":{"type":"structure","members":{"Category":{},"Detections":{"type":"list","member":{"type":"structure","members":{"Count":{"type":"long"},"Type":{},"Occurrences":{"shape":"S1o"}}}},"TotalCount":{"type":"long"}}}},"CustomDataIdentifiers":{"type":"structure","members":{"Detections":{"type":"list","member":{"type":"structure","members":{"Count":{"type":"long"},"Arn":{},"Name":{},"Occurrences":{"shape":"S1o"}}}},"TotalCount":{"type":"long"}}}}}}},"Details":{"type":"structure","members":{"AwsAutoScalingAutoScalingGroup":{"type":"structure","members":{"LaunchConfigurationName":{},"LoadBalancerNames":{"shape":"S15"},"HealthCheckType":{},"HealthCheckGracePeriod":{"type":"integer"},"CreatedTime":{},"MixedInstancesPolicy":{"type":"structure","members":{"InstancesDistribution":{"type":"structure","members":{"OnDemandAllocationStrategy":{},"OnDemandBaseCapacity":{"type":"integer"},"OnDemandPercentageAboveBaseCapacity":{"type":"integer"},"SpotAllocationStrategy":{},"SpotInstancePools":{"type":"integer"},"SpotMaxPrice":{}}},"LaunchTemplate":{"type":"structure","members":{"LaunchTemplateSpecification":{"type":"structure","members":{"LaunchTemplateId":{},"LaunchTemplateName":{},"Version":{}}},"Overrides":{"type":"list","member":{"type":"structure","members":{"InstanceType":{},"WeightedCapacity":{}}}}}}}},"AvailabilityZones":{"type":"list","member":{"type":"structure","members":{"Value":{}}}}}},"AwsCodeBuildProject":{"type":"structure","members":{"EncryptionKey":{},"Artifacts":{"type":"list","member":{"type":"structure","members":{"ArtifactIdentifier":{},"EncryptionDisabled":{"type":"boolean"},"Location":{},"Name":{},"NamespaceType":{},"OverrideArtifactName":{"type":"boolean"},"Packaging":{},"Path":{},"Type":{}}}},"Environment":{"type":"structure","members":{"Certificate":{},"EnvironmentVariables":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"Value":{}}}},"PrivilegedMode":{"type":"boolean"},"ImagePullCredentialsType":{},"RegistryCredential":{"type":"structure","members":{"Credential":{},"CredentialProvider":{}}},"Type":{}}},"Name":{},"Source":{"type":"structure","members":{"Type":{},"Location":{},"GitCloneDepth":{"type":"integer"},"InsecureSsl":{"type":"boolean"}}},"ServiceRole":{},"LogsConfig":{"type":"structure","members":{"CloudWatchLogs":{"type":"structure","members":{"GroupName":{},"Status":{},"StreamName":{}}},"S3Logs":{"type":"structure","members":{"EncryptionDisabled":{"type":"boolean"},"Location":{},"Status":{}}}}},"VpcConfig":{"type":"structure","members":{"VpcId":{},"Subnets":{"shape":"S2m"},"SecurityGroupIds":{"shape":"S2m"}}}}},"AwsCloudFrontDistribution":{"type":"structure","members":{"CacheBehaviors":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"ViewerProtocolPolicy":{}}}}}},"DefaultCacheBehavior":{"type":"structure","members":{"ViewerProtocolPolicy":{}}},"DefaultRootObject":{},"DomainName":{},"ETag":{},"LastModifiedTime":{},"Logging":{"type":"structure","members":{"Bucket":{},"Enabled":{"type":"boolean"},"IncludeCookies":{"type":"boolean"},"Prefix":{}}},"Origins":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"Id":{},"OriginPath":{},"S3OriginConfig":{"type":"structure","members":{"OriginAccessIdentity":{}}}}}}}},"OriginGroups":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"FailoverCriteria":{"type":"structure","members":{"StatusCodes":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"integer"}},"Quantity":{"type":"integer"}}}}}}}}}},"ViewerCertificate":{"type":"structure","members":{"AcmCertificateArn":{},"Certificate":{},"CertificateSource":{},"CloudFrontDefaultCertificate":{"type":"boolean"},"IamCertificateId":{},"MinimumProtocolVersion":{},"SslSupportMethod":{}}},"Status":{},"WebAclId":{}}},"AwsEc2Instance":{"type":"structure","members":{"Type":{},"ImageId":{},"IpV4Addresses":{"shape":"S15"},"IpV6Addresses":{"shape":"S15"},"KeyName":{},"IamInstanceProfileArn":{},"VpcId":{},"SubnetId":{},"LaunchedAt":{},"NetworkInterfaces":{"type":"list","member":{"type":"structure","members":{"NetworkInterfaceId":{}}}}}},"AwsEc2NetworkInterface":{"type":"structure","members":{"Attachment":{"type":"structure","members":{"AttachTime":{},"AttachmentId":{},"DeleteOnTermination":{"type":"boolean"},"DeviceIndex":{"type":"integer"},"InstanceId":{},"InstanceOwnerId":{},"Status":{}}},"NetworkInterfaceId":{},"SecurityGroups":{"type":"list","member":{"type":"structure","members":{"GroupName":{},"GroupId":{}}}},"SourceDestCheck":{"type":"boolean"},"IpV6Addresses":{"type":"list","member":{"type":"structure","members":{"IpV6Address":{}}}},"PrivateIpAddresses":{"type":"list","member":{"type":"structure","members":{"PrivateIpAddress":{},"PrivateDnsName":{}}}},"PublicDnsName":{},"PublicIp":{}}},"AwsEc2SecurityGroup":{"type":"structure","members":{"GroupName":{},"GroupId":{},"OwnerId":{},"VpcId":{},"IpPermissions":{"shape":"S3g"},"IpPermissionsEgress":{"shape":"S3g"}}},"AwsEc2Volume":{"type":"structure","members":{"CreateTime":{},"Encrypted":{"type":"boolean"},"Size":{"type":"integer"},"SnapshotId":{},"Status":{},"KmsKeyId":{},"Attachments":{"type":"list","member":{"type":"structure","members":{"AttachTime":{},"DeleteOnTermination":{"type":"boolean"},"InstanceId":{},"Status":{}}}}}},"AwsEc2Vpc":{"type":"structure","members":{"CidrBlockAssociationSet":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"CidrBlock":{},"CidrBlockState":{}}}},"Ipv6CidrBlockAssociationSet":{"shape":"S3w"},"DhcpOptionsId":{},"State":{}}},"AwsEc2Eip":{"type":"structure","members":{"InstanceId":{},"PublicIp":{},"AllocationId":{},"AssociationId":{},"Domain":{},"PublicIpv4Pool":{},"NetworkBorderGroup":{},"NetworkInterfaceId":{},"NetworkInterfaceOwnerId":{},"PrivateIpAddress":{}}},"AwsEc2Subnet":{"type":"structure","members":{"AssignIpv6AddressOnCreation":{"type":"boolean"},"AvailabilityZone":{},"AvailabilityZoneId":{},"AvailableIpAddressCount":{"type":"integer"},"CidrBlock":{},"DefaultForAz":{"type":"boolean"},"MapPublicIpOnLaunch":{"type":"boolean"},"OwnerId":{},"State":{},"SubnetArn":{},"SubnetId":{},"VpcId":{},"Ipv6CidrBlockAssociationSet":{"shape":"S3w"}}},"AwsEc2NetworkAcl":{"type":"structure","members":{"IsDefault":{"type":"boolean"},"NetworkAclId":{},"OwnerId":{},"VpcId":{},"Associations":{"type":"list","member":{"type":"structure","members":{"NetworkAclAssociationId":{},"NetworkAclId":{},"SubnetId":{}}}},"Entries":{"type":"list","member":{"type":"structure","members":{"CidrBlock":{},"Egress":{"type":"boolean"},"IcmpTypeCode":{"type":"structure","members":{"Code":{"type":"integer"},"Type":{"type":"integer"}}},"Ipv6CidrBlock":{},"PortRange":{"type":"structure","members":{"From":{"type":"integer"},"To":{"type":"integer"}}},"Protocol":{},"RuleAction":{},"RuleNumber":{"type":"integer"}}}}}},"AwsElbv2LoadBalancer":{"type":"structure","members":{"AvailabilityZones":{"type":"list","member":{"type":"structure","members":{"ZoneName":{},"SubnetId":{}}}},"CanonicalHostedZoneId":{},"CreatedTime":{},"DNSName":{},"IpAddressType":{},"Scheme":{},"SecurityGroups":{"type":"list","member":{}},"State":{"type":"structure","members":{"Code":{},"Reason":{}}},"Type":{},"VpcId":{},"LoadBalancerAttributes":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}}}},"AwsElasticBeanstalkEnvironment":{"type":"structure","members":{"ApplicationName":{},"Cname":{},"DateCreated":{},"DateUpdated":{},"Description":{},"EndpointUrl":{},"EnvironmentArn":{},"EnvironmentId":{},"EnvironmentLinks":{"type":"list","member":{"type":"structure","members":{"EnvironmentName":{},"LinkName":{}}}},"EnvironmentName":{},"OptionSettings":{"type":"list","member":{"type":"structure","members":{"Namespace":{},"OptionName":{},"ResourceName":{},"Value":{}}}},"PlatformArn":{},"SolutionStackName":{},"Status":{},"Tier":{"type":"structure","members":{"Name":{},"Type":{},"Version":{}}},"VersionLabel":{}}},"AwsElasticsearchDomain":{"type":"structure","members":{"AccessPolicies":{},"DomainEndpointOptions":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{}}},"DomainId":{},"DomainName":{},"Endpoint":{},"Endpoints":{"shape":"St"},"ElasticsearchVersion":{},"ElasticsearchClusterConfig":{"type":"structure","members":{"DedicatedMasterCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"DedicatedMasterType":{},"InstanceCount":{"type":"integer"},"InstanceType":{},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"ZoneAwarenessEnabled":{"type":"boolean"}}},"EncryptionAtRestOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"LogPublishingOptions":{"type":"structure","members":{"IndexSlowLogs":{"shape":"S4q"},"SearchSlowLogs":{"shape":"S4q"},"AuditLogs":{"shape":"S4q"}}},"NodeToNodeEncryptionOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"ServiceSoftwareOptions":{"type":"structure","members":{"AutomatedUpdateDate":{},"Cancellable":{"type":"boolean"},"CurrentVersion":{},"Description":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"UpdateStatus":{}}},"VPCOptions":{"type":"structure","members":{"AvailabilityZones":{"shape":"S2m"},"SecurityGroupIds":{"shape":"S2m"},"SubnetIds":{"shape":"S2m"},"VPCId":{}}}}},"AwsS3Bucket":{"type":"structure","members":{"OwnerId":{},"OwnerName":{},"OwnerAccountId":{},"CreatedAt":{},"ServerSideEncryptionConfiguration":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"ApplyServerSideEncryptionByDefault":{"type":"structure","members":{"SSEAlgorithm":{},"KMSMasterKeyID":{}}}}}}}},"BucketLifecycleConfiguration":{"type":"structure","members":{"Rules":{"type":"list","member":{"type":"structure","members":{"AbortIncompleteMultipartUpload":{"type":"structure","members":{"DaysAfterInitiation":{"type":"integer"}}},"ExpirationDate":{},"ExpirationInDays":{"type":"integer"},"ExpiredObjectDeleteMarker":{"type":"boolean"},"Filter":{"type":"structure","members":{"Predicate":{"type":"structure","members":{"Operands":{"type":"list","member":{"type":"structure","members":{"Prefix":{},"Tag":{"type":"structure","members":{"Key":{},"Value":{}}},"Type":{}}}},"Prefix":{},"Tag":{"type":"structure","members":{"Key":{},"Value":{}}},"Type":{}}}}},"ID":{},"NoncurrentVersionExpirationInDays":{"type":"integer"},"NoncurrentVersionTransitions":{"type":"list","member":{"type":"structure","members":{"Days":{"type":"integer"},"StorageClass":{}}}},"Prefix":{},"Status":{},"Transitions":{"type":"list","member":{"type":"structure","members":{"Date":{},"Days":{"type":"integer"},"StorageClass":{}}}}}}}}},"PublicAccessBlockConfiguration":{"shape":"S5d"},"AccessControlList":{},"BucketLoggingConfiguration":{"type":"structure","members":{"DestinationBucketName":{},"LogFilePrefix":{}}},"BucketWebsiteConfiguration":{"type":"structure","members":{"ErrorDocument":{},"IndexDocumentSuffix":{},"RedirectAllRequestsTo":{"type":"structure","members":{"Hostname":{},"Protocol":{}}},"RoutingRules":{"type":"list","member":{"type":"structure","members":{"Condition":{"type":"structure","members":{"HttpErrorCodeReturnedEquals":{},"KeyPrefixEquals":{}}},"Redirect":{"type":"structure","members":{"Hostname":{},"HttpRedirectCode":{},"Protocol":{},"ReplaceKeyPrefixWith":{},"ReplaceKeyWith":{}}}}}}}},"BucketNotificationConfiguration":{"type":"structure","members":{"Configurations":{"type":"list","member":{"type":"structure","members":{"Events":{"type":"list","member":{}},"Filter":{"type":"structure","members":{"S3KeyFilter":{"type":"structure","members":{"FilterRules":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}}}}}},"Destination":{},"Type":{}}}}}},"BucketVersioningConfiguration":{"type":"structure","members":{"IsMfaDeleteEnabled":{"type":"boolean"},"Status":{}}}}},"AwsS3AccountPublicAccessBlock":{"shape":"S5d"},"AwsS3Object":{"type":"structure","members":{"LastModified":{},"ETag":{},"VersionId":{},"ContentType":{},"ServerSideEncryption":{},"SSEKMSKeyId":{}}},"AwsSecretsManagerSecret":{"type":"structure","members":{"RotationRules":{"type":"structure","members":{"AutomaticallyAfterDays":{"type":"integer"}}},"RotationOccurredWithinFrequency":{"type":"boolean"},"KmsKeyId":{},"RotationEnabled":{"type":"boolean"},"RotationLambdaArn":{},"Deleted":{"type":"boolean"},"Name":{},"Description":{}}},"AwsIamAccessKey":{"type":"structure","members":{"UserName":{"deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use PrincipalName."},"Status":{},"CreatedAt":{},"PrincipalId":{},"PrincipalType":{},"PrincipalName":{},"AccountId":{},"AccessKeyId":{},"SessionContext":{"type":"structure","members":{"Attributes":{"type":"structure","members":{"MfaAuthenticated":{"type":"boolean"},"CreationDate":{}}},"SessionIssuer":{"type":"structure","members":{"Type":{},"PrincipalId":{},"Arn":{},"AccountId":{},"UserName":{}}}}}}},"AwsIamUser":{"type":"structure","members":{"AttachedManagedPolicies":{"shape":"S64"},"CreateDate":{},"GroupList":{"shape":"S15"},"Path":{},"PermissionsBoundary":{"shape":"S66"},"UserId":{},"UserName":{},"UserPolicyList":{"type":"list","member":{"type":"structure","members":{"PolicyName":{}}}}}},"AwsIamPolicy":{"type":"structure","members":{"AttachmentCount":{"type":"integer"},"CreateDate":{},"DefaultVersionId":{},"Description":{},"IsAttachable":{"type":"boolean"},"Path":{},"PermissionsBoundaryUsageCount":{"type":"integer"},"PolicyId":{},"PolicyName":{},"PolicyVersionList":{"type":"list","member":{"type":"structure","members":{"VersionId":{},"IsDefaultVersion":{"type":"boolean"},"CreateDate":{}}}},"UpdateDate":{}}},"AwsApiGatewayV2Stage":{"type":"structure","members":{"ClientCertificateId":{},"CreatedDate":{},"Description":{},"DefaultRouteSettings":{"shape":"S6d"},"DeploymentId":{},"LastUpdatedDate":{},"RouteSettings":{"shape":"S6d"},"StageName":{},"StageVariables":{"shape":"St"},"AccessLogSettings":{"shape":"S6e"},"AutoDeploy":{"type":"boolean"},"LastDeploymentStatusMessage":{},"ApiGatewayManaged":{"type":"boolean"}}},"AwsApiGatewayV2Api":{"type":"structure","members":{"ApiEndpoint":{},"ApiId":{},"ApiKeySelectionExpression":{},"CreatedDate":{},"Description":{},"Version":{},"Name":{},"ProtocolType":{},"RouteSelectionExpression":{},"CorsConfiguration":{"type":"structure","members":{"AllowOrigins":{"shape":"S2m"},"AllowCredentials":{"type":"boolean"},"ExposeHeaders":{"shape":"S2m"},"MaxAge":{"type":"integer"},"AllowMethods":{"shape":"S2m"},"AllowHeaders":{"shape":"S2m"}}}}},"AwsDynamoDbTable":{"type":"structure","members":{"AttributeDefinitions":{"type":"list","member":{"type":"structure","members":{"AttributeName":{},"AttributeType":{}}}},"BillingModeSummary":{"type":"structure","members":{"BillingMode":{},"LastUpdateToPayPerRequestDateTime":{}}},"CreationDateTime":{},"GlobalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"Backfilling":{"type":"boolean"},"IndexArn":{},"IndexName":{},"IndexSizeBytes":{"type":"long"},"IndexStatus":{},"ItemCount":{"type":"integer"},"KeySchema":{"shape":"S6o"},"Projection":{"shape":"S6q"},"ProvisionedThroughput":{"shape":"S6r"}}}},"GlobalTableVersion":{},"ItemCount":{"type":"integer"},"KeySchema":{"shape":"S6o"},"LatestStreamArn":{},"LatestStreamLabel":{},"LocalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexArn":{},"IndexName":{},"KeySchema":{"shape":"S6o"},"Projection":{"shape":"S6q"}}}},"ProvisionedThroughput":{"shape":"S6r"},"Replicas":{"type":"list","member":{"type":"structure","members":{"GlobalSecondaryIndexes":{"type":"list","member":{"type":"structure","members":{"IndexName":{},"ProvisionedThroughputOverride":{"shape":"S6y"}}}},"KmsMasterKeyId":{},"ProvisionedThroughputOverride":{"shape":"S6y"},"RegionName":{},"ReplicaStatus":{},"ReplicaStatusDescription":{}}}},"RestoreSummary":{"type":"structure","members":{"SourceBackupArn":{},"SourceTableArn":{},"RestoreDateTime":{},"RestoreInProgress":{"type":"boolean"}}},"SseDescription":{"type":"structure","members":{"InaccessibleEncryptionDateTime":{},"Status":{},"SseType":{},"KmsMasterKeyArn":{}}},"StreamSpecification":{"type":"structure","members":{"StreamEnabled":{"type":"boolean"},"StreamViewType":{}}},"TableId":{},"TableName":{},"TableSizeBytes":{"type":"long"},"TableStatus":{}}},"AwsApiGatewayStage":{"type":"structure","members":{"DeploymentId":{},"ClientCertificateId":{},"StageName":{},"Description":{},"CacheClusterEnabled":{"type":"boolean"},"CacheClusterSize":{},"CacheClusterStatus":{},"MethodSettings":{"type":"list","member":{"type":"structure","members":{"MetricsEnabled":{"type":"boolean"},"LoggingLevel":{},"DataTraceEnabled":{"type":"boolean"},"ThrottlingBurstLimit":{"type":"integer"},"ThrottlingRateLimit":{"type":"double"},"CachingEnabled":{"type":"boolean"},"CacheTtlInSeconds":{"type":"integer"},"CacheDataEncrypted":{"type":"boolean"},"RequireAuthorizationForCacheControl":{"type":"boolean"},"UnauthorizedCacheControlHeaderStrategy":{},"HttpMethod":{},"ResourcePath":{}}}},"Variables":{"shape":"St"},"DocumentationVersion":{},"AccessLogSettings":{"shape":"S6e"},"CanarySettings":{"type":"structure","members":{"PercentTraffic":{"type":"double"},"DeploymentId":{},"StageVariableOverrides":{"shape":"St"},"UseStageCache":{"type":"boolean"}}},"TracingEnabled":{"type":"boolean"},"CreatedDate":{},"LastUpdatedDate":{},"WebAclArn":{}}},"AwsApiGatewayRestApi":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"CreatedDate":{},"Version":{},"BinaryMediaTypes":{"shape":"S2m"},"MinimumCompressionSize":{"type":"integer"},"ApiKeySource":{},"EndpointConfiguration":{"type":"structure","members":{"Types":{"shape":"S2m"}}}}},"AwsCloudTrailTrail":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"CloudWatchLogsRoleArn":{},"HasCustomEventSelectors":{"type":"boolean"},"HomeRegion":{},"IncludeGlobalServiceEvents":{"type":"boolean"},"IsMultiRegionTrail":{"type":"boolean"},"IsOrganizationTrail":{"type":"boolean"},"KmsKeyId":{},"LogFileValidationEnabled":{"type":"boolean"},"Name":{},"S3BucketName":{},"S3KeyPrefix":{},"SnsTopicArn":{},"SnsTopicName":{},"TrailArn":{}}},"AwsSsmPatchCompliance":{"type":"structure","members":{"Patch":{"type":"structure","members":{"ComplianceSummary":{"type":"structure","members":{"Status":{},"CompliantCriticalCount":{"type":"integer"},"CompliantHighCount":{"type":"integer"},"CompliantMediumCount":{"type":"integer"},"ExecutionType":{},"NonCompliantCriticalCount":{"type":"integer"},"CompliantInformationalCount":{"type":"integer"},"NonCompliantInformationalCount":{"type":"integer"},"CompliantUnspecifiedCount":{"type":"integer"},"NonCompliantLowCount":{"type":"integer"},"NonCompliantHighCount":{"type":"integer"},"CompliantLowCount":{"type":"integer"},"ComplianceType":{},"PatchBaselineId":{},"OverallSeverity":{},"NonCompliantMediumCount":{"type":"integer"},"NonCompliantUnspecifiedCount":{"type":"integer"},"PatchGroup":{}}}}}}},"AwsCertificateManagerCertificate":{"type":"structure","members":{"CertificateAuthorityArn":{},"CreatedAt":{},"DomainName":{},"DomainValidationOptions":{"shape":"S7d"},"ExtendedKeyUsages":{"type":"list","member":{"type":"structure","members":{"Name":{},"OId":{}}}},"FailureReason":{},"ImportedAt":{},"InUseBy":{"shape":"S15"},"IssuedAt":{},"Issuer":{},"KeyAlgorithm":{},"KeyUsages":{"type":"list","member":{"type":"structure","members":{"Name":{}}}},"NotAfter":{},"NotBefore":{},"Options":{"type":"structure","members":{"CertificateTransparencyLoggingPreference":{}}},"RenewalEligibility":{},"RenewalSummary":{"type":"structure","members":{"DomainValidationOptions":{"shape":"S7d"},"RenewalStatus":{},"RenewalStatusReason":{},"UpdatedAt":{}}},"Serial":{},"SignatureAlgorithm":{},"Status":{},"Subject":{},"SubjectAlternativeNames":{"shape":"S15"},"Type":{}}},"AwsRedshiftCluster":{"type":"structure","members":{"AllowVersionUpgrade":{"type":"boolean"},"AutomatedSnapshotRetentionPeriod":{"type":"integer"},"AvailabilityZone":{},"ClusterAvailabilityStatus":{},"ClusterCreateTime":{},"ClusterIdentifier":{},"ClusterNodes":{"type":"list","member":{"type":"structure","members":{"NodeRole":{},"PrivateIpAddress":{},"PublicIpAddress":{}}}},"ClusterParameterGroups":{"type":"list","member":{"type":"structure","members":{"ClusterParameterStatusList":{"type":"list","member":{"type":"structure","members":{"ParameterName":{},"ParameterApplyStatus":{},"ParameterApplyErrorDescription":{}}}},"ParameterApplyStatus":{},"ParameterGroupName":{}}}},"ClusterPublicKey":{},"ClusterRevisionNumber":{},"ClusterSecurityGroups":{"type":"list","member":{"type":"structure","members":{"ClusterSecurityGroupName":{},"Status":{}}}},"ClusterSnapshotCopyStatus":{"type":"structure","members":{"DestinationRegion":{},"ManualSnapshotRetentionPeriod":{"type":"integer"},"RetentionPeriod":{"type":"integer"},"SnapshotCopyGrantName":{}}},"ClusterStatus":{},"ClusterSubnetGroupName":{},"ClusterVersion":{},"DBName":{},"DeferredMaintenanceWindows":{"type":"list","member":{"type":"structure","members":{"DeferMaintenanceEndTime":{},"DeferMaintenanceIdentifier":{},"DeferMaintenanceStartTime":{}}}},"ElasticIpStatus":{"type":"structure","members":{"ElasticIp":{},"Status":{}}},"ElasticResizeNumberOfNodeOptions":{},"Encrypted":{"type":"boolean"},"Endpoint":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"}}},"EnhancedVpcRouting":{"type":"boolean"},"ExpectedNextSnapshotScheduleTime":{},"ExpectedNextSnapshotScheduleTimeStatus":{},"HsmStatus":{"type":"structure","members":{"HsmClientCertificateIdentifier":{},"HsmConfigurationIdentifier":{},"Status":{}}},"IamRoles":{"type":"list","member":{"type":"structure","members":{"ApplyStatus":{},"IamRoleArn":{}}}},"KmsKeyId":{},"MaintenanceTrackName":{},"ManualSnapshotRetentionPeriod":{"type":"integer"},"MasterUsername":{},"NextMaintenanceWindowStartTime":{},"NodeType":{},"NumberOfNodes":{"type":"integer"},"PendingActions":{"shape":"S15"},"PendingModifiedValues":{"type":"structure","members":{"AutomatedSnapshotRetentionPeriod":{"type":"integer"},"ClusterIdentifier":{},"ClusterType":{},"ClusterVersion":{},"EncryptionType":{},"EnhancedVpcRouting":{"type":"boolean"},"MaintenanceTrackName":{},"MasterUserPassword":{},"NodeType":{},"NumberOfNodes":{"type":"integer"},"PubliclyAccessible":{"type":"boolean"}}},"PreferredMaintenanceWindow":{},"PubliclyAccessible":{"type":"boolean"},"ResizeInfo":{"type":"structure","members":{"AllowCancelResize":{"type":"boolean"},"ResizeType":{}}},"RestoreStatus":{"type":"structure","members":{"CurrentRestoreRateInMegaBytesPerSecond":{"type":"double"},"ElapsedTimeInSeconds":{"type":"long"},"EstimatedTimeToCompletionInSeconds":{"type":"long"},"ProgressInMegaBytes":{"type":"long"},"SnapshotSizeInMegaBytes":{"type":"long"},"Status":{}}},"SnapshotScheduleIdentifier":{},"SnapshotScheduleState":{},"VpcId":{},"VpcSecurityGroups":{"type":"list","member":{"type":"structure","members":{"Status":{},"VpcSecurityGroupId":{}}}}}},"AwsElbLoadBalancer":{"type":"structure","members":{"AvailabilityZones":{"shape":"S15"},"BackendServerDescriptions":{"type":"list","member":{"type":"structure","members":{"InstancePort":{"type":"integer"},"PolicyNames":{"shape":"S15"}}}},"CanonicalHostedZoneName":{},"CanonicalHostedZoneNameID":{},"CreatedTime":{},"DnsName":{},"HealthCheck":{"type":"structure","members":{"HealthyThreshold":{"type":"integer"},"Interval":{"type":"integer"},"Target":{},"Timeout":{"type":"integer"},"UnhealthyThreshold":{"type":"integer"}}},"Instances":{"type":"list","member":{"type":"structure","members":{"InstanceId":{}}}},"ListenerDescriptions":{"type":"list","member":{"type":"structure","members":{"Listener":{"type":"structure","members":{"InstancePort":{"type":"integer"},"InstanceProtocol":{},"LoadBalancerPort":{"type":"integer"},"Protocol":{},"SslCertificateId":{}}},"PolicyNames":{"shape":"S15"}}}},"LoadBalancerAttributes":{"type":"structure","members":{"AccessLog":{"type":"structure","members":{"EmitInterval":{"type":"integer"},"Enabled":{"type":"boolean"},"S3BucketName":{},"S3BucketPrefix":{}}},"ConnectionDraining":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Timeout":{"type":"integer"}}},"ConnectionSettings":{"type":"structure","members":{"IdleTimeout":{"type":"integer"}}},"CrossZoneLoadBalancing":{"type":"structure","members":{"Enabled":{"type":"boolean"}}}}},"LoadBalancerName":{},"Policies":{"type":"structure","members":{"AppCookieStickinessPolicies":{"type":"list","member":{"type":"structure","members":{"CookieName":{},"PolicyName":{}}}},"LbCookieStickinessPolicies":{"type":"list","member":{"type":"structure","members":{"CookieExpirationPeriod":{"type":"long"},"PolicyName":{}}}},"OtherPolicies":{"shape":"S15"}}},"Scheme":{},"SecurityGroups":{"shape":"S15"},"SourceSecurityGroup":{"type":"structure","members":{"GroupName":{},"OwnerAlias":{}}},"Subnets":{"shape":"S15"},"VpcId":{}}},"AwsIamGroup":{"type":"structure","members":{"AttachedManagedPolicies":{"shape":"S64"},"CreateDate":{},"GroupId":{},"GroupName":{},"GroupPolicyList":{"type":"list","member":{"type":"structure","members":{"PolicyName":{}}}},"Path":{}}},"AwsIamRole":{"type":"structure","members":{"AssumeRolePolicyDocument":{},"AttachedManagedPolicies":{"shape":"S64"},"CreateDate":{},"InstanceProfileList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreateDate":{},"InstanceProfileId":{},"InstanceProfileName":{},"Path":{},"Roles":{"type":"list","member":{"type":"structure","members":{"Arn":{},"AssumeRolePolicyDocument":{},"CreateDate":{},"Path":{},"RoleId":{},"RoleName":{}}}}}}},"PermissionsBoundary":{"shape":"S66"},"RoleId":{},"RoleName":{},"RolePolicyList":{"type":"list","member":{"type":"structure","members":{"PolicyName":{}}}},"MaxSessionDuration":{"type":"integer"},"Path":{}}},"AwsKmsKey":{"type":"structure","members":{"AWSAccountId":{},"CreationDate":{"type":"double"},"KeyId":{},"KeyManager":{},"KeyState":{},"Origin":{},"Description":{},"KeyRotationStatus":{"type":"boolean"}}},"AwsLambdaFunction":{"type":"structure","members":{"Code":{"type":"structure","members":{"S3Bucket":{},"S3Key":{},"S3ObjectVersion":{},"ZipFile":{}}},"CodeSha256":{},"DeadLetterConfig":{"type":"structure","members":{"TargetArn":{}}},"Environment":{"type":"structure","members":{"Variables":{"shape":"St"},"Error":{"type":"structure","members":{"ErrorCode":{},"Message":{}}}}},"FunctionName":{},"Handler":{},"KmsKeyArn":{},"LastModified":{},"Layers":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CodeSize":{"type":"integer"}}}},"MasterArn":{},"MemorySize":{"type":"integer"},"RevisionId":{},"Role":{},"Runtime":{},"Timeout":{"type":"integer"},"TracingConfig":{"type":"structure","members":{"Mode":{}}},"VpcConfig":{"type":"structure","members":{"SecurityGroupIds":{"shape":"S2m"},"SubnetIds":{"shape":"S2m"},"VpcId":{}}},"Version":{}}},"AwsLambdaLayerVersion":{"type":"structure","members":{"Version":{"type":"long"},"CompatibleRuntimes":{"shape":"S2m"},"CreatedDate":{}}},"AwsRdsDbInstance":{"type":"structure","members":{"AssociatedRoles":{"type":"list","member":{"type":"structure","members":{"RoleArn":{},"FeatureName":{},"Status":{}}}},"CACertificateIdentifier":{},"DBClusterIdentifier":{},"DBInstanceIdentifier":{},"DBInstanceClass":{},"DbInstancePort":{"type":"integer"},"DbiResourceId":{},"DBName":{},"DeletionProtection":{"type":"boolean"},"Endpoint":{"shape":"S9i"},"Engine":{},"EngineVersion":{},"IAMDatabaseAuthenticationEnabled":{"type":"boolean"},"InstanceCreateTime":{},"KmsKeyId":{},"PubliclyAccessible":{"type":"boolean"},"StorageEncrypted":{"type":"boolean"},"TdeCredentialArn":{},"VpcSecurityGroups":{"shape":"S9j"},"MultiAz":{"type":"boolean"},"EnhancedMonitoringResourceArn":{},"DbInstanceStatus":{},"MasterUsername":{},"AllocatedStorage":{"type":"integer"},"PreferredBackupWindow":{},"BackupRetentionPeriod":{"type":"integer"},"DbSecurityGroups":{"shape":"S15"},"DbParameterGroups":{"type":"list","member":{"type":"structure","members":{"DbParameterGroupName":{},"ParameterApplyStatus":{}}}},"AvailabilityZone":{},"DbSubnetGroup":{"type":"structure","members":{"DbSubnetGroupName":{},"DbSubnetGroupDescription":{},"VpcId":{},"SubnetGroupStatus":{},"Subnets":{"type":"list","member":{"type":"structure","members":{"SubnetIdentifier":{},"SubnetAvailabilityZone":{"type":"structure","members":{"Name":{}}},"SubnetStatus":{}}}},"DbSubnetGroupArn":{}}},"PreferredMaintenanceWindow":{},"PendingModifiedValues":{"type":"structure","members":{"DbInstanceClass":{},"AllocatedStorage":{"type":"integer"},"MasterUserPassword":{},"Port":{"type":"integer"},"BackupRetentionPeriod":{"type":"integer"},"MultiAZ":{"type":"boolean"},"EngineVersion":{},"LicenseModel":{},"Iops":{"type":"integer"},"DbInstanceIdentifier":{},"StorageType":{},"CaCertificateIdentifier":{},"DbSubnetGroupName":{},"PendingCloudWatchLogsExports":{"type":"structure","members":{"LogTypesToEnable":{"shape":"S15"},"LogTypesToDisable":{"shape":"S15"}}},"ProcessorFeatures":{"shape":"S9t"}}},"LatestRestorableTime":{},"AutoMinorVersionUpgrade":{"type":"boolean"},"ReadReplicaSourceDBInstanceIdentifier":{},"ReadReplicaDBInstanceIdentifiers":{"shape":"S15"},"ReadReplicaDBClusterIdentifiers":{"shape":"S15"},"LicenseModel":{},"Iops":{"type":"integer"},"OptionGroupMemberships":{"type":"list","member":{"type":"structure","members":{"OptionGroupName":{},"Status":{}}}},"CharacterSetName":{},"SecondaryAvailabilityZone":{},"StatusInfos":{"type":"list","member":{"type":"structure","members":{"StatusType":{},"Normal":{"type":"boolean"},"Status":{},"Message":{}}}},"StorageType":{},"DomainMemberships":{"shape":"S9z"},"CopyTagsToSnapshot":{"type":"boolean"},"MonitoringInterval":{"type":"integer"},"MonitoringRoleArn":{},"PromotionTier":{"type":"integer"},"Timezone":{},"PerformanceInsightsEnabled":{"type":"boolean"},"PerformanceInsightsKmsKeyId":{},"PerformanceInsightsRetentionPeriod":{"type":"integer"},"EnabledCloudWatchLogsExports":{"shape":"S15"},"ProcessorFeatures":{"shape":"S9t"},"ListenerEndpoint":{"shape":"S9i"},"MaxAllocatedStorage":{"type":"integer"}}},"AwsSnsTopic":{"type":"structure","members":{"KmsMasterKeyId":{},"Subscription":{"type":"list","member":{"type":"structure","members":{"Endpoint":{},"Protocol":{}}}},"TopicName":{},"Owner":{}}},"AwsSqsQueue":{"type":"structure","members":{"KmsDataKeyReusePeriodSeconds":{"type":"integer"},"KmsMasterKeyId":{},"QueueName":{},"DeadLetterTargetArn":{}}},"AwsWafWebAcl":{"type":"structure","members":{"Name":{},"DefaultAction":{},"Rules":{"type":"list","member":{"type":"structure","members":{"Action":{"type":"structure","members":{"Type":{}}},"ExcludedRules":{"type":"list","member":{"type":"structure","members":{"RuleId":{}}}},"OverrideAction":{"type":"structure","members":{"Type":{}}},"Priority":{"type":"integer"},"RuleId":{},"Type":{}}}},"WebAclId":{}}},"AwsRdsDbSnapshot":{"type":"structure","members":{"DbSnapshotIdentifier":{},"DbInstanceIdentifier":{},"SnapshotCreateTime":{},"Engine":{},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"AvailabilityZone":{},"VpcId":{},"InstanceCreateTime":{},"MasterUsername":{},"EngineVersion":{},"LicenseModel":{},"SnapshotType":{},"Iops":{"type":"integer"},"OptionGroupName":{},"PercentProgress":{"type":"integer"},"SourceRegion":{},"SourceDbSnapshotIdentifier":{},"StorageType":{},"TdeCredentialArn":{},"Encrypted":{"type":"boolean"},"KmsKeyId":{},"Timezone":{},"IamDatabaseAuthenticationEnabled":{"type":"boolean"},"ProcessorFeatures":{"shape":"S9t"},"DbiResourceId":{}}},"AwsRdsDbClusterSnapshot":{"type":"structure","members":{"AvailabilityZones":{"shape":"S15"},"SnapshotCreateTime":{},"Engine":{},"AllocatedStorage":{"type":"integer"},"Status":{},"Port":{"type":"integer"},"VpcId":{},"ClusterCreateTime":{},"MasterUsername":{},"EngineVersion":{},"LicenseModel":{},"SnapshotType":{},"PercentProgress":{"type":"integer"},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbClusterIdentifier":{},"DbClusterSnapshotIdentifier":{},"IamDatabaseAuthenticationEnabled":{"type":"boolean"}}},"AwsRdsDbCluster":{"type":"structure","members":{"AllocatedStorage":{"type":"integer"},"AvailabilityZones":{"shape":"S15"},"BackupRetentionPeriod":{"type":"integer"},"DatabaseName":{},"Status":{},"Endpoint":{},"ReaderEndpoint":{},"CustomEndpoints":{"shape":"S15"},"MultiAz":{"type":"boolean"},"Engine":{},"EngineVersion":{},"Port":{"type":"integer"},"MasterUsername":{},"PreferredBackupWindow":{},"PreferredMaintenanceWindow":{},"ReadReplicaIdentifiers":{"shape":"S15"},"VpcSecurityGroups":{"shape":"S9j"},"HostedZoneId":{},"StorageEncrypted":{"type":"boolean"},"KmsKeyId":{},"DbClusterResourceId":{},"AssociatedRoles":{"type":"list","member":{"type":"structure","members":{"RoleArn":{},"Status":{}}}},"ClusterCreateTime":{},"EnabledCloudWatchLogsExports":{"shape":"S15"},"EngineMode":{},"DeletionProtection":{"type":"boolean"},"HttpEndpointEnabled":{"type":"boolean"},"ActivityStreamStatus":{},"CopyTagsToSnapshot":{"type":"boolean"},"CrossAccountClone":{"type":"boolean"},"DomainMemberships":{"shape":"S9z"},"DbClusterParameterGroup":{},"DbSubnetGroup":{},"DbClusterOptionGroupMemberships":{"type":"list","member":{"type":"structure","members":{"DbClusterOptionGroupName":{},"Status":{}}}},"DbClusterIdentifier":{},"DbClusterMembers":{"type":"list","member":{"type":"structure","members":{"IsClusterWriter":{"type":"boolean"},"PromotionTier":{"type":"integer"},"DbInstanceIdentifier":{},"DbClusterParameterGroupStatus":{}}}},"IamDatabaseAuthenticationEnabled":{"type":"boolean"}}},"AwsEcsCluster":{"type":"structure","members":{"CapacityProviders":{"shape":"S2m"},"ClusterSettings":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"Configuration":{"type":"structure","members":{"ExecuteCommandConfiguration":{"type":"structure","members":{"KmsKeyId":{},"LogConfiguration":{"type":"structure","members":{"CloudWatchEncryptionEnabled":{"type":"boolean"},"CloudWatchLogGroupName":{},"S3BucketName":{},"S3EncryptionEnabled":{"type":"boolean"},"S3KeyPrefix":{}}},"Logging":{}}}}},"DefaultCapacityProviderStrategy":{"type":"list","member":{"type":"structure","members":{"Base":{"type":"integer"},"CapacityProvider":{},"Weight":{"type":"integer"}}}}}},"AwsEcsTaskDefinition":{"type":"structure","members":{"ContainerDefinitions":{"type":"list","member":{"type":"structure","members":{"Command":{"shape":"S2m"},"Cpu":{"type":"integer"},"DependsOn":{"type":"list","member":{"type":"structure","members":{"Condition":{},"ContainerName":{}}}},"DisableNetworking":{"type":"boolean"},"DnsSearchDomains":{"shape":"S2m"},"DnsServers":{"shape":"S2m"},"DockerLabels":{"shape":"St"},"DockerSecurityOptions":{"shape":"S2m"},"EntryPoint":{"shape":"S2m"},"Environment":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"EnvironmentFiles":{"type":"list","member":{"type":"structure","members":{"Type":{},"Value":{}}}},"Essential":{"type":"boolean"},"ExtraHosts":{"type":"list","member":{"type":"structure","members":{"Hostname":{},"IpAddress":{}}}},"FirelensConfiguration":{"type":"structure","members":{"Options":{"shape":"St"},"Type":{}}},"HealthCheck":{"type":"structure","members":{"Command":{"shape":"S2m"},"Interval":{"type":"integer"},"Retries":{"type":"integer"},"StartPeriod":{"type":"integer"},"Timeout":{"type":"integer"}}},"Hostname":{},"Image":{},"Interactive":{"type":"boolean"},"Links":{"shape":"S2m"},"LinuxParameters":{"type":"structure","members":{"Capabilities":{"type":"structure","members":{"Add":{"shape":"S2m"},"Drop":{"shape":"S2m"}}},"Devices":{"type":"list","member":{"type":"structure","members":{"ContainerPath":{},"HostPath":{},"Permissions":{"shape":"S2m"}}}},"InitProcessEnabled":{"type":"boolean"},"MaxSwap":{"type":"integer"},"SharedMemorySize":{"type":"integer"},"Swappiness":{"type":"integer"},"Tmpfs":{"type":"list","member":{"type":"structure","members":{"ContainerPath":{},"MountOptions":{"shape":"S2m"},"Size":{"type":"integer"}}}}}},"LogConfiguration":{"type":"structure","members":{"LogDriver":{},"Options":{"shape":"St"},"SecretOptions":{"type":"list","member":{"type":"structure","members":{"Name":{},"ValueFrom":{}}}}}},"Memory":{"type":"integer"},"MemoryReservation":{"type":"integer"},"MountPoints":{"type":"list","member":{"type":"structure","members":{"ContainerPath":{},"ReadOnly":{"type":"boolean"},"SourceVolume":{}}}},"Name":{},"PortMappings":{"type":"list","member":{"type":"structure","members":{"ContainerPort":{"type":"integer"},"HostPort":{"type":"integer"},"Protocol":{}}}},"Privileged":{"type":"boolean"},"PseudoTerminal":{"type":"boolean"},"ReadonlyRootFilesystem":{"type":"boolean"},"RepositoryCredentials":{"type":"structure","members":{"CredentialsParameter":{}}},"ResourceRequirements":{"type":"list","member":{"type":"structure","members":{"Type":{},"Value":{}}}},"Secrets":{"type":"list","member":{"type":"structure","members":{"Name":{},"ValueFrom":{}}}},"StartTimeout":{"type":"integer"},"StopTimeout":{"type":"integer"},"SystemControls":{"type":"list","member":{"type":"structure","members":{"Namespace":{},"Value":{}}}},"Ulimits":{"type":"list","member":{"type":"structure","members":{"HardLimit":{"type":"integer"},"Name":{},"SoftLimit":{"type":"integer"}}}},"User":{},"VolumesFrom":{"type":"list","member":{"type":"structure","members":{"ReadOnly":{"type":"boolean"},"SourceContainer":{}}}},"WorkingDirectory":{}}}},"Cpu":{},"ExecutionRoleArn":{},"Family":{},"InferenceAccelerators":{"type":"list","member":{"type":"structure","members":{"DeviceName":{},"DeviceType":{}}}},"IpcMode":{},"Memory":{},"NetworkMode":{},"PidMode":{},"PlacementConstraints":{"type":"list","member":{"type":"structure","members":{"Expression":{},"Type":{}}}},"ProxyConfiguration":{"type":"structure","members":{"ContainerName":{},"ProxyConfigurationProperties":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"Type":{}}},"RequiresCompatibilities":{"shape":"S2m"},"TaskRoleArn":{},"Volumes":{"type":"list","member":{"type":"structure","members":{"DockerVolumeConfiguration":{"type":"structure","members":{"Autoprovision":{"type":"boolean"},"Driver":{},"DriverOpts":{"shape":"St"},"Labels":{"shape":"St"},"Scope":{}}},"EfsVolumeConfiguration":{"type":"structure","members":{"AuthorizationConfig":{"type":"structure","members":{"AccessPointId":{},"Iam":{}}},"FilesystemId":{},"RootDirectory":{},"TransitEncryption":{},"TransitEncryptionPort":{"type":"integer"}}},"Host":{"type":"structure","members":{"SourcePath":{}}},"Name":{}}}}}},"Container":{"type":"structure","members":{"Name":{},"ImageId":{},"ImageName":{},"LaunchedAt":{}}},"Other":{"shape":"St"},"AwsRdsEventSubscription":{"type":"structure","members":{"CustSubscriptionId":{},"CustomerAwsId":{},"Enabled":{"type":"boolean"},"EventCategoriesList":{"shape":"S2m"},"EventSubscriptionArn":{},"SnsTopicArn":{},"SourceIdsList":{"shape":"S2m"},"SourceType":{},"Status":{},"SubscriptionCreationTime":{}}},"AwsEcsService":{"type":"structure","members":{"CapacityProviderStrategy":{"type":"list","member":{"type":"structure","members":{"Base":{"type":"integer"},"CapacityProvider":{},"Weight":{"type":"integer"}}}},"Cluster":{},"DeploymentConfiguration":{"type":"structure","members":{"DeploymentCircuitBreaker":{"type":"structure","members":{"Enable":{"type":"boolean"},"Rollback":{"type":"boolean"}}},"MaximumPercent":{"type":"integer"},"MinimumHealthyPercent":{"type":"integer"}}},"DeploymentController":{"type":"structure","members":{"Type":{}}},"DesiredCount":{"type":"integer"},"EnableEcsManagedTags":{"type":"boolean"},"EnableExecuteCommand":{"type":"boolean"},"HealthCheckGracePeriodSeconds":{"type":"integer"},"LaunchType":{},"LoadBalancers":{"type":"list","member":{"type":"structure","members":{"ContainerName":{},"ContainerPort":{"type":"integer"},"LoadBalancerName":{},"TargetGroupArn":{}}}},"Name":{},"NetworkConfiguration":{"type":"structure","members":{"AwsVpcConfiguration":{"type":"structure","members":{"AssignPublicIp":{},"SecurityGroups":{"shape":"S2m"},"Subnets":{"shape":"S2m"}}}}},"PlacementConstraints":{"type":"list","member":{"type":"structure","members":{"Expression":{},"Type":{}}}},"PlacementStrategies":{"type":"list","member":{"type":"structure","members":{"Field":{},"Type":{}}}},"PlatformVersion":{},"PropagateTags":{},"Role":{},"SchedulingStrategy":{},"ServiceArn":{},"ServiceName":{},"ServiceRegistries":{"type":"list","member":{"type":"structure","members":{"ContainerName":{},"ContainerPort":{"type":"integer"},"Port":{"type":"integer"},"RegistryArn":{}}}},"TaskDefinition":{}}},"AwsAutoScalingLaunchConfiguration":{"type":"structure","members":{"AssociatePublicIpAddress":{"type":"boolean"},"BlockDeviceMappings":{"type":"list","member":{"type":"structure","members":{"DeviceName":{},"Ebs":{"type":"structure","members":{"DeleteOnTermination":{"type":"boolean"},"Encrypted":{"type":"boolean"},"Iops":{"type":"integer"},"SnapshotId":{},"VolumeSize":{"type":"integer"},"VolumeType":{}}},"NoDevice":{"type":"boolean"},"VirtualName":{}}}},"ClassicLinkVpcId":{},"ClassicLinkVpcSecurityGroups":{"shape":"S2m"},"CreatedTime":{},"EbsOptimized":{"type":"boolean"},"IamInstanceProfile":{},"ImageId":{},"InstanceMonitoring":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"InstanceType":{},"KernelId":{},"KeyName":{},"LaunchConfigurationName":{},"PlacementTenancy":{},"RamdiskId":{},"SecurityGroups":{"shape":"S2m"},"SpotPrice":{},"UserData":{},"MetadataOptions":{"type":"structure","members":{"HttpEndpoint":{},"HttpPutResponseHopLimit":{"type":"integer"},"HttpTokens":{}}}}},"AwsEc2VpnConnection":{"type":"structure","members":{"VpnConnectionId":{},"State":{},"CustomerGatewayId":{},"CustomerGatewayConfiguration":{},"Type":{},"VpnGatewayId":{},"Category":{},"VgwTelemetry":{"type":"list","member":{"type":"structure","members":{"AcceptedRouteCount":{"type":"integer"},"CertificateArn":{},"LastStatusChange":{},"OutsideIpAddress":{},"Status":{},"StatusMessage":{}}}},"Options":{"type":"structure","members":{"StaticRoutesOnly":{"type":"boolean"},"TunnelOptions":{"type":"list","member":{"type":"structure","members":{"DpdTimeoutSeconds":{"type":"integer"},"IkeVersions":{"shape":"S2m"},"OutsideIpAddress":{},"Phase1DhGroupNumbers":{"shape":"Sd1"},"Phase1EncryptionAlgorithms":{"shape":"S2m"},"Phase1IntegrityAlgorithms":{"shape":"S2m"},"Phase1LifetimeSeconds":{"type":"integer"},"Phase2DhGroupNumbers":{"shape":"Sd1"},"Phase2EncryptionAlgorithms":{"shape":"S2m"},"Phase2IntegrityAlgorithms":{"shape":"S2m"},"Phase2LifetimeSeconds":{"type":"integer"},"PreSharedKey":{},"RekeyFuzzPercentage":{"type":"integer"},"RekeyMarginTimeSeconds":{"type":"integer"},"ReplayWindowSize":{"type":"integer"},"TunnelInsideCidr":{}}}}}},"Routes":{"type":"list","member":{"type":"structure","members":{"DestinationCidrBlock":{},"State":{}}}},"TransitGatewayId":{}}},"AwsEcrContainerImage":{"type":"structure","members":{"RegistryId":{},"RepositoryName":{},"Architecture":{},"ImageDigest":{},"ImageTags":{"shape":"S2m"},"ImagePublishedAt":{}}},"AwsOpenSearchServiceDomain":{"type":"structure","members":{"Arn":{},"AccessPolicies":{},"DomainName":{},"Id":{},"DomainEndpoint":{},"EngineVersion":{},"EncryptionAtRestOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"NodeToNodeEncryptionOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"ServiceSoftwareOptions":{"type":"structure","members":{"AutomatedUpdateDate":{},"Cancellable":{"type":"boolean"},"CurrentVersion":{},"Description":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"UpdateStatus":{},"OptionalDeployment":{"type":"boolean"}}},"ClusterConfig":{"type":"structure","members":{"InstanceCount":{"type":"integer"},"WarmEnabled":{"type":"boolean"},"WarmCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"DedicatedMasterCount":{"type":"integer"},"InstanceType":{},"WarmType":{},"ZoneAwarenessEnabled":{"type":"boolean"},"DedicatedMasterType":{}}},"DomainEndpointOptions":{"type":"structure","members":{"CustomEndpointCertificateArn":{},"CustomEndpointEnabled":{"type":"boolean"},"EnforceHTTPS":{"type":"boolean"},"CustomEndpoint":{},"TLSSecurityPolicy":{}}},"VpcOptions":{"type":"structure","members":{"SecurityGroupIds":{"shape":"S2m"},"SubnetIds":{"shape":"S2m"}}},"LogPublishingOptions":{"type":"structure","members":{"IndexSlowLogs":{"shape":"Sde"},"SearchSlowLogs":{"shape":"Sde"},"AuditLogs":{"shape":"Sde"}}},"DomainEndpoints":{"shape":"St"}}},"AwsEc2VpcEndpointService":{"type":"structure","members":{"AcceptanceRequired":{"type":"boolean"},"AvailabilityZones":{"shape":"S2m"},"BaseEndpointDnsNames":{"shape":"S2m"},"ManagesVpcEndpoints":{"type":"boolean"},"GatewayLoadBalancerArns":{"shape":"S2m"},"NetworkLoadBalancerArns":{"shape":"S2m"},"PrivateDnsName":{},"ServiceId":{},"ServiceName":{},"ServiceState":{},"ServiceType":{"type":"list","member":{"type":"structure","members":{"ServiceType":{}}}}}},"AwsXrayEncryptionConfig":{"type":"structure","members":{"KeyId":{},"Status":{},"Type":{}}},"AwsWafRateBasedRule":{"type":"structure","members":{"MetricName":{},"Name":{},"RateKey":{},"RateLimit":{"type":"long"},"RuleId":{},"MatchPredicates":{"type":"list","member":{"type":"structure","members":{"DataId":{},"Negated":{"type":"boolean"},"Type":{}}}}}},"AwsWafRegionalRateBasedRule":{"type":"structure","members":{"MetricName":{},"Name":{},"RateKey":{},"RateLimit":{"type":"long"},"RuleId":{},"MatchPredicates":{"type":"list","member":{"type":"structure","members":{"DataId":{},"Negated":{"type":"boolean"},"Type":{}}}}}},"AwsEcrRepository":{"type":"structure","members":{"Arn":{},"ImageScanningConfiguration":{"type":"structure","members":{"ScanOnPush":{"type":"boolean"}}},"ImageTagMutability":{},"LifecyclePolicy":{"type":"structure","members":{"LifecyclePolicyText":{},"RegistryId":{}}},"RepositoryName":{},"RepositoryPolicyText":{}}},"AwsEksCluster":{"type":"structure","members":{"Arn":{},"CertificateAuthorityData":{},"ClusterStatus":{},"Endpoint":{},"Name":{},"ResourcesVpcConfig":{"type":"structure","members":{"SecurityGroupIds":{"shape":"S2m"},"SubnetIds":{"shape":"S2m"}}},"RoleArn":{},"Version":{},"Logging":{"type":"structure","members":{"ClusterLogging":{"type":"list","member":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Types":{"shape":"S2m"}}}}}}}},"AwsNetworkFirewallFirewallPolicy":{"type":"structure","members":{"FirewallPolicy":{"type":"structure","members":{"StatefulRuleGroupReferences":{"type":"list","member":{"type":"structure","members":{"ResourceArn":{}}}},"StatelessCustomActions":{"type":"list","member":{"type":"structure","members":{"ActionDefinition":{"shape":"Se3"},"ActionName":{}}}},"StatelessDefaultActions":{"shape":"S2m"},"StatelessFragmentDefaultActions":{"shape":"S2m"},"StatelessRuleGroupReferences":{"type":"list","member":{"type":"structure","members":{"Priority":{"type":"integer"},"ResourceArn":{}}}}}},"FirewallPolicyArn":{},"FirewallPolicyId":{},"FirewallPolicyName":{},"Description":{}}},"AwsNetworkFirewallFirewall":{"type":"structure","members":{"DeleteProtection":{"type":"boolean"},"Description":{},"FirewallArn":{},"FirewallId":{},"FirewallName":{},"FirewallPolicyArn":{},"FirewallPolicyChangeProtection":{"type":"boolean"},"SubnetChangeProtection":{"type":"boolean"},"SubnetMappings":{"type":"list","member":{"type":"structure","members":{"SubnetId":{}}}},"VpcId":{}}},"AwsNetworkFirewallRuleGroup":{"type":"structure","members":{"Capacity":{"type":"integer"},"Description":{},"RuleGroup":{"type":"structure","members":{"RuleVariables":{"type":"structure","members":{"IpSets":{"type":"structure","members":{"Definition":{"shape":"S2m"}}},"PortSets":{"type":"structure","members":{"Definition":{"shape":"S2m"}}}}},"RulesSource":{"type":"structure","members":{"RulesSourceList":{"type":"structure","members":{"GeneratedRulesType":{},"TargetTypes":{"shape":"S2m"},"Targets":{"shape":"S2m"}}},"RulesString":{},"StatefulRules":{"type":"list","member":{"type":"structure","members":{"Action":{},"Header":{"type":"structure","members":{"Destination":{},"DestinationPort":{},"Direction":{},"Protocol":{},"Source":{},"SourcePort":{}}},"RuleOptions":{"type":"list","member":{"type":"structure","members":{"Keyword":{},"Settings":{"type":"list","member":{}}}}}}}},"StatelessRulesAndCustomActions":{"type":"structure","members":{"CustomActions":{"type":"list","member":{"type":"structure","members":{"ActionDefinition":{"shape":"Se3"},"ActionName":{}}}},"StatelessRules":{"type":"list","member":{"type":"structure","members":{"Priority":{"type":"integer"},"RuleDefinition":{"type":"structure","members":{"Actions":{"shape":"S2m"},"MatchAttributes":{"type":"structure","members":{"DestinationPorts":{"type":"list","member":{"type":"structure","members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}}},"Destinations":{"type":"list","member":{"type":"structure","members":{"AddressDefinition":{}}}},"Protocols":{"type":"list","member":{"type":"integer"}},"SourcePorts":{"type":"list","member":{"type":"structure","members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}}},"Sources":{"type":"list","member":{"type":"structure","members":{"AddressDefinition":{}}}},"TcpFlags":{"type":"list","member":{"type":"structure","members":{"Flags":{"shape":"S2m"},"Masks":{"shape":"S2m"}}}}}}}}}}}}}}}}},"RuleGroupArn":{},"RuleGroupId":{},"RuleGroupName":{},"Type":{}}}}}}}},"Compliance":{"type":"structure","members":{"Status":{},"RelatedRequirements":{"shape":"Sf9"},"StatusReasons":{"type":"list","member":{"type":"structure","required":["ReasonCode"],"members":{"ReasonCode":{},"Description":{}}}}}},"VerificationState":{},"WorkflowState":{"type":"string","deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use SeverityLabel or FindingProviderFieldsSeverityLabel."},"Workflow":{"type":"structure","members":{"Status":{}}},"RecordState":{},"RelatedFindings":{"shape":"Sfh"},"Note":{"type":"structure","required":["Text","UpdatedBy","UpdatedAt"],"members":{"Text":{},"UpdatedBy":{},"UpdatedAt":{}}},"Vulnerabilities":{"type":"list","member":{"type":"structure","required":["Id"],"members":{"Id":{},"VulnerablePackages":{"type":"list","member":{"type":"structure","members":{"Name":{},"Version":{},"Epoch":{},"Release":{},"Architecture":{},"PackageManager":{},"FilePath":{}}}},"Cvss":{"type":"list","member":{"type":"structure","members":{"Version":{},"BaseScore":{"type":"double"},"BaseVector":{},"Source":{},"Adjustments":{"type":"list","member":{"type":"structure","members":{"Metric":{},"Reason":{}}}}}}},"RelatedVulnerabilities":{"shape":"S15"},"Vendor":{"type":"structure","required":["Name"],"members":{"Name":{},"Url":{},"VendorSeverity":{},"VendorCreatedAt":{},"VendorUpdatedAt":{}}},"ReferenceUrls":{"shape":"S15"}}}},"PatchSummary":{"type":"structure","required":["Id"],"members":{"Id":{},"InstalledCount":{"type":"integer"},"MissingCount":{"type":"integer"},"FailedCount":{"type":"integer"},"InstalledOtherCount":{"type":"integer"},"InstalledRejectedCount":{"type":"integer"},"InstalledPendingReboot":{"type":"integer"},"OperationStartTime":{},"OperationEndTime":{},"RebootOption":{},"Operation":{}}},"Action":{"type":"structure","members":{"ActionType":{},"NetworkConnectionAction":{"type":"structure","members":{"ConnectionDirection":{},"RemoteIpDetails":{"shape":"Sfw"},"RemotePortDetails":{"type":"structure","members":{"Port":{"type":"integer"},"PortName":{}}},"LocalPortDetails":{"shape":"Sg2"},"Protocol":{},"Blocked":{"type":"boolean"}}},"AwsApiCallAction":{"type":"structure","members":{"Api":{},"ServiceName":{},"CallerType":{},"RemoteIpDetails":{"shape":"Sfw"},"DomainDetails":{"type":"structure","members":{"Domain":{}}},"AffectedResources":{"shape":"St"},"FirstSeen":{},"LastSeen":{}}},"DnsRequestAction":{"type":"structure","members":{"Domain":{},"Protocol":{},"Blocked":{"type":"boolean"}}},"PortProbeAction":{"type":"structure","members":{"PortProbeDetails":{"type":"list","member":{"type":"structure","members":{"LocalPortDetails":{"shape":"Sg2"},"LocalIpDetails":{"type":"structure","members":{"IpAddressV4":{}}},"RemoteIpDetails":{"shape":"Sfw"}}}},"Blocked":{"type":"boolean"}}}}},"FindingProviderFields":{"type":"structure","members":{"Confidence":{"type":"integer"},"Criticality":{"type":"integer"},"RelatedFindings":{"shape":"Sfh"},"Severity":{"type":"structure","members":{"Label":{},"Original":{}}},"Types":{"shape":"Sm"}}},"Sample":{"type":"boolean"}}},"Sm":{"type":"list","member":{}},"St":{"type":"map","key":{},"value":{}},"S10":{"type":"structure","members":{"Begin":{"type":"integer"},"End":{"type":"integer"}}},"S13":{"type":"structure","members":{"Protocol":{},"Destination":{"shape":"S14"},"Source":{"shape":"S14"}}},"S14":{"type":"structure","members":{"Address":{"shape":"S15"},"PortRanges":{"type":"list","member":{"shape":"S10"}}}},"S15":{"type":"list","member":{}},"S1o":{"type":"structure","members":{"LineRanges":{"shape":"S1p"},"OffsetRanges":{"shape":"S1p"},"Pages":{"type":"list","member":{"type":"structure","members":{"PageNumber":{"type":"long"},"LineRange":{"shape":"S1q"},"OffsetRange":{"shape":"S1q"}}}},"Records":{"type":"list","member":{"type":"structure","members":{"JsonPath":{},"RecordIndex":{"type":"long"}}}},"Cells":{"type":"list","member":{"type":"structure","members":{"Column":{"type":"long"},"Row":{"type":"long"},"ColumnName":{},"CellReference":{}}}}}},"S1p":{"type":"list","member":{"shape":"S1q"}},"S1q":{"type":"structure","members":{"Start":{"type":"long"},"End":{"type":"long"},"StartColumn":{"type":"long"}}},"S2m":{"type":"list","member":{}},"S3g":{"type":"list","member":{"type":"structure","members":{"IpProtocol":{},"FromPort":{"type":"integer"},"ToPort":{"type":"integer"},"UserIdGroupPairs":{"type":"list","member":{"type":"structure","members":{"GroupId":{},"GroupName":{},"PeeringStatus":{},"UserId":{},"VpcId":{},"VpcPeeringConnectionId":{}}}},"IpRanges":{"type":"list","member":{"type":"structure","members":{"CidrIp":{}}}},"Ipv6Ranges":{"type":"list","member":{"type":"structure","members":{"CidrIpv6":{}}}},"PrefixListIds":{"type":"list","member":{"type":"structure","members":{"PrefixListId":{}}}}}}},"S3w":{"type":"list","member":{"type":"structure","members":{"AssociationId":{},"Ipv6CidrBlock":{},"CidrBlockState":{}}}},"S4q":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}},"S5d":{"type":"structure","members":{"BlockPublicAcls":{"type":"boolean"},"BlockPublicPolicy":{"type":"boolean"},"IgnorePublicAcls":{"type":"boolean"},"RestrictPublicBuckets":{"type":"boolean"}}},"S64":{"type":"list","member":{"type":"structure","members":{"PolicyName":{},"PolicyArn":{}}}},"S66":{"type":"structure","members":{"PermissionsBoundaryArn":{},"PermissionsBoundaryType":{}}},"S6d":{"type":"structure","members":{"DetailedMetricsEnabled":{"type":"boolean"},"LoggingLevel":{},"DataTraceEnabled":{"type":"boolean"},"ThrottlingBurstLimit":{"type":"integer"},"ThrottlingRateLimit":{"type":"double"}}},"S6e":{"type":"structure","members":{"Format":{},"DestinationArn":{}}},"S6o":{"type":"list","member":{"type":"structure","members":{"AttributeName":{},"KeyType":{}}}},"S6q":{"type":"structure","members":{"NonKeyAttributes":{"shape":"S15"},"ProjectionType":{}}},"S6r":{"type":"structure","members":{"LastDecreaseDateTime":{},"LastIncreaseDateTime":{},"NumberOfDecreasesToday":{"type":"integer"},"ReadCapacityUnits":{"type":"integer"},"WriteCapacityUnits":{"type":"integer"}}},"S6y":{"type":"structure","members":{"ReadCapacityUnits":{"type":"integer"}}},"S7d":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"ResourceRecord":{"type":"structure","members":{"Name":{},"Type":{},"Value":{}}},"ValidationDomain":{},"ValidationEmails":{"shape":"S15"},"ValidationMethod":{},"ValidationStatus":{}}}},"S9i":{"type":"structure","members":{"Address":{},"Port":{"type":"integer"},"HostedZoneId":{}}},"S9j":{"type":"list","member":{"type":"structure","members":{"VpcSecurityGroupId":{},"Status":{}}}},"S9t":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"S9z":{"type":"list","member":{"type":"structure","members":{"Domain":{},"Status":{},"Fqdn":{},"IamRoleName":{}}}},"Sd1":{"type":"list","member":{"type":"integer"}},"Sde":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}},"Se3":{"type":"structure","members":{"PublishMetricAction":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"type":"structure","members":{"Value":{}}}}}}}},"Sf9":{"type":"list","member":{}},"Sfh":{"type":"list","member":{"type":"structure","required":["ProductArn","Id"],"members":{"ProductArn":{},"Id":{}}}},"Sfw":{"type":"structure","members":{"IpAddressV4":{},"Organization":{"type":"structure","members":{"Asn":{"type":"integer"},"AsnOrg":{},"Isp":{},"Org":{}}},"Country":{"type":"structure","members":{"CountryCode":{},"CountryName":{}}},"City":{"type":"structure","members":{"CityName":{}}},"GeoLocation":{"type":"structure","members":{"Lon":{"type":"double"},"Lat":{"type":"double"}}}}},"Sg2":{"type":"structure","members":{"Port":{"type":"integer"},"PortName":{}}},"Sgh":{"type":"list","member":{"shape":"Sgi"}},"Sgi":{"type":"structure","required":["Id","ProductArn"],"members":{"Id":{},"ProductArn":{}}},"Sgj":{"type":"structure","required":["Text","UpdatedBy"],"members":{"Text":{},"UpdatedBy":{}}},"Sgu":{"type":"structure","members":{"ProductArn":{"shape":"Sgv"},"AwsAccountId":{"shape":"Sgv"},"Id":{"shape":"Sgv"},"GeneratorId":{"shape":"Sgv"},"Region":{"shape":"Sgv"},"Type":{"shape":"Sgv"},"FirstObservedAt":{"shape":"Sgy"},"LastObservedAt":{"shape":"Sgy"},"CreatedAt":{"shape":"Sgy"},"UpdatedAt":{"shape":"Sgy"},"SeverityProduct":{"shape":"Sh2","deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use FindingProviderSeverityOriginal."},"SeverityNormalized":{"shape":"Sh2","deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use SeverityLabel or FindingProviderFieldsSeverityLabel."},"SeverityLabel":{"shape":"Sgv"},"Confidence":{"shape":"Sh2"},"Criticality":{"shape":"Sh2"},"Title":{"shape":"Sgv"},"Description":{"shape":"Sgv"},"RecommendationText":{"shape":"Sgv"},"SourceUrl":{"shape":"Sgv"},"ProductFields":{"shape":"Sh4"},"ProductName":{"shape":"Sgv"},"CompanyName":{"shape":"Sgv"},"UserDefinedFields":{"shape":"Sh4"},"MalwareName":{"shape":"Sgv"},"MalwareType":{"shape":"Sgv"},"MalwarePath":{"shape":"Sgv"},"MalwareState":{"shape":"Sgv"},"NetworkDirection":{"shape":"Sgv"},"NetworkProtocol":{"shape":"Sgv"},"NetworkSourceIpV4":{"shape":"Sh7"},"NetworkSourceIpV6":{"shape":"Sh7"},"NetworkSourcePort":{"shape":"Sh2"},"NetworkSourceDomain":{"shape":"Sgv"},"NetworkSourceMac":{"shape":"Sgv"},"NetworkDestinationIpV4":{"shape":"Sh7"},"NetworkDestinationIpV6":{"shape":"Sh7"},"NetworkDestinationPort":{"shape":"Sh2"},"NetworkDestinationDomain":{"shape":"Sgv"},"ProcessName":{"shape":"Sgv"},"ProcessPath":{"shape":"Sgv"},"ProcessPid":{"shape":"Sh2"},"ProcessParentPid":{"shape":"Sh2"},"ProcessLaunchedAt":{"shape":"Sgy"},"ProcessTerminatedAt":{"shape":"Sgy"},"ThreatIntelIndicatorType":{"shape":"Sgv"},"ThreatIntelIndicatorValue":{"shape":"Sgv"},"ThreatIntelIndicatorCategory":{"shape":"Sgv"},"ThreatIntelIndicatorLastObservedAt":{"shape":"Sgy"},"ThreatIntelIndicatorSource":{"shape":"Sgv"},"ThreatIntelIndicatorSourceUrl":{"shape":"Sgv"},"ResourceType":{"shape":"Sgv"},"ResourceId":{"shape":"Sgv"},"ResourcePartition":{"shape":"Sgv"},"ResourceRegion":{"shape":"Sgv"},"ResourceTags":{"shape":"Sh4"},"ResourceAwsEc2InstanceType":{"shape":"Sgv"},"ResourceAwsEc2InstanceImageId":{"shape":"Sgv"},"ResourceAwsEc2InstanceIpV4Addresses":{"shape":"Sh7"},"ResourceAwsEc2InstanceIpV6Addresses":{"shape":"Sh7"},"ResourceAwsEc2InstanceKeyName":{"shape":"Sgv"},"ResourceAwsEc2InstanceIamInstanceProfileArn":{"shape":"Sgv"},"ResourceAwsEc2InstanceVpcId":{"shape":"Sgv"},"ResourceAwsEc2InstanceSubnetId":{"shape":"Sgv"},"ResourceAwsEc2InstanceLaunchedAt":{"shape":"Sgy"},"ResourceAwsS3BucketOwnerId":{"shape":"Sgv"},"ResourceAwsS3BucketOwnerName":{"shape":"Sgv"},"ResourceAwsIamAccessKeyUserName":{"shape":"Sgv","deprecated":true,"deprecatedMessage":"This filter is deprecated. Instead, use ResourceAwsIamAccessKeyPrincipalName."},"ResourceAwsIamAccessKeyPrincipalName":{"shape":"Sgv"},"ResourceAwsIamAccessKeyStatus":{"shape":"Sgv"},"ResourceAwsIamAccessKeyCreatedAt":{"shape":"Sgy"},"ResourceAwsIamUserUserName":{"shape":"Sgv"},"ResourceContainerName":{"shape":"Sgv"},"ResourceContainerImageId":{"shape":"Sgv"},"ResourceContainerImageName":{"shape":"Sgv"},"ResourceContainerLaunchedAt":{"shape":"Sgy"},"ResourceDetailsOther":{"shape":"Sh4"},"ComplianceStatus":{"shape":"Sgv"},"VerificationState":{"shape":"Sgv"},"WorkflowState":{"shape":"Sgv"},"WorkflowStatus":{"shape":"Sgv"},"RecordState":{"shape":"Sgv"},"RelatedFindingsProductArn":{"shape":"Sgv"},"RelatedFindingsId":{"shape":"Sgv"},"NoteText":{"shape":"Sgv"},"NoteUpdatedAt":{"shape":"Sgy"},"NoteUpdatedBy":{"shape":"Sgv"},"Keyword":{"deprecated":true,"deprecatedMessage":"The Keyword property is deprecated.","type":"list","member":{"type":"structure","members":{"Value":{}}}},"FindingProviderFieldsConfidence":{"shape":"Sh2"},"FindingProviderFieldsCriticality":{"shape":"Sh2"},"FindingProviderFieldsRelatedFindingsId":{"shape":"Sgv"},"FindingProviderFieldsRelatedFindingsProductArn":{"shape":"Sgv"},"FindingProviderFieldsSeverityLabel":{"shape":"Sgv"},"FindingProviderFieldsSeverityOriginal":{"shape":"Sgv"},"FindingProviderFieldsTypes":{"shape":"Sgv"},"Sample":{"type":"list","member":{"type":"structure","members":{"Value":{"type":"boolean"}}}}}},"Sgv":{"type":"list","member":{"type":"structure","members":{"Value":{},"Comparison":{}}}},"Sgy":{"type":"list","member":{"type":"structure","members":{"Start":{},"End":{},"DateRange":{"type":"structure","members":{"Value":{"type":"integer"},"Unit":{}}}}}},"Sh2":{"type":"list","member":{"type":"structure","members":{"Gte":{"type":"double"},"Lte":{"type":"double"},"Eq":{"type":"double"}}}},"Sh4":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{},"Comparison":{}}}},"Sh7":{"type":"list","member":{"type":"structure","members":{"Cidr":{}}}},"Shj":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"ProcessingResult":{}}}},"Shm":{"type":"list","member":{}},"Shz":{"type":"list","member":{}},"Sip":{"type":"timestamp","timestampFormat":"iso8601"},"Sj8":{"type":"map","key":{},"value":{}},"Sje":{"type":"structure","members":{"AccountId":{},"InvitationId":{},"InvitedAt":{"shape":"Sip"},"MemberStatus":{}}},"Sk4":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"Email":{},"MasterId":{"deprecated":true,"deprecatedMessage":"This field is deprecated, use AdministratorId instead."},"AdministratorId":{},"MemberStatus":{},"InvitedAt":{"shape":"Sip"},"UpdatedAt":{"shape":"Sip"}}}}}} /***/ }), /* 697 */ @@ -50756,7 +50762,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 707 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2018-11-14","endpointPrefix":"kafka","signingName":"kafka","serviceFullName":"Managed Streaming for Kafka","serviceAbbreviation":"Kafka","serviceId":"Kafka","protocol":"rest-json","jsonVersion":"1.1","uid":"kafka-2018-11-14","signatureVersion":"v4"},"operations":{"BatchAssociateScramSecret":{"http":{"requestUri":"/v1/clusters/{clusterArn}/scram-secrets","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"SecretArnList":{"shape":"S3","locationName":"secretArnList"}},"required":["ClusterArn","SecretArnList"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"UnprocessedScramSecrets":{"shape":"S5","locationName":"unprocessedScramSecrets"}}}},"CreateCluster":{"http":{"requestUri":"/v1/clusters","responseCode":200},"input":{"type":"structure","members":{"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"ClientAuthentication":{"shape":"Sg","locationName":"clientAuthentication"},"ClusterName":{"locationName":"clusterName"},"ConfigurationInfo":{"shape":"So","locationName":"configurationInfo"},"EncryptionInfo":{"shape":"Sq","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sv","locationName":"openMonitoring"},"KafkaVersion":{"locationName":"kafkaVersion"},"LoggingInfo":{"shape":"S10","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"Tags":{"shape":"S16","locationName":"tags"}},"required":["BrokerNodeGroupInfo","KafkaVersion","NumberOfBrokerNodes","ClusterName"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"State":{"locationName":"state"}}}},"CreateClusterV2":{"http":{"requestUri":"/api/v2/clusters","responseCode":200},"input":{"type":"structure","members":{"ClusterName":{"locationName":"clusterName"},"Tags":{"shape":"S16","locationName":"tags"},"Provisioned":{"locationName":"provisioned","type":"structure","members":{"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"ClientAuthentication":{"shape":"Sg","locationName":"clientAuthentication"},"ConfigurationInfo":{"shape":"So","locationName":"configurationInfo"},"EncryptionInfo":{"shape":"Sq","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sv","locationName":"openMonitoring"},"KafkaVersion":{"locationName":"kafkaVersion"},"LoggingInfo":{"shape":"S10","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"}},"required":["BrokerNodeGroupInfo","KafkaVersion","NumberOfBrokerNodes"]},"Serverless":{"locationName":"serverless","type":"structure","members":{"VpcConfigs":{"shape":"S1c","locationName":"vpcConfigs"},"ClientAuthentication":{"shape":"S1e","locationName":"clientAuthentication"}},"required":["VpcConfigs"]}},"required":["ClusterName"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"State":{"locationName":"state"},"ClusterType":{"locationName":"clusterType"}}}},"CreateConfiguration":{"http":{"requestUri":"/v1/configurations","responseCode":200},"input":{"type":"structure","members":{"Description":{"locationName":"description"},"KafkaVersions":{"shape":"S3","locationName":"kafkaVersions"},"Name":{"locationName":"name"},"ServerProperties":{"locationName":"serverProperties","type":"blob"}},"required":["ServerProperties","Name"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreationTime":{"shape":"S1l","locationName":"creationTime"},"LatestRevision":{"shape":"S1m","locationName":"latestRevision"},"Name":{"locationName":"name"},"State":{"locationName":"state"}}}},"DeleteCluster":{"http":{"method":"DELETE","requestUri":"/v1/clusters/{clusterArn}","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"location":"querystring","locationName":"currentVersion"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"State":{"locationName":"state"}}}},"DeleteConfiguration":{"http":{"method":"DELETE","requestUri":"/v1/configurations/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"}},"required":["Arn"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"State":{"locationName":"state"}}}},"DescribeCluster":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"ClusterInfo":{"shape":"S1u","locationName":"clusterInfo"}}}},"DescribeClusterV2":{"http":{"method":"GET","requestUri":"/api/v2/clusters/{clusterArn}","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"ClusterInfo":{"shape":"S24","locationName":"clusterInfo"}}}},"DescribeClusterOperation":{"http":{"method":"GET","requestUri":"/v1/operations/{clusterOperationArn}","responseCode":200},"input":{"type":"structure","members":{"ClusterOperationArn":{"location":"uri","locationName":"clusterOperationArn"}},"required":["ClusterOperationArn"]},"output":{"type":"structure","members":{"ClusterOperationInfo":{"shape":"S29","locationName":"clusterOperationInfo"}}}},"DescribeConfiguration":{"http":{"method":"GET","requestUri":"/v1/configurations/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"}},"required":["Arn"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreationTime":{"shape":"S1l","locationName":"creationTime"},"Description":{"locationName":"description"},"KafkaVersions":{"shape":"S3","locationName":"kafkaVersions"},"LatestRevision":{"shape":"S1m","locationName":"latestRevision"},"Name":{"locationName":"name"},"State":{"locationName":"state"}}}},"DescribeConfigurationRevision":{"http":{"method":"GET","requestUri":"/v1/configurations/{arn}/revisions/{revision}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"},"Revision":{"location":"uri","locationName":"revision","type":"long"}},"required":["Revision","Arn"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreationTime":{"shape":"S1l","locationName":"creationTime"},"Description":{"locationName":"description"},"Revision":{"locationName":"revision","type":"long"},"ServerProperties":{"locationName":"serverProperties","type":"blob"}}}},"BatchDisassociateScramSecret":{"http":{"method":"PATCH","requestUri":"/v1/clusters/{clusterArn}/scram-secrets","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"SecretArnList":{"shape":"S3","locationName":"secretArnList"}},"required":["ClusterArn","SecretArnList"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"UnprocessedScramSecrets":{"shape":"S5","locationName":"unprocessedScramSecrets"}}}},"GetBootstrapBrokers":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}/bootstrap-brokers","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"BootstrapBrokerString":{"locationName":"bootstrapBrokerString"},"BootstrapBrokerStringTls":{"locationName":"bootstrapBrokerStringTls"},"BootstrapBrokerStringSaslScram":{"locationName":"bootstrapBrokerStringSaslScram"},"BootstrapBrokerStringSaslIam":{"locationName":"bootstrapBrokerStringSaslIam"},"BootstrapBrokerStringPublicTls":{"locationName":"bootstrapBrokerStringPublicTls"},"BootstrapBrokerStringPublicSaslScram":{"locationName":"bootstrapBrokerStringPublicSaslScram"},"BootstrapBrokerStringPublicSaslIam":{"locationName":"bootstrapBrokerStringPublicSaslIam"}}}},"GetCompatibleKafkaVersions":{"http":{"method":"GET","requestUri":"/v1/compatible-kafka-versions","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"querystring","locationName":"clusterArn"}}},"output":{"type":"structure","members":{"CompatibleKafkaVersions":{"locationName":"compatibleKafkaVersions","type":"list","member":{"type":"structure","members":{"SourceVersion":{"locationName":"sourceVersion"},"TargetVersions":{"shape":"S3","locationName":"targetVersions"}}}}}}},"ListClusterOperations":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}/operations","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"ClusterOperationInfoList":{"locationName":"clusterOperationInfoList","type":"list","member":{"shape":"S29"}},"NextToken":{"locationName":"nextToken"}}}},"ListClusters":{"http":{"method":"GET","requestUri":"/v1/clusters","responseCode":200},"input":{"type":"structure","members":{"ClusterNameFilter":{"location":"querystring","locationName":"clusterNameFilter"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ClusterInfoList":{"locationName":"clusterInfoList","type":"list","member":{"shape":"S1u"}},"NextToken":{"locationName":"nextToken"}}}},"ListClustersV2":{"http":{"method":"GET","requestUri":"/api/v2/clusters","responseCode":200},"input":{"type":"structure","members":{"ClusterNameFilter":{"location":"querystring","locationName":"clusterNameFilter"},"ClusterTypeFilter":{"location":"querystring","locationName":"clusterTypeFilter"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ClusterInfoList":{"locationName":"clusterInfoList","type":"list","member":{"shape":"S24"}},"NextToken":{"locationName":"nextToken"}}}},"ListConfigurationRevisions":{"http":{"method":"GET","requestUri":"/v1/configurations/{arn}/revisions","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["Arn"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Revisions":{"locationName":"revisions","type":"list","member":{"shape":"S1m"}}}}},"ListConfigurations":{"http":{"method":"GET","requestUri":"/v1/configurations","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Configurations":{"locationName":"configurations","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreationTime":{"shape":"S1l","locationName":"creationTime"},"Description":{"locationName":"description"},"KafkaVersions":{"shape":"S3","locationName":"kafkaVersions"},"LatestRevision":{"shape":"S1m","locationName":"latestRevision"},"Name":{"locationName":"name"},"State":{"locationName":"state"}},"required":["Description","LatestRevision","CreationTime","KafkaVersions","Arn","Name","State"]}},"NextToken":{"locationName":"nextToken"}}}},"ListKafkaVersions":{"http":{"method":"GET","requestUri":"/v1/kafka-versions","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"KafkaVersions":{"locationName":"kafkaVersions","type":"list","member":{"type":"structure","members":{"Version":{"locationName":"version"},"Status":{"locationName":"status"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListNodes":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}/nodes","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"NodeInfoList":{"locationName":"nodeInfoList","type":"list","member":{"type":"structure","members":{"AddedToClusterTime":{"locationName":"addedToClusterTime"},"BrokerNodeInfo":{"locationName":"brokerNodeInfo","type":"structure","members":{"AttachedENIId":{"locationName":"attachedENIId"},"BrokerId":{"locationName":"brokerId","type":"double"},"ClientSubnet":{"locationName":"clientSubnet"},"ClientVpcIpAddress":{"locationName":"clientVpcIpAddress"},"CurrentBrokerSoftwareInfo":{"shape":"S1v","locationName":"currentBrokerSoftwareInfo"},"Endpoints":{"shape":"S3","locationName":"endpoints"}}},"InstanceType":{"locationName":"instanceType"},"NodeARN":{"locationName":"nodeARN"},"NodeType":{"locationName":"nodeType"},"ZookeeperNodeInfo":{"locationName":"zookeeperNodeInfo","type":"structure","members":{"AttachedENIId":{"locationName":"attachedENIId"},"ClientVpcIpAddress":{"locationName":"clientVpcIpAddress"},"Endpoints":{"shape":"S3","locationName":"endpoints"},"ZookeeperId":{"locationName":"zookeeperId","type":"double"},"ZookeeperVersion":{"locationName":"zookeeperVersion"}}}}}}}}},"ListScramSecrets":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}/scram-secrets","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"SecretArnList":{"shape":"S3","locationName":"secretArnList"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"Tags":{"shape":"S16","locationName":"tags"}}}},"RebootBroker":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/reboot-broker","responseCode":200},"input":{"type":"structure","members":{"BrokerIds":{"shape":"S3","locationName":"brokerIds"},"ClusterArn":{"location":"uri","locationName":"clusterArn"}},"required":["ClusterArn","BrokerIds"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"TagResource":{"http":{"requestUri":"/v1/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"S16","locationName":"tags"}},"required":["ResourceArn","Tags"]}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"shape":"S3","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"UpdateBrokerCount":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/nodes/count","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"TargetNumberOfBrokerNodes":{"locationName":"targetNumberOfBrokerNodes","type":"integer"}},"required":["ClusterArn","CurrentVersion","TargetNumberOfBrokerNodes"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateBrokerType":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/nodes/type","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"TargetInstanceType":{"locationName":"targetInstanceType"}},"required":["ClusterArn","CurrentVersion","TargetInstanceType"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateBrokerStorage":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/nodes/storage","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"TargetBrokerEBSVolumeInfo":{"shape":"S2f","locationName":"targetBrokerEBSVolumeInfo"}},"required":["ClusterArn","TargetBrokerEBSVolumeInfo","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateConfiguration":{"http":{"method":"PUT","requestUri":"/v1/configurations/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"},"Description":{"locationName":"description"},"ServerProperties":{"locationName":"serverProperties","type":"blob"}},"required":["Arn","ServerProperties"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"LatestRevision":{"shape":"S1m","locationName":"latestRevision"}}}},"UpdateConnectivity":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/connectivity","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"ConnectivityInfo":{"shape":"Se","locationName":"connectivityInfo"},"CurrentVersion":{"locationName":"currentVersion"}},"required":["ClusterArn","ConnectivityInfo","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateClusterConfiguration":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/configuration","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"ConfigurationInfo":{"shape":"So","locationName":"configurationInfo"},"CurrentVersion":{"locationName":"currentVersion"}},"required":["ClusterArn","CurrentVersion","ConfigurationInfo"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateClusterKafkaVersion":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/version","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"ConfigurationInfo":{"shape":"So","locationName":"configurationInfo"},"CurrentVersion":{"locationName":"currentVersion"},"TargetKafkaVersion":{"locationName":"targetKafkaVersion"}},"required":["ClusterArn","TargetKafkaVersion","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateMonitoring":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/monitoring","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sv","locationName":"openMonitoring"},"LoggingInfo":{"shape":"S10","locationName":"loggingInfo"}},"required":["ClusterArn","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateSecurity":{"http":{"method":"PATCH","requestUri":"/v1/clusters/{clusterArn}/security","responseCode":200},"input":{"type":"structure","members":{"ClientAuthentication":{"shape":"Sg","locationName":"clientAuthentication"},"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"EncryptionInfo":{"shape":"Sq","locationName":"encryptionInfo"}},"required":["ClusterArn","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}}},"shapes":{"S3":{"type":"list","member":{}},"S5":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{"locationName":"errorCode"},"ErrorMessage":{"locationName":"errorMessage"},"SecretArn":{"locationName":"secretArn"}}}},"S8":{"type":"structure","members":{"BrokerAZDistribution":{"locationName":"brokerAZDistribution"},"ClientSubnets":{"shape":"S3","locationName":"clientSubnets"},"InstanceType":{"locationName":"instanceType"},"SecurityGroups":{"shape":"S3","locationName":"securityGroups"},"StorageInfo":{"locationName":"storageInfo","type":"structure","members":{"EbsStorageInfo":{"locationName":"ebsStorageInfo","type":"structure","members":{"VolumeSize":{"locationName":"volumeSize","type":"integer"}}}}},"ConnectivityInfo":{"shape":"Se","locationName":"connectivityInfo"}},"required":["ClientSubnets","InstanceType"]},"Se":{"type":"structure","members":{"PublicAccess":{"locationName":"publicAccess","type":"structure","members":{"Type":{"locationName":"type"}}}}},"Sg":{"type":"structure","members":{"Sasl":{"locationName":"sasl","type":"structure","members":{"Scram":{"locationName":"scram","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"Iam":{"shape":"Sk","locationName":"iam"}}},"Tls":{"locationName":"tls","type":"structure","members":{"CertificateAuthorityArnList":{"shape":"S3","locationName":"certificateAuthorityArnList"},"Enabled":{"locationName":"enabled","type":"boolean"}}},"Unauthenticated":{"locationName":"unauthenticated","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}}}},"Sk":{"type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"So":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Revision":{"locationName":"revision","type":"long"}},"required":["Revision","Arn"]},"Sq":{"type":"structure","members":{"EncryptionAtRest":{"locationName":"encryptionAtRest","type":"structure","members":{"DataVolumeKMSKeyId":{"locationName":"dataVolumeKMSKeyId"}},"required":["DataVolumeKMSKeyId"]},"EncryptionInTransit":{"locationName":"encryptionInTransit","type":"structure","members":{"ClientBroker":{"locationName":"clientBroker"},"InCluster":{"locationName":"inCluster","type":"boolean"}}}}},"Sv":{"type":"structure","members":{"Prometheus":{"locationName":"prometheus","type":"structure","members":{"JmxExporter":{"locationName":"jmxExporter","type":"structure","members":{"EnabledInBroker":{"locationName":"enabledInBroker","type":"boolean"}},"required":["EnabledInBroker"]},"NodeExporter":{"locationName":"nodeExporter","type":"structure","members":{"EnabledInBroker":{"locationName":"enabledInBroker","type":"boolean"}},"required":["EnabledInBroker"]}}}},"required":["Prometheus"]},"S10":{"type":"structure","members":{"BrokerLogs":{"locationName":"brokerLogs","type":"structure","members":{"CloudWatchLogs":{"locationName":"cloudWatchLogs","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"},"LogGroup":{"locationName":"logGroup"}},"required":["Enabled"]},"Firehose":{"locationName":"firehose","type":"structure","members":{"DeliveryStream":{"locationName":"deliveryStream"},"Enabled":{"locationName":"enabled","type":"boolean"}},"required":["Enabled"]},"S3":{"locationName":"s3","type":"structure","members":{"Bucket":{"locationName":"bucket"},"Enabled":{"locationName":"enabled","type":"boolean"},"Prefix":{"locationName":"prefix"}},"required":["Enabled"]}}}},"required":["BrokerLogs"]},"S16":{"type":"map","key":{},"value":{}},"S1c":{"type":"list","member":{"type":"structure","members":{"SubnetIds":{"shape":"S3","locationName":"subnetIds"},"SecurityGroupIds":{"shape":"S3","locationName":"securityGroupIds"}},"required":["SubnetIds"]}},"S1e":{"type":"structure","members":{"Sasl":{"locationName":"sasl","type":"structure","members":{"Iam":{"shape":"Sk","locationName":"iam"}}}}},"S1l":{"type":"timestamp","timestampFormat":"iso8601"},"S1m":{"type":"structure","members":{"CreationTime":{"shape":"S1l","locationName":"creationTime"},"Description":{"locationName":"description"},"Revision":{"locationName":"revision","type":"long"}},"required":["Revision","CreationTime"]},"S1u":{"type":"structure","members":{"ActiveOperationArn":{"locationName":"activeOperationArn"},"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"ClientAuthentication":{"shape":"Sg","locationName":"clientAuthentication"},"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"CreationTime":{"shape":"S1l","locationName":"creationTime"},"CurrentBrokerSoftwareInfo":{"shape":"S1v","locationName":"currentBrokerSoftwareInfo"},"CurrentVersion":{"locationName":"currentVersion"},"EncryptionInfo":{"shape":"Sq","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"S1w","locationName":"openMonitoring"},"LoggingInfo":{"shape":"S10","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"State":{"locationName":"state"},"StateInfo":{"shape":"S21","locationName":"stateInfo"},"Tags":{"shape":"S16","locationName":"tags"},"ZookeeperConnectString":{"locationName":"zookeeperConnectString"},"ZookeeperConnectStringTls":{"locationName":"zookeeperConnectStringTls"}}},"S1v":{"type":"structure","members":{"ConfigurationArn":{"locationName":"configurationArn"},"ConfigurationRevision":{"locationName":"configurationRevision","type":"long"},"KafkaVersion":{"locationName":"kafkaVersion"}}},"S1w":{"type":"structure","members":{"Prometheus":{"locationName":"prometheus","type":"structure","members":{"JmxExporter":{"locationName":"jmxExporter","type":"structure","members":{"EnabledInBroker":{"locationName":"enabledInBroker","type":"boolean"}},"required":["EnabledInBroker"]},"NodeExporter":{"locationName":"nodeExporter","type":"structure","members":{"EnabledInBroker":{"locationName":"enabledInBroker","type":"boolean"}},"required":["EnabledInBroker"]}}}},"required":["Prometheus"]},"S21":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S24":{"type":"structure","members":{"ActiveOperationArn":{"locationName":"activeOperationArn"},"ClusterType":{"locationName":"clusterType"},"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"CreationTime":{"shape":"S1l","locationName":"creationTime"},"CurrentVersion":{"locationName":"currentVersion"},"State":{"locationName":"state"},"StateInfo":{"shape":"S21","locationName":"stateInfo"},"Tags":{"shape":"S16","locationName":"tags"},"Provisioned":{"locationName":"provisioned","type":"structure","members":{"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"CurrentBrokerSoftwareInfo":{"shape":"S1v","locationName":"currentBrokerSoftwareInfo"},"ClientAuthentication":{"shape":"Sg","locationName":"clientAuthentication"},"EncryptionInfo":{"shape":"Sq","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sv","locationName":"openMonitoring"},"LoggingInfo":{"shape":"S10","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"ZookeeperConnectString":{"locationName":"zookeeperConnectString"},"ZookeeperConnectStringTls":{"locationName":"zookeeperConnectStringTls"}},"required":["BrokerNodeGroupInfo","NumberOfBrokerNodes"]},"Serverless":{"locationName":"serverless","type":"structure","members":{"VpcConfigs":{"shape":"S1c","locationName":"vpcConfigs"},"ClientAuthentication":{"shape":"S1e","locationName":"clientAuthentication"}},"required":["VpcConfigs"]}}},"S29":{"type":"structure","members":{"ClientRequestId":{"locationName":"clientRequestId"},"ClusterArn":{"locationName":"clusterArn"},"CreationTime":{"shape":"S1l","locationName":"creationTime"},"EndTime":{"shape":"S1l","locationName":"endTime"},"ErrorInfo":{"locationName":"errorInfo","type":"structure","members":{"ErrorCode":{"locationName":"errorCode"},"ErrorString":{"locationName":"errorString"}}},"OperationArn":{"locationName":"operationArn"},"OperationState":{"locationName":"operationState"},"OperationSteps":{"locationName":"operationSteps","type":"list","member":{"type":"structure","members":{"StepInfo":{"locationName":"stepInfo","type":"structure","members":{"StepStatus":{"locationName":"stepStatus"}}},"StepName":{"locationName":"stepName"}}}},"OperationType":{"locationName":"operationType"},"SourceClusterInfo":{"shape":"S2e","locationName":"sourceClusterInfo"},"TargetClusterInfo":{"shape":"S2e","locationName":"targetClusterInfo"}}},"S2e":{"type":"structure","members":{"BrokerEBSVolumeInfo":{"shape":"S2f","locationName":"brokerEBSVolumeInfo"},"ConfigurationInfo":{"shape":"So","locationName":"configurationInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"S1w","locationName":"openMonitoring"},"KafkaVersion":{"locationName":"kafkaVersion"},"LoggingInfo":{"shape":"S10","locationName":"loggingInfo"},"InstanceType":{"locationName":"instanceType"},"ClientAuthentication":{"shape":"Sg","locationName":"clientAuthentication"},"EncryptionInfo":{"shape":"Sq","locationName":"encryptionInfo"},"ConnectivityInfo":{"shape":"Se","locationName":"connectivityInfo"}}},"S2f":{"type":"list","member":{"type":"structure","members":{"KafkaBrokerNodeId":{"locationName":"kafkaBrokerNodeId"},"VolumeSizeGB":{"locationName":"volumeSizeGB","type":"integer"}},"required":["VolumeSizeGB","KafkaBrokerNodeId"]}}}} + module.exports = {"metadata":{"apiVersion":"2018-11-14","endpointPrefix":"kafka","signingName":"kafka","serviceFullName":"Managed Streaming for Kafka","serviceAbbreviation":"Kafka","serviceId":"Kafka","protocol":"rest-json","jsonVersion":"1.1","uid":"kafka-2018-11-14","signatureVersion":"v4"},"operations":{"BatchAssociateScramSecret":{"http":{"requestUri":"/v1/clusters/{clusterArn}/scram-secrets","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"SecretArnList":{"shape":"S3","locationName":"secretArnList"}},"required":["ClusterArn","SecretArnList"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"UnprocessedScramSecrets":{"shape":"S5","locationName":"unprocessedScramSecrets"}}}},"CreateCluster":{"http":{"requestUri":"/v1/clusters","responseCode":200},"input":{"type":"structure","members":{"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"ClientAuthentication":{"shape":"Sj","locationName":"clientAuthentication"},"ClusterName":{"locationName":"clusterName"},"ConfigurationInfo":{"shape":"Sq","locationName":"configurationInfo"},"EncryptionInfo":{"shape":"Ss","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sx","locationName":"openMonitoring"},"KafkaVersion":{"locationName":"kafkaVersion"},"LoggingInfo":{"shape":"S12","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"Tags":{"shape":"S18","locationName":"tags"}},"required":["BrokerNodeGroupInfo","KafkaVersion","NumberOfBrokerNodes","ClusterName"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"State":{"locationName":"state"}}}},"CreateClusterV2":{"http":{"requestUri":"/api/v2/clusters","responseCode":200},"input":{"type":"structure","members":{"ClusterName":{"locationName":"clusterName"},"Tags":{"shape":"S18","locationName":"tags"},"Provisioned":{"locationName":"provisioned","type":"structure","members":{"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"ClientAuthentication":{"shape":"Sj","locationName":"clientAuthentication"},"ConfigurationInfo":{"shape":"Sq","locationName":"configurationInfo"},"EncryptionInfo":{"shape":"Ss","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sx","locationName":"openMonitoring"},"KafkaVersion":{"locationName":"kafkaVersion"},"LoggingInfo":{"shape":"S12","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"}},"required":["BrokerNodeGroupInfo","KafkaVersion","NumberOfBrokerNodes"]},"Serverless":{"locationName":"serverless","type":"structure","members":{"VpcConfigs":{"shape":"S1e","locationName":"vpcConfigs"},"ClientAuthentication":{"shape":"S1g","locationName":"clientAuthentication"}},"required":["VpcConfigs"]}},"required":["ClusterName"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"State":{"locationName":"state"},"ClusterType":{"locationName":"clusterType"}}}},"CreateConfiguration":{"http":{"requestUri":"/v1/configurations","responseCode":200},"input":{"type":"structure","members":{"Description":{"locationName":"description"},"KafkaVersions":{"shape":"S3","locationName":"kafkaVersions"},"Name":{"locationName":"name"},"ServerProperties":{"locationName":"serverProperties","type":"blob"}},"required":["ServerProperties","Name"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreationTime":{"shape":"S1n","locationName":"creationTime"},"LatestRevision":{"shape":"S1o","locationName":"latestRevision"},"Name":{"locationName":"name"},"State":{"locationName":"state"}}}},"DeleteCluster":{"http":{"method":"DELETE","requestUri":"/v1/clusters/{clusterArn}","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"location":"querystring","locationName":"currentVersion"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"State":{"locationName":"state"}}}},"DeleteConfiguration":{"http":{"method":"DELETE","requestUri":"/v1/configurations/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"}},"required":["Arn"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"State":{"locationName":"state"}}}},"DescribeCluster":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"ClusterInfo":{"shape":"S1w","locationName":"clusterInfo"}}}},"DescribeClusterV2":{"http":{"method":"GET","requestUri":"/api/v2/clusters/{clusterArn}","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"ClusterInfo":{"shape":"S25","locationName":"clusterInfo"}}}},"DescribeClusterOperation":{"http":{"method":"GET","requestUri":"/v1/operations/{clusterOperationArn}","responseCode":200},"input":{"type":"structure","members":{"ClusterOperationArn":{"location":"uri","locationName":"clusterOperationArn"}},"required":["ClusterOperationArn"]},"output":{"type":"structure","members":{"ClusterOperationInfo":{"shape":"S2a","locationName":"clusterOperationInfo"}}}},"DescribeConfiguration":{"http":{"method":"GET","requestUri":"/v1/configurations/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"}},"required":["Arn"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreationTime":{"shape":"S1n","locationName":"creationTime"},"Description":{"locationName":"description"},"KafkaVersions":{"shape":"S3","locationName":"kafkaVersions"},"LatestRevision":{"shape":"S1o","locationName":"latestRevision"},"Name":{"locationName":"name"},"State":{"locationName":"state"}}}},"DescribeConfigurationRevision":{"http":{"method":"GET","requestUri":"/v1/configurations/{arn}/revisions/{revision}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"},"Revision":{"location":"uri","locationName":"revision","type":"long"}},"required":["Revision","Arn"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreationTime":{"shape":"S1n","locationName":"creationTime"},"Description":{"locationName":"description"},"Revision":{"locationName":"revision","type":"long"},"ServerProperties":{"locationName":"serverProperties","type":"blob"}}}},"BatchDisassociateScramSecret":{"http":{"method":"PATCH","requestUri":"/v1/clusters/{clusterArn}/scram-secrets","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"SecretArnList":{"shape":"S3","locationName":"secretArnList"}},"required":["ClusterArn","SecretArnList"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"UnprocessedScramSecrets":{"shape":"S5","locationName":"unprocessedScramSecrets"}}}},"GetBootstrapBrokers":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}/bootstrap-brokers","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"BootstrapBrokerString":{"locationName":"bootstrapBrokerString"},"BootstrapBrokerStringTls":{"locationName":"bootstrapBrokerStringTls"},"BootstrapBrokerStringSaslScram":{"locationName":"bootstrapBrokerStringSaslScram"},"BootstrapBrokerStringSaslIam":{"locationName":"bootstrapBrokerStringSaslIam"},"BootstrapBrokerStringPublicTls":{"locationName":"bootstrapBrokerStringPublicTls"},"BootstrapBrokerStringPublicSaslScram":{"locationName":"bootstrapBrokerStringPublicSaslScram"},"BootstrapBrokerStringPublicSaslIam":{"locationName":"bootstrapBrokerStringPublicSaslIam"}}}},"GetCompatibleKafkaVersions":{"http":{"method":"GET","requestUri":"/v1/compatible-kafka-versions","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"querystring","locationName":"clusterArn"}}},"output":{"type":"structure","members":{"CompatibleKafkaVersions":{"locationName":"compatibleKafkaVersions","type":"list","member":{"type":"structure","members":{"SourceVersion":{"locationName":"sourceVersion"},"TargetVersions":{"shape":"S3","locationName":"targetVersions"}}}}}}},"ListClusterOperations":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}/operations","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"ClusterOperationInfoList":{"locationName":"clusterOperationInfoList","type":"list","member":{"shape":"S2a"}},"NextToken":{"locationName":"nextToken"}}}},"ListClusters":{"http":{"method":"GET","requestUri":"/v1/clusters","responseCode":200},"input":{"type":"structure","members":{"ClusterNameFilter":{"location":"querystring","locationName":"clusterNameFilter"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ClusterInfoList":{"locationName":"clusterInfoList","type":"list","member":{"shape":"S1w"}},"NextToken":{"locationName":"nextToken"}}}},"ListClustersV2":{"http":{"method":"GET","requestUri":"/api/v2/clusters","responseCode":200},"input":{"type":"structure","members":{"ClusterNameFilter":{"location":"querystring","locationName":"clusterNameFilter"},"ClusterTypeFilter":{"location":"querystring","locationName":"clusterTypeFilter"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ClusterInfoList":{"locationName":"clusterInfoList","type":"list","member":{"shape":"S25"}},"NextToken":{"locationName":"nextToken"}}}},"ListConfigurationRevisions":{"http":{"method":"GET","requestUri":"/v1/configurations/{arn}/revisions","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["Arn"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"Revisions":{"locationName":"revisions","type":"list","member":{"shape":"S1o"}}}}},"ListConfigurations":{"http":{"method":"GET","requestUri":"/v1/configurations","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Configurations":{"locationName":"configurations","type":"list","member":{"type":"structure","members":{"Arn":{"locationName":"arn"},"CreationTime":{"shape":"S1n","locationName":"creationTime"},"Description":{"locationName":"description"},"KafkaVersions":{"shape":"S3","locationName":"kafkaVersions"},"LatestRevision":{"shape":"S1o","locationName":"latestRevision"},"Name":{"locationName":"name"},"State":{"locationName":"state"}},"required":["Description","LatestRevision","CreationTime","KafkaVersions","Arn","Name","State"]}},"NextToken":{"locationName":"nextToken"}}}},"ListKafkaVersions":{"http":{"method":"GET","requestUri":"/v1/kafka-versions","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"KafkaVersions":{"locationName":"kafkaVersions","type":"list","member":{"type":"structure","members":{"Version":{"locationName":"version"},"Status":{"locationName":"status"}}}},"NextToken":{"locationName":"nextToken"}}}},"ListNodes":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}/nodes","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"NodeInfoList":{"locationName":"nodeInfoList","type":"list","member":{"type":"structure","members":{"AddedToClusterTime":{"locationName":"addedToClusterTime"},"BrokerNodeInfo":{"locationName":"brokerNodeInfo","type":"structure","members":{"AttachedENIId":{"locationName":"attachedENIId"},"BrokerId":{"locationName":"brokerId","type":"double"},"ClientSubnet":{"locationName":"clientSubnet"},"ClientVpcIpAddress":{"locationName":"clientVpcIpAddress"},"CurrentBrokerSoftwareInfo":{"shape":"S1x","locationName":"currentBrokerSoftwareInfo"},"Endpoints":{"shape":"S3","locationName":"endpoints"}}},"InstanceType":{"locationName":"instanceType"},"NodeARN":{"locationName":"nodeARN"},"NodeType":{"locationName":"nodeType"},"ZookeeperNodeInfo":{"locationName":"zookeeperNodeInfo","type":"structure","members":{"AttachedENIId":{"locationName":"attachedENIId"},"ClientVpcIpAddress":{"locationName":"clientVpcIpAddress"},"Endpoints":{"shape":"S3","locationName":"endpoints"},"ZookeeperId":{"locationName":"zookeeperId","type":"double"},"ZookeeperVersion":{"locationName":"zookeeperVersion"}}}}}}}}},"ListScramSecrets":{"http":{"method":"GET","requestUri":"/v1/clusters/{clusterArn}/scram-secrets","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"required":["ClusterArn"]},"output":{"type":"structure","members":{"NextToken":{"locationName":"nextToken"},"SecretArnList":{"shape":"S3","locationName":"secretArnList"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"Tags":{"shape":"S18","locationName":"tags"}}}},"RebootBroker":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/reboot-broker","responseCode":200},"input":{"type":"structure","members":{"BrokerIds":{"shape":"S3","locationName":"brokerIds"},"ClusterArn":{"location":"uri","locationName":"clusterArn"}},"required":["ClusterArn","BrokerIds"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"TagResource":{"http":{"requestUri":"/v1/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"S18","locationName":"tags"}},"required":["ResourceArn","Tags"]}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"shape":"S3","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"UpdateBrokerCount":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/nodes/count","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"TargetNumberOfBrokerNodes":{"locationName":"targetNumberOfBrokerNodes","type":"integer"}},"required":["ClusterArn","CurrentVersion","TargetNumberOfBrokerNodes"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateBrokerType":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/nodes/type","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"TargetInstanceType":{"locationName":"targetInstanceType"}},"required":["ClusterArn","CurrentVersion","TargetInstanceType"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateBrokerStorage":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/nodes/storage","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"TargetBrokerEBSVolumeInfo":{"shape":"S2g","locationName":"targetBrokerEBSVolumeInfo"}},"required":["ClusterArn","TargetBrokerEBSVolumeInfo","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateConfiguration":{"http":{"method":"PUT","requestUri":"/v1/configurations/{arn}","responseCode":200},"input":{"type":"structure","members":{"Arn":{"location":"uri","locationName":"arn"},"Description":{"locationName":"description"},"ServerProperties":{"locationName":"serverProperties","type":"blob"}},"required":["Arn","ServerProperties"]},"output":{"type":"structure","members":{"Arn":{"locationName":"arn"},"LatestRevision":{"shape":"S1o","locationName":"latestRevision"}}}},"UpdateConnectivity":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/connectivity","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"ConnectivityInfo":{"shape":"Sh","locationName":"connectivityInfo"},"CurrentVersion":{"locationName":"currentVersion"}},"required":["ClusterArn","ConnectivityInfo","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateClusterConfiguration":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/configuration","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"ConfigurationInfo":{"shape":"Sq","locationName":"configurationInfo"},"CurrentVersion":{"locationName":"currentVersion"}},"required":["ClusterArn","CurrentVersion","ConfigurationInfo"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateClusterKafkaVersion":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/version","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"ConfigurationInfo":{"shape":"Sq","locationName":"configurationInfo"},"CurrentVersion":{"locationName":"currentVersion"},"TargetKafkaVersion":{"locationName":"targetKafkaVersion"}},"required":["ClusterArn","TargetKafkaVersion","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateMonitoring":{"http":{"method":"PUT","requestUri":"/v1/clusters/{clusterArn}/monitoring","responseCode":200},"input":{"type":"structure","members":{"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sx","locationName":"openMonitoring"},"LoggingInfo":{"shape":"S12","locationName":"loggingInfo"}},"required":["ClusterArn","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}},"UpdateSecurity":{"http":{"method":"PATCH","requestUri":"/v1/clusters/{clusterArn}/security","responseCode":200},"input":{"type":"structure","members":{"ClientAuthentication":{"shape":"Sj","locationName":"clientAuthentication"},"ClusterArn":{"location":"uri","locationName":"clusterArn"},"CurrentVersion":{"locationName":"currentVersion"},"EncryptionInfo":{"shape":"Ss","locationName":"encryptionInfo"}},"required":["ClusterArn","CurrentVersion"]},"output":{"type":"structure","members":{"ClusterArn":{"locationName":"clusterArn"},"ClusterOperationArn":{"locationName":"clusterOperationArn"}}}}},"shapes":{"S3":{"type":"list","member":{}},"S5":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{"locationName":"errorCode"},"ErrorMessage":{"locationName":"errorMessage"},"SecretArn":{"locationName":"secretArn"}}}},"S8":{"type":"structure","members":{"BrokerAZDistribution":{"locationName":"brokerAZDistribution"},"ClientSubnets":{"shape":"S3","locationName":"clientSubnets"},"InstanceType":{"locationName":"instanceType"},"SecurityGroups":{"shape":"S3","locationName":"securityGroups"},"StorageInfo":{"locationName":"storageInfo","type":"structure","members":{"EbsStorageInfo":{"locationName":"ebsStorageInfo","type":"structure","members":{"ProvisionedThroughput":{"shape":"Sd","locationName":"provisionedThroughput"},"VolumeSize":{"locationName":"volumeSize","type":"integer"}}}}},"ConnectivityInfo":{"shape":"Sh","locationName":"connectivityInfo"}},"required":["ClientSubnets","InstanceType"]},"Sd":{"type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"},"VolumeThroughput":{"locationName":"volumeThroughput","type":"integer"}}},"Sh":{"type":"structure","members":{"PublicAccess":{"locationName":"publicAccess","type":"structure","members":{"Type":{"locationName":"type"}}}}},"Sj":{"type":"structure","members":{"Sasl":{"locationName":"sasl","type":"structure","members":{"Scram":{"locationName":"scram","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"Iam":{"shape":"Sm","locationName":"iam"}}},"Tls":{"locationName":"tls","type":"structure","members":{"CertificateAuthorityArnList":{"shape":"S3","locationName":"certificateAuthorityArnList"},"Enabled":{"locationName":"enabled","type":"boolean"}}},"Unauthenticated":{"locationName":"unauthenticated","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}}}},"Sm":{"type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"}}},"Sq":{"type":"structure","members":{"Arn":{"locationName":"arn"},"Revision":{"locationName":"revision","type":"long"}},"required":["Revision","Arn"]},"Ss":{"type":"structure","members":{"EncryptionAtRest":{"locationName":"encryptionAtRest","type":"structure","members":{"DataVolumeKMSKeyId":{"locationName":"dataVolumeKMSKeyId"}},"required":["DataVolumeKMSKeyId"]},"EncryptionInTransit":{"locationName":"encryptionInTransit","type":"structure","members":{"ClientBroker":{"locationName":"clientBroker"},"InCluster":{"locationName":"inCluster","type":"boolean"}}}}},"Sx":{"type":"structure","members":{"Prometheus":{"locationName":"prometheus","type":"structure","members":{"JmxExporter":{"locationName":"jmxExporter","type":"structure","members":{"EnabledInBroker":{"locationName":"enabledInBroker","type":"boolean"}},"required":["EnabledInBroker"]},"NodeExporter":{"locationName":"nodeExporter","type":"structure","members":{"EnabledInBroker":{"locationName":"enabledInBroker","type":"boolean"}},"required":["EnabledInBroker"]}}}},"required":["Prometheus"]},"S12":{"type":"structure","members":{"BrokerLogs":{"locationName":"brokerLogs","type":"structure","members":{"CloudWatchLogs":{"locationName":"cloudWatchLogs","type":"structure","members":{"Enabled":{"locationName":"enabled","type":"boolean"},"LogGroup":{"locationName":"logGroup"}},"required":["Enabled"]},"Firehose":{"locationName":"firehose","type":"structure","members":{"DeliveryStream":{"locationName":"deliveryStream"},"Enabled":{"locationName":"enabled","type":"boolean"}},"required":["Enabled"]},"S3":{"locationName":"s3","type":"structure","members":{"Bucket":{"locationName":"bucket"},"Enabled":{"locationName":"enabled","type":"boolean"},"Prefix":{"locationName":"prefix"}},"required":["Enabled"]}}}},"required":["BrokerLogs"]},"S18":{"type":"map","key":{},"value":{}},"S1e":{"type":"list","member":{"type":"structure","members":{"SubnetIds":{"shape":"S3","locationName":"subnetIds"},"SecurityGroupIds":{"shape":"S3","locationName":"securityGroupIds"}},"required":["SubnetIds"]}},"S1g":{"type":"structure","members":{"Sasl":{"locationName":"sasl","type":"structure","members":{"Iam":{"shape":"Sm","locationName":"iam"}}}}},"S1n":{"type":"timestamp","timestampFormat":"iso8601"},"S1o":{"type":"structure","members":{"CreationTime":{"shape":"S1n","locationName":"creationTime"},"Description":{"locationName":"description"},"Revision":{"locationName":"revision","type":"long"}},"required":["Revision","CreationTime"]},"S1w":{"type":"structure","members":{"ActiveOperationArn":{"locationName":"activeOperationArn"},"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"ClientAuthentication":{"shape":"Sj","locationName":"clientAuthentication"},"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"CreationTime":{"shape":"S1n","locationName":"creationTime"},"CurrentBrokerSoftwareInfo":{"shape":"S1x","locationName":"currentBrokerSoftwareInfo"},"CurrentVersion":{"locationName":"currentVersion"},"EncryptionInfo":{"shape":"Ss","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"S1y","locationName":"openMonitoring"},"LoggingInfo":{"shape":"S12","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"State":{"locationName":"state"},"StateInfo":{"shape":"S22","locationName":"stateInfo"},"Tags":{"shape":"S18","locationName":"tags"},"ZookeeperConnectString":{"locationName":"zookeeperConnectString"},"ZookeeperConnectStringTls":{"locationName":"zookeeperConnectStringTls"}}},"S1x":{"type":"structure","members":{"ConfigurationArn":{"locationName":"configurationArn"},"ConfigurationRevision":{"locationName":"configurationRevision","type":"long"},"KafkaVersion":{"locationName":"kafkaVersion"}}},"S1y":{"type":"structure","members":{"Prometheus":{"locationName":"prometheus","type":"structure","members":{"JmxExporter":{"locationName":"jmxExporter","type":"structure","members":{"EnabledInBroker":{"locationName":"enabledInBroker","type":"boolean"}},"required":["EnabledInBroker"]},"NodeExporter":{"locationName":"nodeExporter","type":"structure","members":{"EnabledInBroker":{"locationName":"enabledInBroker","type":"boolean"}},"required":["EnabledInBroker"]}}}},"required":["Prometheus"]},"S22":{"type":"structure","members":{"Code":{"locationName":"code"},"Message":{"locationName":"message"}}},"S25":{"type":"structure","members":{"ActiveOperationArn":{"locationName":"activeOperationArn"},"ClusterType":{"locationName":"clusterType"},"ClusterArn":{"locationName":"clusterArn"},"ClusterName":{"locationName":"clusterName"},"CreationTime":{"shape":"S1n","locationName":"creationTime"},"CurrentVersion":{"locationName":"currentVersion"},"State":{"locationName":"state"},"StateInfo":{"shape":"S22","locationName":"stateInfo"},"Tags":{"shape":"S18","locationName":"tags"},"Provisioned":{"locationName":"provisioned","type":"structure","members":{"BrokerNodeGroupInfo":{"shape":"S8","locationName":"brokerNodeGroupInfo"},"CurrentBrokerSoftwareInfo":{"shape":"S1x","locationName":"currentBrokerSoftwareInfo"},"ClientAuthentication":{"shape":"Sj","locationName":"clientAuthentication"},"EncryptionInfo":{"shape":"Ss","locationName":"encryptionInfo"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"Sx","locationName":"openMonitoring"},"LoggingInfo":{"shape":"S12","locationName":"loggingInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"ZookeeperConnectString":{"locationName":"zookeeperConnectString"},"ZookeeperConnectStringTls":{"locationName":"zookeeperConnectStringTls"}},"required":["BrokerNodeGroupInfo","NumberOfBrokerNodes"]},"Serverless":{"locationName":"serverless","type":"structure","members":{"VpcConfigs":{"shape":"S1e","locationName":"vpcConfigs"},"ClientAuthentication":{"shape":"S1g","locationName":"clientAuthentication"}},"required":["VpcConfigs"]}}},"S2a":{"type":"structure","members":{"ClientRequestId":{"locationName":"clientRequestId"},"ClusterArn":{"locationName":"clusterArn"},"CreationTime":{"shape":"S1n","locationName":"creationTime"},"EndTime":{"shape":"S1n","locationName":"endTime"},"ErrorInfo":{"locationName":"errorInfo","type":"structure","members":{"ErrorCode":{"locationName":"errorCode"},"ErrorString":{"locationName":"errorString"}}},"OperationArn":{"locationName":"operationArn"},"OperationState":{"locationName":"operationState"},"OperationSteps":{"locationName":"operationSteps","type":"list","member":{"type":"structure","members":{"StepInfo":{"locationName":"stepInfo","type":"structure","members":{"StepStatus":{"locationName":"stepStatus"}}},"StepName":{"locationName":"stepName"}}}},"OperationType":{"locationName":"operationType"},"SourceClusterInfo":{"shape":"S2f","locationName":"sourceClusterInfo"},"TargetClusterInfo":{"shape":"S2f","locationName":"targetClusterInfo"}}},"S2f":{"type":"structure","members":{"BrokerEBSVolumeInfo":{"shape":"S2g","locationName":"brokerEBSVolumeInfo"},"ConfigurationInfo":{"shape":"Sq","locationName":"configurationInfo"},"NumberOfBrokerNodes":{"locationName":"numberOfBrokerNodes","type":"integer"},"EnhancedMonitoring":{"locationName":"enhancedMonitoring"},"OpenMonitoring":{"shape":"S1y","locationName":"openMonitoring"},"KafkaVersion":{"locationName":"kafkaVersion"},"LoggingInfo":{"shape":"S12","locationName":"loggingInfo"},"InstanceType":{"locationName":"instanceType"},"ClientAuthentication":{"shape":"Sj","locationName":"clientAuthentication"},"EncryptionInfo":{"shape":"Ss","locationName":"encryptionInfo"},"ConnectivityInfo":{"shape":"Sh","locationName":"connectivityInfo"}}},"S2g":{"type":"list","member":{"type":"structure","members":{"KafkaBrokerNodeId":{"locationName":"kafkaBrokerNodeId"},"ProvisionedThroughput":{"shape":"Sd","locationName":"provisionedThroughput"},"VolumeSizeGB":{"locationName":"volumeSizeGB","type":"integer"}},"required":["KafkaBrokerNodeId"]}}}} /***/ }), /* 708 */ @@ -51263,7 +51269,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 748 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-05-22","endpointPrefix":"personalize","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Personalize","serviceId":"Personalize","signatureVersion":"v4","signingName":"personalize","targetPrefix":"AmazonPersonalize","uid":"personalize-2018-05-22"},"operations":{"CreateBatchInferenceJob":{"input":{"type":"structure","required":["jobName","solutionVersionArn","jobInput","jobOutput","roleArn"],"members":{"jobName":{},"solutionVersionArn":{},"filterArn":{},"numResults":{"type":"integer"},"jobInput":{"shape":"S5"},"jobOutput":{"shape":"S9"},"roleArn":{},"batchInferenceJobConfig":{"shape":"Sb"}}},"output":{"type":"structure","members":{"batchInferenceJobArn":{}}}},"CreateBatchSegmentJob":{"input":{"type":"structure","required":["jobName","solutionVersionArn","jobInput","jobOutput","roleArn"],"members":{"jobName":{},"solutionVersionArn":{},"filterArn":{},"numResults":{"type":"integer"},"jobInput":{"shape":"Sh"},"jobOutput":{"shape":"Si"},"roleArn":{}}},"output":{"type":"structure","members":{"batchSegmentJobArn":{}}}},"CreateCampaign":{"input":{"type":"structure","required":["name","solutionVersionArn"],"members":{"name":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Sm"}}},"output":{"type":"structure","members":{"campaignArn":{}}},"idempotent":true},"CreateDataset":{"input":{"type":"structure","required":["name","schemaArn","datasetGroupArn","datasetType"],"members":{"name":{},"schemaArn":{},"datasetGroupArn":{},"datasetType":{}}},"output":{"type":"structure","members":{"datasetArn":{}}},"idempotent":true},"CreateDatasetExportJob":{"input":{"type":"structure","required":["jobName","datasetArn","roleArn","jobOutput"],"members":{"jobName":{},"datasetArn":{},"ingestionMode":{},"roleArn":{},"jobOutput":{"shape":"St"}}},"output":{"type":"structure","members":{"datasetExportJobArn":{}}},"idempotent":true},"CreateDatasetGroup":{"input":{"type":"structure","required":["name"],"members":{"name":{},"roleArn":{},"kmsKeyArn":{},"domain":{}}},"output":{"type":"structure","members":{"datasetGroupArn":{},"domain":{}}}},"CreateDatasetImportJob":{"input":{"type":"structure","required":["jobName","datasetArn","dataSource","roleArn"],"members":{"jobName":{},"datasetArn":{},"dataSource":{"shape":"Sz"},"roleArn":{}}},"output":{"type":"structure","members":{"datasetImportJobArn":{}}}},"CreateEventTracker":{"input":{"type":"structure","required":["name","datasetGroupArn"],"members":{"name":{},"datasetGroupArn":{}}},"output":{"type":"structure","members":{"eventTrackerArn":{},"trackingId":{}}},"idempotent":true},"CreateFilter":{"input":{"type":"structure","required":["name","datasetGroupArn","filterExpression"],"members":{"name":{},"datasetGroupArn":{},"filterExpression":{"shape":"S15"}}},"output":{"type":"structure","members":{"filterArn":{}}}},"CreateRecommender":{"input":{"type":"structure","required":["name","datasetGroupArn","recipeArn"],"members":{"name":{},"datasetGroupArn":{},"recipeArn":{},"recommenderConfig":{"shape":"S18"}}},"output":{"type":"structure","members":{"recommenderArn":{}}},"idempotent":true},"CreateSchema":{"input":{"type":"structure","required":["name","schema"],"members":{"name":{},"schema":{},"domain":{}}},"output":{"type":"structure","members":{"schemaArn":{}}},"idempotent":true},"CreateSolution":{"input":{"type":"structure","required":["name","datasetGroupArn"],"members":{"name":{},"performHPO":{"type":"boolean"},"performAutoML":{"type":"boolean"},"recipeArn":{},"datasetGroupArn":{},"eventType":{},"solutionConfig":{"shape":"S1h"}}},"output":{"type":"structure","members":{"solutionArn":{}}}},"CreateSolutionVersion":{"input":{"type":"structure","required":["solutionArn"],"members":{"solutionArn":{},"trainingMode":{}}},"output":{"type":"structure","members":{"solutionVersionArn":{}}}},"DeleteCampaign":{"input":{"type":"structure","required":["campaignArn"],"members":{"campaignArn":{}}},"idempotent":true},"DeleteDataset":{"input":{"type":"structure","required":["datasetArn"],"members":{"datasetArn":{}}},"idempotent":true},"DeleteDatasetGroup":{"input":{"type":"structure","required":["datasetGroupArn"],"members":{"datasetGroupArn":{}}},"idempotent":true},"DeleteEventTracker":{"input":{"type":"structure","required":["eventTrackerArn"],"members":{"eventTrackerArn":{}}},"idempotent":true},"DeleteFilter":{"input":{"type":"structure","required":["filterArn"],"members":{"filterArn":{}}}},"DeleteRecommender":{"input":{"type":"structure","required":["recommenderArn"],"members":{"recommenderArn":{}}},"idempotent":true},"DeleteSchema":{"input":{"type":"structure","required":["schemaArn"],"members":{"schemaArn":{}}},"idempotent":true},"DeleteSolution":{"input":{"type":"structure","required":["solutionArn"],"members":{"solutionArn":{}}},"idempotent":true},"DescribeAlgorithm":{"input":{"type":"structure","required":["algorithmArn"],"members":{"algorithmArn":{}}},"output":{"type":"structure","members":{"algorithm":{"type":"structure","members":{"name":{},"algorithmArn":{},"algorithmImage":{"type":"structure","required":["dockerURI"],"members":{"name":{},"dockerURI":{}}},"defaultHyperParameters":{"shape":"Sc"},"defaultHyperParameterRanges":{"type":"structure","members":{"integerHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"minValue":{"type":"integer"},"maxValue":{"type":"integer"},"isTunable":{"type":"boolean"}}}},"continuousHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"minValue":{"type":"double"},"maxValue":{"type":"double"},"isTunable":{"type":"boolean"}}}},"categoricalHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"S21"},"isTunable":{"type":"boolean"}}}}}},"defaultResourceConfig":{"type":"map","key":{},"value":{}},"trainingInputMode":{},"roleArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeBatchInferenceJob":{"input":{"type":"structure","required":["batchInferenceJobArn"],"members":{"batchInferenceJobArn":{}}},"output":{"type":"structure","members":{"batchInferenceJob":{"type":"structure","members":{"jobName":{},"batchInferenceJobArn":{},"filterArn":{},"failureReason":{},"solutionVersionArn":{},"numResults":{"type":"integer"},"jobInput":{"shape":"S5"},"jobOutput":{"shape":"S9"},"batchInferenceJobConfig":{"shape":"Sb"},"roleArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeBatchSegmentJob":{"input":{"type":"structure","required":["batchSegmentJobArn"],"members":{"batchSegmentJobArn":{}}},"output":{"type":"structure","members":{"batchSegmentJob":{"type":"structure","members":{"jobName":{},"batchSegmentJobArn":{},"filterArn":{},"failureReason":{},"solutionVersionArn":{},"numResults":{"type":"integer"},"jobInput":{"shape":"Sh"},"jobOutput":{"shape":"Si"},"roleArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeCampaign":{"input":{"type":"structure","required":["campaignArn"],"members":{"campaignArn":{}}},"output":{"type":"structure","members":{"campaign":{"type":"structure","members":{"name":{},"campaignArn":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Sm"},"status":{},"failureReason":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"latestCampaignUpdate":{"type":"structure","members":{"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Sm"},"status":{},"failureReason":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}}}},"idempotent":true},"DescribeDataset":{"input":{"type":"structure","required":["datasetArn"],"members":{"datasetArn":{}}},"output":{"type":"structure","members":{"dataset":{"type":"structure","members":{"name":{},"datasetArn":{},"datasetGroupArn":{},"datasetType":{},"schemaArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeDatasetExportJob":{"input":{"type":"structure","required":["datasetExportJobArn"],"members":{"datasetExportJobArn":{}}},"output":{"type":"structure","members":{"datasetExportJob":{"type":"structure","members":{"jobName":{},"datasetExportJobArn":{},"datasetArn":{},"ingestionMode":{},"roleArn":{},"status":{},"jobOutput":{"shape":"St"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}}},"idempotent":true},"DescribeDatasetGroup":{"input":{"type":"structure","required":["datasetGroupArn"],"members":{"datasetGroupArn":{}}},"output":{"type":"structure","members":{"datasetGroup":{"type":"structure","members":{"name":{},"datasetGroupArn":{},"status":{},"roleArn":{},"kmsKeyArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{},"domain":{}}}}},"idempotent":true},"DescribeDatasetImportJob":{"input":{"type":"structure","required":["datasetImportJobArn"],"members":{"datasetImportJobArn":{}}},"output":{"type":"structure","members":{"datasetImportJob":{"type":"structure","members":{"jobName":{},"datasetImportJobArn":{},"datasetArn":{},"dataSource":{"shape":"Sz"},"roleArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}}},"idempotent":true},"DescribeEventTracker":{"input":{"type":"structure","required":["eventTrackerArn"],"members":{"eventTrackerArn":{}}},"output":{"type":"structure","members":{"eventTracker":{"type":"structure","members":{"name":{},"eventTrackerArn":{},"accountId":{},"trackingId":{},"datasetGroupArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeFeatureTransformation":{"input":{"type":"structure","required":["featureTransformationArn"],"members":{"featureTransformationArn":{}}},"output":{"type":"structure","members":{"featureTransformation":{"type":"structure","members":{"name":{},"featureTransformationArn":{},"defaultParameters":{"type":"map","key":{},"value":{}},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"status":{}}}}},"idempotent":true},"DescribeFilter":{"input":{"type":"structure","required":["filterArn"],"members":{"filterArn":{}}},"output":{"type":"structure","members":{"filter":{"type":"structure","members":{"name":{},"filterArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"datasetGroupArn":{},"failureReason":{},"filterExpression":{"shape":"S15"},"status":{}}}}},"idempotent":true},"DescribeRecipe":{"input":{"type":"structure","required":["recipeArn"],"members":{"recipeArn":{}}},"output":{"type":"structure","members":{"recipe":{"type":"structure","members":{"name":{},"recipeArn":{},"algorithmArn":{},"featureTransformationArn":{},"status":{},"description":{},"creationDateTime":{"type":"timestamp"},"recipeType":{},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeRecommender":{"input":{"type":"structure","required":["recommenderArn"],"members":{"recommenderArn":{}}},"output":{"type":"structure","members":{"recommender":{"type":"structure","members":{"recommenderArn":{},"datasetGroupArn":{},"name":{},"recipeArn":{},"recommenderConfig":{"shape":"S18"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"status":{},"failureReason":{},"latestRecommenderUpdate":{"type":"structure","members":{"recommenderConfig":{"shape":"S18"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"status":{},"failureReason":{}}}}}}},"idempotent":true},"DescribeSchema":{"input":{"type":"structure","required":["schemaArn"],"members":{"schemaArn":{}}},"output":{"type":"structure","members":{"schema":{"type":"structure","members":{"name":{},"schemaArn":{},"schema":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"domain":{}}}}},"idempotent":true},"DescribeSolution":{"input":{"type":"structure","required":["solutionArn"],"members":{"solutionArn":{}}},"output":{"type":"structure","members":{"solution":{"type":"structure","members":{"name":{},"solutionArn":{},"performHPO":{"type":"boolean"},"performAutoML":{"type":"boolean"},"recipeArn":{},"datasetGroupArn":{},"eventType":{},"solutionConfig":{"shape":"S1h"},"autoMLResult":{"type":"structure","members":{"bestRecipeArn":{}}},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"latestSolutionVersion":{"shape":"S4h"}}}}},"idempotent":true},"DescribeSolutionVersion":{"input":{"type":"structure","required":["solutionVersionArn"],"members":{"solutionVersionArn":{}}},"output":{"type":"structure","members":{"solutionVersion":{"type":"structure","members":{"solutionVersionArn":{},"solutionArn":{},"performHPO":{"type":"boolean"},"performAutoML":{"type":"boolean"},"recipeArn":{},"eventType":{},"datasetGroupArn":{},"solutionConfig":{"shape":"S1h"},"trainingHours":{"type":"double"},"trainingMode":{},"tunedHPOParams":{"type":"structure","members":{"algorithmHyperParameters":{"shape":"Sc"}}},"status":{},"failureReason":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"GetSolutionMetrics":{"input":{"type":"structure","required":["solutionVersionArn"],"members":{"solutionVersionArn":{}}},"output":{"type":"structure","members":{"solutionVersionArn":{},"metrics":{"type":"map","key":{},"value":{"type":"double"}}}}},"ListBatchInferenceJobs":{"input":{"type":"structure","members":{"solutionVersionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"batchInferenceJobs":{"type":"list","member":{"type":"structure","members":{"batchInferenceJobArn":{},"jobName":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{},"solutionVersionArn":{}}}},"nextToken":{}}},"idempotent":true},"ListBatchSegmentJobs":{"input":{"type":"structure","members":{"solutionVersionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"batchSegmentJobs":{"type":"list","member":{"type":"structure","members":{"batchSegmentJobArn":{},"jobName":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{},"solutionVersionArn":{}}}},"nextToken":{}}},"idempotent":true},"ListCampaigns":{"input":{"type":"structure","members":{"solutionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"campaigns":{"type":"list","member":{"type":"structure","members":{"name":{},"campaignArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}},"nextToken":{}}},"idempotent":true},"ListDatasetExportJobs":{"input":{"type":"structure","members":{"datasetArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"datasetExportJobs":{"type":"list","member":{"type":"structure","members":{"datasetExportJobArn":{},"jobName":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}},"nextToken":{}}},"idempotent":true},"ListDatasetGroups":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"datasetGroups":{"type":"list","member":{"type":"structure","members":{"name":{},"datasetGroupArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{},"domain":{}}}},"nextToken":{}}},"idempotent":true},"ListDatasetImportJobs":{"input":{"type":"structure","members":{"datasetArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"datasetImportJobs":{"type":"list","member":{"type":"structure","members":{"datasetImportJobArn":{},"jobName":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}},"nextToken":{}}},"idempotent":true},"ListDatasets":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"datasets":{"type":"list","member":{"type":"structure","members":{"name":{},"datasetArn":{},"datasetType":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"idempotent":true},"ListEventTrackers":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"eventTrackers":{"type":"list","member":{"type":"structure","members":{"name":{},"eventTrackerArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"idempotent":true},"ListFilters":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"name":{},"filterArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"datasetGroupArn":{},"failureReason":{},"status":{}}}},"nextToken":{}}},"idempotent":true},"ListRecipes":{"input":{"type":"structure","members":{"recipeProvider":{},"nextToken":{},"maxResults":{"type":"integer"},"domain":{}}},"output":{"type":"structure","members":{"recipes":{"type":"list","member":{"type":"structure","members":{"name":{},"recipeArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"domain":{}}}},"nextToken":{}}},"idempotent":true},"ListRecommenders":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"recommenders":{"type":"list","member":{"type":"structure","members":{"name":{},"recommenderArn":{},"datasetGroupArn":{},"recipeArn":{},"recommenderConfig":{"shape":"S18"},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"idempotent":true},"ListSchemas":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"schemas":{"type":"list","member":{"type":"structure","members":{"name":{},"schemaArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"domain":{}}}},"nextToken":{}}},"idempotent":true},"ListSolutionVersions":{"input":{"type":"structure","members":{"solutionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"solutionVersions":{"type":"list","member":{"shape":"S4h"}},"nextToken":{}}},"idempotent":true},"ListSolutions":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"solutions":{"type":"list","member":{"type":"structure","members":{"name":{},"solutionArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"idempotent":true},"StopSolutionVersionCreation":{"input":{"type":"structure","required":["solutionVersionArn"],"members":{"solutionVersionArn":{}}},"idempotent":true},"UpdateCampaign":{"input":{"type":"structure","required":["campaignArn"],"members":{"campaignArn":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Sm"}}},"output":{"type":"structure","members":{"campaignArn":{}}},"idempotent":true},"UpdateRecommender":{"input":{"type":"structure","required":["recommenderArn","recommenderConfig"],"members":{"recommenderArn":{},"recommenderConfig":{"shape":"S18"}}},"output":{"type":"structure","members":{"recommenderArn":{}}},"idempotent":true}},"shapes":{"S5":{"type":"structure","required":["s3DataSource"],"members":{"s3DataSource":{"shape":"S6"}}},"S6":{"type":"structure","required":["path"],"members":{"path":{},"kmsKeyArn":{}}},"S9":{"type":"structure","required":["s3DataDestination"],"members":{"s3DataDestination":{"shape":"S6"}}},"Sb":{"type":"structure","members":{"itemExplorationConfig":{"shape":"Sc"}}},"Sc":{"type":"map","key":{},"value":{}},"Sh":{"type":"structure","required":["s3DataSource"],"members":{"s3DataSource":{"shape":"S6"}}},"Si":{"type":"structure","required":["s3DataDestination"],"members":{"s3DataDestination":{"shape":"S6"}}},"Sm":{"type":"structure","members":{"itemExplorationConfig":{"shape":"Sc"}}},"St":{"type":"structure","required":["s3DataDestination"],"members":{"s3DataDestination":{"shape":"S6"}}},"Sz":{"type":"structure","members":{"dataLocation":{}}},"S15":{"type":"string","sensitive":true},"S18":{"type":"structure","members":{"itemExplorationConfig":{"shape":"Sc"}}},"S1h":{"type":"structure","members":{"eventValueThreshold":{},"hpoConfig":{"type":"structure","members":{"hpoObjective":{"type":"structure","members":{"type":{},"metricName":{},"metricRegex":{}}},"hpoResourceConfig":{"type":"structure","members":{"maxNumberOfTrainingJobs":{},"maxParallelTrainingJobs":{}}},"algorithmHyperParameterRanges":{"type":"structure","members":{"integerHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"minValue":{"type":"integer"},"maxValue":{"type":"integer"}}}},"continuousHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"minValue":{"type":"double"},"maxValue":{"type":"double"}}}},"categoricalHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"S21"}}}}}}}},"algorithmHyperParameters":{"shape":"Sc"},"featureTransformationParameters":{"type":"map","key":{},"value":{}},"autoMLConfig":{"type":"structure","members":{"metricName":{},"recipeList":{"type":"list","member":{}}}},"optimizationObjective":{"type":"structure","members":{"itemAttribute":{},"objectiveSensitivity":{}}}}},"S21":{"type":"list","member":{}},"S4h":{"type":"structure","members":{"solutionVersionArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-05-22","endpointPrefix":"personalize","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Personalize","serviceId":"Personalize","signatureVersion":"v4","signingName":"personalize","targetPrefix":"AmazonPersonalize","uid":"personalize-2018-05-22"},"operations":{"CreateBatchInferenceJob":{"input":{"type":"structure","required":["jobName","solutionVersionArn","jobInput","jobOutput","roleArn"],"members":{"jobName":{},"solutionVersionArn":{},"filterArn":{},"numResults":{"type":"integer"},"jobInput":{"shape":"S5"},"jobOutput":{"shape":"S9"},"roleArn":{},"batchInferenceJobConfig":{"shape":"Sb"}}},"output":{"type":"structure","members":{"batchInferenceJobArn":{}}}},"CreateBatchSegmentJob":{"input":{"type":"structure","required":["jobName","solutionVersionArn","jobInput","jobOutput","roleArn"],"members":{"jobName":{},"solutionVersionArn":{},"filterArn":{},"numResults":{"type":"integer"},"jobInput":{"shape":"Sh"},"jobOutput":{"shape":"Si"},"roleArn":{}}},"output":{"type":"structure","members":{"batchSegmentJobArn":{}}}},"CreateCampaign":{"input":{"type":"structure","required":["name","solutionVersionArn"],"members":{"name":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Sm"}}},"output":{"type":"structure","members":{"campaignArn":{}}},"idempotent":true},"CreateDataset":{"input":{"type":"structure","required":["name","schemaArn","datasetGroupArn","datasetType"],"members":{"name":{},"schemaArn":{},"datasetGroupArn":{},"datasetType":{}}},"output":{"type":"structure","members":{"datasetArn":{}}},"idempotent":true},"CreateDatasetExportJob":{"input":{"type":"structure","required":["jobName","datasetArn","roleArn","jobOutput"],"members":{"jobName":{},"datasetArn":{},"ingestionMode":{},"roleArn":{},"jobOutput":{"shape":"St"}}},"output":{"type":"structure","members":{"datasetExportJobArn":{}}},"idempotent":true},"CreateDatasetGroup":{"input":{"type":"structure","required":["name"],"members":{"name":{},"roleArn":{},"kmsKeyArn":{},"domain":{}}},"output":{"type":"structure","members":{"datasetGroupArn":{},"domain":{}}}},"CreateDatasetImportJob":{"input":{"type":"structure","required":["jobName","datasetArn","dataSource","roleArn"],"members":{"jobName":{},"datasetArn":{},"dataSource":{"shape":"Sz"},"roleArn":{}}},"output":{"type":"structure","members":{"datasetImportJobArn":{}}}},"CreateEventTracker":{"input":{"type":"structure","required":["name","datasetGroupArn"],"members":{"name":{},"datasetGroupArn":{}}},"output":{"type":"structure","members":{"eventTrackerArn":{},"trackingId":{}}},"idempotent":true},"CreateFilter":{"input":{"type":"structure","required":["name","datasetGroupArn","filterExpression"],"members":{"name":{},"datasetGroupArn":{},"filterExpression":{"shape":"S15"}}},"output":{"type":"structure","members":{"filterArn":{}}}},"CreateRecommender":{"input":{"type":"structure","required":["name","datasetGroupArn","recipeArn"],"members":{"name":{},"datasetGroupArn":{},"recipeArn":{},"recommenderConfig":{"shape":"S18"}}},"output":{"type":"structure","members":{"recommenderArn":{}}},"idempotent":true},"CreateSchema":{"input":{"type":"structure","required":["name","schema"],"members":{"name":{},"schema":{},"domain":{}}},"output":{"type":"structure","members":{"schemaArn":{}}},"idempotent":true},"CreateSolution":{"input":{"type":"structure","required":["name","datasetGroupArn"],"members":{"name":{},"performHPO":{"type":"boolean"},"performAutoML":{"type":"boolean"},"recipeArn":{},"datasetGroupArn":{},"eventType":{},"solutionConfig":{"shape":"S1h"}}},"output":{"type":"structure","members":{"solutionArn":{}}}},"CreateSolutionVersion":{"input":{"type":"structure","required":["solutionArn"],"members":{"solutionArn":{},"trainingMode":{}}},"output":{"type":"structure","members":{"solutionVersionArn":{}}}},"DeleteCampaign":{"input":{"type":"structure","required":["campaignArn"],"members":{"campaignArn":{}}},"idempotent":true},"DeleteDataset":{"input":{"type":"structure","required":["datasetArn"],"members":{"datasetArn":{}}},"idempotent":true},"DeleteDatasetGroup":{"input":{"type":"structure","required":["datasetGroupArn"],"members":{"datasetGroupArn":{}}},"idempotent":true},"DeleteEventTracker":{"input":{"type":"structure","required":["eventTrackerArn"],"members":{"eventTrackerArn":{}}},"idempotent":true},"DeleteFilter":{"input":{"type":"structure","required":["filterArn"],"members":{"filterArn":{}}}},"DeleteRecommender":{"input":{"type":"structure","required":["recommenderArn"],"members":{"recommenderArn":{}}},"idempotent":true},"DeleteSchema":{"input":{"type":"structure","required":["schemaArn"],"members":{"schemaArn":{}}},"idempotent":true},"DeleteSolution":{"input":{"type":"structure","required":["solutionArn"],"members":{"solutionArn":{}}},"idempotent":true},"DescribeAlgorithm":{"input":{"type":"structure","required":["algorithmArn"],"members":{"algorithmArn":{}}},"output":{"type":"structure","members":{"algorithm":{"type":"structure","members":{"name":{},"algorithmArn":{},"algorithmImage":{"type":"structure","required":["dockerURI"],"members":{"name":{},"dockerURI":{}}},"defaultHyperParameters":{"shape":"Sc"},"defaultHyperParameterRanges":{"type":"structure","members":{"integerHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"minValue":{"type":"integer"},"maxValue":{"type":"integer"},"isTunable":{"type":"boolean"}}}},"continuousHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"minValue":{"type":"double"},"maxValue":{"type":"double"},"isTunable":{"type":"boolean"}}}},"categoricalHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"S21"},"isTunable":{"type":"boolean"}}}}}},"defaultResourceConfig":{"type":"map","key":{},"value":{}},"trainingInputMode":{},"roleArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeBatchInferenceJob":{"input":{"type":"structure","required":["batchInferenceJobArn"],"members":{"batchInferenceJobArn":{}}},"output":{"type":"structure","members":{"batchInferenceJob":{"type":"structure","members":{"jobName":{},"batchInferenceJobArn":{},"filterArn":{},"failureReason":{},"solutionVersionArn":{},"numResults":{"type":"integer"},"jobInput":{"shape":"S5"},"jobOutput":{"shape":"S9"},"batchInferenceJobConfig":{"shape":"Sb"},"roleArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeBatchSegmentJob":{"input":{"type":"structure","required":["batchSegmentJobArn"],"members":{"batchSegmentJobArn":{}}},"output":{"type":"structure","members":{"batchSegmentJob":{"type":"structure","members":{"jobName":{},"batchSegmentJobArn":{},"filterArn":{},"failureReason":{},"solutionVersionArn":{},"numResults":{"type":"integer"},"jobInput":{"shape":"Sh"},"jobOutput":{"shape":"Si"},"roleArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeCampaign":{"input":{"type":"structure","required":["campaignArn"],"members":{"campaignArn":{}}},"output":{"type":"structure","members":{"campaign":{"type":"structure","members":{"name":{},"campaignArn":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Sm"},"status":{},"failureReason":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"latestCampaignUpdate":{"type":"structure","members":{"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Sm"},"status":{},"failureReason":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}}}},"idempotent":true},"DescribeDataset":{"input":{"type":"structure","required":["datasetArn"],"members":{"datasetArn":{}}},"output":{"type":"structure","members":{"dataset":{"type":"structure","members":{"name":{},"datasetArn":{},"datasetGroupArn":{},"datasetType":{},"schemaArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeDatasetExportJob":{"input":{"type":"structure","required":["datasetExportJobArn"],"members":{"datasetExportJobArn":{}}},"output":{"type":"structure","members":{"datasetExportJob":{"type":"structure","members":{"jobName":{},"datasetExportJobArn":{},"datasetArn":{},"ingestionMode":{},"roleArn":{},"status":{},"jobOutput":{"shape":"St"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}}},"idempotent":true},"DescribeDatasetGroup":{"input":{"type":"structure","required":["datasetGroupArn"],"members":{"datasetGroupArn":{}}},"output":{"type":"structure","members":{"datasetGroup":{"type":"structure","members":{"name":{},"datasetGroupArn":{},"status":{},"roleArn":{},"kmsKeyArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{},"domain":{}}}}},"idempotent":true},"DescribeDatasetImportJob":{"input":{"type":"structure","required":["datasetImportJobArn"],"members":{"datasetImportJobArn":{}}},"output":{"type":"structure","members":{"datasetImportJob":{"type":"structure","members":{"jobName":{},"datasetImportJobArn":{},"datasetArn":{},"dataSource":{"shape":"Sz"},"roleArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}}},"idempotent":true},"DescribeEventTracker":{"input":{"type":"structure","required":["eventTrackerArn"],"members":{"eventTrackerArn":{}}},"output":{"type":"structure","members":{"eventTracker":{"type":"structure","members":{"name":{},"eventTrackerArn":{},"accountId":{},"trackingId":{},"datasetGroupArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeFeatureTransformation":{"input":{"type":"structure","required":["featureTransformationArn"],"members":{"featureTransformationArn":{}}},"output":{"type":"structure","members":{"featureTransformation":{"type":"structure","members":{"name":{},"featureTransformationArn":{},"defaultParameters":{"type":"map","key":{},"value":{}},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"status":{}}}}},"idempotent":true},"DescribeFilter":{"input":{"type":"structure","required":["filterArn"],"members":{"filterArn":{}}},"output":{"type":"structure","members":{"filter":{"type":"structure","members":{"name":{},"filterArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"datasetGroupArn":{},"failureReason":{},"filterExpression":{"shape":"S15"},"status":{}}}}},"idempotent":true},"DescribeRecipe":{"input":{"type":"structure","required":["recipeArn"],"members":{"recipeArn":{}}},"output":{"type":"structure","members":{"recipe":{"type":"structure","members":{"name":{},"recipeArn":{},"algorithmArn":{},"featureTransformationArn":{},"status":{},"description":{},"creationDateTime":{"type":"timestamp"},"recipeType":{},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"DescribeRecommender":{"input":{"type":"structure","required":["recommenderArn"],"members":{"recommenderArn":{}}},"output":{"type":"structure","members":{"recommender":{"type":"structure","members":{"recommenderArn":{},"datasetGroupArn":{},"name":{},"recipeArn":{},"recommenderConfig":{"shape":"S18"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"status":{},"failureReason":{},"latestRecommenderUpdate":{"type":"structure","members":{"recommenderConfig":{"shape":"S18"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"status":{},"failureReason":{}}}}}}},"idempotent":true},"DescribeSchema":{"input":{"type":"structure","required":["schemaArn"],"members":{"schemaArn":{}}},"output":{"type":"structure","members":{"schema":{"type":"structure","members":{"name":{},"schemaArn":{},"schema":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"domain":{}}}}},"idempotent":true},"DescribeSolution":{"input":{"type":"structure","required":["solutionArn"],"members":{"solutionArn":{}}},"output":{"type":"structure","members":{"solution":{"type":"structure","members":{"name":{},"solutionArn":{},"performHPO":{"type":"boolean"},"performAutoML":{"type":"boolean"},"recipeArn":{},"datasetGroupArn":{},"eventType":{},"solutionConfig":{"shape":"S1h"},"autoMLResult":{"type":"structure","members":{"bestRecipeArn":{}}},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"latestSolutionVersion":{"shape":"S4h"}}}}},"idempotent":true},"DescribeSolutionVersion":{"input":{"type":"structure","required":["solutionVersionArn"],"members":{"solutionVersionArn":{}}},"output":{"type":"structure","members":{"solutionVersion":{"type":"structure","members":{"solutionVersionArn":{},"solutionArn":{},"performHPO":{"type":"boolean"},"performAutoML":{"type":"boolean"},"recipeArn":{},"eventType":{},"datasetGroupArn":{},"solutionConfig":{"shape":"S1h"},"trainingHours":{"type":"double"},"trainingMode":{},"tunedHPOParams":{"type":"structure","members":{"algorithmHyperParameters":{"shape":"Sc"}}},"status":{},"failureReason":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}}},"idempotent":true},"GetSolutionMetrics":{"input":{"type":"structure","required":["solutionVersionArn"],"members":{"solutionVersionArn":{}}},"output":{"type":"structure","members":{"solutionVersionArn":{},"metrics":{"type":"map","key":{},"value":{"type":"double"}}}}},"ListBatchInferenceJobs":{"input":{"type":"structure","members":{"solutionVersionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"batchInferenceJobs":{"type":"list","member":{"type":"structure","members":{"batchInferenceJobArn":{},"jobName":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{},"solutionVersionArn":{}}}},"nextToken":{}}},"idempotent":true},"ListBatchSegmentJobs":{"input":{"type":"structure","members":{"solutionVersionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"batchSegmentJobs":{"type":"list","member":{"type":"structure","members":{"batchSegmentJobArn":{},"jobName":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{},"solutionVersionArn":{}}}},"nextToken":{}}},"idempotent":true},"ListCampaigns":{"input":{"type":"structure","members":{"solutionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"campaigns":{"type":"list","member":{"type":"structure","members":{"name":{},"campaignArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}},"nextToken":{}}},"idempotent":true},"ListDatasetExportJobs":{"input":{"type":"structure","members":{"datasetArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"datasetExportJobs":{"type":"list","member":{"type":"structure","members":{"datasetExportJobArn":{},"jobName":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}},"nextToken":{}}},"idempotent":true},"ListDatasetGroups":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"datasetGroups":{"type":"list","member":{"type":"structure","members":{"name":{},"datasetGroupArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{},"domain":{}}}},"nextToken":{}}},"idempotent":true},"ListDatasetImportJobs":{"input":{"type":"structure","members":{"datasetArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"datasetImportJobs":{"type":"list","member":{"type":"structure","members":{"datasetImportJobArn":{},"jobName":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}},"nextToken":{}}},"idempotent":true},"ListDatasets":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"datasets":{"type":"list","member":{"type":"structure","members":{"name":{},"datasetArn":{},"datasetType":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"idempotent":true},"ListEventTrackers":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"eventTrackers":{"type":"list","member":{"type":"structure","members":{"name":{},"eventTrackerArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"idempotent":true},"ListFilters":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"name":{},"filterArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"datasetGroupArn":{},"failureReason":{},"status":{}}}},"nextToken":{}}},"idempotent":true},"ListRecipes":{"input":{"type":"structure","members":{"recipeProvider":{},"nextToken":{},"maxResults":{"type":"integer"},"domain":{}}},"output":{"type":"structure","members":{"recipes":{"type":"list","member":{"type":"structure","members":{"name":{},"recipeArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"domain":{}}}},"nextToken":{}}},"idempotent":true},"ListRecommenders":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"recommenders":{"type":"list","member":{"type":"structure","members":{"name":{},"recommenderArn":{},"datasetGroupArn":{},"recipeArn":{},"recommenderConfig":{"shape":"S18"},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"idempotent":true},"ListSchemas":{"input":{"type":"structure","members":{"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"schemas":{"type":"list","member":{"type":"structure","members":{"name":{},"schemaArn":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"domain":{}}}},"nextToken":{}}},"idempotent":true},"ListSolutionVersions":{"input":{"type":"structure","members":{"solutionArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"solutionVersions":{"type":"list","member":{"shape":"S4h"}},"nextToken":{}}},"idempotent":true},"ListSolutions":{"input":{"type":"structure","members":{"datasetGroupArn":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"solutions":{"type":"list","member":{"type":"structure","members":{"name":{},"solutionArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"idempotent":true},"StopSolutionVersionCreation":{"input":{"type":"structure","required":["solutionVersionArn"],"members":{"solutionVersionArn":{}}},"idempotent":true},"UpdateCampaign":{"input":{"type":"structure","required":["campaignArn"],"members":{"campaignArn":{},"solutionVersionArn":{},"minProvisionedTPS":{"type":"integer"},"campaignConfig":{"shape":"Sm"}}},"output":{"type":"structure","members":{"campaignArn":{}}},"idempotent":true},"UpdateRecommender":{"input":{"type":"structure","required":["recommenderArn","recommenderConfig"],"members":{"recommenderArn":{},"recommenderConfig":{"shape":"S18"}}},"output":{"type":"structure","members":{"recommenderArn":{}}},"idempotent":true}},"shapes":{"S5":{"type":"structure","required":["s3DataSource"],"members":{"s3DataSource":{"shape":"S6"}}},"S6":{"type":"structure","required":["path"],"members":{"path":{},"kmsKeyArn":{}}},"S9":{"type":"structure","required":["s3DataDestination"],"members":{"s3DataDestination":{"shape":"S6"}}},"Sb":{"type":"structure","members":{"itemExplorationConfig":{"shape":"Sc"}}},"Sc":{"type":"map","key":{},"value":{}},"Sh":{"type":"structure","required":["s3DataSource"],"members":{"s3DataSource":{"shape":"S6"}}},"Si":{"type":"structure","required":["s3DataDestination"],"members":{"s3DataDestination":{"shape":"S6"}}},"Sm":{"type":"structure","members":{"itemExplorationConfig":{"shape":"Sc"}}},"St":{"type":"structure","required":["s3DataDestination"],"members":{"s3DataDestination":{"shape":"S6"}}},"Sz":{"type":"structure","members":{"dataLocation":{}}},"S15":{"type":"string","sensitive":true},"S18":{"type":"structure","members":{"itemExplorationConfig":{"shape":"Sc"},"minRecommendationRequestsPerSecond":{"type":"integer"}}},"S1h":{"type":"structure","members":{"eventValueThreshold":{},"hpoConfig":{"type":"structure","members":{"hpoObjective":{"type":"structure","members":{"type":{},"metricName":{},"metricRegex":{}}},"hpoResourceConfig":{"type":"structure","members":{"maxNumberOfTrainingJobs":{},"maxParallelTrainingJobs":{}}},"algorithmHyperParameterRanges":{"type":"structure","members":{"integerHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"minValue":{"type":"integer"},"maxValue":{"type":"integer"}}}},"continuousHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"minValue":{"type":"double"},"maxValue":{"type":"double"}}}},"categoricalHyperParameterRanges":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"S21"}}}}}}}},"algorithmHyperParameters":{"shape":"Sc"},"featureTransformationParameters":{"type":"map","key":{},"value":{}},"autoMLConfig":{"type":"structure","members":{"metricName":{},"recipeList":{"type":"list","member":{}}}},"optimizationObjective":{"type":"structure","members":{"itemAttribute":{},"objectiveSensitivity":{}}}}},"S21":{"type":"list","member":{}},"S4h":{"type":"structure","members":{"solutionVersionArn":{},"status":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"failureReason":{}}}}} /***/ }), /* 749 */ @@ -51443,7 +51449,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 763 */ /***/ (function(module, exports) { - module.exports = {"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":{"input":{"type":"structure","required":["InstanceId","InstanceOSUser","SSHPublicKey","AvailabilityZone"],"members":{"InstanceId":{},"InstanceOSUser":{},"SSHPublicKey":{},"AvailabilityZone":{}}},"output":{"type":"structure","members":{"RequestId":{},"Success":{"type":"boolean"}}}},"SendSerialConsoleSSHPublicKey":{"input":{"type":"structure","required":["InstanceId","SSHPublicKey"],"members":{"InstanceId":{},"SerialPort":{"type":"integer"},"SSHPublicKey":{}}},"output":{"type":"structure","members":{"RequestId":{},"Success":{"type":"boolean"}}}}},"shapes":{}} + module.exports = {"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":{"input":{"type":"structure","required":["InstanceId","InstanceOSUser","SSHPublicKey"],"members":{"InstanceId":{},"InstanceOSUser":{},"SSHPublicKey":{},"AvailabilityZone":{}}},"output":{"type":"structure","members":{"RequestId":{},"Success":{"type":"boolean"}}}},"SendSerialConsoleSSHPublicKey":{"input":{"type":"structure","required":["InstanceId","SSHPublicKey"],"members":{"InstanceId":{},"SerialPort":{"type":"integer"},"SSHPublicKey":{}}},"output":{"type":"structure","members":{"RequestId":{},"Success":{"type":"boolean"}}}}},"shapes":{}} /***/ }), /* 764 */ @@ -51515,7 +51521,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 769 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-03-31","endpointPrefix":"lakeformation","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Lake Formation","serviceId":"LakeFormation","signatureVersion":"v4","signingName":"lakeformation","uid":"lakeformation-2017-03-31"},"operations":{"AddLFTagsToResource":{"http":{"requestUri":"/AddLFTagsToResource"},"input":{"type":"structure","required":["Resource","LFTags"],"members":{"CatalogId":{},"Resource":{"shape":"S3"},"LFTags":{"shape":"Sn"}}},"output":{"type":"structure","members":{"Failures":{"shape":"Sq"}}}},"BatchGrantPermissions":{"http":{"requestUri":"/BatchGrantPermissions"},"input":{"type":"structure","required":["Entries"],"members":{"CatalogId":{},"Entries":{"shape":"Sv"}}},"output":{"type":"structure","members":{"Failures":{"shape":"S13"}}}},"BatchRevokePermissions":{"http":{"requestUri":"/BatchRevokePermissions"},"input":{"type":"structure","required":["Entries"],"members":{"CatalogId":{},"Entries":{"shape":"Sv"}}},"output":{"type":"structure","members":{"Failures":{"shape":"S13"}}}},"CancelTransaction":{"http":{"requestUri":"/CancelTransaction"},"input":{"type":"structure","required":["TransactionId"],"members":{"TransactionId":{}}},"output":{"type":"structure","members":{}}},"CommitTransaction":{"http":{"requestUri":"/CommitTransaction"},"input":{"type":"structure","required":["TransactionId"],"members":{"TransactionId":{}}},"output":{"type":"structure","members":{"TransactionStatus":{}}}},"CreateDataCellsFilter":{"http":{"requestUri":"/CreateDataCellsFilter"},"input":{"type":"structure","required":["TableData"],"members":{"TableData":{"shape":"S1e"}}},"output":{"type":"structure","members":{}}},"CreateLFTag":{"http":{"requestUri":"/CreateLFTag"},"input":{"type":"structure","required":["TagKey","TagValues"],"members":{"CatalogId":{},"TagKey":{},"TagValues":{"shape":"Sg"}}},"output":{"type":"structure","members":{}}},"DeleteDataCellsFilter":{"http":{"requestUri":"/DeleteDataCellsFilter"},"input":{"type":"structure","members":{"TableCatalogId":{},"DatabaseName":{},"TableName":{},"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteLFTag":{"http":{"requestUri":"/DeleteLFTag"},"input":{"type":"structure","required":["TagKey"],"members":{"CatalogId":{},"TagKey":{}}},"output":{"type":"structure","members":{}}},"DeleteObjectsOnCancel":{"http":{"requestUri":"/DeleteObjectsOnCancel"},"input":{"type":"structure","required":["DatabaseName","TableName","TransactionId","Objects"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"TransactionId":{},"Objects":{"type":"list","member":{"type":"structure","required":["Uri"],"members":{"Uri":{},"ETag":{}}}}}},"output":{"type":"structure","members":{}}},"DeregisterResource":{"http":{"requestUri":"/DeregisterResource"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DescribeResource":{"http":{"requestUri":"/DescribeResource"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceInfo":{"shape":"S1z"}}}},"DescribeTransaction":{"http":{"requestUri":"/DescribeTransaction"},"input":{"type":"structure","required":["TransactionId"],"members":{"TransactionId":{}}},"output":{"type":"structure","members":{"TransactionDescription":{"shape":"S24"}}}},"ExtendTransaction":{"http":{"requestUri":"/ExtendTransaction"},"input":{"type":"structure","members":{"TransactionId":{}}},"output":{"type":"structure","members":{}}},"GetDataLakeSettings":{"http":{"requestUri":"/GetDataLakeSettings"},"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{"DataLakeSettings":{"shape":"S2a"}}}},"GetEffectivePermissionsForPath":{"http":{"requestUri":"/GetEffectivePermissionsForPath"},"input":{"type":"structure","required":["ResourceArn"],"members":{"CatalogId":{},"ResourceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"shape":"S2l"},"NextToken":{}}}},"GetLFTag":{"http":{"requestUri":"/GetLFTag"},"input":{"type":"structure","required":["TagKey"],"members":{"CatalogId":{},"TagKey":{}}},"output":{"type":"structure","members":{"CatalogId":{},"TagKey":{},"TagValues":{"shape":"Sg"}}}},"GetQueryState":{"http":{"requestUri":"/GetQueryState","responseCode":200},"input":{"type":"structure","required":["QueryId"],"members":{"QueryId":{}}},"output":{"type":"structure","required":["State"],"members":{"Error":{},"State":{}}},"endpoint":{"hostPrefix":"query-"}},"GetQueryStatistics":{"http":{"requestUri":"/GetQueryStatistics","responseCode":200},"input":{"type":"structure","required":["QueryId"],"members":{"QueryId":{}}},"output":{"type":"structure","members":{"ExecutionStatistics":{"type":"structure","members":{"AverageExecutionTimeMillis":{"type":"long"},"DataScannedBytes":{"type":"long"},"WorkUnitsExecutedCount":{"type":"long"}}},"PlanningStatistics":{"type":"structure","members":{"EstimatedDataToScanBytes":{"type":"long"},"PlanningTimeMillis":{"type":"long"},"QueueTimeMillis":{"type":"long"},"WorkUnitsGeneratedCount":{"type":"long"}}},"QuerySubmissionTime":{"type":"timestamp","timestampFormat":"iso8601"}}},"endpoint":{"hostPrefix":"query-"}},"GetResourceLFTags":{"http":{"requestUri":"/GetResourceLFTags"},"input":{"type":"structure","required":["Resource"],"members":{"CatalogId":{},"Resource":{"shape":"S3"},"ShowAssignedLFTags":{"type":"boolean"}}},"output":{"type":"structure","members":{"LFTagOnDatabase":{"shape":"Sn"},"LFTagsOnTable":{"shape":"Sn"},"LFTagsOnColumns":{"shape":"S39"}}}},"GetTableObjects":{"http":{"requestUri":"/GetTableObjects"},"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"TransactionId":{},"QueryAsOfTime":{"type":"timestamp"},"PartitionPredicate":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Objects":{"type":"list","member":{"type":"structure","members":{"PartitionValues":{"shape":"S3g"},"Objects":{"type":"list","member":{"type":"structure","members":{"Uri":{},"ETag":{},"Size":{"type":"long"}}}}}}},"NextToken":{}}}},"GetTemporaryGluePartitionCredentials":{"http":{"requestUri":"/GetTemporaryGluePartitionCredentials"},"input":{"type":"structure","required":["TableArn","Partition","SupportedPermissionTypes"],"members":{"TableArn":{},"Partition":{"type":"structure","required":["Values"],"members":{"Values":{"type":"list","member":{}}}},"Permissions":{"shape":"S10"},"DurationSeconds":{"type":"integer"},"AuditContext":{"shape":"S3q"},"SupportedPermissionTypes":{"shape":"S3s"}}},"output":{"type":"structure","members":{"AccessKeyId":{},"SecretAccessKey":{},"SessionToken":{},"Expiration":{"type":"timestamp"}}}},"GetTemporaryGlueTableCredentials":{"http":{"requestUri":"/GetTemporaryGlueTableCredentials"},"input":{"type":"structure","required":["TableArn","SupportedPermissionTypes"],"members":{"TableArn":{},"Permissions":{"shape":"S10"},"DurationSeconds":{"type":"integer"},"AuditContext":{"shape":"S3q"},"SupportedPermissionTypes":{"shape":"S3s"}}},"output":{"type":"structure","members":{"AccessKeyId":{},"SecretAccessKey":{},"SessionToken":{},"Expiration":{"type":"timestamp"}}}},"GetWorkUnitResults":{"http":{"requestUri":"/GetWorkUnitResults","responseCode":200},"input":{"type":"structure","required":["QueryId","WorkUnitId","WorkUnitToken"],"members":{"QueryId":{},"WorkUnitId":{"type":"long"},"WorkUnitToken":{"type":"string","sensitive":true}}},"output":{"type":"structure","members":{"ResultStream":{"type":"blob","streaming":true}},"payload":"ResultStream"},"endpoint":{"hostPrefix":"data-"}},"GetWorkUnits":{"http":{"requestUri":"/GetWorkUnits","responseCode":200},"input":{"type":"structure","required":["QueryId"],"members":{"NextToken":{},"PageSize":{"type":"integer"},"QueryId":{}}},"output":{"type":"structure","required":["QueryId","WorkUnitRanges"],"members":{"NextToken":{},"QueryId":{},"WorkUnitRanges":{"type":"list","member":{"type":"structure","required":["WorkUnitIdMax","WorkUnitIdMin","WorkUnitToken"],"members":{"WorkUnitIdMax":{"type":"long"},"WorkUnitIdMin":{"type":"long"},"WorkUnitToken":{}}}}}},"endpoint":{"hostPrefix":"query-"}},"GrantPermissions":{"http":{"requestUri":"/GrantPermissions"},"input":{"type":"structure","required":["Principal","Resource","Permissions"],"members":{"CatalogId":{},"Principal":{"shape":"Sy"},"Resource":{"shape":"S3"},"Permissions":{"shape":"S10"},"PermissionsWithGrantOption":{"shape":"S10"}}},"output":{"type":"structure","members":{}}},"ListDataCellsFilter":{"http":{"requestUri":"/ListDataCellsFilter"},"input":{"type":"structure","members":{"Table":{"shape":"S7"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DataCellsFilters":{"type":"list","member":{"shape":"S1e"}},"NextToken":{}}}},"ListLFTags":{"http":{"requestUri":"/ListLFTags"},"input":{"type":"structure","members":{"CatalogId":{},"ResourceShareType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"LFTags":{"shape":"Sn"},"NextToken":{}}}},"ListPermissions":{"http":{"requestUri":"/ListPermissions"},"input":{"type":"structure","members":{"CatalogId":{},"Principal":{"shape":"Sy"},"ResourceType":{},"Resource":{"shape":"S3"},"NextToken":{},"MaxResults":{"type":"integer"},"IncludeRelated":{}}},"output":{"type":"structure","members":{"PrincipalResourcePermissions":{"shape":"S2l"},"NextToken":{}}}},"ListResources":{"http":{"requestUri":"/ListResources"},"input":{"type":"structure","members":{"FilterConditionList":{"type":"list","member":{"type":"structure","members":{"Field":{},"ComparisonOperator":{},"StringValueList":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ResourceInfoList":{"type":"list","member":{"shape":"S1z"}},"NextToken":{}}}},"ListTableStorageOptimizers":{"http":{"requestUri":"/ListTableStorageOptimizers"},"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"StorageOptimizerType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"StorageOptimizerList":{"type":"list","member":{"type":"structure","members":{"StorageOptimizerType":{},"Config":{"shape":"S56"},"ErrorMessage":{},"Warnings":{},"LastRunDetails":{}}}},"NextToken":{}}}},"ListTransactions":{"http":{"requestUri":"/ListTransactions"},"input":{"type":"structure","members":{"CatalogId":{},"StatusFilter":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Transactions":{"type":"list","member":{"shape":"S24"}},"NextToken":{}}}},"PutDataLakeSettings":{"http":{"requestUri":"/PutDataLakeSettings"},"input":{"type":"structure","required":["DataLakeSettings"],"members":{"CatalogId":{},"DataLakeSettings":{"shape":"S2a"}}},"output":{"type":"structure","members":{}}},"RegisterResource":{"http":{"requestUri":"/RegisterResource"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"UseServiceLinkedRole":{"type":"boolean"},"RoleArn":{}}},"output":{"type":"structure","members":{}}},"RemoveLFTagsFromResource":{"http":{"requestUri":"/RemoveLFTagsFromResource"},"input":{"type":"structure","required":["Resource","LFTags"],"members":{"CatalogId":{},"Resource":{"shape":"S3"},"LFTags":{"shape":"Sn"}}},"output":{"type":"structure","members":{"Failures":{"shape":"Sq"}}}},"RevokePermissions":{"http":{"requestUri":"/RevokePermissions"},"input":{"type":"structure","required":["Principal","Resource","Permissions"],"members":{"CatalogId":{},"Principal":{"shape":"Sy"},"Resource":{"shape":"S3"},"Permissions":{"shape":"S10"},"PermissionsWithGrantOption":{"shape":"S10"}}},"output":{"type":"structure","members":{}}},"SearchDatabasesByLFTags":{"http":{"requestUri":"/SearchDatabasesByLFTags"},"input":{"type":"structure","required":["Expression"],"members":{"NextToken":{},"MaxResults":{"type":"integer"},"CatalogId":{},"Expression":{"shape":"Sk"}}},"output":{"type":"structure","members":{"NextToken":{},"DatabaseList":{"type":"list","member":{"type":"structure","members":{"Database":{"shape":"S5"},"LFTags":{"shape":"Sn"}}}}}}},"SearchTablesByLFTags":{"http":{"requestUri":"/SearchTablesByLFTags"},"input":{"type":"structure","required":["Expression"],"members":{"NextToken":{},"MaxResults":{"type":"integer"},"CatalogId":{},"Expression":{"shape":"Sk"}}},"output":{"type":"structure","members":{"NextToken":{},"TableList":{"type":"list","member":{"type":"structure","members":{"Table":{"shape":"S7"},"LFTagOnDatabase":{"shape":"Sn"},"LFTagsOnTable":{"shape":"Sn"},"LFTagsOnColumns":{"shape":"S39"}}}}}}},"StartQueryPlanning":{"http":{"requestUri":"/StartQueryPlanning","responseCode":200},"input":{"type":"structure","required":["QueryPlanningContext","QueryString"],"members":{"QueryPlanningContext":{"type":"structure","required":["DatabaseName"],"members":{"CatalogId":{},"DatabaseName":{},"QueryAsOfTime":{"type":"timestamp"},"QueryParameters":{"type":"map","key":{},"value":{}},"TransactionId":{}}},"QueryString":{"type":"string","sensitive":true}}},"output":{"type":"structure","required":["QueryId"],"members":{"QueryId":{}}},"endpoint":{"hostPrefix":"query-"}},"StartTransaction":{"http":{"requestUri":"/StartTransaction"},"input":{"type":"structure","members":{"TransactionType":{}}},"output":{"type":"structure","members":{"TransactionId":{}}}},"UpdateLFTag":{"http":{"requestUri":"/UpdateLFTag"},"input":{"type":"structure","required":["TagKey"],"members":{"CatalogId":{},"TagKey":{},"TagValuesToDelete":{"shape":"Sg"},"TagValuesToAdd":{"shape":"Sg"}}},"output":{"type":"structure","members":{}}},"UpdateResource":{"http":{"requestUri":"/UpdateResource"},"input":{"type":"structure","required":["RoleArn","ResourceArn"],"members":{"RoleArn":{},"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"UpdateTableObjects":{"http":{"requestUri":"/UpdateTableObjects"},"input":{"type":"structure","required":["DatabaseName","TableName","TransactionId","WriteOperations"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"TransactionId":{},"WriteOperations":{"type":"list","member":{"type":"structure","members":{"AddObject":{"type":"structure","required":["Uri","ETag","Size"],"members":{"Uri":{},"ETag":{},"Size":{"type":"long"},"PartitionValues":{"shape":"S3g"}}},"DeleteObject":{"type":"structure","required":["Uri"],"members":{"Uri":{},"ETag":{},"PartitionValues":{"shape":"S3g"}}}}}}}},"output":{"type":"structure","members":{}}},"UpdateTableStorageOptimizer":{"http":{"requestUri":"/UpdateTableStorageOptimizer"},"input":{"type":"structure","required":["DatabaseName","TableName","StorageOptimizerConfig"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"StorageOptimizerConfig":{"type":"map","key":{},"value":{"shape":"S56"}}}},"output":{"type":"structure","members":{"Result":{}}}}},"shapes":{"S3":{"type":"structure","members":{"Catalog":{"type":"structure","members":{}},"Database":{"shape":"S5"},"Table":{"shape":"S7"},"TableWithColumns":{"type":"structure","required":["DatabaseName","Name"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"ColumnNames":{"shape":"Sa"},"ColumnWildcard":{"shape":"Sb"}}},"DataLocation":{"type":"structure","required":["ResourceArn"],"members":{"CatalogId":{},"ResourceArn":{}}},"DataCellsFilter":{"type":"structure","members":{"TableCatalogId":{},"DatabaseName":{},"TableName":{},"Name":{}}},"LFTag":{"type":"structure","required":["TagKey","TagValues"],"members":{"CatalogId":{},"TagKey":{},"TagValues":{"shape":"Sg"}}},"LFTagPolicy":{"type":"structure","required":["ResourceType","Expression"],"members":{"CatalogId":{},"ResourceType":{},"Expression":{"shape":"Sk"}}}}},"S5":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{}}},"S7":{"type":"structure","required":["DatabaseName"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"TableWildcard":{"type":"structure","members":{}}}},"Sa":{"type":"list","member":{}},"Sb":{"type":"structure","members":{"ExcludedColumnNames":{"shape":"Sa"}}},"Sg":{"type":"list","member":{}},"Sk":{"type":"list","member":{"type":"structure","required":["TagKey","TagValues"],"members":{"TagKey":{},"TagValues":{"shape":"Sg"}}}},"Sn":{"type":"list","member":{"shape":"So"}},"So":{"type":"structure","required":["TagKey","TagValues"],"members":{"CatalogId":{},"TagKey":{},"TagValues":{"shape":"Sg"}}},"Sq":{"type":"list","member":{"type":"structure","members":{"LFTag":{"shape":"So"},"Error":{"shape":"Ss"}}}},"Ss":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}},"Sv":{"type":"list","member":{"shape":"Sw"}},"Sw":{"type":"structure","required":["Id"],"members":{"Id":{},"Principal":{"shape":"Sy"},"Resource":{"shape":"S3"},"Permissions":{"shape":"S10"},"PermissionsWithGrantOption":{"shape":"S10"}}},"Sy":{"type":"structure","members":{"DataLakePrincipalIdentifier":{}}},"S10":{"type":"list","member":{}},"S13":{"type":"list","member":{"type":"structure","members":{"RequestEntry":{"shape":"Sw"},"Error":{"shape":"Ss"}}}},"S1e":{"type":"structure","required":["TableCatalogId","DatabaseName","TableName","Name"],"members":{"TableCatalogId":{},"DatabaseName":{},"TableName":{},"Name":{},"RowFilter":{"type":"structure","members":{"FilterExpression":{},"AllRowsWildcard":{"type":"structure","members":{}}}},"ColumnNames":{"shape":"Sa"},"ColumnWildcard":{"shape":"Sb"}}},"S1z":{"type":"structure","members":{"ResourceArn":{},"RoleArn":{},"LastModified":{"type":"timestamp"}}},"S24":{"type":"structure","members":{"TransactionId":{},"TransactionStatus":{},"TransactionStartTime":{"type":"timestamp"},"TransactionEndTime":{"type":"timestamp"}}},"S2a":{"type":"structure","members":{"DataLakeAdmins":{"shape":"S2b"},"CreateDatabaseDefaultPermissions":{"shape":"S2c"},"CreateTableDefaultPermissions":{"shape":"S2c"},"TrustedResourceOwners":{"type":"list","member":{}},"AllowExternalDataFiltering":{"type":"boolean"},"ExternalDataFilteringAllowList":{"shape":"S2b"},"AuthorizedSessionTagValueList":{"type":"list","member":{}}}},"S2b":{"type":"list","member":{"shape":"Sy"}},"S2c":{"type":"list","member":{"type":"structure","members":{"Principal":{"shape":"Sy"},"Permissions":{"shape":"S10"}}}},"S2l":{"type":"list","member":{"type":"structure","members":{"Principal":{"shape":"Sy"},"Resource":{"shape":"S3"},"Permissions":{"shape":"S10"},"PermissionsWithGrantOption":{"shape":"S10"},"AdditionalDetails":{"type":"structure","members":{"ResourceShare":{"type":"list","member":{}}}}}}},"S39":{"type":"list","member":{"type":"structure","members":{"Name":{},"LFTags":{"shape":"Sn"}}}},"S3g":{"type":"list","member":{}},"S3q":{"type":"structure","members":{"AdditionalAuditContext":{}}},"S3s":{"type":"list","member":{}},"S56":{"type":"map","key":{},"value":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-03-31","endpointPrefix":"lakeformation","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Lake Formation","serviceId":"LakeFormation","signatureVersion":"v4","signingName":"lakeformation","uid":"lakeformation-2017-03-31"},"operations":{"AddLFTagsToResource":{"http":{"requestUri":"/AddLFTagsToResource"},"input":{"type":"structure","required":["Resource","LFTags"],"members":{"CatalogId":{},"Resource":{"shape":"S3"},"LFTags":{"shape":"Sn"}}},"output":{"type":"structure","members":{"Failures":{"shape":"Sq"}}}},"BatchGrantPermissions":{"http":{"requestUri":"/BatchGrantPermissions"},"input":{"type":"structure","required":["Entries"],"members":{"CatalogId":{},"Entries":{"shape":"Sv"}}},"output":{"type":"structure","members":{"Failures":{"shape":"S13"}}}},"BatchRevokePermissions":{"http":{"requestUri":"/BatchRevokePermissions"},"input":{"type":"structure","required":["Entries"],"members":{"CatalogId":{},"Entries":{"shape":"Sv"}}},"output":{"type":"structure","members":{"Failures":{"shape":"S13"}}}},"CancelTransaction":{"http":{"requestUri":"/CancelTransaction"},"input":{"type":"structure","required":["TransactionId"],"members":{"TransactionId":{}}},"output":{"type":"structure","members":{}}},"CommitTransaction":{"http":{"requestUri":"/CommitTransaction"},"input":{"type":"structure","required":["TransactionId"],"members":{"TransactionId":{}}},"output":{"type":"structure","members":{"TransactionStatus":{}}}},"CreateDataCellsFilter":{"http":{"requestUri":"/CreateDataCellsFilter"},"input":{"type":"structure","required":["TableData"],"members":{"TableData":{"shape":"S1e"}}},"output":{"type":"structure","members":{}}},"CreateLFTag":{"http":{"requestUri":"/CreateLFTag"},"input":{"type":"structure","required":["TagKey","TagValues"],"members":{"CatalogId":{},"TagKey":{},"TagValues":{"shape":"Sg"}}},"output":{"type":"structure","members":{}}},"DeleteDataCellsFilter":{"http":{"requestUri":"/DeleteDataCellsFilter"},"input":{"type":"structure","members":{"TableCatalogId":{},"DatabaseName":{},"TableName":{},"Name":{}}},"output":{"type":"structure","members":{}}},"DeleteLFTag":{"http":{"requestUri":"/DeleteLFTag"},"input":{"type":"structure","required":["TagKey"],"members":{"CatalogId":{},"TagKey":{}}},"output":{"type":"structure","members":{}}},"DeleteObjectsOnCancel":{"http":{"requestUri":"/DeleteObjectsOnCancel"},"input":{"type":"structure","required":["DatabaseName","TableName","TransactionId","Objects"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"TransactionId":{},"Objects":{"type":"list","member":{"type":"structure","required":["Uri"],"members":{"Uri":{},"ETag":{}}}}}},"output":{"type":"structure","members":{}}},"DeregisterResource":{"http":{"requestUri":"/DeregisterResource"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DescribeResource":{"http":{"requestUri":"/DescribeResource"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceInfo":{"shape":"S1z"}}}},"DescribeTransaction":{"http":{"requestUri":"/DescribeTransaction"},"input":{"type":"structure","required":["TransactionId"],"members":{"TransactionId":{}}},"output":{"type":"structure","members":{"TransactionDescription":{"shape":"S24"}}}},"ExtendTransaction":{"http":{"requestUri":"/ExtendTransaction"},"input":{"type":"structure","members":{"TransactionId":{}}},"output":{"type":"structure","members":{}}},"GetDataLakeSettings":{"http":{"requestUri":"/GetDataLakeSettings"},"input":{"type":"structure","members":{"CatalogId":{}}},"output":{"type":"structure","members":{"DataLakeSettings":{"shape":"S2a"}}}},"GetEffectivePermissionsForPath":{"http":{"requestUri":"/GetEffectivePermissionsForPath"},"input":{"type":"structure","required":["ResourceArn"],"members":{"CatalogId":{},"ResourceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Permissions":{"shape":"S2l"},"NextToken":{}}}},"GetLFTag":{"http":{"requestUri":"/GetLFTag"},"input":{"type":"structure","required":["TagKey"],"members":{"CatalogId":{},"TagKey":{}}},"output":{"type":"structure","members":{"CatalogId":{},"TagKey":{},"TagValues":{"shape":"Sg"}}}},"GetQueryState":{"http":{"requestUri":"/GetQueryState","responseCode":200},"input":{"type":"structure","required":["QueryId"],"members":{"QueryId":{}}},"output":{"type":"structure","required":["State"],"members":{"Error":{},"State":{}}},"endpoint":{"hostPrefix":"query-"}},"GetQueryStatistics":{"http":{"requestUri":"/GetQueryStatistics","responseCode":200},"input":{"type":"structure","required":["QueryId"],"members":{"QueryId":{}}},"output":{"type":"structure","members":{"ExecutionStatistics":{"type":"structure","members":{"AverageExecutionTimeMillis":{"type":"long"},"DataScannedBytes":{"type":"long"},"WorkUnitsExecutedCount":{"type":"long"}}},"PlanningStatistics":{"type":"structure","members":{"EstimatedDataToScanBytes":{"type":"long"},"PlanningTimeMillis":{"type":"long"},"QueueTimeMillis":{"type":"long"},"WorkUnitsGeneratedCount":{"type":"long"}}},"QuerySubmissionTime":{"type":"timestamp","timestampFormat":"iso8601"}}},"endpoint":{"hostPrefix":"query-"}},"GetResourceLFTags":{"http":{"requestUri":"/GetResourceLFTags"},"input":{"type":"structure","required":["Resource"],"members":{"CatalogId":{},"Resource":{"shape":"S3"},"ShowAssignedLFTags":{"type":"boolean"}}},"output":{"type":"structure","members":{"LFTagOnDatabase":{"shape":"Sn"},"LFTagsOnTable":{"shape":"Sn"},"LFTagsOnColumns":{"shape":"S39"}}}},"GetTableObjects":{"http":{"requestUri":"/GetTableObjects"},"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"TransactionId":{},"QueryAsOfTime":{"type":"timestamp"},"PartitionPredicate":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Objects":{"type":"list","member":{"type":"structure","members":{"PartitionValues":{"shape":"S3g"},"Objects":{"type":"list","member":{"type":"structure","members":{"Uri":{},"ETag":{},"Size":{"type":"long"}}}}}}},"NextToken":{}}}},"GetTemporaryGluePartitionCredentials":{"http":{"requestUri":"/GetTemporaryGluePartitionCredentials"},"input":{"type":"structure","required":["TableArn","Partition","SupportedPermissionTypes"],"members":{"TableArn":{},"Partition":{"type":"structure","required":["Values"],"members":{"Values":{"type":"list","member":{}}}},"Permissions":{"shape":"S10"},"DurationSeconds":{"type":"integer"},"AuditContext":{"shape":"S3q"},"SupportedPermissionTypes":{"shape":"S3s"}}},"output":{"type":"structure","members":{"AccessKeyId":{},"SecretAccessKey":{},"SessionToken":{},"Expiration":{"type":"timestamp"}}}},"GetTemporaryGlueTableCredentials":{"http":{"requestUri":"/GetTemporaryGlueTableCredentials"},"input":{"type":"structure","required":["TableArn","SupportedPermissionTypes"],"members":{"TableArn":{},"Permissions":{"shape":"S10"},"DurationSeconds":{"type":"integer"},"AuditContext":{"shape":"S3q"},"SupportedPermissionTypes":{"shape":"S3s"}}},"output":{"type":"structure","members":{"AccessKeyId":{},"SecretAccessKey":{},"SessionToken":{},"Expiration":{"type":"timestamp"}}}},"GetWorkUnitResults":{"http":{"requestUri":"/GetWorkUnitResults","responseCode":200},"input":{"type":"structure","required":["QueryId","WorkUnitId","WorkUnitToken"],"members":{"QueryId":{},"WorkUnitId":{"type":"long"},"WorkUnitToken":{"type":"string","sensitive":true}}},"output":{"type":"structure","members":{"ResultStream":{"type":"blob","streaming":true}},"payload":"ResultStream"},"endpoint":{"hostPrefix":"data-"}},"GetWorkUnits":{"http":{"requestUri":"/GetWorkUnits","responseCode":200},"input":{"type":"structure","required":["QueryId"],"members":{"NextToken":{},"PageSize":{"type":"integer"},"QueryId":{}}},"output":{"type":"structure","required":["QueryId","WorkUnitRanges"],"members":{"NextToken":{},"QueryId":{},"WorkUnitRanges":{"type":"list","member":{"type":"structure","required":["WorkUnitIdMax","WorkUnitIdMin","WorkUnitToken"],"members":{"WorkUnitIdMax":{"type":"long"},"WorkUnitIdMin":{"type":"long"},"WorkUnitToken":{}}}}}},"endpoint":{"hostPrefix":"query-"}},"GrantPermissions":{"http":{"requestUri":"/GrantPermissions"},"input":{"type":"structure","required":["Principal","Resource","Permissions"],"members":{"CatalogId":{},"Principal":{"shape":"Sy"},"Resource":{"shape":"S3"},"Permissions":{"shape":"S10"},"PermissionsWithGrantOption":{"shape":"S10"}}},"output":{"type":"structure","members":{}}},"ListDataCellsFilter":{"http":{"requestUri":"/ListDataCellsFilter"},"input":{"type":"structure","members":{"Table":{"shape":"S7"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"DataCellsFilters":{"type":"list","member":{"shape":"S1e"}},"NextToken":{}}}},"ListLFTags":{"http":{"requestUri":"/ListLFTags"},"input":{"type":"structure","members":{"CatalogId":{},"ResourceShareType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"LFTags":{"shape":"Sn"},"NextToken":{}}}},"ListPermissions":{"http":{"requestUri":"/ListPermissions"},"input":{"type":"structure","members":{"CatalogId":{},"Principal":{"shape":"Sy"},"ResourceType":{},"Resource":{"shape":"S3"},"NextToken":{},"MaxResults":{"type":"integer"},"IncludeRelated":{}}},"output":{"type":"structure","members":{"PrincipalResourcePermissions":{"shape":"S2l"},"NextToken":{}}}},"ListResources":{"http":{"requestUri":"/ListResources"},"input":{"type":"structure","members":{"FilterConditionList":{"type":"list","member":{"type":"structure","members":{"Field":{},"ComparisonOperator":{},"StringValueList":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ResourceInfoList":{"type":"list","member":{"shape":"S1z"}},"NextToken":{}}}},"ListTableStorageOptimizers":{"http":{"requestUri":"/ListTableStorageOptimizers"},"input":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"StorageOptimizerType":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"StorageOptimizerList":{"type":"list","member":{"type":"structure","members":{"StorageOptimizerType":{},"Config":{"shape":"S56"},"ErrorMessage":{},"Warnings":{},"LastRunDetails":{}}}},"NextToken":{}}}},"ListTransactions":{"http":{"requestUri":"/ListTransactions"},"input":{"type":"structure","members":{"CatalogId":{},"StatusFilter":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Transactions":{"type":"list","member":{"shape":"S24"}},"NextToken":{}}}},"PutDataLakeSettings":{"http":{"requestUri":"/PutDataLakeSettings"},"input":{"type":"structure","required":["DataLakeSettings"],"members":{"CatalogId":{},"DataLakeSettings":{"shape":"S2a"}}},"output":{"type":"structure","members":{}}},"RegisterResource":{"http":{"requestUri":"/RegisterResource"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"UseServiceLinkedRole":{"type":"boolean"},"RoleArn":{}}},"output":{"type":"structure","members":{}}},"RemoveLFTagsFromResource":{"http":{"requestUri":"/RemoveLFTagsFromResource"},"input":{"type":"structure","required":["Resource","LFTags"],"members":{"CatalogId":{},"Resource":{"shape":"S3"},"LFTags":{"shape":"Sn"}}},"output":{"type":"structure","members":{"Failures":{"shape":"Sq"}}}},"RevokePermissions":{"http":{"requestUri":"/RevokePermissions"},"input":{"type":"structure","required":["Principal","Resource","Permissions"],"members":{"CatalogId":{},"Principal":{"shape":"Sy"},"Resource":{"shape":"S3"},"Permissions":{"shape":"S10"},"PermissionsWithGrantOption":{"shape":"S10"}}},"output":{"type":"structure","members":{}}},"SearchDatabasesByLFTags":{"http":{"requestUri":"/SearchDatabasesByLFTags"},"input":{"type":"structure","required":["Expression"],"members":{"NextToken":{},"MaxResults":{"type":"integer"},"CatalogId":{},"Expression":{"shape":"Sk"}}},"output":{"type":"structure","members":{"NextToken":{},"DatabaseList":{"type":"list","member":{"type":"structure","members":{"Database":{"shape":"S5"},"LFTags":{"shape":"Sn"}}}}}}},"SearchTablesByLFTags":{"http":{"requestUri":"/SearchTablesByLFTags"},"input":{"type":"structure","required":["Expression"],"members":{"NextToken":{},"MaxResults":{"type":"integer"},"CatalogId":{},"Expression":{"shape":"Sk"}}},"output":{"type":"structure","members":{"NextToken":{},"TableList":{"type":"list","member":{"type":"structure","members":{"Table":{"shape":"S7"},"LFTagOnDatabase":{"shape":"Sn"},"LFTagsOnTable":{"shape":"Sn"},"LFTagsOnColumns":{"shape":"S39"}}}}}}},"StartQueryPlanning":{"http":{"requestUri":"/StartQueryPlanning","responseCode":200},"input":{"type":"structure","required":["QueryPlanningContext","QueryString"],"members":{"QueryPlanningContext":{"type":"structure","required":["DatabaseName"],"members":{"CatalogId":{},"DatabaseName":{},"QueryAsOfTime":{"type":"timestamp"},"QueryParameters":{"type":"map","key":{},"value":{}},"TransactionId":{}}},"QueryString":{"type":"string","sensitive":true}}},"output":{"type":"structure","required":["QueryId"],"members":{"QueryId":{}}},"endpoint":{"hostPrefix":"query-"}},"StartTransaction":{"http":{"requestUri":"/StartTransaction"},"input":{"type":"structure","members":{"TransactionType":{}}},"output":{"type":"structure","members":{"TransactionId":{}}}},"UpdateLFTag":{"http":{"requestUri":"/UpdateLFTag"},"input":{"type":"structure","required":["TagKey"],"members":{"CatalogId":{},"TagKey":{},"TagValuesToDelete":{"shape":"Sg"},"TagValuesToAdd":{"shape":"Sg"}}},"output":{"type":"structure","members":{}}},"UpdateResource":{"http":{"requestUri":"/UpdateResource"},"input":{"type":"structure","required":["RoleArn","ResourceArn"],"members":{"RoleArn":{},"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"UpdateTableObjects":{"http":{"requestUri":"/UpdateTableObjects"},"input":{"type":"structure","required":["DatabaseName","TableName","WriteOperations"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"TransactionId":{},"WriteOperations":{"type":"list","member":{"type":"structure","members":{"AddObject":{"type":"structure","required":["Uri","ETag","Size"],"members":{"Uri":{},"ETag":{},"Size":{"type":"long"},"PartitionValues":{"shape":"S3g"}}},"DeleteObject":{"type":"structure","required":["Uri"],"members":{"Uri":{},"ETag":{},"PartitionValues":{"shape":"S3g"}}}}}}}},"output":{"type":"structure","members":{}}},"UpdateTableStorageOptimizer":{"http":{"requestUri":"/UpdateTableStorageOptimizer"},"input":{"type":"structure","required":["DatabaseName","TableName","StorageOptimizerConfig"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"StorageOptimizerConfig":{"type":"map","key":{},"value":{"shape":"S56"}}}},"output":{"type":"structure","members":{"Result":{}}}}},"shapes":{"S3":{"type":"structure","members":{"Catalog":{"type":"structure","members":{}},"Database":{"shape":"S5"},"Table":{"shape":"S7"},"TableWithColumns":{"type":"structure","required":["DatabaseName","Name"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"ColumnNames":{"shape":"Sa"},"ColumnWildcard":{"shape":"Sb"}}},"DataLocation":{"type":"structure","required":["ResourceArn"],"members":{"CatalogId":{},"ResourceArn":{}}},"DataCellsFilter":{"type":"structure","members":{"TableCatalogId":{},"DatabaseName":{},"TableName":{},"Name":{}}},"LFTag":{"type":"structure","required":["TagKey","TagValues"],"members":{"CatalogId":{},"TagKey":{},"TagValues":{"shape":"Sg"}}},"LFTagPolicy":{"type":"structure","required":["ResourceType","Expression"],"members":{"CatalogId":{},"ResourceType":{},"Expression":{"shape":"Sk"}}}}},"S5":{"type":"structure","required":["Name"],"members":{"CatalogId":{},"Name":{}}},"S7":{"type":"structure","required":["DatabaseName"],"members":{"CatalogId":{},"DatabaseName":{},"Name":{},"TableWildcard":{"type":"structure","members":{}}}},"Sa":{"type":"list","member":{}},"Sb":{"type":"structure","members":{"ExcludedColumnNames":{"shape":"Sa"}}},"Sg":{"type":"list","member":{}},"Sk":{"type":"list","member":{"type":"structure","required":["TagKey","TagValues"],"members":{"TagKey":{},"TagValues":{"shape":"Sg"}}}},"Sn":{"type":"list","member":{"shape":"So"}},"So":{"type":"structure","required":["TagKey","TagValues"],"members":{"CatalogId":{},"TagKey":{},"TagValues":{"shape":"Sg"}}},"Sq":{"type":"list","member":{"type":"structure","members":{"LFTag":{"shape":"So"},"Error":{"shape":"Ss"}}}},"Ss":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}},"Sv":{"type":"list","member":{"shape":"Sw"}},"Sw":{"type":"structure","required":["Id"],"members":{"Id":{},"Principal":{"shape":"Sy"},"Resource":{"shape":"S3"},"Permissions":{"shape":"S10"},"PermissionsWithGrantOption":{"shape":"S10"}}},"Sy":{"type":"structure","members":{"DataLakePrincipalIdentifier":{}}},"S10":{"type":"list","member":{}},"S13":{"type":"list","member":{"type":"structure","members":{"RequestEntry":{"shape":"Sw"},"Error":{"shape":"Ss"}}}},"S1e":{"type":"structure","required":["TableCatalogId","DatabaseName","TableName","Name"],"members":{"TableCatalogId":{},"DatabaseName":{},"TableName":{},"Name":{},"RowFilter":{"type":"structure","members":{"FilterExpression":{},"AllRowsWildcard":{"type":"structure","members":{}}}},"ColumnNames":{"shape":"Sa"},"ColumnWildcard":{"shape":"Sb"}}},"S1z":{"type":"structure","members":{"ResourceArn":{},"RoleArn":{},"LastModified":{"type":"timestamp"}}},"S24":{"type":"structure","members":{"TransactionId":{},"TransactionStatus":{},"TransactionStartTime":{"type":"timestamp"},"TransactionEndTime":{"type":"timestamp"}}},"S2a":{"type":"structure","members":{"DataLakeAdmins":{"shape":"S2b"},"CreateDatabaseDefaultPermissions":{"shape":"S2c"},"CreateTableDefaultPermissions":{"shape":"S2c"},"TrustedResourceOwners":{"type":"list","member":{}},"AllowExternalDataFiltering":{"type":"boolean"},"ExternalDataFilteringAllowList":{"shape":"S2b"},"AuthorizedSessionTagValueList":{"type":"list","member":{}}}},"S2b":{"type":"list","member":{"shape":"Sy"}},"S2c":{"type":"list","member":{"type":"structure","members":{"Principal":{"shape":"Sy"},"Permissions":{"shape":"S10"}}}},"S2l":{"type":"list","member":{"type":"structure","members":{"Principal":{"shape":"Sy"},"Resource":{"shape":"S3"},"Permissions":{"shape":"S10"},"PermissionsWithGrantOption":{"shape":"S10"},"AdditionalDetails":{"type":"structure","members":{"ResourceShare":{"type":"list","member":{}}}}}}},"S39":{"type":"list","member":{"type":"structure","members":{"Name":{},"LFTags":{"shape":"Sn"}}}},"S3g":{"type":"list","member":{}},"S3q":{"type":"structure","members":{"AdditionalAuditContext":{}}},"S3s":{"type":"list","member":{}},"S56":{"type":"map","key":{},"value":{}}}} /***/ }), /* 770 */ @@ -52055,7 +52061,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 814 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-10-09","endpointPrefix":"appconfig","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"AppConfig","serviceFullName":"Amazon AppConfig","serviceId":"AppConfig","signatureVersion":"v4","signingName":"appconfig","uid":"appconfig-2019-10-09"},"operations":{"CreateApplication":{"http":{"requestUri":"/applications","responseCode":201},"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"Tags":{"shape":"S4"}}},"output":{"shape":"S7"}},"CreateConfigurationProfile":{"http":{"requestUri":"/applications/{ApplicationId}/configurationprofiles","responseCode":201},"input":{"type":"structure","required":["ApplicationId","Name","LocationUri"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"Name":{},"Description":{},"LocationUri":{},"RetrievalRoleArn":{},"Validators":{"shape":"Sc"},"Tags":{"shape":"S4"},"Type":{}}},"output":{"shape":"Sh"}},"CreateDeploymentStrategy":{"http":{"requestUri":"/deploymentstrategies","responseCode":201},"input":{"type":"structure","required":["Name","DeploymentDurationInMinutes","GrowthFactor","ReplicateTo"],"members":{"Name":{},"Description":{},"DeploymentDurationInMinutes":{"type":"integer"},"FinalBakeTimeInMinutes":{"type":"integer"},"GrowthFactor":{"type":"float"},"GrowthType":{},"ReplicateTo":{},"Tags":{"shape":"S4"}}},"output":{"shape":"Sn"}},"CreateEnvironment":{"http":{"requestUri":"/applications/{ApplicationId}/environments","responseCode":201},"input":{"type":"structure","required":["ApplicationId","Name"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"Name":{},"Description":{},"Monitors":{"shape":"Sq"},"Tags":{"shape":"S4"}}},"output":{"shape":"St"}},"CreateHostedConfigurationVersion":{"http":{"requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions","responseCode":201},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId","Content","ContentType"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"Description":{"location":"header","locationName":"Description"},"Content":{"shape":"Sw"},"ContentType":{"location":"header","locationName":"Content-Type"},"LatestVersionNumber":{"location":"header","locationName":"Latest-Version-Number","type":"integer"}},"payload":"Content"},"output":{"shape":"Sz"}},"DeleteApplication":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}","responseCode":204},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"}}}},"DeleteConfigurationProfile":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}","responseCode":204},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"}}}},"DeleteDeploymentStrategy":{"http":{"method":"DELETE","requestUri":"/deployementstrategies/{DeploymentStrategyId}","responseCode":204},"input":{"type":"structure","required":["DeploymentStrategyId"],"members":{"DeploymentStrategyId":{"location":"uri","locationName":"DeploymentStrategyId"}}}},"DeleteEnvironment":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}","responseCode":204},"input":{"type":"structure","required":["ApplicationId","EnvironmentId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"}}}},"DeleteHostedConfigurationVersion":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}","responseCode":204},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId","VersionNumber"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"VersionNumber":{"location":"uri","locationName":"VersionNumber","type":"integer"}}}},"GetApplication":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"}}},"output":{"shape":"S7"}},"GetConfiguration":{"http":{"method":"GET","requestUri":"/applications/{Application}/environments/{Environment}/configurations/{Configuration}","responseCode":200},"input":{"type":"structure","required":["Application","Environment","Configuration","ClientId"],"members":{"Application":{"location":"uri","locationName":"Application"},"Environment":{"location":"uri","locationName":"Environment"},"Configuration":{"location":"uri","locationName":"Configuration"},"ClientId":{"location":"querystring","locationName":"client_id"},"ClientConfigurationVersion":{"location":"querystring","locationName":"client_configuration_version"}}},"output":{"type":"structure","members":{"Content":{"shape":"Sw"},"ConfigurationVersion":{"location":"header","locationName":"Configuration-Version"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Content"}},"GetConfigurationProfile":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"}}},"output":{"shape":"Sh"}},"GetDeployment":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","EnvironmentId","DeploymentNumber"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"DeploymentNumber":{"location":"uri","locationName":"DeploymentNumber","type":"integer"}}},"output":{"shape":"S1e"}},"GetDeploymentStrategy":{"http":{"method":"GET","requestUri":"/deploymentstrategies/{DeploymentStrategyId}","responseCode":200},"input":{"type":"structure","required":["DeploymentStrategyId"],"members":{"DeploymentStrategyId":{"location":"uri","locationName":"DeploymentStrategyId"}}},"output":{"shape":"Sn"}},"GetEnvironment":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","EnvironmentId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"}}},"output":{"shape":"St"}},"GetHostedConfigurationVersion":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId","VersionNumber"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"VersionNumber":{"location":"uri","locationName":"VersionNumber","type":"integer"}}},"output":{"shape":"Sz"}},"ListApplications":{"http":{"method":"GET","requestUri":"/applications","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"shape":"S7"}},"NextToken":{}}}},"ListConfigurationProfiles":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/configurationprofiles","responseCode":200},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"},"Type":{"location":"querystring","locationName":"type"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"Id":{},"Name":{},"LocationUri":{},"ValidatorTypes":{"type":"list","member":{}},"Type":{}}}},"NextToken":{}}}},"ListDeploymentStrategies":{"http":{"method":"GET","requestUri":"/deploymentstrategies","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"shape":"Sn"}},"NextToken":{}}}},"ListDeployments":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments","responseCode":200},"input":{"type":"structure","required":["ApplicationId","EnvironmentId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"DeploymentNumber":{"type":"integer"},"ConfigurationName":{},"ConfigurationVersion":{},"DeploymentDurationInMinutes":{"type":"integer"},"GrowthType":{},"GrowthFactor":{"type":"float"},"FinalBakeTimeInMinutes":{"type":"integer"},"State":{},"PercentageComplete":{"type":"float"},"StartedAt":{"shape":"S1k"},"CompletedAt":{"shape":"S1k"}}}},"NextToken":{}}}},"ListEnvironments":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/environments","responseCode":200},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"shape":"St"}},"NextToken":{}}}},"ListHostedConfigurationVersions":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions","responseCode":200},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"ConfigurationProfileId":{},"VersionNumber":{"type":"integer"},"Description":{},"ContentType":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S4"}}}},"StartDeployment":{"http":{"requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments","responseCode":201},"input":{"type":"structure","required":["ApplicationId","EnvironmentId","DeploymentStrategyId","ConfigurationProfileId","ConfigurationVersion"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"DeploymentStrategyId":{},"ConfigurationProfileId":{},"ConfigurationVersion":{},"Description":{},"Tags":{"shape":"S4"}}},"output":{"shape":"S1e"}},"StopDeployment":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}","responseCode":202},"input":{"type":"structure","required":["ApplicationId","EnvironmentId","DeploymentNumber"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"DeploymentNumber":{"location":"uri","locationName":"DeploymentNumber","type":"integer"}}},"output":{"shape":"S1e"}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"S4"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}}},"UpdateApplication":{"http":{"method":"PATCH","requestUri":"/applications/{ApplicationId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"Name":{},"Description":{}}},"output":{"shape":"S7"}},"UpdateConfigurationProfile":{"http":{"method":"PATCH","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"Name":{},"Description":{},"RetrievalRoleArn":{},"Validators":{"shape":"Sc"}}},"output":{"shape":"Sh"}},"UpdateDeploymentStrategy":{"http":{"method":"PATCH","requestUri":"/deploymentstrategies/{DeploymentStrategyId}","responseCode":200},"input":{"type":"structure","required":["DeploymentStrategyId"],"members":{"DeploymentStrategyId":{"location":"uri","locationName":"DeploymentStrategyId"},"Description":{},"DeploymentDurationInMinutes":{"type":"integer"},"FinalBakeTimeInMinutes":{"type":"integer"},"GrowthFactor":{"type":"float"},"GrowthType":{}}},"output":{"shape":"Sn"}},"UpdateEnvironment":{"http":{"method":"PATCH","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","EnvironmentId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"Name":{},"Description":{},"Monitors":{"shape":"Sq"}}},"output":{"shape":"St"}},"ValidateConfiguration":{"http":{"requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators","responseCode":204},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId","ConfigurationVersion"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"ConfigurationVersion":{"location":"querystring","locationName":"configuration_version"}}}}},"shapes":{"S4":{"type":"map","key":{},"value":{}},"S7":{"type":"structure","members":{"Id":{},"Name":{},"Description":{}}},"Sc":{"type":"list","member":{"type":"structure","required":["Type","Content"],"members":{"Type":{},"Content":{"type":"string","sensitive":true}}}},"Sh":{"type":"structure","members":{"ApplicationId":{},"Id":{},"Name":{},"Description":{},"LocationUri":{},"RetrievalRoleArn":{},"Validators":{"shape":"Sc"},"Type":{}}},"Sn":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"DeploymentDurationInMinutes":{"type":"integer"},"GrowthType":{},"GrowthFactor":{"type":"float"},"FinalBakeTimeInMinutes":{"type":"integer"},"ReplicateTo":{}}},"Sq":{"type":"list","member":{"type":"structure","required":["AlarmArn"],"members":{"AlarmArn":{},"AlarmRoleArn":{}}}},"St":{"type":"structure","members":{"ApplicationId":{},"Id":{},"Name":{},"Description":{},"State":{},"Monitors":{"shape":"Sq"}}},"Sw":{"type":"blob","sensitive":true},"Sz":{"type":"structure","members":{"ApplicationId":{"location":"header","locationName":"Application-Id"},"ConfigurationProfileId":{"location":"header","locationName":"Configuration-Profile-Id"},"VersionNumber":{"location":"header","locationName":"Version-Number","type":"integer"},"Description":{"location":"header","locationName":"Description"},"Content":{"shape":"Sw"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Content"},"S1e":{"type":"structure","members":{"ApplicationId":{},"EnvironmentId":{},"DeploymentStrategyId":{},"ConfigurationProfileId":{},"DeploymentNumber":{"type":"integer"},"ConfigurationName":{},"ConfigurationLocationUri":{},"ConfigurationVersion":{},"Description":{},"DeploymentDurationInMinutes":{"type":"integer"},"GrowthType":{},"GrowthFactor":{"type":"float"},"FinalBakeTimeInMinutes":{"type":"integer"},"State":{},"EventLog":{"type":"list","member":{"type":"structure","members":{"EventType":{},"TriggeredBy":{},"Description":{},"OccurredAt":{"shape":"S1k"}}}},"PercentageComplete":{"type":"float"},"StartedAt":{"shape":"S1k"},"CompletedAt":{"shape":"S1k"}}},"S1k":{"type":"timestamp","timestampFormat":"iso8601"}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-10-09","endpointPrefix":"appconfig","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"AppConfig","serviceFullName":"Amazon AppConfig","serviceId":"AppConfig","signatureVersion":"v4","signingName":"appconfig","uid":"appconfig-2019-10-09"},"operations":{"CreateApplication":{"http":{"requestUri":"/applications","responseCode":201},"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"Tags":{"shape":"S4"}}},"output":{"shape":"S7"}},"CreateConfigurationProfile":{"http":{"requestUri":"/applications/{ApplicationId}/configurationprofiles","responseCode":201},"input":{"type":"structure","required":["ApplicationId","Name","LocationUri"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"Name":{},"Description":{},"LocationUri":{},"RetrievalRoleArn":{},"Validators":{"shape":"Sc"},"Tags":{"shape":"S4"},"Type":{}}},"output":{"shape":"Sh"}},"CreateDeploymentStrategy":{"http":{"requestUri":"/deploymentstrategies","responseCode":201},"input":{"type":"structure","required":["Name","DeploymentDurationInMinutes","GrowthFactor","ReplicateTo"],"members":{"Name":{},"Description":{},"DeploymentDurationInMinutes":{"type":"integer"},"FinalBakeTimeInMinutes":{"type":"integer"},"GrowthFactor":{"type":"float"},"GrowthType":{},"ReplicateTo":{},"Tags":{"shape":"S4"}}},"output":{"shape":"Sn"}},"CreateEnvironment":{"http":{"requestUri":"/applications/{ApplicationId}/environments","responseCode":201},"input":{"type":"structure","required":["ApplicationId","Name"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"Name":{},"Description":{},"Monitors":{"shape":"Sq"},"Tags":{"shape":"S4"}}},"output":{"shape":"St"}},"CreateHostedConfigurationVersion":{"http":{"requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions","responseCode":201},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId","Content","ContentType"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"Description":{"location":"header","locationName":"Description"},"Content":{"shape":"Sw"},"ContentType":{"location":"header","locationName":"Content-Type"},"LatestVersionNumber":{"location":"header","locationName":"Latest-Version-Number","type":"integer"}},"payload":"Content"},"output":{"shape":"Sz"}},"DeleteApplication":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}","responseCode":204},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"}}}},"DeleteConfigurationProfile":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}","responseCode":204},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"}}}},"DeleteDeploymentStrategy":{"http":{"method":"DELETE","requestUri":"/deployementstrategies/{DeploymentStrategyId}","responseCode":204},"input":{"type":"structure","required":["DeploymentStrategyId"],"members":{"DeploymentStrategyId":{"location":"uri","locationName":"DeploymentStrategyId"}}}},"DeleteEnvironment":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}","responseCode":204},"input":{"type":"structure","required":["ApplicationId","EnvironmentId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"}}}},"DeleteHostedConfigurationVersion":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}","responseCode":204},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId","VersionNumber"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"VersionNumber":{"location":"uri","locationName":"VersionNumber","type":"integer"}}}},"GetApplication":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"}}},"output":{"shape":"S7"}},"GetConfiguration":{"http":{"method":"GET","requestUri":"/applications/{Application}/environments/{Environment}/configurations/{Configuration}","responseCode":200},"input":{"type":"structure","required":["Application","Environment","Configuration","ClientId"],"members":{"Application":{"location":"uri","locationName":"Application"},"Environment":{"location":"uri","locationName":"Environment"},"Configuration":{"location":"uri","locationName":"Configuration"},"ClientId":{"location":"querystring","locationName":"client_id"},"ClientConfigurationVersion":{"location":"querystring","locationName":"client_configuration_version"}}},"output":{"type":"structure","members":{"Content":{"shape":"Sw"},"ConfigurationVersion":{"location":"header","locationName":"Configuration-Version"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Content"},"deprecated":true,"deprecatedMessage":"This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession."},"GetConfigurationProfile":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"}}},"output":{"shape":"Sh"}},"GetDeployment":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","EnvironmentId","DeploymentNumber"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"DeploymentNumber":{"location":"uri","locationName":"DeploymentNumber","type":"integer"}}},"output":{"shape":"S1e"}},"GetDeploymentStrategy":{"http":{"method":"GET","requestUri":"/deploymentstrategies/{DeploymentStrategyId}","responseCode":200},"input":{"type":"structure","required":["DeploymentStrategyId"],"members":{"DeploymentStrategyId":{"location":"uri","locationName":"DeploymentStrategyId"}}},"output":{"shape":"Sn"}},"GetEnvironment":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","EnvironmentId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"}}},"output":{"shape":"St"}},"GetHostedConfigurationVersion":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId","VersionNumber"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"VersionNumber":{"location":"uri","locationName":"VersionNumber","type":"integer"}}},"output":{"shape":"Sz"}},"ListApplications":{"http":{"method":"GET","requestUri":"/applications","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"shape":"S7"}},"NextToken":{}}}},"ListConfigurationProfiles":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/configurationprofiles","responseCode":200},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"},"Type":{"location":"querystring","locationName":"type"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"Id":{},"Name":{},"LocationUri":{},"ValidatorTypes":{"type":"list","member":{}},"Type":{}}}},"NextToken":{}}}},"ListDeploymentStrategies":{"http":{"method":"GET","requestUri":"/deploymentstrategies","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"shape":"Sn"}},"NextToken":{}}}},"ListDeployments":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments","responseCode":200},"input":{"type":"structure","required":["ApplicationId","EnvironmentId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"DeploymentNumber":{"type":"integer"},"ConfigurationName":{},"ConfigurationVersion":{},"DeploymentDurationInMinutes":{"type":"integer"},"GrowthType":{},"GrowthFactor":{"type":"float"},"FinalBakeTimeInMinutes":{"type":"integer"},"State":{},"PercentageComplete":{"type":"float"},"StartedAt":{"shape":"S1k"},"CompletedAt":{"shape":"S1k"}}}},"NextToken":{}}}},"ListEnvironments":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/environments","responseCode":200},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"shape":"St"}},"NextToken":{}}}},"ListHostedConfigurationVersions":{"http":{"method":"GET","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions","responseCode":200},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"MaxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next_token"}}},"output":{"type":"structure","members":{"Items":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"ConfigurationProfileId":{},"VersionNumber":{"type":"integer"},"Description":{},"ContentType":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S4"}}}},"StartDeployment":{"http":{"requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments","responseCode":201},"input":{"type":"structure","required":["ApplicationId","EnvironmentId","DeploymentStrategyId","ConfigurationProfileId","ConfigurationVersion"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"DeploymentStrategyId":{},"ConfigurationProfileId":{},"ConfigurationVersion":{},"Description":{},"Tags":{"shape":"S4"}}},"output":{"shape":"S1e"}},"StopDeployment":{"http":{"method":"DELETE","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}","responseCode":202},"input":{"type":"structure","required":["ApplicationId","EnvironmentId","DeploymentNumber"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"DeploymentNumber":{"location":"uri","locationName":"DeploymentNumber","type":"integer"}}},"output":{"shape":"S1e"}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"S4"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}}},"UpdateApplication":{"http":{"method":"PATCH","requestUri":"/applications/{ApplicationId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"Name":{},"Description":{}}},"output":{"shape":"S7"}},"UpdateConfigurationProfile":{"http":{"method":"PATCH","requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"Name":{},"Description":{},"RetrievalRoleArn":{},"Validators":{"shape":"Sc"}}},"output":{"shape":"Sh"}},"UpdateDeploymentStrategy":{"http":{"method":"PATCH","requestUri":"/deploymentstrategies/{DeploymentStrategyId}","responseCode":200},"input":{"type":"structure","required":["DeploymentStrategyId"],"members":{"DeploymentStrategyId":{"location":"uri","locationName":"DeploymentStrategyId"},"Description":{},"DeploymentDurationInMinutes":{"type":"integer"},"FinalBakeTimeInMinutes":{"type":"integer"},"GrowthFactor":{"type":"float"},"GrowthType":{}}},"output":{"shape":"Sn"}},"UpdateEnvironment":{"http":{"method":"PATCH","requestUri":"/applications/{ApplicationId}/environments/{EnvironmentId}","responseCode":200},"input":{"type":"structure","required":["ApplicationId","EnvironmentId"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"EnvironmentId":{"location":"uri","locationName":"EnvironmentId"},"Name":{},"Description":{},"Monitors":{"shape":"Sq"}}},"output":{"shape":"St"}},"ValidateConfiguration":{"http":{"requestUri":"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators","responseCode":204},"input":{"type":"structure","required":["ApplicationId","ConfigurationProfileId","ConfigurationVersion"],"members":{"ApplicationId":{"location":"uri","locationName":"ApplicationId"},"ConfigurationProfileId":{"location":"uri","locationName":"ConfigurationProfileId"},"ConfigurationVersion":{"location":"querystring","locationName":"configuration_version"}}}}},"shapes":{"S4":{"type":"map","key":{},"value":{}},"S7":{"type":"structure","members":{"Id":{},"Name":{},"Description":{}}},"Sc":{"type":"list","member":{"type":"structure","required":["Type","Content"],"members":{"Type":{},"Content":{"type":"string","sensitive":true}}}},"Sh":{"type":"structure","members":{"ApplicationId":{},"Id":{},"Name":{},"Description":{},"LocationUri":{},"RetrievalRoleArn":{},"Validators":{"shape":"Sc"},"Type":{}}},"Sn":{"type":"structure","members":{"Id":{},"Name":{},"Description":{},"DeploymentDurationInMinutes":{"type":"integer"},"GrowthType":{},"GrowthFactor":{"type":"float"},"FinalBakeTimeInMinutes":{"type":"integer"},"ReplicateTo":{}}},"Sq":{"type":"list","member":{"type":"structure","required":["AlarmArn"],"members":{"AlarmArn":{},"AlarmRoleArn":{}}}},"St":{"type":"structure","members":{"ApplicationId":{},"Id":{},"Name":{},"Description":{},"State":{},"Monitors":{"shape":"Sq"}}},"Sw":{"type":"blob","sensitive":true},"Sz":{"type":"structure","members":{"ApplicationId":{"location":"header","locationName":"Application-Id"},"ConfigurationProfileId":{"location":"header","locationName":"Configuration-Profile-Id"},"VersionNumber":{"location":"header","locationName":"Version-Number","type":"integer"},"Description":{"location":"header","locationName":"Description"},"Content":{"shape":"Sw"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Content"},"S1e":{"type":"structure","members":{"ApplicationId":{},"EnvironmentId":{},"DeploymentStrategyId":{},"ConfigurationProfileId":{},"DeploymentNumber":{"type":"integer"},"ConfigurationName":{},"ConfigurationLocationUri":{},"ConfigurationVersion":{},"Description":{},"DeploymentDurationInMinutes":{"type":"integer"},"GrowthType":{},"GrowthFactor":{"type":"float"},"FinalBakeTimeInMinutes":{"type":"integer"},"State":{},"EventLog":{"type":"list","member":{"type":"structure","members":{"EventType":{},"TriggeredBy":{},"Description":{},"OccurredAt":{"shape":"S1k"}}}},"PercentageComplete":{"type":"float"},"StartedAt":{"shape":"S1k"},"CompletedAt":{"shape":"S1k"}}},"S1k":{"type":"timestamp","timestampFormat":"iso8601"}}} /***/ }), /* 815 */ @@ -52127,7 +52133,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 820 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-07-29","endpointPrefix":"wafv2","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"WAFV2","serviceFullName":"AWS WAFV2","serviceId":"WAFV2","signatureVersion":"v4","targetPrefix":"AWSWAF_20190729","uid":"wafv2-2019-07-29"},"operations":{"AssociateWebACL":{"input":{"type":"structure","required":["WebACLArn","ResourceArn"],"members":{"WebACLArn":{},"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"CheckCapacity":{"input":{"type":"structure","required":["Scope","Rules"],"members":{"Scope":{},"Rules":{"shape":"S6"}}},"output":{"type":"structure","members":{"Capacity":{"type":"long"}}}},"CreateIPSet":{"input":{"type":"structure","required":["Name","Scope","IPAddressVersion","Addresses"],"members":{"Name":{},"Scope":{},"Description":{},"IPAddressVersion":{},"Addresses":{"shape":"S2n"},"Tags":{"shape":"S2p"}}},"output":{"type":"structure","members":{"Summary":{"shape":"S2u"}}}},"CreateRegexPatternSet":{"input":{"type":"structure","required":["Name","Scope","RegularExpressionList"],"members":{"Name":{},"Scope":{},"Description":{},"RegularExpressionList":{"shape":"S2y"},"Tags":{"shape":"S2p"}}},"output":{"type":"structure","members":{"Summary":{"shape":"S31"}}}},"CreateRuleGroup":{"input":{"type":"structure","required":["Name","Scope","Capacity","VisibilityConfig"],"members":{"Name":{},"Scope":{},"Capacity":{"type":"long"},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2c"},"Tags":{"shape":"S2p"},"CustomResponseBodies":{"shape":"S34"}}},"output":{"type":"structure","members":{"Summary":{"shape":"S39"}}}},"CreateWebACL":{"input":{"type":"structure","required":["Name","Scope","DefaultAction","VisibilityConfig"],"members":{"Name":{},"Scope":{},"DefaultAction":{"shape":"S3b"},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2c"},"Tags":{"shape":"S2p"},"CustomResponseBodies":{"shape":"S34"},"CaptchaConfig":{"shape":"S2f"}}},"output":{"type":"structure","members":{"Summary":{"shape":"S3d"}}}},"DeleteFirewallManagerRuleGroups":{"input":{"type":"structure","required":["WebACLArn","WebACLLockToken"],"members":{"WebACLArn":{},"WebACLLockToken":{}}},"output":{"type":"structure","members":{"NextWebACLLockToken":{}}}},"DeleteIPSet":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{}}},"output":{"type":"structure","members":{}}},"DeleteLoggingConfiguration":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeletePermissionPolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeleteRegexPatternSet":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{}}},"output":{"type":"structure","members":{}}},"DeleteRuleGroup":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{}}},"output":{"type":"structure","members":{}}},"DeleteWebACL":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{}}},"output":{"type":"structure","members":{}}},"DescribeManagedRuleGroup":{"input":{"type":"structure","required":["VendorName","Name","Scope"],"members":{"VendorName":{},"Name":{},"Scope":{},"VersionName":{}}},"output":{"type":"structure","members":{"VersionName":{},"SnsTopicArn":{},"Capacity":{"type":"long"},"Rules":{"type":"list","member":{"type":"structure","members":{"Name":{},"Action":{"shape":"S1v"}}}},"LabelNamespace":{},"AvailableLabels":{"shape":"S3w"},"ConsumedLabels":{"shape":"S3w"}}}},"DisassociateWebACL":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"GetIPSet":{"input":{"type":"structure","required":["Name","Scope","Id"],"members":{"Name":{},"Scope":{},"Id":{}}},"output":{"type":"structure","members":{"IPSet":{"type":"structure","required":["Name","Id","ARN","IPAddressVersion","Addresses"],"members":{"Name":{},"Id":{},"ARN":{},"Description":{},"IPAddressVersion":{},"Addresses":{"shape":"S2n"}}},"LockToken":{}}}},"GetLoggingConfiguration":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"LoggingConfiguration":{"shape":"S45"}}}},"GetManagedRuleSet":{"input":{"type":"structure","required":["Name","Scope","Id"],"members":{"Name":{},"Scope":{},"Id":{}}},"output":{"type":"structure","members":{"ManagedRuleSet":{"type":"structure","required":["Name","Id","ARN"],"members":{"Name":{},"Id":{},"ARN":{},"Description":{},"PublishedVersions":{"type":"map","key":{},"value":{"type":"structure","members":{"AssociatedRuleGroupArn":{},"Capacity":{"type":"long"},"ForecastedLifetime":{"type":"integer"},"PublishTimestamp":{"type":"timestamp"},"LastUpdateTimestamp":{"type":"timestamp"},"ExpiryTimestamp":{"type":"timestamp"}}}},"RecommendedVersion":{},"LabelNamespace":{}}},"LockToken":{}}}},"GetPermissionPolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Policy":{}}}},"GetRateBasedStatementManagedKeys":{"input":{"type":"structure","required":["Scope","WebACLName","WebACLId","RuleName"],"members":{"Scope":{},"WebACLName":{},"WebACLId":{},"RuleGroupRuleName":{},"RuleName":{}}},"output":{"type":"structure","members":{"ManagedKeysIPV4":{"shape":"S4u"},"ManagedKeysIPV6":{"shape":"S4u"}}}},"GetRegexPatternSet":{"input":{"type":"structure","required":["Name","Scope","Id"],"members":{"Name":{},"Scope":{},"Id":{}}},"output":{"type":"structure","members":{"RegexPatternSet":{"type":"structure","members":{"Name":{},"Id":{},"ARN":{},"Description":{},"RegularExpressionList":{"shape":"S2y"}}},"LockToken":{}}}},"GetRuleGroup":{"input":{"type":"structure","members":{"Name":{},"Scope":{},"Id":{},"ARN":{}}},"output":{"type":"structure","members":{"RuleGroup":{"type":"structure","required":["Name","Id","Capacity","ARN","VisibilityConfig"],"members":{"Name":{},"Id":{},"Capacity":{"type":"long"},"ARN":{},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2c"},"LabelNamespace":{},"CustomResponseBodies":{"shape":"S34"},"AvailableLabels":{"shape":"S3w"},"ConsumedLabels":{"shape":"S3w"}}},"LockToken":{}}}},"GetSampledRequests":{"input":{"type":"structure","required":["WebAclArn","RuleMetricName","Scope","TimeWindow","MaxItems"],"members":{"WebAclArn":{},"RuleMetricName":{},"Scope":{},"TimeWindow":{"shape":"S52"},"MaxItems":{"type":"long"}}},"output":{"type":"structure","members":{"SampledRequests":{"type":"list","member":{"type":"structure","required":["Request","Weight"],"members":{"Request":{"type":"structure","members":{"ClientIP":{},"Country":{},"URI":{},"Method":{},"HTTPVersion":{},"Headers":{"shape":"S5d"}}},"Weight":{"type":"long"},"Timestamp":{"type":"timestamp"},"Action":{},"RuleNameWithinRuleGroup":{},"RequestHeadersInserted":{"shape":"S5d"},"ResponseCodeSent":{"type":"integer"},"Labels":{"shape":"S29"},"CaptchaResponse":{"type":"structure","members":{"ResponseCode":{"type":"integer"},"SolveTimestamp":{"type":"long"},"FailureReason":{}}}}}},"PopulationSize":{"type":"long"},"TimeWindow":{"shape":"S52"}}}},"GetWebACL":{"input":{"type":"structure","required":["Name","Scope","Id"],"members":{"Name":{},"Scope":{},"Id":{}}},"output":{"type":"structure","members":{"WebACL":{"shape":"S5q"},"LockToken":{}}}},"GetWebACLForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"WebACL":{"shape":"S5q"}}}},"ListAvailableManagedRuleGroupVersions":{"input":{"type":"structure","required":["VendorName","Name","Scope"],"members":{"VendorName":{},"Name":{},"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"Versions":{"type":"list","member":{"type":"structure","members":{"Name":{},"LastUpdateTimestamp":{"type":"timestamp"}}}}}}},"ListAvailableManagedRuleGroups":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"ManagedRuleGroups":{"type":"list","member":{"type":"structure","members":{"VendorName":{},"Name":{},"Description":{}}}}}}},"ListIPSets":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"IPSets":{"type":"list","member":{"shape":"S2u"}}}}},"ListLoggingConfigurations":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"LoggingConfigurations":{"type":"list","member":{"shape":"S45"}},"NextMarker":{}}}},"ListManagedRuleSets":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"ManagedRuleSets":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{},"LabelNamespace":{}}}}}}},"ListRegexPatternSets":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"RegexPatternSets":{"type":"list","member":{"shape":"S31"}}}}},"ListResourcesForWebACL":{"input":{"type":"structure","required":["WebACLArn"],"members":{"WebACLArn":{},"ResourceType":{}}},"output":{"type":"structure","members":{"ResourceArns":{"type":"list","member":{}}}}},"ListRuleGroups":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"RuleGroups":{"type":"list","member":{"shape":"S39"}}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"NextMarker":{},"Limit":{"type":"integer"},"ResourceARN":{}}},"output":{"type":"structure","members":{"NextMarker":{},"TagInfoForResource":{"type":"structure","members":{"ResourceARN":{},"TagList":{"shape":"S2p"}}}}}},"ListWebACLs":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"WebACLs":{"type":"list","member":{"shape":"S3d"}}}}},"PutLoggingConfiguration":{"input":{"type":"structure","required":["LoggingConfiguration"],"members":{"LoggingConfiguration":{"shape":"S45"}}},"output":{"type":"structure","members":{"LoggingConfiguration":{"shape":"S45"}}}},"PutManagedRuleSetVersions":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{},"RecommendedVersion":{},"VersionsToPublish":{"type":"map","key":{},"value":{"type":"structure","members":{"AssociatedRuleGroupArn":{},"ForecastedLifetime":{"type":"integer"}}}}}},"output":{"type":"structure","members":{"NextLockToken":{}}}},"PutPermissionPolicy":{"input":{"type":"structure","required":["ResourceArn","Policy"],"members":{"ResourceArn":{},"Policy":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S2p"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateIPSet":{"input":{"type":"structure","required":["Name","Scope","Id","Addresses","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"Description":{},"Addresses":{"shape":"S2n"},"LockToken":{}}},"output":{"type":"structure","members":{"NextLockToken":{}}}},"UpdateManagedRuleSetVersionExpiryDate":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken","VersionToExpire","ExpiryTimestamp"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{},"VersionToExpire":{},"ExpiryTimestamp":{"type":"timestamp"}}},"output":{"type":"structure","members":{"ExpiringVersion":{},"ExpiryTimestamp":{"type":"timestamp"},"NextLockToken":{}}}},"UpdateRegexPatternSet":{"input":{"type":"structure","required":["Name","Scope","Id","RegularExpressionList","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"Description":{},"RegularExpressionList":{"shape":"S2y"},"LockToken":{}}},"output":{"type":"structure","members":{"NextLockToken":{}}}},"UpdateRuleGroup":{"input":{"type":"structure","required":["Name","Scope","Id","VisibilityConfig","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2c"},"LockToken":{},"CustomResponseBodies":{"shape":"S34"}}},"output":{"type":"structure","members":{"NextLockToken":{}}}},"UpdateWebACL":{"input":{"type":"structure","required":["Name","Scope","Id","DefaultAction","VisibilityConfig","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"DefaultAction":{"shape":"S3b"},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2c"},"LockToken":{},"CustomResponseBodies":{"shape":"S34"},"CaptchaConfig":{"shape":"S2f"}}},"output":{"type":"structure","members":{"NextLockToken":{}}}}},"shapes":{"S6":{"type":"list","member":{"type":"structure","required":["Name","Priority","Statement","VisibilityConfig"],"members":{"Name":{},"Priority":{"type":"integer"},"Statement":{"shape":"Sa"},"Action":{"shape":"S1v"},"OverrideAction":{"shape":"S27"},"RuleLabels":{"shape":"S29"},"VisibilityConfig":{"shape":"S2c"},"CaptchaConfig":{"shape":"S2f"}}}},"Sa":{"type":"structure","members":{"ByteMatchStatement":{"type":"structure","required":["SearchString","FieldToMatch","TextTransformations","PositionalConstraint"],"members":{"SearchString":{"type":"blob"},"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"},"PositionalConstraint":{}}},"SqliMatchStatement":{"type":"structure","required":["FieldToMatch","TextTransformations"],"members":{"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"}}},"XssMatchStatement":{"type":"structure","required":["FieldToMatch","TextTransformations"],"members":{"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"}}},"SizeConstraintStatement":{"type":"structure","required":["FieldToMatch","ComparisonOperator","Size","TextTransformations"],"members":{"FieldToMatch":{"shape":"Sd"},"ComparisonOperator":{},"Size":{"type":"long"},"TextTransformations":{"shape":"St"}}},"GeoMatchStatement":{"type":"structure","members":{"CountryCodes":{"type":"list","member":{}},"ForwardedIPConfig":{"shape":"S16"}}},"RuleGroupReferenceStatement":{"shape":"S19"},"IPSetReferenceStatement":{"type":"structure","required":["ARN"],"members":{"ARN":{},"IPSetForwardedIPConfig":{"type":"structure","required":["HeaderName","FallbackBehavior","Position"],"members":{"HeaderName":{},"FallbackBehavior":{},"Position":{}}}}},"RegexPatternSetReferenceStatement":{"type":"structure","required":["ARN","FieldToMatch","TextTransformations"],"members":{"ARN":{},"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"}}},"RateBasedStatement":{"type":"structure","required":["Limit","AggregateKeyType"],"members":{"Limit":{"type":"long"},"AggregateKeyType":{},"ScopeDownStatement":{"shape":"Sa"},"ForwardedIPConfig":{"shape":"S16"}}},"AndStatement":{"type":"structure","required":["Statements"],"members":{"Statements":{"shape":"S1k"}}},"OrStatement":{"type":"structure","required":["Statements"],"members":{"Statements":{"shape":"S1k"}}},"NotStatement":{"type":"structure","required":["Statement"],"members":{"Statement":{"shape":"Sa"}}},"ManagedRuleGroupStatement":{"shape":"S1n"},"LabelMatchStatement":{"type":"structure","required":["Scope","Key"],"members":{"Scope":{},"Key":{}}},"RegexMatchStatement":{"type":"structure","required":["RegexString","FieldToMatch","TextTransformations"],"members":{"RegexString":{},"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"}}}}},"Sd":{"type":"structure","members":{"SingleHeader":{"type":"structure","required":["Name"],"members":{"Name":{}}},"SingleQueryArgument":{"type":"structure","required":["Name"],"members":{"Name":{}}},"AllQueryArguments":{"type":"structure","members":{}},"UriPath":{"type":"structure","members":{}},"QueryString":{"type":"structure","members":{}},"Body":{"type":"structure","members":{}},"Method":{"type":"structure","members":{}},"JsonBody":{"type":"structure","required":["MatchPattern","MatchScope"],"members":{"MatchPattern":{"type":"structure","members":{"All":{"type":"structure","members":{}},"IncludedPaths":{"type":"list","member":{}}}},"MatchScope":{},"InvalidFallbackBehavior":{}}}}},"St":{"type":"list","member":{"type":"structure","required":["Priority","Type"],"members":{"Priority":{"type":"integer"},"Type":{}}}},"S16":{"type":"structure","required":["HeaderName","FallbackBehavior"],"members":{"HeaderName":{},"FallbackBehavior":{}}},"S19":{"type":"structure","required":["ARN"],"members":{"ARN":{},"ExcludedRules":{"shape":"S1a"}}},"S1a":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"S1k":{"type":"list","member":{"shape":"Sa"}},"S1n":{"type":"structure","required":["VendorName","Name"],"members":{"VendorName":{},"Name":{},"Version":{},"ExcludedRules":{"shape":"S1a"},"ScopeDownStatement":{"shape":"Sa"}}},"S1v":{"type":"structure","members":{"Block":{"shape":"S1w"},"Allow":{"shape":"S23"},"Count":{"shape":"S25"},"Captcha":{"type":"structure","members":{"CustomRequestHandling":{"shape":"S24"}}}}},"S1w":{"type":"structure","members":{"CustomResponse":{"type":"structure","required":["ResponseCode"],"members":{"ResponseCode":{"type":"integer"},"CustomResponseBodyKey":{},"ResponseHeaders":{"shape":"S1z"}}}}},"S1z":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"S23":{"type":"structure","members":{"CustomRequestHandling":{"shape":"S24"}}},"S24":{"type":"structure","required":["InsertHeaders"],"members":{"InsertHeaders":{"shape":"S1z"}}},"S25":{"type":"structure","members":{"CustomRequestHandling":{"shape":"S24"}}},"S27":{"type":"structure","members":{"Count":{"shape":"S25"},"None":{"type":"structure","members":{}}}},"S29":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"S2c":{"type":"structure","required":["SampledRequestsEnabled","CloudWatchMetricsEnabled","MetricName"],"members":{"SampledRequestsEnabled":{"type":"boolean"},"CloudWatchMetricsEnabled":{"type":"boolean"},"MetricName":{}}},"S2f":{"type":"structure","members":{"ImmunityTimeProperty":{"type":"structure","required":["ImmunityTime"],"members":{"ImmunityTime":{"type":"long"}}}}},"S2n":{"type":"list","member":{}},"S2p":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S2u":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{}}},"S2y":{"type":"list","member":{"type":"structure","members":{"RegexString":{}}}},"S31":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{}}},"S34":{"type":"map","key":{},"value":{"type":"structure","required":["ContentType","Content"],"members":{"ContentType":{},"Content":{}}}},"S39":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{}}},"S3b":{"type":"structure","members":{"Block":{"shape":"S1w"},"Allow":{"shape":"S23"}}},"S3d":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{}}},"S3w":{"type":"list","member":{"type":"structure","members":{"Name":{}}}},"S45":{"type":"structure","required":["ResourceArn","LogDestinationConfigs"],"members":{"ResourceArn":{},"LogDestinationConfigs":{"type":"list","member":{}},"RedactedFields":{"type":"list","member":{"shape":"Sd"}},"ManagedByFirewallManager":{"type":"boolean"},"LoggingFilter":{"type":"structure","required":["Filters","DefaultBehavior"],"members":{"Filters":{"type":"list","member":{"type":"structure","required":["Behavior","Requirement","Conditions"],"members":{"Behavior":{},"Requirement":{},"Conditions":{"type":"list","member":{"type":"structure","members":{"ActionCondition":{"type":"structure","required":["Action"],"members":{"Action":{}}},"LabelNameCondition":{"type":"structure","required":["LabelName"],"members":{"LabelName":{}}}}}}}}},"DefaultBehavior":{}}}}},"S4u":{"type":"structure","members":{"IPAddressVersion":{},"Addresses":{"shape":"S2n"}}},"S52":{"type":"structure","required":["StartTime","EndTime"],"members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"S5d":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"S5q":{"type":"structure","required":["Name","Id","ARN","DefaultAction","VisibilityConfig"],"members":{"Name":{},"Id":{},"ARN":{},"DefaultAction":{"shape":"S3b"},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2c"},"Capacity":{"type":"long"},"PreProcessFirewallManagerRuleGroups":{"shape":"S5r"},"PostProcessFirewallManagerRuleGroups":{"shape":"S5r"},"ManagedByFirewallManager":{"type":"boolean"},"LabelNamespace":{},"CustomResponseBodies":{"shape":"S34"},"CaptchaConfig":{"shape":"S2f"}}},"S5r":{"type":"list","member":{"type":"structure","required":["Name","Priority","FirewallManagerStatement","OverrideAction","VisibilityConfig"],"members":{"Name":{},"Priority":{"type":"integer"},"FirewallManagerStatement":{"type":"structure","members":{"ManagedRuleGroupStatement":{"shape":"S1n"},"RuleGroupReferenceStatement":{"shape":"S19"}}},"OverrideAction":{"shape":"S27"},"VisibilityConfig":{"shape":"S2c"}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-07-29","endpointPrefix":"wafv2","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"WAFV2","serviceFullName":"AWS WAFV2","serviceId":"WAFV2","signatureVersion":"v4","targetPrefix":"AWSWAF_20190729","uid":"wafv2-2019-07-29"},"operations":{"AssociateWebACL":{"input":{"type":"structure","required":["WebACLArn","ResourceArn"],"members":{"WebACLArn":{},"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"CheckCapacity":{"input":{"type":"structure","required":["Scope","Rules"],"members":{"Scope":{},"Rules":{"shape":"S6"}}},"output":{"type":"structure","members":{"Capacity":{"type":"long"}}}},"CreateIPSet":{"input":{"type":"structure","required":["Name","Scope","IPAddressVersion","Addresses"],"members":{"Name":{},"Scope":{},"Description":{},"IPAddressVersion":{},"Addresses":{"shape":"S2u"},"Tags":{"shape":"S2w"}}},"output":{"type":"structure","members":{"Summary":{"shape":"S31"}}}},"CreateRegexPatternSet":{"input":{"type":"structure","required":["Name","Scope","RegularExpressionList"],"members":{"Name":{},"Scope":{},"Description":{},"RegularExpressionList":{"shape":"S35"},"Tags":{"shape":"S2w"}}},"output":{"type":"structure","members":{"Summary":{"shape":"S38"}}}},"CreateRuleGroup":{"input":{"type":"structure","required":["Name","Scope","Capacity","VisibilityConfig"],"members":{"Name":{},"Scope":{},"Capacity":{"type":"long"},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2j"},"Tags":{"shape":"S2w"},"CustomResponseBodies":{"shape":"S3b"}}},"output":{"type":"structure","members":{"Summary":{"shape":"S3g"}}}},"CreateWebACL":{"input":{"type":"structure","required":["Name","Scope","DefaultAction","VisibilityConfig"],"members":{"Name":{},"Scope":{},"DefaultAction":{"shape":"S3i"},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2j"},"Tags":{"shape":"S2w"},"CustomResponseBodies":{"shape":"S3b"},"CaptchaConfig":{"shape":"S2m"}}},"output":{"type":"structure","members":{"Summary":{"shape":"S3k"}}}},"DeleteFirewallManagerRuleGroups":{"input":{"type":"structure","required":["WebACLArn","WebACLLockToken"],"members":{"WebACLArn":{},"WebACLLockToken":{}}},"output":{"type":"structure","members":{"NextWebACLLockToken":{}}}},"DeleteIPSet":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{}}},"output":{"type":"structure","members":{}}},"DeleteLoggingConfiguration":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeletePermissionPolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeleteRegexPatternSet":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{}}},"output":{"type":"structure","members":{}}},"DeleteRuleGroup":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{}}},"output":{"type":"structure","members":{}}},"DeleteWebACL":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{}}},"output":{"type":"structure","members":{}}},"DescribeManagedRuleGroup":{"input":{"type":"structure","required":["VendorName","Name","Scope"],"members":{"VendorName":{},"Name":{},"Scope":{},"VersionName":{}}},"output":{"type":"structure","members":{"VersionName":{},"SnsTopicArn":{},"Capacity":{"type":"long"},"Rules":{"type":"list","member":{"type":"structure","members":{"Name":{},"Action":{"shape":"S22"}}}},"LabelNamespace":{},"AvailableLabels":{"shape":"S43"},"ConsumedLabels":{"shape":"S43"}}}},"DisassociateWebACL":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"GenerateMobileSdkReleaseUrl":{"input":{"type":"structure","required":["Platform","ReleaseVersion"],"members":{"Platform":{},"ReleaseVersion":{}}},"output":{"type":"structure","members":{"Url":{}}}},"GetIPSet":{"input":{"type":"structure","required":["Name","Scope","Id"],"members":{"Name":{},"Scope":{},"Id":{}}},"output":{"type":"structure","members":{"IPSet":{"type":"structure","required":["Name","Id","ARN","IPAddressVersion","Addresses"],"members":{"Name":{},"Id":{},"ARN":{},"Description":{},"IPAddressVersion":{},"Addresses":{"shape":"S2u"}}},"LockToken":{}}}},"GetLoggingConfiguration":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"LoggingConfiguration":{"shape":"S4g"}}}},"GetManagedRuleSet":{"input":{"type":"structure","required":["Name","Scope","Id"],"members":{"Name":{},"Scope":{},"Id":{}}},"output":{"type":"structure","members":{"ManagedRuleSet":{"type":"structure","required":["Name","Id","ARN"],"members":{"Name":{},"Id":{},"ARN":{},"Description":{},"PublishedVersions":{"type":"map","key":{},"value":{"type":"structure","members":{"AssociatedRuleGroupArn":{},"Capacity":{"type":"long"},"ForecastedLifetime":{"type":"integer"},"PublishTimestamp":{"type":"timestamp"},"LastUpdateTimestamp":{"type":"timestamp"},"ExpiryTimestamp":{"type":"timestamp"}}}},"RecommendedVersion":{},"LabelNamespace":{}}},"LockToken":{}}}},"GetMobileSdkRelease":{"input":{"type":"structure","required":["Platform","ReleaseVersion"],"members":{"Platform":{},"ReleaseVersion":{}}},"output":{"type":"structure","members":{"MobileSdkRelease":{"type":"structure","members":{"ReleaseVersion":{},"Timestamp":{"type":"timestamp"},"ReleaseNotes":{},"Tags":{"shape":"S2w"}}}}}},"GetPermissionPolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Policy":{}}}},"GetRateBasedStatementManagedKeys":{"input":{"type":"structure","required":["Scope","WebACLName","WebACLId","RuleName"],"members":{"Scope":{},"WebACLName":{},"WebACLId":{},"RuleGroupRuleName":{},"RuleName":{}}},"output":{"type":"structure","members":{"ManagedKeysIPV4":{"shape":"S59"},"ManagedKeysIPV6":{"shape":"S59"}}}},"GetRegexPatternSet":{"input":{"type":"structure","required":["Name","Scope","Id"],"members":{"Name":{},"Scope":{},"Id":{}}},"output":{"type":"structure","members":{"RegexPatternSet":{"type":"structure","members":{"Name":{},"Id":{},"ARN":{},"Description":{},"RegularExpressionList":{"shape":"S35"}}},"LockToken":{}}}},"GetRuleGroup":{"input":{"type":"structure","members":{"Name":{},"Scope":{},"Id":{},"ARN":{}}},"output":{"type":"structure","members":{"RuleGroup":{"type":"structure","required":["Name","Id","Capacity","ARN","VisibilityConfig"],"members":{"Name":{},"Id":{},"Capacity":{"type":"long"},"ARN":{},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2j"},"LabelNamespace":{},"CustomResponseBodies":{"shape":"S3b"},"AvailableLabels":{"shape":"S43"},"ConsumedLabels":{"shape":"S43"}}},"LockToken":{}}}},"GetSampledRequests":{"input":{"type":"structure","required":["WebAclArn","RuleMetricName","Scope","TimeWindow","MaxItems"],"members":{"WebAclArn":{},"RuleMetricName":{},"Scope":{},"TimeWindow":{"shape":"S5h"},"MaxItems":{"type":"long"}}},"output":{"type":"structure","members":{"SampledRequests":{"type":"list","member":{"type":"structure","required":["Request","Weight"],"members":{"Request":{"type":"structure","members":{"ClientIP":{},"Country":{},"URI":{},"Method":{},"HTTPVersion":{},"Headers":{"shape":"S5s"}}},"Weight":{"type":"long"},"Timestamp":{"type":"timestamp"},"Action":{},"RuleNameWithinRuleGroup":{},"RequestHeadersInserted":{"shape":"S5s"},"ResponseCodeSent":{"type":"integer"},"Labels":{"shape":"S2g"},"CaptchaResponse":{"type":"structure","members":{"ResponseCode":{"type":"integer"},"SolveTimestamp":{"type":"long"},"FailureReason":{}}}}}},"PopulationSize":{"type":"long"},"TimeWindow":{"shape":"S5h"}}}},"GetWebACL":{"input":{"type":"structure","required":["Name","Scope","Id"],"members":{"Name":{},"Scope":{},"Id":{}}},"output":{"type":"structure","members":{"WebACL":{"shape":"S65"},"LockToken":{},"ApplicationIntegrationURL":{}}}},"GetWebACLForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"WebACL":{"shape":"S65"}}}},"ListAvailableManagedRuleGroupVersions":{"input":{"type":"structure","required":["VendorName","Name","Scope"],"members":{"VendorName":{},"Name":{},"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"Versions":{"type":"list","member":{"type":"structure","members":{"Name":{},"LastUpdateTimestamp":{"type":"timestamp"}}}}}}},"ListAvailableManagedRuleGroups":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"ManagedRuleGroups":{"type":"list","member":{"type":"structure","members":{"VendorName":{},"Name":{},"Description":{}}}}}}},"ListIPSets":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"IPSets":{"type":"list","member":{"shape":"S31"}}}}},"ListLoggingConfigurations":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"LoggingConfigurations":{"type":"list","member":{"shape":"S4g"}},"NextMarker":{}}}},"ListManagedRuleSets":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"ManagedRuleSets":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{},"LabelNamespace":{}}}}}}},"ListMobileSdkReleases":{"input":{"type":"structure","required":["Platform"],"members":{"Platform":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"ReleaseSummaries":{"type":"list","member":{"type":"structure","members":{"ReleaseVersion":{},"Timestamp":{"type":"timestamp"}}}},"NextMarker":{}}}},"ListRegexPatternSets":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"RegexPatternSets":{"type":"list","member":{"shape":"S38"}}}}},"ListResourcesForWebACL":{"input":{"type":"structure","required":["WebACLArn"],"members":{"WebACLArn":{},"ResourceType":{}}},"output":{"type":"structure","members":{"ResourceArns":{"type":"list","member":{}}}}},"ListRuleGroups":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"RuleGroups":{"type":"list","member":{"shape":"S3g"}}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"NextMarker":{},"Limit":{"type":"integer"},"ResourceARN":{}}},"output":{"type":"structure","members":{"NextMarker":{},"TagInfoForResource":{"type":"structure","members":{"ResourceARN":{},"TagList":{"shape":"S2w"}}}}}},"ListWebACLs":{"input":{"type":"structure","required":["Scope"],"members":{"Scope":{},"NextMarker":{},"Limit":{"type":"integer"}}},"output":{"type":"structure","members":{"NextMarker":{},"WebACLs":{"type":"list","member":{"shape":"S3k"}}}}},"PutLoggingConfiguration":{"input":{"type":"structure","required":["LoggingConfiguration"],"members":{"LoggingConfiguration":{"shape":"S4g"}}},"output":{"type":"structure","members":{"LoggingConfiguration":{"shape":"S4g"}}}},"PutManagedRuleSetVersions":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{},"RecommendedVersion":{},"VersionsToPublish":{"type":"map","key":{},"value":{"type":"structure","members":{"AssociatedRuleGroupArn":{},"ForecastedLifetime":{"type":"integer"}}}}}},"output":{"type":"structure","members":{"NextLockToken":{}}}},"PutPermissionPolicy":{"input":{"type":"structure","required":["ResourceArn","Policy"],"members":{"ResourceArn":{},"Policy":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S2w"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateIPSet":{"input":{"type":"structure","required":["Name","Scope","Id","Addresses","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"Description":{},"Addresses":{"shape":"S2u"},"LockToken":{}}},"output":{"type":"structure","members":{"NextLockToken":{}}}},"UpdateManagedRuleSetVersionExpiryDate":{"input":{"type":"structure","required":["Name","Scope","Id","LockToken","VersionToExpire","ExpiryTimestamp"],"members":{"Name":{},"Scope":{},"Id":{},"LockToken":{},"VersionToExpire":{},"ExpiryTimestamp":{"type":"timestamp"}}},"output":{"type":"structure","members":{"ExpiringVersion":{},"ExpiryTimestamp":{"type":"timestamp"},"NextLockToken":{}}}},"UpdateRegexPatternSet":{"input":{"type":"structure","required":["Name","Scope","Id","RegularExpressionList","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"Description":{},"RegularExpressionList":{"shape":"S35"},"LockToken":{}}},"output":{"type":"structure","members":{"NextLockToken":{}}}},"UpdateRuleGroup":{"input":{"type":"structure","required":["Name","Scope","Id","VisibilityConfig","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2j"},"LockToken":{},"CustomResponseBodies":{"shape":"S3b"}}},"output":{"type":"structure","members":{"NextLockToken":{}}}},"UpdateWebACL":{"input":{"type":"structure","required":["Name","Scope","Id","DefaultAction","VisibilityConfig","LockToken"],"members":{"Name":{},"Scope":{},"Id":{},"DefaultAction":{"shape":"S3i"},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2j"},"LockToken":{},"CustomResponseBodies":{"shape":"S3b"},"CaptchaConfig":{"shape":"S2m"}}},"output":{"type":"structure","members":{"NextLockToken":{}}}}},"shapes":{"S6":{"type":"list","member":{"type":"structure","required":["Name","Priority","Statement","VisibilityConfig"],"members":{"Name":{},"Priority":{"type":"integer"},"Statement":{"shape":"Sa"},"Action":{"shape":"S22"},"OverrideAction":{"shape":"S2e"},"RuleLabels":{"shape":"S2g"},"VisibilityConfig":{"shape":"S2j"},"CaptchaConfig":{"shape":"S2m"}}}},"Sa":{"type":"structure","members":{"ByteMatchStatement":{"type":"structure","required":["SearchString","FieldToMatch","TextTransformations","PositionalConstraint"],"members":{"SearchString":{"type":"blob"},"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"},"PositionalConstraint":{}}},"SqliMatchStatement":{"type":"structure","required":["FieldToMatch","TextTransformations"],"members":{"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"}}},"XssMatchStatement":{"type":"structure","required":["FieldToMatch","TextTransformations"],"members":{"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"}}},"SizeConstraintStatement":{"type":"structure","required":["FieldToMatch","ComparisonOperator","Size","TextTransformations"],"members":{"FieldToMatch":{"shape":"Sd"},"ComparisonOperator":{},"Size":{"type":"long"},"TextTransformations":{"shape":"St"}}},"GeoMatchStatement":{"type":"structure","members":{"CountryCodes":{"type":"list","member":{}},"ForwardedIPConfig":{"shape":"S16"}}},"RuleGroupReferenceStatement":{"shape":"S19"},"IPSetReferenceStatement":{"type":"structure","required":["ARN"],"members":{"ARN":{},"IPSetForwardedIPConfig":{"type":"structure","required":["HeaderName","FallbackBehavior","Position"],"members":{"HeaderName":{},"FallbackBehavior":{},"Position":{}}}}},"RegexPatternSetReferenceStatement":{"type":"structure","required":["ARN","FieldToMatch","TextTransformations"],"members":{"ARN":{},"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"}}},"RateBasedStatement":{"type":"structure","required":["Limit","AggregateKeyType"],"members":{"Limit":{"type":"long"},"AggregateKeyType":{},"ScopeDownStatement":{"shape":"Sa"},"ForwardedIPConfig":{"shape":"S16"}}},"AndStatement":{"type":"structure","required":["Statements"],"members":{"Statements":{"shape":"S1k"}}},"OrStatement":{"type":"structure","required":["Statements"],"members":{"Statements":{"shape":"S1k"}}},"NotStatement":{"type":"structure","required":["Statement"],"members":{"Statement":{"shape":"Sa"}}},"ManagedRuleGroupStatement":{"shape":"S1n"},"LabelMatchStatement":{"type":"structure","required":["Scope","Key"],"members":{"Scope":{},"Key":{}}},"RegexMatchStatement":{"type":"structure","required":["RegexString","FieldToMatch","TextTransformations"],"members":{"RegexString":{},"FieldToMatch":{"shape":"Sd"},"TextTransformations":{"shape":"St"}}}}},"Sd":{"type":"structure","members":{"SingleHeader":{"type":"structure","required":["Name"],"members":{"Name":{}}},"SingleQueryArgument":{"type":"structure","required":["Name"],"members":{"Name":{}}},"AllQueryArguments":{"type":"structure","members":{}},"UriPath":{"type":"structure","members":{}},"QueryString":{"type":"structure","members":{}},"Body":{"type":"structure","members":{}},"Method":{"type":"structure","members":{}},"JsonBody":{"type":"structure","required":["MatchPattern","MatchScope"],"members":{"MatchPattern":{"type":"structure","members":{"All":{"type":"structure","members":{}},"IncludedPaths":{"type":"list","member":{}}}},"MatchScope":{},"InvalidFallbackBehavior":{}}}}},"St":{"type":"list","member":{"type":"structure","required":["Priority","Type"],"members":{"Priority":{"type":"integer"},"Type":{}}}},"S16":{"type":"structure","required":["HeaderName","FallbackBehavior"],"members":{"HeaderName":{},"FallbackBehavior":{}}},"S19":{"type":"structure","required":["ARN"],"members":{"ARN":{},"ExcludedRules":{"shape":"S1a"}}},"S1a":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"S1k":{"type":"list","member":{"shape":"Sa"}},"S1n":{"type":"structure","required":["VendorName","Name"],"members":{"VendorName":{},"Name":{},"Version":{},"ExcludedRules":{"shape":"S1a"},"ScopeDownStatement":{"shape":"Sa"},"ManagedRuleGroupConfigs":{"type":"list","member":{"type":"structure","members":{"LoginPath":{},"PayloadType":{},"UsernameField":{"type":"structure","required":["Identifier"],"members":{"Identifier":{}}},"PasswordField":{"type":"structure","required":["Identifier"],"members":{"Identifier":{}}}}}}}},"S22":{"type":"structure","members":{"Block":{"shape":"S23"},"Allow":{"shape":"S2a"},"Count":{"shape":"S2c"},"Captcha":{"type":"structure","members":{"CustomRequestHandling":{"shape":"S2b"}}}}},"S23":{"type":"structure","members":{"CustomResponse":{"type":"structure","required":["ResponseCode"],"members":{"ResponseCode":{"type":"integer"},"CustomResponseBodyKey":{},"ResponseHeaders":{"shape":"S26"}}}}},"S26":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"S2a":{"type":"structure","members":{"CustomRequestHandling":{"shape":"S2b"}}},"S2b":{"type":"structure","required":["InsertHeaders"],"members":{"InsertHeaders":{"shape":"S26"}}},"S2c":{"type":"structure","members":{"CustomRequestHandling":{"shape":"S2b"}}},"S2e":{"type":"structure","members":{"Count":{"shape":"S2c"},"None":{"type":"structure","members":{}}}},"S2g":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"S2j":{"type":"structure","required":["SampledRequestsEnabled","CloudWatchMetricsEnabled","MetricName"],"members":{"SampledRequestsEnabled":{"type":"boolean"},"CloudWatchMetricsEnabled":{"type":"boolean"},"MetricName":{}}},"S2m":{"type":"structure","members":{"ImmunityTimeProperty":{"type":"structure","required":["ImmunityTime"],"members":{"ImmunityTime":{"type":"long"}}}}},"S2u":{"type":"list","member":{}},"S2w":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S31":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{}}},"S35":{"type":"list","member":{"type":"structure","members":{"RegexString":{}}}},"S38":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{}}},"S3b":{"type":"map","key":{},"value":{"type":"structure","required":["ContentType","Content"],"members":{"ContentType":{},"Content":{}}}},"S3g":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{}}},"S3i":{"type":"structure","members":{"Block":{"shape":"S23"},"Allow":{"shape":"S2a"}}},"S3k":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LockToken":{},"ARN":{}}},"S43":{"type":"list","member":{"type":"structure","members":{"Name":{}}}},"S4g":{"type":"structure","required":["ResourceArn","LogDestinationConfigs"],"members":{"ResourceArn":{},"LogDestinationConfigs":{"type":"list","member":{}},"RedactedFields":{"type":"list","member":{"shape":"Sd"}},"ManagedByFirewallManager":{"type":"boolean"},"LoggingFilter":{"type":"structure","required":["Filters","DefaultBehavior"],"members":{"Filters":{"type":"list","member":{"type":"structure","required":["Behavior","Requirement","Conditions"],"members":{"Behavior":{},"Requirement":{},"Conditions":{"type":"list","member":{"type":"structure","members":{"ActionCondition":{"type":"structure","required":["Action"],"members":{"Action":{}}},"LabelNameCondition":{"type":"structure","required":["LabelName"],"members":{"LabelName":{}}}}}}}}},"DefaultBehavior":{}}}}},"S59":{"type":"structure","members":{"IPAddressVersion":{},"Addresses":{"shape":"S2u"}}},"S5h":{"type":"structure","required":["StartTime","EndTime"],"members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"S5s":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{}}}},"S65":{"type":"structure","required":["Name","Id","ARN","DefaultAction","VisibilityConfig"],"members":{"Name":{},"Id":{},"ARN":{},"DefaultAction":{"shape":"S3i"},"Description":{},"Rules":{"shape":"S6"},"VisibilityConfig":{"shape":"S2j"},"Capacity":{"type":"long"},"PreProcessFirewallManagerRuleGroups":{"shape":"S66"},"PostProcessFirewallManagerRuleGroups":{"shape":"S66"},"ManagedByFirewallManager":{"type":"boolean"},"LabelNamespace":{},"CustomResponseBodies":{"shape":"S3b"},"CaptchaConfig":{"shape":"S2m"}}},"S66":{"type":"list","member":{"type":"structure","required":["Name","Priority","FirewallManagerStatement","OverrideAction","VisibilityConfig"],"members":{"Name":{},"Priority":{"type":"integer"},"FirewallManagerStatement":{"type":"structure","members":{"ManagedRuleGroupStatement":{"shape":"S1n"},"RuleGroupReferenceStatement":{"shape":"S19"}}},"OverrideAction":{"shape":"S2e"},"VisibilityConfig":{"shape":"S2j"}}}}}} /***/ }), /* 821 */ @@ -52327,7 +52333,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 838 */ /***/ (function(module, exports) { - module.exports = {"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"}]}}} + module.exports = {"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"}]}}} /***/ }), /* 839 */ @@ -52393,7 +52399,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 843 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-11-01","endpointPrefix":"compute-optimizer","jsonVersion":"1.0","protocol":"json","serviceFullName":"AWS Compute Optimizer","serviceId":"Compute Optimizer","signatureVersion":"v4","signingName":"compute-optimizer","targetPrefix":"ComputeOptimizerService","uid":"compute-optimizer-2019-11-01"},"operations":{"DeleteRecommendationPreferences":{"input":{"type":"structure","required":["resourceType","recommendationPreferenceNames"],"members":{"resourceType":{},"scope":{"shape":"S3"},"recommendationPreferenceNames":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DescribeRecommendationExportJobs":{"input":{"type":"structure","members":{"jobIds":{"type":"list","member":{}},"filters":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"recommendationExportJobs":{"type":"list","member":{"type":"structure","members":{"jobId":{},"destination":{"type":"structure","members":{"s3":{"shape":"Sn"}}},"resourceType":{},"status":{},"creationTimestamp":{"type":"timestamp"},"lastUpdatedTimestamp":{"type":"timestamp"},"failureReason":{}}}},"nextToken":{}}}},"ExportAutoScalingGroupRecommendations":{"input":{"type":"structure","required":["s3DestinationConfig"],"members":{"accountIds":{"shape":"Sw"},"filters":{"shape":"Sy"},"fieldsToExport":{"type":"list","member":{}},"s3DestinationConfig":{"shape":"S13"},"fileFormat":{},"includeMemberAccounts":{"type":"boolean"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"jobId":{},"s3Destination":{"shape":"Sn"}}}},"ExportEBSVolumeRecommendations":{"input":{"type":"structure","required":["s3DestinationConfig"],"members":{"accountIds":{"shape":"Sw"},"filters":{"shape":"S1c"},"fieldsToExport":{"type":"list","member":{}},"s3DestinationConfig":{"shape":"S13"},"fileFormat":{},"includeMemberAccounts":{"type":"boolean"}}},"output":{"type":"structure","members":{"jobId":{},"s3Destination":{"shape":"Sn"}}}},"ExportEC2InstanceRecommendations":{"input":{"type":"structure","required":["s3DestinationConfig"],"members":{"accountIds":{"shape":"Sw"},"filters":{"shape":"Sy"},"fieldsToExport":{"type":"list","member":{}},"s3DestinationConfig":{"shape":"S13"},"fileFormat":{},"includeMemberAccounts":{"type":"boolean"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"jobId":{},"s3Destination":{"shape":"Sn"}}}},"ExportLambdaFunctionRecommendations":{"input":{"type":"structure","required":["s3DestinationConfig"],"members":{"accountIds":{"shape":"Sw"},"filters":{"shape":"S1n"},"fieldsToExport":{"type":"list","member":{}},"s3DestinationConfig":{"shape":"S13"},"fileFormat":{},"includeMemberAccounts":{"type":"boolean"}}},"output":{"type":"structure","members":{"jobId":{},"s3Destination":{"shape":"Sn"}}}},"GetAutoScalingGroupRecommendations":{"input":{"type":"structure","members":{"accountIds":{"shape":"Sw"},"autoScalingGroupArns":{"type":"list","member":{}},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"Sy"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"nextToken":{},"autoScalingGroupRecommendations":{"type":"list","member":{"type":"structure","members":{"accountId":{},"autoScalingGroupArn":{},"autoScalingGroupName":{},"finding":{},"utilizationMetrics":{"shape":"S21"},"lookBackPeriodInDays":{"type":"double"},"currentConfiguration":{"shape":"S27"},"recommendationOptions":{"type":"list","member":{"type":"structure","members":{"configuration":{"shape":"S27"},"projectedUtilizationMetrics":{"shape":"S2e"},"performanceRisk":{"type":"double"},"rank":{"type":"integer"},"savingsOpportunity":{"shape":"S2h"}}}},"lastRefreshTimestamp":{"type":"timestamp"},"currentPerformanceRisk":{},"effectiveRecommendationPreferences":{"shape":"S2o"}}}},"errors":{"shape":"S2q"}}}},"GetEBSVolumeRecommendations":{"input":{"type":"structure","members":{"volumeArns":{"type":"list","member":{}},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S1c"},"accountIds":{"shape":"Sw"}}},"output":{"type":"structure","members":{"nextToken":{},"volumeRecommendations":{"type":"list","member":{"type":"structure","members":{"volumeArn":{},"accountId":{},"currentConfiguration":{"shape":"S31"},"finding":{},"utilizationMetrics":{"type":"list","member":{"type":"structure","members":{"name":{},"statistic":{},"value":{"type":"double"}}}},"lookBackPeriodInDays":{"type":"double"},"volumeRecommendationOptions":{"type":"list","member":{"type":"structure","members":{"configuration":{"shape":"S31"},"performanceRisk":{"type":"double"},"rank":{"type":"integer"},"savingsOpportunity":{"shape":"S2h"}}}},"lastRefreshTimestamp":{"type":"timestamp"},"currentPerformanceRisk":{}}}},"errors":{"shape":"S2q"}}}},"GetEC2InstanceRecommendations":{"input":{"type":"structure","members":{"instanceArns":{"type":"list","member":{}},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"Sy"},"accountIds":{"shape":"Sw"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"nextToken":{},"instanceRecommendations":{"type":"list","member":{"type":"structure","members":{"instanceArn":{},"accountId":{},"instanceName":{},"currentInstanceType":{},"finding":{},"findingReasonCodes":{"type":"list","member":{}},"utilizationMetrics":{"shape":"S21"},"lookBackPeriodInDays":{"type":"double"},"recommendationOptions":{"type":"list","member":{"type":"structure","members":{"instanceType":{},"projectedUtilizationMetrics":{"shape":"S2e"},"platformDifferences":{"type":"list","member":{}},"performanceRisk":{"type":"double"},"rank":{"type":"integer"},"savingsOpportunity":{"shape":"S2h"}}}},"recommendationSources":{"type":"list","member":{"type":"structure","members":{"recommendationSourceArn":{},"recommendationSourceType":{}}}},"lastRefreshTimestamp":{"type":"timestamp"},"currentPerformanceRisk":{},"effectiveRecommendationPreferences":{"shape":"S2o"}}}},"errors":{"shape":"S2q"}}}},"GetEC2RecommendationProjectedMetrics":{"input":{"type":"structure","required":["instanceArn","stat","period","startTime","endTime"],"members":{"instanceArn":{},"stat":{},"period":{"type":"integer"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"recommendedOptionProjectedMetrics":{"type":"list","member":{"type":"structure","members":{"recommendedInstanceType":{},"rank":{"type":"integer"},"projectedMetrics":{"type":"list","member":{"type":"structure","members":{"name":{},"timestamps":{"type":"list","member":{"type":"timestamp"}},"values":{"type":"list","member":{"type":"double"}}}}}}}}}}},"GetEffectiveRecommendationPreferences":{"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{}}},"output":{"type":"structure","members":{"enhancedInfrastructureMetrics":{}}}},"GetEnrollmentStatus":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"status":{},"statusReason":{},"memberAccountsEnrolled":{"type":"boolean"},"lastUpdatedTimestamp":{"type":"timestamp"},"numberOfMemberAccountsOptedIn":{"type":"integer"}}}},"GetEnrollmentStatusesForOrganization":{"input":{"type":"structure","members":{"filters":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"accountEnrollmentStatuses":{"type":"list","member":{"type":"structure","members":{"accountId":{},"status":{},"statusReason":{},"lastUpdatedTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"GetLambdaFunctionRecommendations":{"input":{"type":"structure","members":{"functionArns":{"type":"list","member":{}},"accountIds":{"shape":"Sw"},"filters":{"shape":"S1n"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"nextToken":{},"lambdaFunctionRecommendations":{"type":"list","member":{"type":"structure","members":{"functionArn":{},"functionVersion":{},"accountId":{},"currentMemorySize":{"type":"integer"},"numberOfInvocations":{"type":"long"},"utilizationMetrics":{"type":"list","member":{"type":"structure","members":{"name":{},"statistic":{},"value":{"type":"double"}}}},"lookbackPeriodInDays":{"type":"double"},"lastRefreshTimestamp":{"type":"timestamp"},"finding":{},"findingReasonCodes":{"type":"list","member":{}},"memorySizeRecommendationOptions":{"type":"list","member":{"type":"structure","members":{"rank":{"type":"integer"},"memorySize":{"type":"integer"},"projectedUtilizationMetrics":{"type":"list","member":{"type":"structure","members":{"name":{},"statistic":{},"value":{"type":"double"}}}},"savingsOpportunity":{"shape":"S2h"}}}},"currentPerformanceRisk":{}}}}}}},"GetRecommendationPreferences":{"input":{"type":"structure","required":["resourceType"],"members":{"resourceType":{},"scope":{"shape":"S3"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"nextToken":{},"recommendationPreferencesDetails":{"type":"list","member":{"type":"structure","members":{"scope":{"shape":"S3"},"resourceType":{},"enhancedInfrastructureMetrics":{}}}}}}},"GetRecommendationSummaries":{"input":{"type":"structure","members":{"accountIds":{"shape":"Sw"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"nextToken":{},"recommendationSummaries":{"type":"list","member":{"type":"structure","members":{"summaries":{"type":"list","member":{"type":"structure","members":{"name":{},"value":{"type":"double"},"reasonCodeSummaries":{"type":"list","member":{"type":"structure","members":{"name":{},"value":{"type":"double"}}}}}}},"recommendationResourceType":{},"accountId":{},"savingsOpportunity":{"shape":"S2h"},"currentPerformanceRiskRatings":{"type":"structure","members":{"high":{"type":"long"},"medium":{"type":"long"},"low":{"type":"long"},"veryLow":{"type":"long"}}}}}}}}},"PutRecommendationPreferences":{"input":{"type":"structure","required":["resourceType"],"members":{"resourceType":{},"scope":{"shape":"S3"},"enhancedInfrastructureMetrics":{}}},"output":{"type":"structure","members":{}}},"UpdateEnrollmentStatus":{"input":{"type":"structure","required":["status"],"members":{"status":{},"includeMemberAccounts":{"type":"boolean"}}},"output":{"type":"structure","members":{"status":{},"statusReason":{}}}}},"shapes":{"S3":{"type":"structure","members":{"name":{},"value":{}}},"Sf":{"type":"list","member":{}},"Sn":{"type":"structure","members":{"bucket":{},"key":{},"metadataKey":{}}},"Sw":{"type":"list","member":{}},"Sy":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"S13":{"type":"structure","members":{"bucket":{},"keyPrefix":{}}},"S17":{"type":"structure","members":{"cpuVendorArchitectures":{"shape":"S18"}}},"S18":{"type":"list","member":{}},"S1c":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"S1n":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"S21":{"type":"list","member":{"shape":"S22"}},"S22":{"type":"structure","members":{"name":{},"statistic":{},"value":{"type":"double"}}},"S27":{"type":"structure","members":{"desiredCapacity":{"type":"integer"},"minSize":{"type":"integer"},"maxSize":{"type":"integer"},"instanceType":{}}},"S2e":{"type":"list","member":{"shape":"S22"}},"S2h":{"type":"structure","members":{"savingsOpportunityPercentage":{"type":"double"},"estimatedMonthlySavings":{"type":"structure","members":{"currency":{},"value":{"type":"double"}}}}},"S2o":{"type":"structure","members":{"cpuVendorArchitectures":{"shape":"S18"},"enhancedInfrastructureMetrics":{}}},"S2q":{"type":"list","member":{"type":"structure","members":{"identifier":{},"code":{},"message":{}}}},"S31":{"type":"structure","members":{"volumeType":{},"volumeSize":{"type":"integer"},"volumeBaselineIOPS":{"type":"integer"},"volumeBurstIOPS":{"type":"integer"},"volumeBaselineThroughput":{"type":"integer"},"volumeBurstThroughput":{"type":"integer"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-11-01","endpointPrefix":"compute-optimizer","jsonVersion":"1.0","protocol":"json","serviceFullName":"AWS Compute Optimizer","serviceId":"Compute Optimizer","signatureVersion":"v4","signingName":"compute-optimizer","targetPrefix":"ComputeOptimizerService","uid":"compute-optimizer-2019-11-01"},"operations":{"DeleteRecommendationPreferences":{"input":{"type":"structure","required":["resourceType","recommendationPreferenceNames"],"members":{"resourceType":{},"scope":{"shape":"S3"},"recommendationPreferenceNames":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DescribeRecommendationExportJobs":{"input":{"type":"structure","members":{"jobIds":{"type":"list","member":{}},"filters":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"recommendationExportJobs":{"type":"list","member":{"type":"structure","members":{"jobId":{},"destination":{"type":"structure","members":{"s3":{"shape":"Sn"}}},"resourceType":{},"status":{},"creationTimestamp":{"type":"timestamp"},"lastUpdatedTimestamp":{"type":"timestamp"},"failureReason":{}}}},"nextToken":{}}}},"ExportAutoScalingGroupRecommendations":{"input":{"type":"structure","required":["s3DestinationConfig"],"members":{"accountIds":{"shape":"Sw"},"filters":{"shape":"Sy"},"fieldsToExport":{"type":"list","member":{}},"s3DestinationConfig":{"shape":"S13"},"fileFormat":{},"includeMemberAccounts":{"type":"boolean"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"jobId":{},"s3Destination":{"shape":"Sn"}}}},"ExportEBSVolumeRecommendations":{"input":{"type":"structure","required":["s3DestinationConfig"],"members":{"accountIds":{"shape":"Sw"},"filters":{"shape":"S1c"},"fieldsToExport":{"type":"list","member":{}},"s3DestinationConfig":{"shape":"S13"},"fileFormat":{},"includeMemberAccounts":{"type":"boolean"}}},"output":{"type":"structure","members":{"jobId":{},"s3Destination":{"shape":"Sn"}}}},"ExportEC2InstanceRecommendations":{"input":{"type":"structure","required":["s3DestinationConfig"],"members":{"accountIds":{"shape":"Sw"},"filters":{"shape":"Sy"},"fieldsToExport":{"type":"list","member":{}},"s3DestinationConfig":{"shape":"S13"},"fileFormat":{},"includeMemberAccounts":{"type":"boolean"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"jobId":{},"s3Destination":{"shape":"Sn"}}}},"ExportLambdaFunctionRecommendations":{"input":{"type":"structure","required":["s3DestinationConfig"],"members":{"accountIds":{"shape":"Sw"},"filters":{"shape":"S1n"},"fieldsToExport":{"type":"list","member":{}},"s3DestinationConfig":{"shape":"S13"},"fileFormat":{},"includeMemberAccounts":{"type":"boolean"}}},"output":{"type":"structure","members":{"jobId":{},"s3Destination":{"shape":"Sn"}}}},"GetAutoScalingGroupRecommendations":{"input":{"type":"structure","members":{"accountIds":{"shape":"Sw"},"autoScalingGroupArns":{"type":"list","member":{}},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"Sy"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"nextToken":{},"autoScalingGroupRecommendations":{"type":"list","member":{"type":"structure","members":{"accountId":{},"autoScalingGroupArn":{},"autoScalingGroupName":{},"finding":{},"utilizationMetrics":{"shape":"S21"},"lookBackPeriodInDays":{"type":"double"},"currentConfiguration":{"shape":"S27"},"recommendationOptions":{"type":"list","member":{"type":"structure","members":{"configuration":{"shape":"S27"},"projectedUtilizationMetrics":{"shape":"S2e"},"performanceRisk":{"type":"double"},"rank":{"type":"integer"},"savingsOpportunity":{"shape":"S2h"},"migrationEffort":{}}}},"lastRefreshTimestamp":{"type":"timestamp"},"currentPerformanceRisk":{},"effectiveRecommendationPreferences":{"shape":"S2p"},"inferredWorkloadTypes":{"shape":"S2s"}}}},"errors":{"shape":"S2u"}}}},"GetEBSVolumeRecommendations":{"input":{"type":"structure","members":{"volumeArns":{"type":"list","member":{}},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"S1c"},"accountIds":{"shape":"Sw"}}},"output":{"type":"structure","members":{"nextToken":{},"volumeRecommendations":{"type":"list","member":{"type":"structure","members":{"volumeArn":{},"accountId":{},"currentConfiguration":{"shape":"S35"},"finding":{},"utilizationMetrics":{"type":"list","member":{"type":"structure","members":{"name":{},"statistic":{},"value":{"type":"double"}}}},"lookBackPeriodInDays":{"type":"double"},"volumeRecommendationOptions":{"type":"list","member":{"type":"structure","members":{"configuration":{"shape":"S35"},"performanceRisk":{"type":"double"},"rank":{"type":"integer"},"savingsOpportunity":{"shape":"S2h"}}}},"lastRefreshTimestamp":{"type":"timestamp"},"currentPerformanceRisk":{}}}},"errors":{"shape":"S2u"}}}},"GetEC2InstanceRecommendations":{"input":{"type":"structure","members":{"instanceArns":{"type":"list","member":{}},"nextToken":{},"maxResults":{"type":"integer"},"filters":{"shape":"Sy"},"accountIds":{"shape":"Sw"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"nextToken":{},"instanceRecommendations":{"type":"list","member":{"type":"structure","members":{"instanceArn":{},"accountId":{},"instanceName":{},"currentInstanceType":{},"finding":{},"findingReasonCodes":{"type":"list","member":{}},"utilizationMetrics":{"shape":"S21"},"lookBackPeriodInDays":{"type":"double"},"recommendationOptions":{"type":"list","member":{"type":"structure","members":{"instanceType":{},"projectedUtilizationMetrics":{"shape":"S2e"},"platformDifferences":{"type":"list","member":{}},"performanceRisk":{"type":"double"},"rank":{"type":"integer"},"savingsOpportunity":{"shape":"S2h"},"migrationEffort":{}}}},"recommendationSources":{"type":"list","member":{"type":"structure","members":{"recommendationSourceArn":{},"recommendationSourceType":{}}}},"lastRefreshTimestamp":{"type":"timestamp"},"currentPerformanceRisk":{},"effectiveRecommendationPreferences":{"shape":"S2p"},"inferredWorkloadTypes":{"shape":"S2s"}}}},"errors":{"shape":"S2u"}}}},"GetEC2RecommendationProjectedMetrics":{"input":{"type":"structure","required":["instanceArn","stat","period","startTime","endTime"],"members":{"instanceArn":{},"stat":{},"period":{"type":"integer"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"recommendationPreferences":{"shape":"S17"}}},"output":{"type":"structure","members":{"recommendedOptionProjectedMetrics":{"type":"list","member":{"type":"structure","members":{"recommendedInstanceType":{},"rank":{"type":"integer"},"projectedMetrics":{"type":"list","member":{"type":"structure","members":{"name":{},"timestamps":{"type":"list","member":{"type":"timestamp"}},"values":{"type":"list","member":{"type":"double"}}}}}}}}}}},"GetEffectiveRecommendationPreferences":{"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{}}},"output":{"type":"structure","members":{"enhancedInfrastructureMetrics":{}}}},"GetEnrollmentStatus":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"status":{},"statusReason":{},"memberAccountsEnrolled":{"type":"boolean"},"lastUpdatedTimestamp":{"type":"timestamp"},"numberOfMemberAccountsOptedIn":{"type":"integer"}}}},"GetEnrollmentStatusesForOrganization":{"input":{"type":"structure","members":{"filters":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"accountEnrollmentStatuses":{"type":"list","member":{"type":"structure","members":{"accountId":{},"status":{},"statusReason":{},"lastUpdatedTimestamp":{"type":"timestamp"}}}},"nextToken":{}}}},"GetLambdaFunctionRecommendations":{"input":{"type":"structure","members":{"functionArns":{"type":"list","member":{}},"accountIds":{"shape":"Sw"},"filters":{"shape":"S1n"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"nextToken":{},"lambdaFunctionRecommendations":{"type":"list","member":{"type":"structure","members":{"functionArn":{},"functionVersion":{},"accountId":{},"currentMemorySize":{"type":"integer"},"numberOfInvocations":{"type":"long"},"utilizationMetrics":{"type":"list","member":{"type":"structure","members":{"name":{},"statistic":{},"value":{"type":"double"}}}},"lookbackPeriodInDays":{"type":"double"},"lastRefreshTimestamp":{"type":"timestamp"},"finding":{},"findingReasonCodes":{"type":"list","member":{}},"memorySizeRecommendationOptions":{"type":"list","member":{"type":"structure","members":{"rank":{"type":"integer"},"memorySize":{"type":"integer"},"projectedUtilizationMetrics":{"type":"list","member":{"type":"structure","members":{"name":{},"statistic":{},"value":{"type":"double"}}}},"savingsOpportunity":{"shape":"S2h"}}}},"currentPerformanceRisk":{}}}}}}},"GetRecommendationPreferences":{"input":{"type":"structure","required":["resourceType"],"members":{"resourceType":{},"scope":{"shape":"S3"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"nextToken":{},"recommendationPreferencesDetails":{"type":"list","member":{"type":"structure","members":{"scope":{"shape":"S3"},"resourceType":{},"enhancedInfrastructureMetrics":{},"inferredWorkloadTypes":{}}}}}}},"GetRecommendationSummaries":{"input":{"type":"structure","members":{"accountIds":{"shape":"Sw"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"nextToken":{},"recommendationSummaries":{"type":"list","member":{"type":"structure","members":{"summaries":{"type":"list","member":{"type":"structure","members":{"name":{},"value":{"type":"double"},"reasonCodeSummaries":{"type":"list","member":{"type":"structure","members":{"name":{},"value":{"type":"double"}}}}}}},"recommendationResourceType":{},"accountId":{},"savingsOpportunity":{"shape":"S2h"},"currentPerformanceRiskRatings":{"type":"structure","members":{"high":{"type":"long"},"medium":{"type":"long"},"low":{"type":"long"},"veryLow":{"type":"long"}}}}}}}}},"PutRecommendationPreferences":{"input":{"type":"structure","required":["resourceType"],"members":{"resourceType":{},"scope":{"shape":"S3"},"enhancedInfrastructureMetrics":{},"inferredWorkloadTypes":{}}},"output":{"type":"structure","members":{}}},"UpdateEnrollmentStatus":{"input":{"type":"structure","required":["status"],"members":{"status":{},"includeMemberAccounts":{"type":"boolean"}}},"output":{"type":"structure","members":{"status":{},"statusReason":{}}}}},"shapes":{"S3":{"type":"structure","members":{"name":{},"value":{}}},"Sf":{"type":"list","member":{}},"Sn":{"type":"structure","members":{"bucket":{},"key":{},"metadataKey":{}}},"Sw":{"type":"list","member":{}},"Sy":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"S13":{"type":"structure","members":{"bucket":{},"keyPrefix":{}}},"S17":{"type":"structure","members":{"cpuVendorArchitectures":{"shape":"S18"}}},"S18":{"type":"list","member":{}},"S1c":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"S1n":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"shape":"Sf"}}}},"S21":{"type":"list","member":{"shape":"S22"}},"S22":{"type":"structure","members":{"name":{},"statistic":{},"value":{"type":"double"}}},"S27":{"type":"structure","members":{"desiredCapacity":{"type":"integer"},"minSize":{"type":"integer"},"maxSize":{"type":"integer"},"instanceType":{}}},"S2e":{"type":"list","member":{"shape":"S22"}},"S2h":{"type":"structure","members":{"savingsOpportunityPercentage":{"type":"double"},"estimatedMonthlySavings":{"type":"structure","members":{"currency":{},"value":{"type":"double"}}}}},"S2p":{"type":"structure","members":{"cpuVendorArchitectures":{"shape":"S18"},"enhancedInfrastructureMetrics":{},"inferredWorkloadTypes":{}}},"S2s":{"type":"list","member":{}},"S2u":{"type":"list","member":{"type":"structure","members":{"identifier":{},"code":{},"message":{}}}},"S35":{"type":"structure","members":{"volumeType":{},"volumeSize":{"type":"integer"},"volumeBaselineIOPS":{"type":"integer"},"volumeBurstIOPS":{"type":"integer"},"volumeBaselineThroughput":{"type":"integer"},"volumeBurstThroughput":{"type":"integer"}}}}} /***/ }), /* 844 */ @@ -52429,13 +52435,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 846 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-11-15","endpointPrefix":"frauddetector","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Fraud Detector","serviceId":"FraudDetector","signatureVersion":"v4","targetPrefix":"AWSHawksNestServiceFacade","uid":"frauddetector-2019-11-15"},"operations":{"BatchCreateVariable":{"input":{"type":"structure","required":["variableEntries"],"members":{"variableEntries":{"type":"list","member":{"type":"structure","members":{"name":{},"dataType":{},"dataSource":{},"defaultValue":{},"description":{},"variableType":{}}}},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"name":{},"code":{"type":"integer"},"message":{}}}}}}},"BatchGetVariable":{"input":{"type":"structure","required":["names"],"members":{"names":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"variables":{"shape":"Sg"},"errors":{"type":"list","member":{"type":"structure","members":{"name":{},"code":{"type":"integer"},"message":{}}}}}}},"CancelBatchImportJob":{"input":{"type":"structure","required":["jobId"],"members":{"jobId":{}}},"output":{"type":"structure","members":{}}},"CancelBatchPredictionJob":{"input":{"type":"structure","required":["jobId"],"members":{"jobId":{}}},"output":{"type":"structure","members":{}}},"CreateBatchImportJob":{"input":{"type":"structure","required":["jobId","inputPath","outputPath","eventTypeName","iamRoleArn"],"members":{"jobId":{},"inputPath":{},"outputPath":{},"eventTypeName":{},"iamRoleArn":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"CreateBatchPredictionJob":{"input":{"type":"structure","required":["jobId","inputPath","outputPath","eventTypeName","detectorName","iamRoleArn"],"members":{"jobId":{},"inputPath":{},"outputPath":{},"eventTypeName":{},"detectorName":{},"detectorVersion":{},"iamRoleArn":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"CreateDetectorVersion":{"input":{"type":"structure","required":["detectorId","rules"],"members":{"detectorId":{},"description":{},"externalModelEndpoints":{"shape":"S12"},"rules":{"shape":"S13"},"modelVersions":{"shape":"S15"},"ruleExecutionMode":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"detectorId":{},"detectorVersionId":{},"status":{}}}},"CreateModel":{"input":{"type":"structure","required":["modelId","modelType","eventTypeName"],"members":{"modelId":{},"modelType":{},"description":{},"eventTypeName":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"CreateModelVersion":{"input":{"type":"structure","required":["modelId","modelType","trainingDataSource","trainingDataSchema"],"members":{"modelId":{},"modelType":{},"trainingDataSource":{},"trainingDataSchema":{"shape":"S1h"},"externalEventsDetail":{"shape":"S1m"},"ingestedEventsDetail":{"shape":"S1n"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"status":{}}}},"CreateRule":{"input":{"type":"structure","required":["ruleId","detectorId","expression","language","outcomes"],"members":{"ruleId":{},"detectorId":{},"description":{},"expression":{"shape":"S1r"},"language":{},"outcomes":{"shape":"S1k"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"rule":{"shape":"S14"}}}},"CreateVariable":{"input":{"type":"structure","required":["name","dataType","dataSource","defaultValue"],"members":{"name":{},"dataType":{},"dataSource":{},"defaultValue":{},"description":{},"variableType":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"DeleteBatchImportJob":{"input":{"type":"structure","required":["jobId"],"members":{"jobId":{}}},"output":{"type":"structure","members":{}}},"DeleteBatchPredictionJob":{"input":{"type":"structure","required":["jobId"],"members":{"jobId":{}}},"output":{"type":"structure","members":{}}},"DeleteDetector":{"input":{"type":"structure","required":["detectorId"],"members":{"detectorId":{}}},"output":{"type":"structure","members":{}}},"DeleteDetectorVersion":{"input":{"type":"structure","required":["detectorId","detectorVersionId"],"members":{"detectorId":{},"detectorVersionId":{}}},"output":{"type":"structure","members":{}}},"DeleteEntityType":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DeleteEvent":{"input":{"type":"structure","required":["eventId","eventTypeName"],"members":{"eventId":{},"eventTypeName":{},"deleteAuditHistory":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeleteEventType":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DeleteEventsByEventType":{"input":{"type":"structure","required":["eventTypeName"],"members":{"eventTypeName":{}}},"output":{"type":"structure","members":{"eventTypeName":{},"eventsDeletionStatus":{}}}},"DeleteExternalModel":{"input":{"type":"structure","required":["modelEndpoint"],"members":{"modelEndpoint":{}}},"output":{"type":"structure","members":{}}},"DeleteLabel":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DeleteModel":{"input":{"type":"structure","required":["modelId","modelType"],"members":{"modelId":{},"modelType":{}}},"output":{"type":"structure","members":{}}},"DeleteModelVersion":{"input":{"type":"structure","required":["modelId","modelType","modelVersionNumber"],"members":{"modelId":{},"modelType":{},"modelVersionNumber":{}}},"output":{"type":"structure","members":{}}},"DeleteOutcome":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DeleteRule":{"input":{"type":"structure","required":["rule"],"members":{"rule":{"shape":"S14"}}},"output":{"type":"structure","members":{}}},"DeleteVariable":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DescribeDetector":{"input":{"type":"structure","required":["detectorId"],"members":{"detectorId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"detectorId":{},"detectorVersionSummaries":{"type":"list","member":{"type":"structure","members":{"detectorVersionId":{},"status":{},"description":{},"lastUpdatedTime":{}}}},"nextToken":{},"arn":{}}}},"DescribeModelVersions":{"input":{"type":"structure","members":{"modelId":{},"modelVersionNumber":{},"modelType":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"modelVersionDetails":{"type":"list","member":{"type":"structure","members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"status":{},"trainingDataSource":{},"trainingDataSchema":{"shape":"S1h"},"externalEventsDetail":{"shape":"S1m"},"ingestedEventsDetail":{"shape":"S1n"},"trainingResult":{"type":"structure","members":{"dataValidationMetrics":{"type":"structure","members":{"fileLevelMessages":{"type":"list","member":{"type":"structure","members":{"title":{},"content":{},"type":{}}}},"fieldLevelMessages":{"type":"list","member":{"type":"structure","members":{"fieldName":{},"identifier":{},"title":{},"content":{},"type":{}}}}}},"trainingMetrics":{"type":"structure","members":{"auc":{"type":"float"},"metricDataPoints":{"type":"list","member":{"type":"structure","members":{"fpr":{"type":"float"},"precision":{"type":"float"},"tpr":{"type":"float"},"threshold":{"type":"float"}}}}}},"variableImportanceMetrics":{"type":"structure","members":{"logOddsMetrics":{"type":"list","member":{"type":"structure","required":["variableName","variableType","variableImportance"],"members":{"variableName":{},"variableType":{},"variableImportance":{"type":"float"}}}}}}}},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetBatchImportJobs":{"input":{"type":"structure","members":{"jobId":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"batchImports":{"type":"list","member":{"type":"structure","members":{"jobId":{},"status":{},"failureReason":{},"startTime":{},"completionTime":{},"inputPath":{},"outputPath":{},"eventTypeName":{},"iamRoleArn":{},"arn":{},"processedRecordsCount":{"type":"integer"},"failedRecordsCount":{"type":"integer"},"totalRecordsCount":{"type":"integer"}}}},"nextToken":{}}}},"GetBatchPredictionJobs":{"input":{"type":"structure","members":{"jobId":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"batchPredictions":{"type":"list","member":{"type":"structure","members":{"jobId":{},"status":{},"failureReason":{},"startTime":{},"completionTime":{},"lastHeartbeatTime":{},"inputPath":{},"outputPath":{},"eventTypeName":{},"detectorName":{},"detectorVersion":{},"iamRoleArn":{},"arn":{},"processedRecordsCount":{"type":"integer"},"totalRecordsCount":{"type":"integer"}}}},"nextToken":{}}}},"GetDeleteEventsByEventTypeStatus":{"input":{"type":"structure","required":["eventTypeName"],"members":{"eventTypeName":{}}},"output":{"type":"structure","members":{"eventTypeName":{},"eventsDeletionStatus":{}}}},"GetDetectorVersion":{"input":{"type":"structure","required":["detectorId","detectorVersionId"],"members":{"detectorId":{},"detectorVersionId":{}}},"output":{"type":"structure","members":{"detectorId":{},"detectorVersionId":{},"description":{},"externalModelEndpoints":{"shape":"S12"},"modelVersions":{"shape":"S15"},"rules":{"shape":"S13"},"status":{},"lastUpdatedTime":{},"createdTime":{},"ruleExecutionMode":{},"arn":{}}}},"GetDetectors":{"input":{"type":"structure","members":{"detectorId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"detectors":{"type":"list","member":{"type":"structure","members":{"detectorId":{},"description":{},"eventTypeName":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetEntityTypes":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"entityTypes":{"type":"list","member":{"type":"structure","members":{"name":{},"description":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetEvent":{"input":{"type":"structure","required":["eventId","eventTypeName"],"members":{"eventId":{},"eventTypeName":{}}},"output":{"type":"structure","members":{"event":{"type":"structure","members":{"eventId":{},"eventTypeName":{},"eventTimestamp":{},"eventVariables":{"type":"map","key":{},"value":{"type":"string","sensitive":true}},"currentLabel":{},"labelTimestamp":{},"entities":{"shape":"S4b"}}}}}},"GetEventPrediction":{"input":{"type":"structure","required":["detectorId","eventId","eventTypeName","entities","eventTimestamp","eventVariables"],"members":{"detectorId":{},"detectorVersionId":{},"eventId":{},"eventTypeName":{},"entities":{"shape":"S4b"},"eventTimestamp":{},"eventVariables":{"shape":"S4g"},"externalModelEndpointDataBlobs":{"type":"map","key":{},"value":{"type":"structure","members":{"byteBuffer":{"type":"blob"},"contentType":{}}},"sensitive":true}}},"output":{"type":"structure","members":{"modelScores":{"type":"list","member":{"type":"structure","members":{"modelVersion":{"shape":"S16"},"scores":{"type":"map","key":{},"value":{"type":"float"}}}}},"ruleResults":{"type":"list","member":{"type":"structure","members":{"ruleId":{},"outcomes":{"shape":"S12"}}}},"externalModelOutputs":{"type":"list","member":{"type":"structure","members":{"externalModel":{"type":"structure","members":{"modelEndpoint":{},"modelSource":{}}},"outputs":{"type":"map","key":{},"value":{}}}}}}}},"GetEventTypes":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"eventTypes":{"type":"list","member":{"type":"structure","members":{"name":{},"description":{},"eventVariables":{"shape":"S12"},"labels":{"shape":"S12"},"entityTypes":{"shape":"S1k"},"eventIngestion":{},"ingestedEventStatistics":{"type":"structure","members":{"numberOfEvents":{"type":"long"},"eventDataSizeInBytes":{"type":"long"},"leastRecentEvent":{},"mostRecentEvent":{},"lastUpdatedTime":{}}},"lastUpdatedTime":{},"createdTime":{},"arn":{}},"sensitive":true}},"nextToken":{}}}},"GetExternalModels":{"input":{"type":"structure","members":{"modelEndpoint":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"externalModels":{"type":"list","member":{"type":"structure","members":{"modelEndpoint":{},"modelSource":{},"invokeModelEndpointRoleArn":{},"inputConfiguration":{"shape":"S5b"},"outputConfiguration":{"shape":"S5f"},"modelEndpointStatus":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetKMSEncryptionKey":{"output":{"type":"structure","members":{"kmsKey":{"type":"structure","members":{"kmsEncryptionKeyArn":{}}}}}},"GetLabels":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"labels":{"type":"list","member":{"type":"structure","members":{"name":{},"description":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetModelVersion":{"input":{"type":"structure","required":["modelId","modelType","modelVersionNumber"],"members":{"modelId":{},"modelType":{},"modelVersionNumber":{}}},"output":{"type":"structure","members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"trainingDataSource":{},"trainingDataSchema":{"shape":"S1h"},"externalEventsDetail":{"shape":"S1m"},"ingestedEventsDetail":{"shape":"S1n"},"status":{},"arn":{}}}},"GetModels":{"input":{"type":"structure","members":{"modelId":{},"modelType":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"nextToken":{},"models":{"type":"list","member":{"type":"structure","members":{"modelId":{},"modelType":{},"description":{},"eventTypeName":{},"createdTime":{},"lastUpdatedTime":{},"arn":{}}}}}}},"GetOutcomes":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"outcomes":{"type":"list","member":{"type":"structure","members":{"name":{},"description":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetRules":{"input":{"type":"structure","required":["detectorId"],"members":{"ruleId":{},"detectorId":{},"ruleVersion":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ruleDetails":{"type":"list","member":{"type":"structure","members":{"ruleId":{},"description":{},"detectorId":{},"ruleVersion":{},"expression":{"shape":"S1r"},"language":{},"outcomes":{"shape":"S1k"},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetVariables":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"variables":{"shape":"Sg"},"nextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["resourceARN"],"members":{"resourceARN":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"tags":{"shape":"S5"},"nextToken":{}}}},"PutDetector":{"input":{"type":"structure","required":["detectorId","eventTypeName"],"members":{"detectorId":{},"description":{},"eventTypeName":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutEntityType":{"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutEventType":{"input":{"type":"structure","required":["name","eventVariables","entityTypes"],"members":{"name":{},"description":{},"eventVariables":{"shape":"S1k"},"labels":{"shape":"S12"},"entityTypes":{"shape":"S1k"},"eventIngestion":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutExternalModel":{"input":{"type":"structure","required":["modelEndpoint","modelSource","invokeModelEndpointRoleArn","inputConfiguration","outputConfiguration","modelEndpointStatus"],"members":{"modelEndpoint":{},"modelSource":{},"invokeModelEndpointRoleArn":{},"inputConfiguration":{"shape":"S5b"},"outputConfiguration":{"shape":"S5f"},"modelEndpointStatus":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutKMSEncryptionKey":{"input":{"type":"structure","required":["kmsEncryptionKeyArn"],"members":{"kmsEncryptionKeyArn":{}}},"output":{"type":"structure","members":{}}},"PutLabel":{"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutOutcome":{"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"SendEvent":{"input":{"type":"structure","required":["eventId","eventTypeName","eventTimestamp","eventVariables","entities"],"members":{"eventId":{},"eventTypeName":{},"eventTimestamp":{},"eventVariables":{"shape":"S4g"},"assignedLabel":{},"labelTimestamp":{},"entities":{"shape":"S4b"}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["resourceARN","tags"],"members":{"resourceARN":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["resourceARN","tagKeys"],"members":{"resourceARN":{},"tagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDetectorVersion":{"input":{"type":"structure","required":["detectorId","detectorVersionId","externalModelEndpoints","rules"],"members":{"detectorId":{},"detectorVersionId":{},"externalModelEndpoints":{"shape":"S12"},"rules":{"shape":"S13"},"description":{},"modelVersions":{"shape":"S15"},"ruleExecutionMode":{}}},"output":{"type":"structure","members":{}}},"UpdateDetectorVersionMetadata":{"input":{"type":"structure","required":["detectorId","detectorVersionId","description"],"members":{"detectorId":{},"detectorVersionId":{},"description":{}}},"output":{"type":"structure","members":{}}},"UpdateDetectorVersionStatus":{"input":{"type":"structure","required":["detectorId","detectorVersionId","status"],"members":{"detectorId":{},"detectorVersionId":{},"status":{}}},"output":{"type":"structure","members":{}}},"UpdateEventLabel":{"input":{"type":"structure","required":["eventId","eventTypeName","assignedLabel","labelTimestamp"],"members":{"eventId":{},"eventTypeName":{},"assignedLabel":{},"labelTimestamp":{}}},"output":{"type":"structure","members":{}}},"UpdateModel":{"input":{"type":"structure","required":["modelId","modelType"],"members":{"modelId":{},"modelType":{},"description":{}}},"output":{"type":"structure","members":{}}},"UpdateModelVersion":{"input":{"type":"structure","required":["modelId","modelType","majorVersionNumber"],"members":{"modelId":{},"modelType":{},"majorVersionNumber":{},"externalEventsDetail":{"shape":"S1m"},"ingestedEventsDetail":{"shape":"S1n"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"status":{}}}},"UpdateModelVersionStatus":{"input":{"type":"structure","required":["modelId","modelType","modelVersionNumber","status"],"members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"status":{}}},"output":{"type":"structure","members":{}}},"UpdateRuleMetadata":{"input":{"type":"structure","required":["rule","description"],"members":{"rule":{"shape":"S14"},"description":{}}},"output":{"type":"structure","members":{}}},"UpdateRuleVersion":{"input":{"type":"structure","required":["rule","expression","language","outcomes"],"members":{"rule":{"shape":"S14"},"description":{},"expression":{"shape":"S1r"},"language":{},"outcomes":{"shape":"S1k"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"rule":{"shape":"S14"}}}},"UpdateVariable":{"input":{"type":"structure","required":["name"],"members":{"name":{},"defaultValue":{},"description":{},"variableType":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S5":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Sg":{"type":"list","member":{"type":"structure","members":{"name":{},"dataType":{},"dataSource":{},"defaultValue":{},"description":{},"variableType":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"S12":{"type":"list","member":{}},"S13":{"type":"list","member":{"shape":"S14"}},"S14":{"type":"structure","required":["detectorId","ruleId","ruleVersion"],"members":{"detectorId":{},"ruleId":{},"ruleVersion":{}}},"S15":{"type":"list","member":{"shape":"S16"}},"S16":{"type":"structure","required":["modelId","modelType","modelVersionNumber"],"members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"arn":{}}},"S1h":{"type":"structure","required":["modelVariables","labelSchema"],"members":{"modelVariables":{"shape":"S12"},"labelSchema":{"type":"structure","required":["labelMapper"],"members":{"labelMapper":{"type":"map","key":{},"value":{"shape":"S1k"}},"unlabeledEventsTreatment":{}}}}},"S1k":{"type":"list","member":{}},"S1m":{"type":"structure","required":["dataLocation","dataAccessRoleArn"],"members":{"dataLocation":{},"dataAccessRoleArn":{}}},"S1n":{"type":"structure","required":["ingestedEventsTimeWindow"],"members":{"ingestedEventsTimeWindow":{"type":"structure","required":["startTime","endTime"],"members":{"startTime":{},"endTime":{}}}}},"S1r":{"type":"string","sensitive":true},"S4b":{"type":"list","member":{"type":"structure","required":["entityType","entityId"],"members":{"entityType":{},"entityId":{}},"sensitive":true}},"S4g":{"type":"map","key":{},"value":{"type":"string","sensitive":true}},"S5b":{"type":"structure","required":["useEventVariables"],"members":{"eventTypeName":{},"format":{},"useEventVariables":{"type":"boolean"},"jsonInputTemplate":{},"csvInputTemplate":{}}},"S5f":{"type":"structure","required":["format"],"members":{"format":{},"jsonKeyToVariableMap":{"type":"map","key":{},"value":{}},"csvIndexToVariableMap":{"type":"map","key":{},"value":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-11-15","endpointPrefix":"frauddetector","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Fraud Detector","serviceId":"FraudDetector","signatureVersion":"v4","targetPrefix":"AWSHawksNestServiceFacade","uid":"frauddetector-2019-11-15"},"operations":{"BatchCreateVariable":{"input":{"type":"structure","required":["variableEntries"],"members":{"variableEntries":{"type":"list","member":{"type":"structure","members":{"name":{},"dataType":{},"dataSource":{},"defaultValue":{},"description":{},"variableType":{}}}},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"name":{},"code":{"type":"integer"},"message":{}}}}}}},"BatchGetVariable":{"input":{"type":"structure","required":["names"],"members":{"names":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"variables":{"shape":"Sg"},"errors":{"type":"list","member":{"type":"structure","members":{"name":{},"code":{"type":"integer"},"message":{}}}}}}},"CancelBatchImportJob":{"input":{"type":"structure","required":["jobId"],"members":{"jobId":{}}},"output":{"type":"structure","members":{}}},"CancelBatchPredictionJob":{"input":{"type":"structure","required":["jobId"],"members":{"jobId":{}}},"output":{"type":"structure","members":{}}},"CreateBatchImportJob":{"input":{"type":"structure","required":["jobId","inputPath","outputPath","eventTypeName","iamRoleArn"],"members":{"jobId":{},"inputPath":{},"outputPath":{},"eventTypeName":{},"iamRoleArn":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"CreateBatchPredictionJob":{"input":{"type":"structure","required":["jobId","inputPath","outputPath","eventTypeName","detectorName","iamRoleArn"],"members":{"jobId":{},"inputPath":{},"outputPath":{},"eventTypeName":{},"detectorName":{},"detectorVersion":{},"iamRoleArn":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"CreateDetectorVersion":{"input":{"type":"structure","required":["detectorId","rules"],"members":{"detectorId":{},"description":{},"externalModelEndpoints":{"shape":"S12"},"rules":{"shape":"S13"},"modelVersions":{"shape":"S15"},"ruleExecutionMode":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"detectorId":{},"detectorVersionId":{},"status":{}}}},"CreateModel":{"input":{"type":"structure","required":["modelId","modelType","eventTypeName"],"members":{"modelId":{},"modelType":{},"description":{},"eventTypeName":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"CreateModelVersion":{"input":{"type":"structure","required":["modelId","modelType","trainingDataSource","trainingDataSchema"],"members":{"modelId":{},"modelType":{},"trainingDataSource":{},"trainingDataSchema":{"shape":"S1h"},"externalEventsDetail":{"shape":"S1m"},"ingestedEventsDetail":{"shape":"S1n"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"status":{}}}},"CreateRule":{"input":{"type":"structure","required":["ruleId","detectorId","expression","language","outcomes"],"members":{"ruleId":{},"detectorId":{},"description":{},"expression":{"shape":"S1r"},"language":{},"outcomes":{"shape":"S1k"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"rule":{"shape":"S14"}}}},"CreateVariable":{"input":{"type":"structure","required":["name","dataType","dataSource","defaultValue"],"members":{"name":{},"dataType":{},"dataSource":{},"defaultValue":{},"description":{},"variableType":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"DeleteBatchImportJob":{"input":{"type":"structure","required":["jobId"],"members":{"jobId":{}}},"output":{"type":"structure","members":{}}},"DeleteBatchPredictionJob":{"input":{"type":"structure","required":["jobId"],"members":{"jobId":{}}},"output":{"type":"structure","members":{}}},"DeleteDetector":{"input":{"type":"structure","required":["detectorId"],"members":{"detectorId":{}}},"output":{"type":"structure","members":{}}},"DeleteDetectorVersion":{"input":{"type":"structure","required":["detectorId","detectorVersionId"],"members":{"detectorId":{},"detectorVersionId":{}}},"output":{"type":"structure","members":{}}},"DeleteEntityType":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DeleteEvent":{"input":{"type":"structure","required":["eventId","eventTypeName"],"members":{"eventId":{},"eventTypeName":{},"deleteAuditHistory":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeleteEventType":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DeleteEventsByEventType":{"input":{"type":"structure","required":["eventTypeName"],"members":{"eventTypeName":{}}},"output":{"type":"structure","members":{"eventTypeName":{},"eventsDeletionStatus":{}}}},"DeleteExternalModel":{"input":{"type":"structure","required":["modelEndpoint"],"members":{"modelEndpoint":{}}},"output":{"type":"structure","members":{}}},"DeleteLabel":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DeleteModel":{"input":{"type":"structure","required":["modelId","modelType"],"members":{"modelId":{},"modelType":{}}},"output":{"type":"structure","members":{}}},"DeleteModelVersion":{"input":{"type":"structure","required":["modelId","modelType","modelVersionNumber"],"members":{"modelId":{},"modelType":{},"modelVersionNumber":{}}},"output":{"type":"structure","members":{}}},"DeleteOutcome":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DeleteRule":{"input":{"type":"structure","required":["rule"],"members":{"rule":{"shape":"S14"}}},"output":{"type":"structure","members":{}}},"DeleteVariable":{"input":{"type":"structure","required":["name"],"members":{"name":{}}},"output":{"type":"structure","members":{}}},"DescribeDetector":{"input":{"type":"structure","required":["detectorId"],"members":{"detectorId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"detectorId":{},"detectorVersionSummaries":{"type":"list","member":{"type":"structure","members":{"detectorVersionId":{},"status":{},"description":{},"lastUpdatedTime":{}}}},"nextToken":{},"arn":{}}}},"DescribeModelVersions":{"input":{"type":"structure","members":{"modelId":{},"modelVersionNumber":{},"modelType":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"modelVersionDetails":{"type":"list","member":{"type":"structure","members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"status":{},"trainingDataSource":{},"trainingDataSchema":{"shape":"S1h"},"externalEventsDetail":{"shape":"S1m"},"ingestedEventsDetail":{"shape":"S1n"},"trainingResult":{"type":"structure","members":{"dataValidationMetrics":{"type":"structure","members":{"fileLevelMessages":{"type":"list","member":{"type":"structure","members":{"title":{},"content":{},"type":{}}}},"fieldLevelMessages":{"type":"list","member":{"type":"structure","members":{"fieldName":{},"identifier":{},"title":{},"content":{},"type":{}}}}}},"trainingMetrics":{"type":"structure","members":{"auc":{"type":"float"},"metricDataPoints":{"type":"list","member":{"type":"structure","members":{"fpr":{"type":"float"},"precision":{"type":"float"},"tpr":{"type":"float"},"threshold":{"type":"float"}}}}}},"variableImportanceMetrics":{"type":"structure","members":{"logOddsMetrics":{"type":"list","member":{"type":"structure","required":["variableName","variableType","variableImportance"],"members":{"variableName":{},"variableType":{},"variableImportance":{"type":"float"}}}}}}}},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetBatchImportJobs":{"input":{"type":"structure","members":{"jobId":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"batchImports":{"type":"list","member":{"type":"structure","members":{"jobId":{},"status":{},"failureReason":{},"startTime":{},"completionTime":{},"inputPath":{},"outputPath":{},"eventTypeName":{},"iamRoleArn":{},"arn":{},"processedRecordsCount":{"type":"integer"},"failedRecordsCount":{"type":"integer"},"totalRecordsCount":{"type":"integer"}}}},"nextToken":{}}}},"GetBatchPredictionJobs":{"input":{"type":"structure","members":{"jobId":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"batchPredictions":{"type":"list","member":{"type":"structure","members":{"jobId":{},"status":{},"failureReason":{},"startTime":{},"completionTime":{},"lastHeartbeatTime":{},"inputPath":{},"outputPath":{},"eventTypeName":{},"detectorName":{},"detectorVersion":{},"iamRoleArn":{},"arn":{},"processedRecordsCount":{"type":"integer"},"totalRecordsCount":{"type":"integer"}}}},"nextToken":{}}}},"GetDeleteEventsByEventTypeStatus":{"input":{"type":"structure","required":["eventTypeName"],"members":{"eventTypeName":{}}},"output":{"type":"structure","members":{"eventTypeName":{},"eventsDeletionStatus":{}}}},"GetDetectorVersion":{"input":{"type":"structure","required":["detectorId","detectorVersionId"],"members":{"detectorId":{},"detectorVersionId":{}}},"output":{"type":"structure","members":{"detectorId":{},"detectorVersionId":{},"description":{},"externalModelEndpoints":{"shape":"S12"},"modelVersions":{"shape":"S15"},"rules":{"shape":"S13"},"status":{},"lastUpdatedTime":{},"createdTime":{},"ruleExecutionMode":{},"arn":{}}}},"GetDetectors":{"input":{"type":"structure","members":{"detectorId":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"detectors":{"type":"list","member":{"type":"structure","members":{"detectorId":{},"description":{},"eventTypeName":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetEntityTypes":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"entityTypes":{"type":"list","member":{"type":"structure","members":{"name":{},"description":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetEvent":{"input":{"type":"structure","required":["eventId","eventTypeName"],"members":{"eventId":{},"eventTypeName":{}}},"output":{"type":"structure","members":{"event":{"type":"structure","members":{"eventId":{},"eventTypeName":{},"eventTimestamp":{},"eventVariables":{"type":"map","key":{},"value":{"type":"string","sensitive":true}},"currentLabel":{},"labelTimestamp":{},"entities":{"shape":"S4b"}}}}}},"GetEventPrediction":{"input":{"type":"structure","required":["detectorId","eventId","eventTypeName","entities","eventTimestamp","eventVariables"],"members":{"detectorId":{},"detectorVersionId":{},"eventId":{},"eventTypeName":{},"entities":{"shape":"S4b"},"eventTimestamp":{},"eventVariables":{"shape":"S4g"},"externalModelEndpointDataBlobs":{"type":"map","key":{},"value":{"type":"structure","members":{"byteBuffer":{"type":"blob"},"contentType":{}}},"sensitive":true}}},"output":{"type":"structure","members":{"modelScores":{"type":"list","member":{"type":"structure","members":{"modelVersion":{"shape":"S16"},"scores":{"type":"map","key":{},"value":{"type":"float"}}}}},"ruleResults":{"type":"list","member":{"type":"structure","members":{"ruleId":{},"outcomes":{"shape":"S12"}}}},"externalModelOutputs":{"type":"list","member":{"type":"structure","members":{"externalModel":{"type":"structure","members":{"modelEndpoint":{},"modelSource":{}}},"outputs":{"type":"map","key":{},"value":{}}}}}}}},"GetEventPredictionMetadata":{"input":{"type":"structure","required":["eventId","eventTypeName","detectorId","detectorVersionId","predictionTimestamp"],"members":{"eventId":{},"eventTypeName":{},"detectorId":{},"detectorVersionId":{},"predictionTimestamp":{}}},"output":{"type":"structure","members":{"eventId":{},"eventTypeName":{},"entityId":{},"entityType":{},"eventTimestamp":{},"detectorId":{},"detectorVersionId":{},"detectorVersionStatus":{},"eventVariables":{"type":"list","member":{"type":"structure","members":{"name":{"shape":"S52"},"value":{"shape":"S52"},"source":{"shape":"S52"}}}},"rules":{"type":"list","member":{"type":"structure","members":{"ruleId":{},"ruleVersion":{},"expression":{"shape":"S52"},"expressionWithValues":{"shape":"S52"},"outcomes":{"shape":"S12"},"evaluated":{"type":"boolean"},"matched":{"type":"boolean"}}}},"ruleExecutionMode":{},"outcomes":{"shape":"S12"},"evaluatedModelVersions":{"type":"list","member":{"type":"structure","members":{"modelId":{},"modelVersion":{},"modelType":{},"evaluations":{"type":"list","member":{"type":"structure","members":{"outputVariableName":{},"evaluationScore":{},"predictionExplanations":{"type":"structure","members":{"variableImpactExplanations":{"type":"list","member":{"type":"structure","members":{"eventVariableName":{},"relativeImpact":{},"logOddsImpact":{"type":"float"}}}}}}}}}}}},"evaluatedExternalModels":{"type":"list","member":{"type":"structure","members":{"modelEndpoint":{},"useEventVariables":{"type":"boolean"},"inputVariables":{"shape":"S5f"},"outputVariables":{"shape":"S5f"}}}},"predictionTimestamp":{}}}},"GetEventTypes":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"eventTypes":{"type":"list","member":{"type":"structure","members":{"name":{},"description":{},"eventVariables":{"shape":"S12"},"labels":{"shape":"S12"},"entityTypes":{"shape":"S1k"},"eventIngestion":{},"ingestedEventStatistics":{"type":"structure","members":{"numberOfEvents":{"type":"long"},"eventDataSizeInBytes":{"type":"long"},"leastRecentEvent":{},"mostRecentEvent":{},"lastUpdatedTime":{}}},"lastUpdatedTime":{},"createdTime":{},"arn":{}},"sensitive":true}},"nextToken":{}}}},"GetExternalModels":{"input":{"type":"structure","members":{"modelEndpoint":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"externalModels":{"type":"list","member":{"type":"structure","members":{"modelEndpoint":{},"modelSource":{},"invokeModelEndpointRoleArn":{},"inputConfiguration":{"shape":"S5t"},"outputConfiguration":{"shape":"S5x"},"modelEndpointStatus":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetKMSEncryptionKey":{"output":{"type":"structure","members":{"kmsKey":{"type":"structure","members":{"kmsEncryptionKeyArn":{}}}}}},"GetLabels":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"labels":{"type":"list","member":{"type":"structure","members":{"name":{},"description":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetModelVersion":{"input":{"type":"structure","required":["modelId","modelType","modelVersionNumber"],"members":{"modelId":{},"modelType":{},"modelVersionNumber":{}}},"output":{"type":"structure","members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"trainingDataSource":{},"trainingDataSchema":{"shape":"S1h"},"externalEventsDetail":{"shape":"S1m"},"ingestedEventsDetail":{"shape":"S1n"},"status":{},"arn":{}}}},"GetModels":{"input":{"type":"structure","members":{"modelId":{},"modelType":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"nextToken":{},"models":{"type":"list","member":{"type":"structure","members":{"modelId":{},"modelType":{},"description":{},"eventTypeName":{},"createdTime":{},"lastUpdatedTime":{},"arn":{}}}}}}},"GetOutcomes":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"outcomes":{"type":"list","member":{"type":"structure","members":{"name":{},"description":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetRules":{"input":{"type":"structure","required":["detectorId"],"members":{"ruleId":{},"detectorId":{},"ruleVersion":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ruleDetails":{"type":"list","member":{"type":"structure","members":{"ruleId":{},"description":{},"detectorId":{},"ruleVersion":{},"expression":{"shape":"S1r"},"language":{},"outcomes":{"shape":"S1k"},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"nextToken":{}}}},"GetVariables":{"input":{"type":"structure","members":{"name":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"variables":{"shape":"Sg"},"nextToken":{}}}},"ListEventPredictions":{"input":{"type":"structure","members":{"eventId":{"shape":"S6u"},"eventType":{"shape":"S6u"},"detectorId":{"shape":"S6u"},"detectorVersionId":{"shape":"S6u"},"predictionTimeRange":{"type":"structure","required":["startTime","endTime"],"members":{"startTime":{},"endTime":{}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"eventPredictionSummaries":{"type":"list","member":{"type":"structure","members":{"eventId":{},"eventTypeName":{},"eventTimestamp":{},"predictionTimestamp":{},"detectorId":{},"detectorVersionId":{}}}},"nextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["resourceARN"],"members":{"resourceARN":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"tags":{"shape":"S5"},"nextToken":{}}}},"PutDetector":{"input":{"type":"structure","required":["detectorId","eventTypeName"],"members":{"detectorId":{},"description":{},"eventTypeName":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutEntityType":{"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutEventType":{"input":{"type":"structure","required":["name","eventVariables","entityTypes"],"members":{"name":{},"description":{},"eventVariables":{"shape":"S1k"},"labels":{"shape":"S12"},"entityTypes":{"shape":"S1k"},"eventIngestion":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutExternalModel":{"input":{"type":"structure","required":["modelEndpoint","modelSource","invokeModelEndpointRoleArn","inputConfiguration","outputConfiguration","modelEndpointStatus"],"members":{"modelEndpoint":{},"modelSource":{},"invokeModelEndpointRoleArn":{},"inputConfiguration":{"shape":"S5t"},"outputConfiguration":{"shape":"S5x"},"modelEndpointStatus":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutKMSEncryptionKey":{"input":{"type":"structure","required":["kmsEncryptionKeyArn"],"members":{"kmsEncryptionKeyArn":{}}},"output":{"type":"structure","members":{}}},"PutLabel":{"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"PutOutcome":{"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"SendEvent":{"input":{"type":"structure","required":["eventId","eventTypeName","eventTimestamp","eventVariables","entities"],"members":{"eventId":{},"eventTypeName":{},"eventTimestamp":{},"eventVariables":{"shape":"S4g"},"assignedLabel":{},"labelTimestamp":{},"entities":{"shape":"S4b"}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["resourceARN","tags"],"members":{"resourceARN":{},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["resourceARN","tagKeys"],"members":{"resourceARN":{},"tagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDetectorVersion":{"input":{"type":"structure","required":["detectorId","detectorVersionId","externalModelEndpoints","rules"],"members":{"detectorId":{},"detectorVersionId":{},"externalModelEndpoints":{"shape":"S12"},"rules":{"shape":"S13"},"description":{},"modelVersions":{"shape":"S15"},"ruleExecutionMode":{}}},"output":{"type":"structure","members":{}}},"UpdateDetectorVersionMetadata":{"input":{"type":"structure","required":["detectorId","detectorVersionId","description"],"members":{"detectorId":{},"detectorVersionId":{},"description":{}}},"output":{"type":"structure","members":{}}},"UpdateDetectorVersionStatus":{"input":{"type":"structure","required":["detectorId","detectorVersionId","status"],"members":{"detectorId":{},"detectorVersionId":{},"status":{}}},"output":{"type":"structure","members":{}}},"UpdateEventLabel":{"input":{"type":"structure","required":["eventId","eventTypeName","assignedLabel","labelTimestamp"],"members":{"eventId":{},"eventTypeName":{},"assignedLabel":{},"labelTimestamp":{}}},"output":{"type":"structure","members":{}}},"UpdateModel":{"input":{"type":"structure","required":["modelId","modelType"],"members":{"modelId":{},"modelType":{},"description":{}}},"output":{"type":"structure","members":{}}},"UpdateModelVersion":{"input":{"type":"structure","required":["modelId","modelType","majorVersionNumber"],"members":{"modelId":{},"modelType":{},"majorVersionNumber":{},"externalEventsDetail":{"shape":"S1m"},"ingestedEventsDetail":{"shape":"S1n"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"status":{}}}},"UpdateModelVersionStatus":{"input":{"type":"structure","required":["modelId","modelType","modelVersionNumber","status"],"members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"status":{}}},"output":{"type":"structure","members":{}}},"UpdateRuleMetadata":{"input":{"type":"structure","required":["rule","description"],"members":{"rule":{"shape":"S14"},"description":{}}},"output":{"type":"structure","members":{}}},"UpdateRuleVersion":{"input":{"type":"structure","required":["rule","expression","language","outcomes"],"members":{"rule":{"shape":"S14"},"description":{},"expression":{"shape":"S1r"},"language":{},"outcomes":{"shape":"S1k"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{"rule":{"shape":"S14"}}}},"UpdateVariable":{"input":{"type":"structure","required":["name"],"members":{"name":{},"defaultValue":{},"description":{},"variableType":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S5":{"type":"list","member":{"type":"structure","required":["key","value"],"members":{"key":{},"value":{}}}},"Sg":{"type":"list","member":{"type":"structure","members":{"name":{},"dataType":{},"dataSource":{},"defaultValue":{},"description":{},"variableType":{},"lastUpdatedTime":{},"createdTime":{},"arn":{}}}},"S12":{"type":"list","member":{}},"S13":{"type":"list","member":{"shape":"S14"}},"S14":{"type":"structure","required":["detectorId","ruleId","ruleVersion"],"members":{"detectorId":{},"ruleId":{},"ruleVersion":{}}},"S15":{"type":"list","member":{"shape":"S16"}},"S16":{"type":"structure","required":["modelId","modelType","modelVersionNumber"],"members":{"modelId":{},"modelType":{},"modelVersionNumber":{},"arn":{}}},"S1h":{"type":"structure","required":["modelVariables","labelSchema"],"members":{"modelVariables":{"shape":"S12"},"labelSchema":{"type":"structure","required":["labelMapper"],"members":{"labelMapper":{"type":"map","key":{},"value":{"shape":"S1k"}},"unlabeledEventsTreatment":{}}}}},"S1k":{"type":"list","member":{}},"S1m":{"type":"structure","required":["dataLocation","dataAccessRoleArn"],"members":{"dataLocation":{},"dataAccessRoleArn":{}}},"S1n":{"type":"structure","required":["ingestedEventsTimeWindow"],"members":{"ingestedEventsTimeWindow":{"type":"structure","required":["startTime","endTime"],"members":{"startTime":{},"endTime":{}}}}},"S1r":{"type":"string","sensitive":true},"S4b":{"type":"list","member":{"type":"structure","required":["entityType","entityId"],"members":{"entityType":{},"entityId":{}},"sensitive":true}},"S4g":{"type":"map","key":{},"value":{"type":"string","sensitive":true}},"S52":{"type":"string","sensitive":true},"S5f":{"type":"map","key":{},"value":{},"sensitive":true},"S5t":{"type":"structure","required":["useEventVariables"],"members":{"eventTypeName":{},"format":{},"useEventVariables":{"type":"boolean"},"jsonInputTemplate":{},"csvInputTemplate":{}}},"S5x":{"type":"structure","required":["format"],"members":{"format":{},"jsonKeyToVariableMap":{"type":"map","key":{},"value":{}},"csvIndexToVariableMap":{"type":"map","key":{},"value":{}}}},"S6u":{"type":"structure","members":{"value":{}}}}} /***/ }), /* 847 */ /***/ (function(module, exports) { - module.exports = {"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"}}} + module.exports = {"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"}}} /***/ }), /* 848 */ @@ -52465,13 +52471,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 849 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-02-03","endpointPrefix":"kendra","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"kendra","serviceFullName":"AWSKendraFrontendService","serviceId":"kendra","signatureVersion":"v4","signingName":"kendra","targetPrefix":"AWSKendraFrontendService","uid":"kendra-2019-02-03"},"operations":{"AssociateEntitiesToExperience":{"input":{"type":"structure","required":["Id","IndexId","EntityList"],"members":{"Id":{},"IndexId":{},"EntityList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"FailedEntityList":{"type":"list","member":{"shape":"Sa"}}}}},"AssociatePersonasToEntities":{"input":{"type":"structure","required":["Id","IndexId","Personas"],"members":{"Id":{},"IndexId":{},"Personas":{"type":"list","member":{"type":"structure","required":["EntityId","Persona"],"members":{"EntityId":{},"Persona":{}}}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"BatchDeleteDocument":{"input":{"type":"structure","required":["IndexId","DocumentIdList"],"members":{"IndexId":{},"DocumentIdList":{"type":"list","member":{}},"DataSourceSyncJobMetricTarget":{"type":"structure","required":["DataSourceId"],"members":{"DataSourceId":{},"DataSourceSyncJobId":{}}}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"BatchGetDocumentStatus":{"input":{"type":"structure","required":["IndexId","DocumentInfoList"],"members":{"IndexId":{},"DocumentInfoList":{"type":"list","member":{"type":"structure","required":["DocumentId"],"members":{"DocumentId":{},"Attributes":{"shape":"Sv"}}}}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"DocumentId":{},"ErrorCode":{},"ErrorMessage":{}}}},"DocumentStatusList":{"type":"list","member":{"type":"structure","members":{"DocumentId":{},"DocumentStatus":{},"FailureCode":{},"FailureReason":{}}}}}}},"BatchPutDocument":{"input":{"type":"structure","required":["IndexId","Documents"],"members":{"IndexId":{},"RoleArn":{},"Documents":{"type":"list","member":{"type":"structure","required":["Id"],"members":{"Id":{},"Title":{},"Blob":{"type":"blob"},"S3Path":{"shape":"S1g"},"Attributes":{"shape":"Sv"},"AccessControlList":{"shape":"S1j"},"HierarchicalAccessControlList":{"type":"list","member":{"type":"structure","required":["PrincipalList"],"members":{"PrincipalList":{"shape":"S1j"}}}},"ContentType":{}}}},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"ClearQuerySuggestions":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{}}}},"CreateDataSource":{"input":{"type":"structure","required":["Name","IndexId","Type"],"members":{"Name":{},"IndexId":{},"Type":{},"Configuration":{"shape":"S27"},"Description":{},"Schedule":{},"RoleArn":{},"Tags":{"shape":"S5a"},"ClientToken":{"idempotencyToken":true},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}},"output":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"CreateExperience":{"input":{"type":"structure","required":["Name","IndexId"],"members":{"Name":{},"IndexId":{},"RoleArn":{},"Configuration":{"shape":"S5j"},"Description":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"CreateFaq":{"input":{"type":"structure","required":["IndexId","Name","S3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"S3Path":{"shape":"S1g"},"RoleArn":{},"Tags":{"shape":"S5a"},"FileFormat":{},"ClientToken":{"idempotencyToken":true},"LanguageCode":{}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateIndex":{"input":{"type":"structure","required":["Name","RoleArn"],"members":{"Name":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S5y"},"Description":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S5a"},"UserTokenConfigurations":{"shape":"S60"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6a"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Name","SourceS3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S1g"},"ClientToken":{"idempotencyToken":true},"RoleArn":{},"Tags":{"shape":"S5a"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateThesaurus":{"input":{"type":"structure","required":["IndexId","Name","RoleArn","SourceS3Path"],"members":{"IndexId":{},"Name":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S5a"},"SourceS3Path":{"shape":"S1g"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"DeleteDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{}}},"DeleteFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"DeletePrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"OrderingId":{"type":"long"}}}},"DeleteQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{}}}},"DeleteThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DescribeDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Type":{},"Configuration":{"shape":"S27"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"Schedule":{},"RoleArn":{},"ErrorMessage":{},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}}},"DescribeExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Endpoints":{"shape":"S70"},"Configuration":{"shape":"S5j"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"RoleArn":{},"ErrorMessage":{}}}},"DescribeFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"S3Path":{"shape":"S1g"},"Status":{},"RoleArn":{},"ErrorMessage":{},"FileFormat":{},"LanguageCode":{}}}},"DescribeIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S5y"},"Status":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DocumentMetadataConfigurations":{"shape":"S7b"},"IndexStatistics":{"type":"structure","required":["FaqStatistics","TextDocumentStatistics"],"members":{"FaqStatistics":{"type":"structure","required":["IndexedQuestionAnswersCount"],"members":{"IndexedQuestionAnswersCount":{"type":"integer"}}},"TextDocumentStatistics":{"type":"structure","required":["IndexedTextDocumentsCount","IndexedTextBytes"],"members":{"IndexedTextDocumentsCount":{"type":"integer"},"IndexedTextBytes":{"type":"long"}}}}},"ErrorMessage":{},"CapacityUnits":{"shape":"S7t"},"UserTokenConfigurations":{"shape":"S60"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6a"}}}},"DescribePrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{}}},"output":{"type":"structure","members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"GroupOrderingIdSummaries":{"type":"list","member":{"type":"structure","members":{"Status":{},"LastUpdatedAt":{"type":"timestamp"},"ReceivedAt":{"type":"timestamp"},"OrderingId":{"type":"long"},"FailureReason":{}}}}}}},"DescribeQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{}}},"output":{"type":"structure","members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"Status":{},"ErrorMessage":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"SourceS3Path":{"shape":"S1g"},"ItemCount":{"type":"integer"},"FileSizeBytes":{"type":"long"},"RoleArn":{}}}},"DescribeQuerySuggestionsConfig":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{}}},"output":{"type":"structure","members":{"Mode":{},"Status":{},"QueryLogLookBackWindowInDays":{"type":"integer"},"IncludeQueriesWithoutUserInformation":{"type":"boolean"},"MinimumNumberOfQueryingUsers":{"type":"integer"},"MinimumQueryCount":{"type":"integer"},"LastSuggestionsBuildTime":{"type":"timestamp"},"LastClearTime":{"type":"timestamp"},"TotalSuggestionsCount":{"type":"integer"}}}},"DescribeThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Description":{},"Status":{},"ErrorMessage":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"RoleArn":{},"SourceS3Path":{"shape":"S1g"},"FileSizeBytes":{"type":"long"},"TermCount":{"type":"long"},"SynonymRuleCount":{"type":"long"}}}},"DisassociateEntitiesFromExperience":{"input":{"type":"structure","required":["Id","IndexId","EntityList"],"members":{"Id":{},"IndexId":{},"EntityList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"DisassociatePersonasFromEntities":{"input":{"type":"structure","required":["Id","IndexId","EntityIds"],"members":{"Id":{},"IndexId":{},"EntityIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"GetQuerySuggestions":{"input":{"type":"structure","required":["IndexId","QueryText"],"members":{"IndexId":{},"QueryText":{},"MaxSuggestionsCount":{"type":"integer"}}},"output":{"type":"structure","members":{"QuerySuggestionsId":{},"Suggestions":{"type":"list","member":{"type":"structure","members":{"Id":{},"Value":{"type":"structure","members":{"Text":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}}}}}}}}}}}},"GetSnapshots":{"input":{"type":"structure","required":["IndexId","Interval","MetricType"],"members":{"IndexId":{},"Interval":{},"MetricType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SnapShotTimeFilter":{"shape":"S92"},"SnapshotsDataHeader":{"type":"list","member":{}},"SnapshotsData":{"type":"list","member":{"type":"list","member":{}}},"NextToken":{}}}},"ListDataSourceSyncJobs":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"},"StartTimeFilter":{"shape":"S92"},"StatusFilter":{}}},"output":{"type":"structure","members":{"History":{"type":"list","member":{"type":"structure","members":{"ExecutionId":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Status":{},"ErrorMessage":{},"ErrorCode":{},"DataSourceErrorCode":{},"Metrics":{"type":"structure","members":{"DocumentsAdded":{},"DocumentsModified":{},"DocumentsDeleted":{},"DocumentsFailed":{},"DocumentsScanned":{}}}}}},"NextToken":{}}}},"ListDataSources":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"Type":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{},"LanguageCode":{}}}},"NextToken":{}}}},"ListEntityPersonas":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"EntityId":{},"Persona":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"ListExperienceEntities":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"EntityId":{},"EntityType":{},"DisplayData":{"type":"structure","members":{"UserName":{"shape":"S9t"},"GroupName":{"shape":"S9t"},"IdentifiedUserName":{"shape":"S9t"},"FirstName":{"shape":"S9t"},"LastName":{"shape":"S9t"}}}}}},"NextToken":{}}}},"ListExperiences":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"CreatedAt":{"type":"timestamp"},"Status":{},"Endpoints":{"shape":"S70"}}}},"NextToken":{}}}},"ListFaqs":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FaqSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"FileFormat":{},"LanguageCode":{}}}}}}},"ListGroupsOlderThanOrderingId":{"input":{"type":"structure","required":["IndexId","OrderingId"],"members":{"IndexId":{},"DataSourceId":{},"OrderingId":{"type":"long"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"GroupsSummaries":{"type":"list","member":{"type":"structure","members":{"GroupId":{},"OrderingId":{"type":"long"}}}},"NextToken":{}}}},"ListIndices":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"IndexConfigurationSummaryItems":{"type":"list","member":{"type":"structure","required":["CreatedAt","UpdatedAt","Status"],"members":{"Name":{},"Id":{},"Edition":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{}}}},"NextToken":{}}}},"ListQuerySuggestionsBlockLists":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"BlockListSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"ItemCount":{"type":"integer"}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S5a"}}}},"ListThesauri":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"ThesaurusSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}}}}},"PutPrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId","GroupMembers"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"GroupMembers":{"type":"structure","members":{"MemberGroups":{"type":"list","member":{"type":"structure","required":["GroupId"],"members":{"GroupId":{},"DataSourceId":{}}}},"MemberUsers":{"type":"list","member":{"type":"structure","required":["UserId"],"members":{"UserId":{}}}},"S3PathforGroupMembers":{"shape":"S1g"}}},"OrderingId":{"type":"long"},"RoleArn":{}}}},"Query":{"input":{"type":"structure","required":["IndexId","QueryText"],"members":{"IndexId":{},"QueryText":{},"AttributeFilter":{"shape":"Sb0"},"Facets":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{}}}},"RequestedDocumentAttributes":{"type":"list","member":{}},"QueryResultTypeFilter":{},"DocumentRelevanceOverrideConfigurations":{"type":"list","member":{"type":"structure","required":["Name","Relevance"],"members":{"Name":{},"Relevance":{"shape":"S7f"}}}},"PageNumber":{"type":"integer"},"PageSize":{"type":"integer"},"SortingConfiguration":{"type":"structure","required":["DocumentAttributeKey","SortOrder"],"members":{"DocumentAttributeKey":{},"SortOrder":{}}},"UserContext":{"type":"structure","members":{"Token":{},"UserId":{},"Groups":{"type":"list","member":{}},"DataSourceGroups":{"type":"list","member":{"type":"structure","required":["GroupId","DataSourceId"],"members":{"GroupId":{},"DataSourceId":{}}}}}},"VisitorId":{}}},"output":{"type":"structure","members":{"QueryId":{},"ResultItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Type":{},"AdditionalAttributes":{"type":"list","member":{"type":"structure","required":["Key","ValueType","Value"],"members":{"Key":{},"ValueType":{},"Value":{"type":"structure","members":{"TextWithHighlightsValue":{"shape":"Sbo"}}}}}},"DocumentId":{},"DocumentTitle":{"shape":"Sbo"},"DocumentExcerpt":{"shape":"Sbo"},"DocumentURI":{},"DocumentAttributes":{"shape":"Sv"},"ScoreAttributes":{"type":"structure","members":{"ScoreConfidence":{}}},"FeedbackToken":{}}}},"FacetResults":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{},"DocumentAttributeValueType":{},"DocumentAttributeValueCountPairs":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeValue":{"shape":"Sy"},"Count":{"type":"integer"}}}}}}},"TotalNumberOfResults":{"type":"integer"}}}},"StartDataSourceSyncJob":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"ExecutionId":{}}}},"StopDataSourceSyncJob":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"SubmitFeedback":{"input":{"type":"structure","required":["IndexId","QueryId"],"members":{"IndexId":{},"QueryId":{},"ClickFeedbackItems":{"type":"list","member":{"type":"structure","required":["ResultId","ClickTime"],"members":{"ResultId":{},"ClickTime":{"type":"timestamp"}}}},"RelevanceFeedbackItems":{"type":"list","member":{"type":"structure","required":["ResultId","RelevanceValue"],"members":{"ResultId":{},"RelevanceValue":{}}}}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S5a"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Configuration":{"shape":"S27"},"Description":{},"Schedule":{},"RoleArn":{},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}}},"UpdateExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"RoleArn":{},"Configuration":{"shape":"S5j"},"Description":{}}}},"UpdateIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{},"Name":{},"RoleArn":{},"Description":{},"DocumentMetadataConfigurationUpdates":{"shape":"S7b"},"CapacityUnits":{"shape":"S7t"},"UserTokenConfigurations":{"shape":"S60"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6a"}}}},"UpdateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S1g"},"RoleArn":{}}}},"UpdateQuerySuggestionsConfig":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"Mode":{},"QueryLogLookBackWindowInDays":{"type":"integer"},"IncludeQueriesWithoutUserInformation":{"type":"boolean"},"MinimumNumberOfQueryingUsers":{"type":"integer"},"MinimumQueryCount":{"type":"integer"}}}},"UpdateThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Description":{},"RoleArn":{},"SourceS3Path":{"shape":"S1g"}}}}},"shapes":{"S5":{"type":"structure","required":["EntityId","EntityType"],"members":{"EntityId":{},"EntityType":{}}},"Sa":{"type":"structure","members":{"EntityId":{},"ErrorMessage":{}}},"Sh":{"type":"list","member":{"shape":"Sa"}},"Sv":{"type":"list","member":{"shape":"Sw"}},"Sw":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{"shape":"Sy"}}},"Sy":{"type":"structure","members":{"StringValue":{},"StringListValue":{"type":"list","member":{}},"LongValue":{"type":"long"},"DateValue":{"type":"timestamp"}}},"S1g":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"S1j":{"type":"list","member":{"type":"structure","required":["Name","Type","Access"],"members":{"Name":{},"Type":{},"Access":{},"DataSourceId":{}}}},"S1r":{"type":"structure","members":{"InlineConfigurations":{"type":"list","member":{"type":"structure","members":{"Condition":{"shape":"S1u"},"Target":{"type":"structure","members":{"TargetDocumentAttributeKey":{},"TargetDocumentAttributeValueDeletion":{"type":"boolean"},"TargetDocumentAttributeValue":{"shape":"Sy"}}},"DocumentContentDeletion":{"type":"boolean"}}}},"PreExtractionHookConfiguration":{"shape":"S1y"},"PostExtractionHookConfiguration":{"shape":"S1y"},"RoleArn":{}}},"S1u":{"type":"structure","required":["ConditionDocumentAttributeKey","Operator"],"members":{"ConditionDocumentAttributeKey":{},"Operator":{},"ConditionOnValue":{"shape":"Sy"}}},"S1y":{"type":"structure","required":["LambdaArn","S3Bucket"],"members":{"InvocationCondition":{"shape":"S1u"},"LambdaArn":{},"S3Bucket":{}}},"S27":{"type":"structure","members":{"S3Configuration":{"type":"structure","required":["BucketName"],"members":{"BucketName":{},"InclusionPrefixes":{"shape":"S29"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"DocumentsMetadataConfiguration":{"type":"structure","members":{"S3Prefix":{}}},"AccessControlListConfiguration":{"type":"structure","members":{"KeyPath":{}}}}},"SharePointConfiguration":{"type":"structure","required":["SharePointVersion","Urls","SecretArn"],"members":{"SharePointVersion":{},"Urls":{"type":"list","member":{}},"SecretArn":{},"CrawlAttachments":{"type":"boolean"},"UseChangeLog":{"type":"boolean"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"VpcConfiguration":{"shape":"S2i"},"FieldMappings":{"shape":"S2n"},"DocumentTitleFieldName":{},"DisableLocalGroups":{"type":"boolean"},"SslCertificateS3Path":{"shape":"S1g"}}},"DatabaseConfiguration":{"type":"structure","required":["DatabaseEngineType","ConnectionConfiguration","ColumnConfiguration"],"members":{"DatabaseEngineType":{},"ConnectionConfiguration":{"type":"structure","required":["DatabaseHost","DatabasePort","DatabaseName","TableName","SecretArn"],"members":{"DatabaseHost":{},"DatabasePort":{"type":"integer"},"DatabaseName":{},"TableName":{},"SecretArn":{}}},"VpcConfiguration":{"shape":"S2i"},"ColumnConfiguration":{"type":"structure","required":["DocumentIdColumnName","DocumentDataColumnName","ChangeDetectingColumns"],"members":{"DocumentIdColumnName":{},"DocumentDataColumnName":{},"DocumentTitleColumnName":{},"FieldMappings":{"shape":"S2n"},"ChangeDetectingColumns":{"type":"list","member":{}}}},"AclConfiguration":{"type":"structure","required":["AllowedGroupsColumnName"],"members":{"AllowedGroupsColumnName":{}}},"SqlConfiguration":{"type":"structure","members":{"QueryIdentifiersEnclosingOption":{}}}}},"SalesforceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn"],"members":{"ServerUrl":{},"SecretArn":{},"StandardObjectConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}}},"KnowledgeArticleConfiguration":{"type":"structure","required":["IncludedStates"],"members":{"IncludedStates":{"type":"list","member":{}},"StandardKnowledgeArticleTypeConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"CustomKnowledgeArticleTypeConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}}}}},"ChatterFeedConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"},"IncludeFilterTypes":{"type":"list","member":{}}}},"CrawlAttachments":{"type":"boolean"},"StandardObjectAttachmentConfiguration":{"type":"structure","members":{"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"}}},"OneDriveConfiguration":{"type":"structure","required":["TenantDomain","SecretArn","OneDriveUsers"],"members":{"TenantDomain":{},"SecretArn":{},"OneDriveUsers":{"type":"structure","members":{"OneDriveUserList":{"type":"list","member":{}},"OneDriveUserS3Path":{"shape":"S1g"}}},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"},"DisableLocalGroups":{"type":"boolean"}}},"ServiceNowConfiguration":{"type":"structure","required":["HostUrl","SecretArn","ServiceNowBuildVersion"],"members":{"HostUrl":{},"SecretArn":{},"ServiceNowBuildVersion":{},"KnowledgeArticleConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"},"FilterQuery":{}}},"ServiceCatalogConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"AuthenticationType":{}}},"ConfluenceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn","Version"],"members":{"ServerUrl":{},"SecretArn":{},"Version":{},"SpaceConfiguration":{"type":"structure","members":{"CrawlPersonalSpaces":{"type":"boolean"},"CrawlArchivedSpaces":{"type":"boolean"},"IncludeSpaces":{"shape":"S3z"},"ExcludeSpaces":{"shape":"S3z"},"SpaceFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"PageConfiguration":{"type":"structure","members":{"PageFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"BlogConfiguration":{"type":"structure","members":{"BlogFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"AttachmentConfiguration":{"type":"structure","members":{"CrawlAttachments":{"type":"boolean"},"AttachmentFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"VpcConfiguration":{"shape":"S2i"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"}}},"GoogleDriveConfiguration":{"type":"structure","required":["SecretArn"],"members":{"SecretArn":{},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"},"ExcludeMimeTypes":{"type":"list","member":{}},"ExcludeUserAccounts":{"type":"list","member":{}},"ExcludeSharedDrives":{"type":"list","member":{}}}},"WebCrawlerConfiguration":{"type":"structure","required":["Urls"],"members":{"Urls":{"type":"structure","members":{"SeedUrlConfiguration":{"type":"structure","required":["SeedUrls"],"members":{"SeedUrls":{"type":"list","member":{}},"WebCrawlerMode":{}}},"SiteMapsConfiguration":{"type":"structure","required":["SiteMaps"],"members":{"SiteMaps":{"type":"list","member":{}}}}}},"CrawlDepth":{"type":"integer"},"MaxLinksPerPage":{"type":"integer"},"MaxContentSizePerPageInMegaBytes":{"type":"float"},"MaxUrlsPerMinuteCrawlRate":{"type":"integer"},"UrlInclusionPatterns":{"shape":"S29"},"UrlExclusionPatterns":{"shape":"S29"},"ProxyConfiguration":{"type":"structure","required":["Host","Port"],"members":{"Host":{},"Port":{"type":"integer"},"Credentials":{}}},"AuthenticationConfiguration":{"type":"structure","members":{"BasicAuthentication":{"type":"list","member":{"type":"structure","required":["Host","Port","Credentials"],"members":{"Host":{},"Port":{"type":"integer"},"Credentials":{}}}}}}}},"WorkDocsConfiguration":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"CrawlComments":{"type":"boolean"},"UseChangeLog":{"type":"boolean"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"}}}}},"S29":{"type":"list","member":{}},"S2i":{"type":"structure","required":["SubnetIds","SecurityGroupIds"],"members":{"SubnetIds":{"type":"list","member":{}},"SecurityGroupIds":{"type":"list","member":{}}}},"S2n":{"type":"list","member":{"type":"structure","required":["DataSourceFieldName","IndexFieldName"],"members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}},"S3z":{"type":"list","member":{}},"S5a":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S5j":{"type":"structure","members":{"ContentSourceConfiguration":{"type":"structure","members":{"DataSourceIds":{"type":"list","member":{}},"FaqIds":{"type":"list","member":{}},"DirectPutContent":{"type":"boolean"}}},"UserIdentityConfiguration":{"type":"structure","members":{"IdentityAttributeName":{}}}}},"S5y":{"type":"structure","members":{"KmsKeyId":{"type":"string","sensitive":true}}},"S60":{"type":"list","member":{"type":"structure","members":{"JwtTokenTypeConfiguration":{"type":"structure","required":["KeyLocation"],"members":{"KeyLocation":{},"URL":{},"SecretManagerArn":{},"UserNameAttributeField":{},"GroupAttributeField":{},"Issuer":{},"ClaimRegex":{}}},"JsonTokenTypeConfiguration":{"type":"structure","required":["UserNameAttributeField","GroupAttributeField"],"members":{"UserNameAttributeField":{},"GroupAttributeField":{}}}}}},"S6a":{"type":"structure","required":["UserGroupResolutionMode"],"members":{"UserGroupResolutionMode":{}}},"S70":{"type":"list","member":{"type":"structure","members":{"EndpointType":{},"Endpoint":{}}}},"S7b":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Relevance":{"shape":"S7f"},"Search":{"type":"structure","members":{"Facetable":{"type":"boolean"},"Searchable":{"type":"boolean"},"Displayable":{"type":"boolean"},"Sortable":{"type":"boolean"}}}}}},"S7f":{"type":"structure","members":{"Freshness":{"type":"boolean"},"Importance":{"type":"integer"},"Duration":{},"RankOrder":{},"ValueImportanceMap":{"type":"map","key":{},"value":{"type":"integer"}}}},"S7t":{"type":"structure","required":["StorageCapacityUnits","QueryCapacityUnits"],"members":{"StorageCapacityUnits":{"type":"integer"},"QueryCapacityUnits":{"type":"integer"}}},"S92":{"type":"structure","members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"S9t":{"type":"string","sensitive":true},"Sb0":{"type":"structure","members":{"AndAllFilters":{"shape":"Sb1"},"OrAllFilters":{"shape":"Sb1"},"NotFilter":{"shape":"Sb0"},"EqualsTo":{"shape":"Sw"},"ContainsAll":{"shape":"Sw"},"ContainsAny":{"shape":"Sw"},"GreaterThan":{"shape":"Sw"},"GreaterThanOrEquals":{"shape":"Sw"},"LessThan":{"shape":"Sw"},"LessThanOrEquals":{"shape":"Sw"}}},"Sb1":{"type":"list","member":{"shape":"Sb0"}},"Sbo":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","required":["BeginOffset","EndOffset"],"members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"},"TopAnswer":{"type":"boolean"},"Type":{}}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-02-03","endpointPrefix":"kendra","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"kendra","serviceFullName":"AWSKendraFrontendService","serviceId":"kendra","signatureVersion":"v4","signingName":"kendra","targetPrefix":"AWSKendraFrontendService","uid":"kendra-2019-02-03"},"operations":{"AssociateEntitiesToExperience":{"input":{"type":"structure","required":["Id","IndexId","EntityList"],"members":{"Id":{},"IndexId":{},"EntityList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"FailedEntityList":{"type":"list","member":{"shape":"Sa"}}}}},"AssociatePersonasToEntities":{"input":{"type":"structure","required":["Id","IndexId","Personas"],"members":{"Id":{},"IndexId":{},"Personas":{"type":"list","member":{"type":"structure","required":["EntityId","Persona"],"members":{"EntityId":{},"Persona":{}}}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"BatchDeleteDocument":{"input":{"type":"structure","required":["IndexId","DocumentIdList"],"members":{"IndexId":{},"DocumentIdList":{"type":"list","member":{}},"DataSourceSyncJobMetricTarget":{"type":"structure","required":["DataSourceId"],"members":{"DataSourceId":{},"DataSourceSyncJobId":{}}}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"BatchGetDocumentStatus":{"input":{"type":"structure","required":["IndexId","DocumentInfoList"],"members":{"IndexId":{},"DocumentInfoList":{"type":"list","member":{"type":"structure","required":["DocumentId"],"members":{"DocumentId":{},"Attributes":{"shape":"Sv"}}}}}},"output":{"type":"structure","members":{"Errors":{"type":"list","member":{"type":"structure","members":{"DocumentId":{},"ErrorCode":{},"ErrorMessage":{}}}},"DocumentStatusList":{"type":"list","member":{"type":"structure","members":{"DocumentId":{},"DocumentStatus":{},"FailureCode":{},"FailureReason":{}}}}}}},"BatchPutDocument":{"input":{"type":"structure","required":["IndexId","Documents"],"members":{"IndexId":{},"RoleArn":{},"Documents":{"type":"list","member":{"type":"structure","required":["Id"],"members":{"Id":{},"Title":{},"Blob":{"type":"blob"},"S3Path":{"shape":"S1g"},"Attributes":{"shape":"Sv"},"AccessControlList":{"shape":"S1j"},"HierarchicalAccessControlList":{"type":"list","member":{"type":"structure","required":["PrincipalList"],"members":{"PrincipalList":{"shape":"S1j"}}}},"ContentType":{}}}},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}},"output":{"type":"structure","members":{"FailedDocuments":{"type":"list","member":{"type":"structure","members":{"Id":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"ClearQuerySuggestions":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{}}}},"CreateDataSource":{"input":{"type":"structure","required":["Name","IndexId","Type"],"members":{"Name":{},"IndexId":{},"Type":{},"Configuration":{"shape":"S27"},"Description":{},"Schedule":{},"RoleArn":{},"Tags":{"shape":"S5d"},"ClientToken":{"idempotencyToken":true},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}},"output":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"CreateExperience":{"input":{"type":"structure","required":["Name","IndexId"],"members":{"Name":{},"IndexId":{},"RoleArn":{},"Configuration":{"shape":"S5m"},"Description":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"CreateFaq":{"input":{"type":"structure","required":["IndexId","Name","S3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"S3Path":{"shape":"S1g"},"RoleArn":{},"Tags":{"shape":"S5d"},"FileFormat":{},"ClientToken":{"idempotencyToken":true},"LanguageCode":{}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateIndex":{"input":{"type":"structure","required":["Name","RoleArn"],"members":{"Name":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S61"},"Description":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S5d"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Name","SourceS3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S1g"},"ClientToken":{"idempotencyToken":true},"RoleArn":{},"Tags":{"shape":"S5d"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateThesaurus":{"input":{"type":"structure","required":["IndexId","Name","RoleArn","SourceS3Path"],"members":{"IndexId":{},"Name":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S5d"},"SourceS3Path":{"shape":"S1g"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"DeleteDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{}}},"DeleteFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DeleteIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}}},"DeletePrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"OrderingId":{"type":"long"}}}},"DeleteQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{}}}},"DeleteThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"DescribeDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Type":{},"Configuration":{"shape":"S27"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"Schedule":{},"RoleArn":{},"ErrorMessage":{},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}}},"DescribeExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Endpoints":{"shape":"S73"},"Configuration":{"shape":"S5m"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"RoleArn":{},"ErrorMessage":{}}}},"DescribeFaq":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"S3Path":{"shape":"S1g"},"Status":{},"RoleArn":{},"ErrorMessage":{},"FileFormat":{},"LanguageCode":{}}}},"DescribeIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S61"},"Status":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DocumentMetadataConfigurations":{"shape":"S7e"},"IndexStatistics":{"type":"structure","required":["FaqStatistics","TextDocumentStatistics"],"members":{"FaqStatistics":{"type":"structure","required":["IndexedQuestionAnswersCount"],"members":{"IndexedQuestionAnswersCount":{"type":"integer"}}},"TextDocumentStatistics":{"type":"structure","required":["IndexedTextDocumentsCount","IndexedTextBytes"],"members":{"IndexedTextDocumentsCount":{"type":"integer"},"IndexedTextBytes":{"type":"long"}}}}},"ErrorMessage":{},"CapacityUnits":{"shape":"S7w"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}}},"DescribePrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{}}},"output":{"type":"structure","members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"GroupOrderingIdSummaries":{"type":"list","member":{"type":"structure","members":{"Status":{},"LastUpdatedAt":{"type":"timestamp"},"ReceivedAt":{"type":"timestamp"},"OrderingId":{"type":"long"},"FailureReason":{}}}}}}},"DescribeQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{}}},"output":{"type":"structure","members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"Status":{},"ErrorMessage":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"SourceS3Path":{"shape":"S1g"},"ItemCount":{"type":"integer"},"FileSizeBytes":{"type":"long"},"RoleArn":{}}}},"DescribeQuerySuggestionsConfig":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{}}},"output":{"type":"structure","members":{"Mode":{},"Status":{},"QueryLogLookBackWindowInDays":{"type":"integer"},"IncludeQueriesWithoutUserInformation":{"type":"boolean"},"MinimumNumberOfQueryingUsers":{"type":"integer"},"MinimumQueryCount":{"type":"integer"},"LastSuggestionsBuildTime":{"type":"timestamp"},"LastClearTime":{"type":"timestamp"},"TotalSuggestionsCount":{"type":"integer"}}}},"DescribeThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"Id":{},"IndexId":{},"Name":{},"Description":{},"Status":{},"ErrorMessage":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"RoleArn":{},"SourceS3Path":{"shape":"S1g"},"FileSizeBytes":{"type":"long"},"TermCount":{"type":"long"},"SynonymRuleCount":{"type":"long"}}}},"DisassociateEntitiesFromExperience":{"input":{"type":"structure","required":["Id","IndexId","EntityList"],"members":{"Id":{},"IndexId":{},"EntityList":{"type":"list","member":{"shape":"S5"}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"DisassociatePersonasFromEntities":{"input":{"type":"structure","required":["Id","IndexId","EntityIds"],"members":{"Id":{},"IndexId":{},"EntityIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"FailedEntityList":{"shape":"Sh"}}}},"GetQuerySuggestions":{"input":{"type":"structure","required":["IndexId","QueryText"],"members":{"IndexId":{},"QueryText":{},"MaxSuggestionsCount":{"type":"integer"}}},"output":{"type":"structure","members":{"QuerySuggestionsId":{},"Suggestions":{"type":"list","member":{"type":"structure","members":{"Id":{},"Value":{"type":"structure","members":{"Text":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"}}}}}}}}}}}}}},"GetSnapshots":{"input":{"type":"structure","required":["IndexId","Interval","MetricType"],"members":{"IndexId":{},"Interval":{},"MetricType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SnapShotTimeFilter":{"shape":"S95"},"SnapshotsDataHeader":{"type":"list","member":{}},"SnapshotsData":{"type":"list","member":{"type":"list","member":{}}},"NextToken":{}}}},"ListDataSourceSyncJobs":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"},"StartTimeFilter":{"shape":"S95"},"StatusFilter":{}}},"output":{"type":"structure","members":{"History":{"type":"list","member":{"type":"structure","members":{"ExecutionId":{},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"Status":{},"ErrorMessage":{},"ErrorCode":{},"DataSourceErrorCode":{},"Metrics":{"type":"structure","members":{"DocumentsAdded":{},"DocumentsModified":{},"DocumentsDeleted":{},"DocumentsFailed":{},"DocumentsScanned":{}}}}}},"NextToken":{}}}},"ListDataSources":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"Type":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{},"LanguageCode":{}}}},"NextToken":{}}}},"ListEntityPersonas":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"EntityId":{},"Persona":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"ListExperienceEntities":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"EntityId":{},"EntityType":{},"DisplayData":{"type":"structure","members":{"UserName":{"shape":"S9w"},"GroupName":{"shape":"S9w"},"IdentifiedUserName":{"shape":"S9w"},"FirstName":{"shape":"S9w"},"LastName":{"shape":"S9w"}}}}}},"NextToken":{}}}},"ListExperiences":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"SummaryItems":{"type":"list","member":{"type":"structure","members":{"Name":{},"Id":{},"CreatedAt":{"type":"timestamp"},"Status":{},"Endpoints":{"shape":"S73"}}}},"NextToken":{}}}},"ListFaqs":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FaqSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"FileFormat":{},"LanguageCode":{}}}}}}},"ListGroupsOlderThanOrderingId":{"input":{"type":"structure","required":["IndexId","OrderingId"],"members":{"IndexId":{},"DataSourceId":{},"OrderingId":{"type":"long"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"GroupsSummaries":{"type":"list","member":{"type":"structure","members":{"GroupId":{},"OrderingId":{"type":"long"}}}},"NextToken":{}}}},"ListIndices":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"IndexConfigurationSummaryItems":{"type":"list","member":{"type":"structure","required":["CreatedAt","UpdatedAt","Status"],"members":{"Name":{},"Id":{},"Edition":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{}}}},"NextToken":{}}}},"ListQuerySuggestionsBlockLists":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"BlockListSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"ItemCount":{"type":"integer"}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"S5d"}}}},"ListThesauri":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"ThesaurusSummaryItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Name":{},"Status":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}}}}},"PutPrincipalMapping":{"input":{"type":"structure","required":["IndexId","GroupId","GroupMembers"],"members":{"IndexId":{},"DataSourceId":{},"GroupId":{},"GroupMembers":{"type":"structure","members":{"MemberGroups":{"type":"list","member":{"type":"structure","required":["GroupId"],"members":{"GroupId":{},"DataSourceId":{}}}},"MemberUsers":{"type":"list","member":{"type":"structure","required":["UserId"],"members":{"UserId":{}}}},"S3PathforGroupMembers":{"shape":"S1g"}}},"OrderingId":{"type":"long"},"RoleArn":{}}}},"Query":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"QueryText":{},"AttributeFilter":{"shape":"Sb3"},"Facets":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{}}}},"RequestedDocumentAttributes":{"type":"list","member":{}},"QueryResultTypeFilter":{},"DocumentRelevanceOverrideConfigurations":{"type":"list","member":{"type":"structure","required":["Name","Relevance"],"members":{"Name":{},"Relevance":{"shape":"S7i"}}}},"PageNumber":{"type":"integer"},"PageSize":{"type":"integer"},"SortingConfiguration":{"type":"structure","required":["DocumentAttributeKey","SortOrder"],"members":{"DocumentAttributeKey":{},"SortOrder":{}}},"UserContext":{"type":"structure","members":{"Token":{},"UserId":{},"Groups":{"type":"list","member":{}},"DataSourceGroups":{"type":"list","member":{"type":"structure","required":["GroupId","DataSourceId"],"members":{"GroupId":{},"DataSourceId":{}}}}}},"VisitorId":{}}},"output":{"type":"structure","members":{"QueryId":{},"ResultItems":{"type":"list","member":{"type":"structure","members":{"Id":{},"Type":{},"AdditionalAttributes":{"type":"list","member":{"type":"structure","required":["Key","ValueType","Value"],"members":{"Key":{},"ValueType":{},"Value":{"type":"structure","members":{"TextWithHighlightsValue":{"shape":"Sbr"}}}}}},"DocumentId":{},"DocumentTitle":{"shape":"Sbr"},"DocumentExcerpt":{"shape":"Sbr"},"DocumentURI":{},"DocumentAttributes":{"shape":"Sv"},"ScoreAttributes":{"type":"structure","members":{"ScoreConfidence":{}}},"FeedbackToken":{}}}},"FacetResults":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{},"DocumentAttributeValueType":{},"DocumentAttributeValueCountPairs":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeValue":{"shape":"Sy"},"Count":{"type":"integer"}}}}}}},"TotalNumberOfResults":{"type":"integer"},"Warnings":{"type":"list","member":{"type":"structure","members":{"Message":{},"Code":{}}}}}}},"StartDataSourceSyncJob":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}},"output":{"type":"structure","members":{"ExecutionId":{}}}},"StopDataSourceSyncJob":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"SubmitFeedback":{"input":{"type":"structure","required":["IndexId","QueryId"],"members":{"IndexId":{},"QueryId":{},"ClickFeedbackItems":{"type":"list","member":{"type":"structure","required":["ResultId","ClickTime"],"members":{"ResultId":{},"ClickTime":{"type":"timestamp"}}}},"RelevanceFeedbackItems":{"type":"list","member":{"type":"structure","required":["ResultId","RelevanceValue"],"members":{"ResultId":{},"RelevanceValue":{}}}}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"S5d"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Configuration":{"shape":"S27"},"Description":{},"Schedule":{},"RoleArn":{},"LanguageCode":{},"CustomDocumentEnrichmentConfiguration":{"shape":"S1r"}}}},"UpdateExperience":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"RoleArn":{},"Configuration":{"shape":"S5m"},"Description":{}}}},"UpdateIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{},"Name":{},"RoleArn":{},"Description":{},"DocumentMetadataConfigurationUpdates":{"shape":"S7e"},"CapacityUnits":{"shape":"S7w"},"UserTokenConfigurations":{"shape":"S63"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S6d"}}}},"UpdateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S1g"},"RoleArn":{}}}},"UpdateQuerySuggestionsConfig":{"input":{"type":"structure","required":["IndexId"],"members":{"IndexId":{},"Mode":{},"QueryLogLookBackWindowInDays":{"type":"integer"},"IncludeQueriesWithoutUserInformation":{"type":"boolean"},"MinimumNumberOfQueryingUsers":{"type":"integer"},"MinimumQueryCount":{"type":"integer"}}}},"UpdateThesaurus":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"Name":{},"IndexId":{},"Description":{},"RoleArn":{},"SourceS3Path":{"shape":"S1g"}}}}},"shapes":{"S5":{"type":"structure","required":["EntityId","EntityType"],"members":{"EntityId":{},"EntityType":{}}},"Sa":{"type":"structure","members":{"EntityId":{},"ErrorMessage":{}}},"Sh":{"type":"list","member":{"shape":"Sa"}},"Sv":{"type":"list","member":{"shape":"Sw"}},"Sw":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{"shape":"Sy"}}},"Sy":{"type":"structure","members":{"StringValue":{},"StringListValue":{"type":"list","member":{}},"LongValue":{"type":"long"},"DateValue":{"type":"timestamp"}}},"S1g":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"S1j":{"type":"list","member":{"type":"structure","required":["Name","Type","Access"],"members":{"Name":{},"Type":{},"Access":{},"DataSourceId":{}}}},"S1r":{"type":"structure","members":{"InlineConfigurations":{"type":"list","member":{"type":"structure","members":{"Condition":{"shape":"S1u"},"Target":{"type":"structure","members":{"TargetDocumentAttributeKey":{},"TargetDocumentAttributeValueDeletion":{"type":"boolean"},"TargetDocumentAttributeValue":{"shape":"Sy"}}},"DocumentContentDeletion":{"type":"boolean"}}}},"PreExtractionHookConfiguration":{"shape":"S1y"},"PostExtractionHookConfiguration":{"shape":"S1y"},"RoleArn":{}}},"S1u":{"type":"structure","required":["ConditionDocumentAttributeKey","Operator"],"members":{"ConditionDocumentAttributeKey":{},"Operator":{},"ConditionOnValue":{"shape":"Sy"}}},"S1y":{"type":"structure","required":["LambdaArn","S3Bucket"],"members":{"InvocationCondition":{"shape":"S1u"},"LambdaArn":{},"S3Bucket":{}}},"S27":{"type":"structure","members":{"S3Configuration":{"type":"structure","required":["BucketName"],"members":{"BucketName":{},"InclusionPrefixes":{"shape":"S29"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"DocumentsMetadataConfiguration":{"type":"structure","members":{"S3Prefix":{}}},"AccessControlListConfiguration":{"type":"structure","members":{"KeyPath":{}}}}},"SharePointConfiguration":{"type":"structure","required":["SharePointVersion","Urls","SecretArn"],"members":{"SharePointVersion":{},"Urls":{"type":"list","member":{}},"SecretArn":{},"CrawlAttachments":{"type":"boolean"},"UseChangeLog":{"type":"boolean"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"VpcConfiguration":{"shape":"S2i"},"FieldMappings":{"shape":"S2n"},"DocumentTitleFieldName":{},"DisableLocalGroups":{"type":"boolean"},"SslCertificateS3Path":{"shape":"S1g"}}},"DatabaseConfiguration":{"type":"structure","required":["DatabaseEngineType","ConnectionConfiguration","ColumnConfiguration"],"members":{"DatabaseEngineType":{},"ConnectionConfiguration":{"type":"structure","required":["DatabaseHost","DatabasePort","DatabaseName","TableName","SecretArn"],"members":{"DatabaseHost":{},"DatabasePort":{"type":"integer"},"DatabaseName":{},"TableName":{},"SecretArn":{}}},"VpcConfiguration":{"shape":"S2i"},"ColumnConfiguration":{"type":"structure","required":["DocumentIdColumnName","DocumentDataColumnName","ChangeDetectingColumns"],"members":{"DocumentIdColumnName":{},"DocumentDataColumnName":{},"DocumentTitleColumnName":{},"FieldMappings":{"shape":"S2n"},"ChangeDetectingColumns":{"type":"list","member":{}}}},"AclConfiguration":{"type":"structure","required":["AllowedGroupsColumnName"],"members":{"AllowedGroupsColumnName":{}}},"SqlConfiguration":{"type":"structure","members":{"QueryIdentifiersEnclosingOption":{}}}}},"SalesforceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn"],"members":{"ServerUrl":{},"SecretArn":{},"StandardObjectConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}}},"KnowledgeArticleConfiguration":{"type":"structure","required":["IncludedStates"],"members":{"IncludedStates":{"type":"list","member":{}},"StandardKnowledgeArticleTypeConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"CustomKnowledgeArticleTypeConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}}}}},"ChatterFeedConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"},"IncludeFilterTypes":{"type":"list","member":{}}}},"CrawlAttachments":{"type":"boolean"},"StandardObjectAttachmentConfiguration":{"type":"structure","members":{"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"}}},"OneDriveConfiguration":{"type":"structure","required":["TenantDomain","SecretArn","OneDriveUsers"],"members":{"TenantDomain":{},"SecretArn":{},"OneDriveUsers":{"type":"structure","members":{"OneDriveUserList":{"type":"list","member":{}},"OneDriveUserS3Path":{"shape":"S1g"}}},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"},"DisableLocalGroups":{"type":"boolean"}}},"ServiceNowConfiguration":{"type":"structure","required":["HostUrl","SecretArn","ServiceNowBuildVersion"],"members":{"HostUrl":{},"SecretArn":{},"ServiceNowBuildVersion":{},"KnowledgeArticleConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"},"FilterQuery":{}}},"ServiceCatalogConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S29"},"ExcludeAttachmentFilePatterns":{"shape":"S29"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S2n"}}},"AuthenticationType":{}}},"ConfluenceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn","Version"],"members":{"ServerUrl":{},"SecretArn":{},"Version":{},"SpaceConfiguration":{"type":"structure","members":{"CrawlPersonalSpaces":{"type":"boolean"},"CrawlArchivedSpaces":{"type":"boolean"},"IncludeSpaces":{"shape":"S3z"},"ExcludeSpaces":{"shape":"S3z"},"SpaceFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"PageConfiguration":{"type":"structure","members":{"PageFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"BlogConfiguration":{"type":"structure","members":{"BlogFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"AttachmentConfiguration":{"type":"structure","members":{"CrawlAttachments":{"type":"boolean"},"AttachmentFieldMappings":{"type":"list","member":{"type":"structure","members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}}}},"VpcConfiguration":{"shape":"S2i"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"}}},"GoogleDriveConfiguration":{"type":"structure","required":["SecretArn"],"members":{"SecretArn":{},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"},"ExcludeMimeTypes":{"type":"list","member":{}},"ExcludeUserAccounts":{"type":"list","member":{}},"ExcludeSharedDrives":{"type":"list","member":{}}}},"WebCrawlerConfiguration":{"type":"structure","required":["Urls"],"members":{"Urls":{"type":"structure","members":{"SeedUrlConfiguration":{"type":"structure","required":["SeedUrls"],"members":{"SeedUrls":{"type":"list","member":{}},"WebCrawlerMode":{}}},"SiteMapsConfiguration":{"type":"structure","required":["SiteMaps"],"members":{"SiteMaps":{"type":"list","member":{}}}}}},"CrawlDepth":{"type":"integer"},"MaxLinksPerPage":{"type":"integer"},"MaxContentSizePerPageInMegaBytes":{"type":"float"},"MaxUrlsPerMinuteCrawlRate":{"type":"integer"},"UrlInclusionPatterns":{"shape":"S29"},"UrlExclusionPatterns":{"shape":"S29"},"ProxyConfiguration":{"type":"structure","required":["Host","Port"],"members":{"Host":{},"Port":{"type":"integer"},"Credentials":{}}},"AuthenticationConfiguration":{"type":"structure","members":{"BasicAuthentication":{"type":"list","member":{"type":"structure","required":["Host","Port","Credentials"],"members":{"Host":{},"Port":{"type":"integer"},"Credentials":{}}}}}}}},"WorkDocsConfiguration":{"type":"structure","required":["OrganizationId"],"members":{"OrganizationId":{},"CrawlComments":{"type":"boolean"},"UseChangeLog":{"type":"boolean"},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"}}},"FsxConfiguration":{"type":"structure","required":["FileSystemId","FileSystemType","VpcConfiguration"],"members":{"FileSystemId":{},"FileSystemType":{},"VpcConfiguration":{"shape":"S2i"},"SecretArn":{},"InclusionPatterns":{"shape":"S29"},"ExclusionPatterns":{"shape":"S29"},"FieldMappings":{"shape":"S2n"}}}}},"S29":{"type":"list","member":{}},"S2i":{"type":"structure","required":["SubnetIds","SecurityGroupIds"],"members":{"SubnetIds":{"type":"list","member":{}},"SecurityGroupIds":{"type":"list","member":{}}}},"S2n":{"type":"list","member":{"type":"structure","required":["DataSourceFieldName","IndexFieldName"],"members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}},"S3z":{"type":"list","member":{}},"S5d":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S5m":{"type":"structure","members":{"ContentSourceConfiguration":{"type":"structure","members":{"DataSourceIds":{"type":"list","member":{}},"FaqIds":{"type":"list","member":{}},"DirectPutContent":{"type":"boolean"}}},"UserIdentityConfiguration":{"type":"structure","members":{"IdentityAttributeName":{}}}}},"S61":{"type":"structure","members":{"KmsKeyId":{"type":"string","sensitive":true}}},"S63":{"type":"list","member":{"type":"structure","members":{"JwtTokenTypeConfiguration":{"type":"structure","required":["KeyLocation"],"members":{"KeyLocation":{},"URL":{},"SecretManagerArn":{},"UserNameAttributeField":{},"GroupAttributeField":{},"Issuer":{},"ClaimRegex":{}}},"JsonTokenTypeConfiguration":{"type":"structure","required":["UserNameAttributeField","GroupAttributeField"],"members":{"UserNameAttributeField":{},"GroupAttributeField":{}}}}}},"S6d":{"type":"structure","required":["UserGroupResolutionMode"],"members":{"UserGroupResolutionMode":{}}},"S73":{"type":"list","member":{"type":"structure","members":{"EndpointType":{},"Endpoint":{}}}},"S7e":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Relevance":{"shape":"S7i"},"Search":{"type":"structure","members":{"Facetable":{"type":"boolean"},"Searchable":{"type":"boolean"},"Displayable":{"type":"boolean"},"Sortable":{"type":"boolean"}}}}}},"S7i":{"type":"structure","members":{"Freshness":{"type":"boolean"},"Importance":{"type":"integer"},"Duration":{},"RankOrder":{},"ValueImportanceMap":{"type":"map","key":{},"value":{"type":"integer"}}}},"S7w":{"type":"structure","required":["StorageCapacityUnits","QueryCapacityUnits"],"members":{"StorageCapacityUnits":{"type":"integer"},"QueryCapacityUnits":{"type":"integer"}}},"S95":{"type":"structure","members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"S9w":{"type":"string","sensitive":true},"Sb3":{"type":"structure","members":{"AndAllFilters":{"shape":"Sb4"},"OrAllFilters":{"shape":"Sb4"},"NotFilter":{"shape":"Sb3"},"EqualsTo":{"shape":"Sw"},"ContainsAll":{"shape":"Sw"},"ContainsAny":{"shape":"Sw"},"GreaterThan":{"shape":"Sw"},"GreaterThanOrEquals":{"shape":"Sw"},"LessThan":{"shape":"Sw"},"LessThanOrEquals":{"shape":"Sw"}}},"Sb4":{"type":"list","member":{"shape":"Sb3"}},"Sbr":{"type":"structure","members":{"Text":{},"Highlights":{"type":"list","member":{"type":"structure","required":["BeginOffset","EndOffset"],"members":{"BeginOffset":{"type":"integer"},"EndOffset":{"type":"integer"},"TopAnswer":{"type":"boolean"},"Type":{}}}}}}}} /***/ }), /* 850 */ /***/ (function(module, exports) { - module.exports = {"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"}}} + module.exports = {"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"}}} /***/ }), /* 851 */ @@ -52753,7 +52759,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 873 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-11","endpointPrefix":"synthetics","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Synthetics","serviceFullName":"Synthetics","serviceId":"synthetics","signatureVersion":"v4","signingName":"synthetics","uid":"synthetics-2017-10-11"},"operations":{"CreateCanary":{"http":{"requestUri":"/canary"},"input":{"type":"structure","required":["Name","Code","ArtifactS3Location","ExecutionRoleArn","Schedule","RuntimeVersion"],"members":{"Name":{},"Code":{"shape":"S3"},"ArtifactS3Location":{},"ExecutionRoleArn":{},"Schedule":{"shape":"S7"},"RunConfig":{"shape":"S9"},"SuccessRetentionPeriodInDays":{"type":"integer"},"FailureRetentionPeriodInDays":{"type":"integer"},"RuntimeVersion":{},"VpcConfig":{"shape":"Sh"},"Tags":{"shape":"Sm"},"ArtifactConfig":{"shape":"Sp"}}},"output":{"type":"structure","members":{"Canary":{"shape":"Su"}}}},"DeleteCanary":{"http":{"method":"DELETE","requestUri":"/canary/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{}}},"DescribeCanaries":{"http":{"requestUri":"/canaries"},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Canaries":{"type":"list","member":{"shape":"Su"}},"NextToken":{}}}},"DescribeCanariesLastRun":{"http":{"requestUri":"/canaries/last-run"},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"CanariesLastRun":{"type":"list","member":{"type":"structure","members":{"CanaryName":{},"LastRun":{"shape":"S1p"}}}},"NextToken":{}}}},"DescribeRuntimeVersions":{"http":{"requestUri":"/runtime-versions"},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"RuntimeVersions":{"type":"list","member":{"type":"structure","members":{"VersionName":{},"Description":{},"ReleaseDate":{"type":"timestamp"},"DeprecationDate":{"type":"timestamp"}}}},"NextToken":{}}}},"GetCanary":{"http":{"method":"GET","requestUri":"/canary/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Canary":{"shape":"Su"}}}},"GetCanaryRuns":{"http":{"requestUri":"/canary/{name}/runs"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"CanaryRuns":{"type":"list","member":{"shape":"S1p"}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sm"}}}},"StartCanary":{"http":{"requestUri":"/canary/{name}/start"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{}}},"StopCanary":{"http":{"requestUri":"/canary/{name}/stop"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateCanary":{"http":{"method":"PATCH","requestUri":"/canary/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"Code":{"shape":"S3"},"ExecutionRoleArn":{},"RuntimeVersion":{},"Schedule":{"shape":"S7"},"RunConfig":{"shape":"S9"},"SuccessRetentionPeriodInDays":{"type":"integer"},"FailureRetentionPeriodInDays":{"type":"integer"},"VpcConfig":{"shape":"Sh"},"VisualReference":{"type":"structure","required":["BaseCanaryRunId"],"members":{"BaseScreenshots":{"shape":"S18"},"BaseCanaryRunId":{}}},"ArtifactS3Location":{},"ArtifactConfig":{"shape":"Sp"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S3":{"type":"structure","required":["Handler"],"members":{"S3Bucket":{},"S3Key":{},"S3Version":{},"ZipFile":{"type":"blob"},"Handler":{}}},"S7":{"type":"structure","required":["Expression"],"members":{"Expression":{},"DurationInSeconds":{"type":"long"}}},"S9":{"type":"structure","members":{"TimeoutInSeconds":{"type":"integer"},"MemoryInMB":{"type":"integer"},"ActiveTracing":{"type":"boolean"},"EnvironmentVariables":{"type":"map","key":{},"value":{}}}},"Sh":{"type":"structure","members":{"SubnetIds":{"shape":"Si"},"SecurityGroupIds":{"shape":"Sk"}}},"Si":{"type":"list","member":{}},"Sk":{"type":"list","member":{}},"Sm":{"type":"map","key":{},"value":{}},"Sp":{"type":"structure","members":{"S3Encryption":{"shape":"Sq"}}},"Sq":{"type":"structure","members":{"EncryptionMode":{},"KmsKeyArn":{}}},"Su":{"type":"structure","members":{"Id":{},"Name":{},"Code":{"type":"structure","members":{"SourceLocationArn":{},"Handler":{}}},"ExecutionRoleArn":{},"Schedule":{"type":"structure","members":{"Expression":{},"DurationInSeconds":{"type":"long"}}},"RunConfig":{"type":"structure","members":{"TimeoutInSeconds":{"type":"integer"},"MemoryInMB":{"type":"integer"},"ActiveTracing":{"type":"boolean"}}},"SuccessRetentionPeriodInDays":{"type":"integer"},"FailureRetentionPeriodInDays":{"type":"integer"},"Status":{"type":"structure","members":{"State":{},"StateReason":{},"StateReasonCode":{}}},"Timeline":{"type":"structure","members":{"Created":{"type":"timestamp"},"LastModified":{"type":"timestamp"},"LastStarted":{"type":"timestamp"},"LastStopped":{"type":"timestamp"}}},"ArtifactS3Location":{},"EngineArn":{},"RuntimeVersion":{},"VpcConfig":{"type":"structure","members":{"VpcId":{},"SubnetIds":{"shape":"Si"},"SecurityGroupIds":{"shape":"Sk"}}},"VisualReference":{"type":"structure","members":{"BaseScreenshots":{"shape":"S18"},"BaseCanaryRunId":{}}},"Tags":{"shape":"Sm"},"ArtifactConfig":{"type":"structure","members":{"S3Encryption":{"shape":"Sq"}}}}},"S18":{"type":"list","member":{"type":"structure","required":["ScreenshotName"],"members":{"ScreenshotName":{},"IgnoreCoordinates":{"type":"list","member":{}}}}},"S1p":{"type":"structure","members":{"Id":{},"Name":{},"Status":{"type":"structure","members":{"State":{},"StateReason":{},"StateReasonCode":{}}},"Timeline":{"type":"structure","members":{"Started":{"type":"timestamp"},"Completed":{"type":"timestamp"}}},"ArtifactS3Location":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-11","endpointPrefix":"synthetics","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Synthetics","serviceFullName":"Synthetics","serviceId":"synthetics","signatureVersion":"v4","signingName":"synthetics","uid":"synthetics-2017-10-11"},"operations":{"CreateCanary":{"http":{"requestUri":"/canary"},"input":{"type":"structure","required":["Name","Code","ArtifactS3Location","ExecutionRoleArn","Schedule","RuntimeVersion"],"members":{"Name":{},"Code":{"shape":"S3"},"ArtifactS3Location":{},"ExecutionRoleArn":{},"Schedule":{"shape":"S7"},"RunConfig":{"shape":"S9"},"SuccessRetentionPeriodInDays":{"type":"integer"},"FailureRetentionPeriodInDays":{"type":"integer"},"RuntimeVersion":{},"VpcConfig":{"shape":"Sh"},"Tags":{"shape":"Sm"},"ArtifactConfig":{"shape":"Sp"}}},"output":{"type":"structure","members":{"Canary":{"shape":"Su"}}}},"DeleteCanary":{"http":{"method":"DELETE","requestUri":"/canary/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{}}},"DescribeCanaries":{"http":{"requestUri":"/canaries"},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Names":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Canaries":{"type":"list","member":{"shape":"Su"}},"NextToken":{}}}},"DescribeCanariesLastRun":{"http":{"requestUri":"/canaries/last-run"},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Names":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"CanariesLastRun":{"type":"list","member":{"type":"structure","members":{"CanaryName":{},"LastRun":{"shape":"S1r"}}}},"NextToken":{}}}},"DescribeRuntimeVersions":{"http":{"requestUri":"/runtime-versions"},"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"RuntimeVersions":{"type":"list","member":{"type":"structure","members":{"VersionName":{},"Description":{},"ReleaseDate":{"type":"timestamp"},"DeprecationDate":{"type":"timestamp"}}}},"NextToken":{}}}},"GetCanary":{"http":{"method":"GET","requestUri":"/canary/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Canary":{"shape":"Su"}}}},"GetCanaryRuns":{"http":{"requestUri":"/canary/{name}/runs"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"CanaryRuns":{"type":"list","member":{"shape":"S1r"}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sm"}}}},"StartCanary":{"http":{"requestUri":"/canary/{name}/start"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{}}},"StopCanary":{"http":{"requestUri":"/canary/{name}/stop"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateCanary":{"http":{"method":"PATCH","requestUri":"/canary/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"Code":{"shape":"S3"},"ExecutionRoleArn":{},"RuntimeVersion":{},"Schedule":{"shape":"S7"},"RunConfig":{"shape":"S9"},"SuccessRetentionPeriodInDays":{"type":"integer"},"FailureRetentionPeriodInDays":{"type":"integer"},"VpcConfig":{"shape":"Sh"},"VisualReference":{"type":"structure","required":["BaseCanaryRunId"],"members":{"BaseScreenshots":{"shape":"S18"},"BaseCanaryRunId":{}}},"ArtifactS3Location":{},"ArtifactConfig":{"shape":"Sp"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S3":{"type":"structure","required":["Handler"],"members":{"S3Bucket":{},"S3Key":{},"S3Version":{},"ZipFile":{"type":"blob"},"Handler":{}}},"S7":{"type":"structure","required":["Expression"],"members":{"Expression":{},"DurationInSeconds":{"type":"long"}}},"S9":{"type":"structure","members":{"TimeoutInSeconds":{"type":"integer"},"MemoryInMB":{"type":"integer"},"ActiveTracing":{"type":"boolean"},"EnvironmentVariables":{"type":"map","key":{},"value":{}}}},"Sh":{"type":"structure","members":{"SubnetIds":{"shape":"Si"},"SecurityGroupIds":{"shape":"Sk"}}},"Si":{"type":"list","member":{}},"Sk":{"type":"list","member":{}},"Sm":{"type":"map","key":{},"value":{}},"Sp":{"type":"structure","members":{"S3Encryption":{"shape":"Sq"}}},"Sq":{"type":"structure","members":{"EncryptionMode":{},"KmsKeyArn":{}}},"Su":{"type":"structure","members":{"Id":{},"Name":{},"Code":{"type":"structure","members":{"SourceLocationArn":{},"Handler":{}}},"ExecutionRoleArn":{},"Schedule":{"type":"structure","members":{"Expression":{},"DurationInSeconds":{"type":"long"}}},"RunConfig":{"type":"structure","members":{"TimeoutInSeconds":{"type":"integer"},"MemoryInMB":{"type":"integer"},"ActiveTracing":{"type":"boolean"}}},"SuccessRetentionPeriodInDays":{"type":"integer"},"FailureRetentionPeriodInDays":{"type":"integer"},"Status":{"type":"structure","members":{"State":{},"StateReason":{},"StateReasonCode":{}}},"Timeline":{"type":"structure","members":{"Created":{"type":"timestamp"},"LastModified":{"type":"timestamp"},"LastStarted":{"type":"timestamp"},"LastStopped":{"type":"timestamp"}}},"ArtifactS3Location":{},"EngineArn":{},"RuntimeVersion":{},"VpcConfig":{"type":"structure","members":{"VpcId":{},"SubnetIds":{"shape":"Si"},"SecurityGroupIds":{"shape":"Sk"}}},"VisualReference":{"type":"structure","members":{"BaseScreenshots":{"shape":"S18"},"BaseCanaryRunId":{}}},"Tags":{"shape":"Sm"},"ArtifactConfig":{"type":"structure","members":{"S3Encryption":{"shape":"Sq"}}}}},"S18":{"type":"list","member":{"type":"structure","required":["ScreenshotName"],"members":{"ScreenshotName":{},"IgnoreCoordinates":{"type":"list","member":{}}}}},"S1r":{"type":"structure","members":{"Id":{},"Name":{},"Status":{"type":"structure","members":{"State":{},"StateReason":{},"StateReasonCode":{}}},"Timeline":{"type":"structure","members":{"Started":{"type":"timestamp"},"Completed":{"type":"timestamp"}}},"ArtifactS3Location":{}}}}} /***/ }), /* 874 */ @@ -52832,7 +52838,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 880 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2020-01-01","endpointPrefix":"macie2","signingName":"macie2","serviceFullName":"Amazon Macie 2","serviceId":"Macie2","protocol":"rest-json","jsonVersion":"1.1","uid":"macie2-2020-01-01","signatureVersion":"v4"},"operations":{"AcceptInvitation":{"http":{"requestUri":"/invitations/accept","responseCode":200},"input":{"type":"structure","members":{"administratorAccountId":{"locationName":"administratorAccountId"},"invitationId":{"locationName":"invitationId"},"masterAccount":{"locationName":"masterAccount"}},"required":["invitationId"]},"output":{"type":"structure","members":{}}},"BatchGetCustomDataIdentifiers":{"http":{"requestUri":"/custom-data-identifiers/get","responseCode":200},"input":{"type":"structure","members":{"ids":{"shape":"S5","locationName":"ids"}}},"output":{"type":"structure","members":{"customDataIdentifiers":{"locationName":"customDataIdentifiers","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"deleted":{"locationName":"deleted","type":"boolean"},"description":{"locationName":"description"},"id":{"locationName":"id"},"name":{"locationName":"name"}}}},"notFoundIdentifierIds":{"shape":"S5","locationName":"notFoundIdentifierIds"}}}},"CreateClassificationJob":{"http":{"requestUri":"/jobs","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"customDataIdentifierIds":{"shape":"S5","locationName":"customDataIdentifierIds"},"description":{"locationName":"description"},"initialRun":{"locationName":"initialRun","type":"boolean"},"jobType":{"locationName":"jobType"},"managedDataIdentifierIds":{"shape":"S5","locationName":"managedDataIdentifierIds"},"managedDataIdentifierSelector":{"locationName":"managedDataIdentifierSelector"},"name":{"locationName":"name"},"s3JobDefinition":{"shape":"Se","locationName":"s3JobDefinition"},"samplingPercentage":{"locationName":"samplingPercentage","type":"integer"},"scheduleFrequency":{"shape":"S12","locationName":"scheduleFrequency"},"tags":{"shape":"S17","locationName":"tags"}},"required":["s3JobDefinition","jobType","clientToken","name"]},"output":{"type":"structure","members":{"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"}}}},"CreateCustomDataIdentifier":{"http":{"requestUri":"/custom-data-identifiers","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"description":{"locationName":"description"},"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"name":{"locationName":"name"},"regex":{"locationName":"regex"},"severityLevels":{"shape":"S1a","locationName":"severityLevels"},"tags":{"shape":"S17","locationName":"tags"}}},"output":{"type":"structure","members":{"customDataIdentifierId":{"locationName":"customDataIdentifierId"}}}},"CreateFindingsFilter":{"http":{"requestUri":"/findingsfilters","responseCode":200},"input":{"type":"structure","members":{"action":{"locationName":"action"},"clientToken":{"locationName":"clientToken","idempotencyToken":true},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"tags":{"shape":"S17","locationName":"tags"}},"required":["action","findingCriteria","name"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"id":{"locationName":"id"}}}},"CreateInvitations":{"http":{"requestUri":"/invitations","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"},"disableEmailNotification":{"locationName":"disableEmailNotification","type":"boolean"},"message":{"locationName":"message"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"CreateMember":{"http":{"requestUri":"/members","responseCode":200},"input":{"type":"structure","members":{"account":{"locationName":"account","type":"structure","members":{"accountId":{"locationName":"accountId"},"email":{"locationName":"email"}},"required":["email","accountId"]},"tags":{"shape":"S17","locationName":"tags"}},"required":["account"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"}}}},"CreateSampleFindings":{"http":{"requestUri":"/findings/sample","responseCode":200},"input":{"type":"structure","members":{"findingTypes":{"locationName":"findingTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeclineInvitations":{"http":{"requestUri":"/invitations/decline","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"DeleteCustomDataIdentifier":{"http":{"method":"DELETE","requestUri":"/custom-data-identifiers/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DeleteFindingsFilter":{"http":{"method":"DELETE","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DeleteInvitations":{"http":{"requestUri":"/invitations/delete","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"DeleteMember":{"http":{"method":"DELETE","requestUri":"/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DescribeBuckets":{"http":{"requestUri":"/datasources/s3","responseCode":200},"input":{"type":"structure","members":{"criteria":{"locationName":"criteria","type":"map","key":{},"value":{"type":"structure","members":{"eq":{"shape":"S5","locationName":"eq"},"gt":{"locationName":"gt","type":"long"},"gte":{"locationName":"gte","type":"long"},"lt":{"locationName":"lt","type":"long"},"lte":{"locationName":"lte","type":"long"},"neq":{"shape":"S5","locationName":"neq"},"prefix":{"locationName":"prefix"}}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"buckets":{"locationName":"buckets","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads"},"bucketArn":{"locationName":"bucketArn"},"bucketCreatedAt":{"shape":"S9","locationName":"bucketCreatedAt"},"bucketName":{"locationName":"bucketName"},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"},"jobDetails":{"shape":"S2h","locationName":"jobDetails"},"lastUpdated":{"shape":"S9","locationName":"lastUpdated"},"objectCount":{"locationName":"objectCount","type":"long"},"objectCountByEncryptionType":{"shape":"S2k","locationName":"objectCountByEncryptionType"},"publicAccess":{"shape":"S2l","locationName":"publicAccess"},"region":{"locationName":"region"},"replicationDetails":{"locationName":"replicationDetails","type":"structure","members":{"replicated":{"locationName":"replicated","type":"boolean"},"replicatedExternally":{"locationName":"replicatedExternally","type":"boolean"},"replicationAccounts":{"shape":"S5","locationName":"replicationAccounts"}}},"serverSideEncryption":{"locationName":"serverSideEncryption","type":"structure","members":{"kmsMasterKeyId":{"locationName":"kmsMasterKeyId"},"type":{"locationName":"type"}}},"sharedAccess":{"locationName":"sharedAccess"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"tags":{"locationName":"tags","type":"list","member":{"shape":"S2y"}},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"},"versioning":{"locationName":"versioning","type":"boolean"}}}},"nextToken":{"locationName":"nextToken"}}}},"DescribeClassificationJob":{"http":{"method":"GET","requestUri":"/jobs/{jobId}","responseCode":200},"input":{"type":"structure","members":{"jobId":{"location":"uri","locationName":"jobId"}},"required":["jobId"]},"output":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"createdAt":{"shape":"S9","locationName":"createdAt"},"customDataIdentifierIds":{"shape":"S5","locationName":"customDataIdentifierIds"},"description":{"locationName":"description"},"initialRun":{"locationName":"initialRun","type":"boolean"},"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"},"jobType":{"locationName":"jobType"},"lastRunErrorStatus":{"shape":"S33","locationName":"lastRunErrorStatus"},"lastRunTime":{"shape":"S9","locationName":"lastRunTime"},"managedDataIdentifierIds":{"shape":"S5","locationName":"managedDataIdentifierIds"},"managedDataIdentifierSelector":{"locationName":"managedDataIdentifierSelector"},"name":{"locationName":"name"},"s3JobDefinition":{"shape":"Se","locationName":"s3JobDefinition"},"samplingPercentage":{"locationName":"samplingPercentage","type":"integer"},"scheduleFrequency":{"shape":"S12","locationName":"scheduleFrequency"},"statistics":{"locationName":"statistics","type":"structure","members":{"approximateNumberOfObjectsToProcess":{"locationName":"approximateNumberOfObjectsToProcess","type":"double"},"numberOfRuns":{"locationName":"numberOfRuns","type":"double"}}},"tags":{"shape":"S17","locationName":"tags"},"userPausedDetails":{"shape":"S37","locationName":"userPausedDetails"}}}},"DescribeOrganizationConfiguration":{"http":{"method":"GET","requestUri":"/admin/configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"autoEnable":{"locationName":"autoEnable","type":"boolean"},"maxAccountLimitReached":{"locationName":"maxAccountLimitReached","type":"boolean"}}}},"DisableMacie":{"http":{"method":"DELETE","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisableOrganizationAdminAccount":{"http":{"method":"DELETE","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"adminAccountId":{"location":"querystring","locationName":"adminAccountId"}},"required":["adminAccountId"]},"output":{"type":"structure","members":{}}},"DisassociateFromAdministratorAccount":{"http":{"requestUri":"/administrator/disassociate","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateFromMasterAccount":{"http":{"requestUri":"/master/disassociate","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateMember":{"http":{"requestUri":"/members/disassociate/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"EnableMacie":{"http":{"requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"status":{"locationName":"status"}}},"output":{"type":"structure","members":{}}},"EnableOrganizationAdminAccount":{"http":{"requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"adminAccountId":{"locationName":"adminAccountId"},"clientToken":{"locationName":"clientToken","idempotencyToken":true}},"required":["adminAccountId"]},"output":{"type":"structure","members":{}}},"GetAdministratorAccount":{"http":{"method":"GET","requestUri":"/administrator","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"administrator":{"shape":"S3s","locationName":"administrator"}}}},"GetBucketStatistics":{"http":{"requestUri":"/datasources/s3/statistics","responseCode":200},"input":{"type":"structure","members":{"accountId":{"locationName":"accountId"}}},"output":{"type":"structure","members":{"bucketCount":{"locationName":"bucketCount","type":"long"},"bucketCountByEffectivePermission":{"locationName":"bucketCountByEffectivePermission","type":"structure","members":{"publiclyAccessible":{"locationName":"publiclyAccessible","type":"long"},"publiclyReadable":{"locationName":"publiclyReadable","type":"long"},"publiclyWritable":{"locationName":"publiclyWritable","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountByEncryptionType":{"locationName":"bucketCountByEncryptionType","type":"structure","members":{"kmsManaged":{"locationName":"kmsManaged","type":"long"},"s3Managed":{"locationName":"s3Managed","type":"long"},"unencrypted":{"locationName":"unencrypted","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountByObjectEncryptionRequirement":{"locationName":"bucketCountByObjectEncryptionRequirement","type":"structure","members":{"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads","type":"long"},"deniesUnencryptedObjectUploads":{"locationName":"deniesUnencryptedObjectUploads","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountBySharedAccessType":{"locationName":"bucketCountBySharedAccessType","type":"structure","members":{"external":{"locationName":"external","type":"long"},"internal":{"locationName":"internal","type":"long"},"notShared":{"locationName":"notShared","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"lastUpdated":{"shape":"S9","locationName":"lastUpdated"},"objectCount":{"locationName":"objectCount","type":"long"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"}}}},"GetClassificationExportConfiguration":{"http":{"method":"GET","requestUri":"/classification-export-configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}}}},"GetCustomDataIdentifier":{"http":{"method":"GET","requestUri":"/custom-data-identifiers/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"deleted":{"locationName":"deleted","type":"boolean"},"description":{"locationName":"description"},"id":{"locationName":"id"},"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"name":{"locationName":"name"},"regex":{"locationName":"regex"},"severityLevels":{"shape":"S1a","locationName":"severityLevels"},"tags":{"shape":"S17","locationName":"tags"}}}},"GetFindingStatistics":{"http":{"requestUri":"/findings/statistics","responseCode":200},"input":{"type":"structure","members":{"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"groupBy":{"locationName":"groupBy"},"size":{"locationName":"size","type":"integer"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}},"required":["groupBy"]},"output":{"type":"structure","members":{"countsByGroup":{"locationName":"countsByGroup","type":"list","member":{"type":"structure","members":{"count":{"locationName":"count","type":"long"},"groupKey":{"locationName":"groupKey"}}}}}}},"GetFindings":{"http":{"requestUri":"/findings/describe","responseCode":200},"input":{"type":"structure","members":{"findingIds":{"shape":"S5","locationName":"findingIds"},"sortCriteria":{"shape":"S4e","locationName":"sortCriteria"}},"required":["findingIds"]},"output":{"type":"structure","members":{"findings":{"locationName":"findings","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"archived":{"locationName":"archived","type":"boolean"},"category":{"locationName":"category"},"classificationDetails":{"locationName":"classificationDetails","type":"structure","members":{"detailedResultsLocation":{"locationName":"detailedResultsLocation"},"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"},"result":{"locationName":"result","type":"structure","members":{"additionalOccurrences":{"locationName":"additionalOccurrences","type":"boolean"},"customDataIdentifiers":{"locationName":"customDataIdentifiers","type":"structure","members":{"detections":{"locationName":"detections","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"count":{"locationName":"count","type":"long"},"name":{"locationName":"name"},"occurrences":{"shape":"S4o","locationName":"occurrences"}}}},"totalCount":{"locationName":"totalCount","type":"long"}}},"mimeType":{"locationName":"mimeType"},"sensitiveData":{"locationName":"sensitiveData","type":"list","member":{"type":"structure","members":{"category":{"locationName":"category"},"detections":{"locationName":"detections","type":"list","member":{"type":"structure","members":{"count":{"locationName":"count","type":"long"},"occurrences":{"shape":"S4o","locationName":"occurrences"},"type":{"locationName":"type"}}}},"totalCount":{"locationName":"totalCount","type":"long"}}}},"sizeClassified":{"locationName":"sizeClassified","type":"long"},"status":{"locationName":"status","type":"structure","members":{"code":{"locationName":"code"},"reason":{"locationName":"reason"}}}}}}},"count":{"locationName":"count","type":"long"},"createdAt":{"shape":"S9","locationName":"createdAt"},"description":{"locationName":"description"},"id":{"locationName":"id"},"partition":{"locationName":"partition"},"policyDetails":{"locationName":"policyDetails","type":"structure","members":{"action":{"locationName":"action","type":"structure","members":{"actionType":{"locationName":"actionType"},"apiCallDetails":{"locationName":"apiCallDetails","type":"structure","members":{"api":{"locationName":"api"},"apiServiceName":{"locationName":"apiServiceName"},"firstSeen":{"shape":"S9","locationName":"firstSeen"},"lastSeen":{"shape":"S9","locationName":"lastSeen"}}}}},"actor":{"locationName":"actor","type":"structure","members":{"domainDetails":{"locationName":"domainDetails","type":"structure","members":{"domainName":{"locationName":"domainName"}}},"ipAddressDetails":{"locationName":"ipAddressDetails","type":"structure","members":{"ipAddressV4":{"locationName":"ipAddressV4"},"ipCity":{"locationName":"ipCity","type":"structure","members":{"name":{"locationName":"name"}}},"ipCountry":{"locationName":"ipCountry","type":"structure","members":{"code":{"locationName":"code"},"name":{"locationName":"name"}}},"ipGeoLocation":{"locationName":"ipGeoLocation","type":"structure","members":{"lat":{"locationName":"lat","type":"double"},"lon":{"locationName":"lon","type":"double"}}},"ipOwner":{"locationName":"ipOwner","type":"structure","members":{"asn":{"locationName":"asn"},"asnOrg":{"locationName":"asnOrg"},"isp":{"locationName":"isp"},"org":{"locationName":"org"}}}}},"userIdentity":{"locationName":"userIdentity","type":"structure","members":{"assumedRole":{"locationName":"assumedRole","type":"structure","members":{"accessKeyId":{"locationName":"accessKeyId"},"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"sessionContext":{"shape":"S5g","locationName":"sessionContext"}}},"awsAccount":{"locationName":"awsAccount","type":"structure","members":{"accountId":{"locationName":"accountId"},"principalId":{"locationName":"principalId"}}},"awsService":{"locationName":"awsService","type":"structure","members":{"invokedBy":{"locationName":"invokedBy"}}},"federatedUser":{"locationName":"federatedUser","type":"structure","members":{"accessKeyId":{"locationName":"accessKeyId"},"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"sessionContext":{"shape":"S5g","locationName":"sessionContext"}}},"iamUser":{"locationName":"iamUser","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"userName":{"locationName":"userName"}}},"root":{"locationName":"root","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"}}},"type":{"locationName":"type"}}}}}}},"region":{"locationName":"region"},"resourcesAffected":{"locationName":"resourcesAffected","type":"structure","members":{"s3Bucket":{"locationName":"s3Bucket","type":"structure","members":{"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads"},"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"defaultServerSideEncryption":{"shape":"S5r","locationName":"defaultServerSideEncryption"},"name":{"locationName":"name"},"owner":{"locationName":"owner","type":"structure","members":{"displayName":{"locationName":"displayName"},"id":{"locationName":"id"}}},"publicAccess":{"shape":"S2l","locationName":"publicAccess"},"tags":{"shape":"S5u","locationName":"tags"}}},"s3Object":{"locationName":"s3Object","type":"structure","members":{"bucketArn":{"locationName":"bucketArn"},"eTag":{"locationName":"eTag"},"extension":{"locationName":"extension"},"key":{"locationName":"key"},"lastModified":{"shape":"S9","locationName":"lastModified"},"path":{"locationName":"path"},"publicAccess":{"locationName":"publicAccess","type":"boolean"},"serverSideEncryption":{"shape":"S5r","locationName":"serverSideEncryption"},"size":{"locationName":"size","type":"long"},"storageClass":{"locationName":"storageClass"},"tags":{"shape":"S5u","locationName":"tags"},"versionId":{"locationName":"versionId"}}}}},"sample":{"locationName":"sample","type":"boolean"},"schemaVersion":{"locationName":"schemaVersion"},"severity":{"locationName":"severity","type":"structure","members":{"description":{"locationName":"description"},"score":{"locationName":"score","type":"long"}}},"title":{"locationName":"title"},"type":{"locationName":"type"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}}}}},"GetFindingsFilter":{"http":{"method":"GET","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"action":{"locationName":"action"},"arn":{"locationName":"arn"},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"id":{"locationName":"id"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"tags":{"shape":"S17","locationName":"tags"}}}},"GetFindingsPublicationConfiguration":{"http":{"method":"GET","requestUri":"/findings-publication-configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"securityHubConfiguration":{"shape":"S63","locationName":"securityHubConfiguration"}}}},"GetInvitationsCount":{"http":{"method":"GET","requestUri":"/invitations/count","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"invitationsCount":{"locationName":"invitationsCount","type":"long"}}}},"GetMacieSession":{"http":{"method":"GET","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"createdAt":{"shape":"S9","locationName":"createdAt"},"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"serviceRole":{"locationName":"serviceRole"},"status":{"locationName":"status"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"GetMasterAccount":{"http":{"method":"GET","requestUri":"/master","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"master":{"shape":"S3s","locationName":"master"}}}},"GetMember":{"http":{"method":"GET","requestUri":"/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"administratorAccountId":{"locationName":"administratorAccountId"},"arn":{"locationName":"arn"},"email":{"locationName":"email"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"masterAccountId":{"locationName":"masterAccountId"},"relationshipStatus":{"locationName":"relationshipStatus"},"tags":{"shape":"S17","locationName":"tags"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"GetUsageStatistics":{"http":{"requestUri":"/usage/statistics","responseCode":200},"input":{"type":"structure","members":{"filterBy":{"locationName":"filterBy","type":"list","member":{"type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortBy":{"locationName":"sortBy","type":"structure","members":{"key":{"locationName":"key"},"orderBy":{"locationName":"orderBy"}}},"timeRange":{"locationName":"timeRange"}}},"output":{"type":"structure","members":{"nextToken":{"locationName":"nextToken"},"records":{"locationName":"records","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"freeTrialStartDate":{"shape":"S9","locationName":"freeTrialStartDate"},"usage":{"locationName":"usage","type":"list","member":{"type":"structure","members":{"currency":{"locationName":"currency"},"estimatedCost":{"locationName":"estimatedCost"},"serviceLimit":{"locationName":"serviceLimit","type":"structure","members":{"isServiceLimited":{"locationName":"isServiceLimited","type":"boolean"},"unit":{"locationName":"unit"},"value":{"locationName":"value","type":"long"}}},"type":{"locationName":"type"}}}}}}},"timeRange":{"locationName":"timeRange"}}}},"GetUsageTotals":{"http":{"method":"GET","requestUri":"/usage","responseCode":200},"input":{"type":"structure","members":{"timeRange":{"location":"querystring","locationName":"timeRange"}}},"output":{"type":"structure","members":{"timeRange":{"locationName":"timeRange"},"usageTotals":{"locationName":"usageTotals","type":"list","member":{"type":"structure","members":{"currency":{"locationName":"currency"},"estimatedCost":{"locationName":"estimatedCost"},"type":{"locationName":"type"}}}}}}},"ListClassificationJobs":{"http":{"requestUri":"/jobs/list","responseCode":200},"input":{"type":"structure","members":{"filterCriteria":{"locationName":"filterCriteria","type":"structure","members":{"excludes":{"shape":"S6z","locationName":"excludes"},"includes":{"shape":"S6z","locationName":"includes"}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"bucketDefinitions":{"shape":"Sf","locationName":"bucketDefinitions"},"createdAt":{"shape":"S9","locationName":"createdAt"},"jobId":{"locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"},"jobType":{"locationName":"jobType"},"lastRunErrorStatus":{"shape":"S33","locationName":"lastRunErrorStatus"},"name":{"locationName":"name"},"userPausedDetails":{"shape":"S37","locationName":"userPausedDetails"},"bucketCriteria":{"shape":"Ss","locationName":"bucketCriteria"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListCustomDataIdentifiers":{"http":{"requestUri":"/custom-data-identifiers/list","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"description":{"locationName":"description"},"id":{"locationName":"id"},"name":{"locationName":"name"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListFindings":{"http":{"requestUri":"/findings","responseCode":200},"input":{"type":"structure","members":{"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"shape":"S4e","locationName":"sortCriteria"}}},"output":{"type":"structure","members":{"findingIds":{"shape":"S5","locationName":"findingIds"},"nextToken":{"locationName":"nextToken"}}}},"ListFindingsFilters":{"http":{"method":"GET","requestUri":"/findingsfilters","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"findingsFilterListItems":{"locationName":"findingsFilterListItems","type":"list","member":{"type":"structure","members":{"action":{"locationName":"action"},"arn":{"locationName":"arn"},"id":{"locationName":"id"},"name":{"locationName":"name"},"tags":{"shape":"S17","locationName":"tags"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListInvitations":{"http":{"method":"GET","requestUri":"/invitations","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"invitations":{"locationName":"invitations","type":"list","member":{"shape":"S3s"}},"nextToken":{"locationName":"nextToken"}}}},"ListManagedDataIdentifiers":{"http":{"requestUri":"/managed-data-identifiers/list","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"category":{"locationName":"category"},"id":{"locationName":"id"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/members","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"onlyAssociated":{"location":"querystring","locationName":"onlyAssociated"}}},"output":{"type":"structure","members":{"members":{"locationName":"members","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"administratorAccountId":{"locationName":"administratorAccountId"},"arn":{"locationName":"arn"},"email":{"locationName":"email"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"masterAccountId":{"locationName":"masterAccountId"},"relationshipStatus":{"locationName":"relationshipStatus"},"tags":{"shape":"S17","locationName":"tags"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListOrganizationAdminAccounts":{"http":{"method":"GET","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"adminAccounts":{"locationName":"adminAccounts","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"status":{"locationName":"status"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}},"required":["resourceArn"]},"output":{"type":"structure","members":{"tags":{"shape":"S17","locationName":"tags"}}}},"PutClassificationExportConfiguration":{"http":{"method":"PUT","requestUri":"/classification-export-configuration","responseCode":200},"input":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}},"required":["configuration"]},"output":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}}}},"PutFindingsPublicationConfiguration":{"http":{"method":"PUT","requestUri":"/findings-publication-configuration","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"securityHubConfiguration":{"shape":"S63","locationName":"securityHubConfiguration"}}},"output":{"type":"structure","members":{}}},"SearchResources":{"http":{"requestUri":"/datasources/search-resources","responseCode":200},"input":{"type":"structure","members":{"bucketCriteria":{"locationName":"bucketCriteria","type":"structure","members":{"excludes":{"shape":"S86","locationName":"excludes"},"includes":{"shape":"S86","locationName":"includes"}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"matchingResources":{"locationName":"matchingResources","type":"list","member":{"type":"structure","members":{"matchingBucket":{"locationName":"matchingBucket","type":"structure","members":{"accountId":{"locationName":"accountId"},"bucketName":{"locationName":"bucketName"},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"},"jobDetails":{"shape":"S2h","locationName":"jobDetails"},"objectCount":{"locationName":"objectCount","type":"long"},"objectCountByEncryptionType":{"shape":"S2k","locationName":"objectCountByEncryptionType"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"}}}}}},"nextToken":{"locationName":"nextToken"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S17","locationName":"tags"}},"required":["resourceArn","tags"]},"output":{"type":"structure","members":{}}},"TestCustomDataIdentifier":{"http":{"requestUri":"/custom-data-identifiers/test","responseCode":200},"input":{"type":"structure","members":{"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"regex":{"locationName":"regex"},"sampleText":{"locationName":"sampleText"}},"required":["regex","sampleText"]},"output":{"type":"structure","members":{"matchCount":{"locationName":"matchCount","type":"integer"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"shape":"S5","location":"querystring","locationName":"tagKeys"}},"required":["tagKeys","resourceArn"]},"output":{"type":"structure","members":{}}},"UpdateClassificationJob":{"http":{"method":"PATCH","requestUri":"/jobs/{jobId}","responseCode":200},"input":{"type":"structure","members":{"jobId":{"location":"uri","locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"}},"required":["jobId","jobStatus"]},"output":{"type":"structure","members":{}}},"UpdateFindingsFilter":{"http":{"method":"PATCH","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"action":{"locationName":"action"},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"id":{"location":"uri","locationName":"id"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"clientToken":{"locationName":"clientToken","idempotencyToken":true}},"required":["id"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"id":{"locationName":"id"}}}},"UpdateMacieSession":{"http":{"method":"PATCH","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"status":{"locationName":"status"}}},"output":{"type":"structure","members":{}}},"UpdateMemberSession":{"http":{"method":"PATCH","requestUri":"/macie/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"},"status":{"locationName":"status"}},"required":["id","status"]},"output":{"type":"structure","members":{}}},"UpdateOrganizationConfiguration":{"http":{"method":"PATCH","requestUri":"/admin/configuration","responseCode":200},"input":{"type":"structure","members":{"autoEnable":{"locationName":"autoEnable","type":"boolean"}},"required":["autoEnable"]},"output":{"type":"structure","members":{}}}},"shapes":{"S5":{"type":"list","member":{}},"S9":{"type":"timestamp","timestampFormat":"iso8601"},"Se":{"type":"structure","members":{"bucketDefinitions":{"shape":"Sf","locationName":"bucketDefinitions"},"scoping":{"locationName":"scoping","type":"structure","members":{"excludes":{"shape":"Si","locationName":"excludes"},"includes":{"shape":"Si","locationName":"includes"}}},"bucketCriteria":{"shape":"Ss","locationName":"bucketCriteria"}}},"Sf":{"type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"buckets":{"shape":"S5","locationName":"buckets"}},"required":["accountId","buckets"]}},"Si":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleScopeTerm":{"locationName":"simpleScopeTerm","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagScopeTerm":{"locationName":"tagScopeTerm","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}},"target":{"locationName":"target"}}}}}}}},"Ss":{"type":"structure","members":{"excludes":{"shape":"St","locationName":"excludes"},"includes":{"shape":"St","locationName":"includes"}}},"St":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleCriterion":{"locationName":"simpleCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagCriterion":{"locationName":"tagCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}}}}}}}}},"S12":{"type":"structure","members":{"dailySchedule":{"locationName":"dailySchedule","type":"structure","members":{}},"monthlySchedule":{"locationName":"monthlySchedule","type":"structure","members":{"dayOfMonth":{"locationName":"dayOfMonth","type":"integer"}}},"weeklySchedule":{"locationName":"weeklySchedule","type":"structure","members":{"dayOfWeek":{"locationName":"dayOfWeek"}}}}},"S17":{"type":"map","key":{},"value":{}},"S1a":{"type":"list","member":{"type":"structure","members":{"occurrencesThreshold":{"locationName":"occurrencesThreshold","type":"long"},"severity":{"locationName":"severity"}},"required":["occurrencesThreshold","severity"]}},"S1h":{"type":"structure","members":{"criterion":{"locationName":"criterion","type":"map","key":{},"value":{"type":"structure","members":{"eq":{"shape":"S5","locationName":"eq"},"eqExactMatch":{"shape":"S5","locationName":"eqExactMatch"},"gt":{"locationName":"gt","type":"long"},"gte":{"locationName":"gte","type":"long"},"lt":{"locationName":"lt","type":"long"},"lte":{"locationName":"lte","type":"long"},"neq":{"shape":"S5","locationName":"neq"}}}}}},"S1n":{"type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"}}}},"S2h":{"type":"structure","members":{"isDefinedInJob":{"locationName":"isDefinedInJob"},"isMonitoredByJob":{"locationName":"isMonitoredByJob"},"lastJobId":{"locationName":"lastJobId"},"lastJobRunTime":{"shape":"S9","locationName":"lastJobRunTime"}}},"S2k":{"type":"structure","members":{"customerManaged":{"locationName":"customerManaged","type":"long"},"kmsManaged":{"locationName":"kmsManaged","type":"long"},"s3Managed":{"locationName":"s3Managed","type":"long"},"unencrypted":{"locationName":"unencrypted","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"S2l":{"type":"structure","members":{"effectivePermission":{"locationName":"effectivePermission"},"permissionConfiguration":{"locationName":"permissionConfiguration","type":"structure","members":{"accountLevelPermissions":{"locationName":"accountLevelPermissions","type":"structure","members":{"blockPublicAccess":{"shape":"S2p","locationName":"blockPublicAccess"}}},"bucketLevelPermissions":{"locationName":"bucketLevelPermissions","type":"structure","members":{"accessControlList":{"locationName":"accessControlList","type":"structure","members":{"allowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"allowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}},"blockPublicAccess":{"shape":"S2p","locationName":"blockPublicAccess"},"bucketPolicy":{"locationName":"bucketPolicy","type":"structure","members":{"allowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"allowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}}}}}}}},"S2p":{"type":"structure","members":{"blockPublicAcls":{"locationName":"blockPublicAcls","type":"boolean"},"blockPublicPolicy":{"locationName":"blockPublicPolicy","type":"boolean"},"ignorePublicAcls":{"locationName":"ignorePublicAcls","type":"boolean"},"restrictPublicBuckets":{"locationName":"restrictPublicBuckets","type":"boolean"}}},"S2y":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}},"S2z":{"type":"structure","members":{"fileType":{"locationName":"fileType","type":"long"},"storageClass":{"locationName":"storageClass","type":"long"},"total":{"locationName":"total","type":"long"}}},"S33":{"type":"structure","members":{"code":{"locationName":"code"}}},"S37":{"type":"structure","members":{"jobExpiresAt":{"shape":"S9","locationName":"jobExpiresAt"},"jobImminentExpirationHealthEventArn":{"locationName":"jobImminentExpirationHealthEventArn"},"jobPausedAt":{"shape":"S9","locationName":"jobPausedAt"}}},"S3s":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"invitationId":{"locationName":"invitationId"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"relationshipStatus":{"locationName":"relationshipStatus"}}},"S42":{"type":"structure","members":{"s3Destination":{"locationName":"s3Destination","type":"structure","members":{"bucketName":{"locationName":"bucketName"},"keyPrefix":{"locationName":"keyPrefix"},"kmsKeyArn":{"locationName":"kmsKeyArn"}},"required":["bucketName","kmsKeyArn"]}}},"S4e":{"type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}},"S4o":{"type":"structure","members":{"cells":{"locationName":"cells","type":"list","member":{"type":"structure","members":{"cellReference":{"locationName":"cellReference"},"column":{"locationName":"column","type":"long"},"columnName":{"locationName":"columnName"},"row":{"locationName":"row","type":"long"}}}},"lineRanges":{"shape":"S4r","locationName":"lineRanges"},"offsetRanges":{"shape":"S4r","locationName":"offsetRanges"},"pages":{"locationName":"pages","type":"list","member":{"type":"structure","members":{"lineRange":{"shape":"S4s","locationName":"lineRange"},"offsetRange":{"shape":"S4s","locationName":"offsetRange"},"pageNumber":{"locationName":"pageNumber","type":"long"}}}},"records":{"locationName":"records","type":"list","member":{"type":"structure","members":{"jsonPath":{"locationName":"jsonPath"},"recordIndex":{"locationName":"recordIndex","type":"long"}}}}}},"S4r":{"type":"list","member":{"shape":"S4s"}},"S4s":{"type":"structure","members":{"end":{"locationName":"end","type":"long"},"start":{"locationName":"start","type":"long"},"startColumn":{"locationName":"startColumn","type":"long"}}},"S5g":{"type":"structure","members":{"attributes":{"locationName":"attributes","type":"structure","members":{"creationDate":{"shape":"S9","locationName":"creationDate"},"mfaAuthenticated":{"locationName":"mfaAuthenticated","type":"boolean"}}},"sessionIssuer":{"locationName":"sessionIssuer","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"type":{"locationName":"type"},"userName":{"locationName":"userName"}}}}},"S5r":{"type":"structure","members":{"encryptionType":{"locationName":"encryptionType"},"kmsMasterKeyId":{"locationName":"kmsMasterKeyId"}}},"S5u":{"type":"list","member":{"shape":"S2y"}},"S63":{"type":"structure","members":{"publishClassificationFindings":{"locationName":"publishClassificationFindings","type":"boolean"},"publishPolicyFindings":{"locationName":"publishPolicyFindings","type":"boolean"}},"required":["publishPolicyFindings","publishClassificationFindings"]},"S6z":{"type":"list","member":{"type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}}},"S86":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleCriterion":{"locationName":"simpleCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagCriterion":{"locationName":"tagCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}}}}}}}}}}} + module.exports = {"metadata":{"apiVersion":"2020-01-01","endpointPrefix":"macie2","signingName":"macie2","serviceFullName":"Amazon Macie 2","serviceId":"Macie2","protocol":"rest-json","jsonVersion":"1.1","uid":"macie2-2020-01-01","signatureVersion":"v4"},"operations":{"AcceptInvitation":{"http":{"requestUri":"/invitations/accept","responseCode":200},"input":{"type":"structure","members":{"administratorAccountId":{"locationName":"administratorAccountId"},"invitationId":{"locationName":"invitationId"},"masterAccount":{"locationName":"masterAccount"}},"required":["invitationId"]},"output":{"type":"structure","members":{}}},"BatchGetCustomDataIdentifiers":{"http":{"requestUri":"/custom-data-identifiers/get","responseCode":200},"input":{"type":"structure","members":{"ids":{"shape":"S5","locationName":"ids"}}},"output":{"type":"structure","members":{"customDataIdentifiers":{"locationName":"customDataIdentifiers","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"deleted":{"locationName":"deleted","type":"boolean"},"description":{"locationName":"description"},"id":{"locationName":"id"},"name":{"locationName":"name"}}}},"notFoundIdentifierIds":{"shape":"S5","locationName":"notFoundIdentifierIds"}}}},"CreateClassificationJob":{"http":{"requestUri":"/jobs","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"customDataIdentifierIds":{"shape":"S5","locationName":"customDataIdentifierIds"},"description":{"locationName":"description"},"initialRun":{"locationName":"initialRun","type":"boolean"},"jobType":{"locationName":"jobType"},"managedDataIdentifierIds":{"shape":"S5","locationName":"managedDataIdentifierIds"},"managedDataIdentifierSelector":{"locationName":"managedDataIdentifierSelector"},"name":{"locationName":"name"},"s3JobDefinition":{"shape":"Se","locationName":"s3JobDefinition"},"samplingPercentage":{"locationName":"samplingPercentage","type":"integer"},"scheduleFrequency":{"shape":"S12","locationName":"scheduleFrequency"},"tags":{"shape":"S17","locationName":"tags"}},"required":["s3JobDefinition","jobType","clientToken","name"]},"output":{"type":"structure","members":{"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"}}}},"CreateCustomDataIdentifier":{"http":{"requestUri":"/custom-data-identifiers","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"description":{"locationName":"description"},"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"name":{"locationName":"name"},"regex":{"locationName":"regex"},"severityLevels":{"shape":"S1a","locationName":"severityLevels"},"tags":{"shape":"S17","locationName":"tags"}},"required":["name","regex"]},"output":{"type":"structure","members":{"customDataIdentifierId":{"locationName":"customDataIdentifierId"}}}},"CreateFindingsFilter":{"http":{"requestUri":"/findingsfilters","responseCode":200},"input":{"type":"structure","members":{"action":{"locationName":"action"},"clientToken":{"locationName":"clientToken","idempotencyToken":true},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"tags":{"shape":"S17","locationName":"tags"}},"required":["action","findingCriteria","name"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"id":{"locationName":"id"}}}},"CreateInvitations":{"http":{"requestUri":"/invitations","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"},"disableEmailNotification":{"locationName":"disableEmailNotification","type":"boolean"},"message":{"locationName":"message"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"CreateMember":{"http":{"requestUri":"/members","responseCode":200},"input":{"type":"structure","members":{"account":{"locationName":"account","type":"structure","members":{"accountId":{"locationName":"accountId"},"email":{"locationName":"email"}},"required":["email","accountId"]},"tags":{"shape":"S17","locationName":"tags"}},"required":["account"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"}}}},"CreateSampleFindings":{"http":{"requestUri":"/findings/sample","responseCode":200},"input":{"type":"structure","members":{"findingTypes":{"locationName":"findingTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeclineInvitations":{"http":{"requestUri":"/invitations/decline","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"DeleteCustomDataIdentifier":{"http":{"method":"DELETE","requestUri":"/custom-data-identifiers/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DeleteFindingsFilter":{"http":{"method":"DELETE","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DeleteInvitations":{"http":{"requestUri":"/invitations/delete","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"DeleteMember":{"http":{"method":"DELETE","requestUri":"/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DescribeBuckets":{"http":{"requestUri":"/datasources/s3","responseCode":200},"input":{"type":"structure","members":{"criteria":{"locationName":"criteria","type":"map","key":{},"value":{"type":"structure","members":{"eq":{"shape":"S5","locationName":"eq"},"gt":{"locationName":"gt","type":"long"},"gte":{"locationName":"gte","type":"long"},"lt":{"locationName":"lt","type":"long"},"lte":{"locationName":"lte","type":"long"},"neq":{"shape":"S5","locationName":"neq"},"prefix":{"locationName":"prefix"}}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"buckets":{"locationName":"buckets","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads"},"bucketArn":{"locationName":"bucketArn"},"bucketCreatedAt":{"shape":"S9","locationName":"bucketCreatedAt"},"bucketName":{"locationName":"bucketName"},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"},"jobDetails":{"shape":"S2h","locationName":"jobDetails"},"lastUpdated":{"shape":"S9","locationName":"lastUpdated"},"objectCount":{"locationName":"objectCount","type":"long"},"objectCountByEncryptionType":{"shape":"S2k","locationName":"objectCountByEncryptionType"},"publicAccess":{"shape":"S2l","locationName":"publicAccess"},"region":{"locationName":"region"},"replicationDetails":{"locationName":"replicationDetails","type":"structure","members":{"replicated":{"locationName":"replicated","type":"boolean"},"replicatedExternally":{"locationName":"replicatedExternally","type":"boolean"},"replicationAccounts":{"shape":"S5","locationName":"replicationAccounts"}}},"serverSideEncryption":{"locationName":"serverSideEncryption","type":"structure","members":{"kmsMasterKeyId":{"locationName":"kmsMasterKeyId"},"type":{"locationName":"type"}}},"sharedAccess":{"locationName":"sharedAccess"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"tags":{"locationName":"tags","type":"list","member":{"shape":"S2y"}},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"},"versioning":{"locationName":"versioning","type":"boolean"}}}},"nextToken":{"locationName":"nextToken"}}}},"DescribeClassificationJob":{"http":{"method":"GET","requestUri":"/jobs/{jobId}","responseCode":200},"input":{"type":"structure","members":{"jobId":{"location":"uri","locationName":"jobId"}},"required":["jobId"]},"output":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"createdAt":{"shape":"S9","locationName":"createdAt"},"customDataIdentifierIds":{"shape":"S5","locationName":"customDataIdentifierIds"},"description":{"locationName":"description"},"initialRun":{"locationName":"initialRun","type":"boolean"},"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"},"jobType":{"locationName":"jobType"},"lastRunErrorStatus":{"shape":"S33","locationName":"lastRunErrorStatus"},"lastRunTime":{"shape":"S9","locationName":"lastRunTime"},"managedDataIdentifierIds":{"shape":"S5","locationName":"managedDataIdentifierIds"},"managedDataIdentifierSelector":{"locationName":"managedDataIdentifierSelector"},"name":{"locationName":"name"},"s3JobDefinition":{"shape":"Se","locationName":"s3JobDefinition"},"samplingPercentage":{"locationName":"samplingPercentage","type":"integer"},"scheduleFrequency":{"shape":"S12","locationName":"scheduleFrequency"},"statistics":{"locationName":"statistics","type":"structure","members":{"approximateNumberOfObjectsToProcess":{"locationName":"approximateNumberOfObjectsToProcess","type":"double"},"numberOfRuns":{"locationName":"numberOfRuns","type":"double"}}},"tags":{"shape":"S17","locationName":"tags"},"userPausedDetails":{"shape":"S37","locationName":"userPausedDetails"}}}},"DescribeOrganizationConfiguration":{"http":{"method":"GET","requestUri":"/admin/configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"autoEnable":{"locationName":"autoEnable","type":"boolean"},"maxAccountLimitReached":{"locationName":"maxAccountLimitReached","type":"boolean"}}}},"DisableMacie":{"http":{"method":"DELETE","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisableOrganizationAdminAccount":{"http":{"method":"DELETE","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"adminAccountId":{"location":"querystring","locationName":"adminAccountId"}},"required":["adminAccountId"]},"output":{"type":"structure","members":{}}},"DisassociateFromAdministratorAccount":{"http":{"requestUri":"/administrator/disassociate","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateFromMasterAccount":{"http":{"requestUri":"/master/disassociate","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateMember":{"http":{"requestUri":"/members/disassociate/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"EnableMacie":{"http":{"requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"status":{"locationName":"status"}}},"output":{"type":"structure","members":{}}},"EnableOrganizationAdminAccount":{"http":{"requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"adminAccountId":{"locationName":"adminAccountId"},"clientToken":{"locationName":"clientToken","idempotencyToken":true}},"required":["adminAccountId"]},"output":{"type":"structure","members":{}}},"GetAdministratorAccount":{"http":{"method":"GET","requestUri":"/administrator","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"administrator":{"shape":"S3s","locationName":"administrator"}}}},"GetBucketStatistics":{"http":{"requestUri":"/datasources/s3/statistics","responseCode":200},"input":{"type":"structure","members":{"accountId":{"locationName":"accountId"}}},"output":{"type":"structure","members":{"bucketCount":{"locationName":"bucketCount","type":"long"},"bucketCountByEffectivePermission":{"locationName":"bucketCountByEffectivePermission","type":"structure","members":{"publiclyAccessible":{"locationName":"publiclyAccessible","type":"long"},"publiclyReadable":{"locationName":"publiclyReadable","type":"long"},"publiclyWritable":{"locationName":"publiclyWritable","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountByEncryptionType":{"locationName":"bucketCountByEncryptionType","type":"structure","members":{"kmsManaged":{"locationName":"kmsManaged","type":"long"},"s3Managed":{"locationName":"s3Managed","type":"long"},"unencrypted":{"locationName":"unencrypted","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountByObjectEncryptionRequirement":{"locationName":"bucketCountByObjectEncryptionRequirement","type":"structure","members":{"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads","type":"long"},"deniesUnencryptedObjectUploads":{"locationName":"deniesUnencryptedObjectUploads","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountBySharedAccessType":{"locationName":"bucketCountBySharedAccessType","type":"structure","members":{"external":{"locationName":"external","type":"long"},"internal":{"locationName":"internal","type":"long"},"notShared":{"locationName":"notShared","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"lastUpdated":{"shape":"S9","locationName":"lastUpdated"},"objectCount":{"locationName":"objectCount","type":"long"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"}}}},"GetClassificationExportConfiguration":{"http":{"method":"GET","requestUri":"/classification-export-configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}}}},"GetCustomDataIdentifier":{"http":{"method":"GET","requestUri":"/custom-data-identifiers/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"deleted":{"locationName":"deleted","type":"boolean"},"description":{"locationName":"description"},"id":{"locationName":"id"},"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"name":{"locationName":"name"},"regex":{"locationName":"regex"},"severityLevels":{"shape":"S1a","locationName":"severityLevels"},"tags":{"shape":"S17","locationName":"tags"}}}},"GetFindingStatistics":{"http":{"requestUri":"/findings/statistics","responseCode":200},"input":{"type":"structure","members":{"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"groupBy":{"locationName":"groupBy"},"size":{"locationName":"size","type":"integer"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}},"required":["groupBy"]},"output":{"type":"structure","members":{"countsByGroup":{"locationName":"countsByGroup","type":"list","member":{"type":"structure","members":{"count":{"locationName":"count","type":"long"},"groupKey":{"locationName":"groupKey"}}}}}}},"GetFindings":{"http":{"requestUri":"/findings/describe","responseCode":200},"input":{"type":"structure","members":{"findingIds":{"shape":"S5","locationName":"findingIds"},"sortCriteria":{"shape":"S4e","locationName":"sortCriteria"}},"required":["findingIds"]},"output":{"type":"structure","members":{"findings":{"locationName":"findings","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"archived":{"locationName":"archived","type":"boolean"},"category":{"locationName":"category"},"classificationDetails":{"locationName":"classificationDetails","type":"structure","members":{"detailedResultsLocation":{"locationName":"detailedResultsLocation"},"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"},"result":{"locationName":"result","type":"structure","members":{"additionalOccurrences":{"locationName":"additionalOccurrences","type":"boolean"},"customDataIdentifiers":{"locationName":"customDataIdentifiers","type":"structure","members":{"detections":{"locationName":"detections","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"count":{"locationName":"count","type":"long"},"name":{"locationName":"name"},"occurrences":{"shape":"S4o","locationName":"occurrences"}}}},"totalCount":{"locationName":"totalCount","type":"long"}}},"mimeType":{"locationName":"mimeType"},"sensitiveData":{"locationName":"sensitiveData","type":"list","member":{"type":"structure","members":{"category":{"locationName":"category"},"detections":{"locationName":"detections","type":"list","member":{"type":"structure","members":{"count":{"locationName":"count","type":"long"},"occurrences":{"shape":"S4o","locationName":"occurrences"},"type":{"locationName":"type"}}}},"totalCount":{"locationName":"totalCount","type":"long"}}}},"sizeClassified":{"locationName":"sizeClassified","type":"long"},"status":{"locationName":"status","type":"structure","members":{"code":{"locationName":"code"},"reason":{"locationName":"reason"}}}}}}},"count":{"locationName":"count","type":"long"},"createdAt":{"shape":"S9","locationName":"createdAt"},"description":{"locationName":"description"},"id":{"locationName":"id"},"partition":{"locationName":"partition"},"policyDetails":{"locationName":"policyDetails","type":"structure","members":{"action":{"locationName":"action","type":"structure","members":{"actionType":{"locationName":"actionType"},"apiCallDetails":{"locationName":"apiCallDetails","type":"structure","members":{"api":{"locationName":"api"},"apiServiceName":{"locationName":"apiServiceName"},"firstSeen":{"shape":"S9","locationName":"firstSeen"},"lastSeen":{"shape":"S9","locationName":"lastSeen"}}}}},"actor":{"locationName":"actor","type":"structure","members":{"domainDetails":{"locationName":"domainDetails","type":"structure","members":{"domainName":{"locationName":"domainName"}}},"ipAddressDetails":{"locationName":"ipAddressDetails","type":"structure","members":{"ipAddressV4":{"locationName":"ipAddressV4"},"ipCity":{"locationName":"ipCity","type":"structure","members":{"name":{"locationName":"name"}}},"ipCountry":{"locationName":"ipCountry","type":"structure","members":{"code":{"locationName":"code"},"name":{"locationName":"name"}}},"ipGeoLocation":{"locationName":"ipGeoLocation","type":"structure","members":{"lat":{"locationName":"lat","type":"double"},"lon":{"locationName":"lon","type":"double"}}},"ipOwner":{"locationName":"ipOwner","type":"structure","members":{"asn":{"locationName":"asn"},"asnOrg":{"locationName":"asnOrg"},"isp":{"locationName":"isp"},"org":{"locationName":"org"}}}}},"userIdentity":{"locationName":"userIdentity","type":"structure","members":{"assumedRole":{"locationName":"assumedRole","type":"structure","members":{"accessKeyId":{"locationName":"accessKeyId"},"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"sessionContext":{"shape":"S5g","locationName":"sessionContext"}}},"awsAccount":{"locationName":"awsAccount","type":"structure","members":{"accountId":{"locationName":"accountId"},"principalId":{"locationName":"principalId"}}},"awsService":{"locationName":"awsService","type":"structure","members":{"invokedBy":{"locationName":"invokedBy"}}},"federatedUser":{"locationName":"federatedUser","type":"structure","members":{"accessKeyId":{"locationName":"accessKeyId"},"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"sessionContext":{"shape":"S5g","locationName":"sessionContext"}}},"iamUser":{"locationName":"iamUser","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"userName":{"locationName":"userName"}}},"root":{"locationName":"root","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"}}},"type":{"locationName":"type"}}}}}}},"region":{"locationName":"region"},"resourcesAffected":{"locationName":"resourcesAffected","type":"structure","members":{"s3Bucket":{"locationName":"s3Bucket","type":"structure","members":{"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads"},"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"defaultServerSideEncryption":{"shape":"S5r","locationName":"defaultServerSideEncryption"},"name":{"locationName":"name"},"owner":{"locationName":"owner","type":"structure","members":{"displayName":{"locationName":"displayName"},"id":{"locationName":"id"}}},"publicAccess":{"shape":"S2l","locationName":"publicAccess"},"tags":{"shape":"S5u","locationName":"tags"}}},"s3Object":{"locationName":"s3Object","type":"structure","members":{"bucketArn":{"locationName":"bucketArn"},"eTag":{"locationName":"eTag"},"extension":{"locationName":"extension"},"key":{"locationName":"key"},"lastModified":{"shape":"S9","locationName":"lastModified"},"path":{"locationName":"path"},"publicAccess":{"locationName":"publicAccess","type":"boolean"},"serverSideEncryption":{"shape":"S5r","locationName":"serverSideEncryption"},"size":{"locationName":"size","type":"long"},"storageClass":{"locationName":"storageClass"},"tags":{"shape":"S5u","locationName":"tags"},"versionId":{"locationName":"versionId"}}}}},"sample":{"locationName":"sample","type":"boolean"},"schemaVersion":{"locationName":"schemaVersion"},"severity":{"locationName":"severity","type":"structure","members":{"description":{"locationName":"description"},"score":{"locationName":"score","type":"long"}}},"title":{"locationName":"title"},"type":{"locationName":"type"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}}}}},"GetFindingsFilter":{"http":{"method":"GET","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"action":{"locationName":"action"},"arn":{"locationName":"arn"},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"id":{"locationName":"id"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"tags":{"shape":"S17","locationName":"tags"}}}},"GetFindingsPublicationConfiguration":{"http":{"method":"GET","requestUri":"/findings-publication-configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"securityHubConfiguration":{"shape":"S63","locationName":"securityHubConfiguration"}}}},"GetInvitationsCount":{"http":{"method":"GET","requestUri":"/invitations/count","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"invitationsCount":{"locationName":"invitationsCount","type":"long"}}}},"GetMacieSession":{"http":{"method":"GET","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"createdAt":{"shape":"S9","locationName":"createdAt"},"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"serviceRole":{"locationName":"serviceRole"},"status":{"locationName":"status"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"GetMasterAccount":{"http":{"method":"GET","requestUri":"/master","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"master":{"shape":"S3s","locationName":"master"}}}},"GetMember":{"http":{"method":"GET","requestUri":"/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"administratorAccountId":{"locationName":"administratorAccountId"},"arn":{"locationName":"arn"},"email":{"locationName":"email"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"masterAccountId":{"locationName":"masterAccountId"},"relationshipStatus":{"locationName":"relationshipStatus"},"tags":{"shape":"S17","locationName":"tags"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"GetUsageStatistics":{"http":{"requestUri":"/usage/statistics","responseCode":200},"input":{"type":"structure","members":{"filterBy":{"locationName":"filterBy","type":"list","member":{"type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortBy":{"locationName":"sortBy","type":"structure","members":{"key":{"locationName":"key"},"orderBy":{"locationName":"orderBy"}}},"timeRange":{"locationName":"timeRange"}}},"output":{"type":"structure","members":{"nextToken":{"locationName":"nextToken"},"records":{"locationName":"records","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"freeTrialStartDate":{"shape":"S9","locationName":"freeTrialStartDate"},"usage":{"locationName":"usage","type":"list","member":{"type":"structure","members":{"currency":{"locationName":"currency"},"estimatedCost":{"locationName":"estimatedCost"},"serviceLimit":{"locationName":"serviceLimit","type":"structure","members":{"isServiceLimited":{"locationName":"isServiceLimited","type":"boolean"},"unit":{"locationName":"unit"},"value":{"locationName":"value","type":"long"}}},"type":{"locationName":"type"}}}}}}},"timeRange":{"locationName":"timeRange"}}}},"GetUsageTotals":{"http":{"method":"GET","requestUri":"/usage","responseCode":200},"input":{"type":"structure","members":{"timeRange":{"location":"querystring","locationName":"timeRange"}}},"output":{"type":"structure","members":{"timeRange":{"locationName":"timeRange"},"usageTotals":{"locationName":"usageTotals","type":"list","member":{"type":"structure","members":{"currency":{"locationName":"currency"},"estimatedCost":{"locationName":"estimatedCost"},"type":{"locationName":"type"}}}}}}},"ListClassificationJobs":{"http":{"requestUri":"/jobs/list","responseCode":200},"input":{"type":"structure","members":{"filterCriteria":{"locationName":"filterCriteria","type":"structure","members":{"excludes":{"shape":"S6z","locationName":"excludes"},"includes":{"shape":"S6z","locationName":"includes"}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"bucketDefinitions":{"shape":"Sf","locationName":"bucketDefinitions"},"createdAt":{"shape":"S9","locationName":"createdAt"},"jobId":{"locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"},"jobType":{"locationName":"jobType"},"lastRunErrorStatus":{"shape":"S33","locationName":"lastRunErrorStatus"},"name":{"locationName":"name"},"userPausedDetails":{"shape":"S37","locationName":"userPausedDetails"},"bucketCriteria":{"shape":"Ss","locationName":"bucketCriteria"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListCustomDataIdentifiers":{"http":{"requestUri":"/custom-data-identifiers/list","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"description":{"locationName":"description"},"id":{"locationName":"id"},"name":{"locationName":"name"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListFindings":{"http":{"requestUri":"/findings","responseCode":200},"input":{"type":"structure","members":{"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"shape":"S4e","locationName":"sortCriteria"}}},"output":{"type":"structure","members":{"findingIds":{"shape":"S5","locationName":"findingIds"},"nextToken":{"locationName":"nextToken"}}}},"ListFindingsFilters":{"http":{"method":"GET","requestUri":"/findingsfilters","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"findingsFilterListItems":{"locationName":"findingsFilterListItems","type":"list","member":{"type":"structure","members":{"action":{"locationName":"action"},"arn":{"locationName":"arn"},"id":{"locationName":"id"},"name":{"locationName":"name"},"tags":{"shape":"S17","locationName":"tags"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListInvitations":{"http":{"method":"GET","requestUri":"/invitations","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"invitations":{"locationName":"invitations","type":"list","member":{"shape":"S3s"}},"nextToken":{"locationName":"nextToken"}}}},"ListManagedDataIdentifiers":{"http":{"requestUri":"/managed-data-identifiers/list","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"category":{"locationName":"category"},"id":{"locationName":"id"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/members","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"onlyAssociated":{"location":"querystring","locationName":"onlyAssociated"}}},"output":{"type":"structure","members":{"members":{"locationName":"members","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"administratorAccountId":{"locationName":"administratorAccountId"},"arn":{"locationName":"arn"},"email":{"locationName":"email"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"masterAccountId":{"locationName":"masterAccountId"},"relationshipStatus":{"locationName":"relationshipStatus"},"tags":{"shape":"S17","locationName":"tags"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListOrganizationAdminAccounts":{"http":{"method":"GET","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"adminAccounts":{"locationName":"adminAccounts","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"status":{"locationName":"status"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}},"required":["resourceArn"]},"output":{"type":"structure","members":{"tags":{"shape":"S17","locationName":"tags"}}}},"PutClassificationExportConfiguration":{"http":{"method":"PUT","requestUri":"/classification-export-configuration","responseCode":200},"input":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}},"required":["configuration"]},"output":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}}}},"PutFindingsPublicationConfiguration":{"http":{"method":"PUT","requestUri":"/findings-publication-configuration","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"securityHubConfiguration":{"shape":"S63","locationName":"securityHubConfiguration"}}},"output":{"type":"structure","members":{}}},"SearchResources":{"http":{"requestUri":"/datasources/search-resources","responseCode":200},"input":{"type":"structure","members":{"bucketCriteria":{"locationName":"bucketCriteria","type":"structure","members":{"excludes":{"shape":"S86","locationName":"excludes"},"includes":{"shape":"S86","locationName":"includes"}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"matchingResources":{"locationName":"matchingResources","type":"list","member":{"type":"structure","members":{"matchingBucket":{"locationName":"matchingBucket","type":"structure","members":{"accountId":{"locationName":"accountId"},"bucketName":{"locationName":"bucketName"},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"},"jobDetails":{"shape":"S2h","locationName":"jobDetails"},"objectCount":{"locationName":"objectCount","type":"long"},"objectCountByEncryptionType":{"shape":"S2k","locationName":"objectCountByEncryptionType"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"}}}}}},"nextToken":{"locationName":"nextToken"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S17","locationName":"tags"}},"required":["resourceArn","tags"]},"output":{"type":"structure","members":{}}},"TestCustomDataIdentifier":{"http":{"requestUri":"/custom-data-identifiers/test","responseCode":200},"input":{"type":"structure","members":{"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"regex":{"locationName":"regex"},"sampleText":{"locationName":"sampleText"}},"required":["regex","sampleText"]},"output":{"type":"structure","members":{"matchCount":{"locationName":"matchCount","type":"integer"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"shape":"S5","location":"querystring","locationName":"tagKeys"}},"required":["tagKeys","resourceArn"]},"output":{"type":"structure","members":{}}},"UpdateClassificationJob":{"http":{"method":"PATCH","requestUri":"/jobs/{jobId}","responseCode":200},"input":{"type":"structure","members":{"jobId":{"location":"uri","locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"}},"required":["jobId","jobStatus"]},"output":{"type":"structure","members":{}}},"UpdateFindingsFilter":{"http":{"method":"PATCH","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"action":{"locationName":"action"},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"id":{"location":"uri","locationName":"id"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"clientToken":{"locationName":"clientToken","idempotencyToken":true}},"required":["id"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"id":{"locationName":"id"}}}},"UpdateMacieSession":{"http":{"method":"PATCH","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"status":{"locationName":"status"}}},"output":{"type":"structure","members":{}}},"UpdateMemberSession":{"http":{"method":"PATCH","requestUri":"/macie/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"},"status":{"locationName":"status"}},"required":["id","status"]},"output":{"type":"structure","members":{}}},"UpdateOrganizationConfiguration":{"http":{"method":"PATCH","requestUri":"/admin/configuration","responseCode":200},"input":{"type":"structure","members":{"autoEnable":{"locationName":"autoEnable","type":"boolean"}},"required":["autoEnable"]},"output":{"type":"structure","members":{}}}},"shapes":{"S5":{"type":"list","member":{}},"S9":{"type":"timestamp","timestampFormat":"iso8601"},"Se":{"type":"structure","members":{"bucketDefinitions":{"shape":"Sf","locationName":"bucketDefinitions"},"scoping":{"locationName":"scoping","type":"structure","members":{"excludes":{"shape":"Si","locationName":"excludes"},"includes":{"shape":"Si","locationName":"includes"}}},"bucketCriteria":{"shape":"Ss","locationName":"bucketCriteria"}}},"Sf":{"type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"buckets":{"shape":"S5","locationName":"buckets"}},"required":["accountId","buckets"]}},"Si":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleScopeTerm":{"locationName":"simpleScopeTerm","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagScopeTerm":{"locationName":"tagScopeTerm","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}},"target":{"locationName":"target"}}}}}}}},"Ss":{"type":"structure","members":{"excludes":{"shape":"St","locationName":"excludes"},"includes":{"shape":"St","locationName":"includes"}}},"St":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleCriterion":{"locationName":"simpleCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagCriterion":{"locationName":"tagCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}}}}}}}}},"S12":{"type":"structure","members":{"dailySchedule":{"locationName":"dailySchedule","type":"structure","members":{}},"monthlySchedule":{"locationName":"monthlySchedule","type":"structure","members":{"dayOfMonth":{"locationName":"dayOfMonth","type":"integer"}}},"weeklySchedule":{"locationName":"weeklySchedule","type":"structure","members":{"dayOfWeek":{"locationName":"dayOfWeek"}}}}},"S17":{"type":"map","key":{},"value":{}},"S1a":{"type":"list","member":{"type":"structure","members":{"occurrencesThreshold":{"locationName":"occurrencesThreshold","type":"long"},"severity":{"locationName":"severity"}},"required":["occurrencesThreshold","severity"]}},"S1h":{"type":"structure","members":{"criterion":{"locationName":"criterion","type":"map","key":{},"value":{"type":"structure","members":{"eq":{"shape":"S5","locationName":"eq"},"eqExactMatch":{"shape":"S5","locationName":"eqExactMatch"},"gt":{"locationName":"gt","type":"long"},"gte":{"locationName":"gte","type":"long"},"lt":{"locationName":"lt","type":"long"},"lte":{"locationName":"lte","type":"long"},"neq":{"shape":"S5","locationName":"neq"}}}}}},"S1n":{"type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"}}}},"S2h":{"type":"structure","members":{"isDefinedInJob":{"locationName":"isDefinedInJob"},"isMonitoredByJob":{"locationName":"isMonitoredByJob"},"lastJobId":{"locationName":"lastJobId"},"lastJobRunTime":{"shape":"S9","locationName":"lastJobRunTime"}}},"S2k":{"type":"structure","members":{"customerManaged":{"locationName":"customerManaged","type":"long"},"kmsManaged":{"locationName":"kmsManaged","type":"long"},"s3Managed":{"locationName":"s3Managed","type":"long"},"unencrypted":{"locationName":"unencrypted","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"S2l":{"type":"structure","members":{"effectivePermission":{"locationName":"effectivePermission"},"permissionConfiguration":{"locationName":"permissionConfiguration","type":"structure","members":{"accountLevelPermissions":{"locationName":"accountLevelPermissions","type":"structure","members":{"blockPublicAccess":{"shape":"S2p","locationName":"blockPublicAccess"}}},"bucketLevelPermissions":{"locationName":"bucketLevelPermissions","type":"structure","members":{"accessControlList":{"locationName":"accessControlList","type":"structure","members":{"allowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"allowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}},"blockPublicAccess":{"shape":"S2p","locationName":"blockPublicAccess"},"bucketPolicy":{"locationName":"bucketPolicy","type":"structure","members":{"allowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"allowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}}}}}}}},"S2p":{"type":"structure","members":{"blockPublicAcls":{"locationName":"blockPublicAcls","type":"boolean"},"blockPublicPolicy":{"locationName":"blockPublicPolicy","type":"boolean"},"ignorePublicAcls":{"locationName":"ignorePublicAcls","type":"boolean"},"restrictPublicBuckets":{"locationName":"restrictPublicBuckets","type":"boolean"}}},"S2y":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}},"S2z":{"type":"structure","members":{"fileType":{"locationName":"fileType","type":"long"},"storageClass":{"locationName":"storageClass","type":"long"},"total":{"locationName":"total","type":"long"}}},"S33":{"type":"structure","members":{"code":{"locationName":"code"}}},"S37":{"type":"structure","members":{"jobExpiresAt":{"shape":"S9","locationName":"jobExpiresAt"},"jobImminentExpirationHealthEventArn":{"locationName":"jobImminentExpirationHealthEventArn"},"jobPausedAt":{"shape":"S9","locationName":"jobPausedAt"}}},"S3s":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"invitationId":{"locationName":"invitationId"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"relationshipStatus":{"locationName":"relationshipStatus"}}},"S42":{"type":"structure","members":{"s3Destination":{"locationName":"s3Destination","type":"structure","members":{"bucketName":{"locationName":"bucketName"},"keyPrefix":{"locationName":"keyPrefix"},"kmsKeyArn":{"locationName":"kmsKeyArn"}},"required":["bucketName","kmsKeyArn"]}}},"S4e":{"type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}},"S4o":{"type":"structure","members":{"cells":{"locationName":"cells","type":"list","member":{"type":"structure","members":{"cellReference":{"locationName":"cellReference"},"column":{"locationName":"column","type":"long"},"columnName":{"locationName":"columnName"},"row":{"locationName":"row","type":"long"}}}},"lineRanges":{"shape":"S4r","locationName":"lineRanges"},"offsetRanges":{"shape":"S4r","locationName":"offsetRanges"},"pages":{"locationName":"pages","type":"list","member":{"type":"structure","members":{"lineRange":{"shape":"S4s","locationName":"lineRange"},"offsetRange":{"shape":"S4s","locationName":"offsetRange"},"pageNumber":{"locationName":"pageNumber","type":"long"}}}},"records":{"locationName":"records","type":"list","member":{"type":"structure","members":{"jsonPath":{"locationName":"jsonPath"},"recordIndex":{"locationName":"recordIndex","type":"long"}}}}}},"S4r":{"type":"list","member":{"shape":"S4s"}},"S4s":{"type":"structure","members":{"end":{"locationName":"end","type":"long"},"start":{"locationName":"start","type":"long"},"startColumn":{"locationName":"startColumn","type":"long"}}},"S5g":{"type":"structure","members":{"attributes":{"locationName":"attributes","type":"structure","members":{"creationDate":{"shape":"S9","locationName":"creationDate"},"mfaAuthenticated":{"locationName":"mfaAuthenticated","type":"boolean"}}},"sessionIssuer":{"locationName":"sessionIssuer","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"type":{"locationName":"type"},"userName":{"locationName":"userName"}}}}},"S5r":{"type":"structure","members":{"encryptionType":{"locationName":"encryptionType"},"kmsMasterKeyId":{"locationName":"kmsMasterKeyId"}}},"S5u":{"type":"list","member":{"shape":"S2y"}},"S63":{"type":"structure","members":{"publishClassificationFindings":{"locationName":"publishClassificationFindings","type":"boolean"},"publishPolicyFindings":{"locationName":"publishPolicyFindings","type":"boolean"}},"required":["publishPolicyFindings","publishClassificationFindings"]},"S6z":{"type":"list","member":{"type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}}},"S86":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleCriterion":{"locationName":"simpleCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagCriterion":{"locationName":"tagCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}}}}}}}}}}} /***/ }), /* 881 */ @@ -52904,7 +52910,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 886 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-03-01","endpointPrefix":"honeycode","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Honeycode","serviceFullName":"Amazon Honeycode","serviceId":"Honeycode","signatureVersion":"v4","signingName":"honeycode","uid":"honeycode-2020-03-01"},"operations":{"BatchCreateTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/batchcreate"},"input":{"type":"structure","required":["workbookId","tableId","rowsToCreate"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowsToCreate":{"type":"list","member":{"type":"structure","required":["batchItemId","cellsToCreate"],"members":{"batchItemId":{},"cellsToCreate":{"shape":"S6"}}}},"clientRequestToken":{}}},"output":{"type":"structure","required":["workbookCursor","createdRows"],"members":{"workbookCursor":{"type":"long"},"createdRows":{"type":"map","key":{},"value":{}},"failedBatchItems":{"shape":"Se"}}}},"BatchDeleteTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/batchdelete"},"input":{"type":"structure","required":["workbookId","tableId","rowIds"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowIds":{"shape":"Si"},"clientRequestToken":{}}},"output":{"type":"structure","required":["workbookCursor"],"members":{"workbookCursor":{"type":"long"},"failedBatchItems":{"shape":"Se"}}}},"BatchUpdateTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/batchupdate"},"input":{"type":"structure","required":["workbookId","tableId","rowsToUpdate"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowsToUpdate":{"type":"list","member":{"type":"structure","required":["rowId","cellsToUpdate"],"members":{"rowId":{},"cellsToUpdate":{"shape":"S6"}}}},"clientRequestToken":{}}},"output":{"type":"structure","required":["workbookCursor"],"members":{"workbookCursor":{"type":"long"},"failedBatchItems":{"shape":"Se"}}}},"BatchUpsertTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/batchupsert"},"input":{"type":"structure","required":["workbookId","tableId","rowsToUpsert"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowsToUpsert":{"type":"list","member":{"type":"structure","required":["batchItemId","filter","cellsToUpdate"],"members":{"batchItemId":{},"filter":{"shape":"Sr"},"cellsToUpdate":{"shape":"S6"}}}},"clientRequestToken":{}}},"output":{"type":"structure","required":["rows","workbookCursor"],"members":{"rows":{"type":"map","key":{},"value":{"type":"structure","required":["rowIds","upsertAction"],"members":{"rowIds":{"shape":"Si"},"upsertAction":{}}}},"workbookCursor":{"type":"long"},"failedBatchItems":{"shape":"Se"}}}},"DescribeTableDataImportJob":{"http":{"method":"GET","requestUri":"/workbooks/{workbookId}/tables/{tableId}/import/{jobId}"},"input":{"type":"structure","required":["workbookId","tableId","jobId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobStatus","message","jobMetadata"],"members":{"jobStatus":{},"message":{},"jobMetadata":{"type":"structure","required":["submitter","submitTime","importOptions","dataSource"],"members":{"submitter":{"type":"structure","members":{"email":{"type":"string","sensitive":true},"userArn":{}}},"submitTime":{"type":"timestamp"},"importOptions":{"shape":"S17"},"dataSource":{"shape":"S1h"}}}}}},"GetScreenData":{"http":{"requestUri":"/screendata"},"input":{"type":"structure","required":["workbookId","appId","screenId"],"members":{"workbookId":{},"appId":{},"screenId":{},"variables":{"shape":"S1l"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["results","workbookCursor"],"members":{"results":{"type":"map","key":{"shape":"S1t"},"value":{"type":"structure","required":["headers","rows"],"members":{"headers":{"type":"list","member":{"type":"structure","required":["name","format"],"members":{"name":{"shape":"S1t"},"format":{}}}},"rows":{"type":"list","member":{"type":"structure","required":["dataItems"],"members":{"rowId":{},"dataItems":{"type":"list","member":{"type":"structure","members":{"overrideFormat":{},"rawValue":{},"formattedValue":{}},"sensitive":true}}}}}}}},"workbookCursor":{"type":"long"},"nextToken":{}}}},"InvokeScreenAutomation":{"http":{"requestUri":"/workbooks/{workbookId}/apps/{appId}/screens/{screenId}/automations/{automationId}"},"input":{"type":"structure","required":["workbookId","appId","screenId","screenAutomationId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"appId":{"location":"uri","locationName":"appId"},"screenId":{"location":"uri","locationName":"screenId"},"screenAutomationId":{"location":"uri","locationName":"automationId"},"variables":{"shape":"S1l"},"rowId":{},"clientRequestToken":{}}},"output":{"type":"structure","required":["workbookCursor"],"members":{"workbookCursor":{"type":"long"}}}},"ListTableColumns":{"http":{"method":"GET","requestUri":"/workbooks/{workbookId}/tables/{tableId}/columns"},"input":{"type":"structure","required":["workbookId","tableId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["tableColumns"],"members":{"tableColumns":{"type":"list","member":{"type":"structure","members":{"tableColumnId":{},"tableColumnName":{},"format":{}}}},"nextToken":{},"workbookCursor":{"type":"long"}}}},"ListTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/list"},"input":{"type":"structure","required":["workbookId","tableId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowIds":{"shape":"Si"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["columnIds","rows","workbookCursor"],"members":{"columnIds":{"shape":"S2c"},"rows":{"shape":"S2d"},"rowIdsNotFound":{"shape":"Si"},"nextToken":{},"workbookCursor":{"type":"long"}}}},"ListTables":{"http":{"method":"GET","requestUri":"/workbooks/{workbookId}/tables"},"input":{"type":"structure","required":["workbookId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["tables"],"members":{"tables":{"type":"list","member":{"type":"structure","members":{"tableId":{},"tableName":{}}}},"nextToken":{},"workbookCursor":{"type":"long"}}}},"QueryTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/query"},"input":{"type":"structure","required":["workbookId","tableId","filterFormula"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"filterFormula":{"shape":"Sr"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["columnIds","rows","workbookCursor"],"members":{"columnIds":{"shape":"S2c"},"rows":{"shape":"S2d"},"nextToken":{},"workbookCursor":{"type":"long"}}}},"StartTableDataImportJob":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/import"},"input":{"type":"structure","required":["workbookId","dataSource","dataFormat","destinationTableId","importOptions","clientRequestToken"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"dataSource":{"shape":"S1h"},"dataFormat":{},"destinationTableId":{"location":"uri","locationName":"tableId"},"importOptions":{"shape":"S17"},"clientRequestToken":{}}},"output":{"type":"structure","required":["jobId","jobStatus"],"members":{"jobId":{},"jobStatus":{}}}}},"shapes":{"S6":{"type":"map","key":{},"value":{"type":"structure","members":{"fact":{"type":"string","sensitive":true}}}},"Se":{"type":"list","member":{"type":"structure","required":["id","errorMessage"],"members":{"id":{},"errorMessage":{}}}},"Si":{"type":"list","member":{}},"Sr":{"type":"structure","required":["formula"],"members":{"formula":{"shape":"Ss"},"contextRowId":{}}},"Ss":{"type":"string","sensitive":true},"S17":{"type":"structure","members":{"destinationOptions":{"type":"structure","members":{"columnMap":{"type":"map","key":{},"value":{"type":"structure","members":{"columnIndex":{"type":"integer"}}}}}},"delimitedTextOptions":{"type":"structure","required":["delimiter"],"members":{"delimiter":{},"hasHeaderRow":{"type":"boolean"},"ignoreEmptyRows":{"type":"boolean"},"dataCharacterEncoding":{}}}}},"S1h":{"type":"structure","required":["dataSourceConfig"],"members":{"dataSourceConfig":{"type":"structure","members":{"dataSourceUrl":{}}}}},"S1l":{"type":"map","key":{"type":"string","sensitive":true},"value":{"type":"structure","required":["rawValue"],"members":{"rawValue":{}},"sensitive":true},"sensitive":true},"S1t":{"type":"string","sensitive":true},"S2c":{"type":"list","member":{}},"S2d":{"type":"list","member":{"type":"structure","required":["rowId","cells"],"members":{"rowId":{},"cells":{"type":"list","member":{"type":"structure","members":{"formula":{"shape":"Ss"},"format":{},"rawValue":{},"formattedValue":{}},"sensitive":true}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-03-01","endpointPrefix":"honeycode","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Honeycode","serviceFullName":"Amazon Honeycode","serviceId":"Honeycode","signatureVersion":"v4","signingName":"honeycode","uid":"honeycode-2020-03-01"},"operations":{"BatchCreateTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/batchcreate"},"input":{"type":"structure","required":["workbookId","tableId","rowsToCreate"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowsToCreate":{"type":"list","member":{"type":"structure","required":["batchItemId","cellsToCreate"],"members":{"batchItemId":{},"cellsToCreate":{"shape":"S6"}}}},"clientRequestToken":{}}},"output":{"type":"structure","required":["workbookCursor","createdRows"],"members":{"workbookCursor":{"type":"long"},"createdRows":{"type":"map","key":{},"value":{}},"failedBatchItems":{"shape":"Sf"}}}},"BatchDeleteTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/batchdelete"},"input":{"type":"structure","required":["workbookId","tableId","rowIds"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowIds":{"shape":"Sj"},"clientRequestToken":{}}},"output":{"type":"structure","required":["workbookCursor"],"members":{"workbookCursor":{"type":"long"},"failedBatchItems":{"shape":"Sf"}}}},"BatchUpdateTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/batchupdate"},"input":{"type":"structure","required":["workbookId","tableId","rowsToUpdate"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowsToUpdate":{"type":"list","member":{"type":"structure","required":["rowId","cellsToUpdate"],"members":{"rowId":{},"cellsToUpdate":{"shape":"S6"}}}},"clientRequestToken":{}}},"output":{"type":"structure","required":["workbookCursor"],"members":{"workbookCursor":{"type":"long"},"failedBatchItems":{"shape":"Sf"}}}},"BatchUpsertTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/batchupsert"},"input":{"type":"structure","required":["workbookId","tableId","rowsToUpsert"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowsToUpsert":{"type":"list","member":{"type":"structure","required":["batchItemId","filter","cellsToUpdate"],"members":{"batchItemId":{},"filter":{"shape":"Ss"},"cellsToUpdate":{"shape":"S6"}}}},"clientRequestToken":{}}},"output":{"type":"structure","required":["rows","workbookCursor"],"members":{"rows":{"type":"map","key":{},"value":{"type":"structure","required":["rowIds","upsertAction"],"members":{"rowIds":{"shape":"Sj"},"upsertAction":{}}}},"workbookCursor":{"type":"long"},"failedBatchItems":{"shape":"Sf"}}}},"DescribeTableDataImportJob":{"http":{"method":"GET","requestUri":"/workbooks/{workbookId}/tables/{tableId}/import/{jobId}"},"input":{"type":"structure","required":["workbookId","tableId","jobId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobStatus","message","jobMetadata"],"members":{"jobStatus":{},"message":{},"jobMetadata":{"type":"structure","required":["submitter","submitTime","importOptions","dataSource"],"members":{"submitter":{"type":"structure","members":{"email":{"type":"string","sensitive":true},"userArn":{}}},"submitTime":{"type":"timestamp"},"importOptions":{"shape":"S18"},"dataSource":{"shape":"S1i"}}},"errorCode":{}}}},"GetScreenData":{"http":{"requestUri":"/screendata"},"input":{"type":"structure","required":["workbookId","appId","screenId"],"members":{"workbookId":{},"appId":{},"screenId":{},"variables":{"shape":"S1n"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["results","workbookCursor"],"members":{"results":{"type":"map","key":{"shape":"S1v"},"value":{"type":"structure","required":["headers","rows"],"members":{"headers":{"type":"list","member":{"type":"structure","required":["name","format"],"members":{"name":{"shape":"S1v"},"format":{}}}},"rows":{"type":"list","member":{"type":"structure","required":["dataItems"],"members":{"rowId":{},"dataItems":{"type":"list","member":{"type":"structure","members":{"overrideFormat":{},"rawValue":{},"formattedValue":{}},"sensitive":true}}}}}}}},"workbookCursor":{"type":"long"},"nextToken":{}}}},"InvokeScreenAutomation":{"http":{"requestUri":"/workbooks/{workbookId}/apps/{appId}/screens/{screenId}/automations/{automationId}"},"input":{"type":"structure","required":["workbookId","appId","screenId","screenAutomationId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"appId":{"location":"uri","locationName":"appId"},"screenId":{"location":"uri","locationName":"screenId"},"screenAutomationId":{"location":"uri","locationName":"automationId"},"variables":{"shape":"S1n"},"rowId":{},"clientRequestToken":{}}},"output":{"type":"structure","required":["workbookCursor"],"members":{"workbookCursor":{"type":"long"}}}},"ListTableColumns":{"http":{"method":"GET","requestUri":"/workbooks/{workbookId}/tables/{tableId}/columns"},"input":{"type":"structure","required":["workbookId","tableId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["tableColumns"],"members":{"tableColumns":{"type":"list","member":{"type":"structure","members":{"tableColumnId":{},"tableColumnName":{},"format":{}}}},"nextToken":{},"workbookCursor":{"type":"long"}}}},"ListTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/list"},"input":{"type":"structure","required":["workbookId","tableId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"rowIds":{"shape":"Sj"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["columnIds","rows","workbookCursor"],"members":{"columnIds":{"shape":"S2e"},"rows":{"shape":"S2f"},"rowIdsNotFound":{"shape":"Sj"},"nextToken":{},"workbookCursor":{"type":"long"}}}},"ListTables":{"http":{"method":"GET","requestUri":"/workbooks/{workbookId}/tables"},"input":{"type":"structure","required":["workbookId"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["tables"],"members":{"tables":{"type":"list","member":{"type":"structure","members":{"tableId":{},"tableName":{}}}},"nextToken":{},"workbookCursor":{"type":"long"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S2s"}}}},"QueryTableRows":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/rows/query"},"input":{"type":"structure","required":["workbookId","tableId","filterFormula"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"tableId":{"location":"uri","locationName":"tableId"},"filterFormula":{"shape":"Ss"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["columnIds","rows","workbookCursor"],"members":{"columnIds":{"shape":"S2e"},"rows":{"shape":"S2f"},"nextToken":{},"workbookCursor":{"type":"long"}}}},"StartTableDataImportJob":{"http":{"requestUri":"/workbooks/{workbookId}/tables/{tableId}/import"},"input":{"type":"structure","required":["workbookId","dataSource","dataFormat","destinationTableId","importOptions","clientRequestToken"],"members":{"workbookId":{"location":"uri","locationName":"workbookId"},"dataSource":{"shape":"S1i"},"dataFormat":{},"destinationTableId":{"location":"uri","locationName":"tableId"},"importOptions":{"shape":"S18"},"clientRequestToken":{}}},"output":{"type":"structure","required":["jobId","jobStatus"],"members":{"jobId":{},"jobStatus":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S2s"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}}},"shapes":{"S6":{"type":"map","key":{},"value":{"type":"structure","members":{"fact":{"shape":"S8"},"facts":{"type":"list","member":{"shape":"S8"}}}}},"S8":{"type":"string","sensitive":true},"Sf":{"type":"list","member":{"type":"structure","required":["id","errorMessage"],"members":{"id":{},"errorMessage":{}}}},"Sj":{"type":"list","member":{}},"Ss":{"type":"structure","required":["formula"],"members":{"formula":{"shape":"St"},"contextRowId":{}}},"St":{"type":"string","sensitive":true},"S18":{"type":"structure","members":{"destinationOptions":{"type":"structure","members":{"columnMap":{"type":"map","key":{},"value":{"type":"structure","members":{"columnIndex":{"type":"integer"}}}}}},"delimitedTextOptions":{"type":"structure","required":["delimiter"],"members":{"delimiter":{},"hasHeaderRow":{"type":"boolean"},"ignoreEmptyRows":{"type":"boolean"},"dataCharacterEncoding":{}}}}},"S1i":{"type":"structure","required":["dataSourceConfig"],"members":{"dataSourceConfig":{"type":"structure","members":{"dataSourceUrl":{"type":"string","sensitive":true}}}}},"S1n":{"type":"map","key":{"type":"string","sensitive":true},"value":{"type":"structure","required":["rawValue"],"members":{"rawValue":{}},"sensitive":true},"sensitive":true},"S1v":{"type":"string","sensitive":true},"S2e":{"type":"list","member":{}},"S2f":{"type":"list","member":{"type":"structure","required":["rowId","cells"],"members":{"rowId":{},"cells":{"type":"list","member":{"type":"structure","members":{"formula":{"shape":"St"},"format":{},"rawValue":{},"formattedValue":{},"formattedValues":{"type":"list","member":{}}},"sensitive":true}}}}},"S2s":{"type":"map","key":{},"value":{}}}} /***/ }), /* 887 */ @@ -52940,7 +52946,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 889 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-07-14","endpointPrefix":"ivs","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amazon IVS","serviceFullName":"Amazon Interactive Video Service","serviceId":"ivs","signatureVersion":"v4","signingName":"ivs","uid":"ivs-2020-07-14"},"operations":{"BatchGetChannel":{"http":{"requestUri":"/BatchGetChannel","responseCode":200},"input":{"type":"structure","required":["arns"],"members":{"arns":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"channels":{"type":"list","member":{"shape":"S6"}},"errors":{"shape":"Sh"}}}},"BatchGetStreamKey":{"http":{"requestUri":"/BatchGetStreamKey","responseCode":200},"input":{"type":"structure","required":["arns"],"members":{"arns":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"errors":{"shape":"Sh"},"streamKeys":{"type":"list","member":{"shape":"Sr"}}}}},"CreateChannel":{"http":{"requestUri":"/CreateChannel","responseCode":200},"input":{"type":"structure","members":{"authorized":{"type":"boolean"},"latencyMode":{},"name":{},"recordingConfigurationArn":{},"tags":{"shape":"Sd"},"type":{}}},"output":{"type":"structure","members":{"channel":{"shape":"S6"},"streamKey":{"shape":"Sr"}}}},"CreateRecordingConfiguration":{"http":{"requestUri":"/CreateRecordingConfiguration","responseCode":200},"input":{"type":"structure","required":["destinationConfiguration"],"members":{"destinationConfiguration":{"shape":"Sx"},"name":{},"tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"recordingConfiguration":{"shape":"S12"}}}},"CreateStreamKey":{"http":{"requestUri":"/CreateStreamKey","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{},"tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"streamKey":{"shape":"Sr"}}}},"DeleteChannel":{"http":{"requestUri":"/DeleteChannel","responseCode":204},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}}},"DeletePlaybackKeyPair":{"http":{"requestUri":"/DeletePlaybackKeyPair","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{}}},"DeleteRecordingConfiguration":{"http":{"requestUri":"/DeleteRecordingConfiguration","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}}},"DeleteStreamKey":{"http":{"requestUri":"/DeleteStreamKey","responseCode":204},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}}},"GetChannel":{"http":{"requestUri":"/GetChannel","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{"channel":{"shape":"S6"}}}},"GetPlaybackKeyPair":{"http":{"requestUri":"/GetPlaybackKeyPair","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{"keyPair":{"shape":"S1h"}}}},"GetRecordingConfiguration":{"http":{"requestUri":"/GetRecordingConfiguration","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{"recordingConfiguration":{"shape":"S12"}}}},"GetStream":{"http":{"requestUri":"/GetStream","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{}}},"output":{"type":"structure","members":{"stream":{"type":"structure","members":{"channelArn":{},"health":{},"playbackUrl":{},"startTime":{"shape":"S1q"},"state":{},"streamId":{},"viewerCount":{"type":"long"}}}}}},"GetStreamKey":{"http":{"requestUri":"/GetStreamKey","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{"streamKey":{"shape":"Sr"}}}},"GetStreamSession":{"http":{"requestUri":"/GetStreamSession","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{},"streamId":{}}},"output":{"type":"structure","members":{"streamSession":{"type":"structure","members":{"channel":{"shape":"S6"},"endTime":{"shape":"S1z"},"ingestConfiguration":{"type":"structure","members":{"audio":{"type":"structure","members":{"channels":{"type":"long"},"codec":{},"sampleRate":{"type":"long"},"targetBitrate":{"type":"long"}}},"video":{"type":"structure","members":{"avcLevel":{},"avcProfile":{},"codec":{},"encoder":{},"targetBitrate":{"type":"long"},"targetFramerate":{"type":"long"},"videoHeight":{"type":"long"},"videoWidth":{"type":"long"}}}}},"recordingConfiguration":{"shape":"S12"},"startTime":{"shape":"S1z"},"streamId":{},"truncatedEvents":{"type":"list","member":{"type":"structure","members":{"eventTime":{"shape":"S1z"},"name":{},"type":{}}}}}}}}},"ImportPlaybackKeyPair":{"http":{"requestUri":"/ImportPlaybackKeyPair","responseCode":200},"input":{"type":"structure","required":["publicKeyMaterial"],"members":{"name":{},"publicKeyMaterial":{},"tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"keyPair":{"shape":"S1h"}}}},"ListChannels":{"http":{"requestUri":"/ListChannels","responseCode":200},"input":{"type":"structure","members":{"filterByName":{},"filterByRecordingConfigurationArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["channels"],"members":{"channels":{"type":"list","member":{"type":"structure","members":{"arn":{},"authorized":{"type":"boolean"},"latencyMode":{},"name":{},"recordingConfigurationArn":{},"tags":{"shape":"Sd"}}}},"nextToken":{}}}},"ListPlaybackKeyPairs":{"http":{"requestUri":"/ListPlaybackKeyPairs","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["keyPairs"],"members":{"keyPairs":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"tags":{"shape":"Sd"}}}},"nextToken":{}}}},"ListRecordingConfigurations":{"http":{"requestUri":"/ListRecordingConfigurations","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["recordingConfigurations"],"members":{"nextToken":{},"recordingConfigurations":{"type":"list","member":{"type":"structure","required":["arn","destinationConfiguration","state"],"members":{"arn":{},"destinationConfiguration":{"shape":"Sx"},"name":{},"state":{},"tags":{"shape":"Sd"}}}}}}},"ListStreamKeys":{"http":{"requestUri":"/ListStreamKeys","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["streamKeys"],"members":{"nextToken":{},"streamKeys":{"type":"list","member":{"type":"structure","members":{"arn":{},"channelArn":{},"tags":{"shape":"Sd"}}}}}}},"ListStreamSessions":{"http":{"requestUri":"/ListStreamSessions","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["streamSessions"],"members":{"nextToken":{},"streamSessions":{"type":"list","member":{"type":"structure","members":{"endTime":{"shape":"S1z"},"hasErrorEvent":{"type":"boolean"},"startTime":{"shape":"S1z"},"streamId":{}}}}}}},"ListStreams":{"http":{"requestUri":"/ListStreams","responseCode":200},"input":{"type":"structure","members":{"filterBy":{"type":"structure","members":{"health":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["streams"],"members":{"nextToken":{},"streams":{"type":"list","member":{"type":"structure","members":{"channelArn":{},"health":{},"startTime":{"shape":"S1q"},"state":{},"streamId":{},"viewerCount":{"type":"long"}}}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","required":["tags"],"members":{"tags":{"shape":"Sd"}}}},"PutMetadata":{"http":{"requestUri":"/PutMetadata","responseCode":200},"input":{"type":"structure","required":["channelArn","metadata"],"members":{"channelArn":{},"metadata":{"type":"string","sensitive":true}}}},"StopStream":{"http":{"requestUri":"/StopStream","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateChannel":{"http":{"requestUri":"/UpdateChannel","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{},"authorized":{"type":"boolean"},"latencyMode":{},"name":{},"recordingConfigurationArn":{},"type":{}}},"output":{"type":"structure","members":{"channel":{"shape":"S6"}}}}},"shapes":{"S6":{"type":"structure","members":{"arn":{},"authorized":{"type":"boolean"},"ingestEndpoint":{},"latencyMode":{},"name":{},"playbackUrl":{},"recordingConfigurationArn":{},"tags":{"shape":"Sd"},"type":{}}},"Sd":{"type":"map","key":{},"value":{}},"Sh":{"type":"list","member":{"type":"structure","members":{"arn":{},"code":{},"message":{}}}},"Sr":{"type":"structure","members":{"arn":{},"channelArn":{},"tags":{"shape":"Sd"},"value":{"type":"string","sensitive":true}}},"Sx":{"type":"structure","members":{"s3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{}}}}},"S12":{"type":"structure","required":["arn","destinationConfiguration","state"],"members":{"arn":{},"destinationConfiguration":{"shape":"Sx"},"name":{},"state":{},"tags":{"shape":"Sd"}}},"S1h":{"type":"structure","members":{"arn":{},"fingerprint":{},"name":{},"tags":{"shape":"Sd"}}},"S1q":{"type":"timestamp","timestampFormat":"iso8601"},"S1z":{"type":"timestamp","timestampFormat":"iso8601"}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-07-14","endpointPrefix":"ivs","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amazon IVS","serviceFullName":"Amazon Interactive Video Service","serviceId":"ivs","signatureVersion":"v4","signingName":"ivs","uid":"ivs-2020-07-14"},"operations":{"BatchGetChannel":{"http":{"requestUri":"/BatchGetChannel","responseCode":200},"input":{"type":"structure","required":["arns"],"members":{"arns":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"channels":{"type":"list","member":{"shape":"S6"}},"errors":{"shape":"Sh"}}}},"BatchGetStreamKey":{"http":{"requestUri":"/BatchGetStreamKey","responseCode":200},"input":{"type":"structure","required":["arns"],"members":{"arns":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"errors":{"shape":"Sh"},"streamKeys":{"type":"list","member":{"shape":"Sr"}}}}},"CreateChannel":{"http":{"requestUri":"/CreateChannel","responseCode":200},"input":{"type":"structure","members":{"authorized":{"type":"boolean"},"latencyMode":{},"name":{},"recordingConfigurationArn":{},"tags":{"shape":"Sd"},"type":{}}},"output":{"type":"structure","members":{"channel":{"shape":"S6"},"streamKey":{"shape":"Sr"}}}},"CreateRecordingConfiguration":{"http":{"requestUri":"/CreateRecordingConfiguration","responseCode":200},"input":{"type":"structure","required":["destinationConfiguration"],"members":{"destinationConfiguration":{"shape":"Sx"},"name":{},"tags":{"shape":"Sd"},"thumbnailConfiguration":{"shape":"S11"}}},"output":{"type":"structure","members":{"recordingConfiguration":{"shape":"S15"}}}},"CreateStreamKey":{"http":{"requestUri":"/CreateStreamKey","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{},"tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"streamKey":{"shape":"Sr"}}}},"DeleteChannel":{"http":{"requestUri":"/DeleteChannel","responseCode":204},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}}},"DeletePlaybackKeyPair":{"http":{"requestUri":"/DeletePlaybackKeyPair","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{}}},"DeleteRecordingConfiguration":{"http":{"requestUri":"/DeleteRecordingConfiguration","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}}},"DeleteStreamKey":{"http":{"requestUri":"/DeleteStreamKey","responseCode":204},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}}},"GetChannel":{"http":{"requestUri":"/GetChannel","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{"channel":{"shape":"S6"}}}},"GetPlaybackKeyPair":{"http":{"requestUri":"/GetPlaybackKeyPair","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{"keyPair":{"shape":"S1k"}}}},"GetRecordingConfiguration":{"http":{"requestUri":"/GetRecordingConfiguration","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{"recordingConfiguration":{"shape":"S15"}}}},"GetStream":{"http":{"requestUri":"/GetStream","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{}}},"output":{"type":"structure","members":{"stream":{"type":"structure","members":{"channelArn":{},"health":{},"playbackUrl":{},"startTime":{"shape":"S1t"},"state":{},"streamId":{},"viewerCount":{"type":"long"}}}}}},"GetStreamKey":{"http":{"requestUri":"/GetStreamKey","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{}}},"output":{"type":"structure","members":{"streamKey":{"shape":"Sr"}}}},"GetStreamSession":{"http":{"requestUri":"/GetStreamSession","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{},"streamId":{}}},"output":{"type":"structure","members":{"streamSession":{"type":"structure","members":{"channel":{"shape":"S6"},"endTime":{"shape":"S22"},"ingestConfiguration":{"type":"structure","members":{"audio":{"type":"structure","members":{"channels":{"type":"long"},"codec":{},"sampleRate":{"type":"long"},"targetBitrate":{"type":"long"}}},"video":{"type":"structure","members":{"avcLevel":{},"avcProfile":{},"codec":{},"encoder":{},"targetBitrate":{"type":"long"},"targetFramerate":{"type":"long"},"videoHeight":{"type":"long"},"videoWidth":{"type":"long"}}}}},"recordingConfiguration":{"shape":"S15"},"startTime":{"shape":"S22"},"streamId":{},"truncatedEvents":{"type":"list","member":{"type":"structure","members":{"eventTime":{"shape":"S22"},"name":{},"type":{}}}}}}}}},"ImportPlaybackKeyPair":{"http":{"requestUri":"/ImportPlaybackKeyPair","responseCode":200},"input":{"type":"structure","required":["publicKeyMaterial"],"members":{"name":{},"publicKeyMaterial":{},"tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"keyPair":{"shape":"S1k"}}}},"ListChannels":{"http":{"requestUri":"/ListChannels","responseCode":200},"input":{"type":"structure","members":{"filterByName":{},"filterByRecordingConfigurationArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["channels"],"members":{"channels":{"type":"list","member":{"type":"structure","members":{"arn":{},"authorized":{"type":"boolean"},"latencyMode":{},"name":{},"recordingConfigurationArn":{},"tags":{"shape":"Sd"}}}},"nextToken":{}}}},"ListPlaybackKeyPairs":{"http":{"requestUri":"/ListPlaybackKeyPairs","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["keyPairs"],"members":{"keyPairs":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"tags":{"shape":"Sd"}}}},"nextToken":{}}}},"ListRecordingConfigurations":{"http":{"requestUri":"/ListRecordingConfigurations","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["recordingConfigurations"],"members":{"nextToken":{},"recordingConfigurations":{"type":"list","member":{"type":"structure","required":["arn","destinationConfiguration","state"],"members":{"arn":{},"destinationConfiguration":{"shape":"Sx"},"name":{},"state":{},"tags":{"shape":"Sd"}}}}}}},"ListStreamKeys":{"http":{"requestUri":"/ListStreamKeys","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["streamKeys"],"members":{"nextToken":{},"streamKeys":{"type":"list","member":{"type":"structure","members":{"arn":{},"channelArn":{},"tags":{"shape":"Sd"}}}}}}},"ListStreamSessions":{"http":{"requestUri":"/ListStreamSessions","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["streamSessions"],"members":{"nextToken":{},"streamSessions":{"type":"list","member":{"type":"structure","members":{"endTime":{"shape":"S22"},"hasErrorEvent":{"type":"boolean"},"startTime":{"shape":"S22"},"streamId":{}}}}}}},"ListStreams":{"http":{"requestUri":"/ListStreams","responseCode":200},"input":{"type":"structure","members":{"filterBy":{"type":"structure","members":{"health":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["streams"],"members":{"nextToken":{},"streams":{"type":"list","member":{"type":"structure","members":{"channelArn":{},"health":{},"startTime":{"shape":"S1t"},"state":{},"streamId":{},"viewerCount":{"type":"long"}}}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","required":["tags"],"members":{"tags":{"shape":"Sd"}}}},"PutMetadata":{"http":{"requestUri":"/PutMetadata","responseCode":200},"input":{"type":"structure","required":["channelArn","metadata"],"members":{"channelArn":{},"metadata":{"type":"string","sensitive":true}}}},"StopStream":{"http":{"requestUri":"/StopStream","responseCode":200},"input":{"type":"structure","required":["channelArn"],"members":{"channelArn":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateChannel":{"http":{"requestUri":"/UpdateChannel","responseCode":200},"input":{"type":"structure","required":["arn"],"members":{"arn":{},"authorized":{"type":"boolean"},"latencyMode":{},"name":{},"recordingConfigurationArn":{},"type":{}}},"output":{"type":"structure","members":{"channel":{"shape":"S6"}}}}},"shapes":{"S6":{"type":"structure","members":{"arn":{},"authorized":{"type":"boolean"},"ingestEndpoint":{},"latencyMode":{},"name":{},"playbackUrl":{},"recordingConfigurationArn":{},"tags":{"shape":"Sd"},"type":{}}},"Sd":{"type":"map","key":{},"value":{}},"Sh":{"type":"list","member":{"type":"structure","members":{"arn":{},"code":{},"message":{}}}},"Sr":{"type":"structure","members":{"arn":{},"channelArn":{},"tags":{"shape":"Sd"},"value":{"type":"string","sensitive":true}}},"Sx":{"type":"structure","members":{"s3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{}}}}},"S11":{"type":"structure","members":{"recordingMode":{},"targetIntervalSeconds":{"type":"long"}}},"S15":{"type":"structure","required":["arn","destinationConfiguration","state"],"members":{"arn":{},"destinationConfiguration":{"shape":"Sx"},"name":{},"state":{},"tags":{"shape":"Sd"},"thumbnailConfiguration":{"shape":"S11"}}},"S1k":{"type":"structure","members":{"arn":{},"fingerprint":{},"name":{},"tags":{"shape":"Sd"}}},"S1t":{"type":"timestamp","timestampFormat":"iso8601"},"S22":{"type":"timestamp","timestampFormat":"iso8601"}}} /***/ }), /* 890 */ @@ -53048,13 +53054,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 898 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-23","endpointPrefix":"appflow","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Appflow","serviceId":"Appflow","signatureVersion":"v4","signingName":"appflow","uid":"appflow-2020-08-23"},"operations":{"CreateConnectorProfile":{"http":{"requestUri":"/create-connector-profile"},"input":{"type":"structure","required":["connectorProfileName","connectorType","connectionMode","connectorProfileConfig"],"members":{"connectorProfileName":{},"kmsArn":{},"connectorType":{},"connectionMode":{},"connectorProfileConfig":{"shape":"S6"}}},"output":{"type":"structure","members":{"connectorProfileArn":{}}}},"CreateFlow":{"http":{"requestUri":"/create-flow"},"input":{"type":"structure","required":["flowName","triggerConfig","sourceFlowConfig","destinationFlowConfigList","tasks"],"members":{"flowName":{},"description":{},"kmsArn":{},"triggerConfig":{"shape":"S2g"},"sourceFlowConfig":{"shape":"S2p"},"destinationFlowConfigList":{"shape":"S3c"},"tasks":{"shape":"S44"},"tags":{"shape":"S4t"}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{}}}},"DeleteConnectorProfile":{"http":{"requestUri":"/delete-connector-profile"},"input":{"type":"structure","required":["connectorProfileName"],"members":{"connectorProfileName":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeleteFlow":{"http":{"requestUri":"/delete-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DescribeConnectorEntity":{"http":{"requestUri":"/describe-connector-entity"},"input":{"type":"structure","required":["connectorEntityName"],"members":{"connectorEntityName":{},"connectorType":{},"connectorProfileName":{}}},"output":{"type":"structure","required":["connectorEntityFields"],"members":{"connectorEntityFields":{"type":"list","member":{"type":"structure","required":["identifier"],"members":{"identifier":{},"label":{},"supportedFieldTypeDetails":{"type":"structure","required":["v1"],"members":{"v1":{"type":"structure","required":["fieldType","filterOperators"],"members":{"fieldType":{},"filterOperators":{"type":"list","member":{}},"supportedValues":{"type":"list","member":{}}}}}},"description":{},"sourceProperties":{"type":"structure","members":{"isRetrievable":{"type":"boolean"},"isQueryable":{"type":"boolean"}}},"destinationProperties":{"type":"structure","members":{"isCreatable":{"type":"boolean"},"isNullable":{"type":"boolean"},"isUpsertable":{"type":"boolean"},"isUpdatable":{"type":"boolean"},"supportedWriteOperations":{"type":"list","member":{}}}}}}}}}},"DescribeConnectorProfiles":{"http":{"requestUri":"/describe-connector-profiles"},"input":{"type":"structure","members":{"connectorProfileNames":{"type":"list","member":{}},"connectorType":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectorProfileDetails":{"type":"list","member":{"type":"structure","members":{"connectorProfileArn":{},"connectorProfileName":{},"connectorType":{},"connectionMode":{},"credentialsArn":{},"connectorProfileProperties":{"shape":"S7"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"privateConnectionProvisioningState":{"type":"structure","members":{"status":{},"failureMessage":{},"failureCause":{}}}}}},"nextToken":{}}}},"DescribeConnectors":{"http":{"requestUri":"/describe-connectors"},"input":{"type":"structure","members":{"connectorTypes":{"shape":"S5x"},"nextToken":{}}},"output":{"type":"structure","members":{"connectorConfigurations":{"type":"map","key":{},"value":{"type":"structure","members":{"canUseAsSource":{"type":"boolean"},"canUseAsDestination":{"type":"boolean"},"supportedDestinationConnectors":{"shape":"S5x"},"supportedSchedulingFrequencies":{"type":"list","member":{}},"isPrivateLinkEnabled":{"type":"boolean"},"isPrivateLinkEndpointUrlRequired":{"type":"boolean"},"supportedTriggerTypes":{"type":"list","member":{}},"connectorMetadata":{"type":"structure","members":{"Amplitude":{"type":"structure","members":{}},"Datadog":{"type":"structure","members":{}},"Dynatrace":{"type":"structure","members":{}},"GoogleAnalytics":{"type":"structure","members":{"oAuthScopes":{"shape":"S18"}}},"InforNexus":{"type":"structure","members":{}},"Marketo":{"type":"structure","members":{}},"Redshift":{"type":"structure","members":{}},"S3":{"type":"structure","members":{}},"Salesforce":{"type":"structure","members":{"oAuthScopes":{"shape":"S18"}}},"ServiceNow":{"type":"structure","members":{}},"Singular":{"type":"structure","members":{}},"Slack":{"type":"structure","members":{"oAuthScopes":{"shape":"S18"}}},"Snowflake":{"type":"structure","members":{"supportedRegions":{"type":"list","member":{}}}},"Trendmicro":{"type":"structure","members":{}},"Veeva":{"type":"structure","members":{}},"Zendesk":{"type":"structure","members":{"oAuthScopes":{"shape":"S18"}}},"EventBridge":{"type":"structure","members":{}},"Upsolver":{"type":"structure","members":{}},"CustomerProfiles":{"type":"structure","members":{}},"Honeycode":{"type":"structure","members":{"oAuthScopes":{"shape":"S18"}}},"SAPOData":{"type":"structure","members":{}}}}}}},"nextToken":{}}}},"DescribeFlow":{"http":{"requestUri":"/describe-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"description":{},"flowName":{},"kmsArn":{},"flowStatus":{},"flowStatusMessage":{},"sourceFlowConfig":{"shape":"S2p"},"destinationFlowConfigList":{"shape":"S3c"},"lastRunExecutionDetails":{"shape":"S6u"},"triggerConfig":{"shape":"S2g"},"tasks":{"shape":"S44"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S4t"}}}},"DescribeFlowExecutionRecords":{"http":{"requestUri":"/describe-flow-execution-records"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"flowExecutions":{"type":"list","member":{"type":"structure","members":{"executionId":{},"executionStatus":{},"executionResult":{"type":"structure","members":{"errorInfo":{"type":"structure","members":{"putFailuresCount":{"type":"long"},"executionMessage":{}}},"bytesProcessed":{"type":"long"},"bytesWritten":{"type":"long"},"recordsProcessed":{"type":"long"}}},"startedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"dataPullStartTime":{"type":"timestamp"},"dataPullEndTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListConnectorEntities":{"http":{"requestUri":"/list-connector-entities"},"input":{"type":"structure","members":{"connectorProfileName":{},"connectorType":{},"entitiesPath":{}}},"output":{"type":"structure","required":["connectorEntityMap"],"members":{"connectorEntityMap":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{},"label":{},"hasNestedEntities":{"type":"boolean"}}}}}}}},"ListFlows":{"http":{"requestUri":"/list-flows"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"flows":{"type":"list","member":{"type":"structure","members":{"flowArn":{},"description":{},"flowName":{},"flowStatus":{},"sourceConnectorType":{},"destinationConnectorType":{},"triggerType":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S4t"},"lastRunExecutionDetails":{"shape":"S6u"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S4t"}}}},"StartFlow":{"http":{"requestUri":"/start-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{},"executionId":{}}}},"StopFlow":{"http":{"requestUri":"/stop-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S4t"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateConnectorProfile":{"http":{"requestUri":"/update-connector-profile"},"input":{"type":"structure","required":["connectorProfileName","connectionMode","connectorProfileConfig"],"members":{"connectorProfileName":{},"connectionMode":{},"connectorProfileConfig":{"shape":"S6"}}},"output":{"type":"structure","members":{"connectorProfileArn":{}}}},"UpdateFlow":{"http":{"requestUri":"/update-flow"},"input":{"type":"structure","required":["flowName","triggerConfig","sourceFlowConfig","destinationFlowConfigList","tasks"],"members":{"flowName":{},"description":{},"triggerConfig":{"shape":"S2g"},"sourceFlowConfig":{"shape":"S2p"},"destinationFlowConfigList":{"shape":"S3c"},"tasks":{"shape":"S44"}}},"output":{"type":"structure","members":{"flowStatus":{}}}}},"shapes":{"S6":{"type":"structure","required":["connectorProfileProperties","connectorProfileCredentials"],"members":{"connectorProfileProperties":{"shape":"S7"},"connectorProfileCredentials":{"type":"structure","members":{"Amplitude":{"type":"structure","required":["apiKey","secretKey"],"members":{"apiKey":{},"secretKey":{"type":"string","sensitive":true}}},"Datadog":{"type":"structure","required":["apiKey","applicationKey"],"members":{"apiKey":{},"applicationKey":{}}},"Dynatrace":{"type":"structure","required":["apiToken"],"members":{"apiToken":{}}},"GoogleAnalytics":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1k"},"accessToken":{"shape":"S1l"},"refreshToken":{},"oAuthRequest":{"shape":"S1n"}}},"Honeycode":{"type":"structure","members":{"accessToken":{"shape":"S1l"},"refreshToken":{},"oAuthRequest":{"shape":"S1n"}}},"InforNexus":{"type":"structure","required":["accessKeyId","userId","secretAccessKey","datakey"],"members":{"accessKeyId":{"type":"string","sensitive":true},"userId":{},"secretAccessKey":{},"datakey":{}}},"Marketo":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1k"},"accessToken":{"shape":"S1l"},"oAuthRequest":{"shape":"S1n"}}},"Redshift":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S1x"}}},"Salesforce":{"type":"structure","members":{"accessToken":{"shape":"S1l"},"refreshToken":{},"oAuthRequest":{"shape":"S1n"},"clientCredentialsArn":{"type":"string","sensitive":true}}},"ServiceNow":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S1x"}}},"Singular":{"type":"structure","required":["apiKey"],"members":{"apiKey":{}}},"Slack":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1k"},"accessToken":{"shape":"S1l"},"oAuthRequest":{"shape":"S1n"}}},"Snowflake":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S1x"}}},"Trendmicro":{"type":"structure","required":["apiSecretKey"],"members":{"apiSecretKey":{"type":"string","sensitive":true}}},"Veeva":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S1x"}}},"Zendesk":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1k"},"accessToken":{"shape":"S1l"},"oAuthRequest":{"shape":"S1n"}}},"SAPOData":{"type":"structure","members":{"basicAuthCredentials":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S1x"}}},"oAuthCredentials":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1k"},"accessToken":{"shape":"S1l"},"refreshToken":{},"oAuthRequest":{"shape":"S1n"}}}}}}}}},"S7":{"type":"structure","members":{"Amplitude":{"type":"structure","members":{}},"Datadog":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Dynatrace":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"GoogleAnalytics":{"type":"structure","members":{}},"Honeycode":{"type":"structure","members":{}},"InforNexus":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Marketo":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Redshift":{"type":"structure","required":["databaseUrl","bucketName","roleArn"],"members":{"databaseUrl":{},"bucketName":{},"bucketPrefix":{},"roleArn":{}}},"Salesforce":{"type":"structure","members":{"instanceUrl":{},"isSandboxEnvironment":{"type":"boolean"}}},"ServiceNow":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Singular":{"type":"structure","members":{}},"Slack":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Snowflake":{"type":"structure","required":["warehouse","stage","bucketName"],"members":{"warehouse":{},"stage":{},"bucketName":{},"bucketPrefix":{},"privateLinkServiceName":{},"accountName":{},"region":{}}},"Trendmicro":{"type":"structure","members":{}},"Veeva":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Zendesk":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"SAPOData":{"type":"structure","required":["applicationHostUrl","applicationServicePath","portNumber","clientNumber"],"members":{"applicationHostUrl":{},"applicationServicePath":{},"portNumber":{"type":"integer"},"clientNumber":{},"logonLanguage":{},"privateLinkServiceName":{},"oAuthProperties":{"type":"structure","required":["tokenUrl","authCodeUrl","oAuthScopes"],"members":{"tokenUrl":{},"authCodeUrl":{},"oAuthScopes":{"shape":"S18"}}}}}}},"S18":{"type":"list","member":{}},"S1k":{"type":"string","sensitive":true},"S1l":{"type":"string","sensitive":true},"S1n":{"type":"structure","members":{"authCode":{},"redirectUri":{}}},"S1x":{"type":"string","sensitive":true},"S2g":{"type":"structure","required":["triggerType"],"members":{"triggerType":{},"triggerProperties":{"type":"structure","members":{"Scheduled":{"type":"structure","required":["scheduleExpression"],"members":{"scheduleExpression":{},"dataPullMode":{},"scheduleStartTime":{"type":"timestamp"},"scheduleEndTime":{"type":"timestamp"},"timezone":{},"scheduleOffset":{"type":"long"},"firstExecutionFrom":{"type":"timestamp"}}}}}}},"S2p":{"type":"structure","required":["connectorType","sourceConnectorProperties"],"members":{"connectorType":{},"connectorProfileName":{},"sourceConnectorProperties":{"type":"structure","members":{"Amplitude":{"type":"structure","required":["object"],"members":{"object":{}}},"Datadog":{"type":"structure","required":["object"],"members":{"object":{}}},"Dynatrace":{"type":"structure","required":["object"],"members":{"object":{}}},"GoogleAnalytics":{"type":"structure","required":["object"],"members":{"object":{}}},"InforNexus":{"type":"structure","required":["object"],"members":{"object":{}}},"Marketo":{"type":"structure","required":["object"],"members":{"object":{}}},"S3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"bucketPrefix":{},"s3InputFormatConfig":{"type":"structure","members":{"s3InputFileType":{}}}}},"Salesforce":{"type":"structure","required":["object"],"members":{"object":{},"enableDynamicFieldUpdate":{"type":"boolean"},"includeDeletedRecords":{"type":"boolean"}}},"ServiceNow":{"type":"structure","required":["object"],"members":{"object":{}}},"Singular":{"type":"structure","required":["object"],"members":{"object":{}}},"Slack":{"type":"structure","required":["object"],"members":{"object":{}}},"Trendmicro":{"type":"structure","required":["object"],"members":{"object":{}}},"Veeva":{"type":"structure","required":["object"],"members":{"object":{},"documentType":{},"includeSourceFiles":{"type":"boolean"},"includeRenditions":{"type":"boolean"},"includeAllVersions":{"type":"boolean"}}},"Zendesk":{"type":"structure","required":["object"],"members":{"object":{}}},"SAPOData":{"type":"structure","members":{"objectPath":{}}}}},"incrementalPullConfig":{"type":"structure","members":{"datetimeTypeFieldName":{}}}}},"S3c":{"type":"list","member":{"type":"structure","required":["connectorType","destinationConnectorProperties"],"members":{"connectorType":{},"connectorProfileName":{},"destinationConnectorProperties":{"type":"structure","members":{"Redshift":{"type":"structure","required":["object","intermediateBucketName"],"members":{"object":{},"intermediateBucketName":{},"bucketPrefix":{},"errorHandlingConfig":{"shape":"S3g"}}},"S3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"bucketPrefix":{},"s3OutputFormatConfig":{"type":"structure","members":{"fileType":{},"prefixConfig":{"shape":"S3k"},"aggregationConfig":{"shape":"S3n"}}}}},"Salesforce":{"type":"structure","required":["object"],"members":{"object":{},"idFieldNames":{"shape":"S3q"},"errorHandlingConfig":{"shape":"S3g"},"writeOperationType":{}}},"Snowflake":{"type":"structure","required":["object","intermediateBucketName"],"members":{"object":{},"intermediateBucketName":{},"bucketPrefix":{},"errorHandlingConfig":{"shape":"S3g"}}},"EventBridge":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S3g"}}},"LookoutMetrics":{"type":"structure","members":{}},"Upsolver":{"type":"structure","required":["bucketName","s3OutputFormatConfig"],"members":{"bucketName":{},"bucketPrefix":{},"s3OutputFormatConfig":{"type":"structure","required":["prefixConfig"],"members":{"fileType":{},"prefixConfig":{"shape":"S3k"},"aggregationConfig":{"shape":"S3n"}}}}},"Honeycode":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S3g"}}},"CustomerProfiles":{"type":"structure","required":["domainName"],"members":{"domainName":{},"objectTypeName":{}}},"Zendesk":{"type":"structure","required":["object"],"members":{"object":{},"idFieldNames":{"shape":"S3q"},"errorHandlingConfig":{"shape":"S3g"},"writeOperationType":{}}}}}}}},"S3g":{"type":"structure","members":{"failOnFirstDestinationError":{"type":"boolean"},"bucketPrefix":{},"bucketName":{}}},"S3k":{"type":"structure","members":{"prefixType":{},"prefixFormat":{}}},"S3n":{"type":"structure","members":{"aggregationType":{}}},"S3q":{"type":"list","member":{}},"S44":{"type":"list","member":{"type":"structure","required":["sourceFields","taskType"],"members":{"sourceFields":{"type":"list","member":{}},"connectorOperator":{"type":"structure","members":{"Amplitude":{},"Datadog":{},"Dynatrace":{},"GoogleAnalytics":{},"InforNexus":{},"Marketo":{},"S3":{},"Salesforce":{},"ServiceNow":{},"Singular":{},"Slack":{},"Trendmicro":{},"Veeva":{},"Zendesk":{},"SAPOData":{}}},"destinationField":{},"taskType":{},"taskProperties":{"type":"map","key":{},"value":{}}}}},"S4t":{"type":"map","key":{},"value":{}},"S5x":{"type":"list","member":{}},"S6u":{"type":"structure","members":{"mostRecentExecutionMessage":{},"mostRecentExecutionTime":{"type":"timestamp"},"mostRecentExecutionStatus":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-23","endpointPrefix":"appflow","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Appflow","serviceId":"Appflow","signatureVersion":"v4","signingName":"appflow","uid":"appflow-2020-08-23"},"operations":{"CreateConnectorProfile":{"http":{"requestUri":"/create-connector-profile"},"input":{"type":"structure","required":["connectorProfileName","connectorType","connectionMode","connectorProfileConfig"],"members":{"connectorProfileName":{},"kmsArn":{},"connectorType":{},"connectorLabel":{},"connectionMode":{},"connectorProfileConfig":{"shape":"S7"}}},"output":{"type":"structure","members":{"connectorProfileArn":{}}}},"CreateFlow":{"http":{"requestUri":"/create-flow"},"input":{"type":"structure","required":["flowName","triggerConfig","sourceFlowConfig","destinationFlowConfigList","tasks"],"members":{"flowName":{},"description":{},"kmsArn":{},"triggerConfig":{"shape":"S2w"},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"tasks":{"shape":"S4t"},"tags":{"shape":"S5j"}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{}}}},"DeleteConnectorProfile":{"http":{"requestUri":"/delete-connector-profile"},"input":{"type":"structure","required":["connectorProfileName"],"members":{"connectorProfileName":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DeleteFlow":{"http":{"requestUri":"/delete-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"DescribeConnector":{"http":{"requestUri":"/describe-connector"},"input":{"type":"structure","required":["connectorType"],"members":{"connectorType":{},"connectorLabel":{}}},"output":{"type":"structure","members":{"connectorConfiguration":{"shape":"S5v"}}}},"DescribeConnectorEntity":{"http":{"requestUri":"/describe-connector-entity"},"input":{"type":"structure","required":["connectorEntityName"],"members":{"connectorEntityName":{},"connectorType":{},"connectorProfileName":{},"apiVersion":{}}},"output":{"type":"structure","required":["connectorEntityFields"],"members":{"connectorEntityFields":{"type":"list","member":{"type":"structure","required":["identifier"],"members":{"identifier":{},"parentIdentifier":{},"label":{},"isPrimaryKey":{"type":"boolean"},"defaultValue":{},"isDeprecated":{"type":"boolean"},"supportedFieldTypeDetails":{"type":"structure","required":["v1"],"members":{"v1":{"type":"structure","required":["fieldType","filterOperators"],"members":{"fieldType":{},"filterOperators":{"type":"list","member":{}},"supportedValues":{"type":"list","member":{}},"valueRegexPattern":{},"supportedDateFormat":{},"fieldValueRange":{"shape":"S7x"},"fieldLengthRange":{"shape":"S7x"}}}}},"description":{},"sourceProperties":{"type":"structure","members":{"isRetrievable":{"type":"boolean"},"isQueryable":{"type":"boolean"},"isTimestampFieldForIncrementalQueries":{"type":"boolean"}}},"destinationProperties":{"type":"structure","members":{"isCreatable":{"type":"boolean"},"isNullable":{"type":"boolean"},"isUpsertable":{"type":"boolean"},"isUpdatable":{"type":"boolean"},"isDefaultedOnCreate":{"type":"boolean"},"supportedWriteOperations":{"shape":"S7g"}}},"customProperties":{"shape":"S3t"}}}}}}},"DescribeConnectorProfiles":{"http":{"requestUri":"/describe-connector-profiles"},"input":{"type":"structure","members":{"connectorProfileNames":{"type":"list","member":{}},"connectorType":{},"connectorLabel":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectorProfileDetails":{"type":"list","member":{"type":"structure","members":{"connectorProfileArn":{},"connectorProfileName":{},"connectorType":{},"connectorLabel":{},"connectionMode":{},"credentialsArn":{},"connectorProfileProperties":{"shape":"S8"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"privateConnectionProvisioningState":{"type":"structure","members":{"status":{},"failureMessage":{},"failureCause":{}}}}}},"nextToken":{}}}},"DescribeConnectors":{"http":{"requestUri":"/describe-connectors"},"input":{"type":"structure","members":{"connectorTypes":{"shape":"S5w"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectorConfigurations":{"type":"map","key":{},"value":{"shape":"S5v"}},"connectors":{"shape":"S8f"},"nextToken":{}}}},"DescribeFlow":{"http":{"requestUri":"/describe-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"description":{},"flowName":{},"kmsArn":{},"flowStatus":{},"flowStatusMessage":{},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"lastRunExecutionDetails":{"shape":"S8l"},"triggerConfig":{"shape":"S2w"},"tasks":{"shape":"S4t"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S5j"}}}},"DescribeFlowExecutionRecords":{"http":{"requestUri":"/describe-flow-execution-records"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"flowExecutions":{"type":"list","member":{"type":"structure","members":{"executionId":{},"executionStatus":{},"executionResult":{"type":"structure","members":{"errorInfo":{"type":"structure","members":{"putFailuresCount":{"type":"long"},"executionMessage":{}}},"bytesProcessed":{"type":"long"},"bytesWritten":{"type":"long"},"recordsProcessed":{"type":"long"}}},"startedAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"dataPullStartTime":{"type":"timestamp"},"dataPullEndTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListConnectorEntities":{"http":{"requestUri":"/list-connector-entities"},"input":{"type":"structure","members":{"connectorProfileName":{},"connectorType":{},"entitiesPath":{},"apiVersion":{}}},"output":{"type":"structure","required":["connectorEntityMap"],"members":{"connectorEntityMap":{"type":"map","key":{},"value":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{},"label":{},"hasNestedEntities":{"type":"boolean"}}}}}}}},"ListConnectors":{"http":{"requestUri":"/list-connectors"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"connectors":{"shape":"S8f"},"nextToken":{}}}},"ListFlows":{"http":{"requestUri":"/list-flows"},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"flows":{"type":"list","member":{"type":"structure","members":{"flowArn":{},"description":{},"flowName":{},"flowStatus":{},"sourceConnectorType":{},"sourceConnectorLabel":{},"destinationConnectorType":{},"destinationConnectorLabel":{},"triggerType":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S5j"},"lastRunExecutionDetails":{"shape":"S8l"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S5j"}}}},"RegisterConnector":{"http":{"requestUri":"/register-connector"},"input":{"type":"structure","members":{"connectorLabel":{},"description":{},"connectorProvisioningType":{},"connectorProvisioningConfig":{"shape":"S7i"}}},"output":{"type":"structure","members":{"connectorArn":{}}}},"StartFlow":{"http":{"requestUri":"/start-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{},"executionId":{}}}},"StopFlow":{"http":{"requestUri":"/stop-flow"},"input":{"type":"structure","required":["flowName"],"members":{"flowName":{}}},"output":{"type":"structure","members":{"flowArn":{},"flowStatus":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S5j"}}},"output":{"type":"structure","members":{}}},"UnregisterConnector":{"http":{"requestUri":"/unregister-connector"},"input":{"type":"structure","required":["connectorLabel"],"members":{"connectorLabel":{},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateConnectorProfile":{"http":{"requestUri":"/update-connector-profile"},"input":{"type":"structure","required":["connectorProfileName","connectionMode","connectorProfileConfig"],"members":{"connectorProfileName":{},"connectionMode":{},"connectorProfileConfig":{"shape":"S7"}}},"output":{"type":"structure","members":{"connectorProfileArn":{}}}},"UpdateFlow":{"http":{"requestUri":"/update-flow"},"input":{"type":"structure","required":["flowName","triggerConfig","sourceFlowConfig","destinationFlowConfigList","tasks"],"members":{"flowName":{},"description":{},"triggerConfig":{"shape":"S2w"},"sourceFlowConfig":{"shape":"S35"},"destinationFlowConfigList":{"shape":"S3y"},"tasks":{"shape":"S4t"}}},"output":{"type":"structure","members":{"flowStatus":{}}}}},"shapes":{"S7":{"type":"structure","required":["connectorProfileProperties","connectorProfileCredentials"],"members":{"connectorProfileProperties":{"shape":"S8"},"connectorProfileCredentials":{"type":"structure","members":{"Amplitude":{"type":"structure","required":["apiKey","secretKey"],"members":{"apiKey":{"shape":"S1j"},"secretKey":{"type":"string","sensitive":true}}},"Datadog":{"type":"structure","required":["apiKey","applicationKey"],"members":{"apiKey":{"shape":"S1j"},"applicationKey":{}}},"Dynatrace":{"type":"structure","required":["apiToken"],"members":{"apiToken":{}}},"GoogleAnalytics":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"Honeycode":{"type":"structure","members":{"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"InforNexus":{"type":"structure","required":["accessKeyId","userId","secretAccessKey","datakey"],"members":{"accessKeyId":{"type":"string","sensitive":true},"userId":{},"secretAccessKey":{},"datakey":{}}},"Marketo":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"Redshift":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Salesforce":{"type":"structure","members":{"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"},"clientCredentialsArn":{"type":"string","sensitive":true}}},"ServiceNow":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Singular":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"shape":"S1j"}}},"Slack":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"Snowflake":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Trendmicro":{"type":"structure","required":["apiSecretKey"],"members":{"apiSecretKey":{"shape":"S2c"}}},"Veeva":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"Zendesk":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"oAuthRequest":{"shape":"S1u"}}},"SAPOData":{"type":"structure","members":{"basicAuthCredentials":{"shape":"S2g"},"oAuthCredentials":{"type":"structure","required":["clientId","clientSecret"],"members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}}}},"CustomConnector":{"type":"structure","required":["authenticationType"],"members":{"authenticationType":{},"basic":{"shape":"S2g"},"oauth2":{"type":"structure","members":{"clientId":{},"clientSecret":{"shape":"S1r"},"accessToken":{"shape":"S1s"},"refreshToken":{},"oAuthRequest":{"shape":"S1u"}}},"apiKey":{"type":"structure","required":["apiKey"],"members":{"apiKey":{"shape":"S1j"},"apiSecretKey":{"shape":"S2c"}}},"custom":{"type":"structure","required":["customAuthenticationType"],"members":{"customAuthenticationType":{},"credentialsMap":{"type":"map","key":{"type":"string","sensitive":true},"value":{"type":"string","sensitive":true}}}}}}}}}},"S8":{"type":"structure","members":{"Amplitude":{"type":"structure","members":{}},"Datadog":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Dynatrace":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"GoogleAnalytics":{"type":"structure","members":{}},"Honeycode":{"type":"structure","members":{}},"InforNexus":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Marketo":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Redshift":{"type":"structure","required":["databaseUrl","bucketName","roleArn"],"members":{"databaseUrl":{},"bucketName":{},"bucketPrefix":{},"roleArn":{}}},"Salesforce":{"type":"structure","members":{"instanceUrl":{},"isSandboxEnvironment":{"type":"boolean"}}},"ServiceNow":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Singular":{"type":"structure","members":{}},"Slack":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Snowflake":{"type":"structure","required":["warehouse","stage","bucketName"],"members":{"warehouse":{},"stage":{},"bucketName":{},"bucketPrefix":{},"privateLinkServiceName":{},"accountName":{},"region":{}}},"Trendmicro":{"type":"structure","members":{}},"Veeva":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"Zendesk":{"type":"structure","required":["instanceUrl"],"members":{"instanceUrl":{}}},"SAPOData":{"type":"structure","required":["applicationHostUrl","applicationServicePath","portNumber","clientNumber"],"members":{"applicationHostUrl":{},"applicationServicePath":{},"portNumber":{"type":"integer"},"clientNumber":{},"logonLanguage":{},"privateLinkServiceName":{},"oAuthProperties":{"type":"structure","required":["tokenUrl","authCodeUrl","oAuthScopes"],"members":{"tokenUrl":{},"authCodeUrl":{},"oAuthScopes":{"shape":"S19"}}}}},"CustomConnector":{"type":"structure","members":{"profileProperties":{"type":"map","key":{},"value":{}},"oAuth2Properties":{"type":"structure","required":["tokenUrl","oAuth2GrantType"],"members":{"tokenUrl":{},"oAuth2GrantType":{}}}}}}},"S19":{"type":"list","member":{}},"S1j":{"type":"string","sensitive":true},"S1r":{"type":"string","sensitive":true},"S1s":{"type":"string","sensitive":true},"S1u":{"type":"structure","members":{"authCode":{},"redirectUri":{}}},"S24":{"type":"string","sensitive":true},"S2c":{"type":"string","sensitive":true},"S2g":{"type":"structure","required":["username","password"],"members":{"username":{},"password":{"shape":"S24"}}},"S2w":{"type":"structure","required":["triggerType"],"members":{"triggerType":{},"triggerProperties":{"type":"structure","members":{"Scheduled":{"type":"structure","required":["scheduleExpression"],"members":{"scheduleExpression":{},"dataPullMode":{},"scheduleStartTime":{"type":"timestamp"},"scheduleEndTime":{"type":"timestamp"},"timezone":{},"scheduleOffset":{"type":"long"},"firstExecutionFrom":{"type":"timestamp"}}}}}}},"S35":{"type":"structure","required":["connectorType","sourceConnectorProperties"],"members":{"connectorType":{},"apiVersion":{},"connectorProfileName":{},"sourceConnectorProperties":{"type":"structure","members":{"Amplitude":{"type":"structure","required":["object"],"members":{"object":{}}},"Datadog":{"type":"structure","required":["object"],"members":{"object":{}}},"Dynatrace":{"type":"structure","required":["object"],"members":{"object":{}}},"GoogleAnalytics":{"type":"structure","required":["object"],"members":{"object":{}}},"InforNexus":{"type":"structure","required":["object"],"members":{"object":{}}},"Marketo":{"type":"structure","required":["object"],"members":{"object":{}}},"S3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"bucketPrefix":{},"s3InputFormatConfig":{"type":"structure","members":{"s3InputFileType":{}}}}},"Salesforce":{"type":"structure","required":["object"],"members":{"object":{},"enableDynamicFieldUpdate":{"type":"boolean"},"includeDeletedRecords":{"type":"boolean"}}},"ServiceNow":{"type":"structure","required":["object"],"members":{"object":{}}},"Singular":{"type":"structure","required":["object"],"members":{"object":{}}},"Slack":{"type":"structure","required":["object"],"members":{"object":{}}},"Trendmicro":{"type":"structure","required":["object"],"members":{"object":{}}},"Veeva":{"type":"structure","required":["object"],"members":{"object":{},"documentType":{},"includeSourceFiles":{"type":"boolean"},"includeRenditions":{"type":"boolean"},"includeAllVersions":{"type":"boolean"}}},"Zendesk":{"type":"structure","required":["object"],"members":{"object":{}}},"SAPOData":{"type":"structure","members":{"objectPath":{}}},"CustomConnector":{"type":"structure","required":["entityName"],"members":{"entityName":{},"customProperties":{"shape":"S3t"}}}}},"incrementalPullConfig":{"type":"structure","members":{"datetimeTypeFieldName":{}}}}},"S3t":{"type":"map","key":{},"value":{}},"S3y":{"type":"list","member":{"type":"structure","required":["connectorType","destinationConnectorProperties"],"members":{"connectorType":{},"apiVersion":{},"connectorProfileName":{},"destinationConnectorProperties":{"type":"structure","members":{"Redshift":{"type":"structure","required":["object","intermediateBucketName"],"members":{"object":{},"intermediateBucketName":{},"bucketPrefix":{},"errorHandlingConfig":{"shape":"S42"}}},"S3":{"type":"structure","required":["bucketName"],"members":{"bucketName":{},"bucketPrefix":{},"s3OutputFormatConfig":{"type":"structure","members":{"fileType":{},"prefixConfig":{"shape":"S46"},"aggregationConfig":{"shape":"S49"}}}}},"Salesforce":{"type":"structure","required":["object"],"members":{"object":{},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}},"Snowflake":{"type":"structure","required":["object","intermediateBucketName"],"members":{"object":{},"intermediateBucketName":{},"bucketPrefix":{},"errorHandlingConfig":{"shape":"S42"}}},"EventBridge":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S42"}}},"LookoutMetrics":{"type":"structure","members":{}},"Upsolver":{"type":"structure","required":["bucketName","s3OutputFormatConfig"],"members":{"bucketName":{},"bucketPrefix":{},"s3OutputFormatConfig":{"type":"structure","required":["prefixConfig"],"members":{"fileType":{},"prefixConfig":{"shape":"S46"},"aggregationConfig":{"shape":"S49"}}}}},"Honeycode":{"type":"structure","required":["object"],"members":{"object":{},"errorHandlingConfig":{"shape":"S42"}}},"CustomerProfiles":{"type":"structure","required":["domainName"],"members":{"domainName":{},"objectTypeName":{}}},"Zendesk":{"type":"structure","required":["object"],"members":{"object":{},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}},"CustomConnector":{"type":"structure","required":["entityName"],"members":{"entityName":{},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{},"idFieldNames":{"shape":"S4c"},"customProperties":{"shape":"S3t"}}},"SAPOData":{"type":"structure","required":["objectPath"],"members":{"objectPath":{},"successResponseHandlingConfig":{"type":"structure","members":{"bucketPrefix":{},"bucketName":{}}},"idFieldNames":{"shape":"S4c"},"errorHandlingConfig":{"shape":"S42"},"writeOperationType":{}}}}}}}},"S42":{"type":"structure","members":{"failOnFirstDestinationError":{"type":"boolean"},"bucketPrefix":{},"bucketName":{}}},"S46":{"type":"structure","members":{"prefixType":{},"prefixFormat":{}}},"S49":{"type":"structure","members":{"aggregationType":{}}},"S4c":{"type":"list","member":{}},"S4t":{"type":"list","member":{"type":"structure","required":["sourceFields","taskType"],"members":{"sourceFields":{"type":"list","member":{}},"connectorOperator":{"type":"structure","members":{"Amplitude":{},"Datadog":{},"Dynatrace":{},"GoogleAnalytics":{},"InforNexus":{},"Marketo":{},"S3":{},"Salesforce":{},"ServiceNow":{},"Singular":{},"Slack":{},"Trendmicro":{},"Veeva":{},"Zendesk":{},"SAPOData":{},"CustomConnector":{}}},"destinationField":{},"taskType":{},"taskProperties":{"type":"map","key":{},"value":{}}}}},"S5j":{"type":"map","key":{},"value":{}},"S5v":{"type":"structure","members":{"canUseAsSource":{"type":"boolean"},"canUseAsDestination":{"type":"boolean"},"supportedDestinationConnectors":{"shape":"S5w"},"supportedSchedulingFrequencies":{"type":"list","member":{}},"isPrivateLinkEnabled":{"type":"boolean"},"isPrivateLinkEndpointUrlRequired":{"type":"boolean"},"supportedTriggerTypes":{"type":"list","member":{}},"connectorMetadata":{"type":"structure","members":{"Amplitude":{"type":"structure","members":{}},"Datadog":{"type":"structure","members":{}},"Dynatrace":{"type":"structure","members":{}},"GoogleAnalytics":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"InforNexus":{"type":"structure","members":{}},"Marketo":{"type":"structure","members":{}},"Redshift":{"type":"structure","members":{}},"S3":{"type":"structure","members":{}},"Salesforce":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"ServiceNow":{"type":"structure","members":{}},"Singular":{"type":"structure","members":{}},"Slack":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"Snowflake":{"type":"structure","members":{"supportedRegions":{"type":"list","member":{}}}},"Trendmicro":{"type":"structure","members":{}},"Veeva":{"type":"structure","members":{}},"Zendesk":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"EventBridge":{"type":"structure","members":{}},"Upsolver":{"type":"structure","members":{}},"CustomerProfiles":{"type":"structure","members":{}},"Honeycode":{"type":"structure","members":{"oAuthScopes":{"shape":"S19"}}},"SAPOData":{"type":"structure","members":{}}}},"connectorType":{},"connectorLabel":{},"connectorDescription":{},"connectorOwner":{},"connectorName":{},"connectorVersion":{},"connectorArn":{},"connectorModes":{"shape":"S6s"},"authenticationConfig":{"type":"structure","members":{"isBasicAuthSupported":{"type":"boolean"},"isApiKeyAuthSupported":{"type":"boolean"},"isOAuth2Supported":{"type":"boolean"},"isCustomAuthSupported":{"type":"boolean"},"oAuth2Defaults":{"type":"structure","members":{"oauthScopes":{"shape":"S19"},"tokenUrls":{"type":"list","member":{}},"authCodeUrls":{"type":"list","member":{}},"oauth2GrantTypesSupported":{"type":"list","member":{}}}},"customAuthConfigs":{"type":"list","member":{"type":"structure","members":{"customAuthenticationType":{},"authParameters":{"type":"list","member":{"type":"structure","members":{"key":{},"isRequired":{"type":"boolean"},"label":{},"description":{},"isSensitiveField":{"type":"boolean"},"connectorSuppliedValues":{"type":"list","member":{}}}}}}}}}},"connectorRuntimeSettings":{"type":"list","member":{"type":"structure","members":{"key":{},"dataType":{},"isRequired":{"type":"boolean"},"label":{},"description":{},"scope":{},"connectorSuppliedValueOptions":{"type":"list","member":{}}}}},"supportedApiVersions":{"type":"list","member":{}},"supportedOperators":{"type":"list","member":{}},"supportedWriteOperations":{"shape":"S7g"},"connectorProvisioningType":{},"connectorProvisioningConfig":{"shape":"S7i"},"logoURL":{},"registeredAt":{"type":"timestamp"},"registeredBy":{}}},"S5w":{"type":"list","member":{}},"S6s":{"type":"list","member":{}},"S7g":{"type":"list","member":{}},"S7i":{"type":"structure","members":{"lambda":{"type":"structure","required":["lambdaArn"],"members":{"lambdaArn":{}}}}},"S7x":{"type":"structure","members":{"maximum":{"type":"double"},"minimum":{"type":"double"}}},"S8f":{"type":"list","member":{"type":"structure","members":{"connectorDescription":{},"connectorName":{},"connectorOwner":{},"connectorVersion":{},"applicationType":{},"connectorType":{},"connectorLabel":{},"registeredAt":{"type":"timestamp"},"registeredBy":{},"connectorProvisioningType":{},"connectorModes":{"shape":"S6s"}}}},"S8l":{"type":"structure","members":{"mostRecentExecutionMessage":{},"mostRecentExecutionTime":{"type":"timestamp"},"mostRecentExecutionStatus":{}}}}} /***/ }), /* 899 */ /***/ (function(module, exports) { - module.exports = {"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"}}} + module.exports = {"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"}}} /***/ }), /* 900 */ @@ -53264,7 +53270,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 916 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"databrew","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Glue DataBrew","serviceId":"DataBrew","signatureVersion":"v4","signingName":"databrew","uid":"databrew-2017-07-25"},"operations":{"BatchDeleteRecipeVersion":{"http":{"requestUri":"/recipes/{name}/batchDeleteRecipeVersion"},"input":{"type":"structure","required":["Name","RecipeVersions"],"members":{"Name":{"location":"uri","locationName":"name"},"RecipeVersions":{"type":"list","member":{}}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{},"Errors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{},"RecipeVersion":{}}}}}}},"CreateDataset":{"http":{"requestUri":"/datasets"},"input":{"type":"structure","required":["Name","Input"],"members":{"Name":{},"Format":{},"FormatOptions":{"shape":"Sd"},"Input":{"shape":"So"},"PathOptions":{"shape":"S12"},"Tags":{"shape":"S1l"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateProfileJob":{"http":{"requestUri":"/profileJobs"},"input":{"type":"structure","required":["DatasetName","Name","OutputLocation","RoleArn"],"members":{"DatasetName":{},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"OutputLocation":{"shape":"Sp"},"Configuration":{"shape":"S1w"},"ValidationConfigurations":{"shape":"S2f"},"RoleArn":{},"Tags":{"shape":"S1l"},"Timeout":{"type":"integer"},"JobSample":{"shape":"S2j"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateProject":{"http":{"requestUri":"/projects"},"input":{"type":"structure","required":["DatasetName","Name","RecipeName","RoleArn"],"members":{"DatasetName":{},"Name":{},"RecipeName":{},"Sample":{"shape":"S2p"},"RoleArn":{},"Tags":{"shape":"S1l"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateRecipe":{"http":{"requestUri":"/recipes"},"input":{"type":"structure","required":["Name","Steps"],"members":{"Description":{},"Name":{},"Steps":{"shape":"S2v"},"Tags":{"shape":"S1l"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateRecipeJob":{"http":{"requestUri":"/recipeJobs"},"input":{"type":"structure","required":["Name","RoleArn"],"members":{"DatasetName":{},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"Outputs":{"shape":"S35"},"DataCatalogOutputs":{"shape":"S3d"},"DatabaseOutputs":{"shape":"S3h"},"ProjectName":{},"RecipeReference":{"shape":"S3k"},"RoleArn":{},"Tags":{"shape":"S1l"},"Timeout":{"type":"integer"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateRuleset":{"http":{"requestUri":"/rulesets"},"input":{"type":"structure","required":["Name","TargetArn","Rules"],"members":{"Name":{},"Description":{},"TargetArn":{},"Rules":{"shape":"S3p"},"Tags":{"shape":"S1l"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateSchedule":{"http":{"requestUri":"/schedules"},"input":{"type":"structure","required":["CronExpression","Name"],"members":{"JobNames":{"shape":"S3z"},"CronExpression":{},"Tags":{"shape":"S1l"},"Name":{}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteDataset":{"http":{"method":"DELETE","requestUri":"/datasets/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteJob":{"http":{"method":"DELETE","requestUri":"/jobs/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteProject":{"http":{"method":"DELETE","requestUri":"/projects/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteRecipeVersion":{"http":{"method":"DELETE","requestUri":"/recipes/{name}/recipeVersion/{recipeVersion}"},"input":{"type":"structure","required":["Name","RecipeVersion"],"members":{"Name":{"location":"uri","locationName":"name"},"RecipeVersion":{"location":"uri","locationName":"recipeVersion"}}},"output":{"type":"structure","required":["Name","RecipeVersion"],"members":{"Name":{},"RecipeVersion":{}}}},"DeleteRuleset":{"http":{"method":"DELETE","requestUri":"/rulesets/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteSchedule":{"http":{"method":"DELETE","requestUri":"/schedules/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DescribeDataset":{"http":{"method":"GET","requestUri":"/datasets/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name","Input"],"members":{"CreatedBy":{},"CreateDate":{"type":"timestamp"},"Name":{},"Format":{},"FormatOptions":{"shape":"Sd"},"Input":{"shape":"So"},"LastModifiedDate":{"type":"timestamp"},"LastModifiedBy":{},"Source":{},"PathOptions":{"shape":"S12"},"Tags":{"shape":"S1l"},"ResourceArn":{}}}},"DescribeJob":{"http":{"method":"GET","requestUri":"/jobs/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"CreateDate":{"type":"timestamp"},"CreatedBy":{},"DatasetName":{},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{},"Type":{},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"Outputs":{"shape":"S35"},"DataCatalogOutputs":{"shape":"S3d"},"DatabaseOutputs":{"shape":"S3h"},"ProjectName":{},"ProfileConfiguration":{"shape":"S1w"},"ValidationConfigurations":{"shape":"S2f"},"RecipeReference":{"shape":"S3k"},"ResourceArn":{},"RoleArn":{},"Tags":{"shape":"S1l"},"Timeout":{"type":"integer"},"JobSample":{"shape":"S2j"}}}},"DescribeJobRun":{"http":{"method":"GET","requestUri":"/jobs/{name}/jobRun/{runId}"},"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{"location":"uri","locationName":"name"},"RunId":{"location":"uri","locationName":"runId"}}},"output":{"type":"structure","required":["JobName"],"members":{"Attempt":{"type":"integer"},"CompletedOn":{"type":"timestamp"},"DatasetName":{},"ErrorMessage":{},"ExecutionTime":{"type":"integer"},"JobName":{},"ProfileConfiguration":{"shape":"S1w"},"ValidationConfigurations":{"shape":"S2f"},"RunId":{},"State":{},"LogSubscription":{},"LogGroupName":{},"Outputs":{"shape":"S35"},"DataCatalogOutputs":{"shape":"S3d"},"DatabaseOutputs":{"shape":"S3h"},"RecipeReference":{"shape":"S3k"},"StartedBy":{},"StartedOn":{"type":"timestamp"},"JobSample":{"shape":"S2j"}}}},"DescribeProject":{"http":{"method":"GET","requestUri":"/projects/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"CreateDate":{"type":"timestamp"},"CreatedBy":{},"DatasetName":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedBy":{},"Name":{},"RecipeName":{},"ResourceArn":{},"Sample":{"shape":"S2p"},"RoleArn":{},"Tags":{"shape":"S1l"},"SessionStatus":{},"OpenedBy":{},"OpenDate":{"type":"timestamp"}}}},"DescribeRecipe":{"http":{"method":"GET","requestUri":"/recipes/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"RecipeVersion":{"location":"querystring","locationName":"recipeVersion"}}},"output":{"type":"structure","required":["Name"],"members":{"CreatedBy":{},"CreateDate":{"type":"timestamp"},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ProjectName":{},"PublishedBy":{},"PublishedDate":{"type":"timestamp"},"Description":{},"Name":{},"Steps":{"shape":"S2v"},"Tags":{"shape":"S1l"},"ResourceArn":{},"RecipeVersion":{}}}},"DescribeRuleset":{"http":{"method":"GET","requestUri":"/rulesets/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"TargetArn":{},"Rules":{"shape":"S3p"},"CreateDate":{"type":"timestamp"},"CreatedBy":{},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ResourceArn":{},"Tags":{"shape":"S1l"}}}},"DescribeSchedule":{"http":{"method":"GET","requestUri":"/schedules/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"CreateDate":{"type":"timestamp"},"CreatedBy":{},"JobNames":{"shape":"S3z"},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ResourceArn":{},"CronExpression":{},"Tags":{"shape":"S1l"},"Name":{}}}},"ListDatasets":{"http":{"method":"GET","requestUri":"/datasets"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["Datasets"],"members":{"Datasets":{"type":"list","member":{"type":"structure","required":["Name","Input"],"members":{"AccountId":{},"CreatedBy":{},"CreateDate":{"type":"timestamp"},"Name":{},"Format":{},"FormatOptions":{"shape":"Sd"},"Input":{"shape":"So"},"LastModifiedDate":{"type":"timestamp"},"LastModifiedBy":{},"Source":{},"PathOptions":{"shape":"S12"},"Tags":{"shape":"S1l"},"ResourceArn":{}}}},"NextToken":{}}}},"ListJobRuns":{"http":{"method":"GET","requestUri":"/jobs/{name}/jobRuns"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["JobRuns"],"members":{"JobRuns":{"type":"list","member":{"type":"structure","members":{"Attempt":{"type":"integer"},"CompletedOn":{"type":"timestamp"},"DatasetName":{},"ErrorMessage":{},"ExecutionTime":{"type":"integer"},"JobName":{},"RunId":{},"State":{},"LogSubscription":{},"LogGroupName":{},"Outputs":{"shape":"S35"},"DataCatalogOutputs":{"shape":"S3d"},"DatabaseOutputs":{"shape":"S3h"},"RecipeReference":{"shape":"S3k"},"StartedBy":{},"StartedOn":{"type":"timestamp"},"JobSample":{"shape":"S2j"},"ValidationConfigurations":{"shape":"S2f"}}}},"NextToken":{}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/jobs"},"input":{"type":"structure","members":{"DatasetName":{"location":"querystring","locationName":"datasetName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"ProjectName":{"location":"querystring","locationName":"projectName"}}},"output":{"type":"structure","required":["Jobs"],"members":{"Jobs":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"AccountId":{},"CreatedBy":{},"CreateDate":{"type":"timestamp"},"DatasetName":{},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{},"Type":{},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"Outputs":{"shape":"S35"},"DataCatalogOutputs":{"shape":"S3d"},"DatabaseOutputs":{"shape":"S3h"},"ProjectName":{},"RecipeReference":{"shape":"S3k"},"ResourceArn":{},"RoleArn":{},"Timeout":{"type":"integer"},"Tags":{"shape":"S1l"},"JobSample":{"shape":"S2j"},"ValidationConfigurations":{"shape":"S2f"}}}},"NextToken":{}}}},"ListProjects":{"http":{"method":"GET","requestUri":"/projects"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["Projects"],"members":{"Projects":{"type":"list","member":{"type":"structure","required":["Name","RecipeName"],"members":{"AccountId":{},"CreateDate":{"type":"timestamp"},"CreatedBy":{},"DatasetName":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedBy":{},"Name":{},"RecipeName":{},"ResourceArn":{},"Sample":{"shape":"S2p"},"Tags":{"shape":"S1l"},"RoleArn":{},"OpenedBy":{},"OpenDate":{"type":"timestamp"}}}},"NextToken":{}}}},"ListRecipeVersions":{"http":{"method":"GET","requestUri":"/recipeVersions"},"input":{"type":"structure","required":["Name"],"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"Name":{"location":"querystring","locationName":"name"}}},"output":{"type":"structure","required":["Recipes"],"members":{"NextToken":{},"Recipes":{"shape":"S5t"}}}},"ListRecipes":{"http":{"method":"GET","requestUri":"/recipes"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"RecipeVersion":{"location":"querystring","locationName":"recipeVersion"}}},"output":{"type":"structure","required":["Recipes"],"members":{"Recipes":{"shape":"S5t"},"NextToken":{}}}},"ListRulesets":{"http":{"method":"GET","requestUri":"/rulesets"},"input":{"type":"structure","members":{"TargetArn":{"location":"querystring","locationName":"targetArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["Rulesets"],"members":{"Rulesets":{"type":"list","member":{"type":"structure","required":["Name","TargetArn"],"members":{"AccountId":{},"CreatedBy":{},"CreateDate":{"type":"timestamp"},"Description":{},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"Name":{},"ResourceArn":{},"RuleCount":{"type":"integer"},"Tags":{"shape":"S1l"},"TargetArn":{}}}},"NextToken":{}}}},"ListSchedules":{"http":{"method":"GET","requestUri":"/schedules"},"input":{"type":"structure","members":{"JobName":{"location":"querystring","locationName":"jobName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["Schedules"],"members":{"Schedules":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"AccountId":{},"CreatedBy":{},"CreateDate":{"type":"timestamp"},"JobNames":{"shape":"S3z"},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ResourceArn":{},"CronExpression":{},"Tags":{"shape":"S1l"},"Name":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S1l"}}}},"PublishRecipe":{"http":{"requestUri":"/recipes/{name}/publishRecipe"},"input":{"type":"structure","required":["Name"],"members":{"Description":{},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"SendProjectSessionAction":{"http":{"method":"PUT","requestUri":"/projects/{name}/sendProjectSessionAction"},"input":{"type":"structure","required":["Name"],"members":{"Preview":{"type":"boolean"},"Name":{"location":"uri","locationName":"name"},"RecipeStep":{"shape":"S2w"},"StepIndex":{"type":"integer"},"ClientSessionId":{"shape":"S6d"},"ViewFrame":{"type":"structure","required":["StartColumnIndex"],"members":{"StartColumnIndex":{"type":"integer"},"ColumnRange":{"type":"integer"},"HiddenColumns":{"type":"list","member":{}},"StartRowIndex":{"type":"integer"},"RowRange":{"type":"integer"},"Analytics":{}}}}},"output":{"type":"structure","required":["Name"],"members":{"Result":{},"Name":{},"ActionId":{"type":"integer"}}}},"StartJobRun":{"http":{"requestUri":"/jobs/{name}/startJobRun"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["RunId"],"members":{"RunId":{}}}},"StartProjectSession":{"http":{"method":"PUT","requestUri":"/projects/{name}/startProjectSession"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"AssumeControl":{"type":"boolean"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{},"ClientSessionId":{"shape":"S6d"}}}},"StopJobRun":{"http":{"requestUri":"/jobs/{name}/jobRun/{runId}/stopJobRun"},"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{"location":"uri","locationName":"name"},"RunId":{"location":"uri","locationName":"runId"}}},"output":{"type":"structure","required":["RunId"],"members":{"RunId":{}}}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"S1l"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDataset":{"http":{"method":"PUT","requestUri":"/datasets/{name}"},"input":{"type":"structure","required":["Name","Input"],"members":{"Name":{"location":"uri","locationName":"name"},"Format":{},"FormatOptions":{"shape":"Sd"},"Input":{"shape":"So"},"PathOptions":{"shape":"S12"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateProfileJob":{"http":{"method":"PUT","requestUri":"/profileJobs/{name}"},"input":{"type":"structure","required":["Name","OutputLocation","RoleArn"],"members":{"Configuration":{"shape":"S1w"},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{"location":"uri","locationName":"name"},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"OutputLocation":{"shape":"Sp"},"ValidationConfigurations":{"shape":"S2f"},"RoleArn":{},"Timeout":{"type":"integer"},"JobSample":{"shape":"S2j"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateProject":{"http":{"method":"PUT","requestUri":"/projects/{name}"},"input":{"type":"structure","required":["RoleArn","Name"],"members":{"Sample":{"shape":"S2p"},"RoleArn":{},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"LastModifiedDate":{"type":"timestamp"},"Name":{}}}},"UpdateRecipe":{"http":{"method":"PUT","requestUri":"/recipes/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Description":{},"Name":{"location":"uri","locationName":"name"},"Steps":{"shape":"S2v"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateRecipeJob":{"http":{"method":"PUT","requestUri":"/recipeJobs/{name}"},"input":{"type":"structure","required":["Name","RoleArn"],"members":{"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{"location":"uri","locationName":"name"},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"Outputs":{"shape":"S35"},"DataCatalogOutputs":{"shape":"S3d"},"DatabaseOutputs":{"shape":"S3h"},"RoleArn":{},"Timeout":{"type":"integer"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateRuleset":{"http":{"method":"PUT","requestUri":"/rulesets/{name}"},"input":{"type":"structure","required":["Name","Rules"],"members":{"Name":{"location":"uri","locationName":"name"},"Description":{},"Rules":{"shape":"S3p"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateSchedule":{"http":{"method":"PUT","requestUri":"/schedules/{name}"},"input":{"type":"structure","required":["CronExpression","Name"],"members":{"JobNames":{"shape":"S3z"},"CronExpression":{},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}}},"shapes":{"Sd":{"type":"structure","members":{"Json":{"type":"structure","members":{"MultiLine":{"type":"boolean"}}},"Excel":{"type":"structure","members":{"SheetNames":{"type":"list","member":{}},"SheetIndexes":{"type":"list","member":{"type":"integer"}},"HeaderRow":{"type":"boolean"}}},"Csv":{"type":"structure","members":{"Delimiter":{},"HeaderRow":{"type":"boolean"}}}}},"So":{"type":"structure","members":{"S3InputDefinition":{"shape":"Sp"},"DataCatalogInputDefinition":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"TempDirectory":{"shape":"Sp"}}},"DatabaseInputDefinition":{"type":"structure","required":["GlueConnectionName"],"members":{"GlueConnectionName":{},"DatabaseTableName":{},"TempDirectory":{"shape":"Sp"},"QueryString":{}}},"Metadata":{"type":"structure","members":{"SourceArn":{}}}}},"Sp":{"type":"structure","required":["Bucket"],"members":{"Bucket":{},"Key":{}}},"S12":{"type":"structure","members":{"LastModifiedDateCondition":{"shape":"S13"},"FilesLimit":{"type":"structure","required":["MaxFiles"],"members":{"MaxFiles":{"type":"integer"},"OrderedBy":{},"Order":{}}},"Parameters":{"type":"map","key":{},"value":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"DatetimeOptions":{"type":"structure","required":["Format"],"members":{"Format":{},"TimezoneOffset":{},"LocaleCode":{}}},"CreateColumn":{"type":"boolean"},"Filter":{"shape":"S13"}}}}}},"S13":{"type":"structure","required":["Expression","ValuesMap"],"members":{"Expression":{},"ValuesMap":{"shape":"S15"}}},"S15":{"type":"map","key":{},"value":{}},"S1l":{"type":"map","key":{},"value":{}},"S1w":{"type":"structure","members":{"DatasetStatisticsConfiguration":{"shape":"S1x"},"ProfileColumns":{"shape":"S25"},"ColumnStatisticsConfigurations":{"type":"list","member":{"type":"structure","required":["Statistics"],"members":{"Selectors":{"shape":"S25"},"Statistics":{"shape":"S1x"}}}},"EntityDetectorConfiguration":{"type":"structure","required":["EntityTypes"],"members":{"EntityTypes":{"type":"list","member":{}},"AllowedStatistics":{"type":"list","member":{"type":"structure","required":["Statistics"],"members":{"Statistics":{"shape":"S1y"}}}}}}}},"S1x":{"type":"structure","members":{"IncludedStatistics":{"shape":"S1y"},"Overrides":{"type":"list","member":{"type":"structure","required":["Statistic","Parameters"],"members":{"Statistic":{},"Parameters":{"shape":"S22"}}}}}},"S1y":{"type":"list","member":{}},"S22":{"type":"map","key":{},"value":{}},"S25":{"type":"list","member":{"type":"structure","members":{"Regex":{},"Name":{}}}},"S2f":{"type":"list","member":{"type":"structure","required":["RulesetArn"],"members":{"RulesetArn":{},"ValidationMode":{}}}},"S2j":{"type":"structure","members":{"Mode":{},"Size":{"type":"long"}}},"S2p":{"type":"structure","required":["Type"],"members":{"Size":{"type":"integer"},"Type":{}}},"S2v":{"type":"list","member":{"shape":"S2w"}},"S2w":{"type":"structure","required":["Action"],"members":{"Action":{"type":"structure","required":["Operation"],"members":{"Operation":{},"Parameters":{"shape":"S22"}}},"ConditionExpressions":{"type":"list","member":{"type":"structure","required":["Condition","TargetColumn"],"members":{"Condition":{},"Value":{},"TargetColumn":{}}}}}},"S35":{"type":"list","member":{"type":"structure","required":["Location"],"members":{"CompressionFormat":{},"Format":{},"PartitionColumns":{"type":"list","member":{}},"Location":{"shape":"Sp"},"Overwrite":{"type":"boolean"},"FormatOptions":{"type":"structure","members":{"Csv":{"type":"structure","members":{"Delimiter":{}}}}}}}},"S3d":{"type":"list","member":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"S3Options":{"type":"structure","required":["Location"],"members":{"Location":{"shape":"Sp"}}},"DatabaseOptions":{"shape":"S3g"},"Overwrite":{"type":"boolean"}}}},"S3g":{"type":"structure","required":["TableName"],"members":{"TempDirectory":{"shape":"Sp"},"TableName":{}}},"S3h":{"type":"list","member":{"type":"structure","required":["GlueConnectionName","DatabaseOptions"],"members":{"GlueConnectionName":{},"DatabaseOptions":{"shape":"S3g"},"DatabaseOutputMode":{}}}},"S3k":{"type":"structure","required":["Name"],"members":{"Name":{},"RecipeVersion":{}}},"S3p":{"type":"list","member":{"type":"structure","required":["Name","CheckExpression"],"members":{"Name":{},"Disabled":{"type":"boolean"},"CheckExpression":{},"SubstitutionMap":{"shape":"S15"},"Threshold":{"type":"structure","required":["Value"],"members":{"Value":{"type":"double"},"Type":{},"Unit":{}}},"ColumnSelectors":{"shape":"S25"}}}},"S3z":{"type":"list","member":{}},"S5t":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"CreatedBy":{},"CreateDate":{"type":"timestamp"},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ProjectName":{},"PublishedBy":{},"PublishedDate":{"type":"timestamp"},"Description":{},"Name":{},"ResourceArn":{},"Steps":{"shape":"S2v"},"Tags":{"shape":"S1l"},"RecipeVersion":{}}}},"S6d":{"type":"string","sensitive":true}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"databrew","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Glue DataBrew","serviceId":"DataBrew","signatureVersion":"v4","signingName":"databrew","uid":"databrew-2017-07-25"},"operations":{"BatchDeleteRecipeVersion":{"http":{"requestUri":"/recipes/{name}/batchDeleteRecipeVersion"},"input":{"type":"structure","required":["Name","RecipeVersions"],"members":{"Name":{"location":"uri","locationName":"name"},"RecipeVersions":{"type":"list","member":{}}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{},"Errors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{},"RecipeVersion":{}}}}}}},"CreateDataset":{"http":{"requestUri":"/datasets"},"input":{"type":"structure","required":["Name","Input"],"members":{"Name":{},"Format":{},"FormatOptions":{"shape":"Sd"},"Input":{"shape":"So"},"PathOptions":{"shape":"S13"},"Tags":{"shape":"S1m"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateProfileJob":{"http":{"requestUri":"/profileJobs"},"input":{"type":"structure","required":["DatasetName","Name","OutputLocation","RoleArn"],"members":{"DatasetName":{},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"OutputLocation":{"shape":"Sp"},"Configuration":{"shape":"S1x"},"ValidationConfigurations":{"shape":"S2g"},"RoleArn":{},"Tags":{"shape":"S1m"},"Timeout":{"type":"integer"},"JobSample":{"shape":"S2k"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateProject":{"http":{"requestUri":"/projects"},"input":{"type":"structure","required":["DatasetName","Name","RecipeName","RoleArn"],"members":{"DatasetName":{},"Name":{},"RecipeName":{},"Sample":{"shape":"S2q"},"RoleArn":{},"Tags":{"shape":"S1m"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateRecipe":{"http":{"requestUri":"/recipes"},"input":{"type":"structure","required":["Name","Steps"],"members":{"Description":{},"Name":{},"Steps":{"shape":"S2w"},"Tags":{"shape":"S1m"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateRecipeJob":{"http":{"requestUri":"/recipeJobs"},"input":{"type":"structure","required":["Name","RoleArn"],"members":{"DatasetName":{},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"Outputs":{"shape":"S36"},"DataCatalogOutputs":{"shape":"S3e"},"DatabaseOutputs":{"shape":"S3i"},"ProjectName":{},"RecipeReference":{"shape":"S3l"},"RoleArn":{},"Tags":{"shape":"S1m"},"Timeout":{"type":"integer"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateRuleset":{"http":{"requestUri":"/rulesets"},"input":{"type":"structure","required":["Name","TargetArn","Rules"],"members":{"Name":{},"Description":{},"TargetArn":{},"Rules":{"shape":"S3q"},"Tags":{"shape":"S1m"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"CreateSchedule":{"http":{"requestUri":"/schedules"},"input":{"type":"structure","required":["CronExpression","Name"],"members":{"JobNames":{"shape":"S40"},"CronExpression":{},"Tags":{"shape":"S1m"},"Name":{}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteDataset":{"http":{"method":"DELETE","requestUri":"/datasets/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteJob":{"http":{"method":"DELETE","requestUri":"/jobs/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteProject":{"http":{"method":"DELETE","requestUri":"/projects/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteRecipeVersion":{"http":{"method":"DELETE","requestUri":"/recipes/{name}/recipeVersion/{recipeVersion}"},"input":{"type":"structure","required":["Name","RecipeVersion"],"members":{"Name":{"location":"uri","locationName":"name"},"RecipeVersion":{"location":"uri","locationName":"recipeVersion"}}},"output":{"type":"structure","required":["Name","RecipeVersion"],"members":{"Name":{},"RecipeVersion":{}}}},"DeleteRuleset":{"http":{"method":"DELETE","requestUri":"/rulesets/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DeleteSchedule":{"http":{"method":"DELETE","requestUri":"/schedules/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"DescribeDataset":{"http":{"method":"GET","requestUri":"/datasets/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name","Input"],"members":{"CreatedBy":{},"CreateDate":{"type":"timestamp"},"Name":{},"Format":{},"FormatOptions":{"shape":"Sd"},"Input":{"shape":"So"},"LastModifiedDate":{"type":"timestamp"},"LastModifiedBy":{},"Source":{},"PathOptions":{"shape":"S13"},"Tags":{"shape":"S1m"},"ResourceArn":{}}}},"DescribeJob":{"http":{"method":"GET","requestUri":"/jobs/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"CreateDate":{"type":"timestamp"},"CreatedBy":{},"DatasetName":{},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{},"Type":{},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"Outputs":{"shape":"S36"},"DataCatalogOutputs":{"shape":"S3e"},"DatabaseOutputs":{"shape":"S3i"},"ProjectName":{},"ProfileConfiguration":{"shape":"S1x"},"ValidationConfigurations":{"shape":"S2g"},"RecipeReference":{"shape":"S3l"},"ResourceArn":{},"RoleArn":{},"Tags":{"shape":"S1m"},"Timeout":{"type":"integer"},"JobSample":{"shape":"S2k"}}}},"DescribeJobRun":{"http":{"method":"GET","requestUri":"/jobs/{name}/jobRun/{runId}"},"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{"location":"uri","locationName":"name"},"RunId":{"location":"uri","locationName":"runId"}}},"output":{"type":"structure","required":["JobName"],"members":{"Attempt":{"type":"integer"},"CompletedOn":{"type":"timestamp"},"DatasetName":{},"ErrorMessage":{},"ExecutionTime":{"type":"integer"},"JobName":{},"ProfileConfiguration":{"shape":"S1x"},"ValidationConfigurations":{"shape":"S2g"},"RunId":{},"State":{},"LogSubscription":{},"LogGroupName":{},"Outputs":{"shape":"S36"},"DataCatalogOutputs":{"shape":"S3e"},"DatabaseOutputs":{"shape":"S3i"},"RecipeReference":{"shape":"S3l"},"StartedBy":{},"StartedOn":{"type":"timestamp"},"JobSample":{"shape":"S2k"}}}},"DescribeProject":{"http":{"method":"GET","requestUri":"/projects/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"CreateDate":{"type":"timestamp"},"CreatedBy":{},"DatasetName":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedBy":{},"Name":{},"RecipeName":{},"ResourceArn":{},"Sample":{"shape":"S2q"},"RoleArn":{},"Tags":{"shape":"S1m"},"SessionStatus":{},"OpenedBy":{},"OpenDate":{"type":"timestamp"}}}},"DescribeRecipe":{"http":{"method":"GET","requestUri":"/recipes/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"RecipeVersion":{"location":"querystring","locationName":"recipeVersion"}}},"output":{"type":"structure","required":["Name"],"members":{"CreatedBy":{},"CreateDate":{"type":"timestamp"},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ProjectName":{},"PublishedBy":{},"PublishedDate":{"type":"timestamp"},"Description":{},"Name":{},"Steps":{"shape":"S2w"},"Tags":{"shape":"S1m"},"ResourceArn":{},"RecipeVersion":{}}}},"DescribeRuleset":{"http":{"method":"GET","requestUri":"/rulesets/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"TargetArn":{},"Rules":{"shape":"S3q"},"CreateDate":{"type":"timestamp"},"CreatedBy":{},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ResourceArn":{},"Tags":{"shape":"S1m"}}}},"DescribeSchedule":{"http":{"method":"GET","requestUri":"/schedules/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"CreateDate":{"type":"timestamp"},"CreatedBy":{},"JobNames":{"shape":"S40"},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ResourceArn":{},"CronExpression":{},"Tags":{"shape":"S1m"},"Name":{}}}},"ListDatasets":{"http":{"method":"GET","requestUri":"/datasets"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["Datasets"],"members":{"Datasets":{"type":"list","member":{"type":"structure","required":["Name","Input"],"members":{"AccountId":{},"CreatedBy":{},"CreateDate":{"type":"timestamp"},"Name":{},"Format":{},"FormatOptions":{"shape":"Sd"},"Input":{"shape":"So"},"LastModifiedDate":{"type":"timestamp"},"LastModifiedBy":{},"Source":{},"PathOptions":{"shape":"S13"},"Tags":{"shape":"S1m"},"ResourceArn":{}}}},"NextToken":{}}}},"ListJobRuns":{"http":{"method":"GET","requestUri":"/jobs/{name}/jobRuns"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["JobRuns"],"members":{"JobRuns":{"type":"list","member":{"type":"structure","members":{"Attempt":{"type":"integer"},"CompletedOn":{"type":"timestamp"},"DatasetName":{},"ErrorMessage":{},"ExecutionTime":{"type":"integer"},"JobName":{},"RunId":{},"State":{},"LogSubscription":{},"LogGroupName":{},"Outputs":{"shape":"S36"},"DataCatalogOutputs":{"shape":"S3e"},"DatabaseOutputs":{"shape":"S3i"},"RecipeReference":{"shape":"S3l"},"StartedBy":{},"StartedOn":{"type":"timestamp"},"JobSample":{"shape":"S2k"},"ValidationConfigurations":{"shape":"S2g"}}}},"NextToken":{}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/jobs"},"input":{"type":"structure","members":{"DatasetName":{"location":"querystring","locationName":"datasetName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"ProjectName":{"location":"querystring","locationName":"projectName"}}},"output":{"type":"structure","required":["Jobs"],"members":{"Jobs":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"AccountId":{},"CreatedBy":{},"CreateDate":{"type":"timestamp"},"DatasetName":{},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{},"Type":{},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"Outputs":{"shape":"S36"},"DataCatalogOutputs":{"shape":"S3e"},"DatabaseOutputs":{"shape":"S3i"},"ProjectName":{},"RecipeReference":{"shape":"S3l"},"ResourceArn":{},"RoleArn":{},"Timeout":{"type":"integer"},"Tags":{"shape":"S1m"},"JobSample":{"shape":"S2k"},"ValidationConfigurations":{"shape":"S2g"}}}},"NextToken":{}}}},"ListProjects":{"http":{"method":"GET","requestUri":"/projects"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["Projects"],"members":{"Projects":{"type":"list","member":{"type":"structure","required":["Name","RecipeName"],"members":{"AccountId":{},"CreateDate":{"type":"timestamp"},"CreatedBy":{},"DatasetName":{},"LastModifiedDate":{"type":"timestamp"},"LastModifiedBy":{},"Name":{},"RecipeName":{},"ResourceArn":{},"Sample":{"shape":"S2q"},"Tags":{"shape":"S1m"},"RoleArn":{},"OpenedBy":{},"OpenDate":{"type":"timestamp"}}}},"NextToken":{}}}},"ListRecipeVersions":{"http":{"method":"GET","requestUri":"/recipeVersions"},"input":{"type":"structure","required":["Name"],"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"Name":{"location":"querystring","locationName":"name"}}},"output":{"type":"structure","required":["Recipes"],"members":{"NextToken":{},"Recipes":{"shape":"S5u"}}}},"ListRecipes":{"http":{"method":"GET","requestUri":"/recipes"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"RecipeVersion":{"location":"querystring","locationName":"recipeVersion"}}},"output":{"type":"structure","required":["Recipes"],"members":{"Recipes":{"shape":"S5u"},"NextToken":{}}}},"ListRulesets":{"http":{"method":"GET","requestUri":"/rulesets"},"input":{"type":"structure","members":{"TargetArn":{"location":"querystring","locationName":"targetArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["Rulesets"],"members":{"Rulesets":{"type":"list","member":{"type":"structure","required":["Name","TargetArn"],"members":{"AccountId":{},"CreatedBy":{},"CreateDate":{"type":"timestamp"},"Description":{},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"Name":{},"ResourceArn":{},"RuleCount":{"type":"integer"},"Tags":{"shape":"S1m"},"TargetArn":{}}}},"NextToken":{}}}},"ListSchedules":{"http":{"method":"GET","requestUri":"/schedules"},"input":{"type":"structure","members":{"JobName":{"location":"querystring","locationName":"jobName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["Schedules"],"members":{"Schedules":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"AccountId":{},"CreatedBy":{},"CreateDate":{"type":"timestamp"},"JobNames":{"shape":"S40"},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ResourceArn":{},"CronExpression":{},"Tags":{"shape":"S1m"},"Name":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S1m"}}}},"PublishRecipe":{"http":{"requestUri":"/recipes/{name}/publishRecipe"},"input":{"type":"structure","required":["Name"],"members":{"Description":{},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"SendProjectSessionAction":{"http":{"method":"PUT","requestUri":"/projects/{name}/sendProjectSessionAction"},"input":{"type":"structure","required":["Name"],"members":{"Preview":{"type":"boolean"},"Name":{"location":"uri","locationName":"name"},"RecipeStep":{"shape":"S2x"},"StepIndex":{"type":"integer"},"ClientSessionId":{"shape":"S6e"},"ViewFrame":{"type":"structure","required":["StartColumnIndex"],"members":{"StartColumnIndex":{"type":"integer"},"ColumnRange":{"type":"integer"},"HiddenColumns":{"type":"list","member":{}},"StartRowIndex":{"type":"integer"},"RowRange":{"type":"integer"},"Analytics":{}}}}},"output":{"type":"structure","required":["Name"],"members":{"Result":{},"Name":{},"ActionId":{"type":"integer"}}}},"StartJobRun":{"http":{"requestUri":"/jobs/{name}/startJobRun"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["RunId"],"members":{"RunId":{}}}},"StartProjectSession":{"http":{"method":"PUT","requestUri":"/projects/{name}/startProjectSession"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"name"},"AssumeControl":{"type":"boolean"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{},"ClientSessionId":{"shape":"S6e"}}}},"StopJobRun":{"http":{"requestUri":"/jobs/{name}/jobRun/{runId}/stopJobRun"},"input":{"type":"structure","required":["Name","RunId"],"members":{"Name":{"location":"uri","locationName":"name"},"RunId":{"location":"uri","locationName":"runId"}}},"output":{"type":"structure","required":["RunId"],"members":{"RunId":{}}}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"S1m"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDataset":{"http":{"method":"PUT","requestUri":"/datasets/{name}"},"input":{"type":"structure","required":["Name","Input"],"members":{"Name":{"location":"uri","locationName":"name"},"Format":{},"FormatOptions":{"shape":"Sd"},"Input":{"shape":"So"},"PathOptions":{"shape":"S13"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateProfileJob":{"http":{"method":"PUT","requestUri":"/profileJobs/{name}"},"input":{"type":"structure","required":["Name","OutputLocation","RoleArn"],"members":{"Configuration":{"shape":"S1x"},"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{"location":"uri","locationName":"name"},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"OutputLocation":{"shape":"Sp"},"ValidationConfigurations":{"shape":"S2g"},"RoleArn":{},"Timeout":{"type":"integer"},"JobSample":{"shape":"S2k"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateProject":{"http":{"method":"PUT","requestUri":"/projects/{name}"},"input":{"type":"structure","required":["RoleArn","Name"],"members":{"Sample":{"shape":"S2q"},"RoleArn":{},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"LastModifiedDate":{"type":"timestamp"},"Name":{}}}},"UpdateRecipe":{"http":{"method":"PUT","requestUri":"/recipes/{name}"},"input":{"type":"structure","required":["Name"],"members":{"Description":{},"Name":{"location":"uri","locationName":"name"},"Steps":{"shape":"S2w"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateRecipeJob":{"http":{"method":"PUT","requestUri":"/recipeJobs/{name}"},"input":{"type":"structure","required":["Name","RoleArn"],"members":{"EncryptionKeyArn":{},"EncryptionMode":{},"Name":{"location":"uri","locationName":"name"},"LogSubscription":{},"MaxCapacity":{"type":"integer"},"MaxRetries":{"type":"integer"},"Outputs":{"shape":"S36"},"DataCatalogOutputs":{"shape":"S3e"},"DatabaseOutputs":{"shape":"S3i"},"RoleArn":{},"Timeout":{"type":"integer"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateRuleset":{"http":{"method":"PUT","requestUri":"/rulesets/{name}"},"input":{"type":"structure","required":["Name","Rules"],"members":{"Name":{"location":"uri","locationName":"name"},"Description":{},"Rules":{"shape":"S3q"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}},"UpdateSchedule":{"http":{"method":"PUT","requestUri":"/schedules/{name}"},"input":{"type":"structure","required":["CronExpression","Name"],"members":{"JobNames":{"shape":"S40"},"CronExpression":{},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["Name"],"members":{"Name":{}}}}},"shapes":{"Sd":{"type":"structure","members":{"Json":{"type":"structure","members":{"MultiLine":{"type":"boolean"}}},"Excel":{"type":"structure","members":{"SheetNames":{"type":"list","member":{}},"SheetIndexes":{"type":"list","member":{"type":"integer"}},"HeaderRow":{"type":"boolean"}}},"Csv":{"type":"structure","members":{"Delimiter":{},"HeaderRow":{"type":"boolean"}}}}},"So":{"type":"structure","members":{"S3InputDefinition":{"shape":"Sp"},"DataCatalogInputDefinition":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"TempDirectory":{"shape":"Sp"}}},"DatabaseInputDefinition":{"type":"structure","required":["GlueConnectionName"],"members":{"GlueConnectionName":{},"DatabaseTableName":{},"TempDirectory":{"shape":"Sp"},"QueryString":{}}},"Metadata":{"type":"structure","members":{"SourceArn":{}}}}},"Sp":{"type":"structure","required":["Bucket"],"members":{"Bucket":{},"Key":{},"BucketOwner":{}}},"S13":{"type":"structure","members":{"LastModifiedDateCondition":{"shape":"S14"},"FilesLimit":{"type":"structure","required":["MaxFiles"],"members":{"MaxFiles":{"type":"integer"},"OrderedBy":{},"Order":{}}},"Parameters":{"type":"map","key":{},"value":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"DatetimeOptions":{"type":"structure","required":["Format"],"members":{"Format":{},"TimezoneOffset":{},"LocaleCode":{}}},"CreateColumn":{"type":"boolean"},"Filter":{"shape":"S14"}}}}}},"S14":{"type":"structure","required":["Expression","ValuesMap"],"members":{"Expression":{},"ValuesMap":{"shape":"S16"}}},"S16":{"type":"map","key":{},"value":{}},"S1m":{"type":"map","key":{},"value":{}},"S1x":{"type":"structure","members":{"DatasetStatisticsConfiguration":{"shape":"S1y"},"ProfileColumns":{"shape":"S26"},"ColumnStatisticsConfigurations":{"type":"list","member":{"type":"structure","required":["Statistics"],"members":{"Selectors":{"shape":"S26"},"Statistics":{"shape":"S1y"}}}},"EntityDetectorConfiguration":{"type":"structure","required":["EntityTypes"],"members":{"EntityTypes":{"type":"list","member":{}},"AllowedStatistics":{"type":"list","member":{"type":"structure","required":["Statistics"],"members":{"Statistics":{"shape":"S1z"}}}}}}}},"S1y":{"type":"structure","members":{"IncludedStatistics":{"shape":"S1z"},"Overrides":{"type":"list","member":{"type":"structure","required":["Statistic","Parameters"],"members":{"Statistic":{},"Parameters":{"shape":"S23"}}}}}},"S1z":{"type":"list","member":{}},"S23":{"type":"map","key":{},"value":{}},"S26":{"type":"list","member":{"type":"structure","members":{"Regex":{},"Name":{}}}},"S2g":{"type":"list","member":{"type":"structure","required":["RulesetArn"],"members":{"RulesetArn":{},"ValidationMode":{}}}},"S2k":{"type":"structure","members":{"Mode":{},"Size":{"type":"long"}}},"S2q":{"type":"structure","required":["Type"],"members":{"Size":{"type":"integer"},"Type":{}}},"S2w":{"type":"list","member":{"shape":"S2x"}},"S2x":{"type":"structure","required":["Action"],"members":{"Action":{"type":"structure","required":["Operation"],"members":{"Operation":{},"Parameters":{"shape":"S23"}}},"ConditionExpressions":{"type":"list","member":{"type":"structure","required":["Condition","TargetColumn"],"members":{"Condition":{},"Value":{},"TargetColumn":{}}}}}},"S36":{"type":"list","member":{"type":"structure","required":["Location"],"members":{"CompressionFormat":{},"Format":{},"PartitionColumns":{"type":"list","member":{}},"Location":{"shape":"Sp"},"Overwrite":{"type":"boolean"},"FormatOptions":{"type":"structure","members":{"Csv":{"type":"structure","members":{"Delimiter":{}}}}}}}},"S3e":{"type":"list","member":{"type":"structure","required":["DatabaseName","TableName"],"members":{"CatalogId":{},"DatabaseName":{},"TableName":{},"S3Options":{"type":"structure","required":["Location"],"members":{"Location":{"shape":"Sp"}}},"DatabaseOptions":{"shape":"S3h"},"Overwrite":{"type":"boolean"}}}},"S3h":{"type":"structure","required":["TableName"],"members":{"TempDirectory":{"shape":"Sp"},"TableName":{}}},"S3i":{"type":"list","member":{"type":"structure","required":["GlueConnectionName","DatabaseOptions"],"members":{"GlueConnectionName":{},"DatabaseOptions":{"shape":"S3h"},"DatabaseOutputMode":{}}}},"S3l":{"type":"structure","required":["Name"],"members":{"Name":{},"RecipeVersion":{}}},"S3q":{"type":"list","member":{"type":"structure","required":["Name","CheckExpression"],"members":{"Name":{},"Disabled":{"type":"boolean"},"CheckExpression":{},"SubstitutionMap":{"shape":"S16"},"Threshold":{"type":"structure","required":["Value"],"members":{"Value":{"type":"double"},"Type":{},"Unit":{}}},"ColumnSelectors":{"shape":"S26"}}}},"S40":{"type":"list","member":{}},"S5u":{"type":"list","member":{"type":"structure","required":["Name"],"members":{"CreatedBy":{},"CreateDate":{"type":"timestamp"},"LastModifiedBy":{},"LastModifiedDate":{"type":"timestamp"},"ProjectName":{},"PublishedBy":{},"PublishedDate":{"type":"timestamp"},"Description":{},"Name":{},"ResourceArn":{},"Steps":{"shape":"S2w"},"Tags":{"shape":"S1m"},"RecipeVersion":{}}}},"S6e":{"type":"string","sensitive":true}}} /***/ }), /* 917 */ @@ -53372,7 +53378,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 925 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-07-01","endpointPrefix":"airflow","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AmazonMWAA","serviceId":"MWAA","signatureVersion":"v4","signingName":"airflow","uid":"mwaa-2020-07-01"},"operations":{"CreateCliToken":{"http":{"requestUri":"/clitoken/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"CliToken":{"type":"string","sensitive":true},"WebServerHostname":{}}},"endpoint":{"hostPrefix":"env."}},"CreateEnvironment":{"http":{"method":"PUT","requestUri":"/environments/{Name}","responseCode":200},"input":{"type":"structure","required":["DagS3Path","ExecutionRoleArn","Name","NetworkConfiguration","SourceBucketArn"],"members":{"AirflowConfigurationOptions":{"type":"map","key":{},"value":{},"sensitive":true},"AirflowVersion":{},"DagS3Path":{},"EnvironmentClass":{},"ExecutionRoleArn":{},"KmsKey":{},"LoggingConfiguration":{"shape":"Sf"},"MaxWorkers":{"type":"integer"},"MinWorkers":{"type":"integer"},"Name":{"location":"uri","locationName":"Name"},"NetworkConfiguration":{"shape":"Sl"},"PluginsS3ObjectVersion":{},"PluginsS3Path":{},"RequirementsS3ObjectVersion":{},"RequirementsS3Path":{},"Schedulers":{"type":"integer"},"SourceBucketArn":{},"Tags":{"shape":"St"},"WebserverAccessMode":{},"WeeklyMaintenanceWindowStart":{}}},"output":{"type":"structure","members":{"Arn":{}}},"endpoint":{"hostPrefix":"api."},"idempotent":true},"CreateWebLoginToken":{"http":{"requestUri":"/webtoken/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"WebServerHostname":{},"WebToken":{"type":"string","sensitive":true}}},"endpoint":{"hostPrefix":"env."},"idempotent":true},"DeleteEnvironment":{"http":{"method":"DELETE","requestUri":"/environments/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."},"idempotent":true},"GetEnvironment":{"http":{"method":"GET","requestUri":"/environments/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"Environment":{"type":"structure","members":{"AirflowConfigurationOptions":{"type":"map","key":{},"value":{}},"AirflowVersion":{},"Arn":{},"CreatedAt":{"type":"timestamp"},"DagS3Path":{},"EnvironmentClass":{},"ExecutionRoleArn":{},"KmsKey":{},"LastUpdate":{"type":"structure","members":{"CreatedAt":{"type":"timestamp"},"Error":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}},"Status":{}}},"LoggingConfiguration":{"type":"structure","members":{"DagProcessingLogs":{"shape":"S1h"},"SchedulerLogs":{"shape":"S1h"},"TaskLogs":{"shape":"S1h"},"WebserverLogs":{"shape":"S1h"},"WorkerLogs":{"shape":"S1h"}}},"MaxWorkers":{"type":"integer"},"MinWorkers":{"type":"integer"},"Name":{},"NetworkConfiguration":{"shape":"Sl"},"PluginsS3ObjectVersion":{},"PluginsS3Path":{},"RequirementsS3ObjectVersion":{},"RequirementsS3Path":{},"Schedulers":{"type":"integer"},"ServiceRoleArn":{},"SourceBucketArn":{},"Status":{},"Tags":{"shape":"St"},"WebserverAccessMode":{},"WebserverUrl":{},"WeeklyMaintenanceWindowStart":{}}}}},"endpoint":{"hostPrefix":"api."}},"ListEnvironments":{"http":{"method":"GET","requestUri":"/environments","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","required":["Environments"],"members":{"Environments":{"type":"list","member":{}},"NextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"St"}}},"endpoint":{"hostPrefix":"api."}},"PublishMetrics":{"http":{"requestUri":"/metrics/environments/{EnvironmentName}","responseCode":200},"input":{"type":"structure","required":["EnvironmentName","MetricData"],"members":{"EnvironmentName":{"location":"uri","locationName":"EnvironmentName"},"MetricData":{"type":"list","member":{"type":"structure","required":["MetricName","Timestamp"],"members":{"Dimensions":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"MetricName":{},"StatisticValues":{"type":"structure","members":{"Maximum":{"type":"double"},"Minimum":{"type":"double"},"SampleCount":{"type":"integer"},"Sum":{"type":"double"}}},"Timestamp":{"type":"timestamp"},"Unit":{},"Value":{"type":"double"}}}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"ops."}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"St"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","tagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."},"idempotent":true},"UpdateEnvironment":{"http":{"method":"PATCH","requestUri":"/environments/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"AirflowConfigurationOptions":{"type":"map","key":{},"value":{},"sensitive":true},"AirflowVersion":{},"DagS3Path":{},"EnvironmentClass":{},"ExecutionRoleArn":{},"LoggingConfiguration":{"shape":"Sf"},"MaxWorkers":{"type":"integer"},"MinWorkers":{"type":"integer"},"Name":{"location":"uri","locationName":"Name"},"NetworkConfiguration":{"type":"structure","required":["SecurityGroupIds"],"members":{"SecurityGroupIds":{"shape":"Sm"}}},"PluginsS3ObjectVersion":{},"PluginsS3Path":{},"RequirementsS3ObjectVersion":{},"RequirementsS3Path":{},"Schedulers":{"type":"integer"},"SourceBucketArn":{},"WebserverAccessMode":{},"WeeklyMaintenanceWindowStart":{}}},"output":{"type":"structure","members":{"Arn":{}}},"endpoint":{"hostPrefix":"api."}}},"shapes":{"Sf":{"type":"structure","members":{"DagProcessingLogs":{"shape":"Sg"},"SchedulerLogs":{"shape":"Sg"},"TaskLogs":{"shape":"Sg"},"WebserverLogs":{"shape":"Sg"},"WorkerLogs":{"shape":"Sg"}}},"Sg":{"type":"structure","required":["Enabled","LogLevel"],"members":{"Enabled":{"type":"boolean"},"LogLevel":{}}},"Sl":{"type":"structure","members":{"SecurityGroupIds":{"shape":"Sm"},"SubnetIds":{"type":"list","member":{}}}},"Sm":{"type":"list","member":{}},"St":{"type":"map","key":{},"value":{}},"S1h":{"type":"structure","members":{"CloudWatchLogGroupArn":{},"Enabled":{"type":"boolean"},"LogLevel":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-07-01","endpointPrefix":"airflow","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AmazonMWAA","serviceId":"MWAA","signatureVersion":"v4","signingName":"airflow","uid":"mwaa-2020-07-01"},"operations":{"CreateCliToken":{"http":{"requestUri":"/clitoken/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"CliToken":{"type":"string","sensitive":true},"WebServerHostname":{}}},"endpoint":{"hostPrefix":"env."}},"CreateEnvironment":{"http":{"method":"PUT","requestUri":"/environments/{Name}","responseCode":200},"input":{"type":"structure","required":["DagS3Path","ExecutionRoleArn","Name","NetworkConfiguration","SourceBucketArn"],"members":{"AirflowConfigurationOptions":{"type":"map","key":{},"value":{},"sensitive":true},"AirflowVersion":{},"DagS3Path":{},"EnvironmentClass":{},"ExecutionRoleArn":{},"KmsKey":{},"LoggingConfiguration":{"shape":"Sf"},"MaxWorkers":{"type":"integer"},"MinWorkers":{"type":"integer"},"Name":{"location":"uri","locationName":"Name"},"NetworkConfiguration":{"shape":"Sl"},"PluginsS3ObjectVersion":{},"PluginsS3Path":{},"RequirementsS3ObjectVersion":{},"RequirementsS3Path":{},"Schedulers":{"type":"integer"},"SourceBucketArn":{},"Tags":{"shape":"St"},"WebserverAccessMode":{},"WeeklyMaintenanceWindowStart":{}}},"output":{"type":"structure","members":{"Arn":{}}},"endpoint":{"hostPrefix":"api."},"idempotent":true},"CreateWebLoginToken":{"http":{"requestUri":"/webtoken/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"WebServerHostname":{},"WebToken":{"type":"string","sensitive":true}}},"endpoint":{"hostPrefix":"env."},"idempotent":true},"DeleteEnvironment":{"http":{"method":"DELETE","requestUri":"/environments/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."},"idempotent":true},"GetEnvironment":{"http":{"method":"GET","requestUri":"/environments/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"Environment":{"type":"structure","members":{"AirflowConfigurationOptions":{"type":"map","key":{},"value":{}},"AirflowVersion":{},"Arn":{},"CreatedAt":{"type":"timestamp"},"DagS3Path":{},"EnvironmentClass":{},"ExecutionRoleArn":{},"KmsKey":{},"LastUpdate":{"type":"structure","members":{"CreatedAt":{"type":"timestamp"},"Error":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}},"Source":{},"Status":{}}},"LoggingConfiguration":{"type":"structure","members":{"DagProcessingLogs":{"shape":"S1i"},"SchedulerLogs":{"shape":"S1i"},"TaskLogs":{"shape":"S1i"},"WebserverLogs":{"shape":"S1i"},"WorkerLogs":{"shape":"S1i"}}},"MaxWorkers":{"type":"integer"},"MinWorkers":{"type":"integer"},"Name":{},"NetworkConfiguration":{"shape":"Sl"},"PluginsS3ObjectVersion":{},"PluginsS3Path":{},"RequirementsS3ObjectVersion":{},"RequirementsS3Path":{},"Schedulers":{"type":"integer"},"ServiceRoleArn":{},"SourceBucketArn":{},"Status":{},"Tags":{"shape":"St"},"WebserverAccessMode":{},"WebserverUrl":{},"WeeklyMaintenanceWindowStart":{}}}}},"endpoint":{"hostPrefix":"api."}},"ListEnvironments":{"http":{"method":"GET","requestUri":"/environments","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"NextToken"}}},"output":{"type":"structure","required":["Environments"],"members":{"Environments":{"type":"list","member":{}},"NextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"St"}}},"endpoint":{"hostPrefix":"api."}},"PublishMetrics":{"http":{"requestUri":"/metrics/environments/{EnvironmentName}","responseCode":200},"input":{"type":"structure","required":["EnvironmentName","MetricData"],"members":{"EnvironmentName":{"location":"uri","locationName":"EnvironmentName"},"MetricData":{"type":"list","member":{"type":"structure","required":["MetricName","Timestamp"],"members":{"Dimensions":{"type":"list","member":{"type":"structure","required":["Name","Value"],"members":{"Name":{},"Value":{}}}},"MetricName":{},"StatisticValues":{"type":"structure","members":{"Maximum":{"type":"double"},"Minimum":{"type":"double"},"SampleCount":{"type":"integer"},"Sum":{"type":"double"}}},"Timestamp":{"type":"timestamp"},"Unit":{},"Value":{"type":"double"}}}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"ops."}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"St"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","tagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."},"idempotent":true},"UpdateEnvironment":{"http":{"method":"PATCH","requestUri":"/environments/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"AirflowConfigurationOptions":{"type":"map","key":{},"value":{},"sensitive":true},"AirflowVersion":{},"DagS3Path":{},"EnvironmentClass":{},"ExecutionRoleArn":{},"LoggingConfiguration":{"shape":"Sf"},"MaxWorkers":{"type":"integer"},"MinWorkers":{"type":"integer"},"Name":{"location":"uri","locationName":"Name"},"NetworkConfiguration":{"type":"structure","required":["SecurityGroupIds"],"members":{"SecurityGroupIds":{"shape":"Sm"}}},"PluginsS3ObjectVersion":{},"PluginsS3Path":{},"RequirementsS3ObjectVersion":{},"RequirementsS3Path":{},"Schedulers":{"type":"integer"},"SourceBucketArn":{},"WebserverAccessMode":{},"WeeklyMaintenanceWindowStart":{}}},"output":{"type":"structure","members":{"Arn":{}}},"endpoint":{"hostPrefix":"api."}}},"shapes":{"Sf":{"type":"structure","members":{"DagProcessingLogs":{"shape":"Sg"},"SchedulerLogs":{"shape":"Sg"},"TaskLogs":{"shape":"Sg"},"WebserverLogs":{"shape":"Sg"},"WorkerLogs":{"shape":"Sg"}}},"Sg":{"type":"structure","required":["Enabled","LogLevel"],"members":{"Enabled":{"type":"boolean"},"LogLevel":{}}},"Sl":{"type":"structure","members":{"SecurityGroupIds":{"shape":"Sm"},"SubnetIds":{"type":"list","member":{}}}},"Sm":{"type":"list","member":{}},"St":{"type":"map","key":{},"value":{}},"S1i":{"type":"structure","members":{"CloudWatchLogGroupArn":{},"Enabled":{"type":"boolean"},"LogLevel":{}}}}} /***/ }), /* 926 */ @@ -53588,7 +53594,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 943 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-20","endpointPrefix":"lookoutvision","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Lookout for Vision","serviceId":"LookoutVision","signatureVersion":"v4","signingName":"lookoutvision","uid":"lookoutvision-2020-11-20"},"operations":{"CreateDataset":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/datasets","responseCode":202},"input":{"type":"structure","required":["ProjectName","DatasetType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{},"DatasetSource":{"type":"structure","members":{"GroundTruthManifest":{"type":"structure","members":{"S3Object":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{},"VersionId":{}}}}}}},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"DatasetMetadata":{"shape":"Sc"}}}},"CreateModel":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/models","responseCode":202},"input":{"type":"structure","required":["ProjectName","OutputConfig"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"Description":{},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"OutputConfig":{"shape":"Si"},"KmsKeyId":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"ModelMetadata":{"shape":"Sr"}}}},"CreateProject":{"http":{"requestUri":"/2020-11-20/projects"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"ProjectMetadata":{"shape":"S10"}}}},"DeleteDataset":{"http":{"method":"DELETE","requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}","responseCode":202},"input":{"type":"structure","required":["ProjectName","DatasetType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{"location":"uri","locationName":"datasetType"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{}}},"DeleteModel":{"http":{"method":"DELETE","requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}","responseCode":202},"input":{"type":"structure","required":["ProjectName","ModelVersion"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"ModelArn":{}}}},"DeleteProject":{"http":{"method":"DELETE","requestUri":"/2020-11-20/projects/{projectName}"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"ProjectArn":{}}}},"DescribeDataset":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}"},"input":{"type":"structure","required":["ProjectName","DatasetType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{"location":"uri","locationName":"datasetType"}}},"output":{"type":"structure","members":{"DatasetDescription":{"type":"structure","members":{"ProjectName":{},"DatasetType":{},"CreationTimestamp":{"type":"timestamp"},"LastUpdatedTimestamp":{"type":"timestamp"},"Status":{},"StatusMessage":{},"ImageStats":{"type":"structure","members":{"Total":{"type":"integer"},"Labeled":{"type":"integer"},"Normal":{"type":"integer"},"Anomaly":{"type":"integer"}}}}}}}},"DescribeModel":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}"},"input":{"type":"structure","required":["ProjectName","ModelVersion"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"}}},"output":{"type":"structure","members":{"ModelDescription":{"type":"structure","members":{"ModelVersion":{},"ModelArn":{},"CreationTimestamp":{"type":"timestamp"},"Description":{},"Status":{},"StatusMessage":{},"Performance":{"shape":"Sw"},"OutputConfig":{"shape":"Si"},"EvaluationManifest":{"shape":"S1h"},"EvaluationResult":{"shape":"S1h"},"EvaluationEndTimestamp":{"type":"timestamp"},"KmsKeyId":{}}}}}},"DescribeModelPackagingJob":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs/{jobName}"},"input":{"type":"structure","required":["ProjectName","JobName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"JobName":{"location":"uri","locationName":"jobName"}}},"output":{"type":"structure","members":{"ModelPackagingDescription":{"type":"structure","members":{"JobName":{},"ProjectName":{},"ModelVersion":{},"ModelPackagingConfiguration":{"shape":"S1m"},"ModelPackagingJobDescription":{},"ModelPackagingMethod":{},"ModelPackagingOutputDetails":{"type":"structure","members":{"Greengrass":{"type":"structure","members":{"ComponentVersionArn":{},"ComponentName":{},"ComponentVersion":{}}}}},"Status":{},"StatusMessage":{},"CreationTimestamp":{"type":"timestamp"},"LastUpdatedTimestamp":{"type":"timestamp"}}}}}},"DescribeProject":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"}}},"output":{"type":"structure","members":{"ProjectDescription":{"type":"structure","members":{"ProjectArn":{},"ProjectName":{},"CreationTimestamp":{"type":"timestamp"},"Datasets":{"type":"list","member":{"shape":"Sc"}}}}}}},"DetectAnomalies":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/detect"},"input":{"type":"structure","required":["ProjectName","ModelVersion","Body","ContentType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"},"Body":{"type":"blob","requiresLength":true,"streaming":true},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Body"},"output":{"type":"structure","members":{"DetectAnomalyResult":{"type":"structure","members":{"Source":{"type":"structure","members":{"Type":{}}},"IsAnomalous":{"type":"boolean"},"Confidence":{"type":"float"}}}}}},"ListDatasetEntries":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries"},"input":{"type":"structure","required":["ProjectName","DatasetType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{"location":"uri","locationName":"datasetType"},"Labeled":{"location":"querystring","locationName":"labeled","type":"boolean"},"AnomalyClass":{"location":"querystring","locationName":"anomalyClass"},"BeforeCreationDate":{"location":"querystring","locationName":"createdBefore","type":"timestamp"},"AfterCreationDate":{"location":"querystring","locationName":"createdAfter","type":"timestamp"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"SourceRefContains":{"location":"querystring","locationName":"sourceRefContains"}}},"output":{"type":"structure","members":{"DatasetEntries":{"type":"list","member":{}},"NextToken":{}}}},"ListModelPackagingJobs":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"ModelPackagingJobs":{"type":"list","member":{"type":"structure","members":{"JobName":{},"ProjectName":{},"ModelVersion":{},"ModelPackagingJobDescription":{},"ModelPackagingMethod":{},"Status":{},"StatusMessage":{},"CreationTimestamp":{"type":"timestamp"},"LastUpdatedTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"ListModels":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/models"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Models":{"type":"list","member":{"shape":"Sr"}},"NextToken":{}}}},"ListProjects":{"http":{"method":"GET","requestUri":"/2020-11-20/projects"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Projects":{"type":"list","member":{"shape":"S10"}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2020-11-20/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sm"}}}},"StartModel":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/start","responseCode":202},"input":{"type":"structure","required":["ProjectName","ModelVersion","MinInferenceUnits"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"},"MinInferenceUnits":{"type":"integer"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"Status":{}}}},"StartModelPackagingJob":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs"},"input":{"type":"structure","required":["ProjectName","ModelVersion","Configuration"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{},"JobName":{},"Configuration":{"shape":"S1m"},"Description":{},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"JobName":{}}}},"StopModel":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/stop","responseCode":202},"input":{"type":"structure","required":["ProjectName","ModelVersion"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"Status":{}}}},"TagResource":{"http":{"requestUri":"/2020-11-20/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/2020-11-20/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDatasetEntries":{"http":{"method":"PATCH","requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries","responseCode":202},"input":{"type":"structure","required":["ProjectName","DatasetType","Changes"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{"location":"uri","locationName":"datasetType"},"Changes":{"type":"blob"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"Status":{}}}}},"shapes":{"Sc":{"type":"structure","members":{"DatasetType":{},"CreationTimestamp":{"type":"timestamp"},"Status":{},"StatusMessage":{}}},"Si":{"type":"structure","required":["S3Location"],"members":{"S3Location":{"shape":"Sj"}}},"Sj":{"type":"structure","required":["Bucket"],"members":{"Bucket":{},"Prefix":{}}},"Sm":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sr":{"type":"structure","members":{"CreationTimestamp":{"type":"timestamp"},"ModelVersion":{},"ModelArn":{},"Description":{},"Status":{},"StatusMessage":{},"Performance":{"shape":"Sw"}}},"Sw":{"type":"structure","members":{"F1Score":{"type":"float"},"Recall":{"type":"float"},"Precision":{"type":"float"}}},"S10":{"type":"structure","members":{"ProjectArn":{},"ProjectName":{},"CreationTimestamp":{"type":"timestamp"}}},"S1h":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"S1m":{"type":"structure","required":["Greengrass"],"members":{"Greengrass":{"type":"structure","required":["CompilerOptions","S3OutputLocation","ComponentName"],"members":{"CompilerOptions":{},"TargetDevice":{},"TargetPlatform":{"type":"structure","required":["Os","Arch","Accelerator"],"members":{"Os":{},"Arch":{},"Accelerator":{}}},"S3OutputLocation":{"shape":"Sj"},"ComponentName":{},"ComponentVersion":{},"ComponentDescription":{},"Tags":{"shape":"Sm"}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-20","endpointPrefix":"lookoutvision","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Lookout for Vision","serviceId":"LookoutVision","signatureVersion":"v4","signingName":"lookoutvision","uid":"lookoutvision-2020-11-20"},"operations":{"CreateDataset":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/datasets","responseCode":202},"input":{"type":"structure","required":["ProjectName","DatasetType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{},"DatasetSource":{"type":"structure","members":{"GroundTruthManifest":{"type":"structure","members":{"S3Object":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{},"VersionId":{}}}}}}},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"DatasetMetadata":{"shape":"Sc"}}}},"CreateModel":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/models","responseCode":202},"input":{"type":"structure","required":["ProjectName","OutputConfig"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"Description":{},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"OutputConfig":{"shape":"Si"},"KmsKeyId":{},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{"ModelMetadata":{"shape":"Sr"}}}},"CreateProject":{"http":{"requestUri":"/2020-11-20/projects"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"ProjectMetadata":{"shape":"S10"}}}},"DeleteDataset":{"http":{"method":"DELETE","requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}","responseCode":202},"input":{"type":"structure","required":["ProjectName","DatasetType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{"location":"uri","locationName":"datasetType"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{}}},"DeleteModel":{"http":{"method":"DELETE","requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}","responseCode":202},"input":{"type":"structure","required":["ProjectName","ModelVersion"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"ModelArn":{}}}},"DeleteProject":{"http":{"method":"DELETE","requestUri":"/2020-11-20/projects/{projectName}"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"ProjectArn":{}}}},"DescribeDataset":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}"},"input":{"type":"structure","required":["ProjectName","DatasetType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{"location":"uri","locationName":"datasetType"}}},"output":{"type":"structure","members":{"DatasetDescription":{"type":"structure","members":{"ProjectName":{},"DatasetType":{},"CreationTimestamp":{"type":"timestamp"},"LastUpdatedTimestamp":{"type":"timestamp"},"Status":{},"StatusMessage":{},"ImageStats":{"type":"structure","members":{"Total":{"type":"integer"},"Labeled":{"type":"integer"},"Normal":{"type":"integer"},"Anomaly":{"type":"integer"}}}}}}}},"DescribeModel":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}"},"input":{"type":"structure","required":["ProjectName","ModelVersion"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"}}},"output":{"type":"structure","members":{"ModelDescription":{"type":"structure","members":{"ModelVersion":{},"ModelArn":{},"CreationTimestamp":{"type":"timestamp"},"Description":{},"Status":{},"StatusMessage":{},"Performance":{"shape":"Sw"},"OutputConfig":{"shape":"Si"},"EvaluationManifest":{"shape":"S1h"},"EvaluationResult":{"shape":"S1h"},"EvaluationEndTimestamp":{"type":"timestamp"},"KmsKeyId":{}}}}}},"DescribeModelPackagingJob":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs/{jobName}"},"input":{"type":"structure","required":["ProjectName","JobName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"JobName":{"location":"uri","locationName":"jobName"}}},"output":{"type":"structure","members":{"ModelPackagingDescription":{"type":"structure","members":{"JobName":{},"ProjectName":{},"ModelVersion":{},"ModelPackagingConfiguration":{"shape":"S1m"},"ModelPackagingJobDescription":{},"ModelPackagingMethod":{},"ModelPackagingOutputDetails":{"type":"structure","members":{"Greengrass":{"type":"structure","members":{"ComponentVersionArn":{},"ComponentName":{},"ComponentVersion":{}}}}},"Status":{},"StatusMessage":{},"CreationTimestamp":{"type":"timestamp"},"LastUpdatedTimestamp":{"type":"timestamp"}}}}}},"DescribeProject":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"}}},"output":{"type":"structure","members":{"ProjectDescription":{"type":"structure","members":{"ProjectArn":{},"ProjectName":{},"CreationTimestamp":{"type":"timestamp"},"Datasets":{"type":"list","member":{"shape":"Sc"}}}}}}},"DetectAnomalies":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/detect"},"input":{"type":"structure","required":["ProjectName","ModelVersion","Body","ContentType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"},"Body":{"type":"blob","requiresLength":true,"streaming":true},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Body"},"output":{"type":"structure","members":{"DetectAnomalyResult":{"type":"structure","members":{"Source":{"type":"structure","members":{"Type":{}}},"IsAnomalous":{"type":"boolean"},"Confidence":{"type":"float"}}}}}},"ListDatasetEntries":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries"},"input":{"type":"structure","required":["ProjectName","DatasetType"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{"location":"uri","locationName":"datasetType"},"Labeled":{"location":"querystring","locationName":"labeled","type":"boolean"},"AnomalyClass":{"location":"querystring","locationName":"anomalyClass"},"BeforeCreationDate":{"location":"querystring","locationName":"createdBefore","type":"timestamp"},"AfterCreationDate":{"location":"querystring","locationName":"createdAfter","type":"timestamp"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"SourceRefContains":{"location":"querystring","locationName":"sourceRefContains"}}},"output":{"type":"structure","members":{"DatasetEntries":{"type":"list","member":{}},"NextToken":{}}}},"ListModelPackagingJobs":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"ModelPackagingJobs":{"type":"list","member":{"type":"structure","members":{"JobName":{},"ProjectName":{},"ModelVersion":{},"ModelPackagingJobDescription":{},"ModelPackagingMethod":{},"Status":{},"StatusMessage":{},"CreationTimestamp":{"type":"timestamp"},"LastUpdatedTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"ListModels":{"http":{"method":"GET","requestUri":"/2020-11-20/projects/{projectName}/models"},"input":{"type":"structure","required":["ProjectName"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Models":{"type":"list","member":{"shape":"Sr"}},"NextToken":{}}}},"ListProjects":{"http":{"method":"GET","requestUri":"/2020-11-20/projects"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"Projects":{"type":"list","member":{"shape":"S10"}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2020-11-20/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sm"}}}},"StartModel":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/start","responseCode":202},"input":{"type":"structure","required":["ProjectName","ModelVersion","MinInferenceUnits"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"},"MinInferenceUnits":{"type":"integer"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"Status":{}}}},"StartModelPackagingJob":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs"},"input":{"type":"structure","required":["ProjectName","ModelVersion","Configuration"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{},"JobName":{},"Configuration":{"shape":"S1m"},"Description":{},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"JobName":{}}}},"StopModel":{"http":{"requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/stop","responseCode":202},"input":{"type":"structure","required":["ProjectName","ModelVersion"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"ModelVersion":{"location":"uri","locationName":"modelVersion"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"Status":{}}}},"TagResource":{"http":{"requestUri":"/2020-11-20/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"Sm"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/2020-11-20/tags/{resourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDatasetEntries":{"http":{"method":"PATCH","requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries","responseCode":202},"input":{"type":"structure","required":["ProjectName","DatasetType","Changes"],"members":{"ProjectName":{"location":"uri","locationName":"projectName"},"DatasetType":{"location":"uri","locationName":"datasetType"},"Changes":{"type":"blob"},"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"}}},"output":{"type":"structure","members":{"Status":{}}}}},"shapes":{"Sc":{"type":"structure","members":{"DatasetType":{},"CreationTimestamp":{"type":"timestamp"},"Status":{},"StatusMessage":{}}},"Si":{"type":"structure","required":["S3Location"],"members":{"S3Location":{"shape":"Sj"}}},"Sj":{"type":"structure","required":["Bucket"],"members":{"Bucket":{},"Prefix":{}}},"Sm":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sr":{"type":"structure","members":{"CreationTimestamp":{"type":"timestamp"},"ModelVersion":{},"ModelArn":{},"Description":{},"Status":{},"StatusMessage":{},"Performance":{"shape":"Sw"}}},"Sw":{"type":"structure","members":{"F1Score":{"type":"float"},"Recall":{"type":"float"},"Precision":{"type":"float"}}},"S10":{"type":"structure","members":{"ProjectArn":{},"ProjectName":{},"CreationTimestamp":{"type":"timestamp"}}},"S1h":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"S1m":{"type":"structure","required":["Greengrass"],"members":{"Greengrass":{"type":"structure","required":["S3OutputLocation","ComponentName"],"members":{"CompilerOptions":{},"TargetDevice":{},"TargetPlatform":{"type":"structure","required":["Os","Arch","Accelerator"],"members":{"Os":{},"Arch":{},"Accelerator":{}}},"S3OutputLocation":{"shape":"Sj"},"ComponentName":{},"ComponentVersion":{},"ComponentDescription":{},"Tags":{"shape":"Sm"}}}}}}} /***/ }), /* 944 */ @@ -53696,7 +53702,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 952 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"auditmanager","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Audit Manager","serviceId":"AuditManager","signatureVersion":"v4","signingName":"auditmanager","uid":"auditmanager-2017-07-25"},"operations":{"AssociateAssessmentReportEvidenceFolder":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/associateToAssessmentReport"},"input":{"type":"structure","required":["assessmentId","evidenceFolderId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"evidenceFolderId":{}}},"output":{"type":"structure","members":{}}},"BatchAssociateAssessmentReportEvidence":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/batchAssociateToAssessmentReport"},"input":{"type":"structure","required":["assessmentId","evidenceFolderId","evidenceIds"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"evidenceFolderId":{},"evidenceIds":{"shape":"S5"}}},"output":{"type":"structure","members":{"evidenceIds":{"shape":"S5"},"errors":{"shape":"S7"}}}},"BatchCreateDelegationByAssessment":{"http":{"requestUri":"/assessments/{assessmentId}/delegations"},"input":{"type":"structure","required":["createDelegationRequests","assessmentId"],"members":{"createDelegationRequests":{"type":"list","member":{"shape":"Sd"}},"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"delegations":{"shape":"Sj"},"errors":{"type":"list","member":{"type":"structure","members":{"createDelegationRequest":{"shape":"Sd"},"errorCode":{},"errorMessage":{}}}}}}},"BatchDeleteDelegationByAssessment":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/delegations"},"input":{"type":"structure","required":["delegationIds","assessmentId"],"members":{"delegationIds":{"type":"list","member":{}},"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"delegationId":{},"errorCode":{},"errorMessage":{}}}}}}},"BatchDisassociateAssessmentReportEvidence":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/batchDisassociateFromAssessmentReport"},"input":{"type":"structure","required":["assessmentId","evidenceFolderId","evidenceIds"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"evidenceFolderId":{},"evidenceIds":{"shape":"S5"}}},"output":{"type":"structure","members":{"evidenceIds":{"shape":"S5"},"errors":{"shape":"S7"}}}},"BatchImportEvidenceToAssessmentControl":{"http":{"requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}/evidence"},"input":{"type":"structure","required":["assessmentId","controlSetId","controlId","manualEvidence"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"controlId":{"location":"uri","locationName":"controlId"},"manualEvidence":{"type":"list","member":{"shape":"S10"}}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"manualEvidence":{"shape":"S10"},"errorCode":{},"errorMessage":{}}}}}}},"CreateAssessment":{"http":{"requestUri":"/assessments"},"input":{"type":"structure","required":["name","assessmentReportsDestination","scope","roles","frameworkId"],"members":{"name":{},"description":{},"assessmentReportsDestination":{"shape":"S17"},"scope":{"shape":"S19"},"roles":{"shape":"S1i"},"frameworkId":{},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{"assessment":{"shape":"S1o"}}}},"CreateAssessmentFramework":{"http":{"requestUri":"/assessmentFrameworks"},"input":{"type":"structure","required":["name","controlSets"],"members":{"name":{},"description":{},"complianceType":{},"controlSets":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{},"controls":{"shape":"S2j"}}}},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{"framework":{"shape":"S2m"}}}},"CreateAssessmentReport":{"http":{"requestUri":"/assessments/{assessmentId}/reports"},"input":{"type":"structure","required":["name","assessmentId"],"members":{"name":{},"description":{},"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"assessmentReport":{"type":"structure","members":{"id":{},"name":{},"description":{},"awsAccountId":{},"assessmentId":{},"assessmentName":{},"author":{},"status":{},"creationTime":{"type":"timestamp"}}}}}},"CreateControl":{"http":{"requestUri":"/controls"},"input":{"type":"structure","required":["name","controlMappingSources"],"members":{"name":{},"description":{},"testingInformation":{},"actionPlanTitle":{},"actionPlanInstructions":{},"controlMappingSources":{"type":"list","member":{"type":"structure","members":{"sourceName":{},"sourceDescription":{},"sourceSetUpOption":{},"sourceType":{},"sourceKeyword":{"shape":"S33"},"sourceFrequency":{},"troubleshootingText":{}}}},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{"control":{"shape":"S2s"}}}},"DeleteAssessment":{"http":{"method":"DELETE","requestUri":"/assessments/{assessmentId}"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{}}},"DeleteAssessmentFramework":{"http":{"method":"DELETE","requestUri":"/assessmentFrameworks/{frameworkId}"},"input":{"type":"structure","required":["frameworkId"],"members":{"frameworkId":{"location":"uri","locationName":"frameworkId"}}},"output":{"type":"structure","members":{}}},"DeleteAssessmentFrameworkShare":{"http":{"method":"DELETE","requestUri":"/assessmentFrameworkShareRequests/{requestId}"},"input":{"type":"structure","required":["requestId","requestType"],"members":{"requestId":{"location":"uri","locationName":"requestId"},"requestType":{"location":"querystring","locationName":"requestType"}}},"output":{"type":"structure","members":{}}},"DeleteAssessmentReport":{"http":{"method":"DELETE","requestUri":"/assessments/{assessmentId}/reports/{assessmentReportId}"},"input":{"type":"structure","required":["assessmentId","assessmentReportId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"assessmentReportId":{"location":"uri","locationName":"assessmentReportId"}}},"output":{"type":"structure","members":{}}},"DeleteControl":{"http":{"method":"DELETE","requestUri":"/controls/{controlId}"},"input":{"type":"structure","required":["controlId"],"members":{"controlId":{"location":"uri","locationName":"controlId"}}},"output":{"type":"structure","members":{}}},"DeregisterAccount":{"http":{"requestUri":"/account/deregisterAccount"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"status":{}}}},"DeregisterOrganizationAdminAccount":{"http":{"requestUri":"/account/deregisterOrganizationAdminAccount"},"input":{"type":"structure","members":{"adminAccountId":{}}},"output":{"type":"structure","members":{}}},"DisassociateAssessmentReportEvidenceFolder":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/disassociateFromAssessmentReport"},"input":{"type":"structure","required":["assessmentId","evidenceFolderId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"evidenceFolderId":{}}},"output":{"type":"structure","members":{}}},"GetAccountStatus":{"http":{"method":"GET","requestUri":"/account/status"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"status":{}}}},"GetAssessment":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"assessment":{"shape":"S1o"},"userRole":{"shape":"S1j"}}}},"GetAssessmentFramework":{"http":{"method":"GET","requestUri":"/assessmentFrameworks/{frameworkId}"},"input":{"type":"structure","required":["frameworkId"],"members":{"frameworkId":{"location":"uri","locationName":"frameworkId"}}},"output":{"type":"structure","members":{"framework":{"shape":"S2m"}}}},"GetAssessmentReportUrl":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/reports/{assessmentReportId}/url"},"input":{"type":"structure","required":["assessmentReportId","assessmentId"],"members":{"assessmentReportId":{"location":"uri","locationName":"assessmentReportId"},"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"preSignedUrl":{"type":"structure","members":{"hyperlinkName":{},"link":{}}}}}},"GetChangeLogs":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/changelogs"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"querystring","locationName":"controlSetId"},"controlId":{"location":"querystring","locationName":"controlId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"changeLogs":{"type":"list","member":{"type":"structure","members":{"objectType":{},"objectName":{},"action":{},"createdAt":{"type":"timestamp"},"createdBy":{}}}},"nextToken":{}}}},"GetControl":{"http":{"method":"GET","requestUri":"/controls/{controlId}"},"input":{"type":"structure","required":["controlId"],"members":{"controlId":{"location":"uri","locationName":"controlId"}}},"output":{"type":"structure","members":{"control":{"shape":"S2s"}}}},"GetDelegations":{"http":{"method":"GET","requestUri":"/delegations"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"delegations":{"type":"list","member":{"type":"structure","members":{"id":{},"assessmentName":{},"assessmentId":{},"status":{},"roleArn":{},"creationTime":{"type":"timestamp"},"controlSetName":{}}}},"nextToken":{}}}},"GetEvidence":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence/{evidenceId}"},"input":{"type":"structure","required":["assessmentId","controlSetId","evidenceFolderId","evidenceId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"evidenceFolderId":{"location":"uri","locationName":"evidenceFolderId"},"evidenceId":{"location":"uri","locationName":"evidenceId"}}},"output":{"type":"structure","members":{"evidence":{"shape":"S4s"}}}},"GetEvidenceByEvidenceFolder":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence"},"input":{"type":"structure","required":["assessmentId","controlSetId","evidenceFolderId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"evidenceFolderId":{"location":"uri","locationName":"evidenceFolderId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"evidence":{"type":"list","member":{"shape":"S4s"}},"nextToken":{}}}},"GetEvidenceFolder":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}"},"input":{"type":"structure","required":["assessmentId","controlSetId","evidenceFolderId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"evidenceFolderId":{"location":"uri","locationName":"evidenceFolderId"}}},"output":{"type":"structure","members":{"evidenceFolder":{"shape":"S56"}}}},"GetEvidenceFoldersByAssessment":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/evidenceFolders"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"evidenceFolders":{"shape":"S5a"},"nextToken":{}}}},"GetEvidenceFoldersByAssessmentControl":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/evidenceFolders-by-assessment-control/{controlSetId}/{controlId}"},"input":{"type":"structure","required":["assessmentId","controlSetId","controlId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"controlId":{"location":"uri","locationName":"controlId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"evidenceFolders":{"shape":"S5a"},"nextToken":{}}}},"GetInsights":{"http":{"method":"GET","requestUri":"/insights"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"insights":{"type":"structure","members":{"activeAssessmentsCount":{"type":"integer"},"noncompliantEvidenceCount":{"type":"integer"},"compliantEvidenceCount":{"type":"integer"},"inconclusiveEvidenceCount":{"type":"integer"},"assessmentControlsCountByNoncompliantEvidence":{"type":"integer"},"totalAssessmentControlsCount":{"type":"integer"},"lastUpdated":{"type":"timestamp"}}}}}},"GetInsightsByAssessment":{"http":{"method":"GET","requestUri":"/insights/assessments/{assessmentId}"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"insights":{"type":"structure","members":{"noncompliantEvidenceCount":{"type":"integer"},"compliantEvidenceCount":{"type":"integer"},"inconclusiveEvidenceCount":{"type":"integer"},"assessmentControlsCountByNoncompliantEvidence":{"type":"integer"},"totalAssessmentControlsCount":{"type":"integer"},"lastUpdated":{"type":"timestamp"}}}}}},"GetOrganizationAdminAccount":{"http":{"method":"GET","requestUri":"/account/organizationAdminAccount"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"adminAccountId":{},"organizationId":{}}}},"GetServicesInScope":{"http":{"method":"GET","requestUri":"/services"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"serviceMetadata":{"type":"list","member":{"type":"structure","members":{"name":{},"displayName":{},"description":{},"category":{}}}}}}},"GetSettings":{"http":{"method":"GET","requestUri":"/settings/{attribute}"},"input":{"type":"structure","required":["attribute"],"members":{"attribute":{"location":"uri","locationName":"attribute"}}},"output":{"type":"structure","members":{"settings":{"shape":"S5u"}}}},"ListAssessmentControlInsightsByControlDomain":{"http":{"method":"GET","requestUri":"/insights/controls-by-assessment"},"input":{"type":"structure","required":["controlDomainId","assessmentId"],"members":{"controlDomainId":{"location":"querystring","locationName":"controlDomainId"},"assessmentId":{"location":"querystring","locationName":"assessmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlInsightsByAssessment":{"type":"list","member":{"type":"structure","members":{"name":{},"id":{},"evidenceInsights":{"shape":"S62"},"controlSetName":{},"lastUpdated":{"type":"timestamp"}}}},"nextToken":{}}}},"ListAssessmentFrameworkShareRequests":{"http":{"method":"GET","requestUri":"/assessmentFrameworkShareRequests"},"input":{"type":"structure","required":["requestType"],"members":{"requestType":{"location":"querystring","locationName":"requestType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"assessmentFrameworkShareRequests":{"type":"list","member":{"shape":"S66"}},"nextToken":{}}}},"ListAssessmentFrameworks":{"http":{"method":"GET","requestUri":"/assessmentFrameworks"},"input":{"type":"structure","required":["frameworkType"],"members":{"frameworkType":{"location":"querystring","locationName":"frameworkType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"frameworkMetadataList":{"type":"list","member":{"type":"structure","members":{"arn":{},"id":{},"type":{},"name":{},"description":{},"logo":{},"complianceType":{},"controlsCount":{"type":"integer"},"controlSetsCount":{"type":"integer"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"}}}},"nextToken":{}}}},"ListAssessmentReports":{"http":{"method":"GET","requestUri":"/assessmentReports"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"assessmentReports":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{},"description":{},"assessmentId":{},"assessmentName":{},"author":{},"status":{},"creationTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListAssessments":{"http":{"method":"GET","requestUri":"/assessments"},"input":{"type":"structure","members":{"status":{"location":"querystring","locationName":"status"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"assessmentMetadata":{"type":"list","member":{"type":"structure","members":{"name":{},"id":{},"complianceType":{},"status":{},"roles":{"shape":"S1i"},"delegations":{"shape":"Sj"},"creationTime":{"type":"timestamp"},"lastUpdated":{"type":"timestamp"}}}},"nextToken":{}}}},"ListControlDomainInsights":{"http":{"method":"GET","requestUri":"/insights/control-domains"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlDomainInsights":{"shape":"S6q"},"nextToken":{}}}},"ListControlDomainInsightsByAssessment":{"http":{"method":"GET","requestUri":"/insights/control-domains-by-assessment"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"querystring","locationName":"assessmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlDomainInsights":{"shape":"S6q"},"nextToken":{}}}},"ListControlInsightsByControlDomain":{"http":{"method":"GET","requestUri":"/insights/controls"},"input":{"type":"structure","required":["controlDomainId"],"members":{"controlDomainId":{"location":"querystring","locationName":"controlDomainId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlInsightsMetadata":{"type":"list","member":{"type":"structure","members":{"name":{},"id":{},"evidenceInsights":{"shape":"S62"},"lastUpdated":{"type":"timestamp"}}}},"nextToken":{}}}},"ListControls":{"http":{"method":"GET","requestUri":"/controls"},"input":{"type":"structure","required":["controlType"],"members":{"controlType":{"location":"querystring","locationName":"controlType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlMetadataList":{"type":"list","member":{"type":"structure","members":{"arn":{},"id":{},"name":{},"controlSources":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKeywordsForDataSource":{"http":{"method":"GET","requestUri":"/dataSourceKeywords"},"input":{"type":"structure","required":["source"],"members":{"source":{"location":"querystring","locationName":"source"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"keywords":{"type":"list","member":{}},"nextToken":{}}}},"ListNotifications":{"http":{"method":"GET","requestUri":"/notifications"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"notifications":{"type":"list","member":{"type":"structure","members":{"id":{},"assessmentId":{},"assessmentName":{},"controlSetId":{},"controlSetName":{},"description":{},"eventTime":{"type":"timestamp"},"source":{}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1k"}}}},"RegisterAccount":{"http":{"requestUri":"/account/registerAccount"},"input":{"type":"structure","members":{"kmsKey":{},"delegatedAdminAccount":{}}},"output":{"type":"structure","members":{"status":{}}}},"RegisterOrganizationAdminAccount":{"http":{"requestUri":"/account/registerOrganizationAdminAccount"},"input":{"type":"structure","required":["adminAccountId"],"members":{"adminAccountId":{}}},"output":{"type":"structure","members":{"adminAccountId":{},"organizationId":{}}}},"StartAssessmentFrameworkShare":{"http":{"requestUri":"/assessmentFrameworks/{frameworkId}/shareRequests"},"input":{"type":"structure","required":["frameworkId","destinationAccount","destinationRegion"],"members":{"frameworkId":{"location":"uri","locationName":"frameworkId"},"destinationAccount":{},"destinationRegion":{},"comment":{}}},"output":{"type":"structure","members":{"assessmentFrameworkShareRequest":{"shape":"S66"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAssessment":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}"},"input":{"type":"structure","required":["assessmentId","scope"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"assessmentName":{},"assessmentDescription":{},"scope":{"shape":"S19"},"assessmentReportsDestination":{"shape":"S17"},"roles":{"shape":"S1i"}}},"output":{"type":"structure","members":{"assessment":{"shape":"S1o"}}}},"UpdateAssessmentControl":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}"},"input":{"type":"structure","required":["assessmentId","controlSetId","controlId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"controlId":{"location":"uri","locationName":"controlId"},"controlStatus":{},"commentBody":{}}},"output":{"type":"structure","members":{"control":{"shape":"S22"}}}},"UpdateAssessmentControlSetStatus":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/status"},"input":{"type":"structure","required":["assessmentId","controlSetId","status","comment"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"status":{},"comment":{}}},"output":{"type":"structure","members":{"controlSet":{"shape":"S1y"}}}},"UpdateAssessmentFramework":{"http":{"method":"PUT","requestUri":"/assessmentFrameworks/{frameworkId}"},"input":{"type":"structure","required":["frameworkId","name","controlSets"],"members":{"frameworkId":{"location":"uri","locationName":"frameworkId"},"name":{},"description":{},"complianceType":{},"controlSets":{"type":"list","member":{"type":"structure","required":["name"],"members":{"id":{},"name":{},"controls":{"shape":"S2j"}}}}}},"output":{"type":"structure","members":{"framework":{"shape":"S2m"}}}},"UpdateAssessmentFrameworkShare":{"http":{"method":"PUT","requestUri":"/assessmentFrameworkShareRequests/{requestId}"},"input":{"type":"structure","required":["requestId","requestType","action"],"members":{"requestId":{"location":"uri","locationName":"requestId"},"requestType":{},"action":{}}},"output":{"type":"structure","members":{"assessmentFrameworkShareRequest":{"shape":"S66"}}}},"UpdateAssessmentStatus":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/status"},"input":{"type":"structure","required":["assessmentId","status"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"status":{}}},"output":{"type":"structure","members":{"assessment":{"shape":"S1o"}}}},"UpdateControl":{"http":{"method":"PUT","requestUri":"/controls/{controlId}"},"input":{"type":"structure","required":["controlId","name","controlMappingSources"],"members":{"controlId":{"location":"uri","locationName":"controlId"},"name":{},"description":{},"testingInformation":{},"actionPlanTitle":{},"actionPlanInstructions":{},"controlMappingSources":{"shape":"S2x"}}},"output":{"type":"structure","members":{"control":{"shape":"S2s"}}}},"UpdateSettings":{"http":{"method":"PUT","requestUri":"/settings"},"input":{"type":"structure","members":{"snsTopic":{},"defaultAssessmentReportsDestination":{"shape":"S17"},"defaultProcessOwners":{"shape":"S1i"},"kmsKey":{}}},"output":{"type":"structure","members":{"settings":{"shape":"S5u"}}}},"ValidateAssessmentReportIntegrity":{"http":{"requestUri":"/assessmentReports/integrity"},"input":{"type":"structure","required":["s3RelativePath"],"members":{"s3RelativePath":{}}},"output":{"type":"structure","members":{"signatureValid":{"type":"boolean"},"signatureAlgorithm":{},"signatureDateTime":{},"signatureKeyId":{},"validationErrors":{"type":"list","member":{}}}}}},"shapes":{"S5":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"evidenceId":{},"errorCode":{},"errorMessage":{}}}},"Sd":{"type":"structure","members":{"comment":{},"controlSetId":{},"roleArn":{},"roleType":{}}},"Sj":{"type":"list","member":{"type":"structure","members":{"id":{},"assessmentName":{},"assessmentId":{},"status":{},"roleArn":{},"roleType":{},"creationTime":{"type":"timestamp"},"lastUpdated":{"type":"timestamp"},"controlSetId":{},"comment":{},"createdBy":{}}}},"S10":{"type":"structure","members":{"s3ResourcePath":{}}},"S17":{"type":"structure","members":{"destinationType":{},"destination":{}}},"S19":{"type":"structure","members":{"awsAccounts":{"type":"list","member":{"shape":"S1b"}},"awsServices":{"type":"list","member":{"type":"structure","members":{"serviceName":{}}}}}},"S1b":{"type":"structure","members":{"id":{},"emailAddress":{},"name":{}}},"S1i":{"type":"list","member":{"shape":"S1j"}},"S1j":{"type":"structure","members":{"roleType":{},"roleArn":{}}},"S1k":{"type":"map","key":{},"value":{}},"S1o":{"type":"structure","members":{"arn":{},"awsAccount":{"shape":"S1b"},"metadata":{"type":"structure","members":{"name":{},"id":{},"description":{},"complianceType":{},"status":{},"assessmentReportsDestination":{"shape":"S17"},"scope":{"shape":"S19"},"roles":{"shape":"S1i"},"delegations":{"shape":"Sj"},"creationTime":{"type":"timestamp"},"lastUpdated":{"type":"timestamp"}}},"framework":{"type":"structure","members":{"id":{},"arn":{},"metadata":{"type":"structure","members":{"name":{},"description":{},"logo":{},"complianceType":{}}},"controlSets":{"type":"list","member":{"shape":"S1y"}}}},"tags":{"shape":"S1k"}}},"S1y":{"type":"structure","members":{"id":{},"description":{},"status":{},"roles":{"shape":"S1i"},"controls":{"type":"list","member":{"shape":"S22"}},"delegations":{"shape":"Sj"},"systemEvidenceCount":{"type":"integer"},"manualEvidenceCount":{"type":"integer"}}},"S22":{"type":"structure","members":{"id":{},"name":{},"description":{},"status":{},"response":{},"comments":{"type":"list","member":{"type":"structure","members":{"authorName":{},"commentBody":{},"postedDate":{"type":"timestamp"}}}},"evidenceSources":{"type":"list","member":{}},"evidenceCount":{"type":"integer"},"assessmentReportEvidenceCount":{"type":"integer"}}},"S2j":{"type":"list","member":{"type":"structure","members":{"id":{}}}},"S2m":{"type":"structure","members":{"arn":{},"id":{},"name":{},"type":{},"complianceType":{},"description":{},"logo":{},"controlSources":{},"controlSets":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{},"controls":{"type":"list","member":{"shape":"S2s"}}}}},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S1k"}}},"S2s":{"type":"structure","members":{"arn":{},"id":{},"type":{},"name":{},"description":{},"testingInformation":{},"actionPlanTitle":{},"actionPlanInstructions":{},"controlSources":{},"controlMappingSources":{"shape":"S2x"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S1k"}}},"S2x":{"type":"list","member":{"type":"structure","members":{"sourceId":{},"sourceName":{},"sourceDescription":{},"sourceSetUpOption":{},"sourceType":{},"sourceKeyword":{"shape":"S33"},"sourceFrequency":{},"troubleshootingText":{}}}},"S33":{"type":"structure","members":{"keywordInputType":{},"keywordValue":{}}},"S4s":{"type":"structure","members":{"dataSource":{},"evidenceAwsAccountId":{},"time":{"type":"timestamp"},"eventSource":{},"eventName":{},"evidenceByType":{},"resourcesIncluded":{"type":"list","member":{"type":"structure","members":{"arn":{},"value":{}}}},"attributes":{"type":"map","key":{},"value":{}},"iamId":{},"complianceCheck":{},"awsOrganization":{},"awsAccountId":{},"evidenceFolderId":{},"id":{},"assessmentReportSelection":{}}},"S56":{"type":"structure","members":{"name":{},"date":{"type":"timestamp"},"assessmentId":{},"controlSetId":{},"controlId":{},"id":{},"dataSource":{},"author":{},"totalEvidence":{"type":"integer"},"assessmentReportSelectionCount":{"type":"integer"},"controlName":{},"evidenceResourcesIncludedCount":{"type":"integer"},"evidenceByTypeConfigurationDataCount":{"type":"integer"},"evidenceByTypeManualCount":{"type":"integer"},"evidenceByTypeComplianceCheckCount":{"type":"integer"},"evidenceByTypeComplianceCheckIssuesCount":{"type":"integer"},"evidenceByTypeUserActivityCount":{"type":"integer"},"evidenceAwsServiceSourceCount":{"type":"integer"}}},"S5a":{"type":"list","member":{"shape":"S56"}},"S5u":{"type":"structure","members":{"isAwsOrgEnabled":{"type":"boolean"},"snsTopic":{},"defaultAssessmentReportsDestination":{"shape":"S17"},"defaultProcessOwners":{"shape":"S1i"},"kmsKey":{}}},"S62":{"type":"structure","members":{"noncompliantEvidenceCount":{"type":"integer"},"compliantEvidenceCount":{"type":"integer"},"inconclusiveEvidenceCount":{"type":"integer"}}},"S66":{"type":"structure","members":{"id":{},"frameworkId":{},"frameworkName":{},"frameworkDescription":{},"status":{},"sourceAccount":{},"destinationAccount":{},"destinationRegion":{},"expirationTime":{"type":"timestamp"},"creationTime":{"type":"timestamp"},"lastUpdated":{"type":"timestamp"},"comment":{},"standardControlsCount":{"type":"integer"},"customControlsCount":{"type":"integer"},"complianceType":{}}},"S6q":{"type":"list","member":{"type":"structure","members":{"name":{},"id":{},"controlsCountByNoncompliantEvidence":{"type":"integer"},"totalControlsCount":{"type":"integer"},"evidenceInsights":{"shape":"S62"},"lastUpdated":{"type":"timestamp"}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"auditmanager","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Audit Manager","serviceId":"AuditManager","signatureVersion":"v4","signingName":"auditmanager","uid":"auditmanager-2017-07-25"},"operations":{"AssociateAssessmentReportEvidenceFolder":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/associateToAssessmentReport"},"input":{"type":"structure","required":["assessmentId","evidenceFolderId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"evidenceFolderId":{}}},"output":{"type":"structure","members":{}}},"BatchAssociateAssessmentReportEvidence":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/batchAssociateToAssessmentReport"},"input":{"type":"structure","required":["assessmentId","evidenceFolderId","evidenceIds"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"evidenceFolderId":{},"evidenceIds":{"shape":"S5"}}},"output":{"type":"structure","members":{"evidenceIds":{"shape":"S5"},"errors":{"shape":"S7"}}}},"BatchCreateDelegationByAssessment":{"http":{"requestUri":"/assessments/{assessmentId}/delegations"},"input":{"type":"structure","required":["createDelegationRequests","assessmentId"],"members":{"createDelegationRequests":{"type":"list","member":{"shape":"Sd"}},"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"delegations":{"shape":"Sj"},"errors":{"type":"list","member":{"type":"structure","members":{"createDelegationRequest":{"shape":"Sd"},"errorCode":{},"errorMessage":{}}}}}}},"BatchDeleteDelegationByAssessment":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/delegations"},"input":{"type":"structure","required":["delegationIds","assessmentId"],"members":{"delegationIds":{"type":"list","member":{}},"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"delegationId":{},"errorCode":{},"errorMessage":{}}}}}}},"BatchDisassociateAssessmentReportEvidence":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/batchDisassociateFromAssessmentReport"},"input":{"type":"structure","required":["assessmentId","evidenceFolderId","evidenceIds"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"evidenceFolderId":{},"evidenceIds":{"shape":"S5"}}},"output":{"type":"structure","members":{"evidenceIds":{"shape":"S5"},"errors":{"shape":"S7"}}}},"BatchImportEvidenceToAssessmentControl":{"http":{"requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}/evidence"},"input":{"type":"structure","required":["assessmentId","controlSetId","controlId","manualEvidence"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"controlId":{"location":"uri","locationName":"controlId"},"manualEvidence":{"type":"list","member":{"shape":"S10"}}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"manualEvidence":{"shape":"S10"},"errorCode":{},"errorMessage":{}}}}}}},"CreateAssessment":{"http":{"requestUri":"/assessments"},"input":{"type":"structure","required":["name","assessmentReportsDestination","scope","roles","frameworkId"],"members":{"name":{},"description":{},"assessmentReportsDestination":{"shape":"S17"},"scope":{"shape":"S19"},"roles":{"shape":"S1i"},"frameworkId":{},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{"assessment":{"shape":"S1o"}}}},"CreateAssessmentFramework":{"http":{"requestUri":"/assessmentFrameworks"},"input":{"type":"structure","required":["name","controlSets"],"members":{"name":{},"description":{},"complianceType":{},"controlSets":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{},"controls":{"shape":"S2j"}}}},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{"framework":{"shape":"S2m"}}}},"CreateAssessmentReport":{"http":{"requestUri":"/assessments/{assessmentId}/reports"},"input":{"type":"structure","required":["name","assessmentId"],"members":{"name":{},"description":{},"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"assessmentReport":{"type":"structure","members":{"id":{},"name":{},"description":{},"awsAccountId":{},"assessmentId":{},"assessmentName":{},"author":{},"status":{},"creationTime":{"type":"timestamp"}}}}}},"CreateControl":{"http":{"requestUri":"/controls"},"input":{"type":"structure","required":["name","controlMappingSources"],"members":{"name":{},"description":{},"testingInformation":{},"actionPlanTitle":{},"actionPlanInstructions":{},"controlMappingSources":{"type":"list","member":{"type":"structure","members":{"sourceName":{},"sourceDescription":{},"sourceSetUpOption":{},"sourceType":{},"sourceKeyword":{"shape":"S33"},"sourceFrequency":{},"troubleshootingText":{}}}},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{"control":{"shape":"S2s"}}}},"DeleteAssessment":{"http":{"method":"DELETE","requestUri":"/assessments/{assessmentId}"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{}}},"DeleteAssessmentFramework":{"http":{"method":"DELETE","requestUri":"/assessmentFrameworks/{frameworkId}"},"input":{"type":"structure","required":["frameworkId"],"members":{"frameworkId":{"location":"uri","locationName":"frameworkId"}}},"output":{"type":"structure","members":{}}},"DeleteAssessmentFrameworkShare":{"http":{"method":"DELETE","requestUri":"/assessmentFrameworkShareRequests/{requestId}"},"input":{"type":"structure","required":["requestId","requestType"],"members":{"requestId":{"location":"uri","locationName":"requestId"},"requestType":{"location":"querystring","locationName":"requestType"}}},"output":{"type":"structure","members":{}}},"DeleteAssessmentReport":{"http":{"method":"DELETE","requestUri":"/assessments/{assessmentId}/reports/{assessmentReportId}"},"input":{"type":"structure","required":["assessmentId","assessmentReportId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"assessmentReportId":{"location":"uri","locationName":"assessmentReportId"}}},"output":{"type":"structure","members":{}}},"DeleteControl":{"http":{"method":"DELETE","requestUri":"/controls/{controlId}"},"input":{"type":"structure","required":["controlId"],"members":{"controlId":{"location":"uri","locationName":"controlId"}}},"output":{"type":"structure","members":{}}},"DeregisterAccount":{"http":{"requestUri":"/account/deregisterAccount"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"status":{}}}},"DeregisterOrganizationAdminAccount":{"http":{"requestUri":"/account/deregisterOrganizationAdminAccount"},"input":{"type":"structure","members":{"adminAccountId":{}}},"output":{"type":"structure","members":{}}},"DisassociateAssessmentReportEvidenceFolder":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/disassociateFromAssessmentReport"},"input":{"type":"structure","required":["assessmentId","evidenceFolderId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"evidenceFolderId":{}}},"output":{"type":"structure","members":{}}},"GetAccountStatus":{"http":{"method":"GET","requestUri":"/account/status"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"status":{}}}},"GetAssessment":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"assessment":{"shape":"S1o"},"userRole":{"shape":"S1j"}}}},"GetAssessmentFramework":{"http":{"method":"GET","requestUri":"/assessmentFrameworks/{frameworkId}"},"input":{"type":"structure","required":["frameworkId"],"members":{"frameworkId":{"location":"uri","locationName":"frameworkId"}}},"output":{"type":"structure","members":{"framework":{"shape":"S2m"}}}},"GetAssessmentReportUrl":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/reports/{assessmentReportId}/url"},"input":{"type":"structure","required":["assessmentReportId","assessmentId"],"members":{"assessmentReportId":{"location":"uri","locationName":"assessmentReportId"},"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"preSignedUrl":{"type":"structure","members":{"hyperlinkName":{},"link":{}}}}}},"GetChangeLogs":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/changelogs"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"querystring","locationName":"controlSetId"},"controlId":{"location":"querystring","locationName":"controlId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"changeLogs":{"type":"list","member":{"type":"structure","members":{"objectType":{},"objectName":{},"action":{},"createdAt":{"type":"timestamp"},"createdBy":{}}}},"nextToken":{}}}},"GetControl":{"http":{"method":"GET","requestUri":"/controls/{controlId}"},"input":{"type":"structure","required":["controlId"],"members":{"controlId":{"location":"uri","locationName":"controlId"}}},"output":{"type":"structure","members":{"control":{"shape":"S2s"}}}},"GetDelegations":{"http":{"method":"GET","requestUri":"/delegations"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"delegations":{"type":"list","member":{"type":"structure","members":{"id":{},"assessmentName":{},"assessmentId":{},"status":{},"roleArn":{},"creationTime":{"type":"timestamp"},"controlSetName":{}}}},"nextToken":{}}}},"GetEvidence":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence/{evidenceId}"},"input":{"type":"structure","required":["assessmentId","controlSetId","evidenceFolderId","evidenceId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"evidenceFolderId":{"location":"uri","locationName":"evidenceFolderId"},"evidenceId":{"location":"uri","locationName":"evidenceId"}}},"output":{"type":"structure","members":{"evidence":{"shape":"S4s"}}}},"GetEvidenceByEvidenceFolder":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence"},"input":{"type":"structure","required":["assessmentId","controlSetId","evidenceFolderId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"evidenceFolderId":{"location":"uri","locationName":"evidenceFolderId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"evidence":{"type":"list","member":{"shape":"S4s"}},"nextToken":{}}}},"GetEvidenceFolder":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}"},"input":{"type":"structure","required":["assessmentId","controlSetId","evidenceFolderId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"evidenceFolderId":{"location":"uri","locationName":"evidenceFolderId"}}},"output":{"type":"structure","members":{"evidenceFolder":{"shape":"S56"}}}},"GetEvidenceFoldersByAssessment":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/evidenceFolders"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"evidenceFolders":{"shape":"S5a"},"nextToken":{}}}},"GetEvidenceFoldersByAssessmentControl":{"http":{"method":"GET","requestUri":"/assessments/{assessmentId}/evidenceFolders-by-assessment-control/{controlSetId}/{controlId}"},"input":{"type":"structure","required":["assessmentId","controlSetId","controlId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"controlId":{"location":"uri","locationName":"controlId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"evidenceFolders":{"shape":"S5a"},"nextToken":{}}}},"GetInsights":{"http":{"method":"GET","requestUri":"/insights"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"insights":{"type":"structure","members":{"activeAssessmentsCount":{"type":"integer"},"noncompliantEvidenceCount":{"type":"integer"},"compliantEvidenceCount":{"type":"integer"},"inconclusiveEvidenceCount":{"type":"integer"},"assessmentControlsCountByNoncompliantEvidence":{"type":"integer"},"totalAssessmentControlsCount":{"type":"integer"},"lastUpdated":{"type":"timestamp"}}}}}},"GetInsightsByAssessment":{"http":{"method":"GET","requestUri":"/insights/assessments/{assessmentId}"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"}}},"output":{"type":"structure","members":{"insights":{"type":"structure","members":{"noncompliantEvidenceCount":{"type":"integer"},"compliantEvidenceCount":{"type":"integer"},"inconclusiveEvidenceCount":{"type":"integer"},"assessmentControlsCountByNoncompliantEvidence":{"type":"integer"},"totalAssessmentControlsCount":{"type":"integer"},"lastUpdated":{"type":"timestamp"}}}}}},"GetOrganizationAdminAccount":{"http":{"method":"GET","requestUri":"/account/organizationAdminAccount"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"adminAccountId":{},"organizationId":{}}}},"GetServicesInScope":{"http":{"method":"GET","requestUri":"/services"},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"serviceMetadata":{"type":"list","member":{"type":"structure","members":{"name":{},"displayName":{},"description":{},"category":{}}}}}}},"GetSettings":{"http":{"method":"GET","requestUri":"/settings/{attribute}"},"input":{"type":"structure","required":["attribute"],"members":{"attribute":{"location":"uri","locationName":"attribute"}}},"output":{"type":"structure","members":{"settings":{"shape":"S5u"}}}},"ListAssessmentControlInsightsByControlDomain":{"http":{"method":"GET","requestUri":"/insights/controls-by-assessment"},"input":{"type":"structure","required":["controlDomainId","assessmentId"],"members":{"controlDomainId":{"location":"querystring","locationName":"controlDomainId"},"assessmentId":{"location":"querystring","locationName":"assessmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlInsightsByAssessment":{"type":"list","member":{"type":"structure","members":{"name":{},"id":{},"evidenceInsights":{"shape":"S62"},"controlSetName":{},"lastUpdated":{"type":"timestamp"}}}},"nextToken":{}}}},"ListAssessmentFrameworkShareRequests":{"http":{"method":"GET","requestUri":"/assessmentFrameworkShareRequests"},"input":{"type":"structure","required":["requestType"],"members":{"requestType":{"location":"querystring","locationName":"requestType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"assessmentFrameworkShareRequests":{"type":"list","member":{"shape":"S66"}},"nextToken":{}}}},"ListAssessmentFrameworks":{"http":{"method":"GET","requestUri":"/assessmentFrameworks"},"input":{"type":"structure","required":["frameworkType"],"members":{"frameworkType":{"location":"querystring","locationName":"frameworkType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"frameworkMetadataList":{"type":"list","member":{"type":"structure","members":{"arn":{},"id":{},"type":{},"name":{},"description":{},"logo":{},"complianceType":{},"controlsCount":{"type":"integer"},"controlSetsCount":{"type":"integer"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"}}}},"nextToken":{}}}},"ListAssessmentReports":{"http":{"method":"GET","requestUri":"/assessmentReports"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"assessmentReports":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{},"description":{},"assessmentId":{},"assessmentName":{},"author":{},"status":{},"creationTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListAssessments":{"http":{"method":"GET","requestUri":"/assessments"},"input":{"type":"structure","members":{"status":{"location":"querystring","locationName":"status"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"assessmentMetadata":{"type":"list","member":{"type":"structure","members":{"name":{},"id":{},"complianceType":{},"status":{},"roles":{"shape":"S1i"},"delegations":{"shape":"Sj"},"creationTime":{"type":"timestamp"},"lastUpdated":{"type":"timestamp"}}}},"nextToken":{}}}},"ListControlDomainInsights":{"http":{"method":"GET","requestUri":"/insights/control-domains"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlDomainInsights":{"shape":"S6q"},"nextToken":{}}}},"ListControlDomainInsightsByAssessment":{"http":{"method":"GET","requestUri":"/insights/control-domains-by-assessment"},"input":{"type":"structure","required":["assessmentId"],"members":{"assessmentId":{"location":"querystring","locationName":"assessmentId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlDomainInsights":{"shape":"S6q"},"nextToken":{}}}},"ListControlInsightsByControlDomain":{"http":{"method":"GET","requestUri":"/insights/controls"},"input":{"type":"structure","required":["controlDomainId"],"members":{"controlDomainId":{"location":"querystring","locationName":"controlDomainId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlInsightsMetadata":{"type":"list","member":{"type":"structure","members":{"name":{},"id":{},"evidenceInsights":{"shape":"S62"},"lastUpdated":{"type":"timestamp"}}}},"nextToken":{}}}},"ListControls":{"http":{"method":"GET","requestUri":"/controls"},"input":{"type":"structure","required":["controlType"],"members":{"controlType":{"location":"querystring","locationName":"controlType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"controlMetadataList":{"type":"list","member":{"type":"structure","members":{"arn":{},"id":{},"name":{},"controlSources":{},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"}}}},"nextToken":{}}}},"ListKeywordsForDataSource":{"http":{"method":"GET","requestUri":"/dataSourceKeywords"},"input":{"type":"structure","required":["source"],"members":{"source":{"location":"querystring","locationName":"source"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"keywords":{"type":"list","member":{}},"nextToken":{}}}},"ListNotifications":{"http":{"method":"GET","requestUri":"/notifications"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"notifications":{"type":"list","member":{"type":"structure","members":{"id":{},"assessmentId":{},"assessmentName":{},"controlSetId":{},"controlSetName":{},"description":{},"eventTime":{"type":"timestamp"},"source":{}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1k"}}}},"RegisterAccount":{"http":{"requestUri":"/account/registerAccount"},"input":{"type":"structure","members":{"kmsKey":{},"delegatedAdminAccount":{}}},"output":{"type":"structure","members":{"status":{}}}},"RegisterOrganizationAdminAccount":{"http":{"requestUri":"/account/registerOrganizationAdminAccount"},"input":{"type":"structure","required":["adminAccountId"],"members":{"adminAccountId":{}}},"output":{"type":"structure","members":{"adminAccountId":{},"organizationId":{}}}},"StartAssessmentFrameworkShare":{"http":{"requestUri":"/assessmentFrameworks/{frameworkId}/shareRequests"},"input":{"type":"structure","required":["frameworkId","destinationAccount","destinationRegion"],"members":{"frameworkId":{"location":"uri","locationName":"frameworkId"},"destinationAccount":{},"destinationRegion":{},"comment":{}}},"output":{"type":"structure","members":{"assessmentFrameworkShareRequest":{"shape":"S66"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1k"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAssessment":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}"},"input":{"type":"structure","required":["assessmentId","scope"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"assessmentName":{},"assessmentDescription":{},"scope":{"shape":"S19"},"assessmentReportsDestination":{"shape":"S17"},"roles":{"shape":"S1i"}}},"output":{"type":"structure","members":{"assessment":{"shape":"S1o"}}}},"UpdateAssessmentControl":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}"},"input":{"type":"structure","required":["assessmentId","controlSetId","controlId"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"controlId":{"location":"uri","locationName":"controlId"},"controlStatus":{},"commentBody":{}}},"output":{"type":"structure","members":{"control":{"shape":"S22"}}}},"UpdateAssessmentControlSetStatus":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/controlSets/{controlSetId}/status"},"input":{"type":"structure","required":["assessmentId","controlSetId","status","comment"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"controlSetId":{"location":"uri","locationName":"controlSetId"},"status":{},"comment":{}}},"output":{"type":"structure","members":{"controlSet":{"shape":"S1y"}}}},"UpdateAssessmentFramework":{"http":{"method":"PUT","requestUri":"/assessmentFrameworks/{frameworkId}"},"input":{"type":"structure","required":["frameworkId","name","controlSets"],"members":{"frameworkId":{"location":"uri","locationName":"frameworkId"},"name":{},"description":{},"complianceType":{},"controlSets":{"type":"list","member":{"type":"structure","required":["name","controls"],"members":{"id":{},"name":{},"controls":{"shape":"S2j"}}}}}},"output":{"type":"structure","members":{"framework":{"shape":"S2m"}}}},"UpdateAssessmentFrameworkShare":{"http":{"method":"PUT","requestUri":"/assessmentFrameworkShareRequests/{requestId}"},"input":{"type":"structure","required":["requestId","requestType","action"],"members":{"requestId":{"location":"uri","locationName":"requestId"},"requestType":{},"action":{}}},"output":{"type":"structure","members":{"assessmentFrameworkShareRequest":{"shape":"S66"}}}},"UpdateAssessmentStatus":{"http":{"method":"PUT","requestUri":"/assessments/{assessmentId}/status"},"input":{"type":"structure","required":["assessmentId","status"],"members":{"assessmentId":{"location":"uri","locationName":"assessmentId"},"status":{}}},"output":{"type":"structure","members":{"assessment":{"shape":"S1o"}}}},"UpdateControl":{"http":{"method":"PUT","requestUri":"/controls/{controlId}"},"input":{"type":"structure","required":["controlId","name","controlMappingSources"],"members":{"controlId":{"location":"uri","locationName":"controlId"},"name":{},"description":{},"testingInformation":{},"actionPlanTitle":{},"actionPlanInstructions":{},"controlMappingSources":{"shape":"S2x"}}},"output":{"type":"structure","members":{"control":{"shape":"S2s"}}}},"UpdateSettings":{"http":{"method":"PUT","requestUri":"/settings"},"input":{"type":"structure","members":{"snsTopic":{},"defaultAssessmentReportsDestination":{"shape":"S17"},"defaultProcessOwners":{"shape":"S1i"},"kmsKey":{}}},"output":{"type":"structure","members":{"settings":{"shape":"S5u"}}}},"ValidateAssessmentReportIntegrity":{"http":{"requestUri":"/assessmentReports/integrity"},"input":{"type":"structure","required":["s3RelativePath"],"members":{"s3RelativePath":{}}},"output":{"type":"structure","members":{"signatureValid":{"type":"boolean"},"signatureAlgorithm":{},"signatureDateTime":{},"signatureKeyId":{},"validationErrors":{"type":"list","member":{}}}}}},"shapes":{"S5":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"evidenceId":{},"errorCode":{},"errorMessage":{}}}},"Sd":{"type":"structure","members":{"comment":{},"controlSetId":{},"roleArn":{},"roleType":{}}},"Sj":{"type":"list","member":{"type":"structure","members":{"id":{},"assessmentName":{},"assessmentId":{},"status":{},"roleArn":{},"roleType":{},"creationTime":{"type":"timestamp"},"lastUpdated":{"type":"timestamp"},"controlSetId":{},"comment":{},"createdBy":{}}}},"S10":{"type":"structure","members":{"s3ResourcePath":{}}},"S17":{"type":"structure","members":{"destinationType":{},"destination":{}}},"S19":{"type":"structure","members":{"awsAccounts":{"type":"list","member":{"shape":"S1b"}},"awsServices":{"type":"list","member":{"type":"structure","members":{"serviceName":{}}}}}},"S1b":{"type":"structure","members":{"id":{},"emailAddress":{},"name":{}}},"S1i":{"type":"list","member":{"shape":"S1j"}},"S1j":{"type":"structure","members":{"roleType":{},"roleArn":{}}},"S1k":{"type":"map","key":{},"value":{}},"S1o":{"type":"structure","members":{"arn":{},"awsAccount":{"shape":"S1b"},"metadata":{"type":"structure","members":{"name":{},"id":{},"description":{},"complianceType":{},"status":{},"assessmentReportsDestination":{"shape":"S17"},"scope":{"shape":"S19"},"roles":{"shape":"S1i"},"delegations":{"shape":"Sj"},"creationTime":{"type":"timestamp"},"lastUpdated":{"type":"timestamp"}}},"framework":{"type":"structure","members":{"id":{},"arn":{},"metadata":{"type":"structure","members":{"name":{},"description":{},"logo":{},"complianceType":{}}},"controlSets":{"type":"list","member":{"shape":"S1y"}}}},"tags":{"shape":"S1k"}}},"S1y":{"type":"structure","members":{"id":{},"description":{},"status":{},"roles":{"shape":"S1i"},"controls":{"type":"list","member":{"shape":"S22"}},"delegations":{"shape":"Sj"},"systemEvidenceCount":{"type":"integer"},"manualEvidenceCount":{"type":"integer"}}},"S22":{"type":"structure","members":{"id":{},"name":{},"description":{},"status":{},"response":{},"comments":{"type":"list","member":{"type":"structure","members":{"authorName":{},"commentBody":{},"postedDate":{"type":"timestamp"}}}},"evidenceSources":{"type":"list","member":{}},"evidenceCount":{"type":"integer"},"assessmentReportEvidenceCount":{"type":"integer"}}},"S2j":{"type":"list","member":{"type":"structure","required":["id"],"members":{"id":{}}}},"S2m":{"type":"structure","members":{"arn":{},"id":{},"name":{},"type":{},"complianceType":{},"description":{},"logo":{},"controlSources":{},"controlSets":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{},"controls":{"type":"list","member":{"shape":"S2s"}}}}},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S1k"}}},"S2s":{"type":"structure","members":{"arn":{},"id":{},"type":{},"name":{},"description":{},"testingInformation":{},"actionPlanTitle":{},"actionPlanInstructions":{},"controlSources":{},"controlMappingSources":{"shape":"S2x"},"createdAt":{"type":"timestamp"},"lastUpdatedAt":{"type":"timestamp"},"createdBy":{},"lastUpdatedBy":{},"tags":{"shape":"S1k"}}},"S2x":{"type":"list","member":{"type":"structure","members":{"sourceId":{},"sourceName":{},"sourceDescription":{},"sourceSetUpOption":{},"sourceType":{},"sourceKeyword":{"shape":"S33"},"sourceFrequency":{},"troubleshootingText":{}}}},"S33":{"type":"structure","members":{"keywordInputType":{},"keywordValue":{}}},"S4s":{"type":"structure","members":{"dataSource":{},"evidenceAwsAccountId":{},"time":{"type":"timestamp"},"eventSource":{},"eventName":{},"evidenceByType":{},"resourcesIncluded":{"type":"list","member":{"type":"structure","members":{"arn":{},"value":{}}}},"attributes":{"type":"map","key":{},"value":{}},"iamId":{},"complianceCheck":{},"awsOrganization":{},"awsAccountId":{},"evidenceFolderId":{},"id":{},"assessmentReportSelection":{}}},"S56":{"type":"structure","members":{"name":{},"date":{"type":"timestamp"},"assessmentId":{},"controlSetId":{},"controlId":{},"id":{},"dataSource":{},"author":{},"totalEvidence":{"type":"integer"},"assessmentReportSelectionCount":{"type":"integer"},"controlName":{},"evidenceResourcesIncludedCount":{"type":"integer"},"evidenceByTypeConfigurationDataCount":{"type":"integer"},"evidenceByTypeManualCount":{"type":"integer"},"evidenceByTypeComplianceCheckCount":{"type":"integer"},"evidenceByTypeComplianceCheckIssuesCount":{"type":"integer"},"evidenceByTypeUserActivityCount":{"type":"integer"},"evidenceAwsServiceSourceCount":{"type":"integer"}}},"S5a":{"type":"list","member":{"shape":"S56"}},"S5u":{"type":"structure","members":{"isAwsOrgEnabled":{"type":"boolean"},"snsTopic":{},"defaultAssessmentReportsDestination":{"shape":"S17"},"defaultProcessOwners":{"shape":"S1i"},"kmsKey":{}}},"S62":{"type":"structure","members":{"noncompliantEvidenceCount":{"type":"integer"},"compliantEvidenceCount":{"type":"integer"},"inconclusiveEvidenceCount":{"type":"integer"}}},"S66":{"type":"structure","members":{"id":{},"frameworkId":{},"frameworkName":{},"frameworkDescription":{},"status":{},"sourceAccount":{},"destinationAccount":{},"destinationRegion":{},"expirationTime":{"type":"timestamp"},"creationTime":{"type":"timestamp"},"lastUpdated":{"type":"timestamp"},"comment":{},"standardControlsCount":{"type":"integer"},"customControlsCount":{"type":"integer"},"complianceType":{}}},"S6q":{"type":"list","member":{"type":"structure","members":{"name":{},"id":{},"controlsCountByNoncompliantEvidence":{"type":"integer"},"totalControlsCount":{"type":"integer"},"evidenceInsights":{"shape":"S62"},"lastUpdated":{"type":"timestamp"}}}}}} /***/ }), /* 953 */ @@ -53991,13 +53997,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 977 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-22","endpointPrefix":"api.iotwireless","protocol":"rest-json","serviceFullName":"AWS IoT Wireless","serviceId":"IoT Wireless","signatureVersion":"v4","signingName":"iotwireless","uid":"iotwireless-2020-11-22"},"operations":{"AssociateAwsAccountWithPartnerAccount":{"http":{"requestUri":"/partner-accounts"},"input":{"type":"structure","required":["Sidewalk"],"members":{"Sidewalk":{"shape":"S2"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Sidewalk":{"shape":"S2"},"Arn":{}}}},"AssociateMulticastGroupWithFuotaTask":{"http":{"method":"PUT","requestUri":"/fuota-tasks/{Id}/multicast-group","responseCode":204},"input":{"type":"structure","required":["Id","MulticastGroupId"],"members":{"Id":{"location":"uri","locationName":"Id"},"MulticastGroupId":{}}},"output":{"type":"structure","members":{}}},"AssociateWirelessDeviceWithFuotaTask":{"http":{"method":"PUT","requestUri":"/fuota-tasks/{Id}/wireless-device","responseCode":204},"input":{"type":"structure","required":["Id","WirelessDeviceId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessDeviceId":{}}},"output":{"type":"structure","members":{}}},"AssociateWirelessDeviceWithMulticastGroup":{"http":{"method":"PUT","requestUri":"/multicast-groups/{Id}/wireless-device","responseCode":204},"input":{"type":"structure","required":["Id","WirelessDeviceId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessDeviceId":{}}},"output":{"type":"structure","members":{}}},"AssociateWirelessDeviceWithThing":{"http":{"method":"PUT","requestUri":"/wireless-devices/{Id}/thing","responseCode":204},"input":{"type":"structure","required":["Id","ThingArn"],"members":{"Id":{"location":"uri","locationName":"Id"},"ThingArn":{}}},"output":{"type":"structure","members":{}}},"AssociateWirelessGatewayWithCertificate":{"http":{"method":"PUT","requestUri":"/wireless-gateways/{Id}/certificate"},"input":{"type":"structure","required":["Id","IotCertificateId"],"members":{"Id":{"location":"uri","locationName":"Id"},"IotCertificateId":{}}},"output":{"type":"structure","members":{"IotCertificateId":{}}}},"AssociateWirelessGatewayWithThing":{"http":{"method":"PUT","requestUri":"/wireless-gateways/{Id}/thing","responseCode":204},"input":{"type":"structure","required":["Id","ThingArn"],"members":{"Id":{"location":"uri","locationName":"Id"},"ThingArn":{}}},"output":{"type":"structure","members":{}}},"CancelMulticastGroupSession":{"http":{"method":"DELETE","requestUri":"/multicast-groups/{Id}/session","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"CreateDestination":{"http":{"requestUri":"/destinations","responseCode":201},"input":{"type":"structure","required":["Name","ExpressionType","Expression","RoleArn"],"members":{"Name":{},"ExpressionType":{},"Expression":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S6"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Name":{}}}},"CreateDeviceProfile":{"http":{"requestUri":"/device-profiles","responseCode":201},"input":{"type":"structure","members":{"Name":{},"LoRaWAN":{"shape":"S16"},"Tags":{"shape":"S6"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateFuotaTask":{"http":{"requestUri":"/fuota-tasks","responseCode":201},"input":{"type":"structure","required":["FirmwareUpdateImage","FirmwareUpdateRole"],"members":{"Name":{},"Description":{},"ClientRequestToken":{"idempotencyToken":true},"LoRaWAN":{"shape":"S1w"},"FirmwareUpdateImage":{},"FirmwareUpdateRole":{},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateMulticastGroup":{"http":{"requestUri":"/multicast-groups","responseCode":201},"input":{"type":"structure","required":["LoRaWAN"],"members":{"Name":{},"Description":{},"ClientRequestToken":{"idempotencyToken":true},"LoRaWAN":{"shape":"S24"},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateServiceProfile":{"http":{"requestUri":"/service-profiles","responseCode":201},"input":{"type":"structure","members":{"Name":{},"LoRaWAN":{"type":"structure","members":{"AddGwMetadata":{"type":"boolean"}}},"Tags":{"shape":"S6"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateWirelessDevice":{"http":{"requestUri":"/wireless-devices","responseCode":201},"input":{"type":"structure","required":["Type","DestinationName"],"members":{"Type":{},"Name":{},"Description":{},"DestinationName":{},"ClientRequestToken":{"idempotencyToken":true},"LoRaWAN":{"shape":"S2i"},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateWirelessGateway":{"http":{"requestUri":"/wireless-gateways","responseCode":201},"input":{"type":"structure","required":["LoRaWAN"],"members":{"Name":{},"Description":{},"LoRaWAN":{"shape":"S37"},"Tags":{"shape":"S6"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateWirelessGatewayTask":{"http":{"requestUri":"/wireless-gateways/{Id}/tasks","responseCode":201},"input":{"type":"structure","required":["Id","WirelessGatewayTaskDefinitionId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessGatewayTaskDefinitionId":{}}},"output":{"type":"structure","members":{"WirelessGatewayTaskDefinitionId":{},"Status":{}}}},"CreateWirelessGatewayTaskDefinition":{"http":{"requestUri":"/wireless-gateway-task-definitions","responseCode":201},"input":{"type":"structure","required":["AutoCreateTasks"],"members":{"AutoCreateTasks":{"type":"boolean"},"Name":{},"Update":{"shape":"S3o"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Id":{},"Arn":{}}}},"DeleteDestination":{"http":{"method":"DELETE","requestUri":"/destinations/{Name}","responseCode":204},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}}},"DeleteDeviceProfile":{"http":{"method":"DELETE","requestUri":"/device-profiles/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteFuotaTask":{"http":{"method":"DELETE","requestUri":"/fuota-tasks/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteMulticastGroup":{"http":{"method":"DELETE","requestUri":"/multicast-groups/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteServiceProfile":{"http":{"method":"DELETE","requestUri":"/service-profiles/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteWirelessDevice":{"http":{"method":"DELETE","requestUri":"/wireless-devices/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteWirelessGateway":{"http":{"method":"DELETE","requestUri":"/wireless-gateways/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteWirelessGatewayTask":{"http":{"method":"DELETE","requestUri":"/wireless-gateways/{Id}/tasks","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteWirelessGatewayTaskDefinition":{"http":{"method":"DELETE","requestUri":"/wireless-gateway-task-definitions/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DisassociateAwsAccountFromPartnerAccount":{"http":{"method":"DELETE","requestUri":"/partner-accounts/{PartnerAccountId}","responseCode":204},"input":{"type":"structure","required":["PartnerAccountId","PartnerType"],"members":{"PartnerAccountId":{"location":"uri","locationName":"PartnerAccountId"},"PartnerType":{"location":"querystring","locationName":"partnerType"}}},"output":{"type":"structure","members":{}}},"DisassociateMulticastGroupFromFuotaTask":{"http":{"method":"DELETE","requestUri":"/fuota-tasks/{Id}/multicast-groups/{MulticastGroupId}","responseCode":204},"input":{"type":"structure","required":["Id","MulticastGroupId"],"members":{"Id":{"location":"uri","locationName":"Id"},"MulticastGroupId":{"location":"uri","locationName":"MulticastGroupId"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessDeviceFromFuotaTask":{"http":{"method":"DELETE","requestUri":"/fuota-tasks/{Id}/wireless-devices/{WirelessDeviceId}","responseCode":204},"input":{"type":"structure","required":["Id","WirelessDeviceId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessDeviceId":{"location":"uri","locationName":"WirelessDeviceId"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessDeviceFromMulticastGroup":{"http":{"method":"DELETE","requestUri":"/multicast-groups/{Id}/wireless-devices/{WirelessDeviceId}","responseCode":204},"input":{"type":"structure","required":["Id","WirelessDeviceId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessDeviceId":{"location":"uri","locationName":"WirelessDeviceId"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessDeviceFromThing":{"http":{"method":"DELETE","requestUri":"/wireless-devices/{Id}/thing","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessGatewayFromCertificate":{"http":{"method":"DELETE","requestUri":"/wireless-gateways/{Id}/certificate","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessGatewayFromThing":{"http":{"method":"DELETE","requestUri":"/wireless-gateways/{Id}/thing","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"GetDestination":{"http":{"method":"GET","requestUri":"/destinations/{Name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{},"Expression":{},"ExpressionType":{},"Description":{},"RoleArn":{}}}},"GetDeviceProfile":{"http":{"method":"GET","requestUri":"/device-profiles/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{},"Id":{},"LoRaWAN":{"shape":"S16"}}}},"GetFuotaTask":{"http":{"method":"GET","requestUri":"/fuota-tasks/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{},"Status":{},"Name":{},"Description":{},"LoRaWAN":{"type":"structure","members":{"RfRegion":{},"StartTime":{"shape":"S55"}}},"FirmwareUpdateImage":{},"FirmwareUpdateRole":{},"CreatedAt":{"type":"timestamp"}}}},"GetLogLevelsByResourceTypes":{"http":{"method":"GET","requestUri":"/log-levels","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"DefaultLogLevel":{},"WirelessGatewayLogOptions":{"shape":"S5a"},"WirelessDeviceLogOptions":{"shape":"S5g"}}}},"GetMulticastGroup":{"http":{"method":"GET","requestUri":"/multicast-groups/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Description":{},"Status":{},"LoRaWAN":{"type":"structure","members":{"RfRegion":{},"DlClass":{},"NumberOfDevicesRequested":{"type":"integer"},"NumberOfDevicesInGroup":{"type":"integer"}}},"CreatedAt":{"type":"timestamp"}}}},"GetMulticastGroupSession":{"http":{"method":"GET","requestUri":"/multicast-groups/{Id}/session"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"LoRaWAN":{"shape":"S5t"}}}},"GetNetworkAnalyzerConfiguration":{"http":{"method":"GET","requestUri":"/network-analyzer-configurations/{ConfigurationName}","responseCode":200},"input":{"type":"structure","required":["ConfigurationName"],"members":{"ConfigurationName":{"location":"uri","locationName":"ConfigurationName"}}},"output":{"type":"structure","members":{"TraceContent":{"shape":"S61"},"WirelessDevices":{"shape":"S63"},"WirelessGateways":{"shape":"S64"}}}},"GetPartnerAccount":{"http":{"method":"GET","requestUri":"/partner-accounts/{PartnerAccountId}"},"input":{"type":"structure","required":["PartnerAccountId","PartnerType"],"members":{"PartnerAccountId":{"location":"uri","locationName":"PartnerAccountId"},"PartnerType":{"location":"querystring","locationName":"partnerType"}}},"output":{"type":"structure","members":{"Sidewalk":{"shape":"S67"},"AccountLinked":{"type":"boolean"}}}},"GetResourceEventConfiguration":{"http":{"method":"GET","requestUri":"/event-configurations/{Identifier}"},"input":{"type":"structure","required":["Identifier","IdentifierType"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"IdentifierType":{"location":"querystring","locationName":"identifierType"},"PartnerType":{"location":"querystring","locationName":"partnerType"}}},"output":{"type":"structure","members":{"DeviceRegistrationState":{"shape":"S6f"},"Proximity":{"shape":"S6i"}}}},"GetResourceLogLevel":{"http":{"method":"GET","requestUri":"/log-levels/{ResourceIdentifier}","responseCode":200},"input":{"type":"structure","required":["ResourceIdentifier","ResourceType"],"members":{"ResourceIdentifier":{"location":"uri","locationName":"ResourceIdentifier"},"ResourceType":{"location":"querystring","locationName":"resourceType"}}},"output":{"type":"structure","members":{"LogLevel":{}}}},"GetServiceEndpoint":{"http":{"method":"GET","requestUri":"/service-endpoint"},"input":{"type":"structure","members":{"ServiceType":{"location":"querystring","locationName":"serviceType"}}},"output":{"type":"structure","members":{"ServiceType":{},"ServiceEndpoint":{},"ServerTrust":{}}}},"GetServiceProfile":{"http":{"method":"GET","requestUri":"/service-profiles/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{},"Id":{},"LoRaWAN":{"type":"structure","members":{"UlRate":{"type":"integer"},"UlBucketSize":{"type":"integer"},"UlRatePolicy":{},"DlRate":{"type":"integer"},"DlBucketSize":{"type":"integer"},"DlRatePolicy":{},"AddGwMetadata":{"type":"boolean"},"DevStatusReqFreq":{"type":"integer"},"ReportDevStatusBattery":{"type":"boolean"},"ReportDevStatusMargin":{"type":"boolean"},"DrMin":{"type":"integer"},"DrMax":{"type":"integer"},"ChannelMask":{},"PrAllowed":{"type":"boolean"},"HrAllowed":{"type":"boolean"},"RaAllowed":{"type":"boolean"},"NwkGeoLoc":{"type":"boolean"},"TargetPer":{"type":"integer"},"MinGwDiversity":{"type":"integer"}}}}}},"GetWirelessDevice":{"http":{"method":"GET","requestUri":"/wireless-devices/{Identifier}"},"input":{"type":"structure","required":["Identifier","IdentifierType"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"IdentifierType":{"location":"querystring","locationName":"identifierType"}}},"output":{"type":"structure","members":{"Type":{},"Name":{},"Description":{},"DestinationName":{},"Id":{},"Arn":{},"ThingName":{},"ThingArn":{},"LoRaWAN":{"shape":"S2i"},"Sidewalk":{"type":"structure","members":{"AmazonId":{},"SidewalkId":{},"SidewalkManufacturingSn":{},"DeviceCertificates":{"shape":"S7k"}}}}}},"GetWirelessDeviceStatistics":{"http":{"method":"GET","requestUri":"/wireless-devices/{Id}/statistics","responseCode":200},"input":{"type":"structure","required":["WirelessDeviceId"],"members":{"WirelessDeviceId":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"WirelessDeviceId":{},"LastUplinkReceivedAt":{},"LoRaWAN":{"type":"structure","members":{"DevEui":{},"FPort":{"type":"integer"},"DataRate":{"type":"integer"},"Frequency":{"type":"integer"},"Timestamp":{},"Gateways":{"type":"list","member":{"type":"structure","members":{"GatewayEui":{},"Snr":{"type":"double"},"Rssi":{"type":"double"}}}}}},"Sidewalk":{"type":"structure","members":{"Rssi":{"type":"integer"},"BatteryLevel":{},"Event":{},"DeviceState":{}}}}}},"GetWirelessGateway":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Identifier}"},"input":{"type":"structure","required":["Identifier","IdentifierType"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"IdentifierType":{"location":"querystring","locationName":"identifierType"}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LoRaWAN":{"shape":"S37"},"Arn":{},"ThingName":{},"ThingArn":{}}}},"GetWirelessGatewayCertificate":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Id}/certificate"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"IotCertificateId":{},"LoRaWANNetworkServerCertificateId":{}}}},"GetWirelessGatewayFirmwareInformation":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Id}/firmware-information"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"LoRaWAN":{"type":"structure","members":{"CurrentVersion":{"shape":"S3t"}}}}}},"GetWirelessGatewayStatistics":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Id}/statistics","responseCode":200},"input":{"type":"structure","required":["WirelessGatewayId"],"members":{"WirelessGatewayId":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"WirelessGatewayId":{},"LastUplinkReceivedAt":{},"ConnectionStatus":{}}}},"GetWirelessGatewayTask":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Id}/tasks"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"WirelessGatewayId":{},"WirelessGatewayTaskDefinitionId":{},"LastUplinkReceivedAt":{},"TaskCreatedAt":{},"Status":{}}}},"GetWirelessGatewayTaskDefinition":{"http":{"method":"GET","requestUri":"/wireless-gateway-task-definitions/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"AutoCreateTasks":{"type":"boolean"},"Name":{},"Update":{"shape":"S3o"},"Arn":{}}}},"ListDestinations":{"http":{"method":"GET","requestUri":"/destinations"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"DestinationList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"ExpressionType":{},"Expression":{},"Description":{},"RoleArn":{}}}}}}},"ListDeviceProfiles":{"http":{"method":"GET","requestUri":"/device-profiles"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"DeviceProfileList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"Id":{}}}}}}},"ListFuotaTasks":{"http":{"method":"GET","requestUri":"/fuota-tasks"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FuotaTaskList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}}}}},"ListMulticastGroups":{"http":{"method":"GET","requestUri":"/multicast-groups"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MulticastGroupList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}}}}},"ListMulticastGroupsByFuotaTask":{"http":{"method":"GET","requestUri":"/fuota-tasks/{Id}/multicast-groups"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MulticastGroupList":{"type":"list","member":{"type":"structure","members":{"Id":{}}}}}}},"ListPartnerAccounts":{"http":{"method":"GET","requestUri":"/partner-accounts"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Sidewalk":{"type":"list","member":{"shape":"S67"}}}}},"ListServiceProfiles":{"http":{"method":"GET","requestUri":"/service-profiles"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"ServiceProfileList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"Id":{}}}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"querystring","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S6"}}}},"ListWirelessDevices":{"http":{"method":"GET","requestUri":"/wireless-devices"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"DestinationName":{"location":"querystring","locationName":"destinationName"},"DeviceProfileId":{"location":"querystring","locationName":"deviceProfileId"},"ServiceProfileId":{"location":"querystring","locationName":"serviceProfileId"},"WirelessDeviceType":{"location":"querystring","locationName":"wirelessDeviceType"},"FuotaTaskId":{"location":"querystring","locationName":"fuotaTaskId"},"MulticastGroupId":{"location":"querystring","locationName":"multicastGroupId"}}},"output":{"type":"structure","members":{"NextToken":{},"WirelessDeviceList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Id":{},"Type":{},"Name":{},"DestinationName":{},"LastUplinkReceivedAt":{},"LoRaWAN":{"type":"structure","members":{"DevEui":{}}},"Sidewalk":{"type":"structure","members":{"AmazonId":{},"SidewalkId":{},"SidewalkManufacturingSn":{},"DeviceCertificates":{"shape":"S7k"}}},"FuotaDeviceStatus":{},"MulticastDeviceStatus":{},"McGroupId":{"type":"integer"}}}}}}},"ListWirelessGatewayTaskDefinitions":{"http":{"method":"GET","requestUri":"/wireless-gateway-task-definitions"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"TaskDefinitionType":{"location":"querystring","locationName":"taskDefinitionType"}}},"output":{"type":"structure","members":{"NextToken":{},"TaskDefinitions":{"type":"list","member":{"type":"structure","members":{"Id":{},"LoRaWAN":{"type":"structure","members":{"CurrentVersion":{"shape":"S3t"},"UpdateVersion":{"shape":"S3t"}}},"Arn":{}}}}}}},"ListWirelessGateways":{"http":{"method":"GET","requestUri":"/wireless-gateways"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"WirelessGatewayList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Description":{},"LoRaWAN":{"shape":"S37"},"LastUplinkReceivedAt":{}}}}}}},"PutResourceLogLevel":{"http":{"method":"PUT","requestUri":"/log-levels/{ResourceIdentifier}","responseCode":200},"input":{"type":"structure","required":["ResourceIdentifier","ResourceType","LogLevel"],"members":{"ResourceIdentifier":{"location":"uri","locationName":"ResourceIdentifier"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"LogLevel":{}}},"output":{"type":"structure","members":{}}},"ResetAllResourceLogLevels":{"http":{"method":"DELETE","requestUri":"/log-levels","responseCode":204},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"ResetResourceLogLevel":{"http":{"method":"DELETE","requestUri":"/log-levels/{ResourceIdentifier}","responseCode":204},"input":{"type":"structure","required":["ResourceIdentifier","ResourceType"],"members":{"ResourceIdentifier":{"location":"uri","locationName":"ResourceIdentifier"},"ResourceType":{"location":"querystring","locationName":"resourceType"}}},"output":{"type":"structure","members":{}}},"SendDataToMulticastGroup":{"http":{"requestUri":"/multicast-groups/{Id}/data","responseCode":201},"input":{"type":"structure","required":["Id","PayloadData","WirelessMetadata"],"members":{"Id":{"location":"uri","locationName":"Id"},"PayloadData":{},"WirelessMetadata":{"type":"structure","members":{"LoRaWAN":{"type":"structure","members":{"FPort":{"type":"integer"}}}}}}},"output":{"type":"structure","members":{"MessageId":{}}}},"SendDataToWirelessDevice":{"http":{"requestUri":"/wireless-devices/{Id}/data","responseCode":202},"input":{"type":"structure","required":["Id","TransmitMode","PayloadData"],"members":{"Id":{"location":"uri","locationName":"Id"},"TransmitMode":{"type":"integer"},"PayloadData":{},"WirelessMetadata":{"type":"structure","members":{"LoRaWAN":{"type":"structure","members":{"FPort":{"type":"integer"}}},"Sidewalk":{"type":"structure","members":{"Seq":{"type":"integer"},"MessageType":{}}}}}}},"output":{"type":"structure","members":{"MessageId":{}}}},"StartBulkAssociateWirelessDeviceWithMulticastGroup":{"http":{"method":"PATCH","requestUri":"/multicast-groups/{Id}/bulk","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"QueryString":{},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{}}},"StartBulkDisassociateWirelessDeviceFromMulticastGroup":{"http":{"requestUri":"/multicast-groups/{Id}/bulk","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"QueryString":{},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{}}},"StartFuotaTask":{"http":{"method":"PUT","requestUri":"/fuota-tasks/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"LoRaWAN":{"type":"structure","members":{"StartTime":{"shape":"S55"}}}}},"output":{"type":"structure","members":{}}},"StartMulticastGroupSession":{"http":{"method":"PUT","requestUri":"/multicast-groups/{Id}/session","responseCode":204},"input":{"type":"structure","required":["Id","LoRaWAN"],"members":{"Id":{"location":"uri","locationName":"Id"},"LoRaWAN":{"shape":"S5t"}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"querystring","locationName":"resourceArn"},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{}}},"TestWirelessDevice":{"http":{"requestUri":"/wireless-devices/{Id}/test","responseCode":200},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Result":{}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"querystring","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDestination":{"http":{"method":"PATCH","requestUri":"/destinations/{Name}","responseCode":204},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"},"ExpressionType":{},"Expression":{},"Description":{},"RoleArn":{}}},"output":{"type":"structure","members":{}}},"UpdateFuotaTask":{"http":{"method":"PATCH","requestUri":"/fuota-tasks/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"Name":{},"Description":{},"LoRaWAN":{"shape":"S1w"},"FirmwareUpdateImage":{},"FirmwareUpdateRole":{}}},"output":{"type":"structure","members":{}}},"UpdateLogLevelsByResourceTypes":{"http":{"requestUri":"/log-levels","responseCode":200},"input":{"type":"structure","members":{"DefaultLogLevel":{},"WirelessDeviceLogOptions":{"shape":"S5g"},"WirelessGatewayLogOptions":{"shape":"S5a"}}},"output":{"type":"structure","members":{}}},"UpdateMulticastGroup":{"http":{"method":"PATCH","requestUri":"/multicast-groups/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"Name":{},"Description":{},"LoRaWAN":{"shape":"S24"}}},"output":{"type":"structure","members":{}}},"UpdateNetworkAnalyzerConfiguration":{"http":{"method":"PATCH","requestUri":"/network-analyzer-configurations/{ConfigurationName}","responseCode":204},"input":{"type":"structure","required":["ConfigurationName"],"members":{"ConfigurationName":{"location":"uri","locationName":"ConfigurationName"},"TraceContent":{"shape":"S61"},"WirelessDevicesToAdd":{"shape":"S63"},"WirelessDevicesToRemove":{"shape":"S63"},"WirelessGatewaysToAdd":{"shape":"S64"},"WirelessGatewaysToRemove":{"shape":"S64"}}},"output":{"type":"structure","members":{}}},"UpdatePartnerAccount":{"http":{"method":"PATCH","requestUri":"/partner-accounts/{PartnerAccountId}","responseCode":204},"input":{"type":"structure","required":["Sidewalk","PartnerAccountId","PartnerType"],"members":{"Sidewalk":{"type":"structure","members":{"AppServerPrivateKey":{"shape":"S4"}}},"PartnerAccountId":{"location":"uri","locationName":"PartnerAccountId"},"PartnerType":{"location":"querystring","locationName":"partnerType"}}},"output":{"type":"structure","members":{}}},"UpdateResourceEventConfiguration":{"http":{"method":"PATCH","requestUri":"/event-configurations/{Identifier}","responseCode":204},"input":{"type":"structure","required":["Identifier","IdentifierType"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"IdentifierType":{"location":"querystring","locationName":"identifierType"},"PartnerType":{"location":"querystring","locationName":"partnerType"},"DeviceRegistrationState":{"shape":"S6f"},"Proximity":{"shape":"S6i"}}},"output":{"type":"structure","members":{}}},"UpdateWirelessDevice":{"http":{"method":"PATCH","requestUri":"/wireless-devices/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"DestinationName":{},"Name":{},"Description":{},"LoRaWAN":{"type":"structure","members":{"DeviceProfileId":{},"ServiceProfileId":{}}}}},"output":{"type":"structure","members":{}}},"UpdateWirelessGateway":{"http":{"method":"PATCH","requestUri":"/wireless-gateways/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"Name":{},"Description":{},"JoinEuiFilters":{"shape":"S39"},"NetIdFilters":{"shape":"S3b"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S2":{"type":"structure","members":{"AmazonId":{},"AppServerPrivateKey":{"shape":"S4"}}},"S4":{"type":"string","sensitive":true},"S6":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S16":{"type":"structure","members":{"SupportsClassB":{"type":"boolean"},"ClassBTimeout":{"type":"integer"},"PingSlotPeriod":{"type":"integer"},"PingSlotDr":{"type":"integer"},"PingSlotFreq":{"type":"integer"},"SupportsClassC":{"type":"boolean"},"ClassCTimeout":{"type":"integer"},"MacVersion":{},"RegParamsRevision":{},"RxDelay1":{"type":"integer"},"RxDrOffset1":{"type":"integer"},"RxDataRate2":{"type":"integer"},"RxFreq2":{"type":"integer"},"FactoryPresetFreqsList":{"type":"list","member":{"type":"integer"}},"MaxEirp":{"type":"integer"},"MaxDutyCycle":{"type":"integer"},"RfRegion":{},"SupportsJoin":{"type":"boolean"},"Supports32BitFCnt":{"type":"boolean"}}},"S1w":{"type":"structure","members":{"RfRegion":{}}},"S24":{"type":"structure","members":{"RfRegion":{},"DlClass":{}}},"S2i":{"type":"structure","members":{"DevEui":{},"DeviceProfileId":{},"ServiceProfileId":{},"OtaaV1_1":{"type":"structure","members":{"AppKey":{},"NwkKey":{},"JoinEui":{}}},"OtaaV1_0_x":{"type":"structure","members":{"AppKey":{},"AppEui":{},"GenAppKey":{}}},"AbpV1_1":{"type":"structure","members":{"DevAddr":{},"SessionKeys":{"type":"structure","members":{"FNwkSIntKey":{},"SNwkSIntKey":{},"NwkSEncKey":{},"AppSKey":{}}}}},"AbpV1_0_x":{"type":"structure","members":{"DevAddr":{},"SessionKeys":{"type":"structure","members":{"NwkSKey":{},"AppSKey":{}}}}},"FPorts":{"type":"structure","members":{"Fuota":{"type":"integer"},"Multicast":{"type":"integer"},"ClockSync":{"type":"integer"}}}}},"S37":{"type":"structure","members":{"GatewayEui":{},"RfRegion":{},"JoinEuiFilters":{"shape":"S39"},"NetIdFilters":{"shape":"S3b"},"SubBands":{"type":"list","member":{"type":"integer"}}}},"S39":{"type":"list","member":{"type":"list","member":{}}},"S3b":{"type":"list","member":{}},"S3o":{"type":"structure","members":{"UpdateDataSource":{},"UpdateDataRole":{},"LoRaWAN":{"type":"structure","members":{"UpdateSignature":{},"SigKeyCrc":{"type":"long"},"CurrentVersion":{"shape":"S3t"},"UpdateVersion":{"shape":"S3t"}}}}},"S3t":{"type":"structure","members":{"PackageVersion":{},"Model":{},"Station":{}}},"S55":{"type":"timestamp","timestampFormat":"iso8601"},"S5a":{"type":"list","member":{"type":"structure","required":["Type","LogLevel"],"members":{"Type":{},"LogLevel":{},"Events":{"type":"list","member":{"type":"structure","required":["Event","LogLevel"],"members":{"Event":{},"LogLevel":{}}}}}}},"S5g":{"type":"list","member":{"type":"structure","required":["Type","LogLevel"],"members":{"Type":{},"LogLevel":{},"Events":{"type":"list","member":{"type":"structure","required":["Event","LogLevel"],"members":{"Event":{},"LogLevel":{}}}}}}},"S5t":{"type":"structure","members":{"DlDr":{"type":"integer"},"DlFreq":{"type":"integer"},"SessionStartTime":{"type":"timestamp","timestampFormat":"iso8601"},"SessionTimeout":{"type":"integer"}}},"S61":{"type":"structure","members":{"WirelessDeviceFrameInfo":{},"LogLevel":{}}},"S63":{"type":"list","member":{}},"S64":{"type":"list","member":{}},"S67":{"type":"structure","members":{"AmazonId":{},"Fingerprint":{"type":"string","sensitive":true},"Arn":{}}},"S6f":{"type":"structure","members":{"Sidewalk":{"shape":"S6g"}}},"S6g":{"type":"structure","members":{"AmazonIdEventTopic":{}}},"S6i":{"type":"structure","members":{"Sidewalk":{"shape":"S6g"}}},"S7k":{"type":"list","member":{"type":"structure","required":["SigningAlg","Value"],"members":{"SigningAlg":{},"Value":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-22","endpointPrefix":"api.iotwireless","protocol":"rest-json","serviceFullName":"AWS IoT Wireless","serviceId":"IoT Wireless","signatureVersion":"v4","signingName":"iotwireless","uid":"iotwireless-2020-11-22"},"operations":{"AssociateAwsAccountWithPartnerAccount":{"http":{"requestUri":"/partner-accounts"},"input":{"type":"structure","required":["Sidewalk"],"members":{"Sidewalk":{"shape":"S2"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Sidewalk":{"shape":"S2"},"Arn":{}}}},"AssociateMulticastGroupWithFuotaTask":{"http":{"method":"PUT","requestUri":"/fuota-tasks/{Id}/multicast-group","responseCode":204},"input":{"type":"structure","required":["Id","MulticastGroupId"],"members":{"Id":{"location":"uri","locationName":"Id"},"MulticastGroupId":{}}},"output":{"type":"structure","members":{}}},"AssociateWirelessDeviceWithFuotaTask":{"http":{"method":"PUT","requestUri":"/fuota-tasks/{Id}/wireless-device","responseCode":204},"input":{"type":"structure","required":["Id","WirelessDeviceId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessDeviceId":{}}},"output":{"type":"structure","members":{}}},"AssociateWirelessDeviceWithMulticastGroup":{"http":{"method":"PUT","requestUri":"/multicast-groups/{Id}/wireless-device","responseCode":204},"input":{"type":"structure","required":["Id","WirelessDeviceId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessDeviceId":{}}},"output":{"type":"structure","members":{}}},"AssociateWirelessDeviceWithThing":{"http":{"method":"PUT","requestUri":"/wireless-devices/{Id}/thing","responseCode":204},"input":{"type":"structure","required":["Id","ThingArn"],"members":{"Id":{"location":"uri","locationName":"Id"},"ThingArn":{}}},"output":{"type":"structure","members":{}}},"AssociateWirelessGatewayWithCertificate":{"http":{"method":"PUT","requestUri":"/wireless-gateways/{Id}/certificate"},"input":{"type":"structure","required":["Id","IotCertificateId"],"members":{"Id":{"location":"uri","locationName":"Id"},"IotCertificateId":{}}},"output":{"type":"structure","members":{"IotCertificateId":{}}}},"AssociateWirelessGatewayWithThing":{"http":{"method":"PUT","requestUri":"/wireless-gateways/{Id}/thing","responseCode":204},"input":{"type":"structure","required":["Id","ThingArn"],"members":{"Id":{"location":"uri","locationName":"Id"},"ThingArn":{}}},"output":{"type":"structure","members":{}}},"CancelMulticastGroupSession":{"http":{"method":"DELETE","requestUri":"/multicast-groups/{Id}/session","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"CreateDestination":{"http":{"requestUri":"/destinations","responseCode":201},"input":{"type":"structure","required":["Name","ExpressionType","Expression","RoleArn"],"members":{"Name":{},"ExpressionType":{},"Expression":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S6"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Name":{}}}},"CreateDeviceProfile":{"http":{"requestUri":"/device-profiles","responseCode":201},"input":{"type":"structure","members":{"Name":{},"LoRaWAN":{"shape":"S16"},"Tags":{"shape":"S6"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateFuotaTask":{"http":{"requestUri":"/fuota-tasks","responseCode":201},"input":{"type":"structure","required":["FirmwareUpdateImage","FirmwareUpdateRole"],"members":{"Name":{},"Description":{},"ClientRequestToken":{"idempotencyToken":true},"LoRaWAN":{"shape":"S1w"},"FirmwareUpdateImage":{},"FirmwareUpdateRole":{},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateMulticastGroup":{"http":{"requestUri":"/multicast-groups","responseCode":201},"input":{"type":"structure","required":["LoRaWAN"],"members":{"Name":{},"Description":{},"ClientRequestToken":{"idempotencyToken":true},"LoRaWAN":{"shape":"S24"},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateServiceProfile":{"http":{"requestUri":"/service-profiles","responseCode":201},"input":{"type":"structure","members":{"Name":{},"LoRaWAN":{"type":"structure","members":{"AddGwMetadata":{"type":"boolean"}}},"Tags":{"shape":"S6"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateWirelessDevice":{"http":{"requestUri":"/wireless-devices","responseCode":201},"input":{"type":"structure","required":["Type","DestinationName"],"members":{"Type":{},"Name":{},"Description":{},"DestinationName":{},"ClientRequestToken":{"idempotencyToken":true},"LoRaWAN":{"shape":"S2i"},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateWirelessGateway":{"http":{"requestUri":"/wireless-gateways","responseCode":201},"input":{"type":"structure","required":["LoRaWAN"],"members":{"Name":{},"Description":{},"LoRaWAN":{"shape":"S37"},"Tags":{"shape":"S6"},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Id":{}}}},"CreateWirelessGatewayTask":{"http":{"requestUri":"/wireless-gateways/{Id}/tasks","responseCode":201},"input":{"type":"structure","required":["Id","WirelessGatewayTaskDefinitionId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessGatewayTaskDefinitionId":{}}},"output":{"type":"structure","members":{"WirelessGatewayTaskDefinitionId":{},"Status":{}}}},"CreateWirelessGatewayTaskDefinition":{"http":{"requestUri":"/wireless-gateway-task-definitions","responseCode":201},"input":{"type":"structure","required":["AutoCreateTasks"],"members":{"AutoCreateTasks":{"type":"boolean"},"Name":{},"Update":{"shape":"S3o"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{"Id":{},"Arn":{}}}},"DeleteDestination":{"http":{"method":"DELETE","requestUri":"/destinations/{Name}","responseCode":204},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}}},"DeleteDeviceProfile":{"http":{"method":"DELETE","requestUri":"/device-profiles/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteFuotaTask":{"http":{"method":"DELETE","requestUri":"/fuota-tasks/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteMulticastGroup":{"http":{"method":"DELETE","requestUri":"/multicast-groups/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteQueuedMessages":{"http":{"method":"DELETE","requestUri":"/wireless-devices/{Id}/data","responseCode":204},"input":{"type":"structure","required":["Id","MessageId"],"members":{"Id":{"location":"uri","locationName":"Id"},"MessageId":{"location":"querystring","locationName":"messageId"},"WirelessDeviceType":{"location":"querystring","locationName":"WirelessDeviceType"}}},"output":{"type":"structure","members":{}}},"DeleteServiceProfile":{"http":{"method":"DELETE","requestUri":"/service-profiles/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteWirelessDevice":{"http":{"method":"DELETE","requestUri":"/wireless-devices/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteWirelessGateway":{"http":{"method":"DELETE","requestUri":"/wireless-gateways/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteWirelessGatewayTask":{"http":{"method":"DELETE","requestUri":"/wireless-gateways/{Id}/tasks","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DeleteWirelessGatewayTaskDefinition":{"http":{"method":"DELETE","requestUri":"/wireless-gateway-task-definitions/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DisassociateAwsAccountFromPartnerAccount":{"http":{"method":"DELETE","requestUri":"/partner-accounts/{PartnerAccountId}","responseCode":204},"input":{"type":"structure","required":["PartnerAccountId","PartnerType"],"members":{"PartnerAccountId":{"location":"uri","locationName":"PartnerAccountId"},"PartnerType":{"location":"querystring","locationName":"partnerType"}}},"output":{"type":"structure","members":{}}},"DisassociateMulticastGroupFromFuotaTask":{"http":{"method":"DELETE","requestUri":"/fuota-tasks/{Id}/multicast-groups/{MulticastGroupId}","responseCode":204},"input":{"type":"structure","required":["Id","MulticastGroupId"],"members":{"Id":{"location":"uri","locationName":"Id"},"MulticastGroupId":{"location":"uri","locationName":"MulticastGroupId"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessDeviceFromFuotaTask":{"http":{"method":"DELETE","requestUri":"/fuota-tasks/{Id}/wireless-devices/{WirelessDeviceId}","responseCode":204},"input":{"type":"structure","required":["Id","WirelessDeviceId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessDeviceId":{"location":"uri","locationName":"WirelessDeviceId"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessDeviceFromMulticastGroup":{"http":{"method":"DELETE","requestUri":"/multicast-groups/{Id}/wireless-devices/{WirelessDeviceId}","responseCode":204},"input":{"type":"structure","required":["Id","WirelessDeviceId"],"members":{"Id":{"location":"uri","locationName":"Id"},"WirelessDeviceId":{"location":"uri","locationName":"WirelessDeviceId"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessDeviceFromThing":{"http":{"method":"DELETE","requestUri":"/wireless-devices/{Id}/thing","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessGatewayFromCertificate":{"http":{"method":"DELETE","requestUri":"/wireless-gateways/{Id}/certificate","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"DisassociateWirelessGatewayFromThing":{"http":{"method":"DELETE","requestUri":"/wireless-gateways/{Id}/thing","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{}}},"GetDestination":{"http":{"method":"GET","requestUri":"/destinations/{Name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{},"Expression":{},"ExpressionType":{},"Description":{},"RoleArn":{}}}},"GetDeviceProfile":{"http":{"method":"GET","requestUri":"/device-profiles/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{},"Id":{},"LoRaWAN":{"shape":"S16"}}}},"GetFuotaTask":{"http":{"method":"GET","requestUri":"/fuota-tasks/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{},"Status":{},"Name":{},"Description":{},"LoRaWAN":{"type":"structure","members":{"RfRegion":{},"StartTime":{"shape":"S58"}}},"FirmwareUpdateImage":{},"FirmwareUpdateRole":{},"CreatedAt":{"type":"timestamp"}}}},"GetLogLevelsByResourceTypes":{"http":{"method":"GET","requestUri":"/log-levels","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"DefaultLogLevel":{},"WirelessGatewayLogOptions":{"shape":"S5d"},"WirelessDeviceLogOptions":{"shape":"S5j"}}}},"GetMulticastGroup":{"http":{"method":"GET","requestUri":"/multicast-groups/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Description":{},"Status":{},"LoRaWAN":{"type":"structure","members":{"RfRegion":{},"DlClass":{},"NumberOfDevicesRequested":{"type":"integer"},"NumberOfDevicesInGroup":{"type":"integer"}}},"CreatedAt":{"type":"timestamp"}}}},"GetMulticastGroupSession":{"http":{"method":"GET","requestUri":"/multicast-groups/{Id}/session"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"LoRaWAN":{"shape":"S5w"}}}},"GetNetworkAnalyzerConfiguration":{"http":{"method":"GET","requestUri":"/network-analyzer-configurations/{ConfigurationName}","responseCode":200},"input":{"type":"structure","required":["ConfigurationName"],"members":{"ConfigurationName":{"location":"uri","locationName":"ConfigurationName"}}},"output":{"type":"structure","members":{"TraceContent":{"shape":"S64"},"WirelessDevices":{"shape":"S66"},"WirelessGateways":{"shape":"S67"}}}},"GetPartnerAccount":{"http":{"method":"GET","requestUri":"/partner-accounts/{PartnerAccountId}"},"input":{"type":"structure","required":["PartnerAccountId","PartnerType"],"members":{"PartnerAccountId":{"location":"uri","locationName":"PartnerAccountId"},"PartnerType":{"location":"querystring","locationName":"partnerType"}}},"output":{"type":"structure","members":{"Sidewalk":{"shape":"S6a"},"AccountLinked":{"type":"boolean"}}}},"GetResourceEventConfiguration":{"http":{"method":"GET","requestUri":"/event-configurations/{Identifier}"},"input":{"type":"structure","required":["Identifier","IdentifierType"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"IdentifierType":{"location":"querystring","locationName":"identifierType"},"PartnerType":{"location":"querystring","locationName":"partnerType"}}},"output":{"type":"structure","members":{"DeviceRegistrationState":{"shape":"S6i"},"Proximity":{"shape":"S6l"}}}},"GetResourceLogLevel":{"http":{"method":"GET","requestUri":"/log-levels/{ResourceIdentifier}","responseCode":200},"input":{"type":"structure","required":["ResourceIdentifier","ResourceType"],"members":{"ResourceIdentifier":{"location":"uri","locationName":"ResourceIdentifier"},"ResourceType":{"location":"querystring","locationName":"resourceType"}}},"output":{"type":"structure","members":{"LogLevel":{}}}},"GetServiceEndpoint":{"http":{"method":"GET","requestUri":"/service-endpoint"},"input":{"type":"structure","members":{"ServiceType":{"location":"querystring","locationName":"serviceType"}}},"output":{"type":"structure","members":{"ServiceType":{},"ServiceEndpoint":{},"ServerTrust":{}}}},"GetServiceProfile":{"http":{"method":"GET","requestUri":"/service-profiles/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{},"Id":{},"LoRaWAN":{"type":"structure","members":{"UlRate":{"type":"integer"},"UlBucketSize":{"type":"integer"},"UlRatePolicy":{},"DlRate":{"type":"integer"},"DlBucketSize":{"type":"integer"},"DlRatePolicy":{},"AddGwMetadata":{"type":"boolean"},"DevStatusReqFreq":{"type":"integer"},"ReportDevStatusBattery":{"type":"boolean"},"ReportDevStatusMargin":{"type":"boolean"},"DrMin":{"type":"integer"},"DrMax":{"type":"integer"},"ChannelMask":{},"PrAllowed":{"type":"boolean"},"HrAllowed":{"type":"boolean"},"RaAllowed":{"type":"boolean"},"NwkGeoLoc":{"type":"boolean"},"TargetPer":{"type":"integer"},"MinGwDiversity":{"type":"integer"}}}}}},"GetWirelessDevice":{"http":{"method":"GET","requestUri":"/wireless-devices/{Identifier}"},"input":{"type":"structure","required":["Identifier","IdentifierType"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"IdentifierType":{"location":"querystring","locationName":"identifierType"}}},"output":{"type":"structure","members":{"Type":{},"Name":{},"Description":{},"DestinationName":{},"Id":{},"Arn":{},"ThingName":{},"ThingArn":{},"LoRaWAN":{"shape":"S2i"},"Sidewalk":{"type":"structure","members":{"AmazonId":{},"SidewalkId":{},"SidewalkManufacturingSn":{},"DeviceCertificates":{"shape":"S7n"}}}}}},"GetWirelessDeviceStatistics":{"http":{"method":"GET","requestUri":"/wireless-devices/{Id}/statistics","responseCode":200},"input":{"type":"structure","required":["WirelessDeviceId"],"members":{"WirelessDeviceId":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"WirelessDeviceId":{},"LastUplinkReceivedAt":{},"LoRaWAN":{"type":"structure","members":{"DevEui":{},"FPort":{"type":"integer"},"DataRate":{"type":"integer"},"Frequency":{"type":"integer"},"Timestamp":{},"Gateways":{"type":"list","member":{"type":"structure","members":{"GatewayEui":{},"Snr":{"type":"double"},"Rssi":{"type":"double"}}}}}},"Sidewalk":{"type":"structure","members":{"Rssi":{"type":"integer"},"BatteryLevel":{},"Event":{},"DeviceState":{}}}}}},"GetWirelessGateway":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Identifier}"},"input":{"type":"structure","required":["Identifier","IdentifierType"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"IdentifierType":{"location":"querystring","locationName":"identifierType"}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Description":{},"LoRaWAN":{"shape":"S37"},"Arn":{},"ThingName":{},"ThingArn":{}}}},"GetWirelessGatewayCertificate":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Id}/certificate"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"IotCertificateId":{},"LoRaWANNetworkServerCertificateId":{}}}},"GetWirelessGatewayFirmwareInformation":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Id}/firmware-information"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"LoRaWAN":{"type":"structure","members":{"CurrentVersion":{"shape":"S3t"}}}}}},"GetWirelessGatewayStatistics":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Id}/statistics","responseCode":200},"input":{"type":"structure","required":["WirelessGatewayId"],"members":{"WirelessGatewayId":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"WirelessGatewayId":{},"LastUplinkReceivedAt":{},"ConnectionStatus":{}}}},"GetWirelessGatewayTask":{"http":{"method":"GET","requestUri":"/wireless-gateways/{Id}/tasks"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"WirelessGatewayId":{},"WirelessGatewayTaskDefinitionId":{},"LastUplinkReceivedAt":{},"TaskCreatedAt":{},"Status":{}}}},"GetWirelessGatewayTaskDefinition":{"http":{"method":"GET","requestUri":"/wireless-gateway-task-definitions/{Id}"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"AutoCreateTasks":{"type":"boolean"},"Name":{},"Update":{"shape":"S3o"},"Arn":{}}}},"ListDestinations":{"http":{"method":"GET","requestUri":"/destinations"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"DestinationList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"ExpressionType":{},"Expression":{},"Description":{},"RoleArn":{}}}}}}},"ListDeviceProfiles":{"http":{"method":"GET","requestUri":"/device-profiles"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"DeviceProfileList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"Id":{}}}}}}},"ListFuotaTasks":{"http":{"method":"GET","requestUri":"/fuota-tasks"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FuotaTaskList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}}}}},"ListMulticastGroups":{"http":{"method":"GET","requestUri":"/multicast-groups"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MulticastGroupList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Arn":{},"Name":{}}}}}}},"ListMulticastGroupsByFuotaTask":{"http":{"method":"GET","requestUri":"/fuota-tasks/{Id}/multicast-groups"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"MulticastGroupList":{"type":"list","member":{"type":"structure","members":{"Id":{}}}}}}},"ListPartnerAccounts":{"http":{"method":"GET","requestUri":"/partner-accounts"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Sidewalk":{"type":"list","member":{"shape":"S6a"}}}}},"ListQueuedMessages":{"http":{"method":"GET","requestUri":"/wireless-devices/{Id}/data"},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"WirelessDeviceType":{"location":"querystring","locationName":"WirelessDeviceType"}}},"output":{"type":"structure","members":{"NextToken":{},"DownlinkQueueMessagesList":{"type":"list","member":{"type":"structure","members":{"MessageId":{},"TransmitMode":{"type":"integer"},"ReceivedAt":{},"LoRaWAN":{"shape":"S9c"}}}}}}},"ListServiceProfiles":{"http":{"method":"GET","requestUri":"/service-profiles"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"ServiceProfileList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"Id":{}}}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"querystring","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S6"}}}},"ListWirelessDevices":{"http":{"method":"GET","requestUri":"/wireless-devices"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"DestinationName":{"location":"querystring","locationName":"destinationName"},"DeviceProfileId":{"location":"querystring","locationName":"deviceProfileId"},"ServiceProfileId":{"location":"querystring","locationName":"serviceProfileId"},"WirelessDeviceType":{"location":"querystring","locationName":"wirelessDeviceType"},"FuotaTaskId":{"location":"querystring","locationName":"fuotaTaskId"},"MulticastGroupId":{"location":"querystring","locationName":"multicastGroupId"}}},"output":{"type":"structure","members":{"NextToken":{},"WirelessDeviceList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Id":{},"Type":{},"Name":{},"DestinationName":{},"LastUplinkReceivedAt":{},"LoRaWAN":{"type":"structure","members":{"DevEui":{}}},"Sidewalk":{"type":"structure","members":{"AmazonId":{},"SidewalkId":{},"SidewalkManufacturingSn":{},"DeviceCertificates":{"shape":"S7n"}}},"FuotaDeviceStatus":{},"MulticastDeviceStatus":{},"McGroupId":{"type":"integer"}}}}}}},"ListWirelessGatewayTaskDefinitions":{"http":{"method":"GET","requestUri":"/wireless-gateway-task-definitions"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"},"TaskDefinitionType":{"location":"querystring","locationName":"taskDefinitionType"}}},"output":{"type":"structure","members":{"NextToken":{},"TaskDefinitions":{"type":"list","member":{"type":"structure","members":{"Id":{},"LoRaWAN":{"type":"structure","members":{"CurrentVersion":{"shape":"S3t"},"UpdateVersion":{"shape":"S3t"}}},"Arn":{}}}}}}},"ListWirelessGateways":{"http":{"method":"GET","requestUri":"/wireless-gateways"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"WirelessGatewayList":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Description":{},"LoRaWAN":{"shape":"S37"},"LastUplinkReceivedAt":{}}}}}}},"PutResourceLogLevel":{"http":{"method":"PUT","requestUri":"/log-levels/{ResourceIdentifier}","responseCode":200},"input":{"type":"structure","required":["ResourceIdentifier","ResourceType","LogLevel"],"members":{"ResourceIdentifier":{"location":"uri","locationName":"ResourceIdentifier"},"ResourceType":{"location":"querystring","locationName":"resourceType"},"LogLevel":{}}},"output":{"type":"structure","members":{}}},"ResetAllResourceLogLevels":{"http":{"method":"DELETE","requestUri":"/log-levels","responseCode":204},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"ResetResourceLogLevel":{"http":{"method":"DELETE","requestUri":"/log-levels/{ResourceIdentifier}","responseCode":204},"input":{"type":"structure","required":["ResourceIdentifier","ResourceType"],"members":{"ResourceIdentifier":{"location":"uri","locationName":"ResourceIdentifier"},"ResourceType":{"location":"querystring","locationName":"resourceType"}}},"output":{"type":"structure","members":{}}},"SendDataToMulticastGroup":{"http":{"requestUri":"/multicast-groups/{Id}/data","responseCode":201},"input":{"type":"structure","required":["Id","PayloadData","WirelessMetadata"],"members":{"Id":{"location":"uri","locationName":"Id"},"PayloadData":{},"WirelessMetadata":{"type":"structure","members":{"LoRaWAN":{"type":"structure","members":{"FPort":{"type":"integer"}}}}}}},"output":{"type":"structure","members":{"MessageId":{}}}},"SendDataToWirelessDevice":{"http":{"requestUri":"/wireless-devices/{Id}/data","responseCode":202},"input":{"type":"structure","required":["Id","TransmitMode","PayloadData"],"members":{"Id":{"location":"uri","locationName":"Id"},"TransmitMode":{"type":"integer"},"PayloadData":{},"WirelessMetadata":{"type":"structure","members":{"LoRaWAN":{"shape":"S9c"},"Sidewalk":{"type":"structure","members":{"Seq":{"type":"integer"},"MessageType":{}}}}}}},"output":{"type":"structure","members":{"MessageId":{}}}},"StartBulkAssociateWirelessDeviceWithMulticastGroup":{"http":{"method":"PATCH","requestUri":"/multicast-groups/{Id}/bulk","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"QueryString":{},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{}}},"StartBulkDisassociateWirelessDeviceFromMulticastGroup":{"http":{"requestUri":"/multicast-groups/{Id}/bulk","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"QueryString":{},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{}}},"StartFuotaTask":{"http":{"method":"PUT","requestUri":"/fuota-tasks/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"LoRaWAN":{"type":"structure","members":{"StartTime":{"shape":"S58"}}}}},"output":{"type":"structure","members":{}}},"StartMulticastGroupSession":{"http":{"method":"PUT","requestUri":"/multicast-groups/{Id}/session","responseCode":204},"input":{"type":"structure","required":["Id","LoRaWAN"],"members":{"Id":{"location":"uri","locationName":"Id"},"LoRaWAN":{"shape":"S5w"}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"querystring","locationName":"resourceArn"},"Tags":{"shape":"S6"}}},"output":{"type":"structure","members":{}}},"TestWirelessDevice":{"http":{"requestUri":"/wireless-devices/{Id}/test","responseCode":200},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"}}},"output":{"type":"structure","members":{"Result":{}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"querystring","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDestination":{"http":{"method":"PATCH","requestUri":"/destinations/{Name}","responseCode":204},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"},"ExpressionType":{},"Expression":{},"Description":{},"RoleArn":{}}},"output":{"type":"structure","members":{}}},"UpdateFuotaTask":{"http":{"method":"PATCH","requestUri":"/fuota-tasks/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"Name":{},"Description":{},"LoRaWAN":{"shape":"S1w"},"FirmwareUpdateImage":{},"FirmwareUpdateRole":{}}},"output":{"type":"structure","members":{}}},"UpdateLogLevelsByResourceTypes":{"http":{"requestUri":"/log-levels","responseCode":200},"input":{"type":"structure","members":{"DefaultLogLevel":{},"WirelessDeviceLogOptions":{"shape":"S5j"},"WirelessGatewayLogOptions":{"shape":"S5d"}}},"output":{"type":"structure","members":{}}},"UpdateMulticastGroup":{"http":{"method":"PATCH","requestUri":"/multicast-groups/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"Name":{},"Description":{},"LoRaWAN":{"shape":"S24"}}},"output":{"type":"structure","members":{}}},"UpdateNetworkAnalyzerConfiguration":{"http":{"method":"PATCH","requestUri":"/network-analyzer-configurations/{ConfigurationName}","responseCode":204},"input":{"type":"structure","required":["ConfigurationName"],"members":{"ConfigurationName":{"location":"uri","locationName":"ConfigurationName"},"TraceContent":{"shape":"S64"},"WirelessDevicesToAdd":{"shape":"S66"},"WirelessDevicesToRemove":{"shape":"S66"},"WirelessGatewaysToAdd":{"shape":"S67"},"WirelessGatewaysToRemove":{"shape":"S67"}}},"output":{"type":"structure","members":{}}},"UpdatePartnerAccount":{"http":{"method":"PATCH","requestUri":"/partner-accounts/{PartnerAccountId}","responseCode":204},"input":{"type":"structure","required":["Sidewalk","PartnerAccountId","PartnerType"],"members":{"Sidewalk":{"type":"structure","members":{"AppServerPrivateKey":{"shape":"S4"}}},"PartnerAccountId":{"location":"uri","locationName":"PartnerAccountId"},"PartnerType":{"location":"querystring","locationName":"partnerType"}}},"output":{"type":"structure","members":{}}},"UpdateResourceEventConfiguration":{"http":{"method":"PATCH","requestUri":"/event-configurations/{Identifier}","responseCode":204},"input":{"type":"structure","required":["Identifier","IdentifierType"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"IdentifierType":{"location":"querystring","locationName":"identifierType"},"PartnerType":{"location":"querystring","locationName":"partnerType"},"DeviceRegistrationState":{"shape":"S6i"},"Proximity":{"shape":"S6l"}}},"output":{"type":"structure","members":{}}},"UpdateWirelessDevice":{"http":{"method":"PATCH","requestUri":"/wireless-devices/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"DestinationName":{},"Name":{},"Description":{},"LoRaWAN":{"type":"structure","members":{"DeviceProfileId":{},"ServiceProfileId":{}}}}},"output":{"type":"structure","members":{}}},"UpdateWirelessGateway":{"http":{"method":"PATCH","requestUri":"/wireless-gateways/{Id}","responseCode":204},"input":{"type":"structure","required":["Id"],"members":{"Id":{"location":"uri","locationName":"Id"},"Name":{},"Description":{},"JoinEuiFilters":{"shape":"S39"},"NetIdFilters":{"shape":"S3b"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S2":{"type":"structure","members":{"AmazonId":{},"AppServerPrivateKey":{"shape":"S4"}}},"S4":{"type":"string","sensitive":true},"S6":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S16":{"type":"structure","members":{"SupportsClassB":{"type":"boolean"},"ClassBTimeout":{"type":"integer"},"PingSlotPeriod":{"type":"integer"},"PingSlotDr":{"type":"integer"},"PingSlotFreq":{"type":"integer"},"SupportsClassC":{"type":"boolean"},"ClassCTimeout":{"type":"integer"},"MacVersion":{},"RegParamsRevision":{},"RxDelay1":{"type":"integer"},"RxDrOffset1":{"type":"integer"},"RxDataRate2":{"type":"integer"},"RxFreq2":{"type":"integer"},"FactoryPresetFreqsList":{"type":"list","member":{"type":"integer"}},"MaxEirp":{"type":"integer"},"MaxDutyCycle":{"type":"integer"},"RfRegion":{},"SupportsJoin":{"type":"boolean"},"Supports32BitFCnt":{"type":"boolean"}}},"S1w":{"type":"structure","members":{"RfRegion":{}}},"S24":{"type":"structure","members":{"RfRegion":{},"DlClass":{}}},"S2i":{"type":"structure","members":{"DevEui":{},"DeviceProfileId":{},"ServiceProfileId":{},"OtaaV1_1":{"type":"structure","members":{"AppKey":{},"NwkKey":{},"JoinEui":{}}},"OtaaV1_0_x":{"type":"structure","members":{"AppKey":{},"AppEui":{},"GenAppKey":{}}},"AbpV1_1":{"type":"structure","members":{"DevAddr":{},"SessionKeys":{"type":"structure","members":{"FNwkSIntKey":{},"SNwkSIntKey":{},"NwkSEncKey":{},"AppSKey":{}}}}},"AbpV1_0_x":{"type":"structure","members":{"DevAddr":{},"SessionKeys":{"type":"structure","members":{"NwkSKey":{},"AppSKey":{}}}}},"FPorts":{"type":"structure","members":{"Fuota":{"type":"integer"},"Multicast":{"type":"integer"},"ClockSync":{"type":"integer"}}}}},"S37":{"type":"structure","members":{"GatewayEui":{},"RfRegion":{},"JoinEuiFilters":{"shape":"S39"},"NetIdFilters":{"shape":"S3b"},"SubBands":{"type":"list","member":{"type":"integer"}}}},"S39":{"type":"list","member":{"type":"list","member":{}}},"S3b":{"type":"list","member":{}},"S3o":{"type":"structure","members":{"UpdateDataSource":{},"UpdateDataRole":{},"LoRaWAN":{"type":"structure","members":{"UpdateSignature":{},"SigKeyCrc":{"type":"long"},"CurrentVersion":{"shape":"S3t"},"UpdateVersion":{"shape":"S3t"}}}}},"S3t":{"type":"structure","members":{"PackageVersion":{},"Model":{},"Station":{}}},"S58":{"type":"timestamp","timestampFormat":"iso8601"},"S5d":{"type":"list","member":{"type":"structure","required":["Type","LogLevel"],"members":{"Type":{},"LogLevel":{},"Events":{"type":"list","member":{"type":"structure","required":["Event","LogLevel"],"members":{"Event":{},"LogLevel":{}}}}}}},"S5j":{"type":"list","member":{"type":"structure","required":["Type","LogLevel"],"members":{"Type":{},"LogLevel":{},"Events":{"type":"list","member":{"type":"structure","required":["Event","LogLevel"],"members":{"Event":{},"LogLevel":{}}}}}}},"S5w":{"type":"structure","members":{"DlDr":{"type":"integer"},"DlFreq":{"type":"integer"},"SessionStartTime":{"type":"timestamp","timestampFormat":"iso8601"},"SessionTimeout":{"type":"integer"}}},"S64":{"type":"structure","members":{"WirelessDeviceFrameInfo":{},"LogLevel":{}}},"S66":{"type":"list","member":{}},"S67":{"type":"list","member":{}},"S6a":{"type":"structure","members":{"AmazonId":{},"Fingerprint":{"type":"string","sensitive":true},"Arn":{}}},"S6i":{"type":"structure","members":{"Sidewalk":{"shape":"S6j"}}},"S6j":{"type":"structure","members":{"AmazonIdEventTopic":{}}},"S6l":{"type":"structure","members":{"Sidewalk":{"shape":"S6j"}}},"S7n":{"type":"list","member":{"type":"structure","required":["SigningAlg","Value"],"members":{"SigningAlg":{},"Value":{}}}},"S9c":{"type":"structure","members":{"FPort":{"type":"integer"}}}}} /***/ }), /* 978 */ /***/ (function(module, exports) { - module.exports = {"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"}}} + module.exports = {"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"}}} /***/ }), /* 979 */ @@ -54027,7 +54033,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 980 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-19","endpointPrefix":"geo","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Location Service","serviceId":"Location","signatureVersion":"v4","signingName":"geo","uid":"location-2020-11-19"},"operations":{"AssociateTrackerConsumer":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/consumers","responseCode":200},"input":{"type":"structure","required":["ConsumerArn","TrackerName"],"members":{"ConsumerArn":{},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"tracking."}},"BatchDeleteDevicePositionHistory":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/delete-positions","responseCode":200},"input":{"type":"structure","required":["DeviceIds","TrackerName"],"members":{"DeviceIds":{"type":"list","member":{}},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error"],"members":{"DeviceId":{},"Error":{"shape":"Sb"}}}}}},"endpoint":{"hostPrefix":"tracking."}},"BatchDeleteGeofence":{"http":{"requestUri":"/geofencing/v0/collections/{CollectionName}/delete-geofences","responseCode":200},"input":{"type":"structure","required":["CollectionName","GeofenceIds"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"GeofenceIds":{"type":"list","member":{}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["Error","GeofenceId"],"members":{"Error":{"shape":"Sb"},"GeofenceId":{}}}}}},"endpoint":{"hostPrefix":"geofencing."}},"BatchEvaluateGeofences":{"http":{"requestUri":"/geofencing/v0/collections/{CollectionName}/positions","responseCode":200},"input":{"type":"structure","required":["CollectionName","DevicePositionUpdates"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"DevicePositionUpdates":{"type":"list","member":{"shape":"Sl"}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error","SampleTime"],"members":{"DeviceId":{},"Error":{"shape":"Sb"},"SampleTime":{"shape":"St"}}}}}},"endpoint":{"hostPrefix":"geofencing."}},"BatchGetDevicePosition":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/get-positions","responseCode":200},"input":{"type":"structure","required":["DeviceIds","TrackerName"],"members":{"DeviceIds":{"type":"list","member":{}},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["DevicePositions","Errors"],"members":{"DevicePositions":{"shape":"S11"},"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error"],"members":{"DeviceId":{},"Error":{"shape":"Sb"}}}}}},"endpoint":{"hostPrefix":"tracking."}},"BatchPutGeofence":{"http":{"requestUri":"/geofencing/v0/collections/{CollectionName}/put-geofences","responseCode":200},"input":{"type":"structure","required":["CollectionName","Entries"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"Entries":{"type":"list","member":{"type":"structure","required":["GeofenceId","Geometry"],"members":{"GeofenceId":{},"Geometry":{"shape":"S18"}}}}}},"output":{"type":"structure","required":["Errors","Successes"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["Error","GeofenceId"],"members":{"Error":{"shape":"Sb"},"GeofenceId":{}}}},"Successes":{"type":"list","member":{"type":"structure","required":["CreateTime","GeofenceId","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"GeofenceId":{},"UpdateTime":{"shape":"St"}}}}}},"endpoint":{"hostPrefix":"geofencing."}},"BatchUpdateDevicePosition":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/positions","responseCode":200},"input":{"type":"structure","required":["TrackerName","Updates"],"members":{"TrackerName":{"location":"uri","locationName":"TrackerName"},"Updates":{"type":"list","member":{"shape":"Sl"}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error","SampleTime"],"members":{"DeviceId":{},"Error":{"shape":"Sb"},"SampleTime":{"shape":"St"}}}}}},"endpoint":{"hostPrefix":"tracking."}},"CalculateRoute":{"http":{"requestUri":"/routes/v0/calculators/{CalculatorName}/calculate/route","responseCode":200},"input":{"type":"structure","required":["CalculatorName","DeparturePosition","DestinationPosition"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"},"CarModeOptions":{"type":"structure","members":{"AvoidFerries":{"type":"boolean"},"AvoidTolls":{"type":"boolean"}}},"DepartNow":{"type":"boolean"},"DeparturePosition":{"shape":"So"},"DepartureTime":{"shape":"St"},"DestinationPosition":{"shape":"So"},"DistanceUnit":{},"IncludeLegGeometry":{"type":"boolean"},"TravelMode":{},"TruckModeOptions":{"type":"structure","members":{"AvoidFerries":{"type":"boolean"},"AvoidTolls":{"type":"boolean"},"Dimensions":{"type":"structure","members":{"Height":{"type":"double"},"Length":{"type":"double"},"Unit":{},"Width":{"type":"double"}}},"Weight":{"type":"structure","members":{"Total":{"type":"double"},"Unit":{}}}}},"WaypointPositions":{"type":"list","member":{"shape":"So"}}}},"output":{"type":"structure","required":["Legs","Summary"],"members":{"Legs":{"type":"list","member":{"type":"structure","required":["Distance","DurationSeconds","EndPosition","StartPosition","Steps"],"members":{"Distance":{"type":"double"},"DurationSeconds":{"type":"double"},"EndPosition":{"shape":"So"},"Geometry":{"type":"structure","members":{"LineString":{"type":"list","member":{"shape":"So"}}}},"StartPosition":{"shape":"So"},"Steps":{"type":"list","member":{"type":"structure","required":["Distance","DurationSeconds","EndPosition","StartPosition"],"members":{"Distance":{"type":"double"},"DurationSeconds":{"type":"double"},"EndPosition":{"shape":"So"},"GeometryOffset":{"type":"integer"},"StartPosition":{"shape":"So"}}}}}}},"Summary":{"type":"structure","required":["DataSource","Distance","DistanceUnit","DurationSeconds","RouteBBox"],"members":{"DataSource":{},"Distance":{"type":"double"},"DistanceUnit":{},"DurationSeconds":{"type":"double"},"RouteBBox":{"shape":"S2f"}}}}},"endpoint":{"hostPrefix":"routes."}},"CreateGeofenceCollection":{"http":{"requestUri":"/geofencing/v0/collections","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{},"Description":{},"KmsKeyId":{},"PricingPlan":{},"PricingPlanDataSource":{},"Tags":{"shape":"S2k"}}},"output":{"type":"structure","required":["CollectionArn","CollectionName","CreateTime"],"members":{"CollectionArn":{},"CollectionName":{},"CreateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."},"idempotent":true},"CreateMap":{"http":{"requestUri":"/maps/v0/maps","responseCode":200},"input":{"type":"structure","required":["Configuration","MapName"],"members":{"Configuration":{"shape":"S2p"},"Description":{},"MapName":{},"PricingPlan":{},"Tags":{"shape":"S2k"}}},"output":{"type":"structure","required":["CreateTime","MapArn","MapName"],"members":{"CreateTime":{"shape":"St"},"MapArn":{},"MapName":{}}},"endpoint":{"hostPrefix":"maps."},"idempotent":true},"CreatePlaceIndex":{"http":{"requestUri":"/places/v0/indexes","responseCode":200},"input":{"type":"structure","required":["DataSource","IndexName"],"members":{"DataSource":{},"DataSourceConfiguration":{"shape":"S2t"},"Description":{},"IndexName":{},"PricingPlan":{},"Tags":{"shape":"S2k"}}},"output":{"type":"structure","required":["CreateTime","IndexArn","IndexName"],"members":{"CreateTime":{"shape":"St"},"IndexArn":{},"IndexName":{}}},"endpoint":{"hostPrefix":"places."},"idempotent":true},"CreateRouteCalculator":{"http":{"requestUri":"/routes/v0/calculators","responseCode":200},"input":{"type":"structure","required":["CalculatorName","DataSource"],"members":{"CalculatorName":{},"DataSource":{},"Description":{},"PricingPlan":{},"Tags":{"shape":"S2k"}}},"output":{"type":"structure","required":["CalculatorArn","CalculatorName","CreateTime"],"members":{"CalculatorArn":{},"CalculatorName":{},"CreateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"routes."},"idempotent":true},"CreateTracker":{"http":{"requestUri":"/tracking/v0/trackers","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"Description":{},"KmsKeyId":{},"PositionFiltering":{},"PricingPlan":{},"PricingPlanDataSource":{},"Tags":{"shape":"S2k"},"TrackerName":{}}},"output":{"type":"structure","required":["CreateTime","TrackerArn","TrackerName"],"members":{"CreateTime":{"shape":"St"},"TrackerArn":{},"TrackerName":{}}},"endpoint":{"hostPrefix":"tracking."},"idempotent":true},"DeleteGeofenceCollection":{"http":{"method":"DELETE","requestUri":"/geofencing/v0/collections/{CollectionName}","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"geofencing."},"idempotent":true},"DeleteMap":{"http":{"method":"DELETE","requestUri":"/maps/v0/maps/{MapName}","responseCode":200},"input":{"type":"structure","required":["MapName"],"members":{"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"maps."},"idempotent":true},"DeletePlaceIndex":{"http":{"method":"DELETE","requestUri":"/places/v0/indexes/{IndexName}","responseCode":200},"input":{"type":"structure","required":["IndexName"],"members":{"IndexName":{"location":"uri","locationName":"IndexName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"places."},"idempotent":true},"DeleteRouteCalculator":{"http":{"method":"DELETE","requestUri":"/routes/v0/calculators/{CalculatorName}","responseCode":200},"input":{"type":"structure","required":["CalculatorName"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"routes."},"idempotent":true},"DeleteTracker":{"http":{"method":"DELETE","requestUri":"/tracking/v0/trackers/{TrackerName}","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"tracking."},"idempotent":true},"DescribeGeofenceCollection":{"http":{"method":"GET","requestUri":"/geofencing/v0/collections/{CollectionName}","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"}}},"output":{"type":"structure","required":["CollectionArn","CollectionName","CreateTime","Description","PricingPlan","UpdateTime"],"members":{"CollectionArn":{},"CollectionName":{},"CreateTime":{"shape":"St"},"Description":{},"KmsKeyId":{},"PricingPlan":{},"PricingPlanDataSource":{},"Tags":{"shape":"S2k"},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."}},"DescribeMap":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}","responseCode":200},"input":{"type":"structure","required":["MapName"],"members":{"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","required":["Configuration","CreateTime","DataSource","Description","MapArn","MapName","PricingPlan","UpdateTime"],"members":{"Configuration":{"shape":"S2p"},"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"MapArn":{},"MapName":{},"PricingPlan":{},"Tags":{"shape":"S2k"},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"maps."}},"DescribePlaceIndex":{"http":{"method":"GET","requestUri":"/places/v0/indexes/{IndexName}","responseCode":200},"input":{"type":"structure","required":["IndexName"],"members":{"IndexName":{"location":"uri","locationName":"IndexName"}}},"output":{"type":"structure","required":["CreateTime","DataSource","DataSourceConfiguration","Description","IndexArn","IndexName","PricingPlan","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"DataSource":{},"DataSourceConfiguration":{"shape":"S2t"},"Description":{},"IndexArn":{},"IndexName":{},"PricingPlan":{},"Tags":{"shape":"S2k"},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"places."}},"DescribeRouteCalculator":{"http":{"method":"GET","requestUri":"/routes/v0/calculators/{CalculatorName}","responseCode":200},"input":{"type":"structure","required":["CalculatorName"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"}}},"output":{"type":"structure","required":["CalculatorArn","CalculatorName","CreateTime","DataSource","Description","PricingPlan","UpdateTime"],"members":{"CalculatorArn":{},"CalculatorName":{},"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"PricingPlan":{},"Tags":{"shape":"S2k"},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"routes."}},"DescribeTracker":{"http":{"method":"GET","requestUri":"/tracking/v0/trackers/{TrackerName}","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["CreateTime","Description","PricingPlan","TrackerArn","TrackerName","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"Description":{},"KmsKeyId":{},"PositionFiltering":{},"PricingPlan":{},"PricingPlanDataSource":{},"Tags":{"shape":"S2k"},"TrackerArn":{},"TrackerName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"tracking."}},"DisassociateTrackerConsumer":{"http":{"method":"DELETE","requestUri":"/tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}","responseCode":200},"input":{"type":"structure","required":["ConsumerArn","TrackerName"],"members":{"ConsumerArn":{"location":"uri","locationName":"ConsumerArn"},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"tracking."}},"GetDevicePosition":{"http":{"method":"GET","requestUri":"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest","responseCode":200},"input":{"type":"structure","required":["DeviceId","TrackerName"],"members":{"DeviceId":{"location":"uri","locationName":"DeviceId"},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["Position","ReceivedTime","SampleTime"],"members":{"Accuracy":{"shape":"Sm"},"DeviceId":{},"Position":{"shape":"So"},"PositionProperties":{"shape":"Sq"},"ReceivedTime":{"shape":"St"},"SampleTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"tracking."}},"GetDevicePositionHistory":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions","responseCode":200},"input":{"type":"structure","required":["DeviceId","TrackerName"],"members":{"DeviceId":{"location":"uri","locationName":"DeviceId"},"EndTimeExclusive":{"shape":"St"},"NextToken":{},"StartTimeInclusive":{"shape":"St"},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["DevicePositions"],"members":{"DevicePositions":{"shape":"S11"},"NextToken":{}}},"endpoint":{"hostPrefix":"tracking."}},"GetGeofence":{"http":{"method":"GET","requestUri":"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}","responseCode":200},"input":{"type":"structure","required":["CollectionName","GeofenceId"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"GeofenceId":{"location":"uri","locationName":"GeofenceId"}}},"output":{"type":"structure","required":["CreateTime","GeofenceId","Geometry","Status","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"GeofenceId":{},"Geometry":{"shape":"S18"},"Status":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."}},"GetMapGlyphs":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}","responseCode":200},"input":{"type":"structure","required":["FontStack","FontUnicodeRange","MapName"],"members":{"FontStack":{"location":"uri","locationName":"FontStack"},"FontUnicodeRange":{"location":"uri","locationName":"FontUnicodeRange"},"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","members":{"Blob":{"type":"blob"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Blob"},"endpoint":{"hostPrefix":"maps."}},"GetMapSprites":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}/sprites/{FileName}","responseCode":200},"input":{"type":"structure","required":["FileName","MapName"],"members":{"FileName":{"location":"uri","locationName":"FileName"},"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","members":{"Blob":{"type":"blob"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Blob"},"endpoint":{"hostPrefix":"maps."}},"GetMapStyleDescriptor":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}/style-descriptor","responseCode":200},"input":{"type":"structure","required":["MapName"],"members":{"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","members":{"Blob":{"type":"blob"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Blob"},"endpoint":{"hostPrefix":"maps."}},"GetMapTile":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y}","responseCode":200},"input":{"type":"structure","required":["MapName","X","Y","Z"],"members":{"MapName":{"location":"uri","locationName":"MapName"},"X":{"location":"uri","locationName":"X"},"Y":{"location":"uri","locationName":"Y"},"Z":{"location":"uri","locationName":"Z"}}},"output":{"type":"structure","members":{"Blob":{"type":"blob"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Blob"},"endpoint":{"hostPrefix":"maps."}},"ListDevicePositions":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/list-positions","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"MaxResults":{"type":"integer"},"NextToken":{},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["DeviceId","Position","SampleTime"],"members":{"Accuracy":{"shape":"Sm"},"DeviceId":{},"Position":{"shape":"So"},"PositionProperties":{"shape":"Sq"},"SampleTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"tracking."}},"ListGeofenceCollections":{"http":{"requestUri":"/geofencing/v0/list-collections","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CollectionName","CreateTime","Description","PricingPlan","UpdateTime"],"members":{"CollectionName":{},"CreateTime":{"shape":"St"},"Description":{},"PricingPlan":{},"PricingPlanDataSource":{},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"geofencing."}},"ListGeofences":{"http":{"requestUri":"/geofencing/v0/collections/{CollectionName}/list-geofences","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CreateTime","GeofenceId","Geometry","Status","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"GeofenceId":{},"Geometry":{"shape":"S18"},"Status":{},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"geofencing."}},"ListMaps":{"http":{"requestUri":"/maps/v0/list-maps","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CreateTime","DataSource","Description","MapName","PricingPlan","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"MapName":{},"PricingPlan":{},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"maps."}},"ListPlaceIndexes":{"http":{"requestUri":"/places/v0/list-indexes","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CreateTime","DataSource","Description","IndexName","PricingPlan","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"IndexName":{},"PricingPlan":{},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"places."}},"ListRouteCalculators":{"http":{"requestUri":"/routes/v0/list-calculators","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CalculatorName","CreateTime","DataSource","Description","PricingPlan","UpdateTime"],"members":{"CalculatorName":{},"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"PricingPlan":{},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"routes."}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S2k"}}},"endpoint":{"hostPrefix":"metadata."}},"ListTrackerConsumers":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/list-consumers","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"MaxResults":{"type":"integer"},"NextToken":{},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["ConsumerArns"],"members":{"ConsumerArns":{"type":"list","member":{}},"NextToken":{}}},"endpoint":{"hostPrefix":"tracking."}},"ListTrackers":{"http":{"requestUri":"/tracking/v0/list-trackers","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CreateTime","Description","PricingPlan","TrackerName","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"Description":{},"PricingPlan":{},"PricingPlanDataSource":{},"TrackerName":{},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"tracking."}},"PutGeofence":{"http":{"method":"PUT","requestUri":"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}","responseCode":200},"input":{"type":"structure","required":["CollectionName","GeofenceId","Geometry"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"GeofenceId":{"location":"uri","locationName":"GeofenceId"},"Geometry":{"shape":"S18"}}},"output":{"type":"structure","required":["CreateTime","GeofenceId","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"GeofenceId":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."}},"SearchPlaceIndexForPosition":{"http":{"requestUri":"/places/v0/indexes/{IndexName}/search/position","responseCode":200},"input":{"type":"structure","required":["IndexName","Position"],"members":{"IndexName":{"location":"uri","locationName":"IndexName"},"Language":{},"MaxResults":{"type":"integer"},"Position":{"shape":"So"}}},"output":{"type":"structure","required":["Results","Summary"],"members":{"Results":{"type":"list","member":{"type":"structure","required":["Distance","Place"],"members":{"Distance":{"type":"double"},"Place":{"shape":"S5l"}}}},"Summary":{"type":"structure","required":["DataSource","Position"],"members":{"DataSource":{},"Language":{},"MaxResults":{"type":"integer"},"Position":{"shape":"So"}}}}},"endpoint":{"hostPrefix":"places."}},"SearchPlaceIndexForSuggestions":{"http":{"requestUri":"/places/v0/indexes/{IndexName}/search/suggestions","responseCode":200},"input":{"type":"structure","required":["IndexName","Text"],"members":{"BiasPosition":{"shape":"So"},"FilterBBox":{"shape":"S2f"},"FilterCountries":{"shape":"S5r"},"IndexName":{"location":"uri","locationName":"IndexName"},"Language":{},"MaxResults":{"type":"integer"},"Text":{"type":"string","sensitive":true}}},"output":{"type":"structure","required":["Results","Summary"],"members":{"Results":{"type":"list","member":{"type":"structure","required":["Text"],"members":{"Text":{}}}},"Summary":{"type":"structure","required":["DataSource","Text"],"members":{"BiasPosition":{"shape":"So"},"DataSource":{},"FilterBBox":{"shape":"S2f"},"FilterCountries":{"shape":"S5r"},"Language":{},"MaxResults":{"type":"integer"},"Text":{"type":"string","sensitive":true}}}}},"endpoint":{"hostPrefix":"places."}},"SearchPlaceIndexForText":{"http":{"requestUri":"/places/v0/indexes/{IndexName}/search/text","responseCode":200},"input":{"type":"structure","required":["IndexName","Text"],"members":{"BiasPosition":{"shape":"So"},"FilterBBox":{"shape":"S2f"},"FilterCountries":{"shape":"S5r"},"IndexName":{"location":"uri","locationName":"IndexName"},"Language":{},"MaxResults":{"type":"integer"},"Text":{"type":"string","sensitive":true}}},"output":{"type":"structure","required":["Results","Summary"],"members":{"Results":{"type":"list","member":{"type":"structure","required":["Place"],"members":{"Distance":{"type":"double"},"Place":{"shape":"S5l"},"Relevance":{"type":"double"}}}},"Summary":{"type":"structure","required":["DataSource","Text"],"members":{"BiasPosition":{"shape":"So"},"DataSource":{},"FilterBBox":{"shape":"S2f"},"FilterCountries":{"shape":"S5r"},"Language":{},"MaxResults":{"type":"integer"},"ResultBBox":{"shape":"S2f"},"Text":{"type":"string","sensitive":true}}}}},"endpoint":{"hostPrefix":"places."}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"S2k"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"metadata."}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"metadata."},"idempotent":true},"UpdateGeofenceCollection":{"http":{"method":"PATCH","requestUri":"/geofencing/v0/collections/{CollectionName}","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"Description":{},"PricingPlan":{},"PricingPlanDataSource":{}}},"output":{"type":"structure","required":["CollectionArn","CollectionName","UpdateTime"],"members":{"CollectionArn":{},"CollectionName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."},"idempotent":true},"UpdateMap":{"http":{"method":"PATCH","requestUri":"/maps/v0/maps/{MapName}","responseCode":200},"input":{"type":"structure","required":["MapName"],"members":{"Description":{},"MapName":{"location":"uri","locationName":"MapName"},"PricingPlan":{}}},"output":{"type":"structure","required":["MapArn","MapName","UpdateTime"],"members":{"MapArn":{},"MapName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"maps."},"idempotent":true},"UpdatePlaceIndex":{"http":{"method":"PATCH","requestUri":"/places/v0/indexes/{IndexName}","responseCode":200},"input":{"type":"structure","required":["IndexName"],"members":{"DataSourceConfiguration":{"shape":"S2t"},"Description":{},"IndexName":{"location":"uri","locationName":"IndexName"},"PricingPlan":{}}},"output":{"type":"structure","required":["IndexArn","IndexName","UpdateTime"],"members":{"IndexArn":{},"IndexName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"places."},"idempotent":true},"UpdateRouteCalculator":{"http":{"method":"PATCH","requestUri":"/routes/v0/calculators/{CalculatorName}","responseCode":200},"input":{"type":"structure","required":["CalculatorName"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"},"Description":{},"PricingPlan":{}}},"output":{"type":"structure","required":["CalculatorArn","CalculatorName","UpdateTime"],"members":{"CalculatorArn":{},"CalculatorName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"routes."},"idempotent":true},"UpdateTracker":{"http":{"method":"PATCH","requestUri":"/tracking/v0/trackers/{TrackerName}","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"Description":{},"PositionFiltering":{},"PricingPlan":{},"PricingPlanDataSource":{},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["TrackerArn","TrackerName","UpdateTime"],"members":{"TrackerArn":{},"TrackerName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"tracking."},"idempotent":true}},"shapes":{"Sb":{"type":"structure","members":{"Code":{},"Message":{}}},"Sl":{"type":"structure","required":["DeviceId","Position","SampleTime"],"members":{"Accuracy":{"shape":"Sm"},"DeviceId":{},"Position":{"shape":"So"},"PositionProperties":{"shape":"Sq"},"SampleTime":{"shape":"St"}}},"Sm":{"type":"structure","required":["Horizontal"],"members":{"Horizontal":{"type":"double"}}},"So":{"type":"list","member":{"type":"double"},"sensitive":true},"Sq":{"type":"map","key":{},"value":{},"sensitive":true},"St":{"type":"timestamp","timestampFormat":"iso8601"},"S11":{"type":"list","member":{"type":"structure","required":["Position","ReceivedTime","SampleTime"],"members":{"Accuracy":{"shape":"Sm"},"DeviceId":{},"Position":{"shape":"So"},"PositionProperties":{"shape":"Sq"},"ReceivedTime":{"shape":"St"},"SampleTime":{"shape":"St"}}}},"S18":{"type":"structure","members":{"Polygon":{"type":"list","member":{"type":"list","member":{"shape":"So"}}}}},"S2f":{"type":"list","member":{"type":"double"},"sensitive":true},"S2k":{"type":"map","key":{},"value":{}},"S2p":{"type":"structure","required":["Style"],"members":{"Style":{}}},"S2t":{"type":"structure","members":{"IntendedUse":{}}},"S5l":{"type":"structure","required":["Geometry"],"members":{"AddressNumber":{},"Country":{},"Geometry":{"type":"structure","members":{"Point":{"shape":"So"}}},"Interpolated":{"type":"boolean"},"Label":{},"Municipality":{},"Neighborhood":{},"PostalCode":{},"Region":{},"Street":{},"SubRegion":{},"TimeZone":{"type":"structure","required":["Name"],"members":{"Name":{},"Offset":{"type":"integer"}}}}},"S5r":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-19","endpointPrefix":"geo","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Location Service","serviceId":"Location","signatureVersion":"v4","signingName":"geo","uid":"location-2020-11-19"},"operations":{"AssociateTrackerConsumer":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/consumers","responseCode":200},"input":{"type":"structure","required":["ConsumerArn","TrackerName"],"members":{"ConsumerArn":{},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"tracking."}},"BatchDeleteDevicePositionHistory":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/delete-positions","responseCode":200},"input":{"type":"structure","required":["DeviceIds","TrackerName"],"members":{"DeviceIds":{"type":"list","member":{}},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error"],"members":{"DeviceId":{},"Error":{"shape":"Sb"}}}}}},"endpoint":{"hostPrefix":"tracking."}},"BatchDeleteGeofence":{"http":{"requestUri":"/geofencing/v0/collections/{CollectionName}/delete-geofences","responseCode":200},"input":{"type":"structure","required":["CollectionName","GeofenceIds"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"GeofenceIds":{"type":"list","member":{}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["Error","GeofenceId"],"members":{"Error":{"shape":"Sb"},"GeofenceId":{}}}}}},"endpoint":{"hostPrefix":"geofencing."}},"BatchEvaluateGeofences":{"http":{"requestUri":"/geofencing/v0/collections/{CollectionName}/positions","responseCode":200},"input":{"type":"structure","required":["CollectionName","DevicePositionUpdates"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"DevicePositionUpdates":{"type":"list","member":{"shape":"Sl"}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error","SampleTime"],"members":{"DeviceId":{},"Error":{"shape":"Sb"},"SampleTime":{"shape":"St"}}}}}},"endpoint":{"hostPrefix":"geofencing."}},"BatchGetDevicePosition":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/get-positions","responseCode":200},"input":{"type":"structure","required":["DeviceIds","TrackerName"],"members":{"DeviceIds":{"type":"list","member":{}},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["DevicePositions","Errors"],"members":{"DevicePositions":{"shape":"S11"},"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error"],"members":{"DeviceId":{},"Error":{"shape":"Sb"}}}}}},"endpoint":{"hostPrefix":"tracking."}},"BatchPutGeofence":{"http":{"requestUri":"/geofencing/v0/collections/{CollectionName}/put-geofences","responseCode":200},"input":{"type":"structure","required":["CollectionName","Entries"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"Entries":{"type":"list","member":{"type":"structure","required":["GeofenceId","Geometry"],"members":{"GeofenceId":{},"Geometry":{"shape":"S18"}}}}}},"output":{"type":"structure","required":["Errors","Successes"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["Error","GeofenceId"],"members":{"Error":{"shape":"Sb"},"GeofenceId":{}}}},"Successes":{"type":"list","member":{"type":"structure","required":["CreateTime","GeofenceId","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"GeofenceId":{},"UpdateTime":{"shape":"St"}}}}}},"endpoint":{"hostPrefix":"geofencing."}},"BatchUpdateDevicePosition":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/positions","responseCode":200},"input":{"type":"structure","required":["TrackerName","Updates"],"members":{"TrackerName":{"location":"uri","locationName":"TrackerName"},"Updates":{"type":"list","member":{"shape":"Sl"}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["DeviceId","Error","SampleTime"],"members":{"DeviceId":{},"Error":{"shape":"Sb"},"SampleTime":{"shape":"St"}}}}}},"endpoint":{"hostPrefix":"tracking."}},"CalculateRoute":{"http":{"requestUri":"/routes/v0/calculators/{CalculatorName}/calculate/route","responseCode":200},"input":{"type":"structure","required":["CalculatorName","DeparturePosition","DestinationPosition"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"},"CarModeOptions":{"shape":"S1m"},"DepartNow":{"type":"boolean"},"DeparturePosition":{"shape":"So"},"DepartureTime":{"shape":"St"},"DestinationPosition":{"shape":"So"},"DistanceUnit":{},"IncludeLegGeometry":{"type":"boolean"},"TravelMode":{},"TruckModeOptions":{"shape":"S1q"},"WaypointPositions":{"type":"list","member":{"shape":"So"}}}},"output":{"type":"structure","required":["Legs","Summary"],"members":{"Legs":{"type":"list","member":{"type":"structure","required":["Distance","DurationSeconds","EndPosition","StartPosition","Steps"],"members":{"Distance":{"type":"double"},"DurationSeconds":{"type":"double"},"EndPosition":{"shape":"So"},"Geometry":{"type":"structure","members":{"LineString":{"type":"list","member":{"shape":"So"}}}},"StartPosition":{"shape":"So"},"Steps":{"type":"list","member":{"type":"structure","required":["Distance","DurationSeconds","EndPosition","StartPosition"],"members":{"Distance":{"type":"double"},"DurationSeconds":{"type":"double"},"EndPosition":{"shape":"So"},"GeometryOffset":{"type":"integer"},"StartPosition":{"shape":"So"}}}}}}},"Summary":{"type":"structure","required":["DataSource","Distance","DistanceUnit","DurationSeconds","RouteBBox"],"members":{"DataSource":{},"Distance":{"type":"double"},"DistanceUnit":{},"DurationSeconds":{"type":"double"},"RouteBBox":{"shape":"S2f"}}}}},"endpoint":{"hostPrefix":"routes."}},"CalculateRouteMatrix":{"http":{"requestUri":"/routes/v0/calculators/{CalculatorName}/calculate/route-matrix","responseCode":200},"input":{"type":"structure","required":["CalculatorName","DeparturePositions","DestinationPositions"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"},"CarModeOptions":{"shape":"S1m"},"DepartNow":{"type":"boolean"},"DeparturePositions":{"type":"list","member":{"shape":"So"}},"DepartureTime":{"shape":"St"},"DestinationPositions":{"type":"list","member":{"shape":"So"}},"DistanceUnit":{},"TravelMode":{},"TruckModeOptions":{"shape":"S1q"}}},"output":{"type":"structure","required":["RouteMatrix","Summary"],"members":{"RouteMatrix":{"type":"list","member":{"type":"list","member":{"type":"structure","members":{"Distance":{"type":"double"},"DurationSeconds":{"type":"double"},"Error":{"type":"structure","required":["Code"],"members":{"Code":{},"Message":{}}}}}}},"SnappedDeparturePositions":{"type":"list","member":{"shape":"So"}},"SnappedDestinationPositions":{"type":"list","member":{"shape":"So"}},"Summary":{"type":"structure","required":["DataSource","DistanceUnit","ErrorCount","RouteCount"],"members":{"DataSource":{},"DistanceUnit":{},"ErrorCount":{"type":"integer"},"RouteCount":{"type":"integer"}}}}},"endpoint":{"hostPrefix":"routes."}},"CreateGeofenceCollection":{"http":{"requestUri":"/geofencing/v0/collections","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{},"Description":{},"KmsKeyId":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."},"PricingPlanDataSource":{"deprecated":true,"deprecatedMessage":"Deprecated. No longer allowed."},"Tags":{"shape":"S30"}}},"output":{"type":"structure","required":["CollectionArn","CollectionName","CreateTime"],"members":{"CollectionArn":{},"CollectionName":{},"CreateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."},"idempotent":true},"CreateMap":{"http":{"requestUri":"/maps/v0/maps","responseCode":200},"input":{"type":"structure","required":["Configuration","MapName"],"members":{"Configuration":{"shape":"S35"},"Description":{},"MapName":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."},"Tags":{"shape":"S30"}}},"output":{"type":"structure","required":["CreateTime","MapArn","MapName"],"members":{"CreateTime":{"shape":"St"},"MapArn":{},"MapName":{}}},"endpoint":{"hostPrefix":"maps."},"idempotent":true},"CreatePlaceIndex":{"http":{"requestUri":"/places/v0/indexes","responseCode":200},"input":{"type":"structure","required":["DataSource","IndexName"],"members":{"DataSource":{},"DataSourceConfiguration":{"shape":"S39"},"Description":{},"IndexName":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."},"Tags":{"shape":"S30"}}},"output":{"type":"structure","required":["CreateTime","IndexArn","IndexName"],"members":{"CreateTime":{"shape":"St"},"IndexArn":{},"IndexName":{}}},"endpoint":{"hostPrefix":"places."},"idempotent":true},"CreateRouteCalculator":{"http":{"requestUri":"/routes/v0/calculators","responseCode":200},"input":{"type":"structure","required":["CalculatorName","DataSource"],"members":{"CalculatorName":{},"DataSource":{},"Description":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."},"Tags":{"shape":"S30"}}},"output":{"type":"structure","required":["CalculatorArn","CalculatorName","CreateTime"],"members":{"CalculatorArn":{},"CalculatorName":{},"CreateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"routes."},"idempotent":true},"CreateTracker":{"http":{"requestUri":"/tracking/v0/trackers","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"Description":{},"KmsKeyId":{},"PositionFiltering":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."},"PricingPlanDataSource":{"deprecated":true,"deprecatedMessage":"Deprecated. No longer allowed."},"Tags":{"shape":"S30"},"TrackerName":{}}},"output":{"type":"structure","required":["CreateTime","TrackerArn","TrackerName"],"members":{"CreateTime":{"shape":"St"},"TrackerArn":{},"TrackerName":{}}},"endpoint":{"hostPrefix":"tracking."},"idempotent":true},"DeleteGeofenceCollection":{"http":{"method":"DELETE","requestUri":"/geofencing/v0/collections/{CollectionName}","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"geofencing."},"idempotent":true},"DeleteMap":{"http":{"method":"DELETE","requestUri":"/maps/v0/maps/{MapName}","responseCode":200},"input":{"type":"structure","required":["MapName"],"members":{"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"maps."},"idempotent":true},"DeletePlaceIndex":{"http":{"method":"DELETE","requestUri":"/places/v0/indexes/{IndexName}","responseCode":200},"input":{"type":"structure","required":["IndexName"],"members":{"IndexName":{"location":"uri","locationName":"IndexName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"places."},"idempotent":true},"DeleteRouteCalculator":{"http":{"method":"DELETE","requestUri":"/routes/v0/calculators/{CalculatorName}","responseCode":200},"input":{"type":"structure","required":["CalculatorName"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"routes."},"idempotent":true},"DeleteTracker":{"http":{"method":"DELETE","requestUri":"/tracking/v0/trackers/{TrackerName}","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"tracking."},"idempotent":true},"DescribeGeofenceCollection":{"http":{"method":"GET","requestUri":"/geofencing/v0/collections/{CollectionName}","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"}}},"output":{"type":"structure","required":["CollectionArn","CollectionName","CreateTime","Description","UpdateTime"],"members":{"CollectionArn":{},"CollectionName":{},"CreateTime":{"shape":"St"},"Description":{},"KmsKeyId":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"PricingPlanDataSource":{"deprecated":true,"deprecatedMessage":"Deprecated. Unused."},"Tags":{"shape":"S30"},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."}},"DescribeMap":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}","responseCode":200},"input":{"type":"structure","required":["MapName"],"members":{"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","required":["Configuration","CreateTime","DataSource","Description","MapArn","MapName","UpdateTime"],"members":{"Configuration":{"shape":"S35"},"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"MapArn":{},"MapName":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"Tags":{"shape":"S30"},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"maps."}},"DescribePlaceIndex":{"http":{"method":"GET","requestUri":"/places/v0/indexes/{IndexName}","responseCode":200},"input":{"type":"structure","required":["IndexName"],"members":{"IndexName":{"location":"uri","locationName":"IndexName"}}},"output":{"type":"structure","required":["CreateTime","DataSource","DataSourceConfiguration","Description","IndexArn","IndexName","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"DataSource":{},"DataSourceConfiguration":{"shape":"S39"},"Description":{},"IndexArn":{},"IndexName":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"Tags":{"shape":"S30"},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"places."}},"DescribeRouteCalculator":{"http":{"method":"GET","requestUri":"/routes/v0/calculators/{CalculatorName}","responseCode":200},"input":{"type":"structure","required":["CalculatorName"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"}}},"output":{"type":"structure","required":["CalculatorArn","CalculatorName","CreateTime","DataSource","Description","UpdateTime"],"members":{"CalculatorArn":{},"CalculatorName":{},"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"Tags":{"shape":"S30"},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"routes."}},"DescribeTracker":{"http":{"method":"GET","requestUri":"/tracking/v0/trackers/{TrackerName}","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["CreateTime","Description","TrackerArn","TrackerName","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"Description":{},"KmsKeyId":{},"PositionFiltering":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"PricingPlanDataSource":{"deprecated":true,"deprecatedMessage":"Deprecated. Unused."},"Tags":{"shape":"S30"},"TrackerArn":{},"TrackerName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"tracking."}},"DisassociateTrackerConsumer":{"http":{"method":"DELETE","requestUri":"/tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}","responseCode":200},"input":{"type":"structure","required":["ConsumerArn","TrackerName"],"members":{"ConsumerArn":{"location":"uri","locationName":"ConsumerArn"},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"tracking."}},"GetDevicePosition":{"http":{"method":"GET","requestUri":"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest","responseCode":200},"input":{"type":"structure","required":["DeviceId","TrackerName"],"members":{"DeviceId":{"location":"uri","locationName":"DeviceId"},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["Position","ReceivedTime","SampleTime"],"members":{"Accuracy":{"shape":"Sm"},"DeviceId":{},"Position":{"shape":"So"},"PositionProperties":{"shape":"Sq"},"ReceivedTime":{"shape":"St"},"SampleTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"tracking."}},"GetDevicePositionHistory":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions","responseCode":200},"input":{"type":"structure","required":["DeviceId","TrackerName"],"members":{"DeviceId":{"location":"uri","locationName":"DeviceId"},"EndTimeExclusive":{"shape":"St"},"NextToken":{},"StartTimeInclusive":{"shape":"St"},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["DevicePositions"],"members":{"DevicePositions":{"shape":"S11"},"NextToken":{}}},"endpoint":{"hostPrefix":"tracking."}},"GetGeofence":{"http":{"method":"GET","requestUri":"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}","responseCode":200},"input":{"type":"structure","required":["CollectionName","GeofenceId"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"GeofenceId":{"location":"uri","locationName":"GeofenceId"}}},"output":{"type":"structure","required":["CreateTime","GeofenceId","Geometry","Status","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"GeofenceId":{},"Geometry":{"shape":"S18"},"Status":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."}},"GetMapGlyphs":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}","responseCode":200},"input":{"type":"structure","required":["FontStack","FontUnicodeRange","MapName"],"members":{"FontStack":{"location":"uri","locationName":"FontStack"},"FontUnicodeRange":{"location":"uri","locationName":"FontUnicodeRange"},"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","members":{"Blob":{"type":"blob"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Blob"},"endpoint":{"hostPrefix":"maps."}},"GetMapSprites":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}/sprites/{FileName}","responseCode":200},"input":{"type":"structure","required":["FileName","MapName"],"members":{"FileName":{"location":"uri","locationName":"FileName"},"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","members":{"Blob":{"type":"blob"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Blob"},"endpoint":{"hostPrefix":"maps."}},"GetMapStyleDescriptor":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}/style-descriptor","responseCode":200},"input":{"type":"structure","required":["MapName"],"members":{"MapName":{"location":"uri","locationName":"MapName"}}},"output":{"type":"structure","members":{"Blob":{"type":"blob"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Blob"},"endpoint":{"hostPrefix":"maps."}},"GetMapTile":{"http":{"method":"GET","requestUri":"/maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y}","responseCode":200},"input":{"type":"structure","required":["MapName","X","Y","Z"],"members":{"MapName":{"location":"uri","locationName":"MapName"},"X":{"location":"uri","locationName":"X"},"Y":{"location":"uri","locationName":"Y"},"Z":{"location":"uri","locationName":"Z"}}},"output":{"type":"structure","members":{"Blob":{"type":"blob"},"ContentType":{"location":"header","locationName":"Content-Type"}},"payload":"Blob"},"endpoint":{"hostPrefix":"maps."}},"ListDevicePositions":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/list-positions","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"MaxResults":{"type":"integer"},"NextToken":{},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["DeviceId","Position","SampleTime"],"members":{"Accuracy":{"shape":"Sm"},"DeviceId":{},"Position":{"shape":"So"},"PositionProperties":{"shape":"Sq"},"SampleTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"tracking."}},"ListGeofenceCollections":{"http":{"requestUri":"/geofencing/v0/list-collections","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CollectionName","CreateTime","Description","UpdateTime"],"members":{"CollectionName":{},"CreateTime":{"shape":"St"},"Description":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"PricingPlanDataSource":{"deprecated":true,"deprecatedMessage":"Deprecated. Unused."},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"geofencing."}},"ListGeofences":{"http":{"requestUri":"/geofencing/v0/collections/{CollectionName}/list-geofences","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CreateTime","GeofenceId","Geometry","Status","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"GeofenceId":{},"Geometry":{"shape":"S18"},"Status":{},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"geofencing."}},"ListMaps":{"http":{"requestUri":"/maps/v0/list-maps","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CreateTime","DataSource","Description","MapName","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"MapName":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"maps."}},"ListPlaceIndexes":{"http":{"requestUri":"/places/v0/list-indexes","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CreateTime","DataSource","Description","IndexName","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"IndexName":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"places."}},"ListRouteCalculators":{"http":{"requestUri":"/routes/v0/list-calculators","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CalculatorName","CreateTime","DataSource","Description","UpdateTime"],"members":{"CalculatorName":{},"CreateTime":{"shape":"St"},"DataSource":{},"Description":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"routes."}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S30"}}},"endpoint":{"hostPrefix":"metadata."}},"ListTrackerConsumers":{"http":{"requestUri":"/tracking/v0/trackers/{TrackerName}/list-consumers","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"MaxResults":{"type":"integer"},"NextToken":{},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["ConsumerArns"],"members":{"ConsumerArns":{"type":"list","member":{}},"NextToken":{}}},"endpoint":{"hostPrefix":"tracking."}},"ListTrackers":{"http":{"requestUri":"/tracking/v0/list-trackers","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["Entries"],"members":{"Entries":{"type":"list","member":{"type":"structure","required":["CreateTime","Description","TrackerName","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"Description":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. Always returns RequestBasedUsage."},"PricingPlanDataSource":{"deprecated":true,"deprecatedMessage":"Deprecated. Unused."},"TrackerName":{},"UpdateTime":{"shape":"St"}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"tracking."}},"PutGeofence":{"http":{"method":"PUT","requestUri":"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}","responseCode":200},"input":{"type":"structure","required":["CollectionName","GeofenceId","Geometry"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"GeofenceId":{"location":"uri","locationName":"GeofenceId"},"Geometry":{"shape":"S18"}}},"output":{"type":"structure","required":["CreateTime","GeofenceId","UpdateTime"],"members":{"CreateTime":{"shape":"St"},"GeofenceId":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."}},"SearchPlaceIndexForPosition":{"http":{"requestUri":"/places/v0/indexes/{IndexName}/search/position","responseCode":200},"input":{"type":"structure","required":["IndexName","Position"],"members":{"IndexName":{"location":"uri","locationName":"IndexName"},"Language":{},"MaxResults":{"type":"integer"},"Position":{"shape":"So"}}},"output":{"type":"structure","required":["Results","Summary"],"members":{"Results":{"type":"list","member":{"type":"structure","required":["Distance","Place"],"members":{"Distance":{"type":"double"},"Place":{"shape":"S61"}}}},"Summary":{"type":"structure","required":["DataSource","Position"],"members":{"DataSource":{},"Language":{},"MaxResults":{"type":"integer"},"Position":{"shape":"So"}}}}},"endpoint":{"hostPrefix":"places."}},"SearchPlaceIndexForSuggestions":{"http":{"requestUri":"/places/v0/indexes/{IndexName}/search/suggestions","responseCode":200},"input":{"type":"structure","required":["IndexName","Text"],"members":{"BiasPosition":{"shape":"So"},"FilterBBox":{"shape":"S2f"},"FilterCountries":{"shape":"S67"},"IndexName":{"location":"uri","locationName":"IndexName"},"Language":{},"MaxResults":{"type":"integer"},"Text":{"type":"string","sensitive":true}}},"output":{"type":"structure","required":["Results","Summary"],"members":{"Results":{"type":"list","member":{"type":"structure","required":["Text"],"members":{"Text":{}}}},"Summary":{"type":"structure","required":["DataSource","Text"],"members":{"BiasPosition":{"shape":"So"},"DataSource":{},"FilterBBox":{"shape":"S2f"},"FilterCountries":{"shape":"S67"},"Language":{},"MaxResults":{"type":"integer"},"Text":{"type":"string","sensitive":true}}}}},"endpoint":{"hostPrefix":"places."}},"SearchPlaceIndexForText":{"http":{"requestUri":"/places/v0/indexes/{IndexName}/search/text","responseCode":200},"input":{"type":"structure","required":["IndexName","Text"],"members":{"BiasPosition":{"shape":"So"},"FilterBBox":{"shape":"S2f"},"FilterCountries":{"shape":"S67"},"IndexName":{"location":"uri","locationName":"IndexName"},"Language":{},"MaxResults":{"type":"integer"},"Text":{"type":"string","sensitive":true}}},"output":{"type":"structure","required":["Results","Summary"],"members":{"Results":{"type":"list","member":{"type":"structure","required":["Place"],"members":{"Distance":{"type":"double"},"Place":{"shape":"S61"},"Relevance":{"type":"double"}}}},"Summary":{"type":"structure","required":["DataSource","Text"],"members":{"BiasPosition":{"shape":"So"},"DataSource":{},"FilterBBox":{"shape":"S2f"},"FilterCountries":{"shape":"S67"},"Language":{},"MaxResults":{"type":"integer"},"ResultBBox":{"shape":"S2f"},"Text":{"type":"string","sensitive":true}}}}},"endpoint":{"hostPrefix":"places."}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"S30"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"metadata."}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"metadata."},"idempotent":true},"UpdateGeofenceCollection":{"http":{"method":"PATCH","requestUri":"/geofencing/v0/collections/{CollectionName}","responseCode":200},"input":{"type":"structure","required":["CollectionName"],"members":{"CollectionName":{"location":"uri","locationName":"CollectionName"},"Description":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."},"PricingPlanDataSource":{"deprecated":true,"deprecatedMessage":"Deprecated. No longer allowed."}}},"output":{"type":"structure","required":["CollectionArn","CollectionName","UpdateTime"],"members":{"CollectionArn":{},"CollectionName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"geofencing."},"idempotent":true},"UpdateMap":{"http":{"method":"PATCH","requestUri":"/maps/v0/maps/{MapName}","responseCode":200},"input":{"type":"structure","required":["MapName"],"members":{"Description":{},"MapName":{"location":"uri","locationName":"MapName"},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."}}},"output":{"type":"structure","required":["MapArn","MapName","UpdateTime"],"members":{"MapArn":{},"MapName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"maps."},"idempotent":true},"UpdatePlaceIndex":{"http":{"method":"PATCH","requestUri":"/places/v0/indexes/{IndexName}","responseCode":200},"input":{"type":"structure","required":["IndexName"],"members":{"DataSourceConfiguration":{"shape":"S39"},"Description":{},"IndexName":{"location":"uri","locationName":"IndexName"},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."}}},"output":{"type":"structure","required":["IndexArn","IndexName","UpdateTime"],"members":{"IndexArn":{},"IndexName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"places."},"idempotent":true},"UpdateRouteCalculator":{"http":{"method":"PATCH","requestUri":"/routes/v0/calculators/{CalculatorName}","responseCode":200},"input":{"type":"structure","required":["CalculatorName"],"members":{"CalculatorName":{"location":"uri","locationName":"CalculatorName"},"Description":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."}}},"output":{"type":"structure","required":["CalculatorArn","CalculatorName","UpdateTime"],"members":{"CalculatorArn":{},"CalculatorName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"routes."},"idempotent":true},"UpdateTracker":{"http":{"method":"PATCH","requestUri":"/tracking/v0/trackers/{TrackerName}","responseCode":200},"input":{"type":"structure","required":["TrackerName"],"members":{"Description":{},"PositionFiltering":{},"PricingPlan":{"deprecated":true,"deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage."},"PricingPlanDataSource":{"deprecated":true,"deprecatedMessage":"Deprecated. No longer allowed."},"TrackerName":{"location":"uri","locationName":"TrackerName"}}},"output":{"type":"structure","required":["TrackerArn","TrackerName","UpdateTime"],"members":{"TrackerArn":{},"TrackerName":{},"UpdateTime":{"shape":"St"}}},"endpoint":{"hostPrefix":"tracking."},"idempotent":true}},"shapes":{"Sb":{"type":"structure","members":{"Code":{},"Message":{}}},"Sl":{"type":"structure","required":["DeviceId","Position","SampleTime"],"members":{"Accuracy":{"shape":"Sm"},"DeviceId":{},"Position":{"shape":"So"},"PositionProperties":{"shape":"Sq"},"SampleTime":{"shape":"St"}}},"Sm":{"type":"structure","required":["Horizontal"],"members":{"Horizontal":{"type":"double"}}},"So":{"type":"list","member":{"type":"double"},"sensitive":true},"Sq":{"type":"map","key":{},"value":{},"sensitive":true},"St":{"type":"timestamp","timestampFormat":"iso8601"},"S11":{"type":"list","member":{"type":"structure","required":["Position","ReceivedTime","SampleTime"],"members":{"Accuracy":{"shape":"Sm"},"DeviceId":{},"Position":{"shape":"So"},"PositionProperties":{"shape":"Sq"},"ReceivedTime":{"shape":"St"},"SampleTime":{"shape":"St"}}}},"S18":{"type":"structure","members":{"Polygon":{"type":"list","member":{"type":"list","member":{"shape":"So"}}}}},"S1m":{"type":"structure","members":{"AvoidFerries":{"type":"boolean"},"AvoidTolls":{"type":"boolean"}}},"S1q":{"type":"structure","members":{"AvoidFerries":{"type":"boolean"},"AvoidTolls":{"type":"boolean"},"Dimensions":{"type":"structure","members":{"Height":{"type":"double"},"Length":{"type":"double"},"Unit":{},"Width":{"type":"double"}}},"Weight":{"type":"structure","members":{"Total":{"type":"double"},"Unit":{}}}}},"S2f":{"type":"list","member":{"type":"double"},"sensitive":true},"S30":{"type":"map","key":{},"value":{}},"S35":{"type":"structure","required":["Style"],"members":{"Style":{}}},"S39":{"type":"structure","members":{"IntendedUse":{}}},"S61":{"type":"structure","required":["Geometry"],"members":{"AddressNumber":{},"Country":{},"Geometry":{"type":"structure","members":{"Point":{"shape":"So"}}},"Interpolated":{"type":"boolean"},"Label":{},"Municipality":{},"Neighborhood":{},"PostalCode":{},"Region":{},"Street":{},"SubRegion":{},"TimeZone":{"type":"structure","required":["Name"],"members":{"Name":{},"Offset":{"type":"integer"}}}}},"S67":{"type":"list","member":{}}}} /***/ }), /* 981 */ @@ -54100,7 +54106,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 986 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-07","endpointPrefix":"models-v2-lex","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Lex Models V2","serviceFullName":"Amazon Lex Model Building V2","serviceId":"Lex Models V2","signatureVersion":"v4","signingName":"lex","uid":"models.lex.v2-2020-08-07"},"operations":{"BuildBotLocale":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botLocaleStatus":{},"lastBuildSubmittedDateTime":{"type":"timestamp"}}}},"CreateBot":{"http":{"method":"PUT","requestUri":"/bots/","responseCode":202},"input":{"type":"structure","required":["botName","roleArn","dataPrivacy","idleSessionTTLInSeconds"],"members":{"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}}},"CreateBotAlias":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botaliases/","responseCode":202},"input":{"type":"structure","required":["botAliasName","botId"],"members":{"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botId":{"location":"uri","locationName":"botId"},"tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"tags":{"shape":"Sf"}}}},"CreateBotLocale":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","nluIntentConfidenceThreshold"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeName":{},"localeId":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"botLocaleStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateBotVersion":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/","responseCode":202},"input":{"type":"structure","required":["botId","botVersionLocaleSpecification"],"members":{"botId":{"location":"uri","locationName":"botId"},"description":{},"botVersionLocaleSpecification":{"shape":"S1i"}}},"output":{"type":"structure","members":{"botId":{},"description":{},"botVersion":{},"botVersionLocaleSpecification":{"shape":"S1i"},"botStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateExport":{"http":{"method":"PUT","requestUri":"/exports/","responseCode":202},"input":{"type":"structure","required":["resourceSpecification","fileFormat"],"members":{"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"filePassword":{"shape":"S1r"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateIntent":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["intentName","botId","botVersion","localeId"],"members":{"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1w"},"dialogCodeHook":{"shape":"S1z"},"fulfillmentCodeHook":{"shape":"S20"},"intentConfirmationSetting":{"shape":"S2r"},"intentClosingSetting":{"shape":"S2u"},"inputContexts":{"shape":"S2v"},"outputContexts":{"shape":"S2x"},"kendraConfiguration":{"shape":"S31"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1w"},"dialogCodeHook":{"shape":"S1z"},"fulfillmentCodeHook":{"shape":"S20"},"intentConfirmationSetting":{"shape":"S2r"},"intentClosingSetting":{"shape":"S2u"},"inputContexts":{"shape":"S2v"},"outputContexts":{"shape":"S2x"},"kendraConfiguration":{"shape":"S31"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"}}}},"CreateResourcePolicy":{"http":{"requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn","policy"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"policy":{}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"CreateResourcePolicyStatement":{"http":{"requestUri":"/policy/{resourceArn}/statements/","responseCode":200},"input":{"type":"structure","required":["resourceArn","statementId","effect","principal","action"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"statementId":{},"effect":{},"principal":{"type":"list","member":{"type":"structure","members":{"service":{},"arn":{}}}},"action":{"type":"list","member":{}},"condition":{"type":"map","key":{},"value":{"type":"map","key":{},"value":{}}},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"CreateSlot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/","responseCode":200},"input":{"type":"structure","required":["slotName","slotTypeId","valueElicitationSetting","botId","botVersion","localeId","intentId"],"members":{"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3q"},"obfuscationSetting":{"shape":"S40"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"multipleValuesSetting":{"shape":"S42"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3q"},"obfuscationSetting":{"shape":"S40"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S42"}}}},"CreateSlotType":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["slotTypeName","botId","botVersion","localeId"],"members":{"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S45"},"valueSelectionSetting":{"shape":"S4a"},"parentSlotTypeSignature":{},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"externalSourceSetting":{"shape":"S4f"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S45"},"valueSelectionSetting":{"shape":"S4a"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4f"}}}},"CreateUploadUrl":{"http":{"requestUri":"/createuploadurl/","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"importId":{},"uploadUrl":{}}}},"DeleteBot":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/","responseCode":202},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botId":{},"botStatus":{}}}},"DeleteBotAlias":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":202},"input":{"type":"structure","required":["botAliasId","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botId":{"location":"uri","locationName":"botId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botAliasId":{},"botId":{},"botAliasStatus":{}}}},"DeleteBotLocale":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botLocaleStatus":{}}}},"DeleteBotVersion":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"botStatus":{}}}},"DeleteExport":{"http":{"method":"DELETE","requestUri":"/exports/{exportId}/","responseCode":202},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","members":{"exportId":{},"exportStatus":{}}}},"DeleteImport":{"http":{"method":"DELETE","requestUri":"/imports/{importId}/","responseCode":202},"input":{"type":"structure","required":["importId"],"members":{"importId":{"location":"uri","locationName":"importId"}}},"output":{"type":"structure","members":{"importId":{},"importStatus":{}}}},"DeleteIntent":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":204},"input":{"type":"structure","required":["intentId","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}}},"DeleteResourcePolicy":{"http":{"method":"DELETE","requestUri":"/policy/{resourceArn}/","responseCode":204},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"DeleteResourcePolicyStatement":{"http":{"method":"DELETE","requestUri":"/policy/{resourceArn}/statements/{statementId}/","responseCode":204},"input":{"type":"structure","required":["resourceArn","statementId"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"statementId":{"location":"uri","locationName":"statementId"},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"DeleteSlot":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":204},"input":{"type":"structure","required":["slotId","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"}}}},"DeleteSlotType":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":204},"input":{"type":"structure","required":["slotTypeId","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}}},"DeleteUtterances":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/utterances/","responseCode":204},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"localeId":{"location":"querystring","locationName":"localeId"},"sessionId":{"location":"querystring","locationName":"sessionId"}}},"output":{"type":"structure","members":{}}},"DescribeBot":{"http":{"method":"GET","requestUri":"/bots/{botId}/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeBotAlias":{"http":{"method":"GET","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":200},"input":{"type":"structure","required":["botAliasId","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasHistoryEvents":{"type":"list","member":{"type":"structure","members":{"botVersion":{},"startDate":{"type":"timestamp"},"endDate":{"type":"timestamp"}}}},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeBotLocale":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"localeName":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"intentsCount":{"type":"integer"},"slotTypesCount":{"type":"integer"},"botLocaleStatus":{},"failureReasons":{"shape":"S5l"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"lastBuildSubmittedDateTime":{"type":"timestamp"},"botLocaleHistoryEvents":{"type":"list","member":{"type":"structure","required":["event","eventDate"],"members":{"event":{},"eventDate":{"type":"timestamp"}}}},"recommendedActions":{"shape":"S5q"}}}},"DescribeBotRecommendation":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"failureReasons":{"shape":"S5l"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S5v"},"encryptionSetting":{"shape":"S64"},"botRecommendationResults":{"type":"structure","members":{"botLocaleExportUrl":{},"associatedTranscriptsUrl":{},"statistics":{"type":"structure","members":{"intents":{"type":"structure","members":{"discoveredIntentCount":{"type":"integer"}}},"slotTypes":{"type":"structure","members":{"discoveredSlotTypeCount":{"type":"integer"}}}}}}}}}},"DescribeBotVersion":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"botVersion":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"failureReasons":{"shape":"S5l"},"creationDateTime":{"type":"timestamp"}}}},"DescribeExport":{"http":{"method":"GET","requestUri":"/exports/{exportId}/","responseCode":200},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"failureReasons":{"shape":"S5l"},"downloadUrl":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeImport":{"http":{"method":"GET","requestUri":"/imports/{importId}/","responseCode":200},"input":{"type":"structure","required":["importId"],"members":{"importId":{"location":"uri","locationName":"importId"}}},"output":{"type":"structure","members":{"importId":{},"resourceSpecification":{"shape":"S6h"},"importedResourceId":{},"importedResourceName":{},"mergeStrategy":{},"importStatus":{},"failureReasons":{"shape":"S5l"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeIntent":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":200},"input":{"type":"structure","required":["intentId","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1w"},"dialogCodeHook":{"shape":"S1z"},"fulfillmentCodeHook":{"shape":"S20"},"slotPriorities":{"shape":"S6o"},"intentConfirmationSetting":{"shape":"S2r"},"intentClosingSetting":{"shape":"S2u"},"inputContexts":{"shape":"S2v"},"outputContexts":{"shape":"S2x"},"kendraConfiguration":{"shape":"S31"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeResourcePolicy":{"http":{"method":"GET","requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"resourceArn":{},"policy":{},"revisionId":{}}}},"DescribeSlot":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":200},"input":{"type":"structure","required":["slotId","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3q"},"obfuscationSetting":{"shape":"S40"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S42"}}}},"DescribeSlotType":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":200},"input":{"type":"structure","required":["slotTypeId","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S45"},"valueSelectionSetting":{"shape":"S4a"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4f"}}}},"ListAggregatedUtterances":{"http":{"requestUri":"/bots/{botId}/aggregatedutterances/","responseCode":200},"input":{"type":"structure","required":["botId","localeId","aggregationDuration"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{},"botVersion":{},"localeId":{},"aggregationDuration":{"shape":"S6y"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S78"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botAliasId":{},"botVersion":{},"localeId":{},"aggregationDuration":{"shape":"S6y"},"aggregationWindowStartTime":{"type":"timestamp"},"aggregationWindowEndTime":{"type":"timestamp"},"aggregationLastRefreshedDateTime":{"type":"timestamp"},"aggregatedUtterancesSummaries":{"type":"list","member":{"type":"structure","members":{"utterance":{},"hitCount":{"type":"integer"},"missedCount":{"type":"integer"},"utteranceFirstRecordedInAggregationDuration":{"type":"timestamp"},"utteranceLastRecordedInAggregationDuration":{"type":"timestamp"},"containsDataFromDeletedResources":{"type":"boolean"}}}},"nextToken":{}}}},"ListBotAliases":{"http":{"requestUri":"/bots/{botId}/botaliases/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botAliasSummaries":{"type":"list","member":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{},"botId":{}}}},"ListBotLocales":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S78"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"nextToken":{},"botLocaleSummaries":{"type":"list","member":{"type":"structure","members":{"localeId":{},"localeName":{},"description":{},"botLocaleStatus":{},"lastUpdatedDateTime":{"type":"timestamp"},"lastBuildSubmittedDateTime":{"type":"timestamp"}}}}}}},"ListBotRecommendations":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationSummaries":{"type":"list","member":{"type":"structure","required":["botRecommendationStatus","botRecommendationId"],"members":{"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBotVersions":{"http":{"requestUri":"/bots/{botId}/botversions/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersionSummaries":{"type":"list","member":{"type":"structure","members":{"botName":{},"botVersion":{},"description":{},"botStatus":{},"creationDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBots":{"http":{"requestUri":"/bots/","responseCode":200},"input":{"type":"structure","members":{"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S78"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botSummaries":{"type":"list","member":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"botStatus":{},"latestBotVersion":{},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBuiltInIntents":{"http":{"requestUri":"/builtins/locales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["localeId"],"members":{"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"builtInIntentSummaries":{"type":"list","member":{"type":"structure","members":{"intentSignature":{},"description":{}}}},"nextToken":{},"localeId":{}}}},"ListBuiltInSlotTypes":{"http":{"requestUri":"/builtins/locales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["localeId"],"members":{"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"builtInSlotTypeSummaries":{"type":"list","member":{"type":"structure","members":{"slotTypeSignature":{},"description":{}}}},"nextToken":{},"localeId":{}}}},"ListExports":{"http":{"requestUri":"/exports/","responseCode":200},"input":{"type":"structure","members":{"botId":{},"botVersion":{},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S78"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"exportSummaries":{"type":"list","member":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListImports":{"http":{"requestUri":"/imports/","responseCode":200},"input":{"type":"structure","members":{"botId":{},"botVersion":{},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S78"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"importSummaries":{"type":"list","member":{"type":"structure","members":{"importId":{},"importedResourceId":{},"importedResourceName":{},"importStatus":{},"mergeStrategy":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListIntents":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S78"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"intentSummaries":{"type":"list","member":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"inputContexts":{"shape":"S2v"},"outputContexts":{"shape":"S2x"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListRecommendedIntents":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/intents","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationId":{},"summaryList":{"type":"list","member":{"type":"structure","members":{"intentId":{},"intentName":{},"sampleUtterancesCount":{"type":"integer"}}}},"nextToken":{}}}},"ListSlotTypes":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S78"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"slotTypeSummaries":{"type":"list","member":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"parentSlotTypeSignature":{},"lastUpdatedDateTime":{"type":"timestamp"},"slotTypeCategory":{}}}},"nextToken":{}}}},"ListSlots":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","intentId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S78"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"intentId":{},"slotSummaries":{"type":"list","member":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotConstraint":{},"slotTypeId":{},"valueElicitationPromptSpecification":{"shape":"S2s"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sf"}}}},"SearchAssociatedTranscripts":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/associatedtranscripts","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId","filters"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"searchOrder":{},"filters":{"type":"list","member":{"type":"structure","required":["name","values"],"members":{"name":{},"values":{"shape":"S78"}}}},"maxResults":{"type":"integer"},"nextIndex":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationId":{},"nextIndex":{"type":"integer"},"associatedTranscripts":{"type":"list","member":{"type":"structure","members":{"transcript":{}}}},"totalResults":{"type":"integer"}}}},"StartBotRecommendation":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","transcriptSourceSetting"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"transcriptSourceSetting":{"shape":"S5v"},"encryptionSetting":{"shape":"S64"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S5v"},"encryptionSetting":{"shape":"S64"}}}},"StartImport":{"http":{"method":"PUT","requestUri":"/imports/","responseCode":202},"input":{"type":"structure","required":["importId","resourceSpecification","mergeStrategy"],"members":{"importId":{},"resourceSpecification":{"shape":"S6h"},"mergeStrategy":{},"filePassword":{"shape":"S1r"}}},"output":{"type":"structure","members":{"importId":{},"resourceSpecification":{"shape":"S6h"},"mergeStrategy":{},"importStatus":{},"creationDateTime":{"type":"timestamp"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN","tags"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"},"tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN","tagKeys"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateBot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/","responseCode":202},"input":{"type":"structure","required":["botId","botName","roleArn","dataPrivacy","idleSessionTTLInSeconds"],"members":{"botId":{"location":"uri","locationName":"botId"},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateBotAlias":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":202},"input":{"type":"structure","required":["botAliasId","botAliasName","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateBotLocale":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","nluIntentConfidenceThreshold"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"localeName":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"botLocaleStatus":{},"failureReasons":{"shape":"S5l"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"recommendedActions":{"shape":"S5q"}}}},"UpdateBotRecommendation":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId","encryptionSetting"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"encryptionSetting":{"shape":"S64"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S5v"},"encryptionSetting":{"shape":"S64"}}}},"UpdateExport":{"http":{"method":"PUT","requestUri":"/exports/{exportId}/","responseCode":202},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"},"filePassword":{"shape":"S1r"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateIntent":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":200},"input":{"type":"structure","required":["intentId","intentName","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1w"},"dialogCodeHook":{"shape":"S1z"},"fulfillmentCodeHook":{"shape":"S20"},"slotPriorities":{"shape":"S6o"},"intentConfirmationSetting":{"shape":"S2r"},"intentClosingSetting":{"shape":"S2u"},"inputContexts":{"shape":"S2v"},"outputContexts":{"shape":"S2x"},"kendraConfiguration":{"shape":"S31"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1w"},"dialogCodeHook":{"shape":"S1z"},"fulfillmentCodeHook":{"shape":"S20"},"slotPriorities":{"shape":"S6o"},"intentConfirmationSetting":{"shape":"S2r"},"intentClosingSetting":{"shape":"S2u"},"inputContexts":{"shape":"S2v"},"outputContexts":{"shape":"S2x"},"kendraConfiguration":{"shape":"S31"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateResourcePolicy":{"http":{"method":"PUT","requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn","policy"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"policy":{},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"UpdateSlot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":200},"input":{"type":"structure","required":["slotId","slotName","slotTypeId","valueElicitationSetting","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3q"},"obfuscationSetting":{"shape":"S40"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"multipleValuesSetting":{"shape":"S42"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3q"},"obfuscationSetting":{"shape":"S40"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S42"}}}},"UpdateSlotType":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":202},"input":{"type":"structure","required":["slotTypeId","slotTypeName","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S45"},"valueSelectionSetting":{"shape":"S4a"},"parentSlotTypeSignature":{},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"externalSourceSetting":{"shape":"S4f"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S45"},"valueSelectionSetting":{"shape":"S4a"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4f"}}}}},"shapes":{"Sc":{"type":"structure","required":["childDirected"],"members":{"childDirected":{"type":"boolean"}}},"Sf":{"type":"map","key":{},"value":{}},"Sm":{"type":"map","key":{},"value":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"codeHookSpecification":{"type":"structure","required":["lambdaCodeHook"],"members":{"lambdaCodeHook":{"type":"structure","required":["lambdaARN","codeHookInterfaceVersion"],"members":{"lambdaARN":{},"codeHookInterfaceVersion":{}}}}}}}},"St":{"type":"structure","members":{"textLogSettings":{"type":"list","member":{"type":"structure","required":["enabled","destination"],"members":{"enabled":{"type":"boolean"},"destination":{"type":"structure","required":["cloudWatch"],"members":{"cloudWatch":{"type":"structure","required":["cloudWatchLogGroupArn","logPrefix"],"members":{"cloudWatchLogGroupArn":{},"logPrefix":{}}}}}}}},"audioLogSettings":{"type":"list","member":{"type":"structure","required":["enabled","destination"],"members":{"enabled":{"type":"boolean"},"destination":{"type":"structure","required":["s3Bucket"],"members":{"s3Bucket":{"type":"structure","required":["s3BucketArn","logPrefix"],"members":{"kmsKeyArn":{},"s3BucketArn":{},"logPrefix":{}}}}}}}}}},"S16":{"type":"structure","required":["detectSentiment"],"members":{"detectSentiment":{"type":"boolean"}}},"S1c":{"type":"structure","required":["voiceId"],"members":{"voiceId":{},"engine":{}}},"S1i":{"type":"map","key":{},"value":{"type":"structure","required":["sourceBotVersion"],"members":{"sourceBotVersion":{}}}},"S1n":{"type":"structure","members":{"botExportSpecification":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{},"botVersion":{}}},"botLocaleExportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}}}},"S1r":{"type":"string","sensitive":true},"S1w":{"type":"list","member":{"type":"structure","required":["utterance"],"members":{"utterance":{}}}},"S1z":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"}}},"S20":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"postFulfillmentStatusSpecification":{"type":"structure","members":{"successResponse":{"shape":"S22"},"failureResponse":{"shape":"S22"},"timeoutResponse":{"shape":"S22"}}},"fulfillmentUpdatesSpecification":{"type":"structure","required":["active"],"members":{"active":{"type":"boolean"},"startResponse":{"type":"structure","required":["delayInSeconds","messageGroups"],"members":{"delayInSeconds":{"type":"integer"},"messageGroups":{"shape":"S23"},"allowInterrupt":{"type":"boolean"}}},"updateResponse":{"type":"structure","required":["frequencyInSeconds","messageGroups"],"members":{"frequencyInSeconds":{"type":"integer"},"messageGroups":{"shape":"S23"},"allowInterrupt":{"type":"boolean"}}},"timeoutInSeconds":{"type":"integer"}}}}},"S22":{"type":"structure","required":["messageGroups"],"members":{"messageGroups":{"shape":"S23"},"allowInterrupt":{"type":"boolean"}}},"S23":{"type":"list","member":{"type":"structure","required":["message"],"members":{"message":{"shape":"S25"},"variations":{"type":"list","member":{"shape":"S25"}}}}},"S25":{"type":"structure","members":{"plainTextMessage":{"type":"structure","required":["value"],"members":{"value":{}}},"customPayload":{"type":"structure","required":["value"],"members":{"value":{}}},"ssmlMessage":{"type":"structure","required":["value"],"members":{"value":{}}},"imageResponseCard":{"type":"structure","required":["title"],"members":{"title":{},"subtitle":{},"imageUrl":{},"buttons":{"type":"list","member":{"type":"structure","required":["text","value"],"members":{"text":{},"value":{}}}}}}}},"S2r":{"type":"structure","required":["promptSpecification","declinationResponse"],"members":{"promptSpecification":{"shape":"S2s"},"declinationResponse":{"shape":"S22"},"active":{"type":"boolean"}}},"S2s":{"type":"structure","required":["messageGroups","maxRetries"],"members":{"messageGroups":{"shape":"S23"},"maxRetries":{"type":"integer"},"allowInterrupt":{"type":"boolean"}}},"S2u":{"type":"structure","required":["closingResponse"],"members":{"closingResponse":{"shape":"S22"},"active":{"type":"boolean"}}},"S2v":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{}}}},"S2x":{"type":"list","member":{"type":"structure","required":["name","timeToLiveInSeconds","turnsToLive"],"members":{"name":{},"timeToLiveInSeconds":{"type":"integer"},"turnsToLive":{"type":"integer"}}}},"S31":{"type":"structure","required":["kendraIndex"],"members":{"kendraIndex":{},"queryFilterStringEnabled":{"type":"boolean"},"queryFilterString":{}}},"S3q":{"type":"structure","required":["slotConstraint"],"members":{"defaultValueSpecification":{"type":"structure","required":["defaultValueList"],"members":{"defaultValueList":{"type":"list","member":{"type":"structure","required":["defaultValue"],"members":{"defaultValue":{}}}}}},"slotConstraint":{},"promptSpecification":{"shape":"S2s"},"sampleUtterances":{"shape":"S1w"},"waitAndContinueSpecification":{"type":"structure","required":["waitingResponse","continueResponse"],"members":{"waitingResponse":{"shape":"S22"},"continueResponse":{"shape":"S22"},"stillWaitingResponse":{"type":"structure","required":["messageGroups","frequencyInSeconds","timeoutInSeconds"],"members":{"messageGroups":{"shape":"S23"},"frequencyInSeconds":{"type":"integer"},"timeoutInSeconds":{"type":"integer"},"allowInterrupt":{"type":"boolean"}}},"active":{"type":"boolean"}}}}},"S40":{"type":"structure","required":["obfuscationSettingType"],"members":{"obfuscationSettingType":{}}},"S42":{"type":"structure","members":{"allowMultipleValues":{"type":"boolean"}}},"S45":{"type":"list","member":{"type":"structure","members":{"sampleValue":{"shape":"S47"},"synonyms":{"type":"list","member":{"shape":"S47"}}}}},"S47":{"type":"structure","required":["value"],"members":{"value":{}}},"S4a":{"type":"structure","required":["resolutionStrategy"],"members":{"resolutionStrategy":{},"regexFilter":{"type":"structure","required":["pattern"],"members":{"pattern":{}}}}},"S4f":{"type":"structure","members":{"grammarSlotTypeSetting":{"type":"structure","members":{"source":{"type":"structure","required":["s3BucketName","s3ObjectKey"],"members":{"s3BucketName":{},"s3ObjectKey":{},"kmsKeyArn":{}}}}}}},"S5l":{"type":"list","member":{}},"S5q":{"type":"list","member":{}},"S5v":{"type":"structure","members":{"s3BucketTranscriptSource":{"type":"structure","required":["s3BucketName","transcriptFormat"],"members":{"s3BucketName":{},"pathFormat":{"type":"structure","members":{"objectPrefixes":{"type":"list","member":{}}}},"transcriptFormat":{},"transcriptFilter":{"type":"structure","members":{"lexTranscriptFilter":{"type":"structure","members":{"dateRangeFilter":{"type":"structure","required":["startDateTime","endDateTime"],"members":{"startDateTime":{"type":"timestamp"},"endDateTime":{"type":"timestamp"}}}}}}},"kmsKeyArn":{}}}}},"S64":{"type":"structure","members":{"kmsKeyArn":{},"botLocaleExportPassword":{"shape":"S65"},"associatedTranscriptsPassword":{"shape":"S65"}}},"S65":{"type":"string","sensitive":true},"S6h":{"type":"structure","members":{"botImportSpecification":{"type":"structure","required":["botName","roleArn","dataPrivacy"],"members":{"botName":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}},"botLocaleImportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}}}},"S6o":{"type":"list","member":{"type":"structure","required":["priority","slotId"],"members":{"priority":{"type":"integer"},"slotId":{}}}},"S6y":{"type":"structure","required":["relativeAggregationDuration"],"members":{"relativeAggregationDuration":{"type":"structure","required":["timeDimension","timeValue"],"members":{"timeDimension":{},"timeValue":{"type":"integer"}}}}},"S78":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-07","endpointPrefix":"models-v2-lex","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Lex Models V2","serviceFullName":"Amazon Lex Model Building V2","serviceId":"Lex Models V2","signatureVersion":"v4","signingName":"lex","uid":"models.lex.v2-2020-08-07"},"operations":{"BuildBotLocale":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botLocaleStatus":{},"lastBuildSubmittedDateTime":{"type":"timestamp"}}}},"CreateBot":{"http":{"method":"PUT","requestUri":"/bots/","responseCode":202},"input":{"type":"structure","required":["botName","roleArn","dataPrivacy","idleSessionTTLInSeconds"],"members":{"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}}},"CreateBotAlias":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botaliases/","responseCode":202},"input":{"type":"structure","required":["botAliasName","botId"],"members":{"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botId":{"location":"uri","locationName":"botId"},"tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"tags":{"shape":"Sf"}}}},"CreateBotLocale":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","nluIntentConfidenceThreshold"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeName":{},"localeId":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"botLocaleStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateBotVersion":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/","responseCode":202},"input":{"type":"structure","required":["botId","botVersionLocaleSpecification"],"members":{"botId":{"location":"uri","locationName":"botId"},"description":{},"botVersionLocaleSpecification":{"shape":"S1i"}}},"output":{"type":"structure","members":{"botId":{},"description":{},"botVersion":{},"botVersionLocaleSpecification":{"shape":"S1i"},"botStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateExport":{"http":{"method":"PUT","requestUri":"/exports/","responseCode":202},"input":{"type":"structure","required":["resourceSpecification","fileFormat"],"members":{"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateIntent":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["intentName","botId","botVersion","localeId"],"members":{"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"}}}},"CreateResourcePolicy":{"http":{"requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn","policy"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"policy":{}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"CreateResourcePolicyStatement":{"http":{"requestUri":"/policy/{resourceArn}/statements/","responseCode":200},"input":{"type":"structure","required":["resourceArn","statementId","effect","principal","action"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"statementId":{},"effect":{},"principal":{"type":"list","member":{"type":"structure","members":{"service":{},"arn":{}}}},"action":{"type":"list","member":{}},"condition":{"type":"map","key":{},"value":{"type":"map","key":{},"value":{}}},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"CreateSlot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/","responseCode":200},"input":{"type":"structure","required":["slotName","slotTypeId","valueElicitationSetting","botId","botVersion","localeId","intentId"],"members":{"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"multipleValuesSetting":{"shape":"S43"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"CreateSlotType":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["slotTypeName","botId","botVersion","localeId"],"members":{"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"externalSourceSetting":{"shape":"S4i"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}},"CreateUploadUrl":{"http":{"requestUri":"/createuploadurl/","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"importId":{},"uploadUrl":{}}}},"DeleteBot":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/","responseCode":202},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botId":{},"botStatus":{}}}},"DeleteBotAlias":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":202},"input":{"type":"structure","required":["botAliasId","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botId":{"location":"uri","locationName":"botId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botAliasId":{},"botId":{},"botAliasStatus":{}}}},"DeleteBotLocale":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botLocaleStatus":{}}}},"DeleteBotVersion":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"botStatus":{}}}},"DeleteCustomVocabulary":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"customVocabularyStatus":{}}}},"DeleteExport":{"http":{"method":"DELETE","requestUri":"/exports/{exportId}/","responseCode":202},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","members":{"exportId":{},"exportStatus":{}}}},"DeleteImport":{"http":{"method":"DELETE","requestUri":"/imports/{importId}/","responseCode":202},"input":{"type":"structure","required":["importId"],"members":{"importId":{"location":"uri","locationName":"importId"}}},"output":{"type":"structure","members":{"importId":{},"importStatus":{}}}},"DeleteIntent":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":204},"input":{"type":"structure","required":["intentId","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}}},"DeleteResourcePolicy":{"http":{"method":"DELETE","requestUri":"/policy/{resourceArn}/","responseCode":204},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"DeleteResourcePolicyStatement":{"http":{"method":"DELETE","requestUri":"/policy/{resourceArn}/statements/{statementId}/","responseCode":204},"input":{"type":"structure","required":["resourceArn","statementId"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"statementId":{"location":"uri","locationName":"statementId"},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"DeleteSlot":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":204},"input":{"type":"structure","required":["slotId","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"}}}},"DeleteSlotType":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":204},"input":{"type":"structure","required":["slotTypeId","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}}},"DeleteUtterances":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/utterances/","responseCode":204},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"localeId":{"location":"querystring","locationName":"localeId"},"sessionId":{"location":"querystring","locationName":"sessionId"}}},"output":{"type":"structure","members":{}}},"DescribeBot":{"http":{"method":"GET","requestUri":"/bots/{botId}/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeBotAlias":{"http":{"method":"GET","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":200},"input":{"type":"structure","required":["botAliasId","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasHistoryEvents":{"type":"list","member":{"type":"structure","members":{"botVersion":{},"startDate":{"type":"timestamp"},"endDate":{"type":"timestamp"}}}},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeBotLocale":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"localeName":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"intentsCount":{"type":"integer"},"slotTypesCount":{"type":"integer"},"botLocaleStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"lastBuildSubmittedDateTime":{"type":"timestamp"},"botLocaleHistoryEvents":{"type":"list","member":{"type":"structure","required":["event","eventDate"],"members":{"event":{},"eventDate":{"type":"timestamp"}}}},"recommendedActions":{"shape":"S5w"}}}},"DescribeBotRecommendation":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"},"botRecommendationResults":{"type":"structure","members":{"botLocaleExportUrl":{},"associatedTranscriptsUrl":{},"statistics":{"type":"structure","members":{"intents":{"type":"structure","members":{"discoveredIntentCount":{"type":"integer"}}},"slotTypes":{"type":"structure","members":{"discoveredSlotTypeCount":{"type":"integer"}}}}}}}}}},"DescribeBotVersion":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"botVersion":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"}}}},"DescribeCustomVocabularyMetadata":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/metadata","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"customVocabularyStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeExport":{"http":{"method":"GET","requestUri":"/exports/{exportId}/","responseCode":200},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"failureReasons":{"shape":"S5r"},"downloadUrl":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeImport":{"http":{"method":"GET","requestUri":"/imports/{importId}/","responseCode":200},"input":{"type":"structure","required":["importId"],"members":{"importId":{"location":"uri","locationName":"importId"}}},"output":{"type":"structure","members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"importedResourceId":{},"importedResourceName":{},"mergeStrategy":{},"importStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeIntent":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":200},"input":{"type":"structure","required":["intentId","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeResourcePolicy":{"http":{"method":"GET","requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"resourceArn":{},"policy":{},"revisionId":{}}}},"DescribeSlot":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":200},"input":{"type":"structure","required":["slotId","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"DescribeSlotType":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":200},"input":{"type":"structure","required":["slotTypeId","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}},"ListAggregatedUtterances":{"http":{"requestUri":"/bots/{botId}/aggregatedutterances/","responseCode":200},"input":{"type":"structure","required":["botId","localeId","aggregationDuration"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{},"botVersion":{},"localeId":{},"aggregationDuration":{"shape":"S77"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botAliasId":{},"botVersion":{},"localeId":{},"aggregationDuration":{"shape":"S77"},"aggregationWindowStartTime":{"type":"timestamp"},"aggregationWindowEndTime":{"type":"timestamp"},"aggregationLastRefreshedDateTime":{"type":"timestamp"},"aggregatedUtterancesSummaries":{"type":"list","member":{"type":"structure","members":{"utterance":{},"hitCount":{"type":"integer"},"missedCount":{"type":"integer"},"utteranceFirstRecordedInAggregationDuration":{"type":"timestamp"},"utteranceLastRecordedInAggregationDuration":{"type":"timestamp"},"containsDataFromDeletedResources":{"type":"boolean"}}}},"nextToken":{}}}},"ListBotAliases":{"http":{"requestUri":"/bots/{botId}/botaliases/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botAliasSummaries":{"type":"list","member":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{},"botId":{}}}},"ListBotLocales":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"nextToken":{},"botLocaleSummaries":{"type":"list","member":{"type":"structure","members":{"localeId":{},"localeName":{},"description":{},"botLocaleStatus":{},"lastUpdatedDateTime":{"type":"timestamp"},"lastBuildSubmittedDateTime":{"type":"timestamp"}}}}}}},"ListBotRecommendations":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationSummaries":{"type":"list","member":{"type":"structure","required":["botRecommendationStatus","botRecommendationId"],"members":{"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBotVersions":{"http":{"requestUri":"/bots/{botId}/botversions/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersionSummaries":{"type":"list","member":{"type":"structure","members":{"botName":{},"botVersion":{},"description":{},"botStatus":{},"creationDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBots":{"http":{"requestUri":"/bots/","responseCode":200},"input":{"type":"structure","members":{"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botSummaries":{"type":"list","member":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"botStatus":{},"latestBotVersion":{},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBuiltInIntents":{"http":{"requestUri":"/builtins/locales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["localeId"],"members":{"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"builtInIntentSummaries":{"type":"list","member":{"type":"structure","members":{"intentSignature":{},"description":{}}}},"nextToken":{},"localeId":{}}}},"ListBuiltInSlotTypes":{"http":{"requestUri":"/builtins/locales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["localeId"],"members":{"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"builtInSlotTypeSummaries":{"type":"list","member":{"type":"structure","members":{"slotTypeSignature":{},"description":{}}}},"nextToken":{},"localeId":{}}}},"ListExports":{"http":{"requestUri":"/exports/","responseCode":200},"input":{"type":"structure","members":{"botId":{},"botVersion":{},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{},"localeId":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"exportSummaries":{"type":"list","member":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{},"localeId":{}}}},"ListImports":{"http":{"requestUri":"/imports/","responseCode":200},"input":{"type":"structure","members":{"botId":{},"botVersion":{},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{},"localeId":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"importSummaries":{"type":"list","member":{"type":"structure","members":{"importId":{},"importedResourceId":{},"importedResourceName":{},"importStatus":{},"mergeStrategy":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"importedResourceType":{}}}},"nextToken":{},"localeId":{}}}},"ListIntents":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"intentSummaries":{"type":"list","member":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListRecommendedIntents":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/intents","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationId":{},"summaryList":{"type":"list","member":{"type":"structure","members":{"intentId":{},"intentName":{},"sampleUtterancesCount":{"type":"integer"}}}},"nextToken":{}}}},"ListSlotTypes":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"slotTypeSummaries":{"type":"list","member":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"parentSlotTypeSignature":{},"lastUpdatedDateTime":{"type":"timestamp"},"slotTypeCategory":{}}}},"nextToken":{}}}},"ListSlots":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","intentId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"intentId":{},"slotSummaries":{"type":"list","member":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotConstraint":{},"slotTypeId":{},"valueElicitationPromptSpecification":{"shape":"S2t"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sf"}}}},"SearchAssociatedTranscripts":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/associatedtranscripts","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId","filters"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"searchOrder":{},"filters":{"type":"list","member":{"type":"structure","required":["name","values"],"members":{"name":{},"values":{"shape":"S7h"}}}},"maxResults":{"type":"integer"},"nextIndex":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationId":{},"nextIndex":{"type":"integer"},"associatedTranscripts":{"type":"list","member":{"type":"structure","members":{"transcript":{}}}},"totalResults":{"type":"integer"}}}},"StartBotRecommendation":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","transcriptSourceSetting"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}}},"StartImport":{"http":{"method":"PUT","requestUri":"/imports/","responseCode":202},"input":{"type":"structure","required":["importId","resourceSpecification","mergeStrategy"],"members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"mergeStrategy":{},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"mergeStrategy":{},"importStatus":{},"creationDateTime":{"type":"timestamp"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN","tags"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"},"tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN","tagKeys"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateBot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/","responseCode":202},"input":{"type":"structure","required":["botId","botName","roleArn","dataPrivacy","idleSessionTTLInSeconds"],"members":{"botId":{"location":"uri","locationName":"botId"},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateBotAlias":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":202},"input":{"type":"structure","required":["botAliasId","botAliasName","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateBotLocale":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","nluIntentConfidenceThreshold"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"localeName":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"botLocaleStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"recommendedActions":{"shape":"S5w"}}}},"UpdateBotRecommendation":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId","encryptionSetting"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"encryptionSetting":{"shape":"S6a"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}}},"UpdateExport":{"http":{"method":"PUT","requestUri":"/exports/{exportId}/","responseCode":202},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateIntent":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":200},"input":{"type":"structure","required":["intentId","intentName","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateResourcePolicy":{"http":{"method":"PUT","requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn","policy"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"policy":{},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"UpdateSlot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":200},"input":{"type":"structure","required":["slotId","slotName","slotTypeId","valueElicitationSetting","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"multipleValuesSetting":{"shape":"S43"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"UpdateSlotType":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":202},"input":{"type":"structure","required":["slotTypeId","slotTypeName","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"externalSourceSetting":{"shape":"S4i"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}}},"shapes":{"Sc":{"type":"structure","required":["childDirected"],"members":{"childDirected":{"type":"boolean"}}},"Sf":{"type":"map","key":{},"value":{}},"Sm":{"type":"map","key":{},"value":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"codeHookSpecification":{"type":"structure","required":["lambdaCodeHook"],"members":{"lambdaCodeHook":{"type":"structure","required":["lambdaARN","codeHookInterfaceVersion"],"members":{"lambdaARN":{},"codeHookInterfaceVersion":{}}}}}}}},"St":{"type":"structure","members":{"textLogSettings":{"type":"list","member":{"type":"structure","required":["enabled","destination"],"members":{"enabled":{"type":"boolean"},"destination":{"type":"structure","required":["cloudWatch"],"members":{"cloudWatch":{"type":"structure","required":["cloudWatchLogGroupArn","logPrefix"],"members":{"cloudWatchLogGroupArn":{},"logPrefix":{}}}}}}}},"audioLogSettings":{"type":"list","member":{"type":"structure","required":["enabled","destination"],"members":{"enabled":{"type":"boolean"},"destination":{"type":"structure","required":["s3Bucket"],"members":{"s3Bucket":{"type":"structure","required":["s3BucketArn","logPrefix"],"members":{"kmsKeyArn":{},"s3BucketArn":{},"logPrefix":{}}}}}}}}}},"S16":{"type":"structure","required":["detectSentiment"],"members":{"detectSentiment":{"type":"boolean"}}},"S1c":{"type":"structure","required":["voiceId"],"members":{"voiceId":{},"engine":{}}},"S1i":{"type":"map","key":{},"value":{"type":"structure","required":["sourceBotVersion"],"members":{"sourceBotVersion":{}}}},"S1n":{"type":"structure","members":{"botExportSpecification":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{},"botVersion":{}}},"botLocaleExportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}},"customVocabularyExportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}}}},"S1s":{"type":"string","sensitive":true},"S1x":{"type":"list","member":{"type":"structure","required":["utterance"],"members":{"utterance":{}}}},"S20":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"}}},"S21":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"postFulfillmentStatusSpecification":{"type":"structure","members":{"successResponse":{"shape":"S23"},"failureResponse":{"shape":"S23"},"timeoutResponse":{"shape":"S23"}}},"fulfillmentUpdatesSpecification":{"type":"structure","required":["active"],"members":{"active":{"type":"boolean"},"startResponse":{"type":"structure","required":["delayInSeconds","messageGroups"],"members":{"delayInSeconds":{"type":"integer"},"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"updateResponse":{"type":"structure","required":["frequencyInSeconds","messageGroups"],"members":{"frequencyInSeconds":{"type":"integer"},"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"timeoutInSeconds":{"type":"integer"}}}}},"S23":{"type":"structure","required":["messageGroups"],"members":{"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"S24":{"type":"list","member":{"type":"structure","required":["message"],"members":{"message":{"shape":"S26"},"variations":{"type":"list","member":{"shape":"S26"}}}}},"S26":{"type":"structure","members":{"plainTextMessage":{"type":"structure","required":["value"],"members":{"value":{}}},"customPayload":{"type":"structure","required":["value"],"members":{"value":{}}},"ssmlMessage":{"type":"structure","required":["value"],"members":{"value":{}}},"imageResponseCard":{"type":"structure","required":["title"],"members":{"title":{},"subtitle":{},"imageUrl":{},"buttons":{"type":"list","member":{"type":"structure","required":["text","value"],"members":{"text":{},"value":{}}}}}}}},"S2s":{"type":"structure","required":["promptSpecification","declinationResponse"],"members":{"promptSpecification":{"shape":"S2t"},"declinationResponse":{"shape":"S23"},"active":{"type":"boolean"}}},"S2t":{"type":"structure","required":["messageGroups","maxRetries"],"members":{"messageGroups":{"shape":"S24"},"maxRetries":{"type":"integer"},"allowInterrupt":{"type":"boolean"}}},"S2v":{"type":"structure","required":["closingResponse"],"members":{"closingResponse":{"shape":"S23"},"active":{"type":"boolean"}}},"S2w":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{}}}},"S2y":{"type":"list","member":{"type":"structure","required":["name","timeToLiveInSeconds","turnsToLive"],"members":{"name":{},"timeToLiveInSeconds":{"type":"integer"},"turnsToLive":{"type":"integer"}}}},"S32":{"type":"structure","required":["kendraIndex"],"members":{"kendraIndex":{},"queryFilterStringEnabled":{"type":"boolean"},"queryFilterString":{}}},"S3r":{"type":"structure","required":["slotConstraint"],"members":{"defaultValueSpecification":{"type":"structure","required":["defaultValueList"],"members":{"defaultValueList":{"type":"list","member":{"type":"structure","required":["defaultValue"],"members":{"defaultValue":{}}}}}},"slotConstraint":{},"promptSpecification":{"shape":"S2t"},"sampleUtterances":{"shape":"S1x"},"waitAndContinueSpecification":{"type":"structure","required":["waitingResponse","continueResponse"],"members":{"waitingResponse":{"shape":"S23"},"continueResponse":{"shape":"S23"},"stillWaitingResponse":{"type":"structure","required":["messageGroups","frequencyInSeconds","timeoutInSeconds"],"members":{"messageGroups":{"shape":"S24"},"frequencyInSeconds":{"type":"integer"},"timeoutInSeconds":{"type":"integer"},"allowInterrupt":{"type":"boolean"}}},"active":{"type":"boolean"}}}}},"S41":{"type":"structure","required":["obfuscationSettingType"],"members":{"obfuscationSettingType":{}}},"S43":{"type":"structure","members":{"allowMultipleValues":{"type":"boolean"}}},"S46":{"type":"list","member":{"type":"structure","members":{"sampleValue":{"shape":"S48"},"synonyms":{"type":"list","member":{"shape":"S48"}}}}},"S48":{"type":"structure","required":["value"],"members":{"value":{}}},"S4b":{"type":"structure","required":["resolutionStrategy"],"members":{"resolutionStrategy":{},"regexFilter":{"type":"structure","required":["pattern"],"members":{"pattern":{}}},"advancedRecognitionSetting":{"type":"structure","members":{"audioRecognitionStrategy":{}}}}},"S4i":{"type":"structure","members":{"grammarSlotTypeSetting":{"type":"structure","members":{"source":{"type":"structure","required":["s3BucketName","s3ObjectKey"],"members":{"s3BucketName":{},"s3ObjectKey":{},"kmsKeyArn":{}}}}}}},"S5r":{"type":"list","member":{}},"S5w":{"type":"list","member":{}},"S61":{"type":"structure","members":{"s3BucketTranscriptSource":{"type":"structure","required":["s3BucketName","transcriptFormat"],"members":{"s3BucketName":{},"pathFormat":{"type":"structure","members":{"objectPrefixes":{"type":"list","member":{}}}},"transcriptFormat":{},"transcriptFilter":{"type":"structure","members":{"lexTranscriptFilter":{"type":"structure","members":{"dateRangeFilter":{"type":"structure","required":["startDateTime","endDateTime"],"members":{"startDateTime":{"type":"timestamp"},"endDateTime":{"type":"timestamp"}}}}}}},"kmsKeyArn":{}}}}},"S6a":{"type":"structure","members":{"kmsKeyArn":{},"botLocaleExportPassword":{"shape":"S6b"},"associatedTranscriptsPassword":{"shape":"S6b"}}},"S6b":{"type":"string","sensitive":true},"S6p":{"type":"structure","members":{"botImportSpecification":{"type":"structure","required":["botName","roleArn","dataPrivacy"],"members":{"botName":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}},"botLocaleImportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"customVocabularyImportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}}}},"S6x":{"type":"list","member":{"type":"structure","required":["priority","slotId"],"members":{"priority":{"type":"integer"},"slotId":{}}}},"S77":{"type":"structure","required":["relativeAggregationDuration"],"members":{"relativeAggregationDuration":{"type":"structure","required":["timeDimension","timeValue"],"members":{"timeDimension":{},"timeValue":{"type":"integer"}}}}},"S7h":{"type":"list","member":{}}}} /***/ }), /* 987 */ @@ -54142,7 +54148,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 990 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-07","endpointPrefix":"runtime-v2-lex","jsonVersion":"1.1","protocol":"rest-json","protocolSettings":{"h2":"eventstream"},"serviceAbbreviation":"Lex Runtime V2","serviceFullName":"Amazon Lex Runtime V2","serviceId":"Lex Runtime V2","signatureVersion":"v4","signingName":"lex","uid":"runtime.lex.v2-2020-08-07"},"operations":{"DeleteSession":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},"input":{"type":"structure","required":["botId","botAliasId","sessionId","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"}}},"output":{"type":"structure","members":{"botId":{},"botAliasId":{},"localeId":{},"sessionId":{}}}},"GetSession":{"http":{"method":"GET","requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},"input":{"type":"structure","required":["botId","botAliasId","localeId","sessionId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"}}},"output":{"type":"structure","members":{"sessionId":{},"messages":{"shape":"Sa"},"interpretations":{"shape":"Sl"},"sessionState":{"shape":"S11"}}}},"PutSession":{"http":{"requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},"input":{"type":"structure","required":["botId","botAliasId","localeId","sessionState","sessionId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"},"messages":{"shape":"Sa"},"sessionState":{"shape":"S11"},"requestAttributes":{"shape":"S1d"},"responseContentType":{"location":"header","locationName":"ResponseContentType"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"messages":{"location":"header","locationName":"x-amz-lex-messages"},"sessionState":{"location":"header","locationName":"x-amz-lex-session-state"},"requestAttributes":{"location":"header","locationName":"x-amz-lex-request-attributes"},"sessionId":{"location":"header","locationName":"x-amz-lex-session-id"},"audioStream":{"shape":"S1h"}},"payload":"audioStream"}},"RecognizeText":{"http":{"requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text"},"input":{"type":"structure","required":["botId","botAliasId","localeId","text","sessionId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"},"text":{"shape":"Sc"},"sessionState":{"shape":"S11"},"requestAttributes":{"shape":"S1d"}}},"output":{"type":"structure","members":{"messages":{"shape":"Sa"},"sessionState":{"shape":"S11"},"interpretations":{"shape":"Sl"},"requestAttributes":{"shape":"S1d"},"sessionId":{}}}},"RecognizeUtterance":{"http":{"requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance"},"input":{"type":"structure","required":["botId","botAliasId","localeId","requestContentType","sessionId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"},"sessionState":{"shape":"S1l","location":"header","locationName":"x-amz-lex-session-state"},"requestAttributes":{"shape":"S1l","location":"header","locationName":"x-amz-lex-request-attributes"},"requestContentType":{"location":"header","locationName":"Content-Type"},"responseContentType":{"location":"header","locationName":"Response-Content-Type"},"inputStream":{"shape":"S1h"}},"payload":"inputStream"},"output":{"type":"structure","members":{"inputMode":{"location":"header","locationName":"x-amz-lex-input-mode"},"contentType":{"location":"header","locationName":"Content-Type"},"messages":{"location":"header","locationName":"x-amz-lex-messages"},"interpretations":{"location":"header","locationName":"x-amz-lex-interpretations"},"sessionState":{"location":"header","locationName":"x-amz-lex-session-state"},"requestAttributes":{"location":"header","locationName":"x-amz-lex-request-attributes"},"sessionId":{"location":"header","locationName":"x-amz-lex-session-id"},"inputTranscript":{"location":"header","locationName":"x-amz-lex-input-transcript"},"audioStream":{"shape":"S1h"}},"payload":"audioStream"},"authtype":"v4-unsigned-body"}},"shapes":{"Sa":{"type":"list","member":{"type":"structure","required":["contentType"],"members":{"content":{"shape":"Sc"},"contentType":{},"imageResponseCard":{"type":"structure","required":["title"],"members":{"title":{},"subtitle":{},"imageUrl":{},"buttons":{"type":"list","member":{"type":"structure","required":["text","value"],"members":{"text":{},"value":{}}}}}}}}},"Sc":{"type":"string","sensitive":true},"Sl":{"type":"list","member":{"type":"structure","members":{"nluConfidence":{"type":"structure","members":{"score":{"type":"double"}}},"sentimentResponse":{"type":"structure","members":{"sentiment":{},"sentimentScore":{"type":"structure","members":{"positive":{"type":"double"},"negative":{"type":"double"},"neutral":{"type":"double"},"mixed":{"type":"double"}}}}},"intent":{"shape":"Ss"}}}},"Ss":{"type":"structure","required":["name"],"members":{"name":{},"slots":{"type":"map","key":{},"value":{"shape":"Su"}},"state":{},"confirmationState":{}}},"Su":{"type":"structure","members":{"value":{"type":"structure","required":["interpretedValue"],"members":{"originalValue":{},"interpretedValue":{},"resolvedValues":{"type":"list","member":{}}}},"shape":{},"values":{"type":"list","member":{"shape":"Su"}}}},"S11":{"type":"structure","members":{"dialogAction":{"type":"structure","required":["type"],"members":{"type":{},"slotToElicit":{},"slotElicitationStyle":{}}},"intent":{"shape":"Ss"},"activeContexts":{"type":"list","member":{"type":"structure","required":["name","timeToLive","contextAttributes"],"members":{"name":{},"timeToLive":{"type":"structure","required":["timeToLiveInSeconds","turnsToLive"],"members":{"timeToLiveInSeconds":{"type":"integer"},"turnsToLive":{"type":"integer"}}},"contextAttributes":{"type":"map","key":{},"value":{"shape":"Sc"}}}}},"sessionAttributes":{"shape":"S1d"},"originatingRequestId":{}}},"S1d":{"type":"map","key":{},"value":{}},"S1h":{"type":"blob","streaming":true},"S1l":{"type":"string","sensitive":true}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-07","endpointPrefix":"runtime-v2-lex","jsonVersion":"1.1","protocol":"rest-json","protocolSettings":{"h2":"eventstream"},"serviceAbbreviation":"Lex Runtime V2","serviceFullName":"Amazon Lex Runtime V2","serviceId":"Lex Runtime V2","signatureVersion":"v4","signingName":"lex","uid":"runtime.lex.v2-2020-08-07"},"operations":{"DeleteSession":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},"input":{"type":"structure","required":["botId","botAliasId","sessionId","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"}}},"output":{"type":"structure","members":{"botId":{},"botAliasId":{},"localeId":{},"sessionId":{}}}},"GetSession":{"http":{"method":"GET","requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},"input":{"type":"structure","required":["botId","botAliasId","localeId","sessionId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"}}},"output":{"type":"structure","members":{"sessionId":{},"messages":{"shape":"Sa"},"interpretations":{"shape":"Sl"},"sessionState":{"shape":"S11"}}}},"PutSession":{"http":{"requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},"input":{"type":"structure","required":["botId","botAliasId","localeId","sessionState","sessionId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"},"messages":{"shape":"Sa"},"sessionState":{"shape":"S11"},"requestAttributes":{"shape":"S1d"},"responseContentType":{"location":"header","locationName":"ResponseContentType"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"messages":{"location":"header","locationName":"x-amz-lex-messages"},"sessionState":{"location":"header","locationName":"x-amz-lex-session-state"},"requestAttributes":{"location":"header","locationName":"x-amz-lex-request-attributes"},"sessionId":{"location":"header","locationName":"x-amz-lex-session-id"},"audioStream":{"shape":"S1p"}},"payload":"audioStream"}},"RecognizeText":{"http":{"requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text"},"input":{"type":"structure","required":["botId","botAliasId","localeId","text","sessionId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"},"text":{"shape":"Sc"},"sessionState":{"shape":"S11"},"requestAttributes":{"shape":"S1d"}}},"output":{"type":"structure","members":{"messages":{"shape":"Sa"},"sessionState":{"shape":"S11"},"interpretations":{"shape":"Sl"},"requestAttributes":{"shape":"S1d"},"sessionId":{}}}},"RecognizeUtterance":{"http":{"requestUri":"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance"},"input":{"type":"structure","required":["botId","botAliasId","localeId","requestContentType","sessionId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{"location":"uri","locationName":"botAliasId"},"localeId":{"location":"uri","locationName":"localeId"},"sessionId":{"location":"uri","locationName":"sessionId"},"sessionState":{"shape":"S1t","location":"header","locationName":"x-amz-lex-session-state"},"requestAttributes":{"shape":"S1t","location":"header","locationName":"x-amz-lex-request-attributes"},"requestContentType":{"location":"header","locationName":"Content-Type"},"responseContentType":{"location":"header","locationName":"Response-Content-Type"},"inputStream":{"shape":"S1p"}},"payload":"inputStream"},"output":{"type":"structure","members":{"inputMode":{"location":"header","locationName":"x-amz-lex-input-mode"},"contentType":{"location":"header","locationName":"Content-Type"},"messages":{"location":"header","locationName":"x-amz-lex-messages"},"interpretations":{"location":"header","locationName":"x-amz-lex-interpretations"},"sessionState":{"location":"header","locationName":"x-amz-lex-session-state"},"requestAttributes":{"location":"header","locationName":"x-amz-lex-request-attributes"},"sessionId":{"location":"header","locationName":"x-amz-lex-session-id"},"inputTranscript":{"location":"header","locationName":"x-amz-lex-input-transcript"},"audioStream":{"shape":"S1p"}},"payload":"audioStream"},"authtype":"v4-unsigned-body"}},"shapes":{"Sa":{"type":"list","member":{"type":"structure","required":["contentType"],"members":{"content":{"shape":"Sc"},"contentType":{},"imageResponseCard":{"type":"structure","required":["title"],"members":{"title":{},"subtitle":{},"imageUrl":{},"buttons":{"type":"list","member":{"type":"structure","required":["text","value"],"members":{"text":{},"value":{}}}}}}}}},"Sc":{"type":"string","sensitive":true},"Sl":{"type":"list","member":{"type":"structure","members":{"nluConfidence":{"type":"structure","members":{"score":{"type":"double"}}},"sentimentResponse":{"type":"structure","members":{"sentiment":{},"sentimentScore":{"type":"structure","members":{"positive":{"type":"double"},"negative":{"type":"double"},"neutral":{"type":"double"},"mixed":{"type":"double"}}}}},"intent":{"shape":"Ss"}}}},"Ss":{"type":"structure","required":["name"],"members":{"name":{},"slots":{"type":"map","key":{},"value":{"shape":"Su"}},"state":{},"confirmationState":{}}},"Su":{"type":"structure","members":{"value":{"type":"structure","required":["interpretedValue"],"members":{"originalValue":{},"interpretedValue":{},"resolvedValues":{"type":"list","member":{}}}},"shape":{},"values":{"type":"list","member":{"shape":"Su"}}}},"S11":{"type":"structure","members":{"dialogAction":{"type":"structure","required":["type"],"members":{"type":{},"slotToElicit":{},"slotElicitationStyle":{}}},"intent":{"shape":"Ss"},"activeContexts":{"type":"list","member":{"type":"structure","required":["name","timeToLive","contextAttributes"],"members":{"name":{},"timeToLive":{"type":"structure","required":["timeToLiveInSeconds","turnsToLive"],"members":{"timeToLiveInSeconds":{"type":"integer"},"turnsToLive":{"type":"integer"}}},"contextAttributes":{"type":"map","key":{},"value":{"shape":"Sc"}}}}},"sessionAttributes":{"shape":"S1d"},"originatingRequestId":{},"runtimeHints":{"type":"structure","members":{"slotHints":{"type":"map","key":{},"value":{"type":"map","key":{},"value":{"type":"structure","required":["runtimeHintValues"],"members":{"runtimeHintValues":{"type":"list","member":{"type":"structure","required":["phrase"],"members":{"phrase":{}}}}}}}}}}}},"S1d":{"type":"map","key":{},"value":{}},"S1p":{"type":"blob","streaming":true},"S1t":{"type":"string","sensitive":true}}} /***/ }), /* 991 */ @@ -54178,13 +54184,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 993 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-12-01","endpointPrefix":"fis","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"FIS","serviceFullName":"AWS Fault Injection Simulator","serviceId":"fis","signatureVersion":"v4","signingName":"fis","uid":"fis-2020-12-01"},"operations":{"CreateExperimentTemplate":{"http":{"requestUri":"/experimentTemplates","responseCode":200},"input":{"type":"structure","required":["clientToken","description","stopConditions","actions","roleArn"],"members":{"clientToken":{"idempotencyToken":true},"description":{},"stopConditions":{"type":"list","member":{"type":"structure","required":["source"],"members":{"source":{},"value":{}}}},"targets":{"type":"map","key":{},"value":{"type":"structure","required":["resourceType","selectionMode"],"members":{"resourceType":{},"resourceArns":{"shape":"Sc"},"resourceTags":{"shape":"Se"},"filters":{"shape":"Sh"},"selectionMode":{}}}},"actions":{"type":"map","key":{},"value":{"type":"structure","required":["actionId"],"members":{"actionId":{},"description":{},"parameters":{"shape":"Ss"},"targets":{"shape":"Sv"},"startAfter":{"shape":"Sx"}}}},"roleArn":{},"tags":{"shape":"Se"}}},"output":{"type":"structure","members":{"experimentTemplate":{"shape":"S11"}}}},"DeleteExperimentTemplate":{"http":{"method":"DELETE","requestUri":"/experimentTemplates/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"experimentTemplate":{"shape":"S11"}}}},"GetAction":{"http":{"method":"GET","requestUri":"/actions/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"action":{"type":"structure","members":{"id":{},"description":{},"parameters":{"type":"map","key":{},"value":{"type":"structure","members":{"description":{},"required":{"type":"boolean"}}}},"targets":{"shape":"S1o"},"tags":{"shape":"Se"}}}}}},"GetExperiment":{"http":{"method":"GET","requestUri":"/experiments/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"experiment":{"shape":"S1v"}}}},"GetExperimentTemplate":{"http":{"method":"GET","requestUri":"/experimentTemplates/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"experimentTemplate":{"shape":"S11"}}}},"ListActions":{"http":{"method":"GET","requestUri":"/actions","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"actions":{"type":"list","member":{"type":"structure","members":{"id":{},"description":{},"targets":{"shape":"S1o"},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListExperimentTemplates":{"http":{"method":"GET","requestUri":"/experimentTemplates","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"experimentTemplates":{"type":"list","member":{"type":"structure","members":{"id":{},"description":{},"creationTime":{"type":"timestamp"},"lastUpdateTime":{"type":"timestamp"},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListExperiments":{"http":{"method":"GET","requestUri":"/experiments","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"experiments":{"type":"list","member":{"type":"structure","members":{"id":{},"experimentTemplateId":{},"state":{"shape":"S1w"},"creationTime":{"type":"timestamp"},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Se"}}}},"StartExperiment":{"http":{"requestUri":"/experiments","responseCode":200},"input":{"type":"structure","required":["clientToken","experimentTemplateId"],"members":{"clientToken":{"idempotencyToken":true},"experimentTemplateId":{},"tags":{"shape":"Se"}}},"output":{"type":"structure","members":{"experiment":{"shape":"S1v"}}}},"StopExperiment":{"http":{"method":"DELETE","requestUri":"/experiments/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"experiment":{"shape":"S1v"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Se"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateExperimentTemplate":{"http":{"method":"PATCH","requestUri":"/experimentTemplates/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"},"description":{},"stopConditions":{"type":"list","member":{"type":"structure","required":["source"],"members":{"source":{},"value":{}}}},"targets":{"type":"map","key":{},"value":{"type":"structure","required":["resourceType","selectionMode"],"members":{"resourceType":{},"resourceArns":{"shape":"Sc"},"resourceTags":{"shape":"Se"},"filters":{"shape":"Sh"},"selectionMode":{}}}},"actions":{"type":"map","key":{},"value":{"type":"structure","members":{"actionId":{},"description":{},"parameters":{"shape":"Ss"},"targets":{"shape":"Sv"},"startAfter":{"shape":"Sx"}}}},"roleArn":{}}},"output":{"type":"structure","members":{"experimentTemplate":{"shape":"S11"}}}}},"shapes":{"Sc":{"type":"list","member":{}},"Se":{"type":"map","key":{},"value":{}},"Sh":{"type":"list","member":{"type":"structure","required":["path","values"],"members":{"path":{},"values":{"shape":"Sk"}}}},"Sk":{"type":"list","member":{}},"Ss":{"type":"map","key":{},"value":{}},"Sv":{"type":"map","key":{},"value":{}},"Sx":{"type":"list","member":{}},"S11":{"type":"structure","members":{"id":{},"description":{},"targets":{"type":"map","key":{},"value":{"type":"structure","members":{"resourceType":{},"resourceArns":{"shape":"Sc"},"resourceTags":{"shape":"Se"},"filters":{"type":"list","member":{"type":"structure","members":{"path":{},"values":{"shape":"Sk"}}}},"selectionMode":{}}}},"actions":{"type":"map","key":{},"value":{"type":"structure","members":{"actionId":{},"description":{},"parameters":{"shape":"Ss"},"targets":{"shape":"Sv"},"startAfter":{"shape":"Sx"}}}},"stopConditions":{"type":"list","member":{"type":"structure","members":{"source":{},"value":{}}}},"creationTime":{"type":"timestamp"},"lastUpdateTime":{"type":"timestamp"},"roleArn":{},"tags":{"shape":"Se"}}},"S1o":{"type":"map","key":{},"value":{"type":"structure","members":{"resourceType":{}}}},"S1v":{"type":"structure","members":{"id":{},"experimentTemplateId":{},"roleArn":{},"state":{"shape":"S1w"},"targets":{"type":"map","key":{},"value":{"type":"structure","members":{"resourceType":{},"resourceArns":{"shape":"Sc"},"resourceTags":{"shape":"Se"},"filters":{"type":"list","member":{"type":"structure","members":{"path":{},"values":{"type":"list","member":{}}}}},"selectionMode":{}}}},"actions":{"type":"map","key":{},"value":{"type":"structure","members":{"actionId":{},"description":{},"parameters":{"type":"map","key":{},"value":{}},"targets":{"type":"map","key":{},"value":{}},"startAfter":{"type":"list","member":{}},"state":{"type":"structure","members":{"status":{},"reason":{}}}}}},"stopConditions":{"type":"list","member":{"type":"structure","members":{"source":{},"value":{}}}},"creationTime":{"type":"timestamp"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"tags":{"shape":"Se"}}},"S1w":{"type":"structure","members":{"status":{},"reason":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-12-01","endpointPrefix":"fis","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"FIS","serviceFullName":"AWS Fault Injection Simulator","serviceId":"fis","signatureVersion":"v4","signingName":"fis","uid":"fis-2020-12-01"},"operations":{"CreateExperimentTemplate":{"http":{"requestUri":"/experimentTemplates","responseCode":200},"input":{"type":"structure","required":["clientToken","description","stopConditions","actions","roleArn"],"members":{"clientToken":{"idempotencyToken":true},"description":{},"stopConditions":{"type":"list","member":{"type":"structure","required":["source"],"members":{"source":{},"value":{}}}},"targets":{"type":"map","key":{},"value":{"type":"structure","required":["resourceType","selectionMode"],"members":{"resourceType":{},"resourceArns":{"shape":"Sc"},"resourceTags":{"shape":"Se"},"filters":{"shape":"Sh"},"selectionMode":{},"parameters":{"shape":"Sn"}}}},"actions":{"type":"map","key":{},"value":{"type":"structure","required":["actionId"],"members":{"actionId":{},"description":{},"parameters":{"shape":"Sv"},"targets":{"shape":"Sy"},"startAfter":{"shape":"S10"}}}},"roleArn":{},"tags":{"shape":"Se"}}},"output":{"type":"structure","members":{"experimentTemplate":{"shape":"S14"}}}},"DeleteExperimentTemplate":{"http":{"method":"DELETE","requestUri":"/experimentTemplates/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"experimentTemplate":{"shape":"S14"}}}},"GetAction":{"http":{"method":"GET","requestUri":"/actions/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"action":{"type":"structure","members":{"id":{},"description":{},"parameters":{"type":"map","key":{},"value":{"type":"structure","members":{"description":{},"required":{"type":"boolean"}}}},"targets":{"shape":"S1r"},"tags":{"shape":"Se"}}}}}},"GetExperiment":{"http":{"method":"GET","requestUri":"/experiments/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"experiment":{"shape":"S1x"}}}},"GetExperimentTemplate":{"http":{"method":"GET","requestUri":"/experimentTemplates/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"experimentTemplate":{"shape":"S14"}}}},"GetTargetResourceType":{"http":{"method":"GET","requestUri":"/targetResourceTypes/{resourceType}","responseCode":200},"input":{"type":"structure","required":["resourceType"],"members":{"resourceType":{"location":"uri","locationName":"resourceType"}}},"output":{"type":"structure","members":{"targetResourceType":{"type":"structure","members":{"resourceType":{},"description":{},"parameters":{"type":"map","key":{},"value":{"type":"structure","members":{"description":{},"required":{"type":"boolean"}}}}}}}}},"ListActions":{"http":{"method":"GET","requestUri":"/actions","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"actions":{"type":"list","member":{"type":"structure","members":{"id":{},"description":{},"targets":{"shape":"S1r"},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListExperimentTemplates":{"http":{"method":"GET","requestUri":"/experimentTemplates","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"experimentTemplates":{"type":"list","member":{"type":"structure","members":{"id":{},"description":{},"creationTime":{"type":"timestamp"},"lastUpdateTime":{"type":"timestamp"},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListExperiments":{"http":{"method":"GET","requestUri":"/experiments","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"experiments":{"type":"list","member":{"type":"structure","members":{"id":{},"experimentTemplateId":{},"state":{"shape":"S1y"},"creationTime":{"type":"timestamp"},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Se"}}}},"ListTargetResourceTypes":{"http":{"method":"GET","requestUri":"/targetResourceTypes","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"targetResourceTypes":{"type":"list","member":{"type":"structure","members":{"resourceType":{},"description":{}}}},"nextToken":{}}}},"StartExperiment":{"http":{"requestUri":"/experiments","responseCode":200},"input":{"type":"structure","required":["clientToken","experimentTemplateId"],"members":{"clientToken":{"idempotencyToken":true},"experimentTemplateId":{},"tags":{"shape":"Se"}}},"output":{"type":"structure","members":{"experiment":{"shape":"S1x"}}}},"StopExperiment":{"http":{"method":"DELETE","requestUri":"/experiments/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"experiment":{"shape":"S1x"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Se"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateExperimentTemplate":{"http":{"method":"PATCH","requestUri":"/experimentTemplates/{id}","responseCode":200},"input":{"type":"structure","required":["id"],"members":{"id":{"location":"uri","locationName":"id"},"description":{},"stopConditions":{"type":"list","member":{"type":"structure","required":["source"],"members":{"source":{},"value":{}}}},"targets":{"type":"map","key":{},"value":{"type":"structure","required":["resourceType","selectionMode"],"members":{"resourceType":{},"resourceArns":{"shape":"Sc"},"resourceTags":{"shape":"Se"},"filters":{"shape":"Sh"},"selectionMode":{},"parameters":{"shape":"Sn"}}}},"actions":{"type":"map","key":{},"value":{"type":"structure","members":{"actionId":{},"description":{},"parameters":{"shape":"Sv"},"targets":{"shape":"Sy"},"startAfter":{"shape":"S10"}}}},"roleArn":{}}},"output":{"type":"structure","members":{"experimentTemplate":{"shape":"S14"}}}}},"shapes":{"Sc":{"type":"list","member":{}},"Se":{"type":"map","key":{},"value":{}},"Sh":{"type":"list","member":{"type":"structure","required":["path","values"],"members":{"path":{},"values":{"shape":"Sk"}}}},"Sk":{"type":"list","member":{}},"Sn":{"type":"map","key":{},"value":{}},"Sv":{"type":"map","key":{},"value":{}},"Sy":{"type":"map","key":{},"value":{}},"S10":{"type":"list","member":{}},"S14":{"type":"structure","members":{"id":{},"description":{},"targets":{"type":"map","key":{},"value":{"type":"structure","members":{"resourceType":{},"resourceArns":{"shape":"Sc"},"resourceTags":{"shape":"Se"},"filters":{"type":"list","member":{"type":"structure","members":{"path":{},"values":{"shape":"Sk"}}}},"selectionMode":{},"parameters":{"shape":"Sn"}}}},"actions":{"type":"map","key":{},"value":{"type":"structure","members":{"actionId":{},"description":{},"parameters":{"shape":"Sv"},"targets":{"shape":"Sy"},"startAfter":{"shape":"S10"}}}},"stopConditions":{"type":"list","member":{"type":"structure","members":{"source":{},"value":{}}}},"creationTime":{"type":"timestamp"},"lastUpdateTime":{"type":"timestamp"},"roleArn":{},"tags":{"shape":"Se"}}},"S1r":{"type":"map","key":{},"value":{"type":"structure","members":{"resourceType":{}}}},"S1x":{"type":"structure","members":{"id":{},"experimentTemplateId":{},"roleArn":{},"state":{"shape":"S1y"},"targets":{"type":"map","key":{},"value":{"type":"structure","members":{"resourceType":{},"resourceArns":{"shape":"Sc"},"resourceTags":{"shape":"Se"},"filters":{"type":"list","member":{"type":"structure","members":{"path":{},"values":{"type":"list","member":{}}}}},"selectionMode":{},"parameters":{"type":"map","key":{},"value":{}}}}},"actions":{"type":"map","key":{},"value":{"type":"structure","members":{"actionId":{},"description":{},"parameters":{"type":"map","key":{},"value":{}},"targets":{"type":"map","key":{},"value":{}},"startAfter":{"type":"list","member":{}},"state":{"type":"structure","members":{"status":{},"reason":{}}},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"}}}},"stopConditions":{"type":"list","member":{"type":"structure","members":{"source":{},"value":{}}}},"creationTime":{"type":"timestamp"},"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"tags":{"shape":"Se"}}},"S1y":{"type":"structure","members":{"status":{},"reason":{}}}}} /***/ }), /* 994 */ /***/ (function(module, exports) { - module.exports = {"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"}}} + module.exports = {"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"}}} /***/ }), /* 995 */ @@ -54214,7 +54220,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 996 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"lookoutmetrics","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"LookoutMetrics","serviceFullName":"Amazon Lookout for Metrics","serviceId":"LookoutMetrics","signatureVersion":"v4","signingName":"lookoutmetrics","uid":"lookoutmetrics-2017-07-25"},"operations":{"ActivateAnomalyDetector":{"http":{"requestUri":"/ActivateAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{}}},"BackTestAnomalyDetector":{"http":{"requestUri":"/BackTestAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{}}},"CreateAlert":{"http":{"requestUri":"/CreateAlert"},"input":{"type":"structure","required":["AlertName","AlertSensitivityThreshold","AnomalyDetectorArn","Action"],"members":{"AlertName":{},"AlertSensitivityThreshold":{"type":"integer"},"AlertDescription":{},"AnomalyDetectorArn":{},"Action":{"shape":"Sa"},"Tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"AlertArn":{}}}},"CreateAnomalyDetector":{"http":{"requestUri":"/CreateAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorName","AnomalyDetectorConfig"],"members":{"AnomalyDetectorName":{},"AnomalyDetectorDescription":{},"AnomalyDetectorConfig":{"shape":"Sk"},"KmsKeyArn":{},"Tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"AnomalyDetectorArn":{}}}},"CreateMetricSet":{"http":{"requestUri":"/CreateMetricSet"},"input":{"type":"structure","required":["AnomalyDetectorArn","MetricSetName","MetricList","MetricSource"],"members":{"AnomalyDetectorArn":{},"MetricSetName":{},"MetricSetDescription":{},"MetricList":{"shape":"Sr"},"Offset":{"type":"integer"},"TimestampColumn":{"shape":"Sx"},"DimensionList":{"shape":"Sz"},"MetricSetFrequency":{},"MetricSource":{"shape":"S10"},"Timezone":{},"Tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"MetricSetArn":{}}}},"DeleteAlert":{"http":{"requestUri":"/DeleteAlert"},"input":{"type":"structure","required":["AlertArn"],"members":{"AlertArn":{}}},"output":{"type":"structure","members":{}}},"DeleteAnomalyDetector":{"http":{"requestUri":"/DeleteAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{}}},"DescribeAlert":{"http":{"requestUri":"/DescribeAlert"},"input":{"type":"structure","required":["AlertArn"],"members":{"AlertArn":{}}},"output":{"type":"structure","members":{"Alert":{"type":"structure","members":{"Action":{"shape":"Sa"},"AlertDescription":{},"AlertArn":{},"AnomalyDetectorArn":{},"AlertName":{},"AlertSensitivityThreshold":{"type":"integer"},"AlertType":{},"AlertStatus":{},"LastModificationTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"}}}}}},"DescribeAnomalyDetectionExecutions":{"http":{"requestUri":"/DescribeAnomalyDetectionExecutions"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{},"Timestamp":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ExecutionList":{"type":"list","member":{"type":"structure","members":{"Timestamp":{},"Status":{},"FailureReason":{}}}},"NextToken":{}}}},"DescribeAnomalyDetector":{"http":{"requestUri":"/DescribeAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{"AnomalyDetectorArn":{},"AnomalyDetectorName":{},"AnomalyDetectorDescription":{},"AnomalyDetectorConfig":{"type":"structure","members":{"AnomalyDetectorFrequency":{}}},"CreationTime":{"type":"timestamp"},"LastModificationTime":{"type":"timestamp"},"Status":{},"FailureReason":{},"KmsKeyArn":{}}}},"DescribeMetricSet":{"http":{"requestUri":"/DescribeMetricSet"},"input":{"type":"structure","required":["MetricSetArn"],"members":{"MetricSetArn":{}}},"output":{"type":"structure","members":{"MetricSetArn":{},"AnomalyDetectorArn":{},"MetricSetName":{},"MetricSetDescription":{},"CreationTime":{"type":"timestamp"},"LastModificationTime":{"type":"timestamp"},"Offset":{"type":"integer"},"MetricList":{"shape":"Sr"},"TimestampColumn":{"shape":"Sx"},"DimensionList":{"shape":"Sz"},"MetricSetFrequency":{},"Timezone":{},"MetricSource":{"shape":"S10"}}}},"GetAnomalyGroup":{"http":{"requestUri":"/GetAnomalyGroup"},"input":{"type":"structure","required":["AnomalyGroupId","AnomalyDetectorArn"],"members":{"AnomalyGroupId":{},"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{"AnomalyGroup":{"type":"structure","members":{"StartTime":{},"EndTime":{},"AnomalyGroupId":{},"AnomalyGroupScore":{"type":"double"},"PrimaryMetricName":{},"MetricLevelImpactList":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"NumTimeSeries":{"type":"integer"},"ContributionMatrix":{"type":"structure","members":{"DimensionContributionList":{"type":"list","member":{"type":"structure","members":{"DimensionName":{},"DimensionValueContributionList":{"type":"list","member":{"type":"structure","members":{"DimensionValue":{},"ContributionScore":{"type":"double"}}}}}}}}}}}}}}}}},"GetFeedback":{"http":{"requestUri":"/GetFeedback"},"input":{"type":"structure","required":["AnomalyDetectorArn","AnomalyGroupTimeSeriesFeedback"],"members":{"AnomalyDetectorArn":{},"AnomalyGroupTimeSeriesFeedback":{"type":"structure","required":["AnomalyGroupId"],"members":{"AnomalyGroupId":{},"TimeSeriesId":{}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AnomalyGroupTimeSeriesFeedback":{"type":"list","member":{"type":"structure","members":{"TimeSeriesId":{},"IsAnomaly":{"type":"boolean"}}}},"NextToken":{}}}},"GetSampleData":{"http":{"requestUri":"/GetSampleData"},"input":{"type":"structure","members":{"S3SourceConfig":{"type":"structure","required":["RoleArn","FileFormatDescriptor"],"members":{"RoleArn":{},"TemplatedPathList":{"shape":"S12"},"HistoricalDataPathList":{"shape":"S14"},"FileFormatDescriptor":{"shape":"S16"}}}}},"output":{"type":"structure","members":{"HeaderValues":{"type":"list","member":{}},"SampleRows":{"type":"list","member":{"type":"list","member":{}}}}}},"ListAlerts":{"http":{"requestUri":"/ListAlerts"},"input":{"type":"structure","members":{"AnomalyDetectorArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AlertSummaryList":{"type":"list","member":{"type":"structure","members":{"AlertArn":{},"AnomalyDetectorArn":{},"AlertName":{},"AlertSensitivityThreshold":{"type":"integer"},"AlertType":{},"AlertStatus":{},"LastModificationTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"Tags":{"shape":"Sd"}}}},"NextToken":{}}}},"ListAnomalyDetectors":{"http":{"requestUri":"/ListAnomalyDetectors"},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AnomalyDetectorSummaryList":{"type":"list","member":{"type":"structure","members":{"AnomalyDetectorArn":{},"AnomalyDetectorName":{},"AnomalyDetectorDescription":{},"CreationTime":{"type":"timestamp"},"LastModificationTime":{"type":"timestamp"},"Status":{},"Tags":{"shape":"Sd"}}}},"NextToken":{}}}},"ListAnomalyGroupRelatedMetrics":{"http":{"requestUri":"/ListAnomalyGroupRelatedMetrics"},"input":{"type":"structure","required":["AnomalyDetectorArn","AnomalyGroupId"],"members":{"AnomalyDetectorArn":{},"AnomalyGroupId":{},"RelationshipTypeFilter":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InterMetricImpactList":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"AnomalyGroupId":{},"RelationshipType":{},"ContributionPercentage":{"type":"double"}}}},"NextToken":{}}}},"ListAnomalyGroupSummaries":{"http":{"requestUri":"/ListAnomalyGroupSummaries"},"input":{"type":"structure","required":["AnomalyDetectorArn","SensitivityThreshold"],"members":{"AnomalyDetectorArn":{},"SensitivityThreshold":{"type":"integer"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AnomalyGroupSummaryList":{"type":"list","member":{"type":"structure","members":{"StartTime":{},"EndTime":{},"AnomalyGroupId":{},"AnomalyGroupScore":{"type":"double"},"PrimaryMetricName":{}}}},"AnomalyGroupStatistics":{"type":"structure","members":{"EvaluationStartDate":{},"TotalCount":{"type":"integer"},"ItemizedMetricStatsList":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"OccurrenceCount":{"type":"integer"}}}}}},"NextToken":{}}}},"ListAnomalyGroupTimeSeries":{"http":{"requestUri":"/ListAnomalyGroupTimeSeries"},"input":{"type":"structure","required":["AnomalyDetectorArn","AnomalyGroupId","MetricName"],"members":{"AnomalyDetectorArn":{},"AnomalyGroupId":{},"MetricName":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AnomalyGroupId":{},"MetricName":{},"TimestampList":{"type":"list","member":{}},"NextToken":{},"TimeSeriesList":{"type":"list","member":{"type":"structure","required":["TimeSeriesId","DimensionList","MetricValueList"],"members":{"TimeSeriesId":{},"DimensionList":{"type":"list","member":{"type":"structure","required":["DimensionName","DimensionValue"],"members":{"DimensionName":{},"DimensionValue":{}}}},"MetricValueList":{"type":"list","member":{"type":"double"}}}}}}}},"ListMetricSets":{"http":{"requestUri":"/ListMetricSets"},"input":{"type":"structure","members":{"AnomalyDetectorArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"MetricSetSummaryList":{"type":"list","member":{"type":"structure","members":{"MetricSetArn":{},"AnomalyDetectorArn":{},"MetricSetDescription":{},"MetricSetName":{},"CreationTime":{"type":"timestamp"},"LastModificationTime":{"type":"timestamp"},"Tags":{"shape":"Sd"}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sd","locationName":"Tags"}}}},"PutFeedback":{"http":{"requestUri":"/PutFeedback"},"input":{"type":"structure","required":["AnomalyDetectorArn","AnomalyGroupTimeSeriesFeedback"],"members":{"AnomalyDetectorArn":{},"AnomalyGroupTimeSeriesFeedback":{"type":"structure","required":["AnomalyGroupId","TimeSeriesId","IsAnomaly"],"members":{"AnomalyGroupId":{},"TimeSeriesId":{},"IsAnomaly":{"type":"boolean"}}}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"Sd","locationName":"tags"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAnomalyDetector":{"http":{"requestUri":"/UpdateAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{},"KmsKeyArn":{},"AnomalyDetectorDescription":{},"AnomalyDetectorConfig":{"shape":"Sk"}}},"output":{"type":"structure","members":{"AnomalyDetectorArn":{}}}},"UpdateMetricSet":{"http":{"requestUri":"/UpdateMetricSet"},"input":{"type":"structure","required":["MetricSetArn"],"members":{"MetricSetArn":{},"MetricSetDescription":{},"MetricList":{"shape":"Sr"},"Offset":{"type":"integer"},"TimestampColumn":{"shape":"Sx"},"DimensionList":{"shape":"Sz"},"MetricSetFrequency":{},"MetricSource":{"shape":"S10"}}},"output":{"type":"structure","members":{"MetricSetArn":{}}}}},"shapes":{"Sa":{"type":"structure","members":{"SNSConfiguration":{"type":"structure","required":["RoleArn","SnsTopicArn"],"members":{"RoleArn":{},"SnsTopicArn":{}}},"LambdaConfiguration":{"type":"structure","required":["RoleArn","LambdaArn"],"members":{"RoleArn":{},"LambdaArn":{}}}}},"Sd":{"type":"map","key":{},"value":{}},"Sk":{"type":"structure","members":{"AnomalyDetectorFrequency":{}}},"Sr":{"type":"list","member":{"type":"structure","required":["MetricName","AggregationFunction"],"members":{"MetricName":{},"AggregationFunction":{},"Namespace":{}}}},"Sx":{"type":"structure","members":{"ColumnName":{},"ColumnFormat":{}}},"Sz":{"type":"list","member":{}},"S10":{"type":"structure","members":{"S3SourceConfig":{"type":"structure","required":["RoleArn"],"members":{"RoleArn":{},"TemplatedPathList":{"shape":"S12"},"HistoricalDataPathList":{"shape":"S14"},"FileFormatDescriptor":{"shape":"S16"}}},"AppFlowConfig":{"type":"structure","required":["RoleArn","FlowName"],"members":{"RoleArn":{},"FlowName":{}}},"CloudWatchConfig":{"type":"structure","required":["RoleArn"],"members":{"RoleArn":{}}},"RDSSourceConfig":{"type":"structure","required":["DBInstanceIdentifier","DatabaseHost","DatabasePort","SecretManagerArn","DatabaseName","TableName","RoleArn","VpcConfiguration"],"members":{"DBInstanceIdentifier":{},"DatabaseHost":{},"DatabasePort":{"type":"integer"},"SecretManagerArn":{},"DatabaseName":{},"TableName":{},"RoleArn":{},"VpcConfiguration":{"shape":"S1q"}}},"RedshiftSourceConfig":{"type":"structure","required":["ClusterIdentifier","DatabaseHost","DatabasePort","SecretManagerArn","DatabaseName","TableName","RoleArn","VpcConfiguration"],"members":{"ClusterIdentifier":{},"DatabaseHost":{},"DatabasePort":{"type":"integer"},"SecretManagerArn":{},"DatabaseName":{},"TableName":{},"RoleArn":{},"VpcConfiguration":{"shape":"S1q"}}}}},"S12":{"type":"list","member":{}},"S14":{"type":"list","member":{}},"S16":{"type":"structure","members":{"CsvFormatDescriptor":{"type":"structure","members":{"FileCompression":{},"Charset":{},"ContainsHeader":{"type":"boolean"},"Delimiter":{},"HeaderList":{"type":"list","member":{}},"QuoteSymbol":{}}},"JsonFormatDescriptor":{"type":"structure","members":{"FileCompression":{},"Charset":{}}}}},"S1q":{"type":"structure","required":["SubnetIdList","SecurityGroupIdList"],"members":{"SubnetIdList":{"type":"list","member":{}},"SecurityGroupIdList":{"type":"list","member":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"lookoutmetrics","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"LookoutMetrics","serviceFullName":"Amazon Lookout for Metrics","serviceId":"LookoutMetrics","signatureVersion":"v4","signingName":"lookoutmetrics","uid":"lookoutmetrics-2017-07-25"},"operations":{"ActivateAnomalyDetector":{"http":{"requestUri":"/ActivateAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{}}},"BackTestAnomalyDetector":{"http":{"requestUri":"/BackTestAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{}}},"CreateAlert":{"http":{"requestUri":"/CreateAlert"},"input":{"type":"structure","required":["AlertName","AlertSensitivityThreshold","AnomalyDetectorArn","Action"],"members":{"AlertName":{},"AlertSensitivityThreshold":{"type":"integer"},"AlertDescription":{},"AnomalyDetectorArn":{},"Action":{"shape":"Sa"},"Tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"AlertArn":{}}}},"CreateAnomalyDetector":{"http":{"requestUri":"/CreateAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorName","AnomalyDetectorConfig"],"members":{"AnomalyDetectorName":{},"AnomalyDetectorDescription":{},"AnomalyDetectorConfig":{"shape":"Sk"},"KmsKeyArn":{},"Tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"AnomalyDetectorArn":{}}}},"CreateMetricSet":{"http":{"requestUri":"/CreateMetricSet"},"input":{"type":"structure","required":["AnomalyDetectorArn","MetricSetName","MetricList","MetricSource"],"members":{"AnomalyDetectorArn":{},"MetricSetName":{},"MetricSetDescription":{},"MetricList":{"shape":"Sr"},"Offset":{"type":"integer"},"TimestampColumn":{"shape":"Sx"},"DimensionList":{"shape":"Sz"},"MetricSetFrequency":{},"MetricSource":{"shape":"S10"},"Timezone":{},"Tags":{"shape":"Sd"}}},"output":{"type":"structure","members":{"MetricSetArn":{}}}},"DeactivateAnomalyDetector":{"http":{"requestUri":"/DeactivateAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{}}},"DeleteAlert":{"http":{"requestUri":"/DeleteAlert"},"input":{"type":"structure","required":["AlertArn"],"members":{"AlertArn":{}}},"output":{"type":"structure","members":{}}},"DeleteAnomalyDetector":{"http":{"requestUri":"/DeleteAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{}}},"DescribeAlert":{"http":{"requestUri":"/DescribeAlert"},"input":{"type":"structure","required":["AlertArn"],"members":{"AlertArn":{}}},"output":{"type":"structure","members":{"Alert":{"type":"structure","members":{"Action":{"shape":"Sa"},"AlertDescription":{},"AlertArn":{},"AnomalyDetectorArn":{},"AlertName":{},"AlertSensitivityThreshold":{"type":"integer"},"AlertType":{},"AlertStatus":{},"LastModificationTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"}}}}}},"DescribeAnomalyDetectionExecutions":{"http":{"requestUri":"/DescribeAnomalyDetectionExecutions"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{},"Timestamp":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ExecutionList":{"type":"list","member":{"type":"structure","members":{"Timestamp":{},"Status":{},"FailureReason":{}}}},"NextToken":{}}}},"DescribeAnomalyDetector":{"http":{"requestUri":"/DescribeAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{"AnomalyDetectorArn":{},"AnomalyDetectorName":{},"AnomalyDetectorDescription":{},"AnomalyDetectorConfig":{"type":"structure","members":{"AnomalyDetectorFrequency":{}}},"CreationTime":{"type":"timestamp"},"LastModificationTime":{"type":"timestamp"},"Status":{},"FailureReason":{},"KmsKeyArn":{},"FailureType":{}}}},"DescribeMetricSet":{"http":{"requestUri":"/DescribeMetricSet"},"input":{"type":"structure","required":["MetricSetArn"],"members":{"MetricSetArn":{}}},"output":{"type":"structure","members":{"MetricSetArn":{},"AnomalyDetectorArn":{},"MetricSetName":{},"MetricSetDescription":{},"CreationTime":{"type":"timestamp"},"LastModificationTime":{"type":"timestamp"},"Offset":{"type":"integer"},"MetricList":{"shape":"Sr"},"TimestampColumn":{"shape":"Sx"},"DimensionList":{"shape":"Sz"},"MetricSetFrequency":{},"Timezone":{},"MetricSource":{"shape":"S10"}}}},"GetAnomalyGroup":{"http":{"requestUri":"/GetAnomalyGroup"},"input":{"type":"structure","required":["AnomalyGroupId","AnomalyDetectorArn"],"members":{"AnomalyGroupId":{},"AnomalyDetectorArn":{}}},"output":{"type":"structure","members":{"AnomalyGroup":{"type":"structure","members":{"StartTime":{},"EndTime":{},"AnomalyGroupId":{},"AnomalyGroupScore":{"type":"double"},"PrimaryMetricName":{},"MetricLevelImpactList":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"NumTimeSeries":{"type":"integer"},"ContributionMatrix":{"type":"structure","members":{"DimensionContributionList":{"type":"list","member":{"type":"structure","members":{"DimensionName":{},"DimensionValueContributionList":{"type":"list","member":{"type":"structure","members":{"DimensionValue":{},"ContributionScore":{"type":"double"}}}}}}}}}}}}}}}}},"GetFeedback":{"http":{"requestUri":"/GetFeedback"},"input":{"type":"structure","required":["AnomalyDetectorArn","AnomalyGroupTimeSeriesFeedback"],"members":{"AnomalyDetectorArn":{},"AnomalyGroupTimeSeriesFeedback":{"type":"structure","required":["AnomalyGroupId"],"members":{"AnomalyGroupId":{},"TimeSeriesId":{}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AnomalyGroupTimeSeriesFeedback":{"type":"list","member":{"type":"structure","members":{"TimeSeriesId":{},"IsAnomaly":{"type":"boolean"}}}},"NextToken":{}}}},"GetSampleData":{"http":{"requestUri":"/GetSampleData"},"input":{"type":"structure","members":{"S3SourceConfig":{"type":"structure","required":["RoleArn","FileFormatDescriptor"],"members":{"RoleArn":{},"TemplatedPathList":{"shape":"S12"},"HistoricalDataPathList":{"shape":"S14"},"FileFormatDescriptor":{"shape":"S16"}}}}},"output":{"type":"structure","members":{"HeaderValues":{"type":"list","member":{}},"SampleRows":{"type":"list","member":{"type":"list","member":{}}}}}},"ListAlerts":{"http":{"requestUri":"/ListAlerts"},"input":{"type":"structure","members":{"AnomalyDetectorArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AlertSummaryList":{"type":"list","member":{"type":"structure","members":{"AlertArn":{},"AnomalyDetectorArn":{},"AlertName":{},"AlertSensitivityThreshold":{"type":"integer"},"AlertType":{},"AlertStatus":{},"LastModificationTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"Tags":{"shape":"Sd"}}}},"NextToken":{}}}},"ListAnomalyDetectors":{"http":{"requestUri":"/ListAnomalyDetectors"},"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AnomalyDetectorSummaryList":{"type":"list","member":{"type":"structure","members":{"AnomalyDetectorArn":{},"AnomalyDetectorName":{},"AnomalyDetectorDescription":{},"CreationTime":{"type":"timestamp"},"LastModificationTime":{"type":"timestamp"},"Status":{},"Tags":{"shape":"Sd"}}}},"NextToken":{}}}},"ListAnomalyGroupRelatedMetrics":{"http":{"requestUri":"/ListAnomalyGroupRelatedMetrics"},"input":{"type":"structure","required":["AnomalyDetectorArn","AnomalyGroupId"],"members":{"AnomalyDetectorArn":{},"AnomalyGroupId":{},"RelationshipTypeFilter":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"InterMetricImpactList":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"AnomalyGroupId":{},"RelationshipType":{},"ContributionPercentage":{"type":"double"}}}},"NextToken":{}}}},"ListAnomalyGroupSummaries":{"http":{"requestUri":"/ListAnomalyGroupSummaries"},"input":{"type":"structure","required":["AnomalyDetectorArn","SensitivityThreshold"],"members":{"AnomalyDetectorArn":{},"SensitivityThreshold":{"type":"integer"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AnomalyGroupSummaryList":{"type":"list","member":{"type":"structure","members":{"StartTime":{},"EndTime":{},"AnomalyGroupId":{},"AnomalyGroupScore":{"type":"double"},"PrimaryMetricName":{}}}},"AnomalyGroupStatistics":{"type":"structure","members":{"EvaluationStartDate":{},"TotalCount":{"type":"integer"},"ItemizedMetricStatsList":{"type":"list","member":{"type":"structure","members":{"MetricName":{},"OccurrenceCount":{"type":"integer"}}}}}},"NextToken":{}}}},"ListAnomalyGroupTimeSeries":{"http":{"requestUri":"/ListAnomalyGroupTimeSeries"},"input":{"type":"structure","required":["AnomalyDetectorArn","AnomalyGroupId","MetricName"],"members":{"AnomalyDetectorArn":{},"AnomalyGroupId":{},"MetricName":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AnomalyGroupId":{},"MetricName":{},"TimestampList":{"type":"list","member":{}},"NextToken":{},"TimeSeriesList":{"type":"list","member":{"type":"structure","required":["TimeSeriesId","DimensionList","MetricValueList"],"members":{"TimeSeriesId":{},"DimensionList":{"type":"list","member":{"type":"structure","required":["DimensionName","DimensionValue"],"members":{"DimensionName":{},"DimensionValue":{}}}},"MetricValueList":{"type":"list","member":{"type":"double"}}}}}}}},"ListMetricSets":{"http":{"requestUri":"/ListMetricSets"},"input":{"type":"structure","members":{"AnomalyDetectorArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"MetricSetSummaryList":{"type":"list","member":{"type":"structure","members":{"MetricSetArn":{},"AnomalyDetectorArn":{},"MetricSetDescription":{},"MetricSetName":{},"CreationTime":{"type":"timestamp"},"LastModificationTime":{"type":"timestamp"},"Tags":{"shape":"Sd"}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sd","locationName":"Tags"}}}},"PutFeedback":{"http":{"requestUri":"/PutFeedback"},"input":{"type":"structure","required":["AnomalyDetectorArn","AnomalyGroupTimeSeriesFeedback"],"members":{"AnomalyDetectorArn":{},"AnomalyGroupTimeSeriesFeedback":{"type":"structure","required":["AnomalyGroupId","TimeSeriesId","IsAnomaly"],"members":{"AnomalyGroupId":{},"TimeSeriesId":{},"IsAnomaly":{"type":"boolean"}}}}},"output":{"type":"structure","members":{}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"Tags":{"shape":"Sd","locationName":"tags"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"resourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAnomalyDetector":{"http":{"requestUri":"/UpdateAnomalyDetector"},"input":{"type":"structure","required":["AnomalyDetectorArn"],"members":{"AnomalyDetectorArn":{},"KmsKeyArn":{},"AnomalyDetectorDescription":{},"AnomalyDetectorConfig":{"shape":"Sk"}}},"output":{"type":"structure","members":{"AnomalyDetectorArn":{}}}},"UpdateMetricSet":{"http":{"requestUri":"/UpdateMetricSet"},"input":{"type":"structure","required":["MetricSetArn"],"members":{"MetricSetArn":{},"MetricSetDescription":{},"MetricList":{"shape":"Sr"},"Offset":{"type":"integer"},"TimestampColumn":{"shape":"Sx"},"DimensionList":{"shape":"Sz"},"MetricSetFrequency":{},"MetricSource":{"shape":"S10"}}},"output":{"type":"structure","members":{"MetricSetArn":{}}}}},"shapes":{"Sa":{"type":"structure","members":{"SNSConfiguration":{"type":"structure","required":["RoleArn","SnsTopicArn"],"members":{"RoleArn":{},"SnsTopicArn":{}}},"LambdaConfiguration":{"type":"structure","required":["RoleArn","LambdaArn"],"members":{"RoleArn":{},"LambdaArn":{}}}}},"Sd":{"type":"map","key":{},"value":{}},"Sk":{"type":"structure","members":{"AnomalyDetectorFrequency":{}}},"Sr":{"type":"list","member":{"type":"structure","required":["MetricName","AggregationFunction"],"members":{"MetricName":{},"AggregationFunction":{},"Namespace":{}}}},"Sx":{"type":"structure","members":{"ColumnName":{},"ColumnFormat":{}}},"Sz":{"type":"list","member":{}},"S10":{"type":"structure","members":{"S3SourceConfig":{"type":"structure","members":{"RoleArn":{},"TemplatedPathList":{"shape":"S12"},"HistoricalDataPathList":{"shape":"S14"},"FileFormatDescriptor":{"shape":"S16"}}},"AppFlowConfig":{"type":"structure","members":{"RoleArn":{},"FlowName":{}}},"CloudWatchConfig":{"type":"structure","members":{"RoleArn":{}}},"RDSSourceConfig":{"type":"structure","members":{"DBInstanceIdentifier":{},"DatabaseHost":{},"DatabasePort":{"type":"integer"},"SecretManagerArn":{},"DatabaseName":{},"TableName":{},"RoleArn":{},"VpcConfiguration":{"shape":"S1q"}}},"RedshiftSourceConfig":{"type":"structure","members":{"ClusterIdentifier":{},"DatabaseHost":{},"DatabasePort":{"type":"integer"},"SecretManagerArn":{},"DatabaseName":{},"TableName":{},"RoleArn":{},"VpcConfiguration":{"shape":"S1q"}}}}},"S12":{"type":"list","member":{}},"S14":{"type":"list","member":{}},"S16":{"type":"structure","members":{"CsvFormatDescriptor":{"type":"structure","members":{"FileCompression":{},"Charset":{},"ContainsHeader":{"type":"boolean"},"Delimiter":{},"HeaderList":{"type":"list","member":{}},"QuoteSymbol":{}}},"JsonFormatDescriptor":{"type":"structure","members":{"FileCompression":{},"Charset":{}}}}},"S1q":{"type":"structure","required":["SubnetIdList","SecurityGroupIdList"],"members":{"SubnetIdList":{"type":"list","member":{}},"SecurityGroupIdList":{"type":"list","member":{}}}}}} /***/ }), /* 997 */ @@ -54323,7 +54329,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1005 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-01","endpointPrefix":"nimble","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AmazonNimbleStudio","serviceId":"nimble","signatureVersion":"v4","signingName":"nimble","uid":"nimble-2020-08-01"},"operations":{"AcceptEulas":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/eula-acceptances","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"eulaIds":{"shape":"S3"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"eulaAcceptances":{"shape":"S6"}}}},"CreateLaunchProfile":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/launch-profiles","responseCode":200},"input":{"type":"structure","required":["ec2SubnetIds","launchProfileProtocolVersions","name","streamConfiguration","studioComponentIds","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"description":{"shape":"Sc"},"ec2SubnetIds":{"shape":"Sd"},"launchProfileProtocolVersions":{"shape":"Sf"},"name":{"shape":"Sh"},"streamConfiguration":{"shape":"Si"},"studioComponentIds":{"shape":"Sw"},"studioId":{"location":"uri","locationName":"studioId"},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"}}}},"CreateStreamingImage":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-images","responseCode":200},"input":{"type":"structure","required":["ec2ImageId","name","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"description":{"type":"string","sensitive":true},"ec2ImageId":{},"name":{"type":"string","sensitive":true},"studioId":{"location":"uri","locationName":"studioId"},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{"streamingImage":{"shape":"S19"}}}},"CreateStreamingSession":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"ec2InstanceType":{},"launchProfileId":{},"ownedBy":{},"streamingImageId":{},"studioId":{"location":"uri","locationName":"studioId"},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{"session":{"shape":"S1l"}}}},"CreateStreamingSessionStream":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/streams","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"expirationInSeconds":{"type":"integer"},"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"stream":{"shape":"S1s"}}},"idempotent":true},"CreateStudio":{"http":{"requestUri":"/2020-08-01/studios","responseCode":200},"input":{"type":"structure","required":["adminRoleArn","displayName","studioName","userRoleArn"],"members":{"adminRoleArn":{},"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"displayName":{"type":"string","sensitive":true},"studioEncryptionConfiguration":{"shape":"S1y"},"studioName":{},"tags":{"shape":"Sx"},"userRoleArn":{}}},"output":{"type":"structure","members":{"studio":{"shape":"S23"}}}},"CreateStudioComponent":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/studio-components","responseCode":200},"input":{"type":"structure","required":["name","studioId","type"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"configuration":{"shape":"S29"},"description":{"shape":"S2p"},"ec2SecurityGroupIds":{"shape":"S2q"},"initializationScripts":{"shape":"S2s"},"name":{"shape":"S2x"},"scriptParameters":{"shape":"S2y"},"studioId":{"location":"uri","locationName":"studioId"},"subtype":{},"tags":{"shape":"Sx"},"type":{}}},"output":{"type":"structure","members":{"studioComponent":{"shape":"S35"}}}},"DeleteLaunchProfile":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"}}},"idempotent":true},"DeleteLaunchProfileMember":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","principalId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteStreamingImage":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}","responseCode":200},"input":{"type":"structure","required":["streamingImageId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"streamingImageId":{"location":"uri","locationName":"streamingImageId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"streamingImage":{"shape":"S19"}}},"idempotent":true},"DeleteStreamingSession":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1l"}}},"idempotent":true},"DeleteStudio":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","required":["studio"],"members":{"studio":{"shape":"S23"}}},"idempotent":true},"DeleteStudioComponent":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}","responseCode":200},"input":{"type":"structure","required":["studioComponentId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"studioComponentId":{"location":"uri","locationName":"studioComponentId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"studioComponent":{"shape":"S35"}}},"idempotent":true},"DeleteStudioMember":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["principalId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetEula":{"http":{"method":"GET","requestUri":"/2020-08-01/eulas/{eulaId}","responseCode":200},"input":{"type":"structure","required":["eulaId"],"members":{"eulaId":{"location":"uri","locationName":"eulaId"}}},"output":{"type":"structure","members":{"eula":{"shape":"S3p"}}}},"GetLaunchProfile":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"}}}},"GetLaunchProfileDetails":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/details","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"},"streamingImages":{"shape":"S3v"},"studioComponentSummaries":{"type":"list","member":{"type":"structure","members":{"createdAt":{"shape":"S8"},"createdBy":{},"description":{"shape":"S2p"},"name":{"shape":"S2x"},"studioComponentId":{},"subtype":{},"type":{},"updatedAt":{"shape":"S8"},"updatedBy":{}}}}}}},"GetLaunchProfileInitialization":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/init","responseCode":200},"input":{"type":"structure","required":["launchProfileId","launchProfileProtocolVersions","launchPurpose","platform","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"launchProfileProtocolVersions":{"shape":"S3z","location":"querystring","locationName":"launchProfileProtocolVersions"},"launchPurpose":{"location":"querystring","locationName":"launchPurpose"},"platform":{"location":"querystring","locationName":"platform"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfileInitialization":{"type":"structure","members":{"activeDirectory":{"type":"structure","members":{"computerAttributes":{"shape":"S2b"},"directoryId":{},"directoryName":{},"dnsIpAddresses":{"type":"list","member":{}},"organizationalUnitDistinguishedName":{},"studioComponentId":{},"studioComponentName":{"shape":"S2x"}}},"ec2SecurityGroupIds":{"type":"list","member":{}},"launchProfileId":{},"launchProfileProtocolVersion":{},"launchPurpose":{},"name":{"shape":"Sh"},"platform":{},"systemInitializationScripts":{"shape":"S47"},"userInitializationScripts":{"shape":"S47"}}}}}},"GetLaunchProfileMember":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","principalId","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"member":{"shape":"S4b"}}}},"GetStreamingImage":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}","responseCode":200},"input":{"type":"structure","required":["streamingImageId","studioId"],"members":{"streamingImageId":{"location":"uri","locationName":"streamingImageId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"streamingImage":{"shape":"S19"}}}},"GetStreamingSession":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1l"}}}},"GetStreamingSessionStream":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/streams/{streamId}","responseCode":200},"input":{"type":"structure","required":["sessionId","streamId","studioId"],"members":{"sessionId":{"location":"uri","locationName":"sessionId"},"streamId":{"location":"uri","locationName":"streamId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"stream":{"shape":"S1s"}}}},"GetStudio":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","required":["studio"],"members":{"studio":{"shape":"S23"}}}},"GetStudioComponent":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}","responseCode":200},"input":{"type":"structure","required":["studioComponentId","studioId"],"members":{"studioComponentId":{"location":"uri","locationName":"studioComponentId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"studioComponent":{"shape":"S35"}}}},"GetStudioMember":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["principalId","studioId"],"members":{"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"member":{"shape":"S4p"}}}},"ListEulaAcceptances":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/eula-acceptances","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"eulaIds":{"shape":"S3z","location":"querystring","locationName":"eulaIds"},"nextToken":{"location":"querystring","locationName":"nextToken"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"eulaAcceptances":{"shape":"S6"},"nextToken":{}}}},"ListEulas":{"http":{"method":"GET","requestUri":"/2020-08-01/eulas","responseCode":200},"input":{"type":"structure","members":{"eulaIds":{"shape":"S3z","location":"querystring","locationName":"eulaIds"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"eulas":{"type":"list","member":{"shape":"S3p"}},"nextToken":{}}}},"ListLaunchProfileMembers":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"members":{"type":"list","member":{"shape":"S4b"}},"nextToken":{}}}},"ListLaunchProfiles":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"principalId":{"location":"querystring","locationName":"principalId"},"states":{"shape":"S3z","location":"querystring","locationName":"states"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfiles":{"type":"list","member":{"shape":"Sz"}},"nextToken":{}}}},"ListStreamingImages":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-images","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"owner":{"location":"querystring","locationName":"owner"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"nextToken":{},"streamingImages":{"shape":"S3v"}}}},"ListStreamingSessions":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"createdBy":{"location":"querystring","locationName":"createdBy"},"nextToken":{"location":"querystring","locationName":"nextToken"},"ownedBy":{"location":"querystring","locationName":"ownedBy"},"sessionIds":{"location":"querystring","locationName":"sessionIds"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"nextToken":{},"sessions":{"type":"list","member":{"shape":"S1l"}}}}},"ListStudioComponents":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/studio-components","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"states":{"shape":"S3z","location":"querystring","locationName":"states"},"studioId":{"location":"uri","locationName":"studioId"},"types":{"shape":"S3z","location":"querystring","locationName":"types"}}},"output":{"type":"structure","members":{"nextToken":{},"studioComponents":{"type":"list","member":{"shape":"S35"}}}}},"ListStudioMembers":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/membership","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"members":{"type":"list","member":{"shape":"S4p"}},"nextToken":{}}}},"ListStudios":{"http":{"method":"GET","requestUri":"/2020-08-01/studios","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["studios"],"members":{"nextToken":{},"studios":{"type":"list","member":{"shape":"S23"}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2020-08-01/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sx"}}}},"PutLaunchProfileMembers":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership","responseCode":200},"input":{"type":"structure","required":["identityStoreId","launchProfileId","members","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"identityStoreId":{},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"members":{"type":"list","member":{"type":"structure","required":["persona","principalId"],"members":{"persona":{},"principalId":{}}}},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{}}},"PutStudioMembers":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/membership","responseCode":200},"input":{"type":"structure","required":["identityStoreId","members","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"identityStoreId":{},"members":{"type":"list","member":{"type":"structure","required":["persona","principalId"],"members":{"persona":{},"principalId":{}}}},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{}}},"StartStreamingSession":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/start","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1l"}}},"idempotent":true},"StartStudioSSOConfigurationRepair":{"http":{"method":"PUT","requestUri":"/2020-08-01/studios/{studioId}/sso-configuration","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","required":["studio"],"members":{"studio":{"shape":"S23"}}},"idempotent":true},"StopStreamingSession":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/stop","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1l"}}},"idempotent":true},"TagResource":{"http":{"requestUri":"/2020-08-01/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/2020-08-01/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"shape":"S3z","location":"querystring","locationName":"tagKeys"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateLaunchProfile":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"description":{"shape":"Sc"},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"launchProfileProtocolVersions":{"shape":"Sf"},"name":{"shape":"Sh"},"streamConfiguration":{"shape":"Si"},"studioComponentIds":{"shape":"Sw"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"}}}},"UpdateLaunchProfileMember":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","persona","principalId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"persona":{},"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"member":{"shape":"S4b"}}}},"UpdateStreamingImage":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}","responseCode":200},"input":{"type":"structure","required":["streamingImageId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"description":{"type":"string","sensitive":true},"name":{"type":"string","sensitive":true},"streamingImageId":{"location":"uri","locationName":"streamingImageId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"streamingImage":{"shape":"S19"}}}},"UpdateStudio":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"adminRoleArn":{},"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"displayName":{"type":"string","sensitive":true},"studioId":{"location":"uri","locationName":"studioId"},"userRoleArn":{}}},"output":{"type":"structure","required":["studio"],"members":{"studio":{"shape":"S23"}}}},"UpdateStudioComponent":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}","responseCode":200},"input":{"type":"structure","required":["studioComponentId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"configuration":{"shape":"S29"},"description":{"shape":"S2p"},"ec2SecurityGroupIds":{"shape":"S2q"},"initializationScripts":{"shape":"S2s"},"name":{"shape":"S2x"},"scriptParameters":{"shape":"S2y"},"studioComponentId":{"location":"uri","locationName":"studioComponentId"},"studioId":{"location":"uri","locationName":"studioId"},"subtype":{},"type":{}}},"output":{"type":"structure","members":{"studioComponent":{"shape":"S35"}}}}},"shapes":{"S3":{"type":"list","member":{}},"S6":{"type":"list","member":{"type":"structure","members":{"acceptedAt":{"shape":"S8"},"acceptedBy":{},"accepteeId":{},"eulaAcceptanceId":{},"eulaId":{}}}},"S8":{"type":"timestamp","timestampFormat":"iso8601"},"Sc":{"type":"string","sensitive":true},"Sd":{"type":"list","member":{}},"Sf":{"type":"list","member":{}},"Sh":{"type":"string","sensitive":true},"Si":{"type":"structure","required":["clipboardMode","ec2InstanceTypes","streamingImageIds"],"members":{"clipboardMode":{},"ec2InstanceTypes":{"shape":"Sk"},"maxSessionLengthInMinutes":{"type":"integer"},"maxStoppedSessionLengthInMinutes":{"type":"integer"},"sessionStorage":{"shape":"So"},"streamingImageIds":{"shape":"Su"}}},"Sk":{"type":"list","member":{}},"So":{"type":"structure","required":["mode"],"members":{"mode":{"type":"list","member":{}},"root":{"type":"structure","members":{"linux":{"type":"string","sensitive":true},"windows":{"type":"string","sensitive":true}}}}},"Su":{"type":"list","member":{}},"Sw":{"type":"list","member":{}},"Sx":{"type":"map","key":{},"value":{}},"Sz":{"type":"structure","members":{"arn":{},"createdAt":{"shape":"S8"},"createdBy":{},"description":{"shape":"Sc"},"ec2SubnetIds":{"shape":"Sd"},"launchProfileId":{},"launchProfileProtocolVersions":{"shape":"Sf"},"name":{"shape":"Sh"},"state":{},"statusCode":{},"statusMessage":{},"streamConfiguration":{"type":"structure","required":["clipboardMode","ec2InstanceTypes","streamingImageIds"],"members":{"clipboardMode":{},"ec2InstanceTypes":{"shape":"Sk"},"maxSessionLengthInMinutes":{"type":"integer"},"maxStoppedSessionLengthInMinutes":{"type":"integer"},"sessionStorage":{"shape":"So"},"streamingImageIds":{"shape":"Su"}}},"studioComponentIds":{"shape":"Sw"},"tags":{"shape":"Sx"},"updatedAt":{"shape":"S8"},"updatedBy":{}}},"S19":{"type":"structure","members":{"arn":{},"description":{"type":"string","sensitive":true},"ec2ImageId":{},"encryptionConfiguration":{"type":"structure","required":["keyType"],"members":{"keyArn":{},"keyType":{}}},"eulaIds":{"shape":"S3"},"name":{"type":"string","sensitive":true},"owner":{},"platform":{},"state":{},"statusCode":{},"statusMessage":{},"streamingImageId":{},"tags":{"shape":"Sx"}}},"S1l":{"type":"structure","members":{"arn":{},"createdAt":{"shape":"S8"},"createdBy":{},"ec2InstanceType":{},"launchProfileId":{},"ownedBy":{},"sessionId":{},"startedAt":{"shape":"S8"},"startedBy":{},"state":{},"statusCode":{},"statusMessage":{},"stopAt":{"shape":"S8"},"stoppedAt":{"shape":"S8"},"stoppedBy":{},"streamingImageId":{},"tags":{"shape":"Sx"},"terminateAt":{"shape":"S8"},"updatedAt":{"shape":"S8"},"updatedBy":{}}},"S1s":{"type":"structure","members":{"createdAt":{"shape":"S8"},"createdBy":{},"expiresAt":{"shape":"S8"},"ownedBy":{},"state":{},"statusCode":{},"streamId":{},"url":{"type":"string","sensitive":true}}},"S1y":{"type":"structure","required":["keyType"],"members":{"keyArn":{},"keyType":{}}},"S23":{"type":"structure","members":{"adminRoleArn":{},"arn":{},"createdAt":{"shape":"S8"},"displayName":{"type":"string","sensitive":true},"homeRegion":{},"ssoClientId":{},"state":{},"statusCode":{},"statusMessage":{},"studioEncryptionConfiguration":{"shape":"S1y"},"studioId":{},"studioName":{},"studioUrl":{},"tags":{"shape":"Sx"},"updatedAt":{"shape":"S8"},"userRoleArn":{}}},"S29":{"type":"structure","members":{"activeDirectoryConfiguration":{"type":"structure","members":{"computerAttributes":{"shape":"S2b"},"directoryId":{},"organizationalUnitDistinguishedName":{}}},"computeFarmConfiguration":{"type":"structure","members":{"activeDirectoryUser":{},"endpoint":{"type":"string","sensitive":true}}},"licenseServiceConfiguration":{"type":"structure","members":{"endpoint":{"type":"string","sensitive":true}}},"sharedFileSystemConfiguration":{"type":"structure","members":{"endpoint":{"shape":"S2m"},"fileSystemId":{},"linuxMountPoint":{"type":"string","sensitive":true},"shareName":{"shape":"S2m"},"windowsMountDrive":{}}}},"union":true},"S2b":{"type":"list","member":{"type":"structure","members":{"name":{},"value":{}}},"sensitive":true},"S2m":{"type":"string","sensitive":true},"S2p":{"type":"string","sensitive":true},"S2q":{"type":"list","member":{}},"S2s":{"type":"list","member":{"type":"structure","members":{"launchProfileProtocolVersion":{},"platform":{},"runContext":{},"script":{"shape":"S2w"}}}},"S2w":{"type":"string","sensitive":true},"S2x":{"type":"string","sensitive":true},"S2y":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}},"sensitive":true},"S35":{"type":"structure","members":{"arn":{},"configuration":{"shape":"S29"},"createdAt":{"shape":"S8"},"createdBy":{},"description":{"shape":"S2p"},"ec2SecurityGroupIds":{"shape":"S2q"},"initializationScripts":{"shape":"S2s"},"name":{"shape":"S2x"},"scriptParameters":{"shape":"S2y"},"state":{},"statusCode":{},"statusMessage":{},"studioComponentId":{},"subtype":{},"tags":{"shape":"Sx"},"type":{},"updatedAt":{"shape":"S8"},"updatedBy":{}}},"S3p":{"type":"structure","members":{"content":{},"createdAt":{"shape":"S8"},"eulaId":{},"name":{},"updatedAt":{"shape":"S8"}}},"S3v":{"type":"list","member":{"shape":"S19"}},"S3z":{"type":"list","member":{}},"S47":{"type":"list","member":{"type":"structure","members":{"script":{"shape":"S2w"},"studioComponentId":{},"studioComponentName":{"shape":"S2x"}}}},"S4b":{"type":"structure","members":{"identityStoreId":{},"persona":{},"principalId":{},"sid":{}}},"S4p":{"type":"structure","members":{"identityStoreId":{},"persona":{},"principalId":{},"sid":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-01","endpointPrefix":"nimble","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AmazonNimbleStudio","serviceId":"nimble","signatureVersion":"v4","signingName":"nimble","uid":"nimble-2020-08-01"},"operations":{"AcceptEulas":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/eula-acceptances","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"eulaIds":{"shape":"S3"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"eulaAcceptances":{"shape":"S6"}}}},"CreateLaunchProfile":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/launch-profiles","responseCode":200},"input":{"type":"structure","required":["ec2SubnetIds","launchProfileProtocolVersions","name","streamConfiguration","studioComponentIds","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"description":{"shape":"Sc"},"ec2SubnetIds":{"shape":"Sd"},"launchProfileProtocolVersions":{"shape":"Sf"},"name":{"shape":"Sh"},"streamConfiguration":{"shape":"Si"},"studioComponentIds":{"shape":"Sw"},"studioId":{"location":"uri","locationName":"studioId"},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"}}}},"CreateStreamingImage":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-images","responseCode":200},"input":{"type":"structure","required":["ec2ImageId","name","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"description":{"type":"string","sensitive":true},"ec2ImageId":{},"name":{"type":"string","sensitive":true},"studioId":{"location":"uri","locationName":"studioId"},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{"streamingImage":{"shape":"S1f"}}}},"CreateStreamingSession":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"ec2InstanceType":{},"launchProfileId":{},"ownedBy":{},"streamingImageId":{},"studioId":{"location":"uri","locationName":"studioId"},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{"session":{"shape":"S1r"}}}},"CreateStreamingSessionStream":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/streams","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"expirationInSeconds":{"type":"integer"},"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"stream":{"shape":"S1y"}}},"idempotent":true},"CreateStudio":{"http":{"requestUri":"/2020-08-01/studios","responseCode":200},"input":{"type":"structure","required":["adminRoleArn","displayName","studioName","userRoleArn"],"members":{"adminRoleArn":{},"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"displayName":{"type":"string","sensitive":true},"studioEncryptionConfiguration":{"shape":"S24"},"studioName":{},"tags":{"shape":"Sx"},"userRoleArn":{}}},"output":{"type":"structure","members":{"studio":{"shape":"S29"}}}},"CreateStudioComponent":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/studio-components","responseCode":200},"input":{"type":"structure","required":["name","studioId","type"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"configuration":{"shape":"S2f"},"description":{"shape":"S2v"},"ec2SecurityGroupIds":{"shape":"S2w"},"initializationScripts":{"shape":"S2y"},"name":{"shape":"S33"},"scriptParameters":{"shape":"S34"},"studioId":{"location":"uri","locationName":"studioId"},"subtype":{},"tags":{"shape":"Sx"},"type":{}}},"output":{"type":"structure","members":{"studioComponent":{"shape":"S3b"}}}},"DeleteLaunchProfile":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"}}},"idempotent":true},"DeleteLaunchProfileMember":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","principalId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteStreamingImage":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}","responseCode":200},"input":{"type":"structure","required":["streamingImageId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"streamingImageId":{"location":"uri","locationName":"streamingImageId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"streamingImage":{"shape":"S1f"}}},"idempotent":true},"DeleteStreamingSession":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1r"}}},"idempotent":true},"DeleteStudio":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","required":["studio"],"members":{"studio":{"shape":"S29"}}},"idempotent":true},"DeleteStudioComponent":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}","responseCode":200},"input":{"type":"structure","required":["studioComponentId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"studioComponentId":{"location":"uri","locationName":"studioComponentId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"studioComponent":{"shape":"S3b"}}},"idempotent":true},"DeleteStudioMember":{"http":{"method":"DELETE","requestUri":"/2020-08-01/studios/{studioId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["principalId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetEula":{"http":{"method":"GET","requestUri":"/2020-08-01/eulas/{eulaId}","responseCode":200},"input":{"type":"structure","required":["eulaId"],"members":{"eulaId":{"location":"uri","locationName":"eulaId"}}},"output":{"type":"structure","members":{"eula":{"shape":"S3v"}}}},"GetLaunchProfile":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"}}}},"GetLaunchProfileDetails":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/details","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"},"streamingImages":{"shape":"S41"},"studioComponentSummaries":{"type":"list","member":{"type":"structure","members":{"createdAt":{"shape":"S8"},"createdBy":{},"description":{"shape":"S2v"},"name":{"shape":"S33"},"studioComponentId":{},"subtype":{},"type":{},"updatedAt":{"shape":"S8"},"updatedBy":{}}}}}}},"GetLaunchProfileInitialization":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/init","responseCode":200},"input":{"type":"structure","required":["launchProfileId","launchProfileProtocolVersions","launchPurpose","platform","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"launchProfileProtocolVersions":{"shape":"S45","location":"querystring","locationName":"launchProfileProtocolVersions"},"launchPurpose":{"location":"querystring","locationName":"launchPurpose"},"platform":{"location":"querystring","locationName":"platform"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfileInitialization":{"type":"structure","members":{"activeDirectory":{"type":"structure","members":{"computerAttributes":{"shape":"S2h"},"directoryId":{},"directoryName":{},"dnsIpAddresses":{"type":"list","member":{}},"organizationalUnitDistinguishedName":{},"studioComponentId":{},"studioComponentName":{"shape":"S33"}}},"ec2SecurityGroupIds":{"type":"list","member":{}},"launchProfileId":{},"launchProfileProtocolVersion":{},"launchPurpose":{},"name":{"shape":"Sh"},"platform":{},"systemInitializationScripts":{"shape":"S4d"},"userInitializationScripts":{"shape":"S4d"}}}}}},"GetLaunchProfileMember":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","principalId","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"member":{"shape":"S4h"}}}},"GetStreamingImage":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}","responseCode":200},"input":{"type":"structure","required":["streamingImageId","studioId"],"members":{"streamingImageId":{"location":"uri","locationName":"streamingImageId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"streamingImage":{"shape":"S1f"}}}},"GetStreamingSession":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1r"}}}},"GetStreamingSessionStream":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/streams/{streamId}","responseCode":200},"input":{"type":"structure","required":["sessionId","streamId","studioId"],"members":{"sessionId":{"location":"uri","locationName":"sessionId"},"streamId":{"location":"uri","locationName":"streamId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"stream":{"shape":"S1y"}}}},"GetStudio":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","required":["studio"],"members":{"studio":{"shape":"S29"}}}},"GetStudioComponent":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}","responseCode":200},"input":{"type":"structure","required":["studioComponentId","studioId"],"members":{"studioComponentId":{"location":"uri","locationName":"studioComponentId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"studioComponent":{"shape":"S3b"}}}},"GetStudioMember":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["principalId","studioId"],"members":{"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"member":{"shape":"S4v"}}}},"ListEulaAcceptances":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/eula-acceptances","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"eulaIds":{"shape":"S45","location":"querystring","locationName":"eulaIds"},"nextToken":{"location":"querystring","locationName":"nextToken"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"eulaAcceptances":{"shape":"S6"},"nextToken":{}}}},"ListEulas":{"http":{"method":"GET","requestUri":"/2020-08-01/eulas","responseCode":200},"input":{"type":"structure","members":{"eulaIds":{"shape":"S45","location":"querystring","locationName":"eulaIds"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"eulas":{"type":"list","member":{"shape":"S3v"}},"nextToken":{}}}},"ListLaunchProfileMembers":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"members":{"type":"list","member":{"shape":"S4h"}},"nextToken":{}}}},"ListLaunchProfiles":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"principalId":{"location":"querystring","locationName":"principalId"},"states":{"location":"querystring","locationName":"states","type":"list","member":{}},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfiles":{"type":"list","member":{"shape":"Sz"}},"nextToken":{}}}},"ListStreamingImages":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-images","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"owner":{"location":"querystring","locationName":"owner"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"nextToken":{},"streamingImages":{"shape":"S41"}}}},"ListStreamingSessions":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"createdBy":{"location":"querystring","locationName":"createdBy"},"nextToken":{"location":"querystring","locationName":"nextToken"},"ownedBy":{"location":"querystring","locationName":"ownedBy"},"sessionIds":{"location":"querystring","locationName":"sessionIds"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"nextToken":{},"sessions":{"type":"list","member":{"shape":"S1r"}}}}},"ListStudioComponents":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/studio-components","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"states":{"location":"querystring","locationName":"states","type":"list","member":{}},"studioId":{"location":"uri","locationName":"studioId"},"types":{"location":"querystring","locationName":"types","type":"list","member":{}}}},"output":{"type":"structure","members":{"nextToken":{},"studioComponents":{"type":"list","member":{"shape":"S3b"}}}}},"ListStudioMembers":{"http":{"method":"GET","requestUri":"/2020-08-01/studios/{studioId}/membership","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"members":{"type":"list","member":{"shape":"S4v"}},"nextToken":{}}}},"ListStudios":{"http":{"method":"GET","requestUri":"/2020-08-01/studios","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["studios"],"members":{"nextToken":{},"studios":{"type":"list","member":{"shape":"S29"}}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/2020-08-01/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sx"}}}},"PutLaunchProfileMembers":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership","responseCode":200},"input":{"type":"structure","required":["identityStoreId","launchProfileId","members","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"identityStoreId":{},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"members":{"type":"list","member":{"type":"structure","required":["persona","principalId"],"members":{"persona":{},"principalId":{}}}},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{}}},"PutStudioMembers":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/membership","responseCode":200},"input":{"type":"structure","required":["identityStoreId","members","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"identityStoreId":{},"members":{"type":"list","member":{"type":"structure","required":["persona","principalId"],"members":{"persona":{},"principalId":{}}}},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{}}},"StartStreamingSession":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/start","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1r"}}},"idempotent":true},"StartStudioSSOConfigurationRepair":{"http":{"method":"PUT","requestUri":"/2020-08-01/studios/{studioId}/sso-configuration","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","required":["studio"],"members":{"studio":{"shape":"S29"}}},"idempotent":true},"StopStreamingSession":{"http":{"requestUri":"/2020-08-01/studios/{studioId}/streaming-sessions/{sessionId}/stop","responseCode":200},"input":{"type":"structure","required":["sessionId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"sessionId":{"location":"uri","locationName":"sessionId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1r"}}},"idempotent":true},"TagResource":{"http":{"requestUri":"/2020-08-01/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Sx"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/2020-08-01/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"shape":"S45","location":"querystring","locationName":"tagKeys"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateLaunchProfile":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"description":{"shape":"Sc"},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"launchProfileProtocolVersions":{"shape":"Sf"},"name":{"shape":"Sh"},"streamConfiguration":{"shape":"Si"},"studioComponentIds":{"shape":"Sw"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"launchProfile":{"shape":"Sz"}}}},"UpdateLaunchProfileMember":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}/launch-profiles/{launchProfileId}/membership/{principalId}","responseCode":200},"input":{"type":"structure","required":["launchProfileId","persona","principalId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"launchProfileId":{"location":"uri","locationName":"launchProfileId"},"persona":{},"principalId":{"location":"uri","locationName":"principalId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"member":{"shape":"S4h"}}}},"UpdateStreamingImage":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}/streaming-images/{streamingImageId}","responseCode":200},"input":{"type":"structure","required":["streamingImageId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"description":{"type":"string","sensitive":true},"name":{"type":"string","sensitive":true},"streamingImageId":{"location":"uri","locationName":"streamingImageId"},"studioId":{"location":"uri","locationName":"studioId"}}},"output":{"type":"structure","members":{"streamingImage":{"shape":"S1f"}}}},"UpdateStudio":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}","responseCode":200},"input":{"type":"structure","required":["studioId"],"members":{"adminRoleArn":{},"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"displayName":{"type":"string","sensitive":true},"studioId":{"location":"uri","locationName":"studioId"},"userRoleArn":{}}},"output":{"type":"structure","required":["studio"],"members":{"studio":{"shape":"S29"}}}},"UpdateStudioComponent":{"http":{"method":"PATCH","requestUri":"/2020-08-01/studios/{studioId}/studio-components/{studioComponentId}","responseCode":200},"input":{"type":"structure","required":["studioComponentId","studioId"],"members":{"clientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amz-Client-Token"},"configuration":{"shape":"S2f"},"description":{"shape":"S2v"},"ec2SecurityGroupIds":{"shape":"S2w"},"initializationScripts":{"shape":"S2y"},"name":{"shape":"S33"},"scriptParameters":{"shape":"S34"},"studioComponentId":{"location":"uri","locationName":"studioComponentId"},"studioId":{"location":"uri","locationName":"studioId"},"subtype":{},"type":{}}},"output":{"type":"structure","members":{"studioComponent":{"shape":"S3b"}}}}},"shapes":{"S3":{"type":"list","member":{}},"S6":{"type":"list","member":{"type":"structure","members":{"acceptedAt":{"shape":"S8"},"acceptedBy":{},"accepteeId":{},"eulaAcceptanceId":{},"eulaId":{}}}},"S8":{"type":"timestamp","timestampFormat":"iso8601"},"Sc":{"type":"string","sensitive":true},"Sd":{"type":"list","member":{}},"Sf":{"type":"list","member":{}},"Sh":{"type":"string","sensitive":true},"Si":{"type":"structure","required":["clipboardMode","ec2InstanceTypes","streamingImageIds"],"members":{"clipboardMode":{},"ec2InstanceTypes":{"shape":"Sk"},"maxSessionLengthInMinutes":{"type":"integer"},"maxStoppedSessionLengthInMinutes":{"type":"integer"},"sessionStorage":{"shape":"So"},"streamingImageIds":{"shape":"Su"}}},"Sk":{"type":"list","member":{}},"So":{"type":"structure","required":["mode"],"members":{"mode":{"type":"list","member":{}},"root":{"type":"structure","members":{"linux":{"type":"string","sensitive":true},"windows":{"type":"string","sensitive":true}}}}},"Su":{"type":"list","member":{}},"Sw":{"type":"list","member":{}},"Sx":{"type":"map","key":{},"value":{}},"Sz":{"type":"structure","members":{"arn":{},"createdAt":{"shape":"S8"},"createdBy":{},"description":{"shape":"Sc"},"ec2SubnetIds":{"shape":"Sd"},"launchProfileId":{},"launchProfileProtocolVersions":{"shape":"Sf"},"name":{"shape":"Sh"},"state":{},"statusCode":{},"statusMessage":{},"streamConfiguration":{"type":"structure","required":["clipboardMode","ec2InstanceTypes","streamingImageIds"],"members":{"clipboardMode":{},"ec2InstanceTypes":{"shape":"Sk"},"maxSessionLengthInMinutes":{"type":"integer"},"maxStoppedSessionLengthInMinutes":{"type":"integer"},"sessionStorage":{"shape":"So"},"streamingImageIds":{"shape":"Su"}}},"studioComponentIds":{"shape":"Sw"},"tags":{"shape":"Sx"},"updatedAt":{"shape":"S8"},"updatedBy":{},"validationResults":{"type":"list","member":{"type":"structure","required":["state","statusCode","statusMessage","type"],"members":{"state":{},"statusCode":{},"statusMessage":{},"type":{}}}}}},"S1f":{"type":"structure","members":{"arn":{},"description":{"type":"string","sensitive":true},"ec2ImageId":{},"encryptionConfiguration":{"type":"structure","required":["keyType"],"members":{"keyArn":{},"keyType":{}}},"eulaIds":{"shape":"S3"},"name":{"type":"string","sensitive":true},"owner":{},"platform":{},"state":{},"statusCode":{},"statusMessage":{},"streamingImageId":{},"tags":{"shape":"Sx"}}},"S1r":{"type":"structure","members":{"arn":{},"createdAt":{"shape":"S8"},"createdBy":{},"ec2InstanceType":{},"launchProfileId":{},"ownedBy":{},"sessionId":{},"startedAt":{"shape":"S8"},"startedBy":{},"state":{},"statusCode":{},"statusMessage":{},"stopAt":{"shape":"S8"},"stoppedAt":{"shape":"S8"},"stoppedBy":{},"streamingImageId":{},"tags":{"shape":"Sx"},"terminateAt":{"shape":"S8"},"updatedAt":{"shape":"S8"},"updatedBy":{}}},"S1y":{"type":"structure","members":{"createdAt":{"shape":"S8"},"createdBy":{},"expiresAt":{"shape":"S8"},"ownedBy":{},"state":{},"statusCode":{},"streamId":{},"url":{"type":"string","sensitive":true}}},"S24":{"type":"structure","required":["keyType"],"members":{"keyArn":{},"keyType":{}}},"S29":{"type":"structure","members":{"adminRoleArn":{},"arn":{},"createdAt":{"shape":"S8"},"displayName":{"type":"string","sensitive":true},"homeRegion":{},"ssoClientId":{},"state":{},"statusCode":{},"statusMessage":{},"studioEncryptionConfiguration":{"shape":"S24"},"studioId":{},"studioName":{},"studioUrl":{},"tags":{"shape":"Sx"},"updatedAt":{"shape":"S8"},"userRoleArn":{}}},"S2f":{"type":"structure","members":{"activeDirectoryConfiguration":{"type":"structure","members":{"computerAttributes":{"shape":"S2h"},"directoryId":{},"organizationalUnitDistinguishedName":{}}},"computeFarmConfiguration":{"type":"structure","members":{"activeDirectoryUser":{},"endpoint":{"type":"string","sensitive":true}}},"licenseServiceConfiguration":{"type":"structure","members":{"endpoint":{"type":"string","sensitive":true}}},"sharedFileSystemConfiguration":{"type":"structure","members":{"endpoint":{"shape":"S2s"},"fileSystemId":{},"linuxMountPoint":{"type":"string","sensitive":true},"shareName":{"shape":"S2s"},"windowsMountDrive":{}}}},"union":true},"S2h":{"type":"list","member":{"type":"structure","members":{"name":{},"value":{}}},"sensitive":true},"S2s":{"type":"string","sensitive":true},"S2v":{"type":"string","sensitive":true},"S2w":{"type":"list","member":{}},"S2y":{"type":"list","member":{"type":"structure","members":{"launchProfileProtocolVersion":{},"platform":{},"runContext":{},"script":{"shape":"S32"}}}},"S32":{"type":"string","sensitive":true},"S33":{"type":"string","sensitive":true},"S34":{"type":"list","member":{"type":"structure","members":{"key":{},"value":{}}},"sensitive":true},"S3b":{"type":"structure","members":{"arn":{},"configuration":{"shape":"S2f"},"createdAt":{"shape":"S8"},"createdBy":{},"description":{"shape":"S2v"},"ec2SecurityGroupIds":{"shape":"S2w"},"initializationScripts":{"shape":"S2y"},"name":{"shape":"S33"},"scriptParameters":{"shape":"S34"},"state":{},"statusCode":{},"statusMessage":{},"studioComponentId":{},"subtype":{},"tags":{"shape":"Sx"},"type":{},"updatedAt":{"shape":"S8"},"updatedBy":{}}},"S3v":{"type":"structure","members":{"content":{},"createdAt":{"shape":"S8"},"eulaId":{},"name":{},"updatedAt":{"shape":"S8"}}},"S41":{"type":"list","member":{"shape":"S1f"}},"S45":{"type":"list","member":{}},"S4d":{"type":"list","member":{"type":"structure","members":{"script":{"shape":"S32"},"studioComponentId":{},"studioComponentName":{"shape":"S33"}}}},"S4h":{"type":"structure","members":{"identityStoreId":{},"persona":{},"principalId":{},"sid":{}}},"S4v":{"type":"structure","members":{"identityStoreId":{},"persona":{},"principalId":{},"sid":{}}}}} /***/ }), /* 1006 */ @@ -54552,13 +54558,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 1025 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-05-15","endpointPrefix":"apprunner","jsonVersion":"1.0","protocol":"json","serviceFullName":"AWS App Runner","serviceId":"AppRunner","signatureVersion":"v4","signingName":"apprunner","targetPrefix":"AppRunner","uid":"apprunner-2020-05-15"},"operations":{"AssociateCustomDomain":{"input":{"type":"structure","required":["ServiceArn","DomainName"],"members":{"ServiceArn":{},"DomainName":{},"EnableWWWSubdomain":{"type":"boolean"}}},"output":{"type":"structure","required":["DNSTarget","ServiceArn","CustomDomain"],"members":{"DNSTarget":{},"ServiceArn":{},"CustomDomain":{"shape":"S7"}}}},"CreateAutoScalingConfiguration":{"input":{"type":"structure","required":["AutoScalingConfigurationName"],"members":{"AutoScalingConfigurationName":{},"MaxConcurrency":{"type":"integer"},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","required":["AutoScalingConfiguration"],"members":{"AutoScalingConfiguration":{"shape":"Sm"}}}},"CreateConnection":{"input":{"type":"structure","required":["ConnectionName","ProviderType"],"members":{"ConnectionName":{},"ProviderType":{},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","required":["Connection"],"members":{"Connection":{"shape":"Sv"}}}},"CreateService":{"input":{"type":"structure","required":["ServiceName","SourceConfiguration"],"members":{"ServiceName":{},"SourceConfiguration":{"shape":"Sz"},"InstanceConfiguration":{"shape":"S1i"},"Tags":{"shape":"Sh"},"EncryptionConfiguration":{"shape":"S1l"},"HealthCheckConfiguration":{"shape":"S1n"},"AutoScalingConfigurationArn":{}}},"output":{"type":"structure","required":["Service","OperationId"],"members":{"Service":{"shape":"S1v"},"OperationId":{}}}},"DeleteAutoScalingConfiguration":{"input":{"type":"structure","required":["AutoScalingConfigurationArn"],"members":{"AutoScalingConfigurationArn":{}}},"output":{"type":"structure","required":["AutoScalingConfiguration"],"members":{"AutoScalingConfiguration":{"shape":"Sm"}}}},"DeleteConnection":{"input":{"type":"structure","required":["ConnectionArn"],"members":{"ConnectionArn":{}}},"output":{"type":"structure","members":{"Connection":{"shape":"Sv"}}}},"DeleteService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["Service","OperationId"],"members":{"Service":{"shape":"S1v"},"OperationId":{}}}},"DescribeAutoScalingConfiguration":{"input":{"type":"structure","required":["AutoScalingConfigurationArn"],"members":{"AutoScalingConfigurationArn":{}}},"output":{"type":"structure","required":["AutoScalingConfiguration"],"members":{"AutoScalingConfiguration":{"shape":"Sm"}}}},"DescribeCustomDomains":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["DNSTarget","ServiceArn","CustomDomains"],"members":{"DNSTarget":{},"ServiceArn":{},"CustomDomains":{"type":"list","member":{"shape":"S7"}},"NextToken":{}}}},"DescribeService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["Service"],"members":{"Service":{"shape":"S1v"}}}},"DisassociateCustomDomain":{"input":{"type":"structure","required":["ServiceArn","DomainName"],"members":{"ServiceArn":{},"DomainName":{}}},"output":{"type":"structure","required":["DNSTarget","ServiceArn","CustomDomain"],"members":{"DNSTarget":{},"ServiceArn":{},"CustomDomain":{"shape":"S7"}}}},"ListAutoScalingConfigurations":{"input":{"type":"structure","members":{"AutoScalingConfigurationName":{},"LatestOnly":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["AutoScalingConfigurationSummaryList"],"members":{"AutoScalingConfigurationSummaryList":{"type":"list","member":{"shape":"S1y"}},"NextToken":{}}}},"ListConnections":{"input":{"type":"structure","members":{"ConnectionName":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["ConnectionSummaryList"],"members":{"ConnectionSummaryList":{"type":"list","member":{"type":"structure","members":{"ConnectionName":{},"ConnectionArn":{},"ProviderType":{},"Status":{},"CreatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"ListOperations":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"OperationSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Type":{},"Status":{},"TargetArn":{},"StartedAt":{"type":"timestamp"},"EndedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"ListServices":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ServiceSummaryList"],"members":{"ServiceSummaryList":{"type":"list","member":{"type":"structure","members":{"ServiceName":{},"ServiceId":{},"ServiceArn":{},"ServiceUrl":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sh"}}}},"PauseService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["Service"],"members":{"Service":{"shape":"S1v"},"OperationId":{}}}},"ResumeService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["Service"],"members":{"Service":{"shape":"S1v"},"OperationId":{}}}},"StartDeployment":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["OperationId"],"members":{"OperationId":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{},"SourceConfiguration":{"shape":"Sz"},"InstanceConfiguration":{"shape":"S1i"},"AutoScalingConfigurationArn":{},"HealthCheckConfiguration":{"shape":"S1n"}}},"output":{"type":"structure","required":["Service","OperationId"],"members":{"Service":{"shape":"S1v"},"OperationId":{}}}}},"shapes":{"S7":{"type":"structure","required":["DomainName","EnableWWWSubdomain","Status"],"members":{"DomainName":{},"EnableWWWSubdomain":{"type":"boolean"},"CertificateValidationRecords":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"Value":{},"Status":{}}}},"Status":{}}},"Sh":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"Sm":{"type":"structure","members":{"AutoScalingConfigurationArn":{},"AutoScalingConfigurationName":{},"AutoScalingConfigurationRevision":{"type":"integer"},"Latest":{"type":"boolean"},"Status":{},"MaxConcurrency":{"type":"integer"},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"CreatedAt":{"type":"timestamp"},"DeletedAt":{"type":"timestamp"}}},"Sv":{"type":"structure","members":{"ConnectionName":{},"ConnectionArn":{},"ProviderType":{},"Status":{},"CreatedAt":{"type":"timestamp"}}},"Sz":{"type":"structure","members":{"CodeRepository":{"type":"structure","required":["RepositoryUrl","SourceCodeVersion"],"members":{"RepositoryUrl":{},"SourceCodeVersion":{"type":"structure","required":["Type","Value"],"members":{"Type":{},"Value":{}}},"CodeConfiguration":{"type":"structure","required":["ConfigurationSource"],"members":{"ConfigurationSource":{},"CodeConfigurationValues":{"type":"structure","required":["Runtime"],"members":{"Runtime":{},"BuildCommand":{"type":"string","sensitive":true},"StartCommand":{"type":"string","sensitive":true},"Port":{},"RuntimeEnvironmentVariables":{"shape":"S19"}}}}}}},"ImageRepository":{"type":"structure","required":["ImageIdentifier","ImageRepositoryType"],"members":{"ImageIdentifier":{},"ImageConfiguration":{"type":"structure","members":{"RuntimeEnvironmentVariables":{"shape":"S19"},"StartCommand":{},"Port":{}}},"ImageRepositoryType":{}}},"AutoDeploymentsEnabled":{"type":"boolean"},"AuthenticationConfiguration":{"type":"structure","members":{"ConnectionArn":{},"AccessRoleArn":{}}}}},"S19":{"type":"map","key":{"type":"string","sensitive":true},"value":{"type":"string","sensitive":true}},"S1i":{"type":"structure","members":{"Cpu":{},"Memory":{},"InstanceRoleArn":{}}},"S1l":{"type":"structure","required":["KmsKey"],"members":{"KmsKey":{}}},"S1n":{"type":"structure","members":{"Protocol":{},"Path":{},"Interval":{"type":"integer"},"Timeout":{"type":"integer"},"HealthyThreshold":{"type":"integer"},"UnhealthyThreshold":{"type":"integer"}}},"S1v":{"type":"structure","required":["ServiceName","ServiceId","ServiceArn","ServiceUrl","CreatedAt","UpdatedAt","Status","SourceConfiguration","InstanceConfiguration","AutoScalingConfigurationSummary"],"members":{"ServiceName":{},"ServiceId":{},"ServiceArn":{},"ServiceUrl":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DeletedAt":{"type":"timestamp"},"Status":{},"SourceConfiguration":{"shape":"Sz"},"InstanceConfiguration":{"shape":"S1i"},"EncryptionConfiguration":{"shape":"S1l"},"HealthCheckConfiguration":{"shape":"S1n"},"AutoScalingConfigurationSummary":{"shape":"S1y"}}},"S1y":{"type":"structure","members":{"AutoScalingConfigurationArn":{},"AutoScalingConfigurationName":{},"AutoScalingConfigurationRevision":{"type":"integer"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-05-15","endpointPrefix":"apprunner","jsonVersion":"1.0","protocol":"json","serviceFullName":"AWS App Runner","serviceId":"AppRunner","signatureVersion":"v4","signingName":"apprunner","targetPrefix":"AppRunner","uid":"apprunner-2020-05-15"},"operations":{"AssociateCustomDomain":{"input":{"type":"structure","required":["ServiceArn","DomainName"],"members":{"ServiceArn":{},"DomainName":{},"EnableWWWSubdomain":{"type":"boolean"}}},"output":{"type":"structure","required":["DNSTarget","ServiceArn","CustomDomain"],"members":{"DNSTarget":{},"ServiceArn":{},"CustomDomain":{"shape":"S7"}}}},"CreateAutoScalingConfiguration":{"input":{"type":"structure","required":["AutoScalingConfigurationName"],"members":{"AutoScalingConfigurationName":{},"MaxConcurrency":{"type":"integer"},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","required":["AutoScalingConfiguration"],"members":{"AutoScalingConfiguration":{"shape":"Sm"}}}},"CreateConnection":{"input":{"type":"structure","required":["ConnectionName","ProviderType"],"members":{"ConnectionName":{},"ProviderType":{},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","required":["Connection"],"members":{"Connection":{"shape":"Sv"}}}},"CreateService":{"input":{"type":"structure","required":["ServiceName","SourceConfiguration"],"members":{"ServiceName":{},"SourceConfiguration":{"shape":"Sz"},"InstanceConfiguration":{"shape":"S1i"},"Tags":{"shape":"Sh"},"EncryptionConfiguration":{"shape":"S1l"},"HealthCheckConfiguration":{"shape":"S1n"},"AutoScalingConfigurationArn":{},"NetworkConfiguration":{"shape":"S1u"}}},"output":{"type":"structure","required":["Service","OperationId"],"members":{"Service":{"shape":"S1y"},"OperationId":{}}}},"CreateVpcConnector":{"input":{"type":"structure","required":["VpcConnectorName","Subnets"],"members":{"VpcConnectorName":{},"Subnets":{"shape":"S25"},"SecurityGroups":{"shape":"S25"},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","required":["VpcConnector"],"members":{"VpcConnector":{"shape":"S27"}}}},"DeleteAutoScalingConfiguration":{"input":{"type":"structure","required":["AutoScalingConfigurationArn"],"members":{"AutoScalingConfigurationArn":{}}},"output":{"type":"structure","required":["AutoScalingConfiguration"],"members":{"AutoScalingConfiguration":{"shape":"Sm"}}}},"DeleteConnection":{"input":{"type":"structure","required":["ConnectionArn"],"members":{"ConnectionArn":{}}},"output":{"type":"structure","members":{"Connection":{"shape":"Sv"}}}},"DeleteService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["Service","OperationId"],"members":{"Service":{"shape":"S1y"},"OperationId":{}}}},"DeleteVpcConnector":{"input":{"type":"structure","required":["VpcConnectorArn"],"members":{"VpcConnectorArn":{}}},"output":{"type":"structure","required":["VpcConnector"],"members":{"VpcConnector":{"shape":"S27"}}}},"DescribeAutoScalingConfiguration":{"input":{"type":"structure","required":["AutoScalingConfigurationArn"],"members":{"AutoScalingConfigurationArn":{}}},"output":{"type":"structure","required":["AutoScalingConfiguration"],"members":{"AutoScalingConfiguration":{"shape":"Sm"}}}},"DescribeCustomDomains":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["DNSTarget","ServiceArn","CustomDomains"],"members":{"DNSTarget":{},"ServiceArn":{},"CustomDomains":{"type":"list","member":{"shape":"S7"}},"NextToken":{}}}},"DescribeService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["Service"],"members":{"Service":{"shape":"S1y"}}}},"DescribeVpcConnector":{"input":{"type":"structure","required":["VpcConnectorArn"],"members":{"VpcConnectorArn":{}}},"output":{"type":"structure","required":["VpcConnector"],"members":{"VpcConnector":{"shape":"S27"}}}},"DisassociateCustomDomain":{"input":{"type":"structure","required":["ServiceArn","DomainName"],"members":{"ServiceArn":{},"DomainName":{}}},"output":{"type":"structure","required":["DNSTarget","ServiceArn","CustomDomain"],"members":{"DNSTarget":{},"ServiceArn":{},"CustomDomain":{"shape":"S7"}}}},"ListAutoScalingConfigurations":{"input":{"type":"structure","members":{"AutoScalingConfigurationName":{},"LatestOnly":{"type":"boolean"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["AutoScalingConfigurationSummaryList"],"members":{"AutoScalingConfigurationSummaryList":{"type":"list","member":{"shape":"S21"}},"NextToken":{}}}},"ListConnections":{"input":{"type":"structure","members":{"ConnectionName":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["ConnectionSummaryList"],"members":{"ConnectionSummaryList":{"type":"list","member":{"type":"structure","members":{"ConnectionName":{},"ConnectionArn":{},"ProviderType":{},"Status":{},"CreatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"ListOperations":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"OperationSummaryList":{"type":"list","member":{"type":"structure","members":{"Id":{},"Type":{},"Status":{},"TargetArn":{},"StartedAt":{"type":"timestamp"},"EndedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"ListServices":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","required":["ServiceSummaryList"],"members":{"ServiceSummaryList":{"type":"list","member":{"type":"structure","members":{"ServiceName":{},"ServiceId":{},"ServiceArn":{},"ServiceUrl":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Status":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sh"}}}},"ListVpcConnectors":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","required":["VpcConnectors"],"members":{"VpcConnectors":{"type":"list","member":{"shape":"S27"}},"NextToken":{}}}},"PauseService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["Service"],"members":{"Service":{"shape":"S1y"},"OperationId":{}}}},"ResumeService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["Service"],"members":{"Service":{"shape":"S1y"},"OperationId":{}}}},"StartDeployment":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{}}},"output":{"type":"structure","required":["OperationId"],"members":{"OperationId":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateService":{"input":{"type":"structure","required":["ServiceArn"],"members":{"ServiceArn":{},"SourceConfiguration":{"shape":"Sz"},"InstanceConfiguration":{"shape":"S1i"},"AutoScalingConfigurationArn":{},"HealthCheckConfiguration":{"shape":"S1n"},"NetworkConfiguration":{"shape":"S1u"}}},"output":{"type":"structure","required":["Service","OperationId"],"members":{"Service":{"shape":"S1y"},"OperationId":{}}}}},"shapes":{"S7":{"type":"structure","required":["DomainName","EnableWWWSubdomain","Status"],"members":{"DomainName":{},"EnableWWWSubdomain":{"type":"boolean"},"CertificateValidationRecords":{"type":"list","member":{"type":"structure","members":{"Name":{},"Type":{},"Value":{},"Status":{}}}},"Status":{}}},"Sh":{"type":"list","member":{"type":"structure","members":{"Key":{},"Value":{}}}},"Sm":{"type":"structure","members":{"AutoScalingConfigurationArn":{},"AutoScalingConfigurationName":{},"AutoScalingConfigurationRevision":{"type":"integer"},"Latest":{"type":"boolean"},"Status":{},"MaxConcurrency":{"type":"integer"},"MinSize":{"type":"integer"},"MaxSize":{"type":"integer"},"CreatedAt":{"type":"timestamp"},"DeletedAt":{"type":"timestamp"}}},"Sv":{"type":"structure","members":{"ConnectionName":{},"ConnectionArn":{},"ProviderType":{},"Status":{},"CreatedAt":{"type":"timestamp"}}},"Sz":{"type":"structure","members":{"CodeRepository":{"type":"structure","required":["RepositoryUrl","SourceCodeVersion"],"members":{"RepositoryUrl":{},"SourceCodeVersion":{"type":"structure","required":["Type","Value"],"members":{"Type":{},"Value":{}}},"CodeConfiguration":{"type":"structure","required":["ConfigurationSource"],"members":{"ConfigurationSource":{},"CodeConfigurationValues":{"type":"structure","required":["Runtime"],"members":{"Runtime":{},"BuildCommand":{"type":"string","sensitive":true},"StartCommand":{"shape":"S18"},"Port":{},"RuntimeEnvironmentVariables":{"shape":"S19"}}}}}}},"ImageRepository":{"type":"structure","required":["ImageIdentifier","ImageRepositoryType"],"members":{"ImageIdentifier":{},"ImageConfiguration":{"type":"structure","members":{"RuntimeEnvironmentVariables":{"shape":"S19"},"StartCommand":{"shape":"S18"},"Port":{}}},"ImageRepositoryType":{}}},"AutoDeploymentsEnabled":{"type":"boolean"},"AuthenticationConfiguration":{"type":"structure","members":{"ConnectionArn":{},"AccessRoleArn":{}}}}},"S18":{"type":"string","sensitive":true},"S19":{"type":"map","key":{"type":"string","sensitive":true},"value":{"type":"string","sensitive":true}},"S1i":{"type":"structure","members":{"Cpu":{},"Memory":{},"InstanceRoleArn":{}}},"S1l":{"type":"structure","required":["KmsKey"],"members":{"KmsKey":{}}},"S1n":{"type":"structure","members":{"Protocol":{},"Path":{},"Interval":{"type":"integer"},"Timeout":{"type":"integer"},"HealthyThreshold":{"type":"integer"},"UnhealthyThreshold":{"type":"integer"}}},"S1u":{"type":"structure","members":{"EgressConfiguration":{"type":"structure","members":{"EgressType":{},"VpcConnectorArn":{}}}}},"S1y":{"type":"structure","required":["ServiceName","ServiceId","ServiceArn","ServiceUrl","CreatedAt","UpdatedAt","Status","SourceConfiguration","InstanceConfiguration","AutoScalingConfigurationSummary","NetworkConfiguration"],"members":{"ServiceName":{},"ServiceId":{},"ServiceArn":{},"ServiceUrl":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DeletedAt":{"type":"timestamp"},"Status":{},"SourceConfiguration":{"shape":"Sz"},"InstanceConfiguration":{"shape":"S1i"},"EncryptionConfiguration":{"shape":"S1l"},"HealthCheckConfiguration":{"shape":"S1n"},"AutoScalingConfigurationSummary":{"shape":"S21"},"NetworkConfiguration":{"shape":"S1u"}}},"S21":{"type":"structure","members":{"AutoScalingConfigurationArn":{},"AutoScalingConfigurationName":{},"AutoScalingConfigurationRevision":{"type":"integer"}}},"S25":{"type":"list","member":{}},"S27":{"type":"structure","members":{"VpcConnectorName":{},"VpcConnectorArn":{},"VpcConnectorRevision":{"type":"integer"},"Subnets":{"shape":"S25"},"SecurityGroups":{"shape":"S25"},"Status":{},"CreatedAt":{"type":"timestamp"},"DeletedAt":{"type":"timestamp"}}}}} /***/ }), /* 1026 */ /***/ (function(module, exports) { - module.exports = {"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"}}} + module.exports = {"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"}}} /***/ }), /* 1027 */ @@ -54890,7 +54896,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1054 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-01-01","endpointPrefix":"es","protocol":"rest-json","serviceFullName":"Amazon OpenSearch Service","serviceId":"OpenSearch","signatureVersion":"v4","uid":"opensearch-2021-01-01"},"operations":{"AcceptInboundConnection":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"AddTags":{"http":{"requestUri":"/2021-01-01/tags"},"input":{"type":"structure","required":["ARN","TagList"],"members":{"ARN":{},"TagList":{"shape":"Sf"}}}},"AssociatePackage":{"http":{"requestUri":"/2021-01-01/packages/associate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sm"}}}},"CancelServiceSoftwareUpdate":{"http":{"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/cancel"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"Sy"}}}},"CreateDomain":{"http":{"requestUri":"/2021-01-01/opensearch/domain"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"EngineVersion":{},"ClusterConfig":{"shape":"S15"},"EBSOptions":{"shape":"S1b"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1e"},"VPCOptions":{"shape":"S1f"},"CognitoOptions":{"shape":"S1h"},"EncryptionAtRestOptions":{"shape":"S1l"},"NodeToNodeEncryptionOptions":{"shape":"S1n"},"AdvancedOptions":{"shape":"S1o"},"LogPublishingOptions":{"shape":"S1p"},"DomainEndpointOptions":{"shape":"S1t"},"AdvancedSecurityOptions":{"shape":"S1w"},"TagList":{"shape":"Sf"},"AutoTuneOptions":{"type":"structure","members":{"DesiredState":{},"MaintenanceSchedules":{"shape":"S27"}}}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2e"}}}},"CreateOutboundConnection":{"http":{"requestUri":"/2021-01-01/opensearch/cc/outboundConnection"},"input":{"type":"structure","required":["LocalDomainInfo","RemoteDomainInfo","ConnectionAlias"],"members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionAlias":{}}},"output":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S2q"},"ConnectionId":{}}}},"CreatePackage":{"http":{"requestUri":"/2021-01-01/packages"},"input":{"type":"structure","required":["PackageName","PackageType","PackageSource"],"members":{"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageSource":{"shape":"S2u"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S2y"}}}},"DeleteDomain":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2e"}}}},"DeleteInboundConnection":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"DeleteOutboundConnection":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/cc/outboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S37"}}}},"DeletePackage":{"http":{"method":"DELETE","requestUri":"/2021-01-01/packages/{PackageID}"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S2y"}}}},"DescribeDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainStatus"],"members":{"DomainStatus":{"shape":"S2e"}}}},"DescribeDomainAutoTunes":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/autoTunes"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AutoTunes":{"type":"list","member":{"type":"structure","members":{"AutoTuneType":{},"AutoTuneDetails":{"type":"structure","members":{"ScheduledAutoTuneDetails":{"type":"structure","members":{"Date":{"type":"timestamp"},"ActionType":{},"Action":{},"Severity":{}}}}}}}},"NextToken":{}}}},"DescribeDomainConfig":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S3r"}}}},"DescribeDomains":{"http":{"requestUri":"/2021-01-01/opensearch/domain-info"},"input":{"type":"structure","required":["DomainNames"],"members":{"DomainNames":{"type":"list","member":{}}}},"output":{"type":"structure","required":["DomainStatusList"],"members":{"DomainStatusList":{"type":"list","member":{"shape":"S2e"}}}}},"DescribeInboundConnections":{"http":{"requestUri":"/2021-01-01/opensearch/cc/inboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S4i"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Connections":{"type":"list","member":{"shape":"S4"}},"NextToken":{}}}},"DescribeInstanceTypeLimits":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/instanceTypeLimits/{EngineVersion}/{InstanceType}"},"input":{"type":"structure","required":["InstanceType","EngineVersion"],"members":{"DomainName":{"location":"querystring","locationName":"domainName"},"InstanceType":{"location":"uri","locationName":"InstanceType"},"EngineVersion":{"location":"uri","locationName":"EngineVersion"}}},"output":{"type":"structure","members":{"LimitsByRole":{"type":"map","key":{},"value":{"type":"structure","members":{"StorageTypes":{"type":"list","member":{"type":"structure","members":{"StorageTypeName":{},"StorageSubTypeName":{},"StorageTypeLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S50"}}}}}}},"InstanceLimits":{"type":"structure","members":{"InstanceCountLimits":{"type":"structure","members":{"MinimumInstanceCount":{"type":"integer"},"MaximumInstanceCount":{"type":"integer"}}}}},"AdditionalLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S50"}}}}}}}}}},"DescribeOutboundConnections":{"http":{"requestUri":"/2021-01-01/opensearch/cc/outboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S4i"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Connections":{"type":"list","member":{"shape":"S37"}},"NextToken":{}}}},"DescribePackages":{"http":{"requestUri":"/2021-01-01/packages/describe"},"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PackageDetailsList":{"type":"list","member":{"shape":"S2y"}},"NextToken":{}}}},"DescribeReservedInstanceOfferings":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/reservedInstanceOfferings"},"input":{"type":"structure","members":{"ReservedInstanceOfferingId":{"location":"querystring","locationName":"offeringId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedInstanceOfferings":{"type":"list","member":{"type":"structure","members":{"ReservedInstanceOfferingId":{},"InstanceType":{},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"PaymentOption":{},"RecurringCharges":{"shape":"S5r"}}}}}}},"DescribeReservedInstances":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/reservedInstances"},"input":{"type":"structure","members":{"ReservedInstanceId":{"location":"querystring","locationName":"reservationId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedInstances":{"type":"list","member":{"type":"structure","members":{"ReservationName":{},"ReservedInstanceId":{},"BillingSubscriptionId":{"type":"long"},"ReservedInstanceOfferingId":{},"InstanceType":{},"StartTime":{"type":"timestamp"},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"InstanceCount":{"type":"integer"},"State":{},"PaymentOption":{},"RecurringCharges":{"shape":"S5r"}}}}}}},"DissociatePackage":{"http":{"requestUri":"/2021-01-01/packages/dissociate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sm"}}}},"GetCompatibleVersions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/compatibleVersions"},"input":{"type":"structure","members":{"DomainName":{"location":"querystring","locationName":"domainName"}}},"output":{"type":"structure","members":{"CompatibleVersions":{"type":"list","member":{"type":"structure","members":{"SourceVersion":{},"TargetVersions":{"shape":"S65"}}}}}}},"GetPackageVersionHistory":{"http":{"method":"GET","requestUri":"/2021-01-01/packages/{PackageID}/history"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"PackageID":{},"PackageVersionHistoryList":{"type":"list","member":{"type":"structure","members":{"PackageVersion":{},"CommitMessage":{},"CreatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"GetUpgradeHistory":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/upgradeDomain/{DomainName}/history"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"UpgradeHistories":{"type":"list","member":{"type":"structure","members":{"UpgradeName":{},"StartTimestamp":{"type":"timestamp"},"UpgradeStatus":{},"StepsList":{"type":"list","member":{"type":"structure","members":{"UpgradeStep":{},"UpgradeStepStatus":{},"Issues":{"type":"list","member":{}},"ProgressPercent":{"type":"double"}}}}}}},"NextToken":{}}}},"GetUpgradeStatus":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/upgradeDomain/{DomainName}/status"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"UpgradeStep":{},"StepStatus":{},"UpgradeName":{}}}},"ListDomainNames":{"http":{"method":"GET","requestUri":"/2021-01-01/domain"},"input":{"type":"structure","members":{"EngineType":{"location":"querystring","locationName":"engineType"}}},"output":{"type":"structure","members":{"DomainNames":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"EngineType":{}}}}}}},"ListDomainsForPackage":{"http":{"method":"GET","requestUri":"/2021-01-01/packages/{PackageID}/domains"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S6w"},"NextToken":{}}}},"ListInstanceTypeDetails":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/instanceTypeDetails/{EngineVersion}"},"input":{"type":"structure","required":["EngineVersion"],"members":{"EngineVersion":{"location":"uri","locationName":"EngineVersion"},"DomainName":{"location":"querystring","locationName":"domainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"InstanceTypeDetails":{"type":"list","member":{"type":"structure","members":{"InstanceType":{},"EncryptionEnabled":{"type":"boolean"},"CognitoEnabled":{"type":"boolean"},"AppLogsEnabled":{"type":"boolean"},"AdvancedSecurityEnabled":{"type":"boolean"},"WarmEnabled":{"type":"boolean"},"InstanceRole":{"type":"list","member":{}}}}},"NextToken":{}}}},"ListPackagesForDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/domain/{DomainName}/packages"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S6w"},"NextToken":{}}}},"ListTags":{"http":{"method":"GET","requestUri":"/2021-01-01/tags/"},"input":{"type":"structure","required":["ARN"],"members":{"ARN":{"location":"querystring","locationName":"arn"}}},"output":{"type":"structure","members":{"TagList":{"shape":"Sf"}}}},"ListVersions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/versions"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Versions":{"shape":"S65"},"NextToken":{}}}},"PurchaseReservedInstanceOffering":{"http":{"requestUri":"/2021-01-01/opensearch/purchaseReservedInstanceOffering"},"input":{"type":"structure","required":["ReservedInstanceOfferingId","ReservationName"],"members":{"ReservedInstanceOfferingId":{},"ReservationName":{},"InstanceCount":{"type":"integer"}}},"output":{"type":"structure","members":{"ReservedInstanceId":{},"ReservationName":{}}}},"RejectInboundConnection":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"RemoveTags":{"http":{"requestUri":"/2021-01-01/tags-removal"},"input":{"type":"structure","required":["ARN","TagKeys"],"members":{"ARN":{},"TagKeys":{"shape":"S1g"}}}},"StartServiceSoftwareUpdate":{"http":{"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/start"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"Sy"}}}},"UpdateDomainConfig":{"http":{"requestUri":"/2021-01-01/opensearch/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ClusterConfig":{"shape":"S15"},"EBSOptions":{"shape":"S1b"},"SnapshotOptions":{"shape":"S1e"},"VPCOptions":{"shape":"S1f"},"CognitoOptions":{"shape":"S1h"},"AdvancedOptions":{"shape":"S1o"},"AccessPolicies":{},"LogPublishingOptions":{"shape":"S1p"},"EncryptionAtRestOptions":{"shape":"S1l"},"DomainEndpointOptions":{"shape":"S1t"},"NodeToNodeEncryptionOptions":{"shape":"S1n"},"AdvancedSecurityOptions":{"shape":"S1w"},"AutoTuneOptions":{"shape":"S4a"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S3r"},"DryRunResults":{"type":"structure","members":{"DeploymentType":{},"Message":{}}}}}},"UpdatePackage":{"http":{"requestUri":"/2021-01-01/packages/update"},"input":{"type":"structure","required":["PackageID","PackageSource"],"members":{"PackageID":{},"PackageSource":{"shape":"S2u"},"PackageDescription":{},"CommitMessage":{}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S2y"}}}},"UpgradeDomain":{"http":{"requestUri":"/2021-01-01/opensearch/upgradeDomain"},"input":{"type":"structure","required":["DomainName","TargetVersion"],"members":{"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"AdvancedOptions":{"shape":"S1o"}}},"output":{"type":"structure","members":{"UpgradeId":{},"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"AdvancedOptions":{"shape":"S1o"}}}}},"shapes":{"S4":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionId":{},"ConnectionStatus":{"type":"structure","members":{"StatusCode":{},"Message":{}}}}},"S5":{"type":"structure","members":{"AWSDomainInformation":{"type":"structure","required":["DomainName"],"members":{"OwnerId":{},"DomainName":{},"Region":{}}}}},"Sf":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sm":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"LastUpdated":{"type":"timestamp"},"DomainName":{},"DomainPackageStatus":{},"PackageVersion":{},"ReferencePath":{},"ErrorDetails":{"shape":"St"}}},"St":{"type":"structure","members":{"ErrorType":{},"ErrorMessage":{}}},"Sy":{"type":"structure","members":{"CurrentVersion":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"Cancellable":{"type":"boolean"},"UpdateStatus":{},"Description":{},"AutomatedUpdateDate":{"type":"timestamp"},"OptionalDeployment":{"type":"boolean"}}},"S15":{"type":"structure","members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"ZoneAwarenessEnabled":{"type":"boolean"},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"DedicatedMasterType":{},"DedicatedMasterCount":{"type":"integer"},"WarmEnabled":{"type":"boolean"},"WarmType":{},"WarmCount":{"type":"integer"},"ColdStorageOptions":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"}}}}},"S1b":{"type":"structure","members":{"EBSEnabled":{"type":"boolean"},"VolumeType":{},"VolumeSize":{"type":"integer"},"Iops":{"type":"integer"}}},"S1e":{"type":"structure","members":{"AutomatedSnapshotStartHour":{"type":"integer"}}},"S1f":{"type":"structure","members":{"SubnetIds":{"shape":"S1g"},"SecurityGroupIds":{"shape":"S1g"}}},"S1g":{"type":"list","member":{}},"S1h":{"type":"structure","members":{"Enabled":{"type":"boolean"},"UserPoolId":{},"IdentityPoolId":{},"RoleArn":{}}},"S1l":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"S1n":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"S1o":{"type":"map","key":{},"value":{}},"S1p":{"type":"map","key":{},"value":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}}},"S1t":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{},"CustomEndpointEnabled":{"type":"boolean"},"CustomEndpoint":{},"CustomEndpointCertificateArn":{}}},"S1w":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"MasterUserOptions":{"type":"structure","members":{"MasterUserARN":{},"MasterUserName":{"shape":"S1y"},"MasterUserPassword":{"type":"string","sensitive":true}}},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S21"},"MasterUserName":{"shape":"S1y"},"MasterBackendRole":{},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}}}},"S1y":{"type":"string","sensitive":true},"S21":{"type":"structure","required":["MetadataContent","EntityId"],"members":{"MetadataContent":{},"EntityId":{}}},"S27":{"type":"list","member":{"type":"structure","members":{"StartAt":{"type":"timestamp"},"Duration":{"type":"structure","members":{"Value":{"type":"long"},"Unit":{}}},"CronExpressionForRecurrence":{}}}},"S2e":{"type":"structure","required":["DomainId","DomainName","ARN","ClusterConfig"],"members":{"DomainId":{},"DomainName":{},"ARN":{},"Created":{"type":"boolean"},"Deleted":{"type":"boolean"},"Endpoint":{},"Endpoints":{"type":"map","key":{},"value":{}},"Processing":{"type":"boolean"},"UpgradeProcessing":{"type":"boolean"},"EngineVersion":{},"ClusterConfig":{"shape":"S15"},"EBSOptions":{"shape":"S1b"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1e"},"VPCOptions":{"shape":"S2i"},"CognitoOptions":{"shape":"S1h"},"EncryptionAtRestOptions":{"shape":"S1l"},"NodeToNodeEncryptionOptions":{"shape":"S1n"},"AdvancedOptions":{"shape":"S1o"},"LogPublishingOptions":{"shape":"S1p"},"ServiceSoftwareOptions":{"shape":"Sy"},"DomainEndpointOptions":{"shape":"S1t"},"AdvancedSecurityOptions":{"shape":"S2j"},"AutoTuneOptions":{"type":"structure","members":{"State":{},"ErrorMessage":{}}}}},"S2i":{"type":"structure","members":{"VPCId":{},"SubnetIds":{"shape":"S1g"},"AvailabilityZones":{"shape":"S1g"},"SecurityGroupIds":{"shape":"S1g"}}},"S2j":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S21"},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}}}},"S2q":{"type":"structure","members":{"StatusCode":{},"Message":{}}},"S2u":{"type":"structure","members":{"S3BucketName":{},"S3Key":{}}},"S2y":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageStatus":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"AvailablePackageVersion":{},"ErrorDetails":{"shape":"St"}}},"S37":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionId":{},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S2q"}}},"S3r":{"type":"structure","members":{"EngineVersion":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S3t"}}},"ClusterConfig":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S15"},"Status":{"shape":"S3t"}}},"EBSOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1b"},"Status":{"shape":"S3t"}}},"AccessPolicies":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S3t"}}},"SnapshotOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1e"},"Status":{"shape":"S3t"}}},"VPCOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2i"},"Status":{"shape":"S3t"}}},"CognitoOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1h"},"Status":{"shape":"S3t"}}},"EncryptionAtRestOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1l"},"Status":{"shape":"S3t"}}},"NodeToNodeEncryptionOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1n"},"Status":{"shape":"S3t"}}},"AdvancedOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1o"},"Status":{"shape":"S3t"}}},"LogPublishingOptions":{"type":"structure","members":{"Options":{"shape":"S1p"},"Status":{"shape":"S3t"}}},"DomainEndpointOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1t"},"Status":{"shape":"S3t"}}},"AdvancedSecurityOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2j"},"Status":{"shape":"S3t"}}},"AutoTuneOptions":{"type":"structure","members":{"Options":{"shape":"S4a"},"Status":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"ErrorMessage":{},"PendingDeletion":{"type":"boolean"}}}}}}},"S3t":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"PendingDeletion":{"type":"boolean"}}},"S4a":{"type":"structure","members":{"DesiredState":{},"RollbackOnDisable":{},"MaintenanceSchedules":{"shape":"S27"}}},"S4i":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S50":{"type":"list","member":{}},"S5r":{"type":"list","member":{"type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}}}},"S65":{"type":"list","member":{}},"S6w":{"type":"list","member":{"shape":"Sm"}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-01-01","endpointPrefix":"es","protocol":"rest-json","serviceFullName":"Amazon OpenSearch Service","serviceId":"OpenSearch","signatureVersion":"v4","uid":"opensearch-2021-01-01"},"operations":{"AcceptInboundConnection":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"AddTags":{"http":{"requestUri":"/2021-01-01/tags"},"input":{"type":"structure","required":["ARN","TagList"],"members":{"ARN":{},"TagList":{"shape":"Sf"}}}},"AssociatePackage":{"http":{"requestUri":"/2021-01-01/packages/associate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sm"}}}},"CancelServiceSoftwareUpdate":{"http":{"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/cancel"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"Sy"}}}},"CreateDomain":{"http":{"requestUri":"/2021-01-01/opensearch/domain"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"EngineVersion":{},"ClusterConfig":{"shape":"S15"},"EBSOptions":{"shape":"S1b"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1e"},"VPCOptions":{"shape":"S1f"},"CognitoOptions":{"shape":"S1h"},"EncryptionAtRestOptions":{"shape":"S1l"},"NodeToNodeEncryptionOptions":{"shape":"S1n"},"AdvancedOptions":{"shape":"S1o"},"LogPublishingOptions":{"shape":"S1p"},"DomainEndpointOptions":{"shape":"S1t"},"AdvancedSecurityOptions":{"shape":"S1w"},"TagList":{"shape":"Sf"},"AutoTuneOptions":{"type":"structure","members":{"DesiredState":{},"MaintenanceSchedules":{"shape":"S27"}}}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2e"}}}},"CreateOutboundConnection":{"http":{"requestUri":"/2021-01-01/opensearch/cc/outboundConnection"},"input":{"type":"structure","required":["LocalDomainInfo","RemoteDomainInfo","ConnectionAlias"],"members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionAlias":{}}},"output":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S2u"},"ConnectionId":{}}}},"CreatePackage":{"http":{"requestUri":"/2021-01-01/packages"},"input":{"type":"structure","required":["PackageName","PackageType","PackageSource"],"members":{"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageSource":{"shape":"S2y"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S32"}}}},"DeleteDomain":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2e"}}}},"DeleteInboundConnection":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"DeleteOutboundConnection":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/cc/outboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S3b"}}}},"DeletePackage":{"http":{"method":"DELETE","requestUri":"/2021-01-01/packages/{PackageID}"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S32"}}}},"DescribeDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainStatus"],"members":{"DomainStatus":{"shape":"S2e"}}}},"DescribeDomainAutoTunes":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/autoTunes"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AutoTunes":{"type":"list","member":{"type":"structure","members":{"AutoTuneType":{},"AutoTuneDetails":{"type":"structure","members":{"ScheduledAutoTuneDetails":{"type":"structure","members":{"Date":{"type":"timestamp"},"ActionType":{},"Action":{},"Severity":{}}}}}}}},"NextToken":{}}}},"DescribeDomainChangeProgress":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/progress"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ChangeId":{"location":"querystring","locationName":"changeid"}}},"output":{"type":"structure","members":{"ChangeProgressStatus":{"type":"structure","members":{"ChangeId":{},"StartTime":{"type":"timestamp"},"Status":{},"PendingProperties":{"shape":"S1g"},"CompletedProperties":{"shape":"S1g"},"TotalNumberOfStages":{"type":"integer"},"ChangeProgressStages":{"type":"list","member":{"type":"structure","members":{"Name":{},"Status":{},"Description":{},"LastUpdated":{"type":"timestamp"}}}}}}}}},"DescribeDomainConfig":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S46"}}}},"DescribeDomains":{"http":{"requestUri":"/2021-01-01/opensearch/domain-info"},"input":{"type":"structure","required":["DomainNames"],"members":{"DomainNames":{"type":"list","member":{}}}},"output":{"type":"structure","required":["DomainStatusList"],"members":{"DomainStatusList":{"type":"list","member":{"shape":"S2e"}}}}},"DescribeInboundConnections":{"http":{"requestUri":"/2021-01-01/opensearch/cc/inboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S4w"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Connections":{"type":"list","member":{"shape":"S4"}},"NextToken":{}}}},"DescribeInstanceTypeLimits":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/instanceTypeLimits/{EngineVersion}/{InstanceType}"},"input":{"type":"structure","required":["InstanceType","EngineVersion"],"members":{"DomainName":{"location":"querystring","locationName":"domainName"},"InstanceType":{"location":"uri","locationName":"InstanceType"},"EngineVersion":{"location":"uri","locationName":"EngineVersion"}}},"output":{"type":"structure","members":{"LimitsByRole":{"type":"map","key":{},"value":{"type":"structure","members":{"StorageTypes":{"type":"list","member":{"type":"structure","members":{"StorageTypeName":{},"StorageSubTypeName":{},"StorageTypeLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S5e"}}}}}}},"InstanceLimits":{"type":"structure","members":{"InstanceCountLimits":{"type":"structure","members":{"MinimumInstanceCount":{"type":"integer"},"MaximumInstanceCount":{"type":"integer"}}}}},"AdditionalLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S5e"}}}}}}}}}},"DescribeOutboundConnections":{"http":{"requestUri":"/2021-01-01/opensearch/cc/outboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S4w"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Connections":{"type":"list","member":{"shape":"S3b"}},"NextToken":{}}}},"DescribePackages":{"http":{"requestUri":"/2021-01-01/packages/describe"},"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PackageDetailsList":{"type":"list","member":{"shape":"S32"}},"NextToken":{}}}},"DescribeReservedInstanceOfferings":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/reservedInstanceOfferings"},"input":{"type":"structure","members":{"ReservedInstanceOfferingId":{"location":"querystring","locationName":"offeringId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedInstanceOfferings":{"type":"list","member":{"type":"structure","members":{"ReservedInstanceOfferingId":{},"InstanceType":{},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"PaymentOption":{},"RecurringCharges":{"shape":"S64"}}}}}}},"DescribeReservedInstances":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/reservedInstances"},"input":{"type":"structure","members":{"ReservedInstanceId":{"location":"querystring","locationName":"reservationId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedInstances":{"type":"list","member":{"type":"structure","members":{"ReservationName":{},"ReservedInstanceId":{},"BillingSubscriptionId":{"type":"long"},"ReservedInstanceOfferingId":{},"InstanceType":{},"StartTime":{"type":"timestamp"},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"InstanceCount":{"type":"integer"},"State":{},"PaymentOption":{},"RecurringCharges":{"shape":"S64"}}}}}}},"DissociatePackage":{"http":{"requestUri":"/2021-01-01/packages/dissociate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sm"}}}},"GetCompatibleVersions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/compatibleVersions"},"input":{"type":"structure","members":{"DomainName":{"location":"querystring","locationName":"domainName"}}},"output":{"type":"structure","members":{"CompatibleVersions":{"type":"list","member":{"type":"structure","members":{"SourceVersion":{},"TargetVersions":{"shape":"S6i"}}}}}}},"GetPackageVersionHistory":{"http":{"method":"GET","requestUri":"/2021-01-01/packages/{PackageID}/history"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"PackageID":{},"PackageVersionHistoryList":{"type":"list","member":{"type":"structure","members":{"PackageVersion":{},"CommitMessage":{},"CreatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"GetUpgradeHistory":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/upgradeDomain/{DomainName}/history"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"UpgradeHistories":{"type":"list","member":{"type":"structure","members":{"UpgradeName":{},"StartTimestamp":{"type":"timestamp"},"UpgradeStatus":{},"StepsList":{"type":"list","member":{"type":"structure","members":{"UpgradeStep":{},"UpgradeStepStatus":{},"Issues":{"type":"list","member":{}},"ProgressPercent":{"type":"double"}}}}}}},"NextToken":{}}}},"GetUpgradeStatus":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/upgradeDomain/{DomainName}/status"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"UpgradeStep":{},"StepStatus":{},"UpgradeName":{}}}},"ListDomainNames":{"http":{"method":"GET","requestUri":"/2021-01-01/domain"},"input":{"type":"structure","members":{"EngineType":{"location":"querystring","locationName":"engineType"}}},"output":{"type":"structure","members":{"DomainNames":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"EngineType":{}}}}}}},"ListDomainsForPackage":{"http":{"method":"GET","requestUri":"/2021-01-01/packages/{PackageID}/domains"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S79"},"NextToken":{}}}},"ListInstanceTypeDetails":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/instanceTypeDetails/{EngineVersion}"},"input":{"type":"structure","required":["EngineVersion"],"members":{"EngineVersion":{"location":"uri","locationName":"EngineVersion"},"DomainName":{"location":"querystring","locationName":"domainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"InstanceTypeDetails":{"type":"list","member":{"type":"structure","members":{"InstanceType":{},"EncryptionEnabled":{"type":"boolean"},"CognitoEnabled":{"type":"boolean"},"AppLogsEnabled":{"type":"boolean"},"AdvancedSecurityEnabled":{"type":"boolean"},"WarmEnabled":{"type":"boolean"},"InstanceRole":{"type":"list","member":{}}}}},"NextToken":{}}}},"ListPackagesForDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/domain/{DomainName}/packages"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S79"},"NextToken":{}}}},"ListTags":{"http":{"method":"GET","requestUri":"/2021-01-01/tags/"},"input":{"type":"structure","required":["ARN"],"members":{"ARN":{"location":"querystring","locationName":"arn"}}},"output":{"type":"structure","members":{"TagList":{"shape":"Sf"}}}},"ListVersions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/versions"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Versions":{"shape":"S6i"},"NextToken":{}}}},"PurchaseReservedInstanceOffering":{"http":{"requestUri":"/2021-01-01/opensearch/purchaseReservedInstanceOffering"},"input":{"type":"structure","required":["ReservedInstanceOfferingId","ReservationName"],"members":{"ReservedInstanceOfferingId":{},"ReservationName":{},"InstanceCount":{"type":"integer"}}},"output":{"type":"structure","members":{"ReservedInstanceId":{},"ReservationName":{}}}},"RejectInboundConnection":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"RemoveTags":{"http":{"requestUri":"/2021-01-01/tags-removal"},"input":{"type":"structure","required":["ARN","TagKeys"],"members":{"ARN":{},"TagKeys":{"shape":"S1g"}}}},"StartServiceSoftwareUpdate":{"http":{"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/start"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"Sy"}}}},"UpdateDomainConfig":{"http":{"requestUri":"/2021-01-01/opensearch/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ClusterConfig":{"shape":"S15"},"EBSOptions":{"shape":"S1b"},"SnapshotOptions":{"shape":"S1e"},"VPCOptions":{"shape":"S1f"},"CognitoOptions":{"shape":"S1h"},"AdvancedOptions":{"shape":"S1o"},"AccessPolicies":{},"LogPublishingOptions":{"shape":"S1p"},"EncryptionAtRestOptions":{"shape":"S1l"},"DomainEndpointOptions":{"shape":"S1t"},"NodeToNodeEncryptionOptions":{"shape":"S1n"},"AdvancedSecurityOptions":{"shape":"S1w"},"AutoTuneOptions":{"shape":"S4o"},"DryRun":{"type":"boolean"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S46"},"DryRunResults":{"type":"structure","members":{"DeploymentType":{},"Message":{}}}}}},"UpdatePackage":{"http":{"requestUri":"/2021-01-01/packages/update"},"input":{"type":"structure","required":["PackageID","PackageSource"],"members":{"PackageID":{},"PackageSource":{"shape":"S2y"},"PackageDescription":{},"CommitMessage":{}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S32"}}}},"UpgradeDomain":{"http":{"requestUri":"/2021-01-01/opensearch/upgradeDomain"},"input":{"type":"structure","required":["DomainName","TargetVersion"],"members":{"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"AdvancedOptions":{"shape":"S1o"}}},"output":{"type":"structure","members":{"UpgradeId":{},"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"AdvancedOptions":{"shape":"S1o"},"ChangeProgressDetails":{"shape":"S2o"}}}}},"shapes":{"S4":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionId":{},"ConnectionStatus":{"type":"structure","members":{"StatusCode":{},"Message":{}}}}},"S5":{"type":"structure","members":{"AWSDomainInformation":{"type":"structure","required":["DomainName"],"members":{"OwnerId":{},"DomainName":{},"Region":{}}}}},"Sf":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sm":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"LastUpdated":{"type":"timestamp"},"DomainName":{},"DomainPackageStatus":{},"PackageVersion":{},"ReferencePath":{},"ErrorDetails":{"shape":"St"}}},"St":{"type":"structure","members":{"ErrorType":{},"ErrorMessage":{}}},"Sy":{"type":"structure","members":{"CurrentVersion":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"Cancellable":{"type":"boolean"},"UpdateStatus":{},"Description":{},"AutomatedUpdateDate":{"type":"timestamp"},"OptionalDeployment":{"type":"boolean"}}},"S15":{"type":"structure","members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"ZoneAwarenessEnabled":{"type":"boolean"},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"DedicatedMasterType":{},"DedicatedMasterCount":{"type":"integer"},"WarmEnabled":{"type":"boolean"},"WarmType":{},"WarmCount":{"type":"integer"},"ColdStorageOptions":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"}}}}},"S1b":{"type":"structure","members":{"EBSEnabled":{"type":"boolean"},"VolumeType":{},"VolumeSize":{"type":"integer"},"Iops":{"type":"integer"}}},"S1e":{"type":"structure","members":{"AutomatedSnapshotStartHour":{"type":"integer"}}},"S1f":{"type":"structure","members":{"SubnetIds":{"shape":"S1g"},"SecurityGroupIds":{"shape":"S1g"}}},"S1g":{"type":"list","member":{}},"S1h":{"type":"structure","members":{"Enabled":{"type":"boolean"},"UserPoolId":{},"IdentityPoolId":{},"RoleArn":{}}},"S1l":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"S1n":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"S1o":{"type":"map","key":{},"value":{}},"S1p":{"type":"map","key":{},"value":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}}},"S1t":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{},"CustomEndpointEnabled":{"type":"boolean"},"CustomEndpoint":{},"CustomEndpointCertificateArn":{}}},"S1w":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"MasterUserOptions":{"type":"structure","members":{"MasterUserARN":{},"MasterUserName":{"shape":"S1y"},"MasterUserPassword":{"type":"string","sensitive":true}}},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S21"},"MasterUserName":{"shape":"S1y"},"MasterBackendRole":{},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}},"AnonymousAuthEnabled":{"type":"boolean"}}},"S1y":{"type":"string","sensitive":true},"S21":{"type":"structure","required":["MetadataContent","EntityId"],"members":{"MetadataContent":{},"EntityId":{}}},"S27":{"type":"list","member":{"type":"structure","members":{"StartAt":{"type":"timestamp"},"Duration":{"type":"structure","members":{"Value":{"type":"long"},"Unit":{}}},"CronExpressionForRecurrence":{}}}},"S2e":{"type":"structure","required":["DomainId","DomainName","ARN","ClusterConfig"],"members":{"DomainId":{},"DomainName":{},"ARN":{},"Created":{"type":"boolean"},"Deleted":{"type":"boolean"},"Endpoint":{},"Endpoints":{"type":"map","key":{},"value":{}},"Processing":{"type":"boolean"},"UpgradeProcessing":{"type":"boolean"},"EngineVersion":{},"ClusterConfig":{"shape":"S15"},"EBSOptions":{"shape":"S1b"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1e"},"VPCOptions":{"shape":"S2i"},"CognitoOptions":{"shape":"S1h"},"EncryptionAtRestOptions":{"shape":"S1l"},"NodeToNodeEncryptionOptions":{"shape":"S1n"},"AdvancedOptions":{"shape":"S1o"},"LogPublishingOptions":{"shape":"S1p"},"ServiceSoftwareOptions":{"shape":"Sy"},"DomainEndpointOptions":{"shape":"S1t"},"AdvancedSecurityOptions":{"shape":"S2j"},"AutoTuneOptions":{"type":"structure","members":{"State":{},"ErrorMessage":{}}},"ChangeProgressDetails":{"shape":"S2o"}}},"S2i":{"type":"structure","members":{"VPCId":{},"SubnetIds":{"shape":"S1g"},"AvailabilityZones":{"shape":"S1g"},"SecurityGroupIds":{"shape":"S1g"}}},"S2j":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S21"},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}},"AnonymousAuthDisableDate":{"type":"timestamp"},"AnonymousAuthEnabled":{"type":"boolean"}}},"S2o":{"type":"structure","members":{"ChangeId":{},"Message":{}}},"S2u":{"type":"structure","members":{"StatusCode":{},"Message":{}}},"S2y":{"type":"structure","members":{"S3BucketName":{},"S3Key":{}}},"S32":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageStatus":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"AvailablePackageVersion":{},"ErrorDetails":{"shape":"St"}}},"S3b":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionId":{},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S2u"}}},"S46":{"type":"structure","members":{"EngineVersion":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S48"}}},"ClusterConfig":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S15"},"Status":{"shape":"S48"}}},"EBSOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1b"},"Status":{"shape":"S48"}}},"AccessPolicies":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S48"}}},"SnapshotOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1e"},"Status":{"shape":"S48"}}},"VPCOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2i"},"Status":{"shape":"S48"}}},"CognitoOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1h"},"Status":{"shape":"S48"}}},"EncryptionAtRestOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1l"},"Status":{"shape":"S48"}}},"NodeToNodeEncryptionOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1n"},"Status":{"shape":"S48"}}},"AdvancedOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1o"},"Status":{"shape":"S48"}}},"LogPublishingOptions":{"type":"structure","members":{"Options":{"shape":"S1p"},"Status":{"shape":"S48"}}},"DomainEndpointOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1t"},"Status":{"shape":"S48"}}},"AdvancedSecurityOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2j"},"Status":{"shape":"S48"}}},"AutoTuneOptions":{"type":"structure","members":{"Options":{"shape":"S4o"},"Status":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"ErrorMessage":{},"PendingDeletion":{"type":"boolean"}}}}},"ChangeProgressDetails":{"shape":"S2o"}}},"S48":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"PendingDeletion":{"type":"boolean"}}},"S4o":{"type":"structure","members":{"DesiredState":{},"RollbackOnDisable":{},"MaintenanceSchedules":{"shape":"S27"}}},"S4w":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S5e":{"type":"list","member":{}},"S64":{"type":"list","member":{"type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}}}},"S6i":{"type":"list","member":{}},"S79":{"type":"list","member":{"shape":"Sm"}}}} /***/ }), /* 1055 */ @@ -55293,7 +55299,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1088 */ /***/ (function(module, exports) { - module.exports = {"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":{"http":{"method":"GET","requestUri":"/configuration","responseCode":200},"input":{"type":"structure","required":["ConfigurationToken"],"members":{"ConfigurationToken":{"location":"querystring","locationName":"configuration_token"}}},"output":{"type":"structure","members":{"Configuration":{"type":"blob","sensitive":true},"ContentType":{"location":"header","locationName":"Content-Type"},"NextPollConfigurationToken":{"location":"header","locationName":"Next-Poll-Configuration-Token"},"NextPollIntervalInSeconds":{"location":"header","locationName":"Next-Poll-Interval-In-Seconds","type":"integer"}},"payload":"Configuration"}},"StartConfigurationSession":{"http":{"requestUri":"/configurationsessions","responseCode":201},"input":{"type":"structure","required":["ApplicationIdentifier","ConfigurationProfileIdentifier","EnvironmentIdentifier"],"members":{"ApplicationIdentifier":{},"ConfigurationProfileIdentifier":{},"EnvironmentIdentifier":{},"RequiredMinimumPollIntervalInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"InitialConfigurationToken":{}}}}},"shapes":{}} + module.exports = {"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":{"http":{"method":"GET","requestUri":"/configuration","responseCode":200},"input":{"type":"structure","required":["ConfigurationToken"],"members":{"ConfigurationToken":{"location":"querystring","locationName":"configuration_token"}}},"output":{"type":"structure","members":{"NextPollConfigurationToken":{"location":"header","locationName":"Next-Poll-Configuration-Token"},"NextPollIntervalInSeconds":{"location":"header","locationName":"Next-Poll-Interval-In-Seconds","type":"integer"},"ContentType":{"location":"header","locationName":"Content-Type"},"Configuration":{"type":"blob","sensitive":true}},"payload":"Configuration"}},"StartConfigurationSession":{"http":{"requestUri":"/configurationsessions","responseCode":201},"input":{"type":"structure","required":["ApplicationIdentifier","EnvironmentIdentifier","ConfigurationProfileIdentifier"],"members":{"ApplicationIdentifier":{},"EnvironmentIdentifier":{},"ConfigurationProfileIdentifier":{},"RequiredMinimumPollIntervalInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"InitialConfigurationToken":{}}}}},"shapes":{}} /***/ }), /* 1089 */ diff --git a/node_modules/aws-sdk/dist/aws-sdk.js b/node_modules/aws-sdk/dist/aws-sdk.js index 37427d59e..fadfaee4d 100644 --- a/node_modules/aws-sdk/dist/aws-sdk.js +++ b/node_modules/aws-sdk/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1051.0 +// AWS SDK for JavaScript v2.1075.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i', + 9: 'Array' + }; var TOK_EOF = "EOF"; var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; @@ -252227,10 +253444,8 @@ module.exports = Array.isArray || function (arr) { var node = {type: "Field", name: token.value}; if (this._lookahead(0) === TOK_LPAREN) { throw new Error("Quoted identifier not allowed for function names."); - } else { - return node; } - break; + return node; case TOK_NOT: right = this.expression(bindingPower.Not); return {type: "NotExpression", children: [right]}; @@ -252264,10 +253479,8 @@ module.exports = Array.isArray || function (arr) { right = this._parseProjectionRHS(bindingPower.Star); return {type: "Projection", children: [{type: "Identity"}, right]}; - } else { - return this._parseMultiselectList(); } - break; + return this._parseMultiselectList(); case TOK_CURRENT: return {type: TOK_CURRENT}; case TOK_EXPREF: @@ -252299,13 +253512,11 @@ module.exports = Array.isArray || function (arr) { if (this._lookahead(0) !== TOK_STAR) { right = this._parseDotRHS(rbp); return {type: "Subexpression", children: [left, right]}; - } else { - // Creating a projection. - this._advance(); - right = this._parseProjectionRHS(rbp); - return {type: "ValueProjection", children: [left, right]}; } - break; + // Creating a projection. + this._advance(); + right = this._parseProjectionRHS(rbp); + return {type: "ValueProjection", children: [left, right]}; case TOK_PIPE: right = this.expression(bindingPower.Pipe); return {type: TOK_PIPE, children: [left, right]}; @@ -252359,13 +253570,11 @@ module.exports = Array.isArray || function (arr) { if (token.type === TOK_NUMBER || token.type === TOK_COLON) { right = this._parseIndexExpression(); return this._projectIfSlice(left, right); - } else { - this._match(TOK_STAR); - this._match(TOK_RBRACKET); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", children: [left, right]}; } - break; + this._match(TOK_STAR); + this._match(TOK_RBRACKET); + right = this._parseProjectionRHS(bindingPower.Star); + return {type: "Projection", children: [left, right]}; default: this._errorToken(this._lookaheadToken(0)); } @@ -252542,19 +253751,15 @@ module.exports = Array.isArray || function (arr) { var matched, current, result, first, second, field, left, right, collected, i; switch (node.type) { case "Field": - if (value === null ) { - return null; - } else if (isObject(value)) { + if (value !== null && isObject(value)) { field = value[node.name]; if (field === undefined) { return null; } else { return field; } - } else { - return null; } - break; + return null; case "Subexpression": result = this.visit(node.children[0], value); for (i = 1; i < node.children.length; i++) { @@ -252925,11 +254130,16 @@ module.exports = Array.isArray || function (arr) { } } if (!typeMatched) { + var expected = currentSpec + .map(function(typeIdentifier) { + return TYPE_NAME_TABLE[typeIdentifier]; + }) + .join(','); throw new Error("TypeError: " + name + "() " + "expected argument " + (i + 1) + - " to be type " + currentSpec + - " but received type " + actualType + - " instead."); + " to be type " + expected + + " but received type " + + TYPE_NAME_TABLE[actualType] + " instead."); } } }, @@ -256197,7 +257407,7 @@ var LRUCache = /** @class */ (function () { }()); exports.LRUCache = LRUCache; },{}],452:[function(require,module,exports){ -// AWS SDK for JavaScript v2.1051.0 +// AWS SDK for JavaScript v2.1075.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt require('./browser_loader'); diff --git a/node_modules/aws-sdk/dist/aws-sdk.min.js b/node_modules/aws-sdk/dist/aws-sdk.min.js index dde4b5a6e..3cd26c038 100644 --- a/node_modules/aws-sdk/dist/aws-sdk.min.js +++ b/node_modules/aws-sdk/dist/aws-sdk.min.js @@ -1,94 +1,94 @@ -// AWS SDK for JavaScript v2.1051.0 +// AWS SDK for JavaScript v2.1075.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt !function(){function e(t,r,i){function a(o,n){if(!r[o]){if(!t[o]){var u="function"==typeof require&&require;if(!n&&u)return u(o,!0);if(s)return s(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var m=r[o]={exports:{}};t[o][0].call(m.exports,function(e){return a(t[o][1][e]||e)},m,m.exports,e,t,r,i)}return r[o].exports}for(var s="function"==typeof require&&require,o=0;o `0`",state:"success"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},BundleTaskComplete:{delay:15,operation:"DescribeBundleTasks",maxAttempts:40,acceptors:[{expected:"complete",matcher:"pathAll",state:"success",argument:"BundleTasks[].State"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"BundleTasks[].State"}]},ConversionTaskCancelled:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"cancelled",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"}]},ConversionTaskCompleted:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"},{expected:"cancelled",matcher:"pathAny",state:"failure",argument:"ConversionTasks[].State"},{expected:"cancelling",matcher:"pathAny",state:"failure",argument:"ConversionTasks[].State"}]},ConversionTaskDeleted:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"}]},CustomerGatewayAvailable:{delay:15,operation:"DescribeCustomerGateways",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"CustomerGateways[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"CustomerGateways[].State"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"CustomerGateways[].State"}]},ExportTaskCancelled:{delay:15,operation:"DescribeExportTasks",maxAttempts:40,acceptors:[{expected:"cancelled",matcher:"pathAll",state:"success",argument:"ExportTasks[].State"}]},ExportTaskCompleted:{delay:15,operation:"DescribeExportTasks",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"ExportTasks[].State"}]},ImageExists:{operation:"DescribeImages",maxAttempts:40,delay:15,acceptors:[{matcher:"path",expected:!0,argument:"length(Images[]) > `0`",state:"success"},{matcher:"error",expected:"InvalidAMIID.NotFound",state:"retry"}]},ImageAvailable:{operation:"DescribeImages",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"Images[].State",expected:"available"},{state:"failure",matcher:"pathAny",argument:"Images[].State",expected:"failed"}]},InstanceRunning:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"running",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"shutting-down",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"terminated",matcher:"pathAny",state:"failure", -argument:"Reservations[].Instances[].State.Name"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},InstanceStatusOk:{operation:"DescribeInstanceStatus",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"InstanceStatuses[].InstanceStatus.Status",expected:"ok"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},InstanceStopped:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"stopped",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"}]},InstanceTerminated:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"terminated",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"}]},InternetGatewayExists:{operation:"DescribeInternetGateways",delay:5,maxAttempts:6,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(InternetGateways[].InternetGatewayId) > `0`"},{expected:"InvalidInternetGateway.NotFound",matcher:"error",state:"retry"}]},KeyPairExists:{operation:"DescribeKeyPairs",delay:5,maxAttempts:6,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(KeyPairs[].KeyName) > `0`"},{expected:"InvalidKeyPair.NotFound",matcher:"error",state:"retry"}]},NatGatewayAvailable:{operation:"DescribeNatGateways",delay:15,maxAttempts:40,acceptors:[{state:"success",matcher:"pathAll",argument:"NatGateways[].State",expected:"available"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"failed"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"deleting"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"deleted"},{state:"retry",matcher:"error",expected:"NatGatewayNotFound"}]},NetworkInterfaceAvailable:{operation:"DescribeNetworkInterfaces",delay:20,maxAttempts:10,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"NetworkInterfaces[].Status"},{expected:"InvalidNetworkInterfaceID.NotFound",matcher:"error",state:"failure"}]},PasswordDataAvailable:{operation:"GetPasswordData",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"path",argument:"length(PasswordData) > `0`",expected:!0}]},SnapshotCompleted:{delay:15,operation:"DescribeSnapshots",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"Snapshots[].State"},{expected:"error",matcher:"pathAny",state:"failure",argument:"Snapshots[].State"}]},SecurityGroupExists:{operation:"DescribeSecurityGroups",delay:5,maxAttempts:6,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(SecurityGroups[].GroupId) > `0`"},{expected:"InvalidGroup.NotFound",matcher:"error",state:"retry"}]},SpotInstanceRequestFulfilled:{operation:"DescribeSpotInstanceRequests",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"SpotInstanceRequests[].Status.Code",expected:"fulfilled"},{state:"success",matcher:"pathAll",argument:"SpotInstanceRequests[].Status.Code",expected:"request-canceled-and-instance-running"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"schedule-expired"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"canceled-before-fulfillment"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"bad-parameters"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"system-error"},{state:"retry",matcher:"error",expected:"InvalidSpotInstanceRequestID.NotFound"}]},SubnetAvailable:{delay:15,operation:"DescribeSubnets",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Subnets[].State"}]},SystemStatusOk:{operation:"DescribeInstanceStatus",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"InstanceStatuses[].SystemStatus.Status",expected:"ok"}]},VolumeAvailable:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Volumes[].State"}]},VolumeDeleted:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{matcher:"error",expected:"InvalidVolume.NotFound",state:"success"}]},VolumeInUse:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"in-use",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Volumes[].State"}]},VpcAvailable:{delay:15,operation:"DescribeVpcs",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Vpcs[].State"}]},VpcExists:{operation:"DescribeVpcs",delay:1,maxAttempts:5,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"InvalidVpcID.NotFound",state:"retry"}]},VpnConnectionAvailable:{delay:15,operation:"DescribeVpnConnections",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"VpnConnections[].State"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"}]},VpnConnectionDeleted:{delay:15,operation:"DescribeVpnConnections",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"VpnConnections[].State"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"}]},VpcPeeringConnectionExists:{delay:15,operation:"DescribeVpcPeeringConnections",maxAttempts:40,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"InvalidVpcPeeringConnectionID.NotFound",state:"retry"}]},VpcPeeringConnectionDeleted:{delay:15,operation:"DescribeVpcPeeringConnections",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"VpcPeeringConnections[].Status.Code"},{matcher:"error",expected:"InvalidVpcPeeringConnectionID.NotFound",state:"success"}]}}}},{}],82:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-09-21",endpointPrefix:"api.ecr",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon ECR",serviceFullName:"Amazon EC2 Container Registry",serviceId:"ECR",signatureVersion:"v4",signingName:"ecr",targetPrefix:"AmazonEC2ContainerRegistry_V20150921",uid:"ecr-2015-09-21"},operations:{BatchCheckLayerAvailability:{input:{type:"structure",required:["repositoryName","layerDigests"],members:{registryId:{},repositoryName:{},layerDigests:{type:"list",member:{}}}},output:{type:"structure",members:{layers:{type:"list",member:{type:"structure",members:{layerDigest:{},layerAvailability:{},layerSize:{type:"long"},mediaType:{}}}},failures:{type:"list",member:{type:"structure",members:{layerDigest:{},failureCode:{},failureReason:{}}}}}}},BatchDeleteImage:{input:{type:"structure",required:["repositoryName","imageIds"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Si"}}},output:{type:"structure",members:{imageIds:{shape:"Si"},failures:{shape:"Sn"}}}},BatchGetImage:{input:{type:"structure",required:["repositoryName","imageIds"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Si"},acceptedMediaTypes:{type:"list",member:{}}}},output:{type:"structure",members:{images:{type:"list",member:{shape:"Sv"}},failures:{shape:"Sn"}}}},BatchGetRepositoryScanningConfiguration:{input:{type:"structure",required:["repositoryNames"],members:{repositoryNames:{type:"list",member:{}}}},output:{type:"structure",members:{scanningConfigurations:{type:"list",member:{type:"structure",members:{repositoryArn:{},repositoryName:{},scanOnPush:{type:"boolean"},scanFrequency:{},appliedScanFilters:{shape:"S15"}}}},failures:{type:"list",member:{type:"structure",members:{repositoryName:{},failureCode:{},failureReason:{}}}}}}},CompleteLayerUpload:{input:{type:"structure",required:["repositoryName","uploadId","layerDigests"],members:{registryId:{},repositoryName:{},uploadId:{},layerDigests:{type:"list",member:{}}}},output:{type:"structure",members:{registryId:{},repositoryName:{},uploadId:{},layerDigest:{}}}},CreatePullThroughCacheRule:{input:{type:"structure",required:["ecrRepositoryPrefix","upstreamRegistryUrl"],members:{ecrRepositoryPrefix:{},upstreamRegistryUrl:{},registryId:{}}},output:{type:"structure",members:{ecrRepositoryPrefix:{},upstreamRegistryUrl:{},createdAt:{type:"timestamp"},registryId:{}}}},CreateRepository:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},tags:{shape:"S1n"},imageTagMutability:{},imageScanningConfiguration:{shape:"S1s"},encryptionConfiguration:{shape:"S1t"}}},output:{type:"structure",members:{repository:{shape:"S1x"}}}},DeleteLifecyclePolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{},lastEvaluatedAt:{type:"timestamp"}}}},DeletePullThroughCacheRule:{input:{type:"structure",required:["ecrRepositoryPrefix"],members:{ecrRepositoryPrefix:{},registryId:{}}},output:{type:"structure",members:{ecrRepositoryPrefix:{},upstreamRegistryUrl:{},createdAt:{type:"timestamp"},registryId:{}}}},DeleteRegistryPolicy:{input:{type:"structure",members:{}},output:{type:"structure",members:{registryId:{},policyText:{}}}},DeleteRepository:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},force:{type:"boolean"}}},output:{type:"structure",members:{repository:{shape:"S1x"}}}},DeleteRepositoryPolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},DescribeImageReplicationStatus:{input:{type:"structure",required:["repositoryName","imageId"],members:{repositoryName:{},imageId:{shape:"Sj"},registryId:{}}},output:{type:"structure",members:{repositoryName:{},imageId:{shape:"Sj"},replicationStatuses:{type:"list",member:{type:"structure",members:{region:{},registryId:{},status:{},failureCode:{}}}}}}},DescribeImageScanFindings:{input:{type:"structure",required:["repositoryName","imageId"],members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"},imageScanStatus:{shape:"S2o"},imageScanFindings:{type:"structure",members:{imageScanCompletedAt:{type:"timestamp"},vulnerabilitySourceUpdatedAt:{type:"timestamp"},findingSeverityCounts:{shape:"S2u"},findings:{type:"list",member:{type:"structure",members:{name:{},description:{},uri:{},severity:{},attributes:{type:"list",member:{type:"structure",required:["key"],members:{key:{},value:{}}}}}}},enhancedFindings:{type:"list",member:{type:"structure",members:{awsAccountId:{},description:{},findingArn:{},firstObservedAt:{type:"timestamp"},lastObservedAt:{type:"timestamp"},packageVulnerabilityDetails:{type:"structure",members:{cvss:{type:"list",member:{type:"structure",members:{baseScore:{type:"double"},scoringVector:{},source:{},version:{}}}},referenceUrls:{type:"list",member:{}},relatedVulnerabilities:{type:"list",member:{}},source:{},sourceUrl:{},vendorCreatedAt:{type:"timestamp"},vendorSeverity:{},vendorUpdatedAt:{type:"timestamp"},vulnerabilityId:{},vulnerablePackages:{type:"list",member:{type:"structure",members:{arch:{},epoch:{type:"integer"},filePath:{},name:{},packageManager:{},release:{},sourceLayerHash:{},version:{}}}}}},remediation:{type:"structure",members:{recommendation:{type:"structure",members:{url:{},text:{}}}}},resources:{type:"list",member:{type:"structure",members:{details:{type:"structure",members:{awsEcrContainerImage:{type:"structure",members:{architecture:{},author:{},imageHash:{},imageTags:{type:"list",member:{}},platform:{},pushedAt:{type:"timestamp"},registry:{},repositoryName:{}}}}},id:{},tags:{type:"map",key:{},value:{}},type:{}}}},score:{type:"double"},scoreDetails:{type:"structure",members:{cvss:{type:"structure",members:{adjustments:{type:"list",member:{type:"structure",members:{metric:{},reason:{}}}},score:{type:"double"},scoreSource:{},scoringVector:{},version:{}}}}},severity:{},status:{},title:{},type:{},updatedAt:{type:"timestamp"}}}}}},nextToken:{}}}},DescribeImages:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Si"},nextToken:{},maxResults:{type:"integer"},filter:{type:"structure",members:{tagStatus:{}}}}},output:{type:"structure",members:{imageDetails:{type:"list",member:{type:"structure",members:{registryId:{},repositoryName:{},imageDigest:{},imageTags:{shape:"S4m"},imageSizeInBytes:{type:"long"},imagePushedAt:{type:"timestamp"},imageScanStatus:{shape:"S2o"},imageScanFindingsSummary:{type:"structure",members:{imageScanCompletedAt:{type:"timestamp"},vulnerabilitySourceUpdatedAt:{type:"timestamp"},findingSeverityCounts:{shape:"S2u"}}},imageManifestMediaType:{},artifactMediaType:{}}}},nextToken:{}}}},DescribePullThroughCacheRules:{input:{type:"structure",members:{registryId:{},ecrRepositoryPrefixes:{type:"list",member:{}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{pullThroughCacheRules:{type:"list",member:{type:"structure",members:{ecrRepositoryPrefix:{},upstreamRegistryUrl:{},createdAt:{type:"timestamp"},registryId:{}}}},nextToken:{}}}},DescribeRegistry:{input:{type:"structure",members:{}},output:{type:"structure",members:{registryId:{},replicationConfiguration:{shape:"S4x"}}}},DescribeRepositories:{input:{type:"structure",members:{registryId:{},repositoryNames:{type:"list",member:{}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{repositories:{type:"list",member:{shape:"S1x"}},nextToken:{}}}},GetAuthorizationToken:{input:{type:"structure",members:{registryIds:{deprecated:!0,deprecatedMessage:"This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token.",type:"list",member:{}}}},output:{type:"structure",members:{authorizationData:{type:"list",member:{type:"structure",members:{authorizationToken:{},expiresAt:{type:"timestamp"},proxyEndpoint:{}}}}}}},GetDownloadUrlForLayer:{input:{type:"structure",required:["repositoryName","layerDigest"],members:{registryId:{},repositoryName:{},layerDigest:{}}},output:{type:"structure",members:{downloadUrl:{},layerDigest:{}}}},GetLifecyclePolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{},lastEvaluatedAt:{type:"timestamp"}}}},GetLifecyclePolicyPreview:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Si"},nextToken:{},maxResults:{type:"integer"},filter:{type:"structure",members:{tagStatus:{}}}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{},status:{},nextToken:{},previewResults:{type:"list",member:{type:"structure",members:{imageTags:{shape:"S4m"},imageDigest:{},imagePushedAt:{type:"timestamp"},action:{type:"structure",members:{type:{}}},appliedRulePriority:{type:"integer"}}}},summary:{type:"structure",members:{expiringImageTotalCount:{type:"integer"}}}}}},GetRegistryPolicy:{input:{type:"structure",members:{}},output:{type:"structure",members:{registryId:{},policyText:{}}}},GetRegistryScanningConfiguration:{input:{type:"structure",members:{}},output:{type:"structure",members:{registryId:{},scanningConfiguration:{shape:"S62"}}}},GetRepositoryPolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},InitiateLayerUpload:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{uploadId:{},partSize:{type:"long"}}}},ListImages:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},nextToken:{},maxResults:{type:"integer"},filter:{type:"structure",members:{tagStatus:{}}}}},output:{type:"structure",members:{imageIds:{shape:"Si"},nextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{}}},output:{type:"structure",members:{tags:{shape:"S1n"}}}},PutImage:{input:{type:"structure",required:["repositoryName","imageManifest"],members:{registryId:{},repositoryName:{},imageManifest:{},imageManifestMediaType:{},imageTag:{},imageDigest:{}}},output:{type:"structure",members:{image:{shape:"Sv"}}}},PutImageScanningConfiguration:{input:{type:"structure",required:["repositoryName","imageScanningConfiguration"],members:{registryId:{},repositoryName:{},imageScanningConfiguration:{shape:"S1s"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},imageScanningConfiguration:{shape:"S1s"}}}},PutImageTagMutability:{input:{type:"structure",required:["repositoryName","imageTagMutability"],members:{registryId:{},repositoryName:{},imageTagMutability:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},imageTagMutability:{}}}},PutLifecyclePolicy:{input:{type:"structure",required:["repositoryName","lifecyclePolicyText"],members:{registryId:{},repositoryName:{},lifecyclePolicyText:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{}}}},PutRegistryPolicy:{input:{type:"structure",required:["policyText"],members:{policyText:{}}},output:{type:"structure",members:{registryId:{},policyText:{}}}},PutRegistryScanningConfiguration:{input:{type:"structure",members:{scanType:{},rules:{shape:"S64"}}},output:{type:"structure",members:{registryScanningConfiguration:{shape:"S62"}}}},PutReplicationConfiguration:{input:{type:"structure",required:["replicationConfiguration"],members:{replicationConfiguration:{shape:"S4x"}}},output:{type:"structure",members:{replicationConfiguration:{shape:"S4x"}}}},SetRepositoryPolicy:{input:{type:"structure",required:["repositoryName","policyText"],members:{registryId:{},repositoryName:{},policyText:{},force:{type:"boolean"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},StartImageScan:{input:{type:"structure",required:["repositoryName","imageId"],members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"},imageScanStatus:{shape:"S2o"}}}},StartLifecyclePolicyPreview:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},lifecyclePolicyText:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{},status:{}}}},TagResource:{input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{},tags:{shape:"S1n"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{},tagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UploadLayerPart:{input:{type:"structure",required:["repositoryName","uploadId","partFirstByte","partLastByte","layerPartBlob"],members:{registryId:{},repositoryName:{},uploadId:{},partFirstByte:{type:"long"},partLastByte:{type:"long"},layerPartBlob:{type:"blob"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},uploadId:{},lastByteReceived:{type:"long"}}}}},shapes:{Si:{type:"list",member:{shape:"Sj"}},Sj:{type:"structure",members:{imageDigest:{},imageTag:{}}},Sn:{type:"list",member:{type:"structure",members:{imageId:{shape:"Sj"},failureCode:{},failureReason:{}}}},Sv:{type:"structure",members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"},imageManifest:{},imageManifestMediaType:{}}},S15:{type:"list",member:{type:"structure",required:["filter","filterType"],members:{filter:{},filterType:{}}}},S1n:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S1s:{type:"structure",members:{scanOnPush:{type:"boolean"}}},S1t:{type:"structure",required:["encryptionType"],members:{encryptionType:{},kmsKey:{}}},S1x:{type:"structure",members:{repositoryArn:{},registryId:{},repositoryName:{},repositoryUri:{},createdAt:{type:"timestamp"},imageTagMutability:{},imageScanningConfiguration:{shape:"S1s"},encryptionConfiguration:{shape:"S1t"}}},S2o:{type:"structure",members:{status:{},description:{}}},S2u:{type:"map",key:{},value:{type:"integer"}},S4m:{type:"list",member:{}},S4x:{type:"structure",required:["rules"],members:{rules:{type:"list",member:{type:"structure",required:["destinations"],members:{destinations:{type:"list",member:{type:"structure",required:["region","registryId"],members:{region:{},registryId:{}}}},repositoryFilters:{type:"list",member:{type:"structure",required:["filter","filterType"],members:{filter:{},filterType:{}}}}}}}}},S62:{type:"structure",members:{scanType:{},rules:{shape:"S64"}}},S64:{type:"list",member:{type:"structure",required:["scanFrequency","repositoryFilters"],members:{scanFrequency:{},repositoryFilters:{shape:"S15"}}}}}}},{}],83:[function(e,t,r){t.exports={pagination:{DescribeImageScanFindings:{input_token:"nextToken",limit_key:"maxResults",non_aggregate_keys:["registryId","repositoryName","imageId","imageScanStatus","imageScanFindings"],output_token:"nextToken",result_key:"imageScanFindings.findings"},DescribeImages:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"imageDetails"},DescribePullThroughCacheRules:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"pullThroughCacheRules"},DescribeRepositories:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"repositories"},GetLifecyclePolicyPreview:{input_token:"nextToken",limit_key:"maxResults",non_aggregate_keys:["registryId","repositoryName","lifecyclePolicyText","status","summary"],output_token:"nextToken",result_key:"previewResults"},ListImages:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"imageIds"}}}},{}],84:[function(e,t,r){t.exports={version:2,waiters:{ImageScanComplete:{description:"Wait until an image scan is complete and findings can be accessed",operation:"DescribeImageScanFindings",delay:5,maxAttempts:60,acceptors:[{state:"success",matcher:"path",argument:"imageScanStatus.status",expected:"COMPLETE"},{state:"failure",matcher:"path",argument:"imageScanStatus.status",expected:"FAILED"}]},LifecyclePolicyPreviewComplete:{description:"Wait until a lifecycle policy preview request is complete and results can be accessed",operation:"GetLifecyclePolicyPreview",delay:5,maxAttempts:20,acceptors:[{state:"success",matcher:"path",argument:"status",expected:"COMPLETE"},{state:"failure",matcher:"path",argument:"status",expected:"FAILED"}]}}}},{}],85:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-11-13",endpointPrefix:"ecs",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon ECS",serviceFullName:"Amazon EC2 Container Service",serviceId:"ECS",signatureVersion:"v4",targetPrefix:"AmazonEC2ContainerServiceV20141113",uid:"ecs-2014-11-13"},operations:{CreateCapacityProvider:{input:{type:"structure",required:["name","autoScalingGroupProvider"],members:{name:{},autoScalingGroupProvider:{shape:"S3"},tags:{shape:"Sa"}}},output:{type:"structure",members:{capacityProvider:{shape:"Sf"}}}},CreateCluster:{input:{type:"structure",members:{clusterName:{},tags:{shape:"Sa"},settings:{shape:"Sj"},configuration:{shape:"Sm"},capacityProviders:{shape:"Sr"},defaultCapacityProviderStrategy:{shape:"Ss"}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},CreateService:{input:{type:"structure",required:["serviceName"],members:{cluster:{},serviceName:{},taskDefinition:{},loadBalancers:{shape:"S15"},serviceRegistries:{shape:"S18"},desiredCount:{type:"integer"},clientToken:{},launchType:{},capacityProviderStrategy:{shape:"Ss"},platformVersion:{},role:{},deploymentConfiguration:{shape:"S1b"},placementConstraints:{shape:"S1d"},placementStrategy:{shape:"S1g"},networkConfiguration:{shape:"S1j"},healthCheckGracePeriodSeconds:{type:"integer"},schedulingStrategy:{},deploymentController:{shape:"S1n"},tags:{shape:"Sa"},enableECSManagedTags:{type:"boolean"},propagateTags:{},enableExecuteCommand:{type:"boolean"}}},output:{type:"structure",members:{service:{shape:"S1r"}}}},CreateTaskSet:{input:{type:"structure",required:["service","cluster","taskDefinition"],members:{service:{},cluster:{},externalId:{},taskDefinition:{},networkConfiguration:{shape:"S1j"},loadBalancers:{shape:"S15"},serviceRegistries:{shape:"S18"},launchType:{},capacityProviderStrategy:{shape:"Ss"},platformVersion:{},scale:{shape:"S1v"},clientToken:{},tags:{shape:"Sa"}}},output:{type:"structure",members:{taskSet:{shape:"S1t"}}}},DeleteAccountSetting:{input:{type:"structure",required:["name"],members:{name:{},principalArn:{}}},output:{type:"structure",members:{setting:{shape:"S29"}}}},DeleteAttributes:{input:{type:"structure",required:["attributes"],members:{cluster:{},attributes:{shape:"S2b"}}},output:{type:"structure",members:{attributes:{shape:"S2b"}}}},DeleteCapacityProvider:{input:{type:"structure",required:["capacityProvider"],members:{capacityProvider:{}}},output:{type:"structure",members:{capacityProvider:{shape:"Sf"}}}},DeleteCluster:{input:{type:"structure",required:["cluster"],members:{cluster:{}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},DeleteService:{input:{type:"structure",required:["service"],members:{cluster:{},service:{},force:{type:"boolean"}}},output:{type:"structure",members:{service:{shape:"S1r"}}}},DeleteTaskSet:{input:{type:"structure",required:["cluster","service","taskSet"],members:{cluster:{},service:{},taskSet:{},force:{type:"boolean"}}},output:{type:"structure",members:{taskSet:{shape:"S1t"}}}},DeregisterContainerInstance:{input:{type:"structure",required:["containerInstance"],members:{cluster:{},containerInstance:{},force:{type:"boolean"}}},output:{type:"structure",members:{containerInstance:{shape:"S2q"}}}},DeregisterTaskDefinition:{input:{type:"structure",required:["taskDefinition"],members:{taskDefinition:{}}},output:{type:"structure",members:{taskDefinition:{shape:"S33"}}}},DescribeCapacityProviders:{input:{type:"structure",members:{capacityProviders:{shape:"Sr"},include:{type:"list",member:{}},maxResults:{type:"integer"},nextToken:{}}},output:{type:"structure",members:{capacityProviders:{type:"list",member:{shape:"Sf"}},failures:{shape:"S5d"},nextToken:{}}}},DescribeClusters:{input:{type:"structure",members:{clusters:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{clusters:{type:"list",member:{shape:"Sx"}},failures:{shape:"S5d"}}}},DescribeContainerInstances:{input:{type:"structure",required:["containerInstances"],members:{cluster:{},containerInstances:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{containerInstances:{shape:"S5o"},failures:{shape:"S5d"}}}},DescribeServices:{input:{type:"structure",required:["services"],members:{cluster:{},services:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{services:{type:"list",member:{shape:"S1r"}},failures:{shape:"S5d"}}}},DescribeTaskDefinition:{input:{type:"structure",required:["taskDefinition"],members:{taskDefinition:{},include:{type:"list",member:{}}}},output:{type:"structure",members:{taskDefinition:{shape:"S33"},tags:{shape:"Sa"}}}},DescribeTaskSets:{input:{type:"structure",required:["cluster","service"],members:{cluster:{},service:{},taskSets:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{taskSets:{shape:"S1s"},failures:{shape:"S5d"}}}},DescribeTasks:{input:{type:"structure",required:["tasks"],members:{cluster:{},tasks:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{tasks:{shape:"S66"},failures:{shape:"S5d"}}}},DiscoverPollEndpoint:{input:{type:"structure",members:{containerInstance:{},cluster:{}}},output:{type:"structure",members:{endpoint:{},telemetryEndpoint:{}}}},ExecuteCommand:{input:{type:"structure",required:["command","interactive","task"],members:{cluster:{},container:{},command:{},interactive:{type:"boolean"},task:{}}},output:{type:"structure",members:{clusterArn:{},containerArn:{},containerName:{},interactive:{type:"boolean"},session:{type:"structure",members:{sessionId:{},streamUrl:{},tokenValue:{type:"string",sensitive:!0}}},taskArn:{}}}},ListAccountSettings:{input:{type:"structure",members:{name:{},value:{},principalArn:{},effectiveSettings:{type:"boolean"},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{settings:{type:"list",member:{shape:"S29"}},nextToken:{}}}},ListAttributes:{input:{type:"structure",required:["targetType"],members:{cluster:{},targetType:{},attributeName:{},attributeValue:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{attributes:{shape:"S2b"},nextToken:{}}}},ListClusters:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{clusterArns:{shape:"Sr"},nextToken:{}}}},ListContainerInstances:{input:{type:"structure",members:{cluster:{},filter:{},nextToken:{},maxResults:{type:"integer"},status:{}}},output:{type:"structure",members:{containerInstanceArns:{shape:"Sr"},nextToken:{}}}},ListServices:{input:{type:"structure",members:{cluster:{},nextToken:{},maxResults:{type:"integer"},launchType:{},schedulingStrategy:{}}},output:{type:"structure",members:{serviceArns:{shape:"Sr"},nextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{}}},output:{type:"structure",members:{tags:{shape:"Sa"}}}},ListTaskDefinitionFamilies:{input:{type:"structure",members:{familyPrefix:{},status:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{families:{shape:"Sr"},nextToken:{}}}},ListTaskDefinitions:{input:{type:"structure",members:{familyPrefix:{},status:{},sort:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{taskDefinitionArns:{shape:"Sr"},nextToken:{}}}},ListTasks:{input:{type:"structure",members:{cluster:{},containerInstance:{},family:{},nextToken:{},maxResults:{type:"integer"},startedBy:{},serviceName:{},desiredStatus:{},launchType:{}}},output:{type:"structure",members:{taskArns:{shape:"Sr"},nextToken:{}}}},PutAccountSetting:{input:{type:"structure",required:["name","value"],members:{name:{},value:{},principalArn:{}}},output:{type:"structure",members:{setting:{shape:"S29"}}}},PutAccountSettingDefault:{input:{type:"structure",required:["name","value"],members:{name:{},value:{}}},output:{type:"structure",members:{setting:{shape:"S29"}}}},PutAttributes:{input:{type:"structure",required:["attributes"],members:{cluster:{},attributes:{shape:"S2b"}}},output:{type:"structure",members:{attributes:{shape:"S2b"}}}},PutClusterCapacityProviders:{input:{type:"structure",required:["cluster","capacityProviders","defaultCapacityProviderStrategy"],members:{cluster:{},capacityProviders:{shape:"Sr"},defaultCapacityProviderStrategy:{shape:"Ss"}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}}, -RegisterContainerInstance:{input:{type:"structure",members:{cluster:{},instanceIdentityDocument:{},instanceIdentityDocumentSignature:{},totalResources:{shape:"S2t"},versionInfo:{shape:"S2s"},containerInstanceArn:{},attributes:{shape:"S2b"},platformDevices:{type:"list",member:{type:"structure",required:["id","type"],members:{id:{},type:{}}}},tags:{shape:"Sa"}}},output:{type:"structure",members:{containerInstance:{shape:"S2q"}}}},RegisterTaskDefinition:{input:{type:"structure",required:["family","containerDefinitions"],members:{family:{},taskRoleArn:{},executionRoleArn:{},networkMode:{},containerDefinitions:{shape:"S34"},volumes:{shape:"S4e"},placementConstraints:{shape:"S4s"},requiresCompatibilities:{shape:"S4v"},cpu:{},memory:{},tags:{shape:"Sa"},pidMode:{},ipcMode:{},proxyConfiguration:{shape:"S54"},inferenceAccelerators:{shape:"S50"},ephemeralStorage:{shape:"S57"},runtimePlatform:{shape:"S4x"}}},output:{type:"structure",members:{taskDefinition:{shape:"S33"},tags:{shape:"Sa"}}}},RunTask:{input:{type:"structure",required:["taskDefinition"],members:{capacityProviderStrategy:{shape:"Ss"},cluster:{},count:{type:"integer"},enableECSManagedTags:{type:"boolean"},enableExecuteCommand:{type:"boolean"},group:{},launchType:{},networkConfiguration:{shape:"S1j"},overrides:{shape:"S6k"},placementConstraints:{shape:"S1d"},placementStrategy:{shape:"S1g"},platformVersion:{},propagateTags:{},referenceId:{},startedBy:{},tags:{shape:"Sa"},taskDefinition:{}}},output:{type:"structure",members:{tasks:{shape:"S66"},failures:{shape:"S5d"}}}},StartTask:{input:{type:"structure",required:["containerInstances","taskDefinition"],members:{cluster:{},containerInstances:{shape:"Sr"},enableECSManagedTags:{type:"boolean"},enableExecuteCommand:{type:"boolean"},group:{},networkConfiguration:{shape:"S1j"},overrides:{shape:"S6k"},propagateTags:{},referenceId:{},startedBy:{},tags:{shape:"Sa"},taskDefinition:{}}},output:{type:"structure",members:{tasks:{shape:"S66"},failures:{shape:"S5d"}}}},StopTask:{input:{type:"structure",required:["task"],members:{cluster:{},task:{},reason:{}}},output:{type:"structure",members:{task:{shape:"S67"}}}},SubmitAttachmentStateChanges:{input:{type:"structure",required:["attachments"],members:{cluster:{},attachments:{shape:"S85"}}},output:{type:"structure",members:{acknowledgment:{}}}},SubmitContainerStateChange:{input:{type:"structure",members:{cluster:{},task:{},containerName:{},runtimeId:{},status:{},exitCode:{type:"integer"},reason:{},networkBindings:{shape:"S6b"}}},output:{type:"structure",members:{acknowledgment:{}}}},SubmitTaskStateChange:{input:{type:"structure",members:{cluster:{},task:{},status:{},reason:{},containers:{type:"list",member:{type:"structure",members:{containerName:{},imageDigest:{},runtimeId:{},exitCode:{type:"integer"},networkBindings:{shape:"S6b"},reason:{},status:{}}}},attachments:{shape:"S85"},managedAgents:{type:"list",member:{type:"structure",required:["containerName","managedAgentName","status"],members:{containerName:{},managedAgentName:{},status:{},reason:{}}}},pullStartedAt:{type:"timestamp"},pullStoppedAt:{type:"timestamp"},executionStoppedAt:{type:"timestamp"}}},output:{type:"structure",members:{acknowledgment:{}}}},TagResource:{input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{},tags:{shape:"Sa"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{},tagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateCapacityProvider:{input:{type:"structure",required:["name","autoScalingGroupProvider"],members:{name:{},autoScalingGroupProvider:{type:"structure",members:{managedScaling:{shape:"S4"},managedTerminationProtection:{}}}}},output:{type:"structure",members:{capacityProvider:{shape:"Sf"}}}},UpdateCluster:{input:{type:"structure",required:["cluster"],members:{cluster:{},settings:{shape:"Sj"},configuration:{shape:"Sm"}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},UpdateClusterSettings:{input:{type:"structure",required:["cluster","settings"],members:{cluster:{},settings:{shape:"Sj"}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},UpdateContainerAgent:{input:{type:"structure",required:["containerInstance"],members:{cluster:{},containerInstance:{}}},output:{type:"structure",members:{containerInstance:{shape:"S2q"}}}},UpdateContainerInstancesState:{input:{type:"structure",required:["containerInstances","status"],members:{cluster:{},containerInstances:{shape:"Sr"},status:{}}},output:{type:"structure",members:{containerInstances:{shape:"S5o"},failures:{shape:"S5d"}}}},UpdateService:{input:{type:"structure",required:["service"],members:{cluster:{},service:{},desiredCount:{type:"integer"},taskDefinition:{},capacityProviderStrategy:{shape:"Ss"},deploymentConfiguration:{shape:"S1b"},networkConfiguration:{shape:"S1j"},placementConstraints:{shape:"S1d"},placementStrategy:{shape:"S1g"},platformVersion:{},forceNewDeployment:{type:"boolean"},healthCheckGracePeriodSeconds:{type:"integer"},enableExecuteCommand:{type:"boolean"}}},output:{type:"structure",members:{service:{shape:"S1r"}}}},UpdateServicePrimaryTaskSet:{input:{type:"structure",required:["cluster","service","primaryTaskSet"],members:{cluster:{},service:{},primaryTaskSet:{}}},output:{type:"structure",members:{taskSet:{shape:"S1t"}}}},UpdateTaskSet:{input:{type:"structure",required:["cluster","service","taskSet","scale"],members:{cluster:{},service:{},taskSet:{},scale:{shape:"S1v"}}},output:{type:"structure",members:{taskSet:{shape:"S1t"}}}}},shapes:{S3:{type:"structure",required:["autoScalingGroupArn"],members:{autoScalingGroupArn:{},managedScaling:{shape:"S4"},managedTerminationProtection:{}}},S4:{type:"structure",members:{status:{},targetCapacity:{type:"integer"},minimumScalingStepSize:{type:"integer"},maximumScalingStepSize:{type:"integer"},instanceWarmupPeriod:{type:"integer"}}},Sa:{type:"list",member:{type:"structure",members:{key:{},value:{}}}},Sf:{type:"structure",members:{capacityProviderArn:{},name:{},status:{},autoScalingGroupProvider:{shape:"S3"},updateStatus:{},updateStatusReason:{},tags:{shape:"Sa"}}},Sj:{type:"list",member:{type:"structure",members:{name:{},value:{}}}},Sm:{type:"structure",members:{executeCommandConfiguration:{type:"structure",members:{kmsKeyId:{},logging:{},logConfiguration:{type:"structure",members:{cloudWatchLogGroupName:{},cloudWatchEncryptionEnabled:{type:"boolean"},s3BucketName:{},s3EncryptionEnabled:{type:"boolean"},s3KeyPrefix:{}}}}}}},Sr:{type:"list",member:{}},Ss:{type:"list",member:{type:"structure",required:["capacityProvider"],members:{capacityProvider:{},weight:{type:"integer"},base:{type:"integer"}}}},Sx:{type:"structure",members:{clusterArn:{},clusterName:{},configuration:{shape:"Sm"},status:{},registeredContainerInstancesCount:{type:"integer"},runningTasksCount:{type:"integer"},pendingTasksCount:{type:"integer"},activeServicesCount:{type:"integer"},statistics:{type:"list",member:{shape:"S10"}},tags:{shape:"Sa"},settings:{shape:"Sj"},capacityProviders:{shape:"Sr"},defaultCapacityProviderStrategy:{shape:"Ss"},attachments:{shape:"S11"},attachmentsStatus:{}}},S10:{type:"structure",members:{name:{},value:{}}},S11:{type:"list",member:{type:"structure",members:{id:{},type:{},status:{},details:{type:"list",member:{shape:"S10"}}}}},S15:{type:"list",member:{type:"structure",members:{targetGroupArn:{},loadBalancerName:{},containerName:{},containerPort:{type:"integer"}}}},S18:{type:"list",member:{type:"structure",members:{registryArn:{},port:{type:"integer"},containerName:{},containerPort:{type:"integer"}}}},S1b:{type:"structure",members:{deploymentCircuitBreaker:{type:"structure",required:["enable","rollback"],members:{enable:{type:"boolean"},rollback:{type:"boolean"}}},maximumPercent:{type:"integer"},minimumHealthyPercent:{type:"integer"}}},S1d:{type:"list",member:{type:"structure",members:{type:{},expression:{}}}},S1g:{type:"list",member:{type:"structure",members:{type:{},field:{}}}},S1j:{type:"structure",members:{awsvpcConfiguration:{type:"structure",required:["subnets"],members:{subnets:{shape:"Sr"},securityGroups:{shape:"Sr"},assignPublicIp:{}}}}},S1n:{type:"structure",required:["type"],members:{type:{}}},S1r:{type:"structure",members:{serviceArn:{},serviceName:{},clusterArn:{},loadBalancers:{shape:"S15"},serviceRegistries:{shape:"S18"},status:{},desiredCount:{type:"integer"},runningCount:{type:"integer"},pendingCount:{type:"integer"},launchType:{},capacityProviderStrategy:{shape:"Ss"},platformVersion:{},platformFamily:{},taskDefinition:{},deploymentConfiguration:{shape:"S1b"},taskSets:{shape:"S1s"},deployments:{type:"list",member:{type:"structure",members:{id:{},status:{},taskDefinition:{},desiredCount:{type:"integer"},pendingCount:{type:"integer"},runningCount:{type:"integer"},failedTasks:{type:"integer"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"},capacityProviderStrategy:{shape:"Ss"},launchType:{},platformVersion:{},platformFamily:{},networkConfiguration:{shape:"S1j"},rolloutState:{},rolloutStateReason:{}}}},roleArn:{},events:{type:"list",member:{type:"structure",members:{id:{},createdAt:{type:"timestamp"},message:{}}}},createdAt:{type:"timestamp"},placementConstraints:{shape:"S1d"},placementStrategy:{shape:"S1g"},networkConfiguration:{shape:"S1j"},healthCheckGracePeriodSeconds:{type:"integer"},schedulingStrategy:{},deploymentController:{shape:"S1n"},tags:{shape:"Sa"},createdBy:{},enableECSManagedTags:{type:"boolean"},propagateTags:{},enableExecuteCommand:{type:"boolean"}}},S1s:{type:"list",member:{shape:"S1t"}},S1t:{type:"structure",members:{id:{},taskSetArn:{},serviceArn:{},clusterArn:{},startedBy:{},externalId:{},status:{},taskDefinition:{},computedDesiredCount:{type:"integer"},pendingCount:{type:"integer"},runningCount:{type:"integer"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"},launchType:{},capacityProviderStrategy:{shape:"Ss"},platformVersion:{},platformFamily:{},networkConfiguration:{shape:"S1j"},loadBalancers:{shape:"S15"},serviceRegistries:{shape:"S18"},scale:{shape:"S1v"},stabilityStatus:{},stabilityStatusAt:{type:"timestamp"},tags:{shape:"Sa"}}},S1v:{type:"structure",members:{value:{type:"double"},unit:{}}},S29:{type:"structure",members:{name:{},value:{},principalArn:{}}},S2b:{type:"list",member:{shape:"S2c"}},S2c:{type:"structure",required:["name"],members:{name:{},value:{},targetType:{},targetId:{}}},S2q:{type:"structure",members:{containerInstanceArn:{},ec2InstanceId:{},capacityProviderName:{},version:{type:"long"},versionInfo:{shape:"S2s"},remainingResources:{shape:"S2t"},registeredResources:{shape:"S2t"},status:{},statusReason:{},agentConnected:{type:"boolean"},runningTasksCount:{type:"integer"},pendingTasksCount:{type:"integer"},agentUpdateStatus:{},attributes:{shape:"S2b"},registeredAt:{type:"timestamp"},attachments:{shape:"S11"},tags:{shape:"Sa"},healthStatus:{type:"structure",members:{overallStatus:{},details:{type:"list",member:{type:"structure",members:{type:{},status:{},lastUpdated:{type:"timestamp"},lastStatusChange:{type:"timestamp"}}}}}}}},S2s:{type:"structure",members:{agentVersion:{},agentHash:{},dockerVersion:{}}},S2t:{type:"list",member:{type:"structure",members:{name:{},type:{},doubleValue:{type:"double"},longValue:{type:"long"},integerValue:{type:"integer"},stringSetValue:{shape:"Sr"}}}},S33:{type:"structure",members:{taskDefinitionArn:{},containerDefinitions:{shape:"S34"},family:{},taskRoleArn:{},executionRoleArn:{},networkMode:{},revision:{type:"integer"},volumes:{shape:"S4e"},status:{},requiresAttributes:{type:"list",member:{shape:"S2c"}},placementConstraints:{shape:"S4s"},compatibilities:{shape:"S4v"},runtimePlatform:{shape:"S4x"},requiresCompatibilities:{shape:"S4v"},cpu:{},memory:{},inferenceAccelerators:{shape:"S50"},pidMode:{},ipcMode:{},proxyConfiguration:{shape:"S54"},registeredAt:{type:"timestamp"},deregisteredAt:{type:"timestamp"},registeredBy:{},ephemeralStorage:{shape:"S57"}}},S34:{type:"list",member:{type:"structure",members:{name:{},image:{},repositoryCredentials:{type:"structure",required:["credentialsParameter"],members:{credentialsParameter:{}}},cpu:{type:"integer"},memory:{type:"integer"},memoryReservation:{type:"integer"},links:{shape:"Sr"},portMappings:{type:"list",member:{type:"structure",members:{containerPort:{type:"integer"},hostPort:{type:"integer"},protocol:{}}}},essential:{type:"boolean"},entryPoint:{shape:"Sr"},command:{shape:"Sr"},environment:{shape:"S3a"},environmentFiles:{shape:"S3b"},mountPoints:{type:"list",member:{type:"structure",members:{sourceVolume:{},containerPath:{},readOnly:{type:"boolean"}}}},volumesFrom:{type:"list",member:{type:"structure",members:{sourceContainer:{},readOnly:{type:"boolean"}}}},linuxParameters:{type:"structure",members:{capabilities:{type:"structure",members:{add:{shape:"Sr"},drop:{shape:"Sr"}}},devices:{type:"list",member:{type:"structure",required:["hostPath"],members:{hostPath:{},containerPath:{},permissions:{type:"list",member:{}}}}},initProcessEnabled:{type:"boolean"},sharedMemorySize:{type:"integer"},tmpfs:{type:"list",member:{type:"structure",required:["containerPath","size"],members:{containerPath:{},size:{type:"integer"},mountOptions:{shape:"Sr"}}}},maxSwap:{type:"integer"},swappiness:{type:"integer"}}},secrets:{shape:"S3q"},dependsOn:{type:"list",member:{type:"structure",required:["containerName","condition"],members:{containerName:{},condition:{}}}},startTimeout:{type:"integer"},stopTimeout:{type:"integer"},hostname:{},user:{},workingDirectory:{},disableNetworking:{type:"boolean"},privileged:{type:"boolean"},readonlyRootFilesystem:{type:"boolean"},dnsServers:{shape:"Sr"},dnsSearchDomains:{shape:"Sr"},extraHosts:{type:"list",member:{type:"structure",required:["hostname","ipAddress"],members:{hostname:{},ipAddress:{}}}},dockerSecurityOptions:{shape:"Sr"},interactive:{type:"boolean"},pseudoTerminal:{type:"boolean"},dockerLabels:{type:"map",key:{},value:{}},ulimits:{type:"list",member:{type:"structure",required:["name","softLimit","hardLimit"],members:{name:{},softLimit:{type:"integer"},hardLimit:{type:"integer"}}}},logConfiguration:{type:"structure",required:["logDriver"],members:{logDriver:{},options:{type:"map",key:{},value:{}},secretOptions:{shape:"S3q"}}},healthCheck:{type:"structure",required:["command"],members:{command:{shape:"Sr"},interval:{type:"integer"},timeout:{type:"integer"},retries:{type:"integer"},startPeriod:{type:"integer"}}},systemControls:{type:"list",member:{type:"structure",members:{namespace:{},value:{}}}},resourceRequirements:{shape:"S47"},firelensConfiguration:{type:"structure",required:["type"],members:{type:{},options:{type:"map",key:{},value:{}}}}}}},S3a:{type:"list",member:{shape:"S10"}},S3b:{type:"list",member:{type:"structure",required:["value","type"],members:{value:{},type:{}}}},S3q:{type:"list",member:{type:"structure",required:["name","valueFrom"],members:{name:{},valueFrom:{}}}},S47:{type:"list",member:{type:"structure",required:["value","type"],members:{value:{},type:{}}}},S4e:{type:"list",member:{type:"structure",members:{name:{},host:{type:"structure",members:{sourcePath:{}}},dockerVolumeConfiguration:{type:"structure",members:{scope:{},autoprovision:{type:"boolean"},driver:{},driverOpts:{shape:"S4j"},labels:{shape:"S4j"}}},efsVolumeConfiguration:{type:"structure",required:["fileSystemId"],members:{fileSystemId:{},rootDirectory:{},transitEncryption:{},transitEncryptionPort:{type:"integer"},authorizationConfig:{type:"structure",members:{accessPointId:{},iam:{}}}}},fsxWindowsFileServerVolumeConfiguration:{type:"structure",required:["fileSystemId","rootDirectory","authorizationConfig"],members:{fileSystemId:{},rootDirectory:{},authorizationConfig:{type:"structure",required:["credentialsParameter","domain"],members:{credentialsParameter:{},domain:{}}}}}}}},S4j:{type:"map",key:{},value:{}},S4s:{type:"list",member:{type:"structure",members:{type:{},expression:{}}}},S4v:{type:"list",member:{}},S4x:{type:"structure",members:{cpuArchitecture:{},operatingSystemFamily:{}}},S50:{type:"list",member:{type:"structure",required:["deviceName","deviceType"],members:{deviceName:{},deviceType:{}}}},S54:{type:"structure",required:["containerName"],members:{type:{},containerName:{},properties:{type:"list",member:{shape:"S10"}}}},S57:{type:"structure",required:["sizeInGiB"],members:{sizeInGiB:{type:"integer"}}},S5d:{type:"list",member:{type:"structure",members:{arn:{},reason:{},detail:{}}}},S5o:{type:"list",member:{shape:"S2q"}},S66:{type:"list",member:{shape:"S67"}},S67:{type:"structure",members:{attachments:{shape:"S11"},attributes:{shape:"S2b"},availabilityZone:{},capacityProviderName:{},clusterArn:{},connectivity:{},connectivityAt:{type:"timestamp"},containerInstanceArn:{},containers:{type:"list",member:{type:"structure",members:{containerArn:{},taskArn:{},name:{},image:{},imageDigest:{},runtimeId:{},lastStatus:{},exitCode:{type:"integer"},reason:{},networkBindings:{shape:"S6b"},networkInterfaces:{type:"list",member:{type:"structure",members:{attachmentId:{},privateIpv4Address:{},ipv6Address:{}}}},healthStatus:{},managedAgents:{type:"list",member:{type:"structure",members:{lastStartedAt:{type:"timestamp"},name:{},reason:{},lastStatus:{}}}},cpu:{},memory:{},memoryReservation:{},gpuIds:{type:"list",member:{}}}}},cpu:{},createdAt:{type:"timestamp"},desiredStatus:{},enableExecuteCommand:{type:"boolean"},executionStoppedAt:{type:"timestamp"},group:{},healthStatus:{},inferenceAccelerators:{shape:"S50"},lastStatus:{},launchType:{},memory:{},overrides:{shape:"S6k"},platformVersion:{},platformFamily:{},pullStartedAt:{type:"timestamp"},pullStoppedAt:{type:"timestamp"},startedAt:{type:"timestamp"},startedBy:{},stopCode:{},stoppedAt:{type:"timestamp"},stoppedReason:{},stoppingAt:{type:"timestamp"},tags:{shape:"Sa"},taskArn:{},taskDefinitionArn:{},version:{type:"long"},ephemeralStorage:{shape:"S57"}}},S6b:{type:"list",member:{type:"structure",members:{bindIP:{},containerPort:{type:"integer"},hostPort:{type:"integer"},protocol:{}}}},S6k:{type:"structure",members:{containerOverrides:{type:"list",member:{type:"structure",members:{name:{},command:{shape:"Sr"},environment:{shape:"S3a"},environmentFiles:{shape:"S3b"},cpu:{type:"integer"},memory:{type:"integer"},memoryReservation:{type:"integer"},resourceRequirements:{shape:"S47"}}}},cpu:{},inferenceAcceleratorOverrides:{type:"list",member:{type:"structure",members:{deviceName:{},deviceType:{}}}},executionRoleArn:{},memory:{},taskRoleArn:{},ephemeralStorage:{shape:"S57"}}},S85:{type:"list",member:{type:"structure",required:["attachmentArn","status"],members:{attachmentArn:{},status:{}}}}}}},{}],86:[function(e,t,r){t.exports={pagination:{ListAccountSettings:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"settings"},ListAttributes:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"attributes"},ListClusters:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"clusterArns"},ListContainerInstances:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"containerInstanceArns"},ListServices:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"serviceArns"},ListTaskDefinitionFamilies:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"families"},ListTaskDefinitions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"taskDefinitionArns"},ListTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"taskArns"}}}},{}],87:[function(e,t,r){t.exports={version:2,waiters:{TasksRunning:{delay:6,operation:"DescribeTasks",maxAttempts:100,acceptors:[{expected:"STOPPED",matcher:"pathAny",state:"failure",argument:"tasks[].lastStatus"},{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"RUNNING",matcher:"pathAll",state:"success",argument:"tasks[].lastStatus"}]},TasksStopped:{delay:6,operation:"DescribeTasks",maxAttempts:100,acceptors:[{expected:"STOPPED",matcher:"pathAll",state:"success",argument:"tasks[].lastStatus"}]},ServicesStable:{delay:15,operation:"DescribeServices",maxAttempts:40,acceptors:[{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"DRAINING",matcher:"pathAny",state:"failure",argument:"services[].status"},{expected:"INACTIVE",matcher:"pathAny",state:"failure",argument:"services[].status"},{expected:!0,matcher:"path",state:"success",argument:"length(services[?!(length(deployments) == `1` && runningCount == desiredCount)]) == `0`"}]},ServicesInactive:{delay:15,operation:"DescribeServices",maxAttempts:40,acceptors:[{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"INACTIVE",matcher:"pathAny",state:"success",argument:"services[].status"}]}}}},{}],88:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-02-02",endpointPrefix:"elasticache",protocol:"query",serviceFullName:"Amazon ElastiCache",serviceId:"ElastiCache",signatureVersion:"v4",uid:"elasticache-2015-02-02",xmlNamespace:"http://elasticache.amazonaws.com/doc/2015-02-02/"},operations:{AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S3"}}},output:{shape:"S5",resultWrapper:"AddTagsToResourceResult"}},AuthorizeCacheSecurityGroupIngress:{input:{type:"structure",required:["CacheSecurityGroupName","EC2SecurityGroupName","EC2SecurityGroupOwnerId"],members:{CacheSecurityGroupName:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeCacheSecurityGroupIngressResult",type:"structure",members:{CacheSecurityGroup:{shape:"S8"}}}},BatchApplyUpdateAction:{input:{type:"structure",required:["ServiceUpdateName"],members:{ReplicationGroupIds:{shape:"Sc"},CacheClusterIds:{shape:"Sd"},ServiceUpdateName:{}}},output:{shape:"Se",resultWrapper:"BatchApplyUpdateActionResult"}},BatchStopUpdateAction:{input:{type:"structure",required:["ServiceUpdateName"],members:{ReplicationGroupIds:{shape:"Sc"},CacheClusterIds:{shape:"Sd"},ServiceUpdateName:{}}},output:{shape:"Se",resultWrapper:"BatchStopUpdateActionResult"}},CompleteMigration:{input:{type:"structure",required:["ReplicationGroupId"],members:{ReplicationGroupId:{},Force:{type:"boolean"}}},output:{resultWrapper:"CompleteMigrationResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},CopySnapshot:{input:{type:"structure",required:["SourceSnapshotName","TargetSnapshotName"],members:{SourceSnapshotName:{},TargetSnapshotName:{},TargetBucket:{},KmsKeyId:{},Tags:{shape:"S3"}}},output:{resultWrapper:"CopySnapshotResult",type:"structure",members:{Snapshot:{shape:"S1q"}}}},CreateCacheCluster:{input:{type:"structure",required:["CacheClusterId"],members:{CacheClusterId:{},ReplicationGroupId:{},AZMode:{},PreferredAvailabilityZone:{},PreferredAvailabilityZones:{shape:"S1z"},NumCacheNodes:{type:"integer"},CacheNodeType:{},Engine:{},EngineVersion:{},CacheParameterGroupName:{},CacheSubnetGroupName:{},CacheSecurityGroupNames:{shape:"S20"},SecurityGroupIds:{shape:"S21"},Tags:{shape:"S3"},SnapshotArns:{shape:"S22"},SnapshotName:{},PreferredMaintenanceWindow:{},Port:{type:"integer"},NotificationTopicArn:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},AuthToken:{},OutpostMode:{},PreferredOutpostArn:{},PreferredOutpostArns:{shape:"S24"},LogDeliveryConfigurations:{shape:"S25"}}},output:{resultWrapper:"CreateCacheClusterResult",type:"structure",members:{CacheCluster:{shape:"S28"}}}},CreateCacheParameterGroup:{input:{type:"structure",required:["CacheParameterGroupName","CacheParameterGroupFamily","Description"],members:{CacheParameterGroupName:{},CacheParameterGroupFamily:{},Description:{},Tags:{shape:"S3"}}},output:{resultWrapper:"CreateCacheParameterGroupResult",type:"structure",members:{CacheParameterGroup:{shape:"S2l"}}}},CreateCacheSecurityGroup:{input:{type:"structure",required:["CacheSecurityGroupName","Description"],members:{CacheSecurityGroupName:{},Description:{},Tags:{shape:"S3"}}},output:{resultWrapper:"CreateCacheSecurityGroupResult",type:"structure",members:{CacheSecurityGroup:{shape:"S8"}}}},CreateCacheSubnetGroup:{input:{type:"structure",required:["CacheSubnetGroupName","CacheSubnetGroupDescription","SubnetIds"],members:{CacheSubnetGroupName:{},CacheSubnetGroupDescription:{},SubnetIds:{shape:"S2p"},Tags:{shape:"S3"}}},output:{resultWrapper:"CreateCacheSubnetGroupResult",type:"structure",members:{CacheSubnetGroup:{shape:"S2r"}}}},CreateGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupIdSuffix","PrimaryReplicationGroupId"],members:{GlobalReplicationGroupIdSuffix:{},GlobalReplicationGroupDescription:{},PrimaryReplicationGroupId:{}}},output:{resultWrapper:"CreateGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},CreateReplicationGroup:{input:{type:"structure",required:["ReplicationGroupId","ReplicationGroupDescription"],members:{ReplicationGroupId:{},ReplicationGroupDescription:{},GlobalReplicationGroupId:{},PrimaryClusterId:{},AutomaticFailoverEnabled:{type:"boolean"},MultiAZEnabled:{type:"boolean"},NumCacheClusters:{type:"integer"},PreferredCacheClusterAZs:{shape:"S1v"},NumNodeGroups:{type:"integer"},ReplicasPerNodeGroup:{type:"integer"},NodeGroupConfiguration:{type:"list",member:{shape:"S1t",locationName:"NodeGroupConfiguration"}},CacheNodeType:{},Engine:{},EngineVersion:{},CacheParameterGroupName:{},CacheSubnetGroupName:{},CacheSecurityGroupNames:{shape:"S20"},SecurityGroupIds:{shape:"S21"},Tags:{shape:"S3"},SnapshotArns:{shape:"S22"},SnapshotName:{},PreferredMaintenanceWindow:{},Port:{type:"integer"},NotificationTopicArn:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},AuthToken:{},TransitEncryptionEnabled:{type:"boolean"},AtRestEncryptionEnabled:{type:"boolean"},KmsKeyId:{},UserGroupIds:{type:"list",member:{}},LogDeliveryConfigurations:{shape:"S25"},DataTieringEnabled:{type:"boolean"}}},output:{resultWrapper:"CreateReplicationGroupResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},CreateSnapshot:{input:{type:"structure",required:["SnapshotName"],members:{ReplicationGroupId:{},CacheClusterId:{},SnapshotName:{},KmsKeyId:{},Tags:{shape:"S3"}}},output:{resultWrapper:"CreateSnapshotResult",type:"structure",members:{Snapshot:{shape:"S1q"}}}},CreateUser:{input:{type:"structure",required:["UserId","UserName","Engine","AccessString"],members:{UserId:{},UserName:{},Engine:{},Passwords:{shape:"S3d"},AccessString:{},NoPasswordRequired:{type:"boolean"},Tags:{shape:"S3"}}},output:{shape:"S3f",resultWrapper:"CreateUserResult"}},CreateUserGroup:{input:{type:"structure",required:["UserGroupId","Engine"],members:{UserGroupId:{},Engine:{},UserIds:{shape:"S3j"},Tags:{shape:"S3"}}},output:{shape:"S3k",resultWrapper:"CreateUserGroupResult"}},DecreaseNodeGroupsInGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","NodeGroupCount","ApplyImmediately"],members:{GlobalReplicationGroupId:{},NodeGroupCount:{type:"integer"},GlobalNodeGroupsToRemove:{shape:"S3p"},GlobalNodeGroupsToRetain:{shape:"S3p"},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"DecreaseNodeGroupsInGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},DecreaseReplicaCount:{input:{type:"structure",required:["ReplicationGroupId","ApplyImmediately"],members:{ReplicationGroupId:{},NewReplicaCount:{type:"integer"},ReplicaConfiguration:{shape:"S3s"},ReplicasToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"DecreaseReplicaCountResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},DeleteCacheCluster:{input:{type:"structure",required:["CacheClusterId"],members:{CacheClusterId:{},FinalSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteCacheClusterResult",type:"structure",members:{CacheCluster:{shape:"S28"}}}},DeleteCacheParameterGroup:{input:{type:"structure",required:["CacheParameterGroupName"],members:{CacheParameterGroupName:{}}}},DeleteCacheSecurityGroup:{input:{type:"structure",required:["CacheSecurityGroupName"],members:{CacheSecurityGroupName:{}}}},DeleteCacheSubnetGroup:{input:{type:"structure",required:["CacheSubnetGroupName"],members:{CacheSubnetGroupName:{}}}},DeleteGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","RetainPrimaryReplicationGroup"],members:{GlobalReplicationGroupId:{},RetainPrimaryReplicationGroup:{type:"boolean"}}},output:{resultWrapper:"DeleteGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},DeleteReplicationGroup:{input:{type:"structure",required:["ReplicationGroupId"],members:{ReplicationGroupId:{},RetainPrimaryCluster:{type:"boolean"},FinalSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteReplicationGroupResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},DeleteSnapshot:{input:{type:"structure",required:["SnapshotName"],members:{SnapshotName:{}}},output:{resultWrapper:"DeleteSnapshotResult",type:"structure",members:{Snapshot:{shape:"S1q"}}}},DeleteUser:{input:{type:"structure",required:["UserId"],members:{UserId:{}}},output:{shape:"S3f",resultWrapper:"DeleteUserResult"}},DeleteUserGroup:{input:{type:"structure",required:["UserGroupId"],members:{UserGroupId:{}}},output:{shape:"S3k",resultWrapper:"DeleteUserGroupResult"}},DescribeCacheClusters:{input:{type:"structure",members:{CacheClusterId:{},MaxRecords:{type:"integer"},Marker:{},ShowCacheNodeInfo:{type:"boolean"},ShowCacheClustersNotInReplicationGroups:{type:"boolean"}}},output:{resultWrapper:"DescribeCacheClustersResult",type:"structure",members:{Marker:{},CacheClusters:{type:"list",member:{shape:"S28",locationName:"CacheCluster"}}}}},DescribeCacheEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},CacheParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"}}},output:{resultWrapper:"DescribeCacheEngineVersionsResult",type:"structure",members:{Marker:{},CacheEngineVersions:{type:"list",member:{locationName:"CacheEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},CacheParameterGroupFamily:{},CacheEngineDescription:{},CacheEngineVersionDescription:{}}}}}}},DescribeCacheParameterGroups:{input:{type:"structure",members:{CacheParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCacheParameterGroupsResult",type:"structure",members:{Marker:{},CacheParameterGroups:{type:"list",member:{shape:"S2l",locationName:"CacheParameterGroup"}}}}},DescribeCacheParameters:{input:{type:"structure",required:["CacheParameterGroupName"],members:{CacheParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCacheParametersResult",type:"structure",members:{Marker:{},Parameters:{shape:"S4l"},CacheNodeTypeSpecificParameters:{shape:"S4o"}}}},DescribeCacheSecurityGroups:{input:{type:"structure",members:{CacheSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCacheSecurityGroupsResult",type:"structure",members:{Marker:{},CacheSecurityGroups:{type:"list",member:{shape:"S8",locationName:"CacheSecurityGroup"}}}}},DescribeCacheSubnetGroups:{input:{type:"structure",members:{CacheSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCacheSubnetGroupsResult",type:"structure",members:{Marker:{},CacheSubnetGroups:{type:"list",member:{shape:"S2r",locationName:"CacheSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["CacheParameterGroupFamily"],members:{CacheParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{CacheParameterGroupFamily:{},Marker:{}, -Parameters:{shape:"S4l"},CacheNodeTypeSpecificParameters:{shape:"S4o"}},wrapper:!0}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},Date:{type:"timestamp"}}}}}}},DescribeGlobalReplicationGroups:{input:{type:"structure",members:{GlobalReplicationGroupId:{},MaxRecords:{type:"integer"},Marker:{},ShowMemberInfo:{type:"boolean"}}},output:{resultWrapper:"DescribeGlobalReplicationGroupsResult",type:"structure",members:{Marker:{},GlobalReplicationGroups:{type:"list",member:{shape:"S2y",locationName:"GlobalReplicationGroup"}}}}},DescribeReplicationGroups:{input:{type:"structure",members:{ReplicationGroupId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReplicationGroupsResult",type:"structure",members:{Marker:{},ReplicationGroups:{type:"list",member:{shape:"So",locationName:"ReplicationGroup"}}}}},DescribeReservedCacheNodes:{input:{type:"structure",members:{ReservedCacheNodeId:{},ReservedCacheNodesOfferingId:{},CacheNodeType:{},Duration:{},ProductDescription:{},OfferingType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedCacheNodesResult",type:"structure",members:{Marker:{},ReservedCacheNodes:{type:"list",member:{shape:"S5f",locationName:"ReservedCacheNode"}}}}},DescribeReservedCacheNodesOfferings:{input:{type:"structure",members:{ReservedCacheNodesOfferingId:{},CacheNodeType:{},Duration:{},ProductDescription:{},OfferingType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedCacheNodesOfferingsResult",type:"structure",members:{Marker:{},ReservedCacheNodesOfferings:{type:"list",member:{locationName:"ReservedCacheNodesOffering",type:"structure",members:{ReservedCacheNodesOfferingId:{},CacheNodeType:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},ProductDescription:{},OfferingType:{},RecurringCharges:{shape:"S5g"}},wrapper:!0}}}}},DescribeServiceUpdates:{input:{type:"structure",members:{ServiceUpdateName:{},ServiceUpdateStatus:{shape:"S5n"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeServiceUpdatesResult",type:"structure",members:{Marker:{},ServiceUpdates:{type:"list",member:{locationName:"ServiceUpdate",type:"structure",members:{ServiceUpdateName:{},ServiceUpdateReleaseDate:{type:"timestamp"},ServiceUpdateEndDate:{type:"timestamp"},ServiceUpdateSeverity:{},ServiceUpdateRecommendedApplyByDate:{type:"timestamp"},ServiceUpdateStatus:{},ServiceUpdateDescription:{},ServiceUpdateType:{},Engine:{},EngineVersion:{},AutoUpdateAfterRecommendedApplyByDate:{type:"boolean"},EstimatedUpdateTime:{}}}}}}},DescribeSnapshots:{input:{type:"structure",members:{ReplicationGroupId:{},CacheClusterId:{},SnapshotName:{},SnapshotSource:{},Marker:{},MaxRecords:{type:"integer"},ShowNodeGroupConfig:{type:"boolean"}}},output:{resultWrapper:"DescribeSnapshotsResult",type:"structure",members:{Marker:{},Snapshots:{type:"list",member:{shape:"S1q",locationName:"Snapshot"}}}}},DescribeUpdateActions:{input:{type:"structure",members:{ServiceUpdateName:{},ReplicationGroupIds:{shape:"Sc"},CacheClusterIds:{shape:"Sd"},Engine:{},ServiceUpdateStatus:{shape:"S5n"},ServiceUpdateTimeRange:{type:"structure",members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}},UpdateActionStatus:{type:"list",member:{}},ShowNodeLevelUpdateStatus:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeUpdateActionsResult",type:"structure",members:{Marker:{},UpdateActions:{type:"list",member:{locationName:"UpdateAction",type:"structure",members:{ReplicationGroupId:{},CacheClusterId:{},ServiceUpdateName:{},ServiceUpdateReleaseDate:{type:"timestamp"},ServiceUpdateSeverity:{},ServiceUpdateStatus:{},ServiceUpdateRecommendedApplyByDate:{type:"timestamp"},ServiceUpdateType:{},UpdateActionAvailableDate:{type:"timestamp"},UpdateActionStatus:{},NodesUpdated:{},UpdateActionStatusModifiedDate:{type:"timestamp"},SlaMet:{},NodeGroupUpdateStatus:{type:"list",member:{locationName:"NodeGroupUpdateStatus",type:"structure",members:{NodeGroupId:{},NodeGroupMemberUpdateStatus:{type:"list",member:{locationName:"NodeGroupMemberUpdateStatus",type:"structure",members:{CacheClusterId:{},CacheNodeId:{},NodeUpdateStatus:{},NodeDeletionDate:{type:"timestamp"},NodeUpdateStartDate:{type:"timestamp"},NodeUpdateEndDate:{type:"timestamp"},NodeUpdateInitiatedBy:{},NodeUpdateInitiatedDate:{type:"timestamp"},NodeUpdateStatusModifiedDate:{type:"timestamp"}}}}}}},CacheNodeUpdateStatus:{type:"list",member:{locationName:"CacheNodeUpdateStatus",type:"structure",members:{CacheNodeId:{},NodeUpdateStatus:{},NodeDeletionDate:{type:"timestamp"},NodeUpdateStartDate:{type:"timestamp"},NodeUpdateEndDate:{type:"timestamp"},NodeUpdateInitiatedBy:{},NodeUpdateInitiatedDate:{type:"timestamp"},NodeUpdateStatusModifiedDate:{type:"timestamp"}}}},EstimatedUpdateTime:{},Engine:{}}}}}}},DescribeUserGroups:{input:{type:"structure",members:{UserGroupId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeUserGroupsResult",type:"structure",members:{UserGroups:{type:"list",member:{shape:"S3k"}},Marker:{}}}},DescribeUsers:{input:{type:"structure",members:{Engine:{},UserId:{},Filters:{type:"list",member:{type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{}}}}},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeUsersResult",type:"structure",members:{Users:{type:"list",member:{shape:"S3f"}},Marker:{}}}},DisassociateGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","ReplicationGroupId","ReplicationGroupRegion"],members:{GlobalReplicationGroupId:{},ReplicationGroupId:{},ReplicationGroupRegion:{}}},output:{resultWrapper:"DisassociateGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},FailoverGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","PrimaryRegion","PrimaryReplicationGroupId"],members:{GlobalReplicationGroupId:{},PrimaryRegion:{},PrimaryReplicationGroupId:{}}},output:{resultWrapper:"FailoverGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},IncreaseNodeGroupsInGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","NodeGroupCount","ApplyImmediately"],members:{GlobalReplicationGroupId:{},NodeGroupCount:{type:"integer"},RegionalConfigurations:{type:"list",member:{locationName:"RegionalConfiguration",type:"structure",required:["ReplicationGroupId","ReplicationGroupRegion","ReshardingConfiguration"],members:{ReplicationGroupId:{},ReplicationGroupRegion:{},ReshardingConfiguration:{shape:"S6u"}}}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"IncreaseNodeGroupsInGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},IncreaseReplicaCount:{input:{type:"structure",required:["ReplicationGroupId","ApplyImmediately"],members:{ReplicationGroupId:{},NewReplicaCount:{type:"integer"},ReplicaConfiguration:{shape:"S3s"},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"IncreaseReplicaCountResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},ListAllowedNodeTypeModifications:{input:{type:"structure",members:{CacheClusterId:{},ReplicationGroupId:{}}},output:{resultWrapper:"ListAllowedNodeTypeModificationsResult",type:"structure",members:{ScaleUpModifications:{shape:"S71"},ScaleDownModifications:{shape:"S71"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{}}},output:{shape:"S5",resultWrapper:"ListTagsForResourceResult"}},ModifyCacheCluster:{input:{type:"structure",required:["CacheClusterId"],members:{CacheClusterId:{},NumCacheNodes:{type:"integer"},CacheNodeIdsToRemove:{shape:"S2a"},AZMode:{},NewAvailabilityZones:{shape:"S1z"},CacheSecurityGroupNames:{shape:"S20"},SecurityGroupIds:{shape:"S21"},PreferredMaintenanceWindow:{},NotificationTopicArn:{},CacheParameterGroupName:{},NotificationTopicStatus:{},ApplyImmediately:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},CacheNodeType:{},AuthToken:{},AuthTokenUpdateStrategy:{},LogDeliveryConfigurations:{shape:"S25"}}},output:{resultWrapper:"ModifyCacheClusterResult",type:"structure",members:{CacheCluster:{shape:"S28"}}}},ModifyCacheParameterGroup:{input:{type:"structure",required:["CacheParameterGroupName","ParameterNameValues"],members:{CacheParameterGroupName:{},ParameterNameValues:{shape:"S77"}}},output:{shape:"S79",resultWrapper:"ModifyCacheParameterGroupResult"}},ModifyCacheSubnetGroup:{input:{type:"structure",required:["CacheSubnetGroupName"],members:{CacheSubnetGroupName:{},CacheSubnetGroupDescription:{},SubnetIds:{shape:"S2p"}}},output:{resultWrapper:"ModifyCacheSubnetGroupResult",type:"structure",members:{CacheSubnetGroup:{shape:"S2r"}}}},ModifyGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","ApplyImmediately"],members:{GlobalReplicationGroupId:{},ApplyImmediately:{type:"boolean"},CacheNodeType:{},EngineVersion:{},CacheParameterGroupName:{},GlobalReplicationGroupDescription:{},AutomaticFailoverEnabled:{type:"boolean"}}},output:{resultWrapper:"ModifyGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},ModifyReplicationGroup:{input:{type:"structure",required:["ReplicationGroupId"],members:{ReplicationGroupId:{},ReplicationGroupDescription:{},PrimaryClusterId:{},SnapshottingClusterId:{},AutomaticFailoverEnabled:{type:"boolean"},MultiAZEnabled:{type:"boolean"},NodeGroupId:{deprecated:!0},CacheSecurityGroupNames:{shape:"S20"},SecurityGroupIds:{shape:"S21"},PreferredMaintenanceWindow:{},NotificationTopicArn:{},CacheParameterGroupName:{},NotificationTopicStatus:{},ApplyImmediately:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},CacheNodeType:{},AuthToken:{},AuthTokenUpdateStrategy:{},UserGroupIdsToAdd:{shape:"Sx"},UserGroupIdsToRemove:{shape:"Sx"},RemoveUserGroups:{type:"boolean"},LogDeliveryConfigurations:{shape:"S25"}}},output:{resultWrapper:"ModifyReplicationGroupResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},ModifyReplicationGroupShardConfiguration:{input:{type:"structure",required:["ReplicationGroupId","NodeGroupCount","ApplyImmediately"],members:{ReplicationGroupId:{},NodeGroupCount:{type:"integer"},ApplyImmediately:{type:"boolean"},ReshardingConfiguration:{shape:"S6u"},NodeGroupsToRemove:{type:"list",member:{locationName:"NodeGroupToRemove"}},NodeGroupsToRetain:{type:"list",member:{locationName:"NodeGroupToRetain"}}}},output:{resultWrapper:"ModifyReplicationGroupShardConfigurationResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},ModifyUser:{input:{type:"structure",required:["UserId"],members:{UserId:{},AccessString:{},AppendAccessString:{},Passwords:{shape:"S3d"},NoPasswordRequired:{type:"boolean"}}},output:{shape:"S3f",resultWrapper:"ModifyUserResult"}},ModifyUserGroup:{input:{type:"structure",required:["UserGroupId"],members:{UserGroupId:{},UserIdsToAdd:{shape:"S3j"},UserIdsToRemove:{shape:"S3j"}}},output:{shape:"S3k",resultWrapper:"ModifyUserGroupResult"}},PurchaseReservedCacheNodesOffering:{input:{type:"structure",required:["ReservedCacheNodesOfferingId"],members:{ReservedCacheNodesOfferingId:{},ReservedCacheNodeId:{},CacheNodeCount:{type:"integer"},Tags:{shape:"S3"}}},output:{resultWrapper:"PurchaseReservedCacheNodesOfferingResult",type:"structure",members:{ReservedCacheNode:{shape:"S5f"}}}},RebalanceSlotsInGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","ApplyImmediately"],members:{GlobalReplicationGroupId:{},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"RebalanceSlotsInGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},RebootCacheCluster:{input:{type:"structure",required:["CacheClusterId","CacheNodeIdsToReboot"],members:{CacheClusterId:{},CacheNodeIdsToReboot:{shape:"S2a"}}},output:{resultWrapper:"RebootCacheClusterResult",type:"structure",members:{CacheCluster:{shape:"S28"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}},output:{shape:"S5",resultWrapper:"RemoveTagsFromResourceResult"}},ResetCacheParameterGroup:{input:{type:"structure",required:["CacheParameterGroupName"],members:{CacheParameterGroupName:{},ResetAllParameters:{type:"boolean"},ParameterNameValues:{shape:"S77"}}},output:{shape:"S79",resultWrapper:"ResetCacheParameterGroupResult"}},RevokeCacheSecurityGroupIngress:{input:{type:"structure",required:["CacheSecurityGroupName","EC2SecurityGroupName","EC2SecurityGroupOwnerId"],members:{CacheSecurityGroupName:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeCacheSecurityGroupIngressResult",type:"structure",members:{CacheSecurityGroup:{shape:"S8"}}}},StartMigration:{input:{type:"structure",required:["ReplicationGroupId","CustomerNodeEndpointList"],members:{ReplicationGroupId:{},CustomerNodeEndpointList:{type:"list",member:{type:"structure",members:{Address:{},Port:{type:"integer"}}}}}},output:{resultWrapper:"StartMigrationResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},TestFailover:{input:{type:"structure",required:["ReplicationGroupId","NodeGroupId"],members:{ReplicationGroupId:{},NodeGroupId:{}}},output:{resultWrapper:"TestFailoverResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}}},shapes:{S3:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},S5:{type:"structure",members:{TagList:{shape:"S3"}}},S8:{type:"structure",members:{OwnerId:{},CacheSecurityGroupName:{},Description:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}}},ARN:{}},wrapper:!0},Sc:{type:"list",member:{}},Sd:{type:"list",member:{}},Se:{type:"structure",members:{ProcessedUpdateActions:{type:"list",member:{locationName:"ProcessedUpdateAction",type:"structure",members:{ReplicationGroupId:{},CacheClusterId:{},ServiceUpdateName:{},UpdateActionStatus:{}}}},UnprocessedUpdateActions:{type:"list",member:{locationName:"UnprocessedUpdateAction",type:"structure",members:{ReplicationGroupId:{},CacheClusterId:{},ServiceUpdateName:{},ErrorType:{},ErrorMessage:{}}}}}},So:{type:"structure",members:{ReplicationGroupId:{},Description:{},GlobalReplicationGroupInfo:{type:"structure",members:{GlobalReplicationGroupId:{},GlobalReplicationGroupMemberRole:{}}},Status:{},PendingModifiedValues:{type:"structure",members:{PrimaryClusterId:{},AutomaticFailoverStatus:{},Resharding:{type:"structure",members:{SlotMigration:{type:"structure",members:{ProgressPercentage:{type:"double"}}}}},AuthTokenStatus:{},UserGroups:{type:"structure",members:{UserGroupIdsToAdd:{shape:"Sx"},UserGroupIdsToRemove:{shape:"Sx"}}},LogDeliveryConfigurations:{shape:"Sz"}}},MemberClusters:{type:"list",member:{locationName:"ClusterId"}},NodeGroups:{type:"list",member:{locationName:"NodeGroup",type:"structure",members:{NodeGroupId:{},Status:{},PrimaryEndpoint:{shape:"S1a"},ReaderEndpoint:{shape:"S1a"},Slots:{},NodeGroupMembers:{type:"list",member:{locationName:"NodeGroupMember",type:"structure",members:{CacheClusterId:{},CacheNodeId:{},ReadEndpoint:{shape:"S1a"},PreferredAvailabilityZone:{},PreferredOutpostArn:{},CurrentRole:{}}}}}}},SnapshottingClusterId:{},AutomaticFailover:{},MultiAZ:{},ConfigurationEndpoint:{shape:"S1a"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},ClusterEnabled:{type:"boolean"},CacheNodeType:{},AuthTokenEnabled:{type:"boolean"},AuthTokenLastModifiedDate:{type:"timestamp"},TransitEncryptionEnabled:{type:"boolean"},AtRestEncryptionEnabled:{type:"boolean"},MemberClustersOutpostArns:{type:"list",member:{locationName:"ReplicationGroupOutpostArn"}},KmsKeyId:{},ARN:{},UserGroupIds:{shape:"Sx"},LogDeliveryConfigurations:{shape:"S1k"},ReplicationGroupCreateTime:{type:"timestamp"},DataTiering:{}},wrapper:!0},Sx:{type:"list",member:{}},Sz:{type:"list",member:{type:"structure",members:{LogType:{},DestinationType:{},DestinationDetails:{shape:"S13"},LogFormat:{}}},locationName:"PendingLogDeliveryConfiguration"},S13:{type:"structure",members:{CloudWatchLogsDetails:{type:"structure",members:{LogGroup:{}}},KinesisFirehoseDetails:{type:"structure",members:{DeliveryStream:{}}}}},S1a:{type:"structure",members:{Address:{},Port:{type:"integer"}}},S1k:{type:"list",member:{locationName:"LogDeliveryConfiguration",type:"structure",members:{LogType:{},DestinationType:{},DestinationDetails:{shape:"S13"},LogFormat:{},Status:{},Message:{}}}},S1q:{type:"structure",members:{SnapshotName:{},ReplicationGroupId:{},ReplicationGroupDescription:{},CacheClusterId:{},SnapshotStatus:{},SnapshotSource:{},CacheNodeType:{},Engine:{},EngineVersion:{},NumCacheNodes:{type:"integer"},PreferredAvailabilityZone:{},PreferredOutpostArn:{},CacheClusterCreateTime:{type:"timestamp"},PreferredMaintenanceWindow:{},TopicArn:{},Port:{type:"integer"},CacheParameterGroupName:{},CacheSubnetGroupName:{},VpcId:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},NumNodeGroups:{type:"integer"},AutomaticFailover:{},NodeSnapshots:{type:"list",member:{locationName:"NodeSnapshot",type:"structure",members:{CacheClusterId:{},NodeGroupId:{},CacheNodeId:{},NodeGroupConfiguration:{shape:"S1t"},CacheSize:{},CacheNodeCreateTime:{type:"timestamp"},SnapshotCreateTime:{type:"timestamp"}},wrapper:!0}},KmsKeyId:{},ARN:{},DataTiering:{}},wrapper:!0},S1t:{type:"structure",members:{NodeGroupId:{},Slots:{},ReplicaCount:{type:"integer"},PrimaryAvailabilityZone:{},ReplicaAvailabilityZones:{shape:"S1v"},PrimaryOutpostArn:{},ReplicaOutpostArns:{type:"list",member:{locationName:"OutpostArn"}}}},S1v:{type:"list",member:{locationName:"AvailabilityZone"}},S1z:{type:"list",member:{locationName:"PreferredAvailabilityZone"}},S20:{type:"list",member:{locationName:"CacheSecurityGroupName"}},S21:{type:"list",member:{locationName:"SecurityGroupId"}},S22:{type:"list",member:{locationName:"SnapshotArn"}},S24:{type:"list",member:{locationName:"PreferredOutpostArn"}},S25:{type:"list",member:{locationName:"LogDeliveryConfigurationRequest",type:"structure",members:{LogType:{},DestinationType:{},DestinationDetails:{shape:"S13"},LogFormat:{},Enabled:{type:"boolean"}}}},S28:{type:"structure",members:{CacheClusterId:{},ConfigurationEndpoint:{shape:"S1a"},ClientDownloadLandingPage:{},CacheNodeType:{},Engine:{},EngineVersion:{},CacheClusterStatus:{},NumCacheNodes:{type:"integer"},PreferredAvailabilityZone:{},PreferredOutpostArn:{},CacheClusterCreateTime:{type:"timestamp"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{NumCacheNodes:{type:"integer"},CacheNodeIdsToRemove:{shape:"S2a"},EngineVersion:{},CacheNodeType:{},AuthTokenStatus:{},LogDeliveryConfigurations:{shape:"Sz"}}},NotificationConfiguration:{type:"structure",members:{TopicArn:{},TopicStatus:{}}},CacheSecurityGroups:{type:"list",member:{locationName:"CacheSecurityGroup",type:"structure",members:{CacheSecurityGroupName:{},Status:{}}}},CacheParameterGroup:{type:"structure",members:{CacheParameterGroupName:{},ParameterApplyStatus:{},CacheNodeIdsToReboot:{shape:"S2a"}}},CacheSubnetGroupName:{},CacheNodes:{type:"list",member:{locationName:"CacheNode",type:"structure",members:{CacheNodeId:{},CacheNodeStatus:{},CacheNodeCreateTime:{type:"timestamp"},Endpoint:{shape:"S1a"},ParameterGroupStatus:{},SourceCacheNodeId:{},CustomerAvailabilityZone:{},CustomerOutpostArn:{}}}},AutoMinorVersionUpgrade:{type:"boolean"},SecurityGroups:{type:"list",member:{type:"structure",members:{SecurityGroupId:{},Status:{}}}},ReplicationGroupId:{},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},AuthTokenEnabled:{type:"boolean"},AuthTokenLastModifiedDate:{type:"timestamp"},TransitEncryptionEnabled:{type:"boolean"},AtRestEncryptionEnabled:{type:"boolean"},ARN:{},ReplicationGroupLogDeliveryEnabled:{type:"boolean"},LogDeliveryConfigurations:{shape:"S1k"}},wrapper:!0},S2a:{type:"list",member:{locationName:"CacheNodeId"}},S2l:{type:"structure",members:{CacheParameterGroupName:{},CacheParameterGroupFamily:{},Description:{},IsGlobal:{type:"boolean"},ARN:{}},wrapper:!0},S2p:{type:"list",member:{locationName:"SubnetIdentifier"}},S2r:{type:"structure",members:{CacheSubnetGroupName:{},CacheSubnetGroupDescription:{},VpcId:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{type:"structure",members:{Name:{}},wrapper:!0},SubnetOutpost:{type:"structure",members:{SubnetOutpostArn:{}}}}}},ARN:{}},wrapper:!0},S2y:{type:"structure",members:{GlobalReplicationGroupId:{},GlobalReplicationGroupDescription:{},Status:{},CacheNodeType:{},Engine:{},EngineVersion:{},Members:{type:"list",member:{locationName:"GlobalReplicationGroupMember",type:"structure",members:{ReplicationGroupId:{},ReplicationGroupRegion:{},Role:{},AutomaticFailover:{},Status:{}},wrapper:!0}},ClusterEnabled:{type:"boolean"},GlobalNodeGroups:{type:"list",member:{locationName:"GlobalNodeGroup",type:"structure",members:{GlobalNodeGroupId:{},Slots:{}}}},AuthTokenEnabled:{type:"boolean"},TransitEncryptionEnabled:{type:"boolean"},AtRestEncryptionEnabled:{type:"boolean"},ARN:{}},wrapper:!0},S3d:{type:"list",member:{}},S3f:{type:"structure",members:{UserId:{},UserName:{},Status:{},Engine:{},MinimumEngineVersion:{},AccessString:{},UserGroupIds:{shape:"Sx"},Authentication:{type:"structure",members:{Type:{},PasswordCount:{type:"integer"}}},ARN:{}}},S3j:{type:"list",member:{}},S3k:{type:"structure",members:{UserGroupId:{},Status:{},Engine:{},UserIds:{shape:"S3l"},MinimumEngineVersion:{},PendingChanges:{type:"structure",members:{UserIdsToRemove:{shape:"S3l"},UserIdsToAdd:{shape:"S3l"}}},ReplicationGroups:{type:"list",member:{}},ARN:{}}},S3l:{type:"list",member:{}},S3p:{type:"list",member:{locationName:"GlobalNodeGroupId"}},S3s:{type:"list",member:{locationName:"ConfigureShard",type:"structure",required:["NodeGroupId","NewReplicaCount"],members:{NodeGroupId:{},NewReplicaCount:{type:"integer"},PreferredAvailabilityZones:{shape:"S1z"},PreferredOutpostArns:{shape:"S24"}}}},S4l:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ChangeType:{}}}},S4o:{type:"list",member:{locationName:"CacheNodeTypeSpecificParameter",type:"structure",members:{ParameterName:{},Description:{},Source:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},CacheNodeTypeSpecificValues:{type:"list",member:{locationName:"CacheNodeTypeSpecificValue",type:"structure",members:{CacheNodeType:{},Value:{}}}},ChangeType:{}}}},S5f:{type:"structure",members:{ReservedCacheNodeId:{},ReservedCacheNodesOfferingId:{},CacheNodeType:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CacheNodeCount:{type:"integer"},ProductDescription:{},OfferingType:{},State:{},RecurringCharges:{shape:"S5g"},ReservationARN:{}},wrapper:!0},S5g:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S5n:{type:"list",member:{}},S6u:{type:"list",member:{locationName:"ReshardingConfiguration",type:"structure",members:{NodeGroupId:{},PreferredAvailabilityZones:{shape:"S1v"}}}},S71:{type:"list",member:{}},S77:{type:"list",member:{locationName:"ParameterNameValue",type:"structure",members:{ParameterName:{},ParameterValue:{}}}},S79:{type:"structure",members:{CacheParameterGroupName:{}}}}}},{}],89:[function(e,t,r){t.exports={pagination:{DescribeCacheClusters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheClusters"},DescribeCacheEngineVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheEngineVersions"},DescribeCacheParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheParameterGroups"},DescribeCacheParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeCacheSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheSecurityGroups"},DescribeCacheSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"EngineDefaults.Marker",result_key:"EngineDefaults.Parameters"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeGlobalReplicationGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"GlobalReplicationGroups"},DescribeReplicationGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReplicationGroups"},DescribeReservedCacheNodes:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedCacheNodes"},DescribeReservedCacheNodesOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedCacheNodesOfferings"},DescribeServiceUpdates:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ServiceUpdates"},DescribeSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Snapshots"},DescribeUpdateActions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"UpdateActions"},DescribeUserGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"UserGroups"},DescribeUsers:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Users"}}}},{}],90:[function(e,t,r){t.exports={version:2,waiters:{CacheClusterAvailable:{acceptors:[{argument:"CacheClusters[].CacheClusterStatus",expected:"available",matcher:"pathAll",state:"success"},{argument:"CacheClusters[].CacheClusterStatus",expected:"deleted",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"deleting",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"incompatible-network",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"restore-failed",matcher:"pathAny",state:"failure"}],delay:15,description:"Wait until ElastiCache cluster is available.",maxAttempts:40,operation:"DescribeCacheClusters"},CacheClusterDeleted:{acceptors:[{argument:"CacheClusters[].CacheClusterStatus",expected:"deleted",matcher:"pathAll",state:"success"},{expected:"CacheClusterNotFound",matcher:"error",state:"success"},{argument:"CacheClusters[].CacheClusterStatus",expected:"available",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"creating",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"incompatible-network",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"modifying",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"restore-failed",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"snapshotting",matcher:"pathAny",state:"failure"}],delay:15,description:"Wait until ElastiCache cluster is deleted.",maxAttempts:40,operation:"DescribeCacheClusters"},ReplicationGroupAvailable:{acceptors:[{argument:"ReplicationGroups[].Status",expected:"available",matcher:"pathAll",state:"success"},{argument:"ReplicationGroups[].Status",expected:"deleted",matcher:"pathAny",state:"failure"}],delay:15,description:"Wait until ElastiCache replication group is available.",maxAttempts:40,operation:"DescribeReplicationGroups"},ReplicationGroupDeleted:{acceptors:[{argument:"ReplicationGroups[].Status",expected:"deleted",matcher:"pathAll",state:"success"},{argument:"ReplicationGroups[].Status",expected:"available",matcher:"pathAny",state:"failure"},{expected:"ReplicationGroupNotFoundFault",matcher:"error",state:"success"}],delay:15,description:"Wait until ElastiCache replication group is deleted.",maxAttempts:40,operation:"DescribeReplicationGroups"}}}},{}],91:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-12-01",endpointPrefix:"elasticbeanstalk",protocol:"query",serviceAbbreviation:"Elastic Beanstalk",serviceFullName:"AWS Elastic Beanstalk",serviceId:"Elastic Beanstalk",signatureVersion:"v4",uid:"elasticbeanstalk-2010-12-01",xmlNamespace:"http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"},operations:{AbortEnvironmentUpdate:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},ApplyEnvironmentManagedAction:{input:{type:"structure",required:["ActionId"],members:{EnvironmentName:{},EnvironmentId:{},ActionId:{}}},output:{resultWrapper:"ApplyEnvironmentManagedActionResult",type:"structure",members:{ActionId:{},ActionDescription:{},ActionType:{},Status:{}}}},AssociateEnvironmentOperationsRole:{input:{type:"structure",required:["EnvironmentName","OperationsRole"],members:{EnvironmentName:{},OperationsRole:{}}}},CheckDNSAvailability:{input:{type:"structure",required:["CNAMEPrefix"],members:{CNAMEPrefix:{}}},output:{resultWrapper:"CheckDNSAvailabilityResult",type:"structure",members:{Available:{type:"boolean"},FullyQualifiedCNAME:{}}}},ComposeEnvironments:{input:{type:"structure",members:{ApplicationName:{},GroupName:{},VersionLabels:{type:"list",member:{}}}},output:{shape:"Sk",resultWrapper:"ComposeEnvironmentsResult"}},CreateApplication:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},Description:{},ResourceLifecycleConfig:{shape:"S19"},Tags:{shape:"S1f"}}},output:{shape:"S1j",resultWrapper:"CreateApplicationResult"}},CreateApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},Description:{},SourceBuildInformation:{shape:"S1p"},SourceBundle:{shape:"S1t"},BuildConfiguration:{type:"structure",required:["CodeBuildServiceRole","Image"],members:{ArtifactName:{},CodeBuildServiceRole:{},ComputeType:{},Image:{},TimeoutInMinutes:{type:"integer"}}},AutoCreateApplication:{type:"boolean"},Process:{type:"boolean"},Tags:{shape:"S1f"}}},output:{shape:"S21",resultWrapper:"CreateApplicationVersionResult"}},CreateConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{},SolutionStackName:{},PlatformArn:{},SourceConfiguration:{type:"structure",members:{ApplicationName:{},TemplateName:{}}},EnvironmentId:{},Description:{},OptionSettings:{shape:"S27"},Tags:{shape:"S1f"}}},output:{shape:"S2d",resultWrapper:"CreateConfigurationTemplateResult"}},CreateEnvironment:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},EnvironmentName:{},GroupName:{},Description:{},CNAMEPrefix:{},Tier:{shape:"S13"},Tags:{shape:"S1f"},VersionLabel:{},TemplateName:{},SolutionStackName:{},PlatformArn:{},OptionSettings:{shape:"S27"},OptionsToRemove:{shape:"S2g"},OperationsRole:{}}},output:{shape:"Sm",resultWrapper:"CreateEnvironmentResult"}},CreatePlatformVersion:{input:{type:"structure",required:["PlatformName","PlatformVersion","PlatformDefinitionBundle"],members:{PlatformName:{},PlatformVersion:{},PlatformDefinitionBundle:{shape:"S1t"}, -EnvironmentName:{},OptionSettings:{shape:"S27"},Tags:{shape:"S1f"}}},output:{resultWrapper:"CreatePlatformVersionResult",type:"structure",members:{PlatformSummary:{shape:"S2m"},Builder:{type:"structure",members:{ARN:{}}}}}},CreateStorageLocation:{output:{resultWrapper:"CreateStorageLocationResult",type:"structure",members:{S3Bucket:{}}}},DeleteApplication:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},TerminateEnvByForce:{type:"boolean"}}}},DeleteApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},DeleteSourceBundle:{type:"boolean"}}}},DeleteConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{}}}},DeleteEnvironmentConfiguration:{input:{type:"structure",required:["ApplicationName","EnvironmentName"],members:{ApplicationName:{},EnvironmentName:{}}}},DeletePlatformVersion:{input:{type:"structure",members:{PlatformArn:{}}},output:{resultWrapper:"DeletePlatformVersionResult",type:"structure",members:{PlatformSummary:{shape:"S2m"}}}},DescribeAccountAttributes:{output:{resultWrapper:"DescribeAccountAttributesResult",type:"structure",members:{ResourceQuotas:{type:"structure",members:{ApplicationQuota:{shape:"S3c"},ApplicationVersionQuota:{shape:"S3c"},EnvironmentQuota:{shape:"S3c"},ConfigurationTemplateQuota:{shape:"S3c"},CustomPlatformQuota:{shape:"S3c"}}}}}},DescribeApplicationVersions:{input:{type:"structure",members:{ApplicationName:{},VersionLabels:{shape:"S1m"},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeApplicationVersionsResult",type:"structure",members:{ApplicationVersions:{type:"list",member:{shape:"S22"}},NextToken:{}}}},DescribeApplications:{input:{type:"structure",members:{ApplicationNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeApplicationsResult",type:"structure",members:{Applications:{type:"list",member:{shape:"S1k"}}}}},DescribeConfigurationOptions:{input:{type:"structure",members:{ApplicationName:{},TemplateName:{},EnvironmentName:{},SolutionStackName:{},PlatformArn:{},Options:{shape:"S2g"}}},output:{resultWrapper:"DescribeConfigurationOptionsResult",type:"structure",members:{SolutionStackName:{},PlatformArn:{},Options:{type:"list",member:{type:"structure",members:{Namespace:{},Name:{},DefaultValue:{},ChangeSeverity:{},UserDefined:{type:"boolean"},ValueType:{},ValueOptions:{type:"list",member:{}},MinValue:{type:"integer"},MaxValue:{type:"integer"},MaxLength:{type:"integer"},Regex:{type:"structure",members:{Pattern:{},Label:{}}}}}}}}},DescribeConfigurationSettings:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},TemplateName:{},EnvironmentName:{}}},output:{resultWrapper:"DescribeConfigurationSettingsResult",type:"structure",members:{ConfigurationSettings:{type:"list",member:{shape:"S2d"}}}}},DescribeEnvironmentHealth:{input:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},AttributeNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeEnvironmentHealthResult",type:"structure",members:{EnvironmentName:{},HealthStatus:{},Status:{},Color:{},Causes:{shape:"S48"},ApplicationMetrics:{shape:"S4a"},InstancesHealth:{type:"structure",members:{NoData:{type:"integer"},Unknown:{type:"integer"},Pending:{type:"integer"},Ok:{type:"integer"},Info:{type:"integer"},Warning:{type:"integer"},Degraded:{type:"integer"},Severe:{type:"integer"}}},RefreshedAt:{type:"timestamp"}}}},DescribeEnvironmentManagedActionHistory:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{},NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"DescribeEnvironmentManagedActionHistoryResult",type:"structure",members:{ManagedActionHistoryItems:{type:"list",member:{type:"structure",members:{ActionId:{},ActionType:{},ActionDescription:{},FailureType:{},Status:{},FailureDescription:{},ExecutedTime:{type:"timestamp"},FinishedTime:{type:"timestamp"}}}},NextToken:{}}}},DescribeEnvironmentManagedActions:{input:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},Status:{}}},output:{resultWrapper:"DescribeEnvironmentManagedActionsResult",type:"structure",members:{ManagedActions:{type:"list",member:{type:"structure",members:{ActionId:{},ActionDescription:{},ActionType:{},Status:{},WindowStartTime:{type:"timestamp"}}}}}}},DescribeEnvironmentResources:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}},output:{resultWrapper:"DescribeEnvironmentResourcesResult",type:"structure",members:{EnvironmentResources:{type:"structure",members:{EnvironmentName:{},AutoScalingGroups:{type:"list",member:{type:"structure",members:{Name:{}}}},Instances:{type:"list",member:{type:"structure",members:{Id:{}}}},LaunchConfigurations:{type:"list",member:{type:"structure",members:{Name:{}}}},LaunchTemplates:{type:"list",member:{type:"structure",members:{Id:{}}}},LoadBalancers:{type:"list",member:{type:"structure",members:{Name:{}}}},Triggers:{type:"list",member:{type:"structure",members:{Name:{}}}},Queues:{type:"list",member:{type:"structure",members:{Name:{},URL:{}}}}}}}}},DescribeEnvironments:{input:{type:"structure",members:{ApplicationName:{},VersionLabel:{},EnvironmentIds:{type:"list",member:{}},EnvironmentNames:{type:"list",member:{}},IncludeDeleted:{type:"boolean"},IncludedDeletedBackTo:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{}}},output:{shape:"Sk",resultWrapper:"DescribeEnvironmentsResult"}},DescribeEvents:{input:{type:"structure",members:{ApplicationName:{},VersionLabel:{},TemplateName:{},EnvironmentId:{},EnvironmentName:{},PlatformArn:{},RequestId:{},Severity:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Events:{type:"list",member:{type:"structure",members:{EventDate:{type:"timestamp"},Message:{},ApplicationName:{},VersionLabel:{},TemplateName:{},EnvironmentName:{},PlatformArn:{},RequestId:{},Severity:{}}}},NextToken:{}}}},DescribeInstancesHealth:{input:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},AttributeNames:{type:"list",member:{}},NextToken:{}}},output:{resultWrapper:"DescribeInstancesHealthResult",type:"structure",members:{InstanceHealthList:{type:"list",member:{type:"structure",members:{InstanceId:{},HealthStatus:{},Color:{},Causes:{shape:"S48"},LaunchedAt:{type:"timestamp"},ApplicationMetrics:{shape:"S4a"},System:{type:"structure",members:{CPUUtilization:{type:"structure",members:{User:{type:"double"},Nice:{type:"double"},System:{type:"double"},Idle:{type:"double"},IOWait:{type:"double"},IRQ:{type:"double"},SoftIRQ:{type:"double"},Privileged:{type:"double"}}},LoadAverage:{type:"list",member:{type:"double"}}}},Deployment:{type:"structure",members:{VersionLabel:{},DeploymentId:{type:"long"},Status:{},DeploymentTime:{type:"timestamp"}}},AvailabilityZone:{},InstanceType:{}}}},RefreshedAt:{type:"timestamp"},NextToken:{}}}},DescribePlatformVersion:{input:{type:"structure",members:{PlatformArn:{}}},output:{resultWrapper:"DescribePlatformVersionResult",type:"structure",members:{PlatformDescription:{type:"structure",members:{PlatformArn:{},PlatformOwner:{},PlatformName:{},PlatformVersion:{},SolutionStackName:{},PlatformStatus:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},PlatformCategory:{},Description:{},Maintainer:{},OperatingSystemName:{},OperatingSystemVersion:{},ProgrammingLanguages:{type:"list",member:{type:"structure",members:{Name:{},Version:{}}}},Frameworks:{type:"list",member:{type:"structure",members:{Name:{},Version:{}}}},CustomAmiList:{type:"list",member:{type:"structure",members:{VirtualizationType:{},ImageId:{}}}},SupportedTierList:{shape:"S2s"},SupportedAddonList:{shape:"S2u"},PlatformLifecycleState:{},PlatformBranchName:{},PlatformBranchLifecycleState:{}}}}}},DisassociateEnvironmentOperationsRole:{input:{type:"structure",required:["EnvironmentName"],members:{EnvironmentName:{}}}},ListAvailableSolutionStacks:{output:{resultWrapper:"ListAvailableSolutionStacksResult",type:"structure",members:{SolutionStacks:{type:"list",member:{}},SolutionStackDetails:{type:"list",member:{type:"structure",members:{SolutionStackName:{},PermittedFileTypes:{type:"list",member:{}}}}}}}},ListPlatformBranches:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{Attribute:{},Operator:{},Values:{type:"list",member:{}}}}},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"ListPlatformBranchesResult",type:"structure",members:{PlatformBranchSummaryList:{type:"list",member:{type:"structure",members:{PlatformName:{},BranchName:{},LifecycleState:{},BranchOrder:{type:"integer"},SupportedTierList:{shape:"S2s"}}}},NextToken:{}}}},ListPlatformVersions:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{Type:{},Operator:{},Values:{type:"list",member:{}}}}},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"ListPlatformVersionsResult",type:"structure",members:{PlatformSummaryList:{type:"list",member:{shape:"S2m"}},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{ResourceArn:{},ResourceTags:{shape:"S7g"}}}},RebuildEnvironment:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},RequestEnvironmentInfo:{input:{type:"structure",required:["InfoType"],members:{EnvironmentId:{},EnvironmentName:{},InfoType:{}}}},RestartAppServer:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},RetrieveEnvironmentInfo:{input:{type:"structure",required:["InfoType"],members:{EnvironmentId:{},EnvironmentName:{},InfoType:{}}},output:{resultWrapper:"RetrieveEnvironmentInfoResult",type:"structure",members:{EnvironmentInfo:{type:"list",member:{type:"structure",members:{InfoType:{},Ec2InstanceId:{},SampleTimestamp:{type:"timestamp"},Message:{}}}}}}},SwapEnvironmentCNAMEs:{input:{type:"structure",members:{SourceEnvironmentId:{},SourceEnvironmentName:{},DestinationEnvironmentId:{},DestinationEnvironmentName:{}}}},TerminateEnvironment:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{},TerminateResources:{type:"boolean"},ForceTerminate:{type:"boolean"}}},output:{shape:"Sm",resultWrapper:"TerminateEnvironmentResult"}},UpdateApplication:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},Description:{}}},output:{shape:"S1j",resultWrapper:"UpdateApplicationResult"}},UpdateApplicationResourceLifecycle:{input:{type:"structure",required:["ApplicationName","ResourceLifecycleConfig"],members:{ApplicationName:{},ResourceLifecycleConfig:{shape:"S19"}}},output:{resultWrapper:"UpdateApplicationResourceLifecycleResult",type:"structure",members:{ApplicationName:{},ResourceLifecycleConfig:{shape:"S19"}}}},UpdateApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},Description:{}}},output:{shape:"S21",resultWrapper:"UpdateApplicationVersionResult"}},UpdateConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{},Description:{},OptionSettings:{shape:"S27"},OptionsToRemove:{shape:"S2g"}}},output:{shape:"S2d",resultWrapper:"UpdateConfigurationTemplateResult"}},UpdateEnvironment:{input:{type:"structure",members:{ApplicationName:{},EnvironmentId:{},EnvironmentName:{},GroupName:{},Description:{},Tier:{shape:"S13"},VersionLabel:{},TemplateName:{},SolutionStackName:{},PlatformArn:{},OptionSettings:{shape:"S27"},OptionsToRemove:{shape:"S2g"}}},output:{shape:"Sm",resultWrapper:"UpdateEnvironmentResult"}},UpdateTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{},TagsToAdd:{shape:"S7g"},TagsToRemove:{type:"list",member:{}}}}},ValidateConfigurationSettings:{input:{type:"structure",required:["ApplicationName","OptionSettings"],members:{ApplicationName:{},TemplateName:{},EnvironmentName:{},OptionSettings:{shape:"S27"}}},output:{resultWrapper:"ValidateConfigurationSettingsResult",type:"structure",members:{Messages:{type:"list",member:{type:"structure",members:{Message:{},Severity:{},Namespace:{},OptionName:{}}}}}}}},shapes:{Sk:{type:"structure",members:{Environments:{type:"list",member:{shape:"Sm"}},NextToken:{}}},Sm:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},ApplicationName:{},VersionLabel:{},SolutionStackName:{},PlatformArn:{},TemplateName:{},Description:{},EndpointURL:{},CNAME:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},Status:{},AbortableOperationInProgress:{type:"boolean"},Health:{},HealthStatus:{},Resources:{type:"structure",members:{LoadBalancer:{type:"structure",members:{LoadBalancerName:{},Domain:{},Listeners:{type:"list",member:{type:"structure",members:{Protocol:{},Port:{type:"integer"}}}}}}}},Tier:{shape:"S13"},EnvironmentLinks:{type:"list",member:{type:"structure",members:{LinkName:{},EnvironmentName:{}}}},EnvironmentArn:{},OperationsRole:{}}},S13:{type:"structure",members:{Name:{},Type:{},Version:{}}},S19:{type:"structure",members:{ServiceRole:{},VersionLifecycleConfig:{type:"structure",members:{MaxCountRule:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},MaxCount:{type:"integer"},DeleteSourceFromS3:{type:"boolean"}}},MaxAgeRule:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},MaxAgeInDays:{type:"integer"},DeleteSourceFromS3:{type:"boolean"}}}}}}},S1f:{type:"list",member:{shape:"S1g"}},S1g:{type:"structure",members:{Key:{},Value:{}}},S1j:{type:"structure",members:{Application:{shape:"S1k"}}},S1k:{type:"structure",members:{ApplicationArn:{},ApplicationName:{},Description:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},Versions:{shape:"S1m"},ConfigurationTemplates:{type:"list",member:{}},ResourceLifecycleConfig:{shape:"S19"}}},S1m:{type:"list",member:{}},S1p:{type:"structure",required:["SourceType","SourceRepository","SourceLocation"],members:{SourceType:{},SourceRepository:{},SourceLocation:{}}},S1t:{type:"structure",members:{S3Bucket:{},S3Key:{}}},S21:{type:"structure",members:{ApplicationVersion:{shape:"S22"}}},S22:{type:"structure",members:{ApplicationVersionArn:{},ApplicationName:{},Description:{},VersionLabel:{},SourceBuildInformation:{shape:"S1p"},BuildArn:{},SourceBundle:{shape:"S1t"},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},Status:{}}},S27:{type:"list",member:{type:"structure",members:{ResourceName:{},Namespace:{},OptionName:{},Value:{}}}},S2d:{type:"structure",members:{SolutionStackName:{},PlatformArn:{},ApplicationName:{},TemplateName:{},Description:{},EnvironmentName:{},DeploymentStatus:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},OptionSettings:{shape:"S27"}}},S2g:{type:"list",member:{type:"structure",members:{ResourceName:{},Namespace:{},OptionName:{}}}},S2m:{type:"structure",members:{PlatformArn:{},PlatformOwner:{},PlatformStatus:{},PlatformCategory:{},OperatingSystemName:{},OperatingSystemVersion:{},SupportedTierList:{shape:"S2s"},SupportedAddonList:{shape:"S2u"},PlatformLifecycleState:{},PlatformVersion:{},PlatformBranchName:{},PlatformBranchLifecycleState:{}}},S2s:{type:"list",member:{}},S2u:{type:"list",member:{}},S3c:{type:"structure",members:{Maximum:{type:"integer"}}},S48:{type:"list",member:{}},S4a:{type:"structure",members:{Duration:{type:"integer"},RequestCount:{type:"integer"},StatusCodes:{type:"structure",members:{Status2xx:{type:"integer"},Status3xx:{type:"integer"},Status4xx:{type:"integer"},Status5xx:{type:"integer"}}},Latency:{type:"structure",members:{P999:{type:"double"},P99:{type:"double"},P95:{type:"double"},P90:{type:"double"},P85:{type:"double"},P75:{type:"double"},P50:{type:"double"},P10:{type:"double"}}}}},S7g:{type:"list",member:{shape:"S1g"}}}}},{}],92:[function(e,t,r){t.exports={pagination:{DescribeApplicationVersions:{result_key:"ApplicationVersions"},DescribeApplications:{result_key:"Applications"},DescribeConfigurationOptions:{result_key:"Options"},DescribeEnvironmentManagedActionHistory:{input_token:"NextToken",limit_key:"MaxItems",output_token:"NextToken",result_key:"ManagedActionHistoryItems"},DescribeEnvironments:{result_key:"Environments"},DescribeEvents:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken",result_key:"Events"},ListAvailableSolutionStacks:{result_key:"SolutionStacks"},ListPlatformBranches:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken"},ListPlatformVersions:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken",result_key:"PlatformSummaryList"}}}},{}],93:[function(e,t,r){t.exports={version:2,waiters:{EnvironmentExists:{delay:20,maxAttempts:20,operation:"DescribeEnvironments",acceptors:[{state:"success",matcher:"pathAll",argument:"Environments[].Status",expected:"Ready"},{state:"retry",matcher:"pathAll",argument:"Environments[].Status",expected:"Launching"}]},EnvironmentUpdated:{delay:20,maxAttempts:20,operation:"DescribeEnvironments",acceptors:[{state:"success",matcher:"pathAll",argument:"Environments[].Status",expected:"Ready"},{state:"retry",matcher:"pathAll",argument:"Environments[].Status",expected:"Updating"}]},EnvironmentTerminated:{delay:20,maxAttempts:20,operation:"DescribeEnvironments",acceptors:[{state:"success",matcher:"pathAll",argument:"Environments[].Status",expected:"Terminated"},{state:"retry",matcher:"pathAll",argument:"Environments[].Status",expected:"Terminating"}]}}}},{}],94:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-02-01",endpointPrefix:"elasticfilesystem",protocol:"rest-json",serviceAbbreviation:"EFS",serviceFullName:"Amazon Elastic File System",serviceId:"EFS",signatureVersion:"v4",uid:"elasticfilesystem-2015-02-01"},operations:{CreateAccessPoint:{http:{requestUri:"/2015-02-01/access-points",responseCode:200},input:{type:"structure",required:["ClientToken","FileSystemId"],members:{ClientToken:{idempotencyToken:!0},Tags:{shape:"S3"},FileSystemId:{},PosixUser:{shape:"S8"},RootDirectory:{shape:"Sc"}}},output:{shape:"Si"}},CreateFileSystem:{http:{requestUri:"/2015-02-01/file-systems",responseCode:201},input:{type:"structure",required:["CreationToken"],members:{CreationToken:{idempotencyToken:!0},PerformanceMode:{},Encrypted:{type:"boolean"},KmsKeyId:{},ThroughputMode:{},ProvisionedThroughputInMibps:{type:"double"},AvailabilityZoneName:{},Backup:{type:"boolean"},Tags:{shape:"S3"}}},output:{shape:"Sx"}},CreateMountTarget:{http:{requestUri:"/2015-02-01/mount-targets",responseCode:200},input:{type:"structure",required:["FileSystemId","SubnetId"],members:{FileSystemId:{},SubnetId:{},IpAddress:{},SecurityGroups:{shape:"S18"}}},output:{shape:"S1a"}},CreateTags:{http:{requestUri:"/2015-02-01/create-tags/{FileSystemId}",responseCode:204},input:{type:"structure",required:["FileSystemId","Tags"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},Tags:{shape:"S3"}}},deprecated:!0,deprecatedMessage:"Use TagResource."},DeleteAccessPoint:{http:{method:"DELETE",requestUri:"/2015-02-01/access-points/{AccessPointId}",responseCode:204},input:{type:"structure",required:["AccessPointId"],members:{AccessPointId:{location:"uri",locationName:"AccessPointId"}}}},DeleteFileSystem:{http:{method:"DELETE",requestUri:"/2015-02-01/file-systems/{FileSystemId}",responseCode:204},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}}},DeleteFileSystemPolicy:{http:{method:"DELETE",requestUri:"/2015-02-01/file-systems/{FileSystemId}/policy",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}}},DeleteMountTarget:{http:{method:"DELETE",requestUri:"/2015-02-01/mount-targets/{MountTargetId}",responseCode:204},input:{type:"structure",required:["MountTargetId"],members:{MountTargetId:{location:"uri",locationName:"MountTargetId"}}}},DeleteTags:{http:{requestUri:"/2015-02-01/delete-tags/{FileSystemId}",responseCode:204},input:{type:"structure",required:["FileSystemId","TagKeys"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},TagKeys:{shape:"S1k"}}},deprecated:!0,deprecatedMessage:"Use UntagResource."},DescribeAccessPoints:{http:{method:"GET",requestUri:"/2015-02-01/access-points",responseCode:200},input:{type:"structure",members:{MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"},NextToken:{location:"querystring",locationName:"NextToken"},AccessPointId:{location:"querystring",locationName:"AccessPointId"},FileSystemId:{location:"querystring",locationName:"FileSystemId"}}},output:{type:"structure",members:{AccessPoints:{type:"list",member:{shape:"Si"}},NextToken:{}}}},DescribeAccountPreferences:{http:{method:"GET",requestUri:"/2015-02-01/account-preferences",responseCode:200},input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ResourceIdPreference:{shape:"S1s"},NextToken:{}}}},DescribeBackupPolicy:{http:{method:"GET",requestUri:"/2015-02-01/file-systems/{FileSystemId}/backup-policy",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}},output:{shape:"S1x"}},DescribeFileSystemPolicy:{http:{method:"GET",requestUri:"/2015-02-01/file-systems/{FileSystemId}/policy",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}},output:{shape:"S21"}},DescribeFileSystems:{http:{method:"GET",requestUri:"/2015-02-01/file-systems",responseCode:200},input:{type:"structure",members:{MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},Marker:{location:"querystring",locationName:"Marker"},CreationToken:{location:"querystring",locationName:"CreationToken"},FileSystemId:{location:"querystring",locationName:"FileSystemId"}}},output:{type:"structure",members:{Marker:{},FileSystems:{type:"list",member:{shape:"Sx"}},NextMarker:{}}}},DescribeLifecycleConfiguration:{http:{method:"GET",requestUri:"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}},output:{shape:"S29"}},DescribeMountTargetSecurityGroups:{http:{method:"GET",requestUri:"/2015-02-01/mount-targets/{MountTargetId}/security-groups",responseCode:200},input:{type:"structure",required:["MountTargetId"],members:{MountTargetId:{location:"uri",locationName:"MountTargetId"}}},output:{type:"structure",required:["SecurityGroups"],members:{SecurityGroups:{shape:"S18"}}}},DescribeMountTargets:{http:{method:"GET",requestUri:"/2015-02-01/mount-targets",responseCode:200},input:{type:"structure",members:{MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},Marker:{location:"querystring",locationName:"Marker"},FileSystemId:{location:"querystring",locationName:"FileSystemId"},MountTargetId:{location:"querystring",locationName:"MountTargetId"},AccessPointId:{location:"querystring",locationName:"AccessPointId"}}},output:{type:"structure",members:{Marker:{},MountTargets:{type:"list",member:{shape:"S1a"}},NextMarker:{}}}},DescribeTags:{http:{method:"GET",requestUri:"/2015-02-01/tags/{FileSystemId}/",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},Marker:{location:"querystring",locationName:"Marker"},FileSystemId:{location:"uri",locationName:"FileSystemId"}}},output:{type:"structure",required:["Tags"],members:{Marker:{},Tags:{shape:"S3"},NextMarker:{}}},deprecated:!0,deprecatedMessage:"Use ListTagsForResource."},ListTagsForResource:{http:{method:"GET",requestUri:"/2015-02-01/resource-tags/{ResourceId}",responseCode:200},input:{type:"structure",required:["ResourceId"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"},NextToken:{location:"querystring",locationName:"NextToken"}}},output:{type:"structure",members:{Tags:{shape:"S3"},NextToken:{}}}},ModifyMountTargetSecurityGroups:{http:{method:"PUT",requestUri:"/2015-02-01/mount-targets/{MountTargetId}/security-groups",responseCode:204},input:{type:"structure",required:["MountTargetId"],members:{MountTargetId:{location:"uri",locationName:"MountTargetId"},SecurityGroups:{shape:"S18"}}}},PutAccountPreferences:{http:{method:"PUT",requestUri:"/2015-02-01/account-preferences",responseCode:200},input:{type:"structure",required:["ResourceIdType"],members:{ResourceIdType:{}}},output:{type:"structure",members:{ResourceIdPreference:{shape:"S1s"}}}},PutBackupPolicy:{http:{method:"PUT",requestUri:"/2015-02-01/file-systems/{FileSystemId}/backup-policy",responseCode:200},input:{type:"structure",required:["FileSystemId","BackupPolicy"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},BackupPolicy:{shape:"S1y"}}},output:{shape:"S1x"}},PutFileSystemPolicy:{http:{method:"PUT",requestUri:"/2015-02-01/file-systems/{FileSystemId}/policy",responseCode:200},input:{type:"structure",required:["FileSystemId","Policy"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},Policy:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"}}},output:{shape:"S21"}},PutLifecycleConfiguration:{http:{method:"PUT",requestUri:"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration",responseCode:200},input:{type:"structure",required:["FileSystemId","LifecyclePolicies"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},LifecyclePolicies:{shape:"S2a"}}},output:{shape:"S29"}},TagResource:{http:{requestUri:"/2015-02-01/resource-tags/{ResourceId}",responseCode:200},input:{type:"structure",required:["ResourceId","Tags"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},Tags:{shape:"S3"}}}},UntagResource:{http:{method:"DELETE",requestUri:"/2015-02-01/resource-tags/{ResourceId}",responseCode:200},input:{type:"structure",required:["ResourceId","TagKeys"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},TagKeys:{shape:"S1k",location:"querystring",locationName:"tagKeys"}}}},UpdateFileSystem:{http:{method:"PUT",requestUri:"/2015-02-01/file-systems/{FileSystemId}",responseCode:202},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},ThroughputMode:{},ProvisionedThroughputInMibps:{type:"double"}}},output:{shape:"Sx"}}},shapes:{S3:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S8:{type:"structure",required:["Uid","Gid"],members:{Uid:{type:"long"},Gid:{type:"long"},SecondaryGids:{type:"list",member:{type:"long"}}}},Sc:{type:"structure",members:{Path:{},CreationInfo:{type:"structure",required:["OwnerUid","OwnerGid","Permissions"],members:{OwnerUid:{type:"long"},OwnerGid:{type:"long"},Permissions:{}}}}},Si:{type:"structure",members:{ClientToken:{},Name:{},Tags:{shape:"S3"},AccessPointId:{},AccessPointArn:{},FileSystemId:{},PosixUser:{shape:"S8"},RootDirectory:{shape:"Sc"},OwnerId:{},LifeCycleState:{}}},Sx:{type:"structure",required:["OwnerId","CreationToken","FileSystemId","CreationTime","LifeCycleState","NumberOfMountTargets","SizeInBytes","PerformanceMode","Tags"],members:{OwnerId:{},CreationToken:{},FileSystemId:{},FileSystemArn:{},CreationTime:{type:"timestamp"},LifeCycleState:{},Name:{},NumberOfMountTargets:{type:"integer"},SizeInBytes:{type:"structure",required:["Value"],members:{Value:{type:"long"},Timestamp:{type:"timestamp"},ValueInIA:{type:"long"},ValueInStandard:{type:"long"}}},PerformanceMode:{},Encrypted:{type:"boolean"},KmsKeyId:{},ThroughputMode:{},ProvisionedThroughputInMibps:{type:"double"},AvailabilityZoneName:{},AvailabilityZoneId:{},Tags:{shape:"S3"}}},S18:{type:"list",member:{}},S1a:{type:"structure",required:["MountTargetId","FileSystemId","SubnetId","LifeCycleState"],members:{OwnerId:{},MountTargetId:{},FileSystemId:{},SubnetId:{},LifeCycleState:{},IpAddress:{},NetworkInterfaceId:{},AvailabilityZoneId:{},AvailabilityZoneName:{},VpcId:{}}},S1k:{type:"list",member:{}},S1s:{type:"structure",members:{ResourceIdType:{},Resources:{type:"list",member:{}}}},S1x:{type:"structure",members:{BackupPolicy:{shape:"S1y"}}},S1y:{type:"structure",required:["Status"],members:{Status:{}}},S21:{type:"structure",members:{FileSystemId:{},Policy:{}}},S29:{type:"structure",members:{LifecyclePolicies:{shape:"S2a"}}},S2a:{type:"list",member:{type:"structure",members:{TransitionToIA:{},TransitionToPrimaryStorageClass:{}}}}}}},{}],95:[function(e,t,r){t.exports={pagination:{DescribeAccessPoints:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},DescribeFileSystems:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems"},DescribeTags:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems"},ListTagsForResource:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],96:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-06-01",endpointPrefix:"elasticloadbalancing",protocol:"query",serviceFullName:"Elastic Load Balancing",serviceId:"Elastic Load Balancing",signatureVersion:"v4",uid:"elasticloadbalancing-2012-06-01",xmlNamespace:"http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/"},operations:{AddTags:{input:{type:"structure",required:["LoadBalancerNames","Tags"],members:{LoadBalancerNames:{shape:"S2"},Tags:{shape:"S4"}}},output:{resultWrapper:"AddTagsResult",type:"structure",members:{}}},ApplySecurityGroupsToLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","SecurityGroups"],members:{LoadBalancerName:{},SecurityGroups:{shape:"Sa"}}},output:{resultWrapper:"ApplySecurityGroupsToLoadBalancerResult",type:"structure",members:{SecurityGroups:{shape:"Sa"}}}},AttachLoadBalancerToSubnets:{input:{type:"structure",required:["LoadBalancerName","Subnets"],members:{LoadBalancerName:{},Subnets:{shape:"Se"}}},output:{resultWrapper:"AttachLoadBalancerToSubnetsResult",type:"structure",members:{Subnets:{shape:"Se"}}}},ConfigureHealthCheck:{input:{type:"structure",required:["LoadBalancerName","HealthCheck"],members:{LoadBalancerName:{},HealthCheck:{shape:"Si"}}},output:{resultWrapper:"ConfigureHealthCheckResult",type:"structure",members:{HealthCheck:{shape:"Si"}}}},CreateAppCookieStickinessPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName","CookieName"],members:{LoadBalancerName:{},PolicyName:{},CookieName:{}}},output:{resultWrapper:"CreateAppCookieStickinessPolicyResult",type:"structure",members:{}}},CreateLBCookieStickinessPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName"],members:{LoadBalancerName:{},PolicyName:{},CookieExpirationPeriod:{type:"long"}}},output:{resultWrapper:"CreateLBCookieStickinessPolicyResult",type:"structure",members:{}}},CreateLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Listeners"],members:{LoadBalancerName:{},Listeners:{shape:"Sx"},AvailabilityZones:{shape:"S13"},Subnets:{shape:"Se"},SecurityGroups:{shape:"Sa"},Scheme:{},Tags:{shape:"S4"}}},output:{resultWrapper:"CreateLoadBalancerResult",type:"structure",members:{DNSName:{}}}},CreateLoadBalancerListeners:{input:{type:"structure",required:["LoadBalancerName","Listeners"],members:{LoadBalancerName:{},Listeners:{shape:"Sx"}}},output:{resultWrapper:"CreateLoadBalancerListenersResult",type:"structure",members:{}}},CreateLoadBalancerPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName","PolicyTypeName"],members:{LoadBalancerName:{},PolicyName:{},PolicyTypeName:{},PolicyAttributes:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeValue:{}}}}}},output:{resultWrapper:"CreateLoadBalancerPolicyResult",type:"structure",members:{}}},DeleteLoadBalancer:{input:{ -type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{}}},output:{resultWrapper:"DeleteLoadBalancerResult",type:"structure",members:{}}},DeleteLoadBalancerListeners:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPorts"],members:{LoadBalancerName:{},LoadBalancerPorts:{type:"list",member:{type:"integer"}}}},output:{resultWrapper:"DeleteLoadBalancerListenersResult",type:"structure",members:{}}},DeleteLoadBalancerPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName"],members:{LoadBalancerName:{},PolicyName:{}}},output:{resultWrapper:"DeleteLoadBalancerPolicyResult",type:"structure",members:{}}},DeregisterInstancesFromLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Instances"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"DeregisterInstancesFromLoadBalancerResult",type:"structure",members:{Instances:{shape:"S1p"}}}},DescribeAccountLimits:{input:{type:"structure",members:{Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeAccountLimitsResult",type:"structure",members:{Limits:{type:"list",member:{type:"structure",members:{Name:{},Max:{}}}},NextMarker:{}}}},DescribeInstanceHealth:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"DescribeInstanceHealthResult",type:"structure",members:{InstanceStates:{type:"list",member:{type:"structure",members:{InstanceId:{},State:{},ReasonCode:{},Description:{}}}}}}},DescribeLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{}}},output:{resultWrapper:"DescribeLoadBalancerAttributesResult",type:"structure",members:{LoadBalancerAttributes:{shape:"S2a"}}}},DescribeLoadBalancerPolicies:{input:{type:"structure",members:{LoadBalancerName:{},PolicyNames:{shape:"S2s"}}},output:{resultWrapper:"DescribeLoadBalancerPoliciesResult",type:"structure",members:{PolicyDescriptions:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyTypeName:{},PolicyAttributeDescriptions:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeValue:{}}}}}}}}}},DescribeLoadBalancerPolicyTypes:{input:{type:"structure",members:{PolicyTypeNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeLoadBalancerPolicyTypesResult",type:"structure",members:{PolicyTypeDescriptions:{type:"list",member:{type:"structure",members:{PolicyTypeName:{},Description:{},PolicyAttributeTypeDescriptions:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeType:{},Description:{},DefaultValue:{},Cardinality:{}}}}}}}}}},DescribeLoadBalancers:{input:{type:"structure",members:{LoadBalancerNames:{shape:"S2"},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeLoadBalancersResult",type:"structure",members:{LoadBalancerDescriptions:{type:"list",member:{type:"structure",members:{LoadBalancerName:{},DNSName:{},CanonicalHostedZoneName:{},CanonicalHostedZoneNameID:{},ListenerDescriptions:{type:"list",member:{type:"structure",members:{Listener:{shape:"Sy"},PolicyNames:{shape:"S2s"}}}},Policies:{type:"structure",members:{AppCookieStickinessPolicies:{type:"list",member:{type:"structure",members:{PolicyName:{},CookieName:{}}}},LBCookieStickinessPolicies:{type:"list",member:{type:"structure",members:{PolicyName:{},CookieExpirationPeriod:{type:"long"}}}},OtherPolicies:{shape:"S2s"}}},BackendServerDescriptions:{type:"list",member:{type:"structure",members:{InstancePort:{type:"integer"},PolicyNames:{shape:"S2s"}}}},AvailabilityZones:{shape:"S13"},Subnets:{shape:"Se"},VPCId:{},Instances:{shape:"S1p"},HealthCheck:{shape:"Si"},SourceSecurityGroup:{type:"structure",members:{OwnerAlias:{},GroupName:{}}},SecurityGroups:{shape:"Sa"},CreatedTime:{type:"timestamp"},Scheme:{}}}},NextMarker:{}}}},DescribeTags:{input:{type:"structure",required:["LoadBalancerNames"],members:{LoadBalancerNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TagDescriptions:{type:"list",member:{type:"structure",members:{LoadBalancerName:{},Tags:{shape:"S4"}}}}}}},DetachLoadBalancerFromSubnets:{input:{type:"structure",required:["LoadBalancerName","Subnets"],members:{LoadBalancerName:{},Subnets:{shape:"Se"}}},output:{resultWrapper:"DetachLoadBalancerFromSubnetsResult",type:"structure",members:{Subnets:{shape:"Se"}}}},DisableAvailabilityZonesForLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","AvailabilityZones"],members:{LoadBalancerName:{},AvailabilityZones:{shape:"S13"}}},output:{resultWrapper:"DisableAvailabilityZonesForLoadBalancerResult",type:"structure",members:{AvailabilityZones:{shape:"S13"}}}},EnableAvailabilityZonesForLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","AvailabilityZones"],members:{LoadBalancerName:{},AvailabilityZones:{shape:"S13"}}},output:{resultWrapper:"EnableAvailabilityZonesForLoadBalancerResult",type:"structure",members:{AvailabilityZones:{shape:"S13"}}}},ModifyLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerAttributes"],members:{LoadBalancerName:{},LoadBalancerAttributes:{shape:"S2a"}}},output:{resultWrapper:"ModifyLoadBalancerAttributesResult",type:"structure",members:{LoadBalancerName:{},LoadBalancerAttributes:{shape:"S2a"}}}},RegisterInstancesWithLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Instances"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"RegisterInstancesWithLoadBalancerResult",type:"structure",members:{Instances:{shape:"S1p"}}}},RemoveTags:{input:{type:"structure",required:["LoadBalancerNames","Tags"],members:{LoadBalancerNames:{shape:"S2"},Tags:{type:"list",member:{type:"structure",members:{Key:{}}}}}},output:{resultWrapper:"RemoveTagsResult",type:"structure",members:{}}},SetLoadBalancerListenerSSLCertificate:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPort","SSLCertificateId"],members:{LoadBalancerName:{},LoadBalancerPort:{type:"integer"},SSLCertificateId:{}}},output:{resultWrapper:"SetLoadBalancerListenerSSLCertificateResult",type:"structure",members:{}}},SetLoadBalancerPoliciesForBackendServer:{input:{type:"structure",required:["LoadBalancerName","InstancePort","PolicyNames"],members:{LoadBalancerName:{},InstancePort:{type:"integer"},PolicyNames:{shape:"S2s"}}},output:{resultWrapper:"SetLoadBalancerPoliciesForBackendServerResult",type:"structure",members:{}}},SetLoadBalancerPoliciesOfListener:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPort","PolicyNames"],members:{LoadBalancerName:{},LoadBalancerPort:{type:"integer"},PolicyNames:{shape:"S2s"}}},output:{resultWrapper:"SetLoadBalancerPoliciesOfListenerResult",type:"structure",members:{}}}},shapes:{S2:{type:"list",member:{}},S4:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},Sa:{type:"list",member:{}},Se:{type:"list",member:{}},Si:{type:"structure",required:["Target","Interval","Timeout","UnhealthyThreshold","HealthyThreshold"],members:{Target:{},Interval:{type:"integer"},Timeout:{type:"integer"},UnhealthyThreshold:{type:"integer"},HealthyThreshold:{type:"integer"}}},Sx:{type:"list",member:{shape:"Sy"}},Sy:{type:"structure",required:["Protocol","LoadBalancerPort","InstancePort"],members:{Protocol:{},LoadBalancerPort:{type:"integer"},InstanceProtocol:{},InstancePort:{type:"integer"},SSLCertificateId:{}}},S13:{type:"list",member:{}},S1p:{type:"list",member:{type:"structure",members:{InstanceId:{}}}},S2a:{type:"structure",members:{CrossZoneLoadBalancing:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"}}},AccessLog:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},S3BucketName:{},EmitInterval:{type:"integer"},S3BucketPrefix:{}}},ConnectionDraining:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},Timeout:{type:"integer"}}},ConnectionSettings:{type:"structure",required:["IdleTimeout"],members:{IdleTimeout:{type:"integer"}}},AdditionalAttributes:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}},S2s:{type:"list",member:{}}}}},{}],97:[function(e,t,r){t.exports={pagination:{DescribeInstanceHealth:{result_key:"InstanceStates"},DescribeLoadBalancerPolicies:{result_key:"PolicyDescriptions"},DescribeLoadBalancerPolicyTypes:{result_key:"PolicyTypeDescriptions"},DescribeLoadBalancers:{input_token:"Marker",output_token:"NextMarker",result_key:"LoadBalancerDescriptions"}}}},{}],98:[function(e,t,r){t.exports={version:2,waiters:{InstanceDeregistered:{delay:15,operation:"DescribeInstanceHealth",maxAttempts:40,acceptors:[{expected:"OutOfService",matcher:"pathAll",state:"success",argument:"InstanceStates[].State"},{matcher:"error",expected:"InvalidInstance",state:"success"}]},AnyInstanceInService:{acceptors:[{argument:"InstanceStates[].State",expected:"InService",matcher:"pathAny",state:"success"}],delay:15,maxAttempts:40,operation:"DescribeInstanceHealth"},InstanceInService:{acceptors:[{argument:"InstanceStates[].State",expected:"InService",matcher:"pathAll",state:"success"},{matcher:"error",expected:"InvalidInstance",state:"retry"}],delay:15,maxAttempts:40,operation:"DescribeInstanceHealth"}}}},{}],99:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-12-01",endpointPrefix:"elasticloadbalancing",protocol:"query",serviceAbbreviation:"Elastic Load Balancing v2",serviceFullName:"Elastic Load Balancing",serviceId:"Elastic Load Balancing v2",signatureVersion:"v4",uid:"elasticloadbalancingv2-2015-12-01",xmlNamespace:"http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/"},operations:{AddListenerCertificates:{input:{type:"structure",required:["ListenerArn","Certificates"],members:{ListenerArn:{},Certificates:{shape:"S3"}}},output:{resultWrapper:"AddListenerCertificatesResult",type:"structure",members:{Certificates:{shape:"S3"}}}},AddTags:{input:{type:"structure",required:["ResourceArns","Tags"],members:{ResourceArns:{shape:"S9"},Tags:{shape:"Sb"}}},output:{resultWrapper:"AddTagsResult",type:"structure",members:{}}},CreateListener:{input:{type:"structure",required:["LoadBalancerArn","DefaultActions"],members:{LoadBalancerArn:{},Protocol:{},Port:{type:"integer"},SslPolicy:{},Certificates:{shape:"S3"},DefaultActions:{shape:"Sl"},AlpnPolicy:{shape:"S1y"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateListenerResult",type:"structure",members:{Listeners:{shape:"S21"}}}},CreateLoadBalancer:{input:{type:"structure",required:["Name"],members:{Name:{},Subnets:{shape:"S25"},SubnetMappings:{shape:"S27"},SecurityGroups:{shape:"S2c"},Scheme:{},Tags:{shape:"Sb"},Type:{},IpAddressType:{},CustomerOwnedIpv4Pool:{}}},output:{resultWrapper:"CreateLoadBalancerResult",type:"structure",members:{LoadBalancers:{shape:"S2j"}}}},CreateRule:{input:{type:"structure",required:["ListenerArn","Conditions","Priority","Actions"],members:{ListenerArn:{},Conditions:{shape:"S30"},Priority:{type:"integer"},Actions:{shape:"Sl"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateRuleResult",type:"structure",members:{Rules:{shape:"S3g"}}}},CreateTargetGroup:{input:{type:"structure",required:["Name"],members:{Name:{},Protocol:{},ProtocolVersion:{},Port:{type:"integer"},VpcId:{},HealthCheckProtocol:{},HealthCheckPort:{},HealthCheckEnabled:{type:"boolean"},HealthCheckPath:{},HealthCheckIntervalSeconds:{type:"integer"},HealthCheckTimeoutSeconds:{type:"integer"},HealthyThresholdCount:{type:"integer"},UnhealthyThresholdCount:{type:"integer"},Matcher:{shape:"S3u"},TargetType:{},Tags:{shape:"Sb"},IpAddressType:{}}},output:{resultWrapper:"CreateTargetGroupResult",type:"structure",members:{TargetGroups:{shape:"S40"}}}},DeleteListener:{input:{type:"structure",required:["ListenerArn"],members:{ListenerArn:{}}},output:{resultWrapper:"DeleteListenerResult",type:"structure",members:{}}},DeleteLoadBalancer:{input:{type:"structure",required:["LoadBalancerArn"],members:{LoadBalancerArn:{}}},output:{resultWrapper:"DeleteLoadBalancerResult",type:"structure",members:{}}},DeleteRule:{input:{type:"structure",required:["RuleArn"],members:{RuleArn:{}}},output:{resultWrapper:"DeleteRuleResult",type:"structure",members:{}}},DeleteTargetGroup:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{}}},output:{resultWrapper:"DeleteTargetGroupResult",type:"structure",members:{}}},DeregisterTargets:{input:{type:"structure",required:["TargetGroupArn","Targets"],members:{TargetGroupArn:{},Targets:{shape:"S4c"}}},output:{resultWrapper:"DeregisterTargetsResult",type:"structure",members:{}}},DescribeAccountLimits:{input:{type:"structure",members:{Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeAccountLimitsResult",type:"structure",members:{Limits:{type:"list",member:{type:"structure",members:{Name:{},Max:{}}}},NextMarker:{}}}},DescribeListenerCertificates:{input:{type:"structure",required:["ListenerArn"],members:{ListenerArn:{},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeListenerCertificatesResult",type:"structure",members:{Certificates:{shape:"S3"},NextMarker:{}}}},DescribeListeners:{input:{type:"structure",members:{LoadBalancerArn:{},ListenerArns:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeListenersResult",type:"structure",members:{Listeners:{shape:"S21"},NextMarker:{}}}},DescribeLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerArn"],members:{LoadBalancerArn:{}}},output:{resultWrapper:"DescribeLoadBalancerAttributesResult",type:"structure",members:{Attributes:{shape:"S4v"}}}},DescribeLoadBalancers:{input:{type:"structure",members:{LoadBalancerArns:{shape:"S42"},Names:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeLoadBalancersResult",type:"structure",members:{LoadBalancers:{shape:"S2j"},NextMarker:{}}}},DescribeRules:{input:{type:"structure",members:{ListenerArn:{},RuleArns:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeRulesResult",type:"structure",members:{Rules:{shape:"S3g"},NextMarker:{}}}},DescribeSSLPolicies:{input:{type:"structure",members:{Names:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"},LoadBalancerType:{}}},output:{resultWrapper:"DescribeSSLPoliciesResult",type:"structure",members:{SslPolicies:{type:"list",member:{type:"structure",members:{SslProtocols:{type:"list",member:{}},Ciphers:{type:"list",member:{type:"structure",members:{Name:{},Priority:{type:"integer"}}}},Name:{},SupportedLoadBalancerTypes:{shape:"S33"}}}},NextMarker:{}}}},DescribeTags:{input:{type:"structure",required:["ResourceArns"],members:{ResourceArns:{shape:"S9"}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TagDescriptions:{type:"list",member:{type:"structure",members:{ResourceArn:{},Tags:{shape:"Sb"}}}}}}},DescribeTargetGroupAttributes:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{}}},output:{resultWrapper:"DescribeTargetGroupAttributesResult",type:"structure",members:{Attributes:{shape:"S5m"}}}},DescribeTargetGroups:{input:{type:"structure",members:{LoadBalancerArn:{},TargetGroupArns:{type:"list",member:{}},Names:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeTargetGroupsResult",type:"structure",members:{TargetGroups:{shape:"S40"},NextMarker:{}}}},DescribeTargetHealth:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{},Targets:{shape:"S4c"}}},output:{resultWrapper:"DescribeTargetHealthResult",type:"structure",members:{TargetHealthDescriptions:{type:"list",member:{type:"structure",members:{Target:{shape:"S4d"},HealthCheckPort:{},TargetHealth:{type:"structure",members:{State:{},Reason:{},Description:{}}}}}}}}},ModifyListener:{input:{type:"structure",required:["ListenerArn"],members:{ListenerArn:{},Port:{type:"integer"},Protocol:{},SslPolicy:{},Certificates:{shape:"S3"},DefaultActions:{shape:"Sl"},AlpnPolicy:{shape:"S1y"}}},output:{resultWrapper:"ModifyListenerResult",type:"structure",members:{Listeners:{shape:"S21"}}}},ModifyLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerArn","Attributes"],members:{LoadBalancerArn:{},Attributes:{shape:"S4v"}}},output:{resultWrapper:"ModifyLoadBalancerAttributesResult",type:"structure",members:{Attributes:{shape:"S4v"}}}},ModifyRule:{input:{type:"structure",required:["RuleArn"],members:{RuleArn:{},Conditions:{shape:"S30"},Actions:{shape:"Sl"}}},output:{resultWrapper:"ModifyRuleResult",type:"structure",members:{Rules:{shape:"S3g"}}}},ModifyTargetGroup:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{},HealthCheckProtocol:{},HealthCheckPort:{},HealthCheckPath:{},HealthCheckEnabled:{type:"boolean"},HealthCheckIntervalSeconds:{type:"integer"},HealthCheckTimeoutSeconds:{type:"integer"},HealthyThresholdCount:{type:"integer"},UnhealthyThresholdCount:{type:"integer"},Matcher:{shape:"S3u"}}},output:{resultWrapper:"ModifyTargetGroupResult",type:"structure",members:{TargetGroups:{shape:"S40"}}}},ModifyTargetGroupAttributes:{input:{type:"structure",required:["TargetGroupArn","Attributes"],members:{TargetGroupArn:{},Attributes:{shape:"S5m"}}},output:{resultWrapper:"ModifyTargetGroupAttributesResult",type:"structure",members:{Attributes:{shape:"S5m"}}}},RegisterTargets:{input:{type:"structure",required:["TargetGroupArn","Targets"],members:{TargetGroupArn:{},Targets:{shape:"S4c"}}},output:{resultWrapper:"RegisterTargetsResult",type:"structure",members:{}}},RemoveListenerCertificates:{input:{type:"structure",required:["ListenerArn","Certificates"],members:{ListenerArn:{},Certificates:{shape:"S3"}}},output:{resultWrapper:"RemoveListenerCertificatesResult",type:"structure",members:{}}},RemoveTags:{input:{type:"structure",required:["ResourceArns","TagKeys"],members:{ResourceArns:{shape:"S9"},TagKeys:{type:"list",member:{}}}},output:{resultWrapper:"RemoveTagsResult",type:"structure",members:{}}},SetIpAddressType:{input:{type:"structure",required:["LoadBalancerArn","IpAddressType"],members:{LoadBalancerArn:{},IpAddressType:{}}},output:{resultWrapper:"SetIpAddressTypeResult",type:"structure",members:{IpAddressType:{}}}},SetRulePriorities:{input:{type:"structure",required:["RulePriorities"],members:{RulePriorities:{type:"list",member:{type:"structure",members:{RuleArn:{},Priority:{type:"integer"}}}}}},output:{resultWrapper:"SetRulePrioritiesResult",type:"structure",members:{Rules:{shape:"S3g"}}}},SetSecurityGroups:{input:{type:"structure",required:["LoadBalancerArn","SecurityGroups"],members:{LoadBalancerArn:{},SecurityGroups:{shape:"S2c"}}},output:{resultWrapper:"SetSecurityGroupsResult",type:"structure",members:{SecurityGroupIds:{shape:"S2c"}}}},SetSubnets:{input:{type:"structure",required:["LoadBalancerArn"],members:{LoadBalancerArn:{},Subnets:{shape:"S25"},SubnetMappings:{shape:"S27"},IpAddressType:{}}},output:{resultWrapper:"SetSubnetsResult",type:"structure",members:{AvailabilityZones:{shape:"S2s"},IpAddressType:{}}}}},shapes:{S3:{type:"list",member:{type:"structure",members:{CertificateArn:{},IsDefault:{type:"boolean"}}}},S9:{type:"list",member:{}},Sb:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},Sl:{type:"list",member:{type:"structure",required:["Type"],members:{Type:{},TargetGroupArn:{},AuthenticateOidcConfig:{type:"structure",required:["Issuer","AuthorizationEndpoint","TokenEndpoint","UserInfoEndpoint","ClientId"],members:{Issuer:{},AuthorizationEndpoint:{},TokenEndpoint:{},UserInfoEndpoint:{},ClientId:{},ClientSecret:{},SessionCookieName:{},Scope:{},SessionTimeout:{type:"long"},AuthenticationRequestExtraParams:{type:"map",key:{},value:{}},OnUnauthenticatedRequest:{},UseExistingClientSecret:{type:"boolean"}}},AuthenticateCognitoConfig:{type:"structure",required:["UserPoolArn","UserPoolClientId","UserPoolDomain"],members:{UserPoolArn:{},UserPoolClientId:{},UserPoolDomain:{},SessionCookieName:{},Scope:{},SessionTimeout:{type:"long"},AuthenticationRequestExtraParams:{type:"map",key:{},value:{}},OnUnauthenticatedRequest:{}}},Order:{type:"integer"},RedirectConfig:{type:"structure",required:["StatusCode"],members:{Protocol:{},Port:{},Host:{},Path:{},Query:{},StatusCode:{}}},FixedResponseConfig:{type:"structure",required:["StatusCode"],members:{MessageBody:{},StatusCode:{},ContentType:{}}},ForwardConfig:{type:"structure",members:{TargetGroups:{type:"list",member:{type:"structure",members:{TargetGroupArn:{},Weight:{type:"integer"}}}},TargetGroupStickinessConfig:{type:"structure",members:{Enabled:{type:"boolean"},DurationSeconds:{type:"integer"}}}}}}}},S1y:{type:"list",member:{}},S21:{type:"list",member:{type:"structure",members:{ListenerArn:{},LoadBalancerArn:{},Port:{type:"integer"},Protocol:{},Certificates:{shape:"S3"},SslPolicy:{},DefaultActions:{shape:"Sl"},AlpnPolicy:{shape:"S1y"}}}},S25:{type:"list",member:{}},S27:{type:"list",member:{type:"structure",members:{SubnetId:{},AllocationId:{},PrivateIPv4Address:{},IPv6Address:{}}}},S2c:{type:"list",member:{}},S2j:{type:"list",member:{type:"structure",members:{LoadBalancerArn:{},DNSName:{},CanonicalHostedZoneId:{},CreatedTime:{type:"timestamp"},LoadBalancerName:{},Scheme:{},VpcId:{},State:{type:"structure",members:{Code:{},Reason:{}}},Type:{},AvailabilityZones:{shape:"S2s"},SecurityGroups:{shape:"S2c"},IpAddressType:{},CustomerOwnedIpv4Pool:{}}}},S2s:{type:"list",member:{type:"structure",members:{ZoneName:{},SubnetId:{},OutpostId:{},LoadBalancerAddresses:{type:"list",member:{type:"structure",members:{IpAddress:{},AllocationId:{},PrivateIPv4Address:{},IPv6Address:{}}}}}}},S30:{type:"list",member:{type:"structure",members:{Field:{},Values:{shape:"S33"},HostHeaderConfig:{type:"structure",members:{Values:{shape:"S33"}}},PathPatternConfig:{type:"structure",members:{Values:{shape:"S33"}}},HttpHeaderConfig:{type:"structure",members:{HttpHeaderName:{},Values:{shape:"S33"}}},QueryStringConfig:{type:"structure",members:{Values:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}},HttpRequestMethodConfig:{type:"structure",members:{Values:{shape:"S33"}}},SourceIpConfig:{type:"structure",members:{Values:{shape:"S33"}}}}}},S33:{type:"list",member:{}},S3g:{type:"list",member:{type:"structure",members:{RuleArn:{},Priority:{},Conditions:{shape:"S30"},Actions:{shape:"Sl"},IsDefault:{type:"boolean"}}}},S3u:{type:"structure",members:{HttpCode:{},GrpcCode:{}}},S40:{type:"list",member:{type:"structure",members:{TargetGroupArn:{},TargetGroupName:{},Protocol:{},Port:{type:"integer"},VpcId:{},HealthCheckProtocol:{},HealthCheckPort:{},HealthCheckEnabled:{type:"boolean"},HealthCheckIntervalSeconds:{type:"integer"},HealthCheckTimeoutSeconds:{type:"integer"},HealthyThresholdCount:{type:"integer"},UnhealthyThresholdCount:{type:"integer"},HealthCheckPath:{},Matcher:{shape:"S3u"},LoadBalancerArns:{shape:"S42"},TargetType:{},ProtocolVersion:{},IpAddressType:{}}}},S42:{type:"list",member:{}},S4c:{type:"list",member:{shape:"S4d"}},S4d:{type:"structure",required:["Id"],members:{Id:{},Port:{type:"integer"},AvailabilityZone:{}}},S4v:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S5m:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}}},{}],100:[function(e,t,r){t.exports={pagination:{DescribeListeners:{input_token:"Marker",output_token:"NextMarker",result_key:"Listeners"},DescribeLoadBalancers:{input_token:"Marker",output_token:"NextMarker",result_key:"LoadBalancers"},DescribeTargetGroups:{input_token:"Marker",output_token:"NextMarker",result_key:"TargetGroups"}}}},{}],101:[function(e,t,r){t.exports={version:2,waiters:{LoadBalancerExists:{delay:15,operation:"DescribeLoadBalancers",maxAttempts:40,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"LoadBalancerNotFound",state:"retry"}]},LoadBalancerAvailable:{delay:15,operation:"DescribeLoadBalancers",maxAttempts:40,acceptors:[{state:"success",matcher:"pathAll",argument:"LoadBalancers[].State.Code",expected:"active"},{state:"retry",matcher:"pathAny",argument:"LoadBalancers[].State.Code",expected:"provisioning"},{state:"retry",matcher:"error",expected:"LoadBalancerNotFound"}]},LoadBalancersDeleted:{delay:15,operation:"DescribeLoadBalancers",maxAttempts:40,acceptors:[{state:"retry",matcher:"pathAll",argument:"LoadBalancers[].State.Code",expected:"active"},{matcher:"error",expected:"LoadBalancerNotFound",state:"success"}]},TargetInService:{delay:15,maxAttempts:40,operation:"DescribeTargetHealth",acceptors:[{argument:"TargetHealthDescriptions[].TargetHealth.State",expected:"healthy",matcher:"pathAll",state:"success"},{matcher:"error",expected:"InvalidInstance",state:"retry"}]},TargetDeregistered:{delay:15,maxAttempts:40,operation:"DescribeTargetHealth",acceptors:[{matcher:"error",expected:"InvalidTarget",state:"success"},{argument:"TargetHealthDescriptions[].TargetHealth.State",expected:"unused",matcher:"pathAll",state:"success"}]}}}},{}],102:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2009-03-31",endpointPrefix:"elasticmapreduce",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon EMR",serviceFullName:"Amazon EMR",serviceId:"EMR",signatureVersion:"v4",targetPrefix:"ElasticMapReduce",uid:"elasticmapreduce-2009-03-31"},operations:{AddInstanceFleet:{input:{type:"structure",required:["ClusterId","InstanceFleet"],members:{ClusterId:{},InstanceFleet:{shape:"S3"}}},output:{type:"structure",members:{ClusterId:{},InstanceFleetId:{},ClusterArn:{}}}},AddInstanceGroups:{input:{type:"structure",required:["InstanceGroups","JobFlowId"],members:{InstanceGroups:{shape:"Sx"},JobFlowId:{}}},output:{type:"structure",members:{JobFlowId:{},InstanceGroupIds:{type:"list",member:{}},ClusterArn:{}}}},AddJobFlowSteps:{input:{type:"structure",required:["JobFlowId","Steps"],members:{JobFlowId:{},Steps:{shape:"S1i"}}},output:{type:"structure",members:{StepIds:{shape:"S1r"}}}},AddTags:{input:{type:"structure",required:["ResourceId","Tags"],members:{ResourceId:{},Tags:{shape:"S1u"}}},output:{type:"structure",members:{}}},CancelSteps:{input:{type:"structure",required:["ClusterId","StepIds"],members:{ClusterId:{},StepIds:{shape:"S1r"},StepCancellationOption:{}}},output:{type:"structure",members:{CancelStepsInfoList:{type:"list",member:{type:"structure",members:{StepId:{},Status:{},Reason:{}}}}}}},CreateSecurityConfiguration:{input:{type:"structure",required:["Name","SecurityConfiguration"],members:{Name:{},SecurityConfiguration:{}}},output:{type:"structure",required:["Name","CreationDateTime"],members:{Name:{},CreationDateTime:{type:"timestamp"}}}},CreateStudio:{input:{type:"structure",required:["Name","AuthMode","VpcId","SubnetIds","ServiceRole","WorkspaceSecurityGroupId","EngineSecurityGroupId","DefaultS3Location"],members:{Name:{},Description:{},AuthMode:{},VpcId:{},SubnetIds:{shape:"S29"},ServiceRole:{},UserRole:{},WorkspaceSecurityGroupId:{},EngineSecurityGroupId:{},DefaultS3Location:{},IdpAuthUrl:{},IdpRelayStateParameterName:{},Tags:{shape:"S1u"}}},output:{type:"structure",members:{StudioId:{},Url:{}}}},CreateStudioSessionMapping:{input:{type:"structure",required:["StudioId","IdentityType","SessionPolicyArn"],members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{},SessionPolicyArn:{}}}},DeleteSecurityConfiguration:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteStudio:{input:{type:"structure",required:["StudioId"],members:{StudioId:{}}}},DeleteStudioSessionMapping:{input:{type:"structure",required:["StudioId","IdentityType"],members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{}}}},DescribeCluster:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{Cluster:{type:"structure",members:{Id:{},Name:{},Status:{shape:"S2l"},Ec2InstanceAttributes:{type:"structure",members:{Ec2KeyName:{},Ec2SubnetId:{},RequestedEc2SubnetIds:{shape:"S2r"},Ec2AvailabilityZone:{},RequestedEc2AvailabilityZones:{shape:"S2r"},IamInstanceProfile:{},EmrManagedMasterSecurityGroup:{},EmrManagedSlaveSecurityGroup:{},ServiceAccessSecurityGroup:{},AdditionalMasterSecurityGroups:{shape:"S2s"},AdditionalSlaveSecurityGroups:{shape:"S2s"}}},InstanceCollectionType:{},LogUri:{},LogEncryptionKmsKeyId:{},RequestedAmiVersion:{},RunningAmiVersion:{},ReleaseLabel:{},AutoTerminate:{type:"boolean"},TerminationProtected:{type:"boolean"},VisibleToAllUsers:{type:"boolean"},Applications:{shape:"S2v"},Tags:{shape:"S1u"},ServiceRole:{},NormalizedInstanceHours:{type:"integer"},MasterPublicDnsName:{},Configurations:{shape:"Sh"},SecurityConfiguration:{},AutoScalingRole:{},ScaleDownBehavior:{},CustomAmiId:{},EbsRootVolumeSize:{type:"integer"},RepoUpgradeOnBoot:{},KerberosAttributes:{shape:"S2z"},ClusterArn:{},OutpostArn:{},StepConcurrencyLevel:{type:"integer"},PlacementGroups:{shape:"S31"}}}}}},DescribeJobFlows:{input:{type:"structure",members:{CreatedAfter:{type:"timestamp"},CreatedBefore:{type:"timestamp"},JobFlowIds:{shape:"S1p"},JobFlowStates:{type:"list",member:{}}}},output:{type:"structure",members:{JobFlows:{type:"list",member:{type:"structure",required:["JobFlowId","Name","ExecutionStatusDetail","Instances"],members:{JobFlowId:{},Name:{},LogUri:{},LogEncryptionKmsKeyId:{},AmiVersion:{},ExecutionStatusDetail:{type:"structure",required:["State","CreationDateTime"],members:{State:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"},LastStateChangeReason:{}}},Instances:{type:"structure",required:["MasterInstanceType","SlaveInstanceType","InstanceCount"],members:{MasterInstanceType:{},MasterPublicDnsName:{},MasterInstanceId:{},SlaveInstanceType:{},InstanceCount:{type:"integer"},InstanceGroups:{type:"list",member:{type:"structure",required:["Market","InstanceRole","InstanceType","InstanceRequestCount","InstanceRunningCount","State","CreationDateTime"],members:{InstanceGroupId:{},Name:{},Market:{},InstanceRole:{},BidPrice:{},InstanceType:{},InstanceRequestCount:{type:"integer"},InstanceRunningCount:{type:"integer"},State:{},LastStateChangeReason:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"},CustomAmiId:{}}}},NormalizedInstanceHours:{type:"integer"},Ec2KeyName:{},Ec2SubnetId:{},Placement:{shape:"S3f"},KeepJobFlowAliveWhenNoSteps:{type:"boolean"},TerminationProtected:{type:"boolean"},HadoopVersion:{}}},Steps:{type:"list",member:{type:"structure",required:["StepConfig","ExecutionStatusDetail"],members:{StepConfig:{shape:"S1j"},ExecutionStatusDetail:{type:"structure",required:["State","CreationDateTime"],members:{State:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"},LastStateChangeReason:{}}}}}},BootstrapActions:{type:"list",member:{type:"structure",members:{BootstrapActionConfig:{shape:"S3m"}}}},SupportedProducts:{shape:"S3o"},VisibleToAllUsers:{type:"boolean"},JobFlowRole:{},ServiceRole:{},AutoScalingRole:{},ScaleDownBehavior:{}}}}}},deprecated:!0},DescribeNotebookExecution:{input:{type:"structure",required:["NotebookExecutionId"],members:{NotebookExecutionId:{}}},output:{type:"structure",members:{NotebookExecution:{type:"structure",members:{NotebookExecutionId:{},EditorId:{},ExecutionEngine:{shape:"S3s"},NotebookExecutionName:{},NotebookParams:{},Status:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Arn:{},OutputNotebookURI:{},LastStateChangeReason:{},NotebookInstanceSecurityGroupId:{},Tags:{shape:"S1u"}}}}}},DescribeReleaseLabel:{input:{type:"structure",members:{ReleaseLabel:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ReleaseLabel:{},Applications:{type:"list",member:{type:"structure",members:{Name:{},Version:{}}}},NextToken:{}}}},DescribeSecurityConfiguration:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},SecurityConfiguration:{},CreationDateTime:{type:"timestamp"}}}}, -DescribeStep:{input:{type:"structure",required:["ClusterId","StepId"],members:{ClusterId:{},StepId:{}}},output:{type:"structure",members:{Step:{type:"structure",members:{Id:{},Name:{},Config:{shape:"S45"},ActionOnFailure:{},Status:{shape:"S46"}}}}}},DescribeStudio:{input:{type:"structure",required:["StudioId"],members:{StudioId:{}}},output:{type:"structure",members:{Studio:{type:"structure",members:{StudioId:{},StudioArn:{},Name:{},Description:{},AuthMode:{},VpcId:{},SubnetIds:{shape:"S29"},ServiceRole:{},UserRole:{},WorkspaceSecurityGroupId:{},EngineSecurityGroupId:{},Url:{},CreationTime:{type:"timestamp"},DefaultS3Location:{},IdpAuthUrl:{},IdpRelayStateParameterName:{},Tags:{shape:"S1u"}}}}}},GetAutoTerminationPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{AutoTerminationPolicy:{shape:"S4h"}}}},GetBlockPublicAccessConfiguration:{input:{type:"structure",members:{}},output:{type:"structure",required:["BlockPublicAccessConfiguration","BlockPublicAccessConfigurationMetadata"],members:{BlockPublicAccessConfiguration:{shape:"S4l"},BlockPublicAccessConfigurationMetadata:{type:"structure",required:["CreationDateTime","CreatedByArn"],members:{CreationDateTime:{type:"timestamp"},CreatedByArn:{}}}}}},GetManagedScalingPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{ManagedScalingPolicy:{shape:"S4s"}}}},GetStudioSessionMapping:{input:{type:"structure",required:["StudioId","IdentityType"],members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{}}},output:{type:"structure",members:{SessionMapping:{type:"structure",members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{},SessionPolicyArn:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}}}},ListBootstrapActions:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},Marker:{}}},output:{type:"structure",members:{BootstrapActions:{type:"list",member:{type:"structure",members:{Name:{},ScriptPath:{},Args:{shape:"S2s"}}}},Marker:{}}}},ListClusters:{input:{type:"structure",members:{CreatedAfter:{type:"timestamp"},CreatedBefore:{type:"timestamp"},ClusterStates:{type:"list",member:{}},Marker:{}}},output:{type:"structure",members:{Clusters:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Status:{shape:"S2l"},NormalizedInstanceHours:{type:"integer"},ClusterArn:{},OutpostArn:{}}}},Marker:{}}}},ListInstanceFleets:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},Marker:{}}},output:{type:"structure",members:{InstanceFleets:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},InstanceFleetType:{},TargetOnDemandCapacity:{type:"integer"},TargetSpotCapacity:{type:"integer"},ProvisionedOnDemandCapacity:{type:"integer"},ProvisionedSpotCapacity:{type:"integer"},InstanceTypeSpecifications:{type:"list",member:{type:"structure",members:{InstanceType:{},WeightedCapacity:{type:"integer"},BidPrice:{},BidPriceAsPercentageOfOnDemandPrice:{type:"double"},Configurations:{shape:"Sh"},EbsBlockDevices:{shape:"S5j"},EbsOptimized:{type:"boolean"},CustomAmiId:{}}}},LaunchSpecifications:{shape:"Sk"}}}},Marker:{}}}},ListInstanceGroups:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},Marker:{}}},output:{type:"structure",members:{InstanceGroups:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Market:{},InstanceGroupType:{},BidPrice:{},InstanceType:{},RequestedInstanceCount:{type:"integer"},RunningInstanceCount:{type:"integer"},Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},Configurations:{shape:"Sh"},ConfigurationsVersion:{type:"long"},LastSuccessfullyAppliedConfigurations:{shape:"Sh"},LastSuccessfullyAppliedConfigurationsVersion:{type:"long"},EbsBlockDevices:{shape:"S5j"},EbsOptimized:{type:"boolean"},ShrinkPolicy:{shape:"S5v"},AutoScalingPolicy:{shape:"S5z"},CustomAmiId:{}}}},Marker:{}}}},ListInstances:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},InstanceGroupId:{},InstanceGroupTypes:{type:"list",member:{}},InstanceFleetId:{},InstanceFleetType:{},InstanceStates:{type:"list",member:{}},Marker:{}}},output:{type:"structure",members:{Instances:{type:"list",member:{type:"structure",members:{Id:{},Ec2InstanceId:{},PublicDnsName:{},PublicIpAddress:{},PrivateDnsName:{},PrivateIpAddress:{},Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},InstanceGroupId:{},InstanceFleetId:{},Market:{},InstanceType:{},EbsVolumes:{type:"list",member:{type:"structure",members:{Device:{},VolumeId:{}}}}}}},Marker:{}}}},ListNotebookExecutions:{input:{type:"structure",members:{EditorId:{},Status:{},From:{type:"timestamp"},To:{type:"timestamp"},Marker:{}}},output:{type:"structure",members:{NotebookExecutions:{type:"list",member:{type:"structure",members:{NotebookExecutionId:{},EditorId:{},NotebookExecutionName:{},Status:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}},Marker:{}}}},ListReleaseLabels:{input:{type:"structure",members:{Filters:{type:"structure",members:{Prefix:{},Application:{}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ReleaseLabels:{shape:"S2s"},NextToken:{}}}},ListSecurityConfigurations:{input:{type:"structure",members:{Marker:{}}},output:{type:"structure",members:{SecurityConfigurations:{type:"list",member:{type:"structure",members:{Name:{},CreationDateTime:{type:"timestamp"}}}},Marker:{}}}},ListSteps:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},StepStates:{type:"list",member:{}},StepIds:{shape:"S1p"},Marker:{}}},output:{type:"structure",members:{Steps:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Config:{shape:"S45"},ActionOnFailure:{},Status:{shape:"S46"}}}},Marker:{}}}},ListStudioSessionMappings:{input:{type:"structure",members:{StudioId:{},IdentityType:{},Marker:{}}},output:{type:"structure",members:{SessionMappings:{type:"list",member:{type:"structure",members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{},SessionPolicyArn:{},CreationTime:{type:"timestamp"}}}},Marker:{}}}},ListStudios:{input:{type:"structure",members:{Marker:{}}},output:{type:"structure",members:{Studios:{type:"list",member:{type:"structure",members:{StudioId:{},Name:{},VpcId:{},Description:{},Url:{},AuthMode:{},CreationTime:{type:"timestamp"}}}},Marker:{}}}},ModifyCluster:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},StepConcurrencyLevel:{type:"integer"}}},output:{type:"structure",members:{StepConcurrencyLevel:{type:"integer"}}}},ModifyInstanceFleet:{input:{type:"structure",required:["ClusterId","InstanceFleet"],members:{ClusterId:{},InstanceFleet:{type:"structure",required:["InstanceFleetId"],members:{InstanceFleetId:{},TargetOnDemandCapacity:{type:"integer"},TargetSpotCapacity:{type:"integer"}}}}}},ModifyInstanceGroups:{input:{type:"structure",members:{ClusterId:{},InstanceGroups:{type:"list",member:{type:"structure",required:["InstanceGroupId"],members:{InstanceGroupId:{},InstanceCount:{type:"integer"},EC2InstanceIdsToTerminate:{type:"list",member:{}},ShrinkPolicy:{shape:"S5v"},Configurations:{shape:"Sh"}}}}}}},PutAutoScalingPolicy:{input:{type:"structure",required:["ClusterId","InstanceGroupId","AutoScalingPolicy"],members:{ClusterId:{},InstanceGroupId:{},AutoScalingPolicy:{shape:"S11"}}},output:{type:"structure",members:{ClusterId:{},InstanceGroupId:{},AutoScalingPolicy:{shape:"S5z"},ClusterArn:{}}}},PutAutoTerminationPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},AutoTerminationPolicy:{shape:"S4h"}}},output:{type:"structure",members:{}}},PutBlockPublicAccessConfiguration:{input:{type:"structure",required:["BlockPublicAccessConfiguration"],members:{BlockPublicAccessConfiguration:{shape:"S4l"}}},output:{type:"structure",members:{}}},PutManagedScalingPolicy:{input:{type:"structure",required:["ClusterId","ManagedScalingPolicy"],members:{ClusterId:{},ManagedScalingPolicy:{shape:"S4s"}}},output:{type:"structure",members:{}}},RemoveAutoScalingPolicy:{input:{type:"structure",required:["ClusterId","InstanceGroupId"],members:{ClusterId:{},InstanceGroupId:{}}},output:{type:"structure",members:{}}},RemoveAutoTerminationPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{}}},RemoveManagedScalingPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{}}},RemoveTags:{input:{type:"structure",required:["ResourceId","TagKeys"],members:{ResourceId:{},TagKeys:{shape:"S2s"}}},output:{type:"structure",members:{}}},RunJobFlow:{input:{type:"structure",required:["Name","Instances"],members:{Name:{},LogUri:{},LogEncryptionKmsKeyId:{},AdditionalInfo:{},AmiVersion:{},ReleaseLabel:{},Instances:{type:"structure",members:{MasterInstanceType:{},SlaveInstanceType:{},InstanceCount:{type:"integer"},InstanceGroups:{shape:"Sx"},InstanceFleets:{type:"list",member:{shape:"S3"}},Ec2KeyName:{},Placement:{shape:"S3f"},KeepJobFlowAliveWhenNoSteps:{type:"boolean"},TerminationProtected:{type:"boolean"},HadoopVersion:{},Ec2SubnetId:{},Ec2SubnetIds:{shape:"S2r"},EmrManagedMasterSecurityGroup:{},EmrManagedSlaveSecurityGroup:{},ServiceAccessSecurityGroup:{},AdditionalMasterSecurityGroups:{shape:"S7w"},AdditionalSlaveSecurityGroups:{shape:"S7w"}}},Steps:{shape:"S1i"},BootstrapActions:{type:"list",member:{shape:"S3m"}},SupportedProducts:{shape:"S3o"},NewSupportedProducts:{type:"list",member:{type:"structure",members:{Name:{},Args:{shape:"S1p"}}}},Applications:{shape:"S2v"},Configurations:{shape:"Sh"},VisibleToAllUsers:{type:"boolean"},JobFlowRole:{},ServiceRole:{},Tags:{shape:"S1u"},SecurityConfiguration:{},AutoScalingRole:{},ScaleDownBehavior:{},CustomAmiId:{},EbsRootVolumeSize:{type:"integer"},RepoUpgradeOnBoot:{},KerberosAttributes:{shape:"S2z"},StepConcurrencyLevel:{type:"integer"},ManagedScalingPolicy:{shape:"S4s"},PlacementGroupConfigs:{shape:"S31"},AutoTerminationPolicy:{shape:"S4h"}}},output:{type:"structure",members:{JobFlowId:{},ClusterArn:{}}}},SetTerminationProtection:{input:{type:"structure",required:["JobFlowIds","TerminationProtected"],members:{JobFlowIds:{shape:"S1p"},TerminationProtected:{type:"boolean"}}}},SetVisibleToAllUsers:{input:{type:"structure",required:["JobFlowIds","VisibleToAllUsers"],members:{JobFlowIds:{shape:"S1p"},VisibleToAllUsers:{type:"boolean"}}}},StartNotebookExecution:{input:{type:"structure",required:["EditorId","RelativePath","ExecutionEngine","ServiceRole"],members:{EditorId:{},RelativePath:{},NotebookExecutionName:{},NotebookParams:{},ExecutionEngine:{shape:"S3s"},ServiceRole:{},NotebookInstanceSecurityGroupId:{},Tags:{shape:"S1u"}}},output:{type:"structure",members:{NotebookExecutionId:{}}}},StopNotebookExecution:{input:{type:"structure",required:["NotebookExecutionId"],members:{NotebookExecutionId:{}}}},TerminateJobFlows:{input:{type:"structure",required:["JobFlowIds"],members:{JobFlowIds:{shape:"S1p"}}}},UpdateStudio:{input:{type:"structure",required:["StudioId"],members:{StudioId:{},Name:{},Description:{},SubnetIds:{shape:"S29"},DefaultS3Location:{}}}},UpdateStudioSessionMapping:{input:{type:"structure",required:["StudioId","IdentityType","SessionPolicyArn"],members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{},SessionPolicyArn:{}}}}},shapes:{S3:{type:"structure",required:["InstanceFleetType"],members:{Name:{},InstanceFleetType:{},TargetOnDemandCapacity:{type:"integer"},TargetSpotCapacity:{type:"integer"},InstanceTypeConfigs:{type:"list",member:{type:"structure",required:["InstanceType"],members:{InstanceType:{},WeightedCapacity:{type:"integer"},BidPrice:{},BidPriceAsPercentageOfOnDemandPrice:{type:"double"},EbsConfiguration:{shape:"Sa"},Configurations:{shape:"Sh"},CustomAmiId:{}}}},LaunchSpecifications:{shape:"Sk"}}},Sa:{type:"structure",members:{EbsBlockDeviceConfigs:{type:"list",member:{type:"structure",required:["VolumeSpecification"],members:{VolumeSpecification:{shape:"Sd"},VolumesPerInstance:{type:"integer"}}}},EbsOptimized:{type:"boolean"}}},Sd:{type:"structure",required:["VolumeType","SizeInGB"],members:{VolumeType:{},Iops:{type:"integer"},SizeInGB:{type:"integer"}}},Sh:{type:"list",member:{type:"structure",members:{Classification:{},Configurations:{shape:"Sh"},Properties:{shape:"Sj"}}}},Sj:{type:"map",key:{},value:{}},Sk:{type:"structure",members:{SpotSpecification:{type:"structure",required:["TimeoutDurationMinutes","TimeoutAction"],members:{TimeoutDurationMinutes:{type:"integer"},TimeoutAction:{},BlockDurationMinutes:{type:"integer"},AllocationStrategy:{}}},OnDemandSpecification:{type:"structure",required:["AllocationStrategy"],members:{AllocationStrategy:{},CapacityReservationOptions:{type:"structure",members:{UsageStrategy:{},CapacityReservationPreference:{},CapacityReservationResourceGroupArn:{}}}}}}},Sx:{type:"list",member:{type:"structure",required:["InstanceRole","InstanceType","InstanceCount"],members:{Name:{},Market:{},InstanceRole:{},BidPrice:{},InstanceType:{},InstanceCount:{type:"integer"},Configurations:{shape:"Sh"},EbsConfiguration:{shape:"Sa"},AutoScalingPolicy:{shape:"S11"},CustomAmiId:{}}}},S11:{type:"structure",required:["Constraints","Rules"],members:{Constraints:{shape:"S12"},Rules:{shape:"S13"}}},S12:{type:"structure",required:["MinCapacity","MaxCapacity"],members:{MinCapacity:{type:"integer"},MaxCapacity:{type:"integer"}}},S13:{type:"list",member:{type:"structure",required:["Name","Action","Trigger"],members:{Name:{},Description:{},Action:{type:"structure",required:["SimpleScalingPolicyConfiguration"],members:{Market:{},SimpleScalingPolicyConfiguration:{type:"structure",required:["ScalingAdjustment"],members:{AdjustmentType:{},ScalingAdjustment:{type:"integer"},CoolDown:{type:"integer"}}}}},Trigger:{type:"structure",required:["CloudWatchAlarmDefinition"],members:{CloudWatchAlarmDefinition:{type:"structure",required:["ComparisonOperator","MetricName","Period","Threshold"],members:{ComparisonOperator:{},EvaluationPeriods:{type:"integer"},MetricName:{},Namespace:{},Period:{type:"integer"},Statistic:{},Threshold:{type:"double"},Unit:{},Dimensions:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}}}}}}},S1i:{type:"list",member:{shape:"S1j"}},S1j:{type:"structure",required:["Name","HadoopJarStep"],members:{Name:{},ActionOnFailure:{},HadoopJarStep:{type:"structure",required:["Jar"],members:{Properties:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},Jar:{},MainClass:{},Args:{shape:"S1p"}}}}},S1p:{type:"list",member:{}},S1r:{type:"list",member:{}},S1u:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S29:{type:"list",member:{}},S2l:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},S2r:{type:"list",member:{}},S2s:{type:"list",member:{}},S2v:{type:"list",member:{type:"structure",members:{Name:{},Version:{},Args:{shape:"S2s"},AdditionalInfo:{shape:"Sj"}}}},S2z:{type:"structure",required:["Realm","KdcAdminPassword"],members:{Realm:{},KdcAdminPassword:{},CrossRealmTrustPrincipalPassword:{},ADDomainJoinUser:{},ADDomainJoinPassword:{}}},S31:{type:"list",member:{type:"structure",required:["InstanceRole"],members:{InstanceRole:{},PlacementStrategy:{}}}},S3f:{type:"structure",members:{AvailabilityZone:{},AvailabilityZones:{shape:"S2r"}}},S3m:{type:"structure",required:["Name","ScriptBootstrapAction"],members:{Name:{},ScriptBootstrapAction:{type:"structure",required:["Path"],members:{Path:{},Args:{shape:"S1p"}}}}},S3o:{type:"list",member:{}},S3s:{type:"structure",required:["Id"],members:{Id:{},Type:{},MasterInstanceSecurityGroupId:{}}},S45:{type:"structure",members:{Jar:{},Properties:{shape:"Sj"},MainClass:{},Args:{shape:"S2s"}}},S46:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},FailureDetails:{type:"structure",members:{Reason:{},Message:{},LogFile:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},S4h:{type:"structure",members:{IdleTimeout:{type:"long"}}},S4l:{type:"structure",required:["BlockPublicSecurityGroupRules"],members:{BlockPublicSecurityGroupRules:{type:"boolean"},PermittedPublicSecurityGroupRuleRanges:{type:"list",member:{type:"structure",required:["MinRange"],members:{MinRange:{type:"integer"},MaxRange:{type:"integer"}}}}}},S4s:{type:"structure",members:{ComputeLimits:{type:"structure",required:["UnitType","MinimumCapacityUnits","MaximumCapacityUnits"],members:{UnitType:{},MinimumCapacityUnits:{type:"integer"},MaximumCapacityUnits:{type:"integer"},MaximumOnDemandCapacityUnits:{type:"integer"},MaximumCoreCapacityUnits:{type:"integer"}}}}},S5j:{type:"list",member:{type:"structure",members:{VolumeSpecification:{shape:"Sd"},Device:{}}}},S5v:{type:"structure",members:{DecommissionTimeout:{type:"integer"},InstanceResizePolicy:{type:"structure",members:{InstancesToTerminate:{shape:"S5x"},InstancesToProtect:{shape:"S5x"},InstanceTerminationTimeout:{type:"integer"}}}}},S5x:{type:"list",member:{}},S5z:{type:"structure",members:{Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}}}},Constraints:{shape:"S12"},Rules:{shape:"S13"}}},S7w:{type:"list",member:{}}}}},{}],103:[function(e,t,r){t.exports={pagination:{DescribeJobFlows:{result_key:"JobFlows"},ListBootstrapActions:{input_token:"Marker",output_token:"Marker",result_key:"BootstrapActions"},ListClusters:{input_token:"Marker",output_token:"Marker",result_key:"Clusters"},ListInstanceFleets:{input_token:"Marker",output_token:"Marker",result_key:"InstanceFleets"},ListInstanceGroups:{input_token:"Marker",output_token:"Marker",result_key:"InstanceGroups"},ListInstances:{input_token:"Marker",output_token:"Marker",result_key:"Instances"},ListNotebookExecutions:{input_token:"Marker",output_token:"Marker",result_key:"NotebookExecutions"},ListReleaseLabels:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListSecurityConfigurations:{input_token:"Marker",output_token:"Marker",result_key:"SecurityConfigurations"},ListSteps:{input_token:"Marker",output_token:"Marker",result_key:"Steps"},ListStudioSessionMappings:{input_token:"Marker",output_token:"Marker",result_key:"SessionMappings"},ListStudios:{input_token:"Marker",output_token:"Marker",result_key:"Studios"}}}},{}],104:[function(e,t,r){t.exports={version:2,waiters:{ClusterRunning:{delay:30,operation:"DescribeCluster",maxAttempts:60,acceptors:[{state:"success",matcher:"path",argument:"Cluster.Status.State",expected:"RUNNING"},{state:"success",matcher:"path",argument:"Cluster.Status.State",expected:"WAITING"},{state:"failure",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATING"},{state:"failure",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATED"},{state:"failure",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATED_WITH_ERRORS"}]},StepComplete:{delay:30,operation:"DescribeStep",maxAttempts:60,acceptors:[{state:"success",matcher:"path",argument:"Step.Status.State",expected:"COMPLETED"},{state:"failure",matcher:"path",argument:"Step.Status.State",expected:"FAILED"},{state:"failure",matcher:"path",argument:"Step.Status.State",expected:"CANCELLED"}]},ClusterTerminated:{delay:30,operation:"DescribeCluster",maxAttempts:60,acceptors:[{state:"success",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATED"},{state:"failure",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATED_WITH_ERRORS"}]}}}},{}],105:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-09-25",endpointPrefix:"elastictranscoder",protocol:"rest-json",serviceFullName:"Amazon Elastic Transcoder",serviceId:"Elastic Transcoder",signatureVersion:"v4",uid:"elastictranscoder-2012-09-25"},operations:{CancelJob:{http:{method:"DELETE",requestUri:"/2012-09-25/jobs/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},CreateJob:{http:{requestUri:"/2012-09-25/jobs",responseCode:201},input:{type:"structure",required:["PipelineId"],members:{PipelineId:{},Input:{shape:"S5"},Inputs:{shape:"St"},Output:{shape:"Su"},Outputs:{type:"list",member:{shape:"Su"}},OutputKeyPrefix:{},Playlists:{type:"list",member:{type:"structure",members:{Name:{},Format:{},OutputKeys:{shape:"S1l"},HlsContentProtection:{shape:"S1m"},PlayReadyDrm:{shape:"S1q"}}}},UserMetadata:{shape:"S1v"}}},output:{type:"structure",members:{Job:{shape:"S1y"}}}},CreatePipeline:{http:{requestUri:"/2012-09-25/pipelines",responseCode:201},input:{type:"structure",required:["Name","InputBucket","Role"],members:{Name:{},InputBucket:{},OutputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S2a"},ContentConfig:{shape:"S2c"},ThumbnailConfig:{shape:"S2c"}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"},Warnings:{shape:"S2n"}}}},CreatePreset:{http:{requestUri:"/2012-09-25/presets",responseCode:201},input:{type:"structure",required:["Name","Container"],members:{Name:{},Description:{},Container:{},Video:{shape:"S2r"},Audio:{shape:"S37"},Thumbnails:{shape:"S3i"}}},output:{type:"structure",members:{Preset:{shape:"S3m"},Warning:{}}}},DeletePipeline:{http:{method:"DELETE",requestUri:"/2012-09-25/pipelines/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeletePreset:{http:{method:"DELETE",requestUri:"/2012-09-25/presets/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},ListJobsByPipeline:{http:{method:"GET",requestUri:"/2012-09-25/jobsByPipeline/{PipelineId}"},input:{type:"structure",required:["PipelineId"],members:{PipelineId:{location:"uri",locationName:"PipelineId"},Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Jobs:{shape:"S3v"},NextPageToken:{}}}},ListJobsByStatus:{http:{method:"GET",requestUri:"/2012-09-25/jobsByStatus/{Status}"},input:{type:"structure",required:["Status"],members:{Status:{location:"uri",locationName:"Status"},Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Jobs:{shape:"S3v"},NextPageToken:{}}}},ListPipelines:{http:{method:"GET",requestUri:"/2012-09-25/pipelines"},input:{type:"structure",members:{Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Pipelines:{type:"list",member:{shape:"S2l"}},NextPageToken:{}}}},ListPresets:{http:{method:"GET",requestUri:"/2012-09-25/presets"},input:{type:"structure",members:{Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Presets:{type:"list",member:{shape:"S3m"}},NextPageToken:{}}}},ReadJob:{http:{method:"GET",requestUri:"/2012-09-25/jobs/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Job:{shape:"S1y"}}}},ReadPipeline:{http:{method:"GET",requestUri:"/2012-09-25/pipelines/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"},Warnings:{shape:"S2n"}}}},ReadPreset:{http:{method:"GET",requestUri:"/2012-09-25/presets/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Preset:{shape:"S3m"}}}},TestRole:{http:{requestUri:"/2012-09-25/roleTests",responseCode:200},input:{type:"structure",required:["Role","InputBucket","OutputBucket","Topics"],members:{Role:{},InputBucket:{},OutputBucket:{},Topics:{type:"list",member:{}}},deprecated:!0},output:{type:"structure",members:{Success:{},Messages:{type:"list",member:{}}},deprecated:!0},deprecated:!0},UpdatePipeline:{http:{method:"PUT",requestUri:"/2012-09-25/pipelines/{Id}",responseCode:200},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},Name:{},InputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S2a"},ContentConfig:{shape:"S2c"},ThumbnailConfig:{shape:"S2c"}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"},Warnings:{shape:"S2n"}}}},UpdatePipelineNotifications:{http:{requestUri:"/2012-09-25/pipelines/{Id}/notifications"},input:{type:"structure",required:["Id","Notifications"],members:{Id:{location:"uri",locationName:"Id"},Notifications:{shape:"S2a"}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"}}}},UpdatePipelineStatus:{http:{requestUri:"/2012-09-25/pipelines/{Id}/status"},input:{type:"structure",required:["Id","Status"],members:{Id:{location:"uri",locationName:"Id"},Status:{}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"}}}}},shapes:{S5:{type:"structure",members:{Key:{},FrameRate:{},Resolution:{},AspectRatio:{},Interlaced:{},Container:{},Encryption:{shape:"Sc"},TimeSpan:{shape:"Sg"},InputCaptions:{type:"structure",members:{MergePolicy:{},CaptionSources:{shape:"Sk"}}},DetectedProperties:{type:"structure",members:{Width:{type:"integer"},Height:{type:"integer"},FrameRate:{},FileSize:{type:"long"},DurationMillis:{type:"long"}}}}},Sc:{type:"structure",members:{Mode:{},Key:{},KeyMd5:{},InitializationVector:{}}},Sg:{type:"structure",members:{StartTime:{},Duration:{}}},Sk:{type:"list",member:{type:"structure",members:{Key:{},Language:{},TimeOffset:{},Label:{},Encryption:{shape:"Sc"}}}},St:{type:"list",member:{shape:"S5"}},Su:{type:"structure",members:{Key:{},ThumbnailPattern:{},ThumbnailEncryption:{shape:"Sc"},Rotate:{},PresetId:{},SegmentDuration:{},Watermarks:{shape:"Sx"},AlbumArt:{shape:"S11"},Composition:{shape:"S19",deprecated:!0},Captions:{shape:"S1b"},Encryption:{shape:"Sc"}}},Sx:{type:"list",member:{type:"structure",members:{PresetWatermarkId:{},InputKey:{},Encryption:{shape:"Sc"}}}},S11:{type:"structure",members:{MergePolicy:{},Artwork:{type:"list",member:{type:"structure",members:{InputKey:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},PaddingPolicy:{},AlbumArtFormat:{},Encryption:{shape:"Sc"}}}}}},S19:{type:"list",member:{type:"structure",members:{TimeSpan:{shape:"Sg"}},deprecated:!0},deprecated:!0},S1b:{type:"structure",members:{MergePolicy:{deprecated:!0},CaptionSources:{shape:"Sk",deprecated:!0},CaptionFormats:{type:"list",member:{type:"structure",members:{Format:{},Pattern:{},Encryption:{shape:"Sc"}}}}}},S1l:{type:"list",member:{}},S1m:{type:"structure",members:{Method:{},Key:{},KeyMd5:{},InitializationVector:{},LicenseAcquisitionUrl:{},KeyStoragePolicy:{}}},S1q:{type:"structure",members:{Format:{},Key:{},KeyMd5:{},KeyId:{},InitializationVector:{},LicenseAcquisitionUrl:{}}},S1v:{type:"map",key:{},value:{}},S1y:{type:"structure",members:{Id:{},Arn:{},PipelineId:{},Input:{shape:"S5"},Inputs:{shape:"St"},Output:{shape:"S1z"},Outputs:{type:"list",member:{shape:"S1z"}},OutputKeyPrefix:{},Playlists:{type:"list",member:{type:"structure",members:{Name:{},Format:{},OutputKeys:{shape:"S1l"},HlsContentProtection:{shape:"S1m"},PlayReadyDrm:{shape:"S1q"},Status:{},StatusDetail:{}}}},Status:{},UserMetadata:{shape:"S1v"},Timing:{type:"structure",members:{SubmitTimeMillis:{type:"long"},StartTimeMillis:{type:"long"},FinishTimeMillis:{type:"long"}}}}},S1z:{type:"structure",members:{Id:{},Key:{},ThumbnailPattern:{},ThumbnailEncryption:{shape:"Sc"},Rotate:{},PresetId:{},SegmentDuration:{},Status:{},StatusDetail:{},Duration:{type:"long"},Width:{type:"integer"},Height:{type:"integer"},FrameRate:{},FileSize:{type:"long"},DurationMillis:{type:"long"},Watermarks:{shape:"Sx"},AlbumArt:{shape:"S11"},Composition:{shape:"S19",deprecated:!0},Captions:{shape:"S1b"},Encryption:{shape:"Sc"},AppliedColorSpaceConversion:{}}},S2a:{type:"structure",members:{Progressing:{},Completed:{},Warning:{},Error:{}}},S2c:{type:"structure",members:{Bucket:{},StorageClass:{},Permissions:{type:"list",member:{type:"structure",members:{GranteeType:{},Grantee:{},Access:{type:"list",member:{}}}}}}},S2l:{type:"structure",members:{Id:{},Arn:{},Name:{},Status:{},InputBucket:{},OutputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S2a"},ContentConfig:{shape:"S2c"},ThumbnailConfig:{shape:"S2c"}}},S2n:{type:"list",member:{type:"structure",members:{Code:{},Message:{}}}},S2r:{type:"structure",members:{Codec:{},CodecOptions:{type:"map",key:{},value:{}},KeyframesMaxDist:{},FixedGOP:{},BitRate:{},FrameRate:{},MaxFrameRate:{},Resolution:{},AspectRatio:{},MaxWidth:{},MaxHeight:{},DisplayAspectRatio:{},SizingPolicy:{},PaddingPolicy:{},Watermarks:{type:"list",member:{type:"structure",members:{Id:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},HorizontalAlign:{},HorizontalOffset:{},VerticalAlign:{},VerticalOffset:{},Opacity:{},Target:{}}}}}},S37:{type:"structure",members:{Codec:{},SampleRate:{},BitRate:{},Channels:{},AudioPackingMode:{},CodecOptions:{type:"structure",members:{Profile:{},BitDepth:{},BitOrder:{},Signed:{}}}}},S3i:{type:"structure",members:{Format:{},Interval:{},Resolution:{},AspectRatio:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},PaddingPolicy:{}}},S3m:{type:"structure",members:{Id:{},Arn:{},Name:{},Description:{},Container:{},Audio:{shape:"S37"},Video:{shape:"S2r"},Thumbnails:{shape:"S3i"},Type:{}}},S3v:{type:"list",member:{shape:"S1y"}}}}},{}],106:[function(e,t,r){t.exports={pagination:{ListJobsByPipeline:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Jobs"},ListJobsByStatus:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Jobs"},ListPipelines:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Pipelines"},ListPresets:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Presets"}}}},{}],107:[function(e,t,r){t.exports={version:2,waiters:{JobComplete:{delay:30,operation:"ReadJob",maxAttempts:120,acceptors:[{expected:"Complete",matcher:"path",state:"success",argument:"Job.Status"},{expected:"Canceled",matcher:"path",state:"failure",argument:"Job.Status"},{expected:"Error",matcher:"path",state:"failure",argument:"Job.Status"}]}}}},{}],108:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-12-01",endpointPrefix:"email",protocol:"query",serviceAbbreviation:"Amazon SES",serviceFullName:"Amazon Simple Email Service",serviceId:"SES",signatureVersion:"v4",signingName:"ses",uid:"email-2010-12-01",xmlNamespace:"http://ses.amazonaws.com/doc/2010-12-01/"},operations:{CloneReceiptRuleSet:{input:{type:"structure",required:["RuleSetName","OriginalRuleSetName"],members:{RuleSetName:{},OriginalRuleSetName:{}}},output:{resultWrapper:"CloneReceiptRuleSetResult",type:"structure",members:{}}},CreateConfigurationSet:{input:{type:"structure",required:["ConfigurationSet"],members:{ConfigurationSet:{shape:"S5"}}},output:{resultWrapper:"CreateConfigurationSetResult",type:"structure",members:{}}},CreateConfigurationSetEventDestination:{input:{type:"structure",required:["ConfigurationSetName","EventDestination"],members:{ConfigurationSetName:{},EventDestination:{shape:"S9"}}},output:{ -resultWrapper:"CreateConfigurationSetEventDestinationResult",type:"structure",members:{}}},CreateConfigurationSetTrackingOptions:{input:{type:"structure",required:["ConfigurationSetName","TrackingOptions"],members:{ConfigurationSetName:{},TrackingOptions:{shape:"Sp"}}},output:{resultWrapper:"CreateConfigurationSetTrackingOptionsResult",type:"structure",members:{}}},CreateCustomVerificationEmailTemplate:{input:{type:"structure",required:["TemplateName","FromEmailAddress","TemplateSubject","TemplateContent","SuccessRedirectionURL","FailureRedirectionURL"],members:{TemplateName:{},FromEmailAddress:{},TemplateSubject:{},TemplateContent:{},SuccessRedirectionURL:{},FailureRedirectionURL:{}}}},CreateReceiptFilter:{input:{type:"structure",required:["Filter"],members:{Filter:{shape:"S10"}}},output:{resultWrapper:"CreateReceiptFilterResult",type:"structure",members:{}}},CreateReceiptRule:{input:{type:"structure",required:["RuleSetName","Rule"],members:{RuleSetName:{},After:{},Rule:{shape:"S18"}}},output:{resultWrapper:"CreateReceiptRuleResult",type:"structure",members:{}}},CreateReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"CreateReceiptRuleSetResult",type:"structure",members:{}}},CreateTemplate:{input:{type:"structure",required:["Template"],members:{Template:{shape:"S20"}}},output:{resultWrapper:"CreateTemplateResult",type:"structure",members:{}}},DeleteConfigurationSet:{input:{type:"structure",required:["ConfigurationSetName"],members:{ConfigurationSetName:{}}},output:{resultWrapper:"DeleteConfigurationSetResult",type:"structure",members:{}}},DeleteConfigurationSetEventDestination:{input:{type:"structure",required:["ConfigurationSetName","EventDestinationName"],members:{ConfigurationSetName:{},EventDestinationName:{}}},output:{resultWrapper:"DeleteConfigurationSetEventDestinationResult",type:"structure",members:{}}},DeleteConfigurationSetTrackingOptions:{input:{type:"structure",required:["ConfigurationSetName"],members:{ConfigurationSetName:{}}},output:{resultWrapper:"DeleteConfigurationSetTrackingOptionsResult",type:"structure",members:{}}},DeleteCustomVerificationEmailTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{}}}},DeleteIdentity:{input:{type:"structure",required:["Identity"],members:{Identity:{}}},output:{resultWrapper:"DeleteIdentityResult",type:"structure",members:{}}},DeleteIdentityPolicy:{input:{type:"structure",required:["Identity","PolicyName"],members:{Identity:{},PolicyName:{}}},output:{resultWrapper:"DeleteIdentityPolicyResult",type:"structure",members:{}}},DeleteReceiptFilter:{input:{type:"structure",required:["FilterName"],members:{FilterName:{}}},output:{resultWrapper:"DeleteReceiptFilterResult",type:"structure",members:{}}},DeleteReceiptRule:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{}}},output:{resultWrapper:"DeleteReceiptRuleResult",type:"structure",members:{}}},DeleteReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"DeleteReceiptRuleSetResult",type:"structure",members:{}}},DeleteTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{}}},output:{resultWrapper:"DeleteTemplateResult",type:"structure",members:{}}},DeleteVerifiedEmailAddress:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}}},DescribeActiveReceiptRuleSet:{input:{type:"structure",members:{}},output:{resultWrapper:"DescribeActiveReceiptRuleSetResult",type:"structure",members:{Metadata:{shape:"S2t"},Rules:{shape:"S2v"}}}},DescribeConfigurationSet:{input:{type:"structure",required:["ConfigurationSetName"],members:{ConfigurationSetName:{},ConfigurationSetAttributeNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeConfigurationSetResult",type:"structure",members:{ConfigurationSet:{shape:"S5"},EventDestinations:{type:"list",member:{shape:"S9"}},TrackingOptions:{shape:"Sp"},DeliveryOptions:{shape:"S31"},ReputationOptions:{type:"structure",members:{SendingEnabled:{type:"boolean"},ReputationMetricsEnabled:{type:"boolean"},LastFreshStart:{type:"timestamp"}}}}}},DescribeReceiptRule:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{}}},output:{resultWrapper:"DescribeReceiptRuleResult",type:"structure",members:{Rule:{shape:"S18"}}}},DescribeReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"DescribeReceiptRuleSetResult",type:"structure",members:{Metadata:{shape:"S2t"},Rules:{shape:"S2v"}}}},GetAccountSendingEnabled:{output:{resultWrapper:"GetAccountSendingEnabledResult",type:"structure",members:{Enabled:{type:"boolean"}}}},GetCustomVerificationEmailTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{}}},output:{resultWrapper:"GetCustomVerificationEmailTemplateResult",type:"structure",members:{TemplateName:{},FromEmailAddress:{},TemplateSubject:{},TemplateContent:{},SuccessRedirectionURL:{},FailureRedirectionURL:{}}}},GetIdentityDkimAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"}}},output:{resultWrapper:"GetIdentityDkimAttributesResult",type:"structure",required:["DkimAttributes"],members:{DkimAttributes:{type:"map",key:{},value:{type:"structure",required:["DkimEnabled","DkimVerificationStatus"],members:{DkimEnabled:{type:"boolean"},DkimVerificationStatus:{},DkimTokens:{shape:"S3h"}}}}}}},GetIdentityMailFromDomainAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"}}},output:{resultWrapper:"GetIdentityMailFromDomainAttributesResult",type:"structure",required:["MailFromDomainAttributes"],members:{MailFromDomainAttributes:{type:"map",key:{},value:{type:"structure",required:["MailFromDomain","MailFromDomainStatus","BehaviorOnMXFailure"],members:{MailFromDomain:{},MailFromDomainStatus:{},BehaviorOnMXFailure:{}}}}}}},GetIdentityNotificationAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"}}},output:{resultWrapper:"GetIdentityNotificationAttributesResult",type:"structure",required:["NotificationAttributes"],members:{NotificationAttributes:{type:"map",key:{},value:{type:"structure",required:["BounceTopic","ComplaintTopic","DeliveryTopic","ForwardingEnabled"],members:{BounceTopic:{},ComplaintTopic:{},DeliveryTopic:{},ForwardingEnabled:{type:"boolean"},HeadersInBounceNotificationsEnabled:{type:"boolean"},HeadersInComplaintNotificationsEnabled:{type:"boolean"},HeadersInDeliveryNotificationsEnabled:{type:"boolean"}}}}}}},GetIdentityPolicies:{input:{type:"structure",required:["Identity","PolicyNames"],members:{Identity:{},PolicyNames:{shape:"S3w"}}},output:{resultWrapper:"GetIdentityPoliciesResult",type:"structure",required:["Policies"],members:{Policies:{type:"map",key:{},value:{}}}}},GetIdentityVerificationAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"}}},output:{resultWrapper:"GetIdentityVerificationAttributesResult",type:"structure",required:["VerificationAttributes"],members:{VerificationAttributes:{type:"map",key:{},value:{type:"structure",required:["VerificationStatus"],members:{VerificationStatus:{},VerificationToken:{}}}}}}},GetSendQuota:{output:{resultWrapper:"GetSendQuotaResult",type:"structure",members:{Max24HourSend:{type:"double"},MaxSendRate:{type:"double"},SentLast24Hours:{type:"double"}}}},GetSendStatistics:{output:{resultWrapper:"GetSendStatisticsResult",type:"structure",members:{SendDataPoints:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},DeliveryAttempts:{type:"long"},Bounces:{type:"long"},Complaints:{type:"long"},Rejects:{type:"long"}}}}}}},GetTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{}}},output:{resultWrapper:"GetTemplateResult",type:"structure",members:{Template:{shape:"S20"}}}},ListConfigurationSets:{input:{type:"structure",members:{NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListConfigurationSetsResult",type:"structure",members:{ConfigurationSets:{type:"list",member:{shape:"S5"}},NextToken:{}}}},ListCustomVerificationEmailTemplates:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListCustomVerificationEmailTemplatesResult",type:"structure",members:{CustomVerificationEmailTemplates:{type:"list",member:{type:"structure",members:{TemplateName:{},FromEmailAddress:{},TemplateSubject:{},SuccessRedirectionURL:{},FailureRedirectionURL:{}}}},NextToken:{}}}},ListIdentities:{input:{type:"structure",members:{IdentityType:{},NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListIdentitiesResult",type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"},NextToken:{}}}},ListIdentityPolicies:{input:{type:"structure",required:["Identity"],members:{Identity:{}}},output:{resultWrapper:"ListIdentityPoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S3w"}}}},ListReceiptFilters:{input:{type:"structure",members:{}},output:{resultWrapper:"ListReceiptFiltersResult",type:"structure",members:{Filters:{type:"list",member:{shape:"S10"}}}}},ListReceiptRuleSets:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListReceiptRuleSetsResult",type:"structure",members:{RuleSets:{type:"list",member:{shape:"S2t"}},NextToken:{}}}},ListTemplates:{input:{type:"structure",members:{NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListTemplatesResult",type:"structure",members:{TemplatesMetadata:{type:"list",member:{type:"structure",members:{Name:{},CreatedTimestamp:{type:"timestamp"}}}},NextToken:{}}}},ListVerifiedEmailAddresses:{output:{resultWrapper:"ListVerifiedEmailAddressesResult",type:"structure",members:{VerifiedEmailAddresses:{shape:"S54"}}}},PutConfigurationSetDeliveryOptions:{input:{type:"structure",required:["ConfigurationSetName"],members:{ConfigurationSetName:{},DeliveryOptions:{shape:"S31"}}},output:{resultWrapper:"PutConfigurationSetDeliveryOptionsResult",type:"structure",members:{}}},PutIdentityPolicy:{input:{type:"structure",required:["Identity","PolicyName","Policy"],members:{Identity:{},PolicyName:{},Policy:{}}},output:{resultWrapper:"PutIdentityPolicyResult",type:"structure",members:{}}},ReorderReceiptRuleSet:{input:{type:"structure",required:["RuleSetName","RuleNames"],members:{RuleSetName:{},RuleNames:{type:"list",member:{}}}},output:{resultWrapper:"ReorderReceiptRuleSetResult",type:"structure",members:{}}},SendBounce:{input:{type:"structure",required:["OriginalMessageId","BounceSender","BouncedRecipientInfoList"],members:{OriginalMessageId:{},BounceSender:{},Explanation:{},MessageDsn:{type:"structure",required:["ReportingMta"],members:{ReportingMta:{},ArrivalDate:{type:"timestamp"},ExtensionFields:{shape:"S5i"}}},BouncedRecipientInfoList:{type:"list",member:{type:"structure",required:["Recipient"],members:{Recipient:{},RecipientArn:{},BounceType:{},RecipientDsnFields:{type:"structure",required:["Action","Status"],members:{FinalRecipient:{},Action:{},RemoteMta:{},Status:{},DiagnosticCode:{},LastAttemptDate:{type:"timestamp"},ExtensionFields:{shape:"S5i"}}}}}},BounceSenderArn:{}}},output:{resultWrapper:"SendBounceResult",type:"structure",members:{MessageId:{}}}},SendBulkTemplatedEmail:{input:{type:"structure",required:["Source","Template","Destinations"],members:{Source:{},SourceArn:{},ReplyToAddresses:{shape:"S54"},ReturnPath:{},ReturnPathArn:{},ConfigurationSetName:{},DefaultTags:{shape:"S5x"},Template:{},TemplateArn:{},DefaultTemplateData:{},Destinations:{type:"list",member:{type:"structure",required:["Destination"],members:{Destination:{shape:"S64"},ReplacementTags:{shape:"S5x"},ReplacementTemplateData:{}}}}}},output:{resultWrapper:"SendBulkTemplatedEmailResult",type:"structure",required:["Status"],members:{Status:{type:"list",member:{type:"structure",members:{Status:{},Error:{},MessageId:{}}}}}}},SendCustomVerificationEmail:{input:{type:"structure",required:["EmailAddress","TemplateName"],members:{EmailAddress:{},TemplateName:{},ConfigurationSetName:{}}},output:{resultWrapper:"SendCustomVerificationEmailResult",type:"structure",members:{MessageId:{}}}},SendEmail:{input:{type:"structure",required:["Source","Destination","Message"],members:{Source:{},Destination:{shape:"S64"},Message:{type:"structure",required:["Subject","Body"],members:{Subject:{shape:"S6e"},Body:{type:"structure",members:{Text:{shape:"S6e"},Html:{shape:"S6e"}}}}},ReplyToAddresses:{shape:"S54"},ReturnPath:{},SourceArn:{},ReturnPathArn:{},Tags:{shape:"S5x"},ConfigurationSetName:{}}},output:{resultWrapper:"SendEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}}},SendRawEmail:{input:{type:"structure",required:["RawMessage"],members:{Source:{},Destinations:{shape:"S54"},RawMessage:{type:"structure",required:["Data"],members:{Data:{type:"blob"}}},FromArn:{},SourceArn:{},ReturnPathArn:{},Tags:{shape:"S5x"},ConfigurationSetName:{}}},output:{resultWrapper:"SendRawEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}}},SendTemplatedEmail:{input:{type:"structure",required:["Source","Destination","Template","TemplateData"],members:{Source:{},Destination:{shape:"S64"},ReplyToAddresses:{shape:"S54"},ReturnPath:{},SourceArn:{},ReturnPathArn:{},Tags:{shape:"S5x"},ConfigurationSetName:{},Template:{},TemplateArn:{},TemplateData:{}}},output:{resultWrapper:"SendTemplatedEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}}},SetActiveReceiptRuleSet:{input:{type:"structure",members:{RuleSetName:{}}},output:{resultWrapper:"SetActiveReceiptRuleSetResult",type:"structure",members:{}}},SetIdentityDkimEnabled:{input:{type:"structure",required:["Identity","DkimEnabled"],members:{Identity:{},DkimEnabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityDkimEnabledResult",type:"structure",members:{}}},SetIdentityFeedbackForwardingEnabled:{input:{type:"structure",required:["Identity","ForwardingEnabled"],members:{Identity:{},ForwardingEnabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityFeedbackForwardingEnabledResult",type:"structure",members:{}}},SetIdentityHeadersInNotificationsEnabled:{input:{type:"structure",required:["Identity","NotificationType","Enabled"],members:{Identity:{},NotificationType:{},Enabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityHeadersInNotificationsEnabledResult",type:"structure",members:{}}},SetIdentityMailFromDomain:{input:{type:"structure",required:["Identity"],members:{Identity:{},MailFromDomain:{},BehaviorOnMXFailure:{}}},output:{resultWrapper:"SetIdentityMailFromDomainResult",type:"structure",members:{}}},SetIdentityNotificationTopic:{input:{type:"structure",required:["Identity","NotificationType"],members:{Identity:{},NotificationType:{},SnsTopic:{}}},output:{resultWrapper:"SetIdentityNotificationTopicResult",type:"structure",members:{}}},SetReceiptRulePosition:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{},After:{}}},output:{resultWrapper:"SetReceiptRulePositionResult",type:"structure",members:{}}},TestRenderTemplate:{input:{type:"structure",required:["TemplateName","TemplateData"],members:{TemplateName:{},TemplateData:{}}},output:{resultWrapper:"TestRenderTemplateResult",type:"structure",members:{RenderedTemplate:{}}}},UpdateAccountSendingEnabled:{input:{type:"structure",members:{Enabled:{type:"boolean"}}}},UpdateConfigurationSetEventDestination:{input:{type:"structure",required:["ConfigurationSetName","EventDestination"],members:{ConfigurationSetName:{},EventDestination:{shape:"S9"}}},output:{resultWrapper:"UpdateConfigurationSetEventDestinationResult",type:"structure",members:{}}},UpdateConfigurationSetReputationMetricsEnabled:{input:{type:"structure",required:["ConfigurationSetName","Enabled"],members:{ConfigurationSetName:{},Enabled:{type:"boolean"}}}},UpdateConfigurationSetSendingEnabled:{input:{type:"structure",required:["ConfigurationSetName","Enabled"],members:{ConfigurationSetName:{},Enabled:{type:"boolean"}}}},UpdateConfigurationSetTrackingOptions:{input:{type:"structure",required:["ConfigurationSetName","TrackingOptions"],members:{ConfigurationSetName:{},TrackingOptions:{shape:"Sp"}}},output:{resultWrapper:"UpdateConfigurationSetTrackingOptionsResult",type:"structure",members:{}}},UpdateCustomVerificationEmailTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{},FromEmailAddress:{},TemplateSubject:{},TemplateContent:{},SuccessRedirectionURL:{},FailureRedirectionURL:{}}}},UpdateReceiptRule:{input:{type:"structure",required:["RuleSetName","Rule"],members:{RuleSetName:{},Rule:{shape:"S18"}}},output:{resultWrapper:"UpdateReceiptRuleResult",type:"structure",members:{}}},UpdateTemplate:{input:{type:"structure",required:["Template"],members:{Template:{shape:"S20"}}},output:{resultWrapper:"UpdateTemplateResult",type:"structure",members:{}}},VerifyDomainDkim:{input:{type:"structure",required:["Domain"],members:{Domain:{}}},output:{resultWrapper:"VerifyDomainDkimResult",type:"structure",required:["DkimTokens"],members:{DkimTokens:{shape:"S3h"}}}},VerifyDomainIdentity:{input:{type:"structure",required:["Domain"],members:{Domain:{}}},output:{resultWrapper:"VerifyDomainIdentityResult",type:"structure",required:["VerificationToken"],members:{VerificationToken:{}}}},VerifyEmailAddress:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}}},VerifyEmailIdentity:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}},output:{resultWrapper:"VerifyEmailIdentityResult",type:"structure",members:{}}}},shapes:{S5:{type:"structure",required:["Name"],members:{Name:{}}},S9:{type:"structure",required:["Name","MatchingEventTypes"],members:{Name:{},Enabled:{type:"boolean"},MatchingEventTypes:{type:"list",member:{}},KinesisFirehoseDestination:{type:"structure",required:["IAMRoleARN","DeliveryStreamARN"],members:{IAMRoleARN:{},DeliveryStreamARN:{}}},CloudWatchDestination:{type:"structure",required:["DimensionConfigurations"],members:{DimensionConfigurations:{type:"list",member:{type:"structure",required:["DimensionName","DimensionValueSource","DefaultDimensionValue"],members:{DimensionName:{},DimensionValueSource:{},DefaultDimensionValue:{}}}}}},SNSDestination:{type:"structure",required:["TopicARN"],members:{TopicARN:{}}}}},Sp:{type:"structure",members:{CustomRedirectDomain:{}}},S10:{type:"structure",required:["Name","IpFilter"],members:{Name:{},IpFilter:{type:"structure",required:["Policy","Cidr"],members:{Policy:{},Cidr:{}}}}},S18:{type:"structure",required:["Name"],members:{Name:{},Enabled:{type:"boolean"},TlsPolicy:{},Recipients:{type:"list",member:{}},Actions:{type:"list",member:{type:"structure",members:{S3Action:{type:"structure",required:["BucketName"],members:{TopicArn:{},BucketName:{},ObjectKeyPrefix:{},KmsKeyArn:{}}},BounceAction:{type:"structure",required:["SmtpReplyCode","Message","Sender"],members:{TopicArn:{},SmtpReplyCode:{},StatusCode:{},Message:{},Sender:{}}},WorkmailAction:{type:"structure",required:["OrganizationArn"],members:{TopicArn:{},OrganizationArn:{}}},LambdaAction:{type:"structure",required:["FunctionArn"],members:{TopicArn:{},FunctionArn:{},InvocationType:{}}},StopAction:{type:"structure",required:["Scope"],members:{Scope:{},TopicArn:{}}},AddHeaderAction:{type:"structure",required:["HeaderName","HeaderValue"],members:{HeaderName:{},HeaderValue:{}}},SNSAction:{type:"structure",required:["TopicArn"],members:{TopicArn:{},Encoding:{}}}}}},ScanEnabled:{type:"boolean"}}},S20:{type:"structure",required:["TemplateName"],members:{TemplateName:{},SubjectPart:{},TextPart:{},HtmlPart:{}}},S2t:{type:"structure",members:{Name:{},CreatedTimestamp:{type:"timestamp"}}},S2v:{type:"list",member:{shape:"S18"}},S31:{type:"structure",members:{TlsPolicy:{}}},S3c:{type:"list",member:{}},S3h:{type:"list",member:{}},S3w:{type:"list",member:{}},S54:{type:"list",member:{}},S5i:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}},S5x:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}},S64:{type:"structure",members:{ToAddresses:{shape:"S54"},CcAddresses:{shape:"S54"},BccAddresses:{shape:"S54"}}},S6e:{type:"structure",required:["Data"],members:{Data:{},Charset:{}}}}}},{}],109:[function(e,t,r){t.exports={pagination:{ListCustomVerificationEmailTemplates:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListIdentities:{input_token:"NextToken",limit_key:"MaxItems",output_token:"NextToken",result_key:"Identities"},ListVerifiedEmailAddresses:{result_key:"VerifiedEmailAddresses"}}}},{}],110:[function(e,t,r){t.exports={version:2,waiters:{IdentityExists:{delay:3,operation:"GetIdentityVerificationAttributes",maxAttempts:20,acceptors:[{expected:"Success",matcher:"pathAll",state:"success",argument:"VerificationAttributes.*.VerificationStatus"}]}}}},{}],111:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-10-07",endpointPrefix:"events",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon CloudWatch Events",serviceId:"CloudWatch Events",signatureVersion:"v4",targetPrefix:"AWSEvents",uid:"events-2015-10-07"},operations:{ActivateEventSource:{input:{type:"structure",required:["Name"],members:{Name:{}}}},CancelReplay:{input:{type:"structure",required:["ReplayName"],members:{ReplayName:{}}},output:{type:"structure",members:{ReplayArn:{},State:{},StateReason:{}}}},CreateApiDestination:{input:{type:"structure",required:["Name","ConnectionArn","InvocationEndpoint","HttpMethod"],members:{Name:{},Description:{},ConnectionArn:{},InvocationEndpoint:{},HttpMethod:{},InvocationRateLimitPerSecond:{type:"integer"}}},output:{type:"structure",members:{ApiDestinationArn:{},ApiDestinationState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},CreateArchive:{input:{type:"structure",required:["ArchiveName","EventSourceArn"],members:{ArchiveName:{},EventSourceArn:{},Description:{},EventPattern:{},RetentionDays:{type:"integer"}}},output:{type:"structure",members:{ArchiveArn:{},State:{},StateReason:{},CreationTime:{type:"timestamp"}}}},CreateConnection:{input:{type:"structure",required:["Name","AuthorizationType","AuthParameters"],members:{Name:{},Description:{},AuthorizationType:{},AuthParameters:{type:"structure",members:{BasicAuthParameters:{type:"structure",required:["Username","Password"],members:{Username:{},Password:{}}},OAuthParameters:{type:"structure",required:["ClientParameters","AuthorizationEndpoint","HttpMethod"],members:{ClientParameters:{type:"structure",required:["ClientID","ClientSecret"],members:{ClientID:{},ClientSecret:{}}},AuthorizationEndpoint:{},HttpMethod:{},OAuthHttpParameters:{shape:"S14"}}},ApiKeyAuthParameters:{type:"structure",required:["ApiKeyName","ApiKeyValue"],members:{ApiKeyName:{},ApiKeyValue:{}}},InvocationHttpParameters:{shape:"S14"}}}}},output:{type:"structure",members:{ConnectionArn:{},ConnectionState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},CreateEventBus:{input:{type:"structure",required:["Name"],members:{Name:{},EventSourceName:{},Tags:{shape:"S1m"}}},output:{type:"structure",members:{EventBusArn:{}}}},CreatePartnerEventSource:{input:{type:"structure",required:["Name","Account"],members:{Name:{},Account:{}}},output:{type:"structure",members:{EventSourceArn:{}}}},DeactivateEventSource:{input:{type:"structure",required:["Name"],members:{Name:{}}}},DeauthorizeConnection:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ConnectionArn:{},ConnectionState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}},DeleteApiDestination:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteArchive:{input:{type:"structure",required:["ArchiveName"],members:{ArchiveName:{}}},output:{type:"structure",members:{}}},DeleteConnection:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ConnectionArn:{},ConnectionState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}},DeleteEventBus:{input:{type:"structure",required:["Name"],members:{Name:{}}}},DeletePartnerEventSource:{input:{type:"structure",required:["Name","Account"],members:{Name:{},Account:{}}}},DeleteRule:{input:{type:"structure",required:["Name"],members:{Name:{},EventBusName:{},Force:{type:"boolean"}}}},DescribeApiDestination:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ApiDestinationArn:{},Name:{},Description:{},ApiDestinationState:{},ConnectionArn:{},InvocationEndpoint:{},HttpMethod:{},InvocationRateLimitPerSecond:{type:"integer"},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},DescribeArchive:{input:{type:"structure",required:["ArchiveName"],members:{ArchiveName:{}}},output:{type:"structure",members:{ArchiveArn:{},ArchiveName:{},EventSourceArn:{},Description:{},EventPattern:{},State:{},StateReason:{},RetentionDays:{type:"integer"},SizeBytes:{type:"long"},EventCount:{type:"long"},CreationTime:{type:"timestamp"}}}},DescribeConnection:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ConnectionArn:{},Name:{},Description:{},ConnectionState:{},StateReason:{},AuthorizationType:{},SecretArn:{},AuthParameters:{type:"structure",members:{BasicAuthParameters:{type:"structure",members:{Username:{}}},OAuthParameters:{type:"structure",members:{ClientParameters:{type:"structure",members:{ClientID:{}}},AuthorizationEndpoint:{},HttpMethod:{},OAuthHttpParameters:{shape:"S14"}}},ApiKeyAuthParameters:{type:"structure",members:{ApiKeyName:{}}},InvocationHttpParameters:{shape:"S14"}}},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}},DescribeEventBus:{input:{type:"structure",members:{Name:{}}},output:{type:"structure",members:{Name:{},Arn:{},Policy:{}}}},DescribeEventSource:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Arn:{},CreatedBy:{},CreationTime:{type:"timestamp"},ExpirationTime:{type:"timestamp"},Name:{},State:{}}}},DescribePartnerEventSource:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Arn:{},Name:{}}}},DescribeReplay:{input:{type:"structure",required:["ReplayName"],members:{ReplayName:{}}},output:{type:"structure",members:{ReplayName:{},ReplayArn:{},Description:{},State:{},StateReason:{},EventSourceArn:{},Destination:{shape:"S2w"},EventStartTime:{type:"timestamp"},EventEndTime:{type:"timestamp"},EventLastReplayedTime:{type:"timestamp"},ReplayStartTime:{type:"timestamp"},ReplayEndTime:{type:"timestamp"}}}},DescribeRule:{input:{type:"structure",required:["Name"],members:{Name:{},EventBusName:{}}},output:{type:"structure",members:{Name:{},Arn:{},EventPattern:{},ScheduleExpression:{},State:{},Description:{},RoleArn:{},ManagedBy:{},EventBusName:{},CreatedBy:{}}}},DisableRule:{input:{type:"structure",required:["Name"],members:{Name:{},EventBusName:{}}}},EnableRule:{input:{type:"structure",required:["Name"],members:{Name:{},EventBusName:{}}}},ListApiDestinations:{input:{type:"structure",members:{NamePrefix:{},ConnectionArn:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{ApiDestinations:{type:"list",member:{type:"structure",members:{ApiDestinationArn:{},Name:{},ApiDestinationState:{},ConnectionArn:{},InvocationEndpoint:{},HttpMethod:{},InvocationRateLimitPerSecond:{type:"integer"},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},NextToken:{}}}},ListArchives:{input:{type:"structure",members:{NamePrefix:{},EventSourceArn:{},State:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Archives:{type:"list",member:{type:"structure",members:{ArchiveName:{},EventSourceArn:{},State:{},StateReason:{},RetentionDays:{type:"integer"},SizeBytes:{type:"long"},EventCount:{type:"long"},CreationTime:{type:"timestamp"}}}},NextToken:{}}}},ListConnections:{input:{type:"structure",members:{NamePrefix:{},ConnectionState:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Connections:{type:"list",member:{type:"structure",members:{ConnectionArn:{},Name:{},ConnectionState:{},StateReason:{},AuthorizationType:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}},NextToken:{}}}},ListEventBuses:{input:{type:"structure",members:{NamePrefix:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{EventBuses:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},Policy:{}}}},NextToken:{}}}},ListEventSources:{input:{type:"structure",members:{NamePrefix:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{EventSources:{type:"list",member:{type:"structure",members:{Arn:{},CreatedBy:{},CreationTime:{type:"timestamp"},ExpirationTime:{type:"timestamp"},Name:{},State:{}}}},NextToken:{}}}},ListPartnerEventSourceAccounts:{input:{type:"structure",required:["EventSourceName"],members:{EventSourceName:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{PartnerEventSourceAccounts:{type:"list",member:{type:"structure",members:{Account:{},CreationTime:{type:"timestamp"},ExpirationTime:{type:"timestamp"},State:{}}}},NextToken:{}}}},ListPartnerEventSources:{input:{type:"structure",required:["NamePrefix"],members:{NamePrefix:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{PartnerEventSources:{type:"list",member:{type:"structure",members:{Arn:{},Name:{}}}},NextToken:{}}}},ListReplays:{input:{type:"structure",members:{NamePrefix:{},State:{},EventSourceArn:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Replays:{type:"list",member:{type:"structure",members:{ReplayName:{},EventSourceArn:{},State:{},StateReason:{},EventStartTime:{type:"timestamp"},EventEndTime:{type:"timestamp"},EventLastReplayedTime:{type:"timestamp"},ReplayStartTime:{type:"timestamp"},ReplayEndTime:{type:"timestamp"}}}},NextToken:{}}}},ListRuleNamesByTarget:{input:{type:"structure",required:["TargetArn"],members:{TargetArn:{},EventBusName:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{RuleNames:{type:"list",member:{}},NextToken:{}}}},ListRules:{input:{type:"structure",members:{NamePrefix:{},EventBusName:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Rules:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},EventPattern:{},State:{},Description:{},ScheduleExpression:{},RoleArn:{},ManagedBy:{},EventBusName:{}}}},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{}}},output:{type:"structure",members:{Tags:{shape:"S1m"}}}},ListTargetsByRule:{input:{type:"structure",required:["Rule"],members:{Rule:{},EventBusName:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Targets:{shape:"S4l"},NextToken:{}}}},PutEvents:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",members:{Time:{type:"timestamp"},Source:{},Resources:{shape:"S6j"},DetailType:{},Detail:{},EventBusName:{},TraceHeader:{}}}}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},Entries:{type:"list",member:{type:"structure",members:{EventId:{},ErrorCode:{},ErrorMessage:{}}}}}}},PutPartnerEvents:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",members:{Time:{type:"timestamp"},Source:{},Resources:{shape:"S6j"},DetailType:{},Detail:{}}}}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},Entries:{type:"list",member:{type:"structure",members:{EventId:{},ErrorCode:{},ErrorMessage:{}}}}} -}},PutPermission:{input:{type:"structure",members:{EventBusName:{},Action:{},Principal:{},StatementId:{},Condition:{type:"structure",required:["Type","Key","Value"],members:{Type:{},Key:{},Value:{}}},Policy:{}}}},PutRule:{input:{type:"structure",required:["Name"],members:{Name:{},ScheduleExpression:{},EventPattern:{},State:{},Description:{},RoleArn:{},Tags:{shape:"S1m"},EventBusName:{}}},output:{type:"structure",members:{RuleArn:{}}}},PutTargets:{input:{type:"structure",required:["Rule","Targets"],members:{Rule:{},EventBusName:{},Targets:{shape:"S4l"}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},FailedEntries:{type:"list",member:{type:"structure",members:{TargetId:{},ErrorCode:{},ErrorMessage:{}}}}}}},RemovePermission:{input:{type:"structure",members:{StatementId:{},RemoveAllPermissions:{type:"boolean"},EventBusName:{}}}},RemoveTargets:{input:{type:"structure",required:["Rule","Ids"],members:{Rule:{},EventBusName:{},Ids:{type:"list",member:{}},Force:{type:"boolean"}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},FailedEntries:{type:"list",member:{type:"structure",members:{TargetId:{},ErrorCode:{},ErrorMessage:{}}}}}}},StartReplay:{input:{type:"structure",required:["ReplayName","EventSourceArn","EventStartTime","EventEndTime","Destination"],members:{ReplayName:{},Description:{},EventSourceArn:{},EventStartTime:{type:"timestamp"},EventEndTime:{type:"timestamp"},Destination:{shape:"S2w"}}},output:{type:"structure",members:{ReplayArn:{},State:{},StateReason:{},ReplayStartTime:{type:"timestamp"}}}},TagResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"S1m"}}},output:{type:"structure",members:{}}},TestEventPattern:{input:{type:"structure",required:["EventPattern","Event"],members:{EventPattern:{},Event:{}}},output:{type:"structure",members:{Result:{type:"boolean"}}}},UntagResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateApiDestination:{input:{type:"structure",required:["Name"],members:{Name:{},Description:{},ConnectionArn:{},InvocationEndpoint:{},HttpMethod:{},InvocationRateLimitPerSecond:{type:"integer"}}},output:{type:"structure",members:{ApiDestinationArn:{},ApiDestinationState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},UpdateArchive:{input:{type:"structure",required:["ArchiveName"],members:{ArchiveName:{},Description:{},EventPattern:{},RetentionDays:{type:"integer"}}},output:{type:"structure",members:{ArchiveArn:{},State:{},StateReason:{},CreationTime:{type:"timestamp"}}}},UpdateConnection:{input:{type:"structure",required:["Name"],members:{Name:{},Description:{},AuthorizationType:{},AuthParameters:{type:"structure",members:{BasicAuthParameters:{type:"structure",members:{Username:{},Password:{}}},OAuthParameters:{type:"structure",members:{ClientParameters:{type:"structure",members:{ClientID:{},ClientSecret:{}}},AuthorizationEndpoint:{},HttpMethod:{},OAuthHttpParameters:{shape:"S14"}}},ApiKeyAuthParameters:{type:"structure",members:{ApiKeyName:{},ApiKeyValue:{}}},InvocationHttpParameters:{shape:"S14"}}}}},output:{type:"structure",members:{ConnectionArn:{},ConnectionState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}}},shapes:{S14:{type:"structure",members:{HeaderParameters:{type:"list",member:{type:"structure",members:{Key:{},Value:{},IsValueSecret:{type:"boolean"}}}},QueryStringParameters:{type:"list",member:{type:"structure",members:{Key:{},Value:{},IsValueSecret:{type:"boolean"}}}},BodyParameters:{type:"list",member:{type:"structure",members:{Key:{},Value:{},IsValueSecret:{type:"boolean"}}}}}},S1m:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S2w:{type:"structure",required:["Arn"],members:{Arn:{},FilterArns:{type:"list",member:{}}}},S4l:{type:"list",member:{type:"structure",required:["Id","Arn"],members:{Id:{},Arn:{},RoleArn:{},Input:{},InputPath:{},InputTransformer:{type:"structure",required:["InputTemplate"],members:{InputPathsMap:{type:"map",key:{},value:{}},InputTemplate:{}}},KinesisParameters:{type:"structure",required:["PartitionKeyPath"],members:{PartitionKeyPath:{}}},RunCommandParameters:{type:"structure",required:["RunCommandTargets"],members:{RunCommandTargets:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}}}},EcsParameters:{type:"structure",required:["TaskDefinitionArn"],members:{TaskDefinitionArn:{},TaskCount:{type:"integer"},LaunchType:{},NetworkConfiguration:{type:"structure",members:{awsvpcConfiguration:{type:"structure",required:["Subnets"],members:{Subnets:{shape:"S57"},SecurityGroups:{shape:"S57"},AssignPublicIp:{}}}}},PlatformVersion:{},Group:{},CapacityProviderStrategy:{type:"list",member:{type:"structure",required:["capacityProvider"],members:{capacityProvider:{},weight:{type:"integer"},base:{type:"integer"}}}},EnableECSManagedTags:{type:"boolean"},EnableExecuteCommand:{type:"boolean"},PlacementConstraints:{type:"list",member:{type:"structure",members:{type:{},expression:{}}}},PlacementStrategy:{type:"list",member:{type:"structure",members:{type:{},field:{}}}},PropagateTags:{},ReferenceId:{},Tags:{shape:"S1m"}}},BatchParameters:{type:"structure",required:["JobDefinition","JobName"],members:{JobDefinition:{},JobName:{},ArrayProperties:{type:"structure",members:{Size:{type:"integer"}}},RetryStrategy:{type:"structure",members:{Attempts:{type:"integer"}}}}},SqsParameters:{type:"structure",members:{MessageGroupId:{}}},HttpParameters:{type:"structure",members:{PathParameterValues:{type:"list",member:{}},HeaderParameters:{type:"map",key:{},value:{}},QueryStringParameters:{type:"map",key:{},value:{}}}},RedshiftDataParameters:{type:"structure",required:["Database","Sql"],members:{SecretManagerArn:{},Database:{},DbUser:{},Sql:{},StatementName:{},WithEvent:{type:"boolean"}}},SageMakerPipelineParameters:{type:"structure",members:{PipelineParameterList:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}}}},DeadLetterConfig:{type:"structure",members:{Arn:{}}},RetryPolicy:{type:"structure",members:{MaximumRetryAttempts:{type:"integer"},MaximumEventAgeInSeconds:{type:"integer"}}}}}},S57:{type:"list",member:{}},S6j:{type:"list",member:{}}}}},{}],112:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],113:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-08-04",endpointPrefix:"firehose",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Firehose",serviceFullName:"Amazon Kinesis Firehose",serviceId:"Firehose",signatureVersion:"v4",targetPrefix:"Firehose_20150804",uid:"firehose-2015-08-04"},operations:{CreateDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},DeliveryStreamType:{},KinesisStreamSourceConfiguration:{type:"structure",required:["KinesisStreamARN","RoleARN"],members:{KinesisStreamARN:{},RoleARN:{}}},DeliveryStreamEncryptionConfigurationInput:{shape:"S7"},S3DestinationConfiguration:{shape:"Sa",deprecated:!0},ExtendedS3DestinationConfiguration:{type:"structure",required:["RoleARN","BucketARN"],members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupConfiguration:{shape:"Sa"},DataFormatConversionConfiguration:{shape:"Sz"},DynamicPartitioningConfiguration:{shape:"S1o"}}},RedshiftDestinationConfiguration:{type:"structure",required:["RoleARN","ClusterJDBCURL","CopyCommand","Username","Password","S3Configuration"],members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"S1t"},Username:{shape:"S1x"},Password:{shape:"S1y"},RetryOptions:{shape:"S1z"},S3Configuration:{shape:"Sa"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupConfiguration:{shape:"Sa"},CloudWatchLoggingOptions:{shape:"Sl"}}},ElasticsearchDestinationConfiguration:{type:"structure",required:["RoleARN","IndexName","S3Configuration"],members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S28"},RetryOptions:{shape:"S2b"},S3BackupMode:{},S3Configuration:{shape:"Sa"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"},VpcConfiguration:{shape:"S2e"}}},AmazonopensearchserviceDestinationConfiguration:{type:"structure",required:["RoleARN","IndexName","S3Configuration"],members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S2n"},RetryOptions:{shape:"S2q"},S3BackupMode:{},S3Configuration:{shape:"Sa"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"},VpcConfiguration:{shape:"S2e"}}},SplunkDestinationConfiguration:{type:"structure",required:["HECEndpoint","HECEndpointType","HECToken","S3Configuration"],members:{HECEndpoint:{},HECEndpointType:{},HECToken:{},HECAcknowledgmentTimeoutInSeconds:{type:"integer"},RetryOptions:{shape:"S2y"},S3BackupMode:{},S3Configuration:{shape:"Sa"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},HttpEndpointDestinationConfiguration:{type:"structure",required:["EndpointConfiguration","S3Configuration"],members:{EndpointConfiguration:{shape:"S32"},BufferingHints:{shape:"S36"},CloudWatchLoggingOptions:{shape:"Sl"},RequestConfiguration:{shape:"S39"},ProcessingConfiguration:{shape:"Sq"},RoleARN:{},RetryOptions:{shape:"S3f"},S3BackupMode:{},S3Configuration:{shape:"Sa"}}},Tags:{shape:"S3i"}}},output:{type:"structure",members:{DeliveryStreamARN:{}}}},DeleteDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},AllowForceDelete:{type:"boolean"}}},output:{type:"structure",members:{}}},DescribeDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},Limit:{type:"integer"},ExclusiveStartDestinationId:{}}},output:{type:"structure",required:["DeliveryStreamDescription"],members:{DeliveryStreamDescription:{type:"structure",required:["DeliveryStreamName","DeliveryStreamARN","DeliveryStreamStatus","DeliveryStreamType","VersionId","Destinations","HasMoreDestinations"],members:{DeliveryStreamName:{},DeliveryStreamARN:{},DeliveryStreamStatus:{},FailureDescription:{shape:"S3w"},DeliveryStreamEncryptionConfiguration:{type:"structure",members:{KeyARN:{},KeyType:{},Status:{},FailureDescription:{shape:"S3w"}}},DeliveryStreamType:{},VersionId:{},CreateTimestamp:{type:"timestamp"},LastUpdateTimestamp:{type:"timestamp"},Source:{type:"structure",members:{KinesisStreamSourceDescription:{type:"structure",members:{KinesisStreamARN:{},RoleARN:{},DeliveryStartTimestamp:{type:"timestamp"}}}}},Destinations:{type:"list",member:{type:"structure",required:["DestinationId"],members:{DestinationId:{},S3DestinationDescription:{shape:"S47"},ExtendedS3DestinationDescription:{type:"structure",required:["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupDescription:{shape:"S47"},DataFormatConversionConfiguration:{shape:"Sz"},DynamicPartitioningConfiguration:{shape:"S1o"}}},RedshiftDestinationDescription:{type:"structure",required:["RoleARN","ClusterJDBCURL","CopyCommand","Username","S3DestinationDescription"],members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"S1t"},Username:{shape:"S1x"},RetryOptions:{shape:"S1z"},S3DestinationDescription:{shape:"S47"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupDescription:{shape:"S47"},CloudWatchLoggingOptions:{shape:"Sl"}}},ElasticsearchDestinationDescription:{type:"structure",members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S28"},RetryOptions:{shape:"S2b"},S3BackupMode:{},S3DestinationDescription:{shape:"S47"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"},VpcConfigurationDescription:{shape:"S4b"}}},AmazonopensearchserviceDestinationDescription:{type:"structure",members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S2n"},RetryOptions:{shape:"S2q"},S3BackupMode:{},S3DestinationDescription:{shape:"S47"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"},VpcConfigurationDescription:{shape:"S4b"}}},SplunkDestinationDescription:{type:"structure",members:{HECEndpoint:{},HECEndpointType:{},HECToken:{},HECAcknowledgmentTimeoutInSeconds:{type:"integer"},RetryOptions:{shape:"S2y"},S3BackupMode:{},S3DestinationDescription:{shape:"S47"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},HttpEndpointDestinationDescription:{type:"structure",members:{EndpointConfiguration:{type:"structure",members:{Url:{shape:"S33"},Name:{}}},BufferingHints:{shape:"S36"},CloudWatchLoggingOptions:{shape:"Sl"},RequestConfiguration:{shape:"S39"},ProcessingConfiguration:{shape:"Sq"},RoleARN:{},RetryOptions:{shape:"S3f"},S3BackupMode:{},S3DestinationDescription:{shape:"S47"}}}}}},HasMoreDestinations:{type:"boolean"}}}}}},ListDeliveryStreams:{input:{type:"structure",members:{Limit:{type:"integer"},DeliveryStreamType:{},ExclusiveStartDeliveryStreamName:{}}},output:{type:"structure",required:["DeliveryStreamNames","HasMoreDeliveryStreams"],members:{DeliveryStreamNames:{type:"list",member:{}},HasMoreDeliveryStreams:{type:"boolean"}}}},ListTagsForDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},ExclusiveStartTagKey:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Tags","HasMoreTags"],members:{Tags:{type:"list",member:{shape:"S3j"}},HasMoreTags:{type:"boolean"}}}},PutRecord:{input:{type:"structure",required:["DeliveryStreamName","Record"],members:{DeliveryStreamName:{},Record:{shape:"S4p"}}},output:{type:"structure",required:["RecordId"],members:{RecordId:{},Encrypted:{type:"boolean"}}}},PutRecordBatch:{input:{type:"structure",required:["DeliveryStreamName","Records"],members:{DeliveryStreamName:{},Records:{type:"list",member:{shape:"S4p"}}}},output:{type:"structure",required:["FailedPutCount","RequestResponses"],members:{FailedPutCount:{type:"integer"},Encrypted:{type:"boolean"},RequestResponses:{type:"list",member:{type:"structure",members:{RecordId:{},ErrorCode:{},ErrorMessage:{}}}}}}},StartDeliveryStreamEncryption:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},DeliveryStreamEncryptionConfigurationInput:{shape:"S7"}}},output:{type:"structure",members:{}}},StopDeliveryStreamEncryption:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{}}},output:{type:"structure",members:{}}},TagDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName","Tags"],members:{DeliveryStreamName:{},Tags:{shape:"S3i"}}},output:{type:"structure",members:{}}},UntagDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName","TagKeys"],members:{DeliveryStreamName:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateDestination:{input:{type:"structure",required:["DeliveryStreamName","CurrentDeliveryStreamVersionId","DestinationId"],members:{DeliveryStreamName:{},CurrentDeliveryStreamVersionId:{},DestinationId:{},S3DestinationUpdate:{shape:"S5a",deprecated:!0},ExtendedS3DestinationUpdate:{type:"structure",members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupUpdate:{shape:"S5a"},DataFormatConversionConfiguration:{shape:"Sz"},DynamicPartitioningConfiguration:{shape:"S1o"}}},RedshiftDestinationUpdate:{type:"structure",members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"S1t"},Username:{shape:"S1x"},Password:{shape:"S1y"},RetryOptions:{shape:"S1z"},S3Update:{shape:"S5a"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupUpdate:{shape:"S5a"},CloudWatchLoggingOptions:{shape:"Sl"}}},ElasticsearchDestinationUpdate:{type:"structure",members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S28"},RetryOptions:{shape:"S2b"},S3Update:{shape:"S5a"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},AmazonopensearchserviceDestinationUpdate:{type:"structure",members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S2n"},RetryOptions:{shape:"S2q"},S3Update:{shape:"S5a"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},SplunkDestinationUpdate:{type:"structure",members:{HECEndpoint:{},HECEndpointType:{},HECToken:{},HECAcknowledgmentTimeoutInSeconds:{type:"integer"},RetryOptions:{shape:"S2y"},S3BackupMode:{},S3Update:{shape:"S5a"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},HttpEndpointDestinationUpdate:{type:"structure",members:{EndpointConfiguration:{shape:"S32"},BufferingHints:{shape:"S36"},CloudWatchLoggingOptions:{shape:"Sl"},RequestConfiguration:{shape:"S39"},ProcessingConfiguration:{shape:"Sq"},RoleARN:{},RetryOptions:{shape:"S3f"},S3BackupMode:{},S3Update:{shape:"S5a"}}}}},output:{type:"structure",members:{}}}},shapes:{S7:{type:"structure",required:["KeyType"],members:{KeyARN:{},KeyType:{}}},Sa:{type:"structure",required:["RoleARN","BucketARN"],members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"}}},Se:{type:"structure",members:{SizeInMBs:{type:"integer"},IntervalInSeconds:{type:"integer"}}},Si:{type:"structure",members:{NoEncryptionConfig:{},KMSEncryptionConfig:{type:"structure",required:["AWSKMSKeyARN"],members:{AWSKMSKeyARN:{}}}}},Sl:{type:"structure",members:{Enabled:{type:"boolean"},LogGroupName:{},LogStreamName:{}}},Sq:{type:"structure",members:{Enabled:{type:"boolean"},Processors:{type:"list",member:{type:"structure",required:["Type"],members:{Type:{},Parameters:{type:"list",member:{type:"structure",required:["ParameterName","ParameterValue"],members:{ParameterName:{},ParameterValue:{}}}}}}}}},Sz:{type:"structure",members:{SchemaConfiguration:{type:"structure",members:{RoleARN:{},CatalogId:{},DatabaseName:{},TableName:{},Region:{},VersionId:{}}},InputFormatConfiguration:{type:"structure",members:{Deserializer:{type:"structure",members:{OpenXJsonSerDe:{type:"structure",members:{ConvertDotsInJsonKeysToUnderscores:{type:"boolean"},CaseInsensitive:{type:"boolean"},ColumnToJsonKeyMappings:{type:"map",key:{},value:{}}}},HiveJsonSerDe:{type:"structure",members:{TimestampFormats:{type:"list",member:{}}}}}}}},OutputFormatConfiguration:{type:"structure",members:{Serializer:{type:"structure",members:{ParquetSerDe:{type:"structure",members:{BlockSizeBytes:{type:"integer"},PageSizeBytes:{type:"integer"},Compression:{},EnableDictionaryCompression:{type:"boolean"},MaxPaddingBytes:{type:"integer"},WriterVersion:{}}},OrcSerDe:{type:"structure",members:{StripeSizeBytes:{type:"integer"},BlockSizeBytes:{type:"integer"},RowIndexStride:{type:"integer"},EnablePadding:{type:"boolean"},PaddingTolerance:{type:"double"},Compression:{},BloomFilterColumns:{type:"list",member:{}},BloomFilterFalsePositiveProbability:{type:"double"},DictionaryKeyThreshold:{type:"double"},FormatVersion:{}}}}}}},Enabled:{type:"boolean"}}},S1o:{type:"structure",members:{RetryOptions:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},Enabled:{type:"boolean"}}},S1t:{type:"structure",required:["DataTableName"],members:{DataTableName:{},DataTableColumns:{},CopyOptions:{}}},S1x:{type:"string",sensitive:!0},S1y:{type:"string",sensitive:!0},S1z:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S28:{type:"structure",members:{IntervalInSeconds:{type:"integer"},SizeInMBs:{type:"integer"}}},S2b:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S2e:{type:"structure",required:["SubnetIds","RoleARN","SecurityGroupIds"],members:{SubnetIds:{shape:"S2f"},RoleARN:{},SecurityGroupIds:{shape:"S2g"}}},S2f:{type:"list",member:{}},S2g:{type:"list",member:{}},S2n:{type:"structure",members:{IntervalInSeconds:{type:"integer"},SizeInMBs:{type:"integer"}}},S2q:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S2y:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S32:{type:"structure",required:["Url"],members:{Url:{shape:"S33"},Name:{},AccessKey:{type:"string",sensitive:!0}}},S33:{type:"string",sensitive:!0},S36:{type:"structure",members:{SizeInMBs:{type:"integer"},IntervalInSeconds:{type:"integer"}}},S39:{type:"structure",members:{ContentEncoding:{},CommonAttributes:{type:"list",member:{type:"structure",required:["AttributeName","AttributeValue"],members:{AttributeName:{type:"string",sensitive:!0},AttributeValue:{type:"string",sensitive:!0}}}}}},S3f:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S3i:{type:"list",member:{shape:"S3j"}},S3j:{type:"structure",required:["Key"],members:{Key:{},Value:{}}},S3w:{type:"structure",required:["Type","Details"],members:{Type:{},Details:{}}},S47:{type:"structure",required:["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"}}},S4b:{type:"structure",required:["SubnetIds","RoleARN","SecurityGroupIds","VpcId"],members:{SubnetIds:{shape:"S2f"},RoleARN:{},SecurityGroupIds:{shape:"S2g"},VpcId:{}}},S4p:{type:"structure",required:["Data"],members:{Data:{type:"blob"}}},S5a:{type:"structure",members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"}}}}}},{}],114:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],115:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-06-26",endpointPrefix:"forecast",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Forecast Service",serviceId:"forecast",signatureVersion:"v4",signingName:"forecast",targetPrefix:"AmazonForecast",uid:"forecast-2018-06-26"},operations:{CreateAutoPredictor:{input:{type:"structure",required:["PredictorName"],members:{PredictorName:{},ForecastHorizon:{type:"integer"},ForecastTypes:{shape:"S4"},ForecastDimensions:{shape:"S6"},ForecastFrequency:{},DataConfig:{shape:"S8"},EncryptionConfig:{shape:"Si"},ReferencePredictorArn:{},OptimizationMetric:{},ExplainPredictor:{type:"boolean"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{PredictorArn:{}}}},CreateDataset:{input:{type:"structure",required:["DatasetName","Domain","DatasetType","Schema"],members:{DatasetName:{},Domain:{},DatasetType:{},DataFrequency:{},Schema:{shape:"Su"},EncryptionConfig:{shape:"Si"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{DatasetArn:{}}}},CreateDatasetGroup:{input:{type:"structure",required:["DatasetGroupName","Domain"],members:{DatasetGroupName:{},Domain:{},DatasetArns:{shape:"S10"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{DatasetGroupArn:{}}}},CreateDatasetImportJob:{input:{type:"structure",required:["DatasetImportJobName","DatasetArn","DataSource"],members:{DatasetImportJobName:{},DatasetArn:{},DataSource:{shape:"S13"},TimestampFormat:{},TimeZone:{},UseGeolocationForTimeZone:{type:"boolean"},GeolocationFormat:{},Tags:{shape:"Sm"}}},output:{type:"structure",members:{DatasetImportJobArn:{}}}},CreateExplainability:{input:{type:"structure",required:["ExplainabilityName","ResourceArn","ExplainabilityConfig"],members:{ExplainabilityName:{},ResourceArn:{},ExplainabilityConfig:{shape:"S1c"},DataSource:{shape:"S13"},Schema:{shape:"Su"},EnableVisualization:{type:"boolean"},StartDateTime:{},EndDateTime:{},Tags:{shape:"Sm"}}},output:{type:"structure",members:{ExplainabilityArn:{}}}},CreateExplainabilityExport:{input:{type:"structure",required:["ExplainabilityExportName","ExplainabilityArn","Destination"],members:{ExplainabilityExportName:{},ExplainabilityArn:{},Destination:{shape:"S1i"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{ExplainabilityExportArn:{}}}},CreateForecast:{input:{type:"structure",required:["ForecastName","PredictorArn"],members:{ForecastName:{},PredictorArn:{},ForecastTypes:{shape:"S4"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{ForecastArn:{}}}},CreateForecastExportJob:{input:{type:"structure",required:["ForecastExportJobName","ForecastArn","Destination"],members:{ForecastExportJobName:{},ForecastArn:{},Destination:{shape:"S1i"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{ForecastExportJobArn:{}}}},CreatePredictor:{input:{type:"structure",required:["PredictorName","ForecastHorizon","InputDataConfig","FeaturizationConfig"],members:{PredictorName:{},AlgorithmArn:{},ForecastHorizon:{type:"integer"},ForecastTypes:{shape:"S4"},PerformAutoML:{type:"boolean"},AutoMLOverrideStrategy:{},PerformHPO:{type:"boolean"},TrainingParameters:{shape:"S1q"},EvaluationParameters:{shape:"S1t"},HPOConfig:{shape:"S1u"},InputDataConfig:{shape:"S24"},FeaturizationConfig:{shape:"S27"},EncryptionConfig:{shape:"Si"},Tags:{shape:"Sm"},OptimizationMetric:{}}},output:{type:"structure",members:{PredictorArn:{}}}},CreatePredictorBacktestExportJob:{input:{type:"structure",required:["PredictorBacktestExportJobName","PredictorArn","Destination"],members:{PredictorBacktestExportJobName:{},PredictorArn:{},Destination:{shape:"S1i"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{PredictorBacktestExportJobArn:{}}}},DeleteDataset:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{}}},idempotent:!0},DeleteDatasetGroup:{input:{type:"structure",required:["DatasetGroupArn"],members:{DatasetGroupArn:{}}},idempotent:!0},DeleteDatasetImportJob:{input:{type:"structure",required:["DatasetImportJobArn"],members:{DatasetImportJobArn:{}}},idempotent:!0},DeleteExplainability:{input:{type:"structure",required:["ExplainabilityArn"],members:{ExplainabilityArn:{}}},idempotent:!0},DeleteExplainabilityExport:{input:{type:"structure",required:["ExplainabilityExportArn"],members:{ExplainabilityExportArn:{}}},idempotent:!0},DeleteForecast:{input:{type:"structure",required:["ForecastArn"],members:{ForecastArn:{}}},idempotent:!0},DeleteForecastExportJob:{input:{type:"structure",required:["ForecastExportJobArn"],members:{ForecastExportJobArn:{}}},idempotent:!0},DeletePredictor:{input:{type:"structure",required:["PredictorArn"],members:{PredictorArn:{}}},idempotent:!0},DeletePredictorBacktestExportJob:{input:{type:"structure",required:["PredictorBacktestExportJobArn"],members:{PredictorBacktestExportJobArn:{}}},idempotent:!0},DeleteResourceTree:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},idempotent:!0},DescribeAutoPredictor:{input:{type:"structure",required:["PredictorArn"],members:{PredictorArn:{}}},output:{type:"structure",members:{PredictorArn:{},PredictorName:{},ForecastHorizon:{type:"integer"},ForecastTypes:{shape:"S4"},ForecastFrequency:{},ForecastDimensions:{shape:"S6"},DatasetImportJobArns:{shape:"S10"},DataConfig:{shape:"S8"},EncryptionConfig:{shape:"Si"},ReferencePredictorSummary:{shape:"S2t"},EstimatedTimeRemainingInMinutes:{type:"long"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"},OptimizationMetric:{},ExplainabilityInfo:{type:"structure",members:{ExplainabilityArn:{},Status:{}}}}},idempotent:!0},DescribeDataset:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{}}},output:{type:"structure",members:{DatasetArn:{},DatasetName:{},Domain:{},DatasetType:{},DataFrequency:{},Schema:{shape:"Su"},EncryptionConfig:{shape:"Si"},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeDatasetGroup:{input:{type:"structure",required:["DatasetGroupArn"],members:{DatasetGroupArn:{}}},output:{type:"structure",members:{DatasetGroupName:{},DatasetGroupArn:{},DatasetArns:{shape:"S10"},Domain:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeDatasetImportJob:{input:{type:"structure",required:["DatasetImportJobArn"],members:{DatasetImportJobArn:{}}},output:{type:"structure",members:{DatasetImportJobName:{},DatasetImportJobArn:{},DatasetArn:{},TimestampFormat:{},TimeZone:{},UseGeolocationForTimeZone:{type:"boolean"},GeolocationFormat:{},DataSource:{shape:"S13"},EstimatedTimeRemainingInMinutes:{type:"long"},FieldStatistics:{type:"map",key:{},value:{type:"structure",members:{Count:{type:"integer"},CountDistinct:{type:"integer"},CountNull:{type:"integer"},CountNan:{type:"integer"},Min:{},Max:{},Avg:{type:"double"},Stddev:{type:"double"},CountLong:{type:"long"},CountDistinctLong:{type:"long"},CountNullLong:{type:"long"},CountNanLong:{type:"long"}}}},DataSize:{type:"double"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeExplainability:{input:{type:"structure",required:["ExplainabilityArn"],members:{ExplainabilityArn:{}}},output:{type:"structure",members:{ExplainabilityArn:{},ExplainabilityName:{},ResourceArn:{},ExplainabilityConfig:{shape:"S1c"},EnableVisualization:{type:"boolean"},DataSource:{shape:"S13"},Schema:{shape:"Su"},StartDateTime:{},EndDateTime:{},EstimatedTimeRemainingInMinutes:{type:"long"},Message:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeExplainabilityExport:{input:{type:"structure",required:["ExplainabilityExportArn"],members:{ExplainabilityExportArn:{}}},output:{type:"structure",members:{ExplainabilityExportArn:{},ExplainabilityExportName:{},ExplainabilityArn:{},Destination:{shape:"S1i"},Message:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeForecast:{input:{type:"structure",required:["ForecastArn"],members:{ForecastArn:{}}},output:{type:"structure",members:{ForecastArn:{},ForecastName:{},ForecastTypes:{shape:"S4"},PredictorArn:{},DatasetGroupArn:{},EstimatedTimeRemainingInMinutes:{type:"long"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeForecastExportJob:{input:{type:"structure",required:["ForecastExportJobArn"],members:{ForecastExportJobArn:{}}},output:{type:"structure",members:{ForecastExportJobArn:{},ForecastExportJobName:{},ForecastArn:{},Destination:{shape:"S1i"},Message:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribePredictor:{input:{type:"structure",required:["PredictorArn"],members:{PredictorArn:{}}},output:{type:"structure",members:{PredictorArn:{},PredictorName:{},AlgorithmArn:{},AutoMLAlgorithmArns:{shape:"S10"},ForecastHorizon:{type:"integer"},ForecastTypes:{shape:"S4"},PerformAutoML:{type:"boolean"},AutoMLOverrideStrategy:{},PerformHPO:{type:"boolean"},TrainingParameters:{shape:"S1q"},EvaluationParameters:{shape:"S1t"},HPOConfig:{shape:"S1u"},InputDataConfig:{shape:"S24"},FeaturizationConfig:{shape:"S27"},EncryptionConfig:{shape:"Si"},PredictorExecutionDetails:{type:"structure",members:{PredictorExecutions:{type:"list",member:{type:"structure",members:{AlgorithmArn:{},TestWindows:{type:"list",member:{type:"structure",members:{TestWindowStart:{type:"timestamp"},TestWindowEnd:{type:"timestamp"},Status:{},Message:{}}}}}}}}}, -EstimatedTimeRemainingInMinutes:{type:"long"},IsAutoPredictor:{type:"boolean"},DatasetImportJobArns:{shape:"S10"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"},OptimizationMetric:{}}},idempotent:!0},DescribePredictorBacktestExportJob:{input:{type:"structure",required:["PredictorBacktestExportJobArn"],members:{PredictorBacktestExportJobArn:{}}},output:{type:"structure",members:{PredictorBacktestExportJobArn:{},PredictorBacktestExportJobName:{},PredictorArn:{},Destination:{shape:"S1i"},Message:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},GetAccuracyMetrics:{input:{type:"structure",required:["PredictorArn"],members:{PredictorArn:{}}},output:{type:"structure",members:{PredictorEvaluationResults:{type:"list",member:{type:"structure",members:{AlgorithmArn:{},TestWindows:{type:"list",member:{type:"structure",members:{TestWindowStart:{type:"timestamp"},TestWindowEnd:{type:"timestamp"},ItemCount:{type:"integer"},EvaluationType:{},Metrics:{type:"structure",members:{RMSE:{deprecated:!0,deprecatedMessage:"This property is deprecated, please refer to ErrorMetrics for both RMSE and WAPE",type:"double"},WeightedQuantileLosses:{type:"list",member:{type:"structure",members:{Quantile:{type:"double"},LossValue:{type:"double"}}}},ErrorMetrics:{type:"list",member:{type:"structure",members:{ForecastType:{},WAPE:{type:"double"},RMSE:{type:"double"},MASE:{type:"double"},MAPE:{type:"double"}}}},AverageWeightedQuantileLoss:{type:"double"}}}}}}}}},IsAutoPredictor:{type:"boolean"},AutoMLOverrideStrategy:{},OptimizationMetric:{}}},idempotent:!0},ListDatasetGroups:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{DatasetGroups:{type:"list",member:{type:"structure",members:{DatasetGroupArn:{},DatasetGroupName:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListDatasetImportJobs:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{DatasetImportJobs:{type:"list",member:{type:"structure",members:{DatasetImportJobArn:{},DatasetImportJobName:{},DataSource:{shape:"S13"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListDatasets:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Datasets:{type:"list",member:{type:"structure",members:{DatasetArn:{},DatasetName:{},DatasetType:{},Domain:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListExplainabilities:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{Explainabilities:{type:"list",member:{type:"structure",members:{ExplainabilityArn:{},ExplainabilityName:{},ResourceArn:{},ExplainabilityConfig:{shape:"S1c"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListExplainabilityExports:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{ExplainabilityExports:{type:"list",member:{type:"structure",members:{ExplainabilityExportArn:{},ExplainabilityExportName:{},Destination:{shape:"S1i"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListForecastExportJobs:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{ForecastExportJobs:{type:"list",member:{type:"structure",members:{ForecastExportJobArn:{},ForecastExportJobName:{},Destination:{shape:"S1i"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListForecasts:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{Forecasts:{type:"list",member:{type:"structure",members:{ForecastArn:{},ForecastName:{},PredictorArn:{},CreatedUsingAutoPredictor:{type:"boolean"},DatasetGroupArn:{},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListPredictorBacktestExportJobs:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{PredictorBacktestExportJobs:{type:"list",member:{type:"structure",members:{PredictorBacktestExportJobArn:{},PredictorBacktestExportJobName:{},Destination:{shape:"S1i"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListPredictors:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{Predictors:{type:"list",member:{type:"structure",members:{PredictorArn:{},PredictorName:{},DatasetGroupArn:{},IsAutoPredictor:{type:"boolean"},ReferencePredictorSummary:{shape:"S2t"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{Tags:{shape:"Sm"}}}},StopResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},idempotent:!0},TagResource:{input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{},Tags:{shape:"Sm"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{},TagKeys:{type:"list",member:{shape:"So"}}}},output:{type:"structure",members:{}}},UpdateDatasetGroup:{input:{type:"structure",required:["DatasetGroupArn","DatasetArns"],members:{DatasetGroupArn:{},DatasetArns:{shape:"S10"}}},output:{type:"structure",members:{}},idempotent:!0}},shapes:{S4:{type:"list",member:{}},S6:{type:"list",member:{}},S8:{type:"structure",required:["DatasetGroupArn"],members:{DatasetGroupArn:{},AttributeConfigs:{type:"list",member:{type:"structure",required:["AttributeName","Transformations"],members:{AttributeName:{},Transformations:{type:"map",key:{},value:{}}}}},AdditionalDatasets:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Configuration:{type:"map",key:{},value:{shape:"Sh"}}}}}}},Sh:{type:"list",member:{}},Si:{type:"structure",required:["RoleArn","KMSKeyArn"],members:{RoleArn:{},KMSKeyArn:{}}},Sm:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{shape:"So"},Value:{type:"string",sensitive:!0}}}},So:{type:"string",sensitive:!0},Su:{type:"structure",members:{Attributes:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeType:{}}}}}},S10:{type:"list",member:{}},S13:{type:"structure",required:["S3Config"],members:{S3Config:{shape:"S14"}}},S14:{type:"structure",required:["Path","RoleArn"],members:{Path:{},RoleArn:{},KMSKeyArn:{}}},S1c:{type:"structure",required:["TimeSeriesGranularity","TimePointGranularity"],members:{TimeSeriesGranularity:{},TimePointGranularity:{}}},S1i:{type:"structure",required:["S3Config"],members:{S3Config:{shape:"S14"}}},S1q:{type:"map",key:{},value:{}},S1t:{type:"structure",members:{NumberOfBacktestWindows:{type:"integer"},BackTestWindowOffset:{type:"integer"}}},S1u:{type:"structure",members:{ParameterRanges:{type:"structure",members:{CategoricalParameterRanges:{type:"list",member:{type:"structure",required:["Name","Values"],members:{Name:{},Values:{shape:"Sh"}}}},ContinuousParameterRanges:{type:"list",member:{type:"structure",required:["Name","MaxValue","MinValue"],members:{Name:{},MaxValue:{type:"double"},MinValue:{type:"double"},ScalingType:{}}}},IntegerParameterRanges:{type:"list",member:{type:"structure",required:["Name","MaxValue","MinValue"],members:{Name:{},MaxValue:{type:"integer"},MinValue:{type:"integer"},ScalingType:{}}}}}}}},S24:{type:"structure",required:["DatasetGroupArn"],members:{DatasetGroupArn:{},SupplementaryFeatures:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}}}},S27:{type:"structure",required:["ForecastFrequency"],members:{ForecastFrequency:{},ForecastDimensions:{shape:"S6"},Featurizations:{type:"list",member:{type:"structure",required:["AttributeName"],members:{AttributeName:{},FeaturizationPipeline:{type:"list",member:{type:"structure",required:["FeaturizationMethodName"],members:{FeaturizationMethodName:{},FeaturizationMethodParameters:{type:"map",key:{},value:{}}}}}}}}}},S2t:{type:"structure",members:{Arn:{},State:{}}},S4a:{type:"list",member:{type:"structure",required:["Key","Value","Condition"],members:{Key:{},Value:{},Condition:{}}}}}}},{}],116:[function(e,t,r){t.exports={pagination:{ListDatasetGroups:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DatasetGroups"},ListDatasetImportJobs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DatasetImportJobs"},ListDatasets:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Datasets"},ListForecastExportJobs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ForecastExportJobs"},ListForecasts:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Forecasts"},ListPredictorBacktestExportJobs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"PredictorBacktestExportJobs"},ListPredictors:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Predictors"}}}},{}],117:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-06-26",endpointPrefix:"forecastquery",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Forecast Query Service",serviceId:"forecastquery",signatureVersion:"v4",signingName:"forecast",targetPrefix:"AmazonForecastRuntime",uid:"forecastquery-2018-06-26"},operations:{QueryForecast:{input:{type:"structure",required:["ForecastArn","Filters"],members:{ForecastArn:{},StartDate:{},EndDate:{},Filters:{type:"map",key:{},value:{}},NextToken:{}}},output:{type:"structure",members:{Forecast:{type:"structure",members:{Predictions:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{Timestamp:{},Value:{type:"double"}}}}}}}}}}},shapes:{}}},{}],118:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],119:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-10-01",endpointPrefix:"gamelift",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon GameLift",serviceId:"GameLift",signatureVersion:"v4",targetPrefix:"GameLift",uid:"gamelift-2015-10-01"},operations:{AcceptMatch:{input:{type:"structure",required:["TicketId","PlayerIds","AcceptanceType"],members:{TicketId:{},PlayerIds:{shape:"S3"},AcceptanceType:{}}},output:{type:"structure",members:{}}},ClaimGameServer:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},GameServerId:{},GameServerData:{}}},output:{type:"structure",members:{GameServer:{shape:"Sc"}}}},CreateAlias:{input:{type:"structure",required:["Name","RoutingStrategy"],members:{Name:{},Description:{},RoutingStrategy:{shape:"Sm"},Tags:{shape:"Sq"}}},output:{type:"structure",members:{Alias:{shape:"Sv"}}}},CreateBuild:{input:{type:"structure",members:{Name:{},Version:{},StorageLocation:{shape:"Sz"},OperatingSystem:{},Tags:{shape:"Sq"}}},output:{type:"structure",members:{Build:{shape:"S13"},UploadCredentials:{shape:"S18"},StorageLocation:{shape:"Sz"}}}},CreateFleet:{input:{type:"structure",required:["Name","EC2InstanceType"],members:{Name:{},Description:{},BuildId:{},ScriptId:{},ServerLaunchPath:{},ServerLaunchParameters:{},LogPaths:{shape:"S3"},EC2InstanceType:{},EC2InboundPermissions:{shape:"S1f"},NewGameSessionProtectionPolicy:{},RuntimeConfiguration:{shape:"S1l"},ResourceCreationLimitPolicy:{shape:"S1r"},MetricGroups:{shape:"S1t"},PeerVpcAwsAccountId:{},PeerVpcId:{},FleetType:{},InstanceRoleArn:{},CertificateConfiguration:{shape:"S1w"},Locations:{shape:"S1y"},Tags:{shape:"Sq"}}},output:{type:"structure",members:{FleetAttributes:{shape:"S22"},LocationStates:{shape:"S29"}}}},CreateFleetLocations:{input:{type:"structure",required:["FleetId","Locations"],members:{FleetId:{},Locations:{shape:"S1y"}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},LocationStates:{shape:"S29"}}}},CreateGameServerGroup:{input:{type:"structure",required:["GameServerGroupName","RoleArn","MinSize","MaxSize","LaunchTemplate","InstanceDefinitions"],members:{GameServerGroupName:{},RoleArn:{},MinSize:{type:"integer"},MaxSize:{type:"integer"},LaunchTemplate:{type:"structure",members:{LaunchTemplateId:{},LaunchTemplateName:{},Version:{}}},InstanceDefinitions:{shape:"S2k"},AutoScalingPolicy:{type:"structure",required:["TargetTrackingConfiguration"],members:{EstimatedInstanceWarmup:{type:"integer"},TargetTrackingConfiguration:{type:"structure",required:["TargetValue"],members:{TargetValue:{type:"double"}}}}},BalancingStrategy:{},GameServerProtectionPolicy:{},VpcSubnets:{type:"list",member:{}},Tags:{shape:"Sq"}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},CreateGameSession:{input:{type:"structure",required:["MaximumPlayerSessionCount"],members:{FleetId:{},AliasId:{},MaximumPlayerSessionCount:{type:"integer"},Name:{},GameProperties:{shape:"S33"},CreatorId:{},GameSessionId:{},IdempotencyToken:{},GameSessionData:{},Location:{}}},output:{type:"structure",members:{GameSession:{shape:"S3a"}}}},CreateGameSessionQueue:{input:{type:"structure",required:["Name"],members:{Name:{},TimeoutInSeconds:{type:"integer"},PlayerLatencyPolicies:{shape:"S3j"},Destinations:{shape:"S3l"},FilterConfiguration:{shape:"S3o"},PriorityConfiguration:{shape:"S3q"},CustomEventData:{},NotificationTarget:{},Tags:{shape:"Sq"}}},output:{type:"structure",members:{GameSessionQueue:{shape:"S3w"}}}},CreateMatchmakingConfiguration:{input:{type:"structure",required:["Name","RequestTimeoutSeconds","AcceptanceRequired","RuleSetName"],members:{Name:{},Description:{},GameSessionQueueArns:{shape:"S3z"},RequestTimeoutSeconds:{type:"integer"},AcceptanceTimeoutSeconds:{type:"integer"},AcceptanceRequired:{type:"boolean"},RuleSetName:{},NotificationTarget:{},AdditionalPlayerCount:{type:"integer"},CustomEventData:{},GameProperties:{shape:"S33"},GameSessionData:{},BackfillMode:{},FlexMatchMode:{},Tags:{shape:"Sq"}}},output:{type:"structure",members:{Configuration:{shape:"S4a"}}}},CreateMatchmakingRuleSet:{input:{type:"structure",required:["Name","RuleSetBody"],members:{Name:{},RuleSetBody:{},Tags:{shape:"Sq"}}},output:{type:"structure",required:["RuleSet"],members:{RuleSet:{shape:"S4g"}}}},CreatePlayerSession:{input:{type:"structure",required:["GameSessionId","PlayerId"],members:{GameSessionId:{},PlayerId:{},PlayerData:{}}},output:{type:"structure",members:{PlayerSession:{shape:"S4k"}}}},CreatePlayerSessions:{input:{type:"structure",required:["GameSessionId","PlayerIds"],members:{GameSessionId:{},PlayerIds:{type:"list",member:{}},PlayerDataMap:{type:"map",key:{},value:{}}}},output:{type:"structure",members:{PlayerSessions:{shape:"S4r"}}}},CreateScript:{input:{type:"structure",members:{Name:{},Version:{},StorageLocation:{shape:"Sz"},ZipFile:{type:"blob"},Tags:{shape:"Sq"}}},output:{type:"structure",members:{Script:{shape:"S4v"}}}},CreateVpcPeeringAuthorization:{input:{type:"structure",required:["GameLiftAwsAccountId","PeerVpcId"],members:{GameLiftAwsAccountId:{},PeerVpcId:{}}},output:{type:"structure",members:{VpcPeeringAuthorization:{shape:"S4y"}}}},CreateVpcPeeringConnection:{input:{type:"structure",required:["FleetId","PeerVpcAwsAccountId","PeerVpcId"],members:{FleetId:{},PeerVpcAwsAccountId:{},PeerVpcId:{}}},output:{type:"structure",members:{}}},DeleteAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}}},DeleteBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}}},DeleteFleet:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}}},DeleteFleetLocations:{input:{type:"structure",required:["FleetId","Locations"],members:{FleetId:{},Locations:{shape:"S3p"}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},LocationStates:{shape:"S29"}}}},DeleteGameServerGroup:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},DeleteOption:{}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},DeleteGameSessionQueue:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteMatchmakingConfiguration:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteMatchmakingRuleSet:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteScalingPolicy:{input:{type:"structure",required:["Name","FleetId"],members:{Name:{},FleetId:{}}}},DeleteScript:{input:{type:"structure",required:["ScriptId"],members:{ScriptId:{}}}},DeleteVpcPeeringAuthorization:{input:{type:"structure",required:["GameLiftAwsAccountId","PeerVpcId"],members:{GameLiftAwsAccountId:{},PeerVpcId:{}}},output:{type:"structure",members:{}}},DeleteVpcPeeringConnection:{input:{type:"structure",required:["FleetId","VpcPeeringConnectionId"],members:{FleetId:{},VpcPeeringConnectionId:{}}},output:{type:"structure",members:{}}},DeregisterGameServer:{input:{type:"structure",required:["GameServerGroupName","GameServerId"],members:{GameServerGroupName:{},GameServerId:{}}}},DescribeAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}},output:{type:"structure",members:{Alias:{shape:"Sv"}}}},DescribeBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}},output:{type:"structure",members:{Build:{shape:"S13"}}}},DescribeEC2InstanceLimits:{input:{type:"structure",members:{EC2InstanceType:{},Location:{}}},output:{type:"structure",members:{EC2InstanceLimits:{type:"list",member:{type:"structure",members:{EC2InstanceType:{},CurrentInstances:{type:"integer"},InstanceLimit:{type:"integer"},Location:{}}}}}}},DescribeFleetAttributes:{input:{type:"structure",members:{FleetIds:{shape:"S5x"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetAttributes:{type:"list",member:{shape:"S22"}},NextToken:{}}}},DescribeFleetCapacity:{input:{type:"structure",members:{FleetIds:{shape:"S5x"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetCapacity:{type:"list",member:{shape:"S63"}},NextToken:{}}}},DescribeFleetEvents:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Events:{type:"list",member:{type:"structure",members:{EventId:{},ResourceId:{},EventCode:{},Message:{},EventTime:{type:"timestamp"},PreSignedLogUrl:{}}}},NextToken:{}}}},DescribeFleetLocationAttributes:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},Locations:{shape:"S3p"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},LocationAttributes:{type:"list",member:{type:"structure",members:{LocationState:{shape:"S2a"},StoppedActions:{shape:"S27"},UpdateStatus:{}}}},NextToken:{}}}},DescribeFleetLocationCapacity:{input:{type:"structure",required:["FleetId","Location"],members:{FleetId:{},Location:{}}},output:{type:"structure",members:{FleetCapacity:{shape:"S63"}}}},DescribeFleetLocationUtilization:{input:{type:"structure",required:["FleetId","Location"],members:{FleetId:{},Location:{}}},output:{type:"structure",members:{FleetUtilization:{shape:"S6j"}}}},DescribeFleetPortSettings:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},Location:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},InboundPermissions:{shape:"S1f"},UpdateStatus:{},Location:{}}}},DescribeFleetUtilization:{input:{type:"structure",members:{FleetIds:{shape:"S5x"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetUtilization:{type:"list",member:{shape:"S6j"}},NextToken:{}}}},DescribeGameServer:{input:{type:"structure",required:["GameServerGroupName","GameServerId"],members:{GameServerGroupName:{},GameServerId:{}}},output:{type:"structure",members:{GameServer:{shape:"Sc"}}}},DescribeGameServerGroup:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},DescribeGameServerInstances:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},InstanceIds:{type:"list",member:{}},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameServerInstances:{type:"list",member:{type:"structure",members:{GameServerGroupName:{},GameServerGroupArn:{},InstanceId:{},InstanceStatus:{}}}},NextToken:{}}}},DescribeGameSessionDetails:{input:{type:"structure",members:{FleetId:{},GameSessionId:{},AliasId:{},Location:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessionDetails:{type:"list",member:{type:"structure",members:{GameSession:{shape:"S3a"},ProtectionPolicy:{}}}},NextToken:{}}}},DescribeGameSessionPlacement:{input:{type:"structure",required:["PlacementId"],members:{PlacementId:{}}},output:{type:"structure",members:{GameSessionPlacement:{shape:"S75"}}}},DescribeGameSessionQueues:{input:{type:"structure",members:{Names:{type:"list",member:{}},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessionQueues:{type:"list",member:{shape:"S3w"}},NextToken:{}}}},DescribeGameSessions:{input:{type:"structure",members:{FleetId:{},GameSessionId:{},AliasId:{},Location:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessions:{shape:"S7i"},NextToken:{}}}},DescribeInstances:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},InstanceId:{},Limit:{type:"integer"},NextToken:{},Location:{}}},output:{type:"structure",members:{Instances:{type:"list",member:{type:"structure",members:{FleetId:{},FleetArn:{},InstanceId:{},IpAddress:{},DnsName:{},OperatingSystem:{},Type:{},Status:{},CreationTime:{type:"timestamp"},Location:{}}}},NextToken:{}}}},DescribeMatchmaking:{input:{type:"structure",required:["TicketIds"],members:{TicketIds:{type:"list",member:{}}}},output:{type:"structure",members:{TicketList:{type:"list",member:{shape:"S7t"}}}}},DescribeMatchmakingConfigurations:{input:{type:"structure",members:{Names:{type:"list",member:{}},RuleSetName:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Configurations:{type:"list",member:{shape:"S4a"}},NextToken:{}}}},DescribeMatchmakingRuleSets:{input:{type:"structure",members:{Names:{type:"list",member:{}},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["RuleSets"],members:{RuleSets:{type:"list",member:{shape:"S4g"}},NextToken:{}}}},DescribePlayerSessions:{input:{type:"structure",members:{GameSessionId:{},PlayerId:{},PlayerSessionId:{},PlayerSessionStatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{PlayerSessions:{shape:"S4r"},NextToken:{}}}},DescribeRuntimeConfiguration:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}},output:{type:"structure",members:{RuntimeConfiguration:{shape:"S1l"}}}},DescribeScalingPolicies:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{},Location:{}}},output:{type:"structure",members:{ScalingPolicies:{type:"list",member:{type:"structure",members:{FleetId:{},FleetArn:{},Name:{},Status:{},ScalingAdjustment:{type:"integer"},ScalingAdjustmentType:{},ComparisonOperator:{},Threshold:{type:"double"},EvaluationPeriods:{type:"integer"},MetricName:{},PolicyType:{},TargetConfiguration:{shape:"S8u"},UpdateStatus:{},Location:{}}}},NextToken:{}}}},DescribeScript:{input:{type:"structure",required:["ScriptId"],members:{ScriptId:{}}},output:{type:"structure",members:{Script:{shape:"S4v"}}}},DescribeVpcPeeringAuthorizations:{input:{type:"structure",members:{}},output:{type:"structure",members:{VpcPeeringAuthorizations:{type:"list",member:{shape:"S4y"}}}}},DescribeVpcPeeringConnections:{input:{type:"structure",members:{FleetId:{}}},output:{type:"structure",members:{VpcPeeringConnections:{type:"list",member:{type:"structure",members:{FleetId:{},FleetArn:{},IpV4CidrBlock:{},VpcPeeringConnectionId:{},Status:{type:"structure",members:{Code:{},Message:{}}},PeerVpcId:{},GameLiftVpcId:{}}}}}}},GetGameSessionLogUrl:{input:{type:"structure",required:["GameSessionId"],members:{GameSessionId:{}}},output:{type:"structure",members:{PreSignedUrl:{}}}},GetInstanceAccess:{input:{type:"structure",required:["FleetId","InstanceId"],members:{FleetId:{},InstanceId:{}}},output:{type:"structure",members:{InstanceAccess:{type:"structure",members:{FleetId:{},InstanceId:{},IpAddress:{},OperatingSystem:{},Credentials:{type:"structure",members:{UserName:{},Secret:{}},sensitive:!0}}}}}},ListAliases:{input:{type:"structure",members:{RoutingStrategyType:{},Name:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Aliases:{type:"list",member:{shape:"Sv"}},NextToken:{}}}},ListBuilds:{input:{type:"structure",members:{Status:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Builds:{type:"list",member:{shape:"S13"}},NextToken:{}}}},ListFleets:{input:{type:"structure",members:{BuildId:{},ScriptId:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetIds:{type:"list",member:{}},NextToken:{}}}},ListGameServerGroups:{input:{type:"structure",members:{Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameServerGroups:{type:"list",member:{shape:"S2w"}},NextToken:{}}}},ListGameServers:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},SortOrder:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameServers:{type:"list",member:{shape:"Sc"}},NextToken:{}}}},ListScripts:{input:{type:"structure",members:{Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Scripts:{type:"list",member:{shape:"S4v"}},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{}}},output:{type:"structure",members:{Tags:{shape:"Sq"}}}},PutScalingPolicy:{input:{type:"structure",required:["Name","FleetId","MetricName"],members:{Name:{},FleetId:{},ScalingAdjustment:{type:"integer"},ScalingAdjustmentType:{},Threshold:{type:"double"},ComparisonOperator:{},EvaluationPeriods:{type:"integer"},MetricName:{},PolicyType:{},TargetConfiguration:{shape:"S8u"}}},output:{type:"structure",members:{Name:{}}}},RegisterGameServer:{input:{type:"structure",required:["GameServerGroupName","GameServerId","InstanceId"],members:{GameServerGroupName:{},GameServerId:{},InstanceId:{},ConnectionInfo:{},GameServerData:{}}},output:{type:"structure",members:{GameServer:{shape:"Sc"}}}},RequestUploadCredentials:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}},output:{type:"structure",members:{UploadCredentials:{shape:"S18"},StorageLocation:{shape:"Sz"}}}},ResolveAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{}}}},ResumeGameServerGroup:{input:{type:"structure",required:["GameServerGroupName","ResumeActions"],members:{GameServerGroupName:{},ResumeActions:{shape:"S2z"}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},SearchGameSessions:{input:{type:"structure",members:{FleetId:{},AliasId:{},Location:{},FilterExpression:{},SortExpression:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessions:{shape:"S7i"},NextToken:{}}}},StartFleetActions:{input:{type:"structure",required:["FleetId","Actions"],members:{FleetId:{},Actions:{shape:"S27"},Location:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{}}}},StartGameSessionPlacement:{input:{type:"structure",required:["PlacementId","GameSessionQueueName","MaximumPlayerSessionCount"],members:{PlacementId:{},GameSessionQueueName:{},GameProperties:{shape:"S33"},MaximumPlayerSessionCount:{type:"integer"},GameSessionName:{},PlayerLatencies:{shape:"S77"},DesiredPlayerSessions:{type:"list",member:{type:"structure",members:{PlayerId:{},PlayerData:{}}}},GameSessionData:{}}},output:{type:"structure",members:{GameSessionPlacement:{shape:"S75"}}}},StartMatchBackfill:{input:{type:"structure",required:["ConfigurationName","Players"],members:{TicketId:{},ConfigurationName:{},GameSessionArn:{},Players:{shape:"S7w"}}},output:{type:"structure",members:{MatchmakingTicket:{shape:"S7t"}}}},StartMatchmaking:{input:{type:"structure",required:["ConfigurationName","Players"],members:{TicketId:{},ConfigurationName:{},Players:{shape:"S7w"}}},output:{type:"structure",members:{MatchmakingTicket:{shape:"S7t"}}}},StopFleetActions:{input:{type:"structure",required:["FleetId","Actions"],members:{FleetId:{},Actions:{shape:"S27"},Location:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{}}}},StopGameSessionPlacement:{input:{type:"structure",required:["PlacementId"],members:{PlacementId:{}}},output:{type:"structure",members:{GameSessionPlacement:{shape:"S75"}}}},StopMatchmaking:{input:{type:"structure",required:["TicketId"],members:{TicketId:{}}},output:{type:"structure",members:{}}},SuspendGameServerGroup:{input:{type:"structure",required:["GameServerGroupName","SuspendActions"],members:{GameServerGroupName:{},SuspendActions:{shape:"S2z"}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},TagResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"Sq"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{},Name:{},Description:{},RoutingStrategy:{shape:"Sm"}}},output:{type:"structure",members:{Alias:{shape:"Sv"}}}},UpdateBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{},Name:{},Version:{}}},output:{type:"structure",members:{Build:{shape:"S13"}}}},UpdateFleetAttributes:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},Name:{},Description:{},NewGameSessionProtectionPolicy:{},ResourceCreationLimitPolicy:{shape:"S1r"},MetricGroups:{shape:"S1t"}}},output:{type:"structure",members:{FleetId:{}}}},UpdateFleetCapacity:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},DesiredInstances:{type:"integer"},MinSize:{type:"integer"},MaxSize:{type:"integer"},Location:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},Location:{}}}},UpdateFleetPortSettings:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},InboundPermissionAuthorizations:{shape:"S1f"},InboundPermissionRevocations:{shape:"S1f"}}},output:{type:"structure",members:{FleetId:{}}}},UpdateGameServer:{input:{type:"structure",required:["GameServerGroupName","GameServerId"],members:{GameServerGroupName:{},GameServerId:{},GameServerData:{},UtilizationStatus:{},HealthCheck:{}}},output:{type:"structure",members:{GameServer:{shape:"Sc"}}}},UpdateGameServerGroup:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},RoleArn:{},InstanceDefinitions:{shape:"S2k"},GameServerProtectionPolicy:{},BalancingStrategy:{}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},UpdateGameSession:{input:{type:"structure",required:["GameSessionId"],members:{GameSessionId:{}, -MaximumPlayerSessionCount:{type:"integer"},Name:{},PlayerSessionCreationPolicy:{},ProtectionPolicy:{}}},output:{type:"structure",members:{GameSession:{shape:"S3a"}}}},UpdateGameSessionQueue:{input:{type:"structure",required:["Name"],members:{Name:{},TimeoutInSeconds:{type:"integer"},PlayerLatencyPolicies:{shape:"S3j"},Destinations:{shape:"S3l"},FilterConfiguration:{shape:"S3o"},PriorityConfiguration:{shape:"S3q"},CustomEventData:{},NotificationTarget:{}}},output:{type:"structure",members:{GameSessionQueue:{shape:"S3w"}}}},UpdateMatchmakingConfiguration:{input:{type:"structure",required:["Name"],members:{Name:{},Description:{},GameSessionQueueArns:{shape:"S3z"},RequestTimeoutSeconds:{type:"integer"},AcceptanceTimeoutSeconds:{type:"integer"},AcceptanceRequired:{type:"boolean"},RuleSetName:{},NotificationTarget:{},AdditionalPlayerCount:{type:"integer"},CustomEventData:{},GameProperties:{shape:"S33"},GameSessionData:{},BackfillMode:{},FlexMatchMode:{}}},output:{type:"structure",members:{Configuration:{shape:"S4a"}}}},UpdateRuntimeConfiguration:{input:{type:"structure",required:["FleetId","RuntimeConfiguration"],members:{FleetId:{},RuntimeConfiguration:{shape:"S1l"}}},output:{type:"structure",members:{RuntimeConfiguration:{shape:"S1l"}}}},UpdateScript:{input:{type:"structure",required:["ScriptId"],members:{ScriptId:{},Name:{},Version:{},StorageLocation:{shape:"Sz"},ZipFile:{type:"blob"}}},output:{type:"structure",members:{Script:{shape:"S4v"}}}},ValidateMatchmakingRuleSet:{input:{type:"structure",required:["RuleSetBody"],members:{RuleSetBody:{}}},output:{type:"structure",members:{Valid:{type:"boolean"}}}}},shapes:{S3:{type:"list",member:{}},Sc:{type:"structure",members:{GameServerGroupName:{},GameServerGroupArn:{},GameServerId:{},InstanceId:{},ConnectionInfo:{},GameServerData:{},ClaimStatus:{},UtilizationStatus:{},RegistrationTime:{type:"timestamp"},LastClaimTime:{type:"timestamp"},LastHealthCheckTime:{type:"timestamp"}}},Sm:{type:"structure",members:{Type:{},FleetId:{},Message:{}}},Sq:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Sv:{type:"structure",members:{AliasId:{},Name:{},AliasArn:{},Description:{},RoutingStrategy:{shape:"Sm"},CreationTime:{type:"timestamp"},LastUpdatedTime:{type:"timestamp"}}},Sz:{type:"structure",members:{Bucket:{},Key:{},RoleArn:{},ObjectVersion:{}}},S13:{type:"structure",members:{BuildId:{},BuildArn:{},Name:{},Version:{},Status:{},SizeOnDisk:{type:"long"},OperatingSystem:{},CreationTime:{type:"timestamp"}}},S18:{type:"structure",members:{AccessKeyId:{},SecretAccessKey:{},SessionToken:{}},sensitive:!0},S1f:{type:"list",member:{type:"structure",required:["FromPort","ToPort","IpRange","Protocol"],members:{FromPort:{type:"integer"},ToPort:{type:"integer"},IpRange:{},Protocol:{}}}},S1l:{type:"structure",members:{ServerProcesses:{type:"list",member:{type:"structure",required:["LaunchPath","ConcurrentExecutions"],members:{LaunchPath:{},Parameters:{},ConcurrentExecutions:{type:"integer"}}}},MaxConcurrentGameSessionActivations:{type:"integer"},GameSessionActivationTimeoutSeconds:{type:"integer"}}},S1r:{type:"structure",members:{NewGameSessionsPerCreator:{type:"integer"},PolicyPeriodInMinutes:{type:"integer"}}},S1t:{type:"list",member:{}},S1w:{type:"structure",required:["CertificateType"],members:{CertificateType:{}}},S1y:{type:"list",member:{type:"structure",members:{Location:{}}}},S22:{type:"structure",members:{FleetId:{},FleetArn:{},FleetType:{},InstanceType:{},Description:{},Name:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},Status:{},BuildId:{},BuildArn:{},ScriptId:{},ScriptArn:{},ServerLaunchPath:{},ServerLaunchParameters:{},LogPaths:{shape:"S3"},NewGameSessionProtectionPolicy:{},OperatingSystem:{},ResourceCreationLimitPolicy:{shape:"S1r"},MetricGroups:{shape:"S1t"},StoppedActions:{shape:"S27"},InstanceRoleArn:{},CertificateConfiguration:{shape:"S1w"}}},S27:{type:"list",member:{}},S29:{type:"list",member:{shape:"S2a"}},S2a:{type:"structure",members:{Location:{},Status:{}}},S2k:{type:"list",member:{type:"structure",required:["InstanceType"],members:{InstanceType:{},WeightedCapacity:{}}}},S2w:{type:"structure",members:{GameServerGroupName:{},GameServerGroupArn:{},RoleArn:{},InstanceDefinitions:{shape:"S2k"},BalancingStrategy:{},GameServerProtectionPolicy:{},AutoScalingGroupArn:{},Status:{},StatusReason:{},SuspendedActions:{shape:"S2z"},CreationTime:{type:"timestamp"},LastUpdatedTime:{type:"timestamp"}}},S2z:{type:"list",member:{}},S33:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S3a:{type:"structure",members:{GameSessionId:{},Name:{},FleetId:{},FleetArn:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},CurrentPlayerSessionCount:{type:"integer"},MaximumPlayerSessionCount:{type:"integer"},Status:{},StatusReason:{},GameProperties:{shape:"S33"},IpAddress:{},DnsName:{},Port:{type:"integer"},PlayerSessionCreationPolicy:{},CreatorId:{},GameSessionData:{},MatchmakerData:{},Location:{}}},S3j:{type:"list",member:{type:"structure",members:{MaximumIndividualPlayerLatencyMilliseconds:{type:"integer"},PolicyDurationSeconds:{type:"integer"}}}},S3l:{type:"list",member:{type:"structure",members:{DestinationArn:{}}}},S3o:{type:"structure",members:{AllowedLocations:{shape:"S3p"}}},S3p:{type:"list",member:{}},S3q:{type:"structure",members:{PriorityOrder:{type:"list",member:{}},LocationOrder:{shape:"S3p"}}},S3w:{type:"structure",members:{Name:{},GameSessionQueueArn:{},TimeoutInSeconds:{type:"integer"},PlayerLatencyPolicies:{shape:"S3j"},Destinations:{shape:"S3l"},FilterConfiguration:{shape:"S3o"},PriorityConfiguration:{shape:"S3q"},CustomEventData:{},NotificationTarget:{}}},S3z:{type:"list",member:{}},S4a:{type:"structure",members:{Name:{},ConfigurationArn:{},Description:{},GameSessionQueueArns:{shape:"S3z"},RequestTimeoutSeconds:{type:"integer"},AcceptanceTimeoutSeconds:{type:"integer"},AcceptanceRequired:{type:"boolean"},RuleSetName:{},RuleSetArn:{},NotificationTarget:{},AdditionalPlayerCount:{type:"integer"},CustomEventData:{},CreationTime:{type:"timestamp"},GameProperties:{shape:"S33"},GameSessionData:{},BackfillMode:{},FlexMatchMode:{}}},S4g:{type:"structure",required:["RuleSetBody"],members:{RuleSetName:{},RuleSetArn:{},RuleSetBody:{},CreationTime:{type:"timestamp"}}},S4k:{type:"structure",members:{PlayerSessionId:{},PlayerId:{},GameSessionId:{},FleetId:{},FleetArn:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},Status:{},IpAddress:{},DnsName:{},Port:{type:"integer"},PlayerData:{}}},S4r:{type:"list",member:{shape:"S4k"}},S4v:{type:"structure",members:{ScriptId:{},ScriptArn:{},Name:{},Version:{},SizeOnDisk:{type:"long"},CreationTime:{type:"timestamp"},StorageLocation:{shape:"Sz"}}},S4y:{type:"structure",members:{GameLiftAwsAccountId:{},PeerVpcAwsAccountId:{},PeerVpcId:{},CreationTime:{type:"timestamp"},ExpirationTime:{type:"timestamp"}}},S5x:{type:"list",member:{}},S63:{type:"structure",members:{FleetId:{},FleetArn:{},InstanceType:{},InstanceCounts:{type:"structure",members:{DESIRED:{type:"integer"},MINIMUM:{type:"integer"},MAXIMUM:{type:"integer"},PENDING:{type:"integer"},ACTIVE:{type:"integer"},IDLE:{type:"integer"},TERMINATING:{type:"integer"}}},Location:{}}},S6j:{type:"structure",members:{FleetId:{},FleetArn:{},ActiveServerProcessCount:{type:"integer"},ActiveGameSessionCount:{type:"integer"},CurrentPlayerSessionCount:{type:"integer"},MaximumPlayerSessionCount:{type:"integer"},Location:{}}},S75:{type:"structure",members:{PlacementId:{},GameSessionQueueName:{},Status:{},GameProperties:{shape:"S33"},MaximumPlayerSessionCount:{type:"integer"},GameSessionName:{},GameSessionId:{},GameSessionArn:{},GameSessionRegion:{},PlayerLatencies:{shape:"S77"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},IpAddress:{},DnsName:{},Port:{type:"integer"},PlacedPlayerSessions:{type:"list",member:{type:"structure",members:{PlayerId:{},PlayerSessionId:{}}}},GameSessionData:{},MatchmakerData:{}}},S77:{type:"list",member:{type:"structure",members:{PlayerId:{},RegionIdentifier:{},LatencyInMilliseconds:{type:"float"}}}},S7i:{type:"list",member:{shape:"S3a"}},S7t:{type:"structure",members:{TicketId:{},ConfigurationName:{},ConfigurationArn:{},Status:{},StatusReason:{},StatusMessage:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Players:{shape:"S7w"},GameSessionConnectionInfo:{type:"structure",members:{GameSessionArn:{},IpAddress:{},DnsName:{},Port:{type:"integer"},MatchedPlayerSessions:{type:"list",member:{type:"structure",members:{PlayerId:{},PlayerSessionId:{}}}}}},EstimatedWaitTime:{type:"integer"}}},S7w:{type:"list",member:{type:"structure",members:{PlayerId:{},PlayerAttributes:{type:"map",key:{},value:{type:"structure",members:{S:{},N:{type:"double"},SL:{shape:"S3"},SDM:{type:"map",key:{},value:{type:"double"}}}}},Team:{},LatencyInMs:{type:"map",key:{},value:{type:"integer"}}}}},S8u:{type:"structure",required:["TargetValue"],members:{TargetValue:{type:"double"}}}}}},{}],120:[function(e,t,r){t.exports={pagination:{DescribeFleetAttributes:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"FleetAttributes"},DescribeFleetCapacity:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"FleetCapacity"},DescribeFleetEvents:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Events"},DescribeFleetLocationAttributes:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit"},DescribeFleetUtilization:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"FleetUtilization"},DescribeGameServerInstances:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameServerInstances"},DescribeGameSessionDetails:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameSessionDetails"},DescribeGameSessionQueues:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameSessionQueues"},DescribeGameSessions:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameSessions"},DescribeInstances:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Instances"},DescribeMatchmakingConfigurations:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Configurations"},DescribeMatchmakingRuleSets:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"RuleSets"},DescribePlayerSessions:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"PlayerSessions"},DescribeScalingPolicies:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"ScalingPolicies"},ListAliases:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Aliases"},ListBuilds:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Builds"},ListFleets:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"FleetIds"},ListGameServerGroups:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameServerGroups"},ListGameServers:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameServers"},ListScripts:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Scripts"},SearchGameSessions:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameSessions"}}}},{}],121:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-05-08",endpointPrefix:"iam",globalEndpoint:"iam.amazonaws.com",protocol:"query",serviceAbbreviation:"IAM",serviceFullName:"AWS Identity and Access Management",serviceId:"IAM",signatureVersion:"v4",uid:"iam-2010-05-08",xmlNamespace:"https://iam.amazonaws.com/doc/2010-05-08/"},operations:{AddClientIDToOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn","ClientID"],members:{OpenIDConnectProviderArn:{},ClientID:{}}}},AddRoleToInstanceProfile:{input:{type:"structure",required:["InstanceProfileName","RoleName"],members:{InstanceProfileName:{},RoleName:{}}}},AddUserToGroup:{input:{type:"structure",required:["GroupName","UserName"],members:{GroupName:{},UserName:{}}}},AttachGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyArn"],members:{GroupName:{},PolicyArn:{}}}},AttachRolePolicy:{input:{type:"structure",required:["RoleName","PolicyArn"],members:{RoleName:{},PolicyArn:{}}}},AttachUserPolicy:{input:{type:"structure",required:["UserName","PolicyArn"],members:{UserName:{},PolicyArn:{}}}},ChangePassword:{input:{type:"structure",required:["OldPassword","NewPassword"],members:{OldPassword:{shape:"Sf"},NewPassword:{shape:"Sf"}}}},CreateAccessKey:{input:{type:"structure",members:{UserName:{}}},output:{resultWrapper:"CreateAccessKeyResult",type:"structure",required:["AccessKey"],members:{AccessKey:{type:"structure",required:["UserName","AccessKeyId","Status","SecretAccessKey"],members:{UserName:{},AccessKeyId:{},Status:{},SecretAccessKey:{type:"string",sensitive:!0},CreateDate:{type:"timestamp"}}}}}},CreateAccountAlias:{input:{type:"structure",required:["AccountAlias"],members:{AccountAlias:{}}}},CreateGroup:{input:{type:"structure",required:["GroupName"],members:{Path:{},GroupName:{}}},output:{resultWrapper:"CreateGroupResult",type:"structure",required:["Group"],members:{Group:{shape:"Ss"}}}},CreateInstanceProfile:{input:{type:"structure",required:["InstanceProfileName"],members:{InstanceProfileName:{},Path:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateInstanceProfileResult",type:"structure",required:["InstanceProfile"],members:{InstanceProfile:{shape:"S10"}}}},CreateLoginProfile:{input:{type:"structure",required:["UserName","Password"],members:{UserName:{},Password:{shape:"Sf"},PasswordResetRequired:{type:"boolean"}}},output:{resultWrapper:"CreateLoginProfileResult",type:"structure",required:["LoginProfile"],members:{LoginProfile:{shape:"S1d"}}}},CreateOpenIDConnectProvider:{input:{type:"structure",required:["Url","ThumbprintList"],members:{Url:{},ClientIDList:{shape:"S1g"},ThumbprintList:{shape:"S1h"},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateOpenIDConnectProviderResult",type:"structure",members:{OpenIDConnectProviderArn:{},Tags:{shape:"Sv"}}}},CreatePolicy:{input:{type:"structure",required:["PolicyName","PolicyDocument"],members:{PolicyName:{},Path:{},PolicyDocument:{},Description:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreatePolicyResult",type:"structure",members:{Policy:{shape:"S1p"}}}},CreatePolicyVersion:{input:{type:"structure",required:["PolicyArn","PolicyDocument"],members:{PolicyArn:{},PolicyDocument:{},SetAsDefault:{type:"boolean"}}},output:{resultWrapper:"CreatePolicyVersionResult",type:"structure",members:{PolicyVersion:{shape:"S1u"}}}},CreateRole:{input:{type:"structure",required:["RoleName","AssumeRolePolicyDocument"],members:{Path:{},RoleName:{},AssumeRolePolicyDocument:{},Description:{},MaxSessionDuration:{type:"integer"},PermissionsBoundary:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateRoleResult",type:"structure",required:["Role"],members:{Role:{shape:"S12"}}}},CreateSAMLProvider:{input:{type:"structure",required:["SAMLMetadataDocument","Name"],members:{SAMLMetadataDocument:{},Name:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateSAMLProviderResult",type:"structure",members:{SAMLProviderArn:{},Tags:{shape:"Sv"}}}},CreateServiceLinkedRole:{input:{type:"structure",required:["AWSServiceName"],members:{AWSServiceName:{},Description:{},CustomSuffix:{}}},output:{resultWrapper:"CreateServiceLinkedRoleResult",type:"structure",members:{Role:{shape:"S12"}}}},CreateServiceSpecificCredential:{input:{type:"structure",required:["UserName","ServiceName"],members:{UserName:{},ServiceName:{}}},output:{resultWrapper:"CreateServiceSpecificCredentialResult",type:"structure",members:{ServiceSpecificCredential:{shape:"S27"}}}},CreateUser:{input:{type:"structure",required:["UserName"],members:{Path:{},UserName:{},PermissionsBoundary:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateUserResult",type:"structure",members:{User:{shape:"S2d"}}}},CreateVirtualMFADevice:{input:{type:"structure",required:["VirtualMFADeviceName"],members:{Path:{},VirtualMFADeviceName:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateVirtualMFADeviceResult",type:"structure",required:["VirtualMFADevice"],members:{VirtualMFADevice:{shape:"S2h"}}}},DeactivateMFADevice:{input:{type:"structure",required:["UserName","SerialNumber"],members:{UserName:{},SerialNumber:{}}}},DeleteAccessKey:{input:{type:"structure",required:["AccessKeyId"],members:{UserName:{},AccessKeyId:{}}}},DeleteAccountAlias:{input:{type:"structure",required:["AccountAlias"],members:{AccountAlias:{}}}},DeleteAccountPasswordPolicy:{},DeleteGroup:{input:{type:"structure",required:["GroupName"],members:{GroupName:{}}}},DeleteGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyName"],members:{GroupName:{},PolicyName:{}}}},DeleteInstanceProfile:{input:{type:"structure",required:["InstanceProfileName"],members:{InstanceProfileName:{}}}},DeleteLoginProfile:{input:{type:"structure",required:["UserName"],members:{UserName:{}}}},DeleteOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn"],members:{OpenIDConnectProviderArn:{}}}},DeletePolicy:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{}}}},DeletePolicyVersion:{input:{type:"structure",required:["PolicyArn","VersionId"],members:{PolicyArn:{},VersionId:{}}}},DeleteRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{}}}},DeleteRolePermissionsBoundary:{input:{type:"structure",required:["RoleName"],members:{RoleName:{}}}},DeleteRolePolicy:{input:{type:"structure",required:["RoleName","PolicyName"],members:{RoleName:{},PolicyName:{}}}},DeleteSAMLProvider:{input:{type:"structure",required:["SAMLProviderArn"],members:{SAMLProviderArn:{}}}},DeleteSSHPublicKey:{input:{type:"structure",required:["UserName","SSHPublicKeyId"],members:{UserName:{},SSHPublicKeyId:{}}}},DeleteServerCertificate:{input:{type:"structure",required:["ServerCertificateName"],members:{ServerCertificateName:{}}}},DeleteServiceLinkedRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{}}},output:{resultWrapper:"DeleteServiceLinkedRoleResult",type:"structure",required:["DeletionTaskId"],members:{DeletionTaskId:{}}}},DeleteServiceSpecificCredential:{input:{type:"structure",required:["ServiceSpecificCredentialId"],members:{UserName:{},ServiceSpecificCredentialId:{}}}},DeleteSigningCertificate:{input:{type:"structure",required:["CertificateId"],members:{UserName:{},CertificateId:{}}}},DeleteUser:{input:{type:"structure",required:["UserName"],members:{UserName:{}}}},DeleteUserPermissionsBoundary:{input:{type:"structure",required:["UserName"],members:{UserName:{}}}},DeleteUserPolicy:{input:{type:"structure",required:["UserName","PolicyName"],members:{UserName:{},PolicyName:{}}}},DeleteVirtualMFADevice:{input:{type:"structure",required:["SerialNumber"],members:{SerialNumber:{}}}},DetachGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyArn"],members:{GroupName:{},PolicyArn:{}}}},DetachRolePolicy:{input:{type:"structure",required:["RoleName","PolicyArn"],members:{RoleName:{},PolicyArn:{}}}},DetachUserPolicy:{input:{type:"structure",required:["UserName","PolicyArn"],members:{UserName:{},PolicyArn:{}}}},EnableMFADevice:{input:{type:"structure",required:["UserName","SerialNumber","AuthenticationCode1","AuthenticationCode2"],members:{UserName:{},SerialNumber:{},AuthenticationCode1:{},AuthenticationCode2:{}}}},GenerateCredentialReport:{output:{resultWrapper:"GenerateCredentialReportResult",type:"structure",members:{State:{},Description:{}}}},GenerateOrganizationsAccessReport:{input:{type:"structure",required:["EntityPath"],members:{EntityPath:{},OrganizationsPolicyId:{}}},output:{resultWrapper:"GenerateOrganizationsAccessReportResult",type:"structure",members:{JobId:{}}}},GenerateServiceLastAccessedDetails:{input:{type:"structure",required:["Arn"],members:{Arn:{},Granularity:{}}},output:{resultWrapper:"GenerateServiceLastAccessedDetailsResult",type:"structure",members:{JobId:{}}}},GetAccessKeyLastUsed:{input:{type:"structure",required:["AccessKeyId"],members:{AccessKeyId:{}}},output:{resultWrapper:"GetAccessKeyLastUsedResult",type:"structure",members:{UserName:{},AccessKeyLastUsed:{type:"structure",required:["LastUsedDate","ServiceName","Region"],members:{LastUsedDate:{type:"timestamp"},ServiceName:{},Region:{}}}}}},GetAccountAuthorizationDetails:{input:{type:"structure",members:{Filter:{type:"list",member:{}},MaxItems:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetAccountAuthorizationDetailsResult",type:"structure",members:{UserDetailList:{type:"list",member:{type:"structure",members:{Path:{},UserName:{},UserId:{},Arn:{},CreateDate:{type:"timestamp"},UserPolicyList:{shape:"S43"},GroupList:{type:"list",member:{}},AttachedManagedPolicies:{shape:"S46"},PermissionsBoundary:{shape:"S16"},Tags:{shape:"Sv"}}}},GroupDetailList:{type:"list",member:{type:"structure",members:{Path:{},GroupName:{},GroupId:{},Arn:{},CreateDate:{type:"timestamp"},GroupPolicyList:{shape:"S43"},AttachedManagedPolicies:{shape:"S46"}}}},RoleDetailList:{type:"list",member:{type:"structure",members:{Path:{},RoleName:{},RoleId:{},Arn:{},CreateDate:{type:"timestamp"},AssumeRolePolicyDocument:{},InstanceProfileList:{shape:"S4c"},RolePolicyList:{shape:"S43"},AttachedManagedPolicies:{shape:"S46"},PermissionsBoundary:{shape:"S16"},Tags:{shape:"Sv"},RoleLastUsed:{shape:"S18"}}}},Policies:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyId:{},Arn:{},Path:{},DefaultVersionId:{},AttachmentCount:{type:"integer"},PermissionsBoundaryUsageCount:{type:"integer"},IsAttachable:{type:"boolean"},Description:{},CreateDate:{type:"timestamp"},UpdateDate:{type:"timestamp"},PolicyVersionList:{shape:"S4f"}}}},IsTruncated:{type:"boolean"},Marker:{}}}},GetAccountPasswordPolicy:{output:{resultWrapper:"GetAccountPasswordPolicyResult",type:"structure",required:["PasswordPolicy"],members:{PasswordPolicy:{type:"structure",members:{MinimumPasswordLength:{type:"integer"},RequireSymbols:{type:"boolean"},RequireNumbers:{type:"boolean"},RequireUppercaseCharacters:{type:"boolean"},RequireLowercaseCharacters:{type:"boolean"},AllowUsersToChangePassword:{type:"boolean"},ExpirePasswords:{type:"boolean"},MaxPasswordAge:{type:"integer"},PasswordReusePrevention:{type:"integer"},HardExpiry:{type:"boolean"}}}}}},GetAccountSummary:{output:{resultWrapper:"GetAccountSummaryResult",type:"structure",members:{SummaryMap:{type:"map",key:{},value:{type:"integer"}}}}},GetContextKeysForCustomPolicy:{input:{type:"structure",required:["PolicyInputList"],members:{PolicyInputList:{shape:"S4s"}}},output:{shape:"S4t",resultWrapper:"GetContextKeysForCustomPolicyResult"}},GetContextKeysForPrincipalPolicy:{input:{type:"structure",required:["PolicySourceArn"],members:{PolicySourceArn:{},PolicyInputList:{shape:"S4s"}}},output:{shape:"S4t",resultWrapper:"GetContextKeysForPrincipalPolicyResult"}},GetCredentialReport:{output:{resultWrapper:"GetCredentialReportResult",type:"structure",members:{Content:{type:"blob"},ReportFormat:{},GeneratedTime:{type:"timestamp"}}}},GetGroup:{input:{type:"structure",required:["GroupName"],members:{GroupName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"GetGroupResult",type:"structure",required:["Group","Users"],members:{Group:{shape:"Ss"},Users:{shape:"S52"},IsTruncated:{type:"boolean"},Marker:{}}}},GetGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyName"],members:{GroupName:{},PolicyName:{}}},output:{resultWrapper:"GetGroupPolicyResult",type:"structure",required:["GroupName","PolicyName","PolicyDocument"],members:{GroupName:{},PolicyName:{},PolicyDocument:{}}}},GetInstanceProfile:{input:{type:"structure",required:["InstanceProfileName"],members:{InstanceProfileName:{}}},output:{resultWrapper:"GetInstanceProfileResult",type:"structure",required:["InstanceProfile"],members:{InstanceProfile:{shape:"S10"}}}},GetLoginProfile:{input:{type:"structure",required:["UserName"],members:{UserName:{}}},output:{resultWrapper:"GetLoginProfileResult",type:"structure",required:["LoginProfile"],members:{LoginProfile:{shape:"S1d"}}}},GetOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn"],members:{OpenIDConnectProviderArn:{}}},output:{resultWrapper:"GetOpenIDConnectProviderResult",type:"structure",members:{Url:{},ClientIDList:{shape:"S1g"},ThumbprintList:{shape:"S1h"},CreateDate:{type:"timestamp"},Tags:{shape:"Sv"}}}},GetOrganizationsAccessReport:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxItems:{type:"integer"},Marker:{},SortKey:{}}},output:{resultWrapper:"GetOrganizationsAccessReportResult",type:"structure",required:["JobStatus","JobCreationDate"],members:{JobStatus:{},JobCreationDate:{type:"timestamp"},JobCompletionDate:{type:"timestamp"},NumberOfServicesAccessible:{type:"integer"},NumberOfServicesNotAccessed:{type:"integer"},AccessDetails:{type:"list",member:{type:"structure",required:["ServiceName","ServiceNamespace"],members:{ServiceName:{},ServiceNamespace:{},Region:{},EntityPath:{},LastAuthenticatedTime:{type:"timestamp"},TotalAuthenticatedEntities:{type:"integer"}}}},IsTruncated:{type:"boolean"},Marker:{},ErrorDetails:{shape:"S5k"}}}},GetPolicy:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{}}},output:{resultWrapper:"GetPolicyResult",type:"structure",members:{Policy:{shape:"S1p"}}}},GetPolicyVersion:{input:{type:"structure",required:["PolicyArn","VersionId"],members:{PolicyArn:{},VersionId:{}}},output:{resultWrapper:"GetPolicyVersionResult",type:"structure",members:{PolicyVersion:{shape:"S1u"}}}},GetRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{}}},output:{resultWrapper:"GetRoleResult",type:"structure",required:["Role"],members:{Role:{shape:"S12"}}}},GetRolePolicy:{input:{type:"structure",required:["RoleName","PolicyName"],members:{RoleName:{},PolicyName:{}}},output:{resultWrapper:"GetRolePolicyResult",type:"structure",required:["RoleName","PolicyName","PolicyDocument"],members:{RoleName:{},PolicyName:{},PolicyDocument:{}}}},GetSAMLProvider:{input:{type:"structure",required:["SAMLProviderArn"],members:{SAMLProviderArn:{}}},output:{resultWrapper:"GetSAMLProviderResult",type:"structure",members:{SAMLMetadataDocument:{},CreateDate:{type:"timestamp"},ValidUntil:{type:"timestamp"},Tags:{shape:"Sv"}}}},GetSSHPublicKey:{input:{type:"structure",required:["UserName","SSHPublicKeyId","Encoding"],members:{UserName:{},SSHPublicKeyId:{},Encoding:{}}},output:{resultWrapper:"GetSSHPublicKeyResult",type:"structure",members:{SSHPublicKey:{shape:"S5y"}}}},GetServerCertificate:{input:{type:"structure",required:["ServerCertificateName"],members:{ServerCertificateName:{}}},output:{resultWrapper:"GetServerCertificateResult",type:"structure",required:["ServerCertificate"],members:{ServerCertificate:{type:"structure",required:["ServerCertificateMetadata","CertificateBody"],members:{ServerCertificateMetadata:{shape:"S64"},CertificateBody:{},CertificateChain:{},Tags:{shape:"Sv"}}}}}},GetServiceLastAccessedDetails:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxItems:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetServiceLastAccessedDetailsResult",type:"structure",required:["JobStatus","JobCreationDate","ServicesLastAccessed","JobCompletionDate"],members:{JobStatus:{},JobType:{},JobCreationDate:{type:"timestamp"},ServicesLastAccessed:{type:"list",member:{type:"structure",required:["ServiceName","ServiceNamespace"],members:{ServiceName:{},LastAuthenticated:{type:"timestamp"},ServiceNamespace:{},LastAuthenticatedEntity:{},LastAuthenticatedRegion:{},TotalAuthenticatedEntities:{type:"integer"},TrackedActionsLastAccessed:{type:"list",member:{type:"structure",members:{ActionName:{},LastAccessedEntity:{},LastAccessedTime:{type:"timestamp"},LastAccessedRegion:{}}}}}}},JobCompletionDate:{type:"timestamp"},IsTruncated:{type:"boolean"},Marker:{},Error:{shape:"S5k"}}}},GetServiceLastAccessedDetailsWithEntities:{input:{type:"structure",required:["JobId","ServiceNamespace"],members:{JobId:{},ServiceNamespace:{},MaxItems:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetServiceLastAccessedDetailsWithEntitiesResult",type:"structure",required:["JobStatus","JobCreationDate","JobCompletionDate","EntityDetailsList"],members:{JobStatus:{},JobCreationDate:{type:"timestamp"},JobCompletionDate:{type:"timestamp"},EntityDetailsList:{type:"list",member:{type:"structure",required:["EntityInfo"],members:{EntityInfo:{type:"structure",required:["Arn","Name","Type","Id"],members:{Arn:{},Name:{},Type:{},Id:{},Path:{}}},LastAuthenticated:{type:"timestamp"}}}},IsTruncated:{type:"boolean"},Marker:{},Error:{shape:"S5k"}}}},GetServiceLinkedRoleDeletionStatus:{input:{type:"structure",required:["DeletionTaskId"],members:{DeletionTaskId:{}}},output:{resultWrapper:"GetServiceLinkedRoleDeletionStatusResult",type:"structure",required:["Status"],members:{Status:{},Reason:{type:"structure",members:{Reason:{},RoleUsageList:{type:"list",member:{type:"structure",members:{Region:{},Resources:{type:"list",member:{}}}}}}}}}},GetUser:{input:{type:"structure",members:{UserName:{}}},output:{resultWrapper:"GetUserResult",type:"structure",required:["User"],members:{User:{shape:"S2d"}}}},GetUserPolicy:{input:{type:"structure",required:["UserName","PolicyName"],members:{UserName:{},PolicyName:{}}},output:{resultWrapper:"GetUserPolicyResult",type:"structure",required:["UserName","PolicyName","PolicyDocument"],members:{UserName:{},PolicyName:{},PolicyDocument:{}}}},ListAccessKeys:{input:{type:"structure",members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAccessKeysResult",type:"structure",required:["AccessKeyMetadata"],members:{AccessKeyMetadata:{type:"list",member:{type:"structure",members:{UserName:{},AccessKeyId:{},Status:{},CreateDate:{type:"timestamp"}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListAccountAliases:{input:{type:"structure",members:{Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAccountAliasesResult",type:"structure",required:["AccountAliases"],members:{AccountAliases:{type:"list",member:{}},IsTruncated:{type:"boolean"},Marker:{}}}},ListAttachedGroupPolicies:{input:{type:"structure",required:["GroupName"],members:{GroupName:{},PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAttachedGroupPoliciesResult",type:"structure",members:{AttachedPolicies:{shape:"S46"},IsTruncated:{type:"boolean"},Marker:{}}}},ListAttachedRolePolicies:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAttachedRolePoliciesResult",type:"structure",members:{AttachedPolicies:{shape:"S46"},IsTruncated:{type:"boolean"},Marker:{}}}},ListAttachedUserPolicies:{input:{type:"structure",required:["UserName"],members:{UserName:{},PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAttachedUserPoliciesResult",type:"structure",members:{AttachedPolicies:{shape:"S46"},IsTruncated:{type:"boolean"},Marker:{}}}},ListEntitiesForPolicy:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{},EntityFilter:{},PathPrefix:{},PolicyUsageFilter:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListEntitiesForPolicyResult",type:"structure",members:{PolicyGroups:{type:"list",member:{type:"structure",members:{GroupName:{},GroupId:{}}}},PolicyUsers:{type:"list",member:{type:"structure",members:{UserName:{},UserId:{}}}},PolicyRoles:{type:"list",member:{type:"structure",members:{RoleName:{},RoleId:{}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListGroupPolicies:{input:{type:"structure",required:["GroupName"],members:{GroupName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListGroupPoliciesResult",type:"structure", -required:["PolicyNames"],members:{PolicyNames:{shape:"S7k"},IsTruncated:{type:"boolean"},Marker:{}}}},ListGroups:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListGroupsResult",type:"structure",required:["Groups"],members:{Groups:{shape:"S7o"},IsTruncated:{type:"boolean"},Marker:{}}}},ListGroupsForUser:{input:{type:"structure",required:["UserName"],members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListGroupsForUserResult",type:"structure",required:["Groups"],members:{Groups:{shape:"S7o"},IsTruncated:{type:"boolean"},Marker:{}}}},ListInstanceProfileTags:{input:{type:"structure",required:["InstanceProfileName"],members:{InstanceProfileName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListInstanceProfileTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListInstanceProfiles:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListInstanceProfilesResult",type:"structure",required:["InstanceProfiles"],members:{InstanceProfiles:{shape:"S4c"},IsTruncated:{type:"boolean"},Marker:{}}}},ListInstanceProfilesForRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListInstanceProfilesForRoleResult",type:"structure",required:["InstanceProfiles"],members:{InstanceProfiles:{shape:"S4c"},IsTruncated:{type:"boolean"},Marker:{}}}},ListMFADeviceTags:{input:{type:"structure",required:["SerialNumber"],members:{SerialNumber:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListMFADeviceTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListMFADevices:{input:{type:"structure",members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListMFADevicesResult",type:"structure",required:["MFADevices"],members:{MFADevices:{type:"list",member:{type:"structure",required:["UserName","SerialNumber","EnableDate"],members:{UserName:{},SerialNumber:{},EnableDate:{type:"timestamp"}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListOpenIDConnectProviderTags:{input:{type:"structure",required:["OpenIDConnectProviderArn"],members:{OpenIDConnectProviderArn:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListOpenIDConnectProviderTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListOpenIDConnectProviders:{input:{type:"structure",members:{}},output:{resultWrapper:"ListOpenIDConnectProvidersResult",type:"structure",members:{OpenIDConnectProviderList:{type:"list",member:{type:"structure",members:{Arn:{}}}}}}},ListPolicies:{input:{type:"structure",members:{Scope:{},OnlyAttached:{type:"boolean"},PathPrefix:{},PolicyUsageFilter:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListPoliciesResult",type:"structure",members:{Policies:{type:"list",member:{shape:"S1p"}},IsTruncated:{type:"boolean"},Marker:{}}}},ListPoliciesGrantingServiceAccess:{input:{type:"structure",required:["Arn","ServiceNamespaces"],members:{Marker:{},Arn:{},ServiceNamespaces:{type:"list",member:{}}}},output:{resultWrapper:"ListPoliciesGrantingServiceAccessResult",type:"structure",required:["PoliciesGrantingServiceAccess"],members:{PoliciesGrantingServiceAccess:{type:"list",member:{type:"structure",members:{ServiceNamespace:{},Policies:{type:"list",member:{type:"structure",required:["PolicyName","PolicyType"],members:{PolicyName:{},PolicyType:{},PolicyArn:{},EntityType:{},EntityName:{}}}}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListPolicyTags:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListPolicyTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListPolicyVersions:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListPolicyVersionsResult",type:"structure",members:{Versions:{shape:"S4f"},IsTruncated:{type:"boolean"},Marker:{}}}},ListRolePolicies:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListRolePoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S7k"},IsTruncated:{type:"boolean"},Marker:{}}}},ListRoleTags:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListRoleTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListRoles:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListRolesResult",type:"structure",required:["Roles"],members:{Roles:{shape:"S11"},IsTruncated:{type:"boolean"},Marker:{}}}},ListSAMLProviderTags:{input:{type:"structure",required:["SAMLProviderArn"],members:{SAMLProviderArn:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListSAMLProviderTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListSAMLProviders:{input:{type:"structure",members:{}},output:{resultWrapper:"ListSAMLProvidersResult",type:"structure",members:{SAMLProviderList:{type:"list",member:{type:"structure",members:{Arn:{},ValidUntil:{type:"timestamp"},CreateDate:{type:"timestamp"}}}}}}},ListSSHPublicKeys:{input:{type:"structure",members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListSSHPublicKeysResult",type:"structure",members:{SSHPublicKeys:{type:"list",member:{type:"structure",required:["UserName","SSHPublicKeyId","Status","UploadDate"],members:{UserName:{},SSHPublicKeyId:{},Status:{},UploadDate:{type:"timestamp"}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListServerCertificateTags:{input:{type:"structure",required:["ServerCertificateName"],members:{ServerCertificateName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListServerCertificateTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListServerCertificates:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListServerCertificatesResult",type:"structure",required:["ServerCertificateMetadataList"],members:{ServerCertificateMetadataList:{type:"list",member:{shape:"S64"}},IsTruncated:{type:"boolean"},Marker:{}}}},ListServiceSpecificCredentials:{input:{type:"structure",members:{UserName:{},ServiceName:{}}},output:{resultWrapper:"ListServiceSpecificCredentialsResult",type:"structure",members:{ServiceSpecificCredentials:{type:"list",member:{type:"structure",required:["UserName","Status","ServiceUserName","CreateDate","ServiceSpecificCredentialId","ServiceName"],members:{UserName:{},Status:{},ServiceUserName:{},CreateDate:{type:"timestamp"},ServiceSpecificCredentialId:{},ServiceName:{}}}}}}},ListSigningCertificates:{input:{type:"structure",members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListSigningCertificatesResult",type:"structure",required:["Certificates"],members:{Certificates:{type:"list",member:{shape:"S9i"}},IsTruncated:{type:"boolean"},Marker:{}}}},ListUserPolicies:{input:{type:"structure",required:["UserName"],members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListUserPoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S7k"},IsTruncated:{type:"boolean"},Marker:{}}}},ListUserTags:{input:{type:"structure",required:["UserName"],members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListUserTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListUsers:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListUsersResult",type:"structure",required:["Users"],members:{Users:{shape:"S52"},IsTruncated:{type:"boolean"},Marker:{}}}},ListVirtualMFADevices:{input:{type:"structure",members:{AssignmentStatus:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListVirtualMFADevicesResult",type:"structure",required:["VirtualMFADevices"],members:{VirtualMFADevices:{type:"list",member:{shape:"S2h"}},IsTruncated:{type:"boolean"},Marker:{}}}},PutGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyName","PolicyDocument"],members:{GroupName:{},PolicyName:{},PolicyDocument:{}}}},PutRolePermissionsBoundary:{input:{type:"structure",required:["RoleName","PermissionsBoundary"],members:{RoleName:{},PermissionsBoundary:{}}}},PutRolePolicy:{input:{type:"structure",required:["RoleName","PolicyName","PolicyDocument"],members:{RoleName:{},PolicyName:{},PolicyDocument:{}}}},PutUserPermissionsBoundary:{input:{type:"structure",required:["UserName","PermissionsBoundary"],members:{UserName:{},PermissionsBoundary:{}}}},PutUserPolicy:{input:{type:"structure",required:["UserName","PolicyName","PolicyDocument"],members:{UserName:{},PolicyName:{},PolicyDocument:{}}}},RemoveClientIDFromOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn","ClientID"],members:{OpenIDConnectProviderArn:{},ClientID:{}}}},RemoveRoleFromInstanceProfile:{input:{type:"structure",required:["InstanceProfileName","RoleName"],members:{InstanceProfileName:{},RoleName:{}}}},RemoveUserFromGroup:{input:{type:"structure",required:["GroupName","UserName"],members:{GroupName:{},UserName:{}}}},ResetServiceSpecificCredential:{input:{type:"structure",required:["ServiceSpecificCredentialId"],members:{UserName:{},ServiceSpecificCredentialId:{}}},output:{resultWrapper:"ResetServiceSpecificCredentialResult",type:"structure",members:{ServiceSpecificCredential:{shape:"S27"}}}},ResyncMFADevice:{input:{type:"structure",required:["UserName","SerialNumber","AuthenticationCode1","AuthenticationCode2"],members:{UserName:{},SerialNumber:{},AuthenticationCode1:{},AuthenticationCode2:{}}}},SetDefaultPolicyVersion:{input:{type:"structure",required:["PolicyArn","VersionId"],members:{PolicyArn:{},VersionId:{}}}},SetSecurityTokenServicePreferences:{input:{type:"structure",required:["GlobalEndpointTokenVersion"],members:{GlobalEndpointTokenVersion:{}}}},SimulateCustomPolicy:{input:{type:"structure",required:["PolicyInputList","ActionNames"],members:{PolicyInputList:{shape:"S4s"},PermissionsBoundaryPolicyInputList:{shape:"S4s"},ActionNames:{shape:"Sa8"},ResourceArns:{shape:"Saa"},ResourcePolicy:{},ResourceOwner:{},CallerArn:{},ContextEntries:{shape:"Sac"},ResourceHandlingOption:{},MaxItems:{type:"integer"},Marker:{}}},output:{shape:"Sai",resultWrapper:"SimulateCustomPolicyResult"}},SimulatePrincipalPolicy:{input:{type:"structure",required:["PolicySourceArn","ActionNames"],members:{PolicySourceArn:{},PolicyInputList:{shape:"S4s"},PermissionsBoundaryPolicyInputList:{shape:"S4s"},ActionNames:{shape:"Sa8"},ResourceArns:{shape:"Saa"},ResourcePolicy:{},ResourceOwner:{},CallerArn:{},ContextEntries:{shape:"Sac"},ResourceHandlingOption:{},MaxItems:{type:"integer"},Marker:{}}},output:{shape:"Sai",resultWrapper:"SimulatePrincipalPolicyResult"}},TagInstanceProfile:{input:{type:"structure",required:["InstanceProfileName","Tags"],members:{InstanceProfileName:{},Tags:{shape:"Sv"}}}},TagMFADevice:{input:{type:"structure",required:["SerialNumber","Tags"],members:{SerialNumber:{},Tags:{shape:"Sv"}}}},TagOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn","Tags"],members:{OpenIDConnectProviderArn:{},Tags:{shape:"Sv"}}}},TagPolicy:{input:{type:"structure",required:["PolicyArn","Tags"],members:{PolicyArn:{},Tags:{shape:"Sv"}}}},TagRole:{input:{type:"structure",required:["RoleName","Tags"],members:{RoleName:{},Tags:{shape:"Sv"}}}},TagSAMLProvider:{input:{type:"structure",required:["SAMLProviderArn","Tags"],members:{SAMLProviderArn:{},Tags:{shape:"Sv"}}}},TagServerCertificate:{input:{type:"structure",required:["ServerCertificateName","Tags"],members:{ServerCertificateName:{},Tags:{shape:"Sv"}}}},TagUser:{input:{type:"structure",required:["UserName","Tags"],members:{UserName:{},Tags:{shape:"Sv"}}}},UntagInstanceProfile:{input:{type:"structure",required:["InstanceProfileName","TagKeys"],members:{InstanceProfileName:{},TagKeys:{shape:"Sb9"}}}},UntagMFADevice:{input:{type:"structure",required:["SerialNumber","TagKeys"],members:{SerialNumber:{},TagKeys:{shape:"Sb9"}}}},UntagOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn","TagKeys"],members:{OpenIDConnectProviderArn:{},TagKeys:{shape:"Sb9"}}}},UntagPolicy:{input:{type:"structure",required:["PolicyArn","TagKeys"],members:{PolicyArn:{},TagKeys:{shape:"Sb9"}}}},UntagRole:{input:{type:"structure",required:["RoleName","TagKeys"],members:{RoleName:{},TagKeys:{shape:"Sb9"}}}},UntagSAMLProvider:{input:{type:"structure",required:["SAMLProviderArn","TagKeys"],members:{SAMLProviderArn:{},TagKeys:{shape:"Sb9"}}}},UntagServerCertificate:{input:{type:"structure",required:["ServerCertificateName","TagKeys"],members:{ServerCertificateName:{},TagKeys:{shape:"Sb9"}}}},UntagUser:{input:{type:"structure",required:["UserName","TagKeys"],members:{UserName:{},TagKeys:{shape:"Sb9"}}}},UpdateAccessKey:{input:{type:"structure",required:["AccessKeyId","Status"],members:{UserName:{},AccessKeyId:{},Status:{}}}},UpdateAccountPasswordPolicy:{input:{type:"structure",members:{MinimumPasswordLength:{type:"integer"},RequireSymbols:{type:"boolean"},RequireNumbers:{type:"boolean"},RequireUppercaseCharacters:{type:"boolean"},RequireLowercaseCharacters:{type:"boolean"},AllowUsersToChangePassword:{type:"boolean"},MaxPasswordAge:{type:"integer"},PasswordReusePrevention:{type:"integer"},HardExpiry:{type:"boolean"}}}},UpdateAssumeRolePolicy:{input:{type:"structure",required:["RoleName","PolicyDocument"],members:{RoleName:{},PolicyDocument:{}}}},UpdateGroup:{input:{type:"structure",required:["GroupName"],members:{GroupName:{},NewPath:{},NewGroupName:{}}}},UpdateLoginProfile:{input:{type:"structure",required:["UserName"],members:{UserName:{},Password:{shape:"Sf"},PasswordResetRequired:{type:"boolean"}}}},UpdateOpenIDConnectProviderThumbprint:{input:{type:"structure",required:["OpenIDConnectProviderArn","ThumbprintList"],members:{OpenIDConnectProviderArn:{},ThumbprintList:{shape:"S1h"}}}},UpdateRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},Description:{},MaxSessionDuration:{type:"integer"}}},output:{resultWrapper:"UpdateRoleResult",type:"structure",members:{}}},UpdateRoleDescription:{input:{type:"structure",required:["RoleName","Description"],members:{RoleName:{},Description:{}}},output:{resultWrapper:"UpdateRoleDescriptionResult",type:"structure",members:{Role:{shape:"S12"}}}},UpdateSAMLProvider:{input:{type:"structure",required:["SAMLMetadataDocument","SAMLProviderArn"],members:{SAMLMetadataDocument:{},SAMLProviderArn:{}}},output:{resultWrapper:"UpdateSAMLProviderResult",type:"structure",members:{SAMLProviderArn:{}}}},UpdateSSHPublicKey:{input:{type:"structure",required:["UserName","SSHPublicKeyId","Status"],members:{UserName:{},SSHPublicKeyId:{},Status:{}}}},UpdateServerCertificate:{input:{type:"structure",required:["ServerCertificateName"],members:{ServerCertificateName:{},NewPath:{},NewServerCertificateName:{}}}},UpdateServiceSpecificCredential:{input:{type:"structure",required:["ServiceSpecificCredentialId","Status"],members:{UserName:{},ServiceSpecificCredentialId:{},Status:{}}}},UpdateSigningCertificate:{input:{type:"structure",required:["CertificateId","Status"],members:{UserName:{},CertificateId:{},Status:{}}}},UpdateUser:{input:{type:"structure",required:["UserName"],members:{UserName:{},NewPath:{},NewUserName:{}}}},UploadSSHPublicKey:{input:{type:"structure",required:["UserName","SSHPublicKeyBody"],members:{UserName:{},SSHPublicKeyBody:{}}},output:{resultWrapper:"UploadSSHPublicKeyResult",type:"structure",members:{SSHPublicKey:{shape:"S5y"}}}},UploadServerCertificate:{input:{type:"structure",required:["ServerCertificateName","CertificateBody","PrivateKey"],members:{Path:{},ServerCertificateName:{},CertificateBody:{},PrivateKey:{type:"string",sensitive:!0},CertificateChain:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"UploadServerCertificateResult",type:"structure",members:{ServerCertificateMetadata:{shape:"S64"},Tags:{shape:"Sv"}}}},UploadSigningCertificate:{input:{type:"structure",required:["CertificateBody"],members:{UserName:{},CertificateBody:{}}},output:{resultWrapper:"UploadSigningCertificateResult",type:"structure",required:["Certificate"],members:{Certificate:{shape:"S9i"}}}}},shapes:{Sf:{type:"string",sensitive:!0},Ss:{type:"structure",required:["Path","GroupName","GroupId","Arn","CreateDate"],members:{Path:{},GroupName:{},GroupId:{},Arn:{},CreateDate:{type:"timestamp"}}},Sv:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S10:{type:"structure",required:["Path","InstanceProfileName","InstanceProfileId","Arn","CreateDate","Roles"],members:{Path:{},InstanceProfileName:{},InstanceProfileId:{},Arn:{},CreateDate:{type:"timestamp"},Roles:{shape:"S11"},Tags:{shape:"Sv"}}},S11:{type:"list",member:{shape:"S12"}},S12:{type:"structure",required:["Path","RoleName","RoleId","Arn","CreateDate"],members:{Path:{},RoleName:{},RoleId:{},Arn:{},CreateDate:{type:"timestamp"},AssumeRolePolicyDocument:{},Description:{},MaxSessionDuration:{type:"integer"},PermissionsBoundary:{shape:"S16"},Tags:{shape:"Sv"},RoleLastUsed:{shape:"S18"}}},S16:{type:"structure",members:{PermissionsBoundaryType:{},PermissionsBoundaryArn:{}}},S18:{type:"structure",members:{LastUsedDate:{type:"timestamp"},Region:{}}},S1d:{type:"structure",required:["UserName","CreateDate"],members:{UserName:{},CreateDate:{type:"timestamp"},PasswordResetRequired:{type:"boolean"}}},S1g:{type:"list",member:{}},S1h:{type:"list",member:{}},S1p:{type:"structure",members:{PolicyName:{},PolicyId:{},Arn:{},Path:{},DefaultVersionId:{},AttachmentCount:{type:"integer"},PermissionsBoundaryUsageCount:{type:"integer"},IsAttachable:{type:"boolean"},Description:{},CreateDate:{type:"timestamp"},UpdateDate:{type:"timestamp"},Tags:{shape:"Sv"}}},S1u:{type:"structure",members:{Document:{},VersionId:{},IsDefaultVersion:{type:"boolean"},CreateDate:{type:"timestamp"}}},S27:{type:"structure",required:["CreateDate","ServiceName","ServiceUserName","ServicePassword","ServiceSpecificCredentialId","UserName","Status"],members:{CreateDate:{type:"timestamp"},ServiceName:{},ServiceUserName:{},ServicePassword:{type:"string",sensitive:!0},ServiceSpecificCredentialId:{},UserName:{},Status:{}}},S2d:{type:"structure",required:["Path","UserName","UserId","Arn","CreateDate"],members:{Path:{},UserName:{},UserId:{},Arn:{},CreateDate:{type:"timestamp"},PasswordLastUsed:{type:"timestamp"},PermissionsBoundary:{shape:"S16"},Tags:{shape:"Sv"}}},S2h:{type:"structure",required:["SerialNumber"],members:{SerialNumber:{},Base32StringSeed:{shape:"S2j"},QRCodePNG:{shape:"S2j"},User:{shape:"S2d"},EnableDate:{type:"timestamp"},Tags:{shape:"Sv"}}},S2j:{type:"blob",sensitive:!0},S43:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyDocument:{}}}},S46:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyArn:{}}}},S4c:{type:"list",member:{shape:"S10"}},S4f:{type:"list",member:{shape:"S1u"}},S4s:{type:"list",member:{}},S4t:{type:"structure",members:{ContextKeyNames:{shape:"S4u"}}},S4u:{type:"list",member:{}},S52:{type:"list",member:{shape:"S2d"}},S5k:{type:"structure",required:["Message","Code"],members:{Message:{},Code:{}}},S5y:{type:"structure",required:["UserName","SSHPublicKeyId","Fingerprint","SSHPublicKeyBody","Status"],members:{UserName:{},SSHPublicKeyId:{},Fingerprint:{},SSHPublicKeyBody:{},Status:{},UploadDate:{type:"timestamp"}}},S64:{type:"structure",required:["Path","ServerCertificateName","ServerCertificateId","Arn"],members:{Path:{},ServerCertificateName:{},ServerCertificateId:{},Arn:{},UploadDate:{type:"timestamp"},Expiration:{type:"timestamp"}}},S7k:{type:"list",member:{}},S7o:{type:"list",member:{shape:"Ss"}},S9i:{type:"structure",required:["UserName","CertificateId","CertificateBody","Status"],members:{UserName:{},CertificateId:{},CertificateBody:{},Status:{},UploadDate:{type:"timestamp"}}},Sa8:{type:"list",member:{}},Saa:{type:"list",member:{}},Sac:{type:"list",member:{type:"structure",members:{ContextKeyName:{},ContextKeyValues:{type:"list",member:{}},ContextKeyType:{}}}},Sai:{type:"structure",members:{EvaluationResults:{type:"list",member:{type:"structure",required:["EvalActionName","EvalDecision"],members:{EvalActionName:{},EvalResourceName:{},EvalDecision:{},MatchedStatements:{shape:"Sam"},MissingContextValues:{shape:"S4u"},OrganizationsDecisionDetail:{type:"structure",members:{AllowedByOrganizations:{type:"boolean"}}},PermissionsBoundaryDecisionDetail:{shape:"Sau"},EvalDecisionDetails:{shape:"Sav"},ResourceSpecificResults:{type:"list",member:{type:"structure",required:["EvalResourceName","EvalResourceDecision"],members:{EvalResourceName:{},EvalResourceDecision:{},MatchedStatements:{shape:"Sam"},MissingContextValues:{shape:"S4u"},EvalDecisionDetails:{shape:"Sav"},PermissionsBoundaryDecisionDetail:{shape:"Sau"}}}}}}},IsTruncated:{type:"boolean"},Marker:{}}},Sam:{type:"list",member:{type:"structure",members:{SourcePolicyId:{},SourcePolicyType:{},StartPosition:{shape:"Saq"},EndPosition:{shape:"Saq"}}}},Saq:{type:"structure",members:{Line:{type:"integer"},Column:{type:"integer"}}},Sau:{type:"structure",members:{AllowedByPermissionsBoundary:{type:"boolean"}}},Sav:{type:"map",key:{},value:{}},Sb9:{type:"list",member:{}}}}},{}],122:[function(e,t,r){t.exports={pagination:{GetAccountAuthorizationDetails:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:["UserDetailList","GroupDetailList","RoleDetailList","Policies"]},GetGroup:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Users"},ListAccessKeys:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AccessKeyMetadata"},ListAccountAliases:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AccountAliases"},ListAttachedGroupPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AttachedPolicies"},ListAttachedRolePolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AttachedPolicies"},ListAttachedUserPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AttachedPolicies"},ListEntitiesForPolicy:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:["PolicyGroups","PolicyUsers","PolicyRoles"]},ListGroupPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"PolicyNames"},ListGroups:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Groups"},ListGroupsForUser:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Groups"},ListInstanceProfiles:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"InstanceProfiles"},ListInstanceProfilesForRole:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"InstanceProfiles"},ListMFADevices:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"MFADevices"},ListPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Policies"},ListPolicyVersions:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Versions"},ListRolePolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"PolicyNames"},ListRoles:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Roles"},ListSAMLProviders:{result_key:"SAMLProviderList"},ListSSHPublicKeys:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"SSHPublicKeys"},ListServerCertificates:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"ServerCertificateMetadataList"},ListSigningCertificates:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Certificates"},ListUserPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"PolicyNames"},ListUserTags:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Tags"},ListUsers:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Users"},ListVirtualMFADevices:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"VirtualMFADevices"},SimulateCustomPolicy:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"EvaluationResults"},SimulatePrincipalPolicy:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"EvaluationResults"}}}},{}],123:[function(e,t,r){t.exports={version:2,waiters:{InstanceProfileExists:{delay:1,operation:"GetInstanceProfile",maxAttempts:40,acceptors:[{expected:200,matcher:"status",state:"success"},{state:"retry",matcher:"status",expected:404}]},UserExists:{delay:1,operation:"GetUser",maxAttempts:20,acceptors:[{state:"success",matcher:"status",expected:200},{state:"retry",matcher:"error",expected:"NoSuchEntity"}]},RoleExists:{delay:1,operation:"GetRole",maxAttempts:20,acceptors:[{state:"success",matcher:"status",expected:200},{state:"retry",matcher:"error",expected:"NoSuchEntity"}]},PolicyExists:{delay:1,operation:"GetPolicy",maxAttempts:20,acceptors:[{state:"success",matcher:"status",expected:200},{state:"retry",matcher:"error",expected:"NoSuchEntity"}]}}}},{}],124:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-02-16",endpointPrefix:"inspector",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Inspector",serviceId:"Inspector",signatureVersion:"v4",targetPrefix:"InspectorService",uid:"inspector-2016-02-16"},operations:{AddAttributesToFindings:{input:{type:"structure",required:["findingArns","attributes"],members:{findingArns:{shape:"S2"},attributes:{shape:"S4"}}},output:{type:"structure",required:["failedItems"],members:{failedItems:{shape:"S9"}}}},CreateAssessmentTarget:{input:{type:"structure",required:["assessmentTargetName"],members:{assessmentTargetName:{},resourceGroupArn:{}}},output:{type:"structure",required:["assessmentTargetArn"],members:{assessmentTargetArn:{}}}},CreateAssessmentTemplate:{input:{type:"structure",required:["assessmentTargetArn","assessmentTemplateName","durationInSeconds","rulesPackageArns"],members:{assessmentTargetArn:{},assessmentTemplateName:{},durationInSeconds:{type:"integer"},rulesPackageArns:{shape:"Sj"},userAttributesForFindings:{shape:"S4"}}},output:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}}},CreateExclusionsPreview:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}},output:{type:"structure",required:["previewToken"],members:{previewToken:{}}}},CreateResourceGroup:{input:{type:"structure",required:["resourceGroupTags"],members:{resourceGroupTags:{shape:"Sp"}}},output:{type:"structure",required:["resourceGroupArn"],members:{resourceGroupArn:{}}}},DeleteAssessmentRun:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}}},DeleteAssessmentTarget:{input:{type:"structure",required:["assessmentTargetArn"],members:{assessmentTargetArn:{}}}},DeleteAssessmentTemplate:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}}},DescribeAssessmentRuns:{input:{type:"structure",required:["assessmentRunArns"],members:{assessmentRunArns:{shape:"Sy"}}},output:{type:"structure",required:["assessmentRuns","failedItems"],members:{assessmentRuns:{type:"list",member:{type:"structure",required:["arn","name","assessmentTemplateArn","state","durationInSeconds","rulesPackageArns","userAttributesForFindings","createdAt","stateChangedAt","dataCollected","stateChanges","notifications","findingCounts"],members:{arn:{},name:{},assessmentTemplateArn:{},state:{},durationInSeconds:{type:"integer"},rulesPackageArns:{type:"list",member:{}},userAttributesForFindings:{shape:"S4"},createdAt:{type:"timestamp"},startedAt:{type:"timestamp"},completedAt:{type:"timestamp"},stateChangedAt:{type:"timestamp"},dataCollected:{type:"boolean"},stateChanges:{type:"list",member:{type:"structure",required:["stateChangedAt","state"],members:{stateChangedAt:{type:"timestamp"},state:{}}}},notifications:{type:"list",member:{type:"structure",required:["date","event","error"],members:{date:{type:"timestamp"},event:{},message:{},error:{type:"boolean"},snsTopicArn:{},snsPublishStatusCode:{}}}},findingCounts:{type:"map",key:{},value:{type:"integer"}}}}},failedItems:{shape:"S9"}}}},DescribeAssessmentTargets:{input:{type:"structure",required:["assessmentTargetArns"],members:{assessmentTargetArns:{shape:"Sy"}}},output:{type:"structure",required:["assessmentTargets","failedItems"],members:{assessmentTargets:{type:"list",member:{type:"structure",required:["arn","name","createdAt","updatedAt"],members:{arn:{},name:{},resourceGroupArn:{},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeAssessmentTemplates:{input:{type:"structure",required:["assessmentTemplateArns"],members:{assessmentTemplateArns:{shape:"Sy"}}},output:{type:"structure",required:["assessmentTemplates","failedItems"],members:{assessmentTemplates:{type:"list",member:{type:"structure",required:["arn","name","assessmentTargetArn","durationInSeconds","rulesPackageArns","userAttributesForFindings","assessmentRunCount","createdAt"],members:{arn:{},name:{},assessmentTargetArn:{},durationInSeconds:{type:"integer"},rulesPackageArns:{shape:"Sj"},userAttributesForFindings:{shape:"S4"},lastAssessmentRunArn:{},assessmentRunCount:{type:"integer"},createdAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeCrossAccountAccessRole:{output:{type:"structure",required:["roleArn","valid","registeredAt"],members:{roleArn:{},valid:{type:"boolean"},registeredAt:{type:"timestamp"}}}},DescribeExclusions:{input:{type:"structure",required:["exclusionArns"],members:{exclusionArns:{type:"list",member:{}},locale:{}}},output:{type:"structure",required:["exclusions","failedItems"],members:{exclusions:{type:"map",key:{},value:{type:"structure",required:["arn","title","description","recommendation","scopes"],members:{arn:{},title:{},description:{},recommendation:{},scopes:{shape:"S1x"},attributes:{shape:"S21"}}}},failedItems:{shape:"S9"}}}},DescribeFindings:{input:{type:"structure",required:["findingArns"],members:{findingArns:{shape:"Sy"},locale:{}}},output:{type:"structure",required:["findings","failedItems"],members:{findings:{type:"list",member:{type:"structure",required:["arn","attributes","userAttributes","createdAt","updatedAt"],members:{arn:{},schemaVersion:{type:"integer"},service:{},serviceAttributes:{type:"structure",required:["schemaVersion"],members:{schemaVersion:{type:"integer"},assessmentRunArn:{},rulesPackageArn:{}}},assetType:{},assetAttributes:{type:"structure", -required:["schemaVersion"],members:{schemaVersion:{type:"integer"},agentId:{},autoScalingGroup:{},amiId:{},hostname:{},ipv4Addresses:{type:"list",member:{}},tags:{type:"list",member:{shape:"S2i"}},networkInterfaces:{type:"list",member:{type:"structure",members:{networkInterfaceId:{},subnetId:{},vpcId:{},privateDnsName:{},privateIpAddress:{},privateIpAddresses:{type:"list",member:{type:"structure",members:{privateDnsName:{},privateIpAddress:{}}}},publicDnsName:{},publicIp:{},ipv6Addresses:{type:"list",member:{}},securityGroups:{type:"list",member:{type:"structure",members:{groupName:{},groupId:{}}}}}}}}},id:{},title:{},description:{},recommendation:{},severity:{},numericSeverity:{type:"double"},confidence:{type:"integer"},indicatorOfCompromise:{type:"boolean"},attributes:{shape:"S21"},userAttributes:{shape:"S4"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeResourceGroups:{input:{type:"structure",required:["resourceGroupArns"],members:{resourceGroupArns:{shape:"Sy"}}},output:{type:"structure",required:["resourceGroups","failedItems"],members:{resourceGroups:{type:"list",member:{type:"structure",required:["arn","tags","createdAt"],members:{arn:{},tags:{shape:"Sp"},createdAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeRulesPackages:{input:{type:"structure",required:["rulesPackageArns"],members:{rulesPackageArns:{shape:"Sy"},locale:{}}},output:{type:"structure",required:["rulesPackages","failedItems"],members:{rulesPackages:{type:"list",member:{type:"structure",required:["arn","name","version","provider"],members:{arn:{},name:{},version:{},provider:{},description:{}}}},failedItems:{shape:"S9"}}}},GetAssessmentReport:{input:{type:"structure",required:["assessmentRunArn","reportFileFormat","reportType"],members:{assessmentRunArn:{},reportFileFormat:{},reportType:{}}},output:{type:"structure",required:["status"],members:{status:{},url:{}}}},GetExclusionsPreview:{input:{type:"structure",required:["assessmentTemplateArn","previewToken"],members:{assessmentTemplateArn:{},previewToken:{},nextToken:{},maxResults:{type:"integer"},locale:{}}},output:{type:"structure",required:["previewStatus"],members:{previewStatus:{},exclusionPreviews:{type:"list",member:{type:"structure",required:["title","description","recommendation","scopes"],members:{title:{},description:{},recommendation:{},scopes:{shape:"S1x"},attributes:{shape:"S21"}}}},nextToken:{}}}},GetTelemetryMetadata:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}},output:{type:"structure",required:["telemetryMetadata"],members:{telemetryMetadata:{shape:"S3j"}}}},ListAssessmentRunAgents:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{},filter:{type:"structure",required:["agentHealths","agentHealthCodes"],members:{agentHealths:{type:"list",member:{}},agentHealthCodes:{type:"list",member:{}}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentRunAgents"],members:{assessmentRunAgents:{type:"list",member:{type:"structure",required:["agentId","assessmentRunArn","agentHealth","agentHealthCode","telemetryMetadata"],members:{agentId:{},assessmentRunArn:{},agentHealth:{},agentHealthCode:{},agentHealthDetails:{},autoScalingGroup:{},telemetryMetadata:{shape:"S3j"}}}},nextToken:{}}}},ListAssessmentRuns:{input:{type:"structure",members:{assessmentTemplateArns:{shape:"S3x"},filter:{type:"structure",members:{namePattern:{},states:{type:"list",member:{}},durationRange:{shape:"S41"},rulesPackageArns:{shape:"S42"},startTimeRange:{shape:"S43"},completionTimeRange:{shape:"S43"},stateChangeTimeRange:{shape:"S43"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentRunArns"],members:{assessmentRunArns:{shape:"S45"},nextToken:{}}}},ListAssessmentTargets:{input:{type:"structure",members:{filter:{type:"structure",members:{assessmentTargetNamePattern:{}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentTargetArns"],members:{assessmentTargetArns:{shape:"S45"},nextToken:{}}}},ListAssessmentTemplates:{input:{type:"structure",members:{assessmentTargetArns:{shape:"S3x"},filter:{type:"structure",members:{namePattern:{},durationRange:{shape:"S41"},rulesPackageArns:{shape:"S42"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentTemplateArns"],members:{assessmentTemplateArns:{shape:"S45"},nextToken:{}}}},ListEventSubscriptions:{input:{type:"structure",members:{resourceArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["subscriptions"],members:{subscriptions:{type:"list",member:{type:"structure",required:["resourceArn","topicArn","eventSubscriptions"],members:{resourceArn:{},topicArn:{},eventSubscriptions:{type:"list",member:{type:"structure",required:["event","subscribedAt"],members:{event:{},subscribedAt:{type:"timestamp"}}}}}}},nextToken:{}}}},ListExclusions:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["exclusionArns"],members:{exclusionArns:{shape:"S45"},nextToken:{}}}},ListFindings:{input:{type:"structure",members:{assessmentRunArns:{shape:"S3x"},filter:{type:"structure",members:{agentIds:{type:"list",member:{}},autoScalingGroups:{type:"list",member:{}},ruleNames:{type:"list",member:{}},severities:{type:"list",member:{}},rulesPackageArns:{shape:"S42"},attributes:{shape:"S21"},userAttributes:{shape:"S21"},creationTimeRange:{shape:"S43"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["findingArns"],members:{findingArns:{shape:"S45"},nextToken:{}}}},ListRulesPackages:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["rulesPackageArns"],members:{rulesPackageArns:{shape:"S45"},nextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{}}},output:{type:"structure",required:["tags"],members:{tags:{shape:"S4x"}}}},PreviewAgents:{input:{type:"structure",required:["previewAgentsArn"],members:{previewAgentsArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["agentPreviews"],members:{agentPreviews:{type:"list",member:{type:"structure",required:["agentId"],members:{hostname:{},agentId:{},autoScalingGroup:{},agentHealth:{},agentVersion:{},operatingSystem:{},kernelVersion:{},ipv4Address:{}}}},nextToken:{}}}},RegisterCrossAccountAccessRole:{input:{type:"structure",required:["roleArn"],members:{roleArn:{}}}},RemoveAttributesFromFindings:{input:{type:"structure",required:["findingArns","attributeKeys"],members:{findingArns:{shape:"S2"},attributeKeys:{type:"list",member:{}}}},output:{type:"structure",required:["failedItems"],members:{failedItems:{shape:"S9"}}}},SetTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{},tags:{shape:"S4x"}}}},StartAssessmentRun:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{},assessmentRunName:{}}},output:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}}},StopAssessmentRun:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{},stopAction:{}}}},SubscribeToEvent:{input:{type:"structure",required:["resourceArn","event","topicArn"],members:{resourceArn:{},event:{},topicArn:{}}}},UnsubscribeFromEvent:{input:{type:"structure",required:["resourceArn","event","topicArn"],members:{resourceArn:{},event:{},topicArn:{}}}},UpdateAssessmentTarget:{input:{type:"structure",required:["assessmentTargetArn","assessmentTargetName"],members:{assessmentTargetArn:{},assessmentTargetName:{},resourceGroupArn:{}}}}},shapes:{S2:{type:"list",member:{}},S4:{type:"list",member:{shape:"S5"}},S5:{type:"structure",required:["key"],members:{key:{},value:{}}},S9:{type:"map",key:{},value:{type:"structure",required:["failureCode","retryable"],members:{failureCode:{},retryable:{type:"boolean"}}}},Sj:{type:"list",member:{}},Sp:{type:"list",member:{type:"structure",required:["key"],members:{key:{},value:{}}}},Sy:{type:"list",member:{}},S1x:{type:"list",member:{type:"structure",members:{key:{},value:{}}}},S21:{type:"list",member:{shape:"S5"}},S2i:{type:"structure",required:["key"],members:{key:{},value:{}}},S3j:{type:"list",member:{type:"structure",required:["messageType","count"],members:{messageType:{},count:{type:"long"},dataSize:{type:"long"}}}},S3x:{type:"list",member:{}},S41:{type:"structure",members:{minSeconds:{type:"integer"},maxSeconds:{type:"integer"}}},S42:{type:"list",member:{}},S43:{type:"structure",members:{beginDate:{type:"timestamp"},endDate:{type:"timestamp"}}},S45:{type:"list",member:{}},S4x:{type:"list",member:{shape:"S2i"}}}}},{}],125:[function(e,t,r){t.exports={pagination:{GetExclusionsPreview:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListAssessmentRunAgents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListAssessmentRuns:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListAssessmentTargets:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListAssessmentTemplates:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListEventSubscriptions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListExclusions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListFindings:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListRulesPackages:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},PreviewAgents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"}}}},{}],126:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-05-28",endpointPrefix:"iot",protocol:"rest-json",serviceFullName:"AWS IoT",serviceId:"IoT",signatureVersion:"v4",signingName:"execute-api",uid:"iot-2015-05-28"},operations:{AcceptCertificateTransfer:{http:{method:"PATCH",requestUri:"/accept-certificate-transfer/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"},setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}}},AddThingToBillingGroup:{http:{method:"PUT",requestUri:"/billing-groups/addThingToBillingGroup"},input:{type:"structure",members:{billingGroupName:{},billingGroupArn:{},thingName:{},thingArn:{}}},output:{type:"structure",members:{}}},AddThingToThingGroup:{http:{method:"PUT",requestUri:"/thing-groups/addThingToThingGroup"},input:{type:"structure",members:{thingGroupName:{},thingGroupArn:{},thingName:{},thingArn:{},overrideDynamicGroups:{type:"boolean"}}},output:{type:"structure",members:{}}},AssociateTargetsWithJob:{http:{requestUri:"/jobs/{jobId}/targets"},input:{type:"structure",required:["targets","jobId"],members:{targets:{shape:"Sg"},jobId:{location:"uri",locationName:"jobId"},comment:{},namespaceId:{location:"querystring",locationName:"namespaceId"}}},output:{type:"structure",members:{jobArn:{},jobId:{},description:{}}}},AttachPolicy:{http:{method:"PUT",requestUri:"/target-policies/{policyName}"},input:{type:"structure",required:["policyName","target"],members:{policyName:{location:"uri",locationName:"policyName"},target:{}}}},AttachPrincipalPolicy:{http:{method:"PUT",requestUri:"/principal-policies/{policyName}"},input:{type:"structure",required:["policyName","principal"],members:{policyName:{location:"uri",locationName:"policyName"},principal:{location:"header",locationName:"x-amzn-iot-principal"}}},deprecated:!0},AttachSecurityProfile:{http:{method:"PUT",requestUri:"/security-profiles/{securityProfileName}/targets"},input:{type:"structure",required:["securityProfileName","securityProfileTargetArn"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},securityProfileTargetArn:{location:"querystring",locationName:"securityProfileTargetArn"}}},output:{type:"structure",members:{}}},AttachThingPrincipal:{http:{method:"PUT",requestUri:"/things/{thingName}/principals"},input:{type:"structure",required:["thingName","principal"],members:{thingName:{location:"uri",locationName:"thingName"},principal:{location:"header",locationName:"x-amzn-principal"}}},output:{type:"structure",members:{}}},CancelAuditMitigationActionsTask:{http:{method:"PUT",requestUri:"/audit/mitigationactions/tasks/{taskId}/cancel"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{}}},CancelAuditTask:{http:{method:"PUT",requestUri:"/audit/tasks/{taskId}/cancel"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{}}},CancelCertificateTransfer:{http:{method:"PATCH",requestUri:"/cancel-certificate-transfer/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"}}}},CancelDetectMitigationActionsTask:{http:{method:"PUT",requestUri:"/detect/mitigationactions/tasks/{taskId}/cancel"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{}}},CancelJob:{http:{method:"PUT",requestUri:"/jobs/{jobId}/cancel"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"},reasonCode:{},comment:{},force:{location:"querystring",locationName:"force",type:"boolean"}}},output:{type:"structure",members:{jobArn:{},jobId:{},description:{}}}},CancelJobExecution:{http:{method:"PUT",requestUri:"/things/{thingName}/jobs/{jobId}/cancel"},input:{type:"structure",required:["jobId","thingName"],members:{jobId:{location:"uri",locationName:"jobId"},thingName:{location:"uri",locationName:"thingName"},force:{location:"querystring",locationName:"force",type:"boolean"},expectedVersion:{type:"long"},statusDetails:{shape:"S1e"}}}},ClearDefaultAuthorizer:{http:{method:"DELETE",requestUri:"/default-authorizer"},input:{type:"structure",members:{}},output:{type:"structure",members:{}}},ConfirmTopicRuleDestination:{http:{method:"GET",requestUri:"/confirmdestination/{confirmationToken+}"},input:{type:"structure",required:["confirmationToken"],members:{confirmationToken:{location:"uri",locationName:"confirmationToken"}}},output:{type:"structure",members:{}}},CreateAuditSuppression:{http:{requestUri:"/audit/suppressions/create"},input:{type:"structure",required:["checkName","resourceIdentifier","clientRequestToken"],members:{checkName:{},resourceIdentifier:{shape:"S1o"},expirationDate:{type:"timestamp"},suppressIndefinitely:{type:"boolean"},description:{},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{}}},CreateAuthorizer:{http:{requestUri:"/authorizer/{authorizerName}"},input:{type:"structure",required:["authorizerName","authorizerFunctionArn"],members:{authorizerName:{location:"uri",locationName:"authorizerName"},authorizerFunctionArn:{},tokenKeyName:{},tokenSigningPublicKeys:{shape:"S25"},status:{},tags:{shape:"S29"},signingDisabled:{type:"boolean"},enableCachingForHttp:{type:"boolean"}}},output:{type:"structure",members:{authorizerName:{},authorizerArn:{}}}},CreateBillingGroup:{http:{requestUri:"/billing-groups/{billingGroupName}"},input:{type:"structure",required:["billingGroupName"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"},billingGroupProperties:{shape:"S2i"},tags:{shape:"S29"}}},output:{type:"structure",members:{billingGroupName:{},billingGroupArn:{},billingGroupId:{}}}},CreateCertificateFromCsr:{http:{requestUri:"/certificates"},input:{type:"structure",required:["certificateSigningRequest"],members:{certificateSigningRequest:{},setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}},output:{type:"structure",members:{certificateArn:{},certificateId:{},certificatePem:{}}}},CreateCustomMetric:{http:{requestUri:"/custom-metric/{metricName}"},input:{type:"structure",required:["metricName","metricType","clientRequestToken"],members:{metricName:{location:"uri",locationName:"metricName"},displayName:{},metricType:{},tags:{shape:"S29"},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{metricName:{},metricArn:{}}}},CreateDimension:{http:{requestUri:"/dimensions/{name}"},input:{type:"structure",required:["name","type","stringValues","clientRequestToken"],members:{name:{location:"uri",locationName:"name"},type:{},stringValues:{shape:"S30"},tags:{shape:"S29"},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{name:{},arn:{}}}},CreateDomainConfiguration:{http:{requestUri:"/domainConfigurations/{domainConfigurationName}"},input:{type:"structure",required:["domainConfigurationName"],members:{domainConfigurationName:{location:"uri",locationName:"domainConfigurationName"},domainName:{},serverCertificateArns:{type:"list",member:{}},validationCertificateArn:{},authorizerConfig:{shape:"S39"},serviceType:{},tags:{shape:"S29"}}},output:{type:"structure",members:{domainConfigurationName:{},domainConfigurationArn:{}}}},CreateDynamicThingGroup:{http:{requestUri:"/dynamic-thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName","queryString"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},thingGroupProperties:{shape:"S3f"},indexName:{},queryString:{},queryVersion:{},tags:{shape:"S29"}}},output:{type:"structure",members:{thingGroupName:{},thingGroupArn:{},thingGroupId:{},indexName:{},queryString:{},queryVersion:{}}}},CreateFleetMetric:{http:{method:"PUT",requestUri:"/fleet-metric/{metricName}"},input:{type:"structure",required:["metricName","queryString","aggregationType","period","aggregationField"],members:{metricName:{location:"uri",locationName:"metricName"},queryString:{},aggregationType:{shape:"S3t"},period:{type:"integer"},aggregationField:{},description:{},queryVersion:{},indexName:{},unit:{},tags:{shape:"S29"}}},output:{type:"structure",members:{metricName:{},metricArn:{}}}},CreateJob:{http:{method:"PUT",requestUri:"/jobs/{jobId}"},input:{type:"structure",required:["jobId","targets"],members:{jobId:{location:"uri",locationName:"jobId"},targets:{shape:"Sg"},documentSource:{},document:{},description:{},presignedUrlConfig:{shape:"S46"},targetSelection:{},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},timeoutConfig:{shape:"S4n"},tags:{shape:"S29"},namespaceId:{},jobTemplateArn:{},jobExecutionsRetryConfig:{shape:"S4q"},documentParameters:{shape:"S4v"}}},output:{type:"structure",members:{jobArn:{},jobId:{},description:{}}}},CreateJobTemplate:{http:{method:"PUT",requestUri:"/job-templates/{jobTemplateId}"},input:{type:"structure",required:["jobTemplateId","description"],members:{jobTemplateId:{location:"uri",locationName:"jobTemplateId"},jobArn:{},documentSource:{},document:{},description:{},presignedUrlConfig:{shape:"S46"},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},timeoutConfig:{shape:"S4n"},tags:{shape:"S29"},jobExecutionsRetryConfig:{shape:"S4q"}}},output:{type:"structure",members:{jobTemplateArn:{},jobTemplateId:{}}}},CreateKeysAndCertificate:{http:{requestUri:"/keys-and-certificate"},input:{type:"structure",members:{setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}},output:{type:"structure",members:{certificateArn:{},certificateId:{},certificatePem:{},keyPair:{shape:"S54"}}}},CreateMitigationAction:{http:{requestUri:"/mitigationactions/actions/{actionName}"},input:{type:"structure",required:["actionName","roleArn","actionParams"],members:{actionName:{location:"uri",locationName:"actionName"},roleArn:{},actionParams:{shape:"S59"},tags:{shape:"S29"}}},output:{type:"structure",members:{actionArn:{},actionId:{}}}},CreateOTAUpdate:{http:{requestUri:"/otaUpdates/{otaUpdateId}"},input:{type:"structure",required:["otaUpdateId","targets","files","roleArn"],members:{otaUpdateId:{location:"uri",locationName:"otaUpdateId"},description:{},targets:{shape:"S5s"},protocols:{shape:"S5u"},targetSelection:{},awsJobExecutionsRolloutConfig:{shape:"S5w"},awsJobPresignedUrlConfig:{shape:"S63"},awsJobAbortConfig:{type:"structure",required:["abortCriteriaList"],members:{abortCriteriaList:{type:"list",member:{type:"structure",required:["failureType","action","thresholdPercentage","minNumberOfExecutedThings"],members:{failureType:{},action:{},thresholdPercentage:{type:"double"},minNumberOfExecutedThings:{type:"integer"}}}}}},awsJobTimeoutConfig:{type:"structure",members:{inProgressTimeoutInMinutes:{type:"long"}}},files:{shape:"S6e"},roleArn:{},additionalParameters:{shape:"S7c"},tags:{shape:"S29"}}},output:{type:"structure",members:{otaUpdateId:{},awsIotJobId:{},otaUpdateArn:{},awsIotJobArn:{},otaUpdateStatus:{}}}},CreatePolicy:{http:{requestUri:"/policies/{policyName}"},input:{type:"structure",required:["policyName","policyDocument"],members:{policyName:{location:"uri",locationName:"policyName"},policyDocument:{},tags:{shape:"S29"}}},output:{type:"structure",members:{policyName:{},policyArn:{},policyDocument:{},policyVersionId:{}}}},CreatePolicyVersion:{http:{requestUri:"/policies/{policyName}/version"},input:{type:"structure",required:["policyName","policyDocument"],members:{policyName:{location:"uri",locationName:"policyName"},policyDocument:{},setAsDefault:{location:"querystring",locationName:"setAsDefault",type:"boolean"}}},output:{type:"structure",members:{policyArn:{},policyDocument:{},policyVersionId:{},isDefaultVersion:{type:"boolean"}}}},CreateProvisioningClaim:{http:{requestUri:"/provisioning-templates/{templateName}/provisioning-claim"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"}}},output:{type:"structure",members:{certificateId:{},certificatePem:{},keyPair:{shape:"S54"},expiration:{type:"timestamp"}}}},CreateProvisioningTemplate:{http:{requestUri:"/provisioning-templates"},input:{type:"structure",required:["templateName","templateBody","provisioningRoleArn"],members:{templateName:{},description:{},templateBody:{},enabled:{type:"boolean"},provisioningRoleArn:{},preProvisioningHook:{shape:"S7y"},tags:{shape:"S29"}}},output:{type:"structure",members:{templateArn:{},templateName:{},defaultVersionId:{type:"integer"}}}},CreateProvisioningTemplateVersion:{http:{requestUri:"/provisioning-templates/{templateName}/versions"},input:{type:"structure",required:["templateName","templateBody"],members:{templateName:{location:"uri",locationName:"templateName"},templateBody:{},setAsDefault:{location:"querystring",locationName:"setAsDefault",type:"boolean"}}},output:{type:"structure",members:{templateArn:{},templateName:{},versionId:{type:"integer"},isDefaultVersion:{type:"boolean"}}}},CreateRoleAlias:{http:{requestUri:"/role-aliases/{roleAlias}"},input:{type:"structure",required:["roleAlias","roleArn"],members:{roleAlias:{location:"uri",locationName:"roleAlias"},roleArn:{},credentialDurationSeconds:{type:"integer"},tags:{shape:"S29"}}},output:{type:"structure",members:{roleAlias:{},roleAliasArn:{}}}},CreateScheduledAudit:{http:{requestUri:"/audit/scheduledaudits/{scheduledAuditName}"},input:{type:"structure",required:["frequency","targetCheckNames","scheduledAuditName"],members:{frequency:{},dayOfMonth:{},dayOfWeek:{},targetCheckNames:{shape:"S8d"},scheduledAuditName:{location:"uri",locationName:"scheduledAuditName"},tags:{shape:"S29"}}},output:{type:"structure",members:{scheduledAuditArn:{}}}},CreateSecurityProfile:{http:{requestUri:"/security-profiles/{securityProfileName}"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},securityProfileDescription:{},behaviors:{shape:"S8j"},alertTargets:{shape:"S99"},additionalMetricsToRetain:{shape:"S9d",deprecated:!0,deprecatedMessage:"Use additionalMetricsToRetainV2."},additionalMetricsToRetainV2:{shape:"S9e"},tags:{shape:"S29"}}},output:{type:"structure",members:{securityProfileName:{},securityProfileArn:{}}}},CreateStream:{http:{requestUri:"/streams/{streamId}"},input:{type:"structure",required:["streamId","files","roleArn"],members:{streamId:{location:"uri",locationName:"streamId"},description:{},files:{shape:"S9k"},roleArn:{},tags:{shape:"S29"}}},output:{type:"structure",members:{streamId:{},streamArn:{},description:{},streamVersion:{type:"integer"}}}},CreateThing:{http:{requestUri:"/things/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},thingTypeName:{},attributePayload:{shape:"S3h"},billingGroupName:{}}},output:{type:"structure",members:{thingName:{},thingArn:{},thingId:{}}}},CreateThingGroup:{http:{requestUri:"/thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},parentGroupName:{},thingGroupProperties:{shape:"S3f"},tags:{shape:"S29"}}},output:{type:"structure",members:{thingGroupName:{},thingGroupArn:{},thingGroupId:{}}}},CreateThingType:{http:{requestUri:"/thing-types/{thingTypeName}"},input:{type:"structure",required:["thingTypeName"],members:{thingTypeName:{location:"uri",locationName:"thingTypeName"},thingTypeProperties:{shape:"S9w"},tags:{shape:"S29"}}},output:{type:"structure",members:{thingTypeName:{},thingTypeArn:{},thingTypeId:{}}}},CreateTopicRule:{http:{requestUri:"/rules/{ruleName}"},input:{type:"structure",required:["ruleName","topicRulePayload"],members:{ruleName:{location:"uri",locationName:"ruleName"},topicRulePayload:{shape:"Sa4"},tags:{location:"header",locationName:"x-amz-tagging"}},payload:"topicRulePayload"}},CreateTopicRuleDestination:{http:{requestUri:"/destinations"},input:{type:"structure",required:["destinationConfiguration"],members:{destinationConfiguration:{type:"structure",members:{httpUrlConfiguration:{type:"structure",required:["confirmationUrl"],members:{confirmationUrl:{}}},vpcConfiguration:{type:"structure",required:["subnetIds","vpcId","roleArn"],members:{subnetIds:{shape:"Sd5"},securityGroups:{shape:"Sd7"},vpcId:{},roleArn:{}}}}}}},output:{type:"structure",members:{topicRuleDestination:{shape:"Sdb"}}}},DeleteAccountAuditConfiguration:{http:{method:"DELETE",requestUri:"/audit/configuration"},input:{type:"structure",members:{deleteScheduledAudits:{location:"querystring",locationName:"deleteScheduledAudits",type:"boolean"}}},output:{type:"structure",members:{}}},DeleteAuditSuppression:{http:{requestUri:"/audit/suppressions/delete"},input:{type:"structure",required:["checkName","resourceIdentifier"],members:{checkName:{},resourceIdentifier:{shape:"S1o"}}},output:{type:"structure",members:{}}},DeleteAuthorizer:{http:{method:"DELETE",requestUri:"/authorizer/{authorizerName}"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{location:"uri",locationName:"authorizerName"}}},output:{type:"structure",members:{}}},DeleteBillingGroup:{http:{method:"DELETE",requestUri:"/billing-groups/{billingGroupName}"},input:{type:"structure",required:["billingGroupName"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteCACertificate:{http:{method:"DELETE",requestUri:"/cacertificate/{caCertificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"caCertificateId"}}},output:{type:"structure",members:{}}},DeleteCertificate:{http:{method:"DELETE",requestUri:"/certificates/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"},forceDelete:{location:"querystring",locationName:"forceDelete",type:"boolean"}}}},DeleteCustomMetric:{http:{method:"DELETE",requestUri:"/custom-metric/{metricName}"},input:{type:"structure",required:["metricName"],members:{metricName:{location:"uri",locationName:"metricName"}}},output:{type:"structure",members:{}}},DeleteDimension:{http:{method:"DELETE",requestUri:"/dimensions/{name}"},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}},output:{type:"structure",members:{}}},DeleteDomainConfiguration:{http:{method:"DELETE",requestUri:"/domainConfigurations/{domainConfigurationName}"},input:{type:"structure",required:["domainConfigurationName"],members:{domainConfigurationName:{location:"uri",locationName:"domainConfigurationName"}}},output:{type:"structure",members:{}}},DeleteDynamicThingGroup:{http:{method:"DELETE",requestUri:"/dynamic-thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteFleetMetric:{http:{method:"DELETE",requestUri:"/fleet-metric/{metricName}"},input:{type:"structure",required:["metricName"],members:{metricName:{location:"uri",locationName:"metricName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}}},DeleteJob:{http:{method:"DELETE",requestUri:"/jobs/{jobId}"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"},force:{location:"querystring",locationName:"force",type:"boolean"},namespaceId:{location:"querystring",locationName:"namespaceId"}}}},DeleteJobExecution:{http:{method:"DELETE",requestUri:"/things/{thingName}/jobs/{jobId}/executionNumber/{executionNumber}"},input:{type:"structure",required:["jobId","thingName","executionNumber"],members:{jobId:{location:"uri",locationName:"jobId"},thingName:{location:"uri",locationName:"thingName"},executionNumber:{location:"uri",locationName:"executionNumber",type:"long"},force:{location:"querystring",locationName:"force",type:"boolean"},namespaceId:{location:"querystring",locationName:"namespaceId"}}}},DeleteJobTemplate:{http:{method:"DELETE",requestUri:"/job-templates/{jobTemplateId}"},input:{type:"structure",required:["jobTemplateId"],members:{jobTemplateId:{location:"uri",locationName:"jobTemplateId"}}}},DeleteMitigationAction:{http:{method:"DELETE",requestUri:"/mitigationactions/actions/{actionName}"},input:{type:"structure",required:["actionName"],members:{actionName:{location:"uri",locationName:"actionName"}}},output:{type:"structure",members:{}}},DeleteOTAUpdate:{http:{method:"DELETE",requestUri:"/otaUpdates/{otaUpdateId}"},input:{type:"structure",required:["otaUpdateId"],members:{otaUpdateId:{location:"uri",locationName:"otaUpdateId"},deleteStream:{location:"querystring",locationName:"deleteStream",type:"boolean"},forceDeleteAWSJob:{location:"querystring",locationName:"forceDeleteAWSJob",type:"boolean"}}},output:{type:"structure",members:{}}},DeletePolicy:{http:{method:"DELETE",requestUri:"/policies/{policyName}"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"uri",locationName:"policyName"}}}},DeletePolicyVersion:{http:{method:"DELETE",requestUri:"/policies/{policyName}/version/{policyVersionId}"},input:{type:"structure",required:["policyName","policyVersionId"],members:{policyName:{location:"uri",locationName:"policyName"},policyVersionId:{location:"uri",locationName:"policyVersionId"}}}},DeleteProvisioningTemplate:{http:{method:"DELETE",requestUri:"/provisioning-templates/{templateName}"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"}}},output:{type:"structure",members:{}}},DeleteProvisioningTemplateVersion:{http:{method:"DELETE",requestUri:"/provisioning-templates/{templateName}/versions/{versionId}"},input:{type:"structure",required:["templateName","versionId"],members:{templateName:{location:"uri",locationName:"templateName" -},versionId:{location:"uri",locationName:"versionId",type:"integer"}}},output:{type:"structure",members:{}}},DeleteRegistrationCode:{http:{method:"DELETE",requestUri:"/registrationcode"},input:{type:"structure",members:{}},output:{type:"structure",members:{}}},DeleteRoleAlias:{http:{method:"DELETE",requestUri:"/role-aliases/{roleAlias}"},input:{type:"structure",required:["roleAlias"],members:{roleAlias:{location:"uri",locationName:"roleAlias"}}},output:{type:"structure",members:{}}},DeleteScheduledAudit:{http:{method:"DELETE",requestUri:"/audit/scheduledaudits/{scheduledAuditName}"},input:{type:"structure",required:["scheduledAuditName"],members:{scheduledAuditName:{location:"uri",locationName:"scheduledAuditName"}}},output:{type:"structure",members:{}}},DeleteSecurityProfile:{http:{method:"DELETE",requestUri:"/security-profiles/{securityProfileName}"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteStream:{http:{method:"DELETE",requestUri:"/streams/{streamId}"},input:{type:"structure",required:["streamId"],members:{streamId:{location:"uri",locationName:"streamId"}}},output:{type:"structure",members:{}}},DeleteThing:{http:{method:"DELETE",requestUri:"/things/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteThingGroup:{http:{method:"DELETE",requestUri:"/thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteThingType:{http:{method:"DELETE",requestUri:"/thing-types/{thingTypeName}"},input:{type:"structure",required:["thingTypeName"],members:{thingTypeName:{location:"uri",locationName:"thingTypeName"}}},output:{type:"structure",members:{}}},DeleteTopicRule:{http:{method:"DELETE",requestUri:"/rules/{ruleName}"},input:{type:"structure",required:["ruleName"],members:{ruleName:{location:"uri",locationName:"ruleName"}}}},DeleteTopicRuleDestination:{http:{method:"DELETE",requestUri:"/destinations/{arn+}"},input:{type:"structure",required:["arn"],members:{arn:{location:"uri",locationName:"arn"}}},output:{type:"structure",members:{}}},DeleteV2LoggingLevel:{http:{method:"DELETE",requestUri:"/v2LoggingLevel"},input:{type:"structure",required:["targetType","targetName"],members:{targetType:{location:"querystring",locationName:"targetType"},targetName:{location:"querystring",locationName:"targetName"}}}},DeprecateThingType:{http:{requestUri:"/thing-types/{thingTypeName}/deprecate"},input:{type:"structure",required:["thingTypeName"],members:{thingTypeName:{location:"uri",locationName:"thingTypeName"},undoDeprecate:{type:"boolean"}}},output:{type:"structure",members:{}}},DescribeAccountAuditConfiguration:{http:{method:"GET",requestUri:"/audit/configuration"},input:{type:"structure",members:{}},output:{type:"structure",members:{roleArn:{},auditNotificationTargetConfigurations:{shape:"Sfb"},auditCheckConfigurations:{shape:"Sfe"}}}},DescribeAuditFinding:{http:{method:"GET",requestUri:"/audit/findings/{findingId}"},input:{type:"structure",required:["findingId"],members:{findingId:{location:"uri",locationName:"findingId"}}},output:{type:"structure",members:{finding:{shape:"Sfj"}}}},DescribeAuditMitigationActionsTask:{http:{method:"GET",requestUri:"/audit/mitigationactions/tasks/{taskId}"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{taskStatus:{},startTime:{type:"timestamp"},endTime:{type:"timestamp"},taskStatistics:{type:"map",key:{},value:{type:"structure",members:{totalFindingsCount:{type:"long"},failedFindingsCount:{type:"long"},succeededFindingsCount:{type:"long"},skippedFindingsCount:{type:"long"},canceledFindingsCount:{type:"long"}}}},target:{shape:"Sg3"},auditCheckToActionsMapping:{shape:"Sg7"},actionsDefinition:{shape:"Sg9"}}}},DescribeAuditSuppression:{http:{requestUri:"/audit/suppressions/describe"},input:{type:"structure",required:["checkName","resourceIdentifier"],members:{checkName:{},resourceIdentifier:{shape:"S1o"}}},output:{type:"structure",members:{checkName:{},resourceIdentifier:{shape:"S1o"},expirationDate:{type:"timestamp"},suppressIndefinitely:{type:"boolean"},description:{}}}},DescribeAuditTask:{http:{method:"GET",requestUri:"/audit/tasks/{taskId}"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{taskStatus:{},taskType:{},taskStartTime:{type:"timestamp"},taskStatistics:{type:"structure",members:{totalChecks:{type:"integer"},inProgressChecks:{type:"integer"},waitingForDataCollectionChecks:{type:"integer"},compliantChecks:{type:"integer"},nonCompliantChecks:{type:"integer"},failedChecks:{type:"integer"},canceledChecks:{type:"integer"}}},scheduledAuditName:{},auditDetails:{type:"map",key:{},value:{type:"structure",members:{checkRunStatus:{},checkCompliant:{type:"boolean"},totalResourcesCount:{type:"long"},nonCompliantResourcesCount:{type:"long"},suppressedNonCompliantResourcesCount:{type:"long"},errorCode:{},message:{}}}}}}},DescribeAuthorizer:{http:{method:"GET",requestUri:"/authorizer/{authorizerName}"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{location:"uri",locationName:"authorizerName"}}},output:{type:"structure",members:{authorizerDescription:{shape:"Sh0"}}}},DescribeBillingGroup:{http:{method:"GET",requestUri:"/billing-groups/{billingGroupName}"},input:{type:"structure",required:["billingGroupName"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"}}},output:{type:"structure",members:{billingGroupName:{},billingGroupId:{},billingGroupArn:{},version:{type:"long"},billingGroupProperties:{shape:"S2i"},billingGroupMetadata:{type:"structure",members:{creationDate:{type:"timestamp"}}}}}},DescribeCACertificate:{http:{method:"GET",requestUri:"/cacertificate/{caCertificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"caCertificateId"}}},output:{type:"structure",members:{certificateDescription:{type:"structure",members:{certificateArn:{},certificateId:{},status:{},certificatePem:{},ownedBy:{},creationDate:{type:"timestamp"},autoRegistrationStatus:{},lastModifiedDate:{type:"timestamp"},customerVersion:{type:"integer"},generationId:{},validity:{shape:"Shd"}}},registrationConfig:{shape:"She"}}}},DescribeCertificate:{http:{method:"GET",requestUri:"/certificates/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"}}},output:{type:"structure",members:{certificateDescription:{type:"structure",members:{certificateArn:{},certificateId:{},caCertificateId:{},status:{},certificatePem:{},ownedBy:{},previousOwnedBy:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},customerVersion:{type:"integer"},transferData:{type:"structure",members:{transferMessage:{},rejectReason:{},transferDate:{type:"timestamp"},acceptDate:{type:"timestamp"},rejectDate:{type:"timestamp"}}},generationId:{},validity:{shape:"Shd"},certificateMode:{}}}}}},DescribeCustomMetric:{http:{method:"GET",requestUri:"/custom-metric/{metricName}"},input:{type:"structure",required:["metricName"],members:{metricName:{location:"uri",locationName:"metricName"}}},output:{type:"structure",members:{metricName:{},metricArn:{},metricType:{},displayName:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeDefaultAuthorizer:{http:{method:"GET",requestUri:"/default-authorizer"},input:{type:"structure",members:{}},output:{type:"structure",members:{authorizerDescription:{shape:"Sh0"}}}},DescribeDetectMitigationActionsTask:{http:{method:"GET",requestUri:"/detect/mitigationactions/tasks/{taskId}"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{taskSummary:{shape:"Shs"}}}},DescribeDimension:{http:{method:"GET",requestUri:"/dimensions/{name}"},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}},output:{type:"structure",members:{name:{},arn:{},type:{},stringValues:{shape:"S30"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeDomainConfiguration:{http:{method:"GET",requestUri:"/domainConfigurations/{domainConfigurationName}"},input:{type:"structure",required:["domainConfigurationName"],members:{domainConfigurationName:{location:"uri",locationName:"domainConfigurationName"}}},output:{type:"structure",members:{domainConfigurationName:{},domainConfigurationArn:{},domainName:{},serverCertificates:{type:"list",member:{type:"structure",members:{serverCertificateArn:{},serverCertificateStatus:{},serverCertificateStatusDetail:{}}}},authorizerConfig:{shape:"S39"},domainConfigurationStatus:{},serviceType:{},domainType:{},lastStatusChangeDate:{type:"timestamp"}}}},DescribeEndpoint:{http:{method:"GET",requestUri:"/endpoint"},input:{type:"structure",members:{endpointType:{location:"querystring",locationName:"endpointType"}}},output:{type:"structure",members:{endpointAddress:{}}}},DescribeEventConfigurations:{http:{method:"GET",requestUri:"/event-configurations"},input:{type:"structure",members:{}},output:{type:"structure",members:{eventConfigurations:{shape:"Sii"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeFleetMetric:{http:{method:"GET",requestUri:"/fleet-metric/{metricName}"},input:{type:"structure",required:["metricName"],members:{metricName:{location:"uri",locationName:"metricName"}}},output:{type:"structure",members:{metricName:{},queryString:{},aggregationType:{shape:"S3t"},period:{type:"integer"},aggregationField:{},description:{},queryVersion:{},indexName:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},unit:{},version:{type:"long"},metricArn:{}}}},DescribeIndex:{http:{method:"GET",requestUri:"/indices/{indexName}"},input:{type:"structure",required:["indexName"],members:{indexName:{location:"uri",locationName:"indexName"}}},output:{type:"structure",members:{indexName:{},indexStatus:{},schema:{}}}},DescribeJob:{http:{method:"GET",requestUri:"/jobs/{jobId}"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"}}},output:{type:"structure",members:{documentSource:{},job:{type:"structure",members:{jobArn:{},jobId:{},targetSelection:{},status:{},forceCanceled:{type:"boolean"},reasonCode:{},comment:{},targets:{shape:"Sg"},description:{},presignedUrlConfig:{shape:"S46"},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},completedAt:{type:"timestamp"},jobProcessDetails:{type:"structure",members:{processingTargets:{type:"list",member:{}},numberOfCanceledThings:{type:"integer"},numberOfSucceededThings:{type:"integer"},numberOfFailedThings:{type:"integer"},numberOfRejectedThings:{type:"integer"},numberOfQueuedThings:{type:"integer"},numberOfInProgressThings:{type:"integer"},numberOfRemovedThings:{type:"integer"},numberOfTimedOutThings:{type:"integer"}}},timeoutConfig:{shape:"S4n"},namespaceId:{},jobTemplateArn:{},jobExecutionsRetryConfig:{shape:"S4q"},documentParameters:{shape:"S4v"}}}}}},DescribeJobExecution:{http:{method:"GET",requestUri:"/things/{thingName}/jobs/{jobId}"},input:{type:"structure",required:["jobId","thingName"],members:{jobId:{location:"uri",locationName:"jobId"},thingName:{location:"uri",locationName:"thingName"},executionNumber:{location:"querystring",locationName:"executionNumber",type:"long"}}},output:{type:"structure",members:{execution:{type:"structure",members:{jobId:{},status:{},forceCanceled:{type:"boolean"},statusDetails:{type:"structure",members:{detailsMap:{shape:"S1e"}}},thingArn:{},queuedAt:{type:"timestamp"},startedAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},executionNumber:{type:"long"},versionNumber:{type:"long"},approximateSecondsBeforeTimedOut:{type:"long"}}}}}},DescribeJobTemplate:{http:{method:"GET",requestUri:"/job-templates/{jobTemplateId}"},input:{type:"structure",required:["jobTemplateId"],members:{jobTemplateId:{location:"uri",locationName:"jobTemplateId"}}},output:{type:"structure",members:{jobTemplateArn:{},jobTemplateId:{},description:{},documentSource:{},document:{},createdAt:{type:"timestamp"},presignedUrlConfig:{shape:"S46"},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},timeoutConfig:{shape:"S4n"},jobExecutionsRetryConfig:{shape:"S4q"}}}},DescribeManagedJobTemplate:{http:{method:"GET",requestUri:"/managed-job-templates/{templateName}"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"},templateVersion:{location:"querystring",locationName:"templateVersion"}}},output:{type:"structure",members:{templateName:{},templateArn:{},description:{},templateVersion:{},environments:{shape:"Sjl"},documentParameters:{type:"list",member:{type:"structure",members:{key:{},description:{},regex:{},example:{},optional:{type:"boolean"}}}},document:{}}}},DescribeMitigationAction:{http:{method:"GET",requestUri:"/mitigationactions/actions/{actionName}"},input:{type:"structure",required:["actionName"],members:{actionName:{location:"uri",locationName:"actionName"}}},output:{type:"structure",members:{actionName:{},actionType:{},actionArn:{},actionId:{},roleArn:{},actionParams:{shape:"S59"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeProvisioningTemplate:{http:{method:"GET",requestUri:"/provisioning-templates/{templateName}"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"}}},output:{type:"structure",members:{templateArn:{},templateName:{},description:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},defaultVersionId:{type:"integer"},templateBody:{},enabled:{type:"boolean"},provisioningRoleArn:{},preProvisioningHook:{shape:"S7y"}}}},DescribeProvisioningTemplateVersion:{http:{method:"GET",requestUri:"/provisioning-templates/{templateName}/versions/{versionId}"},input:{type:"structure",required:["templateName","versionId"],members:{templateName:{location:"uri",locationName:"templateName"},versionId:{location:"uri",locationName:"versionId",type:"integer"}}},output:{type:"structure",members:{versionId:{type:"integer"},creationDate:{type:"timestamp"},templateBody:{},isDefaultVersion:{type:"boolean"}}}},DescribeRoleAlias:{http:{method:"GET",requestUri:"/role-aliases/{roleAlias}"},input:{type:"structure",required:["roleAlias"],members:{roleAlias:{location:"uri",locationName:"roleAlias"}}},output:{type:"structure",members:{roleAliasDescription:{type:"structure",members:{roleAlias:{},roleAliasArn:{},roleArn:{},owner:{},credentialDurationSeconds:{type:"integer"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}}}},DescribeScheduledAudit:{http:{method:"GET",requestUri:"/audit/scheduledaudits/{scheduledAuditName}"},input:{type:"structure",required:["scheduledAuditName"],members:{scheduledAuditName:{location:"uri",locationName:"scheduledAuditName"}}},output:{type:"structure",members:{frequency:{},dayOfMonth:{},dayOfWeek:{},targetCheckNames:{shape:"S8d"},scheduledAuditName:{},scheduledAuditArn:{}}}},DescribeSecurityProfile:{http:{method:"GET",requestUri:"/security-profiles/{securityProfileName}"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"}}},output:{type:"structure",members:{securityProfileName:{},securityProfileArn:{},securityProfileDescription:{},behaviors:{shape:"S8j"},alertTargets:{shape:"S99"},additionalMetricsToRetain:{shape:"S9d",deprecated:!0,deprecatedMessage:"Use additionalMetricsToRetainV2."},additionalMetricsToRetainV2:{shape:"S9e"},version:{type:"long"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeStream:{http:{method:"GET",requestUri:"/streams/{streamId}"},input:{type:"structure",required:["streamId"],members:{streamId:{location:"uri",locationName:"streamId"}}},output:{type:"structure",members:{streamInfo:{type:"structure",members:{streamId:{},streamArn:{},streamVersion:{type:"integer"},description:{},files:{shape:"S9k"},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},roleArn:{}}}}}},DescribeThing:{http:{method:"GET",requestUri:"/things/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"}}},output:{type:"structure",members:{defaultClientId:{},thingName:{},thingId:{},thingArn:{},thingTypeName:{},attributes:{shape:"S3i"},version:{type:"long"},billingGroupName:{}}}},DescribeThingGroup:{http:{method:"GET",requestUri:"/thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"}}},output:{type:"structure",members:{thingGroupName:{},thingGroupId:{},thingGroupArn:{},version:{type:"long"},thingGroupProperties:{shape:"S3f"},thingGroupMetadata:{type:"structure",members:{parentGroupName:{},rootToParentThingGroups:{shape:"Ske"},creationDate:{type:"timestamp"}}},indexName:{},queryString:{},queryVersion:{},status:{}}}},DescribeThingRegistrationTask:{http:{method:"GET",requestUri:"/thing-registration-tasks/{taskId}"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{taskId:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},templateBody:{},inputFileBucket:{},inputFileKey:{},roleArn:{},status:{},message:{},successCount:{type:"integer"},failureCount:{type:"integer"},percentageProgress:{type:"integer"}}}},DescribeThingType:{http:{method:"GET",requestUri:"/thing-types/{thingTypeName}"},input:{type:"structure",required:["thingTypeName"],members:{thingTypeName:{location:"uri",locationName:"thingTypeName"}}},output:{type:"structure",members:{thingTypeName:{},thingTypeId:{},thingTypeArn:{},thingTypeProperties:{shape:"S9w"},thingTypeMetadata:{shape:"Skr"}}}},DetachPolicy:{http:{requestUri:"/target-policies/{policyName}"},input:{type:"structure",required:["policyName","target"],members:{policyName:{location:"uri",locationName:"policyName"},target:{}}}},DetachPrincipalPolicy:{http:{method:"DELETE",requestUri:"/principal-policies/{policyName}"},input:{type:"structure",required:["policyName","principal"],members:{policyName:{location:"uri",locationName:"policyName"},principal:{location:"header",locationName:"x-amzn-iot-principal"}}},deprecated:!0},DetachSecurityProfile:{http:{method:"DELETE",requestUri:"/security-profiles/{securityProfileName}/targets"},input:{type:"structure",required:["securityProfileName","securityProfileTargetArn"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},securityProfileTargetArn:{location:"querystring",locationName:"securityProfileTargetArn"}}},output:{type:"structure",members:{}}},DetachThingPrincipal:{http:{method:"DELETE",requestUri:"/things/{thingName}/principals"},input:{type:"structure",required:["thingName","principal"],members:{thingName:{location:"uri",locationName:"thingName"},principal:{location:"header",locationName:"x-amzn-principal"}}},output:{type:"structure",members:{}}},DisableTopicRule:{http:{requestUri:"/rules/{ruleName}/disable"},input:{type:"structure",required:["ruleName"],members:{ruleName:{location:"uri",locationName:"ruleName"}}}},EnableTopicRule:{http:{requestUri:"/rules/{ruleName}/enable"},input:{type:"structure",required:["ruleName"],members:{ruleName:{location:"uri",locationName:"ruleName"}}}},GetBehaviorModelTrainingSummaries:{http:{method:"GET",requestUri:"/behavior-model-training/summaries"},input:{type:"structure",members:{securityProfileName:{location:"querystring",locationName:"securityProfileName"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{summaries:{type:"list",member:{type:"structure",members:{securityProfileName:{},behaviorName:{},trainingDataCollectionStartDate:{type:"timestamp"},modelStatus:{},datapointsCollectionPercentage:{type:"double"},lastModelRefreshDate:{type:"timestamp"}}}},nextToken:{}}}},GetBucketsAggregation:{http:{requestUri:"/indices/buckets"},input:{type:"structure",required:["queryString","aggregationField","bucketsAggregationType"],members:{indexName:{},queryString:{},aggregationField:{},queryVersion:{},bucketsAggregationType:{type:"structure",members:{termsAggregation:{type:"structure",members:{maxBuckets:{type:"integer"}}}}}}},output:{type:"structure",members:{totalCount:{type:"integer"},buckets:{type:"list",member:{type:"structure",members:{keyValue:{},count:{type:"integer"}}}}}}},GetCardinality:{http:{requestUri:"/indices/cardinality"},input:{type:"structure",required:["queryString"],members:{indexName:{},queryString:{},aggregationField:{},queryVersion:{}}},output:{type:"structure",members:{cardinality:{type:"integer"}}}},GetEffectivePolicies:{http:{requestUri:"/effective-policies"},input:{type:"structure",members:{principal:{},cognitoIdentityPoolId:{},thingName:{location:"querystring",locationName:"thingName"}}},output:{type:"structure",members:{effectivePolicies:{type:"list",member:{type:"structure",members:{policyName:{},policyArn:{},policyDocument:{}}}}}}},GetIndexingConfiguration:{http:{method:"GET",requestUri:"/indexing/config"},input:{type:"structure",members:{}},output:{type:"structure",members:{thingIndexingConfiguration:{shape:"Slq"},thingGroupIndexingConfiguration:{shape:"Slz"}}}},GetJobDocument:{http:{method:"GET",requestUri:"/jobs/{jobId}/job-document"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"}}},output:{type:"structure",members:{document:{}}}},GetLoggingOptions:{http:{method:"GET",requestUri:"/loggingOptions"},input:{type:"structure",members:{}},output:{type:"structure",members:{roleArn:{},logLevel:{}}}},GetOTAUpdate:{http:{method:"GET",requestUri:"/otaUpdates/{otaUpdateId}"},input:{type:"structure",required:["otaUpdateId"],members:{otaUpdateId:{location:"uri",locationName:"otaUpdateId"}}},output:{type:"structure",members:{otaUpdateInfo:{type:"structure",members:{otaUpdateId:{},otaUpdateArn:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},description:{},targets:{shape:"S5s"},protocols:{shape:"S5u"},awsJobExecutionsRolloutConfig:{shape:"S5w"},awsJobPresignedUrlConfig:{shape:"S63"},targetSelection:{},otaUpdateFiles:{shape:"S6e"},otaUpdateStatus:{},awsIotJobId:{},awsIotJobArn:{},errorInfo:{type:"structure",members:{code:{},message:{}}},additionalParameters:{shape:"S7c"}}}}}},GetPercentiles:{http:{requestUri:"/indices/percentiles"},input:{type:"structure",required:["queryString"],members:{indexName:{},queryString:{},aggregationField:{},queryVersion:{},percents:{type:"list",member:{type:"double"}}}},output:{type:"structure",members:{percentiles:{type:"list",member:{type:"structure",members:{percent:{type:"double"},value:{type:"double"}}}}}}},GetPolicy:{http:{method:"GET",requestUri:"/policies/{policyName}"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"uri",locationName:"policyName"}}},output:{type:"structure",members:{policyName:{},policyArn:{},policyDocument:{},defaultVersionId:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},generationId:{}}}},GetPolicyVersion:{http:{method:"GET",requestUri:"/policies/{policyName}/version/{policyVersionId}"},input:{type:"structure",required:["policyName","policyVersionId"],members:{policyName:{location:"uri",locationName:"policyName"},policyVersionId:{location:"uri",locationName:"policyVersionId"}}},output:{type:"structure",members:{policyArn:{},policyName:{},policyDocument:{},policyVersionId:{},isDefaultVersion:{type:"boolean"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},generationId:{}}}},GetRegistrationCode:{http:{method:"GET",requestUri:"/registrationcode"},input:{type:"structure",members:{}},output:{type:"structure",members:{registrationCode:{}}}},GetStatistics:{http:{requestUri:"/indices/statistics"},input:{type:"structure",required:["queryString"],members:{indexName:{},queryString:{},aggregationField:{},queryVersion:{}}},output:{type:"structure",members:{statistics:{type:"structure",members:{count:{type:"integer"},average:{type:"double"},sum:{type:"double"},minimum:{type:"double"},maximum:{type:"double"},sumOfSquares:{type:"double"},variance:{type:"double"},stdDeviation:{type:"double"}}}}}},GetTopicRule:{http:{method:"GET",requestUri:"/rules/{ruleName}"},input:{type:"structure",required:["ruleName"],members:{ruleName:{location:"uri",locationName:"ruleName"}}},output:{type:"structure",members:{ruleArn:{},rule:{type:"structure",members:{ruleName:{},sql:{},description:{},createdAt:{type:"timestamp"},actions:{shape:"Sa7"},ruleDisabled:{type:"boolean"},awsIotSqlVersion:{},errorAction:{shape:"Sa8"}}}}}},GetTopicRuleDestination:{http:{method:"GET",requestUri:"/destinations/{arn+}"},input:{type:"structure",required:["arn"],members:{arn:{location:"uri",locationName:"arn"}}},output:{type:"structure",members:{topicRuleDestination:{shape:"Sdb"}}}},GetV2LoggingOptions:{http:{method:"GET",requestUri:"/v2LoggingOptions"},input:{type:"structure",members:{}},output:{type:"structure",members:{roleArn:{},defaultLogLevel:{},disableAllLogs:{type:"boolean"}}}},ListActiveViolations:{http:{method:"GET",requestUri:"/active-violations"},input:{type:"structure",members:{thingName:{location:"querystring",locationName:"thingName"},securityProfileName:{location:"querystring",locationName:"securityProfileName"},behaviorCriteriaType:{location:"querystring",locationName:"behaviorCriteriaType"},listSuppressedAlerts:{location:"querystring",locationName:"listSuppressedAlerts",type:"boolean"},verificationState:{location:"querystring",locationName:"verificationState"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{activeViolations:{type:"list",member:{type:"structure",members:{violationId:{},thingName:{},securityProfileName:{},behavior:{shape:"S8k"},lastViolationValue:{shape:"S8r"},violationEventAdditionalInfo:{shape:"Snh"},verificationState:{},verificationStateDescription:{},lastViolationTime:{type:"timestamp"},violationStartTime:{type:"timestamp"}}}},nextToken:{}}}},ListAttachedPolicies:{http:{requestUri:"/attached-policies/{target}"},input:{type:"structure",required:["target"],members:{target:{location:"uri",locationName:"target"},recursive:{location:"querystring",locationName:"recursive",type:"boolean"},marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"}}},output:{type:"structure",members:{policies:{shape:"Sno"},nextMarker:{}}}},ListAuditFindings:{http:{requestUri:"/audit/findings"},input:{type:"structure",members:{taskId:{},checkName:{},resourceIdentifier:{shape:"S1o"},maxResults:{type:"integer"},nextToken:{},startTime:{type:"timestamp"},endTime:{type:"timestamp"},listSuppressedFindings:{type:"boolean"}}},output:{type:"structure",members:{findings:{type:"list",member:{shape:"Sfj"}},nextToken:{}}}},ListAuditMitigationActionsExecutions:{http:{method:"GET",requestUri:"/audit/mitigationactions/executions"},input:{type:"structure",required:["taskId","findingId"],members:{taskId:{location:"querystring",locationName:"taskId"},actionStatus:{location:"querystring",locationName:"actionStatus"},findingId:{location:"querystring",locationName:"findingId"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{actionsExecutions:{type:"list",member:{type:"structure",members:{taskId:{},findingId:{},actionName:{},actionId:{},status:{},startTime:{type:"timestamp"},endTime:{type:"timestamp"},errorCode:{},message:{}}}},nextToken:{}}}},ListAuditMitigationActionsTasks:{http:{method:"GET",requestUri:"/audit/mitigationactions/tasks"},input:{type:"structure",required:["startTime","endTime"],members:{auditTaskId:{location:"querystring",locationName:"auditTaskId"},findingId:{location:"querystring",locationName:"findingId"},taskStatus:{location:"querystring",locationName:"taskStatus"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"}}},output:{type:"structure",members:{tasks:{type:"list",member:{type:"structure",members:{taskId:{},startTime:{type:"timestamp"},taskStatus:{}}}},nextToken:{}}}},ListAuditSuppressions:{http:{requestUri:"/audit/suppressions/list"},input:{type:"structure",members:{checkName:{},resourceIdentifier:{shape:"S1o"},ascendingOrder:{type:"boolean"},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{suppressions:{type:"list",member:{type:"structure",required:["checkName","resourceIdentifier"],members:{checkName:{},resourceIdentifier:{shape:"S1o"},expirationDate:{type:"timestamp"},suppressIndefinitely:{type:"boolean"},description:{}}}},nextToken:{}}}},ListAuditTasks:{http:{method:"GET",requestUri:"/audit/tasks"},input:{type:"structure",required:["startTime","endTime"],members:{startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"},taskType:{location:"querystring",locationName:"taskType"},taskStatus:{location:"querystring",locationName:"taskStatus"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{tasks:{type:"list",member:{type:"structure",members:{taskId:{},taskStatus:{},taskType:{}}}},nextToken:{}}}},ListAuthorizers:{http:{method:"GET",requestUri:"/authorizers/"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"},status:{location:"querystring",locationName:"status"}}},output:{type:"structure",members:{authorizers:{type:"list",member:{type:"structure",members:{authorizerName:{},authorizerArn:{}}}},nextMarker:{}}}},ListBillingGroups:{http:{method:"GET",requestUri:"/billing-groups"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},namePrefixFilter:{location:"querystring",locationName:"namePrefixFilter"}}},output:{type:"structure",members:{billingGroups:{type:"list",member:{shape:"Skf"}},nextToken:{}}}},ListCACertificates:{http:{method:"GET",requestUri:"/cacertificates"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{certificates:{type:"list",member:{type:"structure",members:{certificateArn:{},certificateId:{},status:{},creationDate:{type:"timestamp"}}}},nextMarker:{}}}},ListCertificates:{http:{method:"GET", -requestUri:"/certificates"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{certificates:{shape:"Soq"},nextMarker:{}}}},ListCertificatesByCA:{http:{method:"GET",requestUri:"/certificates-by-ca/{caCertificateId}"},input:{type:"structure",required:["caCertificateId"],members:{caCertificateId:{location:"uri",locationName:"caCertificateId"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{certificates:{shape:"Soq"},nextMarker:{}}}},ListCustomMetrics:{http:{method:"GET",requestUri:"/custom-metrics"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{metricNames:{type:"list",member:{}},nextToken:{}}}},ListDetectMitigationActionsExecutions:{http:{method:"GET",requestUri:"/detect/mitigationactions/executions"},input:{type:"structure",members:{taskId:{location:"querystring",locationName:"taskId"},violationId:{location:"querystring",locationName:"violationId"},thingName:{location:"querystring",locationName:"thingName"},startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{actionsExecutions:{type:"list",member:{type:"structure",members:{taskId:{},violationId:{},actionName:{},thingName:{},executionStartDate:{type:"timestamp"},executionEndDate:{type:"timestamp"},status:{},errorCode:{},message:{}}}},nextToken:{}}}},ListDetectMitigationActionsTasks:{http:{method:"GET",requestUri:"/detect/mitigationactions/tasks"},input:{type:"structure",required:["startTime","endTime"],members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"}}},output:{type:"structure",members:{tasks:{type:"list",member:{shape:"Shs"}},nextToken:{}}}},ListDimensions:{http:{method:"GET",requestUri:"/dimensions"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{dimensionNames:{type:"list",member:{}},nextToken:{}}}},ListDomainConfigurations:{http:{method:"GET",requestUri:"/domainConfigurations"},input:{type:"structure",members:{marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},serviceType:{location:"querystring",locationName:"serviceType"}}},output:{type:"structure",members:{domainConfigurations:{type:"list",member:{type:"structure",members:{domainConfigurationName:{},domainConfigurationArn:{},serviceType:{}}}},nextMarker:{}}}},ListFleetMetrics:{http:{method:"GET",requestUri:"/fleet-metrics"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{fleetMetrics:{type:"list",member:{type:"structure",members:{metricName:{},metricArn:{}}}},nextToken:{}}}},ListIndices:{http:{method:"GET",requestUri:"/indices"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{indexNames:{type:"list",member:{}},nextToken:{}}}},ListJobExecutionsForJob:{http:{method:"GET",requestUri:"/jobs/{jobId}/things"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"},status:{location:"querystring",locationName:"status"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{executionSummaries:{type:"list",member:{type:"structure",members:{thingArn:{},jobExecutionSummary:{shape:"Spq"}}}},nextToken:{}}}},ListJobExecutionsForThing:{http:{method:"GET",requestUri:"/things/{thingName}/jobs"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},status:{location:"querystring",locationName:"status"},namespaceId:{location:"querystring",locationName:"namespaceId"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},jobId:{location:"querystring",locationName:"jobId"}}},output:{type:"structure",members:{executionSummaries:{type:"list",member:{type:"structure",members:{jobId:{},jobExecutionSummary:{shape:"Spq"}}}},nextToken:{}}}},ListJobTemplates:{http:{method:"GET",requestUri:"/job-templates"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{jobTemplates:{type:"list",member:{type:"structure",members:{jobTemplateArn:{},jobTemplateId:{},description:{},createdAt:{type:"timestamp"}}}},nextToken:{}}}},ListJobs:{http:{method:"GET",requestUri:"/jobs"},input:{type:"structure",members:{status:{location:"querystring",locationName:"status"},targetSelection:{location:"querystring",locationName:"targetSelection"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},thingGroupName:{location:"querystring",locationName:"thingGroupName"},thingGroupId:{location:"querystring",locationName:"thingGroupId"},namespaceId:{location:"querystring",locationName:"namespaceId"}}},output:{type:"structure",members:{jobs:{type:"list",member:{type:"structure",members:{jobArn:{},jobId:{},thingGroupId:{},targetSelection:{},status:{},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},completedAt:{type:"timestamp"}}}},nextToken:{}}}},ListManagedJobTemplates:{http:{method:"GET",requestUri:"/managed-job-templates"},input:{type:"structure",members:{templateName:{location:"querystring",locationName:"templateName"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{managedJobTemplates:{type:"list",member:{type:"structure",members:{templateArn:{},templateName:{},description:{},environments:{shape:"Sjl"},templateVersion:{}}}},nextToken:{}}}},ListMitigationActions:{http:{method:"GET",requestUri:"/mitigationactions/actions"},input:{type:"structure",members:{actionType:{location:"querystring",locationName:"actionType"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{actionIdentifiers:{type:"list",member:{type:"structure",members:{actionName:{},actionArn:{},creationDate:{type:"timestamp"}}}},nextToken:{}}}},ListOTAUpdates:{http:{method:"GET",requestUri:"/otaUpdates"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},otaUpdateStatus:{location:"querystring",locationName:"otaUpdateStatus"}}},output:{type:"structure",members:{otaUpdates:{type:"list",member:{type:"structure",members:{otaUpdateId:{},otaUpdateArn:{},creationDate:{type:"timestamp"}}}},nextToken:{}}}},ListOutgoingCertificates:{http:{method:"GET",requestUri:"/certificates-out-going"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{outgoingCertificates:{type:"list",member:{type:"structure",members:{certificateArn:{},certificateId:{},transferredTo:{},transferDate:{type:"timestamp"},transferMessage:{},creationDate:{type:"timestamp"}}}},nextMarker:{}}}},ListPolicies:{http:{method:"GET",requestUri:"/policies"},input:{type:"structure",members:{marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{policies:{shape:"Sno"},nextMarker:{}}}},ListPolicyPrincipals:{http:{method:"GET",requestUri:"/policy-principals"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"header",locationName:"x-amzn-iot-policy"},marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{principals:{shape:"Sqo"},nextMarker:{}}},deprecated:!0},ListPolicyVersions:{http:{method:"GET",requestUri:"/policies/{policyName}/version"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"uri",locationName:"policyName"}}},output:{type:"structure",members:{policyVersions:{type:"list",member:{type:"structure",members:{versionId:{},isDefaultVersion:{type:"boolean"},createDate:{type:"timestamp"}}}}}}},ListPrincipalPolicies:{http:{method:"GET",requestUri:"/principal-policies"},input:{type:"structure",required:["principal"],members:{principal:{location:"header",locationName:"x-amzn-iot-principal"},marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{policies:{shape:"Sno"},nextMarker:{}}},deprecated:!0},ListPrincipalThings:{http:{method:"GET",requestUri:"/principals/things"},input:{type:"structure",required:["principal"],members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},principal:{location:"header",locationName:"x-amzn-principal"}}},output:{type:"structure",members:{things:{shape:"Sqy"},nextToken:{}}}},ListProvisioningTemplateVersions:{http:{method:"GET",requestUri:"/provisioning-templates/{templateName}/versions"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{versions:{type:"list",member:{type:"structure",members:{versionId:{type:"integer"},creationDate:{type:"timestamp"},isDefaultVersion:{type:"boolean"}}}},nextToken:{}}}},ListProvisioningTemplates:{http:{method:"GET",requestUri:"/provisioning-templates"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{templates:{type:"list",member:{type:"structure",members:{templateArn:{},templateName:{},description:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},enabled:{type:"boolean"}}}},nextToken:{}}}},ListRoleAliases:{http:{method:"GET",requestUri:"/role-aliases"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{roleAliases:{type:"list",member:{}},nextMarker:{}}}},ListScheduledAudits:{http:{method:"GET",requestUri:"/audit/scheduledaudits"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{scheduledAudits:{type:"list",member:{type:"structure",members:{scheduledAuditName:{},scheduledAuditArn:{},frequency:{},dayOfMonth:{},dayOfWeek:{}}}},nextToken:{}}}},ListSecurityProfiles:{http:{method:"GET",requestUri:"/security-profiles"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},dimensionName:{location:"querystring",locationName:"dimensionName"},metricName:{location:"querystring",locationName:"metricName"}}},output:{type:"structure",members:{securityProfileIdentifiers:{type:"list",member:{shape:"Srh"}},nextToken:{}}}},ListSecurityProfilesForTarget:{http:{method:"GET",requestUri:"/security-profiles-for-target"},input:{type:"structure",required:["securityProfileTargetArn"],members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},recursive:{location:"querystring",locationName:"recursive",type:"boolean"},securityProfileTargetArn:{location:"querystring",locationName:"securityProfileTargetArn"}}},output:{type:"structure",members:{securityProfileTargetMappings:{type:"list",member:{type:"structure",members:{securityProfileIdentifier:{shape:"Srh"},target:{shape:"Srm"}}}},nextToken:{}}}},ListStreams:{http:{method:"GET",requestUri:"/streams"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{streams:{type:"list",member:{type:"structure",members:{streamId:{},streamArn:{},streamVersion:{type:"integer"},description:{}}}},nextToken:{}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/tags"},input:{type:"structure",required:["resourceArn"],members:{resourceArn:{location:"querystring",locationName:"resourceArn"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{tags:{shape:"S29"},nextToken:{}}}},ListTargetsForPolicy:{http:{requestUri:"/policy-targets/{policyName}"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"uri",locationName:"policyName"},marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"}}},output:{type:"structure",members:{targets:{type:"list",member:{}},nextMarker:{}}}},ListTargetsForSecurityProfile:{http:{method:"GET",requestUri:"/security-profiles/{securityProfileName}/targets"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{securityProfileTargets:{type:"list",member:{shape:"Srm"}},nextToken:{}}}},ListThingGroups:{http:{method:"GET",requestUri:"/thing-groups"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},parentGroup:{location:"querystring",locationName:"parentGroup"},namePrefixFilter:{location:"querystring",locationName:"namePrefixFilter"},recursive:{location:"querystring",locationName:"recursive",type:"boolean"}}},output:{type:"structure",members:{thingGroups:{shape:"Ske"},nextToken:{}}}},ListThingGroupsForThing:{http:{method:"GET",requestUri:"/things/{thingName}/thing-groups"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{thingGroups:{shape:"Ske"},nextToken:{}}}},ListThingPrincipals:{http:{method:"GET",requestUri:"/things/{thingName}/principals"},input:{type:"structure",required:["thingName"],members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},thingName:{location:"uri",locationName:"thingName"}}},output:{type:"structure",members:{principals:{shape:"Sqo"},nextToken:{}}}},ListThingRegistrationTaskReports:{http:{method:"GET",requestUri:"/thing-registration-tasks/{taskId}/reports"},input:{type:"structure",required:["taskId","reportType"],members:{taskId:{location:"uri",locationName:"taskId"},reportType:{location:"querystring",locationName:"reportType"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{resourceLinks:{type:"list",member:{}},reportType:{},nextToken:{}}}},ListThingRegistrationTasks:{http:{method:"GET",requestUri:"/thing-registration-tasks"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},status:{location:"querystring",locationName:"status"}}},output:{type:"structure",members:{taskIds:{type:"list",member:{}},nextToken:{}}}},ListThingTypes:{http:{method:"GET",requestUri:"/thing-types"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},thingTypeName:{location:"querystring",locationName:"thingTypeName"}}},output:{type:"structure",members:{thingTypes:{type:"list",member:{type:"structure",members:{thingTypeName:{},thingTypeArn:{},thingTypeProperties:{shape:"S9w"},thingTypeMetadata:{shape:"Skr"}}}},nextToken:{}}}},ListThings:{http:{method:"GET",requestUri:"/things"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},attributeName:{location:"querystring",locationName:"attributeName"},attributeValue:{location:"querystring",locationName:"attributeValue"},thingTypeName:{location:"querystring",locationName:"thingTypeName"},usePrefixAttributeValue:{location:"querystring",locationName:"usePrefixAttributeValue",type:"boolean"}}},output:{type:"structure",members:{things:{type:"list",member:{type:"structure",members:{thingName:{},thingTypeName:{},thingArn:{},attributes:{shape:"S3i"},version:{type:"long"}}}},nextToken:{}}}},ListThingsInBillingGroup:{http:{method:"GET",requestUri:"/billing-groups/{billingGroupName}/things"},input:{type:"structure",required:["billingGroupName"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{things:{shape:"Sqy"},nextToken:{}}}},ListThingsInThingGroup:{http:{method:"GET",requestUri:"/thing-groups/{thingGroupName}/things"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},recursive:{location:"querystring",locationName:"recursive",type:"boolean"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{things:{shape:"Sqy"},nextToken:{}}}},ListTopicRuleDestinations:{http:{method:"GET",requestUri:"/destinations"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{destinationSummaries:{type:"list",member:{type:"structure",members:{arn:{},status:{},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},statusReason:{},httpUrlSummary:{type:"structure",members:{confirmationUrl:{}}},vpcDestinationSummary:{type:"structure",members:{subnetIds:{shape:"Sd5"},securityGroups:{shape:"Sd7"},vpcId:{},roleArn:{}}}}}},nextToken:{}}}},ListTopicRules:{http:{method:"GET",requestUri:"/rules"},input:{type:"structure",members:{topic:{location:"querystring",locationName:"topic"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},ruleDisabled:{location:"querystring",locationName:"ruleDisabled",type:"boolean"}}},output:{type:"structure",members:{rules:{type:"list",member:{type:"structure",members:{ruleArn:{},ruleName:{},topicPattern:{},createdAt:{type:"timestamp"},ruleDisabled:{type:"boolean"}}}},nextToken:{}}}},ListV2LoggingLevels:{http:{method:"GET",requestUri:"/v2LoggingLevel"},input:{type:"structure",members:{targetType:{location:"querystring",locationName:"targetType"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{logTargetConfigurations:{type:"list",member:{type:"structure",members:{logTarget:{shape:"Sta"},logLevel:{}}}},nextToken:{}}}},ListViolationEvents:{http:{method:"GET",requestUri:"/violation-events"},input:{type:"structure",required:["startTime","endTime"],members:{startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"},thingName:{location:"querystring",locationName:"thingName"},securityProfileName:{location:"querystring",locationName:"securityProfileName"},behaviorCriteriaType:{location:"querystring",locationName:"behaviorCriteriaType"},listSuppressedAlerts:{location:"querystring",locationName:"listSuppressedAlerts",type:"boolean"},verificationState:{location:"querystring",locationName:"verificationState"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{violationEvents:{type:"list",member:{type:"structure",members:{violationId:{},thingName:{},securityProfileName:{},behavior:{shape:"S8k"},metricValue:{shape:"S8r"},violationEventAdditionalInfo:{shape:"Snh"},violationEventType:{},verificationState:{},verificationStateDescription:{},violationEventTime:{type:"timestamp"}}}},nextToken:{}}}},PutVerificationStateOnViolation:{http:{requestUri:"/violations/verification-state/{violationId}"},input:{type:"structure",required:["violationId","verificationState"],members:{violationId:{location:"uri",locationName:"violationId"},verificationState:{},verificationStateDescription:{}}},output:{type:"structure",members:{}}},RegisterCACertificate:{http:{requestUri:"/cacertificate"},input:{type:"structure",required:["caCertificate","verificationCertificate"],members:{caCertificate:{},verificationCertificate:{},setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"},allowAutoRegistration:{location:"querystring",locationName:"allowAutoRegistration",type:"boolean"},registrationConfig:{shape:"She"},tags:{shape:"S29"}}},output:{type:"structure",members:{certificateArn:{},certificateId:{}}}},RegisterCertificate:{http:{requestUri:"/certificate/register"},input:{type:"structure",required:["certificatePem"],members:{certificatePem:{},caCertificatePem:{},setAsActive:{deprecated:!0,location:"querystring",locationName:"setAsActive",type:"boolean"},status:{}}},output:{type:"structure",members:{certificateArn:{},certificateId:{}}}},RegisterCertificateWithoutCA:{http:{requestUri:"/certificate/register-no-ca"},input:{type:"structure",required:["certificatePem"],members:{certificatePem:{},status:{}}},output:{type:"structure",members:{certificateArn:{},certificateId:{}}}},RegisterThing:{http:{requestUri:"/things"},input:{type:"structure",required:["templateBody"],members:{templateBody:{},parameters:{type:"map",key:{},value:{}}}},output:{type:"structure",members:{certificatePem:{},resourceArns:{type:"map",key:{},value:{}}}}},RejectCertificateTransfer:{http:{method:"PATCH",requestUri:"/reject-certificate-transfer/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"},rejectReason:{}}}},RemoveThingFromBillingGroup:{http:{method:"PUT",requestUri:"/billing-groups/removeThingFromBillingGroup"},input:{type:"structure",members:{billingGroupName:{},billingGroupArn:{},thingName:{},thingArn:{}}},output:{type:"structure",members:{}}},RemoveThingFromThingGroup:{http:{method:"PUT",requestUri:"/thing-groups/removeThingFromThingGroup"},input:{type:"structure",members:{thingGroupName:{},thingGroupArn:{},thingName:{},thingArn:{}}},output:{type:"structure",members:{}}},ReplaceTopicRule:{http:{method:"PATCH",requestUri:"/rules/{ruleName}"},input:{type:"structure",required:["ruleName","topicRulePayload"],members:{ruleName:{location:"uri",locationName:"ruleName"},topicRulePayload:{shape:"Sa4"}},payload:"topicRulePayload"}},SearchIndex:{http:{requestUri:"/indices/search"},input:{type:"structure",required:["queryString"],members:{indexName:{},queryString:{},nextToken:{},maxResults:{type:"integer"},queryVersion:{}}},output:{type:"structure",members:{nextToken:{},things:{type:"list",member:{type:"structure",members:{thingName:{},thingId:{},thingTypeName:{},thingGroupNames:{shape:"Su6"},attributes:{shape:"S3i"},shadow:{},deviceDefender:{},connectivity:{type:"structure",members:{connected:{type:"boolean"},timestamp:{type:"long"},disconnectReason:{}}}}}},thingGroups:{type:"list",member:{type:"structure",members:{thingGroupName:{},thingGroupId:{},thingGroupDescription:{},attributes:{shape:"S3i"},parentGroupNames:{shape:"Su6"}}}}}}},SetDefaultAuthorizer:{http:{requestUri:"/default-authorizer"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{}}},output:{type:"structure",members:{authorizerName:{},authorizerArn:{}}}},SetDefaultPolicyVersion:{http:{method:"PATCH",requestUri:"/policies/{policyName}/version/{policyVersionId}"},input:{type:"structure",required:["policyName","policyVersionId"],members:{policyName:{location:"uri",locationName:"policyName"},policyVersionId:{location:"uri",locationName:"policyVersionId"}}}},SetLoggingOptions:{http:{requestUri:"/loggingOptions"},input:{type:"structure",required:["loggingOptionsPayload"],members:{loggingOptionsPayload:{type:"structure",required:["roleArn"],members:{roleArn:{},logLevel:{}}}},payload:"loggingOptionsPayload"}},SetV2LoggingLevel:{http:{requestUri:"/v2LoggingLevel"},input:{type:"structure",required:["logTarget","logLevel"],members:{logTarget:{shape:"Sta"},logLevel:{}}}},SetV2LoggingOptions:{http:{requestUri:"/v2LoggingOptions"},input:{type:"structure",members:{roleArn:{},defaultLogLevel:{},disableAllLogs:{type:"boolean"}}}},StartAuditMitigationActionsTask:{http:{requestUri:"/audit/mitigationactions/tasks/{taskId}"},input:{type:"structure",required:["taskId","target","auditCheckToActionsMapping","clientRequestToken"],members:{taskId:{location:"uri",locationName:"taskId"},target:{shape:"Sg3"},auditCheckToActionsMapping:{shape:"Sg7"},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{taskId:{}}}},StartDetectMitigationActionsTask:{http:{method:"PUT",requestUri:"/detect/mitigationactions/tasks/{taskId}"},input:{type:"structure",required:["taskId","target","actions","clientRequestToken"],members:{taskId:{location:"uri",locationName:"taskId"},target:{shape:"Shu"},actions:{type:"list",member:{}},violationEventOccurrenceRange:{shape:"Shx"},includeOnlyActiveViolations:{type:"boolean"},includeSuppressedAlerts:{type:"boolean"},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{taskId:{}}}},StartOnDemandAuditTask:{http:{requestUri:"/audit/tasks"},input:{type:"structure",required:["targetCheckNames"],members:{targetCheckNames:{shape:"S8d"}}},output:{type:"structure",members:{taskId:{}}}},StartThingRegistrationTask:{http:{requestUri:"/thing-registration-tasks"},input:{type:"structure",required:["templateBody","inputFileBucket","inputFileKey","roleArn"],members:{templateBody:{},inputFileBucket:{},inputFileKey:{},roleArn:{}}},output:{type:"structure",members:{taskId:{}}}},StopThingRegistrationTask:{http:{method:"PUT",requestUri:"/thing-registration-tasks/{taskId}/cancel"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{}}},TagResource:{http:{requestUri:"/tags"},input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{},tags:{shape:"S29"}}},output:{type:"structure",members:{}}},TestAuthorization:{http:{requestUri:"/test-authorization"},input:{type:"structure",required:["authInfos"],members:{principal:{},cognitoIdentityPoolId:{},authInfos:{type:"list",member:{shape:"Sv0"}},clientId:{location:"querystring",locationName:"clientId"},policyNamesToAdd:{shape:"Sv4"},policyNamesToSkip:{shape:"Sv4"}}},output:{type:"structure",members:{authResults:{type:"list",member:{type:"structure",members:{authInfo:{shape:"Sv0"},allowed:{type:"structure",members:{policies:{shape:"Sno"}}},denied:{type:"structure",members:{implicitDeny:{type:"structure",members:{policies:{shape:"Sno"}}},explicitDeny:{type:"structure",members:{policies:{shape:"Sno"}}}}},authDecision:{},missingContextValues:{type:"list",member:{}}}}}}}},TestInvokeAuthorizer:{http:{requestUri:"/authorizer/{authorizerName}/test"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{location:"uri",locationName:"authorizerName"},token:{},tokenSignature:{},httpContext:{type:"structure",members:{headers:{type:"map",key:{},value:{}},queryString:{}}},mqttContext:{type:"structure",members:{username:{},password:{type:"blob"},clientId:{}}},tlsContext:{type:"structure",members:{serverName:{}}}}},output:{type:"structure",members:{isAuthenticated:{type:"boolean"},principalId:{},policyDocuments:{type:"list",member:{}},refreshAfterInSeconds:{type:"integer"},disconnectAfterInSeconds:{type:"integer"}}}},TransferCertificate:{http:{method:"PATCH",requestUri:"/transfer-certificate/{certificateId}"},input:{type:"structure",required:["certificateId","targetAwsAccount"],members:{certificateId:{location:"uri",locationName:"certificateId"},targetAwsAccount:{location:"querystring",locationName:"targetAwsAccount"},transferMessage:{}}},output:{type:"structure",members:{transferredCertificateArn:{}}}},UntagResource:{http:{requestUri:"/untag"},input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{},tagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateAccountAuditConfiguration:{http:{method:"PATCH",requestUri:"/audit/configuration"},input:{type:"structure",members:{roleArn:{},auditNotificationTargetConfigurations:{shape:"Sfb"},auditCheckConfigurations:{shape:"Sfe"}}},output:{type:"structure",members:{}}},UpdateAuditSuppression:{http:{method:"PATCH",requestUri:"/audit/suppressions/update"},input:{type:"structure",required:["checkName","resourceIdentifier"],members:{checkName:{},resourceIdentifier:{shape:"S1o"},expirationDate:{type:"timestamp"},suppressIndefinitely:{type:"boolean"},description:{}}},output:{type:"structure",members:{}}},UpdateAuthorizer:{http:{method:"PUT",requestUri:"/authorizer/{authorizerName}"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{location:"uri",locationName:"authorizerName"}, -authorizerFunctionArn:{},tokenKeyName:{},tokenSigningPublicKeys:{shape:"S25"},status:{},enableCachingForHttp:{type:"boolean"}}},output:{type:"structure",members:{authorizerName:{},authorizerArn:{}}}},UpdateBillingGroup:{http:{method:"PATCH",requestUri:"/billing-groups/{billingGroupName}"},input:{type:"structure",required:["billingGroupName","billingGroupProperties"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"},billingGroupProperties:{shape:"S2i"},expectedVersion:{type:"long"}}},output:{type:"structure",members:{version:{type:"long"}}}},UpdateCACertificate:{http:{method:"PUT",requestUri:"/cacertificate/{caCertificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"caCertificateId"},newStatus:{location:"querystring",locationName:"newStatus"},newAutoRegistrationStatus:{location:"querystring",locationName:"newAutoRegistrationStatus"},registrationConfig:{shape:"She"},removeAutoRegistration:{type:"boolean"}}}},UpdateCertificate:{http:{method:"PUT",requestUri:"/certificates/{certificateId}"},input:{type:"structure",required:["certificateId","newStatus"],members:{certificateId:{location:"uri",locationName:"certificateId"},newStatus:{location:"querystring",locationName:"newStatus"}}}},UpdateCustomMetric:{http:{method:"PATCH",requestUri:"/custom-metric/{metricName}"},input:{type:"structure",required:["metricName","displayName"],members:{metricName:{location:"uri",locationName:"metricName"},displayName:{}}},output:{type:"structure",members:{metricName:{},metricArn:{},metricType:{},displayName:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},UpdateDimension:{http:{method:"PATCH",requestUri:"/dimensions/{name}"},input:{type:"structure",required:["name","stringValues"],members:{name:{location:"uri",locationName:"name"},stringValues:{shape:"S30"}}},output:{type:"structure",members:{name:{},arn:{},type:{},stringValues:{shape:"S30"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},UpdateDomainConfiguration:{http:{method:"PUT",requestUri:"/domainConfigurations/{domainConfigurationName}"},input:{type:"structure",required:["domainConfigurationName"],members:{domainConfigurationName:{location:"uri",locationName:"domainConfigurationName"},authorizerConfig:{shape:"S39"},domainConfigurationStatus:{},removeAuthorizerConfig:{type:"boolean"}}},output:{type:"structure",members:{domainConfigurationName:{},domainConfigurationArn:{}}}},UpdateDynamicThingGroup:{http:{method:"PATCH",requestUri:"/dynamic-thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName","thingGroupProperties"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},thingGroupProperties:{shape:"S3f"},expectedVersion:{type:"long"},indexName:{},queryString:{},queryVersion:{}}},output:{type:"structure",members:{version:{type:"long"}}}},UpdateEventConfigurations:{http:{method:"PATCH",requestUri:"/event-configurations"},input:{type:"structure",members:{eventConfigurations:{shape:"Sii"}}},output:{type:"structure",members:{}}},UpdateFleetMetric:{http:{method:"PATCH",requestUri:"/fleet-metric/{metricName}"},input:{type:"structure",required:["metricName","indexName"],members:{metricName:{location:"uri",locationName:"metricName"},queryString:{},aggregationType:{shape:"S3t"},period:{type:"integer"},aggregationField:{},description:{},queryVersion:{},indexName:{},unit:{},expectedVersion:{type:"long"}}}},UpdateIndexingConfiguration:{http:{requestUri:"/indexing/config"},input:{type:"structure",members:{thingIndexingConfiguration:{shape:"Slq"},thingGroupIndexingConfiguration:{shape:"Slz"}}},output:{type:"structure",members:{}}},UpdateJob:{http:{method:"PATCH",requestUri:"/jobs/{jobId}"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"},description:{},presignedUrlConfig:{shape:"S46"},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},timeoutConfig:{shape:"S4n"},namespaceId:{location:"querystring",locationName:"namespaceId"},jobExecutionsRetryConfig:{shape:"S4q"}}}},UpdateMitigationAction:{http:{method:"PATCH",requestUri:"/mitigationactions/actions/{actionName}"},input:{type:"structure",required:["actionName"],members:{actionName:{location:"uri",locationName:"actionName"},roleArn:{},actionParams:{shape:"S59"}}},output:{type:"structure",members:{actionArn:{},actionId:{}}}},UpdateProvisioningTemplate:{http:{method:"PATCH",requestUri:"/provisioning-templates/{templateName}"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"},description:{},enabled:{type:"boolean"},defaultVersionId:{type:"integer"},provisioningRoleArn:{},preProvisioningHook:{shape:"S7y"},removePreProvisioningHook:{type:"boolean"}}},output:{type:"structure",members:{}}},UpdateRoleAlias:{http:{method:"PUT",requestUri:"/role-aliases/{roleAlias}"},input:{type:"structure",required:["roleAlias"],members:{roleAlias:{location:"uri",locationName:"roleAlias"},roleArn:{},credentialDurationSeconds:{type:"integer"}}},output:{type:"structure",members:{roleAlias:{},roleAliasArn:{}}}},UpdateScheduledAudit:{http:{method:"PATCH",requestUri:"/audit/scheduledaudits/{scheduledAuditName}"},input:{type:"structure",required:["scheduledAuditName"],members:{frequency:{},dayOfMonth:{},dayOfWeek:{},targetCheckNames:{shape:"S8d"},scheduledAuditName:{location:"uri",locationName:"scheduledAuditName"}}},output:{type:"structure",members:{scheduledAuditArn:{}}}},UpdateSecurityProfile:{http:{method:"PATCH",requestUri:"/security-profiles/{securityProfileName}"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},securityProfileDescription:{},behaviors:{shape:"S8j"},alertTargets:{shape:"S99"},additionalMetricsToRetain:{shape:"S9d",deprecated:!0,deprecatedMessage:"Use additionalMetricsToRetainV2."},additionalMetricsToRetainV2:{shape:"S9e"},deleteBehaviors:{type:"boolean"},deleteAlertTargets:{type:"boolean"},deleteAdditionalMetricsToRetain:{type:"boolean"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{securityProfileName:{},securityProfileArn:{},securityProfileDescription:{},behaviors:{shape:"S8j"},alertTargets:{shape:"S99"},additionalMetricsToRetain:{shape:"S9d",deprecated:!0,deprecatedMessage:"Use additionalMetricsToRetainV2."},additionalMetricsToRetainV2:{shape:"S9e"},version:{type:"long"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},UpdateStream:{http:{method:"PUT",requestUri:"/streams/{streamId}"},input:{type:"structure",required:["streamId"],members:{streamId:{location:"uri",locationName:"streamId"},description:{},files:{shape:"S9k"},roleArn:{}}},output:{type:"structure",members:{streamId:{},streamArn:{},description:{},streamVersion:{type:"integer"}}}},UpdateThing:{http:{method:"PATCH",requestUri:"/things/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},thingTypeName:{},attributePayload:{shape:"S3h"},expectedVersion:{type:"long"},removeThingType:{type:"boolean"}}},output:{type:"structure",members:{}}},UpdateThingGroup:{http:{method:"PATCH",requestUri:"/thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName","thingGroupProperties"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},thingGroupProperties:{shape:"S3f"},expectedVersion:{type:"long"}}},output:{type:"structure",members:{version:{type:"long"}}}},UpdateThingGroupsForThing:{http:{method:"PUT",requestUri:"/thing-groups/updateThingGroupsForThing"},input:{type:"structure",members:{thingName:{},thingGroupsToAdd:{shape:"Sxf"},thingGroupsToRemove:{shape:"Sxf"},overrideDynamicGroups:{type:"boolean"}}},output:{type:"structure",members:{}}},UpdateTopicRuleDestination:{http:{method:"PATCH",requestUri:"/destinations"},input:{type:"structure",required:["arn","status"],members:{arn:{},status:{}}},output:{type:"structure",members:{}}},ValidateSecurityProfileBehaviors:{http:{requestUri:"/security-profile-behaviors/validate"},input:{type:"structure",required:["behaviors"],members:{behaviors:{shape:"S8j"}}},output:{type:"structure",members:{valid:{type:"boolean"},validationErrors:{type:"list",member:{type:"structure",members:{errorMessage:{}}}}}}}},shapes:{Sg:{type:"list",member:{}},S1e:{type:"map",key:{},value:{}},S1o:{type:"structure",members:{deviceCertificateId:{},caCertificateId:{},cognitoIdentityPoolId:{},clientId:{},policyVersionIdentifier:{type:"structure",members:{policyName:{},policyVersionId:{}}},account:{},iamRoleArn:{},roleAliasArn:{}}},S25:{type:"map",key:{},value:{}},S29:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},S2i:{type:"structure",members:{billingGroupDescription:{}}},S30:{type:"list",member:{}},S39:{type:"structure",members:{defaultAuthorizerName:{},allowAuthorizerOverride:{type:"boolean"}}},S3f:{type:"structure",members:{thingGroupDescription:{},attributePayload:{shape:"S3h"}}},S3h:{type:"structure",members:{attributes:{shape:"S3i"},merge:{type:"boolean"}}},S3i:{type:"map",key:{},value:{}},S3t:{type:"structure",required:["name"],members:{name:{},values:{type:"list",member:{}}}},S46:{type:"structure",members:{roleArn:{},expiresInSec:{type:"long"}}},S49:{type:"structure",members:{maximumPerMinute:{type:"integer"},exponentialRate:{type:"structure",required:["baseRatePerMinute","incrementFactor","rateIncreaseCriteria"],members:{baseRatePerMinute:{type:"integer"},incrementFactor:{type:"double"},rateIncreaseCriteria:{type:"structure",members:{numberOfNotifiedThings:{type:"integer"},numberOfSucceededThings:{type:"integer"}}}}}}},S4g:{type:"structure",required:["criteriaList"],members:{criteriaList:{type:"list",member:{type:"structure",required:["failureType","action","thresholdPercentage","minNumberOfExecutedThings"],members:{failureType:{},action:{},thresholdPercentage:{type:"double"},minNumberOfExecutedThings:{type:"integer"}}}}}},S4n:{type:"structure",members:{inProgressTimeoutInMinutes:{type:"long"}}},S4q:{type:"structure",required:["criteriaList"],members:{criteriaList:{type:"list",member:{type:"structure",required:["failureType","numberOfRetries"],members:{failureType:{},numberOfRetries:{type:"integer"}}}}}},S4v:{type:"map",key:{},value:{}},S54:{type:"structure",members:{PublicKey:{},PrivateKey:{type:"string",sensitive:!0}}},S59:{type:"structure",members:{updateDeviceCertificateParams:{type:"structure",required:["action"],members:{action:{}}},updateCACertificateParams:{type:"structure",required:["action"],members:{action:{}}},addThingsToThingGroupParams:{type:"structure",required:["thingGroupNames"],members:{thingGroupNames:{type:"list",member:{}},overrideDynamicGroups:{type:"boolean"}}},replaceDefaultPolicyVersionParams:{type:"structure",required:["templateName"],members:{templateName:{}}},enableIoTLoggingParams:{type:"structure",required:["roleArnForLogging","logLevel"],members:{roleArnForLogging:{},logLevel:{}}},publishFindingToSnsParams:{type:"structure",required:["topicArn"],members:{topicArn:{}}}}},S5s:{type:"list",member:{}},S5u:{type:"list",member:{}},S5w:{type:"structure",members:{maximumPerMinute:{type:"integer"},exponentialRate:{type:"structure",required:["baseRatePerMinute","incrementFactor","rateIncreaseCriteria"],members:{baseRatePerMinute:{type:"integer"},incrementFactor:{type:"double"},rateIncreaseCriteria:{type:"structure",members:{numberOfNotifiedThings:{type:"integer"},numberOfSucceededThings:{type:"integer"}}}}}}},S63:{type:"structure",members:{expiresInSec:{type:"long"}}},S6e:{type:"list",member:{type:"structure",members:{fileName:{},fileType:{type:"integer"},fileVersion:{},fileLocation:{type:"structure",members:{stream:{type:"structure",members:{streamId:{},fileId:{type:"integer"}}},s3Location:{shape:"S6n"}}},codeSigning:{type:"structure",members:{awsSignerJobId:{},startSigningJobParameter:{type:"structure",members:{signingProfileParameter:{type:"structure",members:{certificateArn:{},platform:{},certificatePathOnDevice:{}}},signingProfileName:{},destination:{type:"structure",members:{s3Destination:{type:"structure",members:{bucket:{},prefix:{}}}}}}},customCodeSigning:{type:"structure",members:{signature:{type:"structure",members:{inlineDocument:{type:"blob"}}},certificateChain:{type:"structure",members:{certificateName:{},inlineDocument:{}}},hashAlgorithm:{},signatureAlgorithm:{}}}}},attributes:{type:"map",key:{},value:{}}}}},S6n:{type:"structure",members:{bucket:{},key:{},version:{}}},S7c:{type:"map",key:{},value:{}},S7y:{type:"structure",required:["targetArn"],members:{payloadVersion:{},targetArn:{}}},S8d:{type:"list",member:{}},S8j:{type:"list",member:{shape:"S8k"}},S8k:{type:"structure",required:["name"],members:{name:{},metric:{},metricDimension:{shape:"S8n"},criteria:{type:"structure",members:{comparisonOperator:{},value:{shape:"S8r"},durationSeconds:{type:"integer"},consecutiveDatapointsToAlarm:{type:"integer"},consecutiveDatapointsToClear:{type:"integer"},statisticalThreshold:{type:"structure",members:{statistic:{}}},mlDetectionConfig:{type:"structure",required:["confidenceLevel"],members:{confidenceLevel:{}}}}},suppressAlerts:{type:"boolean"}}},S8n:{type:"structure",required:["dimensionName"],members:{dimensionName:{},operator:{}}},S8r:{type:"structure",members:{count:{type:"long"},cidrs:{type:"list",member:{}},ports:{type:"list",member:{type:"integer"}},number:{type:"double"},numbers:{type:"list",member:{type:"double"}},strings:{type:"list",member:{}}}},S99:{type:"map",key:{},value:{type:"structure",required:["alertTargetArn","roleArn"],members:{alertTargetArn:{},roleArn:{}}}},S9d:{type:"list",member:{}},S9e:{type:"list",member:{type:"structure",required:["metric"],members:{metric:{},metricDimension:{shape:"S8n"}}}},S9k:{type:"list",member:{type:"structure",members:{fileId:{type:"integer"},s3Location:{shape:"S6n"}}}},S9w:{type:"structure",members:{thingTypeDescription:{},searchableAttributes:{type:"list",member:{}}}},Sa4:{type:"structure",required:["sql","actions"],members:{sql:{},description:{},actions:{shape:"Sa7"},ruleDisabled:{type:"boolean"},awsIotSqlVersion:{},errorAction:{shape:"Sa8"}}},Sa7:{type:"list",member:{shape:"Sa8"}},Sa8:{type:"structure",members:{dynamoDB:{type:"structure",required:["tableName","roleArn","hashKeyField","hashKeyValue"],members:{tableName:{},roleArn:{},operation:{},hashKeyField:{},hashKeyValue:{},hashKeyType:{},rangeKeyField:{},rangeKeyValue:{},rangeKeyType:{},payloadField:{}}},dynamoDBv2:{type:"structure",required:["roleArn","putItem"],members:{roleArn:{},putItem:{type:"structure",required:["tableName"],members:{tableName:{}}}}},lambda:{type:"structure",required:["functionArn"],members:{functionArn:{}}},sns:{type:"structure",required:["targetArn","roleArn"],members:{targetArn:{},roleArn:{},messageFormat:{}}},sqs:{type:"structure",required:["roleArn","queueUrl"],members:{roleArn:{},queueUrl:{},useBase64:{type:"boolean"}}},kinesis:{type:"structure",required:["roleArn","streamName"],members:{roleArn:{},streamName:{},partitionKey:{}}},republish:{type:"structure",required:["roleArn","topic"],members:{roleArn:{},topic:{},qos:{type:"integer"}}},s3:{type:"structure",required:["roleArn","bucketName","key"],members:{roleArn:{},bucketName:{},key:{},cannedAcl:{}}},firehose:{type:"structure",required:["roleArn","deliveryStreamName"],members:{roleArn:{},deliveryStreamName:{},separator:{},batchMode:{type:"boolean"}}},cloudwatchMetric:{type:"structure",required:["roleArn","metricNamespace","metricName","metricValue","metricUnit"],members:{roleArn:{},metricNamespace:{},metricName:{},metricValue:{},metricUnit:{},metricTimestamp:{}}},cloudwatchAlarm:{type:"structure",required:["roleArn","alarmName","stateReason","stateValue"],members:{roleArn:{},alarmName:{},stateReason:{},stateValue:{}}},cloudwatchLogs:{type:"structure",required:["roleArn","logGroupName"],members:{roleArn:{},logGroupName:{}}},elasticsearch:{type:"structure",required:["roleArn","endpoint","index","type","id"],members:{roleArn:{},endpoint:{},index:{},type:{},id:{}}},salesforce:{type:"structure",required:["token","url"],members:{token:{},url:{}}},iotAnalytics:{type:"structure",members:{channelArn:{},channelName:{},batchMode:{type:"boolean"},roleArn:{}}},iotEvents:{type:"structure",required:["inputName","roleArn"],members:{inputName:{},messageId:{},batchMode:{type:"boolean"},roleArn:{}}},iotSiteWise:{type:"structure",required:["putAssetPropertyValueEntries","roleArn"],members:{putAssetPropertyValueEntries:{type:"list",member:{type:"structure",required:["propertyValues"],members:{entryId:{},assetId:{},propertyId:{},propertyAlias:{},propertyValues:{type:"list",member:{type:"structure",required:["value","timestamp"],members:{value:{type:"structure",members:{stringValue:{},integerValue:{},doubleValue:{},booleanValue:{}}},timestamp:{type:"structure",required:["timeInSeconds"],members:{timeInSeconds:{},offsetInNanos:{}}},quality:{}}}}}}},roleArn:{}}},stepFunctions:{type:"structure",required:["stateMachineName","roleArn"],members:{executionNamePrefix:{},stateMachineName:{},roleArn:{}}},timestream:{type:"structure",required:["roleArn","databaseName","tableName","dimensions"],members:{roleArn:{},databaseName:{},tableName:{},dimensions:{type:"list",member:{type:"structure",required:["name","value"],members:{name:{},value:{}}}},timestamp:{type:"structure",required:["value","unit"],members:{value:{},unit:{}}}}},http:{type:"structure",required:["url"],members:{url:{},confirmationUrl:{},headers:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},auth:{type:"structure",members:{sigv4:{type:"structure",required:["signingRegion","serviceName","roleArn"],members:{signingRegion:{},serviceName:{},roleArn:{}}}}}}},kafka:{type:"structure",required:["destinationArn","topic","clientProperties"],members:{destinationArn:{},topic:{},key:{},partition:{},clientProperties:{type:"map",key:{},value:{}}}},openSearch:{type:"structure",required:["roleArn","endpoint","index","type","id"],members:{roleArn:{},endpoint:{},index:{},type:{},id:{}}}}},Sd5:{type:"list",member:{}},Sd7:{type:"list",member:{}},Sdb:{type:"structure",members:{arn:{},status:{},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},statusReason:{},httpUrlProperties:{type:"structure",members:{confirmationUrl:{}}},vpcProperties:{type:"structure",members:{subnetIds:{shape:"Sd5"},securityGroups:{shape:"Sd7"},vpcId:{},roleArn:{}}}}},Sfb:{type:"map",key:{},value:{type:"structure",members:{targetArn:{},roleArn:{},enabled:{type:"boolean"}}}},Sfe:{type:"map",key:{},value:{type:"structure",members:{enabled:{type:"boolean"}}}},Sfj:{type:"structure",members:{findingId:{},taskId:{},checkName:{},taskStartTime:{type:"timestamp"},findingTime:{type:"timestamp"},severity:{},nonCompliantResource:{type:"structure",members:{resourceType:{},resourceIdentifier:{shape:"S1o"},additionalInfo:{shape:"Sfn"}}},relatedResources:{type:"list",member:{type:"structure",members:{resourceType:{},resourceIdentifier:{shape:"S1o"},additionalInfo:{shape:"Sfn"}}}},reasonForNonCompliance:{},reasonForNonComplianceCode:{},isSuppressed:{type:"boolean"}}},Sfn:{type:"map",key:{},value:{}},Sg3:{type:"structure",members:{auditTaskId:{},findingIds:{type:"list",member:{}},auditCheckToReasonCodeFilter:{type:"map",key:{},value:{type:"list",member:{}}}}},Sg7:{type:"map",key:{},value:{type:"list",member:{}}},Sg9:{type:"list",member:{type:"structure",members:{name:{},id:{},roleArn:{},actionParams:{shape:"S59"}}}},Sh0:{type:"structure",members:{authorizerName:{},authorizerArn:{},authorizerFunctionArn:{},tokenKeyName:{},tokenSigningPublicKeys:{shape:"S25"},status:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},signingDisabled:{type:"boolean"},enableCachingForHttp:{type:"boolean"}}},Shd:{type:"structure",members:{notBefore:{type:"timestamp"},notAfter:{type:"timestamp"}}},She:{type:"structure",members:{templateBody:{},roleArn:{}}},Shs:{type:"structure",members:{taskId:{},taskStatus:{},taskStartTime:{type:"timestamp"},taskEndTime:{type:"timestamp"},target:{shape:"Shu"},violationEventOccurrenceRange:{shape:"Shx"},onlyActiveViolationsIncluded:{type:"boolean"},suppressedAlertsIncluded:{type:"boolean"},actionsDefinition:{shape:"Sg9"},taskStatistics:{type:"structure",members:{actionsExecuted:{type:"long"},actionsSkipped:{type:"long"},actionsFailed:{type:"long"}}}}},Shu:{type:"structure",members:{violationIds:{type:"list",member:{}},securityProfileName:{},behaviorName:{}}},Shx:{type:"structure",required:["startTime","endTime"],members:{startTime:{type:"timestamp"},endTime:{type:"timestamp"}}},Sii:{type:"map",key:{},value:{type:"structure",members:{Enabled:{type:"boolean"}}}},Sjl:{type:"list",member:{}},Ske:{type:"list",member:{shape:"Skf"}},Skf:{type:"structure",members:{groupName:{},groupArn:{}}},Skr:{type:"structure",members:{deprecated:{type:"boolean"},deprecationDate:{type:"timestamp"},creationDate:{type:"timestamp"}}},Slq:{type:"structure",required:["thingIndexingMode"],members:{thingIndexingMode:{},thingConnectivityIndexingMode:{},deviceDefenderIndexingMode:{},namedShadowIndexingMode:{},managedFields:{shape:"Slv"},customFields:{shape:"Slv"}}},Slv:{type:"list",member:{type:"structure",members:{name:{},type:{}}}},Slz:{type:"structure",required:["thingGroupIndexingMode"],members:{thingGroupIndexingMode:{},managedFields:{shape:"Slv"},customFields:{shape:"Slv"}}},Snh:{type:"structure",members:{confidenceLevel:{}}},Sno:{type:"list",member:{type:"structure",members:{policyName:{},policyArn:{}}}},Soq:{type:"list",member:{type:"structure",members:{certificateArn:{},certificateId:{},status:{},certificateMode:{},creationDate:{type:"timestamp"}}}},Spq:{type:"structure",members:{status:{},queuedAt:{type:"timestamp"},startedAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},executionNumber:{type:"long"},retryAttempt:{type:"integer"}}},Sqo:{type:"list",member:{}},Sqy:{type:"list",member:{}},Srh:{type:"structure",required:["name","arn"],members:{name:{},arn:{}}},Srm:{type:"structure",required:["arn"],members:{arn:{}}},Sta:{type:"structure",required:["targetType"],members:{targetType:{},targetName:{}}},Su6:{type:"list",member:{}},Sv0:{type:"structure",required:["resources"],members:{actionType:{},resources:{type:"list",member:{}}}},Sv4:{type:"list",member:{}},Sxf:{type:"list",member:{}}}}},{}],127:[function(e,t,r){t.exports={pagination:{GetBehaviorModelTrainingSummaries:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"summaries"},ListActiveViolations:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"activeViolations"},ListAttachedPolicies:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"policies"},ListAuditFindings:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"findings"},ListAuditMitigationActionsExecutions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"actionsExecutions"},ListAuditMitigationActionsTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"tasks"},ListAuditSuppressions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"suppressions"},ListAuditTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"tasks"},ListAuthorizers:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"authorizers"},ListBillingGroups:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"billingGroups"},ListCACertificates:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"certificates"},ListCertificates:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"certificates"},ListCertificatesByCA:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"certificates"},ListCustomMetrics:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"metricNames"},ListDetectMitigationActionsExecutions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"actionsExecutions"},ListDetectMitigationActionsTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"tasks"},ListDimensions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"dimensionNames"},ListDomainConfigurations:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"domainConfigurations"},ListFleetMetrics:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"fleetMetrics"},ListIndices:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"indexNames"},ListJobExecutionsForJob:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"executionSummaries"},ListJobExecutionsForThing:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"executionSummaries"},ListJobTemplates:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"jobTemplates"},ListJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"jobs"},ListMitigationActions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"actionIdentifiers"},ListOTAUpdates:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"otaUpdates"},ListOutgoingCertificates:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"outgoingCertificates"},ListPolicies:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"policies"},ListPolicyPrincipals:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"principals"},ListPrincipalPolicies:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"policies"},ListPrincipalThings:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"things"},ListProvisioningTemplateVersions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"versions"},ListProvisioningTemplates:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"templates"},ListRoleAliases:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"roleAliases"},ListScheduledAudits:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"scheduledAudits"},ListSecurityProfiles:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"securityProfileIdentifiers"},ListSecurityProfilesForTarget:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"securityProfileTargetMappings"},ListStreams:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"streams"},ListTagsForResource:{input_token:"nextToken",output_token:"nextToken",result_key:"tags"},ListTargetsForPolicy:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"targets"},ListTargetsForSecurityProfile:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"securityProfileTargets"},ListThingGroups:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"thingGroups"},ListThingGroupsForThing:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"thingGroups"},ListThingPrincipals:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"principals"},ListThingRegistrationTaskReports:{input_token:"nextToken",limit_key:"maxResults",non_aggregate_keys:["reportType"],output_token:"nextToken",result_key:"resourceLinks"},ListThingRegistrationTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"taskIds"},ListThingTypes:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"thingTypes"},ListThings:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"things"},ListThingsInBillingGroup:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"things"},ListThingsInThingGroup:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"things"},ListTopicRuleDestinations:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"destinationSummaries"},ListTopicRules:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"rules"},ListV2LoggingLevels:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"logTargetConfigurations"},ListViolationEvents:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"violationEvents"}}}},{}],128:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-05-28",endpointPrefix:"data.iot",protocol:"rest-json",serviceFullName:"AWS IoT Data Plane",serviceId:"IoT Data Plane",signatureVersion:"v4",signingName:"iotdata",uid:"iot-data-2015-05-28"},operations:{DeleteThingShadow:{http:{method:"DELETE",requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},shadowName:{location:"querystring",locationName:"name"}}},output:{type:"structure",required:["payload"],members:{payload:{type:"blob"}},payload:"payload"}},GetRetainedMessage:{http:{method:"GET",requestUri:"/retainedMessage/{topic}"},input:{type:"structure",required:["topic"],members:{topic:{location:"uri",locationName:"topic"}}},output:{type:"structure",members:{topic:{},payload:{type:"blob"},qos:{type:"integer"},lastModifiedTime:{type:"long"}}}},GetThingShadow:{http:{method:"GET",requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},shadowName:{location:"querystring",locationName:"name"}}},output:{type:"structure",members:{payload:{type:"blob"}},payload:"payload"}},ListNamedShadowsForThing:{http:{method:"GET",requestUri:"/api/things/shadow/ListNamedShadowsForThing/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},nextToken:{location:"querystring",locationName:"nextToken"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"}}},output:{type:"structure",members:{results:{type:"list",member:{}},nextToken:{},timestamp:{type:"long"}}}},ListRetainedMessages:{http:{method:"GET",requestUri:"/retainedMessage"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{retainedTopics:{type:"list",member:{type:"structure",members:{topic:{},payloadSize:{type:"long"},qos:{type:"integer"},lastModifiedTime:{type:"long"}}}},nextToken:{}}}},Publish:{http:{requestUri:"/topics/{topic}"},input:{type:"structure",required:["topic"],members:{topic:{location:"uri",locationName:"topic"},qos:{location:"querystring",locationName:"qos",type:"integer"},retain:{location:"querystring",locationName:"retain",type:"boolean"},payload:{type:"blob"}},payload:"payload"}},UpdateThingShadow:{http:{requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName","payload"],members:{thingName:{location:"uri",locationName:"thingName"},shadowName:{location:"querystring",locationName:"name"},payload:{type:"blob"}},payload:"payload"},output:{type:"structure",members:{payload:{type:"blob"}},payload:"payload"}}},shapes:{}}},{}],129:[function(e,t,r){t.exports={pagination:{ListRetainedMessages:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"retainedTopics"}}} -},{}],130:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-11-27",endpointPrefix:"iotanalytics",protocol:"rest-json",serviceFullName:"AWS IoT Analytics",serviceId:"IoTAnalytics",signatureVersion:"v4",signingName:"iotanalytics",uid:"iotanalytics-2017-11-27"},operations:{BatchPutMessage:{http:{requestUri:"/messages/batch",responseCode:200},input:{type:"structure",required:["channelName","messages"],members:{channelName:{},messages:{type:"list",member:{type:"structure",required:["messageId","payload"],members:{messageId:{},payload:{type:"blob"}}}}}},output:{type:"structure",members:{batchPutMessageErrorEntries:{type:"list",member:{type:"structure",members:{messageId:{},errorCode:{},errorMessage:{}}}}}}},CancelPipelineReprocessing:{http:{method:"DELETE",requestUri:"/pipelines/{pipelineName}/reprocessing/{reprocessingId}"},input:{type:"structure",required:["pipelineName","reprocessingId"],members:{pipelineName:{location:"uri",locationName:"pipelineName"},reprocessingId:{location:"uri",locationName:"reprocessingId"}}},output:{type:"structure",members:{}}},CreateChannel:{http:{requestUri:"/channels",responseCode:201},input:{type:"structure",required:["channelName"],members:{channelName:{},channelStorage:{shape:"Sh"},retentionPeriod:{shape:"Sn"},tags:{shape:"Sq"}}},output:{type:"structure",members:{channelName:{},channelArn:{},retentionPeriod:{shape:"Sn"}}}},CreateDataset:{http:{requestUri:"/datasets",responseCode:201},input:{type:"structure",required:["datasetName","actions"],members:{datasetName:{},actions:{shape:"Sy"},triggers:{shape:"S1l"},contentDeliveryRules:{shape:"S1q"},retentionPeriod:{shape:"Sn"},versioningConfiguration:{shape:"S21"},tags:{shape:"Sq"},lateDataRules:{shape:"S24"}}},output:{type:"structure",members:{datasetName:{},datasetArn:{},retentionPeriod:{shape:"Sn"}}}},CreateDatasetContent:{http:{requestUri:"/datasets/{datasetName}/content"},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"},versionId:{}}},output:{type:"structure",members:{versionId:{}}}},CreateDatastore:{http:{requestUri:"/datastores",responseCode:201},input:{type:"structure",required:["datastoreName"],members:{datastoreName:{},datastoreStorage:{shape:"S2h"},retentionPeriod:{shape:"Sn"},tags:{shape:"Sq"},fileFormatConfiguration:{shape:"S2m"},datastorePartitions:{shape:"S2u"}}},output:{type:"structure",members:{datastoreName:{},datastoreArn:{},retentionPeriod:{shape:"Sn"}}}},CreatePipeline:{http:{requestUri:"/pipelines",responseCode:201},input:{type:"structure",required:["pipelineName","pipelineActivities"],members:{pipelineName:{},pipelineActivities:{shape:"S34"},tags:{shape:"Sq"}}},output:{type:"structure",members:{pipelineName:{},pipelineArn:{}}}},DeleteChannel:{http:{method:"DELETE",requestUri:"/channels/{channelName}",responseCode:204},input:{type:"structure",required:["channelName"],members:{channelName:{location:"uri",locationName:"channelName"}}}},DeleteDataset:{http:{method:"DELETE",requestUri:"/datasets/{datasetName}",responseCode:204},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"}}}},DeleteDatasetContent:{http:{method:"DELETE",requestUri:"/datasets/{datasetName}/content",responseCode:204},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"},versionId:{location:"querystring",locationName:"versionId"}}}},DeleteDatastore:{http:{method:"DELETE",requestUri:"/datastores/{datastoreName}",responseCode:204},input:{type:"structure",required:["datastoreName"],members:{datastoreName:{location:"uri",locationName:"datastoreName"}}}},DeletePipeline:{http:{method:"DELETE",requestUri:"/pipelines/{pipelineName}",responseCode:204},input:{type:"structure",required:["pipelineName"],members:{pipelineName:{location:"uri",locationName:"pipelineName"}}}},DescribeChannel:{http:{method:"GET",requestUri:"/channels/{channelName}"},input:{type:"structure",required:["channelName"],members:{channelName:{location:"uri",locationName:"channelName"},includeStatistics:{location:"querystring",locationName:"includeStatistics",type:"boolean"}}},output:{type:"structure",members:{channel:{type:"structure",members:{name:{},storage:{shape:"Sh"},arn:{},status:{},retentionPeriod:{shape:"Sn"},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},lastMessageArrivalTime:{type:"timestamp"}}},statistics:{type:"structure",members:{size:{shape:"S42"}}}}}},DescribeDataset:{http:{method:"GET",requestUri:"/datasets/{datasetName}"},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"}}},output:{type:"structure",members:{dataset:{type:"structure",members:{name:{},arn:{},actions:{shape:"Sy"},triggers:{shape:"S1l"},contentDeliveryRules:{shape:"S1q"},status:{},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},retentionPeriod:{shape:"Sn"},versioningConfiguration:{shape:"S21"},lateDataRules:{shape:"S24"}}}}}},DescribeDatastore:{http:{method:"GET",requestUri:"/datastores/{datastoreName}"},input:{type:"structure",required:["datastoreName"],members:{datastoreName:{location:"uri",locationName:"datastoreName"},includeStatistics:{location:"querystring",locationName:"includeStatistics",type:"boolean"}}},output:{type:"structure",members:{datastore:{type:"structure",members:{name:{},storage:{shape:"S2h"},arn:{},status:{},retentionPeriod:{shape:"Sn"},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},lastMessageArrivalTime:{type:"timestamp"},fileFormatConfiguration:{shape:"S2m"},datastorePartitions:{shape:"S2u"}}},statistics:{type:"structure",members:{size:{shape:"S42"}}}}}},DescribeLoggingOptions:{http:{method:"GET",requestUri:"/logging"},input:{type:"structure",members:{}},output:{type:"structure",members:{loggingOptions:{shape:"S4f"}}}},DescribePipeline:{http:{method:"GET",requestUri:"/pipelines/{pipelineName}"},input:{type:"structure",required:["pipelineName"],members:{pipelineName:{location:"uri",locationName:"pipelineName"}}},output:{type:"structure",members:{pipeline:{type:"structure",members:{name:{},arn:{},activities:{shape:"S34"},reprocessingSummaries:{shape:"S4l"},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"}}}}}},GetDatasetContent:{http:{method:"GET",requestUri:"/datasets/{datasetName}/content"},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"},versionId:{location:"querystring",locationName:"versionId"}}},output:{type:"structure",members:{entries:{type:"list",member:{type:"structure",members:{entryName:{},dataURI:{}}}},timestamp:{type:"timestamp"},status:{shape:"S4t"}}}},ListChannels:{http:{method:"GET",requestUri:"/channels"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{channelSummaries:{type:"list",member:{type:"structure",members:{channelName:{},channelStorage:{type:"structure",members:{serviceManagedS3:{type:"structure",members:{}},customerManagedS3:{type:"structure",members:{bucket:{},keyPrefix:{},roleArn:{}}}}},status:{},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},lastMessageArrivalTime:{type:"timestamp"}}}},nextToken:{}}}},ListDatasetContents:{http:{method:"GET",requestUri:"/datasets/{datasetName}/contents"},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},scheduledOnOrAfter:{location:"querystring",locationName:"scheduledOnOrAfter",type:"timestamp"},scheduledBefore:{location:"querystring",locationName:"scheduledBefore",type:"timestamp"}}},output:{type:"structure",members:{datasetContentSummaries:{type:"list",member:{type:"structure",members:{version:{},status:{shape:"S4t"},creationTime:{type:"timestamp"},scheduleTime:{type:"timestamp"},completionTime:{type:"timestamp"}}}},nextToken:{}}}},ListDatasets:{http:{method:"GET",requestUri:"/datasets"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{datasetSummaries:{type:"list",member:{type:"structure",members:{datasetName:{},status:{},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},triggers:{shape:"S1l"},actions:{type:"list",member:{type:"structure",members:{actionName:{},actionType:{}}}}}}},nextToken:{}}}},ListDatastores:{http:{method:"GET",requestUri:"/datastores"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{datastoreSummaries:{type:"list",member:{type:"structure",members:{datastoreName:{},datastoreStorage:{type:"structure",members:{serviceManagedS3:{type:"structure",members:{}},customerManagedS3:{type:"structure",members:{bucket:{},keyPrefix:{},roleArn:{}}},iotSiteWiseMultiLayerStorage:{type:"structure",members:{customerManagedS3Storage:{type:"structure",members:{bucket:{},keyPrefix:{}}}}}}},status:{},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},lastMessageArrivalTime:{type:"timestamp"},fileFormatType:{},datastorePartitions:{shape:"S2u"}}}},nextToken:{}}}},ListPipelines:{http:{method:"GET",requestUri:"/pipelines"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{pipelineSummaries:{type:"list",member:{type:"structure",members:{pipelineName:{},reprocessingSummaries:{shape:"S4l"},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"}}}},nextToken:{}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/tags"},input:{type:"structure",required:["resourceArn"],members:{resourceArn:{location:"querystring",locationName:"resourceArn"}}},output:{type:"structure",members:{tags:{shape:"Sq"}}}},PutLoggingOptions:{http:{method:"PUT",requestUri:"/logging"},input:{type:"structure",required:["loggingOptions"],members:{loggingOptions:{shape:"S4f"}}}},RunPipelineActivity:{http:{requestUri:"/pipelineactivities/run"},input:{type:"structure",required:["pipelineActivity","payloads"],members:{pipelineActivity:{shape:"S35"},payloads:{shape:"S5z"}}},output:{type:"structure",members:{payloads:{shape:"S5z"},logResult:{}}}},SampleChannelData:{http:{method:"GET",requestUri:"/channels/{channelName}/sample"},input:{type:"structure",required:["channelName"],members:{channelName:{location:"uri",locationName:"channelName"},maxMessages:{location:"querystring",locationName:"maxMessages",type:"integer"},startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"}}},output:{type:"structure",members:{payloads:{shape:"S5z"}}}},StartPipelineReprocessing:{http:{requestUri:"/pipelines/{pipelineName}/reprocessing"},input:{type:"structure",required:["pipelineName"],members:{pipelineName:{location:"uri",locationName:"pipelineName"},startTime:{type:"timestamp"},endTime:{type:"timestamp"},channelMessages:{type:"structure",members:{s3Paths:{type:"list",member:{}}}}}},output:{type:"structure",members:{reprocessingId:{}}}},TagResource:{http:{requestUri:"/tags",responseCode:204},input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{location:"querystring",locationName:"resourceArn"},tags:{shape:"Sq"}}},output:{type:"structure",members:{}}},UntagResource:{http:{method:"DELETE",requestUri:"/tags",responseCode:204},input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{location:"querystring",locationName:"resourceArn"},tagKeys:{location:"querystring",locationName:"tagKeys",type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateChannel:{http:{method:"PUT",requestUri:"/channels/{channelName}"},input:{type:"structure",required:["channelName"],members:{channelName:{location:"uri",locationName:"channelName"},channelStorage:{shape:"Sh"},retentionPeriod:{shape:"Sn"}}}},UpdateDataset:{http:{method:"PUT",requestUri:"/datasets/{datasetName}"},input:{type:"structure",required:["datasetName","actions"],members:{datasetName:{location:"uri",locationName:"datasetName"},actions:{shape:"Sy"},triggers:{shape:"S1l"},contentDeliveryRules:{shape:"S1q"},retentionPeriod:{shape:"Sn"},versioningConfiguration:{shape:"S21"},lateDataRules:{shape:"S24"}}}},UpdateDatastore:{http:{method:"PUT",requestUri:"/datastores/{datastoreName}"},input:{type:"structure",required:["datastoreName"],members:{datastoreName:{location:"uri",locationName:"datastoreName"},retentionPeriod:{shape:"Sn"},datastoreStorage:{shape:"S2h"},fileFormatConfiguration:{shape:"S2m"}}}},UpdatePipeline:{http:{method:"PUT",requestUri:"/pipelines/{pipelineName}"},input:{type:"structure",required:["pipelineName","pipelineActivities"],members:{pipelineName:{location:"uri",locationName:"pipelineName"},pipelineActivities:{shape:"S34"}}}}},shapes:{Sh:{type:"structure",members:{serviceManagedS3:{type:"structure",members:{}},customerManagedS3:{type:"structure",required:["bucket","roleArn"],members:{bucket:{},keyPrefix:{},roleArn:{}}}}},Sn:{type:"structure",members:{unlimited:{type:"boolean"},numberOfDays:{type:"integer"}}},Sq:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},Sy:{type:"list",member:{type:"structure",members:{actionName:{},queryAction:{type:"structure",required:["sqlQuery"],members:{sqlQuery:{},filters:{type:"list",member:{type:"structure",members:{deltaTime:{type:"structure",required:["offsetSeconds","timeExpression"],members:{offsetSeconds:{type:"integer"},timeExpression:{}}}}}}}},containerAction:{type:"structure",required:["image","executionRoleArn","resourceConfiguration"],members:{image:{},executionRoleArn:{},resourceConfiguration:{type:"structure",required:["computeType","volumeSizeInGB"],members:{computeType:{},volumeSizeInGB:{type:"integer"}}},variables:{type:"list",member:{type:"structure",required:["name"],members:{name:{},stringValue:{},doubleValue:{type:"double"},datasetContentVersionValue:{type:"structure",required:["datasetName"],members:{datasetName:{}}},outputFileUriValue:{type:"structure",required:["fileName"],members:{fileName:{}}}}}}}}}}},S1l:{type:"list",member:{type:"structure",members:{schedule:{type:"structure",members:{expression:{}}},dataset:{type:"structure",required:["name"],members:{name:{}}}}}},S1q:{type:"list",member:{type:"structure",required:["destination"],members:{entryName:{},destination:{type:"structure",members:{iotEventsDestinationConfiguration:{type:"structure",required:["inputName","roleArn"],members:{inputName:{},roleArn:{}}},s3DestinationConfiguration:{type:"structure",required:["bucket","key","roleArn"],members:{bucket:{},key:{},glueConfiguration:{type:"structure",required:["tableName","databaseName"],members:{tableName:{},databaseName:{}}},roleArn:{}}}}}}}},S21:{type:"structure",members:{unlimited:{type:"boolean"},maxVersions:{type:"integer"}}},S24:{type:"list",member:{type:"structure",required:["ruleConfiguration"],members:{ruleName:{},ruleConfiguration:{type:"structure",members:{deltaTimeSessionWindowConfiguration:{type:"structure",required:["timeoutInMinutes"],members:{timeoutInMinutes:{type:"integer"}}}}}}}},S2h:{type:"structure",members:{serviceManagedS3:{type:"structure",members:{}},customerManagedS3:{type:"structure",required:["bucket","roleArn"],members:{bucket:{},keyPrefix:{},roleArn:{}}},iotSiteWiseMultiLayerStorage:{type:"structure",required:["customerManagedS3Storage"],members:{customerManagedS3Storage:{type:"structure",required:["bucket"],members:{bucket:{},keyPrefix:{}}}}}}},S2m:{type:"structure",members:{jsonConfiguration:{type:"structure",members:{}},parquetConfiguration:{type:"structure",members:{schemaDefinition:{type:"structure",members:{columns:{type:"list",member:{type:"structure",required:["name","type"],members:{name:{},type:{}}}}}}}}}},S2u:{type:"structure",members:{partitions:{type:"list",member:{type:"structure",members:{attributePartition:{type:"structure",required:["attributeName"],members:{attributeName:{}}},timestampPartition:{type:"structure",required:["attributeName"],members:{attributeName:{},timestampFormat:{}}}}}}}},S34:{type:"list",member:{shape:"S35"}},S35:{type:"structure",members:{channel:{type:"structure",required:["name","channelName"],members:{name:{},channelName:{},next:{}}},lambda:{type:"structure",required:["name","lambdaName","batchSize"],members:{name:{},lambdaName:{},batchSize:{type:"integer"},next:{}}},datastore:{type:"structure",required:["name","datastoreName"],members:{name:{},datastoreName:{}}},addAttributes:{type:"structure",required:["name","attributes"],members:{name:{},attributes:{type:"map",key:{},value:{}},next:{}}},removeAttributes:{type:"structure",required:["name","attributes"],members:{name:{},attributes:{shape:"S3g"},next:{}}},selectAttributes:{type:"structure",required:["name","attributes"],members:{name:{},attributes:{shape:"S3g"},next:{}}},filter:{type:"structure",required:["name","filter"],members:{name:{},filter:{},next:{}}},math:{type:"structure",required:["name","attribute","math"],members:{name:{},attribute:{},math:{},next:{}}},deviceRegistryEnrich:{type:"structure",required:["name","attribute","thingName","roleArn"],members:{name:{},attribute:{},thingName:{},roleArn:{},next:{}}},deviceShadowEnrich:{type:"structure",required:["name","attribute","thingName","roleArn"],members:{name:{},attribute:{},thingName:{},roleArn:{},next:{}}}}},S3g:{type:"list",member:{}},S42:{type:"structure",members:{estimatedSizeInBytes:{type:"double"},estimatedOn:{type:"timestamp"}}},S4f:{type:"structure",required:["roleArn","level","enabled"],members:{roleArn:{},level:{},enabled:{type:"boolean"}}},S4l:{type:"list",member:{type:"structure",members:{id:{},status:{},creationTime:{type:"timestamp"}}}},S4t:{type:"structure",members:{state:{},reason:{}}},S5z:{type:"list",member:{type:"blob"}}}}},{}],131:[function(e,t,r){t.exports={pagination:{ListChannels:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListDatasetContents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListDatasets:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListDatastores:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListPipelines:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"}}}},{}],132:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-12-02",endpointPrefix:"kinesis",jsonVersion:"1.1",protocol:"json",protocolSettings:{h2:"eventstream"},serviceAbbreviation:"Kinesis",serviceFullName:"Amazon Kinesis",serviceId:"Kinesis",signatureVersion:"v4",targetPrefix:"Kinesis_20131202",uid:"kinesis-2013-12-02"},operations:{AddTagsToStream:{input:{type:"structure",required:["StreamName","Tags"],members:{StreamName:{},Tags:{type:"map",key:{},value:{}}}}},CreateStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},ShardCount:{type:"integer"},StreamModeDetails:{shape:"S8"}}}},DecreaseStreamRetentionPeriod:{input:{type:"structure",required:["StreamName","RetentionPeriodHours"],members:{StreamName:{},RetentionPeriodHours:{type:"integer"}}}},DeleteStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},EnforceConsumerDeletion:{type:"boolean"}}}},DeregisterStreamConsumer:{input:{type:"structure",members:{StreamARN:{},ConsumerName:{},ConsumerARN:{}}}},DescribeLimits:{input:{type:"structure",members:{}},output:{type:"structure",required:["ShardLimit","OpenShardCount","OnDemandStreamCount","OnDemandStreamCountLimit"],members:{ShardLimit:{type:"integer"},OpenShardCount:{type:"integer"},OnDemandStreamCount:{type:"integer"},OnDemandStreamCountLimit:{type:"integer"}}}},DescribeStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},Limit:{type:"integer"},ExclusiveStartShardId:{}}},output:{type:"structure",required:["StreamDescription"],members:{StreamDescription:{type:"structure",required:["StreamName","StreamARN","StreamStatus","Shards","HasMoreShards","RetentionPeriodHours","StreamCreationTimestamp","EnhancedMonitoring"],members:{StreamName:{},StreamARN:{},StreamStatus:{},StreamModeDetails:{shape:"S8"},Shards:{shape:"St"},HasMoreShards:{type:"boolean"},RetentionPeriodHours:{type:"integer"},StreamCreationTimestamp:{type:"timestamp"},EnhancedMonitoring:{shape:"S10"},EncryptionType:{},KeyId:{}}}}}},DescribeStreamConsumer:{input:{type:"structure",members:{StreamARN:{},ConsumerName:{},ConsumerARN:{}}},output:{type:"structure",required:["ConsumerDescription"],members:{ConsumerDescription:{type:"structure",required:["ConsumerName","ConsumerARN","ConsumerStatus","ConsumerCreationTimestamp","StreamARN"],members:{ConsumerName:{},ConsumerARN:{},ConsumerStatus:{},ConsumerCreationTimestamp:{type:"timestamp"},StreamARN:{}}}}}},DescribeStreamSummary:{input:{type:"structure",required:["StreamName"],members:{StreamName:{}}},output:{type:"structure",required:["StreamDescriptionSummary"],members:{StreamDescriptionSummary:{type:"structure",required:["StreamName","StreamARN","StreamStatus","RetentionPeriodHours","StreamCreationTimestamp","EnhancedMonitoring","OpenShardCount"],members:{StreamName:{},StreamARN:{},StreamStatus:{},StreamModeDetails:{shape:"S8"},RetentionPeriodHours:{type:"integer"},StreamCreationTimestamp:{type:"timestamp"},EnhancedMonitoring:{shape:"S10"},EncryptionType:{},KeyId:{},OpenShardCount:{type:"integer"},ConsumerCount:{type:"integer"}}}}}},DisableEnhancedMonitoring:{input:{type:"structure",required:["StreamName","ShardLevelMetrics"],members:{StreamName:{},ShardLevelMetrics:{shape:"S12"}}},output:{shape:"S1f"}},EnableEnhancedMonitoring:{input:{type:"structure",required:["StreamName","ShardLevelMetrics"],members:{StreamName:{},ShardLevelMetrics:{shape:"S12"}}},output:{shape:"S1f"}},GetRecords:{input:{type:"structure",required:["ShardIterator"],members:{ShardIterator:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Records"],members:{Records:{type:"list",member:{type:"structure",required:["SequenceNumber","Data","PartitionKey"],members:{SequenceNumber:{},ApproximateArrivalTimestamp:{type:"timestamp"},Data:{type:"blob"},PartitionKey:{},EncryptionType:{}}}},NextShardIterator:{},MillisBehindLatest:{type:"long"},ChildShards:{type:"list",member:{type:"structure",required:["ShardId","ParentShards","HashKeyRange"],members:{ShardId:{},ParentShards:{type:"list",member:{}},HashKeyRange:{shape:"Sv"}}}}}}},GetShardIterator:{input:{type:"structure",required:["StreamName","ShardId","ShardIteratorType"],members:{StreamName:{},ShardId:{},ShardIteratorType:{},StartingSequenceNumber:{},Timestamp:{type:"timestamp"}}},output:{type:"structure",members:{ShardIterator:{}}}},IncreaseStreamRetentionPeriod:{input:{type:"structure",required:["StreamName","RetentionPeriodHours"],members:{StreamName:{},RetentionPeriodHours:{type:"integer"}}}},ListShards:{input:{type:"structure",members:{StreamName:{},NextToken:{},ExclusiveStartShardId:{},MaxResults:{type:"integer"},StreamCreationTimestamp:{type:"timestamp"},ShardFilter:{type:"structure",required:["Type"],members:{Type:{},ShardId:{},Timestamp:{type:"timestamp"}}}}},output:{type:"structure",members:{Shards:{shape:"St"},NextToken:{}}}},ListStreamConsumers:{input:{type:"structure",required:["StreamARN"],members:{StreamARN:{},NextToken:{},MaxResults:{type:"integer"},StreamCreationTimestamp:{type:"timestamp"}}},output:{type:"structure",members:{Consumers:{type:"list",member:{shape:"S27"}},NextToken:{}}}},ListStreams:{input:{type:"structure",members:{Limit:{type:"integer"},ExclusiveStartStreamName:{}}},output:{type:"structure",required:["StreamNames","HasMoreStreams"],members:{StreamNames:{type:"list",member:{}},HasMoreStreams:{type:"boolean"}}}},ListTagsForStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},ExclusiveStartTagKey:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Tags","HasMoreTags"],members:{Tags:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},HasMoreTags:{type:"boolean"}}}},MergeShards:{input:{type:"structure",required:["StreamName","ShardToMerge","AdjacentShardToMerge"],members:{StreamName:{},ShardToMerge:{},AdjacentShardToMerge:{}}}},PutRecord:{input:{type:"structure",required:["StreamName","Data","PartitionKey"],members:{StreamName:{},Data:{type:"blob"},PartitionKey:{},ExplicitHashKey:{},SequenceNumberForOrdering:{}}},output:{type:"structure",required:["ShardId","SequenceNumber"],members:{ShardId:{},SequenceNumber:{},EncryptionType:{}}}},PutRecords:{input:{type:"structure",required:["Records","StreamName"],members:{Records:{type:"list",member:{type:"structure",required:["Data","PartitionKey"],members:{Data:{type:"blob"},ExplicitHashKey:{},PartitionKey:{}}}},StreamName:{}}},output:{type:"structure",required:["Records"],members:{FailedRecordCount:{type:"integer"},Records:{type:"list",member:{type:"structure",members:{SequenceNumber:{},ShardId:{},ErrorCode:{},ErrorMessage:{}}}},EncryptionType:{}}}},RegisterStreamConsumer:{input:{type:"structure",required:["StreamARN","ConsumerName"],members:{StreamARN:{},ConsumerName:{}}},output:{type:"structure",required:["Consumer"],members:{Consumer:{shape:"S27"}}}},RemoveTagsFromStream:{input:{type:"structure",required:["StreamName","TagKeys"],members:{StreamName:{},TagKeys:{type:"list",member:{}}}}},SplitShard:{input:{type:"structure",required:["StreamName","ShardToSplit","NewStartingHashKey"],members:{StreamName:{},ShardToSplit:{},NewStartingHashKey:{}}}},StartStreamEncryption:{input:{type:"structure",required:["StreamName","EncryptionType","KeyId"],members:{StreamName:{},EncryptionType:{},KeyId:{}}}},StopStreamEncryption:{input:{type:"structure",required:["StreamName","EncryptionType","KeyId"],members:{StreamName:{},EncryptionType:{},KeyId:{}}}},UpdateShardCount:{input:{type:"structure",required:["StreamName","TargetShardCount","ScalingType"],members:{StreamName:{},TargetShardCount:{type:"integer"},ScalingType:{}}},output:{type:"structure",members:{StreamName:{},CurrentShardCount:{type:"integer"},TargetShardCount:{type:"integer"}}}},UpdateStreamMode:{input:{type:"structure",required:["StreamARN","StreamModeDetails"],members:{StreamARN:{},StreamModeDetails:{shape:"S8"}}}}},shapes:{S8:{type:"structure",required:["StreamMode"],members:{StreamMode:{}}},St:{type:"list",member:{type:"structure",required:["ShardId","HashKeyRange","SequenceNumberRange"],members:{ShardId:{},ParentShardId:{},AdjacentParentShardId:{},HashKeyRange:{shape:"Sv"},SequenceNumberRange:{type:"structure",required:["StartingSequenceNumber"],members:{StartingSequenceNumber:{},EndingSequenceNumber:{}}}}}},Sv:{type:"structure",required:["StartingHashKey","EndingHashKey"],members:{StartingHashKey:{},EndingHashKey:{}}},S10:{type:"list",member:{type:"structure",members:{ShardLevelMetrics:{shape:"S12"}}}},S12:{type:"list",member:{}},S1f:{type:"structure",members:{StreamName:{},CurrentShardLevelMetrics:{shape:"S12"},DesiredShardLevelMetrics:{shape:"S12"}}},S27:{type:"structure",required:["ConsumerName","ConsumerARN","ConsumerStatus","ConsumerCreationTimestamp"],members:{ConsumerName:{},ConsumerARN:{},ConsumerStatus:{},ConsumerCreationTimestamp:{type:"timestamp"}}}}}},{}],133:[function(e,t,r){t.exports={pagination:{DescribeStream:{input_token:"ExclusiveStartShardId",limit_key:"Limit",more_results:"StreamDescription.HasMoreShards",output_token:"StreamDescription.Shards[-1].ShardId",result_key:"StreamDescription.Shards"},ListStreamConsumers:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListStreams:{input_token:"ExclusiveStartStreamName",limit_key:"Limit",more_results:"HasMoreStreams",output_token:"StreamNames[-1]",result_key:"StreamNames"}}}},{}],134:[function(e,t,r){t.exports={version:2,waiters:{StreamExists:{delay:10,operation:"DescribeStream",maxAttempts:18,acceptors:[{expected:"ACTIVE",matcher:"path",state:"success",argument:"StreamDescription.StreamStatus"}]},StreamNotExists:{delay:10,operation:"DescribeStream",maxAttempts:18,acceptors:[{expected:"ResourceNotFoundException",matcher:"error",state:"success"}]}}}},{}],135:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-09-30",endpointPrefix:"kinesisvideo",protocol:"rest-json",serviceAbbreviation:"Kinesis Video Archived Media",serviceFullName:"Amazon Kinesis Video Streams Archived Media",serviceId:"Kinesis Video Archived Media",signatureVersion:"v4",uid:"kinesis-video-archived-media-2017-09-30"},operations:{GetClip:{http:{requestUri:"/getClip"},input:{type:"structure",required:["ClipFragmentSelector"],members:{StreamName:{},StreamARN:{},ClipFragmentSelector:{type:"structure",required:["FragmentSelectorType","TimestampRange"],members:{FragmentSelectorType:{},TimestampRange:{type:"structure",required:["StartTimestamp","EndTimestamp"],members:{StartTimestamp:{type:"timestamp"},EndTimestamp:{type:"timestamp"}}}}}}},output:{type:"structure",members:{ContentType:{location:"header",locationName:"Content-Type"},Payload:{shape:"Sa"}},payload:"Payload"}},GetDASHStreamingSessionURL:{http:{requestUri:"/getDASHStreamingSessionURL"},input:{type:"structure",members:{StreamName:{},StreamARN:{},PlaybackMode:{},DisplayFragmentTimestamp:{},DisplayFragmentNumber:{},DASHFragmentSelector:{type:"structure",members:{FragmentSelectorType:{},TimestampRange:{type:"structure",members:{StartTimestamp:{type:"timestamp"},EndTimestamp:{type:"timestamp"}}}}},Expires:{type:"integer"},MaxManifestFragmentResults:{type:"long"}}},output:{type:"structure",members:{DASHStreamingSessionURL:{}}}},GetHLSStreamingSessionURL:{http:{requestUri:"/getHLSStreamingSessionURL"},input:{type:"structure",members:{StreamName:{},StreamARN:{},PlaybackMode:{},HLSFragmentSelector:{type:"structure",members:{FragmentSelectorType:{},TimestampRange:{type:"structure",members:{StartTimestamp:{type:"timestamp"},EndTimestamp:{type:"timestamp"}}}}},ContainerFormat:{},DiscontinuityMode:{},DisplayFragmentTimestamp:{},Expires:{type:"integer"},MaxMediaPlaylistFragmentResults:{type:"long"}}},output:{type:"structure",members:{HLSStreamingSessionURL:{}}}},GetMediaForFragmentList:{http:{requestUri:"/getMediaForFragmentList"},input:{type:"structure",required:["Fragments"],members:{StreamName:{},StreamARN:{},Fragments:{type:"list",member:{}}}},output:{type:"structure",members:{ContentType:{location:"header",locationName:"Content-Type"},Payload:{shape:"Sa"}},payload:"Payload"}},ListFragments:{http:{requestUri:"/listFragments"},input:{type:"structure",members:{StreamName:{},StreamARN:{},MaxResults:{type:"long"},NextToken:{},FragmentSelector:{type:"structure",required:["FragmentSelectorType","TimestampRange"],members:{FragmentSelectorType:{},TimestampRange:{type:"structure",required:["StartTimestamp","EndTimestamp"],members:{StartTimestamp:{type:"timestamp"},EndTimestamp:{type:"timestamp"}}}}}}},output:{type:"structure",members:{Fragments:{type:"list",member:{type:"structure",members:{FragmentNumber:{},FragmentSizeInBytes:{type:"long"},ProducerTimestamp:{type:"timestamp"},ServerTimestamp:{type:"timestamp"},FragmentLengthInMilliseconds:{type:"long"}}}},NextToken:{}}}}},shapes:{Sa:{type:"blob",streaming:!0}}}},{}],136:[function(e,t,r){t.exports={pagination:{ListFragments:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Fragments"}}}},{}],137:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-09-30",endpointPrefix:"kinesisvideo",protocol:"rest-json",serviceAbbreviation:"Kinesis Video Media",serviceFullName:"Amazon Kinesis Video Streams Media",serviceId:"Kinesis Video Media",signatureVersion:"v4", -uid:"kinesis-video-media-2017-09-30"},operations:{GetMedia:{http:{requestUri:"/getMedia"},input:{type:"structure",required:["StartSelector"],members:{StreamName:{},StreamARN:{},StartSelector:{type:"structure",required:["StartSelectorType"],members:{StartSelectorType:{},AfterFragmentNumber:{},StartTimestamp:{type:"timestamp"},ContinuationToken:{}}}}},output:{type:"structure",members:{ContentType:{location:"header",locationName:"Content-Type"},Payload:{type:"blob",streaming:!0}},payload:"Payload"}}},shapes:{}}},{}],138:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],139:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2019-12-04",endpointPrefix:"kinesisvideo",protocol:"rest-json",serviceAbbreviation:"Amazon Kinesis Video Signaling Channels",serviceFullName:"Amazon Kinesis Video Signaling Channels",serviceId:"Kinesis Video Signaling",signatureVersion:"v4",uid:"kinesis-video-signaling-2019-12-04"},operations:{GetIceServerConfig:{http:{requestUri:"/v1/get-ice-server-config"},input:{type:"structure",required:["ChannelARN"],members:{ChannelARN:{},ClientId:{},Service:{},Username:{}}},output:{type:"structure",members:{IceServerList:{type:"list",member:{type:"structure",members:{Uris:{type:"list",member:{}},Username:{},Password:{},Ttl:{type:"integer"}}}}}}},SendAlexaOfferToMaster:{http:{requestUri:"/v1/send-alexa-offer-to-master"},input:{type:"structure",required:["ChannelARN","SenderClientId","MessagePayload"],members:{ChannelARN:{},SenderClientId:{},MessagePayload:{}}},output:{type:"structure",members:{Answer:{}}}}},shapes:{}}},{}],140:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],141:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-09-30",endpointPrefix:"kinesisvideo",protocol:"rest-json",serviceAbbreviation:"Kinesis Video",serviceFullName:"Amazon Kinesis Video Streams",serviceId:"Kinesis Video",signatureVersion:"v4",uid:"kinesisvideo-2017-09-30"},operations:{CreateSignalingChannel:{http:{requestUri:"/createSignalingChannel"},input:{type:"structure",required:["ChannelName"],members:{ChannelName:{},ChannelType:{},SingleMasterConfiguration:{shape:"S4"},Tags:{type:"list",member:{shape:"S7"}}}},output:{type:"structure",members:{ChannelARN:{}}}},CreateStream:{http:{requestUri:"/createStream"},input:{type:"structure",required:["StreamName"],members:{DeviceName:{},StreamName:{},MediaType:{},KmsKeyId:{},DataRetentionInHours:{type:"integer"},Tags:{shape:"Si"}}},output:{type:"structure",members:{StreamARN:{}}}},DeleteSignalingChannel:{http:{requestUri:"/deleteSignalingChannel"},input:{type:"structure",required:["ChannelARN"],members:{ChannelARN:{},CurrentVersion:{}}},output:{type:"structure",members:{}}},DeleteStream:{http:{requestUri:"/deleteStream"},input:{type:"structure",required:["StreamARN"],members:{StreamARN:{},CurrentVersion:{}}},output:{type:"structure",members:{}}},DescribeSignalingChannel:{http:{requestUri:"/describeSignalingChannel"},input:{type:"structure",members:{ChannelName:{},ChannelARN:{}}},output:{type:"structure",members:{ChannelInfo:{shape:"Sr"}}}},DescribeStream:{http:{requestUri:"/describeStream"},input:{type:"structure",members:{StreamName:{},StreamARN:{}}},output:{type:"structure",members:{StreamInfo:{shape:"Sw"}}}},GetDataEndpoint:{http:{requestUri:"/getDataEndpoint"},input:{type:"structure",required:["APIName"],members:{StreamName:{},StreamARN:{},APIName:{}}},output:{type:"structure",members:{DataEndpoint:{}}}},GetSignalingChannelEndpoint:{http:{requestUri:"/getSignalingChannelEndpoint"},input:{type:"structure",required:["ChannelARN"],members:{ChannelARN:{},SingleMasterChannelEndpointConfiguration:{type:"structure",members:{Protocols:{type:"list",member:{}},Role:{}}}}},output:{type:"structure",members:{ResourceEndpointList:{type:"list",member:{type:"structure",members:{Protocol:{},ResourceEndpoint:{}}}}}}},ListSignalingChannels:{http:{requestUri:"/listSignalingChannels"},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{},ChannelNameCondition:{type:"structure",members:{ComparisonOperator:{},ComparisonValue:{}}}}},output:{type:"structure",members:{ChannelInfoList:{type:"list",member:{shape:"Sr"}},NextToken:{}}}},ListStreams:{http:{requestUri:"/listStreams"},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{},StreamNameCondition:{type:"structure",members:{ComparisonOperator:{},ComparisonValue:{}}}}},output:{type:"structure",members:{StreamInfoList:{type:"list",member:{shape:"Sw"}},NextToken:{}}}},ListTagsForResource:{http:{requestUri:"/ListTagsForResource"},input:{type:"structure",required:["ResourceARN"],members:{NextToken:{},ResourceARN:{}}},output:{type:"structure",members:{NextToken:{},Tags:{shape:"Si"}}}},ListTagsForStream:{http:{requestUri:"/listTagsForStream"},input:{type:"structure",members:{NextToken:{},StreamARN:{},StreamName:{}}},output:{type:"structure",members:{NextToken:{},Tags:{shape:"Si"}}}},TagResource:{http:{requestUri:"/TagResource"},input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{type:"list",member:{shape:"S7"}}}},output:{type:"structure",members:{}}},TagStream:{http:{requestUri:"/tagStream"},input:{type:"structure",required:["Tags"],members:{StreamARN:{},StreamName:{},Tags:{shape:"Si"}}},output:{type:"structure",members:{}}},UntagResource:{http:{requestUri:"/UntagResource"},input:{type:"structure",required:["ResourceARN","TagKeyList"],members:{ResourceARN:{},TagKeyList:{shape:"S1v"}}},output:{type:"structure",members:{}}},UntagStream:{http:{requestUri:"/untagStream"},input:{type:"structure",required:["TagKeyList"],members:{StreamARN:{},StreamName:{},TagKeyList:{shape:"S1v"}}},output:{type:"structure",members:{}}},UpdateDataRetention:{http:{requestUri:"/updateDataRetention"},input:{type:"structure",required:["CurrentVersion","Operation","DataRetentionChangeInHours"],members:{StreamName:{},StreamARN:{},CurrentVersion:{},Operation:{},DataRetentionChangeInHours:{type:"integer"}}},output:{type:"structure",members:{}}},UpdateSignalingChannel:{http:{requestUri:"/updateSignalingChannel"},input:{type:"structure",required:["ChannelARN","CurrentVersion"],members:{ChannelARN:{},CurrentVersion:{},SingleMasterConfiguration:{shape:"S4"}}},output:{type:"structure",members:{}}},UpdateStream:{http:{requestUri:"/updateStream"},input:{type:"structure",required:["CurrentVersion"],members:{StreamName:{},StreamARN:{},CurrentVersion:{},DeviceName:{},MediaType:{}}},output:{type:"structure",members:{}}}},shapes:{S4:{type:"structure",members:{MessageTtlSeconds:{type:"integer"}}},S7:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}},Si:{type:"map",key:{},value:{}},Sr:{type:"structure",members:{ChannelName:{},ChannelARN:{},ChannelType:{},ChannelStatus:{},CreationTime:{type:"timestamp"},SingleMasterConfiguration:{shape:"S4"},Version:{}}},Sw:{type:"structure",members:{DeviceName:{},StreamName:{},StreamARN:{},MediaType:{},KmsKeyId:{},Version:{},Status:{},CreationTime:{type:"timestamp"},DataRetentionInHours:{type:"integer"}}},S1v:{type:"list",member:{}}}}},{}],142:[function(e,t,r){t.exports={pagination:{ListSignalingChannels:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ChannelInfoList"},ListStreams:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"StreamInfoList"}}}},{}],143:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-11-01",endpointPrefix:"kms",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"KMS",serviceFullName:"AWS Key Management Service",serviceId:"KMS",signatureVersion:"v4",targetPrefix:"TrentService",uid:"kms-2014-11-01"},operations:{CancelKeyDeletion:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},output:{type:"structure",members:{KeyId:{}}}},ConnectCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreId"],members:{CustomKeyStoreId:{}}},output:{type:"structure",members:{}}},CreateAlias:{input:{type:"structure",required:["AliasName","TargetKeyId"],members:{AliasName:{},TargetKeyId:{}}}},CreateCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreName","CloudHsmClusterId","TrustAnchorCertificate","KeyStorePassword"],members:{CustomKeyStoreName:{},CloudHsmClusterId:{},TrustAnchorCertificate:{},KeyStorePassword:{shape:"Sd"}}},output:{type:"structure",members:{CustomKeyStoreId:{}}}},CreateGrant:{input:{type:"structure",required:["KeyId","GranteePrincipal","Operations"],members:{KeyId:{},GranteePrincipal:{},RetiringPrincipal:{},Operations:{shape:"Sh"},Constraints:{shape:"Sj"},GrantTokens:{shape:"Sn"},Name:{}}},output:{type:"structure",members:{GrantToken:{},GrantId:{}}}},CreateKey:{input:{type:"structure",members:{Policy:{},Description:{},KeyUsage:{},CustomerMasterKeySpec:{shape:"Sw",deprecated:!0,deprecatedMessage:"This parameter has been deprecated. Instead, use the KeySpec parameter."},KeySpec:{},Origin:{},CustomKeyStoreId:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"},Tags:{shape:"S10"},MultiRegion:{type:"boolean"}}},output:{type:"structure",members:{KeyMetadata:{shape:"S16"}}}},Decrypt:{input:{type:"structure",required:["CiphertextBlob"],members:{CiphertextBlob:{type:"blob"},EncryptionContext:{shape:"Sk"},GrantTokens:{shape:"Sn"},KeyId:{},EncryptionAlgorithm:{}}},output:{type:"structure",members:{KeyId:{},Plaintext:{shape:"S1q"},EncryptionAlgorithm:{}}}},DeleteAlias:{input:{type:"structure",required:["AliasName"],members:{AliasName:{}}}},DeleteCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreId"],members:{CustomKeyStoreId:{}}},output:{type:"structure",members:{}}},DeleteImportedKeyMaterial:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},DescribeCustomKeyStores:{input:{type:"structure",members:{CustomKeyStoreId:{},CustomKeyStoreName:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{CustomKeyStores:{type:"list",member:{type:"structure",members:{CustomKeyStoreId:{},CustomKeyStoreName:{},CloudHsmClusterId:{},TrustAnchorCertificate:{},ConnectionState:{},ConnectionErrorCode:{},CreationDate:{type:"timestamp"}}}},NextMarker:{},Truncated:{type:"boolean"}}}},DescribeKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{KeyMetadata:{shape:"S16"}}}},DisableKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},DisableKeyRotation:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},DisconnectCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreId"],members:{CustomKeyStoreId:{}}},output:{type:"structure",members:{}}},EnableKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},EnableKeyRotation:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},Encrypt:{input:{type:"structure",required:["KeyId","Plaintext"],members:{KeyId:{},Plaintext:{shape:"S1q"},EncryptionContext:{shape:"Sk"},GrantTokens:{shape:"Sn"},EncryptionAlgorithm:{}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},KeyId:{},EncryptionAlgorithm:{}}}},GenerateDataKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},EncryptionContext:{shape:"Sk"},NumberOfBytes:{type:"integer"},KeySpec:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},Plaintext:{shape:"S1q"},KeyId:{}}}},GenerateDataKeyPair:{input:{type:"structure",required:["KeyId","KeyPairSpec"],members:{EncryptionContext:{shape:"Sk"},KeyId:{},KeyPairSpec:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{PrivateKeyCiphertextBlob:{type:"blob"},PrivateKeyPlaintext:{shape:"S1q"},PublicKey:{type:"blob"},KeyId:{},KeyPairSpec:{}}}},GenerateDataKeyPairWithoutPlaintext:{input:{type:"structure",required:["KeyId","KeyPairSpec"],members:{EncryptionContext:{shape:"Sk"},KeyId:{},KeyPairSpec:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{PrivateKeyCiphertextBlob:{type:"blob"},PublicKey:{type:"blob"},KeyId:{},KeyPairSpec:{}}}},GenerateDataKeyWithoutPlaintext:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},EncryptionContext:{shape:"Sk"},KeySpec:{},NumberOfBytes:{type:"integer"},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},KeyId:{}}}},GenerateRandom:{input:{type:"structure",members:{NumberOfBytes:{type:"integer"},CustomKeyStoreId:{}}},output:{type:"structure",members:{Plaintext:{shape:"S1q"}}}},GetKeyPolicy:{input:{type:"structure",required:["KeyId","PolicyName"],members:{KeyId:{},PolicyName:{}}},output:{type:"structure",members:{Policy:{}}}},GetKeyRotationStatus:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},output:{type:"structure",members:{KeyRotationEnabled:{type:"boolean"}}}},GetParametersForImport:{input:{type:"structure",required:["KeyId","WrappingAlgorithm","WrappingKeySpec"],members:{KeyId:{},WrappingAlgorithm:{},WrappingKeySpec:{}}},output:{type:"structure",members:{KeyId:{},ImportToken:{type:"blob"},PublicKey:{shape:"S1q"},ParametersValidTo:{type:"timestamp"}}}},GetPublicKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{KeyId:{},PublicKey:{type:"blob"},CustomerMasterKeySpec:{shape:"Sw",deprecated:!0,deprecatedMessage:"This field has been deprecated. Instead, use the KeySpec field."},KeySpec:{},KeyUsage:{},EncryptionAlgorithms:{shape:"S1d"},SigningAlgorithms:{shape:"S1f"}}}},ImportKeyMaterial:{input:{type:"structure",required:["KeyId","ImportToken","EncryptedKeyMaterial"],members:{KeyId:{},ImportToken:{type:"blob"},EncryptedKeyMaterial:{type:"blob"},ValidTo:{type:"timestamp"},ExpirationModel:{}}},output:{type:"structure",members:{}}},ListAliases:{input:{type:"structure",members:{KeyId:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Aliases:{type:"list",member:{type:"structure",members:{AliasName:{},AliasArn:{},TargetKeyId:{},CreationDate:{type:"timestamp"},LastUpdatedDate:{type:"timestamp"}}}},NextMarker:{},Truncated:{type:"boolean"}}}},ListGrants:{input:{type:"structure",required:["KeyId"],members:{Limit:{type:"integer"},Marker:{},KeyId:{},GrantId:{},GranteePrincipal:{}}},output:{shape:"S39"}},ListKeyPolicies:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{PolicyNames:{type:"list",member:{}},NextMarker:{},Truncated:{type:"boolean"}}}},ListKeys:{input:{type:"structure",members:{Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Keys:{type:"list",member:{type:"structure",members:{KeyId:{},KeyArn:{}}}},NextMarker:{},Truncated:{type:"boolean"}}}},ListResourceTags:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Tags:{shape:"S10"},NextMarker:{},Truncated:{type:"boolean"}}}},ListRetirableGrants:{input:{type:"structure",required:["RetiringPrincipal"],members:{Limit:{type:"integer"},Marker:{},RetiringPrincipal:{}}},output:{shape:"S39"}},PutKeyPolicy:{input:{type:"structure",required:["KeyId","PolicyName","Policy"],members:{KeyId:{},PolicyName:{},Policy:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"}}}},ReEncrypt:{input:{type:"structure",required:["CiphertextBlob","DestinationKeyId"],members:{CiphertextBlob:{type:"blob"},SourceEncryptionContext:{shape:"Sk"},SourceKeyId:{},DestinationKeyId:{},DestinationEncryptionContext:{shape:"Sk"},SourceEncryptionAlgorithm:{},DestinationEncryptionAlgorithm:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},SourceKeyId:{},KeyId:{},SourceEncryptionAlgorithm:{},DestinationEncryptionAlgorithm:{}}}},ReplicateKey:{input:{type:"structure",required:["KeyId","ReplicaRegion"],members:{KeyId:{},ReplicaRegion:{},Policy:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"},Description:{},Tags:{shape:"S10"}}},output:{type:"structure",members:{ReplicaKeyMetadata:{shape:"S16"},ReplicaPolicy:{},ReplicaTags:{shape:"S10"}}}},RetireGrant:{input:{type:"structure",members:{GrantToken:{},KeyId:{},GrantId:{}}}},RevokeGrant:{input:{type:"structure",required:["KeyId","GrantId"],members:{KeyId:{},GrantId:{}}}},ScheduleKeyDeletion:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},PendingWindowInDays:{type:"integer"}}},output:{type:"structure",members:{KeyId:{},DeletionDate:{type:"timestamp"},KeyState:{},PendingWindowInDays:{type:"integer"}}}},Sign:{input:{type:"structure",required:["KeyId","Message","SigningAlgorithm"],members:{KeyId:{},Message:{shape:"S1q"},MessageType:{},GrantTokens:{shape:"Sn"},SigningAlgorithm:{}}},output:{type:"structure",members:{KeyId:{},Signature:{type:"blob"},SigningAlgorithm:{}}}},TagResource:{input:{type:"structure",required:["KeyId","Tags"],members:{KeyId:{},Tags:{shape:"S10"}}}},UntagResource:{input:{type:"structure",required:["KeyId","TagKeys"],members:{KeyId:{},TagKeys:{type:"list",member:{}}}}},UpdateAlias:{input:{type:"structure",required:["AliasName","TargetKeyId"],members:{AliasName:{},TargetKeyId:{}}}},UpdateCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreId"],members:{CustomKeyStoreId:{},NewCustomKeyStoreName:{},KeyStorePassword:{shape:"Sd"},CloudHsmClusterId:{}}},output:{type:"structure",members:{}}},UpdateKeyDescription:{input:{type:"structure",required:["KeyId","Description"],members:{KeyId:{},Description:{}}}},UpdatePrimaryRegion:{input:{type:"structure",required:["KeyId","PrimaryRegion"],members:{KeyId:{},PrimaryRegion:{}}}},Verify:{input:{type:"structure",required:["KeyId","Message","Signature","SigningAlgorithm"],members:{KeyId:{},Message:{shape:"S1q"},MessageType:{},Signature:{type:"blob"},SigningAlgorithm:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{KeyId:{},SignatureValid:{type:"boolean"},SigningAlgorithm:{}}}}},shapes:{Sd:{type:"string",sensitive:!0},Sh:{type:"list",member:{}},Sj:{type:"structure",members:{EncryptionContextSubset:{shape:"Sk"},EncryptionContextEquals:{shape:"Sk"}}},Sk:{type:"map",key:{},value:{}},Sn:{type:"list",member:{}},Sw:{type:"string",deprecated:!0,deprecatedMessage:"This enum has been deprecated. Instead, use the KeySpec enum."},S10:{type:"list",member:{type:"structure",required:["TagKey","TagValue"],members:{TagKey:{},TagValue:{}}}},S16:{type:"structure",required:["KeyId"],members:{AWSAccountId:{},KeyId:{},Arn:{},CreationDate:{type:"timestamp"},Enabled:{type:"boolean"},Description:{},KeyUsage:{},KeyState:{},DeletionDate:{type:"timestamp"},ValidTo:{type:"timestamp"},Origin:{},CustomKeyStoreId:{},CloudHsmClusterId:{},ExpirationModel:{},KeyManager:{},CustomerMasterKeySpec:{shape:"Sw",deprecated:!0,deprecatedMessage:"This field has been deprecated. Instead, use the KeySpec field."},KeySpec:{},EncryptionAlgorithms:{shape:"S1d"},SigningAlgorithms:{shape:"S1f"},MultiRegion:{type:"boolean"},MultiRegionConfiguration:{type:"structure",members:{MultiRegionKeyType:{},PrimaryKey:{shape:"S1j"},ReplicaKeys:{type:"list",member:{shape:"S1j"}}}},PendingDeletionWindowInDays:{type:"integer"}}},S1d:{type:"list",member:{}},S1f:{type:"list",member:{}},S1j:{type:"structure",members:{Arn:{},Region:{}}},S1q:{type:"blob",sensitive:!0},S39:{type:"structure",members:{Grants:{type:"list",member:{type:"structure",members:{KeyId:{},GrantId:{},Name:{},CreationDate:{type:"timestamp"},GranteePrincipal:{},RetiringPrincipal:{},IssuingAccount:{},Operations:{shape:"Sh"},Constraints:{shape:"Sj"}}}},NextMarker:{},Truncated:{type:"boolean"}}}}}},{}],144:[function(e,t,r){t.exports={pagination:{ListAliases:{input_token:"Marker",limit_key:"Limit",more_results:"Truncated",output_token:"NextMarker",result_key:"Aliases"},ListGrants:{input_token:"Marker",limit_key:"Limit",more_results:"Truncated",output_token:"NextMarker",result_key:"Grants"},ListKeyPolicies:{input_token:"Marker",limit_key:"Limit",more_results:"Truncated",output_token:"NextMarker",result_key:"PolicyNames"},ListKeys:{input_token:"Marker",limit_key:"Limit",more_results:"Truncated",output_token:"NextMarker",result_key:"Keys"}}}},{}],145:[function(e,t,r){t.exports={metadata:{apiVersion:"2014-11-11",endpointPrefix:"lambda",serviceFullName:"AWS Lambda",serviceId:"Lambda",signatureVersion:"v4",protocol:"rest-json"},operations:{AddEventSource:{http:{requestUri:"/2014-11-13/event-source-mappings/"},input:{type:"structure",required:["EventSource","FunctionName","Role"],members:{EventSource:{},FunctionName:{},Role:{},BatchSize:{type:"integer"},Parameters:{shape:"S6"}}},output:{shape:"S7"}},DeleteFunction:{http:{method:"DELETE",requestUri:"/2014-11-13/functions/{FunctionName}",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}}},GetEventSource:{http:{method:"GET",requestUri:"/2014-11-13/event-source-mappings/{UUID}",responseCode:200},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}},output:{shape:"S7"}},GetFunction:{http:{method:"GET",requestUri:"/2014-11-13/functions/{FunctionName}",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{type:"structure",members:{Configuration:{shape:"Se"},Code:{type:"structure",members:{RepositoryType:{},Location:{}}}}}},GetFunctionConfiguration:{http:{method:"GET",requestUri:"/2014-11-13/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{shape:"Se"}},InvokeAsync:{http:{requestUri:"/2014-11-13/functions/{FunctionName}/invoke-async/",responseCode:202},input:{type:"structure",required:["FunctionName","InvokeArgs"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvokeArgs:{shape:"Sq"}},payload:"InvokeArgs"},output:{type:"structure",members:{Status:{location:"statusCode",type:"integer"}}}},ListEventSources:{http:{method:"GET",requestUri:"/2014-11-13/event-source-mappings/",responseCode:200},input:{type:"structure",members:{EventSourceArn:{location:"querystring",locationName:"EventSource"},FunctionName:{location:"querystring",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},EventSources:{type:"list",member:{shape:"S7"}}}}},ListFunctions:{http:{method:"GET",requestUri:"/2014-11-13/functions/",responseCode:200},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Functions:{type:"list",member:{shape:"Se"}}}}},RemoveEventSource:{http:{method:"DELETE",requestUri:"/2014-11-13/event-source-mappings/{UUID}",responseCode:204},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}}},UpdateFunctionConfiguration:{http:{method:"PUT",requestUri:"/2014-11-13/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Role:{location:"querystring",locationName:"Role"},Handler:{location:"querystring",locationName:"Handler"},Description:{location:"querystring",locationName:"Description"},Timeout:{location:"querystring",locationName:"Timeout",type:"integer"},MemorySize:{location:"querystring",locationName:"MemorySize",type:"integer"}}},output:{shape:"Se"}},UploadFunction:{http:{method:"PUT",requestUri:"/2014-11-13/functions/{FunctionName}",responseCode:201},input:{type:"structure",required:["FunctionName","FunctionZip","Runtime","Role","Handler","Mode"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},FunctionZip:{shape:"Sq"},Runtime:{location:"querystring",locationName:"Runtime"},Role:{location:"querystring",locationName:"Role"},Handler:{location:"querystring",locationName:"Handler"},Mode:{location:"querystring",locationName:"Mode"},Description:{location:"querystring",locationName:"Description"},Timeout:{location:"querystring",locationName:"Timeout",type:"integer"},MemorySize:{location:"querystring",locationName:"MemorySize",type:"integer"}},payload:"FunctionZip"},output:{shape:"Se"}}},shapes:{S6:{type:"map",key:{},value:{}},S7:{type:"structure",members:{UUID:{},BatchSize:{type:"integer"},EventSource:{},FunctionName:{},Parameters:{shape:"S6"},Role:{},LastModified:{type:"timestamp"},IsActive:{type:"boolean"},Status:{}}},Se:{type:"structure",members:{FunctionName:{},FunctionARN:{},ConfigurationId:{},Runtime:{},Role:{},Handler:{},Mode:{},CodeSize:{type:"long"},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},LastModified:{type:"timestamp"}}},Sq:{type:"blob",streaming:!0}}}},{}],146:[function(e,t,r){t.exports={pagination:{ListEventSources:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems",result_key:"EventSources"},ListFunctions:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems",result_key:"Functions"}}}},{}],147:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-03-31",endpointPrefix:"lambda",protocol:"rest-json",serviceFullName:"AWS Lambda",serviceId:"Lambda",signatureVersion:"v4",uid:"lambda-2015-03-31"},operations:{AddLayerVersionPermission:{http:{requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy",responseCode:201},input:{type:"structure",required:["LayerName","VersionNumber","StatementId","Action","Principal"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"},StatementId:{},Action:{},Principal:{},OrganizationId:{},RevisionId:{location:"querystring",locationName:"RevisionId"}}},output:{type:"structure",members:{Statement:{},RevisionId:{}}}},AddPermission:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/policy",responseCode:201},input:{type:"structure",required:["FunctionName","StatementId","Action","Principal"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},StatementId:{},Action:{},Principal:{},SourceArn:{},SourceAccount:{},EventSourceToken:{},Qualifier:{location:"querystring",locationName:"Qualifier"},RevisionId:{}}},output:{type:"structure",members:{Statement:{}}}},CreateAlias:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/aliases",responseCode:201},input:{type:"structure",required:["FunctionName","Name","FunctionVersion"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{},FunctionVersion:{},Description:{},RoutingConfig:{shape:"Sn"}}},output:{shape:"Sr"}},CreateCodeSigningConfig:{http:{requestUri:"/2020-04-22/code-signing-configs/",responseCode:201},input:{type:"structure",required:["AllowedPublishers"],members:{Description:{},AllowedPublishers:{shape:"Su"},CodeSigningPolicies:{shape:"Sw"}}},output:{type:"structure",required:["CodeSigningConfig"],members:{CodeSigningConfig:{shape:"Sz"}}}},CreateEventSourceMapping:{http:{requestUri:"/2015-03-31/event-source-mappings/",responseCode:202},input:{type:"structure",required:["FunctionName"],members:{EventSourceArn:{},FunctionName:{},Enabled:{type:"boolean"},BatchSize:{type:"integer"},FilterCriteria:{shape:"S16"},MaximumBatchingWindowInSeconds:{type:"integer"},ParallelizationFactor:{type:"integer"},StartingPosition:{},StartingPositionTimestamp:{type:"timestamp"},DestinationConfig:{shape:"S1e"},MaximumRecordAgeInSeconds:{type:"integer"},BisectBatchOnFunctionError:{type:"boolean"},MaximumRetryAttempts:{type:"integer"},TumblingWindowInSeconds:{type:"integer"},Topics:{shape:"S1m"},Queues:{shape:"S1o"},SourceAccessConfigurations:{shape:"S1q"},SelfManagedEventSource:{shape:"S1u"},FunctionResponseTypes:{shape:"S1z"}}},output:{shape:"S21"}},CreateFunction:{http:{requestUri:"/2015-03-31/functions",responseCode:201},input:{type:"structure",required:["FunctionName","Role","Code"],members:{FunctionName:{},Runtime:{},Role:{},Handler:{},Code:{type:"structure",members:{ZipFile:{shape:"S27"},S3Bucket:{},S3Key:{},S3ObjectVersion:{},ImageUri:{}}},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},Publish:{type:"boolean"},VpcConfig:{shape:"S2e"},PackageType:{},DeadLetterConfig:{shape:"S2k"},Environment:{shape:"S2m"},KMSKeyArn:{},TracingConfig:{shape:"S2r"},Tags:{shape:"S2t"},Layers:{shape:"S2w"},FileSystemConfigs:{shape:"S2y"},ImageConfig:{shape:"S32"},CodeSigningConfigArn:{},Architectures:{shape:"S35"}}},output:{shape:"S37"}},DeleteAlias:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:204},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"}}}},DeleteCodeSigningConfig:{http:{method:"DELETE",requestUri:"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}",responseCode:204},input:{type:"structure",required:["CodeSigningConfigArn"],members:{CodeSigningConfigArn:{location:"uri",locationName:"CodeSigningConfigArn"}}},output:{type:"structure",members:{}}},DeleteEventSourceMapping:{http:{method:"DELETE",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:202},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}},output:{shape:"S21"}},DeleteFunction:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},DeleteFunctionCodeSigningConfig:{http:{method:"DELETE",requestUri:"/2020-06-30/functions/{FunctionName}/code-signing-config",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}}},DeleteFunctionConcurrency:{http:{method:"DELETE",requestUri:"/2017-10-31/functions/{FunctionName}/concurrency",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}}},DeleteFunctionEventInvokeConfig:{http:{method:"DELETE",requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},DeleteLayerVersion:{http:{method:"DELETE",requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}",responseCode:204},input:{type:"structure",required:["LayerName","VersionNumber"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"}}}},DeleteProvisionedConcurrencyConfig:{http:{method:"DELETE",requestUri:"/2019-09-30/functions/{FunctionName}/provisioned-concurrency",responseCode:204},input:{type:"structure",required:["FunctionName","Qualifier"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},GetAccountSettings:{http:{method:"GET",requestUri:"/2016-08-19/account-settings/",responseCode:200},input:{type:"structure",members:{}},output:{type:"structure",members:{AccountLimit:{type:"structure",members:{TotalCodeSize:{type:"long"},CodeSizeUnzipped:{type:"long"},CodeSizeZipped:{type:"long"},ConcurrentExecutions:{type:"integer"},UnreservedConcurrentExecutions:{type:"integer"}}},AccountUsage:{type:"structure",members:{TotalCodeSize:{type:"long"},FunctionCount:{type:"long"}}}}}},GetAlias:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:200},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"}}},output:{shape:"Sr"}},GetCodeSigningConfig:{http:{method:"GET",requestUri:"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}",responseCode:200},input:{ -type:"structure",required:["CodeSigningConfigArn"],members:{CodeSigningConfigArn:{location:"uri",locationName:"CodeSigningConfigArn"}}},output:{type:"structure",required:["CodeSigningConfig"],members:{CodeSigningConfig:{shape:"Sz"}}}},GetEventSourceMapping:{http:{method:"GET",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:200},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}},output:{shape:"S21"}},GetFunction:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{Configuration:{shape:"S37"},Code:{type:"structure",members:{RepositoryType:{},Location:{},ImageUri:{},ResolvedImageUri:{}}},Tags:{shape:"S2t"},Concurrency:{shape:"S4e"}}}},GetFunctionCodeSigningConfig:{http:{method:"GET",requestUri:"/2020-06-30/functions/{FunctionName}/code-signing-config",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{type:"structure",required:["CodeSigningConfigArn","FunctionName"],members:{CodeSigningConfigArn:{},FunctionName:{}}}},GetFunctionConcurrency:{http:{method:"GET",requestUri:"/2019-09-30/functions/{FunctionName}/concurrency",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{type:"structure",members:{ReservedConcurrentExecutions:{type:"integer"}}}},GetFunctionConfiguration:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{shape:"S37"}},GetFunctionEventInvokeConfig:{http:{method:"GET",requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{shape:"S4m"}},GetLayerVersion:{http:{method:"GET",requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}",responseCode:200},input:{type:"structure",required:["LayerName","VersionNumber"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"}}},output:{shape:"S4q"}},GetLayerVersionByArn:{http:{method:"GET",requestUri:"/2018-10-31/layers?find=LayerVersion",responseCode:200},input:{type:"structure",required:["Arn"],members:{Arn:{location:"querystring",locationName:"Arn"}}},output:{shape:"S4q"}},GetLayerVersionPolicy:{http:{method:"GET",requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy",responseCode:200},input:{type:"structure",required:["LayerName","VersionNumber"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"}}},output:{type:"structure",members:{Policy:{},RevisionId:{}}}},GetPolicy:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/policy",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{Policy:{},RevisionId:{}}}},GetProvisionedConcurrencyConfig:{http:{method:"GET",requestUri:"/2019-09-30/functions/{FunctionName}/provisioned-concurrency",responseCode:200},input:{type:"structure",required:["FunctionName","Qualifier"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{RequestedProvisionedConcurrentExecutions:{type:"integer"},AvailableProvisionedConcurrentExecutions:{type:"integer"},AllocatedProvisionedConcurrentExecutions:{type:"integer"},Status:{},StatusReason:{},LastModified:{}}}},Invoke:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/invocations"},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvocationType:{location:"header",locationName:"X-Amz-Invocation-Type"},LogType:{location:"header",locationName:"X-Amz-Log-Type"},ClientContext:{location:"header",locationName:"X-Amz-Client-Context"},Payload:{shape:"S27"},Qualifier:{location:"querystring",locationName:"Qualifier"}},payload:"Payload"},output:{type:"structure",members:{StatusCode:{location:"statusCode",type:"integer"},FunctionError:{location:"header",locationName:"X-Amz-Function-Error"},LogResult:{location:"header",locationName:"X-Amz-Log-Result"},Payload:{shape:"S27"},ExecutedVersion:{location:"header",locationName:"X-Amz-Executed-Version"}},payload:"Payload"}},InvokeAsync:{http:{requestUri:"/2014-11-13/functions/{FunctionName}/invoke-async/",responseCode:202},input:{type:"structure",required:["FunctionName","InvokeArgs"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvokeArgs:{type:"blob",streaming:!0}},deprecated:!0,payload:"InvokeArgs"},output:{type:"structure",members:{Status:{location:"statusCode",type:"integer"}},deprecated:!0},deprecated:!0},ListAliases:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/aliases",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},FunctionVersion:{location:"querystring",locationName:"FunctionVersion"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Aliases:{type:"list",member:{shape:"Sr"}}}}},ListCodeSigningConfigs:{http:{method:"GET",requestUri:"/2020-04-22/code-signing-configs/",responseCode:200},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},CodeSigningConfigs:{type:"list",member:{shape:"Sz"}}}}},ListEventSourceMappings:{http:{method:"GET",requestUri:"/2015-03-31/event-source-mappings/",responseCode:200},input:{type:"structure",members:{EventSourceArn:{location:"querystring",locationName:"EventSourceArn"},FunctionName:{location:"querystring",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},EventSourceMappings:{type:"list",member:{shape:"S21"}}}}},ListFunctionEventInvokeConfigs:{http:{method:"GET",requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config/list",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{FunctionEventInvokeConfigs:{type:"list",member:{shape:"S4m"}},NextMarker:{}}}},ListFunctions:{http:{method:"GET",requestUri:"/2015-03-31/functions/",responseCode:200},input:{type:"structure",members:{MasterRegion:{location:"querystring",locationName:"MasterRegion"},FunctionVersion:{location:"querystring",locationName:"FunctionVersion"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Functions:{shape:"S5w"}}}},ListFunctionsByCodeSigningConfig:{http:{method:"GET",requestUri:"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions",responseCode:200},input:{type:"structure",required:["CodeSigningConfigArn"],members:{CodeSigningConfigArn:{location:"uri",locationName:"CodeSigningConfigArn"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},FunctionArns:{type:"list",member:{}}}}},ListLayerVersions:{http:{method:"GET",requestUri:"/2018-10-31/layers/{LayerName}/versions",responseCode:200},input:{type:"structure",required:["LayerName"],members:{CompatibleRuntime:{location:"querystring",locationName:"CompatibleRuntime"},LayerName:{location:"uri",locationName:"LayerName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},CompatibleArchitecture:{location:"querystring",locationName:"CompatibleArchitecture"}}},output:{type:"structure",members:{NextMarker:{},LayerVersions:{type:"list",member:{shape:"S64"}}}}},ListLayers:{http:{method:"GET",requestUri:"/2018-10-31/layers",responseCode:200},input:{type:"structure",members:{CompatibleRuntime:{location:"querystring",locationName:"CompatibleRuntime"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},CompatibleArchitecture:{location:"querystring",locationName:"CompatibleArchitecture"}}},output:{type:"structure",members:{NextMarker:{},Layers:{type:"list",member:{type:"structure",members:{LayerName:{},LayerArn:{},LatestMatchingVersion:{shape:"S64"}}}}}}},ListProvisionedConcurrencyConfigs:{http:{method:"GET",requestUri:"/2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{ProvisionedConcurrencyConfigs:{type:"list",member:{type:"structure",members:{FunctionArn:{},RequestedProvisionedConcurrentExecutions:{type:"integer"},AvailableProvisionedConcurrentExecutions:{type:"integer"},AllocatedProvisionedConcurrentExecutions:{type:"integer"},Status:{},StatusReason:{},LastModified:{}}}},NextMarker:{}}}},ListTags:{http:{method:"GET",requestUri:"/2017-03-31/tags/{ARN}"},input:{type:"structure",required:["Resource"],members:{Resource:{location:"uri",locationName:"ARN"}}},output:{type:"structure",members:{Tags:{shape:"S2t"}}}},ListVersionsByFunction:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/versions",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Versions:{shape:"S5w"}}}},PublishLayerVersion:{http:{requestUri:"/2018-10-31/layers/{LayerName}/versions",responseCode:201},input:{type:"structure",required:["LayerName","Content"],members:{LayerName:{location:"uri",locationName:"LayerName"},Description:{},Content:{type:"structure",members:{S3Bucket:{},S3Key:{},S3ObjectVersion:{},ZipFile:{shape:"S27"}}},CompatibleRuntimes:{shape:"S4t"},LicenseInfo:{},CompatibleArchitectures:{shape:"S4v"}}},output:{type:"structure",members:{Content:{shape:"S4r"},LayerArn:{},LayerVersionArn:{},Description:{},CreatedDate:{},Version:{type:"long"},CompatibleRuntimes:{shape:"S4t"},LicenseInfo:{},CompatibleArchitectures:{shape:"S4v"}}}},PublishVersion:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/versions",responseCode:201},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},CodeSha256:{},Description:{},RevisionId:{}}},output:{shape:"S37"}},PutFunctionCodeSigningConfig:{http:{method:"PUT",requestUri:"/2020-06-30/functions/{FunctionName}/code-signing-config",responseCode:200},input:{type:"structure",required:["CodeSigningConfigArn","FunctionName"],members:{CodeSigningConfigArn:{},FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{type:"structure",required:["CodeSigningConfigArn","FunctionName"],members:{CodeSigningConfigArn:{},FunctionName:{}}}},PutFunctionConcurrency:{http:{method:"PUT",requestUri:"/2017-10-31/functions/{FunctionName}/concurrency",responseCode:200},input:{type:"structure",required:["FunctionName","ReservedConcurrentExecutions"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},ReservedConcurrentExecutions:{type:"integer"}}},output:{shape:"S4e"}},PutFunctionEventInvokeConfig:{http:{method:"PUT",requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"},MaximumRetryAttempts:{type:"integer"},MaximumEventAgeInSeconds:{type:"integer"},DestinationConfig:{shape:"S1e"}}},output:{shape:"S4m"}},PutProvisionedConcurrencyConfig:{http:{method:"PUT",requestUri:"/2019-09-30/functions/{FunctionName}/provisioned-concurrency",responseCode:202},input:{type:"structure",required:["FunctionName","Qualifier","ProvisionedConcurrentExecutions"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"},ProvisionedConcurrentExecutions:{type:"integer"}}},output:{type:"structure",members:{RequestedProvisionedConcurrentExecutions:{type:"integer"},AvailableProvisionedConcurrentExecutions:{type:"integer"},AllocatedProvisionedConcurrentExecutions:{type:"integer"},Status:{},StatusReason:{},LastModified:{}}}},RemoveLayerVersionPermission:{http:{method:"DELETE",requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}",responseCode:204},input:{type:"structure",required:["LayerName","VersionNumber","StatementId"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"},StatementId:{location:"uri",locationName:"StatementId"},RevisionId:{location:"querystring",locationName:"RevisionId"}}}},RemovePermission:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}/policy/{StatementId}",responseCode:204},input:{type:"structure",required:["FunctionName","StatementId"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},StatementId:{location:"uri",locationName:"StatementId"},Qualifier:{location:"querystring",locationName:"Qualifier"},RevisionId:{location:"querystring",locationName:"RevisionId"}}}},TagResource:{http:{requestUri:"/2017-03-31/tags/{ARN}",responseCode:204},input:{type:"structure",required:["Resource","Tags"],members:{Resource:{location:"uri",locationName:"ARN"},Tags:{shape:"S2t"}}}},UntagResource:{http:{method:"DELETE",requestUri:"/2017-03-31/tags/{ARN}",responseCode:204},input:{type:"structure",required:["Resource","TagKeys"],members:{Resource:{location:"uri",locationName:"ARN"},TagKeys:{location:"querystring",locationName:"tagKeys",type:"list",member:{}}}}},UpdateAlias:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:200},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"},FunctionVersion:{},Description:{},RoutingConfig:{shape:"Sn"},RevisionId:{}}},output:{shape:"Sr"}},UpdateCodeSigningConfig:{http:{method:"PUT",requestUri:"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}",responseCode:200},input:{type:"structure",required:["CodeSigningConfigArn"],members:{CodeSigningConfigArn:{location:"uri",locationName:"CodeSigningConfigArn"},Description:{},AllowedPublishers:{shape:"Su"},CodeSigningPolicies:{shape:"Sw"}}},output:{type:"structure",required:["CodeSigningConfig"],members:{CodeSigningConfig:{shape:"Sz"}}}},UpdateEventSourceMapping:{http:{method:"PUT",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:202},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"},FunctionName:{},Enabled:{type:"boolean"},BatchSize:{type:"integer"},FilterCriteria:{shape:"S16"},MaximumBatchingWindowInSeconds:{type:"integer"},DestinationConfig:{shape:"S1e"},MaximumRecordAgeInSeconds:{type:"integer"},BisectBatchOnFunctionError:{type:"boolean"},MaximumRetryAttempts:{type:"integer"},ParallelizationFactor:{type:"integer"},SourceAccessConfigurations:{shape:"S1q"},TumblingWindowInSeconds:{type:"integer"},FunctionResponseTypes:{shape:"S1z"}}},output:{shape:"S21"}},UpdateFunctionCode:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/code",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},ZipFile:{shape:"S27"},S3Bucket:{},S3Key:{},S3ObjectVersion:{},ImageUri:{},Publish:{type:"boolean"},DryRun:{type:"boolean"},RevisionId:{},Architectures:{shape:"S35"}}},output:{shape:"S37"}},UpdateFunctionConfiguration:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Role:{},Handler:{},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},VpcConfig:{shape:"S2e"},Environment:{shape:"S2m"},Runtime:{},DeadLetterConfig:{shape:"S2k"},KMSKeyArn:{},TracingConfig:{shape:"S2r"},RevisionId:{},Layers:{shape:"S2w"},FileSystemConfigs:{shape:"S2y"},ImageConfig:{shape:"S32"}}},output:{shape:"S37"}},UpdateFunctionEventInvokeConfig:{http:{requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"},MaximumRetryAttempts:{type:"integer"},MaximumEventAgeInSeconds:{type:"integer"},DestinationConfig:{shape:"S1e"}}},output:{shape:"S4m"}}},shapes:{Sn:{type:"structure",members:{AdditionalVersionWeights:{type:"map",key:{},value:{type:"double"}}}},Sr:{type:"structure",members:{AliasArn:{},Name:{},FunctionVersion:{},Description:{},RoutingConfig:{shape:"Sn"},RevisionId:{}}},Su:{type:"structure",required:["SigningProfileVersionArns"],members:{SigningProfileVersionArns:{type:"list",member:{}}}},Sw:{type:"structure",members:{UntrustedArtifactOnDeployment:{}}},Sz:{type:"structure",required:["CodeSigningConfigId","CodeSigningConfigArn","AllowedPublishers","CodeSigningPolicies","LastModified"],members:{CodeSigningConfigId:{},CodeSigningConfigArn:{},Description:{},AllowedPublishers:{shape:"Su"},CodeSigningPolicies:{shape:"Sw"},LastModified:{}}},S16:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{Pattern:{}}}}}},S1e:{type:"structure",members:{OnSuccess:{type:"structure",members:{Destination:{}}},OnFailure:{type:"structure",members:{Destination:{}}}}},S1m:{type:"list",member:{}},S1o:{type:"list",member:{}},S1q:{type:"list",member:{type:"structure",members:{Type:{},URI:{}}}},S1u:{type:"structure",members:{Endpoints:{type:"map",key:{},value:{type:"list",member:{}}}}},S1z:{type:"list",member:{}},S21:{type:"structure",members:{UUID:{},StartingPosition:{},StartingPositionTimestamp:{type:"timestamp"},BatchSize:{type:"integer"},MaximumBatchingWindowInSeconds:{type:"integer"},ParallelizationFactor:{type:"integer"},EventSourceArn:{},FilterCriteria:{shape:"S16"},FunctionArn:{},LastModified:{type:"timestamp"},LastProcessingResult:{},State:{},StateTransitionReason:{},DestinationConfig:{shape:"S1e"},Topics:{shape:"S1m"},Queues:{shape:"S1o"},SourceAccessConfigurations:{shape:"S1q"},SelfManagedEventSource:{shape:"S1u"},MaximumRecordAgeInSeconds:{type:"integer"},BisectBatchOnFunctionError:{type:"boolean"},MaximumRetryAttempts:{type:"integer"},TumblingWindowInSeconds:{type:"integer"},FunctionResponseTypes:{shape:"S1z"}}},S27:{type:"blob",sensitive:!0},S2e:{type:"structure",members:{SubnetIds:{shape:"S2f"},SecurityGroupIds:{shape:"S2h"}}},S2f:{type:"list",member:{}},S2h:{type:"list",member:{}},S2k:{type:"structure",members:{TargetArn:{}}},S2m:{type:"structure",members:{Variables:{shape:"S2n"}}},S2n:{type:"map",key:{type:"string",sensitive:!0},value:{type:"string",sensitive:!0},sensitive:!0},S2r:{type:"structure",members:{Mode:{}}},S2t:{type:"map",key:{},value:{}},S2w:{type:"list",member:{}},S2y:{type:"list",member:{type:"structure",required:["Arn","LocalMountPath"],members:{Arn:{},LocalMountPath:{}}}},S32:{type:"structure",members:{EntryPoint:{shape:"S33"},Command:{shape:"S33"},WorkingDirectory:{}}},S33:{type:"list",member:{}},S35:{type:"list",member:{}},S37:{type:"structure",members:{FunctionName:{},FunctionArn:{},Runtime:{},Role:{},Handler:{},CodeSize:{type:"long"},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},LastModified:{},CodeSha256:{},Version:{},VpcConfig:{type:"structure",members:{SubnetIds:{shape:"S2f"},SecurityGroupIds:{shape:"S2h"},VpcId:{}}},DeadLetterConfig:{shape:"S2k"},Environment:{type:"structure",members:{Variables:{shape:"S2n"},Error:{type:"structure",members:{ErrorCode:{},Message:{shape:"S3f"}}}}},KMSKeyArn:{},TracingConfig:{type:"structure",members:{Mode:{}}},MasterArn:{},RevisionId:{},Layers:{type:"list",member:{type:"structure",members:{Arn:{},CodeSize:{type:"long"},SigningProfileVersionArn:{},SigningJobArn:{}}}},State:{},StateReason:{},StateReasonCode:{},LastUpdateStatus:{},LastUpdateStatusReason:{},LastUpdateStatusReasonCode:{},FileSystemConfigs:{shape:"S2y"},PackageType:{},ImageConfigResponse:{type:"structure",members:{ImageConfig:{shape:"S32"},Error:{type:"structure",members:{ErrorCode:{},Message:{shape:"S3f"}}}}},SigningProfileVersionArn:{},SigningJobArn:{},Architectures:{shape:"S35"}}},S3f:{type:"string",sensitive:!0},S4e:{type:"structure",members:{ReservedConcurrentExecutions:{type:"integer"}}},S4m:{type:"structure",members:{LastModified:{type:"timestamp"},FunctionArn:{},MaximumRetryAttempts:{type:"integer"},MaximumEventAgeInSeconds:{type:"integer"},DestinationConfig:{shape:"S1e"}}},S4q:{type:"structure",members:{Content:{shape:"S4r"},LayerArn:{},LayerVersionArn:{},Description:{},CreatedDate:{},Version:{type:"long"},CompatibleRuntimes:{shape:"S4t"},LicenseInfo:{},CompatibleArchitectures:{shape:"S4v"}}},S4r:{type:"structure",members:{Location:{},CodeSha256:{},CodeSize:{type:"long"},SigningProfileVersionArn:{},SigningJobArn:{}}},S4t:{type:"list",member:{}},S4v:{type:"list",member:{}},S5w:{type:"list",member:{shape:"S37"}},S64:{type:"structure",members:{LayerVersionArn:{},Version:{type:"long"},Description:{},CreatedDate:{},CompatibleRuntimes:{shape:"S4t"},LicenseInfo:{},CompatibleArchitectures:{shape:"S4v"}}}}}},{}],148:[function(e,t,r){t.exports={pagination:{ListAliases:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"Aliases"},ListCodeSigningConfigs:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"CodeSigningConfigs"},ListEventSourceMappings:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"EventSourceMappings"},ListFunctionEventInvokeConfigs:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"FunctionEventInvokeConfigs"},ListFunctions:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"Functions"},ListFunctionsByCodeSigningConfig:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"FunctionArns"},ListLayerVersions:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"LayerVersions"},ListLayers:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"Layers"},ListProvisionedConcurrencyConfigs:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"ProvisionedConcurrencyConfigs"},ListVersionsByFunction:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"Versions"}}}},{}],149:[function(e,t,r){t.exports={version:2,waiters:{FunctionExists:{delay:1,operation:"GetFunction",maxAttempts:20,acceptors:[{state:"success",matcher:"status",expected:200},{state:"retry",matcher:"error",expected:"ResourceNotFoundException"}]},FunctionActive:{delay:5,maxAttempts:60,operation:"GetFunctionConfiguration",description:"Waits for the function's State to be Active.",acceptors:[{state:"success",matcher:"path",argument:"State",expected:"Active"},{state:"failure",matcher:"path",argument:"State",expected:"Failed"},{state:"retry",matcher:"path",argument:"State",expected:"Pending"}]},FunctionUpdated:{delay:5,maxAttempts:60,operation:"GetFunctionConfiguration",description:"Waits for the function's LastUpdateStatus to be Successful.",acceptors:[{state:"success",matcher:"path",argument:"LastUpdateStatus",expected:"Successful"},{state:"failure",matcher:"path",argument:"LastUpdateStatus",expected:"Failed"},{state:"retry",matcher:"path",argument:"LastUpdateStatus",expected:"InProgress"}]}}}},{}],150:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-04-19",endpointPrefix:"models.lex",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Lex Model Building Service",serviceId:"Lex Model Building Service",signatureVersion:"v4",signingName:"lex",uid:"lex-models-2017-04-19"},operations:{CreateBotVersion:{http:{requestUri:"/bots/{name}/versions",responseCode:201},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},checksum:{}}},output:{type:"structure",members:{name:{},description:{},intents:{shape:"S6"},clarificationPrompt:{shape:"Sa"},abortStatement:{shape:"Si"},status:{},failureReason:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},idleSessionTTLInSeconds:{type:"integer"},voiceId:{},checksum:{},version:{},locale:{},childDirected:{type:"boolean"},enableModelImprovements:{type:"boolean"},detectSentiment:{type:"boolean"}}}},CreateIntentVersion:{http:{requestUri:"/intents/{name}/versions",responseCode:201},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},checksum:{}}},output:{type:"structure",members:{name:{},description:{},slots:{shape:"Sq"},sampleUtterances:{shape:"S13"},confirmationPrompt:{shape:"Sa"},rejectionStatement:{shape:"Si"},followUpPrompt:{shape:"S14"},conclusionStatement:{shape:"Si"},dialogCodeHook:{shape:"S15"},fulfillmentActivity:{shape:"S18"},parentIntentSignature:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},kendraConfiguration:{shape:"S1b"},inputContexts:{shape:"S1f"},outputContexts:{shape:"S1i"}}}},CreateSlotTypeVersion:{http:{requestUri:"/slottypes/{name}/versions",responseCode:201},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},checksum:{}}},output:{type:"structure",members:{name:{},description:{},enumerationValues:{shape:"S1q"},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},valueSelectionStrategy:{},parentSlotTypeSignature:{},slotTypeConfigurations:{shape:"S1v"}}}},DeleteBot:{http:{method:"DELETE",requestUri:"/bots/{name}",responseCode:204},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}}},DeleteBotAlias:{http:{method:"DELETE",requestUri:"/bots/{botName}/aliases/{name}",responseCode:204},input:{type:"structure",required:["name","botName"],members:{name:{location:"uri",locationName:"name"},botName:{location:"uri",locationName:"botName"}}}},DeleteBotChannelAssociation:{http:{method:"DELETE",requestUri:"/bots/{botName}/aliases/{aliasName}/channels/{name}",responseCode:204},input:{type:"structure",required:["name","botName","botAlias"],members:{name:{location:"uri",locationName:"name"},botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"aliasName"}}}},DeleteBotVersion:{http:{method:"DELETE",requestUri:"/bots/{name}/versions/{version}",responseCode:204},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}}},DeleteIntent:{http:{method:"DELETE",requestUri:"/intents/{name}",responseCode:204},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}}},DeleteIntentVersion:{http:{method:"DELETE",requestUri:"/intents/{name}/versions/{version}",responseCode:204},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}}},DeleteSlotType:{http:{method:"DELETE",requestUri:"/slottypes/{name}",responseCode:204},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}}},DeleteSlotTypeVersion:{http:{method:"DELETE",requestUri:"/slottypes/{name}/version/{version}",responseCode:204},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}}},DeleteUtterances:{http:{method:"DELETE",requestUri:"/bots/{botName}/utterances/{userId}",responseCode:204},input:{type:"structure",required:["botName","userId"],members:{botName:{location:"uri",locationName:"botName"},userId:{location:"uri",locationName:"userId"}}}},GetBot:{http:{method:"GET",requestUri:"/bots/{name}/versions/{versionoralias}",responseCode:200},input:{type:"structure",required:["name","versionOrAlias"],members:{name:{location:"uri",locationName:"name"},versionOrAlias:{location:"uri",locationName:"versionoralias"}}},output:{type:"structure",members:{name:{},description:{},intents:{shape:"S6"},enableModelImprovements:{type:"boolean"},nluIntentConfidenceThreshold:{type:"double"},clarificationPrompt:{shape:"Sa"},abortStatement:{shape:"Si"},status:{},failureReason:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},idleSessionTTLInSeconds:{type:"integer"},voiceId:{},checksum:{},version:{},locale:{},childDirected:{type:"boolean"},detectSentiment:{type:"boolean"}}}},GetBotAlias:{http:{method:"GET",requestUri:"/bots/{botName}/aliases/{name}",responseCode:200},input:{type:"structure",required:["name","botName"],members:{name:{location:"uri",locationName:"name"},botName:{location:"uri",locationName:"botName"}}},output:{type:"structure",members:{name:{},description:{},botVersion:{},botName:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},checksum:{},conversationLogs:{shape:"S2h"}}}},GetBotAliases:{http:{method:"GET",requestUri:"/bots/{botName}/aliases/",responseCode:200},input:{type:"structure",required:["botName"],members:{botName:{location:"uri",locationName:"botName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{BotAliases:{type:"list",member:{type:"structure",members:{name:{},description:{},botVersion:{},botName:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},checksum:{},conversationLogs:{shape:"S2h"}}}},nextToken:{}}}},GetBotChannelAssociation:{http:{method:"GET",requestUri:"/bots/{botName}/aliases/{aliasName}/channels/{name}",responseCode:200},input:{type:"structure",required:["name","botName","botAlias"],members:{name:{location:"uri",locationName:"name"},botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"aliasName"}}},output:{type:"structure",members:{name:{},description:{},botAlias:{},botName:{},createdDate:{type:"timestamp"},type:{},botConfiguration:{shape:"S2z"},status:{},failureReason:{}}}},GetBotChannelAssociations:{http:{method:"GET",requestUri:"/bots/{botName}/aliases/{aliasName}/channels/",responseCode:200},input:{type:"structure",required:["botName","botAlias"],members:{botName:{ -location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"aliasName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{botChannelAssociations:{type:"list",member:{type:"structure",members:{name:{},description:{},botAlias:{},botName:{},createdDate:{type:"timestamp"},type:{},botConfiguration:{shape:"S2z"},status:{},failureReason:{}}}},nextToken:{}}}},GetBotVersions:{http:{method:"GET",requestUri:"/bots/{name}/versions/",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{bots:{shape:"S38"},nextToken:{}}}},GetBots:{http:{method:"GET",requestUri:"/bots/",responseCode:200},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{bots:{shape:"S38"},nextToken:{}}}},GetBuiltinIntent:{http:{method:"GET",requestUri:"/builtins/intents/{signature}",responseCode:200},input:{type:"structure",required:["signature"],members:{signature:{location:"uri",locationName:"signature"}}},output:{type:"structure",members:{signature:{},supportedLocales:{shape:"S3e"},slots:{type:"list",member:{type:"structure",members:{name:{}}}}}}},GetBuiltinIntents:{http:{method:"GET",requestUri:"/builtins/intents/",responseCode:200},input:{type:"structure",members:{locale:{location:"querystring",locationName:"locale"},signatureContains:{location:"querystring",locationName:"signatureContains"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{intents:{type:"list",member:{type:"structure",members:{signature:{},supportedLocales:{shape:"S3e"}}}},nextToken:{}}}},GetBuiltinSlotTypes:{http:{method:"GET",requestUri:"/builtins/slottypes/",responseCode:200},input:{type:"structure",members:{locale:{location:"querystring",locationName:"locale"},signatureContains:{location:"querystring",locationName:"signatureContains"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{slotTypes:{type:"list",member:{type:"structure",members:{signature:{},supportedLocales:{shape:"S3e"}}}},nextToken:{}}}},GetExport:{http:{method:"GET",requestUri:"/exports/",responseCode:200},input:{type:"structure",required:["name","version","resourceType","exportType"],members:{name:{location:"querystring",locationName:"name"},version:{location:"querystring",locationName:"version"},resourceType:{location:"querystring",locationName:"resourceType"},exportType:{location:"querystring",locationName:"exportType"}}},output:{type:"structure",members:{name:{},version:{},resourceType:{},exportType:{},exportStatus:{},failureReason:{},url:{}}}},GetImport:{http:{method:"GET",requestUri:"/imports/{importId}",responseCode:200},input:{type:"structure",required:["importId"],members:{importId:{location:"uri",locationName:"importId"}}},output:{type:"structure",members:{name:{},resourceType:{},mergeStrategy:{},importId:{},importStatus:{},failureReason:{type:"list",member:{}},createdDate:{type:"timestamp"}}}},GetIntent:{http:{method:"GET",requestUri:"/intents/{name}/versions/{version}",responseCode:200},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}},output:{type:"structure",members:{name:{},description:{},slots:{shape:"Sq"},sampleUtterances:{shape:"S13"},confirmationPrompt:{shape:"Sa"},rejectionStatement:{shape:"Si"},followUpPrompt:{shape:"S14"},conclusionStatement:{shape:"Si"},dialogCodeHook:{shape:"S15"},fulfillmentActivity:{shape:"S18"},parentIntentSignature:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},kendraConfiguration:{shape:"S1b"},inputContexts:{shape:"S1f"},outputContexts:{shape:"S1i"}}}},GetIntentVersions:{http:{method:"GET",requestUri:"/intents/{name}/versions/",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{intents:{shape:"S45"},nextToken:{}}}},GetIntents:{http:{method:"GET",requestUri:"/intents/",responseCode:200},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{intents:{shape:"S45"},nextToken:{}}}},GetMigration:{http:{method:"GET",requestUri:"/migrations/{migrationId}",responseCode:200},input:{type:"structure",required:["migrationId"],members:{migrationId:{location:"uri",locationName:"migrationId"}}},output:{type:"structure",members:{migrationId:{},v1BotName:{},v1BotVersion:{},v1BotLocale:{},v2BotId:{},v2BotRole:{},migrationStatus:{},migrationStrategy:{},migrationTimestamp:{type:"timestamp"},alerts:{type:"list",member:{type:"structure",members:{type:{},message:{},details:{type:"list",member:{}},referenceURLs:{type:"list",member:{}}}}}}}},GetMigrations:{http:{method:"GET",requestUri:"/migrations",responseCode:200},input:{type:"structure",members:{sortByAttribute:{location:"querystring",locationName:"sortByAttribute"},sortByOrder:{location:"querystring",locationName:"sortByOrder"},v1BotNameContains:{location:"querystring",locationName:"v1BotNameContains"},migrationStatusEquals:{location:"querystring",locationName:"migrationStatusEquals"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{migrationSummaries:{type:"list",member:{type:"structure",members:{migrationId:{},v1BotName:{},v1BotVersion:{},v1BotLocale:{},v2BotId:{},v2BotRole:{},migrationStatus:{},migrationStrategy:{},migrationTimestamp:{type:"timestamp"}}}},nextToken:{}}}},GetSlotType:{http:{method:"GET",requestUri:"/slottypes/{name}/versions/{version}",responseCode:200},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}},output:{type:"structure",members:{name:{},description:{},enumerationValues:{shape:"S1q"},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},valueSelectionStrategy:{},parentSlotTypeSignature:{},slotTypeConfigurations:{shape:"S1v"}}}},GetSlotTypeVersions:{http:{method:"GET",requestUri:"/slottypes/{name}/versions/",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{slotTypes:{shape:"S4x"},nextToken:{}}}},GetSlotTypes:{http:{method:"GET",requestUri:"/slottypes/",responseCode:200},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{slotTypes:{shape:"S4x"},nextToken:{}}}},GetUtterancesView:{http:{method:"GET",requestUri:"/bots/{botname}/utterances?view=aggregation",responseCode:200},input:{type:"structure",required:["botName","botVersions","statusType"],members:{botName:{location:"uri",locationName:"botname"},botVersions:{location:"querystring",locationName:"bot_versions",type:"list",member:{}},statusType:{location:"querystring",locationName:"status_type"}}},output:{type:"structure",members:{botName:{},utterances:{type:"list",member:{type:"structure",members:{botVersion:{},utterances:{type:"list",member:{type:"structure",members:{utteranceString:{},count:{type:"integer"},distinctUsers:{type:"integer"},firstUtteredDate:{type:"timestamp"},lastUtteredDate:{type:"timestamp"}}}}}}}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/tags/{resourceArn}",responseCode:200},input:{type:"structure",required:["resourceArn"],members:{resourceArn:{location:"uri",locationName:"resourceArn"}}},output:{type:"structure",members:{tags:{shape:"S5e"}}}},PutBot:{http:{method:"PUT",requestUri:"/bots/{name}/versions/$LATEST",responseCode:200},input:{type:"structure",required:["name","locale","childDirected"],members:{name:{location:"uri",locationName:"name"},description:{},intents:{shape:"S6"},enableModelImprovements:{type:"boolean"},nluIntentConfidenceThreshold:{type:"double"},clarificationPrompt:{shape:"Sa"},abortStatement:{shape:"Si"},idleSessionTTLInSeconds:{type:"integer"},voiceId:{},checksum:{},processBehavior:{},locale:{},childDirected:{type:"boolean"},detectSentiment:{type:"boolean"},createVersion:{type:"boolean"},tags:{shape:"S5e"}}},output:{type:"structure",members:{name:{},description:{},intents:{shape:"S6"},enableModelImprovements:{type:"boolean"},nluIntentConfidenceThreshold:{type:"double"},clarificationPrompt:{shape:"Sa"},abortStatement:{shape:"Si"},status:{},failureReason:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},idleSessionTTLInSeconds:{type:"integer"},voiceId:{},checksum:{},version:{},locale:{},childDirected:{type:"boolean"},createVersion:{type:"boolean"},detectSentiment:{type:"boolean"},tags:{shape:"S5e"}}}},PutBotAlias:{http:{method:"PUT",requestUri:"/bots/{botName}/aliases/{name}",responseCode:200},input:{type:"structure",required:["name","botVersion","botName"],members:{name:{location:"uri",locationName:"name"},description:{},botVersion:{},botName:{location:"uri",locationName:"botName"},checksum:{},conversationLogs:{type:"structure",required:["logSettings","iamRoleArn"],members:{logSettings:{type:"list",member:{type:"structure",required:["logType","destination","resourceArn"],members:{logType:{},destination:{},kmsKeyArn:{},resourceArn:{}}}},iamRoleArn:{}}},tags:{shape:"S5e"}}},output:{type:"structure",members:{name:{},description:{},botVersion:{},botName:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},checksum:{},conversationLogs:{shape:"S2h"},tags:{shape:"S5e"}}}},PutIntent:{http:{method:"PUT",requestUri:"/intents/{name}/versions/$LATEST",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},description:{},slots:{shape:"Sq"},sampleUtterances:{shape:"S13"},confirmationPrompt:{shape:"Sa"},rejectionStatement:{shape:"Si"},followUpPrompt:{shape:"S14"},conclusionStatement:{shape:"Si"},dialogCodeHook:{shape:"S15"},fulfillmentActivity:{shape:"S18"},parentIntentSignature:{},checksum:{},createVersion:{type:"boolean"},kendraConfiguration:{shape:"S1b"},inputContexts:{shape:"S1f"},outputContexts:{shape:"S1i"}}},output:{type:"structure",members:{name:{},description:{},slots:{shape:"Sq"},sampleUtterances:{shape:"S13"},confirmationPrompt:{shape:"Sa"},rejectionStatement:{shape:"Si"},followUpPrompt:{shape:"S14"},conclusionStatement:{shape:"Si"},dialogCodeHook:{shape:"S15"},fulfillmentActivity:{shape:"S18"},parentIntentSignature:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},createVersion:{type:"boolean"},kendraConfiguration:{shape:"S1b"},inputContexts:{shape:"S1f"},outputContexts:{shape:"S1i"}}}},PutSlotType:{http:{method:"PUT",requestUri:"/slottypes/{name}/versions/$LATEST",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},description:{},enumerationValues:{shape:"S1q"},checksum:{},valueSelectionStrategy:{},createVersion:{type:"boolean"},parentSlotTypeSignature:{},slotTypeConfigurations:{shape:"S1v"}}},output:{type:"structure",members:{name:{},description:{},enumerationValues:{shape:"S1q"},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},valueSelectionStrategy:{},createVersion:{type:"boolean"},parentSlotTypeSignature:{},slotTypeConfigurations:{shape:"S1v"}}}},StartImport:{http:{requestUri:"/imports/",responseCode:201},input:{type:"structure",required:["payload","resourceType","mergeStrategy"],members:{payload:{type:"blob"},resourceType:{},mergeStrategy:{},tags:{shape:"S5e"}}},output:{type:"structure",members:{name:{},resourceType:{},mergeStrategy:{},importId:{},importStatus:{},tags:{shape:"S5e"},createdDate:{type:"timestamp"}}}},StartMigration:{http:{requestUri:"/migrations",responseCode:202},input:{type:"structure",required:["v1BotName","v1BotVersion","v2BotName","v2BotRole","migrationStrategy"],members:{v1BotName:{},v1BotVersion:{},v2BotName:{},v2BotRole:{},migrationStrategy:{}}},output:{type:"structure",members:{v1BotName:{},v1BotVersion:{},v1BotLocale:{},v2BotId:{},v2BotRole:{},migrationId:{},migrationStrategy:{},migrationTimestamp:{type:"timestamp"}}}},TagResource:{http:{requestUri:"/tags/{resourceArn}",responseCode:204},input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{location:"uri",locationName:"resourceArn"},tags:{shape:"S5e"}}},output:{type:"structure",members:{}}},UntagResource:{http:{method:"DELETE",requestUri:"/tags/{resourceArn}",responseCode:204},input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{location:"uri",locationName:"resourceArn"},tagKeys:{location:"querystring",locationName:"tagKeys",type:"list",member:{}}}},output:{type:"structure",members:{}}}},shapes:{S6:{type:"list",member:{type:"structure",required:["intentName","intentVersion"],members:{intentName:{},intentVersion:{}}}},Sa:{type:"structure",required:["messages","maxAttempts"],members:{messages:{shape:"Sb"},maxAttempts:{type:"integer"},responseCard:{}}},Sb:{type:"list",member:{type:"structure",required:["contentType","content"],members:{contentType:{},content:{},groupNumber:{type:"integer"}}}},Si:{type:"structure",required:["messages"],members:{messages:{shape:"Sb"},responseCard:{}}},Sq:{type:"list",member:{type:"structure",required:["name","slotConstraint"],members:{name:{},description:{},slotConstraint:{},slotType:{},slotTypeVersion:{},valueElicitationPrompt:{shape:"Sa"},priority:{type:"integer"},sampleUtterances:{type:"list",member:{}},responseCard:{},obfuscationSetting:{},defaultValueSpec:{type:"structure",required:["defaultValueList"],members:{defaultValueList:{type:"list",member:{type:"structure",required:["defaultValue"],members:{defaultValue:{}}}}}}}}},S13:{type:"list",member:{}},S14:{type:"structure",required:["prompt","rejectionStatement"],members:{prompt:{shape:"Sa"},rejectionStatement:{shape:"Si"}}},S15:{type:"structure",required:["uri","messageVersion"],members:{uri:{},messageVersion:{}}},S18:{type:"structure",required:["type"],members:{type:{},codeHook:{shape:"S15"}}},S1b:{type:"structure",required:["kendraIndex","role"],members:{kendraIndex:{},queryFilterString:{},role:{}}},S1f:{type:"list",member:{type:"structure",required:["name"],members:{name:{}}}},S1i:{type:"list",member:{type:"structure",required:["name","timeToLiveInSeconds","turnsToLive"],members:{name:{},timeToLiveInSeconds:{type:"integer"},turnsToLive:{type:"integer"}}}},S1q:{type:"list",member:{type:"structure",required:["value"],members:{value:{},synonyms:{type:"list",member:{}}}}},S1v:{type:"list",member:{type:"structure",members:{regexConfiguration:{type:"structure",required:["pattern"],members:{pattern:{}}}}}},S2h:{type:"structure",members:{logSettings:{type:"list",member:{type:"structure",members:{logType:{},destination:{},kmsKeyArn:{},resourceArn:{},resourcePrefix:{}}}},iamRoleArn:{}}},S2z:{type:"map",key:{},value:{},sensitive:!0},S38:{type:"list",member:{type:"structure",members:{name:{},description:{},status:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{}}}},S3e:{type:"list",member:{}},S45:{type:"list",member:{type:"structure",members:{name:{},description:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{}}}},S4x:{type:"list",member:{type:"structure",members:{name:{},description:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{}}}},S5e:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}}}}},{}],151:[function(e,t,r){t.exports={pagination:{GetBotAliases:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBotChannelAssociations:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBotVersions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBots:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBuiltinIntents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBuiltinSlotTypes:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetIntentVersions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetIntents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetMigrations:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetSlotTypeVersions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetSlotTypes:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"}}}},{}],152:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2020-11-19",endpointPrefix:"geo",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Location Service",serviceId:"Location",signatureVersion:"v4",signingName:"geo",uid:"location-2020-11-19"},operations:{AssociateTrackerConsumer:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/consumers",responseCode:200},input:{type:"structure",required:["ConsumerArn","TrackerName"],members:{ConsumerArn:{},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"tracking."}},BatchDeleteDevicePositionHistory:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/delete-positions",responseCode:200},input:{type:"structure",required:["DeviceIds","TrackerName"],members:{DeviceIds:{type:"list",member:{}},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["Errors"],members:{Errors:{type:"list",member:{type:"structure",required:["DeviceId","Error"],members:{DeviceId:{},Error:{shape:"Sb"}}}}}},endpoint:{hostPrefix:"tracking."}},BatchDeleteGeofence:{http:{requestUri:"/geofencing/v0/collections/{CollectionName}/delete-geofences",responseCode:200},input:{type:"structure",required:["CollectionName","GeofenceIds"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},GeofenceIds:{type:"list",member:{}}}},output:{type:"structure",required:["Errors"],members:{Errors:{type:"list",member:{type:"structure",required:["Error","GeofenceId"],members:{Error:{shape:"Sb"},GeofenceId:{}}}}}},endpoint:{hostPrefix:"geofencing."}},BatchEvaluateGeofences:{http:{requestUri:"/geofencing/v0/collections/{CollectionName}/positions",responseCode:200},input:{type:"structure",required:["CollectionName","DevicePositionUpdates"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},DevicePositionUpdates:{type:"list",member:{shape:"Sl"}}}},output:{type:"structure",required:["Errors"],members:{Errors:{type:"list",member:{type:"structure",required:["DeviceId","Error","SampleTime"],members:{DeviceId:{},Error:{shape:"Sb"},SampleTime:{shape:"St"}}}}}},endpoint:{hostPrefix:"geofencing."}},BatchGetDevicePosition:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/get-positions",responseCode:200},input:{type:"structure",required:["DeviceIds","TrackerName"],members:{DeviceIds:{type:"list",member:{}},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["DevicePositions","Errors"],members:{DevicePositions:{shape:"S11"},Errors:{type:"list",member:{type:"structure",required:["DeviceId","Error"],members:{DeviceId:{},Error:{shape:"Sb"}}}}}},endpoint:{hostPrefix:"tracking."}},BatchPutGeofence:{http:{requestUri:"/geofencing/v0/collections/{CollectionName}/put-geofences",responseCode:200},input:{type:"structure",required:["CollectionName","Entries"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},Entries:{type:"list",member:{type:"structure",required:["GeofenceId","Geometry"],members:{GeofenceId:{},Geometry:{shape:"S18"}}}}}},output:{type:"structure",required:["Errors","Successes"],members:{Errors:{type:"list",member:{type:"structure",required:["Error","GeofenceId"],members:{Error:{shape:"Sb"},GeofenceId:{}}}},Successes:{type:"list",member:{type:"structure",required:["CreateTime","GeofenceId","UpdateTime"],members:{CreateTime:{shape:"St"},GeofenceId:{},UpdateTime:{shape:"St"}}}}}},endpoint:{hostPrefix:"geofencing."}},BatchUpdateDevicePosition:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/positions",responseCode:200},input:{type:"structure",required:["TrackerName","Updates"],members:{TrackerName:{location:"uri",locationName:"TrackerName"},Updates:{type:"list",member:{shape:"Sl"}}}},output:{type:"structure",required:["Errors"],members:{Errors:{type:"list",member:{type:"structure",required:["DeviceId","Error","SampleTime"],members:{DeviceId:{},Error:{shape:"Sb"},SampleTime:{shape:"St"}}}}}},endpoint:{hostPrefix:"tracking."}},CalculateRoute:{http:{requestUri:"/routes/v0/calculators/{CalculatorName}/calculate/route",responseCode:200},input:{type:"structure",required:["CalculatorName","DeparturePosition","DestinationPosition"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"},CarModeOptions:{type:"structure",members:{AvoidFerries:{type:"boolean"},AvoidTolls:{type:"boolean"}}},DepartNow:{type:"boolean"},DeparturePosition:{shape:"So"},DepartureTime:{shape:"St"},DestinationPosition:{shape:"So"},DistanceUnit:{},IncludeLegGeometry:{type:"boolean"},TravelMode:{},TruckModeOptions:{type:"structure",members:{AvoidFerries:{type:"boolean"},AvoidTolls:{type:"boolean"},Dimensions:{type:"structure",members:{Height:{type:"double"},Length:{type:"double"},Unit:{},Width:{type:"double"}}},Weight:{type:"structure",members:{Total:{type:"double"},Unit:{}}}}},WaypointPositions:{type:"list",member:{shape:"So"}}}},output:{type:"structure",required:["Legs","Summary"],members:{Legs:{type:"list",member:{type:"structure",required:["Distance","DurationSeconds","EndPosition","StartPosition","Steps"],members:{Distance:{type:"double"},DurationSeconds:{type:"double"},EndPosition:{shape:"So"},Geometry:{type:"structure",members:{LineString:{type:"list",member:{shape:"So"}}}},StartPosition:{shape:"So"},Steps:{type:"list",member:{type:"structure",required:["Distance","DurationSeconds","EndPosition","StartPosition"],members:{Distance:{type:"double"},DurationSeconds:{type:"double"},EndPosition:{shape:"So"},GeometryOffset:{type:"integer"},StartPosition:{shape:"So"}}}}}}},Summary:{type:"structure",required:["DataSource","Distance","DistanceUnit","DurationSeconds","RouteBBox"],members:{DataSource:{},Distance:{type:"double"},DistanceUnit:{},DurationSeconds:{type:"double"},RouteBBox:{shape:"S2f"}}}}},endpoint:{hostPrefix:"routes."}},CreateGeofenceCollection:{http:{requestUri:"/geofencing/v0/collections",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{},Description:{},KmsKeyId:{},PricingPlan:{},PricingPlanDataSource:{},Tags:{shape:"S2k"}}},output:{type:"structure",required:["CollectionArn","CollectionName","CreateTime"],members:{CollectionArn:{},CollectionName:{},CreateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."},idempotent:!0},CreateMap:{http:{requestUri:"/maps/v0/maps",responseCode:200},input:{type:"structure",required:["Configuration","MapName"],members:{Configuration:{shape:"S2p"},Description:{},MapName:{},PricingPlan:{},Tags:{shape:"S2k"}}},output:{type:"structure",required:["CreateTime","MapArn","MapName"],members:{CreateTime:{shape:"St"},MapArn:{},MapName:{}}},endpoint:{hostPrefix:"maps."},idempotent:!0},CreatePlaceIndex:{http:{requestUri:"/places/v0/indexes",responseCode:200},input:{type:"structure",required:["DataSource","IndexName"],members:{DataSource:{},DataSourceConfiguration:{shape:"S2t"},Description:{},IndexName:{},PricingPlan:{},Tags:{shape:"S2k"}}},output:{type:"structure",required:["CreateTime","IndexArn","IndexName"],members:{CreateTime:{shape:"St"},IndexArn:{},IndexName:{}}},endpoint:{hostPrefix:"places."},idempotent:!0},CreateRouteCalculator:{http:{requestUri:"/routes/v0/calculators",responseCode:200},input:{type:"structure",required:["CalculatorName","DataSource"],members:{CalculatorName:{},DataSource:{},Description:{},PricingPlan:{},Tags:{shape:"S2k"}}},output:{type:"structure",required:["CalculatorArn","CalculatorName","CreateTime"],members:{CalculatorArn:{},CalculatorName:{},CreateTime:{shape:"St"}}},endpoint:{hostPrefix:"routes."},idempotent:!0},CreateTracker:{http:{requestUri:"/tracking/v0/trackers",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{Description:{},KmsKeyId:{},PositionFiltering:{},PricingPlan:{},PricingPlanDataSource:{},Tags:{shape:"S2k"},TrackerName:{}}},output:{type:"structure",required:["CreateTime","TrackerArn","TrackerName"],members:{CreateTime:{shape:"St"},TrackerArn:{},TrackerName:{}}},endpoint:{hostPrefix:"tracking."},idempotent:!0},DeleteGeofenceCollection:{http:{method:"DELETE",requestUri:"/geofencing/v0/collections/{CollectionName}",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{location:"uri",locationName:"CollectionName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"geofencing."},idempotent:!0},DeleteMap:{http:{method:"DELETE",requestUri:"/maps/v0/maps/{MapName}",responseCode:200},input:{type:"structure",required:["MapName"],members:{MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"maps."},idempotent:!0},DeletePlaceIndex:{http:{method:"DELETE",requestUri:"/places/v0/indexes/{IndexName}",responseCode:200},input:{type:"structure",required:["IndexName"],members:{IndexName:{location:"uri",locationName:"IndexName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"places."},idempotent:!0},DeleteRouteCalculator:{http:{method:"DELETE",requestUri:"/routes/v0/calculators/{CalculatorName}",responseCode:200},input:{type:"structure",required:["CalculatorName"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"routes."},idempotent:!0},DeleteTracker:{http:{method:"DELETE",requestUri:"/tracking/v0/trackers/{TrackerName}",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"tracking."},idempotent:!0},DescribeGeofenceCollection:{http:{method:"GET",requestUri:"/geofencing/v0/collections/{CollectionName}",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{location:"uri",locationName:"CollectionName"}}},output:{type:"structure",required:["CollectionArn","CollectionName","CreateTime","Description","PricingPlan","UpdateTime"],members:{CollectionArn:{},CollectionName:{},CreateTime:{shape:"St"},Description:{},KmsKeyId:{},PricingPlan:{},PricingPlanDataSource:{},Tags:{shape:"S2k"},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."}},DescribeMap:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}",responseCode:200},input:{type:"structure",required:["MapName"],members:{MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",required:["Configuration","CreateTime","DataSource","Description","MapArn","MapName","PricingPlan","UpdateTime"],members:{Configuration:{shape:"S2p"},CreateTime:{shape:"St"},DataSource:{},Description:{},MapArn:{},MapName:{},PricingPlan:{},Tags:{shape:"S2k"},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"maps."}},DescribePlaceIndex:{http:{method:"GET",requestUri:"/places/v0/indexes/{IndexName}",responseCode:200},input:{type:"structure",required:["IndexName"],members:{IndexName:{location:"uri",locationName:"IndexName"}}},output:{type:"structure",required:["CreateTime","DataSource","DataSourceConfiguration","Description","IndexArn","IndexName","PricingPlan","UpdateTime"],members:{CreateTime:{shape:"St"},DataSource:{},DataSourceConfiguration:{shape:"S2t"},Description:{},IndexArn:{},IndexName:{},PricingPlan:{},Tags:{shape:"S2k"},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"places."}},DescribeRouteCalculator:{http:{method:"GET",requestUri:"/routes/v0/calculators/{CalculatorName}",responseCode:200},input:{type:"structure",required:["CalculatorName"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"}}},output:{type:"structure",required:["CalculatorArn","CalculatorName","CreateTime","DataSource","Description","PricingPlan","UpdateTime"],members:{CalculatorArn:{},CalculatorName:{},CreateTime:{shape:"St"},DataSource:{},Description:{},PricingPlan:{},Tags:{shape:"S2k"},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"routes."}},DescribeTracker:{http:{method:"GET",requestUri:"/tracking/v0/trackers/{TrackerName}",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["CreateTime","Description","PricingPlan","TrackerArn","TrackerName","UpdateTime"],members:{CreateTime:{shape:"St"},Description:{},KmsKeyId:{},PositionFiltering:{},PricingPlan:{},PricingPlanDataSource:{},Tags:{shape:"S2k"},TrackerArn:{},TrackerName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"tracking."}},DisassociateTrackerConsumer:{http:{method:"DELETE",requestUri:"/tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}",responseCode:200},input:{type:"structure",required:["ConsumerArn","TrackerName"],members:{ConsumerArn:{location:"uri",locationName:"ConsumerArn"},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"tracking."}},GetDevicePosition:{http:{method:"GET",requestUri:"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest",responseCode:200},input:{type:"structure",required:["DeviceId","TrackerName"],members:{DeviceId:{location:"uri",locationName:"DeviceId"},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["Position","ReceivedTime","SampleTime"],members:{Accuracy:{shape:"Sm"},DeviceId:{},Position:{shape:"So"},PositionProperties:{shape:"Sq"},ReceivedTime:{shape:"St"},SampleTime:{shape:"St"}}},endpoint:{hostPrefix:"tracking."}},GetDevicePositionHistory:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions",responseCode:200},input:{type:"structure",required:["DeviceId","TrackerName"],members:{DeviceId:{location:"uri",locationName:"DeviceId"},EndTimeExclusive:{shape:"St"},NextToken:{},StartTimeInclusive:{shape:"St"},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["DevicePositions"],members:{DevicePositions:{shape:"S11"},NextToken:{}}},endpoint:{hostPrefix:"tracking."}},GetGeofence:{http:{method:"GET",requestUri:"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}",responseCode:200},input:{type:"structure",required:["CollectionName","GeofenceId"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},GeofenceId:{location:"uri",locationName:"GeofenceId"}}},output:{ -type:"structure",required:["CreateTime","GeofenceId","Geometry","Status","UpdateTime"],members:{CreateTime:{shape:"St"},GeofenceId:{},Geometry:{shape:"S18"},Status:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."}},GetMapGlyphs:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}",responseCode:200},input:{type:"structure",required:["FontStack","FontUnicodeRange","MapName"],members:{FontStack:{location:"uri",locationName:"FontStack"},FontUnicodeRange:{location:"uri",locationName:"FontUnicodeRange"},MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",members:{Blob:{type:"blob"},ContentType:{location:"header",locationName:"Content-Type"}},payload:"Blob"},endpoint:{hostPrefix:"maps."}},GetMapSprites:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}/sprites/{FileName}",responseCode:200},input:{type:"structure",required:["FileName","MapName"],members:{FileName:{location:"uri",locationName:"FileName"},MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",members:{Blob:{type:"blob"},ContentType:{location:"header",locationName:"Content-Type"}},payload:"Blob"},endpoint:{hostPrefix:"maps."}},GetMapStyleDescriptor:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}/style-descriptor",responseCode:200},input:{type:"structure",required:["MapName"],members:{MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",members:{Blob:{type:"blob"},ContentType:{location:"header",locationName:"Content-Type"}},payload:"Blob"},endpoint:{hostPrefix:"maps."}},GetMapTile:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y}",responseCode:200},input:{type:"structure",required:["MapName","X","Y","Z"],members:{MapName:{location:"uri",locationName:"MapName"},X:{location:"uri",locationName:"X"},Y:{location:"uri",locationName:"Y"},Z:{location:"uri",locationName:"Z"}}},output:{type:"structure",members:{Blob:{type:"blob"},ContentType:{location:"header",locationName:"Content-Type"}},payload:"Blob"},endpoint:{hostPrefix:"maps."}},ListDevicePositions:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/list-positions",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{MaxResults:{type:"integer"},NextToken:{},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["DeviceId","Position","SampleTime"],members:{Accuracy:{shape:"Sm"},DeviceId:{},Position:{shape:"So"},PositionProperties:{shape:"Sq"},SampleTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"tracking."}},ListGeofenceCollections:{http:{requestUri:"/geofencing/v0/list-collections",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CollectionName","CreateTime","Description","PricingPlan","UpdateTime"],members:{CollectionName:{},CreateTime:{shape:"St"},Description:{},PricingPlan:{},PricingPlanDataSource:{},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"geofencing."}},ListGeofences:{http:{requestUri:"/geofencing/v0/collections/{CollectionName}/list-geofences",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CreateTime","GeofenceId","Geometry","Status","UpdateTime"],members:{CreateTime:{shape:"St"},GeofenceId:{},Geometry:{shape:"S18"},Status:{},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"geofencing."}},ListMaps:{http:{requestUri:"/maps/v0/list-maps",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CreateTime","DataSource","Description","MapName","PricingPlan","UpdateTime"],members:{CreateTime:{shape:"St"},DataSource:{},Description:{},MapName:{},PricingPlan:{},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"maps."}},ListPlaceIndexes:{http:{requestUri:"/places/v0/list-indexes",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CreateTime","DataSource","Description","IndexName","PricingPlan","UpdateTime"],members:{CreateTime:{shape:"St"},DataSource:{},Description:{},IndexName:{},PricingPlan:{},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"places."}},ListRouteCalculators:{http:{requestUri:"/routes/v0/list-calculators",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CalculatorName","CreateTime","DataSource","Description","PricingPlan","UpdateTime"],members:{CalculatorName:{},CreateTime:{shape:"St"},DataSource:{},Description:{},PricingPlan:{},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"routes."}},ListTagsForResource:{http:{method:"GET",requestUri:"/tags/{ResourceArn}",responseCode:200},input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{location:"uri",locationName:"ResourceArn"}}},output:{type:"structure",members:{Tags:{shape:"S2k"}}},endpoint:{hostPrefix:"metadata."}},ListTrackerConsumers:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/list-consumers",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{MaxResults:{type:"integer"},NextToken:{},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["ConsumerArns"],members:{ConsumerArns:{type:"list",member:{}},NextToken:{}}},endpoint:{hostPrefix:"tracking."}},ListTrackers:{http:{requestUri:"/tracking/v0/list-trackers",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CreateTime","Description","PricingPlan","TrackerName","UpdateTime"],members:{CreateTime:{shape:"St"},Description:{},PricingPlan:{},PricingPlanDataSource:{},TrackerName:{},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"tracking."}},PutGeofence:{http:{method:"PUT",requestUri:"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}",responseCode:200},input:{type:"structure",required:["CollectionName","GeofenceId","Geometry"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},GeofenceId:{location:"uri",locationName:"GeofenceId"},Geometry:{shape:"S18"}}},output:{type:"structure",required:["CreateTime","GeofenceId","UpdateTime"],members:{CreateTime:{shape:"St"},GeofenceId:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."}},SearchPlaceIndexForPosition:{http:{requestUri:"/places/v0/indexes/{IndexName}/search/position",responseCode:200},input:{type:"structure",required:["IndexName","Position"],members:{IndexName:{location:"uri",locationName:"IndexName"},Language:{},MaxResults:{type:"integer"},Position:{shape:"So"}}},output:{type:"structure",required:["Results","Summary"],members:{Results:{type:"list",member:{type:"structure",required:["Distance","Place"],members:{Distance:{type:"double"},Place:{shape:"S5l"}}}},Summary:{type:"structure",required:["DataSource","Position"],members:{DataSource:{},Language:{},MaxResults:{type:"integer"},Position:{shape:"So"}}}}},endpoint:{hostPrefix:"places."}},SearchPlaceIndexForSuggestions:{http:{requestUri:"/places/v0/indexes/{IndexName}/search/suggestions",responseCode:200},input:{type:"structure",required:["IndexName","Text"],members:{BiasPosition:{shape:"So"},FilterBBox:{shape:"S2f"},FilterCountries:{shape:"S5r"},IndexName:{location:"uri",locationName:"IndexName"},Language:{},MaxResults:{type:"integer"},Text:{type:"string",sensitive:!0}}},output:{type:"structure",required:["Results","Summary"],members:{Results:{type:"list",member:{type:"structure",required:["Text"],members:{Text:{}}}},Summary:{type:"structure",required:["DataSource","Text"],members:{BiasPosition:{shape:"So"},DataSource:{},FilterBBox:{shape:"S2f"},FilterCountries:{shape:"S5r"},Language:{},MaxResults:{type:"integer"},Text:{type:"string",sensitive:!0}}}}},endpoint:{hostPrefix:"places."}},SearchPlaceIndexForText:{http:{requestUri:"/places/v0/indexes/{IndexName}/search/text",responseCode:200},input:{type:"structure",required:["IndexName","Text"],members:{BiasPosition:{shape:"So"},FilterBBox:{shape:"S2f"},FilterCountries:{shape:"S5r"},IndexName:{location:"uri",locationName:"IndexName"},Language:{},MaxResults:{type:"integer"},Text:{type:"string",sensitive:!0}}},output:{type:"structure",required:["Results","Summary"],members:{Results:{type:"list",member:{type:"structure",required:["Place"],members:{Distance:{type:"double"},Place:{shape:"S5l"},Relevance:{type:"double"}}}},Summary:{type:"structure",required:["DataSource","Text"],members:{BiasPosition:{shape:"So"},DataSource:{},FilterBBox:{shape:"S2f"},FilterCountries:{shape:"S5r"},Language:{},MaxResults:{type:"integer"},ResultBBox:{shape:"S2f"},Text:{type:"string",sensitive:!0}}}}},endpoint:{hostPrefix:"places."}},TagResource:{http:{requestUri:"/tags/{ResourceArn}",responseCode:200},input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{location:"uri",locationName:"ResourceArn"},Tags:{shape:"S2k"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"metadata."}},UntagResource:{http:{method:"DELETE",requestUri:"/tags/{ResourceArn}",responseCode:200},input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{location:"uri",locationName:"ResourceArn"},TagKeys:{location:"querystring",locationName:"tagKeys",type:"list",member:{}}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"metadata."},idempotent:!0},UpdateGeofenceCollection:{http:{method:"PATCH",requestUri:"/geofencing/v0/collections/{CollectionName}",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},Description:{},PricingPlan:{},PricingPlanDataSource:{}}},output:{type:"structure",required:["CollectionArn","CollectionName","UpdateTime"],members:{CollectionArn:{},CollectionName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."},idempotent:!0},UpdateMap:{http:{method:"PATCH",requestUri:"/maps/v0/maps/{MapName}",responseCode:200},input:{type:"structure",required:["MapName"],members:{Description:{},MapName:{location:"uri",locationName:"MapName"},PricingPlan:{}}},output:{type:"structure",required:["MapArn","MapName","UpdateTime"],members:{MapArn:{},MapName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"maps."},idempotent:!0},UpdatePlaceIndex:{http:{method:"PATCH",requestUri:"/places/v0/indexes/{IndexName}",responseCode:200},input:{type:"structure",required:["IndexName"],members:{DataSourceConfiguration:{shape:"S2t"},Description:{},IndexName:{location:"uri",locationName:"IndexName"},PricingPlan:{}}},output:{type:"structure",required:["IndexArn","IndexName","UpdateTime"],members:{IndexArn:{},IndexName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"places."},idempotent:!0},UpdateRouteCalculator:{http:{method:"PATCH",requestUri:"/routes/v0/calculators/{CalculatorName}",responseCode:200},input:{type:"structure",required:["CalculatorName"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"},Description:{},PricingPlan:{}}},output:{type:"structure",required:["CalculatorArn","CalculatorName","UpdateTime"],members:{CalculatorArn:{},CalculatorName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"routes."},idempotent:!0},UpdateTracker:{http:{method:"PATCH",requestUri:"/tracking/v0/trackers/{TrackerName}",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{Description:{},PositionFiltering:{},PricingPlan:{},PricingPlanDataSource:{},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["TrackerArn","TrackerName","UpdateTime"],members:{TrackerArn:{},TrackerName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"tracking."},idempotent:!0}},shapes:{Sb:{type:"structure",members:{Code:{},Message:{}}},Sl:{type:"structure",required:["DeviceId","Position","SampleTime"],members:{Accuracy:{shape:"Sm"},DeviceId:{},Position:{shape:"So"},PositionProperties:{shape:"Sq"},SampleTime:{shape:"St"}}},Sm:{type:"structure",required:["Horizontal"],members:{Horizontal:{type:"double"}}},So:{type:"list",member:{type:"double"},sensitive:!0},Sq:{type:"map",key:{},value:{},sensitive:!0},St:{type:"timestamp",timestampFormat:"iso8601"},S11:{type:"list",member:{type:"structure",required:["Position","ReceivedTime","SampleTime"],members:{Accuracy:{shape:"Sm"},DeviceId:{},Position:{shape:"So"},PositionProperties:{shape:"Sq"},ReceivedTime:{shape:"St"},SampleTime:{shape:"St"}}}},S18:{type:"structure",members:{Polygon:{type:"list",member:{type:"list",member:{shape:"So"}}}}},S2f:{type:"list",member:{type:"double"},sensitive:!0},S2k:{type:"map",key:{},value:{}},S2p:{type:"structure",required:["Style"],members:{Style:{}}},S2t:{type:"structure",members:{IntendedUse:{}}},S5l:{type:"structure",required:["Geometry"],members:{AddressNumber:{},Country:{},Geometry:{type:"structure",members:{Point:{shape:"So"}}},Interpolated:{type:"boolean"},Label:{},Municipality:{},Neighborhood:{},PostalCode:{},Region:{},Street:{},SubRegion:{},TimeZone:{type:"structure",required:["Name"],members:{Name:{},Offset:{type:"integer"}}}}},S5r:{type:"list",member:{}}}}},{}],153:[function(e,t,r){t.exports={pagination:{GetDevicePositionHistory:{input_token:"NextToken",output_token:"NextToken",result_key:"DevicePositions"},ListDevicePositions:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListGeofenceCollections:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListGeofences:{input_token:"NextToken",output_token:"NextToken",result_key:"Entries"},ListMaps:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListPlaceIndexes:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListRouteCalculators:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListTrackerConsumers:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"ConsumerArns"},ListTrackers:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"}}}},{}],154:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-03-28",endpointPrefix:"logs",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon CloudWatch Logs",serviceId:"CloudWatch Logs",signatureVersion:"v4",targetPrefix:"Logs_20140328",uid:"logs-2014-03-28"},operations:{AssociateKmsKey:{input:{type:"structure",required:["logGroupName","kmsKeyId"],members:{logGroupName:{},kmsKeyId:{}}}},CancelExportTask:{input:{type:"structure",required:["taskId"],members:{taskId:{}}}},CreateExportTask:{input:{type:"structure",required:["logGroupName","from","to","destination"],members:{taskName:{},logGroupName:{},logStreamNamePrefix:{},from:{type:"long"},to:{type:"long"},destination:{},destinationPrefix:{}}},output:{type:"structure",members:{taskId:{}}}},CreateLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},kmsKeyId:{},tags:{shape:"Se"}}}},CreateLogStream:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{}}}},DeleteDestination:{input:{type:"structure",required:["destinationName"],members:{destinationName:{}}}},DeleteLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},DeleteLogStream:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{}}}},DeleteMetricFilter:{input:{type:"structure",required:["logGroupName","filterName"],members:{logGroupName:{},filterName:{}}}},DeleteQueryDefinition:{input:{type:"structure",required:["queryDefinitionId"],members:{queryDefinitionId:{}}},output:{type:"structure",members:{success:{type:"boolean"}}}},DeleteResourcePolicy:{input:{type:"structure",members:{policyName:{}}}},DeleteRetentionPolicy:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},DeleteSubscriptionFilter:{input:{type:"structure",required:["logGroupName","filterName"],members:{logGroupName:{},filterName:{}}}},DescribeDestinations:{input:{type:"structure",members:{DestinationNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{destinations:{type:"list",member:{shape:"S11"}},nextToken:{}}}},DescribeExportTasks:{input:{type:"structure",members:{taskId:{},statusCode:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{exportTasks:{type:"list",member:{type:"structure",members:{taskId:{},taskName:{},logGroupName:{},from:{type:"long"},to:{type:"long"},destination:{},destinationPrefix:{},status:{type:"structure",members:{code:{},message:{}}},executionInfo:{type:"structure",members:{creationTime:{type:"long"},completionTime:{type:"long"}}}}}},nextToken:{}}}},DescribeLogGroups:{input:{type:"structure",members:{logGroupNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{logGroups:{type:"list",member:{type:"structure",members:{logGroupName:{},creationTime:{type:"long"},retentionInDays:{type:"integer"},metricFilterCount:{type:"integer"},arn:{},storedBytes:{type:"long"},kmsKeyId:{}}}},nextToken:{}}}},DescribeLogStreams:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},logStreamNamePrefix:{},orderBy:{},descending:{type:"boolean"},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{logStreams:{type:"list",member:{type:"structure",members:{logStreamName:{},creationTime:{type:"long"},firstEventTimestamp:{type:"long"},lastEventTimestamp:{type:"long"},lastIngestionTime:{type:"long"},uploadSequenceToken:{},arn:{},storedBytes:{deprecated:!0,deprecatedMessage:"Starting on June 17, 2019, this parameter will be deprecated for log streams, and will be reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.",type:"long"}}}},nextToken:{}}}},DescribeMetricFilters:{input:{type:"structure",members:{logGroupName:{},filterNamePrefix:{},nextToken:{},limit:{type:"integer"},metricName:{},metricNamespace:{}}},output:{type:"structure",members:{metricFilters:{type:"list",member:{type:"structure",members:{filterName:{},filterPattern:{},metricTransformations:{shape:"S1z"},creationTime:{type:"long"},logGroupName:{}}}},nextToken:{}}}},DescribeQueries:{input:{type:"structure",members:{logGroupName:{},status:{},maxResults:{type:"integer"},nextToken:{}}},output:{type:"structure",members:{queries:{type:"list",member:{type:"structure",members:{queryId:{},queryString:{},status:{},createTime:{type:"long"},logGroupName:{}}}},nextToken:{}}}},DescribeQueryDefinitions:{input:{type:"structure",members:{queryDefinitionNamePrefix:{},maxResults:{type:"integer"},nextToken:{}}},output:{type:"structure",members:{queryDefinitions:{type:"list",member:{type:"structure",members:{queryDefinitionId:{},name:{},queryString:{},lastModified:{type:"long"},logGroupNames:{shape:"S2l"}}}},nextToken:{}}}},DescribeResourcePolicies:{input:{type:"structure",members:{nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{resourcePolicies:{type:"list",member:{shape:"S2p"}},nextToken:{}}}},DescribeSubscriptionFilters:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},filterNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{subscriptionFilters:{type:"list",member:{type:"structure",members:{filterName:{},logGroupName:{},filterPattern:{},destinationArn:{},roleArn:{},distribution:{},creationTime:{type:"long"}}}},nextToken:{}}}},DisassociateKmsKey:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},FilterLogEvents:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},logStreamNames:{type:"list",member:{}},logStreamNamePrefix:{},startTime:{type:"long"},endTime:{type:"long"},filterPattern:{},nextToken:{},limit:{type:"integer"},interleaved:{deprecated:!0,deprecatedMessage:"Starting on June 17, 2019, this parameter will be ignored and the value will be assumed to be true. The response from this operation will always interleave events from multiple log streams within a log group.",type:"boolean"}}},output:{type:"structure",members:{events:{type:"list",member:{type:"structure",members:{logStreamName:{},timestamp:{type:"long"},message:{},ingestionTime:{type:"long"},eventId:{}}}},searchedLogStreams:{type:"list",member:{type:"structure",members:{logStreamName:{},searchedCompletely:{type:"boolean"}}}},nextToken:{}}}},GetLogEvents:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{},startTime:{type:"long"},endTime:{type:"long"},nextToken:{},limit:{type:"integer"},startFromHead:{type:"boolean"}}},output:{type:"structure",members:{events:{type:"list",member:{type:"structure",members:{timestamp:{type:"long"},message:{},ingestionTime:{type:"long"}}}},nextForwardToken:{},nextBackwardToken:{}}}},GetLogGroupFields:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},time:{type:"long"}}},output:{type:"structure",members:{logGroupFields:{type:"list",member:{type:"structure",members:{name:{},percent:{type:"integer"}}}}}}},GetLogRecord:{input:{type:"structure",required:["logRecordPointer"],members:{logRecordPointer:{}}},output:{type:"structure",members:{logRecord:{type:"map",key:{},value:{}}}}},GetQueryResults:{input:{type:"structure",required:["queryId"],members:{queryId:{}}},output:{type:"structure",members:{results:{type:"list",member:{type:"list",member:{type:"structure",members:{field:{},value:{}}}}},statistics:{type:"structure",members:{recordsMatched:{type:"double"},recordsScanned:{type:"double"},bytesScanned:{type:"double"}}},status:{}}}},ListTagsLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}},output:{type:"structure",members:{tags:{shape:"Se"}}}},PutDestination:{input:{type:"structure",required:["destinationName","targetArn","roleArn"],members:{destinationName:{},targetArn:{},roleArn:{}}},output:{type:"structure",members:{destination:{shape:"S11"}}}},PutDestinationPolicy:{input:{type:"structure",required:["destinationName","accessPolicy"],members:{destinationName:{},accessPolicy:{},forceUpdate:{type:"boolean"}}}},PutLogEvents:{input:{type:"structure",required:["logGroupName","logStreamName","logEvents"],members:{logGroupName:{},logStreamName:{},logEvents:{type:"list",member:{type:"structure",required:["timestamp","message"],members:{timestamp:{type:"long"},message:{}}}},sequenceToken:{}}},output:{type:"structure",members:{nextSequenceToken:{},rejectedLogEventsInfo:{type:"structure",members:{tooNewLogEventStartIndex:{type:"integer"},tooOldLogEventEndIndex:{type:"integer"},expiredLogEventEndIndex:{type:"integer"}}}}}},PutMetricFilter:{input:{type:"structure",required:["logGroupName","filterName","filterPattern","metricTransformations"],members:{logGroupName:{},filterName:{},filterPattern:{},metricTransformations:{shape:"S1z"}}}},PutQueryDefinition:{input:{type:"structure",required:["name","queryString"],members:{name:{},queryDefinitionId:{},logGroupNames:{shape:"S2l"},queryString:{}}},output:{type:"structure",members:{queryDefinitionId:{}}}},PutResourcePolicy:{input:{type:"structure",members:{policyName:{},policyDocument:{}}},output:{type:"structure",members:{resourcePolicy:{shape:"S2p"}}}},PutRetentionPolicy:{input:{type:"structure",required:["logGroupName","retentionInDays"],members:{logGroupName:{},retentionInDays:{type:"integer"}}}},PutSubscriptionFilter:{input:{type:"structure",required:["logGroupName","filterName","filterPattern","destinationArn"],members:{logGroupName:{},filterName:{},filterPattern:{},destinationArn:{},roleArn:{},distribution:{}}}},StartQuery:{input:{type:"structure",required:["startTime","endTime","queryString"],members:{logGroupName:{},logGroupNames:{shape:"S2l"},startTime:{type:"long"},endTime:{type:"long"},queryString:{},limit:{type:"integer"}}},output:{type:"structure",members:{queryId:{}}}},StopQuery:{input:{type:"structure",required:["queryId"],members:{queryId:{}}},output:{type:"structure",members:{success:{type:"boolean"}}}},TagLogGroup:{input:{type:"structure",required:["logGroupName","tags"],members:{logGroupName:{},tags:{shape:"Se"}}}},TestMetricFilter:{input:{type:"structure",required:["filterPattern","logEventMessages"],members:{filterPattern:{},logEventMessages:{type:"list",member:{}}}},output:{type:"structure",members:{matches:{type:"list",member:{type:"structure",members:{eventNumber:{type:"long"},eventMessage:{},extractedValues:{type:"map",key:{},value:{}}}}}}}},UntagLogGroup:{input:{type:"structure",required:["logGroupName","tags"],members:{logGroupName:{},tags:{type:"list",member:{}}}}}},shapes:{Se:{type:"map",key:{},value:{}},S11:{type:"structure",members:{destinationName:{},targetArn:{},roleArn:{},accessPolicy:{},arn:{},creationTime:{type:"long"}}},S1z:{type:"list",member:{type:"structure",required:["metricName","metricNamespace","metricValue"],members:{metricName:{},metricNamespace:{},metricValue:{},defaultValue:{type:"double"},dimensions:{type:"map",key:{},value:{}},unit:{}}}},S2l:{type:"list",member:{}},S2p:{type:"structure",members:{policyName:{},policyDocument:{},lastUpdatedTime:{type:"long"}}}}}},{}],155:[function(e,t,r){t.exports={pagination:{DescribeDestinations:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"destinations"},DescribeLogGroups:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"logGroups"},DescribeLogStreams:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"logStreams"},DescribeMetricFilters:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"metricFilters"},DescribeSubscriptionFilters:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"subscriptionFilters"},FilterLogEvents:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:["events","searchedLogStreams"]},GetLogEvents:{input_token:"nextToken",limit_key:"limit",output_token:"nextForwardToken",result_key:"events"}}}},{}],156:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-12-12",endpointPrefix:"machinelearning",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Machine Learning",serviceId:"Machine Learning",signatureVersion:"v4",targetPrefix:"AmazonML_20141212",uid:"machinelearning-2014-12-12"},operations:{AddTags:{input:{type:"structure",required:["Tags","ResourceId","ResourceType"],members:{Tags:{shape:"S2"},ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{}}}},CreateBatchPrediction:{input:{type:"structure",required:["BatchPredictionId","MLModelId","BatchPredictionDataSourceId","OutputUri"],members:{BatchPredictionId:{},BatchPredictionName:{},MLModelId:{},BatchPredictionDataSourceId:{},OutputUri:{}}},output:{type:"structure",members:{BatchPredictionId:{}}}},CreateDataSourceFromRDS:{input:{type:"structure",required:["DataSourceId","RDSData","RoleARN"],members:{DataSourceId:{},DataSourceName:{},RDSData:{type:"structure",required:["DatabaseInformation","SelectSqlQuery","DatabaseCredentials","S3StagingLocation","ResourceRole","ServiceRole","SubnetId","SecurityGroupIds"],members:{DatabaseInformation:{shape:"Sf"},SelectSqlQuery:{},DatabaseCredentials:{type:"structure",required:["Username","Password"],members:{Username:{},Password:{}}},S3StagingLocation:{},DataRearrangement:{},DataSchema:{},DataSchemaUri:{},ResourceRole:{},ServiceRole:{},SubnetId:{},SecurityGroupIds:{type:"list",member:{}}}},RoleARN:{},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}}},CreateDataSourceFromRedshift:{input:{type:"structure",required:["DataSourceId","DataSpec","RoleARN"],members:{DataSourceId:{},DataSourceName:{},DataSpec:{type:"structure",required:["DatabaseInformation","SelectSqlQuery","DatabaseCredentials","S3StagingLocation"],members:{DatabaseInformation:{shape:"Sy"},SelectSqlQuery:{},DatabaseCredentials:{type:"structure",required:["Username","Password"],members:{Username:{},Password:{}}},S3StagingLocation:{},DataRearrangement:{},DataSchema:{},DataSchemaUri:{}}},RoleARN:{},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}}},CreateDataSourceFromS3:{input:{type:"structure",required:["DataSourceId","DataSpec"],members:{DataSourceId:{},DataSourceName:{},DataSpec:{type:"structure",required:["DataLocationS3"],members:{DataLocationS3:{},DataRearrangement:{},DataSchema:{},DataSchemaLocationS3:{}}},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}}},CreateEvaluation:{input:{type:"structure",required:["EvaluationId","MLModelId","EvaluationDataSourceId"],members:{EvaluationId:{},EvaluationName:{},MLModelId:{},EvaluationDataSourceId:{}}},output:{type:"structure",members:{EvaluationId:{}}}},CreateMLModel:{input:{type:"structure",required:["MLModelId","MLModelType","TrainingDataSourceId"],members:{MLModelId:{},MLModelName:{},MLModelType:{},Parameters:{shape:"S1d"},TrainingDataSourceId:{},Recipe:{},RecipeUri:{}}},output:{type:"structure",members:{MLModelId:{}}}},CreateRealtimeEndpoint:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{},RealtimeEndpointInfo:{shape:"S1j"}}}},DeleteBatchPrediction:{input:{type:"structure",required:["BatchPredictionId"],members:{BatchPredictionId:{}}},output:{type:"structure",members:{BatchPredictionId:{}}}},DeleteDataSource:{input:{type:"structure",required:["DataSourceId"],members:{DataSourceId:{}}},output:{type:"structure",members:{DataSourceId:{}}}},DeleteEvaluation:{input:{type:"structure",required:["EvaluationId"],members:{EvaluationId:{}}},output:{type:"structure",members:{EvaluationId:{}}}},DeleteMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{}}}},DeleteRealtimeEndpoint:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{},RealtimeEndpointInfo:{shape:"S1j"}}}},DeleteTags:{input:{type:"structure",required:["TagKeys","ResourceId","ResourceType"],members:{TagKeys:{type:"list",member:{}},ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{}}}},DescribeBatchPredictions:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{BatchPredictionId:{},MLModelId:{},BatchPredictionDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},OutputUri:{},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"},TotalRecordCount:{type:"long"},InvalidRecordCount:{type:"long"}}}},NextToken:{}}}},DescribeDataSources:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{DataSourceId:{},DataLocationS3:{}, -DataRearrangement:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},DataSizeInBytes:{type:"long"},NumberOfFiles:{type:"long"},Name:{},Status:{},Message:{},RedshiftMetadata:{shape:"S2i"},RDSMetadata:{shape:"S2j"},RoleARN:{},ComputeStatistics:{type:"boolean"},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"}}}},NextToken:{}}}},DescribeEvaluations:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{EvaluationId:{},MLModelId:{},EvaluationDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},PerformanceMetrics:{shape:"S2q"},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"}}}},NextToken:{}}}},DescribeMLModels:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{MLModelId:{},TrainingDataSourceId:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},SizeInBytes:{type:"long"},EndpointInfo:{shape:"S1j"},TrainingParameters:{shape:"S1d"},InputDataLocationS3:{},Algorithm:{},MLModelType:{},ScoreThreshold:{type:"float"},ScoreThresholdLastUpdatedAt:{type:"timestamp"},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"}}}},NextToken:{}}}},DescribeTags:{input:{type:"structure",required:["ResourceId","ResourceType"],members:{ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{},Tags:{shape:"S2"}}}},GetBatchPrediction:{input:{type:"structure",required:["BatchPredictionId"],members:{BatchPredictionId:{}}},output:{type:"structure",members:{BatchPredictionId:{},MLModelId:{},BatchPredictionDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},OutputUri:{},LogUri:{},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"},TotalRecordCount:{type:"long"},InvalidRecordCount:{type:"long"}}}},GetDataSource:{input:{type:"structure",required:["DataSourceId"],members:{DataSourceId:{},Verbose:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{},DataLocationS3:{},DataRearrangement:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},DataSizeInBytes:{type:"long"},NumberOfFiles:{type:"long"},Name:{},Status:{},LogUri:{},Message:{},RedshiftMetadata:{shape:"S2i"},RDSMetadata:{shape:"S2j"},RoleARN:{},ComputeStatistics:{type:"boolean"},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"},DataSourceSchema:{}}}},GetEvaluation:{input:{type:"structure",required:["EvaluationId"],members:{EvaluationId:{}}},output:{type:"structure",members:{EvaluationId:{},MLModelId:{},EvaluationDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},PerformanceMetrics:{shape:"S2q"},LogUri:{},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"}}}},GetMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{},Verbose:{type:"boolean"}}},output:{type:"structure",members:{MLModelId:{},TrainingDataSourceId:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},SizeInBytes:{type:"long"},EndpointInfo:{shape:"S1j"},TrainingParameters:{shape:"S1d"},InputDataLocationS3:{},MLModelType:{},ScoreThreshold:{type:"float"},ScoreThresholdLastUpdatedAt:{type:"timestamp"},LogUri:{},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"},Recipe:{},Schema:{}}}},Predict:{input:{type:"structure",required:["MLModelId","Record","PredictEndpoint"],members:{MLModelId:{},Record:{type:"map",key:{},value:{}},PredictEndpoint:{}}},output:{type:"structure",members:{Prediction:{type:"structure",members:{predictedLabel:{},predictedValue:{type:"float"},predictedScores:{type:"map",key:{},value:{type:"float"}},details:{type:"map",key:{},value:{}}}}}}},UpdateBatchPrediction:{input:{type:"structure",required:["BatchPredictionId","BatchPredictionName"],members:{BatchPredictionId:{},BatchPredictionName:{}}},output:{type:"structure",members:{BatchPredictionId:{}}}},UpdateDataSource:{input:{type:"structure",required:["DataSourceId","DataSourceName"],members:{DataSourceId:{},DataSourceName:{}}},output:{type:"structure",members:{DataSourceId:{}}}},UpdateEvaluation:{input:{type:"structure",required:["EvaluationId","EvaluationName"],members:{EvaluationId:{},EvaluationName:{}}},output:{type:"structure",members:{EvaluationId:{}}}},UpdateMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{},MLModelName:{},ScoreThreshold:{type:"float"}}},output:{type:"structure",members:{MLModelId:{}}}}},shapes:{S2:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},Sf:{type:"structure",required:["InstanceIdentifier","DatabaseName"],members:{InstanceIdentifier:{},DatabaseName:{}}},Sy:{type:"structure",required:["DatabaseName","ClusterIdentifier"],members:{DatabaseName:{},ClusterIdentifier:{}}},S1d:{type:"map",key:{},value:{}},S1j:{type:"structure",members:{PeakRequestsPerSecond:{type:"integer"},CreatedAt:{type:"timestamp"},EndpointUrl:{},EndpointStatus:{}}},S2i:{type:"structure",members:{RedshiftDatabase:{shape:"Sy"},DatabaseUserName:{},SelectSqlQuery:{}}},S2j:{type:"structure",members:{Database:{shape:"Sf"},DatabaseUserName:{},SelectSqlQuery:{},ResourceRole:{},ServiceRole:{},DataPipelineId:{}}},S2q:{type:"structure",members:{Properties:{type:"map",key:{},value:{}}}}}}},{}],157:[function(e,t,r){t.exports={pagination:{DescribeBatchPredictions:{input_token:"NextToken",limit_key:"Limit",output_token:"NextToken",result_key:"Results"},DescribeDataSources:{input_token:"NextToken",limit_key:"Limit",output_token:"NextToken",result_key:"Results"},DescribeEvaluations:{input_token:"NextToken",limit_key:"Limit",output_token:"NextToken",result_key:"Results"},DescribeMLModels:{input_token:"NextToken",limit_key:"Limit",output_token:"NextToken",result_key:"Results"}}}},{}],158:[function(e,t,r){t.exports={version:2,waiters:{DataSourceAvailable:{delay:30,operation:"DescribeDataSources",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},MLModelAvailable:{delay:30,operation:"DescribeMLModels",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},EvaluationAvailable:{delay:30,operation:"DescribeEvaluations",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},BatchPredictionAvailable:{delay:30,operation:"DescribeBatchPredictions",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]}}}},{}],159:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-07-01",endpointPrefix:"marketplacecommerceanalytics",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Marketplace Commerce Analytics",serviceId:"Marketplace Commerce Analytics",signatureVersion:"v4",signingName:"marketplacecommerceanalytics",targetPrefix:"MarketplaceCommerceAnalytics20150701",uid:"marketplacecommerceanalytics-2015-07-01"},operations:{GenerateDataSet:{input:{type:"structure",required:["dataSetType","dataSetPublicationDate","roleNameArn","destinationS3BucketName","snsTopicArn"],members:{dataSetType:{},dataSetPublicationDate:{type:"timestamp"},roleNameArn:{},destinationS3BucketName:{},destinationS3Prefix:{},snsTopicArn:{},customerDefinedValues:{shape:"S8"}}},output:{type:"structure",members:{dataSetRequestId:{}}}},StartSupportDataExport:{input:{type:"structure",required:["dataSetType","fromDate","roleNameArn","destinationS3BucketName","snsTopicArn"],members:{dataSetType:{},fromDate:{type:"timestamp"},roleNameArn:{},destinationS3BucketName:{},destinationS3Prefix:{},snsTopicArn:{},customerDefinedValues:{shape:"S8"}}},output:{type:"structure",members:{dataSetRequestId:{}}}}},shapes:{S8:{type:"map",key:{},value:{}}}}},{}],160:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],161:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-09-01",endpointPrefix:"data.mediastore",protocol:"rest-json",serviceAbbreviation:"MediaStore Data",serviceFullName:"AWS Elemental MediaStore Data Plane",serviceId:"MediaStore Data",signatureVersion:"v4",signingName:"mediastore",uid:"mediastore-data-2017-09-01"},operations:{DeleteObject:{http:{method:"DELETE",requestUri:"/{Path+}"},input:{type:"structure",required:["Path"],members:{Path:{location:"uri",locationName:"Path"}}},output:{type:"structure",members:{}}},DescribeObject:{http:{method:"HEAD",requestUri:"/{Path+}"},input:{type:"structure",required:["Path"],members:{Path:{location:"uri",locationName:"Path"}}},output:{type:"structure",members:{ETag:{location:"header",locationName:"ETag"},ContentType:{location:"header",locationName:"Content-Type"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},CacheControl:{location:"header",locationName:"Cache-Control"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"}}}},GetObject:{http:{method:"GET",requestUri:"/{Path+}"},input:{type:"structure",required:["Path"],members:{Path:{location:"uri",locationName:"Path"},Range:{location:"header",locationName:"Range"}}},output:{type:"structure",required:["StatusCode"],members:{Body:{shape:"Se"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentRange:{location:"header",locationName:"Content-Range"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentType:{location:"header",locationName:"Content-Type"},ETag:{location:"header",locationName:"ETag"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"},StatusCode:{location:"statusCode",type:"integer"}},payload:"Body"}},ListItems:{http:{method:"GET"},input:{type:"structure",members:{Path:{location:"querystring",locationName:"Path"},MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"},NextToken:{location:"querystring",locationName:"NextToken"}}},output:{type:"structure",members:{Items:{type:"list",member:{type:"structure",members:{Name:{},Type:{},ETag:{},LastModified:{type:"timestamp"},ContentType:{},ContentLength:{type:"long"}}}},NextToken:{}}}},PutObject:{http:{method:"PUT",requestUri:"/{Path+}"},input:{type:"structure",required:["Body","Path"],members:{Body:{shape:"Se"},Path:{location:"uri",locationName:"Path"},ContentType:{location:"header",locationName:"Content-Type"},CacheControl:{location:"header",locationName:"Cache-Control"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},UploadAvailability:{location:"header",locationName:"x-amz-upload-availability"}},payload:"Body"},output:{type:"structure",members:{ContentSHA256:{},ETag:{},StorageClass:{}}},authtype:"v4-unsigned-body"}},shapes:{Se:{type:"blob",streaming:!0}}}},{}],162:[function(e,t,r){t.exports={pagination:{ListItems:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],163:[function(e,t,r){t.exports={acm:{name:"ACM",cors:!0},apigateway:{name:"APIGateway",cors:!0},applicationautoscaling:{prefix:"application-autoscaling",name:"ApplicationAutoScaling",cors:!0},appstream:{name:"AppStream"},autoscaling:{name:"AutoScaling",cors:!0},batch:{name:"Batch"},budgets:{name:"Budgets"},clouddirectory:{name:"CloudDirectory",versions:["2016-05-10*"]},cloudformation:{name:"CloudFormation",cors:!0},cloudfront:{name:"CloudFront",versions:["2013-05-12*","2013-11-11*","2014-05-31*","2014-10-21*","2014-11-06*","2015-04-17*","2015-07-27*","2015-09-17*","2016-01-13*","2016-01-28*","2016-08-01*","2016-08-20*","2016-09-07*","2016-09-29*","2016-11-25*","2017-03-25*","2017-10-30*","2018-06-18*","2018-11-05*","2019-03-26*"],cors:!0},cloudhsm:{name:"CloudHSM",cors:!0},cloudsearch:{name:"CloudSearch"},cloudsearchdomain:{name:"CloudSearchDomain"},cloudtrail:{name:"CloudTrail",cors:!0},cloudwatch:{prefix:"monitoring",name:"CloudWatch",cors:!0},cloudwatchevents:{prefix:"events",name:"CloudWatchEvents",versions:["2014-02-03*"],cors:!0},cloudwatchlogs:{prefix:"logs",name:"CloudWatchLogs",cors:!0},codebuild:{name:"CodeBuild",cors:!0},codecommit:{name:"CodeCommit",cors:!0},codedeploy:{name:"CodeDeploy",cors:!0},codepipeline:{name:"CodePipeline",cors:!0},cognitoidentity:{prefix:"cognito-identity",name:"CognitoIdentity",cors:!0},cognitoidentityserviceprovider:{prefix:"cognito-idp",name:"CognitoIdentityServiceProvider",cors:!0},cognitosync:{prefix:"cognito-sync",name:"CognitoSync",cors:!0},configservice:{prefix:"config",name:"ConfigService",cors:!0},cur:{name:"CUR",cors:!0},datapipeline:{name:"DataPipeline"},devicefarm:{name:"DeviceFarm",cors:!0},directconnect:{name:"DirectConnect",cors:!0},directoryservice:{prefix:"ds",name:"DirectoryService"},discovery:{name:"Discovery"},dms:{name:"DMS"},dynamodb:{name:"DynamoDB",cors:!0},dynamodbstreams:{prefix:"streams.dynamodb",name:"DynamoDBStreams",cors:!0},ec2:{name:"EC2",versions:["2013-06-15*","2013-10-15*","2014-02-01*","2014-05-01*","2014-06-15*","2014-09-01*","2014-10-01*","2015-03-01*","2015-04-15*","2015-10-01*","2016-04-01*","2016-09-15*"],cors:!0},ecr:{name:"ECR",cors:!0},ecs:{name:"ECS",cors:!0},efs:{prefix:"elasticfilesystem",name:"EFS",cors:!0},elasticache:{name:"ElastiCache",versions:["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*"],cors:!0},elasticbeanstalk:{name:"ElasticBeanstalk",cors:!0},elb:{prefix:"elasticloadbalancing",name:"ELB",cors:!0},elbv2:{prefix:"elasticloadbalancingv2",name:"ELBv2",cors:!0},emr:{prefix:"elasticmapreduce",name:"EMR",cors:!0},es:{name:"ES"},elastictranscoder:{name:"ElasticTranscoder",cors:!0},firehose:{name:"Firehose",cors:!0},gamelift:{name:"GameLift",cors:!0},glacier:{name:"Glacier"},health:{name:"Health"},iam:{name:"IAM",cors:!0},importexport:{name:"ImportExport"},inspector:{name:"Inspector",versions:["2015-08-18*"],cors:!0},iot:{name:"Iot",cors:!0},iotdata:{prefix:"iot-data",name:"IotData",cors:!0},kinesis:{name:"Kinesis",cors:!0},kinesisanalytics:{name:"KinesisAnalytics"},kms:{name:"KMS",cors:!0},lambda:{name:"Lambda",cors:!0},lexruntime:{prefix:"runtime.lex",name:"LexRuntime",cors:!0},lightsail:{name:"Lightsail"},machinelearning:{name:"MachineLearning",cors:!0},marketplacecommerceanalytics:{name:"MarketplaceCommerceAnalytics",cors:!0},marketplacemetering:{prefix:"meteringmarketplace",name:"MarketplaceMetering"},mturk:{prefix:"mturk-requester",name:"MTurk",cors:!0},mobileanalytics:{name:"MobileAnalytics",cors:!0},opsworks:{name:"OpsWorks",cors:!0},opsworkscm:{name:"OpsWorksCM"},organizations:{name:"Organizations"},pinpoint:{name:"Pinpoint"},polly:{name:"Polly",cors:!0},rds:{name:"RDS",versions:["2014-09-01*"],cors:!0},redshift:{name:"Redshift",cors:!0},rekognition:{name:"Rekognition",cors:!0},resourcegroupstaggingapi:{name:"ResourceGroupsTaggingAPI"},route53:{name:"Route53",cors:!0},route53domains:{name:"Route53Domains",cors:!0},s3:{name:"S3",dualstackAvailable:!0,cors:!0},s3control:{name:"S3Control",dualstackAvailable:!0,xmlNoDefaultLists:!0},servicecatalog:{name:"ServiceCatalog",cors:!0},ses:{prefix:"email",name:"SES",cors:!0},shield:{name:"Shield"},simpledb:{prefix:"sdb",name:"SimpleDB"},sms:{name:"SMS"},snowball:{name:"Snowball"},sns:{name:"SNS",cors:!0},sqs:{name:"SQS",cors:!0},ssm:{name:"SSM",cors:!0},storagegateway:{name:"StorageGateway",cors:!0},stepfunctions:{prefix:"states",name:"StepFunctions"},sts:{name:"STS",cors:!0},support:{name:"Support"},swf:{name:"SWF"},xray:{name:"XRay",cors:!0},waf:{name:"WAF",cors:!0},wafregional:{prefix:"waf-regional",name:"WAFRegional"},workdocs:{name:"WorkDocs",cors:!0},workspaces:{name:"WorkSpaces"},codestar:{name:"CodeStar"},lexmodelbuildingservice:{prefix:"lex-models",name:"LexModelBuildingService",cors:!0},marketplaceentitlementservice:{prefix:"entitlement.marketplace",name:"MarketplaceEntitlementService"},athena:{name:"Athena",cors:!0},greengrass:{name:"Greengrass"},dax:{name:"DAX"},migrationhub:{prefix:"AWSMigrationHub",name:"MigrationHub"},cloudhsmv2:{name:"CloudHSMV2",cors:!0},glue:{name:"Glue"},mobile:{name:"Mobile"},pricing:{name:"Pricing",cors:!0},costexplorer:{prefix:"ce",name:"CostExplorer",cors:!0},mediaconvert:{name:"MediaConvert"},medialive:{name:"MediaLive"},mediapackage:{name:"MediaPackage"},mediastore:{name:"MediaStore"},mediastoredata:{prefix:"mediastore-data",name:"MediaStoreData",cors:!0},appsync:{name:"AppSync"},guardduty:{name:"GuardDuty"},mq:{name:"MQ"},comprehend:{name:"Comprehend",cors:!0},iotjobsdataplane:{prefix:"iot-jobs-data",name:"IoTJobsDataPlane"},kinesisvideoarchivedmedia:{prefix:"kinesis-video-archived-media",name:"KinesisVideoArchivedMedia",cors:!0},kinesisvideomedia:{prefix:"kinesis-video-media",name:"KinesisVideoMedia",cors:!0},kinesisvideo:{name:"KinesisVideo",cors:!0},sagemakerruntime:{prefix:"runtime.sagemaker",name:"SageMakerRuntime"},sagemaker:{name:"SageMaker"},translate:{name:"Translate",cors:!0},resourcegroups:{prefix:"resource-groups",name:"ResourceGroups",cors:!0},alexaforbusiness:{name:"AlexaForBusiness"},cloud9:{name:"Cloud9"},serverlessapplicationrepository:{prefix:"serverlessrepo",name:"ServerlessApplicationRepository"},servicediscovery:{name:"ServiceDiscovery"},workmail:{name:"WorkMail"},autoscalingplans:{prefix:"autoscaling-plans",name:"AutoScalingPlans"},transcribeservice:{prefix:"transcribe",name:"TranscribeService"},connect:{name:"Connect",cors:!0},acmpca:{prefix:"acm-pca",name:"ACMPCA"},fms:{name:"FMS"},secretsmanager:{name:"SecretsManager",cors:!0},iotanalytics:{name:"IoTAnalytics",cors:!0},iot1clickdevicesservice:{prefix:"iot1click-devices",name:"IoT1ClickDevicesService"},iot1clickprojects:{prefix:"iot1click-projects",name:"IoT1ClickProjects"},pi:{name:"PI"},neptune:{name:"Neptune"},mediatailor:{name:"MediaTailor"},eks:{name:"EKS"},macie:{name:"Macie"},dlm:{name:"DLM"},signer:{name:"Signer"},chime:{name:"Chime"},pinpointemail:{prefix:"pinpoint-email",name:"PinpointEmail"},ram:{name:"RAM"},route53resolver:{name:"Route53Resolver"},pinpointsmsvoice:{prefix:"sms-voice",name:"PinpointSMSVoice"},quicksight:{name:"QuickSight"},rdsdataservice:{prefix:"rds-data",name:"RDSDataService"},amplify:{name:"Amplify"},datasync:{name:"DataSync"},robomaker:{name:"RoboMaker"},transfer:{name:"Transfer"},globalaccelerator:{name:"GlobalAccelerator"},comprehendmedical:{name:"ComprehendMedical",cors:!0},kinesisanalyticsv2:{name:"KinesisAnalyticsV2"},mediaconnect:{name:"MediaConnect"},fsx:{name:"FSx"},securityhub:{name:"SecurityHub"},appmesh:{name:"AppMesh",versions:["2018-10-01*"]},licensemanager:{prefix:"license-manager",name:"LicenseManager"},kafka:{name:"Kafka"},apigatewaymanagementapi:{name:"ApiGatewayManagementApi"},apigatewayv2:{name:"ApiGatewayV2"},docdb:{name:"DocDB"},backup:{name:"Backup"},worklink:{name:"WorkLink"},textract:{name:"Textract"},managedblockchain:{name:"ManagedBlockchain"},mediapackagevod:{prefix:"mediapackage-vod",name:"MediaPackageVod"},groundstation:{name:"GroundStation"},iotthingsgraph:{name:"IoTThingsGraph"},iotevents:{name:"IoTEvents"},ioteventsdata:{prefix:"iotevents-data",name:"IoTEventsData"},personalize:{name:"Personalize",cors:!0},personalizeevents:{prefix:"personalize-events",name:"PersonalizeEvents",cors:!0},personalizeruntime:{prefix:"personalize-runtime",name:"PersonalizeRuntime",cors:!0},applicationinsights:{prefix:"application-insights",name:"ApplicationInsights"},servicequotas:{prefix:"service-quotas",name:"ServiceQuotas"},ec2instanceconnect:{prefix:"ec2-instance-connect",name:"EC2InstanceConnect"},eventbridge:{name:"EventBridge"},lakeformation:{name:"LakeFormation"},forecastservice:{prefix:"forecast",name:"ForecastService",cors:!0},forecastqueryservice:{prefix:"forecastquery",name:"ForecastQueryService",cors:!0},qldb:{name:"QLDB"},qldbsession:{prefix:"qldb-session",name:"QLDBSession"},workmailmessageflow:{name:"WorkMailMessageFlow"},codestarnotifications:{prefix:"codestar-notifications",name:"CodeStarNotifications"},savingsplans:{name:"SavingsPlans"},sso:{name:"SSO"},ssooidc:{prefix:"sso-oidc",name:"SSOOIDC"},marketplacecatalog:{prefix:"marketplace-catalog",name:"MarketplaceCatalog"},dataexchange:{name:"DataExchange"},sesv2:{name:"SESV2"},migrationhubconfig:{prefix:"migrationhub-config",name:"MigrationHubConfig"},connectparticipant:{name:"ConnectParticipant"},appconfig:{name:"AppConfig"},iotsecuretunneling:{name:"IoTSecureTunneling"},wafv2:{name:"WAFV2"},elasticinference:{prefix:"elastic-inference",name:"ElasticInference"},imagebuilder:{name:"Imagebuilder"},schemas:{name:"Schemas"},accessanalyzer:{name:"AccessAnalyzer"},codegurureviewer:{prefix:"codeguru-reviewer",name:"CodeGuruReviewer"},codeguruprofiler:{name:"CodeGuruProfiler"},computeoptimizer:{prefix:"compute-optimizer",name:"ComputeOptimizer"},frauddetector:{name:"FraudDetector"},kendra:{name:"Kendra"},networkmanager:{name:"NetworkManager"},outposts:{name:"Outposts"},augmentedairuntime:{prefix:"sagemaker-a2i-runtime",name:"AugmentedAIRuntime"},ebs:{name:"EBS"},kinesisvideosignalingchannels:{prefix:"kinesis-video-signaling",name:"KinesisVideoSignalingChannels",cors:!0},detective:{name:"Detective"},codestarconnections:{prefix:"codestar-connections",name:"CodeStarconnections"},synthetics:{name:"Synthetics"},iotsitewise:{name:"IoTSiteWise"},macie2:{name:"Macie2"},codeartifact:{name:"CodeArtifact"},honeycode:{name:"Honeycode"},ivs:{name:"IVS"},braket:{name:"Braket"},identitystore:{name:"IdentityStore"},appflow:{name:"Appflow"},redshiftdata:{prefix:"redshift-data",name:"RedshiftData"},ssoadmin:{prefix:"sso-admin",name:"SSOAdmin"},timestreamquery:{prefix:"timestream-query",name:"TimestreamQuery"},timestreamwrite:{prefix:"timestream-write",name:"TimestreamWrite"},s3outposts:{name:"S3Outposts"},databrew:{name:"DataBrew"},servicecatalogappregistry:{prefix:"servicecatalog-appregistry",name:"ServiceCatalogAppRegistry"},networkfirewall:{prefix:"network-firewall",name:"NetworkFirewall"},mwaa:{name:"MWAA"},amplifybackend:{name:"AmplifyBackend"},appintegrations:{name:"AppIntegrations"},connectcontactlens:{prefix:"connect-contact-lens",name:"ConnectContactLens"},devopsguru:{prefix:"devops-guru",name:"DevOpsGuru"},ecrpublic:{prefix:"ecr-public",name:"ECRPUBLIC"},lookoutvision:{name:"LookoutVision"},sagemakerfeaturestoreruntime:{prefix:"sagemaker-featurestore-runtime",name:"SageMakerFeatureStoreRuntime"},customerprofiles:{prefix:"customer-profiles",name:"CustomerProfiles"},auditmanager:{name:"AuditManager"},emrcontainers:{prefix:"emr-containers",name:"EMRcontainers"},healthlake:{name:"HealthLake"},sagemakeredge:{prefix:"sagemaker-edge",name:"SagemakerEdge"},amp:{name:"Amp"},greengrassv2:{name:"GreengrassV2"},iotdeviceadvisor:{name:"IotDeviceAdvisor"},iotfleethub:{name:"IoTFleetHub"},iotwireless:{name:"IoTWireless"},location:{name:"Location",cors:!0},wellarchitected:{name:"WellArchitected"},lexmodelsv2:{prefix:"models.lex.v2",name:"LexModelsV2"},lexruntimev2:{prefix:"runtime.lex.v2",name:"LexRuntimeV2",cors:!0},fis:{name:"Fis"},lookoutmetrics:{name:"LookoutMetrics"},mgn:{name:"Mgn"},lookoutequipment:{name:"LookoutEquipment"},nimble:{name:"Nimble"},finspace:{name:"Finspace"},finspacedata:{prefix:"finspace-data",name:"Finspacedata"},ssmcontacts:{prefix:"ssm-contacts",name:"SSMContacts"},ssmincidents:{prefix:"ssm-incidents",name:"SSMIncidents"},applicationcostprofiler:{name:"ApplicationCostProfiler"},apprunner:{name:"AppRunner"},proton:{name:"Proton"},route53recoverycluster:{prefix:"route53-recovery-cluster",name:"Route53RecoveryCluster"},route53recoverycontrolconfig:{prefix:"route53-recovery-control-config",name:"Route53RecoveryControlConfig"},route53recoveryreadiness:{prefix:"route53-recovery-readiness",name:"Route53RecoveryReadiness"},chimesdkidentity:{prefix:"chime-sdk-identity",name:"ChimeSDKIdentity"},chimesdkmessaging:{prefix:"chime-sdk-messaging",name:"ChimeSDKMessaging"},snowdevicemanagement:{prefix:"snow-device-management",name:"SnowDeviceManagement"},memorydb:{name:"MemoryDB"},opensearch:{name:"OpenSearch"},kafkaconnect:{name:"KafkaConnect"},voiceid:{prefix:"voice-id",name:"VoiceID"},wisdom:{name:"Wisdom"},account:{name:"Account"},cloudcontrol:{name:"CloudControl"},grafana:{name:"Grafana"},panorama:{name:"Panorama"},chimesdkmeetings:{prefix:"chime-sdk-meetings",name:"ChimeSDKMeetings"},resiliencehub:{name:"Resiliencehub"},migrationhubstrategy:{name:"MigrationHubStrategy"},appconfigdata:{name:"AppConfigData"},drs:{name:"Drs"},migrationhubrefactorspaces:{prefix:"migration-hub-refactor-spaces",name:"MigrationHubRefactorSpaces"},evidently:{name:"Evidently"},inspector2:{name:"Inspector2"},rbin:{name:"Rbin"},rum:{name:"RUM"},backupgateway:{prefix:"backup-gateway",name:"BackupGateway"},iottwinmaker:{name:"IoTTwinMaker"},workspacesweb:{prefix:"workspaces-web",name:"WorkSpacesWeb"},amplifyuibuilder:{name:"AmplifyUIBuilder"}}},{}],164:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-06-05",endpointPrefix:"mobileanalytics",serviceFullName:"Amazon Mobile Analytics",serviceId:"Mobile Analytics",signatureVersion:"v4",protocol:"rest-json"},operations:{PutEvents:{http:{requestUri:"/2014-06-05/events",responseCode:202},input:{type:"structure",required:["events","clientContext"],members:{events:{type:"list",member:{type:"structure",required:["eventType","timestamp"],members:{eventType:{},timestamp:{},session:{type:"structure",members:{id:{},duration:{type:"long"},startTimestamp:{},stopTimestamp:{}}},version:{},attributes:{type:"map",key:{},value:{}},metrics:{type:"map",key:{},value:{type:"double"}}}}},clientContext:{location:"header",locationName:"x-amz-Client-Context"},clientContextEncoding:{location:"header",locationName:"x-amz-Client-Context-Encoding"}}}}},shapes:{}}},{}],165:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-08-01",endpointPrefix:"monitoring",protocol:"query",serviceAbbreviation:"CloudWatch",serviceFullName:"Amazon CloudWatch",serviceId:"CloudWatch",signatureVersion:"v4",uid:"monitoring-2010-08-01",xmlNamespace:"http://monitoring.amazonaws.com/doc/2010-08-01/"},operations:{DeleteAlarms:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},DeleteAnomalyDetector:{input:{type:"structure",members:{Namespace:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},MetricName:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Dimensions:{shape:"S7",deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Stat:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},SingleMetricAnomalyDetector:{shape:"Sc"},MetricMathAnomalyDetector:{shape:"Sd"}}},output:{resultWrapper:"DeleteAnomalyDetectorResult",type:"structure",members:{}}},DeleteDashboards:{input:{type:"structure",required:["DashboardNames"],members:{DashboardNames:{type:"list",member:{}}}},output:{resultWrapper:"DeleteDashboardsResult",type:"structure",members:{}}},DeleteInsightRules:{input:{type:"structure",required:["RuleNames"],members:{RuleNames:{shape:"Sw"}}},output:{resultWrapper:"DeleteInsightRulesResult",type:"structure",members:{Failures:{shape:"Sz"}}}},DeleteMetricStream:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{resultWrapper:"DeleteMetricStreamResult",type:"structure",members:{}}},DescribeAlarmHistory:{input:{type:"structure",members:{AlarmName:{},AlarmTypes:{shape:"S19"},HistoryItemType:{},StartDate:{type:"timestamp"},EndDate:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{},ScanBy:{}}},output:{resultWrapper:"DescribeAlarmHistoryResult",type:"structure",members:{AlarmHistoryItems:{type:"list",member:{type:"structure",members:{AlarmName:{},AlarmType:{},Timestamp:{type:"timestamp"},HistoryItemType:{},HistorySummary:{},HistoryData:{}}}},NextToken:{}}}},DescribeAlarms:{input:{type:"structure",members:{AlarmNames:{shape:"S2"},AlarmNamePrefix:{},AlarmTypes:{shape:"S19"},ChildrenOfAlarmName:{},ParentsOfAlarmName:{},StateValue:{},ActionPrefix:{},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeAlarmsResult",type:"structure",members:{CompositeAlarms:{type:"list",member:{type:"structure",members:{ActionsEnabled:{type:"boolean"},AlarmActions:{shape:"S1t"},AlarmArn:{},AlarmConfigurationUpdatedTimestamp:{type:"timestamp"},AlarmDescription:{},AlarmName:{},AlarmRule:{},InsufficientDataActions:{shape:"S1t"},OKActions:{shape:"S1t"},StateReason:{},StateReasonData:{},StateUpdatedTimestamp:{type:"timestamp"},StateValue:{}},xmlOrder:["ActionsEnabled","AlarmActions","AlarmArn","AlarmConfigurationUpdatedTimestamp","AlarmDescription","AlarmName","AlarmRule","InsufficientDataActions","OKActions","StateReason","StateReasonData","StateUpdatedTimestamp","StateValue"]}},MetricAlarms:{shape:"S20"},NextToken:{}}}},DescribeAlarmsForMetric:{input:{type:"structure",required:["MetricName","Namespace"],members:{MetricName:{},Namespace:{},Statistic:{},ExtendedStatistic:{},Dimensions:{shape:"S7"},Period:{type:"integer"},Unit:{}}},output:{resultWrapper:"DescribeAlarmsForMetricResult",type:"structure",members:{MetricAlarms:{shape:"S20"}}}},DescribeAnomalyDetectors:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Namespace:{},MetricName:{},Dimensions:{shape:"S7"},AnomalyDetectorTypes:{type:"list",member:{}}}},output:{resultWrapper:"DescribeAnomalyDetectorsResult",type:"structure",members:{AnomalyDetectors:{type:"list",member:{type:"structure",members:{Namespace:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector.Namespace property."},MetricName:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector.MetricName property."},Dimensions:{shape:"S7",deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector.Dimensions property."},Stat:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector.Stat property."},Configuration:{shape:"S2j"},StateValue:{},SingleMetricAnomalyDetector:{shape:"Sc"},MetricMathAnomalyDetector:{shape:"Sd"}}}},NextToken:{}}}},DescribeInsightRules:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"DescribeInsightRulesResult",type:"structure",members:{NextToken:{},InsightRules:{type:"list",member:{type:"structure",required:["Name","State","Schema","Definition"],members:{Name:{},State:{},Schema:{},Definition:{}}}}}}},DisableAlarmActions:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},DisableInsightRules:{input:{type:"structure",required:["RuleNames"],members:{RuleNames:{shape:"Sw"}}},output:{resultWrapper:"DisableInsightRulesResult",type:"structure",members:{Failures:{shape:"Sz"}}}},EnableAlarmActions:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},EnableInsightRules:{input:{type:"structure",required:["RuleNames"],members:{RuleNames:{shape:"Sw"}}},output:{resultWrapper:"EnableInsightRulesResult",type:"structure",members:{Failures:{shape:"Sz"}}}},GetDashboard:{input:{type:"structure",required:["DashboardName"],members:{DashboardName:{}}},output:{resultWrapper:"GetDashboardResult",type:"structure",members:{DashboardArn:{},DashboardBody:{},DashboardName:{}}}},GetInsightRuleReport:{input:{type:"structure",required:["RuleName","StartTime","EndTime","Period"],members:{RuleName:{},StartTime:{ -type:"timestamp"},EndTime:{type:"timestamp"},Period:{type:"integer"},MaxContributorCount:{type:"integer"},Metrics:{type:"list",member:{}},OrderBy:{}}},output:{resultWrapper:"GetInsightRuleReportResult",type:"structure",members:{KeyLabels:{type:"list",member:{}},AggregationStatistic:{},AggregateValue:{type:"double"},ApproximateUniqueCount:{type:"long"},Contributors:{type:"list",member:{type:"structure",required:["Keys","ApproximateAggregateValue","Datapoints"],members:{Keys:{type:"list",member:{}},ApproximateAggregateValue:{type:"double"},Datapoints:{type:"list",member:{type:"structure",required:["Timestamp","ApproximateValue"],members:{Timestamp:{type:"timestamp"},ApproximateValue:{type:"double"}}}}}}},MetricDatapoints:{type:"list",member:{type:"structure",required:["Timestamp"],members:{Timestamp:{type:"timestamp"},UniqueContributors:{type:"double"},MaxContributorValue:{type:"double"},SampleCount:{type:"double"},Average:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"}}}}}}},GetMetricData:{input:{type:"structure",required:["MetricDataQueries","StartTime","EndTime"],members:{MetricDataQueries:{shape:"Se"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},NextToken:{},ScanBy:{},MaxDatapoints:{type:"integer"},LabelOptions:{type:"structure",members:{Timezone:{}}}}},output:{resultWrapper:"GetMetricDataResult",type:"structure",members:{MetricDataResults:{type:"list",member:{type:"structure",members:{Id:{},Label:{},Timestamps:{type:"list",member:{type:"timestamp"}},Values:{type:"list",member:{type:"double"}},StatusCode:{},Messages:{shape:"S40"}}}},NextToken:{},Messages:{shape:"S40"}}}},GetMetricStatistics:{input:{type:"structure",required:["Namespace","MetricName","StartTime","EndTime","Period"],members:{Namespace:{},MetricName:{},Dimensions:{shape:"S7"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Period:{type:"integer"},Statistics:{type:"list",member:{}},ExtendedStatistics:{type:"list",member:{}},Unit:{}}},output:{resultWrapper:"GetMetricStatisticsResult",type:"structure",members:{Label:{},Datapoints:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},SampleCount:{type:"double"},Average:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"},Unit:{},ExtendedStatistics:{type:"map",key:{},value:{type:"double"}}},xmlOrder:["Timestamp","SampleCount","Average","Sum","Minimum","Maximum","Unit","ExtendedStatistics"]}}}}},GetMetricStream:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{resultWrapper:"GetMetricStreamResult",type:"structure",members:{Arn:{},Name:{},IncludeFilters:{shape:"S4e"},ExcludeFilters:{shape:"S4e"},FirehoseArn:{},RoleArn:{},State:{},CreationDate:{type:"timestamp"},LastUpdateDate:{type:"timestamp"},OutputFormat:{}}}},GetMetricWidgetImage:{input:{type:"structure",required:["MetricWidget"],members:{MetricWidget:{},OutputFormat:{}}},output:{resultWrapper:"GetMetricWidgetImageResult",type:"structure",members:{MetricWidgetImage:{type:"blob"}}}},ListDashboards:{input:{type:"structure",members:{DashboardNamePrefix:{},NextToken:{}}},output:{resultWrapper:"ListDashboardsResult",type:"structure",members:{DashboardEntries:{type:"list",member:{type:"structure",members:{DashboardName:{},DashboardArn:{},LastModified:{type:"timestamp"},Size:{type:"long"}}}},NextToken:{}}}},ListMetricStreams:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListMetricStreamsResult",type:"structure",members:{NextToken:{},Entries:{type:"list",member:{type:"structure",members:{Arn:{},CreationDate:{type:"timestamp"},LastUpdateDate:{type:"timestamp"},Name:{},FirehoseArn:{},State:{},OutputFormat:{}}}}}}},ListMetrics:{input:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Value:{}}}},NextToken:{},RecentlyActive:{}}},output:{resultWrapper:"ListMetricsResult",type:"structure",members:{Metrics:{type:"list",member:{shape:"Si"}},NextToken:{}},xmlOrder:["Metrics","NextToken"]}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{Tags:{shape:"S57"}}}},PutAnomalyDetector:{input:{type:"structure",members:{Namespace:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},MetricName:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Dimensions:{shape:"S7",deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Stat:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Configuration:{shape:"S2j"},SingleMetricAnomalyDetector:{shape:"Sc"},MetricMathAnomalyDetector:{shape:"Sd"}}},output:{resultWrapper:"PutAnomalyDetectorResult",type:"structure",members:{}}},PutCompositeAlarm:{input:{type:"structure",required:["AlarmName","AlarmRule"],members:{ActionsEnabled:{type:"boolean"},AlarmActions:{shape:"S1t"},AlarmDescription:{},AlarmName:{},AlarmRule:{},InsufficientDataActions:{shape:"S1t"},OKActions:{shape:"S1t"},Tags:{shape:"S57"}}}},PutDashboard:{input:{type:"structure",required:["DashboardName","DashboardBody"],members:{DashboardName:{},DashboardBody:{}}},output:{resultWrapper:"PutDashboardResult",type:"structure",members:{DashboardValidationMessages:{type:"list",member:{type:"structure",members:{DataPath:{},Message:{}}}}}}},PutInsightRule:{input:{type:"structure",required:["RuleName","RuleDefinition"],members:{RuleName:{},RuleState:{},RuleDefinition:{},Tags:{shape:"S57"}}},output:{resultWrapper:"PutInsightRuleResult",type:"structure",members:{}}},PutMetricAlarm:{input:{type:"structure",required:["AlarmName","EvaluationPeriods","ComparisonOperator"],members:{AlarmName:{},AlarmDescription:{},ActionsEnabled:{type:"boolean"},OKActions:{shape:"S1t"},AlarmActions:{shape:"S1t"},InsufficientDataActions:{shape:"S1t"},MetricName:{},Namespace:{},Statistic:{},ExtendedStatistic:{},Dimensions:{shape:"S7"},Period:{type:"integer"},Unit:{},EvaluationPeriods:{type:"integer"},DatapointsToAlarm:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{},TreatMissingData:{},EvaluateLowSampleCountPercentile:{},Metrics:{shape:"Se"},Tags:{shape:"S57"},ThresholdMetricId:{}}}},PutMetricData:{input:{type:"structure",required:["Namespace","MetricData"],members:{Namespace:{},MetricData:{type:"list",member:{type:"structure",required:["MetricName"],members:{MetricName:{},Dimensions:{shape:"S7"},Timestamp:{type:"timestamp"},Value:{type:"double"},StatisticValues:{type:"structure",required:["SampleCount","Sum","Minimum","Maximum"],members:{SampleCount:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"}}},Values:{type:"list",member:{type:"double"}},Counts:{type:"list",member:{type:"double"}},Unit:{},StorageResolution:{type:"integer"}}}}}}},PutMetricStream:{input:{type:"structure",required:["Name","FirehoseArn","RoleArn","OutputFormat"],members:{Name:{},IncludeFilters:{shape:"S4e"},ExcludeFilters:{shape:"S4e"},FirehoseArn:{},RoleArn:{},OutputFormat:{},Tags:{shape:"S57"}}},output:{resultWrapper:"PutMetricStreamResult",type:"structure",members:{Arn:{}}}},SetAlarmState:{input:{type:"structure",required:["AlarmName","StateValue","StateReason"],members:{AlarmName:{},StateValue:{},StateReason:{},StateReasonData:{}}}},StartMetricStreams:{input:{type:"structure",required:["Names"],members:{Names:{shape:"S5y"}}},output:{resultWrapper:"StartMetricStreamsResult",type:"structure",members:{}}},StopMetricStreams:{input:{type:"structure",required:["Names"],members:{Names:{shape:"S5y"}}},output:{resultWrapper:"StopMetricStreamsResult",type:"structure",members:{}}},TagResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"S57"}}},output:{resultWrapper:"TagResourceResult",type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{resultWrapper:"UntagResourceResult",type:"structure",members:{}}}},shapes:{S2:{type:"list",member:{}},S7:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}},xmlOrder:["Name","Value"]}},Sc:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{shape:"S7"},Stat:{}}},Sd:{type:"structure",members:{MetricDataQueries:{shape:"Se"}}},Se:{type:"list",member:{type:"structure",required:["Id"],members:{Id:{},MetricStat:{type:"structure",required:["Metric","Period","Stat"],members:{Metric:{shape:"Si"},Period:{type:"integer"},Stat:{},Unit:{}}},Expression:{},Label:{},ReturnData:{type:"boolean"},Period:{type:"integer"},AccountId:{}}}},Si:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{shape:"S7"}},xmlOrder:["Namespace","MetricName","Dimensions"]},Sw:{type:"list",member:{}},Sz:{type:"list",member:{type:"structure",members:{FailureResource:{},ExceptionType:{},FailureCode:{},FailureDescription:{}}}},S19:{type:"list",member:{}},S1t:{type:"list",member:{}},S20:{type:"list",member:{type:"structure",members:{AlarmName:{},AlarmArn:{},AlarmDescription:{},AlarmConfigurationUpdatedTimestamp:{type:"timestamp"},ActionsEnabled:{type:"boolean"},OKActions:{shape:"S1t"},AlarmActions:{shape:"S1t"},InsufficientDataActions:{shape:"S1t"},StateValue:{},StateReason:{},StateReasonData:{},StateUpdatedTimestamp:{type:"timestamp"},MetricName:{},Namespace:{},Statistic:{},ExtendedStatistic:{},Dimensions:{shape:"S7"},Period:{type:"integer"},Unit:{},EvaluationPeriods:{type:"integer"},DatapointsToAlarm:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{},TreatMissingData:{},EvaluateLowSampleCountPercentile:{},Metrics:{shape:"Se"},ThresholdMetricId:{}},xmlOrder:["AlarmName","AlarmArn","AlarmDescription","AlarmConfigurationUpdatedTimestamp","ActionsEnabled","OKActions","AlarmActions","InsufficientDataActions","StateValue","StateReason","StateReasonData","StateUpdatedTimestamp","MetricName","Namespace","Statistic","Dimensions","Period","Unit","EvaluationPeriods","Threshold","ComparisonOperator","ExtendedStatistic","TreatMissingData","EvaluateLowSampleCountPercentile","DatapointsToAlarm","Metrics","ThresholdMetricId"]}},S2j:{type:"structure",members:{ExcludedTimeRanges:{type:"list",member:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}},xmlOrder:["StartTime","EndTime"]}},MetricTimezone:{}}},S40:{type:"list",member:{type:"structure",members:{Code:{},Value:{}}}},S4e:{type:"list",member:{type:"structure",members:{Namespace:{}}}},S57:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S5y:{type:"list",member:{}}}}},{}],166:[function(e,t,r){t.exports={pagination:{DescribeAlarmHistory:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken",result_key:"AlarmHistoryItems"},DescribeAlarms:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken",result_key:["MetricAlarms","CompositeAlarms"]},DescribeAlarmsForMetric:{result_key:"MetricAlarms"},DescribeInsightRules:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetMetricData:{input_token:"NextToken",limit_key:"MaxDatapoints",output_token:"NextToken",result_key:["MetricDataResults","Messages"]},ListDashboards:{input_token:"NextToken",output_token:"NextToken",result_key:"DashboardEntries"},ListMetricStreams:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListMetrics:{input_token:"NextToken",output_token:"NextToken",result_key:"Metrics"}}}},{}],167:[function(e,t,r){t.exports={version:2,waiters:{AlarmExists:{delay:5,maxAttempts:40,operation:"DescribeAlarms",acceptors:[{matcher:"path",expected:!0,argument:"length(MetricAlarms[]) > `0`",state:"success"}]},CompositeAlarmExists:{delay:5,maxAttempts:40,operation:"DescribeAlarms",acceptors:[{matcher:"path",expected:!0,argument:"length(CompositeAlarms[]) > `0`",state:"success"}]}}}},{}],168:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-01-17",endpointPrefix:"mturk-requester",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon MTurk",serviceFullName:"Amazon Mechanical Turk",serviceId:"MTurk",signatureVersion:"v4",targetPrefix:"MTurkRequesterServiceV20170117",uid:"mturk-requester-2017-01-17"},operations:{AcceptQualificationRequest:{input:{type:"structure",required:["QualificationRequestId"],members:{QualificationRequestId:{},IntegerValue:{type:"integer"}}},output:{type:"structure",members:{}}},ApproveAssignment:{input:{type:"structure",required:["AssignmentId"],members:{AssignmentId:{},RequesterFeedback:{},OverrideRejection:{type:"boolean"}}},output:{type:"structure",members:{}},idempotent:!0},AssociateQualificationWithWorker:{input:{type:"structure",required:["QualificationTypeId","WorkerId"],members:{QualificationTypeId:{},WorkerId:{},IntegerValue:{type:"integer"},SendNotification:{type:"boolean"}}},output:{type:"structure",members:{}}},CreateAdditionalAssignmentsForHIT:{input:{type:"structure",required:["HITId","NumberOfAdditionalAssignments"],members:{HITId:{},NumberOfAdditionalAssignments:{type:"integer"},UniqueRequestToken:{}}},output:{type:"structure",members:{}}},CreateHIT:{input:{type:"structure",required:["LifetimeInSeconds","AssignmentDurationInSeconds","Reward","Title","Description"],members:{MaxAssignments:{type:"integer"},AutoApprovalDelayInSeconds:{type:"long"},LifetimeInSeconds:{type:"long"},AssignmentDurationInSeconds:{type:"long"},Reward:{},Title:{},Keywords:{},Description:{},Question:{},RequesterAnnotation:{},QualificationRequirements:{shape:"Si"},UniqueRequestToken:{},AssignmentReviewPolicy:{shape:"Sq"},HITReviewPolicy:{shape:"Sq"},HITLayoutId:{},HITLayoutParameters:{shape:"Sw"}}},output:{type:"structure",members:{HIT:{shape:"Sz"}}}},CreateHITType:{input:{type:"structure",required:["AssignmentDurationInSeconds","Reward","Title","Description"],members:{AutoApprovalDelayInSeconds:{type:"long"},AssignmentDurationInSeconds:{type:"long"},Reward:{},Title:{},Keywords:{},Description:{},QualificationRequirements:{shape:"Si"}}},output:{type:"structure",members:{HITTypeId:{}}},idempotent:!0},CreateHITWithHITType:{input:{type:"structure",required:["HITTypeId","LifetimeInSeconds"],members:{HITTypeId:{},MaxAssignments:{type:"integer"},LifetimeInSeconds:{type:"long"},Question:{},RequesterAnnotation:{},UniqueRequestToken:{},AssignmentReviewPolicy:{shape:"Sq"},HITReviewPolicy:{shape:"Sq"},HITLayoutId:{},HITLayoutParameters:{shape:"Sw"}}},output:{type:"structure",members:{HIT:{shape:"Sz"}}}},CreateQualificationType:{input:{type:"structure",required:["Name","Description","QualificationTypeStatus"],members:{Name:{},Keywords:{},Description:{},QualificationTypeStatus:{},RetryDelayInSeconds:{type:"long"},Test:{},AnswerKey:{},TestDurationInSeconds:{type:"long"},AutoGranted:{type:"boolean"},AutoGrantedValue:{type:"integer"}}},output:{type:"structure",members:{QualificationType:{shape:"S1a"}}}},CreateWorkerBlock:{input:{type:"structure",required:["WorkerId","Reason"],members:{WorkerId:{},Reason:{}}},output:{type:"structure",members:{}}},DeleteHIT:{input:{type:"structure",required:["HITId"],members:{HITId:{}}},output:{type:"structure",members:{}},idempotent:!0},DeleteQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{}}},output:{type:"structure",members:{}},idempotent:!0},DeleteWorkerBlock:{input:{type:"structure",required:["WorkerId"],members:{WorkerId:{},Reason:{}}},output:{type:"structure",members:{}},idempotent:!0},DisassociateQualificationFromWorker:{input:{type:"structure",required:["WorkerId","QualificationTypeId"],members:{WorkerId:{},QualificationTypeId:{},Reason:{}}},output:{type:"structure",members:{}}},GetAccountBalance:{input:{type:"structure",members:{}},output:{type:"structure",members:{AvailableBalance:{},OnHoldBalance:{}}},idempotent:!0},GetAssignment:{input:{type:"structure",required:["AssignmentId"],members:{AssignmentId:{}}},output:{type:"structure",members:{Assignment:{shape:"S1p"},HIT:{shape:"Sz"}}},idempotent:!0},GetFileUploadURL:{input:{type:"structure",required:["AssignmentId","QuestionIdentifier"],members:{AssignmentId:{},QuestionIdentifier:{}}},output:{type:"structure",members:{FileUploadURL:{}}},idempotent:!0},GetHIT:{input:{type:"structure",required:["HITId"],members:{HITId:{}}},output:{type:"structure",members:{HIT:{shape:"Sz"}}},idempotent:!0},GetQualificationScore:{input:{type:"structure",required:["QualificationTypeId","WorkerId"],members:{QualificationTypeId:{},WorkerId:{}}},output:{type:"structure",members:{Qualification:{shape:"S1x"}}},idempotent:!0},GetQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{}}},output:{type:"structure",members:{QualificationType:{shape:"S1a"}}},idempotent:!0},ListAssignmentsForHIT:{input:{type:"structure",required:["HITId"],members:{HITId:{},NextToken:{},MaxResults:{type:"integer"},AssignmentStatuses:{type:"list",member:{}}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},Assignments:{type:"list",member:{shape:"S1p"}}}},idempotent:!0},ListBonusPayments:{input:{type:"structure",members:{HITId:{},AssignmentId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NumResults:{type:"integer"},NextToken:{},BonusPayments:{type:"list",member:{type:"structure",members:{WorkerId:{},BonusAmount:{},AssignmentId:{},Reason:{},GrantTime:{type:"timestamp"}}}}}},idempotent:!0},ListHITs:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},HITs:{shape:"S2d"}}},idempotent:!0},ListHITsForQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},HITs:{shape:"S2d"}}},idempotent:!0},ListQualificationRequests:{input:{type:"structure",members:{QualificationTypeId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NumResults:{type:"integer"},NextToken:{},QualificationRequests:{type:"list",member:{type:"structure",members:{QualificationRequestId:{},QualificationTypeId:{},WorkerId:{},Test:{},Answer:{},SubmitTime:{type:"timestamp"}}}}}},idempotent:!0},ListQualificationTypes:{input:{type:"structure",required:["MustBeRequestable"],members:{Query:{},MustBeRequestable:{type:"boolean"},MustBeOwnedByCaller:{type:"boolean"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NumResults:{type:"integer"},NextToken:{},QualificationTypes:{type:"list",member:{shape:"S1a"}}}},idempotent:!0},ListReviewPolicyResultsForHIT:{input:{type:"structure",required:["HITId"],members:{HITId:{},PolicyLevels:{type:"list",member:{}},RetrieveActions:{type:"boolean"},RetrieveResults:{type:"boolean"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{HITId:{},AssignmentReviewPolicy:{shape:"Sq"},HITReviewPolicy:{shape:"Sq"},AssignmentReviewReport:{shape:"S2r"},HITReviewReport:{shape:"S2r"},NextToken:{}}},idempotent:!0},ListReviewableHITs:{input:{type:"structure",members:{HITTypeId:{},Status:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},HITs:{shape:"S2d"}}},idempotent:!0},ListWorkerBlocks:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},WorkerBlocks:{type:"list",member:{type:"structure",members:{WorkerId:{},Reason:{}}}}}},idempotent:!0},ListWorkersWithQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{},Status:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},Qualifications:{type:"list",member:{shape:"S1x"}}}},idempotent:!0},NotifyWorkers:{input:{type:"structure",required:["Subject","MessageText","WorkerIds"],members:{Subject:{},MessageText:{},WorkerIds:{type:"list",member:{}}}},output:{type:"structure",members:{NotifyWorkersFailureStatuses:{type:"list",member:{type:"structure",members:{NotifyWorkersFailureCode:{},NotifyWorkersFailureMessage:{},WorkerId:{}}}}}}},RejectAssignment:{input:{type:"structure",required:["AssignmentId","RequesterFeedback"],members:{AssignmentId:{},RequesterFeedback:{}}},output:{type:"structure",members:{}},idempotent:!0},RejectQualificationRequest:{input:{type:"structure",required:["QualificationRequestId"],members:{QualificationRequestId:{},Reason:{}}},output:{type:"structure",members:{}}},SendBonus:{input:{type:"structure",required:["WorkerId","BonusAmount","AssignmentId","Reason"],members:{WorkerId:{},BonusAmount:{},AssignmentId:{},Reason:{},UniqueRequestToken:{}}},output:{type:"structure",members:{}}},SendTestEventNotification:{input:{type:"structure",required:["Notification","TestEventType"],members:{Notification:{shape:"S3k"},TestEventType:{}}},output:{type:"structure",members:{}}},UpdateExpirationForHIT:{input:{type:"structure",required:["HITId","ExpireAt"],members:{HITId:{},ExpireAt:{type:"timestamp"}}},output:{type:"structure",members:{}},idempotent:!0},UpdateHITReviewStatus:{input:{type:"structure",required:["HITId"],members:{HITId:{},Revert:{type:"boolean"}}},output:{type:"structure",members:{}},idempotent:!0},UpdateHITTypeOfHIT:{input:{type:"structure",required:["HITId","HITTypeId"],members:{HITId:{},HITTypeId:{}}},output:{type:"structure",members:{}},idempotent:!0},UpdateNotificationSettings:{input:{type:"structure",required:["HITTypeId"],members:{HITTypeId:{},Notification:{shape:"S3k"},Active:{type:"boolean"}}},output:{type:"structure",members:{}},idempotent:!0},UpdateQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{},Description:{},QualificationTypeStatus:{},Test:{},AnswerKey:{},TestDurationInSeconds:{type:"long"},RetryDelayInSeconds:{type:"long"},AutoGranted:{type:"boolean"},AutoGrantedValue:{type:"integer"}}},output:{type:"structure",members:{QualificationType:{shape:"S1a"}}}}},shapes:{Si:{type:"list",member:{type:"structure",required:["QualificationTypeId","Comparator"],members:{QualificationTypeId:{},Comparator:{},IntegerValues:{type:"list",member:{type:"integer"}},LocaleValues:{type:"list",member:{shape:"Sn"}},RequiredToPreview:{deprecated:!0,type:"boolean"},ActionsGuarded:{}}}},Sn:{type:"structure",required:["Country"],members:{Country:{},Subdivision:{}}},Sq:{type:"structure",required:["PolicyName"],members:{PolicyName:{},Parameters:{type:"list",member:{type:"structure",members:{Key:{},Values:{shape:"St"},MapEntries:{type:"list",member:{type:"structure",members:{Key:{},Values:{shape:"St"}}}}}}}}},St:{type:"list",member:{}},Sw:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}},Sz:{type:"structure",members:{HITId:{},HITTypeId:{},HITGroupId:{},HITLayoutId:{},CreationTime:{type:"timestamp"},Title:{},Description:{},Question:{},Keywords:{},HITStatus:{},MaxAssignments:{type:"integer"},Reward:{},AutoApprovalDelayInSeconds:{type:"long"},Expiration:{type:"timestamp"},AssignmentDurationInSeconds:{type:"long"},RequesterAnnotation:{},QualificationRequirements:{shape:"Si"},HITReviewStatus:{},NumberOfAssignmentsPending:{type:"integer"},NumberOfAssignmentsAvailable:{type:"integer"},NumberOfAssignmentsCompleted:{type:"integer"}}},S1a:{type:"structure",members:{QualificationTypeId:{},CreationTime:{type:"timestamp"},Name:{},Description:{},Keywords:{},QualificationTypeStatus:{},Test:{},TestDurationInSeconds:{type:"long"},AnswerKey:{},RetryDelayInSeconds:{type:"long"},IsRequestable:{type:"boolean"},AutoGranted:{type:"boolean"},AutoGrantedValue:{type:"integer"}}},S1p:{type:"structure",members:{AssignmentId:{},WorkerId:{},HITId:{},AssignmentStatus:{},AutoApprovalTime:{type:"timestamp"},AcceptTime:{type:"timestamp"},SubmitTime:{type:"timestamp"},ApprovalTime:{type:"timestamp"},RejectionTime:{type:"timestamp"},Deadline:{type:"timestamp"},Answer:{},RequesterFeedback:{}}},S1x:{type:"structure",members:{QualificationTypeId:{},WorkerId:{},GrantTime:{type:"timestamp"},IntegerValue:{type:"integer"},LocaleValue:{shape:"Sn"},Status:{}}},S2d:{type:"list",member:{shape:"Sz"}},S2r:{type:"structure",members:{ReviewResults:{type:"list",member:{type:"structure",members:{ActionId:{},SubjectId:{},SubjectType:{},QuestionId:{},Key:{},Value:{}}}},ReviewActions:{type:"list",member:{type:"structure",members:{ActionId:{},ActionName:{},TargetId:{},TargetType:{},Status:{},CompleteTime:{type:"timestamp"},Result:{},ErrorCode:{}}}}}},S3k:{type:"structure",required:["Destination","Transport","Version","EventTypes"],members:{Destination:{},Transport:{},Version:{},EventTypes:{type:"list",member:{}}}}}}},{}],169:[function(e,t,r){t.exports={pagination:{ListAssignmentsForHIT:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListBonusPayments:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListHITs:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListHITsForQualificationType:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListQualificationRequests:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListQualificationTypes:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListReviewPolicyResultsForHIT:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListReviewableHITs:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListWorkerBlocks:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListWorkersWithQualificationType:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],170:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-02-18",endpointPrefix:"opsworks",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS OpsWorks",serviceId:"OpsWorks",signatureVersion:"v4",targetPrefix:"OpsWorks_20130218",uid:"opsworks-2013-02-18"},operations:{AssignInstance:{input:{type:"structure",required:["InstanceId","LayerIds"],members:{InstanceId:{},LayerIds:{shape:"S3"}}}},AssignVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},InstanceId:{}}}},AssociateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{},InstanceId:{}}}},AttachElasticLoadBalancer:{input:{type:"structure",required:["ElasticLoadBalancerName","LayerId"],members:{ElasticLoadBalancerName:{},LayerId:{}}}},CloneStack:{input:{type:"structure",required:["SourceStackId","ServiceRoleArn"],members:{SourceStackId:{},Name:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},ClonePermissions:{type:"boolean"},CloneAppIds:{shape:"S3"},DefaultRootDeviceType:{},AgentVersion:{}}},output:{type:"structure",members:{StackId:{}}}},CreateApp:{input:{type:"structure",required:["StackId","Name","Type"],members:{StackId:{},Shortname:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},Environment:{shape:"So"}}},output:{type:"structure",members:{AppId:{}}}},CreateDeployment:{input:{type:"structure",required:["StackId","Command"],members:{StackId:{},AppId:{},InstanceIds:{shape:"S3"},LayerIds:{shape:"S3"},Command:{shape:"Ss"},Comment:{},CustomJson:{}}},output:{type:"structure",members:{DeploymentId:{}}}},CreateInstance:{input:{type:"structure",required:["StackId","LayerIds","InstanceType"],members:{StackId:{},LayerIds:{shape:"S3"},InstanceType:{},AutoScalingType:{},Hostname:{},Os:{},AmiId:{},SshKeyName:{},AvailabilityZone:{},VirtualizationType:{},SubnetId:{},Architecture:{},RootDeviceType:{},BlockDeviceMappings:{shape:"Sz"},InstallUpdatesOnBoot:{type:"boolean"},EbsOptimized:{type:"boolean"},AgentVersion:{},Tenancy:{}}},output:{type:"structure",members:{InstanceId:{}}}},CreateLayer:{input:{type:"structure",required:["StackId","Type","Name","Shortname"],members:{StackId:{},Type:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CloudWatchLogsConfiguration:{shape:"S19"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S1f"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},CustomRecipes:{shape:"S1h"},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1i"}}},output:{type:"structure",members:{LayerId:{}}}},CreateStack:{input:{type:"structure",required:["Name","Region","ServiceRoleArn","DefaultInstanceProfileArn"],members:{Name:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},DefaultRootDeviceType:{},AgentVersion:{}}},output:{type:"structure",members:{StackId:{}}}},CreateUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}},output:{type:"structure",members:{IamUserArn:{}}}},DeleteApp:{input:{type:"structure",required:["AppId"],members:{AppId:{}}}},DeleteInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},DeleteElasticIp:{type:"boolean"},DeleteVolumes:{type:"boolean"}}}},DeleteLayer:{input:{type:"structure",required:["LayerId"],members:{LayerId:{}}}},DeleteStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},DeleteUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{}}}},DeregisterEcsCluster:{input:{type:"structure",required:["EcsClusterArn"],members:{EcsClusterArn:{}}}},DeregisterElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{}}}},DeregisterInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},DeregisterRdsDbInstance:{input:{type:"structure",required:["RdsDbInstanceArn"],members:{RdsDbInstanceArn:{}}}},DeregisterVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{}}}},DescribeAgentVersions:{input:{type:"structure",members:{StackId:{},ConfigurationManager:{shape:"Sa"}}},output:{type:"structure",members:{AgentVersions:{type:"list",member:{type:"structure",members:{Version:{},ConfigurationManager:{shape:"Sa"}}}}}}},DescribeApps:{input:{type:"structure",members:{StackId:{},AppIds:{shape:"S3"}}},output:{type:"structure",members:{Apps:{type:"list",member:{type:"structure",members:{AppId:{},StackId:{},Shortname:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},CreatedAt:{},Environment:{shape:"So"}}}}}}},DescribeCommands:{input:{type:"structure",members:{DeploymentId:{},InstanceId:{},CommandIds:{shape:"S3"}}},output:{type:"structure",members:{Commands:{type:"list",member:{type:"structure",members:{CommandId:{},InstanceId:{},DeploymentId:{},CreatedAt:{},AcknowledgedAt:{},CompletedAt:{},Status:{},ExitCode:{type:"integer"},LogUrl:{},Type:{}}}}}}},DescribeDeployments:{input:{type:"structure",members:{StackId:{},AppId:{},DeploymentIds:{shape:"S3"}}},output:{type:"structure",members:{Deployments:{type:"list",member:{type:"structure",members:{ -DeploymentId:{},StackId:{},AppId:{},CreatedAt:{},CompletedAt:{},Duration:{type:"integer"},IamUserArn:{},Comment:{},Command:{shape:"Ss"},Status:{},CustomJson:{},InstanceIds:{shape:"S3"}}}}}}},DescribeEcsClusters:{input:{type:"structure",members:{EcsClusterArns:{shape:"S3"},StackId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{EcsClusters:{type:"list",member:{type:"structure",members:{EcsClusterArn:{},EcsClusterName:{},StackId:{},RegisteredAt:{}}}},NextToken:{}}}},DescribeElasticIps:{input:{type:"structure",members:{InstanceId:{},StackId:{},Ips:{shape:"S3"}}},output:{type:"structure",members:{ElasticIps:{type:"list",member:{type:"structure",members:{Ip:{},Name:{},Domain:{},Region:{},InstanceId:{}}}}}}},DescribeElasticLoadBalancers:{input:{type:"structure",members:{StackId:{},LayerIds:{shape:"S3"}}},output:{type:"structure",members:{ElasticLoadBalancers:{type:"list",member:{type:"structure",members:{ElasticLoadBalancerName:{},Region:{},DnsName:{},StackId:{},LayerId:{},VpcId:{},AvailabilityZones:{shape:"S3"},SubnetIds:{shape:"S3"},Ec2InstanceIds:{shape:"S3"}}}}}}},DescribeInstances:{input:{type:"structure",members:{StackId:{},LayerId:{},InstanceIds:{shape:"S3"}}},output:{type:"structure",members:{Instances:{type:"list",member:{type:"structure",members:{AgentVersion:{},AmiId:{},Architecture:{},Arn:{},AutoScalingType:{},AvailabilityZone:{},BlockDeviceMappings:{shape:"Sz"},CreatedAt:{},EbsOptimized:{type:"boolean"},Ec2InstanceId:{},EcsClusterArn:{},EcsContainerInstanceArn:{},ElasticIp:{},Hostname:{},InfrastructureClass:{},InstallUpdatesOnBoot:{type:"boolean"},InstanceId:{},InstanceProfileArn:{},InstanceType:{},LastServiceErrorId:{},LayerIds:{shape:"S3"},Os:{},Platform:{},PrivateDns:{},PrivateIp:{},PublicDns:{},PublicIp:{},RegisteredBy:{},ReportedAgentVersion:{},ReportedOs:{type:"structure",members:{Family:{},Name:{},Version:{}}},RootDeviceType:{},RootDeviceVolumeId:{},SecurityGroupIds:{shape:"S3"},SshHostDsaKeyFingerprint:{},SshHostRsaKeyFingerprint:{},SshKeyName:{},StackId:{},Status:{},SubnetId:{},Tenancy:{},VirtualizationType:{}}}}}}},DescribeLayers:{input:{type:"structure",members:{StackId:{},LayerIds:{shape:"S3"}}},output:{type:"structure",members:{Layers:{type:"list",member:{type:"structure",members:{Arn:{},StackId:{},LayerId:{},Type:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CloudWatchLogsConfiguration:{shape:"S19"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},DefaultSecurityGroupNames:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S1f"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},DefaultRecipes:{shape:"S1h"},CustomRecipes:{shape:"S1h"},CreatedAt:{},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1i"}}}}}}},DescribeLoadBasedAutoScaling:{input:{type:"structure",required:["LayerIds"],members:{LayerIds:{shape:"S3"}}},output:{type:"structure",members:{LoadBasedAutoScalingConfigurations:{type:"list",member:{type:"structure",members:{LayerId:{},Enable:{type:"boolean"},UpScaling:{shape:"S36"},DownScaling:{shape:"S36"}}}}}}},DescribeMyUserProfile:{output:{type:"structure",members:{UserProfile:{type:"structure",members:{IamUserArn:{},Name:{},SshUsername:{},SshPublicKey:{}}}}}},DescribeOperatingSystems:{output:{type:"structure",members:{OperatingSystems:{type:"list",member:{type:"structure",members:{Name:{},Id:{},Type:{},ConfigurationManagers:{type:"list",member:{type:"structure",members:{Name:{},Version:{}}}},ReportedName:{},ReportedVersion:{},Supported:{type:"boolean"}}}}}}},DescribePermissions:{input:{type:"structure",members:{IamUserArn:{},StackId:{}}},output:{type:"structure",members:{Permissions:{type:"list",member:{type:"structure",members:{StackId:{},IamUserArn:{},AllowSsh:{type:"boolean"},AllowSudo:{type:"boolean"},Level:{}}}}}}},DescribeRaidArrays:{input:{type:"structure",members:{InstanceId:{},StackId:{},RaidArrayIds:{shape:"S3"}}},output:{type:"structure",members:{RaidArrays:{type:"list",member:{type:"structure",members:{RaidArrayId:{},InstanceId:{},Name:{},RaidLevel:{type:"integer"},NumberOfDisks:{type:"integer"},Size:{type:"integer"},Device:{},MountPoint:{},AvailabilityZone:{},CreatedAt:{},StackId:{},VolumeType:{},Iops:{type:"integer"}}}}}}},DescribeRdsDbInstances:{input:{type:"structure",required:["StackId"],members:{StackId:{},RdsDbInstanceArns:{shape:"S3"}}},output:{type:"structure",members:{RdsDbInstances:{type:"list",member:{type:"structure",members:{RdsDbInstanceArn:{},DbInstanceIdentifier:{},DbUser:{},DbPassword:{},Region:{},Address:{},Engine:{},StackId:{},MissingOnRds:{type:"boolean"}}}}}}},DescribeServiceErrors:{input:{type:"structure",members:{StackId:{},InstanceId:{},ServiceErrorIds:{shape:"S3"}}},output:{type:"structure",members:{ServiceErrors:{type:"list",member:{type:"structure",members:{ServiceErrorId:{},StackId:{},InstanceId:{},Type:{},Message:{},CreatedAt:{}}}}}}},DescribeStackProvisioningParameters:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},output:{type:"structure",members:{AgentInstallerUrl:{},Parameters:{type:"map",key:{},value:{}}}}},DescribeStackSummary:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},output:{type:"structure",members:{StackSummary:{type:"structure",members:{StackId:{},Name:{},Arn:{},LayersCount:{type:"integer"},AppsCount:{type:"integer"},InstancesCount:{type:"structure",members:{Assigning:{type:"integer"},Booting:{type:"integer"},ConnectionLost:{type:"integer"},Deregistering:{type:"integer"},Online:{type:"integer"},Pending:{type:"integer"},Rebooting:{type:"integer"},Registered:{type:"integer"},Registering:{type:"integer"},Requested:{type:"integer"},RunningSetup:{type:"integer"},SetupFailed:{type:"integer"},ShuttingDown:{type:"integer"},StartFailed:{type:"integer"},StopFailed:{type:"integer"},Stopped:{type:"integer"},Stopping:{type:"integer"},Terminated:{type:"integer"},Terminating:{type:"integer"},Unassigning:{type:"integer"}}}}}}}},DescribeStacks:{input:{type:"structure",members:{StackIds:{shape:"S3"}}},output:{type:"structure",members:{Stacks:{type:"list",member:{type:"structure",members:{StackId:{},Name:{},Arn:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},CreatedAt:{},DefaultRootDeviceType:{},AgentVersion:{}}}}}}},DescribeTimeBasedAutoScaling:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"S3"}}},output:{type:"structure",members:{TimeBasedAutoScalingConfigurations:{type:"list",member:{type:"structure",members:{InstanceId:{},AutoScalingSchedule:{shape:"S4b"}}}}}}},DescribeUserProfiles:{input:{type:"structure",members:{IamUserArns:{shape:"S3"}}},output:{type:"structure",members:{UserProfiles:{type:"list",member:{type:"structure",members:{IamUserArn:{},Name:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}}}}}},DescribeVolumes:{input:{type:"structure",members:{InstanceId:{},StackId:{},RaidArrayId:{},VolumeIds:{shape:"S3"}}},output:{type:"structure",members:{Volumes:{type:"list",member:{type:"structure",members:{VolumeId:{},Ec2VolumeId:{},Name:{},RaidArrayId:{},InstanceId:{},Status:{},Size:{type:"integer"},Device:{},MountPoint:{},Region:{},AvailabilityZone:{},VolumeType:{},Iops:{type:"integer"},Encrypted:{type:"boolean"}}}}}}},DetachElasticLoadBalancer:{input:{type:"structure",required:["ElasticLoadBalancerName","LayerId"],members:{ElasticLoadBalancerName:{},LayerId:{}}}},DisassociateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{}}}},GetHostnameSuggestion:{input:{type:"structure",required:["LayerId"],members:{LayerId:{}}},output:{type:"structure",members:{LayerId:{},Hostname:{}}}},GrantAccess:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},ValidForInMinutes:{type:"integer"}}},output:{type:"structure",members:{TemporaryCredential:{type:"structure",members:{Username:{},Password:{},ValidForInMinutes:{type:"integer"},InstanceId:{}}}}}},ListTags:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Tags:{shape:"S50"},NextToken:{}}}},RebootInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},RegisterEcsCluster:{input:{type:"structure",required:["EcsClusterArn","StackId"],members:{EcsClusterArn:{},StackId:{}}},output:{type:"structure",members:{EcsClusterArn:{}}}},RegisterElasticIp:{input:{type:"structure",required:["ElasticIp","StackId"],members:{ElasticIp:{},StackId:{}}},output:{type:"structure",members:{ElasticIp:{}}}},RegisterInstance:{input:{type:"structure",required:["StackId"],members:{StackId:{},Hostname:{},PublicIp:{},PrivateIp:{},RsaPublicKey:{},RsaPublicKeyFingerprint:{},InstanceIdentity:{type:"structure",members:{Document:{},Signature:{}}}}},output:{type:"structure",members:{InstanceId:{}}}},RegisterRdsDbInstance:{input:{type:"structure",required:["StackId","RdsDbInstanceArn","DbUser","DbPassword"],members:{StackId:{},RdsDbInstanceArn:{},DbUser:{},DbPassword:{}}}},RegisterVolume:{input:{type:"structure",required:["StackId"],members:{Ec2VolumeId:{},StackId:{}}},output:{type:"structure",members:{VolumeId:{}}}},SetLoadBasedAutoScaling:{input:{type:"structure",required:["LayerId"],members:{LayerId:{},Enable:{type:"boolean"},UpScaling:{shape:"S36"},DownScaling:{shape:"S36"}}}},SetPermission:{input:{type:"structure",required:["StackId","IamUserArn"],members:{StackId:{},IamUserArn:{},AllowSsh:{type:"boolean"},AllowSudo:{type:"boolean"},Level:{}}}},SetTimeBasedAutoScaling:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},AutoScalingSchedule:{shape:"S4b"}}}},StartInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},StartStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},StopInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},Force:{type:"boolean"}}}},StopStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},TagResource:{input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{},Tags:{shape:"S50"}}}},UnassignInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},UnassignVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{}}}},UntagResource:{input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{},TagKeys:{type:"list",member:{}}}}},UpdateApp:{input:{type:"structure",required:["AppId"],members:{AppId:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},Environment:{shape:"So"}}}},UpdateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{},Name:{}}}},UpdateInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},LayerIds:{shape:"S3"},InstanceType:{},AutoScalingType:{},Hostname:{},Os:{},AmiId:{},SshKeyName:{},Architecture:{},InstallUpdatesOnBoot:{type:"boolean"},EbsOptimized:{type:"boolean"},AgentVersion:{}}}},UpdateLayer:{input:{type:"structure",required:["LayerId"],members:{LayerId:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CloudWatchLogsConfiguration:{shape:"S19"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S1f"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},CustomRecipes:{shape:"S1h"},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1i"}}}},UpdateMyUserProfile:{input:{type:"structure",members:{SshPublicKey:{}}}},UpdateRdsDbInstance:{input:{type:"structure",required:["RdsDbInstanceArn"],members:{RdsDbInstanceArn:{},DbUser:{},DbPassword:{}}}},UpdateStack:{input:{type:"structure",required:["StackId"],members:{StackId:{},Name:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},DefaultRootDeviceType:{},UseOpsworksSecurityGroups:{type:"boolean"},AgentVersion:{}}}},UpdateUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}}},UpdateVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},Name:{},MountPoint:{}}}}},shapes:{S3:{type:"list",member:{}},S8:{type:"map",key:{},value:{}},Sa:{type:"structure",members:{Name:{},Version:{}}},Sb:{type:"structure",members:{ManageBerkshelf:{type:"boolean"},BerkshelfVersion:{}}},Sd:{type:"structure",members:{Type:{},Url:{},Username:{},Password:{},SshKey:{},Revision:{}}},Si:{type:"list",member:{type:"structure",members:{Type:{},Arn:{},DatabaseName:{}}}},Sl:{type:"structure",required:["Certificate","PrivateKey"],members:{Certificate:{},PrivateKey:{},Chain:{}}},Sm:{type:"map",key:{},value:{}},So:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{},Secure:{type:"boolean"}}}},Ss:{type:"structure",required:["Name"],members:{Name:{},Args:{type:"map",key:{},value:{shape:"S3"}}}},Sz:{type:"list",member:{type:"structure",members:{DeviceName:{},NoDevice:{},VirtualName:{},Ebs:{type:"structure",members:{SnapshotId:{},Iops:{type:"integer"},VolumeSize:{type:"integer"},VolumeType:{},DeleteOnTermination:{type:"boolean"}}}}}},S17:{type:"map",key:{},value:{}},S19:{type:"structure",members:{Enabled:{type:"boolean"},LogStreams:{type:"list",member:{type:"structure",members:{LogGroupName:{},DatetimeFormat:{},TimeZone:{},File:{},FileFingerprintLines:{},MultiLineStartPattern:{},InitialPosition:{},Encoding:{},BufferDuration:{type:"integer"},BatchCount:{type:"integer"},BatchSize:{type:"integer"}}}}}},S1f:{type:"list",member:{type:"structure",required:["MountPoint","NumberOfDisks","Size"],members:{MountPoint:{},RaidLevel:{type:"integer"},NumberOfDisks:{type:"integer"},Size:{type:"integer"},VolumeType:{},Iops:{type:"integer"},Encrypted:{type:"boolean"}}}},S1h:{type:"structure",members:{Setup:{shape:"S3"},Configure:{shape:"S3"},Deploy:{shape:"S3"},Undeploy:{shape:"S3"},Shutdown:{shape:"S3"}}},S1i:{type:"structure",members:{Shutdown:{type:"structure",members:{ExecutionTimeout:{type:"integer"},DelayUntilElbConnectionsDrained:{type:"boolean"}}}}},S36:{type:"structure",members:{InstanceCount:{type:"integer"},ThresholdsWaitTime:{type:"integer"},IgnoreMetricsTime:{type:"integer"},CpuThreshold:{type:"double"},MemoryThreshold:{type:"double"},LoadThreshold:{type:"double"},Alarms:{shape:"S3"}}},S4b:{type:"structure",members:{Monday:{shape:"S4c"},Tuesday:{shape:"S4c"},Wednesday:{shape:"S4c"},Thursday:{shape:"S4c"},Friday:{shape:"S4c"},Saturday:{shape:"S4c"},Sunday:{shape:"S4c"}}},S4c:{type:"map",key:{},value:{}},S50:{type:"map",key:{},value:{}}}}},{}],171:[function(e,t,r){t.exports={pagination:{DescribeApps:{result_key:"Apps"},DescribeCommands:{result_key:"Commands"},DescribeDeployments:{result_key:"Deployments"},DescribeEcsClusters:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"EcsClusters"},DescribeElasticIps:{result_key:"ElasticIps"},DescribeElasticLoadBalancers:{result_key:"ElasticLoadBalancers"},DescribeInstances:{result_key:"Instances"},DescribeLayers:{result_key:"Layers"},DescribeLoadBasedAutoScaling:{result_key:"LoadBasedAutoScalingConfigurations"},DescribePermissions:{result_key:"Permissions"},DescribeRaidArrays:{result_key:"RaidArrays"},DescribeServiceErrors:{result_key:"ServiceErrors"},DescribeStacks:{result_key:"Stacks"},DescribeTimeBasedAutoScaling:{result_key:"TimeBasedAutoScalingConfigurations"},DescribeUserProfiles:{result_key:"UserProfiles"},DescribeVolumes:{result_key:"Volumes"}}}},{}],172:[function(e,t,r){t.exports={version:2,waiters:{AppExists:{delay:1,operation:"DescribeApps",maxAttempts:40,acceptors:[{expected:200,matcher:"status",state:"success"},{matcher:"status",expected:400,state:"failure"}]},DeploymentSuccessful:{delay:15,operation:"DescribeDeployments",maxAttempts:40,description:"Wait until a deployment has completed successfully.",acceptors:[{expected:"successful",matcher:"pathAll",state:"success",argument:"Deployments[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"Deployments[].Status"}]},InstanceOnline:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is online.",acceptors:[{expected:"online",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"shutting_down",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopped",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminating",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceRegistered:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is registered.",acceptors:[{expected:"registered",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"shutting_down",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopped",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminating",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceStopped:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is stopped.",acceptors:[{expected:"stopped",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"booting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"requested",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"running_setup",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceTerminated:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is terminated.",acceptors:[{expected:"terminated",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"ResourceNotFoundException",matcher:"error",state:"success"},{expected:"booting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"online",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"requested",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"running_setup",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]}}}},{}],173:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-05-22",endpointPrefix:"personalize",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Personalize",serviceId:"Personalize",signatureVersion:"v4",signingName:"personalize",targetPrefix:"AmazonPersonalize",uid:"personalize-2018-05-22"},operations:{CreateBatchInferenceJob:{input:{type:"structure",required:["jobName","solutionVersionArn","jobInput","jobOutput","roleArn"],members:{jobName:{},solutionVersionArn:{},filterArn:{},numResults:{type:"integer"},jobInput:{shape:"S5"},jobOutput:{shape:"S9"},roleArn:{},batchInferenceJobConfig:{shape:"Sb"}}},output:{type:"structure",members:{batchInferenceJobArn:{}}}},CreateBatchSegmentJob:{input:{type:"structure",required:["jobName","solutionVersionArn","jobInput","jobOutput","roleArn"],members:{jobName:{},solutionVersionArn:{},filterArn:{},numResults:{type:"integer"},jobInput:{shape:"Sh"},jobOutput:{shape:"Si"},roleArn:{}}},output:{type:"structure",members:{batchSegmentJobArn:{}}}},CreateCampaign:{input:{type:"structure",required:["name","solutionVersionArn"],members:{name:{},solutionVersionArn:{},minProvisionedTPS:{type:"integer"},campaignConfig:{shape:"Sm"}}},output:{type:"structure",members:{campaignArn:{}}},idempotent:!0},CreateDataset:{input:{type:"structure",required:["name","schemaArn","datasetGroupArn","datasetType"],members:{name:{},schemaArn:{},datasetGroupArn:{},datasetType:{}}},output:{type:"structure",members:{datasetArn:{}}},idempotent:!0},CreateDatasetExportJob:{input:{type:"structure",required:["jobName","datasetArn","roleArn","jobOutput"],members:{jobName:{},datasetArn:{},ingestionMode:{},roleArn:{},jobOutput:{shape:"St"}}},output:{type:"structure",members:{datasetExportJobArn:{}}},idempotent:!0},CreateDatasetGroup:{input:{type:"structure",required:["name"],members:{name:{},roleArn:{},kmsKeyArn:{},domain:{}}},output:{type:"structure",members:{datasetGroupArn:{},domain:{}}}},CreateDatasetImportJob:{input:{type:"structure",required:["jobName","datasetArn","dataSource","roleArn"],members:{jobName:{},datasetArn:{},dataSource:{shape:"Sz"},roleArn:{}}},output:{type:"structure",members:{datasetImportJobArn:{}}}},CreateEventTracker:{input:{type:"structure",required:["name","datasetGroupArn"],members:{name:{},datasetGroupArn:{}}},output:{type:"structure",members:{eventTrackerArn:{},trackingId:{}}},idempotent:!0},CreateFilter:{input:{type:"structure",required:["name","datasetGroupArn","filterExpression"],members:{name:{},datasetGroupArn:{},filterExpression:{shape:"S15"}}},output:{type:"structure",members:{filterArn:{}}}},CreateRecommender:{input:{type:"structure",required:["name","datasetGroupArn","recipeArn"],members:{name:{},datasetGroupArn:{},recipeArn:{},recommenderConfig:{shape:"S18"}}},output:{type:"structure",members:{recommenderArn:{}}},idempotent:!0},CreateSchema:{input:{type:"structure",required:["name","schema"],members:{name:{},schema:{},domain:{}}},output:{type:"structure",members:{schemaArn:{}}},idempotent:!0},CreateSolution:{input:{type:"structure",required:["name","datasetGroupArn"],members:{name:{},performHPO:{type:"boolean"},performAutoML:{type:"boolean"},recipeArn:{},datasetGroupArn:{},eventType:{},solutionConfig:{shape:"S1h"}}},output:{type:"structure",members:{solutionArn:{}}}},CreateSolutionVersion:{input:{type:"structure",required:["solutionArn"],members:{solutionArn:{},trainingMode:{}}},output:{type:"structure",members:{solutionVersionArn:{}}}},DeleteCampaign:{input:{type:"structure",required:["campaignArn"],members:{campaignArn:{}}},idempotent:!0},DeleteDataset:{input:{type:"structure",required:["datasetArn"],members:{datasetArn:{}}},idempotent:!0},DeleteDatasetGroup:{input:{type:"structure",required:["datasetGroupArn"],members:{datasetGroupArn:{}}},idempotent:!0},DeleteEventTracker:{input:{type:"structure",required:["eventTrackerArn"],members:{eventTrackerArn:{}}},idempotent:!0},DeleteFilter:{input:{type:"structure",required:["filterArn"],members:{filterArn:{}}}},DeleteRecommender:{input:{type:"structure",required:["recommenderArn"],members:{recommenderArn:{}}},idempotent:!0},DeleteSchema:{input:{type:"structure",required:["schemaArn"],members:{schemaArn:{}}},idempotent:!0},DeleteSolution:{input:{type:"structure",required:["solutionArn"],members:{solutionArn:{}}},idempotent:!0},DescribeAlgorithm:{input:{type:"structure",required:["algorithmArn"],members:{algorithmArn:{}}},output:{type:"structure",members:{algorithm:{type:"structure",members:{name:{},algorithmArn:{},algorithmImage:{type:"structure",required:["dockerURI"],members:{name:{},dockerURI:{}}},defaultHyperParameters:{shape:"Sc"},defaultHyperParameterRanges:{type:"structure",members:{integerHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},minValue:{type:"integer"},maxValue:{type:"integer"},isTunable:{type:"boolean"}}}},continuousHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},minValue:{type:"double"},maxValue:{type:"double"},isTunable:{type:"boolean"}}}},categoricalHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},values:{shape:"S21"},isTunable:{type:"boolean"}}}}}},defaultResourceConfig:{type:"map",key:{},value:{}},trainingInputMode:{},roleArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeBatchInferenceJob:{input:{type:"structure",required:["batchInferenceJobArn"],members:{batchInferenceJobArn:{}}},output:{type:"structure",members:{batchInferenceJob:{type:"structure",members:{jobName:{},batchInferenceJobArn:{},filterArn:{},failureReason:{},solutionVersionArn:{},numResults:{type:"integer"},jobInput:{shape:"S5"},jobOutput:{shape:"S9"},batchInferenceJobConfig:{shape:"Sb"},roleArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeBatchSegmentJob:{input:{type:"structure",required:["batchSegmentJobArn"],members:{batchSegmentJobArn:{}}},output:{type:"structure",members:{batchSegmentJob:{type:"structure",members:{jobName:{},batchSegmentJobArn:{},filterArn:{},failureReason:{},solutionVersionArn:{},numResults:{type:"integer"},jobInput:{shape:"Sh"},jobOutput:{shape:"Si"},roleArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeCampaign:{input:{type:"structure",required:["campaignArn"],members:{campaignArn:{}}},output:{type:"structure",members:{campaign:{type:"structure",members:{name:{},campaignArn:{},solutionVersionArn:{},minProvisionedTPS:{type:"integer"},campaignConfig:{shape:"Sm"},status:{},failureReason:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},latestCampaignUpdate:{type:"structure",members:{solutionVersionArn:{},minProvisionedTPS:{type:"integer"},campaignConfig:{shape:"Sm"},status:{},failureReason:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}}}},idempotent:!0},DescribeDataset:{input:{type:"structure",required:["datasetArn"],members:{datasetArn:{}}},output:{type:"structure",members:{dataset:{type:"structure",members:{name:{},datasetArn:{},datasetGroupArn:{},datasetType:{},schemaArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeDatasetExportJob:{input:{type:"structure",required:["datasetExportJobArn"],members:{datasetExportJobArn:{}}},output:{type:"structure",members:{datasetExportJob:{type:"structure",members:{jobName:{},datasetExportJobArn:{},datasetArn:{},ingestionMode:{},roleArn:{},status:{},jobOutput:{shape:"St"},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}}},idempotent:!0},DescribeDatasetGroup:{input:{type:"structure",required:["datasetGroupArn"],members:{datasetGroupArn:{}}},output:{type:"structure",members:{datasetGroup:{type:"structure",members:{name:{},datasetGroupArn:{},status:{},roleArn:{},kmsKeyArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{},domain:{}}}}},idempotent:!0},DescribeDatasetImportJob:{input:{type:"structure",required:["datasetImportJobArn"],members:{datasetImportJobArn:{}}},output:{type:"structure",members:{datasetImportJob:{type:"structure",members:{jobName:{},datasetImportJobArn:{},datasetArn:{},dataSource:{shape:"Sz"},roleArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}}},idempotent:!0},DescribeEventTracker:{input:{type:"structure",required:["eventTrackerArn"],members:{eventTrackerArn:{}}},output:{type:"structure",members:{eventTracker:{type:"structure",members:{name:{},eventTrackerArn:{},accountId:{},trackingId:{},datasetGroupArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeFeatureTransformation:{input:{type:"structure",required:["featureTransformationArn"],members:{featureTransformationArn:{}}},output:{type:"structure",members:{featureTransformation:{type:"structure",members:{name:{},featureTransformationArn:{},defaultParameters:{type:"map",key:{},value:{}},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},status:{}}}}},idempotent:!0},DescribeFilter:{input:{type:"structure",required:["filterArn"],members:{filterArn:{}}},output:{type:"structure",members:{filter:{type:"structure",members:{name:{},filterArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},datasetGroupArn:{},failureReason:{},filterExpression:{shape:"S15"},status:{}}}}},idempotent:!0},DescribeRecipe:{input:{type:"structure",required:["recipeArn"],members:{recipeArn:{}}},output:{type:"structure",members:{recipe:{type:"structure",members:{name:{},recipeArn:{},algorithmArn:{},featureTransformationArn:{},status:{},description:{},creationDateTime:{type:"timestamp"},recipeType:{},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeRecommender:{input:{type:"structure",required:["recommenderArn"],members:{recommenderArn:{}}},output:{type:"structure",members:{recommender:{type:"structure",members:{recommenderArn:{},datasetGroupArn:{},name:{},recipeArn:{},recommenderConfig:{shape:"S18"},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},status:{},failureReason:{},latestRecommenderUpdate:{type:"structure",members:{recommenderConfig:{shape:"S18"},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},status:{},failureReason:{}}}}}}},idempotent:!0},DescribeSchema:{input:{type:"structure",required:["schemaArn"],members:{schemaArn:{}}},output:{type:"structure",members:{schema:{type:"structure",members:{name:{},schemaArn:{},schema:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},domain:{}}}}},idempotent:!0},DescribeSolution:{input:{type:"structure",required:["solutionArn"],members:{solutionArn:{}}},output:{type:"structure",members:{solution:{type:"structure",members:{name:{},solutionArn:{},performHPO:{type:"boolean"},performAutoML:{type:"boolean"},recipeArn:{},datasetGroupArn:{},eventType:{},solutionConfig:{shape:"S1h"},autoMLResult:{type:"structure",members:{bestRecipeArn:{}}},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},latestSolutionVersion:{shape:"S4h"}}}}},idempotent:!0},DescribeSolutionVersion:{input:{type:"structure",required:["solutionVersionArn"],members:{solutionVersionArn:{}}},output:{ -type:"structure",members:{solutionVersion:{type:"structure",members:{solutionVersionArn:{},solutionArn:{},performHPO:{type:"boolean"},performAutoML:{type:"boolean"},recipeArn:{},eventType:{},datasetGroupArn:{},solutionConfig:{shape:"S1h"},trainingHours:{type:"double"},trainingMode:{},tunedHPOParams:{type:"structure",members:{algorithmHyperParameters:{shape:"Sc"}}},status:{},failureReason:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},GetSolutionMetrics:{input:{type:"structure",required:["solutionVersionArn"],members:{solutionVersionArn:{}}},output:{type:"structure",members:{solutionVersionArn:{},metrics:{type:"map",key:{},value:{type:"double"}}}}},ListBatchInferenceJobs:{input:{type:"structure",members:{solutionVersionArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{batchInferenceJobs:{type:"list",member:{type:"structure",members:{batchInferenceJobArn:{},jobName:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{},solutionVersionArn:{}}}},nextToken:{}}},idempotent:!0},ListBatchSegmentJobs:{input:{type:"structure",members:{solutionVersionArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{batchSegmentJobs:{type:"list",member:{type:"structure",members:{batchSegmentJobArn:{},jobName:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{},solutionVersionArn:{}}}},nextToken:{}}},idempotent:!0},ListCampaigns:{input:{type:"structure",members:{solutionArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{campaigns:{type:"list",member:{type:"structure",members:{name:{},campaignArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}},nextToken:{}}},idempotent:!0},ListDatasetExportJobs:{input:{type:"structure",members:{datasetArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{datasetExportJobs:{type:"list",member:{type:"structure",members:{datasetExportJobArn:{},jobName:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}},nextToken:{}}},idempotent:!0},ListDatasetGroups:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{datasetGroups:{type:"list",member:{type:"structure",members:{name:{},datasetGroupArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{},domain:{}}}},nextToken:{}}},idempotent:!0},ListDatasetImportJobs:{input:{type:"structure",members:{datasetArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{datasetImportJobs:{type:"list",member:{type:"structure",members:{datasetImportJobArn:{},jobName:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}},nextToken:{}}},idempotent:!0},ListDatasets:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{datasets:{type:"list",member:{type:"structure",members:{name:{},datasetArn:{},datasetType:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}},nextToken:{}}},idempotent:!0},ListEventTrackers:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{eventTrackers:{type:"list",member:{type:"structure",members:{name:{},eventTrackerArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}},nextToken:{}}},idempotent:!0},ListFilters:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{name:{},filterArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},datasetGroupArn:{},failureReason:{},status:{}}}},nextToken:{}}},idempotent:!0},ListRecipes:{input:{type:"structure",members:{recipeProvider:{},nextToken:{},maxResults:{type:"integer"},domain:{}}},output:{type:"structure",members:{recipes:{type:"list",member:{type:"structure",members:{name:{},recipeArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},domain:{}}}},nextToken:{}}},idempotent:!0},ListRecommenders:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{recommenders:{type:"list",member:{type:"structure",members:{name:{},recommenderArn:{},datasetGroupArn:{},recipeArn:{},recommenderConfig:{shape:"S18"},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}},nextToken:{}}},idempotent:!0},ListSchemas:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{schemas:{type:"list",member:{type:"structure",members:{name:{},schemaArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},domain:{}}}},nextToken:{}}},idempotent:!0},ListSolutionVersions:{input:{type:"structure",members:{solutionArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{solutionVersions:{type:"list",member:{shape:"S4h"}},nextToken:{}}},idempotent:!0},ListSolutions:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{solutions:{type:"list",member:{type:"structure",members:{name:{},solutionArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}},nextToken:{}}},idempotent:!0},StopSolutionVersionCreation:{input:{type:"structure",required:["solutionVersionArn"],members:{solutionVersionArn:{}}},idempotent:!0},UpdateCampaign:{input:{type:"structure",required:["campaignArn"],members:{campaignArn:{},solutionVersionArn:{},minProvisionedTPS:{type:"integer"},campaignConfig:{shape:"Sm"}}},output:{type:"structure",members:{campaignArn:{}}},idempotent:!0},UpdateRecommender:{input:{type:"structure",required:["recommenderArn","recommenderConfig"],members:{recommenderArn:{},recommenderConfig:{shape:"S18"}}},output:{type:"structure",members:{recommenderArn:{}}},idempotent:!0}},shapes:{S5:{type:"structure",required:["s3DataSource"],members:{s3DataSource:{shape:"S6"}}},S6:{type:"structure",required:["path"],members:{path:{},kmsKeyArn:{}}},S9:{type:"structure",required:["s3DataDestination"],members:{s3DataDestination:{shape:"S6"}}},Sb:{type:"structure",members:{itemExplorationConfig:{shape:"Sc"}}},Sc:{type:"map",key:{},value:{}},Sh:{type:"structure",required:["s3DataSource"],members:{s3DataSource:{shape:"S6"}}},Si:{type:"structure",required:["s3DataDestination"],members:{s3DataDestination:{shape:"S6"}}},Sm:{type:"structure",members:{itemExplorationConfig:{shape:"Sc"}}},St:{type:"structure",required:["s3DataDestination"],members:{s3DataDestination:{shape:"S6"}}},Sz:{type:"structure",members:{dataLocation:{}}},S15:{type:"string",sensitive:!0},S18:{type:"structure",members:{itemExplorationConfig:{shape:"Sc"}}},S1h:{type:"structure",members:{eventValueThreshold:{},hpoConfig:{type:"structure",members:{hpoObjective:{type:"structure",members:{type:{},metricName:{},metricRegex:{}}},hpoResourceConfig:{type:"structure",members:{maxNumberOfTrainingJobs:{},maxParallelTrainingJobs:{}}},algorithmHyperParameterRanges:{type:"structure",members:{integerHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},minValue:{type:"integer"},maxValue:{type:"integer"}}}},continuousHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},minValue:{type:"double"},maxValue:{type:"double"}}}},categoricalHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},values:{shape:"S21"}}}}}}}},algorithmHyperParameters:{shape:"Sc"},featureTransformationParameters:{type:"map",key:{},value:{}},autoMLConfig:{type:"structure",members:{metricName:{},recipeList:{type:"list",member:{}}}},optimizationObjective:{type:"structure",members:{itemAttribute:{},objectiveSensitivity:{}}}}},S21:{type:"list",member:{}},S4h:{type:"structure",members:{solutionVersionArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}}}},{}],174:[function(e,t,r){t.exports={pagination:{ListBatchInferenceJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"batchInferenceJobs"},ListBatchSegmentJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"batchSegmentJobs"},ListCampaigns:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"campaigns"},ListDatasetExportJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"datasetExportJobs"},ListDatasetGroups:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"datasetGroups"},ListDatasetImportJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"datasetImportJobs"},ListDatasets:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"datasets"},ListEventTrackers:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"eventTrackers"},ListFilters:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"Filters"},ListRecipes:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"recipes"},ListRecommenders:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"recommenders"},ListSchemas:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"schemas"},ListSolutionVersions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"solutionVersions"},ListSolutions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"solutions"}}}},{}],175:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-03-22",endpointPrefix:"personalize-events",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Personalize Events",serviceId:"Personalize Events",signatureVersion:"v4",signingName:"personalize",uid:"personalize-events-2018-03-22"},operations:{PutEvents:{http:{requestUri:"/events"},input:{type:"structure",required:["trackingId","sessionId","eventList"],members:{trackingId:{},userId:{},sessionId:{},eventList:{type:"list",member:{type:"structure",required:["eventType","sentAt"],members:{eventId:{},eventType:{},eventValue:{type:"float"},itemId:{},properties:{jsonvalue:!0},sentAt:{type:"timestamp"},recommendationId:{},impression:{type:"list",member:{}}}}}}}},PutItems:{http:{requestUri:"/items"},input:{type:"structure",required:["datasetArn","items"],members:{datasetArn:{},items:{type:"list",member:{type:"structure",required:["itemId"],members:{itemId:{},properties:{jsonvalue:!0}}}}}}},PutUsers:{http:{requestUri:"/users"},input:{type:"structure",required:["datasetArn","users"],members:{datasetArn:{},users:{type:"list",member:{type:"structure",required:["userId"],members:{userId:{},properties:{jsonvalue:!0}}}}}}}},shapes:{}}},{}],176:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],177:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-05-22",endpointPrefix:"personalize-runtime",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Personalize Runtime",serviceId:"Personalize Runtime",signatureVersion:"v4",signingName:"personalize",uid:"personalize-runtime-2018-05-22"},operations:{GetPersonalizedRanking:{http:{requestUri:"/personalize-ranking"},input:{type:"structure",required:["campaignArn","inputList","userId"],members:{campaignArn:{},inputList:{type:"list",member:{}},userId:{},context:{shape:"S6"},filterArn:{},filterValues:{shape:"S9"}}},output:{type:"structure",members:{personalizedRanking:{shape:"Sd"},recommendationId:{}}},idempotent:!0},GetRecommendations:{http:{requestUri:"/recommendations"},input:{type:"structure",members:{campaignArn:{},itemId:{},userId:{},numResults:{type:"integer"},context:{shape:"S6"},filterArn:{},filterValues:{shape:"S9"},recommenderArn:{}}},output:{type:"structure",members:{itemList:{shape:"Sd"},recommendationId:{}}},idempotent:!0}},shapes:{S6:{type:"map",key:{},value:{type:"string",sensitive:!0}},S9:{type:"map",key:{},value:{type:"string",sensitive:!0}},Sd:{type:"list",member:{type:"structure",members:{itemId:{},score:{type:"double"}}}}}}},{}],178:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],179:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-06-10",endpointPrefix:"polly",protocol:"rest-json",serviceFullName:"Amazon Polly",serviceId:"Polly",signatureVersion:"v4",uid:"polly-2016-06-10"},operations:{DeleteLexicon:{http:{method:"DELETE",requestUri:"/v1/lexicons/{LexiconName}",responseCode:200},input:{type:"structure",required:["Name"],members:{Name:{location:"uri",locationName:"LexiconName"}}},output:{type:"structure",members:{}}},DescribeVoices:{http:{method:"GET",requestUri:"/v1/voices",responseCode:200},input:{type:"structure",members:{Engine:{location:"querystring",locationName:"Engine"},LanguageCode:{location:"querystring",locationName:"LanguageCode"},IncludeAdditionalLanguageCodes:{location:"querystring",locationName:"IncludeAdditionalLanguageCodes",type:"boolean"},NextToken:{location:"querystring",locationName:"NextToken"}}},output:{type:"structure",members:{Voices:{type:"list",member:{type:"structure",members:{Gender:{},Id:{},LanguageCode:{},LanguageName:{},Name:{},AdditionalLanguageCodes:{type:"list",member:{}},SupportedEngines:{type:"list",member:{}}}}},NextToken:{}}}},GetLexicon:{http:{method:"GET",requestUri:"/v1/lexicons/{LexiconName}",responseCode:200},input:{type:"structure",required:["Name"],members:{Name:{location:"uri",locationName:"LexiconName"}}},output:{type:"structure",members:{Lexicon:{type:"structure",members:{Content:{shape:"Sl"},Name:{}}},LexiconAttributes:{shape:"Sm"}}}},GetSpeechSynthesisTask:{http:{method:"GET",requestUri:"/v1/synthesisTasks/{TaskId}",responseCode:200},input:{type:"structure",required:["TaskId"],members:{TaskId:{location:"uri",locationName:"TaskId"}}},output:{type:"structure",members:{SynthesisTask:{shape:"Sv"}}}},ListLexicons:{http:{method:"GET",requestUri:"/v1/lexicons",responseCode:200},input:{type:"structure",members:{NextToken:{location:"querystring",locationName:"NextToken"}}},output:{type:"structure",members:{Lexicons:{type:"list",member:{type:"structure",members:{Name:{},Attributes:{shape:"Sm"}}}},NextToken:{}}}},ListSpeechSynthesisTasks:{http:{method:"GET",requestUri:"/v1/synthesisTasks",responseCode:200},input:{type:"structure",members:{MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"},NextToken:{location:"querystring",locationName:"NextToken"},Status:{location:"querystring",locationName:"Status"}}},output:{type:"structure",members:{NextToken:{},SynthesisTasks:{type:"list",member:{shape:"Sv"}}}}},PutLexicon:{http:{method:"PUT",requestUri:"/v1/lexicons/{LexiconName}",responseCode:200},input:{type:"structure",required:["Name","Content"],members:{Name:{location:"uri",locationName:"LexiconName"},Content:{shape:"Sl"}}},output:{type:"structure",members:{}}},StartSpeechSynthesisTask:{http:{requestUri:"/v1/synthesisTasks",responseCode:200},input:{type:"structure",required:["OutputFormat","OutputS3BucketName","Text","VoiceId"],members:{Engine:{},LanguageCode:{},LexiconNames:{shape:"S12"},OutputFormat:{},OutputS3BucketName:{},OutputS3KeyPrefix:{},SampleRate:{},SnsTopicArn:{},SpeechMarkTypes:{shape:"S15"},Text:{},TextType:{},VoiceId:{}}},output:{type:"structure",members:{SynthesisTask:{shape:"Sv"}}}},SynthesizeSpeech:{http:{requestUri:"/v1/speech",responseCode:200},input:{type:"structure",required:["OutputFormat","Text","VoiceId"],members:{Engine:{},LanguageCode:{},LexiconNames:{shape:"S12"},OutputFormat:{},SampleRate:{},SpeechMarkTypes:{shape:"S15"},Text:{},TextType:{},VoiceId:{}}},output:{type:"structure",members:{AudioStream:{type:"blob",streaming:!0},ContentType:{location:"header",locationName:"Content-Type"},RequestCharacters:{location:"header",locationName:"x-amzn-RequestCharacters",type:"integer"}},payload:"AudioStream"}}},shapes:{Sl:{type:"string",sensitive:!0},Sm:{type:"structure",members:{Alphabet:{},LanguageCode:{},LastModified:{type:"timestamp"},LexiconArn:{},LexemesCount:{type:"integer"},Size:{type:"integer"}}},Sv:{type:"structure",members:{Engine:{},TaskId:{},TaskStatus:{},TaskStatusReason:{},OutputUri:{},CreationTime:{type:"timestamp"},RequestCharacters:{type:"integer"},SnsTopicArn:{},LexiconNames:{shape:"S12"},OutputFormat:{},SampleRate:{},SpeechMarkTypes:{shape:"S15"},TextType:{},VoiceId:{},LanguageCode:{}}},S12:{type:"list",member:{}},S15:{type:"list",member:{}}}}},{}],180:[function(e,t,r){t.exports={pagination:{ListSpeechSynthesisTasks:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],181:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-10-15",endpointPrefix:"api.pricing",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"AWS Pricing",serviceFullName:"AWS Price List Service",serviceId:"Pricing",signatureVersion:"v4",signingName:"pricing",targetPrefix:"AWSPriceListService",uid:"pricing-2017-10-15"},operations:{DescribeServices:{input:{type:"structure",members:{ServiceCode:{},FormatVersion:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Services:{type:"list",member:{type:"structure",members:{ServiceCode:{},AttributeNames:{type:"list",member:{}}}}},FormatVersion:{},NextToken:{}}}},GetAttributeValues:{input:{type:"structure",required:["ServiceCode","AttributeName"],members:{ServiceCode:{},AttributeName:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{AttributeValues:{type:"list",member:{type:"structure",members:{Value:{}}}},NextToken:{}}}},GetProducts:{input:{type:"structure",members:{ServiceCode:{},Filters:{type:"list",member:{type:"structure",required:["Type","Field","Value"],members:{Type:{},Field:{},Value:{}}}},FormatVersion:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{FormatVersion:{},PriceList:{type:"list",member:{jsonvalue:!0}},NextToken:{}}}}},shapes:{}}},{}],182:[function(e,t,r){t.exports={pagination:{DescribeServices:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},GetAttributeValues:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},GetProducts:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],183:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-01-10",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2013-01-10",xmlNamespace:"http://rds.amazonaws.com/doc/2013-01-10/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1c"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1i"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1o"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S25"},SupportedCharacterSets:{type:"list",member:{shape:"S25",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1c",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2f"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2f"}},wrapper:!0}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S1o",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S14",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S3m",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S3o"}},wrapper:!0}}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},ModifyDBParameterGroup:{input:{type:"structure", -required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S2f"}}},output:{shape:"S3z",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1i"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"Sp"},VpcSecurityGroupMemberships:{shape:"Sq"}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1o"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S3m"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2f"}}},output:{shape:"S3z",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}}},shapes:{S4:{type:"structure",members:{Id:{},CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sk:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"}},wrapper:!0},Sp:{type:"list",member:{locationName:"DBSecurityGroupName"}},Sq:{type:"list",member:{locationName:"VpcSecurityGroupId"}},St:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"Sv"},VpcSecurityGroups:{shape:"Sx"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S11"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMembership:{type:"structure",members:{OptionGroupName:{},Status:{}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"}},wrapper:!0},Sv:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},Sx:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S11:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S14"},SubnetStatus:{}}}}},wrapper:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1c:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},S1i:{type:"list",member:{locationName:"SubnetIdentifier"}},S1o:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"Sv"},VpcSecurityGroupMemberships:{shape:"Sx"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},S25:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S2f:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S3m:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S3o"}},wrapper:!0},S3o:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S3z:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],184:[function(e,t,r){t.exports={pagination:{DescribeDBEngineVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBEngineVersions"},DescribeDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBInstances"},DescribeDBParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeDBSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"EngineDefaults.Marker",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeOptionGroupOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OrderableDBInstanceOptions"},DescribeReservedDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstancesOfferings"},ListTagsForResource:{result_key:"TagList"}}}},{}],185:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-02-12",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2013-02-12",xmlNamespace:"http://rds.amazonaws.com/doc/2013-02-12/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1d"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1j"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1p"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S28"},SupportedCharacterSets:{type:"list",member:{shape:"S28",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1d",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2n"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2n"}},wrapper:!0}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},Persistent:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"}}}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S1p",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S14",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S3w",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S3y"}},wrapper:!0}}}}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S2n"}}},output:{shape:"S4b",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1j"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"Sp"},VpcSecurityGroupMemberships:{shape:"Sq"},OptionSettings:{type:"list",member:{shape:"S1t",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1p"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S3w"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2n"}}},output:{shape:"S4b",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}}},shapes:{S4:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sk:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{}},wrapper:!0},Sp:{type:"list",member:{locationName:"DBSecurityGroupName"}},Sq:{type:"list",member:{locationName:"VpcSecurityGroupId"}},St:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"Sv"},VpcSecurityGroups:{shape:"Sx"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S11"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"}, -MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"}},wrapper:!0},Sv:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},Sx:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S11:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S14"},SubnetStatus:{}}}}},wrapper:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1d:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},S1j:{type:"list",member:{locationName:"SubnetIdentifier"}},S1p:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Port:{type:"integer"},OptionSettings:{type:"list",member:{shape:"S1t",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"Sv"},VpcSecurityGroupMemberships:{shape:"Sx"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},S1t:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},S28:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S2n:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S3w:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S3y"}},wrapper:!0},S3y:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S4b:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],186:[function(e,t,r){t.exports={pagination:{DescribeDBEngineVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBEngineVersions"},DescribeDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBInstances"},DescribeDBLogFiles:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DescribeDBLogFiles"},DescribeDBParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeDBSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"EngineDefaults.Marker",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeOptionGroupOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OrderableDBInstanceOptions"},DescribeReservedDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstancesOfferings"},DownloadDBLogFilePortion:{input_token:"Marker",limit_key:"NumberOfLines",more_results:"AdditionalDataPending",output_token:"Marker",result_key:"LogFileData"},ListTagsForResource:{result_key:"TagList"}}}},{}],187:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-09-09",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2013-09-09",xmlNamespace:"http://rds.amazonaws.com/doc/2013-09-09/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBSubnetGroupName:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1f"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1l"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1r"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S2d"},SupportedCharacterSets:{type:"list",member:{shape:"S2d",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1f",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2s"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2s"}},wrapper:!0}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{},Filters:{shape:"S27"}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},Persistent:{type:"boolean"},Permanent:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"}}}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Filters:{shape:"S27"},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S1r",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S14",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S41",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S43"}},wrapper:!0}}}}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{},Filters:{shape:"S27"}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S2s"}}},output:{shape:"S4g",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1l"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"Sp"},VpcSecurityGroupMemberships:{shape:"Sq"},OptionSettings:{type:"list",member:{shape:"S1v",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1r"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"},Tags:{shape:"S9"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S41"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2s"}}},output:{shape:"S4g",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}}},shapes:{S4:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sk:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{},PercentProgress:{type:"integer"},SourceRegion:{}},wrapper:!0},Sp:{type:"list",member:{locationName:"DBSecurityGroupName"}},Sq:{type:"list",member:{locationName:"VpcSecurityGroupId"}},St:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"Sv"},VpcSecurityGroups:{shape:"Sx"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S11"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"},StatusInfos:{type:"list",member:{locationName:"DBInstanceStatusInfo",type:"structure",members:{StatusType:{},Normal:{type:"boolean"},Status:{},Message:{}}}}},wrapper:!0},Sv:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},Sx:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S11:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S14"},SubnetStatus:{}}}}},wrapper:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1f:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},S1l:{type:"list",member:{locationName:"SubnetIdentifier"}},S1r:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Permanent:{type:"boolean"},Port:{type:"integer"},OptionSettings:{type:"list",member:{shape:"S1v",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"Sv"},VpcSecurityGroupMemberships:{shape:"Sx"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},S1v:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},S27:{type:"list",member:{locationName:"Filter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{locationName:"Value"}}}}},S2d:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S2s:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S41:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S43"}},wrapper:!0},S43:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S4g:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],188:[function(e,t,r){arguments[4][186][0].apply(r,arguments)},{dup:186}],189:[function(e,t,r){t.exports={version:2,waiters:{DBInstanceAvailable:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]},DBInstanceDeleted:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"DBInstances[].DBInstanceStatus"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]}}}},{}],190:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-09-01", -endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2014-09-01",xmlNamespace:"http://rds.amazonaws.com/doc/2014-09-01/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBParameterGroup:{input:{type:"structure",required:["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],members:{SourceDBParameterGroupIdentifier:{},TargetDBParameterGroupIdentifier:{},TargetDBParameterGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"Sk"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sn"}}}},CopyOptionGroup:{input:{type:"structure",required:["SourceOptionGroupIdentifier","TargetOptionGroupIdentifier","TargetOptionGroupDescription"],members:{SourceOptionGroupIdentifier:{},TargetOptionGroupIdentifier:{},TargetOptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"St"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"S13"},VpcSecurityGroupIds:{shape:"S14"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBSubnetGroupName:{},StorageType:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"Sk"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sn"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1u"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S1b"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"St"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sn"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S2h"},SupportedCharacterSets:{type:"list",member:{shape:"S2h",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"S17",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"Sk",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2w"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sn",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S1b",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2w"}},wrapper:!0}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{},Filters:{shape:"S2b"}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},Persistent:{type:"boolean"},Permanent:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"}}}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Filters:{shape:"S2b"},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"St",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S1e",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"},StorageType:{},SupportsIops:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S45",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S47"}},wrapper:!0}}}}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{},Filters:{shape:"S2b"}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"S13"},VpcSecurityGroupIds:{shape:"S14"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S2w"}}},output:{shape:"S4k",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1u"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S1b"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"S13"},VpcSecurityGroupMemberships:{shape:"S14"},OptionSettings:{type:"list",member:{shape:"Sx",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"St"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"},Tags:{shape:"S9"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S45"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2w"}}},output:{shape:"S4k",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}}},shapes:{S4:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sk:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},Sn:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{},PercentProgress:{type:"integer"},SourceRegion:{},StorageType:{},TdeCredentialArn:{}},wrapper:!0},St:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Permanent:{type:"boolean"},Port:{type:"integer"},OptionSettings:{type:"list",member:{shape:"Sx",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"Sy"},VpcSecurityGroupMemberships:{shape:"S10"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},Sx:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},Sy:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},S10:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S13:{type:"list",member:{locationName:"DBSecurityGroupName"}},S14:{type:"list",member:{locationName:"VpcSecurityGroupId"}},S17:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"Sy"},VpcSecurityGroups:{shape:"S10"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S1b"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{},StorageType:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"},StatusInfos:{type:"list",member:{locationName:"DBInstanceStatusInfo",type:"structure",members:{StatusType:{},Normal:{type:"boolean"},Status:{},Message:{}}}},StorageType:{},TdeCredentialArn:{}},wrapper:!0},S1b:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S1e"},SubnetStatus:{}}}}},wrapper:!0},S1e:{type:"structure",members:{Name:{}},wrapper:!0},S1u:{type:"list",member:{locationName:"SubnetIdentifier"}},S2b:{type:"list",member:{locationName:"Filter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{locationName:"Value"}}}}},S2h:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S2w:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S45:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S47"}},wrapper:!0},S47:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S4k:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],191:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],192:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-10-31",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2014-10-31",xmlNamespace:"http://rds.amazonaws.com/doc/2014-10-31/"},operations:{AddRoleToDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","RoleArn"],members:{DBClusterIdentifier:{},RoleArn:{},FeatureName:{}}}},AddRoleToDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","RoleArn","FeatureName"],members:{DBInstanceIdentifier:{},RoleArn:{},FeatureName:{}}}},AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"Sb"}}}},ApplyPendingMaintenanceAction:{input:{type:"structure",required:["ResourceIdentifier","ApplyAction","OptInType"],members:{ResourceIdentifier:{},ApplyAction:{},OptInType:{}}},output:{resultWrapper:"ApplyPendingMaintenanceActionResult",type:"structure",members:{ResourcePendingMaintenanceActions:{shape:"Sf"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sl"}}}},BacktrackDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","BacktrackTo"],members:{DBClusterIdentifier:{},BacktrackTo:{type:"timestamp"},Force:{type:"boolean"},UseEarliestTimeOnPointInTimeUnavailable:{type:"boolean"}}},output:{shape:"Ss",resultWrapper:"BacktrackDBClusterResult"}},CancelExportTask:{input:{type:"structure",required:["ExportTaskIdentifier"],members:{ExportTaskIdentifier:{}}},output:{shape:"Su",resultWrapper:"CancelExportTaskResult"}},CopyDBClusterParameterGroup:{input:{type:"structure",required:["SourceDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupDescription"],members:{SourceDBClusterParameterGroupIdentifier:{},TargetDBClusterParameterGroupIdentifier:{},TargetDBClusterParameterGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CopyDBClusterParameterGroupResult",type:"structure",members:{DBClusterParameterGroup:{shape:"Sz"}}}},CopyDBClusterSnapshot:{input:{type:"structure",required:["SourceDBClusterSnapshotIdentifier","TargetDBClusterSnapshotIdentifier"],members:{SourceDBClusterSnapshotIdentifier:{},TargetDBClusterSnapshotIdentifier:{},KmsKeyId:{},PreSignedUrl:{},CopyTags:{type:"boolean"},Tags:{shape:"Sb"},SourceRegion:{}}},output:{resultWrapper:"CopyDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"S12"}}}},CopyDBParameterGroup:{input:{type:"structure",required:["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],members:{SourceDBParameterGroupIdentifier:{},TargetDBParameterGroupIdentifier:{},TargetDBParameterGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CopyDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S16"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},KmsKeyId:{},Tags:{shape:"Sb"},CopyTags:{type:"boolean"},PreSignedUrl:{},OptionGroupName:{},TargetCustomAvailabilityZone:{},SourceRegion:{}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S19"}}}},CopyOptionGroup:{input:{type:"structure",required:["SourceOptionGroupIdentifier","TargetOptionGroupIdentifier","TargetOptionGroupDescription"],members:{SourceOptionGroupIdentifier:{},TargetOptionGroupIdentifier:{},TargetOptionGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CopyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1f"}}}},CreateCustomAvailabilityZone:{input:{type:"structure",required:["CustomAvailabilityZoneName"],members:{CustomAvailabilityZoneName:{},ExistingVpnId:{},NewVpnTunnelName:{},VpnTunnelOriginatorIP:{}}},output:{resultWrapper:"CreateCustomAvailabilityZoneResult",type:"structure",members:{CustomAvailabilityZone:{shape:"S1q"}}}},CreateCustomDBEngineVersion:{input:{type:"structure",required:["Engine","EngineVersion","DatabaseInstallationFilesS3BucketName","KMSKeyId","Manifest"],members:{Engine:{},EngineVersion:{},DatabaseInstallationFilesS3BucketName:{},DatabaseInstallationFilesS3Prefix:{},KMSKeyId:{},Description:{},Manifest:{},Tags:{shape:"Sb"}}},output:{shape:"S21",resultWrapper:"CreateCustomDBEngineVersionResult"}},CreateDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","Engine"],members:{AvailabilityZones:{shape:"S13"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},DBSubnetGroupName:{},Engine:{},EngineVersion:{},Port:{type:"integer"},MasterUsername:{},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},ReplicationSourceIdentifier:{},Tags:{shape:"Sb"},StorageEncrypted:{type:"boolean"},KmsKeyId:{},PreSignedUrl:{},EnableIAMDatabaseAuthentication:{type:"boolean"},BacktrackWindow:{type:"long"},EnableCloudwatchLogsExports:{shape:"S29"},EngineMode:{},ScalingConfiguration:{shape:"S2e"},DeletionProtection:{type:"boolean"},GlobalClusterIdentifier:{},EnableHttpEndpoint:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},Domain:{},DomainIAMRoleName:{},EnableGlobalWriteForwarding:{ -type:"boolean"},DBClusterInstanceClass:{},AllocatedStorage:{type:"integer"},StorageType:{},Iops:{type:"integer"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},SourceRegion:{}}},output:{resultWrapper:"CreateDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},CreateDBClusterEndpoint:{input:{type:"structure",required:["DBClusterIdentifier","DBClusterEndpointIdentifier","EndpointType"],members:{DBClusterIdentifier:{},DBClusterEndpointIdentifier:{},EndpointType:{},StaticMembers:{shape:"Sv"},ExcludedMembers:{shape:"Sv"},Tags:{shape:"Sb"}}},output:{shape:"S2x",resultWrapper:"CreateDBClusterEndpointResult"}},CreateDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName","DBParameterGroupFamily","Description"],members:{DBClusterParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBClusterParameterGroupResult",type:"structure",members:{DBClusterParameterGroup:{shape:"Sz"}}}},CreateDBClusterSnapshot:{input:{type:"structure",required:["DBClusterSnapshotIdentifier","DBClusterIdentifier"],members:{DBClusterSnapshotIdentifier:{},DBClusterIdentifier:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"S12"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","DBInstanceClass","Engine"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"S33"},VpcSecurityGroupIds:{shape:"S2c"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},NcharCharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"Sb"},DBClusterIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},DomainIAMRoleName:{},PromotionTier:{type:"integer"},Timezone:{},EnableIAMDatabaseAuthentication:{type:"boolean"},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},DeletionProtection:{type:"boolean"},MaxAllocatedStorage:{type:"integer"},EnableCustomerOwnedIp:{type:"boolean"},CustomIamInstanceProfile:{},BackupTarget:{}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},DBParameterGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"Sb"},DBSubnetGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},StorageType:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},KmsKeyId:{},PreSignedUrl:{},EnableIAMDatabaseAuthentication:{type:"boolean"},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DeletionProtection:{type:"boolean"},Domain:{},DomainIAMRoleName:{},ReplicaMode:{},MaxAllocatedStorage:{type:"integer"},CustomIamInstanceProfile:{},SourceRegion:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S16"}}}},CreateDBProxy:{input:{type:"structure",required:["DBProxyName","EngineFamily","Auth","RoleArn","VpcSubnetIds"],members:{DBProxyName:{},EngineFamily:{},Auth:{shape:"S3x"},RoleArn:{},VpcSubnetIds:{shape:"Sv"},VpcSecurityGroupIds:{shape:"Sv"},RequireTLS:{type:"boolean"},IdleClientTimeout:{type:"integer"},DebugLogging:{type:"boolean"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBProxyResult",type:"structure",members:{DBProxy:{shape:"S42"}}}},CreateDBProxyEndpoint:{input:{type:"structure",required:["DBProxyName","DBProxyEndpointName","VpcSubnetIds"],members:{DBProxyName:{},DBProxyEndpointName:{},VpcSubnetIds:{shape:"Sv"},VpcSecurityGroupIds:{shape:"Sv"},TargetRole:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBProxyEndpointResult",type:"structure",members:{DBProxyEndpoint:{shape:"S4b"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sl"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S19"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S4i"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S39"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S8"},SourceIds:{shape:"S7"},Enabled:{type:"boolean"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},CreateGlobalCluster:{input:{type:"structure",members:{GlobalClusterIdentifier:{},SourceDBClusterIdentifier:{},Engine:{},EngineVersion:{},DeletionProtection:{type:"boolean"},DatabaseName:{},StorageEncrypted:{type:"boolean"}}},output:{resultWrapper:"CreateGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1f"}}}},DeleteCustomAvailabilityZone:{input:{type:"structure",required:["CustomAvailabilityZoneId"],members:{CustomAvailabilityZoneId:{}}},output:{resultWrapper:"DeleteCustomAvailabilityZoneResult",type:"structure",members:{CustomAvailabilityZone:{shape:"S1q"}}}},DeleteCustomDBEngineVersion:{input:{type:"structure",required:["Engine","EngineVersion"],members:{Engine:{},EngineVersion:{}}},output:{shape:"S21",resultWrapper:"DeleteCustomDBEngineVersionResult"}},DeleteDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},DeleteDBClusterEndpoint:{input:{type:"structure",required:["DBClusterEndpointIdentifier"],members:{DBClusterEndpointIdentifier:{}}},output:{shape:"S2x",resultWrapper:"DeleteDBClusterEndpointResult"}},DeleteDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{}}}},DeleteDBClusterSnapshot:{input:{type:"structure",required:["DBClusterSnapshotIdentifier"],members:{DBClusterSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"S12"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{},DeleteAutomatedBackups:{type:"boolean"}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},DeleteDBInstanceAutomatedBackup:{input:{type:"structure",members:{DbiResourceId:{},DBInstanceAutomatedBackupsArn:{}}},output:{resultWrapper:"DeleteDBInstanceAutomatedBackupResult",type:"structure",members:{DBInstanceAutomatedBackup:{shape:"S59"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBProxy:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{}}},output:{resultWrapper:"DeleteDBProxyResult",type:"structure",members:{DBProxy:{shape:"S42"}}}},DeleteDBProxyEndpoint:{input:{type:"structure",required:["DBProxyEndpointName"],members:{DBProxyEndpointName:{}}},output:{resultWrapper:"DeleteDBProxyEndpointResult",type:"structure",members:{DBProxyEndpoint:{shape:"S4b"}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S19"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},DeleteGlobalCluster:{input:{type:"structure",required:["GlobalClusterIdentifier"],members:{GlobalClusterIdentifier:{}}},output:{resultWrapper:"DeleteGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},DeleteInstallationMedia:{input:{type:"structure",required:["InstallationMediaId"],members:{InstallationMediaId:{}}},output:{shape:"S5p",resultWrapper:"DeleteInstallationMediaResult"}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DeregisterDBProxyTargets:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},TargetGroupName:{},DBInstanceIdentifiers:{shape:"Sv"},DBClusterIdentifiers:{shape:"Sv"}}},output:{resultWrapper:"DeregisterDBProxyTargetsResult",type:"structure",members:{}}},DescribeAccountAttributes:{input:{type:"structure",members:{}},output:{resultWrapper:"DescribeAccountAttributesResult",type:"structure",members:{AccountQuotas:{type:"list",member:{locationName:"AccountQuota",type:"structure",members:{AccountQuotaName:{},Used:{type:"long"},Max:{type:"long"}},wrapper:!0}}}}},DescribeCertificates:{input:{type:"structure",members:{CertificateIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCertificatesResult",type:"structure",members:{Certificates:{type:"list",member:{shape:"S65",locationName:"Certificate"}},Marker:{}}}},DescribeCustomAvailabilityZones:{input:{type:"structure",members:{CustomAvailabilityZoneId:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCustomAvailabilityZonesResult",type:"structure",members:{Marker:{},CustomAvailabilityZones:{type:"list",member:{shape:"S1q",locationName:"CustomAvailabilityZone"}}}}},DescribeDBClusterBacktracks:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},BacktrackIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterBacktracksResult",type:"structure",members:{Marker:{},DBClusterBacktracks:{type:"list",member:{shape:"Ss",locationName:"DBClusterBacktrack"}}}}},DescribeDBClusterEndpoints:{input:{type:"structure",members:{DBClusterIdentifier:{},DBClusterEndpointIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterEndpointsResult",type:"structure",members:{Marker:{},DBClusterEndpoints:{type:"list",member:{shape:"S2x",locationName:"DBClusterEndpointList"}}}}},DescribeDBClusterParameterGroups:{input:{type:"structure",members:{DBClusterParameterGroupName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterParameterGroupsResult",type:"structure",members:{Marker:{},DBClusterParameterGroups:{type:"list",member:{shape:"Sz",locationName:"DBClusterParameterGroup"}}}}},DescribeDBClusterParameters:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{},Source:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterParametersResult",type:"structure",members:{Parameters:{shape:"S6k"},Marker:{}}}},DescribeDBClusterSnapshotAttributes:{input:{type:"structure",required:["DBClusterSnapshotIdentifier"],members:{DBClusterSnapshotIdentifier:{}}},output:{resultWrapper:"DescribeDBClusterSnapshotAttributesResult",type:"structure",members:{DBClusterSnapshotAttributesResult:{shape:"S6p"}}}},DescribeDBClusterSnapshots:{input:{type:"structure",members:{DBClusterIdentifier:{},DBClusterSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"},IncludePublic:{type:"boolean"}}},output:{resultWrapper:"DescribeDBClusterSnapshotsResult",type:"structure",members:{Marker:{},DBClusterSnapshots:{type:"list",member:{shape:"S12",locationName:"DBClusterSnapshot"}}}}},DescribeDBClusters:{input:{type:"structure",members:{DBClusterIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"}}},output:{resultWrapper:"DescribeDBClustersResult",type:"structure",members:{Marker:{},DBClusters:{type:"list",member:{shape:"S2g",locationName:"DBCluster"}}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"},ListSupportedTimezones:{type:"boolean"},IncludeAll:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{shape:"S21",locationName:"DBEngineVersion"}}}}},DescribeDBInstanceAutomatedBackups:{input:{type:"structure",members:{DbiResourceId:{},DBInstanceIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},DBInstanceAutomatedBackupsArn:{}}},output:{resultWrapper:"DescribeDBInstanceAutomatedBackupsResult",type:"structure",members:{Marker:{},DBInstanceAutomatedBackups:{type:"list",member:{shape:"S59",locationName:"DBInstanceAutomatedBackup"}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"S35",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S16",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S6k"},Marker:{}}}},DescribeDBProxies:{input:{type:"structure",members:{DBProxyName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeDBProxiesResult",type:"structure",members:{DBProxies:{type:"list",member:{shape:"S42"}},Marker:{}}}},DescribeDBProxyEndpoints:{input:{type:"structure",members:{DBProxyName:{},DBProxyEndpointName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeDBProxyEndpointsResult",type:"structure",members:{DBProxyEndpoints:{type:"list",member:{shape:"S4b"}},Marker:{}}}},DescribeDBProxyTargetGroups:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},TargetGroupName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeDBProxyTargetGroupsResult",type:"structure",members:{TargetGroups:{type:"list",member:{shape:"S7r"}},Marker:{}}}},DescribeDBProxyTargets:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},TargetGroupName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeDBProxyTargetsResult",type:"structure",members:{Targets:{shape:"S7v"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sl",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshotAttributes:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DescribeDBSnapshotAttributesResult",type:"structure",members:{DBSnapshotAttributesResult:{shape:"S87"}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"},IncludePublic:{type:"boolean"},DbiResourceId:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"S19",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S39",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultClusterParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultClusterParametersResult",type:"structure",members:{EngineDefaults:{shape:"S8i"}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{shape:"S8i"}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{},Filters:{shape:"S60"}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S8"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S6",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S8"},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S8"},Date:{type:"timestamp"},SourceArn:{}}}}}}},DescribeExportTasks:{input:{type:"structure",members:{ExportTaskIdentifier:{},SourceArn:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeExportTasksResult",type:"structure",members:{Marker:{},ExportTasks:{type:"list",member:{shape:"Su",locationName:"ExportTask"}}}}},DescribeGlobalClusters:{input:{type:"structure",members:{GlobalClusterIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeGlobalClustersResult",type:"structure",members:{Marker:{},GlobalClusters:{type:"list",member:{shape:"S4o",locationName:"GlobalClusterMember"}}}}},DescribeInstallationMedia:{input:{type:"structure",members:{InstallationMediaId:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeInstallationMediaResult",type:"structure",members:{Marker:{},InstallationMedia:{type:"list",member:{shape:"S5p",locationName:"InstallationMedia"}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},OptionsConflictsWith:{type:"list",member:{locationName:"OptionConflictName"}},Persistent:{type:"boolean"},Permanent:{type:"boolean"},RequiresAutoMinorEngineVersionUpgrade:{type:"boolean"},VpcOnly:{type:"boolean"},SupportsOptionVersionDowngrade:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsRequired:{type:"boolean"},MinimumEngineVersionPerAllowedValue:{type:"list",member:{locationName:"MinimumEngineVersionPerAllowedValue",type:"structure",members:{AllowedValue:{},MinimumEngineVersion:{}}}}}}},OptionGroupOptionVersions:{type:"list",member:{locationName:"OptionVersion",type:"structure",members:{Version:{},IsDefault:{type:"boolean"}}}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S1f",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZoneGroup:{},Vpc:{type:"boolean"},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZoneGroup:{},AvailabilityZones:{type:"list",member:{shape:"S3c",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"},SupportsStorageEncryption:{type:"boolean"},StorageType:{},SupportsIops:{type:"boolean"},SupportsEnhancedMonitoring:{type:"boolean"},SupportsIAMDatabaseAuthentication:{type:"boolean"},SupportsPerformanceInsights:{type:"boolean"},MinStorageSize:{type:"integer"},MaxStorageSize:{type:"integer"},MinIopsPerDbInstance:{type:"integer"},MaxIopsPerDbInstance:{type:"integer"},MinIopsPerGib:{type:"double"},MaxIopsPerGib:{type:"double"},AvailableProcessorFeatures:{shape:"S9r"},SupportedEngineModes:{shape:"S26"},SupportsStorageAutoscaling:{type:"boolean"},SupportsKerberosAuthentication:{type:"boolean"},OutpostCapable:{type:"boolean"},SupportedActivityStreamModes:{type:"list",member:{}},SupportsGlobalDatabases:{type:"boolean"},SupportsClusters:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribePendingMaintenanceActions:{input:{type:"structure",members:{ResourceIdentifier:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribePendingMaintenanceActionsResult",type:"structure",members:{PendingMaintenanceActions:{type:"list",member:{shape:"Sf",locationName:"ResourcePendingMaintenanceActions"}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},LeaseId:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"Sa0",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"Sa2"}},wrapper:!0}}}}},DescribeSourceRegions:{input:{type:"structure",members:{RegionName:{},MaxRecords:{type:"integer"},Marker:{},Filters:{shape:"S60"}}},output:{resultWrapper:"DescribeSourceRegionsResult",type:"structure",members:{Marker:{},SourceRegions:{type:"list",member:{locationName:"SourceRegion",type:"structure",members:{RegionName:{},Endpoint:{},Status:{},SupportsDBInstanceAutomatedBackupsReplication:{type:"boolean"}}}}}}},DescribeValidDBInstanceModifications:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{}}},output:{resultWrapper:"DescribeValidDBInstanceModificationsResult",type:"structure",members:{ValidDBInstanceModificationsMessage:{type:"structure",members:{Storage:{type:"list",member:{locationName:"ValidStorageOptions",type:"structure",members:{StorageType:{},StorageSize:{shape:"Sah"},ProvisionedIops:{shape:"Sah"},IopsToStorageRatio:{type:"list",member:{locationName:"DoubleRange",type:"structure",members:{From:{type:"double"},To:{type:"double"}}}},SupportsStorageAutoscaling:{type:"boolean"}}}},ValidProcessorFeatures:{shape:"S9r"}},wrapper:!0}}}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}}},FailoverDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},TargetDBInstanceIdentifier:{}}},output:{resultWrapper:"FailoverDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},FailoverGlobalCluster:{input:{type:"structure",required:["GlobalClusterIdentifier","TargetDbClusterIdentifier"],members:{GlobalClusterIdentifier:{},TargetDbClusterIdentifier:{}}},output:{resultWrapper:"FailoverGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},ImportInstallationMedia:{input:{type:"structure",required:["CustomAvailabilityZoneId","Engine","EngineVersion","EngineInstallationMediaPath","OSInstallationMediaPath"],members:{CustomAvailabilityZoneId:{},Engine:{},EngineVersion:{},EngineInstallationMediaPath:{},OSInstallationMediaPath:{}}},output:{shape:"S5p",resultWrapper:"ImportInstallationMediaResult"}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{},Filters:{shape:"S60"}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"Sb"}}}},ModifyCertificates:{input:{type:"structure",members:{CertificateIdentifier:{},RemoveCustomerOverride:{type:"boolean"}}},output:{resultWrapper:"ModifyCertificatesResult",type:"structure",members:{Certificate:{shape:"S65"}}}},ModifyCurrentDBClusterCapacity:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},Capacity:{type:"integer"},SecondsBeforeTimeout:{type:"integer"},TimeoutAction:{}}},output:{resultWrapper:"ModifyCurrentDBClusterCapacityResult",type:"structure",members:{DBClusterIdentifier:{},PendingCapacity:{type:"integer"},CurrentCapacity:{type:"integer"},SecondsBeforeTimeout:{type:"integer"},TimeoutAction:{}}}},ModifyCustomDBEngineVersion:{input:{type:"structure",required:["Engine","EngineVersion"],members:{Engine:{},EngineVersion:{},Description:{},Status:{}}},output:{shape:"S21",resultWrapper:"ModifyCustomDBEngineVersionResult"}},ModifyDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},NewDBClusterIdentifier:{},ApplyImmediately:{type:"boolean"},BackupRetentionPeriod:{type:"integer"},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},Port:{type:"integer"},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},EnableIAMDatabaseAuthentication:{type:"boolean"},BacktrackWindow:{type:"long"},CloudwatchLogsExportConfiguration:{shape:"Sb3"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},DBInstanceParameterGroupName:{},Domain:{},DomainIAMRoleName:{},ScalingConfiguration:{shape:"S2e"},DeletionProtection:{type:"boolean"},EnableHttpEndpoint:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},EnableGlobalWriteForwarding:{type:"boolean"},DBClusterInstanceClass:{},AllocatedStorage:{type:"integer"},StorageType:{},Iops:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"}}},output:{resultWrapper:"ModifyDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},ModifyDBClusterEndpoint:{input:{type:"structure",required:["DBClusterEndpointIdentifier"],members:{DBClusterEndpointIdentifier:{},EndpointType:{},StaticMembers:{shape:"Sv"},ExcludedMembers:{shape:"Sv"}}}, -output:{shape:"S2x",resultWrapper:"ModifyDBClusterEndpointResult"}},ModifyDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName","Parameters"],members:{DBClusterParameterGroupName:{},Parameters:{shape:"S6k"}}},output:{shape:"Sb7",resultWrapper:"ModifyDBClusterParameterGroupResult"}},ModifyDBClusterSnapshotAttribute:{input:{type:"structure",required:["DBClusterSnapshotIdentifier","AttributeName"],members:{DBClusterSnapshotIdentifier:{},AttributeName:{},ValuesToAdd:{shape:"S6s"},ValuesToRemove:{shape:"S6s"}}},output:{resultWrapper:"ModifyDBClusterSnapshotAttributeResult",type:"structure",members:{DBClusterSnapshotAttributesResult:{shape:"S6p"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSubnetGroupName:{},DBSecurityGroups:{shape:"S33"},VpcSecurityGroupIds:{shape:"S2c"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},CACertificateIdentifier:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},DBPortNumber:{type:"integer"},PubliclyAccessible:{type:"boolean"},MonitoringRoleArn:{},DomainIAMRoleName:{},PromotionTier:{type:"integer"},EnableIAMDatabaseAuthentication:{type:"boolean"},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},CloudwatchLogsExportConfiguration:{shape:"Sb3"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DeletionProtection:{type:"boolean"},MaxAllocatedStorage:{type:"integer"},CertificateRotationRestart:{type:"boolean"},ReplicaMode:{},EnableCustomerOwnedIp:{type:"boolean"},AwsBackupRecoveryPointArn:{},AutomationMode:{},ResumeFullAutomationModeMinutes:{type:"integer"}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S6k"}}},output:{shape:"Sbe",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBProxy:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},NewDBProxyName:{},Auth:{shape:"S3x"},RequireTLS:{type:"boolean"},IdleClientTimeout:{type:"integer"},DebugLogging:{type:"boolean"},RoleArn:{},SecurityGroups:{shape:"Sv"}}},output:{resultWrapper:"ModifyDBProxyResult",type:"structure",members:{DBProxy:{shape:"S42"}}}},ModifyDBProxyEndpoint:{input:{type:"structure",required:["DBProxyEndpointName"],members:{DBProxyEndpointName:{},NewDBProxyEndpointName:{},VpcSecurityGroupIds:{shape:"Sv"}}},output:{resultWrapper:"ModifyDBProxyEndpointResult",type:"structure",members:{DBProxyEndpoint:{shape:"S4b"}}}},ModifyDBProxyTargetGroup:{input:{type:"structure",required:["TargetGroupName","DBProxyName"],members:{TargetGroupName:{},DBProxyName:{},ConnectionPoolConfig:{type:"structure",members:{MaxConnectionsPercent:{type:"integer"},MaxIdleConnectionsPercent:{type:"integer"},ConnectionBorrowTimeout:{type:"integer"},SessionPinningFilters:{shape:"Sv"},InitQuery:{}}},NewName:{}}},output:{resultWrapper:"ModifyDBProxyTargetGroupResult",type:"structure",members:{DBProxyTargetGroup:{shape:"S7r"}}}},ModifyDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{},EngineVersion:{},OptionGroupName:{}}},output:{resultWrapper:"ModifyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S19"}}}},ModifyDBSnapshotAttribute:{input:{type:"structure",required:["DBSnapshotIdentifier","AttributeName"],members:{DBSnapshotIdentifier:{},AttributeName:{},ValuesToAdd:{shape:"S6s"},ValuesToRemove:{shape:"S6s"}}},output:{resultWrapper:"ModifyDBSnapshotAttributeResult",type:"structure",members:{DBSnapshotAttributesResult:{shape:"S87"}}}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S4i"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S39"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S8"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},ModifyGlobalCluster:{input:{type:"structure",members:{GlobalClusterIdentifier:{},NewGlobalClusterIdentifier:{},DeletionProtection:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"}}},output:{resultWrapper:"ModifyGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},OptionVersion:{},DBSecurityGroupMemberships:{shape:"S33"},VpcSecurityGroupMemberships:{shape:"S2c"},OptionSettings:{type:"list",member:{shape:"S1j",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1f"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},PromoteReadReplicaDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"PromoteReadReplicaDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"},Tags:{shape:"Sb"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"Sa0"}}}},RebootDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"RebootDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},RegisterDBProxyTargets:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},TargetGroupName:{},DBInstanceIdentifiers:{shape:"Sv"},DBClusterIdentifiers:{shape:"Sv"}}},output:{resultWrapper:"RegisterDBProxyTargetsResult",type:"structure",members:{DBProxyTargets:{shape:"S7v"}}}},RemoveFromGlobalCluster:{input:{type:"structure",members:{GlobalClusterIdentifier:{},DbClusterIdentifier:{}}},output:{resultWrapper:"RemoveFromGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},RemoveRoleFromDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","RoleArn"],members:{DBClusterIdentifier:{},RoleArn:{},FeatureName:{}}}},RemoveRoleFromDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","RoleArn","FeatureName"],members:{DBInstanceIdentifier:{},RoleArn:{},FeatureName:{}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S6k"}}},output:{shape:"Sb7",resultWrapper:"ResetDBClusterParameterGroupResult"}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S6k"}}},output:{shape:"Sbe",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBClusterFromS3:{input:{type:"structure",required:["DBClusterIdentifier","Engine","MasterUsername","MasterUserPassword","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],members:{AvailabilityZones:{shape:"S13"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},DBSubnetGroupName:{},Engine:{},EngineVersion:{},Port:{type:"integer"},MasterUsername:{},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},Tags:{shape:"Sb"},StorageEncrypted:{type:"boolean"},KmsKeyId:{},EnableIAMDatabaseAuthentication:{type:"boolean"},SourceEngine:{},SourceEngineVersion:{},S3BucketName:{},S3Prefix:{},S3IngestionRoleArn:{},BacktrackWindow:{type:"long"},EnableCloudwatchLogsExports:{shape:"S29"},DeletionProtection:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},Domain:{},DomainIAMRoleName:{}}},output:{resultWrapper:"RestoreDBClusterFromS3Result",type:"structure",members:{DBCluster:{shape:"S2g"}}}},RestoreDBClusterFromSnapshot:{input:{type:"structure",required:["DBClusterIdentifier","SnapshotIdentifier","Engine"],members:{AvailabilityZones:{shape:"S13"},DBClusterIdentifier:{},SnapshotIdentifier:{},Engine:{},EngineVersion:{},Port:{type:"integer"},DBSubnetGroupName:{},DatabaseName:{},OptionGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},Tags:{shape:"Sb"},KmsKeyId:{},EnableIAMDatabaseAuthentication:{type:"boolean"},BacktrackWindow:{type:"long"},EnableCloudwatchLogsExports:{shape:"S29"},EngineMode:{},ScalingConfiguration:{shape:"S2e"},DBClusterParameterGroupName:{},DeletionProtection:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},Domain:{},DomainIAMRoleName:{},DBClusterInstanceClass:{},StorageType:{},Iops:{type:"integer"},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"RestoreDBClusterFromSnapshotResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},RestoreDBClusterToPointInTime:{input:{type:"structure",required:["DBClusterIdentifier","SourceDBClusterIdentifier"],members:{DBClusterIdentifier:{},RestoreType:{},SourceDBClusterIdentifier:{},RestoreToTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},Port:{type:"integer"},DBSubnetGroupName:{},OptionGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},Tags:{shape:"Sb"},KmsKeyId:{},EnableIAMDatabaseAuthentication:{type:"boolean"},BacktrackWindow:{type:"long"},EnableCloudwatchLogsExports:{shape:"S29"},DBClusterParameterGroupName:{},DeletionProtection:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},Domain:{},DomainIAMRoleName:{},ScalingConfiguration:{shape:"S2e"},EngineMode:{},DBClusterInstanceClass:{},StorageType:{},PubliclyAccessible:{type:"boolean"},Iops:{type:"integer"}}},output:{resultWrapper:"RestoreDBClusterToPointInTimeResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"Sb"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},VpcSecurityGroupIds:{shape:"S2c"},Domain:{},CopyTagsToSnapshot:{type:"boolean"},DomainIAMRoleName:{},EnableIAMDatabaseAuthentication:{type:"boolean"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DBParameterGroupName:{},DeletionProtection:{type:"boolean"},EnableCustomerOwnedIp:{type:"boolean"},CustomIamInstanceProfile:{},BackupTarget:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},RestoreDBInstanceFromS3:{input:{type:"structure",required:["DBInstanceIdentifier","DBInstanceClass","Engine","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"S33"},VpcSecurityGroupIds:{shape:"S2c"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"Sb"},StorageType:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},EnableIAMDatabaseAuthentication:{type:"boolean"},SourceEngine:{},SourceEngineVersion:{},S3BucketName:{},S3Prefix:{},S3IngestionRoleArn:{},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DeletionProtection:{type:"boolean"},MaxAllocatedStorage:{type:"integer"}}},output:{resultWrapper:"RestoreDBInstanceFromS3Result",type:"structure",members:{DBInstance:{shape:"S35"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},CopyTagsToSnapshot:{type:"boolean"},Tags:{shape:"Sb"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},VpcSecurityGroupIds:{shape:"S2c"},Domain:{},DomainIAMRoleName:{},EnableIAMDatabaseAuthentication:{type:"boolean"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DBParameterGroupName:{},DeletionProtection:{type:"boolean"},SourceDbiResourceId:{},MaxAllocatedStorage:{type:"integer"},SourceDBInstanceAutomatedBackupsArn:{},EnableCustomerOwnedIp:{type:"boolean"},CustomIamInstanceProfile:{},BackupTarget:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sl"}}}},StartActivityStream:{input:{type:"structure",required:["ResourceArn","Mode","KmsKeyId"],members:{ResourceArn:{},Mode:{},KmsKeyId:{},ApplyImmediately:{type:"boolean"},EngineNativeAuditFieldsIncluded:{type:"boolean"}}},output:{resultWrapper:"StartActivityStreamResult",type:"structure",members:{KmsKeyId:{},KinesisStreamName:{},Status:{},Mode:{},ApplyImmediately:{type:"boolean"},EngineNativeAuditFieldsIncluded:{type:"boolean"}}}},StartDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"StartDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},StartDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{}}},output:{resultWrapper:"StartDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},StartDBInstanceAutomatedBackupsReplication:{input:{type:"structure",required:["SourceDBInstanceArn"],members:{SourceDBInstanceArn:{},BackupRetentionPeriod:{type:"integer"},KmsKeyId:{},PreSignedUrl:{}}},output:{resultWrapper:"StartDBInstanceAutomatedBackupsReplicationResult",type:"structure",members:{DBInstanceAutomatedBackup:{shape:"S59"}}}},StartExportTask:{input:{type:"structure",required:["ExportTaskIdentifier","SourceArn","S3BucketName","IamRoleArn","KmsKeyId"],members:{ExportTaskIdentifier:{},SourceArn:{},S3BucketName:{},IamRoleArn:{},KmsKeyId:{},S3Prefix:{},ExportOnly:{shape:"Sv"}}},output:{shape:"Su",resultWrapper:"StartExportTaskResult"}},StopActivityStream:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"StopActivityStreamResult",type:"structure",members:{KmsKeyId:{},KinesisStreamName:{},Status:{}}}},StopDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"StopDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},StopDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{}}},output:{resultWrapper:"StopDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},StopDBInstanceAutomatedBackupsReplication:{input:{type:"structure",required:["SourceDBInstanceArn"],members:{SourceDBInstanceArn:{}}},output:{resultWrapper:"StopDBInstanceAutomatedBackupsReplicationResult",type:"structure",members:{DBInstanceAutomatedBackup:{shape:"S59"}}}}},shapes:{S6:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S7"},EventCategoriesList:{shape:"S8"},Enabled:{type:"boolean"},EventSubscriptionArn:{}},wrapper:!0},S7:{type:"list",member:{locationName:"SourceId"}},S8:{type:"list",member:{locationName:"EventCategory"}},Sb:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sf:{type:"structure",members:{ResourceIdentifier:{},PendingMaintenanceActionDetails:{type:"list",member:{locationName:"PendingMaintenanceAction",type:"structure",members:{Action:{},AutoAppliedAfterDate:{type:"timestamp"},ForcedApplyDate:{type:"timestamp"},OptInStatus:{},CurrentApplyDate:{type:"timestamp"},Description:{}}}}},wrapper:!0},Sl:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}},DBSecurityGroupArn:{}},wrapper:!0},Ss:{type:"structure",members:{DBClusterIdentifier:{},BacktrackIdentifier:{},BacktrackTo:{type:"timestamp"},BacktrackedFrom:{type:"timestamp"},BacktrackRequestCreationTime:{type:"timestamp"},Status:{}}},Su:{type:"structure",members:{ExportTaskIdentifier:{},SourceArn:{},ExportOnly:{shape:"Sv"},SnapshotTime:{type:"timestamp"},TaskStartTime:{type:"timestamp"},TaskEndTime:{type:"timestamp"},S3Bucket:{},S3Prefix:{},IamRoleArn:{},KmsKeyId:{},Status:{},PercentProgress:{type:"integer"},TotalExtractedDataInGB:{type:"integer"},FailureCause:{},WarningMessage:{}}},Sv:{type:"list",member:{}},Sz:{type:"structure",members:{DBClusterParameterGroupName:{},DBParameterGroupFamily:{},Description:{},DBClusterParameterGroupArn:{}},wrapper:!0},S12:{type:"structure",members:{AvailabilityZones:{shape:"S13"},DBClusterSnapshotIdentifier:{},DBClusterIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},EngineMode:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},VpcId:{},ClusterCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},PercentProgress:{type:"integer"},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DBClusterSnapshotArn:{},SourceDBClusterSnapshotArn:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},TagList:{shape:"Sb"}},wrapper:!0},S13:{type:"list",member:{locationName:"AvailabilityZone"}},S16:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},DBParameterGroupArn:{}},wrapper:!0},S19:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{},PercentProgress:{type:"integer"},SourceRegion:{},SourceDBSnapshotIdentifier:{},StorageType:{},TdeCredentialArn:{},Encrypted:{type:"boolean"},KmsKeyId:{},DBSnapshotArn:{},Timezone:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},ProcessorFeatures:{shape:"S1b"},DbiResourceId:{},TagList:{shape:"Sb"},OriginalSnapshotCreateTime:{type:"timestamp"},SnapshotTarget:{}},wrapper:!0},S1b:{type:"list",member:{locationName:"ProcessorFeature",type:"structure",members:{Name:{},Value:{}}}},S1f:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Permanent:{type:"boolean"},Port:{type:"integer"},OptionVersion:{},OptionSettings:{type:"list",member:{shape:"S1j",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"S1k"},VpcSecurityGroupMemberships:{shape:"S1m"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{},OptionGroupArn:{}},wrapper:!0},S1j:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},S1k:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},S1m:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S1q:{type:"structure",members:{CustomAvailabilityZoneId:{},CustomAvailabilityZoneName:{},CustomAvailabilityZoneStatus:{},VpnDetails:{type:"structure",members:{VpnId:{},VpnTunnelOriginatorIP:{},VpnGatewayIp:{},VpnPSK:{type:"string",sensitive:!0},VpnName:{},VpnState:{}}}},wrapper:!0},S21:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S22"},SupportedCharacterSets:{shape:"S23"},SupportedNcharCharacterSets:{shape:"S23"},ValidUpgradeTarget:{type:"list",member:{locationName:"UpgradeTarget",type:"structure",members:{Engine:{},EngineVersion:{},Description:{},AutoUpgrade:{type:"boolean"},IsMajorVersionUpgrade:{type:"boolean"},SupportedEngineModes:{shape:"S26"},SupportsParallelQuery:{type:"boolean"},SupportsGlobalDatabases:{type:"boolean"}}}},SupportedTimezones:{type:"list",member:{locationName:"Timezone",type:"structure",members:{TimezoneName:{}}}},ExportableLogTypes:{shape:"S29"},SupportsLogExportsToCloudwatchLogs:{type:"boolean"},SupportsReadReplica:{type:"boolean"},SupportedEngineModes:{shape:"S26"},SupportedFeatureNames:{type:"list",member:{}},Status:{},SupportsParallelQuery:{type:"boolean"},SupportsGlobalDatabases:{type:"boolean"},MajorEngineVersion:{},DatabaseInstallationFilesS3BucketName:{},DatabaseInstallationFilesS3Prefix:{},DBEngineVersionArn:{},KMSKeyId:{},CreateTime:{type:"timestamp"},TagList:{shape:"Sb"}}},S22:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S23:{type:"list",member:{shape:"S22",locationName:"CharacterSet"}},S26:{type:"list",member:{}},S29:{type:"list",member:{}},S2c:{type:"list",member:{locationName:"VpcSecurityGroupId"}},S2e:{type:"structure",members:{MinCapacity:{type:"integer"},MaxCapacity:{type:"integer"},AutoPause:{type:"boolean"},SecondsUntilAutoPause:{type:"integer"},TimeoutAction:{},SecondsBeforeTimeout:{type:"integer"}}},S2g:{type:"structure",members:{AllocatedStorage:{type:"integer"},AvailabilityZones:{shape:"S13"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroup:{},DBSubnetGroup:{},Status:{},AutomaticRestartTime:{type:"timestamp"},PercentProgress:{},EarliestRestorableTime:{type:"timestamp"},Endpoint:{},ReaderEndpoint:{},CustomEndpoints:{shape:"Sv"},MultiAZ:{type:"boolean"},Engine:{},EngineVersion:{},LatestRestorableTime:{type:"timestamp"},Port:{type:"integer"},MasterUsername:{},DBClusterOptionGroupMemberships:{type:"list",member:{locationName:"DBClusterOptionGroup",type:"structure",members:{DBClusterOptionGroupName:{},Status:{}}}},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},ReplicationSourceIdentifier:{},ReadReplicaIdentifiers:{type:"list",member:{locationName:"ReadReplicaIdentifier"}},DBClusterMembers:{type:"list",member:{locationName:"DBClusterMember",type:"structure",members:{DBInstanceIdentifier:{},IsClusterWriter:{type:"boolean"},DBClusterParameterGroupStatus:{},PromotionTier:{type:"integer"}},wrapper:!0}},VpcSecurityGroups:{shape:"S1m"},HostedZoneId:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DbClusterResourceId:{},DBClusterArn:{},AssociatedRoles:{type:"list",member:{locationName:"DBClusterRole",type:"structure",members:{RoleArn:{},Status:{},FeatureName:{}}}},IAMDatabaseAuthenticationEnabled:{type:"boolean"},CloneGroupId:{},ClusterCreateTime:{type:"timestamp"},EarliestBacktrackTime:{type:"timestamp"},BacktrackWindow:{type:"long"},BacktrackConsumedChangeRecords:{type:"long"},EnabledCloudwatchLogsExports:{shape:"S29"},Capacity:{type:"integer"},EngineMode:{},ScalingConfigurationInfo:{type:"structure",members:{MinCapacity:{type:"integer"},MaxCapacity:{type:"integer"},AutoPause:{type:"boolean"},SecondsUntilAutoPause:{type:"integer"},TimeoutAction:{},SecondsBeforeTimeout:{type:"integer"}}},DeletionProtection:{type:"boolean"},HttpEndpointEnabled:{type:"boolean"},ActivityStreamMode:{},ActivityStreamStatus:{},ActivityStreamKmsKeyId:{},ActivityStreamKinesisStreamName:{},CopyTagsToSnapshot:{type:"boolean"},CrossAccountClone:{type:"boolean"},DomainMemberships:{shape:"S2r"},TagList:{shape:"Sb"},GlobalWriteForwardingStatus:{},GlobalWriteForwardingRequested:{type:"boolean"},PendingModifiedValues:{type:"structure",members:{PendingCloudwatchLogsExports:{shape:"S2v"},DBClusterIdentifier:{},MasterUserPassword:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},EngineVersion:{}}},DBClusterInstanceClass:{},StorageType:{},Iops:{type:"integer"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},PerformanceInsightsEnabled:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"}},wrapper:!0},S2r:{type:"list",member:{locationName:"DomainMembership",type:"structure",members:{Domain:{},Status:{},FQDN:{},IAMRoleName:{}}}},S2v:{type:"structure",members:{LogTypesToEnable:{shape:"S29"},LogTypesToDisable:{shape:"S29"}}},S2x:{type:"structure",members:{DBClusterEndpointIdentifier:{},DBClusterIdentifier:{},DBClusterEndpointResourceIdentifier:{},Endpoint:{},Status:{},EndpointType:{},CustomEndpointType:{},StaticMembers:{shape:"Sv"},ExcludedMembers:{shape:"Sv"},DBClusterEndpointArn:{}}},S33:{type:"list",member:{locationName:"DBSecurityGroupName"}},S35:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},AutomaticRestartTime:{type:"timestamp"},MasterUsername:{},DBName:{},Endpoint:{shape:"S36"},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"S1k"},VpcSecurityGroups:{shape:"S1m"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S39"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},LicenseModel:{},Iops:{type:"integer"},DBInstanceIdentifier:{},StorageType:{},CACertificateIdentifier:{},DBSubnetGroupName:{},PendingCloudwatchLogsExports:{shape:"S2v"},ProcessorFeatures:{shape:"S1b"},IAMDatabaseAuthenticationEnabled:{type:"boolean"},AutomationMode:{},ResumeFullAutomationModeTime:{type:"timestamp"}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},ReadReplicaDBClusterIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBClusterIdentifier"}},ReplicaMode:{},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},NcharCharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"},StatusInfos:{type:"list",member:{locationName:"DBInstanceStatusInfo",type:"structure",members:{StatusType:{},Normal:{type:"boolean"},Status:{},Message:{}}}},StorageType:{},TdeCredentialArn:{},DbInstancePort:{type:"integer"},DBClusterIdentifier:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DbiResourceId:{},CACertificateIdentifier:{},DomainMemberships:{shape:"S2r"},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},EnhancedMonitoringResourceArn:{},MonitoringRoleArn:{},PromotionTier:{type:"integer"},DBInstanceArn:{},Timezone:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},PerformanceInsightsEnabled:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},EnabledCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},DeletionProtection:{type:"boolean"},AssociatedRoles:{type:"list",member:{locationName:"DBInstanceRole",type:"structure",members:{RoleArn:{},FeatureName:{},Status:{}}}},ListenerEndpoint:{shape:"S36"},MaxAllocatedStorage:{type:"integer"},TagList:{shape:"Sb"},DBInstanceAutomatedBackupsReplications:{shape:"S3p"},CustomerOwnedIpEnabled:{type:"boolean"},AwsBackupRecoveryPointArn:{},ActivityStreamStatus:{},ActivityStreamKmsKeyId:{},ActivityStreamKinesisStreamName:{},ActivityStreamMode:{},ActivityStreamEngineNativeAuditFieldsIncluded:{type:"boolean"},AutomationMode:{},ResumeFullAutomationModeTime:{type:"timestamp"},CustomIamInstanceProfile:{},BackupTarget:{}},wrapper:!0},S36:{type:"structure",members:{Address:{},Port:{type:"integer"},HostedZoneId:{}}},S39:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S3c"},SubnetOutpost:{type:"structure",members:{Arn:{}}},SubnetStatus:{}}}},DBSubnetGroupArn:{}},wrapper:!0},S3c:{type:"structure",members:{Name:{}},wrapper:!0},S3p:{type:"list",member:{locationName:"DBInstanceAutomatedBackupsReplication",type:"structure", -members:{DBInstanceAutomatedBackupsArn:{}}}},S3x:{type:"list",member:{type:"structure",members:{Description:{},UserName:{},AuthScheme:{},SecretArn:{},IAMAuth:{}}}},S42:{type:"structure",members:{DBProxyName:{},DBProxyArn:{},Status:{},EngineFamily:{},VpcId:{},VpcSecurityGroupIds:{shape:"Sv"},VpcSubnetIds:{shape:"Sv"},Auth:{type:"list",member:{type:"structure",members:{Description:{},UserName:{},AuthScheme:{},SecretArn:{},IAMAuth:{}}}},RoleArn:{},Endpoint:{},RequireTLS:{type:"boolean"},IdleClientTimeout:{type:"integer"},DebugLogging:{type:"boolean"},CreatedDate:{type:"timestamp"},UpdatedDate:{type:"timestamp"}}},S4b:{type:"structure",members:{DBProxyEndpointName:{},DBProxyEndpointArn:{},DBProxyName:{},Status:{},VpcId:{},VpcSecurityGroupIds:{shape:"Sv"},VpcSubnetIds:{shape:"Sv"},Endpoint:{},CreatedDate:{type:"timestamp"},TargetRole:{},IsDefault:{type:"boolean"}}},S4i:{type:"list",member:{locationName:"SubnetIdentifier"}},S4o:{type:"structure",members:{GlobalClusterIdentifier:{},GlobalClusterResourceId:{},GlobalClusterArn:{},Status:{},Engine:{},EngineVersion:{},DatabaseName:{},StorageEncrypted:{type:"boolean"},DeletionProtection:{type:"boolean"},GlobalClusterMembers:{type:"list",member:{locationName:"GlobalClusterMember",type:"structure",members:{DBClusterArn:{},Readers:{type:"list",member:{}},IsWriter:{type:"boolean"},GlobalWriteForwardingStatus:{}},wrapper:!0}},FailoverState:{type:"structure",members:{Status:{},FromDbClusterArn:{},ToDbClusterArn:{}},wrapper:!0}},wrapper:!0},S59:{type:"structure",members:{DBInstanceArn:{},DbiResourceId:{},Region:{},DBInstanceIdentifier:{},RestoreWindow:{type:"structure",members:{EarliestTime:{type:"timestamp"},LatestTime:{type:"timestamp"}}},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},Engine:{},EngineVersion:{},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},TdeCredentialArn:{},Encrypted:{type:"boolean"},StorageType:{},KmsKeyId:{},Timezone:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},BackupRetentionPeriod:{type:"integer"},DBInstanceAutomatedBackupsArn:{},DBInstanceAutomatedBackupsReplications:{shape:"S3p"},BackupTarget:{}},wrapper:!0},S5p:{type:"structure",members:{InstallationMediaId:{},CustomAvailabilityZoneId:{},Engine:{},EngineVersion:{},EngineInstallationMediaPath:{},OSInstallationMediaPath:{},Status:{},FailureCause:{type:"structure",members:{Message:{}}}}},S60:{type:"list",member:{locationName:"Filter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{locationName:"Value"}}}}},S65:{type:"structure",members:{CertificateIdentifier:{},CertificateType:{},Thumbprint:{},ValidFrom:{type:"timestamp"},ValidTill:{type:"timestamp"},CertificateArn:{},CustomerOverride:{type:"boolean"},CustomerOverrideValidTill:{type:"timestamp"}},wrapper:!0},S6k:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{},SupportedEngineModes:{shape:"S26"}}}},S6p:{type:"structure",members:{DBClusterSnapshotIdentifier:{},DBClusterSnapshotAttributes:{type:"list",member:{locationName:"DBClusterSnapshotAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{shape:"S6s"}}}}},wrapper:!0},S6s:{type:"list",member:{locationName:"AttributeValue"}},S7r:{type:"structure",members:{DBProxyName:{},TargetGroupName:{},TargetGroupArn:{},IsDefault:{type:"boolean"},Status:{},ConnectionPoolConfig:{type:"structure",members:{MaxConnectionsPercent:{type:"integer"},MaxIdleConnectionsPercent:{type:"integer"},ConnectionBorrowTimeout:{type:"integer"},SessionPinningFilters:{shape:"Sv"},InitQuery:{}}},CreatedDate:{type:"timestamp"},UpdatedDate:{type:"timestamp"}}},S7v:{type:"list",member:{type:"structure",members:{TargetArn:{},Endpoint:{},TrackedClusterId:{},RdsResourceId:{},Port:{type:"integer"},Type:{},Role:{},TargetHealth:{type:"structure",members:{State:{},Reason:{},Description:{}}}}}},S87:{type:"structure",members:{DBSnapshotIdentifier:{},DBSnapshotAttributes:{type:"list",member:{locationName:"DBSnapshotAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{shape:"S6s"}},wrapper:!0}}},wrapper:!0},S8i:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S6k"}},wrapper:!0},S9r:{type:"list",member:{locationName:"AvailableProcessorFeature",type:"structure",members:{Name:{},DefaultValue:{},AllowedValues:{}}}},Sa0:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"Sa2"},ReservedDBInstanceArn:{},LeaseId:{}},wrapper:!0},Sa2:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},Sah:{type:"list",member:{locationName:"Range",type:"structure",members:{From:{type:"integer"},To:{type:"integer"},Step:{type:"integer"}}}},Sb3:{type:"structure",members:{EnableLogTypes:{shape:"S29"},DisableLogTypes:{shape:"S29"}}},Sb7:{type:"structure",members:{DBClusterParameterGroupName:{}}},Sbe:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],193:[function(e,t,r){t.exports={pagination:{DescribeCertificates:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Certificates"},DescribeCustomAvailabilityZones:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CustomAvailabilityZones"},DescribeDBClusterBacktracks:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusterBacktracks"},DescribeDBClusterEndpoints:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusterEndpoints"},DescribeDBClusterParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusterParameterGroups"},DescribeDBClusterParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeDBClusterSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusterSnapshots"},DescribeDBClusters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusters"},DescribeDBEngineVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBEngineVersions"},DescribeDBInstanceAutomatedBackups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBInstanceAutomatedBackups"},DescribeDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBInstances"},DescribeDBLogFiles:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DescribeDBLogFiles"},DescribeDBParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeDBProxies:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBProxies"},DescribeDBProxyEndpoints:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBProxyEndpoints"},DescribeDBProxyTargetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"TargetGroups"},DescribeDBProxyTargets:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Targets"},DescribeDBSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"EngineDefaults.Marker",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeExportTasks:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ExportTasks"},DescribeGlobalClusters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"GlobalClusters"},DescribeInstallationMedia:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"InstallationMedia"},DescribeOptionGroupOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OrderableDBInstanceOptions"},DescribePendingMaintenanceActions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"PendingMaintenanceActions"},DescribeReservedDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstancesOfferings"},DescribeSourceRegions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"SourceRegions"},DownloadDBLogFilePortion:{input_token:"Marker",limit_key:"NumberOfLines",more_results:"AdditionalDataPending",output_token:"Marker",result_key:"LogFileData"},ListTagsForResource:{result_key:"TagList"}}}},{}],194:[function(e,t,r){t.exports={version:2,waiters:{DBInstanceAvailable:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]},DBInstanceDeleted:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(DBInstances) == `0`"},{expected:"DBInstanceNotFound",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]},DBSnapshotAvailable:{delay:30,operation:"DescribeDBSnapshots",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBSnapshots[].Status"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"}]},DBSnapshotDeleted:{delay:30,operation:"DescribeDBSnapshots",maxAttempts:60,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(DBSnapshots) == `0`"},{expected:"DBSnapshotNotFound",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"}]},DBClusterSnapshotAvailable:{delay:30,operation:"DescribeDBClusterSnapshots",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBClusterSnapshots[].Status"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"}]},DBClusterSnapshotDeleted:{delay:30,operation:"DescribeDBClusterSnapshots",maxAttempts:60,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(DBClusterSnapshots) == `0`"},{expected:"DBClusterSnapshotNotFoundFault",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"}]}}}},{}],195:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-12-01",endpointPrefix:"redshift",protocol:"query",serviceFullName:"Amazon Redshift",serviceId:"Redshift",signatureVersion:"v4",uid:"redshift-2012-12-01",xmlNamespace:"http://redshift.amazonaws.com/doc/2012-12-01/"},operations:{AcceptReservedNodeExchange:{input:{type:"structure",required:["ReservedNodeId","TargetReservedNodeOfferingId"],members:{ReservedNodeId:{},TargetReservedNodeOfferingId:{}}},output:{resultWrapper:"AcceptReservedNodeExchangeResult",type:"structure",members:{ExchangedReservedNode:{shape:"S4"}}}},AddPartner:{input:{shape:"Sb"},output:{shape:"Sg",resultWrapper:"AddPartnerResult"}},AssociateDataShareConsumer:{input:{type:"structure",required:["DataShareArn"],members:{DataShareArn:{},AssociateEntireAccount:{type:"boolean"},ConsumerArn:{}}},output:{shape:"Sj",resultWrapper:"AssociateDataShareConsumerResult"}},AuthorizeClusterSecurityGroupIngress:{input:{type:"structure",required:["ClusterSecurityGroupName"],members:{ClusterSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeClusterSecurityGroupIngressResult",type:"structure",members:{ClusterSecurityGroup:{shape:"Sq"}}}},AuthorizeDataShare:{input:{type:"structure",required:["DataShareArn","ConsumerIdentifier"],members:{DataShareArn:{},ConsumerIdentifier:{}}},output:{shape:"Sj",resultWrapper:"AuthorizeDataShareResult"}},AuthorizeEndpointAccess:{input:{type:"structure",required:["Account"],members:{ClusterIdentifier:{},Account:{},VpcIds:{shape:"Sz"}}},output:{shape:"S10",resultWrapper:"AuthorizeEndpointAccessResult"}},AuthorizeSnapshotAccess:{input:{type:"structure",required:["SnapshotIdentifier","AccountWithRestoreAccess"],members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{},AccountWithRestoreAccess:{}}},output:{resultWrapper:"AuthorizeSnapshotAccessResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},BatchDeleteClusterSnapshots:{input:{type:"structure",required:["Identifiers"],members:{Identifiers:{type:"list",member:{shape:"S1c",locationName:"DeleteClusterSnapshotMessage"}}}},output:{resultWrapper:"BatchDeleteClusterSnapshotsResult",type:"structure",members:{Resources:{shape:"S1e"},Errors:{type:"list",member:{shape:"S1g",locationName:"SnapshotErrorMessage"}}}}},BatchModifyClusterSnapshots:{input:{type:"structure",required:["SnapshotIdentifierList"],members:{SnapshotIdentifierList:{shape:"S1e"},ManualSnapshotRetentionPeriod:{type:"integer"},Force:{type:"boolean"}}},output:{resultWrapper:"BatchModifyClusterSnapshotsResult",type:"structure",members:{Resources:{shape:"S1e"},Errors:{type:"list",member:{shape:"S1g",locationName:"SnapshotErrorMessage"}}}}},CancelResize:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S1l",resultWrapper:"CancelResizeResult"}},CopyClusterSnapshot:{input:{type:"structure",required:["SourceSnapshotIdentifier","TargetSnapshotIdentifier"],members:{SourceSnapshotIdentifier:{},SourceSnapshotClusterIdentifier:{},TargetSnapshotIdentifier:{},ManualSnapshotRetentionPeriod:{type:"integer"}}},output:{resultWrapper:"CopyClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},CreateAuthenticationProfile:{input:{type:"structure",required:["AuthenticationProfileName","AuthenticationProfileContent"],members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}},output:{resultWrapper:"CreateAuthenticationProfileResult",type:"structure",members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}}},CreateCluster:{input:{type:"structure",required:["ClusterIdentifier","NodeType","MasterUsername","MasterUserPassword"],members:{DBName:{},ClusterIdentifier:{},ClusterType:{},NodeType:{},MasterUsername:{},MasterUserPassword:{},ClusterSecurityGroups:{shape:"S1x"},VpcSecurityGroupIds:{shape:"S1y"},ClusterSubnetGroupName:{},AvailabilityZone:{},PreferredMaintenanceWindow:{},ClusterParameterGroupName:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRetentionPeriod:{type:"integer"},Port:{type:"integer"},ClusterVersion:{},AllowVersionUpgrade:{type:"boolean"},NumberOfNodes:{type:"integer"},PubliclyAccessible:{type:"boolean"},Encrypted:{type:"boolean"},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},ElasticIp:{},Tags:{shape:"St"},KmsKeyId:{},EnhancedVpcRouting:{type:"boolean"},AdditionalInfo:{},IamRoles:{shape:"S1z"},MaintenanceTrackName:{},SnapshotScheduleIdentifier:{},AvailabilityZoneRelocation:{type:"boolean"},AquaConfigurationStatus:{},DefaultIamRoleArn:{}}},output:{resultWrapper:"CreateClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},CreateClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName","ParameterGroupFamily","Description"],members:{ParameterGroupName:{},ParameterGroupFamily:{},Description:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateClusterParameterGroupResult",type:"structure",members:{ClusterParameterGroup:{shape:"S31"}}}},CreateClusterSecurityGroup:{input:{type:"structure",required:["ClusterSecurityGroupName","Description"],members:{ClusterSecurityGroupName:{},Description:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateClusterSecurityGroupResult",type:"structure",members:{ClusterSecurityGroup:{shape:"Sq"}}}},CreateClusterSnapshot:{input:{type:"structure",required:["SnapshotIdentifier","ClusterIdentifier"],members:{SnapshotIdentifier:{},ClusterIdentifier:{},ManualSnapshotRetentionPeriod:{type:"integer"},Tags:{shape:"St"}}},output:{resultWrapper:"CreateClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},CreateClusterSubnetGroup:{input:{type:"structure",required:["ClusterSubnetGroupName","Description","SubnetIds"],members:{ClusterSubnetGroupName:{},Description:{},SubnetIds:{shape:"S37"},Tags:{shape:"St"}}},output:{resultWrapper:"CreateClusterSubnetGroupResult",type:"structure",members:{ClusterSubnetGroup:{shape:"S39"}}}},CreateEndpointAccess:{input:{type:"structure",required:["EndpointName","SubnetGroupName"],members:{ClusterIdentifier:{},ResourceOwner:{},EndpointName:{},SubnetGroupName:{},VpcSecurityGroupIds:{shape:"S1y"}}},output:{shape:"S3g",resultWrapper:"CreateEndpointAccessResult"}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},SourceIds:{shape:"S3i"},EventCategories:{shape:"S3j"},Severity:{},Enabled:{type:"boolean"},Tags:{shape:"St"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S3l"}}}},CreateHsmClientCertificate:{input:{type:"structure",required:["HsmClientCertificateIdentifier"],members:{HsmClientCertificateIdentifier:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateHsmClientCertificateResult",type:"structure",members:{HsmClientCertificate:{shape:"S3o"}}}},CreateHsmConfiguration:{input:{type:"structure",required:["HsmConfigurationIdentifier","Description","HsmIpAddress","HsmPartitionName","HsmPartitionPassword","HsmServerPublicCertificate"],members:{HsmConfigurationIdentifier:{},Description:{},HsmIpAddress:{},HsmPartitionName:{},HsmPartitionPassword:{},HsmServerPublicCertificate:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateHsmConfigurationResult",type:"structure",members:{HsmConfiguration:{shape:"S3r"}}}},CreateScheduledAction:{input:{type:"structure",required:["ScheduledActionName","TargetAction","Schedule","IamRole"],members:{ScheduledActionName:{},TargetAction:{shape:"S3t"},Schedule:{},IamRole:{},ScheduledActionDescription:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Enable:{type:"boolean"}}},output:{shape:"S3x",resultWrapper:"CreateScheduledActionResult"}},CreateSnapshotCopyGrant:{input:{type:"structure",required:["SnapshotCopyGrantName"],members:{SnapshotCopyGrantName:{},KmsKeyId:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateSnapshotCopyGrantResult",type:"structure",members:{SnapshotCopyGrant:{shape:"S42"}}}},CreateSnapshotSchedule:{input:{type:"structure",members:{ScheduleDefinitions:{shape:"S44"},ScheduleIdentifier:{},ScheduleDescription:{},Tags:{shape:"St"},DryRun:{type:"boolean"},NextInvocations:{type:"integer"}}},output:{shape:"S45",resultWrapper:"CreateSnapshotScheduleResult"}},CreateTags:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"St"}}}},CreateUsageLimit:{input:{type:"structure",required:["ClusterIdentifier","FeatureType","LimitType","Amount"],members:{ClusterIdentifier:{},FeatureType:{},LimitType:{},Amount:{type:"long"},Period:{},BreachAction:{},Tags:{shape:"St"}}},output:{shape:"S4f",resultWrapper:"CreateUsageLimitResult"}},DeauthorizeDataShare:{input:{type:"structure",required:["DataShareArn","ConsumerIdentifier"],members:{DataShareArn:{},ConsumerIdentifier:{}}},output:{shape:"Sj",resultWrapper:"DeauthorizeDataShareResult"}},DeleteAuthenticationProfile:{input:{type:"structure",required:["AuthenticationProfileName"],members:{AuthenticationProfileName:{}}},output:{resultWrapper:"DeleteAuthenticationProfileResult",type:"structure",members:{AuthenticationProfileName:{}}}},DeleteCluster:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},SkipFinalClusterSnapshot:{type:"boolean"},FinalClusterSnapshotIdentifier:{},FinalClusterSnapshotRetentionPeriod:{type:"integer"}}},output:{resultWrapper:"DeleteClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},DeleteClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName"],members:{ParameterGroupName:{}}}},DeleteClusterSecurityGroup:{input:{type:"structure",required:["ClusterSecurityGroupName"],members:{ClusterSecurityGroupName:{}}}},DeleteClusterSnapshot:{input:{shape:"S1c"},output:{resultWrapper:"DeleteClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},DeleteClusterSubnetGroup:{input:{type:"structure",required:["ClusterSubnetGroupName"],members:{ClusterSubnetGroupName:{}}}},DeleteEndpointAccess:{input:{type:"structure",required:["EndpointName"],members:{EndpointName:{}}},output:{shape:"S3g",resultWrapper:"DeleteEndpointAccessResult"}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}}},DeleteHsmClientCertificate:{input:{type:"structure",required:["HsmClientCertificateIdentifier"],members:{HsmClientCertificateIdentifier:{}}}},DeleteHsmConfiguration:{input:{type:"structure",required:["HsmConfigurationIdentifier"],members:{HsmConfigurationIdentifier:{}}}},DeletePartner:{input:{shape:"Sb"},output:{shape:"Sg",resultWrapper:"DeletePartnerResult"}},DeleteScheduledAction:{input:{type:"structure",required:["ScheduledActionName"],members:{ScheduledActionName:{}}}},DeleteSnapshotCopyGrant:{input:{type:"structure",required:["SnapshotCopyGrantName"],members:{SnapshotCopyGrantName:{}}}},DeleteSnapshotSchedule:{input:{type:"structure",required:["ScheduleIdentifier"],members:{ScheduleIdentifier:{}}}},DeleteTags:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{shape:"S4x"}}}},DeleteUsageLimit:{input:{type:"structure",required:["UsageLimitId"],members:{UsageLimitId:{}}}},DescribeAccountAttributes:{input:{type:"structure",members:{AttributeNames:{type:"list",member:{locationName:"AttributeName"}}}},output:{resultWrapper:"DescribeAccountAttributesResult",type:"structure",members:{AccountAttributes:{type:"list",member:{locationName:"AccountAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{type:"list",member:{locationName:"AttributeValueTarget",type:"structure",members:{AttributeValue:{}}}}}}}}}},DescribeAuthenticationProfiles:{input:{type:"structure",members:{AuthenticationProfileName:{}}},output:{resultWrapper:"DescribeAuthenticationProfilesResult",type:"structure",members:{AuthenticationProfiles:{type:"list",member:{type:"structure",members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}}}}}},DescribeClusterDbRevisions:{input:{type:"structure",members:{ClusterIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeClusterDbRevisionsResult",type:"structure",members:{Marker:{},ClusterDbRevisions:{type:"list",member:{locationName:"ClusterDbRevision",type:"structure",members:{ClusterIdentifier:{},CurrentDatabaseRevision:{},DatabaseRevisionReleaseDate:{type:"timestamp"},RevisionTargets:{type:"list",member:{locationName:"RevisionTarget",type:"structure",members:{DatabaseRevision:{},Description:{},DatabaseRevisionReleaseDate:{type:"timestamp"}}}}}}}}}},DescribeClusterParameterGroups:{input:{type:"structure",members:{ParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeClusterParameterGroupsResult",type:"structure",members:{Marker:{},ParameterGroups:{type:"list",member:{shape:"S31",locationName:"ClusterParameterGroup"}}}}},DescribeClusterParameters:{input:{type:"structure",required:["ParameterGroupName"],members:{ParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeClusterParametersResult",type:"structure",members:{Parameters:{shape:"S5m"},Marker:{}}}},DescribeClusterSecurityGroups:{input:{type:"structure",members:{ClusterSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeClusterSecurityGroupsResult",type:"structure",members:{Marker:{},ClusterSecurityGroups:{type:"list",member:{shape:"Sq",locationName:"ClusterSecurityGroup"}}}}},DescribeClusterSnapshots:{input:{type:"structure",members:{ClusterIdentifier:{},SnapshotIdentifier:{},SnapshotType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},MaxRecords:{type:"integer"},Marker:{},OwnerAccount:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"},ClusterExists:{type:"boolean"},SortingEntities:{type:"list",member:{locationName:"SnapshotSortingEntity",type:"structure",required:["Attribute"],members:{Attribute:{},SortOrder:{}}}}}},output:{resultWrapper:"DescribeClusterSnapshotsResult",type:"structure",members:{Marker:{},Snapshots:{type:"list",member:{shape:"S14",locationName:"Snapshot"}}}}},DescribeClusterSubnetGroups:{input:{type:"structure",members:{ClusterSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeClusterSubnetGroupsResult",type:"structure",members:{Marker:{},ClusterSubnetGroups:{type:"list",member:{shape:"S39",locationName:"ClusterSubnetGroup"}}}}},DescribeClusterTracks:{input:{type:"structure",members:{MaintenanceTrackName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeClusterTracksResult",type:"structure",members:{MaintenanceTracks:{type:"list",member:{locationName:"MaintenanceTrack",type:"structure",members:{MaintenanceTrackName:{},DatabaseVersion:{},UpdateTargets:{type:"list",member:{locationName:"UpdateTarget",type:"structure",members:{MaintenanceTrackName:{},DatabaseVersion:{},SupportedOperations:{type:"list",member:{locationName:"SupportedOperation",type:"structure",members:{OperationName:{}}}}}}}}}},Marker:{}}}},DescribeClusterVersions:{input:{type:"structure",members:{ClusterVersion:{},ClusterParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeClusterVersionsResult",type:"structure",members:{Marker:{},ClusterVersions:{type:"list",member:{locationName:"ClusterVersion",type:"structure",members:{ClusterVersion:{},ClusterParameterGroupFamily:{},Description:{}}}}}}},DescribeClusters:{input:{type:"structure",members:{ClusterIdentifier:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeClustersResult",type:"structure",members:{Marker:{},Clusters:{type:"list",member:{shape:"S22",locationName:"Cluster"}}}}},DescribeDataShares:{input:{type:"structure",members:{DataShareArn:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDataSharesResult",type:"structure",members:{DataShares:{shape:"S6j"},Marker:{}}}},DescribeDataSharesForConsumer:{input:{type:"structure",members:{ConsumerArn:{},Status:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDataSharesForConsumerResult",type:"structure",members:{DataShares:{shape:"S6j"},Marker:{}}}},DescribeDataSharesForProducer:{input:{type:"structure",members:{ProducerArn:{},Status:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDataSharesForProducerResult",type:"structure",members:{DataShares:{shape:"S6j"},Marker:{}}}},DescribeDefaultClusterParameters:{input:{type:"structure",required:["ParameterGroupFamily"],members:{ParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDefaultClusterParametersResult",type:"structure",members:{DefaultClusterParameters:{type:"structure",members:{ParameterGroupFamily:{},Marker:{},Parameters:{shape:"S5m"}},wrapper:!0}}}},DescribeEndpointAccess:{input:{type:"structure",members:{ClusterIdentifier:{},ResourceOwner:{},EndpointName:{},VpcId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEndpointAccessResult",type:"structure",members:{EndpointAccessList:{type:"list",member:{shape:"S3g"}},Marker:{}}}},DescribeEndpointAuthorization:{input:{type:"structure",members:{ClusterIdentifier:{},Account:{},Grantee:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEndpointAuthorizationResult",type:"structure",members:{EndpointAuthorizationList:{type:"list",member:{shape:"S10"}},Marker:{}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},Events:{type:"list",member:{locationName:"EventInfoMap",type:"structure",members:{EventId:{},EventCategories:{ -shape:"S3j"},EventDescription:{},Severity:{}},wrapper:!0}}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S3l",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S3j"},Severity:{},Date:{type:"timestamp"},EventId:{}}}}}}},DescribeHsmClientCertificates:{input:{type:"structure",members:{HsmClientCertificateIdentifier:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeHsmClientCertificatesResult",type:"structure",members:{Marker:{},HsmClientCertificates:{type:"list",member:{shape:"S3o",locationName:"HsmClientCertificate"}}}}},DescribeHsmConfigurations:{input:{type:"structure",members:{HsmConfigurationIdentifier:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeHsmConfigurationsResult",type:"structure",members:{Marker:{},HsmConfigurations:{type:"list",member:{shape:"S3r",locationName:"HsmConfiguration"}}}}},DescribeLoggingStatus:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S7k",resultWrapper:"DescribeLoggingStatusResult"}},DescribeNodeConfigurationOptions:{input:{type:"structure",required:["ActionType"],members:{ActionType:{},ClusterIdentifier:{},SnapshotIdentifier:{},OwnerAccount:{},Filters:{locationName:"Filter",type:"list",member:{locationName:"NodeConfigurationOptionsFilter",type:"structure",members:{Name:{},Operator:{},Values:{shape:"S7r",locationName:"Value"}}}},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeNodeConfigurationOptionsResult",type:"structure",members:{NodeConfigurationOptionList:{type:"list",member:{locationName:"NodeConfigurationOption",type:"structure",members:{NodeType:{},NumberOfNodes:{type:"integer"},EstimatedDiskUtilizationPercent:{type:"double"},Mode:{}}}},Marker:{}}}},DescribeOrderableClusterOptions:{input:{type:"structure",members:{ClusterVersion:{},NodeType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableClusterOptionsResult",type:"structure",members:{OrderableClusterOptions:{type:"list",member:{locationName:"OrderableClusterOption",type:"structure",members:{ClusterVersion:{},ClusterType:{},NodeType:{},AvailabilityZones:{type:"list",member:{shape:"S3c",locationName:"AvailabilityZone"}}},wrapper:!0}},Marker:{}}}},DescribePartners:{input:{type:"structure",required:["AccountId","ClusterIdentifier"],members:{AccountId:{},ClusterIdentifier:{},DatabaseName:{},PartnerName:{}}},output:{resultWrapper:"DescribePartnersResult",type:"structure",members:{PartnerIntegrationInfoList:{type:"list",member:{locationName:"PartnerIntegrationInfo",type:"structure",members:{DatabaseName:{},PartnerName:{},Status:{},StatusMessage:{},CreatedAt:{type:"timestamp"},UpdatedAt:{type:"timestamp"}}}}}}},DescribeReservedNodeExchangeStatus:{input:{type:"structure",members:{ReservedNodeId:{},ReservedNodeExchangeRequestId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedNodeExchangeStatusResult",type:"structure",members:{ReservedNodeExchangeStatusDetails:{type:"list",member:{shape:"S2x",locationName:"ReservedNodeExchangeStatus"}},Marker:{}}}},DescribeReservedNodeOfferings:{input:{type:"structure",members:{ReservedNodeOfferingId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedNodeOfferingsResult",type:"structure",members:{Marker:{},ReservedNodeOfferings:{shape:"S8c"}}}},DescribeReservedNodes:{input:{type:"structure",members:{ReservedNodeId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedNodesResult",type:"structure",members:{Marker:{},ReservedNodes:{type:"list",member:{shape:"S4",locationName:"ReservedNode"}}}}},DescribeResize:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S1l",resultWrapper:"DescribeResizeResult"}},DescribeScheduledActions:{input:{type:"structure",members:{ScheduledActionName:{},TargetActionType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Active:{type:"boolean"},Filters:{type:"list",member:{locationName:"ScheduledActionFilter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{shape:"S7r"}}}},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeScheduledActionsResult",type:"structure",members:{Marker:{},ScheduledActions:{type:"list",member:{shape:"S3x",locationName:"ScheduledAction"}}}}},DescribeSnapshotCopyGrants:{input:{type:"structure",members:{SnapshotCopyGrantName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeSnapshotCopyGrantsResult",type:"structure",members:{Marker:{},SnapshotCopyGrants:{type:"list",member:{shape:"S42",locationName:"SnapshotCopyGrant"}}}}},DescribeSnapshotSchedules:{input:{type:"structure",members:{ClusterIdentifier:{},ScheduleIdentifier:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeSnapshotSchedulesResult",type:"structure",members:{SnapshotSchedules:{type:"list",member:{shape:"S45",locationName:"SnapshotSchedule"}},Marker:{}}}},DescribeStorage:{output:{resultWrapper:"DescribeStorageResult",type:"structure",members:{TotalBackupSizeInMegaBytes:{type:"double"},TotalProvisionedStorageInMegaBytes:{type:"double"}}}},DescribeTableRestoreStatus:{input:{type:"structure",members:{ClusterIdentifier:{},TableRestoreRequestId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeTableRestoreStatusResult",type:"structure",members:{TableRestoreStatusDetails:{type:"list",member:{shape:"S8z",locationName:"TableRestoreStatus"}},Marker:{}}}},DescribeTags:{input:{type:"structure",members:{ResourceName:{},ResourceType:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TaggedResources:{type:"list",member:{locationName:"TaggedResource",type:"structure",members:{Tag:{shape:"Su"},ResourceName:{},ResourceType:{}}}},Marker:{}}}},DescribeUsageLimits:{input:{type:"structure",members:{UsageLimitId:{},ClusterIdentifier:{},FeatureType:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeUsageLimitsResult",type:"structure",members:{UsageLimits:{type:"list",member:{shape:"S4f"}},Marker:{}}}},DisableLogging:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S7k",resultWrapper:"DisableLoggingResult"}},DisableSnapshotCopy:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"DisableSnapshotCopyResult",type:"structure",members:{Cluster:{shape:"S22"}}}},DisassociateDataShareConsumer:{input:{type:"structure",required:["DataShareArn"],members:{DataShareArn:{},DisassociateEntireAccount:{type:"boolean"},ConsumerArn:{}}},output:{shape:"Sj",resultWrapper:"DisassociateDataShareConsumerResult"}},EnableLogging:{input:{type:"structure",required:["ClusterIdentifier","BucketName"],members:{ClusterIdentifier:{},BucketName:{},S3KeyPrefix:{}}},output:{shape:"S7k",resultWrapper:"EnableLoggingResult"}},EnableSnapshotCopy:{input:{type:"structure",required:["ClusterIdentifier","DestinationRegion"],members:{ClusterIdentifier:{},DestinationRegion:{},RetentionPeriod:{type:"integer"},SnapshotCopyGrantName:{},ManualSnapshotRetentionPeriod:{type:"integer"}}},output:{resultWrapper:"EnableSnapshotCopyResult",type:"structure",members:{Cluster:{shape:"S22"}}}},GetClusterCredentials:{input:{type:"structure",required:["DbUser","ClusterIdentifier"],members:{DbUser:{},DbName:{},ClusterIdentifier:{},DurationSeconds:{type:"integer"},AutoCreate:{type:"boolean"},DbGroups:{type:"list",member:{locationName:"DbGroup"}}}},output:{resultWrapper:"GetClusterCredentialsResult",type:"structure",members:{DbUser:{},DbPassword:{type:"string",sensitive:!0},Expiration:{type:"timestamp"}}}},GetReservedNodeExchangeConfigurationOptions:{input:{type:"structure",required:["ActionType"],members:{ActionType:{},ClusterIdentifier:{},SnapshotIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetReservedNodeExchangeConfigurationOptionsResult",type:"structure",members:{Marker:{},ReservedNodeConfigurationOptionList:{type:"list",member:{locationName:"ReservedNodeConfigurationOption",type:"structure",members:{SourceReservedNode:{shape:"S4"},TargetReservedNodeCount:{type:"integer"},TargetReservedNodeOffering:{shape:"S8d"}},wrapper:!0}}}}},GetReservedNodeExchangeOfferings:{input:{type:"structure",required:["ReservedNodeId"],members:{ReservedNodeId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetReservedNodeExchangeOfferingsResult",type:"structure",members:{Marker:{},ReservedNodeOfferings:{shape:"S8c"}}}},ModifyAquaConfiguration:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},AquaConfigurationStatus:{}}},output:{resultWrapper:"ModifyAquaConfigurationResult",type:"structure",members:{AquaConfiguration:{shape:"S2v"}}}},ModifyAuthenticationProfile:{input:{type:"structure",required:["AuthenticationProfileName","AuthenticationProfileContent"],members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}},output:{resultWrapper:"ModifyAuthenticationProfileResult",type:"structure",members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}}},ModifyCluster:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},ClusterType:{},NodeType:{},NumberOfNodes:{type:"integer"},ClusterSecurityGroups:{shape:"S1x"},VpcSecurityGroupIds:{shape:"S1y"},MasterUserPassword:{},ClusterParameterGroupName:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRetentionPeriod:{type:"integer"},PreferredMaintenanceWindow:{},ClusterVersion:{},AllowVersionUpgrade:{type:"boolean"},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},NewClusterIdentifier:{},PubliclyAccessible:{type:"boolean"},ElasticIp:{},EnhancedVpcRouting:{type:"boolean"},MaintenanceTrackName:{},Encrypted:{type:"boolean"},KmsKeyId:{},AvailabilityZoneRelocation:{type:"boolean"},AvailabilityZone:{},Port:{type:"integer"}}},output:{resultWrapper:"ModifyClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifyClusterDbRevision:{input:{type:"structure",required:["ClusterIdentifier","RevisionTarget"],members:{ClusterIdentifier:{},RevisionTarget:{}}},output:{resultWrapper:"ModifyClusterDbRevisionResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifyClusterIamRoles:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},AddIamRoles:{shape:"S1z"},RemoveIamRoles:{shape:"S1z"},DefaultIamRoleArn:{}}},output:{resultWrapper:"ModifyClusterIamRolesResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifyClusterMaintenance:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},DeferMaintenance:{type:"boolean"},DeferMaintenanceIdentifier:{},DeferMaintenanceStartTime:{type:"timestamp"},DeferMaintenanceEndTime:{type:"timestamp"},DeferMaintenanceDuration:{type:"integer"}}},output:{resultWrapper:"ModifyClusterMaintenanceResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifyClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName","Parameters"],members:{ParameterGroupName:{},Parameters:{shape:"S5m"}}},output:{shape:"Sa3",resultWrapper:"ModifyClusterParameterGroupResult"}},ModifyClusterSnapshot:{input:{type:"structure",required:["SnapshotIdentifier"],members:{SnapshotIdentifier:{},ManualSnapshotRetentionPeriod:{type:"integer"},Force:{type:"boolean"}}},output:{resultWrapper:"ModifyClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},ModifyClusterSnapshotSchedule:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},ScheduleIdentifier:{},DisassociateSchedule:{type:"boolean"}}}},ModifyClusterSubnetGroup:{input:{type:"structure",required:["ClusterSubnetGroupName","SubnetIds"],members:{ClusterSubnetGroupName:{},Description:{},SubnetIds:{shape:"S37"}}},output:{resultWrapper:"ModifyClusterSubnetGroupResult",type:"structure",members:{ClusterSubnetGroup:{shape:"S39"}}}},ModifyEndpointAccess:{input:{type:"structure",required:["EndpointName"],members:{EndpointName:{},VpcSecurityGroupIds:{shape:"S1y"}}},output:{shape:"S3g",resultWrapper:"ModifyEndpointAccessResult"}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},SourceIds:{shape:"S3i"},EventCategories:{shape:"S3j"},Severity:{},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S3l"}}}},ModifyScheduledAction:{input:{type:"structure",required:["ScheduledActionName"],members:{ScheduledActionName:{},TargetAction:{shape:"S3t"},Schedule:{},IamRole:{},ScheduledActionDescription:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Enable:{type:"boolean"}}},output:{shape:"S3x",resultWrapper:"ModifyScheduledActionResult"}},ModifySnapshotCopyRetentionPeriod:{input:{type:"structure",required:["ClusterIdentifier","RetentionPeriod"],members:{ClusterIdentifier:{},RetentionPeriod:{type:"integer"},Manual:{type:"boolean"}}},output:{resultWrapper:"ModifySnapshotCopyRetentionPeriodResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifySnapshotSchedule:{input:{type:"structure",required:["ScheduleIdentifier","ScheduleDefinitions"],members:{ScheduleIdentifier:{},ScheduleDefinitions:{shape:"S44"}}},output:{shape:"S45",resultWrapper:"ModifySnapshotScheduleResult"}},ModifyUsageLimit:{input:{type:"structure",required:["UsageLimitId"],members:{UsageLimitId:{},Amount:{type:"long"},BreachAction:{}}},output:{shape:"S4f",resultWrapper:"ModifyUsageLimitResult"}},PauseCluster:{input:{shape:"S3v"},output:{resultWrapper:"PauseClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},PurchaseReservedNodeOffering:{input:{type:"structure",required:["ReservedNodeOfferingId"],members:{ReservedNodeOfferingId:{},NodeCount:{type:"integer"}}},output:{resultWrapper:"PurchaseReservedNodeOfferingResult",type:"structure",members:{ReservedNode:{shape:"S4"}}}},RebootCluster:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"RebootClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},RejectDataShare:{input:{type:"structure",required:["DataShareArn"],members:{DataShareArn:{}}},output:{shape:"Sj",resultWrapper:"RejectDataShareResult"}},ResetClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName"],members:{ParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S5m"}}},output:{shape:"Sa3",resultWrapper:"ResetClusterParameterGroupResult"}},ResizeCluster:{input:{shape:"S3u"},output:{resultWrapper:"ResizeClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},RestoreFromClusterSnapshot:{input:{type:"structure",required:["ClusterIdentifier","SnapshotIdentifier"],members:{ClusterIdentifier:{},SnapshotIdentifier:{},SnapshotClusterIdentifier:{},Port:{type:"integer"},AvailabilityZone:{},AllowVersionUpgrade:{type:"boolean"},ClusterSubnetGroupName:{},PubliclyAccessible:{type:"boolean"},OwnerAccount:{},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},ElasticIp:{},ClusterParameterGroupName:{},ClusterSecurityGroups:{shape:"S1x"},VpcSecurityGroupIds:{shape:"S1y"},PreferredMaintenanceWindow:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRetentionPeriod:{type:"integer"},KmsKeyId:{},NodeType:{},EnhancedVpcRouting:{type:"boolean"},AdditionalInfo:{},IamRoles:{shape:"S1z"},MaintenanceTrackName:{},SnapshotScheduleIdentifier:{},NumberOfNodes:{type:"integer"},AvailabilityZoneRelocation:{type:"boolean"},AquaConfigurationStatus:{},DefaultIamRoleArn:{},ReservedNodeId:{},TargetReservedNodeOfferingId:{}}},output:{resultWrapper:"RestoreFromClusterSnapshotResult",type:"structure",members:{Cluster:{shape:"S22"}}}},RestoreTableFromClusterSnapshot:{input:{type:"structure",required:["ClusterIdentifier","SnapshotIdentifier","SourceDatabaseName","SourceTableName","NewTableName"],members:{ClusterIdentifier:{},SnapshotIdentifier:{},SourceDatabaseName:{},SourceSchemaName:{},SourceTableName:{},TargetDatabaseName:{},TargetSchemaName:{},NewTableName:{},EnableCaseSensitiveIdentifier:{type:"boolean"}}},output:{resultWrapper:"RestoreTableFromClusterSnapshotResult",type:"structure",members:{TableRestoreStatus:{shape:"S8z"}}}},ResumeCluster:{input:{shape:"S3w"},output:{resultWrapper:"ResumeClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},RevokeClusterSecurityGroupIngress:{input:{type:"structure",required:["ClusterSecurityGroupName"],members:{ClusterSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeClusterSecurityGroupIngressResult",type:"structure",members:{ClusterSecurityGroup:{shape:"Sq"}}}},RevokeEndpointAccess:{input:{type:"structure",members:{ClusterIdentifier:{},Account:{},VpcIds:{shape:"Sz"},Force:{type:"boolean"}}},output:{shape:"S10",resultWrapper:"RevokeEndpointAccessResult"}},RevokeSnapshotAccess:{input:{type:"structure",required:["SnapshotIdentifier","AccountWithRestoreAccess"],members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{},AccountWithRestoreAccess:{}}},output:{resultWrapper:"RevokeSnapshotAccessResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},RotateEncryptionKey:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"RotateEncryptionKeyResult",type:"structure",members:{Cluster:{shape:"S22"}}}},UpdatePartnerStatus:{input:{type:"structure",required:["AccountId","ClusterIdentifier","DatabaseName","PartnerName","Status"],members:{AccountId:{},ClusterIdentifier:{},DatabaseName:{},PartnerName:{},Status:{},StatusMessage:{}}},output:{shape:"Sg",resultWrapper:"UpdatePartnerStatusResult"}}},shapes:{S4:{type:"structure",members:{ReservedNodeId:{},ReservedNodeOfferingId:{},NodeType:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},NodeCount:{type:"integer"},State:{},OfferingType:{},RecurringCharges:{shape:"S8"},ReservedNodeOfferingType:{}},wrapper:!0},S8:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},Sb:{type:"structure",required:["AccountId","ClusterIdentifier","DatabaseName","PartnerName"],members:{AccountId:{},ClusterIdentifier:{},DatabaseName:{},PartnerName:{}}},Sg:{type:"structure",members:{DatabaseName:{},PartnerName:{}}},Sj:{type:"structure",members:{DataShareArn:{},ProducerArn:{},AllowPubliclyAccessibleConsumers:{type:"boolean"},DataShareAssociations:{type:"list",member:{type:"structure",members:{ConsumerIdentifier:{},Status:{},CreatedDate:{type:"timestamp"},StatusChangeDate:{type:"timestamp"}}}},ManagedBy:{}}},Sq:{type:"structure",members:{ClusterSecurityGroupName:{},Description:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{},Tags:{shape:"St"}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{},Tags:{shape:"St"}}}},Tags:{shape:"St"}},wrapper:!0},St:{type:"list",member:{shape:"Su",locationName:"Tag"}},Su:{type:"structure",members:{Key:{},Value:{}}},Sz:{type:"list",member:{locationName:"VpcIdentifier"}},S10:{type:"structure",members:{Grantor:{},Grantee:{},ClusterIdentifier:{},AuthorizeTime:{type:"timestamp"},ClusterStatus:{},Status:{},AllowedAllVPCs:{type:"boolean"},AllowedVPCs:{shape:"Sz"},EndpointCount:{type:"integer"}}},S14:{type:"structure",members:{SnapshotIdentifier:{},ClusterIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Status:{},Port:{type:"integer"},AvailabilityZone:{},ClusterCreateTime:{type:"timestamp"},MasterUsername:{},ClusterVersion:{},EngineFullVersion:{},SnapshotType:{},NodeType:{},NumberOfNodes:{type:"integer"},DBName:{},VpcId:{},Encrypted:{type:"boolean"},KmsKeyId:{},EncryptedWithHSM:{type:"boolean"},AccountsWithRestoreAccess:{type:"list",member:{locationName:"AccountWithRestoreAccess",type:"structure",members:{AccountId:{},AccountAlias:{}}}},OwnerAccount:{},TotalBackupSizeInMegaBytes:{type:"double"},ActualIncrementalBackupSizeInMegaBytes:{type:"double"},BackupProgressInMegaBytes:{type:"double"},CurrentBackupRateInMegaBytesPerSecond:{type:"double"},EstimatedSecondsToCompletion:{type:"long"},ElapsedTimeInSeconds:{type:"long"},SourceRegion:{},Tags:{shape:"St"},RestorableNodeTypes:{type:"list",member:{locationName:"NodeType"}},EnhancedVpcRouting:{type:"boolean"},MaintenanceTrackName:{},ManualSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRemainingDays:{type:"integer"},SnapshotRetentionStartTime:{type:"timestamp"}},wrapper:!0},S1c:{type:"structure",required:["SnapshotIdentifier"],members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{}}},S1e:{type:"list",member:{locationName:"String"}},S1g:{type:"structure",members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{},FailureCode:{},FailureReason:{}}},S1l:{type:"structure",members:{TargetNodeType:{},TargetNumberOfNodes:{type:"integer"},TargetClusterType:{},Status:{},ImportTablesCompleted:{type:"list",member:{}},ImportTablesInProgress:{type:"list",member:{}},ImportTablesNotStarted:{type:"list",member:{}},AvgResizeRateInMegaBytesPerSecond:{type:"double"},TotalResizeDataInMegaBytes:{type:"long"},ProgressInMegaBytes:{type:"long"},ElapsedTimeInSeconds:{type:"long"},EstimatedTimeToCompletionInSeconds:{type:"long"},ResizeType:{},Message:{},TargetEncryptionType:{},DataTransferProgressPercent:{type:"double"}}},S1x:{type:"list",member:{locationName:"ClusterSecurityGroupName"}},S1y:{type:"list",member:{locationName:"VpcSecurityGroupId"}},S1z:{type:"list",member:{locationName:"IamRoleArn"}},S22:{type:"structure",members:{ClusterIdentifier:{},NodeType:{},ClusterStatus:{},ClusterAvailabilityStatus:{},ModifyStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"},VpcEndpoints:{type:"list",member:{shape:"S25",locationName:"VpcEndpoint"}}}},ClusterCreateTime:{type:"timestamp"},AutomatedSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRetentionPeriod:{type:"integer"},ClusterSecurityGroups:{type:"list",member:{locationName:"ClusterSecurityGroup",type:"structure",members:{ClusterSecurityGroupName:{},Status:{}}}},VpcSecurityGroups:{shape:"S2a"},ClusterParameterGroups:{type:"list",member:{locationName:"ClusterParameterGroup",type:"structure",members:{ParameterGroupName:{},ParameterApplyStatus:{},ClusterParameterStatusList:{type:"list",member:{type:"structure",members:{ParameterName:{},ParameterApplyStatus:{},ParameterApplyErrorDescription:{}}}}}}},ClusterSubnetGroupName:{},VpcId:{},AvailabilityZone:{},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{MasterUserPassword:{},NodeType:{},NumberOfNodes:{type:"integer"},ClusterType:{},ClusterVersion:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},ClusterIdentifier:{},PubliclyAccessible:{type:"boolean"},EnhancedVpcRouting:{type:"boolean"},MaintenanceTrackName:{},EncryptionType:{}}},ClusterVersion:{},AllowVersionUpgrade:{type:"boolean"},NumberOfNodes:{type:"integer"},PubliclyAccessible:{type:"boolean"},Encrypted:{type:"boolean"},RestoreStatus:{type:"structure",members:{Status:{},CurrentRestoreRateInMegaBytesPerSecond:{type:"double"},SnapshotSizeInMegaBytes:{type:"long"},ProgressInMegaBytes:{type:"long"},ElapsedTimeInSeconds:{type:"long"},EstimatedTimeToCompletionInSeconds:{type:"long"}}},DataTransferProgress:{type:"structure",members:{Status:{},CurrentRateInMegaBytesPerSecond:{type:"double"},TotalDataInMegaBytes:{type:"long"},DataTransferredInMegaBytes:{type:"long"},EstimatedTimeToCompletionInSeconds:{type:"long"},ElapsedTimeInSeconds:{type:"long"}}},HsmStatus:{type:"structure",members:{HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},Status:{}}},ClusterSnapshotCopyStatus:{type:"structure",members:{DestinationRegion:{},RetentionPeriod:{type:"long"},ManualSnapshotRetentionPeriod:{type:"integer"},SnapshotCopyGrantName:{}}},ClusterPublicKey:{},ClusterNodes:{type:"list",member:{type:"structure",members:{NodeRole:{},PrivateIPAddress:{},PublicIPAddress:{}}}},ElasticIpStatus:{type:"structure",members:{ElasticIp:{},Status:{}}},ClusterRevisionNumber:{},Tags:{shape:"St"},KmsKeyId:{},EnhancedVpcRouting:{type:"boolean"},IamRoles:{type:"list",member:{locationName:"ClusterIamRole",type:"structure",members:{IamRoleArn:{},ApplyStatus:{}}}},PendingActions:{type:"list",member:{}},MaintenanceTrackName:{},ElasticResizeNumberOfNodeOptions:{},DeferredMaintenanceWindows:{type:"list",member:{locationName:"DeferredMaintenanceWindow",type:"structure",members:{DeferMaintenanceIdentifier:{},DeferMaintenanceStartTime:{type:"timestamp"},DeferMaintenanceEndTime:{type:"timestamp"}}}},SnapshotScheduleIdentifier:{},SnapshotScheduleState:{},ExpectedNextSnapshotScheduleTime:{type:"timestamp"},ExpectedNextSnapshotScheduleTimeStatus:{},NextMaintenanceWindowStartTime:{type:"timestamp"},ResizeInfo:{type:"structure",members:{ResizeType:{},AllowCancelResize:{type:"boolean"}}},AvailabilityZoneRelocationStatus:{},ClusterNamespaceArn:{},TotalStorageCapacityInMegaBytes:{type:"long"},AquaConfiguration:{shape:"S2v"},DefaultIamRoleArn:{},ReservedNodeExchangeStatus:{shape:"S2x"}},wrapper:!0},S25:{type:"structure",members:{VpcEndpointId:{},VpcId:{},NetworkInterfaces:{type:"list",member:{locationName:"NetworkInterface",type:"structure",members:{NetworkInterfaceId:{},SubnetId:{},PrivateIpAddress:{},AvailabilityZone:{}}}}}},S2a:{type:"list",member:{locationName:"VpcSecurityGroup",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S2v:{type:"structure",members:{AquaStatus:{},AquaConfigurationStatus:{}}},S2x:{type:"structure",members:{ReservedNodeExchangeRequestId:{},Status:{},RequestTime:{type:"timestamp"},SourceReservedNodeId:{},SourceReservedNodeType:{},SourceReservedNodeCount:{type:"integer"},TargetReservedNodeOfferingId:{},TargetReservedNodeType:{},TargetReservedNodeCount:{type:"integer"}},wrapper:!0},S31:{type:"structure",members:{ParameterGroupName:{},ParameterGroupFamily:{},Description:{},Tags:{shape:"St"}},wrapper:!0},S37:{type:"list",member:{locationName:"SubnetIdentifier"}},S39:{type:"structure",members:{ClusterSubnetGroupName:{},Description:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S3c"},SubnetStatus:{}}}},Tags:{shape:"St"}},wrapper:!0},S3c:{type:"structure",members:{Name:{},SupportedPlatforms:{type:"list",member:{locationName:"SupportedPlatform",type:"structure",members:{Name:{}},wrapper:!0}}},wrapper:!0},S3g:{type:"structure",members:{ClusterIdentifier:{},ResourceOwner:{},SubnetGroupName:{},EndpointStatus:{},EndpointName:{},EndpointCreateTime:{type:"timestamp"},Port:{type:"integer"},Address:{},VpcSecurityGroups:{shape:"S2a"},VpcEndpoint:{shape:"S25"}}},S3i:{type:"list",member:{locationName:"SourceId"}},S3j:{type:"list",member:{locationName:"EventCategory"}},S3l:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{type:"timestamp"},SourceType:{},SourceIdsList:{shape:"S3i"},EventCategoriesList:{shape:"S3j"},Severity:{},Enabled:{type:"boolean"},Tags:{shape:"St"}},wrapper:!0},S3o:{type:"structure",members:{HsmClientCertificateIdentifier:{},HsmClientCertificatePublicKey:{},Tags:{shape:"St"}},wrapper:!0},S3r:{type:"structure",members:{HsmConfigurationIdentifier:{},Description:{},HsmIpAddress:{},HsmPartitionName:{},Tags:{shape:"St"}},wrapper:!0},S3t:{type:"structure",members:{ResizeCluster:{shape:"S3u"},PauseCluster:{shape:"S3v"},ResumeCluster:{shape:"S3w"}}},S3u:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},ClusterType:{},NodeType:{},NumberOfNodes:{type:"integer"},Classic:{type:"boolean"},ReservedNodeId:{},TargetReservedNodeOfferingId:{}}},S3v:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},S3w:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},S3x:{type:"structure",members:{ScheduledActionName:{},TargetAction:{shape:"S3t"},Schedule:{},IamRole:{},ScheduledActionDescription:{},State:{},NextInvocations:{type:"list",member:{locationName:"ScheduledActionTime",type:"timestamp"}},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}},S42:{type:"structure",members:{SnapshotCopyGrantName:{},KmsKeyId:{},Tags:{shape:"St"}},wrapper:!0},S44:{type:"list",member:{locationName:"ScheduleDefinition"}},S45:{type:"structure",members:{ScheduleDefinitions:{shape:"S44"},ScheduleIdentifier:{},ScheduleDescription:{},Tags:{shape:"St"},NextInvocations:{type:"list",member:{locationName:"SnapshotTime",type:"timestamp"}},AssociatedClusterCount:{type:"integer"},AssociatedClusters:{type:"list",member:{locationName:"ClusterAssociatedToSchedule",type:"structure",members:{ClusterIdentifier:{},ScheduleAssociationState:{}}}}}},S4f:{type:"structure",members:{UsageLimitId:{},ClusterIdentifier:{},FeatureType:{},LimitType:{},Amount:{type:"long"},Period:{},BreachAction:{},Tags:{shape:"St"}}},S4x:{type:"list",member:{locationName:"TagKey"}},S5h:{type:"list",member:{locationName:"TagValue"}},S5m:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},DataType:{},AllowedValues:{},ApplyType:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{}}}},S6j:{type:"list",member:{shape:"Sj"}},S7k:{type:"structure",members:{LoggingEnabled:{type:"boolean"},BucketName:{},S3KeyPrefix:{},LastSuccessfulDeliveryTime:{type:"timestamp"},LastFailureTime:{type:"timestamp"},LastFailureMessage:{}}},S7r:{type:"list",member:{locationName:"item"}},S8c:{type:"list",member:{shape:"S8d",locationName:"ReservedNodeOffering"}},S8d:{type:"structure",members:{ReservedNodeOfferingId:{},NodeType:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},OfferingType:{},RecurringCharges:{shape:"S8"},ReservedNodeOfferingType:{}},wrapper:!0},S8z:{type:"structure",members:{TableRestoreRequestId:{},Status:{},Message:{},RequestTime:{type:"timestamp"},ProgressInMegaBytes:{type:"long"},TotalDataInMegaBytes:{type:"long"},ClusterIdentifier:{},SnapshotIdentifier:{},SourceDatabaseName:{},SourceSchemaName:{},SourceTableName:{},TargetDatabaseName:{},TargetSchemaName:{},NewTableName:{}},wrapper:!0},Sa3:{type:"structure",members:{ParameterGroupName:{},ParameterGroupStatus:{}}}}}},{}],196:[function(e,t,r){t.exports={pagination:{DescribeClusterDbRevisions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ClusterDbRevisions"},DescribeClusterParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ParameterGroups"},DescribeClusterParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeClusterSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords", -output_token:"Marker",result_key:"ClusterSecurityGroups"},DescribeClusterSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Snapshots"},DescribeClusterSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ClusterSubnetGroups"},DescribeClusterTracks:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"MaintenanceTracks"},DescribeClusterVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ClusterVersions"},DescribeClusters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Clusters"},DescribeDataShares:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DataShares"},DescribeDataSharesForConsumer:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DataShares"},DescribeDataSharesForProducer:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DataShares"},DescribeDefaultClusterParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"DefaultClusterParameters.Marker",result_key:"DefaultClusterParameters.Parameters"},DescribeEndpointAccess:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EndpointAccessList"},DescribeEndpointAuthorization:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EndpointAuthorizationList"},DescribeEventSubscriptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeHsmClientCertificates:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"HsmClientCertificates"},DescribeHsmConfigurations:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"HsmConfigurations"},DescribeNodeConfigurationOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"NodeConfigurationOptionList"},DescribeOrderableClusterOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OrderableClusterOptions"},DescribeReservedNodeExchangeStatus:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodeExchangeStatusDetails"},DescribeReservedNodeOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodeOfferings"},DescribeReservedNodes:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodes"},DescribeScheduledActions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ScheduledActions"},DescribeSnapshotCopyGrants:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"SnapshotCopyGrants"},DescribeSnapshotSchedules:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"SnapshotSchedules"},DescribeTableRestoreStatus:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"TableRestoreStatusDetails"},DescribeTags:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"TaggedResources"},DescribeUsageLimits:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"UsageLimits"},GetReservedNodeExchangeConfigurationOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodeConfigurationOptionList"},GetReservedNodeExchangeOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodeOfferings"}}}},{}],197:[function(e,t,r){t.exports={version:2,waiters:{ClusterAvailable:{delay:60,operation:"DescribeClusters",maxAttempts:30,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Clusters[].ClusterStatus"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"Clusters[].ClusterStatus"},{expected:"ClusterNotFound",matcher:"error",state:"retry"}]},ClusterDeleted:{delay:60,operation:"DescribeClusters",maxAttempts:30,acceptors:[{expected:"ClusterNotFound",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"Clusters[].ClusterStatus"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"Clusters[].ClusterStatus"}]},ClusterRestored:{operation:"DescribeClusters",maxAttempts:30,delay:60,acceptors:[{state:"success",matcher:"pathAll",argument:"Clusters[].RestoreStatus.Status",expected:"completed"},{state:"failure",matcher:"pathAny",argument:"Clusters[].ClusterStatus",expected:"deleting"}]},SnapshotAvailable:{delay:15,operation:"DescribeClusterSnapshots",maxAttempts:20,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Snapshots[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"Snapshots[].Status"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Snapshots[].Status"}]}}}},{}],198:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-06-27",endpointPrefix:"rekognition",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Rekognition",serviceId:"Rekognition",signatureVersion:"v4",targetPrefix:"RekognitionService",uid:"rekognition-2016-06-27"},operations:{CompareFaces:{input:{type:"structure",required:["SourceImage","TargetImage"],members:{SourceImage:{shape:"S2"},TargetImage:{shape:"S2"},SimilarityThreshold:{type:"float"},QualityFilter:{}}},output:{type:"structure",members:{SourceImageFace:{type:"structure",members:{BoundingBox:{shape:"Sc"},Confidence:{type:"float"}}},FaceMatches:{type:"list",member:{type:"structure",members:{Similarity:{type:"float"},Face:{shape:"Sg"}}}},UnmatchedFaces:{type:"list",member:{shape:"Sg"}},SourceImageOrientationCorrection:{},TargetImageOrientationCorrection:{}}}},CreateCollection:{input:{type:"structure",required:["CollectionId"],members:{CollectionId:{},Tags:{shape:"Sw"}}},output:{type:"structure",members:{StatusCode:{type:"integer"},CollectionArn:{},FaceModelVersion:{}}}},CreateDataset:{input:{type:"structure",required:["DatasetType","ProjectArn"],members:{DatasetSource:{type:"structure",members:{GroundTruthManifest:{shape:"S14"},DatasetArn:{}}},DatasetType:{},ProjectArn:{}}},output:{type:"structure",members:{DatasetArn:{}}}},CreateProject:{input:{type:"structure",required:["ProjectName"],members:{ProjectName:{}}},output:{type:"structure",members:{ProjectArn:{}}}},CreateProjectVersion:{input:{type:"structure",required:["ProjectArn","VersionName","OutputConfig"],members:{ProjectArn:{},VersionName:{},OutputConfig:{shape:"S1e"},TrainingData:{shape:"S1g"},TestingData:{shape:"S1j"},Tags:{shape:"Sw"},KmsKeyId:{}}},output:{type:"structure",members:{ProjectVersionArn:{}}}},CreateStreamProcessor:{input:{type:"structure",required:["Input","Output","Name","Settings","RoleArn"],members:{Input:{shape:"S1o"},Output:{shape:"S1r"},Name:{},Settings:{shape:"S1v"},RoleArn:{},Tags:{shape:"Sw"}}},output:{type:"structure",members:{StreamProcessorArn:{}}}},DeleteCollection:{input:{type:"structure",required:["CollectionId"],members:{CollectionId:{}}},output:{type:"structure",members:{StatusCode:{type:"integer"}}}},DeleteDataset:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{}}},output:{type:"structure",members:{}}},DeleteFaces:{input:{type:"structure",required:["CollectionId","FaceIds"],members:{CollectionId:{},FaceIds:{shape:"S25"}}},output:{type:"structure",members:{DeletedFaces:{shape:"S25"}}}},DeleteProject:{input:{type:"structure",required:["ProjectArn"],members:{ProjectArn:{}}},output:{type:"structure",members:{Status:{}}}},DeleteProjectVersion:{input:{type:"structure",required:["ProjectVersionArn"],members:{ProjectVersionArn:{}}},output:{type:"structure",members:{Status:{}}}},DeleteStreamProcessor:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DescribeCollection:{input:{type:"structure",required:["CollectionId"],members:{CollectionId:{}}},output:{type:"structure",members:{FaceCount:{type:"long"},FaceModelVersion:{},CollectionARN:{},CreationTimestamp:{type:"timestamp"}}}},DescribeDataset:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{}}},output:{type:"structure",members:{DatasetDescription:{type:"structure",members:{CreationTimestamp:{type:"timestamp"},LastUpdatedTimestamp:{type:"timestamp"},Status:{},StatusMessage:{},StatusMessageCode:{},DatasetStats:{type:"structure",members:{LabeledEntries:{type:"integer"},TotalEntries:{type:"integer"},TotalLabels:{type:"integer"},ErrorEntries:{type:"integer"}}}}}}}},DescribeProjectVersions:{input:{type:"structure",required:["ProjectArn"],members:{ProjectArn:{},VersionNames:{type:"list",member:{}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ProjectVersionDescriptions:{type:"list",member:{type:"structure",members:{ProjectVersionArn:{},CreationTimestamp:{type:"timestamp"},MinInferenceUnits:{type:"integer"},Status:{},StatusMessage:{},BillableTrainingTimeInSeconds:{type:"long"},TrainingEndTimestamp:{type:"timestamp"},OutputConfig:{shape:"S1e"},TrainingDataResult:{type:"structure",members:{Input:{shape:"S1g"},Output:{shape:"S1g"},Validation:{shape:"S30"}}},TestingDataResult:{type:"structure",members:{Input:{shape:"S1j"},Output:{shape:"S1j"},Validation:{shape:"S30"}}},EvaluationResult:{type:"structure",members:{F1Score:{type:"float"},Summary:{type:"structure",members:{S3Object:{shape:"S4"}}}}},ManifestSummary:{shape:"S14"},KmsKeyId:{}}}},NextToken:{}}}},DescribeProjects:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},ProjectNames:{type:"list",member:{}}}},output:{type:"structure",members:{ProjectDescriptions:{type:"list",member:{type:"structure",members:{ProjectArn:{},CreationTimestamp:{type:"timestamp"},Status:{},Datasets:{type:"list",member:{type:"structure",members:{CreationTimestamp:{type:"timestamp"},DatasetType:{},DatasetArn:{},Status:{},StatusMessage:{},StatusMessageCode:{}}}}}}},NextToken:{}}}},DescribeStreamProcessor:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},StreamProcessorArn:{},Status:{},StatusMessage:{},CreationTimestamp:{type:"timestamp"},LastUpdateTimestamp:{type:"timestamp"},Input:{shape:"S1o"},Output:{shape:"S1r"},RoleArn:{},Settings:{shape:"S1v"}}}},DetectCustomLabels:{input:{type:"structure",required:["ProjectVersionArn","Image"],members:{ProjectVersionArn:{},Image:{shape:"S2"},MaxResults:{type:"integer"},MinConfidence:{type:"float"}}},output:{type:"structure",members:{CustomLabels:{type:"list",member:{type:"structure",members:{Name:{},Confidence:{type:"float"},Geometry:{shape:"S3j"}}}}}}},DetectFaces:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},Attributes:{shape:"S3n"}}},output:{type:"structure",members:{FaceDetails:{type:"list",member:{shape:"S3r"}},OrientationCorrection:{}}}},DetectLabels:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},MaxLabels:{type:"integer"},MinConfidence:{type:"float"}}},output:{type:"structure",members:{Labels:{type:"list",member:{shape:"S44"}},OrientationCorrection:{},LabelModelVersion:{}}}},DetectModerationLabels:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},MinConfidence:{type:"float"},HumanLoopConfig:{type:"structure",required:["HumanLoopName","FlowDefinitionArn"],members:{HumanLoopName:{},FlowDefinitionArn:{},DataAttributes:{type:"structure",members:{ContentClassifiers:{type:"list",member:{}}}}}}}},output:{type:"structure",members:{ModerationLabels:{type:"list",member:{shape:"S4i"}},ModerationModelVersion:{},HumanLoopActivationOutput:{type:"structure",members:{HumanLoopArn:{},HumanLoopActivationReasons:{type:"list",member:{}},HumanLoopActivationConditionsEvaluationResults:{jsonvalue:!0}}}}}},DetectProtectiveEquipment:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},SummarizationAttributes:{type:"structure",required:["MinConfidence","RequiredEquipmentTypes"],members:{MinConfidence:{type:"float"},RequiredEquipmentTypes:{type:"list",member:{}}}}}},output:{type:"structure",members:{ProtectiveEquipmentModelVersion:{},Persons:{type:"list",member:{type:"structure",members:{BodyParts:{type:"list",member:{type:"structure",members:{Name:{},Confidence:{type:"float"},EquipmentDetections:{type:"list",member:{type:"structure",members:{BoundingBox:{shape:"Sc"},Confidence:{type:"float"},Type:{},CoversBodyPart:{type:"structure",members:{Confidence:{type:"float"},Value:{type:"boolean"}}}}}}}}},BoundingBox:{shape:"Sc"},Confidence:{type:"float"},Id:{type:"integer"}}}},Summary:{type:"structure",members:{PersonsWithRequiredEquipment:{shape:"S52"},PersonsWithoutRequiredEquipment:{shape:"S52"},PersonsIndeterminate:{shape:"S52"}}}}}},DetectText:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},Filters:{type:"structure",members:{WordFilter:{shape:"S55"},RegionsOfInterest:{shape:"S58"}}}}},output:{type:"structure",members:{TextDetections:{type:"list",member:{shape:"S5c"}},TextModelVersion:{}}}},DistributeDatasetEntries:{input:{type:"structure",required:["Datasets"],members:{Datasets:{type:"list",member:{type:"structure",required:["Arn"],members:{Arn:{}}}}}},output:{type:"structure",members:{}}},GetCelebrityInfo:{input:{type:"structure",required:["Id"],members:{Id:{}}},output:{type:"structure",members:{Urls:{shape:"S5l"},Name:{},KnownGender:{shape:"S5n"}}}},GetCelebrityRecognition:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},NextToken:{},Celebrities:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Celebrity:{type:"structure",members:{Urls:{shape:"S5l"},Name:{},Id:{},Confidence:{type:"float"},BoundingBox:{shape:"Sc"},Face:{shape:"S3r"},KnownGender:{shape:"S5n"}}}}}}}}},GetContentModeration:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},ModerationLabels:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},ModerationLabel:{shape:"S4i"}}}},NextToken:{},ModerationModelVersion:{}}}},GetFaceDetection:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},NextToken:{},Faces:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Face:{shape:"S3r"}}}}}}},GetFaceSearch:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},NextToken:{},VideoMetadata:{shape:"S5w"},Persons:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Person:{shape:"S6g"},FaceMatches:{shape:"S6i"}}}}}}},GetLabelDetection:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},NextToken:{},Labels:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Label:{shape:"S44"}}}},LabelModelVersion:{}}}},GetPersonTracking:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},NextToken:{},Persons:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Person:{shape:"S6g"}}}}}}},GetSegmentDetection:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{type:"list",member:{shape:"S5w"}},AudioMetadata:{type:"list",member:{type:"structure",members:{Codec:{},DurationMillis:{type:"long"},SampleRate:{type:"long"},NumberOfChannels:{type:"long"}}}},NextToken:{},Segments:{type:"list",member:{type:"structure",members:{Type:{},StartTimestampMillis:{type:"long"},EndTimestampMillis:{type:"long"},DurationMillis:{type:"long"},StartTimecodeSMPTE:{},EndTimecodeSMPTE:{},DurationSMPTE:{},TechnicalCueSegment:{type:"structure",members:{Type:{},Confidence:{type:"float"}}},ShotSegment:{type:"structure",members:{Index:{type:"long"},Confidence:{type:"float"}}},StartFrameNumber:{type:"long"},EndFrameNumber:{type:"long"},DurationFrames:{type:"long"}}}},SelectedSegmentTypes:{type:"list",member:{type:"structure",members:{Type:{},ModelVersion:{}}}}}}},GetTextDetection:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},TextDetections:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},TextDetection:{shape:"S5c"}}}},NextToken:{},TextModelVersion:{}}}},IndexFaces:{input:{type:"structure",required:["CollectionId","Image"],members:{CollectionId:{},Image:{shape:"S2"},ExternalImageId:{},DetectionAttributes:{shape:"S3n"},MaxFaces:{type:"integer"},QualityFilter:{}}},output:{type:"structure",members:{FaceRecords:{type:"list",member:{type:"structure",members:{Face:{shape:"S6k"},FaceDetail:{shape:"S3r"}}}},OrientationCorrection:{},FaceModelVersion:{},UnindexedFaces:{type:"list",member:{type:"structure",members:{Reasons:{type:"list",member:{}},FaceDetail:{shape:"S3r"}}}}}}},ListCollections:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{CollectionIds:{type:"list",member:{}},NextToken:{},FaceModelVersions:{type:"list",member:{}}}}},ListDatasetEntries:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{},ContainsLabels:{type:"list",member:{}},Labeled:{type:"boolean"},SourceRefContains:{},HasErrors:{type:"boolean"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{DatasetEntries:{type:"list",member:{}},NextToken:{}}}},ListDatasetLabels:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{DatasetLabelDescriptions:{type:"list",member:{type:"structure",members:{LabelName:{},LabelStats:{type:"structure",members:{EntryCount:{type:"integer"},BoundingBoxCount:{type:"integer"}}}}}},NextToken:{}}}},ListFaces:{input:{type:"structure",required:["CollectionId"],members:{CollectionId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Faces:{type:"list",member:{shape:"S6k"}},NextToken:{},FaceModelVersion:{}}}},ListStreamProcessors:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},StreamProcessors:{type:"list",member:{type:"structure",members:{Name:{},Status:{}}}}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{Tags:{shape:"Sw"}}}},RecognizeCelebrities:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"}}},output:{type:"structure",members:{CelebrityFaces:{type:"list",member:{type:"structure",members:{Urls:{shape:"S5l"},Name:{},Id:{},Face:{shape:"Sg"},MatchConfidence:{type:"float"},KnownGender:{shape:"S5n"}}}},UnrecognizedFaces:{type:"list",member:{shape:"Sg"}},OrientationCorrection:{}}}},SearchFaces:{input:{type:"structure",required:["CollectionId","FaceId"],members:{CollectionId:{},FaceId:{},MaxFaces:{type:"integer"},FaceMatchThreshold:{type:"float"}}},output:{type:"structure",members:{SearchedFaceId:{},FaceMatches:{shape:"S6i"},FaceModelVersion:{}}}},SearchFacesByImage:{input:{type:"structure",required:["CollectionId","Image"],members:{CollectionId:{},Image:{shape:"S2"},MaxFaces:{type:"integer"},FaceMatchThreshold:{type:"float"},QualityFilter:{}}},output:{type:"structure",members:{SearchedFaceBoundingBox:{shape:"Sc"},SearchedFaceConfidence:{type:"float"},FaceMatches:{shape:"S6i"},FaceModelVersion:{}}}},StartCelebrityRecognition:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartContentModeration:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},MinConfidence:{type:"float"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartFaceDetection:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},FaceAttributes:{},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartFaceSearch:{input:{type:"structure",required:["Video","CollectionId"],members:{Video:{shape:"S8w"},ClientRequestToken:{},FaceMatchThreshold:{type:"float"},CollectionId:{},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartLabelDetection:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},MinConfidence:{type:"float"},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartPersonTracking:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartProjectVersion:{input:{type:"structure",required:["ProjectVersionArn","MinInferenceUnits"],members:{ProjectVersionArn:{},MinInferenceUnits:{type:"integer"}}},output:{type:"structure",members:{Status:{}}}},StartSegmentDetection:{input:{type:"structure",required:["Video","SegmentTypes"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{},Filters:{type:"structure",members:{TechnicalCueFilter:{type:"structure",members:{MinSegmentConfidence:{type:"float"},BlackFrame:{type:"structure",members:{MaxPixelThreshold:{type:"float"},MinCoveragePercentage:{type:"float"}}}}},ShotFilter:{type:"structure",members:{MinSegmentConfidence:{type:"float"}}}}},SegmentTypes:{type:"list",member:{}}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartStreamProcessor:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},StartTextDetection:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{},Filters:{type:"structure",members:{WordFilter:{shape:"S55"},RegionsOfInterest:{shape:"S58"}}}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StopProjectVersion:{input:{type:"structure",required:["ProjectVersionArn"],members:{ProjectVersionArn:{}}},output:{type:"structure",members:{Status:{}}}},StopStreamProcessor:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},TagResource:{input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{},Tags:{shape:"Sw"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateDatasetEntries:{input:{type:"structure",required:["DatasetArn","Changes"],members:{DatasetArn:{},Changes:{type:"structure",required:["GroundTruth"],members:{GroundTruth:{type:"blob"}}}}},output:{type:"structure",members:{}}}},shapes:{S2:{type:"structure",members:{Bytes:{type:"blob"},S3Object:{shape:"S4"}}},S4:{type:"structure",members:{Bucket:{},Name:{},Version:{}}},Sc:{type:"structure",members:{Width:{type:"float"},Height:{type:"float"},Left:{type:"float"},Top:{type:"float"}}},Sg:{type:"structure",members:{BoundingBox:{shape:"Sc"},Confidence:{type:"float"},Landmarks:{shape:"Sh"},Pose:{shape:"Sk"},Quality:{shape:"Sm"},Emotions:{shape:"Sn"},Smile:{shape:"Sq"}}},Sh:{type:"list",member:{type:"structure",members:{Type:{},X:{type:"float"},Y:{type:"float"}}}},Sk:{type:"structure",members:{Roll:{type:"float"},Yaw:{type:"float"},Pitch:{type:"float"}}},Sm:{type:"structure",members:{Brightness:{type:"float"},Sharpness:{type:"float"}}},Sn:{type:"list",member:{type:"structure",members:{Type:{},Confidence:{type:"float"}}}},Sq:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Sw:{type:"map",key:{},value:{}},S14:{type:"structure",members:{S3Object:{shape:"S4"}}},S1e:{type:"structure",members:{S3Bucket:{},S3KeyPrefix:{}}},S1g:{type:"structure",members:{Assets:{shape:"S1h"}}},S1h:{type:"list",member:{type:"structure",members:{GroundTruthManifest:{shape:"S14"}}}},S1j:{type:"structure",members:{Assets:{shape:"S1h"},AutoCreate:{type:"boolean"}}},S1o:{type:"structure",members:{KinesisVideoStream:{type:"structure",members:{Arn:{}}}}},S1r:{type:"structure",members:{KinesisDataStream:{type:"structure",members:{Arn:{}}}}},S1v:{type:"structure",members:{FaceSearch:{type:"structure",members:{CollectionId:{},FaceMatchThreshold:{type:"float"}}}}},S25:{type:"list",member:{}},S30:{type:"structure",members:{Assets:{shape:"S1h"}}},S3j:{type:"structure",members:{BoundingBox:{shape:"Sc"},Polygon:{type:"list",member:{type:"structure",members:{X:{type:"float"},Y:{type:"float"}}}}}},S3n:{type:"list",member:{}},S3r:{type:"structure",members:{BoundingBox:{shape:"Sc"},AgeRange:{type:"structure",members:{Low:{type:"integer"},High:{type:"integer"}}},Smile:{shape:"Sq"},Eyeglasses:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Sunglasses:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Gender:{type:"structure",members:{Value:{},Confidence:{type:"float"}}},Beard:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Mustache:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},EyesOpen:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},MouthOpen:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Emotions:{shape:"Sn"},Landmarks:{shape:"Sh"},Pose:{shape:"Sk"},Quality:{shape:"Sm"},Confidence:{type:"float"}}},S44:{type:"structure",members:{Name:{},Confidence:{type:"float"},Instances:{type:"list",member:{type:"structure",members:{BoundingBox:{shape:"Sc"},Confidence:{type:"float"}}}},Parents:{type:"list",member:{type:"structure",members:{Name:{}}}}}},S4i:{type:"structure",members:{Confidence:{type:"float"},Name:{},ParentName:{}}},S52:{type:"list",member:{type:"integer"}},S55:{type:"structure",members:{MinConfidence:{type:"float"},MinBoundingBoxHeight:{type:"float"},MinBoundingBoxWidth:{type:"float"}}},S58:{type:"list",member:{type:"structure",members:{BoundingBox:{shape:"Sc"}}}},S5c:{type:"structure",members:{DetectedText:{},Type:{},Id:{type:"integer"},ParentId:{type:"integer"},Confidence:{type:"float"},Geometry:{shape:"S3j"}}},S5l:{type:"list",member:{}},S5n:{type:"structure",members:{Type:{}}},S5w:{type:"structure",members:{Codec:{},DurationMillis:{type:"long"},Format:{},FrameRate:{type:"float"},FrameHeight:{type:"long"},FrameWidth:{type:"long"},ColorRange:{}}},S6g:{type:"structure",members:{Index:{type:"long"},BoundingBox:{shape:"Sc"},Face:{shape:"S3r"}}},S6i:{type:"list",member:{type:"structure",members:{Similarity:{type:"float"},Face:{shape:"S6k"}}}},S6k:{type:"structure",members:{FaceId:{},BoundingBox:{shape:"Sc"},ImageId:{},ExternalImageId:{},Confidence:{type:"float"},IndexFacesModelVersion:{}}},S8w:{type:"structure",members:{S3Object:{shape:"S4"}}},S8y:{type:"structure",required:["SNSTopicArn","RoleArn"],members:{SNSTopicArn:{},RoleArn:{}}}}}},{}],199:[function(e,t,r){t.exports={pagination:{DescribeProjectVersions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ProjectVersionDescriptions"},DescribeProjects:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ProjectDescriptions"},GetCelebrityRecognition:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetContentModeration:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetFaceDetection:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetFaceSearch:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetLabelDetection:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetPersonTracking:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetSegmentDetection:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetTextDetection:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListCollections:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"CollectionIds"},ListDatasetEntries:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DatasetEntries"},ListDatasetLabels:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DatasetLabelDescriptions"},ListFaces:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Faces"},ListStreamProcessors:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"}}}},{}],200:[function(e,t,r){t.exports={version:2,waiters:{ProjectVersionTrainingCompleted:{description:"Wait until the ProjectVersion training completes.",operation:"DescribeProjectVersions",delay:120,maxAttempts:360,acceptors:[{state:"success",matcher:"pathAll",argument:"ProjectVersionDescriptions[].Status",expected:"TRAINING_COMPLETED"},{state:"failure",matcher:"pathAny",argument:"ProjectVersionDescriptions[].Status",expected:"TRAINING_FAILED"}]},ProjectVersionRunning:{description:"Wait until the ProjectVersion is running.",delay:30,maxAttempts:40,operation:"DescribeProjectVersions",acceptors:[{state:"success",matcher:"pathAll",argument:"ProjectVersionDescriptions[].Status",expected:"RUNNING"},{state:"failure",matcher:"pathAny",argument:"ProjectVersionDescriptions[].Status",expected:"FAILED"}]}}}},{}],201:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-11-27",endpointPrefix:"resource-groups",protocol:"rest-json",serviceAbbreviation:"Resource Groups",serviceFullName:"AWS Resource Groups",serviceId:"Resource Groups",signatureVersion:"v4",signingName:"resource-groups",uid:"resource-groups-2017-11-27"},operations:{CreateGroup:{http:{requestUri:"/groups"},input:{type:"structure",required:["Name"],members:{Name:{},Description:{},ResourceQuery:{shape:"S4"},Tags:{shape:"S7"},Configuration:{shape:"Sa"}}},output:{type:"structure",members:{Group:{shape:"Sj"},ResourceQuery:{shape:"S4"},Tags:{shape:"S7"},GroupConfiguration:{shape:"Sl"}}}},DeleteGroup:{http:{requestUri:"/delete-group"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{}}},output:{type:"structure",members:{Group:{shape:"Sj"}}}},GetGroup:{http:{requestUri:"/get-group"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{}}},output:{type:"structure",members:{Group:{shape:"Sj"}}}},GetGroupConfiguration:{http:{requestUri:"/get-group-configuration"},input:{type:"structure",members:{Group:{}}},output:{type:"structure",members:{GroupConfiguration:{shape:"Sl"}}}},GetGroupQuery:{http:{requestUri:"/get-group-query"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{}}},output:{type:"structure",members:{GroupQuery:{shape:"Sx"}}}},GetTags:{http:{method:"GET",requestUri:"/resources/{Arn}/tags"},input:{type:"structure",required:["Arn"],members:{Arn:{location:"uri",locationName:"Arn" -}}},output:{type:"structure",members:{Arn:{},Tags:{shape:"S7"}}}},GroupResources:{http:{requestUri:"/group-resources"},input:{type:"structure",required:["Group","ResourceArns"],members:{Group:{},ResourceArns:{shape:"S11"}}},output:{type:"structure",members:{Succeeded:{shape:"S11"},Failed:{shape:"S14"},Pending:{shape:"S18"}}}},ListGroupResources:{http:{requestUri:"/list-group-resources"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{},Filters:{type:"list",member:{type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Resources:{type:"list",member:{type:"structure",members:{Identifier:{shape:"S1l"},Status:{type:"structure",members:{Name:{}}}}}},ResourceIdentifiers:{shape:"S1p",deprecated:!0,deprecatedMessage:"This field is deprecated, use Resources instead."},NextToken:{},QueryErrors:{shape:"S1q"}}}},ListGroups:{http:{requestUri:"/groups-list"},input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{}}}}},MaxResults:{location:"querystring",locationName:"maxResults",type:"integer"},NextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{GroupIdentifiers:{type:"list",member:{type:"structure",members:{GroupName:{},GroupArn:{}}}},Groups:{deprecated:!0,deprecatedMessage:"This field is deprecated, use GroupIdentifiers instead.",type:"list",member:{shape:"Sj"}},NextToken:{}}}},PutGroupConfiguration:{http:{requestUri:"/put-group-configuration",responseCode:202},input:{type:"structure",members:{Group:{},Configuration:{shape:"Sa"}}},output:{type:"structure",members:{}}},SearchResources:{http:{requestUri:"/resources/search"},input:{type:"structure",required:["ResourceQuery"],members:{ResourceQuery:{shape:"S4"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ResourceIdentifiers:{shape:"S1p"},NextToken:{},QueryErrors:{shape:"S1q"}}}},Tag:{http:{method:"PUT",requestUri:"/resources/{Arn}/tags"},input:{type:"structure",required:["Arn","Tags"],members:{Arn:{location:"uri",locationName:"Arn"},Tags:{shape:"S7"}}},output:{type:"structure",members:{Arn:{},Tags:{shape:"S7"}}}},UngroupResources:{http:{requestUri:"/ungroup-resources"},input:{type:"structure",required:["Group","ResourceArns"],members:{Group:{},ResourceArns:{shape:"S11"}}},output:{type:"structure",members:{Succeeded:{shape:"S11"},Failed:{shape:"S14"},Pending:{shape:"S18"}}}},Untag:{http:{method:"PATCH",requestUri:"/resources/{Arn}/tags"},input:{type:"structure",required:["Arn","Keys"],members:{Arn:{location:"uri",locationName:"Arn"},Keys:{shape:"S2d"}}},output:{type:"structure",members:{Arn:{},Keys:{shape:"S2d"}}}},UpdateGroup:{http:{requestUri:"/update-group"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{},Description:{}}},output:{type:"structure",members:{Group:{shape:"Sj"}}}},UpdateGroupQuery:{http:{requestUri:"/update-group-query"},input:{type:"structure",required:["ResourceQuery"],members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{},ResourceQuery:{shape:"S4"}}},output:{type:"structure",members:{GroupQuery:{shape:"Sx"}}}}},shapes:{S4:{type:"structure",required:["Type","Query"],members:{Type:{},Query:{}}},S7:{type:"map",key:{},value:{}},Sa:{type:"list",member:{type:"structure",required:["Type"],members:{Type:{},Parameters:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Values:{type:"list",member:{}}}}}}}},Sj:{type:"structure",required:["GroupArn","Name"],members:{GroupArn:{},Name:{},Description:{}}},Sl:{type:"structure",members:{Configuration:{shape:"Sa"},ProposedConfiguration:{shape:"Sa"},Status:{},FailureReason:{}}},Sx:{type:"structure",required:["GroupName","ResourceQuery"],members:{GroupName:{},ResourceQuery:{shape:"S4"}}},S11:{type:"list",member:{}},S14:{type:"list",member:{type:"structure",members:{ResourceArn:{},ErrorMessage:{},ErrorCode:{}}}},S18:{type:"list",member:{type:"structure",members:{ResourceArn:{}}}},S1l:{type:"structure",members:{ResourceArn:{},ResourceType:{}}},S1p:{type:"list",member:{shape:"S1l"}},S1q:{type:"list",member:{type:"structure",members:{ErrorCode:{},Message:{}}}},S2d:{type:"list",member:{}}}}},{}],202:[function(e,t,r){t.exports={pagination:{ListGroupResources:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:["ResourceIdentifiers","Resources"]},ListGroups:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"GroupIdentifiers"},SearchResources:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"ResourceIdentifiers"}}}},{}],203:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-04-01",endpointPrefix:"route53",globalEndpoint:"route53.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"Route 53",serviceFullName:"Amazon Route 53",serviceId:"Route 53",signatureVersion:"v4",uid:"route53-2013-04-01"},operations:{ActivateKeySigningKey:{http:{requestUri:"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/activate"},input:{type:"structure",required:["HostedZoneId","Name"],members:{HostedZoneId:{location:"uri",locationName:"HostedZoneId"},Name:{location:"uri",locationName:"Name"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},AssociateVPCWithHostedZone:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/associatevpc"},input:{locationName:"AssociateVPCWithHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"Sa"},Comment:{}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},ChangeResourceRecordSets:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/rrset/"},input:{locationName:"ChangeResourceRecordSetsRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","ChangeBatch"],members:{HostedZoneId:{location:"uri",locationName:"Id"},ChangeBatch:{type:"structure",required:["Changes"],members:{Comment:{},Changes:{type:"list",member:{locationName:"Change",type:"structure",required:["Action","ResourceRecordSet"],members:{Action:{},ResourceRecordSet:{shape:"Sk"}}}}}}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},ChangeTagsForResource:{http:{requestUri:"/2013-04-01/tags/{ResourceType}/{ResourceId}"},input:{locationName:"ChangeTagsForResourceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceId:{location:"uri",locationName:"ResourceId"},AddTags:{shape:"S18"},RemoveTagKeys:{type:"list",member:{locationName:"Key"}}}},output:{type:"structure",members:{}}},CreateHealthCheck:{http:{requestUri:"/2013-04-01/healthcheck",responseCode:201},input:{locationName:"CreateHealthCheckRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference","HealthCheckConfig"],members:{CallerReference:{},HealthCheckConfig:{shape:"S1g"}}},output:{type:"structure",required:["HealthCheck","Location"],members:{HealthCheck:{shape:"S23"},Location:{location:"header",locationName:"Location"}}}},CreateHostedZone:{http:{requestUri:"/2013-04-01/hostedzone",responseCode:201},input:{locationName:"CreateHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Name","CallerReference"],members:{Name:{},VPC:{shape:"Sa"},CallerReference:{},HostedZoneConfig:{shape:"S2l"},DelegationSetId:{}}},output:{type:"structure",required:["HostedZone","ChangeInfo","DelegationSet","Location"],members:{HostedZone:{shape:"S2o"},ChangeInfo:{shape:"S5"},DelegationSet:{shape:"S2q"},VPC:{shape:"Sa"},Location:{location:"header",locationName:"Location"}}}},CreateKeySigningKey:{http:{requestUri:"/2013-04-01/keysigningkey",responseCode:201},input:{locationName:"CreateKeySigningKeyRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference","HostedZoneId","KeyManagementServiceArn","Name","Status"],members:{CallerReference:{},HostedZoneId:{},KeyManagementServiceArn:{},Name:{},Status:{}}},output:{type:"structure",required:["ChangeInfo","KeySigningKey","Location"],members:{ChangeInfo:{shape:"S5"},KeySigningKey:{shape:"S2w"},Location:{location:"header",locationName:"Location"}}}},CreateQueryLoggingConfig:{http:{requestUri:"/2013-04-01/queryloggingconfig",responseCode:201},input:{locationName:"CreateQueryLoggingConfigRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","CloudWatchLogsLogGroupArn"],members:{HostedZoneId:{},CloudWatchLogsLogGroupArn:{}}},output:{type:"structure",required:["QueryLoggingConfig","Location"],members:{QueryLoggingConfig:{shape:"S33"},Location:{location:"header",locationName:"Location"}}}},CreateReusableDelegationSet:{http:{requestUri:"/2013-04-01/delegationset",responseCode:201},input:{locationName:"CreateReusableDelegationSetRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference"],members:{CallerReference:{},HostedZoneId:{}}},output:{type:"structure",required:["DelegationSet","Location"],members:{DelegationSet:{shape:"S2q"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicy:{http:{requestUri:"/2013-04-01/trafficpolicy",responseCode:201},input:{locationName:"CreateTrafficPolicyRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Name","Document"],members:{Name:{},Document:{},Comment:{}}},output:{type:"structure",required:["TrafficPolicy","Location"],members:{TrafficPolicy:{shape:"S3c"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicyInstance:{http:{requestUri:"/2013-04-01/trafficpolicyinstance",responseCode:201},input:{locationName:"CreateTrafficPolicyInstanceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","Name","TTL","TrafficPolicyId","TrafficPolicyVersion"],members:{HostedZoneId:{},Name:{},TTL:{type:"long"},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"}}},output:{type:"structure",required:["TrafficPolicyInstance","Location"],members:{TrafficPolicyInstance:{shape:"S3h"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicyVersion:{http:{requestUri:"/2013-04-01/trafficpolicy/{Id}",responseCode:201},input:{locationName:"CreateTrafficPolicyVersionRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","Document"],members:{Id:{location:"uri",locationName:"Id"},Document:{},Comment:{}}},output:{type:"structure",required:["TrafficPolicy","Location"],members:{TrafficPolicy:{shape:"S3c"},Location:{location:"header",locationName:"Location"}}}},CreateVPCAssociationAuthorization:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/authorizevpcassociation"},input:{locationName:"CreateVPCAssociationAuthorizationRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"Sa"}}},output:{type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{},VPC:{shape:"Sa"}}}},DeactivateKeySigningKey:{http:{requestUri:"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/deactivate"},input:{type:"structure",required:["HostedZoneId","Name"],members:{HostedZoneId:{location:"uri",locationName:"HostedZoneId"},Name:{location:"uri",locationName:"Name"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},DeleteHealthCheck:{http:{method:"DELETE",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",members:{}}},DeleteHostedZone:{http:{method:"DELETE",requestUri:"/2013-04-01/hostedzone/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},DeleteKeySigningKey:{http:{method:"DELETE",requestUri:"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}"},input:{type:"structure",required:["HostedZoneId","Name"],members:{HostedZoneId:{location:"uri",locationName:"HostedZoneId"},Name:{location:"uri",locationName:"Name"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},DeleteQueryLoggingConfig:{http:{method:"DELETE",requestUri:"/2013-04-01/queryloggingconfig/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeleteReusableDelegationSet:{http:{method:"DELETE",requestUri:"/2013-04-01/delegationset/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeleteTrafficPolicy:{http:{method:"DELETE",requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{type:"structure",required:["Id","Version"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"}}},output:{type:"structure",members:{}}},DeleteTrafficPolicyInstance:{http:{method:"DELETE",requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeleteVPCAssociationAuthorization:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/deauthorizevpcassociation"},input:{locationName:"DeleteVPCAssociationAuthorizationRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"Sa"}}},output:{type:"structure",members:{}}},DisableHostedZoneDNSSEC:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/disable-dnssec"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},DisassociateVPCFromHostedZone:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/disassociatevpc"},input:{locationName:"DisassociateVPCFromHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"Sa"},Comment:{}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},EnableHostedZoneDNSSEC:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/enable-dnssec"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},GetAccountLimit:{http:{method:"GET",requestUri:"/2013-04-01/accountlimit/{Type}"},input:{type:"structure",required:["Type"],members:{Type:{location:"uri",locationName:"Type"}}},output:{type:"structure",required:["Limit","Count"],members:{Limit:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{type:"long"}}},Count:{type:"long"}}}},GetChange:{http:{method:"GET",requestUri:"/2013-04-01/change/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},GetCheckerIpRanges:{http:{method:"GET",requestUri:"/2013-04-01/checkeripranges"},input:{type:"structure",members:{}},output:{type:"structure",required:["CheckerIpRanges"],members:{CheckerIpRanges:{type:"list",member:{}}}}},GetDNSSEC:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/dnssec"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["Status","KeySigningKeys"],members:{Status:{type:"structure",members:{ServeSignature:{},StatusMessage:{}}},KeySigningKeys:{type:"list",member:{shape:"S2w"}}}}},GetGeoLocation:{http:{method:"GET",requestUri:"/2013-04-01/geolocation"},input:{type:"structure",members:{ContinentCode:{location:"querystring",locationName:"continentcode"},CountryCode:{location:"querystring",locationName:"countrycode"},SubdivisionCode:{location:"querystring",locationName:"subdivisioncode"}}},output:{type:"structure",required:["GeoLocationDetails"],members:{GeoLocationDetails:{shape:"S4w"}}}},GetHealthCheck:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheck"],members:{HealthCheck:{shape:"S23"}}}},GetHealthCheckCount:{http:{method:"GET",requestUri:"/2013-04-01/healthcheckcount"},input:{type:"structure",members:{}},output:{type:"structure",required:["HealthCheckCount"],members:{HealthCheckCount:{type:"long"}}}},GetHealthCheckLastFailureReason:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheckObservations"],members:{HealthCheckObservations:{shape:"S57"}}}},GetHealthCheckStatus:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}/status"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheckObservations"],members:{HealthCheckObservations:{shape:"S57"}}}},GetHostedZone:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["HostedZone"],members:{HostedZone:{shape:"S2o"},DelegationSet:{shape:"S2q"},VPCs:{shape:"S5f"}}}},GetHostedZoneCount:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonecount"},input:{type:"structure",members:{}},output:{type:"structure",required:["HostedZoneCount"],members:{HostedZoneCount:{type:"long"}}}},GetHostedZoneLimit:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonelimit/{Id}/{Type}"},input:{type:"structure",required:["Type","HostedZoneId"],members:{Type:{location:"uri",locationName:"Type"},HostedZoneId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["Limit","Count"],members:{Limit:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{type:"long"}}},Count:{type:"long"}}}},GetQueryLoggingConfig:{http:{method:"GET",requestUri:"/2013-04-01/queryloggingconfig/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["QueryLoggingConfig"],members:{QueryLoggingConfig:{shape:"S33"}}}},GetReusableDelegationSet:{http:{method:"GET",requestUri:"/2013-04-01/delegationset/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["DelegationSet"],members:{DelegationSet:{shape:"S2q"}}}},GetReusableDelegationSetLimit:{http:{method:"GET",requestUri:"/2013-04-01/reusabledelegationsetlimit/{Id}/{Type}"},input:{type:"structure",required:["Type","DelegationSetId"],members:{Type:{location:"uri",locationName:"Type"},DelegationSetId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["Limit","Count"],members:{Limit:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{type:"long"}}},Count:{type:"long"}}}},GetTrafficPolicy:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{type:"structure",required:["Id","Version"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"}}},output:{type:"structure",required:["TrafficPolicy"],members:{TrafficPolicy:{shape:"S3c"}}}},GetTrafficPolicyInstance:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["TrafficPolicyInstance"],members:{TrafficPolicyInstance:{shape:"S3h"}}}},GetTrafficPolicyInstanceCount:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstancecount"},input:{type:"structure",members:{}},output:{type:"structure",required:["TrafficPolicyInstanceCount"],members:{TrafficPolicyInstanceCount:{type:"integer"}}}},ListGeoLocations:{http:{method:"GET",requestUri:"/2013-04-01/geolocations"},input:{type:"structure",members:{StartContinentCode:{location:"querystring",locationName:"startcontinentcode"},StartCountryCode:{location:"querystring",locationName:"startcountrycode"},StartSubdivisionCode:{location:"querystring",locationName:"startsubdivisioncode"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["GeoLocationDetailsList","IsTruncated","MaxItems"],members:{GeoLocationDetailsList:{type:"list",member:{shape:"S4w",locationName:"GeoLocationDetails"}},IsTruncated:{type:"boolean"},NextContinentCode:{},NextCountryCode:{},NextSubdivisionCode:{},MaxItems:{}}}},ListHealthChecks:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["HealthChecks","Marker","IsTruncated","MaxItems"],members:{HealthChecks:{type:"list",member:{shape:"S23",locationName:"HealthCheck"}},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListHostedZones:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"},DelegationSetId:{location:"querystring",locationName:"delegationsetid"}}},output:{type:"structure",required:["HostedZones","Marker","IsTruncated","MaxItems"],members:{HostedZones:{shape:"S6d"},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListHostedZonesByName:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonesbyname"},input:{type:"structure",members:{DNSName:{location:"querystring",locationName:"dnsname"},HostedZoneId:{location:"querystring",locationName:"hostedzoneid"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["HostedZones","IsTruncated","MaxItems"],members:{HostedZones:{shape:"S6d"},DNSName:{},HostedZoneId:{},IsTruncated:{type:"boolean"},NextDNSName:{},NextHostedZoneId:{},MaxItems:{}}}},ListHostedZonesByVPC:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonesbyvpc"},input:{type:"structure",required:["VPCId","VPCRegion"],members:{VPCId:{location:"querystring",locationName:"vpcid"},VPCRegion:{location:"querystring",locationName:"vpcregion"},MaxItems:{location:"querystring",locationName:"maxitems"},NextToken:{location:"querystring",locationName:"nexttoken"}}},output:{type:"structure",required:["HostedZoneSummaries","MaxItems"],members:{HostedZoneSummaries:{type:"list",member:{locationName:"HostedZoneSummary",type:"structure",required:["HostedZoneId","Name","Owner"],members:{HostedZoneId:{},Name:{},Owner:{type:"structure",members:{OwningAccount:{},OwningService:{}}}}}},MaxItems:{},NextToken:{}}}},ListQueryLoggingConfigs:{http:{method:"GET",requestUri:"/2013-04-01/queryloggingconfig"},input:{type:"structure",members:{HostedZoneId:{location:"querystring",locationName:"hostedzoneid"},NextToken:{location:"querystring",locationName:"nexttoken"},MaxResults:{location:"querystring",locationName:"maxresults"}}},output:{type:"structure",required:["QueryLoggingConfigs"],members:{QueryLoggingConfigs:{type:"list",member:{shape:"S33",locationName:"QueryLoggingConfig"}},NextToken:{}}}},ListResourceRecordSets:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/rrset"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"},StartRecordName:{location:"querystring",locationName:"name"},StartRecordType:{location:"querystring",locationName:"type"},StartRecordIdentifier:{location:"querystring",locationName:"identifier"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["ResourceRecordSets","IsTruncated","MaxItems"],members:{ResourceRecordSets:{type:"list",member:{shape:"Sk",locationName:"ResourceRecordSet"}},IsTruncated:{type:"boolean"},NextRecordName:{},NextRecordType:{},NextRecordIdentifier:{},MaxItems:{}}}},ListReusableDelegationSets:{http:{method:"GET",requestUri:"/2013-04-01/delegationset"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["DelegationSets","Marker","IsTruncated","MaxItems"],members:{DelegationSets:{type:"list",member:{shape:"S2q",locationName:"DelegationSet"}},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/2013-04-01/tags/{ResourceType}/{ResourceId}"},input:{type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceId:{location:"uri",locationName:"ResourceId"}}},output:{type:"structure",required:["ResourceTagSet"],members:{ResourceTagSet:{shape:"S70"}}}},ListTagsForResources:{http:{requestUri:"/2013-04-01/tags/{ResourceType}"},input:{locationName:"ListTagsForResourcesRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["ResourceType","ResourceIds"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceIds:{type:"list",member:{locationName:"ResourceId"}}}},output:{type:"structure",required:["ResourceTagSets"],members:{ResourceTagSets:{type:"list",member:{shape:"S70",locationName:"ResourceTagSet"}}}}},ListTrafficPolicies:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicies"},input:{type:"structure",members:{TrafficPolicyIdMarker:{location:"querystring",locationName:"trafficpolicyid"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicySummaries","IsTruncated","TrafficPolicyIdMarker","MaxItems"],members:{TrafficPolicySummaries:{type:"list",member:{locationName:"TrafficPolicySummary",type:"structure",required:["Id","Name","Type","LatestVersion","TrafficPolicyCount"],members:{Id:{},Name:{},Type:{},LatestVersion:{type:"integer"},TrafficPolicyCount:{type:"integer"}}}},IsTruncated:{type:"boolean"},TrafficPolicyIdMarker:{},MaxItems:{}}}},ListTrafficPolicyInstances:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances"},input:{type:"structure",members:{HostedZoneIdMarker:{location:"querystring",locationName:"hostedzoneid"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S7b"},HostedZoneIdMarker:{},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyInstancesByHostedZone:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances/hostedzone"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"querystring",locationName:"id"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S7b"},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyInstancesByPolicy:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances/trafficpolicy"},input:{type:"structure",required:["TrafficPolicyId","TrafficPolicyVersion"],members:{TrafficPolicyId:{location:"querystring",locationName:"id"},TrafficPolicyVersion:{location:"querystring",locationName:"version",type:"integer"},HostedZoneIdMarker:{location:"querystring",locationName:"hostedzoneid"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S7b"},HostedZoneIdMarker:{},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyVersions:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicies/{Id}/versions"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},TrafficPolicyVersionMarker:{location:"querystring",locationName:"trafficpolicyversion"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicies","IsTruncated","TrafficPolicyVersionMarker","MaxItems"],members:{TrafficPolicies:{type:"list",member:{shape:"S3c",locationName:"TrafficPolicy"}},IsTruncated:{type:"boolean"},TrafficPolicyVersionMarker:{},MaxItems:{}}}},ListVPCAssociationAuthorizations:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/authorizevpcassociation"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"},NextToken:{location:"querystring",locationName:"nexttoken"},MaxResults:{location:"querystring",locationName:"maxresults"}}},output:{type:"structure",required:["HostedZoneId","VPCs"],members:{HostedZoneId:{},NextToken:{},VPCs:{shape:"S5f"}}}},TestDNSAnswer:{http:{method:"GET",requestUri:"/2013-04-01/testdnsanswer"},input:{type:"structure",required:["HostedZoneId","RecordName","RecordType"],members:{HostedZoneId:{location:"querystring",locationName:"hostedzoneid"},RecordName:{location:"querystring",locationName:"recordname"},RecordType:{location:"querystring",locationName:"recordtype"},ResolverIP:{location:"querystring",locationName:"resolverip"},EDNS0ClientSubnetIP:{location:"querystring",locationName:"edns0clientsubnetip"},EDNS0ClientSubnetMask:{location:"querystring",locationName:"edns0clientsubnetmask"}}},output:{type:"structure",required:["Nameserver","RecordName","RecordType","RecordData","ResponseCode","Protocol"],members:{Nameserver:{},RecordName:{},RecordType:{},RecordData:{type:"list",member:{locationName:"RecordDataEntry"}},ResponseCode:{},Protocol:{}}}},UpdateHealthCheck:{http:{requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{locationName:"UpdateHealthCheckRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"},HealthCheckVersion:{type:"long"},IPAddress:{},Port:{type:"integer"},ResourcePath:{},FullyQualifiedDomainName:{},SearchString:{},FailureThreshold:{ -type:"integer"},Inverted:{type:"boolean"},Disabled:{type:"boolean"},HealthThreshold:{type:"integer"},ChildHealthChecks:{shape:"S1t"},EnableSNI:{type:"boolean"},Regions:{shape:"S1v"},AlarmIdentifier:{shape:"S1x"},InsufficientDataHealthStatus:{},ResetElements:{type:"list",member:{locationName:"ResettableElementName"}}}},output:{type:"structure",required:["HealthCheck"],members:{HealthCheck:{shape:"S23"}}}},UpdateHostedZoneComment:{http:{requestUri:"/2013-04-01/hostedzone/{Id}"},input:{locationName:"UpdateHostedZoneCommentRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},Comment:{}}},output:{type:"structure",required:["HostedZone"],members:{HostedZone:{shape:"S2o"}}}},UpdateTrafficPolicyComment:{http:{requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{locationName:"UpdateTrafficPolicyCommentRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","Version","Comment"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"},Comment:{}}},output:{type:"structure",required:["TrafficPolicy"],members:{TrafficPolicy:{shape:"S3c"}}}},UpdateTrafficPolicyInstance:{http:{requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{locationName:"UpdateTrafficPolicyInstanceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","TTL","TrafficPolicyId","TrafficPolicyVersion"],members:{Id:{location:"uri",locationName:"Id"},TTL:{type:"long"},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"}}},output:{type:"structure",required:["TrafficPolicyInstance"],members:{TrafficPolicyInstance:{shape:"S3h"}}}}},shapes:{S5:{type:"structure",required:["Id","Status","SubmittedAt"],members:{Id:{},Status:{},SubmittedAt:{type:"timestamp"},Comment:{}}},Sa:{type:"structure",members:{VPCRegion:{},VPCId:{}}},Sk:{type:"structure",required:["Name","Type"],members:{Name:{},Type:{},SetIdentifier:{},Weight:{type:"long"},Region:{},GeoLocation:{type:"structure",members:{ContinentCode:{},CountryCode:{},SubdivisionCode:{}}},Failover:{},MultiValueAnswer:{type:"boolean"},TTL:{type:"long"},ResourceRecords:{type:"list",member:{locationName:"ResourceRecord",type:"structure",required:["Value"],members:{Value:{}}}},AliasTarget:{type:"structure",required:["HostedZoneId","DNSName","EvaluateTargetHealth"],members:{HostedZoneId:{},DNSName:{},EvaluateTargetHealth:{type:"boolean"}}},HealthCheckId:{},TrafficPolicyInstanceId:{}}},S18:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},S1g:{type:"structure",required:["Type"],members:{IPAddress:{},Port:{type:"integer"},Type:{},ResourcePath:{},FullyQualifiedDomainName:{},SearchString:{},RequestInterval:{type:"integer"},FailureThreshold:{type:"integer"},MeasureLatency:{type:"boolean"},Inverted:{type:"boolean"},Disabled:{type:"boolean"},HealthThreshold:{type:"integer"},ChildHealthChecks:{shape:"S1t"},EnableSNI:{type:"boolean"},Regions:{shape:"S1v"},AlarmIdentifier:{shape:"S1x"},InsufficientDataHealthStatus:{},RoutingControlArn:{}}},S1t:{type:"list",member:{locationName:"ChildHealthCheck"}},S1v:{type:"list",member:{locationName:"Region"}},S1x:{type:"structure",required:["Region","Name"],members:{Region:{},Name:{}}},S23:{type:"structure",required:["Id","CallerReference","HealthCheckConfig","HealthCheckVersion"],members:{Id:{},CallerReference:{},LinkedService:{shape:"S24"},HealthCheckConfig:{shape:"S1g"},HealthCheckVersion:{type:"long"},CloudWatchAlarmConfiguration:{type:"structure",required:["EvaluationPeriods","Threshold","ComparisonOperator","Period","MetricName","Namespace","Statistic"],members:{EvaluationPeriods:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{},Period:{type:"integer"},MetricName:{},Namespace:{},Statistic:{},Dimensions:{type:"list",member:{locationName:"Dimension",type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}}}}}},S24:{type:"structure",members:{ServicePrincipal:{},Description:{}}},S2l:{type:"structure",members:{Comment:{},PrivateZone:{type:"boolean"}}},S2o:{type:"structure",required:["Id","Name","CallerReference"],members:{Id:{},Name:{},CallerReference:{},Config:{shape:"S2l"},ResourceRecordSetCount:{type:"long"},LinkedService:{shape:"S24"}}},S2q:{type:"structure",required:["NameServers"],members:{Id:{},CallerReference:{},NameServers:{type:"list",member:{locationName:"NameServer"}}}},S2w:{type:"structure",members:{Name:{},KmsArn:{},Flag:{type:"integer"},SigningAlgorithmMnemonic:{},SigningAlgorithmType:{type:"integer"},DigestAlgorithmMnemonic:{},DigestAlgorithmType:{type:"integer"},KeyTag:{type:"integer"},DigestValue:{},PublicKey:{},DSRecord:{},DNSKEYRecord:{},Status:{},StatusMessage:{},CreatedDate:{type:"timestamp"},LastModifiedDate:{type:"timestamp"}}},S33:{type:"structure",required:["Id","HostedZoneId","CloudWatchLogsLogGroupArn"],members:{Id:{},HostedZoneId:{},CloudWatchLogsLogGroupArn:{}}},S3c:{type:"structure",required:["Id","Version","Name","Type","Document"],members:{Id:{},Version:{type:"integer"},Name:{},Type:{},Document:{},Comment:{}}},S3h:{type:"structure",required:["Id","HostedZoneId","Name","TTL","State","Message","TrafficPolicyId","TrafficPolicyVersion","TrafficPolicyType"],members:{Id:{},HostedZoneId:{},Name:{},TTL:{type:"long"},State:{},Message:{},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"},TrafficPolicyType:{}}},S4w:{type:"structure",members:{ContinentCode:{},ContinentName:{},CountryCode:{},CountryName:{},SubdivisionCode:{},SubdivisionName:{}}},S57:{type:"list",member:{locationName:"HealthCheckObservation",type:"structure",members:{Region:{},IPAddress:{},StatusReport:{type:"structure",members:{Status:{},CheckedTime:{type:"timestamp"}}}}}},S5f:{type:"list",member:{shape:"Sa",locationName:"VPC"}},S6d:{type:"list",member:{shape:"S2o",locationName:"HostedZone"}},S70:{type:"structure",members:{ResourceType:{},ResourceId:{},Tags:{shape:"S18"}}},S7b:{type:"list",member:{shape:"S3h",locationName:"TrafficPolicyInstance"}}}}},{}],204:[function(e,t,r){t.exports={pagination:{ListHealthChecks:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"NextMarker",result_key:"HealthChecks"},ListHostedZones:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"NextMarker",result_key:"HostedZones"},ListQueryLoggingConfigs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"QueryLoggingConfigs"},ListResourceRecordSets:{input_token:["StartRecordName","StartRecordType","StartRecordIdentifier"],limit_key:"MaxItems",more_results:"IsTruncated",output_token:["NextRecordName","NextRecordType","NextRecordIdentifier"],result_key:"ResourceRecordSets"}}}},{}],205:[function(e,t,r){t.exports={version:2,waiters:{ResourceRecordSetsChanged:{delay:30,maxAttempts:60,operation:"GetChange",acceptors:[{matcher:"path",expected:"INSYNC",argument:"ChangeInfo.Status",state:"success"}]}}}},{}],206:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-05-15",endpointPrefix:"route53domains",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Route 53 Domains",serviceId:"Route 53 Domains",signatureVersion:"v4",targetPrefix:"Route53Domains_v20140515",uid:"route53domains-2014-05-15"},operations:{AcceptDomainTransferFromAnotherAwsAccount:{input:{type:"structure",required:["DomainName","Password"],members:{DomainName:{},Password:{}}},output:{type:"structure",members:{OperationId:{}}}},CancelDomainTransferToAnotherAwsAccount:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{OperationId:{}}}},CheckDomainAvailability:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},IdnLangCode:{}}},output:{type:"structure",required:["Availability"],members:{Availability:{}}}},CheckDomainTransferability:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},AuthCode:{shape:"Sd"}}},output:{type:"structure",required:["Transferability"],members:{Transferability:{type:"structure",members:{Transferable:{}}}}}},DeleteDomain:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{OperationId:{}}}},DeleteTagsForDomain:{input:{type:"structure",required:["DomainName","TagsToDelete"],members:{DomainName:{},TagsToDelete:{type:"list",member:{}}}},output:{type:"structure",members:{}}},DisableDomainAutoRenew:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{}}},DisableDomainTransferLock:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},EnableDomainAutoRenew:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{}}},EnableDomainTransferLock:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},GetContactReachabilityStatus:{input:{type:"structure",members:{domainName:{}}},output:{type:"structure",members:{domainName:{},status:{}}}},GetDomainDetail:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["DomainName","Nameservers","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},Nameservers:{shape:"S10"},AutoRenew:{type:"boolean"},AdminContact:{shape:"S16"},RegistrantContact:{shape:"S16"},TechContact:{shape:"S16"},AdminPrivacy:{type:"boolean"},RegistrantPrivacy:{type:"boolean"},TechPrivacy:{type:"boolean"},RegistrarName:{},WhoIsServer:{},RegistrarUrl:{},AbuseContactEmail:{},AbuseContactPhone:{},RegistryDomainId:{},CreationDate:{type:"timestamp"},UpdatedDate:{type:"timestamp"},ExpirationDate:{type:"timestamp"},Reseller:{},DnsSec:{},StatusList:{type:"list",member:{}}}}},GetDomainSuggestions:{input:{type:"structure",required:["DomainName","SuggestionCount","OnlyAvailable"],members:{DomainName:{},SuggestionCount:{type:"integer"},OnlyAvailable:{type:"boolean"}}},output:{type:"structure",members:{SuggestionsList:{type:"list",member:{type:"structure",members:{DomainName:{},Availability:{}}}}}}},GetOperationDetail:{input:{type:"structure",required:["OperationId"],members:{OperationId:{}}},output:{type:"structure",members:{OperationId:{},Status:{},Message:{},DomainName:{},Type:{},SubmittedDate:{type:"timestamp"}}}},ListDomains:{input:{type:"structure",members:{FilterConditions:{type:"list",member:{type:"structure",required:["Name","Operator","Values"],members:{Name:{},Operator:{},Values:{type:"list",member:{}}}}},SortCondition:{type:"structure",required:["Name","SortOrder"],members:{Name:{},SortOrder:{}}},Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",required:["Domains"],members:{Domains:{type:"list",member:{type:"structure",required:["DomainName"],members:{DomainName:{},AutoRenew:{type:"boolean"},TransferLock:{type:"boolean"},Expiry:{type:"timestamp"}}}},NextPageMarker:{}}}},ListOperations:{input:{type:"structure",members:{SubmittedSince:{type:"timestamp"},Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",required:["Operations"],members:{Operations:{type:"list",member:{type:"structure",required:["OperationId","Status","Type","SubmittedDate"],members:{OperationId:{},Status:{},Type:{},SubmittedDate:{type:"timestamp"}}}},NextPageMarker:{}}}},ListPrices:{input:{type:"structure",members:{Tld:{},Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",required:["Prices"],members:{Prices:{type:"list",member:{type:"structure",members:{Name:{},RegistrationPrice:{shape:"S2r"},TransferPrice:{shape:"S2r"},RenewalPrice:{shape:"S2r"},ChangeOwnershipPrice:{shape:"S2r"},RestorationPrice:{shape:"S2r"}}}},NextPageMarker:{}}}},ListTagsForDomain:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["TagList"],members:{TagList:{shape:"S2w"}}}},RegisterDomain:{input:{type:"structure",required:["DomainName","DurationInYears","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},IdnLangCode:{},DurationInYears:{type:"integer"},AutoRenew:{type:"boolean"},AdminContact:{shape:"S16"},RegistrantContact:{shape:"S16"},TechContact:{shape:"S16"},PrivacyProtectAdminContact:{type:"boolean"},PrivacyProtectRegistrantContact:{type:"boolean"},PrivacyProtectTechContact:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},RejectDomainTransferFromAnotherAwsAccount:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{OperationId:{}}}},RenewDomain:{input:{type:"structure",required:["DomainName","CurrentExpiryYear"],members:{DomainName:{},DurationInYears:{type:"integer"},CurrentExpiryYear:{type:"integer"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},ResendContactReachabilityEmail:{input:{type:"structure",members:{domainName:{}}},output:{type:"structure",members:{domainName:{},emailAddress:{},isAlreadyVerified:{type:"boolean"}}}},RetrieveDomainAuthCode:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["AuthCode"],members:{AuthCode:{shape:"Sd"}}}},TransferDomain:{input:{type:"structure",required:["DomainName","DurationInYears","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},IdnLangCode:{},DurationInYears:{type:"integer"},Nameservers:{shape:"S10"},AuthCode:{shape:"Sd"},AutoRenew:{type:"boolean"},AdminContact:{shape:"S16"},RegistrantContact:{shape:"S16"},TechContact:{shape:"S16"},PrivacyProtectAdminContact:{type:"boolean"},PrivacyProtectRegistrantContact:{type:"boolean"},PrivacyProtectTechContact:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},TransferDomainToAnotherAwsAccount:{input:{type:"structure",required:["DomainName","AccountId"],members:{DomainName:{},AccountId:{}}},output:{type:"structure",members:{OperationId:{},Password:{}}}},UpdateDomainContact:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},AdminContact:{shape:"S16"},RegistrantContact:{shape:"S16"},TechContact:{shape:"S16"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},UpdateDomainContactPrivacy:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},AdminPrivacy:{type:"boolean"},RegistrantPrivacy:{type:"boolean"},TechPrivacy:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},UpdateDomainNameservers:{input:{type:"structure",required:["DomainName","Nameservers"],members:{DomainName:{},FIAuthKey:{deprecated:!0,type:"string",sensitive:!0},Nameservers:{shape:"S10"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},UpdateTagsForDomain:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},TagsToUpdate:{shape:"S2w"}}},output:{type:"structure",members:{}}},ViewBilling:{input:{type:"structure",members:{Start:{type:"timestamp"},End:{type:"timestamp"},Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",members:{NextPageMarker:{},BillingRecords:{type:"list",member:{type:"structure",members:{DomainName:{},Operation:{},InvoiceId:{},BillDate:{type:"timestamp"},Price:{type:"double"}}}}}}}},shapes:{Sd:{type:"string",sensitive:!0},S10:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},GlueIps:{type:"list",member:{}}}}},S16:{type:"structure",members:{FirstName:{},LastName:{},ContactType:{},OrganizationName:{},AddressLine1:{},AddressLine2:{},City:{},State:{},CountryCode:{},ZipCode:{},PhoneNumber:{},Email:{},Fax:{},ExtraParams:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{type:"string",sensitive:!0}}}}},sensitive:!0},S2r:{type:"structure",required:["Price","Currency"],members:{Price:{type:"double"},Currency:{}}},S2w:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}}},{}],207:[function(e,t,r){t.exports={pagination:{ListDomains:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextPageMarker",result_key:"Domains"},ListOperations:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextPageMarker",result_key:"Operations"},ListPrices:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextPageMarker",result_key:"Prices"},ViewBilling:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextPageMarker",result_key:"BillingRecords"}}}},{}],208:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-11-28",endpointPrefix:"runtime.lex",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Lex Runtime Service",serviceId:"Lex Runtime Service",signatureVersion:"v4",signingName:"lex",uid:"runtime.lex-2016-11-28"},operations:{DeleteSession:{http:{method:"DELETE",requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/session"},input:{type:"structure",required:["botName","botAlias","userId"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"}}},output:{type:"structure",members:{botName:{},botAlias:{},userId:{},sessionId:{}}}},GetSession:{http:{method:"GET",requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/session/"},input:{type:"structure",required:["botName","botAlias","userId"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"},checkpointLabelFilter:{location:"querystring",locationName:"checkpointLabelFilter"}}},output:{type:"structure",members:{recentIntentSummaryView:{shape:"Sa"},sessionAttributes:{shape:"Sd"},sessionId:{},dialogAction:{shape:"Sh"},activeContexts:{shape:"Sk"}}}},PostContent:{http:{requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/content"},input:{type:"structure",required:["botName","botAlias","userId","contentType","inputStream"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"},sessionAttributes:{shape:"St",jsonvalue:!0,location:"header",locationName:"x-amz-lex-session-attributes"},requestAttributes:{shape:"St",jsonvalue:!0,location:"header",locationName:"x-amz-lex-request-attributes"},contentType:{location:"header",locationName:"Content-Type"},accept:{location:"header",locationName:"Accept"},inputStream:{shape:"Sw"},activeContexts:{shape:"Sx",jsonvalue:!0,location:"header",locationName:"x-amz-lex-active-contexts"}},payload:"inputStream"},output:{type:"structure",members:{contentType:{location:"header",locationName:"Content-Type"},intentName:{location:"header",locationName:"x-amz-lex-intent-name"},nluIntentConfidence:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-nlu-intent-confidence"},alternativeIntents:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-alternative-intents"},slots:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-slots"},sessionAttributes:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-session-attributes"},sentimentResponse:{location:"header",locationName:"x-amz-lex-sentiment"},message:{shape:"Si",deprecated:!0,deprecatedMessage:"The message field is deprecated, use the encodedMessage field instead. The message field is available only in the de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-CA, fr-FR and it-IT locales.",location:"header",locationName:"x-amz-lex-message"},encodedMessage:{shape:"Sz",location:"header",locationName:"x-amz-lex-encoded-message"},messageFormat:{location:"header",locationName:"x-amz-lex-message-format"},dialogState:{location:"header",locationName:"x-amz-lex-dialog-state"},slotToElicit:{location:"header",locationName:"x-amz-lex-slot-to-elicit"},inputTranscript:{deprecated:!0,deprecatedMessage:"The inputTranscript field is deprecated, use the encodedInputTranscript field instead. The inputTranscript field is available only in the de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-CA, fr-FR and it-IT locales.",location:"header",locationName:"x-amz-lex-input-transcript"},encodedInputTranscript:{location:"header",locationName:"x-amz-lex-encoded-input-transcript",type:"string",sensitive:!0},audioStream:{shape:"Sw"},botVersion:{location:"header",locationName:"x-amz-lex-bot-version"},sessionId:{location:"header",locationName:"x-amz-lex-session-id"},activeContexts:{shape:"Sx",jsonvalue:!0,location:"header",locationName:"x-amz-lex-active-contexts"}},payload:"audioStream"},authtype:"v4-unsigned-body"},PostText:{http:{requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/text"},input:{type:"structure",required:["botName","botAlias","userId","inputText"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"},sessionAttributes:{shape:"Sd"},requestAttributes:{shape:"Sd"},inputText:{shape:"Si"},activeContexts:{shape:"Sk"}}},output:{type:"structure",members:{intentName:{},nluIntentConfidence:{shape:"S15"},alternativeIntents:{type:"list",member:{type:"structure",members:{intentName:{},nluIntentConfidence:{shape:"S15"},slots:{shape:"Sd"}}}},slots:{shape:"Sd"},sessionAttributes:{shape:"Sd"},message:{shape:"Si"},sentimentResponse:{type:"structure",members:{sentimentLabel:{},sentimentScore:{}}},messageFormat:{},dialogState:{},slotToElicit:{},responseCard:{type:"structure",members:{version:{},contentType:{},genericAttachments:{type:"list",member:{type:"structure",members:{title:{},subTitle:{},attachmentLinkUrl:{},imageUrl:{},buttons:{type:"list",member:{type:"structure",required:["text","value"],members:{text:{},value:{}}}}}}}}},sessionId:{},botVersion:{},activeContexts:{shape:"Sk"}}}},PutSession:{http:{requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/session"},input:{type:"structure",required:["botName","botAlias","userId"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"},sessionAttributes:{shape:"Sd"},dialogAction:{shape:"Sh"},recentIntentSummaryView:{shape:"Sa"},accept:{location:"header",locationName:"Accept"},activeContexts:{shape:"Sk"}}},output:{type:"structure",members:{contentType:{location:"header",locationName:"Content-Type"},intentName:{location:"header",locationName:"x-amz-lex-intent-name"},slots:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-slots"},sessionAttributes:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-session-attributes"},message:{shape:"Si",deprecated:!0,deprecatedMessage:"The message field is deprecated, use the encodedMessage field instead. The message field is available only in the de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-CA, fr-FR and it-IT locales.",location:"header",locationName:"x-amz-lex-message"},encodedMessage:{shape:"Sz",location:"header",locationName:"x-amz-lex-encoded-message"},messageFormat:{location:"header",locationName:"x-amz-lex-message-format"},dialogState:{location:"header",locationName:"x-amz-lex-dialog-state"},slotToElicit:{location:"header",locationName:"x-amz-lex-slot-to-elicit"},audioStream:{shape:"Sw"},sessionId:{location:"header",locationName:"x-amz-lex-session-id"},activeContexts:{shape:"Sx",jsonvalue:!0,location:"header",locationName:"x-amz-lex-active-contexts"}},payload:"audioStream"}}},shapes:{Sa:{type:"list",member:{type:"structure",required:["dialogActionType"],members:{intentName:{},checkpointLabel:{},slots:{shape:"Sd"},confirmationStatus:{},dialogActionType:{},fulfillmentState:{},slotToElicit:{}}}},Sd:{type:"map",key:{},value:{},sensitive:!0},Sh:{type:"structure",required:["type"],members:{type:{},intentName:{},slots:{shape:"Sd"},slotToElicit:{},fulfillmentState:{},message:{shape:"Si"},messageFormat:{}}},Si:{type:"string",sensitive:!0},Sk:{type:"list",member:{type:"structure",required:["name","timeToLive","parameters"],members:{name:{},timeToLive:{type:"structure",members:{timeToLiveInSeconds:{type:"integer"},turnsToLive:{type:"integer"}}},parameters:{type:"map",key:{},value:{shape:"Si"}}}},sensitive:!0},St:{type:"string",sensitive:!0},Sw:{type:"blob",streaming:!0},Sx:{type:"string",sensitive:!0},Sz:{type:"string",sensitive:!0},S15:{type:"structure",members:{score:{type:"double"}}}}}},{}],209:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],210:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2020-08-07",endpointPrefix:"runtime-v2-lex",jsonVersion:"1.1",protocol:"rest-json",protocolSettings:{h2:"eventstream"},serviceAbbreviation:"Lex Runtime V2",serviceFullName:"Amazon Lex Runtime V2",serviceId:"Lex Runtime V2",signatureVersion:"v4",signingName:"lex",uid:"runtime.lex.v2-2020-08-07"},operations:{DeleteSession:{http:{method:"DELETE",requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},input:{type:"structure",required:["botId","botAliasId","sessionId","localeId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"}}},output:{type:"structure",members:{botId:{},botAliasId:{},localeId:{},sessionId:{}}}},GetSession:{http:{method:"GET",requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},input:{type:"structure",required:["botId","botAliasId","localeId","sessionId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"}}},output:{type:"structure",members:{sessionId:{},messages:{shape:"Sa"},interpretations:{shape:"Sl"},sessionState:{shape:"S11"}}}},PutSession:{http:{requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},input:{type:"structure",required:["botId","botAliasId","localeId","sessionState","sessionId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"},messages:{shape:"Sa"},sessionState:{shape:"S11"},requestAttributes:{shape:"S1d"},responseContentType:{location:"header",locationName:"ResponseContentType"}}},output:{type:"structure",members:{contentType:{location:"header",locationName:"Content-Type"},messages:{location:"header",locationName:"x-amz-lex-messages"},sessionState:{location:"header",locationName:"x-amz-lex-session-state"},requestAttributes:{location:"header",locationName:"x-amz-lex-request-attributes"},sessionId:{location:"header",locationName:"x-amz-lex-session-id"},audioStream:{shape:"S1h"}},payload:"audioStream"}},RecognizeText:{http:{requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text"},input:{type:"structure",required:["botId","botAliasId","localeId","text","sessionId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"},text:{shape:"Sc"},sessionState:{shape:"S11"},requestAttributes:{shape:"S1d"}}},output:{type:"structure",members:{messages:{shape:"Sa"},sessionState:{shape:"S11"},interpretations:{shape:"Sl"},requestAttributes:{shape:"S1d"},sessionId:{}}}},RecognizeUtterance:{http:{requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance"},input:{type:"structure",required:["botId","botAliasId","localeId","requestContentType","sessionId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"},sessionState:{shape:"S1l",location:"header",locationName:"x-amz-lex-session-state"},requestAttributes:{shape:"S1l",location:"header",locationName:"x-amz-lex-request-attributes"},requestContentType:{location:"header",locationName:"Content-Type"},responseContentType:{location:"header",locationName:"Response-Content-Type"},inputStream:{shape:"S1h"}},payload:"inputStream"},output:{type:"structure",members:{inputMode:{location:"header",locationName:"x-amz-lex-input-mode"},contentType:{location:"header",locationName:"Content-Type"},messages:{location:"header",locationName:"x-amz-lex-messages"},interpretations:{location:"header",locationName:"x-amz-lex-interpretations"},sessionState:{location:"header",locationName:"x-amz-lex-session-state"},requestAttributes:{location:"header",locationName:"x-amz-lex-request-attributes"},sessionId:{location:"header",locationName:"x-amz-lex-session-id"},inputTranscript:{location:"header",locationName:"x-amz-lex-input-transcript"},audioStream:{shape:"S1h"}},payload:"audioStream"},authtype:"v4-unsigned-body"}},shapes:{Sa:{type:"list",member:{type:"structure",required:["contentType"],members:{content:{shape:"Sc"},contentType:{},imageResponseCard:{type:"structure",required:["title"],members:{title:{},subtitle:{},imageUrl:{},buttons:{type:"list",member:{type:"structure",required:["text","value"],members:{text:{},value:{}}}}}}}}},Sc:{type:"string",sensitive:!0},Sl:{type:"list",member:{type:"structure",members:{nluConfidence:{type:"structure",members:{score:{type:"double"}}},sentimentResponse:{type:"structure",members:{sentiment:{},sentimentScore:{type:"structure",members:{positive:{type:"double"},negative:{type:"double"},neutral:{type:"double"},mixed:{type:"double"}}}}},intent:{shape:"Ss"}}}},Ss:{type:"structure",required:["name"],members:{name:{},slots:{type:"map",key:{},value:{shape:"Su"}},state:{},confirmationState:{}}},Su:{type:"structure",members:{value:{type:"structure",required:["interpretedValue"],members:{originalValue:{},interpretedValue:{},resolvedValues:{type:"list",member:{}}}},shape:{},values:{type:"list",member:{shape:"Su"}}}},S11:{type:"structure",members:{dialogAction:{type:"structure",required:["type"],members:{type:{},slotToElicit:{},slotElicitationStyle:{}}},intent:{shape:"Ss"},activeContexts:{type:"list",member:{type:"structure",required:["name","timeToLive","contextAttributes"],members:{name:{},timeToLive:{type:"structure",required:["timeToLiveInSeconds","turnsToLive"],members:{timeToLiveInSeconds:{type:"integer"},turnsToLive:{type:"integer"}}},contextAttributes:{type:"map",key:{},value:{shape:"Sc"}}}}},sessionAttributes:{shape:"S1d"},originatingRequestId:{}}},S1d:{type:"map",key:{},value:{}},S1h:{type:"blob",streaming:!0},S1l:{type:"string",sensitive:!0}}}},{}],211:[function(e,t,r){t.exports={pagination:{}}},{}],212:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2006-03-01",checksumFormat:"md5",endpointPrefix:"s3",globalEndpoint:"s3.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"Amazon S3",serviceFullName:"Amazon Simple Storage Service",serviceId:"S3",signatureVersion:"s3",uid:"s3-2006-03-01"},operations:{AbortMultipartUpload:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}",responseCode:204},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},CompleteMultipartUpload:{http:{requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MultipartUpload:{locationName:"CompleteMultipartUpload",xmlNamespace:{ -uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Parts:{locationName:"Part",type:"list",member:{type:"structure",members:{ETag:{},PartNumber:{type:"integer"}}},flattened:!0}}},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"MultipartUpload"},output:{type:"structure",members:{Location:{},Bucket:{},Key:{},Expiration:{location:"header",locationName:"x-amz-expiration"},ETag:{},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},VersionId:{location:"header",locationName:"x-amz-version-id"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},CopyObject:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","CopySource","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},CopySource:{location:"header",locationName:"x-amz-copy-source"},CopySourceIfMatch:{location:"header",locationName:"x-amz-copy-source-if-match"},CopySourceIfModifiedSince:{location:"header",locationName:"x-amz-copy-source-if-modified-since",type:"timestamp"},CopySourceIfNoneMatch:{location:"header",locationName:"x-amz-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{location:"header",locationName:"x-amz-copy-source-if-unmodified-since",type:"timestamp"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},MetadataDirective:{location:"header",locationName:"x-amz-metadata-directive"},TaggingDirective:{location:"header",locationName:"x-amz-tagging-directive"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},CopySourceSSECustomerAlgorithm:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm"},CopySourceSSECustomerKey:{shape:"S1f",location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key"},CopySourceSSECustomerKeyMD5:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},Tagging:{location:"header",locationName:"x-amz-tagging"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},ExpectedSourceBucketOwner:{location:"header",locationName:"x-amz-source-expected-bucket-owner"}}},output:{type:"structure",members:{CopyObjectResult:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"}}},Expiration:{location:"header",locationName:"x-amz-expiration"},CopySourceVersionId:{location:"header",locationName:"x-amz-copy-source-version-id"},VersionId:{location:"header",locationName:"x-amz-version-id"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"CopyObjectResult"},alias:"PutObjectCopy"},CreateBucket:{http:{method:"PUT",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CreateBucketConfiguration:{locationName:"CreateBucketConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{LocationConstraint:{}}},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},ObjectLockEnabledForBucket:{location:"header",locationName:"x-amz-bucket-object-lock-enabled",type:"boolean"},ObjectOwnership:{location:"header",locationName:"x-amz-object-ownership"}},payload:"CreateBucketConfiguration"},output:{type:"structure",members:{Location:{location:"header",locationName:"Location"}}},alias:"PutBucket"},CreateMultipartUpload:{http:{requestUri:"/{Bucket}/{Key+}?uploads"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},Tagging:{location:"header",locationName:"x-amz-tagging"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{AbortDate:{location:"header",locationName:"x-amz-abort-date",type:"timestamp"},AbortRuleId:{location:"header",locationName:"x-amz-abort-rule-id"},Bucket:{locationName:"Bucket"},Key:{},UploadId:{},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},alias:"InitiateMultipartUpload"},DeleteBucket:{http:{method:"DELETE",requestUri:"/{Bucket}",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketAnalyticsConfiguration:{http:{method:"DELETE",requestUri:"/{Bucket}?analytics",responseCode:204},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketCors:{http:{method:"DELETE",requestUri:"/{Bucket}?cors",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketEncryption:{http:{method:"DELETE",requestUri:"/{Bucket}?encryption",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketIntelligentTieringConfiguration:{http:{method:"DELETE",requestUri:"/{Bucket}?intelligent-tiering",responseCode:204},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"}}}},DeleteBucketInventoryConfiguration:{http:{method:"DELETE",requestUri:"/{Bucket}?inventory",responseCode:204},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketLifecycle:{http:{method:"DELETE",requestUri:"/{Bucket}?lifecycle",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketMetricsConfiguration:{http:{method:"DELETE",requestUri:"/{Bucket}?metrics",responseCode:204},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketOwnershipControls:{http:{method:"DELETE",requestUri:"/{Bucket}?ownershipControls",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketPolicy:{http:{method:"DELETE",requestUri:"/{Bucket}?policy",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketReplication:{http:{method:"DELETE",requestUri:"/{Bucket}?replication",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketTagging:{http:{method:"DELETE",requestUri:"/{Bucket}?tagging",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketWebsite:{http:{method:"DELETE",requestUri:"/{Bucket}?website",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteObject:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}",responseCode:204},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MFA:{location:"header",locationName:"x-amz-mfa"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},BypassGovernanceRetention:{location:"header",locationName:"x-amz-bypass-governance-retention",type:"boolean"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},VersionId:{location:"header",locationName:"x-amz-version-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},DeleteObjectTagging:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}?tagging",responseCode:204},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{VersionId:{location:"header",locationName:"x-amz-version-id"}}}},DeleteObjects:{http:{requestUri:"/{Bucket}?delete"},input:{type:"structure",required:["Bucket","Delete"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delete:{locationName:"Delete",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Objects"],members:{Objects:{locationName:"Object",type:"list",member:{type:"structure",required:["Key"],members:{Key:{},VersionId:{}}},flattened:!0},Quiet:{type:"boolean"}}},MFA:{location:"header",locationName:"x-amz-mfa"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},BypassGovernanceRetention:{location:"header",locationName:"x-amz-bypass-governance-retention",type:"boolean"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Delete"},output:{type:"structure",members:{Deleted:{type:"list",member:{type:"structure",members:{Key:{},VersionId:{},DeleteMarker:{type:"boolean"},DeleteMarkerVersionId:{}}},flattened:!0},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},Errors:{locationName:"Error",type:"list",member:{type:"structure",members:{Key:{},VersionId:{},Code:{},Message:{}}},flattened:!0}}},alias:"DeleteMultipleObjects",httpChecksumRequired:!0},DeletePublicAccessBlock:{http:{method:"DELETE",requestUri:"/{Bucket}?publicAccessBlock",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},GetBucketAccelerateConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?accelerate"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Status:{}}}},GetBucketAcl:{http:{method:"GET",requestUri:"/{Bucket}?acl"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Owner:{shape:"S38"},Grants:{shape:"S3b",locationName:"AccessControlList"}}}},GetBucketAnalyticsConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?analytics"},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{AnalyticsConfiguration:{shape:"S3k"}},payload:"AnalyticsConfiguration"}},GetBucketCors:{http:{method:"GET",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{CORSRules:{shape:"S3z",locationName:"CORSRule"}}}},GetBucketEncryption:{http:{method:"GET",requestUri:"/{Bucket}?encryption"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{ServerSideEncryptionConfiguration:{shape:"S4c"}},payload:"ServerSideEncryptionConfiguration"}},GetBucketIntelligentTieringConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?intelligent-tiering"},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"}}},output:{type:"structure",members:{IntelligentTieringConfiguration:{shape:"S4i"}},payload:"IntelligentTieringConfiguration"}},GetBucketInventoryConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?inventory"},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{InventoryConfiguration:{shape:"S4s"}},payload:"InventoryConfiguration"}},GetBucketLifecycle:{http:{method:"GET",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Rules:{shape:"S58",locationName:"Rule"}}},deprecated:!0},GetBucketLifecycleConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Rules:{shape:"S5o",locationName:"Rule"}}}},GetBucketLocation:{http:{method:"GET",requestUri:"/{Bucket}?location"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{LocationConstraint:{}}}},GetBucketLogging:{http:{method:"GET",requestUri:"/{Bucket}?logging"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{LoggingEnabled:{shape:"S60"}}}},GetBucketMetricsConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?metrics"},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{MetricsConfiguration:{shape:"S68"}},payload:"MetricsConfiguration"}},GetBucketNotification:{http:{method:"GET",requestUri:"/{Bucket}?notification"},input:{shape:"S6c"},output:{shape:"S6d"},deprecated:!0},GetBucketNotificationConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?notification"},input:{shape:"S6c"},output:{shape:"S6o"}},GetBucketOwnershipControls:{http:{method:"GET",requestUri:"/{Bucket}?ownershipControls"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{OwnershipControls:{shape:"S75"}},payload:"OwnershipControls"}},GetBucketPolicy:{http:{method:"GET",requestUri:"/{Bucket}?policy"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Policy:{}},payload:"Policy"}},GetBucketPolicyStatus:{http:{method:"GET",requestUri:"/{Bucket}?policyStatus"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{PolicyStatus:{type:"structure",members:{IsPublic:{locationName:"IsPublic",type:"boolean"}}}},payload:"PolicyStatus"}},GetBucketReplication:{http:{method:"GET",requestUri:"/{Bucket}?replication"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{ReplicationConfiguration:{shape:"S7h"}},payload:"ReplicationConfiguration"}},GetBucketRequestPayment:{http:{method:"GET",requestUri:"/{Bucket}?requestPayment"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Payer:{}}}},GetBucketTagging:{http:{method:"GET",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",required:["TagSet"],members:{TagSet:{shape:"S3q"}}}},GetBucketVersioning:{http:{method:"GET",requestUri:"/{Bucket}?versioning"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Status:{},MFADelete:{locationName:"MfaDelete"}}}},GetBucketWebsite:{http:{method:"GET",requestUri:"/{Bucket}?website"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{RedirectAllRequestsTo:{shape:"S8k"},IndexDocument:{shape:"S8n"},ErrorDocument:{shape:"S8p"},RoutingRules:{shape:"S8q"}}}},GetObject:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},IfMatch:{location:"header",locationName:"If-Match"},IfModifiedSince:{location:"header",locationName:"If-Modified-Since",type:"timestamp"},IfNoneMatch:{location:"header",locationName:"If-None-Match"},IfUnmodifiedSince:{location:"header",locationName:"If-Unmodified-Since",type:"timestamp"},Key:{location:"uri",locationName:"Key"},Range:{location:"header",locationName:"Range"},ResponseCacheControl:{location:"querystring",locationName:"response-cache-control"},ResponseContentDisposition:{location:"querystring",locationName:"response-content-disposition"},ResponseContentEncoding:{location:"querystring",locationName:"response-content-encoding"},ResponseContentLanguage:{location:"querystring",locationName:"response-content-language"},ResponseContentType:{location:"querystring",locationName:"response-content-type"},ResponseExpires:{location:"querystring",locationName:"response-expires",type:"timestamp",timestampFormat:"rfc822"},VersionId:{location:"querystring",locationName:"versionId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Body:{streaming:!0,type:"blob"},DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},AcceptRanges:{location:"header",locationName:"accept-ranges"},Expiration:{location:"header",locationName:"x-amz-expiration"},Restore:{location:"header",locationName:"x-amz-restore"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ETag:{location:"header",locationName:"ETag"},MissingMeta:{location:"header",locationName:"x-amz-missing-meta",type:"integer"},VersionId:{location:"header",locationName:"x-amz-version-id"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentRange:{location:"header",locationName:"Content-Range"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},ReplicationStatus:{location:"header",locationName:"x-amz-replication-status"},PartsCount:{location:"header",locationName:"x-amz-mp-parts-count",type:"integer"},TagCount:{location:"header",locationName:"x-amz-tagging-count",type:"integer"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"}},payload:"Body"}},GetObjectAcl:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?acl"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Owner:{shape:"S38"},Grants:{shape:"S3b",locationName:"AccessControlList"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},GetObjectLegalHold:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?legal-hold"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{LegalHold:{shape:"S9p"}},payload:"LegalHold"}},GetObjectLockConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?object-lock"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{ObjectLockConfiguration:{shape:"S9s"}},payload:"ObjectLockConfiguration"}},GetObjectRetention:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?retention"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Retention:{shape:"Sa0"}},payload:"Retention"}},GetObjectTagging:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?tagging"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",required:["TagSet"],members:{VersionId:{location:"header",locationName:"x-amz-version-id"},TagSet:{shape:"S3q"}}}},GetObjectTorrent:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?torrent"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Body:{streaming:!0,type:"blob"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"Body"}},GetPublicAccessBlock:{http:{method:"GET",requestUri:"/{Bucket}?publicAccessBlock"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{PublicAccessBlockConfiguration:{shape:"Sa7"}},payload:"PublicAccessBlockConfiguration"}},HeadBucket:{http:{method:"HEAD",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header", -locationName:"x-amz-expected-bucket-owner"}}}},HeadObject:{http:{method:"HEAD",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},IfMatch:{location:"header",locationName:"If-Match"},IfModifiedSince:{location:"header",locationName:"If-Modified-Since",type:"timestamp"},IfNoneMatch:{location:"header",locationName:"If-None-Match"},IfUnmodifiedSince:{location:"header",locationName:"If-Unmodified-Since",type:"timestamp"},Key:{location:"uri",locationName:"Key"},Range:{location:"header",locationName:"Range"},VersionId:{location:"querystring",locationName:"versionId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},AcceptRanges:{location:"header",locationName:"accept-ranges"},Expiration:{location:"header",locationName:"x-amz-expiration"},Restore:{location:"header",locationName:"x-amz-restore"},ArchiveStatus:{location:"header",locationName:"x-amz-archive-status"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ETag:{location:"header",locationName:"ETag"},MissingMeta:{location:"header",locationName:"x-amz-missing-meta",type:"integer"},VersionId:{location:"header",locationName:"x-amz-version-id"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},ReplicationStatus:{location:"header",locationName:"x-amz-replication-status"},PartsCount:{location:"header",locationName:"x-amz-mp-parts-count",type:"integer"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"}}}},ListBucketAnalyticsConfigurations:{http:{method:"GET",requestUri:"/{Bucket}?analytics"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},ContinuationToken:{},NextContinuationToken:{},AnalyticsConfigurationList:{locationName:"AnalyticsConfiguration",type:"list",member:{shape:"S3k"},flattened:!0}}}},ListBucketIntelligentTieringConfigurations:{http:{method:"GET",requestUri:"/{Bucket}?intelligent-tiering"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContinuationToken:{location:"querystring",locationName:"continuation-token"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},ContinuationToken:{},NextContinuationToken:{},IntelligentTieringConfigurationList:{locationName:"IntelligentTieringConfiguration",type:"list",member:{shape:"S4i"},flattened:!0}}}},ListBucketInventoryConfigurations:{http:{method:"GET",requestUri:"/{Bucket}?inventory"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{ContinuationToken:{},InventoryConfigurationList:{locationName:"InventoryConfiguration",type:"list",member:{shape:"S4s"},flattened:!0},IsTruncated:{type:"boolean"},NextContinuationToken:{}}}},ListBucketMetricsConfigurations:{http:{method:"GET",requestUri:"/{Bucket}?metrics"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},ContinuationToken:{},NextContinuationToken:{},MetricsConfigurationList:{locationName:"MetricsConfiguration",type:"list",member:{shape:"S68"},flattened:!0}}}},ListBuckets:{http:{method:"GET"},output:{type:"structure",members:{Buckets:{type:"list",member:{locationName:"Bucket",type:"structure",members:{Name:{},CreationDate:{type:"timestamp"}}}},Owner:{shape:"S38"}}},alias:"GetService"},ListMultipartUploads:{http:{method:"GET",requestUri:"/{Bucket}?uploads"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},KeyMarker:{location:"querystring",locationName:"key-marker"},MaxUploads:{location:"querystring",locationName:"max-uploads",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},UploadIdMarker:{location:"querystring",locationName:"upload-id-marker"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Bucket:{},KeyMarker:{},UploadIdMarker:{},NextKeyMarker:{},Prefix:{},Delimiter:{},NextUploadIdMarker:{},MaxUploads:{type:"integer"},IsTruncated:{type:"boolean"},Uploads:{locationName:"Upload",type:"list",member:{type:"structure",members:{UploadId:{},Key:{},Initiated:{type:"timestamp"},StorageClass:{},Owner:{shape:"S38"},Initiator:{shape:"Sb8"}}},flattened:!0},CommonPrefixes:{shape:"Sb9"},EncodingType:{}}}},ListObjectVersions:{http:{method:"GET",requestUri:"/{Bucket}?versions"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},KeyMarker:{location:"querystring",locationName:"key-marker"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},VersionIdMarker:{location:"querystring",locationName:"version-id-marker"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},KeyMarker:{},VersionIdMarker:{},NextKeyMarker:{},NextVersionIdMarker:{},Versions:{locationName:"Version",type:"list",member:{type:"structure",members:{ETag:{},Size:{type:"integer"},StorageClass:{},Key:{},VersionId:{},IsLatest:{type:"boolean"},LastModified:{type:"timestamp"},Owner:{shape:"S38"}}},flattened:!0},DeleteMarkers:{locationName:"DeleteMarker",type:"list",member:{type:"structure",members:{Owner:{shape:"S38"},Key:{},VersionId:{},IsLatest:{type:"boolean"},LastModified:{type:"timestamp"}}},flattened:!0},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"Sb9"},EncodingType:{}}},alias:"GetBucketObjectVersions"},ListObjects:{http:{method:"GET",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},Marker:{location:"querystring",locationName:"marker"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},Marker:{},NextMarker:{},Contents:{shape:"Sbr"},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"Sb9"},EncodingType:{}}},alias:"GetBucket"},ListObjectsV2:{http:{method:"GET",requestUri:"/{Bucket}?list-type=2"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},FetchOwner:{location:"querystring",locationName:"fetch-owner",type:"boolean"},StartAfter:{location:"querystring",locationName:"start-after"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},Contents:{shape:"Sbr"},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"Sb9"},EncodingType:{},KeyCount:{type:"integer"},ContinuationToken:{},NextContinuationToken:{},StartAfter:{}}}},ListParts:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MaxParts:{location:"querystring",locationName:"max-parts",type:"integer"},PartNumberMarker:{location:"querystring",locationName:"part-number-marker",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{AbortDate:{location:"header",locationName:"x-amz-abort-date",type:"timestamp"},AbortRuleId:{location:"header",locationName:"x-amz-abort-rule-id"},Bucket:{},Key:{},UploadId:{},PartNumberMarker:{type:"integer"},NextPartNumberMarker:{type:"integer"},MaxParts:{type:"integer"},IsTruncated:{type:"boolean"},Parts:{locationName:"Part",type:"list",member:{type:"structure",members:{PartNumber:{type:"integer"},LastModified:{type:"timestamp"},ETag:{},Size:{type:"integer"}}},flattened:!0},Initiator:{shape:"Sb8"},Owner:{shape:"S38"},StorageClass:{},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},PutBucketAccelerateConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?accelerate"},input:{type:"structure",required:["Bucket","AccelerateConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},AccelerateConfiguration:{locationName:"AccelerateConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Status:{}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"AccelerateConfiguration"}},PutBucketAcl:{http:{method:"PUT",requestUri:"/{Bucket}?acl"},input:{type:"structure",required:["Bucket"],members:{ACL:{location:"header",locationName:"x-amz-acl"},AccessControlPolicy:{shape:"Sc9",locationName:"AccessControlPolicy",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"AccessControlPolicy"},httpChecksumRequired:!0},PutBucketAnalyticsConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?analytics"},input:{type:"structure",required:["Bucket","Id","AnalyticsConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},AnalyticsConfiguration:{shape:"S3k",locationName:"AnalyticsConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"AnalyticsConfiguration"}},PutBucketCors:{http:{method:"PUT",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket","CORSConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},CORSConfiguration:{locationName:"CORSConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["CORSRules"],members:{CORSRules:{shape:"S3z",locationName:"CORSRule"}}},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"CORSConfiguration"},httpChecksumRequired:!0},PutBucketEncryption:{http:{method:"PUT",requestUri:"/{Bucket}?encryption"},input:{type:"structure",required:["Bucket","ServerSideEncryptionConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ServerSideEncryptionConfiguration:{shape:"S4c",locationName:"ServerSideEncryptionConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"ServerSideEncryptionConfiguration"},httpChecksumRequired:!0},PutBucketIntelligentTieringConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?intelligent-tiering"},input:{type:"structure",required:["Bucket","Id","IntelligentTieringConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},IntelligentTieringConfiguration:{shape:"S4i",locationName:"IntelligentTieringConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"IntelligentTieringConfiguration"}},PutBucketInventoryConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?inventory"},input:{type:"structure",required:["Bucket","Id","InventoryConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},InventoryConfiguration:{shape:"S4s",locationName:"InventoryConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"InventoryConfiguration"}},PutBucketLifecycle:{http:{method:"PUT",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},LifecycleConfiguration:{locationName:"LifecycleConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Rules"],members:{Rules:{shape:"S58",locationName:"Rule"}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"LifecycleConfiguration"},deprecated:!0,httpChecksumRequired:!0},PutBucketLifecycleConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},LifecycleConfiguration:{locationName:"LifecycleConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Rules"],members:{Rules:{shape:"S5o",locationName:"Rule"}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"LifecycleConfiguration"},httpChecksumRequired:!0},PutBucketLogging:{http:{method:"PUT",requestUri:"/{Bucket}?logging"},input:{type:"structure",required:["Bucket","BucketLoggingStatus"],members:{Bucket:{location:"uri",locationName:"Bucket"},BucketLoggingStatus:{locationName:"BucketLoggingStatus",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{LoggingEnabled:{shape:"S60"}}},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"BucketLoggingStatus"},httpChecksumRequired:!0},PutBucketMetricsConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?metrics"},input:{type:"structure",required:["Bucket","Id","MetricsConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},MetricsConfiguration:{shape:"S68",locationName:"MetricsConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"MetricsConfiguration"}},PutBucketNotification:{http:{method:"PUT",requestUri:"/{Bucket}?notification"},input:{type:"structure",required:["Bucket","NotificationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},NotificationConfiguration:{shape:"S6d",locationName:"NotificationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"NotificationConfiguration"},deprecated:!0,httpChecksumRequired:!0},PutBucketNotificationConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?notification"},input:{type:"structure",required:["Bucket","NotificationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},NotificationConfiguration:{shape:"S6o",locationName:"NotificationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},SkipDestinationValidation:{location:"header",locationName:"x-amz-skip-destination-validation",type:"boolean"}},payload:"NotificationConfiguration"}},PutBucketOwnershipControls:{http:{method:"PUT",requestUri:"/{Bucket}?ownershipControls"},input:{type:"structure",required:["Bucket","OwnershipControls"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},OwnershipControls:{shape:"S75",locationName:"OwnershipControls",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"OwnershipControls"},httpChecksumRequired:!0},PutBucketPolicy:{http:{method:"PUT",requestUri:"/{Bucket}?policy"},input:{type:"structure",required:["Bucket","Policy"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ConfirmRemoveSelfBucketAccess:{location:"header",locationName:"x-amz-confirm-remove-self-bucket-access",type:"boolean"},Policy:{},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Policy"},httpChecksumRequired:!0},PutBucketReplication:{http:{method:"PUT",requestUri:"/{Bucket}?replication"},input:{type:"structure",required:["Bucket","ReplicationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ReplicationConfiguration:{shape:"S7h",locationName:"ReplicationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Token:{location:"header",locationName:"x-amz-bucket-object-lock-token"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"ReplicationConfiguration"},httpChecksumRequired:!0},PutBucketRequestPayment:{http:{method:"PUT",requestUri:"/{Bucket}?requestPayment"},input:{type:"structure",required:["Bucket","RequestPaymentConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},RequestPaymentConfiguration:{locationName:"RequestPaymentConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Payer"],members:{Payer:{}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"RequestPaymentConfiguration"},httpChecksumRequired:!0},PutBucketTagging:{http:{method:"PUT",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket","Tagging"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},Tagging:{shape:"Scz",locationName:"Tagging",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Tagging"},httpChecksumRequired:!0},PutBucketVersioning:{http:{method:"PUT",requestUri:"/{Bucket}?versioning"},input:{type:"structure",required:["Bucket","VersioningConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},MFA:{location:"header",locationName:"x-amz-mfa"},VersioningConfiguration:{locationName:"VersioningConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{MFADelete:{locationName:"MfaDelete"},Status:{}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"VersioningConfiguration"},httpChecksumRequired:!0},PutBucketWebsite:{http:{method:"PUT",requestUri:"/{Bucket}?website"},input:{type:"structure",required:["Bucket","WebsiteConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},WebsiteConfiguration:{locationName:"WebsiteConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{ErrorDocument:{shape:"S8p"},IndexDocument:{shape:"S8n"},RedirectAllRequestsTo:{shape:"S8k"},RoutingRules:{shape:"S8q"}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"WebsiteConfiguration"},httpChecksumRequired:!0},PutObject:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Body:{streaming:!0,type:"blob"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentMD5:{location:"header",locationName:"Content-MD5"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},Tagging:{location:"header",locationName:"x-amz-tagging"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Body"},output:{type:"structure",members:{Expiration:{location:"header",locationName:"x-amz-expiration"},ETag:{location:"header",locationName:"ETag"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},VersionId:{location:"header",locationName:"x-amz-version-id"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},PutObjectAcl:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?acl"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},AccessControlPolicy:{shape:"Sc9",locationName:"AccessControlPolicy",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},VersionId:{location:"querystring",locationName:"versionId"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"AccessControlPolicy"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},httpChecksumRequired:!0},PutObjectLegalHold:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?legal-hold"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},LegalHold:{shape:"S9p",locationName:"LegalHold",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},VersionId:{location:"querystring",locationName:"versionId"},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"LegalHold"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},httpChecksumRequired:!0},PutObjectLockConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?object-lock"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ObjectLockConfiguration:{shape:"S9s",locationName:"ObjectLockConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},Token:{location:"header",locationName:"x-amz-bucket-object-lock-token"},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"ObjectLockConfiguration"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},httpChecksumRequired:!0},PutObjectRetention:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?retention"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},Retention:{shape:"Sa0",locationName:"Retention",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},VersionId:{location:"querystring",locationName:"versionId"},BypassGovernanceRetention:{location:"header",locationName:"x-amz-bypass-governance-retention",type:"boolean"},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Retention"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},httpChecksumRequired:!0},PutObjectTagging:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?tagging"},input:{type:"structure",required:["Bucket","Key","Tagging"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},ContentMD5:{location:"header",locationName:"Content-MD5"},Tagging:{shape:"Scz",locationName:"Tagging",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"Tagging"},output:{type:"structure",members:{VersionId:{location:"header",locationName:"x-amz-version-id"}}},httpChecksumRequired:!0},PutPublicAccessBlock:{http:{method:"PUT",requestUri:"/{Bucket}?publicAccessBlock"},input:{type:"structure",required:["Bucket","PublicAccessBlockConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},PublicAccessBlockConfiguration:{shape:"Sa7",locationName:"PublicAccessBlockConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"PublicAccessBlockConfiguration"},httpChecksumRequired:!0},RestoreObject:{http:{requestUri:"/{Bucket}/{Key+}?restore"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RestoreRequest:{locationName:"RestoreRequest",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Days:{type:"integer"},GlacierJobParameters:{type:"structure",required:["Tier"],members:{Tier:{}}},Type:{},Tier:{},Description:{},SelectParameters:{type:"structure", -required:["InputSerialization","ExpressionType","Expression","OutputSerialization"],members:{InputSerialization:{shape:"Sdp"},ExpressionType:{},Expression:{},OutputSerialization:{shape:"Se4"}}},OutputLocation:{type:"structure",members:{S3:{type:"structure",required:["BucketName","Prefix"],members:{BucketName:{},Prefix:{},Encryption:{type:"structure",required:["EncryptionType"],members:{EncryptionType:{},KMSKeyId:{shape:"Sk"},KMSContext:{}}},CannedACL:{},AccessControlList:{shape:"S3b"},Tagging:{shape:"Scz"},UserMetadata:{type:"list",member:{locationName:"MetadataEntry",type:"structure",members:{Name:{},Value:{}}}},StorageClass:{}}}}}}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"RestoreRequest"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"},RestoreOutputPath:{location:"header",locationName:"x-amz-restore-output-path"}}},alias:"PostObjectRestore"},SelectObjectContent:{http:{requestUri:"/{Bucket}/{Key+}?select&select-type=2"},input:{locationName:"SelectObjectContentRequest",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Bucket","Key","Expression","ExpressionType","InputSerialization","OutputSerialization"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},Expression:{},ExpressionType:{},RequestProgress:{type:"structure",members:{Enabled:{type:"boolean"}}},InputSerialization:{shape:"Sdp"},OutputSerialization:{shape:"Se4"},ScanRange:{type:"structure",members:{Start:{type:"long"},End:{type:"long"}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Payload:{type:"structure",members:{Records:{type:"structure",members:{Payload:{eventpayload:!0,type:"blob"}},event:!0},Stats:{type:"structure",members:{Details:{eventpayload:!0,type:"structure",members:{BytesScanned:{type:"long"},BytesProcessed:{type:"long"},BytesReturned:{type:"long"}}}},event:!0},Progress:{type:"structure",members:{Details:{eventpayload:!0,type:"structure",members:{BytesScanned:{type:"long"},BytesProcessed:{type:"long"},BytesReturned:{type:"long"}}}},event:!0},Cont:{type:"structure",members:{},event:!0},End:{type:"structure",members:{},event:!0}},eventstream:!0}},payload:"Payload"}},UploadPart:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","PartNumber","UploadId"],members:{Body:{streaming:!0,type:"blob"},Bucket:{location:"uri",locationName:"Bucket"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentMD5:{location:"header",locationName:"Content-MD5"},Key:{location:"uri",locationName:"Key"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Body"},output:{type:"structure",members:{ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},ETag:{location:"header",locationName:"ETag"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},UploadPartCopy:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","CopySource","Key","PartNumber","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},CopySource:{location:"header",locationName:"x-amz-copy-source"},CopySourceIfMatch:{location:"header",locationName:"x-amz-copy-source-if-match"},CopySourceIfModifiedSince:{location:"header",locationName:"x-amz-copy-source-if-modified-since",type:"timestamp"},CopySourceIfNoneMatch:{location:"header",locationName:"x-amz-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{location:"header",locationName:"x-amz-copy-source-if-unmodified-since",type:"timestamp"},CopySourceRange:{location:"header",locationName:"x-amz-copy-source-range"},Key:{location:"uri",locationName:"Key"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},CopySourceSSECustomerAlgorithm:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm"},CopySourceSSECustomerKey:{shape:"S1f",location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key"},CopySourceSSECustomerKeyMD5:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},ExpectedSourceBucketOwner:{location:"header",locationName:"x-amz-source-expected-bucket-owner"}}},output:{type:"structure",members:{CopySourceVersionId:{location:"header",locationName:"x-amz-copy-source-version-id"},CopyPartResult:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"}}},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"CopyPartResult"}},WriteGetObjectResponse:{http:{requestUri:"/WriteGetObjectResponse"},input:{type:"structure",required:["RequestRoute","RequestToken"],members:{RequestRoute:{hostLabel:!0,location:"header",locationName:"x-amz-request-route"},RequestToken:{location:"header",locationName:"x-amz-request-token"},Body:{streaming:!0,type:"blob"},StatusCode:{location:"header",locationName:"x-amz-fwd-status",type:"integer"},ErrorCode:{location:"header",locationName:"x-amz-fwd-error-code"},ErrorMessage:{location:"header",locationName:"x-amz-fwd-error-message"},AcceptRanges:{location:"header",locationName:"x-amz-fwd-header-accept-ranges"},CacheControl:{location:"header",locationName:"x-amz-fwd-header-Cache-Control"},ContentDisposition:{location:"header",locationName:"x-amz-fwd-header-Content-Disposition"},ContentEncoding:{location:"header",locationName:"x-amz-fwd-header-Content-Encoding"},ContentLanguage:{location:"header",locationName:"x-amz-fwd-header-Content-Language"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentRange:{location:"header",locationName:"x-amz-fwd-header-Content-Range"},ContentType:{location:"header",locationName:"x-amz-fwd-header-Content-Type"},DeleteMarker:{location:"header",locationName:"x-amz-fwd-header-x-amz-delete-marker",type:"boolean"},ETag:{location:"header",locationName:"x-amz-fwd-header-ETag"},Expires:{location:"header",locationName:"x-amz-fwd-header-Expires",type:"timestamp"},Expiration:{location:"header",locationName:"x-amz-fwd-header-x-amz-expiration"},LastModified:{location:"header",locationName:"x-amz-fwd-header-Last-Modified",type:"timestamp"},MissingMeta:{location:"header",locationName:"x-amz-fwd-header-x-amz-missing-meta",type:"integer"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},ObjectLockMode:{location:"header",locationName:"x-amz-fwd-header-x-amz-object-lock-mode"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-fwd-header-x-amz-object-lock-legal-hold"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-fwd-header-x-amz-object-lock-retain-until-date"},PartsCount:{location:"header",locationName:"x-amz-fwd-header-x-amz-mp-parts-count",type:"integer"},ReplicationStatus:{location:"header",locationName:"x-amz-fwd-header-x-amz-replication-status"},RequestCharged:{location:"header",locationName:"x-amz-fwd-header-x-amz-request-charged"},Restore:{location:"header",locationName:"x-amz-fwd-header-x-amz-restore"},ServerSideEncryption:{location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5"},StorageClass:{location:"header",locationName:"x-amz-fwd-header-x-amz-storage-class"},TagCount:{location:"header",locationName:"x-amz-fwd-header-x-amz-tagging-count",type:"integer"},VersionId:{location:"header",locationName:"x-amz-fwd-header-x-amz-version-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"}},payload:"Body"},authtype:"v4-unsigned-body",endpoint:{hostPrefix:"{RequestRoute}."}}},shapes:{Sk:{type:"string",sensitive:!0},S13:{type:"map",key:{},value:{}},S1b:{type:"blob",sensitive:!0},S1d:{type:"string",sensitive:!0},S1f:{type:"blob",sensitive:!0},S1j:{type:"timestamp",timestampFormat:"iso8601"},S38:{type:"structure",members:{DisplayName:{},ID:{}}},S3b:{type:"list",member:{locationName:"Grant",type:"structure",members:{Grantee:{shape:"S3d"},Permission:{}}}},S3d:{type:"structure",required:["Type"],members:{DisplayName:{},EmailAddress:{},ID:{},Type:{locationName:"xsi:type",xmlAttribute:!0},URI:{}},xmlNamespace:{prefix:"xsi",uri:"http://www.w3.org/2001/XMLSchema-instance"}},S3k:{type:"structure",required:["Id","StorageClassAnalysis"],members:{Id:{},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"}}}}},StorageClassAnalysis:{type:"structure",members:{DataExport:{type:"structure",required:["OutputSchemaVersion","Destination"],members:{OutputSchemaVersion:{},Destination:{type:"structure",required:["S3BucketDestination"],members:{S3BucketDestination:{type:"structure",required:["Format","Bucket"],members:{Format:{},BucketAccountId:{},Bucket:{},Prefix:{}}}}}}}}}}},S3n:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}},S3q:{type:"list",member:{shape:"S3n",locationName:"Tag"}},S3z:{type:"list",member:{type:"structure",required:["AllowedMethods","AllowedOrigins"],members:{ID:{},AllowedHeaders:{locationName:"AllowedHeader",type:"list",member:{},flattened:!0},AllowedMethods:{locationName:"AllowedMethod",type:"list",member:{},flattened:!0},AllowedOrigins:{locationName:"AllowedOrigin",type:"list",member:{},flattened:!0},ExposeHeaders:{locationName:"ExposeHeader",type:"list",member:{},flattened:!0},MaxAgeSeconds:{type:"integer"}}},flattened:!0},S4c:{type:"structure",required:["Rules"],members:{Rules:{locationName:"Rule",type:"list",member:{type:"structure",members:{ApplyServerSideEncryptionByDefault:{type:"structure",required:["SSEAlgorithm"],members:{SSEAlgorithm:{},KMSMasterKeyID:{shape:"Sk"}}},BucketKeyEnabled:{type:"boolean"}}},flattened:!0}}},S4i:{type:"structure",required:["Id","Status","Tierings"],members:{Id:{},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"}}}}},Status:{},Tierings:{locationName:"Tiering",type:"list",member:{type:"structure",required:["Days","AccessTier"],members:{Days:{type:"integer"},AccessTier:{}}},flattened:!0}}},S4s:{type:"structure",required:["Destination","IsEnabled","Id","IncludedObjectVersions","Schedule"],members:{Destination:{type:"structure",required:["S3BucketDestination"],members:{S3BucketDestination:{type:"structure",required:["Bucket","Format"],members:{AccountId:{},Bucket:{},Format:{},Prefix:{},Encryption:{type:"structure",members:{SSES3:{locationName:"SSE-S3",type:"structure",members:{}},SSEKMS:{locationName:"SSE-KMS",type:"structure",required:["KeyId"],members:{KeyId:{shape:"Sk"}}}}}}}}},IsEnabled:{type:"boolean"},Filter:{type:"structure",required:["Prefix"],members:{Prefix:{}}},Id:{},IncludedObjectVersions:{},OptionalFields:{type:"list",member:{locationName:"Field"}},Schedule:{type:"structure",required:["Frequency"],members:{Frequency:{}}}}},S58:{type:"list",member:{type:"structure",required:["Prefix","Status"],members:{Expiration:{shape:"S5a"},ID:{},Prefix:{},Status:{},Transition:{shape:"S5f"},NoncurrentVersionTransition:{shape:"S5h"},NoncurrentVersionExpiration:{shape:"S5j"},AbortIncompleteMultipartUpload:{shape:"S5k"}}},flattened:!0},S5a:{type:"structure",members:{Date:{shape:"S5b"},Days:{type:"integer"},ExpiredObjectDeleteMarker:{type:"boolean"}}},S5b:{type:"timestamp",timestampFormat:"iso8601"},S5f:{type:"structure",members:{Date:{shape:"S5b"},Days:{type:"integer"},StorageClass:{}}},S5h:{type:"structure",members:{NoncurrentDays:{type:"integer"},StorageClass:{},NewerNoncurrentVersions:{type:"integer"}}},S5j:{type:"structure",members:{NoncurrentDays:{type:"integer"},NewerNoncurrentVersions:{type:"integer"}}},S5k:{type:"structure",members:{DaysAfterInitiation:{type:"integer"}}},S5o:{type:"list",member:{type:"structure",required:["Status"],members:{Expiration:{shape:"S5a"},ID:{},Prefix:{deprecated:!0},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},ObjectSizeGreaterThan:{type:"long"},ObjectSizeLessThan:{type:"long"},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"},ObjectSizeGreaterThan:{type:"long"},ObjectSizeLessThan:{type:"long"}}}}},Status:{},Transitions:{locationName:"Transition",type:"list",member:{shape:"S5f"},flattened:!0},NoncurrentVersionTransitions:{locationName:"NoncurrentVersionTransition",type:"list",member:{shape:"S5h"},flattened:!0},NoncurrentVersionExpiration:{shape:"S5j"},AbortIncompleteMultipartUpload:{shape:"S5k"}}},flattened:!0},S60:{type:"structure",required:["TargetBucket","TargetPrefix"],members:{TargetBucket:{},TargetGrants:{type:"list",member:{locationName:"Grant",type:"structure",members:{Grantee:{shape:"S3d"},Permission:{}}}},TargetPrefix:{}}},S68:{type:"structure",required:["Id"],members:{Id:{},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},AccessPointArn:{},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"},AccessPointArn:{}}}}}}},S6c:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},S6d:{type:"structure",members:{TopicConfiguration:{type:"structure",members:{Id:{},Events:{shape:"S6g",locationName:"Event"},Event:{deprecated:!0},Topic:{}}},QueueConfiguration:{type:"structure",members:{Id:{},Event:{deprecated:!0},Events:{shape:"S6g",locationName:"Event"},Queue:{}}},CloudFunctionConfiguration:{type:"structure",members:{Id:{},Event:{deprecated:!0},Events:{shape:"S6g",locationName:"Event"},CloudFunction:{},InvocationRole:{}}}}},S6g:{type:"list",member:{},flattened:!0},S6o:{type:"structure",members:{TopicConfigurations:{locationName:"TopicConfiguration",type:"list",member:{type:"structure",required:["TopicArn","Events"],members:{Id:{},TopicArn:{locationName:"Topic"},Events:{shape:"S6g",locationName:"Event"},Filter:{shape:"S6r"}}},flattened:!0},QueueConfigurations:{locationName:"QueueConfiguration",type:"list",member:{type:"structure",required:["QueueArn","Events"],members:{Id:{},QueueArn:{locationName:"Queue"},Events:{shape:"S6g",locationName:"Event"},Filter:{shape:"S6r"}}},flattened:!0},LambdaFunctionConfigurations:{locationName:"CloudFunctionConfiguration",type:"list",member:{type:"structure",required:["LambdaFunctionArn","Events"],members:{Id:{},LambdaFunctionArn:{locationName:"CloudFunction"},Events:{shape:"S6g",locationName:"Event"},Filter:{shape:"S6r"}}},flattened:!0},EventBridgeConfiguration:{type:"structure",members:{}}}},S6r:{type:"structure",members:{Key:{locationName:"S3Key",type:"structure",members:{FilterRules:{locationName:"FilterRule",type:"list",member:{type:"structure",members:{Name:{},Value:{}}},flattened:!0}}}}},S75:{type:"structure",required:["Rules"],members:{Rules:{locationName:"Rule",type:"list",member:{type:"structure",required:["ObjectOwnership"],members:{ObjectOwnership:{}}},flattened:!0}}},S7h:{type:"structure",required:["Role","Rules"],members:{Role:{},Rules:{locationName:"Rule",type:"list",member:{type:"structure",required:["Status","Destination"],members:{ID:{},Priority:{type:"integer"},Prefix:{deprecated:!0},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"}}}}},Status:{},SourceSelectionCriteria:{type:"structure",members:{SseKmsEncryptedObjects:{type:"structure",required:["Status"],members:{Status:{}}},ReplicaModifications:{type:"structure",required:["Status"],members:{Status:{}}}}},ExistingObjectReplication:{type:"structure",required:["Status"],members:{Status:{}}},Destination:{type:"structure",required:["Bucket"],members:{Bucket:{},Account:{},StorageClass:{},AccessControlTranslation:{type:"structure",required:["Owner"],members:{Owner:{}}},EncryptionConfiguration:{type:"structure",members:{ReplicaKmsKeyID:{}}},ReplicationTime:{type:"structure",required:["Status","Time"],members:{Status:{},Time:{shape:"S83"}}},Metrics:{type:"structure",required:["Status"],members:{Status:{},EventThreshold:{shape:"S83"}}}}},DeleteMarkerReplication:{type:"structure",members:{Status:{}}}}},flattened:!0}}},S83:{type:"structure",members:{Minutes:{type:"integer"}}},S8k:{type:"structure",required:["HostName"],members:{HostName:{},Protocol:{}}},S8n:{type:"structure",required:["Suffix"],members:{Suffix:{}}},S8p:{type:"structure",required:["Key"],members:{Key:{}}},S8q:{type:"list",member:{locationName:"RoutingRule",type:"structure",required:["Redirect"],members:{Condition:{type:"structure",members:{HttpErrorCodeReturnedEquals:{},KeyPrefixEquals:{}}},Redirect:{type:"structure",members:{HostName:{},HttpRedirectCode:{},Protocol:{},ReplaceKeyPrefixWith:{},ReplaceKeyWith:{}}}}}},S9p:{type:"structure",members:{Status:{}}},S9s:{type:"structure",members:{ObjectLockEnabled:{},Rule:{type:"structure",members:{DefaultRetention:{type:"structure",members:{Mode:{},Days:{type:"integer"},Years:{type:"integer"}}}}}}},Sa0:{type:"structure",members:{Mode:{},RetainUntilDate:{shape:"S5b"}}},Sa7:{type:"structure",members:{BlockPublicAcls:{locationName:"BlockPublicAcls",type:"boolean"},IgnorePublicAcls:{locationName:"IgnorePublicAcls",type:"boolean"},BlockPublicPolicy:{locationName:"BlockPublicPolicy",type:"boolean"},RestrictPublicBuckets:{locationName:"RestrictPublicBuckets",type:"boolean"}}},Sb8:{type:"structure",members:{ID:{},DisplayName:{}}},Sb9:{type:"list",member:{type:"structure",members:{Prefix:{}}},flattened:!0},Sbr:{type:"list",member:{type:"structure",members:{Key:{},LastModified:{type:"timestamp"},ETag:{},Size:{type:"integer"},StorageClass:{},Owner:{shape:"S38"}}},flattened:!0},Sc9:{type:"structure",members:{Grants:{shape:"S3b",locationName:"AccessControlList"},Owner:{shape:"S38"}}},Scz:{type:"structure",required:["TagSet"],members:{TagSet:{shape:"S3q"}}},Sdp:{type:"structure",members:{CSV:{type:"structure",members:{FileHeaderInfo:{},Comments:{},QuoteEscapeCharacter:{},RecordDelimiter:{},FieldDelimiter:{},QuoteCharacter:{},AllowQuotedRecordDelimiter:{type:"boolean"}}},CompressionType:{},JSON:{type:"structure",members:{Type:{}}},Parquet:{type:"structure",members:{}}}},Se4:{type:"structure",members:{CSV:{type:"structure",members:{QuoteFields:{},QuoteEscapeCharacter:{},RecordDelimiter:{},FieldDelimiter:{},QuoteCharacter:{}}},JSON:{type:"structure",members:{RecordDelimiter:{}}}}}}}},{}],213:[function(e,t,r){t.exports={pagination:{ListBuckets:{result_key:"Buckets"},ListMultipartUploads:{input_token:["KeyMarker","UploadIdMarker"],limit_key:"MaxUploads",more_results:"IsTruncated",output_token:["NextKeyMarker","NextUploadIdMarker"],result_key:["Uploads","CommonPrefixes"]},ListObjectVersions:{input_token:["KeyMarker","VersionIdMarker"],limit_key:"MaxKeys",more_results:"IsTruncated",output_token:["NextKeyMarker","NextVersionIdMarker"],result_key:["Versions","DeleteMarkers","CommonPrefixes"]},ListObjects:{input_token:"Marker",limit_key:"MaxKeys",more_results:"IsTruncated",output_token:"NextMarker || Contents[-1].Key",result_key:["Contents","CommonPrefixes"]},ListObjectsV2:{input_token:"ContinuationToken",limit_key:"MaxKeys",output_token:"NextContinuationToken",result_key:["Contents","CommonPrefixes"]},ListParts:{input_token:"PartNumberMarker",limit_key:"MaxParts",more_results:"IsTruncated",output_token:"NextPartNumberMarker",result_key:"Parts"}}}},{}],214:[function(e,t,r){t.exports={version:2,waiters:{BucketExists:{delay:5,operation:"HeadBucket",maxAttempts:20,acceptors:[{expected:200,matcher:"status",state:"success"},{expected:301,matcher:"status",state:"success"},{expected:403,matcher:"status",state:"success"},{expected:404,matcher:"status",state:"retry"}]},BucketNotExists:{delay:5,operation:"HeadBucket",maxAttempts:20,acceptors:[{expected:404,matcher:"status",state:"success"}]},ObjectExists:{delay:5,operation:"HeadObject",maxAttempts:20,acceptors:[{expected:200,matcher:"status",state:"success"},{expected:404,matcher:"status",state:"retry"}]},ObjectNotExists:{delay:5,operation:"HeadObject",maxAttempts:20,acceptors:[{expected:404,matcher:"status",state:"success"}]}}}},{}],215:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-10-17",endpointPrefix:"secretsmanager",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Secrets Manager",serviceId:"Secrets Manager",signatureVersion:"v4",signingName:"secretsmanager",targetPrefix:"secretsmanager",uid:"secretsmanager-2017-10-17"},operations:{CancelRotateSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{}}}},CreateSecret:{input:{type:"structure",required:["Name"],members:{Name:{},ClientRequestToken:{idempotencyToken:!0},Description:{},KmsKeyId:{},SecretBinary:{shape:"Sc"},SecretString:{shape:"Sd"},Tags:{shape:"Se"},AddReplicaRegions:{shape:"Si"},ForceOverwriteReplicaSecret:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{},ReplicationStatus:{shape:"Sn"}}}},DeleteResourcePolicy:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{}}}},DeleteSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},RecoveryWindowInDays:{type:"long"},ForceDeleteWithoutRecovery:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},Name:{},DeletionDate:{type:"timestamp"}}}},DescribeSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{},Description:{},KmsKeyId:{},RotationEnabled:{type:"boolean"},RotationLambdaARN:{},RotationRules:{shape:"S12"},LastRotatedDate:{type:"timestamp"},LastChangedDate:{type:"timestamp"},LastAccessedDate:{type:"timestamp"},DeletedDate:{type:"timestamp"},Tags:{shape:"Se"},VersionIdsToStages:{shape:"S17"},OwningService:{},CreatedDate:{type:"timestamp"},PrimaryRegion:{},ReplicationStatus:{shape:"Sn"}}}},GetRandomPassword:{input:{type:"structure",members:{PasswordLength:{type:"long"},ExcludeCharacters:{},ExcludeNumbers:{type:"boolean"},ExcludePunctuation:{type:"boolean"},ExcludeUppercase:{type:"boolean"},ExcludeLowercase:{type:"boolean"},IncludeSpace:{type:"boolean"},RequireEachIncludedType:{type:"boolean"}}},output:{type:"structure",members:{RandomPassword:{type:"string",sensitive:!0}}}},GetResourcePolicy:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{},ResourcePolicy:{}}}},GetSecretValue:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},VersionId:{},VersionStage:{}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{},SecretBinary:{shape:"Sc"},SecretString:{shape:"Sd"},VersionStages:{shape:"S18"},CreatedDate:{type:"timestamp"}}}},ListSecretVersionIds:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},MaxResults:{type:"integer"},NextToken:{},IncludeDeprecated:{type:"boolean"}}},output:{type:"structure",members:{Versions:{type:"list",member:{type:"structure",members:{VersionId:{},VersionStages:{shape:"S18"},LastAccessedDate:{type:"timestamp"},CreatedDate:{type:"timestamp"},KmsKeyIds:{type:"list",member:{}}}}},NextToken:{},ARN:{},Name:{}}}},ListSecrets:{input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{},Filters:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},SortOrder:{}}},output:{type:"structure",members:{SecretList:{type:"list",member:{type:"structure",members:{ARN:{},Name:{},Description:{},KmsKeyId:{},RotationEnabled:{type:"boolean"},RotationLambdaARN:{},RotationRules:{shape:"S12"},LastRotatedDate:{type:"timestamp"},LastChangedDate:{type:"timestamp"},LastAccessedDate:{type:"timestamp"},DeletedDate:{type:"timestamp"},Tags:{shape:"Se"},SecretVersionsToStages:{shape:"S17"},OwningService:{},CreatedDate:{type:"timestamp"},PrimaryRegion:{}}}},NextToken:{}}}},PutResourcePolicy:{input:{type:"structure",required:["SecretId","ResourcePolicy"],members:{SecretId:{},ResourcePolicy:{},BlockPublicPolicy:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},Name:{}}}},PutSecretValue:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},ClientRequestToken:{idempotencyToken:!0},SecretBinary:{shape:"Sc"},SecretString:{shape:"Sd"},VersionStages:{shape:"S18"}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{},VersionStages:{shape:"S18"}}}},RemoveRegionsFromReplication:{input:{type:"structure",required:["SecretId","RemoveReplicaRegions"],members:{SecretId:{},RemoveReplicaRegions:{type:"list",member:{}}}},output:{type:"structure",members:{ARN:{},ReplicationStatus:{shape:"Sn"}}}},ReplicateSecretToRegions:{input:{type:"structure",required:["SecretId","AddReplicaRegions"],members:{SecretId:{},AddReplicaRegions:{shape:"Si"},ForceOverwriteReplicaSecret:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},ReplicationStatus:{shape:"Sn"}}}},RestoreSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{}}}},RotateSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},ClientRequestToken:{idempotencyToken:!0},RotationLambdaARN:{},RotationRules:{shape:"S12"}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{}}}},StopReplicationToReplica:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{}}}},TagResource:{input:{type:"structure",required:["SecretId","Tags"],members:{SecretId:{},Tags:{shape:"Se"}}}},UntagResource:{input:{type:"structure",required:["SecretId","TagKeys"],members:{SecretId:{},TagKeys:{type:"list",member:{}}}}},UpdateSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},ClientRequestToken:{idempotencyToken:!0},Description:{},KmsKeyId:{},SecretBinary:{shape:"Sc"},SecretString:{shape:"Sd"}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{}}}},UpdateSecretVersionStage:{input:{type:"structure",required:["SecretId","VersionStage"],members:{SecretId:{},VersionStage:{},RemoveFromVersionId:{},MoveToVersionId:{}}},output:{type:"structure",members:{ARN:{},Name:{}}}},ValidateResourcePolicy:{input:{type:"structure",required:["ResourcePolicy"],members:{SecretId:{},ResourcePolicy:{}}},output:{type:"structure",members:{PolicyValidationPassed:{type:"boolean"},ValidationErrors:{type:"list",member:{type:"structure",members:{CheckName:{},ErrorMessage:{}}}}}}}},shapes:{Sc:{type:"blob",sensitive:!0},Sd:{type:"string",sensitive:!0},Se:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},Si:{type:"list",member:{type:"structure",members:{Region:{},KmsKeyId:{}}}},Sn:{type:"list",member:{type:"structure",members:{Region:{},KmsKeyId:{},Status:{},StatusMessage:{},LastAccessedDate:{type:"timestamp"}}}},S12:{type:"structure",members:{AutomaticallyAfterDays:{type:"long"}}},S17:{type:"map",key:{},value:{shape:"S18"}},S18:{type:"list",member:{}}}}},{}],216:[function(e,t,r){t.exports={pagination:{ListSecretVersionIds:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListSecrets:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],217:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-12-10",endpointPrefix:"servicecatalog",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Service Catalog",serviceId:"Service Catalog",signatureVersion:"v4",targetPrefix:"AWS242ServiceCatalogService",uid:"servicecatalog-2015-12-10"},operations:{AcceptPortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},PortfolioShareType:{}}},output:{type:"structure",members:{}}},AssociateBudgetWithResource:{input:{type:"structure",required:["BudgetName","ResourceId"],members:{BudgetName:{},ResourceId:{}}},output:{type:"structure",members:{}}},AssociatePrincipalWithPortfolio:{input:{type:"structure",required:["PortfolioId","PrincipalARN","PrincipalType"],members:{AcceptLanguage:{},PortfolioId:{},PrincipalARN:{},PrincipalType:{}}},output:{type:"structure",members:{}}},AssociateProductWithPortfolio:{input:{type:"structure",required:["ProductId","PortfolioId"],members:{AcceptLanguage:{},ProductId:{},PortfolioId:{},SourcePortfolioId:{}}},output:{type:"structure",members:{}}},AssociateServiceActionWithProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId","ServiceActionId"],members:{ProductId:{},ProvisioningArtifactId:{},ServiceActionId:{},AcceptLanguage:{}}},output:{type:"structure",members:{}}},AssociateTagOptionWithResource:{input:{type:"structure",required:["ResourceId","TagOptionId"],members:{ResourceId:{},TagOptionId:{}}},output:{type:"structure",members:{}}},BatchAssociateServiceActionWithProvisioningArtifact:{input:{type:"structure",required:["ServiceActionAssociations"],members:{ServiceActionAssociations:{shape:"Sm"},AcceptLanguage:{}}},output:{type:"structure",members:{FailedServiceActionAssociations:{shape:"Sp"}}}},BatchDisassociateServiceActionFromProvisioningArtifact:{input:{type:"structure",required:["ServiceActionAssociations"],members:{ServiceActionAssociations:{shape:"Sm"},AcceptLanguage:{}}},output:{type:"structure",members:{FailedServiceActionAssociations:{shape:"Sp"}}}},CopyProduct:{input:{ -type:"structure",required:["SourceProductArn","IdempotencyToken"],members:{AcceptLanguage:{},SourceProductArn:{},TargetProductId:{},TargetProductName:{},SourceProvisioningArtifactIdentifiers:{type:"list",member:{type:"map",key:{},value:{}}},CopyOptions:{type:"list",member:{}},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{CopyProductToken:{}}}},CreateConstraint:{input:{type:"structure",required:["PortfolioId","ProductId","Parameters","Type","IdempotencyToken"],members:{AcceptLanguage:{},PortfolioId:{},ProductId:{},Parameters:{},Type:{},Description:{},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ConstraintDetail:{shape:"S1b"},ConstraintParameters:{},Status:{}}}},CreatePortfolio:{input:{type:"structure",required:["DisplayName","ProviderName","IdempotencyToken"],members:{AcceptLanguage:{},DisplayName:{},Description:{},ProviderName:{},Tags:{shape:"S1i"},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{PortfolioDetail:{shape:"S1n"},Tags:{shape:"S1q"}}}},CreatePortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},AccountId:{},OrganizationNode:{shape:"S1s"},ShareTagOptions:{type:"boolean"}}},output:{type:"structure",members:{PortfolioShareToken:{}}}},CreateProduct:{input:{type:"structure",required:["Name","Owner","ProductType","ProvisioningArtifactParameters","IdempotencyToken"],members:{AcceptLanguage:{},Name:{},Owner:{},Description:{},Distributor:{},SupportDescription:{},SupportEmail:{},SupportUrl:{},ProductType:{},Tags:{shape:"S1i"},ProvisioningArtifactParameters:{shape:"S24"},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ProductViewDetail:{shape:"S2d"},ProvisioningArtifactDetail:{shape:"S2i"},Tags:{shape:"S1q"}}}},CreateProvisionedProductPlan:{input:{type:"structure",required:["PlanName","PlanType","ProductId","ProvisionedProductName","ProvisioningArtifactId","IdempotencyToken"],members:{AcceptLanguage:{},PlanName:{},PlanType:{},NotificationArns:{shape:"S2o"},PathId:{},ProductId:{},ProvisionedProductName:{},ProvisioningArtifactId:{},ProvisioningParameters:{shape:"S2r"},IdempotencyToken:{idempotencyToken:!0},Tags:{shape:"S1q"}}},output:{type:"structure",members:{PlanName:{},PlanId:{},ProvisionProductId:{},ProvisionedProductName:{},ProvisioningArtifactId:{}}}},CreateProvisioningArtifact:{input:{type:"structure",required:["ProductId","Parameters","IdempotencyToken"],members:{AcceptLanguage:{},ProductId:{},Parameters:{shape:"S24"},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ProvisioningArtifactDetail:{shape:"S2i"},Info:{shape:"S27"},Status:{}}}},CreateServiceAction:{input:{type:"structure",required:["Name","DefinitionType","Definition","IdempotencyToken"],members:{Name:{},DefinitionType:{},Definition:{shape:"S32"},Description:{},AcceptLanguage:{},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ServiceActionDetail:{shape:"S37"}}}},CreateTagOption:{input:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}},output:{type:"structure",members:{TagOptionDetail:{shape:"S3d"}}}},DeleteConstraint:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{}}},DeletePortfolio:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{}}},DeletePortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},AccountId:{},OrganizationNode:{shape:"S1s"}}},output:{type:"structure",members:{PortfolioShareToken:{}}}},DeleteProduct:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{}}},DeleteProvisionedProductPlan:{input:{type:"structure",required:["PlanId"],members:{AcceptLanguage:{},PlanId:{},IgnoreErrors:{type:"boolean"}}},output:{type:"structure",members:{}}},DeleteProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId"],members:{AcceptLanguage:{},ProductId:{},ProvisioningArtifactId:{}}},output:{type:"structure",members:{}}},DeleteServiceAction:{input:{type:"structure",required:["Id"],members:{Id:{},AcceptLanguage:{}}},output:{type:"structure",members:{}}},DeleteTagOption:{input:{type:"structure",required:["Id"],members:{Id:{}}},output:{type:"structure",members:{}}},DescribeConstraint:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{ConstraintDetail:{shape:"S1b"},ConstraintParameters:{},Status:{}}}},DescribeCopyProductStatus:{input:{type:"structure",required:["CopyProductToken"],members:{AcceptLanguage:{},CopyProductToken:{}}},output:{type:"structure",members:{CopyProductStatus:{},TargetProductId:{},StatusDetail:{}}}},DescribePortfolio:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{PortfolioDetail:{shape:"S1n"},Tags:{shape:"S1q"},TagOptions:{shape:"S45"},Budgets:{shape:"S46"}}}},DescribePortfolioShareStatus:{input:{type:"structure",required:["PortfolioShareToken"],members:{PortfolioShareToken:{}}},output:{type:"structure",members:{PortfolioShareToken:{},PortfolioId:{},OrganizationNodeValue:{},Status:{},ShareDetails:{type:"structure",members:{SuccessfulShares:{type:"list",member:{}},ShareErrors:{type:"list",member:{type:"structure",members:{Accounts:{type:"list",member:{}},Message:{},Error:{}}}}}}}}},DescribePortfolioShares:{input:{type:"structure",required:["PortfolioId","Type"],members:{PortfolioId:{},Type:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{NextPageToken:{},PortfolioShareDetails:{type:"list",member:{type:"structure",members:{PrincipalId:{},Type:{},Accepted:{type:"boolean"},ShareTagOptions:{type:"boolean"}}}}}}},DescribeProduct:{input:{type:"structure",members:{AcceptLanguage:{},Id:{},Name:{}}},output:{type:"structure",members:{ProductViewSummary:{shape:"S2e"},ProvisioningArtifacts:{shape:"S4r"},Budgets:{shape:"S46"},LaunchPaths:{type:"list",member:{type:"structure",members:{Id:{},Name:{}}}}}}},DescribeProductAsAdmin:{input:{type:"structure",members:{AcceptLanguage:{},Id:{},Name:{},SourcePortfolioId:{}}},output:{type:"structure",members:{ProductViewDetail:{shape:"S2d"},ProvisioningArtifactSummaries:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Description:{},CreatedTime:{type:"timestamp"},ProvisioningArtifactMetadata:{shape:"S27"}}}},Tags:{shape:"S1q"},TagOptions:{shape:"S45"},Budgets:{shape:"S46"}}}},DescribeProductView:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{ProductViewSummary:{shape:"S2e"},ProvisioningArtifacts:{shape:"S4r"}}}},DescribeProvisionedProduct:{input:{type:"structure",members:{AcceptLanguage:{},Id:{},Name:{}}},output:{type:"structure",members:{ProvisionedProductDetail:{shape:"S55"},CloudWatchDashboards:{type:"list",member:{type:"structure",members:{Name:{}}}}}}},DescribeProvisionedProductPlan:{input:{type:"structure",required:["PlanId"],members:{AcceptLanguage:{},PlanId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ProvisionedProductPlanDetails:{type:"structure",members:{CreatedTime:{type:"timestamp"},PathId:{},ProductId:{},PlanName:{},PlanId:{},ProvisionProductId:{},ProvisionProductName:{},PlanType:{},ProvisioningArtifactId:{},Status:{},UpdatedTime:{type:"timestamp"},NotificationArns:{shape:"S2o"},ProvisioningParameters:{shape:"S2r"},Tags:{shape:"S1q"},StatusMessage:{}}},ResourceChanges:{type:"list",member:{type:"structure",members:{Action:{},LogicalResourceId:{},PhysicalResourceId:{},ResourceType:{},Replacement:{},Scope:{type:"list",member:{}},Details:{type:"list",member:{type:"structure",members:{Target:{type:"structure",members:{Attribute:{},Name:{},RequiresRecreation:{}}},Evaluation:{},CausingEntity:{}}}}}}},NextPageToken:{}}}},DescribeProvisioningArtifact:{input:{type:"structure",members:{AcceptLanguage:{},ProvisioningArtifactId:{},ProductId:{},ProvisioningArtifactName:{},ProductName:{},Verbose:{type:"boolean"}}},output:{type:"structure",members:{ProvisioningArtifactDetail:{shape:"S2i"},Info:{shape:"S27"},Status:{}}}},DescribeProvisioningParameters:{input:{type:"structure",members:{AcceptLanguage:{},ProductId:{},ProductName:{},ProvisioningArtifactId:{},ProvisioningArtifactName:{},PathId:{},PathName:{}}},output:{type:"structure",members:{ProvisioningArtifactParameters:{type:"list",member:{type:"structure",members:{ParameterKey:{},DefaultValue:{},ParameterType:{},IsNoEcho:{type:"boolean"},Description:{},ParameterConstraints:{type:"structure",members:{AllowedValues:{type:"list",member:{}},AllowedPattern:{},ConstraintDescription:{},MaxLength:{},MinLength:{},MaxValue:{},MinValue:{}}}}}},ConstraintSummaries:{shape:"S6h"},UsageInstructions:{type:"list",member:{type:"structure",members:{Type:{},Value:{}}}},TagOptions:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},ProvisioningArtifactPreferences:{type:"structure",members:{StackSetAccounts:{shape:"S6r"},StackSetRegions:{shape:"S6s"}}},ProvisioningArtifactOutputs:{type:"list",member:{type:"structure",members:{Key:{},Description:{}}}}}}},DescribeRecord:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"},RecordOutputs:{shape:"S7b"},NextPageToken:{}}}},DescribeServiceAction:{input:{type:"structure",required:["Id"],members:{Id:{},AcceptLanguage:{}}},output:{type:"structure",members:{ServiceActionDetail:{shape:"S37"}}}},DescribeServiceActionExecutionParameters:{input:{type:"structure",required:["ProvisionedProductId","ServiceActionId"],members:{ProvisionedProductId:{},ServiceActionId:{},AcceptLanguage:{}}},output:{type:"structure",members:{ServiceActionParameters:{type:"list",member:{type:"structure",members:{Name:{},Type:{},DefaultValues:{shape:"S7n"}}}}}}},DescribeTagOption:{input:{type:"structure",required:["Id"],members:{Id:{}}},output:{type:"structure",members:{TagOptionDetail:{shape:"S3d"}}}},DisableAWSOrganizationsAccess:{input:{type:"structure",members:{}},output:{type:"structure",members:{}}},DisassociateBudgetFromResource:{input:{type:"structure",required:["BudgetName","ResourceId"],members:{BudgetName:{},ResourceId:{}}},output:{type:"structure",members:{}}},DisassociatePrincipalFromPortfolio:{input:{type:"structure",required:["PortfolioId","PrincipalARN"],members:{AcceptLanguage:{},PortfolioId:{},PrincipalARN:{}}},output:{type:"structure",members:{}}},DisassociateProductFromPortfolio:{input:{type:"structure",required:["ProductId","PortfolioId"],members:{AcceptLanguage:{},ProductId:{},PortfolioId:{}}},output:{type:"structure",members:{}}},DisassociateServiceActionFromProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId","ServiceActionId"],members:{ProductId:{},ProvisioningArtifactId:{},ServiceActionId:{},AcceptLanguage:{}}},output:{type:"structure",members:{}}},DisassociateTagOptionFromResource:{input:{type:"structure",required:["ResourceId","TagOptionId"],members:{ResourceId:{},TagOptionId:{}}},output:{type:"structure",members:{}}},EnableAWSOrganizationsAccess:{input:{type:"structure",members:{}},output:{type:"structure",members:{}}},ExecuteProvisionedProductPlan:{input:{type:"structure",required:["PlanId","IdempotencyToken"],members:{AcceptLanguage:{},PlanId:{},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},ExecuteProvisionedProductServiceAction:{input:{type:"structure",required:["ProvisionedProductId","ServiceActionId","ExecuteToken"],members:{ProvisionedProductId:{},ServiceActionId:{},ExecuteToken:{idempotencyToken:!0},AcceptLanguage:{},Parameters:{type:"map",key:{},value:{shape:"S7n"}}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},GetAWSOrganizationsAccessStatus:{input:{type:"structure",members:{}},output:{type:"structure",members:{AccessStatus:{}}}},GetProvisionedProductOutputs:{input:{type:"structure",members:{AcceptLanguage:{},ProvisionedProductId:{},ProvisionedProductName:{},OutputKeys:{type:"list",member:{}},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{Outputs:{shape:"S7b"},NextPageToken:{}}}},ImportAsProvisionedProduct:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId","ProvisionedProductName","PhysicalId","IdempotencyToken"],members:{AcceptLanguage:{},ProductId:{},ProvisioningArtifactId:{},ProvisionedProductName:{},PhysicalId:{},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},ListAcceptedPortfolioShares:{input:{type:"structure",members:{AcceptLanguage:{},PageToken:{},PageSize:{type:"integer"},PortfolioShareType:{}}},output:{type:"structure",members:{PortfolioDetails:{shape:"S8l"},NextPageToken:{}}}},ListBudgetsForResource:{input:{type:"structure",required:["ResourceId"],members:{AcceptLanguage:{},ResourceId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{Budgets:{shape:"S46"},NextPageToken:{}}}},ListConstraintsForPortfolio:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},ProductId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ConstraintDetails:{type:"list",member:{shape:"S1b"}},NextPageToken:{}}}},ListLaunchPaths:{input:{type:"structure",required:["ProductId"],members:{AcceptLanguage:{},ProductId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{LaunchPathSummaries:{type:"list",member:{type:"structure",members:{Id:{},ConstraintSummaries:{shape:"S6h"},Tags:{shape:"S1q"},Name:{}}}},NextPageToken:{}}}},ListOrganizationPortfolioAccess:{input:{type:"structure",required:["PortfolioId","OrganizationNodeType"],members:{AcceptLanguage:{},PortfolioId:{},OrganizationNodeType:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{OrganizationNodes:{type:"list",member:{shape:"S1s"}},NextPageToken:{}}}},ListPortfolioAccess:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},OrganizationParentId:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{AccountIds:{type:"list",member:{}},NextPageToken:{}}}},ListPortfolios:{input:{type:"structure",members:{AcceptLanguage:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{PortfolioDetails:{shape:"S8l"},NextPageToken:{}}}},ListPortfoliosForProduct:{input:{type:"structure",required:["ProductId"],members:{AcceptLanguage:{},ProductId:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{PortfolioDetails:{shape:"S8l"},NextPageToken:{}}}},ListPrincipalsForPortfolio:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{Principals:{type:"list",member:{type:"structure",members:{PrincipalARN:{},PrincipalType:{}}}},NextPageToken:{}}}},ListProvisionedProductPlans:{input:{type:"structure",members:{AcceptLanguage:{},ProvisionProductId:{},PageSize:{type:"integer"},PageToken:{},AccessLevelFilter:{shape:"S9a"}}},output:{type:"structure",members:{ProvisionedProductPlans:{type:"list",member:{type:"structure",members:{PlanName:{},PlanId:{},ProvisionProductId:{},ProvisionProductName:{},PlanType:{},ProvisioningArtifactId:{}}}},NextPageToken:{}}}},ListProvisioningArtifacts:{input:{type:"structure",required:["ProductId"],members:{AcceptLanguage:{},ProductId:{}}},output:{type:"structure",members:{ProvisioningArtifactDetails:{type:"list",member:{shape:"S2i"}},NextPageToken:{}}}},ListProvisioningArtifactsForServiceAction:{input:{type:"structure",required:["ServiceActionId"],members:{ServiceActionId:{},PageSize:{type:"integer"},PageToken:{},AcceptLanguage:{}}},output:{type:"structure",members:{ProvisioningArtifactViews:{type:"list",member:{type:"structure",members:{ProductViewSummary:{shape:"S2e"},ProvisioningArtifact:{shape:"S4s"}}}},NextPageToken:{}}}},ListRecordHistory:{input:{type:"structure",members:{AcceptLanguage:{},AccessLevelFilter:{shape:"S9a"},SearchFilter:{type:"structure",members:{Key:{},Value:{}}},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{RecordDetails:{type:"list",member:{shape:"S70"}},NextPageToken:{}}}},ListResourcesForTagOption:{input:{type:"structure",required:["TagOptionId"],members:{TagOptionId:{},ResourceType:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ResourceDetails:{type:"list",member:{type:"structure",members:{Id:{},ARN:{},Name:{},Description:{},CreatedTime:{type:"timestamp"}}}},PageToken:{}}}},ListServiceActions:{input:{type:"structure",members:{AcceptLanguage:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ServiceActionSummaries:{shape:"Sa5"},NextPageToken:{}}}},ListServiceActionsForProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId"],members:{ProductId:{},ProvisioningArtifactId:{},PageSize:{type:"integer"},PageToken:{},AcceptLanguage:{}}},output:{type:"structure",members:{ServiceActionSummaries:{shape:"Sa5"},NextPageToken:{}}}},ListStackInstancesForProvisionedProduct:{input:{type:"structure",required:["ProvisionedProductId"],members:{AcceptLanguage:{},ProvisionedProductId:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{StackInstances:{type:"list",member:{type:"structure",members:{Account:{},Region:{},StackInstanceStatus:{}}}},NextPageToken:{}}}},ListTagOptions:{input:{type:"structure",members:{Filters:{type:"structure",members:{Key:{},Value:{},Active:{type:"boolean"}}},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{TagOptionDetails:{shape:"S45"},PageToken:{}}}},ProvisionProduct:{input:{type:"structure",required:["ProvisionedProductName","ProvisionToken"],members:{AcceptLanguage:{},ProductId:{},ProductName:{},ProvisioningArtifactId:{},ProvisioningArtifactName:{},PathId:{},PathName:{},ProvisionedProductName:{},ProvisioningParameters:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},ProvisioningPreferences:{type:"structure",members:{StackSetAccounts:{shape:"S6r"},StackSetRegions:{shape:"S6s"},StackSetFailureToleranceCount:{type:"integer"},StackSetFailureTolerancePercentage:{type:"integer"},StackSetMaxConcurrencyCount:{type:"integer"},StackSetMaxConcurrencyPercentage:{type:"integer"}}},Tags:{shape:"S1q"},NotificationArns:{shape:"S2o"},ProvisionToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},RejectPortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},PortfolioShareType:{}}},output:{type:"structure",members:{}}},ScanProvisionedProducts:{input:{type:"structure",members:{AcceptLanguage:{},AccessLevelFilter:{shape:"S9a"},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ProvisionedProducts:{type:"list",member:{shape:"S55"}},NextPageToken:{}}}},SearchProducts:{input:{type:"structure",members:{AcceptLanguage:{},Filters:{shape:"Sav"},PageSize:{type:"integer"},SortBy:{},SortOrder:{},PageToken:{}}},output:{type:"structure",members:{ProductViewSummaries:{type:"list",member:{shape:"S2e"}},ProductViewAggregations:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{Value:{},ApproximateCount:{type:"integer"}}}}},NextPageToken:{}}}},SearchProductsAsAdmin:{input:{type:"structure",members:{AcceptLanguage:{},PortfolioId:{},Filters:{shape:"Sav"},SortBy:{},SortOrder:{},PageToken:{},PageSize:{type:"integer"},ProductSource:{}}},output:{type:"structure",members:{ProductViewDetails:{type:"list",member:{shape:"S2d"}},NextPageToken:{}}}},SearchProvisionedProducts:{input:{type:"structure",members:{AcceptLanguage:{},AccessLevelFilter:{shape:"S9a"},Filters:{type:"map",key:{},value:{type:"list",member:{}}},SortBy:{},SortOrder:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ProvisionedProducts:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},Type:{},Id:{},Status:{},StatusMessage:{},CreatedTime:{type:"timestamp"},IdempotencyToken:{},LastRecordId:{},LastProvisioningRecordId:{},LastSuccessfulProvisioningRecordId:{},Tags:{shape:"S1q"},PhysicalId:{},ProductId:{},ProductName:{},ProvisioningArtifactId:{},ProvisioningArtifactName:{},UserArn:{},UserArnSession:{}}}},TotalResultsCount:{type:"integer"},NextPageToken:{}}}},TerminateProvisionedProduct:{input:{type:"structure",required:["TerminateToken"],members:{ProvisionedProductName:{},ProvisionedProductId:{},TerminateToken:{idempotencyToken:!0},IgnoreErrors:{type:"boolean"},AcceptLanguage:{},RetainPhysicalResources:{type:"boolean"}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},UpdateConstraint:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},Description:{},Parameters:{}}},output:{type:"structure",members:{ConstraintDetail:{shape:"S1b"},ConstraintParameters:{},Status:{}}}},UpdatePortfolio:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},DisplayName:{},Description:{},ProviderName:{},AddTags:{shape:"S1i"},RemoveTags:{shape:"Sbw"}}},output:{type:"structure",members:{PortfolioDetail:{shape:"S1n"},Tags:{shape:"S1q"}}}},UpdatePortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},AccountId:{},OrganizationNode:{shape:"S1s"},ShareTagOptions:{type:"boolean"}}},output:{type:"structure",members:{PortfolioShareToken:{},Status:{}}}},UpdateProduct:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},Name:{},Owner:{},Description:{},Distributor:{},SupportDescription:{},SupportEmail:{},SupportUrl:{},AddTags:{shape:"S1i"},RemoveTags:{shape:"Sbw"}}},output:{type:"structure",members:{ProductViewDetail:{shape:"S2d"},Tags:{shape:"S1q"}}}},UpdateProvisionedProduct:{input:{type:"structure",required:["UpdateToken"],members:{AcceptLanguage:{},ProvisionedProductName:{},ProvisionedProductId:{},ProductId:{},ProductName:{},ProvisioningArtifactId:{},ProvisioningArtifactName:{},PathId:{},PathName:{},ProvisioningParameters:{shape:"S2r"},ProvisioningPreferences:{type:"structure",members:{StackSetAccounts:{shape:"S6r"},StackSetRegions:{shape:"S6s"},StackSetFailureToleranceCount:{type:"integer"},StackSetFailureTolerancePercentage:{type:"integer"},StackSetMaxConcurrencyCount:{type:"integer"},StackSetMaxConcurrencyPercentage:{type:"integer"},StackSetOperationType:{}}},Tags:{shape:"S1q"},UpdateToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},UpdateProvisionedProductProperties:{input:{type:"structure",required:["ProvisionedProductId","ProvisionedProductProperties","IdempotencyToken"],members:{AcceptLanguage:{},ProvisionedProductId:{},ProvisionedProductProperties:{shape:"Sc8"},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ProvisionedProductId:{},ProvisionedProductProperties:{shape:"Sc8"},RecordId:{},Status:{}}}},UpdateProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId"],members:{AcceptLanguage:{},ProductId:{},ProvisioningArtifactId:{},Name:{},Description:{},Active:{type:"boolean"},Guidance:{}}},output:{type:"structure",members:{ProvisioningArtifactDetail:{shape:"S2i"},Info:{shape:"S27"},Status:{}}}},UpdateServiceAction:{input:{type:"structure",required:["Id"],members:{Id:{},Name:{},Definition:{shape:"S32"},Description:{},AcceptLanguage:{}}},output:{type:"structure",members:{ServiceActionDetail:{shape:"S37"}}}},UpdateTagOption:{input:{type:"structure",required:["Id"],members:{Id:{},Value:{},Active:{type:"boolean"}}},output:{type:"structure",members:{TagOptionDetail:{shape:"S3d"}}}}},shapes:{Sm:{type:"list",member:{type:"structure",required:["ServiceActionId","ProductId","ProvisioningArtifactId"],members:{ServiceActionId:{},ProductId:{},ProvisioningArtifactId:{}}}},Sp:{type:"list",member:{type:"structure",members:{ServiceActionId:{},ProductId:{},ProvisioningArtifactId:{},ErrorCode:{},ErrorMessage:{}}}},S1b:{type:"structure",members:{ConstraintId:{},Type:{},Description:{},Owner:{},ProductId:{},PortfolioId:{}}},S1i:{type:"list",member:{shape:"S1j"}},S1j:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}},S1n:{type:"structure",members:{Id:{},ARN:{},DisplayName:{},Description:{},CreatedTime:{type:"timestamp"},ProviderName:{}}},S1q:{type:"list",member:{shape:"S1j"}},S1s:{type:"structure",members:{Type:{},Value:{}}},S24:{type:"structure",required:["Info"],members:{Name:{},Description:{},Info:{shape:"S27"},Type:{},DisableTemplateValidation:{type:"boolean"}}},S27:{type:"map",key:{},value:{}},S2d:{type:"structure",members:{ProductViewSummary:{shape:"S2e"},Status:{},ProductARN:{},CreatedTime:{type:"timestamp"}}},S2e:{type:"structure",members:{Id:{},ProductId:{},Name:{},Owner:{},ShortDescription:{},Type:{},Distributor:{},HasDefaultPath:{type:"boolean"},SupportEmail:{},SupportDescription:{},SupportUrl:{}}},S2i:{type:"structure",members:{Id:{},Name:{},Description:{},Type:{},CreatedTime:{type:"timestamp"},Active:{type:"boolean"},Guidance:{}}},S2o:{type:"list",member:{}},S2r:{type:"list",member:{type:"structure",members:{Key:{},Value:{},UsePreviousValue:{type:"boolean"}}}},S32:{type:"map",key:{},value:{}},S37:{type:"structure",members:{ServiceActionSummary:{shape:"S38"},Definition:{shape:"S32"}}},S38:{type:"structure",members:{Id:{},Name:{},Description:{},DefinitionType:{}}},S3d:{type:"structure",members:{Key:{},Value:{},Active:{type:"boolean"},Id:{},Owner:{}}},S45:{type:"list",member:{shape:"S3d"}},S46:{type:"list",member:{type:"structure",members:{BudgetName:{}}}},S4r:{type:"list",member:{shape:"S4s"}},S4s:{type:"structure",members:{Id:{},Name:{},Description:{},CreatedTime:{type:"timestamp"},Guidance:{}}},S55:{type:"structure",members:{Name:{},Arn:{},Type:{},Id:{},Status:{},StatusMessage:{},CreatedTime:{type:"timestamp"},IdempotencyToken:{},LastRecordId:{},LastProvisioningRecordId:{},LastSuccessfulProvisioningRecordId:{},ProductId:{},ProvisioningArtifactId:{},LaunchRoleArn:{}}},S6h:{type:"list",member:{type:"structure",members:{Type:{},Description:{}}}},S6r:{type:"list",member:{}},S6s:{type:"list",member:{}},S70:{type:"structure",members:{RecordId:{},ProvisionedProductName:{},Status:{},CreatedTime:{type:"timestamp"},UpdatedTime:{type:"timestamp"},ProvisionedProductType:{},RecordType:{},ProvisionedProductId:{},ProductId:{},ProvisioningArtifactId:{},PathId:{},RecordErrors:{type:"list",member:{type:"structure",members:{Code:{},Description:{}}}},RecordTags:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},LaunchRoleArn:{}}},S7b:{type:"list",member:{type:"structure",members:{OutputKey:{},OutputValue:{},Description:{}}}},S7n:{type:"list",member:{}},S8l:{type:"list",member:{shape:"S1n"}},S9a:{type:"structure",members:{Key:{},Value:{}}},Sa5:{type:"list",member:{shape:"S38"}},Sav:{type:"map",key:{},value:{type:"list",member:{}}},Sbw:{type:"list",member:{}},Sc8:{type:"map",key:{},value:{}}}}},{}],218:[function(e,t,r){t.exports={pagination:{DescribePortfolioShares:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},GetProvisionedProductOutputs:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListAcceptedPortfolioShares:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListBudgetsForResource:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListConstraintsForPortfolio:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListLaunchPaths:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListOrganizationPortfolioAccess:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListPortfolioAccess:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListPortfolios:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListPortfoliosForProduct:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListPrincipalsForPortfolio:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListProvisioningArtifactsForServiceAction:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListResourcesForTagOption:{input_token:"PageToken",output_token:"PageToken",limit_key:"PageSize"},ListServiceActions:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListServiceActionsForProvisioningArtifact:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListTagOptions:{input_token:"PageToken",output_token:"PageToken",limit_key:"PageSize"},SearchProducts:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},SearchProductsAsAdmin:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},SearchProvisionedProducts:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"}}}},{}],219:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-03-31",endpointPrefix:"sns",protocol:"query",serviceAbbreviation:"Amazon SNS",serviceFullName:"Amazon Simple Notification Service",serviceId:"SNS",signatureVersion:"v4",uid:"sns-2010-03-31",xmlNamespace:"http://sns.amazonaws.com/doc/2010-03-31/"},operations:{AddPermission:{input:{type:"structure",required:["TopicArn","Label","AWSAccountId","ActionName"],members:{TopicArn:{},Label:{},AWSAccountId:{type:"list",member:{}},ActionName:{type:"list",member:{}}}}},CheckIfPhoneNumberIsOptedOut:{input:{type:"structure",required:["phoneNumber"],members:{phoneNumber:{}}},output:{resultWrapper:"CheckIfPhoneNumberIsOptedOutResult",type:"structure",members:{isOptedOut:{type:"boolean"}}}},ConfirmSubscription:{input:{type:"structure",required:["TopicArn","Token"],members:{TopicArn:{},Token:{},AuthenticateOnUnsubscribe:{}}},output:{resultWrapper:"ConfirmSubscriptionResult",type:"structure",members:{SubscriptionArn:{}}}},CreatePlatformApplication:{input:{type:"structure",required:["Name","Platform","Attributes"],members:{Name:{},Platform:{},Attributes:{shape:"Sj"}}},output:{resultWrapper:"CreatePlatformApplicationResult",type:"structure",members:{PlatformApplicationArn:{}}}},CreatePlatformEndpoint:{input:{type:"structure",required:["PlatformApplicationArn","Token"],members:{PlatformApplicationArn:{},Token:{},CustomUserData:{},Attributes:{shape:"Sj"}}},output:{resultWrapper:"CreatePlatformEndpointResult",type:"structure",members:{EndpointArn:{}}}},CreateSMSSandboxPhoneNumber:{input:{type:"structure",required:["PhoneNumber"],members:{PhoneNumber:{},LanguageCode:{}}},output:{resultWrapper:"CreateSMSSandboxPhoneNumberResult",type:"structure",members:{}}},CreateTopic:{input:{type:"structure",required:["Name"],members:{Name:{},Attributes:{shape:"St"},Tags:{shape:"Sw"}}},output:{resultWrapper:"CreateTopicResult",type:"structure",members:{TopicArn:{}}}},DeleteEndpoint:{input:{type:"structure",required:["EndpointArn"],members:{EndpointArn:{}}}},DeletePlatformApplication:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{}}}},DeleteSMSSandboxPhoneNumber:{input:{type:"structure",required:["PhoneNumber"],members:{PhoneNumber:{}}},output:{resultWrapper:"DeleteSMSSandboxPhoneNumberResult",type:"structure",members:{}}},DeleteTopic:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{}}}},GetEndpointAttributes:{input:{type:"structure",required:["EndpointArn"],members:{EndpointArn:{}}},output:{resultWrapper:"GetEndpointAttributesResult",type:"structure",members:{Attributes:{shape:"Sj"}}}},GetPlatformApplicationAttributes:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{}}},output:{resultWrapper:"GetPlatformApplicationAttributesResult",type:"structure",members:{Attributes:{shape:"Sj"}}}},GetSMSAttributes:{input:{ -type:"structure",members:{attributes:{type:"list",member:{}}}},output:{resultWrapper:"GetSMSAttributesResult",type:"structure",members:{attributes:{shape:"Sj"}}}},GetSMSSandboxAccountStatus:{input:{type:"structure",members:{}},output:{resultWrapper:"GetSMSSandboxAccountStatusResult",type:"structure",required:["IsInSandbox"],members:{IsInSandbox:{type:"boolean"}}}},GetSubscriptionAttributes:{input:{type:"structure",required:["SubscriptionArn"],members:{SubscriptionArn:{}}},output:{resultWrapper:"GetSubscriptionAttributesResult",type:"structure",members:{Attributes:{shape:"S1h"}}}},GetTopicAttributes:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{}}},output:{resultWrapper:"GetTopicAttributesResult",type:"structure",members:{Attributes:{shape:"St"}}}},ListEndpointsByPlatformApplication:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{},NextToken:{}}},output:{resultWrapper:"ListEndpointsByPlatformApplicationResult",type:"structure",members:{Endpoints:{type:"list",member:{type:"structure",members:{EndpointArn:{},Attributes:{shape:"Sj"}}}},NextToken:{}}}},ListOriginationNumbers:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListOriginationNumbersResult",type:"structure",members:{NextToken:{},PhoneNumbers:{type:"list",member:{type:"structure",members:{CreatedAt:{type:"timestamp"},PhoneNumber:{},Status:{},Iso2CountryCode:{},RouteType:{},NumberCapabilities:{type:"list",member:{}}}}}}}},ListPhoneNumbersOptedOut:{input:{type:"structure",members:{nextToken:{}}},output:{resultWrapper:"ListPhoneNumbersOptedOutResult",type:"structure",members:{phoneNumbers:{type:"list",member:{}},nextToken:{}}}},ListPlatformApplications:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListPlatformApplicationsResult",type:"structure",members:{PlatformApplications:{type:"list",member:{type:"structure",members:{PlatformApplicationArn:{},Attributes:{shape:"Sj"}}}},NextToken:{}}}},ListSMSSandboxPhoneNumbers:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListSMSSandboxPhoneNumbersResult",type:"structure",required:["PhoneNumbers"],members:{PhoneNumbers:{type:"list",member:{type:"structure",members:{PhoneNumber:{},Status:{}}}},NextToken:{}}}},ListSubscriptions:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListSubscriptionsResult",type:"structure",members:{Subscriptions:{shape:"S2f"},NextToken:{}}}},ListSubscriptionsByTopic:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{},NextToken:{}}},output:{resultWrapper:"ListSubscriptionsByTopicResult",type:"structure",members:{Subscriptions:{shape:"S2f"},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{Tags:{shape:"Sw"}}}},ListTopics:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListTopicsResult",type:"structure",members:{Topics:{type:"list",member:{type:"structure",members:{TopicArn:{}}}},NextToken:{}}}},OptInPhoneNumber:{input:{type:"structure",required:["phoneNumber"],members:{phoneNumber:{}}},output:{resultWrapper:"OptInPhoneNumberResult",type:"structure",members:{}}},Publish:{input:{type:"structure",required:["Message"],members:{TopicArn:{},TargetArn:{},PhoneNumber:{},Message:{},Subject:{},MessageStructure:{},MessageAttributes:{shape:"S2z"},MessageDeduplicationId:{},MessageGroupId:{}}},output:{resultWrapper:"PublishResult",type:"structure",members:{MessageId:{},SequenceNumber:{}}}},PublishBatch:{input:{type:"structure",required:["TopicArn","PublishBatchRequestEntries"],members:{TopicArn:{},PublishBatchRequestEntries:{type:"list",member:{type:"structure",required:["Id","Message"],members:{Id:{},Message:{},Subject:{},MessageStructure:{},MessageAttributes:{shape:"S2z"},MessageDeduplicationId:{},MessageGroupId:{}}}}}},output:{resultWrapper:"PublishBatchResult",type:"structure",members:{Successful:{type:"list",member:{type:"structure",members:{Id:{},MessageId:{},SequenceNumber:{}}}},Failed:{type:"list",member:{type:"structure",required:["Id","Code","SenderFault"],members:{Id:{},Code:{},Message:{},SenderFault:{type:"boolean"}}}}}}},RemovePermission:{input:{type:"structure",required:["TopicArn","Label"],members:{TopicArn:{},Label:{}}}},SetEndpointAttributes:{input:{type:"structure",required:["EndpointArn","Attributes"],members:{EndpointArn:{},Attributes:{shape:"Sj"}}}},SetPlatformApplicationAttributes:{input:{type:"structure",required:["PlatformApplicationArn","Attributes"],members:{PlatformApplicationArn:{},Attributes:{shape:"Sj"}}}},SetSMSAttributes:{input:{type:"structure",required:["attributes"],members:{attributes:{shape:"Sj"}}},output:{resultWrapper:"SetSMSAttributesResult",type:"structure",members:{}}},SetSubscriptionAttributes:{input:{type:"structure",required:["SubscriptionArn","AttributeName"],members:{SubscriptionArn:{},AttributeName:{},AttributeValue:{}}}},SetTopicAttributes:{input:{type:"structure",required:["TopicArn","AttributeName"],members:{TopicArn:{},AttributeName:{},AttributeValue:{}}}},Subscribe:{input:{type:"structure",required:["TopicArn","Protocol"],members:{TopicArn:{},Protocol:{},Endpoint:{},Attributes:{shape:"S1h"},ReturnSubscriptionArn:{type:"boolean"}}},output:{resultWrapper:"SubscribeResult",type:"structure",members:{SubscriptionArn:{}}}},TagResource:{input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{},Tags:{shape:"Sw"}}},output:{resultWrapper:"TagResourceResult",type:"structure",members:{}}},Unsubscribe:{input:{type:"structure",required:["SubscriptionArn"],members:{SubscriptionArn:{}}}},UntagResource:{input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{},TagKeys:{type:"list",member:{}}}},output:{resultWrapper:"UntagResourceResult",type:"structure",members:{}}},VerifySMSSandboxPhoneNumber:{input:{type:"structure",required:["PhoneNumber","OneTimePassword"],members:{PhoneNumber:{},OneTimePassword:{}}},output:{resultWrapper:"VerifySMSSandboxPhoneNumberResult",type:"structure",members:{}}}},shapes:{Sj:{type:"map",key:{},value:{}},St:{type:"map",key:{},value:{}},Sw:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S1h:{type:"map",key:{},value:{}},S2f:{type:"list",member:{type:"structure",members:{SubscriptionArn:{},Owner:{},Protocol:{},Endpoint:{},TopicArn:{}}}},S2z:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{DataType:{},StringValue:{},BinaryValue:{type:"blob"}}}}}}},{}],220:[function(e,t,r){t.exports={pagination:{ListEndpointsByPlatformApplication:{input_token:"NextToken",output_token:"NextToken",result_key:"Endpoints"},ListOriginationNumbers:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"PhoneNumbers"},ListPhoneNumbersOptedOut:{input_token:"nextToken",output_token:"nextToken",result_key:"phoneNumbers"},ListPlatformApplications:{input_token:"NextToken",output_token:"NextToken",result_key:"PlatformApplications"},ListSMSSandboxPhoneNumbers:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"PhoneNumbers"},ListSubscriptions:{input_token:"NextToken",output_token:"NextToken",result_key:"Subscriptions"},ListSubscriptionsByTopic:{input_token:"NextToken",output_token:"NextToken",result_key:"Subscriptions"},ListTopics:{input_token:"NextToken",output_token:"NextToken",result_key:"Topics"}}}},{}],221:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-11-05",endpointPrefix:"sqs",protocol:"query",serviceAbbreviation:"Amazon SQS",serviceFullName:"Amazon Simple Queue Service",serviceId:"SQS",signatureVersion:"v4",uid:"sqs-2012-11-05",xmlNamespace:"http://queue.amazonaws.com/doc/2012-11-05/"},operations:{AddPermission:{input:{type:"structure",required:["QueueUrl","Label","AWSAccountIds","Actions"],members:{QueueUrl:{},Label:{},AWSAccountIds:{type:"list",member:{locationName:"AWSAccountId"},flattened:!0},Actions:{type:"list",member:{locationName:"ActionName"},flattened:!0}}}},ChangeMessageVisibility:{input:{type:"structure",required:["QueueUrl","ReceiptHandle","VisibilityTimeout"],members:{QueueUrl:{},ReceiptHandle:{},VisibilityTimeout:{type:"integer"}}}},ChangeMessageVisibilityBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"ChangeMessageVisibilityBatchRequestEntry",type:"structure",required:["Id","ReceiptHandle"],members:{Id:{},ReceiptHandle:{},VisibilityTimeout:{type:"integer"}}},flattened:!0}}},output:{resultWrapper:"ChangeMessageVisibilityBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"ChangeMessageVisibilityBatchResultEntry",type:"structure",required:["Id"],members:{Id:{}}},flattened:!0},Failed:{shape:"Sd"}}}},CreateQueue:{input:{type:"structure",required:["QueueName"],members:{QueueName:{},Attributes:{shape:"Sh",locationName:"Attribute"},tags:{shape:"Sj",locationName:"Tag"}}},output:{resultWrapper:"CreateQueueResult",type:"structure",members:{QueueUrl:{}}}},DeleteMessage:{input:{type:"structure",required:["QueueUrl","ReceiptHandle"],members:{QueueUrl:{},ReceiptHandle:{}}}},DeleteMessageBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"DeleteMessageBatchRequestEntry",type:"structure",required:["Id","ReceiptHandle"],members:{Id:{},ReceiptHandle:{}}},flattened:!0}}},output:{resultWrapper:"DeleteMessageBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"DeleteMessageBatchResultEntry",type:"structure",required:["Id"],members:{Id:{}}},flattened:!0},Failed:{shape:"Sd"}}}},DeleteQueue:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}}},GetQueueAttributes:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{},AttributeNames:{shape:"Sw"}}},output:{resultWrapper:"GetQueueAttributesResult",type:"structure",members:{Attributes:{shape:"Sh",locationName:"Attribute"}}}},GetQueueUrl:{input:{type:"structure",required:["QueueName"],members:{QueueName:{},QueueOwnerAWSAccountId:{}}},output:{resultWrapper:"GetQueueUrlResult",type:"structure",members:{QueueUrl:{}}}},ListDeadLetterSourceQueues:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{},NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListDeadLetterSourceQueuesResult",type:"structure",required:["queueUrls"],members:{queueUrls:{shape:"S14"},NextToken:{}}}},ListQueueTags:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}},output:{resultWrapper:"ListQueueTagsResult",type:"structure",members:{Tags:{shape:"Sj",locationName:"Tag"}}}},ListQueues:{input:{type:"structure",members:{QueueNamePrefix:{},NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListQueuesResult",type:"structure",members:{QueueUrls:{shape:"S14"},NextToken:{}}}},PurgeQueue:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}}},ReceiveMessage:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{},AttributeNames:{shape:"Sw"},MessageAttributeNames:{type:"list",member:{locationName:"MessageAttributeName"},flattened:!0},MaxNumberOfMessages:{type:"integer"},VisibilityTimeout:{type:"integer"},WaitTimeSeconds:{type:"integer"},ReceiveRequestAttemptId:{}}},output:{resultWrapper:"ReceiveMessageResult",type:"structure",members:{Messages:{type:"list",member:{locationName:"Message",type:"structure",members:{MessageId:{},ReceiptHandle:{},MD5OfBody:{},Body:{},Attributes:{locationName:"Attribute",type:"map",key:{locationName:"Name"},value:{locationName:"Value"},flattened:!0},MD5OfMessageAttributes:{},MessageAttributes:{shape:"S1i",locationName:"MessageAttribute"}}},flattened:!0}}}},RemovePermission:{input:{type:"structure",required:["QueueUrl","Label"],members:{QueueUrl:{},Label:{}}}},SendMessage:{input:{type:"structure",required:["QueueUrl","MessageBody"],members:{QueueUrl:{},MessageBody:{},DelaySeconds:{type:"integer"},MessageAttributes:{shape:"S1i",locationName:"MessageAttribute"},MessageSystemAttributes:{shape:"S1p",locationName:"MessageSystemAttribute"},MessageDeduplicationId:{},MessageGroupId:{}}},output:{resultWrapper:"SendMessageResult",type:"structure",members:{MD5OfMessageBody:{},MD5OfMessageAttributes:{},MD5OfMessageSystemAttributes:{},MessageId:{},SequenceNumber:{}}}},SendMessageBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"SendMessageBatchRequestEntry",type:"structure",required:["Id","MessageBody"],members:{Id:{},MessageBody:{},DelaySeconds:{type:"integer"},MessageAttributes:{shape:"S1i",locationName:"MessageAttribute"},MessageSystemAttributes:{shape:"S1p",locationName:"MessageSystemAttribute"},MessageDeduplicationId:{},MessageGroupId:{}}},flattened:!0}}},output:{resultWrapper:"SendMessageBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"SendMessageBatchResultEntry",type:"structure",required:["Id","MessageId","MD5OfMessageBody"],members:{Id:{},MessageId:{},MD5OfMessageBody:{},MD5OfMessageAttributes:{},MD5OfMessageSystemAttributes:{},SequenceNumber:{}}},flattened:!0},Failed:{shape:"Sd"}}}},SetQueueAttributes:{input:{type:"structure",required:["QueueUrl","Attributes"],members:{QueueUrl:{},Attributes:{shape:"Sh",locationName:"Attribute"}}}},TagQueue:{input:{type:"structure",required:["QueueUrl","Tags"],members:{QueueUrl:{},Tags:{shape:"Sj"}}}},UntagQueue:{input:{type:"structure",required:["QueueUrl","TagKeys"],members:{QueueUrl:{},TagKeys:{type:"list",member:{locationName:"TagKey"},flattened:!0}}}}},shapes:{Sd:{type:"list",member:{locationName:"BatchResultErrorEntry",type:"structure",required:["Id","SenderFault","Code"],members:{Id:{},SenderFault:{type:"boolean"},Code:{},Message:{}}},flattened:!0},Sh:{type:"map",key:{locationName:"Name"},value:{locationName:"Value"},flattened:!0,locationName:"Attribute"},Sj:{type:"map",key:{locationName:"Key"},value:{locationName:"Value"},flattened:!0,locationName:"Tag"},Sw:{type:"list",member:{locationName:"AttributeName"},flattened:!0},S14:{type:"list",member:{locationName:"QueueUrl"},flattened:!0},S1i:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{StringValue:{},BinaryValue:{type:"blob"},StringListValues:{shape:"S1l",flattened:!0,locationName:"StringListValue"},BinaryListValues:{shape:"S1m",flattened:!0,locationName:"BinaryListValue"},DataType:{}}},flattened:!0},S1l:{type:"list",member:{locationName:"StringListValue"}},S1m:{type:"list",member:{locationName:"BinaryListValue",type:"blob"}},S1p:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{StringValue:{},BinaryValue:{type:"blob"},StringListValues:{shape:"S1l",flattened:!0,locationName:"StringListValue"},BinaryListValues:{shape:"S1m",flattened:!0,locationName:"BinaryListValue"},DataType:{}}},flattened:!0}}}},{}],222:[function(e,t,r){t.exports={pagination:{ListDeadLetterSourceQueues:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"queueUrls"},ListQueues:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"QueueUrls"}}}},{}],223:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-11-06",endpointPrefix:"ssm",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon SSM",serviceFullName:"Amazon Simple Systems Manager (SSM)",serviceId:"SSM",signatureVersion:"v4",targetPrefix:"AmazonSSM",uid:"ssm-2014-11-06"},operations:{AddTagsToResource:{input:{type:"structure",required:["ResourceType","ResourceId","Tags"],members:{ResourceType:{},ResourceId:{},Tags:{shape:"S4"}}},output:{type:"structure",members:{}}},AssociateOpsItemRelatedItem:{input:{type:"structure",required:["OpsItemId","AssociationType","ResourceType","ResourceUri"],members:{OpsItemId:{},AssociationType:{},ResourceType:{},ResourceUri:{}}},output:{type:"structure",members:{AssociationId:{}}}},CancelCommand:{input:{type:"structure",required:["CommandId"],members:{CommandId:{},InstanceIds:{shape:"Si"}}},output:{type:"structure",members:{}}},CancelMaintenanceWindowExecution:{input:{type:"structure",required:["WindowExecutionId"],members:{WindowExecutionId:{}}},output:{type:"structure",members:{WindowExecutionId:{}}}},CreateActivation:{input:{type:"structure",required:["IamRole"],members:{Description:{},DefaultInstanceName:{},IamRole:{},RegistrationLimit:{type:"integer"},ExpirationDate:{type:"timestamp"},Tags:{shape:"S4"},RegistrationMetadata:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}}}},output:{type:"structure",members:{ActivationId:{},ActivationCode:{}}}},CreateAssociation:{input:{type:"structure",required:["Name"],members:{Name:{},DocumentVersion:{},InstanceId:{},Parameters:{shape:"S14"},Targets:{shape:"S18"},ScheduleExpression:{},OutputLocation:{shape:"S1e"},AssociationName:{},AutomationTargetParameterName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}},output:{type:"structure",members:{AssociationDescription:{shape:"S20"}}}},CreateAssociationBatch:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{shape:"S2e"}}}},output:{type:"structure",members:{Successful:{type:"list",member:{shape:"S20"}},Failed:{type:"list",member:{type:"structure",members:{Entry:{shape:"S2e"},Message:{},Fault:{}}}}}}},CreateDocument:{input:{type:"structure",required:["Content","Name"],members:{Content:{},Requires:{shape:"S2n"},Attachments:{shape:"S2p"},Name:{},DisplayName:{},VersionName:{},DocumentType:{},DocumentFormat:{},TargetType:{},Tags:{shape:"S4"}}},output:{type:"structure",members:{DocumentDescription:{shape:"S32"}}}},CreateMaintenanceWindow:{input:{type:"structure",required:["Name","Schedule","Duration","Cutoff","AllowUnassociatedTargets"],members:{Name:{},Description:{shape:"S3t"},StartDate:{},EndDate:{},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},Duration:{type:"integer"},Cutoff:{type:"integer"},AllowUnassociatedTargets:{type:"boolean"},ClientToken:{idempotencyToken:!0},Tags:{shape:"S4"}}},output:{type:"structure",members:{WindowId:{}}}},CreateOpsItem:{input:{type:"structure",required:["Description","Source","Title"],members:{Description:{},OpsItemType:{},OperationalData:{shape:"S47"},Notifications:{shape:"S4c"},Priority:{type:"integer"},RelatedOpsItems:{shape:"S4g"},Source:{},Title:{},Tags:{shape:"S4"},Category:{},Severity:{},ActualStartTime:{type:"timestamp"},ActualEndTime:{type:"timestamp"},PlannedStartTime:{type:"timestamp"},PlannedEndTime:{type:"timestamp"}}},output:{type:"structure",members:{OpsItemId:{}}}},CreateOpsMetadata:{input:{type:"structure",required:["ResourceId"],members:{ResourceId:{},Metadata:{shape:"S4p"},Tags:{shape:"S4"}}},output:{type:"structure",members:{OpsMetadataArn:{}}}},CreatePatchBaseline:{input:{type:"structure",required:["Name"],members:{OperatingSystem:{},Name:{},GlobalFilters:{shape:"S4y"},ApprovalRules:{shape:"S54"},ApprovedPatches:{shape:"S5b"},ApprovedPatchesComplianceLevel:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},RejectedPatches:{shape:"S5b"},RejectedPatchesAction:{},Description:{},Sources:{shape:"S5f"},ClientToken:{idempotencyToken:!0},Tags:{shape:"S4"}}},output:{type:"structure",members:{BaselineId:{}}}},CreateResourceDataSync:{input:{type:"structure",required:["SyncName"],members:{SyncName:{},S3Destination:{shape:"S5p"},SyncType:{},SyncSource:{shape:"S5y"}}},output:{type:"structure",members:{}}},DeleteActivation:{input:{type:"structure",required:["ActivationId"],members:{ActivationId:{}}},output:{type:"structure",members:{}}},DeleteAssociation:{input:{type:"structure",members:{Name:{},InstanceId:{},AssociationId:{}}},output:{type:"structure",members:{}}},DeleteDocument:{input:{type:"structure",required:["Name"],members:{Name:{},DocumentVersion:{},VersionName:{},Force:{type:"boolean"}}},output:{type:"structure",members:{}}},DeleteInventory:{input:{type:"structure",required:["TypeName"],members:{TypeName:{},SchemaDeleteOption:{},DryRun:{type:"boolean"},ClientToken:{idempotencyToken:!0}}},output:{type:"structure",members:{DeletionId:{},TypeName:{},DeletionSummary:{shape:"S6m"}}}},DeleteMaintenanceWindow:{input:{type:"structure",required:["WindowId"],members:{WindowId:{}}},output:{type:"structure",members:{WindowId:{}}}},DeleteOpsMetadata:{input:{type:"structure",required:["OpsMetadataArn"],members:{OpsMetadataArn:{}}},output:{type:"structure",members:{}}},DeleteParameter:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteParameters:{input:{type:"structure",required:["Names"],members:{Names:{shape:"S71"}}},output:{type:"structure",members:{DeletedParameters:{shape:"S71"},InvalidParameters:{shape:"S71"}}}},DeletePatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{}}},output:{type:"structure",members:{BaselineId:{}}}},DeleteResourceDataSync:{input:{type:"structure",required:["SyncName"],members:{SyncName:{},SyncType:{}}},output:{type:"structure",members:{}}},DeregisterManagedInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},output:{type:"structure",members:{}}},DeregisterPatchBaselineForPatchGroup:{input:{type:"structure",required:["BaselineId","PatchGroup"],members:{BaselineId:{},PatchGroup:{}}},output:{type:"structure",members:{BaselineId:{},PatchGroup:{}}}},DeregisterTargetFromMaintenanceWindow:{input:{type:"structure",required:["WindowId","WindowTargetId"],members:{WindowId:{},WindowTargetId:{},Safe:{type:"boolean"}}},output:{type:"structure",members:{WindowId:{},WindowTargetId:{}}}},DeregisterTaskFromMaintenanceWindow:{input:{type:"structure",required:["WindowId","WindowTaskId"],members:{WindowId:{},WindowTaskId:{}}},output:{type:"structure",members:{WindowId:{},WindowTaskId:{}}}},DescribeActivations:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{FilterKey:{},FilterValues:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ActivationList:{type:"list",member:{type:"structure",members:{ActivationId:{},Description:{},DefaultInstanceName:{},IamRole:{},RegistrationLimit:{type:"integer"},RegistrationsCount:{type:"integer"},ExpirationDate:{type:"timestamp"},Expired:{type:"boolean"},CreatedDate:{type:"timestamp"},Tags:{shape:"S4"}}}},NextToken:{}}}},DescribeAssociation:{input:{type:"structure",members:{Name:{},InstanceId:{},AssociationId:{},AssociationVersion:{}}},output:{type:"structure",members:{AssociationDescription:{shape:"S20"}}}},DescribeAssociationExecutionTargets:{input:{type:"structure",required:["AssociationId","ExecutionId"],members:{AssociationId:{},ExecutionId:{},Filters:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AssociationExecutionTargets:{type:"list",member:{type:"structure",members:{AssociationId:{},AssociationVersion:{},ExecutionId:{},ResourceId:{},ResourceType:{},Status:{},DetailedStatus:{},LastExecutionDate:{type:"timestamp"},OutputSource:{type:"structure",members:{OutputSourceId:{},OutputSourceType:{}}}}}},NextToken:{}}}},DescribeAssociationExecutions:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{},Filters:{type:"list",member:{type:"structure",required:["Key","Value","Type"],members:{Key:{},Value:{},Type:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AssociationExecutions:{type:"list",member:{type:"structure",members:{AssociationId:{},AssociationVersion:{},ExecutionId:{},Status:{},DetailedStatus:{},CreatedTime:{type:"timestamp"},LastExecutionDate:{type:"timestamp"},ResourceCountByStatus:{}}}},NextToken:{}}}},DescribeAutomationExecutions:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AutomationExecutionMetadataList:{type:"list",member:{type:"structure",members:{AutomationExecutionId:{},DocumentName:{},DocumentVersion:{},AutomationExecutionStatus:{},ExecutionStartTime:{type:"timestamp"},ExecutionEndTime:{type:"timestamp"},ExecutedBy:{},LogFile:{},Outputs:{shape:"S8w"},Mode:{},ParentAutomationExecutionId:{},CurrentStepName:{},CurrentAction:{},FailureMessage:{},TargetParameterName:{},Targets:{shape:"S18"},TargetMaps:{shape:"S91"},ResolvedTargets:{shape:"S96"},MaxConcurrency:{},MaxErrors:{},Target:{},AutomationType:{},AutomationSubtype:{},ScheduledTime:{type:"timestamp"},Runbooks:{shape:"S9a"},OpsItemId:{},AssociationId:{},ChangeRequestName:{}}}},NextToken:{}}}},DescribeAutomationStepExecutions:{input:{type:"structure",required:["AutomationExecutionId"],members:{AutomationExecutionId:{},Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}},NextToken:{},MaxResults:{type:"integer"},ReverseOrder:{type:"boolean"}}},output:{type:"structure",members:{StepExecutions:{shape:"S9k"},NextToken:{}}}},DescribeAvailablePatches:{input:{type:"structure",members:{Filters:{shape:"S9u"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Patches:{type:"list",member:{shape:"Sa2"}},NextToken:{}}}},DescribeDocument:{input:{type:"structure",required:["Name"],members:{Name:{},DocumentVersion:{},VersionName:{}}},output:{type:"structure",members:{Document:{shape:"S32"}}}},DescribeDocumentPermission:{input:{type:"structure",required:["Name","PermissionType"],members:{Name:{},PermissionType:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AccountIds:{shape:"Sax"},AccountSharingInfoList:{type:"list",member:{type:"structure",members:{AccountId:{},SharedDocumentVersion:{}}}},NextToken:{}}}},DescribeEffectiveInstanceAssociations:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Associations:{type:"list",member:{type:"structure",members:{AssociationId:{},InstanceId:{},Content:{},AssociationVersion:{}}}},NextToken:{}}}},DescribeEffectivePatchesForPatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{EffectivePatches:{type:"list",member:{type:"structure",members:{Patch:{shape:"Sa2"},PatchStatus:{type:"structure",members:{DeploymentStatus:{},ComplianceLevel:{},ApprovalDate:{type:"timestamp"}}}}}},NextToken:{}}}},DescribeInstanceAssociationsStatus:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InstanceAssociationStatusInfos:{type:"list",member:{type:"structure",members:{AssociationId:{},Name:{},DocumentVersion:{},AssociationVersion:{},InstanceId:{},ExecutionDate:{type:"timestamp"},Status:{},DetailedStatus:{},ExecutionSummary:{},ErrorCode:{},OutputUrl:{type:"structure",members:{S3OutputUrl:{type:"structure",members:{OutputUrl:{}}}}},AssociationName:{}}}},NextToken:{}}}},DescribeInstanceInformation:{input:{type:"structure",members:{InstanceInformationFilterList:{type:"list",member:{type:"structure",required:["key","valueSet"],members:{key:{},valueSet:{shape:"Sbq"}}}},Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{shape:"Sbq"}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InstanceInformationList:{type:"list",member:{type:"structure",members:{InstanceId:{},PingStatus:{},LastPingDateTime:{type:"timestamp"},AgentVersion:{},IsLatestVersion:{type:"boolean"},PlatformType:{},PlatformName:{},PlatformVersion:{},ActivationId:{},IamRole:{},RegistrationDate:{type:"timestamp"},ResourceType:{},Name:{},IPAddress:{},ComputerName:{},AssociationStatus:{},LastAssociationExecutionDate:{type:"timestamp"},LastSuccessfulAssociationExecutionDate:{type:"timestamp"},AssociationOverview:{type:"structure",members:{DetailedStatus:{},InstanceAssociationStatusAggregatedCount:{type:"map",key:{},value:{type:"integer"}}}},SourceId:{},SourceType:{}}}},NextToken:{}}}},DescribeInstancePatchStates:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"Si"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{InstancePatchStates:{type:"list",member:{shape:"Scc"}},NextToken:{}}}},DescribeInstancePatchStatesForPatchGroup:{input:{type:"structure",required:["PatchGroup"],members:{PatchGroup:{},Filters:{type:"list",member:{type:"structure",required:["Key","Values","Type"],members:{Key:{},Values:{type:"list",member:{}},Type:{}}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{InstancePatchStates:{type:"list",member:{shape:"Scc"}},NextToken:{}}}},DescribeInstancePatches:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},Filters:{shape:"S9u"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Patches:{type:"list",member:{type:"structure",required:["Title","KBId","Classification","Severity","State","InstalledTime"],members:{Title:{},KBId:{},Classification:{},Severity:{},State:{},InstalledTime:{type:"timestamp"},CVEIds:{}}}},NextToken:{}}}},DescribeInventoryDeletions:{input:{type:"structure",members:{DeletionId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{InventoryDeletions:{type:"list",member:{type:"structure",members:{DeletionId:{},TypeName:{},DeletionStartTime:{type:"timestamp"},LastStatus:{},LastStatusMessage:{},DeletionSummary:{shape:"S6m"},LastStatusUpdateTime:{type:"timestamp"}}}},NextToken:{}}}},DescribeMaintenanceWindowExecutionTaskInvocations:{input:{type:"structure",required:["WindowExecutionId","TaskId"],members:{WindowExecutionId:{},TaskId:{},Filters:{shape:"Sdi"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowExecutionTaskInvocationIdentities:{type:"list",member:{type:"structure",members:{WindowExecutionId:{},TaskExecutionId:{},InvocationId:{},ExecutionId:{},TaskType:{},Parameters:{shape:"Sdu"},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},OwnerInformation:{shape:"Scf"},WindowTargetId:{}}}},NextToken:{}}}},DescribeMaintenanceWindowExecutionTasks:{input:{type:"structure",required:["WindowExecutionId"],members:{WindowExecutionId:{},Filters:{shape:"Sdi"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowExecutionTaskIdentities:{type:"list",member:{type:"structure",members:{WindowExecutionId:{},TaskExecutionId:{},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},TaskArn:{},TaskType:{}}}},NextToken:{}}}},DescribeMaintenanceWindowExecutions:{input:{type:"structure",required:["WindowId"],members:{WindowId:{},Filters:{shape:"Sdi"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowExecutions:{type:"list",member:{type:"structure",members:{WindowId:{},WindowExecutionId:{},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}},NextToken:{}}}},DescribeMaintenanceWindowSchedule:{input:{type:"structure",members:{WindowId:{},Targets:{shape:"S18"},ResourceType:{},Filters:{shape:"S9u"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ScheduledWindowExecutions:{type:"list",member:{type:"structure",members:{WindowId:{},Name:{},ExecutionTime:{}}}},NextToken:{}}}}, -DescribeMaintenanceWindowTargets:{input:{type:"structure",required:["WindowId"],members:{WindowId:{},Filters:{shape:"Sdi"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Targets:{type:"list",member:{type:"structure",members:{WindowId:{},WindowTargetId:{},ResourceType:{},Targets:{shape:"S18"},OwnerInformation:{shape:"Scf"},Name:{},Description:{shape:"S3t"}}}},NextToken:{}}}},DescribeMaintenanceWindowTasks:{input:{type:"structure",required:["WindowId"],members:{WindowId:{},Filters:{shape:"Sdi"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Tasks:{type:"list",member:{type:"structure",members:{WindowId:{},WindowTaskId:{},TaskArn:{},Type:{},Targets:{shape:"S18"},TaskParameters:{shape:"Sel"},Priority:{type:"integer"},LoggingInfo:{shape:"Ser"},ServiceRoleArn:{},MaxConcurrency:{},MaxErrors:{},Name:{},Description:{shape:"S3t"},CutoffBehavior:{}}}},NextToken:{}}}},DescribeMaintenanceWindows:{input:{type:"structure",members:{Filters:{shape:"Sdi"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowIdentities:{type:"list",member:{type:"structure",members:{WindowId:{},Name:{},Description:{shape:"S3t"},Enabled:{type:"boolean"},Duration:{type:"integer"},Cutoff:{type:"integer"},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},EndDate:{},StartDate:{},NextExecutionTime:{}}}},NextToken:{}}}},DescribeMaintenanceWindowsForTarget:{input:{type:"structure",required:["Targets","ResourceType"],members:{Targets:{shape:"S18"},ResourceType:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowIdentities:{type:"list",member:{type:"structure",members:{WindowId:{},Name:{}}}},NextToken:{}}}},DescribeOpsItems:{input:{type:"structure",members:{OpsItemFilters:{type:"list",member:{type:"structure",required:["Key","Values","Operator"],members:{Key:{},Values:{type:"list",member:{}},Operator:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{NextToken:{},OpsItemSummaries:{type:"list",member:{type:"structure",members:{CreatedBy:{},CreatedTime:{type:"timestamp"},LastModifiedBy:{},LastModifiedTime:{type:"timestamp"},Priority:{type:"integer"},Source:{},Status:{},OpsItemId:{},Title:{},OperationalData:{shape:"S47"},Category:{},Severity:{},OpsItemType:{},ActualStartTime:{type:"timestamp"},ActualEndTime:{type:"timestamp"},PlannedStartTime:{type:"timestamp"},PlannedEndTime:{type:"timestamp"}}}}}}},DescribeParameters:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}},ParameterFilters:{shape:"Sfl"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Parameters:{type:"list",member:{type:"structure",members:{Name:{},Type:{},KeyId:{},LastModifiedDate:{type:"timestamp"},LastModifiedUser:{},Description:{},AllowedPattern:{},Version:{type:"long"},Tier:{},Policies:{shape:"Sg0"},DataType:{}}}},NextToken:{}}}},DescribePatchBaselines:{input:{type:"structure",members:{Filters:{shape:"S9u"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{BaselineIdentities:{type:"list",member:{shape:"Sg6"}},NextToken:{}}}},DescribePatchGroupState:{input:{type:"structure",required:["PatchGroup"],members:{PatchGroup:{}}},output:{type:"structure",members:{Instances:{type:"integer"},InstancesWithInstalledPatches:{type:"integer"},InstancesWithInstalledOtherPatches:{type:"integer"},InstancesWithInstalledPendingRebootPatches:{type:"integer"},InstancesWithInstalledRejectedPatches:{type:"integer"},InstancesWithMissingPatches:{type:"integer"},InstancesWithFailedPatches:{type:"integer"},InstancesWithNotApplicablePatches:{type:"integer"},InstancesWithUnreportedNotApplicablePatches:{type:"integer"},InstancesWithCriticalNonCompliantPatches:{type:"integer"},InstancesWithSecurityNonCompliantPatches:{type:"integer"},InstancesWithOtherNonCompliantPatches:{type:"integer"}}}},DescribePatchGroups:{input:{type:"structure",members:{MaxResults:{type:"integer"},Filters:{shape:"S9u"},NextToken:{}}},output:{type:"structure",members:{Mappings:{type:"list",member:{type:"structure",members:{PatchGroup:{},BaselineIdentity:{shape:"Sg6"}}}},NextToken:{}}}},DescribePatchProperties:{input:{type:"structure",required:["OperatingSystem","Property"],members:{OperatingSystem:{},Property:{},PatchSet:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Properties:{type:"list",member:{type:"map",key:{},value:{}}},NextToken:{}}}},DescribeSessions:{input:{type:"structure",required:["State"],members:{State:{},MaxResults:{type:"integer"},NextToken:{},Filters:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}}}},output:{type:"structure",members:{Sessions:{type:"list",member:{type:"structure",members:{SessionId:{},Target:{},Status:{},StartDate:{type:"timestamp"},EndDate:{type:"timestamp"},DocumentName:{},Owner:{},Reason:{},Details:{},OutputUrl:{type:"structure",members:{S3OutputUrl:{},CloudWatchOutputUrl:{}}},MaxSessionDuration:{}}}},NextToken:{}}}},DisassociateOpsItemRelatedItem:{input:{type:"structure",required:["OpsItemId","AssociationId"],members:{OpsItemId:{},AssociationId:{}}},output:{type:"structure",members:{}}},GetAutomationExecution:{input:{type:"structure",required:["AutomationExecutionId"],members:{AutomationExecutionId:{}}},output:{type:"structure",members:{AutomationExecution:{type:"structure",members:{AutomationExecutionId:{},DocumentName:{},DocumentVersion:{},ExecutionStartTime:{type:"timestamp"},ExecutionEndTime:{type:"timestamp"},AutomationExecutionStatus:{},StepExecutions:{shape:"S9k"},StepExecutionsTruncated:{type:"boolean"},Parameters:{shape:"S8w"},Outputs:{shape:"S8w"},FailureMessage:{},Mode:{},ParentAutomationExecutionId:{},ExecutedBy:{},CurrentStepName:{},CurrentAction:{},TargetParameterName:{},Targets:{shape:"S18"},TargetMaps:{shape:"S91"},ResolvedTargets:{shape:"S96"},MaxConcurrency:{},MaxErrors:{},Target:{},TargetLocations:{shape:"S1s"},ProgressCounters:{type:"structure",members:{TotalSteps:{type:"integer"},SuccessSteps:{type:"integer"},FailedSteps:{type:"integer"},CancelledSteps:{type:"integer"},TimedOutSteps:{type:"integer"}}},AutomationSubtype:{},ScheduledTime:{type:"timestamp"},Runbooks:{shape:"S9a"},OpsItemId:{},AssociationId:{},ChangeRequestName:{}}}}}},GetCalendarState:{input:{type:"structure",required:["CalendarNames"],members:{CalendarNames:{shape:"S1q"},AtTime:{}}},output:{type:"structure",members:{State:{},AtTime:{},NextTransitionTime:{}}}},GetCommandInvocation:{input:{type:"structure",required:["CommandId","InstanceId"],members:{CommandId:{},InstanceId:{},PluginName:{}}},output:{type:"structure",members:{CommandId:{},InstanceId:{},Comment:{},DocumentName:{},DocumentVersion:{},PluginName:{},ResponseCode:{type:"integer"},ExecutionStartDateTime:{},ExecutionElapsedTime:{},ExecutionEndDateTime:{},Status:{},StatusDetails:{},StandardOutputContent:{},StandardOutputUrl:{},StandardErrorContent:{},StandardErrorUrl:{},CloudWatchOutputConfig:{shape:"Shr"}}}},GetConnectionStatus:{input:{type:"structure",required:["Target"],members:{Target:{}}},output:{type:"structure",members:{Target:{},Status:{}}}},GetDefaultPatchBaseline:{input:{type:"structure",members:{OperatingSystem:{}}},output:{type:"structure",members:{BaselineId:{},OperatingSystem:{}}}},GetDeployablePatchSnapshotForInstance:{input:{type:"structure",required:["InstanceId","SnapshotId"],members:{InstanceId:{},SnapshotId:{},BaselineOverride:{type:"structure",members:{OperatingSystem:{},GlobalFilters:{shape:"S4y"},ApprovalRules:{shape:"S54"},ApprovedPatches:{shape:"S5b"},ApprovedPatchesComplianceLevel:{},RejectedPatches:{shape:"S5b"},RejectedPatchesAction:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},Sources:{shape:"S5f"}}}}},output:{type:"structure",members:{InstanceId:{},SnapshotId:{},SnapshotDownloadUrl:{},Product:{}}}},GetDocument:{input:{type:"structure",required:["Name"],members:{Name:{},VersionName:{},DocumentVersion:{},DocumentFormat:{}}},output:{type:"structure",members:{Name:{},CreatedDate:{type:"timestamp"},DisplayName:{},VersionName:{},DocumentVersion:{},Status:{},StatusInformation:{},Content:{},DocumentType:{},DocumentFormat:{},Requires:{shape:"S2n"},AttachmentsContent:{type:"list",member:{type:"structure",members:{Name:{},Size:{type:"long"},Hash:{},HashType:{},Url:{}}}},ReviewStatus:{}}}},GetInventory:{input:{type:"structure",members:{Filters:{shape:"Sid"},Aggregators:{shape:"Sij"},ResultAttributes:{type:"list",member:{type:"structure",required:["TypeName"],members:{TypeName:{}}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Entities:{type:"list",member:{type:"structure",members:{Id:{},Data:{type:"map",key:{},value:{type:"structure",required:["TypeName","SchemaVersion","Content"],members:{TypeName:{},SchemaVersion:{},CaptureTime:{},ContentHash:{},Content:{shape:"Sj0"}}}}}}},NextToken:{}}}},GetInventorySchema:{input:{type:"structure",members:{TypeName:{},NextToken:{},MaxResults:{type:"integer"},Aggregator:{type:"boolean"},SubType:{type:"boolean"}}},output:{type:"structure",members:{Schemas:{type:"list",member:{type:"structure",required:["TypeName","Attributes"],members:{TypeName:{},Version:{},Attributes:{type:"list",member:{type:"structure",required:["Name","DataType"],members:{Name:{},DataType:{}}}},DisplayName:{}}}},NextToken:{}}}},GetMaintenanceWindow:{input:{type:"structure",required:["WindowId"],members:{WindowId:{}}},output:{type:"structure",members:{WindowId:{},Name:{},Description:{shape:"S3t"},StartDate:{},EndDate:{},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},NextExecutionTime:{},Duration:{type:"integer"},Cutoff:{type:"integer"},AllowUnassociatedTargets:{type:"boolean"},Enabled:{type:"boolean"},CreatedDate:{type:"timestamp"},ModifiedDate:{type:"timestamp"}}}},GetMaintenanceWindowExecution:{input:{type:"structure",required:["WindowExecutionId"],members:{WindowExecutionId:{}}},output:{type:"structure",members:{WindowExecutionId:{},TaskIds:{type:"list",member:{}},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}},GetMaintenanceWindowExecutionTask:{input:{type:"structure",required:["WindowExecutionId","TaskId"],members:{WindowExecutionId:{},TaskId:{}}},output:{type:"structure",members:{WindowExecutionId:{},TaskExecutionId:{},TaskArn:{},ServiceRole:{},Type:{},TaskParameters:{type:"list",member:{shape:"Sel"},sensitive:!0},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}},GetMaintenanceWindowExecutionTaskInvocation:{input:{type:"structure",required:["WindowExecutionId","TaskId","InvocationId"],members:{WindowExecutionId:{},TaskId:{},InvocationId:{}}},output:{type:"structure",members:{WindowExecutionId:{},TaskExecutionId:{},InvocationId:{},ExecutionId:{},TaskType:{},Parameters:{shape:"Sdu"},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},OwnerInformation:{shape:"Scf"},WindowTargetId:{}}}},GetMaintenanceWindowTask:{input:{type:"structure",required:["WindowId","WindowTaskId"],members:{WindowId:{},WindowTaskId:{}}},output:{type:"structure",members:{WindowId:{},WindowTaskId:{},Targets:{shape:"S18"},TaskArn:{},ServiceRoleArn:{},TaskType:{},TaskParameters:{shape:"Sel"},TaskInvocationParameters:{shape:"Sjr"},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},LoggingInfo:{shape:"Ser"},Name:{},Description:{shape:"S3t"},CutoffBehavior:{}}}},GetOpsItem:{input:{type:"structure",required:["OpsItemId"],members:{OpsItemId:{}}},output:{type:"structure",members:{OpsItem:{type:"structure",members:{CreatedBy:{},OpsItemType:{},CreatedTime:{type:"timestamp"},Description:{},LastModifiedBy:{},LastModifiedTime:{type:"timestamp"},Notifications:{shape:"S4c"},Priority:{type:"integer"},RelatedOpsItems:{shape:"S4g"},Status:{},OpsItemId:{},Version:{},Title:{},Source:{},OperationalData:{shape:"S47"},Category:{},Severity:{},ActualStartTime:{type:"timestamp"},ActualEndTime:{type:"timestamp"},PlannedStartTime:{type:"timestamp"},PlannedEndTime:{type:"timestamp"}}}}}},GetOpsMetadata:{input:{type:"structure",required:["OpsMetadataArn"],members:{OpsMetadataArn:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ResourceId:{},Metadata:{shape:"S4p"},NextToken:{}}}},GetOpsSummary:{input:{type:"structure",members:{SyncName:{},Filters:{shape:"Ske"},Aggregators:{shape:"Skk"},ResultAttributes:{type:"list",member:{type:"structure",required:["TypeName"],members:{TypeName:{}}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Entities:{type:"list",member:{type:"structure",members:{Id:{},Data:{type:"map",key:{},value:{type:"structure",members:{CaptureTime:{},Content:{type:"list",member:{type:"map",key:{},value:{}}}}}}}}},NextToken:{}}}},GetParameter:{input:{type:"structure",required:["Name"],members:{Name:{},WithDecryption:{type:"boolean"}}},output:{type:"structure",members:{Parameter:{shape:"Sl6"}}}},GetParameterHistory:{input:{type:"structure",required:["Name"],members:{Name:{},WithDecryption:{type:"boolean"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Parameters:{type:"list",member:{type:"structure",members:{Name:{},Type:{},KeyId:{},LastModifiedDate:{type:"timestamp"},LastModifiedUser:{},Description:{},Value:{shape:"Sl7"},AllowedPattern:{},Version:{type:"long"},Labels:{shape:"Sld"},Tier:{},Policies:{shape:"Sg0"},DataType:{}}}},NextToken:{}}}},GetParameters:{input:{type:"structure",required:["Names"],members:{Names:{shape:"S71"},WithDecryption:{type:"boolean"}}},output:{type:"structure",members:{Parameters:{shape:"Slh"},InvalidParameters:{shape:"S71"}}}},GetParametersByPath:{input:{type:"structure",required:["Path"],members:{Path:{},Recursive:{type:"boolean"},ParameterFilters:{shape:"Sfl"},WithDecryption:{type:"boolean"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Parameters:{shape:"Slh"},NextToken:{}}}},GetPatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{}}},output:{type:"structure",members:{BaselineId:{},Name:{},OperatingSystem:{},GlobalFilters:{shape:"S4y"},ApprovalRules:{shape:"S54"},ApprovedPatches:{shape:"S5b"},ApprovedPatchesComplianceLevel:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},RejectedPatches:{shape:"S5b"},RejectedPatchesAction:{},PatchGroups:{type:"list",member:{}},CreatedDate:{type:"timestamp"},ModifiedDate:{type:"timestamp"},Description:{},Sources:{shape:"S5f"}}}},GetPatchBaselineForPatchGroup:{input:{type:"structure",required:["PatchGroup"],members:{PatchGroup:{},OperatingSystem:{}}},output:{type:"structure",members:{BaselineId:{},PatchGroup:{},OperatingSystem:{}}}},GetServiceSetting:{input:{type:"structure",required:["SettingId"],members:{SettingId:{}}},output:{type:"structure",members:{ServiceSetting:{shape:"Slt"}}}},LabelParameterVersion:{input:{type:"structure",required:["Name","Labels"],members:{Name:{},ParameterVersion:{type:"long"},Labels:{shape:"Sld"}}},output:{type:"structure",members:{InvalidLabels:{shape:"Sld"},ParameterVersion:{type:"long"}}}},ListAssociationVersions:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AssociationVersions:{type:"list",member:{type:"structure",members:{AssociationId:{},AssociationVersion:{},CreatedDate:{type:"timestamp"},Name:{},DocumentVersion:{},Parameters:{shape:"S14"},Targets:{shape:"S18"},ScheduleExpression:{},OutputLocation:{shape:"S1e"},AssociationName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}}},NextToken:{}}}},ListAssociations:{input:{type:"structure",members:{AssociationFilterList:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Associations:{type:"list",member:{type:"structure",members:{Name:{},InstanceId:{},AssociationId:{},AssociationVersion:{},DocumentVersion:{},Targets:{shape:"S18"},LastExecutionDate:{type:"timestamp"},Overview:{shape:"S27"},ScheduleExpression:{},AssociationName:{}}}},NextToken:{}}}},ListCommandInvocations:{input:{type:"structure",members:{CommandId:{},InstanceId:{},MaxResults:{type:"integer"},NextToken:{},Filters:{shape:"Smb"},Details:{type:"boolean"}}},output:{type:"structure",members:{CommandInvocations:{type:"list",member:{type:"structure",members:{CommandId:{},InstanceId:{},InstanceName:{},Comment:{},DocumentName:{},DocumentVersion:{},RequestedDateTime:{type:"timestamp"},Status:{},StatusDetails:{},TraceOutput:{},StandardOutputUrl:{},StandardErrorUrl:{},CommandPlugins:{type:"list",member:{type:"structure",members:{Name:{},Status:{},StatusDetails:{},ResponseCode:{type:"integer"},ResponseStartDateTime:{type:"timestamp"},ResponseFinishDateTime:{type:"timestamp"},Output:{},StandardOutputUrl:{},StandardErrorUrl:{},OutputS3Region:{},OutputS3BucketName:{},OutputS3KeyPrefix:{}}}},ServiceRole:{},NotificationConfig:{shape:"Sjt"},CloudWatchOutputConfig:{shape:"Shr"}}}},NextToken:{}}}},ListCommands:{input:{type:"structure",members:{CommandId:{},InstanceId:{},MaxResults:{type:"integer"},NextToken:{},Filters:{shape:"Smb"}}},output:{type:"structure",members:{Commands:{type:"list",member:{shape:"Smr"}},NextToken:{}}}},ListComplianceItems:{input:{type:"structure",members:{Filters:{shape:"Smy"},ResourceIds:{type:"list",member:{}},ResourceTypes:{type:"list",member:{}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ComplianceItems:{type:"list",member:{type:"structure",members:{ComplianceType:{},ResourceType:{},ResourceId:{},Id:{},Title:{},Status:{},Severity:{},ExecutionSummary:{shape:"Sng"},Details:{shape:"Snj"}}}},NextToken:{}}}},ListComplianceSummaries:{input:{type:"structure",members:{Filters:{shape:"Smy"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ComplianceSummaryItems:{type:"list",member:{type:"structure",members:{ComplianceType:{},CompliantSummary:{shape:"Sno"},NonCompliantSummary:{shape:"Snr"}}}},NextToken:{}}}},ListDocumentMetadataHistory:{input:{type:"structure",required:["Name","Metadata"],members:{Name:{},DocumentVersion:{},Metadata:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Name:{},DocumentVersion:{},Author:{},Metadata:{type:"structure",members:{ReviewerResponse:{type:"list",member:{type:"structure",members:{CreateTime:{type:"timestamp"},UpdatedTime:{type:"timestamp"},ReviewStatus:{},Comment:{shape:"Sny"},Reviewer:{}}}}}},NextToken:{}}}},ListDocumentVersions:{input:{type:"structure",required:["Name"],members:{Name:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{DocumentVersions:{type:"list",member:{type:"structure",members:{Name:{},DisplayName:{},DocumentVersion:{},VersionName:{},CreatedDate:{type:"timestamp"},IsDefaultVersion:{type:"boolean"},DocumentFormat:{},Status:{},StatusInformation:{},ReviewStatus:{}}}},NextToken:{}}}},ListDocuments:{input:{type:"structure",members:{DocumentFilterList:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},Filters:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{DocumentIdentifiers:{type:"list",member:{type:"structure",members:{Name:{},CreatedDate:{type:"timestamp"},DisplayName:{},Owner:{},VersionName:{},PlatformTypes:{shape:"S3g"},DocumentVersion:{},DocumentType:{},SchemaVersion:{},DocumentFormat:{},TargetType:{},Tags:{shape:"S4"},Requires:{shape:"S2n"},ReviewStatus:{},Author:{}}}},NextToken:{}}}},ListInventoryEntries:{input:{type:"structure",required:["InstanceId","TypeName"],members:{InstanceId:{},TypeName:{},Filters:{shape:"Sid"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{TypeName:{},InstanceId:{},SchemaVersion:{},CaptureTime:{},Entries:{shape:"Sj0"},NextToken:{}}}},ListOpsItemEvents:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Key","Values","Operator"],members:{Key:{},Values:{type:"list",member:{}},Operator:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{NextToken:{},Summaries:{type:"list",member:{type:"structure",members:{OpsItemId:{},EventId:{},Source:{},DetailType:{},Detail:{},CreatedBy:{shape:"Sow"},CreatedTime:{type:"timestamp"}}}}}}},ListOpsItemRelatedItems:{input:{type:"structure",members:{OpsItemId:{},Filters:{type:"list",member:{type:"structure",required:["Key","Values","Operator"],members:{Key:{},Values:{type:"list",member:{}},Operator:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{NextToken:{},Summaries:{type:"list",member:{type:"structure",members:{OpsItemId:{},AssociationId:{},ResourceType:{},AssociationType:{},ResourceUri:{},CreatedBy:{shape:"Sow"},CreatedTime:{type:"timestamp"},LastModifiedBy:{shape:"Sow"},LastModifiedTime:{type:"timestamp"}}}}}}},ListOpsMetadata:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{OpsMetadataList:{type:"list",member:{type:"structure",members:{ResourceId:{},OpsMetadataArn:{},LastModifiedDate:{type:"timestamp"},LastModifiedUser:{},CreationDate:{type:"timestamp"}}}},NextToken:{}}}},ListResourceComplianceSummaries:{input:{type:"structure",members:{Filters:{shape:"Smy"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ResourceComplianceSummaryItems:{type:"list",member:{type:"structure",members:{ComplianceType:{},ResourceType:{},ResourceId:{},Status:{},OverallSeverity:{},ExecutionSummary:{shape:"Sng"},CompliantSummary:{shape:"Sno"},NonCompliantSummary:{shape:"Snr"}}}},NextToken:{}}}},ListResourceDataSync:{input:{type:"structure",members:{SyncType:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ResourceDataSyncItems:{type:"list",member:{type:"structure",members:{SyncName:{},SyncType:{},SyncSource:{type:"structure",members:{SourceType:{},AwsOrganizationsSource:{shape:"S60"},SourceRegions:{shape:"S65"},IncludeFutureRegions:{type:"boolean"},State:{},EnableAllOpsDataSources:{type:"boolean"}}},S3Destination:{shape:"S5p"},LastSyncTime:{type:"timestamp"},LastSuccessfulSyncTime:{type:"timestamp"},SyncLastModifiedTime:{type:"timestamp"},LastStatus:{},SyncCreatedTime:{type:"timestamp"},LastSyncStatusMessage:{}}}},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{},ResourceId:{}}},output:{type:"structure",members:{TagList:{shape:"S4"}}}},ModifyDocumentPermission:{input:{type:"structure",required:["Name","PermissionType"],members:{Name:{},PermissionType:{},AccountIdsToAdd:{shape:"Sax"},AccountIdsToRemove:{shape:"Sax"},SharedDocumentVersion:{}}},output:{type:"structure",members:{}}},PutComplianceItems:{input:{type:"structure",required:["ResourceId","ResourceType","ComplianceType","ExecutionSummary","Items"],members:{ResourceId:{},ResourceType:{},ComplianceType:{},ExecutionSummary:{shape:"Sng"},Items:{type:"list",member:{type:"structure",required:["Severity","Status"],members:{Id:{},Title:{},Severity:{},Status:{},Details:{shape:"Snj"}}}},ItemContentHash:{},UploadType:{}}},output:{type:"structure",members:{}}},PutInventory:{input:{type:"structure",required:["InstanceId","Items"],members:{InstanceId:{},Items:{type:"list",member:{type:"structure",required:["TypeName","SchemaVersion","CaptureTime"],members:{TypeName:{},SchemaVersion:{},CaptureTime:{},ContentHash:{},Content:{shape:"Sj0"},Context:{type:"map",key:{},value:{}}}}}}},output:{type:"structure",members:{Message:{}}}},PutParameter:{input:{type:"structure",required:["Name","Value"],members:{Name:{},Description:{},Value:{shape:"Sl7"},Type:{},KeyId:{},Overwrite:{type:"boolean"},AllowedPattern:{},Tags:{shape:"S4"},Tier:{},Policies:{},DataType:{}}},output:{type:"structure",members:{Version:{type:"long"},Tier:{}}}},RegisterDefaultPatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{}}},output:{type:"structure",members:{BaselineId:{}}}},RegisterPatchBaselineForPatchGroup:{input:{type:"structure",required:["BaselineId","PatchGroup"],members:{BaselineId:{},PatchGroup:{}}},output:{type:"structure",members:{BaselineId:{},PatchGroup:{}}}},RegisterTargetWithMaintenanceWindow:{input:{type:"structure",required:["WindowId","ResourceType","Targets"],members:{WindowId:{},ResourceType:{},Targets:{shape:"S18"},OwnerInformation:{shape:"Scf"},Name:{},Description:{shape:"S3t"},ClientToken:{idempotencyToken:!0}}},output:{type:"structure",members:{WindowTargetId:{}}}},RegisterTaskWithMaintenanceWindow:{input:{type:"structure",required:["WindowId","TaskArn","TaskType"],members:{WindowId:{},Targets:{shape:"S18"},TaskArn:{},ServiceRoleArn:{},TaskType:{},TaskParameters:{shape:"Sel"},TaskInvocationParameters:{shape:"Sjr"},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},LoggingInfo:{shape:"Ser"},Name:{},Description:{shape:"S3t"},ClientToken:{idempotencyToken:!0},CutoffBehavior:{}}},output:{type:"structure",members:{WindowTaskId:{}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceType","ResourceId","TagKeys"],members:{ResourceType:{},ResourceId:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},ResetServiceSetting:{input:{type:"structure",required:["SettingId"],members:{SettingId:{}}},output:{type:"structure",members:{ServiceSetting:{shape:"Slt"}}}},ResumeSession:{input:{type:"structure",required:["SessionId"],members:{SessionId:{}}},output:{type:"structure",members:{SessionId:{},TokenValue:{},StreamUrl:{}}}},SendAutomationSignal:{input:{type:"structure",required:["AutomationExecutionId","SignalType"],members:{AutomationExecutionId:{},SignalType:{},Payload:{shape:"S8w"}}},output:{type:"structure",members:{}}},SendCommand:{input:{type:"structure",required:["DocumentName"],members:{InstanceIds:{shape:"Si"},Targets:{shape:"S18"},DocumentName:{},DocumentVersion:{},DocumentHash:{},DocumentHashType:{},TimeoutSeconds:{type:"integer"},Comment:{},Parameters:{shape:"S14"},OutputS3Region:{},OutputS3BucketName:{},OutputS3KeyPrefix:{},MaxConcurrency:{},MaxErrors:{},ServiceRoleArn:{},NotificationConfig:{shape:"Sjt"},CloudWatchOutputConfig:{shape:"Shr"}}},output:{type:"structure",members:{Command:{shape:"Smr"}}}},StartAssociationsOnce:{input:{type:"structure",required:["AssociationIds"],members:{AssociationIds:{type:"list",member:{}}}},output:{type:"structure",members:{}}},StartAutomationExecution:{input:{type:"structure",required:["DocumentName"],members:{DocumentName:{},DocumentVersion:{},Parameters:{shape:"S8w"},ClientToken:{},Mode:{},TargetParameterName:{},Targets:{shape:"S18"},TargetMaps:{shape:"S91"},MaxConcurrency:{},MaxErrors:{},TargetLocations:{shape:"S1s"},Tags:{shape:"S4"}}},output:{type:"structure",members:{AutomationExecutionId:{}}}},StartChangeRequestExecution:{input:{type:"structure",required:["DocumentName","Runbooks"],members:{ScheduledTime:{type:"timestamp"},DocumentName:{},DocumentVersion:{},Parameters:{shape:"S8w"},ChangeRequestName:{},ClientToken:{},AutoApprove:{type:"boolean"},Runbooks:{shape:"S9a"},Tags:{shape:"S4"},ScheduledEndTime:{type:"timestamp"},ChangeDetails:{}}},output:{type:"structure",members:{AutomationExecutionId:{}}}},StartSession:{input:{type:"structure",required:["Target"],members:{Target:{},DocumentName:{},Reason:{},Parameters:{type:"map",key:{},value:{type:"list",member:{}}}}},output:{type:"structure",members:{SessionId:{},TokenValue:{},StreamUrl:{}}}},StopAutomationExecution:{input:{type:"structure",required:["AutomationExecutionId"],members:{AutomationExecutionId:{},Type:{}}},output:{type:"structure",members:{}}},TerminateSession:{input:{type:"structure",required:["SessionId"],members:{SessionId:{}}},output:{type:"structure",members:{SessionId:{}}}},UnlabelParameterVersion:{input:{type:"structure",required:["Name","ParameterVersion","Labels"],members:{Name:{},ParameterVersion:{type:"long"},Labels:{shape:"Sld"}}},output:{type:"structure",members:{RemovedLabels:{shape:"Sld"},InvalidLabels:{shape:"Sld"}}}},UpdateAssociation:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{},Parameters:{shape:"S14"},DocumentVersion:{},ScheduleExpression:{},OutputLocation:{shape:"S1e"},Name:{},Targets:{shape:"S18"},AssociationName:{},AssociationVersion:{},AutomationTargetParameterName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}},output:{type:"structure",members:{AssociationDescription:{shape:"S20"}}}},UpdateAssociationStatus:{input:{type:"structure",required:["Name","InstanceId","AssociationStatus"],members:{Name:{},InstanceId:{},AssociationStatus:{shape:"S23"}}},output:{type:"structure",members:{AssociationDescription:{shape:"S20"}}}},UpdateDocument:{input:{type:"structure",required:["Content","Name"],members:{Content:{},Attachments:{shape:"S2p"},Name:{},DisplayName:{},VersionName:{},DocumentVersion:{},DocumentFormat:{},TargetType:{}}},output:{type:"structure",members:{DocumentDescription:{shape:"S32"}}}},UpdateDocumentDefaultVersion:{input:{type:"structure",required:["Name","DocumentVersion"],members:{Name:{},DocumentVersion:{}}},output:{type:"structure",members:{Description:{type:"structure",members:{Name:{},DefaultVersion:{},DefaultVersionName:{}}}}}},UpdateDocumentMetadata:{input:{type:"structure",required:["Name","DocumentReviews"],members:{Name:{},DocumentVersion:{},DocumentReviews:{type:"structure",required:["Action"],members:{Action:{},Comment:{shape:"Sny"}}}}},output:{type:"structure",members:{}}},UpdateMaintenanceWindow:{input:{type:"structure",required:["WindowId"],members:{WindowId:{},Name:{},Description:{shape:"S3t"},StartDate:{},EndDate:{},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},Duration:{type:"integer"},Cutoff:{type:"integer"},AllowUnassociatedTargets:{type:"boolean"},Enabled:{type:"boolean"},Replace:{type:"boolean"}}},output:{type:"structure",members:{WindowId:{},Name:{},Description:{shape:"S3t"},StartDate:{},EndDate:{},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},Duration:{type:"integer"},Cutoff:{type:"integer"},AllowUnassociatedTargets:{type:"boolean"},Enabled:{type:"boolean"}}}},UpdateMaintenanceWindowTarget:{input:{type:"structure",required:["WindowId","WindowTargetId"],members:{WindowId:{},WindowTargetId:{},Targets:{shape:"S18"},OwnerInformation:{shape:"Scf"},Name:{},Description:{shape:"S3t"},Replace:{type:"boolean"}}},output:{type:"structure",members:{WindowId:{},WindowTargetId:{},Targets:{shape:"S18"},OwnerInformation:{shape:"Scf"},Name:{},Description:{shape:"S3t"}}}},UpdateMaintenanceWindowTask:{input:{type:"structure",required:["WindowId","WindowTaskId"],members:{WindowId:{},WindowTaskId:{},Targets:{shape:"S18"},TaskArn:{},ServiceRoleArn:{},TaskParameters:{shape:"Sel"},TaskInvocationParameters:{shape:"Sjr"},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},LoggingInfo:{shape:"Ser"},Name:{},Description:{shape:"S3t"},Replace:{type:"boolean"},CutoffBehavior:{}}},output:{type:"structure",members:{WindowId:{},WindowTaskId:{},Targets:{shape:"S18"},TaskArn:{},ServiceRoleArn:{},TaskParameters:{shape:"Sel"},TaskInvocationParameters:{shape:"Sjr"},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},LoggingInfo:{shape:"Ser"},Name:{},Description:{shape:"S3t"},CutoffBehavior:{}}}},UpdateManagedInstanceRole:{input:{type:"structure",required:["InstanceId","IamRole"],members:{InstanceId:{},IamRole:{}}},output:{type:"structure",members:{}}},UpdateOpsItem:{input:{type:"structure",required:["OpsItemId"],members:{ -Description:{},OperationalData:{shape:"S47"},OperationalDataToDelete:{type:"list",member:{}},Notifications:{shape:"S4c"},Priority:{type:"integer"},RelatedOpsItems:{shape:"S4g"},Status:{},OpsItemId:{},Title:{},Category:{},Severity:{},ActualStartTime:{type:"timestamp"},ActualEndTime:{type:"timestamp"},PlannedStartTime:{type:"timestamp"},PlannedEndTime:{type:"timestamp"}}},output:{type:"structure",members:{}}},UpdateOpsMetadata:{input:{type:"structure",required:["OpsMetadataArn"],members:{OpsMetadataArn:{},MetadataToUpdate:{shape:"S4p"},KeysToDelete:{type:"list",member:{}}}},output:{type:"structure",members:{OpsMetadataArn:{}}}},UpdatePatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{},Name:{},GlobalFilters:{shape:"S4y"},ApprovalRules:{shape:"S54"},ApprovedPatches:{shape:"S5b"},ApprovedPatchesComplianceLevel:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},RejectedPatches:{shape:"S5b"},RejectedPatchesAction:{},Description:{},Sources:{shape:"S5f"},Replace:{type:"boolean"}}},output:{type:"structure",members:{BaselineId:{},Name:{},OperatingSystem:{},GlobalFilters:{shape:"S4y"},ApprovalRules:{shape:"S54"},ApprovedPatches:{shape:"S5b"},ApprovedPatchesComplianceLevel:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},RejectedPatches:{shape:"S5b"},RejectedPatchesAction:{},CreatedDate:{type:"timestamp"},ModifiedDate:{type:"timestamp"},Description:{},Sources:{shape:"S5f"}}}},UpdateResourceDataSync:{input:{type:"structure",required:["SyncName","SyncType","SyncSource"],members:{SyncName:{},SyncType:{},SyncSource:{shape:"S5y"}}},output:{type:"structure",members:{}}},UpdateServiceSetting:{input:{type:"structure",required:["SettingId","SettingValue"],members:{SettingId:{},SettingValue:{}}},output:{type:"structure",members:{}}}},shapes:{S4:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Si:{type:"list",member:{}},S14:{type:"map",key:{},value:{type:"list",member:{}},sensitive:!0},S18:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},S1e:{type:"structure",members:{S3Location:{type:"structure",members:{OutputS3Region:{},OutputS3BucketName:{},OutputS3KeyPrefix:{}}}}},S1q:{type:"list",member:{}},S1s:{type:"list",member:{shape:"S1t"}},S1t:{type:"structure",members:{Accounts:{type:"list",member:{}},Regions:{type:"list",member:{}},TargetLocationMaxConcurrency:{},TargetLocationMaxErrors:{},ExecutionRoleName:{}}},S20:{type:"structure",members:{Name:{},InstanceId:{},AssociationVersion:{},Date:{type:"timestamp"},LastUpdateAssociationDate:{type:"timestamp"},Status:{shape:"S23"},Overview:{shape:"S27"},DocumentVersion:{},AutomationTargetParameterName:{},Parameters:{shape:"S14"},AssociationId:{},Targets:{shape:"S18"},ScheduleExpression:{},OutputLocation:{shape:"S1e"},LastExecutionDate:{type:"timestamp"},LastSuccessfulExecutionDate:{type:"timestamp"},AssociationName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}},S23:{type:"structure",required:["Date","Name","Message"],members:{Date:{type:"timestamp"},Name:{},Message:{},AdditionalInfo:{}}},S27:{type:"structure",members:{Status:{},DetailedStatus:{},AssociationStatusAggregatedCount:{type:"map",key:{},value:{type:"integer"}}}},S2e:{type:"structure",required:["Name"],members:{Name:{},InstanceId:{},Parameters:{shape:"S14"},AutomationTargetParameterName:{},DocumentVersion:{},Targets:{shape:"S18"},ScheduleExpression:{},OutputLocation:{shape:"S1e"},AssociationName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}},S2n:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Version:{}}}},S2p:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}},Name:{}}}},S32:{type:"structure",members:{Sha1:{},Hash:{},HashType:{},Name:{},DisplayName:{},VersionName:{},Owner:{},CreatedDate:{type:"timestamp"},Status:{},StatusInformation:{},DocumentVersion:{},Description:{},Parameters:{type:"list",member:{type:"structure",members:{Name:{},Type:{},Description:{},DefaultValue:{}}}},PlatformTypes:{shape:"S3g"},DocumentType:{},SchemaVersion:{},LatestVersion:{},DefaultVersion:{},DocumentFormat:{},TargetType:{},Tags:{shape:"S4"},AttachmentsInformation:{type:"list",member:{type:"structure",members:{Name:{}}}},Requires:{shape:"S2n"},Author:{},ReviewInformation:{type:"list",member:{type:"structure",members:{ReviewedTime:{type:"timestamp"},Status:{},Reviewer:{}}}},ApprovedVersion:{},PendingReviewVersion:{},ReviewStatus:{}}},S3g:{type:"list",member:{}},S3t:{type:"string",sensitive:!0},S47:{type:"map",key:{},value:{type:"structure",members:{Value:{},Type:{}}}},S4c:{type:"list",member:{type:"structure",members:{Arn:{}}}},S4g:{type:"list",member:{type:"structure",required:["OpsItemId"],members:{OpsItemId:{}}}},S4p:{type:"map",key:{},value:{type:"structure",members:{Value:{}}}},S4y:{type:"structure",required:["PatchFilters"],members:{PatchFilters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}}}},S54:{type:"structure",required:["PatchRules"],members:{PatchRules:{type:"list",member:{type:"structure",required:["PatchFilterGroup"],members:{PatchFilterGroup:{shape:"S4y"},ComplianceLevel:{},ApproveAfterDays:{type:"integer"},ApproveUntilDate:{},EnableNonSecurity:{type:"boolean"}}}}}},S5b:{type:"list",member:{}},S5f:{type:"list",member:{type:"structure",required:["Name","Products","Configuration"],members:{Name:{},Products:{type:"list",member:{}},Configuration:{type:"string",sensitive:!0}}}},S5p:{type:"structure",required:["BucketName","SyncFormat","Region"],members:{BucketName:{},Prefix:{},SyncFormat:{},Region:{},AWSKMSKeyARN:{},DestinationDataSharing:{type:"structure",members:{DestinationDataSharingType:{}}}}},S5y:{type:"structure",required:["SourceType","SourceRegions"],members:{SourceType:{},AwsOrganizationsSource:{shape:"S60"},SourceRegions:{shape:"S65"},IncludeFutureRegions:{type:"boolean"},EnableAllOpsDataSources:{type:"boolean"}}},S60:{type:"structure",required:["OrganizationSourceType"],members:{OrganizationSourceType:{},OrganizationalUnits:{type:"list",member:{type:"structure",members:{OrganizationalUnitId:{}}}}}},S65:{type:"list",member:{}},S6m:{type:"structure",members:{TotalCount:{type:"integer"},RemainingCount:{type:"integer"},SummaryItems:{type:"list",member:{type:"structure",members:{Version:{},Count:{type:"integer"},RemainingCount:{type:"integer"}}}}}},S71:{type:"list",member:{}},S8w:{type:"map",key:{},value:{type:"list",member:{}}},S91:{type:"list",member:{type:"map",key:{},value:{type:"list",member:{}}}},S96:{type:"structure",members:{ParameterValues:{type:"list",member:{}},Truncated:{type:"boolean"}}},S9a:{type:"list",member:{type:"structure",required:["DocumentName"],members:{DocumentName:{},DocumentVersion:{},Parameters:{shape:"S8w"},TargetParameterName:{},Targets:{shape:"S18"},MaxConcurrency:{},MaxErrors:{},TargetLocations:{shape:"S1s"}}}},S9k:{type:"list",member:{type:"structure",members:{StepName:{},Action:{},TimeoutSeconds:{type:"long"},OnFailure:{},MaxAttempts:{type:"integer"},ExecutionStartTime:{type:"timestamp"},ExecutionEndTime:{type:"timestamp"},StepStatus:{},ResponseCode:{},Inputs:{type:"map",key:{},value:{}},Outputs:{shape:"S8w"},Response:{},FailureMessage:{},FailureDetails:{type:"structure",members:{FailureStage:{},FailureType:{},Details:{shape:"S8w"}}},StepExecutionId:{},OverriddenParameters:{shape:"S8w"},IsEnd:{type:"boolean"},NextStep:{},IsCritical:{type:"boolean"},ValidNextSteps:{type:"list",member:{}},Targets:{shape:"S18"},TargetLocation:{shape:"S1t"}}}},S9u:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},Sa2:{type:"structure",members:{Id:{},ReleaseDate:{type:"timestamp"},Title:{},Description:{},ContentUrl:{},Vendor:{},ProductFamily:{},Product:{},Classification:{},MsrcSeverity:{},KbNumber:{},MsrcNumber:{},Language:{},AdvisoryIds:{type:"list",member:{}},BugzillaIds:{type:"list",member:{}},CVEIds:{type:"list",member:{}},Name:{},Epoch:{type:"integer"},Version:{},Release:{},Arch:{},Severity:{},Repository:{}}},Sax:{type:"list",member:{}},Sbq:{type:"list",member:{}},Scc:{type:"structure",required:["InstanceId","PatchGroup","BaselineId","OperationStartTime","OperationEndTime","Operation"],members:{InstanceId:{},PatchGroup:{},BaselineId:{},SnapshotId:{},InstallOverrideList:{},OwnerInformation:{shape:"Scf"},InstalledCount:{type:"integer"},InstalledOtherCount:{type:"integer"},InstalledPendingRebootCount:{type:"integer"},InstalledRejectedCount:{type:"integer"},MissingCount:{type:"integer"},FailedCount:{type:"integer"},UnreportedNotApplicableCount:{type:"integer"},NotApplicableCount:{type:"integer"},OperationStartTime:{type:"timestamp"},OperationEndTime:{type:"timestamp"},Operation:{},LastNoRebootInstallOperationTime:{type:"timestamp"},RebootOption:{},CriticalNonCompliantCount:{type:"integer"},SecurityNonCompliantCount:{type:"integer"},OtherNonCompliantCount:{type:"integer"}}},Scf:{type:"string",sensitive:!0},Sdi:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},Sdu:{type:"string",sensitive:!0},Sel:{type:"map",key:{},value:{type:"structure",members:{Values:{type:"list",member:{type:"string",sensitive:!0},sensitive:!0}},sensitive:!0},sensitive:!0},Ser:{type:"structure",required:["S3BucketName","S3Region"],members:{S3BucketName:{},S3KeyPrefix:{},S3Region:{}}},Sfl:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Option:{},Values:{type:"list",member:{}}}}},Sg0:{type:"list",member:{type:"structure",members:{PolicyText:{},PolicyType:{},PolicyStatus:{}}}},Sg6:{type:"structure",members:{BaselineId:{},BaselineName:{},OperatingSystem:{},BaselineDescription:{},DefaultBaseline:{type:"boolean"}}},Shr:{type:"structure",members:{CloudWatchLogGroupName:{},CloudWatchOutputEnabled:{type:"boolean"}}},Sid:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}},Type:{}}}},Sij:{type:"list",member:{type:"structure",members:{Expression:{},Aggregators:{shape:"Sij"},Groups:{type:"list",member:{type:"structure",required:["Name","Filters"],members:{Name:{},Filters:{shape:"Sid"}}}}}}},Sj0:{type:"list",member:{type:"map",key:{},value:{}}},Sjr:{type:"structure",members:{RunCommand:{type:"structure",members:{Comment:{},CloudWatchOutputConfig:{shape:"Shr"},DocumentHash:{},DocumentHashType:{},DocumentVersion:{},NotificationConfig:{shape:"Sjt"},OutputS3BucketName:{},OutputS3KeyPrefix:{},Parameters:{shape:"S14"},ServiceRoleArn:{},TimeoutSeconds:{type:"integer"}}},Automation:{type:"structure",members:{DocumentVersion:{},Parameters:{shape:"S8w"}}},StepFunctions:{type:"structure",members:{Input:{type:"string",sensitive:!0},Name:{}}},Lambda:{type:"structure",members:{ClientContext:{},Qualifier:{},Payload:{type:"blob",sensitive:!0}}}}},Sjt:{type:"structure",members:{NotificationArn:{},NotificationEvents:{type:"list",member:{}},NotificationType:{}}},Ske:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}},Type:{}}}},Skk:{type:"list",member:{type:"structure",members:{AggregatorType:{},TypeName:{},AttributeName:{},Values:{type:"map",key:{},value:{}},Filters:{shape:"Ske"},Aggregators:{shape:"Skk"}}}},Sl6:{type:"structure",members:{Name:{},Type:{},Value:{shape:"Sl7"},Version:{type:"long"},Selector:{},SourceResult:{},LastModifiedDate:{type:"timestamp"},ARN:{},DataType:{}}},Sl7:{type:"string",sensitive:!0},Sld:{type:"list",member:{}},Slh:{type:"list",member:{shape:"Sl6"}},Slt:{type:"structure",members:{SettingId:{},SettingValue:{},LastModifiedDate:{type:"timestamp"},LastModifiedUser:{},ARN:{},Status:{}}},Smb:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},Smr:{type:"structure",members:{CommandId:{},DocumentName:{},DocumentVersion:{},Comment:{},ExpiresAfter:{type:"timestamp"},Parameters:{shape:"S14"},InstanceIds:{shape:"Si"},Targets:{shape:"S18"},RequestedDateTime:{type:"timestamp"},Status:{},StatusDetails:{},OutputS3Region:{},OutputS3BucketName:{},OutputS3KeyPrefix:{},MaxConcurrency:{},MaxErrors:{},TargetCount:{type:"integer"},CompletedCount:{type:"integer"},ErrorCount:{type:"integer"},DeliveryTimedOutCount:{type:"integer"},ServiceRole:{},NotificationConfig:{shape:"Sjt"},CloudWatchOutputConfig:{shape:"Shr"},TimeoutSeconds:{type:"integer"}}},Smy:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}},Type:{}}}},Sng:{type:"structure",required:["ExecutionTime"],members:{ExecutionTime:{type:"timestamp"},ExecutionId:{},ExecutionType:{}}},Snj:{type:"map",key:{},value:{}},Sno:{type:"structure",members:{CompliantCount:{type:"integer"},SeveritySummary:{shape:"Snq"}}},Snq:{type:"structure",members:{CriticalCount:{type:"integer"},HighCount:{type:"integer"},MediumCount:{type:"integer"},LowCount:{type:"integer"},InformationalCount:{type:"integer"},UnspecifiedCount:{type:"integer"}}},Snr:{type:"structure",members:{NonCompliantCount:{type:"integer"},SeveritySummary:{shape:"Snq"}}},Sny:{type:"list",member:{type:"structure",members:{Type:{},Content:{}}}},Sow:{type:"structure",members:{Arn:{}}}}}},{}],224:[function(e,t,r){t.exports={pagination:{DescribeActivations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ActivationList"},DescribeAssociationExecutionTargets:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"AssociationExecutionTargets"},DescribeAssociationExecutions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"AssociationExecutions"},DescribeAutomationExecutions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"AutomationExecutionMetadataList"},DescribeAutomationStepExecutions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"StepExecutions"},DescribeAvailablePatches:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Patches"},DescribeEffectiveInstanceAssociations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Associations"},DescribeEffectivePatchesForPatchBaseline:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"EffectivePatches"},DescribeInstanceAssociationsStatus:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstanceAssociationStatusInfos"},DescribeInstanceInformation:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstanceInformationList"},DescribeInstancePatchStates:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstancePatchStates"},DescribeInstancePatchStatesForPatchGroup:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstancePatchStates"},DescribeInstancePatches:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Patches"},DescribeInventoryDeletions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InventoryDeletions"},DescribeMaintenanceWindowExecutionTaskInvocations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowExecutionTaskInvocationIdentities"},DescribeMaintenanceWindowExecutionTasks:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowExecutionTaskIdentities"},DescribeMaintenanceWindowExecutions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowExecutions"},DescribeMaintenanceWindowSchedule:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ScheduledWindowExecutions"},DescribeMaintenanceWindowTargets:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Targets"},DescribeMaintenanceWindowTasks:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Tasks"},DescribeMaintenanceWindows:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowIdentities"},DescribeMaintenanceWindowsForTarget:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowIdentities"},DescribeOpsItems:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"OpsItemSummaries"},DescribeParameters:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},DescribePatchBaselines:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"BaselineIdentities"},DescribePatchGroups:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Mappings"},DescribePatchProperties:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Properties"},DescribeSessions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Sessions"},GetInventory:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Entities"},GetInventorySchema:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Schemas"},GetOpsSummary:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Entities"},GetParameterHistory:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetParametersByPath:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListAssociationVersions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"AssociationVersions"},ListAssociations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Associations"},ListCommandInvocations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"CommandInvocations"},ListCommands:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Commands"},ListComplianceItems:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ComplianceItems"},ListComplianceSummaries:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ComplianceSummaryItems"},ListDocumentVersions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DocumentVersions"},ListDocuments:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DocumentIdentifiers"},ListOpsItemEvents:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Summaries"},ListOpsItemRelatedItems:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Summaries"},ListOpsMetadata:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"OpsMetadataList"},ListResourceComplianceSummaries:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ResourceComplianceSummaryItems"},ListResourceDataSync:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ResourceDataSyncItems"}}}},{}],225:[function(e,t,r){t.exports={version:2,waiters:{CommandExecuted:{delay:5,operation:"GetCommandInvocation",maxAttempts:20,acceptors:[{expected:"Pending",matcher:"path",state:"retry",argument:"Status"},{expected:"InProgress",matcher:"path",state:"retry",argument:"Status"},{expected:"Delayed",matcher:"path",state:"retry",argument:"Status"},{expected:"Success",matcher:"path",state:"success",argument:"Status"},{expected:"Cancelled",matcher:"path",state:"failure",argument:"Status"},{expected:"TimedOut",matcher:"path",state:"failure",argument:"Status"},{expected:"Failed",matcher:"path",state:"failure",argument:"Status"},{expected:"Cancelling",matcher:"path",state:"failure",argument:"Status"},{state:"retry",matcher:"error",expected:"InvocationDoesNotExist"}]}}}},{}],226:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-06-30",endpointPrefix:"storagegateway",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Storage Gateway",serviceId:"Storage Gateway",signatureVersion:"v4",targetPrefix:"StorageGateway_20130630",uid:"storagegateway-2013-06-30"},operations:{ActivateGateway:{input:{type:"structure",required:["ActivationKey","GatewayName","GatewayTimezone","GatewayRegion"],members:{ActivationKey:{},GatewayName:{},GatewayTimezone:{},GatewayRegion:{},GatewayType:{},TapeDriveType:{},MediumChangerType:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{GatewayARN:{}}}},AddCache:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sg"}}},output:{type:"structure",members:{GatewayARN:{}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{ResourceARN:{}}}},AddUploadBuffer:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sg"}}},output:{type:"structure",members:{GatewayARN:{}}}},AddWorkingStorage:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sg"}}},output:{type:"structure",members:{GatewayARN:{}}}},AssignTapePool:{input:{type:"structure",required:["TapeARN","PoolId"],members:{TapeARN:{},PoolId:{},BypassGovernanceRetention:{type:"boolean"}}},output:{type:"structure",members:{TapeARN:{}}}},AssociateFileSystem:{input:{type:"structure",required:["UserName","Password","ClientToken","GatewayARN","LocationARN"],members:{UserName:{},Password:{shape:"Sx"},ClientToken:{},GatewayARN:{},LocationARN:{},Tags:{shape:"S9"},AuditDestinationARN:{},CacheAttributes:{shape:"S11"},EndpointNetworkConfiguration:{shape:"S13"}}},output:{type:"structure",members:{FileSystemAssociationARN:{}}}},AttachVolume:{input:{type:"structure",required:["GatewayARN","VolumeARN","NetworkInterfaceId"],members:{GatewayARN:{},TargetName:{},VolumeARN:{},NetworkInterfaceId:{},DiskId:{}}},output:{type:"structure",members:{VolumeARN:{},TargetARN:{}}}},CancelArchival:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},CancelRetrieval:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},CreateCachediSCSIVolume:{input:{type:"structure",required:["GatewayARN","VolumeSizeInBytes","TargetName","NetworkInterfaceId","ClientToken"],members:{GatewayARN:{},VolumeSizeInBytes:{type:"long"},SnapshotId:{},TargetName:{},SourceVolumeARN:{},NetworkInterfaceId:{},ClientToken:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{VolumeARN:{},TargetARN:{}}}},CreateNFSFileShare:{input:{type:"structure",required:["ClientToken","GatewayARN","Role","LocationARN"],members:{ClientToken:{},NFSFileShareDefaults:{shape:"S1p"},GatewayARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Role:{},LocationARN:{},DefaultStorageClass:{},ObjectACL:{},ClientList:{shape:"S1w"},Squash:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},Tags:{shape:"S9"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},VPCEndpointDNSName:{},BucketRegion:{},AuditDestinationARN:{}}},output:{type:"structure",members:{FileShareARN:{}}}},CreateSMBFileShare:{input:{type:"structure",required:["ClientToken","GatewayARN","Role","LocationARN"],members:{ClientToken:{},GatewayARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Role:{},LocationARN:{},DefaultStorageClass:{},ObjectACL:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},SMBACLEnabled:{type:"boolean"},AccessBasedEnumeration:{type:"boolean"},AdminUserList:{shape:"S25"},ValidUserList:{shape:"S25"},InvalidUserList:{shape:"S25"},AuditDestinationARN:{},Authentication:{},CaseSensitivity:{},Tags:{shape:"S9"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},VPCEndpointDNSName:{},BucketRegion:{},OplocksEnabled:{type:"boolean"}}},output:{type:"structure",members:{FileShareARN:{}}}},CreateSnapshot:{input:{type:"structure",required:["VolumeARN","SnapshotDescription"],members:{VolumeARN:{},SnapshotDescription:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{VolumeARN:{},SnapshotId:{}}}},CreateSnapshotFromVolumeRecoveryPoint:{input:{type:"structure",required:["VolumeARN","SnapshotDescription"],members:{VolumeARN:{},SnapshotDescription:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{SnapshotId:{},VolumeARN:{},VolumeRecoveryPointTime:{}}}},CreateStorediSCSIVolume:{input:{type:"structure",required:["GatewayARN","DiskId","PreserveExistingData","TargetName","NetworkInterfaceId"],members:{GatewayARN:{},DiskId:{},SnapshotId:{},PreserveExistingData:{type:"boolean"},TargetName:{},NetworkInterfaceId:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{VolumeARN:{},VolumeSizeInBytes:{type:"long"},TargetARN:{}}}},CreateTapePool:{input:{type:"structure",required:["PoolName","StorageClass"],members:{PoolName:{},StorageClass:{},RetentionLockType:{},RetentionLockTimeInDays:{type:"integer"},Tags:{shape:"S9"}}},output:{type:"structure",members:{PoolARN:{}}}},CreateTapeWithBarcode:{input:{type:"structure",required:["GatewayARN","TapeSizeInBytes","TapeBarcode"],members:{GatewayARN:{},TapeSizeInBytes:{type:"long"},TapeBarcode:{},KMSEncrypted:{type:"boolean"},KMSKey:{},PoolId:{},Worm:{type:"boolean"},Tags:{shape:"S9"}}},output:{type:"structure",members:{TapeARN:{}}}},CreateTapes:{input:{type:"structure",required:["GatewayARN","TapeSizeInBytes","ClientToken","NumTapesToCreate","TapeBarcodePrefix"],members:{GatewayARN:{},TapeSizeInBytes:{type:"long"},ClientToken:{},NumTapesToCreate:{type:"integer"},TapeBarcodePrefix:{},KMSEncrypted:{type:"boolean"},KMSKey:{},PoolId:{},Worm:{type:"boolean"},Tags:{shape:"S9"}}},output:{type:"structure",members:{TapeARNs:{shape:"S2x"}}}},DeleteAutomaticTapeCreationPolicy:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DeleteBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN","BandwidthType"],members:{GatewayARN:{},BandwidthType:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DeleteChapCredentials:{input:{type:"structure",required:["TargetARN","InitiatorName"],members:{TargetARN:{},InitiatorName:{}}},output:{type:"structure",members:{TargetARN:{},InitiatorName:{}}}},DeleteFileShare:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{},ForceDelete:{type:"boolean"}}},output:{type:"structure",members:{FileShareARN:{}}}},DeleteGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DeleteSnapshotSchedule:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{}}}},DeleteTape:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{},BypassGovernanceRetention:{type:"boolean"}}},output:{type:"structure",members:{TapeARN:{}}}},DeleteTapeArchive:{input:{type:"structure",required:["TapeARN"],members:{TapeARN:{},BypassGovernanceRetention:{type:"boolean"}}},output:{type:"structure",members:{TapeARN:{}}}},DeleteTapePool:{input:{type:"structure",required:["PoolARN"],members:{PoolARN:{}}},output:{type:"structure",members:{PoolARN:{}}}},DeleteVolume:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{}}}},DescribeAvailabilityMonitorTest:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},Status:{},StartTime:{type:"timestamp"}}}},DescribeBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}}},DescribeBandwidthRateLimitSchedule:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},BandwidthRateLimitIntervals:{shape:"S3u"}}}},DescribeCache:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sg"},CacheAllocatedInBytes:{type:"long"},CacheUsedPercentage:{type:"double"},CacheDirtyPercentage:{type:"double"},CacheHitPercentage:{type:"double"},CacheMissPercentage:{type:"double"}}}},DescribeCachediSCSIVolumes:{input:{type:"structure",required:["VolumeARNs"],members:{VolumeARNs:{shape:"S44"}}},output:{type:"structure",members:{CachediSCSIVolumes:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},VolumeType:{},VolumeStatus:{},VolumeAttachmentStatus:{},VolumeSizeInBytes:{type:"long"},VolumeProgress:{type:"double"},SourceSnapshotId:{},VolumeiSCSIAttributes:{shape:"S4d"},CreatedDate:{type:"timestamp"},VolumeUsedInBytes:{type:"long"},KMSKey:{},TargetName:{}}}}}}},DescribeChapCredentials:{input:{type:"structure",required:["TargetARN"],members:{TargetARN:{}}},output:{type:"structure",members:{ChapCredentials:{type:"list",member:{type:"structure",members:{TargetARN:{},SecretToAuthenticateInitiator:{shape:"S4m"},InitiatorName:{},SecretToAuthenticateTarget:{shape:"S4m"}}}}}}},DescribeFileSystemAssociations:{input:{type:"structure",required:["FileSystemAssociationARNList"],members:{FileSystemAssociationARNList:{type:"list",member:{}}}},output:{type:"structure",members:{FileSystemAssociationInfoList:{type:"list",member:{type:"structure",members:{FileSystemAssociationARN:{},LocationARN:{},FileSystemAssociationStatus:{},AuditDestinationARN:{},GatewayARN:{},Tags:{shape:"S9"},CacheAttributes:{shape:"S11"},EndpointNetworkConfiguration:{shape:"S13"},FileSystemAssociationStatusDetails:{type:"list",member:{type:"structure",members:{ErrorCode:{}}}}}}}}}},DescribeGatewayInformation:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},GatewayId:{},GatewayName:{},GatewayTimezone:{},GatewayState:{},GatewayNetworkInterfaces:{type:"list",member:{type:"structure",members:{Ipv4Address:{},MacAddress:{},Ipv6Address:{}}}},GatewayType:{},NextUpdateAvailabilityDate:{},LastSoftwareUpdate:{},Ec2InstanceId:{},Ec2InstanceRegion:{},Tags:{shape:"S9"},VPCEndpoint:{},CloudWatchLogGroupARN:{},HostEnvironment:{},EndpointType:{},SoftwareUpdatesEndDate:{},DeprecationDate:{},GatewayCapacity:{},SupportedGatewayCapacities:{type:"list",member:{}},HostEnvironmentId:{}}}},DescribeMaintenanceStartTime:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},HourOfDay:{type:"integer"},MinuteOfHour:{type:"integer"},DayOfWeek:{type:"integer"},DayOfMonth:{type:"integer"},Timezone:{}}}},DescribeNFSFileShares:{input:{type:"structure",required:["FileShareARNList"],members:{FileShareARNList:{shape:"S5i"}}},output:{type:"structure",members:{NFSFileShareInfoList:{type:"list",member:{type:"structure",members:{NFSFileShareDefaults:{shape:"S1p"},FileShareARN:{},FileShareId:{},FileShareStatus:{},GatewayARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Path:{},Role:{},LocationARN:{},DefaultStorageClass:{},ObjectACL:{},ClientList:{shape:"S1w"},Squash:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},Tags:{shape:"S9"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},VPCEndpointDNSName:{},BucketRegion:{},AuditDestinationARN:{}}}}}}},DescribeSMBFileShares:{input:{type:"structure",required:["FileShareARNList"],members:{FileShareARNList:{shape:"S5i"}}},output:{type:"structure",members:{ -SMBFileShareInfoList:{type:"list",member:{type:"structure",members:{FileShareARN:{},FileShareId:{},FileShareStatus:{},GatewayARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Path:{},Role:{},LocationARN:{},DefaultStorageClass:{},ObjectACL:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},SMBACLEnabled:{type:"boolean"},AccessBasedEnumeration:{type:"boolean"},AdminUserList:{shape:"S25"},ValidUserList:{shape:"S25"},InvalidUserList:{shape:"S25"},AuditDestinationARN:{},Authentication:{},CaseSensitivity:{},Tags:{shape:"S9"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},VPCEndpointDNSName:{},BucketRegion:{},OplocksEnabled:{type:"boolean"}}}}}}},DescribeSMBSettings:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DomainName:{},ActiveDirectoryStatus:{},SMBGuestPasswordSet:{type:"boolean"},SMBSecurityStrategy:{},FileSharesVisible:{type:"boolean"},SMBLocalGroups:{shape:"S5y"}}}},DescribeSnapshotSchedule:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{},StartAt:{type:"integer"},RecurrenceInHours:{type:"integer"},Description:{},Timezone:{},Tags:{shape:"S9"}}}},DescribeStorediSCSIVolumes:{input:{type:"structure",required:["VolumeARNs"],members:{VolumeARNs:{shape:"S44"}}},output:{type:"structure",members:{StorediSCSIVolumes:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},VolumeType:{},VolumeStatus:{},VolumeAttachmentStatus:{},VolumeSizeInBytes:{type:"long"},VolumeProgress:{type:"double"},VolumeDiskId:{},SourceSnapshotId:{},PreservedExistingData:{type:"boolean"},VolumeiSCSIAttributes:{shape:"S4d"},CreatedDate:{type:"timestamp"},VolumeUsedInBytes:{type:"long"},KMSKey:{},TargetName:{}}}}}}},DescribeTapeArchives:{input:{type:"structure",members:{TapeARNs:{shape:"S2x"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{TapeArchives:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeCreatedDate:{type:"timestamp"},TapeSizeInBytes:{type:"long"},CompletionTime:{type:"timestamp"},RetrievedTo:{},TapeStatus:{},TapeUsedInBytes:{type:"long"},KMSKey:{},PoolId:{},Worm:{type:"boolean"},RetentionStartDate:{type:"timestamp"},PoolEntryDate:{type:"timestamp"}}}},Marker:{}}}},DescribeTapeRecoveryPoints:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},TapeRecoveryPointInfos:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeRecoveryPointTime:{type:"timestamp"},TapeSizeInBytes:{type:"long"},TapeStatus:{}}}},Marker:{}}}},DescribeTapes:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},TapeARNs:{shape:"S2x"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Tapes:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeCreatedDate:{type:"timestamp"},TapeSizeInBytes:{type:"long"},TapeStatus:{},VTLDevice:{},Progress:{type:"double"},TapeUsedInBytes:{type:"long"},KMSKey:{},PoolId:{},Worm:{type:"boolean"},RetentionStartDate:{type:"timestamp"},PoolEntryDate:{type:"timestamp"}}}},Marker:{}}}},DescribeUploadBuffer:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sg"},UploadBufferUsedInBytes:{type:"long"},UploadBufferAllocatedInBytes:{type:"long"}}}},DescribeVTLDevices:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},VTLDeviceARNs:{type:"list",member:{}},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},VTLDevices:{type:"list",member:{type:"structure",members:{VTLDeviceARN:{},VTLDeviceType:{},VTLDeviceVendor:{},VTLDeviceProductIdentifier:{},DeviceiSCSIAttributes:{type:"structure",members:{TargetARN:{},NetworkInterfaceId:{},NetworkInterfacePort:{type:"integer"},ChapEnabled:{type:"boolean"}}}}}},Marker:{}}}},DescribeWorkingStorage:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sg"},WorkingStorageUsedInBytes:{type:"long"},WorkingStorageAllocatedInBytes:{type:"long"}}}},DetachVolume:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{},ForceDetach:{type:"boolean"}}},output:{type:"structure",members:{VolumeARN:{}}}},DisableGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DisassociateFileSystem:{input:{type:"structure",required:["FileSystemAssociationARN"],members:{FileSystemAssociationARN:{},ForceDelete:{type:"boolean"}}},output:{type:"structure",members:{FileSystemAssociationARN:{}}}},JoinDomain:{input:{type:"structure",required:["GatewayARN","DomainName","UserName","Password"],members:{GatewayARN:{},DomainName:{},OrganizationalUnit:{},DomainControllers:{type:"list",member:{}},TimeoutInSeconds:{type:"integer"},UserName:{},Password:{shape:"Sx"}}},output:{type:"structure",members:{GatewayARN:{},ActiveDirectoryStatus:{}}}},ListAutomaticTapeCreationPolicies:{input:{type:"structure",members:{GatewayARN:{}}},output:{type:"structure",members:{AutomaticTapeCreationPolicyInfos:{type:"list",member:{type:"structure",members:{AutomaticTapeCreationRules:{shape:"S7i"},GatewayARN:{}}}}}}},ListFileShares:{input:{type:"structure",members:{GatewayARN:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Marker:{},NextMarker:{},FileShareInfoList:{type:"list",member:{type:"structure",members:{FileShareType:{},FileShareARN:{},FileShareId:{},FileShareStatus:{},GatewayARN:{}}}}}}},ListFileSystemAssociations:{input:{type:"structure",members:{GatewayARN:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Marker:{},NextMarker:{},FileSystemAssociationSummaryList:{type:"list",member:{type:"structure",members:{FileSystemAssociationId:{},FileSystemAssociationARN:{},FileSystemAssociationStatus:{},GatewayARN:{}}}}}}},ListGateways:{input:{type:"structure",members:{Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Gateways:{type:"list",member:{type:"structure",members:{GatewayId:{},GatewayARN:{},GatewayType:{},GatewayOperationalState:{},GatewayName:{},Ec2InstanceId:{},Ec2InstanceRegion:{},HostEnvironment:{},HostEnvironmentId:{}}}},Marker:{}}}},ListLocalDisks:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},Disks:{type:"list",member:{type:"structure",members:{DiskId:{},DiskPath:{},DiskNode:{},DiskStatus:{},DiskSizeInBytes:{type:"long"},DiskAllocationType:{},DiskAllocationResource:{},DiskAttributeList:{type:"list",member:{}}}}}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{ResourceARN:{},Marker:{},Tags:{shape:"S9"}}}},ListTapePools:{input:{type:"structure",members:{PoolARNs:{type:"list",member:{}},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{PoolInfos:{type:"list",member:{type:"structure",members:{PoolARN:{},PoolName:{},StorageClass:{},RetentionLockType:{},RetentionLockTimeInDays:{type:"integer"},PoolStatus:{}}}},Marker:{}}}},ListTapes:{input:{type:"structure",members:{TapeARNs:{shape:"S2x"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{TapeInfos:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeSizeInBytes:{type:"long"},TapeStatus:{},GatewayARN:{},PoolId:{},RetentionStartDate:{type:"timestamp"},PoolEntryDate:{type:"timestamp"}}}},Marker:{}}}},ListVolumeInitiators:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{Initiators:{type:"list",member:{}}}}},ListVolumeRecoveryPoints:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},VolumeRecoveryPointInfos:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeSizeInBytes:{type:"long"},VolumeUsageInBytes:{type:"long"},VolumeRecoveryPointTime:{}}}}}}},ListVolumes:{input:{type:"structure",members:{GatewayARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},Marker:{},VolumeInfos:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},GatewayARN:{},GatewayId:{},VolumeType:{},VolumeSizeInBytes:{type:"long"},VolumeAttachmentStatus:{}}}}}}},NotifyWhenUploaded:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{}}},output:{type:"structure",members:{FileShareARN:{},NotificationId:{}}}},RefreshCache:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{},FolderList:{type:"list",member:{}},Recursive:{type:"boolean"}}},output:{type:"structure",members:{FileShareARN:{},NotificationId:{}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{ResourceARN:{}}}},ResetCache:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},RetrieveTapeArchive:{input:{type:"structure",required:["TapeARN","GatewayARN"],members:{TapeARN:{},GatewayARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},RetrieveTapeRecoveryPoint:{input:{type:"structure",required:["TapeARN","GatewayARN"],members:{TapeARN:{},GatewayARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},SetLocalConsolePassword:{input:{type:"structure",required:["GatewayARN","LocalConsolePassword"],members:{GatewayARN:{},LocalConsolePassword:{type:"string",sensitive:!0}}},output:{type:"structure",members:{GatewayARN:{}}}},SetSMBGuestPassword:{input:{type:"structure",required:["GatewayARN","Password"],members:{GatewayARN:{},Password:{type:"string",sensitive:!0}}},output:{type:"structure",members:{GatewayARN:{}}}},ShutdownGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},StartAvailabilityMonitorTest:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},StartGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateAutomaticTapeCreationPolicy:{input:{type:"structure",required:["AutomaticTapeCreationRules","GatewayARN"],members:{AutomaticTapeCreationRules:{shape:"S7i"},GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateBandwidthRateLimitSchedule:{input:{type:"structure",required:["GatewayARN","BandwidthRateLimitIntervals"],members:{GatewayARN:{},BandwidthRateLimitIntervals:{shape:"S3u"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateChapCredentials:{input:{type:"structure",required:["TargetARN","SecretToAuthenticateInitiator","InitiatorName"],members:{TargetARN:{},SecretToAuthenticateInitiator:{shape:"S4m"},InitiatorName:{},SecretToAuthenticateTarget:{shape:"S4m"}}},output:{type:"structure",members:{TargetARN:{},InitiatorName:{}}}},UpdateFileSystemAssociation:{input:{type:"structure",required:["FileSystemAssociationARN"],members:{FileSystemAssociationARN:{},UserName:{},Password:{shape:"Sx"},AuditDestinationARN:{},CacheAttributes:{shape:"S11"}}},output:{type:"structure",members:{FileSystemAssociationARN:{}}}},UpdateGatewayInformation:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},GatewayName:{},GatewayTimezone:{},CloudWatchLogGroupARN:{},GatewayCapacity:{}}},output:{type:"structure",members:{GatewayARN:{},GatewayName:{}}}},UpdateGatewaySoftwareNow:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateMaintenanceStartTime:{input:{type:"structure",required:["GatewayARN","HourOfDay","MinuteOfHour"],members:{GatewayARN:{},HourOfDay:{type:"integer"},MinuteOfHour:{type:"integer"},DayOfWeek:{type:"integer"},DayOfMonth:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateNFSFileShare:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},NFSFileShareDefaults:{shape:"S1p"},DefaultStorageClass:{},ObjectACL:{},ClientList:{shape:"S1w"},Squash:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},AuditDestinationARN:{}}},output:{type:"structure",members:{FileShareARN:{}}}},UpdateSMBFileShare:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},DefaultStorageClass:{},ObjectACL:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},SMBACLEnabled:{type:"boolean"},AccessBasedEnumeration:{type:"boolean"},AdminUserList:{shape:"S25"},ValidUserList:{shape:"S25"},InvalidUserList:{shape:"S25"},AuditDestinationARN:{},CaseSensitivity:{},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},OplocksEnabled:{type:"boolean"}}},output:{type:"structure",members:{FileShareARN:{}}}},UpdateSMBFileShareVisibility:{input:{type:"structure",required:["GatewayARN","FileSharesVisible"],members:{GatewayARN:{},FileSharesVisible:{type:"boolean"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateSMBLocalGroups:{input:{type:"structure",required:["GatewayARN","SMBLocalGroups"],members:{GatewayARN:{},SMBLocalGroups:{shape:"S5y"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateSMBSecurityStrategy:{input:{type:"structure",required:["GatewayARN","SMBSecurityStrategy"],members:{GatewayARN:{},SMBSecurityStrategy:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateSnapshotSchedule:{input:{type:"structure",required:["VolumeARN","StartAt","RecurrenceInHours"],members:{VolumeARN:{},StartAt:{type:"integer"},RecurrenceInHours:{type:"integer"},Description:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{VolumeARN:{}}}},UpdateVTLDeviceType:{input:{type:"structure",required:["VTLDeviceARN","DeviceType"],members:{VTLDeviceARN:{},DeviceType:{}}},output:{type:"structure",members:{VTLDeviceARN:{}}}}},shapes:{S9:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Sg:{type:"list",member:{}},Sx:{type:"string",sensitive:!0},S11:{type:"structure",members:{CacheStaleTimeoutInSeconds:{type:"integer"}}},S13:{type:"structure",members:{IpAddresses:{type:"list",member:{}}}},S1p:{type:"structure",members:{FileMode:{},DirectoryMode:{},GroupId:{type:"long"},OwnerId:{type:"long"}}},S1w:{type:"list",member:{}},S25:{type:"list",member:{}},S2x:{type:"list",member:{}},S3u:{type:"list",member:{type:"structure",required:["StartHourOfDay","StartMinuteOfHour","EndHourOfDay","EndMinuteOfHour","DaysOfWeek"],members:{StartHourOfDay:{type:"integer"},StartMinuteOfHour:{type:"integer"},EndHourOfDay:{type:"integer"},EndMinuteOfHour:{type:"integer"},DaysOfWeek:{type:"list",member:{type:"integer"}},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}}},S44:{type:"list",member:{}},S4d:{type:"structure",members:{TargetARN:{},NetworkInterfaceId:{},NetworkInterfacePort:{type:"integer"},LunNumber:{type:"integer"},ChapEnabled:{type:"boolean"}}},S4m:{type:"string",sensitive:!0},S5i:{type:"list",member:{}},S5y:{type:"structure",members:{GatewayAdmins:{shape:"S25"}}},S7i:{type:"list",member:{type:"structure",required:["TapeBarcodePrefix","PoolId","TapeSizeInBytes","MinimumNumTapes"],members:{TapeBarcodePrefix:{},PoolId:{},TapeSizeInBytes:{type:"long"},MinimumNumTapes:{type:"integer"},Worm:{type:"boolean"}}}}}}},{}],227:[function(e,t,r){t.exports={pagination:{DescribeCachediSCSIVolumes:{result_key:"CachediSCSIVolumes"},DescribeStorediSCSIVolumes:{result_key:"StorediSCSIVolumes"},DescribeTapeArchives:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"TapeArchives"},DescribeTapeRecoveryPoints:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"TapeRecoveryPointInfos"},DescribeTapes:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"Tapes"},DescribeVTLDevices:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"VTLDevices"},ListFileShares:{input_token:"Marker",limit_key:"Limit",non_aggregate_keys:["Marker"],output_token:"NextMarker",result_key:"FileShareInfoList"},ListFileSystemAssociations:{input_token:"Marker",limit_key:"Limit",non_aggregate_keys:["Marker"],output_token:"NextMarker",result_key:"FileSystemAssociationSummaryList"},ListGateways:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"Gateways"},ListLocalDisks:{result_key:"Disks"},ListTagsForResource:{input_token:"Marker",limit_key:"Limit",non_aggregate_keys:["ResourceARN"],output_token:"Marker",result_key:"Tags"},ListTapePools:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"PoolInfos"},ListTapes:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"TapeInfos"},ListVolumeRecoveryPoints:{result_key:"VolumeRecoveryPointInfos"},ListVolumes:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"VolumeInfos"}}}},{}],228:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-08-10",endpointPrefix:"streams.dynamodb",jsonVersion:"1.0",protocol:"json",serviceFullName:"Amazon DynamoDB Streams",serviceId:"DynamoDB Streams",signatureVersion:"v4",signingName:"dynamodb",targetPrefix:"DynamoDBStreams_20120810",uid:"streams-dynamodb-2012-08-10"},operations:{DescribeStream:{input:{type:"structure",required:["StreamArn"],members:{StreamArn:{},Limit:{type:"integer"},ExclusiveStartShardId:{}}},output:{type:"structure",members:{StreamDescription:{type:"structure",members:{StreamArn:{},StreamLabel:{},StreamStatus:{},StreamViewType:{},CreationRequestDateTime:{type:"timestamp"},TableName:{},KeySchema:{type:"list",member:{type:"structure",required:["AttributeName","KeyType"],members:{AttributeName:{},KeyType:{}}}},Shards:{type:"list",member:{type:"structure",members:{ShardId:{},SequenceNumberRange:{type:"structure",members:{StartingSequenceNumber:{},EndingSequenceNumber:{}}},ParentShardId:{}}}},LastEvaluatedShardId:{}}}}}},GetRecords:{input:{type:"structure",required:["ShardIterator"],members:{ShardIterator:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Records:{type:"list",member:{type:"structure",members:{eventID:{},eventName:{},eventVersion:{},eventSource:{},awsRegion:{},dynamodb:{type:"structure",members:{ApproximateCreationDateTime:{type:"timestamp"},Keys:{shape:"Sr"},NewImage:{shape:"Sr"},OldImage:{shape:"Sr"},SequenceNumber:{},SizeBytes:{type:"long"},StreamViewType:{}}},userIdentity:{type:"structure",members:{PrincipalId:{},Type:{}}}}}},NextShardIterator:{}}}},GetShardIterator:{input:{type:"structure",required:["StreamArn","ShardId","ShardIteratorType"],members:{StreamArn:{},ShardId:{},ShardIteratorType:{},SequenceNumber:{}}},output:{type:"structure",members:{ShardIterator:{}}}},ListStreams:{input:{type:"structure",members:{TableName:{},Limit:{type:"integer"},ExclusiveStartStreamArn:{}}},output:{type:"structure",members:{Streams:{type:"list",member:{type:"structure",members:{StreamArn:{},TableName:{},StreamLabel:{}}}},LastEvaluatedStreamArn:{}}}}},shapes:{Sr:{type:"map",key:{},value:{shape:"St"}},St:{type:"structure",members:{S:{},N:{},B:{type:"blob"},SS:{type:"list",member:{}},NS:{type:"list",member:{}},BS:{type:"list",member:{type:"blob"}},M:{type:"map",key:{},value:{shape:"St"}},L:{type:"list",member:{shape:"St"}},NULL:{type:"boolean"},BOOL:{type:"boolean"}}}}}},{}],229:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],230:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2011-06-15",endpointPrefix:"sts",globalEndpoint:"sts.amazonaws.com",protocol:"query",serviceAbbreviation:"AWS STS",serviceFullName:"AWS Security Token Service",serviceId:"STS",signatureVersion:"v4",uid:"sts-2011-06-15",xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/"},operations:{AssumeRole:{input:{type:"structure",required:["RoleArn","RoleSessionName"],members:{RoleArn:{},RoleSessionName:{},PolicyArns:{shape:"S4"},Policy:{},DurationSeconds:{type:"integer"},Tags:{shape:"S8"},TransitiveTagKeys:{type:"list",member:{}},ExternalId:{},SerialNumber:{},TokenCode:{},SourceIdentity:{}}},output:{resultWrapper:"AssumeRoleResult",type:"structure",members:{Credentials:{shape:"Si"},AssumedRoleUser:{shape:"Sn"},PackedPolicySize:{type:"integer"},SourceIdentity:{}}}},AssumeRoleWithSAML:{input:{type:"structure",required:["RoleArn","PrincipalArn","SAMLAssertion"],members:{RoleArn:{},PrincipalArn:{},SAMLAssertion:{},PolicyArns:{shape:"S4"},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"AssumeRoleWithSAMLResult",type:"structure",members:{Credentials:{shape:"Si"},AssumedRoleUser:{shape:"Sn"},PackedPolicySize:{type:"integer"},Subject:{},SubjectType:{},Issuer:{},Audience:{},NameQualifier:{},SourceIdentity:{}}}},AssumeRoleWithWebIdentity:{input:{type:"structure",required:["RoleArn","RoleSessionName","WebIdentityToken"],members:{RoleArn:{},RoleSessionName:{},WebIdentityToken:{},ProviderId:{},PolicyArns:{shape:"S4"},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"AssumeRoleWithWebIdentityResult",type:"structure",members:{Credentials:{shape:"Si"},SubjectFromWebIdentityToken:{},AssumedRoleUser:{shape:"Sn"},PackedPolicySize:{type:"integer"},Provider:{},Audience:{},SourceIdentity:{}}}},DecodeAuthorizationMessage:{input:{type:"structure",required:["EncodedMessage"],members:{EncodedMessage:{}}},output:{resultWrapper:"DecodeAuthorizationMessageResult",type:"structure",members:{DecodedMessage:{}}}},GetAccessKeyInfo:{input:{type:"structure",required:["AccessKeyId"],members:{AccessKeyId:{}}},output:{resultWrapper:"GetAccessKeyInfoResult",type:"structure",members:{Account:{}}}},GetCallerIdentity:{input:{type:"structure",members:{}},output:{resultWrapper:"GetCallerIdentityResult",type:"structure",members:{UserId:{},Account:{},Arn:{}}}},GetFederationToken:{input:{type:"structure",required:["Name"],members:{Name:{},Policy:{},PolicyArns:{shape:"S4"},DurationSeconds:{type:"integer"},Tags:{shape:"S8"}}},output:{resultWrapper:"GetFederationTokenResult",type:"structure",members:{Credentials:{shape:"Si"},FederatedUser:{type:"structure",required:["FederatedUserId","Arn"],members:{FederatedUserId:{},Arn:{}}},PackedPolicySize:{type:"integer"}}}},GetSessionToken:{input:{type:"structure",members:{DurationSeconds:{type:"integer"},SerialNumber:{},TokenCode:{}}},output:{resultWrapper:"GetSessionTokenResult",type:"structure",members:{Credentials:{shape:"Si"}}}}},shapes:{S4:{type:"list",member:{type:"structure",members:{arn:{}}}},S8:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Si:{type:"structure",required:["AccessKeyId","SecretAccessKey","SessionToken","Expiration"],members:{AccessKeyId:{},SecretAccessKey:{},SessionToken:{},Expiration:{type:"timestamp"}}},Sn:{type:"structure",required:["AssumedRoleId","Arn"],members:{AssumedRoleId:{},Arn:{}}}}}},{}],231:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],232:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-07-01",endpointPrefix:"translate",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Translate",serviceId:"Translate",signatureVersion:"v4",signingName:"translate",targetPrefix:"AWSShineFrontendService_20170701",uid:"translate-2017-07-01"},operations:{CreateParallelData:{input:{type:"structure",required:["Name","ParallelDataConfig","ClientToken"],members:{Name:{},Description:{},ParallelDataConfig:{shape:"S4"},EncryptionKey:{shape:"S7"},ClientToken:{idempotencyToken:!0}}},output:{type:"structure",members:{Name:{},Status:{}}}},DeleteParallelData:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},Status:{}}}},DeleteTerminology:{input:{type:"structure",required:["Name"],members:{Name:{}}}},DescribeTextTranslationJob:{input:{type:"structure",required:["JobId"],members:{JobId:{}}},output:{type:"structure",members:{TextTranslationJobProperties:{shape:"Sj"}}}},GetParallelData:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ParallelDataProperties:{shape:"S11"},DataLocation:{shape:"S15"},AuxiliaryDataLocation:{shape:"S15"},LatestUpdateAttemptAuxiliaryDataLocation:{shape:"S15"}}}},GetTerminology:{input:{type:"structure",required:["Name"],members:{Name:{},TerminologyDataFormat:{}}},output:{type:"structure",members:{TerminologyProperties:{shape:"S1a"},TerminologyDataLocation:{shape:"S1d"},AuxiliaryDataLocation:{shape:"S1d"}}}},ImportTerminology:{input:{type:"structure",required:["Name","MergeStrategy","TerminologyData"],members:{Name:{},MergeStrategy:{},Description:{},TerminologyData:{type:"structure",required:["File","Format"],members:{File:{type:"blob",sensitive:!0},Format:{},Directionality:{}}},EncryptionKey:{shape:"S7"}}},output:{type:"structure",members:{TerminologyProperties:{shape:"S1a"},AuxiliaryDataLocation:{shape:"S1d"}}}},ListParallelData:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ParallelDataPropertiesList:{type:"list",member:{shape:"S11"}},NextToken:{}}}},ListTerminologies:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{TerminologyPropertiesList:{type:"list",member:{shape:"S1a"}},NextToken:{}}}},ListTextTranslationJobs:{input:{type:"structure",members:{Filter:{type:"structure",members:{JobName:{},JobStatus:{},SubmittedBeforeTime:{type:"timestamp"},SubmittedAfterTime:{type:"timestamp"}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{TextTranslationJobPropertiesList:{type:"list",member:{shape:"Sj"}},NextToken:{}}}},StartTextTranslationJob:{input:{type:"structure",required:["InputDataConfig","OutputDataConfig","DataAccessRoleArn","SourceLanguageCode","TargetLanguageCodes","ClientToken"],members:{JobName:{},InputDataConfig:{shape:"St"},OutputDataConfig:{shape:"Sv"},DataAccessRoleArn:{},SourceLanguageCode:{},TargetLanguageCodes:{shape:"Sp"},TerminologyNames:{shape:"Sq"},ParallelDataNames:{shape:"Sq"},ClientToken:{idempotencyToken:!0},Settings:{shape:"Sx"}}},output:{type:"structure",members:{JobId:{},JobStatus:{}}}},StopTextTranslationJob:{input:{type:"structure",required:["JobId"],members:{JobId:{}}},output:{type:"structure",members:{JobId:{},JobStatus:{}}}},TranslateText:{input:{type:"structure",required:["Text","SourceLanguageCode","TargetLanguageCode"],members:{Text:{},TerminologyNames:{shape:"Sq"},SourceLanguageCode:{},TargetLanguageCode:{},Settings:{shape:"Sx"}}},output:{type:"structure",required:["TranslatedText","SourceLanguageCode","TargetLanguageCode"],members:{TranslatedText:{},SourceLanguageCode:{},TargetLanguageCode:{},AppliedTerminologies:{type:"list",member:{type:"structure",members:{Name:{},Terms:{type:"list",member:{type:"structure",members:{SourceText:{},TargetText:{}}}}}}},AppliedSettings:{shape:"Sx"}}}},UpdateParallelData:{input:{type:"structure",required:["Name","ParallelDataConfig","ClientToken"],members:{Name:{},Description:{},ParallelDataConfig:{shape:"S4"},ClientToken:{idempotencyToken:!0}}},output:{type:"structure",members:{Name:{},Status:{},LatestUpdateAttemptStatus:{},LatestUpdateAttemptAt:{type:"timestamp"}}}}},shapes:{S4:{type:"structure",required:["S3Uri","Format"],members:{S3Uri:{},Format:{}}},S7:{type:"structure",required:["Type","Id"],members:{Type:{},Id:{}}},Sj:{type:"structure",members:{JobId:{},JobName:{},JobStatus:{},JobDetails:{type:"structure",members:{TranslatedDocumentsCount:{type:"integer"},DocumentsWithErrorsCount:{type:"integer"},InputDocumentsCount:{type:"integer"}}},SourceLanguageCode:{},TargetLanguageCodes:{shape:"Sp"},TerminologyNames:{shape:"Sq"},ParallelDataNames:{shape:"Sq"},Message:{},SubmittedTime:{type:"timestamp"},EndTime:{type:"timestamp"},InputDataConfig:{shape:"St"},OutputDataConfig:{shape:"Sv"},DataAccessRoleArn:{},Settings:{shape:"Sx"}}},Sp:{type:"list",member:{}},Sq:{type:"list",member:{}},St:{type:"structure",required:["S3Uri","ContentType"],members:{S3Uri:{},ContentType:{}}},Sv:{type:"structure",required:["S3Uri"],members:{S3Uri:{},EncryptionKey:{shape:"S7"}}},Sx:{type:"structure",members:{Profanity:{}}},S11:{type:"structure",members:{Name:{},Arn:{},Description:{},Status:{},SourceLanguageCode:{},TargetLanguageCodes:{shape:"S13"},ParallelDataConfig:{shape:"S4"},Message:{},ImportedDataSize:{type:"long"},ImportedRecordCount:{type:"long"},FailedRecordCount:{type:"long"},SkippedRecordCount:{type:"long"},EncryptionKey:{shape:"S7"},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},LatestUpdateAttemptStatus:{},LatestUpdateAttemptAt:{type:"timestamp"}}},S13:{type:"list",member:{}},S15:{type:"structure",required:["RepositoryType","Location"],members:{RepositoryType:{},Location:{}}},S1a:{type:"structure",members:{Name:{},Description:{},Arn:{},SourceLanguageCode:{},TargetLanguageCodes:{shape:"S13"},EncryptionKey:{shape:"S7"},SizeBytes:{type:"integer"},TermCount:{type:"integer"},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Directionality:{},Message:{},SkippedTermCount:{type:"integer"},Format:{}}},S1d:{type:"structure",required:["RepositoryType","Location"],members:{RepositoryType:{},Location:{}}}}}},{}],233:[function(e,t,r){t.exports={pagination:{ListParallelData:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListTerminologies:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListTextTranslationJobs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"}}}},{}],234:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-08-24",endpointPrefix:"waf",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"WAF",serviceFullName:"AWS WAF",serviceId:"WAF",signatureVersion:"v4",targetPrefix:"AWSWAF_20150824",uid:"waf-2015-08-24"},operations:{CreateByteMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{ByteMatchSet:{shape:"S5"},ChangeToken:{}}}},CreateGeoMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{GeoMatchSet:{shape:"Sh"},ChangeToken:{}}}},CreateIPSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{IPSet:{shape:"So"},ChangeToken:{}}}},CreateRateBasedRule:{input:{type:"structure",required:["Name","MetricName","RateKey","RateLimit","ChangeToken"],members:{Name:{},MetricName:{},RateKey:{},RateLimit:{type:"long"},ChangeToken:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{Rule:{shape:"S12"},ChangeToken:{}}}},CreateRegexMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{RegexMatchSet:{shape:"S19"},ChangeToken:{}}}},CreateRegexPatternSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{RegexPatternSet:{shape:"S1e"},ChangeToken:{}}}},CreateRule:{input:{type:"structure",required:["Name","MetricName","ChangeToken"],members:{Name:{},MetricName:{},ChangeToken:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{Rule:{shape:"S1j"},ChangeToken:{}}}},CreateRuleGroup:{input:{type:"structure",required:["Name","MetricName","ChangeToken"],members:{Name:{},MetricName:{}, -ChangeToken:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{RuleGroup:{shape:"S1m"},ChangeToken:{}}}},CreateSizeConstraintSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{SizeConstraintSet:{shape:"S1p"},ChangeToken:{}}}},CreateSqlInjectionMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{SqlInjectionMatchSet:{shape:"S1w"},ChangeToken:{}}}},CreateWebACL:{input:{type:"structure",required:["Name","MetricName","DefaultAction","ChangeToken"],members:{Name:{},MetricName:{},DefaultAction:{shape:"S20"},ChangeToken:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{WebACL:{shape:"S23"},ChangeToken:{}}}},CreateWebACLMigrationStack:{input:{type:"structure",required:["WebACLId","S3BucketName","IgnoreUnsupportedType"],members:{WebACLId:{},S3BucketName:{},IgnoreUnsupportedType:{type:"boolean"}}},output:{type:"structure",required:["S3ObjectUrl"],members:{S3ObjectUrl:{}}}},CreateXssMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{XssMatchSet:{shape:"S2k"},ChangeToken:{}}}},DeleteByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId","ChangeToken"],members:{ByteMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteGeoMatchSet:{input:{type:"structure",required:["GeoMatchSetId","ChangeToken"],members:{GeoMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteIPSet:{input:{type:"structure",required:["IPSetId","ChangeToken"],members:{IPSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteLoggingConfiguration:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{}}},DeletePermissionPolicy:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{}}},DeleteRateBasedRule:{input:{type:"structure",required:["RuleId","ChangeToken"],members:{RuleId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRegexMatchSet:{input:{type:"structure",required:["RegexMatchSetId","ChangeToken"],members:{RegexMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRegexPatternSet:{input:{type:"structure",required:["RegexPatternSetId","ChangeToken"],members:{RegexPatternSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRule:{input:{type:"structure",required:["RuleId","ChangeToken"],members:{RuleId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRuleGroup:{input:{type:"structure",required:["RuleGroupId","ChangeToken"],members:{RuleGroupId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId","ChangeToken"],members:{SizeConstraintSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId","ChangeToken"],members:{SqlInjectionMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteWebACL:{input:{type:"structure",required:["WebACLId","ChangeToken"],members:{WebACLId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteXssMatchSet:{input:{type:"structure",required:["XssMatchSetId","ChangeToken"],members:{XssMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},GetByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId"],members:{ByteMatchSetId:{}}},output:{type:"structure",members:{ByteMatchSet:{shape:"S5"}}}},GetChangeToken:{input:{type:"structure",members:{}},output:{type:"structure",members:{ChangeToken:{}}}},GetChangeTokenStatus:{input:{type:"structure",required:["ChangeToken"],members:{ChangeToken:{}}},output:{type:"structure",members:{ChangeTokenStatus:{}}}},GetGeoMatchSet:{input:{type:"structure",required:["GeoMatchSetId"],members:{GeoMatchSetId:{}}},output:{type:"structure",members:{GeoMatchSet:{shape:"Sh"}}}},GetIPSet:{input:{type:"structure",required:["IPSetId"],members:{IPSetId:{}}},output:{type:"structure",members:{IPSet:{shape:"So"}}}},GetLoggingConfiguration:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{LoggingConfiguration:{shape:"S3s"}}}},GetPermissionPolicy:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{Policy:{}}}},GetRateBasedRule:{input:{type:"structure",required:["RuleId"],members:{RuleId:{}}},output:{type:"structure",members:{Rule:{shape:"S12"}}}},GetRateBasedRuleManagedKeys:{input:{type:"structure",required:["RuleId"],members:{RuleId:{},NextMarker:{}}},output:{type:"structure",members:{ManagedKeys:{type:"list",member:{}},NextMarker:{}}}},GetRegexMatchSet:{input:{type:"structure",required:["RegexMatchSetId"],members:{RegexMatchSetId:{}}},output:{type:"structure",members:{RegexMatchSet:{shape:"S19"}}}},GetRegexPatternSet:{input:{type:"structure",required:["RegexPatternSetId"],members:{RegexPatternSetId:{}}},output:{type:"structure",members:{RegexPatternSet:{shape:"S1e"}}}},GetRule:{input:{type:"structure",required:["RuleId"],members:{RuleId:{}}},output:{type:"structure",members:{Rule:{shape:"S1j"}}}},GetRuleGroup:{input:{type:"structure",required:["RuleGroupId"],members:{RuleGroupId:{}}},output:{type:"structure",members:{RuleGroup:{shape:"S1m"}}}},GetSampledRequests:{input:{type:"structure",required:["WebAclId","RuleId","TimeWindow","MaxItems"],members:{WebAclId:{},RuleId:{},TimeWindow:{shape:"S4e"},MaxItems:{type:"long"}}},output:{type:"structure",members:{SampledRequests:{type:"list",member:{type:"structure",required:["Request","Weight"],members:{Request:{type:"structure",members:{ClientIP:{},Country:{},URI:{},Method:{},HTTPVersion:{},Headers:{type:"list",member:{type:"structure",members:{Name:{},Value:{}}}}}},Weight:{type:"long"},Timestamp:{type:"timestamp"},Action:{},RuleWithinRuleGroup:{}}}},PopulationSize:{type:"long"},TimeWindow:{shape:"S4e"}}}},GetSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId"],members:{SizeConstraintSetId:{}}},output:{type:"structure",members:{SizeConstraintSet:{shape:"S1p"}}}},GetSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId"],members:{SqlInjectionMatchSetId:{}}},output:{type:"structure",members:{SqlInjectionMatchSet:{shape:"S1w"}}}},GetWebACL:{input:{type:"structure",required:["WebACLId"],members:{WebACLId:{}}},output:{type:"structure",members:{WebACL:{shape:"S23"}}}},GetXssMatchSet:{input:{type:"structure",required:["XssMatchSetId"],members:{XssMatchSetId:{}}},output:{type:"structure",members:{XssMatchSet:{shape:"S2k"}}}},ListActivatedRulesInRuleGroup:{input:{type:"structure",members:{RuleGroupId:{},NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},ActivatedRules:{shape:"S24"}}}},ListByteMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},ByteMatchSets:{type:"list",member:{type:"structure",required:["ByteMatchSetId","Name"],members:{ByteMatchSetId:{},Name:{}}}}}}},ListGeoMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},GeoMatchSets:{type:"list",member:{type:"structure",required:["GeoMatchSetId","Name"],members:{GeoMatchSetId:{},Name:{}}}}}}},ListIPSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},IPSets:{type:"list",member:{type:"structure",required:["IPSetId","Name"],members:{IPSetId:{},Name:{}}}}}}},ListLoggingConfigurations:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{LoggingConfigurations:{type:"list",member:{shape:"S3s"}},NextMarker:{}}}},ListRateBasedRules:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Rules:{shape:"S5p"}}}},ListRegexMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},RegexMatchSets:{type:"list",member:{type:"structure",required:["RegexMatchSetId","Name"],members:{RegexMatchSetId:{},Name:{}}}}}}},ListRegexPatternSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},RegexPatternSets:{type:"list",member:{type:"structure",required:["RegexPatternSetId","Name"],members:{RegexPatternSetId:{},Name:{}}}}}}},ListRuleGroups:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},RuleGroups:{type:"list",member:{type:"structure",required:["RuleGroupId","Name"],members:{RuleGroupId:{},Name:{}}}}}}},ListRules:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Rules:{shape:"S5p"}}}},ListSizeConstraintSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},SizeConstraintSets:{type:"list",member:{type:"structure",required:["SizeConstraintSetId","Name"],members:{SizeConstraintSetId:{},Name:{}}}}}}},ListSqlInjectionMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},SqlInjectionMatchSets:{type:"list",member:{type:"structure",required:["SqlInjectionMatchSetId","Name"],members:{SqlInjectionMatchSetId:{},Name:{}}}}}}},ListSubscribedRuleGroups:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},RuleGroups:{type:"list",member:{type:"structure",required:["RuleGroupId","Name","MetricName"],members:{RuleGroupId:{},Name:{},MetricName:{}}}}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{NextMarker:{},Limit:{type:"integer"},ResourceARN:{}}},output:{type:"structure",members:{NextMarker:{},TagInfoForResource:{type:"structure",members:{ResourceARN:{},TagList:{shape:"Sx"}}}}}},ListWebACLs:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},WebACLs:{type:"list",member:{type:"structure",required:["WebACLId","Name"],members:{WebACLId:{},Name:{}}}}}}},ListXssMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},XssMatchSets:{type:"list",member:{type:"structure",required:["XssMatchSetId","Name"],members:{XssMatchSetId:{},Name:{}}}}}}},PutLoggingConfiguration:{input:{type:"structure",required:["LoggingConfiguration"],members:{LoggingConfiguration:{shape:"S3s"}}},output:{type:"structure",members:{LoggingConfiguration:{shape:"S3s"}}}},PutPermissionPolicy:{input:{type:"structure",required:["ResourceArn","Policy"],members:{ResourceArn:{},Policy:{}}},output:{type:"structure",members:{}}},TagResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId","ChangeToken","Updates"],members:{ByteMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","ByteMatchTuple"],members:{Action:{},ByteMatchTuple:{shape:"S8"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateGeoMatchSet:{input:{type:"structure",required:["GeoMatchSetId","ChangeToken","Updates"],members:{GeoMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","GeoMatchConstraint"],members:{Action:{},GeoMatchConstraint:{shape:"Sj"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateIPSet:{input:{type:"structure",required:["IPSetId","ChangeToken","Updates"],members:{IPSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","IPSetDescriptor"],members:{Action:{},IPSetDescriptor:{shape:"Sq"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRateBasedRule:{input:{type:"structure",required:["RuleId","ChangeToken","Updates","RateLimit"],members:{RuleId:{},ChangeToken:{},Updates:{shape:"S7f"},RateLimit:{type:"long"}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRegexMatchSet:{input:{type:"structure",required:["RegexMatchSetId","Updates","ChangeToken"],members:{RegexMatchSetId:{},Updates:{type:"list",member:{type:"structure",required:["Action","RegexMatchTuple"],members:{Action:{},RegexMatchTuple:{shape:"S1b"}}}},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRegexPatternSet:{input:{type:"structure",required:["RegexPatternSetId","Updates","ChangeToken"],members:{RegexPatternSetId:{},Updates:{type:"list",member:{type:"structure",required:["Action","RegexPatternString"],members:{Action:{},RegexPatternString:{}}}},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRule:{input:{type:"structure",required:["RuleId","ChangeToken","Updates"],members:{RuleId:{},ChangeToken:{},Updates:{shape:"S7f"}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRuleGroup:{input:{type:"structure",required:["RuleGroupId","Updates","ChangeToken"],members:{RuleGroupId:{},Updates:{type:"list",member:{type:"structure",required:["Action","ActivatedRule"],members:{Action:{},ActivatedRule:{shape:"S25"}}}},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId","ChangeToken","Updates"],members:{SizeConstraintSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","SizeConstraint"],members:{Action:{},SizeConstraint:{shape:"S1r"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId","ChangeToken","Updates"],members:{SqlInjectionMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","SqlInjectionMatchTuple"],members:{Action:{},SqlInjectionMatchTuple:{shape:"S1y"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateWebACL:{input:{type:"structure",required:["WebACLId","ChangeToken"],members:{WebACLId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","ActivatedRule"],members:{Action:{},ActivatedRule:{shape:"S25"}}}},DefaultAction:{shape:"S20"}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateXssMatchSet:{input:{type:"structure",required:["XssMatchSetId","ChangeToken","Updates"],members:{XssMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","XssMatchTuple"],members:{Action:{},XssMatchTuple:{shape:"S2m"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}}},shapes:{S5:{type:"structure",required:["ByteMatchSetId","ByteMatchTuples"],members:{ByteMatchSetId:{},Name:{},ByteMatchTuples:{type:"list",member:{shape:"S8"}}}},S8:{type:"structure",required:["FieldToMatch","TargetString","TextTransformation","PositionalConstraint"],members:{FieldToMatch:{shape:"S9"},TargetString:{type:"blob"},TextTransformation:{},PositionalConstraint:{}}},S9:{type:"structure",required:["Type"],members:{Type:{},Data:{}}},Sh:{type:"structure",required:["GeoMatchSetId","GeoMatchConstraints"],members:{GeoMatchSetId:{},Name:{},GeoMatchConstraints:{type:"list",member:{shape:"Sj"}}}},Sj:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{}}},So:{type:"structure",required:["IPSetId","IPSetDescriptors"],members:{IPSetId:{},Name:{},IPSetDescriptors:{type:"list",member:{shape:"Sq"}}}},Sq:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{}}},Sx:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S12:{type:"structure",required:["RuleId","MatchPredicates","RateKey","RateLimit"],members:{RuleId:{},Name:{},MetricName:{},MatchPredicates:{shape:"S13"},RateKey:{},RateLimit:{type:"long"}}},S13:{type:"list",member:{shape:"S14"}},S14:{type:"structure",required:["Negated","Type","DataId"],members:{Negated:{type:"boolean"},Type:{},DataId:{}}},S19:{type:"structure",members:{RegexMatchSetId:{},Name:{},RegexMatchTuples:{type:"list",member:{shape:"S1b"}}}},S1b:{type:"structure",required:["FieldToMatch","TextTransformation","RegexPatternSetId"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{},RegexPatternSetId:{}}},S1e:{type:"structure",required:["RegexPatternSetId","RegexPatternStrings"],members:{RegexPatternSetId:{},Name:{},RegexPatternStrings:{type:"list",member:{}}}},S1j:{type:"structure",required:["RuleId","Predicates"],members:{RuleId:{},Name:{},MetricName:{},Predicates:{shape:"S13"}}},S1m:{type:"structure",required:["RuleGroupId"],members:{RuleGroupId:{},Name:{},MetricName:{}}},S1p:{type:"structure",required:["SizeConstraintSetId","SizeConstraints"],members:{SizeConstraintSetId:{},Name:{},SizeConstraints:{type:"list",member:{shape:"S1r"}}}},S1r:{type:"structure",required:["FieldToMatch","TextTransformation","ComparisonOperator","Size"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{},ComparisonOperator:{},Size:{type:"long"}}},S1w:{type:"structure",required:["SqlInjectionMatchSetId","SqlInjectionMatchTuples"],members:{SqlInjectionMatchSetId:{},Name:{},SqlInjectionMatchTuples:{type:"list",member:{shape:"S1y"}}}},S1y:{type:"structure",required:["FieldToMatch","TextTransformation"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{}}},S20:{type:"structure",required:["Type"],members:{Type:{}}},S23:{type:"structure",required:["WebACLId","DefaultAction","Rules"],members:{WebACLId:{},Name:{},MetricName:{},DefaultAction:{shape:"S20"},Rules:{shape:"S24"},WebACLArn:{}}},S24:{type:"list",member:{shape:"S25"}},S25:{type:"structure",required:["Priority","RuleId"],members:{Priority:{type:"integer"},RuleId:{},Action:{shape:"S20"},OverrideAction:{type:"structure",required:["Type"],members:{Type:{}}},Type:{},ExcludedRules:{type:"list",member:{type:"structure",required:["RuleId"],members:{RuleId:{}}}}}},S2k:{type:"structure",required:["XssMatchSetId","XssMatchTuples"],members:{XssMatchSetId:{},Name:{},XssMatchTuples:{type:"list",member:{shape:"S2m"}}}},S2m:{type:"structure",required:["FieldToMatch","TextTransformation"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{}}},S3s:{type:"structure",required:["ResourceArn","LogDestinationConfigs"],members:{ResourceArn:{},LogDestinationConfigs:{type:"list",member:{}},RedactedFields:{type:"list",member:{shape:"S9"}}}},S4e:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}},S5p:{type:"list",member:{type:"structure",required:["RuleId","Name"],members:{RuleId:{},Name:{}}}},S7f:{type:"list",member:{type:"structure",required:["Action","Predicate"],members:{Action:{},Predicate:{shape:"S14"}}}}}}},{}],235:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],236:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-05-01",endpointPrefix:"workdocs",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon WorkDocs",serviceId:"WorkDocs",signatureVersion:"v4",uid:"workdocs-2016-05-01"},operations:{AbortDocumentVersionUpload:{http:{method:"DELETE",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}",responseCode:204},input:{type:"structure",required:["DocumentId","VersionId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"}}}},ActivateUser:{http:{requestUri:"/api/v1/users/{UserId}/activation",responseCode:200},input:{type:"structure",required:["UserId"],members:{UserId:{location:"uri",locationName:"UserId"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}},output:{type:"structure",members:{User:{shape:"S8"}}}},AddResourcePermissions:{http:{requestUri:"/api/v1/resources/{ResourceId}/permissions",responseCode:201},input:{type:"structure",required:["ResourceId","Principals"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},Principals:{type:"list",member:{type:"structure",required:["Id","Type","Role"],members:{Id:{},Type:{},Role:{}}}},NotificationOptions:{type:"structure",members:{SendEmail:{type:"boolean"},EmailMessage:{shape:"St"}}}}},output:{type:"structure",members:{ShareResults:{type:"list",member:{type:"structure",members:{PrincipalId:{},InviteePrincipalId:{},Role:{},Status:{},ShareId:{},StatusMessage:{shape:"St"}}}}}}},CreateComment:{http:{requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}/comment",responseCode:201},input:{type:"structure",required:["DocumentId","VersionId","Text"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},ParentId:{},ThreadId:{},Text:{shape:"S10"},Visibility:{},NotifyCollaborators:{type:"boolean"}}},output:{type:"structure",members:{Comment:{shape:"S13"}}}},CreateCustomMetadata:{http:{method:"PUT",requestUri:"/api/v1/resources/{ResourceId}/customMetadata",responseCode:200},input:{type:"structure",required:["ResourceId","CustomMetadata"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},VersionId:{location:"querystring",locationName:"versionid"},CustomMetadata:{shape:"S16"}}},output:{type:"structure",members:{}}},CreateFolder:{http:{requestUri:"/api/v1/folders",responseCode:201},input:{type:"structure",required:["ParentFolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},Name:{},ParentFolderId:{}}},output:{type:"structure",members:{Metadata:{shape:"S1d"}}}},CreateLabels:{http:{method:"PUT",requestUri:"/api/v1/resources/{ResourceId}/labels",responseCode:200},input:{type:"structure",required:["ResourceId","Labels"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},Labels:{shape:"S1g"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}},output:{type:"structure",members:{}}},CreateNotificationSubscription:{http:{requestUri:"/api/v1/organizations/{OrganizationId}/subscriptions",responseCode:200},input:{type:"structure",required:["OrganizationId","Endpoint","Protocol","SubscriptionType"],members:{OrganizationId:{location:"uri",locationName:"OrganizationId"},Endpoint:{},Protocol:{},SubscriptionType:{}}},output:{type:"structure",members:{Subscription:{shape:"S1p"}}}},CreateUser:{http:{requestUri:"/api/v1/users",responseCode:201},input:{type:"structure",required:["Username","GivenName","Surname","Password"],members:{OrganizationId:{},Username:{},EmailAddress:{},GivenName:{},Surname:{},Password:{type:"string",sensitive:!0},TimeZoneId:{},StorageRule:{shape:"Sj"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}},output:{type:"structure",members:{User:{shape:"S8"}}}},DeactivateUser:{http:{method:"DELETE",requestUri:"/api/v1/users/{UserId}/activation",responseCode:204},input:{type:"structure",required:["UserId"],members:{UserId:{location:"uri",locationName:"UserId"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}}},DeleteComment:{http:{method:"DELETE",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}",responseCode:204},input:{type:"structure",required:["DocumentId","VersionId","CommentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},CommentId:{location:"uri",locationName:"CommentId"}}}},DeleteCustomMetadata:{http:{method:"DELETE",requestUri:"/api/v1/resources/{ResourceId}/customMetadata",responseCode:200},input:{type:"structure",required:["ResourceId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},VersionId:{location:"querystring",locationName:"versionId"},Keys:{location:"querystring",locationName:"keys",type:"list",member:{}},DeleteAll:{location:"querystring",locationName:"deleteAll",type:"boolean"}}},output:{type:"structure",members:{}}},DeleteDocument:{http:{method:"DELETE",requestUri:"/api/v1/documents/{DocumentId}",responseCode:204},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"}}}},DeleteFolder:{http:{method:"DELETE",requestUri:"/api/v1/folders/{FolderId}",responseCode:204},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"}}}},DeleteFolderContents:{http:{method:"DELETE",requestUri:"/api/v1/folders/{FolderId}/contents",responseCode:204},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"}}}},DeleteLabels:{http:{method:"DELETE",requestUri:"/api/v1/resources/{ResourceId}/labels",responseCode:200},input:{type:"structure",required:["ResourceId"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},Labels:{shape:"S1g",location:"querystring",locationName:"labels"},DeleteAll:{location:"querystring",locationName:"deleteAll",type:"boolean"}}},output:{type:"structure",members:{}}},DeleteNotificationSubscription:{http:{method:"DELETE",requestUri:"/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}",responseCode:200},input:{type:"structure",required:["SubscriptionId","OrganizationId"],members:{SubscriptionId:{location:"uri",locationName:"SubscriptionId"},OrganizationId:{location:"uri",locationName:"OrganizationId"}}}},DeleteUser:{http:{method:"DELETE",requestUri:"/api/v1/users/{UserId}",responseCode:204},input:{type:"structure",required:["UserId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},UserId:{location:"uri",locationName:"UserId"}}}},DescribeActivities:{http:{method:"GET",requestUri:"/api/v1/activities",responseCode:200},input:{type:"structure",members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},StartTime:{location:"querystring",locationName:"startTime",type:"timestamp"},EndTime:{location:"querystring",locationName:"endTime",type:"timestamp"},OrganizationId:{location:"querystring",locationName:"organizationId"},ActivityTypes:{location:"querystring",locationName:"activityTypes"},ResourceId:{location:"querystring",locationName:"resourceId"},UserId:{location:"querystring",locationName:"userId"},IncludeIndirectActivities:{location:"querystring",locationName:"includeIndirectActivities",type:"boolean"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{UserActivities:{type:"list",member:{type:"structure",members:{Type:{},TimeStamp:{type:"timestamp"},IsIndirectActivity:{type:"boolean"},OrganizationId:{},Initiator:{shape:"S2d"},Participants:{type:"structure",members:{Users:{type:"list",member:{shape:"S2d"}},Groups:{shape:"S2g"}}},ResourceMetadata:{shape:"S2j"},OriginalParent:{shape:"S2j"},CommentMetadata:{type:"structure",members:{CommentId:{},Contributor:{shape:"S8"},CreatedTimestamp:{type:"timestamp"},CommentStatus:{},RecipientId:{}}}}}},Marker:{}}}},DescribeComments:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}/comments",responseCode:200},input:{type:"structure",required:["DocumentId","VersionId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Comments:{type:"list",member:{shape:"S13"}},Marker:{}}}},DescribeDocumentVersions:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}/versions",responseCode:200},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},Marker:{location:"querystring",locationName:"marker"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Include:{location:"querystring",locationName:"include"},Fields:{location:"querystring",locationName:"fields"}}},output:{type:"structure",members:{DocumentVersions:{type:"list",member:{shape:"S2u"}},Marker:{}}}},DescribeFolderContents:{http:{method:"GET",requestUri:"/api/v1/folders/{FolderId}/contents",responseCode:200},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"},Sort:{location:"querystring",locationName:"sort"},Order:{location:"querystring",locationName:"order"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"},Type:{location:"querystring",locationName:"type"},Include:{location:"querystring",locationName:"include"}}},output:{type:"structure",members:{Folders:{shape:"S37"},Documents:{shape:"S38"},Marker:{}}}},DescribeGroups:{http:{method:"GET",requestUri:"/api/v1/groups",responseCode:200},input:{type:"structure",required:["SearchQuery"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},SearchQuery:{shape:"S3b",location:"querystring",locationName:"searchQuery"},OrganizationId:{location:"querystring",locationName:"organizationId"},Marker:{location:"querystring",locationName:"marker"},Limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{Groups:{shape:"S2g"},Marker:{}}}},DescribeNotificationSubscriptions:{http:{method:"GET",requestUri:"/api/v1/organizations/{OrganizationId}/subscriptions",responseCode:200},input:{type:"structure",required:["OrganizationId"],members:{OrganizationId:{location:"uri",locationName:"OrganizationId"},Marker:{location:"querystring",locationName:"marker"},Limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{Subscriptions:{type:"list",member:{shape:"S1p"}},Marker:{}}}},DescribeResourcePermissions:{http:{method:"GET",requestUri:"/api/v1/resources/{ResourceId}/permissions",responseCode:200},input:{type:"structure",required:["ResourceId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},PrincipalId:{location:"querystring",locationName:"principalId"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Principals:{type:"list",member:{type:"structure",members:{Id:{},Type:{},Roles:{type:"list",member:{type:"structure",members:{Role:{},Type:{}}}}}}},Marker:{}}}},DescribeRootFolders:{http:{method:"GET",requestUri:"/api/v1/me/root", -responseCode:200},input:{type:"structure",required:["AuthenticationToken"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Folders:{shape:"S37"},Marker:{}}}},DescribeUsers:{http:{method:"GET",requestUri:"/api/v1/users",responseCode:200},input:{type:"structure",members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},OrganizationId:{location:"querystring",locationName:"organizationId"},UserIds:{location:"querystring",locationName:"userIds"},Query:{shape:"S3b",location:"querystring",locationName:"query"},Include:{location:"querystring",locationName:"include"},Order:{location:"querystring",locationName:"order"},Sort:{location:"querystring",locationName:"sort"},Marker:{location:"querystring",locationName:"marker"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Fields:{location:"querystring",locationName:"fields"}}},output:{type:"structure",members:{Users:{type:"list",member:{shape:"S8"}},TotalNumberOfUsers:{deprecated:!0,type:"long"},Marker:{}}}},GetCurrentUser:{http:{method:"GET",requestUri:"/api/v1/me",responseCode:200},input:{type:"structure",required:["AuthenticationToken"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}},output:{type:"structure",members:{User:{shape:"S8"}}}},GetDocument:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}",responseCode:200},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},IncludeCustomMetadata:{location:"querystring",locationName:"includeCustomMetadata",type:"boolean"}}},output:{type:"structure",members:{Metadata:{shape:"S39"},CustomMetadata:{shape:"S16"}}}},GetDocumentPath:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}/path",responseCode:200},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Fields:{location:"querystring",locationName:"fields"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Path:{shape:"S42"}}}},GetDocumentVersion:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}",responseCode:200},input:{type:"structure",required:["DocumentId","VersionId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},Fields:{location:"querystring",locationName:"fields"},IncludeCustomMetadata:{location:"querystring",locationName:"includeCustomMetadata",type:"boolean"}}},output:{type:"structure",members:{Metadata:{shape:"S2u"},CustomMetadata:{shape:"S16"}}}},GetFolder:{http:{method:"GET",requestUri:"/api/v1/folders/{FolderId}",responseCode:200},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"},IncludeCustomMetadata:{location:"querystring",locationName:"includeCustomMetadata",type:"boolean"}}},output:{type:"structure",members:{Metadata:{shape:"S1d"},CustomMetadata:{shape:"S16"}}}},GetFolderPath:{http:{method:"GET",requestUri:"/api/v1/folders/{FolderId}/path",responseCode:200},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Fields:{location:"querystring",locationName:"fields"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Path:{shape:"S42"}}}},GetResources:{http:{method:"GET",requestUri:"/api/v1/resources",responseCode:200},input:{type:"structure",members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},UserId:{location:"querystring",locationName:"userId"},CollectionType:{location:"querystring",locationName:"collectionType"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Folders:{shape:"S37"},Documents:{shape:"S38"},Marker:{}}}},InitiateDocumentVersionUpload:{http:{requestUri:"/api/v1/documents",responseCode:201},input:{type:"structure",required:["ParentFolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},Id:{},Name:{},ContentCreatedTimestamp:{type:"timestamp"},ContentModifiedTimestamp:{type:"timestamp"},ContentType:{},DocumentSizeInBytes:{type:"long"},ParentFolderId:{}}},output:{type:"structure",members:{Metadata:{shape:"S39"},UploadMetadata:{type:"structure",members:{UploadUrl:{shape:"S2z"},SignedHeaders:{type:"map",key:{},value:{}}}}}}},RemoveAllResourcePermissions:{http:{method:"DELETE",requestUri:"/api/v1/resources/{ResourceId}/permissions",responseCode:204},input:{type:"structure",required:["ResourceId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"}}}},RemoveResourcePermission:{http:{method:"DELETE",requestUri:"/api/v1/resources/{ResourceId}/permissions/{PrincipalId}",responseCode:204},input:{type:"structure",required:["ResourceId","PrincipalId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},PrincipalId:{location:"uri",locationName:"PrincipalId"},PrincipalType:{location:"querystring",locationName:"type"}}}},UpdateDocument:{http:{method:"PATCH",requestUri:"/api/v1/documents/{DocumentId}",responseCode:200},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},Name:{},ParentFolderId:{},ResourceState:{}}}},UpdateDocumentVersion:{http:{method:"PATCH",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}",responseCode:200},input:{type:"structure",required:["DocumentId","VersionId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},VersionStatus:{}}}},UpdateFolder:{http:{method:"PATCH",requestUri:"/api/v1/folders/{FolderId}",responseCode:200},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"},Name:{},ParentFolderId:{},ResourceState:{}}}},UpdateUser:{http:{method:"PATCH",requestUri:"/api/v1/users/{UserId}",responseCode:200},input:{type:"structure",required:["UserId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},UserId:{location:"uri",locationName:"UserId"},GivenName:{},Surname:{},Type:{},StorageRule:{shape:"Sj"},TimeZoneId:{},Locale:{},GrantPoweruserPrivileges:{}}},output:{type:"structure",members:{User:{shape:"S8"}}}}},shapes:{S2:{type:"string",sensitive:!0},S8:{type:"structure",members:{Id:{},Username:{},EmailAddress:{},GivenName:{},Surname:{},OrganizationId:{},RootFolderId:{},RecycleBinFolderId:{},Status:{},Type:{},CreatedTimestamp:{type:"timestamp"},ModifiedTimestamp:{type:"timestamp"},TimeZoneId:{},Locale:{},Storage:{type:"structure",members:{StorageUtilizedInBytes:{type:"long"},StorageRule:{shape:"Sj"}}}}},Sj:{type:"structure",members:{StorageAllocatedInBytes:{type:"long"},StorageType:{}}},St:{type:"string",sensitive:!0},S10:{type:"string",sensitive:!0},S13:{type:"structure",required:["CommentId"],members:{CommentId:{},ParentId:{},ThreadId:{},Text:{shape:"S10"},Contributor:{shape:"S8"},CreatedTimestamp:{type:"timestamp"},Status:{},Visibility:{},RecipientId:{}}},S16:{type:"map",key:{},value:{}},S1d:{type:"structure",members:{Id:{},Name:{},CreatorId:{},ParentFolderId:{},CreatedTimestamp:{type:"timestamp"},ModifiedTimestamp:{type:"timestamp"},ResourceState:{},Signature:{},Labels:{shape:"S1g"},Size:{type:"long"},LatestVersionSize:{type:"long"}}},S1g:{type:"list",member:{}},S1p:{type:"structure",members:{SubscriptionId:{},EndPoint:{},Protocol:{}}},S2d:{type:"structure",members:{Id:{},Username:{},GivenName:{},Surname:{},EmailAddress:{}}},S2g:{type:"list",member:{type:"structure",members:{Id:{},Name:{}}}},S2j:{type:"structure",members:{Type:{},Name:{},OriginalName:{},Id:{},VersionId:{},Owner:{shape:"S2d"},ParentId:{}}},S2u:{type:"structure",members:{Id:{},Name:{},ContentType:{},Size:{type:"long"},Signature:{},Status:{},CreatedTimestamp:{type:"timestamp"},ModifiedTimestamp:{type:"timestamp"},ContentCreatedTimestamp:{type:"timestamp"},ContentModifiedTimestamp:{type:"timestamp"},CreatorId:{},Thumbnail:{type:"map",key:{},value:{shape:"S2z"}},Source:{type:"map",key:{},value:{shape:"S2z"}}}},S2z:{type:"string",sensitive:!0},S37:{type:"list",member:{shape:"S1d"}},S38:{type:"list",member:{shape:"S39"}},S39:{type:"structure",members:{Id:{},CreatorId:{},ParentFolderId:{},CreatedTimestamp:{type:"timestamp"},ModifiedTimestamp:{type:"timestamp"},LatestVersionMetadata:{shape:"S2u"},ResourceState:{},Labels:{shape:"S1g"}}},S3b:{type:"string",sensitive:!0},S42:{type:"structure",members:{Components:{type:"list",member:{type:"structure",members:{Id:{},Name:{}}}}}}}}},{}],237:[function(e,t,r){t.exports={pagination:{DescribeDocumentVersions:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"DocumentVersions"},DescribeFolderContents:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:["Folders","Documents"]},DescribeUsers:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"Users"}}}},{}],238:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-04-12",endpointPrefix:"xray",protocol:"rest-json",serviceFullName:"AWS X-Ray",serviceId:"XRay",signatureVersion:"v4",uid:"xray-2016-04-12"},operations:{BatchGetTraces:{http:{requestUri:"/Traces"},input:{type:"structure",required:["TraceIds"],members:{TraceIds:{shape:"S2"},NextToken:{}}},output:{type:"structure",members:{Traces:{type:"list",member:{type:"structure",members:{Id:{},Duration:{type:"double"},LimitExceeded:{type:"boolean"},Segments:{type:"list",member:{type:"structure",members:{Id:{},Document:{}}}}}}},UnprocessedTraceIds:{type:"list",member:{}},NextToken:{}}}},CreateGroup:{http:{requestUri:"/CreateGroup"},input:{type:"structure",required:["GroupName"],members:{GroupName:{},FilterExpression:{},InsightsConfiguration:{shape:"Si"},Tags:{shape:"Sj"}}},output:{type:"structure",members:{Group:{shape:"So"}}}},CreateSamplingRule:{http:{requestUri:"/CreateSamplingRule"},input:{type:"structure",required:["SamplingRule"],members:{SamplingRule:{shape:"Sq"},Tags:{shape:"Sj"}}},output:{type:"structure",members:{SamplingRuleRecord:{shape:"S16"}}}},DeleteGroup:{http:{requestUri:"/DeleteGroup"},input:{type:"structure",members:{GroupName:{},GroupARN:{}}},output:{type:"structure",members:{}}},DeleteSamplingRule:{http:{requestUri:"/DeleteSamplingRule"},input:{type:"structure",members:{RuleName:{},RuleARN:{}}},output:{type:"structure",members:{SamplingRuleRecord:{shape:"S16"}}}},GetEncryptionConfig:{http:{requestUri:"/EncryptionConfig"},input:{type:"structure",members:{}},output:{type:"structure",members:{EncryptionConfig:{shape:"S1f"}}}},GetGroup:{http:{requestUri:"/GetGroup"},input:{type:"structure",members:{GroupName:{},GroupARN:{}}},output:{type:"structure",members:{Group:{shape:"So"}}}},GetGroups:{http:{requestUri:"/Groups"},input:{type:"structure",members:{NextToken:{}}},output:{type:"structure",members:{Groups:{type:"list",member:{type:"structure",members:{GroupName:{},GroupARN:{},FilterExpression:{},InsightsConfiguration:{shape:"Si"}}}},NextToken:{}}}},GetInsight:{http:{requestUri:"/Insight"},input:{type:"structure",required:["InsightId"],members:{InsightId:{}}},output:{type:"structure",members:{Insight:{type:"structure",members:{InsightId:{},GroupARN:{},GroupName:{},RootCauseServiceId:{shape:"S1t"},Categories:{shape:"S1v"},State:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Summary:{},ClientRequestImpactStatistics:{shape:"S1z"},RootCauseServiceRequestImpactStatistics:{shape:"S1z"},TopAnomalousServices:{shape:"S21"}}}}}},GetInsightEvents:{http:{requestUri:"/InsightEvents"},input:{type:"structure",required:["InsightId"],members:{InsightId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InsightEvents:{type:"list",member:{type:"structure",members:{Summary:{},EventTime:{type:"timestamp"},ClientRequestImpactStatistics:{shape:"S1z"},RootCauseServiceRequestImpactStatistics:{shape:"S1z"},TopAnomalousServices:{shape:"S21"}}}},NextToken:{}}}},GetInsightImpactGraph:{http:{requestUri:"/InsightImpactGraph"},input:{type:"structure",required:["InsightId","StartTime","EndTime"],members:{InsightId:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},NextToken:{}}},output:{type:"structure",members:{InsightId:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},ServiceGraphStartTime:{type:"timestamp"},ServiceGraphEndTime:{type:"timestamp"},Services:{type:"list",member:{type:"structure",members:{ReferenceId:{type:"integer"},Type:{},Name:{},Names:{shape:"S1u"},AccountId:{},Edges:{type:"list",member:{type:"structure",members:{ReferenceId:{type:"integer"}}}}}}},NextToken:{}}}},GetInsightSummaries:{http:{requestUri:"/InsightSummaries"},input:{type:"structure",required:["StartTime","EndTime"],members:{States:{type:"list",member:{}},GroupARN:{},GroupName:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InsightSummaries:{type:"list",member:{type:"structure",members:{InsightId:{},GroupARN:{},GroupName:{},RootCauseServiceId:{shape:"S1t"},Categories:{shape:"S1v"},State:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Summary:{},ClientRequestImpactStatistics:{shape:"S1z"},RootCauseServiceRequestImpactStatistics:{shape:"S1z"},TopAnomalousServices:{shape:"S21"},LastUpdateTime:{type:"timestamp"}}}},NextToken:{}}}},GetSamplingRules:{http:{requestUri:"/GetSamplingRules"},input:{type:"structure",members:{NextToken:{}}},output:{type:"structure",members:{SamplingRuleRecords:{type:"list",member:{shape:"S16"}},NextToken:{}}}},GetSamplingStatisticSummaries:{http:{requestUri:"/SamplingStatisticSummaries"},input:{type:"structure",members:{NextToken:{}}},output:{type:"structure",members:{SamplingStatisticSummaries:{type:"list",member:{type:"structure",members:{RuleName:{},Timestamp:{type:"timestamp"},RequestCount:{type:"integer"},BorrowCount:{type:"integer"},SampledCount:{type:"integer"}}}},NextToken:{}}}},GetSamplingTargets:{http:{requestUri:"/SamplingTargets"},input:{type:"structure",required:["SamplingStatisticsDocuments"],members:{SamplingStatisticsDocuments:{type:"list",member:{type:"structure",required:["RuleName","ClientID","Timestamp","RequestCount","SampledCount"],members:{RuleName:{},ClientID:{},Timestamp:{type:"timestamp"},RequestCount:{type:"integer"},SampledCount:{type:"integer"},BorrowCount:{type:"integer"}}}}}},output:{type:"structure",members:{SamplingTargetDocuments:{type:"list",member:{type:"structure",members:{RuleName:{},FixedRate:{type:"double"},ReservoirQuota:{type:"integer"},ReservoirQuotaTTL:{type:"timestamp"},Interval:{type:"integer"}}}},LastRuleModification:{type:"timestamp"},UnprocessedStatistics:{type:"list",member:{type:"structure",members:{RuleName:{},ErrorCode:{},Message:{}}}}}}},GetServiceGraph:{http:{requestUri:"/ServiceGraph"},input:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},GroupName:{},GroupARN:{},NextToken:{}}},output:{type:"structure",members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Services:{shape:"S3a"},ContainsOldGroupVersions:{type:"boolean"},NextToken:{}}}},GetTimeSeriesServiceStatistics:{http:{requestUri:"/TimeSeriesServiceStatistics"},input:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},GroupName:{},GroupARN:{},EntitySelectorExpression:{},Period:{type:"integer"},ForecastStatistics:{type:"boolean"},NextToken:{}}},output:{type:"structure",members:{TimeSeriesServiceStatistics:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},EdgeSummaryStatistics:{shape:"S3e"},ServiceSummaryStatistics:{shape:"S3m"},ServiceForecastStatistics:{type:"structure",members:{FaultCountHigh:{type:"long"},FaultCountLow:{type:"long"}}},ResponseTimeHistogram:{shape:"S3h"}}}},ContainsOldGroupVersions:{type:"boolean"},NextToken:{}}}},GetTraceGraph:{http:{requestUri:"/TraceGraph"},input:{type:"structure",required:["TraceIds"],members:{TraceIds:{shape:"S2"},NextToken:{}}},output:{type:"structure",members:{Services:{shape:"S3a"},NextToken:{}}}},GetTraceSummaries:{http:{requestUri:"/TraceSummaries"},input:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},TimeRangeType:{},Sampling:{type:"boolean"},SamplingStrategy:{type:"structure",members:{Name:{},Value:{type:"double"}}},FilterExpression:{},NextToken:{}}},output:{type:"structure",members:{TraceSummaries:{type:"list",member:{type:"structure",members:{Id:{},Duration:{type:"double"},ResponseTime:{type:"double"},HasFault:{type:"boolean"},HasError:{type:"boolean"},HasThrottle:{type:"boolean"},IsPartial:{type:"boolean"},Http:{type:"structure",members:{HttpURL:{},HttpStatus:{type:"integer"},HttpMethod:{},UserAgent:{},ClientIp:{}}},Annotations:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{AnnotationValue:{type:"structure",members:{NumberValue:{type:"double"},BooleanValue:{type:"boolean"},StringValue:{}}},ServiceIds:{shape:"S49"}}}}},Users:{type:"list",member:{type:"structure",members:{UserName:{},ServiceIds:{shape:"S49"}}}},ServiceIds:{shape:"S49"},ResourceARNs:{type:"list",member:{type:"structure",members:{ARN:{}}}},InstanceIds:{type:"list",member:{type:"structure",members:{Id:{}}}},AvailabilityZones:{type:"list",member:{type:"structure",members:{Name:{}}}},EntryPoint:{shape:"S1t"},FaultRootCauses:{type:"list",member:{type:"structure",members:{Services:{type:"list",member:{type:"structure",members:{Name:{},Names:{shape:"S1u"},Type:{},AccountId:{},EntityPath:{type:"list",member:{type:"structure",members:{Name:{},Exceptions:{shape:"S4o"},Remote:{type:"boolean"}}}},Inferred:{type:"boolean"}}}},ClientImpacting:{type:"boolean"}}}},ErrorRootCauses:{type:"list",member:{type:"structure",members:{Services:{type:"list",member:{type:"structure",members:{Name:{},Names:{shape:"S1u"},Type:{},AccountId:{},EntityPath:{type:"list",member:{type:"structure",members:{Name:{},Exceptions:{shape:"S4o"},Remote:{type:"boolean"}}}},Inferred:{type:"boolean"}}}},ClientImpacting:{type:"boolean"}}}},ResponseTimeRootCauses:{type:"list",member:{type:"structure",members:{Services:{type:"list",member:{type:"structure",members:{Name:{},Names:{shape:"S1u"},Type:{},AccountId:{},EntityPath:{type:"list",member:{type:"structure",members:{Name:{},Coverage:{type:"double"},Remote:{type:"boolean"}}}},Inferred:{type:"boolean"}}}},ClientImpacting:{type:"boolean"}}}},Revision:{type:"integer"},MatchedEventTime:{type:"timestamp"}}}},ApproximateTime:{type:"timestamp"},TracesProcessedCount:{type:"long"},NextToken:{}}}},ListTagsForResource:{http:{requestUri:"/ListTagsForResource"},input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{},NextToken:{}}},output:{type:"structure",members:{Tags:{shape:"Sj"},NextToken:{}}}},PutEncryptionConfig:{http:{requestUri:"/PutEncryptionConfig"},input:{type:"structure",required:["Type"],members:{KeyId:{},Type:{}}},output:{type:"structure",members:{EncryptionConfig:{shape:"S1f"}}}},PutTelemetryRecords:{http:{requestUri:"/TelemetryRecords"},input:{type:"structure",required:["TelemetryRecords"],members:{TelemetryRecords:{type:"list",member:{type:"structure",required:["Timestamp"],members:{Timestamp:{type:"timestamp"},SegmentsReceivedCount:{type:"integer"},SegmentsSentCount:{type:"integer"},SegmentsSpilloverCount:{type:"integer"},SegmentsRejectedCount:{type:"integer"},BackendConnectionErrors:{type:"structure",members:{TimeoutCount:{type:"integer"},ConnectionRefusedCount:{type:"integer"},HTTPCode4XXCount:{type:"integer"},HTTPCode5XXCount:{type:"integer"},UnknownHostCount:{type:"integer"},OtherCount:{type:"integer"}}}}}},EC2InstanceId:{},Hostname:{},ResourceARN:{}}},output:{type:"structure",members:{}}},PutTraceSegments:{http:{requestUri:"/TraceSegments"},input:{type:"structure",required:["TraceSegmentDocuments"],members:{TraceSegmentDocuments:{type:"list",member:{}}}},output:{type:"structure",members:{UnprocessedTraceSegments:{type:"list",member:{type:"structure",members:{Id:{},ErrorCode:{},Message:{}}}}}}},TagResource:{http:{requestUri:"/TagResource"},input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"Sj"}}},output:{type:"structure",members:{}}},UntagResource:{http:{requestUri:"/UntagResource"},input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateGroup:{http:{requestUri:"/UpdateGroup"},input:{type:"structure",members:{GroupName:{},GroupARN:{},FilterExpression:{},InsightsConfiguration:{shape:"Si"}}},output:{type:"structure",members:{Group:{shape:"So"}}}},UpdateSamplingRule:{http:{requestUri:"/UpdateSamplingRule"},input:{type:"structure",required:["SamplingRuleUpdate"],members:{SamplingRuleUpdate:{type:"structure",members:{RuleName:{},RuleARN:{},ResourceARN:{},Priority:{type:"integer"},FixedRate:{type:"double"},ReservoirSize:{type:"integer"},Host:{},ServiceName:{},ServiceType:{},HTTPMethod:{},URLPath:{},Attributes:{shape:"S12"}}}}},output:{type:"structure",members:{SamplingRuleRecord:{shape:"S16"}}}}},shapes:{S2:{type:"list",member:{}},Si:{type:"structure",members:{InsightsEnabled:{type:"boolean"},NotificationsEnabled:{type:"boolean"}}},Sj:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},So:{type:"structure",members:{GroupName:{},GroupARN:{},FilterExpression:{},InsightsConfiguration:{shape:"Si"}}},Sq:{type:"structure",required:["ResourceARN","Priority","FixedRate","ReservoirSize","ServiceName","ServiceType","Host","HTTPMethod","URLPath","Version"],members:{RuleName:{},RuleARN:{},ResourceARN:{},Priority:{type:"integer"},FixedRate:{type:"double"},ReservoirSize:{type:"integer"},ServiceName:{},ServiceType:{},Host:{},HTTPMethod:{},URLPath:{},Version:{type:"integer"},Attributes:{shape:"S12"}}},S12:{type:"map",key:{},value:{}},S16:{type:"structure",members:{SamplingRule:{shape:"Sq"},CreatedAt:{type:"timestamp"},ModifiedAt:{type:"timestamp"}}},S1f:{type:"structure",members:{KeyId:{},Status:{},Type:{}}},S1t:{type:"structure",members:{Name:{},Names:{shape:"S1u"},AccountId:{},Type:{}}},S1u:{type:"list",member:{}},S1v:{type:"list",member:{}},S1z:{type:"structure",members:{FaultCount:{type:"long"},OkCount:{type:"long"},TotalCount:{type:"long"}}},S21:{type:"list",member:{type:"structure",members:{ServiceId:{shape:"S1t"}}}},S3a:{type:"list",member:{type:"structure",members:{ReferenceId:{type:"integer"},Name:{},Names:{shape:"S1u"},Root:{type:"boolean"},AccountId:{},Type:{},State:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Edges:{type:"list",member:{type:"structure",members:{ReferenceId:{type:"integer"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},SummaryStatistics:{shape:"S3e"},ResponseTimeHistogram:{shape:"S3h"},Aliases:{type:"list",member:{type:"structure",members:{Name:{},Names:{type:"list",member:{}},Type:{}}}}}}},SummaryStatistics:{shape:"S3m"},DurationHistogram:{shape:"S3h"},ResponseTimeHistogram:{shape:"S3h"}}}},S3e:{type:"structure",members:{OkCount:{type:"long"},ErrorStatistics:{shape:"S3f"},FaultStatistics:{shape:"S3g"},TotalCount:{type:"long"},TotalResponseTime:{type:"double"}}},S3f:{type:"structure",members:{ThrottleCount:{type:"long"},OtherCount:{type:"long"},TotalCount:{type:"long"}}},S3g:{type:"structure",members:{OtherCount:{type:"long"},TotalCount:{type:"long"}}},S3h:{type:"list",member:{type:"structure",members:{Value:{type:"double"},Count:{type:"integer"}}}},S3m:{type:"structure",members:{OkCount:{type:"long"},ErrorStatistics:{shape:"S3f"},FaultStatistics:{shape:"S3g"},TotalCount:{type:"long"},TotalResponseTime:{type:"double"}}},S49:{type:"list",member:{shape:"S1t"}},S4o:{type:"list",member:{type:"structure",members:{Name:{},Message:{}}}}}}},{}],239:[function(e,t,r){t.exports={pagination:{BatchGetTraces:{input_token:"NextToken",output_token:"NextToken",result_key:"Traces"},GetGroups:{input_token:"NextToken",output_token:"NextToken",result_key:"Groups"},GetInsightEvents:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetInsightSummaries:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetSamplingRules:{input_token:"NextToken",output_token:"NextToken",result_key:"SamplingRuleRecords"},GetSamplingStatisticSummaries:{input_token:"NextToken",output_token:"NextToken",result_key:"SamplingStatisticSummaries"},GetServiceGraph:{input_token:"NextToken",output_token:"NextToken",result_key:"Services"},GetTimeSeriesServiceStatistics:{input_token:"NextToken",output_token:"NextToken",result_key:"TimeSeriesServiceStatistics"},GetTraceGraph:{input_token:"NextToken",output_token:"NextToken",result_key:"Services"},GetTraceSummaries:{input_token:"NextToken",output_token:"NextToken",result_key:"TraceSummaries"}}}},{}],240:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.acm={},i.ACM=a.defineService("acm",["2015-12-08"]),Object.defineProperty(s.services.acm,"2015-12-08",{get:function(){var t=e("../apis/acm-2015-12-08.min.json");return t.paginators=e("../apis/acm-2015-12-08.paginators.json").pagination,t.waiters=e("../apis/acm-2015-12-08.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ACM},{"../apis/acm-2015-12-08.min.json":1,"../apis/acm-2015-12-08.paginators.json":2,"../apis/acm-2015-12-08.waiters2.json":3,"../lib/core":342,"../lib/node_loader":338}],241:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.apigateway={},i.APIGateway=a.defineService("apigateway",["2015-07-09"]),e("../lib/services/apigateway"),Object.defineProperty(s.services.apigateway,"2015-07-09",{get:function(){var t=e("../apis/apigateway-2015-07-09.min.json");return t.paginators=e("../apis/apigateway-2015-07-09.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.APIGateway},{"../apis/apigateway-2015-07-09.min.json":4,"../apis/apigateway-2015-07-09.paginators.json":5,"../lib/core":342,"../lib/node_loader":338,"../lib/services/apigateway":394}],242:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.applicationautoscaling={},i.ApplicationAutoScaling=a.defineService("applicationautoscaling",["2016-02-06"]),Object.defineProperty(s.services.applicationautoscaling,"2016-02-06",{get:function(){var t=e("../apis/application-autoscaling-2016-02-06.min.json");return t.paginators=e("../apis/application-autoscaling-2016-02-06.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ApplicationAutoScaling},{"../apis/application-autoscaling-2016-02-06.min.json":6,"../apis/application-autoscaling-2016-02-06.paginators.json":7,"../lib/core":342,"../lib/node_loader":338}],243:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.athena={},i.Athena=a.defineService("athena",["2017-05-18"]),Object.defineProperty(s.services.athena,"2017-05-18",{get:function(){var t=e("../apis/athena-2017-05-18.min.json");return t.paginators=e("../apis/athena-2017-05-18.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Athena},{"../apis/athena-2017-05-18.min.json":8,"../apis/athena-2017-05-18.paginators.json":9,"../lib/core":342,"../lib/node_loader":338}],244:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.autoscaling={},i.AutoScaling=a.defineService("autoscaling",["2011-01-01"]),Object.defineProperty(s.services.autoscaling,"2011-01-01",{get:function(){var t=e("../apis/autoscaling-2011-01-01.min.json");return t.paginators=e("../apis/autoscaling-2011-01-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.AutoScaling},{"../apis/autoscaling-2011-01-01.min.json":10,"../apis/autoscaling-2011-01-01.paginators.json":11,"../lib/core":342,"../lib/node_loader":338}],245:[function(e,t,r){e("../lib/node_loader"),t.exports={ACM:e("./acm"),APIGateway:e("./apigateway"),ApplicationAutoScaling:e("./applicationautoscaling"),AutoScaling:e("./autoscaling"),CloudFormation:e("./cloudformation"),CloudFront:e("./cloudfront"),CloudHSM:e("./cloudhsm"),CloudTrail:e("./cloudtrail"),CloudWatch:e("./cloudwatch"),CloudWatchEvents:e("./cloudwatchevents"),CloudWatchLogs:e("./cloudwatchlogs"),CodeBuild:e("./codebuild"),CodeCommit:e("./codecommit"),CodeDeploy:e("./codedeploy"),CodePipeline:e("./codepipeline"),CognitoIdentity:e("./cognitoidentity"),CognitoIdentityServiceProvider:e("./cognitoidentityserviceprovider"),CognitoSync:e("./cognitosync"),ConfigService:e("./configservice"),CUR:e("./cur"),DeviceFarm:e("./devicefarm"),DirectConnect:e("./directconnect"),DynamoDB:e("./dynamodb"),DynamoDBStreams:e("./dynamodbstreams"),EC2:e("./ec2"),ECR:e("./ecr"),ECS:e("./ecs"),EFS:e("./efs"),ElastiCache:e("./elasticache"),ElasticBeanstalk:e("./elasticbeanstalk"),ELB:e("./elb"),ELBv2:e("./elbv2"),EMR:e("./emr"),ElasticTranscoder:e("./elastictranscoder"),Firehose:e("./firehose"),GameLift:e("./gamelift"),IAM:e("./iam"),Inspector:e("./inspector"),Iot:e("./iot"),IotData:e("./iotdata"),Kinesis:e("./kinesis"),KMS:e("./kms"),Lambda:e("./lambda"),LexRuntime:e("./lexruntime"),MachineLearning:e("./machinelearning"),MarketplaceCommerceAnalytics:e("./marketplacecommerceanalytics"),MTurk:e("./mturk"),MobileAnalytics:e("./mobileanalytics"),OpsWorks:e("./opsworks"),Polly:e("./polly"),RDS:e("./rds"),Redshift:e("./redshift"),Rekognition:e("./rekognition"),Route53:e("./route53"),Route53Domains:e("./route53domains"),S3:e("./s3"),ServiceCatalog:e("./servicecatalog"),SES:e("./ses"),SNS:e("./sns"),SQS:e("./sqs"),SSM:e("./ssm"),StorageGateway:e("./storagegateway"),STS:e("./sts"),XRay:e("./xray"),WAF:e("./waf"),WorkDocs:e("./workdocs"),LexModelBuildingService:e("./lexmodelbuildingservice"),Athena:e("./athena"),CloudHSMV2:e("./cloudhsmv2"),Pricing:e("./pricing"),CostExplorer:e("./costexplorer"),MediaStoreData:e("./mediastoredata"),Comprehend:e("./comprehend"),KinesisVideoArchivedMedia:e("./kinesisvideoarchivedmedia"),KinesisVideoMedia:e("./kinesisvideomedia"),KinesisVideo:e("./kinesisvideo"),Translate:e("./translate"),ResourceGroups:e("./resourcegroups"),Connect:e("./connect"),SecretsManager:e("./secretsmanager"),IoTAnalytics:e("./iotanalytics"),ComprehendMedical:e("./comprehendmedical"),Personalize:e("./personalize"),PersonalizeEvents:e("./personalizeevents"),PersonalizeRuntime:e("./personalizeruntime"),ForecastService:e("./forecastservice"),ForecastQueryService:e("./forecastqueryservice"),KinesisVideoSignalingChannels:e("./kinesisvideosignalingchannels"),Location:e("./location"),LexRuntimeV2:e("./lexruntimev2")}},{"../lib/node_loader":338,"./acm":240,"./apigateway":241,"./applicationautoscaling":242,"./athena":243,"./autoscaling":244,"./cloudformation":246,"./cloudfront":247, -"./cloudhsm":248,"./cloudhsmv2":249,"./cloudtrail":250,"./cloudwatch":251,"./cloudwatchevents":252,"./cloudwatchlogs":253,"./codebuild":254,"./codecommit":255,"./codedeploy":256,"./codepipeline":257,"./cognitoidentity":258,"./cognitoidentityserviceprovider":259,"./cognitosync":260,"./comprehend":261,"./comprehendmedical":262,"./configservice":263,"./connect":264,"./costexplorer":265,"./cur":266,"./devicefarm":267,"./directconnect":268,"./dynamodb":269,"./dynamodbstreams":270,"./ec2":271,"./ecr":272,"./ecs":273,"./efs":274,"./elasticache":275,"./elasticbeanstalk":276,"./elastictranscoder":277,"./elb":278,"./elbv2":279,"./emr":280,"./firehose":281,"./forecastqueryservice":282,"./forecastservice":283,"./gamelift":284,"./iam":285,"./inspector":286,"./iot":287,"./iotanalytics":288,"./iotdata":289,"./kinesis":290,"./kinesisvideo":291,"./kinesisvideoarchivedmedia":292,"./kinesisvideomedia":293,"./kinesisvideosignalingchannels":294,"./kms":295,"./lambda":296,"./lexmodelbuildingservice":297,"./lexruntime":298,"./lexruntimev2":299,"./location":300,"./machinelearning":301,"./marketplacecommerceanalytics":302,"./mediastoredata":303,"./mobileanalytics":304,"./mturk":305,"./opsworks":306,"./personalize":307,"./personalizeevents":308,"./personalizeruntime":309,"./polly":310,"./pricing":311,"./rds":312,"./redshift":313,"./rekognition":314,"./resourcegroups":315,"./route53":316,"./route53domains":317,"./s3":318,"./secretsmanager":319,"./servicecatalog":320,"./ses":321,"./sns":322,"./sqs":323,"./ssm":324,"./storagegateway":325,"./sts":326,"./translate":327,"./waf":328,"./workdocs":329,"./xray":330}],246:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudformation={},i.CloudFormation=a.defineService("cloudformation",["2010-05-15"]),Object.defineProperty(s.services.cloudformation,"2010-05-15",{get:function(){var t=e("../apis/cloudformation-2010-05-15.min.json");return t.paginators=e("../apis/cloudformation-2010-05-15.paginators.json").pagination,t.waiters=e("../apis/cloudformation-2010-05-15.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.CloudFormation},{"../apis/cloudformation-2010-05-15.min.json":14,"../apis/cloudformation-2010-05-15.paginators.json":15,"../apis/cloudformation-2010-05-15.waiters2.json":16,"../lib/core":342,"../lib/node_loader":338}],247:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudfront={},i.CloudFront=a.defineService("cloudfront",["2013-05-12*","2013-11-11*","2014-05-31*","2014-10-21*","2014-11-06*","2015-04-17*","2015-07-27*","2015-09-17*","2016-01-13*","2016-01-28*","2016-08-01*","2016-08-20*","2016-09-07*","2016-09-29*","2016-11-25","2016-11-25*","2017-03-25","2017-03-25*","2017-10-30","2017-10-30*","2018-06-18","2018-06-18*","2018-11-05","2018-11-05*","2019-03-26","2019-03-26*","2020-05-31"]),e("../lib/services/cloudfront"),Object.defineProperty(s.services.cloudfront,"2016-11-25",{get:function(){var t=e("../apis/cloudfront-2016-11-25.min.json");return t.paginators=e("../apis/cloudfront-2016-11-25.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2016-11-25.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2017-03-25",{get:function(){var t=e("../apis/cloudfront-2017-03-25.min.json");return t.paginators=e("../apis/cloudfront-2017-03-25.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2017-03-25.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2017-10-30",{get:function(){var t=e("../apis/cloudfront-2017-10-30.min.json");return t.paginators=e("../apis/cloudfront-2017-10-30.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2017-10-30.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2018-06-18",{get:function(){var t=e("../apis/cloudfront-2018-06-18.min.json");return t.paginators=e("../apis/cloudfront-2018-06-18.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2018-06-18.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2018-11-05",{get:function(){var t=e("../apis/cloudfront-2018-11-05.min.json");return t.paginators=e("../apis/cloudfront-2018-11-05.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2018-11-05.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2019-03-26",{get:function(){var t=e("../apis/cloudfront-2019-03-26.min.json");return t.paginators=e("../apis/cloudfront-2019-03-26.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2019-03-26.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2020-05-31",{get:function(){var t=e("../apis/cloudfront-2020-05-31.min.json");return t.paginators=e("../apis/cloudfront-2020-05-31.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2020-05-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.CloudFront},{"../apis/cloudfront-2016-11-25.min.json":17,"../apis/cloudfront-2016-11-25.paginators.json":18,"../apis/cloudfront-2016-11-25.waiters2.json":19,"../apis/cloudfront-2017-03-25.min.json":20,"../apis/cloudfront-2017-03-25.paginators.json":21,"../apis/cloudfront-2017-03-25.waiters2.json":22,"../apis/cloudfront-2017-10-30.min.json":23,"../apis/cloudfront-2017-10-30.paginators.json":24,"../apis/cloudfront-2017-10-30.waiters2.json":25,"../apis/cloudfront-2018-06-18.min.json":26,"../apis/cloudfront-2018-06-18.paginators.json":27,"../apis/cloudfront-2018-06-18.waiters2.json":28,"../apis/cloudfront-2018-11-05.min.json":29,"../apis/cloudfront-2018-11-05.paginators.json":30,"../apis/cloudfront-2018-11-05.waiters2.json":31,"../apis/cloudfront-2019-03-26.min.json":32,"../apis/cloudfront-2019-03-26.paginators.json":33,"../apis/cloudfront-2019-03-26.waiters2.json":34,"../apis/cloudfront-2020-05-31.min.json":35,"../apis/cloudfront-2020-05-31.paginators.json":36,"../apis/cloudfront-2020-05-31.waiters2.json":37,"../lib/core":342,"../lib/node_loader":338,"../lib/services/cloudfront":395}],248:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudhsm={},i.CloudHSM=a.defineService("cloudhsm",["2014-05-30"]),Object.defineProperty(s.services.cloudhsm,"2014-05-30",{get:function(){var t=e("../apis/cloudhsm-2014-05-30.min.json");return t.paginators=e("../apis/cloudhsm-2014-05-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudHSM},{"../apis/cloudhsm-2014-05-30.min.json":38,"../apis/cloudhsm-2014-05-30.paginators.json":39,"../lib/core":342,"../lib/node_loader":338}],249:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudhsmv2={},i.CloudHSMV2=a.defineService("cloudhsmv2",["2017-04-28"]),Object.defineProperty(s.services.cloudhsmv2,"2017-04-28",{get:function(){var t=e("../apis/cloudhsmv2-2017-04-28.min.json");return t.paginators=e("../apis/cloudhsmv2-2017-04-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudHSMV2},{"../apis/cloudhsmv2-2017-04-28.min.json":40,"../apis/cloudhsmv2-2017-04-28.paginators.json":41,"../lib/core":342,"../lib/node_loader":338}],250:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudtrail={},i.CloudTrail=a.defineService("cloudtrail",["2013-11-01"]),Object.defineProperty(s.services.cloudtrail,"2013-11-01",{get:function(){var t=e("../apis/cloudtrail-2013-11-01.min.json");return t.paginators=e("../apis/cloudtrail-2013-11-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudTrail},{"../apis/cloudtrail-2013-11-01.min.json":42,"../apis/cloudtrail-2013-11-01.paginators.json":43,"../lib/core":342,"../lib/node_loader":338}],251:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudwatch={},i.CloudWatch=a.defineService("cloudwatch",["2010-08-01"]),Object.defineProperty(s.services.cloudwatch,"2010-08-01",{get:function(){var t=e("../apis/monitoring-2010-08-01.min.json");return t.paginators=e("../apis/monitoring-2010-08-01.paginators.json").pagination,t.waiters=e("../apis/monitoring-2010-08-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.CloudWatch},{"../apis/monitoring-2010-08-01.min.json":165,"../apis/monitoring-2010-08-01.paginators.json":166,"../apis/monitoring-2010-08-01.waiters2.json":167,"../lib/core":342,"../lib/node_loader":338}],252:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudwatchevents={},i.CloudWatchEvents=a.defineService("cloudwatchevents",["2014-02-03*","2015-10-07"]),Object.defineProperty(s.services.cloudwatchevents,"2015-10-07",{get:function(){var t=e("../apis/events-2015-10-07.min.json");return t.paginators=e("../apis/events-2015-10-07.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudWatchEvents},{"../apis/events-2015-10-07.min.json":111,"../apis/events-2015-10-07.paginators.json":112,"../lib/core":342,"../lib/node_loader":338}],253:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudwatchlogs={},i.CloudWatchLogs=a.defineService("cloudwatchlogs",["2014-03-28"]),Object.defineProperty(s.services.cloudwatchlogs,"2014-03-28",{get:function(){var t=e("../apis/logs-2014-03-28.min.json");return t.paginators=e("../apis/logs-2014-03-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudWatchLogs},{"../apis/logs-2014-03-28.min.json":154,"../apis/logs-2014-03-28.paginators.json":155,"../lib/core":342,"../lib/node_loader":338}],254:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.codebuild={},i.CodeBuild=a.defineService("codebuild",["2016-10-06"]),Object.defineProperty(s.services.codebuild,"2016-10-06",{get:function(){var t=e("../apis/codebuild-2016-10-06.min.json");return t.paginators=e("../apis/codebuild-2016-10-06.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CodeBuild},{"../apis/codebuild-2016-10-06.min.json":44,"../apis/codebuild-2016-10-06.paginators.json":45,"../lib/core":342,"../lib/node_loader":338}],255:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.codecommit={},i.CodeCommit=a.defineService("codecommit",["2015-04-13"]),Object.defineProperty(s.services.codecommit,"2015-04-13",{get:function(){var t=e("../apis/codecommit-2015-04-13.min.json");return t.paginators=e("../apis/codecommit-2015-04-13.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CodeCommit},{"../apis/codecommit-2015-04-13.min.json":46,"../apis/codecommit-2015-04-13.paginators.json":47,"../lib/core":342,"../lib/node_loader":338}],256:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.codedeploy={},i.CodeDeploy=a.defineService("codedeploy",["2014-10-06"]),Object.defineProperty(s.services.codedeploy,"2014-10-06",{get:function(){var t=e("../apis/codedeploy-2014-10-06.min.json");return t.paginators=e("../apis/codedeploy-2014-10-06.paginators.json").pagination,t.waiters=e("../apis/codedeploy-2014-10-06.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.CodeDeploy},{"../apis/codedeploy-2014-10-06.min.json":48,"../apis/codedeploy-2014-10-06.paginators.json":49,"../apis/codedeploy-2014-10-06.waiters2.json":50,"../lib/core":342,"../lib/node_loader":338}],257:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.codepipeline={},i.CodePipeline=a.defineService("codepipeline",["2015-07-09"]),Object.defineProperty(s.services.codepipeline,"2015-07-09",{get:function(){var t=e("../apis/codepipeline-2015-07-09.min.json");return t.paginators=e("../apis/codepipeline-2015-07-09.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CodePipeline},{"../apis/codepipeline-2015-07-09.min.json":51,"../apis/codepipeline-2015-07-09.paginators.json":52,"../lib/core":342,"../lib/node_loader":338}],258:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cognitoidentity={},i.CognitoIdentity=a.defineService("cognitoidentity",["2014-06-30"]),Object.defineProperty(s.services.cognitoidentity,"2014-06-30",{get:function(){var t=e("../apis/cognito-identity-2014-06-30.min.json");return t.paginators=e("../apis/cognito-identity-2014-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CognitoIdentity},{"../apis/cognito-identity-2014-06-30.min.json":53,"../apis/cognito-identity-2014-06-30.paginators.json":54,"../lib/core":342,"../lib/node_loader":338}],259:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cognitoidentityserviceprovider={},i.CognitoIdentityServiceProvider=a.defineService("cognitoidentityserviceprovider",["2016-04-18"]),Object.defineProperty(s.services.cognitoidentityserviceprovider,"2016-04-18",{get:function(){var t=e("../apis/cognito-idp-2016-04-18.min.json");return t.paginators=e("../apis/cognito-idp-2016-04-18.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CognitoIdentityServiceProvider},{"../apis/cognito-idp-2016-04-18.min.json":55,"../apis/cognito-idp-2016-04-18.paginators.json":56,"../lib/core":342,"../lib/node_loader":338}],260:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cognitosync={},i.CognitoSync=a.defineService("cognitosync",["2014-06-30"]),Object.defineProperty(s.services.cognitosync,"2014-06-30",{get:function(){var t=e("../apis/cognito-sync-2014-06-30.min.json");return t.paginators=e("../apis/cognito-sync-2014-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CognitoSync},{"../apis/cognito-sync-2014-06-30.min.json":57,"../apis/cognito-sync-2014-06-30.paginators.json":58,"../lib/core":342,"../lib/node_loader":338}],261:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.comprehend={},i.Comprehend=a.defineService("comprehend",["2017-11-27"]),Object.defineProperty(s.services.comprehend,"2017-11-27",{get:function(){var t=e("../apis/comprehend-2017-11-27.min.json");return t.paginators=e("../apis/comprehend-2017-11-27.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Comprehend},{"../apis/comprehend-2017-11-27.min.json":59,"../apis/comprehend-2017-11-27.paginators.json":60,"../lib/core":342,"../lib/node_loader":338}],262:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.comprehendmedical={},i.ComprehendMedical=a.defineService("comprehendmedical",["2018-10-30"]),Object.defineProperty(s.services.comprehendmedical,"2018-10-30",{get:function(){var t=e("../apis/comprehendmedical-2018-10-30.min.json");return t.paginators=e("../apis/comprehendmedical-2018-10-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ComprehendMedical},{"../apis/comprehendmedical-2018-10-30.min.json":61,"../apis/comprehendmedical-2018-10-30.paginators.json":62,"../lib/core":342,"../lib/node_loader":338}],263:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.configservice={},i.ConfigService=a.defineService("configservice",["2014-11-12"]),Object.defineProperty(s.services.configservice,"2014-11-12",{get:function(){var t=e("../apis/config-2014-11-12.min.json");return t.paginators=e("../apis/config-2014-11-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ConfigService},{"../apis/config-2014-11-12.min.json":63,"../apis/config-2014-11-12.paginators.json":64,"../lib/core":342,"../lib/node_loader":338}],264:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.connect={},i.Connect=a.defineService("connect",["2017-08-08"]),Object.defineProperty(s.services.connect,"2017-08-08",{get:function(){var t=e("../apis/connect-2017-08-08.min.json");return t.paginators=e("../apis/connect-2017-08-08.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Connect},{"../apis/connect-2017-08-08.min.json":65,"../apis/connect-2017-08-08.paginators.json":66,"../lib/core":342,"../lib/node_loader":338}],265:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.costexplorer={},i.CostExplorer=a.defineService("costexplorer",["2017-10-25"]),Object.defineProperty(s.services.costexplorer,"2017-10-25",{get:function(){var t=e("../apis/ce-2017-10-25.min.json");return t.paginators=e("../apis/ce-2017-10-25.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CostExplorer},{"../apis/ce-2017-10-25.min.json":12,"../apis/ce-2017-10-25.paginators.json":13,"../lib/core":342,"../lib/node_loader":338}],266:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cur={},i.CUR=a.defineService("cur",["2017-01-06"]),Object.defineProperty(s.services.cur,"2017-01-06",{get:function(){var t=e("../apis/cur-2017-01-06.min.json");return t.paginators=e("../apis/cur-2017-01-06.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CUR},{"../apis/cur-2017-01-06.min.json":67,"../apis/cur-2017-01-06.paginators.json":68,"../lib/core":342,"../lib/node_loader":338}],267:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.devicefarm={},i.DeviceFarm=a.defineService("devicefarm",["2015-06-23"]),Object.defineProperty(s.services.devicefarm,"2015-06-23",{get:function(){var t=e("../apis/devicefarm-2015-06-23.min.json");return t.paginators=e("../apis/devicefarm-2015-06-23.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.DeviceFarm},{"../apis/devicefarm-2015-06-23.min.json":69,"../apis/devicefarm-2015-06-23.paginators.json":70,"../lib/core":342,"../lib/node_loader":338}],268:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.directconnect={},i.DirectConnect=a.defineService("directconnect",["2012-10-25"]),Object.defineProperty(s.services.directconnect,"2012-10-25",{get:function(){var t=e("../apis/directconnect-2012-10-25.min.json");return t.paginators=e("../apis/directconnect-2012-10-25.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.DirectConnect},{"../apis/directconnect-2012-10-25.min.json":71,"../apis/directconnect-2012-10-25.paginators.json":72,"../lib/core":342,"../lib/node_loader":338}],269:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.dynamodb={},i.DynamoDB=a.defineService("dynamodb",["2011-12-05","2012-08-10"]),e("../lib/services/dynamodb"),Object.defineProperty(s.services.dynamodb,"2011-12-05",{get:function(){var t=e("../apis/dynamodb-2011-12-05.min.json");return t.paginators=e("../apis/dynamodb-2011-12-05.paginators.json").pagination,t.waiters=e("../apis/dynamodb-2011-12-05.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.dynamodb,"2012-08-10",{get:function(){var t=e("../apis/dynamodb-2012-08-10.min.json");return t.paginators=e("../apis/dynamodb-2012-08-10.paginators.json").pagination,t.waiters=e("../apis/dynamodb-2012-08-10.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.DynamoDB},{"../apis/dynamodb-2011-12-05.min.json":73,"../apis/dynamodb-2011-12-05.paginators.json":74,"../apis/dynamodb-2011-12-05.waiters2.json":75,"../apis/dynamodb-2012-08-10.min.json":76,"../apis/dynamodb-2012-08-10.paginators.json":77,"../apis/dynamodb-2012-08-10.waiters2.json":78,"../lib/core":342,"../lib/node_loader":338,"../lib/services/dynamodb":396}],270:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.dynamodbstreams={},i.DynamoDBStreams=a.defineService("dynamodbstreams",["2012-08-10"]),Object.defineProperty(s.services.dynamodbstreams,"2012-08-10",{get:function(){var t=e("../apis/streams.dynamodb-2012-08-10.min.json");return t.paginators=e("../apis/streams.dynamodb-2012-08-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.DynamoDBStreams},{"../apis/streams.dynamodb-2012-08-10.min.json":228,"../apis/streams.dynamodb-2012-08-10.paginators.json":229,"../lib/core":342,"../lib/node_loader":338}],271:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ec2={},i.EC2=a.defineService("ec2",["2013-06-15*","2013-10-15*","2014-02-01*","2014-05-01*","2014-06-15*","2014-09-01*","2014-10-01*","2015-03-01*","2015-04-15*","2015-10-01*","2016-04-01*","2016-09-15*","2016-11-15"]),e("../lib/services/ec2"),Object.defineProperty(s.services.ec2,"2016-11-15",{get:function(){var t=e("../apis/ec2-2016-11-15.min.json");return t.paginators=e("../apis/ec2-2016-11-15.paginators.json").pagination,t.waiters=e("../apis/ec2-2016-11-15.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.EC2},{"../apis/ec2-2016-11-15.min.json":79,"../apis/ec2-2016-11-15.paginators.json":80,"../apis/ec2-2016-11-15.waiters2.json":81,"../lib/core":342,"../lib/node_loader":338,"../lib/services/ec2":397}],272:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ecr={},i.ECR=a.defineService("ecr",["2015-09-21"]),Object.defineProperty(s.services.ecr,"2015-09-21",{get:function(){var t=e("../apis/ecr-2015-09-21.min.json");return t.paginators=e("../apis/ecr-2015-09-21.paginators.json").pagination,t.waiters=e("../apis/ecr-2015-09-21.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ECR},{"../apis/ecr-2015-09-21.min.json":82,"../apis/ecr-2015-09-21.paginators.json":83,"../apis/ecr-2015-09-21.waiters2.json":84,"../lib/core":342,"../lib/node_loader":338}],273:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ecs={},i.ECS=a.defineService("ecs",["2014-11-13"]),Object.defineProperty(s.services.ecs,"2014-11-13",{get:function(){var t=e("../apis/ecs-2014-11-13.min.json");return t.paginators=e("../apis/ecs-2014-11-13.paginators.json").pagination,t.waiters=e("../apis/ecs-2014-11-13.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ECS},{"../apis/ecs-2014-11-13.min.json":85,"../apis/ecs-2014-11-13.paginators.json":86,"../apis/ecs-2014-11-13.waiters2.json":87,"../lib/core":342,"../lib/node_loader":338}],274:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.efs={},i.EFS=a.defineService("efs",["2015-02-01"]),Object.defineProperty(s.services.efs,"2015-02-01",{get:function(){var t=e("../apis/elasticfilesystem-2015-02-01.min.json");return t.paginators=e("../apis/elasticfilesystem-2015-02-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.EFS},{"../apis/elasticfilesystem-2015-02-01.min.json":94,"../apis/elasticfilesystem-2015-02-01.paginators.json":95,"../lib/core":342,"../lib/node_loader":338}],275:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elasticache={},i.ElastiCache=a.defineService("elasticache",["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*","2015-02-02"]),Object.defineProperty(s.services.elasticache,"2015-02-02",{get:function(){var t=e("../apis/elasticache-2015-02-02.min.json");return t.paginators=e("../apis/elasticache-2015-02-02.paginators.json").pagination,t.waiters=e("../apis/elasticache-2015-02-02.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ElastiCache},{"../apis/elasticache-2015-02-02.min.json":88,"../apis/elasticache-2015-02-02.paginators.json":89,"../apis/elasticache-2015-02-02.waiters2.json":90,"../lib/core":342,"../lib/node_loader":338}],276:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elasticbeanstalk={},i.ElasticBeanstalk=a.defineService("elasticbeanstalk",["2010-12-01"]),Object.defineProperty(s.services.elasticbeanstalk,"2010-12-01",{get:function(){var t=e("../apis/elasticbeanstalk-2010-12-01.min.json");return t.paginators=e("../apis/elasticbeanstalk-2010-12-01.paginators.json").pagination,t.waiters=e("../apis/elasticbeanstalk-2010-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ElasticBeanstalk},{"../apis/elasticbeanstalk-2010-12-01.min.json":91,"../apis/elasticbeanstalk-2010-12-01.paginators.json":92,"../apis/elasticbeanstalk-2010-12-01.waiters2.json":93,"../lib/core":342,"../lib/node_loader":338}],277:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elastictranscoder={},i.ElasticTranscoder=a.defineService("elastictranscoder",["2012-09-25"]),Object.defineProperty(s.services.elastictranscoder,"2012-09-25",{get:function(){var t=e("../apis/elastictranscoder-2012-09-25.min.json");return t.paginators=e("../apis/elastictranscoder-2012-09-25.paginators.json").pagination,t.waiters=e("../apis/elastictranscoder-2012-09-25.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ElasticTranscoder},{"../apis/elastictranscoder-2012-09-25.min.json":105,"../apis/elastictranscoder-2012-09-25.paginators.json":106,"../apis/elastictranscoder-2012-09-25.waiters2.json":107,"../lib/core":342,"../lib/node_loader":338}],278:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elb={},i.ELB=a.defineService("elb",["2012-06-01"]),Object.defineProperty(s.services.elb,"2012-06-01",{get:function(){var t=e("../apis/elasticloadbalancing-2012-06-01.min.json");return t.paginators=e("../apis/elasticloadbalancing-2012-06-01.paginators.json").pagination,t.waiters=e("../apis/elasticloadbalancing-2012-06-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ELB},{"../apis/elasticloadbalancing-2012-06-01.min.json":96,"../apis/elasticloadbalancing-2012-06-01.paginators.json":97,"../apis/elasticloadbalancing-2012-06-01.waiters2.json":98,"../lib/core":342,"../lib/node_loader":338}],279:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elbv2={},i.ELBv2=a.defineService("elbv2",["2015-12-01"]),Object.defineProperty(s.services.elbv2,"2015-12-01",{get:function(){var t=e("../apis/elasticloadbalancingv2-2015-12-01.min.json");return t.paginators=e("../apis/elasticloadbalancingv2-2015-12-01.paginators.json").pagination,t.waiters=e("../apis/elasticloadbalancingv2-2015-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ELBv2},{"../apis/elasticloadbalancingv2-2015-12-01.min.json":99,"../apis/elasticloadbalancingv2-2015-12-01.paginators.json":100,"../apis/elasticloadbalancingv2-2015-12-01.waiters2.json":101,"../lib/core":342,"../lib/node_loader":338}],280:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.emr={},i.EMR=a.defineService("emr",["2009-03-31"]),Object.defineProperty(s.services.emr,"2009-03-31",{get:function(){var t=e("../apis/elasticmapreduce-2009-03-31.min.json");return t.paginators=e("../apis/elasticmapreduce-2009-03-31.paginators.json").pagination,t.waiters=e("../apis/elasticmapreduce-2009-03-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.EMR},{"../apis/elasticmapreduce-2009-03-31.min.json":102,"../apis/elasticmapreduce-2009-03-31.paginators.json":103,"../apis/elasticmapreduce-2009-03-31.waiters2.json":104,"../lib/core":342,"../lib/node_loader":338}],281:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.firehose={},i.Firehose=a.defineService("firehose",["2015-08-04"]),Object.defineProperty(s.services.firehose,"2015-08-04",{get:function(){var t=e("../apis/firehose-2015-08-04.min.json");return t.paginators=e("../apis/firehose-2015-08-04.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Firehose},{"../apis/firehose-2015-08-04.min.json":113,"../apis/firehose-2015-08-04.paginators.json":114,"../lib/core":342,"../lib/node_loader":338}],282:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.forecastqueryservice={},i.ForecastQueryService=a.defineService("forecastqueryservice",["2018-06-26"]),Object.defineProperty(s.services.forecastqueryservice,"2018-06-26",{get:function(){var t=e("../apis/forecastquery-2018-06-26.min.json");return t.paginators=e("../apis/forecastquery-2018-06-26.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ForecastQueryService},{"../apis/forecastquery-2018-06-26.min.json":117,"../apis/forecastquery-2018-06-26.paginators.json":118,"../lib/core":342,"../lib/node_loader":338}],283:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.forecastservice={},i.ForecastService=a.defineService("forecastservice",["2018-06-26"]),Object.defineProperty(s.services.forecastservice,"2018-06-26",{get:function(){var t=e("../apis/forecast-2018-06-26.min.json");return t.paginators=e("../apis/forecast-2018-06-26.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ForecastService},{"../apis/forecast-2018-06-26.min.json":115,"../apis/forecast-2018-06-26.paginators.json":116,"../lib/core":342,"../lib/node_loader":338}],284:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.gamelift={},i.GameLift=a.defineService("gamelift",["2015-10-01"]),Object.defineProperty(s.services.gamelift,"2015-10-01",{get:function(){var t=e("../apis/gamelift-2015-10-01.min.json");return t.paginators=e("../apis/gamelift-2015-10-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.GameLift},{"../apis/gamelift-2015-10-01.min.json":119,"../apis/gamelift-2015-10-01.paginators.json":120,"../lib/core":342,"../lib/node_loader":338}],285:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.iam={},i.IAM=a.defineService("iam",["2010-05-08"]),Object.defineProperty(s.services.iam,"2010-05-08",{get:function(){var t=e("../apis/iam-2010-05-08.min.json");return t.paginators=e("../apis/iam-2010-05-08.paginators.json").pagination,t.waiters=e("../apis/iam-2010-05-08.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.IAM},{"../apis/iam-2010-05-08.min.json":121,"../apis/iam-2010-05-08.paginators.json":122,"../apis/iam-2010-05-08.waiters2.json":123,"../lib/core":342,"../lib/node_loader":338}],286:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.inspector={},i.Inspector=a.defineService("inspector",["2015-08-18*","2016-02-16"]),Object.defineProperty(s.services.inspector,"2016-02-16",{get:function(){var t=e("../apis/inspector-2016-02-16.min.json");return t.paginators=e("../apis/inspector-2016-02-16.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Inspector},{"../apis/inspector-2016-02-16.min.json":124,"../apis/inspector-2016-02-16.paginators.json":125,"../lib/core":342,"../lib/node_loader":338}],287:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.iot={},i.Iot=a.defineService("iot",["2015-05-28"]),Object.defineProperty(s.services.iot,"2015-05-28",{get:function(){var t=e("../apis/iot-2015-05-28.min.json");return t.paginators=e("../apis/iot-2015-05-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Iot},{"../apis/iot-2015-05-28.min.json":126,"../apis/iot-2015-05-28.paginators.json":127,"../lib/core":342,"../lib/node_loader":338}],288:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.iotanalytics={}, -i.IoTAnalytics=a.defineService("iotanalytics",["2017-11-27"]),Object.defineProperty(s.services.iotanalytics,"2017-11-27",{get:function(){var t=e("../apis/iotanalytics-2017-11-27.min.json");return t.paginators=e("../apis/iotanalytics-2017-11-27.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.IoTAnalytics},{"../apis/iotanalytics-2017-11-27.min.json":130,"../apis/iotanalytics-2017-11-27.paginators.json":131,"../lib/core":342,"../lib/node_loader":338}],289:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.iotdata={},i.IotData=a.defineService("iotdata",["2015-05-28"]),e("../lib/services/iotdata"),Object.defineProperty(s.services.iotdata,"2015-05-28",{get:function(){var t=e("../apis/iot-data-2015-05-28.min.json");return t.paginators=e("../apis/iot-data-2015-05-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.IotData},{"../apis/iot-data-2015-05-28.min.json":128,"../apis/iot-data-2015-05-28.paginators.json":129,"../lib/core":342,"../lib/node_loader":338,"../lib/services/iotdata":398}],290:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesis={},i.Kinesis=a.defineService("kinesis",["2013-12-02"]),Object.defineProperty(s.services.kinesis,"2013-12-02",{get:function(){var t=e("../apis/kinesis-2013-12-02.min.json");return t.paginators=e("../apis/kinesis-2013-12-02.paginators.json").pagination,t.waiters=e("../apis/kinesis-2013-12-02.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Kinesis},{"../apis/kinesis-2013-12-02.min.json":132,"../apis/kinesis-2013-12-02.paginators.json":133,"../apis/kinesis-2013-12-02.waiters2.json":134,"../lib/core":342,"../lib/node_loader":338}],291:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesisvideo={},i.KinesisVideo=a.defineService("kinesisvideo",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideo,"2017-09-30",{get:function(){var t=e("../apis/kinesisvideo-2017-09-30.min.json");return t.paginators=e("../apis/kinesisvideo-2017-09-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KinesisVideo},{"../apis/kinesisvideo-2017-09-30.min.json":141,"../apis/kinesisvideo-2017-09-30.paginators.json":142,"../lib/core":342,"../lib/node_loader":338}],292:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesisvideoarchivedmedia={},i.KinesisVideoArchivedMedia=a.defineService("kinesisvideoarchivedmedia",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideoarchivedmedia,"2017-09-30",{get:function(){var t=e("../apis/kinesis-video-archived-media-2017-09-30.min.json");return t.paginators=e("../apis/kinesis-video-archived-media-2017-09-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KinesisVideoArchivedMedia},{"../apis/kinesis-video-archived-media-2017-09-30.min.json":135,"../apis/kinesis-video-archived-media-2017-09-30.paginators.json":136,"../lib/core":342,"../lib/node_loader":338}],293:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesisvideomedia={},i.KinesisVideoMedia=a.defineService("kinesisvideomedia",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideomedia,"2017-09-30",{get:function(){var t=e("../apis/kinesis-video-media-2017-09-30.min.json");return t.paginators=e("../apis/kinesis-video-media-2017-09-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KinesisVideoMedia},{"../apis/kinesis-video-media-2017-09-30.min.json":137,"../apis/kinesis-video-media-2017-09-30.paginators.json":138,"../lib/core":342,"../lib/node_loader":338}],294:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesisvideosignalingchannels={},i.KinesisVideoSignalingChannels=a.defineService("kinesisvideosignalingchannels",["2019-12-04"]),Object.defineProperty(s.services.kinesisvideosignalingchannels,"2019-12-04",{get:function(){var t=e("../apis/kinesis-video-signaling-2019-12-04.min.json");return t.paginators=e("../apis/kinesis-video-signaling-2019-12-04.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KinesisVideoSignalingChannels},{"../apis/kinesis-video-signaling-2019-12-04.min.json":139,"../apis/kinesis-video-signaling-2019-12-04.paginators.json":140,"../lib/core":342,"../lib/node_loader":338}],295:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kms={},i.KMS=a.defineService("kms",["2014-11-01"]),Object.defineProperty(s.services.kms,"2014-11-01",{get:function(){var t=e("../apis/kms-2014-11-01.min.json");return t.paginators=e("../apis/kms-2014-11-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KMS},{"../apis/kms-2014-11-01.min.json":143,"../apis/kms-2014-11-01.paginators.json":144,"../lib/core":342,"../lib/node_loader":338}],296:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.lambda={},i.Lambda=a.defineService("lambda",["2014-11-11","2015-03-31"]),e("../lib/services/lambda"),Object.defineProperty(s.services.lambda,"2014-11-11",{get:function(){var t=e("../apis/lambda-2014-11-11.min.json");return t.paginators=e("../apis/lambda-2014-11-11.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.lambda,"2015-03-31",{get:function(){var t=e("../apis/lambda-2015-03-31.min.json");return t.paginators=e("../apis/lambda-2015-03-31.paginators.json").pagination,t.waiters=e("../apis/lambda-2015-03-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Lambda},{"../apis/lambda-2014-11-11.min.json":145,"../apis/lambda-2014-11-11.paginators.json":146,"../apis/lambda-2015-03-31.min.json":147,"../apis/lambda-2015-03-31.paginators.json":148,"../apis/lambda-2015-03-31.waiters2.json":149,"../lib/core":342,"../lib/node_loader":338,"../lib/services/lambda":399}],297:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.lexmodelbuildingservice={},i.LexModelBuildingService=a.defineService("lexmodelbuildingservice",["2017-04-19"]),Object.defineProperty(s.services.lexmodelbuildingservice,"2017-04-19",{get:function(){var t=e("../apis/lex-models-2017-04-19.min.json");return t.paginators=e("../apis/lex-models-2017-04-19.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.LexModelBuildingService},{"../apis/lex-models-2017-04-19.min.json":150,"../apis/lex-models-2017-04-19.paginators.json":151,"../lib/core":342,"../lib/node_loader":338}],298:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.lexruntime={},i.LexRuntime=a.defineService("lexruntime",["2016-11-28"]),Object.defineProperty(s.services.lexruntime,"2016-11-28",{get:function(){var t=e("../apis/runtime.lex-2016-11-28.min.json");return t.paginators=e("../apis/runtime.lex-2016-11-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.LexRuntime},{"../apis/runtime.lex-2016-11-28.min.json":208,"../apis/runtime.lex-2016-11-28.paginators.json":209,"../lib/core":342,"../lib/node_loader":338}],299:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.lexruntimev2={},i.LexRuntimeV2=a.defineService("lexruntimev2",["2020-08-07"]),Object.defineProperty(s.services.lexruntimev2,"2020-08-07",{get:function(){var t=e("../apis/runtime.lex.v2-2020-08-07.min.json");return t.paginators=e("../apis/runtime.lex.v2-2020-08-07.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.LexRuntimeV2},{"../apis/runtime.lex.v2-2020-08-07.min.json":210,"../apis/runtime.lex.v2-2020-08-07.paginators.json":211,"../lib/core":342,"../lib/node_loader":338}],300:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.location={},i.Location=a.defineService("location",["2020-11-19"]),Object.defineProperty(s.services.location,"2020-11-19",{get:function(){var t=e("../apis/location-2020-11-19.min.json");return t.paginators=e("../apis/location-2020-11-19.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Location},{"../apis/location-2020-11-19.min.json":152,"../apis/location-2020-11-19.paginators.json":153,"../lib/core":342,"../lib/node_loader":338}],301:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.machinelearning={},i.MachineLearning=a.defineService("machinelearning",["2014-12-12"]),e("../lib/services/machinelearning"),Object.defineProperty(s.services.machinelearning,"2014-12-12",{get:function(){var t=e("../apis/machinelearning-2014-12-12.min.json");return t.paginators=e("../apis/machinelearning-2014-12-12.paginators.json").pagination,t.waiters=e("../apis/machinelearning-2014-12-12.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.MachineLearning},{"../apis/machinelearning-2014-12-12.min.json":156,"../apis/machinelearning-2014-12-12.paginators.json":157,"../apis/machinelearning-2014-12-12.waiters2.json":158,"../lib/core":342,"../lib/node_loader":338,"../lib/services/machinelearning":400}],302:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.marketplacecommerceanalytics={},i.MarketplaceCommerceAnalytics=a.defineService("marketplacecommerceanalytics",["2015-07-01"]),Object.defineProperty(s.services.marketplacecommerceanalytics,"2015-07-01",{get:function(){var t=e("../apis/marketplacecommerceanalytics-2015-07-01.min.json");return t.paginators=e("../apis/marketplacecommerceanalytics-2015-07-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.MarketplaceCommerceAnalytics},{"../apis/marketplacecommerceanalytics-2015-07-01.min.json":159,"../apis/marketplacecommerceanalytics-2015-07-01.paginators.json":160,"../lib/core":342,"../lib/node_loader":338}],303:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.mediastoredata={},i.MediaStoreData=a.defineService("mediastoredata",["2017-09-01"]),Object.defineProperty(s.services.mediastoredata,"2017-09-01",{get:function(){var t=e("../apis/mediastore-data-2017-09-01.min.json");return t.paginators=e("../apis/mediastore-data-2017-09-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.MediaStoreData},{"../apis/mediastore-data-2017-09-01.min.json":161,"../apis/mediastore-data-2017-09-01.paginators.json":162,"../lib/core":342,"../lib/node_loader":338}],304:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.mobileanalytics={},i.MobileAnalytics=a.defineService("mobileanalytics",["2014-06-05"]),Object.defineProperty(s.services.mobileanalytics,"2014-06-05",{get:function(){return e("../apis/mobileanalytics-2014-06-05.min.json")},enumerable:!0,configurable:!0}),t.exports=i.MobileAnalytics},{"../apis/mobileanalytics-2014-06-05.min.json":164,"../lib/core":342,"../lib/node_loader":338}],305:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.mturk={},i.MTurk=a.defineService("mturk",["2017-01-17"]),Object.defineProperty(s.services.mturk,"2017-01-17",{get:function(){var t=e("../apis/mturk-requester-2017-01-17.min.json");return t.paginators=e("../apis/mturk-requester-2017-01-17.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.MTurk},{"../apis/mturk-requester-2017-01-17.min.json":168,"../apis/mturk-requester-2017-01-17.paginators.json":169,"../lib/core":342,"../lib/node_loader":338}],306:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.opsworks={},i.OpsWorks=a.defineService("opsworks",["2013-02-18"]),Object.defineProperty(s.services.opsworks,"2013-02-18",{get:function(){var t=e("../apis/opsworks-2013-02-18.min.json");return t.paginators=e("../apis/opsworks-2013-02-18.paginators.json").pagination,t.waiters=e("../apis/opsworks-2013-02-18.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.OpsWorks},{"../apis/opsworks-2013-02-18.min.json":170,"../apis/opsworks-2013-02-18.paginators.json":171,"../apis/opsworks-2013-02-18.waiters2.json":172,"../lib/core":342,"../lib/node_loader":338}],307:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.personalize={},i.Personalize=a.defineService("personalize",["2018-05-22"]),Object.defineProperty(s.services.personalize,"2018-05-22",{get:function(){var t=e("../apis/personalize-2018-05-22.min.json");return t.paginators=e("../apis/personalize-2018-05-22.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Personalize},{"../apis/personalize-2018-05-22.min.json":173,"../apis/personalize-2018-05-22.paginators.json":174,"../lib/core":342,"../lib/node_loader":338}],308:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.personalizeevents={},i.PersonalizeEvents=a.defineService("personalizeevents",["2018-03-22"]),Object.defineProperty(s.services.personalizeevents,"2018-03-22",{get:function(){var t=e("../apis/personalize-events-2018-03-22.min.json");return t.paginators=e("../apis/personalize-events-2018-03-22.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.PersonalizeEvents},{"../apis/personalize-events-2018-03-22.min.json":175,"../apis/personalize-events-2018-03-22.paginators.json":176,"../lib/core":342,"../lib/node_loader":338}],309:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.personalizeruntime={},i.PersonalizeRuntime=a.defineService("personalizeruntime",["2018-05-22"]),Object.defineProperty(s.services.personalizeruntime,"2018-05-22",{get:function(){var t=e("../apis/personalize-runtime-2018-05-22.min.json");return t.paginators=e("../apis/personalize-runtime-2018-05-22.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.PersonalizeRuntime},{"../apis/personalize-runtime-2018-05-22.min.json":177,"../apis/personalize-runtime-2018-05-22.paginators.json":178,"../lib/core":342,"../lib/node_loader":338}],310:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.polly={},i.Polly=a.defineService("polly",["2016-06-10"]),e("../lib/services/polly"),Object.defineProperty(s.services.polly,"2016-06-10",{get:function(){var t=e("../apis/polly-2016-06-10.min.json");return t.paginators=e("../apis/polly-2016-06-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Polly},{"../apis/polly-2016-06-10.min.json":179,"../apis/polly-2016-06-10.paginators.json":180,"../lib/core":342,"../lib/node_loader":338,"../lib/services/polly":401}],311:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.pricing={},i.Pricing=a.defineService("pricing",["2017-10-15"]),Object.defineProperty(s.services.pricing,"2017-10-15",{get:function(){var t=e("../apis/pricing-2017-10-15.min.json");return t.paginators=e("../apis/pricing-2017-10-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Pricing},{"../apis/pricing-2017-10-15.min.json":181,"../apis/pricing-2017-10-15.paginators.json":182,"../lib/core":342,"../lib/node_loader":338}],312:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.rds={},i.RDS=a.defineService("rds",["2013-01-10","2013-02-12","2013-09-09","2014-09-01","2014-09-01*","2014-10-31"]),e("../lib/services/rds"),Object.defineProperty(s.services.rds,"2013-01-10",{get:function(){var t=e("../apis/rds-2013-01-10.min.json");return t.paginators=e("../apis/rds-2013-01-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2013-02-12",{get:function(){var t=e("../apis/rds-2013-02-12.min.json");return t.paginators=e("../apis/rds-2013-02-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2013-09-09",{get:function(){var t=e("../apis/rds-2013-09-09.min.json");return t.paginators=e("../apis/rds-2013-09-09.paginators.json").pagination,t.waiters=e("../apis/rds-2013-09-09.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2014-09-01",{get:function(){var t=e("../apis/rds-2014-09-01.min.json");return t.paginators=e("../apis/rds-2014-09-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2014-10-31",{get:function(){var t=e("../apis/rds-2014-10-31.min.json");return t.paginators=e("../apis/rds-2014-10-31.paginators.json").pagination,t.waiters=e("../apis/rds-2014-10-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.RDS},{"../apis/rds-2013-01-10.min.json":183,"../apis/rds-2013-01-10.paginators.json":184,"../apis/rds-2013-02-12.min.json":185,"../apis/rds-2013-02-12.paginators.json":186,"../apis/rds-2013-09-09.min.json":187,"../apis/rds-2013-09-09.paginators.json":188,"../apis/rds-2013-09-09.waiters2.json":189,"../apis/rds-2014-09-01.min.json":190,"../apis/rds-2014-09-01.paginators.json":191,"../apis/rds-2014-10-31.min.json":192,"../apis/rds-2014-10-31.paginators.json":193,"../apis/rds-2014-10-31.waiters2.json":194,"../lib/core":342,"../lib/node_loader":338,"../lib/services/rds":402}],313:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.redshift={},i.Redshift=a.defineService("redshift",["2012-12-01"]),Object.defineProperty(s.services.redshift,"2012-12-01",{get:function(){var t=e("../apis/redshift-2012-12-01.min.json");return t.paginators=e("../apis/redshift-2012-12-01.paginators.json").pagination,t.waiters=e("../apis/redshift-2012-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Redshift},{"../apis/redshift-2012-12-01.min.json":195,"../apis/redshift-2012-12-01.paginators.json":196,"../apis/redshift-2012-12-01.waiters2.json":197,"../lib/core":342,"../lib/node_loader":338}],314:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.rekognition={},i.Rekognition=a.defineService("rekognition",["2016-06-27"]),Object.defineProperty(s.services.rekognition,"2016-06-27",{get:function(){var t=e("../apis/rekognition-2016-06-27.min.json");return t.paginators=e("../apis/rekognition-2016-06-27.paginators.json").pagination,t.waiters=e("../apis/rekognition-2016-06-27.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Rekognition},{"../apis/rekognition-2016-06-27.min.json":198,"../apis/rekognition-2016-06-27.paginators.json":199,"../apis/rekognition-2016-06-27.waiters2.json":200,"../lib/core":342,"../lib/node_loader":338}],315:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.resourcegroups={},i.ResourceGroups=a.defineService("resourcegroups",["2017-11-27"]),Object.defineProperty(s.services.resourcegroups,"2017-11-27",{get:function(){var t=e("../apis/resource-groups-2017-11-27.min.json");return t.paginators=e("../apis/resource-groups-2017-11-27.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ResourceGroups},{"../apis/resource-groups-2017-11-27.min.json":201,"../apis/resource-groups-2017-11-27.paginators.json":202,"../lib/core":342,"../lib/node_loader":338}],316:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.route53={},i.Route53=a.defineService("route53",["2013-04-01"]),e("../lib/services/route53"),Object.defineProperty(s.services.route53,"2013-04-01",{get:function(){var t=e("../apis/route53-2013-04-01.min.json");return t.paginators=e("../apis/route53-2013-04-01.paginators.json").pagination,t.waiters=e("../apis/route53-2013-04-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Route53},{"../apis/route53-2013-04-01.min.json":203,"../apis/route53-2013-04-01.paginators.json":204,"../apis/route53-2013-04-01.waiters2.json":205,"../lib/core":342,"../lib/node_loader":338,"../lib/services/route53":404}],317:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.route53domains={},i.Route53Domains=a.defineService("route53domains",["2014-05-15"]),Object.defineProperty(s.services.route53domains,"2014-05-15",{get:function(){var t=e("../apis/route53domains-2014-05-15.min.json");return t.paginators=e("../apis/route53domains-2014-05-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Route53Domains},{"../apis/route53domains-2014-05-15.min.json":206,"../apis/route53domains-2014-05-15.paginators.json":207,"../lib/core":342,"../lib/node_loader":338}],318:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.s3={},i.S3=a.defineService("s3",["2006-03-01"]),e("../lib/services/s3"),Object.defineProperty(s.services.s3,"2006-03-01",{get:function(){var t=e("../apis/s3-2006-03-01.min.json");return t.paginators=e("../apis/s3-2006-03-01.paginators.json").pagination,t.waiters=e("../apis/s3-2006-03-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.S3},{"../apis/s3-2006-03-01.min.json":212,"../apis/s3-2006-03-01.paginators.json":213,"../apis/s3-2006-03-01.waiters2.json":214,"../lib/core":342,"../lib/node_loader":338,"../lib/services/s3":405}],319:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.secretsmanager={},i.SecretsManager=a.defineService("secretsmanager",["2017-10-17"]),Object.defineProperty(s.services.secretsmanager,"2017-10-17",{get:function(){var t=e("../apis/secretsmanager-2017-10-17.min.json");return t.paginators=e("../apis/secretsmanager-2017-10-17.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.SecretsManager},{"../apis/secretsmanager-2017-10-17.min.json":215,"../apis/secretsmanager-2017-10-17.paginators.json":216,"../lib/core":342,"../lib/node_loader":338}],320:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.servicecatalog={},i.ServiceCatalog=a.defineService("servicecatalog",["2015-12-10"]),Object.defineProperty(s.services.servicecatalog,"2015-12-10",{get:function(){var t=e("../apis/servicecatalog-2015-12-10.min.json");return t.paginators=e("../apis/servicecatalog-2015-12-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ServiceCatalog},{"../apis/servicecatalog-2015-12-10.min.json":217,"../apis/servicecatalog-2015-12-10.paginators.json":218,"../lib/core":342,"../lib/node_loader":338}],321:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ses={},i.SES=a.defineService("ses",["2010-12-01"]),Object.defineProperty(s.services.ses,"2010-12-01",{get:function(){var t=e("../apis/email-2010-12-01.min.json");return t.paginators=e("../apis/email-2010-12-01.paginators.json").pagination,t.waiters=e("../apis/email-2010-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.SES},{"../apis/email-2010-12-01.min.json":108,"../apis/email-2010-12-01.paginators.json":109,"../apis/email-2010-12-01.waiters2.json":110,"../lib/core":342,"../lib/node_loader":338}],322:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sns={},i.SNS=a.defineService("sns",["2010-03-31"]),Object.defineProperty(s.services.sns,"2010-03-31",{get:function(){var t=e("../apis/sns-2010-03-31.min.json");return t.paginators=e("../apis/sns-2010-03-31.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.SNS},{"../apis/sns-2010-03-31.min.json":219,"../apis/sns-2010-03-31.paginators.json":220,"../lib/core":342,"../lib/node_loader":338}],323:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sqs={},i.SQS=a.defineService("sqs",["2012-11-05"]),e("../lib/services/sqs"),Object.defineProperty(s.services.sqs,"2012-11-05",{get:function(){var t=e("../apis/sqs-2012-11-05.min.json");return t.paginators=e("../apis/sqs-2012-11-05.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.SQS},{"../apis/sqs-2012-11-05.min.json":221,"../apis/sqs-2012-11-05.paginators.json":222,"../lib/core":342,"../lib/node_loader":338,"../lib/services/sqs":407}],324:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ssm={},i.SSM=a.defineService("ssm",["2014-11-06"]),Object.defineProperty(s.services.ssm,"2014-11-06",{get:function(){var t=e("../apis/ssm-2014-11-06.min.json");return t.paginators=e("../apis/ssm-2014-11-06.paginators.json").pagination,t.waiters=e("../apis/ssm-2014-11-06.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.SSM},{"../apis/ssm-2014-11-06.min.json":223,"../apis/ssm-2014-11-06.paginators.json":224,"../apis/ssm-2014-11-06.waiters2.json":225,"../lib/core":342,"../lib/node_loader":338}],325:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.storagegateway={},i.StorageGateway=a.defineService("storagegateway",["2013-06-30"]),Object.defineProperty(s.services.storagegateway,"2013-06-30",{get:function(){var t=e("../apis/storagegateway-2013-06-30.min.json");return t.paginators=e("../apis/storagegateway-2013-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.StorageGateway},{"../apis/storagegateway-2013-06-30.min.json":226,"../apis/storagegateway-2013-06-30.paginators.json":227,"../lib/core":342,"../lib/node_loader":338}],326:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sts={},i.STS=a.defineService("sts",["2011-06-15"]),e("../lib/services/sts"),Object.defineProperty(s.services.sts,"2011-06-15",{get:function(){var t=e("../apis/sts-2011-06-15.min.json");return t.paginators=e("../apis/sts-2011-06-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.STS},{"../apis/sts-2011-06-15.min.json":230,"../apis/sts-2011-06-15.paginators.json":231,"../lib/core":342,"../lib/node_loader":338,"../lib/services/sts":408}],327:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.translate={},i.Translate=a.defineService("translate",["2017-07-01"]),Object.defineProperty(s.services.translate,"2017-07-01",{get:function(){var t=e("../apis/translate-2017-07-01.min.json");return t.paginators=e("../apis/translate-2017-07-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Translate},{"../apis/translate-2017-07-01.min.json":232,"../apis/translate-2017-07-01.paginators.json":233,"../lib/core":342,"../lib/node_loader":338}],328:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.waf={},i.WAF=a.defineService("waf",["2015-08-24"]),Object.defineProperty(s.services.waf,"2015-08-24",{get:function(){var t=e("../apis/waf-2015-08-24.min.json");return t.paginators=e("../apis/waf-2015-08-24.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WAF},{"../apis/waf-2015-08-24.min.json":234,"../apis/waf-2015-08-24.paginators.json":235,"../lib/core":342,"../lib/node_loader":338}],329:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.workdocs={},i.WorkDocs=a.defineService("workdocs",["2016-05-01"]),Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var t=e("../apis/workdocs-2016-05-01.min.json");return t.paginators=e("../apis/workdocs-2016-05-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WorkDocs},{"../apis/workdocs-2016-05-01.min.json":236,"../apis/workdocs-2016-05-01.paginators.json":237,"../lib/core":342,"../lib/node_loader":338}],330:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.xray={},i.XRay=a.defineService("xray",["2016-04-12"]),Object.defineProperty(s.services.xray,"2016-04-12",{get:function(){var t=e("../apis/xray-2016-04-12.min.json");return t.paginators=e("../apis/xray-2016-04-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.XRay},{"../apis/xray-2016-04-12.min.json":238,"../apis/xray-2016-04-12.paginators.json":239,"../lib/core":342,"../lib/node_loader":338}],331:[function(e,t,r){function i(e,t){if(!i.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return i.services[e][t]}i.services={},t.exports=i},{}],332:[function(e,t,r){var i=e("./browserHmac"),a=e("./browserMd5"),s=e("./browserSha1"),o=e("./browserSha256");t.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new a;if("sha256"===e)return new o;if("sha1"===e)return new s;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new i(a,t);if("sha256"===e)return new i(o,t);if("sha1"===e)return new i(s,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},{"./browserHmac":334,"./browserMd5":335,"./browserSha1":336,"./browserSha256":337}],333:[function(e,t,r){function i(e){return"string"==typeof e?0===e.length:0===e.byteLength}function a(e){return"string"==typeof e&&(e=new s(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var s=e("buffer/").Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return o.indexOf(Object.prototype.toString.call(e))>-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":427}],334:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":333}],335:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a -;if(r.setUint8(this.bufferLength++,128),i%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":333,"buffer/":427}],336:[function(e,t,r){function i(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":333,"buffer/":427}],337:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":427}],338:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var i=e("./core");if(t.exports=i,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":418,"./xml/browser_parser":419,_process:432,"buffer/":427,"querystring/":439,"url/":441}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:432}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1051.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":450,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":388,"./resource_waiter":389,"./response":390,"./sequential_executor":392,"./service":393,"./signers/request_signer":410,"./util":418,"./xml/builder":420}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":342}],360:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=i(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(i){if(r&&r.isStreaming){if(r.requiresLength)throw i;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw i}throw i}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",a.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",a.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof a.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(a.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=a.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var i={};return a.util.each(t,function(t,a){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=r(e.members[t],a):i[t]=a}),i;case"list":var s=[];return a.util.arrayEach(t,function(t,i){s.push(r(e.member,t))}),s;case"map":var o={};return a.util.each(t,function(t,i){o[t]=r(e.value,i)}),o;default:return t}}var i=t.request,s=i.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-i.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=i.params;if(i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input){m=r(i.service.api.operations[i.operation].input,i.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+i.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+a.util.string.lowerFirst(i.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}},{"./core":342,"./discover_endpoint":350,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./sequential_executor":392,util:444}],364:[function(e,t,r){var i=e("./core"),a=i.util.inherit;i.Endpoint=a({constructor:function(e,t){if(i.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return i.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:i.config.sslEnabled)?"https":"http")+"://"+e}i.util.update(this,i.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),i.HttpRequest=a({constructor:function(e,t){e=new i.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=i.util.userAgent()},getUserAgentHeaderName:function(){return(i.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=i.util.queryStringParse(e),i.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new i.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),i.HttpResponse=a({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),i.HttpClient=a({}),i.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":342}],365:[function(e,t,r){var i=e("../core"),a=e("events").EventEmitter;e("../http"),i.XHRClient=i.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new a,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(i.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),i.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var s=new Uint8Array(a),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:S,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var i=s.resolve(e,t);if(i){var a=Object.keys(e);t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)}));var o=function(){i.constructor.call(this,e,t,r)};return o.prototype=i,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":418,"./collection":369}],374:[function(e,t,r){var i=e("./core");i.ParamValidator=i.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var i,a=0;e.required&&a= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,i){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+i+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,a){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:i}},{"../core":342,"../util":418}],377:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===a&&(a="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i,p(e)}function a(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString()),a=i.__type||i.code||i.Code;a&&(t.code=a.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:i,extractError:a,extractData:s}},{"../json/builder":366,"../json/parser":367,"../util":418,"./helpers":376}],378:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function a(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":342,"../util":418,"./rest":379}],382:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":418}],383:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":342}],384:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],385:[function(e,t,r){function i(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function a(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:i,isGlobalRegion:a,getRealRegion:s}},{}],386:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=e.config.useFipsEndpoint,i=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1})}else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":342,"./state_machine":417,_process:432,jmespath:431}],389:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r.config);a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=a(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var i=r.slice(e.partSize);e.partBuffers.push(i),e.partBufferLength+=i.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var a={Body:e};this.tags&&(a.Tagging=this.getTaggingHeader());var s=t.service.putObject(a);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=i.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function s(a){if(a&&(n=i.util.error(n||new Error,a),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=a||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=i.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,i){return this[e]=r,this.addListener(t,r,i),this},addNamedAsyncListener:function(e,t,r,i){return r._isAsync=!0,this.addNamedListener(e,t,r,i)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":342}],393:[function(e,t,r){(function(r){(function(){var i=e("./core"),a=e("./model/api"),s=e("./region_config"),o=i.util.inherit,n=0,u=e("./region/utils");i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var a=i.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return a},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];if(this.config=new i.Config(i.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),i.SequentialExecutor.call(this),i.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||i.Service._clientSideMonitoring)&&this.publisher){var a=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){a.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){a.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&i.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?i.util.isType(e,Date)&&(e=i.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new i.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){return new i.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r299?(a.code&&(r.FinalAwsException=a.code),a.message&&(r.FinalAwsExceptionMessage=a.message)):((a.code||a.name)&&(r.FinalSdkException=a.code||a.name),a.message&&(r.FinalSdkExceptionMessage=a.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},i=e.response;return i.httpResponse.statusCode&&(r.HttpStatusCode=i.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),i.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),i.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=i.httpResponse.headers["x-amzn-requestid"]),i.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=i.httpResponse.headers["x-amz-request-id"]),i.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=i.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,i=r.error;return r.httpResponse.statusCode>299?(i.code&&(t.AwsException=i.code),i.message&&(t.AwsExceptionMessage=i.message)):((i.code||i.name)&&(t.SdkException=i.code||i.name),i.message&&(t.SdkExceptionMessage=i.message)),t},attachMonitoringEmitter:function(e){var t,r,a,s,o,n,u=0,p=this;e.on("validate",function(){s=i.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=i.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){a=Math.round(i.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=a>=0?a:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,a=a||Math.round(i.util.realClock.now()-r),s.AttemptLatency=a>=0?a:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(i.util.realClock.now()-s);t.Latency=r>=0?r:0;var a=e.response;a.error&&a.error.retryable&&"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,a="";if(e){r=(e.service.api.operations||{})[e.operation]||null,a=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===a||"v4-unsigned-body"===a?"v4":this.api.signatureVersion,i.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return i.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})}, -defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw i.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),a.indexOf(e.operation)>-1&&e.addListener("extractData",i.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":342}],399:[function(e,t,r){var i=e("../core");i.util.update(i.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",i.util.convertPayloadToString)}})},{"../core":342}],400:[function(e,t,r){var i=e("../core");i.util.update(i.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new i.Endpoint(t))}})},{"../core":342}],401:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":375}],402:[function(e,t,r){var i=e("../core"),a=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];i.util.update(i.RDS.prototype,{setupRequestListeners:function(e){a.setupRequestListeners(this,e,s)}})},{"../core":342,"../rds/signer":383,"./rdsutil":403}],403:[function(e,t,r){var i=e("../core"),a={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=i.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",a.buildCrossRegionPresignedUrl),s&&t.addListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=i.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var a=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](i.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=a,t.body=i.util.queryParamsToString(t.params)}),o.presign(function(r,i){r?t(r):(e.params.PreSignedUrl=i,t())})}};t.exports=a},{"../core":342}],404:[function(e,t,r){var i=e("../core");i.util.update(i.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){return"PriorRequestNotComplete"===e.code&&400===e.statusCode||i.Service.prototype.retryableError.call(this,e)}})},{"../core":342}],405:[function(e,t,r){var i=e("../core"),a=e("../signers/v4_credentials"),s=e("../config_regional_endpoint"),o=e("./s3util"),n=e("../region_config");e("../s3/managed_upload");var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];i.util.update(i.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,i=this.config.signatureVersion,a=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==a?t="v4":i&&(t=i),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return"s3-object-lambda";var t=i.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return i.Signers.RequestSigner.getVersion(t)},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw i.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===i.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,!0),e.addListener("validate",this.optInUsEast1RegionalEndpoint,!0),e.removeListener("validate",i.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",i.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)),"createBucket"!==e.operation&&o.isArnInParam(e,"Bucket"))return e._parsedArn=i.util.ARN.parse(e.params.Bucket),e.removeListener("validate",this.validateBucketName),e.removeListener("build",this.populateURI),"s3"===e._parsedArn.service?(e.addListener("validate",o.validateS3AccessPointArn),e.addListener("validate",this.validateArnResourceType),e.addListener("validate",this.validateArnRegion)):"s3-outposts"===e._parsedArn.service&&(e.addListener("validate",o.validateOutpostsAccessPointArn),e.addListener("validate",o.validateOutpostsArn),e.addListener("validate",o.validateArnRegion)),e.addListener("validate",o.validateArnAccount),e.addListener("validate",o.validateArnService),e.addListener("build",this.populateUriFromAccessPointArn),void e.addListener("build",o.validatePopulateUriFromArn);e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.onAsync("extractError",this.requestBucketRegion),i.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r)throw i.util.error(new Error,{code:"ConfigError",message:"Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration"})},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){throw i.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateArnRegion:function(e){o.validateArnRegion(e,{allowFipsEndpoint:!0})},validateArnResourceType:function(e){var t=e._parsedArn.resource;if(0!==t.indexOf("accesspoint:")&&0!==t.indexOf("accesspoint/"))throw i.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'accesspoint/'"})},validateBucketName:function(e){var t=e.service,r=t.getSignatureVersion(e),a=e.params&&e.params.Bucket,s=e.params&&e.params.Key,o=a&&a.indexOf("/");if(a&&o>=0)if("string"==typeof s&&o>0){e.params=i.util.copy(e.params);var n=a.substr(o+1)||"";e.params.Key=n+"/"+s,e.params.Bucket=a.substr(0,o)}else if("v4"===r){var u="Bucket names cannot contain forward slashes. Bucket: "+a;throw i.util.error(new Error,{code:"InvalidBucket",message:u})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},optInUsEast1RegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.s3UsEast1RegionalEndpoint=s(t._originalConfig,{env:"AWS_S3_US_EAST_1_REGIONAL_ENDPOINT",sharedConfig:"s3_us_east_1_regional_endpoint",clientConfig:"s3UsEast1RegionalEndpoint"}),!(t._originalConfig||{}).endpoint&&"us-east-1"===e.httpRequest.region&&"regional"===r.s3UsEast1RegionalEndpoint&&e.httpRequest.endpoint.hostname.indexOf("s3.amazonaws.com")>=0){var i=r.endpoint.indexOf(".amazonaws.com");regionalEndpoint=r.endpoint.substring(0,i)+".us-east-1"+r.endpoint.substring(i),e.httpRequest.updateEndpoint(regionalEndpoint)}},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,i=e.service,a=t.endpoint;if(r&&!i.pathStyleBucketName(r)){i.config.useAccelerateEndpoint&&i.isValidAccelerateOperation(e.operation)?i.config.useDualstackEndpoint?a.hostname=r+".s3-accelerate.dualstack.amazonaws.com":a.hostname=r+".s3-accelerate.amazonaws.com":i.config.s3BucketEndpoint||(a.hostname=r+"."+a.hostname);var s=a.port;a.host=80!==s&&443!==s?a.hostname+":"+a.port:a.hostname,t.virtualHostedBucket=r,i.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;if(r&&t.path){if(e.params&&e.params.Key){var a="/"+i.util.uriEscapePath(e.params.Key);if(0===t.path.indexOf(a)&&(t.path.length===a.length||"?"===t.path[a.length]))return}t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path)}},populateUriFromAccessPointArn:function(e){var t=e._parsedArn,r="s3-outposts"===t.service,a="s3-object-lambda"===t.service,s=r?"."+t.outpostId:"",o=r?"s3-outposts":"s3-accesspoint",u=!r&&e.service.config.useFipsEndpoint?"-fips":"",p=!r&&e.service.config.useDualstackEndpoint?".dualstack":"",m=e.httpRequest.endpoint,c=n.getEndpointSuffix(t.region),l=e.service.config.s3UseArnRegion;if(m.hostname=[t.accessPoint+"-"+t.accountId+s,o+u+p,l?t.region:e.service.config.region,c].join("."),a){var o="s3-object-lambda",d=t.resource.split("/")[1],u=e.service.config.useFipsEndpoint?"-fips":"";m.hostname=[d+"-"+t.accountId,o+u,l?t.region:e.service.config.region,c].join(".")}m.host=m.hostname;var y=i.util.uriEscape(e.params.Bucket),b=e.httpRequest.path;e.httpRequest.path=b.replace(new RegExp("/"+y),""),"/"!==e.httpRequest.path[0]&&(e.httpRequest.path="/"+e.httpRequest.path),e.httpRequest.region=t.region},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];i.util.isNode()&&(t>=1048576||e.params.Body instanceof i.util.stream.Stream)&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(i.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var a=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,a)}else{t.headers["Content-Type"]+="; charset=UTF-8"}},willComputeChecksums:function(e){var t=e.service.api.operations[e.operation].input.members,r=e.httpRequest.body,a=t.ContentMD5&&!e.params.ContentMD5&&r&&(i.util.Buffer.isBuffer(e.httpRequest.body)||"string"==typeof e.httpRequest.body);return!(!a||!e.service.shouldDisableBodySigning(e)||e.isPresigned())||!(!a||"s3"!==this.getSignatureVersion(e)||!e.isPresigned())},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=i.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};i.util.each(t,function(t,r){if(e.params[t]){var a=i.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=a}})},pathStyleBucketName:function(e){return!!this.config.s3ForcePathStyle||!this.config.s3BucketEndpoint&&(!o.dnsCompatibleBucketName(e)||!(!this.config.sslEnabled||!e.match(/\./)))},extractErrorFrom200Response:function(e){if(u[e.request.operation]){var t=e.httpResponse;if(t.body&&t.body.toString().match("")){e.data=null;throw(this.service?this.service:this).extractError(e),e.error}if(!t.body||!t.body.toString().match(/<[\w_]/))throw e.data=null,i.util.error(new Error,{code:"InternalError",message:"S3 aborted request"})}},retryableError:function(e,t){return!(!u[t.operation]||200!==e.statusCode)||(!t._requestRegionForBucket||!t.service.bucketRegionCache[t._requestRegionForBucket])&&(!(!e||"RequestTimeout"!==e.code)||(e&&-1!=p.indexOf(e.code)&&e.region&&e.region!=t.httpRequest.region?(t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0):i.Service.prototype.retryableError.call(this,e,t)))},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"==typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var a=e.service,s=a.config,o=s.s3BucketEndpoint;o&&delete s.s3BucketEndpoint;var n=i.util.copy(s);delete n.endpoint,n.region=r.region,r.endpoint=new i.S3(n).endpoint,a.populateURI(e),s.s3BucketEndpoint=o,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",a.populateURI),e.addListener("build",a.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,e.data.LocationConstraint=r?r[1]:""}var i=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!=typeof i||e.error){var a=e.httpResponse.headers||{},s=a["x-amz-bucket-region"]||null;if(!s&&"createBucket"===t.operation&&!e.error){var o=t.params.CreateBucketConfiguration;s=o?"EU"===o.LocationConstraint?"eu-west-1":o.LocationConstraint:"us-east-1"}s&&i&&s!==t.service.bucketRegionCache[i]&&(t.service.bucketRegionCache[i]=s)}else t.service.clearBucketRegionCache(i);t.service.extractRequestIds(e)},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.request,a=e.httpResponse.statusCode,s=e.httpResponse.body||"",o=e.httpResponse.headers||{},n=o["x-amz-bucket-region"]||null,u=r.params.Bucket||null,p=r.service.bucketRegionCache;n&&u&&n!==p[u]&&(p[u]=n);var m;if(t[a]&&0===s.length)u&&!n&&(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=i.util.error(new Error,{code:t[a],message:null,region:n});else{var c=(new i.XML.Parser).parse(s.toString());c.Region&&!n?(n=c.Region,u&&n!==p[u]&&(p[u]=n)):!u||n||c.Region||(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=i.util.error(new Error,{code:c.Code||a,message:c.Message||null,region:n})}r.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,a=e.request,s=a.params.Bucket||null;if(!r||!s||r.region||"listObjects"===a.operation||i.util.isNode()&&"headBucket"===a.operation||400===r.statusCode&&"headObject"!==a.operation||-1===p.indexOf(r.code))return t();var o=i.util.isNode()?"headBucket":"listObjects",n={Bucket:s};"listObjects"===o&&(n.MaxKeys=0);var u=a.service[o](n);u._requestRegionForBucket=s,u.send(function(){var e=a.service.bucketRegionCache[s]||null;r.region=e,t()})},reqRegionForNetworkingError:function(e,t){if(!i.util.isBrowser())return t();var r=e.error,a=e.request,s=a.params.Bucket;if(!r||"NetworkingError"!==r.code||!s||"us-east-1"===a.httpRequest.region)return t();var n=a.service,u=n.bucketRegionCache,p=u[s]||null;if(p&&p!==a.httpRequest.region)n.updateReqBucketRegion(a,p),t();else if(o.dnsCompatibleBucketName(s))if(a.httpRequest.virtualHostedBucket){var m=n.listObjects({Bucket:s,MaxKeys:0});n.updateReqBucketRegion(m,"us-east-1"),m._requestRegionForBucket=s,m.send(function(){var e=n.bucketRegionCache[s]||null;e&&e!==a.httpRequest.region&&n.updateReqBucketRegion(a,e),t()})}else t();else n.updateReqBucketRegion(a,"us-east-1"),"us-east-1"!==u[s]&&(u[s]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"==typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r=0)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"FIPS region not allowed in ARN"});if(!r&&o!==n)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region conflicts with access point region"});if(r&&a.getEndpointSuffix(o)!==a.getEndpointSuffix(n))throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region and access point region not in same partition"});if(e.service.config.useAccelerateEndpoint)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"useAccelerateEndpoint config is not supported with access point ARN"});if("s3-outposts"===e._parsedArn.service&&e.service.config.useDualstackEndpoint)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Dualstack is not supported with outposts access point ARN"})},loadUseArnRegionConfig:function(e){var t="AWS_S3_USE_ARN_REGION",a="s3_use_arn_region",s=!0,o=e.service._originalConfig||{};if(void 0!==e.service.config.s3UseArnRegion)return e.service.config.s3UseArnRegion;if(void 0!==o.s3UseArnRegion)s=!0===o.s3UseArnRegion;else if(i.util.isNode())if(r.env[t]){var n=r.env[t].trim().toLowerCase();if(["false","true"].indexOf(n)<0)throw i.util.error(new Error,{code:"InvalidConfiguration",message:t+" only accepts true or false. Got "+r.env[t],retryable:!1});s="true"===n}else{var u={},p={};try{u=i.util.getProfilesFromSharedConfig(i.util.iniLoader),p=u[r.env.AWS_PROFILE||i.util.defaultProfile]}catch(e){}if(p[a]){if(["false","true"].indexOf(p[a].trim().toLowerCase())<0)throw i.util.error(new Error,{code:"InvalidConfiguration",message:a+" only accepts true or false. Got "+p[a],retryable:!1});s="true"===p[a].trim().toLowerCase()}}return e.service.config.s3UseArnRegion=s,s},validatePopulateUriFromArn:function(e){if(e.service._originalConfig&&e.service._originalConfig.endpoint)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Custom endpoint is not compatible with access point ARN"});if(e.service.config.s3ForcePathStyle)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Cannot construct path-style endpoint with access point"})},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),i=new RegExp(/(\d+\.){3}\d+/),a=new RegExp(/\.\./);return!(!t.match(r)||t.match(i)||t.match(a))}};t.exports=s}).call(this)}).call(this,e("_process"))},{"../core":342,"../region_config":386,_process:432}],407:[function(e,t,r){var i=e("../core");i.util.update(i.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint),e.service.config.computeChecksums&&("sendMessage"===e.operation?e.addListener("extractData",this.verifySendMessageChecksum):"sendMessageBatch"===e.operation?e.addListener("extractData",this.verifySendMessageBatchChecksum):"receiveMessage"===e.operation&&e.addListener("extractData",this.verifyReceiveMessageChecksum))},verifySendMessageChecksum:function(e){if(e.data){var t=e.data.MD5OfMessageBody,r=this.params.MessageBody,i=this.service.calculateChecksum(r);if(i!==t){var a='Got "'+e.data.MD5OfMessageBody+'", expecting "'+i+'".';this.service.throwInvalidChecksumError(e,[e.data.MessageId],a)}}},verifySendMessageBatchChecksum:function(e){if(e.data){var t=this.service,r={},a=[],s=[];i.util.arrayEach(e.data.Successful,function(e){r[e.Id]=e}),i.util.arrayEach(this.params.Entries,function(e){if(r[e.Id]){var i=r[e.Id].MD5OfMessageBody,o=e.MessageBody;t.isChecksumValid(i,o)||(a.push(e.Id),s.push(r[e.Id].MessageId))}}),a.length>0&&t.throwInvalidChecksumError(e,s,"Invalid messages: "+a.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];i.util.arrayEach(e.data.Messages,function(e){var i=e.MD5OfBody,a=e.Body;t.isChecksumValid(i,a)||r.push(e.MessageId)}),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=i.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return i.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new i.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},{"../core":342}],408:[function(e,t,r){var i=e("../core"),a=e("../config_regional_endpoint");i.util.update(i.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new i.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken, -t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.stsRegionalEndpoints=a(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===r.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!r.region)throw i.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var s=r.endpoint.indexOf(".amazonaws.com"),o=r.endpoint.substring(0,s)+"."+r.region+r.endpoint.substring(s);e.httpRequest.updateEndpoint(o),e.httpRequest.region=r.region}}})},{"../config_regional_endpoint":341,"../core":342}],409:[function(e,t,r){function i(e){var t=e.httpRequest.headers[n],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===s.Signers.V4){if(t>604800){throw s.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1})}e.httpRequest.headers[n]=t}else{if(r!==s.Signers.S3)throw s.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var i=e.service?e.service.getSkewCorrectedDate():s.util.date.getDate();e.httpRequest.headers[n]=parseInt(s.util.date.unixTimestamp(i)+t,10).toString()}}function a(e){var t=e.httpRequest.endpoint,r=s.util.urlParse(e.httpRequest.path),i={};r.search&&(i=s.util.queryStringParse(r.search.substr(1)));var a=e.httpRequest.headers.Authorization.split(" ");if("AWS"===a[0])a=a[1].split(":"),i.Signature=a.pop(),i.AWSAccessKeyId=a.join(":"),s.util.each(e.httpRequest.headers,function(e,t){e===n&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete i[e],e=e.toLowerCase()),i[e]=t}),delete e.httpRequest.headers[n],delete i.Authorization,delete i.Host;else if("AWS4-HMAC-SHA256"===a[0]){a.shift();var o=a.join(" "),u=o.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];i["X-Amz-Signature"]=u,delete i.Expires}t.pathname=r.pathname,t.search=s.util.queryParamsToString(i)}var s=e("../core"),o=s.util.inherit,n="presigned-expires";s.Signers.Presign=o({sign:function(e,t,r){if(e.httpRequest.headers[n]=t||3600,e.on("build",i),e.on("sign",a),e.removeListener("afterBuild",s.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",s.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return s.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,s.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=s.Signers.Presign},{"../core":342}],410:[function(e,t,r){var i=e("../core"),a=i.util.inherit;i.Signers.RequestSigner=a({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),i.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return i.Signers.V2;case"v3":return i.Signers.V3;case"s3v4":case"v4":return i.Signers.V4;case"s3":return i.Signers.S3;case"v3https":return i.Signers.V3Https}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign")},{"../core":342,"./presign":409,"./s3":411,"./v2":412,"./v3":413,"./v3https":414,"./v4":415}],411:[function(e,t,r){var i=e("../core"),a=i.util.inherit;i.Signers.S3=a(i.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=i.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),a="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=a},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];i.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=s+i.util.queryParamsToString(a)},authorization:function(e,t){var r=[],i=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+i),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=a.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return i.util.crypto.hmac(r,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=i.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];i.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()-1&&!e.body?"UNSIGNED-PAYLOAD":e.headers["X-Amz-Content-Sha256"]?e.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")||this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers["presigned-expires"]}}),t.exports=i.Signers.V4},{"../core":342,"./v4_credentials":416}],416:[function(e,t,r){var i=e("../core"),a={},s=[];t.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,"aws4_request"].join("/")},getSigningKey:function(e,t,r,o,n){var u=i.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),p=[u,t,r,o].join("_");if((n=!1!==n)&&p in a)return a[p];var m=i.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),c=i.util.crypto.hmac(m,r,"buffer"),l=i.util.crypto.hmac(c,o,"buffer"),d=i.util.crypto.hmac(l,"aws4_request","buffer");return n&&(a[p]=d,s.push(p),s.length>50&&delete a[s.shift()]),d},emptyCache:function(){a={},s=[]}}},{"../core":342}],417:[function(e,t,r){function i(e,t){this.currentState=t||null,this.states=e||{}}i.prototype.runTo=function(e,t,r,i){"function"==typeof e&&(i=r,r=t,t=e,e=null);var a=this,s=a.states[a.currentState];s.fn.call(r||a,i,function(i){if(i){if(!s.fail)return t?t.call(r,i):null;a.currentState=s.fail}else{if(!s.accept)return t?t.call(r):null;a.currentState=s.accept}if(a.currentState===e)return t?t.call(r,i):null;a.runTo(e,t,r,i)})},i.prototype.addState=function(e,t,r,i){return"function"==typeof t?(i=t,t=null,r=null):"function"==typeof r&&(i=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:i},this},t.exports=i},{}],418:[function(e,t,r){(function(r,i){(function(){var a,s={environment:"nodejs",engine:function(){if(s.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=r.platform+"/"+r.version;return r.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+r.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=s.environment,r="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(r+=" "+s.engine()),r},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return s.arrayEach(e.split("/"),function(e){t.push(s.uriEscape(e))}),t.join("/")},urlParse:function(e){return s.url.parse(e)},urlFormat:function(e){return s.url.format(e)},queryStringParse:function(e){return s.querystring.parse(e)},queryParamsToString:function(e){var t=[],r=s.uriEscape,i=Object.keys(e).sort();return s.arrayEach(i,function(i){var a=e[i],o=r(i),n=o+"=";if(Array.isArray(a)){var u=[];s.arrayEach(a,function(e){u.push(r(e))}),n=o+"="+u.sort().join("&"+o+"=")}else void 0!==a&&null!==a&&(n=o+"="+r(a));t.push(n)}),t.join("&")},readFileSync:function(t){return s.isBrowser()?null:e("fs").readFileSync(t,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 encode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 decode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof s.Buffer.from&&s.Buffer.from!==Uint8Array.from?s.Buffer.from(e,t):new s.Buffer(e,t)},alloc:function(e,t,r){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof s.Buffer.alloc)return s.Buffer.alloc(e,t,r);var i=new s.Buffer(e);return void 0!==t&&"function"==typeof i.fill&&i.fill(t,void 0,void 0,r),i},toStream:function(e){s.Buffer.isBuffer(e)||(e=s.buffer.toBuffer(e));var t=new s.stream.Readable,r=0;return t._read=function(i){if(r>=e.length)return t.push(null);var a=r+i;a>e.length&&(a=e.length),t.push(e.slice(r,a)),r=a},t},concat:function(e){var t,r=0,i=0,a=null;for(t=0;t>>8^t[255&(r^e.readUInt8(i))]}return(-1^r)>>>0},hmac:function(e,t,r,i){return r||(r="binary"),"buffer"===r&&(r=void 0),i||(i="sha256"),"string"==typeof t&&(t=s.buffer.toBuffer(t)),s.crypto.lib.createHmac(i,e).update(t).digest(r)},md5:function(e,t,r){return s.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return s.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,i){var a=s.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=s.buffer.toBuffer(t));var o=s.arraySliceFn(t),n=s.Buffer.isBuffer(t);if(s.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(n=!0),i&&"object"==typeof t&&"function"==typeof t.on&&!n)t.on("data",function(e){a.update(e)}),t.on("error",function(e){i(e)}),t.on("end",function(){i(null,a.digest(r))});else{if(!i||!o||n||"undefined"==typeof FileReader){s.isBrowser()&&"object"==typeof t&&!n&&(t=new s.Buffer(new Uint8Array(t)));var u=a.update(t).digest(r);return i&&i(null,u),u}var p=0,m=new FileReader;m.onerror=function(){i(new Error("Failed to read data."))},m.onload=function(){var e=new s.Buffer(new Uint8Array(m.result));a.update(e),p+=e.length,m._continueReading()},m._continueReading=function(){if(p>=t.size)return void i(null,a.digest(r));var e=p+524288;e>t.size&&(e=t.size),m.readAsArrayBuffer(o.call(t,p,e))},m._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),a.config.isClockSkewed},applyClockOffset:function(e){e&&(a.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var r=!1;void 0===t&&a&&a.config&&(t=a.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var i=0;i=0)return n++,void setTimeout(p,a+(e.retryAfter||0))}r(e)},p=function(){var t="";i.handleRequest(e,o,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var i=e.statusCode;if(i<300)r(null,t);else{var a=1e3*parseInt(e.headers["retry-after"],10)||0,o=s.error(new Error,{statusCode:i,retryable:i>=500||429===i});a&&o.retryable&&(o.retryAfter=a),u(o)}})},u)};a.util.defer(p)},uuid:{v4:function(){return e("uuid").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,i=t.service.api.operations[r].output||{};i.payload&&e.data[i.payload]&&(e.data[i.payload]=e.data[i.payload].toString())},defer:function(e){"object"==typeof r&&"function"==typeof r.nextTick?r.nextTick(e):"function"==typeof i?i(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){function i(e,t){for(var r=0,i=Object.keys(t);r=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw s.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};t.exports=s}).call(this)}).call(this,e("_process"),e("timers").setImmediate)},{"../apis/metadata.json":163,"./core":342,_process:432,fs:426,timers:440,uuid:445}],419:[function(e,t,r){function i(){}function a(e,t){for(var r=e.getElementsByTagName(t),i=0,a=r.length;i0||i?s.toString():""},t.exports=i},{"../util":418,"./xml-node":423,"./xml-text":424}],421:[function(e,t,r){function i(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}t.exports={escapeAttribute:i}},{}],422:[function(e,t,r){function i(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}t.exports={escapeElement:i}},{}],423:[function(e,t,r){function i(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var a=e("./escape-attribute").escapeAttribute;i.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},i.prototype.addChildNode=function(e){return this.children.push(e),this},i.prototype.removeAttribute=function(e){return delete this.attributes[e],this},i.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,r=this.attributes,i=0,s=Object.keys(r);i"+this.children.map(function(e){return e.toString()}).join("")+"":"/>"},t.exports={XmlNode:i}},{"./escape-attribute":421}],424:[function(e,t,r){function i(e){this.value=e}var a=e("./escape-element").escapeElement;i.prototype.toString=function(){return a(""+this.value)},t.exports={XmlText:i}},{"./escape-element":422}],425:[function(e,t,r){"use strict";function i(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function a(e){var t=i(e),r=t[0],a=t[1];return 3*(r+a)/4-a}function s(e,t,r){return 3*(t+r)/4-r}function o(e){var t,r,a=i(e),o=a[0],n=a[1],u=new l(s(e,o,n)),p=0,m=n>0?o-4:o;for(r=0;r>16&255,u[p++]=t>>8&255,u[p++]=255&t;return 2===n&&(t=c[e.charCodeAt(r)]<<2|c[e.charCodeAt(r+1)]>>4,u[p++]=255&t),1===n&&(t=c[e.charCodeAt(r)]<<10|c[e.charCodeAt(r+1)]<<4|c[e.charCodeAt(r+2)]>>2,u[p++]=t>>8&255,u[p++]=255&t),u}function n(e){return m[e>>18&63]+m[e>>12&63]+m[e>>6&63]+m[63&e]}function u(e,t,r){for(var i,a=[],s=t;so?o:s+16383));return 1===i?(t=e[r-1],a.push(m[t>>2]+m[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(m[t>>10]+m[t>>4&63]+m[t<<2&63]+"=")),a.join("")}r.byteLength=a,r.toByteArray=o,r.fromByteArray=p;for(var m=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,b=d.length;y=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(i)return K(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function h(e,t,r){var i=e[t];e[t]=e[r],e[r]=i}function N(e,t,r,i,a){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=a?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(a)return-1;r=e.length-1}else if(r<0){if(!a)return-1;r=0}if("string"==typeof t&&(t=s.from(t,i)),s.isBuffer(t))return 0===t.length?-1:I(e,t,r,i,a);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):I(e,[t],r,i,a);throw new TypeError("val must be string, number or Buffer")}function I(e,t,r,i,a){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(a){var m=-1;for(p=r;pn&&(r=n-u),p=r;p>=0;p--){for(var c=!0,l=0;la&&(i=a):i=a;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var o=0;o239?4:s>223?3:s>191?2:1;if(a+n<=r){var u,p,m,c;switch(n){case 1:s<128&&(o=s);break;case 2:u=e[a+1],128==(192&u)&&(c=(31&s)<<6|63&u)>127&&(o=c);break;case 3:u=e[a+1],p=e[a+2],128==(192&u)&&128==(192&p)&&(c=(15&s)<<12|(63&u)<<6|63&p)>2047&&(c<55296||c>57343)&&(o=c);break;case 4:u=e[a+1],p=e[a+2],m=e[a+3],128==(192&u)&&128==(192&p)&&128==(192&m)&&(c=(15&s)<<18|(63&u)<<12|(63&p)<<6|63&m)>65535&&c<1114112&&(o=c)}}null===o?(o=65533,n=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|1023&o),i.push(o),a+=n}return P(i)}function P(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var r="",i=0;ii)&&(r=i);for(var a="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function G(e,t,r,i,a,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function w(e,t,r,i){t<0&&(t=65535+t+1);for(var a=0,s=Math.min(e.length-r,2);a>>8*(i?a:1-a)}function B(e,t,r,i){t<0&&(t=4294967295+t+1);for(var a=0,s=Math.min(e.length-r,4);a>>8*(i?a:3-a)&255}function U(e,t,r,i,a,s){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,i,a){return a||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,i,23,4),r+4}function F(e,t,r,i,a){return a||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,i,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,i=e.length,a=null,s=[],o=0;o55295&&r<57344){if(!a){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&s.push(239,191,189);continue}a=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),a=r;continue}r=65536+(a-55296<<10|r-56320)}else a&&(t-=3)>-1&&s.push(239,191,189);if(a=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function j(e){for(var t=[],r=0;r>8,a=r%256,s.push(a),s.push(i);return s}function H(e){return Z.toByteArray(O(e))}function Q(e,t,r,i){for(var a=0;a=t.length||a>=e.length);++a)t[a+r]=e[a];return a}function J(e){return e!==e}var Z=e("base64-js"),X=e("ieee754"),Y=e("isarray");r.Buffer=s,r.SlowBuffer=b,r.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),r.kMaxLength=i(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return o(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return u(null,e,t,r)},s.allocUnsafe=function(e){return p(null,e)},s.allocUnsafeSlow=function(e){return p(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,i=t.length,a=0,o=Math.min(r,i);a0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},s.prototype.compare=function(e,t,r,i,a){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===a&&(a=this.length),t<0||r>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&t>=r)return 0;if(i>=a)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,n=r-t,u=Math.min(o,n),p=this.slice(i,a),m=e.slice(t,r),c=0;ca)&&(r=a),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return f(this,e,t,r);case"utf8":case"utf-8":return T(this,e,t,r);case"ascii":return C(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return R(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(a*=256);)i+=this[e+--t]*a;return i},s.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var i=this[e],a=1,s=0;++s=a&&(i-=Math.pow(2,8*t)),i},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var i=t,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*t)),s},s.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,i){if(e=+e,t|=0,r|=0,!i){G(this,e,t,r,Math.pow(2,8*r)-1,0)}var a=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+a]=e/s&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t|=0,!i){var a=Math.pow(2,8*r-1);G(this,e,t,r,a-1,-a)}var s=0,o=1,n=0;for(this[t]=255&e;++s>0)-n&255;return t+r},s.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t|=0,!i){var a=Math.pow(2,8*r-1);G(this,e,t,r,a-1,-a)}var s=r-1,o=1,n=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===n&&0!==this[t+s+1]&&(n=1),this[t+s]=(e/o>>0)-n&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,i){if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--a)e[a+t]=this[a+r];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(a=0;a>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},i.prototype.on=i.prototype.addListener,i.prototype.once=function(e,t){function r(){this.removeListener(e,r),i||(i=!0,t.apply(this,arguments))}if(!a(t))throw TypeError("listener must be a function");var i=!1;return r.listener=t,this.on(e,r),this},i.prototype.removeListener=function(e,t){var r,i,s,n;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,i=-1,r===t||a(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(n=s;n-- >0;)if(r[n]===t||r[n].listener&&r[n].listener===t){i=n;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},i.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],a(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},i.prototype.listeners=function(e){return this._events&&this._events[e]?a(this._events[e])?[this._events[e]]:this._events[e].slice():[]},i.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(a(t))return 1;if(t)return t.length}return 0},i.listenerCount=function(e,t){return e.listenerCount(t)}},{}],429:[function(e,t,r){r.read=function(e,t,r,i,a){var s,o,n=8*a-i-1,u=(1<>1,m=-7,c=r?a-1:0,l=r?-1:1,d=e[t+c];for(c+=l,s=d&(1<<-m)-1,d>>=-m,m+=n;m>0;s=256*s+e[t+c],c+=l,m-=8);for(o=s&(1<<-m)-1,s>>=-m,m+=i;m>0;o=256*o+e[t+c],c+=l,m-=8);if(0===s)s=1-p;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,i),s-=p}return(d?-1:1)*o*Math.pow(2,s-i)},r.write=function(e,t,r,i,a,s){var o,n,u,p=8*s-a-1,m=(1<>1,l=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:s-1,y=i?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,a),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,a),o=0));a>=8;e[r+d]=255&n,d+=y,n/=256,a-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],430:[function(e,t,r){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],431:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,a){if(e===a)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(a))return!1;if(!0===t(e)){if(e.length!==a.length)return!1;for(var s=0;s="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function n(e){return e>="0"&&e<="9"||"-"===e}function u(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function p(){}function m(){}function c(e){this.runtime=e}function l(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[g]}]},avg:{_func:this._functionAvg,_signature:[{types:[C]}]},ceil:{_func:this._functionCeil,_signature:[{types:[g]}]},contains:{_func:this._functionContains,_signature:[{types:[N,I]},{types:[h]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[N]},{types:[N]}]},floor:{_func:this._functionFloor,_signature:[{types:[g]}]},length:{_func:this._functionLength,_signature:[{types:[N,I,f]}]},map:{_func:this._functionMap,_signature:[{types:[T]},{types:[I]}]},max:{_func:this._functionMax,_signature:[{types:[C,k]}]},merge:{_func:this._functionMerge,_signature:[{types:[f],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[I]},{types:[T]}]},sum:{_func:this._functionSum,_signature:[{types:[C]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[N]},{types:[N]}]},min:{_func:this._functionMin,_signature:[{types:[C,k]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[I]},{types:[T]}]},type:{_func:this._functionType,_signature:[{types:[h]}]},keys:{_func:this._functionKeys,_signature:[{types:[f]}]},values:{_func:this._functionValues,_signature:[{types:[f]}]},sort:{_func:this._functionSort,_signature:[{types:[k,C]}]},sort_by:{_func:this._functionSortBy, -_signature:[{types:[I]},{types:[T]}]},join:{_func:this._functionJoin,_signature:[{types:[N]},{types:[k]}]},reverse:{_func:this._functionReverse,_signature:[{types:[N,I]}]},to_array:{_func:this._functionToArray,_signature:[{types:[h]}]},to_string:{_func:this._functionToString,_signature:[{types:[h]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[h]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[h],variadic:!0}]}}}function d(e){return(new m).parse(e)}function y(e){return(new p).tokenize(e)}function b(e,t){var r=new m,i=new l,a=new c(i);i._interpreter=a;var s=r.parse(t);return a.search(s,e)}var S;S="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var g=0,h=1,N=2,I=3,f=4,T=6,C=8,k=9,R={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},A={"<":!0,">":!0,"=":!0,"!":!0},D={" ":!0,"\t":!0,"\n":!0};p.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,i,a;this._current"===r?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,i=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(i.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var v={};v.EOF=0,v.UnquotedIdentifier=0,v.QuotedIdentifier=0,v.Rbracket=0,v.Rparen=0,v.Comma=0,v.Rbrace=0,v.Number=0,v.Current=0,v.Expref=0,v.Pipe=1,v.Or=2,v.And=3,v.EQ=5,v.GT=5,v.LT=5,v.GTE=5,v.LTE=5,v.NE=5,v.Flatten=9,v.Star=20,v.Filter=21,v.Dot=40,v.Not=45,v.Lbrace=50,v.Lbracket=55,v.Lparen=60,m.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var r=this._lookaheadToken(0),i=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw i.name="ParserError",i}return t},_loadTokens:function(e){var t=new p,r=t.tokenize(e);r.push({type:"EOF",value:"",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),i=this._lookahead(0);e=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(v[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var r=this._lookaheadToken(0),i=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw i.name="ParserError",i}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,i,a=[],s=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),s.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),r=this.expression(0),i={type:"KeyValuePair",name:t,value:r},a.push(i),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:a}}},c.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var n,u,p,m,c,l,d,y,b;switch(e.type){case"Field":return null===o?null:r(o)?(l=o[e.name],void 0===l?null:l):null;case"Subexpression":for(p=this.visit(e.children[0],o),b=1;b0)for(b=N;bI;b+=f)p.push(o[b]);return p;case"Projection":var T=this.visit(e.children[0],o);if(!t(T))return null;for(y=[],b=0;bc;break;case"GTE":p=m>=c;break;case"LT":p=m=e&&(t=r<0?e-1:e),t}},l.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var i;if(r[r.length-1].variadic){if(t.length=0;i--)r+=t[i];return r}var a=e[0].slice(0);return a.reverse(),a},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],i=0;i=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,i=e[0],a=e[1],s=0;s0){if(this._getTypeName(e[0][0])===g)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],i=1;i0){if(this._getTypeName(e[0][0])===g)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],i=1;in?1:oo&&(o=r,t=a[n]);return t},_functionMinBy:function(e){for(var t,r,i=e[1],a=e[0],s=this.createKeyFunction(i,[g,N]),o=1/0,n=0;n1)for(var r=1;r1&&(i=r[0]+"@",e=r[1]),e=e.replace(E,"."),i+s(e.split("."),t).join(".")}function n(e){for(var t,r,i=[],a=0,s=e.length;a=55296&&t<=56319&&a65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var i=0;for(e=r?G(e/A):e>>1,e+=G(e/t);e>L*k>>1;i+=T)e=G(e/L);return G(i+(L+1)*e/(e+R))}function l(e){var t,r,i,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,N=D;for(r=e.lastIndexOf(P),r<0&&(r=0),i=0;i=128&&a("not-basic"),b.push(e.charCodeAt(i));for(s=r>0?r+1:0;s=S&&a("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&a("overflow"),g+=l*n,d=m<=N?C:m>=N+k?k:m-N,!(lG(f/y)&&a("overflow"),n*=y;t=b.length+1,N=c(g-o,t,0==o),G(g/t)>f-h&&a("overflow"),h+=G(g/t),g%=t,b.splice(g++,0,h)}return u(b)}function d(e){var t,r,i,s,o,u,p,l,d,y,b,S,g,h,N,I=[];for(e=n(e),S=e.length,t=v,r=0,o=D,u=0;u=t&&bG((f-r)/g)&&a("overflow"),r+=(p-t)*g,t=p,u=0;uf&&a("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=T-C,G=Math.floor,w=String.fromCharCode;if(N={version:"1.3.2",ucs2:{decode:n,encode:u},decode:l,encode:d,toASCII:b,toUnicode:y},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return N});else if(S&&g)if(t.exports==S)g.exports=N;else for(I in N)N.hasOwnProperty(I)&&(S[I]=N[I]);else i.punycode=N}(this)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],434:[function(e,t,r){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,s){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var n=/\+/g;e=e.split(t);var u=1e3;s&&"number"==typeof s.maxKeys&&(u=s.maxKeys);var p=e.length;u>0&&p>u&&(p=u);for(var m=0;m=0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),i(o,d)?a(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],435:[function(e,t,r){"use strict";function i(e,t){if(e.map)return e.map(t);for(var r=[],i=0;i0&&u>n&&(u=n);for(var p=0;p=0?(m=y.substr(0,b),c=y.substr(b+1)):(m=y,c=""),l=decodeURIComponent(m),d=decodeURIComponent(c),i(s,l)?Array.isArray(s[l])?s[l].push(d):s[l]=[s[l],d]:s[l]=d}return s}},{}],438:[function(e,t,r){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(a){var s=encodeURIComponent(i(a))+r;return Array.isArray(e[a])?e[a].map(function(e){return s+encodeURIComponent(i(e))}).join(t):s+encodeURIComponent(i(e[a]))}).join(t):a?encodeURIComponent(i(a))+r+encodeURIComponent(i(e)):""}},{}],439:[function(e,t,r){arguments[4][436][0].apply(r,arguments)},{"./decode":437,"./encode":438,dup:436}],440:[function(e,t,r){(function(t,i){(function(){function a(e,t){this._id=e,this._clearFn=t}var s=e("process/browser.js").nextTick,o=Function.prototype.apply,n=Array.prototype.slice,u={},p=0;r.setTimeout=function(){return new a(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new a(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r.setImmediate="function"==typeof t?t:function(e){var t=p++,i=!(arguments.length<2)&&n.call(arguments,1);return u[t]=!0,s(function(){u[t]&&(i?e.apply(null,i):e.call(null),r.clearImmediate(t))}),t},r.clearImmediate="function"==typeof i?i:function(e){delete u[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":432,timers:440}],441:[function(e,t,r){function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function a(e,t,r){if(e&&p(e)&&e instanceof i)return e;var a=new i;return a.parse(e,t,r),a}function s(e){return u(e)&&(e=a(e)),e instanceof i?e.format():i.prototype.format.call(e)}function o(e,t){return a(e,!1,!0).resolve(t)}function n(e,t){return e?a(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function p(e){return"object"==typeof e&&null!==e}function m(e){return null===e}function c(e){return null==e}var l=e("punycode");r.parse=a,r.resolve=o,r.resolveObject=n,r.format=s,r.Url=i;var d=/^([a-z0-9.+-]+:)/i,y=/:[0-9]*$/,b=["<",">",'"',"`"," ","\r","\n","\t"],S=["{","}","|","\\","^","`"].concat(b),g=["'"].concat(S),h=["%","/","?",";","#"].concat(g),N=["/","?","#"],I=/^[a-z0-9A-Z_-]{0,63}$/,f=/^([a-z0-9A-Z_-]{0,63})(.*)$/,T={javascript:!0,"javascript:":!0},C={javascript:!0,"javascript:":!0},k={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},R=e("querystring");i.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e;i=i.trim();var a=d.exec(i);if(a){a=a[0];var s=a.toLowerCase();this.protocol=s,i=i.substr(a.length)}if(r||a||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var o="//"===i.substr(0,2);!o||a&&C[a]||(i=i.substr(2),this.slashes=!0)}if(!C[a]&&(o||a&&!k[a])){for(var n=-1,p=0;p127?v+="x":v+=D[P];if(!v.match(I)){var q=S.slice(0,p),E=S.slice(p+1),M=D.match(f);M&&(q.push(M[1]),E.unshift(M[2])),E.length&&(i="/"+E.join(".")+i),this.hostname=q.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!b){for(var L=this.hostname.split("."),G=[],p=0;p0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return r.search=e.search,r.query=e.query,m(r.pathname)&&m(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var g=y.slice(-1)[0],h=(r.host||e.host)&&("."===g||".."===g)||""===g,N=0,I=y.length;I>=0;I--)g=y[I],"."==g?y.splice(I,1):".."===g?(y.splice(I,1),N++):N&&(y.splice(I,1),N--);if(!l&&!d)for(;N--;N)y.unshift("..");!l||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),h&&"/"!==y.join("/").substr(-1)&&y.push("");var f=""===y[0]||y[0]&&"/"===y[0].charAt(0);if(b){r.hostname=r.host=f?"":y.length?y.shift():"";var S=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return l=l||r.host&&y.length,l&&!f&&y.unshift(""),y.length?r.pathname=y.join("/"):(r.pathname=null,r.path=null),m(r.pathname)&&m(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=y.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:433,querystring:436}],442:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],443:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],444:[function(e,t,r){(function(t,i){(function(){function a(e,t){var i={seen:[],stylize:o};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),b(t)?i.showHidden=t:t&&r._extend(i,t),f(i.showHidden)&&(i.showHidden=!1),f(i.depth)&&(i.depth=2),f(i.colors)&&(i.colors=!1),f(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=s),u(i,e,i.depth)}function s(e,t){var r=a.styles[t];return r?"["+a.colors[r][0]+"m"+e+"["+a.colors[r][1]+"m":e}function o(e,t){return e}function n(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,i){if(e.customInspect&&t&&A(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var a=t.inspect(i,e);return N(a)||(a=u(e,a,i)),a}var s=p(e,t);if(s)return s;var o=Object.keys(t),b=n(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),R(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return m(t);if(0===o.length){if(A(t)){var S=t.name?": "+t.name:"";return e.stylize("[Function"+S+"]","special")}if(T(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(R(t))return m(t)}var g="",h=!1,I=["{","}"];if(y(t)&&(h=!0,I=["[","]"]),A(t)){g=" [Function"+(t.name?": "+t.name:"")+"]"}if(T(t)&&(g=" "+RegExp.prototype.toString.call(t)),k(t)&&(g=" "+Date.prototype.toUTCString.call(t)),R(t)&&(g=" "+m(t)),0===o.length&&(!h||0==t.length))return I[0]+g+I[1];if(i<0)return T(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var f;return f=h?c(e,t,i,b,o):o.map(function(r){return l(e,t,i,b,r,h)}),e.seen.pop(),d(f,g,I)}function p(e,t){if(f(t))return e.stylize("undefined","undefined");if(N(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return h(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):S(t)?e.stylize("null","null"):void 0}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,r,i,a){for(var s=[],o=0,n=t.length;o-1&&(n=s?n.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+n.split("\n").map(function(e){return" "+e}).join("\n"))):n=e.stylize("[Circular]","special")),f(o)){if(s&&a.match(/^\d+$/))return n;o=JSON.stringify(""+a),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+n}function d(e,t,r){var i=0;return e.reduce(function(e,t){return i++,t.indexOf("\n")>=0&&i++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function S(e){return null===e}function g(e){return null==e}function h(e){return"number"==typeof e}function N(e){return"string"==typeof e}function I(e){return"symbol"==typeof e}function f(e){return void 0===e}function T(e){return C(e)&&"[object RegExp]"===v(e)}function C(e){return"object"==typeof e&&null!==e}function k(e){return C(e)&&"[object Date]"===v(e)}function R(e){return C(e)&&("[object Error]"===v(e)||e instanceof Error)}function A(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function v(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}function x(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":");return[e.getDate(),G[e.getMonth()],t].join(" ")}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;r.format=function(e){if(!N(e)){for(var t=[],r=0;r=s)return e;switch(e){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(e){return"[Circular]"}default:return e}}),n=i[r];r>>((3&t)<<3)&255;return s}}},{}],448:[function(e,t,r){function i(e,t,r){var i=t&&r||0,m=t||[];e=e||{};var c=e.node||a,l=void 0!==e.clockseq?e.clockseq:s;if(null==c||null==l){var d=o();null==c&&(c=a=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==l&&(l=s=16383&(d[6]<<8|d[7]))}var y=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:p+1,S=y-u+(b-p)/1e4;if(S<0&&void 0===e.clockseq&&(l=l+1&16383),(S<0||y>u)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=y,p=b,s=l,y+=122192928e5;var g=(1e4*(268435455&y)+b)%4294967296;m[i++]=g>>>24&255,m[i++]=g>>>16&255,m[i++]=g>>>8&255,m[i++]=255&g;var h=y/4294967296*1e4&268435455;m[i++]=h>>>8&255,m[i++]=255&h,m[i++]=h>>>24&15|16,m[i++]=h>>>16&255,m[i++]=l>>>8|128,m[i++]=255&l;for(var N=0;N<6;++N)m[i+N]=c[N];return t||n(m)}var a,s,o=e("./lib/rng"),n=e("./lib/bytesToUuid"),u=0,p=0;t.exports=i},{"./lib/bytesToUuid":446,"./lib/rng":447}],449:[function(e,t,r){function i(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var n=0;n<16;++n)t[i+n]=o[n];return t||s(o)}var a=e("./lib/rng"),s=e("./lib/bytesToUuid");t.exports=i},{"./lib/bytesToUuid":446,"./lib/rng":447}],450:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e("./utils/LRU"),a=1e3,s=function(){function e(e){void 0===e&&(e=a),this.maxSize=e,this.cache=new i.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,r){var i="string"!=typeof t?e.getKeyString(t):t,a=this.populateValue(r);this.cache.put(i,a)},e.prototype.get=function(t){var r="string"!=typeof t?e.getKeyString(t):t,i=Date.now(),a=this.cache.get(r);if(a){for(var s=a.length-1;s>=0;s--){a[s].Expire `0`",state:"success"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},BundleTaskComplete:{delay:15,operation:"DescribeBundleTasks",maxAttempts:40,acceptors:[{expected:"complete",matcher:"pathAll",state:"success",argument:"BundleTasks[].State"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"BundleTasks[].State"}]},ConversionTaskCancelled:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"cancelled",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"}]},ConversionTaskCompleted:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"},{expected:"cancelled",matcher:"pathAny",state:"failure",argument:"ConversionTasks[].State"},{expected:"cancelling",matcher:"pathAny",state:"failure",argument:"ConversionTasks[].State"}]},ConversionTaskDeleted:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"}]},CustomerGatewayAvailable:{delay:15,operation:"DescribeCustomerGateways",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"CustomerGateways[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"CustomerGateways[].State"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"CustomerGateways[].State"}]},ExportTaskCancelled:{delay:15,operation:"DescribeExportTasks",maxAttempts:40,acceptors:[{expected:"cancelled",matcher:"pathAll",state:"success",argument:"ExportTasks[].State"}]},ExportTaskCompleted:{delay:15,operation:"DescribeExportTasks",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"ExportTasks[].State"}]},ImageExists:{operation:"DescribeImages",maxAttempts:40,delay:15,acceptors:[{matcher:"path",expected:!0,argument:"length(Images[]) > `0`",state:"success"},{matcher:"error",expected:"InvalidAMIID.NotFound",state:"retry"}]},ImageAvailable:{operation:"DescribeImages",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"Images[].State",expected:"available"},{state:"failure",matcher:"pathAny",argument:"Images[].State",expected:"failed"}]},InstanceRunning:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"running",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"shutting-down",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},InstanceStatusOk:{operation:"DescribeInstanceStatus",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"InstanceStatuses[].InstanceStatus.Status",expected:"ok"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},InstanceStopped:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"stopped",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"}]},InstanceTerminated:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"terminated",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"}]},InternetGatewayExists:{operation:"DescribeInternetGateways",delay:5,maxAttempts:6,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(InternetGateways[].InternetGatewayId) > `0`"},{expected:"InvalidInternetGateway.NotFound",matcher:"error",state:"retry"}]},KeyPairExists:{operation:"DescribeKeyPairs",delay:5,maxAttempts:6,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(KeyPairs[].KeyName) > `0`"},{expected:"InvalidKeyPair.NotFound",matcher:"error",state:"retry"}]},NatGatewayAvailable:{operation:"DescribeNatGateways",delay:15,maxAttempts:40,acceptors:[{state:"success",matcher:"pathAll",argument:"NatGateways[].State",expected:"available"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"failed"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"deleting"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"deleted"},{state:"retry",matcher:"error",expected:"NatGatewayNotFound"}]},NetworkInterfaceAvailable:{operation:"DescribeNetworkInterfaces",delay:20,maxAttempts:10,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"NetworkInterfaces[].Status"},{expected:"InvalidNetworkInterfaceID.NotFound",matcher:"error",state:"failure"}]},PasswordDataAvailable:{operation:"GetPasswordData",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"path",argument:"length(PasswordData) > `0`",expected:!0}]},SnapshotCompleted:{delay:15,operation:"DescribeSnapshots",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"Snapshots[].State"},{expected:"error",matcher:"pathAny",state:"failure",argument:"Snapshots[].State"}]},SecurityGroupExists:{operation:"DescribeSecurityGroups",delay:5,maxAttempts:6,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(SecurityGroups[].GroupId) > `0`"},{expected:"InvalidGroup.NotFound",matcher:"error",state:"retry"}]},SpotInstanceRequestFulfilled:{operation:"DescribeSpotInstanceRequests",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"SpotInstanceRequests[].Status.Code",expected:"fulfilled"},{state:"success",matcher:"pathAll",argument:"SpotInstanceRequests[].Status.Code",expected:"request-canceled-and-instance-running"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"schedule-expired"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"canceled-before-fulfillment"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"bad-parameters"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"system-error"},{state:"retry",matcher:"error",expected:"InvalidSpotInstanceRequestID.NotFound"}]},SubnetAvailable:{delay:15,operation:"DescribeSubnets",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Subnets[].State"}]},SystemStatusOk:{operation:"DescribeInstanceStatus",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"InstanceStatuses[].SystemStatus.Status",expected:"ok"}]},VolumeAvailable:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Volumes[].State"}]},VolumeDeleted:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{matcher:"error",expected:"InvalidVolume.NotFound",state:"success"}]},VolumeInUse:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"in-use",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Volumes[].State"}]},VpcAvailable:{delay:15,operation:"DescribeVpcs",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Vpcs[].State"}]},VpcExists:{operation:"DescribeVpcs",delay:1,maxAttempts:5,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"InvalidVpcID.NotFound",state:"retry"}]},VpnConnectionAvailable:{delay:15,operation:"DescribeVpnConnections",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"VpnConnections[].State"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"}]},VpnConnectionDeleted:{delay:15,operation:"DescribeVpnConnections",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"VpnConnections[].State"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"}]},VpcPeeringConnectionExists:{delay:15,operation:"DescribeVpcPeeringConnections",maxAttempts:40,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"InvalidVpcPeeringConnectionID.NotFound",state:"retry"}]},VpcPeeringConnectionDeleted:{delay:15,operation:"DescribeVpcPeeringConnections",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"VpcPeeringConnections[].Status.Code"},{matcher:"error",expected:"InvalidVpcPeeringConnectionID.NotFound",state:"success"}]}}}},{}],82:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-09-21",endpointPrefix:"api.ecr",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon ECR",serviceFullName:"Amazon EC2 Container Registry",serviceId:"ECR",signatureVersion:"v4",signingName:"ecr",targetPrefix:"AmazonEC2ContainerRegistry_V20150921",uid:"ecr-2015-09-21"},operations:{BatchCheckLayerAvailability:{input:{type:"structure",required:["repositoryName","layerDigests"],members:{registryId:{},repositoryName:{},layerDigests:{type:"list",member:{}}}},output:{type:"structure",members:{layers:{type:"list",member:{type:"structure",members:{layerDigest:{},layerAvailability:{},layerSize:{type:"long"},mediaType:{}}}},failures:{type:"list",member:{type:"structure",members:{layerDigest:{},failureCode:{},failureReason:{}}}}}}},BatchDeleteImage:{input:{type:"structure",required:["repositoryName","imageIds"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Si"}}},output:{type:"structure",members:{imageIds:{shape:"Si"},failures:{shape:"Sn"}}}},BatchGetImage:{input:{type:"structure",required:["repositoryName","imageIds"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Si"},acceptedMediaTypes:{type:"list",member:{}}}},output:{type:"structure",members:{images:{type:"list",member:{shape:"Sv"}},failures:{shape:"Sn"}}}},BatchGetRepositoryScanningConfiguration:{input:{type:"structure",required:["repositoryNames"],members:{repositoryNames:{type:"list",member:{}}}},output:{type:"structure",members:{scanningConfigurations:{type:"list",member:{type:"structure",members:{repositoryArn:{},repositoryName:{},scanOnPush:{type:"boolean"},scanFrequency:{},appliedScanFilters:{shape:"S15"}}}},failures:{type:"list",member:{type:"structure",members:{repositoryName:{},failureCode:{},failureReason:{}}}}}}},CompleteLayerUpload:{input:{type:"structure",required:["repositoryName","uploadId","layerDigests"],members:{registryId:{},repositoryName:{},uploadId:{},layerDigests:{type:"list",member:{}}}},output:{type:"structure",members:{registryId:{},repositoryName:{},uploadId:{},layerDigest:{}}}},CreatePullThroughCacheRule:{input:{type:"structure",required:["ecrRepositoryPrefix","upstreamRegistryUrl"],members:{ecrRepositoryPrefix:{},upstreamRegistryUrl:{},registryId:{}}},output:{type:"structure",members:{ecrRepositoryPrefix:{},upstreamRegistryUrl:{},createdAt:{type:"timestamp"},registryId:{}}}},CreateRepository:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},tags:{shape:"S1n"},imageTagMutability:{},imageScanningConfiguration:{shape:"S1s"},encryptionConfiguration:{shape:"S1t"}}},output:{type:"structure",members:{repository:{shape:"S1x"}}}},DeleteLifecyclePolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{},lastEvaluatedAt:{type:"timestamp"}}}},DeletePullThroughCacheRule:{input:{type:"structure",required:["ecrRepositoryPrefix"],members:{ecrRepositoryPrefix:{},registryId:{}}},output:{type:"structure",members:{ecrRepositoryPrefix:{},upstreamRegistryUrl:{},createdAt:{type:"timestamp"},registryId:{}}}},DeleteRegistryPolicy:{input:{type:"structure",members:{}},output:{type:"structure",members:{registryId:{},policyText:{}}}},DeleteRepository:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},force:{type:"boolean"}}},output:{type:"structure",members:{repository:{shape:"S1x"}}}},DeleteRepositoryPolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},DescribeImageReplicationStatus:{input:{type:"structure",required:["repositoryName","imageId"],members:{repositoryName:{},imageId:{shape:"Sj"},registryId:{}}},output:{type:"structure",members:{repositoryName:{},imageId:{shape:"Sj"},replicationStatuses:{type:"list",member:{type:"structure",members:{region:{},registryId:{},status:{},failureCode:{}}}}}}},DescribeImageScanFindings:{input:{type:"structure",required:["repositoryName","imageId"],members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"},imageScanStatus:{shape:"S2o"},imageScanFindings:{type:"structure",members:{imageScanCompletedAt:{type:"timestamp"},vulnerabilitySourceUpdatedAt:{type:"timestamp"},findingSeverityCounts:{shape:"S2u"},findings:{type:"list",member:{type:"structure",members:{name:{},description:{},uri:{},severity:{},attributes:{type:"list",member:{type:"structure",required:["key"],members:{key:{},value:{}}}}}}},enhancedFindings:{type:"list",member:{type:"structure",members:{awsAccountId:{},description:{},findingArn:{},firstObservedAt:{type:"timestamp"},lastObservedAt:{type:"timestamp"},packageVulnerabilityDetails:{type:"structure",members:{cvss:{type:"list",member:{type:"structure",members:{baseScore:{type:"double"},scoringVector:{},source:{},version:{}}}},referenceUrls:{type:"list",member:{}},relatedVulnerabilities:{type:"list",member:{}},source:{},sourceUrl:{},vendorCreatedAt:{type:"timestamp"},vendorSeverity:{},vendorUpdatedAt:{type:"timestamp"},vulnerabilityId:{},vulnerablePackages:{type:"list",member:{type:"structure",members:{arch:{},epoch:{type:"integer"},filePath:{},name:{},packageManager:{},release:{},sourceLayerHash:{},version:{}}}}}},remediation:{type:"structure",members:{recommendation:{type:"structure",members:{url:{},text:{}}}}},resources:{type:"list",member:{type:"structure",members:{details:{type:"structure",members:{awsEcrContainerImage:{type:"structure",members:{architecture:{},author:{},imageHash:{},imageTags:{type:"list",member:{}},platform:{},pushedAt:{type:"timestamp"},registry:{},repositoryName:{}}}}},id:{},tags:{type:"map",key:{},value:{}},type:{}}}},score:{type:"double"},scoreDetails:{type:"structure",members:{cvss:{type:"structure",members:{adjustments:{type:"list",member:{type:"structure",members:{metric:{},reason:{}}}},score:{type:"double"},scoreSource:{},scoringVector:{},version:{}}}}},severity:{},status:{},title:{},type:{},updatedAt:{type:"timestamp"}}}}}},nextToken:{}}}},DescribeImages:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Si"},nextToken:{},maxResults:{type:"integer"},filter:{type:"structure",members:{tagStatus:{}}}}},output:{type:"structure",members:{imageDetails:{type:"list",member:{type:"structure",members:{registryId:{},repositoryName:{},imageDigest:{},imageTags:{shape:"S4m"},imageSizeInBytes:{type:"long"},imagePushedAt:{type:"timestamp"},imageScanStatus:{shape:"S2o"},imageScanFindingsSummary:{type:"structure",members:{imageScanCompletedAt:{type:"timestamp"},vulnerabilitySourceUpdatedAt:{type:"timestamp"},findingSeverityCounts:{shape:"S2u"}}},imageManifestMediaType:{},artifactMediaType:{}}}},nextToken:{}}}},DescribePullThroughCacheRules:{input:{type:"structure",members:{registryId:{},ecrRepositoryPrefixes:{type:"list",member:{}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{pullThroughCacheRules:{type:"list",member:{type:"structure",members:{ecrRepositoryPrefix:{},upstreamRegistryUrl:{},createdAt:{type:"timestamp"},registryId:{}}}},nextToken:{}}}},DescribeRegistry:{input:{type:"structure",members:{}},output:{type:"structure",members:{registryId:{},replicationConfiguration:{shape:"S4x"}}}},DescribeRepositories:{input:{type:"structure",members:{registryId:{},repositoryNames:{type:"list",member:{}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{repositories:{type:"list",member:{shape:"S1x"}},nextToken:{}}}},GetAuthorizationToken:{input:{type:"structure",members:{registryIds:{deprecated:!0,deprecatedMessage:"This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token.",type:"list",member:{}}}},output:{type:"structure",members:{authorizationData:{type:"list",member:{type:"structure",members:{authorizationToken:{},expiresAt:{type:"timestamp"},proxyEndpoint:{}}}}}}},GetDownloadUrlForLayer:{input:{type:"structure",required:["repositoryName","layerDigest"],members:{registryId:{},repositoryName:{},layerDigest:{}}},output:{type:"structure",members:{downloadUrl:{},layerDigest:{}}}},GetLifecyclePolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{},lastEvaluatedAt:{type:"timestamp"}}}},GetLifecyclePolicyPreview:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Si"},nextToken:{},maxResults:{type:"integer"},filter:{type:"structure",members:{tagStatus:{}}}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{},status:{},nextToken:{},previewResults:{type:"list",member:{type:"structure",members:{imageTags:{shape:"S4m"},imageDigest:{},imagePushedAt:{type:"timestamp"},action:{type:"structure",members:{type:{}}},appliedRulePriority:{type:"integer"}}}},summary:{type:"structure",members:{expiringImageTotalCount:{type:"integer"}}}}}},GetRegistryPolicy:{input:{type:"structure",members:{}},output:{type:"structure",members:{registryId:{},policyText:{}}}},GetRegistryScanningConfiguration:{input:{type:"structure",members:{}},output:{type:"structure",members:{registryId:{},scanningConfiguration:{shape:"S62"}}}},GetRepositoryPolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},InitiateLayerUpload:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{uploadId:{},partSize:{type:"long"}}}},ListImages:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},nextToken:{},maxResults:{type:"integer"},filter:{type:"structure",members:{tagStatus:{}}}}},output:{type:"structure",members:{imageIds:{shape:"Si"},nextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{}}},output:{type:"structure",members:{tags:{shape:"S1n"}}}},PutImage:{input:{type:"structure",required:["repositoryName","imageManifest"],members:{registryId:{},repositoryName:{},imageManifest:{},imageManifestMediaType:{},imageTag:{},imageDigest:{}}},output:{type:"structure",members:{image:{shape:"Sv"}}}},PutImageScanningConfiguration:{input:{type:"structure",required:["repositoryName","imageScanningConfiguration"],members:{registryId:{},repositoryName:{},imageScanningConfiguration:{shape:"S1s"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},imageScanningConfiguration:{shape:"S1s"}}}},PutImageTagMutability:{input:{type:"structure",required:["repositoryName","imageTagMutability"],members:{registryId:{},repositoryName:{},imageTagMutability:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},imageTagMutability:{}}}},PutLifecyclePolicy:{input:{type:"structure",required:["repositoryName","lifecyclePolicyText"],members:{registryId:{},repositoryName:{},lifecyclePolicyText:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{}}}},PutRegistryPolicy:{input:{type:"structure",required:["policyText"],members:{policyText:{}}},output:{type:"structure",members:{registryId:{},policyText:{}}}},PutRegistryScanningConfiguration:{input:{type:"structure",members:{scanType:{},rules:{shape:"S64"}}},output:{type:"structure",members:{registryScanningConfiguration:{shape:"S62"}}}},PutReplicationConfiguration:{input:{type:"structure",required:["replicationConfiguration"],members:{replicationConfiguration:{shape:"S4x"}}},output:{type:"structure",members:{replicationConfiguration:{shape:"S4x"}}}},SetRepositoryPolicy:{input:{type:"structure",required:["repositoryName","policyText"],members:{registryId:{},repositoryName:{},policyText:{},force:{type:"boolean"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}}},StartImageScan:{input:{type:"structure",required:["repositoryName","imageId"],members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"},imageScanStatus:{shape:"S2o"}}}},StartLifecyclePolicyPreview:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},lifecyclePolicyText:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},lifecyclePolicyText:{},status:{}}}},TagResource:{input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{},tags:{shape:"S1n"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{},tagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UploadLayerPart:{input:{type:"structure",required:["repositoryName","uploadId","partFirstByte","partLastByte","layerPartBlob"],members:{registryId:{},repositoryName:{},uploadId:{},partFirstByte:{type:"long"},partLastByte:{type:"long"},layerPartBlob:{type:"blob"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},uploadId:{},lastByteReceived:{type:"long"}}}}},shapes:{Si:{type:"list",member:{shape:"Sj"}},Sj:{type:"structure",members:{imageDigest:{},imageTag:{}}},Sn:{type:"list",member:{type:"structure",members:{imageId:{shape:"Sj"},failureCode:{},failureReason:{}}}},Sv:{type:"structure",members:{registryId:{},repositoryName:{},imageId:{shape:"Sj"},imageManifest:{},imageManifestMediaType:{}}},S15:{type:"list",member:{type:"structure",required:["filter","filterType"],members:{filter:{},filterType:{}}}},S1n:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S1s:{type:"structure",members:{scanOnPush:{type:"boolean"}}},S1t:{type:"structure",required:["encryptionType"],members:{encryptionType:{},kmsKey:{}}},S1x:{type:"structure",members:{repositoryArn:{},registryId:{},repositoryName:{},repositoryUri:{},createdAt:{type:"timestamp"},imageTagMutability:{},imageScanningConfiguration:{shape:"S1s"},encryptionConfiguration:{shape:"S1t"}}},S2o:{type:"structure",members:{status:{},description:{}}},S2u:{type:"map",key:{},value:{type:"integer"}},S4m:{type:"list",member:{}},S4x:{type:"structure",required:["rules"],members:{rules:{type:"list",member:{type:"structure",required:["destinations"],members:{destinations:{type:"list",member:{type:"structure",required:["region","registryId"],members:{region:{},registryId:{}}}},repositoryFilters:{type:"list",member:{type:"structure",required:["filter","filterType"],members:{filter:{},filterType:{}}}}}}}}},S62:{type:"structure",members:{scanType:{},rules:{shape:"S64"}}},S64:{type:"list",member:{type:"structure",required:["scanFrequency","repositoryFilters"],members:{scanFrequency:{},repositoryFilters:{shape:"S15"}}}}}}},{}],83:[function(e,t,r){t.exports={pagination:{DescribeImageScanFindings:{input_token:"nextToken",limit_key:"maxResults",non_aggregate_keys:["registryId","repositoryName","imageId","imageScanStatus","imageScanFindings"],output_token:"nextToken",result_key:"imageScanFindings.findings"},DescribeImages:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"imageDetails"}, +DescribePullThroughCacheRules:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"pullThroughCacheRules"},DescribeRepositories:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"repositories"},GetLifecyclePolicyPreview:{input_token:"nextToken",limit_key:"maxResults",non_aggregate_keys:["registryId","repositoryName","lifecyclePolicyText","status","summary"],output_token:"nextToken",result_key:"previewResults"},ListImages:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"imageIds"}}}},{}],84:[function(e,t,r){t.exports={version:2,waiters:{ImageScanComplete:{description:"Wait until an image scan is complete and findings can be accessed",operation:"DescribeImageScanFindings",delay:5,maxAttempts:60,acceptors:[{state:"success",matcher:"path",argument:"imageScanStatus.status",expected:"COMPLETE"},{state:"failure",matcher:"path",argument:"imageScanStatus.status",expected:"FAILED"}]},LifecyclePolicyPreviewComplete:{description:"Wait until a lifecycle policy preview request is complete and results can be accessed",operation:"GetLifecyclePolicyPreview",delay:5,maxAttempts:20,acceptors:[{state:"success",matcher:"path",argument:"status",expected:"COMPLETE"},{state:"failure",matcher:"path",argument:"status",expected:"FAILED"}]}}}},{}],85:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-11-13",endpointPrefix:"ecs",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon ECS",serviceFullName:"Amazon EC2 Container Service",serviceId:"ECS",signatureVersion:"v4",targetPrefix:"AmazonEC2ContainerServiceV20141113",uid:"ecs-2014-11-13"},operations:{CreateCapacityProvider:{input:{type:"structure",required:["name","autoScalingGroupProvider"],members:{name:{},autoScalingGroupProvider:{shape:"S3"},tags:{shape:"Sa"}}},output:{type:"structure",members:{capacityProvider:{shape:"Sf"}}}},CreateCluster:{input:{type:"structure",members:{clusterName:{},tags:{shape:"Sa"},settings:{shape:"Sj"},configuration:{shape:"Sm"},capacityProviders:{shape:"Sr"},defaultCapacityProviderStrategy:{shape:"Ss"}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},CreateService:{input:{type:"structure",required:["serviceName"],members:{cluster:{},serviceName:{},taskDefinition:{},loadBalancers:{shape:"S15"},serviceRegistries:{shape:"S18"},desiredCount:{type:"integer"},clientToken:{},launchType:{},capacityProviderStrategy:{shape:"Ss"},platformVersion:{},role:{},deploymentConfiguration:{shape:"S1b"},placementConstraints:{shape:"S1d"},placementStrategy:{shape:"S1g"},networkConfiguration:{shape:"S1j"},healthCheckGracePeriodSeconds:{type:"integer"},schedulingStrategy:{},deploymentController:{shape:"S1n"},tags:{shape:"Sa"},enableECSManagedTags:{type:"boolean"},propagateTags:{},enableExecuteCommand:{type:"boolean"}}},output:{type:"structure",members:{service:{shape:"S1r"}}}},CreateTaskSet:{input:{type:"structure",required:["service","cluster","taskDefinition"],members:{service:{},cluster:{},externalId:{},taskDefinition:{},networkConfiguration:{shape:"S1j"},loadBalancers:{shape:"S15"},serviceRegistries:{shape:"S18"},launchType:{},capacityProviderStrategy:{shape:"Ss"},platformVersion:{},scale:{shape:"S1v"},clientToken:{},tags:{shape:"Sa"}}},output:{type:"structure",members:{taskSet:{shape:"S1t"}}}},DeleteAccountSetting:{input:{type:"structure",required:["name"],members:{name:{},principalArn:{}}},output:{type:"structure",members:{setting:{shape:"S29"}}}},DeleteAttributes:{input:{type:"structure",required:["attributes"],members:{cluster:{},attributes:{shape:"S2b"}}},output:{type:"structure",members:{attributes:{shape:"S2b"}}}},DeleteCapacityProvider:{input:{type:"structure",required:["capacityProvider"],members:{capacityProvider:{}}},output:{type:"structure",members:{capacityProvider:{shape:"Sf"}}}},DeleteCluster:{input:{type:"structure",required:["cluster"],members:{cluster:{}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},DeleteService:{input:{type:"structure",required:["service"],members:{cluster:{},service:{},force:{type:"boolean"}}},output:{type:"structure",members:{service:{shape:"S1r"}}}},DeleteTaskSet:{input:{type:"structure",required:["cluster","service","taskSet"],members:{cluster:{},service:{},taskSet:{},force:{type:"boolean"}}},output:{type:"structure",members:{taskSet:{shape:"S1t"}}}},DeregisterContainerInstance:{input:{type:"structure",required:["containerInstance"],members:{cluster:{},containerInstance:{},force:{type:"boolean"}}},output:{type:"structure",members:{containerInstance:{shape:"S2q"}}}},DeregisterTaskDefinition:{input:{type:"structure",required:["taskDefinition"],members:{taskDefinition:{}}},output:{type:"structure",members:{taskDefinition:{shape:"S33"}}}},DescribeCapacityProviders:{input:{type:"structure",members:{capacityProviders:{shape:"Sr"},include:{type:"list",member:{}},maxResults:{type:"integer"},nextToken:{}}},output:{type:"structure",members:{capacityProviders:{type:"list",member:{shape:"Sf"}},failures:{shape:"S5d"},nextToken:{}}}},DescribeClusters:{input:{type:"structure",members:{clusters:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{clusters:{type:"list",member:{shape:"Sx"}},failures:{shape:"S5d"}}}},DescribeContainerInstances:{input:{type:"structure",required:["containerInstances"],members:{cluster:{},containerInstances:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{containerInstances:{shape:"S5o"},failures:{shape:"S5d"}}}},DescribeServices:{input:{type:"structure",required:["services"],members:{cluster:{},services:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{services:{type:"list",member:{shape:"S1r"}},failures:{shape:"S5d"}}}},DescribeTaskDefinition:{input:{type:"structure",required:["taskDefinition"],members:{taskDefinition:{},include:{type:"list",member:{}}}},output:{type:"structure",members:{taskDefinition:{shape:"S33"},tags:{shape:"Sa"}}}},DescribeTaskSets:{input:{type:"structure",required:["cluster","service"],members:{cluster:{},service:{},taskSets:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{taskSets:{shape:"S1s"},failures:{shape:"S5d"}}}},DescribeTasks:{input:{type:"structure",required:["tasks"],members:{cluster:{},tasks:{shape:"Sr"},include:{type:"list",member:{}}}},output:{type:"structure",members:{tasks:{shape:"S66"},failures:{shape:"S5d"}}}},DiscoverPollEndpoint:{input:{type:"structure",members:{containerInstance:{},cluster:{}}},output:{type:"structure",members:{endpoint:{},telemetryEndpoint:{}}}},ExecuteCommand:{input:{type:"structure",required:["command","interactive","task"],members:{cluster:{},container:{},command:{},interactive:{type:"boolean"},task:{}}},output:{type:"structure",members:{clusterArn:{},containerArn:{},containerName:{},interactive:{type:"boolean"},session:{type:"structure",members:{sessionId:{},streamUrl:{},tokenValue:{type:"string",sensitive:!0}}},taskArn:{}}}},ListAccountSettings:{input:{type:"structure",members:{name:{},value:{},principalArn:{},effectiveSettings:{type:"boolean"},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{settings:{type:"list",member:{shape:"S29"}},nextToken:{}}}},ListAttributes:{input:{type:"structure",required:["targetType"],members:{cluster:{},targetType:{},attributeName:{},attributeValue:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{attributes:{shape:"S2b"},nextToken:{}}}},ListClusters:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{clusterArns:{shape:"Sr"},nextToken:{}}}},ListContainerInstances:{input:{type:"structure",members:{cluster:{},filter:{},nextToken:{},maxResults:{type:"integer"},status:{}}},output:{type:"structure",members:{containerInstanceArns:{shape:"Sr"},nextToken:{}}}},ListServices:{input:{type:"structure",members:{cluster:{},nextToken:{},maxResults:{type:"integer"},launchType:{},schedulingStrategy:{}}},output:{type:"structure",members:{serviceArns:{shape:"Sr"},nextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{}}},output:{type:"structure",members:{tags:{shape:"Sa"}}}},ListTaskDefinitionFamilies:{input:{type:"structure",members:{familyPrefix:{},status:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{families:{shape:"Sr"},nextToken:{}}}},ListTaskDefinitions:{input:{type:"structure",members:{familyPrefix:{},status:{},sort:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{taskDefinitionArns:{shape:"Sr"},nextToken:{}}}},ListTasks:{input:{type:"structure",members:{cluster:{},containerInstance:{},family:{},nextToken:{},maxResults:{type:"integer"},startedBy:{},serviceName:{},desiredStatus:{},launchType:{}}},output:{type:"structure",members:{taskArns:{shape:"Sr"},nextToken:{}}}},PutAccountSetting:{input:{type:"structure",required:["name","value"],members:{name:{},value:{},principalArn:{}}},output:{type:"structure",members:{setting:{shape:"S29"}}}},PutAccountSettingDefault:{input:{type:"structure",required:["name","value"],members:{name:{},value:{}}},output:{type:"structure",members:{setting:{shape:"S29"}}}},PutAttributes:{input:{type:"structure",required:["attributes"],members:{cluster:{},attributes:{shape:"S2b"}}},output:{type:"structure",members:{attributes:{shape:"S2b"}}}},PutClusterCapacityProviders:{input:{type:"structure",required:["cluster","capacityProviders","defaultCapacityProviderStrategy"],members:{cluster:{},capacityProviders:{shape:"Sr"},defaultCapacityProviderStrategy:{shape:"Ss"}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},RegisterContainerInstance:{input:{type:"structure",members:{cluster:{},instanceIdentityDocument:{},instanceIdentityDocumentSignature:{},totalResources:{shape:"S2t"},versionInfo:{shape:"S2s"},containerInstanceArn:{},attributes:{shape:"S2b"},platformDevices:{type:"list",member:{type:"structure",required:["id","type"],members:{id:{},type:{}}}},tags:{shape:"Sa"}}},output:{type:"structure",members:{containerInstance:{shape:"S2q"}}}},RegisterTaskDefinition:{input:{type:"structure",required:["family","containerDefinitions"],members:{family:{},taskRoleArn:{},executionRoleArn:{},networkMode:{},containerDefinitions:{shape:"S34"},volumes:{shape:"S4e"},placementConstraints:{shape:"S4s"},requiresCompatibilities:{shape:"S4v"},cpu:{},memory:{},tags:{shape:"Sa"},pidMode:{},ipcMode:{},proxyConfiguration:{shape:"S54"},inferenceAccelerators:{shape:"S50"},ephemeralStorage:{shape:"S57"},runtimePlatform:{shape:"S4x"}}},output:{type:"structure",members:{taskDefinition:{shape:"S33"},tags:{shape:"Sa"}}}},RunTask:{input:{type:"structure",required:["taskDefinition"],members:{capacityProviderStrategy:{shape:"Ss"},cluster:{},count:{type:"integer"},enableECSManagedTags:{type:"boolean"},enableExecuteCommand:{type:"boolean"},group:{},launchType:{},networkConfiguration:{shape:"S1j"},overrides:{shape:"S6k"},placementConstraints:{shape:"S1d"},placementStrategy:{shape:"S1g"},platformVersion:{},propagateTags:{},referenceId:{},startedBy:{},tags:{shape:"Sa"},taskDefinition:{}}},output:{type:"structure",members:{tasks:{shape:"S66"},failures:{shape:"S5d"}}}},StartTask:{input:{type:"structure",required:["containerInstances","taskDefinition"],members:{cluster:{},containerInstances:{shape:"Sr"},enableECSManagedTags:{type:"boolean"},enableExecuteCommand:{type:"boolean"},group:{},networkConfiguration:{shape:"S1j"},overrides:{shape:"S6k"},propagateTags:{},referenceId:{},startedBy:{},tags:{shape:"Sa"},taskDefinition:{}}},output:{type:"structure",members:{tasks:{shape:"S66"},failures:{shape:"S5d"}}}},StopTask:{input:{type:"structure",required:["task"],members:{cluster:{},task:{},reason:{}}},output:{type:"structure",members:{task:{shape:"S67"}}}},SubmitAttachmentStateChanges:{input:{type:"structure",required:["attachments"],members:{cluster:{},attachments:{shape:"S85"}}},output:{type:"structure",members:{acknowledgment:{}}}},SubmitContainerStateChange:{input:{type:"structure",members:{cluster:{},task:{},containerName:{},runtimeId:{},status:{},exitCode:{type:"integer"},reason:{},networkBindings:{shape:"S6b"}}},output:{type:"structure",members:{acknowledgment:{}}}},SubmitTaskStateChange:{input:{type:"structure",members:{cluster:{},task:{},status:{},reason:{},containers:{type:"list",member:{type:"structure",members:{containerName:{},imageDigest:{},runtimeId:{},exitCode:{type:"integer"},networkBindings:{shape:"S6b"},reason:{},status:{}}}},attachments:{shape:"S85"},managedAgents:{type:"list",member:{type:"structure",required:["containerName","managedAgentName","status"],members:{containerName:{},managedAgentName:{},status:{},reason:{}}}},pullStartedAt:{type:"timestamp"},pullStoppedAt:{type:"timestamp"},executionStoppedAt:{type:"timestamp"}}},output:{type:"structure",members:{acknowledgment:{}}}},TagResource:{input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{},tags:{shape:"Sa"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{},tagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateCapacityProvider:{input:{type:"structure",required:["name","autoScalingGroupProvider"],members:{name:{},autoScalingGroupProvider:{type:"structure",members:{managedScaling:{shape:"S4"},managedTerminationProtection:{}}}}},output:{type:"structure",members:{capacityProvider:{shape:"Sf"}}}},UpdateCluster:{input:{type:"structure",required:["cluster"],members:{cluster:{},settings:{shape:"Sj"},configuration:{shape:"Sm"}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},UpdateClusterSettings:{input:{type:"structure",required:["cluster","settings"],members:{cluster:{},settings:{shape:"Sj"}}},output:{type:"structure",members:{cluster:{shape:"Sx"}}}},UpdateContainerAgent:{input:{type:"structure",required:["containerInstance"],members:{cluster:{},containerInstance:{}}},output:{type:"structure",members:{containerInstance:{shape:"S2q"}}}},UpdateContainerInstancesState:{input:{type:"structure",required:["containerInstances","status"],members:{cluster:{},containerInstances:{shape:"Sr"},status:{}}},output:{type:"structure",members:{containerInstances:{shape:"S5o"},failures:{shape:"S5d"}}}},UpdateService:{input:{type:"structure",required:["service"],members:{cluster:{},service:{},desiredCount:{type:"integer"},taskDefinition:{},capacityProviderStrategy:{shape:"Ss"},deploymentConfiguration:{shape:"S1b"},networkConfiguration:{shape:"S1j"},placementConstraints:{shape:"S1d"},placementStrategy:{shape:"S1g"},platformVersion:{},forceNewDeployment:{type:"boolean"},healthCheckGracePeriodSeconds:{type:"integer"},enableExecuteCommand:{type:"boolean"}}},output:{type:"structure",members:{service:{shape:"S1r"}}}},UpdateServicePrimaryTaskSet:{input:{type:"structure",required:["cluster","service","primaryTaskSet"],members:{cluster:{},service:{},primaryTaskSet:{}}},output:{type:"structure",members:{taskSet:{shape:"S1t"}}}},UpdateTaskSet:{input:{type:"structure",required:["cluster","service","taskSet","scale"],members:{cluster:{},service:{},taskSet:{},scale:{shape:"S1v"}}},output:{type:"structure",members:{taskSet:{shape:"S1t"}}}}},shapes:{S3:{type:"structure",required:["autoScalingGroupArn"],members:{autoScalingGroupArn:{},managedScaling:{shape:"S4"},managedTerminationProtection:{}}},S4:{type:"structure",members:{status:{},targetCapacity:{type:"integer"},minimumScalingStepSize:{type:"integer"},maximumScalingStepSize:{type:"integer"},instanceWarmupPeriod:{type:"integer"}}},Sa:{type:"list",member:{type:"structure",members:{key:{},value:{}}}},Sf:{type:"structure",members:{capacityProviderArn:{},name:{},status:{},autoScalingGroupProvider:{shape:"S3"},updateStatus:{},updateStatusReason:{},tags:{shape:"Sa"}}},Sj:{type:"list",member:{type:"structure",members:{name:{},value:{}}}},Sm:{type:"structure",members:{executeCommandConfiguration:{type:"structure",members:{kmsKeyId:{},logging:{},logConfiguration:{type:"structure",members:{cloudWatchLogGroupName:{},cloudWatchEncryptionEnabled:{type:"boolean"},s3BucketName:{},s3EncryptionEnabled:{type:"boolean"},s3KeyPrefix:{}}}}}}},Sr:{type:"list",member:{}},Ss:{type:"list",member:{type:"structure",required:["capacityProvider"],members:{capacityProvider:{},weight:{type:"integer"},base:{type:"integer"}}}},Sx:{type:"structure",members:{clusterArn:{},clusterName:{},configuration:{shape:"Sm"},status:{},registeredContainerInstancesCount:{type:"integer"},runningTasksCount:{type:"integer"},pendingTasksCount:{type:"integer"},activeServicesCount:{type:"integer"},statistics:{type:"list",member:{shape:"S10"}},tags:{shape:"Sa"},settings:{shape:"Sj"},capacityProviders:{shape:"Sr"},defaultCapacityProviderStrategy:{shape:"Ss"},attachments:{shape:"S11"},attachmentsStatus:{}}},S10:{type:"structure",members:{name:{},value:{}}},S11:{type:"list",member:{type:"structure",members:{id:{},type:{},status:{},details:{type:"list",member:{shape:"S10"}}}}},S15:{type:"list",member:{type:"structure",members:{targetGroupArn:{},loadBalancerName:{},containerName:{},containerPort:{type:"integer"}}}},S18:{type:"list",member:{type:"structure",members:{registryArn:{},port:{type:"integer"},containerName:{},containerPort:{type:"integer"}}}},S1b:{type:"structure",members:{deploymentCircuitBreaker:{type:"structure",required:["enable","rollback"],members:{enable:{type:"boolean"},rollback:{type:"boolean"}}},maximumPercent:{type:"integer"},minimumHealthyPercent:{type:"integer"}}},S1d:{type:"list",member:{type:"structure",members:{type:{},expression:{}}}},S1g:{type:"list",member:{type:"structure",members:{type:{},field:{}}}},S1j:{type:"structure",members:{awsvpcConfiguration:{type:"structure",required:["subnets"],members:{subnets:{shape:"Sr"},securityGroups:{shape:"Sr"},assignPublicIp:{}}}}},S1n:{type:"structure",required:["type"],members:{type:{}}},S1r:{type:"structure",members:{serviceArn:{},serviceName:{},clusterArn:{},loadBalancers:{shape:"S15"},serviceRegistries:{shape:"S18"},status:{},desiredCount:{type:"integer"},runningCount:{type:"integer"},pendingCount:{type:"integer"},launchType:{},capacityProviderStrategy:{shape:"Ss"},platformVersion:{},platformFamily:{},taskDefinition:{},deploymentConfiguration:{shape:"S1b"},taskSets:{shape:"S1s"},deployments:{type:"list",member:{type:"structure",members:{id:{},status:{},taskDefinition:{},desiredCount:{type:"integer"},pendingCount:{type:"integer"},runningCount:{type:"integer"},failedTasks:{type:"integer"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"},capacityProviderStrategy:{shape:"Ss"},launchType:{},platformVersion:{},platformFamily:{},networkConfiguration:{shape:"S1j"},rolloutState:{},rolloutStateReason:{}}}},roleArn:{},events:{type:"list",member:{type:"structure",members:{id:{},createdAt:{type:"timestamp"},message:{}}}},createdAt:{type:"timestamp"},placementConstraints:{shape:"S1d"},placementStrategy:{shape:"S1g"},networkConfiguration:{shape:"S1j"},healthCheckGracePeriodSeconds:{type:"integer"},schedulingStrategy:{},deploymentController:{shape:"S1n"},tags:{shape:"Sa"},createdBy:{},enableECSManagedTags:{type:"boolean"},propagateTags:{},enableExecuteCommand:{type:"boolean"}}},S1s:{type:"list",member:{shape:"S1t"}},S1t:{type:"structure",members:{id:{},taskSetArn:{},serviceArn:{},clusterArn:{},startedBy:{},externalId:{},status:{},taskDefinition:{},computedDesiredCount:{type:"integer"},pendingCount:{type:"integer"},runningCount:{type:"integer"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"},launchType:{},capacityProviderStrategy:{shape:"Ss"},platformVersion:{},platformFamily:{},networkConfiguration:{shape:"S1j"},loadBalancers:{shape:"S15"},serviceRegistries:{shape:"S18"},scale:{shape:"S1v"},stabilityStatus:{},stabilityStatusAt:{type:"timestamp"},tags:{shape:"Sa"}}},S1v:{type:"structure",members:{value:{type:"double"},unit:{}}},S29:{type:"structure",members:{name:{},value:{},principalArn:{}}},S2b:{type:"list",member:{shape:"S2c"}},S2c:{type:"structure",required:["name"],members:{name:{},value:{},targetType:{},targetId:{}}},S2q:{type:"structure",members:{containerInstanceArn:{},ec2InstanceId:{},capacityProviderName:{},version:{type:"long"},versionInfo:{shape:"S2s"},remainingResources:{shape:"S2t"},registeredResources:{shape:"S2t"},status:{},statusReason:{},agentConnected:{type:"boolean"},runningTasksCount:{type:"integer"},pendingTasksCount:{type:"integer"},agentUpdateStatus:{},attributes:{shape:"S2b"},registeredAt:{type:"timestamp"},attachments:{shape:"S11"},tags:{shape:"Sa"},healthStatus:{type:"structure",members:{overallStatus:{},details:{type:"list",member:{type:"structure",members:{type:{},status:{},lastUpdated:{type:"timestamp"},lastStatusChange:{type:"timestamp"}}}}}}}},S2s:{type:"structure",members:{agentVersion:{},agentHash:{},dockerVersion:{}}},S2t:{type:"list",member:{type:"structure",members:{name:{},type:{},doubleValue:{type:"double"},longValue:{type:"long"},integerValue:{type:"integer"},stringSetValue:{shape:"Sr"}}}},S33:{type:"structure",members:{taskDefinitionArn:{},containerDefinitions:{shape:"S34"},family:{},taskRoleArn:{},executionRoleArn:{},networkMode:{},revision:{type:"integer"},volumes:{shape:"S4e"},status:{},requiresAttributes:{type:"list",member:{shape:"S2c"}},placementConstraints:{shape:"S4s"},compatibilities:{shape:"S4v"},runtimePlatform:{shape:"S4x"},requiresCompatibilities:{shape:"S4v"},cpu:{},memory:{},inferenceAccelerators:{shape:"S50"},pidMode:{},ipcMode:{},proxyConfiguration:{shape:"S54"},registeredAt:{type:"timestamp"},deregisteredAt:{type:"timestamp"},registeredBy:{},ephemeralStorage:{shape:"S57"}}},S34:{type:"list",member:{type:"structure",members:{name:{},image:{},repositoryCredentials:{type:"structure",required:["credentialsParameter"],members:{credentialsParameter:{}}},cpu:{type:"integer"},memory:{type:"integer"},memoryReservation:{type:"integer"},links:{shape:"Sr"},portMappings:{type:"list",member:{type:"structure",members:{containerPort:{type:"integer"},hostPort:{type:"integer"},protocol:{}}}},essential:{type:"boolean"},entryPoint:{shape:"Sr"},command:{shape:"Sr"},environment:{shape:"S3a"},environmentFiles:{shape:"S3b"},mountPoints:{type:"list",member:{type:"structure",members:{sourceVolume:{},containerPath:{},readOnly:{type:"boolean"}}}},volumesFrom:{type:"list",member:{type:"structure",members:{sourceContainer:{},readOnly:{type:"boolean"}}}},linuxParameters:{type:"structure",members:{capabilities:{type:"structure",members:{add:{shape:"Sr"},drop:{shape:"Sr"}}},devices:{type:"list",member:{type:"structure",required:["hostPath"],members:{hostPath:{},containerPath:{},permissions:{type:"list",member:{}}}}},initProcessEnabled:{type:"boolean"},sharedMemorySize:{type:"integer"},tmpfs:{type:"list",member:{type:"structure",required:["containerPath","size"],members:{containerPath:{},size:{type:"integer"},mountOptions:{shape:"Sr"}}}},maxSwap:{type:"integer"},swappiness:{type:"integer"}}},secrets:{shape:"S3q"},dependsOn:{type:"list",member:{type:"structure",required:["containerName","condition"],members:{containerName:{},condition:{}}}},startTimeout:{type:"integer"},stopTimeout:{type:"integer"},hostname:{},user:{},workingDirectory:{},disableNetworking:{type:"boolean"},privileged:{type:"boolean"},readonlyRootFilesystem:{type:"boolean"},dnsServers:{shape:"Sr"},dnsSearchDomains:{shape:"Sr"},extraHosts:{type:"list",member:{type:"structure",required:["hostname","ipAddress"],members:{hostname:{},ipAddress:{}}}},dockerSecurityOptions:{shape:"Sr"},interactive:{type:"boolean"},pseudoTerminal:{type:"boolean"},dockerLabels:{type:"map",key:{},value:{}},ulimits:{type:"list",member:{type:"structure",required:["name","softLimit","hardLimit"],members:{name:{},softLimit:{type:"integer"},hardLimit:{type:"integer"}}}},logConfiguration:{type:"structure",required:["logDriver"],members:{logDriver:{},options:{type:"map",key:{},value:{}},secretOptions:{shape:"S3q"}}},healthCheck:{type:"structure",required:["command"],members:{command:{shape:"Sr"},interval:{type:"integer"},timeout:{type:"integer"},retries:{type:"integer"},startPeriod:{type:"integer"}}},systemControls:{type:"list",member:{type:"structure",members:{namespace:{},value:{}}}},resourceRequirements:{shape:"S47"},firelensConfiguration:{type:"structure",required:["type"],members:{type:{},options:{type:"map",key:{},value:{}}}}}}},S3a:{type:"list",member:{shape:"S10"}},S3b:{type:"list",member:{type:"structure",required:["value","type"],members:{value:{},type:{}}}},S3q:{type:"list",member:{type:"structure",required:["name","valueFrom"],members:{name:{},valueFrom:{}}}},S47:{type:"list",member:{type:"structure",required:["value","type"],members:{value:{},type:{}}}},S4e:{type:"list",member:{type:"structure",members:{name:{},host:{type:"structure",members:{sourcePath:{}}},dockerVolumeConfiguration:{type:"structure",members:{scope:{},autoprovision:{type:"boolean"},driver:{},driverOpts:{shape:"S4j"},labels:{shape:"S4j"}}},efsVolumeConfiguration:{type:"structure",required:["fileSystemId"],members:{fileSystemId:{},rootDirectory:{},transitEncryption:{},transitEncryptionPort:{type:"integer"},authorizationConfig:{type:"structure",members:{accessPointId:{},iam:{}}}}},fsxWindowsFileServerVolumeConfiguration:{type:"structure",required:["fileSystemId","rootDirectory","authorizationConfig"],members:{fileSystemId:{},rootDirectory:{},authorizationConfig:{type:"structure",required:["credentialsParameter","domain"],members:{credentialsParameter:{},domain:{}}}}}}}},S4j:{type:"map",key:{},value:{}},S4s:{type:"list",member:{type:"structure",members:{type:{},expression:{}}}},S4v:{type:"list",member:{}},S4x:{type:"structure",members:{cpuArchitecture:{},operatingSystemFamily:{}}},S50:{type:"list",member:{type:"structure",required:["deviceName","deviceType"],members:{deviceName:{},deviceType:{}}}},S54:{type:"structure",required:["containerName"],members:{type:{},containerName:{},properties:{type:"list",member:{shape:"S10"}}}},S57:{type:"structure",required:["sizeInGiB"],members:{sizeInGiB:{type:"integer"}}},S5d:{type:"list",member:{type:"structure",members:{arn:{},reason:{},detail:{}}}},S5o:{type:"list",member:{shape:"S2q"}},S66:{type:"list",member:{shape:"S67"}},S67:{type:"structure",members:{attachments:{shape:"S11"},attributes:{shape:"S2b"},availabilityZone:{},capacityProviderName:{},clusterArn:{},connectivity:{},connectivityAt:{type:"timestamp"},containerInstanceArn:{},containers:{type:"list",member:{type:"structure",members:{containerArn:{},taskArn:{},name:{},image:{},imageDigest:{},runtimeId:{},lastStatus:{},exitCode:{type:"integer"},reason:{},networkBindings:{shape:"S6b"},networkInterfaces:{type:"list",member:{type:"structure",members:{attachmentId:{},privateIpv4Address:{},ipv6Address:{}}}},healthStatus:{},managedAgents:{type:"list",member:{type:"structure",members:{lastStartedAt:{type:"timestamp"},name:{},reason:{},lastStatus:{}}}},cpu:{},memory:{},memoryReservation:{},gpuIds:{type:"list",member:{}}}}},cpu:{},createdAt:{type:"timestamp"},desiredStatus:{},enableExecuteCommand:{type:"boolean"},executionStoppedAt:{type:"timestamp"},group:{},healthStatus:{},inferenceAccelerators:{shape:"S50"},lastStatus:{},launchType:{},memory:{},overrides:{shape:"S6k"},platformVersion:{},platformFamily:{},pullStartedAt:{type:"timestamp"},pullStoppedAt:{type:"timestamp"},startedAt:{type:"timestamp"},startedBy:{},stopCode:{},stoppedAt:{type:"timestamp"},stoppedReason:{},stoppingAt:{type:"timestamp"},tags:{shape:"Sa"},taskArn:{},taskDefinitionArn:{},version:{type:"long"},ephemeralStorage:{shape:"S57"}}},S6b:{type:"list",member:{type:"structure",members:{bindIP:{},containerPort:{type:"integer"},hostPort:{type:"integer"},protocol:{}}}},S6k:{type:"structure",members:{containerOverrides:{type:"list",member:{type:"structure",members:{name:{},command:{shape:"Sr"},environment:{shape:"S3a"},environmentFiles:{shape:"S3b"},cpu:{type:"integer"},memory:{type:"integer"},memoryReservation:{type:"integer"},resourceRequirements:{shape:"S47"}}}},cpu:{},inferenceAcceleratorOverrides:{type:"list",member:{type:"structure",members:{deviceName:{},deviceType:{}}}},executionRoleArn:{},memory:{},taskRoleArn:{},ephemeralStorage:{shape:"S57"}}},S85:{type:"list",member:{type:"structure",required:["attachmentArn","status"],members:{attachmentArn:{},status:{}}}}}}},{}],86:[function(e,t,r){t.exports={pagination:{ListAccountSettings:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"settings"},ListAttributes:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"attributes"},ListClusters:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"clusterArns"},ListContainerInstances:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"containerInstanceArns"},ListServices:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"serviceArns"},ListTaskDefinitionFamilies:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"families"},ListTaskDefinitions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"taskDefinitionArns"},ListTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"taskArns"}}}},{}],87:[function(e,t,r){t.exports={version:2,waiters:{TasksRunning:{delay:6,operation:"DescribeTasks",maxAttempts:100,acceptors:[{expected:"STOPPED",matcher:"pathAny",state:"failure",argument:"tasks[].lastStatus"},{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"RUNNING",matcher:"pathAll",state:"success",argument:"tasks[].lastStatus"}]},TasksStopped:{delay:6,operation:"DescribeTasks",maxAttempts:100,acceptors:[{expected:"STOPPED",matcher:"pathAll",state:"success",argument:"tasks[].lastStatus"}]},ServicesStable:{delay:15,operation:"DescribeServices",maxAttempts:40,acceptors:[{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"DRAINING",matcher:"pathAny",state:"failure",argument:"services[].status"},{expected:"INACTIVE",matcher:"pathAny",state:"failure",argument:"services[].status"},{expected:!0,matcher:"path",state:"success",argument:"length(services[?!(length(deployments) == `1` && runningCount == desiredCount)]) == `0`"}]},ServicesInactive:{delay:15,operation:"DescribeServices",maxAttempts:40,acceptors:[{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"INACTIVE",matcher:"pathAny",state:"success",argument:"services[].status"}]}}}},{}],88:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-02-02",endpointPrefix:"elasticache",protocol:"query",serviceFullName:"Amazon ElastiCache",serviceId:"ElastiCache",signatureVersion:"v4",uid:"elasticache-2015-02-02",xmlNamespace:"http://elasticache.amazonaws.com/doc/2015-02-02/"},operations:{AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S3"}}},output:{shape:"S5",resultWrapper:"AddTagsToResourceResult"}},AuthorizeCacheSecurityGroupIngress:{input:{type:"structure",required:["CacheSecurityGroupName","EC2SecurityGroupName","EC2SecurityGroupOwnerId"],members:{CacheSecurityGroupName:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeCacheSecurityGroupIngressResult",type:"structure",members:{CacheSecurityGroup:{shape:"S8"}}}},BatchApplyUpdateAction:{input:{type:"structure",required:["ServiceUpdateName"],members:{ReplicationGroupIds:{shape:"Sc"},CacheClusterIds:{shape:"Sd"},ServiceUpdateName:{}}},output:{shape:"Se",resultWrapper:"BatchApplyUpdateActionResult"}},BatchStopUpdateAction:{input:{type:"structure",required:["ServiceUpdateName"],members:{ReplicationGroupIds:{shape:"Sc"},CacheClusterIds:{shape:"Sd"},ServiceUpdateName:{}}},output:{shape:"Se",resultWrapper:"BatchStopUpdateActionResult"}},CompleteMigration:{input:{type:"structure",required:["ReplicationGroupId"],members:{ +ReplicationGroupId:{},Force:{type:"boolean"}}},output:{resultWrapper:"CompleteMigrationResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},CopySnapshot:{input:{type:"structure",required:["SourceSnapshotName","TargetSnapshotName"],members:{SourceSnapshotName:{},TargetSnapshotName:{},TargetBucket:{},KmsKeyId:{},Tags:{shape:"S3"}}},output:{resultWrapper:"CopySnapshotResult",type:"structure",members:{Snapshot:{shape:"S1q"}}}},CreateCacheCluster:{input:{type:"structure",required:["CacheClusterId"],members:{CacheClusterId:{},ReplicationGroupId:{},AZMode:{},PreferredAvailabilityZone:{},PreferredAvailabilityZones:{shape:"S1z"},NumCacheNodes:{type:"integer"},CacheNodeType:{},Engine:{},EngineVersion:{},CacheParameterGroupName:{},CacheSubnetGroupName:{},CacheSecurityGroupNames:{shape:"S20"},SecurityGroupIds:{shape:"S21"},Tags:{shape:"S3"},SnapshotArns:{shape:"S22"},SnapshotName:{},PreferredMaintenanceWindow:{},Port:{type:"integer"},NotificationTopicArn:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},AuthToken:{},OutpostMode:{},PreferredOutpostArn:{},PreferredOutpostArns:{shape:"S24"},LogDeliveryConfigurations:{shape:"S25"}}},output:{resultWrapper:"CreateCacheClusterResult",type:"structure",members:{CacheCluster:{shape:"S28"}}}},CreateCacheParameterGroup:{input:{type:"structure",required:["CacheParameterGroupName","CacheParameterGroupFamily","Description"],members:{CacheParameterGroupName:{},CacheParameterGroupFamily:{},Description:{},Tags:{shape:"S3"}}},output:{resultWrapper:"CreateCacheParameterGroupResult",type:"structure",members:{CacheParameterGroup:{shape:"S2l"}}}},CreateCacheSecurityGroup:{input:{type:"structure",required:["CacheSecurityGroupName","Description"],members:{CacheSecurityGroupName:{},Description:{},Tags:{shape:"S3"}}},output:{resultWrapper:"CreateCacheSecurityGroupResult",type:"structure",members:{CacheSecurityGroup:{shape:"S8"}}}},CreateCacheSubnetGroup:{input:{type:"structure",required:["CacheSubnetGroupName","CacheSubnetGroupDescription","SubnetIds"],members:{CacheSubnetGroupName:{},CacheSubnetGroupDescription:{},SubnetIds:{shape:"S2p"},Tags:{shape:"S3"}}},output:{resultWrapper:"CreateCacheSubnetGroupResult",type:"structure",members:{CacheSubnetGroup:{shape:"S2r"}}}},CreateGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupIdSuffix","PrimaryReplicationGroupId"],members:{GlobalReplicationGroupIdSuffix:{},GlobalReplicationGroupDescription:{},PrimaryReplicationGroupId:{}}},output:{resultWrapper:"CreateGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},CreateReplicationGroup:{input:{type:"structure",required:["ReplicationGroupId","ReplicationGroupDescription"],members:{ReplicationGroupId:{},ReplicationGroupDescription:{},GlobalReplicationGroupId:{},PrimaryClusterId:{},AutomaticFailoverEnabled:{type:"boolean"},MultiAZEnabled:{type:"boolean"},NumCacheClusters:{type:"integer"},PreferredCacheClusterAZs:{shape:"S1v"},NumNodeGroups:{type:"integer"},ReplicasPerNodeGroup:{type:"integer"},NodeGroupConfiguration:{type:"list",member:{shape:"S1t",locationName:"NodeGroupConfiguration"}},CacheNodeType:{},Engine:{},EngineVersion:{},CacheParameterGroupName:{},CacheSubnetGroupName:{},CacheSecurityGroupNames:{shape:"S20"},SecurityGroupIds:{shape:"S21"},Tags:{shape:"S3"},SnapshotArns:{shape:"S22"},SnapshotName:{},PreferredMaintenanceWindow:{},Port:{type:"integer"},NotificationTopicArn:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},AuthToken:{},TransitEncryptionEnabled:{type:"boolean"},AtRestEncryptionEnabled:{type:"boolean"},KmsKeyId:{},UserGroupIds:{type:"list",member:{}},LogDeliveryConfigurations:{shape:"S25"},DataTieringEnabled:{type:"boolean"}}},output:{resultWrapper:"CreateReplicationGroupResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},CreateSnapshot:{input:{type:"structure",required:["SnapshotName"],members:{ReplicationGroupId:{},CacheClusterId:{},SnapshotName:{},KmsKeyId:{},Tags:{shape:"S3"}}},output:{resultWrapper:"CreateSnapshotResult",type:"structure",members:{Snapshot:{shape:"S1q"}}}},CreateUser:{input:{type:"structure",required:["UserId","UserName","Engine","AccessString"],members:{UserId:{},UserName:{},Engine:{},Passwords:{shape:"S3d"},AccessString:{},NoPasswordRequired:{type:"boolean"},Tags:{shape:"S3"}}},output:{shape:"S3f",resultWrapper:"CreateUserResult"}},CreateUserGroup:{input:{type:"structure",required:["UserGroupId","Engine"],members:{UserGroupId:{},Engine:{},UserIds:{shape:"S3j"},Tags:{shape:"S3"}}},output:{shape:"S3k",resultWrapper:"CreateUserGroupResult"}},DecreaseNodeGroupsInGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","NodeGroupCount","ApplyImmediately"],members:{GlobalReplicationGroupId:{},NodeGroupCount:{type:"integer"},GlobalNodeGroupsToRemove:{shape:"S3p"},GlobalNodeGroupsToRetain:{shape:"S3p"},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"DecreaseNodeGroupsInGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},DecreaseReplicaCount:{input:{type:"structure",required:["ReplicationGroupId","ApplyImmediately"],members:{ReplicationGroupId:{},NewReplicaCount:{type:"integer"},ReplicaConfiguration:{shape:"S3s"},ReplicasToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"DecreaseReplicaCountResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},DeleteCacheCluster:{input:{type:"structure",required:["CacheClusterId"],members:{CacheClusterId:{},FinalSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteCacheClusterResult",type:"structure",members:{CacheCluster:{shape:"S28"}}}},DeleteCacheParameterGroup:{input:{type:"structure",required:["CacheParameterGroupName"],members:{CacheParameterGroupName:{}}}},DeleteCacheSecurityGroup:{input:{type:"structure",required:["CacheSecurityGroupName"],members:{CacheSecurityGroupName:{}}}},DeleteCacheSubnetGroup:{input:{type:"structure",required:["CacheSubnetGroupName"],members:{CacheSubnetGroupName:{}}}},DeleteGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","RetainPrimaryReplicationGroup"],members:{GlobalReplicationGroupId:{},RetainPrimaryReplicationGroup:{type:"boolean"}}},output:{resultWrapper:"DeleteGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},DeleteReplicationGroup:{input:{type:"structure",required:["ReplicationGroupId"],members:{ReplicationGroupId:{},RetainPrimaryCluster:{type:"boolean"},FinalSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteReplicationGroupResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},DeleteSnapshot:{input:{type:"structure",required:["SnapshotName"],members:{SnapshotName:{}}},output:{resultWrapper:"DeleteSnapshotResult",type:"structure",members:{Snapshot:{shape:"S1q"}}}},DeleteUser:{input:{type:"structure",required:["UserId"],members:{UserId:{}}},output:{shape:"S3f",resultWrapper:"DeleteUserResult"}},DeleteUserGroup:{input:{type:"structure",required:["UserGroupId"],members:{UserGroupId:{}}},output:{shape:"S3k",resultWrapper:"DeleteUserGroupResult"}},DescribeCacheClusters:{input:{type:"structure",members:{CacheClusterId:{},MaxRecords:{type:"integer"},Marker:{},ShowCacheNodeInfo:{type:"boolean"},ShowCacheClustersNotInReplicationGroups:{type:"boolean"}}},output:{resultWrapper:"DescribeCacheClustersResult",type:"structure",members:{Marker:{},CacheClusters:{type:"list",member:{shape:"S28",locationName:"CacheCluster"}}}}},DescribeCacheEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},CacheParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"}}},output:{resultWrapper:"DescribeCacheEngineVersionsResult",type:"structure",members:{Marker:{},CacheEngineVersions:{type:"list",member:{locationName:"CacheEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},CacheParameterGroupFamily:{},CacheEngineDescription:{},CacheEngineVersionDescription:{}}}}}}},DescribeCacheParameterGroups:{input:{type:"structure",members:{CacheParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCacheParameterGroupsResult",type:"structure",members:{Marker:{},CacheParameterGroups:{type:"list",member:{shape:"S2l",locationName:"CacheParameterGroup"}}}}},DescribeCacheParameters:{input:{type:"structure",required:["CacheParameterGroupName"],members:{CacheParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCacheParametersResult",type:"structure",members:{Marker:{},Parameters:{shape:"S4l"},CacheNodeTypeSpecificParameters:{shape:"S4o"}}}},DescribeCacheSecurityGroups:{input:{type:"structure",members:{CacheSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCacheSecurityGroupsResult",type:"structure",members:{Marker:{},CacheSecurityGroups:{type:"list",member:{shape:"S8",locationName:"CacheSecurityGroup"}}}}},DescribeCacheSubnetGroups:{input:{type:"structure",members:{CacheSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCacheSubnetGroupsResult",type:"structure",members:{Marker:{},CacheSubnetGroups:{type:"list",member:{shape:"S2r",locationName:"CacheSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["CacheParameterGroupFamily"],members:{CacheParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{CacheParameterGroupFamily:{},Marker:{},Parameters:{shape:"S4l"},CacheNodeTypeSpecificParameters:{shape:"S4o"}},wrapper:!0}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},Date:{type:"timestamp"}}}}}}},DescribeGlobalReplicationGroups:{input:{type:"structure",members:{GlobalReplicationGroupId:{},MaxRecords:{type:"integer"},Marker:{},ShowMemberInfo:{type:"boolean"}}},output:{resultWrapper:"DescribeGlobalReplicationGroupsResult",type:"structure",members:{Marker:{},GlobalReplicationGroups:{type:"list",member:{shape:"S2y",locationName:"GlobalReplicationGroup"}}}}},DescribeReplicationGroups:{input:{type:"structure",members:{ReplicationGroupId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReplicationGroupsResult",type:"structure",members:{Marker:{},ReplicationGroups:{type:"list",member:{shape:"So",locationName:"ReplicationGroup"}}}}},DescribeReservedCacheNodes:{input:{type:"structure",members:{ReservedCacheNodeId:{},ReservedCacheNodesOfferingId:{},CacheNodeType:{},Duration:{},ProductDescription:{},OfferingType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedCacheNodesResult",type:"structure",members:{Marker:{},ReservedCacheNodes:{type:"list",member:{shape:"S5f",locationName:"ReservedCacheNode"}}}}},DescribeReservedCacheNodesOfferings:{input:{type:"structure",members:{ReservedCacheNodesOfferingId:{},CacheNodeType:{},Duration:{},ProductDescription:{},OfferingType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedCacheNodesOfferingsResult",type:"structure",members:{Marker:{},ReservedCacheNodesOfferings:{type:"list",member:{locationName:"ReservedCacheNodesOffering",type:"structure",members:{ReservedCacheNodesOfferingId:{},CacheNodeType:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},ProductDescription:{},OfferingType:{},RecurringCharges:{shape:"S5g"}},wrapper:!0}}}}},DescribeServiceUpdates:{input:{type:"structure",members:{ServiceUpdateName:{},ServiceUpdateStatus:{shape:"S5n"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeServiceUpdatesResult",type:"structure",members:{Marker:{},ServiceUpdates:{type:"list",member:{locationName:"ServiceUpdate",type:"structure",members:{ServiceUpdateName:{},ServiceUpdateReleaseDate:{type:"timestamp"},ServiceUpdateEndDate:{type:"timestamp"},ServiceUpdateSeverity:{},ServiceUpdateRecommendedApplyByDate:{type:"timestamp"},ServiceUpdateStatus:{},ServiceUpdateDescription:{},ServiceUpdateType:{},Engine:{},EngineVersion:{},AutoUpdateAfterRecommendedApplyByDate:{type:"boolean"},EstimatedUpdateTime:{}}}}}}},DescribeSnapshots:{input:{type:"structure",members:{ReplicationGroupId:{},CacheClusterId:{},SnapshotName:{},SnapshotSource:{},Marker:{},MaxRecords:{type:"integer"},ShowNodeGroupConfig:{type:"boolean"}}},output:{resultWrapper:"DescribeSnapshotsResult",type:"structure",members:{Marker:{},Snapshots:{type:"list",member:{shape:"S1q",locationName:"Snapshot"}}}}},DescribeUpdateActions:{input:{type:"structure",members:{ServiceUpdateName:{},ReplicationGroupIds:{shape:"Sc"},CacheClusterIds:{shape:"Sd"},Engine:{},ServiceUpdateStatus:{shape:"S5n"},ServiceUpdateTimeRange:{type:"structure",members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}},UpdateActionStatus:{type:"list",member:{}},ShowNodeLevelUpdateStatus:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeUpdateActionsResult",type:"structure",members:{Marker:{},UpdateActions:{type:"list",member:{locationName:"UpdateAction",type:"structure",members:{ReplicationGroupId:{},CacheClusterId:{},ServiceUpdateName:{},ServiceUpdateReleaseDate:{type:"timestamp"},ServiceUpdateSeverity:{},ServiceUpdateStatus:{},ServiceUpdateRecommendedApplyByDate:{type:"timestamp"},ServiceUpdateType:{},UpdateActionAvailableDate:{type:"timestamp"},UpdateActionStatus:{},NodesUpdated:{},UpdateActionStatusModifiedDate:{type:"timestamp"},SlaMet:{},NodeGroupUpdateStatus:{type:"list",member:{locationName:"NodeGroupUpdateStatus",type:"structure",members:{NodeGroupId:{},NodeGroupMemberUpdateStatus:{type:"list",member:{locationName:"NodeGroupMemberUpdateStatus",type:"structure",members:{CacheClusterId:{},CacheNodeId:{},NodeUpdateStatus:{},NodeDeletionDate:{type:"timestamp"},NodeUpdateStartDate:{type:"timestamp"},NodeUpdateEndDate:{type:"timestamp"},NodeUpdateInitiatedBy:{},NodeUpdateInitiatedDate:{type:"timestamp"},NodeUpdateStatusModifiedDate:{type:"timestamp"}}}}}}},CacheNodeUpdateStatus:{type:"list",member:{locationName:"CacheNodeUpdateStatus",type:"structure",members:{CacheNodeId:{},NodeUpdateStatus:{},NodeDeletionDate:{type:"timestamp"},NodeUpdateStartDate:{type:"timestamp"},NodeUpdateEndDate:{type:"timestamp"},NodeUpdateInitiatedBy:{},NodeUpdateInitiatedDate:{type:"timestamp"},NodeUpdateStatusModifiedDate:{type:"timestamp"}}}},EstimatedUpdateTime:{},Engine:{}}}}}}},DescribeUserGroups:{input:{type:"structure",members:{UserGroupId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeUserGroupsResult",type:"structure",members:{UserGroups:{type:"list",member:{shape:"S3k"}},Marker:{}}}},DescribeUsers:{input:{type:"structure",members:{Engine:{},UserId:{},Filters:{type:"list",member:{type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{}}}}},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeUsersResult",type:"structure",members:{Users:{type:"list",member:{shape:"S3f"}},Marker:{}}}},DisassociateGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","ReplicationGroupId","ReplicationGroupRegion"],members:{GlobalReplicationGroupId:{},ReplicationGroupId:{},ReplicationGroupRegion:{}}},output:{resultWrapper:"DisassociateGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},FailoverGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","PrimaryRegion","PrimaryReplicationGroupId"],members:{GlobalReplicationGroupId:{},PrimaryRegion:{},PrimaryReplicationGroupId:{}}},output:{resultWrapper:"FailoverGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},IncreaseNodeGroupsInGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","NodeGroupCount","ApplyImmediately"],members:{GlobalReplicationGroupId:{},NodeGroupCount:{type:"integer"},RegionalConfigurations:{type:"list",member:{locationName:"RegionalConfiguration",type:"structure",required:["ReplicationGroupId","ReplicationGroupRegion","ReshardingConfiguration"],members:{ReplicationGroupId:{},ReplicationGroupRegion:{},ReshardingConfiguration:{shape:"S6u"}}}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"IncreaseNodeGroupsInGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},IncreaseReplicaCount:{input:{type:"structure",required:["ReplicationGroupId","ApplyImmediately"],members:{ReplicationGroupId:{},NewReplicaCount:{type:"integer"},ReplicaConfiguration:{shape:"S3s"},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"IncreaseReplicaCountResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},ListAllowedNodeTypeModifications:{input:{type:"structure",members:{CacheClusterId:{},ReplicationGroupId:{}}},output:{resultWrapper:"ListAllowedNodeTypeModificationsResult",type:"structure",members:{ScaleUpModifications:{shape:"S71"},ScaleDownModifications:{shape:"S71"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{}}},output:{shape:"S5",resultWrapper:"ListTagsForResourceResult"}},ModifyCacheCluster:{input:{type:"structure",required:["CacheClusterId"],members:{CacheClusterId:{},NumCacheNodes:{type:"integer"},CacheNodeIdsToRemove:{shape:"S2a"},AZMode:{},NewAvailabilityZones:{shape:"S1z"},CacheSecurityGroupNames:{shape:"S20"},SecurityGroupIds:{shape:"S21"},PreferredMaintenanceWindow:{},NotificationTopicArn:{},CacheParameterGroupName:{},NotificationTopicStatus:{},ApplyImmediately:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},CacheNodeType:{},AuthToken:{},AuthTokenUpdateStrategy:{},LogDeliveryConfigurations:{shape:"S25"}}},output:{resultWrapper:"ModifyCacheClusterResult",type:"structure",members:{CacheCluster:{shape:"S28"}}}},ModifyCacheParameterGroup:{input:{type:"structure",required:["CacheParameterGroupName","ParameterNameValues"],members:{CacheParameterGroupName:{},ParameterNameValues:{shape:"S77"}}},output:{shape:"S79",resultWrapper:"ModifyCacheParameterGroupResult"}},ModifyCacheSubnetGroup:{input:{type:"structure",required:["CacheSubnetGroupName"],members:{CacheSubnetGroupName:{},CacheSubnetGroupDescription:{},SubnetIds:{shape:"S2p"}}},output:{resultWrapper:"ModifyCacheSubnetGroupResult",type:"structure",members:{CacheSubnetGroup:{shape:"S2r"}}}},ModifyGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","ApplyImmediately"],members:{GlobalReplicationGroupId:{},ApplyImmediately:{type:"boolean"},CacheNodeType:{},EngineVersion:{},CacheParameterGroupName:{},GlobalReplicationGroupDescription:{},AutomaticFailoverEnabled:{type:"boolean"}}},output:{resultWrapper:"ModifyGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},ModifyReplicationGroup:{input:{type:"structure",required:["ReplicationGroupId"],members:{ReplicationGroupId:{},ReplicationGroupDescription:{},PrimaryClusterId:{},SnapshottingClusterId:{},AutomaticFailoverEnabled:{type:"boolean"},MultiAZEnabled:{type:"boolean"},NodeGroupId:{deprecated:!0},CacheSecurityGroupNames:{shape:"S20"},SecurityGroupIds:{shape:"S21"},PreferredMaintenanceWindow:{},NotificationTopicArn:{},CacheParameterGroupName:{},NotificationTopicStatus:{},ApplyImmediately:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},CacheNodeType:{},AuthToken:{},AuthTokenUpdateStrategy:{},UserGroupIdsToAdd:{shape:"Sx"},UserGroupIdsToRemove:{shape:"Sx"},RemoveUserGroups:{type:"boolean"},LogDeliveryConfigurations:{shape:"S25"}}},output:{resultWrapper:"ModifyReplicationGroupResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},ModifyReplicationGroupShardConfiguration:{input:{type:"structure",required:["ReplicationGroupId","NodeGroupCount","ApplyImmediately"],members:{ReplicationGroupId:{},NodeGroupCount:{type:"integer"},ApplyImmediately:{type:"boolean"},ReshardingConfiguration:{shape:"S6u"},NodeGroupsToRemove:{type:"list",member:{locationName:"NodeGroupToRemove"}},NodeGroupsToRetain:{type:"list",member:{locationName:"NodeGroupToRetain"}}}},output:{resultWrapper:"ModifyReplicationGroupShardConfigurationResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},ModifyUser:{input:{type:"structure",required:["UserId"],members:{UserId:{},AccessString:{},AppendAccessString:{},Passwords:{shape:"S3d"},NoPasswordRequired:{type:"boolean"}}},output:{shape:"S3f",resultWrapper:"ModifyUserResult"}},ModifyUserGroup:{input:{type:"structure",required:["UserGroupId"],members:{UserGroupId:{},UserIdsToAdd:{shape:"S3j"},UserIdsToRemove:{shape:"S3j"}}},output:{shape:"S3k",resultWrapper:"ModifyUserGroupResult"}},PurchaseReservedCacheNodesOffering:{input:{type:"structure",required:["ReservedCacheNodesOfferingId"],members:{ReservedCacheNodesOfferingId:{},ReservedCacheNodeId:{},CacheNodeCount:{type:"integer"},Tags:{shape:"S3"}}},output:{resultWrapper:"PurchaseReservedCacheNodesOfferingResult",type:"structure",members:{ReservedCacheNode:{shape:"S5f"}}}},RebalanceSlotsInGlobalReplicationGroup:{input:{type:"structure",required:["GlobalReplicationGroupId","ApplyImmediately"],members:{GlobalReplicationGroupId:{},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"RebalanceSlotsInGlobalReplicationGroupResult",type:"structure",members:{GlobalReplicationGroup:{shape:"S2y"}}}},RebootCacheCluster:{input:{type:"structure",required:["CacheClusterId","CacheNodeIdsToReboot"],members:{CacheClusterId:{},CacheNodeIdsToReboot:{shape:"S2a"}}},output:{resultWrapper:"RebootCacheClusterResult",type:"structure",members:{CacheCluster:{shape:"S28"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}},output:{shape:"S5",resultWrapper:"RemoveTagsFromResourceResult"}},ResetCacheParameterGroup:{input:{type:"structure",required:["CacheParameterGroupName"],members:{CacheParameterGroupName:{},ResetAllParameters:{type:"boolean"},ParameterNameValues:{shape:"S77"}}},output:{shape:"S79",resultWrapper:"ResetCacheParameterGroupResult"}},RevokeCacheSecurityGroupIngress:{input:{type:"structure",required:["CacheSecurityGroupName","EC2SecurityGroupName","EC2SecurityGroupOwnerId"],members:{CacheSecurityGroupName:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeCacheSecurityGroupIngressResult",type:"structure",members:{CacheSecurityGroup:{shape:"S8"}}}},StartMigration:{input:{type:"structure",required:["ReplicationGroupId","CustomerNodeEndpointList"],members:{ReplicationGroupId:{},CustomerNodeEndpointList:{type:"list",member:{type:"structure",members:{Address:{},Port:{type:"integer"}}}}}},output:{resultWrapper:"StartMigrationResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}},TestFailover:{input:{type:"structure",required:["ReplicationGroupId","NodeGroupId"],members:{ReplicationGroupId:{},NodeGroupId:{}}},output:{resultWrapper:"TestFailoverResult",type:"structure",members:{ReplicationGroup:{shape:"So"}}}}},shapes:{S3:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},S5:{type:"structure",members:{TagList:{shape:"S3"}}},S8:{type:"structure",members:{OwnerId:{},CacheSecurityGroupName:{},Description:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}}},ARN:{}},wrapper:!0},Sc:{type:"list",member:{}},Sd:{type:"list",member:{}},Se:{type:"structure",members:{ProcessedUpdateActions:{type:"list",member:{locationName:"ProcessedUpdateAction",type:"structure",members:{ReplicationGroupId:{},CacheClusterId:{},ServiceUpdateName:{},UpdateActionStatus:{}}}},UnprocessedUpdateActions:{type:"list",member:{locationName:"UnprocessedUpdateAction",type:"structure",members:{ReplicationGroupId:{},CacheClusterId:{},ServiceUpdateName:{},ErrorType:{},ErrorMessage:{}}}}}},So:{type:"structure",members:{ReplicationGroupId:{},Description:{},GlobalReplicationGroupInfo:{type:"structure",members:{GlobalReplicationGroupId:{},GlobalReplicationGroupMemberRole:{}}},Status:{},PendingModifiedValues:{type:"structure",members:{PrimaryClusterId:{},AutomaticFailoverStatus:{},Resharding:{type:"structure",members:{SlotMigration:{type:"structure",members:{ProgressPercentage:{type:"double"}}}}},AuthTokenStatus:{},UserGroups:{type:"structure",members:{UserGroupIdsToAdd:{shape:"Sx"},UserGroupIdsToRemove:{shape:"Sx"}}},LogDeliveryConfigurations:{shape:"Sz"}}},MemberClusters:{type:"list",member:{locationName:"ClusterId"}},NodeGroups:{type:"list",member:{locationName:"NodeGroup",type:"structure",members:{NodeGroupId:{},Status:{},PrimaryEndpoint:{shape:"S1a"},ReaderEndpoint:{shape:"S1a"},Slots:{},NodeGroupMembers:{type:"list",member:{locationName:"NodeGroupMember",type:"structure",members:{CacheClusterId:{},CacheNodeId:{},ReadEndpoint:{shape:"S1a"},PreferredAvailabilityZone:{},PreferredOutpostArn:{},CurrentRole:{}}}}}}},SnapshottingClusterId:{},AutomaticFailover:{},MultiAZ:{},ConfigurationEndpoint:{shape:"S1a"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},ClusterEnabled:{type:"boolean"},CacheNodeType:{},AuthTokenEnabled:{type:"boolean"},AuthTokenLastModifiedDate:{type:"timestamp"},TransitEncryptionEnabled:{type:"boolean"},AtRestEncryptionEnabled:{type:"boolean"},MemberClustersOutpostArns:{type:"list",member:{locationName:"ReplicationGroupOutpostArn"}},KmsKeyId:{},ARN:{},UserGroupIds:{shape:"Sx"},LogDeliveryConfigurations:{shape:"S1k"},ReplicationGroupCreateTime:{type:"timestamp"},DataTiering:{}},wrapper:!0},Sx:{type:"list",member:{}},Sz:{type:"list",member:{type:"structure",members:{LogType:{},DestinationType:{},DestinationDetails:{shape:"S13"},LogFormat:{}}},locationName:"PendingLogDeliveryConfiguration"},S13:{type:"structure",members:{CloudWatchLogsDetails:{type:"structure",members:{LogGroup:{}}},KinesisFirehoseDetails:{type:"structure",members:{DeliveryStream:{}}}}},S1a:{type:"structure",members:{Address:{},Port:{type:"integer"}}},S1k:{type:"list",member:{locationName:"LogDeliveryConfiguration",type:"structure",members:{LogType:{},DestinationType:{},DestinationDetails:{shape:"S13"},LogFormat:{},Status:{},Message:{}}}},S1q:{type:"structure",members:{SnapshotName:{},ReplicationGroupId:{},ReplicationGroupDescription:{},CacheClusterId:{},SnapshotStatus:{},SnapshotSource:{},CacheNodeType:{},Engine:{},EngineVersion:{},NumCacheNodes:{type:"integer"},PreferredAvailabilityZone:{},PreferredOutpostArn:{},CacheClusterCreateTime:{type:"timestamp"},PreferredMaintenanceWindow:{},TopicArn:{},Port:{type:"integer"},CacheParameterGroupName:{},CacheSubnetGroupName:{},VpcId:{},AutoMinorVersionUpgrade:{type:"boolean"},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},NumNodeGroups:{type:"integer"},AutomaticFailover:{},NodeSnapshots:{type:"list",member:{locationName:"NodeSnapshot",type:"structure",members:{CacheClusterId:{},NodeGroupId:{},CacheNodeId:{},NodeGroupConfiguration:{shape:"S1t"},CacheSize:{},CacheNodeCreateTime:{type:"timestamp"},SnapshotCreateTime:{type:"timestamp"}},wrapper:!0}},KmsKeyId:{},ARN:{},DataTiering:{}},wrapper:!0},S1t:{type:"structure",members:{NodeGroupId:{},Slots:{},ReplicaCount:{type:"integer"},PrimaryAvailabilityZone:{},ReplicaAvailabilityZones:{shape:"S1v"},PrimaryOutpostArn:{},ReplicaOutpostArns:{type:"list",member:{locationName:"OutpostArn"}}}},S1v:{type:"list",member:{locationName:"AvailabilityZone"}},S1z:{type:"list",member:{locationName:"PreferredAvailabilityZone"}},S20:{type:"list",member:{locationName:"CacheSecurityGroupName"}},S21:{type:"list",member:{locationName:"SecurityGroupId"}},S22:{type:"list",member:{locationName:"SnapshotArn"}},S24:{type:"list",member:{locationName:"PreferredOutpostArn"}},S25:{type:"list",member:{locationName:"LogDeliveryConfigurationRequest",type:"structure",members:{LogType:{},DestinationType:{},DestinationDetails:{shape:"S13"},LogFormat:{},Enabled:{type:"boolean"}}}},S28:{type:"structure",members:{CacheClusterId:{},ConfigurationEndpoint:{shape:"S1a"},ClientDownloadLandingPage:{},CacheNodeType:{},Engine:{},EngineVersion:{},CacheClusterStatus:{},NumCacheNodes:{type:"integer"},PreferredAvailabilityZone:{},PreferredOutpostArn:{},CacheClusterCreateTime:{type:"timestamp"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{NumCacheNodes:{type:"integer"},CacheNodeIdsToRemove:{shape:"S2a"},EngineVersion:{},CacheNodeType:{},AuthTokenStatus:{},LogDeliveryConfigurations:{shape:"Sz"}}},NotificationConfiguration:{type:"structure",members:{TopicArn:{},TopicStatus:{}}},CacheSecurityGroups:{type:"list",member:{locationName:"CacheSecurityGroup",type:"structure",members:{CacheSecurityGroupName:{},Status:{}}}},CacheParameterGroup:{type:"structure",members:{CacheParameterGroupName:{},ParameterApplyStatus:{},CacheNodeIdsToReboot:{shape:"S2a"}}},CacheSubnetGroupName:{},CacheNodes:{type:"list",member:{locationName:"CacheNode",type:"structure",members:{CacheNodeId:{},CacheNodeStatus:{},CacheNodeCreateTime:{type:"timestamp"},Endpoint:{shape:"S1a"},ParameterGroupStatus:{},SourceCacheNodeId:{},CustomerAvailabilityZone:{},CustomerOutpostArn:{}}}},AutoMinorVersionUpgrade:{type:"boolean"},SecurityGroups:{type:"list",member:{type:"structure",members:{SecurityGroupId:{},Status:{}}}},ReplicationGroupId:{},SnapshotRetentionLimit:{type:"integer"},SnapshotWindow:{},AuthTokenEnabled:{type:"boolean"},AuthTokenLastModifiedDate:{type:"timestamp"},TransitEncryptionEnabled:{type:"boolean"},AtRestEncryptionEnabled:{type:"boolean"},ARN:{},ReplicationGroupLogDeliveryEnabled:{type:"boolean"},LogDeliveryConfigurations:{shape:"S1k"}},wrapper:!0},S2a:{type:"list",member:{locationName:"CacheNodeId"}},S2l:{type:"structure",members:{CacheParameterGroupName:{},CacheParameterGroupFamily:{},Description:{},IsGlobal:{type:"boolean"},ARN:{}},wrapper:!0},S2p:{type:"list",member:{locationName:"SubnetIdentifier"}},S2r:{type:"structure",members:{CacheSubnetGroupName:{},CacheSubnetGroupDescription:{},VpcId:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{type:"structure",members:{Name:{}},wrapper:!0},SubnetOutpost:{type:"structure",members:{SubnetOutpostArn:{}}}}}},ARN:{}},wrapper:!0},S2y:{type:"structure",members:{GlobalReplicationGroupId:{},GlobalReplicationGroupDescription:{},Status:{},CacheNodeType:{},Engine:{},EngineVersion:{},Members:{type:"list",member:{locationName:"GlobalReplicationGroupMember",type:"structure",members:{ReplicationGroupId:{},ReplicationGroupRegion:{},Role:{},AutomaticFailover:{},Status:{}},wrapper:!0}},ClusterEnabled:{type:"boolean"},GlobalNodeGroups:{type:"list",member:{locationName:"GlobalNodeGroup",type:"structure",members:{GlobalNodeGroupId:{},Slots:{}}}},AuthTokenEnabled:{type:"boolean"},TransitEncryptionEnabled:{type:"boolean"},AtRestEncryptionEnabled:{type:"boolean"},ARN:{}},wrapper:!0},S3d:{type:"list",member:{}},S3f:{type:"structure",members:{UserId:{},UserName:{},Status:{},Engine:{},MinimumEngineVersion:{},AccessString:{},UserGroupIds:{shape:"Sx"},Authentication:{type:"structure",members:{Type:{},PasswordCount:{type:"integer"}}},ARN:{}}},S3j:{type:"list",member:{}},S3k:{type:"structure",members:{UserGroupId:{},Status:{},Engine:{},UserIds:{shape:"S3l"},MinimumEngineVersion:{},PendingChanges:{type:"structure",members:{UserIdsToRemove:{shape:"S3l"},UserIdsToAdd:{shape:"S3l"}} +},ReplicationGroups:{type:"list",member:{}},ARN:{}}},S3l:{type:"list",member:{}},S3p:{type:"list",member:{locationName:"GlobalNodeGroupId"}},S3s:{type:"list",member:{locationName:"ConfigureShard",type:"structure",required:["NodeGroupId","NewReplicaCount"],members:{NodeGroupId:{},NewReplicaCount:{type:"integer"},PreferredAvailabilityZones:{shape:"S1z"},PreferredOutpostArns:{shape:"S24"}}}},S4l:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ChangeType:{}}}},S4o:{type:"list",member:{locationName:"CacheNodeTypeSpecificParameter",type:"structure",members:{ParameterName:{},Description:{},Source:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},CacheNodeTypeSpecificValues:{type:"list",member:{locationName:"CacheNodeTypeSpecificValue",type:"structure",members:{CacheNodeType:{},Value:{}}}},ChangeType:{}}}},S5f:{type:"structure",members:{ReservedCacheNodeId:{},ReservedCacheNodesOfferingId:{},CacheNodeType:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CacheNodeCount:{type:"integer"},ProductDescription:{},OfferingType:{},State:{},RecurringCharges:{shape:"S5g"},ReservationARN:{}},wrapper:!0},S5g:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S5n:{type:"list",member:{}},S6u:{type:"list",member:{locationName:"ReshardingConfiguration",type:"structure",members:{NodeGroupId:{},PreferredAvailabilityZones:{shape:"S1v"}}}},S71:{type:"list",member:{}},S77:{type:"list",member:{locationName:"ParameterNameValue",type:"structure",members:{ParameterName:{},ParameterValue:{}}}},S79:{type:"structure",members:{CacheParameterGroupName:{}}}}}},{}],89:[function(e,t,r){t.exports={pagination:{DescribeCacheClusters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheClusters"},DescribeCacheEngineVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheEngineVersions"},DescribeCacheParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheParameterGroups"},DescribeCacheParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeCacheSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheSecurityGroups"},DescribeCacheSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CacheSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"EngineDefaults.Marker",result_key:"EngineDefaults.Parameters"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeGlobalReplicationGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"GlobalReplicationGroups"},DescribeReplicationGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReplicationGroups"},DescribeReservedCacheNodes:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedCacheNodes"},DescribeReservedCacheNodesOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedCacheNodesOfferings"},DescribeServiceUpdates:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ServiceUpdates"},DescribeSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Snapshots"},DescribeUpdateActions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"UpdateActions"},DescribeUserGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"UserGroups"},DescribeUsers:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Users"}}}},{}],90:[function(e,t,r){t.exports={version:2,waiters:{CacheClusterAvailable:{acceptors:[{argument:"CacheClusters[].CacheClusterStatus",expected:"available",matcher:"pathAll",state:"success"},{argument:"CacheClusters[].CacheClusterStatus",expected:"deleted",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"deleting",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"incompatible-network",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"restore-failed",matcher:"pathAny",state:"failure"}],delay:15,description:"Wait until ElastiCache cluster is available.",maxAttempts:40,operation:"DescribeCacheClusters"},CacheClusterDeleted:{acceptors:[{argument:"CacheClusters[].CacheClusterStatus",expected:"deleted",matcher:"pathAll",state:"success"},{expected:"CacheClusterNotFound",matcher:"error",state:"success"},{argument:"CacheClusters[].CacheClusterStatus",expected:"available",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"creating",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"incompatible-network",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"modifying",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"restore-failed",matcher:"pathAny",state:"failure"},{argument:"CacheClusters[].CacheClusterStatus",expected:"snapshotting",matcher:"pathAny",state:"failure"}],delay:15,description:"Wait until ElastiCache cluster is deleted.",maxAttempts:40,operation:"DescribeCacheClusters"},ReplicationGroupAvailable:{acceptors:[{argument:"ReplicationGroups[].Status",expected:"available",matcher:"pathAll",state:"success"},{argument:"ReplicationGroups[].Status",expected:"deleted",matcher:"pathAny",state:"failure"}],delay:15,description:"Wait until ElastiCache replication group is available.",maxAttempts:40,operation:"DescribeReplicationGroups"},ReplicationGroupDeleted:{acceptors:[{argument:"ReplicationGroups[].Status",expected:"deleted",matcher:"pathAll",state:"success"},{argument:"ReplicationGroups[].Status",expected:"available",matcher:"pathAny",state:"failure"},{expected:"ReplicationGroupNotFoundFault",matcher:"error",state:"success"}],delay:15,description:"Wait until ElastiCache replication group is deleted.",maxAttempts:40,operation:"DescribeReplicationGroups"}}}},{}],91:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-12-01",endpointPrefix:"elasticbeanstalk",protocol:"query",serviceAbbreviation:"Elastic Beanstalk",serviceFullName:"AWS Elastic Beanstalk",serviceId:"Elastic Beanstalk",signatureVersion:"v4",uid:"elasticbeanstalk-2010-12-01",xmlNamespace:"http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"},operations:{AbortEnvironmentUpdate:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},ApplyEnvironmentManagedAction:{input:{type:"structure",required:["ActionId"],members:{EnvironmentName:{},EnvironmentId:{},ActionId:{}}},output:{resultWrapper:"ApplyEnvironmentManagedActionResult",type:"structure",members:{ActionId:{},ActionDescription:{},ActionType:{},Status:{}}}},AssociateEnvironmentOperationsRole:{input:{type:"structure",required:["EnvironmentName","OperationsRole"],members:{EnvironmentName:{},OperationsRole:{}}}},CheckDNSAvailability:{input:{type:"structure",required:["CNAMEPrefix"],members:{CNAMEPrefix:{}}},output:{resultWrapper:"CheckDNSAvailabilityResult",type:"structure",members:{Available:{type:"boolean"},FullyQualifiedCNAME:{}}}},ComposeEnvironments:{input:{type:"structure",members:{ApplicationName:{},GroupName:{},VersionLabels:{type:"list",member:{}}}},output:{shape:"Sk",resultWrapper:"ComposeEnvironmentsResult"}},CreateApplication:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},Description:{},ResourceLifecycleConfig:{shape:"S19"},Tags:{shape:"S1f"}}},output:{shape:"S1j",resultWrapper:"CreateApplicationResult"}},CreateApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},Description:{},SourceBuildInformation:{shape:"S1p"},SourceBundle:{shape:"S1t"},BuildConfiguration:{type:"structure",required:["CodeBuildServiceRole","Image"],members:{ArtifactName:{},CodeBuildServiceRole:{},ComputeType:{},Image:{},TimeoutInMinutes:{type:"integer"}}},AutoCreateApplication:{type:"boolean"},Process:{type:"boolean"},Tags:{shape:"S1f"}}},output:{shape:"S21",resultWrapper:"CreateApplicationVersionResult"}},CreateConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{},SolutionStackName:{},PlatformArn:{},SourceConfiguration:{type:"structure",members:{ApplicationName:{},TemplateName:{}}},EnvironmentId:{},Description:{},OptionSettings:{shape:"S27"},Tags:{shape:"S1f"}}},output:{shape:"S2d",resultWrapper:"CreateConfigurationTemplateResult"}},CreateEnvironment:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},EnvironmentName:{},GroupName:{},Description:{},CNAMEPrefix:{},Tier:{shape:"S13"},Tags:{shape:"S1f"},VersionLabel:{},TemplateName:{},SolutionStackName:{},PlatformArn:{},OptionSettings:{shape:"S27"},OptionsToRemove:{shape:"S2g"},OperationsRole:{}}},output:{shape:"Sm",resultWrapper:"CreateEnvironmentResult"}},CreatePlatformVersion:{input:{type:"structure",required:["PlatformName","PlatformVersion","PlatformDefinitionBundle"],members:{PlatformName:{},PlatformVersion:{},PlatformDefinitionBundle:{shape:"S1t"},EnvironmentName:{},OptionSettings:{shape:"S27"},Tags:{shape:"S1f"}}},output:{resultWrapper:"CreatePlatformVersionResult",type:"structure",members:{PlatformSummary:{shape:"S2m"},Builder:{type:"structure",members:{ARN:{}}}}}},CreateStorageLocation:{output:{resultWrapper:"CreateStorageLocationResult",type:"structure",members:{S3Bucket:{}}}},DeleteApplication:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},TerminateEnvByForce:{type:"boolean"}}}},DeleteApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},DeleteSourceBundle:{type:"boolean"}}}},DeleteConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{}}}},DeleteEnvironmentConfiguration:{input:{type:"structure",required:["ApplicationName","EnvironmentName"],members:{ApplicationName:{},EnvironmentName:{}}}},DeletePlatformVersion:{input:{type:"structure",members:{PlatformArn:{}}},output:{resultWrapper:"DeletePlatformVersionResult",type:"structure",members:{PlatformSummary:{shape:"S2m"}}}},DescribeAccountAttributes:{output:{resultWrapper:"DescribeAccountAttributesResult",type:"structure",members:{ResourceQuotas:{type:"structure",members:{ApplicationQuota:{shape:"S3c"},ApplicationVersionQuota:{shape:"S3c"},EnvironmentQuota:{shape:"S3c"},ConfigurationTemplateQuota:{shape:"S3c"},CustomPlatformQuota:{shape:"S3c"}}}}}},DescribeApplicationVersions:{input:{type:"structure",members:{ApplicationName:{},VersionLabels:{shape:"S1m"},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeApplicationVersionsResult",type:"structure",members:{ApplicationVersions:{type:"list",member:{shape:"S22"}},NextToken:{}}}},DescribeApplications:{input:{type:"structure",members:{ApplicationNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeApplicationsResult",type:"structure",members:{Applications:{type:"list",member:{shape:"S1k"}}}}},DescribeConfigurationOptions:{input:{type:"structure",members:{ApplicationName:{},TemplateName:{},EnvironmentName:{},SolutionStackName:{},PlatformArn:{},Options:{shape:"S2g"}}},output:{resultWrapper:"DescribeConfigurationOptionsResult",type:"structure",members:{SolutionStackName:{},PlatformArn:{},Options:{type:"list",member:{type:"structure",members:{Namespace:{},Name:{},DefaultValue:{},ChangeSeverity:{},UserDefined:{type:"boolean"},ValueType:{},ValueOptions:{type:"list",member:{}},MinValue:{type:"integer"},MaxValue:{type:"integer"},MaxLength:{type:"integer"},Regex:{type:"structure",members:{Pattern:{},Label:{}}}}}}}}},DescribeConfigurationSettings:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},TemplateName:{},EnvironmentName:{}}},output:{resultWrapper:"DescribeConfigurationSettingsResult",type:"structure",members:{ConfigurationSettings:{type:"list",member:{shape:"S2d"}}}}},DescribeEnvironmentHealth:{input:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},AttributeNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeEnvironmentHealthResult",type:"structure",members:{EnvironmentName:{},HealthStatus:{},Status:{},Color:{},Causes:{shape:"S48"},ApplicationMetrics:{shape:"S4a"},InstancesHealth:{type:"structure",members:{NoData:{type:"integer"},Unknown:{type:"integer"},Pending:{type:"integer"},Ok:{type:"integer"},Info:{type:"integer"},Warning:{type:"integer"},Degraded:{type:"integer"},Severe:{type:"integer"}}},RefreshedAt:{type:"timestamp"}}}},DescribeEnvironmentManagedActionHistory:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{},NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"DescribeEnvironmentManagedActionHistoryResult",type:"structure",members:{ManagedActionHistoryItems:{type:"list",member:{type:"structure",members:{ActionId:{},ActionType:{},ActionDescription:{},FailureType:{},Status:{},FailureDescription:{},ExecutedTime:{type:"timestamp"},FinishedTime:{type:"timestamp"}}}},NextToken:{}}}},DescribeEnvironmentManagedActions:{input:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},Status:{}}},output:{resultWrapper:"DescribeEnvironmentManagedActionsResult",type:"structure",members:{ManagedActions:{type:"list",member:{type:"structure",members:{ActionId:{},ActionDescription:{},ActionType:{},Status:{},WindowStartTime:{type:"timestamp"}}}}}}},DescribeEnvironmentResources:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}},output:{resultWrapper:"DescribeEnvironmentResourcesResult",type:"structure",members:{EnvironmentResources:{type:"structure",members:{EnvironmentName:{},AutoScalingGroups:{type:"list",member:{type:"structure",members:{Name:{}}}},Instances:{type:"list",member:{type:"structure",members:{Id:{}}}},LaunchConfigurations:{type:"list",member:{type:"structure",members:{Name:{}}}},LaunchTemplates:{type:"list",member:{type:"structure",members:{Id:{}}}},LoadBalancers:{type:"list",member:{type:"structure",members:{Name:{}}}},Triggers:{type:"list",member:{type:"structure",members:{Name:{}}}},Queues:{type:"list",member:{type:"structure",members:{Name:{},URL:{}}}}}}}}},DescribeEnvironments:{input:{type:"structure",members:{ApplicationName:{},VersionLabel:{},EnvironmentIds:{type:"list",member:{}},EnvironmentNames:{type:"list",member:{}},IncludeDeleted:{type:"boolean"},IncludedDeletedBackTo:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{}}},output:{shape:"Sk",resultWrapper:"DescribeEnvironmentsResult"}},DescribeEvents:{input:{type:"structure",members:{ApplicationName:{},VersionLabel:{},TemplateName:{},EnvironmentId:{},EnvironmentName:{},PlatformArn:{},RequestId:{},Severity:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Events:{type:"list",member:{type:"structure",members:{EventDate:{type:"timestamp"},Message:{},ApplicationName:{},VersionLabel:{},TemplateName:{},EnvironmentName:{},PlatformArn:{},RequestId:{},Severity:{}}}},NextToken:{}}}},DescribeInstancesHealth:{input:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},AttributeNames:{type:"list",member:{}},NextToken:{}}},output:{resultWrapper:"DescribeInstancesHealthResult",type:"structure",members:{InstanceHealthList:{type:"list",member:{type:"structure",members:{InstanceId:{},HealthStatus:{},Color:{},Causes:{shape:"S48"},LaunchedAt:{type:"timestamp"},ApplicationMetrics:{shape:"S4a"},System:{type:"structure",members:{CPUUtilization:{type:"structure",members:{User:{type:"double"},Nice:{type:"double"},System:{type:"double"},Idle:{type:"double"},IOWait:{type:"double"},IRQ:{type:"double"},SoftIRQ:{type:"double"},Privileged:{type:"double"}}},LoadAverage:{type:"list",member:{type:"double"}}}},Deployment:{type:"structure",members:{VersionLabel:{},DeploymentId:{type:"long"},Status:{},DeploymentTime:{type:"timestamp"}}},AvailabilityZone:{},InstanceType:{}}}},RefreshedAt:{type:"timestamp"},NextToken:{}}}},DescribePlatformVersion:{input:{type:"structure",members:{PlatformArn:{}}},output:{resultWrapper:"DescribePlatformVersionResult",type:"structure",members:{PlatformDescription:{type:"structure",members:{PlatformArn:{},PlatformOwner:{},PlatformName:{},PlatformVersion:{},SolutionStackName:{},PlatformStatus:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},PlatformCategory:{},Description:{},Maintainer:{},OperatingSystemName:{},OperatingSystemVersion:{},ProgrammingLanguages:{type:"list",member:{type:"structure",members:{Name:{},Version:{}}}},Frameworks:{type:"list",member:{type:"structure",members:{Name:{},Version:{}}}},CustomAmiList:{type:"list",member:{type:"structure",members:{VirtualizationType:{},ImageId:{}}}},SupportedTierList:{shape:"S2s"},SupportedAddonList:{shape:"S2u"},PlatformLifecycleState:{},PlatformBranchName:{},PlatformBranchLifecycleState:{}}}}}},DisassociateEnvironmentOperationsRole:{input:{type:"structure",required:["EnvironmentName"],members:{EnvironmentName:{}}}},ListAvailableSolutionStacks:{output:{resultWrapper:"ListAvailableSolutionStacksResult",type:"structure",members:{SolutionStacks:{type:"list",member:{}},SolutionStackDetails:{type:"list",member:{type:"structure",members:{SolutionStackName:{},PermittedFileTypes:{type:"list",member:{}}}}}}}},ListPlatformBranches:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{Attribute:{},Operator:{},Values:{type:"list",member:{}}}}},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"ListPlatformBranchesResult",type:"structure",members:{PlatformBranchSummaryList:{type:"list",member:{type:"structure",members:{PlatformName:{},BranchName:{},LifecycleState:{},BranchOrder:{type:"integer"},SupportedTierList:{shape:"S2s"}}}},NextToken:{}}}},ListPlatformVersions:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{Type:{},Operator:{},Values:{type:"list",member:{}}}}},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"ListPlatformVersionsResult",type:"structure",members:{PlatformSummaryList:{type:"list",member:{shape:"S2m"}},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{ResourceArn:{},ResourceTags:{shape:"S7g"}}}},RebuildEnvironment:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},RequestEnvironmentInfo:{input:{type:"structure",required:["InfoType"],members:{EnvironmentId:{},EnvironmentName:{},InfoType:{}}}},RestartAppServer:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{}}}},RetrieveEnvironmentInfo:{input:{type:"structure",required:["InfoType"],members:{EnvironmentId:{},EnvironmentName:{},InfoType:{}}},output:{resultWrapper:"RetrieveEnvironmentInfoResult",type:"structure",members:{EnvironmentInfo:{type:"list",member:{type:"structure",members:{InfoType:{},Ec2InstanceId:{},SampleTimestamp:{type:"timestamp"},Message:{}}}}}}},SwapEnvironmentCNAMEs:{input:{type:"structure",members:{SourceEnvironmentId:{},SourceEnvironmentName:{},DestinationEnvironmentId:{},DestinationEnvironmentName:{}}}},TerminateEnvironment:{input:{type:"structure",members:{EnvironmentId:{},EnvironmentName:{},TerminateResources:{type:"boolean"},ForceTerminate:{type:"boolean"}}},output:{shape:"Sm",resultWrapper:"TerminateEnvironmentResult"}},UpdateApplication:{input:{type:"structure",required:["ApplicationName"],members:{ApplicationName:{},Description:{}}},output:{shape:"S1j",resultWrapper:"UpdateApplicationResult"}},UpdateApplicationResourceLifecycle:{input:{type:"structure",required:["ApplicationName","ResourceLifecycleConfig"],members:{ApplicationName:{},ResourceLifecycleConfig:{shape:"S19"}}},output:{resultWrapper:"UpdateApplicationResourceLifecycleResult",type:"structure",members:{ApplicationName:{},ResourceLifecycleConfig:{shape:"S19"}}}},UpdateApplicationVersion:{input:{type:"structure",required:["ApplicationName","VersionLabel"],members:{ApplicationName:{},VersionLabel:{},Description:{}}},output:{shape:"S21",resultWrapper:"UpdateApplicationVersionResult"}},UpdateConfigurationTemplate:{input:{type:"structure",required:["ApplicationName","TemplateName"],members:{ApplicationName:{},TemplateName:{},Description:{},OptionSettings:{shape:"S27"},OptionsToRemove:{shape:"S2g"}}},output:{shape:"S2d",resultWrapper:"UpdateConfigurationTemplateResult"}},UpdateEnvironment:{input:{type:"structure",members:{ApplicationName:{},EnvironmentId:{},EnvironmentName:{},GroupName:{},Description:{},Tier:{shape:"S13"},VersionLabel:{},TemplateName:{},SolutionStackName:{},PlatformArn:{},OptionSettings:{shape:"S27"},OptionsToRemove:{shape:"S2g"}}},output:{shape:"Sm",resultWrapper:"UpdateEnvironmentResult"}},UpdateTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{},TagsToAdd:{shape:"S7g"},TagsToRemove:{type:"list",member:{}}}}},ValidateConfigurationSettings:{input:{type:"structure",required:["ApplicationName","OptionSettings"],members:{ApplicationName:{},TemplateName:{},EnvironmentName:{},OptionSettings:{shape:"S27"}}},output:{resultWrapper:"ValidateConfigurationSettingsResult",type:"structure",members:{Messages:{type:"list",member:{type:"structure",members:{Message:{},Severity:{},Namespace:{},OptionName:{}}}}}}}},shapes:{Sk:{type:"structure",members:{Environments:{type:"list",member:{shape:"Sm"}},NextToken:{}}},Sm:{type:"structure",members:{EnvironmentName:{},EnvironmentId:{},ApplicationName:{},VersionLabel:{},SolutionStackName:{},PlatformArn:{},TemplateName:{},Description:{},EndpointURL:{},CNAME:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},Status:{},AbortableOperationInProgress:{type:"boolean"},Health:{},HealthStatus:{},Resources:{type:"structure",members:{LoadBalancer:{type:"structure",members:{LoadBalancerName:{},Domain:{},Listeners:{type:"list",member:{type:"structure",members:{Protocol:{},Port:{type:"integer"}}}}}}}},Tier:{shape:"S13"},EnvironmentLinks:{type:"list",member:{type:"structure",members:{LinkName:{},EnvironmentName:{}}}},EnvironmentArn:{},OperationsRole:{}}},S13:{type:"structure",members:{Name:{},Type:{},Version:{}}},S19:{type:"structure",members:{ServiceRole:{},VersionLifecycleConfig:{type:"structure",members:{MaxCountRule:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},MaxCount:{type:"integer"},DeleteSourceFromS3:{type:"boolean"}}},MaxAgeRule:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},MaxAgeInDays:{type:"integer"},DeleteSourceFromS3:{type:"boolean"}}}}}}},S1f:{type:"list",member:{shape:"S1g"}},S1g:{type:"structure",members:{Key:{},Value:{}}},S1j:{type:"structure",members:{Application:{shape:"S1k"}}},S1k:{type:"structure",members:{ApplicationArn:{},ApplicationName:{},Description:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},Versions:{shape:"S1m"},ConfigurationTemplates:{type:"list",member:{}},ResourceLifecycleConfig:{shape:"S19"}}},S1m:{type:"list",member:{}},S1p:{type:"structure",required:["SourceType","SourceRepository","SourceLocation"],members:{SourceType:{},SourceRepository:{},SourceLocation:{}}},S1t:{type:"structure",members:{S3Bucket:{},S3Key:{}}},S21:{type:"structure",members:{ApplicationVersion:{shape:"S22"}}},S22:{type:"structure",members:{ApplicationVersionArn:{},ApplicationName:{},Description:{},VersionLabel:{},SourceBuildInformation:{shape:"S1p"},BuildArn:{},SourceBundle:{shape:"S1t"},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},Status:{}}},S27:{type:"list",member:{type:"structure",members:{ResourceName:{},Namespace:{},OptionName:{},Value:{}}}},S2d:{type:"structure",members:{SolutionStackName:{},PlatformArn:{},ApplicationName:{},TemplateName:{},Description:{},EnvironmentName:{},DeploymentStatus:{},DateCreated:{type:"timestamp"},DateUpdated:{type:"timestamp"},OptionSettings:{shape:"S27"}}},S2g:{type:"list",member:{type:"structure",members:{ResourceName:{},Namespace:{},OptionName:{}}}},S2m:{type:"structure",members:{PlatformArn:{},PlatformOwner:{},PlatformStatus:{},PlatformCategory:{},OperatingSystemName:{},OperatingSystemVersion:{},SupportedTierList:{shape:"S2s"},SupportedAddonList:{shape:"S2u"},PlatformLifecycleState:{},PlatformVersion:{},PlatformBranchName:{},PlatformBranchLifecycleState:{}}},S2s:{type:"list",member:{}},S2u:{type:"list",member:{}},S3c:{type:"structure",members:{Maximum:{type:"integer"}}},S48:{type:"list",member:{}},S4a:{type:"structure",members:{Duration:{type:"integer"},RequestCount:{type:"integer"},StatusCodes:{type:"structure",members:{Status2xx:{type:"integer"},Status3xx:{type:"integer"},Status4xx:{type:"integer"},Status5xx:{type:"integer"}}},Latency:{type:"structure",members:{P999:{type:"double"},P99:{type:"double"},P95:{type:"double"},P90:{type:"double"},P85:{type:"double"},P75:{type:"double"},P50:{type:"double"},P10:{type:"double"}}}}},S7g:{type:"list",member:{shape:"S1g"}}}}},{}],92:[function(e,t,r){t.exports={pagination:{DescribeApplicationVersions:{result_key:"ApplicationVersions"},DescribeApplications:{result_key:"Applications"},DescribeConfigurationOptions:{result_key:"Options"},DescribeEnvironmentManagedActionHistory:{input_token:"NextToken",limit_key:"MaxItems",output_token:"NextToken",result_key:"ManagedActionHistoryItems"},DescribeEnvironments:{result_key:"Environments"},DescribeEvents:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken",result_key:"Events"},ListAvailableSolutionStacks:{result_key:"SolutionStacks"},ListPlatformBranches:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken"},ListPlatformVersions:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken",result_key:"PlatformSummaryList"}}}},{}],93:[function(e,t,r){t.exports={version:2,waiters:{EnvironmentExists:{delay:20,maxAttempts:20,operation:"DescribeEnvironments",acceptors:[{state:"success",matcher:"pathAll",argument:"Environments[].Status",expected:"Ready"},{state:"retry",matcher:"pathAll",argument:"Environments[].Status",expected:"Launching"}]},EnvironmentUpdated:{delay:20,maxAttempts:20,operation:"DescribeEnvironments",acceptors:[{state:"success",matcher:"pathAll",argument:"Environments[].Status",expected:"Ready"},{state:"retry",matcher:"pathAll",argument:"Environments[].Status",expected:"Updating"}]},EnvironmentTerminated:{delay:20,maxAttempts:20,operation:"DescribeEnvironments",acceptors:[{state:"success",matcher:"pathAll",argument:"Environments[].Status",expected:"Terminated"},{state:"retry",matcher:"pathAll",argument:"Environments[].Status",expected:"Terminating"}]}}}},{}],94:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-02-01",endpointPrefix:"elasticfilesystem",protocol:"rest-json",serviceAbbreviation:"EFS",serviceFullName:"Amazon Elastic File System",serviceId:"EFS",signatureVersion:"v4",uid:"elasticfilesystem-2015-02-01"},operations:{CreateAccessPoint:{http:{requestUri:"/2015-02-01/access-points",responseCode:200},input:{type:"structure",required:["ClientToken","FileSystemId"],members:{ClientToken:{idempotencyToken:!0},Tags:{shape:"S3"},FileSystemId:{},PosixUser:{shape:"S8"},RootDirectory:{shape:"Sc"}}},output:{shape:"Si"}},CreateFileSystem:{http:{requestUri:"/2015-02-01/file-systems",responseCode:201},input:{type:"structure",required:["CreationToken"],members:{CreationToken:{idempotencyToken:!0},PerformanceMode:{},Encrypted:{type:"boolean"},KmsKeyId:{},ThroughputMode:{},ProvisionedThroughputInMibps:{type:"double"},AvailabilityZoneName:{},Backup:{type:"boolean"},Tags:{shape:"S3"}}},output:{shape:"Sx"}},CreateMountTarget:{http:{requestUri:"/2015-02-01/mount-targets",responseCode:200},input:{type:"structure",required:["FileSystemId","SubnetId"],members:{FileSystemId:{},SubnetId:{},IpAddress:{},SecurityGroups:{shape:"S18"}}},output:{shape:"S1a"}},CreateReplicationConfiguration:{http:{requestUri:"/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration",responseCode:200},input:{type:"structure",required:["SourceFileSystemId","Destinations"],members:{SourceFileSystemId:{location:"uri",locationName:"SourceFileSystemId"},Destinations:{type:"list",member:{type:"structure",members:{Region:{},AvailabilityZoneName:{},KmsKeyId:{}}}}}},output:{shape:"S1i"}},CreateTags:{http:{requestUri:"/2015-02-01/create-tags/{FileSystemId}",responseCode:204},input:{type:"structure",required:["FileSystemId","Tags"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},Tags:{shape:"S3"}}},deprecated:!0,deprecatedMessage:"Use TagResource."},DeleteAccessPoint:{http:{method:"DELETE",requestUri:"/2015-02-01/access-points/{AccessPointId}",responseCode:204},input:{type:"structure",required:["AccessPointId"],members:{AccessPointId:{location:"uri",locationName:"AccessPointId"}}}},DeleteFileSystem:{http:{method:"DELETE",requestUri:"/2015-02-01/file-systems/{FileSystemId}",responseCode:204},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}}},DeleteFileSystemPolicy:{http:{method:"DELETE",requestUri:"/2015-02-01/file-systems/{FileSystemId}/policy",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}}},DeleteMountTarget:{http:{method:"DELETE",requestUri:"/2015-02-01/mount-targets/{MountTargetId}",responseCode:204},input:{type:"structure",required:["MountTargetId"],members:{MountTargetId:{location:"uri",locationName:"MountTargetId"}}}},DeleteReplicationConfiguration:{http:{method:"DELETE",requestUri:"/2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration",responseCode:204},input:{type:"structure",required:["SourceFileSystemId"],members:{SourceFileSystemId:{location:"uri",locationName:"SourceFileSystemId"}}}},DeleteTags:{http:{requestUri:"/2015-02-01/delete-tags/{FileSystemId}",responseCode:204},input:{type:"structure",required:["FileSystemId","TagKeys"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},TagKeys:{shape:"S1t"}}},deprecated:!0,deprecatedMessage:"Use UntagResource."},DescribeAccessPoints:{http:{method:"GET",requestUri:"/2015-02-01/access-points",responseCode:200},input:{type:"structure",members:{MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"},NextToken:{location:"querystring",locationName:"NextToken"},AccessPointId:{location:"querystring",locationName:"AccessPointId"},FileSystemId:{location:"querystring",locationName:"FileSystemId"}}},output:{type:"structure",members:{AccessPoints:{type:"list",member:{shape:"Si"}},NextToken:{}}}},DescribeAccountPreferences:{http:{method:"GET",requestUri:"/2015-02-01/account-preferences",responseCode:200},input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ResourceIdPreference:{shape:"S21"},NextToken:{}}}},DescribeBackupPolicy:{http:{method:"GET",requestUri:"/2015-02-01/file-systems/{FileSystemId}/backup-policy",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}},output:{shape:"S26"}},DescribeFileSystemPolicy:{http:{method:"GET",requestUri:"/2015-02-01/file-systems/{FileSystemId}/policy",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{ +location:"uri",locationName:"FileSystemId"}}},output:{shape:"S2a"}},DescribeFileSystems:{http:{method:"GET",requestUri:"/2015-02-01/file-systems",responseCode:200},input:{type:"structure",members:{MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},Marker:{location:"querystring",locationName:"Marker"},CreationToken:{location:"querystring",locationName:"CreationToken"},FileSystemId:{location:"querystring",locationName:"FileSystemId"}}},output:{type:"structure",members:{Marker:{},FileSystems:{type:"list",member:{shape:"Sx"}},NextMarker:{}}}},DescribeLifecycleConfiguration:{http:{method:"GET",requestUri:"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"}}},output:{shape:"S2i"}},DescribeMountTargetSecurityGroups:{http:{method:"GET",requestUri:"/2015-02-01/mount-targets/{MountTargetId}/security-groups",responseCode:200},input:{type:"structure",required:["MountTargetId"],members:{MountTargetId:{location:"uri",locationName:"MountTargetId"}}},output:{type:"structure",required:["SecurityGroups"],members:{SecurityGroups:{shape:"S18"}}}},DescribeMountTargets:{http:{method:"GET",requestUri:"/2015-02-01/mount-targets",responseCode:200},input:{type:"structure",members:{MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},Marker:{location:"querystring",locationName:"Marker"},FileSystemId:{location:"querystring",locationName:"FileSystemId"},MountTargetId:{location:"querystring",locationName:"MountTargetId"},AccessPointId:{location:"querystring",locationName:"AccessPointId"}}},output:{type:"structure",members:{Marker:{},MountTargets:{type:"list",member:{shape:"S1a"}},NextMarker:{}}}},DescribeReplicationConfigurations:{http:{method:"GET",requestUri:"/2015-02-01/file-systems/replication-configurations",responseCode:200},input:{type:"structure",members:{FileSystemId:{location:"querystring",locationName:"FileSystemId"},NextToken:{location:"querystring",locationName:"NextToken"},MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"}}},output:{type:"structure",members:{Replications:{type:"list",member:{shape:"S1i"}},NextToken:{}}}},DescribeTags:{http:{method:"GET",requestUri:"/2015-02-01/tags/{FileSystemId}/",responseCode:200},input:{type:"structure",required:["FileSystemId"],members:{MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},Marker:{location:"querystring",locationName:"Marker"},FileSystemId:{location:"uri",locationName:"FileSystemId"}}},output:{type:"structure",required:["Tags"],members:{Marker:{},Tags:{shape:"S3"},NextMarker:{}}},deprecated:!0,deprecatedMessage:"Use ListTagsForResource."},ListTagsForResource:{http:{method:"GET",requestUri:"/2015-02-01/resource-tags/{ResourceId}",responseCode:200},input:{type:"structure",required:["ResourceId"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"},NextToken:{location:"querystring",locationName:"NextToken"}}},output:{type:"structure",members:{Tags:{shape:"S3"},NextToken:{}}}},ModifyMountTargetSecurityGroups:{http:{method:"PUT",requestUri:"/2015-02-01/mount-targets/{MountTargetId}/security-groups",responseCode:204},input:{type:"structure",required:["MountTargetId"],members:{MountTargetId:{location:"uri",locationName:"MountTargetId"},SecurityGroups:{shape:"S18"}}}},PutAccountPreferences:{http:{method:"PUT",requestUri:"/2015-02-01/account-preferences",responseCode:200},input:{type:"structure",required:["ResourceIdType"],members:{ResourceIdType:{}}},output:{type:"structure",members:{ResourceIdPreference:{shape:"S21"}}}},PutBackupPolicy:{http:{method:"PUT",requestUri:"/2015-02-01/file-systems/{FileSystemId}/backup-policy",responseCode:200},input:{type:"structure",required:["FileSystemId","BackupPolicy"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},BackupPolicy:{shape:"S27"}}},output:{shape:"S26"}},PutFileSystemPolicy:{http:{method:"PUT",requestUri:"/2015-02-01/file-systems/{FileSystemId}/policy",responseCode:200},input:{type:"structure",required:["FileSystemId","Policy"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},Policy:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"}}},output:{shape:"S2a"}},PutLifecycleConfiguration:{http:{method:"PUT",requestUri:"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration",responseCode:200},input:{type:"structure",required:["FileSystemId","LifecyclePolicies"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},LifecyclePolicies:{shape:"S2j"}}},output:{shape:"S2i"}},TagResource:{http:{requestUri:"/2015-02-01/resource-tags/{ResourceId}",responseCode:200},input:{type:"structure",required:["ResourceId","Tags"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},Tags:{shape:"S3"}}}},UntagResource:{http:{method:"DELETE",requestUri:"/2015-02-01/resource-tags/{ResourceId}",responseCode:200},input:{type:"structure",required:["ResourceId","TagKeys"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},TagKeys:{shape:"S1t",location:"querystring",locationName:"tagKeys"}}}},UpdateFileSystem:{http:{method:"PUT",requestUri:"/2015-02-01/file-systems/{FileSystemId}",responseCode:202},input:{type:"structure",required:["FileSystemId"],members:{FileSystemId:{location:"uri",locationName:"FileSystemId"},ThroughputMode:{},ProvisionedThroughputInMibps:{type:"double"}}},output:{shape:"Sx"}}},shapes:{S3:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S8:{type:"structure",required:["Uid","Gid"],members:{Uid:{type:"long"},Gid:{type:"long"},SecondaryGids:{type:"list",member:{type:"long"}}}},Sc:{type:"structure",members:{Path:{},CreationInfo:{type:"structure",required:["OwnerUid","OwnerGid","Permissions"],members:{OwnerUid:{type:"long"},OwnerGid:{type:"long"},Permissions:{}}}}},Si:{type:"structure",members:{ClientToken:{},Name:{},Tags:{shape:"S3"},AccessPointId:{},AccessPointArn:{},FileSystemId:{},PosixUser:{shape:"S8"},RootDirectory:{shape:"Sc"},OwnerId:{},LifeCycleState:{}}},Sx:{type:"structure",required:["OwnerId","CreationToken","FileSystemId","CreationTime","LifeCycleState","NumberOfMountTargets","SizeInBytes","PerformanceMode","Tags"],members:{OwnerId:{},CreationToken:{},FileSystemId:{},FileSystemArn:{},CreationTime:{type:"timestamp"},LifeCycleState:{},Name:{},NumberOfMountTargets:{type:"integer"},SizeInBytes:{type:"structure",required:["Value"],members:{Value:{type:"long"},Timestamp:{type:"timestamp"},ValueInIA:{type:"long"},ValueInStandard:{type:"long"}}},PerformanceMode:{},Encrypted:{type:"boolean"},KmsKeyId:{},ThroughputMode:{},ProvisionedThroughputInMibps:{type:"double"},AvailabilityZoneName:{},AvailabilityZoneId:{},Tags:{shape:"S3"}}},S18:{type:"list",member:{}},S1a:{type:"structure",required:["MountTargetId","FileSystemId","SubnetId","LifeCycleState"],members:{OwnerId:{},MountTargetId:{},FileSystemId:{},SubnetId:{},LifeCycleState:{},IpAddress:{},NetworkInterfaceId:{},AvailabilityZoneId:{},AvailabilityZoneName:{},VpcId:{}}},S1i:{type:"structure",required:["SourceFileSystemId","SourceFileSystemRegion","SourceFileSystemArn","OriginalSourceFileSystemArn","CreationTime","Destinations"],members:{SourceFileSystemId:{},SourceFileSystemRegion:{},SourceFileSystemArn:{},OriginalSourceFileSystemArn:{},CreationTime:{type:"timestamp"},Destinations:{type:"list",member:{type:"structure",required:["Status","FileSystemId","Region"],members:{Status:{},FileSystemId:{},Region:{},LastReplicatedTimestamp:{type:"timestamp"}}}}}},S1t:{type:"list",member:{}},S21:{type:"structure",members:{ResourceIdType:{},Resources:{type:"list",member:{}}}},S26:{type:"structure",members:{BackupPolicy:{shape:"S27"}}},S27:{type:"structure",required:["Status"],members:{Status:{}}},S2a:{type:"structure",members:{FileSystemId:{},Policy:{}}},S2i:{type:"structure",members:{LifecyclePolicies:{shape:"S2j"}}},S2j:{type:"list",member:{type:"structure",members:{TransitionToIA:{},TransitionToPrimaryStorageClass:{}}}}}}},{}],95:[function(e,t,r){t.exports={pagination:{DescribeAccessPoints:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},DescribeFileSystems:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems"},DescribeTags:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems"},ListTagsForResource:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],96:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-06-01",endpointPrefix:"elasticloadbalancing",protocol:"query",serviceFullName:"Elastic Load Balancing",serviceId:"Elastic Load Balancing",signatureVersion:"v4",uid:"elasticloadbalancing-2012-06-01",xmlNamespace:"http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/"},operations:{AddTags:{input:{type:"structure",required:["LoadBalancerNames","Tags"],members:{LoadBalancerNames:{shape:"S2"},Tags:{shape:"S4"}}},output:{resultWrapper:"AddTagsResult",type:"structure",members:{}}},ApplySecurityGroupsToLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","SecurityGroups"],members:{LoadBalancerName:{},SecurityGroups:{shape:"Sa"}}},output:{resultWrapper:"ApplySecurityGroupsToLoadBalancerResult",type:"structure",members:{SecurityGroups:{shape:"Sa"}}}},AttachLoadBalancerToSubnets:{input:{type:"structure",required:["LoadBalancerName","Subnets"],members:{LoadBalancerName:{},Subnets:{shape:"Se"}}},output:{resultWrapper:"AttachLoadBalancerToSubnetsResult",type:"structure",members:{Subnets:{shape:"Se"}}}},ConfigureHealthCheck:{input:{type:"structure",required:["LoadBalancerName","HealthCheck"],members:{LoadBalancerName:{},HealthCheck:{shape:"Si"}}},output:{resultWrapper:"ConfigureHealthCheckResult",type:"structure",members:{HealthCheck:{shape:"Si"}}}},CreateAppCookieStickinessPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName","CookieName"],members:{LoadBalancerName:{},PolicyName:{},CookieName:{}}},output:{resultWrapper:"CreateAppCookieStickinessPolicyResult",type:"structure",members:{}}},CreateLBCookieStickinessPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName"],members:{LoadBalancerName:{},PolicyName:{},CookieExpirationPeriod:{type:"long"}}},output:{resultWrapper:"CreateLBCookieStickinessPolicyResult",type:"structure",members:{}}},CreateLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Listeners"],members:{LoadBalancerName:{},Listeners:{shape:"Sx"},AvailabilityZones:{shape:"S13"},Subnets:{shape:"Se"},SecurityGroups:{shape:"Sa"},Scheme:{},Tags:{shape:"S4"}}},output:{resultWrapper:"CreateLoadBalancerResult",type:"structure",members:{DNSName:{}}}},CreateLoadBalancerListeners:{input:{type:"structure",required:["LoadBalancerName","Listeners"],members:{LoadBalancerName:{},Listeners:{shape:"Sx"}}},output:{resultWrapper:"CreateLoadBalancerListenersResult",type:"structure",members:{}}},CreateLoadBalancerPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName","PolicyTypeName"],members:{LoadBalancerName:{},PolicyName:{},PolicyTypeName:{},PolicyAttributes:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeValue:{}}}}}},output:{resultWrapper:"CreateLoadBalancerPolicyResult",type:"structure",members:{}}},DeleteLoadBalancer:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{}}},output:{resultWrapper:"DeleteLoadBalancerResult",type:"structure",members:{}}},DeleteLoadBalancerListeners:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPorts"],members:{LoadBalancerName:{},LoadBalancerPorts:{type:"list",member:{type:"integer"}}}},output:{resultWrapper:"DeleteLoadBalancerListenersResult",type:"structure",members:{}}},DeleteLoadBalancerPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName"],members:{LoadBalancerName:{},PolicyName:{}}},output:{resultWrapper:"DeleteLoadBalancerPolicyResult",type:"structure",members:{}}},DeregisterInstancesFromLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Instances"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"DeregisterInstancesFromLoadBalancerResult",type:"structure",members:{Instances:{shape:"S1p"}}}},DescribeAccountLimits:{input:{type:"structure",members:{Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeAccountLimitsResult",type:"structure",members:{Limits:{type:"list",member:{type:"structure",members:{Name:{},Max:{}}}},NextMarker:{}}}},DescribeInstanceHealth:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"DescribeInstanceHealthResult",type:"structure",members:{InstanceStates:{type:"list",member:{type:"structure",members:{InstanceId:{},State:{},ReasonCode:{},Description:{}}}}}}},DescribeLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{}}},output:{resultWrapper:"DescribeLoadBalancerAttributesResult",type:"structure",members:{LoadBalancerAttributes:{shape:"S2a"}}}},DescribeLoadBalancerPolicies:{input:{type:"structure",members:{LoadBalancerName:{},PolicyNames:{shape:"S2s"}}},output:{resultWrapper:"DescribeLoadBalancerPoliciesResult",type:"structure",members:{PolicyDescriptions:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyTypeName:{},PolicyAttributeDescriptions:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeValue:{}}}}}}}}}},DescribeLoadBalancerPolicyTypes:{input:{type:"structure",members:{PolicyTypeNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeLoadBalancerPolicyTypesResult",type:"structure",members:{PolicyTypeDescriptions:{type:"list",member:{type:"structure",members:{PolicyTypeName:{},Description:{},PolicyAttributeTypeDescriptions:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeType:{},Description:{},DefaultValue:{},Cardinality:{}}}}}}}}}},DescribeLoadBalancers:{input:{type:"structure",members:{LoadBalancerNames:{shape:"S2"},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeLoadBalancersResult",type:"structure",members:{LoadBalancerDescriptions:{type:"list",member:{type:"structure",members:{LoadBalancerName:{},DNSName:{},CanonicalHostedZoneName:{},CanonicalHostedZoneNameID:{},ListenerDescriptions:{type:"list",member:{type:"structure",members:{Listener:{shape:"Sy"},PolicyNames:{shape:"S2s"}}}},Policies:{type:"structure",members:{AppCookieStickinessPolicies:{type:"list",member:{type:"structure",members:{PolicyName:{},CookieName:{}}}},LBCookieStickinessPolicies:{type:"list",member:{type:"structure",members:{PolicyName:{},CookieExpirationPeriod:{type:"long"}}}},OtherPolicies:{shape:"S2s"}}},BackendServerDescriptions:{type:"list",member:{type:"structure",members:{InstancePort:{type:"integer"},PolicyNames:{shape:"S2s"}}}},AvailabilityZones:{shape:"S13"},Subnets:{shape:"Se"},VPCId:{},Instances:{shape:"S1p"},HealthCheck:{shape:"Si"},SourceSecurityGroup:{type:"structure",members:{OwnerAlias:{},GroupName:{}}},SecurityGroups:{shape:"Sa"},CreatedTime:{type:"timestamp"},Scheme:{}}}},NextMarker:{}}}},DescribeTags:{input:{type:"structure",required:["LoadBalancerNames"],members:{LoadBalancerNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TagDescriptions:{type:"list",member:{type:"structure",members:{LoadBalancerName:{},Tags:{shape:"S4"}}}}}}},DetachLoadBalancerFromSubnets:{input:{type:"structure",required:["LoadBalancerName","Subnets"],members:{LoadBalancerName:{},Subnets:{shape:"Se"}}},output:{resultWrapper:"DetachLoadBalancerFromSubnetsResult",type:"structure",members:{Subnets:{shape:"Se"}}}},DisableAvailabilityZonesForLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","AvailabilityZones"],members:{LoadBalancerName:{},AvailabilityZones:{shape:"S13"}}},output:{resultWrapper:"DisableAvailabilityZonesForLoadBalancerResult",type:"structure",members:{AvailabilityZones:{shape:"S13"}}}},EnableAvailabilityZonesForLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","AvailabilityZones"],members:{LoadBalancerName:{},AvailabilityZones:{shape:"S13"}}},output:{resultWrapper:"EnableAvailabilityZonesForLoadBalancerResult",type:"structure",members:{AvailabilityZones:{shape:"S13"}}}},ModifyLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerAttributes"],members:{LoadBalancerName:{},LoadBalancerAttributes:{shape:"S2a"}}},output:{resultWrapper:"ModifyLoadBalancerAttributesResult",type:"structure",members:{LoadBalancerName:{},LoadBalancerAttributes:{shape:"S2a"}}}},RegisterInstancesWithLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Instances"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"RegisterInstancesWithLoadBalancerResult",type:"structure",members:{Instances:{shape:"S1p"}}}},RemoveTags:{input:{type:"structure",required:["LoadBalancerNames","Tags"],members:{LoadBalancerNames:{shape:"S2"},Tags:{type:"list",member:{type:"structure",members:{Key:{}}}}}},output:{resultWrapper:"RemoveTagsResult",type:"structure",members:{}}},SetLoadBalancerListenerSSLCertificate:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPort","SSLCertificateId"],members:{LoadBalancerName:{},LoadBalancerPort:{type:"integer"},SSLCertificateId:{}}},output:{resultWrapper:"SetLoadBalancerListenerSSLCertificateResult",type:"structure",members:{}}},SetLoadBalancerPoliciesForBackendServer:{input:{type:"structure",required:["LoadBalancerName","InstancePort","PolicyNames"],members:{LoadBalancerName:{},InstancePort:{type:"integer"},PolicyNames:{shape:"S2s"}}},output:{resultWrapper:"SetLoadBalancerPoliciesForBackendServerResult",type:"structure",members:{}}},SetLoadBalancerPoliciesOfListener:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPort","PolicyNames"],members:{LoadBalancerName:{},LoadBalancerPort:{type:"integer"},PolicyNames:{shape:"S2s"}}},output:{resultWrapper:"SetLoadBalancerPoliciesOfListenerResult",type:"structure",members:{}}}},shapes:{S2:{type:"list",member:{}},S4:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},Sa:{type:"list",member:{}},Se:{type:"list",member:{}},Si:{type:"structure",required:["Target","Interval","Timeout","UnhealthyThreshold","HealthyThreshold"],members:{Target:{},Interval:{type:"integer"},Timeout:{type:"integer"},UnhealthyThreshold:{type:"integer"},HealthyThreshold:{type:"integer"}}},Sx:{type:"list",member:{shape:"Sy"}},Sy:{type:"structure",required:["Protocol","LoadBalancerPort","InstancePort"],members:{Protocol:{},LoadBalancerPort:{type:"integer"},InstanceProtocol:{},InstancePort:{type:"integer"},SSLCertificateId:{}}},S13:{type:"list",member:{}},S1p:{type:"list",member:{type:"structure",members:{InstanceId:{}}}},S2a:{type:"structure",members:{CrossZoneLoadBalancing:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"}}},AccessLog:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},S3BucketName:{},EmitInterval:{type:"integer"},S3BucketPrefix:{}}},ConnectionDraining:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},Timeout:{type:"integer"}}},ConnectionSettings:{type:"structure",required:["IdleTimeout"],members:{IdleTimeout:{type:"integer"}}},AdditionalAttributes:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}},S2s:{type:"list",member:{}}}}},{}],97:[function(e,t,r){t.exports={pagination:{DescribeInstanceHealth:{result_key:"InstanceStates"},DescribeLoadBalancerPolicies:{result_key:"PolicyDescriptions"},DescribeLoadBalancerPolicyTypes:{result_key:"PolicyTypeDescriptions"},DescribeLoadBalancers:{input_token:"Marker",output_token:"NextMarker",result_key:"LoadBalancerDescriptions"}}}},{}],98:[function(e,t,r){t.exports={version:2,waiters:{InstanceDeregistered:{delay:15,operation:"DescribeInstanceHealth",maxAttempts:40,acceptors:[{expected:"OutOfService",matcher:"pathAll",state:"success",argument:"InstanceStates[].State"},{matcher:"error",expected:"InvalidInstance",state:"success"}]},AnyInstanceInService:{acceptors:[{argument:"InstanceStates[].State",expected:"InService",matcher:"pathAny",state:"success"}],delay:15,maxAttempts:40,operation:"DescribeInstanceHealth"},InstanceInService:{acceptors:[{argument:"InstanceStates[].State",expected:"InService",matcher:"pathAll",state:"success"},{matcher:"error",expected:"InvalidInstance",state:"retry"}],delay:15,maxAttempts:40,operation:"DescribeInstanceHealth"}}}},{}],99:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-12-01",endpointPrefix:"elasticloadbalancing",protocol:"query",serviceAbbreviation:"Elastic Load Balancing v2",serviceFullName:"Elastic Load Balancing",serviceId:"Elastic Load Balancing v2",signatureVersion:"v4",uid:"elasticloadbalancingv2-2015-12-01",xmlNamespace:"http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/"},operations:{AddListenerCertificates:{input:{type:"structure",required:["ListenerArn","Certificates"],members:{ListenerArn:{},Certificates:{shape:"S3"}}},output:{resultWrapper:"AddListenerCertificatesResult",type:"structure",members:{Certificates:{shape:"S3"}}}},AddTags:{input:{type:"structure",required:["ResourceArns","Tags"],members:{ResourceArns:{shape:"S9"},Tags:{shape:"Sb"}}},output:{resultWrapper:"AddTagsResult",type:"structure",members:{}}},CreateListener:{input:{type:"structure",required:["LoadBalancerArn","DefaultActions"],members:{LoadBalancerArn:{},Protocol:{},Port:{type:"integer"},SslPolicy:{},Certificates:{shape:"S3"},DefaultActions:{shape:"Sl"},AlpnPolicy:{shape:"S1y"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateListenerResult",type:"structure",members:{Listeners:{shape:"S21"}}}},CreateLoadBalancer:{input:{type:"structure",required:["Name"],members:{Name:{},Subnets:{shape:"S25"},SubnetMappings:{shape:"S27"},SecurityGroups:{shape:"S2c"},Scheme:{},Tags:{shape:"Sb"},Type:{},IpAddressType:{},CustomerOwnedIpv4Pool:{}}},output:{resultWrapper:"CreateLoadBalancerResult",type:"structure",members:{LoadBalancers:{shape:"S2j"}}}},CreateRule:{input:{type:"structure",required:["ListenerArn","Conditions","Priority","Actions"],members:{ListenerArn:{},Conditions:{shape:"S30"},Priority:{type:"integer"},Actions:{shape:"Sl"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateRuleResult",type:"structure",members:{Rules:{shape:"S3g"}}}},CreateTargetGroup:{input:{type:"structure",required:["Name"],members:{Name:{},Protocol:{},ProtocolVersion:{},Port:{type:"integer"},VpcId:{},HealthCheckProtocol:{},HealthCheckPort:{},HealthCheckEnabled:{type:"boolean"},HealthCheckPath:{},HealthCheckIntervalSeconds:{type:"integer"},HealthCheckTimeoutSeconds:{type:"integer"},HealthyThresholdCount:{type:"integer"},UnhealthyThresholdCount:{type:"integer"},Matcher:{shape:"S3u"},TargetType:{},Tags:{shape:"Sb"},IpAddressType:{}}},output:{resultWrapper:"CreateTargetGroupResult",type:"structure",members:{TargetGroups:{shape:"S40"}}}},DeleteListener:{input:{type:"structure",required:["ListenerArn"],members:{ListenerArn:{}}},output:{resultWrapper:"DeleteListenerResult",type:"structure",members:{}}},DeleteLoadBalancer:{input:{type:"structure",required:["LoadBalancerArn"],members:{LoadBalancerArn:{}}},output:{resultWrapper:"DeleteLoadBalancerResult",type:"structure",members:{}}},DeleteRule:{input:{type:"structure",required:["RuleArn"],members:{RuleArn:{}}},output:{resultWrapper:"DeleteRuleResult",type:"structure",members:{}}},DeleteTargetGroup:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{}}},output:{resultWrapper:"DeleteTargetGroupResult",type:"structure",members:{}}},DeregisterTargets:{input:{type:"structure",required:["TargetGroupArn","Targets"],members:{TargetGroupArn:{},Targets:{shape:"S4c"}}},output:{resultWrapper:"DeregisterTargetsResult",type:"structure",members:{}}},DescribeAccountLimits:{input:{type:"structure",members:{Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeAccountLimitsResult",type:"structure",members:{Limits:{type:"list",member:{type:"structure",members:{Name:{},Max:{}}}},NextMarker:{}}}},DescribeListenerCertificates:{input:{type:"structure",required:["ListenerArn"],members:{ListenerArn:{},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeListenerCertificatesResult",type:"structure",members:{Certificates:{shape:"S3"},NextMarker:{}}}},DescribeListeners:{input:{type:"structure",members:{LoadBalancerArn:{},ListenerArns:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeListenersResult",type:"structure",members:{Listeners:{shape:"S21"},NextMarker:{}}}},DescribeLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerArn"],members:{LoadBalancerArn:{}}},output:{resultWrapper:"DescribeLoadBalancerAttributesResult",type:"structure",members:{Attributes:{shape:"S4v"}}}},DescribeLoadBalancers:{input:{type:"structure",members:{LoadBalancerArns:{shape:"S42"},Names:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeLoadBalancersResult",type:"structure",members:{LoadBalancers:{shape:"S2j"},NextMarker:{}}}},DescribeRules:{input:{type:"structure",members:{ListenerArn:{},RuleArns:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeRulesResult",type:"structure",members:{Rules:{shape:"S3g"},NextMarker:{}}}},DescribeSSLPolicies:{input:{type:"structure",members:{Names:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"},LoadBalancerType:{}}},output:{resultWrapper:"DescribeSSLPoliciesResult",type:"structure",members:{SslPolicies:{type:"list",member:{type:"structure",members:{SslProtocols:{type:"list",member:{}},Ciphers:{type:"list",member:{type:"structure",members:{Name:{},Priority:{type:"integer"}}}},Name:{},SupportedLoadBalancerTypes:{shape:"S33"}}}},NextMarker:{}}}},DescribeTags:{input:{type:"structure",required:["ResourceArns"],members:{ResourceArns:{shape:"S9"}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TagDescriptions:{type:"list",member:{type:"structure",members:{ResourceArn:{},Tags:{shape:"Sb"}}}}}}},DescribeTargetGroupAttributes:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{}}},output:{resultWrapper:"DescribeTargetGroupAttributesResult",type:"structure",members:{Attributes:{shape:"S5m"}}}},DescribeTargetGroups:{input:{type:"structure",members:{LoadBalancerArn:{},TargetGroupArns:{type:"list",member:{}},Names:{type:"list",member:{}},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeTargetGroupsResult",type:"structure",members:{TargetGroups:{shape:"S40"},NextMarker:{}}}},DescribeTargetHealth:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{},Targets:{shape:"S4c"}}},output:{resultWrapper:"DescribeTargetHealthResult",type:"structure",members:{TargetHealthDescriptions:{type:"list",member:{type:"structure",members:{Target:{shape:"S4d"},HealthCheckPort:{},TargetHealth:{type:"structure",members:{State:{},Reason:{},Description:{}}}}}}}}},ModifyListener:{input:{type:"structure",required:["ListenerArn"],members:{ListenerArn:{},Port:{type:"integer"},Protocol:{},SslPolicy:{},Certificates:{shape:"S3"},DefaultActions:{shape:"Sl"},AlpnPolicy:{shape:"S1y"}}},output:{resultWrapper:"ModifyListenerResult",type:"structure",members:{Listeners:{shape:"S21"}}}},ModifyLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerArn","Attributes"],members:{LoadBalancerArn:{},Attributes:{shape:"S4v"}}},output:{resultWrapper:"ModifyLoadBalancerAttributesResult",type:"structure",members:{Attributes:{shape:"S4v"}}}},ModifyRule:{input:{type:"structure",required:["RuleArn"],members:{RuleArn:{},Conditions:{shape:"S30"},Actions:{shape:"Sl"}}},output:{resultWrapper:"ModifyRuleResult",type:"structure",members:{Rules:{shape:"S3g"}}}},ModifyTargetGroup:{input:{type:"structure",required:["TargetGroupArn"],members:{TargetGroupArn:{},HealthCheckProtocol:{},HealthCheckPort:{},HealthCheckPath:{},HealthCheckEnabled:{type:"boolean"},HealthCheckIntervalSeconds:{type:"integer"},HealthCheckTimeoutSeconds:{type:"integer"},HealthyThresholdCount:{type:"integer"},UnhealthyThresholdCount:{type:"integer"},Matcher:{shape:"S3u"}}},output:{resultWrapper:"ModifyTargetGroupResult",type:"structure",members:{TargetGroups:{shape:"S40"}}}},ModifyTargetGroupAttributes:{input:{type:"structure",required:["TargetGroupArn","Attributes"],members:{TargetGroupArn:{},Attributes:{shape:"S5m"}}},output:{resultWrapper:"ModifyTargetGroupAttributesResult",type:"structure",members:{Attributes:{shape:"S5m"}}}},RegisterTargets:{input:{type:"structure",required:["TargetGroupArn","Targets"],members:{TargetGroupArn:{},Targets:{shape:"S4c"}}},output:{resultWrapper:"RegisterTargetsResult",type:"structure",members:{}}},RemoveListenerCertificates:{input:{type:"structure",required:["ListenerArn","Certificates"],members:{ListenerArn:{},Certificates:{shape:"S3"}}},output:{resultWrapper:"RemoveListenerCertificatesResult",type:"structure",members:{}}},RemoveTags:{input:{type:"structure",required:["ResourceArns","TagKeys"],members:{ResourceArns:{shape:"S9"},TagKeys:{type:"list",member:{}}}},output:{resultWrapper:"RemoveTagsResult",type:"structure",members:{}}},SetIpAddressType:{input:{type:"structure",required:["LoadBalancerArn","IpAddressType"],members:{LoadBalancerArn:{},IpAddressType:{}}},output:{resultWrapper:"SetIpAddressTypeResult",type:"structure",members:{IpAddressType:{}}}},SetRulePriorities:{input:{type:"structure",required:["RulePriorities"],members:{RulePriorities:{type:"list",member:{type:"structure",members:{RuleArn:{},Priority:{type:"integer"}}}}}},output:{resultWrapper:"SetRulePrioritiesResult",type:"structure",members:{Rules:{shape:"S3g"}}}},SetSecurityGroups:{input:{type:"structure",required:["LoadBalancerArn","SecurityGroups"],members:{LoadBalancerArn:{},SecurityGroups:{shape:"S2c"}}},output:{resultWrapper:"SetSecurityGroupsResult",type:"structure",members:{SecurityGroupIds:{shape:"S2c"}}}},SetSubnets:{input:{type:"structure",required:["LoadBalancerArn"],members:{LoadBalancerArn:{},Subnets:{shape:"S25"},SubnetMappings:{shape:"S27"},IpAddressType:{}}},output:{resultWrapper:"SetSubnetsResult",type:"structure",members:{AvailabilityZones:{shape:"S2s"},IpAddressType:{}}}}},shapes:{S3:{type:"list",member:{type:"structure",members:{CertificateArn:{},IsDefault:{type:"boolean"}}}},S9:{type:"list",member:{}},Sb:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},Sl:{type:"list",member:{type:"structure",required:["Type"],members:{Type:{},TargetGroupArn:{},AuthenticateOidcConfig:{type:"structure",required:["Issuer","AuthorizationEndpoint","TokenEndpoint","UserInfoEndpoint","ClientId"],members:{Issuer:{},AuthorizationEndpoint:{},TokenEndpoint:{},UserInfoEndpoint:{},ClientId:{},ClientSecret:{},SessionCookieName:{},Scope:{},SessionTimeout:{type:"long"},AuthenticationRequestExtraParams:{type:"map",key:{},value:{}},OnUnauthenticatedRequest:{},UseExistingClientSecret:{type:"boolean"}}},AuthenticateCognitoConfig:{type:"structure",required:["UserPoolArn","UserPoolClientId","UserPoolDomain"],members:{UserPoolArn:{},UserPoolClientId:{},UserPoolDomain:{},SessionCookieName:{},Scope:{},SessionTimeout:{type:"long"},AuthenticationRequestExtraParams:{type:"map",key:{},value:{}},OnUnauthenticatedRequest:{}}},Order:{type:"integer"},RedirectConfig:{type:"structure",required:["StatusCode"],members:{Protocol:{},Port:{},Host:{},Path:{},Query:{},StatusCode:{}}},FixedResponseConfig:{type:"structure",required:["StatusCode"],members:{MessageBody:{},StatusCode:{},ContentType:{}}},ForwardConfig:{type:"structure",members:{TargetGroups:{type:"list",member:{type:"structure",members:{TargetGroupArn:{},Weight:{type:"integer"}}}},TargetGroupStickinessConfig:{type:"structure",members:{Enabled:{type:"boolean"},DurationSeconds:{type:"integer"}}}}}}}},S1y:{ +type:"list",member:{}},S21:{type:"list",member:{type:"structure",members:{ListenerArn:{},LoadBalancerArn:{},Port:{type:"integer"},Protocol:{},Certificates:{shape:"S3"},SslPolicy:{},DefaultActions:{shape:"Sl"},AlpnPolicy:{shape:"S1y"}}}},S25:{type:"list",member:{}},S27:{type:"list",member:{type:"structure",members:{SubnetId:{},AllocationId:{},PrivateIPv4Address:{},IPv6Address:{}}}},S2c:{type:"list",member:{}},S2j:{type:"list",member:{type:"structure",members:{LoadBalancerArn:{},DNSName:{},CanonicalHostedZoneId:{},CreatedTime:{type:"timestamp"},LoadBalancerName:{},Scheme:{},VpcId:{},State:{type:"structure",members:{Code:{},Reason:{}}},Type:{},AvailabilityZones:{shape:"S2s"},SecurityGroups:{shape:"S2c"},IpAddressType:{},CustomerOwnedIpv4Pool:{}}}},S2s:{type:"list",member:{type:"structure",members:{ZoneName:{},SubnetId:{},OutpostId:{},LoadBalancerAddresses:{type:"list",member:{type:"structure",members:{IpAddress:{},AllocationId:{},PrivateIPv4Address:{},IPv6Address:{}}}}}}},S30:{type:"list",member:{type:"structure",members:{Field:{},Values:{shape:"S33"},HostHeaderConfig:{type:"structure",members:{Values:{shape:"S33"}}},PathPatternConfig:{type:"structure",members:{Values:{shape:"S33"}}},HttpHeaderConfig:{type:"structure",members:{HttpHeaderName:{},Values:{shape:"S33"}}},QueryStringConfig:{type:"structure",members:{Values:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}},HttpRequestMethodConfig:{type:"structure",members:{Values:{shape:"S33"}}},SourceIpConfig:{type:"structure",members:{Values:{shape:"S33"}}}}}},S33:{type:"list",member:{}},S3g:{type:"list",member:{type:"structure",members:{RuleArn:{},Priority:{},Conditions:{shape:"S30"},Actions:{shape:"Sl"},IsDefault:{type:"boolean"}}}},S3u:{type:"structure",members:{HttpCode:{},GrpcCode:{}}},S40:{type:"list",member:{type:"structure",members:{TargetGroupArn:{},TargetGroupName:{},Protocol:{},Port:{type:"integer"},VpcId:{},HealthCheckProtocol:{},HealthCheckPort:{},HealthCheckEnabled:{type:"boolean"},HealthCheckIntervalSeconds:{type:"integer"},HealthCheckTimeoutSeconds:{type:"integer"},HealthyThresholdCount:{type:"integer"},UnhealthyThresholdCount:{type:"integer"},HealthCheckPath:{},Matcher:{shape:"S3u"},LoadBalancerArns:{shape:"S42"},TargetType:{},ProtocolVersion:{},IpAddressType:{}}}},S42:{type:"list",member:{}},S4c:{type:"list",member:{shape:"S4d"}},S4d:{type:"structure",required:["Id"],members:{Id:{},Port:{type:"integer"},AvailabilityZone:{}}},S4v:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S5m:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}}},{}],100:[function(e,t,r){t.exports={pagination:{DescribeListeners:{input_token:"Marker",output_token:"NextMarker",result_key:"Listeners"},DescribeLoadBalancers:{input_token:"Marker",output_token:"NextMarker",result_key:"LoadBalancers"},DescribeTargetGroups:{input_token:"Marker",output_token:"NextMarker",result_key:"TargetGroups"}}}},{}],101:[function(e,t,r){t.exports={version:2,waiters:{LoadBalancerExists:{delay:15,operation:"DescribeLoadBalancers",maxAttempts:40,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"LoadBalancerNotFound",state:"retry"}]},LoadBalancerAvailable:{delay:15,operation:"DescribeLoadBalancers",maxAttempts:40,acceptors:[{state:"success",matcher:"pathAll",argument:"LoadBalancers[].State.Code",expected:"active"},{state:"retry",matcher:"pathAny",argument:"LoadBalancers[].State.Code",expected:"provisioning"},{state:"retry",matcher:"error",expected:"LoadBalancerNotFound"}]},LoadBalancersDeleted:{delay:15,operation:"DescribeLoadBalancers",maxAttempts:40,acceptors:[{state:"retry",matcher:"pathAll",argument:"LoadBalancers[].State.Code",expected:"active"},{matcher:"error",expected:"LoadBalancerNotFound",state:"success"}]},TargetInService:{delay:15,maxAttempts:40,operation:"DescribeTargetHealth",acceptors:[{argument:"TargetHealthDescriptions[].TargetHealth.State",expected:"healthy",matcher:"pathAll",state:"success"},{matcher:"error",expected:"InvalidInstance",state:"retry"}]},TargetDeregistered:{delay:15,maxAttempts:40,operation:"DescribeTargetHealth",acceptors:[{matcher:"error",expected:"InvalidTarget",state:"success"},{argument:"TargetHealthDescriptions[].TargetHealth.State",expected:"unused",matcher:"pathAll",state:"success"}]}}}},{}],102:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2009-03-31",endpointPrefix:"elasticmapreduce",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon EMR",serviceFullName:"Amazon EMR",serviceId:"EMR",signatureVersion:"v4",targetPrefix:"ElasticMapReduce",uid:"elasticmapreduce-2009-03-31"},operations:{AddInstanceFleet:{input:{type:"structure",required:["ClusterId","InstanceFleet"],members:{ClusterId:{},InstanceFleet:{shape:"S3"}}},output:{type:"structure",members:{ClusterId:{},InstanceFleetId:{},ClusterArn:{}}}},AddInstanceGroups:{input:{type:"structure",required:["InstanceGroups","JobFlowId"],members:{InstanceGroups:{shape:"Sx"},JobFlowId:{}}},output:{type:"structure",members:{JobFlowId:{},InstanceGroupIds:{type:"list",member:{}},ClusterArn:{}}}},AddJobFlowSteps:{input:{type:"structure",required:["JobFlowId","Steps"],members:{JobFlowId:{},Steps:{shape:"S1i"}}},output:{type:"structure",members:{StepIds:{shape:"S1r"}}}},AddTags:{input:{type:"structure",required:["ResourceId","Tags"],members:{ResourceId:{},Tags:{shape:"S1u"}}},output:{type:"structure",members:{}}},CancelSteps:{input:{type:"structure",required:["ClusterId","StepIds"],members:{ClusterId:{},StepIds:{shape:"S1r"},StepCancellationOption:{}}},output:{type:"structure",members:{CancelStepsInfoList:{type:"list",member:{type:"structure",members:{StepId:{},Status:{},Reason:{}}}}}}},CreateSecurityConfiguration:{input:{type:"structure",required:["Name","SecurityConfiguration"],members:{Name:{},SecurityConfiguration:{}}},output:{type:"structure",required:["Name","CreationDateTime"],members:{Name:{},CreationDateTime:{type:"timestamp"}}}},CreateStudio:{input:{type:"structure",required:["Name","AuthMode","VpcId","SubnetIds","ServiceRole","WorkspaceSecurityGroupId","EngineSecurityGroupId","DefaultS3Location"],members:{Name:{},Description:{},AuthMode:{},VpcId:{},SubnetIds:{shape:"S29"},ServiceRole:{},UserRole:{},WorkspaceSecurityGroupId:{},EngineSecurityGroupId:{},DefaultS3Location:{},IdpAuthUrl:{},IdpRelayStateParameterName:{},Tags:{shape:"S1u"}}},output:{type:"structure",members:{StudioId:{},Url:{}}}},CreateStudioSessionMapping:{input:{type:"structure",required:["StudioId","IdentityType","SessionPolicyArn"],members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{},SessionPolicyArn:{}}}},DeleteSecurityConfiguration:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteStudio:{input:{type:"structure",required:["StudioId"],members:{StudioId:{}}}},DeleteStudioSessionMapping:{input:{type:"structure",required:["StudioId","IdentityType"],members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{}}}},DescribeCluster:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{Cluster:{type:"structure",members:{Id:{},Name:{},Status:{shape:"S2l"},Ec2InstanceAttributes:{type:"structure",members:{Ec2KeyName:{},Ec2SubnetId:{},RequestedEc2SubnetIds:{shape:"S2r"},Ec2AvailabilityZone:{},RequestedEc2AvailabilityZones:{shape:"S2r"},IamInstanceProfile:{},EmrManagedMasterSecurityGroup:{},EmrManagedSlaveSecurityGroup:{},ServiceAccessSecurityGroup:{},AdditionalMasterSecurityGroups:{shape:"S2s"},AdditionalSlaveSecurityGroups:{shape:"S2s"}}},InstanceCollectionType:{},LogUri:{},LogEncryptionKmsKeyId:{},RequestedAmiVersion:{},RunningAmiVersion:{},ReleaseLabel:{},AutoTerminate:{type:"boolean"},TerminationProtected:{type:"boolean"},VisibleToAllUsers:{type:"boolean"},Applications:{shape:"S2v"},Tags:{shape:"S1u"},ServiceRole:{},NormalizedInstanceHours:{type:"integer"},MasterPublicDnsName:{},Configurations:{shape:"Sh"},SecurityConfiguration:{},AutoScalingRole:{},ScaleDownBehavior:{},CustomAmiId:{},EbsRootVolumeSize:{type:"integer"},RepoUpgradeOnBoot:{},KerberosAttributes:{shape:"S2z"},ClusterArn:{},OutpostArn:{},StepConcurrencyLevel:{type:"integer"},PlacementGroups:{shape:"S31"}}}}}},DescribeJobFlows:{input:{type:"structure",members:{CreatedAfter:{type:"timestamp"},CreatedBefore:{type:"timestamp"},JobFlowIds:{shape:"S1p"},JobFlowStates:{type:"list",member:{}}}},output:{type:"structure",members:{JobFlows:{type:"list",member:{type:"structure",required:["JobFlowId","Name","ExecutionStatusDetail","Instances"],members:{JobFlowId:{},Name:{},LogUri:{},LogEncryptionKmsKeyId:{},AmiVersion:{},ExecutionStatusDetail:{type:"structure",required:["State","CreationDateTime"],members:{State:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"},LastStateChangeReason:{}}},Instances:{type:"structure",required:["MasterInstanceType","SlaveInstanceType","InstanceCount"],members:{MasterInstanceType:{},MasterPublicDnsName:{},MasterInstanceId:{},SlaveInstanceType:{},InstanceCount:{type:"integer"},InstanceGroups:{type:"list",member:{type:"structure",required:["Market","InstanceRole","InstanceType","InstanceRequestCount","InstanceRunningCount","State","CreationDateTime"],members:{InstanceGroupId:{},Name:{},Market:{},InstanceRole:{},BidPrice:{},InstanceType:{},InstanceRequestCount:{type:"integer"},InstanceRunningCount:{type:"integer"},State:{},LastStateChangeReason:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"},CustomAmiId:{}}}},NormalizedInstanceHours:{type:"integer"},Ec2KeyName:{},Ec2SubnetId:{},Placement:{shape:"S3f"},KeepJobFlowAliveWhenNoSteps:{type:"boolean"},TerminationProtected:{type:"boolean"},HadoopVersion:{}}},Steps:{type:"list",member:{type:"structure",required:["StepConfig","ExecutionStatusDetail"],members:{StepConfig:{shape:"S1j"},ExecutionStatusDetail:{type:"structure",required:["State","CreationDateTime"],members:{State:{},CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"},LastStateChangeReason:{}}}}}},BootstrapActions:{type:"list",member:{type:"structure",members:{BootstrapActionConfig:{shape:"S3m"}}}},SupportedProducts:{shape:"S3o"},VisibleToAllUsers:{type:"boolean"},JobFlowRole:{},ServiceRole:{},AutoScalingRole:{},ScaleDownBehavior:{}}}}}},deprecated:!0},DescribeNotebookExecution:{input:{type:"structure",required:["NotebookExecutionId"],members:{NotebookExecutionId:{}}},output:{type:"structure",members:{NotebookExecution:{type:"structure",members:{NotebookExecutionId:{},EditorId:{},ExecutionEngine:{shape:"S3s"},NotebookExecutionName:{},NotebookParams:{},Status:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Arn:{},OutputNotebookURI:{},LastStateChangeReason:{},NotebookInstanceSecurityGroupId:{},Tags:{shape:"S1u"}}}}}},DescribeReleaseLabel:{input:{type:"structure",members:{ReleaseLabel:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ReleaseLabel:{},Applications:{type:"list",member:{type:"structure",members:{Name:{},Version:{}}}},NextToken:{}}}},DescribeSecurityConfiguration:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},SecurityConfiguration:{},CreationDateTime:{type:"timestamp"}}}},DescribeStep:{input:{type:"structure",required:["ClusterId","StepId"],members:{ClusterId:{},StepId:{}}},output:{type:"structure",members:{Step:{type:"structure",members:{Id:{},Name:{},Config:{shape:"S45"},ActionOnFailure:{},Status:{shape:"S46"}}}}}},DescribeStudio:{input:{type:"structure",required:["StudioId"],members:{StudioId:{}}},output:{type:"structure",members:{Studio:{type:"structure",members:{StudioId:{},StudioArn:{},Name:{},Description:{},AuthMode:{},VpcId:{},SubnetIds:{shape:"S29"},ServiceRole:{},UserRole:{},WorkspaceSecurityGroupId:{},EngineSecurityGroupId:{},Url:{},CreationTime:{type:"timestamp"},DefaultS3Location:{},IdpAuthUrl:{},IdpRelayStateParameterName:{},Tags:{shape:"S1u"}}}}}},GetAutoTerminationPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{AutoTerminationPolicy:{shape:"S4h"}}}},GetBlockPublicAccessConfiguration:{input:{type:"structure",members:{}},output:{type:"structure",required:["BlockPublicAccessConfiguration","BlockPublicAccessConfigurationMetadata"],members:{BlockPublicAccessConfiguration:{shape:"S4l"},BlockPublicAccessConfigurationMetadata:{type:"structure",required:["CreationDateTime","CreatedByArn"],members:{CreationDateTime:{type:"timestamp"},CreatedByArn:{}}}}}},GetManagedScalingPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{ManagedScalingPolicy:{shape:"S4s"}}}},GetStudioSessionMapping:{input:{type:"structure",required:["StudioId","IdentityType"],members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{}}},output:{type:"structure",members:{SessionMapping:{type:"structure",members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{},SessionPolicyArn:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}}}},ListBootstrapActions:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},Marker:{}}},output:{type:"structure",members:{BootstrapActions:{type:"list",member:{type:"structure",members:{Name:{},ScriptPath:{},Args:{shape:"S2s"}}}},Marker:{}}}},ListClusters:{input:{type:"structure",members:{CreatedAfter:{type:"timestamp"},CreatedBefore:{type:"timestamp"},ClusterStates:{type:"list",member:{}},Marker:{}}},output:{type:"structure",members:{Clusters:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Status:{shape:"S2l"},NormalizedInstanceHours:{type:"integer"},ClusterArn:{},OutpostArn:{}}}},Marker:{}}}},ListInstanceFleets:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},Marker:{}}},output:{type:"structure",members:{InstanceFleets:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},InstanceFleetType:{},TargetOnDemandCapacity:{type:"integer"},TargetSpotCapacity:{type:"integer"},ProvisionedOnDemandCapacity:{type:"integer"},ProvisionedSpotCapacity:{type:"integer"},InstanceTypeSpecifications:{type:"list",member:{type:"structure",members:{InstanceType:{},WeightedCapacity:{type:"integer"},BidPrice:{},BidPriceAsPercentageOfOnDemandPrice:{type:"double"},Configurations:{shape:"Sh"},EbsBlockDevices:{shape:"S5j"},EbsOptimized:{type:"boolean"},CustomAmiId:{}}}},LaunchSpecifications:{shape:"Sk"}}}},Marker:{}}}},ListInstanceGroups:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},Marker:{}}},output:{type:"structure",members:{InstanceGroups:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Market:{},InstanceGroupType:{},BidPrice:{},InstanceType:{},RequestedInstanceCount:{type:"integer"},RunningInstanceCount:{type:"integer"},Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},Configurations:{shape:"Sh"},ConfigurationsVersion:{type:"long"},LastSuccessfullyAppliedConfigurations:{shape:"Sh"},LastSuccessfullyAppliedConfigurationsVersion:{type:"long"},EbsBlockDevices:{shape:"S5j"},EbsOptimized:{type:"boolean"},ShrinkPolicy:{shape:"S5v"},AutoScalingPolicy:{shape:"S5z"},CustomAmiId:{}}}},Marker:{}}}},ListInstances:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},InstanceGroupId:{},InstanceGroupTypes:{type:"list",member:{}},InstanceFleetId:{},InstanceFleetType:{},InstanceStates:{type:"list",member:{}},Marker:{}}},output:{type:"structure",members:{Instances:{type:"list",member:{type:"structure",members:{Id:{},Ec2InstanceId:{},PublicDnsName:{},PublicIpAddress:{},PrivateDnsName:{},PrivateIpAddress:{},Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},InstanceGroupId:{},InstanceFleetId:{},Market:{},InstanceType:{},EbsVolumes:{type:"list",member:{type:"structure",members:{Device:{},VolumeId:{}}}}}}},Marker:{}}}},ListNotebookExecutions:{input:{type:"structure",members:{EditorId:{},Status:{},From:{type:"timestamp"},To:{type:"timestamp"},Marker:{}}},output:{type:"structure",members:{NotebookExecutions:{type:"list",member:{type:"structure",members:{NotebookExecutionId:{},EditorId:{},NotebookExecutionName:{},Status:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}},Marker:{}}}},ListReleaseLabels:{input:{type:"structure",members:{Filters:{type:"structure",members:{Prefix:{},Application:{}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ReleaseLabels:{shape:"S2s"},NextToken:{}}}},ListSecurityConfigurations:{input:{type:"structure",members:{Marker:{}}},output:{type:"structure",members:{SecurityConfigurations:{type:"list",member:{type:"structure",members:{Name:{},CreationDateTime:{type:"timestamp"}}}},Marker:{}}}},ListSteps:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},StepStates:{type:"list",member:{}},StepIds:{shape:"S1p"},Marker:{}}},output:{type:"structure",members:{Steps:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Config:{shape:"S45"},ActionOnFailure:{},Status:{shape:"S46"}}}},Marker:{}}}},ListStudioSessionMappings:{input:{type:"structure",members:{StudioId:{},IdentityType:{},Marker:{}}},output:{type:"structure",members:{SessionMappings:{type:"list",member:{type:"structure",members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{},SessionPolicyArn:{},CreationTime:{type:"timestamp"}}}},Marker:{}}}},ListStudios:{input:{type:"structure",members:{Marker:{}}},output:{type:"structure",members:{Studios:{type:"list",member:{type:"structure",members:{StudioId:{},Name:{},VpcId:{},Description:{},Url:{},AuthMode:{},CreationTime:{type:"timestamp"}}}},Marker:{}}}},ModifyCluster:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},StepConcurrencyLevel:{type:"integer"}}},output:{type:"structure",members:{StepConcurrencyLevel:{type:"integer"}}}},ModifyInstanceFleet:{input:{type:"structure",required:["ClusterId","InstanceFleet"],members:{ClusterId:{},InstanceFleet:{type:"structure",required:["InstanceFleetId"],members:{InstanceFleetId:{},TargetOnDemandCapacity:{type:"integer"},TargetSpotCapacity:{type:"integer"}}}}}},ModifyInstanceGroups:{input:{type:"structure",members:{ClusterId:{},InstanceGroups:{type:"list",member:{type:"structure",required:["InstanceGroupId"],members:{InstanceGroupId:{},InstanceCount:{type:"integer"},EC2InstanceIdsToTerminate:{type:"list",member:{}},ShrinkPolicy:{shape:"S5v"},Configurations:{shape:"Sh"}}}}}}},PutAutoScalingPolicy:{input:{type:"structure",required:["ClusterId","InstanceGroupId","AutoScalingPolicy"],members:{ClusterId:{},InstanceGroupId:{},AutoScalingPolicy:{shape:"S11"}}},output:{type:"structure",members:{ClusterId:{},InstanceGroupId:{},AutoScalingPolicy:{shape:"S5z"},ClusterArn:{}}}},PutAutoTerminationPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{},AutoTerminationPolicy:{shape:"S4h"}}},output:{type:"structure",members:{}}},PutBlockPublicAccessConfiguration:{input:{type:"structure",required:["BlockPublicAccessConfiguration"],members:{BlockPublicAccessConfiguration:{shape:"S4l"}}},output:{type:"structure",members:{}}},PutManagedScalingPolicy:{input:{type:"structure",required:["ClusterId","ManagedScalingPolicy"],members:{ClusterId:{},ManagedScalingPolicy:{shape:"S4s"}}},output:{type:"structure",members:{}}},RemoveAutoScalingPolicy:{input:{type:"structure",required:["ClusterId","InstanceGroupId"],members:{ClusterId:{},InstanceGroupId:{}}},output:{type:"structure",members:{}}},RemoveAutoTerminationPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{}}},RemoveManagedScalingPolicy:{input:{type:"structure",required:["ClusterId"],members:{ClusterId:{}}},output:{type:"structure",members:{}}},RemoveTags:{input:{type:"structure",required:["ResourceId","TagKeys"],members:{ResourceId:{},TagKeys:{shape:"S2s"}}},output:{type:"structure",members:{}}},RunJobFlow:{input:{type:"structure",required:["Name","Instances"],members:{Name:{},LogUri:{},LogEncryptionKmsKeyId:{},AdditionalInfo:{},AmiVersion:{},ReleaseLabel:{},Instances:{type:"structure",members:{MasterInstanceType:{},SlaveInstanceType:{},InstanceCount:{type:"integer"},InstanceGroups:{shape:"Sx"},InstanceFleets:{type:"list",member:{shape:"S3"}},Ec2KeyName:{},Placement:{shape:"S3f"},KeepJobFlowAliveWhenNoSteps:{type:"boolean"},TerminationProtected:{type:"boolean"},HadoopVersion:{},Ec2SubnetId:{},Ec2SubnetIds:{shape:"S2r"},EmrManagedMasterSecurityGroup:{},EmrManagedSlaveSecurityGroup:{},ServiceAccessSecurityGroup:{},AdditionalMasterSecurityGroups:{shape:"S7w"},AdditionalSlaveSecurityGroups:{shape:"S7w"}}},Steps:{shape:"S1i"},BootstrapActions:{type:"list",member:{shape:"S3m"}},SupportedProducts:{shape:"S3o"},NewSupportedProducts:{type:"list",member:{type:"structure",members:{Name:{},Args:{shape:"S1p"}}}},Applications:{shape:"S2v"},Configurations:{shape:"Sh"},VisibleToAllUsers:{type:"boolean"},JobFlowRole:{},ServiceRole:{},Tags:{shape:"S1u"},SecurityConfiguration:{},AutoScalingRole:{},ScaleDownBehavior:{},CustomAmiId:{},EbsRootVolumeSize:{type:"integer"},RepoUpgradeOnBoot:{},KerberosAttributes:{shape:"S2z"},StepConcurrencyLevel:{type:"integer"},ManagedScalingPolicy:{shape:"S4s"},PlacementGroupConfigs:{shape:"S31"},AutoTerminationPolicy:{shape:"S4h"}}},output:{type:"structure",members:{JobFlowId:{},ClusterArn:{}}}},SetTerminationProtection:{input:{type:"structure",required:["JobFlowIds","TerminationProtected"],members:{JobFlowIds:{shape:"S1p"},TerminationProtected:{type:"boolean"}}}},SetVisibleToAllUsers:{input:{type:"structure",required:["JobFlowIds","VisibleToAllUsers"],members:{JobFlowIds:{shape:"S1p"},VisibleToAllUsers:{type:"boolean"}}}},StartNotebookExecution:{input:{type:"structure",required:["EditorId","RelativePath","ExecutionEngine","ServiceRole"],members:{EditorId:{},RelativePath:{},NotebookExecutionName:{},NotebookParams:{},ExecutionEngine:{shape:"S3s"},ServiceRole:{},NotebookInstanceSecurityGroupId:{},Tags:{shape:"S1u"}}},output:{type:"structure",members:{NotebookExecutionId:{}}}},StopNotebookExecution:{input:{type:"structure",required:["NotebookExecutionId"],members:{NotebookExecutionId:{}}}},TerminateJobFlows:{input:{type:"structure",required:["JobFlowIds"],members:{JobFlowIds:{shape:"S1p"}}}},UpdateStudio:{input:{type:"structure",required:["StudioId"],members:{StudioId:{},Name:{},Description:{},SubnetIds:{shape:"S29"},DefaultS3Location:{}}}},UpdateStudioSessionMapping:{input:{type:"structure",required:["StudioId","IdentityType","SessionPolicyArn"],members:{StudioId:{},IdentityId:{},IdentityName:{},IdentityType:{},SessionPolicyArn:{}}}}},shapes:{S3:{type:"structure",required:["InstanceFleetType"],members:{Name:{},InstanceFleetType:{},TargetOnDemandCapacity:{type:"integer"},TargetSpotCapacity:{type:"integer"},InstanceTypeConfigs:{type:"list",member:{type:"structure",required:["InstanceType"],members:{InstanceType:{},WeightedCapacity:{type:"integer"},BidPrice:{},BidPriceAsPercentageOfOnDemandPrice:{type:"double"},EbsConfiguration:{shape:"Sa"},Configurations:{shape:"Sh"},CustomAmiId:{}}}},LaunchSpecifications:{shape:"Sk"}}},Sa:{type:"structure",members:{EbsBlockDeviceConfigs:{type:"list",member:{type:"structure",required:["VolumeSpecification"],members:{VolumeSpecification:{shape:"Sd"},VolumesPerInstance:{type:"integer"}}}},EbsOptimized:{type:"boolean"}}},Sd:{type:"structure",required:["VolumeType","SizeInGB"],members:{VolumeType:{},Iops:{type:"integer"},SizeInGB:{type:"integer"}}},Sh:{type:"list",member:{type:"structure",members:{Classification:{},Configurations:{shape:"Sh"},Properties:{shape:"Sj"}}}},Sj:{type:"map",key:{},value:{}},Sk:{type:"structure",members:{SpotSpecification:{type:"structure",required:["TimeoutDurationMinutes","TimeoutAction"],members:{TimeoutDurationMinutes:{type:"integer"},TimeoutAction:{},BlockDurationMinutes:{type:"integer"},AllocationStrategy:{}}},OnDemandSpecification:{type:"structure",required:["AllocationStrategy"],members:{AllocationStrategy:{},CapacityReservationOptions:{type:"structure",members:{UsageStrategy:{},CapacityReservationPreference:{},CapacityReservationResourceGroupArn:{}}}}}}},Sx:{type:"list",member:{type:"structure",required:["InstanceRole","InstanceType","InstanceCount"],members:{Name:{},Market:{},InstanceRole:{},BidPrice:{},InstanceType:{},InstanceCount:{type:"integer"},Configurations:{shape:"Sh"},EbsConfiguration:{shape:"Sa"},AutoScalingPolicy:{shape:"S11"},CustomAmiId:{}}}},S11:{type:"structure",required:["Constraints","Rules"],members:{Constraints:{shape:"S12"},Rules:{shape:"S13"}}},S12:{type:"structure",required:["MinCapacity","MaxCapacity"],members:{MinCapacity:{type:"integer"},MaxCapacity:{type:"integer"}}},S13:{type:"list",member:{type:"structure",required:["Name","Action","Trigger"],members:{Name:{},Description:{},Action:{type:"structure",required:["SimpleScalingPolicyConfiguration"],members:{Market:{},SimpleScalingPolicyConfiguration:{type:"structure",required:["ScalingAdjustment"],members:{AdjustmentType:{},ScalingAdjustment:{type:"integer"},CoolDown:{type:"integer"}}}}},Trigger:{type:"structure",required:["CloudWatchAlarmDefinition"],members:{CloudWatchAlarmDefinition:{type:"structure",required:["ComparisonOperator","MetricName","Period","Threshold"],members:{ComparisonOperator:{},EvaluationPeriods:{type:"integer"},MetricName:{},Namespace:{},Period:{type:"integer"},Statistic:{},Threshold:{type:"double"},Unit:{},Dimensions:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}}}}}}},S1i:{type:"list",member:{shape:"S1j"}},S1j:{type:"structure",required:["Name","HadoopJarStep"],members:{Name:{},ActionOnFailure:{},HadoopJarStep:{type:"structure",required:["Jar"],members:{Properties:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},Jar:{},MainClass:{},Args:{shape:"S1p"}}}}},S1p:{type:"list",member:{}},S1r:{type:"list",member:{}},S1u:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S29:{type:"list",member:{}},S2l:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},ReadyDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},S2r:{type:"list",member:{}},S2s:{type:"list",member:{}},S2v:{type:"list",member:{type:"structure",members:{Name:{},Version:{},Args:{shape:"S2s"},AdditionalInfo:{shape:"Sj"}}}},S2z:{type:"structure",required:["Realm","KdcAdminPassword"],members:{Realm:{},KdcAdminPassword:{},CrossRealmTrustPrincipalPassword:{},ADDomainJoinUser:{},ADDomainJoinPassword:{}}},S31:{type:"list",member:{type:"structure",required:["InstanceRole"],members:{InstanceRole:{},PlacementStrategy:{}}}},S3f:{type:"structure",members:{AvailabilityZone:{},AvailabilityZones:{shape:"S2r"}}},S3m:{type:"structure",required:["Name","ScriptBootstrapAction"],members:{Name:{},ScriptBootstrapAction:{type:"structure",required:["Path"],members:{Path:{},Args:{shape:"S1p"}}}}},S3o:{type:"list",member:{}},S3s:{type:"structure",required:["Id"],members:{Id:{},Type:{},MasterInstanceSecurityGroupId:{}}},S45:{type:"structure",members:{Jar:{},Properties:{shape:"Sj"},MainClass:{},Args:{shape:"S2s"}}},S46:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}},FailureDetails:{type:"structure",members:{Reason:{},Message:{},LogFile:{}}},Timeline:{type:"structure",members:{CreationDateTime:{type:"timestamp"},StartDateTime:{type:"timestamp"},EndDateTime:{type:"timestamp"}}}}},S4h:{type:"structure",members:{IdleTimeout:{type:"long"}}},S4l:{type:"structure",required:["BlockPublicSecurityGroupRules"],members:{BlockPublicSecurityGroupRules:{type:"boolean"},PermittedPublicSecurityGroupRuleRanges:{type:"list",member:{type:"structure",required:["MinRange"],members:{MinRange:{type:"integer"},MaxRange:{type:"integer"}}}}}},S4s:{type:"structure",members:{ComputeLimits:{type:"structure",required:["UnitType","MinimumCapacityUnits","MaximumCapacityUnits"],members:{UnitType:{},MinimumCapacityUnits:{type:"integer"},MaximumCapacityUnits:{type:"integer"},MaximumOnDemandCapacityUnits:{type:"integer"},MaximumCoreCapacityUnits:{type:"integer"}}}}},S5j:{type:"list",member:{type:"structure",members:{VolumeSpecification:{shape:"Sd"},Device:{}}}},S5v:{type:"structure",members:{DecommissionTimeout:{type:"integer"},InstanceResizePolicy:{type:"structure",members:{InstancesToTerminate:{shape:"S5x"},InstancesToProtect:{shape:"S5x"},InstanceTerminationTimeout:{type:"integer"}}}}},S5x:{type:"list",member:{}},S5z:{type:"structure",members:{Status:{type:"structure",members:{State:{},StateChangeReason:{type:"structure",members:{Code:{},Message:{}}}}},Constraints:{shape:"S12"},Rules:{shape:"S13"}}},S7w:{type:"list",member:{}}}}},{}],103:[function(e,t,r){t.exports={pagination:{DescribeJobFlows:{result_key:"JobFlows"},ListBootstrapActions:{input_token:"Marker",output_token:"Marker",result_key:"BootstrapActions"},ListClusters:{input_token:"Marker",output_token:"Marker",result_key:"Clusters"},ListInstanceFleets:{input_token:"Marker",output_token:"Marker",result_key:"InstanceFleets"},ListInstanceGroups:{input_token:"Marker",output_token:"Marker",result_key:"InstanceGroups"},ListInstances:{input_token:"Marker",output_token:"Marker",result_key:"Instances"},ListNotebookExecutions:{input_token:"Marker",output_token:"Marker",result_key:"NotebookExecutions"},ListReleaseLabels:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListSecurityConfigurations:{input_token:"Marker",output_token:"Marker",result_key:"SecurityConfigurations"},ListSteps:{input_token:"Marker",output_token:"Marker",result_key:"Steps"},ListStudioSessionMappings:{input_token:"Marker",output_token:"Marker",result_key:"SessionMappings"},ListStudios:{input_token:"Marker",output_token:"Marker",result_key:"Studios"}}}},{}],104:[function(e,t,r){t.exports={version:2,waiters:{ClusterRunning:{delay:30,operation:"DescribeCluster",maxAttempts:60,acceptors:[{state:"success",matcher:"path",argument:"Cluster.Status.State",expected:"RUNNING"},{state:"success",matcher:"path",argument:"Cluster.Status.State",expected:"WAITING"},{state:"failure",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATING"},{state:"failure",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATED"},{state:"failure",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATED_WITH_ERRORS"}]},StepComplete:{delay:30,operation:"DescribeStep",maxAttempts:60,acceptors:[{state:"success",matcher:"path",argument:"Step.Status.State",expected:"COMPLETED"},{state:"failure",matcher:"path",argument:"Step.Status.State",expected:"FAILED"},{state:"failure",matcher:"path",argument:"Step.Status.State",expected:"CANCELLED"}]},ClusterTerminated:{delay:30,operation:"DescribeCluster",maxAttempts:60,acceptors:[{state:"success",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATED"},{state:"failure",matcher:"path",argument:"Cluster.Status.State",expected:"TERMINATED_WITH_ERRORS"}]}}}},{}],105:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-09-25",endpointPrefix:"elastictranscoder",protocol:"rest-json",serviceFullName:"Amazon Elastic Transcoder",serviceId:"Elastic Transcoder",signatureVersion:"v4",uid:"elastictranscoder-2012-09-25"},operations:{CancelJob:{http:{method:"DELETE", +requestUri:"/2012-09-25/jobs/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},CreateJob:{http:{requestUri:"/2012-09-25/jobs",responseCode:201},input:{type:"structure",required:["PipelineId"],members:{PipelineId:{},Input:{shape:"S5"},Inputs:{shape:"St"},Output:{shape:"Su"},Outputs:{type:"list",member:{shape:"Su"}},OutputKeyPrefix:{},Playlists:{type:"list",member:{type:"structure",members:{Name:{},Format:{},OutputKeys:{shape:"S1l"},HlsContentProtection:{shape:"S1m"},PlayReadyDrm:{shape:"S1q"}}}},UserMetadata:{shape:"S1v"}}},output:{type:"structure",members:{Job:{shape:"S1y"}}}},CreatePipeline:{http:{requestUri:"/2012-09-25/pipelines",responseCode:201},input:{type:"structure",required:["Name","InputBucket","Role"],members:{Name:{},InputBucket:{},OutputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S2a"},ContentConfig:{shape:"S2c"},ThumbnailConfig:{shape:"S2c"}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"},Warnings:{shape:"S2n"}}}},CreatePreset:{http:{requestUri:"/2012-09-25/presets",responseCode:201},input:{type:"structure",required:["Name","Container"],members:{Name:{},Description:{},Container:{},Video:{shape:"S2r"},Audio:{shape:"S37"},Thumbnails:{shape:"S3i"}}},output:{type:"structure",members:{Preset:{shape:"S3m"},Warning:{}}}},DeletePipeline:{http:{method:"DELETE",requestUri:"/2012-09-25/pipelines/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeletePreset:{http:{method:"DELETE",requestUri:"/2012-09-25/presets/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},ListJobsByPipeline:{http:{method:"GET",requestUri:"/2012-09-25/jobsByPipeline/{PipelineId}"},input:{type:"structure",required:["PipelineId"],members:{PipelineId:{location:"uri",locationName:"PipelineId"},Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Jobs:{shape:"S3v"},NextPageToken:{}}}},ListJobsByStatus:{http:{method:"GET",requestUri:"/2012-09-25/jobsByStatus/{Status}"},input:{type:"structure",required:["Status"],members:{Status:{location:"uri",locationName:"Status"},Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Jobs:{shape:"S3v"},NextPageToken:{}}}},ListPipelines:{http:{method:"GET",requestUri:"/2012-09-25/pipelines"},input:{type:"structure",members:{Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Pipelines:{type:"list",member:{shape:"S2l"}},NextPageToken:{}}}},ListPresets:{http:{method:"GET",requestUri:"/2012-09-25/presets"},input:{type:"structure",members:{Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Presets:{type:"list",member:{shape:"S3m"}},NextPageToken:{}}}},ReadJob:{http:{method:"GET",requestUri:"/2012-09-25/jobs/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Job:{shape:"S1y"}}}},ReadPipeline:{http:{method:"GET",requestUri:"/2012-09-25/pipelines/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"},Warnings:{shape:"S2n"}}}},ReadPreset:{http:{method:"GET",requestUri:"/2012-09-25/presets/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Preset:{shape:"S3m"}}}},TestRole:{http:{requestUri:"/2012-09-25/roleTests",responseCode:200},input:{type:"structure",required:["Role","InputBucket","OutputBucket","Topics"],members:{Role:{},InputBucket:{},OutputBucket:{},Topics:{type:"list",member:{}}},deprecated:!0},output:{type:"structure",members:{Success:{},Messages:{type:"list",member:{}}},deprecated:!0},deprecated:!0},UpdatePipeline:{http:{method:"PUT",requestUri:"/2012-09-25/pipelines/{Id}",responseCode:200},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},Name:{},InputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S2a"},ContentConfig:{shape:"S2c"},ThumbnailConfig:{shape:"S2c"}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"},Warnings:{shape:"S2n"}}}},UpdatePipelineNotifications:{http:{requestUri:"/2012-09-25/pipelines/{Id}/notifications"},input:{type:"structure",required:["Id","Notifications"],members:{Id:{location:"uri",locationName:"Id"},Notifications:{shape:"S2a"}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"}}}},UpdatePipelineStatus:{http:{requestUri:"/2012-09-25/pipelines/{Id}/status"},input:{type:"structure",required:["Id","Status"],members:{Id:{location:"uri",locationName:"Id"},Status:{}}},output:{type:"structure",members:{Pipeline:{shape:"S2l"}}}}},shapes:{S5:{type:"structure",members:{Key:{},FrameRate:{},Resolution:{},AspectRatio:{},Interlaced:{},Container:{},Encryption:{shape:"Sc"},TimeSpan:{shape:"Sg"},InputCaptions:{type:"structure",members:{MergePolicy:{},CaptionSources:{shape:"Sk"}}},DetectedProperties:{type:"structure",members:{Width:{type:"integer"},Height:{type:"integer"},FrameRate:{},FileSize:{type:"long"},DurationMillis:{type:"long"}}}}},Sc:{type:"structure",members:{Mode:{},Key:{},KeyMd5:{},InitializationVector:{}}},Sg:{type:"structure",members:{StartTime:{},Duration:{}}},Sk:{type:"list",member:{type:"structure",members:{Key:{},Language:{},TimeOffset:{},Label:{},Encryption:{shape:"Sc"}}}},St:{type:"list",member:{shape:"S5"}},Su:{type:"structure",members:{Key:{},ThumbnailPattern:{},ThumbnailEncryption:{shape:"Sc"},Rotate:{},PresetId:{},SegmentDuration:{},Watermarks:{shape:"Sx"},AlbumArt:{shape:"S11"},Composition:{shape:"S19",deprecated:!0},Captions:{shape:"S1b"},Encryption:{shape:"Sc"}}},Sx:{type:"list",member:{type:"structure",members:{PresetWatermarkId:{},InputKey:{},Encryption:{shape:"Sc"}}}},S11:{type:"structure",members:{MergePolicy:{},Artwork:{type:"list",member:{type:"structure",members:{InputKey:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},PaddingPolicy:{},AlbumArtFormat:{},Encryption:{shape:"Sc"}}}}}},S19:{type:"list",member:{type:"structure",members:{TimeSpan:{shape:"Sg"}},deprecated:!0},deprecated:!0},S1b:{type:"structure",members:{MergePolicy:{deprecated:!0},CaptionSources:{shape:"Sk",deprecated:!0},CaptionFormats:{type:"list",member:{type:"structure",members:{Format:{},Pattern:{},Encryption:{shape:"Sc"}}}}}},S1l:{type:"list",member:{}},S1m:{type:"structure",members:{Method:{},Key:{},KeyMd5:{},InitializationVector:{},LicenseAcquisitionUrl:{},KeyStoragePolicy:{}}},S1q:{type:"structure",members:{Format:{},Key:{},KeyMd5:{},KeyId:{},InitializationVector:{},LicenseAcquisitionUrl:{}}},S1v:{type:"map",key:{},value:{}},S1y:{type:"structure",members:{Id:{},Arn:{},PipelineId:{},Input:{shape:"S5"},Inputs:{shape:"St"},Output:{shape:"S1z"},Outputs:{type:"list",member:{shape:"S1z"}},OutputKeyPrefix:{},Playlists:{type:"list",member:{type:"structure",members:{Name:{},Format:{},OutputKeys:{shape:"S1l"},HlsContentProtection:{shape:"S1m"},PlayReadyDrm:{shape:"S1q"},Status:{},StatusDetail:{}}}},Status:{},UserMetadata:{shape:"S1v"},Timing:{type:"structure",members:{SubmitTimeMillis:{type:"long"},StartTimeMillis:{type:"long"},FinishTimeMillis:{type:"long"}}}}},S1z:{type:"structure",members:{Id:{},Key:{},ThumbnailPattern:{},ThumbnailEncryption:{shape:"Sc"},Rotate:{},PresetId:{},SegmentDuration:{},Status:{},StatusDetail:{},Duration:{type:"long"},Width:{type:"integer"},Height:{type:"integer"},FrameRate:{},FileSize:{type:"long"},DurationMillis:{type:"long"},Watermarks:{shape:"Sx"},AlbumArt:{shape:"S11"},Composition:{shape:"S19",deprecated:!0},Captions:{shape:"S1b"},Encryption:{shape:"Sc"},AppliedColorSpaceConversion:{}}},S2a:{type:"structure",members:{Progressing:{},Completed:{},Warning:{},Error:{}}},S2c:{type:"structure",members:{Bucket:{},StorageClass:{},Permissions:{type:"list",member:{type:"structure",members:{GranteeType:{},Grantee:{},Access:{type:"list",member:{}}}}}}},S2l:{type:"structure",members:{Id:{},Arn:{},Name:{},Status:{},InputBucket:{},OutputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S2a"},ContentConfig:{shape:"S2c"},ThumbnailConfig:{shape:"S2c"}}},S2n:{type:"list",member:{type:"structure",members:{Code:{},Message:{}}}},S2r:{type:"structure",members:{Codec:{},CodecOptions:{type:"map",key:{},value:{}},KeyframesMaxDist:{},FixedGOP:{},BitRate:{},FrameRate:{},MaxFrameRate:{},Resolution:{},AspectRatio:{},MaxWidth:{},MaxHeight:{},DisplayAspectRatio:{},SizingPolicy:{},PaddingPolicy:{},Watermarks:{type:"list",member:{type:"structure",members:{Id:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},HorizontalAlign:{},HorizontalOffset:{},VerticalAlign:{},VerticalOffset:{},Opacity:{},Target:{}}}}}},S37:{type:"structure",members:{Codec:{},SampleRate:{},BitRate:{},Channels:{},AudioPackingMode:{},CodecOptions:{type:"structure",members:{Profile:{},BitDepth:{},BitOrder:{},Signed:{}}}}},S3i:{type:"structure",members:{Format:{},Interval:{},Resolution:{},AspectRatio:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},PaddingPolicy:{}}},S3m:{type:"structure",members:{Id:{},Arn:{},Name:{},Description:{},Container:{},Audio:{shape:"S37"},Video:{shape:"S2r"},Thumbnails:{shape:"S3i"},Type:{}}},S3v:{type:"list",member:{shape:"S1y"}}}}},{}],106:[function(e,t,r){t.exports={pagination:{ListJobsByPipeline:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Jobs"},ListJobsByStatus:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Jobs"},ListPipelines:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Pipelines"},ListPresets:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Presets"}}}},{}],107:[function(e,t,r){t.exports={version:2,waiters:{JobComplete:{delay:30,operation:"ReadJob",maxAttempts:120,acceptors:[{expected:"Complete",matcher:"path",state:"success",argument:"Job.Status"},{expected:"Canceled",matcher:"path",state:"failure",argument:"Job.Status"},{expected:"Error",matcher:"path",state:"failure",argument:"Job.Status"}]}}}},{}],108:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-12-01",endpointPrefix:"email",protocol:"query",serviceAbbreviation:"Amazon SES",serviceFullName:"Amazon Simple Email Service",serviceId:"SES",signatureVersion:"v4",signingName:"ses",uid:"email-2010-12-01",xmlNamespace:"http://ses.amazonaws.com/doc/2010-12-01/"},operations:{CloneReceiptRuleSet:{input:{type:"structure",required:["RuleSetName","OriginalRuleSetName"],members:{RuleSetName:{},OriginalRuleSetName:{}}},output:{resultWrapper:"CloneReceiptRuleSetResult",type:"structure",members:{}}},CreateConfigurationSet:{input:{type:"structure",required:["ConfigurationSet"],members:{ConfigurationSet:{shape:"S5"}}},output:{resultWrapper:"CreateConfigurationSetResult",type:"structure",members:{}}},CreateConfigurationSetEventDestination:{input:{type:"structure",required:["ConfigurationSetName","EventDestination"],members:{ConfigurationSetName:{},EventDestination:{shape:"S9"}}},output:{resultWrapper:"CreateConfigurationSetEventDestinationResult",type:"structure",members:{}}},CreateConfigurationSetTrackingOptions:{input:{type:"structure",required:["ConfigurationSetName","TrackingOptions"],members:{ConfigurationSetName:{},TrackingOptions:{shape:"Sp"}}},output:{resultWrapper:"CreateConfigurationSetTrackingOptionsResult",type:"structure",members:{}}},CreateCustomVerificationEmailTemplate:{input:{type:"structure",required:["TemplateName","FromEmailAddress","TemplateSubject","TemplateContent","SuccessRedirectionURL","FailureRedirectionURL"],members:{TemplateName:{},FromEmailAddress:{},TemplateSubject:{},TemplateContent:{},SuccessRedirectionURL:{},FailureRedirectionURL:{}}}},CreateReceiptFilter:{input:{type:"structure",required:["Filter"],members:{Filter:{shape:"S10"}}},output:{resultWrapper:"CreateReceiptFilterResult",type:"structure",members:{}}},CreateReceiptRule:{input:{type:"structure",required:["RuleSetName","Rule"],members:{RuleSetName:{},After:{},Rule:{shape:"S18"}}},output:{resultWrapper:"CreateReceiptRuleResult",type:"structure",members:{}}},CreateReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"CreateReceiptRuleSetResult",type:"structure",members:{}}},CreateTemplate:{input:{type:"structure",required:["Template"],members:{Template:{shape:"S20"}}},output:{resultWrapper:"CreateTemplateResult",type:"structure",members:{}}},DeleteConfigurationSet:{input:{type:"structure",required:["ConfigurationSetName"],members:{ConfigurationSetName:{}}},output:{resultWrapper:"DeleteConfigurationSetResult",type:"structure",members:{}}},DeleteConfigurationSetEventDestination:{input:{type:"structure",required:["ConfigurationSetName","EventDestinationName"],members:{ConfigurationSetName:{},EventDestinationName:{}}},output:{resultWrapper:"DeleteConfigurationSetEventDestinationResult",type:"structure",members:{}}},DeleteConfigurationSetTrackingOptions:{input:{type:"structure",required:["ConfigurationSetName"],members:{ConfigurationSetName:{}}},output:{resultWrapper:"DeleteConfigurationSetTrackingOptionsResult",type:"structure",members:{}}},DeleteCustomVerificationEmailTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{}}}},DeleteIdentity:{input:{type:"structure",required:["Identity"],members:{Identity:{}}},output:{resultWrapper:"DeleteIdentityResult",type:"structure",members:{}}},DeleteIdentityPolicy:{input:{type:"structure",required:["Identity","PolicyName"],members:{Identity:{},PolicyName:{}}},output:{resultWrapper:"DeleteIdentityPolicyResult",type:"structure",members:{}}},DeleteReceiptFilter:{input:{type:"structure",required:["FilterName"],members:{FilterName:{}}},output:{resultWrapper:"DeleteReceiptFilterResult",type:"structure",members:{}}},DeleteReceiptRule:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{}}},output:{resultWrapper:"DeleteReceiptRuleResult",type:"structure",members:{}}},DeleteReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"DeleteReceiptRuleSetResult",type:"structure",members:{}}},DeleteTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{}}},output:{resultWrapper:"DeleteTemplateResult",type:"structure",members:{}}},DeleteVerifiedEmailAddress:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}}},DescribeActiveReceiptRuleSet:{input:{type:"structure",members:{}},output:{resultWrapper:"DescribeActiveReceiptRuleSetResult",type:"structure",members:{Metadata:{shape:"S2t"},Rules:{shape:"S2v"}}}},DescribeConfigurationSet:{input:{type:"structure",required:["ConfigurationSetName"],members:{ConfigurationSetName:{},ConfigurationSetAttributeNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeConfigurationSetResult",type:"structure",members:{ConfigurationSet:{shape:"S5"},EventDestinations:{type:"list",member:{shape:"S9"}},TrackingOptions:{shape:"Sp"},DeliveryOptions:{shape:"S31"},ReputationOptions:{type:"structure",members:{SendingEnabled:{type:"boolean"},ReputationMetricsEnabled:{type:"boolean"},LastFreshStart:{type:"timestamp"}}}}}},DescribeReceiptRule:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{}}},output:{resultWrapper:"DescribeReceiptRuleResult",type:"structure",members:{Rule:{shape:"S18"}}}},DescribeReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"DescribeReceiptRuleSetResult",type:"structure",members:{Metadata:{shape:"S2t"},Rules:{shape:"S2v"}}}},GetAccountSendingEnabled:{output:{resultWrapper:"GetAccountSendingEnabledResult",type:"structure",members:{Enabled:{type:"boolean"}}}},GetCustomVerificationEmailTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{}}},output:{resultWrapper:"GetCustomVerificationEmailTemplateResult",type:"structure",members:{TemplateName:{},FromEmailAddress:{},TemplateSubject:{},TemplateContent:{},SuccessRedirectionURL:{},FailureRedirectionURL:{}}}},GetIdentityDkimAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"}}},output:{resultWrapper:"GetIdentityDkimAttributesResult",type:"structure",required:["DkimAttributes"],members:{DkimAttributes:{type:"map",key:{},value:{type:"structure",required:["DkimEnabled","DkimVerificationStatus"],members:{DkimEnabled:{type:"boolean"},DkimVerificationStatus:{},DkimTokens:{shape:"S3h"}}}}}}},GetIdentityMailFromDomainAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"}}},output:{resultWrapper:"GetIdentityMailFromDomainAttributesResult",type:"structure",required:["MailFromDomainAttributes"],members:{MailFromDomainAttributes:{type:"map",key:{},value:{type:"structure",required:["MailFromDomain","MailFromDomainStatus","BehaviorOnMXFailure"],members:{MailFromDomain:{},MailFromDomainStatus:{},BehaviorOnMXFailure:{}}}}}}},GetIdentityNotificationAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"}}},output:{resultWrapper:"GetIdentityNotificationAttributesResult",type:"structure",required:["NotificationAttributes"],members:{NotificationAttributes:{type:"map",key:{},value:{type:"structure",required:["BounceTopic","ComplaintTopic","DeliveryTopic","ForwardingEnabled"],members:{BounceTopic:{},ComplaintTopic:{},DeliveryTopic:{},ForwardingEnabled:{type:"boolean"},HeadersInBounceNotificationsEnabled:{type:"boolean"},HeadersInComplaintNotificationsEnabled:{type:"boolean"},HeadersInDeliveryNotificationsEnabled:{type:"boolean"}}}}}}},GetIdentityPolicies:{input:{type:"structure",required:["Identity","PolicyNames"],members:{Identity:{},PolicyNames:{shape:"S3w"}}},output:{resultWrapper:"GetIdentityPoliciesResult",type:"structure",required:["Policies"],members:{Policies:{type:"map",key:{},value:{}}}}},GetIdentityVerificationAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"}}},output:{resultWrapper:"GetIdentityVerificationAttributesResult",type:"structure",required:["VerificationAttributes"],members:{VerificationAttributes:{type:"map",key:{},value:{type:"structure",required:["VerificationStatus"],members:{VerificationStatus:{},VerificationToken:{}}}}}}},GetSendQuota:{output:{resultWrapper:"GetSendQuotaResult",type:"structure",members:{Max24HourSend:{type:"double"},MaxSendRate:{type:"double"},SentLast24Hours:{type:"double"}}}},GetSendStatistics:{output:{resultWrapper:"GetSendStatisticsResult",type:"structure",members:{SendDataPoints:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},DeliveryAttempts:{type:"long"},Bounces:{type:"long"},Complaints:{type:"long"},Rejects:{type:"long"}}}}}}},GetTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{}}},output:{resultWrapper:"GetTemplateResult",type:"structure",members:{Template:{shape:"S20"}}}},ListConfigurationSets:{input:{type:"structure",members:{NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListConfigurationSetsResult",type:"structure",members:{ConfigurationSets:{type:"list",member:{shape:"S5"}},NextToken:{}}}},ListCustomVerificationEmailTemplates:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListCustomVerificationEmailTemplatesResult",type:"structure",members:{CustomVerificationEmailTemplates:{type:"list",member:{type:"structure",members:{TemplateName:{},FromEmailAddress:{},TemplateSubject:{},SuccessRedirectionURL:{},FailureRedirectionURL:{}}}},NextToken:{}}}},ListIdentities:{input:{type:"structure",members:{IdentityType:{},NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListIdentitiesResult",type:"structure",required:["Identities"],members:{Identities:{shape:"S3c"},NextToken:{}}}},ListIdentityPolicies:{input:{type:"structure",required:["Identity"],members:{Identity:{}}},output:{resultWrapper:"ListIdentityPoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S3w"}}}},ListReceiptFilters:{input:{type:"structure",members:{}},output:{resultWrapper:"ListReceiptFiltersResult",type:"structure",members:{Filters:{type:"list",member:{shape:"S10"}}}}},ListReceiptRuleSets:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListReceiptRuleSetsResult",type:"structure",members:{RuleSets:{type:"list",member:{shape:"S2t"}},NextToken:{}}}},ListTemplates:{input:{type:"structure",members:{NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListTemplatesResult",type:"structure",members:{TemplatesMetadata:{type:"list",member:{type:"structure",members:{Name:{},CreatedTimestamp:{type:"timestamp"}}}},NextToken:{}}}},ListVerifiedEmailAddresses:{output:{resultWrapper:"ListVerifiedEmailAddressesResult",type:"structure",members:{VerifiedEmailAddresses:{shape:"S54"}}}},PutConfigurationSetDeliveryOptions:{input:{type:"structure",required:["ConfigurationSetName"],members:{ConfigurationSetName:{},DeliveryOptions:{shape:"S31"}}},output:{resultWrapper:"PutConfigurationSetDeliveryOptionsResult",type:"structure",members:{}}},PutIdentityPolicy:{input:{type:"structure",required:["Identity","PolicyName","Policy"],members:{Identity:{},PolicyName:{},Policy:{}}},output:{resultWrapper:"PutIdentityPolicyResult",type:"structure",members:{}}},ReorderReceiptRuleSet:{input:{type:"structure",required:["RuleSetName","RuleNames"],members:{RuleSetName:{},RuleNames:{type:"list",member:{}}}},output:{resultWrapper:"ReorderReceiptRuleSetResult",type:"structure",members:{}}},SendBounce:{input:{type:"structure",required:["OriginalMessageId","BounceSender","BouncedRecipientInfoList"],members:{OriginalMessageId:{},BounceSender:{},Explanation:{},MessageDsn:{type:"structure",required:["ReportingMta"],members:{ReportingMta:{},ArrivalDate:{type:"timestamp"},ExtensionFields:{shape:"S5i"}}},BouncedRecipientInfoList:{type:"list",member:{type:"structure",required:["Recipient"],members:{Recipient:{},RecipientArn:{},BounceType:{},RecipientDsnFields:{type:"structure",required:["Action","Status"],members:{FinalRecipient:{},Action:{},RemoteMta:{},Status:{},DiagnosticCode:{},LastAttemptDate:{type:"timestamp"},ExtensionFields:{shape:"S5i"}}}}}},BounceSenderArn:{}}},output:{resultWrapper:"SendBounceResult",type:"structure",members:{MessageId:{}}}},SendBulkTemplatedEmail:{input:{type:"structure",required:["Source","Template","Destinations"],members:{Source:{},SourceArn:{},ReplyToAddresses:{shape:"S54"},ReturnPath:{},ReturnPathArn:{},ConfigurationSetName:{},DefaultTags:{shape:"S5x"},Template:{},TemplateArn:{},DefaultTemplateData:{},Destinations:{type:"list",member:{type:"structure",required:["Destination"],members:{Destination:{shape:"S64"},ReplacementTags:{shape:"S5x"},ReplacementTemplateData:{}}}}}},output:{resultWrapper:"SendBulkTemplatedEmailResult",type:"structure",required:["Status"],members:{Status:{type:"list",member:{type:"structure",members:{Status:{},Error:{},MessageId:{}}}}}}},SendCustomVerificationEmail:{input:{type:"structure",required:["EmailAddress","TemplateName"],members:{EmailAddress:{},TemplateName:{},ConfigurationSetName:{}}},output:{resultWrapper:"SendCustomVerificationEmailResult",type:"structure",members:{MessageId:{}}}},SendEmail:{input:{type:"structure",required:["Source","Destination","Message"],members:{Source:{},Destination:{shape:"S64"},Message:{type:"structure",required:["Subject","Body"],members:{Subject:{shape:"S6e"},Body:{type:"structure",members:{Text:{shape:"S6e"},Html:{shape:"S6e"}}}}},ReplyToAddresses:{shape:"S54"},ReturnPath:{},SourceArn:{},ReturnPathArn:{},Tags:{shape:"S5x"},ConfigurationSetName:{}}},output:{resultWrapper:"SendEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}}},SendRawEmail:{input:{type:"structure",required:["RawMessage"],members:{Source:{},Destinations:{shape:"S54"},RawMessage:{type:"structure",required:["Data"],members:{Data:{type:"blob"}}},FromArn:{},SourceArn:{},ReturnPathArn:{},Tags:{shape:"S5x"},ConfigurationSetName:{}}},output:{resultWrapper:"SendRawEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}}},SendTemplatedEmail:{input:{type:"structure",required:["Source","Destination","Template","TemplateData"],members:{Source:{},Destination:{shape:"S64"},ReplyToAddresses:{shape:"S54"},ReturnPath:{},SourceArn:{},ReturnPathArn:{},Tags:{shape:"S5x"},ConfigurationSetName:{},Template:{},TemplateArn:{},TemplateData:{}}},output:{resultWrapper:"SendTemplatedEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}}},SetActiveReceiptRuleSet:{input:{type:"structure",members:{RuleSetName:{}}},output:{resultWrapper:"SetActiveReceiptRuleSetResult",type:"structure",members:{}}},SetIdentityDkimEnabled:{input:{type:"structure",required:["Identity","DkimEnabled"],members:{Identity:{},DkimEnabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityDkimEnabledResult",type:"structure",members:{}}},SetIdentityFeedbackForwardingEnabled:{input:{type:"structure",required:["Identity","ForwardingEnabled"],members:{Identity:{},ForwardingEnabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityFeedbackForwardingEnabledResult",type:"structure",members:{}}},SetIdentityHeadersInNotificationsEnabled:{input:{type:"structure",required:["Identity","NotificationType","Enabled"],members:{Identity:{},NotificationType:{},Enabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityHeadersInNotificationsEnabledResult",type:"structure",members:{}}},SetIdentityMailFromDomain:{input:{type:"structure",required:["Identity"],members:{Identity:{},MailFromDomain:{},BehaviorOnMXFailure:{}}},output:{resultWrapper:"SetIdentityMailFromDomainResult",type:"structure",members:{}}},SetIdentityNotificationTopic:{input:{type:"structure",required:["Identity","NotificationType"],members:{Identity:{},NotificationType:{},SnsTopic:{}}},output:{resultWrapper:"SetIdentityNotificationTopicResult",type:"structure",members:{}}},SetReceiptRulePosition:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{},After:{}}},output:{resultWrapper:"SetReceiptRulePositionResult",type:"structure",members:{}}},TestRenderTemplate:{input:{type:"structure",required:["TemplateName","TemplateData"],members:{TemplateName:{},TemplateData:{}}},output:{resultWrapper:"TestRenderTemplateResult",type:"structure",members:{RenderedTemplate:{}}}},UpdateAccountSendingEnabled:{input:{type:"structure",members:{Enabled:{type:"boolean"}}}},UpdateConfigurationSetEventDestination:{input:{type:"structure",required:["ConfigurationSetName","EventDestination"],members:{ConfigurationSetName:{},EventDestination:{shape:"S9"}}},output:{resultWrapper:"UpdateConfigurationSetEventDestinationResult",type:"structure",members:{}}},UpdateConfigurationSetReputationMetricsEnabled:{input:{type:"structure",required:["ConfigurationSetName","Enabled"],members:{ConfigurationSetName:{},Enabled:{type:"boolean"}}}},UpdateConfigurationSetSendingEnabled:{input:{type:"structure",required:["ConfigurationSetName","Enabled"],members:{ConfigurationSetName:{},Enabled:{type:"boolean"}}}},UpdateConfigurationSetTrackingOptions:{input:{type:"structure",required:["ConfigurationSetName","TrackingOptions"],members:{ConfigurationSetName:{},TrackingOptions:{shape:"Sp"}}},output:{resultWrapper:"UpdateConfigurationSetTrackingOptionsResult",type:"structure",members:{}}},UpdateCustomVerificationEmailTemplate:{input:{type:"structure",required:["TemplateName"],members:{TemplateName:{},FromEmailAddress:{},TemplateSubject:{},TemplateContent:{},SuccessRedirectionURL:{},FailureRedirectionURL:{}}}},UpdateReceiptRule:{input:{type:"structure",required:["RuleSetName","Rule"],members:{RuleSetName:{},Rule:{shape:"S18"}}},output:{resultWrapper:"UpdateReceiptRuleResult",type:"structure",members:{}}},UpdateTemplate:{input:{type:"structure",required:["Template"],members:{Template:{shape:"S20"}}},output:{resultWrapper:"UpdateTemplateResult",type:"structure",members:{}}},VerifyDomainDkim:{input:{type:"structure",required:["Domain"],members:{Domain:{}}},output:{resultWrapper:"VerifyDomainDkimResult",type:"structure",required:["DkimTokens"],members:{DkimTokens:{shape:"S3h"}}}},VerifyDomainIdentity:{input:{type:"structure",required:["Domain"],members:{Domain:{}}},output:{resultWrapper:"VerifyDomainIdentityResult",type:"structure",required:["VerificationToken"],members:{VerificationToken:{}}}},VerifyEmailAddress:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}}},VerifyEmailIdentity:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}},output:{resultWrapper:"VerifyEmailIdentityResult",type:"structure",members:{}}}},shapes:{S5:{type:"structure",required:["Name"],members:{Name:{}}},S9:{type:"structure",required:["Name","MatchingEventTypes"],members:{Name:{},Enabled:{type:"boolean"},MatchingEventTypes:{type:"list",member:{}},KinesisFirehoseDestination:{type:"structure",required:["IAMRoleARN","DeliveryStreamARN"],members:{IAMRoleARN:{},DeliveryStreamARN:{}}},CloudWatchDestination:{type:"structure",required:["DimensionConfigurations"],members:{DimensionConfigurations:{type:"list",member:{type:"structure",required:["DimensionName","DimensionValueSource","DefaultDimensionValue"],members:{DimensionName:{},DimensionValueSource:{},DefaultDimensionValue:{}}}}}},SNSDestination:{type:"structure",required:["TopicARN"],members:{TopicARN:{}}}}},Sp:{type:"structure",members:{CustomRedirectDomain:{}}},S10:{type:"structure",required:["Name","IpFilter"],members:{Name:{},IpFilter:{type:"structure",required:["Policy","Cidr"],members:{Policy:{},Cidr:{}}}}},S18:{type:"structure",required:["Name"],members:{Name:{},Enabled:{type:"boolean"},TlsPolicy:{},Recipients:{type:"list",member:{}},Actions:{type:"list",member:{type:"structure",members:{S3Action:{type:"structure",required:["BucketName"],members:{TopicArn:{},BucketName:{},ObjectKeyPrefix:{},KmsKeyArn:{}}},BounceAction:{type:"structure",required:["SmtpReplyCode","Message","Sender"],members:{TopicArn:{},SmtpReplyCode:{},StatusCode:{},Message:{},Sender:{}}},WorkmailAction:{type:"structure",required:["OrganizationArn"],members:{TopicArn:{},OrganizationArn:{}}},LambdaAction:{type:"structure",required:["FunctionArn"],members:{TopicArn:{},FunctionArn:{},InvocationType:{}}},StopAction:{type:"structure",required:["Scope"],members:{Scope:{},TopicArn:{}}},AddHeaderAction:{type:"structure",required:["HeaderName","HeaderValue"],members:{HeaderName:{},HeaderValue:{}}},SNSAction:{type:"structure",required:["TopicArn"],members:{TopicArn:{},Encoding:{}}}}}},ScanEnabled:{type:"boolean"}}},S20:{type:"structure",required:["TemplateName"],members:{TemplateName:{},SubjectPart:{},TextPart:{},HtmlPart:{}}},S2t:{type:"structure",members:{Name:{},CreatedTimestamp:{type:"timestamp"}}},S2v:{type:"list",member:{shape:"S18"}},S31:{type:"structure",members:{TlsPolicy:{}}},S3c:{type:"list",member:{}},S3h:{type:"list",member:{}},S3w:{type:"list",member:{}},S54:{type:"list",member:{}},S5i:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}},S5x:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}},S64:{type:"structure",members:{ToAddresses:{shape:"S54"},CcAddresses:{shape:"S54"},BccAddresses:{shape:"S54"}}},S6e:{type:"structure",required:["Data"],members:{Data:{},Charset:{}}}}}},{}],109:[function(e,t,r){t.exports={pagination:{ListCustomVerificationEmailTemplates:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListIdentities:{input_token:"NextToken",limit_key:"MaxItems", +output_token:"NextToken",result_key:"Identities"},ListVerifiedEmailAddresses:{result_key:"VerifiedEmailAddresses"}}}},{}],110:[function(e,t,r){t.exports={version:2,waiters:{IdentityExists:{delay:3,operation:"GetIdentityVerificationAttributes",maxAttempts:20,acceptors:[{expected:"Success",matcher:"pathAll",state:"success",argument:"VerificationAttributes.*.VerificationStatus"}]}}}},{}],111:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-10-07",endpointPrefix:"events",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon CloudWatch Events",serviceId:"CloudWatch Events",signatureVersion:"v4",targetPrefix:"AWSEvents",uid:"events-2015-10-07"},operations:{ActivateEventSource:{input:{type:"structure",required:["Name"],members:{Name:{}}}},CancelReplay:{input:{type:"structure",required:["ReplayName"],members:{ReplayName:{}}},output:{type:"structure",members:{ReplayArn:{},State:{},StateReason:{}}}},CreateApiDestination:{input:{type:"structure",required:["Name","ConnectionArn","InvocationEndpoint","HttpMethod"],members:{Name:{},Description:{},ConnectionArn:{},InvocationEndpoint:{},HttpMethod:{},InvocationRateLimitPerSecond:{type:"integer"}}},output:{type:"structure",members:{ApiDestinationArn:{},ApiDestinationState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},CreateArchive:{input:{type:"structure",required:["ArchiveName","EventSourceArn"],members:{ArchiveName:{},EventSourceArn:{},Description:{},EventPattern:{},RetentionDays:{type:"integer"}}},output:{type:"structure",members:{ArchiveArn:{},State:{},StateReason:{},CreationTime:{type:"timestamp"}}}},CreateConnection:{input:{type:"structure",required:["Name","AuthorizationType","AuthParameters"],members:{Name:{},Description:{},AuthorizationType:{},AuthParameters:{type:"structure",members:{BasicAuthParameters:{type:"structure",required:["Username","Password"],members:{Username:{},Password:{}}},OAuthParameters:{type:"structure",required:["ClientParameters","AuthorizationEndpoint","HttpMethod"],members:{ClientParameters:{type:"structure",required:["ClientID","ClientSecret"],members:{ClientID:{},ClientSecret:{}}},AuthorizationEndpoint:{},HttpMethod:{},OAuthHttpParameters:{shape:"S14"}}},ApiKeyAuthParameters:{type:"structure",required:["ApiKeyName","ApiKeyValue"],members:{ApiKeyName:{},ApiKeyValue:{}}},InvocationHttpParameters:{shape:"S14"}}}}},output:{type:"structure",members:{ConnectionArn:{},ConnectionState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},CreateEventBus:{input:{type:"structure",required:["Name"],members:{Name:{},EventSourceName:{},Tags:{shape:"S1m"}}},output:{type:"structure",members:{EventBusArn:{}}}},CreatePartnerEventSource:{input:{type:"structure",required:["Name","Account"],members:{Name:{},Account:{}}},output:{type:"structure",members:{EventSourceArn:{}}}},DeactivateEventSource:{input:{type:"structure",required:["Name"],members:{Name:{}}}},DeauthorizeConnection:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ConnectionArn:{},ConnectionState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}},DeleteApiDestination:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteArchive:{input:{type:"structure",required:["ArchiveName"],members:{ArchiveName:{}}},output:{type:"structure",members:{}}},DeleteConnection:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ConnectionArn:{},ConnectionState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}},DeleteEventBus:{input:{type:"structure",required:["Name"],members:{Name:{}}}},DeletePartnerEventSource:{input:{type:"structure",required:["Name","Account"],members:{Name:{},Account:{}}}},DeleteRule:{input:{type:"structure",required:["Name"],members:{Name:{},EventBusName:{},Force:{type:"boolean"}}}},DescribeApiDestination:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ApiDestinationArn:{},Name:{},Description:{},ApiDestinationState:{},ConnectionArn:{},InvocationEndpoint:{},HttpMethod:{},InvocationRateLimitPerSecond:{type:"integer"},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},DescribeArchive:{input:{type:"structure",required:["ArchiveName"],members:{ArchiveName:{}}},output:{type:"structure",members:{ArchiveArn:{},ArchiveName:{},EventSourceArn:{},Description:{},EventPattern:{},State:{},StateReason:{},RetentionDays:{type:"integer"},SizeBytes:{type:"long"},EventCount:{type:"long"},CreationTime:{type:"timestamp"}}}},DescribeConnection:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ConnectionArn:{},Name:{},Description:{},ConnectionState:{},StateReason:{},AuthorizationType:{},SecretArn:{},AuthParameters:{type:"structure",members:{BasicAuthParameters:{type:"structure",members:{Username:{}}},OAuthParameters:{type:"structure",members:{ClientParameters:{type:"structure",members:{ClientID:{}}},AuthorizationEndpoint:{},HttpMethod:{},OAuthHttpParameters:{shape:"S14"}}},ApiKeyAuthParameters:{type:"structure",members:{ApiKeyName:{}}},InvocationHttpParameters:{shape:"S14"}}},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}},DescribeEventBus:{input:{type:"structure",members:{Name:{}}},output:{type:"structure",members:{Name:{},Arn:{},Policy:{}}}},DescribeEventSource:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Arn:{},CreatedBy:{},CreationTime:{type:"timestamp"},ExpirationTime:{type:"timestamp"},Name:{},State:{}}}},DescribePartnerEventSource:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Arn:{},Name:{}}}},DescribeReplay:{input:{type:"structure",required:["ReplayName"],members:{ReplayName:{}}},output:{type:"structure",members:{ReplayName:{},ReplayArn:{},Description:{},State:{},StateReason:{},EventSourceArn:{},Destination:{shape:"S2w"},EventStartTime:{type:"timestamp"},EventEndTime:{type:"timestamp"},EventLastReplayedTime:{type:"timestamp"},ReplayStartTime:{type:"timestamp"},ReplayEndTime:{type:"timestamp"}}}},DescribeRule:{input:{type:"structure",required:["Name"],members:{Name:{},EventBusName:{}}},output:{type:"structure",members:{Name:{},Arn:{},EventPattern:{},ScheduleExpression:{},State:{},Description:{},RoleArn:{},ManagedBy:{},EventBusName:{},CreatedBy:{}}}},DisableRule:{input:{type:"structure",required:["Name"],members:{Name:{},EventBusName:{}}}},EnableRule:{input:{type:"structure",required:["Name"],members:{Name:{},EventBusName:{}}}},ListApiDestinations:{input:{type:"structure",members:{NamePrefix:{},ConnectionArn:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{ApiDestinations:{type:"list",member:{type:"structure",members:{ApiDestinationArn:{},Name:{},ApiDestinationState:{},ConnectionArn:{},InvocationEndpoint:{},HttpMethod:{},InvocationRateLimitPerSecond:{type:"integer"},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},NextToken:{}}}},ListArchives:{input:{type:"structure",members:{NamePrefix:{},EventSourceArn:{},State:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Archives:{type:"list",member:{type:"structure",members:{ArchiveName:{},EventSourceArn:{},State:{},StateReason:{},RetentionDays:{type:"integer"},SizeBytes:{type:"long"},EventCount:{type:"long"},CreationTime:{type:"timestamp"}}}},NextToken:{}}}},ListConnections:{input:{type:"structure",members:{NamePrefix:{},ConnectionState:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Connections:{type:"list",member:{type:"structure",members:{ConnectionArn:{},Name:{},ConnectionState:{},StateReason:{},AuthorizationType:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}},NextToken:{}}}},ListEventBuses:{input:{type:"structure",members:{NamePrefix:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{EventBuses:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},Policy:{}}}},NextToken:{}}}},ListEventSources:{input:{type:"structure",members:{NamePrefix:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{EventSources:{type:"list",member:{type:"structure",members:{Arn:{},CreatedBy:{},CreationTime:{type:"timestamp"},ExpirationTime:{type:"timestamp"},Name:{},State:{}}}},NextToken:{}}}},ListPartnerEventSourceAccounts:{input:{type:"structure",required:["EventSourceName"],members:{EventSourceName:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{PartnerEventSourceAccounts:{type:"list",member:{type:"structure",members:{Account:{},CreationTime:{type:"timestamp"},ExpirationTime:{type:"timestamp"},State:{}}}},NextToken:{}}}},ListPartnerEventSources:{input:{type:"structure",required:["NamePrefix"],members:{NamePrefix:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{PartnerEventSources:{type:"list",member:{type:"structure",members:{Arn:{},Name:{}}}},NextToken:{}}}},ListReplays:{input:{type:"structure",members:{NamePrefix:{},State:{},EventSourceArn:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Replays:{type:"list",member:{type:"structure",members:{ReplayName:{},EventSourceArn:{},State:{},StateReason:{},EventStartTime:{type:"timestamp"},EventEndTime:{type:"timestamp"},EventLastReplayedTime:{type:"timestamp"},ReplayStartTime:{type:"timestamp"},ReplayEndTime:{type:"timestamp"}}}},NextToken:{}}}},ListRuleNamesByTarget:{input:{type:"structure",required:["TargetArn"],members:{TargetArn:{},EventBusName:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{RuleNames:{type:"list",member:{}},NextToken:{}}}},ListRules:{input:{type:"structure",members:{NamePrefix:{},EventBusName:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Rules:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},EventPattern:{},State:{},Description:{},ScheduleExpression:{},RoleArn:{},ManagedBy:{},EventBusName:{}}}},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{}}},output:{type:"structure",members:{Tags:{shape:"S1m"}}}},ListTargetsByRule:{input:{type:"structure",required:["Rule"],members:{Rule:{},EventBusName:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Targets:{shape:"S4l"},NextToken:{}}}},PutEvents:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",members:{Time:{type:"timestamp"},Source:{},Resources:{shape:"S6j"},DetailType:{},Detail:{},EventBusName:{},TraceHeader:{}}}}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},Entries:{type:"list",member:{type:"structure",members:{EventId:{},ErrorCode:{},ErrorMessage:{}}}}}}},PutPartnerEvents:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",members:{Time:{type:"timestamp"},Source:{},Resources:{shape:"S6j"},DetailType:{},Detail:{}}}}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},Entries:{type:"list",member:{type:"structure",members:{EventId:{},ErrorCode:{},ErrorMessage:{}}}}}}},PutPermission:{input:{type:"structure",members:{EventBusName:{},Action:{},Principal:{},StatementId:{},Condition:{type:"structure",required:["Type","Key","Value"],members:{Type:{},Key:{},Value:{}}},Policy:{}}}},PutRule:{input:{type:"structure",required:["Name"],members:{Name:{},ScheduleExpression:{},EventPattern:{},State:{},Description:{},RoleArn:{},Tags:{shape:"S1m"},EventBusName:{}}},output:{type:"structure",members:{RuleArn:{}}}},PutTargets:{input:{type:"structure",required:["Rule","Targets"],members:{Rule:{},EventBusName:{},Targets:{shape:"S4l"}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},FailedEntries:{type:"list",member:{type:"structure",members:{TargetId:{},ErrorCode:{},ErrorMessage:{}}}}}}},RemovePermission:{input:{type:"structure",members:{StatementId:{},RemoveAllPermissions:{type:"boolean"},EventBusName:{}}}},RemoveTargets:{input:{type:"structure",required:["Rule","Ids"],members:{Rule:{},EventBusName:{},Ids:{type:"list",member:{}},Force:{type:"boolean"}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},FailedEntries:{type:"list",member:{type:"structure",members:{TargetId:{},ErrorCode:{},ErrorMessage:{}}}}}}},StartReplay:{input:{type:"structure",required:["ReplayName","EventSourceArn","EventStartTime","EventEndTime","Destination"],members:{ReplayName:{},Description:{},EventSourceArn:{},EventStartTime:{type:"timestamp"},EventEndTime:{type:"timestamp"},Destination:{shape:"S2w"}}},output:{type:"structure",members:{ReplayArn:{},State:{},StateReason:{},ReplayStartTime:{type:"timestamp"}}}},TagResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"S1m"}}},output:{type:"structure",members:{}}},TestEventPattern:{input:{type:"structure",required:["EventPattern","Event"],members:{EventPattern:{},Event:{}}},output:{type:"structure",members:{Result:{type:"boolean"}}}},UntagResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateApiDestination:{input:{type:"structure",required:["Name"],members:{Name:{},Description:{},ConnectionArn:{},InvocationEndpoint:{},HttpMethod:{},InvocationRateLimitPerSecond:{type:"integer"}}},output:{type:"structure",members:{ApiDestinationArn:{},ApiDestinationState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"}}}},UpdateArchive:{input:{type:"structure",required:["ArchiveName"],members:{ArchiveName:{},Description:{},EventPattern:{},RetentionDays:{type:"integer"}}},output:{type:"structure",members:{ArchiveArn:{},State:{},StateReason:{},CreationTime:{type:"timestamp"}}}},UpdateConnection:{input:{type:"structure",required:["Name"],members:{Name:{},Description:{},AuthorizationType:{},AuthParameters:{type:"structure",members:{BasicAuthParameters:{type:"structure",members:{Username:{},Password:{}}},OAuthParameters:{type:"structure",members:{ClientParameters:{type:"structure",members:{ClientID:{},ClientSecret:{}}},AuthorizationEndpoint:{},HttpMethod:{},OAuthHttpParameters:{shape:"S14"}}},ApiKeyAuthParameters:{type:"structure",members:{ApiKeyName:{},ApiKeyValue:{}}},InvocationHttpParameters:{shape:"S14"}}}}},output:{type:"structure",members:{ConnectionArn:{},ConnectionState:{},CreationTime:{type:"timestamp"},LastModifiedTime:{type:"timestamp"},LastAuthorizedTime:{type:"timestamp"}}}}},shapes:{S14:{type:"structure",members:{HeaderParameters:{type:"list",member:{type:"structure",members:{Key:{},Value:{},IsValueSecret:{type:"boolean"}}}},QueryStringParameters:{type:"list",member:{type:"structure",members:{Key:{},Value:{},IsValueSecret:{type:"boolean"}}}},BodyParameters:{type:"list",member:{type:"structure",members:{Key:{},Value:{},IsValueSecret:{type:"boolean"}}}}}},S1m:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S2w:{type:"structure",required:["Arn"],members:{Arn:{},FilterArns:{type:"list",member:{}}}},S4l:{type:"list",member:{type:"structure",required:["Id","Arn"],members:{Id:{},Arn:{},RoleArn:{},Input:{},InputPath:{},InputTransformer:{type:"structure",required:["InputTemplate"],members:{InputPathsMap:{type:"map",key:{},value:{}},InputTemplate:{}}},KinesisParameters:{type:"structure",required:["PartitionKeyPath"],members:{PartitionKeyPath:{}}},RunCommandParameters:{type:"structure",required:["RunCommandTargets"],members:{RunCommandTargets:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}}}},EcsParameters:{type:"structure",required:["TaskDefinitionArn"],members:{TaskDefinitionArn:{},TaskCount:{type:"integer"},LaunchType:{},NetworkConfiguration:{type:"structure",members:{awsvpcConfiguration:{type:"structure",required:["Subnets"],members:{Subnets:{shape:"S57"},SecurityGroups:{shape:"S57"},AssignPublicIp:{}}}}},PlatformVersion:{},Group:{},CapacityProviderStrategy:{type:"list",member:{type:"structure",required:["capacityProvider"],members:{capacityProvider:{},weight:{type:"integer"},base:{type:"integer"}}}},EnableECSManagedTags:{type:"boolean"},EnableExecuteCommand:{type:"boolean"},PlacementConstraints:{type:"list",member:{type:"structure",members:{type:{},expression:{}}}},PlacementStrategy:{type:"list",member:{type:"structure",members:{type:{},field:{}}}},PropagateTags:{},ReferenceId:{},Tags:{shape:"S1m"}}},BatchParameters:{type:"structure",required:["JobDefinition","JobName"],members:{JobDefinition:{},JobName:{},ArrayProperties:{type:"structure",members:{Size:{type:"integer"}}},RetryStrategy:{type:"structure",members:{Attempts:{type:"integer"}}}}},SqsParameters:{type:"structure",members:{MessageGroupId:{}}},HttpParameters:{type:"structure",members:{PathParameterValues:{type:"list",member:{}},HeaderParameters:{type:"map",key:{},value:{}},QueryStringParameters:{type:"map",key:{},value:{}}}},RedshiftDataParameters:{type:"structure",required:["Database","Sql"],members:{SecretManagerArn:{},Database:{},DbUser:{},Sql:{},StatementName:{},WithEvent:{type:"boolean"}}},SageMakerPipelineParameters:{type:"structure",members:{PipelineParameterList:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}}}},DeadLetterConfig:{type:"structure",members:{Arn:{}}},RetryPolicy:{type:"structure",members:{MaximumRetryAttempts:{type:"integer"},MaximumEventAgeInSeconds:{type:"integer"}}}}}},S57:{type:"list",member:{}},S6j:{type:"list",member:{}}}}},{}],112:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],113:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-08-04",endpointPrefix:"firehose",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Firehose",serviceFullName:"Amazon Kinesis Firehose",serviceId:"Firehose",signatureVersion:"v4",targetPrefix:"Firehose_20150804",uid:"firehose-2015-08-04"},operations:{CreateDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},DeliveryStreamType:{},KinesisStreamSourceConfiguration:{type:"structure",required:["KinesisStreamARN","RoleARN"],members:{KinesisStreamARN:{},RoleARN:{}}},DeliveryStreamEncryptionConfigurationInput:{shape:"S7"},S3DestinationConfiguration:{shape:"Sa",deprecated:!0},ExtendedS3DestinationConfiguration:{type:"structure",required:["RoleARN","BucketARN"],members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupConfiguration:{shape:"Sa"},DataFormatConversionConfiguration:{shape:"Sz"},DynamicPartitioningConfiguration:{shape:"S1o"}}},RedshiftDestinationConfiguration:{type:"structure",required:["RoleARN","ClusterJDBCURL","CopyCommand","Username","Password","S3Configuration"],members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"S1t"},Username:{shape:"S1x"},Password:{shape:"S1y"},RetryOptions:{shape:"S1z"},S3Configuration:{shape:"Sa"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupConfiguration:{shape:"Sa"},CloudWatchLoggingOptions:{shape:"Sl"}}},ElasticsearchDestinationConfiguration:{type:"structure",required:["RoleARN","IndexName","S3Configuration"],members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S28"},RetryOptions:{shape:"S2b"},S3BackupMode:{},S3Configuration:{shape:"Sa"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"},VpcConfiguration:{shape:"S2e"}}},AmazonopensearchserviceDestinationConfiguration:{type:"structure",required:["RoleARN","IndexName","S3Configuration"],members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S2n"},RetryOptions:{shape:"S2q"},S3BackupMode:{},S3Configuration:{shape:"Sa"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"},VpcConfiguration:{shape:"S2e"}}},SplunkDestinationConfiguration:{type:"structure",required:["HECEndpoint","HECEndpointType","HECToken","S3Configuration"],members:{HECEndpoint:{},HECEndpointType:{},HECToken:{},HECAcknowledgmentTimeoutInSeconds:{type:"integer"},RetryOptions:{shape:"S2y"},S3BackupMode:{},S3Configuration:{shape:"Sa"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},HttpEndpointDestinationConfiguration:{type:"structure",required:["EndpointConfiguration","S3Configuration"],members:{EndpointConfiguration:{shape:"S32"},BufferingHints:{shape:"S36"},CloudWatchLoggingOptions:{shape:"Sl"},RequestConfiguration:{shape:"S39"},ProcessingConfiguration:{shape:"Sq"},RoleARN:{},RetryOptions:{shape:"S3f"},S3BackupMode:{},S3Configuration:{shape:"Sa"}}},Tags:{shape:"S3i"}}},output:{type:"structure",members:{DeliveryStreamARN:{}}}},DeleteDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},AllowForceDelete:{type:"boolean"}}},output:{type:"structure",members:{}}},DescribeDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},Limit:{type:"integer"},ExclusiveStartDestinationId:{}}},output:{type:"structure",required:["DeliveryStreamDescription"],members:{DeliveryStreamDescription:{type:"structure",required:["DeliveryStreamName","DeliveryStreamARN","DeliveryStreamStatus","DeliveryStreamType","VersionId","Destinations","HasMoreDestinations"],members:{DeliveryStreamName:{},DeliveryStreamARN:{},DeliveryStreamStatus:{},FailureDescription:{shape:"S3w"},DeliveryStreamEncryptionConfiguration:{type:"structure",members:{KeyARN:{},KeyType:{},Status:{},FailureDescription:{shape:"S3w"}}},DeliveryStreamType:{},VersionId:{},CreateTimestamp:{type:"timestamp"},LastUpdateTimestamp:{type:"timestamp"},Source:{type:"structure",members:{KinesisStreamSourceDescription:{type:"structure",members:{KinesisStreamARN:{},RoleARN:{},DeliveryStartTimestamp:{type:"timestamp"}}}}},Destinations:{type:"list",member:{type:"structure",required:["DestinationId"],members:{DestinationId:{},S3DestinationDescription:{shape:"S47"},ExtendedS3DestinationDescription:{type:"structure",required:["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupDescription:{shape:"S47"},DataFormatConversionConfiguration:{shape:"Sz"},DynamicPartitioningConfiguration:{shape:"S1o"}}},RedshiftDestinationDescription:{type:"structure",required:["RoleARN","ClusterJDBCURL","CopyCommand","Username","S3DestinationDescription"],members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"S1t"},Username:{shape:"S1x"},RetryOptions:{shape:"S1z"},S3DestinationDescription:{shape:"S47"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupDescription:{shape:"S47"},CloudWatchLoggingOptions:{shape:"Sl"}}},ElasticsearchDestinationDescription:{type:"structure",members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S28"},RetryOptions:{shape:"S2b"},S3BackupMode:{},S3DestinationDescription:{shape:"S47"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"},VpcConfigurationDescription:{shape:"S4b"}}},AmazonopensearchserviceDestinationDescription:{type:"structure",members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S2n"},RetryOptions:{shape:"S2q"},S3BackupMode:{},S3DestinationDescription:{shape:"S47"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"},VpcConfigurationDescription:{shape:"S4b"}}},SplunkDestinationDescription:{type:"structure",members:{HECEndpoint:{},HECEndpointType:{},HECToken:{},HECAcknowledgmentTimeoutInSeconds:{type:"integer"},RetryOptions:{shape:"S2y"},S3BackupMode:{},S3DestinationDescription:{shape:"S47"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},HttpEndpointDestinationDescription:{type:"structure",members:{EndpointConfiguration:{type:"structure",members:{Url:{shape:"S33"},Name:{}}},BufferingHints:{shape:"S36"},CloudWatchLoggingOptions:{shape:"Sl"},RequestConfiguration:{shape:"S39"},ProcessingConfiguration:{shape:"Sq"},RoleARN:{},RetryOptions:{shape:"S3f"},S3BackupMode:{},S3DestinationDescription:{shape:"S47"}}}}}},HasMoreDestinations:{type:"boolean"}}}}}},ListDeliveryStreams:{input:{type:"structure",members:{Limit:{type:"integer"},DeliveryStreamType:{},ExclusiveStartDeliveryStreamName:{}}},output:{type:"structure",required:["DeliveryStreamNames","HasMoreDeliveryStreams"],members:{DeliveryStreamNames:{type:"list",member:{}},HasMoreDeliveryStreams:{type:"boolean"}}}},ListTagsForDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},ExclusiveStartTagKey:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Tags","HasMoreTags"],members:{Tags:{type:"list",member:{shape:"S3j"}},HasMoreTags:{type:"boolean"}}}},PutRecord:{input:{type:"structure",required:["DeliveryStreamName","Record"],members:{DeliveryStreamName:{},Record:{shape:"S4p"}}},output:{type:"structure",required:["RecordId"],members:{RecordId:{},Encrypted:{type:"boolean"}}}},PutRecordBatch:{input:{type:"structure",required:["DeliveryStreamName","Records"],members:{DeliveryStreamName:{},Records:{type:"list",member:{shape:"S4p"}}}},output:{type:"structure",required:["FailedPutCount","RequestResponses"],members:{FailedPutCount:{type:"integer"},Encrypted:{type:"boolean"},RequestResponses:{type:"list",member:{type:"structure",members:{RecordId:{},ErrorCode:{},ErrorMessage:{}}}}}}},StartDeliveryStreamEncryption:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},DeliveryStreamEncryptionConfigurationInput:{shape:"S7"}}},output:{type:"structure",members:{}}},StopDeliveryStreamEncryption:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{}}},output:{type:"structure",members:{}}},TagDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName","Tags"],members:{DeliveryStreamName:{},Tags:{shape:"S3i"}}},output:{type:"structure",members:{}}},UntagDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName","TagKeys"],members:{DeliveryStreamName:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateDestination:{input:{type:"structure",required:["DeliveryStreamName","CurrentDeliveryStreamVersionId","DestinationId"],members:{DeliveryStreamName:{},CurrentDeliveryStreamVersionId:{},DestinationId:{},S3DestinationUpdate:{shape:"S5a",deprecated:!0},ExtendedS3DestinationUpdate:{type:"structure",members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupUpdate:{shape:"S5a"},DataFormatConversionConfiguration:{shape:"Sz"},DynamicPartitioningConfiguration:{shape:"S1o"}}},RedshiftDestinationUpdate:{type:"structure",members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"S1t"},Username:{shape:"S1x"},Password:{shape:"S1y"},RetryOptions:{shape:"S1z"},S3Update:{shape:"S5a"},ProcessingConfiguration:{shape:"Sq"},S3BackupMode:{},S3BackupUpdate:{shape:"S5a"},CloudWatchLoggingOptions:{shape:"Sl"}}},ElasticsearchDestinationUpdate:{type:"structure",members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S28"},RetryOptions:{shape:"S2b"},S3Update:{shape:"S5a"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},AmazonopensearchserviceDestinationUpdate:{type:"structure",members:{RoleARN:{},DomainARN:{},ClusterEndpoint:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"S2n"},RetryOptions:{shape:"S2q"},S3Update:{shape:"S5a"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},SplunkDestinationUpdate:{type:"structure",members:{HECEndpoint:{},HECEndpointType:{},HECToken:{},HECAcknowledgmentTimeoutInSeconds:{type:"integer"},RetryOptions:{shape:"S2y"},S3BackupMode:{},S3Update:{shape:"S5a"},ProcessingConfiguration:{shape:"Sq"},CloudWatchLoggingOptions:{shape:"Sl"}}},HttpEndpointDestinationUpdate:{type:"structure",members:{EndpointConfiguration:{shape:"S32"},BufferingHints:{shape:"S36"},CloudWatchLoggingOptions:{shape:"Sl"},RequestConfiguration:{shape:"S39"},ProcessingConfiguration:{shape:"Sq"},RoleARN:{},RetryOptions:{shape:"S3f"},S3BackupMode:{},S3Update:{shape:"S5a"}}}}},output:{type:"structure",members:{}}}},shapes:{S7:{type:"structure",required:["KeyType"],members:{KeyARN:{},KeyType:{}}},Sa:{type:"structure",required:["RoleARN","BucketARN"],members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"}}},Se:{type:"structure",members:{SizeInMBs:{type:"integer"},IntervalInSeconds:{type:"integer"}}},Si:{type:"structure",members:{NoEncryptionConfig:{},KMSEncryptionConfig:{type:"structure",required:["AWSKMSKeyARN"],members:{AWSKMSKeyARN:{}}}}},Sl:{type:"structure",members:{Enabled:{type:"boolean"},LogGroupName:{},LogStreamName:{}}},Sq:{type:"structure",members:{Enabled:{type:"boolean"},Processors:{type:"list",member:{type:"structure",required:["Type"],members:{Type:{},Parameters:{type:"list",member:{type:"structure",required:["ParameterName","ParameterValue"],members:{ParameterName:{},ParameterValue:{}}}}}}}}},Sz:{type:"structure",members:{SchemaConfiguration:{type:"structure",members:{RoleARN:{},CatalogId:{},DatabaseName:{},TableName:{},Region:{},VersionId:{}}},InputFormatConfiguration:{type:"structure",members:{Deserializer:{type:"structure",members:{OpenXJsonSerDe:{type:"structure",members:{ConvertDotsInJsonKeysToUnderscores:{type:"boolean"},CaseInsensitive:{type:"boolean"},ColumnToJsonKeyMappings:{type:"map",key:{},value:{}}}},HiveJsonSerDe:{type:"structure",members:{TimestampFormats:{type:"list",member:{}}}}}}}},OutputFormatConfiguration:{type:"structure",members:{Serializer:{type:"structure",members:{ParquetSerDe:{type:"structure",members:{BlockSizeBytes:{type:"integer"},PageSizeBytes:{type:"integer"},Compression:{},EnableDictionaryCompression:{type:"boolean"},MaxPaddingBytes:{type:"integer"},WriterVersion:{}}},OrcSerDe:{type:"structure",members:{StripeSizeBytes:{type:"integer"},BlockSizeBytes:{type:"integer"},RowIndexStride:{type:"integer"},EnablePadding:{type:"boolean"},PaddingTolerance:{type:"double"},Compression:{},BloomFilterColumns:{type:"list",member:{}},BloomFilterFalsePositiveProbability:{type:"double"},DictionaryKeyThreshold:{type:"double"},FormatVersion:{}}}}}}},Enabled:{type:"boolean"}}},S1o:{type:"structure",members:{RetryOptions:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},Enabled:{type:"boolean"}}},S1t:{type:"structure",required:["DataTableName"],members:{DataTableName:{},DataTableColumns:{},CopyOptions:{}}},S1x:{type:"string",sensitive:!0},S1y:{type:"string",sensitive:!0},S1z:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S28:{type:"structure",members:{IntervalInSeconds:{type:"integer"},SizeInMBs:{type:"integer"}}},S2b:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S2e:{type:"structure",required:["SubnetIds","RoleARN","SecurityGroupIds"],members:{SubnetIds:{shape:"S2f"},RoleARN:{},SecurityGroupIds:{shape:"S2g"}}},S2f:{type:"list", +member:{}},S2g:{type:"list",member:{}},S2n:{type:"structure",members:{IntervalInSeconds:{type:"integer"},SizeInMBs:{type:"integer"}}},S2q:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S2y:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S32:{type:"structure",required:["Url"],members:{Url:{shape:"S33"},Name:{},AccessKey:{type:"string",sensitive:!0}}},S33:{type:"string",sensitive:!0},S36:{type:"structure",members:{SizeInMBs:{type:"integer"},IntervalInSeconds:{type:"integer"}}},S39:{type:"structure",members:{ContentEncoding:{},CommonAttributes:{type:"list",member:{type:"structure",required:["AttributeName","AttributeValue"],members:{AttributeName:{type:"string",sensitive:!0},AttributeValue:{type:"string",sensitive:!0}}}}}},S3f:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S3i:{type:"list",member:{shape:"S3j"}},S3j:{type:"structure",required:["Key"],members:{Key:{},Value:{}}},S3w:{type:"structure",required:["Type","Details"],members:{Type:{},Details:{}}},S47:{type:"structure",required:["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"}}},S4b:{type:"structure",required:["SubnetIds","RoleARN","SecurityGroupIds","VpcId"],members:{SubnetIds:{shape:"S2f"},RoleARN:{},SecurityGroupIds:{shape:"S2g"},VpcId:{}}},S4p:{type:"structure",required:["Data"],members:{Data:{type:"blob"}}},S5a:{type:"structure",members:{RoleARN:{},BucketARN:{},Prefix:{},ErrorOutputPrefix:{},BufferingHints:{shape:"Se"},CompressionFormat:{},EncryptionConfiguration:{shape:"Si"},CloudWatchLoggingOptions:{shape:"Sl"}}}}}},{}],114:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],115:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-06-26",endpointPrefix:"forecast",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Forecast Service",serviceId:"forecast",signatureVersion:"v4",signingName:"forecast",targetPrefix:"AmazonForecast",uid:"forecast-2018-06-26"},operations:{CreateAutoPredictor:{input:{type:"structure",required:["PredictorName"],members:{PredictorName:{},ForecastHorizon:{type:"integer"},ForecastTypes:{shape:"S4"},ForecastDimensions:{shape:"S6"},ForecastFrequency:{},DataConfig:{shape:"S8"},EncryptionConfig:{shape:"Si"},ReferencePredictorArn:{},OptimizationMetric:{},ExplainPredictor:{type:"boolean"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{PredictorArn:{}}}},CreateDataset:{input:{type:"structure",required:["DatasetName","Domain","DatasetType","Schema"],members:{DatasetName:{},Domain:{},DatasetType:{},DataFrequency:{},Schema:{shape:"Su"},EncryptionConfig:{shape:"Si"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{DatasetArn:{}}}},CreateDatasetGroup:{input:{type:"structure",required:["DatasetGroupName","Domain"],members:{DatasetGroupName:{},Domain:{},DatasetArns:{shape:"S10"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{DatasetGroupArn:{}}}},CreateDatasetImportJob:{input:{type:"structure",required:["DatasetImportJobName","DatasetArn","DataSource"],members:{DatasetImportJobName:{},DatasetArn:{},DataSource:{shape:"S13"},TimestampFormat:{},TimeZone:{},UseGeolocationForTimeZone:{type:"boolean"},GeolocationFormat:{},Tags:{shape:"Sm"}}},output:{type:"structure",members:{DatasetImportJobArn:{}}}},CreateExplainability:{input:{type:"structure",required:["ExplainabilityName","ResourceArn","ExplainabilityConfig"],members:{ExplainabilityName:{},ResourceArn:{},ExplainabilityConfig:{shape:"S1c"},DataSource:{shape:"S13"},Schema:{shape:"Su"},EnableVisualization:{type:"boolean"},StartDateTime:{},EndDateTime:{},Tags:{shape:"Sm"}}},output:{type:"structure",members:{ExplainabilityArn:{}}}},CreateExplainabilityExport:{input:{type:"structure",required:["ExplainabilityExportName","ExplainabilityArn","Destination"],members:{ExplainabilityExportName:{},ExplainabilityArn:{},Destination:{shape:"S1i"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{ExplainabilityExportArn:{}}}},CreateForecast:{input:{type:"structure",required:["ForecastName","PredictorArn"],members:{ForecastName:{},PredictorArn:{},ForecastTypes:{shape:"S4"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{ForecastArn:{}}}},CreateForecastExportJob:{input:{type:"structure",required:["ForecastExportJobName","ForecastArn","Destination"],members:{ForecastExportJobName:{},ForecastArn:{},Destination:{shape:"S1i"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{ForecastExportJobArn:{}}}},CreatePredictor:{input:{type:"structure",required:["PredictorName","ForecastHorizon","InputDataConfig","FeaturizationConfig"],members:{PredictorName:{},AlgorithmArn:{},ForecastHorizon:{type:"integer"},ForecastTypes:{shape:"S4"},PerformAutoML:{type:"boolean"},AutoMLOverrideStrategy:{},PerformHPO:{type:"boolean"},TrainingParameters:{shape:"S1q"},EvaluationParameters:{shape:"S1t"},HPOConfig:{shape:"S1u"},InputDataConfig:{shape:"S24"},FeaturizationConfig:{shape:"S27"},EncryptionConfig:{shape:"Si"},Tags:{shape:"Sm"},OptimizationMetric:{}}},output:{type:"structure",members:{PredictorArn:{}}}},CreatePredictorBacktestExportJob:{input:{type:"structure",required:["PredictorBacktestExportJobName","PredictorArn","Destination"],members:{PredictorBacktestExportJobName:{},PredictorArn:{},Destination:{shape:"S1i"},Tags:{shape:"Sm"}}},output:{type:"structure",members:{PredictorBacktestExportJobArn:{}}}},DeleteDataset:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{}}},idempotent:!0},DeleteDatasetGroup:{input:{type:"structure",required:["DatasetGroupArn"],members:{DatasetGroupArn:{}}},idempotent:!0},DeleteDatasetImportJob:{input:{type:"structure",required:["DatasetImportJobArn"],members:{DatasetImportJobArn:{}}},idempotent:!0},DeleteExplainability:{input:{type:"structure",required:["ExplainabilityArn"],members:{ExplainabilityArn:{}}},idempotent:!0},DeleteExplainabilityExport:{input:{type:"structure",required:["ExplainabilityExportArn"],members:{ExplainabilityExportArn:{}}},idempotent:!0},DeleteForecast:{input:{type:"structure",required:["ForecastArn"],members:{ForecastArn:{}}},idempotent:!0},DeleteForecastExportJob:{input:{type:"structure",required:["ForecastExportJobArn"],members:{ForecastExportJobArn:{}}},idempotent:!0},DeletePredictor:{input:{type:"structure",required:["PredictorArn"],members:{PredictorArn:{}}},idempotent:!0},DeletePredictorBacktestExportJob:{input:{type:"structure",required:["PredictorBacktestExportJobArn"],members:{PredictorBacktestExportJobArn:{}}},idempotent:!0},DeleteResourceTree:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},idempotent:!0},DescribeAutoPredictor:{input:{type:"structure",required:["PredictorArn"],members:{PredictorArn:{}}},output:{type:"structure",members:{PredictorArn:{},PredictorName:{},ForecastHorizon:{type:"integer"},ForecastTypes:{shape:"S4"},ForecastFrequency:{},ForecastDimensions:{shape:"S6"},DatasetImportJobArns:{shape:"S10"},DataConfig:{shape:"S8"},EncryptionConfig:{shape:"Si"},ReferencePredictorSummary:{shape:"S2t"},EstimatedTimeRemainingInMinutes:{type:"long"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"},OptimizationMetric:{},ExplainabilityInfo:{type:"structure",members:{ExplainabilityArn:{},Status:{}}}}},idempotent:!0},DescribeDataset:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{}}},output:{type:"structure",members:{DatasetArn:{},DatasetName:{},Domain:{},DatasetType:{},DataFrequency:{},Schema:{shape:"Su"},EncryptionConfig:{shape:"Si"},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeDatasetGroup:{input:{type:"structure",required:["DatasetGroupArn"],members:{DatasetGroupArn:{}}},output:{type:"structure",members:{DatasetGroupName:{},DatasetGroupArn:{},DatasetArns:{shape:"S10"},Domain:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeDatasetImportJob:{input:{type:"structure",required:["DatasetImportJobArn"],members:{DatasetImportJobArn:{}}},output:{type:"structure",members:{DatasetImportJobName:{},DatasetImportJobArn:{},DatasetArn:{},TimestampFormat:{},TimeZone:{},UseGeolocationForTimeZone:{type:"boolean"},GeolocationFormat:{},DataSource:{shape:"S13"},EstimatedTimeRemainingInMinutes:{type:"long"},FieldStatistics:{type:"map",key:{},value:{type:"structure",members:{Count:{type:"integer"},CountDistinct:{type:"integer"},CountNull:{type:"integer"},CountNan:{type:"integer"},Min:{},Max:{},Avg:{type:"double"},Stddev:{type:"double"},CountLong:{type:"long"},CountDistinctLong:{type:"long"},CountNullLong:{type:"long"},CountNanLong:{type:"long"}}}},DataSize:{type:"double"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeExplainability:{input:{type:"structure",required:["ExplainabilityArn"],members:{ExplainabilityArn:{}}},output:{type:"structure",members:{ExplainabilityArn:{},ExplainabilityName:{},ResourceArn:{},ExplainabilityConfig:{shape:"S1c"},EnableVisualization:{type:"boolean"},DataSource:{shape:"S13"},Schema:{shape:"Su"},StartDateTime:{},EndDateTime:{},EstimatedTimeRemainingInMinutes:{type:"long"},Message:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeExplainabilityExport:{input:{type:"structure",required:["ExplainabilityExportArn"],members:{ExplainabilityExportArn:{}}},output:{type:"structure",members:{ExplainabilityExportArn:{},ExplainabilityExportName:{},ExplainabilityArn:{},Destination:{shape:"S1i"},Message:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeForecast:{input:{type:"structure",required:["ForecastArn"],members:{ForecastArn:{}}},output:{type:"structure",members:{ForecastArn:{},ForecastName:{},ForecastTypes:{shape:"S4"},PredictorArn:{},DatasetGroupArn:{},EstimatedTimeRemainingInMinutes:{type:"long"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribeForecastExportJob:{input:{type:"structure",required:["ForecastExportJobArn"],members:{ForecastExportJobArn:{}}},output:{type:"structure",members:{ForecastExportJobArn:{},ForecastExportJobName:{},ForecastArn:{},Destination:{shape:"S1i"},Message:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},DescribePredictor:{input:{type:"structure",required:["PredictorArn"],members:{PredictorArn:{}}},output:{type:"structure",members:{PredictorArn:{},PredictorName:{},AlgorithmArn:{},AutoMLAlgorithmArns:{shape:"S10"},ForecastHorizon:{type:"integer"},ForecastTypes:{shape:"S4"},PerformAutoML:{type:"boolean"},AutoMLOverrideStrategy:{},PerformHPO:{type:"boolean"},TrainingParameters:{shape:"S1q"},EvaluationParameters:{shape:"S1t"},HPOConfig:{shape:"S1u"},InputDataConfig:{shape:"S24"},FeaturizationConfig:{shape:"S27"},EncryptionConfig:{shape:"Si"},PredictorExecutionDetails:{type:"structure",members:{PredictorExecutions:{type:"list",member:{type:"structure",members:{AlgorithmArn:{},TestWindows:{type:"list",member:{type:"structure",members:{TestWindowStart:{type:"timestamp"},TestWindowEnd:{type:"timestamp"},Status:{},Message:{}}}}}}}}},EstimatedTimeRemainingInMinutes:{type:"long"},IsAutoPredictor:{type:"boolean"},DatasetImportJobArns:{shape:"S10"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"},OptimizationMetric:{}}},idempotent:!0},DescribePredictorBacktestExportJob:{input:{type:"structure",required:["PredictorBacktestExportJobArn"],members:{PredictorBacktestExportJobArn:{}}},output:{type:"structure",members:{PredictorBacktestExportJobArn:{},PredictorBacktestExportJobName:{},PredictorArn:{},Destination:{shape:"S1i"},Message:{},Status:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}},idempotent:!0},GetAccuracyMetrics:{input:{type:"structure",required:["PredictorArn"],members:{PredictorArn:{}}},output:{type:"structure",members:{PredictorEvaluationResults:{type:"list",member:{type:"structure",members:{AlgorithmArn:{},TestWindows:{type:"list",member:{type:"structure",members:{TestWindowStart:{type:"timestamp"},TestWindowEnd:{type:"timestamp"},ItemCount:{type:"integer"},EvaluationType:{},Metrics:{type:"structure",members:{RMSE:{deprecated:!0,deprecatedMessage:"This property is deprecated, please refer to ErrorMetrics for both RMSE and WAPE",type:"double"},WeightedQuantileLosses:{type:"list",member:{type:"structure",members:{Quantile:{type:"double"},LossValue:{type:"double"}}}},ErrorMetrics:{type:"list",member:{type:"structure",members:{ForecastType:{},WAPE:{type:"double"},RMSE:{type:"double"},MASE:{type:"double"},MAPE:{type:"double"}}}},AverageWeightedQuantileLoss:{type:"double"}}}}}}}}},IsAutoPredictor:{type:"boolean"},AutoMLOverrideStrategy:{},OptimizationMetric:{}}},idempotent:!0},ListDatasetGroups:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{DatasetGroups:{type:"list",member:{type:"structure",members:{DatasetGroupArn:{},DatasetGroupName:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListDatasetImportJobs:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{DatasetImportJobs:{type:"list",member:{type:"structure",members:{DatasetImportJobArn:{},DatasetImportJobName:{},DataSource:{shape:"S13"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListDatasets:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Datasets:{type:"list",member:{type:"structure",members:{DatasetArn:{},DatasetName:{},DatasetType:{},Domain:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListExplainabilities:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{Explainabilities:{type:"list",member:{type:"structure",members:{ExplainabilityArn:{},ExplainabilityName:{},ResourceArn:{},ExplainabilityConfig:{shape:"S1c"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListExplainabilityExports:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{ExplainabilityExports:{type:"list",member:{type:"structure",members:{ExplainabilityExportArn:{},ExplainabilityExportName:{},Destination:{shape:"S1i"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListForecastExportJobs:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{ForecastExportJobs:{type:"list",member:{type:"structure",members:{ForecastExportJobArn:{},ForecastExportJobName:{},Destination:{shape:"S1i"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListForecasts:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{Forecasts:{type:"list",member:{type:"structure",members:{ForecastArn:{},ForecastName:{},PredictorArn:{},CreatedUsingAutoPredictor:{type:"boolean"},DatasetGroupArn:{},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListPredictorBacktestExportJobs:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{PredictorBacktestExportJobs:{type:"list",member:{type:"structure",members:{PredictorBacktestExportJobArn:{},PredictorBacktestExportJobName:{},Destination:{shape:"S1i"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListPredictors:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S4a"}}},output:{type:"structure",members:{Predictors:{type:"list",member:{type:"structure",members:{PredictorArn:{},PredictorName:{},DatasetGroupArn:{},IsAutoPredictor:{type:"boolean"},ReferencePredictorSummary:{shape:"S2t"},Status:{},Message:{},CreationTime:{type:"timestamp"},LastModificationTime:{type:"timestamp"}}}},NextToken:{}}},idempotent:!0},ListTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{Tags:{shape:"Sm"}}}},StopResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},idempotent:!0},TagResource:{input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{},Tags:{shape:"Sm"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{},TagKeys:{type:"list",member:{shape:"So"}}}},output:{type:"structure",members:{}}},UpdateDatasetGroup:{input:{type:"structure",required:["DatasetGroupArn","DatasetArns"],members:{DatasetGroupArn:{},DatasetArns:{shape:"S10"}}},output:{type:"structure",members:{}},idempotent:!0}},shapes:{S4:{type:"list",member:{}},S6:{type:"list",member:{}},S8:{type:"structure",required:["DatasetGroupArn"],members:{DatasetGroupArn:{},AttributeConfigs:{type:"list",member:{type:"structure",required:["AttributeName","Transformations"],members:{AttributeName:{},Transformations:{type:"map",key:{},value:{}}}}},AdditionalDatasets:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Configuration:{type:"map",key:{},value:{shape:"Sh"}}}}}}},Sh:{type:"list",member:{}},Si:{type:"structure",required:["RoleArn","KMSKeyArn"],members:{RoleArn:{},KMSKeyArn:{}}},Sm:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{shape:"So"},Value:{type:"string",sensitive:!0}}}},So:{type:"string",sensitive:!0},Su:{type:"structure",members:{Attributes:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeType:{}}}}}},S10:{type:"list",member:{}},S13:{type:"structure",required:["S3Config"],members:{S3Config:{shape:"S14"}}},S14:{type:"structure",required:["Path","RoleArn"],members:{Path:{},RoleArn:{},KMSKeyArn:{}}},S1c:{type:"structure",required:["TimeSeriesGranularity","TimePointGranularity"],members:{TimeSeriesGranularity:{},TimePointGranularity:{}}},S1i:{type:"structure",required:["S3Config"],members:{S3Config:{shape:"S14"}}},S1q:{type:"map",key:{},value:{}},S1t:{type:"structure",members:{NumberOfBacktestWindows:{type:"integer"},BackTestWindowOffset:{type:"integer"}}},S1u:{type:"structure",members:{ParameterRanges:{type:"structure",members:{CategoricalParameterRanges:{type:"list",member:{type:"structure",required:["Name","Values"],members:{Name:{},Values:{shape:"Sh"}}}},ContinuousParameterRanges:{type:"list",member:{type:"structure",required:["Name","MaxValue","MinValue"],members:{Name:{},MaxValue:{type:"double"},MinValue:{type:"double"},ScalingType:{}}}},IntegerParameterRanges:{type:"list",member:{type:"structure",required:["Name","MaxValue","MinValue"],members:{Name:{},MaxValue:{type:"integer"},MinValue:{type:"integer"},ScalingType:{}}}}}}}},S24:{type:"structure",required:["DatasetGroupArn"],members:{DatasetGroupArn:{},SupplementaryFeatures:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}}}},S27:{type:"structure",required:["ForecastFrequency"],members:{ForecastFrequency:{},ForecastDimensions:{shape:"S6"},Featurizations:{type:"list",member:{type:"structure",required:["AttributeName"],members:{AttributeName:{},FeaturizationPipeline:{type:"list",member:{type:"structure",required:["FeaturizationMethodName"],members:{FeaturizationMethodName:{},FeaturizationMethodParameters:{type:"map",key:{},value:{}}}}}}}}}},S2t:{type:"structure",members:{Arn:{},State:{}}},S4a:{type:"list",member:{type:"structure",required:["Key","Value","Condition"],members:{Key:{},Value:{},Condition:{}}}}}}},{}],116:[function(e,t,r){t.exports={pagination:{ListDatasetGroups:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DatasetGroups"},ListDatasetImportJobs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DatasetImportJobs"},ListDatasets:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Datasets"},ListForecastExportJobs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ForecastExportJobs"},ListForecasts:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Forecasts"},ListPredictorBacktestExportJobs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"PredictorBacktestExportJobs"},ListPredictors:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Predictors"}}}},{}],117:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-06-26",endpointPrefix:"forecastquery",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Forecast Query Service",serviceId:"forecastquery",signatureVersion:"v4",signingName:"forecast",targetPrefix:"AmazonForecastRuntime",uid:"forecastquery-2018-06-26"},operations:{QueryForecast:{input:{type:"structure",required:["ForecastArn","Filters"],members:{ForecastArn:{},StartDate:{},EndDate:{},Filters:{type:"map",key:{},value:{}},NextToken:{}}},output:{type:"structure",members:{Forecast:{type:"structure",members:{Predictions:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{Timestamp:{},Value:{type:"double"}}}}}}}}}}},shapes:{}}},{}],118:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],119:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-10-01",endpointPrefix:"gamelift",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon GameLift",serviceId:"GameLift",signatureVersion:"v4",targetPrefix:"GameLift",uid:"gamelift-2015-10-01"},operations:{AcceptMatch:{input:{type:"structure",required:["TicketId","PlayerIds","AcceptanceType"],members:{TicketId:{},PlayerIds:{shape:"S3"},AcceptanceType:{}}},output:{type:"structure",members:{}}},ClaimGameServer:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},GameServerId:{},GameServerData:{}}},output:{type:"structure",members:{GameServer:{shape:"Sc"}}}},CreateAlias:{input:{type:"structure",required:["Name","RoutingStrategy"],members:{Name:{},Description:{},RoutingStrategy:{shape:"Sm"},Tags:{shape:"Sq"}}},output:{type:"structure",members:{Alias:{shape:"Sv"}}}},CreateBuild:{input:{type:"structure",members:{Name:{},Version:{},StorageLocation:{shape:"Sz"},OperatingSystem:{},Tags:{shape:"Sq"}}},output:{type:"structure",members:{Build:{shape:"S13"},UploadCredentials:{shape:"S18"},StorageLocation:{shape:"Sz"}}}},CreateFleet:{input:{type:"structure",required:["Name","EC2InstanceType"],members:{Name:{},Description:{},BuildId:{},ScriptId:{},ServerLaunchPath:{},ServerLaunchParameters:{},LogPaths:{shape:"S3"},EC2InstanceType:{},EC2InboundPermissions:{shape:"S1f"},NewGameSessionProtectionPolicy:{},RuntimeConfiguration:{shape:"S1l"},ResourceCreationLimitPolicy:{shape:"S1r"},MetricGroups:{shape:"S1t"},PeerVpcAwsAccountId:{},PeerVpcId:{},FleetType:{},InstanceRoleArn:{},CertificateConfiguration:{shape:"S1w"},Locations:{shape:"S1y"},Tags:{shape:"Sq"}}},output:{type:"structure",members:{FleetAttributes:{shape:"S22"},LocationStates:{shape:"S29"}}}},CreateFleetLocations:{input:{type:"structure",required:["FleetId","Locations"],members:{FleetId:{},Locations:{shape:"S1y"}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},LocationStates:{shape:"S29"}}}},CreateGameServerGroup:{input:{type:"structure",required:["GameServerGroupName","RoleArn","MinSize","MaxSize","LaunchTemplate","InstanceDefinitions"],members:{GameServerGroupName:{},RoleArn:{},MinSize:{type:"integer"},MaxSize:{type:"integer"},LaunchTemplate:{type:"structure",members:{LaunchTemplateId:{},LaunchTemplateName:{},Version:{}}},InstanceDefinitions:{shape:"S2k"},AutoScalingPolicy:{type:"structure",required:["TargetTrackingConfiguration"],members:{EstimatedInstanceWarmup:{type:"integer"},TargetTrackingConfiguration:{type:"structure",required:["TargetValue"],members:{TargetValue:{type:"double"}}}}},BalancingStrategy:{},GameServerProtectionPolicy:{},VpcSubnets:{type:"list",member:{}},Tags:{shape:"Sq"}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},CreateGameSession:{input:{type:"structure",required:["MaximumPlayerSessionCount"],members:{FleetId:{},AliasId:{},MaximumPlayerSessionCount:{type:"integer"},Name:{},GameProperties:{shape:"S33"},CreatorId:{},GameSessionId:{},IdempotencyToken:{},GameSessionData:{},Location:{}}},output:{type:"structure",members:{GameSession:{shape:"S3a"}}}},CreateGameSessionQueue:{input:{type:"structure",required:["Name"],members:{Name:{},TimeoutInSeconds:{type:"integer"},PlayerLatencyPolicies:{shape:"S3j"},Destinations:{shape:"S3l"},FilterConfiguration:{shape:"S3o"},PriorityConfiguration:{shape:"S3q"},CustomEventData:{},NotificationTarget:{},Tags:{shape:"Sq"}}},output:{type:"structure",members:{GameSessionQueue:{shape:"S3w"}}}},CreateMatchmakingConfiguration:{input:{type:"structure",required:["Name","RequestTimeoutSeconds","AcceptanceRequired","RuleSetName"],members:{Name:{},Description:{},GameSessionQueueArns:{shape:"S3z"},RequestTimeoutSeconds:{type:"integer"},AcceptanceTimeoutSeconds:{type:"integer"},AcceptanceRequired:{type:"boolean"},RuleSetName:{},NotificationTarget:{},AdditionalPlayerCount:{type:"integer"},CustomEventData:{},GameProperties:{shape:"S33"},GameSessionData:{},BackfillMode:{},FlexMatchMode:{},Tags:{shape:"Sq"}}},output:{type:"structure",members:{Configuration:{shape:"S4a"}}}},CreateMatchmakingRuleSet:{input:{type:"structure",required:["Name","RuleSetBody"],members:{Name:{},RuleSetBody:{},Tags:{shape:"Sq"}}},output:{type:"structure",required:["RuleSet"],members:{RuleSet:{shape:"S4g"}}}},CreatePlayerSession:{input:{type:"structure",required:["GameSessionId","PlayerId"],members:{GameSessionId:{},PlayerId:{},PlayerData:{}}},output:{type:"structure",members:{PlayerSession:{shape:"S4k"}}}},CreatePlayerSessions:{input:{type:"structure",required:["GameSessionId","PlayerIds"],members:{GameSessionId:{},PlayerIds:{type:"list",member:{}},PlayerDataMap:{type:"map",key:{},value:{}}}},output:{type:"structure",members:{PlayerSessions:{shape:"S4r"}}}},CreateScript:{input:{type:"structure",members:{Name:{},Version:{},StorageLocation:{shape:"Sz"},ZipFile:{type:"blob"},Tags:{shape:"Sq"}}},output:{type:"structure",members:{Script:{shape:"S4v"}}}},CreateVpcPeeringAuthorization:{input:{type:"structure",required:["GameLiftAwsAccountId","PeerVpcId"],members:{GameLiftAwsAccountId:{},PeerVpcId:{}}},output:{type:"structure",members:{VpcPeeringAuthorization:{shape:"S4y"}}}},CreateVpcPeeringConnection:{input:{type:"structure",required:["FleetId","PeerVpcAwsAccountId","PeerVpcId"],members:{FleetId:{},PeerVpcAwsAccountId:{},PeerVpcId:{}}},output:{type:"structure",members:{}}},DeleteAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}}},DeleteBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}}},DeleteFleet:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}}},DeleteFleetLocations:{input:{type:"structure",required:["FleetId","Locations"],members:{FleetId:{},Locations:{shape:"S3p"}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},LocationStates:{shape:"S29"}}}},DeleteGameServerGroup:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},DeleteOption:{}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},DeleteGameSessionQueue:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteMatchmakingConfiguration:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteMatchmakingRuleSet:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteScalingPolicy:{input:{type:"structure",required:["Name","FleetId"],members:{Name:{},FleetId:{}}}},DeleteScript:{input:{type:"structure",required:["ScriptId"],members:{ScriptId:{}}}},DeleteVpcPeeringAuthorization:{input:{type:"structure",required:["GameLiftAwsAccountId","PeerVpcId"],members:{GameLiftAwsAccountId:{},PeerVpcId:{}}},output:{type:"structure",members:{}}},DeleteVpcPeeringConnection:{input:{type:"structure",required:["FleetId","VpcPeeringConnectionId"],members:{FleetId:{},VpcPeeringConnectionId:{}}},output:{type:"structure",members:{}}},DeregisterGameServer:{input:{type:"structure",required:["GameServerGroupName","GameServerId"],members:{GameServerGroupName:{},GameServerId:{}}}},DescribeAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}},output:{type:"structure",members:{Alias:{shape:"Sv"}}}},DescribeBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}},output:{type:"structure",members:{Build:{shape:"S13"}}}},DescribeEC2InstanceLimits:{input:{type:"structure",members:{EC2InstanceType:{},Location:{}}},output:{type:"structure",members:{EC2InstanceLimits:{type:"list",member:{type:"structure",members:{EC2InstanceType:{},CurrentInstances:{type:"integer"},InstanceLimit:{type:"integer"},Location:{}}}}}}},DescribeFleetAttributes:{input:{type:"structure",members:{FleetIds:{shape:"S5x"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetAttributes:{type:"list",member:{shape:"S22"}},NextToken:{}}}},DescribeFleetCapacity:{input:{type:"structure",members:{FleetIds:{shape:"S5x"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetCapacity:{type:"list",member:{shape:"S63"}},NextToken:{}}}},DescribeFleetEvents:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Events:{type:"list",member:{type:"structure",members:{EventId:{},ResourceId:{},EventCode:{},Message:{},EventTime:{type:"timestamp"},PreSignedLogUrl:{}}}},NextToken:{}}}},DescribeFleetLocationAttributes:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},Locations:{shape:"S3p"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},LocationAttributes:{type:"list",member:{type:"structure",members:{LocationState:{shape:"S2a"},StoppedActions:{shape:"S27"},UpdateStatus:{}}}},NextToken:{}}}},DescribeFleetLocationCapacity:{input:{type:"structure",required:["FleetId","Location"],members:{FleetId:{},Location:{}}},output:{type:"structure",members:{FleetCapacity:{shape:"S63"}}}},DescribeFleetLocationUtilization:{input:{type:"structure",required:["FleetId","Location"],members:{FleetId:{},Location:{}}},output:{type:"structure",members:{FleetUtilization:{shape:"S6j"}}}},DescribeFleetPortSettings:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},Location:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},InboundPermissions:{shape:"S1f"},UpdateStatus:{},Location:{}}}},DescribeFleetUtilization:{input:{type:"structure",members:{FleetIds:{shape:"S5x"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetUtilization:{type:"list",member:{shape:"S6j"}},NextToken:{}}}},DescribeGameServer:{input:{type:"structure",required:["GameServerGroupName","GameServerId"],members:{GameServerGroupName:{},GameServerId:{}}},output:{type:"structure",members:{GameServer:{shape:"Sc"}}}},DescribeGameServerGroup:{ +input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},DescribeGameServerInstances:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},InstanceIds:{type:"list",member:{}},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameServerInstances:{type:"list",member:{type:"structure",members:{GameServerGroupName:{},GameServerGroupArn:{},InstanceId:{},InstanceStatus:{}}}},NextToken:{}}}},DescribeGameSessionDetails:{input:{type:"structure",members:{FleetId:{},GameSessionId:{},AliasId:{},Location:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessionDetails:{type:"list",member:{type:"structure",members:{GameSession:{shape:"S3a"},ProtectionPolicy:{}}}},NextToken:{}}}},DescribeGameSessionPlacement:{input:{type:"structure",required:["PlacementId"],members:{PlacementId:{}}},output:{type:"structure",members:{GameSessionPlacement:{shape:"S75"}}}},DescribeGameSessionQueues:{input:{type:"structure",members:{Names:{type:"list",member:{}},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessionQueues:{type:"list",member:{shape:"S3w"}},NextToken:{}}}},DescribeGameSessions:{input:{type:"structure",members:{FleetId:{},GameSessionId:{},AliasId:{},Location:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessions:{shape:"S7i"},NextToken:{}}}},DescribeInstances:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},InstanceId:{},Limit:{type:"integer"},NextToken:{},Location:{}}},output:{type:"structure",members:{Instances:{type:"list",member:{type:"structure",members:{FleetId:{},FleetArn:{},InstanceId:{},IpAddress:{},DnsName:{},OperatingSystem:{},Type:{},Status:{},CreationTime:{type:"timestamp"},Location:{}}}},NextToken:{}}}},DescribeMatchmaking:{input:{type:"structure",required:["TicketIds"],members:{TicketIds:{type:"list",member:{}}}},output:{type:"structure",members:{TicketList:{type:"list",member:{shape:"S7t"}}}}},DescribeMatchmakingConfigurations:{input:{type:"structure",members:{Names:{type:"list",member:{}},RuleSetName:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Configurations:{type:"list",member:{shape:"S4a"}},NextToken:{}}}},DescribeMatchmakingRuleSets:{input:{type:"structure",members:{Names:{type:"list",member:{}},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["RuleSets"],members:{RuleSets:{type:"list",member:{shape:"S4g"}},NextToken:{}}}},DescribePlayerSessions:{input:{type:"structure",members:{GameSessionId:{},PlayerId:{},PlayerSessionId:{},PlayerSessionStatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{PlayerSessions:{shape:"S4r"},NextToken:{}}}},DescribeRuntimeConfiguration:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}},output:{type:"structure",members:{RuntimeConfiguration:{shape:"S1l"}}}},DescribeScalingPolicies:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{},Location:{}}},output:{type:"structure",members:{ScalingPolicies:{type:"list",member:{type:"structure",members:{FleetId:{},FleetArn:{},Name:{},Status:{},ScalingAdjustment:{type:"integer"},ScalingAdjustmentType:{},ComparisonOperator:{},Threshold:{type:"double"},EvaluationPeriods:{type:"integer"},MetricName:{},PolicyType:{},TargetConfiguration:{shape:"S8u"},UpdateStatus:{},Location:{}}}},NextToken:{}}}},DescribeScript:{input:{type:"structure",required:["ScriptId"],members:{ScriptId:{}}},output:{type:"structure",members:{Script:{shape:"S4v"}}}},DescribeVpcPeeringAuthorizations:{input:{type:"structure",members:{}},output:{type:"structure",members:{VpcPeeringAuthorizations:{type:"list",member:{shape:"S4y"}}}}},DescribeVpcPeeringConnections:{input:{type:"structure",members:{FleetId:{}}},output:{type:"structure",members:{VpcPeeringConnections:{type:"list",member:{type:"structure",members:{FleetId:{},FleetArn:{},IpV4CidrBlock:{},VpcPeeringConnectionId:{},Status:{type:"structure",members:{Code:{},Message:{}}},PeerVpcId:{},GameLiftVpcId:{}}}}}}},GetGameSessionLogUrl:{input:{type:"structure",required:["GameSessionId"],members:{GameSessionId:{}}},output:{type:"structure",members:{PreSignedUrl:{}}}},GetInstanceAccess:{input:{type:"structure",required:["FleetId","InstanceId"],members:{FleetId:{},InstanceId:{}}},output:{type:"structure",members:{InstanceAccess:{type:"structure",members:{FleetId:{},InstanceId:{},IpAddress:{},OperatingSystem:{},Credentials:{type:"structure",members:{UserName:{},Secret:{}},sensitive:!0}}}}}},ListAliases:{input:{type:"structure",members:{RoutingStrategyType:{},Name:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Aliases:{type:"list",member:{shape:"Sv"}},NextToken:{}}}},ListBuilds:{input:{type:"structure",members:{Status:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Builds:{type:"list",member:{shape:"S13"}},NextToken:{}}}},ListFleets:{input:{type:"structure",members:{BuildId:{},ScriptId:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetIds:{type:"list",member:{}},NextToken:{}}}},ListGameServerGroups:{input:{type:"structure",members:{Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameServerGroups:{type:"list",member:{shape:"S2w"}},NextToken:{}}}},ListGameServers:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},SortOrder:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameServers:{type:"list",member:{shape:"Sc"}},NextToken:{}}}},ListScripts:{input:{type:"structure",members:{Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Scripts:{type:"list",member:{shape:"S4v"}},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{}}},output:{type:"structure",members:{Tags:{shape:"Sq"}}}},PutScalingPolicy:{input:{type:"structure",required:["Name","FleetId","MetricName"],members:{Name:{},FleetId:{},ScalingAdjustment:{type:"integer"},ScalingAdjustmentType:{},Threshold:{type:"double"},ComparisonOperator:{},EvaluationPeriods:{type:"integer"},MetricName:{},PolicyType:{},TargetConfiguration:{shape:"S8u"}}},output:{type:"structure",members:{Name:{}}}},RegisterGameServer:{input:{type:"structure",required:["GameServerGroupName","GameServerId","InstanceId"],members:{GameServerGroupName:{},GameServerId:{},InstanceId:{},ConnectionInfo:{},GameServerData:{}}},output:{type:"structure",members:{GameServer:{shape:"Sc"}}}},RequestUploadCredentials:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}},output:{type:"structure",members:{UploadCredentials:{shape:"S18"},StorageLocation:{shape:"Sz"}}}},ResolveAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{}}}},ResumeGameServerGroup:{input:{type:"structure",required:["GameServerGroupName","ResumeActions"],members:{GameServerGroupName:{},ResumeActions:{shape:"S2z"}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},SearchGameSessions:{input:{type:"structure",members:{FleetId:{},AliasId:{},Location:{},FilterExpression:{},SortExpression:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessions:{shape:"S7i"},NextToken:{}}}},StartFleetActions:{input:{type:"structure",required:["FleetId","Actions"],members:{FleetId:{},Actions:{shape:"S27"},Location:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{}}}},StartGameSessionPlacement:{input:{type:"structure",required:["PlacementId","GameSessionQueueName","MaximumPlayerSessionCount"],members:{PlacementId:{},GameSessionQueueName:{},GameProperties:{shape:"S33"},MaximumPlayerSessionCount:{type:"integer"},GameSessionName:{},PlayerLatencies:{shape:"S77"},DesiredPlayerSessions:{type:"list",member:{type:"structure",members:{PlayerId:{},PlayerData:{}}}},GameSessionData:{}}},output:{type:"structure",members:{GameSessionPlacement:{shape:"S75"}}}},StartMatchBackfill:{input:{type:"structure",required:["ConfigurationName","Players"],members:{TicketId:{},ConfigurationName:{},GameSessionArn:{},Players:{shape:"S7w"}}},output:{type:"structure",members:{MatchmakingTicket:{shape:"S7t"}}}},StartMatchmaking:{input:{type:"structure",required:["ConfigurationName","Players"],members:{TicketId:{},ConfigurationName:{},Players:{shape:"S7w"}}},output:{type:"structure",members:{MatchmakingTicket:{shape:"S7t"}}}},StopFleetActions:{input:{type:"structure",required:["FleetId","Actions"],members:{FleetId:{},Actions:{shape:"S27"},Location:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{}}}},StopGameSessionPlacement:{input:{type:"structure",required:["PlacementId"],members:{PlacementId:{}}},output:{type:"structure",members:{GameSessionPlacement:{shape:"S75"}}}},StopMatchmaking:{input:{type:"structure",required:["TicketId"],members:{TicketId:{}}},output:{type:"structure",members:{}}},SuspendGameServerGroup:{input:{type:"structure",required:["GameServerGroupName","SuspendActions"],members:{GameServerGroupName:{},SuspendActions:{shape:"S2z"}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},TagResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"Sq"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{},Name:{},Description:{},RoutingStrategy:{shape:"Sm"}}},output:{type:"structure",members:{Alias:{shape:"Sv"}}}},UpdateBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{},Name:{},Version:{}}},output:{type:"structure",members:{Build:{shape:"S13"}}}},UpdateFleetAttributes:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},Name:{},Description:{},NewGameSessionProtectionPolicy:{},ResourceCreationLimitPolicy:{shape:"S1r"},MetricGroups:{shape:"S1t"}}},output:{type:"structure",members:{FleetId:{}}}},UpdateFleetCapacity:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},DesiredInstances:{type:"integer"},MinSize:{type:"integer"},MaxSize:{type:"integer"},Location:{}}},output:{type:"structure",members:{FleetId:{},FleetArn:{},Location:{}}}},UpdateFleetPortSettings:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},InboundPermissionAuthorizations:{shape:"S1f"},InboundPermissionRevocations:{shape:"S1f"}}},output:{type:"structure",members:{FleetId:{}}}},UpdateGameServer:{input:{type:"structure",required:["GameServerGroupName","GameServerId"],members:{GameServerGroupName:{},GameServerId:{},GameServerData:{},UtilizationStatus:{},HealthCheck:{}}},output:{type:"structure",members:{GameServer:{shape:"Sc"}}}},UpdateGameServerGroup:{input:{type:"structure",required:["GameServerGroupName"],members:{GameServerGroupName:{},RoleArn:{},InstanceDefinitions:{shape:"S2k"},GameServerProtectionPolicy:{},BalancingStrategy:{}}},output:{type:"structure",members:{GameServerGroup:{shape:"S2w"}}}},UpdateGameSession:{input:{type:"structure",required:["GameSessionId"],members:{GameSessionId:{},MaximumPlayerSessionCount:{type:"integer"},Name:{},PlayerSessionCreationPolicy:{},ProtectionPolicy:{}}},output:{type:"structure",members:{GameSession:{shape:"S3a"}}}},UpdateGameSessionQueue:{input:{type:"structure",required:["Name"],members:{Name:{},TimeoutInSeconds:{type:"integer"},PlayerLatencyPolicies:{shape:"S3j"},Destinations:{shape:"S3l"},FilterConfiguration:{shape:"S3o"},PriorityConfiguration:{shape:"S3q"},CustomEventData:{},NotificationTarget:{}}},output:{type:"structure",members:{GameSessionQueue:{shape:"S3w"}}}},UpdateMatchmakingConfiguration:{input:{type:"structure",required:["Name"],members:{Name:{},Description:{},GameSessionQueueArns:{shape:"S3z"},RequestTimeoutSeconds:{type:"integer"},AcceptanceTimeoutSeconds:{type:"integer"},AcceptanceRequired:{type:"boolean"},RuleSetName:{},NotificationTarget:{},AdditionalPlayerCount:{type:"integer"},CustomEventData:{},GameProperties:{shape:"S33"},GameSessionData:{},BackfillMode:{},FlexMatchMode:{}}},output:{type:"structure",members:{Configuration:{shape:"S4a"}}}},UpdateRuntimeConfiguration:{input:{type:"structure",required:["FleetId","RuntimeConfiguration"],members:{FleetId:{},RuntimeConfiguration:{shape:"S1l"}}},output:{type:"structure",members:{RuntimeConfiguration:{shape:"S1l"}}}},UpdateScript:{input:{type:"structure",required:["ScriptId"],members:{ScriptId:{},Name:{},Version:{},StorageLocation:{shape:"Sz"},ZipFile:{type:"blob"}}},output:{type:"structure",members:{Script:{shape:"S4v"}}}},ValidateMatchmakingRuleSet:{input:{type:"structure",required:["RuleSetBody"],members:{RuleSetBody:{}}},output:{type:"structure",members:{Valid:{type:"boolean"}}}}},shapes:{S3:{type:"list",member:{}},Sc:{type:"structure",members:{GameServerGroupName:{},GameServerGroupArn:{},GameServerId:{},InstanceId:{},ConnectionInfo:{},GameServerData:{},ClaimStatus:{},UtilizationStatus:{},RegistrationTime:{type:"timestamp"},LastClaimTime:{type:"timestamp"},LastHealthCheckTime:{type:"timestamp"}}},Sm:{type:"structure",members:{Type:{},FleetId:{},Message:{}}},Sq:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Sv:{type:"structure",members:{AliasId:{},Name:{},AliasArn:{},Description:{},RoutingStrategy:{shape:"Sm"},CreationTime:{type:"timestamp"},LastUpdatedTime:{type:"timestamp"}}},Sz:{type:"structure",members:{Bucket:{},Key:{},RoleArn:{},ObjectVersion:{}}},S13:{type:"structure",members:{BuildId:{},BuildArn:{},Name:{},Version:{},Status:{},SizeOnDisk:{type:"long"},OperatingSystem:{},CreationTime:{type:"timestamp"}}},S18:{type:"structure",members:{AccessKeyId:{},SecretAccessKey:{},SessionToken:{}},sensitive:!0},S1f:{type:"list",member:{type:"structure",required:["FromPort","ToPort","IpRange","Protocol"],members:{FromPort:{type:"integer"},ToPort:{type:"integer"},IpRange:{},Protocol:{}}}},S1l:{type:"structure",members:{ServerProcesses:{type:"list",member:{type:"structure",required:["LaunchPath","ConcurrentExecutions"],members:{LaunchPath:{},Parameters:{},ConcurrentExecutions:{type:"integer"}}}},MaxConcurrentGameSessionActivations:{type:"integer"},GameSessionActivationTimeoutSeconds:{type:"integer"}}},S1r:{type:"structure",members:{NewGameSessionsPerCreator:{type:"integer"},PolicyPeriodInMinutes:{type:"integer"}}},S1t:{type:"list",member:{}},S1w:{type:"structure",required:["CertificateType"],members:{CertificateType:{}}},S1y:{type:"list",member:{type:"structure",members:{Location:{}}}},S22:{type:"structure",members:{FleetId:{},FleetArn:{},FleetType:{},InstanceType:{},Description:{},Name:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},Status:{},BuildId:{},BuildArn:{},ScriptId:{},ScriptArn:{},ServerLaunchPath:{},ServerLaunchParameters:{},LogPaths:{shape:"S3"},NewGameSessionProtectionPolicy:{},OperatingSystem:{},ResourceCreationLimitPolicy:{shape:"S1r"},MetricGroups:{shape:"S1t"},StoppedActions:{shape:"S27"},InstanceRoleArn:{},CertificateConfiguration:{shape:"S1w"}}},S27:{type:"list",member:{}},S29:{type:"list",member:{shape:"S2a"}},S2a:{type:"structure",members:{Location:{},Status:{}}},S2k:{type:"list",member:{type:"structure",required:["InstanceType"],members:{InstanceType:{},WeightedCapacity:{}}}},S2w:{type:"structure",members:{GameServerGroupName:{},GameServerGroupArn:{},RoleArn:{},InstanceDefinitions:{shape:"S2k"},BalancingStrategy:{},GameServerProtectionPolicy:{},AutoScalingGroupArn:{},Status:{},StatusReason:{},SuspendedActions:{shape:"S2z"},CreationTime:{type:"timestamp"},LastUpdatedTime:{type:"timestamp"}}},S2z:{type:"list",member:{}},S33:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S3a:{type:"structure",members:{GameSessionId:{},Name:{},FleetId:{},FleetArn:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},CurrentPlayerSessionCount:{type:"integer"},MaximumPlayerSessionCount:{type:"integer"},Status:{},StatusReason:{},GameProperties:{shape:"S33"},IpAddress:{},DnsName:{},Port:{type:"integer"},PlayerSessionCreationPolicy:{},CreatorId:{},GameSessionData:{},MatchmakerData:{},Location:{}}},S3j:{type:"list",member:{type:"structure",members:{MaximumIndividualPlayerLatencyMilliseconds:{type:"integer"},PolicyDurationSeconds:{type:"integer"}}}},S3l:{type:"list",member:{type:"structure",members:{DestinationArn:{}}}},S3o:{type:"structure",members:{AllowedLocations:{shape:"S3p"}}},S3p:{type:"list",member:{}},S3q:{type:"structure",members:{PriorityOrder:{type:"list",member:{}},LocationOrder:{shape:"S3p"}}},S3w:{type:"structure",members:{Name:{},GameSessionQueueArn:{},TimeoutInSeconds:{type:"integer"},PlayerLatencyPolicies:{shape:"S3j"},Destinations:{shape:"S3l"},FilterConfiguration:{shape:"S3o"},PriorityConfiguration:{shape:"S3q"},CustomEventData:{},NotificationTarget:{}}},S3z:{type:"list",member:{}},S4a:{type:"structure",members:{Name:{},ConfigurationArn:{},Description:{},GameSessionQueueArns:{shape:"S3z"},RequestTimeoutSeconds:{type:"integer"},AcceptanceTimeoutSeconds:{type:"integer"},AcceptanceRequired:{type:"boolean"},RuleSetName:{},RuleSetArn:{},NotificationTarget:{},AdditionalPlayerCount:{type:"integer"},CustomEventData:{},CreationTime:{type:"timestamp"},GameProperties:{shape:"S33"},GameSessionData:{},BackfillMode:{},FlexMatchMode:{}}},S4g:{type:"structure",required:["RuleSetBody"],members:{RuleSetName:{},RuleSetArn:{},RuleSetBody:{},CreationTime:{type:"timestamp"}}},S4k:{type:"structure",members:{PlayerSessionId:{},PlayerId:{},GameSessionId:{},FleetId:{},FleetArn:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},Status:{},IpAddress:{},DnsName:{},Port:{type:"integer"},PlayerData:{}}},S4r:{type:"list",member:{shape:"S4k"}},S4v:{type:"structure",members:{ScriptId:{},ScriptArn:{},Name:{},Version:{},SizeOnDisk:{type:"long"},CreationTime:{type:"timestamp"},StorageLocation:{shape:"Sz"}}},S4y:{type:"structure",members:{GameLiftAwsAccountId:{},PeerVpcAwsAccountId:{},PeerVpcId:{},CreationTime:{type:"timestamp"},ExpirationTime:{type:"timestamp"}}},S5x:{type:"list",member:{}},S63:{type:"structure",members:{FleetId:{},FleetArn:{},InstanceType:{},InstanceCounts:{type:"structure",members:{DESIRED:{type:"integer"},MINIMUM:{type:"integer"},MAXIMUM:{type:"integer"},PENDING:{type:"integer"},ACTIVE:{type:"integer"},IDLE:{type:"integer"},TERMINATING:{type:"integer"}}},Location:{}}},S6j:{type:"structure",members:{FleetId:{},FleetArn:{},ActiveServerProcessCount:{type:"integer"},ActiveGameSessionCount:{type:"integer"},CurrentPlayerSessionCount:{type:"integer"},MaximumPlayerSessionCount:{type:"integer"},Location:{}}},S75:{type:"structure",members:{PlacementId:{},GameSessionQueueName:{},Status:{},GameProperties:{shape:"S33"},MaximumPlayerSessionCount:{type:"integer"},GameSessionName:{},GameSessionId:{},GameSessionArn:{},GameSessionRegion:{},PlayerLatencies:{shape:"S77"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},IpAddress:{},DnsName:{},Port:{type:"integer"},PlacedPlayerSessions:{type:"list",member:{type:"structure",members:{PlayerId:{},PlayerSessionId:{}}}},GameSessionData:{},MatchmakerData:{}}},S77:{type:"list",member:{type:"structure",members:{PlayerId:{},RegionIdentifier:{},LatencyInMilliseconds:{type:"float"}}}},S7i:{type:"list",member:{shape:"S3a"}},S7t:{type:"structure",members:{TicketId:{},ConfigurationName:{},ConfigurationArn:{},Status:{},StatusReason:{},StatusMessage:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Players:{shape:"S7w"},GameSessionConnectionInfo:{type:"structure",members:{GameSessionArn:{},IpAddress:{},DnsName:{},Port:{type:"integer"},MatchedPlayerSessions:{type:"list",member:{type:"structure",members:{PlayerId:{},PlayerSessionId:{}}}}}},EstimatedWaitTime:{type:"integer"}}},S7w:{type:"list",member:{type:"structure",members:{PlayerId:{},PlayerAttributes:{type:"map",key:{},value:{type:"structure",members:{S:{},N:{type:"double"},SL:{shape:"S3"},SDM:{type:"map",key:{},value:{type:"double"}}}}},Team:{},LatencyInMs:{type:"map",key:{},value:{type:"integer"}}}}},S8u:{type:"structure",required:["TargetValue"],members:{TargetValue:{type:"double"}}}}}},{}],120:[function(e,t,r){t.exports={pagination:{DescribeFleetAttributes:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"FleetAttributes"},DescribeFleetCapacity:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"FleetCapacity"},DescribeFleetEvents:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Events"},DescribeFleetLocationAttributes:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit"},DescribeFleetUtilization:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"FleetUtilization"},DescribeGameServerInstances:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameServerInstances"},DescribeGameSessionDetails:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameSessionDetails"},DescribeGameSessionQueues:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameSessionQueues"},DescribeGameSessions:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameSessions"},DescribeInstances:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Instances"},DescribeMatchmakingConfigurations:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Configurations"},DescribeMatchmakingRuleSets:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"RuleSets"},DescribePlayerSessions:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"PlayerSessions"},DescribeScalingPolicies:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"ScalingPolicies"},ListAliases:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Aliases"},ListBuilds:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Builds"},ListFleets:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"FleetIds"},ListGameServerGroups:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameServerGroups"},ListGameServers:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameServers"},ListScripts:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"Scripts"},SearchGameSessions:{input_token:"NextToken",output_token:"NextToken",limit_key:"Limit",result_key:"GameSessions"}}}},{}],121:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-05-08",endpointPrefix:"iam",globalEndpoint:"iam.amazonaws.com",protocol:"query",serviceAbbreviation:"IAM",serviceFullName:"AWS Identity and Access Management",serviceId:"IAM",signatureVersion:"v4",uid:"iam-2010-05-08",xmlNamespace:"https://iam.amazonaws.com/doc/2010-05-08/"},operations:{AddClientIDToOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn","ClientID"],members:{OpenIDConnectProviderArn:{},ClientID:{}}}},AddRoleToInstanceProfile:{input:{type:"structure",required:["InstanceProfileName","RoleName"],members:{InstanceProfileName:{},RoleName:{}}}},AddUserToGroup:{input:{type:"structure",required:["GroupName","UserName"],members:{GroupName:{},UserName:{}}}},AttachGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyArn"],members:{GroupName:{},PolicyArn:{}}}},AttachRolePolicy:{input:{type:"structure",required:["RoleName","PolicyArn"],members:{RoleName:{},PolicyArn:{}}}},AttachUserPolicy:{input:{type:"structure",required:["UserName","PolicyArn"],members:{UserName:{},PolicyArn:{}}}},ChangePassword:{input:{type:"structure",required:["OldPassword","NewPassword"],members:{OldPassword:{shape:"Sf"},NewPassword:{shape:"Sf"}}}},CreateAccessKey:{input:{type:"structure",members:{UserName:{}}},output:{resultWrapper:"CreateAccessKeyResult",type:"structure",required:["AccessKey"],members:{AccessKey:{type:"structure",required:["UserName","AccessKeyId","Status","SecretAccessKey"],members:{UserName:{},AccessKeyId:{},Status:{},SecretAccessKey:{type:"string",sensitive:!0},CreateDate:{type:"timestamp"}}}}}},CreateAccountAlias:{input:{type:"structure",required:["AccountAlias"],members:{AccountAlias:{}}}},CreateGroup:{input:{type:"structure",required:["GroupName"],members:{Path:{},GroupName:{}}},output:{resultWrapper:"CreateGroupResult",type:"structure",required:["Group"],members:{Group:{shape:"Ss"}}}},CreateInstanceProfile:{input:{type:"structure",required:["InstanceProfileName"],members:{InstanceProfileName:{},Path:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateInstanceProfileResult",type:"structure",required:["InstanceProfile"],members:{InstanceProfile:{shape:"S10"}}}},CreateLoginProfile:{input:{type:"structure",required:["UserName","Password"],members:{UserName:{},Password:{shape:"Sf"},PasswordResetRequired:{type:"boolean"}}},output:{resultWrapper:"CreateLoginProfileResult",type:"structure",required:["LoginProfile"],members:{LoginProfile:{shape:"S1d"}}}},CreateOpenIDConnectProvider:{input:{type:"structure",required:["Url","ThumbprintList"],members:{Url:{},ClientIDList:{shape:"S1g"},ThumbprintList:{shape:"S1h"},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateOpenIDConnectProviderResult",type:"structure",members:{OpenIDConnectProviderArn:{},Tags:{shape:"Sv"}}}},CreatePolicy:{input:{type:"structure",required:["PolicyName","PolicyDocument"],members:{PolicyName:{},Path:{},PolicyDocument:{},Description:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreatePolicyResult",type:"structure",members:{Policy:{shape:"S1p"}}}},CreatePolicyVersion:{input:{type:"structure",required:["PolicyArn","PolicyDocument"],members:{PolicyArn:{},PolicyDocument:{},SetAsDefault:{type:"boolean"}}},output:{resultWrapper:"CreatePolicyVersionResult",type:"structure",members:{PolicyVersion:{shape:"S1u"}}}},CreateRole:{input:{type:"structure",required:["RoleName","AssumeRolePolicyDocument"],members:{Path:{},RoleName:{},AssumeRolePolicyDocument:{},Description:{},MaxSessionDuration:{type:"integer"},PermissionsBoundary:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateRoleResult",type:"structure",required:["Role"],members:{Role:{shape:"S12"}}}},CreateSAMLProvider:{input:{type:"structure",required:["SAMLMetadataDocument","Name"],members:{SAMLMetadataDocument:{},Name:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateSAMLProviderResult",type:"structure",members:{SAMLProviderArn:{},Tags:{shape:"Sv"}}}},CreateServiceLinkedRole:{input:{type:"structure",required:["AWSServiceName"],members:{AWSServiceName:{},Description:{},CustomSuffix:{}}},output:{resultWrapper:"CreateServiceLinkedRoleResult",type:"structure",members:{Role:{shape:"S12"}}}},CreateServiceSpecificCredential:{input:{type:"structure",required:["UserName","ServiceName"],members:{UserName:{},ServiceName:{}}},output:{resultWrapper:"CreateServiceSpecificCredentialResult",type:"structure",members:{ServiceSpecificCredential:{shape:"S27"}}}},CreateUser:{input:{type:"structure",required:["UserName"],members:{Path:{},UserName:{},PermissionsBoundary:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateUserResult",type:"structure",members:{User:{shape:"S2d"}}}},CreateVirtualMFADevice:{input:{type:"structure",required:["VirtualMFADeviceName"],members:{Path:{},VirtualMFADeviceName:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"CreateVirtualMFADeviceResult",type:"structure",required:["VirtualMFADevice"],members:{VirtualMFADevice:{shape:"S2h"}}}},DeactivateMFADevice:{input:{type:"structure",required:["UserName","SerialNumber"],members:{UserName:{},SerialNumber:{}}}},DeleteAccessKey:{input:{type:"structure",required:["AccessKeyId"],members:{UserName:{},AccessKeyId:{}}}},DeleteAccountAlias:{input:{type:"structure",required:["AccountAlias"],members:{AccountAlias:{}}}},DeleteAccountPasswordPolicy:{},DeleteGroup:{input:{type:"structure",required:["GroupName"],members:{GroupName:{}}}},DeleteGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyName"],members:{GroupName:{},PolicyName:{}}}},DeleteInstanceProfile:{input:{type:"structure",required:["InstanceProfileName"],members:{InstanceProfileName:{}}}},DeleteLoginProfile:{input:{type:"structure",required:["UserName"],members:{UserName:{}}}},DeleteOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn"],members:{OpenIDConnectProviderArn:{}}}},DeletePolicy:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{}}}},DeletePolicyVersion:{input:{type:"structure",required:["PolicyArn","VersionId"],members:{PolicyArn:{},VersionId:{}}}},DeleteRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{}}}},DeleteRolePermissionsBoundary:{input:{type:"structure",required:["RoleName"],members:{RoleName:{}}}},DeleteRolePolicy:{input:{type:"structure",required:["RoleName","PolicyName"],members:{RoleName:{},PolicyName:{}}}},DeleteSAMLProvider:{input:{type:"structure",required:["SAMLProviderArn"],members:{SAMLProviderArn:{}}}},DeleteSSHPublicKey:{input:{type:"structure",required:["UserName","SSHPublicKeyId"],members:{UserName:{},SSHPublicKeyId:{}}}},DeleteServerCertificate:{input:{type:"structure",required:["ServerCertificateName"],members:{ServerCertificateName:{}}}},DeleteServiceLinkedRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{}}},output:{resultWrapper:"DeleteServiceLinkedRoleResult",type:"structure",required:["DeletionTaskId"],members:{DeletionTaskId:{}}}},DeleteServiceSpecificCredential:{input:{type:"structure",required:["ServiceSpecificCredentialId"],members:{UserName:{},ServiceSpecificCredentialId:{}}}},DeleteSigningCertificate:{input:{type:"structure",required:["CertificateId"],members:{UserName:{},CertificateId:{}}}},DeleteUser:{input:{type:"structure",required:["UserName"],members:{UserName:{}}}},DeleteUserPermissionsBoundary:{input:{type:"structure",required:["UserName"],members:{UserName:{}}}},DeleteUserPolicy:{input:{type:"structure",required:["UserName","PolicyName"],members:{UserName:{},PolicyName:{}}}},DeleteVirtualMFADevice:{input:{type:"structure",required:["SerialNumber"],members:{SerialNumber:{}}}},DetachGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyArn"],members:{GroupName:{},PolicyArn:{}}}},DetachRolePolicy:{input:{type:"structure",required:["RoleName","PolicyArn"],members:{RoleName:{},PolicyArn:{}}}},DetachUserPolicy:{input:{type:"structure",required:["UserName","PolicyArn"],members:{UserName:{},PolicyArn:{}}}},EnableMFADevice:{input:{type:"structure",required:["UserName","SerialNumber","AuthenticationCode1","AuthenticationCode2"],members:{UserName:{},SerialNumber:{},AuthenticationCode1:{},AuthenticationCode2:{}}}},GenerateCredentialReport:{output:{resultWrapper:"GenerateCredentialReportResult",type:"structure",members:{State:{},Description:{}}}},GenerateOrganizationsAccessReport:{input:{type:"structure",required:["EntityPath"],members:{EntityPath:{},OrganizationsPolicyId:{}}},output:{resultWrapper:"GenerateOrganizationsAccessReportResult",type:"structure",members:{JobId:{}}}},GenerateServiceLastAccessedDetails:{input:{type:"structure",required:["Arn"],members:{Arn:{},Granularity:{}}},output:{resultWrapper:"GenerateServiceLastAccessedDetailsResult",type:"structure",members:{JobId:{}}}},GetAccessKeyLastUsed:{input:{type:"structure",required:["AccessKeyId"],members:{AccessKeyId:{}}},output:{resultWrapper:"GetAccessKeyLastUsedResult",type:"structure",members:{UserName:{},AccessKeyLastUsed:{type:"structure",required:["LastUsedDate","ServiceName","Region"],members:{LastUsedDate:{type:"timestamp"},ServiceName:{},Region:{}}}}}},GetAccountAuthorizationDetails:{input:{type:"structure",members:{Filter:{ +type:"list",member:{}},MaxItems:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetAccountAuthorizationDetailsResult",type:"structure",members:{UserDetailList:{type:"list",member:{type:"structure",members:{Path:{},UserName:{},UserId:{},Arn:{},CreateDate:{type:"timestamp"},UserPolicyList:{shape:"S43"},GroupList:{type:"list",member:{}},AttachedManagedPolicies:{shape:"S46"},PermissionsBoundary:{shape:"S16"},Tags:{shape:"Sv"}}}},GroupDetailList:{type:"list",member:{type:"structure",members:{Path:{},GroupName:{},GroupId:{},Arn:{},CreateDate:{type:"timestamp"},GroupPolicyList:{shape:"S43"},AttachedManagedPolicies:{shape:"S46"}}}},RoleDetailList:{type:"list",member:{type:"structure",members:{Path:{},RoleName:{},RoleId:{},Arn:{},CreateDate:{type:"timestamp"},AssumeRolePolicyDocument:{},InstanceProfileList:{shape:"S4c"},RolePolicyList:{shape:"S43"},AttachedManagedPolicies:{shape:"S46"},PermissionsBoundary:{shape:"S16"},Tags:{shape:"Sv"},RoleLastUsed:{shape:"S18"}}}},Policies:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyId:{},Arn:{},Path:{},DefaultVersionId:{},AttachmentCount:{type:"integer"},PermissionsBoundaryUsageCount:{type:"integer"},IsAttachable:{type:"boolean"},Description:{},CreateDate:{type:"timestamp"},UpdateDate:{type:"timestamp"},PolicyVersionList:{shape:"S4f"}}}},IsTruncated:{type:"boolean"},Marker:{}}}},GetAccountPasswordPolicy:{output:{resultWrapper:"GetAccountPasswordPolicyResult",type:"structure",required:["PasswordPolicy"],members:{PasswordPolicy:{type:"structure",members:{MinimumPasswordLength:{type:"integer"},RequireSymbols:{type:"boolean"},RequireNumbers:{type:"boolean"},RequireUppercaseCharacters:{type:"boolean"},RequireLowercaseCharacters:{type:"boolean"},AllowUsersToChangePassword:{type:"boolean"},ExpirePasswords:{type:"boolean"},MaxPasswordAge:{type:"integer"},PasswordReusePrevention:{type:"integer"},HardExpiry:{type:"boolean"}}}}}},GetAccountSummary:{output:{resultWrapper:"GetAccountSummaryResult",type:"structure",members:{SummaryMap:{type:"map",key:{},value:{type:"integer"}}}}},GetContextKeysForCustomPolicy:{input:{type:"structure",required:["PolicyInputList"],members:{PolicyInputList:{shape:"S4s"}}},output:{shape:"S4t",resultWrapper:"GetContextKeysForCustomPolicyResult"}},GetContextKeysForPrincipalPolicy:{input:{type:"structure",required:["PolicySourceArn"],members:{PolicySourceArn:{},PolicyInputList:{shape:"S4s"}}},output:{shape:"S4t",resultWrapper:"GetContextKeysForPrincipalPolicyResult"}},GetCredentialReport:{output:{resultWrapper:"GetCredentialReportResult",type:"structure",members:{Content:{type:"blob"},ReportFormat:{},GeneratedTime:{type:"timestamp"}}}},GetGroup:{input:{type:"structure",required:["GroupName"],members:{GroupName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"GetGroupResult",type:"structure",required:["Group","Users"],members:{Group:{shape:"Ss"},Users:{shape:"S52"},IsTruncated:{type:"boolean"},Marker:{}}}},GetGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyName"],members:{GroupName:{},PolicyName:{}}},output:{resultWrapper:"GetGroupPolicyResult",type:"structure",required:["GroupName","PolicyName","PolicyDocument"],members:{GroupName:{},PolicyName:{},PolicyDocument:{}}}},GetInstanceProfile:{input:{type:"structure",required:["InstanceProfileName"],members:{InstanceProfileName:{}}},output:{resultWrapper:"GetInstanceProfileResult",type:"structure",required:["InstanceProfile"],members:{InstanceProfile:{shape:"S10"}}}},GetLoginProfile:{input:{type:"structure",required:["UserName"],members:{UserName:{}}},output:{resultWrapper:"GetLoginProfileResult",type:"structure",required:["LoginProfile"],members:{LoginProfile:{shape:"S1d"}}}},GetOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn"],members:{OpenIDConnectProviderArn:{}}},output:{resultWrapper:"GetOpenIDConnectProviderResult",type:"structure",members:{Url:{},ClientIDList:{shape:"S1g"},ThumbprintList:{shape:"S1h"},CreateDate:{type:"timestamp"},Tags:{shape:"Sv"}}}},GetOrganizationsAccessReport:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxItems:{type:"integer"},Marker:{},SortKey:{}}},output:{resultWrapper:"GetOrganizationsAccessReportResult",type:"structure",required:["JobStatus","JobCreationDate"],members:{JobStatus:{},JobCreationDate:{type:"timestamp"},JobCompletionDate:{type:"timestamp"},NumberOfServicesAccessible:{type:"integer"},NumberOfServicesNotAccessed:{type:"integer"},AccessDetails:{type:"list",member:{type:"structure",required:["ServiceName","ServiceNamespace"],members:{ServiceName:{},ServiceNamespace:{},Region:{},EntityPath:{},LastAuthenticatedTime:{type:"timestamp"},TotalAuthenticatedEntities:{type:"integer"}}}},IsTruncated:{type:"boolean"},Marker:{},ErrorDetails:{shape:"S5k"}}}},GetPolicy:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{}}},output:{resultWrapper:"GetPolicyResult",type:"structure",members:{Policy:{shape:"S1p"}}}},GetPolicyVersion:{input:{type:"structure",required:["PolicyArn","VersionId"],members:{PolicyArn:{},VersionId:{}}},output:{resultWrapper:"GetPolicyVersionResult",type:"structure",members:{PolicyVersion:{shape:"S1u"}}}},GetRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{}}},output:{resultWrapper:"GetRoleResult",type:"structure",required:["Role"],members:{Role:{shape:"S12"}}}},GetRolePolicy:{input:{type:"structure",required:["RoleName","PolicyName"],members:{RoleName:{},PolicyName:{}}},output:{resultWrapper:"GetRolePolicyResult",type:"structure",required:["RoleName","PolicyName","PolicyDocument"],members:{RoleName:{},PolicyName:{},PolicyDocument:{}}}},GetSAMLProvider:{input:{type:"structure",required:["SAMLProviderArn"],members:{SAMLProviderArn:{}}},output:{resultWrapper:"GetSAMLProviderResult",type:"structure",members:{SAMLMetadataDocument:{},CreateDate:{type:"timestamp"},ValidUntil:{type:"timestamp"},Tags:{shape:"Sv"}}}},GetSSHPublicKey:{input:{type:"structure",required:["UserName","SSHPublicKeyId","Encoding"],members:{UserName:{},SSHPublicKeyId:{},Encoding:{}}},output:{resultWrapper:"GetSSHPublicKeyResult",type:"structure",members:{SSHPublicKey:{shape:"S5y"}}}},GetServerCertificate:{input:{type:"structure",required:["ServerCertificateName"],members:{ServerCertificateName:{}}},output:{resultWrapper:"GetServerCertificateResult",type:"structure",required:["ServerCertificate"],members:{ServerCertificate:{type:"structure",required:["ServerCertificateMetadata","CertificateBody"],members:{ServerCertificateMetadata:{shape:"S64"},CertificateBody:{},CertificateChain:{},Tags:{shape:"Sv"}}}}}},GetServiceLastAccessedDetails:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxItems:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetServiceLastAccessedDetailsResult",type:"structure",required:["JobStatus","JobCreationDate","ServicesLastAccessed","JobCompletionDate"],members:{JobStatus:{},JobType:{},JobCreationDate:{type:"timestamp"},ServicesLastAccessed:{type:"list",member:{type:"structure",required:["ServiceName","ServiceNamespace"],members:{ServiceName:{},LastAuthenticated:{type:"timestamp"},ServiceNamespace:{},LastAuthenticatedEntity:{},LastAuthenticatedRegion:{},TotalAuthenticatedEntities:{type:"integer"},TrackedActionsLastAccessed:{type:"list",member:{type:"structure",members:{ActionName:{},LastAccessedEntity:{},LastAccessedTime:{type:"timestamp"},LastAccessedRegion:{}}}}}}},JobCompletionDate:{type:"timestamp"},IsTruncated:{type:"boolean"},Marker:{},Error:{shape:"S5k"}}}},GetServiceLastAccessedDetailsWithEntities:{input:{type:"structure",required:["JobId","ServiceNamespace"],members:{JobId:{},ServiceNamespace:{},MaxItems:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetServiceLastAccessedDetailsWithEntitiesResult",type:"structure",required:["JobStatus","JobCreationDate","JobCompletionDate","EntityDetailsList"],members:{JobStatus:{},JobCreationDate:{type:"timestamp"},JobCompletionDate:{type:"timestamp"},EntityDetailsList:{type:"list",member:{type:"structure",required:["EntityInfo"],members:{EntityInfo:{type:"structure",required:["Arn","Name","Type","Id"],members:{Arn:{},Name:{},Type:{},Id:{},Path:{}}},LastAuthenticated:{type:"timestamp"}}}},IsTruncated:{type:"boolean"},Marker:{},Error:{shape:"S5k"}}}},GetServiceLinkedRoleDeletionStatus:{input:{type:"structure",required:["DeletionTaskId"],members:{DeletionTaskId:{}}},output:{resultWrapper:"GetServiceLinkedRoleDeletionStatusResult",type:"structure",required:["Status"],members:{Status:{},Reason:{type:"structure",members:{Reason:{},RoleUsageList:{type:"list",member:{type:"structure",members:{Region:{},Resources:{type:"list",member:{}}}}}}}}}},GetUser:{input:{type:"structure",members:{UserName:{}}},output:{resultWrapper:"GetUserResult",type:"structure",required:["User"],members:{User:{shape:"S2d"}}}},GetUserPolicy:{input:{type:"structure",required:["UserName","PolicyName"],members:{UserName:{},PolicyName:{}}},output:{resultWrapper:"GetUserPolicyResult",type:"structure",required:["UserName","PolicyName","PolicyDocument"],members:{UserName:{},PolicyName:{},PolicyDocument:{}}}},ListAccessKeys:{input:{type:"structure",members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAccessKeysResult",type:"structure",required:["AccessKeyMetadata"],members:{AccessKeyMetadata:{type:"list",member:{type:"structure",members:{UserName:{},AccessKeyId:{},Status:{},CreateDate:{type:"timestamp"}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListAccountAliases:{input:{type:"structure",members:{Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAccountAliasesResult",type:"structure",required:["AccountAliases"],members:{AccountAliases:{type:"list",member:{}},IsTruncated:{type:"boolean"},Marker:{}}}},ListAttachedGroupPolicies:{input:{type:"structure",required:["GroupName"],members:{GroupName:{},PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAttachedGroupPoliciesResult",type:"structure",members:{AttachedPolicies:{shape:"S46"},IsTruncated:{type:"boolean"},Marker:{}}}},ListAttachedRolePolicies:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAttachedRolePoliciesResult",type:"structure",members:{AttachedPolicies:{shape:"S46"},IsTruncated:{type:"boolean"},Marker:{}}}},ListAttachedUserPolicies:{input:{type:"structure",required:["UserName"],members:{UserName:{},PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListAttachedUserPoliciesResult",type:"structure",members:{AttachedPolicies:{shape:"S46"},IsTruncated:{type:"boolean"},Marker:{}}}},ListEntitiesForPolicy:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{},EntityFilter:{},PathPrefix:{},PolicyUsageFilter:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListEntitiesForPolicyResult",type:"structure",members:{PolicyGroups:{type:"list",member:{type:"structure",members:{GroupName:{},GroupId:{}}}},PolicyUsers:{type:"list",member:{type:"structure",members:{UserName:{},UserId:{}}}},PolicyRoles:{type:"list",member:{type:"structure",members:{RoleName:{},RoleId:{}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListGroupPolicies:{input:{type:"structure",required:["GroupName"],members:{GroupName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListGroupPoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S7k"},IsTruncated:{type:"boolean"},Marker:{}}}},ListGroups:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListGroupsResult",type:"structure",required:["Groups"],members:{Groups:{shape:"S7o"},IsTruncated:{type:"boolean"},Marker:{}}}},ListGroupsForUser:{input:{type:"structure",required:["UserName"],members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListGroupsForUserResult",type:"structure",required:["Groups"],members:{Groups:{shape:"S7o"},IsTruncated:{type:"boolean"},Marker:{}}}},ListInstanceProfileTags:{input:{type:"structure",required:["InstanceProfileName"],members:{InstanceProfileName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListInstanceProfileTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListInstanceProfiles:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListInstanceProfilesResult",type:"structure",required:["InstanceProfiles"],members:{InstanceProfiles:{shape:"S4c"},IsTruncated:{type:"boolean"},Marker:{}}}},ListInstanceProfilesForRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListInstanceProfilesForRoleResult",type:"structure",required:["InstanceProfiles"],members:{InstanceProfiles:{shape:"S4c"},IsTruncated:{type:"boolean"},Marker:{}}}},ListMFADeviceTags:{input:{type:"structure",required:["SerialNumber"],members:{SerialNumber:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListMFADeviceTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListMFADevices:{input:{type:"structure",members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListMFADevicesResult",type:"structure",required:["MFADevices"],members:{MFADevices:{type:"list",member:{type:"structure",required:["UserName","SerialNumber","EnableDate"],members:{UserName:{},SerialNumber:{},EnableDate:{type:"timestamp"}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListOpenIDConnectProviderTags:{input:{type:"structure",required:["OpenIDConnectProviderArn"],members:{OpenIDConnectProviderArn:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListOpenIDConnectProviderTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListOpenIDConnectProviders:{input:{type:"structure",members:{}},output:{resultWrapper:"ListOpenIDConnectProvidersResult",type:"structure",members:{OpenIDConnectProviderList:{type:"list",member:{type:"structure",members:{Arn:{}}}}}}},ListPolicies:{input:{type:"structure",members:{Scope:{},OnlyAttached:{type:"boolean"},PathPrefix:{},PolicyUsageFilter:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListPoliciesResult",type:"structure",members:{Policies:{type:"list",member:{shape:"S1p"}},IsTruncated:{type:"boolean"},Marker:{}}}},ListPoliciesGrantingServiceAccess:{input:{type:"structure",required:["Arn","ServiceNamespaces"],members:{Marker:{},Arn:{},ServiceNamespaces:{type:"list",member:{}}}},output:{resultWrapper:"ListPoliciesGrantingServiceAccessResult",type:"structure",required:["PoliciesGrantingServiceAccess"],members:{PoliciesGrantingServiceAccess:{type:"list",member:{type:"structure",members:{ServiceNamespace:{},Policies:{type:"list",member:{type:"structure",required:["PolicyName","PolicyType"],members:{PolicyName:{},PolicyType:{},PolicyArn:{},EntityType:{},EntityName:{}}}}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListPolicyTags:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListPolicyTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListPolicyVersions:{input:{type:"structure",required:["PolicyArn"],members:{PolicyArn:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListPolicyVersionsResult",type:"structure",members:{Versions:{shape:"S4f"},IsTruncated:{type:"boolean"},Marker:{}}}},ListRolePolicies:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListRolePoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S7k"},IsTruncated:{type:"boolean"},Marker:{}}}},ListRoleTags:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListRoleTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListRoles:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListRolesResult",type:"structure",required:["Roles"],members:{Roles:{shape:"S11"},IsTruncated:{type:"boolean"},Marker:{}}}},ListSAMLProviderTags:{input:{type:"structure",required:["SAMLProviderArn"],members:{SAMLProviderArn:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListSAMLProviderTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListSAMLProviders:{input:{type:"structure",members:{}},output:{resultWrapper:"ListSAMLProvidersResult",type:"structure",members:{SAMLProviderList:{type:"list",member:{type:"structure",members:{Arn:{},ValidUntil:{type:"timestamp"},CreateDate:{type:"timestamp"}}}}}}},ListSSHPublicKeys:{input:{type:"structure",members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListSSHPublicKeysResult",type:"structure",members:{SSHPublicKeys:{type:"list",member:{type:"structure",required:["UserName","SSHPublicKeyId","Status","UploadDate"],members:{UserName:{},SSHPublicKeyId:{},Status:{},UploadDate:{type:"timestamp"}}}},IsTruncated:{type:"boolean"},Marker:{}}}},ListServerCertificateTags:{input:{type:"structure",required:["ServerCertificateName"],members:{ServerCertificateName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListServerCertificateTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListServerCertificates:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListServerCertificatesResult",type:"structure",required:["ServerCertificateMetadataList"],members:{ServerCertificateMetadataList:{type:"list",member:{shape:"S64"}},IsTruncated:{type:"boolean"},Marker:{}}}},ListServiceSpecificCredentials:{input:{type:"structure",members:{UserName:{},ServiceName:{}}},output:{resultWrapper:"ListServiceSpecificCredentialsResult",type:"structure",members:{ServiceSpecificCredentials:{type:"list",member:{type:"structure",required:["UserName","Status","ServiceUserName","CreateDate","ServiceSpecificCredentialId","ServiceName"],members:{UserName:{},Status:{},ServiceUserName:{},CreateDate:{type:"timestamp"},ServiceSpecificCredentialId:{},ServiceName:{}}}}}}},ListSigningCertificates:{input:{type:"structure",members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListSigningCertificatesResult",type:"structure",required:["Certificates"],members:{Certificates:{type:"list",member:{shape:"S9i"}},IsTruncated:{type:"boolean"},Marker:{}}}},ListUserPolicies:{input:{type:"structure",required:["UserName"],members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListUserPoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S7k"},IsTruncated:{type:"boolean"},Marker:{}}}},ListUserTags:{input:{type:"structure",required:["UserName"],members:{UserName:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListUserTagsResult",type:"structure",required:["Tags"],members:{Tags:{shape:"Sv"},IsTruncated:{type:"boolean"},Marker:{}}}},ListUsers:{input:{type:"structure",members:{PathPrefix:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListUsersResult",type:"structure",required:["Users"],members:{Users:{shape:"S52"},IsTruncated:{type:"boolean"},Marker:{}}}},ListVirtualMFADevices:{input:{type:"structure",members:{AssignmentStatus:{},Marker:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListVirtualMFADevicesResult",type:"structure",required:["VirtualMFADevices"],members:{VirtualMFADevices:{type:"list",member:{shape:"S2h"}},IsTruncated:{type:"boolean"},Marker:{}}}},PutGroupPolicy:{input:{type:"structure",required:["GroupName","PolicyName","PolicyDocument"],members:{GroupName:{},PolicyName:{},PolicyDocument:{}}}},PutRolePermissionsBoundary:{input:{type:"structure",required:["RoleName","PermissionsBoundary"],members:{RoleName:{},PermissionsBoundary:{}}}},PutRolePolicy:{input:{type:"structure",required:["RoleName","PolicyName","PolicyDocument"],members:{RoleName:{},PolicyName:{},PolicyDocument:{}}}},PutUserPermissionsBoundary:{input:{type:"structure",required:["UserName","PermissionsBoundary"],members:{UserName:{},PermissionsBoundary:{}}}},PutUserPolicy:{input:{type:"structure",required:["UserName","PolicyName","PolicyDocument"],members:{UserName:{},PolicyName:{},PolicyDocument:{}}}},RemoveClientIDFromOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn","ClientID"],members:{OpenIDConnectProviderArn:{},ClientID:{}}}},RemoveRoleFromInstanceProfile:{input:{type:"structure",required:["InstanceProfileName","RoleName"],members:{InstanceProfileName:{},RoleName:{}}}},RemoveUserFromGroup:{input:{type:"structure",required:["GroupName","UserName"],members:{GroupName:{},UserName:{}}}},ResetServiceSpecificCredential:{input:{type:"structure",required:["ServiceSpecificCredentialId"],members:{UserName:{},ServiceSpecificCredentialId:{}}},output:{resultWrapper:"ResetServiceSpecificCredentialResult",type:"structure",members:{ServiceSpecificCredential:{shape:"S27"}}}},ResyncMFADevice:{input:{type:"structure",required:["UserName","SerialNumber","AuthenticationCode1","AuthenticationCode2"],members:{UserName:{},SerialNumber:{},AuthenticationCode1:{},AuthenticationCode2:{}}}},SetDefaultPolicyVersion:{input:{type:"structure",required:["PolicyArn","VersionId"],members:{PolicyArn:{},VersionId:{}}}},SetSecurityTokenServicePreferences:{input:{type:"structure",required:["GlobalEndpointTokenVersion"],members:{GlobalEndpointTokenVersion:{}}}},SimulateCustomPolicy:{input:{type:"structure",required:["PolicyInputList","ActionNames"],members:{PolicyInputList:{shape:"S4s"},PermissionsBoundaryPolicyInputList:{shape:"S4s"},ActionNames:{shape:"Sa8"},ResourceArns:{shape:"Saa"},ResourcePolicy:{},ResourceOwner:{},CallerArn:{},ContextEntries:{shape:"Sac"},ResourceHandlingOption:{},MaxItems:{type:"integer"},Marker:{}}},output:{shape:"Sai",resultWrapper:"SimulateCustomPolicyResult"}},SimulatePrincipalPolicy:{input:{type:"structure",required:["PolicySourceArn","ActionNames"],members:{PolicySourceArn:{},PolicyInputList:{shape:"S4s"},PermissionsBoundaryPolicyInputList:{shape:"S4s"},ActionNames:{shape:"Sa8"},ResourceArns:{shape:"Saa"},ResourcePolicy:{},ResourceOwner:{},CallerArn:{},ContextEntries:{shape:"Sac"},ResourceHandlingOption:{},MaxItems:{type:"integer"},Marker:{}}},output:{shape:"Sai",resultWrapper:"SimulatePrincipalPolicyResult"}},TagInstanceProfile:{input:{type:"structure",required:["InstanceProfileName","Tags"],members:{InstanceProfileName:{},Tags:{shape:"Sv"}}}},TagMFADevice:{input:{type:"structure",required:["SerialNumber","Tags"],members:{SerialNumber:{},Tags:{shape:"Sv"}}}},TagOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn","Tags"],members:{OpenIDConnectProviderArn:{},Tags:{shape:"Sv"}}}},TagPolicy:{input:{type:"structure",required:["PolicyArn","Tags"],members:{PolicyArn:{},Tags:{shape:"Sv"}}}},TagRole:{input:{type:"structure",required:["RoleName","Tags"],members:{RoleName:{},Tags:{shape:"Sv"}}}},TagSAMLProvider:{input:{type:"structure",required:["SAMLProviderArn","Tags"],members:{SAMLProviderArn:{},Tags:{shape:"Sv"}}}},TagServerCertificate:{input:{type:"structure",required:["ServerCertificateName","Tags"],members:{ServerCertificateName:{},Tags:{shape:"Sv"}}}},TagUser:{input:{type:"structure",required:["UserName","Tags"],members:{UserName:{},Tags:{shape:"Sv"}}}},UntagInstanceProfile:{input:{type:"structure",required:["InstanceProfileName","TagKeys"],members:{InstanceProfileName:{},TagKeys:{shape:"Sb9"}}}},UntagMFADevice:{input:{type:"structure",required:["SerialNumber","TagKeys"],members:{SerialNumber:{},TagKeys:{shape:"Sb9"}}}},UntagOpenIDConnectProvider:{input:{type:"structure",required:["OpenIDConnectProviderArn","TagKeys"],members:{OpenIDConnectProviderArn:{},TagKeys:{shape:"Sb9"}}}},UntagPolicy:{input:{type:"structure",required:["PolicyArn","TagKeys"],members:{PolicyArn:{},TagKeys:{shape:"Sb9"}}}},UntagRole:{input:{type:"structure",required:["RoleName","TagKeys"],members:{RoleName:{},TagKeys:{shape:"Sb9"}}}},UntagSAMLProvider:{input:{type:"structure",required:["SAMLProviderArn","TagKeys"],members:{SAMLProviderArn:{},TagKeys:{shape:"Sb9"}}}},UntagServerCertificate:{input:{type:"structure",required:["ServerCertificateName","TagKeys"],members:{ServerCertificateName:{},TagKeys:{shape:"Sb9"}}}},UntagUser:{input:{type:"structure",required:["UserName","TagKeys"],members:{UserName:{},TagKeys:{shape:"Sb9"}}}},UpdateAccessKey:{input:{type:"structure",required:["AccessKeyId","Status"],members:{UserName:{},AccessKeyId:{},Status:{}}}},UpdateAccountPasswordPolicy:{input:{type:"structure",members:{MinimumPasswordLength:{type:"integer"},RequireSymbols:{type:"boolean"},RequireNumbers:{type:"boolean"},RequireUppercaseCharacters:{type:"boolean"},RequireLowercaseCharacters:{type:"boolean"},AllowUsersToChangePassword:{type:"boolean"},MaxPasswordAge:{type:"integer"},PasswordReusePrevention:{type:"integer"},HardExpiry:{type:"boolean"}}}},UpdateAssumeRolePolicy:{input:{type:"structure",required:["RoleName","PolicyDocument"],members:{RoleName:{},PolicyDocument:{}}}},UpdateGroup:{input:{type:"structure",required:["GroupName"],members:{GroupName:{},NewPath:{},NewGroupName:{}}}},UpdateLoginProfile:{input:{type:"structure",required:["UserName"],members:{UserName:{},Password:{shape:"Sf"},PasswordResetRequired:{type:"boolean"}}}},UpdateOpenIDConnectProviderThumbprint:{input:{type:"structure",required:["OpenIDConnectProviderArn","ThumbprintList"],members:{OpenIDConnectProviderArn:{},ThumbprintList:{shape:"S1h"}}}},UpdateRole:{input:{type:"structure",required:["RoleName"],members:{RoleName:{},Description:{},MaxSessionDuration:{type:"integer"}}},output:{resultWrapper:"UpdateRoleResult",type:"structure",members:{}}},UpdateRoleDescription:{input:{type:"structure",required:["RoleName","Description"],members:{RoleName:{},Description:{}}},output:{resultWrapper:"UpdateRoleDescriptionResult",type:"structure",members:{Role:{shape:"S12"}}}},UpdateSAMLProvider:{input:{type:"structure",required:["SAMLMetadataDocument","SAMLProviderArn"],members:{SAMLMetadataDocument:{},SAMLProviderArn:{}}},output:{resultWrapper:"UpdateSAMLProviderResult",type:"structure",members:{SAMLProviderArn:{}}}},UpdateSSHPublicKey:{input:{type:"structure",required:["UserName","SSHPublicKeyId","Status"],members:{UserName:{},SSHPublicKeyId:{},Status:{}}}},UpdateServerCertificate:{input:{type:"structure",required:["ServerCertificateName"],members:{ServerCertificateName:{},NewPath:{},NewServerCertificateName:{}}}},UpdateServiceSpecificCredential:{input:{type:"structure",required:["ServiceSpecificCredentialId","Status"],members:{UserName:{},ServiceSpecificCredentialId:{},Status:{}}}},UpdateSigningCertificate:{input:{type:"structure",required:["CertificateId","Status"],members:{UserName:{},CertificateId:{},Status:{}}}},UpdateUser:{input:{type:"structure",required:["UserName"],members:{UserName:{},NewPath:{},NewUserName:{}}}},UploadSSHPublicKey:{input:{type:"structure",required:["UserName","SSHPublicKeyBody"],members:{UserName:{},SSHPublicKeyBody:{}}},output:{resultWrapper:"UploadSSHPublicKeyResult",type:"structure",members:{SSHPublicKey:{shape:"S5y"}}}},UploadServerCertificate:{input:{type:"structure",required:["ServerCertificateName","CertificateBody","PrivateKey"],members:{Path:{},ServerCertificateName:{},CertificateBody:{},PrivateKey:{type:"string",sensitive:!0},CertificateChain:{},Tags:{shape:"Sv"}}},output:{resultWrapper:"UploadServerCertificateResult",type:"structure",members:{ServerCertificateMetadata:{shape:"S64"},Tags:{shape:"Sv"}}}},UploadSigningCertificate:{input:{type:"structure",required:["CertificateBody"],members:{UserName:{},CertificateBody:{}}},output:{resultWrapper:"UploadSigningCertificateResult",type:"structure",required:["Certificate"],members:{Certificate:{shape:"S9i"}}}}},shapes:{Sf:{type:"string",sensitive:!0},Ss:{type:"structure",required:["Path","GroupName","GroupId","Arn","CreateDate"],members:{Path:{},GroupName:{},GroupId:{},Arn:{},CreateDate:{type:"timestamp"}}},Sv:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S10:{type:"structure",required:["Path","InstanceProfileName","InstanceProfileId","Arn","CreateDate","Roles"],members:{Path:{},InstanceProfileName:{},InstanceProfileId:{},Arn:{},CreateDate:{type:"timestamp"},Roles:{shape:"S11"},Tags:{shape:"Sv"}}},S11:{type:"list",member:{shape:"S12"}},S12:{type:"structure",required:["Path","RoleName","RoleId","Arn","CreateDate"],members:{Path:{},RoleName:{},RoleId:{},Arn:{},CreateDate:{type:"timestamp"},AssumeRolePolicyDocument:{},Description:{},MaxSessionDuration:{type:"integer"},PermissionsBoundary:{shape:"S16"},Tags:{shape:"Sv"},RoleLastUsed:{shape:"S18"}}},S16:{type:"structure",members:{PermissionsBoundaryType:{},PermissionsBoundaryArn:{}}},S18:{type:"structure",members:{LastUsedDate:{type:"timestamp"},Region:{}}},S1d:{type:"structure",required:["UserName","CreateDate"],members:{UserName:{},CreateDate:{type:"timestamp"},PasswordResetRequired:{type:"boolean"}}},S1g:{type:"list",member:{}},S1h:{type:"list",member:{}},S1p:{type:"structure",members:{PolicyName:{},PolicyId:{},Arn:{},Path:{},DefaultVersionId:{},AttachmentCount:{type:"integer"},PermissionsBoundaryUsageCount:{type:"integer"},IsAttachable:{type:"boolean"},Description:{},CreateDate:{type:"timestamp"},UpdateDate:{type:"timestamp"},Tags:{shape:"Sv"}}},S1u:{type:"structure",members:{Document:{},VersionId:{},IsDefaultVersion:{type:"boolean"},CreateDate:{type:"timestamp"}}},S27:{type:"structure",required:["CreateDate","ServiceName","ServiceUserName","ServicePassword","ServiceSpecificCredentialId","UserName","Status"],members:{CreateDate:{type:"timestamp"},ServiceName:{},ServiceUserName:{},ServicePassword:{type:"string",sensitive:!0},ServiceSpecificCredentialId:{},UserName:{},Status:{}}},S2d:{type:"structure",required:["Path","UserName","UserId","Arn","CreateDate"],members:{Path:{},UserName:{},UserId:{},Arn:{},CreateDate:{type:"timestamp"},PasswordLastUsed:{type:"timestamp"},PermissionsBoundary:{shape:"S16"},Tags:{shape:"Sv"}}},S2h:{type:"structure",required:["SerialNumber"],members:{SerialNumber:{},Base32StringSeed:{shape:"S2j"},QRCodePNG:{shape:"S2j"},User:{shape:"S2d"},EnableDate:{type:"timestamp"},Tags:{shape:"Sv"}}},S2j:{type:"blob",sensitive:!0},S43:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyDocument:{}}}},S46:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyArn:{}}}},S4c:{type:"list",member:{shape:"S10"}},S4f:{type:"list",member:{shape:"S1u"}},S4s:{type:"list",member:{}},S4t:{type:"structure",members:{ContextKeyNames:{shape:"S4u"}}},S4u:{type:"list",member:{}},S52:{type:"list",member:{shape:"S2d"}},S5k:{type:"structure",required:["Message","Code"],members:{Message:{},Code:{}}},S5y:{type:"structure",required:["UserName","SSHPublicKeyId","Fingerprint","SSHPublicKeyBody","Status"],members:{UserName:{},SSHPublicKeyId:{},Fingerprint:{},SSHPublicKeyBody:{},Status:{},UploadDate:{type:"timestamp"}}},S64:{type:"structure",required:["Path","ServerCertificateName","ServerCertificateId","Arn"],members:{Path:{},ServerCertificateName:{},ServerCertificateId:{},Arn:{},UploadDate:{type:"timestamp"},Expiration:{type:"timestamp"}}},S7k:{type:"list",member:{}},S7o:{type:"list",member:{shape:"Ss"}},S9i:{type:"structure",required:["UserName","CertificateId","CertificateBody","Status"],members:{UserName:{},CertificateId:{},CertificateBody:{},Status:{},UploadDate:{type:"timestamp"}}},Sa8:{type:"list",member:{}},Saa:{type:"list",member:{}},Sac:{type:"list",member:{type:"structure",members:{ContextKeyName:{}, +ContextKeyValues:{type:"list",member:{}},ContextKeyType:{}}}},Sai:{type:"structure",members:{EvaluationResults:{type:"list",member:{type:"structure",required:["EvalActionName","EvalDecision"],members:{EvalActionName:{},EvalResourceName:{},EvalDecision:{},MatchedStatements:{shape:"Sam"},MissingContextValues:{shape:"S4u"},OrganizationsDecisionDetail:{type:"structure",members:{AllowedByOrganizations:{type:"boolean"}}},PermissionsBoundaryDecisionDetail:{shape:"Sau"},EvalDecisionDetails:{shape:"Sav"},ResourceSpecificResults:{type:"list",member:{type:"structure",required:["EvalResourceName","EvalResourceDecision"],members:{EvalResourceName:{},EvalResourceDecision:{},MatchedStatements:{shape:"Sam"},MissingContextValues:{shape:"S4u"},EvalDecisionDetails:{shape:"Sav"},PermissionsBoundaryDecisionDetail:{shape:"Sau"}}}}}}},IsTruncated:{type:"boolean"},Marker:{}}},Sam:{type:"list",member:{type:"structure",members:{SourcePolicyId:{},SourcePolicyType:{},StartPosition:{shape:"Saq"},EndPosition:{shape:"Saq"}}}},Saq:{type:"structure",members:{Line:{type:"integer"},Column:{type:"integer"}}},Sau:{type:"structure",members:{AllowedByPermissionsBoundary:{type:"boolean"}}},Sav:{type:"map",key:{},value:{}},Sb9:{type:"list",member:{}}}}},{}],122:[function(e,t,r){t.exports={pagination:{GetAccountAuthorizationDetails:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:["UserDetailList","GroupDetailList","RoleDetailList","Policies"]},GetGroup:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Users"},ListAccessKeys:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AccessKeyMetadata"},ListAccountAliases:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AccountAliases"},ListAttachedGroupPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AttachedPolicies"},ListAttachedRolePolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AttachedPolicies"},ListAttachedUserPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"AttachedPolicies"},ListEntitiesForPolicy:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:["PolicyGroups","PolicyUsers","PolicyRoles"]},ListGroupPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"PolicyNames"},ListGroups:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Groups"},ListGroupsForUser:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Groups"},ListInstanceProfiles:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"InstanceProfiles"},ListInstanceProfilesForRole:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"InstanceProfiles"},ListMFADevices:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"MFADevices"},ListPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Policies"},ListPolicyVersions:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Versions"},ListRolePolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"PolicyNames"},ListRoles:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Roles"},ListSAMLProviders:{result_key:"SAMLProviderList"},ListSSHPublicKeys:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"SSHPublicKeys"},ListServerCertificates:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"ServerCertificateMetadataList"},ListSigningCertificates:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Certificates"},ListUserPolicies:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"PolicyNames"},ListUserTags:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Tags"},ListUsers:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"Users"},ListVirtualMFADevices:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"VirtualMFADevices"},SimulateCustomPolicy:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"EvaluationResults"},SimulatePrincipalPolicy:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"Marker",result_key:"EvaluationResults"}}}},{}],123:[function(e,t,r){t.exports={version:2,waiters:{InstanceProfileExists:{delay:1,operation:"GetInstanceProfile",maxAttempts:40,acceptors:[{expected:200,matcher:"status",state:"success"},{state:"retry",matcher:"status",expected:404}]},UserExists:{delay:1,operation:"GetUser",maxAttempts:20,acceptors:[{state:"success",matcher:"status",expected:200},{state:"retry",matcher:"error",expected:"NoSuchEntity"}]},RoleExists:{delay:1,operation:"GetRole",maxAttempts:20,acceptors:[{state:"success",matcher:"status",expected:200},{state:"retry",matcher:"error",expected:"NoSuchEntity"}]},PolicyExists:{delay:1,operation:"GetPolicy",maxAttempts:20,acceptors:[{state:"success",matcher:"status",expected:200},{state:"retry",matcher:"error",expected:"NoSuchEntity"}]}}}},{}],124:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-02-16",endpointPrefix:"inspector",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Inspector",serviceId:"Inspector",signatureVersion:"v4",targetPrefix:"InspectorService",uid:"inspector-2016-02-16"},operations:{AddAttributesToFindings:{input:{type:"structure",required:["findingArns","attributes"],members:{findingArns:{shape:"S2"},attributes:{shape:"S4"}}},output:{type:"structure",required:["failedItems"],members:{failedItems:{shape:"S9"}}}},CreateAssessmentTarget:{input:{type:"structure",required:["assessmentTargetName"],members:{assessmentTargetName:{},resourceGroupArn:{}}},output:{type:"structure",required:["assessmentTargetArn"],members:{assessmentTargetArn:{}}}},CreateAssessmentTemplate:{input:{type:"structure",required:["assessmentTargetArn","assessmentTemplateName","durationInSeconds","rulesPackageArns"],members:{assessmentTargetArn:{},assessmentTemplateName:{},durationInSeconds:{type:"integer"},rulesPackageArns:{shape:"Sj"},userAttributesForFindings:{shape:"S4"}}},output:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}}},CreateExclusionsPreview:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}},output:{type:"structure",required:["previewToken"],members:{previewToken:{}}}},CreateResourceGroup:{input:{type:"structure",required:["resourceGroupTags"],members:{resourceGroupTags:{shape:"Sp"}}},output:{type:"structure",required:["resourceGroupArn"],members:{resourceGroupArn:{}}}},DeleteAssessmentRun:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}}},DeleteAssessmentTarget:{input:{type:"structure",required:["assessmentTargetArn"],members:{assessmentTargetArn:{}}}},DeleteAssessmentTemplate:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}}},DescribeAssessmentRuns:{input:{type:"structure",required:["assessmentRunArns"],members:{assessmentRunArns:{shape:"Sy"}}},output:{type:"structure",required:["assessmentRuns","failedItems"],members:{assessmentRuns:{type:"list",member:{type:"structure",required:["arn","name","assessmentTemplateArn","state","durationInSeconds","rulesPackageArns","userAttributesForFindings","createdAt","stateChangedAt","dataCollected","stateChanges","notifications","findingCounts"],members:{arn:{},name:{},assessmentTemplateArn:{},state:{},durationInSeconds:{type:"integer"},rulesPackageArns:{type:"list",member:{}},userAttributesForFindings:{shape:"S4"},createdAt:{type:"timestamp"},startedAt:{type:"timestamp"},completedAt:{type:"timestamp"},stateChangedAt:{type:"timestamp"},dataCollected:{type:"boolean"},stateChanges:{type:"list",member:{type:"structure",required:["stateChangedAt","state"],members:{stateChangedAt:{type:"timestamp"},state:{}}}},notifications:{type:"list",member:{type:"structure",required:["date","event","error"],members:{date:{type:"timestamp"},event:{},message:{},error:{type:"boolean"},snsTopicArn:{},snsPublishStatusCode:{}}}},findingCounts:{type:"map",key:{},value:{type:"integer"}}}}},failedItems:{shape:"S9"}}}},DescribeAssessmentTargets:{input:{type:"structure",required:["assessmentTargetArns"],members:{assessmentTargetArns:{shape:"Sy"}}},output:{type:"structure",required:["assessmentTargets","failedItems"],members:{assessmentTargets:{type:"list",member:{type:"structure",required:["arn","name","createdAt","updatedAt"],members:{arn:{},name:{},resourceGroupArn:{},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeAssessmentTemplates:{input:{type:"structure",required:["assessmentTemplateArns"],members:{assessmentTemplateArns:{shape:"Sy"}}},output:{type:"structure",required:["assessmentTemplates","failedItems"],members:{assessmentTemplates:{type:"list",member:{type:"structure",required:["arn","name","assessmentTargetArn","durationInSeconds","rulesPackageArns","userAttributesForFindings","assessmentRunCount","createdAt"],members:{arn:{},name:{},assessmentTargetArn:{},durationInSeconds:{type:"integer"},rulesPackageArns:{shape:"Sj"},userAttributesForFindings:{shape:"S4"},lastAssessmentRunArn:{},assessmentRunCount:{type:"integer"},createdAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeCrossAccountAccessRole:{output:{type:"structure",required:["roleArn","valid","registeredAt"],members:{roleArn:{},valid:{type:"boolean"},registeredAt:{type:"timestamp"}}}},DescribeExclusions:{input:{type:"structure",required:["exclusionArns"],members:{exclusionArns:{type:"list",member:{}},locale:{}}},output:{type:"structure",required:["exclusions","failedItems"],members:{exclusions:{type:"map",key:{},value:{type:"structure",required:["arn","title","description","recommendation","scopes"],members:{arn:{},title:{},description:{},recommendation:{},scopes:{shape:"S1x"},attributes:{shape:"S21"}}}},failedItems:{shape:"S9"}}}},DescribeFindings:{input:{type:"structure",required:["findingArns"],members:{findingArns:{shape:"Sy"},locale:{}}},output:{type:"structure",required:["findings","failedItems"],members:{findings:{type:"list",member:{type:"structure",required:["arn","attributes","userAttributes","createdAt","updatedAt"],members:{arn:{},schemaVersion:{type:"integer"},service:{},serviceAttributes:{type:"structure",required:["schemaVersion"],members:{schemaVersion:{type:"integer"},assessmentRunArn:{},rulesPackageArn:{}}},assetType:{},assetAttributes:{type:"structure",required:["schemaVersion"],members:{schemaVersion:{type:"integer"},agentId:{},autoScalingGroup:{},amiId:{},hostname:{},ipv4Addresses:{type:"list",member:{}},tags:{type:"list",member:{shape:"S2i"}},networkInterfaces:{type:"list",member:{type:"structure",members:{networkInterfaceId:{},subnetId:{},vpcId:{},privateDnsName:{},privateIpAddress:{},privateIpAddresses:{type:"list",member:{type:"structure",members:{privateDnsName:{},privateIpAddress:{}}}},publicDnsName:{},publicIp:{},ipv6Addresses:{type:"list",member:{}},securityGroups:{type:"list",member:{type:"structure",members:{groupName:{},groupId:{}}}}}}}}},id:{},title:{},description:{},recommendation:{},severity:{},numericSeverity:{type:"double"},confidence:{type:"integer"},indicatorOfCompromise:{type:"boolean"},attributes:{shape:"S21"},userAttributes:{shape:"S4"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeResourceGroups:{input:{type:"structure",required:["resourceGroupArns"],members:{resourceGroupArns:{shape:"Sy"}}},output:{type:"structure",required:["resourceGroups","failedItems"],members:{resourceGroups:{type:"list",member:{type:"structure",required:["arn","tags","createdAt"],members:{arn:{},tags:{shape:"Sp"},createdAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}}},DescribeRulesPackages:{input:{type:"structure",required:["rulesPackageArns"],members:{rulesPackageArns:{shape:"Sy"},locale:{}}},output:{type:"structure",required:["rulesPackages","failedItems"],members:{rulesPackages:{type:"list",member:{type:"structure",required:["arn","name","version","provider"],members:{arn:{},name:{},version:{},provider:{},description:{}}}},failedItems:{shape:"S9"}}}},GetAssessmentReport:{input:{type:"structure",required:["assessmentRunArn","reportFileFormat","reportType"],members:{assessmentRunArn:{},reportFileFormat:{},reportType:{}}},output:{type:"structure",required:["status"],members:{status:{},url:{}}}},GetExclusionsPreview:{input:{type:"structure",required:["assessmentTemplateArn","previewToken"],members:{assessmentTemplateArn:{},previewToken:{},nextToken:{},maxResults:{type:"integer"},locale:{}}},output:{type:"structure",required:["previewStatus"],members:{previewStatus:{},exclusionPreviews:{type:"list",member:{type:"structure",required:["title","description","recommendation","scopes"],members:{title:{},description:{},recommendation:{},scopes:{shape:"S1x"},attributes:{shape:"S21"}}}},nextToken:{}}}},GetTelemetryMetadata:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}},output:{type:"structure",required:["telemetryMetadata"],members:{telemetryMetadata:{shape:"S3j"}}}},ListAssessmentRunAgents:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{},filter:{type:"structure",required:["agentHealths","agentHealthCodes"],members:{agentHealths:{type:"list",member:{}},agentHealthCodes:{type:"list",member:{}}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentRunAgents"],members:{assessmentRunAgents:{type:"list",member:{type:"structure",required:["agentId","assessmentRunArn","agentHealth","agentHealthCode","telemetryMetadata"],members:{agentId:{},assessmentRunArn:{},agentHealth:{},agentHealthCode:{},agentHealthDetails:{},autoScalingGroup:{},telemetryMetadata:{shape:"S3j"}}}},nextToken:{}}}},ListAssessmentRuns:{input:{type:"structure",members:{assessmentTemplateArns:{shape:"S3x"},filter:{type:"structure",members:{namePattern:{},states:{type:"list",member:{}},durationRange:{shape:"S41"},rulesPackageArns:{shape:"S42"},startTimeRange:{shape:"S43"},completionTimeRange:{shape:"S43"},stateChangeTimeRange:{shape:"S43"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentRunArns"],members:{assessmentRunArns:{shape:"S45"},nextToken:{}}}},ListAssessmentTargets:{input:{type:"structure",members:{filter:{type:"structure",members:{assessmentTargetNamePattern:{}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentTargetArns"],members:{assessmentTargetArns:{shape:"S45"},nextToken:{}}}},ListAssessmentTemplates:{input:{type:"structure",members:{assessmentTargetArns:{shape:"S3x"},filter:{type:"structure",members:{namePattern:{},durationRange:{shape:"S41"},rulesPackageArns:{shape:"S42"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentTemplateArns"],members:{assessmentTemplateArns:{shape:"S45"},nextToken:{}}}},ListEventSubscriptions:{input:{type:"structure",members:{resourceArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["subscriptions"],members:{subscriptions:{type:"list",member:{type:"structure",required:["resourceArn","topicArn","eventSubscriptions"],members:{resourceArn:{},topicArn:{},eventSubscriptions:{type:"list",member:{type:"structure",required:["event","subscribedAt"],members:{event:{},subscribedAt:{type:"timestamp"}}}}}}},nextToken:{}}}},ListExclusions:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["exclusionArns"],members:{exclusionArns:{shape:"S45"},nextToken:{}}}},ListFindings:{input:{type:"structure",members:{assessmentRunArns:{shape:"S3x"},filter:{type:"structure",members:{agentIds:{type:"list",member:{}},autoScalingGroups:{type:"list",member:{}},ruleNames:{type:"list",member:{}},severities:{type:"list",member:{}},rulesPackageArns:{shape:"S42"},attributes:{shape:"S21"},userAttributes:{shape:"S21"},creationTimeRange:{shape:"S43"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["findingArns"],members:{findingArns:{shape:"S45"},nextToken:{}}}},ListRulesPackages:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["rulesPackageArns"],members:{rulesPackageArns:{shape:"S45"},nextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{}}},output:{type:"structure",required:["tags"],members:{tags:{shape:"S4x"}}}},PreviewAgents:{input:{type:"structure",required:["previewAgentsArn"],members:{previewAgentsArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["agentPreviews"],members:{agentPreviews:{type:"list",member:{type:"structure",required:["agentId"],members:{hostname:{},agentId:{},autoScalingGroup:{},agentHealth:{},agentVersion:{},operatingSystem:{},kernelVersion:{},ipv4Address:{}}}},nextToken:{}}}},RegisterCrossAccountAccessRole:{input:{type:"structure",required:["roleArn"],members:{roleArn:{}}}},RemoveAttributesFromFindings:{input:{type:"structure",required:["findingArns","attributeKeys"],members:{findingArns:{shape:"S2"},attributeKeys:{type:"list",member:{}}}},output:{type:"structure",required:["failedItems"],members:{failedItems:{shape:"S9"}}}},SetTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{},tags:{shape:"S4x"}}}},StartAssessmentRun:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{},assessmentRunName:{}}},output:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}}},StopAssessmentRun:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{},stopAction:{}}}},SubscribeToEvent:{input:{type:"structure",required:["resourceArn","event","topicArn"],members:{resourceArn:{},event:{},topicArn:{}}}},UnsubscribeFromEvent:{input:{type:"structure",required:["resourceArn","event","topicArn"],members:{resourceArn:{},event:{},topicArn:{}}}},UpdateAssessmentTarget:{input:{type:"structure",required:["assessmentTargetArn","assessmentTargetName"],members:{assessmentTargetArn:{},assessmentTargetName:{},resourceGroupArn:{}}}}},shapes:{S2:{type:"list",member:{}},S4:{type:"list",member:{shape:"S5"}},S5:{type:"structure",required:["key"],members:{key:{},value:{}}},S9:{type:"map",key:{},value:{type:"structure",required:["failureCode","retryable"],members:{failureCode:{},retryable:{type:"boolean"}}}},Sj:{type:"list",member:{}},Sp:{type:"list",member:{type:"structure",required:["key"],members:{key:{},value:{}}}},Sy:{type:"list",member:{}},S1x:{type:"list",member:{type:"structure",members:{key:{},value:{}}}},S21:{type:"list",member:{shape:"S5"}},S2i:{type:"structure",required:["key"],members:{key:{},value:{}}},S3j:{type:"list",member:{type:"structure",required:["messageType","count"],members:{messageType:{},count:{type:"long"},dataSize:{type:"long"}}}},S3x:{type:"list",member:{}},S41:{type:"structure",members:{minSeconds:{type:"integer"},maxSeconds:{type:"integer"}}},S42:{type:"list",member:{}},S43:{type:"structure",members:{beginDate:{type:"timestamp"},endDate:{type:"timestamp"}}},S45:{type:"list",member:{}},S4x:{type:"list",member:{shape:"S2i"}}}}},{}],125:[function(e,t,r){t.exports={pagination:{GetExclusionsPreview:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListAssessmentRunAgents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListAssessmentRuns:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListAssessmentTargets:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListAssessmentTemplates:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListEventSubscriptions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListExclusions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListFindings:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListRulesPackages:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},PreviewAgents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"}}}},{}],126:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-05-28",endpointPrefix:"iot",protocol:"rest-json",serviceFullName:"AWS IoT",serviceId:"IoT",signatureVersion:"v4",signingName:"execute-api",uid:"iot-2015-05-28"},operations:{AcceptCertificateTransfer:{http:{method:"PATCH",requestUri:"/accept-certificate-transfer/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"},setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}}},AddThingToBillingGroup:{http:{method:"PUT",requestUri:"/billing-groups/addThingToBillingGroup"},input:{type:"structure",members:{billingGroupName:{},billingGroupArn:{},thingName:{},thingArn:{}}},output:{type:"structure",members:{}}},AddThingToThingGroup:{http:{method:"PUT",requestUri:"/thing-groups/addThingToThingGroup"},input:{type:"structure",members:{thingGroupName:{},thingGroupArn:{},thingName:{},thingArn:{},overrideDynamicGroups:{type:"boolean"}}},output:{type:"structure",members:{}}},AssociateTargetsWithJob:{http:{requestUri:"/jobs/{jobId}/targets"},input:{type:"structure",required:["targets","jobId"],members:{targets:{shape:"Sg"},jobId:{location:"uri",locationName:"jobId"},comment:{},namespaceId:{location:"querystring",locationName:"namespaceId"}}},output:{type:"structure",members:{jobArn:{},jobId:{},description:{}}}},AttachPolicy:{http:{method:"PUT",requestUri:"/target-policies/{policyName}"},input:{type:"structure",required:["policyName","target"],members:{policyName:{location:"uri",locationName:"policyName"},target:{}}}},AttachPrincipalPolicy:{http:{method:"PUT",requestUri:"/principal-policies/{policyName}"},input:{type:"structure",required:["policyName","principal"],members:{policyName:{location:"uri",locationName:"policyName"},principal:{location:"header",locationName:"x-amzn-iot-principal"}}},deprecated:!0},AttachSecurityProfile:{http:{method:"PUT",requestUri:"/security-profiles/{securityProfileName}/targets"},input:{type:"structure",required:["securityProfileName","securityProfileTargetArn"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},securityProfileTargetArn:{location:"querystring",locationName:"securityProfileTargetArn"}}},output:{type:"structure",members:{}}},AttachThingPrincipal:{http:{method:"PUT",requestUri:"/things/{thingName}/principals"},input:{type:"structure",required:["thingName","principal"],members:{thingName:{location:"uri",locationName:"thingName"},principal:{location:"header",locationName:"x-amzn-principal"}}},output:{type:"structure",members:{}}},CancelAuditMitigationActionsTask:{http:{method:"PUT",requestUri:"/audit/mitigationactions/tasks/{taskId}/cancel"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{}}},CancelAuditTask:{http:{method:"PUT",requestUri:"/audit/tasks/{taskId}/cancel"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{}}},CancelCertificateTransfer:{http:{method:"PATCH",requestUri:"/cancel-certificate-transfer/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"}}}},CancelDetectMitigationActionsTask:{http:{method:"PUT",requestUri:"/detect/mitigationactions/tasks/{taskId}/cancel"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{}}},CancelJob:{http:{method:"PUT",requestUri:"/jobs/{jobId}/cancel"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"},reasonCode:{},comment:{},force:{location:"querystring",locationName:"force",type:"boolean"}}},output:{type:"structure",members:{jobArn:{},jobId:{},description:{}}}},CancelJobExecution:{http:{method:"PUT",requestUri:"/things/{thingName}/jobs/{jobId}/cancel"},input:{type:"structure",required:["jobId","thingName"],members:{jobId:{location:"uri",locationName:"jobId"},thingName:{location:"uri",locationName:"thingName"},force:{location:"querystring",locationName:"force",type:"boolean"},expectedVersion:{type:"long"},statusDetails:{shape:"S1e"}}}},ClearDefaultAuthorizer:{http:{method:"DELETE",requestUri:"/default-authorizer"},input:{type:"structure",members:{}},output:{type:"structure",members:{}}},ConfirmTopicRuleDestination:{http:{method:"GET",requestUri:"/confirmdestination/{confirmationToken+}"},input:{type:"structure",required:["confirmationToken"],members:{confirmationToken:{location:"uri",locationName:"confirmationToken"}}},output:{type:"structure",members:{}}},CreateAuditSuppression:{http:{requestUri:"/audit/suppressions/create"},input:{type:"structure",required:["checkName","resourceIdentifier","clientRequestToken"],members:{checkName:{},resourceIdentifier:{shape:"S1o"},expirationDate:{type:"timestamp"},suppressIndefinitely:{type:"boolean"},description:{},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{}}},CreateAuthorizer:{http:{requestUri:"/authorizer/{authorizerName}"},input:{type:"structure",required:["authorizerName","authorizerFunctionArn"],members:{authorizerName:{location:"uri",locationName:"authorizerName"},authorizerFunctionArn:{},tokenKeyName:{},tokenSigningPublicKeys:{shape:"S25"},status:{},tags:{shape:"S29"},signingDisabled:{type:"boolean"},enableCachingForHttp:{type:"boolean"}}},output:{type:"structure",members:{authorizerName:{},authorizerArn:{}}}},CreateBillingGroup:{http:{requestUri:"/billing-groups/{billingGroupName}"},input:{type:"structure",required:["billingGroupName"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"},billingGroupProperties:{shape:"S2i"},tags:{shape:"S29"}}},output:{type:"structure",members:{billingGroupName:{},billingGroupArn:{},billingGroupId:{}}}},CreateCertificateFromCsr:{http:{requestUri:"/certificates"},input:{type:"structure",required:["certificateSigningRequest"],members:{certificateSigningRequest:{},setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}},output:{type:"structure",members:{certificateArn:{},certificateId:{},certificatePem:{}}}},CreateCustomMetric:{http:{requestUri:"/custom-metric/{metricName}"},input:{type:"structure",required:["metricName","metricType","clientRequestToken"],members:{metricName:{location:"uri",locationName:"metricName"},displayName:{},metricType:{},tags:{shape:"S29"},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{metricName:{},metricArn:{}}}},CreateDimension:{http:{requestUri:"/dimensions/{name}"},input:{type:"structure",required:["name","type","stringValues","clientRequestToken"],members:{name:{location:"uri",locationName:"name"},type:{},stringValues:{shape:"S30"},tags:{shape:"S29"},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{name:{},arn:{}}}},CreateDomainConfiguration:{http:{requestUri:"/domainConfigurations/{domainConfigurationName}"},input:{type:"structure",required:["domainConfigurationName"],members:{domainConfigurationName:{location:"uri",locationName:"domainConfigurationName"},domainName:{},serverCertificateArns:{type:"list",member:{}},validationCertificateArn:{},authorizerConfig:{shape:"S39"},serviceType:{},tags:{shape:"S29"}}},output:{type:"structure",members:{domainConfigurationName:{},domainConfigurationArn:{}}}},CreateDynamicThingGroup:{http:{requestUri:"/dynamic-thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName","queryString"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},thingGroupProperties:{shape:"S3f"},indexName:{},queryString:{},queryVersion:{},tags:{shape:"S29"}}},output:{type:"structure",members:{thingGroupName:{},thingGroupArn:{},thingGroupId:{},indexName:{},queryString:{},queryVersion:{}}}},CreateFleetMetric:{http:{method:"PUT",requestUri:"/fleet-metric/{metricName}"},input:{type:"structure",required:["metricName","queryString","aggregationType","period","aggregationField"],members:{metricName:{location:"uri",locationName:"metricName"},queryString:{},aggregationType:{shape:"S3t"},period:{type:"integer"},aggregationField:{},description:{},queryVersion:{},indexName:{},unit:{},tags:{shape:"S29"}}},output:{type:"structure",members:{metricName:{},metricArn:{}}}},CreateJob:{http:{method:"PUT",requestUri:"/jobs/{jobId}"},input:{type:"structure",required:["jobId","targets"],members:{jobId:{location:"uri",locationName:"jobId"},targets:{shape:"Sg"},documentSource:{},document:{},description:{},presignedUrlConfig:{shape:"S46"},targetSelection:{},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},timeoutConfig:{shape:"S4n"},tags:{shape:"S29"},namespaceId:{},jobTemplateArn:{},jobExecutionsRetryConfig:{shape:"S4q"},documentParameters:{shape:"S4v"}}},output:{type:"structure",members:{jobArn:{},jobId:{},description:{}}}},CreateJobTemplate:{http:{method:"PUT",requestUri:"/job-templates/{jobTemplateId}"},input:{type:"structure",required:["jobTemplateId","description"],members:{jobTemplateId:{location:"uri",locationName:"jobTemplateId"},jobArn:{},documentSource:{},document:{},description:{},presignedUrlConfig:{shape:"S46"},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},timeoutConfig:{shape:"S4n"},tags:{shape:"S29"},jobExecutionsRetryConfig:{shape:"S4q"}}},output:{type:"structure",members:{jobTemplateArn:{},jobTemplateId:{}}}},CreateKeysAndCertificate:{http:{requestUri:"/keys-and-certificate"},input:{type:"structure",members:{setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"}}},output:{type:"structure",members:{certificateArn:{},certificateId:{},certificatePem:{},keyPair:{shape:"S54"}}}},CreateMitigationAction:{http:{requestUri:"/mitigationactions/actions/{actionName}"},input:{type:"structure",required:["actionName","roleArn","actionParams"],members:{actionName:{location:"uri",locationName:"actionName"},roleArn:{},actionParams:{shape:"S59"},tags:{shape:"S29"}}},output:{type:"structure",members:{actionArn:{},actionId:{}}}},CreateOTAUpdate:{http:{requestUri:"/otaUpdates/{otaUpdateId}"},input:{type:"structure",required:["otaUpdateId","targets","files","roleArn"],members:{otaUpdateId:{location:"uri",locationName:"otaUpdateId"},description:{},targets:{shape:"S5s"},protocols:{shape:"S5u"},targetSelection:{},awsJobExecutionsRolloutConfig:{shape:"S5w"},awsJobPresignedUrlConfig:{shape:"S63"},awsJobAbortConfig:{type:"structure",required:["abortCriteriaList"],members:{abortCriteriaList:{type:"list",member:{type:"structure",required:["failureType","action","thresholdPercentage","minNumberOfExecutedThings"],members:{failureType:{},action:{},thresholdPercentage:{type:"double"},minNumberOfExecutedThings:{ +type:"integer"}}}}}},awsJobTimeoutConfig:{type:"structure",members:{inProgressTimeoutInMinutes:{type:"long"}}},files:{shape:"S6e"},roleArn:{},additionalParameters:{shape:"S7c"},tags:{shape:"S29"}}},output:{type:"structure",members:{otaUpdateId:{},awsIotJobId:{},otaUpdateArn:{},awsIotJobArn:{},otaUpdateStatus:{}}}},CreatePolicy:{http:{requestUri:"/policies/{policyName}"},input:{type:"structure",required:["policyName","policyDocument"],members:{policyName:{location:"uri",locationName:"policyName"},policyDocument:{},tags:{shape:"S29"}}},output:{type:"structure",members:{policyName:{},policyArn:{},policyDocument:{},policyVersionId:{}}}},CreatePolicyVersion:{http:{requestUri:"/policies/{policyName}/version"},input:{type:"structure",required:["policyName","policyDocument"],members:{policyName:{location:"uri",locationName:"policyName"},policyDocument:{},setAsDefault:{location:"querystring",locationName:"setAsDefault",type:"boolean"}}},output:{type:"structure",members:{policyArn:{},policyDocument:{},policyVersionId:{},isDefaultVersion:{type:"boolean"}}}},CreateProvisioningClaim:{http:{requestUri:"/provisioning-templates/{templateName}/provisioning-claim"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"}}},output:{type:"structure",members:{certificateId:{},certificatePem:{},keyPair:{shape:"S54"},expiration:{type:"timestamp"}}}},CreateProvisioningTemplate:{http:{requestUri:"/provisioning-templates"},input:{type:"structure",required:["templateName","templateBody","provisioningRoleArn"],members:{templateName:{},description:{},templateBody:{},enabled:{type:"boolean"},provisioningRoleArn:{},preProvisioningHook:{shape:"S7y"},tags:{shape:"S29"}}},output:{type:"structure",members:{templateArn:{},templateName:{},defaultVersionId:{type:"integer"}}}},CreateProvisioningTemplateVersion:{http:{requestUri:"/provisioning-templates/{templateName}/versions"},input:{type:"structure",required:["templateName","templateBody"],members:{templateName:{location:"uri",locationName:"templateName"},templateBody:{},setAsDefault:{location:"querystring",locationName:"setAsDefault",type:"boolean"}}},output:{type:"structure",members:{templateArn:{},templateName:{},versionId:{type:"integer"},isDefaultVersion:{type:"boolean"}}}},CreateRoleAlias:{http:{requestUri:"/role-aliases/{roleAlias}"},input:{type:"structure",required:["roleAlias","roleArn"],members:{roleAlias:{location:"uri",locationName:"roleAlias"},roleArn:{},credentialDurationSeconds:{type:"integer"},tags:{shape:"S29"}}},output:{type:"structure",members:{roleAlias:{},roleAliasArn:{}}}},CreateScheduledAudit:{http:{requestUri:"/audit/scheduledaudits/{scheduledAuditName}"},input:{type:"structure",required:["frequency","targetCheckNames","scheduledAuditName"],members:{frequency:{},dayOfMonth:{},dayOfWeek:{},targetCheckNames:{shape:"S8d"},scheduledAuditName:{location:"uri",locationName:"scheduledAuditName"},tags:{shape:"S29"}}},output:{type:"structure",members:{scheduledAuditArn:{}}}},CreateSecurityProfile:{http:{requestUri:"/security-profiles/{securityProfileName}"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},securityProfileDescription:{},behaviors:{shape:"S8j"},alertTargets:{shape:"S99"},additionalMetricsToRetain:{shape:"S9d",deprecated:!0,deprecatedMessage:"Use additionalMetricsToRetainV2."},additionalMetricsToRetainV2:{shape:"S9e"},tags:{shape:"S29"}}},output:{type:"structure",members:{securityProfileName:{},securityProfileArn:{}}}},CreateStream:{http:{requestUri:"/streams/{streamId}"},input:{type:"structure",required:["streamId","files","roleArn"],members:{streamId:{location:"uri",locationName:"streamId"},description:{},files:{shape:"S9k"},roleArn:{},tags:{shape:"S29"}}},output:{type:"structure",members:{streamId:{},streamArn:{},description:{},streamVersion:{type:"integer"}}}},CreateThing:{http:{requestUri:"/things/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},thingTypeName:{},attributePayload:{shape:"S3h"},billingGroupName:{}}},output:{type:"structure",members:{thingName:{},thingArn:{},thingId:{}}}},CreateThingGroup:{http:{requestUri:"/thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},parentGroupName:{},thingGroupProperties:{shape:"S3f"},tags:{shape:"S29"}}},output:{type:"structure",members:{thingGroupName:{},thingGroupArn:{},thingGroupId:{}}}},CreateThingType:{http:{requestUri:"/thing-types/{thingTypeName}"},input:{type:"structure",required:["thingTypeName"],members:{thingTypeName:{location:"uri",locationName:"thingTypeName"},thingTypeProperties:{shape:"S9w"},tags:{shape:"S29"}}},output:{type:"structure",members:{thingTypeName:{},thingTypeArn:{},thingTypeId:{}}}},CreateTopicRule:{http:{requestUri:"/rules/{ruleName}"},input:{type:"structure",required:["ruleName","topicRulePayload"],members:{ruleName:{location:"uri",locationName:"ruleName"},topicRulePayload:{shape:"Sa4"},tags:{location:"header",locationName:"x-amz-tagging"}},payload:"topicRulePayload"}},CreateTopicRuleDestination:{http:{requestUri:"/destinations"},input:{type:"structure",required:["destinationConfiguration"],members:{destinationConfiguration:{type:"structure",members:{httpUrlConfiguration:{type:"structure",required:["confirmationUrl"],members:{confirmationUrl:{}}},vpcConfiguration:{type:"structure",required:["subnetIds","vpcId","roleArn"],members:{subnetIds:{shape:"Sd5"},securityGroups:{shape:"Sd7"},vpcId:{},roleArn:{}}}}}}},output:{type:"structure",members:{topicRuleDestination:{shape:"Sdb"}}}},DeleteAccountAuditConfiguration:{http:{method:"DELETE",requestUri:"/audit/configuration"},input:{type:"structure",members:{deleteScheduledAudits:{location:"querystring",locationName:"deleteScheduledAudits",type:"boolean"}}},output:{type:"structure",members:{}}},DeleteAuditSuppression:{http:{requestUri:"/audit/suppressions/delete"},input:{type:"structure",required:["checkName","resourceIdentifier"],members:{checkName:{},resourceIdentifier:{shape:"S1o"}}},output:{type:"structure",members:{}}},DeleteAuthorizer:{http:{method:"DELETE",requestUri:"/authorizer/{authorizerName}"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{location:"uri",locationName:"authorizerName"}}},output:{type:"structure",members:{}}},DeleteBillingGroup:{http:{method:"DELETE",requestUri:"/billing-groups/{billingGroupName}"},input:{type:"structure",required:["billingGroupName"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteCACertificate:{http:{method:"DELETE",requestUri:"/cacertificate/{caCertificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"caCertificateId"}}},output:{type:"structure",members:{}}},DeleteCertificate:{http:{method:"DELETE",requestUri:"/certificates/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"},forceDelete:{location:"querystring",locationName:"forceDelete",type:"boolean"}}}},DeleteCustomMetric:{http:{method:"DELETE",requestUri:"/custom-metric/{metricName}"},input:{type:"structure",required:["metricName"],members:{metricName:{location:"uri",locationName:"metricName"}}},output:{type:"structure",members:{}}},DeleteDimension:{http:{method:"DELETE",requestUri:"/dimensions/{name}"},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}},output:{type:"structure",members:{}}},DeleteDomainConfiguration:{http:{method:"DELETE",requestUri:"/domainConfigurations/{domainConfigurationName}"},input:{type:"structure",required:["domainConfigurationName"],members:{domainConfigurationName:{location:"uri",locationName:"domainConfigurationName"}}},output:{type:"structure",members:{}}},DeleteDynamicThingGroup:{http:{method:"DELETE",requestUri:"/dynamic-thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteFleetMetric:{http:{method:"DELETE",requestUri:"/fleet-metric/{metricName}"},input:{type:"structure",required:["metricName"],members:{metricName:{location:"uri",locationName:"metricName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}}},DeleteJob:{http:{method:"DELETE",requestUri:"/jobs/{jobId}"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"},force:{location:"querystring",locationName:"force",type:"boolean"},namespaceId:{location:"querystring",locationName:"namespaceId"}}}},DeleteJobExecution:{http:{method:"DELETE",requestUri:"/things/{thingName}/jobs/{jobId}/executionNumber/{executionNumber}"},input:{type:"structure",required:["jobId","thingName","executionNumber"],members:{jobId:{location:"uri",locationName:"jobId"},thingName:{location:"uri",locationName:"thingName"},executionNumber:{location:"uri",locationName:"executionNumber",type:"long"},force:{location:"querystring",locationName:"force",type:"boolean"},namespaceId:{location:"querystring",locationName:"namespaceId"}}}},DeleteJobTemplate:{http:{method:"DELETE",requestUri:"/job-templates/{jobTemplateId}"},input:{type:"structure",required:["jobTemplateId"],members:{jobTemplateId:{location:"uri",locationName:"jobTemplateId"}}}},DeleteMitigationAction:{http:{method:"DELETE",requestUri:"/mitigationactions/actions/{actionName}"},input:{type:"structure",required:["actionName"],members:{actionName:{location:"uri",locationName:"actionName"}}},output:{type:"structure",members:{}}},DeleteOTAUpdate:{http:{method:"DELETE",requestUri:"/otaUpdates/{otaUpdateId}"},input:{type:"structure",required:["otaUpdateId"],members:{otaUpdateId:{location:"uri",locationName:"otaUpdateId"},deleteStream:{location:"querystring",locationName:"deleteStream",type:"boolean"},forceDeleteAWSJob:{location:"querystring",locationName:"forceDeleteAWSJob",type:"boolean"}}},output:{type:"structure",members:{}}},DeletePolicy:{http:{method:"DELETE",requestUri:"/policies/{policyName}"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"uri",locationName:"policyName"}}}},DeletePolicyVersion:{http:{method:"DELETE",requestUri:"/policies/{policyName}/version/{policyVersionId}"},input:{type:"structure",required:["policyName","policyVersionId"],members:{policyName:{location:"uri",locationName:"policyName"},policyVersionId:{location:"uri",locationName:"policyVersionId"}}}},DeleteProvisioningTemplate:{http:{method:"DELETE",requestUri:"/provisioning-templates/{templateName}"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"}}},output:{type:"structure",members:{}}},DeleteProvisioningTemplateVersion:{http:{method:"DELETE",requestUri:"/provisioning-templates/{templateName}/versions/{versionId}"},input:{type:"structure",required:["templateName","versionId"],members:{templateName:{location:"uri",locationName:"templateName"},versionId:{location:"uri",locationName:"versionId",type:"integer"}}},output:{type:"structure",members:{}}},DeleteRegistrationCode:{http:{method:"DELETE",requestUri:"/registrationcode"},input:{type:"structure",members:{}},output:{type:"structure",members:{}}},DeleteRoleAlias:{http:{method:"DELETE",requestUri:"/role-aliases/{roleAlias}"},input:{type:"structure",required:["roleAlias"],members:{roleAlias:{location:"uri",locationName:"roleAlias"}}},output:{type:"structure",members:{}}},DeleteScheduledAudit:{http:{method:"DELETE",requestUri:"/audit/scheduledaudits/{scheduledAuditName}"},input:{type:"structure",required:["scheduledAuditName"],members:{scheduledAuditName:{location:"uri",locationName:"scheduledAuditName"}}},output:{type:"structure",members:{}}},DeleteSecurityProfile:{http:{method:"DELETE",requestUri:"/security-profiles/{securityProfileName}"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteStream:{http:{method:"DELETE",requestUri:"/streams/{streamId}"},input:{type:"structure",required:["streamId"],members:{streamId:{location:"uri",locationName:"streamId"}}},output:{type:"structure",members:{}}},DeleteThing:{http:{method:"DELETE",requestUri:"/things/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteThingGroup:{http:{method:"DELETE",requestUri:"/thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{}}},DeleteThingType:{http:{method:"DELETE",requestUri:"/thing-types/{thingTypeName}"},input:{type:"structure",required:["thingTypeName"],members:{thingTypeName:{location:"uri",locationName:"thingTypeName"}}},output:{type:"structure",members:{}}},DeleteTopicRule:{http:{method:"DELETE",requestUri:"/rules/{ruleName}"},input:{type:"structure",required:["ruleName"],members:{ruleName:{location:"uri",locationName:"ruleName"}}}},DeleteTopicRuleDestination:{http:{method:"DELETE",requestUri:"/destinations/{arn+}"},input:{type:"structure",required:["arn"],members:{arn:{location:"uri",locationName:"arn"}}},output:{type:"structure",members:{}}},DeleteV2LoggingLevel:{http:{method:"DELETE",requestUri:"/v2LoggingLevel"},input:{type:"structure",required:["targetType","targetName"],members:{targetType:{location:"querystring",locationName:"targetType"},targetName:{location:"querystring",locationName:"targetName"}}}},DeprecateThingType:{http:{requestUri:"/thing-types/{thingTypeName}/deprecate"},input:{type:"structure",required:["thingTypeName"],members:{thingTypeName:{location:"uri",locationName:"thingTypeName"},undoDeprecate:{type:"boolean"}}},output:{type:"structure",members:{}}},DescribeAccountAuditConfiguration:{http:{method:"GET",requestUri:"/audit/configuration"},input:{type:"structure",members:{}},output:{type:"structure",members:{roleArn:{},auditNotificationTargetConfigurations:{shape:"Sfb"},auditCheckConfigurations:{shape:"Sfe"}}}},DescribeAuditFinding:{http:{method:"GET",requestUri:"/audit/findings/{findingId}"},input:{type:"structure",required:["findingId"],members:{findingId:{location:"uri",locationName:"findingId"}}},output:{type:"structure",members:{finding:{shape:"Sfj"}}}},DescribeAuditMitigationActionsTask:{http:{method:"GET",requestUri:"/audit/mitigationactions/tasks/{taskId}"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{taskStatus:{},startTime:{type:"timestamp"},endTime:{type:"timestamp"},taskStatistics:{type:"map",key:{},value:{type:"structure",members:{totalFindingsCount:{type:"long"},failedFindingsCount:{type:"long"},succeededFindingsCount:{type:"long"},skippedFindingsCount:{type:"long"},canceledFindingsCount:{type:"long"}}}},target:{shape:"Sg3"},auditCheckToActionsMapping:{shape:"Sg7"},actionsDefinition:{shape:"Sg9"}}}},DescribeAuditSuppression:{http:{requestUri:"/audit/suppressions/describe"},input:{type:"structure",required:["checkName","resourceIdentifier"],members:{checkName:{},resourceIdentifier:{shape:"S1o"}}},output:{type:"structure",members:{checkName:{},resourceIdentifier:{shape:"S1o"},expirationDate:{type:"timestamp"},suppressIndefinitely:{type:"boolean"},description:{}}}},DescribeAuditTask:{http:{method:"GET",requestUri:"/audit/tasks/{taskId}"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{taskStatus:{},taskType:{},taskStartTime:{type:"timestamp"},taskStatistics:{type:"structure",members:{totalChecks:{type:"integer"},inProgressChecks:{type:"integer"},waitingForDataCollectionChecks:{type:"integer"},compliantChecks:{type:"integer"},nonCompliantChecks:{type:"integer"},failedChecks:{type:"integer"},canceledChecks:{type:"integer"}}},scheduledAuditName:{},auditDetails:{type:"map",key:{},value:{type:"structure",members:{checkRunStatus:{},checkCompliant:{type:"boolean"},totalResourcesCount:{type:"long"},nonCompliantResourcesCount:{type:"long"},suppressedNonCompliantResourcesCount:{type:"long"},errorCode:{},message:{}}}}}}},DescribeAuthorizer:{http:{method:"GET",requestUri:"/authorizer/{authorizerName}"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{location:"uri",locationName:"authorizerName"}}},output:{type:"structure",members:{authorizerDescription:{shape:"Sh0"}}}},DescribeBillingGroup:{http:{method:"GET",requestUri:"/billing-groups/{billingGroupName}"},input:{type:"structure",required:["billingGroupName"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"}}},output:{type:"structure",members:{billingGroupName:{},billingGroupId:{},billingGroupArn:{},version:{type:"long"},billingGroupProperties:{shape:"S2i"},billingGroupMetadata:{type:"structure",members:{creationDate:{type:"timestamp"}}}}}},DescribeCACertificate:{http:{method:"GET",requestUri:"/cacertificate/{caCertificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"caCertificateId"}}},output:{type:"structure",members:{certificateDescription:{type:"structure",members:{certificateArn:{},certificateId:{},status:{},certificatePem:{},ownedBy:{},creationDate:{type:"timestamp"},autoRegistrationStatus:{},lastModifiedDate:{type:"timestamp"},customerVersion:{type:"integer"},generationId:{},validity:{shape:"Shd"}}},registrationConfig:{shape:"She"}}}},DescribeCertificate:{http:{method:"GET",requestUri:"/certificates/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"}}},output:{type:"structure",members:{certificateDescription:{type:"structure",members:{certificateArn:{},certificateId:{},caCertificateId:{},status:{},certificatePem:{},ownedBy:{},previousOwnedBy:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},customerVersion:{type:"integer"},transferData:{type:"structure",members:{transferMessage:{},rejectReason:{},transferDate:{type:"timestamp"},acceptDate:{type:"timestamp"},rejectDate:{type:"timestamp"}}},generationId:{},validity:{shape:"Shd"},certificateMode:{}}}}}},DescribeCustomMetric:{http:{method:"GET",requestUri:"/custom-metric/{metricName}"},input:{type:"structure",required:["metricName"],members:{metricName:{location:"uri",locationName:"metricName"}}},output:{type:"structure",members:{metricName:{},metricArn:{},metricType:{},displayName:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeDefaultAuthorizer:{http:{method:"GET",requestUri:"/default-authorizer"},input:{type:"structure",members:{}},output:{type:"structure",members:{authorizerDescription:{shape:"Sh0"}}}},DescribeDetectMitigationActionsTask:{http:{method:"GET",requestUri:"/detect/mitigationactions/tasks/{taskId}"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{taskSummary:{shape:"Shs"}}}},DescribeDimension:{http:{method:"GET",requestUri:"/dimensions/{name}"},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}},output:{type:"structure",members:{name:{},arn:{},type:{},stringValues:{shape:"S30"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeDomainConfiguration:{http:{method:"GET",requestUri:"/domainConfigurations/{domainConfigurationName}"},input:{type:"structure",required:["domainConfigurationName"],members:{domainConfigurationName:{location:"uri",locationName:"domainConfigurationName"}}},output:{type:"structure",members:{domainConfigurationName:{},domainConfigurationArn:{},domainName:{},serverCertificates:{type:"list",member:{type:"structure",members:{serverCertificateArn:{},serverCertificateStatus:{},serverCertificateStatusDetail:{}}}},authorizerConfig:{shape:"S39"},domainConfigurationStatus:{},serviceType:{},domainType:{},lastStatusChangeDate:{type:"timestamp"}}}},DescribeEndpoint:{http:{method:"GET",requestUri:"/endpoint"},input:{type:"structure",members:{endpointType:{location:"querystring",locationName:"endpointType"}}},output:{type:"structure",members:{endpointAddress:{}}}},DescribeEventConfigurations:{http:{method:"GET",requestUri:"/event-configurations"},input:{type:"structure",members:{}},output:{type:"structure",members:{eventConfigurations:{shape:"Sii"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeFleetMetric:{http:{method:"GET",requestUri:"/fleet-metric/{metricName}"},input:{type:"structure",required:["metricName"],members:{metricName:{location:"uri",locationName:"metricName"}}},output:{type:"structure",members:{metricName:{},queryString:{},aggregationType:{shape:"S3t"},period:{type:"integer"},aggregationField:{},description:{},queryVersion:{},indexName:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},unit:{},version:{type:"long"},metricArn:{}}}},DescribeIndex:{http:{method:"GET",requestUri:"/indices/{indexName}"},input:{type:"structure",required:["indexName"],members:{indexName:{location:"uri",locationName:"indexName"}}},output:{type:"structure",members:{indexName:{},indexStatus:{},schema:{}}}},DescribeJob:{http:{method:"GET",requestUri:"/jobs/{jobId}"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"}}},output:{type:"structure",members:{documentSource:{},job:{type:"structure",members:{jobArn:{},jobId:{},targetSelection:{},status:{},forceCanceled:{type:"boolean"},reasonCode:{},comment:{},targets:{shape:"Sg"},description:{},presignedUrlConfig:{shape:"S46"},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},completedAt:{type:"timestamp"},jobProcessDetails:{type:"structure",members:{processingTargets:{type:"list",member:{}},numberOfCanceledThings:{type:"integer"},numberOfSucceededThings:{type:"integer"},numberOfFailedThings:{type:"integer"},numberOfRejectedThings:{type:"integer"},numberOfQueuedThings:{type:"integer"},numberOfInProgressThings:{type:"integer"},numberOfRemovedThings:{type:"integer"},numberOfTimedOutThings:{type:"integer"}}},timeoutConfig:{shape:"S4n"},namespaceId:{},jobTemplateArn:{},jobExecutionsRetryConfig:{shape:"S4q"},documentParameters:{shape:"S4v"}}}}}},DescribeJobExecution:{http:{method:"GET",requestUri:"/things/{thingName}/jobs/{jobId}"},input:{type:"structure",required:["jobId","thingName"],members:{jobId:{location:"uri",locationName:"jobId"},thingName:{location:"uri",locationName:"thingName"},executionNumber:{location:"querystring",locationName:"executionNumber",type:"long"}}},output:{type:"structure",members:{execution:{type:"structure",members:{jobId:{},status:{},forceCanceled:{type:"boolean"},statusDetails:{type:"structure",members:{detailsMap:{shape:"S1e"}}},thingArn:{},queuedAt:{type:"timestamp"},startedAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},executionNumber:{type:"long"},versionNumber:{type:"long"},approximateSecondsBeforeTimedOut:{type:"long"}}}}}},DescribeJobTemplate:{http:{method:"GET",requestUri:"/job-templates/{jobTemplateId}"},input:{type:"structure",required:["jobTemplateId"],members:{jobTemplateId:{location:"uri",locationName:"jobTemplateId"}}},output:{type:"structure",members:{jobTemplateArn:{},jobTemplateId:{},description:{},documentSource:{},document:{},createdAt:{type:"timestamp"},presignedUrlConfig:{shape:"S46"},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},timeoutConfig:{shape:"S4n"},jobExecutionsRetryConfig:{shape:"S4q"}}}},DescribeManagedJobTemplate:{http:{method:"GET",requestUri:"/managed-job-templates/{templateName}"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"},templateVersion:{location:"querystring",locationName:"templateVersion"}}},output:{type:"structure",members:{templateName:{},templateArn:{},description:{},templateVersion:{},environments:{shape:"Sjl"},documentParameters:{type:"list",member:{type:"structure",members:{key:{},description:{},regex:{},example:{},optional:{type:"boolean"}}}},document:{}}}},DescribeMitigationAction:{http:{method:"GET",requestUri:"/mitigationactions/actions/{actionName}"},input:{type:"structure",required:["actionName"],members:{actionName:{location:"uri",locationName:"actionName"}}},output:{type:"structure",members:{actionName:{},actionType:{},actionArn:{},actionId:{},roleArn:{},actionParams:{shape:"S59"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeProvisioningTemplate:{http:{method:"GET",requestUri:"/provisioning-templates/{templateName}"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"}}},output:{type:"structure",members:{templateArn:{},templateName:{},description:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},defaultVersionId:{type:"integer"},templateBody:{},enabled:{type:"boolean"},provisioningRoleArn:{},preProvisioningHook:{shape:"S7y"}}}},DescribeProvisioningTemplateVersion:{http:{method:"GET",requestUri:"/provisioning-templates/{templateName}/versions/{versionId}"},input:{type:"structure",required:["templateName","versionId"],members:{templateName:{location:"uri",locationName:"templateName"},versionId:{location:"uri",locationName:"versionId",type:"integer"}}},output:{type:"structure",members:{versionId:{type:"integer"},creationDate:{type:"timestamp"},templateBody:{},isDefaultVersion:{type:"boolean"}}}},DescribeRoleAlias:{http:{method:"GET",requestUri:"/role-aliases/{roleAlias}"},input:{type:"structure",required:["roleAlias"],members:{roleAlias:{location:"uri",locationName:"roleAlias"}}},output:{type:"structure",members:{roleAliasDescription:{type:"structure",members:{roleAlias:{},roleAliasArn:{},roleArn:{},owner:{},credentialDurationSeconds:{type:"integer"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}}}},DescribeScheduledAudit:{http:{method:"GET",requestUri:"/audit/scheduledaudits/{scheduledAuditName}"},input:{type:"structure",required:["scheduledAuditName"],members:{scheduledAuditName:{location:"uri",locationName:"scheduledAuditName"}}},output:{type:"structure",members:{frequency:{},dayOfMonth:{},dayOfWeek:{},targetCheckNames:{shape:"S8d"},scheduledAuditName:{},scheduledAuditArn:{}}}},DescribeSecurityProfile:{http:{method:"GET",requestUri:"/security-profiles/{securityProfileName}"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"}}},output:{type:"structure",members:{securityProfileName:{},securityProfileArn:{},securityProfileDescription:{},behaviors:{shape:"S8j"},alertTargets:{shape:"S99"},additionalMetricsToRetain:{shape:"S9d",deprecated:!0,deprecatedMessage:"Use additionalMetricsToRetainV2."},additionalMetricsToRetainV2:{shape:"S9e"},version:{type:"long"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},DescribeStream:{http:{method:"GET",requestUri:"/streams/{streamId}"},input:{type:"structure",required:["streamId"],members:{streamId:{location:"uri",locationName:"streamId"}}},output:{type:"structure",members:{streamInfo:{type:"structure",members:{streamId:{},streamArn:{},streamVersion:{type:"integer"},description:{},files:{shape:"S9k"},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},roleArn:{}}}}}},DescribeThing:{http:{method:"GET",requestUri:"/things/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"}}},output:{type:"structure",members:{defaultClientId:{},thingName:{},thingId:{},thingArn:{},thingTypeName:{},attributes:{shape:"S3i"},version:{type:"long"},billingGroupName:{}}}},DescribeThingGroup:{http:{method:"GET",requestUri:"/thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"}}},output:{type:"structure",members:{thingGroupName:{},thingGroupId:{},thingGroupArn:{},version:{type:"long"},thingGroupProperties:{shape:"S3f"},thingGroupMetadata:{type:"structure",members:{parentGroupName:{},rootToParentThingGroups:{shape:"Ske"},creationDate:{type:"timestamp"}}},indexName:{},queryString:{},queryVersion:{},status:{}}}},DescribeThingRegistrationTask:{http:{method:"GET",requestUri:"/thing-registration-tasks/{taskId}"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{taskId:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},templateBody:{},inputFileBucket:{},inputFileKey:{},roleArn:{},status:{},message:{},successCount:{type:"integer"},failureCount:{type:"integer"},percentageProgress:{type:"integer"}}}},DescribeThingType:{http:{method:"GET",requestUri:"/thing-types/{thingTypeName}"},input:{type:"structure",required:["thingTypeName"],members:{thingTypeName:{location:"uri",locationName:"thingTypeName"}}},output:{type:"structure",members:{thingTypeName:{},thingTypeId:{},thingTypeArn:{},thingTypeProperties:{shape:"S9w"},thingTypeMetadata:{shape:"Skr"}}}},DetachPolicy:{http:{requestUri:"/target-policies/{policyName}"},input:{type:"structure",required:["policyName","target"],members:{policyName:{location:"uri",locationName:"policyName"},target:{}}}},DetachPrincipalPolicy:{http:{method:"DELETE",requestUri:"/principal-policies/{policyName}"},input:{type:"structure",required:["policyName","principal"],members:{policyName:{location:"uri",locationName:"policyName"},principal:{location:"header",locationName:"x-amzn-iot-principal"}}},deprecated:!0},DetachSecurityProfile:{http:{method:"DELETE",requestUri:"/security-profiles/{securityProfileName}/targets"},input:{type:"structure",required:["securityProfileName","securityProfileTargetArn"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},securityProfileTargetArn:{location:"querystring",locationName:"securityProfileTargetArn"}}},output:{type:"structure",members:{}}},DetachThingPrincipal:{http:{method:"DELETE",requestUri:"/things/{thingName}/principals"},input:{type:"structure",required:["thingName","principal"],members:{thingName:{location:"uri",locationName:"thingName"},principal:{location:"header",locationName:"x-amzn-principal"}}},output:{type:"structure",members:{}}},DisableTopicRule:{http:{requestUri:"/rules/{ruleName}/disable"},input:{type:"structure",required:["ruleName"],members:{ruleName:{location:"uri",locationName:"ruleName"}}}},EnableTopicRule:{http:{requestUri:"/rules/{ruleName}/enable"},input:{type:"structure",required:["ruleName"],members:{ruleName:{location:"uri",locationName:"ruleName"}}}},GetBehaviorModelTrainingSummaries:{http:{method:"GET",requestUri:"/behavior-model-training/summaries"},input:{type:"structure",members:{securityProfileName:{location:"querystring",locationName:"securityProfileName"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{summaries:{type:"list",member:{type:"structure",members:{securityProfileName:{},behaviorName:{}, +trainingDataCollectionStartDate:{type:"timestamp"},modelStatus:{},datapointsCollectionPercentage:{type:"double"},lastModelRefreshDate:{type:"timestamp"}}}},nextToken:{}}}},GetBucketsAggregation:{http:{requestUri:"/indices/buckets"},input:{type:"structure",required:["queryString","aggregationField","bucketsAggregationType"],members:{indexName:{},queryString:{},aggregationField:{},queryVersion:{},bucketsAggregationType:{type:"structure",members:{termsAggregation:{type:"structure",members:{maxBuckets:{type:"integer"}}}}}}},output:{type:"structure",members:{totalCount:{type:"integer"},buckets:{type:"list",member:{type:"structure",members:{keyValue:{},count:{type:"integer"}}}}}}},GetCardinality:{http:{requestUri:"/indices/cardinality"},input:{type:"structure",required:["queryString"],members:{indexName:{},queryString:{},aggregationField:{},queryVersion:{}}},output:{type:"structure",members:{cardinality:{type:"integer"}}}},GetEffectivePolicies:{http:{requestUri:"/effective-policies"},input:{type:"structure",members:{principal:{},cognitoIdentityPoolId:{},thingName:{location:"querystring",locationName:"thingName"}}},output:{type:"structure",members:{effectivePolicies:{type:"list",member:{type:"structure",members:{policyName:{},policyArn:{},policyDocument:{}}}}}}},GetIndexingConfiguration:{http:{method:"GET",requestUri:"/indexing/config"},input:{type:"structure",members:{}},output:{type:"structure",members:{thingIndexingConfiguration:{shape:"Slq"},thingGroupIndexingConfiguration:{shape:"Slz"}}}},GetJobDocument:{http:{method:"GET",requestUri:"/jobs/{jobId}/job-document"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"}}},output:{type:"structure",members:{document:{}}}},GetLoggingOptions:{http:{method:"GET",requestUri:"/loggingOptions"},input:{type:"structure",members:{}},output:{type:"structure",members:{roleArn:{},logLevel:{}}}},GetOTAUpdate:{http:{method:"GET",requestUri:"/otaUpdates/{otaUpdateId}"},input:{type:"structure",required:["otaUpdateId"],members:{otaUpdateId:{location:"uri",locationName:"otaUpdateId"}}},output:{type:"structure",members:{otaUpdateInfo:{type:"structure",members:{otaUpdateId:{},otaUpdateArn:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},description:{},targets:{shape:"S5s"},protocols:{shape:"S5u"},awsJobExecutionsRolloutConfig:{shape:"S5w"},awsJobPresignedUrlConfig:{shape:"S63"},targetSelection:{},otaUpdateFiles:{shape:"S6e"},otaUpdateStatus:{},awsIotJobId:{},awsIotJobArn:{},errorInfo:{type:"structure",members:{code:{},message:{}}},additionalParameters:{shape:"S7c"}}}}}},GetPercentiles:{http:{requestUri:"/indices/percentiles"},input:{type:"structure",required:["queryString"],members:{indexName:{},queryString:{},aggregationField:{},queryVersion:{},percents:{type:"list",member:{type:"double"}}}},output:{type:"structure",members:{percentiles:{type:"list",member:{type:"structure",members:{percent:{type:"double"},value:{type:"double"}}}}}}},GetPolicy:{http:{method:"GET",requestUri:"/policies/{policyName}"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"uri",locationName:"policyName"}}},output:{type:"structure",members:{policyName:{},policyArn:{},policyDocument:{},defaultVersionId:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},generationId:{}}}},GetPolicyVersion:{http:{method:"GET",requestUri:"/policies/{policyName}/version/{policyVersionId}"},input:{type:"structure",required:["policyName","policyVersionId"],members:{policyName:{location:"uri",locationName:"policyName"},policyVersionId:{location:"uri",locationName:"policyVersionId"}}},output:{type:"structure",members:{policyArn:{},policyName:{},policyDocument:{},policyVersionId:{},isDefaultVersion:{type:"boolean"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},generationId:{}}}},GetRegistrationCode:{http:{method:"GET",requestUri:"/registrationcode"},input:{type:"structure",members:{}},output:{type:"structure",members:{registrationCode:{}}}},GetStatistics:{http:{requestUri:"/indices/statistics"},input:{type:"structure",required:["queryString"],members:{indexName:{},queryString:{},aggregationField:{},queryVersion:{}}},output:{type:"structure",members:{statistics:{type:"structure",members:{count:{type:"integer"},average:{type:"double"},sum:{type:"double"},minimum:{type:"double"},maximum:{type:"double"},sumOfSquares:{type:"double"},variance:{type:"double"},stdDeviation:{type:"double"}}}}}},GetTopicRule:{http:{method:"GET",requestUri:"/rules/{ruleName}"},input:{type:"structure",required:["ruleName"],members:{ruleName:{location:"uri",locationName:"ruleName"}}},output:{type:"structure",members:{ruleArn:{},rule:{type:"structure",members:{ruleName:{},sql:{},description:{},createdAt:{type:"timestamp"},actions:{shape:"Sa7"},ruleDisabled:{type:"boolean"},awsIotSqlVersion:{},errorAction:{shape:"Sa8"}}}}}},GetTopicRuleDestination:{http:{method:"GET",requestUri:"/destinations/{arn+}"},input:{type:"structure",required:["arn"],members:{arn:{location:"uri",locationName:"arn"}}},output:{type:"structure",members:{topicRuleDestination:{shape:"Sdb"}}}},GetV2LoggingOptions:{http:{method:"GET",requestUri:"/v2LoggingOptions"},input:{type:"structure",members:{}},output:{type:"structure",members:{roleArn:{},defaultLogLevel:{},disableAllLogs:{type:"boolean"}}}},ListActiveViolations:{http:{method:"GET",requestUri:"/active-violations"},input:{type:"structure",members:{thingName:{location:"querystring",locationName:"thingName"},securityProfileName:{location:"querystring",locationName:"securityProfileName"},behaviorCriteriaType:{location:"querystring",locationName:"behaviorCriteriaType"},listSuppressedAlerts:{location:"querystring",locationName:"listSuppressedAlerts",type:"boolean"},verificationState:{location:"querystring",locationName:"verificationState"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{activeViolations:{type:"list",member:{type:"structure",members:{violationId:{},thingName:{},securityProfileName:{},behavior:{shape:"S8k"},lastViolationValue:{shape:"S8r"},violationEventAdditionalInfo:{shape:"Snh"},verificationState:{},verificationStateDescription:{},lastViolationTime:{type:"timestamp"},violationStartTime:{type:"timestamp"}}}},nextToken:{}}}},ListAttachedPolicies:{http:{requestUri:"/attached-policies/{target}"},input:{type:"structure",required:["target"],members:{target:{location:"uri",locationName:"target"},recursive:{location:"querystring",locationName:"recursive",type:"boolean"},marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"}}},output:{type:"structure",members:{policies:{shape:"Sno"},nextMarker:{}}}},ListAuditFindings:{http:{requestUri:"/audit/findings"},input:{type:"structure",members:{taskId:{},checkName:{},resourceIdentifier:{shape:"S1o"},maxResults:{type:"integer"},nextToken:{},startTime:{type:"timestamp"},endTime:{type:"timestamp"},listSuppressedFindings:{type:"boolean"}}},output:{type:"structure",members:{findings:{type:"list",member:{shape:"Sfj"}},nextToken:{}}}},ListAuditMitigationActionsExecutions:{http:{method:"GET",requestUri:"/audit/mitigationactions/executions"},input:{type:"structure",required:["taskId","findingId"],members:{taskId:{location:"querystring",locationName:"taskId"},actionStatus:{location:"querystring",locationName:"actionStatus"},findingId:{location:"querystring",locationName:"findingId"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{actionsExecutions:{type:"list",member:{type:"structure",members:{taskId:{},findingId:{},actionName:{},actionId:{},status:{},startTime:{type:"timestamp"},endTime:{type:"timestamp"},errorCode:{},message:{}}}},nextToken:{}}}},ListAuditMitigationActionsTasks:{http:{method:"GET",requestUri:"/audit/mitigationactions/tasks"},input:{type:"structure",required:["startTime","endTime"],members:{auditTaskId:{location:"querystring",locationName:"auditTaskId"},findingId:{location:"querystring",locationName:"findingId"},taskStatus:{location:"querystring",locationName:"taskStatus"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"}}},output:{type:"structure",members:{tasks:{type:"list",member:{type:"structure",members:{taskId:{},startTime:{type:"timestamp"},taskStatus:{}}}},nextToken:{}}}},ListAuditSuppressions:{http:{requestUri:"/audit/suppressions/list"},input:{type:"structure",members:{checkName:{},resourceIdentifier:{shape:"S1o"},ascendingOrder:{type:"boolean"},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{suppressions:{type:"list",member:{type:"structure",required:["checkName","resourceIdentifier"],members:{checkName:{},resourceIdentifier:{shape:"S1o"},expirationDate:{type:"timestamp"},suppressIndefinitely:{type:"boolean"},description:{}}}},nextToken:{}}}},ListAuditTasks:{http:{method:"GET",requestUri:"/audit/tasks"},input:{type:"structure",required:["startTime","endTime"],members:{startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"},taskType:{location:"querystring",locationName:"taskType"},taskStatus:{location:"querystring",locationName:"taskStatus"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{tasks:{type:"list",member:{type:"structure",members:{taskId:{},taskStatus:{},taskType:{}}}},nextToken:{}}}},ListAuthorizers:{http:{method:"GET",requestUri:"/authorizers/"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"},status:{location:"querystring",locationName:"status"}}},output:{type:"structure",members:{authorizers:{type:"list",member:{type:"structure",members:{authorizerName:{},authorizerArn:{}}}},nextMarker:{}}}},ListBillingGroups:{http:{method:"GET",requestUri:"/billing-groups"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},namePrefixFilter:{location:"querystring",locationName:"namePrefixFilter"}}},output:{type:"structure",members:{billingGroups:{type:"list",member:{shape:"Skf"}},nextToken:{}}}},ListCACertificates:{http:{method:"GET",requestUri:"/cacertificates"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{certificates:{type:"list",member:{type:"structure",members:{certificateArn:{},certificateId:{},status:{},creationDate:{type:"timestamp"}}}},nextMarker:{}}}},ListCertificates:{http:{method:"GET",requestUri:"/certificates"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{certificates:{shape:"Soq"},nextMarker:{}}}},ListCertificatesByCA:{http:{method:"GET",requestUri:"/certificates-by-ca/{caCertificateId}"},input:{type:"structure",required:["caCertificateId"],members:{caCertificateId:{location:"uri",locationName:"caCertificateId"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{certificates:{shape:"Soq"},nextMarker:{}}}},ListCustomMetrics:{http:{method:"GET",requestUri:"/custom-metrics"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{metricNames:{type:"list",member:{}},nextToken:{}}}},ListDetectMitigationActionsExecutions:{http:{method:"GET",requestUri:"/detect/mitigationactions/executions"},input:{type:"structure",members:{taskId:{location:"querystring",locationName:"taskId"},violationId:{location:"querystring",locationName:"violationId"},thingName:{location:"querystring",locationName:"thingName"},startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{actionsExecutions:{type:"list",member:{type:"structure",members:{taskId:{},violationId:{},actionName:{},thingName:{},executionStartDate:{type:"timestamp"},executionEndDate:{type:"timestamp"},status:{},errorCode:{},message:{}}}},nextToken:{}}}},ListDetectMitigationActionsTasks:{http:{method:"GET",requestUri:"/detect/mitigationactions/tasks"},input:{type:"structure",required:["startTime","endTime"],members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"}}},output:{type:"structure",members:{tasks:{type:"list",member:{shape:"Shs"}},nextToken:{}}}},ListDimensions:{http:{method:"GET",requestUri:"/dimensions"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{dimensionNames:{type:"list",member:{}},nextToken:{}}}},ListDomainConfigurations:{http:{method:"GET",requestUri:"/domainConfigurations"},input:{type:"structure",members:{marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},serviceType:{location:"querystring",locationName:"serviceType"}}},output:{type:"structure",members:{domainConfigurations:{type:"list",member:{type:"structure",members:{domainConfigurationName:{},domainConfigurationArn:{},serviceType:{}}}},nextMarker:{}}}},ListFleetMetrics:{http:{method:"GET",requestUri:"/fleet-metrics"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{fleetMetrics:{type:"list",member:{type:"structure",members:{metricName:{},metricArn:{}}}},nextToken:{}}}},ListIndices:{http:{method:"GET",requestUri:"/indices"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{indexNames:{type:"list",member:{}},nextToken:{}}}},ListJobExecutionsForJob:{http:{method:"GET",requestUri:"/jobs/{jobId}/things"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"},status:{location:"querystring",locationName:"status"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{executionSummaries:{type:"list",member:{type:"structure",members:{thingArn:{},jobExecutionSummary:{shape:"Spq"}}}},nextToken:{}}}},ListJobExecutionsForThing:{http:{method:"GET",requestUri:"/things/{thingName}/jobs"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},status:{location:"querystring",locationName:"status"},namespaceId:{location:"querystring",locationName:"namespaceId"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},jobId:{location:"querystring",locationName:"jobId"}}},output:{type:"structure",members:{executionSummaries:{type:"list",member:{type:"structure",members:{jobId:{},jobExecutionSummary:{shape:"Spq"}}}},nextToken:{}}}},ListJobTemplates:{http:{method:"GET",requestUri:"/job-templates"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{jobTemplates:{type:"list",member:{type:"structure",members:{jobTemplateArn:{},jobTemplateId:{},description:{},createdAt:{type:"timestamp"}}}},nextToken:{}}}},ListJobs:{http:{method:"GET",requestUri:"/jobs"},input:{type:"structure",members:{status:{location:"querystring",locationName:"status"},targetSelection:{location:"querystring",locationName:"targetSelection"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},thingGroupName:{location:"querystring",locationName:"thingGroupName"},thingGroupId:{location:"querystring",locationName:"thingGroupId"},namespaceId:{location:"querystring",locationName:"namespaceId"}}},output:{type:"structure",members:{jobs:{type:"list",member:{type:"structure",members:{jobArn:{},jobId:{},thingGroupId:{},targetSelection:{},status:{},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},completedAt:{type:"timestamp"}}}},nextToken:{}}}},ListManagedJobTemplates:{http:{method:"GET",requestUri:"/managed-job-templates"},input:{type:"structure",members:{templateName:{location:"querystring",locationName:"templateName"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{managedJobTemplates:{type:"list",member:{type:"structure",members:{templateArn:{},templateName:{},description:{},environments:{shape:"Sjl"},templateVersion:{}}}},nextToken:{}}}},ListMitigationActions:{http:{method:"GET",requestUri:"/mitigationactions/actions"},input:{type:"structure",members:{actionType:{location:"querystring",locationName:"actionType"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{actionIdentifiers:{type:"list",member:{type:"structure",members:{actionName:{},actionArn:{},creationDate:{type:"timestamp"}}}},nextToken:{}}}},ListOTAUpdates:{http:{method:"GET",requestUri:"/otaUpdates"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},otaUpdateStatus:{location:"querystring",locationName:"otaUpdateStatus"}}},output:{type:"structure",members:{otaUpdates:{type:"list",member:{type:"structure",members:{otaUpdateId:{},otaUpdateArn:{},creationDate:{type:"timestamp"}}}},nextToken:{}}}},ListOutgoingCertificates:{http:{method:"GET",requestUri:"/certificates-out-going"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{outgoingCertificates:{type:"list",member:{type:"structure",members:{certificateArn:{},certificateId:{},transferredTo:{},transferDate:{type:"timestamp"},transferMessage:{},creationDate:{type:"timestamp"}}}},nextMarker:{}}}},ListPolicies:{http:{method:"GET",requestUri:"/policies"},input:{type:"structure",members:{marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{policies:{shape:"Sno"},nextMarker:{}}}},ListPolicyPrincipals:{http:{method:"GET",requestUri:"/policy-principals"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"header",locationName:"x-amzn-iot-policy"},marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{principals:{shape:"Sqo"},nextMarker:{}}},deprecated:!0},ListPolicyVersions:{http:{method:"GET",requestUri:"/policies/{policyName}/version"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"uri",locationName:"policyName"}}},output:{type:"structure",members:{policyVersions:{type:"list",member:{type:"structure",members:{versionId:{},isDefaultVersion:{type:"boolean"},createDate:{type:"timestamp"}}}}}}},ListPrincipalPolicies:{http:{method:"GET",requestUri:"/principal-policies"},input:{type:"structure",required:["principal"],members:{principal:{location:"header",locationName:"x-amzn-iot-principal"},marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{policies:{shape:"Sno"},nextMarker:{}}},deprecated:!0},ListPrincipalThings:{http:{method:"GET",requestUri:"/principals/things"},input:{type:"structure",required:["principal"],members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},principal:{location:"header",locationName:"x-amzn-principal"}}},output:{type:"structure",members:{things:{shape:"Sqy"},nextToken:{}}}},ListProvisioningTemplateVersions:{http:{method:"GET",requestUri:"/provisioning-templates/{templateName}/versions"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{versions:{type:"list",member:{type:"structure",members:{versionId:{type:"integer"},creationDate:{type:"timestamp"},isDefaultVersion:{type:"boolean"}}}},nextToken:{}}}},ListProvisioningTemplates:{http:{method:"GET",requestUri:"/provisioning-templates"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{templates:{type:"list",member:{type:"structure",members:{templateArn:{},templateName:{},description:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},enabled:{type:"boolean"}}}},nextToken:{}}}},ListRoleAliases:{http:{method:"GET",requestUri:"/role-aliases"},input:{type:"structure",members:{pageSize:{location:"querystring",locationName:"pageSize",type:"integer"},marker:{location:"querystring",locationName:"marker"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{roleAliases:{type:"list",member:{}},nextMarker:{}}}},ListScheduledAudits:{http:{method:"GET",requestUri:"/audit/scheduledaudits"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{scheduledAudits:{type:"list",member:{type:"structure",members:{scheduledAuditName:{},scheduledAuditArn:{},frequency:{},dayOfMonth:{},dayOfWeek:{}}}},nextToken:{}}}},ListSecurityProfiles:{http:{method:"GET",requestUri:"/security-profiles"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},dimensionName:{location:"querystring",locationName:"dimensionName"},metricName:{location:"querystring",locationName:"metricName"}}},output:{type:"structure",members:{securityProfileIdentifiers:{type:"list",member:{shape:"Srh"}},nextToken:{}}}},ListSecurityProfilesForTarget:{http:{method:"GET",requestUri:"/security-profiles-for-target"},input:{type:"structure",required:["securityProfileTargetArn"],members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},recursive:{location:"querystring",locationName:"recursive",type:"boolean"},securityProfileTargetArn:{location:"querystring",locationName:"securityProfileTargetArn"}}},output:{type:"structure",members:{securityProfileTargetMappings:{type:"list",member:{type:"structure",members:{securityProfileIdentifier:{shape:"Srh"},target:{shape:"Srm"}}}},nextToken:{}}}},ListStreams:{http:{method:"GET",requestUri:"/streams"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},ascendingOrder:{location:"querystring",locationName:"isAscendingOrder",type:"boolean"}}},output:{type:"structure",members:{streams:{type:"list",member:{type:"structure",members:{streamId:{},streamArn:{},streamVersion:{type:"integer"},description:{}}}},nextToken:{}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/tags"},input:{type:"structure",required:["resourceArn"],members:{resourceArn:{location:"querystring",locationName:"resourceArn"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{tags:{shape:"S29"},nextToken:{}}}},ListTargetsForPolicy:{http:{requestUri:"/policy-targets/{policyName}"},input:{type:"structure",required:["policyName"],members:{policyName:{location:"uri",locationName:"policyName"},marker:{location:"querystring",locationName:"marker"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"}}},output:{type:"structure",members:{targets:{type:"list",member:{}},nextMarker:{}}}},ListTargetsForSecurityProfile:{http:{method:"GET",requestUri:"/security-profiles/{securityProfileName}/targets"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{securityProfileTargets:{type:"list",member:{shape:"Srm"}},nextToken:{}}}},ListThingGroups:{http:{method:"GET",requestUri:"/thing-groups"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},parentGroup:{location:"querystring",locationName:"parentGroup"},namePrefixFilter:{location:"querystring",locationName:"namePrefixFilter"},recursive:{location:"querystring",locationName:"recursive",type:"boolean"}}},output:{type:"structure",members:{thingGroups:{shape:"Ske"},nextToken:{}}}},ListThingGroupsForThing:{http:{method:"GET",requestUri:"/things/{thingName}/thing-groups"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{thingGroups:{shape:"Ske"},nextToken:{}}}},ListThingPrincipals:{http:{method:"GET",requestUri:"/things/{thingName}/principals"},input:{type:"structure",required:["thingName"],members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},thingName:{location:"uri",locationName:"thingName"}}},output:{type:"structure",members:{principals:{shape:"Sqo"},nextToken:{}}}},ListThingRegistrationTaskReports:{http:{method:"GET",requestUri:"/thing-registration-tasks/{taskId}/reports"},input:{type:"structure",required:["taskId","reportType"],members:{taskId:{location:"uri",locationName:"taskId"},reportType:{location:"querystring",locationName:"reportType"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{resourceLinks:{type:"list",member:{}},reportType:{},nextToken:{}}}},ListThingRegistrationTasks:{http:{method:"GET",requestUri:"/thing-registration-tasks"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},status:{location:"querystring",locationName:"status"}}},output:{type:"structure",members:{taskIds:{type:"list",member:{}},nextToken:{}}}},ListThingTypes:{http:{method:"GET",requestUri:"/thing-types"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},thingTypeName:{location:"querystring",locationName:"thingTypeName"}}},output:{type:"structure",members:{thingTypes:{type:"list",member:{type:"structure",members:{thingTypeName:{},thingTypeArn:{},thingTypeProperties:{shape:"S9w"},thingTypeMetadata:{shape:"Skr"}}}},nextToken:{}}}},ListThings:{http:{method:"GET",requestUri:"/things"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},attributeName:{location:"querystring",locationName:"attributeName"},attributeValue:{location:"querystring",locationName:"attributeValue"},thingTypeName:{location:"querystring",locationName:"thingTypeName"},usePrefixAttributeValue:{location:"querystring",locationName:"usePrefixAttributeValue",type:"boolean"}}},output:{type:"structure",members:{things:{type:"list",member:{type:"structure",members:{thingName:{},thingTypeName:{},thingArn:{},attributes:{shape:"S3i"},version:{type:"long"}}}},nextToken:{}}}},ListThingsInBillingGroup:{http:{method:"GET",requestUri:"/billing-groups/{billingGroupName}/things"},input:{type:"structure",required:["billingGroupName"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{things:{shape:"Sqy"},nextToken:{}}}},ListThingsInThingGroup:{http:{method:"GET",requestUri:"/thing-groups/{thingGroupName}/things"},input:{type:"structure",required:["thingGroupName"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},recursive:{location:"querystring",locationName:"recursive",type:"boolean"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{things:{shape:"Sqy"},nextToken:{}}}},ListTopicRuleDestinations:{http:{method:"GET",requestUri:"/destinations"},input:{type:"structure",members:{maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{destinationSummaries:{type:"list",member:{type:"structure",members:{arn:{},status:{},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},statusReason:{},httpUrlSummary:{type:"structure",members:{confirmationUrl:{}}},vpcDestinationSummary:{ +type:"structure",members:{subnetIds:{shape:"Sd5"},securityGroups:{shape:"Sd7"},vpcId:{},roleArn:{}}}}}},nextToken:{}}}},ListTopicRules:{http:{method:"GET",requestUri:"/rules"},input:{type:"structure",members:{topic:{location:"querystring",locationName:"topic"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"},ruleDisabled:{location:"querystring",locationName:"ruleDisabled",type:"boolean"}}},output:{type:"structure",members:{rules:{type:"list",member:{type:"structure",members:{ruleArn:{},ruleName:{},topicPattern:{},createdAt:{type:"timestamp"},ruleDisabled:{type:"boolean"}}}},nextToken:{}}}},ListV2LoggingLevels:{http:{method:"GET",requestUri:"/v2LoggingLevel"},input:{type:"structure",members:{targetType:{location:"querystring",locationName:"targetType"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{logTargetConfigurations:{type:"list",member:{type:"structure",members:{logTarget:{shape:"Sta"},logLevel:{}}}},nextToken:{}}}},ListViolationEvents:{http:{method:"GET",requestUri:"/violation-events"},input:{type:"structure",required:["startTime","endTime"],members:{startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"},thingName:{location:"querystring",locationName:"thingName"},securityProfileName:{location:"querystring",locationName:"securityProfileName"},behaviorCriteriaType:{location:"querystring",locationName:"behaviorCriteriaType"},listSuppressedAlerts:{location:"querystring",locationName:"listSuppressedAlerts",type:"boolean"},verificationState:{location:"querystring",locationName:"verificationState"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{violationEvents:{type:"list",member:{type:"structure",members:{violationId:{},thingName:{},securityProfileName:{},behavior:{shape:"S8k"},metricValue:{shape:"S8r"},violationEventAdditionalInfo:{shape:"Snh"},violationEventType:{},verificationState:{},verificationStateDescription:{},violationEventTime:{type:"timestamp"}}}},nextToken:{}}}},PutVerificationStateOnViolation:{http:{requestUri:"/violations/verification-state/{violationId}"},input:{type:"structure",required:["violationId","verificationState"],members:{violationId:{location:"uri",locationName:"violationId"},verificationState:{},verificationStateDescription:{}}},output:{type:"structure",members:{}}},RegisterCACertificate:{http:{requestUri:"/cacertificate"},input:{type:"structure",required:["caCertificate","verificationCertificate"],members:{caCertificate:{},verificationCertificate:{},setAsActive:{location:"querystring",locationName:"setAsActive",type:"boolean"},allowAutoRegistration:{location:"querystring",locationName:"allowAutoRegistration",type:"boolean"},registrationConfig:{shape:"She"},tags:{shape:"S29"}}},output:{type:"structure",members:{certificateArn:{},certificateId:{}}}},RegisterCertificate:{http:{requestUri:"/certificate/register"},input:{type:"structure",required:["certificatePem"],members:{certificatePem:{},caCertificatePem:{},setAsActive:{deprecated:!0,location:"querystring",locationName:"setAsActive",type:"boolean"},status:{}}},output:{type:"structure",members:{certificateArn:{},certificateId:{}}}},RegisterCertificateWithoutCA:{http:{requestUri:"/certificate/register-no-ca"},input:{type:"structure",required:["certificatePem"],members:{certificatePem:{},status:{}}},output:{type:"structure",members:{certificateArn:{},certificateId:{}}}},RegisterThing:{http:{requestUri:"/things"},input:{type:"structure",required:["templateBody"],members:{templateBody:{},parameters:{type:"map",key:{},value:{}}}},output:{type:"structure",members:{certificatePem:{},resourceArns:{type:"map",key:{},value:{}}}}},RejectCertificateTransfer:{http:{method:"PATCH",requestUri:"/reject-certificate-transfer/{certificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"certificateId"},rejectReason:{}}}},RemoveThingFromBillingGroup:{http:{method:"PUT",requestUri:"/billing-groups/removeThingFromBillingGroup"},input:{type:"structure",members:{billingGroupName:{},billingGroupArn:{},thingName:{},thingArn:{}}},output:{type:"structure",members:{}}},RemoveThingFromThingGroup:{http:{method:"PUT",requestUri:"/thing-groups/removeThingFromThingGroup"},input:{type:"structure",members:{thingGroupName:{},thingGroupArn:{},thingName:{},thingArn:{}}},output:{type:"structure",members:{}}},ReplaceTopicRule:{http:{method:"PATCH",requestUri:"/rules/{ruleName}"},input:{type:"structure",required:["ruleName","topicRulePayload"],members:{ruleName:{location:"uri",locationName:"ruleName"},topicRulePayload:{shape:"Sa4"}},payload:"topicRulePayload"}},SearchIndex:{http:{requestUri:"/indices/search"},input:{type:"structure",required:["queryString"],members:{indexName:{},queryString:{},nextToken:{},maxResults:{type:"integer"},queryVersion:{}}},output:{type:"structure",members:{nextToken:{},things:{type:"list",member:{type:"structure",members:{thingName:{},thingId:{},thingTypeName:{},thingGroupNames:{shape:"Su6"},attributes:{shape:"S3i"},shadow:{},deviceDefender:{},connectivity:{type:"structure",members:{connected:{type:"boolean"},timestamp:{type:"long"},disconnectReason:{}}}}}},thingGroups:{type:"list",member:{type:"structure",members:{thingGroupName:{},thingGroupId:{},thingGroupDescription:{},attributes:{shape:"S3i"},parentGroupNames:{shape:"Su6"}}}}}}},SetDefaultAuthorizer:{http:{requestUri:"/default-authorizer"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{}}},output:{type:"structure",members:{authorizerName:{},authorizerArn:{}}}},SetDefaultPolicyVersion:{http:{method:"PATCH",requestUri:"/policies/{policyName}/version/{policyVersionId}"},input:{type:"structure",required:["policyName","policyVersionId"],members:{policyName:{location:"uri",locationName:"policyName"},policyVersionId:{location:"uri",locationName:"policyVersionId"}}}},SetLoggingOptions:{http:{requestUri:"/loggingOptions"},input:{type:"structure",required:["loggingOptionsPayload"],members:{loggingOptionsPayload:{type:"structure",required:["roleArn"],members:{roleArn:{},logLevel:{}}}},payload:"loggingOptionsPayload"}},SetV2LoggingLevel:{http:{requestUri:"/v2LoggingLevel"},input:{type:"structure",required:["logTarget","logLevel"],members:{logTarget:{shape:"Sta"},logLevel:{}}}},SetV2LoggingOptions:{http:{requestUri:"/v2LoggingOptions"},input:{type:"structure",members:{roleArn:{},defaultLogLevel:{},disableAllLogs:{type:"boolean"}}}},StartAuditMitigationActionsTask:{http:{requestUri:"/audit/mitigationactions/tasks/{taskId}"},input:{type:"structure",required:["taskId","target","auditCheckToActionsMapping","clientRequestToken"],members:{taskId:{location:"uri",locationName:"taskId"},target:{shape:"Sg3"},auditCheckToActionsMapping:{shape:"Sg7"},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{taskId:{}}}},StartDetectMitigationActionsTask:{http:{method:"PUT",requestUri:"/detect/mitigationactions/tasks/{taskId}"},input:{type:"structure",required:["taskId","target","actions","clientRequestToken"],members:{taskId:{location:"uri",locationName:"taskId"},target:{shape:"Shu"},actions:{type:"list",member:{}},violationEventOccurrenceRange:{shape:"Shx"},includeOnlyActiveViolations:{type:"boolean"},includeSuppressedAlerts:{type:"boolean"},clientRequestToken:{idempotencyToken:!0}}},output:{type:"structure",members:{taskId:{}}}},StartOnDemandAuditTask:{http:{requestUri:"/audit/tasks"},input:{type:"structure",required:["targetCheckNames"],members:{targetCheckNames:{shape:"S8d"}}},output:{type:"structure",members:{taskId:{}}}},StartThingRegistrationTask:{http:{requestUri:"/thing-registration-tasks"},input:{type:"structure",required:["templateBody","inputFileBucket","inputFileKey","roleArn"],members:{templateBody:{},inputFileBucket:{},inputFileKey:{},roleArn:{}}},output:{type:"structure",members:{taskId:{}}}},StopThingRegistrationTask:{http:{method:"PUT",requestUri:"/thing-registration-tasks/{taskId}/cancel"},input:{type:"structure",required:["taskId"],members:{taskId:{location:"uri",locationName:"taskId"}}},output:{type:"structure",members:{}}},TagResource:{http:{requestUri:"/tags"},input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{},tags:{shape:"S29"}}},output:{type:"structure",members:{}}},TestAuthorization:{http:{requestUri:"/test-authorization"},input:{type:"structure",required:["authInfos"],members:{principal:{},cognitoIdentityPoolId:{},authInfos:{type:"list",member:{shape:"Sv0"}},clientId:{location:"querystring",locationName:"clientId"},policyNamesToAdd:{shape:"Sv4"},policyNamesToSkip:{shape:"Sv4"}}},output:{type:"structure",members:{authResults:{type:"list",member:{type:"structure",members:{authInfo:{shape:"Sv0"},allowed:{type:"structure",members:{policies:{shape:"Sno"}}},denied:{type:"structure",members:{implicitDeny:{type:"structure",members:{policies:{shape:"Sno"}}},explicitDeny:{type:"structure",members:{policies:{shape:"Sno"}}}}},authDecision:{},missingContextValues:{type:"list",member:{}}}}}}}},TestInvokeAuthorizer:{http:{requestUri:"/authorizer/{authorizerName}/test"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{location:"uri",locationName:"authorizerName"},token:{},tokenSignature:{},httpContext:{type:"structure",members:{headers:{type:"map",key:{},value:{}},queryString:{}}},mqttContext:{type:"structure",members:{username:{},password:{type:"blob"},clientId:{}}},tlsContext:{type:"structure",members:{serverName:{}}}}},output:{type:"structure",members:{isAuthenticated:{type:"boolean"},principalId:{},policyDocuments:{type:"list",member:{}},refreshAfterInSeconds:{type:"integer"},disconnectAfterInSeconds:{type:"integer"}}}},TransferCertificate:{http:{method:"PATCH",requestUri:"/transfer-certificate/{certificateId}"},input:{type:"structure",required:["certificateId","targetAwsAccount"],members:{certificateId:{location:"uri",locationName:"certificateId"},targetAwsAccount:{location:"querystring",locationName:"targetAwsAccount"},transferMessage:{}}},output:{type:"structure",members:{transferredCertificateArn:{}}}},UntagResource:{http:{requestUri:"/untag"},input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{},tagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateAccountAuditConfiguration:{http:{method:"PATCH",requestUri:"/audit/configuration"},input:{type:"structure",members:{roleArn:{},auditNotificationTargetConfigurations:{shape:"Sfb"},auditCheckConfigurations:{shape:"Sfe"}}},output:{type:"structure",members:{}}},UpdateAuditSuppression:{http:{method:"PATCH",requestUri:"/audit/suppressions/update"},input:{type:"structure",required:["checkName","resourceIdentifier"],members:{checkName:{},resourceIdentifier:{shape:"S1o"},expirationDate:{type:"timestamp"},suppressIndefinitely:{type:"boolean"},description:{}}},output:{type:"structure",members:{}}},UpdateAuthorizer:{http:{method:"PUT",requestUri:"/authorizer/{authorizerName}"},input:{type:"structure",required:["authorizerName"],members:{authorizerName:{location:"uri",locationName:"authorizerName"},authorizerFunctionArn:{},tokenKeyName:{},tokenSigningPublicKeys:{shape:"S25"},status:{},enableCachingForHttp:{type:"boolean"}}},output:{type:"structure",members:{authorizerName:{},authorizerArn:{}}}},UpdateBillingGroup:{http:{method:"PATCH",requestUri:"/billing-groups/{billingGroupName}"},input:{type:"structure",required:["billingGroupName","billingGroupProperties"],members:{billingGroupName:{location:"uri",locationName:"billingGroupName"},billingGroupProperties:{shape:"S2i"},expectedVersion:{type:"long"}}},output:{type:"structure",members:{version:{type:"long"}}}},UpdateCACertificate:{http:{method:"PUT",requestUri:"/cacertificate/{caCertificateId}"},input:{type:"structure",required:["certificateId"],members:{certificateId:{location:"uri",locationName:"caCertificateId"},newStatus:{location:"querystring",locationName:"newStatus"},newAutoRegistrationStatus:{location:"querystring",locationName:"newAutoRegistrationStatus"},registrationConfig:{shape:"She"},removeAutoRegistration:{type:"boolean"}}}},UpdateCertificate:{http:{method:"PUT",requestUri:"/certificates/{certificateId}"},input:{type:"structure",required:["certificateId","newStatus"],members:{certificateId:{location:"uri",locationName:"certificateId"},newStatus:{location:"querystring",locationName:"newStatus"}}}},UpdateCustomMetric:{http:{method:"PATCH",requestUri:"/custom-metric/{metricName}"},input:{type:"structure",required:["metricName","displayName"],members:{metricName:{location:"uri",locationName:"metricName"},displayName:{}}},output:{type:"structure",members:{metricName:{},metricArn:{},metricType:{},displayName:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},UpdateDimension:{http:{method:"PATCH",requestUri:"/dimensions/{name}"},input:{type:"structure",required:["name","stringValues"],members:{name:{location:"uri",locationName:"name"},stringValues:{shape:"S30"}}},output:{type:"structure",members:{name:{},arn:{},type:{},stringValues:{shape:"S30"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},UpdateDomainConfiguration:{http:{method:"PUT",requestUri:"/domainConfigurations/{domainConfigurationName}"},input:{type:"structure",required:["domainConfigurationName"],members:{domainConfigurationName:{location:"uri",locationName:"domainConfigurationName"},authorizerConfig:{shape:"S39"},domainConfigurationStatus:{},removeAuthorizerConfig:{type:"boolean"}}},output:{type:"structure",members:{domainConfigurationName:{},domainConfigurationArn:{}}}},UpdateDynamicThingGroup:{http:{method:"PATCH",requestUri:"/dynamic-thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName","thingGroupProperties"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},thingGroupProperties:{shape:"S3f"},expectedVersion:{type:"long"},indexName:{},queryString:{},queryVersion:{}}},output:{type:"structure",members:{version:{type:"long"}}}},UpdateEventConfigurations:{http:{method:"PATCH",requestUri:"/event-configurations"},input:{type:"structure",members:{eventConfigurations:{shape:"Sii"}}},output:{type:"structure",members:{}}},UpdateFleetMetric:{http:{method:"PATCH",requestUri:"/fleet-metric/{metricName}"},input:{type:"structure",required:["metricName","indexName"],members:{metricName:{location:"uri",locationName:"metricName"},queryString:{},aggregationType:{shape:"S3t"},period:{type:"integer"},aggregationField:{},description:{},queryVersion:{},indexName:{},unit:{},expectedVersion:{type:"long"}}}},UpdateIndexingConfiguration:{http:{requestUri:"/indexing/config"},input:{type:"structure",members:{thingIndexingConfiguration:{shape:"Slq"},thingGroupIndexingConfiguration:{shape:"Slz"}}},output:{type:"structure",members:{}}},UpdateJob:{http:{method:"PATCH",requestUri:"/jobs/{jobId}"},input:{type:"structure",required:["jobId"],members:{jobId:{location:"uri",locationName:"jobId"},description:{},presignedUrlConfig:{shape:"S46"},jobExecutionsRolloutConfig:{shape:"S49"},abortConfig:{shape:"S4g"},timeoutConfig:{shape:"S4n"},namespaceId:{location:"querystring",locationName:"namespaceId"},jobExecutionsRetryConfig:{shape:"S4q"}}}},UpdateMitigationAction:{http:{method:"PATCH",requestUri:"/mitigationactions/actions/{actionName}"},input:{type:"structure",required:["actionName"],members:{actionName:{location:"uri",locationName:"actionName"},roleArn:{},actionParams:{shape:"S59"}}},output:{type:"structure",members:{actionArn:{},actionId:{}}}},UpdateProvisioningTemplate:{http:{method:"PATCH",requestUri:"/provisioning-templates/{templateName}"},input:{type:"structure",required:["templateName"],members:{templateName:{location:"uri",locationName:"templateName"},description:{},enabled:{type:"boolean"},defaultVersionId:{type:"integer"},provisioningRoleArn:{},preProvisioningHook:{shape:"S7y"},removePreProvisioningHook:{type:"boolean"}}},output:{type:"structure",members:{}}},UpdateRoleAlias:{http:{method:"PUT",requestUri:"/role-aliases/{roleAlias}"},input:{type:"structure",required:["roleAlias"],members:{roleAlias:{location:"uri",locationName:"roleAlias"},roleArn:{},credentialDurationSeconds:{type:"integer"}}},output:{type:"structure",members:{roleAlias:{},roleAliasArn:{}}}},UpdateScheduledAudit:{http:{method:"PATCH",requestUri:"/audit/scheduledaudits/{scheduledAuditName}"},input:{type:"structure",required:["scheduledAuditName"],members:{frequency:{},dayOfMonth:{},dayOfWeek:{},targetCheckNames:{shape:"S8d"},scheduledAuditName:{location:"uri",locationName:"scheduledAuditName"}}},output:{type:"structure",members:{scheduledAuditArn:{}}}},UpdateSecurityProfile:{http:{method:"PATCH",requestUri:"/security-profiles/{securityProfileName}"},input:{type:"structure",required:["securityProfileName"],members:{securityProfileName:{location:"uri",locationName:"securityProfileName"},securityProfileDescription:{},behaviors:{shape:"S8j"},alertTargets:{shape:"S99"},additionalMetricsToRetain:{shape:"S9d",deprecated:!0,deprecatedMessage:"Use additionalMetricsToRetainV2."},additionalMetricsToRetainV2:{shape:"S9e"},deleteBehaviors:{type:"boolean"},deleteAlertTargets:{type:"boolean"},deleteAdditionalMetricsToRetain:{type:"boolean"},expectedVersion:{location:"querystring",locationName:"expectedVersion",type:"long"}}},output:{type:"structure",members:{securityProfileName:{},securityProfileArn:{},securityProfileDescription:{},behaviors:{shape:"S8j"},alertTargets:{shape:"S99"},additionalMetricsToRetain:{shape:"S9d",deprecated:!0,deprecatedMessage:"Use additionalMetricsToRetainV2."},additionalMetricsToRetainV2:{shape:"S9e"},version:{type:"long"},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"}}}},UpdateStream:{http:{method:"PUT",requestUri:"/streams/{streamId}"},input:{type:"structure",required:["streamId"],members:{streamId:{location:"uri",locationName:"streamId"},description:{},files:{shape:"S9k"},roleArn:{}}},output:{type:"structure",members:{streamId:{},streamArn:{},description:{},streamVersion:{type:"integer"}}}},UpdateThing:{http:{method:"PATCH",requestUri:"/things/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},thingTypeName:{},attributePayload:{shape:"S3h"},expectedVersion:{type:"long"},removeThingType:{type:"boolean"}}},output:{type:"structure",members:{}}},UpdateThingGroup:{http:{method:"PATCH",requestUri:"/thing-groups/{thingGroupName}"},input:{type:"structure",required:["thingGroupName","thingGroupProperties"],members:{thingGroupName:{location:"uri",locationName:"thingGroupName"},thingGroupProperties:{shape:"S3f"},expectedVersion:{type:"long"}}},output:{type:"structure",members:{version:{type:"long"}}}},UpdateThingGroupsForThing:{http:{method:"PUT",requestUri:"/thing-groups/updateThingGroupsForThing"},input:{type:"structure",members:{thingName:{},thingGroupsToAdd:{shape:"Sxf"},thingGroupsToRemove:{shape:"Sxf"},overrideDynamicGroups:{type:"boolean"}}},output:{type:"structure",members:{}}},UpdateTopicRuleDestination:{http:{method:"PATCH",requestUri:"/destinations"},input:{type:"structure",required:["arn","status"],members:{arn:{},status:{}}},output:{type:"structure",members:{}}},ValidateSecurityProfileBehaviors:{http:{requestUri:"/security-profile-behaviors/validate"},input:{type:"structure",required:["behaviors"],members:{behaviors:{shape:"S8j"}}},output:{type:"structure",members:{valid:{type:"boolean"},validationErrors:{type:"list",member:{type:"structure",members:{errorMessage:{}}}}}}}},shapes:{Sg:{type:"list",member:{}},S1e:{type:"map",key:{},value:{}},S1o:{type:"structure",members:{deviceCertificateId:{},caCertificateId:{},cognitoIdentityPoolId:{},clientId:{},policyVersionIdentifier:{type:"structure",members:{policyName:{},policyVersionId:{}}},account:{},iamRoleArn:{},roleAliasArn:{}}},S25:{type:"map",key:{},value:{}},S29:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},S2i:{type:"structure",members:{billingGroupDescription:{}}},S30:{type:"list",member:{}},S39:{type:"structure",members:{defaultAuthorizerName:{},allowAuthorizerOverride:{type:"boolean"}}},S3f:{type:"structure",members:{thingGroupDescription:{},attributePayload:{shape:"S3h"}}},S3h:{type:"structure",members:{attributes:{shape:"S3i"},merge:{type:"boolean"}}},S3i:{type:"map",key:{},value:{}},S3t:{type:"structure",required:["name"],members:{name:{},values:{type:"list",member:{}}}},S46:{type:"structure",members:{roleArn:{},expiresInSec:{type:"long"}}},S49:{type:"structure",members:{maximumPerMinute:{type:"integer"},exponentialRate:{type:"structure",required:["baseRatePerMinute","incrementFactor","rateIncreaseCriteria"],members:{baseRatePerMinute:{type:"integer"},incrementFactor:{type:"double"},rateIncreaseCriteria:{type:"structure",members:{numberOfNotifiedThings:{type:"integer"},numberOfSucceededThings:{type:"integer"}}}}}}},S4g:{type:"structure",required:["criteriaList"],members:{criteriaList:{type:"list",member:{type:"structure",required:["failureType","action","thresholdPercentage","minNumberOfExecutedThings"],members:{failureType:{},action:{},thresholdPercentage:{type:"double"},minNumberOfExecutedThings:{type:"integer"}}}}}},S4n:{type:"structure",members:{inProgressTimeoutInMinutes:{type:"long"}}},S4q:{type:"structure",required:["criteriaList"],members:{criteriaList:{type:"list",member:{type:"structure",required:["failureType","numberOfRetries"],members:{failureType:{},numberOfRetries:{type:"integer"}}}}}},S4v:{type:"map",key:{},value:{}},S54:{type:"structure",members:{PublicKey:{},PrivateKey:{type:"string",sensitive:!0}}},S59:{type:"structure",members:{updateDeviceCertificateParams:{type:"structure",required:["action"],members:{action:{}}},updateCACertificateParams:{type:"structure",required:["action"],members:{action:{}}},addThingsToThingGroupParams:{type:"structure",required:["thingGroupNames"],members:{thingGroupNames:{type:"list",member:{}},overrideDynamicGroups:{type:"boolean"}}},replaceDefaultPolicyVersionParams:{type:"structure",required:["templateName"],members:{templateName:{}}},enableIoTLoggingParams:{type:"structure",required:["roleArnForLogging","logLevel"],members:{roleArnForLogging:{},logLevel:{}}},publishFindingToSnsParams:{type:"structure",required:["topicArn"],members:{topicArn:{}}}}},S5s:{type:"list",member:{}},S5u:{type:"list",member:{}},S5w:{type:"structure",members:{maximumPerMinute:{type:"integer"},exponentialRate:{type:"structure",required:["baseRatePerMinute","incrementFactor","rateIncreaseCriteria"],members:{baseRatePerMinute:{type:"integer"},incrementFactor:{type:"double"},rateIncreaseCriteria:{type:"structure",members:{numberOfNotifiedThings:{type:"integer"},numberOfSucceededThings:{type:"integer"}}}}}}},S63:{type:"structure",members:{expiresInSec:{type:"long"}}},S6e:{type:"list",member:{type:"structure",members:{fileName:{},fileType:{type:"integer"},fileVersion:{},fileLocation:{type:"structure",members:{stream:{type:"structure",members:{streamId:{},fileId:{type:"integer"}}},s3Location:{shape:"S6n"}}},codeSigning:{type:"structure",members:{awsSignerJobId:{},startSigningJobParameter:{type:"structure",members:{signingProfileParameter:{type:"structure",members:{certificateArn:{},platform:{},certificatePathOnDevice:{}}},signingProfileName:{},destination:{type:"structure",members:{s3Destination:{type:"structure",members:{bucket:{},prefix:{}}}}}}},customCodeSigning:{type:"structure",members:{signature:{type:"structure",members:{inlineDocument:{type:"blob"}}},certificateChain:{type:"structure",members:{certificateName:{},inlineDocument:{}}},hashAlgorithm:{},signatureAlgorithm:{}}}}},attributes:{type:"map",key:{},value:{}}}}},S6n:{type:"structure",members:{bucket:{},key:{},version:{}}},S7c:{type:"map",key:{},value:{}},S7y:{type:"structure",required:["targetArn"],members:{payloadVersion:{},targetArn:{}}},S8d:{type:"list",member:{}},S8j:{type:"list",member:{shape:"S8k"}},S8k:{type:"structure",required:["name"],members:{name:{},metric:{},metricDimension:{shape:"S8n"},criteria:{type:"structure",members:{comparisonOperator:{},value:{shape:"S8r"},durationSeconds:{type:"integer"},consecutiveDatapointsToAlarm:{type:"integer"},consecutiveDatapointsToClear:{type:"integer"},statisticalThreshold:{type:"structure",members:{statistic:{}}},mlDetectionConfig:{type:"structure",required:["confidenceLevel"],members:{confidenceLevel:{}}}}},suppressAlerts:{type:"boolean"}}},S8n:{type:"structure",required:["dimensionName"],members:{dimensionName:{},operator:{}}},S8r:{type:"structure",members:{count:{type:"long"},cidrs:{type:"list",member:{}},ports:{type:"list",member:{type:"integer"}},number:{type:"double"},numbers:{type:"list",member:{type:"double"}},strings:{type:"list",member:{}}}},S99:{type:"map",key:{},value:{type:"structure",required:["alertTargetArn","roleArn"],members:{alertTargetArn:{},roleArn:{}}}},S9d:{type:"list",member:{}},S9e:{type:"list",member:{type:"structure",required:["metric"],members:{metric:{},metricDimension:{shape:"S8n"}}}},S9k:{type:"list",member:{type:"structure",members:{fileId:{type:"integer"},s3Location:{shape:"S6n"}}}},S9w:{type:"structure",members:{thingTypeDescription:{},searchableAttributes:{type:"list",member:{}}}},Sa4:{type:"structure",required:["sql","actions"],members:{sql:{},description:{},actions:{shape:"Sa7"},ruleDisabled:{type:"boolean"},awsIotSqlVersion:{},errorAction:{shape:"Sa8"}}},Sa7:{type:"list",member:{shape:"Sa8"}},Sa8:{type:"structure",members:{dynamoDB:{type:"structure",required:["tableName","roleArn","hashKeyField","hashKeyValue"],members:{tableName:{},roleArn:{},operation:{},hashKeyField:{},hashKeyValue:{},hashKeyType:{},rangeKeyField:{},rangeKeyValue:{},rangeKeyType:{},payloadField:{}}},dynamoDBv2:{type:"structure",required:["roleArn","putItem"],members:{roleArn:{},putItem:{type:"structure",required:["tableName"],members:{tableName:{}}}}},lambda:{type:"structure",required:["functionArn"],members:{functionArn:{}}},sns:{type:"structure",required:["targetArn","roleArn"],members:{targetArn:{},roleArn:{},messageFormat:{}}},sqs:{type:"structure",required:["roleArn","queueUrl"],members:{roleArn:{},queueUrl:{},useBase64:{type:"boolean"}}},kinesis:{type:"structure",required:["roleArn","streamName"],members:{roleArn:{},streamName:{},partitionKey:{}}},republish:{type:"structure",required:["roleArn","topic"],members:{roleArn:{},topic:{},qos:{type:"integer"}}},s3:{type:"structure",required:["roleArn","bucketName","key"],members:{roleArn:{},bucketName:{},key:{},cannedAcl:{}}},firehose:{type:"structure",required:["roleArn","deliveryStreamName"],members:{roleArn:{},deliveryStreamName:{},separator:{},batchMode:{type:"boolean"}}},cloudwatchMetric:{type:"structure",required:["roleArn","metricNamespace","metricName","metricValue","metricUnit"],members:{roleArn:{},metricNamespace:{},metricName:{},metricValue:{},metricUnit:{},metricTimestamp:{}}},cloudwatchAlarm:{type:"structure",required:["roleArn","alarmName","stateReason","stateValue"],members:{roleArn:{},alarmName:{},stateReason:{},stateValue:{}}},cloudwatchLogs:{type:"structure",required:["roleArn","logGroupName"],members:{roleArn:{},logGroupName:{}}},elasticsearch:{type:"structure",required:["roleArn","endpoint","index","type","id"],members:{roleArn:{},endpoint:{},index:{},type:{},id:{}}},salesforce:{type:"structure",required:["token","url"],members:{token:{},url:{}}},iotAnalytics:{type:"structure",members:{channelArn:{},channelName:{},batchMode:{type:"boolean"},roleArn:{}}},iotEvents:{type:"structure",required:["inputName","roleArn"],members:{inputName:{},messageId:{},batchMode:{type:"boolean"},roleArn:{}}},iotSiteWise:{type:"structure",required:["putAssetPropertyValueEntries","roleArn"],members:{putAssetPropertyValueEntries:{type:"list",member:{type:"structure",required:["propertyValues"],members:{entryId:{},assetId:{},propertyId:{},propertyAlias:{},propertyValues:{type:"list",member:{type:"structure",required:["value","timestamp"],members:{value:{type:"structure",members:{stringValue:{},integerValue:{},doubleValue:{},booleanValue:{}}},timestamp:{type:"structure",required:["timeInSeconds"],members:{timeInSeconds:{},offsetInNanos:{}}},quality:{}}}}}}},roleArn:{}}},stepFunctions:{type:"structure",required:["stateMachineName","roleArn"],members:{executionNamePrefix:{},stateMachineName:{},roleArn:{}}},timestream:{type:"structure",required:["roleArn","databaseName","tableName","dimensions"],members:{roleArn:{},databaseName:{},tableName:{},dimensions:{type:"list",member:{type:"structure",required:["name","value"],members:{name:{},value:{}}}},timestamp:{type:"structure",required:["value","unit"],members:{value:{},unit:{}}}}},http:{type:"structure",required:["url"],members:{url:{},confirmationUrl:{},headers:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},auth:{type:"structure",members:{sigv4:{type:"structure",required:["signingRegion","serviceName","roleArn"],members:{signingRegion:{},serviceName:{},roleArn:{}}}}}}},kafka:{type:"structure",required:["destinationArn","topic","clientProperties"],members:{destinationArn:{},topic:{},key:{},partition:{},clientProperties:{type:"map",key:{},value:{}}}},openSearch:{type:"structure",required:["roleArn","endpoint","index","type","id"],members:{roleArn:{},endpoint:{},index:{},type:{},id:{}}}}},Sd5:{type:"list",member:{}},Sd7:{type:"list",member:{}},Sdb:{type:"structure",members:{arn:{},status:{},createdAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},statusReason:{},httpUrlProperties:{type:"structure",members:{confirmationUrl:{}}},vpcProperties:{type:"structure",members:{subnetIds:{shape:"Sd5"},securityGroups:{shape:"Sd7"},vpcId:{},roleArn:{}}}}},Sfb:{type:"map",key:{},value:{type:"structure",members:{targetArn:{},roleArn:{},enabled:{type:"boolean"}}}},Sfe:{type:"map",key:{},value:{type:"structure",members:{enabled:{type:"boolean"}}}},Sfj:{type:"structure",members:{findingId:{},taskId:{},checkName:{},taskStartTime:{type:"timestamp"},findingTime:{type:"timestamp"},severity:{},nonCompliantResource:{type:"structure",members:{resourceType:{},resourceIdentifier:{shape:"S1o"},additionalInfo:{shape:"Sfn"}}},relatedResources:{type:"list",member:{type:"structure",members:{resourceType:{},resourceIdentifier:{shape:"S1o"},additionalInfo:{shape:"Sfn"}}}},reasonForNonCompliance:{},reasonForNonComplianceCode:{},isSuppressed:{type:"boolean"}}},Sfn:{type:"map",key:{},value:{}},Sg3:{type:"structure",members:{auditTaskId:{},findingIds:{type:"list",member:{}},auditCheckToReasonCodeFilter:{type:"map",key:{},value:{type:"list",member:{}}}}},Sg7:{type:"map",key:{},value:{type:"list",member:{}}},Sg9:{type:"list",member:{type:"structure",members:{name:{},id:{},roleArn:{},actionParams:{shape:"S59"}}}},Sh0:{type:"structure",members:{authorizerName:{},authorizerArn:{},authorizerFunctionArn:{},tokenKeyName:{},tokenSigningPublicKeys:{shape:"S25"},status:{},creationDate:{type:"timestamp"},lastModifiedDate:{type:"timestamp"},signingDisabled:{type:"boolean"},enableCachingForHttp:{type:"boolean"}}},Shd:{type:"structure",members:{notBefore:{type:"timestamp"},notAfter:{type:"timestamp"}}},She:{type:"structure",members:{templateBody:{},roleArn:{}}},Shs:{type:"structure",members:{taskId:{},taskStatus:{},taskStartTime:{type:"timestamp"},taskEndTime:{type:"timestamp"},target:{shape:"Shu"},violationEventOccurrenceRange:{shape:"Shx"},onlyActiveViolationsIncluded:{type:"boolean"},suppressedAlertsIncluded:{type:"boolean"},actionsDefinition:{shape:"Sg9"},taskStatistics:{type:"structure",members:{actionsExecuted:{type:"long"},actionsSkipped:{type:"long"},actionsFailed:{type:"long"}}}}},Shu:{type:"structure",members:{violationIds:{type:"list",member:{}},securityProfileName:{},behaviorName:{}}},Shx:{type:"structure", +required:["startTime","endTime"],members:{startTime:{type:"timestamp"},endTime:{type:"timestamp"}}},Sii:{type:"map",key:{},value:{type:"structure",members:{Enabled:{type:"boolean"}}}},Sjl:{type:"list",member:{}},Ske:{type:"list",member:{shape:"Skf"}},Skf:{type:"structure",members:{groupName:{},groupArn:{}}},Skr:{type:"structure",members:{deprecated:{type:"boolean"},deprecationDate:{type:"timestamp"},creationDate:{type:"timestamp"}}},Slq:{type:"structure",required:["thingIndexingMode"],members:{thingIndexingMode:{},thingConnectivityIndexingMode:{},deviceDefenderIndexingMode:{},namedShadowIndexingMode:{},managedFields:{shape:"Slv"},customFields:{shape:"Slv"}}},Slv:{type:"list",member:{type:"structure",members:{name:{},type:{}}}},Slz:{type:"structure",required:["thingGroupIndexingMode"],members:{thingGroupIndexingMode:{},managedFields:{shape:"Slv"},customFields:{shape:"Slv"}}},Snh:{type:"structure",members:{confidenceLevel:{}}},Sno:{type:"list",member:{type:"structure",members:{policyName:{},policyArn:{}}}},Soq:{type:"list",member:{type:"structure",members:{certificateArn:{},certificateId:{},status:{},certificateMode:{},creationDate:{type:"timestamp"}}}},Spq:{type:"structure",members:{status:{},queuedAt:{type:"timestamp"},startedAt:{type:"timestamp"},lastUpdatedAt:{type:"timestamp"},executionNumber:{type:"long"},retryAttempt:{type:"integer"}}},Sqo:{type:"list",member:{}},Sqy:{type:"list",member:{}},Srh:{type:"structure",required:["name","arn"],members:{name:{},arn:{}}},Srm:{type:"structure",required:["arn"],members:{arn:{}}},Sta:{type:"structure",required:["targetType"],members:{targetType:{},targetName:{}}},Su6:{type:"list",member:{}},Sv0:{type:"structure",required:["resources"],members:{actionType:{},resources:{type:"list",member:{}}}},Sv4:{type:"list",member:{}},Sxf:{type:"list",member:{}}}}},{}],127:[function(e,t,r){t.exports={pagination:{GetBehaviorModelTrainingSummaries:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"summaries"},ListActiveViolations:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"activeViolations"},ListAttachedPolicies:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"policies"},ListAuditFindings:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"findings"},ListAuditMitigationActionsExecutions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"actionsExecutions"},ListAuditMitigationActionsTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"tasks"},ListAuditSuppressions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"suppressions"},ListAuditTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"tasks"},ListAuthorizers:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"authorizers"},ListBillingGroups:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"billingGroups"},ListCACertificates:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"certificates"},ListCertificates:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"certificates"},ListCertificatesByCA:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"certificates"},ListCustomMetrics:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"metricNames"},ListDetectMitigationActionsExecutions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"actionsExecutions"},ListDetectMitigationActionsTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"tasks"},ListDimensions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"dimensionNames"},ListDomainConfigurations:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"domainConfigurations"},ListFleetMetrics:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"fleetMetrics"},ListIndices:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"indexNames"},ListJobExecutionsForJob:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"executionSummaries"},ListJobExecutionsForThing:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"executionSummaries"},ListJobTemplates:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"jobTemplates"},ListJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"jobs"},ListMitigationActions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"actionIdentifiers"},ListOTAUpdates:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"otaUpdates"},ListOutgoingCertificates:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"outgoingCertificates"},ListPolicies:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"policies"},ListPolicyPrincipals:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"principals"},ListPrincipalPolicies:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"policies"},ListPrincipalThings:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"things"},ListProvisioningTemplateVersions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"versions"},ListProvisioningTemplates:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"templates"},ListRoleAliases:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"roleAliases"},ListScheduledAudits:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"scheduledAudits"},ListSecurityProfiles:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"securityProfileIdentifiers"},ListSecurityProfilesForTarget:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"securityProfileTargetMappings"},ListStreams:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"streams"},ListTagsForResource:{input_token:"nextToken",output_token:"nextToken",result_key:"tags"},ListTargetsForPolicy:{input_token:"marker",limit_key:"pageSize",output_token:"nextMarker",result_key:"targets"},ListTargetsForSecurityProfile:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"securityProfileTargets"},ListThingGroups:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"thingGroups"},ListThingGroupsForThing:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"thingGroups"},ListThingPrincipals:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"principals"},ListThingRegistrationTaskReports:{input_token:"nextToken",limit_key:"maxResults",non_aggregate_keys:["reportType"],output_token:"nextToken",result_key:"resourceLinks"},ListThingRegistrationTasks:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"taskIds"},ListThingTypes:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"thingTypes"},ListThings:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"things"},ListThingsInBillingGroup:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"things"},ListThingsInThingGroup:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"things"},ListTopicRuleDestinations:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"destinationSummaries"},ListTopicRules:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"rules"},ListV2LoggingLevels:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"logTargetConfigurations"},ListViolationEvents:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"violationEvents"}}}},{}],128:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-05-28",endpointPrefix:"data.iot",protocol:"rest-json",serviceFullName:"AWS IoT Data Plane",serviceId:"IoT Data Plane",signatureVersion:"v4",signingName:"iotdata",uid:"iot-data-2015-05-28"},operations:{DeleteThingShadow:{http:{method:"DELETE",requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},shadowName:{location:"querystring",locationName:"name"}}},output:{type:"structure",required:["payload"],members:{payload:{type:"blob"}},payload:"payload"}},GetRetainedMessage:{http:{method:"GET",requestUri:"/retainedMessage/{topic}"},input:{type:"structure",required:["topic"],members:{topic:{location:"uri",locationName:"topic"}}},output:{type:"structure",members:{topic:{},payload:{type:"blob"},qos:{type:"integer"},lastModifiedTime:{type:"long"}}}},GetThingShadow:{http:{method:"GET",requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},shadowName:{location:"querystring",locationName:"name"}}},output:{type:"structure",members:{payload:{type:"blob"}},payload:"payload"}},ListNamedShadowsForThing:{http:{method:"GET",requestUri:"/api/things/shadow/ListNamedShadowsForThing/{thingName}"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"},nextToken:{location:"querystring",locationName:"nextToken"},pageSize:{location:"querystring",locationName:"pageSize",type:"integer"}}},output:{type:"structure",members:{results:{type:"list",member:{}},nextToken:{},timestamp:{type:"long"}}}},ListRetainedMessages:{http:{method:"GET",requestUri:"/retainedMessage"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{retainedTopics:{type:"list",member:{type:"structure",members:{topic:{},payloadSize:{type:"long"},qos:{type:"integer"},lastModifiedTime:{type:"long"}}}},nextToken:{}}}},Publish:{http:{requestUri:"/topics/{topic}"},input:{type:"structure",required:["topic"],members:{topic:{location:"uri",locationName:"topic"},qos:{location:"querystring",locationName:"qos",type:"integer"},retain:{location:"querystring",locationName:"retain",type:"boolean"},payload:{type:"blob"}},payload:"payload"}},UpdateThingShadow:{http:{requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName","payload"],members:{thingName:{location:"uri",locationName:"thingName"},shadowName:{location:"querystring",locationName:"name"},payload:{type:"blob"}},payload:"payload"},output:{type:"structure",members:{payload:{type:"blob"}},payload:"payload"}}},shapes:{}}},{}],129:[function(e,t,r){t.exports={pagination:{ListRetainedMessages:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"retainedTopics"}}}},{}],130:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-11-27",endpointPrefix:"iotanalytics",protocol:"rest-json",serviceFullName:"AWS IoT Analytics",serviceId:"IoTAnalytics",signatureVersion:"v4",signingName:"iotanalytics",uid:"iotanalytics-2017-11-27"},operations:{BatchPutMessage:{http:{requestUri:"/messages/batch",responseCode:200},input:{type:"structure",required:["channelName","messages"],members:{channelName:{},messages:{type:"list",member:{type:"structure",required:["messageId","payload"],members:{messageId:{},payload:{type:"blob"}}}}}},output:{type:"structure",members:{batchPutMessageErrorEntries:{type:"list",member:{type:"structure",members:{messageId:{},errorCode:{},errorMessage:{}}}}}}},CancelPipelineReprocessing:{http:{method:"DELETE",requestUri:"/pipelines/{pipelineName}/reprocessing/{reprocessingId}"},input:{type:"structure",required:["pipelineName","reprocessingId"],members:{pipelineName:{location:"uri",locationName:"pipelineName"},reprocessingId:{location:"uri",locationName:"reprocessingId"}}},output:{type:"structure",members:{}}},CreateChannel:{http:{requestUri:"/channels",responseCode:201},input:{type:"structure",required:["channelName"],members:{channelName:{},channelStorage:{shape:"Sh"},retentionPeriod:{shape:"Sn"},tags:{shape:"Sq"}}},output:{type:"structure",members:{channelName:{},channelArn:{},retentionPeriod:{shape:"Sn"}}}},CreateDataset:{http:{requestUri:"/datasets",responseCode:201},input:{type:"structure",required:["datasetName","actions"],members:{datasetName:{},actions:{shape:"Sy"},triggers:{shape:"S1l"},contentDeliveryRules:{shape:"S1q"},retentionPeriod:{shape:"Sn"},versioningConfiguration:{shape:"S21"},tags:{shape:"Sq"},lateDataRules:{shape:"S24"}}},output:{type:"structure",members:{datasetName:{},datasetArn:{},retentionPeriod:{shape:"Sn"}}}},CreateDatasetContent:{http:{requestUri:"/datasets/{datasetName}/content"},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"},versionId:{}}},output:{type:"structure",members:{versionId:{}}}},CreateDatastore:{http:{requestUri:"/datastores",responseCode:201},input:{type:"structure",required:["datastoreName"],members:{datastoreName:{},datastoreStorage:{shape:"S2h"},retentionPeriod:{shape:"Sn"},tags:{shape:"Sq"},fileFormatConfiguration:{shape:"S2m"},datastorePartitions:{shape:"S2u"}}},output:{type:"structure",members:{datastoreName:{},datastoreArn:{},retentionPeriod:{shape:"Sn"}}}},CreatePipeline:{http:{requestUri:"/pipelines",responseCode:201},input:{type:"structure",required:["pipelineName","pipelineActivities"],members:{pipelineName:{},pipelineActivities:{shape:"S34"},tags:{shape:"Sq"}}},output:{type:"structure",members:{pipelineName:{},pipelineArn:{}}}},DeleteChannel:{http:{method:"DELETE",requestUri:"/channels/{channelName}",responseCode:204},input:{type:"structure",required:["channelName"],members:{channelName:{location:"uri",locationName:"channelName"}}}},DeleteDataset:{http:{method:"DELETE",requestUri:"/datasets/{datasetName}",responseCode:204},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"}}}},DeleteDatasetContent:{http:{method:"DELETE",requestUri:"/datasets/{datasetName}/content",responseCode:204},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"},versionId:{location:"querystring",locationName:"versionId"}}}},DeleteDatastore:{http:{method:"DELETE",requestUri:"/datastores/{datastoreName}",responseCode:204},input:{type:"structure",required:["datastoreName"],members:{datastoreName:{location:"uri",locationName:"datastoreName"}}}},DeletePipeline:{http:{method:"DELETE",requestUri:"/pipelines/{pipelineName}",responseCode:204},input:{type:"structure",required:["pipelineName"],members:{pipelineName:{location:"uri",locationName:"pipelineName"}}}},DescribeChannel:{http:{method:"GET",requestUri:"/channels/{channelName}"},input:{type:"structure",required:["channelName"],members:{channelName:{location:"uri",locationName:"channelName"},includeStatistics:{location:"querystring",locationName:"includeStatistics",type:"boolean"}}},output:{type:"structure",members:{channel:{type:"structure",members:{name:{},storage:{shape:"Sh"},arn:{},status:{},retentionPeriod:{shape:"Sn"},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},lastMessageArrivalTime:{type:"timestamp"}}},statistics:{type:"structure",members:{size:{shape:"S42"}}}}}},DescribeDataset:{http:{method:"GET",requestUri:"/datasets/{datasetName}"},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"}}},output:{type:"structure",members:{dataset:{type:"structure",members:{name:{},arn:{},actions:{shape:"Sy"},triggers:{shape:"S1l"},contentDeliveryRules:{shape:"S1q"},status:{},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},retentionPeriod:{shape:"Sn"},versioningConfiguration:{shape:"S21"},lateDataRules:{shape:"S24"}}}}}},DescribeDatastore:{http:{method:"GET",requestUri:"/datastores/{datastoreName}"},input:{type:"structure",required:["datastoreName"],members:{datastoreName:{location:"uri",locationName:"datastoreName"},includeStatistics:{location:"querystring",locationName:"includeStatistics",type:"boolean"}}},output:{type:"structure",members:{datastore:{type:"structure",members:{name:{},storage:{shape:"S2h"},arn:{},status:{},retentionPeriod:{shape:"Sn"},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},lastMessageArrivalTime:{type:"timestamp"},fileFormatConfiguration:{shape:"S2m"},datastorePartitions:{shape:"S2u"}}},statistics:{type:"structure",members:{size:{shape:"S42"}}}}}},DescribeLoggingOptions:{http:{method:"GET",requestUri:"/logging"},input:{type:"structure",members:{}},output:{type:"structure",members:{loggingOptions:{shape:"S4f"}}}},DescribePipeline:{http:{method:"GET",requestUri:"/pipelines/{pipelineName}"},input:{type:"structure",required:["pipelineName"],members:{pipelineName:{location:"uri",locationName:"pipelineName"}}},output:{type:"structure",members:{pipeline:{type:"structure",members:{name:{},arn:{},activities:{shape:"S34"},reprocessingSummaries:{shape:"S4l"},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"}}}}}},GetDatasetContent:{http:{method:"GET",requestUri:"/datasets/{datasetName}/content"},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"},versionId:{location:"querystring",locationName:"versionId"}}},output:{type:"structure",members:{entries:{type:"list",member:{type:"structure",members:{entryName:{},dataURI:{}}}},timestamp:{type:"timestamp"},status:{shape:"S4t"}}}},ListChannels:{http:{method:"GET",requestUri:"/channels"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{channelSummaries:{type:"list",member:{type:"structure",members:{channelName:{},channelStorage:{type:"structure",members:{serviceManagedS3:{type:"structure",members:{}},customerManagedS3:{type:"structure",members:{bucket:{},keyPrefix:{},roleArn:{}}}}},status:{},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},lastMessageArrivalTime:{type:"timestamp"}}}},nextToken:{}}}},ListDatasetContents:{http:{method:"GET",requestUri:"/datasets/{datasetName}/contents"},input:{type:"structure",required:["datasetName"],members:{datasetName:{location:"uri",locationName:"datasetName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},scheduledOnOrAfter:{location:"querystring",locationName:"scheduledOnOrAfter",type:"timestamp"},scheduledBefore:{location:"querystring",locationName:"scheduledBefore",type:"timestamp"}}},output:{type:"structure",members:{datasetContentSummaries:{type:"list",member:{type:"structure",members:{version:{},status:{shape:"S4t"},creationTime:{type:"timestamp"},scheduleTime:{type:"timestamp"},completionTime:{type:"timestamp"}}}},nextToken:{}}}},ListDatasets:{http:{method:"GET",requestUri:"/datasets"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{datasetSummaries:{type:"list",member:{type:"structure",members:{datasetName:{},status:{},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},triggers:{shape:"S1l"},actions:{type:"list",member:{type:"structure",members:{actionName:{},actionType:{}}}}}}},nextToken:{}}}},ListDatastores:{http:{method:"GET",requestUri:"/datastores"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{datastoreSummaries:{type:"list",member:{type:"structure",members:{datastoreName:{},datastoreStorage:{type:"structure",members:{serviceManagedS3:{type:"structure",members:{}},customerManagedS3:{type:"structure",members:{bucket:{},keyPrefix:{},roleArn:{}}},iotSiteWiseMultiLayerStorage:{type:"structure",members:{customerManagedS3Storage:{type:"structure",members:{bucket:{},keyPrefix:{}}}}}}},status:{},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"},lastMessageArrivalTime:{type:"timestamp"},fileFormatType:{},datastorePartitions:{shape:"S2u"}}}},nextToken:{}}}},ListPipelines:{http:{method:"GET",requestUri:"/pipelines"},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{pipelineSummaries:{type:"list",member:{type:"structure",members:{pipelineName:{},reprocessingSummaries:{shape:"S4l"},creationTime:{type:"timestamp"},lastUpdateTime:{type:"timestamp"}}}},nextToken:{}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/tags"},input:{type:"structure",required:["resourceArn"],members:{resourceArn:{location:"querystring",locationName:"resourceArn"}}},output:{type:"structure",members:{tags:{shape:"Sq"}}}},PutLoggingOptions:{http:{method:"PUT",requestUri:"/logging"},input:{type:"structure",required:["loggingOptions"],members:{loggingOptions:{shape:"S4f"}}}},RunPipelineActivity:{http:{requestUri:"/pipelineactivities/run"},input:{type:"structure",required:["pipelineActivity","payloads"],members:{pipelineActivity:{shape:"S35"},payloads:{shape:"S5z"}}},output:{type:"structure",members:{payloads:{shape:"S5z"},logResult:{}}}},SampleChannelData:{http:{method:"GET",requestUri:"/channels/{channelName}/sample"},input:{type:"structure",required:["channelName"],members:{channelName:{location:"uri",locationName:"channelName"},maxMessages:{location:"querystring",locationName:"maxMessages",type:"integer"},startTime:{location:"querystring",locationName:"startTime",type:"timestamp"},endTime:{location:"querystring",locationName:"endTime",type:"timestamp"}}},output:{type:"structure",members:{payloads:{shape:"S5z"}}}},StartPipelineReprocessing:{http:{requestUri:"/pipelines/{pipelineName}/reprocessing"},input:{type:"structure",required:["pipelineName"],members:{pipelineName:{location:"uri",locationName:"pipelineName"},startTime:{type:"timestamp"},endTime:{type:"timestamp"},channelMessages:{type:"structure",members:{s3Paths:{type:"list",member:{}}}}}},output:{type:"structure",members:{reprocessingId:{}}}},TagResource:{http:{requestUri:"/tags",responseCode:204},input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{location:"querystring",locationName:"resourceArn"},tags:{shape:"Sq"}}},output:{type:"structure",members:{}}},UntagResource:{http:{method:"DELETE",requestUri:"/tags",responseCode:204},input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{location:"querystring",locationName:"resourceArn"},tagKeys:{location:"querystring",locationName:"tagKeys",type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateChannel:{http:{method:"PUT",requestUri:"/channels/{channelName}"},input:{type:"structure",required:["channelName"],members:{channelName:{location:"uri",locationName:"channelName"},channelStorage:{shape:"Sh"},retentionPeriod:{shape:"Sn"}}}},UpdateDataset:{http:{method:"PUT",requestUri:"/datasets/{datasetName}"},input:{type:"structure",required:["datasetName","actions"],members:{datasetName:{location:"uri",locationName:"datasetName"},actions:{shape:"Sy"},triggers:{shape:"S1l"},contentDeliveryRules:{shape:"S1q"},retentionPeriod:{shape:"Sn"},versioningConfiguration:{shape:"S21"},lateDataRules:{shape:"S24"}}}},UpdateDatastore:{http:{method:"PUT",requestUri:"/datastores/{datastoreName}"},input:{type:"structure",required:["datastoreName"],members:{datastoreName:{location:"uri",locationName:"datastoreName"},retentionPeriod:{shape:"Sn"},datastoreStorage:{shape:"S2h"},fileFormatConfiguration:{shape:"S2m"}}}},UpdatePipeline:{http:{method:"PUT",requestUri:"/pipelines/{pipelineName}"},input:{type:"structure",required:["pipelineName","pipelineActivities"],members:{pipelineName:{location:"uri",locationName:"pipelineName"},pipelineActivities:{shape:"S34"}}}}},shapes:{Sh:{type:"structure",members:{serviceManagedS3:{type:"structure",members:{}},customerManagedS3:{type:"structure",required:["bucket","roleArn"],members:{bucket:{},keyPrefix:{},roleArn:{}}}}},Sn:{type:"structure",members:{unlimited:{type:"boolean"},numberOfDays:{type:"integer"}}},Sq:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},Sy:{type:"list",member:{type:"structure",members:{actionName:{},queryAction:{type:"structure",required:["sqlQuery"],members:{sqlQuery:{},filters:{type:"list",member:{type:"structure",members:{deltaTime:{type:"structure",required:["offsetSeconds","timeExpression"],members:{offsetSeconds:{type:"integer"},timeExpression:{}}}}}}}},containerAction:{type:"structure",required:["image","executionRoleArn","resourceConfiguration"],members:{image:{},executionRoleArn:{},resourceConfiguration:{type:"structure",required:["computeType","volumeSizeInGB"],members:{computeType:{},volumeSizeInGB:{type:"integer"}}},variables:{type:"list",member:{type:"structure",required:["name"],members:{name:{},stringValue:{},doubleValue:{type:"double"},datasetContentVersionValue:{type:"structure",required:["datasetName"],members:{datasetName:{}}},outputFileUriValue:{type:"structure",required:["fileName"],members:{fileName:{}}}}}}}}}}},S1l:{type:"list",member:{type:"structure",members:{schedule:{type:"structure",members:{expression:{}}},dataset:{type:"structure",required:["name"],members:{name:{}}}}}},S1q:{type:"list",member:{type:"structure",required:["destination"],members:{entryName:{},destination:{type:"structure",members:{iotEventsDestinationConfiguration:{type:"structure",required:["inputName","roleArn"],members:{inputName:{},roleArn:{}}},s3DestinationConfiguration:{type:"structure",required:["bucket","key","roleArn"],members:{bucket:{},key:{},glueConfiguration:{type:"structure",required:["tableName","databaseName"],members:{tableName:{},databaseName:{}}},roleArn:{}}}}}}}},S21:{type:"structure",members:{unlimited:{type:"boolean"},maxVersions:{type:"integer"}}},S24:{type:"list",member:{type:"structure",required:["ruleConfiguration"],members:{ruleName:{},ruleConfiguration:{type:"structure",members:{deltaTimeSessionWindowConfiguration:{type:"structure",required:["timeoutInMinutes"],members:{timeoutInMinutes:{type:"integer"}}}}}}}},S2h:{type:"structure",members:{serviceManagedS3:{type:"structure",members:{}},customerManagedS3:{type:"structure",required:["bucket","roleArn"],members:{bucket:{},keyPrefix:{},roleArn:{}}},iotSiteWiseMultiLayerStorage:{type:"structure",required:["customerManagedS3Storage"],members:{customerManagedS3Storage:{type:"structure",required:["bucket"],members:{bucket:{},keyPrefix:{}}}}}}},S2m:{type:"structure",members:{jsonConfiguration:{type:"structure",members:{}},parquetConfiguration:{type:"structure",members:{schemaDefinition:{type:"structure",members:{columns:{type:"list",member:{type:"structure",required:["name","type"],members:{name:{},type:{}}}}}}}}}},S2u:{type:"structure",members:{partitions:{type:"list",member:{type:"structure",members:{attributePartition:{type:"structure",required:["attributeName"],members:{attributeName:{}}},timestampPartition:{type:"structure",required:["attributeName"],members:{attributeName:{},timestampFormat:{}}}}}}}},S34:{type:"list",member:{shape:"S35"}},S35:{type:"structure",members:{channel:{type:"structure",required:["name","channelName"],members:{name:{},channelName:{},next:{}}},lambda:{type:"structure",required:["name","lambdaName","batchSize"],members:{name:{},lambdaName:{},batchSize:{type:"integer"},next:{}}},datastore:{type:"structure",required:["name","datastoreName"],members:{name:{},datastoreName:{}}},addAttributes:{type:"structure",required:["name","attributes"],members:{name:{},attributes:{type:"map",key:{},value:{}},next:{}}},removeAttributes:{type:"structure",required:["name","attributes"],members:{name:{},attributes:{shape:"S3g"},next:{}}},selectAttributes:{type:"structure",required:["name","attributes"],members:{name:{},attributes:{shape:"S3g"},next:{}}},filter:{type:"structure",required:["name","filter"],members:{name:{},filter:{},next:{}}},math:{type:"structure",required:["name","attribute","math"],members:{name:{},attribute:{},math:{},next:{}}},deviceRegistryEnrich:{type:"structure",required:["name","attribute","thingName","roleArn"],members:{name:{},attribute:{},thingName:{},roleArn:{},next:{}}},deviceShadowEnrich:{type:"structure",required:["name","attribute","thingName","roleArn"],members:{name:{},attribute:{},thingName:{},roleArn:{},next:{}}}}},S3g:{type:"list",member:{}},S42:{type:"structure",members:{estimatedSizeInBytes:{type:"double"},estimatedOn:{type:"timestamp"}}},S4f:{type:"structure",required:["roleArn","level","enabled"],members:{roleArn:{},level:{},enabled:{type:"boolean"}}},S4l:{type:"list",member:{type:"structure",members:{id:{},status:{},creationTime:{type:"timestamp"}}}},S4t:{type:"structure",members:{state:{},reason:{}}},S5z:{type:"list",member:{type:"blob"}}}}},{}],131:[function(e,t,r){t.exports={pagination:{ListChannels:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListDatasetContents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListDatasets:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListDatastores:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},ListPipelines:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"}}}},{}],132:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-12-02",endpointPrefix:"kinesis",jsonVersion:"1.1",protocol:"json",protocolSettings:{h2:"eventstream"},serviceAbbreviation:"Kinesis",serviceFullName:"Amazon Kinesis",serviceId:"Kinesis",signatureVersion:"v4",targetPrefix:"Kinesis_20131202",uid:"kinesis-2013-12-02"},operations:{AddTagsToStream:{input:{type:"structure",required:["StreamName","Tags"],members:{StreamName:{},Tags:{type:"map",key:{},value:{}}}}},CreateStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},ShardCount:{type:"integer"},StreamModeDetails:{shape:"S8"}}}},DecreaseStreamRetentionPeriod:{input:{type:"structure",required:["StreamName","RetentionPeriodHours"],members:{StreamName:{},RetentionPeriodHours:{type:"integer"}}}},DeleteStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},EnforceConsumerDeletion:{type:"boolean"}}}},DeregisterStreamConsumer:{input:{type:"structure",members:{StreamARN:{},ConsumerName:{},ConsumerARN:{}}}},DescribeLimits:{input:{type:"structure",members:{}},output:{type:"structure",required:["ShardLimit","OpenShardCount","OnDemandStreamCount","OnDemandStreamCountLimit"],members:{ShardLimit:{type:"integer"},OpenShardCount:{type:"integer"},OnDemandStreamCount:{type:"integer"},OnDemandStreamCountLimit:{type:"integer"}}}},DescribeStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},Limit:{type:"integer"},ExclusiveStartShardId:{}}},output:{type:"structure",required:["StreamDescription"],members:{StreamDescription:{type:"structure",required:["StreamName","StreamARN","StreamStatus","Shards","HasMoreShards","RetentionPeriodHours","StreamCreationTimestamp","EnhancedMonitoring"],members:{StreamName:{},StreamARN:{},StreamStatus:{},StreamModeDetails:{shape:"S8"},Shards:{ +shape:"St"},HasMoreShards:{type:"boolean"},RetentionPeriodHours:{type:"integer"},StreamCreationTimestamp:{type:"timestamp"},EnhancedMonitoring:{shape:"S10"},EncryptionType:{},KeyId:{}}}}}},DescribeStreamConsumer:{input:{type:"structure",members:{StreamARN:{},ConsumerName:{},ConsumerARN:{}}},output:{type:"structure",required:["ConsumerDescription"],members:{ConsumerDescription:{type:"structure",required:["ConsumerName","ConsumerARN","ConsumerStatus","ConsumerCreationTimestamp","StreamARN"],members:{ConsumerName:{},ConsumerARN:{},ConsumerStatus:{},ConsumerCreationTimestamp:{type:"timestamp"},StreamARN:{}}}}}},DescribeStreamSummary:{input:{type:"structure",required:["StreamName"],members:{StreamName:{}}},output:{type:"structure",required:["StreamDescriptionSummary"],members:{StreamDescriptionSummary:{type:"structure",required:["StreamName","StreamARN","StreamStatus","RetentionPeriodHours","StreamCreationTimestamp","EnhancedMonitoring","OpenShardCount"],members:{StreamName:{},StreamARN:{},StreamStatus:{},StreamModeDetails:{shape:"S8"},RetentionPeriodHours:{type:"integer"},StreamCreationTimestamp:{type:"timestamp"},EnhancedMonitoring:{shape:"S10"},EncryptionType:{},KeyId:{},OpenShardCount:{type:"integer"},ConsumerCount:{type:"integer"}}}}}},DisableEnhancedMonitoring:{input:{type:"structure",required:["StreamName","ShardLevelMetrics"],members:{StreamName:{},ShardLevelMetrics:{shape:"S12"}}},output:{shape:"S1f"}},EnableEnhancedMonitoring:{input:{type:"structure",required:["StreamName","ShardLevelMetrics"],members:{StreamName:{},ShardLevelMetrics:{shape:"S12"}}},output:{shape:"S1f"}},GetRecords:{input:{type:"structure",required:["ShardIterator"],members:{ShardIterator:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Records"],members:{Records:{type:"list",member:{type:"structure",required:["SequenceNumber","Data","PartitionKey"],members:{SequenceNumber:{},ApproximateArrivalTimestamp:{type:"timestamp"},Data:{type:"blob"},PartitionKey:{},EncryptionType:{}}}},NextShardIterator:{},MillisBehindLatest:{type:"long"},ChildShards:{type:"list",member:{type:"structure",required:["ShardId","ParentShards","HashKeyRange"],members:{ShardId:{},ParentShards:{type:"list",member:{}},HashKeyRange:{shape:"Sv"}}}}}}},GetShardIterator:{input:{type:"structure",required:["StreamName","ShardId","ShardIteratorType"],members:{StreamName:{},ShardId:{},ShardIteratorType:{},StartingSequenceNumber:{},Timestamp:{type:"timestamp"}}},output:{type:"structure",members:{ShardIterator:{}}}},IncreaseStreamRetentionPeriod:{input:{type:"structure",required:["StreamName","RetentionPeriodHours"],members:{StreamName:{},RetentionPeriodHours:{type:"integer"}}}},ListShards:{input:{type:"structure",members:{StreamName:{},NextToken:{},ExclusiveStartShardId:{},MaxResults:{type:"integer"},StreamCreationTimestamp:{type:"timestamp"},ShardFilter:{type:"structure",required:["Type"],members:{Type:{},ShardId:{},Timestamp:{type:"timestamp"}}}}},output:{type:"structure",members:{Shards:{shape:"St"},NextToken:{}}}},ListStreamConsumers:{input:{type:"structure",required:["StreamARN"],members:{StreamARN:{},NextToken:{},MaxResults:{type:"integer"},StreamCreationTimestamp:{type:"timestamp"}}},output:{type:"structure",members:{Consumers:{type:"list",member:{shape:"S27"}},NextToken:{}}}},ListStreams:{input:{type:"structure",members:{Limit:{type:"integer"},ExclusiveStartStreamName:{}}},output:{type:"structure",required:["StreamNames","HasMoreStreams"],members:{StreamNames:{type:"list",member:{}},HasMoreStreams:{type:"boolean"}}}},ListTagsForStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},ExclusiveStartTagKey:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Tags","HasMoreTags"],members:{Tags:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},HasMoreTags:{type:"boolean"}}}},MergeShards:{input:{type:"structure",required:["StreamName","ShardToMerge","AdjacentShardToMerge"],members:{StreamName:{},ShardToMerge:{},AdjacentShardToMerge:{}}}},PutRecord:{input:{type:"structure",required:["StreamName","Data","PartitionKey"],members:{StreamName:{},Data:{type:"blob"},PartitionKey:{},ExplicitHashKey:{},SequenceNumberForOrdering:{}}},output:{type:"structure",required:["ShardId","SequenceNumber"],members:{ShardId:{},SequenceNumber:{},EncryptionType:{}}}},PutRecords:{input:{type:"structure",required:["Records","StreamName"],members:{Records:{type:"list",member:{type:"structure",required:["Data","PartitionKey"],members:{Data:{type:"blob"},ExplicitHashKey:{},PartitionKey:{}}}},StreamName:{}}},output:{type:"structure",required:["Records"],members:{FailedRecordCount:{type:"integer"},Records:{type:"list",member:{type:"structure",members:{SequenceNumber:{},ShardId:{},ErrorCode:{},ErrorMessage:{}}}},EncryptionType:{}}}},RegisterStreamConsumer:{input:{type:"structure",required:["StreamARN","ConsumerName"],members:{StreamARN:{},ConsumerName:{}}},output:{type:"structure",required:["Consumer"],members:{Consumer:{shape:"S27"}}}},RemoveTagsFromStream:{input:{type:"structure",required:["StreamName","TagKeys"],members:{StreamName:{},TagKeys:{type:"list",member:{}}}}},SplitShard:{input:{type:"structure",required:["StreamName","ShardToSplit","NewStartingHashKey"],members:{StreamName:{},ShardToSplit:{},NewStartingHashKey:{}}}},StartStreamEncryption:{input:{type:"structure",required:["StreamName","EncryptionType","KeyId"],members:{StreamName:{},EncryptionType:{},KeyId:{}}}},StopStreamEncryption:{input:{type:"structure",required:["StreamName","EncryptionType","KeyId"],members:{StreamName:{},EncryptionType:{},KeyId:{}}}},UpdateShardCount:{input:{type:"structure",required:["StreamName","TargetShardCount","ScalingType"],members:{StreamName:{},TargetShardCount:{type:"integer"},ScalingType:{}}},output:{type:"structure",members:{StreamName:{},CurrentShardCount:{type:"integer"},TargetShardCount:{type:"integer"}}}},UpdateStreamMode:{input:{type:"structure",required:["StreamARN","StreamModeDetails"],members:{StreamARN:{},StreamModeDetails:{shape:"S8"}}}}},shapes:{S8:{type:"structure",required:["StreamMode"],members:{StreamMode:{}}},St:{type:"list",member:{type:"structure",required:["ShardId","HashKeyRange","SequenceNumberRange"],members:{ShardId:{},ParentShardId:{},AdjacentParentShardId:{},HashKeyRange:{shape:"Sv"},SequenceNumberRange:{type:"structure",required:["StartingSequenceNumber"],members:{StartingSequenceNumber:{},EndingSequenceNumber:{}}}}}},Sv:{type:"structure",required:["StartingHashKey","EndingHashKey"],members:{StartingHashKey:{},EndingHashKey:{}}},S10:{type:"list",member:{type:"structure",members:{ShardLevelMetrics:{shape:"S12"}}}},S12:{type:"list",member:{}},S1f:{type:"structure",members:{StreamName:{},CurrentShardLevelMetrics:{shape:"S12"},DesiredShardLevelMetrics:{shape:"S12"}}},S27:{type:"structure",required:["ConsumerName","ConsumerARN","ConsumerStatus","ConsumerCreationTimestamp"],members:{ConsumerName:{},ConsumerARN:{},ConsumerStatus:{},ConsumerCreationTimestamp:{type:"timestamp"}}}}}},{}],133:[function(e,t,r){t.exports={pagination:{DescribeStream:{input_token:"ExclusiveStartShardId",limit_key:"Limit",more_results:"StreamDescription.HasMoreShards",output_token:"StreamDescription.Shards[-1].ShardId",result_key:"StreamDescription.Shards"},ListStreamConsumers:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListStreams:{input_token:"ExclusiveStartStreamName",limit_key:"Limit",more_results:"HasMoreStreams",output_token:"StreamNames[-1]",result_key:"StreamNames"}}}},{}],134:[function(e,t,r){t.exports={version:2,waiters:{StreamExists:{delay:10,operation:"DescribeStream",maxAttempts:18,acceptors:[{expected:"ACTIVE",matcher:"path",state:"success",argument:"StreamDescription.StreamStatus"}]},StreamNotExists:{delay:10,operation:"DescribeStream",maxAttempts:18,acceptors:[{expected:"ResourceNotFoundException",matcher:"error",state:"success"}]}}}},{}],135:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-09-30",endpointPrefix:"kinesisvideo",protocol:"rest-json",serviceAbbreviation:"Kinesis Video Archived Media",serviceFullName:"Amazon Kinesis Video Streams Archived Media",serviceId:"Kinesis Video Archived Media",signatureVersion:"v4",uid:"kinesis-video-archived-media-2017-09-30"},operations:{GetClip:{http:{requestUri:"/getClip"},input:{type:"structure",required:["ClipFragmentSelector"],members:{StreamName:{},StreamARN:{},ClipFragmentSelector:{type:"structure",required:["FragmentSelectorType","TimestampRange"],members:{FragmentSelectorType:{},TimestampRange:{type:"structure",required:["StartTimestamp","EndTimestamp"],members:{StartTimestamp:{type:"timestamp"},EndTimestamp:{type:"timestamp"}}}}}}},output:{type:"structure",members:{ContentType:{location:"header",locationName:"Content-Type"},Payload:{shape:"Sa"}},payload:"Payload"}},GetDASHStreamingSessionURL:{http:{requestUri:"/getDASHStreamingSessionURL"},input:{type:"structure",members:{StreamName:{},StreamARN:{},PlaybackMode:{},DisplayFragmentTimestamp:{},DisplayFragmentNumber:{},DASHFragmentSelector:{type:"structure",members:{FragmentSelectorType:{},TimestampRange:{type:"structure",members:{StartTimestamp:{type:"timestamp"},EndTimestamp:{type:"timestamp"}}}}},Expires:{type:"integer"},MaxManifestFragmentResults:{type:"long"}}},output:{type:"structure",members:{DASHStreamingSessionURL:{}}}},GetHLSStreamingSessionURL:{http:{requestUri:"/getHLSStreamingSessionURL"},input:{type:"structure",members:{StreamName:{},StreamARN:{},PlaybackMode:{},HLSFragmentSelector:{type:"structure",members:{FragmentSelectorType:{},TimestampRange:{type:"structure",members:{StartTimestamp:{type:"timestamp"},EndTimestamp:{type:"timestamp"}}}}},ContainerFormat:{},DiscontinuityMode:{},DisplayFragmentTimestamp:{},Expires:{type:"integer"},MaxMediaPlaylistFragmentResults:{type:"long"}}},output:{type:"structure",members:{HLSStreamingSessionURL:{}}}},GetMediaForFragmentList:{http:{requestUri:"/getMediaForFragmentList"},input:{type:"structure",required:["Fragments"],members:{StreamName:{},StreamARN:{},Fragments:{type:"list",member:{}}}},output:{type:"structure",members:{ContentType:{location:"header",locationName:"Content-Type"},Payload:{shape:"Sa"}},payload:"Payload"}},ListFragments:{http:{requestUri:"/listFragments"},input:{type:"structure",members:{StreamName:{},StreamARN:{},MaxResults:{type:"long"},NextToken:{},FragmentSelector:{type:"structure",required:["FragmentSelectorType","TimestampRange"],members:{FragmentSelectorType:{},TimestampRange:{type:"structure",required:["StartTimestamp","EndTimestamp"],members:{StartTimestamp:{type:"timestamp"},EndTimestamp:{type:"timestamp"}}}}}}},output:{type:"structure",members:{Fragments:{type:"list",member:{type:"structure",members:{FragmentNumber:{},FragmentSizeInBytes:{type:"long"},ProducerTimestamp:{type:"timestamp"},ServerTimestamp:{type:"timestamp"},FragmentLengthInMilliseconds:{type:"long"}}}},NextToken:{}}}}},shapes:{Sa:{type:"blob",streaming:!0}}}},{}],136:[function(e,t,r){t.exports={pagination:{ListFragments:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Fragments"}}}},{}],137:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-09-30",endpointPrefix:"kinesisvideo",protocol:"rest-json",serviceAbbreviation:"Kinesis Video Media",serviceFullName:"Amazon Kinesis Video Streams Media",serviceId:"Kinesis Video Media",signatureVersion:"v4",uid:"kinesis-video-media-2017-09-30"},operations:{GetMedia:{http:{requestUri:"/getMedia"},input:{type:"structure",required:["StartSelector"],members:{StreamName:{},StreamARN:{},StartSelector:{type:"structure",required:["StartSelectorType"],members:{StartSelectorType:{},AfterFragmentNumber:{},StartTimestamp:{type:"timestamp"},ContinuationToken:{}}}}},output:{type:"structure",members:{ContentType:{location:"header",locationName:"Content-Type"},Payload:{type:"blob",streaming:!0}},payload:"Payload"}}},shapes:{}}},{}],138:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],139:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2019-12-04",endpointPrefix:"kinesisvideo",protocol:"rest-json",serviceAbbreviation:"Amazon Kinesis Video Signaling Channels",serviceFullName:"Amazon Kinesis Video Signaling Channels",serviceId:"Kinesis Video Signaling",signatureVersion:"v4",uid:"kinesis-video-signaling-2019-12-04"},operations:{GetIceServerConfig:{http:{requestUri:"/v1/get-ice-server-config"},input:{type:"structure",required:["ChannelARN"],members:{ChannelARN:{},ClientId:{},Service:{},Username:{}}},output:{type:"structure",members:{IceServerList:{type:"list",member:{type:"structure",members:{Uris:{type:"list",member:{}},Username:{},Password:{},Ttl:{type:"integer"}}}}}}},SendAlexaOfferToMaster:{http:{requestUri:"/v1/send-alexa-offer-to-master"},input:{type:"structure",required:["ChannelARN","SenderClientId","MessagePayload"],members:{ChannelARN:{},SenderClientId:{},MessagePayload:{}}},output:{type:"structure",members:{Answer:{}}}}},shapes:{}}},{}],140:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],141:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-09-30",endpointPrefix:"kinesisvideo",protocol:"rest-json",serviceAbbreviation:"Kinesis Video",serviceFullName:"Amazon Kinesis Video Streams",serviceId:"Kinesis Video",signatureVersion:"v4",uid:"kinesisvideo-2017-09-30"},operations:{CreateSignalingChannel:{http:{requestUri:"/createSignalingChannel"},input:{type:"structure",required:["ChannelName"],members:{ChannelName:{},ChannelType:{},SingleMasterConfiguration:{shape:"S4"},Tags:{type:"list",member:{shape:"S7"}}}},output:{type:"structure",members:{ChannelARN:{}}}},CreateStream:{http:{requestUri:"/createStream"},input:{type:"structure",required:["StreamName"],members:{DeviceName:{},StreamName:{},MediaType:{},KmsKeyId:{},DataRetentionInHours:{type:"integer"},Tags:{shape:"Si"}}},output:{type:"structure",members:{StreamARN:{}}}},DeleteSignalingChannel:{http:{requestUri:"/deleteSignalingChannel"},input:{type:"structure",required:["ChannelARN"],members:{ChannelARN:{},CurrentVersion:{}}},output:{type:"structure",members:{}}},DeleteStream:{http:{requestUri:"/deleteStream"},input:{type:"structure",required:["StreamARN"],members:{StreamARN:{},CurrentVersion:{}}},output:{type:"structure",members:{}}},DescribeSignalingChannel:{http:{requestUri:"/describeSignalingChannel"},input:{type:"structure",members:{ChannelName:{},ChannelARN:{}}},output:{type:"structure",members:{ChannelInfo:{shape:"Sr"}}}},DescribeStream:{http:{requestUri:"/describeStream"},input:{type:"structure",members:{StreamName:{},StreamARN:{}}},output:{type:"structure",members:{StreamInfo:{shape:"Sw"}}}},GetDataEndpoint:{http:{requestUri:"/getDataEndpoint"},input:{type:"structure",required:["APIName"],members:{StreamName:{},StreamARN:{},APIName:{}}},output:{type:"structure",members:{DataEndpoint:{}}}},GetSignalingChannelEndpoint:{http:{requestUri:"/getSignalingChannelEndpoint"},input:{type:"structure",required:["ChannelARN"],members:{ChannelARN:{},SingleMasterChannelEndpointConfiguration:{type:"structure",members:{Protocols:{type:"list",member:{}},Role:{}}}}},output:{type:"structure",members:{ResourceEndpointList:{type:"list",member:{type:"structure",members:{Protocol:{},ResourceEndpoint:{}}}}}}},ListSignalingChannels:{http:{requestUri:"/listSignalingChannels"},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{},ChannelNameCondition:{type:"structure",members:{ComparisonOperator:{},ComparisonValue:{}}}}},output:{type:"structure",members:{ChannelInfoList:{type:"list",member:{shape:"Sr"}},NextToken:{}}}},ListStreams:{http:{requestUri:"/listStreams"},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{},StreamNameCondition:{type:"structure",members:{ComparisonOperator:{},ComparisonValue:{}}}}},output:{type:"structure",members:{StreamInfoList:{type:"list",member:{shape:"Sw"}},NextToken:{}}}},ListTagsForResource:{http:{requestUri:"/ListTagsForResource"},input:{type:"structure",required:["ResourceARN"],members:{NextToken:{},ResourceARN:{}}},output:{type:"structure",members:{NextToken:{},Tags:{shape:"Si"}}}},ListTagsForStream:{http:{requestUri:"/listTagsForStream"},input:{type:"structure",members:{NextToken:{},StreamARN:{},StreamName:{}}},output:{type:"structure",members:{NextToken:{},Tags:{shape:"Si"}}}},TagResource:{http:{requestUri:"/TagResource"},input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{type:"list",member:{shape:"S7"}}}},output:{type:"structure",members:{}}},TagStream:{http:{requestUri:"/tagStream"},input:{type:"structure",required:["Tags"],members:{StreamARN:{},StreamName:{},Tags:{shape:"Si"}}},output:{type:"structure",members:{}}},UntagResource:{http:{requestUri:"/UntagResource"},input:{type:"structure",required:["ResourceARN","TagKeyList"],members:{ResourceARN:{},TagKeyList:{shape:"S1v"}}},output:{type:"structure",members:{}}},UntagStream:{http:{requestUri:"/untagStream"},input:{type:"structure",required:["TagKeyList"],members:{StreamARN:{},StreamName:{},TagKeyList:{shape:"S1v"}}},output:{type:"structure",members:{}}},UpdateDataRetention:{http:{requestUri:"/updateDataRetention"},input:{type:"structure",required:["CurrentVersion","Operation","DataRetentionChangeInHours"],members:{StreamName:{},StreamARN:{},CurrentVersion:{},Operation:{},DataRetentionChangeInHours:{type:"integer"}}},output:{type:"structure",members:{}}},UpdateSignalingChannel:{http:{requestUri:"/updateSignalingChannel"},input:{type:"structure",required:["ChannelARN","CurrentVersion"],members:{ChannelARN:{},CurrentVersion:{},SingleMasterConfiguration:{shape:"S4"}}},output:{type:"structure",members:{}}},UpdateStream:{http:{requestUri:"/updateStream"},input:{type:"structure",required:["CurrentVersion"],members:{StreamName:{},StreamARN:{},CurrentVersion:{},DeviceName:{},MediaType:{}}},output:{type:"structure",members:{}}}},shapes:{S4:{type:"structure",members:{MessageTtlSeconds:{type:"integer"}}},S7:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}},Si:{type:"map",key:{},value:{}},Sr:{type:"structure",members:{ChannelName:{},ChannelARN:{},ChannelType:{},ChannelStatus:{},CreationTime:{type:"timestamp"},SingleMasterConfiguration:{shape:"S4"},Version:{}}},Sw:{type:"structure",members:{DeviceName:{},StreamName:{},StreamARN:{},MediaType:{},KmsKeyId:{},Version:{},Status:{},CreationTime:{type:"timestamp"},DataRetentionInHours:{type:"integer"}}},S1v:{type:"list",member:{}}}}},{}],142:[function(e,t,r){t.exports={pagination:{ListSignalingChannels:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ChannelInfoList"},ListStreams:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"StreamInfoList"}}}},{}],143:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-11-01",endpointPrefix:"kms",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"KMS",serviceFullName:"AWS Key Management Service",serviceId:"KMS",signatureVersion:"v4",targetPrefix:"TrentService",uid:"kms-2014-11-01"},operations:{CancelKeyDeletion:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},output:{type:"structure",members:{KeyId:{}}}},ConnectCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreId"],members:{CustomKeyStoreId:{}}},output:{type:"structure",members:{}}},CreateAlias:{input:{type:"structure",required:["AliasName","TargetKeyId"],members:{AliasName:{},TargetKeyId:{}}}},CreateCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreName","CloudHsmClusterId","TrustAnchorCertificate","KeyStorePassword"],members:{CustomKeyStoreName:{},CloudHsmClusterId:{},TrustAnchorCertificate:{},KeyStorePassword:{shape:"Sd"}}},output:{type:"structure",members:{CustomKeyStoreId:{}}}},CreateGrant:{input:{type:"structure",required:["KeyId","GranteePrincipal","Operations"],members:{KeyId:{},GranteePrincipal:{},RetiringPrincipal:{},Operations:{shape:"Sh"},Constraints:{shape:"Sj"},GrantTokens:{shape:"Sn"},Name:{}}},output:{type:"structure",members:{GrantToken:{},GrantId:{}}}},CreateKey:{input:{type:"structure",members:{Policy:{},Description:{},KeyUsage:{},CustomerMasterKeySpec:{shape:"Sw",deprecated:!0,deprecatedMessage:"This parameter has been deprecated. Instead, use the KeySpec parameter."},KeySpec:{},Origin:{},CustomKeyStoreId:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"},Tags:{shape:"S10"},MultiRegion:{type:"boolean"}}},output:{type:"structure",members:{KeyMetadata:{shape:"S16"}}}},Decrypt:{input:{type:"structure",required:["CiphertextBlob"],members:{CiphertextBlob:{type:"blob"},EncryptionContext:{shape:"Sk"},GrantTokens:{shape:"Sn"},KeyId:{},EncryptionAlgorithm:{}}},output:{type:"structure",members:{KeyId:{},Plaintext:{shape:"S1q"},EncryptionAlgorithm:{}}}},DeleteAlias:{input:{type:"structure",required:["AliasName"],members:{AliasName:{}}}},DeleteCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreId"],members:{CustomKeyStoreId:{}}},output:{type:"structure",members:{}}},DeleteImportedKeyMaterial:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},DescribeCustomKeyStores:{input:{type:"structure",members:{CustomKeyStoreId:{},CustomKeyStoreName:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{CustomKeyStores:{type:"list",member:{type:"structure",members:{CustomKeyStoreId:{},CustomKeyStoreName:{},CloudHsmClusterId:{},TrustAnchorCertificate:{},ConnectionState:{},ConnectionErrorCode:{},CreationDate:{type:"timestamp"}}}},NextMarker:{},Truncated:{type:"boolean"}}}},DescribeKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{KeyMetadata:{shape:"S16"}}}},DisableKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},DisableKeyRotation:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},DisconnectCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreId"],members:{CustomKeyStoreId:{}}},output:{type:"structure",members:{}}},EnableKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},EnableKeyRotation:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}}},Encrypt:{input:{type:"structure",required:["KeyId","Plaintext"],members:{KeyId:{},Plaintext:{shape:"S1q"},EncryptionContext:{shape:"Sk"},GrantTokens:{shape:"Sn"},EncryptionAlgorithm:{}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},KeyId:{},EncryptionAlgorithm:{}}}},GenerateDataKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},EncryptionContext:{shape:"Sk"},NumberOfBytes:{type:"integer"},KeySpec:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},Plaintext:{shape:"S1q"},KeyId:{}}}},GenerateDataKeyPair:{input:{type:"structure",required:["KeyId","KeyPairSpec"],members:{EncryptionContext:{shape:"Sk"},KeyId:{},KeyPairSpec:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{PrivateKeyCiphertextBlob:{type:"blob"},PrivateKeyPlaintext:{shape:"S1q"},PublicKey:{type:"blob"},KeyId:{},KeyPairSpec:{}}}},GenerateDataKeyPairWithoutPlaintext:{input:{type:"structure",required:["KeyId","KeyPairSpec"],members:{EncryptionContext:{shape:"Sk"},KeyId:{},KeyPairSpec:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{PrivateKeyCiphertextBlob:{type:"blob"},PublicKey:{type:"blob"},KeyId:{},KeyPairSpec:{}}}},GenerateDataKeyWithoutPlaintext:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},EncryptionContext:{shape:"Sk"},KeySpec:{},NumberOfBytes:{type:"integer"},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},KeyId:{}}}},GenerateRandom:{input:{type:"structure",members:{NumberOfBytes:{type:"integer"},CustomKeyStoreId:{}}},output:{type:"structure",members:{Plaintext:{shape:"S1q"}}}},GetKeyPolicy:{input:{type:"structure",required:["KeyId","PolicyName"],members:{KeyId:{},PolicyName:{}}},output:{type:"structure",members:{Policy:{}}}},GetKeyRotationStatus:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},output:{type:"structure",members:{KeyRotationEnabled:{type:"boolean"}}}},GetParametersForImport:{input:{type:"structure",required:["KeyId","WrappingAlgorithm","WrappingKeySpec"],members:{KeyId:{},WrappingAlgorithm:{},WrappingKeySpec:{}}},output:{type:"structure",members:{KeyId:{},ImportToken:{type:"blob"},PublicKey:{shape:"S1q"},ParametersValidTo:{type:"timestamp"}}}},GetPublicKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{KeyId:{},PublicKey:{type:"blob"},CustomerMasterKeySpec:{shape:"Sw",deprecated:!0,deprecatedMessage:"This field has been deprecated. Instead, use the KeySpec field."},KeySpec:{},KeyUsage:{},EncryptionAlgorithms:{shape:"S1d"},SigningAlgorithms:{shape:"S1f"}}}},ImportKeyMaterial:{input:{type:"structure",required:["KeyId","ImportToken","EncryptedKeyMaterial"],members:{KeyId:{},ImportToken:{type:"blob"},EncryptedKeyMaterial:{type:"blob"},ValidTo:{type:"timestamp"},ExpirationModel:{}}},output:{type:"structure",members:{}}},ListAliases:{input:{type:"structure",members:{KeyId:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Aliases:{type:"list",member:{type:"structure",members:{AliasName:{},AliasArn:{},TargetKeyId:{},CreationDate:{type:"timestamp"},LastUpdatedDate:{type:"timestamp"}}}},NextMarker:{},Truncated:{type:"boolean"}}}},ListGrants:{input:{type:"structure",required:["KeyId"],members:{Limit:{type:"integer"},Marker:{},KeyId:{},GrantId:{},GranteePrincipal:{}}},output:{shape:"S39"}},ListKeyPolicies:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{PolicyNames:{type:"list",member:{}},NextMarker:{},Truncated:{type:"boolean"}}}},ListKeys:{input:{type:"structure",members:{Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Keys:{type:"list",member:{type:"structure",members:{KeyId:{},KeyArn:{}}}},NextMarker:{},Truncated:{type:"boolean"}}}},ListResourceTags:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Tags:{shape:"S10"},NextMarker:{},Truncated:{type:"boolean"}}}},ListRetirableGrants:{input:{type:"structure",required:["RetiringPrincipal"],members:{Limit:{type:"integer"},Marker:{},RetiringPrincipal:{}}},output:{shape:"S39"}},PutKeyPolicy:{input:{type:"structure",required:["KeyId","PolicyName","Policy"],members:{KeyId:{},PolicyName:{},Policy:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"}}}},ReEncrypt:{input:{type:"structure",required:["CiphertextBlob","DestinationKeyId"],members:{CiphertextBlob:{type:"blob"},SourceEncryptionContext:{shape:"Sk"},SourceKeyId:{},DestinationKeyId:{},DestinationEncryptionContext:{shape:"Sk"},SourceEncryptionAlgorithm:{},DestinationEncryptionAlgorithm:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},SourceKeyId:{},KeyId:{},SourceEncryptionAlgorithm:{},DestinationEncryptionAlgorithm:{}}}},ReplicateKey:{input:{type:"structure",required:["KeyId","ReplicaRegion"],members:{KeyId:{},ReplicaRegion:{},Policy:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"},Description:{},Tags:{shape:"S10"}}},output:{type:"structure",members:{ReplicaKeyMetadata:{shape:"S16"},ReplicaPolicy:{},ReplicaTags:{shape:"S10"}}}},RetireGrant:{input:{type:"structure",members:{GrantToken:{},KeyId:{},GrantId:{}}}},RevokeGrant:{input:{type:"structure",required:["KeyId","GrantId"],members:{KeyId:{},GrantId:{}}}},ScheduleKeyDeletion:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},PendingWindowInDays:{type:"integer"}}},output:{type:"structure",members:{KeyId:{},DeletionDate:{type:"timestamp"},KeyState:{},PendingWindowInDays:{type:"integer"}}}},Sign:{input:{type:"structure",required:["KeyId","Message","SigningAlgorithm"],members:{KeyId:{},Message:{shape:"S1q"},MessageType:{},GrantTokens:{shape:"Sn"},SigningAlgorithm:{}}},output:{type:"structure",members:{KeyId:{},Signature:{type:"blob"},SigningAlgorithm:{}}}},TagResource:{input:{type:"structure",required:["KeyId","Tags"],members:{KeyId:{},Tags:{shape:"S10"}}}},UntagResource:{input:{type:"structure",required:["KeyId","TagKeys"],members:{KeyId:{},TagKeys:{type:"list",member:{}}}}},UpdateAlias:{input:{type:"structure",required:["AliasName","TargetKeyId"],members:{AliasName:{},TargetKeyId:{}}}},UpdateCustomKeyStore:{input:{type:"structure",required:["CustomKeyStoreId"],members:{CustomKeyStoreId:{},NewCustomKeyStoreName:{},KeyStorePassword:{shape:"Sd"},CloudHsmClusterId:{}}},output:{type:"structure",members:{}}},UpdateKeyDescription:{input:{type:"structure",required:["KeyId","Description"],members:{KeyId:{},Description:{}}}},UpdatePrimaryRegion:{input:{type:"structure",required:["KeyId","PrimaryRegion"],members:{KeyId:{},PrimaryRegion:{}}}},Verify:{input:{type:"structure",required:["KeyId","Message","Signature","SigningAlgorithm"],members:{KeyId:{},Message:{shape:"S1q"},MessageType:{},Signature:{type:"blob"},SigningAlgorithm:{},GrantTokens:{shape:"Sn"}}},output:{type:"structure",members:{KeyId:{},SignatureValid:{type:"boolean"},SigningAlgorithm:{}}}}},shapes:{Sd:{type:"string",sensitive:!0},Sh:{type:"list",member:{}},Sj:{type:"structure",members:{EncryptionContextSubset:{shape:"Sk"},EncryptionContextEquals:{shape:"Sk"}}},Sk:{type:"map",key:{},value:{}},Sn:{type:"list",member:{}},Sw:{type:"string",deprecated:!0,deprecatedMessage:"This enum has been deprecated. Instead, use the KeySpec enum."},S10:{type:"list",member:{type:"structure",required:["TagKey","TagValue"],members:{TagKey:{},TagValue:{}}}},S16:{type:"structure",required:["KeyId"],members:{AWSAccountId:{},KeyId:{},Arn:{},CreationDate:{type:"timestamp"},Enabled:{type:"boolean"},Description:{},KeyUsage:{},KeyState:{},DeletionDate:{type:"timestamp"},ValidTo:{type:"timestamp"},Origin:{},CustomKeyStoreId:{},CloudHsmClusterId:{},ExpirationModel:{},KeyManager:{},CustomerMasterKeySpec:{shape:"Sw",deprecated:!0,deprecatedMessage:"This field has been deprecated. Instead, use the KeySpec field."},KeySpec:{},EncryptionAlgorithms:{shape:"S1d"},SigningAlgorithms:{shape:"S1f"},MultiRegion:{type:"boolean"},MultiRegionConfiguration:{type:"structure",members:{MultiRegionKeyType:{},PrimaryKey:{shape:"S1j"},ReplicaKeys:{type:"list",member:{shape:"S1j"}}}},PendingDeletionWindowInDays:{type:"integer"}}},S1d:{type:"list",member:{}},S1f:{type:"list",member:{}},S1j:{type:"structure",members:{Arn:{},Region:{}}},S1q:{type:"blob",sensitive:!0},S39:{type:"structure",members:{Grants:{type:"list",member:{type:"structure",members:{KeyId:{},GrantId:{},Name:{},CreationDate:{type:"timestamp"},GranteePrincipal:{},RetiringPrincipal:{},IssuingAccount:{},Operations:{shape:"Sh"},Constraints:{shape:"Sj"}}}},NextMarker:{},Truncated:{type:"boolean"}}}}}},{}],144:[function(e,t,r){t.exports={pagination:{ListAliases:{input_token:"Marker",limit_key:"Limit",more_results:"Truncated",output_token:"NextMarker",result_key:"Aliases"},ListGrants:{input_token:"Marker",limit_key:"Limit",more_results:"Truncated",output_token:"NextMarker",result_key:"Grants"},ListKeyPolicies:{input_token:"Marker",limit_key:"Limit",more_results:"Truncated",output_token:"NextMarker",result_key:"PolicyNames"},ListKeys:{input_token:"Marker",limit_key:"Limit",more_results:"Truncated",output_token:"NextMarker",result_key:"Keys"}}}},{}],145:[function(e,t,r){t.exports={metadata:{apiVersion:"2014-11-11",endpointPrefix:"lambda",serviceFullName:"AWS Lambda",serviceId:"Lambda",signatureVersion:"v4",protocol:"rest-json"},operations:{AddEventSource:{http:{requestUri:"/2014-11-13/event-source-mappings/"},input:{type:"structure",required:["EventSource","FunctionName","Role"],members:{EventSource:{},FunctionName:{},Role:{},BatchSize:{type:"integer"},Parameters:{shape:"S6"}}},output:{shape:"S7"}},DeleteFunction:{http:{method:"DELETE",requestUri:"/2014-11-13/functions/{FunctionName}",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri", +locationName:"FunctionName"}}}},GetEventSource:{http:{method:"GET",requestUri:"/2014-11-13/event-source-mappings/{UUID}",responseCode:200},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}},output:{shape:"S7"}},GetFunction:{http:{method:"GET",requestUri:"/2014-11-13/functions/{FunctionName}",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{type:"structure",members:{Configuration:{shape:"Se"},Code:{type:"structure",members:{RepositoryType:{},Location:{}}}}}},GetFunctionConfiguration:{http:{method:"GET",requestUri:"/2014-11-13/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{shape:"Se"}},InvokeAsync:{http:{requestUri:"/2014-11-13/functions/{FunctionName}/invoke-async/",responseCode:202},input:{type:"structure",required:["FunctionName","InvokeArgs"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvokeArgs:{shape:"Sq"}},payload:"InvokeArgs"},output:{type:"structure",members:{Status:{location:"statusCode",type:"integer"}}}},ListEventSources:{http:{method:"GET",requestUri:"/2014-11-13/event-source-mappings/",responseCode:200},input:{type:"structure",members:{EventSourceArn:{location:"querystring",locationName:"EventSource"},FunctionName:{location:"querystring",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},EventSources:{type:"list",member:{shape:"S7"}}}}},ListFunctions:{http:{method:"GET",requestUri:"/2014-11-13/functions/",responseCode:200},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Functions:{type:"list",member:{shape:"Se"}}}}},RemoveEventSource:{http:{method:"DELETE",requestUri:"/2014-11-13/event-source-mappings/{UUID}",responseCode:204},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}}},UpdateFunctionConfiguration:{http:{method:"PUT",requestUri:"/2014-11-13/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Role:{location:"querystring",locationName:"Role"},Handler:{location:"querystring",locationName:"Handler"},Description:{location:"querystring",locationName:"Description"},Timeout:{location:"querystring",locationName:"Timeout",type:"integer"},MemorySize:{location:"querystring",locationName:"MemorySize",type:"integer"}}},output:{shape:"Se"}},UploadFunction:{http:{method:"PUT",requestUri:"/2014-11-13/functions/{FunctionName}",responseCode:201},input:{type:"structure",required:["FunctionName","FunctionZip","Runtime","Role","Handler","Mode"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},FunctionZip:{shape:"Sq"},Runtime:{location:"querystring",locationName:"Runtime"},Role:{location:"querystring",locationName:"Role"},Handler:{location:"querystring",locationName:"Handler"},Mode:{location:"querystring",locationName:"Mode"},Description:{location:"querystring",locationName:"Description"},Timeout:{location:"querystring",locationName:"Timeout",type:"integer"},MemorySize:{location:"querystring",locationName:"MemorySize",type:"integer"}},payload:"FunctionZip"},output:{shape:"Se"}}},shapes:{S6:{type:"map",key:{},value:{}},S7:{type:"structure",members:{UUID:{},BatchSize:{type:"integer"},EventSource:{},FunctionName:{},Parameters:{shape:"S6"},Role:{},LastModified:{type:"timestamp"},IsActive:{type:"boolean"},Status:{}}},Se:{type:"structure",members:{FunctionName:{},FunctionARN:{},ConfigurationId:{},Runtime:{},Role:{},Handler:{},Mode:{},CodeSize:{type:"long"},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},LastModified:{type:"timestamp"}}},Sq:{type:"blob",streaming:!0}}}},{}],146:[function(e,t,r){t.exports={pagination:{ListEventSources:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems",result_key:"EventSources"},ListFunctions:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems",result_key:"Functions"}}}},{}],147:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-03-31",endpointPrefix:"lambda",protocol:"rest-json",serviceFullName:"AWS Lambda",serviceId:"Lambda",signatureVersion:"v4",uid:"lambda-2015-03-31"},operations:{AddLayerVersionPermission:{http:{requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy",responseCode:201},input:{type:"structure",required:["LayerName","VersionNumber","StatementId","Action","Principal"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"},StatementId:{},Action:{},Principal:{},OrganizationId:{},RevisionId:{location:"querystring",locationName:"RevisionId"}}},output:{type:"structure",members:{Statement:{},RevisionId:{}}}},AddPermission:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/policy",responseCode:201},input:{type:"structure",required:["FunctionName","StatementId","Action","Principal"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},StatementId:{},Action:{},Principal:{},SourceArn:{},SourceAccount:{},EventSourceToken:{},Qualifier:{location:"querystring",locationName:"Qualifier"},RevisionId:{}}},output:{type:"structure",members:{Statement:{}}}},CreateAlias:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/aliases",responseCode:201},input:{type:"structure",required:["FunctionName","Name","FunctionVersion"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{},FunctionVersion:{},Description:{},RoutingConfig:{shape:"Sn"}}},output:{shape:"Sr"}},CreateCodeSigningConfig:{http:{requestUri:"/2020-04-22/code-signing-configs/",responseCode:201},input:{type:"structure",required:["AllowedPublishers"],members:{Description:{},AllowedPublishers:{shape:"Su"},CodeSigningPolicies:{shape:"Sw"}}},output:{type:"structure",required:["CodeSigningConfig"],members:{CodeSigningConfig:{shape:"Sz"}}}},CreateEventSourceMapping:{http:{requestUri:"/2015-03-31/event-source-mappings/",responseCode:202},input:{type:"structure",required:["FunctionName"],members:{EventSourceArn:{},FunctionName:{},Enabled:{type:"boolean"},BatchSize:{type:"integer"},FilterCriteria:{shape:"S16"},MaximumBatchingWindowInSeconds:{type:"integer"},ParallelizationFactor:{type:"integer"},StartingPosition:{},StartingPositionTimestamp:{type:"timestamp"},DestinationConfig:{shape:"S1e"},MaximumRecordAgeInSeconds:{type:"integer"},BisectBatchOnFunctionError:{type:"boolean"},MaximumRetryAttempts:{type:"integer"},TumblingWindowInSeconds:{type:"integer"},Topics:{shape:"S1m"},Queues:{shape:"S1o"},SourceAccessConfigurations:{shape:"S1q"},SelfManagedEventSource:{shape:"S1u"},FunctionResponseTypes:{shape:"S1z"}}},output:{shape:"S21"}},CreateFunction:{http:{requestUri:"/2015-03-31/functions",responseCode:201},input:{type:"structure",required:["FunctionName","Role","Code"],members:{FunctionName:{},Runtime:{},Role:{},Handler:{},Code:{type:"structure",members:{ZipFile:{shape:"S27"},S3Bucket:{},S3Key:{},S3ObjectVersion:{},ImageUri:{}}},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},Publish:{type:"boolean"},VpcConfig:{shape:"S2e"},PackageType:{},DeadLetterConfig:{shape:"S2k"},Environment:{shape:"S2m"},KMSKeyArn:{},TracingConfig:{shape:"S2r"},Tags:{shape:"S2t"},Layers:{shape:"S2w"},FileSystemConfigs:{shape:"S2y"},ImageConfig:{shape:"S32"},CodeSigningConfigArn:{},Architectures:{shape:"S35"}}},output:{shape:"S37"}},DeleteAlias:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:204},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"}}}},DeleteCodeSigningConfig:{http:{method:"DELETE",requestUri:"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}",responseCode:204},input:{type:"structure",required:["CodeSigningConfigArn"],members:{CodeSigningConfigArn:{location:"uri",locationName:"CodeSigningConfigArn"}}},output:{type:"structure",members:{}}},DeleteEventSourceMapping:{http:{method:"DELETE",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:202},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}},output:{shape:"S21"}},DeleteFunction:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},DeleteFunctionCodeSigningConfig:{http:{method:"DELETE",requestUri:"/2020-06-30/functions/{FunctionName}/code-signing-config",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}}},DeleteFunctionConcurrency:{http:{method:"DELETE",requestUri:"/2017-10-31/functions/{FunctionName}/concurrency",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}}},DeleteFunctionEventInvokeConfig:{http:{method:"DELETE",requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},DeleteLayerVersion:{http:{method:"DELETE",requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}",responseCode:204},input:{type:"structure",required:["LayerName","VersionNumber"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"}}}},DeleteProvisionedConcurrencyConfig:{http:{method:"DELETE",requestUri:"/2019-09-30/functions/{FunctionName}/provisioned-concurrency",responseCode:204},input:{type:"structure",required:["FunctionName","Qualifier"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},GetAccountSettings:{http:{method:"GET",requestUri:"/2016-08-19/account-settings/",responseCode:200},input:{type:"structure",members:{}},output:{type:"structure",members:{AccountLimit:{type:"structure",members:{TotalCodeSize:{type:"long"},CodeSizeUnzipped:{type:"long"},CodeSizeZipped:{type:"long"},ConcurrentExecutions:{type:"integer"},UnreservedConcurrentExecutions:{type:"integer"}}},AccountUsage:{type:"structure",members:{TotalCodeSize:{type:"long"},FunctionCount:{type:"long"}}}}}},GetAlias:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:200},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"}}},output:{shape:"Sr"}},GetCodeSigningConfig:{http:{method:"GET",requestUri:"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}",responseCode:200},input:{type:"structure",required:["CodeSigningConfigArn"],members:{CodeSigningConfigArn:{location:"uri",locationName:"CodeSigningConfigArn"}}},output:{type:"structure",required:["CodeSigningConfig"],members:{CodeSigningConfig:{shape:"Sz"}}}},GetEventSourceMapping:{http:{method:"GET",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:200},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}},output:{shape:"S21"}},GetFunction:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{Configuration:{shape:"S37"},Code:{type:"structure",members:{RepositoryType:{},Location:{},ImageUri:{},ResolvedImageUri:{}}},Tags:{shape:"S2t"},Concurrency:{shape:"S4e"}}}},GetFunctionCodeSigningConfig:{http:{method:"GET",requestUri:"/2020-06-30/functions/{FunctionName}/code-signing-config",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{type:"structure",required:["CodeSigningConfigArn","FunctionName"],members:{CodeSigningConfigArn:{},FunctionName:{}}}},GetFunctionConcurrency:{http:{method:"GET",requestUri:"/2019-09-30/functions/{FunctionName}/concurrency",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{type:"structure",members:{ReservedConcurrentExecutions:{type:"integer"}}}},GetFunctionConfiguration:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{shape:"S37"}},GetFunctionEventInvokeConfig:{http:{method:"GET",requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{shape:"S4m"}},GetLayerVersion:{http:{method:"GET",requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}",responseCode:200},input:{type:"structure",required:["LayerName","VersionNumber"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"}}},output:{shape:"S4q"}},GetLayerVersionByArn:{http:{method:"GET",requestUri:"/2018-10-31/layers?find=LayerVersion",responseCode:200},input:{type:"structure",required:["Arn"],members:{Arn:{location:"querystring",locationName:"Arn"}}},output:{shape:"S4q"}},GetLayerVersionPolicy:{http:{method:"GET",requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy",responseCode:200},input:{type:"structure",required:["LayerName","VersionNumber"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"}}},output:{type:"structure",members:{Policy:{},RevisionId:{}}}},GetPolicy:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/policy",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{Policy:{},RevisionId:{}}}},GetProvisionedConcurrencyConfig:{http:{method:"GET",requestUri:"/2019-09-30/functions/{FunctionName}/provisioned-concurrency",responseCode:200},input:{type:"structure",required:["FunctionName","Qualifier"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{RequestedProvisionedConcurrentExecutions:{type:"integer"},AvailableProvisionedConcurrentExecutions:{type:"integer"},AllocatedProvisionedConcurrentExecutions:{type:"integer"},Status:{},StatusReason:{},LastModified:{}}}},Invoke:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/invocations"},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvocationType:{location:"header",locationName:"X-Amz-Invocation-Type"},LogType:{location:"header",locationName:"X-Amz-Log-Type"},ClientContext:{location:"header",locationName:"X-Amz-Client-Context"},Payload:{shape:"S27"},Qualifier:{location:"querystring",locationName:"Qualifier"}},payload:"Payload"},output:{type:"structure",members:{StatusCode:{location:"statusCode",type:"integer"},FunctionError:{location:"header",locationName:"X-Amz-Function-Error"},LogResult:{location:"header",locationName:"X-Amz-Log-Result"},Payload:{shape:"S27"},ExecutedVersion:{location:"header",locationName:"X-Amz-Executed-Version"}},payload:"Payload"}},InvokeAsync:{http:{requestUri:"/2014-11-13/functions/{FunctionName}/invoke-async/",responseCode:202},input:{type:"structure",required:["FunctionName","InvokeArgs"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvokeArgs:{type:"blob",streaming:!0}},deprecated:!0,payload:"InvokeArgs"},output:{type:"structure",members:{Status:{location:"statusCode",type:"integer"}},deprecated:!0},deprecated:!0},ListAliases:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/aliases",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},FunctionVersion:{location:"querystring",locationName:"FunctionVersion"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Aliases:{type:"list",member:{shape:"Sr"}}}}},ListCodeSigningConfigs:{http:{method:"GET",requestUri:"/2020-04-22/code-signing-configs/",responseCode:200},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},CodeSigningConfigs:{type:"list",member:{shape:"Sz"}}}}},ListEventSourceMappings:{http:{method:"GET",requestUri:"/2015-03-31/event-source-mappings/",responseCode:200},input:{type:"structure",members:{EventSourceArn:{location:"querystring",locationName:"EventSourceArn"},FunctionName:{location:"querystring",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},EventSourceMappings:{type:"list",member:{shape:"S21"}}}}},ListFunctionEventInvokeConfigs:{http:{method:"GET",requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config/list",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{FunctionEventInvokeConfigs:{type:"list",member:{shape:"S4m"}},NextMarker:{}}}},ListFunctions:{http:{method:"GET",requestUri:"/2015-03-31/functions/",responseCode:200},input:{type:"structure",members:{MasterRegion:{location:"querystring",locationName:"MasterRegion"},FunctionVersion:{location:"querystring",locationName:"FunctionVersion"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Functions:{shape:"S5w"}}}},ListFunctionsByCodeSigningConfig:{http:{method:"GET",requestUri:"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions",responseCode:200},input:{type:"structure",required:["CodeSigningConfigArn"],members:{CodeSigningConfigArn:{location:"uri",locationName:"CodeSigningConfigArn"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},FunctionArns:{type:"list",member:{}}}}},ListLayerVersions:{http:{method:"GET",requestUri:"/2018-10-31/layers/{LayerName}/versions",responseCode:200},input:{type:"structure",required:["LayerName"],members:{CompatibleRuntime:{location:"querystring",locationName:"CompatibleRuntime"},LayerName:{location:"uri",locationName:"LayerName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},CompatibleArchitecture:{location:"querystring",locationName:"CompatibleArchitecture"}}},output:{type:"structure",members:{NextMarker:{},LayerVersions:{type:"list",member:{shape:"S64"}}}}},ListLayers:{http:{method:"GET",requestUri:"/2018-10-31/layers",responseCode:200},input:{type:"structure",members:{CompatibleRuntime:{location:"querystring",locationName:"CompatibleRuntime"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"},CompatibleArchitecture:{location:"querystring",locationName:"CompatibleArchitecture"}}},output:{type:"structure",members:{NextMarker:{},Layers:{type:"list",member:{type:"structure",members:{LayerName:{},LayerArn:{},LatestMatchingVersion:{shape:"S64"}}}}}}},ListProvisionedConcurrencyConfigs:{http:{method:"GET",requestUri:"/2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{ProvisionedConcurrencyConfigs:{type:"list",member:{type:"structure",members:{FunctionArn:{},RequestedProvisionedConcurrentExecutions:{type:"integer"},AvailableProvisionedConcurrentExecutions:{type:"integer"},AllocatedProvisionedConcurrentExecutions:{type:"integer"},Status:{},StatusReason:{},LastModified:{}}}},NextMarker:{}}}},ListTags:{http:{method:"GET",requestUri:"/2017-03-31/tags/{ARN}"},input:{type:"structure",required:["Resource"],members:{Resource:{location:"uri",locationName:"ARN"}}},output:{type:"structure",members:{Tags:{shape:"S2t"}}}},ListVersionsByFunction:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/versions",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Versions:{shape:"S5w"}}}},PublishLayerVersion:{http:{requestUri:"/2018-10-31/layers/{LayerName}/versions",responseCode:201},input:{type:"structure",required:["LayerName","Content"],members:{LayerName:{location:"uri",locationName:"LayerName"},Description:{},Content:{type:"structure",members:{S3Bucket:{},S3Key:{},S3ObjectVersion:{},ZipFile:{shape:"S27"}}},CompatibleRuntimes:{shape:"S4t"},LicenseInfo:{},CompatibleArchitectures:{shape:"S4v"}}},output:{type:"structure",members:{Content:{shape:"S4r"},LayerArn:{},LayerVersionArn:{},Description:{},CreatedDate:{},Version:{type:"long"},CompatibleRuntimes:{shape:"S4t"},LicenseInfo:{},CompatibleArchitectures:{shape:"S4v"}}}},PublishVersion:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/versions",responseCode:201},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},CodeSha256:{},Description:{},RevisionId:{}}},output:{shape:"S37"}},PutFunctionCodeSigningConfig:{http:{method:"PUT",requestUri:"/2020-06-30/functions/{FunctionName}/code-signing-config",responseCode:200},input:{type:"structure",required:["CodeSigningConfigArn","FunctionName"],members:{CodeSigningConfigArn:{},FunctionName:{location:"uri",locationName:"FunctionName"}}},output:{type:"structure",required:["CodeSigningConfigArn","FunctionName"],members:{CodeSigningConfigArn:{},FunctionName:{}}}},PutFunctionConcurrency:{http:{method:"PUT",requestUri:"/2017-10-31/functions/{FunctionName}/concurrency",responseCode:200},input:{type:"structure",required:["FunctionName","ReservedConcurrentExecutions"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},ReservedConcurrentExecutions:{type:"integer"}}},output:{shape:"S4e"}},PutFunctionEventInvokeConfig:{http:{method:"PUT",requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"},MaximumRetryAttempts:{type:"integer"},MaximumEventAgeInSeconds:{type:"integer"},DestinationConfig:{shape:"S1e"}}},output:{shape:"S4m"}},PutProvisionedConcurrencyConfig:{http:{method:"PUT",requestUri:"/2019-09-30/functions/{FunctionName}/provisioned-concurrency",responseCode:202},input:{type:"structure",required:["FunctionName","Qualifier","ProvisionedConcurrentExecutions"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"},ProvisionedConcurrentExecutions:{type:"integer"}}},output:{type:"structure",members:{RequestedProvisionedConcurrentExecutions:{type:"integer"},AvailableProvisionedConcurrentExecutions:{type:"integer"},AllocatedProvisionedConcurrentExecutions:{type:"integer"},Status:{},StatusReason:{},LastModified:{}}}},RemoveLayerVersionPermission:{http:{method:"DELETE",requestUri:"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}",responseCode:204},input:{type:"structure",required:["LayerName","VersionNumber","StatementId"],members:{LayerName:{location:"uri",locationName:"LayerName"},VersionNumber:{location:"uri",locationName:"VersionNumber",type:"long"},StatementId:{location:"uri",locationName:"StatementId"},RevisionId:{location:"querystring",locationName:"RevisionId"}}}},RemovePermission:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}/policy/{StatementId}",responseCode:204},input:{type:"structure",required:["FunctionName","StatementId"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},StatementId:{location:"uri",locationName:"StatementId"},Qualifier:{location:"querystring",locationName:"Qualifier"},RevisionId:{location:"querystring",locationName:"RevisionId"}}}},TagResource:{http:{requestUri:"/2017-03-31/tags/{ARN}",responseCode:204},input:{type:"structure",required:["Resource","Tags"],members:{Resource:{location:"uri",locationName:"ARN"},Tags:{shape:"S2t"}}}},UntagResource:{http:{method:"DELETE",requestUri:"/2017-03-31/tags/{ARN}",responseCode:204},input:{type:"structure",required:["Resource","TagKeys"],members:{Resource:{location:"uri",locationName:"ARN"},TagKeys:{location:"querystring",locationName:"tagKeys",type:"list",member:{}}}}},UpdateAlias:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:200},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"},FunctionVersion:{},Description:{},RoutingConfig:{shape:"Sn"},RevisionId:{}}},output:{shape:"Sr"}},UpdateCodeSigningConfig:{http:{method:"PUT",requestUri:"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}",responseCode:200},input:{type:"structure",required:["CodeSigningConfigArn"],members:{CodeSigningConfigArn:{location:"uri",locationName:"CodeSigningConfigArn"},Description:{},AllowedPublishers:{shape:"Su"},CodeSigningPolicies:{shape:"Sw"}}},output:{type:"structure",required:["CodeSigningConfig"],members:{CodeSigningConfig:{shape:"Sz"}}}},UpdateEventSourceMapping:{http:{method:"PUT",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:202},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"},FunctionName:{},Enabled:{type:"boolean"},BatchSize:{type:"integer"},FilterCriteria:{shape:"S16"},MaximumBatchingWindowInSeconds:{type:"integer"},DestinationConfig:{shape:"S1e"},MaximumRecordAgeInSeconds:{type:"integer"},BisectBatchOnFunctionError:{type:"boolean"},MaximumRetryAttempts:{type:"integer"},ParallelizationFactor:{type:"integer"},SourceAccessConfigurations:{shape:"S1q"},TumblingWindowInSeconds:{type:"integer"},FunctionResponseTypes:{shape:"S1z"}}},output:{shape:"S21"}},UpdateFunctionCode:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/code",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},ZipFile:{shape:"S27"},S3Bucket:{},S3Key:{},S3ObjectVersion:{},ImageUri:{},Publish:{type:"boolean"},DryRun:{type:"boolean"},RevisionId:{},Architectures:{shape:"S35"}}},output:{shape:"S37"}},UpdateFunctionConfiguration:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Role:{},Handler:{},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},VpcConfig:{shape:"S2e"},Environment:{shape:"S2m"},Runtime:{},DeadLetterConfig:{shape:"S2k"},KMSKeyArn:{},TracingConfig:{shape:"S2r"},RevisionId:{},Layers:{shape:"S2w"},FileSystemConfigs:{shape:"S2y"},ImageConfig:{shape:"S32"}}},output:{shape:"S37"}},UpdateFunctionEventInvokeConfig:{http:{requestUri:"/2019-09-25/functions/{FunctionName}/event-invoke-config",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"},MaximumRetryAttempts:{type:"integer"},MaximumEventAgeInSeconds:{type:"integer"},DestinationConfig:{shape:"S1e"}}},output:{shape:"S4m"}}},shapes:{Sn:{type:"structure",members:{AdditionalVersionWeights:{type:"map",key:{},value:{type:"double"}}}},Sr:{type:"structure",members:{AliasArn:{},Name:{},FunctionVersion:{},Description:{},RoutingConfig:{shape:"Sn"},RevisionId:{}}},Su:{type:"structure",required:["SigningProfileVersionArns"],members:{SigningProfileVersionArns:{type:"list",member:{}}}},Sw:{type:"structure",members:{UntrustedArtifactOnDeployment:{}}},Sz:{type:"structure",required:["CodeSigningConfigId","CodeSigningConfigArn","AllowedPublishers","CodeSigningPolicies","LastModified"],members:{CodeSigningConfigId:{},CodeSigningConfigArn:{},Description:{},AllowedPublishers:{shape:"Su"},CodeSigningPolicies:{shape:"Sw"},LastModified:{}}},S16:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{Pattern:{}}}}}},S1e:{type:"structure",members:{OnSuccess:{type:"structure",members:{Destination:{}}},OnFailure:{type:"structure",members:{Destination:{}}}}},S1m:{type:"list",member:{}},S1o:{type:"list",member:{}},S1q:{type:"list",member:{type:"structure",members:{Type:{},URI:{}}}},S1u:{type:"structure",members:{Endpoints:{type:"map",key:{},value:{type:"list",member:{}}}}},S1z:{type:"list",member:{}},S21:{type:"structure",members:{UUID:{},StartingPosition:{},StartingPositionTimestamp:{type:"timestamp"},BatchSize:{type:"integer"},MaximumBatchingWindowInSeconds:{type:"integer"},ParallelizationFactor:{type:"integer"},EventSourceArn:{},FilterCriteria:{shape:"S16"},FunctionArn:{},LastModified:{type:"timestamp"},LastProcessingResult:{},State:{},StateTransitionReason:{},DestinationConfig:{shape:"S1e"},Topics:{shape:"S1m"},Queues:{shape:"S1o"},SourceAccessConfigurations:{shape:"S1q"},SelfManagedEventSource:{shape:"S1u"},MaximumRecordAgeInSeconds:{type:"integer"},BisectBatchOnFunctionError:{type:"boolean"},MaximumRetryAttempts:{type:"integer"},TumblingWindowInSeconds:{type:"integer"},FunctionResponseTypes:{shape:"S1z"}}},S27:{type:"blob",sensitive:!0},S2e:{type:"structure",members:{SubnetIds:{shape:"S2f"},SecurityGroupIds:{shape:"S2h"}}},S2f:{type:"list",member:{}},S2h:{type:"list",member:{}},S2k:{type:"structure",members:{TargetArn:{}}},S2m:{type:"structure",members:{Variables:{shape:"S2n"}}},S2n:{type:"map",key:{type:"string",sensitive:!0},value:{type:"string",sensitive:!0},sensitive:!0},S2r:{type:"structure",members:{Mode:{}}},S2t:{type:"map",key:{},value:{}},S2w:{type:"list",member:{}},S2y:{type:"list",member:{type:"structure", +required:["Arn","LocalMountPath"],members:{Arn:{},LocalMountPath:{}}}},S32:{type:"structure",members:{EntryPoint:{shape:"S33"},Command:{shape:"S33"},WorkingDirectory:{}}},S33:{type:"list",member:{}},S35:{type:"list",member:{}},S37:{type:"structure",members:{FunctionName:{},FunctionArn:{},Runtime:{},Role:{},Handler:{},CodeSize:{type:"long"},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},LastModified:{},CodeSha256:{},Version:{},VpcConfig:{type:"structure",members:{SubnetIds:{shape:"S2f"},SecurityGroupIds:{shape:"S2h"},VpcId:{}}},DeadLetterConfig:{shape:"S2k"},Environment:{type:"structure",members:{Variables:{shape:"S2n"},Error:{type:"structure",members:{ErrorCode:{},Message:{shape:"S3f"}}}}},KMSKeyArn:{},TracingConfig:{type:"structure",members:{Mode:{}}},MasterArn:{},RevisionId:{},Layers:{type:"list",member:{type:"structure",members:{Arn:{},CodeSize:{type:"long"},SigningProfileVersionArn:{},SigningJobArn:{}}}},State:{},StateReason:{},StateReasonCode:{},LastUpdateStatus:{},LastUpdateStatusReason:{},LastUpdateStatusReasonCode:{},FileSystemConfigs:{shape:"S2y"},PackageType:{},ImageConfigResponse:{type:"structure",members:{ImageConfig:{shape:"S32"},Error:{type:"structure",members:{ErrorCode:{},Message:{shape:"S3f"}}}}},SigningProfileVersionArn:{},SigningJobArn:{},Architectures:{shape:"S35"}}},S3f:{type:"string",sensitive:!0},S4e:{type:"structure",members:{ReservedConcurrentExecutions:{type:"integer"}}},S4m:{type:"structure",members:{LastModified:{type:"timestamp"},FunctionArn:{},MaximumRetryAttempts:{type:"integer"},MaximumEventAgeInSeconds:{type:"integer"},DestinationConfig:{shape:"S1e"}}},S4q:{type:"structure",members:{Content:{shape:"S4r"},LayerArn:{},LayerVersionArn:{},Description:{},CreatedDate:{},Version:{type:"long"},CompatibleRuntimes:{shape:"S4t"},LicenseInfo:{},CompatibleArchitectures:{shape:"S4v"}}},S4r:{type:"structure",members:{Location:{},CodeSha256:{},CodeSize:{type:"long"},SigningProfileVersionArn:{},SigningJobArn:{}}},S4t:{type:"list",member:{}},S4v:{type:"list",member:{}},S5w:{type:"list",member:{shape:"S37"}},S64:{type:"structure",members:{LayerVersionArn:{},Version:{type:"long"},Description:{},CreatedDate:{},CompatibleRuntimes:{shape:"S4t"},LicenseInfo:{},CompatibleArchitectures:{shape:"S4v"}}}}}},{}],148:[function(e,t,r){t.exports={pagination:{ListAliases:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"Aliases"},ListCodeSigningConfigs:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"CodeSigningConfigs"},ListEventSourceMappings:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"EventSourceMappings"},ListFunctionEventInvokeConfigs:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"FunctionEventInvokeConfigs"},ListFunctions:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"Functions"},ListFunctionsByCodeSigningConfig:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"FunctionArns"},ListLayerVersions:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"LayerVersions"},ListLayers:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"Layers"},ListProvisionedConcurrencyConfigs:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"ProvisionedConcurrencyConfigs"},ListVersionsByFunction:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextMarker",result_key:"Versions"}}}},{}],149:[function(e,t,r){t.exports={version:2,waiters:{FunctionExists:{delay:1,operation:"GetFunction",maxAttempts:20,acceptors:[{state:"success",matcher:"status",expected:200},{state:"retry",matcher:"error",expected:"ResourceNotFoundException"}]},FunctionActive:{delay:5,maxAttempts:60,operation:"GetFunctionConfiguration",description:"Waits for the function's State to be Active.",acceptors:[{state:"success",matcher:"path",argument:"State",expected:"Active"},{state:"failure",matcher:"path",argument:"State",expected:"Failed"},{state:"retry",matcher:"path",argument:"State",expected:"Pending"}]},FunctionUpdated:{delay:5,maxAttempts:60,operation:"GetFunctionConfiguration",description:"Waits for the function's LastUpdateStatus to be Successful.",acceptors:[{state:"success",matcher:"path",argument:"LastUpdateStatus",expected:"Successful"},{state:"failure",matcher:"path",argument:"LastUpdateStatus",expected:"Failed"},{state:"retry",matcher:"path",argument:"LastUpdateStatus",expected:"InProgress"}]}}}},{}],150:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-04-19",endpointPrefix:"models.lex",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Lex Model Building Service",serviceId:"Lex Model Building Service",signatureVersion:"v4",signingName:"lex",uid:"lex-models-2017-04-19"},operations:{CreateBotVersion:{http:{requestUri:"/bots/{name}/versions",responseCode:201},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},checksum:{}}},output:{type:"structure",members:{name:{},description:{},intents:{shape:"S6"},clarificationPrompt:{shape:"Sa"},abortStatement:{shape:"Si"},status:{},failureReason:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},idleSessionTTLInSeconds:{type:"integer"},voiceId:{},checksum:{},version:{},locale:{},childDirected:{type:"boolean"},enableModelImprovements:{type:"boolean"},detectSentiment:{type:"boolean"}}}},CreateIntentVersion:{http:{requestUri:"/intents/{name}/versions",responseCode:201},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},checksum:{}}},output:{type:"structure",members:{name:{},description:{},slots:{shape:"Sq"},sampleUtterances:{shape:"S13"},confirmationPrompt:{shape:"Sa"},rejectionStatement:{shape:"Si"},followUpPrompt:{shape:"S14"},conclusionStatement:{shape:"Si"},dialogCodeHook:{shape:"S15"},fulfillmentActivity:{shape:"S18"},parentIntentSignature:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},kendraConfiguration:{shape:"S1b"},inputContexts:{shape:"S1f"},outputContexts:{shape:"S1i"}}}},CreateSlotTypeVersion:{http:{requestUri:"/slottypes/{name}/versions",responseCode:201},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},checksum:{}}},output:{type:"structure",members:{name:{},description:{},enumerationValues:{shape:"S1q"},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},valueSelectionStrategy:{},parentSlotTypeSignature:{},slotTypeConfigurations:{shape:"S1v"}}}},DeleteBot:{http:{method:"DELETE",requestUri:"/bots/{name}",responseCode:204},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}}},DeleteBotAlias:{http:{method:"DELETE",requestUri:"/bots/{botName}/aliases/{name}",responseCode:204},input:{type:"structure",required:["name","botName"],members:{name:{location:"uri",locationName:"name"},botName:{location:"uri",locationName:"botName"}}}},DeleteBotChannelAssociation:{http:{method:"DELETE",requestUri:"/bots/{botName}/aliases/{aliasName}/channels/{name}",responseCode:204},input:{type:"structure",required:["name","botName","botAlias"],members:{name:{location:"uri",locationName:"name"},botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"aliasName"}}}},DeleteBotVersion:{http:{method:"DELETE",requestUri:"/bots/{name}/versions/{version}",responseCode:204},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}}},DeleteIntent:{http:{method:"DELETE",requestUri:"/intents/{name}",responseCode:204},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}}},DeleteIntentVersion:{http:{method:"DELETE",requestUri:"/intents/{name}/versions/{version}",responseCode:204},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}}},DeleteSlotType:{http:{method:"DELETE",requestUri:"/slottypes/{name}",responseCode:204},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"}}}},DeleteSlotTypeVersion:{http:{method:"DELETE",requestUri:"/slottypes/{name}/version/{version}",responseCode:204},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}}},DeleteUtterances:{http:{method:"DELETE",requestUri:"/bots/{botName}/utterances/{userId}",responseCode:204},input:{type:"structure",required:["botName","userId"],members:{botName:{location:"uri",locationName:"botName"},userId:{location:"uri",locationName:"userId"}}}},GetBot:{http:{method:"GET",requestUri:"/bots/{name}/versions/{versionoralias}",responseCode:200},input:{type:"structure",required:["name","versionOrAlias"],members:{name:{location:"uri",locationName:"name"},versionOrAlias:{location:"uri",locationName:"versionoralias"}}},output:{type:"structure",members:{name:{},description:{},intents:{shape:"S6"},enableModelImprovements:{type:"boolean"},nluIntentConfidenceThreshold:{type:"double"},clarificationPrompt:{shape:"Sa"},abortStatement:{shape:"Si"},status:{},failureReason:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},idleSessionTTLInSeconds:{type:"integer"},voiceId:{},checksum:{},version:{},locale:{},childDirected:{type:"boolean"},detectSentiment:{type:"boolean"}}}},GetBotAlias:{http:{method:"GET",requestUri:"/bots/{botName}/aliases/{name}",responseCode:200},input:{type:"structure",required:["name","botName"],members:{name:{location:"uri",locationName:"name"},botName:{location:"uri",locationName:"botName"}}},output:{type:"structure",members:{name:{},description:{},botVersion:{},botName:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},checksum:{},conversationLogs:{shape:"S2h"}}}},GetBotAliases:{http:{method:"GET",requestUri:"/bots/{botName}/aliases/",responseCode:200},input:{type:"structure",required:["botName"],members:{botName:{location:"uri",locationName:"botName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{BotAliases:{type:"list",member:{type:"structure",members:{name:{},description:{},botVersion:{},botName:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},checksum:{},conversationLogs:{shape:"S2h"}}}},nextToken:{}}}},GetBotChannelAssociation:{http:{method:"GET",requestUri:"/bots/{botName}/aliases/{aliasName}/channels/{name}",responseCode:200},input:{type:"structure",required:["name","botName","botAlias"],members:{name:{location:"uri",locationName:"name"},botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"aliasName"}}},output:{type:"structure",members:{name:{},description:{},botAlias:{},botName:{},createdDate:{type:"timestamp"},type:{},botConfiguration:{shape:"S2z"},status:{},failureReason:{}}}},GetBotChannelAssociations:{http:{method:"GET",requestUri:"/bots/{botName}/aliases/{aliasName}/channels/",responseCode:200},input:{type:"structure",required:["botName","botAlias"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"aliasName"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{botChannelAssociations:{type:"list",member:{type:"structure",members:{name:{},description:{},botAlias:{},botName:{},createdDate:{type:"timestamp"},type:{},botConfiguration:{shape:"S2z"},status:{},failureReason:{}}}},nextToken:{}}}},GetBotVersions:{http:{method:"GET",requestUri:"/bots/{name}/versions/",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{bots:{shape:"S38"},nextToken:{}}}},GetBots:{http:{method:"GET",requestUri:"/bots/",responseCode:200},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{bots:{shape:"S38"},nextToken:{}}}},GetBuiltinIntent:{http:{method:"GET",requestUri:"/builtins/intents/{signature}",responseCode:200},input:{type:"structure",required:["signature"],members:{signature:{location:"uri",locationName:"signature"}}},output:{type:"structure",members:{signature:{},supportedLocales:{shape:"S3e"},slots:{type:"list",member:{type:"structure",members:{name:{}}}}}}},GetBuiltinIntents:{http:{method:"GET",requestUri:"/builtins/intents/",responseCode:200},input:{type:"structure",members:{locale:{location:"querystring",locationName:"locale"},signatureContains:{location:"querystring",locationName:"signatureContains"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{intents:{type:"list",member:{type:"structure",members:{signature:{},supportedLocales:{shape:"S3e"}}}},nextToken:{}}}},GetBuiltinSlotTypes:{http:{method:"GET",requestUri:"/builtins/slottypes/",responseCode:200},input:{type:"structure",members:{locale:{location:"querystring",locationName:"locale"},signatureContains:{location:"querystring",locationName:"signatureContains"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{slotTypes:{type:"list",member:{type:"structure",members:{signature:{},supportedLocales:{shape:"S3e"}}}},nextToken:{}}}},GetExport:{http:{method:"GET",requestUri:"/exports/",responseCode:200},input:{type:"structure",required:["name","version","resourceType","exportType"],members:{name:{location:"querystring",locationName:"name"},version:{location:"querystring",locationName:"version"},resourceType:{location:"querystring",locationName:"resourceType"},exportType:{location:"querystring",locationName:"exportType"}}},output:{type:"structure",members:{name:{},version:{},resourceType:{},exportType:{},exportStatus:{},failureReason:{},url:{}}}},GetImport:{http:{method:"GET",requestUri:"/imports/{importId}",responseCode:200},input:{type:"structure",required:["importId"],members:{importId:{location:"uri",locationName:"importId"}}},output:{type:"structure",members:{name:{},resourceType:{},mergeStrategy:{},importId:{},importStatus:{},failureReason:{type:"list",member:{}},createdDate:{type:"timestamp"}}}},GetIntent:{http:{method:"GET",requestUri:"/intents/{name}/versions/{version}",responseCode:200},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}},output:{type:"structure",members:{name:{},description:{},slots:{shape:"Sq"},sampleUtterances:{shape:"S13"},confirmationPrompt:{shape:"Sa"},rejectionStatement:{shape:"Si"},followUpPrompt:{shape:"S14"},conclusionStatement:{shape:"Si"},dialogCodeHook:{shape:"S15"},fulfillmentActivity:{shape:"S18"},parentIntentSignature:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},kendraConfiguration:{shape:"S1b"},inputContexts:{shape:"S1f"},outputContexts:{shape:"S1i"}}}},GetIntentVersions:{http:{method:"GET",requestUri:"/intents/{name}/versions/",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{intents:{shape:"S45"},nextToken:{}}}},GetIntents:{http:{method:"GET",requestUri:"/intents/",responseCode:200},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{intents:{shape:"S45"},nextToken:{}}}},GetMigration:{http:{method:"GET",requestUri:"/migrations/{migrationId}",responseCode:200},input:{type:"structure",required:["migrationId"],members:{migrationId:{location:"uri",locationName:"migrationId"}}},output:{type:"structure",members:{migrationId:{},v1BotName:{},v1BotVersion:{},v1BotLocale:{},v2BotId:{},v2BotRole:{},migrationStatus:{},migrationStrategy:{},migrationTimestamp:{type:"timestamp"},alerts:{type:"list",member:{type:"structure",members:{type:{},message:{},details:{type:"list",member:{}},referenceURLs:{type:"list",member:{}}}}}}}},GetMigrations:{http:{method:"GET",requestUri:"/migrations",responseCode:200},input:{type:"structure",members:{sortByAttribute:{location:"querystring",locationName:"sortByAttribute"},sortByOrder:{location:"querystring",locationName:"sortByOrder"},v1BotNameContains:{location:"querystring",locationName:"v1BotNameContains"},migrationStatusEquals:{location:"querystring",locationName:"migrationStatusEquals"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{migrationSummaries:{type:"list",member:{type:"structure",members:{migrationId:{},v1BotName:{},v1BotVersion:{},v1BotLocale:{},v2BotId:{},v2BotRole:{},migrationStatus:{},migrationStrategy:{},migrationTimestamp:{type:"timestamp"}}}},nextToken:{}}}},GetSlotType:{http:{method:"GET",requestUri:"/slottypes/{name}/versions/{version}",responseCode:200},input:{type:"structure",required:["name","version"],members:{name:{location:"uri",locationName:"name"},version:{location:"uri",locationName:"version"}}},output:{type:"structure",members:{name:{},description:{},enumerationValues:{shape:"S1q"},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},valueSelectionStrategy:{},parentSlotTypeSignature:{},slotTypeConfigurations:{shape:"S1v"}}}},GetSlotTypeVersions:{http:{method:"GET",requestUri:"/slottypes/{name}/versions/",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{slotTypes:{shape:"S4x"},nextToken:{}}}},GetSlotTypes:{http:{method:"GET",requestUri:"/slottypes/",responseCode:200},input:{type:"structure",members:{nextToken:{location:"querystring",locationName:"nextToken"},maxResults:{location:"querystring",locationName:"maxResults",type:"integer"},nameContains:{location:"querystring",locationName:"nameContains"}}},output:{type:"structure",members:{slotTypes:{shape:"S4x"},nextToken:{}}}},GetUtterancesView:{http:{method:"GET",requestUri:"/bots/{botname}/utterances?view=aggregation",responseCode:200},input:{type:"structure",required:["botName","botVersions","statusType"],members:{botName:{location:"uri",locationName:"botname"},botVersions:{location:"querystring",locationName:"bot_versions",type:"list",member:{}},statusType:{location:"querystring",locationName:"status_type"}}},output:{type:"structure",members:{botName:{},utterances:{type:"list",member:{type:"structure",members:{botVersion:{},utterances:{type:"list",member:{type:"structure",members:{utteranceString:{},count:{type:"integer"},distinctUsers:{type:"integer"},firstUtteredDate:{type:"timestamp"},lastUtteredDate:{type:"timestamp"}}}}}}}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/tags/{resourceArn}",responseCode:200},input:{type:"structure",required:["resourceArn"],members:{resourceArn:{location:"uri",locationName:"resourceArn"}}},output:{type:"structure",members:{tags:{shape:"S5e"}}}},PutBot:{http:{method:"PUT",requestUri:"/bots/{name}/versions/$LATEST",responseCode:200},input:{type:"structure",required:["name","locale","childDirected"],members:{name:{location:"uri",locationName:"name"},description:{},intents:{shape:"S6"},enableModelImprovements:{type:"boolean"},nluIntentConfidenceThreshold:{type:"double"},clarificationPrompt:{shape:"Sa"},abortStatement:{shape:"Si"},idleSessionTTLInSeconds:{type:"integer"},voiceId:{},checksum:{},processBehavior:{},locale:{},childDirected:{type:"boolean"},detectSentiment:{type:"boolean"},createVersion:{type:"boolean"},tags:{shape:"S5e"}}},output:{type:"structure",members:{name:{},description:{},intents:{shape:"S6"},enableModelImprovements:{type:"boolean"},nluIntentConfidenceThreshold:{type:"double"},clarificationPrompt:{shape:"Sa"},abortStatement:{shape:"Si"},status:{},failureReason:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},idleSessionTTLInSeconds:{type:"integer"},voiceId:{},checksum:{},version:{},locale:{},childDirected:{type:"boolean"},createVersion:{type:"boolean"},detectSentiment:{type:"boolean"},tags:{shape:"S5e"}}}},PutBotAlias:{http:{method:"PUT",requestUri:"/bots/{botName}/aliases/{name}",responseCode:200},input:{type:"structure",required:["name","botVersion","botName"],members:{name:{location:"uri",locationName:"name"},description:{},botVersion:{},botName:{location:"uri",locationName:"botName"},checksum:{},conversationLogs:{type:"structure",required:["logSettings","iamRoleArn"],members:{logSettings:{type:"list",member:{type:"structure",required:["logType","destination","resourceArn"],members:{logType:{},destination:{},kmsKeyArn:{},resourceArn:{}}}},iamRoleArn:{}}},tags:{shape:"S5e"}}},output:{type:"structure",members:{name:{},description:{},botVersion:{},botName:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},checksum:{},conversationLogs:{shape:"S2h"},tags:{shape:"S5e"}}}},PutIntent:{http:{method:"PUT",requestUri:"/intents/{name}/versions/$LATEST",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},description:{},slots:{shape:"Sq"},sampleUtterances:{shape:"S13"},confirmationPrompt:{shape:"Sa"},rejectionStatement:{shape:"Si"},followUpPrompt:{shape:"S14"},conclusionStatement:{shape:"Si"},dialogCodeHook:{shape:"S15"},fulfillmentActivity:{shape:"S18"},parentIntentSignature:{},checksum:{},createVersion:{type:"boolean"},kendraConfiguration:{shape:"S1b"},inputContexts:{shape:"S1f"},outputContexts:{shape:"S1i"}}},output:{type:"structure",members:{name:{},description:{},slots:{shape:"Sq"},sampleUtterances:{shape:"S13"},confirmationPrompt:{shape:"Sa"},rejectionStatement:{shape:"Si"},followUpPrompt:{shape:"S14"},conclusionStatement:{shape:"Si"},dialogCodeHook:{shape:"S15"},fulfillmentActivity:{shape:"S18"},parentIntentSignature:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},createVersion:{type:"boolean"},kendraConfiguration:{shape:"S1b"},inputContexts:{shape:"S1f"},outputContexts:{shape:"S1i"}}}},PutSlotType:{http:{method:"PUT",requestUri:"/slottypes/{name}/versions/$LATEST",responseCode:200},input:{type:"structure",required:["name"],members:{name:{location:"uri",locationName:"name"},description:{},enumerationValues:{shape:"S1q"},checksum:{},valueSelectionStrategy:{},createVersion:{type:"boolean"},parentSlotTypeSignature:{},slotTypeConfigurations:{shape:"S1v"}}},output:{type:"structure",members:{name:{},description:{},enumerationValues:{shape:"S1q"},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{},checksum:{},valueSelectionStrategy:{},createVersion:{type:"boolean"},parentSlotTypeSignature:{},slotTypeConfigurations:{shape:"S1v"}}}},StartImport:{http:{requestUri:"/imports/",responseCode:201},input:{type:"structure",required:["payload","resourceType","mergeStrategy"],members:{payload:{type:"blob"},resourceType:{},mergeStrategy:{},tags:{shape:"S5e"}}},output:{type:"structure",members:{name:{},resourceType:{},mergeStrategy:{},importId:{},importStatus:{},tags:{shape:"S5e"},createdDate:{type:"timestamp"}}}},StartMigration:{http:{requestUri:"/migrations",responseCode:202},input:{type:"structure",required:["v1BotName","v1BotVersion","v2BotName","v2BotRole","migrationStrategy"],members:{v1BotName:{},v1BotVersion:{},v2BotName:{},v2BotRole:{},migrationStrategy:{}}},output:{type:"structure",members:{v1BotName:{},v1BotVersion:{},v1BotLocale:{},v2BotId:{},v2BotRole:{},migrationId:{},migrationStrategy:{},migrationTimestamp:{type:"timestamp"}}}},TagResource:{http:{requestUri:"/tags/{resourceArn}",responseCode:204},input:{type:"structure",required:["resourceArn","tags"],members:{resourceArn:{location:"uri",locationName:"resourceArn"},tags:{shape:"S5e"}}},output:{type:"structure",members:{}}},UntagResource:{http:{method:"DELETE",requestUri:"/tags/{resourceArn}",responseCode:204},input:{type:"structure",required:["resourceArn","tagKeys"],members:{resourceArn:{location:"uri",locationName:"resourceArn"},tagKeys:{location:"querystring",locationName:"tagKeys",type:"list",member:{}}}},output:{type:"structure",members:{}}}},shapes:{S6:{type:"list",member:{type:"structure",required:["intentName","intentVersion"],members:{intentName:{},intentVersion:{}}}},Sa:{type:"structure",required:["messages","maxAttempts"],members:{messages:{shape:"Sb"},maxAttempts:{type:"integer"},responseCard:{}}},Sb:{type:"list",member:{type:"structure",required:["contentType","content"],members:{contentType:{},content:{},groupNumber:{type:"integer"}}}},Si:{type:"structure",required:["messages"],members:{messages:{shape:"Sb"},responseCard:{}}},Sq:{type:"list",member:{type:"structure",required:["name","slotConstraint"],members:{name:{},description:{},slotConstraint:{},slotType:{},slotTypeVersion:{},valueElicitationPrompt:{shape:"Sa"},priority:{type:"integer"},sampleUtterances:{type:"list",member:{}},responseCard:{},obfuscationSetting:{},defaultValueSpec:{type:"structure",required:["defaultValueList"],members:{defaultValueList:{type:"list",member:{type:"structure",required:["defaultValue"],members:{defaultValue:{}}}}}}}}},S13:{type:"list",member:{}},S14:{type:"structure",required:["prompt","rejectionStatement"],members:{prompt:{shape:"Sa"},rejectionStatement:{shape:"Si"}}},S15:{type:"structure",required:["uri","messageVersion"],members:{uri:{},messageVersion:{}}},S18:{type:"structure",required:["type"],members:{type:{},codeHook:{shape:"S15"}}},S1b:{type:"structure",required:["kendraIndex","role"],members:{kendraIndex:{},queryFilterString:{},role:{}}},S1f:{type:"list",member:{type:"structure",required:["name"],members:{name:{}}}},S1i:{type:"list",member:{type:"structure",required:["name","timeToLiveInSeconds","turnsToLive"],members:{name:{},timeToLiveInSeconds:{type:"integer"},turnsToLive:{type:"integer"}}}},S1q:{type:"list",member:{type:"structure",required:["value"],members:{value:{},synonyms:{type:"list",member:{}}}}},S1v:{type:"list",member:{type:"structure",members:{regexConfiguration:{type:"structure",required:["pattern"],members:{pattern:{}}}}}},S2h:{type:"structure",members:{logSettings:{type:"list",member:{type:"structure",members:{logType:{},destination:{},kmsKeyArn:{},resourceArn:{},resourcePrefix:{}}}},iamRoleArn:{}}},S2z:{type:"map",key:{},value:{},sensitive:!0},S38:{type:"list",member:{type:"structure",members:{name:{},description:{},status:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{}}}},S3e:{type:"list",member:{}},S45:{type:"list",member:{type:"structure",members:{name:{},description:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{}}}},S4x:{type:"list",member:{type:"structure",members:{name:{},description:{},lastUpdatedDate:{type:"timestamp"},createdDate:{type:"timestamp"},version:{}}}},S5e:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}}}}},{}],151:[function(e,t,r){t.exports={pagination:{GetBotAliases:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBotChannelAssociations:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBotVersions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBots:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBuiltinIntents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetBuiltinSlotTypes:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetIntentVersions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetIntents:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetMigrations:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetSlotTypeVersions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"},GetSlotTypes:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults"}}}},{}],152:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2020-11-19",endpointPrefix:"geo",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Location Service",serviceId:"Location",signatureVersion:"v4",signingName:"geo",uid:"location-2020-11-19"},operations:{AssociateTrackerConsumer:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/consumers",responseCode:200},input:{type:"structure",required:["ConsumerArn","TrackerName"],members:{ConsumerArn:{},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"tracking."}},BatchDeleteDevicePositionHistory:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/delete-positions",responseCode:200},input:{type:"structure",required:["DeviceIds","TrackerName"],members:{DeviceIds:{type:"list",member:{}},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["Errors"],members:{Errors:{type:"list",member:{type:"structure",required:["DeviceId","Error"],members:{DeviceId:{},Error:{shape:"Sb"}}}}}},endpoint:{hostPrefix:"tracking."}},BatchDeleteGeofence:{http:{requestUri:"/geofencing/v0/collections/{CollectionName}/delete-geofences",responseCode:200},input:{type:"structure",required:["CollectionName","GeofenceIds"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},GeofenceIds:{type:"list",member:{}}}},output:{type:"structure",required:["Errors"],members:{Errors:{type:"list",member:{type:"structure",required:["Error","GeofenceId"],members:{Error:{shape:"Sb"},GeofenceId:{}}}}}},endpoint:{hostPrefix:"geofencing."}},BatchEvaluateGeofences:{http:{requestUri:"/geofencing/v0/collections/{CollectionName}/positions",responseCode:200},input:{type:"structure",required:["CollectionName","DevicePositionUpdates"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},DevicePositionUpdates:{type:"list",member:{shape:"Sl"}}}},output:{type:"structure",required:["Errors"],members:{Errors:{type:"list",member:{type:"structure",required:["DeviceId","Error","SampleTime"],members:{DeviceId:{},Error:{shape:"Sb"},SampleTime:{shape:"St"}}}}}},endpoint:{hostPrefix:"geofencing."}},BatchGetDevicePosition:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/get-positions",responseCode:200},input:{type:"structure",required:["DeviceIds","TrackerName"],members:{DeviceIds:{type:"list",member:{}},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["DevicePositions","Errors"],members:{DevicePositions:{shape:"S11"},Errors:{type:"list",member:{type:"structure",required:["DeviceId","Error"],members:{DeviceId:{},Error:{shape:"Sb"}}}}}},endpoint:{hostPrefix:"tracking."}},BatchPutGeofence:{http:{requestUri:"/geofencing/v0/collections/{CollectionName}/put-geofences", +responseCode:200},input:{type:"structure",required:["CollectionName","Entries"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},Entries:{type:"list",member:{type:"structure",required:["GeofenceId","Geometry"],members:{GeofenceId:{},Geometry:{shape:"S18"}}}}}},output:{type:"structure",required:["Errors","Successes"],members:{Errors:{type:"list",member:{type:"structure",required:["Error","GeofenceId"],members:{Error:{shape:"Sb"},GeofenceId:{}}}},Successes:{type:"list",member:{type:"structure",required:["CreateTime","GeofenceId","UpdateTime"],members:{CreateTime:{shape:"St"},GeofenceId:{},UpdateTime:{shape:"St"}}}}}},endpoint:{hostPrefix:"geofencing."}},BatchUpdateDevicePosition:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/positions",responseCode:200},input:{type:"structure",required:["TrackerName","Updates"],members:{TrackerName:{location:"uri",locationName:"TrackerName"},Updates:{type:"list",member:{shape:"Sl"}}}},output:{type:"structure",required:["Errors"],members:{Errors:{type:"list",member:{type:"structure",required:["DeviceId","Error","SampleTime"],members:{DeviceId:{},Error:{shape:"Sb"},SampleTime:{shape:"St"}}}}}},endpoint:{hostPrefix:"tracking."}},CalculateRoute:{http:{requestUri:"/routes/v0/calculators/{CalculatorName}/calculate/route",responseCode:200},input:{type:"structure",required:["CalculatorName","DeparturePosition","DestinationPosition"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"},CarModeOptions:{shape:"S1m"},DepartNow:{type:"boolean"},DeparturePosition:{shape:"So"},DepartureTime:{shape:"St"},DestinationPosition:{shape:"So"},DistanceUnit:{},IncludeLegGeometry:{type:"boolean"},TravelMode:{},TruckModeOptions:{shape:"S1q"},WaypointPositions:{type:"list",member:{shape:"So"}}}},output:{type:"structure",required:["Legs","Summary"],members:{Legs:{type:"list",member:{type:"structure",required:["Distance","DurationSeconds","EndPosition","StartPosition","Steps"],members:{Distance:{type:"double"},DurationSeconds:{type:"double"},EndPosition:{shape:"So"},Geometry:{type:"structure",members:{LineString:{type:"list",member:{shape:"So"}}}},StartPosition:{shape:"So"},Steps:{type:"list",member:{type:"structure",required:["Distance","DurationSeconds","EndPosition","StartPosition"],members:{Distance:{type:"double"},DurationSeconds:{type:"double"},EndPosition:{shape:"So"},GeometryOffset:{type:"integer"},StartPosition:{shape:"So"}}}}}}},Summary:{type:"structure",required:["DataSource","Distance","DistanceUnit","DurationSeconds","RouteBBox"],members:{DataSource:{},Distance:{type:"double"},DistanceUnit:{},DurationSeconds:{type:"double"},RouteBBox:{shape:"S2f"}}}}},endpoint:{hostPrefix:"routes."}},CalculateRouteMatrix:{http:{requestUri:"/routes/v0/calculators/{CalculatorName}/calculate/route-matrix",responseCode:200},input:{type:"structure",required:["CalculatorName","DeparturePositions","DestinationPositions"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"},CarModeOptions:{shape:"S1m"},DepartNow:{type:"boolean"},DeparturePositions:{type:"list",member:{shape:"So"}},DepartureTime:{shape:"St"},DestinationPositions:{type:"list",member:{shape:"So"}},DistanceUnit:{},TravelMode:{},TruckModeOptions:{shape:"S1q"}}},output:{type:"structure",required:["RouteMatrix","Summary"],members:{RouteMatrix:{type:"list",member:{type:"list",member:{type:"structure",members:{Distance:{type:"double"},DurationSeconds:{type:"double"},Error:{type:"structure",required:["Code"],members:{Code:{},Message:{}}}}}}},SnappedDeparturePositions:{type:"list",member:{shape:"So"}},SnappedDestinationPositions:{type:"list",member:{shape:"So"}},Summary:{type:"structure",required:["DataSource","DistanceUnit","ErrorCount","RouteCount"],members:{DataSource:{},DistanceUnit:{},ErrorCount:{type:"integer"},RouteCount:{type:"integer"}}}}},endpoint:{hostPrefix:"routes."}},CreateGeofenceCollection:{http:{requestUri:"/geofencing/v0/collections",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{},Description:{},KmsKeyId:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."},PricingPlanDataSource:{deprecated:!0,deprecatedMessage:"Deprecated. No longer allowed."},Tags:{shape:"S30"}}},output:{type:"structure",required:["CollectionArn","CollectionName","CreateTime"],members:{CollectionArn:{},CollectionName:{},CreateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."},idempotent:!0},CreateMap:{http:{requestUri:"/maps/v0/maps",responseCode:200},input:{type:"structure",required:["Configuration","MapName"],members:{Configuration:{shape:"S35"},Description:{},MapName:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."},Tags:{shape:"S30"}}},output:{type:"structure",required:["CreateTime","MapArn","MapName"],members:{CreateTime:{shape:"St"},MapArn:{},MapName:{}}},endpoint:{hostPrefix:"maps."},idempotent:!0},CreatePlaceIndex:{http:{requestUri:"/places/v0/indexes",responseCode:200},input:{type:"structure",required:["DataSource","IndexName"],members:{DataSource:{},DataSourceConfiguration:{shape:"S39"},Description:{},IndexName:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."},Tags:{shape:"S30"}}},output:{type:"structure",required:["CreateTime","IndexArn","IndexName"],members:{CreateTime:{shape:"St"},IndexArn:{},IndexName:{}}},endpoint:{hostPrefix:"places."},idempotent:!0},CreateRouteCalculator:{http:{requestUri:"/routes/v0/calculators",responseCode:200},input:{type:"structure",required:["CalculatorName","DataSource"],members:{CalculatorName:{},DataSource:{},Description:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."},Tags:{shape:"S30"}}},output:{type:"structure",required:["CalculatorArn","CalculatorName","CreateTime"],members:{CalculatorArn:{},CalculatorName:{},CreateTime:{shape:"St"}}},endpoint:{hostPrefix:"routes."},idempotent:!0},CreateTracker:{http:{requestUri:"/tracking/v0/trackers",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{Description:{},KmsKeyId:{},PositionFiltering:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."},PricingPlanDataSource:{deprecated:!0,deprecatedMessage:"Deprecated. No longer allowed."},Tags:{shape:"S30"},TrackerName:{}}},output:{type:"structure",required:["CreateTime","TrackerArn","TrackerName"],members:{CreateTime:{shape:"St"},TrackerArn:{},TrackerName:{}}},endpoint:{hostPrefix:"tracking."},idempotent:!0},DeleteGeofenceCollection:{http:{method:"DELETE",requestUri:"/geofencing/v0/collections/{CollectionName}",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{location:"uri",locationName:"CollectionName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"geofencing."},idempotent:!0},DeleteMap:{http:{method:"DELETE",requestUri:"/maps/v0/maps/{MapName}",responseCode:200},input:{type:"structure",required:["MapName"],members:{MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"maps."},idempotent:!0},DeletePlaceIndex:{http:{method:"DELETE",requestUri:"/places/v0/indexes/{IndexName}",responseCode:200},input:{type:"structure",required:["IndexName"],members:{IndexName:{location:"uri",locationName:"IndexName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"places."},idempotent:!0},DeleteRouteCalculator:{http:{method:"DELETE",requestUri:"/routes/v0/calculators/{CalculatorName}",responseCode:200},input:{type:"structure",required:["CalculatorName"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"routes."},idempotent:!0},DeleteTracker:{http:{method:"DELETE",requestUri:"/tracking/v0/trackers/{TrackerName}",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"tracking."},idempotent:!0},DescribeGeofenceCollection:{http:{method:"GET",requestUri:"/geofencing/v0/collections/{CollectionName}",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{location:"uri",locationName:"CollectionName"}}},output:{type:"structure",required:["CollectionArn","CollectionName","CreateTime","Description","UpdateTime"],members:{CollectionArn:{},CollectionName:{},CreateTime:{shape:"St"},Description:{},KmsKeyId:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},PricingPlanDataSource:{deprecated:!0,deprecatedMessage:"Deprecated. Unused."},Tags:{shape:"S30"},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."}},DescribeMap:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}",responseCode:200},input:{type:"structure",required:["MapName"],members:{MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",required:["Configuration","CreateTime","DataSource","Description","MapArn","MapName","UpdateTime"],members:{Configuration:{shape:"S35"},CreateTime:{shape:"St"},DataSource:{},Description:{},MapArn:{},MapName:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},Tags:{shape:"S30"},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"maps."}},DescribePlaceIndex:{http:{method:"GET",requestUri:"/places/v0/indexes/{IndexName}",responseCode:200},input:{type:"structure",required:["IndexName"],members:{IndexName:{location:"uri",locationName:"IndexName"}}},output:{type:"structure",required:["CreateTime","DataSource","DataSourceConfiguration","Description","IndexArn","IndexName","UpdateTime"],members:{CreateTime:{shape:"St"},DataSource:{},DataSourceConfiguration:{shape:"S39"},Description:{},IndexArn:{},IndexName:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},Tags:{shape:"S30"},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"places."}},DescribeRouteCalculator:{http:{method:"GET",requestUri:"/routes/v0/calculators/{CalculatorName}",responseCode:200},input:{type:"structure",required:["CalculatorName"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"}}},output:{type:"structure",required:["CalculatorArn","CalculatorName","CreateTime","DataSource","Description","UpdateTime"],members:{CalculatorArn:{},CalculatorName:{},CreateTime:{shape:"St"},DataSource:{},Description:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},Tags:{shape:"S30"},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"routes."}},DescribeTracker:{http:{method:"GET",requestUri:"/tracking/v0/trackers/{TrackerName}",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["CreateTime","Description","TrackerArn","TrackerName","UpdateTime"],members:{CreateTime:{shape:"St"},Description:{},KmsKeyId:{},PositionFiltering:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},PricingPlanDataSource:{deprecated:!0,deprecatedMessage:"Deprecated. Unused."},Tags:{shape:"S30"},TrackerArn:{},TrackerName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"tracking."}},DisassociateTrackerConsumer:{http:{method:"DELETE",requestUri:"/tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}",responseCode:200},input:{type:"structure",required:["ConsumerArn","TrackerName"],members:{ConsumerArn:{location:"uri",locationName:"ConsumerArn"},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"tracking."}},GetDevicePosition:{http:{method:"GET",requestUri:"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest",responseCode:200},input:{type:"structure",required:["DeviceId","TrackerName"],members:{DeviceId:{location:"uri",locationName:"DeviceId"},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["Position","ReceivedTime","SampleTime"],members:{Accuracy:{shape:"Sm"},DeviceId:{},Position:{shape:"So"},PositionProperties:{shape:"Sq"},ReceivedTime:{shape:"St"},SampleTime:{shape:"St"}}},endpoint:{hostPrefix:"tracking."}},GetDevicePositionHistory:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions",responseCode:200},input:{type:"structure",required:["DeviceId","TrackerName"],members:{DeviceId:{location:"uri",locationName:"DeviceId"},EndTimeExclusive:{shape:"St"},NextToken:{},StartTimeInclusive:{shape:"St"},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["DevicePositions"],members:{DevicePositions:{shape:"S11"},NextToken:{}}},endpoint:{hostPrefix:"tracking."}},GetGeofence:{http:{method:"GET",requestUri:"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}",responseCode:200},input:{type:"structure",required:["CollectionName","GeofenceId"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},GeofenceId:{location:"uri",locationName:"GeofenceId"}}},output:{type:"structure",required:["CreateTime","GeofenceId","Geometry","Status","UpdateTime"],members:{CreateTime:{shape:"St"},GeofenceId:{},Geometry:{shape:"S18"},Status:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."}},GetMapGlyphs:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}",responseCode:200},input:{type:"structure",required:["FontStack","FontUnicodeRange","MapName"],members:{FontStack:{location:"uri",locationName:"FontStack"},FontUnicodeRange:{location:"uri",locationName:"FontUnicodeRange"},MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",members:{Blob:{type:"blob"},ContentType:{location:"header",locationName:"Content-Type"}},payload:"Blob"},endpoint:{hostPrefix:"maps."}},GetMapSprites:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}/sprites/{FileName}",responseCode:200},input:{type:"structure",required:["FileName","MapName"],members:{FileName:{location:"uri",locationName:"FileName"},MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",members:{Blob:{type:"blob"},ContentType:{location:"header",locationName:"Content-Type"}},payload:"Blob"},endpoint:{hostPrefix:"maps."}},GetMapStyleDescriptor:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}/style-descriptor",responseCode:200},input:{type:"structure",required:["MapName"],members:{MapName:{location:"uri",locationName:"MapName"}}},output:{type:"structure",members:{Blob:{type:"blob"},ContentType:{location:"header",locationName:"Content-Type"}},payload:"Blob"},endpoint:{hostPrefix:"maps."}},GetMapTile:{http:{method:"GET",requestUri:"/maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y}",responseCode:200},input:{type:"structure",required:["MapName","X","Y","Z"],members:{MapName:{location:"uri",locationName:"MapName"},X:{location:"uri",locationName:"X"},Y:{location:"uri",locationName:"Y"},Z:{location:"uri",locationName:"Z"}}},output:{type:"structure",members:{Blob:{type:"blob"},ContentType:{location:"header",locationName:"Content-Type"}},payload:"Blob"},endpoint:{hostPrefix:"maps."}},ListDevicePositions:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/list-positions",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{MaxResults:{type:"integer"},NextToken:{},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["DeviceId","Position","SampleTime"],members:{Accuracy:{shape:"Sm"},DeviceId:{},Position:{shape:"So"},PositionProperties:{shape:"Sq"},SampleTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"tracking."}},ListGeofenceCollections:{http:{requestUri:"/geofencing/v0/list-collections",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CollectionName","CreateTime","Description","UpdateTime"],members:{CollectionName:{},CreateTime:{shape:"St"},Description:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},PricingPlanDataSource:{deprecated:!0,deprecatedMessage:"Deprecated. Unused."},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"geofencing."}},ListGeofences:{http:{requestUri:"/geofencing/v0/collections/{CollectionName}/list-geofences",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CreateTime","GeofenceId","Geometry","Status","UpdateTime"],members:{CreateTime:{shape:"St"},GeofenceId:{},Geometry:{shape:"S18"},Status:{},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"geofencing."}},ListMaps:{http:{requestUri:"/maps/v0/list-maps",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CreateTime","DataSource","Description","MapName","UpdateTime"],members:{CreateTime:{shape:"St"},DataSource:{},Description:{},MapName:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"maps."}},ListPlaceIndexes:{http:{requestUri:"/places/v0/list-indexes",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CreateTime","DataSource","Description","IndexName","UpdateTime"],members:{CreateTime:{shape:"St"},DataSource:{},Description:{},IndexName:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"places."}},ListRouteCalculators:{http:{requestUri:"/routes/v0/list-calculators",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CalculatorName","CreateTime","DataSource","Description","UpdateTime"],members:{CalculatorName:{},CreateTime:{shape:"St"},DataSource:{},Description:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"routes."}},ListTagsForResource:{http:{method:"GET",requestUri:"/tags/{ResourceArn}",responseCode:200},input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{location:"uri",locationName:"ResourceArn"}}},output:{type:"structure",members:{Tags:{shape:"S30"}}},endpoint:{hostPrefix:"metadata."}},ListTrackerConsumers:{http:{requestUri:"/tracking/v0/trackers/{TrackerName}/list-consumers",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{MaxResults:{type:"integer"},NextToken:{},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["ConsumerArns"],members:{ConsumerArns:{type:"list",member:{}},NextToken:{}}},endpoint:{hostPrefix:"tracking."}},ListTrackers:{http:{requestUri:"/tracking/v0/list-trackers",responseCode:200},input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",required:["CreateTime","Description","TrackerName","UpdateTime"],members:{CreateTime:{shape:"St"},Description:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. Always returns RequestBasedUsage."},PricingPlanDataSource:{deprecated:!0,deprecatedMessage:"Deprecated. Unused."},TrackerName:{},UpdateTime:{shape:"St"}}}},NextToken:{}}},endpoint:{hostPrefix:"tracking."}},PutGeofence:{http:{method:"PUT",requestUri:"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}",responseCode:200},input:{type:"structure",required:["CollectionName","GeofenceId","Geometry"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},GeofenceId:{location:"uri",locationName:"GeofenceId"},Geometry:{shape:"S18"}}},output:{type:"structure",required:["CreateTime","GeofenceId","UpdateTime"],members:{CreateTime:{shape:"St"},GeofenceId:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."}},SearchPlaceIndexForPosition:{http:{requestUri:"/places/v0/indexes/{IndexName}/search/position",responseCode:200},input:{type:"structure",required:["IndexName","Position"],members:{IndexName:{location:"uri",locationName:"IndexName"},Language:{},MaxResults:{type:"integer"},Position:{shape:"So"}}},output:{type:"structure",required:["Results","Summary"],members:{Results:{type:"list",member:{type:"structure",required:["Distance","Place"],members:{Distance:{type:"double"},Place:{shape:"S61"}}}},Summary:{type:"structure",required:["DataSource","Position"],members:{DataSource:{},Language:{},MaxResults:{type:"integer"},Position:{shape:"So"}}}}},endpoint:{hostPrefix:"places."}},SearchPlaceIndexForSuggestions:{http:{requestUri:"/places/v0/indexes/{IndexName}/search/suggestions",responseCode:200},input:{type:"structure",required:["IndexName","Text"],members:{BiasPosition:{shape:"So"},FilterBBox:{shape:"S2f"},FilterCountries:{shape:"S67"},IndexName:{location:"uri",locationName:"IndexName"},Language:{},MaxResults:{type:"integer"},Text:{type:"string",sensitive:!0}}},output:{type:"structure",required:["Results","Summary"],members:{Results:{type:"list",member:{type:"structure",required:["Text"],members:{Text:{}}}},Summary:{type:"structure",required:["DataSource","Text"],members:{BiasPosition:{shape:"So"},DataSource:{},FilterBBox:{shape:"S2f"},FilterCountries:{shape:"S67"},Language:{},MaxResults:{type:"integer"},Text:{type:"string",sensitive:!0}}}}},endpoint:{hostPrefix:"places."}},SearchPlaceIndexForText:{http:{requestUri:"/places/v0/indexes/{IndexName}/search/text",responseCode:200},input:{type:"structure",required:["IndexName","Text"],members:{BiasPosition:{shape:"So"},FilterBBox:{shape:"S2f"},FilterCountries:{shape:"S67"},IndexName:{location:"uri",locationName:"IndexName"},Language:{},MaxResults:{type:"integer"},Text:{type:"string",sensitive:!0}}},output:{type:"structure",required:["Results","Summary"],members:{Results:{type:"list",member:{type:"structure",required:["Place"],members:{Distance:{type:"double"},Place:{shape:"S61"},Relevance:{type:"double"}}}},Summary:{type:"structure",required:["DataSource","Text"],members:{BiasPosition:{shape:"So"},DataSource:{},FilterBBox:{shape:"S2f"},FilterCountries:{shape:"S67"},Language:{},MaxResults:{type:"integer"},ResultBBox:{shape:"S2f"},Text:{type:"string",sensitive:!0}}}}},endpoint:{hostPrefix:"places."}},TagResource:{http:{requestUri:"/tags/{ResourceArn}",responseCode:200},input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{location:"uri",locationName:"ResourceArn"},Tags:{shape:"S30"}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"metadata."}},UntagResource:{http:{method:"DELETE",requestUri:"/tags/{ResourceArn}",responseCode:200},input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{location:"uri",locationName:"ResourceArn"},TagKeys:{location:"querystring",locationName:"tagKeys",type:"list",member:{}}}},output:{type:"structure",members:{}},endpoint:{hostPrefix:"metadata."},idempotent:!0},UpdateGeofenceCollection:{http:{method:"PATCH",requestUri:"/geofencing/v0/collections/{CollectionName}",responseCode:200},input:{type:"structure",required:["CollectionName"],members:{CollectionName:{location:"uri",locationName:"CollectionName"},Description:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."},PricingPlanDataSource:{deprecated:!0,deprecatedMessage:"Deprecated. No longer allowed."}}},output:{type:"structure",required:["CollectionArn","CollectionName","UpdateTime"],members:{CollectionArn:{},CollectionName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"geofencing."},idempotent:!0},UpdateMap:{http:{method:"PATCH",requestUri:"/maps/v0/maps/{MapName}",responseCode:200},input:{type:"structure",required:["MapName"],members:{Description:{},MapName:{location:"uri",locationName:"MapName"},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."}}},output:{type:"structure",required:["MapArn","MapName","UpdateTime"],members:{MapArn:{},MapName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"maps."},idempotent:!0},UpdatePlaceIndex:{http:{method:"PATCH",requestUri:"/places/v0/indexes/{IndexName}",responseCode:200},input:{type:"structure",required:["IndexName"],members:{DataSourceConfiguration:{shape:"S39"},Description:{},IndexName:{location:"uri",locationName:"IndexName"},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."}}},output:{type:"structure",required:["IndexArn","IndexName","UpdateTime"],members:{IndexArn:{},IndexName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"places."},idempotent:!0},UpdateRouteCalculator:{http:{method:"PATCH",requestUri:"/routes/v0/calculators/{CalculatorName}",responseCode:200},input:{type:"structure",required:["CalculatorName"],members:{CalculatorName:{location:"uri",locationName:"CalculatorName"},Description:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."}}},output:{type:"structure",required:["CalculatorArn","CalculatorName","UpdateTime"],members:{CalculatorArn:{},CalculatorName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"routes."},idempotent:!0},UpdateTracker:{http:{method:"PATCH",requestUri:"/tracking/v0/trackers/{TrackerName}",responseCode:200},input:{type:"structure",required:["TrackerName"],members:{Description:{},PositionFiltering:{},PricingPlan:{deprecated:!0,deprecatedMessage:"Deprecated. If included, the only allowed value is RequestBasedUsage."},PricingPlanDataSource:{deprecated:!0,deprecatedMessage:"Deprecated. No longer allowed."},TrackerName:{location:"uri",locationName:"TrackerName"}}},output:{type:"structure",required:["TrackerArn","TrackerName","UpdateTime"],members:{TrackerArn:{},TrackerName:{},UpdateTime:{shape:"St"}}},endpoint:{hostPrefix:"tracking."},idempotent:!0}},shapes:{Sb:{type:"structure",members:{Code:{},Message:{}}},Sl:{type:"structure",required:["DeviceId","Position","SampleTime"],members:{Accuracy:{shape:"Sm"},DeviceId:{},Position:{shape:"So"},PositionProperties:{shape:"Sq"},SampleTime:{shape:"St"}}},Sm:{type:"structure",required:["Horizontal"],members:{Horizontal:{type:"double"}}},So:{type:"list",member:{type:"double"},sensitive:!0},Sq:{type:"map",key:{},value:{},sensitive:!0},St:{type:"timestamp",timestampFormat:"iso8601"},S11:{type:"list",member:{type:"structure",required:["Position","ReceivedTime","SampleTime"],members:{Accuracy:{shape:"Sm"},DeviceId:{},Position:{shape:"So"},PositionProperties:{shape:"Sq"},ReceivedTime:{shape:"St"},SampleTime:{shape:"St"}}}},S18:{type:"structure",members:{Polygon:{type:"list",member:{type:"list",member:{shape:"So"}}}}},S1m:{type:"structure",members:{AvoidFerries:{type:"boolean"},AvoidTolls:{type:"boolean"}}},S1q:{type:"structure",members:{AvoidFerries:{type:"boolean"},AvoidTolls:{type:"boolean"},Dimensions:{type:"structure",members:{Height:{type:"double"},Length:{type:"double"},Unit:{},Width:{type:"double"}}},Weight:{type:"structure",members:{Total:{type:"double"},Unit:{}}}}},S2f:{type:"list",member:{type:"double"},sensitive:!0},S30:{type:"map",key:{},value:{}},S35:{type:"structure",required:["Style"],members:{Style:{}}},S39:{type:"structure",members:{IntendedUse:{}}},S61:{type:"structure",required:["Geometry"],members:{AddressNumber:{},Country:{},Geometry:{type:"structure",members:{Point:{shape:"So"}}},Interpolated:{type:"boolean"},Label:{},Municipality:{},Neighborhood:{},PostalCode:{},Region:{},Street:{},SubRegion:{},TimeZone:{type:"structure",required:["Name"],members:{Name:{},Offset:{type:"integer"}}}}},S67:{type:"list",member:{}}}}},{}],153:[function(e,t,r){t.exports={pagination:{GetDevicePositionHistory:{input_token:"NextToken",output_token:"NextToken",result_key:"DevicePositions"},ListDevicePositions:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListGeofenceCollections:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListGeofences:{input_token:"NextToken",output_token:"NextToken",result_key:"Entries"},ListMaps:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListPlaceIndexes:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListRouteCalculators:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"},ListTrackerConsumers:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"ConsumerArns"},ListTrackers:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Entries"}}}},{}],154:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-03-28",endpointPrefix:"logs",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon CloudWatch Logs",serviceId:"CloudWatch Logs",signatureVersion:"v4",targetPrefix:"Logs_20140328",uid:"logs-2014-03-28"},operations:{AssociateKmsKey:{input:{type:"structure",required:["logGroupName","kmsKeyId"],members:{logGroupName:{},kmsKeyId:{}}}},CancelExportTask:{input:{type:"structure",required:["taskId"],members:{taskId:{}}}},CreateExportTask:{input:{type:"structure",required:["logGroupName","from","to","destination"],members:{taskName:{},logGroupName:{},logStreamNamePrefix:{},from:{type:"long"},to:{type:"long"},destination:{},destinationPrefix:{}}},output:{type:"structure",members:{taskId:{}}}},CreateLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},kmsKeyId:{},tags:{shape:"Se"}}}},CreateLogStream:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{}}}},DeleteDestination:{input:{type:"structure",required:["destinationName"],members:{destinationName:{}}}},DeleteLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},DeleteLogStream:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{}}}},DeleteMetricFilter:{input:{type:"structure",required:["logGroupName","filterName"],members:{logGroupName:{},filterName:{}}}},DeleteQueryDefinition:{input:{type:"structure",required:["queryDefinitionId"],members:{queryDefinitionId:{}}},output:{type:"structure",members:{success:{type:"boolean"}}}},DeleteResourcePolicy:{input:{type:"structure",members:{policyName:{}}}},DeleteRetentionPolicy:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},DeleteSubscriptionFilter:{input:{type:"structure",required:["logGroupName","filterName"],members:{logGroupName:{},filterName:{}}}},DescribeDestinations:{input:{type:"structure",members:{DestinationNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{destinations:{type:"list",member:{shape:"S11"}},nextToken:{}}}},DescribeExportTasks:{input:{type:"structure",members:{taskId:{},statusCode:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{exportTasks:{type:"list",member:{type:"structure",members:{taskId:{},taskName:{}, +logGroupName:{},from:{type:"long"},to:{type:"long"},destination:{},destinationPrefix:{},status:{type:"structure",members:{code:{},message:{}}},executionInfo:{type:"structure",members:{creationTime:{type:"long"},completionTime:{type:"long"}}}}}},nextToken:{}}}},DescribeLogGroups:{input:{type:"structure",members:{logGroupNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{logGroups:{type:"list",member:{type:"structure",members:{logGroupName:{},creationTime:{type:"long"},retentionInDays:{type:"integer"},metricFilterCount:{type:"integer"},arn:{},storedBytes:{type:"long"},kmsKeyId:{}}}},nextToken:{}}}},DescribeLogStreams:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},logStreamNamePrefix:{},orderBy:{},descending:{type:"boolean"},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{logStreams:{type:"list",member:{type:"structure",members:{logStreamName:{},creationTime:{type:"long"},firstEventTimestamp:{type:"long"},lastEventTimestamp:{type:"long"},lastIngestionTime:{type:"long"},uploadSequenceToken:{},arn:{},storedBytes:{deprecated:!0,deprecatedMessage:"Starting on June 17, 2019, this parameter will be deprecated for log streams, and will be reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.",type:"long"}}}},nextToken:{}}}},DescribeMetricFilters:{input:{type:"structure",members:{logGroupName:{},filterNamePrefix:{},nextToken:{},limit:{type:"integer"},metricName:{},metricNamespace:{}}},output:{type:"structure",members:{metricFilters:{type:"list",member:{type:"structure",members:{filterName:{},filterPattern:{},metricTransformations:{shape:"S1z"},creationTime:{type:"long"},logGroupName:{}}}},nextToken:{}}}},DescribeQueries:{input:{type:"structure",members:{logGroupName:{},status:{},maxResults:{type:"integer"},nextToken:{}}},output:{type:"structure",members:{queries:{type:"list",member:{type:"structure",members:{queryId:{},queryString:{},status:{},createTime:{type:"long"},logGroupName:{}}}},nextToken:{}}}},DescribeQueryDefinitions:{input:{type:"structure",members:{queryDefinitionNamePrefix:{},maxResults:{type:"integer"},nextToken:{}}},output:{type:"structure",members:{queryDefinitions:{type:"list",member:{type:"structure",members:{queryDefinitionId:{},name:{},queryString:{},lastModified:{type:"long"},logGroupNames:{shape:"S2l"}}}},nextToken:{}}}},DescribeResourcePolicies:{input:{type:"structure",members:{nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{resourcePolicies:{type:"list",member:{shape:"S2p"}},nextToken:{}}}},DescribeSubscriptionFilters:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},filterNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{subscriptionFilters:{type:"list",member:{type:"structure",members:{filterName:{},logGroupName:{},filterPattern:{},destinationArn:{},roleArn:{},distribution:{},creationTime:{type:"long"}}}},nextToken:{}}}},DisassociateKmsKey:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}}},FilterLogEvents:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},logStreamNames:{type:"list",member:{}},logStreamNamePrefix:{},startTime:{type:"long"},endTime:{type:"long"},filterPattern:{},nextToken:{},limit:{type:"integer"},interleaved:{deprecated:!0,deprecatedMessage:"Starting on June 17, 2019, this parameter will be ignored and the value will be assumed to be true. The response from this operation will always interleave events from multiple log streams within a log group.",type:"boolean"}}},output:{type:"structure",members:{events:{type:"list",member:{type:"structure",members:{logStreamName:{},timestamp:{type:"long"},message:{},ingestionTime:{type:"long"},eventId:{}}}},searchedLogStreams:{type:"list",member:{type:"structure",members:{logStreamName:{},searchedCompletely:{type:"boolean"}}}},nextToken:{}}}},GetLogEvents:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{},startTime:{type:"long"},endTime:{type:"long"},nextToken:{},limit:{type:"integer"},startFromHead:{type:"boolean"}}},output:{type:"structure",members:{events:{type:"list",member:{type:"structure",members:{timestamp:{type:"long"},message:{},ingestionTime:{type:"long"}}}},nextForwardToken:{},nextBackwardToken:{}}}},GetLogGroupFields:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},time:{type:"long"}}},output:{type:"structure",members:{logGroupFields:{type:"list",member:{type:"structure",members:{name:{},percent:{type:"integer"}}}}}}},GetLogRecord:{input:{type:"structure",required:["logRecordPointer"],members:{logRecordPointer:{}}},output:{type:"structure",members:{logRecord:{type:"map",key:{},value:{}}}}},GetQueryResults:{input:{type:"structure",required:["queryId"],members:{queryId:{}}},output:{type:"structure",members:{results:{type:"list",member:{type:"list",member:{type:"structure",members:{field:{},value:{}}}}},statistics:{type:"structure",members:{recordsMatched:{type:"double"},recordsScanned:{type:"double"},bytesScanned:{type:"double"}}},status:{}}}},ListTagsLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}},output:{type:"structure",members:{tags:{shape:"Se"}}}},PutDestination:{input:{type:"structure",required:["destinationName","targetArn","roleArn"],members:{destinationName:{},targetArn:{},roleArn:{}}},output:{type:"structure",members:{destination:{shape:"S11"}}}},PutDestinationPolicy:{input:{type:"structure",required:["destinationName","accessPolicy"],members:{destinationName:{},accessPolicy:{},forceUpdate:{type:"boolean"}}}},PutLogEvents:{input:{type:"structure",required:["logGroupName","logStreamName","logEvents"],members:{logGroupName:{},logStreamName:{},logEvents:{type:"list",member:{type:"structure",required:["timestamp","message"],members:{timestamp:{type:"long"},message:{}}}},sequenceToken:{}}},output:{type:"structure",members:{nextSequenceToken:{},rejectedLogEventsInfo:{type:"structure",members:{tooNewLogEventStartIndex:{type:"integer"},tooOldLogEventEndIndex:{type:"integer"},expiredLogEventEndIndex:{type:"integer"}}}}}},PutMetricFilter:{input:{type:"structure",required:["logGroupName","filterName","filterPattern","metricTransformations"],members:{logGroupName:{},filterName:{},filterPattern:{},metricTransformations:{shape:"S1z"}}}},PutQueryDefinition:{input:{type:"structure",required:["name","queryString"],members:{name:{},queryDefinitionId:{},logGroupNames:{shape:"S2l"},queryString:{}}},output:{type:"structure",members:{queryDefinitionId:{}}}},PutResourcePolicy:{input:{type:"structure",members:{policyName:{},policyDocument:{}}},output:{type:"structure",members:{resourcePolicy:{shape:"S2p"}}}},PutRetentionPolicy:{input:{type:"structure",required:["logGroupName","retentionInDays"],members:{logGroupName:{},retentionInDays:{type:"integer"}}}},PutSubscriptionFilter:{input:{type:"structure",required:["logGroupName","filterName","filterPattern","destinationArn"],members:{logGroupName:{},filterName:{},filterPattern:{},destinationArn:{},roleArn:{},distribution:{}}}},StartQuery:{input:{type:"structure",required:["startTime","endTime","queryString"],members:{logGroupName:{},logGroupNames:{shape:"S2l"},startTime:{type:"long"},endTime:{type:"long"},queryString:{},limit:{type:"integer"}}},output:{type:"structure",members:{queryId:{}}}},StopQuery:{input:{type:"structure",required:["queryId"],members:{queryId:{}}},output:{type:"structure",members:{success:{type:"boolean"}}}},TagLogGroup:{input:{type:"structure",required:["logGroupName","tags"],members:{logGroupName:{},tags:{shape:"Se"}}}},TestMetricFilter:{input:{type:"structure",required:["filterPattern","logEventMessages"],members:{filterPattern:{},logEventMessages:{type:"list",member:{}}}},output:{type:"structure",members:{matches:{type:"list",member:{type:"structure",members:{eventNumber:{type:"long"},eventMessage:{},extractedValues:{type:"map",key:{},value:{}}}}}}}},UntagLogGroup:{input:{type:"structure",required:["logGroupName","tags"],members:{logGroupName:{},tags:{type:"list",member:{}}}}}},shapes:{Se:{type:"map",key:{},value:{}},S11:{type:"structure",members:{destinationName:{},targetArn:{},roleArn:{},accessPolicy:{},arn:{},creationTime:{type:"long"}}},S1z:{type:"list",member:{type:"structure",required:["metricName","metricNamespace","metricValue"],members:{metricName:{},metricNamespace:{},metricValue:{},defaultValue:{type:"double"},dimensions:{type:"map",key:{},value:{}},unit:{}}}},S2l:{type:"list",member:{}},S2p:{type:"structure",members:{policyName:{},policyDocument:{},lastUpdatedTime:{type:"long"}}}}}},{}],155:[function(e,t,r){t.exports={pagination:{DescribeDestinations:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"destinations"},DescribeLogGroups:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"logGroups"},DescribeLogStreams:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"logStreams"},DescribeMetricFilters:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"metricFilters"},DescribeSubscriptionFilters:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:"subscriptionFilters"},FilterLogEvents:{input_token:"nextToken",limit_key:"limit",output_token:"nextToken",result_key:["events","searchedLogStreams"]},GetLogEvents:{input_token:"nextToken",limit_key:"limit",output_token:"nextForwardToken",result_key:"events"}}}},{}],156:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-12-12",endpointPrefix:"machinelearning",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Machine Learning",serviceId:"Machine Learning",signatureVersion:"v4",targetPrefix:"AmazonML_20141212",uid:"machinelearning-2014-12-12"},operations:{AddTags:{input:{type:"structure",required:["Tags","ResourceId","ResourceType"],members:{Tags:{shape:"S2"},ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{}}}},CreateBatchPrediction:{input:{type:"structure",required:["BatchPredictionId","MLModelId","BatchPredictionDataSourceId","OutputUri"],members:{BatchPredictionId:{},BatchPredictionName:{},MLModelId:{},BatchPredictionDataSourceId:{},OutputUri:{}}},output:{type:"structure",members:{BatchPredictionId:{}}}},CreateDataSourceFromRDS:{input:{type:"structure",required:["DataSourceId","RDSData","RoleARN"],members:{DataSourceId:{},DataSourceName:{},RDSData:{type:"structure",required:["DatabaseInformation","SelectSqlQuery","DatabaseCredentials","S3StagingLocation","ResourceRole","ServiceRole","SubnetId","SecurityGroupIds"],members:{DatabaseInformation:{shape:"Sf"},SelectSqlQuery:{},DatabaseCredentials:{type:"structure",required:["Username","Password"],members:{Username:{},Password:{}}},S3StagingLocation:{},DataRearrangement:{},DataSchema:{},DataSchemaUri:{},ResourceRole:{},ServiceRole:{},SubnetId:{},SecurityGroupIds:{type:"list",member:{}}}},RoleARN:{},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}}},CreateDataSourceFromRedshift:{input:{type:"structure",required:["DataSourceId","DataSpec","RoleARN"],members:{DataSourceId:{},DataSourceName:{},DataSpec:{type:"structure",required:["DatabaseInformation","SelectSqlQuery","DatabaseCredentials","S3StagingLocation"],members:{DatabaseInformation:{shape:"Sy"},SelectSqlQuery:{},DatabaseCredentials:{type:"structure",required:["Username","Password"],members:{Username:{},Password:{}}},S3StagingLocation:{},DataRearrangement:{},DataSchema:{},DataSchemaUri:{}}},RoleARN:{},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}}},CreateDataSourceFromS3:{input:{type:"structure",required:["DataSourceId","DataSpec"],members:{DataSourceId:{},DataSourceName:{},DataSpec:{type:"structure",required:["DataLocationS3"],members:{DataLocationS3:{},DataRearrangement:{},DataSchema:{},DataSchemaLocationS3:{}}},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}}},CreateEvaluation:{input:{type:"structure",required:["EvaluationId","MLModelId","EvaluationDataSourceId"],members:{EvaluationId:{},EvaluationName:{},MLModelId:{},EvaluationDataSourceId:{}}},output:{type:"structure",members:{EvaluationId:{}}}},CreateMLModel:{input:{type:"structure",required:["MLModelId","MLModelType","TrainingDataSourceId"],members:{MLModelId:{},MLModelName:{},MLModelType:{},Parameters:{shape:"S1d"},TrainingDataSourceId:{},Recipe:{},RecipeUri:{}}},output:{type:"structure",members:{MLModelId:{}}}},CreateRealtimeEndpoint:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{},RealtimeEndpointInfo:{shape:"S1j"}}}},DeleteBatchPrediction:{input:{type:"structure",required:["BatchPredictionId"],members:{BatchPredictionId:{}}},output:{type:"structure",members:{BatchPredictionId:{}}}},DeleteDataSource:{input:{type:"structure",required:["DataSourceId"],members:{DataSourceId:{}}},output:{type:"structure",members:{DataSourceId:{}}}},DeleteEvaluation:{input:{type:"structure",required:["EvaluationId"],members:{EvaluationId:{}}},output:{type:"structure",members:{EvaluationId:{}}}},DeleteMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{}}}},DeleteRealtimeEndpoint:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{},RealtimeEndpointInfo:{shape:"S1j"}}}},DeleteTags:{input:{type:"structure",required:["TagKeys","ResourceId","ResourceType"],members:{TagKeys:{type:"list",member:{}},ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{}}}},DescribeBatchPredictions:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{BatchPredictionId:{},MLModelId:{},BatchPredictionDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},OutputUri:{},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"},TotalRecordCount:{type:"long"},InvalidRecordCount:{type:"long"}}}},NextToken:{}}}},DescribeDataSources:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{DataSourceId:{},DataLocationS3:{},DataRearrangement:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},DataSizeInBytes:{type:"long"},NumberOfFiles:{type:"long"},Name:{},Status:{},Message:{},RedshiftMetadata:{shape:"S2i"},RDSMetadata:{shape:"S2j"},RoleARN:{},ComputeStatistics:{type:"boolean"},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"}}}},NextToken:{}}}},DescribeEvaluations:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{EvaluationId:{},MLModelId:{},EvaluationDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},PerformanceMetrics:{shape:"S2q"},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"}}}},NextToken:{}}}},DescribeMLModels:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{MLModelId:{},TrainingDataSourceId:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},SizeInBytes:{type:"long"},EndpointInfo:{shape:"S1j"},TrainingParameters:{shape:"S1d"},InputDataLocationS3:{},Algorithm:{},MLModelType:{},ScoreThreshold:{type:"float"},ScoreThresholdLastUpdatedAt:{type:"timestamp"},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"}}}},NextToken:{}}}},DescribeTags:{input:{type:"structure",required:["ResourceId","ResourceType"],members:{ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{},Tags:{shape:"S2"}}}},GetBatchPrediction:{input:{type:"structure",required:["BatchPredictionId"],members:{BatchPredictionId:{}}},output:{type:"structure",members:{BatchPredictionId:{},MLModelId:{},BatchPredictionDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},OutputUri:{},LogUri:{},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"},TotalRecordCount:{type:"long"},InvalidRecordCount:{type:"long"}}}},GetDataSource:{input:{type:"structure",required:["DataSourceId"],members:{DataSourceId:{},Verbose:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{},DataLocationS3:{},DataRearrangement:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},DataSizeInBytes:{type:"long"},NumberOfFiles:{type:"long"},Name:{},Status:{},LogUri:{},Message:{},RedshiftMetadata:{shape:"S2i"},RDSMetadata:{shape:"S2j"},RoleARN:{},ComputeStatistics:{type:"boolean"},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"},DataSourceSchema:{}}}},GetEvaluation:{input:{type:"structure",required:["EvaluationId"],members:{EvaluationId:{}}},output:{type:"structure",members:{EvaluationId:{},MLModelId:{},EvaluationDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},PerformanceMetrics:{shape:"S2q"},LogUri:{},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"}}}},GetMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{},Verbose:{type:"boolean"}}},output:{type:"structure",members:{MLModelId:{},TrainingDataSourceId:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},SizeInBytes:{type:"long"},EndpointInfo:{shape:"S1j"},TrainingParameters:{shape:"S1d"},InputDataLocationS3:{},MLModelType:{},ScoreThreshold:{type:"float"},ScoreThresholdLastUpdatedAt:{type:"timestamp"},LogUri:{},Message:{},ComputeTime:{type:"long"},FinishedAt:{type:"timestamp"},StartedAt:{type:"timestamp"},Recipe:{},Schema:{}}}},Predict:{input:{type:"structure",required:["MLModelId","Record","PredictEndpoint"],members:{MLModelId:{},Record:{type:"map",key:{},value:{}},PredictEndpoint:{}}},output:{type:"structure",members:{Prediction:{type:"structure",members:{predictedLabel:{},predictedValue:{type:"float"},predictedScores:{type:"map",key:{},value:{type:"float"}},details:{type:"map",key:{},value:{}}}}}}},UpdateBatchPrediction:{input:{type:"structure",required:["BatchPredictionId","BatchPredictionName"],members:{BatchPredictionId:{},BatchPredictionName:{}}},output:{type:"structure",members:{BatchPredictionId:{}}}},UpdateDataSource:{input:{type:"structure",required:["DataSourceId","DataSourceName"],members:{DataSourceId:{},DataSourceName:{}}},output:{type:"structure",members:{DataSourceId:{}}}},UpdateEvaluation:{input:{type:"structure",required:["EvaluationId","EvaluationName"],members:{EvaluationId:{},EvaluationName:{}}},output:{type:"structure",members:{EvaluationId:{}}}},UpdateMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{},MLModelName:{},ScoreThreshold:{type:"float"}}},output:{type:"structure",members:{MLModelId:{}}}}},shapes:{S2:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},Sf:{type:"structure",required:["InstanceIdentifier","DatabaseName"],members:{InstanceIdentifier:{},DatabaseName:{}}},Sy:{type:"structure",required:["DatabaseName","ClusterIdentifier"],members:{DatabaseName:{},ClusterIdentifier:{}}},S1d:{type:"map",key:{},value:{}},S1j:{type:"structure",members:{PeakRequestsPerSecond:{type:"integer"},CreatedAt:{type:"timestamp"},EndpointUrl:{},EndpointStatus:{}}},S2i:{type:"structure",members:{RedshiftDatabase:{shape:"Sy"},DatabaseUserName:{},SelectSqlQuery:{}}},S2j:{type:"structure",members:{Database:{shape:"Sf"},DatabaseUserName:{},SelectSqlQuery:{},ResourceRole:{},ServiceRole:{},DataPipelineId:{}}},S2q:{type:"structure",members:{Properties:{type:"map",key:{},value:{}}}}}}},{}],157:[function(e,t,r){t.exports={pagination:{DescribeBatchPredictions:{input_token:"NextToken",limit_key:"Limit",output_token:"NextToken",result_key:"Results"},DescribeDataSources:{input_token:"NextToken",limit_key:"Limit",output_token:"NextToken",result_key:"Results"},DescribeEvaluations:{input_token:"NextToken",limit_key:"Limit",output_token:"NextToken",result_key:"Results"},DescribeMLModels:{input_token:"NextToken",limit_key:"Limit",output_token:"NextToken",result_key:"Results"}}}},{}],158:[function(e,t,r){t.exports={version:2,waiters:{DataSourceAvailable:{delay:30,operation:"DescribeDataSources",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},MLModelAvailable:{delay:30,operation:"DescribeMLModels",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},EvaluationAvailable:{delay:30,operation:"DescribeEvaluations",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},BatchPredictionAvailable:{delay:30,operation:"DescribeBatchPredictions",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]}}}},{}],159:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-07-01",endpointPrefix:"marketplacecommerceanalytics",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Marketplace Commerce Analytics",serviceId:"Marketplace Commerce Analytics",signatureVersion:"v4",signingName:"marketplacecommerceanalytics",targetPrefix:"MarketplaceCommerceAnalytics20150701",uid:"marketplacecommerceanalytics-2015-07-01"},operations:{GenerateDataSet:{input:{type:"structure",required:["dataSetType","dataSetPublicationDate","roleNameArn","destinationS3BucketName","snsTopicArn"],members:{dataSetType:{},dataSetPublicationDate:{type:"timestamp"},roleNameArn:{},destinationS3BucketName:{},destinationS3Prefix:{},snsTopicArn:{},customerDefinedValues:{shape:"S8"}}},output:{type:"structure",members:{dataSetRequestId:{}}}},StartSupportDataExport:{input:{type:"structure",required:["dataSetType","fromDate","roleNameArn","destinationS3BucketName","snsTopicArn"],members:{dataSetType:{},fromDate:{type:"timestamp"},roleNameArn:{},destinationS3BucketName:{},destinationS3Prefix:{},snsTopicArn:{},customerDefinedValues:{shape:"S8"}}},output:{type:"structure",members:{dataSetRequestId:{}}}}},shapes:{S8:{type:"map",key:{},value:{}}}}},{}],160:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],161:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-09-01",endpointPrefix:"data.mediastore",protocol:"rest-json",serviceAbbreviation:"MediaStore Data",serviceFullName:"AWS Elemental MediaStore Data Plane",serviceId:"MediaStore Data",signatureVersion:"v4",signingName:"mediastore",uid:"mediastore-data-2017-09-01"},operations:{DeleteObject:{http:{method:"DELETE",requestUri:"/{Path+}"},input:{type:"structure",required:["Path"],members:{Path:{location:"uri",locationName:"Path"}}},output:{type:"structure",members:{}}},DescribeObject:{http:{method:"HEAD",requestUri:"/{Path+}"},input:{type:"structure",required:["Path"],members:{Path:{location:"uri",locationName:"Path"}}},output:{type:"structure",members:{ETag:{location:"header",locationName:"ETag"},ContentType:{location:"header",locationName:"Content-Type"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},CacheControl:{location:"header",locationName:"Cache-Control"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"}}}},GetObject:{http:{method:"GET",requestUri:"/{Path+}"},input:{type:"structure",required:["Path"],members:{Path:{location:"uri",locationName:"Path"},Range:{location:"header",locationName:"Range"}}},output:{type:"structure",required:["StatusCode"],members:{Body:{shape:"Se"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentRange:{location:"header",locationName:"Content-Range"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentType:{location:"header",locationName:"Content-Type"},ETag:{location:"header",locationName:"ETag"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"},StatusCode:{location:"statusCode",type:"integer"}},payload:"Body"}},ListItems:{http:{method:"GET"},input:{type:"structure",members:{Path:{location:"querystring",locationName:"Path"},MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"},NextToken:{location:"querystring",locationName:"NextToken"}}},output:{type:"structure",members:{Items:{type:"list",member:{type:"structure",members:{Name:{},Type:{},ETag:{},LastModified:{type:"timestamp"},ContentType:{},ContentLength:{type:"long"}}}},NextToken:{}}}},PutObject:{http:{method:"PUT",requestUri:"/{Path+}"},input:{type:"structure",required:["Body","Path"],members:{Body:{shape:"Se"},Path:{location:"uri",locationName:"Path"},ContentType:{location:"header",locationName:"Content-Type"},CacheControl:{location:"header",locationName:"Cache-Control"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},UploadAvailability:{location:"header",locationName:"x-amz-upload-availability"}},payload:"Body"},output:{type:"structure",members:{ContentSHA256:{},ETag:{},StorageClass:{}}},authtype:"v4-unsigned-body"}},shapes:{Se:{type:"blob",streaming:!0}}}},{}],162:[function(e,t,r){t.exports={pagination:{ListItems:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],163:[function(e,t,r){t.exports={acm:{name:"ACM",cors:!0},apigateway:{name:"APIGateway",cors:!0},applicationautoscaling:{prefix:"application-autoscaling",name:"ApplicationAutoScaling",cors:!0},appstream:{name:"AppStream"},autoscaling:{name:"AutoScaling",cors:!0},batch:{name:"Batch"},budgets:{name:"Budgets"},clouddirectory:{name:"CloudDirectory",versions:["2016-05-10*"]},cloudformation:{name:"CloudFormation",cors:!0},cloudfront:{name:"CloudFront",versions:["2013-05-12*","2013-11-11*","2014-05-31*","2014-10-21*","2014-11-06*","2015-04-17*","2015-07-27*","2015-09-17*","2016-01-13*","2016-01-28*","2016-08-01*","2016-08-20*","2016-09-07*","2016-09-29*","2016-11-25*","2017-03-25*","2017-10-30*","2018-06-18*","2018-11-05*","2019-03-26*"],cors:!0},cloudhsm:{name:"CloudHSM",cors:!0},cloudsearch:{name:"CloudSearch"},cloudsearchdomain:{name:"CloudSearchDomain"},cloudtrail:{name:"CloudTrail",cors:!0},cloudwatch:{prefix:"monitoring",name:"CloudWatch",cors:!0},cloudwatchevents:{prefix:"events",name:"CloudWatchEvents",versions:["2014-02-03*"],cors:!0},cloudwatchlogs:{prefix:"logs",name:"CloudWatchLogs",cors:!0},codebuild:{name:"CodeBuild",cors:!0},codecommit:{name:"CodeCommit",cors:!0},codedeploy:{name:"CodeDeploy",cors:!0},codepipeline:{name:"CodePipeline",cors:!0},cognitoidentity:{prefix:"cognito-identity",name:"CognitoIdentity",cors:!0},cognitoidentityserviceprovider:{prefix:"cognito-idp",name:"CognitoIdentityServiceProvider",cors:!0},cognitosync:{prefix:"cognito-sync",name:"CognitoSync",cors:!0},configservice:{prefix:"config",name:"ConfigService",cors:!0},cur:{name:"CUR",cors:!0},datapipeline:{name:"DataPipeline"},devicefarm:{name:"DeviceFarm",cors:!0},directconnect:{name:"DirectConnect",cors:!0},directoryservice:{prefix:"ds",name:"DirectoryService"},discovery:{name:"Discovery"},dms:{name:"DMS"},dynamodb:{name:"DynamoDB",cors:!0},dynamodbstreams:{prefix:"streams.dynamodb",name:"DynamoDBStreams",cors:!0},ec2:{name:"EC2",versions:["2013-06-15*","2013-10-15*","2014-02-01*","2014-05-01*","2014-06-15*","2014-09-01*","2014-10-01*","2015-03-01*","2015-04-15*","2015-10-01*","2016-04-01*","2016-09-15*"],cors:!0},ecr:{name:"ECR",cors:!0},ecs:{name:"ECS",cors:!0},efs:{prefix:"elasticfilesystem",name:"EFS",cors:!0},elasticache:{name:"ElastiCache",versions:["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*"],cors:!0},elasticbeanstalk:{name:"ElasticBeanstalk",cors:!0},elb:{prefix:"elasticloadbalancing",name:"ELB",cors:!0},elbv2:{prefix:"elasticloadbalancingv2",name:"ELBv2",cors:!0},emr:{prefix:"elasticmapreduce",name:"EMR",cors:!0},es:{name:"ES"},elastictranscoder:{name:"ElasticTranscoder",cors:!0},firehose:{name:"Firehose",cors:!0},gamelift:{name:"GameLift",cors:!0},glacier:{name:"Glacier"},health:{name:"Health"},iam:{name:"IAM",cors:!0},importexport:{name:"ImportExport"},inspector:{name:"Inspector",versions:["2015-08-18*"],cors:!0},iot:{name:"Iot",cors:!0},iotdata:{prefix:"iot-data",name:"IotData",cors:!0},kinesis:{name:"Kinesis",cors:!0},kinesisanalytics:{name:"KinesisAnalytics"},kms:{name:"KMS",cors:!0},lambda:{name:"Lambda",cors:!0},lexruntime:{prefix:"runtime.lex",name:"LexRuntime",cors:!0},lightsail:{name:"Lightsail"},machinelearning:{name:"MachineLearning",cors:!0},marketplacecommerceanalytics:{name:"MarketplaceCommerceAnalytics",cors:!0},marketplacemetering:{prefix:"meteringmarketplace",name:"MarketplaceMetering"},mturk:{prefix:"mturk-requester",name:"MTurk",cors:!0},mobileanalytics:{name:"MobileAnalytics",cors:!0},opsworks:{name:"OpsWorks",cors:!0},opsworkscm:{name:"OpsWorksCM"},organizations:{name:"Organizations"},pinpoint:{name:"Pinpoint"},polly:{name:"Polly",cors:!0},rds:{name:"RDS",versions:["2014-09-01*"],cors:!0},redshift:{name:"Redshift",cors:!0},rekognition:{name:"Rekognition",cors:!0},resourcegroupstaggingapi:{name:"ResourceGroupsTaggingAPI"},route53:{name:"Route53",cors:!0},route53domains:{name:"Route53Domains",cors:!0},s3:{name:"S3",dualstackAvailable:!0,cors:!0},s3control:{name:"S3Control",dualstackAvailable:!0,xmlNoDefaultLists:!0},servicecatalog:{name:"ServiceCatalog",cors:!0},ses:{prefix:"email",name:"SES",cors:!0},shield:{name:"Shield"},simpledb:{prefix:"sdb",name:"SimpleDB"},sms:{name:"SMS"},snowball:{name:"Snowball"},sns:{name:"SNS",cors:!0},sqs:{name:"SQS",cors:!0},ssm:{name:"SSM",cors:!0},storagegateway:{name:"StorageGateway",cors:!0},stepfunctions:{prefix:"states",name:"StepFunctions"},sts:{name:"STS",cors:!0},support:{name:"Support"},swf:{name:"SWF"},xray:{name:"XRay",cors:!0},waf:{name:"WAF",cors:!0},wafregional:{prefix:"waf-regional",name:"WAFRegional"},workdocs:{name:"WorkDocs",cors:!0},workspaces:{name:"WorkSpaces"},codestar:{name:"CodeStar"},lexmodelbuildingservice:{prefix:"lex-models",name:"LexModelBuildingService",cors:!0},marketplaceentitlementservice:{prefix:"entitlement.marketplace",name:"MarketplaceEntitlementService"},athena:{name:"Athena",cors:!0},greengrass:{name:"Greengrass"},dax:{name:"DAX"},migrationhub:{prefix:"AWSMigrationHub",name:"MigrationHub"},cloudhsmv2:{name:"CloudHSMV2",cors:!0},glue:{name:"Glue"},mobile:{name:"Mobile"},pricing:{name:"Pricing",cors:!0},costexplorer:{prefix:"ce",name:"CostExplorer",cors:!0},mediaconvert:{name:"MediaConvert"},medialive:{name:"MediaLive"},mediapackage:{name:"MediaPackage"},mediastore:{name:"MediaStore"},mediastoredata:{prefix:"mediastore-data",name:"MediaStoreData",cors:!0},appsync:{name:"AppSync"},guardduty:{ +name:"GuardDuty"},mq:{name:"MQ"},comprehend:{name:"Comprehend",cors:!0},iotjobsdataplane:{prefix:"iot-jobs-data",name:"IoTJobsDataPlane"},kinesisvideoarchivedmedia:{prefix:"kinesis-video-archived-media",name:"KinesisVideoArchivedMedia",cors:!0},kinesisvideomedia:{prefix:"kinesis-video-media",name:"KinesisVideoMedia",cors:!0},kinesisvideo:{name:"KinesisVideo",cors:!0},sagemakerruntime:{prefix:"runtime.sagemaker",name:"SageMakerRuntime"},sagemaker:{name:"SageMaker"},translate:{name:"Translate",cors:!0},resourcegroups:{prefix:"resource-groups",name:"ResourceGroups",cors:!0},alexaforbusiness:{name:"AlexaForBusiness"},cloud9:{name:"Cloud9"},serverlessapplicationrepository:{prefix:"serverlessrepo",name:"ServerlessApplicationRepository"},servicediscovery:{name:"ServiceDiscovery"},workmail:{name:"WorkMail"},autoscalingplans:{prefix:"autoscaling-plans",name:"AutoScalingPlans"},transcribeservice:{prefix:"transcribe",name:"TranscribeService"},connect:{name:"Connect",cors:!0},acmpca:{prefix:"acm-pca",name:"ACMPCA"},fms:{name:"FMS"},secretsmanager:{name:"SecretsManager",cors:!0},iotanalytics:{name:"IoTAnalytics",cors:!0},iot1clickdevicesservice:{prefix:"iot1click-devices",name:"IoT1ClickDevicesService"},iot1clickprojects:{prefix:"iot1click-projects",name:"IoT1ClickProjects"},pi:{name:"PI"},neptune:{name:"Neptune"},mediatailor:{name:"MediaTailor"},eks:{name:"EKS"},macie:{name:"Macie"},dlm:{name:"DLM"},signer:{name:"Signer"},chime:{name:"Chime"},pinpointemail:{prefix:"pinpoint-email",name:"PinpointEmail"},ram:{name:"RAM"},route53resolver:{name:"Route53Resolver"},pinpointsmsvoice:{prefix:"sms-voice",name:"PinpointSMSVoice"},quicksight:{name:"QuickSight"},rdsdataservice:{prefix:"rds-data",name:"RDSDataService"},amplify:{name:"Amplify"},datasync:{name:"DataSync"},robomaker:{name:"RoboMaker"},transfer:{name:"Transfer"},globalaccelerator:{name:"GlobalAccelerator"},comprehendmedical:{name:"ComprehendMedical",cors:!0},kinesisanalyticsv2:{name:"KinesisAnalyticsV2"},mediaconnect:{name:"MediaConnect"},fsx:{name:"FSx"},securityhub:{name:"SecurityHub"},appmesh:{name:"AppMesh",versions:["2018-10-01*"]},licensemanager:{prefix:"license-manager",name:"LicenseManager"},kafka:{name:"Kafka"},apigatewaymanagementapi:{name:"ApiGatewayManagementApi"},apigatewayv2:{name:"ApiGatewayV2"},docdb:{name:"DocDB"},backup:{name:"Backup"},worklink:{name:"WorkLink"},textract:{name:"Textract"},managedblockchain:{name:"ManagedBlockchain"},mediapackagevod:{prefix:"mediapackage-vod",name:"MediaPackageVod"},groundstation:{name:"GroundStation"},iotthingsgraph:{name:"IoTThingsGraph"},iotevents:{name:"IoTEvents"},ioteventsdata:{prefix:"iotevents-data",name:"IoTEventsData"},personalize:{name:"Personalize",cors:!0},personalizeevents:{prefix:"personalize-events",name:"PersonalizeEvents",cors:!0},personalizeruntime:{prefix:"personalize-runtime",name:"PersonalizeRuntime",cors:!0},applicationinsights:{prefix:"application-insights",name:"ApplicationInsights"},servicequotas:{prefix:"service-quotas",name:"ServiceQuotas"},ec2instanceconnect:{prefix:"ec2-instance-connect",name:"EC2InstanceConnect"},eventbridge:{name:"EventBridge"},lakeformation:{name:"LakeFormation"},forecastservice:{prefix:"forecast",name:"ForecastService",cors:!0},forecastqueryservice:{prefix:"forecastquery",name:"ForecastQueryService",cors:!0},qldb:{name:"QLDB"},qldbsession:{prefix:"qldb-session",name:"QLDBSession"},workmailmessageflow:{name:"WorkMailMessageFlow"},codestarnotifications:{prefix:"codestar-notifications",name:"CodeStarNotifications"},savingsplans:{name:"SavingsPlans"},sso:{name:"SSO"},ssooidc:{prefix:"sso-oidc",name:"SSOOIDC"},marketplacecatalog:{prefix:"marketplace-catalog",name:"MarketplaceCatalog"},dataexchange:{name:"DataExchange"},sesv2:{name:"SESV2"},migrationhubconfig:{prefix:"migrationhub-config",name:"MigrationHubConfig"},connectparticipant:{name:"ConnectParticipant"},appconfig:{name:"AppConfig"},iotsecuretunneling:{name:"IoTSecureTunneling"},wafv2:{name:"WAFV2"},elasticinference:{prefix:"elastic-inference",name:"ElasticInference"},imagebuilder:{name:"Imagebuilder"},schemas:{name:"Schemas"},accessanalyzer:{name:"AccessAnalyzer"},codegurureviewer:{prefix:"codeguru-reviewer",name:"CodeGuruReviewer"},codeguruprofiler:{name:"CodeGuruProfiler"},computeoptimizer:{prefix:"compute-optimizer",name:"ComputeOptimizer"},frauddetector:{name:"FraudDetector"},kendra:{name:"Kendra"},networkmanager:{name:"NetworkManager"},outposts:{name:"Outposts"},augmentedairuntime:{prefix:"sagemaker-a2i-runtime",name:"AugmentedAIRuntime"},ebs:{name:"EBS"},kinesisvideosignalingchannels:{prefix:"kinesis-video-signaling",name:"KinesisVideoSignalingChannels",cors:!0},detective:{name:"Detective"},codestarconnections:{prefix:"codestar-connections",name:"CodeStarconnections"},synthetics:{name:"Synthetics"},iotsitewise:{name:"IoTSiteWise"},macie2:{name:"Macie2"},codeartifact:{name:"CodeArtifact"},honeycode:{name:"Honeycode"},ivs:{name:"IVS"},braket:{name:"Braket"},identitystore:{name:"IdentityStore"},appflow:{name:"Appflow"},redshiftdata:{prefix:"redshift-data",name:"RedshiftData"},ssoadmin:{prefix:"sso-admin",name:"SSOAdmin"},timestreamquery:{prefix:"timestream-query",name:"TimestreamQuery"},timestreamwrite:{prefix:"timestream-write",name:"TimestreamWrite"},s3outposts:{name:"S3Outposts"},databrew:{name:"DataBrew"},servicecatalogappregistry:{prefix:"servicecatalog-appregistry",name:"ServiceCatalogAppRegistry"},networkfirewall:{prefix:"network-firewall",name:"NetworkFirewall"},mwaa:{name:"MWAA"},amplifybackend:{name:"AmplifyBackend"},appintegrations:{name:"AppIntegrations"},connectcontactlens:{prefix:"connect-contact-lens",name:"ConnectContactLens"},devopsguru:{prefix:"devops-guru",name:"DevOpsGuru"},ecrpublic:{prefix:"ecr-public",name:"ECRPUBLIC"},lookoutvision:{name:"LookoutVision"},sagemakerfeaturestoreruntime:{prefix:"sagemaker-featurestore-runtime",name:"SageMakerFeatureStoreRuntime"},customerprofiles:{prefix:"customer-profiles",name:"CustomerProfiles"},auditmanager:{name:"AuditManager"},emrcontainers:{prefix:"emr-containers",name:"EMRcontainers"},healthlake:{name:"HealthLake"},sagemakeredge:{prefix:"sagemaker-edge",name:"SagemakerEdge"},amp:{name:"Amp"},greengrassv2:{name:"GreengrassV2"},iotdeviceadvisor:{name:"IotDeviceAdvisor"},iotfleethub:{name:"IoTFleetHub"},iotwireless:{name:"IoTWireless"},location:{name:"Location",cors:!0},wellarchitected:{name:"WellArchitected"},lexmodelsv2:{prefix:"models.lex.v2",name:"LexModelsV2"},lexruntimev2:{prefix:"runtime.lex.v2",name:"LexRuntimeV2",cors:!0},fis:{name:"Fis"},lookoutmetrics:{name:"LookoutMetrics"},mgn:{name:"Mgn"},lookoutequipment:{name:"LookoutEquipment"},nimble:{name:"Nimble"},finspace:{name:"Finspace"},finspacedata:{prefix:"finspace-data",name:"Finspacedata"},ssmcontacts:{prefix:"ssm-contacts",name:"SSMContacts"},ssmincidents:{prefix:"ssm-incidents",name:"SSMIncidents"},applicationcostprofiler:{name:"ApplicationCostProfiler"},apprunner:{name:"AppRunner"},proton:{name:"Proton"},route53recoverycluster:{prefix:"route53-recovery-cluster",name:"Route53RecoveryCluster"},route53recoverycontrolconfig:{prefix:"route53-recovery-control-config",name:"Route53RecoveryControlConfig"},route53recoveryreadiness:{prefix:"route53-recovery-readiness",name:"Route53RecoveryReadiness"},chimesdkidentity:{prefix:"chime-sdk-identity",name:"ChimeSDKIdentity"},chimesdkmessaging:{prefix:"chime-sdk-messaging",name:"ChimeSDKMessaging"},snowdevicemanagement:{prefix:"snow-device-management",name:"SnowDeviceManagement"},memorydb:{name:"MemoryDB"},opensearch:{name:"OpenSearch"},kafkaconnect:{name:"KafkaConnect"},voiceid:{prefix:"voice-id",name:"VoiceID"},wisdom:{name:"Wisdom"},account:{name:"Account"},cloudcontrol:{name:"CloudControl"},grafana:{name:"Grafana"},panorama:{name:"Panorama"},chimesdkmeetings:{prefix:"chime-sdk-meetings",name:"ChimeSDKMeetings"},resiliencehub:{name:"Resiliencehub"},migrationhubstrategy:{name:"MigrationHubStrategy"},appconfigdata:{name:"AppConfigData"},drs:{name:"Drs"},migrationhubrefactorspaces:{prefix:"migration-hub-refactor-spaces",name:"MigrationHubRefactorSpaces"},evidently:{name:"Evidently"},inspector2:{name:"Inspector2"},rbin:{name:"Rbin"},rum:{name:"RUM"},backupgateway:{prefix:"backup-gateway",name:"BackupGateway"},iottwinmaker:{name:"IoTTwinMaker"},workspacesweb:{prefix:"workspaces-web",name:"WorkSpacesWeb"},amplifyuibuilder:{name:"AmplifyUIBuilder"}}},{}],164:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-06-05",endpointPrefix:"mobileanalytics",serviceFullName:"Amazon Mobile Analytics",serviceId:"Mobile Analytics",signatureVersion:"v4",protocol:"rest-json"},operations:{PutEvents:{http:{requestUri:"/2014-06-05/events",responseCode:202},input:{type:"structure",required:["events","clientContext"],members:{events:{type:"list",member:{type:"structure",required:["eventType","timestamp"],members:{eventType:{},timestamp:{},session:{type:"structure",members:{id:{},duration:{type:"long"},startTimestamp:{},stopTimestamp:{}}},version:{},attributes:{type:"map",key:{},value:{}},metrics:{type:"map",key:{},value:{type:"double"}}}}},clientContext:{location:"header",locationName:"x-amz-Client-Context"},clientContextEncoding:{location:"header",locationName:"x-amz-Client-Context-Encoding"}}}}},shapes:{}}},{}],165:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-08-01",endpointPrefix:"monitoring",protocol:"query",serviceAbbreviation:"CloudWatch",serviceFullName:"Amazon CloudWatch",serviceId:"CloudWatch",signatureVersion:"v4",uid:"monitoring-2010-08-01",xmlNamespace:"http://monitoring.amazonaws.com/doc/2010-08-01/"},operations:{DeleteAlarms:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},DeleteAnomalyDetector:{input:{type:"structure",members:{Namespace:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},MetricName:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Dimensions:{shape:"S7",deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Stat:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},SingleMetricAnomalyDetector:{shape:"Sc"},MetricMathAnomalyDetector:{shape:"Sd"}}},output:{resultWrapper:"DeleteAnomalyDetectorResult",type:"structure",members:{}}},DeleteDashboards:{input:{type:"structure",required:["DashboardNames"],members:{DashboardNames:{type:"list",member:{}}}},output:{resultWrapper:"DeleteDashboardsResult",type:"structure",members:{}}},DeleteInsightRules:{input:{type:"structure",required:["RuleNames"],members:{RuleNames:{shape:"Sw"}}},output:{resultWrapper:"DeleteInsightRulesResult",type:"structure",members:{Failures:{shape:"Sz"}}}},DeleteMetricStream:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{resultWrapper:"DeleteMetricStreamResult",type:"structure",members:{}}},DescribeAlarmHistory:{input:{type:"structure",members:{AlarmName:{},AlarmTypes:{shape:"S19"},HistoryItemType:{},StartDate:{type:"timestamp"},EndDate:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{},ScanBy:{}}},output:{resultWrapper:"DescribeAlarmHistoryResult",type:"structure",members:{AlarmHistoryItems:{type:"list",member:{type:"structure",members:{AlarmName:{},AlarmType:{},Timestamp:{type:"timestamp"},HistoryItemType:{},HistorySummary:{},HistoryData:{}}}},NextToken:{}}}},DescribeAlarms:{input:{type:"structure",members:{AlarmNames:{shape:"S2"},AlarmNamePrefix:{},AlarmTypes:{shape:"S19"},ChildrenOfAlarmName:{},ParentsOfAlarmName:{},StateValue:{},ActionPrefix:{},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeAlarmsResult",type:"structure",members:{CompositeAlarms:{type:"list",member:{type:"structure",members:{ActionsEnabled:{type:"boolean"},AlarmActions:{shape:"S1t"},AlarmArn:{},AlarmConfigurationUpdatedTimestamp:{type:"timestamp"},AlarmDescription:{},AlarmName:{},AlarmRule:{},InsufficientDataActions:{shape:"S1t"},OKActions:{shape:"S1t"},StateReason:{},StateReasonData:{},StateUpdatedTimestamp:{type:"timestamp"},StateValue:{}},xmlOrder:["ActionsEnabled","AlarmActions","AlarmArn","AlarmConfigurationUpdatedTimestamp","AlarmDescription","AlarmName","AlarmRule","InsufficientDataActions","OKActions","StateReason","StateReasonData","StateUpdatedTimestamp","StateValue"]}},MetricAlarms:{shape:"S20"},NextToken:{}}}},DescribeAlarmsForMetric:{input:{type:"structure",required:["MetricName","Namespace"],members:{MetricName:{},Namespace:{},Statistic:{},ExtendedStatistic:{},Dimensions:{shape:"S7"},Period:{type:"integer"},Unit:{}}},output:{resultWrapper:"DescribeAlarmsForMetricResult",type:"structure",members:{MetricAlarms:{shape:"S20"}}}},DescribeAnomalyDetectors:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},Namespace:{},MetricName:{},Dimensions:{shape:"S7"},AnomalyDetectorTypes:{type:"list",member:{}}}},output:{resultWrapper:"DescribeAnomalyDetectorsResult",type:"structure",members:{AnomalyDetectors:{type:"list",member:{type:"structure",members:{Namespace:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector.Namespace property."},MetricName:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector.MetricName property."},Dimensions:{shape:"S7",deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector.Dimensions property."},Stat:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector.Stat property."},Configuration:{shape:"S2j"},StateValue:{},SingleMetricAnomalyDetector:{shape:"Sc"},MetricMathAnomalyDetector:{shape:"Sd"}}}},NextToken:{}}}},DescribeInsightRules:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"DescribeInsightRulesResult",type:"structure",members:{NextToken:{},InsightRules:{type:"list",member:{type:"structure",required:["Name","State","Schema","Definition"],members:{Name:{},State:{},Schema:{},Definition:{}}}}}}},DisableAlarmActions:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},DisableInsightRules:{input:{type:"structure",required:["RuleNames"],members:{RuleNames:{shape:"Sw"}}},output:{resultWrapper:"DisableInsightRulesResult",type:"structure",members:{Failures:{shape:"Sz"}}}},EnableAlarmActions:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}}},EnableInsightRules:{input:{type:"structure",required:["RuleNames"],members:{RuleNames:{shape:"Sw"}}},output:{resultWrapper:"EnableInsightRulesResult",type:"structure",members:{Failures:{shape:"Sz"}}}},GetDashboard:{input:{type:"structure",required:["DashboardName"],members:{DashboardName:{}}},output:{resultWrapper:"GetDashboardResult",type:"structure",members:{DashboardArn:{},DashboardBody:{},DashboardName:{}}}},GetInsightRuleReport:{input:{type:"structure",required:["RuleName","StartTime","EndTime","Period"],members:{RuleName:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Period:{type:"integer"},MaxContributorCount:{type:"integer"},Metrics:{type:"list",member:{}},OrderBy:{}}},output:{resultWrapper:"GetInsightRuleReportResult",type:"structure",members:{KeyLabels:{type:"list",member:{}},AggregationStatistic:{},AggregateValue:{type:"double"},ApproximateUniqueCount:{type:"long"},Contributors:{type:"list",member:{type:"structure",required:["Keys","ApproximateAggregateValue","Datapoints"],members:{Keys:{type:"list",member:{}},ApproximateAggregateValue:{type:"double"},Datapoints:{type:"list",member:{type:"structure",required:["Timestamp","ApproximateValue"],members:{Timestamp:{type:"timestamp"},ApproximateValue:{type:"double"}}}}}}},MetricDatapoints:{type:"list",member:{type:"structure",required:["Timestamp"],members:{Timestamp:{type:"timestamp"},UniqueContributors:{type:"double"},MaxContributorValue:{type:"double"},SampleCount:{type:"double"},Average:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"}}}}}}},GetMetricData:{input:{type:"structure",required:["MetricDataQueries","StartTime","EndTime"],members:{MetricDataQueries:{shape:"Se"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},NextToken:{},ScanBy:{},MaxDatapoints:{type:"integer"},LabelOptions:{type:"structure",members:{Timezone:{}}}}},output:{resultWrapper:"GetMetricDataResult",type:"structure",members:{MetricDataResults:{type:"list",member:{type:"structure",members:{Id:{},Label:{},Timestamps:{type:"list",member:{type:"timestamp"}},Values:{type:"list",member:{type:"double"}},StatusCode:{},Messages:{shape:"S40"}}}},NextToken:{},Messages:{shape:"S40"}}}},GetMetricStatistics:{input:{type:"structure",required:["Namespace","MetricName","StartTime","EndTime","Period"],members:{Namespace:{},MetricName:{},Dimensions:{shape:"S7"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Period:{type:"integer"},Statistics:{type:"list",member:{}},ExtendedStatistics:{type:"list",member:{}},Unit:{}}},output:{resultWrapper:"GetMetricStatisticsResult",type:"structure",members:{Label:{},Datapoints:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},SampleCount:{type:"double"},Average:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"},Unit:{},ExtendedStatistics:{type:"map",key:{},value:{type:"double"}}},xmlOrder:["Timestamp","SampleCount","Average","Sum","Minimum","Maximum","Unit","ExtendedStatistics"]}}}}},GetMetricStream:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{resultWrapper:"GetMetricStreamResult",type:"structure",members:{Arn:{},Name:{},IncludeFilters:{shape:"S4e"},ExcludeFilters:{shape:"S4e"},FirehoseArn:{},RoleArn:{},State:{},CreationDate:{type:"timestamp"},LastUpdateDate:{type:"timestamp"},OutputFormat:{}}}},GetMetricWidgetImage:{input:{type:"structure",required:["MetricWidget"],members:{MetricWidget:{},OutputFormat:{}}},output:{resultWrapper:"GetMetricWidgetImageResult",type:"structure",members:{MetricWidgetImage:{type:"blob"}}}},ListDashboards:{input:{type:"structure",members:{DashboardNamePrefix:{},NextToken:{}}},output:{resultWrapper:"ListDashboardsResult",type:"structure",members:{DashboardEntries:{type:"list",member:{type:"structure",members:{DashboardName:{},DashboardArn:{},LastModified:{type:"timestamp"},Size:{type:"long"}}}},NextToken:{}}}},ListMetricStreams:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListMetricStreamsResult",type:"structure",members:{NextToken:{},Entries:{type:"list",member:{type:"structure",members:{Arn:{},CreationDate:{type:"timestamp"},LastUpdateDate:{type:"timestamp"},Name:{},FirehoseArn:{},State:{},OutputFormat:{}}}}}}},ListMetrics:{input:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Value:{}}}},NextToken:{},RecentlyActive:{}}},output:{resultWrapper:"ListMetricsResult",type:"structure",members:{Metrics:{type:"list",member:{shape:"Si"}},NextToken:{}},xmlOrder:["Metrics","NextToken"]}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{Tags:{shape:"S57"}}}},PutAnomalyDetector:{input:{type:"structure",members:{Namespace:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},MetricName:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Dimensions:{shape:"S7",deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Stat:{deprecated:!0,deprecatedMessage:"Use SingleMetricAnomalyDetector."},Configuration:{shape:"S2j"},SingleMetricAnomalyDetector:{shape:"Sc"},MetricMathAnomalyDetector:{shape:"Sd"}}},output:{resultWrapper:"PutAnomalyDetectorResult",type:"structure",members:{}}},PutCompositeAlarm:{input:{type:"structure",required:["AlarmName","AlarmRule"],members:{ActionsEnabled:{type:"boolean"},AlarmActions:{shape:"S1t"},AlarmDescription:{},AlarmName:{},AlarmRule:{},InsufficientDataActions:{shape:"S1t"},OKActions:{shape:"S1t"},Tags:{shape:"S57"}}}},PutDashboard:{input:{type:"structure",required:["DashboardName","DashboardBody"],members:{DashboardName:{},DashboardBody:{}}},output:{resultWrapper:"PutDashboardResult",type:"structure",members:{DashboardValidationMessages:{type:"list",member:{type:"structure",members:{DataPath:{},Message:{}}}}}}},PutInsightRule:{input:{type:"structure",required:["RuleName","RuleDefinition"],members:{RuleName:{},RuleState:{},RuleDefinition:{},Tags:{shape:"S57"}}},output:{resultWrapper:"PutInsightRuleResult",type:"structure",members:{}}},PutMetricAlarm:{input:{type:"structure",required:["AlarmName","EvaluationPeriods","ComparisonOperator"],members:{AlarmName:{},AlarmDescription:{},ActionsEnabled:{type:"boolean"},OKActions:{shape:"S1t"},AlarmActions:{shape:"S1t"},InsufficientDataActions:{shape:"S1t"},MetricName:{},Namespace:{},Statistic:{},ExtendedStatistic:{},Dimensions:{shape:"S7"},Period:{type:"integer"},Unit:{},EvaluationPeriods:{type:"integer"},DatapointsToAlarm:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{},TreatMissingData:{},EvaluateLowSampleCountPercentile:{},Metrics:{shape:"Se"},Tags:{shape:"S57"},ThresholdMetricId:{}}}},PutMetricData:{input:{type:"structure",required:["Namespace","MetricData"],members:{Namespace:{},MetricData:{type:"list",member:{type:"structure",required:["MetricName"],members:{MetricName:{},Dimensions:{shape:"S7"},Timestamp:{type:"timestamp"},Value:{type:"double"},StatisticValues:{type:"structure",required:["SampleCount","Sum","Minimum","Maximum"],members:{SampleCount:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"}}},Values:{type:"list",member:{type:"double"}},Counts:{type:"list",member:{type:"double"}},Unit:{},StorageResolution:{type:"integer"}}}}}}},PutMetricStream:{input:{type:"structure",required:["Name","FirehoseArn","RoleArn","OutputFormat"],members:{Name:{},IncludeFilters:{shape:"S4e"},ExcludeFilters:{shape:"S4e"},FirehoseArn:{},RoleArn:{},OutputFormat:{},Tags:{shape:"S57"}}},output:{resultWrapper:"PutMetricStreamResult",type:"structure",members:{Arn:{}}}},SetAlarmState:{input:{type:"structure",required:["AlarmName","StateValue","StateReason"],members:{AlarmName:{},StateValue:{},StateReason:{},StateReasonData:{}}}},StartMetricStreams:{input:{type:"structure",required:["Names"],members:{Names:{shape:"S5y"}}},output:{resultWrapper:"StartMetricStreamsResult",type:"structure",members:{}}},StopMetricStreams:{input:{type:"structure",required:["Names"],members:{Names:{shape:"S5y"}}},output:{resultWrapper:"StopMetricStreamsResult",type:"structure",members:{}}},TagResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"S57"}}},output:{resultWrapper:"TagResourceResult",type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{resultWrapper:"UntagResourceResult",type:"structure",members:{}}}},shapes:{S2:{type:"list",member:{}},S7:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}},xmlOrder:["Name","Value"]}},Sc:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{shape:"S7"},Stat:{}}},Sd:{type:"structure",members:{MetricDataQueries:{shape:"Se"}}},Se:{type:"list",member:{type:"structure",required:["Id"],members:{Id:{},MetricStat:{type:"structure",required:["Metric","Period","Stat"],members:{Metric:{shape:"Si"},Period:{type:"integer"},Stat:{},Unit:{}}},Expression:{},Label:{},ReturnData:{type:"boolean"},Period:{type:"integer"},AccountId:{}}}},Si:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{shape:"S7"}},xmlOrder:["Namespace","MetricName","Dimensions"]},Sw:{type:"list",member:{}},Sz:{type:"list",member:{type:"structure",members:{FailureResource:{},ExceptionType:{},FailureCode:{},FailureDescription:{}}}},S19:{type:"list",member:{}},S1t:{type:"list",member:{}},S20:{type:"list",member:{type:"structure",members:{AlarmName:{},AlarmArn:{},AlarmDescription:{},AlarmConfigurationUpdatedTimestamp:{type:"timestamp"},ActionsEnabled:{type:"boolean"},OKActions:{shape:"S1t"},AlarmActions:{shape:"S1t"},InsufficientDataActions:{shape:"S1t"},StateValue:{},StateReason:{},StateReasonData:{},StateUpdatedTimestamp:{type:"timestamp"},MetricName:{},Namespace:{},Statistic:{},ExtendedStatistic:{},Dimensions:{shape:"S7"},Period:{type:"integer"},Unit:{},EvaluationPeriods:{type:"integer"},DatapointsToAlarm:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{},TreatMissingData:{},EvaluateLowSampleCountPercentile:{},Metrics:{shape:"Se"},ThresholdMetricId:{}},xmlOrder:["AlarmName","AlarmArn","AlarmDescription","AlarmConfigurationUpdatedTimestamp","ActionsEnabled","OKActions","AlarmActions","InsufficientDataActions","StateValue","StateReason","StateReasonData","StateUpdatedTimestamp","MetricName","Namespace","Statistic","Dimensions","Period","Unit","EvaluationPeriods","Threshold","ComparisonOperator","ExtendedStatistic","TreatMissingData","EvaluateLowSampleCountPercentile","DatapointsToAlarm","Metrics","ThresholdMetricId"]}},S2j:{type:"structure",members:{ExcludedTimeRanges:{type:"list",member:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}},xmlOrder:["StartTime","EndTime"]}},MetricTimezone:{}}},S40:{type:"list",member:{type:"structure",members:{Code:{},Value:{}}}},S4e:{type:"list",member:{type:"structure",members:{Namespace:{}}}},S57:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S5y:{type:"list",member:{}}}}},{}],166:[function(e,t,r){t.exports={pagination:{DescribeAlarmHistory:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken",result_key:"AlarmHistoryItems"},DescribeAlarms:{input_token:"NextToken",limit_key:"MaxRecords",output_token:"NextToken",result_key:["MetricAlarms","CompositeAlarms"]},DescribeAlarmsForMetric:{result_key:"MetricAlarms"},DescribeInsightRules:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetMetricData:{input_token:"NextToken",limit_key:"MaxDatapoints",output_token:"NextToken",result_key:["MetricDataResults","Messages"]},ListDashboards:{input_token:"NextToken",output_token:"NextToken",result_key:"DashboardEntries"},ListMetricStreams:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListMetrics:{input_token:"NextToken",output_token:"NextToken",result_key:"Metrics"}}}},{}],167:[function(e,t,r){t.exports={version:2,waiters:{AlarmExists:{delay:5,maxAttempts:40,operation:"DescribeAlarms",acceptors:[{matcher:"path",expected:!0,argument:"length(MetricAlarms[]) > `0`",state:"success"}]},CompositeAlarmExists:{delay:5,maxAttempts:40,operation:"DescribeAlarms",acceptors:[{matcher:"path",expected:!0,argument:"length(CompositeAlarms[]) > `0`",state:"success"}]}}}},{}],168:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-01-17",endpointPrefix:"mturk-requester",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon MTurk",serviceFullName:"Amazon Mechanical Turk",serviceId:"MTurk",signatureVersion:"v4",targetPrefix:"MTurkRequesterServiceV20170117",uid:"mturk-requester-2017-01-17"},operations:{AcceptQualificationRequest:{input:{type:"structure",required:["QualificationRequestId"],members:{QualificationRequestId:{},IntegerValue:{type:"integer"}}},output:{type:"structure",members:{}}},ApproveAssignment:{input:{type:"structure",required:["AssignmentId"],members:{AssignmentId:{},RequesterFeedback:{},OverrideRejection:{type:"boolean"}}},output:{type:"structure",members:{}},idempotent:!0},AssociateQualificationWithWorker:{input:{type:"structure",required:["QualificationTypeId","WorkerId"],members:{QualificationTypeId:{},WorkerId:{},IntegerValue:{type:"integer"},SendNotification:{type:"boolean"}}},output:{type:"structure",members:{}}},CreateAdditionalAssignmentsForHIT:{input:{type:"structure",required:["HITId","NumberOfAdditionalAssignments"],members:{HITId:{},NumberOfAdditionalAssignments:{type:"integer"},UniqueRequestToken:{}}},output:{type:"structure",members:{}}},CreateHIT:{input:{type:"structure",required:["LifetimeInSeconds","AssignmentDurationInSeconds","Reward","Title","Description"],members:{MaxAssignments:{type:"integer"},AutoApprovalDelayInSeconds:{type:"long"},LifetimeInSeconds:{type:"long"},AssignmentDurationInSeconds:{type:"long"},Reward:{},Title:{},Keywords:{},Description:{},Question:{},RequesterAnnotation:{},QualificationRequirements:{shape:"Si"},UniqueRequestToken:{},AssignmentReviewPolicy:{shape:"Sq"},HITReviewPolicy:{shape:"Sq"},HITLayoutId:{},HITLayoutParameters:{shape:"Sw"}}},output:{type:"structure",members:{HIT:{shape:"Sz"}}}},CreateHITType:{input:{type:"structure",required:["AssignmentDurationInSeconds","Reward","Title","Description"],members:{AutoApprovalDelayInSeconds:{type:"long"},AssignmentDurationInSeconds:{type:"long"},Reward:{},Title:{},Keywords:{},Description:{},QualificationRequirements:{shape:"Si"}}},output:{type:"structure",members:{HITTypeId:{}}},idempotent:!0},CreateHITWithHITType:{input:{type:"structure",required:["HITTypeId","LifetimeInSeconds"],members:{HITTypeId:{},MaxAssignments:{type:"integer"},LifetimeInSeconds:{type:"long"},Question:{},RequesterAnnotation:{},UniqueRequestToken:{},AssignmentReviewPolicy:{shape:"Sq"},HITReviewPolicy:{shape:"Sq"},HITLayoutId:{},HITLayoutParameters:{shape:"Sw"}}},output:{type:"structure",members:{HIT:{shape:"Sz"}}}},CreateQualificationType:{input:{type:"structure",required:["Name","Description","QualificationTypeStatus"],members:{Name:{},Keywords:{},Description:{},QualificationTypeStatus:{},RetryDelayInSeconds:{type:"long"},Test:{},AnswerKey:{},TestDurationInSeconds:{type:"long"},AutoGranted:{type:"boolean"},AutoGrantedValue:{type:"integer"}}},output:{type:"structure",members:{QualificationType:{shape:"S1a"}}}},CreateWorkerBlock:{input:{type:"structure",required:["WorkerId","Reason"],members:{WorkerId:{},Reason:{}}},output:{type:"structure",members:{}}},DeleteHIT:{input:{type:"structure",required:["HITId"],members:{HITId:{}}},output:{type:"structure",members:{}},idempotent:!0},DeleteQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{}}},output:{type:"structure",members:{}},idempotent:!0},DeleteWorkerBlock:{input:{type:"structure",required:["WorkerId"],members:{WorkerId:{},Reason:{}}},output:{type:"structure",members:{}},idempotent:!0},DisassociateQualificationFromWorker:{input:{type:"structure",required:["WorkerId","QualificationTypeId"],members:{WorkerId:{},QualificationTypeId:{},Reason:{}}},output:{type:"structure",members:{}}},GetAccountBalance:{input:{type:"structure",members:{}},output:{type:"structure",members:{AvailableBalance:{},OnHoldBalance:{}}},idempotent:!0},GetAssignment:{input:{type:"structure",required:["AssignmentId"],members:{AssignmentId:{}}},output:{type:"structure",members:{Assignment:{shape:"S1p"},HIT:{shape:"Sz"}}},idempotent:!0},GetFileUploadURL:{input:{type:"structure",required:["AssignmentId","QuestionIdentifier"],members:{AssignmentId:{},QuestionIdentifier:{}}},output:{type:"structure",members:{FileUploadURL:{}}},idempotent:!0},GetHIT:{input:{type:"structure",required:["HITId"],members:{HITId:{}}},output:{type:"structure",members:{HIT:{shape:"Sz"}}},idempotent:!0},GetQualificationScore:{input:{type:"structure",required:["QualificationTypeId","WorkerId"],members:{QualificationTypeId:{},WorkerId:{}}},output:{type:"structure",members:{Qualification:{shape:"S1x"}}},idempotent:!0},GetQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{}}},output:{type:"structure",members:{QualificationType:{shape:"S1a"}}},idempotent:!0},ListAssignmentsForHIT:{input:{type:"structure",required:["HITId"],members:{HITId:{},NextToken:{},MaxResults:{type:"integer"},AssignmentStatuses:{type:"list",member:{}}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},Assignments:{type:"list",member:{shape:"S1p"}}}},idempotent:!0},ListBonusPayments:{input:{type:"structure",members:{HITId:{},AssignmentId:{},NextToken:{},MaxResults:{type:"integer"}} +},output:{type:"structure",members:{NumResults:{type:"integer"},NextToken:{},BonusPayments:{type:"list",member:{type:"structure",members:{WorkerId:{},BonusAmount:{},AssignmentId:{},Reason:{},GrantTime:{type:"timestamp"}}}}}},idempotent:!0},ListHITs:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},HITs:{shape:"S2d"}}},idempotent:!0},ListHITsForQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},HITs:{shape:"S2d"}}},idempotent:!0},ListQualificationRequests:{input:{type:"structure",members:{QualificationTypeId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NumResults:{type:"integer"},NextToken:{},QualificationRequests:{type:"list",member:{type:"structure",members:{QualificationRequestId:{},QualificationTypeId:{},WorkerId:{},Test:{},Answer:{},SubmitTime:{type:"timestamp"}}}}}},idempotent:!0},ListQualificationTypes:{input:{type:"structure",required:["MustBeRequestable"],members:{Query:{},MustBeRequestable:{type:"boolean"},MustBeOwnedByCaller:{type:"boolean"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NumResults:{type:"integer"},NextToken:{},QualificationTypes:{type:"list",member:{shape:"S1a"}}}},idempotent:!0},ListReviewPolicyResultsForHIT:{input:{type:"structure",required:["HITId"],members:{HITId:{},PolicyLevels:{type:"list",member:{}},RetrieveActions:{type:"boolean"},RetrieveResults:{type:"boolean"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{HITId:{},AssignmentReviewPolicy:{shape:"Sq"},HITReviewPolicy:{shape:"Sq"},AssignmentReviewReport:{shape:"S2r"},HITReviewReport:{shape:"S2r"},NextToken:{}}},idempotent:!0},ListReviewableHITs:{input:{type:"structure",members:{HITTypeId:{},Status:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},HITs:{shape:"S2d"}}},idempotent:!0},ListWorkerBlocks:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},WorkerBlocks:{type:"list",member:{type:"structure",members:{WorkerId:{},Reason:{}}}}}},idempotent:!0},ListWorkersWithQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{},Status:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},NumResults:{type:"integer"},Qualifications:{type:"list",member:{shape:"S1x"}}}},idempotent:!0},NotifyWorkers:{input:{type:"structure",required:["Subject","MessageText","WorkerIds"],members:{Subject:{},MessageText:{},WorkerIds:{type:"list",member:{}}}},output:{type:"structure",members:{NotifyWorkersFailureStatuses:{type:"list",member:{type:"structure",members:{NotifyWorkersFailureCode:{},NotifyWorkersFailureMessage:{},WorkerId:{}}}}}}},RejectAssignment:{input:{type:"structure",required:["AssignmentId","RequesterFeedback"],members:{AssignmentId:{},RequesterFeedback:{}}},output:{type:"structure",members:{}},idempotent:!0},RejectQualificationRequest:{input:{type:"structure",required:["QualificationRequestId"],members:{QualificationRequestId:{},Reason:{}}},output:{type:"structure",members:{}}},SendBonus:{input:{type:"structure",required:["WorkerId","BonusAmount","AssignmentId","Reason"],members:{WorkerId:{},BonusAmount:{},AssignmentId:{},Reason:{},UniqueRequestToken:{}}},output:{type:"structure",members:{}}},SendTestEventNotification:{input:{type:"structure",required:["Notification","TestEventType"],members:{Notification:{shape:"S3k"},TestEventType:{}}},output:{type:"structure",members:{}}},UpdateExpirationForHIT:{input:{type:"structure",required:["HITId","ExpireAt"],members:{HITId:{},ExpireAt:{type:"timestamp"}}},output:{type:"structure",members:{}},idempotent:!0},UpdateHITReviewStatus:{input:{type:"structure",required:["HITId"],members:{HITId:{},Revert:{type:"boolean"}}},output:{type:"structure",members:{}},idempotent:!0},UpdateHITTypeOfHIT:{input:{type:"structure",required:["HITId","HITTypeId"],members:{HITId:{},HITTypeId:{}}},output:{type:"structure",members:{}},idempotent:!0},UpdateNotificationSettings:{input:{type:"structure",required:["HITTypeId"],members:{HITTypeId:{},Notification:{shape:"S3k"},Active:{type:"boolean"}}},output:{type:"structure",members:{}},idempotent:!0},UpdateQualificationType:{input:{type:"structure",required:["QualificationTypeId"],members:{QualificationTypeId:{},Description:{},QualificationTypeStatus:{},Test:{},AnswerKey:{},TestDurationInSeconds:{type:"long"},RetryDelayInSeconds:{type:"long"},AutoGranted:{type:"boolean"},AutoGrantedValue:{type:"integer"}}},output:{type:"structure",members:{QualificationType:{shape:"S1a"}}}}},shapes:{Si:{type:"list",member:{type:"structure",required:["QualificationTypeId","Comparator"],members:{QualificationTypeId:{},Comparator:{},IntegerValues:{type:"list",member:{type:"integer"}},LocaleValues:{type:"list",member:{shape:"Sn"}},RequiredToPreview:{deprecated:!0,type:"boolean"},ActionsGuarded:{}}}},Sn:{type:"structure",required:["Country"],members:{Country:{},Subdivision:{}}},Sq:{type:"structure",required:["PolicyName"],members:{PolicyName:{},Parameters:{type:"list",member:{type:"structure",members:{Key:{},Values:{shape:"St"},MapEntries:{type:"list",member:{type:"structure",members:{Key:{},Values:{shape:"St"}}}}}}}}},St:{type:"list",member:{}},Sw:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}},Sz:{type:"structure",members:{HITId:{},HITTypeId:{},HITGroupId:{},HITLayoutId:{},CreationTime:{type:"timestamp"},Title:{},Description:{},Question:{},Keywords:{},HITStatus:{},MaxAssignments:{type:"integer"},Reward:{},AutoApprovalDelayInSeconds:{type:"long"},Expiration:{type:"timestamp"},AssignmentDurationInSeconds:{type:"long"},RequesterAnnotation:{},QualificationRequirements:{shape:"Si"},HITReviewStatus:{},NumberOfAssignmentsPending:{type:"integer"},NumberOfAssignmentsAvailable:{type:"integer"},NumberOfAssignmentsCompleted:{type:"integer"}}},S1a:{type:"structure",members:{QualificationTypeId:{},CreationTime:{type:"timestamp"},Name:{},Description:{},Keywords:{},QualificationTypeStatus:{},Test:{},TestDurationInSeconds:{type:"long"},AnswerKey:{},RetryDelayInSeconds:{type:"long"},IsRequestable:{type:"boolean"},AutoGranted:{type:"boolean"},AutoGrantedValue:{type:"integer"}}},S1p:{type:"structure",members:{AssignmentId:{},WorkerId:{},HITId:{},AssignmentStatus:{},AutoApprovalTime:{type:"timestamp"},AcceptTime:{type:"timestamp"},SubmitTime:{type:"timestamp"},ApprovalTime:{type:"timestamp"},RejectionTime:{type:"timestamp"},Deadline:{type:"timestamp"},Answer:{},RequesterFeedback:{}}},S1x:{type:"structure",members:{QualificationTypeId:{},WorkerId:{},GrantTime:{type:"timestamp"},IntegerValue:{type:"integer"},LocaleValue:{shape:"Sn"},Status:{}}},S2d:{type:"list",member:{shape:"Sz"}},S2r:{type:"structure",members:{ReviewResults:{type:"list",member:{type:"structure",members:{ActionId:{},SubjectId:{},SubjectType:{},QuestionId:{},Key:{},Value:{}}}},ReviewActions:{type:"list",member:{type:"structure",members:{ActionId:{},ActionName:{},TargetId:{},TargetType:{},Status:{},CompleteTime:{type:"timestamp"},Result:{},ErrorCode:{}}}}}},S3k:{type:"structure",required:["Destination","Transport","Version","EventTypes"],members:{Destination:{},Transport:{},Version:{},EventTypes:{type:"list",member:{}}}}}}},{}],169:[function(e,t,r){t.exports={pagination:{ListAssignmentsForHIT:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListBonusPayments:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListHITs:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListHITsForQualificationType:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListQualificationRequests:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListQualificationTypes:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListReviewPolicyResultsForHIT:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListReviewableHITs:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListWorkerBlocks:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListWorkersWithQualificationType:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],170:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-02-18",endpointPrefix:"opsworks",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS OpsWorks",serviceId:"OpsWorks",signatureVersion:"v4",targetPrefix:"OpsWorks_20130218",uid:"opsworks-2013-02-18"},operations:{AssignInstance:{input:{type:"structure",required:["InstanceId","LayerIds"],members:{InstanceId:{},LayerIds:{shape:"S3"}}}},AssignVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},InstanceId:{}}}},AssociateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{},InstanceId:{}}}},AttachElasticLoadBalancer:{input:{type:"structure",required:["ElasticLoadBalancerName","LayerId"],members:{ElasticLoadBalancerName:{},LayerId:{}}}},CloneStack:{input:{type:"structure",required:["SourceStackId","ServiceRoleArn"],members:{SourceStackId:{},Name:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},ClonePermissions:{type:"boolean"},CloneAppIds:{shape:"S3"},DefaultRootDeviceType:{},AgentVersion:{}}},output:{type:"structure",members:{StackId:{}}}},CreateApp:{input:{type:"structure",required:["StackId","Name","Type"],members:{StackId:{},Shortname:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},Environment:{shape:"So"}}},output:{type:"structure",members:{AppId:{}}}},CreateDeployment:{input:{type:"structure",required:["StackId","Command"],members:{StackId:{},AppId:{},InstanceIds:{shape:"S3"},LayerIds:{shape:"S3"},Command:{shape:"Ss"},Comment:{},CustomJson:{}}},output:{type:"structure",members:{DeploymentId:{}}}},CreateInstance:{input:{type:"structure",required:["StackId","LayerIds","InstanceType"],members:{StackId:{},LayerIds:{shape:"S3"},InstanceType:{},AutoScalingType:{},Hostname:{},Os:{},AmiId:{},SshKeyName:{},AvailabilityZone:{},VirtualizationType:{},SubnetId:{},Architecture:{},RootDeviceType:{},BlockDeviceMappings:{shape:"Sz"},InstallUpdatesOnBoot:{type:"boolean"},EbsOptimized:{type:"boolean"},AgentVersion:{},Tenancy:{}}},output:{type:"structure",members:{InstanceId:{}}}},CreateLayer:{input:{type:"structure",required:["StackId","Type","Name","Shortname"],members:{StackId:{},Type:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CloudWatchLogsConfiguration:{shape:"S19"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S1f"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},CustomRecipes:{shape:"S1h"},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1i"}}},output:{type:"structure",members:{LayerId:{}}}},CreateStack:{input:{type:"structure",required:["Name","Region","ServiceRoleArn","DefaultInstanceProfileArn"],members:{Name:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},DefaultRootDeviceType:{},AgentVersion:{}}},output:{type:"structure",members:{StackId:{}}}},CreateUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}},output:{type:"structure",members:{IamUserArn:{}}}},DeleteApp:{input:{type:"structure",required:["AppId"],members:{AppId:{}}}},DeleteInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},DeleteElasticIp:{type:"boolean"},DeleteVolumes:{type:"boolean"}}}},DeleteLayer:{input:{type:"structure",required:["LayerId"],members:{LayerId:{}}}},DeleteStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},DeleteUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{}}}},DeregisterEcsCluster:{input:{type:"structure",required:["EcsClusterArn"],members:{EcsClusterArn:{}}}},DeregisterElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{}}}},DeregisterInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},DeregisterRdsDbInstance:{input:{type:"structure",required:["RdsDbInstanceArn"],members:{RdsDbInstanceArn:{}}}},DeregisterVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{}}}},DescribeAgentVersions:{input:{type:"structure",members:{StackId:{},ConfigurationManager:{shape:"Sa"}}},output:{type:"structure",members:{AgentVersions:{type:"list",member:{type:"structure",members:{Version:{},ConfigurationManager:{shape:"Sa"}}}}}}},DescribeApps:{input:{type:"structure",members:{StackId:{},AppIds:{shape:"S3"}}},output:{type:"structure",members:{Apps:{type:"list",member:{type:"structure",members:{AppId:{},StackId:{},Shortname:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},CreatedAt:{},Environment:{shape:"So"}}}}}}},DescribeCommands:{input:{type:"structure",members:{DeploymentId:{},InstanceId:{},CommandIds:{shape:"S3"}}},output:{type:"structure",members:{Commands:{type:"list",member:{type:"structure",members:{CommandId:{},InstanceId:{},DeploymentId:{},CreatedAt:{},AcknowledgedAt:{},CompletedAt:{},Status:{},ExitCode:{type:"integer"},LogUrl:{},Type:{}}}}}}},DescribeDeployments:{input:{type:"structure",members:{StackId:{},AppId:{},DeploymentIds:{shape:"S3"}}},output:{type:"structure",members:{Deployments:{type:"list",member:{type:"structure",members:{DeploymentId:{},StackId:{},AppId:{},CreatedAt:{},CompletedAt:{},Duration:{type:"integer"},IamUserArn:{},Comment:{},Command:{shape:"Ss"},Status:{},CustomJson:{},InstanceIds:{shape:"S3"}}}}}}},DescribeEcsClusters:{input:{type:"structure",members:{EcsClusterArns:{shape:"S3"},StackId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{EcsClusters:{type:"list",member:{type:"structure",members:{EcsClusterArn:{},EcsClusterName:{},StackId:{},RegisteredAt:{}}}},NextToken:{}}}},DescribeElasticIps:{input:{type:"structure",members:{InstanceId:{},StackId:{},Ips:{shape:"S3"}}},output:{type:"structure",members:{ElasticIps:{type:"list",member:{type:"structure",members:{Ip:{},Name:{},Domain:{},Region:{},InstanceId:{}}}}}}},DescribeElasticLoadBalancers:{input:{type:"structure",members:{StackId:{},LayerIds:{shape:"S3"}}},output:{type:"structure",members:{ElasticLoadBalancers:{type:"list",member:{type:"structure",members:{ElasticLoadBalancerName:{},Region:{},DnsName:{},StackId:{},LayerId:{},VpcId:{},AvailabilityZones:{shape:"S3"},SubnetIds:{shape:"S3"},Ec2InstanceIds:{shape:"S3"}}}}}}},DescribeInstances:{input:{type:"structure",members:{StackId:{},LayerId:{},InstanceIds:{shape:"S3"}}},output:{type:"structure",members:{Instances:{type:"list",member:{type:"structure",members:{AgentVersion:{},AmiId:{},Architecture:{},Arn:{},AutoScalingType:{},AvailabilityZone:{},BlockDeviceMappings:{shape:"Sz"},CreatedAt:{},EbsOptimized:{type:"boolean"},Ec2InstanceId:{},EcsClusterArn:{},EcsContainerInstanceArn:{},ElasticIp:{},Hostname:{},InfrastructureClass:{},InstallUpdatesOnBoot:{type:"boolean"},InstanceId:{},InstanceProfileArn:{},InstanceType:{},LastServiceErrorId:{},LayerIds:{shape:"S3"},Os:{},Platform:{},PrivateDns:{},PrivateIp:{},PublicDns:{},PublicIp:{},RegisteredBy:{},ReportedAgentVersion:{},ReportedOs:{type:"structure",members:{Family:{},Name:{},Version:{}}},RootDeviceType:{},RootDeviceVolumeId:{},SecurityGroupIds:{shape:"S3"},SshHostDsaKeyFingerprint:{},SshHostRsaKeyFingerprint:{},SshKeyName:{},StackId:{},Status:{},SubnetId:{},Tenancy:{},VirtualizationType:{}}}}}}},DescribeLayers:{input:{type:"structure",members:{StackId:{},LayerIds:{shape:"S3"}}},output:{type:"structure",members:{Layers:{type:"list",member:{type:"structure",members:{Arn:{},StackId:{},LayerId:{},Type:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CloudWatchLogsConfiguration:{shape:"S19"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},DefaultSecurityGroupNames:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S1f"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},DefaultRecipes:{shape:"S1h"},CustomRecipes:{shape:"S1h"},CreatedAt:{},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1i"}}}}}}},DescribeLoadBasedAutoScaling:{input:{type:"structure",required:["LayerIds"],members:{LayerIds:{shape:"S3"}}},output:{type:"structure",members:{LoadBasedAutoScalingConfigurations:{type:"list",member:{type:"structure",members:{LayerId:{},Enable:{type:"boolean"},UpScaling:{shape:"S36"},DownScaling:{shape:"S36"}}}}}}},DescribeMyUserProfile:{output:{type:"structure",members:{UserProfile:{type:"structure",members:{IamUserArn:{},Name:{},SshUsername:{},SshPublicKey:{}}}}}},DescribeOperatingSystems:{output:{type:"structure",members:{OperatingSystems:{type:"list",member:{type:"structure",members:{Name:{},Id:{},Type:{},ConfigurationManagers:{type:"list",member:{type:"structure",members:{Name:{},Version:{}}}},ReportedName:{},ReportedVersion:{},Supported:{type:"boolean"}}}}}}},DescribePermissions:{input:{type:"structure",members:{IamUserArn:{},StackId:{}}},output:{type:"structure",members:{Permissions:{type:"list",member:{type:"structure",members:{StackId:{},IamUserArn:{},AllowSsh:{type:"boolean"},AllowSudo:{type:"boolean"},Level:{}}}}}}},DescribeRaidArrays:{input:{type:"structure",members:{InstanceId:{},StackId:{},RaidArrayIds:{shape:"S3"}}},output:{type:"structure",members:{RaidArrays:{type:"list",member:{type:"structure",members:{RaidArrayId:{},InstanceId:{},Name:{},RaidLevel:{type:"integer"},NumberOfDisks:{type:"integer"},Size:{type:"integer"},Device:{},MountPoint:{},AvailabilityZone:{},CreatedAt:{},StackId:{},VolumeType:{},Iops:{type:"integer"}}}}}}},DescribeRdsDbInstances:{input:{type:"structure",required:["StackId"],members:{StackId:{},RdsDbInstanceArns:{shape:"S3"}}},output:{type:"structure",members:{RdsDbInstances:{type:"list",member:{type:"structure",members:{RdsDbInstanceArn:{},DbInstanceIdentifier:{},DbUser:{},DbPassword:{},Region:{},Address:{},Engine:{},StackId:{},MissingOnRds:{type:"boolean"}}}}}}},DescribeServiceErrors:{input:{type:"structure",members:{StackId:{},InstanceId:{},ServiceErrorIds:{shape:"S3"}}},output:{type:"structure",members:{ServiceErrors:{type:"list",member:{type:"structure",members:{ServiceErrorId:{},StackId:{},InstanceId:{},Type:{},Message:{},CreatedAt:{}}}}}}},DescribeStackProvisioningParameters:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},output:{type:"structure",members:{AgentInstallerUrl:{},Parameters:{type:"map",key:{},value:{}}}}},DescribeStackSummary:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},output:{type:"structure",members:{StackSummary:{type:"structure",members:{StackId:{},Name:{},Arn:{},LayersCount:{type:"integer"},AppsCount:{type:"integer"},InstancesCount:{type:"structure",members:{Assigning:{type:"integer"},Booting:{type:"integer"},ConnectionLost:{type:"integer"},Deregistering:{type:"integer"},Online:{type:"integer"},Pending:{type:"integer"},Rebooting:{type:"integer"},Registered:{type:"integer"},Registering:{type:"integer"},Requested:{type:"integer"},RunningSetup:{type:"integer"},SetupFailed:{type:"integer"},ShuttingDown:{type:"integer"},StartFailed:{type:"integer"},StopFailed:{type:"integer"},Stopped:{type:"integer"},Stopping:{type:"integer"},Terminated:{type:"integer"},Terminating:{type:"integer"},Unassigning:{type:"integer"}}}}}}}},DescribeStacks:{input:{type:"structure",members:{StackIds:{shape:"S3"}}},output:{type:"structure",members:{Stacks:{type:"list",member:{type:"structure",members:{StackId:{},Name:{},Arn:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},CreatedAt:{},DefaultRootDeviceType:{},AgentVersion:{}}}}}}},DescribeTimeBasedAutoScaling:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"S3"}}},output:{type:"structure",members:{TimeBasedAutoScalingConfigurations:{type:"list",member:{type:"structure",members:{InstanceId:{},AutoScalingSchedule:{shape:"S4b"}}}}}}},DescribeUserProfiles:{input:{type:"structure",members:{IamUserArns:{shape:"S3"}}},output:{type:"structure",members:{UserProfiles:{type:"list",member:{type:"structure",members:{IamUserArn:{},Name:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}}}}}},DescribeVolumes:{input:{type:"structure",members:{InstanceId:{},StackId:{},RaidArrayId:{},VolumeIds:{shape:"S3"}}},output:{type:"structure",members:{Volumes:{type:"list",member:{type:"structure",members:{VolumeId:{},Ec2VolumeId:{},Name:{},RaidArrayId:{},InstanceId:{},Status:{},Size:{type:"integer"},Device:{},MountPoint:{},Region:{},AvailabilityZone:{},VolumeType:{},Iops:{type:"integer"},Encrypted:{type:"boolean"}}}}}}},DetachElasticLoadBalancer:{input:{type:"structure",required:["ElasticLoadBalancerName","LayerId"],members:{ElasticLoadBalancerName:{},LayerId:{}}}},DisassociateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{}}}},GetHostnameSuggestion:{input:{type:"structure",required:["LayerId"],members:{LayerId:{}}},output:{type:"structure",members:{LayerId:{},Hostname:{}}}},GrantAccess:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},ValidForInMinutes:{type:"integer"}}},output:{type:"structure",members:{TemporaryCredential:{type:"structure",members:{Username:{},Password:{},ValidForInMinutes:{type:"integer"},InstanceId:{}}}}}},ListTags:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Tags:{shape:"S50"},NextToken:{}}}},RebootInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},RegisterEcsCluster:{input:{type:"structure",required:["EcsClusterArn","StackId"],members:{EcsClusterArn:{},StackId:{}}},output:{type:"structure",members:{EcsClusterArn:{}}}},RegisterElasticIp:{input:{type:"structure",required:["ElasticIp","StackId"],members:{ElasticIp:{},StackId:{}}},output:{type:"structure",members:{ElasticIp:{}}}},RegisterInstance:{input:{type:"structure",required:["StackId"],members:{StackId:{},Hostname:{},PublicIp:{},PrivateIp:{},RsaPublicKey:{},RsaPublicKeyFingerprint:{},InstanceIdentity:{type:"structure",members:{Document:{},Signature:{}}}}},output:{type:"structure",members:{InstanceId:{}}}},RegisterRdsDbInstance:{input:{type:"structure",required:["StackId","RdsDbInstanceArn","DbUser","DbPassword"],members:{StackId:{},RdsDbInstanceArn:{},DbUser:{},DbPassword:{}}}},RegisterVolume:{input:{type:"structure",required:["StackId"],members:{Ec2VolumeId:{},StackId:{}}},output:{type:"structure",members:{VolumeId:{}}}},SetLoadBasedAutoScaling:{input:{type:"structure",required:["LayerId"],members:{LayerId:{},Enable:{type:"boolean"},UpScaling:{shape:"S36"},DownScaling:{shape:"S36"}}}},SetPermission:{input:{type:"structure",required:["StackId","IamUserArn"],members:{StackId:{},IamUserArn:{},AllowSsh:{type:"boolean"},AllowSudo:{type:"boolean"},Level:{}}}},SetTimeBasedAutoScaling:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},AutoScalingSchedule:{shape:"S4b"}}}},StartInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},StartStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},StopInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},Force:{type:"boolean"}}}},StopStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}}},TagResource:{input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{},Tags:{shape:"S50"}}}},UnassignInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}}},UnassignVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{}}}},UntagResource:{input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{},TagKeys:{type:"list",member:{}}}}},UpdateApp:{input:{type:"structure",required:["AppId"],members:{AppId:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},Environment:{shape:"So"}}}},UpdateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{},Name:{}}}},UpdateInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},LayerIds:{shape:"S3"},InstanceType:{},AutoScalingType:{},Hostname:{},Os:{},AmiId:{},SshKeyName:{},Architecture:{},InstallUpdatesOnBoot:{type:"boolean"},EbsOptimized:{type:"boolean"},AgentVersion:{}}}},UpdateLayer:{input:{type:"structure",required:["LayerId"],members:{LayerId:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CloudWatchLogsConfiguration:{shape:"S19"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S1f"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},CustomRecipes:{shape:"S1h"},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1i"}}}},UpdateMyUserProfile:{input:{type:"structure",members:{SshPublicKey:{}}}},UpdateRdsDbInstance:{input:{type:"structure",required:["RdsDbInstanceArn"],members:{RdsDbInstanceArn:{},DbUser:{},DbPassword:{}}}},UpdateStack:{input:{type:"structure",required:["StackId"],members:{StackId:{},Name:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},DefaultRootDeviceType:{},UseOpsworksSecurityGroups:{type:"boolean"},AgentVersion:{}}}},UpdateUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}}},UpdateVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},Name:{},MountPoint:{}}}}},shapes:{S3:{type:"list",member:{}},S8:{type:"map",key:{},value:{}},Sa:{type:"structure",members:{Name:{},Version:{}}},Sb:{type:"structure",members:{ManageBerkshelf:{type:"boolean"},BerkshelfVersion:{}}},Sd:{type:"structure",members:{Type:{},Url:{},Username:{},Password:{},SshKey:{},Revision:{}}},Si:{type:"list",member:{type:"structure",members:{Type:{},Arn:{},DatabaseName:{}}}},Sl:{type:"structure",required:["Certificate","PrivateKey"],members:{Certificate:{},PrivateKey:{},Chain:{}}},Sm:{type:"map",key:{},value:{}},So:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{},Secure:{type:"boolean"}}}},Ss:{type:"structure",required:["Name"],members:{Name:{},Args:{type:"map",key:{},value:{shape:"S3"}}}},Sz:{type:"list",member:{type:"structure",members:{DeviceName:{},NoDevice:{},VirtualName:{},Ebs:{type:"structure",members:{SnapshotId:{},Iops:{type:"integer"},VolumeSize:{type:"integer"},VolumeType:{},DeleteOnTermination:{type:"boolean"}}}}}},S17:{type:"map",key:{},value:{}},S19:{type:"structure",members:{Enabled:{type:"boolean"},LogStreams:{type:"list",member:{type:"structure",members:{LogGroupName:{},DatetimeFormat:{},TimeZone:{},File:{},FileFingerprintLines:{},MultiLineStartPattern:{},InitialPosition:{},Encoding:{},BufferDuration:{type:"integer"},BatchCount:{type:"integer"},BatchSize:{type:"integer"}}}}}},S1f:{type:"list",member:{type:"structure",required:["MountPoint","NumberOfDisks","Size"],members:{MountPoint:{},RaidLevel:{type:"integer"},NumberOfDisks:{type:"integer"},Size:{type:"integer"},VolumeType:{},Iops:{type:"integer"},Encrypted:{type:"boolean"}}}},S1h:{type:"structure",members:{Setup:{shape:"S3"},Configure:{shape:"S3"},Deploy:{shape:"S3"},Undeploy:{shape:"S3"},Shutdown:{shape:"S3"}}},S1i:{type:"structure",members:{Shutdown:{type:"structure",members:{ExecutionTimeout:{type:"integer"},DelayUntilElbConnectionsDrained:{type:"boolean"}}}}},S36:{type:"structure",members:{InstanceCount:{type:"integer"},ThresholdsWaitTime:{type:"integer"},IgnoreMetricsTime:{type:"integer"},CpuThreshold:{type:"double"},MemoryThreshold:{type:"double"},LoadThreshold:{type:"double"},Alarms:{shape:"S3"}}},S4b:{type:"structure",members:{Monday:{shape:"S4c"},Tuesday:{shape:"S4c"},Wednesday:{shape:"S4c"},Thursday:{shape:"S4c"},Friday:{shape:"S4c"},Saturday:{shape:"S4c"},Sunday:{shape:"S4c"}}},S4c:{type:"map",key:{},value:{}},S50:{type:"map",key:{},value:{}}}}},{}],171:[function(e,t,r){t.exports={pagination:{DescribeApps:{result_key:"Apps"},DescribeCommands:{result_key:"Commands"},DescribeDeployments:{result_key:"Deployments"},DescribeEcsClusters:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"EcsClusters"},DescribeElasticIps:{result_key:"ElasticIps"},DescribeElasticLoadBalancers:{result_key:"ElasticLoadBalancers"},DescribeInstances:{result_key:"Instances"},DescribeLayers:{result_key:"Layers"},DescribeLoadBasedAutoScaling:{result_key:"LoadBasedAutoScalingConfigurations"},DescribePermissions:{result_key:"Permissions"},DescribeRaidArrays:{result_key:"RaidArrays"},DescribeServiceErrors:{result_key:"ServiceErrors"},DescribeStacks:{result_key:"Stacks"},DescribeTimeBasedAutoScaling:{result_key:"TimeBasedAutoScalingConfigurations"},DescribeUserProfiles:{result_key:"UserProfiles"},DescribeVolumes:{result_key:"Volumes"}}}},{}],172:[function(e,t,r){t.exports={version:2,waiters:{AppExists:{delay:1,operation:"DescribeApps",maxAttempts:40,acceptors:[{expected:200,matcher:"status",state:"success"},{matcher:"status",expected:400,state:"failure"}]},DeploymentSuccessful:{delay:15,operation:"DescribeDeployments",maxAttempts:40,description:"Wait until a deployment has completed successfully.",acceptors:[{expected:"successful",matcher:"pathAll",state:"success",argument:"Deployments[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"Deployments[].Status"}]},InstanceOnline:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is online.",acceptors:[{expected:"online",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"shutting_down",matcher:"pathAny",state:"failure", +argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopped",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminating",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceRegistered:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is registered.",acceptors:[{expected:"registered",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"shutting_down",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopped",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminating",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceStopped:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is stopped.",acceptors:[{expected:"stopped",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"booting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"requested",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"running_setup",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceTerminated:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is terminated.",acceptors:[{expected:"terminated",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"ResourceNotFoundException",matcher:"error",state:"success"},{expected:"booting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"online",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"requested",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"running_setup",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]}}}},{}],173:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-05-22",endpointPrefix:"personalize",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Personalize",serviceId:"Personalize",signatureVersion:"v4",signingName:"personalize",targetPrefix:"AmazonPersonalize",uid:"personalize-2018-05-22"},operations:{CreateBatchInferenceJob:{input:{type:"structure",required:["jobName","solutionVersionArn","jobInput","jobOutput","roleArn"],members:{jobName:{},solutionVersionArn:{},filterArn:{},numResults:{type:"integer"},jobInput:{shape:"S5"},jobOutput:{shape:"S9"},roleArn:{},batchInferenceJobConfig:{shape:"Sb"}}},output:{type:"structure",members:{batchInferenceJobArn:{}}}},CreateBatchSegmentJob:{input:{type:"structure",required:["jobName","solutionVersionArn","jobInput","jobOutput","roleArn"],members:{jobName:{},solutionVersionArn:{},filterArn:{},numResults:{type:"integer"},jobInput:{shape:"Sh"},jobOutput:{shape:"Si"},roleArn:{}}},output:{type:"structure",members:{batchSegmentJobArn:{}}}},CreateCampaign:{input:{type:"structure",required:["name","solutionVersionArn"],members:{name:{},solutionVersionArn:{},minProvisionedTPS:{type:"integer"},campaignConfig:{shape:"Sm"}}},output:{type:"structure",members:{campaignArn:{}}},idempotent:!0},CreateDataset:{input:{type:"structure",required:["name","schemaArn","datasetGroupArn","datasetType"],members:{name:{},schemaArn:{},datasetGroupArn:{},datasetType:{}}},output:{type:"structure",members:{datasetArn:{}}},idempotent:!0},CreateDatasetExportJob:{input:{type:"structure",required:["jobName","datasetArn","roleArn","jobOutput"],members:{jobName:{},datasetArn:{},ingestionMode:{},roleArn:{},jobOutput:{shape:"St"}}},output:{type:"structure",members:{datasetExportJobArn:{}}},idempotent:!0},CreateDatasetGroup:{input:{type:"structure",required:["name"],members:{name:{},roleArn:{},kmsKeyArn:{},domain:{}}},output:{type:"structure",members:{datasetGroupArn:{},domain:{}}}},CreateDatasetImportJob:{input:{type:"structure",required:["jobName","datasetArn","dataSource","roleArn"],members:{jobName:{},datasetArn:{},dataSource:{shape:"Sz"},roleArn:{}}},output:{type:"structure",members:{datasetImportJobArn:{}}}},CreateEventTracker:{input:{type:"structure",required:["name","datasetGroupArn"],members:{name:{},datasetGroupArn:{}}},output:{type:"structure",members:{eventTrackerArn:{},trackingId:{}}},idempotent:!0},CreateFilter:{input:{type:"structure",required:["name","datasetGroupArn","filterExpression"],members:{name:{},datasetGroupArn:{},filterExpression:{shape:"S15"}}},output:{type:"structure",members:{filterArn:{}}}},CreateRecommender:{input:{type:"structure",required:["name","datasetGroupArn","recipeArn"],members:{name:{},datasetGroupArn:{},recipeArn:{},recommenderConfig:{shape:"S18"}}},output:{type:"structure",members:{recommenderArn:{}}},idempotent:!0},CreateSchema:{input:{type:"structure",required:["name","schema"],members:{name:{},schema:{},domain:{}}},output:{type:"structure",members:{schemaArn:{}}},idempotent:!0},CreateSolution:{input:{type:"structure",required:["name","datasetGroupArn"],members:{name:{},performHPO:{type:"boolean"},performAutoML:{type:"boolean"},recipeArn:{},datasetGroupArn:{},eventType:{},solutionConfig:{shape:"S1h"}}},output:{type:"structure",members:{solutionArn:{}}}},CreateSolutionVersion:{input:{type:"structure",required:["solutionArn"],members:{solutionArn:{},trainingMode:{}}},output:{type:"structure",members:{solutionVersionArn:{}}}},DeleteCampaign:{input:{type:"structure",required:["campaignArn"],members:{campaignArn:{}}},idempotent:!0},DeleteDataset:{input:{type:"structure",required:["datasetArn"],members:{datasetArn:{}}},idempotent:!0},DeleteDatasetGroup:{input:{type:"structure",required:["datasetGroupArn"],members:{datasetGroupArn:{}}},idempotent:!0},DeleteEventTracker:{input:{type:"structure",required:["eventTrackerArn"],members:{eventTrackerArn:{}}},idempotent:!0},DeleteFilter:{input:{type:"structure",required:["filterArn"],members:{filterArn:{}}}},DeleteRecommender:{input:{type:"structure",required:["recommenderArn"],members:{recommenderArn:{}}},idempotent:!0},DeleteSchema:{input:{type:"structure",required:["schemaArn"],members:{schemaArn:{}}},idempotent:!0},DeleteSolution:{input:{type:"structure",required:["solutionArn"],members:{solutionArn:{}}},idempotent:!0},DescribeAlgorithm:{input:{type:"structure",required:["algorithmArn"],members:{algorithmArn:{}}},output:{type:"structure",members:{algorithm:{type:"structure",members:{name:{},algorithmArn:{},algorithmImage:{type:"structure",required:["dockerURI"],members:{name:{},dockerURI:{}}},defaultHyperParameters:{shape:"Sc"},defaultHyperParameterRanges:{type:"structure",members:{integerHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},minValue:{type:"integer"},maxValue:{type:"integer"},isTunable:{type:"boolean"}}}},continuousHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},minValue:{type:"double"},maxValue:{type:"double"},isTunable:{type:"boolean"}}}},categoricalHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},values:{shape:"S21"},isTunable:{type:"boolean"}}}}}},defaultResourceConfig:{type:"map",key:{},value:{}},trainingInputMode:{},roleArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeBatchInferenceJob:{input:{type:"structure",required:["batchInferenceJobArn"],members:{batchInferenceJobArn:{}}},output:{type:"structure",members:{batchInferenceJob:{type:"structure",members:{jobName:{},batchInferenceJobArn:{},filterArn:{},failureReason:{},solutionVersionArn:{},numResults:{type:"integer"},jobInput:{shape:"S5"},jobOutput:{shape:"S9"},batchInferenceJobConfig:{shape:"Sb"},roleArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeBatchSegmentJob:{input:{type:"structure",required:["batchSegmentJobArn"],members:{batchSegmentJobArn:{}}},output:{type:"structure",members:{batchSegmentJob:{type:"structure",members:{jobName:{},batchSegmentJobArn:{},filterArn:{},failureReason:{},solutionVersionArn:{},numResults:{type:"integer"},jobInput:{shape:"Sh"},jobOutput:{shape:"Si"},roleArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeCampaign:{input:{type:"structure",required:["campaignArn"],members:{campaignArn:{}}},output:{type:"structure",members:{campaign:{type:"structure",members:{name:{},campaignArn:{},solutionVersionArn:{},minProvisionedTPS:{type:"integer"},campaignConfig:{shape:"Sm"},status:{},failureReason:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},latestCampaignUpdate:{type:"structure",members:{solutionVersionArn:{},minProvisionedTPS:{type:"integer"},campaignConfig:{shape:"Sm"},status:{},failureReason:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}}}},idempotent:!0},DescribeDataset:{input:{type:"structure",required:["datasetArn"],members:{datasetArn:{}}},output:{type:"structure",members:{dataset:{type:"structure",members:{name:{},datasetArn:{},datasetGroupArn:{},datasetType:{},schemaArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeDatasetExportJob:{input:{type:"structure",required:["datasetExportJobArn"],members:{datasetExportJobArn:{}}},output:{type:"structure",members:{datasetExportJob:{type:"structure",members:{jobName:{},datasetExportJobArn:{},datasetArn:{},ingestionMode:{},roleArn:{},status:{},jobOutput:{shape:"St"},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}}},idempotent:!0},DescribeDatasetGroup:{input:{type:"structure",required:["datasetGroupArn"],members:{datasetGroupArn:{}}},output:{type:"structure",members:{datasetGroup:{type:"structure",members:{name:{},datasetGroupArn:{},status:{},roleArn:{},kmsKeyArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{},domain:{}}}}},idempotent:!0},DescribeDatasetImportJob:{input:{type:"structure",required:["datasetImportJobArn"],members:{datasetImportJobArn:{}}},output:{type:"structure",members:{datasetImportJob:{type:"structure",members:{jobName:{},datasetImportJobArn:{},datasetArn:{},dataSource:{shape:"Sz"},roleArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}}},idempotent:!0},DescribeEventTracker:{input:{type:"structure",required:["eventTrackerArn"],members:{eventTrackerArn:{}}},output:{type:"structure",members:{eventTracker:{type:"structure",members:{name:{},eventTrackerArn:{},accountId:{},trackingId:{},datasetGroupArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeFeatureTransformation:{input:{type:"structure",required:["featureTransformationArn"],members:{featureTransformationArn:{}}},output:{type:"structure",members:{featureTransformation:{type:"structure",members:{name:{},featureTransformationArn:{},defaultParameters:{type:"map",key:{},value:{}},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},status:{}}}}},idempotent:!0},DescribeFilter:{input:{type:"structure",required:["filterArn"],members:{filterArn:{}}},output:{type:"structure",members:{filter:{type:"structure",members:{name:{},filterArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},datasetGroupArn:{},failureReason:{},filterExpression:{shape:"S15"},status:{}}}}},idempotent:!0},DescribeRecipe:{input:{type:"structure",required:["recipeArn"],members:{recipeArn:{}}},output:{type:"structure",members:{recipe:{type:"structure",members:{name:{},recipeArn:{},algorithmArn:{},featureTransformationArn:{},status:{},description:{},creationDateTime:{type:"timestamp"},recipeType:{},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},DescribeRecommender:{input:{type:"structure",required:["recommenderArn"],members:{recommenderArn:{}}},output:{type:"structure",members:{recommender:{type:"structure",members:{recommenderArn:{},datasetGroupArn:{},name:{},recipeArn:{},recommenderConfig:{shape:"S18"},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},status:{},failureReason:{},latestRecommenderUpdate:{type:"structure",members:{recommenderConfig:{shape:"S18"},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},status:{},failureReason:{}}}}}}},idempotent:!0},DescribeSchema:{input:{type:"structure",required:["schemaArn"],members:{schemaArn:{}}},output:{type:"structure",members:{schema:{type:"structure",members:{name:{},schemaArn:{},schema:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},domain:{}}}}},idempotent:!0},DescribeSolution:{input:{type:"structure",required:["solutionArn"],members:{solutionArn:{}}},output:{type:"structure",members:{solution:{type:"structure",members:{name:{},solutionArn:{},performHPO:{type:"boolean"},performAutoML:{type:"boolean"},recipeArn:{},datasetGroupArn:{},eventType:{},solutionConfig:{shape:"S1h"},autoMLResult:{type:"structure",members:{bestRecipeArn:{}}},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},latestSolutionVersion:{shape:"S4h"}}}}},idempotent:!0},DescribeSolutionVersion:{input:{type:"structure",required:["solutionVersionArn"],members:{solutionVersionArn:{}}},output:{type:"structure",members:{solutionVersion:{type:"structure",members:{solutionVersionArn:{},solutionArn:{},performHPO:{type:"boolean"},performAutoML:{type:"boolean"},recipeArn:{},eventType:{},datasetGroupArn:{},solutionConfig:{shape:"S1h"},trainingHours:{type:"double"},trainingMode:{},tunedHPOParams:{type:"structure",members:{algorithmHyperParameters:{shape:"Sc"}}},status:{},failureReason:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}}},idempotent:!0},GetSolutionMetrics:{input:{type:"structure",required:["solutionVersionArn"],members:{solutionVersionArn:{}}},output:{type:"structure",members:{solutionVersionArn:{},metrics:{type:"map",key:{},value:{type:"double"}}}}},ListBatchInferenceJobs:{input:{type:"structure",members:{solutionVersionArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{batchInferenceJobs:{type:"list",member:{type:"structure",members:{batchInferenceJobArn:{},jobName:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{},solutionVersionArn:{}}}},nextToken:{}}},idempotent:!0},ListBatchSegmentJobs:{input:{type:"structure",members:{solutionVersionArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{batchSegmentJobs:{type:"list",member:{type:"structure",members:{batchSegmentJobArn:{},jobName:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{},solutionVersionArn:{}}}},nextToken:{}}},idempotent:!0},ListCampaigns:{input:{type:"structure",members:{solutionArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{campaigns:{type:"list",member:{type:"structure",members:{name:{},campaignArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}},nextToken:{}}},idempotent:!0},ListDatasetExportJobs:{input:{type:"structure",members:{datasetArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{datasetExportJobs:{type:"list",member:{type:"structure",members:{datasetExportJobArn:{},jobName:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}},nextToken:{}}},idempotent:!0},ListDatasetGroups:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{datasetGroups:{type:"list",member:{type:"structure",members:{name:{},datasetGroupArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{},domain:{}}}},nextToken:{}}},idempotent:!0},ListDatasetImportJobs:{input:{type:"structure",members:{datasetArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{datasetImportJobs:{type:"list",member:{type:"structure",members:{datasetImportJobArn:{},jobName:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}},nextToken:{}}},idempotent:!0},ListDatasets:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{datasets:{type:"list",member:{type:"structure",members:{name:{},datasetArn:{},datasetType:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}},nextToken:{}}},idempotent:!0},ListEventTrackers:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{eventTrackers:{type:"list",member:{type:"structure",members:{name:{},eventTrackerArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}},nextToken:{}}},idempotent:!0},ListFilters:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{name:{},filterArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},datasetGroupArn:{},failureReason:{},status:{}}}},nextToken:{}}},idempotent:!0},ListRecipes:{input:{type:"structure",members:{recipeProvider:{},nextToken:{},maxResults:{type:"integer"},domain:{}}},output:{type:"structure",members:{recipes:{type:"list",member:{type:"structure",members:{name:{},recipeArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},domain:{}}}},nextToken:{}}},idempotent:!0},ListRecommenders:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{recommenders:{type:"list",member:{type:"structure",members:{name:{},recommenderArn:{},datasetGroupArn:{},recipeArn:{},recommenderConfig:{shape:"S18"},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}},nextToken:{}}},idempotent:!0},ListSchemas:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{schemas:{type:"list",member:{type:"structure",members:{name:{},schemaArn:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},domain:{}}}},nextToken:{}}},idempotent:!0},ListSolutionVersions:{input:{type:"structure",members:{solutionArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{solutionVersions:{type:"list",member:{shape:"S4h"}},nextToken:{}}},idempotent:!0},ListSolutions:{input:{type:"structure",members:{datasetGroupArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{solutions:{type:"list",member:{type:"structure",members:{name:{},solutionArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"}}}},nextToken:{}}},idempotent:!0},StopSolutionVersionCreation:{input:{type:"structure",required:["solutionVersionArn"],members:{solutionVersionArn:{}}},idempotent:!0},UpdateCampaign:{input:{type:"structure",required:["campaignArn"],members:{campaignArn:{},solutionVersionArn:{},minProvisionedTPS:{type:"integer"},campaignConfig:{shape:"Sm"}}},output:{type:"structure",members:{campaignArn:{}}},idempotent:!0},UpdateRecommender:{input:{type:"structure",required:["recommenderArn","recommenderConfig"],members:{recommenderArn:{},recommenderConfig:{shape:"S18"}}},output:{type:"structure",members:{recommenderArn:{}}},idempotent:!0}},shapes:{S5:{type:"structure",required:["s3DataSource"],members:{s3DataSource:{shape:"S6"}}},S6:{type:"structure",required:["path"],members:{path:{},kmsKeyArn:{}}},S9:{type:"structure",required:["s3DataDestination"],members:{s3DataDestination:{shape:"S6"}}},Sb:{type:"structure",members:{itemExplorationConfig:{shape:"Sc"}}},Sc:{type:"map",key:{},value:{}},Sh:{type:"structure",required:["s3DataSource"],members:{s3DataSource:{shape:"S6"}}},Si:{type:"structure",required:["s3DataDestination"],members:{s3DataDestination:{shape:"S6"}}},Sm:{type:"structure",members:{itemExplorationConfig:{shape:"Sc"}}},St:{type:"structure",required:["s3DataDestination"],members:{s3DataDestination:{shape:"S6"}}},Sz:{type:"structure",members:{dataLocation:{}}},S15:{type:"string",sensitive:!0},S18:{type:"structure",members:{itemExplorationConfig:{shape:"Sc"},minRecommendationRequestsPerSecond:{type:"integer"}}},S1h:{type:"structure",members:{eventValueThreshold:{},hpoConfig:{type:"structure",members:{hpoObjective:{type:"structure",members:{type:{},metricName:{},metricRegex:{}}},hpoResourceConfig:{type:"structure",members:{maxNumberOfTrainingJobs:{},maxParallelTrainingJobs:{}}},algorithmHyperParameterRanges:{type:"structure",members:{integerHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},minValue:{type:"integer"},maxValue:{type:"integer"}}}},continuousHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},minValue:{type:"double"},maxValue:{type:"double"}}}},categoricalHyperParameterRanges:{type:"list",member:{type:"structure",members:{name:{},values:{shape:"S21"}}}}}}}},algorithmHyperParameters:{shape:"Sc"},featureTransformationParameters:{type:"map",key:{},value:{}},autoMLConfig:{type:"structure",members:{metricName:{},recipeList:{type:"list",member:{}}}},optimizationObjective:{type:"structure",members:{itemAttribute:{},objectiveSensitivity:{}}}}},S21:{type:"list",member:{}},S4h:{type:"structure",members:{solutionVersionArn:{},status:{},creationDateTime:{type:"timestamp"},lastUpdatedDateTime:{type:"timestamp"},failureReason:{}}}}}},{}],174:[function(e,t,r){t.exports={pagination:{ListBatchInferenceJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"batchInferenceJobs"},ListBatchSegmentJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"batchSegmentJobs"},ListCampaigns:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"campaigns"},ListDatasetExportJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"datasetExportJobs"},ListDatasetGroups:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"datasetGroups"},ListDatasetImportJobs:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"datasetImportJobs"},ListDatasets:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"datasets"},ListEventTrackers:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"eventTrackers"},ListFilters:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"Filters"},ListRecipes:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"recipes"},ListRecommenders:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"recommenders"},ListSchemas:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"schemas"},ListSolutionVersions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"solutionVersions"},ListSolutions:{input_token:"nextToken",limit_key:"maxResults",output_token:"nextToken",result_key:"solutions"}}}},{}],175:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-03-22",endpointPrefix:"personalize-events",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Personalize Events",serviceId:"Personalize Events",signatureVersion:"v4",signingName:"personalize",uid:"personalize-events-2018-03-22"},operations:{PutEvents:{http:{requestUri:"/events"},input:{type:"structure",required:["trackingId","sessionId","eventList"],members:{trackingId:{},userId:{},sessionId:{},eventList:{type:"list",member:{type:"structure",required:["eventType","sentAt"],members:{eventId:{},eventType:{},eventValue:{type:"float"},itemId:{},properties:{jsonvalue:!0},sentAt:{type:"timestamp"},recommendationId:{},impression:{type:"list",member:{}}}}}}}},PutItems:{http:{requestUri:"/items"},input:{type:"structure",required:["datasetArn","items"],members:{datasetArn:{},items:{type:"list",member:{type:"structure",required:["itemId"],members:{itemId:{},properties:{jsonvalue:!0}}}}}}},PutUsers:{http:{requestUri:"/users"},input:{type:"structure",required:["datasetArn","users"],members:{datasetArn:{},users:{type:"list",member:{type:"structure",required:["userId"],members:{userId:{},properties:{jsonvalue:!0}}}}}}}},shapes:{}}},{}],176:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],177:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2018-05-22",endpointPrefix:"personalize-runtime",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Personalize Runtime",serviceId:"Personalize Runtime",signatureVersion:"v4",signingName:"personalize",uid:"personalize-runtime-2018-05-22"},operations:{GetPersonalizedRanking:{http:{requestUri:"/personalize-ranking"},input:{type:"structure",required:["campaignArn","inputList","userId"],members:{campaignArn:{},inputList:{type:"list",member:{}},userId:{},context:{shape:"S6"},filterArn:{},filterValues:{shape:"S9"}}},output:{type:"structure",members:{personalizedRanking:{shape:"Sd"},recommendationId:{}}},idempotent:!0},GetRecommendations:{http:{requestUri:"/recommendations"},input:{type:"structure",members:{campaignArn:{},itemId:{},userId:{},numResults:{type:"integer"},context:{shape:"S6"},filterArn:{},filterValues:{shape:"S9"},recommenderArn:{}}},output:{type:"structure",members:{itemList:{shape:"Sd"},recommendationId:{}}},idempotent:!0}},shapes:{S6:{type:"map",key:{},value:{type:"string",sensitive:!0}},S9:{type:"map",key:{},value:{type:"string",sensitive:!0}},Sd:{type:"list",member:{type:"structure",members:{itemId:{},score:{type:"double"}}}}}}},{}],178:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],179:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-06-10",endpointPrefix:"polly",protocol:"rest-json",serviceFullName:"Amazon Polly",serviceId:"Polly",signatureVersion:"v4",uid:"polly-2016-06-10"},operations:{DeleteLexicon:{http:{method:"DELETE",requestUri:"/v1/lexicons/{LexiconName}",responseCode:200},input:{type:"structure",required:["Name"],members:{Name:{location:"uri",locationName:"LexiconName"}}},output:{type:"structure",members:{}}},DescribeVoices:{http:{method:"GET",requestUri:"/v1/voices",responseCode:200},input:{type:"structure",members:{Engine:{location:"querystring",locationName:"Engine"},LanguageCode:{location:"querystring",locationName:"LanguageCode"},IncludeAdditionalLanguageCodes:{location:"querystring",locationName:"IncludeAdditionalLanguageCodes",type:"boolean"},NextToken:{location:"querystring",locationName:"NextToken"}}},output:{type:"structure",members:{Voices:{type:"list",member:{type:"structure",members:{Gender:{},Id:{},LanguageCode:{},LanguageName:{},Name:{},AdditionalLanguageCodes:{type:"list",member:{}},SupportedEngines:{type:"list",member:{}}}}},NextToken:{}}}},GetLexicon:{http:{method:"GET",requestUri:"/v1/lexicons/{LexiconName}",responseCode:200},input:{type:"structure",required:["Name"],members:{Name:{location:"uri",locationName:"LexiconName"}}},output:{type:"structure",members:{Lexicon:{type:"structure",members:{Content:{shape:"Sl"},Name:{}}},LexiconAttributes:{shape:"Sm"}}}},GetSpeechSynthesisTask:{http:{method:"GET",requestUri:"/v1/synthesisTasks/{TaskId}",responseCode:200},input:{type:"structure",required:["TaskId"],members:{TaskId:{location:"uri",locationName:"TaskId"}}},output:{type:"structure",members:{SynthesisTask:{shape:"Sv"}}}},ListLexicons:{http:{method:"GET",requestUri:"/v1/lexicons",responseCode:200},input:{type:"structure",members:{NextToken:{location:"querystring",locationName:"NextToken"}}},output:{type:"structure",members:{Lexicons:{type:"list",member:{type:"structure",members:{Name:{},Attributes:{shape:"Sm"}}}},NextToken:{}}}},ListSpeechSynthesisTasks:{http:{method:"GET",requestUri:"/v1/synthesisTasks",responseCode:200},input:{type:"structure",members:{MaxResults:{location:"querystring",locationName:"MaxResults",type:"integer"},NextToken:{location:"querystring",locationName:"NextToken"},Status:{location:"querystring",locationName:"Status"}}},output:{type:"structure",members:{NextToken:{},SynthesisTasks:{type:"list",member:{shape:"Sv"}}}}},PutLexicon:{http:{method:"PUT",requestUri:"/v1/lexicons/{LexiconName}",responseCode:200},input:{type:"structure",required:["Name","Content"],members:{Name:{location:"uri",locationName:"LexiconName"},Content:{shape:"Sl"}}},output:{type:"structure",members:{}}},StartSpeechSynthesisTask:{http:{requestUri:"/v1/synthesisTasks",responseCode:200},input:{type:"structure",required:["OutputFormat","OutputS3BucketName","Text","VoiceId"],members:{Engine:{},LanguageCode:{},LexiconNames:{shape:"S12"},OutputFormat:{},OutputS3BucketName:{},OutputS3KeyPrefix:{},SampleRate:{},SnsTopicArn:{},SpeechMarkTypes:{shape:"S15"},Text:{},TextType:{},VoiceId:{}}},output:{type:"structure",members:{SynthesisTask:{shape:"Sv"}}}},SynthesizeSpeech:{http:{requestUri:"/v1/speech",responseCode:200},input:{type:"structure",required:["OutputFormat","Text","VoiceId"],members:{Engine:{},LanguageCode:{},LexiconNames:{shape:"S12"},OutputFormat:{},SampleRate:{},SpeechMarkTypes:{shape:"S15"},Text:{},TextType:{},VoiceId:{}}},output:{type:"structure",members:{AudioStream:{type:"blob",streaming:!0},ContentType:{location:"header",locationName:"Content-Type"},RequestCharacters:{location:"header",locationName:"x-amzn-RequestCharacters",type:"integer"}},payload:"AudioStream"}}},shapes:{Sl:{type:"string",sensitive:!0},Sm:{type:"structure",members:{Alphabet:{},LanguageCode:{},LastModified:{type:"timestamp"},LexiconArn:{},LexemesCount:{type:"integer"},Size:{type:"integer"}}},Sv:{type:"structure",members:{Engine:{},TaskId:{},TaskStatus:{},TaskStatusReason:{},OutputUri:{},CreationTime:{type:"timestamp"},RequestCharacters:{type:"integer"},SnsTopicArn:{},LexiconNames:{shape:"S12"},OutputFormat:{},SampleRate:{},SpeechMarkTypes:{shape:"S15"},TextType:{},VoiceId:{},LanguageCode:{}}},S12:{type:"list",member:{}},S15:{type:"list",member:{}}}}},{}],180:[function(e,t,r){t.exports={pagination:{ListSpeechSynthesisTasks:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],181:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-10-15", +endpointPrefix:"api.pricing",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"AWS Pricing",serviceFullName:"AWS Price List Service",serviceId:"Pricing",signatureVersion:"v4",signingName:"pricing",targetPrefix:"AWSPriceListService",uid:"pricing-2017-10-15"},operations:{DescribeServices:{input:{type:"structure",members:{ServiceCode:{},FormatVersion:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Services:{type:"list",member:{type:"structure",members:{ServiceCode:{},AttributeNames:{type:"list",member:{}}}}},FormatVersion:{},NextToken:{}}}},GetAttributeValues:{input:{type:"structure",required:["ServiceCode","AttributeName"],members:{ServiceCode:{},AttributeName:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{AttributeValues:{type:"list",member:{type:"structure",members:{Value:{}}}},NextToken:{}}}},GetProducts:{input:{type:"structure",members:{ServiceCode:{},Filters:{type:"list",member:{type:"structure",required:["Type","Field","Value"],members:{Type:{},Field:{},Value:{}}}},FormatVersion:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{FormatVersion:{},PriceList:{type:"list",member:{jsonvalue:!0}},NextToken:{}}}}},shapes:{}}},{}],182:[function(e,t,r){t.exports={pagination:{DescribeServices:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},GetAttributeValues:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},GetProducts:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],183:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-01-10",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2013-01-10",xmlNamespace:"http://rds.amazonaws.com/doc/2013-01-10/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1c"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1i"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1o"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S25"},SupportedCharacterSets:{type:"list",member:{shape:"S25",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1c",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2f"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2f"}},wrapper:!0}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S1o",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S14",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S3m",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S3o"}},wrapper:!0}}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S2f"}}},output:{shape:"S3z",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1i"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"Sp"},VpcSecurityGroupMemberships:{shape:"Sq"}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1o"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S3m"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2f"}}},output:{shape:"S3z",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}}},shapes:{S4:{type:"structure",members:{Id:{},CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sk:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"}},wrapper:!0},Sp:{type:"list",member:{locationName:"DBSecurityGroupName"}},Sq:{type:"list",member:{locationName:"VpcSecurityGroupId"}},St:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"Sv"},VpcSecurityGroups:{shape:"Sx"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S11"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMembership:{type:"structure",members:{OptionGroupName:{},Status:{}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"}},wrapper:!0},Sv:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},Sx:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S11:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S14"},SubnetStatus:{}}}}},wrapper:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1c:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},S1i:{type:"list",member:{locationName:"SubnetIdentifier"}},S1o:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"Sv"},VpcSecurityGroupMemberships:{shape:"Sx"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},S25:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S2f:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S3m:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S3o"}},wrapper:!0},S3o:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S3z:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],184:[function(e,t,r){t.exports={pagination:{DescribeDBEngineVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBEngineVersions"},DescribeDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBInstances"},DescribeDBParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeDBSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"EngineDefaults.Marker",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeOptionGroupOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OrderableDBInstanceOptions"},DescribeReservedDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstancesOfferings"},ListTagsForResource:{result_key:"TagList"}}}},{}],185:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-02-12",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2013-02-12",xmlNamespace:"http://rds.amazonaws.com/doc/2013-02-12/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1d"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1j"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1p"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{}, +EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S28"},SupportedCharacterSets:{type:"list",member:{shape:"S28",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1d",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2n"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2n"}},wrapper:!0}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},Persistent:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"}}}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S1p",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S14",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S3w",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S3y"}},wrapper:!0}}}}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S2n"}}},output:{shape:"S4b",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1j"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"Sp"},VpcSecurityGroupMemberships:{shape:"Sq"},OptionSettings:{type:"list",member:{shape:"S1t",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1p"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S3w"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2n"}}},output:{shape:"S4b",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}}},shapes:{S4:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sk:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{}},wrapper:!0},Sp:{type:"list",member:{locationName:"DBSecurityGroupName"}},Sq:{type:"list",member:{locationName:"VpcSecurityGroupId"}},St:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"Sv"},VpcSecurityGroups:{shape:"Sx"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S11"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"}},wrapper:!0},Sv:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},Sx:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S11:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S14"},SubnetStatus:{}}}}},wrapper:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1d:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},S1j:{type:"list",member:{locationName:"SubnetIdentifier"}},S1p:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Port:{type:"integer"},OptionSettings:{type:"list",member:{shape:"S1t",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"Sv"},VpcSecurityGroupMemberships:{shape:"Sx"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},S1t:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},S28:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S2n:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S3w:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S3y"}},wrapper:!0},S3y:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S4b:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],186:[function(e,t,r){t.exports={pagination:{DescribeDBEngineVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBEngineVersions"},DescribeDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBInstances"},DescribeDBLogFiles:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DescribeDBLogFiles"},DescribeDBParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeDBSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"EngineDefaults.Marker",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeOptionGroupOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OrderableDBInstanceOptions"},DescribeReservedDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstancesOfferings"},DownloadDBLogFilePortion:{input_token:"Marker",limit_key:"NumberOfLines",more_results:"AdditionalDataPending",output_token:"Marker",result_key:"LogFileData"},ListTagsForResource:{result_key:"TagList"}}}},{}],187:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-09-09",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2013-09-09",xmlNamespace:"http://rds.amazonaws.com/doc/2013-09-09/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBSubnetGroupName:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S1f"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1l"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1r"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sk"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S2d"},SupportedCharacterSets:{type:"list",member:{shape:"S2d",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"St",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S1f",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2s"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sk",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S11",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2s"}},wrapper:!0}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{},Filters:{shape:"S27"}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},Persistent:{type:"boolean"},Permanent:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"}}}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Filters:{shape:"S27"},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S1r",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},Filters:{shape:"S27"}, +MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S14",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S41",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S27"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S43"}},wrapper:!0}}}}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{},Filters:{shape:"S27"}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"Sp"},VpcSecurityGroupIds:{shape:"Sq"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S2s"}}},output:{shape:"S4g",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1l"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S11"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"Sp"},VpcSecurityGroupMemberships:{shape:"Sq"},OptionSettings:{type:"list",member:{shape:"S1v",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1r"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"St"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"},Tags:{shape:"S9"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S41"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2s"}}},output:{shape:"S4g",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"St"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}}},shapes:{S4:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sk:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{},PercentProgress:{type:"integer"},SourceRegion:{}},wrapper:!0},Sp:{type:"list",member:{locationName:"DBSecurityGroupName"}},Sq:{type:"list",member:{locationName:"VpcSecurityGroupId"}},St:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"Sv"},VpcSecurityGroups:{shape:"Sx"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S11"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"},StatusInfos:{type:"list",member:{locationName:"DBInstanceStatusInfo",type:"structure",members:{StatusType:{},Normal:{type:"boolean"},Status:{},Message:{}}}}},wrapper:!0},Sv:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},Sx:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S11:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S14"},SubnetStatus:{}}}}},wrapper:!0},S14:{type:"structure",members:{Name:{},ProvisionedIopsCapable:{type:"boolean"}},wrapper:!0},S1f:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},S1l:{type:"list",member:{locationName:"SubnetIdentifier"}},S1r:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Permanent:{type:"boolean"},Port:{type:"integer"},OptionSettings:{type:"list",member:{shape:"S1v",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"Sv"},VpcSecurityGroupMemberships:{shape:"Sx"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},S1v:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},S27:{type:"list",member:{locationName:"Filter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{locationName:"Value"}}}}},S2d:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S2s:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S41:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S43"}},wrapper:!0},S43:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S4g:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],188:[function(e,t,r){arguments[4][186][0].apply(r,arguments)},{dup:186}],189:[function(e,t,r){t.exports={version:2,waiters:{DBInstanceAvailable:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]},DBInstanceDeleted:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"DBInstances[].DBInstanceStatus"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]}}}},{}],190:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-09-01",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2014-09-01",xmlNamespace:"http://rds.amazonaws.com/doc/2014-09-01/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CopyDBParameterGroup:{input:{type:"structure",required:["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],members:{SourceDBParameterGroupIdentifier:{},TargetDBParameterGroupIdentifier:{},TargetDBParameterGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"Sk"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sn"}}}},CopyOptionGroup:{input:{type:"structure",required:["SourceOptionGroupIdentifier","TargetOptionGroupIdentifier","TargetOptionGroupDescription"],members:{SourceOptionGroupIdentifier:{},TargetOptionGroupIdentifier:{},TargetOptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"St"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","AllocatedStorage","DBInstanceClass","Engine","MasterUsername","MasterUserPassword"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"S13"},VpcSecurityGroupIds:{shape:"S14"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBSubnetGroupName:{},StorageType:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"Sk"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sn"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1u"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S1b"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"St"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sn"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S2h"},SupportedCharacterSets:{type:"list",member:{shape:"S2h",locationName:"CharacterSet"}}}}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"S17",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"Sk",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S2w"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sd",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sn",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S1b",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S2w"}},wrapper:!0}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{},Filters:{shape:"S2b"}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},Persistent:{type:"boolean"},Permanent:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"}}}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Filters:{shape:"S2b"},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"St",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S1e",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"},StorageType:{},SupportsIops:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S45",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S2b"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S47"}},wrapper:!0}}}}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{},Filters:{shape:"S2b"}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"S13"},VpcSecurityGroupIds:{shape:"S14"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S2w"}}},output:{shape:"S4k",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S1u"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S1b"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"S13"},VpcSecurityGroupMemberships:{shape:"S14"},OptionSettings:{type:"list",member:{shape:"Sx",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"St"}}}},PromoteReadReplica:{input:{type:"structure", +required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"},Tags:{shape:"S9"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S45"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S2w"}}},output:{shape:"S4k",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"S17"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sd"}}}}},shapes:{S4:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sk:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},Sn:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{},PercentProgress:{type:"integer"},SourceRegion:{},StorageType:{},TdeCredentialArn:{}},wrapper:!0},St:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Permanent:{type:"boolean"},Port:{type:"integer"},OptionSettings:{type:"list",member:{shape:"Sx",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"Sy"},VpcSecurityGroupMemberships:{shape:"S10"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},Sx:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},Sy:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},S10:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S13:{type:"list",member:{locationName:"DBSecurityGroupName"}},S14:{type:"list",member:{locationName:"VpcSecurityGroupId"}},S17:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"Sy"},VpcSecurityGroups:{shape:"S10"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S1b"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{},StorageType:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"},StatusInfos:{type:"list",member:{locationName:"DBInstanceStatusInfo",type:"structure",members:{StatusType:{},Normal:{type:"boolean"},Status:{},Message:{}}}},StorageType:{},TdeCredentialArn:{}},wrapper:!0},S1b:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S1e"},SubnetStatus:{}}}}},wrapper:!0},S1e:{type:"structure",members:{Name:{}},wrapper:!0},S1u:{type:"list",member:{locationName:"SubnetIdentifier"}},S2b:{type:"list",member:{locationName:"Filter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{locationName:"Value"}}}}},S2h:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S2w:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S45:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S47"}},wrapper:!0},S47:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S4k:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],191:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],192:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-10-31",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",serviceId:"RDS",signatureVersion:"v4",uid:"rds-2014-10-31",xmlNamespace:"http://rds.amazonaws.com/doc/2014-10-31/"},operations:{AddRoleToDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","RoleArn"],members:{DBClusterIdentifier:{},RoleArn:{},FeatureName:{}}}},AddRoleToDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","RoleArn","FeatureName"],members:{DBInstanceIdentifier:{},RoleArn:{},FeatureName:{}}}},AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"Sb"}}}},ApplyPendingMaintenanceAction:{input:{type:"structure",required:["ResourceIdentifier","ApplyAction","OptInType"],members:{ResourceIdentifier:{},ApplyAction:{},OptInType:{}}},output:{resultWrapper:"ApplyPendingMaintenanceActionResult",type:"structure",members:{ResourcePendingMaintenanceActions:{shape:"Sf"}}}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sl"}}}},BacktrackDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","BacktrackTo"],members:{DBClusterIdentifier:{},BacktrackTo:{type:"timestamp"},Force:{type:"boolean"},UseEarliestTimeOnPointInTimeUnavailable:{type:"boolean"}}},output:{shape:"Ss",resultWrapper:"BacktrackDBClusterResult"}},CancelExportTask:{input:{type:"structure",required:["ExportTaskIdentifier"],members:{ExportTaskIdentifier:{}}},output:{shape:"Su",resultWrapper:"CancelExportTaskResult"}},CopyDBClusterParameterGroup:{input:{type:"structure",required:["SourceDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupIdentifier","TargetDBClusterParameterGroupDescription"],members:{SourceDBClusterParameterGroupIdentifier:{},TargetDBClusterParameterGroupIdentifier:{},TargetDBClusterParameterGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CopyDBClusterParameterGroupResult",type:"structure",members:{DBClusterParameterGroup:{shape:"Sz"}}}},CopyDBClusterSnapshot:{input:{type:"structure",required:["SourceDBClusterSnapshotIdentifier","TargetDBClusterSnapshotIdentifier"],members:{SourceDBClusterSnapshotIdentifier:{},TargetDBClusterSnapshotIdentifier:{},KmsKeyId:{},PreSignedUrl:{},CopyTags:{type:"boolean"},Tags:{shape:"Sb"},SourceRegion:{}}},output:{resultWrapper:"CopyDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"S12"}}}},CopyDBParameterGroup:{input:{type:"structure",required:["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],members:{SourceDBParameterGroupIdentifier:{},TargetDBParameterGroupIdentifier:{},TargetDBParameterGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CopyDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S16"}}}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},KmsKeyId:{},Tags:{shape:"Sb"},CopyTags:{type:"boolean"},PreSignedUrl:{},OptionGroupName:{},TargetCustomAvailabilityZone:{},SourceRegion:{}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S19"}}}},CopyOptionGroup:{input:{type:"structure",required:["SourceOptionGroupIdentifier","TargetOptionGroupIdentifier","TargetOptionGroupDescription"],members:{SourceOptionGroupIdentifier:{},TargetOptionGroupIdentifier:{},TargetOptionGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CopyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1f"}}}},CreateCustomAvailabilityZone:{input:{type:"structure",required:["CustomAvailabilityZoneName"],members:{CustomAvailabilityZoneName:{},ExistingVpnId:{},NewVpnTunnelName:{},VpnTunnelOriginatorIP:{}}},output:{resultWrapper:"CreateCustomAvailabilityZoneResult",type:"structure",members:{CustomAvailabilityZone:{shape:"S1q"}}}},CreateCustomDBEngineVersion:{input:{type:"structure",required:["Engine","EngineVersion","DatabaseInstallationFilesS3BucketName","KMSKeyId","Manifest"],members:{Engine:{},EngineVersion:{},DatabaseInstallationFilesS3BucketName:{},DatabaseInstallationFilesS3Prefix:{},KMSKeyId:{},Description:{},Manifest:{},Tags:{shape:"Sb"}}},output:{shape:"S21",resultWrapper:"CreateCustomDBEngineVersionResult"}},CreateDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","Engine"],members:{AvailabilityZones:{shape:"S13"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},DBSubnetGroupName:{},Engine:{},EngineVersion:{},Port:{type:"integer"},MasterUsername:{},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},ReplicationSourceIdentifier:{},Tags:{shape:"Sb"},StorageEncrypted:{type:"boolean"},KmsKeyId:{},PreSignedUrl:{},EnableIAMDatabaseAuthentication:{type:"boolean"},BacktrackWindow:{type:"long"},EnableCloudwatchLogsExports:{shape:"S29"},EngineMode:{},ScalingConfiguration:{shape:"S2e"},DeletionProtection:{type:"boolean"},GlobalClusterIdentifier:{},EnableHttpEndpoint:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},Domain:{},DomainIAMRoleName:{},EnableGlobalWriteForwarding:{type:"boolean"},DBClusterInstanceClass:{},AllocatedStorage:{type:"integer"},StorageType:{},Iops:{type:"integer"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},SourceRegion:{}}},output:{resultWrapper:"CreateDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},CreateDBClusterEndpoint:{input:{type:"structure",required:["DBClusterIdentifier","DBClusterEndpointIdentifier","EndpointType"],members:{DBClusterIdentifier:{},DBClusterEndpointIdentifier:{},EndpointType:{},StaticMembers:{shape:"Sv"},ExcludedMembers:{shape:"Sv"},Tags:{shape:"Sb"}}},output:{shape:"S2x",resultWrapper:"CreateDBClusterEndpointResult"}},CreateDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName","DBParameterGroupFamily","Description"],members:{DBClusterParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBClusterParameterGroupResult",type:"structure",members:{DBClusterParameterGroup:{shape:"Sz"}}}},CreateDBClusterSnapshot:{input:{type:"structure",required:["DBClusterSnapshotIdentifier","DBClusterIdentifier"],members:{DBClusterSnapshotIdentifier:{},DBClusterIdentifier:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"S12"}}}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","DBInstanceClass","Engine"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"S33"},VpcSecurityGroupIds:{shape:"S2c"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},NcharCharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"Sb"},DBClusterIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},DomainIAMRoleName:{},PromotionTier:{type:"integer"},Timezone:{},EnableIAMDatabaseAuthentication:{type:"boolean"},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},DeletionProtection:{type:"boolean"},MaxAllocatedStorage:{type:"integer"},EnableCustomerOwnedIp:{type:"boolean"},CustomIamInstanceProfile:{},BackupTarget:{}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},DBParameterGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"Sb"},DBSubnetGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},StorageType:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},KmsKeyId:{},PreSignedUrl:{},EnableIAMDatabaseAuthentication:{type:"boolean"},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DeletionProtection:{type:"boolean"},Domain:{},DomainIAMRoleName:{},ReplicaMode:{},MaxAllocatedStorage:{type:"integer"},CustomIamInstanceProfile:{},SourceRegion:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"S16"}}}},CreateDBProxy:{input:{type:"structure",required:["DBProxyName","EngineFamily","Auth","RoleArn","VpcSubnetIds"],members:{DBProxyName:{},EngineFamily:{},Auth:{shape:"S3x"},RoleArn:{},VpcSubnetIds:{shape:"Sv"},VpcSecurityGroupIds:{shape:"Sv"},RequireTLS:{type:"boolean"},IdleClientTimeout:{type:"integer"},DebugLogging:{type:"boolean"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBProxyResult",type:"structure",members:{DBProxy:{shape:"S42"}}}},CreateDBProxyEndpoint:{input:{type:"structure",required:["DBProxyName","DBProxyEndpointName","VpcSubnetIds"],members:{DBProxyName:{},DBProxyEndpointName:{},VpcSubnetIds:{shape:"Sv"},VpcSecurityGroupIds:{shape:"Sv"},TargetRole:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBProxyEndpointResult",type:"structure",members:{DBProxyEndpoint:{shape:"S4b"}}}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sl"}}}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S19"}}}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S4i"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S39"}}}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S8"},SourceIds:{shape:"S7"},Enabled:{type:"boolean"},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},CreateGlobalCluster:{input:{type:"structure",members:{GlobalClusterIdentifier:{},SourceDBClusterIdentifier:{},Engine:{},EngineVersion:{},DeletionProtection:{type:"boolean"},DatabaseName:{},StorageEncrypted:{type:"boolean"}}},output:{resultWrapper:"CreateGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{},Tags:{shape:"Sb"}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1f"}}}},DeleteCustomAvailabilityZone:{input:{type:"structure",required:["CustomAvailabilityZoneId"],members:{CustomAvailabilityZoneId:{}}},output:{resultWrapper:"DeleteCustomAvailabilityZoneResult",type:"structure",members:{CustomAvailabilityZone:{shape:"S1q"}}}},DeleteCustomDBEngineVersion:{input:{type:"structure",required:["Engine","EngineVersion"],members:{Engine:{},EngineVersion:{}}},output:{shape:"S21",resultWrapper:"DeleteCustomDBEngineVersionResult"}},DeleteDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},DeleteDBClusterEndpoint:{input:{type:"structure",required:["DBClusterEndpointIdentifier"],members:{DBClusterEndpointIdentifier:{}}},output:{shape:"S2x",resultWrapper:"DeleteDBClusterEndpointResult"}},DeleteDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{}}}},DeleteDBClusterSnapshot:{input:{type:"structure",required:["DBClusterSnapshotIdentifier"],members:{DBClusterSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"S12"}}}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{},DeleteAutomatedBackups:{type:"boolean"}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},DeleteDBInstanceAutomatedBackup:{input:{type:"structure",members:{DbiResourceId:{},DBInstanceAutomatedBackupsArn:{}}},output:{resultWrapper:"DeleteDBInstanceAutomatedBackupResult",type:"structure",members:{DBInstanceAutomatedBackup:{shape:"S59"}}}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}}},DeleteDBProxy:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{}}},output:{resultWrapper:"DeleteDBProxyResult",type:"structure",members:{DBProxy:{shape:"S42"}}}},DeleteDBProxyEndpoint:{input:{type:"structure",required:["DBProxyEndpointName"],members:{DBProxyEndpointName:{}}},output:{resultWrapper:"DeleteDBProxyEndpointResult",type:"structure",members:{DBProxyEndpoint:{shape:"S4b"}}}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S19"}}}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},DeleteGlobalCluster:{input:{type:"structure",required:["GlobalClusterIdentifier"],members:{GlobalClusterIdentifier:{}}},output:{resultWrapper:"DeleteGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},DeleteInstallationMedia:{input:{type:"structure",required:["InstallationMediaId"],members:{InstallationMediaId:{}}},output:{shape:"S5p",resultWrapper:"DeleteInstallationMediaResult"}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}}},DeregisterDBProxyTargets:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},TargetGroupName:{},DBInstanceIdentifiers:{shape:"Sv"},DBClusterIdentifiers:{shape:"Sv"}}},output:{resultWrapper:"DeregisterDBProxyTargetsResult",type:"structure",members:{}}},DescribeAccountAttributes:{input:{type:"structure",members:{}},output:{resultWrapper:"DescribeAccountAttributesResult",type:"structure",members:{AccountQuotas:{type:"list",member:{locationName:"AccountQuota",type:"structure",members:{AccountQuotaName:{},Used:{type:"long"},Max:{type:"long"}},wrapper:!0}}}}},DescribeCertificates:{input:{type:"structure",members:{CertificateIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCertificatesResult",type:"structure",members:{Certificates:{type:"list",member:{shape:"S65",locationName:"Certificate"}},Marker:{}}}},DescribeCustomAvailabilityZones:{input:{type:"structure",members:{CustomAvailabilityZoneId:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCustomAvailabilityZonesResult",type:"structure",members:{Marker:{},CustomAvailabilityZones:{type:"list",member:{shape:"S1q",locationName:"CustomAvailabilityZone"}}}}},DescribeDBClusterBacktracks:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},BacktrackIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterBacktracksResult",type:"structure",members:{Marker:{},DBClusterBacktracks:{type:"list",member:{shape:"Ss",locationName:"DBClusterBacktrack"}}}}},DescribeDBClusterEndpoints:{input:{type:"structure",members:{DBClusterIdentifier:{},DBClusterEndpointIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterEndpointsResult",type:"structure",members:{Marker:{},DBClusterEndpoints:{type:"list",member:{shape:"S2x",locationName:"DBClusterEndpointList"}}}}},DescribeDBClusterParameterGroups:{input:{type:"structure",members:{DBClusterParameterGroupName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterParameterGroupsResult",type:"structure",members:{Marker:{},DBClusterParameterGroups:{type:"list",member:{shape:"Sz",locationName:"DBClusterParameterGroup"}}}}},DescribeDBClusterParameters:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{},Source:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterParametersResult",type:"structure",members:{Parameters:{shape:"S6k"},Marker:{}}}},DescribeDBClusterSnapshotAttributes:{input:{type:"structure",required:["DBClusterSnapshotIdentifier"],members:{DBClusterSnapshotIdentifier:{}}},output:{resultWrapper:"DescribeDBClusterSnapshotAttributesResult",type:"structure",members:{DBClusterSnapshotAttributesResult:{shape:"S6p"}}}},DescribeDBClusterSnapshots:{input:{type:"structure",members:{DBClusterIdentifier:{},DBClusterSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"},IncludePublic:{type:"boolean"}}},output:{resultWrapper:"DescribeDBClusterSnapshotsResult",type:"structure",members:{Marker:{},DBClusterSnapshots:{type:"list",member:{shape:"S12",locationName:"DBClusterSnapshot"}}}}},DescribeDBClusters:{input:{type:"structure",members:{DBClusterIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"}}},output:{resultWrapper:"DescribeDBClustersResult",type:"structure",members:{Marker:{},DBClusters:{type:"list",member:{shape:"S2g",locationName:"DBCluster"}}}}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"},ListSupportedTimezones:{type:"boolean"},IncludeAll:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{shape:"S21",locationName:"DBEngineVersion"}}}}},DescribeDBInstanceAutomatedBackups:{input:{type:"structure",members:{DbiResourceId:{},DBInstanceIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},DBInstanceAutomatedBackupsArn:{}}},output:{resultWrapper:"DescribeDBInstanceAutomatedBackupsResult",type:"structure",members:{Marker:{},DBInstanceAutomatedBackups:{type:"list",member:{shape:"S59",locationName:"DBInstanceAutomatedBackup"}}}}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"S35",locationName:"DBInstance"}}}}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"S16",locationName:"DBParameterGroup"}}}}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S6k"},Marker:{}}}},DescribeDBProxies:{input:{type:"structure",members:{DBProxyName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeDBProxiesResult",type:"structure",members:{DBProxies:{type:"list",member:{ +shape:"S42"}},Marker:{}}}},DescribeDBProxyEndpoints:{input:{type:"structure",members:{DBProxyName:{},DBProxyEndpointName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeDBProxyEndpointsResult",type:"structure",members:{DBProxyEndpoints:{type:"list",member:{shape:"S4b"}},Marker:{}}}},DescribeDBProxyTargetGroups:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},TargetGroupName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeDBProxyTargetGroupsResult",type:"structure",members:{TargetGroups:{type:"list",member:{shape:"S7r"}},Marker:{}}}},DescribeDBProxyTargets:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},TargetGroupName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeDBProxyTargetsResult",type:"structure",members:{Targets:{shape:"S7v"},Marker:{}}}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sl",locationName:"DBSecurityGroup"}}}}},DescribeDBSnapshotAttributes:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DescribeDBSnapshotAttributesResult",type:"structure",members:{DBSnapshotAttributesResult:{shape:"S87"}}}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"},IncludePublic:{type:"boolean"},DbiResourceId:{}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"S19",locationName:"DBSnapshot"}}}}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S39",locationName:"DBSubnetGroup"}}}}},DescribeEngineDefaultClusterParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultClusterParametersResult",type:"structure",members:{EngineDefaults:{shape:"S8i"}}}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{shape:"S8i"}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{},Filters:{shape:"S60"}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S8"}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S6",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S8"},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S8"},Date:{type:"timestamp"},SourceArn:{}}}}}}},DescribeExportTasks:{input:{type:"structure",members:{ExportTaskIdentifier:{},SourceArn:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeExportTasksResult",type:"structure",members:{Marker:{},ExportTasks:{type:"list",member:{shape:"Su",locationName:"ExportTask"}}}}},DescribeGlobalClusters:{input:{type:"structure",members:{GlobalClusterIdentifier:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeGlobalClustersResult",type:"structure",members:{Marker:{},GlobalClusters:{type:"list",member:{shape:"S4o",locationName:"GlobalClusterMember"}}}}},DescribeInstallationMedia:{input:{type:"structure",members:{InstallationMediaId:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeInstallationMediaResult",type:"structure",members:{Marker:{},InstallationMedia:{type:"list",member:{shape:"S5p",locationName:"InstallationMedia"}}}}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},OptionsConflictsWith:{type:"list",member:{locationName:"OptionConflictName"}},Persistent:{type:"boolean"},Permanent:{type:"boolean"},RequiresAutoMinorEngineVersionUpgrade:{type:"boolean"},VpcOnly:{type:"boolean"},SupportsOptionVersionDowngrade:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsRequired:{type:"boolean"},MinimumEngineVersionPerAllowedValue:{type:"list",member:{locationName:"MinimumEngineVersionPerAllowedValue",type:"structure",members:{AllowedValue:{},MinimumEngineVersion:{}}}}}}},OptionGroupOptionVersions:{type:"list",member:{locationName:"OptionVersion",type:"structure",members:{Version:{},IsDefault:{type:"boolean"}}}}}}},Marker:{}}}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S1f",locationName:"OptionGroup"}},Marker:{}}}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZoneGroup:{},Vpc:{type:"boolean"},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZoneGroup:{},AvailabilityZones:{type:"list",member:{shape:"S3c",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"},SupportsStorageEncryption:{type:"boolean"},StorageType:{},SupportsIops:{type:"boolean"},SupportsEnhancedMonitoring:{type:"boolean"},SupportsIAMDatabaseAuthentication:{type:"boolean"},SupportsPerformanceInsights:{type:"boolean"},MinStorageSize:{type:"integer"},MaxStorageSize:{type:"integer"},MinIopsPerDbInstance:{type:"integer"},MaxIopsPerDbInstance:{type:"integer"},MinIopsPerGib:{type:"double"},MaxIopsPerGib:{type:"double"},AvailableProcessorFeatures:{shape:"S9r"},SupportedEngineModes:{shape:"S26"},SupportsStorageAutoscaling:{type:"boolean"},SupportsKerberosAuthentication:{type:"boolean"},OutpostCapable:{type:"boolean"},SupportedActivityStreamModes:{type:"list",member:{}},SupportsGlobalDatabases:{type:"boolean"},SupportsClusters:{type:"boolean"}},wrapper:!0}},Marker:{}}}},DescribePendingMaintenanceActions:{input:{type:"structure",members:{ResourceIdentifier:{},Filters:{shape:"S60"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribePendingMaintenanceActionsResult",type:"structure",members:{PendingMaintenanceActions:{type:"list",member:{shape:"Sf",locationName:"ResourcePendingMaintenanceActions"}},Marker:{}}}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},LeaseId:{},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"Sa0",locationName:"ReservedDBInstance"}}}}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S60"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"Sa2"}},wrapper:!0}}}}},DescribeSourceRegions:{input:{type:"structure",members:{RegionName:{},MaxRecords:{type:"integer"},Marker:{},Filters:{shape:"S60"}}},output:{resultWrapper:"DescribeSourceRegionsResult",type:"structure",members:{Marker:{},SourceRegions:{type:"list",member:{locationName:"SourceRegion",type:"structure",members:{RegionName:{},Endpoint:{},Status:{},SupportsDBInstanceAutomatedBackupsReplication:{type:"boolean"}}}}}}},DescribeValidDBInstanceModifications:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{}}},output:{resultWrapper:"DescribeValidDBInstanceModificationsResult",type:"structure",members:{ValidDBInstanceModificationsMessage:{type:"structure",members:{Storage:{type:"list",member:{locationName:"ValidStorageOptions",type:"structure",members:{StorageType:{},StorageSize:{shape:"Sah"},ProvisionedIops:{shape:"Sah"},IopsToStorageRatio:{type:"list",member:{locationName:"DoubleRange",type:"structure",members:{From:{type:"double"},To:{type:"double"}}}},SupportsStorageAutoscaling:{type:"boolean"}}}},ValidProcessorFeatures:{shape:"S9r"}},wrapper:!0}}}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}}},FailoverDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},TargetDBInstanceIdentifier:{}}},output:{resultWrapper:"FailoverDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},FailoverGlobalCluster:{input:{type:"structure",required:["GlobalClusterIdentifier","TargetDbClusterIdentifier"],members:{GlobalClusterIdentifier:{},TargetDbClusterIdentifier:{}}},output:{resultWrapper:"FailoverGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},ImportInstallationMedia:{input:{type:"structure",required:["CustomAvailabilityZoneId","Engine","EngineVersion","EngineInstallationMediaPath","OSInstallationMediaPath"],members:{CustomAvailabilityZoneId:{},Engine:{},EngineVersion:{},EngineInstallationMediaPath:{},OSInstallationMediaPath:{}}},output:{shape:"S5p",resultWrapper:"ImportInstallationMediaResult"}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{},Filters:{shape:"S60"}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"Sb"}}}},ModifyCertificates:{input:{type:"structure",members:{CertificateIdentifier:{},RemoveCustomerOverride:{type:"boolean"}}},output:{resultWrapper:"ModifyCertificatesResult",type:"structure",members:{Certificate:{shape:"S65"}}}},ModifyCurrentDBClusterCapacity:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},Capacity:{type:"integer"},SecondsBeforeTimeout:{type:"integer"},TimeoutAction:{}}},output:{resultWrapper:"ModifyCurrentDBClusterCapacityResult",type:"structure",members:{DBClusterIdentifier:{},PendingCapacity:{type:"integer"},CurrentCapacity:{type:"integer"},SecondsBeforeTimeout:{type:"integer"},TimeoutAction:{}}}},ModifyCustomDBEngineVersion:{input:{type:"structure",required:["Engine","EngineVersion"],members:{Engine:{},EngineVersion:{},Description:{},Status:{}}},output:{shape:"S21",resultWrapper:"ModifyCustomDBEngineVersionResult"}},ModifyDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},NewDBClusterIdentifier:{},ApplyImmediately:{type:"boolean"},BackupRetentionPeriod:{type:"integer"},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},Port:{type:"integer"},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},EnableIAMDatabaseAuthentication:{type:"boolean"},BacktrackWindow:{type:"long"},CloudwatchLogsExportConfiguration:{shape:"Sb3"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},DBInstanceParameterGroupName:{},Domain:{},DomainIAMRoleName:{},ScalingConfiguration:{shape:"S2e"},DeletionProtection:{type:"boolean"},EnableHttpEndpoint:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},EnableGlobalWriteForwarding:{type:"boolean"},DBClusterInstanceClass:{},AllocatedStorage:{type:"integer"},StorageType:{},Iops:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"}}},output:{resultWrapper:"ModifyDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},ModifyDBClusterEndpoint:{input:{type:"structure",required:["DBClusterEndpointIdentifier"],members:{DBClusterEndpointIdentifier:{},EndpointType:{},StaticMembers:{shape:"Sv"},ExcludedMembers:{shape:"Sv"}}},output:{shape:"S2x",resultWrapper:"ModifyDBClusterEndpointResult"}},ModifyDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName","Parameters"],members:{DBClusterParameterGroupName:{},Parameters:{shape:"S6k"}}},output:{shape:"Sb7",resultWrapper:"ModifyDBClusterParameterGroupResult"}},ModifyDBClusterSnapshotAttribute:{input:{type:"structure",required:["DBClusterSnapshotIdentifier","AttributeName"],members:{DBClusterSnapshotIdentifier:{},AttributeName:{},ValuesToAdd:{shape:"S6s"},ValuesToRemove:{shape:"S6s"}}},output:{resultWrapper:"ModifyDBClusterSnapshotAttributeResult",type:"structure",members:{DBClusterSnapshotAttributesResult:{shape:"S6p"}}}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSubnetGroupName:{},DBSecurityGroups:{shape:"S33"},VpcSecurityGroupIds:{shape:"S2c"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},CACertificateIdentifier:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},DBPortNumber:{type:"integer"},PubliclyAccessible:{type:"boolean"},MonitoringRoleArn:{},DomainIAMRoleName:{},PromotionTier:{type:"integer"},EnableIAMDatabaseAuthentication:{type:"boolean"},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},CloudwatchLogsExportConfiguration:{shape:"Sb3"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DeletionProtection:{type:"boolean"},MaxAllocatedStorage:{type:"integer"},CertificateRotationRestart:{type:"boolean"},ReplicaMode:{},EnableCustomerOwnedIp:{type:"boolean"},AwsBackupRecoveryPointArn:{},AutomationMode:{},ResumeFullAutomationModeMinutes:{type:"integer"}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S6k"}}},output:{shape:"Sbe",resultWrapper:"ModifyDBParameterGroupResult"}},ModifyDBProxy:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},NewDBProxyName:{},Auth:{shape:"S3x"},RequireTLS:{type:"boolean"},IdleClientTimeout:{type:"integer"},DebugLogging:{type:"boolean"},RoleArn:{},SecurityGroups:{shape:"Sv"}}},output:{resultWrapper:"ModifyDBProxyResult",type:"structure",members:{DBProxy:{shape:"S42"}}}},ModifyDBProxyEndpoint:{input:{type:"structure",required:["DBProxyEndpointName"],members:{DBProxyEndpointName:{},NewDBProxyEndpointName:{},VpcSecurityGroupIds:{shape:"Sv"}}},output:{resultWrapper:"ModifyDBProxyEndpointResult",type:"structure",members:{DBProxyEndpoint:{shape:"S4b"}}}},ModifyDBProxyTargetGroup:{input:{type:"structure",required:["TargetGroupName","DBProxyName"],members:{TargetGroupName:{},DBProxyName:{},ConnectionPoolConfig:{type:"structure",members:{MaxConnectionsPercent:{type:"integer"},MaxIdleConnectionsPercent:{type:"integer"},ConnectionBorrowTimeout:{type:"integer"},SessionPinningFilters:{shape:"Sv"},InitQuery:{}}},NewName:{}}},output:{resultWrapper:"ModifyDBProxyTargetGroupResult",type:"structure",members:{DBProxyTargetGroup:{shape:"S7r"}}}},ModifyDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{},EngineVersion:{},OptionGroupName:{}}},output:{resultWrapper:"ModifyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"S19"}}}},ModifyDBSnapshotAttribute:{input:{type:"structure",required:["DBSnapshotIdentifier","AttributeName"],members:{DBSnapshotIdentifier:{},AttributeName:{},ValuesToAdd:{shape:"S6s"},ValuesToRemove:{shape:"S6s"}}},output:{resultWrapper:"ModifyDBSnapshotAttributeResult",type:"structure",members:{DBSnapshotAttributesResult:{shape:"S87"}}}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S4i"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S39"}}}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S8"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},ModifyGlobalCluster:{input:{type:"structure",members:{GlobalClusterIdentifier:{},NewGlobalClusterIdentifier:{},DeletionProtection:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"}}},output:{resultWrapper:"ModifyGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},OptionVersion:{},DBSecurityGroupMemberships:{shape:"S33"},VpcSecurityGroupMemberships:{shape:"S2c"},OptionSettings:{type:"list",member:{shape:"S1j",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S1f"}}}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},PromoteReadReplicaDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"PromoteReadReplicaDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"},Tags:{shape:"Sb"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"Sa0"}}}},RebootDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"RebootDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},RegisterDBProxyTargets:{input:{type:"structure",required:["DBProxyName"],members:{DBProxyName:{},TargetGroupName:{},DBInstanceIdentifiers:{shape:"Sv"},DBClusterIdentifiers:{shape:"Sv"}}},output:{resultWrapper:"RegisterDBProxyTargetsResult",type:"structure",members:{DBProxyTargets:{shape:"S7v"}}}},RemoveFromGlobalCluster:{input:{type:"structure",members:{GlobalClusterIdentifier:{},DbClusterIdentifier:{}}},output:{resultWrapper:"RemoveFromGlobalClusterResult",type:"structure",members:{GlobalCluster:{shape:"S4o"}}}},RemoveRoleFromDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","RoleArn"],members:{DBClusterIdentifier:{},RoleArn:{},FeatureName:{}}}},RemoveRoleFromDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","RoleArn","FeatureName"],members:{DBInstanceIdentifier:{},RoleArn:{},FeatureName:{}}}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S6"}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}}},ResetDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S6k"}}},output:{shape:"Sb7",resultWrapper:"ResetDBClusterParameterGroupResult"}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S6k"}}},output:{shape:"Sbe",resultWrapper:"ResetDBParameterGroupResult"}},RestoreDBClusterFromS3:{input:{type:"structure",required:["DBClusterIdentifier","Engine","MasterUsername","MasterUserPassword","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],members:{AvailabilityZones:{shape:"S13"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},DBSubnetGroupName:{},Engine:{},EngineVersion:{},Port:{type:"integer"},MasterUsername:{},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},Tags:{shape:"Sb"},StorageEncrypted:{type:"boolean"},KmsKeyId:{},EnableIAMDatabaseAuthentication:{type:"boolean"},SourceEngine:{},SourceEngineVersion:{},S3BucketName:{},S3Prefix:{},S3IngestionRoleArn:{},BacktrackWindow:{type:"long"},EnableCloudwatchLogsExports:{shape:"S29"},DeletionProtection:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},Domain:{},DomainIAMRoleName:{}}},output:{resultWrapper:"RestoreDBClusterFromS3Result",type:"structure",members:{DBCluster:{shape:"S2g"}}}},RestoreDBClusterFromSnapshot:{input:{type:"structure",required:["DBClusterIdentifier","SnapshotIdentifier","Engine"],members:{AvailabilityZones:{shape:"S13"},DBClusterIdentifier:{},SnapshotIdentifier:{},Engine:{},EngineVersion:{},Port:{type:"integer"},DBSubnetGroupName:{},DatabaseName:{},OptionGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},Tags:{shape:"Sb"},KmsKeyId:{},EnableIAMDatabaseAuthentication:{type:"boolean"},BacktrackWindow:{type:"long"},EnableCloudwatchLogsExports:{shape:"S29"},EngineMode:{},ScalingConfiguration:{shape:"S2e"},DBClusterParameterGroupName:{},DeletionProtection:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},Domain:{},DomainIAMRoleName:{},DBClusterInstanceClass:{},StorageType:{},Iops:{type:"integer"},PubliclyAccessible:{type:"boolean"}}},output:{resultWrapper:"RestoreDBClusterFromSnapshotResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},RestoreDBClusterToPointInTime:{input:{type:"structure",required:["DBClusterIdentifier","SourceDBClusterIdentifier"],members:{DBClusterIdentifier:{},RestoreType:{},SourceDBClusterIdentifier:{},RestoreToTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},Port:{type:"integer"},DBSubnetGroupName:{},OptionGroupName:{},VpcSecurityGroupIds:{shape:"S2c"},Tags:{shape:"Sb"},KmsKeyId:{},EnableIAMDatabaseAuthentication:{type:"boolean"},BacktrackWindow:{type:"long"},EnableCloudwatchLogsExports:{shape:"S29"},DBClusterParameterGroupName:{},DeletionProtection:{type:"boolean"},CopyTagsToSnapshot:{type:"boolean"},Domain:{},DomainIAMRoleName:{},ScalingConfiguration:{shape:"S2e"},EngineMode:{},DBClusterInstanceClass:{},StorageType:{},PubliclyAccessible:{type:"boolean"},Iops:{type:"integer"}}},output:{resultWrapper:"RestoreDBClusterToPointInTimeResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"Sb"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},VpcSecurityGroupIds:{shape:"S2c"},Domain:{},CopyTagsToSnapshot:{type:"boolean"},DomainIAMRoleName:{},EnableIAMDatabaseAuthentication:{type:"boolean"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DBParameterGroupName:{},DeletionProtection:{type:"boolean"},EnableCustomerOwnedIp:{type:"boolean"},CustomIamInstanceProfile:{},BackupTarget:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},RestoreDBInstanceFromS3:{input:{type:"structure",required:["DBInstanceIdentifier","DBInstanceClass","Engine","SourceEngine","SourceEngineVersion","S3BucketName","S3IngestionRoleArn"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"S33"},VpcSecurityGroupIds:{shape:"S2c"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"Sb"},StorageType:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},EnableIAMDatabaseAuthentication:{type:"boolean"},SourceEngine:{},SourceEngineVersion:{},S3BucketName:{},S3Prefix:{},S3IngestionRoleArn:{},EnablePerformanceInsights:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DeletionProtection:{type:"boolean"},MaxAllocatedStorage:{type:"integer"}}},output:{resultWrapper:"RestoreDBInstanceFromS3Result",type:"structure",members:{DBInstance:{shape:"S35"}}}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},CopyTagsToSnapshot:{type:"boolean"},Tags:{shape:"Sb"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},VpcSecurityGroupIds:{shape:"S2c"},Domain:{},DomainIAMRoleName:{},EnableIAMDatabaseAuthentication:{type:"boolean"},EnableCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},UseDefaultProcessorFeatures:{type:"boolean"},DBParameterGroupName:{},DeletionProtection:{type:"boolean"},SourceDbiResourceId:{},MaxAllocatedStorage:{type:"integer"},SourceDBInstanceAutomatedBackupsArn:{},EnableCustomerOwnedIp:{type:"boolean"},CustomIamInstanceProfile:{},BackupTarget:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sl"}}}},StartActivityStream:{input:{type:"structure",required:["ResourceArn","Mode","KmsKeyId"],members:{ResourceArn:{},Mode:{},KmsKeyId:{},ApplyImmediately:{type:"boolean"},EngineNativeAuditFieldsIncluded:{type:"boolean"}}},output:{resultWrapper:"StartActivityStreamResult",type:"structure",members:{KmsKeyId:{},KinesisStreamName:{},Status:{},Mode:{},ApplyImmediately:{type:"boolean"},EngineNativeAuditFieldsIncluded:{type:"boolean"}}}},StartDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"StartDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},StartDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{}}},output:{resultWrapper:"StartDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},StartDBInstanceAutomatedBackupsReplication:{input:{type:"structure",required:["SourceDBInstanceArn"],members:{SourceDBInstanceArn:{},BackupRetentionPeriod:{type:"integer"},KmsKeyId:{},PreSignedUrl:{}}},output:{resultWrapper:"StartDBInstanceAutomatedBackupsReplicationResult",type:"structure",members:{DBInstanceAutomatedBackup:{shape:"S59"}}}},StartExportTask:{input:{type:"structure",required:["ExportTaskIdentifier","SourceArn","S3BucketName","IamRoleArn","KmsKeyId"],members:{ExportTaskIdentifier:{},SourceArn:{},S3BucketName:{},IamRoleArn:{},KmsKeyId:{},S3Prefix:{}, +ExportOnly:{shape:"Sv"}}},output:{shape:"Su",resultWrapper:"StartExportTaskResult"}},StopActivityStream:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"StopActivityStreamResult",type:"structure",members:{KmsKeyId:{},KinesisStreamName:{},Status:{}}}},StopDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"StopDBClusterResult",type:"structure",members:{DBCluster:{shape:"S2g"}}}},StopDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{}}},output:{resultWrapper:"StopDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S35"}}}},StopDBInstanceAutomatedBackupsReplication:{input:{type:"structure",required:["SourceDBInstanceArn"],members:{SourceDBInstanceArn:{}}},output:{resultWrapper:"StopDBInstanceAutomatedBackupsReplicationResult",type:"structure",members:{DBInstanceAutomatedBackup:{shape:"S59"}}}}},shapes:{S6:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S7"},EventCategoriesList:{shape:"S8"},Enabled:{type:"boolean"},EventSubscriptionArn:{}},wrapper:!0},S7:{type:"list",member:{locationName:"SourceId"}},S8:{type:"list",member:{locationName:"EventCategory"}},Sb:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sf:{type:"structure",members:{ResourceIdentifier:{},PendingMaintenanceActionDetails:{type:"list",member:{locationName:"PendingMaintenanceAction",type:"structure",members:{Action:{},AutoAppliedAfterDate:{type:"timestamp"},ForcedApplyDate:{type:"timestamp"},OptInStatus:{},CurrentApplyDate:{type:"timestamp"},Description:{}}}}},wrapper:!0},Sl:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}},DBSecurityGroupArn:{}},wrapper:!0},Ss:{type:"structure",members:{DBClusterIdentifier:{},BacktrackIdentifier:{},BacktrackTo:{type:"timestamp"},BacktrackedFrom:{type:"timestamp"},BacktrackRequestCreationTime:{type:"timestamp"},Status:{}}},Su:{type:"structure",members:{ExportTaskIdentifier:{},SourceArn:{},ExportOnly:{shape:"Sv"},SnapshotTime:{type:"timestamp"},TaskStartTime:{type:"timestamp"},TaskEndTime:{type:"timestamp"},S3Bucket:{},S3Prefix:{},IamRoleArn:{},KmsKeyId:{},Status:{},PercentProgress:{type:"integer"},TotalExtractedDataInGB:{type:"integer"},FailureCause:{},WarningMessage:{}}},Sv:{type:"list",member:{}},Sz:{type:"structure",members:{DBClusterParameterGroupName:{},DBParameterGroupFamily:{},Description:{},DBClusterParameterGroupArn:{}},wrapper:!0},S12:{type:"structure",members:{AvailabilityZones:{shape:"S13"},DBClusterSnapshotIdentifier:{},DBClusterIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},EngineMode:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},VpcId:{},ClusterCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},PercentProgress:{type:"integer"},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DBClusterSnapshotArn:{},SourceDBClusterSnapshotArn:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},TagList:{shape:"Sb"}},wrapper:!0},S13:{type:"list",member:{locationName:"AvailabilityZone"}},S16:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},DBParameterGroupArn:{}},wrapper:!0},S19:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{},PercentProgress:{type:"integer"},SourceRegion:{},SourceDBSnapshotIdentifier:{},StorageType:{},TdeCredentialArn:{},Encrypted:{type:"boolean"},KmsKeyId:{},DBSnapshotArn:{},Timezone:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},ProcessorFeatures:{shape:"S1b"},DbiResourceId:{},TagList:{shape:"Sb"},OriginalSnapshotCreateTime:{type:"timestamp"},SnapshotTarget:{}},wrapper:!0},S1b:{type:"list",member:{locationName:"ProcessorFeature",type:"structure",members:{Name:{},Value:{}}}},S1f:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Permanent:{type:"boolean"},Port:{type:"integer"},OptionVersion:{},OptionSettings:{type:"list",member:{shape:"S1j",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"S1k"},VpcSecurityGroupMemberships:{shape:"S1m"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{},OptionGroupArn:{}},wrapper:!0},S1j:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},S1k:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},S1m:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S1q:{type:"structure",members:{CustomAvailabilityZoneId:{},CustomAvailabilityZoneName:{},CustomAvailabilityZoneStatus:{},VpnDetails:{type:"structure",members:{VpnId:{},VpnTunnelOriginatorIP:{},VpnGatewayIp:{},VpnPSK:{type:"string",sensitive:!0},VpnName:{},VpnState:{}}}},wrapper:!0},S21:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S22"},SupportedCharacterSets:{shape:"S23"},SupportedNcharCharacterSets:{shape:"S23"},ValidUpgradeTarget:{type:"list",member:{locationName:"UpgradeTarget",type:"structure",members:{Engine:{},EngineVersion:{},Description:{},AutoUpgrade:{type:"boolean"},IsMajorVersionUpgrade:{type:"boolean"},SupportedEngineModes:{shape:"S26"},SupportsParallelQuery:{type:"boolean"},SupportsGlobalDatabases:{type:"boolean"},SupportsBabelfish:{type:"boolean"}}}},SupportedTimezones:{type:"list",member:{locationName:"Timezone",type:"structure",members:{TimezoneName:{}}}},ExportableLogTypes:{shape:"S29"},SupportsLogExportsToCloudwatchLogs:{type:"boolean"},SupportsReadReplica:{type:"boolean"},SupportedEngineModes:{shape:"S26"},SupportedFeatureNames:{type:"list",member:{}},Status:{},SupportsParallelQuery:{type:"boolean"},SupportsGlobalDatabases:{type:"boolean"},MajorEngineVersion:{},DatabaseInstallationFilesS3BucketName:{},DatabaseInstallationFilesS3Prefix:{},DBEngineVersionArn:{},KMSKeyId:{},CreateTime:{type:"timestamp"},TagList:{shape:"Sb"},SupportsBabelfish:{type:"boolean"}}},S22:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S23:{type:"list",member:{shape:"S22",locationName:"CharacterSet"}},S26:{type:"list",member:{}},S29:{type:"list",member:{}},S2c:{type:"list",member:{locationName:"VpcSecurityGroupId"}},S2e:{type:"structure",members:{MinCapacity:{type:"integer"},MaxCapacity:{type:"integer"},AutoPause:{type:"boolean"},SecondsUntilAutoPause:{type:"integer"},TimeoutAction:{},SecondsBeforeTimeout:{type:"integer"}}},S2g:{type:"structure",members:{AllocatedStorage:{type:"integer"},AvailabilityZones:{shape:"S13"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroup:{},DBSubnetGroup:{},Status:{},AutomaticRestartTime:{type:"timestamp"},PercentProgress:{},EarliestRestorableTime:{type:"timestamp"},Endpoint:{},ReaderEndpoint:{},CustomEndpoints:{shape:"Sv"},MultiAZ:{type:"boolean"},Engine:{},EngineVersion:{},LatestRestorableTime:{type:"timestamp"},Port:{type:"integer"},MasterUsername:{},DBClusterOptionGroupMemberships:{type:"list",member:{locationName:"DBClusterOptionGroup",type:"structure",members:{DBClusterOptionGroupName:{},Status:{}}}},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},ReplicationSourceIdentifier:{},ReadReplicaIdentifiers:{type:"list",member:{locationName:"ReadReplicaIdentifier"}},DBClusterMembers:{type:"list",member:{locationName:"DBClusterMember",type:"structure",members:{DBInstanceIdentifier:{},IsClusterWriter:{type:"boolean"},DBClusterParameterGroupStatus:{},PromotionTier:{type:"integer"}},wrapper:!0}},VpcSecurityGroups:{shape:"S1m"},HostedZoneId:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DbClusterResourceId:{},DBClusterArn:{},AssociatedRoles:{type:"list",member:{locationName:"DBClusterRole",type:"structure",members:{RoleArn:{},Status:{},FeatureName:{}}}},IAMDatabaseAuthenticationEnabled:{type:"boolean"},CloneGroupId:{},ClusterCreateTime:{type:"timestamp"},EarliestBacktrackTime:{type:"timestamp"},BacktrackWindow:{type:"long"},BacktrackConsumedChangeRecords:{type:"long"},EnabledCloudwatchLogsExports:{shape:"S29"},Capacity:{type:"integer"},EngineMode:{},ScalingConfigurationInfo:{type:"structure",members:{MinCapacity:{type:"integer"},MaxCapacity:{type:"integer"},AutoPause:{type:"boolean"},SecondsUntilAutoPause:{type:"integer"},TimeoutAction:{},SecondsBeforeTimeout:{type:"integer"}}},DeletionProtection:{type:"boolean"},HttpEndpointEnabled:{type:"boolean"},ActivityStreamMode:{},ActivityStreamStatus:{},ActivityStreamKmsKeyId:{},ActivityStreamKinesisStreamName:{},CopyTagsToSnapshot:{type:"boolean"},CrossAccountClone:{type:"boolean"},DomainMemberships:{shape:"S2r"},TagList:{shape:"Sb"},GlobalWriteForwardingStatus:{},GlobalWriteForwardingRequested:{type:"boolean"},PendingModifiedValues:{type:"structure",members:{PendingCloudwatchLogsExports:{shape:"S2v"},DBClusterIdentifier:{},MasterUserPassword:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},EngineVersion:{}}},DBClusterInstanceClass:{},StorageType:{},Iops:{type:"integer"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},PerformanceInsightsEnabled:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"}},wrapper:!0},S2r:{type:"list",member:{locationName:"DomainMembership",type:"structure",members:{Domain:{},Status:{},FQDN:{},IAMRoleName:{}}}},S2v:{type:"structure",members:{LogTypesToEnable:{shape:"S29"},LogTypesToDisable:{shape:"S29"}}},S2x:{type:"structure",members:{DBClusterEndpointIdentifier:{},DBClusterIdentifier:{},DBClusterEndpointResourceIdentifier:{},Endpoint:{},Status:{},EndpointType:{},CustomEndpointType:{},StaticMembers:{shape:"Sv"},ExcludedMembers:{shape:"Sv"},DBClusterEndpointArn:{}}},S33:{type:"list",member:{locationName:"DBSecurityGroupName"}},S35:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},AutomaticRestartTime:{type:"timestamp"},MasterUsername:{},DBName:{},Endpoint:{shape:"S36"},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"S1k"},VpcSecurityGroups:{shape:"S1m"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S39"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},LicenseModel:{},Iops:{type:"integer"},DBInstanceIdentifier:{},StorageType:{},CACertificateIdentifier:{},DBSubnetGroupName:{},PendingCloudwatchLogsExports:{shape:"S2v"},ProcessorFeatures:{shape:"S1b"},IAMDatabaseAuthenticationEnabled:{type:"boolean"},AutomationMode:{},ResumeFullAutomationModeTime:{type:"timestamp"}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},ReadReplicaDBClusterIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBClusterIdentifier"}},ReplicaMode:{},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},NcharCharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"},StatusInfos:{type:"list",member:{locationName:"DBInstanceStatusInfo",type:"structure",members:{StatusType:{},Normal:{type:"boolean"},Status:{},Message:{}}}},StorageType:{},TdeCredentialArn:{},DbInstancePort:{type:"integer"},DBClusterIdentifier:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DbiResourceId:{},CACertificateIdentifier:{},DomainMemberships:{shape:"S2r"},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},EnhancedMonitoringResourceArn:{},MonitoringRoleArn:{},PromotionTier:{type:"integer"},DBInstanceArn:{},Timezone:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},PerformanceInsightsEnabled:{type:"boolean"},PerformanceInsightsKMSKeyId:{},PerformanceInsightsRetentionPeriod:{type:"integer"},EnabledCloudwatchLogsExports:{shape:"S29"},ProcessorFeatures:{shape:"S1b"},DeletionProtection:{type:"boolean"},AssociatedRoles:{type:"list",member:{locationName:"DBInstanceRole",type:"structure",members:{RoleArn:{},FeatureName:{},Status:{}}}},ListenerEndpoint:{shape:"S36"},MaxAllocatedStorage:{type:"integer"},TagList:{shape:"Sb"},DBInstanceAutomatedBackupsReplications:{shape:"S3p"},CustomerOwnedIpEnabled:{type:"boolean"},AwsBackupRecoveryPointArn:{},ActivityStreamStatus:{},ActivityStreamKmsKeyId:{},ActivityStreamKinesisStreamName:{},ActivityStreamMode:{},ActivityStreamEngineNativeAuditFieldsIncluded:{type:"boolean"},AutomationMode:{},ResumeFullAutomationModeTime:{type:"timestamp"},CustomIamInstanceProfile:{},BackupTarget:{}},wrapper:!0},S36:{type:"structure",members:{Address:{},Port:{type:"integer"},HostedZoneId:{}}},S39:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S3c"},SubnetOutpost:{type:"structure",members:{Arn:{}}},SubnetStatus:{}}}},DBSubnetGroupArn:{}},wrapper:!0},S3c:{type:"structure",members:{Name:{}},wrapper:!0},S3p:{type:"list",member:{locationName:"DBInstanceAutomatedBackupsReplication",type:"structure",members:{DBInstanceAutomatedBackupsArn:{}}}},S3x:{type:"list",member:{type:"structure",members:{Description:{},UserName:{},AuthScheme:{},SecretArn:{},IAMAuth:{}}}},S42:{type:"structure",members:{DBProxyName:{},DBProxyArn:{},Status:{},EngineFamily:{},VpcId:{},VpcSecurityGroupIds:{shape:"Sv"},VpcSubnetIds:{shape:"Sv"},Auth:{type:"list",member:{type:"structure",members:{Description:{},UserName:{},AuthScheme:{},SecretArn:{},IAMAuth:{}}}},RoleArn:{},Endpoint:{},RequireTLS:{type:"boolean"},IdleClientTimeout:{type:"integer"},DebugLogging:{type:"boolean"},CreatedDate:{type:"timestamp"},UpdatedDate:{type:"timestamp"}}},S4b:{type:"structure",members:{DBProxyEndpointName:{},DBProxyEndpointArn:{},DBProxyName:{},Status:{},VpcId:{},VpcSecurityGroupIds:{shape:"Sv"},VpcSubnetIds:{shape:"Sv"},Endpoint:{},CreatedDate:{type:"timestamp"},TargetRole:{},IsDefault:{type:"boolean"}}},S4i:{type:"list",member:{locationName:"SubnetIdentifier"}},S4o:{type:"structure",members:{GlobalClusterIdentifier:{},GlobalClusterResourceId:{},GlobalClusterArn:{},Status:{},Engine:{},EngineVersion:{},DatabaseName:{},StorageEncrypted:{type:"boolean"},DeletionProtection:{type:"boolean"},GlobalClusterMembers:{type:"list",member:{locationName:"GlobalClusterMember",type:"structure",members:{DBClusterArn:{},Readers:{type:"list",member:{}},IsWriter:{type:"boolean"},GlobalWriteForwardingStatus:{}},wrapper:!0}},FailoverState:{type:"structure",members:{Status:{},FromDbClusterArn:{},ToDbClusterArn:{}},wrapper:!0}},wrapper:!0},S59:{type:"structure",members:{DBInstanceArn:{},DbiResourceId:{},Region:{},DBInstanceIdentifier:{},RestoreWindow:{type:"structure",members:{EarliestTime:{type:"timestamp"},LatestTime:{type:"timestamp"}}},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},Engine:{},EngineVersion:{},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},TdeCredentialArn:{},Encrypted:{type:"boolean"},StorageType:{},KmsKeyId:{},Timezone:{},IAMDatabaseAuthenticationEnabled:{type:"boolean"},BackupRetentionPeriod:{type:"integer"},DBInstanceAutomatedBackupsArn:{},DBInstanceAutomatedBackupsReplications:{shape:"S3p"},BackupTarget:{}},wrapper:!0},S5p:{type:"structure",members:{InstallationMediaId:{},CustomAvailabilityZoneId:{},Engine:{},EngineVersion:{},EngineInstallationMediaPath:{},OSInstallationMediaPath:{},Status:{},FailureCause:{type:"structure",members:{Message:{}}}}},S60:{type:"list",member:{locationName:"Filter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{locationName:"Value"}}}}},S65:{type:"structure",members:{CertificateIdentifier:{},CertificateType:{},Thumbprint:{},ValidFrom:{type:"timestamp"},ValidTill:{type:"timestamp"},CertificateArn:{},CustomerOverride:{type:"boolean"},CustomerOverrideValidTill:{type:"timestamp"}},wrapper:!0},S6k:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{},SupportedEngineModes:{shape:"S26"}}}},S6p:{type:"structure",members:{DBClusterSnapshotIdentifier:{},DBClusterSnapshotAttributes:{type:"list",member:{locationName:"DBClusterSnapshotAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{shape:"S6s"}}}}},wrapper:!0},S6s:{type:"list",member:{locationName:"AttributeValue"}},S7r:{type:"structure",members:{DBProxyName:{},TargetGroupName:{},TargetGroupArn:{},IsDefault:{type:"boolean"},Status:{},ConnectionPoolConfig:{type:"structure",members:{MaxConnectionsPercent:{type:"integer"},MaxIdleConnectionsPercent:{type:"integer"},ConnectionBorrowTimeout:{type:"integer"},SessionPinningFilters:{shape:"Sv"},InitQuery:{}}},CreatedDate:{type:"timestamp"},UpdatedDate:{type:"timestamp"}}},S7v:{type:"list",member:{type:"structure",members:{TargetArn:{},Endpoint:{},TrackedClusterId:{},RdsResourceId:{},Port:{type:"integer"},Type:{},Role:{},TargetHealth:{type:"structure",members:{State:{},Reason:{},Description:{}}}}}},S87:{type:"structure",members:{DBSnapshotIdentifier:{},DBSnapshotAttributes:{type:"list",member:{locationName:"DBSnapshotAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{shape:"S6s"}},wrapper:!0}}},wrapper:!0},S8i:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S6k"}},wrapper:!0},S9r:{type:"list",member:{locationName:"AvailableProcessorFeature",type:"structure",members:{Name:{},DefaultValue:{},AllowedValues:{}}}},Sa0:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"Sa2"},ReservedDBInstanceArn:{},LeaseId:{}},wrapper:!0},Sa2:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},Sah:{type:"list",member:{locationName:"Range",type:"structure",members:{From:{type:"integer"},To:{type:"integer"},Step:{type:"integer"}}}},Sb3:{type:"structure",members:{EnableLogTypes:{shape:"S29"},DisableLogTypes:{shape:"S29"}}},Sb7:{type:"structure",members:{DBClusterParameterGroupName:{}}},Sbe:{type:"structure",members:{DBParameterGroupName:{}}}}}},{}],193:[function(e,t,r){t.exports={pagination:{DescribeCertificates:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Certificates"},DescribeCustomAvailabilityZones:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"CustomAvailabilityZones"},DescribeDBClusterBacktracks:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusterBacktracks"},DescribeDBClusterEndpoints:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusterEndpoints"},DescribeDBClusterParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusterParameterGroups"},DescribeDBClusterParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeDBClusterSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusterSnapshots"},DescribeDBClusters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBClusters"},DescribeDBEngineVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBEngineVersions"},DescribeDBInstanceAutomatedBackups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBInstanceAutomatedBackups"},DescribeDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBInstances"},DescribeDBLogFiles:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DescribeDBLogFiles"},DescribeDBParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeDBProxies:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBProxies"},DescribeDBProxyEndpoints:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBProxyEndpoints"},DescribeDBProxyTargetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"TargetGroups"},DescribeDBProxyTargets:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Targets"},DescribeDBSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"EngineDefaults.Marker",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeExportTasks:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ExportTasks"},DescribeGlobalClusters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"GlobalClusters"},DescribeInstallationMedia:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"InstallationMedia"},DescribeOptionGroupOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OrderableDBInstanceOptions"},DescribePendingMaintenanceActions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"PendingMaintenanceActions"},DescribeReservedDBInstances:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedDBInstancesOfferings"},DescribeSourceRegions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"SourceRegions"},DownloadDBLogFilePortion:{input_token:"Marker",limit_key:"NumberOfLines",more_results:"AdditionalDataPending",output_token:"Marker",result_key:"LogFileData"},ListTagsForResource:{result_key:"TagList"}}}},{}],194:[function(e,t,r){t.exports={version:2,waiters:{DBInstanceAvailable:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]},DBInstanceDeleted:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(DBInstances) == `0`"},{expected:"DBInstanceNotFound",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]},DBSnapshotAvailable:{delay:30,operation:"DescribeDBSnapshots",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBSnapshots[].Status"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"}]},DBSnapshotDeleted:{delay:30,operation:"DescribeDBSnapshots",maxAttempts:60,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(DBSnapshots) == `0`"},{expected:"DBSnapshotNotFound",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBSnapshots[].Status"}]},DBClusterSnapshotAvailable:{delay:30,operation:"DescribeDBClusterSnapshots",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBClusterSnapshots[].Status"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"}]},DBClusterSnapshotDeleted:{delay:30,operation:"DescribeDBClusterSnapshots",maxAttempts:60,acceptors:[{expected:!0,matcher:"path",state:"success",argument:"length(DBClusterSnapshots) == `0`"},{expected:"DBClusterSnapshotNotFoundFault",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBClusterSnapshots[].Status"}]}}}},{}],195:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-12-01",endpointPrefix:"redshift",protocol:"query",serviceFullName:"Amazon Redshift",serviceId:"Redshift",signatureVersion:"v4",uid:"redshift-2012-12-01",xmlNamespace:"http://redshift.amazonaws.com/doc/2012-12-01/"},operations:{AcceptReservedNodeExchange:{input:{type:"structure",required:["ReservedNodeId","TargetReservedNodeOfferingId"],members:{ReservedNodeId:{},TargetReservedNodeOfferingId:{}}},output:{resultWrapper:"AcceptReservedNodeExchangeResult",type:"structure",members:{ExchangedReservedNode:{shape:"S4"}}}},AddPartner:{input:{shape:"Sb"},output:{shape:"Sg",resultWrapper:"AddPartnerResult"}},AssociateDataShareConsumer:{input:{type:"structure",required:["DataShareArn"],members:{DataShareArn:{},AssociateEntireAccount:{type:"boolean"},ConsumerArn:{}}},output:{shape:"Sj",resultWrapper:"AssociateDataShareConsumerResult"}},AuthorizeClusterSecurityGroupIngress:{input:{type:"structure",required:["ClusterSecurityGroupName"],members:{ClusterSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeClusterSecurityGroupIngressResult",type:"structure",members:{ClusterSecurityGroup:{shape:"Sq"}}}},AuthorizeDataShare:{input:{type:"structure",required:["DataShareArn","ConsumerIdentifier"],members:{DataShareArn:{},ConsumerIdentifier:{}}},output:{shape:"Sj",resultWrapper:"AuthorizeDataShareResult"}},AuthorizeEndpointAccess:{input:{type:"structure",required:["Account"],members:{ClusterIdentifier:{},Account:{},VpcIds:{shape:"Sz"}}},output:{shape:"S10",resultWrapper:"AuthorizeEndpointAccessResult"}},AuthorizeSnapshotAccess:{input:{type:"structure",required:["SnapshotIdentifier","AccountWithRestoreAccess"],members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{},AccountWithRestoreAccess:{}}},output:{resultWrapper:"AuthorizeSnapshotAccessResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},BatchDeleteClusterSnapshots:{input:{type:"structure",required:["Identifiers"],members:{Identifiers:{type:"list",member:{shape:"S1c",locationName:"DeleteClusterSnapshotMessage"}}}},output:{resultWrapper:"BatchDeleteClusterSnapshotsResult",type:"structure",members:{Resources:{shape:"S1e"},Errors:{type:"list",member:{shape:"S1g",locationName:"SnapshotErrorMessage"}}}}},BatchModifyClusterSnapshots:{input:{type:"structure",required:["SnapshotIdentifierList"],members:{SnapshotIdentifierList:{shape:"S1e"},ManualSnapshotRetentionPeriod:{type:"integer"},Force:{type:"boolean"}}},output:{resultWrapper:"BatchModifyClusterSnapshotsResult",type:"structure",members:{Resources:{shape:"S1e"},Errors:{type:"list",member:{shape:"S1g",locationName:"SnapshotErrorMessage"}}}}},CancelResize:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S1l",resultWrapper:"CancelResizeResult"}},CopyClusterSnapshot:{input:{type:"structure",required:["SourceSnapshotIdentifier","TargetSnapshotIdentifier"],members:{SourceSnapshotIdentifier:{},SourceSnapshotClusterIdentifier:{},TargetSnapshotIdentifier:{}, +ManualSnapshotRetentionPeriod:{type:"integer"}}},output:{resultWrapper:"CopyClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},CreateAuthenticationProfile:{input:{type:"structure",required:["AuthenticationProfileName","AuthenticationProfileContent"],members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}},output:{resultWrapper:"CreateAuthenticationProfileResult",type:"structure",members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}}},CreateCluster:{input:{type:"structure",required:["ClusterIdentifier","NodeType","MasterUsername","MasterUserPassword"],members:{DBName:{},ClusterIdentifier:{},ClusterType:{},NodeType:{},MasterUsername:{},MasterUserPassword:{},ClusterSecurityGroups:{shape:"S1x"},VpcSecurityGroupIds:{shape:"S1y"},ClusterSubnetGroupName:{},AvailabilityZone:{},PreferredMaintenanceWindow:{},ClusterParameterGroupName:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRetentionPeriod:{type:"integer"},Port:{type:"integer"},ClusterVersion:{},AllowVersionUpgrade:{type:"boolean"},NumberOfNodes:{type:"integer"},PubliclyAccessible:{type:"boolean"},Encrypted:{type:"boolean"},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},ElasticIp:{},Tags:{shape:"St"},KmsKeyId:{},EnhancedVpcRouting:{type:"boolean"},AdditionalInfo:{},IamRoles:{shape:"S1z"},MaintenanceTrackName:{},SnapshotScheduleIdentifier:{},AvailabilityZoneRelocation:{type:"boolean"},AquaConfigurationStatus:{},DefaultIamRoleArn:{}}},output:{resultWrapper:"CreateClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},CreateClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName","ParameterGroupFamily","Description"],members:{ParameterGroupName:{},ParameterGroupFamily:{},Description:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateClusterParameterGroupResult",type:"structure",members:{ClusterParameterGroup:{shape:"S31"}}}},CreateClusterSecurityGroup:{input:{type:"structure",required:["ClusterSecurityGroupName","Description"],members:{ClusterSecurityGroupName:{},Description:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateClusterSecurityGroupResult",type:"structure",members:{ClusterSecurityGroup:{shape:"Sq"}}}},CreateClusterSnapshot:{input:{type:"structure",required:["SnapshotIdentifier","ClusterIdentifier"],members:{SnapshotIdentifier:{},ClusterIdentifier:{},ManualSnapshotRetentionPeriod:{type:"integer"},Tags:{shape:"St"}}},output:{resultWrapper:"CreateClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},CreateClusterSubnetGroup:{input:{type:"structure",required:["ClusterSubnetGroupName","Description","SubnetIds"],members:{ClusterSubnetGroupName:{},Description:{},SubnetIds:{shape:"S37"},Tags:{shape:"St"}}},output:{resultWrapper:"CreateClusterSubnetGroupResult",type:"structure",members:{ClusterSubnetGroup:{shape:"S39"}}}},CreateEndpointAccess:{input:{type:"structure",required:["EndpointName","SubnetGroupName"],members:{ClusterIdentifier:{},ResourceOwner:{},EndpointName:{},SubnetGroupName:{},VpcSecurityGroupIds:{shape:"S1y"}}},output:{shape:"S3g",resultWrapper:"CreateEndpointAccessResult"}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},SourceIds:{shape:"S3i"},EventCategories:{shape:"S3j"},Severity:{},Enabled:{type:"boolean"},Tags:{shape:"St"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S3l"}}}},CreateHsmClientCertificate:{input:{type:"structure",required:["HsmClientCertificateIdentifier"],members:{HsmClientCertificateIdentifier:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateHsmClientCertificateResult",type:"structure",members:{HsmClientCertificate:{shape:"S3o"}}}},CreateHsmConfiguration:{input:{type:"structure",required:["HsmConfigurationIdentifier","Description","HsmIpAddress","HsmPartitionName","HsmPartitionPassword","HsmServerPublicCertificate"],members:{HsmConfigurationIdentifier:{},Description:{},HsmIpAddress:{},HsmPartitionName:{},HsmPartitionPassword:{},HsmServerPublicCertificate:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateHsmConfigurationResult",type:"structure",members:{HsmConfiguration:{shape:"S3r"}}}},CreateScheduledAction:{input:{type:"structure",required:["ScheduledActionName","TargetAction","Schedule","IamRole"],members:{ScheduledActionName:{},TargetAction:{shape:"S3t"},Schedule:{},IamRole:{},ScheduledActionDescription:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Enable:{type:"boolean"}}},output:{shape:"S3x",resultWrapper:"CreateScheduledActionResult"}},CreateSnapshotCopyGrant:{input:{type:"structure",required:["SnapshotCopyGrantName"],members:{SnapshotCopyGrantName:{},KmsKeyId:{},Tags:{shape:"St"}}},output:{resultWrapper:"CreateSnapshotCopyGrantResult",type:"structure",members:{SnapshotCopyGrant:{shape:"S42"}}}},CreateSnapshotSchedule:{input:{type:"structure",members:{ScheduleDefinitions:{shape:"S44"},ScheduleIdentifier:{},ScheduleDescription:{},Tags:{shape:"St"},DryRun:{type:"boolean"},NextInvocations:{type:"integer"}}},output:{shape:"S45",resultWrapper:"CreateSnapshotScheduleResult"}},CreateTags:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"St"}}}},CreateUsageLimit:{input:{type:"structure",required:["ClusterIdentifier","FeatureType","LimitType","Amount"],members:{ClusterIdentifier:{},FeatureType:{},LimitType:{},Amount:{type:"long"},Period:{},BreachAction:{},Tags:{shape:"St"}}},output:{shape:"S4f",resultWrapper:"CreateUsageLimitResult"}},DeauthorizeDataShare:{input:{type:"structure",required:["DataShareArn","ConsumerIdentifier"],members:{DataShareArn:{},ConsumerIdentifier:{}}},output:{shape:"Sj",resultWrapper:"DeauthorizeDataShareResult"}},DeleteAuthenticationProfile:{input:{type:"structure",required:["AuthenticationProfileName"],members:{AuthenticationProfileName:{}}},output:{resultWrapper:"DeleteAuthenticationProfileResult",type:"structure",members:{AuthenticationProfileName:{}}}},DeleteCluster:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},SkipFinalClusterSnapshot:{type:"boolean"},FinalClusterSnapshotIdentifier:{},FinalClusterSnapshotRetentionPeriod:{type:"integer"}}},output:{resultWrapper:"DeleteClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},DeleteClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName"],members:{ParameterGroupName:{}}}},DeleteClusterSecurityGroup:{input:{type:"structure",required:["ClusterSecurityGroupName"],members:{ClusterSecurityGroupName:{}}}},DeleteClusterSnapshot:{input:{shape:"S1c"},output:{resultWrapper:"DeleteClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},DeleteClusterSubnetGroup:{input:{type:"structure",required:["ClusterSubnetGroupName"],members:{ClusterSubnetGroupName:{}}}},DeleteEndpointAccess:{input:{type:"structure",required:["EndpointName"],members:{EndpointName:{}}},output:{shape:"S3g",resultWrapper:"DeleteEndpointAccessResult"}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}}},DeleteHsmClientCertificate:{input:{type:"structure",required:["HsmClientCertificateIdentifier"],members:{HsmClientCertificateIdentifier:{}}}},DeleteHsmConfiguration:{input:{type:"structure",required:["HsmConfigurationIdentifier"],members:{HsmConfigurationIdentifier:{}}}},DeletePartner:{input:{shape:"Sb"},output:{shape:"Sg",resultWrapper:"DeletePartnerResult"}},DeleteScheduledAction:{input:{type:"structure",required:["ScheduledActionName"],members:{ScheduledActionName:{}}}},DeleteSnapshotCopyGrant:{input:{type:"structure",required:["SnapshotCopyGrantName"],members:{SnapshotCopyGrantName:{}}}},DeleteSnapshotSchedule:{input:{type:"structure",required:["ScheduleIdentifier"],members:{ScheduleIdentifier:{}}}},DeleteTags:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{shape:"S4x"}}}},DeleteUsageLimit:{input:{type:"structure",required:["UsageLimitId"],members:{UsageLimitId:{}}}},DescribeAccountAttributes:{input:{type:"structure",members:{AttributeNames:{type:"list",member:{locationName:"AttributeName"}}}},output:{resultWrapper:"DescribeAccountAttributesResult",type:"structure",members:{AccountAttributes:{type:"list",member:{locationName:"AccountAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{type:"list",member:{locationName:"AttributeValueTarget",type:"structure",members:{AttributeValue:{}}}}}}}}}},DescribeAuthenticationProfiles:{input:{type:"structure",members:{AuthenticationProfileName:{}}},output:{resultWrapper:"DescribeAuthenticationProfilesResult",type:"structure",members:{AuthenticationProfiles:{type:"list",member:{type:"structure",members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}}}}}},DescribeClusterDbRevisions:{input:{type:"structure",members:{ClusterIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeClusterDbRevisionsResult",type:"structure",members:{Marker:{},ClusterDbRevisions:{type:"list",member:{locationName:"ClusterDbRevision",type:"structure",members:{ClusterIdentifier:{},CurrentDatabaseRevision:{},DatabaseRevisionReleaseDate:{type:"timestamp"},RevisionTargets:{type:"list",member:{locationName:"RevisionTarget",type:"structure",members:{DatabaseRevision:{},Description:{},DatabaseRevisionReleaseDate:{type:"timestamp"}}}}}}}}}},DescribeClusterParameterGroups:{input:{type:"structure",members:{ParameterGroupName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeClusterParameterGroupsResult",type:"structure",members:{Marker:{},ParameterGroups:{type:"list",member:{shape:"S31",locationName:"ClusterParameterGroup"}}}}},DescribeClusterParameters:{input:{type:"structure",required:["ParameterGroupName"],members:{ParameterGroupName:{},Source:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeClusterParametersResult",type:"structure",members:{Parameters:{shape:"S5m"},Marker:{}}}},DescribeClusterSecurityGroups:{input:{type:"structure",members:{ClusterSecurityGroupName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeClusterSecurityGroupsResult",type:"structure",members:{Marker:{},ClusterSecurityGroups:{type:"list",member:{shape:"Sq",locationName:"ClusterSecurityGroup"}}}}},DescribeClusterSnapshots:{input:{type:"structure",members:{ClusterIdentifier:{},SnapshotIdentifier:{},SnapshotType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},MaxRecords:{type:"integer"},Marker:{},OwnerAccount:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"},ClusterExists:{type:"boolean"},SortingEntities:{type:"list",member:{locationName:"SnapshotSortingEntity",type:"structure",required:["Attribute"],members:{Attribute:{},SortOrder:{}}}}}},output:{resultWrapper:"DescribeClusterSnapshotsResult",type:"structure",members:{Marker:{},Snapshots:{type:"list",member:{shape:"S14",locationName:"Snapshot"}}}}},DescribeClusterSubnetGroups:{input:{type:"structure",members:{ClusterSubnetGroupName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeClusterSubnetGroupsResult",type:"structure",members:{Marker:{},ClusterSubnetGroups:{type:"list",member:{shape:"S39",locationName:"ClusterSubnetGroup"}}}}},DescribeClusterTracks:{input:{type:"structure",members:{MaintenanceTrackName:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeClusterTracksResult",type:"structure",members:{MaintenanceTracks:{type:"list",member:{locationName:"MaintenanceTrack",type:"structure",members:{MaintenanceTrackName:{},DatabaseVersion:{},UpdateTargets:{type:"list",member:{locationName:"UpdateTarget",type:"structure",members:{MaintenanceTrackName:{},DatabaseVersion:{},SupportedOperations:{type:"list",member:{locationName:"SupportedOperation",type:"structure",members:{OperationName:{}}}}}}}}}},Marker:{}}}},DescribeClusterVersions:{input:{type:"structure",members:{ClusterVersion:{},ClusterParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeClusterVersionsResult",type:"structure",members:{Marker:{},ClusterVersions:{type:"list",member:{locationName:"ClusterVersion",type:"structure",members:{ClusterVersion:{},ClusterParameterGroupFamily:{},Description:{}}}}}}},DescribeClusters:{input:{type:"structure",members:{ClusterIdentifier:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeClustersResult",type:"structure",members:{Marker:{},Clusters:{type:"list",member:{shape:"S22",locationName:"Cluster"}}}}},DescribeDataShares:{input:{type:"structure",members:{DataShareArn:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDataSharesResult",type:"structure",members:{DataShares:{shape:"S6j"},Marker:{}}}},DescribeDataSharesForConsumer:{input:{type:"structure",members:{ConsumerArn:{},Status:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDataSharesForConsumerResult",type:"structure",members:{DataShares:{shape:"S6j"},Marker:{}}}},DescribeDataSharesForProducer:{input:{type:"structure",members:{ProducerArn:{},Status:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDataSharesForProducerResult",type:"structure",members:{DataShares:{shape:"S6j"},Marker:{}}}},DescribeDefaultClusterParameters:{input:{type:"structure",required:["ParameterGroupFamily"],members:{ParameterGroupFamily:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDefaultClusterParametersResult",type:"structure",members:{DefaultClusterParameters:{type:"structure",members:{ParameterGroupFamily:{},Marker:{},Parameters:{shape:"S5m"}},wrapper:!0}}}},DescribeEndpointAccess:{input:{type:"structure",members:{ClusterIdentifier:{},ResourceOwner:{},EndpointName:{},VpcId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEndpointAccessResult",type:"structure",members:{EndpointAccessList:{type:"list",member:{shape:"S3g"}},Marker:{}}}},DescribeEndpointAuthorization:{input:{type:"structure",members:{ClusterIdentifier:{},Account:{},Grantee:{type:"boolean"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEndpointAuthorizationResult",type:"structure",members:{EndpointAuthorizationList:{type:"list",member:{shape:"S10"}},Marker:{}}}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},Events:{type:"list",member:{locationName:"EventInfoMap",type:"structure",members:{EventId:{},EventCategories:{shape:"S3j"},EventDescription:{},Severity:{}},wrapper:!0}}},wrapper:!0}}}}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S3l",locationName:"EventSubscription"}}}}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S3j"},Severity:{},Date:{type:"timestamp"},EventId:{}}}}}}},DescribeHsmClientCertificates:{input:{type:"structure",members:{HsmClientCertificateIdentifier:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeHsmClientCertificatesResult",type:"structure",members:{Marker:{},HsmClientCertificates:{type:"list",member:{shape:"S3o",locationName:"HsmClientCertificate"}}}}},DescribeHsmConfigurations:{input:{type:"structure",members:{HsmConfigurationIdentifier:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeHsmConfigurationsResult",type:"structure",members:{Marker:{},HsmConfigurations:{type:"list",member:{shape:"S3r",locationName:"HsmConfiguration"}}}}},DescribeLoggingStatus:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S7k",resultWrapper:"DescribeLoggingStatusResult"}},DescribeNodeConfigurationOptions:{input:{type:"structure",required:["ActionType"],members:{ActionType:{},ClusterIdentifier:{},SnapshotIdentifier:{},OwnerAccount:{},Filters:{locationName:"Filter",type:"list",member:{locationName:"NodeConfigurationOptionsFilter",type:"structure",members:{Name:{},Operator:{},Values:{shape:"S7r",locationName:"Value"}}}},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeNodeConfigurationOptionsResult",type:"structure",members:{NodeConfigurationOptionList:{type:"list",member:{locationName:"NodeConfigurationOption",type:"structure",members:{NodeType:{},NumberOfNodes:{type:"integer"},EstimatedDiskUtilizationPercent:{type:"double"},Mode:{}}}},Marker:{}}}},DescribeOrderableClusterOptions:{input:{type:"structure",members:{ClusterVersion:{},NodeType:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableClusterOptionsResult",type:"structure",members:{OrderableClusterOptions:{type:"list",member:{locationName:"OrderableClusterOption",type:"structure",members:{ClusterVersion:{},ClusterType:{},NodeType:{},AvailabilityZones:{type:"list",member:{shape:"S3c",locationName:"AvailabilityZone"}}},wrapper:!0}},Marker:{}}}},DescribePartners:{input:{type:"structure",required:["AccountId","ClusterIdentifier"],members:{AccountId:{},ClusterIdentifier:{},DatabaseName:{},PartnerName:{}}},output:{resultWrapper:"DescribePartnersResult",type:"structure",members:{PartnerIntegrationInfoList:{type:"list",member:{locationName:"PartnerIntegrationInfo",type:"structure",members:{DatabaseName:{},PartnerName:{},Status:{},StatusMessage:{},CreatedAt:{type:"timestamp"},UpdatedAt:{type:"timestamp"}}}}}}},DescribeReservedNodeExchangeStatus:{input:{type:"structure",members:{ReservedNodeId:{},ReservedNodeExchangeRequestId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedNodeExchangeStatusResult",type:"structure",members:{ReservedNodeExchangeStatusDetails:{type:"list",member:{shape:"S2x",locationName:"ReservedNodeExchangeStatus"}},Marker:{}}}},DescribeReservedNodeOfferings:{input:{type:"structure",members:{ReservedNodeOfferingId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedNodeOfferingsResult",type:"structure",members:{Marker:{},ReservedNodeOfferings:{shape:"S8c"}}}},DescribeReservedNodes:{input:{type:"structure",members:{ReservedNodeId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedNodesResult",type:"structure",members:{Marker:{},ReservedNodes:{type:"list",member:{shape:"S4",locationName:"ReservedNode"}}}}},DescribeResize:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S1l",resultWrapper:"DescribeResizeResult"}},DescribeScheduledActions:{input:{type:"structure",members:{ScheduledActionName:{},TargetActionType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Active:{type:"boolean"},Filters:{type:"list",member:{locationName:"ScheduledActionFilter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{shape:"S7r"}}}},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeScheduledActionsResult",type:"structure",members:{Marker:{},ScheduledActions:{type:"list",member:{shape:"S3x",locationName:"ScheduledAction"}}}}},DescribeSnapshotCopyGrants:{input:{type:"structure",members:{SnapshotCopyGrantName:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeSnapshotCopyGrantsResult",type:"structure",members:{Marker:{},SnapshotCopyGrants:{type:"list",member:{shape:"S42",locationName:"SnapshotCopyGrant"}}}}},DescribeSnapshotSchedules:{input:{type:"structure",members:{ClusterIdentifier:{},ScheduleIdentifier:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribeSnapshotSchedulesResult",type:"structure",members:{SnapshotSchedules:{type:"list",member:{shape:"S45",locationName:"SnapshotSchedule"}},Marker:{}}}},DescribeStorage:{output:{resultWrapper:"DescribeStorageResult",type:"structure",members:{TotalBackupSizeInMegaBytes:{type:"double"},TotalProvisionedStorageInMegaBytes:{type:"double"}}}},DescribeTableRestoreStatus:{input:{type:"structure",members:{ClusterIdentifier:{},TableRestoreRequestId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeTableRestoreStatusResult",type:"structure",members:{TableRestoreStatusDetails:{type:"list",member:{shape:"S8z",locationName:"TableRestoreStatus"}},Marker:{}}}},DescribeTags:{input:{type:"structure",members:{ResourceName:{},ResourceType:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TaggedResources:{type:"list",member:{locationName:"TaggedResource",type:"structure",members:{Tag:{shape:"Su"},ResourceName:{},ResourceType:{}}}},Marker:{}}}},DescribeUsageLimits:{input:{type:"structure",members:{UsageLimitId:{},ClusterIdentifier:{},FeatureType:{},MaxRecords:{type:"integer"},Marker:{},TagKeys:{shape:"S4x"},TagValues:{shape:"S5h"}}},output:{resultWrapper:"DescribeUsageLimitsResult",type:"structure",members:{UsageLimits:{type:"list",member:{shape:"S4f"}},Marker:{}}}},DisableLogging:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{shape:"S7k",resultWrapper:"DisableLoggingResult"}},DisableSnapshotCopy:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"DisableSnapshotCopyResult",type:"structure",members:{Cluster:{shape:"S22"}}}},DisassociateDataShareConsumer:{input:{type:"structure",required:["DataShareArn"],members:{DataShareArn:{},DisassociateEntireAccount:{type:"boolean"},ConsumerArn:{}}},output:{shape:"Sj",resultWrapper:"DisassociateDataShareConsumerResult"}},EnableLogging:{input:{type:"structure",required:["ClusterIdentifier","BucketName"],members:{ClusterIdentifier:{},BucketName:{},S3KeyPrefix:{}}},output:{shape:"S7k",resultWrapper:"EnableLoggingResult"}},EnableSnapshotCopy:{input:{type:"structure",required:["ClusterIdentifier","DestinationRegion"],members:{ClusterIdentifier:{},DestinationRegion:{},RetentionPeriod:{type:"integer"},SnapshotCopyGrantName:{},ManualSnapshotRetentionPeriod:{type:"integer"}}},output:{resultWrapper:"EnableSnapshotCopyResult",type:"structure",members:{Cluster:{shape:"S22"}}}},GetClusterCredentials:{input:{type:"structure",required:["DbUser","ClusterIdentifier"],members:{DbUser:{},DbName:{},ClusterIdentifier:{},DurationSeconds:{type:"integer"},AutoCreate:{type:"boolean"},DbGroups:{type:"list",member:{locationName:"DbGroup"}}}},output:{resultWrapper:"GetClusterCredentialsResult",type:"structure",members:{DbUser:{},DbPassword:{type:"string",sensitive:!0},Expiration:{type:"timestamp"}}}},GetReservedNodeExchangeConfigurationOptions:{input:{type:"structure",required:["ActionType"],members:{ActionType:{},ClusterIdentifier:{},SnapshotIdentifier:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetReservedNodeExchangeConfigurationOptionsResult",type:"structure",members:{Marker:{},ReservedNodeConfigurationOptionList:{type:"list",member:{locationName:"ReservedNodeConfigurationOption",type:"structure",members:{SourceReservedNode:{shape:"S4"},TargetReservedNodeCount:{type:"integer"},TargetReservedNodeOffering:{shape:"S8d"}},wrapper:!0}}}}},GetReservedNodeExchangeOfferings:{input:{type:"structure",required:["ReservedNodeId"],members:{ReservedNodeId:{},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"GetReservedNodeExchangeOfferingsResult",type:"structure",members:{Marker:{},ReservedNodeOfferings:{shape:"S8c"}}}},ModifyAquaConfiguration:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},AquaConfigurationStatus:{}}},output:{resultWrapper:"ModifyAquaConfigurationResult",type:"structure",members:{AquaConfiguration:{shape:"S2v"}}}},ModifyAuthenticationProfile:{input:{type:"structure",required:["AuthenticationProfileName","AuthenticationProfileContent"],members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}},output:{resultWrapper:"ModifyAuthenticationProfileResult",type:"structure",members:{AuthenticationProfileName:{},AuthenticationProfileContent:{}}}},ModifyCluster:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},ClusterType:{},NodeType:{},NumberOfNodes:{type:"integer"},ClusterSecurityGroups:{shape:"S1x"},VpcSecurityGroupIds:{shape:"S1y"},MasterUserPassword:{},ClusterParameterGroupName:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRetentionPeriod:{type:"integer"},PreferredMaintenanceWindow:{},ClusterVersion:{},AllowVersionUpgrade:{type:"boolean"},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},NewClusterIdentifier:{},PubliclyAccessible:{type:"boolean"},ElasticIp:{},EnhancedVpcRouting:{type:"boolean"},MaintenanceTrackName:{},Encrypted:{type:"boolean"},KmsKeyId:{},AvailabilityZoneRelocation:{type:"boolean"},AvailabilityZone:{},Port:{type:"integer"}}},output:{resultWrapper:"ModifyClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifyClusterDbRevision:{input:{type:"structure",required:["ClusterIdentifier","RevisionTarget"],members:{ClusterIdentifier:{},RevisionTarget:{}}},output:{resultWrapper:"ModifyClusterDbRevisionResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifyClusterIamRoles:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},AddIamRoles:{shape:"S1z"},RemoveIamRoles:{shape:"S1z"},DefaultIamRoleArn:{}}},output:{resultWrapper:"ModifyClusterIamRolesResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifyClusterMaintenance:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},DeferMaintenance:{type:"boolean"},DeferMaintenanceIdentifier:{},DeferMaintenanceStartTime:{type:"timestamp"},DeferMaintenanceEndTime:{type:"timestamp"},DeferMaintenanceDuration:{type:"integer"}}},output:{resultWrapper:"ModifyClusterMaintenanceResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifyClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName","Parameters"],members:{ParameterGroupName:{},Parameters:{shape:"S5m"}}},output:{shape:"Sa3",resultWrapper:"ModifyClusterParameterGroupResult"}},ModifyClusterSnapshot:{input:{type:"structure",required:["SnapshotIdentifier"],members:{SnapshotIdentifier:{},ManualSnapshotRetentionPeriod:{type:"integer"},Force:{type:"boolean"}}},output:{resultWrapper:"ModifyClusterSnapshotResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},ModifyClusterSnapshotSchedule:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},ScheduleIdentifier:{},DisassociateSchedule:{type:"boolean"}}}},ModifyClusterSubnetGroup:{input:{type:"structure",required:["ClusterSubnetGroupName","SubnetIds"],members:{ClusterSubnetGroupName:{},Description:{},SubnetIds:{shape:"S37"}}},output:{resultWrapper:"ModifyClusterSubnetGroupResult",type:"structure",members:{ClusterSubnetGroup:{shape:"S39"}}}},ModifyEndpointAccess:{input:{type:"structure",required:["EndpointName"],members:{EndpointName:{},VpcSecurityGroupIds:{shape:"S1y"}}},output:{shape:"S3g",resultWrapper:"ModifyEndpointAccessResult"}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},SourceIds:{shape:"S3i"},EventCategories:{shape:"S3j"},Severity:{},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S3l"}}}},ModifyScheduledAction:{input:{type:"structure",required:["ScheduledActionName"],members:{ScheduledActionName:{},TargetAction:{shape:"S3t"},Schedule:{},IamRole:{},ScheduledActionDescription:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Enable:{type:"boolean"}}},output:{shape:"S3x",resultWrapper:"ModifyScheduledActionResult"}},ModifySnapshotCopyRetentionPeriod:{input:{type:"structure",required:["ClusterIdentifier","RetentionPeriod"],members:{ClusterIdentifier:{},RetentionPeriod:{type:"integer"},Manual:{type:"boolean"}}},output:{resultWrapper:"ModifySnapshotCopyRetentionPeriodResult",type:"structure",members:{Cluster:{shape:"S22"}}}},ModifySnapshotSchedule:{input:{type:"structure",required:["ScheduleIdentifier","ScheduleDefinitions"],members:{ScheduleIdentifier:{},ScheduleDefinitions:{shape:"S44"}}},output:{shape:"S45",resultWrapper:"ModifySnapshotScheduleResult"}},ModifyUsageLimit:{input:{type:"structure",required:["UsageLimitId"],members:{UsageLimitId:{},Amount:{type:"long"},BreachAction:{}}},output:{shape:"S4f",resultWrapper:"ModifyUsageLimitResult"}},PauseCluster:{input:{shape:"S3v"},output:{resultWrapper:"PauseClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},PurchaseReservedNodeOffering:{input:{type:"structure",required:["ReservedNodeOfferingId"],members:{ReservedNodeOfferingId:{},NodeCount:{type:"integer"}}},output:{resultWrapper:"PurchaseReservedNodeOfferingResult",type:"structure",members:{ReservedNode:{shape:"S4"}}}},RebootCluster:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"RebootClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},RejectDataShare:{input:{type:"structure",required:["DataShareArn"],members:{DataShareArn:{}}},output:{shape:"Sj",resultWrapper:"RejectDataShareResult"}},ResetClusterParameterGroup:{input:{type:"structure",required:["ParameterGroupName"],members:{ParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S5m"}}},output:{shape:"Sa3",resultWrapper:"ResetClusterParameterGroupResult"}},ResizeCluster:{input:{shape:"S3u"},output:{resultWrapper:"ResizeClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},RestoreFromClusterSnapshot:{input:{type:"structure",required:["ClusterIdentifier","SnapshotIdentifier"],members:{ClusterIdentifier:{},SnapshotIdentifier:{},SnapshotClusterIdentifier:{},Port:{type:"integer"},AvailabilityZone:{},AllowVersionUpgrade:{type:"boolean"},ClusterSubnetGroupName:{},PubliclyAccessible:{type:"boolean"},OwnerAccount:{},HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},ElasticIp:{},ClusterParameterGroupName:{},ClusterSecurityGroups:{shape:"S1x"},VpcSecurityGroupIds:{shape:"S1y"},PreferredMaintenanceWindow:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRetentionPeriod:{type:"integer"},KmsKeyId:{},NodeType:{},EnhancedVpcRouting:{type:"boolean"},AdditionalInfo:{},IamRoles:{shape:"S1z"},MaintenanceTrackName:{},SnapshotScheduleIdentifier:{},NumberOfNodes:{type:"integer"},AvailabilityZoneRelocation:{type:"boolean"},AquaConfigurationStatus:{},DefaultIamRoleArn:{},ReservedNodeId:{},TargetReservedNodeOfferingId:{}}},output:{resultWrapper:"RestoreFromClusterSnapshotResult",type:"structure",members:{Cluster:{shape:"S22"}}}},RestoreTableFromClusterSnapshot:{input:{type:"structure",required:["ClusterIdentifier","SnapshotIdentifier","SourceDatabaseName","SourceTableName","NewTableName"],members:{ClusterIdentifier:{},SnapshotIdentifier:{},SourceDatabaseName:{},SourceSchemaName:{},SourceTableName:{},TargetDatabaseName:{},TargetSchemaName:{}, +NewTableName:{},EnableCaseSensitiveIdentifier:{type:"boolean"}}},output:{resultWrapper:"RestoreTableFromClusterSnapshotResult",type:"structure",members:{TableRestoreStatus:{shape:"S8z"}}}},ResumeCluster:{input:{shape:"S3w"},output:{resultWrapper:"ResumeClusterResult",type:"structure",members:{Cluster:{shape:"S22"}}}},RevokeClusterSecurityGroupIngress:{input:{type:"structure",required:["ClusterSecurityGroupName"],members:{ClusterSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeClusterSecurityGroupIngressResult",type:"structure",members:{ClusterSecurityGroup:{shape:"Sq"}}}},RevokeEndpointAccess:{input:{type:"structure",members:{ClusterIdentifier:{},Account:{},VpcIds:{shape:"Sz"},Force:{type:"boolean"}}},output:{shape:"S10",resultWrapper:"RevokeEndpointAccessResult"}},RevokeSnapshotAccess:{input:{type:"structure",required:["SnapshotIdentifier","AccountWithRestoreAccess"],members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{},AccountWithRestoreAccess:{}}},output:{resultWrapper:"RevokeSnapshotAccessResult",type:"structure",members:{Snapshot:{shape:"S14"}}}},RotateEncryptionKey:{input:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},output:{resultWrapper:"RotateEncryptionKeyResult",type:"structure",members:{Cluster:{shape:"S22"}}}},UpdatePartnerStatus:{input:{type:"structure",required:["AccountId","ClusterIdentifier","DatabaseName","PartnerName","Status"],members:{AccountId:{},ClusterIdentifier:{},DatabaseName:{},PartnerName:{},Status:{},StatusMessage:{}}},output:{shape:"Sg",resultWrapper:"UpdatePartnerStatusResult"}}},shapes:{S4:{type:"structure",members:{ReservedNodeId:{},ReservedNodeOfferingId:{},NodeType:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},NodeCount:{type:"integer"},State:{},OfferingType:{},RecurringCharges:{shape:"S8"},ReservedNodeOfferingType:{}},wrapper:!0},S8:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},Sb:{type:"structure",required:["AccountId","ClusterIdentifier","DatabaseName","PartnerName"],members:{AccountId:{},ClusterIdentifier:{},DatabaseName:{},PartnerName:{}}},Sg:{type:"structure",members:{DatabaseName:{},PartnerName:{}}},Sj:{type:"structure",members:{DataShareArn:{},ProducerArn:{},AllowPubliclyAccessibleConsumers:{type:"boolean"},DataShareAssociations:{type:"list",member:{type:"structure",members:{ConsumerIdentifier:{},Status:{},CreatedDate:{type:"timestamp"},StatusChangeDate:{type:"timestamp"}}}},ManagedBy:{}}},Sq:{type:"structure",members:{ClusterSecurityGroupName:{},Description:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupOwnerId:{},Tags:{shape:"St"}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{},Tags:{shape:"St"}}}},Tags:{shape:"St"}},wrapper:!0},St:{type:"list",member:{shape:"Su",locationName:"Tag"}},Su:{type:"structure",members:{Key:{},Value:{}}},Sz:{type:"list",member:{locationName:"VpcIdentifier"}},S10:{type:"structure",members:{Grantor:{},Grantee:{},ClusterIdentifier:{},AuthorizeTime:{type:"timestamp"},ClusterStatus:{},Status:{},AllowedAllVPCs:{type:"boolean"},AllowedVPCs:{shape:"Sz"},EndpointCount:{type:"integer"}}},S14:{type:"structure",members:{SnapshotIdentifier:{},ClusterIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Status:{},Port:{type:"integer"},AvailabilityZone:{},ClusterCreateTime:{type:"timestamp"},MasterUsername:{},ClusterVersion:{},EngineFullVersion:{},SnapshotType:{},NodeType:{},NumberOfNodes:{type:"integer"},DBName:{},VpcId:{},Encrypted:{type:"boolean"},KmsKeyId:{},EncryptedWithHSM:{type:"boolean"},AccountsWithRestoreAccess:{type:"list",member:{locationName:"AccountWithRestoreAccess",type:"structure",members:{AccountId:{},AccountAlias:{}}}},OwnerAccount:{},TotalBackupSizeInMegaBytes:{type:"double"},ActualIncrementalBackupSizeInMegaBytes:{type:"double"},BackupProgressInMegaBytes:{type:"double"},CurrentBackupRateInMegaBytesPerSecond:{type:"double"},EstimatedSecondsToCompletion:{type:"long"},ElapsedTimeInSeconds:{type:"long"},SourceRegion:{},Tags:{shape:"St"},RestorableNodeTypes:{type:"list",member:{locationName:"NodeType"}},EnhancedVpcRouting:{type:"boolean"},MaintenanceTrackName:{},ManualSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRemainingDays:{type:"integer"},SnapshotRetentionStartTime:{type:"timestamp"}},wrapper:!0},S1c:{type:"structure",required:["SnapshotIdentifier"],members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{}}},S1e:{type:"list",member:{locationName:"String"}},S1g:{type:"structure",members:{SnapshotIdentifier:{},SnapshotClusterIdentifier:{},FailureCode:{},FailureReason:{}}},S1l:{type:"structure",members:{TargetNodeType:{},TargetNumberOfNodes:{type:"integer"},TargetClusterType:{},Status:{},ImportTablesCompleted:{type:"list",member:{}},ImportTablesInProgress:{type:"list",member:{}},ImportTablesNotStarted:{type:"list",member:{}},AvgResizeRateInMegaBytesPerSecond:{type:"double"},TotalResizeDataInMegaBytes:{type:"long"},ProgressInMegaBytes:{type:"long"},ElapsedTimeInSeconds:{type:"long"},EstimatedTimeToCompletionInSeconds:{type:"long"},ResizeType:{},Message:{},TargetEncryptionType:{},DataTransferProgressPercent:{type:"double"}}},S1x:{type:"list",member:{locationName:"ClusterSecurityGroupName"}},S1y:{type:"list",member:{locationName:"VpcSecurityGroupId"}},S1z:{type:"list",member:{locationName:"IamRoleArn"}},S22:{type:"structure",members:{ClusterIdentifier:{},NodeType:{},ClusterStatus:{},ClusterAvailabilityStatus:{},ModifyStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"},VpcEndpoints:{type:"list",member:{shape:"S25",locationName:"VpcEndpoint"}}}},ClusterCreateTime:{type:"timestamp"},AutomatedSnapshotRetentionPeriod:{type:"integer"},ManualSnapshotRetentionPeriod:{type:"integer"},ClusterSecurityGroups:{type:"list",member:{locationName:"ClusterSecurityGroup",type:"structure",members:{ClusterSecurityGroupName:{},Status:{}}}},VpcSecurityGroups:{shape:"S2a"},ClusterParameterGroups:{type:"list",member:{locationName:"ClusterParameterGroup",type:"structure",members:{ParameterGroupName:{},ParameterApplyStatus:{},ClusterParameterStatusList:{type:"list",member:{type:"structure",members:{ParameterName:{},ParameterApplyStatus:{},ParameterApplyErrorDescription:{}}}}}}},ClusterSubnetGroupName:{},VpcId:{},AvailabilityZone:{},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{MasterUserPassword:{},NodeType:{},NumberOfNodes:{type:"integer"},ClusterType:{},ClusterVersion:{},AutomatedSnapshotRetentionPeriod:{type:"integer"},ClusterIdentifier:{},PubliclyAccessible:{type:"boolean"},EnhancedVpcRouting:{type:"boolean"},MaintenanceTrackName:{},EncryptionType:{}}},ClusterVersion:{},AllowVersionUpgrade:{type:"boolean"},NumberOfNodes:{type:"integer"},PubliclyAccessible:{type:"boolean"},Encrypted:{type:"boolean"},RestoreStatus:{type:"structure",members:{Status:{},CurrentRestoreRateInMegaBytesPerSecond:{type:"double"},SnapshotSizeInMegaBytes:{type:"long"},ProgressInMegaBytes:{type:"long"},ElapsedTimeInSeconds:{type:"long"},EstimatedTimeToCompletionInSeconds:{type:"long"}}},DataTransferProgress:{type:"structure",members:{Status:{},CurrentRateInMegaBytesPerSecond:{type:"double"},TotalDataInMegaBytes:{type:"long"},DataTransferredInMegaBytes:{type:"long"},EstimatedTimeToCompletionInSeconds:{type:"long"},ElapsedTimeInSeconds:{type:"long"}}},HsmStatus:{type:"structure",members:{HsmClientCertificateIdentifier:{},HsmConfigurationIdentifier:{},Status:{}}},ClusterSnapshotCopyStatus:{type:"structure",members:{DestinationRegion:{},RetentionPeriod:{type:"long"},ManualSnapshotRetentionPeriod:{type:"integer"},SnapshotCopyGrantName:{}}},ClusterPublicKey:{},ClusterNodes:{type:"list",member:{type:"structure",members:{NodeRole:{},PrivateIPAddress:{},PublicIPAddress:{}}}},ElasticIpStatus:{type:"structure",members:{ElasticIp:{},Status:{}}},ClusterRevisionNumber:{},Tags:{shape:"St"},KmsKeyId:{},EnhancedVpcRouting:{type:"boolean"},IamRoles:{type:"list",member:{locationName:"ClusterIamRole",type:"structure",members:{IamRoleArn:{},ApplyStatus:{}}}},PendingActions:{type:"list",member:{}},MaintenanceTrackName:{},ElasticResizeNumberOfNodeOptions:{},DeferredMaintenanceWindows:{type:"list",member:{locationName:"DeferredMaintenanceWindow",type:"structure",members:{DeferMaintenanceIdentifier:{},DeferMaintenanceStartTime:{type:"timestamp"},DeferMaintenanceEndTime:{type:"timestamp"}}}},SnapshotScheduleIdentifier:{},SnapshotScheduleState:{},ExpectedNextSnapshotScheduleTime:{type:"timestamp"},ExpectedNextSnapshotScheduleTimeStatus:{},NextMaintenanceWindowStartTime:{type:"timestamp"},ResizeInfo:{type:"structure",members:{ResizeType:{},AllowCancelResize:{type:"boolean"}}},AvailabilityZoneRelocationStatus:{},ClusterNamespaceArn:{},TotalStorageCapacityInMegaBytes:{type:"long"},AquaConfiguration:{shape:"S2v"},DefaultIamRoleArn:{},ReservedNodeExchangeStatus:{shape:"S2x"}},wrapper:!0},S25:{type:"structure",members:{VpcEndpointId:{},VpcId:{},NetworkInterfaces:{type:"list",member:{locationName:"NetworkInterface",type:"structure",members:{NetworkInterfaceId:{},SubnetId:{},PrivateIpAddress:{},AvailabilityZone:{}}}}}},S2a:{type:"list",member:{locationName:"VpcSecurityGroup",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S2v:{type:"structure",members:{AquaStatus:{},AquaConfigurationStatus:{}}},S2x:{type:"structure",members:{ReservedNodeExchangeRequestId:{},Status:{},RequestTime:{type:"timestamp"},SourceReservedNodeId:{},SourceReservedNodeType:{},SourceReservedNodeCount:{type:"integer"},TargetReservedNodeOfferingId:{},TargetReservedNodeType:{},TargetReservedNodeCount:{type:"integer"}},wrapper:!0},S31:{type:"structure",members:{ParameterGroupName:{},ParameterGroupFamily:{},Description:{},Tags:{shape:"St"}},wrapper:!0},S37:{type:"list",member:{locationName:"SubnetIdentifier"}},S39:{type:"structure",members:{ClusterSubnetGroupName:{},Description:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S3c"},SubnetStatus:{}}}},Tags:{shape:"St"}},wrapper:!0},S3c:{type:"structure",members:{Name:{},SupportedPlatforms:{type:"list",member:{locationName:"SupportedPlatform",type:"structure",members:{Name:{}},wrapper:!0}}},wrapper:!0},S3g:{type:"structure",members:{ClusterIdentifier:{},ResourceOwner:{},SubnetGroupName:{},EndpointStatus:{},EndpointName:{},EndpointCreateTime:{type:"timestamp"},Port:{type:"integer"},Address:{},VpcSecurityGroups:{shape:"S2a"},VpcEndpoint:{shape:"S25"}}},S3i:{type:"list",member:{locationName:"SourceId"}},S3j:{type:"list",member:{locationName:"EventCategory"}},S3l:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{type:"timestamp"},SourceType:{},SourceIdsList:{shape:"S3i"},EventCategoriesList:{shape:"S3j"},Severity:{},Enabled:{type:"boolean"},Tags:{shape:"St"}},wrapper:!0},S3o:{type:"structure",members:{HsmClientCertificateIdentifier:{},HsmClientCertificatePublicKey:{},Tags:{shape:"St"}},wrapper:!0},S3r:{type:"structure",members:{HsmConfigurationIdentifier:{},Description:{},HsmIpAddress:{},HsmPartitionName:{},Tags:{shape:"St"}},wrapper:!0},S3t:{type:"structure",members:{ResizeCluster:{shape:"S3u"},PauseCluster:{shape:"S3v"},ResumeCluster:{shape:"S3w"}}},S3u:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{},ClusterType:{},NodeType:{},NumberOfNodes:{type:"integer"},Classic:{type:"boolean"},ReservedNodeId:{},TargetReservedNodeOfferingId:{}}},S3v:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},S3w:{type:"structure",required:["ClusterIdentifier"],members:{ClusterIdentifier:{}}},S3x:{type:"structure",members:{ScheduledActionName:{},TargetAction:{shape:"S3t"},Schedule:{},IamRole:{},ScheduledActionDescription:{},State:{},NextInvocations:{type:"list",member:{locationName:"ScheduledActionTime",type:"timestamp"}},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}},S42:{type:"structure",members:{SnapshotCopyGrantName:{},KmsKeyId:{},Tags:{shape:"St"}},wrapper:!0},S44:{type:"list",member:{locationName:"ScheduleDefinition"}},S45:{type:"structure",members:{ScheduleDefinitions:{shape:"S44"},ScheduleIdentifier:{},ScheduleDescription:{},Tags:{shape:"St"},NextInvocations:{type:"list",member:{locationName:"SnapshotTime",type:"timestamp"}},AssociatedClusterCount:{type:"integer"},AssociatedClusters:{type:"list",member:{locationName:"ClusterAssociatedToSchedule",type:"structure",members:{ClusterIdentifier:{},ScheduleAssociationState:{}}}}}},S4f:{type:"structure",members:{UsageLimitId:{},ClusterIdentifier:{},FeatureType:{},LimitType:{},Amount:{type:"long"},Period:{},BreachAction:{},Tags:{shape:"St"}}},S4x:{type:"list",member:{locationName:"TagKey"}},S5h:{type:"list",member:{locationName:"TagValue"}},S5m:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},DataType:{},AllowedValues:{},ApplyType:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{}}}},S6j:{type:"list",member:{shape:"Sj"}},S7k:{type:"structure",members:{LoggingEnabled:{type:"boolean"},BucketName:{},S3KeyPrefix:{},LastSuccessfulDeliveryTime:{type:"timestamp"},LastFailureTime:{type:"timestamp"},LastFailureMessage:{}}},S7r:{type:"list",member:{locationName:"item"}},S8c:{type:"list",member:{shape:"S8d",locationName:"ReservedNodeOffering"}},S8d:{type:"structure",members:{ReservedNodeOfferingId:{},NodeType:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},OfferingType:{},RecurringCharges:{shape:"S8"},ReservedNodeOfferingType:{}},wrapper:!0},S8z:{type:"structure",members:{TableRestoreRequestId:{},Status:{},Message:{},RequestTime:{type:"timestamp"},ProgressInMegaBytes:{type:"long"},TotalDataInMegaBytes:{type:"long"},ClusterIdentifier:{},SnapshotIdentifier:{},SourceDatabaseName:{},SourceSchemaName:{},SourceTableName:{},TargetDatabaseName:{},TargetSchemaName:{},NewTableName:{}},wrapper:!0},Sa3:{type:"structure",members:{ParameterGroupName:{},ParameterGroupStatus:{}}}}}},{}],196:[function(e,t,r){t.exports={pagination:{DescribeClusterDbRevisions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ClusterDbRevisions"},DescribeClusterParameterGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ParameterGroups"},DescribeClusterParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Parameters"},DescribeClusterSecurityGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ClusterSecurityGroups"},DescribeClusterSnapshots:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Snapshots"},DescribeClusterSubnetGroups:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ClusterSubnetGroups"},DescribeClusterTracks:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"MaintenanceTracks"},DescribeClusterVersions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ClusterVersions"},DescribeClusters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Clusters"},DescribeDataShares:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DataShares"},DescribeDataSharesForConsumer:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DataShares"},DescribeDataSharesForProducer:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"DataShares"},DescribeDefaultClusterParameters:{input_token:"Marker",limit_key:"MaxRecords",output_token:"DefaultClusterParameters.Marker",result_key:"DefaultClusterParameters.Parameters"},DescribeEndpointAccess:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EndpointAccessList"},DescribeEndpointAuthorization:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EndpointAuthorizationList"},DescribeEventSubscriptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"Events"},DescribeHsmClientCertificates:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"HsmClientCertificates"},DescribeHsmConfigurations:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"HsmConfigurations"},DescribeNodeConfigurationOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"NodeConfigurationOptionList"},DescribeOrderableClusterOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"OrderableClusterOptions"},DescribeReservedNodeExchangeStatus:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodeExchangeStatusDetails"},DescribeReservedNodeOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodeOfferings"},DescribeReservedNodes:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodes"},DescribeScheduledActions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ScheduledActions"},DescribeSnapshotCopyGrants:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"SnapshotCopyGrants"},DescribeSnapshotSchedules:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"SnapshotSchedules"},DescribeTableRestoreStatus:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"TableRestoreStatusDetails"},DescribeTags:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"TaggedResources"},DescribeUsageLimits:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"UsageLimits"},GetReservedNodeExchangeConfigurationOptions:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodeConfigurationOptionList"},GetReservedNodeExchangeOfferings:{input_token:"Marker",limit_key:"MaxRecords",output_token:"Marker",result_key:"ReservedNodeOfferings"}}}},{}],197:[function(e,t,r){t.exports={version:2,waiters:{ClusterAvailable:{delay:60,operation:"DescribeClusters",maxAttempts:30,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Clusters[].ClusterStatus"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"Clusters[].ClusterStatus"},{expected:"ClusterNotFound",matcher:"error",state:"retry"}]},ClusterDeleted:{delay:60,operation:"DescribeClusters",maxAttempts:30,acceptors:[{expected:"ClusterNotFound",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"Clusters[].ClusterStatus"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"Clusters[].ClusterStatus"}]},ClusterRestored:{operation:"DescribeClusters",maxAttempts:30,delay:60,acceptors:[{state:"success",matcher:"pathAll",argument:"Clusters[].RestoreStatus.Status",expected:"completed"},{state:"failure",matcher:"pathAny",argument:"Clusters[].ClusterStatus",expected:"deleting"}]},SnapshotAvailable:{delay:15,operation:"DescribeClusterSnapshots",maxAttempts:20,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Snapshots[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"Snapshots[].Status"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Snapshots[].Status"}]}}}},{}],198:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-06-27",endpointPrefix:"rekognition",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Rekognition",serviceId:"Rekognition",signatureVersion:"v4",targetPrefix:"RekognitionService",uid:"rekognition-2016-06-27"},operations:{CompareFaces:{input:{type:"structure",required:["SourceImage","TargetImage"],members:{SourceImage:{shape:"S2"},TargetImage:{shape:"S2"},SimilarityThreshold:{type:"float"},QualityFilter:{}}},output:{type:"structure",members:{SourceImageFace:{type:"structure",members:{BoundingBox:{shape:"Sc"},Confidence:{type:"float"}}},FaceMatches:{type:"list",member:{type:"structure",members:{Similarity:{type:"float"},Face:{shape:"Sg"}}}},UnmatchedFaces:{type:"list",member:{shape:"Sg"}},SourceImageOrientationCorrection:{},TargetImageOrientationCorrection:{}}}},CreateCollection:{input:{type:"structure",required:["CollectionId"],members:{CollectionId:{},Tags:{shape:"Sw"}}},output:{type:"structure",members:{StatusCode:{type:"integer"},CollectionArn:{},FaceModelVersion:{}}}},CreateDataset:{input:{type:"structure",required:["DatasetType","ProjectArn"],members:{DatasetSource:{type:"structure",members:{GroundTruthManifest:{shape:"S14"},DatasetArn:{}}},DatasetType:{},ProjectArn:{}}},output:{type:"structure",members:{DatasetArn:{}}}},CreateProject:{input:{type:"structure",required:["ProjectName"],members:{ProjectName:{}}},output:{type:"structure",members:{ProjectArn:{}}}},CreateProjectVersion:{input:{type:"structure",required:["ProjectArn","VersionName","OutputConfig"],members:{ProjectArn:{},VersionName:{},OutputConfig:{shape:"S1e"},TrainingData:{shape:"S1g"},TestingData:{shape:"S1j"},Tags:{shape:"Sw"},KmsKeyId:{}}},output:{type:"structure",members:{ProjectVersionArn:{}}}},CreateStreamProcessor:{input:{type:"structure",required:["Input","Output","Name","Settings","RoleArn"],members:{Input:{shape:"S1o"},Output:{shape:"S1r"},Name:{},Settings:{shape:"S1v"},RoleArn:{},Tags:{shape:"Sw"}}},output:{type:"structure",members:{StreamProcessorArn:{}}}},DeleteCollection:{input:{type:"structure",required:["CollectionId"],members:{CollectionId:{}}},output:{type:"structure",members:{StatusCode:{type:"integer"}}}},DeleteDataset:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{}}},output:{type:"structure",members:{}}},DeleteFaces:{input:{type:"structure",required:["CollectionId","FaceIds"],members:{CollectionId:{},FaceIds:{shape:"S25"}}},output:{type:"structure",members:{DeletedFaces:{shape:"S25"}}}},DeleteProject:{input:{type:"structure",required:["ProjectArn"],members:{ProjectArn:{}}},output:{type:"structure",members:{Status:{}}}},DeleteProjectVersion:{input:{type:"structure",required:["ProjectVersionArn"],members:{ProjectVersionArn:{}}},output:{type:"structure",members:{Status:{}}}},DeleteStreamProcessor:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DescribeCollection:{input:{type:"structure",required:["CollectionId"],members:{CollectionId:{}}},output:{type:"structure",members:{FaceCount:{type:"long"},FaceModelVersion:{},CollectionARN:{},CreationTimestamp:{type:"timestamp"}}}},DescribeDataset:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{}}},output:{type:"structure",members:{DatasetDescription:{type:"structure",members:{CreationTimestamp:{type:"timestamp"},LastUpdatedTimestamp:{type:"timestamp"},Status:{},StatusMessage:{},StatusMessageCode:{},DatasetStats:{type:"structure",members:{LabeledEntries:{type:"integer"},TotalEntries:{type:"integer"},TotalLabels:{type:"integer"},ErrorEntries:{type:"integer"}}}}}}}},DescribeProjectVersions:{input:{type:"structure",required:["ProjectArn"],members:{ProjectArn:{},VersionNames:{type:"list",member:{}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ProjectVersionDescriptions:{type:"list",member:{type:"structure",members:{ProjectVersionArn:{},CreationTimestamp:{type:"timestamp"},MinInferenceUnits:{type:"integer"},Status:{},StatusMessage:{},BillableTrainingTimeInSeconds:{type:"long"},TrainingEndTimestamp:{type:"timestamp"},OutputConfig:{shape:"S1e"},TrainingDataResult:{type:"structure",members:{Input:{shape:"S1g"},Output:{shape:"S1g"},Validation:{shape:"S30"}}},TestingDataResult:{type:"structure",members:{Input:{shape:"S1j"},Output:{shape:"S1j"},Validation:{shape:"S30"}}},EvaluationResult:{type:"structure",members:{F1Score:{type:"float"},Summary:{type:"structure",members:{S3Object:{shape:"S4"}}}}},ManifestSummary:{shape:"S14"},KmsKeyId:{}}}},NextToken:{}}}},DescribeProjects:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"},ProjectNames:{type:"list",member:{}}}},output:{type:"structure",members:{ProjectDescriptions:{type:"list",member:{type:"structure",members:{ProjectArn:{},CreationTimestamp:{type:"timestamp"},Status:{},Datasets:{type:"list",member:{type:"structure",members:{CreationTimestamp:{type:"timestamp"},DatasetType:{},DatasetArn:{},Status:{},StatusMessage:{},StatusMessageCode:{}}}}}}},NextToken:{}}}},DescribeStreamProcessor:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},StreamProcessorArn:{},Status:{},StatusMessage:{},CreationTimestamp:{type:"timestamp"},LastUpdateTimestamp:{type:"timestamp"},Input:{shape:"S1o"},Output:{shape:"S1r"},RoleArn:{},Settings:{shape:"S1v"}}}},DetectCustomLabels:{input:{type:"structure",required:["ProjectVersionArn","Image"],members:{ProjectVersionArn:{},Image:{shape:"S2"},MaxResults:{type:"integer"},MinConfidence:{type:"float"}}},output:{type:"structure",members:{CustomLabels:{type:"list",member:{type:"structure",members:{Name:{},Confidence:{type:"float"},Geometry:{shape:"S3j"}}}}}}},DetectFaces:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},Attributes:{shape:"S3n"}}},output:{type:"structure",members:{FaceDetails:{type:"list",member:{shape:"S3r"}},OrientationCorrection:{}}}},DetectLabels:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},MaxLabels:{type:"integer"},MinConfidence:{type:"float"}}},output:{type:"structure",members:{Labels:{type:"list",member:{shape:"S44"}},OrientationCorrection:{},LabelModelVersion:{}}}},DetectModerationLabels:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},MinConfidence:{type:"float"},HumanLoopConfig:{type:"structure",required:["HumanLoopName","FlowDefinitionArn"],members:{HumanLoopName:{},FlowDefinitionArn:{},DataAttributes:{type:"structure",members:{ContentClassifiers:{type:"list",member:{}}}}}}}},output:{type:"structure",members:{ModerationLabels:{type:"list",member:{shape:"S4i"}},ModerationModelVersion:{},HumanLoopActivationOutput:{type:"structure",members:{HumanLoopArn:{},HumanLoopActivationReasons:{type:"list",member:{}},HumanLoopActivationConditionsEvaluationResults:{jsonvalue:!0}}}}}},DetectProtectiveEquipment:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},SummarizationAttributes:{type:"structure",required:["MinConfidence","RequiredEquipmentTypes"],members:{MinConfidence:{type:"float"},RequiredEquipmentTypes:{type:"list",member:{}}}}}},output:{type:"structure",members:{ProtectiveEquipmentModelVersion:{},Persons:{type:"list",member:{type:"structure",members:{BodyParts:{type:"list",member:{type:"structure",members:{Name:{},Confidence:{type:"float"},EquipmentDetections:{type:"list",member:{type:"structure",members:{BoundingBox:{shape:"Sc"},Confidence:{type:"float"},Type:{},CoversBodyPart:{type:"structure",members:{Confidence:{type:"float"},Value:{type:"boolean"}}}}}}}}},BoundingBox:{shape:"Sc"},Confidence:{type:"float"},Id:{type:"integer"}}}},Summary:{type:"structure",members:{PersonsWithRequiredEquipment:{shape:"S52"},PersonsWithoutRequiredEquipment:{shape:"S52"},PersonsIndeterminate:{shape:"S52"}}}}}},DetectText:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"},Filters:{type:"structure",members:{WordFilter:{shape:"S55"},RegionsOfInterest:{shape:"S58"}}}}},output:{type:"structure",members:{TextDetections:{type:"list",member:{shape:"S5c"}},TextModelVersion:{}}}},DistributeDatasetEntries:{input:{type:"structure",required:["Datasets"],members:{Datasets:{type:"list",member:{type:"structure",required:["Arn"],members:{Arn:{}}}}}},output:{type:"structure",members:{}}},GetCelebrityInfo:{input:{type:"structure",required:["Id"],members:{Id:{}}},output:{type:"structure",members:{Urls:{shape:"S5l"},Name:{},KnownGender:{shape:"S5n"}}}},GetCelebrityRecognition:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},NextToken:{},Celebrities:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Celebrity:{type:"structure",members:{Urls:{shape:"S5l"},Name:{},Id:{},Confidence:{type:"float"},BoundingBox:{shape:"Sc"},Face:{shape:"S3r"},KnownGender:{shape:"S5n"}}}}}}}}},GetContentModeration:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},ModerationLabels:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},ModerationLabel:{shape:"S4i"}}}},NextToken:{},ModerationModelVersion:{}}}},GetFaceDetection:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},NextToken:{},Faces:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Face:{shape:"S3r"}}}}}}},GetFaceSearch:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},NextToken:{},VideoMetadata:{shape:"S5w"},Persons:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Person:{shape:"S6g"},FaceMatches:{shape:"S6i"}}}}}}},GetLabelDetection:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},NextToken:{},Labels:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Label:{shape:"S44"}}}},LabelModelVersion:{}}}},GetPersonTracking:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{},SortBy:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},NextToken:{},Persons:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},Person:{shape:"S6g"}}}}}}},GetSegmentDetection:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{type:"list",member:{shape:"S5w"}},AudioMetadata:{type:"list",member:{type:"structure",members:{Codec:{},DurationMillis:{type:"long"},SampleRate:{type:"long"},NumberOfChannels:{type:"long"}}}},NextToken:{},Segments:{type:"list",member:{type:"structure",members:{Type:{},StartTimestampMillis:{type:"long"},EndTimestampMillis:{type:"long"},DurationMillis:{type:"long"},StartTimecodeSMPTE:{},EndTimecodeSMPTE:{},DurationSMPTE:{},TechnicalCueSegment:{type:"structure",members:{Type:{},Confidence:{type:"float"}}},ShotSegment:{type:"structure",members:{Index:{type:"long"},Confidence:{type:"float"}}},StartFrameNumber:{type:"long"},EndFrameNumber:{type:"long"},DurationFrames:{type:"long"}}}},SelectedSegmentTypes:{type:"list",member:{type:"structure",members:{Type:{},ModelVersion:{}}}}}}},GetTextDetection:{input:{type:"structure",required:["JobId"],members:{JobId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{JobStatus:{},StatusMessage:{},VideoMetadata:{shape:"S5w"},TextDetections:{type:"list",member:{type:"structure",members:{Timestamp:{type:"long"},TextDetection:{shape:"S5c"}}}},NextToken:{},TextModelVersion:{}}}}, +IndexFaces:{input:{type:"structure",required:["CollectionId","Image"],members:{CollectionId:{},Image:{shape:"S2"},ExternalImageId:{},DetectionAttributes:{shape:"S3n"},MaxFaces:{type:"integer"},QualityFilter:{}}},output:{type:"structure",members:{FaceRecords:{type:"list",member:{type:"structure",members:{Face:{shape:"S6k"},FaceDetail:{shape:"S3r"}}}},OrientationCorrection:{},FaceModelVersion:{},UnindexedFaces:{type:"list",member:{type:"structure",members:{Reasons:{type:"list",member:{}},FaceDetail:{shape:"S3r"}}}}}}},ListCollections:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{CollectionIds:{type:"list",member:{}},NextToken:{},FaceModelVersions:{type:"list",member:{}}}}},ListDatasetEntries:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{},ContainsLabels:{type:"list",member:{}},Labeled:{type:"boolean"},SourceRefContains:{},HasErrors:{type:"boolean"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{DatasetEntries:{type:"list",member:{}},NextToken:{}}}},ListDatasetLabels:{input:{type:"structure",required:["DatasetArn"],members:{DatasetArn:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{DatasetLabelDescriptions:{type:"list",member:{type:"structure",members:{LabelName:{},LabelStats:{type:"structure",members:{EntryCount:{type:"integer"},BoundingBoxCount:{type:"integer"}}}}}},NextToken:{}}}},ListFaces:{input:{type:"structure",required:["CollectionId"],members:{CollectionId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Faces:{type:"list",member:{shape:"S6k"}},NextToken:{},FaceModelVersion:{}}}},ListStreamProcessors:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},StreamProcessors:{type:"list",member:{type:"structure",members:{Name:{},Status:{}}}}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{Tags:{shape:"Sw"}}}},RecognizeCelebrities:{input:{type:"structure",required:["Image"],members:{Image:{shape:"S2"}}},output:{type:"structure",members:{CelebrityFaces:{type:"list",member:{type:"structure",members:{Urls:{shape:"S5l"},Name:{},Id:{},Face:{shape:"Sg"},MatchConfidence:{type:"float"},KnownGender:{shape:"S5n"}}}},UnrecognizedFaces:{type:"list",member:{shape:"Sg"}},OrientationCorrection:{}}}},SearchFaces:{input:{type:"structure",required:["CollectionId","FaceId"],members:{CollectionId:{},FaceId:{},MaxFaces:{type:"integer"},FaceMatchThreshold:{type:"float"}}},output:{type:"structure",members:{SearchedFaceId:{},FaceMatches:{shape:"S6i"},FaceModelVersion:{}}}},SearchFacesByImage:{input:{type:"structure",required:["CollectionId","Image"],members:{CollectionId:{},Image:{shape:"S2"},MaxFaces:{type:"integer"},FaceMatchThreshold:{type:"float"},QualityFilter:{}}},output:{type:"structure",members:{SearchedFaceBoundingBox:{shape:"Sc"},SearchedFaceConfidence:{type:"float"},FaceMatches:{shape:"S6i"},FaceModelVersion:{}}}},StartCelebrityRecognition:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartContentModeration:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},MinConfidence:{type:"float"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartFaceDetection:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},FaceAttributes:{},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartFaceSearch:{input:{type:"structure",required:["Video","CollectionId"],members:{Video:{shape:"S8w"},ClientRequestToken:{},FaceMatchThreshold:{type:"float"},CollectionId:{},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartLabelDetection:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},MinConfidence:{type:"float"},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartPersonTracking:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartProjectVersion:{input:{type:"structure",required:["ProjectVersionArn","MinInferenceUnits"],members:{ProjectVersionArn:{},MinInferenceUnits:{type:"integer"}}},output:{type:"structure",members:{Status:{}}}},StartSegmentDetection:{input:{type:"structure",required:["Video","SegmentTypes"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{},Filters:{type:"structure",members:{TechnicalCueFilter:{type:"structure",members:{MinSegmentConfidence:{type:"float"},BlackFrame:{type:"structure",members:{MaxPixelThreshold:{type:"float"},MinCoveragePercentage:{type:"float"}}}}},ShotFilter:{type:"structure",members:{MinSegmentConfidence:{type:"float"}}}}},SegmentTypes:{type:"list",member:{}}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StartStreamProcessor:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},StartTextDetection:{input:{type:"structure",required:["Video"],members:{Video:{shape:"S8w"},ClientRequestToken:{},NotificationChannel:{shape:"S8y"},JobTag:{},Filters:{type:"structure",members:{WordFilter:{shape:"S55"},RegionsOfInterest:{shape:"S58"}}}}},output:{type:"structure",members:{JobId:{}}},idempotent:!0},StopProjectVersion:{input:{type:"structure",required:["ProjectVersionArn"],members:{ProjectVersionArn:{}}},output:{type:"structure",members:{Status:{}}}},StopStreamProcessor:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},TagResource:{input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{},Tags:{shape:"Sw"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateDatasetEntries:{input:{type:"structure",required:["DatasetArn","Changes"],members:{DatasetArn:{},Changes:{type:"structure",required:["GroundTruth"],members:{GroundTruth:{type:"blob"}}}}},output:{type:"structure",members:{}}}},shapes:{S2:{type:"structure",members:{Bytes:{type:"blob"},S3Object:{shape:"S4"}}},S4:{type:"structure",members:{Bucket:{},Name:{},Version:{}}},Sc:{type:"structure",members:{Width:{type:"float"},Height:{type:"float"},Left:{type:"float"},Top:{type:"float"}}},Sg:{type:"structure",members:{BoundingBox:{shape:"Sc"},Confidence:{type:"float"},Landmarks:{shape:"Sh"},Pose:{shape:"Sk"},Quality:{shape:"Sm"},Emotions:{shape:"Sn"},Smile:{shape:"Sq"}}},Sh:{type:"list",member:{type:"structure",members:{Type:{},X:{type:"float"},Y:{type:"float"}}}},Sk:{type:"structure",members:{Roll:{type:"float"},Yaw:{type:"float"},Pitch:{type:"float"}}},Sm:{type:"structure",members:{Brightness:{type:"float"},Sharpness:{type:"float"}}},Sn:{type:"list",member:{type:"structure",members:{Type:{},Confidence:{type:"float"}}}},Sq:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Sw:{type:"map",key:{},value:{}},S14:{type:"structure",members:{S3Object:{shape:"S4"}}},S1e:{type:"structure",members:{S3Bucket:{},S3KeyPrefix:{}}},S1g:{type:"structure",members:{Assets:{shape:"S1h"}}},S1h:{type:"list",member:{type:"structure",members:{GroundTruthManifest:{shape:"S14"}}}},S1j:{type:"structure",members:{Assets:{shape:"S1h"},AutoCreate:{type:"boolean"}}},S1o:{type:"structure",members:{KinesisVideoStream:{type:"structure",members:{Arn:{}}}}},S1r:{type:"structure",members:{KinesisDataStream:{type:"structure",members:{Arn:{}}}}},S1v:{type:"structure",members:{FaceSearch:{type:"structure",members:{CollectionId:{},FaceMatchThreshold:{type:"float"}}}}},S25:{type:"list",member:{}},S30:{type:"structure",members:{Assets:{shape:"S1h"}}},S3j:{type:"structure",members:{BoundingBox:{shape:"Sc"},Polygon:{type:"list",member:{type:"structure",members:{X:{type:"float"},Y:{type:"float"}}}}}},S3n:{type:"list",member:{}},S3r:{type:"structure",members:{BoundingBox:{shape:"Sc"},AgeRange:{type:"structure",members:{Low:{type:"integer"},High:{type:"integer"}}},Smile:{shape:"Sq"},Eyeglasses:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Sunglasses:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Gender:{type:"structure",members:{Value:{},Confidence:{type:"float"}}},Beard:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Mustache:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},EyesOpen:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},MouthOpen:{type:"structure",members:{Value:{type:"boolean"},Confidence:{type:"float"}}},Emotions:{shape:"Sn"},Landmarks:{shape:"Sh"},Pose:{shape:"Sk"},Quality:{shape:"Sm"},Confidence:{type:"float"}}},S44:{type:"structure",members:{Name:{},Confidence:{type:"float"},Instances:{type:"list",member:{type:"structure",members:{BoundingBox:{shape:"Sc"},Confidence:{type:"float"}}}},Parents:{type:"list",member:{type:"structure",members:{Name:{}}}}}},S4i:{type:"structure",members:{Confidence:{type:"float"},Name:{},ParentName:{}}},S52:{type:"list",member:{type:"integer"}},S55:{type:"structure",members:{MinConfidence:{type:"float"},MinBoundingBoxHeight:{type:"float"},MinBoundingBoxWidth:{type:"float"}}},S58:{type:"list",member:{type:"structure",members:{BoundingBox:{shape:"Sc"}}}},S5c:{type:"structure",members:{DetectedText:{},Type:{},Id:{type:"integer"},ParentId:{type:"integer"},Confidence:{type:"float"},Geometry:{shape:"S3j"}}},S5l:{type:"list",member:{}},S5n:{type:"structure",members:{Type:{}}},S5w:{type:"structure",members:{Codec:{},DurationMillis:{type:"long"},Format:{},FrameRate:{type:"float"},FrameHeight:{type:"long"},FrameWidth:{type:"long"},ColorRange:{}}},S6g:{type:"structure",members:{Index:{type:"long"},BoundingBox:{shape:"Sc"},Face:{shape:"S3r"}}},S6i:{type:"list",member:{type:"structure",members:{Similarity:{type:"float"},Face:{shape:"S6k"}}}},S6k:{type:"structure",members:{FaceId:{},BoundingBox:{shape:"Sc"},ImageId:{},ExternalImageId:{},Confidence:{type:"float"},IndexFacesModelVersion:{}}},S8w:{type:"structure",members:{S3Object:{shape:"S4"}}},S8y:{type:"structure",required:["SNSTopicArn","RoleArn"],members:{SNSTopicArn:{},RoleArn:{}}}}}},{}],199:[function(e,t,r){t.exports={pagination:{DescribeProjectVersions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ProjectVersionDescriptions"},DescribeProjects:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ProjectDescriptions"},GetCelebrityRecognition:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetContentModeration:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetFaceDetection:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetFaceSearch:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetLabelDetection:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetPersonTracking:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetSegmentDetection:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetTextDetection:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListCollections:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"CollectionIds"},ListDatasetEntries:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DatasetEntries"},ListDatasetLabels:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DatasetLabelDescriptions"},ListFaces:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Faces"},ListStreamProcessors:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"}}}},{}],200:[function(e,t,r){t.exports={version:2,waiters:{ProjectVersionTrainingCompleted:{description:"Wait until the ProjectVersion training completes.",operation:"DescribeProjectVersions",delay:120,maxAttempts:360,acceptors:[{state:"success",matcher:"pathAll",argument:"ProjectVersionDescriptions[].Status",expected:"TRAINING_COMPLETED"},{state:"failure",matcher:"pathAny",argument:"ProjectVersionDescriptions[].Status",expected:"TRAINING_FAILED"}]},ProjectVersionRunning:{description:"Wait until the ProjectVersion is running.",delay:30,maxAttempts:40,operation:"DescribeProjectVersions",acceptors:[{state:"success",matcher:"pathAll",argument:"ProjectVersionDescriptions[].Status",expected:"RUNNING"},{state:"failure",matcher:"pathAny",argument:"ProjectVersionDescriptions[].Status",expected:"FAILED"}]}}}},{}],201:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-11-27",endpointPrefix:"resource-groups",protocol:"rest-json",serviceAbbreviation:"Resource Groups",serviceFullName:"AWS Resource Groups",serviceId:"Resource Groups",signatureVersion:"v4",signingName:"resource-groups",uid:"resource-groups-2017-11-27"},operations:{CreateGroup:{http:{requestUri:"/groups"},input:{type:"structure",required:["Name"],members:{Name:{},Description:{},ResourceQuery:{shape:"S4"},Tags:{shape:"S7"},Configuration:{shape:"Sa"}}},output:{type:"structure",members:{Group:{shape:"Sj"},ResourceQuery:{shape:"S4"},Tags:{shape:"S7"},GroupConfiguration:{shape:"Sl"}}}},DeleteGroup:{http:{requestUri:"/delete-group"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{}}},output:{type:"structure",members:{Group:{shape:"Sj"}}}},GetGroup:{http:{requestUri:"/get-group"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{}}},output:{type:"structure",members:{Group:{shape:"Sj"}}}},GetGroupConfiguration:{http:{requestUri:"/get-group-configuration"},input:{type:"structure",members:{Group:{}}},output:{type:"structure",members:{GroupConfiguration:{shape:"Sl"}}}},GetGroupQuery:{http:{requestUri:"/get-group-query"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{}}},output:{type:"structure",members:{GroupQuery:{shape:"Sx"}}}},GetTags:{http:{method:"GET",requestUri:"/resources/{Arn}/tags"},input:{type:"structure",required:["Arn"],members:{Arn:{location:"uri",locationName:"Arn"}}},output:{type:"structure",members:{Arn:{},Tags:{shape:"S7"}}}},GroupResources:{http:{requestUri:"/group-resources"},input:{type:"structure",required:["Group","ResourceArns"],members:{Group:{},ResourceArns:{shape:"S11"}}},output:{type:"structure",members:{Succeeded:{shape:"S11"},Failed:{shape:"S14"},Pending:{shape:"S18"}}}},ListGroupResources:{http:{requestUri:"/list-group-resources"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{},Filters:{type:"list",member:{type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Resources:{type:"list",member:{type:"structure",members:{Identifier:{shape:"S1l"},Status:{type:"structure",members:{Name:{}}}}}},ResourceIdentifiers:{shape:"S1p",deprecated:!0,deprecatedMessage:"This field is deprecated, use Resources instead."},NextToken:{},QueryErrors:{shape:"S1q"}}}},ListGroups:{http:{requestUri:"/groups-list"},input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{}}}}},MaxResults:{location:"querystring",locationName:"maxResults",type:"integer"},NextToken:{location:"querystring",locationName:"nextToken"}}},output:{type:"structure",members:{GroupIdentifiers:{type:"list",member:{type:"structure",members:{GroupName:{},GroupArn:{}}}},Groups:{deprecated:!0,deprecatedMessage:"This field is deprecated, use GroupIdentifiers instead.",type:"list",member:{shape:"Sj"}},NextToken:{}}}},PutGroupConfiguration:{http:{requestUri:"/put-group-configuration",responseCode:202},input:{type:"structure",members:{Group:{},Configuration:{shape:"Sa"}}},output:{type:"structure",members:{}}},SearchResources:{http:{requestUri:"/resources/search"},input:{type:"structure",required:["ResourceQuery"],members:{ResourceQuery:{shape:"S4"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ResourceIdentifiers:{shape:"S1p"},NextToken:{},QueryErrors:{shape:"S1q"}}}},Tag:{http:{method:"PUT",requestUri:"/resources/{Arn}/tags"},input:{type:"structure",required:["Arn","Tags"],members:{Arn:{location:"uri",locationName:"Arn"},Tags:{shape:"S7"}}},output:{type:"structure",members:{Arn:{},Tags:{shape:"S7"}}}},UngroupResources:{http:{requestUri:"/ungroup-resources"},input:{type:"structure",required:["Group","ResourceArns"],members:{Group:{},ResourceArns:{shape:"S11"}}},output:{type:"structure",members:{Succeeded:{shape:"S11"},Failed:{shape:"S14"},Pending:{shape:"S18"}}}},Untag:{http:{method:"PATCH",requestUri:"/resources/{Arn}/tags"},input:{type:"structure",required:["Arn","Keys"],members:{Arn:{location:"uri",locationName:"Arn"},Keys:{shape:"S2d"}}},output:{type:"structure",members:{Arn:{},Keys:{shape:"S2d"}}}},UpdateGroup:{http:{requestUri:"/update-group"},input:{type:"structure",members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{},Description:{}}},output:{type:"structure",members:{Group:{shape:"Sj"}}}},UpdateGroupQuery:{http:{requestUri:"/update-group-query"},input:{type:"structure",required:["ResourceQuery"],members:{GroupName:{deprecated:!0,deprecatedMessage:"This field is deprecated, use Group instead."},Group:{},ResourceQuery:{shape:"S4"}}},output:{type:"structure",members:{GroupQuery:{shape:"Sx"}}}}},shapes:{S4:{type:"structure",required:["Type","Query"],members:{Type:{},Query:{}}},S7:{type:"map",key:{},value:{}},Sa:{type:"list",member:{type:"structure",required:["Type"],members:{Type:{},Parameters:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Values:{type:"list",member:{}}}}}}}},Sj:{type:"structure",required:["GroupArn","Name"],members:{GroupArn:{},Name:{},Description:{}}},Sl:{type:"structure",members:{Configuration:{shape:"Sa"},ProposedConfiguration:{shape:"Sa"},Status:{},FailureReason:{}}},Sx:{type:"structure",required:["GroupName","ResourceQuery"],members:{GroupName:{},ResourceQuery:{shape:"S4"}}},S11:{type:"list",member:{}},S14:{type:"list",member:{type:"structure",members:{ResourceArn:{},ErrorMessage:{},ErrorCode:{}}}},S18:{type:"list",member:{type:"structure",members:{ResourceArn:{}}}},S1l:{type:"structure",members:{ResourceArn:{},ResourceType:{}}},S1p:{type:"list",member:{shape:"S1l"}},S1q:{type:"list",member:{type:"structure",members:{ErrorCode:{},Message:{}}}},S2d:{type:"list",member:{}}}}},{}],202:[function(e,t,r){t.exports={pagination:{ListGroupResources:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:["ResourceIdentifiers","Resources"]},ListGroups:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"GroupIdentifiers"},SearchResources:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"ResourceIdentifiers"}}}},{}],203:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-04-01",endpointPrefix:"route53",globalEndpoint:"route53.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"Route 53",serviceFullName:"Amazon Route 53",serviceId:"Route 53",signatureVersion:"v4",uid:"route53-2013-04-01"},operations:{ActivateKeySigningKey:{http:{requestUri:"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/activate"},input:{type:"structure",required:["HostedZoneId","Name"],members:{HostedZoneId:{location:"uri",locationName:"HostedZoneId"},Name:{location:"uri",locationName:"Name"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},AssociateVPCWithHostedZone:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/associatevpc"},input:{locationName:"AssociateVPCWithHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"Sa"},Comment:{}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},ChangeResourceRecordSets:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/rrset/"},input:{locationName:"ChangeResourceRecordSetsRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","ChangeBatch"],members:{HostedZoneId:{location:"uri",locationName:"Id"},ChangeBatch:{type:"structure",required:["Changes"],members:{Comment:{},Changes:{type:"list",member:{locationName:"Change",type:"structure",required:["Action","ResourceRecordSet"],members:{Action:{},ResourceRecordSet:{shape:"Sk"}}}}}}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},ChangeTagsForResource:{http:{requestUri:"/2013-04-01/tags/{ResourceType}/{ResourceId}"},input:{locationName:"ChangeTagsForResourceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceId:{location:"uri",locationName:"ResourceId"},AddTags:{shape:"S18"},RemoveTagKeys:{type:"list",member:{locationName:"Key"}}}},output:{type:"structure",members:{}}},CreateHealthCheck:{http:{requestUri:"/2013-04-01/healthcheck",responseCode:201},input:{locationName:"CreateHealthCheckRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference","HealthCheckConfig"],members:{CallerReference:{},HealthCheckConfig:{shape:"S1g"}}},output:{type:"structure",required:["HealthCheck","Location"],members:{HealthCheck:{shape:"S23"},Location:{location:"header",locationName:"Location"}}}},CreateHostedZone:{http:{requestUri:"/2013-04-01/hostedzone",responseCode:201},input:{locationName:"CreateHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Name","CallerReference"],members:{Name:{},VPC:{shape:"Sa"},CallerReference:{},HostedZoneConfig:{shape:"S2l"},DelegationSetId:{}}},output:{type:"structure",required:["HostedZone","ChangeInfo","DelegationSet","Location"],members:{HostedZone:{shape:"S2o"},ChangeInfo:{shape:"S5"},DelegationSet:{shape:"S2q"},VPC:{shape:"Sa"},Location:{location:"header",locationName:"Location"}}}},CreateKeySigningKey:{http:{requestUri:"/2013-04-01/keysigningkey",responseCode:201},input:{locationName:"CreateKeySigningKeyRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference","HostedZoneId","KeyManagementServiceArn","Name","Status"],members:{CallerReference:{},HostedZoneId:{},KeyManagementServiceArn:{},Name:{},Status:{}}},output:{type:"structure",required:["ChangeInfo","KeySigningKey","Location"],members:{ChangeInfo:{shape:"S5"},KeySigningKey:{shape:"S2w"},Location:{location:"header",locationName:"Location"}}}},CreateQueryLoggingConfig:{http:{requestUri:"/2013-04-01/queryloggingconfig",responseCode:201},input:{locationName:"CreateQueryLoggingConfigRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","CloudWatchLogsLogGroupArn"],members:{HostedZoneId:{},CloudWatchLogsLogGroupArn:{}}},output:{type:"structure",required:["QueryLoggingConfig","Location"],members:{QueryLoggingConfig:{shape:"S33"},Location:{location:"header",locationName:"Location"}}}},CreateReusableDelegationSet:{http:{requestUri:"/2013-04-01/delegationset",responseCode:201},input:{locationName:"CreateReusableDelegationSetRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference"],members:{CallerReference:{},HostedZoneId:{}}},output:{type:"structure",required:["DelegationSet","Location"],members:{DelegationSet:{shape:"S2q"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicy:{http:{requestUri:"/2013-04-01/trafficpolicy",responseCode:201},input:{locationName:"CreateTrafficPolicyRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Name","Document"],members:{Name:{},Document:{},Comment:{}}},output:{type:"structure",required:["TrafficPolicy","Location"],members:{TrafficPolicy:{shape:"S3c"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicyInstance:{http:{requestUri:"/2013-04-01/trafficpolicyinstance",responseCode:201},input:{locationName:"CreateTrafficPolicyInstanceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","Name","TTL","TrafficPolicyId","TrafficPolicyVersion"],members:{HostedZoneId:{},Name:{},TTL:{type:"long"},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"}}},output:{type:"structure",required:["TrafficPolicyInstance","Location"],members:{TrafficPolicyInstance:{shape:"S3h"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicyVersion:{http:{requestUri:"/2013-04-01/trafficpolicy/{Id}",responseCode:201},input:{locationName:"CreateTrafficPolicyVersionRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","Document"],members:{Id:{location:"uri",locationName:"Id"},Document:{},Comment:{}}},output:{type:"structure",required:["TrafficPolicy","Location"],members:{TrafficPolicy:{shape:"S3c"},Location:{location:"header",locationName:"Location"}}}},CreateVPCAssociationAuthorization:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/authorizevpcassociation"},input:{locationName:"CreateVPCAssociationAuthorizationRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"Sa"}}},output:{type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{},VPC:{shape:"Sa"}}}},DeactivateKeySigningKey:{http:{requestUri:"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/deactivate"},input:{type:"structure",required:["HostedZoneId","Name"],members:{HostedZoneId:{location:"uri",locationName:"HostedZoneId"},Name:{location:"uri",locationName:"Name"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},DeleteHealthCheck:{http:{method:"DELETE",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",members:{}}},DeleteHostedZone:{http:{method:"DELETE",requestUri:"/2013-04-01/hostedzone/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},DeleteKeySigningKey:{http:{method:"DELETE",requestUri:"/2013-04-01/keysigningkey/{HostedZoneId}/{Name}"},input:{type:"structure",required:["HostedZoneId","Name"],members:{HostedZoneId:{location:"uri",locationName:"HostedZoneId"},Name:{location:"uri",locationName:"Name"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},DeleteQueryLoggingConfig:{http:{method:"DELETE",requestUri:"/2013-04-01/queryloggingconfig/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeleteReusableDelegationSet:{http:{method:"DELETE",requestUri:"/2013-04-01/delegationset/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeleteTrafficPolicy:{http:{method:"DELETE",requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{type:"structure",required:["Id","Version"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"}}},output:{type:"structure",members:{}}},DeleteTrafficPolicyInstance:{http:{method:"DELETE",requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeleteVPCAssociationAuthorization:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/deauthorizevpcassociation"},input:{locationName:"DeleteVPCAssociationAuthorizationRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"Sa"}}},output:{type:"structure",members:{}}},DisableHostedZoneDNSSEC:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/disable-dnssec"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},DisassociateVPCFromHostedZone:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/disassociatevpc"},input:{locationName:"DisassociateVPCFromHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"Sa"},Comment:{}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},EnableHostedZoneDNSSEC:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/enable-dnssec"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},GetAccountLimit:{http:{method:"GET",requestUri:"/2013-04-01/accountlimit/{Type}"},input:{type:"structure",required:["Type"],members:{Type:{location:"uri",locationName:"Type"}}},output:{type:"structure",required:["Limit","Count"],members:{Limit:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{type:"long"}}},Count:{type:"long"}}}},GetChange:{http:{method:"GET",requestUri:"/2013-04-01/change/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S5"}}}},GetCheckerIpRanges:{http:{method:"GET",requestUri:"/2013-04-01/checkeripranges"},input:{type:"structure",members:{}},output:{type:"structure",required:["CheckerIpRanges"],members:{CheckerIpRanges:{type:"list",member:{}}}}},GetDNSSEC:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/dnssec"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["Status","KeySigningKeys"],members:{Status:{type:"structure",members:{ServeSignature:{},StatusMessage:{}}},KeySigningKeys:{type:"list",member:{shape:"S2w"}}}}},GetGeoLocation:{http:{method:"GET",requestUri:"/2013-04-01/geolocation"},input:{type:"structure",members:{ContinentCode:{location:"querystring",locationName:"continentcode"},CountryCode:{location:"querystring",locationName:"countrycode"},SubdivisionCode:{location:"querystring",locationName:"subdivisioncode"}}},output:{type:"structure",required:["GeoLocationDetails"],members:{GeoLocationDetails:{shape:"S4w"}}}},GetHealthCheck:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{ +type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheck"],members:{HealthCheck:{shape:"S23"}}}},GetHealthCheckCount:{http:{method:"GET",requestUri:"/2013-04-01/healthcheckcount"},input:{type:"structure",members:{}},output:{type:"structure",required:["HealthCheckCount"],members:{HealthCheckCount:{type:"long"}}}},GetHealthCheckLastFailureReason:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheckObservations"],members:{HealthCheckObservations:{shape:"S57"}}}},GetHealthCheckStatus:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}/status"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheckObservations"],members:{HealthCheckObservations:{shape:"S57"}}}},GetHostedZone:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["HostedZone"],members:{HostedZone:{shape:"S2o"},DelegationSet:{shape:"S2q"},VPCs:{shape:"S5f"}}}},GetHostedZoneCount:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonecount"},input:{type:"structure",members:{}},output:{type:"structure",required:["HostedZoneCount"],members:{HostedZoneCount:{type:"long"}}}},GetHostedZoneLimit:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonelimit/{Id}/{Type}"},input:{type:"structure",required:["Type","HostedZoneId"],members:{Type:{location:"uri",locationName:"Type"},HostedZoneId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["Limit","Count"],members:{Limit:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{type:"long"}}},Count:{type:"long"}}}},GetQueryLoggingConfig:{http:{method:"GET",requestUri:"/2013-04-01/queryloggingconfig/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["QueryLoggingConfig"],members:{QueryLoggingConfig:{shape:"S33"}}}},GetReusableDelegationSet:{http:{method:"GET",requestUri:"/2013-04-01/delegationset/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["DelegationSet"],members:{DelegationSet:{shape:"S2q"}}}},GetReusableDelegationSetLimit:{http:{method:"GET",requestUri:"/2013-04-01/reusabledelegationsetlimit/{Id}/{Type}"},input:{type:"structure",required:["Type","DelegationSetId"],members:{Type:{location:"uri",locationName:"Type"},DelegationSetId:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["Limit","Count"],members:{Limit:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{type:"long"}}},Count:{type:"long"}}}},GetTrafficPolicy:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{type:"structure",required:["Id","Version"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"}}},output:{type:"structure",required:["TrafficPolicy"],members:{TrafficPolicy:{shape:"S3c"}}}},GetTrafficPolicyInstance:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["TrafficPolicyInstance"],members:{TrafficPolicyInstance:{shape:"S3h"}}}},GetTrafficPolicyInstanceCount:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstancecount"},input:{type:"structure",members:{}},output:{type:"structure",required:["TrafficPolicyInstanceCount"],members:{TrafficPolicyInstanceCount:{type:"integer"}}}},ListGeoLocations:{http:{method:"GET",requestUri:"/2013-04-01/geolocations"},input:{type:"structure",members:{StartContinentCode:{location:"querystring",locationName:"startcontinentcode"},StartCountryCode:{location:"querystring",locationName:"startcountrycode"},StartSubdivisionCode:{location:"querystring",locationName:"startsubdivisioncode"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["GeoLocationDetailsList","IsTruncated","MaxItems"],members:{GeoLocationDetailsList:{type:"list",member:{shape:"S4w",locationName:"GeoLocationDetails"}},IsTruncated:{type:"boolean"},NextContinentCode:{},NextCountryCode:{},NextSubdivisionCode:{},MaxItems:{}}}},ListHealthChecks:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["HealthChecks","Marker","IsTruncated","MaxItems"],members:{HealthChecks:{type:"list",member:{shape:"S23",locationName:"HealthCheck"}},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListHostedZones:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"},DelegationSetId:{location:"querystring",locationName:"delegationsetid"}}},output:{type:"structure",required:["HostedZones","Marker","IsTruncated","MaxItems"],members:{HostedZones:{shape:"S6d"},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListHostedZonesByName:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonesbyname"},input:{type:"structure",members:{DNSName:{location:"querystring",locationName:"dnsname"},HostedZoneId:{location:"querystring",locationName:"hostedzoneid"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["HostedZones","IsTruncated","MaxItems"],members:{HostedZones:{shape:"S6d"},DNSName:{},HostedZoneId:{},IsTruncated:{type:"boolean"},NextDNSName:{},NextHostedZoneId:{},MaxItems:{}}}},ListHostedZonesByVPC:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonesbyvpc"},input:{type:"structure",required:["VPCId","VPCRegion"],members:{VPCId:{location:"querystring",locationName:"vpcid"},VPCRegion:{location:"querystring",locationName:"vpcregion"},MaxItems:{location:"querystring",locationName:"maxitems"},NextToken:{location:"querystring",locationName:"nexttoken"}}},output:{type:"structure",required:["HostedZoneSummaries","MaxItems"],members:{HostedZoneSummaries:{type:"list",member:{locationName:"HostedZoneSummary",type:"structure",required:["HostedZoneId","Name","Owner"],members:{HostedZoneId:{},Name:{},Owner:{type:"structure",members:{OwningAccount:{},OwningService:{}}}}}},MaxItems:{},NextToken:{}}}},ListQueryLoggingConfigs:{http:{method:"GET",requestUri:"/2013-04-01/queryloggingconfig"},input:{type:"structure",members:{HostedZoneId:{location:"querystring",locationName:"hostedzoneid"},NextToken:{location:"querystring",locationName:"nexttoken"},MaxResults:{location:"querystring",locationName:"maxresults"}}},output:{type:"structure",required:["QueryLoggingConfigs"],members:{QueryLoggingConfigs:{type:"list",member:{shape:"S33",locationName:"QueryLoggingConfig"}},NextToken:{}}}},ListResourceRecordSets:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/rrset"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"},StartRecordName:{location:"querystring",locationName:"name"},StartRecordType:{location:"querystring",locationName:"type"},StartRecordIdentifier:{location:"querystring",locationName:"identifier"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["ResourceRecordSets","IsTruncated","MaxItems"],members:{ResourceRecordSets:{type:"list",member:{shape:"Sk",locationName:"ResourceRecordSet"}},IsTruncated:{type:"boolean"},NextRecordName:{},NextRecordType:{},NextRecordIdentifier:{},MaxItems:{}}}},ListReusableDelegationSets:{http:{method:"GET",requestUri:"/2013-04-01/delegationset"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["DelegationSets","Marker","IsTruncated","MaxItems"],members:{DelegationSets:{type:"list",member:{shape:"S2q",locationName:"DelegationSet"}},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/2013-04-01/tags/{ResourceType}/{ResourceId}"},input:{type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceId:{location:"uri",locationName:"ResourceId"}}},output:{type:"structure",required:["ResourceTagSet"],members:{ResourceTagSet:{shape:"S70"}}}},ListTagsForResources:{http:{requestUri:"/2013-04-01/tags/{ResourceType}"},input:{locationName:"ListTagsForResourcesRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["ResourceType","ResourceIds"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceIds:{type:"list",member:{locationName:"ResourceId"}}}},output:{type:"structure",required:["ResourceTagSets"],members:{ResourceTagSets:{type:"list",member:{shape:"S70",locationName:"ResourceTagSet"}}}}},ListTrafficPolicies:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicies"},input:{type:"structure",members:{TrafficPolicyIdMarker:{location:"querystring",locationName:"trafficpolicyid"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicySummaries","IsTruncated","TrafficPolicyIdMarker","MaxItems"],members:{TrafficPolicySummaries:{type:"list",member:{locationName:"TrafficPolicySummary",type:"structure",required:["Id","Name","Type","LatestVersion","TrafficPolicyCount"],members:{Id:{},Name:{},Type:{},LatestVersion:{type:"integer"},TrafficPolicyCount:{type:"integer"}}}},IsTruncated:{type:"boolean"},TrafficPolicyIdMarker:{},MaxItems:{}}}},ListTrafficPolicyInstances:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances"},input:{type:"structure",members:{HostedZoneIdMarker:{location:"querystring",locationName:"hostedzoneid"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S7b"},HostedZoneIdMarker:{},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyInstancesByHostedZone:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances/hostedzone"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"querystring",locationName:"id"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S7b"},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyInstancesByPolicy:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances/trafficpolicy"},input:{type:"structure",required:["TrafficPolicyId","TrafficPolicyVersion"],members:{TrafficPolicyId:{location:"querystring",locationName:"id"},TrafficPolicyVersion:{location:"querystring",locationName:"version",type:"integer"},HostedZoneIdMarker:{location:"querystring",locationName:"hostedzoneid"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S7b"},HostedZoneIdMarker:{},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyVersions:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicies/{Id}/versions"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},TrafficPolicyVersionMarker:{location:"querystring",locationName:"trafficpolicyversion"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicies","IsTruncated","TrafficPolicyVersionMarker","MaxItems"],members:{TrafficPolicies:{type:"list",member:{shape:"S3c",locationName:"TrafficPolicy"}},IsTruncated:{type:"boolean"},TrafficPolicyVersionMarker:{},MaxItems:{}}}},ListVPCAssociationAuthorizations:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/authorizevpcassociation"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"},NextToken:{location:"querystring",locationName:"nexttoken"},MaxResults:{location:"querystring",locationName:"maxresults"}}},output:{type:"structure",required:["HostedZoneId","VPCs"],members:{HostedZoneId:{},NextToken:{},VPCs:{shape:"S5f"}}}},TestDNSAnswer:{http:{method:"GET",requestUri:"/2013-04-01/testdnsanswer"},input:{type:"structure",required:["HostedZoneId","RecordName","RecordType"],members:{HostedZoneId:{location:"querystring",locationName:"hostedzoneid"},RecordName:{location:"querystring",locationName:"recordname"},RecordType:{location:"querystring",locationName:"recordtype"},ResolverIP:{location:"querystring",locationName:"resolverip"},EDNS0ClientSubnetIP:{location:"querystring",locationName:"edns0clientsubnetip"},EDNS0ClientSubnetMask:{location:"querystring",locationName:"edns0clientsubnetmask"}}},output:{type:"structure",required:["Nameserver","RecordName","RecordType","RecordData","ResponseCode","Protocol"],members:{Nameserver:{},RecordName:{},RecordType:{},RecordData:{type:"list",member:{locationName:"RecordDataEntry"}},ResponseCode:{},Protocol:{}}}},UpdateHealthCheck:{http:{requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{locationName:"UpdateHealthCheckRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"},HealthCheckVersion:{type:"long"},IPAddress:{},Port:{type:"integer"},ResourcePath:{},FullyQualifiedDomainName:{},SearchString:{},FailureThreshold:{type:"integer"},Inverted:{type:"boolean"},Disabled:{type:"boolean"},HealthThreshold:{type:"integer"},ChildHealthChecks:{shape:"S1t"},EnableSNI:{type:"boolean"},Regions:{shape:"S1v"},AlarmIdentifier:{shape:"S1x"},InsufficientDataHealthStatus:{},ResetElements:{type:"list",member:{locationName:"ResettableElementName"}}}},output:{type:"structure",required:["HealthCheck"],members:{HealthCheck:{shape:"S23"}}}},UpdateHostedZoneComment:{http:{requestUri:"/2013-04-01/hostedzone/{Id}"},input:{locationName:"UpdateHostedZoneCommentRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},Comment:{}}},output:{type:"structure",required:["HostedZone"],members:{HostedZone:{shape:"S2o"}}}},UpdateTrafficPolicyComment:{http:{requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{locationName:"UpdateTrafficPolicyCommentRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","Version","Comment"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"},Comment:{}}},output:{type:"structure",required:["TrafficPolicy"],members:{TrafficPolicy:{shape:"S3c"}}}},UpdateTrafficPolicyInstance:{http:{requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{locationName:"UpdateTrafficPolicyInstanceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","TTL","TrafficPolicyId","TrafficPolicyVersion"],members:{Id:{location:"uri",locationName:"Id"},TTL:{type:"long"},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"}}},output:{type:"structure",required:["TrafficPolicyInstance"],members:{TrafficPolicyInstance:{shape:"S3h"}}}}},shapes:{S5:{type:"structure",required:["Id","Status","SubmittedAt"],members:{Id:{},Status:{},SubmittedAt:{type:"timestamp"},Comment:{}}},Sa:{type:"structure",members:{VPCRegion:{},VPCId:{}}},Sk:{type:"structure",required:["Name","Type"],members:{Name:{},Type:{},SetIdentifier:{},Weight:{type:"long"},Region:{},GeoLocation:{type:"structure",members:{ContinentCode:{},CountryCode:{},SubdivisionCode:{}}},Failover:{},MultiValueAnswer:{type:"boolean"},TTL:{type:"long"},ResourceRecords:{type:"list",member:{locationName:"ResourceRecord",type:"structure",required:["Value"],members:{Value:{}}}},AliasTarget:{type:"structure",required:["HostedZoneId","DNSName","EvaluateTargetHealth"],members:{HostedZoneId:{},DNSName:{},EvaluateTargetHealth:{type:"boolean"}}},HealthCheckId:{},TrafficPolicyInstanceId:{}}},S18:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},S1g:{type:"structure",required:["Type"],members:{IPAddress:{},Port:{type:"integer"},Type:{},ResourcePath:{},FullyQualifiedDomainName:{},SearchString:{},RequestInterval:{type:"integer"},FailureThreshold:{type:"integer"},MeasureLatency:{type:"boolean"},Inverted:{type:"boolean"},Disabled:{type:"boolean"},HealthThreshold:{type:"integer"},ChildHealthChecks:{shape:"S1t"},EnableSNI:{type:"boolean"},Regions:{shape:"S1v"},AlarmIdentifier:{shape:"S1x"},InsufficientDataHealthStatus:{},RoutingControlArn:{}}},S1t:{type:"list",member:{locationName:"ChildHealthCheck"}},S1v:{type:"list",member:{locationName:"Region"}},S1x:{type:"structure",required:["Region","Name"],members:{Region:{},Name:{}}},S23:{type:"structure",required:["Id","CallerReference","HealthCheckConfig","HealthCheckVersion"],members:{Id:{},CallerReference:{},LinkedService:{shape:"S24"},HealthCheckConfig:{shape:"S1g"},HealthCheckVersion:{type:"long"},CloudWatchAlarmConfiguration:{type:"structure",required:["EvaluationPeriods","Threshold","ComparisonOperator","Period","MetricName","Namespace","Statistic"],members:{EvaluationPeriods:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{},Period:{type:"integer"},MetricName:{},Namespace:{},Statistic:{},Dimensions:{type:"list",member:{locationName:"Dimension",type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}}}}}},S24:{type:"structure",members:{ServicePrincipal:{},Description:{}}},S2l:{type:"structure",members:{Comment:{},PrivateZone:{type:"boolean"}}},S2o:{type:"structure",required:["Id","Name","CallerReference"],members:{Id:{},Name:{},CallerReference:{},Config:{shape:"S2l"},ResourceRecordSetCount:{type:"long"},LinkedService:{shape:"S24"}}},S2q:{type:"structure",required:["NameServers"],members:{Id:{},CallerReference:{},NameServers:{type:"list",member:{locationName:"NameServer"}}}},S2w:{type:"structure",members:{Name:{},KmsArn:{},Flag:{type:"integer"},SigningAlgorithmMnemonic:{},SigningAlgorithmType:{type:"integer"},DigestAlgorithmMnemonic:{},DigestAlgorithmType:{type:"integer"},KeyTag:{type:"integer"},DigestValue:{},PublicKey:{},DSRecord:{},DNSKEYRecord:{},Status:{},StatusMessage:{},CreatedDate:{type:"timestamp"},LastModifiedDate:{type:"timestamp"}}},S33:{type:"structure",required:["Id","HostedZoneId","CloudWatchLogsLogGroupArn"],members:{Id:{},HostedZoneId:{},CloudWatchLogsLogGroupArn:{}}},S3c:{type:"structure",required:["Id","Version","Name","Type","Document"],members:{Id:{},Version:{type:"integer"},Name:{},Type:{},Document:{},Comment:{}}},S3h:{type:"structure",required:["Id","HostedZoneId","Name","TTL","State","Message","TrafficPolicyId","TrafficPolicyVersion","TrafficPolicyType"],members:{Id:{},HostedZoneId:{},Name:{},TTL:{type:"long"},State:{},Message:{},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"},TrafficPolicyType:{}}},S4w:{type:"structure",members:{ContinentCode:{},ContinentName:{},CountryCode:{},CountryName:{},SubdivisionCode:{},SubdivisionName:{}}},S57:{type:"list",member:{locationName:"HealthCheckObservation",type:"structure",members:{Region:{},IPAddress:{},StatusReport:{type:"structure",members:{Status:{},CheckedTime:{type:"timestamp"}}}}}},S5f:{type:"list",member:{shape:"Sa",locationName:"VPC"}},S6d:{type:"list",member:{shape:"S2o",locationName:"HostedZone"}},S70:{type:"structure",members:{ResourceType:{},ResourceId:{},Tags:{shape:"S18"}}},S7b:{type:"list",member:{shape:"S3h",locationName:"TrafficPolicyInstance"}}}}},{}],204:[function(e,t,r){t.exports={pagination:{ListHealthChecks:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"NextMarker",result_key:"HealthChecks"},ListHostedZones:{input_token:"Marker",limit_key:"MaxItems",more_results:"IsTruncated",output_token:"NextMarker",result_key:"HostedZones"},ListQueryLoggingConfigs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"QueryLoggingConfigs"},ListResourceRecordSets:{input_token:["StartRecordName","StartRecordType","StartRecordIdentifier"],limit_key:"MaxItems",more_results:"IsTruncated",output_token:["NextRecordName","NextRecordType","NextRecordIdentifier"],result_key:"ResourceRecordSets"}}}},{}],205:[function(e,t,r){t.exports={version:2,waiters:{ResourceRecordSetsChanged:{delay:30,maxAttempts:60,operation:"GetChange",acceptors:[{matcher:"path",expected:"INSYNC",argument:"ChangeInfo.Status",state:"success"}]}}}},{}],206:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-05-15",endpointPrefix:"route53domains",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Route 53 Domains",serviceId:"Route 53 Domains",signatureVersion:"v4",targetPrefix:"Route53Domains_v20140515",uid:"route53domains-2014-05-15"},operations:{AcceptDomainTransferFromAnotherAwsAccount:{input:{type:"structure",required:["DomainName","Password"],members:{DomainName:{},Password:{}}},output:{type:"structure",members:{OperationId:{}}}},CancelDomainTransferToAnotherAwsAccount:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{OperationId:{}}}},CheckDomainAvailability:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},IdnLangCode:{}}},output:{type:"structure",required:["Availability"],members:{Availability:{}}}},CheckDomainTransferability:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},AuthCode:{shape:"Sd"}}},output:{type:"structure",required:["Transferability"],members:{Transferability:{type:"structure",members:{Transferable:{}}}}}},DeleteDomain:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{OperationId:{}}}},DeleteTagsForDomain:{input:{type:"structure",required:["DomainName","TagsToDelete"],members:{DomainName:{},TagsToDelete:{type:"list",member:{}}}},output:{type:"structure",members:{}}},DisableDomainAutoRenew:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{}}},DisableDomainTransferLock:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},EnableDomainAutoRenew:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{}}},EnableDomainTransferLock:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},GetContactReachabilityStatus:{input:{type:"structure",members:{domainName:{}}},output:{type:"structure",members:{domainName:{},status:{}}}},GetDomainDetail:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["DomainName","Nameservers","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},Nameservers:{shape:"S10"},AutoRenew:{type:"boolean"},AdminContact:{shape:"S16"},RegistrantContact:{shape:"S16"},TechContact:{shape:"S16"},AdminPrivacy:{type:"boolean"},RegistrantPrivacy:{type:"boolean"},TechPrivacy:{type:"boolean"},RegistrarName:{},WhoIsServer:{},RegistrarUrl:{},AbuseContactEmail:{},AbuseContactPhone:{},RegistryDomainId:{},CreationDate:{type:"timestamp"},UpdatedDate:{type:"timestamp"},ExpirationDate:{type:"timestamp"},Reseller:{},DnsSec:{},StatusList:{type:"list",member:{}}}}},GetDomainSuggestions:{input:{type:"structure",required:["DomainName","SuggestionCount","OnlyAvailable"],members:{DomainName:{},SuggestionCount:{type:"integer"},OnlyAvailable:{type:"boolean"}}},output:{type:"structure",members:{SuggestionsList:{type:"list",member:{type:"structure",members:{DomainName:{},Availability:{}}}}}}},GetOperationDetail:{input:{type:"structure",required:["OperationId"],members:{OperationId:{}}},output:{type:"structure",members:{OperationId:{},Status:{},Message:{},DomainName:{},Type:{},SubmittedDate:{type:"timestamp"}}}},ListDomains:{input:{type:"structure",members:{FilterConditions:{type:"list",member:{type:"structure",required:["Name","Operator","Values"],members:{Name:{},Operator:{},Values:{type:"list",member:{}}}}},SortCondition:{type:"structure",required:["Name","SortOrder"],members:{Name:{},SortOrder:{}}},Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",required:["Domains"],members:{Domains:{type:"list",member:{type:"structure",required:["DomainName"],members:{DomainName:{},AutoRenew:{type:"boolean"},TransferLock:{type:"boolean"},Expiry:{type:"timestamp"}}}},NextPageMarker:{}}}},ListOperations:{input:{type:"structure",members:{SubmittedSince:{type:"timestamp"},Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",required:["Operations"],members:{Operations:{type:"list",member:{type:"structure",required:["OperationId","Status","Type","SubmittedDate"],members:{OperationId:{},Status:{},Type:{},SubmittedDate:{type:"timestamp"}}}},NextPageMarker:{}}}},ListPrices:{input:{type:"structure",members:{Tld:{},Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",required:["Prices"],members:{Prices:{type:"list",member:{type:"structure",members:{Name:{},RegistrationPrice:{shape:"S2r"},TransferPrice:{shape:"S2r"},RenewalPrice:{shape:"S2r"},ChangeOwnershipPrice:{shape:"S2r"},RestorationPrice:{shape:"S2r"}}}},NextPageMarker:{}}}},ListTagsForDomain:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["TagList"],members:{TagList:{shape:"S2w"}}}},RegisterDomain:{input:{type:"structure",required:["DomainName","DurationInYears","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},IdnLangCode:{},DurationInYears:{type:"integer"},AutoRenew:{type:"boolean"},AdminContact:{shape:"S16"},RegistrantContact:{shape:"S16"},TechContact:{shape:"S16"},PrivacyProtectAdminContact:{type:"boolean"},PrivacyProtectRegistrantContact:{type:"boolean"},PrivacyProtectTechContact:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},RejectDomainTransferFromAnotherAwsAccount:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{OperationId:{}}}},RenewDomain:{input:{type:"structure",required:["DomainName","CurrentExpiryYear"],members:{DomainName:{},DurationInYears:{type:"integer"},CurrentExpiryYear:{type:"integer"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},ResendContactReachabilityEmail:{input:{type:"structure",members:{domainName:{}}},output:{type:"structure",members:{domainName:{},emailAddress:{},isAlreadyVerified:{type:"boolean"}}}},RetrieveDomainAuthCode:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["AuthCode"],members:{AuthCode:{shape:"Sd"}}}},TransferDomain:{input:{type:"structure",required:["DomainName","DurationInYears","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},IdnLangCode:{},DurationInYears:{type:"integer"},Nameservers:{shape:"S10"},AuthCode:{shape:"Sd"},AutoRenew:{type:"boolean"},AdminContact:{shape:"S16"},RegistrantContact:{shape:"S16"},TechContact:{shape:"S16"},PrivacyProtectAdminContact:{type:"boolean"},PrivacyProtectRegistrantContact:{type:"boolean"},PrivacyProtectTechContact:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},TransferDomainToAnotherAwsAccount:{input:{type:"structure",required:["DomainName","AccountId"],members:{DomainName:{},AccountId:{}}},output:{type:"structure",members:{OperationId:{},Password:{}}}},UpdateDomainContact:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},AdminContact:{shape:"S16"},RegistrantContact:{shape:"S16"},TechContact:{shape:"S16"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},UpdateDomainContactPrivacy:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},AdminPrivacy:{type:"boolean"},RegistrantPrivacy:{type:"boolean"},TechPrivacy:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},UpdateDomainNameservers:{input:{type:"structure",required:["DomainName","Nameservers"],members:{DomainName:{},FIAuthKey:{deprecated:!0,type:"string",sensitive:!0},Nameservers:{shape:"S10"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}}},UpdateTagsForDomain:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},TagsToUpdate:{shape:"S2w"}}},output:{type:"structure",members:{}}},ViewBilling:{input:{type:"structure",members:{Start:{type:"timestamp"},End:{type:"timestamp"},Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",members:{NextPageMarker:{},BillingRecords:{type:"list",member:{type:"structure",members:{DomainName:{},Operation:{},InvoiceId:{},BillDate:{type:"timestamp"},Price:{type:"double"}}}}}}}},shapes:{Sd:{type:"string",sensitive:!0},S10:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},GlueIps:{type:"list",member:{}}}}},S16:{type:"structure",members:{FirstName:{},LastName:{},ContactType:{},OrganizationName:{},AddressLine1:{},AddressLine2:{},City:{},State:{},CountryCode:{},ZipCode:{},PhoneNumber:{},Email:{},Fax:{},ExtraParams:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{type:"string",sensitive:!0}}}}},sensitive:!0},S2r:{type:"structure",required:["Price","Currency"],members:{Price:{type:"double"},Currency:{}}},S2w:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}}},{}],207:[function(e,t,r){t.exports={pagination:{ListDomains:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextPageMarker",result_key:"Domains"},ListOperations:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextPageMarker",result_key:"Operations"},ListPrices:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextPageMarker",result_key:"Prices"},ViewBilling:{input_token:"Marker",limit_key:"MaxItems",output_token:"NextPageMarker",result_key:"BillingRecords"}}}},{}],208:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-11-28",endpointPrefix:"runtime.lex",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon Lex Runtime Service",serviceId:"Lex Runtime Service",signatureVersion:"v4",signingName:"lex",uid:"runtime.lex-2016-11-28"},operations:{DeleteSession:{http:{method:"DELETE",requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/session"},input:{type:"structure",required:["botName","botAlias","userId"],members:{botName:{ +location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"}}},output:{type:"structure",members:{botName:{},botAlias:{},userId:{},sessionId:{}}}},GetSession:{http:{method:"GET",requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/session/"},input:{type:"structure",required:["botName","botAlias","userId"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"},checkpointLabelFilter:{location:"querystring",locationName:"checkpointLabelFilter"}}},output:{type:"structure",members:{recentIntentSummaryView:{shape:"Sa"},sessionAttributes:{shape:"Sd"},sessionId:{},dialogAction:{shape:"Sh"},activeContexts:{shape:"Sk"}}}},PostContent:{http:{requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/content"},input:{type:"structure",required:["botName","botAlias","userId","contentType","inputStream"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"},sessionAttributes:{shape:"St",jsonvalue:!0,location:"header",locationName:"x-amz-lex-session-attributes"},requestAttributes:{shape:"St",jsonvalue:!0,location:"header",locationName:"x-amz-lex-request-attributes"},contentType:{location:"header",locationName:"Content-Type"},accept:{location:"header",locationName:"Accept"},inputStream:{shape:"Sw"},activeContexts:{shape:"Sx",jsonvalue:!0,location:"header",locationName:"x-amz-lex-active-contexts"}},payload:"inputStream"},output:{type:"structure",members:{contentType:{location:"header",locationName:"Content-Type"},intentName:{location:"header",locationName:"x-amz-lex-intent-name"},nluIntentConfidence:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-nlu-intent-confidence"},alternativeIntents:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-alternative-intents"},slots:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-slots"},sessionAttributes:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-session-attributes"},sentimentResponse:{location:"header",locationName:"x-amz-lex-sentiment"},message:{shape:"Si",deprecated:!0,deprecatedMessage:"The message field is deprecated, use the encodedMessage field instead. The message field is available only in the de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-CA, fr-FR and it-IT locales.",location:"header",locationName:"x-amz-lex-message"},encodedMessage:{shape:"Sz",location:"header",locationName:"x-amz-lex-encoded-message"},messageFormat:{location:"header",locationName:"x-amz-lex-message-format"},dialogState:{location:"header",locationName:"x-amz-lex-dialog-state"},slotToElicit:{location:"header",locationName:"x-amz-lex-slot-to-elicit"},inputTranscript:{deprecated:!0,deprecatedMessage:"The inputTranscript field is deprecated, use the encodedInputTranscript field instead. The inputTranscript field is available only in the de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-CA, fr-FR and it-IT locales.",location:"header",locationName:"x-amz-lex-input-transcript"},encodedInputTranscript:{location:"header",locationName:"x-amz-lex-encoded-input-transcript",type:"string",sensitive:!0},audioStream:{shape:"Sw"},botVersion:{location:"header",locationName:"x-amz-lex-bot-version"},sessionId:{location:"header",locationName:"x-amz-lex-session-id"},activeContexts:{shape:"Sx",jsonvalue:!0,location:"header",locationName:"x-amz-lex-active-contexts"}},payload:"audioStream"},authtype:"v4-unsigned-body"},PostText:{http:{requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/text"},input:{type:"structure",required:["botName","botAlias","userId","inputText"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"},sessionAttributes:{shape:"Sd"},requestAttributes:{shape:"Sd"},inputText:{shape:"Si"},activeContexts:{shape:"Sk"}}},output:{type:"structure",members:{intentName:{},nluIntentConfidence:{shape:"S15"},alternativeIntents:{type:"list",member:{type:"structure",members:{intentName:{},nluIntentConfidence:{shape:"S15"},slots:{shape:"Sd"}}}},slots:{shape:"Sd"},sessionAttributes:{shape:"Sd"},message:{shape:"Si"},sentimentResponse:{type:"structure",members:{sentimentLabel:{},sentimentScore:{}}},messageFormat:{},dialogState:{},slotToElicit:{},responseCard:{type:"structure",members:{version:{},contentType:{},genericAttachments:{type:"list",member:{type:"structure",members:{title:{},subTitle:{},attachmentLinkUrl:{},imageUrl:{},buttons:{type:"list",member:{type:"structure",required:["text","value"],members:{text:{},value:{}}}}}}}}},sessionId:{},botVersion:{},activeContexts:{shape:"Sk"}}}},PutSession:{http:{requestUri:"/bot/{botName}/alias/{botAlias}/user/{userId}/session"},input:{type:"structure",required:["botName","botAlias","userId"],members:{botName:{location:"uri",locationName:"botName"},botAlias:{location:"uri",locationName:"botAlias"},userId:{location:"uri",locationName:"userId"},sessionAttributes:{shape:"Sd"},dialogAction:{shape:"Sh"},recentIntentSummaryView:{shape:"Sa"},accept:{location:"header",locationName:"Accept"},activeContexts:{shape:"Sk"}}},output:{type:"structure",members:{contentType:{location:"header",locationName:"Content-Type"},intentName:{location:"header",locationName:"x-amz-lex-intent-name"},slots:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-slots"},sessionAttributes:{jsonvalue:!0,location:"header",locationName:"x-amz-lex-session-attributes"},message:{shape:"Si",deprecated:!0,deprecatedMessage:"The message field is deprecated, use the encodedMessage field instead. The message field is available only in the de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-CA, fr-FR and it-IT locales.",location:"header",locationName:"x-amz-lex-message"},encodedMessage:{shape:"Sz",location:"header",locationName:"x-amz-lex-encoded-message"},messageFormat:{location:"header",locationName:"x-amz-lex-message-format"},dialogState:{location:"header",locationName:"x-amz-lex-dialog-state"},slotToElicit:{location:"header",locationName:"x-amz-lex-slot-to-elicit"},audioStream:{shape:"Sw"},sessionId:{location:"header",locationName:"x-amz-lex-session-id"},activeContexts:{shape:"Sx",jsonvalue:!0,location:"header",locationName:"x-amz-lex-active-contexts"}},payload:"audioStream"}}},shapes:{Sa:{type:"list",member:{type:"structure",required:["dialogActionType"],members:{intentName:{},checkpointLabel:{},slots:{shape:"Sd"},confirmationStatus:{},dialogActionType:{},fulfillmentState:{},slotToElicit:{}}}},Sd:{type:"map",key:{},value:{},sensitive:!0},Sh:{type:"structure",required:["type"],members:{type:{},intentName:{},slots:{shape:"Sd"},slotToElicit:{},fulfillmentState:{},message:{shape:"Si"},messageFormat:{}}},Si:{type:"string",sensitive:!0},Sk:{type:"list",member:{type:"structure",required:["name","timeToLive","parameters"],members:{name:{},timeToLive:{type:"structure",members:{timeToLiveInSeconds:{type:"integer"},turnsToLive:{type:"integer"}}},parameters:{type:"map",key:{},value:{shape:"Si"}}}},sensitive:!0},St:{type:"string",sensitive:!0},Sw:{type:"blob",streaming:!0},Sx:{type:"string",sensitive:!0},Sz:{type:"string",sensitive:!0},S15:{type:"structure",members:{score:{type:"double"}}}}}},{}],209:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],210:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2020-08-07",endpointPrefix:"runtime-v2-lex",jsonVersion:"1.1",protocol:"rest-json",protocolSettings:{h2:"eventstream"},serviceAbbreviation:"Lex Runtime V2",serviceFullName:"Amazon Lex Runtime V2",serviceId:"Lex Runtime V2",signatureVersion:"v4",signingName:"lex",uid:"runtime.lex.v2-2020-08-07"},operations:{DeleteSession:{http:{method:"DELETE",requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},input:{type:"structure",required:["botId","botAliasId","sessionId","localeId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"}}},output:{type:"structure",members:{botId:{},botAliasId:{},localeId:{},sessionId:{}}}},GetSession:{http:{method:"GET",requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},input:{type:"structure",required:["botId","botAliasId","localeId","sessionId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"}}},output:{type:"structure",members:{sessionId:{},messages:{shape:"Sa"},interpretations:{shape:"Sl"},sessionState:{shape:"S11"}}}},PutSession:{http:{requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}"},input:{type:"structure",required:["botId","botAliasId","localeId","sessionState","sessionId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"},messages:{shape:"Sa"},sessionState:{shape:"S11"},requestAttributes:{shape:"S1d"},responseContentType:{location:"header",locationName:"ResponseContentType"}}},output:{type:"structure",members:{contentType:{location:"header",locationName:"Content-Type"},messages:{location:"header",locationName:"x-amz-lex-messages"},sessionState:{location:"header",locationName:"x-amz-lex-session-state"},requestAttributes:{location:"header",locationName:"x-amz-lex-request-attributes"},sessionId:{location:"header",locationName:"x-amz-lex-session-id"},audioStream:{shape:"S1p"}},payload:"audioStream"}},RecognizeText:{http:{requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text"},input:{type:"structure",required:["botId","botAliasId","localeId","text","sessionId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"},text:{shape:"Sc"},sessionState:{shape:"S11"},requestAttributes:{shape:"S1d"}}},output:{type:"structure",members:{messages:{shape:"Sa"},sessionState:{shape:"S11"},interpretations:{shape:"Sl"},requestAttributes:{shape:"S1d"},sessionId:{}}}},RecognizeUtterance:{http:{requestUri:"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance"},input:{type:"structure",required:["botId","botAliasId","localeId","requestContentType","sessionId"],members:{botId:{location:"uri",locationName:"botId"},botAliasId:{location:"uri",locationName:"botAliasId"},localeId:{location:"uri",locationName:"localeId"},sessionId:{location:"uri",locationName:"sessionId"},sessionState:{shape:"S1t",location:"header",locationName:"x-amz-lex-session-state"},requestAttributes:{shape:"S1t",location:"header",locationName:"x-amz-lex-request-attributes"},requestContentType:{location:"header",locationName:"Content-Type"},responseContentType:{location:"header",locationName:"Response-Content-Type"},inputStream:{shape:"S1p"}},payload:"inputStream"},output:{type:"structure",members:{inputMode:{location:"header",locationName:"x-amz-lex-input-mode"},contentType:{location:"header",locationName:"Content-Type"},messages:{location:"header",locationName:"x-amz-lex-messages"},interpretations:{location:"header",locationName:"x-amz-lex-interpretations"},sessionState:{location:"header",locationName:"x-amz-lex-session-state"},requestAttributes:{location:"header",locationName:"x-amz-lex-request-attributes"},sessionId:{location:"header",locationName:"x-amz-lex-session-id"},inputTranscript:{location:"header",locationName:"x-amz-lex-input-transcript"},audioStream:{shape:"S1p"}},payload:"audioStream"},authtype:"v4-unsigned-body"}},shapes:{Sa:{type:"list",member:{type:"structure",required:["contentType"],members:{content:{shape:"Sc"},contentType:{},imageResponseCard:{type:"structure",required:["title"],members:{title:{},subtitle:{},imageUrl:{},buttons:{type:"list",member:{type:"structure",required:["text","value"],members:{text:{},value:{}}}}}}}}},Sc:{type:"string",sensitive:!0},Sl:{type:"list",member:{type:"structure",members:{nluConfidence:{type:"structure",members:{score:{type:"double"}}},sentimentResponse:{type:"structure",members:{sentiment:{},sentimentScore:{type:"structure",members:{positive:{type:"double"},negative:{type:"double"},neutral:{type:"double"},mixed:{type:"double"}}}}},intent:{shape:"Ss"}}}},Ss:{type:"structure",required:["name"],members:{name:{},slots:{type:"map",key:{},value:{shape:"Su"}},state:{},confirmationState:{}}},Su:{type:"structure",members:{value:{type:"structure",required:["interpretedValue"],members:{originalValue:{},interpretedValue:{},resolvedValues:{type:"list",member:{}}}},shape:{},values:{type:"list",member:{shape:"Su"}}}},S11:{type:"structure",members:{dialogAction:{type:"structure",required:["type"],members:{type:{},slotToElicit:{},slotElicitationStyle:{}}},intent:{shape:"Ss"},activeContexts:{type:"list",member:{type:"structure",required:["name","timeToLive","contextAttributes"],members:{name:{},timeToLive:{type:"structure",required:["timeToLiveInSeconds","turnsToLive"],members:{timeToLiveInSeconds:{type:"integer"},turnsToLive:{type:"integer"}}},contextAttributes:{type:"map",key:{},value:{shape:"Sc"}}}}},sessionAttributes:{shape:"S1d"},originatingRequestId:{},runtimeHints:{type:"structure",members:{slotHints:{type:"map",key:{},value:{type:"map",key:{},value:{type:"structure",required:["runtimeHintValues"],members:{runtimeHintValues:{type:"list",member:{type:"structure",required:["phrase"],members:{phrase:{}}}}}}}}}}}},S1d:{type:"map",key:{},value:{}},S1p:{type:"blob",streaming:!0},S1t:{type:"string",sensitive:!0}}}},{}],211:[function(e,t,r){t.exports={pagination:{}}},{}],212:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2006-03-01",checksumFormat:"md5",endpointPrefix:"s3",globalEndpoint:"s3.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"Amazon S3",serviceFullName:"Amazon Simple Storage Service",serviceId:"S3",signatureVersion:"s3",uid:"s3-2006-03-01"},operations:{AbortMultipartUpload:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}",responseCode:204},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},CompleteMultipartUpload:{http:{requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MultipartUpload:{locationName:"CompleteMultipartUpload",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Parts:{locationName:"Part",type:"list",member:{type:"structure",members:{ETag:{},PartNumber:{type:"integer"}}},flattened:!0}}},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"MultipartUpload"},output:{type:"structure",members:{Location:{},Bucket:{},Key:{},Expiration:{location:"header",locationName:"x-amz-expiration"},ETag:{},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},VersionId:{location:"header",locationName:"x-amz-version-id"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},CopyObject:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","CopySource","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},CopySource:{location:"header",locationName:"x-amz-copy-source"},CopySourceIfMatch:{location:"header",locationName:"x-amz-copy-source-if-match"},CopySourceIfModifiedSince:{location:"header",locationName:"x-amz-copy-source-if-modified-since",type:"timestamp"},CopySourceIfNoneMatch:{location:"header",locationName:"x-amz-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{location:"header",locationName:"x-amz-copy-source-if-unmodified-since",type:"timestamp"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},MetadataDirective:{location:"header",locationName:"x-amz-metadata-directive"},TaggingDirective:{location:"header",locationName:"x-amz-tagging-directive"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},CopySourceSSECustomerAlgorithm:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm"},CopySourceSSECustomerKey:{shape:"S1f",location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key"},CopySourceSSECustomerKeyMD5:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},Tagging:{location:"header",locationName:"x-amz-tagging"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},ExpectedSourceBucketOwner:{location:"header",locationName:"x-amz-source-expected-bucket-owner"}}},output:{type:"structure",members:{CopyObjectResult:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"}}},Expiration:{location:"header",locationName:"x-amz-expiration"},CopySourceVersionId:{location:"header",locationName:"x-amz-copy-source-version-id"},VersionId:{location:"header",locationName:"x-amz-version-id"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"CopyObjectResult"},alias:"PutObjectCopy"},CreateBucket:{http:{method:"PUT",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CreateBucketConfiguration:{locationName:"CreateBucketConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{LocationConstraint:{}}},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},ObjectLockEnabledForBucket:{location:"header",locationName:"x-amz-bucket-object-lock-enabled",type:"boolean"},ObjectOwnership:{location:"header",locationName:"x-amz-object-ownership"}},payload:"CreateBucketConfiguration"},output:{type:"structure",members:{Location:{location:"header",locationName:"Location"}}},alias:"PutBucket"},CreateMultipartUpload:{http:{requestUri:"/{Bucket}/{Key+}?uploads"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},Tagging:{location:"header",locationName:"x-amz-tagging"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{AbortDate:{location:"header",locationName:"x-amz-abort-date",type:"timestamp"},AbortRuleId:{location:"header",locationName:"x-amz-abort-rule-id"},Bucket:{locationName:"Bucket"},Key:{},UploadId:{},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},alias:"InitiateMultipartUpload"},DeleteBucket:{http:{method:"DELETE",requestUri:"/{Bucket}",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketAnalyticsConfiguration:{http:{method:"DELETE",requestUri:"/{Bucket}?analytics",responseCode:204},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketCors:{http:{method:"DELETE",requestUri:"/{Bucket}?cors",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketEncryption:{http:{method:"DELETE",requestUri:"/{Bucket}?encryption",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketIntelligentTieringConfiguration:{http:{method:"DELETE",requestUri:"/{Bucket}?intelligent-tiering",responseCode:204},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"}}}},DeleteBucketInventoryConfiguration:{http:{method:"DELETE",requestUri:"/{Bucket}?inventory",responseCode:204},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketLifecycle:{http:{method:"DELETE",requestUri:"/{Bucket}?lifecycle",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketMetricsConfiguration:{http:{method:"DELETE",requestUri:"/{Bucket}?metrics",responseCode:204},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketOwnershipControls:{http:{method:"DELETE",requestUri:"/{Bucket}?ownershipControls",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketPolicy:{http:{method:"DELETE",requestUri:"/{Bucket}?policy",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketReplication:{http:{method:"DELETE",requestUri:"/{Bucket}?replication",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketTagging:{http:{method:"DELETE",requestUri:"/{Bucket}?tagging",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteBucketWebsite:{http:{method:"DELETE",requestUri:"/{Bucket}?website",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},DeleteObject:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}",responseCode:204},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MFA:{location:"header",locationName:"x-amz-mfa"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},BypassGovernanceRetention:{location:"header",locationName:"x-amz-bypass-governance-retention",type:"boolean"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},VersionId:{location:"header",locationName:"x-amz-version-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},DeleteObjectTagging:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}?tagging",responseCode:204},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{VersionId:{location:"header",locationName:"x-amz-version-id"}}}},DeleteObjects:{http:{requestUri:"/{Bucket}?delete"},input:{type:"structure",required:["Bucket","Delete"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delete:{locationName:"Delete",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Objects"],members:{Objects:{locationName:"Object",type:"list",member:{type:"structure",required:["Key"],members:{Key:{},VersionId:{}}},flattened:!0},Quiet:{type:"boolean"}}},MFA:{location:"header",locationName:"x-amz-mfa"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},BypassGovernanceRetention:{location:"header",locationName:"x-amz-bypass-governance-retention",type:"boolean"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Delete"},output:{type:"structure",members:{Deleted:{type:"list",member:{type:"structure",members:{Key:{},VersionId:{},DeleteMarker:{type:"boolean"},DeleteMarkerVersionId:{}}},flattened:!0},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},Errors:{locationName:"Error",type:"list",member:{type:"structure",members:{Key:{},VersionId:{},Code:{},Message:{}}},flattened:!0}}},alias:"DeleteMultipleObjects",httpChecksumRequired:!0},DeletePublicAccessBlock:{http:{method:"DELETE",requestUri:"/{Bucket}?publicAccessBlock",responseCode:204},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},GetBucketAccelerateConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?accelerate"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header", +locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Status:{}}}},GetBucketAcl:{http:{method:"GET",requestUri:"/{Bucket}?acl"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Owner:{shape:"S38"},Grants:{shape:"S3b",locationName:"AccessControlList"}}}},GetBucketAnalyticsConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?analytics"},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{AnalyticsConfiguration:{shape:"S3k"}},payload:"AnalyticsConfiguration"}},GetBucketCors:{http:{method:"GET",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{CORSRules:{shape:"S3z",locationName:"CORSRule"}}}},GetBucketEncryption:{http:{method:"GET",requestUri:"/{Bucket}?encryption"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{ServerSideEncryptionConfiguration:{shape:"S4c"}},payload:"ServerSideEncryptionConfiguration"}},GetBucketIntelligentTieringConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?intelligent-tiering"},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"}}},output:{type:"structure",members:{IntelligentTieringConfiguration:{shape:"S4i"}},payload:"IntelligentTieringConfiguration"}},GetBucketInventoryConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?inventory"},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{InventoryConfiguration:{shape:"S4s"}},payload:"InventoryConfiguration"}},GetBucketLifecycle:{http:{method:"GET",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Rules:{shape:"S58",locationName:"Rule"}}},deprecated:!0},GetBucketLifecycleConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Rules:{shape:"S5o",locationName:"Rule"}}}},GetBucketLocation:{http:{method:"GET",requestUri:"/{Bucket}?location"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{LocationConstraint:{}}}},GetBucketLogging:{http:{method:"GET",requestUri:"/{Bucket}?logging"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{LoggingEnabled:{shape:"S60"}}}},GetBucketMetricsConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?metrics"},input:{type:"structure",required:["Bucket","Id"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{MetricsConfiguration:{shape:"S68"}},payload:"MetricsConfiguration"}},GetBucketNotification:{http:{method:"GET",requestUri:"/{Bucket}?notification"},input:{shape:"S6c"},output:{shape:"S6d"},deprecated:!0},GetBucketNotificationConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?notification"},input:{shape:"S6c"},output:{shape:"S6o"}},GetBucketOwnershipControls:{http:{method:"GET",requestUri:"/{Bucket}?ownershipControls"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{OwnershipControls:{shape:"S75"}},payload:"OwnershipControls"}},GetBucketPolicy:{http:{method:"GET",requestUri:"/{Bucket}?policy"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Policy:{}},payload:"Policy"}},GetBucketPolicyStatus:{http:{method:"GET",requestUri:"/{Bucket}?policyStatus"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{PolicyStatus:{type:"structure",members:{IsPublic:{locationName:"IsPublic",type:"boolean"}}}},payload:"PolicyStatus"}},GetBucketReplication:{http:{method:"GET",requestUri:"/{Bucket}?replication"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{ReplicationConfiguration:{shape:"S7h"}},payload:"ReplicationConfiguration"}},GetBucketRequestPayment:{http:{method:"GET",requestUri:"/{Bucket}?requestPayment"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Payer:{}}}},GetBucketTagging:{http:{method:"GET",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",required:["TagSet"],members:{TagSet:{shape:"S3q"}}}},GetBucketVersioning:{http:{method:"GET",requestUri:"/{Bucket}?versioning"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Status:{},MFADelete:{locationName:"MfaDelete"}}}},GetBucketWebsite:{http:{method:"GET",requestUri:"/{Bucket}?website"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{RedirectAllRequestsTo:{shape:"S8k"},IndexDocument:{shape:"S8n"},ErrorDocument:{shape:"S8p"},RoutingRules:{shape:"S8q"}}}},GetObject:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},IfMatch:{location:"header",locationName:"If-Match"},IfModifiedSince:{location:"header",locationName:"If-Modified-Since",type:"timestamp"},IfNoneMatch:{location:"header",locationName:"If-None-Match"},IfUnmodifiedSince:{location:"header",locationName:"If-Unmodified-Since",type:"timestamp"},Key:{location:"uri",locationName:"Key"},Range:{location:"header",locationName:"Range"},ResponseCacheControl:{location:"querystring",locationName:"response-cache-control"},ResponseContentDisposition:{location:"querystring",locationName:"response-content-disposition"},ResponseContentEncoding:{location:"querystring",locationName:"response-content-encoding"},ResponseContentLanguage:{location:"querystring",locationName:"response-content-language"},ResponseContentType:{location:"querystring",locationName:"response-content-type"},ResponseExpires:{location:"querystring",locationName:"response-expires",type:"timestamp",timestampFormat:"rfc822"},VersionId:{location:"querystring",locationName:"versionId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Body:{streaming:!0,type:"blob"},DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},AcceptRanges:{location:"header",locationName:"accept-ranges"},Expiration:{location:"header",locationName:"x-amz-expiration"},Restore:{location:"header",locationName:"x-amz-restore"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ETag:{location:"header",locationName:"ETag"},MissingMeta:{location:"header",locationName:"x-amz-missing-meta",type:"integer"},VersionId:{location:"header",locationName:"x-amz-version-id"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentRange:{location:"header",locationName:"Content-Range"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},ReplicationStatus:{location:"header",locationName:"x-amz-replication-status"},PartsCount:{location:"header",locationName:"x-amz-mp-parts-count",type:"integer"},TagCount:{location:"header",locationName:"x-amz-tagging-count",type:"integer"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"}},payload:"Body"}},GetObjectAcl:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?acl"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Owner:{shape:"S38"},Grants:{shape:"S3b",locationName:"AccessControlList"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},GetObjectLegalHold:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?legal-hold"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{LegalHold:{shape:"S9p"}},payload:"LegalHold"}},GetObjectLockConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?object-lock"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{ObjectLockConfiguration:{shape:"S9s"}},payload:"ObjectLockConfiguration"}},GetObjectRetention:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?retention"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Retention:{shape:"Sa0"}},payload:"Retention"}},GetObjectTagging:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?tagging"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",required:["TagSet"],members:{VersionId:{location:"header",locationName:"x-amz-version-id"},TagSet:{shape:"S3q"}}}},GetObjectTorrent:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?torrent"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Body:{streaming:!0,type:"blob"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"Body"}},GetPublicAccessBlock:{http:{method:"GET",requestUri:"/{Bucket}?publicAccessBlock"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{PublicAccessBlockConfiguration:{shape:"Sa7"}},payload:"PublicAccessBlockConfiguration"}},HeadBucket:{http:{method:"HEAD",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}}},HeadObject:{http:{method:"HEAD",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},IfMatch:{location:"header",locationName:"If-Match"},IfModifiedSince:{location:"header",locationName:"If-Modified-Since",type:"timestamp"},IfNoneMatch:{location:"header",locationName:"If-None-Match"},IfUnmodifiedSince:{location:"header",locationName:"If-Unmodified-Since",type:"timestamp"},Key:{location:"uri",locationName:"Key"},Range:{location:"header",locationName:"Range"},VersionId:{location:"querystring",locationName:"versionId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},AcceptRanges:{location:"header",locationName:"accept-ranges"},Expiration:{location:"header",locationName:"x-amz-expiration"},Restore:{location:"header",locationName:"x-amz-restore"},ArchiveStatus:{location:"header",locationName:"x-amz-archive-status"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ETag:{location:"header",locationName:"ETag"},MissingMeta:{location:"header",locationName:"x-amz-missing-meta",type:"integer"},VersionId:{location:"header",locationName:"x-amz-version-id"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},ReplicationStatus:{location:"header",locationName:"x-amz-replication-status"},PartsCount:{location:"header",locationName:"x-amz-mp-parts-count",type:"integer"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"}}}},ListBucketAnalyticsConfigurations:{http:{method:"GET",requestUri:"/{Bucket}?analytics"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},ContinuationToken:{},NextContinuationToken:{},AnalyticsConfigurationList:{locationName:"AnalyticsConfiguration",type:"list",member:{shape:"S3k"},flattened:!0}}}},ListBucketIntelligentTieringConfigurations:{http:{method:"GET",requestUri:"/{Bucket}?intelligent-tiering"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContinuationToken:{location:"querystring",locationName:"continuation-token"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},ContinuationToken:{},NextContinuationToken:{},IntelligentTieringConfigurationList:{locationName:"IntelligentTieringConfiguration",type:"list",member:{shape:"S4i"},flattened:!0}}}},ListBucketInventoryConfigurations:{http:{method:"GET",requestUri:"/{Bucket}?inventory"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{ContinuationToken:{},InventoryConfigurationList:{locationName:"InventoryConfiguration",type:"list",member:{shape:"S4s"},flattened:!0},IsTruncated:{type:"boolean"},NextContinuationToken:{}}}},ListBucketMetricsConfigurations:{http:{method:"GET",requestUri:"/{Bucket}?metrics"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},ContinuationToken:{},NextContinuationToken:{},MetricsConfigurationList:{locationName:"MetricsConfiguration",type:"list",member:{shape:"S68"},flattened:!0}}}},ListBuckets:{http:{method:"GET"},output:{type:"structure",members:{Buckets:{type:"list",member:{locationName:"Bucket",type:"structure",members:{Name:{},CreationDate:{type:"timestamp"}}}},Owner:{shape:"S38"}}},alias:"GetService"},ListMultipartUploads:{http:{method:"GET",requestUri:"/{Bucket}?uploads"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},KeyMarker:{location:"querystring",locationName:"key-marker"},MaxUploads:{location:"querystring",locationName:"max-uploads",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},UploadIdMarker:{location:"querystring",locationName:"upload-id-marker"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Bucket:{},KeyMarker:{},UploadIdMarker:{},NextKeyMarker:{},Prefix:{},Delimiter:{},NextUploadIdMarker:{},MaxUploads:{type:"integer"},IsTruncated:{type:"boolean"},Uploads:{locationName:"Upload",type:"list",member:{type:"structure",members:{UploadId:{},Key:{},Initiated:{type:"timestamp"},StorageClass:{},Owner:{shape:"S38"},Initiator:{shape:"Sb8"}}},flattened:!0},CommonPrefixes:{shape:"Sb9"},EncodingType:{}}}},ListObjectVersions:{http:{method:"GET",requestUri:"/{Bucket}?versions"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},KeyMarker:{location:"querystring",locationName:"key-marker"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},VersionIdMarker:{location:"querystring",locationName:"version-id-marker"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},KeyMarker:{},VersionIdMarker:{},NextKeyMarker:{},NextVersionIdMarker:{},Versions:{locationName:"Version",type:"list",member:{type:"structure",members:{ETag:{},Size:{type:"integer"},StorageClass:{},Key:{},VersionId:{},IsLatest:{type:"boolean"},LastModified:{type:"timestamp"},Owner:{shape:"S38"}}},flattened:!0},DeleteMarkers:{locationName:"DeleteMarker",type:"list",member:{type:"structure",members:{Owner:{shape:"S38"},Key:{},VersionId:{},IsLatest:{type:"boolean"},LastModified:{type:"timestamp"}}},flattened:!0},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"Sb9"},EncodingType:{}}},alias:"GetBucketObjectVersions"},ListObjects:{http:{method:"GET",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},Marker:{location:"querystring",locationName:"marker"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},Marker:{},NextMarker:{},Contents:{shape:"Sbr"},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"Sb9"},EncodingType:{}}},alias:"GetBucket"},ListObjectsV2:{http:{method:"GET",requestUri:"/{Bucket}?list-type=2"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},FetchOwner:{location:"querystring",locationName:"fetch-owner",type:"boolean"},StartAfter:{location:"querystring",locationName:"start-after"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},Contents:{shape:"Sbr"},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"Sb9"},EncodingType:{},KeyCount:{type:"integer"},ContinuationToken:{},NextContinuationToken:{},StartAfter:{}}}},ListParts:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MaxParts:{location:"querystring",locationName:"max-parts",type:"integer"},PartNumberMarker:{location:"querystring",locationName:"part-number-marker",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{AbortDate:{location:"header",locationName:"x-amz-abort-date",type:"timestamp"},AbortRuleId:{location:"header",locationName:"x-amz-abort-rule-id"},Bucket:{},Key:{},UploadId:{},PartNumberMarker:{type:"integer"},NextPartNumberMarker:{type:"integer"},MaxParts:{type:"integer"},IsTruncated:{type:"boolean"},Parts:{locationName:"Part",type:"list",member:{type:"structure",members:{PartNumber:{type:"integer"},LastModified:{type:"timestamp"},ETag:{},Size:{type:"integer"}}},flattened:!0},Initiator:{shape:"Sb8"},Owner:{shape:"S38"},StorageClass:{},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},PutBucketAccelerateConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?accelerate"},input:{type:"structure",required:["Bucket","AccelerateConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},AccelerateConfiguration:{locationName:"AccelerateConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Status:{}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"AccelerateConfiguration"}},PutBucketAcl:{http:{method:"PUT",requestUri:"/{Bucket}?acl"},input:{type:"structure",required:["Bucket"],members:{ACL:{location:"header",locationName:"x-amz-acl"},AccessControlPolicy:{shape:"Sc9",locationName:"AccessControlPolicy",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"AccessControlPolicy"},httpChecksumRequired:!0},PutBucketAnalyticsConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?analytics"},input:{type:"structure",required:["Bucket","Id","AnalyticsConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},AnalyticsConfiguration:{shape:"S3k",locationName:"AnalyticsConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"AnalyticsConfiguration"}},PutBucketCors:{http:{method:"PUT",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket","CORSConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},CORSConfiguration:{locationName:"CORSConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["CORSRules"],members:{CORSRules:{shape:"S3z",locationName:"CORSRule"}}},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"CORSConfiguration"},httpChecksumRequired:!0},PutBucketEncryption:{http:{method:"PUT",requestUri:"/{Bucket}?encryption"},input:{type:"structure",required:["Bucket","ServerSideEncryptionConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ServerSideEncryptionConfiguration:{shape:"S4c",locationName:"ServerSideEncryptionConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"ServerSideEncryptionConfiguration"},httpChecksumRequired:!0},PutBucketIntelligentTieringConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?intelligent-tiering"},input:{type:"structure",required:["Bucket","Id","IntelligentTieringConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},IntelligentTieringConfiguration:{shape:"S4i",locationName:"IntelligentTieringConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"IntelligentTieringConfiguration"}},PutBucketInventoryConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?inventory"},input:{type:"structure",required:["Bucket","Id","InventoryConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},InventoryConfiguration:{shape:"S4s",locationName:"InventoryConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"InventoryConfiguration"}},PutBucketLifecycle:{http:{method:"PUT",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},LifecycleConfiguration:{locationName:"LifecycleConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Rules"],members:{Rules:{shape:"S58",locationName:"Rule"}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"LifecycleConfiguration"},deprecated:!0,httpChecksumRequired:!0},PutBucketLifecycleConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},LifecycleConfiguration:{locationName:"LifecycleConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Rules"],members:{Rules:{shape:"S5o",locationName:"Rule"}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"LifecycleConfiguration"},httpChecksumRequired:!0}, +PutBucketLogging:{http:{method:"PUT",requestUri:"/{Bucket}?logging"},input:{type:"structure",required:["Bucket","BucketLoggingStatus"],members:{Bucket:{location:"uri",locationName:"Bucket"},BucketLoggingStatus:{locationName:"BucketLoggingStatus",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{LoggingEnabled:{shape:"S60"}}},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"BucketLoggingStatus"},httpChecksumRequired:!0},PutBucketMetricsConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?metrics"},input:{type:"structure",required:["Bucket","Id","MetricsConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},Id:{location:"querystring",locationName:"id"},MetricsConfiguration:{shape:"S68",locationName:"MetricsConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"MetricsConfiguration"}},PutBucketNotification:{http:{method:"PUT",requestUri:"/{Bucket}?notification"},input:{type:"structure",required:["Bucket","NotificationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},NotificationConfiguration:{shape:"S6d",locationName:"NotificationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"NotificationConfiguration"},deprecated:!0,httpChecksumRequired:!0},PutBucketNotificationConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?notification"},input:{type:"structure",required:["Bucket","NotificationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},NotificationConfiguration:{shape:"S6o",locationName:"NotificationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},SkipDestinationValidation:{location:"header",locationName:"x-amz-skip-destination-validation",type:"boolean"}},payload:"NotificationConfiguration"}},PutBucketOwnershipControls:{http:{method:"PUT",requestUri:"/{Bucket}?ownershipControls"},input:{type:"structure",required:["Bucket","OwnershipControls"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},OwnershipControls:{shape:"S75",locationName:"OwnershipControls",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"OwnershipControls"},httpChecksumRequired:!0},PutBucketPolicy:{http:{method:"PUT",requestUri:"/{Bucket}?policy"},input:{type:"structure",required:["Bucket","Policy"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ConfirmRemoveSelfBucketAccess:{location:"header",locationName:"x-amz-confirm-remove-self-bucket-access",type:"boolean"},Policy:{},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Policy"},httpChecksumRequired:!0},PutBucketReplication:{http:{method:"PUT",requestUri:"/{Bucket}?replication"},input:{type:"structure",required:["Bucket","ReplicationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ReplicationConfiguration:{shape:"S7h",locationName:"ReplicationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Token:{location:"header",locationName:"x-amz-bucket-object-lock-token"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"ReplicationConfiguration"},httpChecksumRequired:!0},PutBucketRequestPayment:{http:{method:"PUT",requestUri:"/{Bucket}?requestPayment"},input:{type:"structure",required:["Bucket","RequestPaymentConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},RequestPaymentConfiguration:{locationName:"RequestPaymentConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Payer"],members:{Payer:{}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"RequestPaymentConfiguration"},httpChecksumRequired:!0},PutBucketTagging:{http:{method:"PUT",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket","Tagging"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},Tagging:{shape:"Scz",locationName:"Tagging",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Tagging"},httpChecksumRequired:!0},PutBucketVersioning:{http:{method:"PUT",requestUri:"/{Bucket}?versioning"},input:{type:"structure",required:["Bucket","VersioningConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},MFA:{location:"header",locationName:"x-amz-mfa"},VersioningConfiguration:{locationName:"VersioningConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{MFADelete:{locationName:"MfaDelete"},Status:{}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"VersioningConfiguration"},httpChecksumRequired:!0},PutBucketWebsite:{http:{method:"PUT",requestUri:"/{Bucket}?website"},input:{type:"structure",required:["Bucket","WebsiteConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},WebsiteConfiguration:{locationName:"WebsiteConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{ErrorDocument:{shape:"S8p"},IndexDocument:{shape:"S8n"},RedirectAllRequestsTo:{shape:"S8k"},RoutingRules:{shape:"S8q"}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"WebsiteConfiguration"},httpChecksumRequired:!0},PutObject:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Body:{streaming:!0,type:"blob"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentMD5:{location:"header",locationName:"Content-MD5"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},Tagging:{location:"header",locationName:"x-amz-tagging"},ObjectLockMode:{location:"header",locationName:"x-amz-object-lock-mode"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-object-lock-retain-until-date"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-object-lock-legal-hold"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Body"},output:{type:"structure",members:{Expiration:{location:"header",locationName:"x-amz-expiration"},ETag:{location:"header",locationName:"ETag"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},VersionId:{location:"header",locationName:"x-amz-version-id"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},SSEKMSEncryptionContext:{shape:"S1d",location:"header",locationName:"x-amz-server-side-encryption-context"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},PutObjectAcl:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?acl"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},AccessControlPolicy:{shape:"Sc9",locationName:"AccessControlPolicy",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},VersionId:{location:"querystring",locationName:"versionId"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"AccessControlPolicy"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},httpChecksumRequired:!0},PutObjectLegalHold:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?legal-hold"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},LegalHold:{shape:"S9p",locationName:"LegalHold",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},VersionId:{location:"querystring",locationName:"versionId"},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"LegalHold"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},httpChecksumRequired:!0},PutObjectLockConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?object-lock"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ObjectLockConfiguration:{shape:"S9s",locationName:"ObjectLockConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},Token:{location:"header",locationName:"x-amz-bucket-object-lock-token"},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"ObjectLockConfiguration"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},httpChecksumRequired:!0},PutObjectRetention:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?retention"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},Retention:{shape:"Sa0",locationName:"Retention",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},VersionId:{location:"querystring",locationName:"versionId"},BypassGovernanceRetention:{location:"header",locationName:"x-amz-bypass-governance-retention",type:"boolean"},ContentMD5:{location:"header",locationName:"Content-MD5"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Retention"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},httpChecksumRequired:!0},PutObjectTagging:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?tagging"},input:{type:"structure",required:["Bucket","Key","Tagging"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},ContentMD5:{location:"header",locationName:"Content-MD5"},Tagging:{shape:"Scz",locationName:"Tagging",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"Tagging"},output:{type:"structure",members:{VersionId:{location:"header",locationName:"x-amz-version-id"}}},httpChecksumRequired:!0},PutPublicAccessBlock:{http:{method:"PUT",requestUri:"/{Bucket}?publicAccessBlock"},input:{type:"structure",required:["Bucket","PublicAccessBlockConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},PublicAccessBlockConfiguration:{shape:"Sa7",locationName:"PublicAccessBlockConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"PublicAccessBlockConfiguration"},httpChecksumRequired:!0},RestoreObject:{http:{requestUri:"/{Bucket}/{Key+}?restore"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RestoreRequest:{locationName:"RestoreRequest",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Days:{type:"integer"},GlacierJobParameters:{type:"structure",required:["Tier"],members:{Tier:{}}},Type:{},Tier:{},Description:{},SelectParameters:{type:"structure",required:["InputSerialization","ExpressionType","Expression","OutputSerialization"],members:{InputSerialization:{shape:"Sdp"},ExpressionType:{},Expression:{},OutputSerialization:{shape:"Se4"}}},OutputLocation:{type:"structure",members:{S3:{type:"structure",required:["BucketName","Prefix"],members:{BucketName:{},Prefix:{},Encryption:{type:"structure",required:["EncryptionType"],members:{EncryptionType:{},KMSKeyId:{shape:"Sk"},KMSContext:{}}},CannedACL:{},AccessControlList:{shape:"S3b"},Tagging:{shape:"Scz"},UserMetadata:{type:"list",member:{locationName:"MetadataEntry",type:"structure",members:{Name:{},Value:{}}}},StorageClass:{}}}}}}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"RestoreRequest"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"},RestoreOutputPath:{location:"header",locationName:"x-amz-restore-output-path"}}},alias:"PostObjectRestore"},SelectObjectContent:{http:{requestUri:"/{Bucket}/{Key+}?select&select-type=2"},input:{locationName:"SelectObjectContentRequest",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Bucket","Key","Expression","ExpressionType","InputSerialization","OutputSerialization"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},Expression:{},ExpressionType:{},RequestProgress:{type:"structure",members:{Enabled:{type:"boolean"}}},InputSerialization:{shape:"Sdp"},OutputSerialization:{shape:"Se4"},ScanRange:{type:"structure",members:{Start:{type:"long"},End:{type:"long"}}},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},output:{type:"structure",members:{Payload:{type:"structure",members:{Records:{type:"structure",members:{Payload:{eventpayload:!0,type:"blob"}},event:!0},Stats:{type:"structure",members:{Details:{eventpayload:!0,type:"structure",members:{BytesScanned:{type:"long"},BytesProcessed:{type:"long"},BytesReturned:{type:"long"}}}},event:!0},Progress:{type:"structure",members:{Details:{eventpayload:!0,type:"structure",members:{BytesScanned:{type:"long"},BytesProcessed:{type:"long"},BytesReturned:{type:"long"}}}},event:!0},Cont:{type:"structure",members:{},event:!0},End:{type:"structure",members:{},event:!0}},eventstream:!0}},payload:"Payload"}},UploadPart:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","PartNumber","UploadId"],members:{Body:{streaming:!0,type:"blob"},Bucket:{location:"uri",locationName:"Bucket"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentMD5:{location:"header",locationName:"Content-MD5"},Key:{location:"uri",locationName:"Key"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}},payload:"Body"},output:{type:"structure",members:{ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},ETag:{location:"header",locationName:"ETag"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},UploadPartCopy:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","CopySource","Key","PartNumber","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},CopySource:{location:"header",locationName:"x-amz-copy-source"},CopySourceIfMatch:{location:"header",locationName:"x-amz-copy-source-if-match"},CopySourceIfModifiedSince:{location:"header",locationName:"x-amz-copy-source-if-modified-since",type:"timestamp"},CopySourceIfNoneMatch:{location:"header",locationName:"x-amz-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{location:"header",locationName:"x-amz-copy-source-if-unmodified-since",type:"timestamp"},CopySourceRange:{location:"header",locationName:"x-amz-copy-source-range"},Key:{location:"uri",locationName:"Key"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},CopySourceSSECustomerAlgorithm:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm"},CopySourceSSECustomerKey:{shape:"S1f",location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key"},CopySourceSSECustomerKeyMD5:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"},ExpectedSourceBucketOwner:{location:"header",locationName:"x-amz-source-expected-bucket-owner"}}},output:{type:"structure",members:{CopySourceVersionId:{location:"header",locationName:"x-amz-copy-source-version-id"},CopyPartResult:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"}}},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"CopyPartResult"}},WriteGetObjectResponse:{http:{requestUri:"/WriteGetObjectResponse"},input:{type:"structure",required:["RequestRoute","RequestToken"],members:{RequestRoute:{hostLabel:!0,location:"header",locationName:"x-amz-request-route"},RequestToken:{location:"header",locationName:"x-amz-request-token"},Body:{streaming:!0,type:"blob"},StatusCode:{location:"header",locationName:"x-amz-fwd-status",type:"integer"},ErrorCode:{location:"header",locationName:"x-amz-fwd-error-code"},ErrorMessage:{location:"header",locationName:"x-amz-fwd-error-message"},AcceptRanges:{location:"header",locationName:"x-amz-fwd-header-accept-ranges"},CacheControl:{location:"header",locationName:"x-amz-fwd-header-Cache-Control"},ContentDisposition:{location:"header",locationName:"x-amz-fwd-header-Content-Disposition"},ContentEncoding:{location:"header",locationName:"x-amz-fwd-header-Content-Encoding"},ContentLanguage:{location:"header",locationName:"x-amz-fwd-header-Content-Language"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentRange:{location:"header",locationName:"x-amz-fwd-header-Content-Range"},ContentType:{location:"header",locationName:"x-amz-fwd-header-Content-Type"},DeleteMarker:{location:"header",locationName:"x-amz-fwd-header-x-amz-delete-marker",type:"boolean"},ETag:{location:"header",locationName:"x-amz-fwd-header-ETag"},Expires:{location:"header",locationName:"x-amz-fwd-header-Expires",type:"timestamp"},Expiration:{location:"header",locationName:"x-amz-fwd-header-x-amz-expiration"},LastModified:{location:"header",locationName:"x-amz-fwd-header-Last-Modified",type:"timestamp"},MissingMeta:{location:"header",locationName:"x-amz-fwd-header-x-amz-missing-meta",type:"integer"},Metadata:{shape:"S13",location:"headers",locationName:"x-amz-meta-"},ObjectLockMode:{location:"header",locationName:"x-amz-fwd-header-x-amz-object-lock-mode"},ObjectLockLegalHoldStatus:{location:"header",locationName:"x-amz-fwd-header-x-amz-object-lock-legal-hold"},ObjectLockRetainUntilDate:{shape:"S1j",location:"header",locationName:"x-amz-fwd-header-x-amz-object-lock-retain-until-date"},PartsCount:{location:"header",locationName:"x-amz-fwd-header-x-amz-mp-parts-count",type:"integer"},ReplicationStatus:{location:"header",locationName:"x-amz-fwd-header-x-amz-replication-status"},RequestCharged:{location:"header",locationName:"x-amz-fwd-header-x-amz-request-charged"},Restore:{location:"header",locationName:"x-amz-fwd-header-x-amz-restore"},ServerSideEncryption:{location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm"},SSEKMSKeyId:{shape:"Sk",location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5"},StorageClass:{location:"header",locationName:"x-amz-fwd-header-x-amz-storage-class"},TagCount:{location:"header",locationName:"x-amz-fwd-header-x-amz-tagging-count",type:"integer"},VersionId:{location:"header",locationName:"x-amz-fwd-header-x-amz-version-id"},BucketKeyEnabled:{location:"header",locationName:"x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled",type:"boolean"}},payload:"Body"},authtype:"v4-unsigned-body",endpoint:{hostPrefix:"{RequestRoute}."}}},shapes:{Sk:{type:"string",sensitive:!0},S13:{type:"map",key:{},value:{}},S1b:{type:"blob",sensitive:!0},S1d:{type:"string",sensitive:!0},S1f:{type:"blob",sensitive:!0},S1j:{type:"timestamp",timestampFormat:"iso8601"},S38:{type:"structure",members:{DisplayName:{},ID:{}}},S3b:{type:"list",member:{locationName:"Grant",type:"structure",members:{Grantee:{shape:"S3d"},Permission:{}}}},S3d:{type:"structure",required:["Type"],members:{DisplayName:{},EmailAddress:{},ID:{},Type:{locationName:"xsi:type",xmlAttribute:!0},URI:{}},xmlNamespace:{prefix:"xsi",uri:"http://www.w3.org/2001/XMLSchema-instance"}},S3k:{type:"structure",required:["Id","StorageClassAnalysis"],members:{Id:{},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"}}}}},StorageClassAnalysis:{type:"structure",members:{DataExport:{type:"structure",required:["OutputSchemaVersion","Destination"],members:{OutputSchemaVersion:{},Destination:{type:"structure",required:["S3BucketDestination"],members:{S3BucketDestination:{type:"structure",required:["Format","Bucket"],members:{Format:{},BucketAccountId:{},Bucket:{},Prefix:{}}}}}}}}}}},S3n:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}},S3q:{type:"list",member:{shape:"S3n",locationName:"Tag"}},S3z:{type:"list",member:{type:"structure",required:["AllowedMethods","AllowedOrigins"],members:{ID:{},AllowedHeaders:{locationName:"AllowedHeader",type:"list",member:{},flattened:!0},AllowedMethods:{locationName:"AllowedMethod",type:"list",member:{},flattened:!0},AllowedOrigins:{locationName:"AllowedOrigin",type:"list",member:{},flattened:!0},ExposeHeaders:{locationName:"ExposeHeader",type:"list",member:{},flattened:!0},MaxAgeSeconds:{type:"integer"}}},flattened:!0},S4c:{type:"structure",required:["Rules"],members:{Rules:{locationName:"Rule",type:"list",member:{type:"structure",members:{ApplyServerSideEncryptionByDefault:{type:"structure",required:["SSEAlgorithm"],members:{SSEAlgorithm:{},KMSMasterKeyID:{shape:"Sk"}}},BucketKeyEnabled:{type:"boolean"}}},flattened:!0}}},S4i:{type:"structure",required:["Id","Status","Tierings"],members:{Id:{},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"}}}}},Status:{},Tierings:{locationName:"Tiering",type:"list",member:{type:"structure",required:["Days","AccessTier"],members:{Days:{type:"integer"},AccessTier:{}}},flattened:!0}}},S4s:{type:"structure",required:["Destination","IsEnabled","Id","IncludedObjectVersions","Schedule"],members:{Destination:{type:"structure",required:["S3BucketDestination"],members:{S3BucketDestination:{type:"structure",required:["Bucket","Format"],members:{AccountId:{},Bucket:{},Format:{},Prefix:{},Encryption:{type:"structure",members:{SSES3:{locationName:"SSE-S3",type:"structure",members:{}},SSEKMS:{locationName:"SSE-KMS",type:"structure",required:["KeyId"],members:{KeyId:{shape:"Sk"}}}}}}}}},IsEnabled:{type:"boolean"},Filter:{type:"structure",required:["Prefix"],members:{Prefix:{}}},Id:{},IncludedObjectVersions:{},OptionalFields:{type:"list",member:{locationName:"Field"}},Schedule:{type:"structure",required:["Frequency"],members:{Frequency:{}}}}},S58:{type:"list",member:{type:"structure",required:["Prefix","Status"],members:{Expiration:{shape:"S5a"},ID:{},Prefix:{},Status:{},Transition:{shape:"S5f"},NoncurrentVersionTransition:{shape:"S5h"},NoncurrentVersionExpiration:{shape:"S5j"},AbortIncompleteMultipartUpload:{shape:"S5k"}}},flattened:!0},S5a:{type:"structure",members:{Date:{shape:"S5b"},Days:{type:"integer"},ExpiredObjectDeleteMarker:{type:"boolean"}}},S5b:{type:"timestamp",timestampFormat:"iso8601"},S5f:{type:"structure",members:{Date:{shape:"S5b"},Days:{type:"integer"},StorageClass:{}}},S5h:{type:"structure",members:{NoncurrentDays:{type:"integer"},StorageClass:{},NewerNoncurrentVersions:{type:"integer"}}},S5j:{type:"structure",members:{NoncurrentDays:{type:"integer"},NewerNoncurrentVersions:{type:"integer"}}},S5k:{type:"structure",members:{DaysAfterInitiation:{type:"integer"}}},S5o:{type:"list",member:{type:"structure",required:["Status"],members:{Expiration:{shape:"S5a"},ID:{},Prefix:{deprecated:!0},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},ObjectSizeGreaterThan:{type:"long"},ObjectSizeLessThan:{type:"long"},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"},ObjectSizeGreaterThan:{type:"long"},ObjectSizeLessThan:{type:"long"}}}}},Status:{},Transitions:{locationName:"Transition",type:"list",member:{shape:"S5f"},flattened:!0},NoncurrentVersionTransitions:{locationName:"NoncurrentVersionTransition",type:"list",member:{shape:"S5h"},flattened:!0},NoncurrentVersionExpiration:{shape:"S5j"},AbortIncompleteMultipartUpload:{shape:"S5k"}}},flattened:!0},S60:{type:"structure",required:["TargetBucket","TargetPrefix"],members:{TargetBucket:{},TargetGrants:{type:"list",member:{locationName:"Grant",type:"structure",members:{Grantee:{shape:"S3d"},Permission:{}}}},TargetPrefix:{}}},S68:{type:"structure",required:["Id"],members:{Id:{},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},AccessPointArn:{},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"},AccessPointArn:{}}}}}}},S6c:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ExpectedBucketOwner:{location:"header",locationName:"x-amz-expected-bucket-owner"}}},S6d:{type:"structure",members:{TopicConfiguration:{type:"structure",members:{Id:{},Events:{shape:"S6g",locationName:"Event"},Event:{deprecated:!0},Topic:{}}},QueueConfiguration:{type:"structure",members:{Id:{},Event:{deprecated:!0},Events:{shape:"S6g",locationName:"Event"},Queue:{}}},CloudFunctionConfiguration:{type:"structure",members:{Id:{},Event:{deprecated:!0},Events:{shape:"S6g",locationName:"Event"},CloudFunction:{},InvocationRole:{}}}}},S6g:{type:"list",member:{},flattened:!0},S6o:{type:"structure",members:{TopicConfigurations:{locationName:"TopicConfiguration",type:"list",member:{type:"structure",required:["TopicArn","Events"],members:{Id:{},TopicArn:{locationName:"Topic"},Events:{shape:"S6g",locationName:"Event"},Filter:{shape:"S6r"}}},flattened:!0},QueueConfigurations:{locationName:"QueueConfiguration",type:"list",member:{type:"structure",required:["QueueArn","Events"],members:{ +Id:{},QueueArn:{locationName:"Queue"},Events:{shape:"S6g",locationName:"Event"},Filter:{shape:"S6r"}}},flattened:!0},LambdaFunctionConfigurations:{locationName:"CloudFunctionConfiguration",type:"list",member:{type:"structure",required:["LambdaFunctionArn","Events"],members:{Id:{},LambdaFunctionArn:{locationName:"CloudFunction"},Events:{shape:"S6g",locationName:"Event"},Filter:{shape:"S6r"}}},flattened:!0},EventBridgeConfiguration:{type:"structure",members:{}}}},S6r:{type:"structure",members:{Key:{locationName:"S3Key",type:"structure",members:{FilterRules:{locationName:"FilterRule",type:"list",member:{type:"structure",members:{Name:{},Value:{}}},flattened:!0}}}}},S75:{type:"structure",required:["Rules"],members:{Rules:{locationName:"Rule",type:"list",member:{type:"structure",required:["ObjectOwnership"],members:{ObjectOwnership:{}}},flattened:!0}}},S7h:{type:"structure",required:["Role","Rules"],members:{Role:{},Rules:{locationName:"Rule",type:"list",member:{type:"structure",required:["Status","Destination"],members:{ID:{},Priority:{type:"integer"},Prefix:{deprecated:!0},Filter:{type:"structure",members:{Prefix:{},Tag:{shape:"S3n"},And:{type:"structure",members:{Prefix:{},Tags:{shape:"S3q",flattened:!0,locationName:"Tag"}}}}},Status:{},SourceSelectionCriteria:{type:"structure",members:{SseKmsEncryptedObjects:{type:"structure",required:["Status"],members:{Status:{}}},ReplicaModifications:{type:"structure",required:["Status"],members:{Status:{}}}}},ExistingObjectReplication:{type:"structure",required:["Status"],members:{Status:{}}},Destination:{type:"structure",required:["Bucket"],members:{Bucket:{},Account:{},StorageClass:{},AccessControlTranslation:{type:"structure",required:["Owner"],members:{Owner:{}}},EncryptionConfiguration:{type:"structure",members:{ReplicaKmsKeyID:{}}},ReplicationTime:{type:"structure",required:["Status","Time"],members:{Status:{},Time:{shape:"S83"}}},Metrics:{type:"structure",required:["Status"],members:{Status:{},EventThreshold:{shape:"S83"}}}}},DeleteMarkerReplication:{type:"structure",members:{Status:{}}}}},flattened:!0}}},S83:{type:"structure",members:{Minutes:{type:"integer"}}},S8k:{type:"structure",required:["HostName"],members:{HostName:{},Protocol:{}}},S8n:{type:"structure",required:["Suffix"],members:{Suffix:{}}},S8p:{type:"structure",required:["Key"],members:{Key:{}}},S8q:{type:"list",member:{locationName:"RoutingRule",type:"structure",required:["Redirect"],members:{Condition:{type:"structure",members:{HttpErrorCodeReturnedEquals:{},KeyPrefixEquals:{}}},Redirect:{type:"structure",members:{HostName:{},HttpRedirectCode:{},Protocol:{},ReplaceKeyPrefixWith:{},ReplaceKeyWith:{}}}}}},S9p:{type:"structure",members:{Status:{}}},S9s:{type:"structure",members:{ObjectLockEnabled:{},Rule:{type:"structure",members:{DefaultRetention:{type:"structure",members:{Mode:{},Days:{type:"integer"},Years:{type:"integer"}}}}}}},Sa0:{type:"structure",members:{Mode:{},RetainUntilDate:{shape:"S5b"}}},Sa7:{type:"structure",members:{BlockPublicAcls:{locationName:"BlockPublicAcls",type:"boolean"},IgnorePublicAcls:{locationName:"IgnorePublicAcls",type:"boolean"},BlockPublicPolicy:{locationName:"BlockPublicPolicy",type:"boolean"},RestrictPublicBuckets:{locationName:"RestrictPublicBuckets",type:"boolean"}}},Sb8:{type:"structure",members:{ID:{},DisplayName:{}}},Sb9:{type:"list",member:{type:"structure",members:{Prefix:{}}},flattened:!0},Sbr:{type:"list",member:{type:"structure",members:{Key:{},LastModified:{type:"timestamp"},ETag:{},Size:{type:"integer"},StorageClass:{},Owner:{shape:"S38"}}},flattened:!0},Sc9:{type:"structure",members:{Grants:{shape:"S3b",locationName:"AccessControlList"},Owner:{shape:"S38"}}},Scz:{type:"structure",required:["TagSet"],members:{TagSet:{shape:"S3q"}}},Sdp:{type:"structure",members:{CSV:{type:"structure",members:{FileHeaderInfo:{},Comments:{},QuoteEscapeCharacter:{},RecordDelimiter:{},FieldDelimiter:{},QuoteCharacter:{},AllowQuotedRecordDelimiter:{type:"boolean"}}},CompressionType:{},JSON:{type:"structure",members:{Type:{}}},Parquet:{type:"structure",members:{}}}},Se4:{type:"structure",members:{CSV:{type:"structure",members:{QuoteFields:{},QuoteEscapeCharacter:{},RecordDelimiter:{},FieldDelimiter:{},QuoteCharacter:{}}},JSON:{type:"structure",members:{RecordDelimiter:{}}}}}}}},{}],213:[function(e,t,r){t.exports={pagination:{ListBuckets:{result_key:"Buckets"},ListMultipartUploads:{input_token:["KeyMarker","UploadIdMarker"],limit_key:"MaxUploads",more_results:"IsTruncated",output_token:["NextKeyMarker","NextUploadIdMarker"],result_key:["Uploads","CommonPrefixes"]},ListObjectVersions:{input_token:["KeyMarker","VersionIdMarker"],limit_key:"MaxKeys",more_results:"IsTruncated",output_token:["NextKeyMarker","NextVersionIdMarker"],result_key:["Versions","DeleteMarkers","CommonPrefixes"]},ListObjects:{input_token:"Marker",limit_key:"MaxKeys",more_results:"IsTruncated",output_token:"NextMarker || Contents[-1].Key",result_key:["Contents","CommonPrefixes"]},ListObjectsV2:{input_token:"ContinuationToken",limit_key:"MaxKeys",output_token:"NextContinuationToken",result_key:["Contents","CommonPrefixes"]},ListParts:{input_token:"PartNumberMarker",limit_key:"MaxParts",more_results:"IsTruncated",output_token:"NextPartNumberMarker",result_key:"Parts"}}}},{}],214:[function(e,t,r){t.exports={version:2,waiters:{BucketExists:{delay:5,operation:"HeadBucket",maxAttempts:20,acceptors:[{expected:200,matcher:"status",state:"success"},{expected:301,matcher:"status",state:"success"},{expected:403,matcher:"status",state:"success"},{expected:404,matcher:"status",state:"retry"}]},BucketNotExists:{delay:5,operation:"HeadBucket",maxAttempts:20,acceptors:[{expected:404,matcher:"status",state:"success"}]},ObjectExists:{delay:5,operation:"HeadObject",maxAttempts:20,acceptors:[{expected:200,matcher:"status",state:"success"},{expected:404,matcher:"status",state:"retry"}]},ObjectNotExists:{delay:5,operation:"HeadObject",maxAttempts:20,acceptors:[{expected:404,matcher:"status",state:"success"}]}}}},{}],215:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-10-17",endpointPrefix:"secretsmanager",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Secrets Manager",serviceId:"Secrets Manager",signatureVersion:"v4",signingName:"secretsmanager",targetPrefix:"secretsmanager",uid:"secretsmanager-2017-10-17"},operations:{CancelRotateSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{}}}},CreateSecret:{input:{type:"structure",required:["Name"],members:{Name:{},ClientRequestToken:{idempotencyToken:!0},Description:{},KmsKeyId:{},SecretBinary:{shape:"Sc"},SecretString:{shape:"Sd"},Tags:{shape:"Se"},AddReplicaRegions:{shape:"Si"},ForceOverwriteReplicaSecret:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{},ReplicationStatus:{shape:"Sn"}}}},DeleteResourcePolicy:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{}}}},DeleteSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},RecoveryWindowInDays:{type:"long"},ForceDeleteWithoutRecovery:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},Name:{},DeletionDate:{type:"timestamp"}}}},DescribeSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{},Description:{},KmsKeyId:{},RotationEnabled:{type:"boolean"},RotationLambdaARN:{},RotationRules:{shape:"S12"},LastRotatedDate:{type:"timestamp"},LastChangedDate:{type:"timestamp"},LastAccessedDate:{type:"timestamp"},DeletedDate:{type:"timestamp"},Tags:{shape:"Se"},VersionIdsToStages:{shape:"S19"},OwningService:{},CreatedDate:{type:"timestamp"},PrimaryRegion:{},ReplicationStatus:{shape:"Sn"}}}},GetRandomPassword:{input:{type:"structure",members:{PasswordLength:{type:"long"},ExcludeCharacters:{},ExcludeNumbers:{type:"boolean"},ExcludePunctuation:{type:"boolean"},ExcludeUppercase:{type:"boolean"},ExcludeLowercase:{type:"boolean"},IncludeSpace:{type:"boolean"},RequireEachIncludedType:{type:"boolean"}}},output:{type:"structure",members:{RandomPassword:{type:"string",sensitive:!0}}}},GetResourcePolicy:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{},ResourcePolicy:{}}}},GetSecretValue:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},VersionId:{},VersionStage:{}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{},SecretBinary:{shape:"Sc"},SecretString:{shape:"Sd"},VersionStages:{shape:"S1a"},CreatedDate:{type:"timestamp"}}}},ListSecretVersionIds:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},MaxResults:{type:"integer"},NextToken:{},IncludeDeprecated:{type:"boolean"}}},output:{type:"structure",members:{Versions:{type:"list",member:{type:"structure",members:{VersionId:{},VersionStages:{shape:"S1a"},LastAccessedDate:{type:"timestamp"},CreatedDate:{type:"timestamp"},KmsKeyIds:{type:"list",member:{}}}}},NextToken:{},ARN:{},Name:{}}}},ListSecrets:{input:{type:"structure",members:{MaxResults:{type:"integer"},NextToken:{},Filters:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},SortOrder:{}}},output:{type:"structure",members:{SecretList:{type:"list",member:{type:"structure",members:{ARN:{},Name:{},Description:{},KmsKeyId:{},RotationEnabled:{type:"boolean"},RotationLambdaARN:{},RotationRules:{shape:"S12"},LastRotatedDate:{type:"timestamp"},LastChangedDate:{type:"timestamp"},LastAccessedDate:{type:"timestamp"},DeletedDate:{type:"timestamp"},Tags:{shape:"Se"},SecretVersionsToStages:{shape:"S19"},OwningService:{},CreatedDate:{type:"timestamp"},PrimaryRegion:{}}}},NextToken:{}}}},PutResourcePolicy:{input:{type:"structure",required:["SecretId","ResourcePolicy"],members:{SecretId:{},ResourcePolicy:{},BlockPublicPolicy:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},Name:{}}}},PutSecretValue:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},ClientRequestToken:{idempotencyToken:!0},SecretBinary:{shape:"Sc"},SecretString:{shape:"Sd"},VersionStages:{shape:"S1a"}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{},VersionStages:{shape:"S1a"}}}},RemoveRegionsFromReplication:{input:{type:"structure",required:["SecretId","RemoveReplicaRegions"],members:{SecretId:{},RemoveReplicaRegions:{type:"list",member:{}}}},output:{type:"structure",members:{ARN:{},ReplicationStatus:{shape:"Sn"}}}},ReplicateSecretToRegions:{input:{type:"structure",required:["SecretId","AddReplicaRegions"],members:{SecretId:{},AddReplicaRegions:{shape:"Si"},ForceOverwriteReplicaSecret:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},ReplicationStatus:{shape:"Sn"}}}},RestoreSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{},Name:{}}}},RotateSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},ClientRequestToken:{idempotencyToken:!0},RotationLambdaARN:{},RotationRules:{shape:"S12"},RotateImmediately:{type:"boolean"}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{}}}},StopReplicationToReplica:{input:{type:"structure",required:["SecretId"],members:{SecretId:{}}},output:{type:"structure",members:{ARN:{}}}},TagResource:{input:{type:"structure",required:["SecretId","Tags"],members:{SecretId:{},Tags:{shape:"Se"}}}},UntagResource:{input:{type:"structure",required:["SecretId","TagKeys"],members:{SecretId:{},TagKeys:{type:"list",member:{}}}}},UpdateSecret:{input:{type:"structure",required:["SecretId"],members:{SecretId:{},ClientRequestToken:{idempotencyToken:!0},Description:{},KmsKeyId:{},SecretBinary:{shape:"Sc"},SecretString:{shape:"Sd"}}},output:{type:"structure",members:{ARN:{},Name:{},VersionId:{}}}},UpdateSecretVersionStage:{input:{type:"structure",required:["SecretId","VersionStage"],members:{SecretId:{},VersionStage:{},RemoveFromVersionId:{},MoveToVersionId:{}}},output:{type:"structure",members:{ARN:{},Name:{}}}},ValidateResourcePolicy:{input:{type:"structure",required:["ResourcePolicy"],members:{SecretId:{},ResourcePolicy:{}}},output:{type:"structure",members:{PolicyValidationPassed:{type:"boolean"},ValidationErrors:{type:"list",member:{type:"structure",members:{CheckName:{},ErrorMessage:{}}}}}}}},shapes:{Sc:{type:"blob",sensitive:!0},Sd:{type:"string",sensitive:!0},Se:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},Si:{type:"list",member:{type:"structure",members:{Region:{},KmsKeyId:{}}}},Sn:{type:"list",member:{type:"structure",members:{Region:{},KmsKeyId:{},Status:{},StatusMessage:{},LastAccessedDate:{type:"timestamp"}}}},S12:{type:"structure",members:{AutomaticallyAfterDays:{type:"long"},Duration:{},ScheduleExpression:{}}},S19:{type:"map",key:{},value:{shape:"S1a"}},S1a:{type:"list",member:{}}}}},{}],216:[function(e,t,r){t.exports={pagination:{ListSecretVersionIds:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"},ListSecrets:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults"}}}},{}],217:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-12-10",endpointPrefix:"servicecatalog",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Service Catalog",serviceId:"Service Catalog",signatureVersion:"v4",targetPrefix:"AWS242ServiceCatalogService",uid:"servicecatalog-2015-12-10"},operations:{AcceptPortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},PortfolioShareType:{}}},output:{type:"structure",members:{}}},AssociateBudgetWithResource:{input:{type:"structure",required:["BudgetName","ResourceId"],members:{BudgetName:{},ResourceId:{}}},output:{type:"structure",members:{}}},AssociatePrincipalWithPortfolio:{input:{type:"structure",required:["PortfolioId","PrincipalARN","PrincipalType"],members:{AcceptLanguage:{},PortfolioId:{},PrincipalARN:{},PrincipalType:{}}},output:{type:"structure",members:{}}},AssociateProductWithPortfolio:{input:{type:"structure",required:["ProductId","PortfolioId"],members:{AcceptLanguage:{},ProductId:{},PortfolioId:{},SourcePortfolioId:{}}},output:{type:"structure",members:{}}},AssociateServiceActionWithProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId","ServiceActionId"],members:{ProductId:{},ProvisioningArtifactId:{},ServiceActionId:{},AcceptLanguage:{}}},output:{type:"structure",members:{}}},AssociateTagOptionWithResource:{input:{type:"structure",required:["ResourceId","TagOptionId"],members:{ResourceId:{},TagOptionId:{}}},output:{type:"structure",members:{}}},BatchAssociateServiceActionWithProvisioningArtifact:{input:{type:"structure",required:["ServiceActionAssociations"],members:{ServiceActionAssociations:{shape:"Sm"},AcceptLanguage:{}}},output:{type:"structure",members:{FailedServiceActionAssociations:{shape:"Sp"}}}},BatchDisassociateServiceActionFromProvisioningArtifact:{input:{type:"structure",required:["ServiceActionAssociations"],members:{ServiceActionAssociations:{shape:"Sm"},AcceptLanguage:{}}},output:{type:"structure",members:{FailedServiceActionAssociations:{shape:"Sp"}}}},CopyProduct:{input:{type:"structure",required:["SourceProductArn","IdempotencyToken"],members:{AcceptLanguage:{},SourceProductArn:{},TargetProductId:{},TargetProductName:{},SourceProvisioningArtifactIdentifiers:{type:"list",member:{type:"map",key:{},value:{}}},CopyOptions:{type:"list",member:{}},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{CopyProductToken:{}}}},CreateConstraint:{input:{type:"structure",required:["PortfolioId","ProductId","Parameters","Type","IdempotencyToken"],members:{AcceptLanguage:{},PortfolioId:{},ProductId:{},Parameters:{},Type:{},Description:{},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ConstraintDetail:{shape:"S1b"},ConstraintParameters:{},Status:{}}}},CreatePortfolio:{input:{type:"structure",required:["DisplayName","ProviderName","IdempotencyToken"],members:{AcceptLanguage:{},DisplayName:{},Description:{},ProviderName:{},Tags:{shape:"S1i"},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{PortfolioDetail:{shape:"S1n"},Tags:{shape:"S1q"}}}},CreatePortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},AccountId:{},OrganizationNode:{shape:"S1s"},ShareTagOptions:{type:"boolean"}}},output:{type:"structure",members:{PortfolioShareToken:{}}}},CreateProduct:{input:{type:"structure",required:["Name","Owner","ProductType","ProvisioningArtifactParameters","IdempotencyToken"],members:{AcceptLanguage:{},Name:{},Owner:{},Description:{},Distributor:{},SupportDescription:{},SupportEmail:{},SupportUrl:{},ProductType:{},Tags:{shape:"S1i"},ProvisioningArtifactParameters:{shape:"S24"},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ProductViewDetail:{shape:"S2d"},ProvisioningArtifactDetail:{shape:"S2i"},Tags:{shape:"S1q"}}}},CreateProvisionedProductPlan:{input:{type:"structure",required:["PlanName","PlanType","ProductId","ProvisionedProductName","ProvisioningArtifactId","IdempotencyToken"],members:{AcceptLanguage:{},PlanName:{},PlanType:{},NotificationArns:{shape:"S2o"},PathId:{},ProductId:{},ProvisionedProductName:{},ProvisioningArtifactId:{},ProvisioningParameters:{shape:"S2r"},IdempotencyToken:{idempotencyToken:!0},Tags:{shape:"S1q"}}},output:{type:"structure",members:{PlanName:{},PlanId:{},ProvisionProductId:{},ProvisionedProductName:{},ProvisioningArtifactId:{}}}},CreateProvisioningArtifact:{input:{type:"structure",required:["ProductId","Parameters","IdempotencyToken"],members:{AcceptLanguage:{},ProductId:{},Parameters:{shape:"S24"},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ProvisioningArtifactDetail:{shape:"S2i"},Info:{shape:"S27"},Status:{}}}},CreateServiceAction:{input:{type:"structure",required:["Name","DefinitionType","Definition","IdempotencyToken"],members:{Name:{},DefinitionType:{},Definition:{shape:"S32"},Description:{},AcceptLanguage:{},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ServiceActionDetail:{shape:"S37"}}}},CreateTagOption:{input:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}},output:{type:"structure",members:{TagOptionDetail:{shape:"S3d"}}}},DeleteConstraint:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{}}},DeletePortfolio:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{}}},DeletePortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},AccountId:{},OrganizationNode:{shape:"S1s"}}},output:{type:"structure",members:{PortfolioShareToken:{}}}},DeleteProduct:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{}}},DeleteProvisionedProductPlan:{input:{type:"structure",required:["PlanId"],members:{AcceptLanguage:{},PlanId:{},IgnoreErrors:{type:"boolean"}}},output:{type:"structure",members:{}}},DeleteProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId"],members:{AcceptLanguage:{},ProductId:{},ProvisioningArtifactId:{}}},output:{type:"structure",members:{}}},DeleteServiceAction:{input:{type:"structure",required:["Id"],members:{Id:{},AcceptLanguage:{}}},output:{type:"structure",members:{}}},DeleteTagOption:{input:{type:"structure",required:["Id"],members:{Id:{}}},output:{type:"structure",members:{}}},DescribeConstraint:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{ConstraintDetail:{shape:"S1b"},ConstraintParameters:{},Status:{}}}},DescribeCopyProductStatus:{input:{type:"structure",required:["CopyProductToken"],members:{AcceptLanguage:{},CopyProductToken:{}}},output:{type:"structure",members:{CopyProductStatus:{},TargetProductId:{},StatusDetail:{}}}},DescribePortfolio:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{PortfolioDetail:{shape:"S1n"},Tags:{shape:"S1q"},TagOptions:{shape:"S45"},Budgets:{shape:"S46"}}}},DescribePortfolioShareStatus:{input:{type:"structure",required:["PortfolioShareToken"],members:{PortfolioShareToken:{}}},output:{type:"structure",members:{PortfolioShareToken:{},PortfolioId:{},OrganizationNodeValue:{},Status:{},ShareDetails:{type:"structure",members:{SuccessfulShares:{type:"list",member:{}},ShareErrors:{type:"list",member:{type:"structure",members:{Accounts:{type:"list",member:{}},Message:{},Error:{}}}}}}}}},DescribePortfolioShares:{input:{type:"structure",required:["PortfolioId","Type"],members:{PortfolioId:{},Type:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{NextPageToken:{},PortfolioShareDetails:{type:"list",member:{type:"structure",members:{PrincipalId:{},Type:{},Accepted:{type:"boolean"},ShareTagOptions:{type:"boolean"}}}}}}},DescribeProduct:{input:{type:"structure",members:{AcceptLanguage:{},Id:{},Name:{}}},output:{type:"structure",members:{ProductViewSummary:{shape:"S2e"},ProvisioningArtifacts:{shape:"S4r"},Budgets:{shape:"S46"},LaunchPaths:{type:"list",member:{type:"structure",members:{Id:{},Name:{}}}}}}},DescribeProductAsAdmin:{input:{type:"structure",members:{AcceptLanguage:{},Id:{},Name:{},SourcePortfolioId:{}}},output:{type:"structure",members:{ProductViewDetail:{shape:"S2d"},ProvisioningArtifactSummaries:{type:"list",member:{type:"structure",members:{Id:{},Name:{},Description:{},CreatedTime:{type:"timestamp"},ProvisioningArtifactMetadata:{shape:"S27"}}}},Tags:{shape:"S1q"},TagOptions:{shape:"S45"},Budgets:{shape:"S46"}}}},DescribeProductView:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{}}},output:{type:"structure",members:{ProductViewSummary:{shape:"S2e"},ProvisioningArtifacts:{shape:"S4r"}}}},DescribeProvisionedProduct:{input:{type:"structure",members:{AcceptLanguage:{},Id:{},Name:{}}},output:{type:"structure",members:{ProvisionedProductDetail:{shape:"S55"},CloudWatchDashboards:{type:"list",member:{type:"structure",members:{Name:{}}}}}}},DescribeProvisionedProductPlan:{input:{type:"structure",required:["PlanId"],members:{AcceptLanguage:{},PlanId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ProvisionedProductPlanDetails:{type:"structure",members:{CreatedTime:{type:"timestamp"},PathId:{},ProductId:{},PlanName:{},PlanId:{},ProvisionProductId:{},ProvisionProductName:{},PlanType:{},ProvisioningArtifactId:{},Status:{},UpdatedTime:{type:"timestamp"},NotificationArns:{shape:"S2o"},ProvisioningParameters:{shape:"S2r"},Tags:{shape:"S1q"},StatusMessage:{}}},ResourceChanges:{type:"list",member:{type:"structure",members:{Action:{},LogicalResourceId:{},PhysicalResourceId:{},ResourceType:{},Replacement:{},Scope:{type:"list",member:{}},Details:{type:"list",member:{type:"structure",members:{Target:{type:"structure",members:{Attribute:{},Name:{},RequiresRecreation:{}}},Evaluation:{},CausingEntity:{}}}}}}},NextPageToken:{}}}},DescribeProvisioningArtifact:{input:{type:"structure",members:{AcceptLanguage:{},ProvisioningArtifactId:{},ProductId:{},ProvisioningArtifactName:{},ProductName:{},Verbose:{type:"boolean"}}},output:{type:"structure",members:{ProvisioningArtifactDetail:{shape:"S2i"},Info:{shape:"S27"},Status:{}}}},DescribeProvisioningParameters:{input:{type:"structure",members:{AcceptLanguage:{},ProductId:{},ProductName:{},ProvisioningArtifactId:{},ProvisioningArtifactName:{},PathId:{},PathName:{}}},output:{type:"structure",members:{ProvisioningArtifactParameters:{type:"list",member:{type:"structure",members:{ParameterKey:{},DefaultValue:{},ParameterType:{},IsNoEcho:{type:"boolean"},Description:{},ParameterConstraints:{type:"structure",members:{AllowedValues:{type:"list",member:{}},AllowedPattern:{},ConstraintDescription:{},MaxLength:{},MinLength:{},MaxValue:{},MinValue:{}}}}}},ConstraintSummaries:{shape:"S6h"},UsageInstructions:{type:"list",member:{type:"structure",members:{Type:{},Value:{}}}},TagOptions:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},ProvisioningArtifactPreferences:{type:"structure",members:{StackSetAccounts:{shape:"S6r"},StackSetRegions:{shape:"S6s"}}},ProvisioningArtifactOutputs:{type:"list",member:{type:"structure",members:{Key:{},Description:{}}}}}}},DescribeRecord:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"},RecordOutputs:{shape:"S7b"},NextPageToken:{}}}},DescribeServiceAction:{input:{type:"structure",required:["Id"],members:{Id:{},AcceptLanguage:{}}},output:{type:"structure",members:{ServiceActionDetail:{shape:"S37"}}}},DescribeServiceActionExecutionParameters:{input:{type:"structure",required:["ProvisionedProductId","ServiceActionId"],members:{ProvisionedProductId:{},ServiceActionId:{},AcceptLanguage:{}}},output:{type:"structure",members:{ServiceActionParameters:{type:"list",member:{type:"structure",members:{Name:{},Type:{},DefaultValues:{shape:"S7n"}}}}}}},DescribeTagOption:{input:{type:"structure",required:["Id"],members:{Id:{}}},output:{type:"structure",members:{TagOptionDetail:{shape:"S3d"}}}},DisableAWSOrganizationsAccess:{input:{type:"structure",members:{}},output:{type:"structure",members:{}}},DisassociateBudgetFromResource:{input:{type:"structure",required:["BudgetName","ResourceId"],members:{BudgetName:{},ResourceId:{}}},output:{type:"structure",members:{}}},DisassociatePrincipalFromPortfolio:{input:{type:"structure",required:["PortfolioId","PrincipalARN"],members:{AcceptLanguage:{},PortfolioId:{},PrincipalARN:{}}},output:{type:"structure",members:{}}},DisassociateProductFromPortfolio:{input:{type:"structure",required:["ProductId","PortfolioId"],members:{AcceptLanguage:{},ProductId:{},PortfolioId:{}}},output:{type:"structure",members:{}}},DisassociateServiceActionFromProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId","ServiceActionId"],members:{ProductId:{},ProvisioningArtifactId:{},ServiceActionId:{},AcceptLanguage:{}}},output:{type:"structure",members:{}}},DisassociateTagOptionFromResource:{input:{type:"structure",required:["ResourceId","TagOptionId"],members:{ResourceId:{},TagOptionId:{}}},output:{type:"structure",members:{}}},EnableAWSOrganizationsAccess:{input:{type:"structure",members:{}},output:{type:"structure",members:{}}},ExecuteProvisionedProductPlan:{input:{type:"structure",required:["PlanId","IdempotencyToken"],members:{AcceptLanguage:{},PlanId:{},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},ExecuteProvisionedProductServiceAction:{input:{type:"structure",required:["ProvisionedProductId","ServiceActionId","ExecuteToken"],members:{ProvisionedProductId:{},ServiceActionId:{},ExecuteToken:{idempotencyToken:!0},AcceptLanguage:{},Parameters:{type:"map",key:{},value:{shape:"S7n"}}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},GetAWSOrganizationsAccessStatus:{input:{type:"structure",members:{}},output:{type:"structure",members:{AccessStatus:{}}}},GetProvisionedProductOutputs:{input:{type:"structure",members:{AcceptLanguage:{},ProvisionedProductId:{},ProvisionedProductName:{},OutputKeys:{type:"list",member:{}},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{Outputs:{shape:"S7b"},NextPageToken:{}}}},ImportAsProvisionedProduct:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId","ProvisionedProductName","PhysicalId","IdempotencyToken"],members:{AcceptLanguage:{},ProductId:{},ProvisioningArtifactId:{},ProvisionedProductName:{},PhysicalId:{},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},ListAcceptedPortfolioShares:{input:{type:"structure",members:{AcceptLanguage:{},PageToken:{},PageSize:{type:"integer"},PortfolioShareType:{}}},output:{type:"structure",members:{PortfolioDetails:{shape:"S8l"},NextPageToken:{}}}},ListBudgetsForResource:{input:{type:"structure",required:["ResourceId"],members:{AcceptLanguage:{},ResourceId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{Budgets:{shape:"S46"},NextPageToken:{}}}},ListConstraintsForPortfolio:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},ProductId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ConstraintDetails:{type:"list",member:{shape:"S1b"}},NextPageToken:{}}}},ListLaunchPaths:{input:{type:"structure",required:["ProductId"],members:{AcceptLanguage:{},ProductId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{LaunchPathSummaries:{type:"list",member:{type:"structure",members:{Id:{},ConstraintSummaries:{shape:"S6h"},Tags:{shape:"S1q"},Name:{}}}},NextPageToken:{}}}},ListOrganizationPortfolioAccess:{input:{type:"structure",required:["PortfolioId","OrganizationNodeType"],members:{AcceptLanguage:{},PortfolioId:{},OrganizationNodeType:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{OrganizationNodes:{type:"list",member:{shape:"S1s"}},NextPageToken:{}}}},ListPortfolioAccess:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},OrganizationParentId:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{AccountIds:{type:"list",member:{}},NextPageToken:{}}}},ListPortfolios:{input:{type:"structure",members:{AcceptLanguage:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{PortfolioDetails:{shape:"S8l"},NextPageToken:{}}}},ListPortfoliosForProduct:{input:{type:"structure",required:["ProductId"],members:{AcceptLanguage:{},ProductId:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{PortfolioDetails:{shape:"S8l"},NextPageToken:{}}}},ListPrincipalsForPortfolio:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{Principals:{type:"list",member:{type:"structure",members:{PrincipalARN:{},PrincipalType:{}}}},NextPageToken:{}}}},ListProvisionedProductPlans:{input:{type:"structure",members:{AcceptLanguage:{},ProvisionProductId:{},PageSize:{type:"integer"},PageToken:{},AccessLevelFilter:{shape:"S9a"}}},output:{type:"structure",members:{ProvisionedProductPlans:{type:"list",member:{type:"structure",members:{PlanName:{},PlanId:{},ProvisionProductId:{},ProvisionProductName:{},PlanType:{},ProvisioningArtifactId:{}}}},NextPageToken:{}}}},ListProvisioningArtifacts:{input:{type:"structure",required:["ProductId"],members:{AcceptLanguage:{},ProductId:{}}},output:{type:"structure",members:{ProvisioningArtifactDetails:{type:"list",member:{shape:"S2i"}},NextPageToken:{}}}},ListProvisioningArtifactsForServiceAction:{input:{type:"structure",required:["ServiceActionId"],members:{ServiceActionId:{},PageSize:{type:"integer"},PageToken:{},AcceptLanguage:{}}},output:{type:"structure",members:{ProvisioningArtifactViews:{type:"list",member:{type:"structure",members:{ProductViewSummary:{shape:"S2e"},ProvisioningArtifact:{shape:"S4s"}}}},NextPageToken:{}}}},ListRecordHistory:{input:{type:"structure",members:{AcceptLanguage:{},AccessLevelFilter:{shape:"S9a"},SearchFilter:{type:"structure",members:{Key:{},Value:{}}},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{RecordDetails:{type:"list",member:{shape:"S70"}},NextPageToken:{}}}},ListResourcesForTagOption:{input:{type:"structure",required:["TagOptionId"],members:{TagOptionId:{},ResourceType:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ResourceDetails:{type:"list",member:{type:"structure",members:{Id:{},ARN:{},Name:{},Description:{},CreatedTime:{type:"timestamp"}}}},PageToken:{}}}},ListServiceActions:{input:{ +type:"structure",members:{AcceptLanguage:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ServiceActionSummaries:{shape:"Sa5"},NextPageToken:{}}}},ListServiceActionsForProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId"],members:{ProductId:{},ProvisioningArtifactId:{},PageSize:{type:"integer"},PageToken:{},AcceptLanguage:{}}},output:{type:"structure",members:{ServiceActionSummaries:{shape:"Sa5"},NextPageToken:{}}}},ListStackInstancesForProvisionedProduct:{input:{type:"structure",required:["ProvisionedProductId"],members:{AcceptLanguage:{},ProvisionedProductId:{},PageToken:{},PageSize:{type:"integer"}}},output:{type:"structure",members:{StackInstances:{type:"list",member:{type:"structure",members:{Account:{},Region:{},StackInstanceStatus:{}}}},NextPageToken:{}}}},ListTagOptions:{input:{type:"structure",members:{Filters:{type:"structure",members:{Key:{},Value:{},Active:{type:"boolean"}}},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{TagOptionDetails:{shape:"S45"},PageToken:{}}}},ProvisionProduct:{input:{type:"structure",required:["ProvisionedProductName","ProvisionToken"],members:{AcceptLanguage:{},ProductId:{},ProductName:{},ProvisioningArtifactId:{},ProvisioningArtifactName:{},PathId:{},PathName:{},ProvisionedProductName:{},ProvisioningParameters:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},ProvisioningPreferences:{type:"structure",members:{StackSetAccounts:{shape:"S6r"},StackSetRegions:{shape:"S6s"},StackSetFailureToleranceCount:{type:"integer"},StackSetFailureTolerancePercentage:{type:"integer"},StackSetMaxConcurrencyCount:{type:"integer"},StackSetMaxConcurrencyPercentage:{type:"integer"}}},Tags:{shape:"S1q"},NotificationArns:{shape:"S2o"},ProvisionToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},RejectPortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},PortfolioShareType:{}}},output:{type:"structure",members:{}}},ScanProvisionedProducts:{input:{type:"structure",members:{AcceptLanguage:{},AccessLevelFilter:{shape:"S9a"},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ProvisionedProducts:{type:"list",member:{shape:"S55"}},NextPageToken:{}}}},SearchProducts:{input:{type:"structure",members:{AcceptLanguage:{},Filters:{shape:"Sav"},PageSize:{type:"integer"},SortBy:{},SortOrder:{},PageToken:{}}},output:{type:"structure",members:{ProductViewSummaries:{type:"list",member:{shape:"S2e"}},ProductViewAggregations:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{Value:{},ApproximateCount:{type:"integer"}}}}},NextPageToken:{}}}},SearchProductsAsAdmin:{input:{type:"structure",members:{AcceptLanguage:{},PortfolioId:{},Filters:{shape:"Sav"},SortBy:{},SortOrder:{},PageToken:{},PageSize:{type:"integer"},ProductSource:{}}},output:{type:"structure",members:{ProductViewDetails:{type:"list",member:{shape:"S2d"}},NextPageToken:{}}}},SearchProvisionedProducts:{input:{type:"structure",members:{AcceptLanguage:{},AccessLevelFilter:{shape:"S9a"},Filters:{type:"map",key:{},value:{type:"list",member:{}}},SortBy:{},SortOrder:{},PageSize:{type:"integer"},PageToken:{}}},output:{type:"structure",members:{ProvisionedProducts:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},Type:{},Id:{},Status:{},StatusMessage:{},CreatedTime:{type:"timestamp"},IdempotencyToken:{},LastRecordId:{},LastProvisioningRecordId:{},LastSuccessfulProvisioningRecordId:{},Tags:{shape:"S1q"},PhysicalId:{},ProductId:{},ProductName:{},ProvisioningArtifactId:{},ProvisioningArtifactName:{},UserArn:{},UserArnSession:{}}}},TotalResultsCount:{type:"integer"},NextPageToken:{}}}},TerminateProvisionedProduct:{input:{type:"structure",required:["TerminateToken"],members:{ProvisionedProductName:{},ProvisionedProductId:{},TerminateToken:{idempotencyToken:!0},IgnoreErrors:{type:"boolean"},AcceptLanguage:{},RetainPhysicalResources:{type:"boolean"}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},UpdateConstraint:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},Description:{},Parameters:{}}},output:{type:"structure",members:{ConstraintDetail:{shape:"S1b"},ConstraintParameters:{},Status:{}}}},UpdatePortfolio:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},DisplayName:{},Description:{},ProviderName:{},AddTags:{shape:"S1i"},RemoveTags:{shape:"Sbw"}}},output:{type:"structure",members:{PortfolioDetail:{shape:"S1n"},Tags:{shape:"S1q"}}}},UpdatePortfolioShare:{input:{type:"structure",required:["PortfolioId"],members:{AcceptLanguage:{},PortfolioId:{},AccountId:{},OrganizationNode:{shape:"S1s"},ShareTagOptions:{type:"boolean"}}},output:{type:"structure",members:{PortfolioShareToken:{},Status:{}}}},UpdateProduct:{input:{type:"structure",required:["Id"],members:{AcceptLanguage:{},Id:{},Name:{},Owner:{},Description:{},Distributor:{},SupportDescription:{},SupportEmail:{},SupportUrl:{},AddTags:{shape:"S1i"},RemoveTags:{shape:"Sbw"}}},output:{type:"structure",members:{ProductViewDetail:{shape:"S2d"},Tags:{shape:"S1q"}}}},UpdateProvisionedProduct:{input:{type:"structure",required:["UpdateToken"],members:{AcceptLanguage:{},ProvisionedProductName:{},ProvisionedProductId:{},ProductId:{},ProductName:{},ProvisioningArtifactId:{},ProvisioningArtifactName:{},PathId:{},PathName:{},ProvisioningParameters:{shape:"S2r"},ProvisioningPreferences:{type:"structure",members:{StackSetAccounts:{shape:"S6r"},StackSetRegions:{shape:"S6s"},StackSetFailureToleranceCount:{type:"integer"},StackSetFailureTolerancePercentage:{type:"integer"},StackSetMaxConcurrencyCount:{type:"integer"},StackSetMaxConcurrencyPercentage:{type:"integer"},StackSetOperationType:{}}},Tags:{shape:"S1q"},UpdateToken:{idempotencyToken:!0}}},output:{type:"structure",members:{RecordDetail:{shape:"S70"}}}},UpdateProvisionedProductProperties:{input:{type:"structure",required:["ProvisionedProductId","ProvisionedProductProperties","IdempotencyToken"],members:{AcceptLanguage:{},ProvisionedProductId:{},ProvisionedProductProperties:{shape:"Sc8"},IdempotencyToken:{idempotencyToken:!0}}},output:{type:"structure",members:{ProvisionedProductId:{},ProvisionedProductProperties:{shape:"Sc8"},RecordId:{},Status:{}}}},UpdateProvisioningArtifact:{input:{type:"structure",required:["ProductId","ProvisioningArtifactId"],members:{AcceptLanguage:{},ProductId:{},ProvisioningArtifactId:{},Name:{},Description:{},Active:{type:"boolean"},Guidance:{}}},output:{type:"structure",members:{ProvisioningArtifactDetail:{shape:"S2i"},Info:{shape:"S27"},Status:{}}}},UpdateServiceAction:{input:{type:"structure",required:["Id"],members:{Id:{},Name:{},Definition:{shape:"S32"},Description:{},AcceptLanguage:{}}},output:{type:"structure",members:{ServiceActionDetail:{shape:"S37"}}}},UpdateTagOption:{input:{type:"structure",required:["Id"],members:{Id:{},Value:{},Active:{type:"boolean"}}},output:{type:"structure",members:{TagOptionDetail:{shape:"S3d"}}}}},shapes:{Sm:{type:"list",member:{type:"structure",required:["ServiceActionId","ProductId","ProvisioningArtifactId"],members:{ServiceActionId:{},ProductId:{},ProvisioningArtifactId:{}}}},Sp:{type:"list",member:{type:"structure",members:{ServiceActionId:{},ProductId:{},ProvisioningArtifactId:{},ErrorCode:{},ErrorMessage:{}}}},S1b:{type:"structure",members:{ConstraintId:{},Type:{},Description:{},Owner:{},ProductId:{},PortfolioId:{}}},S1i:{type:"list",member:{shape:"S1j"}},S1j:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}},S1n:{type:"structure",members:{Id:{},ARN:{},DisplayName:{},Description:{},CreatedTime:{type:"timestamp"},ProviderName:{}}},S1q:{type:"list",member:{shape:"S1j"}},S1s:{type:"structure",members:{Type:{},Value:{}}},S24:{type:"structure",required:["Info"],members:{Name:{},Description:{},Info:{shape:"S27"},Type:{},DisableTemplateValidation:{type:"boolean"}}},S27:{type:"map",key:{},value:{}},S2d:{type:"structure",members:{ProductViewSummary:{shape:"S2e"},Status:{},ProductARN:{},CreatedTime:{type:"timestamp"}}},S2e:{type:"structure",members:{Id:{},ProductId:{},Name:{},Owner:{},ShortDescription:{},Type:{},Distributor:{},HasDefaultPath:{type:"boolean"},SupportEmail:{},SupportDescription:{},SupportUrl:{}}},S2i:{type:"structure",members:{Id:{},Name:{},Description:{},Type:{},CreatedTime:{type:"timestamp"},Active:{type:"boolean"},Guidance:{}}},S2o:{type:"list",member:{}},S2r:{type:"list",member:{type:"structure",members:{Key:{},Value:{},UsePreviousValue:{type:"boolean"}}}},S32:{type:"map",key:{},value:{}},S37:{type:"structure",members:{ServiceActionSummary:{shape:"S38"},Definition:{shape:"S32"}}},S38:{type:"structure",members:{Id:{},Name:{},Description:{},DefinitionType:{}}},S3d:{type:"structure",members:{Key:{},Value:{},Active:{type:"boolean"},Id:{},Owner:{}}},S45:{type:"list",member:{shape:"S3d"}},S46:{type:"list",member:{type:"structure",members:{BudgetName:{}}}},S4r:{type:"list",member:{shape:"S4s"}},S4s:{type:"structure",members:{Id:{},Name:{},Description:{},CreatedTime:{type:"timestamp"},Guidance:{}}},S55:{type:"structure",members:{Name:{},Arn:{},Type:{},Id:{},Status:{},StatusMessage:{},CreatedTime:{type:"timestamp"},IdempotencyToken:{},LastRecordId:{},LastProvisioningRecordId:{},LastSuccessfulProvisioningRecordId:{},ProductId:{},ProvisioningArtifactId:{},LaunchRoleArn:{}}},S6h:{type:"list",member:{type:"structure",members:{Type:{},Description:{}}}},S6r:{type:"list",member:{}},S6s:{type:"list",member:{}},S70:{type:"structure",members:{RecordId:{},ProvisionedProductName:{},Status:{},CreatedTime:{type:"timestamp"},UpdatedTime:{type:"timestamp"},ProvisionedProductType:{},RecordType:{},ProvisionedProductId:{},ProductId:{},ProvisioningArtifactId:{},PathId:{},RecordErrors:{type:"list",member:{type:"structure",members:{Code:{},Description:{}}}},RecordTags:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},LaunchRoleArn:{}}},S7b:{type:"list",member:{type:"structure",members:{OutputKey:{},OutputValue:{},Description:{}}}},S7n:{type:"list",member:{}},S8l:{type:"list",member:{shape:"S1n"}},S9a:{type:"structure",members:{Key:{},Value:{}}},Sa5:{type:"list",member:{shape:"S38"}},Sav:{type:"map",key:{},value:{type:"list",member:{}}},Sbw:{type:"list",member:{}},Sc8:{type:"map",key:{},value:{}}}}},{}],218:[function(e,t,r){t.exports={pagination:{DescribePortfolioShares:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},GetProvisionedProductOutputs:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListAcceptedPortfolioShares:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListBudgetsForResource:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListConstraintsForPortfolio:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListLaunchPaths:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListOrganizationPortfolioAccess:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListPortfolioAccess:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListPortfolios:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListPortfoliosForProduct:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListPrincipalsForPortfolio:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListProvisioningArtifactsForServiceAction:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListResourcesForTagOption:{input_token:"PageToken",output_token:"PageToken",limit_key:"PageSize"},ListServiceActions:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListServiceActionsForProvisioningArtifact:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},ListTagOptions:{input_token:"PageToken",output_token:"PageToken",limit_key:"PageSize"},SearchProducts:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},SearchProductsAsAdmin:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"},SearchProvisionedProducts:{input_token:"PageToken",output_token:"NextPageToken",limit_key:"PageSize"}}}},{}],219:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2010-03-31",endpointPrefix:"sns",protocol:"query",serviceAbbreviation:"Amazon SNS",serviceFullName:"Amazon Simple Notification Service",serviceId:"SNS",signatureVersion:"v4",uid:"sns-2010-03-31",xmlNamespace:"http://sns.amazonaws.com/doc/2010-03-31/"},operations:{AddPermission:{input:{type:"structure",required:["TopicArn","Label","AWSAccountId","ActionName"],members:{TopicArn:{},Label:{},AWSAccountId:{type:"list",member:{}},ActionName:{type:"list",member:{}}}}},CheckIfPhoneNumberIsOptedOut:{input:{type:"structure",required:["phoneNumber"],members:{phoneNumber:{}}},output:{resultWrapper:"CheckIfPhoneNumberIsOptedOutResult",type:"structure",members:{isOptedOut:{type:"boolean"}}}},ConfirmSubscription:{input:{type:"structure",required:["TopicArn","Token"],members:{TopicArn:{},Token:{},AuthenticateOnUnsubscribe:{}}},output:{resultWrapper:"ConfirmSubscriptionResult",type:"structure",members:{SubscriptionArn:{}}}},CreatePlatformApplication:{input:{type:"structure",required:["Name","Platform","Attributes"],members:{Name:{},Platform:{},Attributes:{shape:"Sj"}}},output:{resultWrapper:"CreatePlatformApplicationResult",type:"structure",members:{PlatformApplicationArn:{}}}},CreatePlatformEndpoint:{input:{type:"structure",required:["PlatformApplicationArn","Token"],members:{PlatformApplicationArn:{},Token:{},CustomUserData:{},Attributes:{shape:"Sj"}}},output:{resultWrapper:"CreatePlatformEndpointResult",type:"structure",members:{EndpointArn:{}}}},CreateSMSSandboxPhoneNumber:{input:{type:"structure",required:["PhoneNumber"],members:{PhoneNumber:{},LanguageCode:{}}},output:{resultWrapper:"CreateSMSSandboxPhoneNumberResult",type:"structure",members:{}}},CreateTopic:{input:{type:"structure",required:["Name"],members:{Name:{},Attributes:{shape:"St"},Tags:{shape:"Sw"}}},output:{resultWrapper:"CreateTopicResult",type:"structure",members:{TopicArn:{}}}},DeleteEndpoint:{input:{type:"structure",required:["EndpointArn"],members:{EndpointArn:{}}}},DeletePlatformApplication:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{}}}},DeleteSMSSandboxPhoneNumber:{input:{type:"structure",required:["PhoneNumber"],members:{PhoneNumber:{}}},output:{resultWrapper:"DeleteSMSSandboxPhoneNumberResult",type:"structure",members:{}}},DeleteTopic:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{}}}},GetEndpointAttributes:{input:{type:"structure",required:["EndpointArn"],members:{EndpointArn:{}}},output:{resultWrapper:"GetEndpointAttributesResult",type:"structure",members:{Attributes:{shape:"Sj"}}}},GetPlatformApplicationAttributes:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{}}},output:{resultWrapper:"GetPlatformApplicationAttributesResult",type:"structure",members:{Attributes:{shape:"Sj"}}}},GetSMSAttributes:{input:{type:"structure",members:{attributes:{type:"list",member:{}}}},output:{resultWrapper:"GetSMSAttributesResult",type:"structure",members:{attributes:{shape:"Sj"}}}},GetSMSSandboxAccountStatus:{input:{type:"structure",members:{}},output:{resultWrapper:"GetSMSSandboxAccountStatusResult",type:"structure",required:["IsInSandbox"],members:{IsInSandbox:{type:"boolean"}}}},GetSubscriptionAttributes:{input:{type:"structure",required:["SubscriptionArn"],members:{SubscriptionArn:{}}},output:{resultWrapper:"GetSubscriptionAttributesResult",type:"structure",members:{Attributes:{shape:"S1h"}}}},GetTopicAttributes:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{}}},output:{resultWrapper:"GetTopicAttributesResult",type:"structure",members:{Attributes:{shape:"St"}}}},ListEndpointsByPlatformApplication:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{},NextToken:{}}},output:{resultWrapper:"ListEndpointsByPlatformApplicationResult",type:"structure",members:{Endpoints:{type:"list",member:{type:"structure",members:{EndpointArn:{},Attributes:{shape:"Sj"}}}},NextToken:{}}}},ListOriginationNumbers:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListOriginationNumbersResult",type:"structure",members:{NextToken:{},PhoneNumbers:{type:"list",member:{type:"structure",members:{CreatedAt:{type:"timestamp"},PhoneNumber:{},Status:{},Iso2CountryCode:{},RouteType:{},NumberCapabilities:{type:"list",member:{}}}}}}}},ListPhoneNumbersOptedOut:{input:{type:"structure",members:{nextToken:{}}},output:{resultWrapper:"ListPhoneNumbersOptedOutResult",type:"structure",members:{phoneNumbers:{type:"list",member:{}},nextToken:{}}}},ListPlatformApplications:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListPlatformApplicationsResult",type:"structure",members:{PlatformApplications:{type:"list",member:{type:"structure",members:{PlatformApplicationArn:{},Attributes:{shape:"Sj"}}}},NextToken:{}}}},ListSMSSandboxPhoneNumbers:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListSMSSandboxPhoneNumbersResult",type:"structure",required:["PhoneNumbers"],members:{PhoneNumbers:{type:"list",member:{type:"structure",members:{PhoneNumber:{},Status:{}}}},NextToken:{}}}},ListSubscriptions:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListSubscriptionsResult",type:"structure",members:{Subscriptions:{shape:"S2f"},NextToken:{}}}},ListSubscriptionsByTopic:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{},NextToken:{}}},output:{resultWrapper:"ListSubscriptionsByTopicResult",type:"structure",members:{Subscriptions:{shape:"S2f"},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{Tags:{shape:"Sw"}}}},ListTopics:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListTopicsResult",type:"structure",members:{Topics:{type:"list",member:{type:"structure",members:{TopicArn:{}}}},NextToken:{}}}},OptInPhoneNumber:{input:{type:"structure",required:["phoneNumber"],members:{phoneNumber:{}}},output:{resultWrapper:"OptInPhoneNumberResult",type:"structure",members:{}}},Publish:{input:{type:"structure",required:["Message"],members:{TopicArn:{},TargetArn:{},PhoneNumber:{},Message:{},Subject:{},MessageStructure:{},MessageAttributes:{shape:"S2z"},MessageDeduplicationId:{},MessageGroupId:{}}},output:{resultWrapper:"PublishResult",type:"structure",members:{MessageId:{},SequenceNumber:{}}}},PublishBatch:{input:{type:"structure",required:["TopicArn","PublishBatchRequestEntries"],members:{TopicArn:{},PublishBatchRequestEntries:{type:"list",member:{type:"structure",required:["Id","Message"],members:{Id:{},Message:{},Subject:{},MessageStructure:{},MessageAttributes:{shape:"S2z"},MessageDeduplicationId:{},MessageGroupId:{}}}}}},output:{resultWrapper:"PublishBatchResult",type:"structure",members:{Successful:{type:"list",member:{type:"structure",members:{Id:{},MessageId:{},SequenceNumber:{}}}},Failed:{type:"list",member:{type:"structure",required:["Id","Code","SenderFault"],members:{Id:{},Code:{},Message:{},SenderFault:{type:"boolean"}}}}}}},RemovePermission:{input:{type:"structure",required:["TopicArn","Label"],members:{TopicArn:{},Label:{}}}},SetEndpointAttributes:{input:{type:"structure",required:["EndpointArn","Attributes"],members:{EndpointArn:{},Attributes:{shape:"Sj"}}}},SetPlatformApplicationAttributes:{input:{type:"structure",required:["PlatformApplicationArn","Attributes"],members:{PlatformApplicationArn:{},Attributes:{shape:"Sj"}}}},SetSMSAttributes:{input:{type:"structure",required:["attributes"],members:{attributes:{shape:"Sj"}}},output:{resultWrapper:"SetSMSAttributesResult",type:"structure",members:{}}},SetSubscriptionAttributes:{input:{type:"structure",required:["SubscriptionArn","AttributeName"],members:{SubscriptionArn:{},AttributeName:{},AttributeValue:{}}}},SetTopicAttributes:{input:{type:"structure",required:["TopicArn","AttributeName"],members:{TopicArn:{},AttributeName:{},AttributeValue:{}}}},Subscribe:{input:{type:"structure",required:["TopicArn","Protocol"],members:{TopicArn:{},Protocol:{},Endpoint:{},Attributes:{shape:"S1h"},ReturnSubscriptionArn:{type:"boolean"}}},output:{resultWrapper:"SubscribeResult",type:"structure",members:{SubscriptionArn:{}}}},TagResource:{input:{type:"structure",required:["ResourceArn","Tags"],members:{ResourceArn:{},Tags:{shape:"Sw"}}},output:{resultWrapper:"TagResourceResult",type:"structure",members:{}}},Unsubscribe:{input:{type:"structure",required:["SubscriptionArn"],members:{SubscriptionArn:{}}}},UntagResource:{input:{type:"structure",required:["ResourceArn","TagKeys"],members:{ResourceArn:{},TagKeys:{type:"list",member:{}}}},output:{resultWrapper:"UntagResourceResult",type:"structure",members:{}}},VerifySMSSandboxPhoneNumber:{input:{type:"structure",required:["PhoneNumber","OneTimePassword"],members:{PhoneNumber:{},OneTimePassword:{}}},output:{resultWrapper:"VerifySMSSandboxPhoneNumberResult",type:"structure",members:{}}}},shapes:{Sj:{type:"map",key:{},value:{}},St:{type:"map",key:{},value:{}},Sw:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S1h:{type:"map",key:{},value:{}},S2f:{type:"list",member:{type:"structure",members:{SubscriptionArn:{},Owner:{},Protocol:{},Endpoint:{},TopicArn:{}}}},S2z:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{DataType:{},StringValue:{},BinaryValue:{type:"blob"}}}}}}},{}],220:[function(e,t,r){t.exports={pagination:{ListEndpointsByPlatformApplication:{input_token:"NextToken",output_token:"NextToken",result_key:"Endpoints"},ListOriginationNumbers:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"PhoneNumbers"},ListPhoneNumbersOptedOut:{input_token:"nextToken",output_token:"nextToken",result_key:"phoneNumbers"},ListPlatformApplications:{input_token:"NextToken",output_token:"NextToken",result_key:"PlatformApplications"},ListSMSSandboxPhoneNumbers:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"PhoneNumbers"},ListSubscriptions:{input_token:"NextToken",output_token:"NextToken",result_key:"Subscriptions"},ListSubscriptionsByTopic:{input_token:"NextToken",output_token:"NextToken",result_key:"Subscriptions"},ListTopics:{input_token:"NextToken",output_token:"NextToken",result_key:"Topics"}}}},{}],221:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-11-05",endpointPrefix:"sqs",protocol:"query",serviceAbbreviation:"Amazon SQS",serviceFullName:"Amazon Simple Queue Service",serviceId:"SQS",signatureVersion:"v4",uid:"sqs-2012-11-05",xmlNamespace:"http://queue.amazonaws.com/doc/2012-11-05/"},operations:{AddPermission:{input:{type:"structure",required:["QueueUrl","Label","AWSAccountIds","Actions"],members:{QueueUrl:{},Label:{},AWSAccountIds:{type:"list",member:{locationName:"AWSAccountId"},flattened:!0},Actions:{type:"list",member:{locationName:"ActionName"},flattened:!0}}}},ChangeMessageVisibility:{input:{type:"structure",required:["QueueUrl","ReceiptHandle","VisibilityTimeout"],members:{QueueUrl:{},ReceiptHandle:{},VisibilityTimeout:{type:"integer"}}}},ChangeMessageVisibilityBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"ChangeMessageVisibilityBatchRequestEntry",type:"structure",required:["Id","ReceiptHandle"],members:{Id:{},ReceiptHandle:{},VisibilityTimeout:{type:"integer"}}},flattened:!0}}},output:{resultWrapper:"ChangeMessageVisibilityBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"ChangeMessageVisibilityBatchResultEntry",type:"structure",required:["Id"],members:{Id:{}}},flattened:!0},Failed:{shape:"Sd"}}}},CreateQueue:{input:{type:"structure",required:["QueueName"],members:{QueueName:{},Attributes:{shape:"Sh",locationName:"Attribute"},tags:{shape:"Sj",locationName:"Tag"}}},output:{resultWrapper:"CreateQueueResult",type:"structure",members:{QueueUrl:{}}}},DeleteMessage:{input:{type:"structure",required:["QueueUrl","ReceiptHandle"],members:{QueueUrl:{},ReceiptHandle:{}}}},DeleteMessageBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"DeleteMessageBatchRequestEntry",type:"structure",required:["Id","ReceiptHandle"],members:{Id:{},ReceiptHandle:{}}},flattened:!0}}},output:{resultWrapper:"DeleteMessageBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"DeleteMessageBatchResultEntry",type:"structure",required:["Id"],members:{Id:{}}},flattened:!0},Failed:{shape:"Sd"}}}},DeleteQueue:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}}},GetQueueAttributes:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{},AttributeNames:{shape:"Sw"}}},output:{resultWrapper:"GetQueueAttributesResult",type:"structure",members:{Attributes:{shape:"Sh",locationName:"Attribute"}}}},GetQueueUrl:{input:{type:"structure",required:["QueueName"],members:{QueueName:{},QueueOwnerAWSAccountId:{}}},output:{resultWrapper:"GetQueueUrlResult",type:"structure",members:{QueueUrl:{}}}},ListDeadLetterSourceQueues:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{},NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListDeadLetterSourceQueuesResult",type:"structure",required:["queueUrls"],members:{queueUrls:{shape:"S14"},NextToken:{}}}},ListQueueTags:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}},output:{resultWrapper:"ListQueueTagsResult",type:"structure",members:{Tags:{shape:"Sj",locationName:"Tag"}}}},ListQueues:{input:{type:"structure",members:{QueueNamePrefix:{},NextToken:{},MaxResults:{type:"integer"}}},output:{resultWrapper:"ListQueuesResult",type:"structure",members:{QueueUrls:{shape:"S14"},NextToken:{}}}},PurgeQueue:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}}},ReceiveMessage:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{},AttributeNames:{shape:"Sw"},MessageAttributeNames:{type:"list",member:{locationName:"MessageAttributeName"},flattened:!0},MaxNumberOfMessages:{type:"integer"},VisibilityTimeout:{type:"integer"},WaitTimeSeconds:{type:"integer"},ReceiveRequestAttemptId:{}}},output:{resultWrapper:"ReceiveMessageResult",type:"structure",members:{Messages:{type:"list",member:{locationName:"Message",type:"structure",members:{MessageId:{},ReceiptHandle:{},MD5OfBody:{},Body:{},Attributes:{locationName:"Attribute",type:"map",key:{locationName:"Name"},value:{locationName:"Value"},flattened:!0},MD5OfMessageAttributes:{},MessageAttributes:{shape:"S1i",locationName:"MessageAttribute"}}},flattened:!0}}}},RemovePermission:{input:{type:"structure",required:["QueueUrl","Label"],members:{QueueUrl:{},Label:{}}}},SendMessage:{input:{type:"structure",required:["QueueUrl","MessageBody"],members:{QueueUrl:{},MessageBody:{},DelaySeconds:{type:"integer"},MessageAttributes:{shape:"S1i",locationName:"MessageAttribute"},MessageSystemAttributes:{shape:"S1p",locationName:"MessageSystemAttribute"},MessageDeduplicationId:{},MessageGroupId:{}}},output:{resultWrapper:"SendMessageResult",type:"structure",members:{MD5OfMessageBody:{},MD5OfMessageAttributes:{},MD5OfMessageSystemAttributes:{},MessageId:{},SequenceNumber:{}}}},SendMessageBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"SendMessageBatchRequestEntry",type:"structure",required:["Id","MessageBody"],members:{Id:{},MessageBody:{},DelaySeconds:{type:"integer"},MessageAttributes:{shape:"S1i",locationName:"MessageAttribute"},MessageSystemAttributes:{shape:"S1p",locationName:"MessageSystemAttribute"},MessageDeduplicationId:{},MessageGroupId:{}}},flattened:!0}}},output:{resultWrapper:"SendMessageBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"SendMessageBatchResultEntry",type:"structure",required:["Id","MessageId","MD5OfMessageBody"],members:{Id:{},MessageId:{},MD5OfMessageBody:{},MD5OfMessageAttributes:{},MD5OfMessageSystemAttributes:{},SequenceNumber:{}}},flattened:!0},Failed:{shape:"Sd"}}}},SetQueueAttributes:{input:{type:"structure",required:["QueueUrl","Attributes"],members:{QueueUrl:{},Attributes:{shape:"Sh",locationName:"Attribute"}}}},TagQueue:{input:{type:"structure",required:["QueueUrl","Tags"],members:{QueueUrl:{},Tags:{shape:"Sj"}}}},UntagQueue:{input:{type:"structure",required:["QueueUrl","TagKeys"],members:{QueueUrl:{},TagKeys:{type:"list",member:{locationName:"TagKey"},flattened:!0}}}}},shapes:{Sd:{type:"list",member:{locationName:"BatchResultErrorEntry",type:"structure",required:["Id","SenderFault","Code"],members:{Id:{},SenderFault:{type:"boolean"},Code:{},Message:{}}},flattened:!0},Sh:{type:"map",key:{locationName:"Name"},value:{locationName:"Value"},flattened:!0,locationName:"Attribute"},Sj:{type:"map",key:{locationName:"Key"},value:{locationName:"Value"},flattened:!0,locationName:"Tag"},Sw:{type:"list",member:{locationName:"AttributeName"},flattened:!0},S14:{type:"list",member:{locationName:"QueueUrl"},flattened:!0},S1i:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{StringValue:{},BinaryValue:{type:"blob"},StringListValues:{shape:"S1l",flattened:!0,locationName:"StringListValue"},BinaryListValues:{shape:"S1m",flattened:!0,locationName:"BinaryListValue"},DataType:{}}},flattened:!0},S1l:{type:"list",member:{locationName:"StringListValue"}},S1m:{type:"list",member:{locationName:"BinaryListValue",type:"blob"}},S1p:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{StringValue:{},BinaryValue:{type:"blob"},StringListValues:{shape:"S1l",flattened:!0,locationName:"StringListValue"},BinaryListValues:{shape:"S1m",flattened:!0,locationName:"BinaryListValue"},DataType:{}}},flattened:!0}}}},{}],222:[function(e,t,r){t.exports={pagination:{ListDeadLetterSourceQueues:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"queueUrls"},ListQueues:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"QueueUrls"}}}},{}],223:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2014-11-06",endpointPrefix:"ssm",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon SSM",serviceFullName:"Amazon Simple Systems Manager (SSM)",serviceId:"SSM",signatureVersion:"v4",targetPrefix:"AmazonSSM",uid:"ssm-2014-11-06"},operations:{AddTagsToResource:{input:{type:"structure",required:["ResourceType","ResourceId","Tags"],members:{ResourceType:{},ResourceId:{},Tags:{shape:"S4"}}},output:{type:"structure",members:{}}},AssociateOpsItemRelatedItem:{input:{type:"structure",required:["OpsItemId","AssociationType","ResourceType","ResourceUri"],members:{OpsItemId:{},AssociationType:{},ResourceType:{},ResourceUri:{}}},output:{type:"structure",members:{AssociationId:{}}}},CancelCommand:{input:{type:"structure",required:["CommandId"],members:{CommandId:{},InstanceIds:{shape:"Si"}}},output:{type:"structure",members:{}}},CancelMaintenanceWindowExecution:{input:{type:"structure",required:["WindowExecutionId"],members:{WindowExecutionId:{}}},output:{type:"structure",members:{WindowExecutionId:{}}}},CreateActivation:{input:{type:"structure",required:["IamRole"],members:{Description:{},DefaultInstanceName:{},IamRole:{},RegistrationLimit:{type:"integer"},ExpirationDate:{type:"timestamp"},Tags:{shape:"S4"}, +RegistrationMetadata:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}}}},output:{type:"structure",members:{ActivationId:{},ActivationCode:{}}}},CreateAssociation:{input:{type:"structure",required:["Name"],members:{Name:{},DocumentVersion:{},InstanceId:{},Parameters:{shape:"S14"},Targets:{shape:"S18"},ScheduleExpression:{},OutputLocation:{shape:"S1e"},AssociationName:{},AutomationTargetParameterName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}},output:{type:"structure",members:{AssociationDescription:{shape:"S20"}}}},CreateAssociationBatch:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{shape:"S2e"}}}},output:{type:"structure",members:{Successful:{type:"list",member:{shape:"S20"}},Failed:{type:"list",member:{type:"structure",members:{Entry:{shape:"S2e"},Message:{},Fault:{}}}}}}},CreateDocument:{input:{type:"structure",required:["Content","Name"],members:{Content:{},Requires:{shape:"S2n"},Attachments:{shape:"S2p"},Name:{},DisplayName:{},VersionName:{},DocumentType:{},DocumentFormat:{},TargetType:{},Tags:{shape:"S4"}}},output:{type:"structure",members:{DocumentDescription:{shape:"S32"}}}},CreateMaintenanceWindow:{input:{type:"structure",required:["Name","Schedule","Duration","Cutoff","AllowUnassociatedTargets"],members:{Name:{},Description:{shape:"S3w"},StartDate:{},EndDate:{},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},Duration:{type:"integer"},Cutoff:{type:"integer"},AllowUnassociatedTargets:{type:"boolean"},ClientToken:{idempotencyToken:!0},Tags:{shape:"S4"}}},output:{type:"structure",members:{WindowId:{}}}},CreateOpsItem:{input:{type:"structure",required:["Description","Source","Title"],members:{Description:{},OpsItemType:{},OperationalData:{shape:"S4a"},Notifications:{shape:"S4f"},Priority:{type:"integer"},RelatedOpsItems:{shape:"S4j"},Source:{},Title:{},Tags:{shape:"S4"},Category:{},Severity:{},ActualStartTime:{type:"timestamp"},ActualEndTime:{type:"timestamp"},PlannedStartTime:{type:"timestamp"},PlannedEndTime:{type:"timestamp"}}},output:{type:"structure",members:{OpsItemId:{}}}},CreateOpsMetadata:{input:{type:"structure",required:["ResourceId"],members:{ResourceId:{},Metadata:{shape:"S4s"},Tags:{shape:"S4"}}},output:{type:"structure",members:{OpsMetadataArn:{}}}},CreatePatchBaseline:{input:{type:"structure",required:["Name"],members:{OperatingSystem:{},Name:{},GlobalFilters:{shape:"S51"},ApprovalRules:{shape:"S57"},ApprovedPatches:{shape:"S5e"},ApprovedPatchesComplianceLevel:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},RejectedPatches:{shape:"S5e"},RejectedPatchesAction:{},Description:{},Sources:{shape:"S5i"},ClientToken:{idempotencyToken:!0},Tags:{shape:"S4"}}},output:{type:"structure",members:{BaselineId:{}}}},CreateResourceDataSync:{input:{type:"structure",required:["SyncName"],members:{SyncName:{},S3Destination:{shape:"S5s"},SyncType:{},SyncSource:{shape:"S61"}}},output:{type:"structure",members:{}}},DeleteActivation:{input:{type:"structure",required:["ActivationId"],members:{ActivationId:{}}},output:{type:"structure",members:{}}},DeleteAssociation:{input:{type:"structure",members:{Name:{},InstanceId:{},AssociationId:{}}},output:{type:"structure",members:{}}},DeleteDocument:{input:{type:"structure",required:["Name"],members:{Name:{},DocumentVersion:{},VersionName:{},Force:{type:"boolean"}}},output:{type:"structure",members:{}}},DeleteInventory:{input:{type:"structure",required:["TypeName"],members:{TypeName:{},SchemaDeleteOption:{},DryRun:{type:"boolean"},ClientToken:{idempotencyToken:!0}}},output:{type:"structure",members:{DeletionId:{},TypeName:{},DeletionSummary:{shape:"S6p"}}}},DeleteMaintenanceWindow:{input:{type:"structure",required:["WindowId"],members:{WindowId:{}}},output:{type:"structure",members:{WindowId:{}}}},DeleteOpsMetadata:{input:{type:"structure",required:["OpsMetadataArn"],members:{OpsMetadataArn:{}}},output:{type:"structure",members:{}}},DeleteParameter:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}}},DeleteParameters:{input:{type:"structure",required:["Names"],members:{Names:{shape:"S74"}}},output:{type:"structure",members:{DeletedParameters:{shape:"S74"},InvalidParameters:{shape:"S74"}}}},DeletePatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{}}},output:{type:"structure",members:{BaselineId:{}}}},DeleteResourceDataSync:{input:{type:"structure",required:["SyncName"],members:{SyncName:{},SyncType:{}}},output:{type:"structure",members:{}}},DeregisterManagedInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},output:{type:"structure",members:{}}},DeregisterPatchBaselineForPatchGroup:{input:{type:"structure",required:["BaselineId","PatchGroup"],members:{BaselineId:{},PatchGroup:{}}},output:{type:"structure",members:{BaselineId:{},PatchGroup:{}}}},DeregisterTargetFromMaintenanceWindow:{input:{type:"structure",required:["WindowId","WindowTargetId"],members:{WindowId:{},WindowTargetId:{},Safe:{type:"boolean"}}},output:{type:"structure",members:{WindowId:{},WindowTargetId:{}}}},DeregisterTaskFromMaintenanceWindow:{input:{type:"structure",required:["WindowId","WindowTaskId"],members:{WindowId:{},WindowTaskId:{}}},output:{type:"structure",members:{WindowId:{},WindowTaskId:{}}}},DescribeActivations:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{FilterKey:{},FilterValues:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ActivationList:{type:"list",member:{type:"structure",members:{ActivationId:{},Description:{},DefaultInstanceName:{},IamRole:{},RegistrationLimit:{type:"integer"},RegistrationsCount:{type:"integer"},ExpirationDate:{type:"timestamp"},Expired:{type:"boolean"},CreatedDate:{type:"timestamp"},Tags:{shape:"S4"}}}},NextToken:{}}}},DescribeAssociation:{input:{type:"structure",members:{Name:{},InstanceId:{},AssociationId:{},AssociationVersion:{}}},output:{type:"structure",members:{AssociationDescription:{shape:"S20"}}}},DescribeAssociationExecutionTargets:{input:{type:"structure",required:["AssociationId","ExecutionId"],members:{AssociationId:{},ExecutionId:{},Filters:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AssociationExecutionTargets:{type:"list",member:{type:"structure",members:{AssociationId:{},AssociationVersion:{},ExecutionId:{},ResourceId:{},ResourceType:{},Status:{},DetailedStatus:{},LastExecutionDate:{type:"timestamp"},OutputSource:{type:"structure",members:{OutputSourceId:{},OutputSourceType:{}}}}}},NextToken:{}}}},DescribeAssociationExecutions:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{},Filters:{type:"list",member:{type:"structure",required:["Key","Value","Type"],members:{Key:{},Value:{},Type:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AssociationExecutions:{type:"list",member:{type:"structure",members:{AssociationId:{},AssociationVersion:{},ExecutionId:{},Status:{},DetailedStatus:{},CreatedTime:{type:"timestamp"},LastExecutionDate:{type:"timestamp"},ResourceCountByStatus:{}}}},NextToken:{}}}},DescribeAutomationExecutions:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AutomationExecutionMetadataList:{type:"list",member:{type:"structure",members:{AutomationExecutionId:{},DocumentName:{},DocumentVersion:{},AutomationExecutionStatus:{},ExecutionStartTime:{type:"timestamp"},ExecutionEndTime:{type:"timestamp"},ExecutedBy:{},LogFile:{},Outputs:{shape:"S8z"},Mode:{},ParentAutomationExecutionId:{},CurrentStepName:{},CurrentAction:{},FailureMessage:{},TargetParameterName:{},Targets:{shape:"S18"},TargetMaps:{shape:"S94"},ResolvedTargets:{shape:"S99"},MaxConcurrency:{},MaxErrors:{},Target:{},AutomationType:{},AutomationSubtype:{},ScheduledTime:{type:"timestamp"},Runbooks:{shape:"S9d"},OpsItemId:{},AssociationId:{},ChangeRequestName:{}}}},NextToken:{}}}},DescribeAutomationStepExecutions:{input:{type:"structure",required:["AutomationExecutionId"],members:{AutomationExecutionId:{},Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}},NextToken:{},MaxResults:{type:"integer"},ReverseOrder:{type:"boolean"}}},output:{type:"structure",members:{StepExecutions:{shape:"S9n"},NextToken:{}}}},DescribeAvailablePatches:{input:{type:"structure",members:{Filters:{shape:"S9x"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Patches:{type:"list",member:{shape:"Sa5"}},NextToken:{}}}},DescribeDocument:{input:{type:"structure",required:["Name"],members:{Name:{},DocumentVersion:{},VersionName:{}}},output:{type:"structure",members:{Document:{shape:"S32"}}}},DescribeDocumentPermission:{input:{type:"structure",required:["Name","PermissionType"],members:{Name:{},PermissionType:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AccountIds:{shape:"Sb0"},AccountSharingInfoList:{type:"list",member:{type:"structure",members:{AccountId:{},SharedDocumentVersion:{}}}},NextToken:{}}}},DescribeEffectiveInstanceAssociations:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Associations:{type:"list",member:{type:"structure",members:{AssociationId:{},InstanceId:{},Content:{},AssociationVersion:{}}}},NextToken:{}}}},DescribeEffectivePatchesForPatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{EffectivePatches:{type:"list",member:{type:"structure",members:{Patch:{shape:"Sa5"},PatchStatus:{type:"structure",members:{DeploymentStatus:{},ComplianceLevel:{},ApprovalDate:{type:"timestamp"}}}}}},NextToken:{}}}},DescribeInstanceAssociationsStatus:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InstanceAssociationStatusInfos:{type:"list",member:{type:"structure",members:{AssociationId:{},Name:{},DocumentVersion:{},AssociationVersion:{},InstanceId:{},ExecutionDate:{type:"timestamp"},Status:{},DetailedStatus:{},ExecutionSummary:{},ErrorCode:{},OutputUrl:{type:"structure",members:{S3OutputUrl:{type:"structure",members:{OutputUrl:{}}}}},AssociationName:{}}}},NextToken:{}}}},DescribeInstanceInformation:{input:{type:"structure",members:{InstanceInformationFilterList:{type:"list",member:{type:"structure",required:["key","valueSet"],members:{key:{},valueSet:{shape:"Sbt"}}}},Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{shape:"Sbt"}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InstanceInformationList:{type:"list",member:{type:"structure",members:{InstanceId:{},PingStatus:{},LastPingDateTime:{type:"timestamp"},AgentVersion:{},IsLatestVersion:{type:"boolean"},PlatformType:{},PlatformName:{},PlatformVersion:{},ActivationId:{},IamRole:{},RegistrationDate:{type:"timestamp"},ResourceType:{},Name:{},IPAddress:{},ComputerName:{},AssociationStatus:{},LastAssociationExecutionDate:{type:"timestamp"},LastSuccessfulAssociationExecutionDate:{type:"timestamp"},AssociationOverview:{type:"structure",members:{DetailedStatus:{},InstanceAssociationStatusAggregatedCount:{type:"map",key:{},value:{type:"integer"}}}},SourceId:{},SourceType:{}}}},NextToken:{}}}},DescribeInstancePatchStates:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"Si"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{InstancePatchStates:{type:"list",member:{shape:"Scf"}},NextToken:{}}}},DescribeInstancePatchStatesForPatchGroup:{input:{type:"structure",required:["PatchGroup"],members:{PatchGroup:{},Filters:{type:"list",member:{type:"structure",required:["Key","Values","Type"],members:{Key:{},Values:{type:"list",member:{}},Type:{}}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{InstancePatchStates:{type:"list",member:{shape:"Scf"}},NextToken:{}}}},DescribeInstancePatches:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},Filters:{shape:"S9x"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Patches:{type:"list",member:{type:"structure",required:["Title","KBId","Classification","Severity","State","InstalledTime"],members:{Title:{},KBId:{},Classification:{},Severity:{},State:{},InstalledTime:{type:"timestamp"},CVEIds:{}}}},NextToken:{}}}},DescribeInventoryDeletions:{input:{type:"structure",members:{DeletionId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{InventoryDeletions:{type:"list",member:{type:"structure",members:{DeletionId:{},TypeName:{},DeletionStartTime:{type:"timestamp"},LastStatus:{},LastStatusMessage:{},DeletionSummary:{shape:"S6p"},LastStatusUpdateTime:{type:"timestamp"}}}},NextToken:{}}}},DescribeMaintenanceWindowExecutionTaskInvocations:{input:{type:"structure",required:["WindowExecutionId","TaskId"],members:{WindowExecutionId:{},TaskId:{},Filters:{shape:"Sdl"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowExecutionTaskInvocationIdentities:{type:"list",member:{type:"structure",members:{WindowExecutionId:{},TaskExecutionId:{},InvocationId:{},ExecutionId:{},TaskType:{},Parameters:{shape:"Sdx"},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},OwnerInformation:{shape:"Sci"},WindowTargetId:{}}}},NextToken:{}}}},DescribeMaintenanceWindowExecutionTasks:{input:{type:"structure",required:["WindowExecutionId"],members:{WindowExecutionId:{},Filters:{shape:"Sdl"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowExecutionTaskIdentities:{type:"list",member:{type:"structure",members:{WindowExecutionId:{},TaskExecutionId:{},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},TaskArn:{},TaskType:{}}}},NextToken:{}}}},DescribeMaintenanceWindowExecutions:{input:{type:"structure",required:["WindowId"],members:{WindowId:{},Filters:{shape:"Sdl"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowExecutions:{type:"list",member:{type:"structure",members:{WindowId:{},WindowExecutionId:{},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}},NextToken:{}}}},DescribeMaintenanceWindowSchedule:{input:{type:"structure",members:{WindowId:{},Targets:{shape:"S18"},ResourceType:{},Filters:{shape:"S9x"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ScheduledWindowExecutions:{type:"list",member:{type:"structure",members:{WindowId:{},Name:{},ExecutionTime:{}}}},NextToken:{}}}},DescribeMaintenanceWindowTargets:{input:{type:"structure",required:["WindowId"],members:{WindowId:{},Filters:{shape:"Sdl"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Targets:{type:"list",member:{type:"structure",members:{WindowId:{},WindowTargetId:{},ResourceType:{},Targets:{shape:"S18"},OwnerInformation:{shape:"Sci"},Name:{},Description:{shape:"S3w"}}}},NextToken:{}}}},DescribeMaintenanceWindowTasks:{input:{type:"structure",required:["WindowId"],members:{WindowId:{},Filters:{shape:"Sdl"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Tasks:{type:"list",member:{type:"structure",members:{WindowId:{},WindowTaskId:{},TaskArn:{},Type:{},Targets:{shape:"S18"},TaskParameters:{shape:"Seo"},Priority:{type:"integer"},LoggingInfo:{shape:"Seu"},ServiceRoleArn:{},MaxConcurrency:{},MaxErrors:{},Name:{},Description:{shape:"S3w"},CutoffBehavior:{}}}},NextToken:{}}}},DescribeMaintenanceWindows:{input:{type:"structure",members:{Filters:{shape:"Sdl"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowIdentities:{type:"list",member:{type:"structure",members:{WindowId:{},Name:{},Description:{shape:"S3w"},Enabled:{type:"boolean"},Duration:{type:"integer"},Cutoff:{type:"integer"},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},EndDate:{},StartDate:{},NextExecutionTime:{}}}},NextToken:{}}}},DescribeMaintenanceWindowsForTarget:{input:{type:"structure",required:["Targets","ResourceType"],members:{Targets:{shape:"S18"},ResourceType:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{WindowIdentities:{type:"list",member:{type:"structure",members:{WindowId:{},Name:{}}}},NextToken:{}}}},DescribeOpsItems:{input:{type:"structure",members:{OpsItemFilters:{type:"list",member:{type:"structure",required:["Key","Values","Operator"],members:{Key:{},Values:{type:"list",member:{}},Operator:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{NextToken:{},OpsItemSummaries:{type:"list",member:{type:"structure",members:{CreatedBy:{},CreatedTime:{type:"timestamp"},LastModifiedBy:{},LastModifiedTime:{type:"timestamp"},Priority:{type:"integer"},Source:{},Status:{},OpsItemId:{},Title:{},OperationalData:{shape:"S4a"},Category:{},Severity:{},OpsItemType:{},ActualStartTime:{type:"timestamp"},ActualEndTime:{type:"timestamp"},PlannedStartTime:{type:"timestamp"},PlannedEndTime:{type:"timestamp"}}}}}}},DescribeParameters:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}},ParameterFilters:{shape:"Sfo"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Parameters:{type:"list",member:{type:"structure",members:{Name:{},Type:{},KeyId:{},LastModifiedDate:{type:"timestamp"},LastModifiedUser:{},Description:{},AllowedPattern:{},Version:{type:"long"},Tier:{},Policies:{shape:"Sg3"},DataType:{}}}},NextToken:{}}}},DescribePatchBaselines:{input:{type:"structure",members:{Filters:{shape:"S9x"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{BaselineIdentities:{type:"list",member:{shape:"Sg9"}},NextToken:{}}}},DescribePatchGroupState:{input:{type:"structure",required:["PatchGroup"],members:{PatchGroup:{}}},output:{type:"structure",members:{Instances:{type:"integer"},InstancesWithInstalledPatches:{type:"integer"},InstancesWithInstalledOtherPatches:{type:"integer"},InstancesWithInstalledPendingRebootPatches:{type:"integer"},InstancesWithInstalledRejectedPatches:{type:"integer"},InstancesWithMissingPatches:{type:"integer"},InstancesWithFailedPatches:{type:"integer"},InstancesWithNotApplicablePatches:{type:"integer"},InstancesWithUnreportedNotApplicablePatches:{type:"integer"},InstancesWithCriticalNonCompliantPatches:{type:"integer"},InstancesWithSecurityNonCompliantPatches:{type:"integer"},InstancesWithOtherNonCompliantPatches:{type:"integer"}}}},DescribePatchGroups:{input:{type:"structure",members:{MaxResults:{type:"integer"},Filters:{shape:"S9x"},NextToken:{}}},output:{type:"structure",members:{Mappings:{type:"list",member:{type:"structure",members:{PatchGroup:{},BaselineIdentity:{shape:"Sg9"}}}},NextToken:{}}}},DescribePatchProperties:{input:{type:"structure",required:["OperatingSystem","Property"],members:{OperatingSystem:{},Property:{},PatchSet:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Properties:{type:"list",member:{type:"map",key:{},value:{}}},NextToken:{}}}},DescribeSessions:{input:{type:"structure",required:["State"],members:{State:{},MaxResults:{type:"integer"},NextToken:{},Filters:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}}}},output:{type:"structure",members:{Sessions:{type:"list",member:{type:"structure",members:{SessionId:{},Target:{},Status:{},StartDate:{type:"timestamp"},EndDate:{type:"timestamp"},DocumentName:{},Owner:{},Reason:{},Details:{},OutputUrl:{type:"structure",members:{S3OutputUrl:{},CloudWatchOutputUrl:{}}},MaxSessionDuration:{}}}},NextToken:{}}}},DisassociateOpsItemRelatedItem:{input:{type:"structure",required:["OpsItemId","AssociationId"],members:{OpsItemId:{},AssociationId:{}}},output:{type:"structure",members:{}}},GetAutomationExecution:{input:{type:"structure",required:["AutomationExecutionId"],members:{AutomationExecutionId:{}}},output:{type:"structure",members:{AutomationExecution:{type:"structure",members:{AutomationExecutionId:{},DocumentName:{},DocumentVersion:{},ExecutionStartTime:{type:"timestamp"},ExecutionEndTime:{type:"timestamp"},AutomationExecutionStatus:{},StepExecutions:{shape:"S9n"},StepExecutionsTruncated:{type:"boolean"},Parameters:{shape:"S8z"},Outputs:{shape:"S8z"},FailureMessage:{},Mode:{},ParentAutomationExecutionId:{},ExecutedBy:{},CurrentStepName:{},CurrentAction:{},TargetParameterName:{},Targets:{shape:"S18"},TargetMaps:{shape:"S94"},ResolvedTargets:{shape:"S99"},MaxConcurrency:{},MaxErrors:{},Target:{},TargetLocations:{shape:"S1s"},ProgressCounters:{type:"structure",members:{TotalSteps:{type:"integer"},SuccessSteps:{type:"integer"},FailedSteps:{type:"integer"},CancelledSteps:{type:"integer"},TimedOutSteps:{type:"integer"}}},AutomationSubtype:{},ScheduledTime:{type:"timestamp"},Runbooks:{shape:"S9d"},OpsItemId:{},AssociationId:{},ChangeRequestName:{}}}}}},GetCalendarState:{input:{type:"structure",required:["CalendarNames"],members:{CalendarNames:{shape:"S1q"},AtTime:{}}},output:{type:"structure",members:{State:{},AtTime:{},NextTransitionTime:{}}}},GetCommandInvocation:{input:{type:"structure",required:["CommandId","InstanceId"],members:{CommandId:{},InstanceId:{},PluginName:{}}},output:{type:"structure",members:{CommandId:{},InstanceId:{},Comment:{},DocumentName:{},DocumentVersion:{},PluginName:{},ResponseCode:{type:"integer"},ExecutionStartDateTime:{},ExecutionElapsedTime:{},ExecutionEndDateTime:{},Status:{},StatusDetails:{},StandardOutputContent:{},StandardOutputUrl:{},StandardErrorContent:{},StandardErrorUrl:{},CloudWatchOutputConfig:{shape:"Shu"}}}},GetConnectionStatus:{input:{type:"structure",required:["Target"],members:{Target:{}}},output:{type:"structure",members:{Target:{},Status:{}}}},GetDefaultPatchBaseline:{input:{type:"structure",members:{OperatingSystem:{}}},output:{type:"structure",members:{BaselineId:{},OperatingSystem:{}}}},GetDeployablePatchSnapshotForInstance:{input:{type:"structure",required:["InstanceId","SnapshotId"],members:{InstanceId:{},SnapshotId:{},BaselineOverride:{type:"structure",members:{OperatingSystem:{},GlobalFilters:{shape:"S51"},ApprovalRules:{shape:"S57"},ApprovedPatches:{shape:"S5e"},ApprovedPatchesComplianceLevel:{},RejectedPatches:{shape:"S5e"},RejectedPatchesAction:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},Sources:{shape:"S5i"}}}}},output:{type:"structure",members:{InstanceId:{},SnapshotId:{},SnapshotDownloadUrl:{},Product:{}}}},GetDocument:{input:{type:"structure",required:["Name"],members:{Name:{},VersionName:{},DocumentVersion:{},DocumentFormat:{}}},output:{type:"structure",members:{Name:{},CreatedDate:{type:"timestamp"},DisplayName:{},VersionName:{},DocumentVersion:{},Status:{},StatusInformation:{},Content:{},DocumentType:{},DocumentFormat:{},Requires:{shape:"S2n"},AttachmentsContent:{type:"list",member:{type:"structure",members:{Name:{},Size:{type:"long"},Hash:{},HashType:{},Url:{}}}},ReviewStatus:{}}}},GetInventory:{input:{type:"structure",members:{Filters:{shape:"Sig"},Aggregators:{shape:"Sim"},ResultAttributes:{type:"list",member:{type:"structure",required:["TypeName"],members:{TypeName:{}}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Entities:{type:"list",member:{type:"structure",members:{Id:{},Data:{type:"map",key:{},value:{type:"structure",required:["TypeName","SchemaVersion","Content"],members:{TypeName:{},SchemaVersion:{},CaptureTime:{},ContentHash:{},Content:{shape:"Sj3"}}}}}}},NextToken:{}}}},GetInventorySchema:{input:{type:"structure",members:{TypeName:{},NextToken:{},MaxResults:{type:"integer"},Aggregator:{type:"boolean"},SubType:{type:"boolean"}}},output:{type:"structure",members:{Schemas:{type:"list",member:{type:"structure",required:["TypeName","Attributes"],members:{TypeName:{},Version:{},Attributes:{type:"list",member:{type:"structure",required:["Name","DataType"],members:{Name:{},DataType:{}}}},DisplayName:{}}}},NextToken:{}}}},GetMaintenanceWindow:{input:{type:"structure",required:["WindowId"],members:{WindowId:{}}},output:{type:"structure",members:{WindowId:{},Name:{},Description:{shape:"S3w"},StartDate:{},EndDate:{},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},NextExecutionTime:{},Duration:{type:"integer"},Cutoff:{type:"integer"},AllowUnassociatedTargets:{type:"boolean"},Enabled:{type:"boolean"},CreatedDate:{type:"timestamp"},ModifiedDate:{type:"timestamp"}}}},GetMaintenanceWindowExecution:{input:{type:"structure",required:["WindowExecutionId"],members:{WindowExecutionId:{}}},output:{type:"structure",members:{WindowExecutionId:{},TaskIds:{type:"list",member:{}},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}},GetMaintenanceWindowExecutionTask:{input:{type:"structure",required:["WindowExecutionId","TaskId"],members:{WindowExecutionId:{},TaskId:{}}},output:{type:"structure",members:{WindowExecutionId:{},TaskExecutionId:{},TaskArn:{},ServiceRole:{},Type:{},TaskParameters:{type:"list",member:{shape:"Seo"},sensitive:!0},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}},GetMaintenanceWindowExecutionTaskInvocation:{input:{type:"structure",required:["WindowExecutionId","TaskId","InvocationId"],members:{WindowExecutionId:{},TaskId:{},InvocationId:{}}},output:{type:"structure",members:{WindowExecutionId:{},TaskExecutionId:{},InvocationId:{},ExecutionId:{},TaskType:{},Parameters:{shape:"Sdx"},Status:{},StatusDetails:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},OwnerInformation:{shape:"Sci"},WindowTargetId:{}}}},GetMaintenanceWindowTask:{input:{type:"structure",required:["WindowId","WindowTaskId"],members:{WindowId:{},WindowTaskId:{}}},output:{type:"structure",members:{WindowId:{},WindowTaskId:{},Targets:{shape:"S18"},TaskArn:{},ServiceRoleArn:{},TaskType:{},TaskParameters:{shape:"Seo"},TaskInvocationParameters:{shape:"Sju"},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},LoggingInfo:{shape:"Seu"},Name:{},Description:{shape:"S3w"},CutoffBehavior:{}}}},GetOpsItem:{input:{type:"structure",required:["OpsItemId"],members:{OpsItemId:{}}},output:{type:"structure",members:{OpsItem:{type:"structure",members:{CreatedBy:{},OpsItemType:{},CreatedTime:{type:"timestamp"},Description:{},LastModifiedBy:{},LastModifiedTime:{type:"timestamp"},Notifications:{shape:"S4f"},Priority:{type:"integer"},RelatedOpsItems:{shape:"S4j"},Status:{},OpsItemId:{},Version:{},Title:{},Source:{},OperationalData:{shape:"S4a"},Category:{},Severity:{},ActualStartTime:{type:"timestamp"},ActualEndTime:{type:"timestamp"},PlannedStartTime:{type:"timestamp"},PlannedEndTime:{type:"timestamp"}}}}}},GetOpsMetadata:{input:{type:"structure",required:["OpsMetadataArn"],members:{OpsMetadataArn:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ResourceId:{},Metadata:{shape:"S4s"},NextToken:{}}}},GetOpsSummary:{input:{type:"structure",members:{SyncName:{},Filters:{shape:"Skh"},Aggregators:{shape:"Skn"},ResultAttributes:{type:"list",member:{type:"structure",required:["TypeName"],members:{TypeName:{}}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Entities:{type:"list",member:{type:"structure",members:{Id:{},Data:{type:"map",key:{},value:{type:"structure",members:{CaptureTime:{},Content:{type:"list",member:{type:"map",key:{},value:{}}}}}}}}},NextToken:{}}}},GetParameter:{input:{type:"structure",required:["Name"],members:{Name:{},WithDecryption:{type:"boolean"}}},output:{type:"structure",members:{Parameter:{shape:"Sl9"}}}},GetParameterHistory:{input:{type:"structure",required:["Name"],members:{Name:{},WithDecryption:{type:"boolean"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Parameters:{type:"list",member:{type:"structure",members:{Name:{},Type:{},KeyId:{},LastModifiedDate:{type:"timestamp"},LastModifiedUser:{},Description:{},Value:{shape:"Sla"},AllowedPattern:{},Version:{type:"long"},Labels:{shape:"Slg"},Tier:{},Policies:{shape:"Sg3"},DataType:{}}}},NextToken:{}}}},GetParameters:{input:{type:"structure",required:["Names"],members:{Names:{shape:"S74"},WithDecryption:{type:"boolean"}}},output:{type:"structure",members:{Parameters:{shape:"Slk"},InvalidParameters:{shape:"S74"}}}},GetParametersByPath:{input:{type:"structure",required:["Path"],members:{Path:{},Recursive:{type:"boolean"},ParameterFilters:{shape:"Sfo"},WithDecryption:{type:"boolean"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Parameters:{shape:"Slk"},NextToken:{}}}},GetPatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{}}},output:{type:"structure",members:{BaselineId:{},Name:{},OperatingSystem:{},GlobalFilters:{shape:"S51"},ApprovalRules:{shape:"S57"},ApprovedPatches:{shape:"S5e"},ApprovedPatchesComplianceLevel:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},RejectedPatches:{shape:"S5e"},RejectedPatchesAction:{},PatchGroups:{type:"list",member:{}},CreatedDate:{type:"timestamp"},ModifiedDate:{type:"timestamp"},Description:{},Sources:{shape:"S5i"}}}},GetPatchBaselineForPatchGroup:{input:{type:"structure",required:["PatchGroup"],members:{PatchGroup:{},OperatingSystem:{}}},output:{type:"structure",members:{BaselineId:{},PatchGroup:{},OperatingSystem:{}}}},GetServiceSetting:{input:{type:"structure",required:["SettingId"],members:{SettingId:{}}},output:{type:"structure",members:{ServiceSetting:{shape:"Slw"}}}},LabelParameterVersion:{input:{type:"structure",required:["Name","Labels"],members:{Name:{},ParameterVersion:{type:"long"},Labels:{shape:"Slg"}}},output:{type:"structure",members:{InvalidLabels:{shape:"Slg"},ParameterVersion:{type:"long"}}}},ListAssociationVersions:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{AssociationVersions:{type:"list",member:{type:"structure",members:{AssociationId:{},AssociationVersion:{},CreatedDate:{type:"timestamp"},Name:{},DocumentVersion:{},Parameters:{shape:"S14"},Targets:{shape:"S18"},ScheduleExpression:{},OutputLocation:{shape:"S1e"},AssociationName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}}},NextToken:{}}}},ListAssociations:{input:{type:"structure",members:{AssociationFilterList:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Associations:{type:"list",member:{type:"structure",members:{Name:{},InstanceId:{},AssociationId:{},AssociationVersion:{},DocumentVersion:{},Targets:{shape:"S18"},LastExecutionDate:{type:"timestamp"},Overview:{shape:"S27"},ScheduleExpression:{},AssociationName:{}}}},NextToken:{}}}},ListCommandInvocations:{input:{type:"structure",members:{CommandId:{},InstanceId:{},MaxResults:{type:"integer"},NextToken:{},Filters:{shape:"Sme"},Details:{type:"boolean"}}},output:{type:"structure",members:{CommandInvocations:{type:"list",member:{type:"structure",members:{CommandId:{},InstanceId:{},InstanceName:{},Comment:{},DocumentName:{},DocumentVersion:{},RequestedDateTime:{type:"timestamp"},Status:{},StatusDetails:{},TraceOutput:{},StandardOutputUrl:{},StandardErrorUrl:{}, +CommandPlugins:{type:"list",member:{type:"structure",members:{Name:{},Status:{},StatusDetails:{},ResponseCode:{type:"integer"},ResponseStartDateTime:{type:"timestamp"},ResponseFinishDateTime:{type:"timestamp"},Output:{},StandardOutputUrl:{},StandardErrorUrl:{},OutputS3Region:{},OutputS3BucketName:{},OutputS3KeyPrefix:{}}}},ServiceRole:{},NotificationConfig:{shape:"Sjw"},CloudWatchOutputConfig:{shape:"Shu"}}}},NextToken:{}}}},ListCommands:{input:{type:"structure",members:{CommandId:{},InstanceId:{},MaxResults:{type:"integer"},NextToken:{},Filters:{shape:"Sme"}}},output:{type:"structure",members:{Commands:{type:"list",member:{shape:"Smu"}},NextToken:{}}}},ListComplianceItems:{input:{type:"structure",members:{Filters:{shape:"Sn1"},ResourceIds:{type:"list",member:{}},ResourceTypes:{type:"list",member:{}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ComplianceItems:{type:"list",member:{type:"structure",members:{ComplianceType:{},ResourceType:{},ResourceId:{},Id:{},Title:{},Status:{},Severity:{},ExecutionSummary:{shape:"Snj"},Details:{shape:"Snm"}}}},NextToken:{}}}},ListComplianceSummaries:{input:{type:"structure",members:{Filters:{shape:"Sn1"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ComplianceSummaryItems:{type:"list",member:{type:"structure",members:{ComplianceType:{},CompliantSummary:{shape:"Snr"},NonCompliantSummary:{shape:"Snu"}}}},NextToken:{}}}},ListDocumentMetadataHistory:{input:{type:"structure",required:["Name","Metadata"],members:{Name:{},DocumentVersion:{},Metadata:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Name:{},DocumentVersion:{},Author:{},Metadata:{type:"structure",members:{ReviewerResponse:{type:"list",member:{type:"structure",members:{CreateTime:{type:"timestamp"},UpdatedTime:{type:"timestamp"},ReviewStatus:{},Comment:{shape:"So1"},Reviewer:{}}}}}},NextToken:{}}}},ListDocumentVersions:{input:{type:"structure",required:["Name"],members:{Name:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{DocumentVersions:{type:"list",member:{type:"structure",members:{Name:{},DisplayName:{},DocumentVersion:{},VersionName:{},CreatedDate:{type:"timestamp"},IsDefaultVersion:{type:"boolean"},DocumentFormat:{},Status:{},StatusInformation:{},ReviewStatus:{}}}},NextToken:{}}}},ListDocuments:{input:{type:"structure",members:{DocumentFilterList:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},Filters:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{DocumentIdentifiers:{type:"list",member:{type:"structure",members:{Name:{},CreatedDate:{type:"timestamp"},DisplayName:{},Owner:{},VersionName:{},PlatformTypes:{shape:"S3g"},DocumentVersion:{},DocumentType:{},SchemaVersion:{},DocumentFormat:{},TargetType:{},Tags:{shape:"S4"},Requires:{shape:"S2n"},ReviewStatus:{},Author:{}}}},NextToken:{}}}},ListInventoryEntries:{input:{type:"structure",required:["InstanceId","TypeName"],members:{InstanceId:{},TypeName:{},Filters:{shape:"Sig"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{TypeName:{},InstanceId:{},SchemaVersion:{},CaptureTime:{},Entries:{shape:"Sj3"},NextToken:{}}}},ListOpsItemEvents:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Key","Values","Operator"],members:{Key:{},Values:{type:"list",member:{}},Operator:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{NextToken:{},Summaries:{type:"list",member:{type:"structure",members:{OpsItemId:{},EventId:{},Source:{},DetailType:{},Detail:{},CreatedBy:{shape:"Soz"},CreatedTime:{type:"timestamp"}}}}}}},ListOpsItemRelatedItems:{input:{type:"structure",members:{OpsItemId:{},Filters:{type:"list",member:{type:"structure",required:["Key","Values","Operator"],members:{Key:{},Values:{type:"list",member:{}},Operator:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{NextToken:{},Summaries:{type:"list",member:{type:"structure",members:{OpsItemId:{},AssociationId:{},ResourceType:{},AssociationType:{},ResourceUri:{},CreatedBy:{shape:"Soz"},CreatedTime:{type:"timestamp"},LastModifiedBy:{shape:"Soz"},LastModifiedTime:{type:"timestamp"}}}}}}},ListOpsMetadata:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{OpsMetadataList:{type:"list",member:{type:"structure",members:{ResourceId:{},OpsMetadataArn:{},LastModifiedDate:{type:"timestamp"},LastModifiedUser:{},CreationDate:{type:"timestamp"}}}},NextToken:{}}}},ListResourceComplianceSummaries:{input:{type:"structure",members:{Filters:{shape:"Sn1"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ResourceComplianceSummaryItems:{type:"list",member:{type:"structure",members:{ComplianceType:{},ResourceType:{},ResourceId:{},Status:{},OverallSeverity:{},ExecutionSummary:{shape:"Snj"},CompliantSummary:{shape:"Snr"},NonCompliantSummary:{shape:"Snu"}}}},NextToken:{}}}},ListResourceDataSync:{input:{type:"structure",members:{SyncType:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ResourceDataSyncItems:{type:"list",member:{type:"structure",members:{SyncName:{},SyncType:{},SyncSource:{type:"structure",members:{SourceType:{},AwsOrganizationsSource:{shape:"S63"},SourceRegions:{shape:"S68"},IncludeFutureRegions:{type:"boolean"},State:{},EnableAllOpsDataSources:{type:"boolean"}}},S3Destination:{shape:"S5s"},LastSyncTime:{type:"timestamp"},LastSuccessfulSyncTime:{type:"timestamp"},SyncLastModifiedTime:{type:"timestamp"},LastStatus:{},SyncCreatedTime:{type:"timestamp"},LastSyncStatusMessage:{}}}},NextToken:{}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{},ResourceId:{}}},output:{type:"structure",members:{TagList:{shape:"S4"}}}},ModifyDocumentPermission:{input:{type:"structure",required:["Name","PermissionType"],members:{Name:{},PermissionType:{},AccountIdsToAdd:{shape:"Sb0"},AccountIdsToRemove:{shape:"Sb0"},SharedDocumentVersion:{}}},output:{type:"structure",members:{}}},PutComplianceItems:{input:{type:"structure",required:["ResourceId","ResourceType","ComplianceType","ExecutionSummary","Items"],members:{ResourceId:{},ResourceType:{},ComplianceType:{},ExecutionSummary:{shape:"Snj"},Items:{type:"list",member:{type:"structure",required:["Severity","Status"],members:{Id:{},Title:{},Severity:{},Status:{},Details:{shape:"Snm"}}}},ItemContentHash:{},UploadType:{}}},output:{type:"structure",members:{}}},PutInventory:{input:{type:"structure",required:["InstanceId","Items"],members:{InstanceId:{},Items:{type:"list",member:{type:"structure",required:["TypeName","SchemaVersion","CaptureTime"],members:{TypeName:{},SchemaVersion:{},CaptureTime:{},ContentHash:{},Content:{shape:"Sj3"},Context:{type:"map",key:{},value:{}}}}}}},output:{type:"structure",members:{Message:{}}}},PutParameter:{input:{type:"structure",required:["Name","Value"],members:{Name:{},Description:{},Value:{shape:"Sla"},Type:{},KeyId:{},Overwrite:{type:"boolean"},AllowedPattern:{},Tags:{shape:"S4"},Tier:{},Policies:{},DataType:{}}},output:{type:"structure",members:{Version:{type:"long"},Tier:{}}}},RegisterDefaultPatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{}}},output:{type:"structure",members:{BaselineId:{}}}},RegisterPatchBaselineForPatchGroup:{input:{type:"structure",required:["BaselineId","PatchGroup"],members:{BaselineId:{},PatchGroup:{}}},output:{type:"structure",members:{BaselineId:{},PatchGroup:{}}}},RegisterTargetWithMaintenanceWindow:{input:{type:"structure",required:["WindowId","ResourceType","Targets"],members:{WindowId:{},ResourceType:{},Targets:{shape:"S18"},OwnerInformation:{shape:"Sci"},Name:{},Description:{shape:"S3w"},ClientToken:{idempotencyToken:!0}}},output:{type:"structure",members:{WindowTargetId:{}}}},RegisterTaskWithMaintenanceWindow:{input:{type:"structure",required:["WindowId","TaskArn","TaskType"],members:{WindowId:{},Targets:{shape:"S18"},TaskArn:{},ServiceRoleArn:{},TaskType:{},TaskParameters:{shape:"Seo"},TaskInvocationParameters:{shape:"Sju"},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},LoggingInfo:{shape:"Seu"},Name:{},Description:{shape:"S3w"},ClientToken:{idempotencyToken:!0},CutoffBehavior:{}}},output:{type:"structure",members:{WindowTaskId:{}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceType","ResourceId","TagKeys"],members:{ResourceType:{},ResourceId:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},ResetServiceSetting:{input:{type:"structure",required:["SettingId"],members:{SettingId:{}}},output:{type:"structure",members:{ServiceSetting:{shape:"Slw"}}}},ResumeSession:{input:{type:"structure",required:["SessionId"],members:{SessionId:{}}},output:{type:"structure",members:{SessionId:{},TokenValue:{},StreamUrl:{}}}},SendAutomationSignal:{input:{type:"structure",required:["AutomationExecutionId","SignalType"],members:{AutomationExecutionId:{},SignalType:{},Payload:{shape:"S8z"}}},output:{type:"structure",members:{}}},SendCommand:{input:{type:"structure",required:["DocumentName"],members:{InstanceIds:{shape:"Si"},Targets:{shape:"S18"},DocumentName:{},DocumentVersion:{},DocumentHash:{},DocumentHashType:{},TimeoutSeconds:{type:"integer"},Comment:{},Parameters:{shape:"S14"},OutputS3Region:{},OutputS3BucketName:{},OutputS3KeyPrefix:{},MaxConcurrency:{},MaxErrors:{},ServiceRoleArn:{},NotificationConfig:{shape:"Sjw"},CloudWatchOutputConfig:{shape:"Shu"}}},output:{type:"structure",members:{Command:{shape:"Smu"}}}},StartAssociationsOnce:{input:{type:"structure",required:["AssociationIds"],members:{AssociationIds:{type:"list",member:{}}}},output:{type:"structure",members:{}}},StartAutomationExecution:{input:{type:"structure",required:["DocumentName"],members:{DocumentName:{},DocumentVersion:{},Parameters:{shape:"S8z"},ClientToken:{},Mode:{},TargetParameterName:{},Targets:{shape:"S18"},TargetMaps:{shape:"S94"},MaxConcurrency:{},MaxErrors:{},TargetLocations:{shape:"S1s"},Tags:{shape:"S4"}}},output:{type:"structure",members:{AutomationExecutionId:{}}}},StartChangeRequestExecution:{input:{type:"structure",required:["DocumentName","Runbooks"],members:{ScheduledTime:{type:"timestamp"},DocumentName:{},DocumentVersion:{},Parameters:{shape:"S8z"},ChangeRequestName:{},ClientToken:{},AutoApprove:{type:"boolean"},Runbooks:{shape:"S9d"},Tags:{shape:"S4"},ScheduledEndTime:{type:"timestamp"},ChangeDetails:{}}},output:{type:"structure",members:{AutomationExecutionId:{}}}},StartSession:{input:{type:"structure",required:["Target"],members:{Target:{},DocumentName:{},Reason:{},Parameters:{type:"map",key:{},value:{type:"list",member:{}}}}},output:{type:"structure",members:{SessionId:{},TokenValue:{},StreamUrl:{}}}},StopAutomationExecution:{input:{type:"structure",required:["AutomationExecutionId"],members:{AutomationExecutionId:{},Type:{}}},output:{type:"structure",members:{}}},TerminateSession:{input:{type:"structure",required:["SessionId"],members:{SessionId:{}}},output:{type:"structure",members:{SessionId:{}}}},UnlabelParameterVersion:{input:{type:"structure",required:["Name","ParameterVersion","Labels"],members:{Name:{},ParameterVersion:{type:"long"},Labels:{shape:"Slg"}}},output:{type:"structure",members:{RemovedLabels:{shape:"Slg"},InvalidLabels:{shape:"Slg"}}}},UpdateAssociation:{input:{type:"structure",required:["AssociationId"],members:{AssociationId:{},Parameters:{shape:"S14"},DocumentVersion:{},ScheduleExpression:{},OutputLocation:{shape:"S1e"},Name:{},Targets:{shape:"S18"},AssociationName:{},AssociationVersion:{},AutomationTargetParameterName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}},output:{type:"structure",members:{AssociationDescription:{shape:"S20"}}}},UpdateAssociationStatus:{input:{type:"structure",required:["Name","InstanceId","AssociationStatus"],members:{Name:{},InstanceId:{},AssociationStatus:{shape:"S23"}}},output:{type:"structure",members:{AssociationDescription:{shape:"S20"}}}},UpdateDocument:{input:{type:"structure",required:["Content","Name"],members:{Content:{},Attachments:{shape:"S2p"},Name:{},DisplayName:{},VersionName:{},DocumentVersion:{},DocumentFormat:{},TargetType:{}}},output:{type:"structure",members:{DocumentDescription:{shape:"S32"}}}},UpdateDocumentDefaultVersion:{input:{type:"structure",required:["Name","DocumentVersion"],members:{Name:{},DocumentVersion:{}}},output:{type:"structure",members:{Description:{type:"structure",members:{Name:{},DefaultVersion:{},DefaultVersionName:{}}}}}},UpdateDocumentMetadata:{input:{type:"structure",required:["Name","DocumentReviews"],members:{Name:{},DocumentVersion:{},DocumentReviews:{type:"structure",required:["Action"],members:{Action:{},Comment:{shape:"So1"}}}}},output:{type:"structure",members:{}}},UpdateMaintenanceWindow:{input:{type:"structure",required:["WindowId"],members:{WindowId:{},Name:{},Description:{shape:"S3w"},StartDate:{},EndDate:{},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},Duration:{type:"integer"},Cutoff:{type:"integer"},AllowUnassociatedTargets:{type:"boolean"},Enabled:{type:"boolean"},Replace:{type:"boolean"}}},output:{type:"structure",members:{WindowId:{},Name:{},Description:{shape:"S3w"},StartDate:{},EndDate:{},Schedule:{},ScheduleTimezone:{},ScheduleOffset:{type:"integer"},Duration:{type:"integer"},Cutoff:{type:"integer"},AllowUnassociatedTargets:{type:"boolean"},Enabled:{type:"boolean"}}}},UpdateMaintenanceWindowTarget:{input:{type:"structure",required:["WindowId","WindowTargetId"],members:{WindowId:{},WindowTargetId:{},Targets:{shape:"S18"},OwnerInformation:{shape:"Sci"},Name:{},Description:{shape:"S3w"},Replace:{type:"boolean"}}},output:{type:"structure",members:{WindowId:{},WindowTargetId:{},Targets:{shape:"S18"},OwnerInformation:{shape:"Sci"},Name:{},Description:{shape:"S3w"}}}},UpdateMaintenanceWindowTask:{input:{type:"structure",required:["WindowId","WindowTaskId"],members:{WindowId:{},WindowTaskId:{},Targets:{shape:"S18"},TaskArn:{},ServiceRoleArn:{},TaskParameters:{shape:"Seo"},TaskInvocationParameters:{shape:"Sju"},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},LoggingInfo:{shape:"Seu"},Name:{},Description:{shape:"S3w"},Replace:{type:"boolean"},CutoffBehavior:{}}},output:{type:"structure",members:{WindowId:{},WindowTaskId:{},Targets:{shape:"S18"},TaskArn:{},ServiceRoleArn:{},TaskParameters:{shape:"Seo"},TaskInvocationParameters:{shape:"Sju"},Priority:{type:"integer"},MaxConcurrency:{},MaxErrors:{},LoggingInfo:{shape:"Seu"},Name:{},Description:{shape:"S3w"},CutoffBehavior:{}}}},UpdateManagedInstanceRole:{input:{type:"structure",required:["InstanceId","IamRole"],members:{InstanceId:{},IamRole:{}}},output:{type:"structure",members:{}}},UpdateOpsItem:{input:{type:"structure",required:["OpsItemId"],members:{Description:{},OperationalData:{shape:"S4a"},OperationalDataToDelete:{type:"list",member:{}},Notifications:{shape:"S4f"},Priority:{type:"integer"},RelatedOpsItems:{shape:"S4j"},Status:{},OpsItemId:{},Title:{},Category:{},Severity:{},ActualStartTime:{type:"timestamp"},ActualEndTime:{type:"timestamp"},PlannedStartTime:{type:"timestamp"},PlannedEndTime:{type:"timestamp"}}},output:{type:"structure",members:{}}},UpdateOpsMetadata:{input:{type:"structure",required:["OpsMetadataArn"],members:{OpsMetadataArn:{},MetadataToUpdate:{shape:"S4s"},KeysToDelete:{type:"list",member:{}}}},output:{type:"structure",members:{OpsMetadataArn:{}}}},UpdatePatchBaseline:{input:{type:"structure",required:["BaselineId"],members:{BaselineId:{},Name:{},GlobalFilters:{shape:"S51"},ApprovalRules:{shape:"S57"},ApprovedPatches:{shape:"S5e"},ApprovedPatchesComplianceLevel:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},RejectedPatches:{shape:"S5e"},RejectedPatchesAction:{},Description:{},Sources:{shape:"S5i"},Replace:{type:"boolean"}}},output:{type:"structure",members:{BaselineId:{},Name:{},OperatingSystem:{},GlobalFilters:{shape:"S51"},ApprovalRules:{shape:"S57"},ApprovedPatches:{shape:"S5e"},ApprovedPatchesComplianceLevel:{},ApprovedPatchesEnableNonSecurity:{type:"boolean"},RejectedPatches:{shape:"S5e"},RejectedPatchesAction:{},CreatedDate:{type:"timestamp"},ModifiedDate:{type:"timestamp"},Description:{},Sources:{shape:"S5i"}}}},UpdateResourceDataSync:{input:{type:"structure",required:["SyncName","SyncType","SyncSource"],members:{SyncName:{},SyncType:{},SyncSource:{shape:"S61"}}},output:{type:"structure",members:{}}},UpdateServiceSetting:{input:{type:"structure",required:["SettingId","SettingValue"],members:{SettingId:{},SettingValue:{}}},output:{type:"structure",members:{}}}},shapes:{S4:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Si:{type:"list",member:{}},S14:{type:"map",key:{},value:{type:"list",member:{}},sensitive:!0},S18:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},S1e:{type:"structure",members:{S3Location:{type:"structure",members:{OutputS3Region:{},OutputS3BucketName:{},OutputS3KeyPrefix:{}}}}},S1q:{type:"list",member:{}},S1s:{type:"list",member:{shape:"S1t"}},S1t:{type:"structure",members:{Accounts:{type:"list",member:{}},Regions:{type:"list",member:{}},TargetLocationMaxConcurrency:{},TargetLocationMaxErrors:{},ExecutionRoleName:{}}},S20:{type:"structure",members:{Name:{},InstanceId:{},AssociationVersion:{},Date:{type:"timestamp"},LastUpdateAssociationDate:{type:"timestamp"},Status:{shape:"S23"},Overview:{shape:"S27"},DocumentVersion:{},AutomationTargetParameterName:{},Parameters:{shape:"S14"},AssociationId:{},Targets:{shape:"S18"},ScheduleExpression:{},OutputLocation:{shape:"S1e"},LastExecutionDate:{type:"timestamp"},LastSuccessfulExecutionDate:{type:"timestamp"},AssociationName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}},S23:{type:"structure",required:["Date","Name","Message"],members:{Date:{type:"timestamp"},Name:{},Message:{},AdditionalInfo:{}}},S27:{type:"structure",members:{Status:{},DetailedStatus:{},AssociationStatusAggregatedCount:{type:"map",key:{},value:{type:"integer"}}}},S2e:{type:"structure",required:["Name"],members:{Name:{},InstanceId:{},Parameters:{shape:"S14"},AutomationTargetParameterName:{},DocumentVersion:{},Targets:{shape:"S18"},ScheduleExpression:{},OutputLocation:{shape:"S1e"},AssociationName:{},MaxErrors:{},MaxConcurrency:{},ComplianceSeverity:{},SyncCompliance:{},ApplyOnlyAtCronInterval:{type:"boolean"},CalendarNames:{shape:"S1q"},TargetLocations:{shape:"S1s"}}},S2n:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Version:{}}}},S2p:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}},Name:{}}}},S32:{type:"structure",members:{Sha1:{},Hash:{},HashType:{},Name:{},DisplayName:{},VersionName:{},Owner:{},CreatedDate:{type:"timestamp"},Status:{},StatusInformation:{},DocumentVersion:{},Description:{},Parameters:{type:"list",member:{type:"structure",members:{Name:{},Type:{},Description:{},DefaultValue:{}}}},PlatformTypes:{shape:"S3g"},DocumentType:{},SchemaVersion:{},LatestVersion:{},DefaultVersion:{},DocumentFormat:{},TargetType:{},Tags:{shape:"S4"},AttachmentsInformation:{type:"list",member:{type:"structure",members:{Name:{}}}},Requires:{shape:"S2n"},Author:{},ReviewInformation:{type:"list",member:{type:"structure",members:{ReviewedTime:{type:"timestamp"},Status:{},Reviewer:{}}}},ApprovedVersion:{},PendingReviewVersion:{},ReviewStatus:{},Category:{type:"list",member:{}},CategoryEnum:{type:"list",member:{}}}},S3g:{type:"list",member:{}},S3w:{type:"string",sensitive:!0},S4a:{type:"map",key:{},value:{type:"structure",members:{Value:{},Type:{}}}},S4f:{type:"list",member:{type:"structure",members:{Arn:{}}}},S4j:{type:"list",member:{type:"structure",required:["OpsItemId"],members:{OpsItemId:{}}}},S4s:{type:"map",key:{},value:{type:"structure",members:{Value:{}}}},S51:{type:"structure",required:["PatchFilters"],members:{PatchFilters:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}}}}}}},S57:{type:"structure",required:["PatchRules"],members:{PatchRules:{type:"list",member:{type:"structure",required:["PatchFilterGroup"],members:{PatchFilterGroup:{shape:"S51"},ComplianceLevel:{},ApproveAfterDays:{type:"integer"},ApproveUntilDate:{},EnableNonSecurity:{type:"boolean"}}}}}},S5e:{type:"list",member:{}},S5i:{type:"list",member:{type:"structure",required:["Name","Products","Configuration"],members:{Name:{},Products:{type:"list",member:{}},Configuration:{type:"string",sensitive:!0}}}},S5s:{type:"structure",required:["BucketName","SyncFormat","Region"],members:{BucketName:{},Prefix:{},SyncFormat:{},Region:{},AWSKMSKeyARN:{},DestinationDataSharing:{type:"structure",members:{DestinationDataSharingType:{}}}}},S61:{type:"structure",required:["SourceType","SourceRegions"],members:{SourceType:{},AwsOrganizationsSource:{shape:"S63"},SourceRegions:{shape:"S68"},IncludeFutureRegions:{type:"boolean"},EnableAllOpsDataSources:{type:"boolean"}}},S63:{type:"structure",required:["OrganizationSourceType"],members:{OrganizationSourceType:{},OrganizationalUnits:{type:"list",member:{type:"structure",members:{OrganizationalUnitId:{}}}}}},S68:{type:"list",member:{}},S6p:{type:"structure",members:{TotalCount:{type:"integer"},RemainingCount:{type:"integer"},SummaryItems:{type:"list",member:{type:"structure",members:{Version:{},Count:{type:"integer"},RemainingCount:{type:"integer"}}}}}},S74:{type:"list",member:{}},S8z:{type:"map",key:{},value:{type:"list",member:{}}},S94:{type:"list",member:{type:"map",key:{},value:{type:"list",member:{}}}},S99:{type:"structure",members:{ParameterValues:{type:"list",member:{}},Truncated:{type:"boolean"}}},S9d:{type:"list",member:{type:"structure",required:["DocumentName"],members:{DocumentName:{},DocumentVersion:{},Parameters:{shape:"S8z"},TargetParameterName:{},Targets:{shape:"S18"},MaxConcurrency:{},MaxErrors:{},TargetLocations:{shape:"S1s"}}}},S9n:{type:"list",member:{type:"structure",members:{StepName:{},Action:{},TimeoutSeconds:{type:"long"},OnFailure:{},MaxAttempts:{type:"integer"},ExecutionStartTime:{type:"timestamp"},ExecutionEndTime:{type:"timestamp"},StepStatus:{},ResponseCode:{},Inputs:{type:"map",key:{},value:{}},Outputs:{shape:"S8z"},Response:{},FailureMessage:{},FailureDetails:{type:"structure",members:{FailureStage:{},FailureType:{},Details:{shape:"S8z"}}},StepExecutionId:{},OverriddenParameters:{shape:"S8z"},IsEnd:{type:"boolean"},NextStep:{},IsCritical:{type:"boolean"},ValidNextSteps:{type:"list",member:{}},Targets:{shape:"S18"},TargetLocation:{shape:"S1t"}}}},S9x:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},Sa5:{type:"structure",members:{Id:{},ReleaseDate:{type:"timestamp"},Title:{},Description:{},ContentUrl:{},Vendor:{},ProductFamily:{},Product:{},Classification:{},MsrcSeverity:{},KbNumber:{},MsrcNumber:{},Language:{},AdvisoryIds:{type:"list",member:{}},BugzillaIds:{type:"list",member:{}},CVEIds:{type:"list",member:{}},Name:{},Epoch:{type:"integer"},Version:{},Release:{},Arch:{},Severity:{},Repository:{}}},Sb0:{type:"list",member:{}},Sbt:{type:"list",member:{}},Scf:{type:"structure",required:["InstanceId","PatchGroup","BaselineId","OperationStartTime","OperationEndTime","Operation"],members:{InstanceId:{},PatchGroup:{},BaselineId:{},SnapshotId:{},InstallOverrideList:{},OwnerInformation:{shape:"Sci"},InstalledCount:{type:"integer"},InstalledOtherCount:{type:"integer"},InstalledPendingRebootCount:{type:"integer"},InstalledRejectedCount:{type:"integer"},MissingCount:{type:"integer"},FailedCount:{type:"integer"},UnreportedNotApplicableCount:{type:"integer"},NotApplicableCount:{type:"integer"},OperationStartTime:{type:"timestamp"},OperationEndTime:{type:"timestamp"},Operation:{},LastNoRebootInstallOperationTime:{type:"timestamp"},RebootOption:{},CriticalNonCompliantCount:{type:"integer"},SecurityNonCompliantCount:{type:"integer"},OtherNonCompliantCount:{type:"integer"}}},Sci:{type:"string",sensitive:!0},Sdl:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}}}}},Sdx:{type:"string",sensitive:!0},Seo:{type:"map",key:{},value:{type:"structure",members:{Values:{type:"list",member:{type:"string",sensitive:!0},sensitive:!0}},sensitive:!0},sensitive:!0},Seu:{type:"structure",required:["S3BucketName","S3Region"],members:{S3BucketName:{},S3KeyPrefix:{},S3Region:{}}},Sfo:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Option:{},Values:{type:"list",member:{}}}}},Sg3:{type:"list",member:{type:"structure",members:{PolicyText:{},PolicyType:{},PolicyStatus:{}}}},Sg9:{type:"structure",members:{BaselineId:{},BaselineName:{},OperatingSystem:{},BaselineDescription:{},DefaultBaseline:{type:"boolean"}}},Shu:{type:"structure",members:{CloudWatchLogGroupName:{},CloudWatchOutputEnabled:{type:"boolean"}}},Sig:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}},Type:{}}}},Sim:{type:"list",member:{type:"structure",members:{Expression:{},Aggregators:{shape:"Sim"},Groups:{type:"list",member:{type:"structure",required:["Name","Filters"],members:{Name:{},Filters:{shape:"Sig"}}}}}}},Sj3:{type:"list",member:{type:"map",key:{},value:{}}},Sju:{type:"structure",members:{RunCommand:{type:"structure",members:{Comment:{},CloudWatchOutputConfig:{shape:"Shu"},DocumentHash:{},DocumentHashType:{},DocumentVersion:{},NotificationConfig:{shape:"Sjw"},OutputS3BucketName:{},OutputS3KeyPrefix:{},Parameters:{shape:"S14"},ServiceRoleArn:{},TimeoutSeconds:{type:"integer"}}},Automation:{type:"structure",members:{DocumentVersion:{},Parameters:{shape:"S8z"}}},StepFunctions:{type:"structure",members:{Input:{type:"string",sensitive:!0},Name:{}}},Lambda:{type:"structure",members:{ClientContext:{},Qualifier:{},Payload:{type:"blob",sensitive:!0}}}}},Sjw:{type:"structure",members:{NotificationArn:{},NotificationEvents:{type:"list",member:{}},NotificationType:{}}},Skh:{type:"list",member:{type:"structure",required:["Key","Values"],members:{Key:{},Values:{type:"list",member:{}},Type:{}}}},Skn:{type:"list",member:{type:"structure",members:{AggregatorType:{},TypeName:{},AttributeName:{},Values:{type:"map",key:{},value:{}},Filters:{shape:"Skh"},Aggregators:{shape:"Skn"}}}},Sl9:{type:"structure",members:{Name:{},Type:{},Value:{shape:"Sla"},Version:{type:"long"},Selector:{},SourceResult:{},LastModifiedDate:{type:"timestamp"},ARN:{},DataType:{}}},Sla:{type:"string",sensitive:!0},Slg:{type:"list",member:{}},Slk:{type:"list",member:{shape:"Sl9"}},Slw:{type:"structure",members:{SettingId:{},SettingValue:{},LastModifiedDate:{type:"timestamp"},LastModifiedUser:{},ARN:{},Status:{}}},Sme:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},Smu:{type:"structure",members:{CommandId:{},DocumentName:{},DocumentVersion:{},Comment:{},ExpiresAfter:{type:"timestamp"},Parameters:{shape:"S14"},InstanceIds:{shape:"Si"},Targets:{shape:"S18"},RequestedDateTime:{type:"timestamp"},Status:{},StatusDetails:{},OutputS3Region:{},OutputS3BucketName:{},OutputS3KeyPrefix:{},MaxConcurrency:{},MaxErrors:{},TargetCount:{type:"integer"},CompletedCount:{type:"integer"},ErrorCount:{type:"integer"},DeliveryTimedOutCount:{type:"integer"},ServiceRole:{},NotificationConfig:{shape:"Sjw"},CloudWatchOutputConfig:{shape:"Shu"},TimeoutSeconds:{type:"integer"}}},Sn1:{type:"list",member:{type:"structure",members:{Key:{},Values:{type:"list",member:{}},Type:{}}}},Snj:{type:"structure",required:["ExecutionTime"],members:{ExecutionTime:{type:"timestamp"},ExecutionId:{},ExecutionType:{}}},Snm:{type:"map",key:{},value:{}},Snr:{type:"structure",members:{CompliantCount:{type:"integer"},SeveritySummary:{shape:"Snt"}}},Snt:{type:"structure",members:{CriticalCount:{type:"integer"},HighCount:{type:"integer"},MediumCount:{type:"integer"},LowCount:{type:"integer"},InformationalCount:{type:"integer"},UnspecifiedCount:{type:"integer"}}},Snu:{type:"structure",members:{NonCompliantCount:{type:"integer"},SeveritySummary:{shape:"Snt"}}},So1:{type:"list",member:{type:"structure",members:{Type:{},Content:{}}}},Soz:{type:"structure",members:{Arn:{}}}}}},{}],224:[function(e,t,r){t.exports={pagination:{DescribeActivations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ActivationList"},DescribeAssociationExecutionTargets:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"AssociationExecutionTargets"},DescribeAssociationExecutions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"AssociationExecutions"},DescribeAutomationExecutions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"AutomationExecutionMetadataList"},DescribeAutomationStepExecutions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"StepExecutions"},DescribeAvailablePatches:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Patches"},DescribeEffectiveInstanceAssociations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Associations"},DescribeEffectivePatchesForPatchBaseline:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"EffectivePatches"},DescribeInstanceAssociationsStatus:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstanceAssociationStatusInfos"},DescribeInstanceInformation:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstanceInformationList"},DescribeInstancePatchStates:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstancePatchStates"},DescribeInstancePatchStatesForPatchGroup:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InstancePatchStates"},DescribeInstancePatches:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Patches"},DescribeInventoryDeletions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"InventoryDeletions"},DescribeMaintenanceWindowExecutionTaskInvocations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowExecutionTaskInvocationIdentities"},DescribeMaintenanceWindowExecutionTasks:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowExecutionTaskIdentities"},DescribeMaintenanceWindowExecutions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowExecutions"},DescribeMaintenanceWindowSchedule:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ScheduledWindowExecutions"},DescribeMaintenanceWindowTargets:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Targets"},DescribeMaintenanceWindowTasks:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Tasks"},DescribeMaintenanceWindows:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowIdentities"},DescribeMaintenanceWindowsForTarget:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"WindowIdentities"},DescribeOpsItems:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"OpsItemSummaries"},DescribeParameters:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},DescribePatchBaselines:{input_token:"NextToken",limit_key:"MaxResults", +output_token:"NextToken",result_key:"BaselineIdentities"},DescribePatchGroups:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Mappings"},DescribePatchProperties:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Properties"},DescribeSessions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Sessions"},GetInventory:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Entities"},GetInventorySchema:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Schemas"},GetOpsSummary:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Entities"},GetParameterHistory:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetParametersByPath:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListAssociationVersions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"AssociationVersions"},ListAssociations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Associations"},ListCommandInvocations:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"CommandInvocations"},ListCommands:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Commands"},ListComplianceItems:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ComplianceItems"},ListComplianceSummaries:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ComplianceSummaryItems"},ListDocumentVersions:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DocumentVersions"},ListDocuments:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"DocumentIdentifiers"},ListOpsItemEvents:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Summaries"},ListOpsItemRelatedItems:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"Summaries"},ListOpsMetadata:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"OpsMetadataList"},ListResourceComplianceSummaries:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ResourceComplianceSummaryItems"},ListResourceDataSync:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken",result_key:"ResourceDataSyncItems"}}}},{}],225:[function(e,t,r){t.exports={version:2,waiters:{CommandExecuted:{delay:5,operation:"GetCommandInvocation",maxAttempts:20,acceptors:[{expected:"Pending",matcher:"path",state:"retry",argument:"Status"},{expected:"InProgress",matcher:"path",state:"retry",argument:"Status"},{expected:"Delayed",matcher:"path",state:"retry",argument:"Status"},{expected:"Success",matcher:"path",state:"success",argument:"Status"},{expected:"Cancelled",matcher:"path",state:"failure",argument:"Status"},{expected:"TimedOut",matcher:"path",state:"failure",argument:"Status"},{expected:"Failed",matcher:"path",state:"failure",argument:"Status"},{expected:"Cancelling",matcher:"path",state:"failure",argument:"Status"},{state:"retry",matcher:"error",expected:"InvocationDoesNotExist"}]}}}},{}],226:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2013-06-30",endpointPrefix:"storagegateway",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Storage Gateway",serviceId:"Storage Gateway",signatureVersion:"v4",targetPrefix:"StorageGateway_20130630",uid:"storagegateway-2013-06-30"},operations:{ActivateGateway:{input:{type:"structure",required:["ActivationKey","GatewayName","GatewayTimezone","GatewayRegion"],members:{ActivationKey:{},GatewayName:{},GatewayTimezone:{},GatewayRegion:{},GatewayType:{},TapeDriveType:{},MediumChangerType:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{GatewayARN:{}}}},AddCache:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sg"}}},output:{type:"structure",members:{GatewayARN:{}}}},AddTagsToResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{ResourceARN:{}}}},AddUploadBuffer:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sg"}}},output:{type:"structure",members:{GatewayARN:{}}}},AddWorkingStorage:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sg"}}},output:{type:"structure",members:{GatewayARN:{}}}},AssignTapePool:{input:{type:"structure",required:["TapeARN","PoolId"],members:{TapeARN:{},PoolId:{},BypassGovernanceRetention:{type:"boolean"}}},output:{type:"structure",members:{TapeARN:{}}}},AssociateFileSystem:{input:{type:"structure",required:["UserName","Password","ClientToken","GatewayARN","LocationARN"],members:{UserName:{},Password:{shape:"Sx"},ClientToken:{},GatewayARN:{},LocationARN:{},Tags:{shape:"S9"},AuditDestinationARN:{},CacheAttributes:{shape:"S11"},EndpointNetworkConfiguration:{shape:"S13"}}},output:{type:"structure",members:{FileSystemAssociationARN:{}}}},AttachVolume:{input:{type:"structure",required:["GatewayARN","VolumeARN","NetworkInterfaceId"],members:{GatewayARN:{},TargetName:{},VolumeARN:{},NetworkInterfaceId:{},DiskId:{}}},output:{type:"structure",members:{VolumeARN:{},TargetARN:{}}}},CancelArchival:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},CancelRetrieval:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},CreateCachediSCSIVolume:{input:{type:"structure",required:["GatewayARN","VolumeSizeInBytes","TargetName","NetworkInterfaceId","ClientToken"],members:{GatewayARN:{},VolumeSizeInBytes:{type:"long"},SnapshotId:{},TargetName:{},SourceVolumeARN:{},NetworkInterfaceId:{},ClientToken:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{VolumeARN:{},TargetARN:{}}}},CreateNFSFileShare:{input:{type:"structure",required:["ClientToken","GatewayARN","Role","LocationARN"],members:{ClientToken:{},NFSFileShareDefaults:{shape:"S1p"},GatewayARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Role:{},LocationARN:{},DefaultStorageClass:{},ObjectACL:{},ClientList:{shape:"S1w"},Squash:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},Tags:{shape:"S9"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},VPCEndpointDNSName:{},BucketRegion:{},AuditDestinationARN:{}}},output:{type:"structure",members:{FileShareARN:{}}}},CreateSMBFileShare:{input:{type:"structure",required:["ClientToken","GatewayARN","Role","LocationARN"],members:{ClientToken:{},GatewayARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Role:{},LocationARN:{},DefaultStorageClass:{},ObjectACL:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},SMBACLEnabled:{type:"boolean"},AccessBasedEnumeration:{type:"boolean"},AdminUserList:{shape:"S25"},ValidUserList:{shape:"S25"},InvalidUserList:{shape:"S25"},AuditDestinationARN:{},Authentication:{},CaseSensitivity:{},Tags:{shape:"S9"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},VPCEndpointDNSName:{},BucketRegion:{},OplocksEnabled:{type:"boolean"}}},output:{type:"structure",members:{FileShareARN:{}}}},CreateSnapshot:{input:{type:"structure",required:["VolumeARN","SnapshotDescription"],members:{VolumeARN:{},SnapshotDescription:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{VolumeARN:{},SnapshotId:{}}}},CreateSnapshotFromVolumeRecoveryPoint:{input:{type:"structure",required:["VolumeARN","SnapshotDescription"],members:{VolumeARN:{},SnapshotDescription:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{SnapshotId:{},VolumeARN:{},VolumeRecoveryPointTime:{}}}},CreateStorediSCSIVolume:{input:{type:"structure",required:["GatewayARN","DiskId","PreserveExistingData","TargetName","NetworkInterfaceId"],members:{GatewayARN:{},DiskId:{},SnapshotId:{},PreserveExistingData:{type:"boolean"},TargetName:{},NetworkInterfaceId:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{VolumeARN:{},VolumeSizeInBytes:{type:"long"},TargetARN:{}}}},CreateTapePool:{input:{type:"structure",required:["PoolName","StorageClass"],members:{PoolName:{},StorageClass:{},RetentionLockType:{},RetentionLockTimeInDays:{type:"integer"},Tags:{shape:"S9"}}},output:{type:"structure",members:{PoolARN:{}}}},CreateTapeWithBarcode:{input:{type:"structure",required:["GatewayARN","TapeSizeInBytes","TapeBarcode"],members:{GatewayARN:{},TapeSizeInBytes:{type:"long"},TapeBarcode:{},KMSEncrypted:{type:"boolean"},KMSKey:{},PoolId:{},Worm:{type:"boolean"},Tags:{shape:"S9"}}},output:{type:"structure",members:{TapeARN:{}}}},CreateTapes:{input:{type:"structure",required:["GatewayARN","TapeSizeInBytes","ClientToken","NumTapesToCreate","TapeBarcodePrefix"],members:{GatewayARN:{},TapeSizeInBytes:{type:"long"},ClientToken:{},NumTapesToCreate:{type:"integer"},TapeBarcodePrefix:{},KMSEncrypted:{type:"boolean"},KMSKey:{},PoolId:{},Worm:{type:"boolean"},Tags:{shape:"S9"}}},output:{type:"structure",members:{TapeARNs:{shape:"S2x"}}}},DeleteAutomaticTapeCreationPolicy:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DeleteBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN","BandwidthType"],members:{GatewayARN:{},BandwidthType:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DeleteChapCredentials:{input:{type:"structure",required:["TargetARN","InitiatorName"],members:{TargetARN:{},InitiatorName:{}}},output:{type:"structure",members:{TargetARN:{},InitiatorName:{}}}},DeleteFileShare:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{},ForceDelete:{type:"boolean"}}},output:{type:"structure",members:{FileShareARN:{}}}},DeleteGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DeleteSnapshotSchedule:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{}}}},DeleteTape:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{},BypassGovernanceRetention:{type:"boolean"}}},output:{type:"structure",members:{TapeARN:{}}}},DeleteTapeArchive:{input:{type:"structure",required:["TapeARN"],members:{TapeARN:{},BypassGovernanceRetention:{type:"boolean"}}},output:{type:"structure",members:{TapeARN:{}}}},DeleteTapePool:{input:{type:"structure",required:["PoolARN"],members:{PoolARN:{}}},output:{type:"structure",members:{PoolARN:{}}}},DeleteVolume:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{}}}},DescribeAvailabilityMonitorTest:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},Status:{},StartTime:{type:"timestamp"}}}},DescribeBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}}},DescribeBandwidthRateLimitSchedule:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},BandwidthRateLimitIntervals:{shape:"S3u"}}}},DescribeCache:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sg"},CacheAllocatedInBytes:{type:"long"},CacheUsedPercentage:{type:"double"},CacheDirtyPercentage:{type:"double"},CacheHitPercentage:{type:"double"},CacheMissPercentage:{type:"double"}}}},DescribeCachediSCSIVolumes:{input:{type:"structure",required:["VolumeARNs"],members:{VolumeARNs:{shape:"S44"}}},output:{type:"structure",members:{CachediSCSIVolumes:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},VolumeType:{},VolumeStatus:{},VolumeAttachmentStatus:{},VolumeSizeInBytes:{type:"long"},VolumeProgress:{type:"double"},SourceSnapshotId:{},VolumeiSCSIAttributes:{shape:"S4d"},CreatedDate:{type:"timestamp"},VolumeUsedInBytes:{type:"long"},KMSKey:{},TargetName:{}}}}}}},DescribeChapCredentials:{input:{type:"structure",required:["TargetARN"],members:{TargetARN:{}}},output:{type:"structure",members:{ChapCredentials:{type:"list",member:{type:"structure",members:{TargetARN:{},SecretToAuthenticateInitiator:{shape:"S4m"},InitiatorName:{},SecretToAuthenticateTarget:{shape:"S4m"}}}}}}},DescribeFileSystemAssociations:{input:{type:"structure",required:["FileSystemAssociationARNList"],members:{FileSystemAssociationARNList:{type:"list",member:{}}}},output:{type:"structure",members:{FileSystemAssociationInfoList:{type:"list",member:{type:"structure",members:{FileSystemAssociationARN:{},LocationARN:{},FileSystemAssociationStatus:{},AuditDestinationARN:{},GatewayARN:{},Tags:{shape:"S9"},CacheAttributes:{shape:"S11"},EndpointNetworkConfiguration:{shape:"S13"},FileSystemAssociationStatusDetails:{type:"list",member:{type:"structure",members:{ErrorCode:{}}}}}}}}}},DescribeGatewayInformation:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},GatewayId:{},GatewayName:{},GatewayTimezone:{},GatewayState:{},GatewayNetworkInterfaces:{type:"list",member:{type:"structure",members:{Ipv4Address:{},MacAddress:{},Ipv6Address:{}}}},GatewayType:{},NextUpdateAvailabilityDate:{},LastSoftwareUpdate:{},Ec2InstanceId:{},Ec2InstanceRegion:{},Tags:{shape:"S9"},VPCEndpoint:{},CloudWatchLogGroupARN:{},HostEnvironment:{},EndpointType:{},SoftwareUpdatesEndDate:{},DeprecationDate:{},GatewayCapacity:{},SupportedGatewayCapacities:{type:"list",member:{}},HostEnvironmentId:{}}}},DescribeMaintenanceStartTime:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},HourOfDay:{type:"integer"},MinuteOfHour:{type:"integer"},DayOfWeek:{type:"integer"},DayOfMonth:{type:"integer"},Timezone:{}}}},DescribeNFSFileShares:{input:{type:"structure",required:["FileShareARNList"],members:{FileShareARNList:{shape:"S5i"}}},output:{type:"structure",members:{NFSFileShareInfoList:{type:"list",member:{type:"structure",members:{NFSFileShareDefaults:{shape:"S1p"},FileShareARN:{},FileShareId:{},FileShareStatus:{},GatewayARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Path:{},Role:{},LocationARN:{},DefaultStorageClass:{},ObjectACL:{},ClientList:{shape:"S1w"},Squash:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},Tags:{shape:"S9"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},VPCEndpointDNSName:{},BucketRegion:{},AuditDestinationARN:{}}}}}}},DescribeSMBFileShares:{input:{type:"structure",required:["FileShareARNList"],members:{FileShareARNList:{shape:"S5i"}}},output:{type:"structure",members:{SMBFileShareInfoList:{type:"list",member:{type:"structure",members:{FileShareARN:{},FileShareId:{},FileShareStatus:{},GatewayARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},Path:{},Role:{},LocationARN:{},DefaultStorageClass:{},ObjectACL:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},SMBACLEnabled:{type:"boolean"},AccessBasedEnumeration:{type:"boolean"},AdminUserList:{shape:"S25"},ValidUserList:{shape:"S25"},InvalidUserList:{shape:"S25"},AuditDestinationARN:{},Authentication:{},CaseSensitivity:{},Tags:{shape:"S9"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},VPCEndpointDNSName:{},BucketRegion:{},OplocksEnabled:{type:"boolean"}}}}}}},DescribeSMBSettings:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DomainName:{},ActiveDirectoryStatus:{},SMBGuestPasswordSet:{type:"boolean"},SMBSecurityStrategy:{},FileSharesVisible:{type:"boolean"},SMBLocalGroups:{shape:"S5y"}}}},DescribeSnapshotSchedule:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{},StartAt:{type:"integer"},RecurrenceInHours:{type:"integer"},Description:{},Timezone:{},Tags:{shape:"S9"}}}},DescribeStorediSCSIVolumes:{input:{type:"structure",required:["VolumeARNs"],members:{VolumeARNs:{shape:"S44"}}},output:{type:"structure",members:{StorediSCSIVolumes:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},VolumeType:{},VolumeStatus:{},VolumeAttachmentStatus:{},VolumeSizeInBytes:{type:"long"},VolumeProgress:{type:"double"},VolumeDiskId:{},SourceSnapshotId:{},PreservedExistingData:{type:"boolean"},VolumeiSCSIAttributes:{shape:"S4d"},CreatedDate:{type:"timestamp"},VolumeUsedInBytes:{type:"long"},KMSKey:{},TargetName:{}}}}}}},DescribeTapeArchives:{input:{type:"structure",members:{TapeARNs:{shape:"S2x"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{TapeArchives:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeCreatedDate:{type:"timestamp"},TapeSizeInBytes:{type:"long"},CompletionTime:{type:"timestamp"},RetrievedTo:{},TapeStatus:{},TapeUsedInBytes:{type:"long"},KMSKey:{},PoolId:{},Worm:{type:"boolean"},RetentionStartDate:{type:"timestamp"},PoolEntryDate:{type:"timestamp"}}}},Marker:{}}}},DescribeTapeRecoveryPoints:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},TapeRecoveryPointInfos:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeRecoveryPointTime:{type:"timestamp"},TapeSizeInBytes:{type:"long"},TapeStatus:{}}}},Marker:{}}}},DescribeTapes:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},TapeARNs:{shape:"S2x"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Tapes:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeCreatedDate:{type:"timestamp"},TapeSizeInBytes:{type:"long"},TapeStatus:{},VTLDevice:{},Progress:{type:"double"},TapeUsedInBytes:{type:"long"},KMSKey:{},PoolId:{},Worm:{type:"boolean"},RetentionStartDate:{type:"timestamp"},PoolEntryDate:{type:"timestamp"}}}},Marker:{}}}},DescribeUploadBuffer:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sg"},UploadBufferUsedInBytes:{type:"long"},UploadBufferAllocatedInBytes:{type:"long"}}}},DescribeVTLDevices:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},VTLDeviceARNs:{type:"list",member:{}},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},VTLDevices:{type:"list",member:{type:"structure",members:{VTLDeviceARN:{},VTLDeviceType:{},VTLDeviceVendor:{},VTLDeviceProductIdentifier:{},DeviceiSCSIAttributes:{type:"structure",members:{TargetARN:{},NetworkInterfaceId:{},NetworkInterfacePort:{type:"integer"},ChapEnabled:{type:"boolean"}}}}}},Marker:{}}}},DescribeWorkingStorage:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sg"},WorkingStorageUsedInBytes:{type:"long"},WorkingStorageAllocatedInBytes:{type:"long"}}}},DetachVolume:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{},ForceDetach:{type:"boolean"}}},output:{type:"structure",members:{VolumeARN:{}}}},DisableGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},DisassociateFileSystem:{input:{type:"structure",required:["FileSystemAssociationARN"],members:{FileSystemAssociationARN:{},ForceDelete:{type:"boolean"}}},output:{type:"structure",members:{FileSystemAssociationARN:{}}}},JoinDomain:{input:{type:"structure",required:["GatewayARN","DomainName","UserName","Password"],members:{GatewayARN:{},DomainName:{},OrganizationalUnit:{},DomainControllers:{type:"list",member:{}},TimeoutInSeconds:{type:"integer"},UserName:{},Password:{shape:"Sx"}}},output:{type:"structure",members:{GatewayARN:{},ActiveDirectoryStatus:{}}}},ListAutomaticTapeCreationPolicies:{input:{type:"structure",members:{GatewayARN:{}}},output:{type:"structure",members:{AutomaticTapeCreationPolicyInfos:{type:"list",member:{type:"structure",members:{AutomaticTapeCreationRules:{shape:"S7i"},GatewayARN:{}}}}}}},ListFileShares:{input:{type:"structure",members:{GatewayARN:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Marker:{},NextMarker:{},FileShareInfoList:{type:"list",member:{type:"structure",members:{FileShareType:{},FileShareARN:{},FileShareId:{},FileShareStatus:{},GatewayARN:{}}}}}}},ListFileSystemAssociations:{input:{type:"structure",members:{GatewayARN:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Marker:{},NextMarker:{},FileSystemAssociationSummaryList:{type:"list",member:{type:"structure",members:{FileSystemAssociationId:{},FileSystemAssociationARN:{},FileSystemAssociationStatus:{},GatewayARN:{}}}}}}},ListGateways:{input:{type:"structure",members:{Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Gateways:{type:"list",member:{type:"structure",members:{GatewayId:{},GatewayARN:{},GatewayType:{},GatewayOperationalState:{},GatewayName:{},Ec2InstanceId:{},Ec2InstanceRegion:{},HostEnvironment:{},HostEnvironmentId:{}}}},Marker:{}}}},ListLocalDisks:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},Disks:{type:"list",member:{type:"structure",members:{DiskId:{},DiskPath:{},DiskNode:{},DiskStatus:{},DiskSizeInBytes:{type:"long"},DiskAllocationType:{},DiskAllocationResource:{},DiskAttributeList:{type:"list",member:{}}}}}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{ResourceARN:{},Marker:{},Tags:{shape:"S9"}}}},ListTapePools:{input:{type:"structure",members:{PoolARNs:{type:"list",member:{}},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{PoolInfos:{type:"list",member:{type:"structure",members:{PoolARN:{},PoolName:{},StorageClass:{},RetentionLockType:{},RetentionLockTimeInDays:{type:"integer"},PoolStatus:{}}}},Marker:{}}}},ListTapes:{input:{type:"structure",members:{TapeARNs:{shape:"S2x"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{TapeInfos:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeSizeInBytes:{type:"long"},TapeStatus:{},GatewayARN:{},PoolId:{},RetentionStartDate:{type:"timestamp"},PoolEntryDate:{type:"timestamp"}}}},Marker:{}}}},ListVolumeInitiators:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{Initiators:{type:"list",member:{}}}}},ListVolumeRecoveryPoints:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},VolumeRecoveryPointInfos:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeSizeInBytes:{type:"long"},VolumeUsageInBytes:{type:"long"},VolumeRecoveryPointTime:{}}}}}}},ListVolumes:{input:{type:"structure",members:{GatewayARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},Marker:{},VolumeInfos:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},GatewayARN:{},GatewayId:{},VolumeType:{},VolumeSizeInBytes:{type:"long"},VolumeAttachmentStatus:{}}}}}}},NotifyWhenUploaded:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{}}},output:{type:"structure",members:{FileShareARN:{},NotificationId:{}}}},RefreshCache:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{},FolderList:{type:"list",member:{}},Recursive:{type:"boolean"}}},output:{type:"structure",members:{FileShareARN:{},NotificationId:{}}}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{ResourceARN:{}}}},ResetCache:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},RetrieveTapeArchive:{input:{type:"structure",required:["TapeARN","GatewayARN"],members:{TapeARN:{},GatewayARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},RetrieveTapeRecoveryPoint:{input:{type:"structure",required:["TapeARN","GatewayARN"],members:{TapeARN:{},GatewayARN:{}}},output:{type:"structure",members:{TapeARN:{}}}},SetLocalConsolePassword:{input:{type:"structure",required:["GatewayARN","LocalConsolePassword"],members:{GatewayARN:{},LocalConsolePassword:{type:"string",sensitive:!0}}},output:{type:"structure",members:{GatewayARN:{}}}},SetSMBGuestPassword:{input:{type:"structure",required:["GatewayARN","Password"],members:{GatewayARN:{},Password:{type:"string",sensitive:!0}}},output:{type:"structure",members:{GatewayARN:{}}}},ShutdownGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},StartAvailabilityMonitorTest:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},StartGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateAutomaticTapeCreationPolicy:{input:{type:"structure",required:["AutomaticTapeCreationRules","GatewayARN"],members:{AutomaticTapeCreationRules:{shape:"S7i"},GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateBandwidthRateLimitSchedule:{input:{type:"structure",required:["GatewayARN","BandwidthRateLimitIntervals"],members:{GatewayARN:{},BandwidthRateLimitIntervals:{shape:"S3u"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateChapCredentials:{input:{type:"structure",required:["TargetARN","SecretToAuthenticateInitiator","InitiatorName"],members:{TargetARN:{},SecretToAuthenticateInitiator:{shape:"S4m"},InitiatorName:{},SecretToAuthenticateTarget:{shape:"S4m"}}},output:{type:"structure",members:{TargetARN:{},InitiatorName:{}}}},UpdateFileSystemAssociation:{input:{type:"structure",required:["FileSystemAssociationARN"],members:{FileSystemAssociationARN:{},UserName:{},Password:{shape:"Sx"},AuditDestinationARN:{},CacheAttributes:{shape:"S11"}}},output:{type:"structure",members:{FileSystemAssociationARN:{}}}},UpdateGatewayInformation:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},GatewayName:{},GatewayTimezone:{},CloudWatchLogGroupARN:{},GatewayCapacity:{}}},output:{type:"structure",members:{GatewayARN:{},GatewayName:{}}}},UpdateGatewaySoftwareNow:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateMaintenanceStartTime:{input:{type:"structure",required:["GatewayARN","HourOfDay","MinuteOfHour"],members:{GatewayARN:{},HourOfDay:{type:"integer"},MinuteOfHour:{type:"integer"},DayOfWeek:{type:"integer"},DayOfMonth:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateNFSFileShare:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},NFSFileShareDefaults:{shape:"S1p"},DefaultStorageClass:{},ObjectACL:{},ClientList:{shape:"S1w"},Squash:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},AuditDestinationARN:{}}},output:{type:"structure",members:{FileShareARN:{}}}},UpdateSMBFileShare:{input:{type:"structure",required:["FileShareARN"],members:{FileShareARN:{},KMSEncrypted:{type:"boolean"},KMSKey:{},DefaultStorageClass:{},ObjectACL:{},ReadOnly:{type:"boolean"},GuessMIMETypeEnabled:{type:"boolean"},RequesterPays:{type:"boolean"},SMBACLEnabled:{type:"boolean"},AccessBasedEnumeration:{type:"boolean"},AdminUserList:{shape:"S25"},ValidUserList:{shape:"S25"},InvalidUserList:{shape:"S25"},AuditDestinationARN:{},CaseSensitivity:{},FileShareName:{},CacheAttributes:{shape:"S11"},NotificationPolicy:{},OplocksEnabled:{type:"boolean"}}},output:{type:"structure",members:{FileShareARN:{}}}},UpdateSMBFileShareVisibility:{input:{type:"structure",required:["GatewayARN","FileSharesVisible"],members:{GatewayARN:{},FileSharesVisible:{type:"boolean"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateSMBLocalGroups:{input:{type:"structure",required:["GatewayARN","SMBLocalGroups"],members:{GatewayARN:{},SMBLocalGroups:{shape:"S5y"}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateSMBSecurityStrategy:{input:{type:"structure",required:["GatewayARN","SMBSecurityStrategy"],members:{GatewayARN:{},SMBSecurityStrategy:{}}},output:{type:"structure",members:{GatewayARN:{}}}},UpdateSnapshotSchedule:{input:{type:"structure",required:["VolumeARN","StartAt","RecurrenceInHours"],members:{VolumeARN:{},StartAt:{type:"integer"},RecurrenceInHours:{type:"integer"},Description:{},Tags:{shape:"S9"}}},output:{type:"structure",members:{VolumeARN:{}}}},UpdateVTLDeviceType:{input:{type:"structure",required:["VTLDeviceARN","DeviceType"],members:{VTLDeviceARN:{},DeviceType:{}}},output:{type:"structure",members:{VTLDeviceARN:{}}}}},shapes:{S9:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Sg:{type:"list",member:{}},Sx:{type:"string",sensitive:!0},S11:{type:"structure",members:{CacheStaleTimeoutInSeconds:{type:"integer"}}},S13:{type:"structure",members:{IpAddresses:{type:"list",member:{}}}},S1p:{type:"structure",members:{FileMode:{},DirectoryMode:{},GroupId:{type:"long"},OwnerId:{type:"long"}}},S1w:{type:"list",member:{}},S25:{type:"list",member:{}},S2x:{type:"list",member:{}},S3u:{type:"list",member:{type:"structure",required:["StartHourOfDay","StartMinuteOfHour","EndHourOfDay","EndMinuteOfHour","DaysOfWeek"],members:{StartHourOfDay:{type:"integer"},StartMinuteOfHour:{type:"integer"},EndHourOfDay:{type:"integer"},EndMinuteOfHour:{type:"integer"},DaysOfWeek:{type:"list",member:{type:"integer"}},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}}},S44:{type:"list",member:{}},S4d:{type:"structure",members:{TargetARN:{},NetworkInterfaceId:{},NetworkInterfacePort:{type:"integer"},LunNumber:{type:"integer"},ChapEnabled:{type:"boolean"}}},S4m:{type:"string",sensitive:!0},S5i:{type:"list",member:{}},S5y:{type:"structure",members:{GatewayAdmins:{shape:"S25"}}},S7i:{type:"list",member:{type:"structure",required:["TapeBarcodePrefix","PoolId","TapeSizeInBytes","MinimumNumTapes"],members:{TapeBarcodePrefix:{},PoolId:{},TapeSizeInBytes:{type:"long"},MinimumNumTapes:{type:"integer"},Worm:{type:"boolean"}}}}}}},{}],227:[function(e,t,r){t.exports={pagination:{DescribeCachediSCSIVolumes:{result_key:"CachediSCSIVolumes"},DescribeStorediSCSIVolumes:{result_key:"StorediSCSIVolumes"},DescribeTapeArchives:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"TapeArchives"},DescribeTapeRecoveryPoints:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"TapeRecoveryPointInfos"},DescribeTapes:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"Tapes"},DescribeVTLDevices:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"VTLDevices"},ListFileShares:{input_token:"Marker",limit_key:"Limit",non_aggregate_keys:["Marker"], +output_token:"NextMarker",result_key:"FileShareInfoList"},ListFileSystemAssociations:{input_token:"Marker",limit_key:"Limit",non_aggregate_keys:["Marker"],output_token:"NextMarker",result_key:"FileSystemAssociationSummaryList"},ListGateways:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"Gateways"},ListLocalDisks:{result_key:"Disks"},ListTagsForResource:{input_token:"Marker",limit_key:"Limit",non_aggregate_keys:["ResourceARN"],output_token:"Marker",result_key:"Tags"},ListTapePools:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"PoolInfos"},ListTapes:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"TapeInfos"},ListVolumeRecoveryPoints:{result_key:"VolumeRecoveryPointInfos"},ListVolumes:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"VolumeInfos"}}}},{}],228:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2012-08-10",endpointPrefix:"streams.dynamodb",jsonVersion:"1.0",protocol:"json",serviceFullName:"Amazon DynamoDB Streams",serviceId:"DynamoDB Streams",signatureVersion:"v4",signingName:"dynamodb",targetPrefix:"DynamoDBStreams_20120810",uid:"streams-dynamodb-2012-08-10"},operations:{DescribeStream:{input:{type:"structure",required:["StreamArn"],members:{StreamArn:{},Limit:{type:"integer"},ExclusiveStartShardId:{}}},output:{type:"structure",members:{StreamDescription:{type:"structure",members:{StreamArn:{},StreamLabel:{},StreamStatus:{},StreamViewType:{},CreationRequestDateTime:{type:"timestamp"},TableName:{},KeySchema:{type:"list",member:{type:"structure",required:["AttributeName","KeyType"],members:{AttributeName:{},KeyType:{}}}},Shards:{type:"list",member:{type:"structure",members:{ShardId:{},SequenceNumberRange:{type:"structure",members:{StartingSequenceNumber:{},EndingSequenceNumber:{}}},ParentShardId:{}}}},LastEvaluatedShardId:{}}}}}},GetRecords:{input:{type:"structure",required:["ShardIterator"],members:{ShardIterator:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Records:{type:"list",member:{type:"structure",members:{eventID:{},eventName:{},eventVersion:{},eventSource:{},awsRegion:{},dynamodb:{type:"structure",members:{ApproximateCreationDateTime:{type:"timestamp"},Keys:{shape:"Sr"},NewImage:{shape:"Sr"},OldImage:{shape:"Sr"},SequenceNumber:{},SizeBytes:{type:"long"},StreamViewType:{}}},userIdentity:{type:"structure",members:{PrincipalId:{},Type:{}}}}}},NextShardIterator:{}}}},GetShardIterator:{input:{type:"structure",required:["StreamArn","ShardId","ShardIteratorType"],members:{StreamArn:{},ShardId:{},ShardIteratorType:{},SequenceNumber:{}}},output:{type:"structure",members:{ShardIterator:{}}}},ListStreams:{input:{type:"structure",members:{TableName:{},Limit:{type:"integer"},ExclusiveStartStreamArn:{}}},output:{type:"structure",members:{Streams:{type:"list",member:{type:"structure",members:{StreamArn:{},TableName:{},StreamLabel:{}}}},LastEvaluatedStreamArn:{}}}}},shapes:{Sr:{type:"map",key:{},value:{shape:"St"}},St:{type:"structure",members:{S:{},N:{},B:{type:"blob"},SS:{type:"list",member:{}},NS:{type:"list",member:{}},BS:{type:"list",member:{type:"blob"}},M:{type:"map",key:{},value:{shape:"St"}},L:{type:"list",member:{shape:"St"}},NULL:{type:"boolean"},BOOL:{type:"boolean"}}}}}},{}],229:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],230:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2011-06-15",endpointPrefix:"sts",globalEndpoint:"sts.amazonaws.com",protocol:"query",serviceAbbreviation:"AWS STS",serviceFullName:"AWS Security Token Service",serviceId:"STS",signatureVersion:"v4",uid:"sts-2011-06-15",xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/"},operations:{AssumeRole:{input:{type:"structure",required:["RoleArn","RoleSessionName"],members:{RoleArn:{},RoleSessionName:{},PolicyArns:{shape:"S4"},Policy:{},DurationSeconds:{type:"integer"},Tags:{shape:"S8"},TransitiveTagKeys:{type:"list",member:{}},ExternalId:{},SerialNumber:{},TokenCode:{},SourceIdentity:{}}},output:{resultWrapper:"AssumeRoleResult",type:"structure",members:{Credentials:{shape:"Si"},AssumedRoleUser:{shape:"Sn"},PackedPolicySize:{type:"integer"},SourceIdentity:{}}}},AssumeRoleWithSAML:{input:{type:"structure",required:["RoleArn","PrincipalArn","SAMLAssertion"],members:{RoleArn:{},PrincipalArn:{},SAMLAssertion:{},PolicyArns:{shape:"S4"},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"AssumeRoleWithSAMLResult",type:"structure",members:{Credentials:{shape:"Si"},AssumedRoleUser:{shape:"Sn"},PackedPolicySize:{type:"integer"},Subject:{},SubjectType:{},Issuer:{},Audience:{},NameQualifier:{},SourceIdentity:{}}}},AssumeRoleWithWebIdentity:{input:{type:"structure",required:["RoleArn","RoleSessionName","WebIdentityToken"],members:{RoleArn:{},RoleSessionName:{},WebIdentityToken:{},ProviderId:{},PolicyArns:{shape:"S4"},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"AssumeRoleWithWebIdentityResult",type:"structure",members:{Credentials:{shape:"Si"},SubjectFromWebIdentityToken:{},AssumedRoleUser:{shape:"Sn"},PackedPolicySize:{type:"integer"},Provider:{},Audience:{},SourceIdentity:{}}}},DecodeAuthorizationMessage:{input:{type:"structure",required:["EncodedMessage"],members:{EncodedMessage:{}}},output:{resultWrapper:"DecodeAuthorizationMessageResult",type:"structure",members:{DecodedMessage:{}}}},GetAccessKeyInfo:{input:{type:"structure",required:["AccessKeyId"],members:{AccessKeyId:{}}},output:{resultWrapper:"GetAccessKeyInfoResult",type:"structure",members:{Account:{}}}},GetCallerIdentity:{input:{type:"structure",members:{}},output:{resultWrapper:"GetCallerIdentityResult",type:"structure",members:{UserId:{},Account:{},Arn:{}}}},GetFederationToken:{input:{type:"structure",required:["Name"],members:{Name:{},Policy:{},PolicyArns:{shape:"S4"},DurationSeconds:{type:"integer"},Tags:{shape:"S8"}}},output:{resultWrapper:"GetFederationTokenResult",type:"structure",members:{Credentials:{shape:"Si"},FederatedUser:{type:"structure",required:["FederatedUserId","Arn"],members:{FederatedUserId:{},Arn:{}}},PackedPolicySize:{type:"integer"}}}},GetSessionToken:{input:{type:"structure",members:{DurationSeconds:{type:"integer"},SerialNumber:{},TokenCode:{}}},output:{resultWrapper:"GetSessionTokenResult",type:"structure",members:{Credentials:{shape:"Si"}}}}},shapes:{S4:{type:"list",member:{type:"structure",members:{arn:{}}}},S8:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Si:{type:"structure",required:["AccessKeyId","SecretAccessKey","SessionToken","Expiration"],members:{AccessKeyId:{},SecretAccessKey:{},SessionToken:{},Expiration:{type:"timestamp"}}},Sn:{type:"structure",required:["AssumedRoleId","Arn"],members:{AssumedRoleId:{},Arn:{}}}}}},{}],231:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],232:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2017-07-01",endpointPrefix:"translate",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Translate",serviceId:"Translate",signatureVersion:"v4",signingName:"translate",targetPrefix:"AWSShineFrontendService_20170701",uid:"translate-2017-07-01"},operations:{CreateParallelData:{input:{type:"structure",required:["Name","ParallelDataConfig","ClientToken"],members:{Name:{},Description:{},ParallelDataConfig:{shape:"S4"},EncryptionKey:{shape:"S7"},ClientToken:{idempotencyToken:!0}}},output:{type:"structure",members:{Name:{},Status:{}}}},DeleteParallelData:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},Status:{}}}},DeleteTerminology:{input:{type:"structure",required:["Name"],members:{Name:{}}}},DescribeTextTranslationJob:{input:{type:"structure",required:["JobId"],members:{JobId:{}}},output:{type:"structure",members:{TextTranslationJobProperties:{shape:"Sj"}}}},GetParallelData:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{ParallelDataProperties:{shape:"S11"},DataLocation:{shape:"S15"},AuxiliaryDataLocation:{shape:"S15"},LatestUpdateAttemptAuxiliaryDataLocation:{shape:"S15"}}}},GetTerminology:{input:{type:"structure",required:["Name"],members:{Name:{},TerminologyDataFormat:{}}},output:{type:"structure",members:{TerminologyProperties:{shape:"S1a"},TerminologyDataLocation:{shape:"S1d"},AuxiliaryDataLocation:{shape:"S1d"}}}},ImportTerminology:{input:{type:"structure",required:["Name","MergeStrategy","TerminologyData"],members:{Name:{},MergeStrategy:{},Description:{},TerminologyData:{type:"structure",required:["File","Format"],members:{File:{type:"blob",sensitive:!0},Format:{},Directionality:{}}},EncryptionKey:{shape:"S7"}}},output:{type:"structure",members:{TerminologyProperties:{shape:"S1a"},AuxiliaryDataLocation:{shape:"S1d"}}}},ListParallelData:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{ParallelDataPropertiesList:{type:"list",member:{shape:"S11"}},NextToken:{}}}},ListTerminologies:{input:{type:"structure",members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{TerminologyPropertiesList:{type:"list",member:{shape:"S1a"}},NextToken:{}}}},ListTextTranslationJobs:{input:{type:"structure",members:{Filter:{type:"structure",members:{JobName:{},JobStatus:{},SubmittedBeforeTime:{type:"timestamp"},SubmittedAfterTime:{type:"timestamp"}}},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{TextTranslationJobPropertiesList:{type:"list",member:{shape:"Sj"}},NextToken:{}}}},StartTextTranslationJob:{input:{type:"structure",required:["InputDataConfig","OutputDataConfig","DataAccessRoleArn","SourceLanguageCode","TargetLanguageCodes","ClientToken"],members:{JobName:{},InputDataConfig:{shape:"St"},OutputDataConfig:{shape:"Sv"},DataAccessRoleArn:{},SourceLanguageCode:{},TargetLanguageCodes:{shape:"Sp"},TerminologyNames:{shape:"Sq"},ParallelDataNames:{shape:"Sq"},ClientToken:{idempotencyToken:!0},Settings:{shape:"Sx"}}},output:{type:"structure",members:{JobId:{},JobStatus:{}}}},StopTextTranslationJob:{input:{type:"structure",required:["JobId"],members:{JobId:{}}},output:{type:"structure",members:{JobId:{},JobStatus:{}}}},TranslateText:{input:{type:"structure",required:["Text","SourceLanguageCode","TargetLanguageCode"],members:{Text:{},TerminologyNames:{shape:"Sq"},SourceLanguageCode:{},TargetLanguageCode:{},Settings:{shape:"Sx"}}},output:{type:"structure",required:["TranslatedText","SourceLanguageCode","TargetLanguageCode"],members:{TranslatedText:{},SourceLanguageCode:{},TargetLanguageCode:{},AppliedTerminologies:{type:"list",member:{type:"structure",members:{Name:{},Terms:{type:"list",member:{type:"structure",members:{SourceText:{},TargetText:{}}}}}}},AppliedSettings:{shape:"Sx"}}}},UpdateParallelData:{input:{type:"structure",required:["Name","ParallelDataConfig","ClientToken"],members:{Name:{},Description:{},ParallelDataConfig:{shape:"S4"},ClientToken:{idempotencyToken:!0}}},output:{type:"structure",members:{Name:{},Status:{},LatestUpdateAttemptStatus:{},LatestUpdateAttemptAt:{type:"timestamp"}}}}},shapes:{S4:{type:"structure",required:["S3Uri","Format"],members:{S3Uri:{},Format:{}}},S7:{type:"structure",required:["Type","Id"],members:{Type:{},Id:{}}},Sj:{type:"structure",members:{JobId:{},JobName:{},JobStatus:{},JobDetails:{type:"structure",members:{TranslatedDocumentsCount:{type:"integer"},DocumentsWithErrorsCount:{type:"integer"},InputDocumentsCount:{type:"integer"}}},SourceLanguageCode:{},TargetLanguageCodes:{shape:"Sp"},TerminologyNames:{shape:"Sq"},ParallelDataNames:{shape:"Sq"},Message:{},SubmittedTime:{type:"timestamp"},EndTime:{type:"timestamp"},InputDataConfig:{shape:"St"},OutputDataConfig:{shape:"Sv"},DataAccessRoleArn:{},Settings:{shape:"Sx"}}},Sp:{type:"list",member:{}},Sq:{type:"list",member:{}},St:{type:"structure",required:["S3Uri","ContentType"],members:{S3Uri:{},ContentType:{}}},Sv:{type:"structure",required:["S3Uri"],members:{S3Uri:{},EncryptionKey:{shape:"S7"}}},Sx:{type:"structure",members:{Profanity:{}}},S11:{type:"structure",members:{Name:{},Arn:{},Description:{},Status:{},SourceLanguageCode:{},TargetLanguageCodes:{shape:"S13"},ParallelDataConfig:{shape:"S4"},Message:{},ImportedDataSize:{type:"long"},ImportedRecordCount:{type:"long"},FailedRecordCount:{type:"long"},SkippedRecordCount:{type:"long"},EncryptionKey:{shape:"S7"},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},LatestUpdateAttemptStatus:{},LatestUpdateAttemptAt:{type:"timestamp"}}},S13:{type:"list",member:{}},S15:{type:"structure",required:["RepositoryType","Location"],members:{RepositoryType:{},Location:{}}},S1a:{type:"structure",members:{Name:{},Description:{},Arn:{},SourceLanguageCode:{},TargetLanguageCodes:{shape:"S13"},EncryptionKey:{shape:"S7"},SizeBytes:{type:"integer"},TermCount:{type:"integer"},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Directionality:{},Message:{},SkippedTermCount:{type:"integer"},Format:{}}},S1d:{type:"structure",required:["RepositoryType","Location"],members:{RepositoryType:{},Location:{}}}}}},{}],233:[function(e,t,r){t.exports={pagination:{ListParallelData:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListTerminologies:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},ListTextTranslationJobs:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"}}}},{}],234:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2015-08-24",endpointPrefix:"waf",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"WAF",serviceFullName:"AWS WAF",serviceId:"WAF",signatureVersion:"v4",targetPrefix:"AWSWAF_20150824",uid:"waf-2015-08-24"},operations:{CreateByteMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{ByteMatchSet:{shape:"S5"},ChangeToken:{}}}},CreateGeoMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{GeoMatchSet:{shape:"Sh"},ChangeToken:{}}}},CreateIPSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{IPSet:{shape:"So"},ChangeToken:{}}}},CreateRateBasedRule:{input:{type:"structure",required:["Name","MetricName","RateKey","RateLimit","ChangeToken"],members:{Name:{},MetricName:{},RateKey:{},RateLimit:{type:"long"},ChangeToken:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{Rule:{shape:"S12"},ChangeToken:{}}}},CreateRegexMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{RegexMatchSet:{shape:"S19"},ChangeToken:{}}}},CreateRegexPatternSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{RegexPatternSet:{shape:"S1e"},ChangeToken:{}}}},CreateRule:{input:{type:"structure",required:["Name","MetricName","ChangeToken"],members:{Name:{},MetricName:{},ChangeToken:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{Rule:{shape:"S1j"},ChangeToken:{}}}},CreateRuleGroup:{input:{type:"structure",required:["Name","MetricName","ChangeToken"],members:{Name:{},MetricName:{},ChangeToken:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{RuleGroup:{shape:"S1m"},ChangeToken:{}}}},CreateSizeConstraintSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{SizeConstraintSet:{shape:"S1p"},ChangeToken:{}}}},CreateSqlInjectionMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{SqlInjectionMatchSet:{shape:"S1w"},ChangeToken:{}}}},CreateWebACL:{input:{type:"structure",required:["Name","MetricName","DefaultAction","ChangeToken"],members:{Name:{},MetricName:{},DefaultAction:{shape:"S20"},ChangeToken:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{WebACL:{shape:"S23"},ChangeToken:{}}}},CreateWebACLMigrationStack:{input:{type:"structure",required:["WebACLId","S3BucketName","IgnoreUnsupportedType"],members:{WebACLId:{},S3BucketName:{},IgnoreUnsupportedType:{type:"boolean"}}},output:{type:"structure",required:["S3ObjectUrl"],members:{S3ObjectUrl:{}}}},CreateXssMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{XssMatchSet:{shape:"S2k"},ChangeToken:{}}}},DeleteByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId","ChangeToken"],members:{ByteMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteGeoMatchSet:{input:{type:"structure",required:["GeoMatchSetId","ChangeToken"],members:{GeoMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteIPSet:{input:{type:"structure",required:["IPSetId","ChangeToken"],members:{IPSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteLoggingConfiguration:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{}}},DeletePermissionPolicy:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{}}},DeleteRateBasedRule:{input:{type:"structure",required:["RuleId","ChangeToken"],members:{RuleId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRegexMatchSet:{input:{type:"structure",required:["RegexMatchSetId","ChangeToken"],members:{RegexMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRegexPatternSet:{input:{type:"structure",required:["RegexPatternSetId","ChangeToken"],members:{RegexPatternSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRule:{input:{type:"structure",required:["RuleId","ChangeToken"],members:{RuleId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteRuleGroup:{input:{type:"structure",required:["RuleGroupId","ChangeToken"],members:{RuleGroupId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId","ChangeToken"],members:{SizeConstraintSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId","ChangeToken"],members:{SqlInjectionMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteWebACL:{input:{type:"structure",required:["WebACLId","ChangeToken"],members:{WebACLId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},DeleteXssMatchSet:{input:{type:"structure",required:["XssMatchSetId","ChangeToken"],members:{XssMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},GetByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId"],members:{ByteMatchSetId:{}}},output:{type:"structure",members:{ByteMatchSet:{shape:"S5"}}}},GetChangeToken:{input:{type:"structure",members:{}},output:{type:"structure",members:{ChangeToken:{}}}},GetChangeTokenStatus:{input:{type:"structure",required:["ChangeToken"],members:{ChangeToken:{}}},output:{type:"structure",members:{ChangeTokenStatus:{}}}},GetGeoMatchSet:{input:{type:"structure",required:["GeoMatchSetId"],members:{GeoMatchSetId:{}}},output:{type:"structure",members:{GeoMatchSet:{shape:"Sh"}}}},GetIPSet:{input:{type:"structure",required:["IPSetId"],members:{IPSetId:{}}},output:{type:"structure",members:{IPSet:{shape:"So"}}}},GetLoggingConfiguration:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{LoggingConfiguration:{shape:"S3s"}}}},GetPermissionPolicy:{input:{type:"structure",required:["ResourceArn"],members:{ResourceArn:{}}},output:{type:"structure",members:{Policy:{}}}},GetRateBasedRule:{input:{type:"structure",required:["RuleId"],members:{RuleId:{}}},output:{type:"structure",members:{Rule:{shape:"S12"}}}},GetRateBasedRuleManagedKeys:{input:{type:"structure",required:["RuleId"],members:{RuleId:{},NextMarker:{}}},output:{type:"structure",members:{ManagedKeys:{type:"list",member:{}},NextMarker:{}}}},GetRegexMatchSet:{input:{type:"structure",required:["RegexMatchSetId"],members:{RegexMatchSetId:{}}},output:{type:"structure",members:{RegexMatchSet:{shape:"S19"}}}},GetRegexPatternSet:{input:{type:"structure",required:["RegexPatternSetId"],members:{RegexPatternSetId:{}}},output:{type:"structure",members:{RegexPatternSet:{shape:"S1e"}}}},GetRule:{input:{type:"structure",required:["RuleId"],members:{RuleId:{}}},output:{type:"structure",members:{Rule:{shape:"S1j"}}}},GetRuleGroup:{input:{type:"structure",required:["RuleGroupId"],members:{RuleGroupId:{}}},output:{type:"structure",members:{RuleGroup:{shape:"S1m"}}}},GetSampledRequests:{input:{type:"structure",required:["WebAclId","RuleId","TimeWindow","MaxItems"],members:{WebAclId:{},RuleId:{},TimeWindow:{shape:"S4e"},MaxItems:{type:"long"}}},output:{type:"structure",members:{SampledRequests:{type:"list",member:{type:"structure",required:["Request","Weight"],members:{Request:{type:"structure",members:{ClientIP:{},Country:{},URI:{},Method:{},HTTPVersion:{},Headers:{type:"list",member:{type:"structure",members:{Name:{},Value:{}}}}}},Weight:{type:"long"},Timestamp:{type:"timestamp"},Action:{},RuleWithinRuleGroup:{}}}},PopulationSize:{type:"long"},TimeWindow:{shape:"S4e"}}}},GetSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId"],members:{SizeConstraintSetId:{}}},output:{type:"structure",members:{SizeConstraintSet:{shape:"S1p"}}}},GetSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId"],members:{SqlInjectionMatchSetId:{}}},output:{type:"structure",members:{SqlInjectionMatchSet:{shape:"S1w"}}}},GetWebACL:{input:{type:"structure",required:["WebACLId"],members:{WebACLId:{}}},output:{type:"structure",members:{WebACL:{shape:"S23"}}}},GetXssMatchSet:{input:{type:"structure",required:["XssMatchSetId"],members:{XssMatchSetId:{}}},output:{type:"structure",members:{XssMatchSet:{shape:"S2k"}}}},ListActivatedRulesInRuleGroup:{input:{type:"structure",members:{RuleGroupId:{},NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},ActivatedRules:{shape:"S24"}}}},ListByteMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},ByteMatchSets:{type:"list",member:{type:"structure",required:["ByteMatchSetId","Name"],members:{ByteMatchSetId:{},Name:{}}}}}}},ListGeoMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},GeoMatchSets:{type:"list",member:{type:"structure",required:["GeoMatchSetId","Name"],members:{GeoMatchSetId:{},Name:{}}}}}}},ListIPSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},IPSets:{type:"list",member:{type:"structure",required:["IPSetId","Name"],members:{IPSetId:{},Name:{}}}}}}},ListLoggingConfigurations:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{LoggingConfigurations:{type:"list",member:{shape:"S3s"}},NextMarker:{}}}},ListRateBasedRules:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Rules:{shape:"S5p"}}}},ListRegexMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},RegexMatchSets:{type:"list",member:{type:"structure",required:["RegexMatchSetId","Name"],members:{RegexMatchSetId:{},Name:{}}}}}}},ListRegexPatternSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},RegexPatternSets:{type:"list",member:{type:"structure",required:["RegexPatternSetId","Name"],members:{RegexPatternSetId:{},Name:{}}}}}}},ListRuleGroups:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},RuleGroups:{type:"list",member:{type:"structure",required:["RuleGroupId","Name"],members:{RuleGroupId:{},Name:{}}}}}}},ListRules:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Rules:{shape:"S5p"}}}},ListSizeConstraintSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},SizeConstraintSets:{type:"list",member:{type:"structure",required:["SizeConstraintSetId","Name"],members:{SizeConstraintSetId:{},Name:{}}}}}}},ListSqlInjectionMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},SqlInjectionMatchSets:{type:"list",member:{type:"structure",required:["SqlInjectionMatchSetId","Name"],members:{SqlInjectionMatchSetId:{},Name:{}}}}}}},ListSubscribedRuleGroups:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},RuleGroups:{type:"list",member:{type:"structure",required:["RuleGroupId","Name","MetricName"],members:{RuleGroupId:{},Name:{},MetricName:{}}}}}}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{NextMarker:{},Limit:{type:"integer"},ResourceARN:{}}},output:{type:"structure",members:{NextMarker:{},TagInfoForResource:{type:"structure",members:{ResourceARN:{},TagList:{shape:"Sx"}}}}}},ListWebACLs:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},WebACLs:{type:"list",member:{type:"structure",required:["WebACLId","Name"],members:{WebACLId:{},Name:{}}}}}}},ListXssMatchSets:{input:{type:"structure",members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},XssMatchSets:{type:"list",member:{type:"structure",required:["XssMatchSetId","Name"],members:{XssMatchSetId:{},Name:{}}}}}}},PutLoggingConfiguration:{input:{type:"structure",required:["LoggingConfiguration"],members:{LoggingConfiguration:{shape:"S3s"}}},output:{type:"structure",members:{LoggingConfiguration:{shape:"S3s"}}}},PutPermissionPolicy:{input:{type:"structure",required:["ResourceArn","Policy"],members:{ResourceArn:{},Policy:{}}},output:{type:"structure",members:{}}},TagResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"Sx"}}},output:{type:"structure",members:{}}},UntagResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId","ChangeToken","Updates"],members:{ByteMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","ByteMatchTuple"],members:{Action:{},ByteMatchTuple:{shape:"S8"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateGeoMatchSet:{input:{type:"structure",required:["GeoMatchSetId","ChangeToken","Updates"],members:{GeoMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","GeoMatchConstraint"],members:{Action:{},GeoMatchConstraint:{shape:"Sj"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateIPSet:{input:{type:"structure",required:["IPSetId","ChangeToken","Updates"],members:{IPSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","IPSetDescriptor"],members:{Action:{},IPSetDescriptor:{shape:"Sq"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRateBasedRule:{input:{type:"structure",required:["RuleId","ChangeToken","Updates","RateLimit"],members:{RuleId:{},ChangeToken:{},Updates:{shape:"S7f"},RateLimit:{type:"long"}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRegexMatchSet:{input:{type:"structure",required:["RegexMatchSetId","Updates","ChangeToken"],members:{RegexMatchSetId:{},Updates:{type:"list",member:{type:"structure",required:["Action","RegexMatchTuple"],members:{Action:{},RegexMatchTuple:{shape:"S1b"}}}},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRegexPatternSet:{input:{type:"structure",required:["RegexPatternSetId","Updates","ChangeToken"],members:{RegexPatternSetId:{},Updates:{type:"list",member:{type:"structure",required:["Action","RegexPatternString"],members:{Action:{},RegexPatternString:{}}}},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRule:{input:{type:"structure",required:["RuleId","ChangeToken","Updates"],members:{RuleId:{},ChangeToken:{},Updates:{shape:"S7f"}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateRuleGroup:{input:{type:"structure",required:["RuleGroupId","Updates","ChangeToken"],members:{RuleGroupId:{},Updates:{type:"list",member:{type:"structure",required:["Action","ActivatedRule"],members:{Action:{},ActivatedRule:{shape:"S25"}}}},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId","ChangeToken","Updates"],members:{SizeConstraintSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","SizeConstraint"],members:{Action:{},SizeConstraint:{shape:"S1r"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId","ChangeToken","Updates"],members:{SqlInjectionMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","SqlInjectionMatchTuple"],members:{Action:{},SqlInjectionMatchTuple:{shape:"S1y"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateWebACL:{input:{type:"structure",required:["WebACLId","ChangeToken"],members:{WebACLId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","ActivatedRule"],members:{Action:{},ActivatedRule:{shape:"S25"}}}},DefaultAction:{shape:"S20"}}},output:{type:"structure",members:{ChangeToken:{}}}},UpdateXssMatchSet:{input:{type:"structure",required:["XssMatchSetId","ChangeToken","Updates"],members:{XssMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","XssMatchTuple"],members:{Action:{},XssMatchTuple:{shape:"S2m"}}}}}},output:{type:"structure",members:{ChangeToken:{}}}}},shapes:{S5:{type:"structure",required:["ByteMatchSetId","ByteMatchTuples"],members:{ByteMatchSetId:{},Name:{},ByteMatchTuples:{type:"list",member:{shape:"S8"}}}},S8:{type:"structure",required:["FieldToMatch","TargetString","TextTransformation","PositionalConstraint"],members:{FieldToMatch:{shape:"S9"},TargetString:{type:"blob"},TextTransformation:{},PositionalConstraint:{}}},S9:{type:"structure",required:["Type"],members:{Type:{},Data:{}}},Sh:{type:"structure",required:["GeoMatchSetId","GeoMatchConstraints"],members:{GeoMatchSetId:{},Name:{},GeoMatchConstraints:{type:"list",member:{shape:"Sj"}}}},Sj:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{}}},So:{type:"structure",required:["IPSetId","IPSetDescriptors"],members:{IPSetId:{},Name:{},IPSetDescriptors:{type:"list",member:{shape:"Sq"}}}},Sq:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{}}},Sx:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S12:{type:"structure",required:["RuleId","MatchPredicates","RateKey","RateLimit"],members:{RuleId:{},Name:{},MetricName:{},MatchPredicates:{shape:"S13"},RateKey:{},RateLimit:{type:"long"}}},S13:{type:"list",member:{shape:"S14"}},S14:{type:"structure",required:["Negated","Type","DataId"],members:{Negated:{type:"boolean"},Type:{},DataId:{}}},S19:{type:"structure",members:{RegexMatchSetId:{},Name:{},RegexMatchTuples:{type:"list",member:{shape:"S1b"}}}},S1b:{type:"structure", +required:["FieldToMatch","TextTransformation","RegexPatternSetId"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{},RegexPatternSetId:{}}},S1e:{type:"structure",required:["RegexPatternSetId","RegexPatternStrings"],members:{RegexPatternSetId:{},Name:{},RegexPatternStrings:{type:"list",member:{}}}},S1j:{type:"structure",required:["RuleId","Predicates"],members:{RuleId:{},Name:{},MetricName:{},Predicates:{shape:"S13"}}},S1m:{type:"structure",required:["RuleGroupId"],members:{RuleGroupId:{},Name:{},MetricName:{}}},S1p:{type:"structure",required:["SizeConstraintSetId","SizeConstraints"],members:{SizeConstraintSetId:{},Name:{},SizeConstraints:{type:"list",member:{shape:"S1r"}}}},S1r:{type:"structure",required:["FieldToMatch","TextTransformation","ComparisonOperator","Size"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{},ComparisonOperator:{},Size:{type:"long"}}},S1w:{type:"structure",required:["SqlInjectionMatchSetId","SqlInjectionMatchTuples"],members:{SqlInjectionMatchSetId:{},Name:{},SqlInjectionMatchTuples:{type:"list",member:{shape:"S1y"}}}},S1y:{type:"structure",required:["FieldToMatch","TextTransformation"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{}}},S20:{type:"structure",required:["Type"],members:{Type:{}}},S23:{type:"structure",required:["WebACLId","DefaultAction","Rules"],members:{WebACLId:{},Name:{},MetricName:{},DefaultAction:{shape:"S20"},Rules:{shape:"S24"},WebACLArn:{}}},S24:{type:"list",member:{shape:"S25"}},S25:{type:"structure",required:["Priority","RuleId"],members:{Priority:{type:"integer"},RuleId:{},Action:{shape:"S20"},OverrideAction:{type:"structure",required:["Type"],members:{Type:{}}},Type:{},ExcludedRules:{type:"list",member:{type:"structure",required:["RuleId"],members:{RuleId:{}}}}}},S2k:{type:"structure",required:["XssMatchSetId","XssMatchTuples"],members:{XssMatchSetId:{},Name:{},XssMatchTuples:{type:"list",member:{shape:"S2m"}}}},S2m:{type:"structure",required:["FieldToMatch","TextTransformation"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{}}},S3s:{type:"structure",required:["ResourceArn","LogDestinationConfigs"],members:{ResourceArn:{},LogDestinationConfigs:{type:"list",member:{}},RedactedFields:{type:"list",member:{shape:"S9"}}}},S4e:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}},S5p:{type:"list",member:{type:"structure",required:["RuleId","Name"],members:{RuleId:{},Name:{}}}},S7f:{type:"list",member:{type:"structure",required:["Action","Predicate"],members:{Action:{},Predicate:{shape:"S14"}}}}}}},{}],235:[function(e,t,r){arguments[4][39][0].apply(r,arguments)},{dup:39}],236:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-05-01",endpointPrefix:"workdocs",jsonVersion:"1.1",protocol:"rest-json",serviceFullName:"Amazon WorkDocs",serviceId:"WorkDocs",signatureVersion:"v4",uid:"workdocs-2016-05-01"},operations:{AbortDocumentVersionUpload:{http:{method:"DELETE",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}",responseCode:204},input:{type:"structure",required:["DocumentId","VersionId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"}}}},ActivateUser:{http:{requestUri:"/api/v1/users/{UserId}/activation",responseCode:200},input:{type:"structure",required:["UserId"],members:{UserId:{location:"uri",locationName:"UserId"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}},output:{type:"structure",members:{User:{shape:"S8"}}}},AddResourcePermissions:{http:{requestUri:"/api/v1/resources/{ResourceId}/permissions",responseCode:201},input:{type:"structure",required:["ResourceId","Principals"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},Principals:{type:"list",member:{type:"structure",required:["Id","Type","Role"],members:{Id:{},Type:{},Role:{}}}},NotificationOptions:{type:"structure",members:{SendEmail:{type:"boolean"},EmailMessage:{shape:"St"}}}}},output:{type:"structure",members:{ShareResults:{type:"list",member:{type:"structure",members:{PrincipalId:{},InviteePrincipalId:{},Role:{},Status:{},ShareId:{},StatusMessage:{shape:"St"}}}}}}},CreateComment:{http:{requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}/comment",responseCode:201},input:{type:"structure",required:["DocumentId","VersionId","Text"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},ParentId:{},ThreadId:{},Text:{shape:"S10"},Visibility:{},NotifyCollaborators:{type:"boolean"}}},output:{type:"structure",members:{Comment:{shape:"S13"}}}},CreateCustomMetadata:{http:{method:"PUT",requestUri:"/api/v1/resources/{ResourceId}/customMetadata",responseCode:200},input:{type:"structure",required:["ResourceId","CustomMetadata"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},VersionId:{location:"querystring",locationName:"versionid"},CustomMetadata:{shape:"S16"}}},output:{type:"structure",members:{}}},CreateFolder:{http:{requestUri:"/api/v1/folders",responseCode:201},input:{type:"structure",required:["ParentFolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},Name:{},ParentFolderId:{}}},output:{type:"structure",members:{Metadata:{shape:"S1d"}}}},CreateLabels:{http:{method:"PUT",requestUri:"/api/v1/resources/{ResourceId}/labels",responseCode:200},input:{type:"structure",required:["ResourceId","Labels"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},Labels:{shape:"S1g"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}},output:{type:"structure",members:{}}},CreateNotificationSubscription:{http:{requestUri:"/api/v1/organizations/{OrganizationId}/subscriptions",responseCode:200},input:{type:"structure",required:["OrganizationId","Endpoint","Protocol","SubscriptionType"],members:{OrganizationId:{location:"uri",locationName:"OrganizationId"},Endpoint:{},Protocol:{},SubscriptionType:{}}},output:{type:"structure",members:{Subscription:{shape:"S1p"}}}},CreateUser:{http:{requestUri:"/api/v1/users",responseCode:201},input:{type:"structure",required:["Username","GivenName","Surname","Password"],members:{OrganizationId:{},Username:{},EmailAddress:{},GivenName:{},Surname:{},Password:{type:"string",sensitive:!0},TimeZoneId:{},StorageRule:{shape:"Sj"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}},output:{type:"structure",members:{User:{shape:"S8"}}}},DeactivateUser:{http:{method:"DELETE",requestUri:"/api/v1/users/{UserId}/activation",responseCode:204},input:{type:"structure",required:["UserId"],members:{UserId:{location:"uri",locationName:"UserId"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}}},DeleteComment:{http:{method:"DELETE",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}",responseCode:204},input:{type:"structure",required:["DocumentId","VersionId","CommentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},CommentId:{location:"uri",locationName:"CommentId"}}}},DeleteCustomMetadata:{http:{method:"DELETE",requestUri:"/api/v1/resources/{ResourceId}/customMetadata",responseCode:200},input:{type:"structure",required:["ResourceId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},VersionId:{location:"querystring",locationName:"versionId"},Keys:{location:"querystring",locationName:"keys",type:"list",member:{}},DeleteAll:{location:"querystring",locationName:"deleteAll",type:"boolean"}}},output:{type:"structure",members:{}}},DeleteDocument:{http:{method:"DELETE",requestUri:"/api/v1/documents/{DocumentId}",responseCode:204},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"}}}},DeleteFolder:{http:{method:"DELETE",requestUri:"/api/v1/folders/{FolderId}",responseCode:204},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"}}}},DeleteFolderContents:{http:{method:"DELETE",requestUri:"/api/v1/folders/{FolderId}/contents",responseCode:204},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"}}}},DeleteLabels:{http:{method:"DELETE",requestUri:"/api/v1/resources/{ResourceId}/labels",responseCode:200},input:{type:"structure",required:["ResourceId"],members:{ResourceId:{location:"uri",locationName:"ResourceId"},AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},Labels:{shape:"S1g",location:"querystring",locationName:"labels"},DeleteAll:{location:"querystring",locationName:"deleteAll",type:"boolean"}}},output:{type:"structure",members:{}}},DeleteNotificationSubscription:{http:{method:"DELETE",requestUri:"/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}",responseCode:200},input:{type:"structure",required:["SubscriptionId","OrganizationId"],members:{SubscriptionId:{location:"uri",locationName:"SubscriptionId"},OrganizationId:{location:"uri",locationName:"OrganizationId"}}}},DeleteUser:{http:{method:"DELETE",requestUri:"/api/v1/users/{UserId}",responseCode:204},input:{type:"structure",required:["UserId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},UserId:{location:"uri",locationName:"UserId"}}}},DescribeActivities:{http:{method:"GET",requestUri:"/api/v1/activities",responseCode:200},input:{type:"structure",members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},StartTime:{location:"querystring",locationName:"startTime",type:"timestamp"},EndTime:{location:"querystring",locationName:"endTime",type:"timestamp"},OrganizationId:{location:"querystring",locationName:"organizationId"},ActivityTypes:{location:"querystring",locationName:"activityTypes"},ResourceId:{location:"querystring",locationName:"resourceId"},UserId:{location:"querystring",locationName:"userId"},IncludeIndirectActivities:{location:"querystring",locationName:"includeIndirectActivities",type:"boolean"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{UserActivities:{type:"list",member:{type:"structure",members:{Type:{},TimeStamp:{type:"timestamp"},IsIndirectActivity:{type:"boolean"},OrganizationId:{},Initiator:{shape:"S2d"},Participants:{type:"structure",members:{Users:{type:"list",member:{shape:"S2d"}},Groups:{shape:"S2g"}}},ResourceMetadata:{shape:"S2j"},OriginalParent:{shape:"S2j"},CommentMetadata:{type:"structure",members:{CommentId:{},Contributor:{shape:"S8"},CreatedTimestamp:{type:"timestamp"},CommentStatus:{},RecipientId:{}}}}}},Marker:{}}}},DescribeComments:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}/comments",responseCode:200},input:{type:"structure",required:["DocumentId","VersionId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Comments:{type:"list",member:{shape:"S13"}},Marker:{}}}},DescribeDocumentVersions:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}/versions",responseCode:200},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},Marker:{location:"querystring",locationName:"marker"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Include:{location:"querystring",locationName:"include"},Fields:{location:"querystring",locationName:"fields"}}},output:{type:"structure",members:{DocumentVersions:{type:"list",member:{shape:"S2u"}},Marker:{}}}},DescribeFolderContents:{http:{method:"GET",requestUri:"/api/v1/folders/{FolderId}/contents",responseCode:200},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"},Sort:{location:"querystring",locationName:"sort"},Order:{location:"querystring",locationName:"order"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"},Type:{location:"querystring",locationName:"type"},Include:{location:"querystring",locationName:"include"}}},output:{type:"structure",members:{Folders:{shape:"S37"},Documents:{shape:"S38"},Marker:{}}}},DescribeGroups:{http:{method:"GET",requestUri:"/api/v1/groups",responseCode:200},input:{type:"structure",required:["SearchQuery"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},SearchQuery:{shape:"S3b",location:"querystring",locationName:"searchQuery"},OrganizationId:{location:"querystring",locationName:"organizationId"},Marker:{location:"querystring",locationName:"marker"},Limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{Groups:{shape:"S2g"},Marker:{}}}},DescribeNotificationSubscriptions:{http:{method:"GET",requestUri:"/api/v1/organizations/{OrganizationId}/subscriptions",responseCode:200},input:{type:"structure",required:["OrganizationId"],members:{OrganizationId:{location:"uri",locationName:"OrganizationId"},Marker:{location:"querystring",locationName:"marker"},Limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{Subscriptions:{type:"list",member:{shape:"S1p"}},Marker:{}}}},DescribeResourcePermissions:{http:{method:"GET",requestUri:"/api/v1/resources/{ResourceId}/permissions",responseCode:200},input:{type:"structure",required:["ResourceId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},PrincipalId:{location:"querystring",locationName:"principalId"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Principals:{type:"list",member:{type:"structure",members:{Id:{},Type:{},Roles:{type:"list",member:{type:"structure",members:{Role:{},Type:{}}}}}}},Marker:{}}}},DescribeRootFolders:{http:{method:"GET",requestUri:"/api/v1/me/root",responseCode:200},input:{type:"structure",required:["AuthenticationToken"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Folders:{shape:"S37"},Marker:{}}}},DescribeUsers:{http:{method:"GET",requestUri:"/api/v1/users",responseCode:200},input:{type:"structure",members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},OrganizationId:{location:"querystring",locationName:"organizationId"},UserIds:{location:"querystring",locationName:"userIds"},Query:{shape:"S3b",location:"querystring",locationName:"query"},Include:{location:"querystring",locationName:"include"},Order:{location:"querystring",locationName:"order"},Sort:{location:"querystring",locationName:"sort"},Marker:{location:"querystring",locationName:"marker"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Fields:{location:"querystring",locationName:"fields"}}},output:{type:"structure",members:{Users:{type:"list",member:{shape:"S8"}},TotalNumberOfUsers:{deprecated:!0,type:"long"},Marker:{}}}},GetCurrentUser:{http:{method:"GET",requestUri:"/api/v1/me",responseCode:200},input:{type:"structure",required:["AuthenticationToken"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"}}},output:{type:"structure",members:{User:{shape:"S8"}}}},GetDocument:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}",responseCode:200},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},IncludeCustomMetadata:{location:"querystring",locationName:"includeCustomMetadata",type:"boolean"}}},output:{type:"structure",members:{Metadata:{shape:"S39"},CustomMetadata:{shape:"S16"}}}},GetDocumentPath:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}/path",responseCode:200},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Fields:{location:"querystring",locationName:"fields"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Path:{shape:"S42"}}}},GetDocumentVersion:{http:{method:"GET",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}",responseCode:200},input:{type:"structure",required:["DocumentId","VersionId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},Fields:{location:"querystring",locationName:"fields"},IncludeCustomMetadata:{location:"querystring",locationName:"includeCustomMetadata",type:"boolean"}}},output:{type:"structure",members:{Metadata:{shape:"S2u"},CustomMetadata:{shape:"S16"}}}},GetFolder:{http:{method:"GET",requestUri:"/api/v1/folders/{FolderId}",responseCode:200},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"},IncludeCustomMetadata:{location:"querystring",locationName:"includeCustomMetadata",type:"boolean"}}},output:{type:"structure",members:{Metadata:{shape:"S1d"},CustomMetadata:{shape:"S16"}}}},GetFolderPath:{http:{method:"GET",requestUri:"/api/v1/folders/{FolderId}/path",responseCode:200},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Fields:{location:"querystring",locationName:"fields"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Path:{shape:"S42"}}}},GetResources:{http:{method:"GET",requestUri:"/api/v1/resources",responseCode:200},input:{type:"structure",members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},UserId:{location:"querystring",locationName:"userId"},CollectionType:{location:"querystring",locationName:"collectionType"},Limit:{location:"querystring",locationName:"limit",type:"integer"},Marker:{location:"querystring",locationName:"marker"}}},output:{type:"structure",members:{Folders:{shape:"S37"},Documents:{shape:"S38"},Marker:{}}}},InitiateDocumentVersionUpload:{http:{requestUri:"/api/v1/documents",responseCode:201},input:{type:"structure",required:["ParentFolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},Id:{},Name:{},ContentCreatedTimestamp:{type:"timestamp"},ContentModifiedTimestamp:{type:"timestamp"},ContentType:{},DocumentSizeInBytes:{type:"long"},ParentFolderId:{}}},output:{type:"structure",members:{Metadata:{shape:"S39"},UploadMetadata:{type:"structure",members:{UploadUrl:{shape:"S2z"},SignedHeaders:{type:"map",key:{},value:{}}}}}}},RemoveAllResourcePermissions:{http:{method:"DELETE",requestUri:"/api/v1/resources/{ResourceId}/permissions",responseCode:204},input:{type:"structure",required:["ResourceId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"}}}},RemoveResourcePermission:{http:{method:"DELETE",requestUri:"/api/v1/resources/{ResourceId}/permissions/{PrincipalId}",responseCode:204},input:{type:"structure",required:["ResourceId","PrincipalId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},ResourceId:{location:"uri",locationName:"ResourceId"},PrincipalId:{location:"uri",locationName:"PrincipalId"},PrincipalType:{location:"querystring",locationName:"type"}}}},UpdateDocument:{http:{method:"PATCH",requestUri:"/api/v1/documents/{DocumentId}",responseCode:200},input:{type:"structure",required:["DocumentId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},Name:{},ParentFolderId:{},ResourceState:{}}}},UpdateDocumentVersion:{http:{method:"PATCH",requestUri:"/api/v1/documents/{DocumentId}/versions/{VersionId}",responseCode:200},input:{type:"structure",required:["DocumentId","VersionId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},DocumentId:{location:"uri",locationName:"DocumentId"},VersionId:{location:"uri",locationName:"VersionId"},VersionStatus:{}}}},UpdateFolder:{http:{method:"PATCH",requestUri:"/api/v1/folders/{FolderId}",responseCode:200},input:{type:"structure",required:["FolderId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},FolderId:{location:"uri",locationName:"FolderId"},Name:{},ParentFolderId:{},ResourceState:{}}}},UpdateUser:{http:{method:"PATCH",requestUri:"/api/v1/users/{UserId}",responseCode:200},input:{type:"structure",required:["UserId"],members:{AuthenticationToken:{shape:"S2",location:"header",locationName:"Authentication"},UserId:{location:"uri",locationName:"UserId"},GivenName:{},Surname:{},Type:{},StorageRule:{shape:"Sj"},TimeZoneId:{},Locale:{},GrantPoweruserPrivileges:{}}},output:{type:"structure",members:{User:{shape:"S8"}}}}},shapes:{S2:{type:"string",sensitive:!0},S8:{type:"structure",members:{Id:{},Username:{},EmailAddress:{},GivenName:{},Surname:{},OrganizationId:{},RootFolderId:{},RecycleBinFolderId:{},Status:{},Type:{},CreatedTimestamp:{type:"timestamp"},ModifiedTimestamp:{type:"timestamp"},TimeZoneId:{},Locale:{},Storage:{type:"structure",members:{StorageUtilizedInBytes:{type:"long"},StorageRule:{shape:"Sj"}}}}},Sj:{type:"structure",members:{StorageAllocatedInBytes:{type:"long"},StorageType:{}}},St:{type:"string",sensitive:!0},S10:{type:"string",sensitive:!0},S13:{type:"structure",required:["CommentId"],members:{CommentId:{},ParentId:{},ThreadId:{},Text:{shape:"S10"},Contributor:{shape:"S8"},CreatedTimestamp:{type:"timestamp"},Status:{},Visibility:{},RecipientId:{}}},S16:{type:"map",key:{},value:{}},S1d:{type:"structure",members:{Id:{},Name:{},CreatorId:{},ParentFolderId:{},CreatedTimestamp:{type:"timestamp"},ModifiedTimestamp:{type:"timestamp"},ResourceState:{},Signature:{},Labels:{shape:"S1g"},Size:{type:"long"},LatestVersionSize:{type:"long"}}},S1g:{type:"list",member:{}},S1p:{type:"structure",members:{SubscriptionId:{},EndPoint:{},Protocol:{}}},S2d:{type:"structure",members:{Id:{},Username:{},GivenName:{},Surname:{},EmailAddress:{}}},S2g:{type:"list",member:{type:"structure",members:{Id:{},Name:{}}}},S2j:{type:"structure",members:{Type:{},Name:{},OriginalName:{},Id:{},VersionId:{},Owner:{shape:"S2d"},ParentId:{}}},S2u:{type:"structure",members:{Id:{},Name:{},ContentType:{},Size:{type:"long"},Signature:{},Status:{},CreatedTimestamp:{type:"timestamp"},ModifiedTimestamp:{type:"timestamp"},ContentCreatedTimestamp:{type:"timestamp"},ContentModifiedTimestamp:{type:"timestamp"},CreatorId:{},Thumbnail:{type:"map",key:{},value:{shape:"S2z"}},Source:{type:"map",key:{},value:{shape:"S2z"}}}},S2z:{type:"string",sensitive:!0},S37:{type:"list",member:{shape:"S1d"}},S38:{type:"list",member:{shape:"S39"}},S39:{type:"structure",members:{Id:{},CreatorId:{},ParentFolderId:{},CreatedTimestamp:{type:"timestamp"},ModifiedTimestamp:{type:"timestamp"},LatestVersionMetadata:{shape:"S2u"},ResourceState:{},Labels:{shape:"S1g"}}},S3b:{type:"string",sensitive:!0},S42:{type:"structure",members:{Components:{type:"list",member:{type:"structure",members:{Id:{},Name:{}}}}}}}}},{}],237:[function(e,t,r){t.exports={pagination:{DescribeDocumentVersions:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"DocumentVersions"},DescribeFolderContents:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:["Folders","Documents"]},DescribeUsers:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"Users"}}}},{}],238:[function(e,t,r){t.exports={version:"2.0",metadata:{apiVersion:"2016-04-12",endpointPrefix:"xray",protocol:"rest-json",serviceFullName:"AWS X-Ray",serviceId:"XRay",signatureVersion:"v4",uid:"xray-2016-04-12"},operations:{BatchGetTraces:{http:{requestUri:"/Traces"},input:{type:"structure",required:["TraceIds"],members:{TraceIds:{shape:"S2"},NextToken:{}}},output:{type:"structure",members:{Traces:{type:"list",member:{type:"structure",members:{Id:{},Duration:{type:"double"},LimitExceeded:{type:"boolean"},Segments:{type:"list",member:{type:"structure",members:{Id:{},Document:{}}}}}}},UnprocessedTraceIds:{type:"list",member:{}},NextToken:{}}}},CreateGroup:{http:{requestUri:"/CreateGroup"},input:{type:"structure",required:["GroupName"],members:{GroupName:{},FilterExpression:{},InsightsConfiguration:{shape:"Si"},Tags:{shape:"Sj"}}},output:{type:"structure",members:{Group:{shape:"So"}}}},CreateSamplingRule:{http:{requestUri:"/CreateSamplingRule"},input:{type:"structure",required:["SamplingRule"],members:{SamplingRule:{shape:"Sq"},Tags:{shape:"Sj"}}},output:{type:"structure",members:{SamplingRuleRecord:{shape:"S16"}}}},DeleteGroup:{http:{requestUri:"/DeleteGroup"},input:{type:"structure",members:{GroupName:{},GroupARN:{}}},output:{type:"structure",members:{}}},DeleteSamplingRule:{http:{requestUri:"/DeleteSamplingRule"},input:{type:"structure",members:{RuleName:{},RuleARN:{}}},output:{type:"structure",members:{SamplingRuleRecord:{shape:"S16"}}}},GetEncryptionConfig:{http:{requestUri:"/EncryptionConfig"},input:{type:"structure",members:{}},output:{type:"structure",members:{EncryptionConfig:{shape:"S1f"}}}},GetGroup:{http:{requestUri:"/GetGroup"},input:{type:"structure",members:{GroupName:{},GroupARN:{}}},output:{type:"structure",members:{Group:{shape:"So"}}}},GetGroups:{http:{requestUri:"/Groups"},input:{type:"structure",members:{NextToken:{}}},output:{type:"structure",members:{Groups:{type:"list",member:{type:"structure",members:{GroupName:{},GroupARN:{},FilterExpression:{},InsightsConfiguration:{shape:"Si"}}}},NextToken:{}}}},GetInsight:{http:{requestUri:"/Insight"},input:{type:"structure",required:["InsightId"],members:{InsightId:{}}},output:{type:"structure",members:{Insight:{type:"structure",members:{InsightId:{},GroupARN:{},GroupName:{},RootCauseServiceId:{shape:"S1t"},Categories:{shape:"S1v"},State:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Summary:{},ClientRequestImpactStatistics:{shape:"S1z"},RootCauseServiceRequestImpactStatistics:{shape:"S1z"},TopAnomalousServices:{shape:"S21"}}}}}},GetInsightEvents:{http:{requestUri:"/InsightEvents"},input:{type:"structure",required:["InsightId"],members:{InsightId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InsightEvents:{type:"list",member:{type:"structure",members:{Summary:{},EventTime:{type:"timestamp"},ClientRequestImpactStatistics:{shape:"S1z"},RootCauseServiceRequestImpactStatistics:{shape:"S1z"},TopAnomalousServices:{shape:"S21"}}}},NextToken:{}}}},GetInsightImpactGraph:{http:{requestUri:"/InsightImpactGraph"},input:{type:"structure",required:["InsightId","StartTime","EndTime"],members:{InsightId:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},NextToken:{}}},output:{type:"structure",members:{InsightId:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},ServiceGraphStartTime:{type:"timestamp"},ServiceGraphEndTime:{type:"timestamp"},Services:{type:"list",member:{type:"structure",members:{ReferenceId:{type:"integer"},Type:{},Name:{},Names:{shape:"S1u"},AccountId:{},Edges:{type:"list",member:{type:"structure",members:{ReferenceId:{type:"integer"}}}}}}},NextToken:{}}}},GetInsightSummaries:{http:{requestUri:"/InsightSummaries"},input:{type:"structure",required:["StartTime","EndTime"],members:{States:{type:"list",member:{}},GroupARN:{},GroupName:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InsightSummaries:{type:"list",member:{type:"structure",members:{InsightId:{},GroupARN:{},GroupName:{},RootCauseServiceId:{shape:"S1t"},Categories:{shape:"S1v"},State:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Summary:{},ClientRequestImpactStatistics:{shape:"S1z"},RootCauseServiceRequestImpactStatistics:{shape:"S1z"},TopAnomalousServices:{shape:"S21"},LastUpdateTime:{type:"timestamp"}}}},NextToken:{}}}},GetSamplingRules:{http:{requestUri:"/GetSamplingRules"},input:{type:"structure",members:{NextToken:{}}},output:{type:"structure",members:{SamplingRuleRecords:{type:"list",member:{shape:"S16"}},NextToken:{}}}},GetSamplingStatisticSummaries:{http:{requestUri:"/SamplingStatisticSummaries"},input:{type:"structure",members:{NextToken:{}}},output:{type:"structure",members:{SamplingStatisticSummaries:{type:"list",member:{type:"structure",members:{RuleName:{},Timestamp:{type:"timestamp"},RequestCount:{type:"integer"},BorrowCount:{type:"integer"},SampledCount:{type:"integer"}}}},NextToken:{}}}},GetSamplingTargets:{http:{requestUri:"/SamplingTargets"},input:{type:"structure",required:["SamplingStatisticsDocuments"],members:{SamplingStatisticsDocuments:{type:"list",member:{type:"structure",required:["RuleName","ClientID","Timestamp","RequestCount","SampledCount"],members:{RuleName:{},ClientID:{},Timestamp:{type:"timestamp"},RequestCount:{type:"integer"},SampledCount:{type:"integer"},BorrowCount:{type:"integer"}}}}}},output:{type:"structure",members:{SamplingTargetDocuments:{type:"list",member:{type:"structure",members:{RuleName:{},FixedRate:{type:"double"},ReservoirQuota:{type:"integer"},ReservoirQuotaTTL:{type:"timestamp"},Interval:{type:"integer"}}}},LastRuleModification:{type:"timestamp"},UnprocessedStatistics:{type:"list",member:{type:"structure",members:{RuleName:{},ErrorCode:{},Message:{}}}}}}},GetServiceGraph:{http:{requestUri:"/ServiceGraph"},input:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},GroupName:{},GroupARN:{},NextToken:{}}},output:{type:"structure",members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Services:{shape:"S3a"},ContainsOldGroupVersions:{type:"boolean"},NextToken:{}}}},GetTimeSeriesServiceStatistics:{http:{requestUri:"/TimeSeriesServiceStatistics"},input:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},GroupName:{},GroupARN:{},EntitySelectorExpression:{},Period:{type:"integer"},ForecastStatistics:{type:"boolean"},NextToken:{}}},output:{type:"structure",members:{TimeSeriesServiceStatistics:{type:"list", +member:{type:"structure",members:{Timestamp:{type:"timestamp"},EdgeSummaryStatistics:{shape:"S3e"},ServiceSummaryStatistics:{shape:"S3m"},ServiceForecastStatistics:{type:"structure",members:{FaultCountHigh:{type:"long"},FaultCountLow:{type:"long"}}},ResponseTimeHistogram:{shape:"S3h"}}}},ContainsOldGroupVersions:{type:"boolean"},NextToken:{}}}},GetTraceGraph:{http:{requestUri:"/TraceGraph"},input:{type:"structure",required:["TraceIds"],members:{TraceIds:{shape:"S2"},NextToken:{}}},output:{type:"structure",members:{Services:{shape:"S3a"},NextToken:{}}}},GetTraceSummaries:{http:{requestUri:"/TraceSummaries"},input:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},TimeRangeType:{},Sampling:{type:"boolean"},SamplingStrategy:{type:"structure",members:{Name:{},Value:{type:"double"}}},FilterExpression:{},NextToken:{}}},output:{type:"structure",members:{TraceSummaries:{type:"list",member:{type:"structure",members:{Id:{},Duration:{type:"double"},ResponseTime:{type:"double"},HasFault:{type:"boolean"},HasError:{type:"boolean"},HasThrottle:{type:"boolean"},IsPartial:{type:"boolean"},Http:{type:"structure",members:{HttpURL:{},HttpStatus:{type:"integer"},HttpMethod:{},UserAgent:{},ClientIp:{}}},Annotations:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{AnnotationValue:{type:"structure",members:{NumberValue:{type:"double"},BooleanValue:{type:"boolean"},StringValue:{}}},ServiceIds:{shape:"S49"}}}}},Users:{type:"list",member:{type:"structure",members:{UserName:{},ServiceIds:{shape:"S49"}}}},ServiceIds:{shape:"S49"},ResourceARNs:{type:"list",member:{type:"structure",members:{ARN:{}}}},InstanceIds:{type:"list",member:{type:"structure",members:{Id:{}}}},AvailabilityZones:{type:"list",member:{type:"structure",members:{Name:{}}}},EntryPoint:{shape:"S1t"},FaultRootCauses:{type:"list",member:{type:"structure",members:{Services:{type:"list",member:{type:"structure",members:{Name:{},Names:{shape:"S1u"},Type:{},AccountId:{},EntityPath:{type:"list",member:{type:"structure",members:{Name:{},Exceptions:{shape:"S4o"},Remote:{type:"boolean"}}}},Inferred:{type:"boolean"}}}},ClientImpacting:{type:"boolean"}}}},ErrorRootCauses:{type:"list",member:{type:"structure",members:{Services:{type:"list",member:{type:"structure",members:{Name:{},Names:{shape:"S1u"},Type:{},AccountId:{},EntityPath:{type:"list",member:{type:"structure",members:{Name:{},Exceptions:{shape:"S4o"},Remote:{type:"boolean"}}}},Inferred:{type:"boolean"}}}},ClientImpacting:{type:"boolean"}}}},ResponseTimeRootCauses:{type:"list",member:{type:"structure",members:{Services:{type:"list",member:{type:"structure",members:{Name:{},Names:{shape:"S1u"},Type:{},AccountId:{},EntityPath:{type:"list",member:{type:"structure",members:{Name:{},Coverage:{type:"double"},Remote:{type:"boolean"}}}},Inferred:{type:"boolean"}}}},ClientImpacting:{type:"boolean"}}}},Revision:{type:"integer"},MatchedEventTime:{type:"timestamp"}}}},ApproximateTime:{type:"timestamp"},TracesProcessedCount:{type:"long"},NextToken:{}}}},ListTagsForResource:{http:{requestUri:"/ListTagsForResource"},input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{},NextToken:{}}},output:{type:"structure",members:{Tags:{shape:"Sj"},NextToken:{}}}},PutEncryptionConfig:{http:{requestUri:"/PutEncryptionConfig"},input:{type:"structure",required:["Type"],members:{KeyId:{},Type:{}}},output:{type:"structure",members:{EncryptionConfig:{shape:"S1f"}}}},PutTelemetryRecords:{http:{requestUri:"/TelemetryRecords"},input:{type:"structure",required:["TelemetryRecords"],members:{TelemetryRecords:{type:"list",member:{type:"structure",required:["Timestamp"],members:{Timestamp:{type:"timestamp"},SegmentsReceivedCount:{type:"integer"},SegmentsSentCount:{type:"integer"},SegmentsSpilloverCount:{type:"integer"},SegmentsRejectedCount:{type:"integer"},BackendConnectionErrors:{type:"structure",members:{TimeoutCount:{type:"integer"},ConnectionRefusedCount:{type:"integer"},HTTPCode4XXCount:{type:"integer"},HTTPCode5XXCount:{type:"integer"},UnknownHostCount:{type:"integer"},OtherCount:{type:"integer"}}}}}},EC2InstanceId:{},Hostname:{},ResourceARN:{}}},output:{type:"structure",members:{}}},PutTraceSegments:{http:{requestUri:"/TraceSegments"},input:{type:"structure",required:["TraceSegmentDocuments"],members:{TraceSegmentDocuments:{type:"list",member:{}}}},output:{type:"structure",members:{UnprocessedTraceSegments:{type:"list",member:{type:"structure",members:{Id:{},ErrorCode:{},Message:{}}}}}}},TagResource:{http:{requestUri:"/TagResource"},input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"Sj"}}},output:{type:"structure",members:{}}},UntagResource:{http:{requestUri:"/UntagResource"},input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}}},UpdateGroup:{http:{requestUri:"/UpdateGroup"},input:{type:"structure",members:{GroupName:{},GroupARN:{},FilterExpression:{},InsightsConfiguration:{shape:"Si"}}},output:{type:"structure",members:{Group:{shape:"So"}}}},UpdateSamplingRule:{http:{requestUri:"/UpdateSamplingRule"},input:{type:"structure",required:["SamplingRuleUpdate"],members:{SamplingRuleUpdate:{type:"structure",members:{RuleName:{},RuleARN:{},ResourceARN:{},Priority:{type:"integer"},FixedRate:{type:"double"},ReservoirSize:{type:"integer"},Host:{},ServiceName:{},ServiceType:{},HTTPMethod:{},URLPath:{},Attributes:{shape:"S12"}}}}},output:{type:"structure",members:{SamplingRuleRecord:{shape:"S16"}}}}},shapes:{S2:{type:"list",member:{}},Si:{type:"structure",members:{InsightsEnabled:{type:"boolean"},NotificationsEnabled:{type:"boolean"}}},Sj:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},So:{type:"structure",members:{GroupName:{},GroupARN:{},FilterExpression:{},InsightsConfiguration:{shape:"Si"}}},Sq:{type:"structure",required:["ResourceARN","Priority","FixedRate","ReservoirSize","ServiceName","ServiceType","Host","HTTPMethod","URLPath","Version"],members:{RuleName:{},RuleARN:{},ResourceARN:{},Priority:{type:"integer"},FixedRate:{type:"double"},ReservoirSize:{type:"integer"},ServiceName:{},ServiceType:{},Host:{},HTTPMethod:{},URLPath:{},Version:{type:"integer"},Attributes:{shape:"S12"}}},S12:{type:"map",key:{},value:{}},S16:{type:"structure",members:{SamplingRule:{shape:"Sq"},CreatedAt:{type:"timestamp"},ModifiedAt:{type:"timestamp"}}},S1f:{type:"structure",members:{KeyId:{},Status:{},Type:{}}},S1t:{type:"structure",members:{Name:{},Names:{shape:"S1u"},AccountId:{},Type:{}}},S1u:{type:"list",member:{}},S1v:{type:"list",member:{}},S1z:{type:"structure",members:{FaultCount:{type:"long"},OkCount:{type:"long"},TotalCount:{type:"long"}}},S21:{type:"list",member:{type:"structure",members:{ServiceId:{shape:"S1t"}}}},S3a:{type:"list",member:{type:"structure",members:{ReferenceId:{type:"integer"},Name:{},Names:{shape:"S1u"},Root:{type:"boolean"},AccountId:{},Type:{},State:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Edges:{type:"list",member:{type:"structure",members:{ReferenceId:{type:"integer"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},SummaryStatistics:{shape:"S3e"},ResponseTimeHistogram:{shape:"S3h"},Aliases:{type:"list",member:{type:"structure",members:{Name:{},Names:{type:"list",member:{}},Type:{}}}}}}},SummaryStatistics:{shape:"S3m"},DurationHistogram:{shape:"S3h"},ResponseTimeHistogram:{shape:"S3h"}}}},S3e:{type:"structure",members:{OkCount:{type:"long"},ErrorStatistics:{shape:"S3f"},FaultStatistics:{shape:"S3g"},TotalCount:{type:"long"},TotalResponseTime:{type:"double"}}},S3f:{type:"structure",members:{ThrottleCount:{type:"long"},OtherCount:{type:"long"},TotalCount:{type:"long"}}},S3g:{type:"structure",members:{OtherCount:{type:"long"},TotalCount:{type:"long"}}},S3h:{type:"list",member:{type:"structure",members:{Value:{type:"double"},Count:{type:"integer"}}}},S3m:{type:"structure",members:{OkCount:{type:"long"},ErrorStatistics:{shape:"S3f"},FaultStatistics:{shape:"S3g"},TotalCount:{type:"long"},TotalResponseTime:{type:"double"}}},S49:{type:"list",member:{shape:"S1t"}},S4o:{type:"list",member:{type:"structure",members:{Name:{},Message:{}}}}}}},{}],239:[function(e,t,r){t.exports={pagination:{BatchGetTraces:{input_token:"NextToken",output_token:"NextToken",result_key:"Traces"},GetGroups:{input_token:"NextToken",output_token:"NextToken",result_key:"Groups"},GetInsightEvents:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetInsightSummaries:{input_token:"NextToken",limit_key:"MaxResults",output_token:"NextToken"},GetSamplingRules:{input_token:"NextToken",output_token:"NextToken",result_key:"SamplingRuleRecords"},GetSamplingStatisticSummaries:{input_token:"NextToken",output_token:"NextToken",result_key:"SamplingStatisticSummaries"},GetServiceGraph:{input_token:"NextToken",output_token:"NextToken",result_key:"Services"},GetTimeSeriesServiceStatistics:{input_token:"NextToken",output_token:"NextToken",result_key:"TimeSeriesServiceStatistics"},GetTraceGraph:{input_token:"NextToken",output_token:"NextToken",result_key:"Services"},GetTraceSummaries:{input_token:"NextToken",output_token:"NextToken",result_key:"TraceSummaries"}}}},{}],240:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.acm={},i.ACM=a.defineService("acm",["2015-12-08"]),Object.defineProperty(s.services.acm,"2015-12-08",{get:function(){var t=e("../apis/acm-2015-12-08.min.json");return t.paginators=e("../apis/acm-2015-12-08.paginators.json").pagination,t.waiters=e("../apis/acm-2015-12-08.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ACM},{"../apis/acm-2015-12-08.min.json":1,"../apis/acm-2015-12-08.paginators.json":2,"../apis/acm-2015-12-08.waiters2.json":3,"../lib/core":342,"../lib/node_loader":338}],241:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.apigateway={},i.APIGateway=a.defineService("apigateway",["2015-07-09"]),e("../lib/services/apigateway"),Object.defineProperty(s.services.apigateway,"2015-07-09",{get:function(){var t=e("../apis/apigateway-2015-07-09.min.json");return t.paginators=e("../apis/apigateway-2015-07-09.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.APIGateway},{"../apis/apigateway-2015-07-09.min.json":4,"../apis/apigateway-2015-07-09.paginators.json":5,"../lib/core":342,"../lib/node_loader":338,"../lib/services/apigateway":394}],242:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.applicationautoscaling={},i.ApplicationAutoScaling=a.defineService("applicationautoscaling",["2016-02-06"]),Object.defineProperty(s.services.applicationautoscaling,"2016-02-06",{get:function(){var t=e("../apis/application-autoscaling-2016-02-06.min.json");return t.paginators=e("../apis/application-autoscaling-2016-02-06.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ApplicationAutoScaling},{"../apis/application-autoscaling-2016-02-06.min.json":6,"../apis/application-autoscaling-2016-02-06.paginators.json":7,"../lib/core":342,"../lib/node_loader":338}],243:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.athena={},i.Athena=a.defineService("athena",["2017-05-18"]),Object.defineProperty(s.services.athena,"2017-05-18",{get:function(){var t=e("../apis/athena-2017-05-18.min.json");return t.paginators=e("../apis/athena-2017-05-18.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Athena},{"../apis/athena-2017-05-18.min.json":8,"../apis/athena-2017-05-18.paginators.json":9,"../lib/core":342,"../lib/node_loader":338}],244:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.autoscaling={},i.AutoScaling=a.defineService("autoscaling",["2011-01-01"]),Object.defineProperty(s.services.autoscaling,"2011-01-01",{get:function(){var t=e("../apis/autoscaling-2011-01-01.min.json");return t.paginators=e("../apis/autoscaling-2011-01-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.AutoScaling},{"../apis/autoscaling-2011-01-01.min.json":10,"../apis/autoscaling-2011-01-01.paginators.json":11,"../lib/core":342,"../lib/node_loader":338}],245:[function(e,t,r){e("../lib/node_loader"),t.exports={ACM:e("./acm"),APIGateway:e("./apigateway"),ApplicationAutoScaling:e("./applicationautoscaling"),AutoScaling:e("./autoscaling"),CloudFormation:e("./cloudformation"),CloudFront:e("./cloudfront"),CloudHSM:e("./cloudhsm"),CloudTrail:e("./cloudtrail"),CloudWatch:e("./cloudwatch"),CloudWatchEvents:e("./cloudwatchevents"),CloudWatchLogs:e("./cloudwatchlogs"),CodeBuild:e("./codebuild"),CodeCommit:e("./codecommit"),CodeDeploy:e("./codedeploy"),CodePipeline:e("./codepipeline"),CognitoIdentity:e("./cognitoidentity"),CognitoIdentityServiceProvider:e("./cognitoidentityserviceprovider"),CognitoSync:e("./cognitosync"),ConfigService:e("./configservice"),CUR:e("./cur"),DeviceFarm:e("./devicefarm"),DirectConnect:e("./directconnect"),DynamoDB:e("./dynamodb"),DynamoDBStreams:e("./dynamodbstreams"),EC2:e("./ec2"),ECR:e("./ecr"),ECS:e("./ecs"),EFS:e("./efs"),ElastiCache:e("./elasticache"),ElasticBeanstalk:e("./elasticbeanstalk"),ELB:e("./elb"),ELBv2:e("./elbv2"),EMR:e("./emr"),ElasticTranscoder:e("./elastictranscoder"),Firehose:e("./firehose"),GameLift:e("./gamelift"),IAM:e("./iam"),Inspector:e("./inspector"),Iot:e("./iot"),IotData:e("./iotdata"),Kinesis:e("./kinesis"),KMS:e("./kms"),Lambda:e("./lambda"),LexRuntime:e("./lexruntime"),MachineLearning:e("./machinelearning"),MarketplaceCommerceAnalytics:e("./marketplacecommerceanalytics"),MTurk:e("./mturk"),MobileAnalytics:e("./mobileanalytics"),OpsWorks:e("./opsworks"),Polly:e("./polly"),RDS:e("./rds"),Redshift:e("./redshift"),Rekognition:e("./rekognition"),Route53:e("./route53"),Route53Domains:e("./route53domains"),S3:e("./s3"),ServiceCatalog:e("./servicecatalog"),SES:e("./ses"),SNS:e("./sns"),SQS:e("./sqs"),SSM:e("./ssm"),StorageGateway:e("./storagegateway"),STS:e("./sts"),XRay:e("./xray"),WAF:e("./waf"),WorkDocs:e("./workdocs"),LexModelBuildingService:e("./lexmodelbuildingservice"),Athena:e("./athena"),CloudHSMV2:e("./cloudhsmv2"),Pricing:e("./pricing"),CostExplorer:e("./costexplorer"),MediaStoreData:e("./mediastoredata"),Comprehend:e("./comprehend"),KinesisVideoArchivedMedia:e("./kinesisvideoarchivedmedia"),KinesisVideoMedia:e("./kinesisvideomedia"),KinesisVideo:e("./kinesisvideo"),Translate:e("./translate"),ResourceGroups:e("./resourcegroups"),Connect:e("./connect"),SecretsManager:e("./secretsmanager"),IoTAnalytics:e("./iotanalytics"),ComprehendMedical:e("./comprehendmedical"),Personalize:e("./personalize"),PersonalizeEvents:e("./personalizeevents"),PersonalizeRuntime:e("./personalizeruntime"),ForecastService:e("./forecastservice"),ForecastQueryService:e("./forecastqueryservice"),KinesisVideoSignalingChannels:e("./kinesisvideosignalingchannels"),Location:e("./location"),LexRuntimeV2:e("./lexruntimev2")}},{"../lib/node_loader":338,"./acm":240,"./apigateway":241,"./applicationautoscaling":242,"./athena":243,"./autoscaling":244,"./cloudformation":246,"./cloudfront":247,"./cloudhsm":248,"./cloudhsmv2":249,"./cloudtrail":250,"./cloudwatch":251,"./cloudwatchevents":252,"./cloudwatchlogs":253,"./codebuild":254,"./codecommit":255,"./codedeploy":256,"./codepipeline":257,"./cognitoidentity":258,"./cognitoidentityserviceprovider":259,"./cognitosync":260,"./comprehend":261,"./comprehendmedical":262,"./configservice":263,"./connect":264,"./costexplorer":265,"./cur":266,"./devicefarm":267,"./directconnect":268,"./dynamodb":269,"./dynamodbstreams":270,"./ec2":271,"./ecr":272,"./ecs":273,"./efs":274,"./elasticache":275,"./elasticbeanstalk":276,"./elastictranscoder":277,"./elb":278,"./elbv2":279,"./emr":280,"./firehose":281,"./forecastqueryservice":282,"./forecastservice":283,"./gamelift":284,"./iam":285,"./inspector":286,"./iot":287,"./iotanalytics":288,"./iotdata":289,"./kinesis":290,"./kinesisvideo":291,"./kinesisvideoarchivedmedia":292,"./kinesisvideomedia":293,"./kinesisvideosignalingchannels":294,"./kms":295,"./lambda":296,"./lexmodelbuildingservice":297,"./lexruntime":298,"./lexruntimev2":299,"./location":300,"./machinelearning":301,"./marketplacecommerceanalytics":302,"./mediastoredata":303,"./mobileanalytics":304,"./mturk":305,"./opsworks":306,"./personalize":307,"./personalizeevents":308,"./personalizeruntime":309,"./polly":310,"./pricing":311,"./rds":312,"./redshift":313,"./rekognition":314,"./resourcegroups":315,"./route53":316,"./route53domains":317,"./s3":318,"./secretsmanager":319,"./servicecatalog":320,"./ses":321,"./sns":322,"./sqs":323,"./ssm":324,"./storagegateway":325,"./sts":326,"./translate":327,"./waf":328,"./workdocs":329,"./xray":330}],246:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudformation={},i.CloudFormation=a.defineService("cloudformation",["2010-05-15"]),Object.defineProperty(s.services.cloudformation,"2010-05-15",{get:function(){var t=e("../apis/cloudformation-2010-05-15.min.json");return t.paginators=e("../apis/cloudformation-2010-05-15.paginators.json").pagination,t.waiters=e("../apis/cloudformation-2010-05-15.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.CloudFormation},{"../apis/cloudformation-2010-05-15.min.json":14,"../apis/cloudformation-2010-05-15.paginators.json":15,"../apis/cloudformation-2010-05-15.waiters2.json":16,"../lib/core":342,"../lib/node_loader":338}],247:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudfront={},i.CloudFront=a.defineService("cloudfront",["2013-05-12*","2013-11-11*","2014-05-31*","2014-10-21*","2014-11-06*","2015-04-17*","2015-07-27*","2015-09-17*","2016-01-13*","2016-01-28*","2016-08-01*","2016-08-20*","2016-09-07*","2016-09-29*","2016-11-25","2016-11-25*","2017-03-25","2017-03-25*","2017-10-30","2017-10-30*","2018-06-18","2018-06-18*","2018-11-05","2018-11-05*","2019-03-26","2019-03-26*","2020-05-31"]),e("../lib/services/cloudfront"),Object.defineProperty(s.services.cloudfront,"2016-11-25",{get:function(){var t=e("../apis/cloudfront-2016-11-25.min.json");return t.paginators=e("../apis/cloudfront-2016-11-25.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2016-11-25.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2017-03-25",{get:function(){var t=e("../apis/cloudfront-2017-03-25.min.json");return t.paginators=e("../apis/cloudfront-2017-03-25.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2017-03-25.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2017-10-30",{get:function(){var t=e("../apis/cloudfront-2017-10-30.min.json");return t.paginators=e("../apis/cloudfront-2017-10-30.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2017-10-30.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2018-06-18",{get:function(){var t=e("../apis/cloudfront-2018-06-18.min.json");return t.paginators=e("../apis/cloudfront-2018-06-18.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2018-06-18.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2018-11-05",{get:function(){var t=e("../apis/cloudfront-2018-11-05.min.json");return t.paginators=e("../apis/cloudfront-2018-11-05.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2018-11-05.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2019-03-26",{get:function(){var t=e("../apis/cloudfront-2019-03-26.min.json");return t.paginators=e("../apis/cloudfront-2019-03-26.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2019-03-26.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.cloudfront,"2020-05-31",{get:function(){var t=e("../apis/cloudfront-2020-05-31.min.json");return t.paginators=e("../apis/cloudfront-2020-05-31.paginators.json").pagination,t.waiters=e("../apis/cloudfront-2020-05-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.CloudFront},{"../apis/cloudfront-2016-11-25.min.json":17,"../apis/cloudfront-2016-11-25.paginators.json":18,"../apis/cloudfront-2016-11-25.waiters2.json":19,"../apis/cloudfront-2017-03-25.min.json":20,"../apis/cloudfront-2017-03-25.paginators.json":21,"../apis/cloudfront-2017-03-25.waiters2.json":22,"../apis/cloudfront-2017-10-30.min.json":23,"../apis/cloudfront-2017-10-30.paginators.json":24,"../apis/cloudfront-2017-10-30.waiters2.json":25,"../apis/cloudfront-2018-06-18.min.json":26,"../apis/cloudfront-2018-06-18.paginators.json":27,"../apis/cloudfront-2018-06-18.waiters2.json":28,"../apis/cloudfront-2018-11-05.min.json":29,"../apis/cloudfront-2018-11-05.paginators.json":30,"../apis/cloudfront-2018-11-05.waiters2.json":31,"../apis/cloudfront-2019-03-26.min.json":32,"../apis/cloudfront-2019-03-26.paginators.json":33,"../apis/cloudfront-2019-03-26.waiters2.json":34,"../apis/cloudfront-2020-05-31.min.json":35,"../apis/cloudfront-2020-05-31.paginators.json":36,"../apis/cloudfront-2020-05-31.waiters2.json":37,"../lib/core":342,"../lib/node_loader":338,"../lib/services/cloudfront":395}],248:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudhsm={},i.CloudHSM=a.defineService("cloudhsm",["2014-05-30"]),Object.defineProperty(s.services.cloudhsm,"2014-05-30",{get:function(){var t=e("../apis/cloudhsm-2014-05-30.min.json");return t.paginators=e("../apis/cloudhsm-2014-05-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudHSM},{"../apis/cloudhsm-2014-05-30.min.json":38,"../apis/cloudhsm-2014-05-30.paginators.json":39,"../lib/core":342,"../lib/node_loader":338}],249:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudhsmv2={},i.CloudHSMV2=a.defineService("cloudhsmv2",["2017-04-28"]),Object.defineProperty(s.services.cloudhsmv2,"2017-04-28",{get:function(){var t=e("../apis/cloudhsmv2-2017-04-28.min.json");return t.paginators=e("../apis/cloudhsmv2-2017-04-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudHSMV2},{"../apis/cloudhsmv2-2017-04-28.min.json":40,"../apis/cloudhsmv2-2017-04-28.paginators.json":41,"../lib/core":342,"../lib/node_loader":338}],250:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudtrail={},i.CloudTrail=a.defineService("cloudtrail",["2013-11-01"]),Object.defineProperty(s.services.cloudtrail,"2013-11-01",{get:function(){var t=e("../apis/cloudtrail-2013-11-01.min.json");return t.paginators=e("../apis/cloudtrail-2013-11-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudTrail},{"../apis/cloudtrail-2013-11-01.min.json":42,"../apis/cloudtrail-2013-11-01.paginators.json":43,"../lib/core":342,"../lib/node_loader":338}],251:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudwatch={},i.CloudWatch=a.defineService("cloudwatch",["2010-08-01"]),Object.defineProperty(s.services.cloudwatch,"2010-08-01",{get:function(){var t=e("../apis/monitoring-2010-08-01.min.json");return t.paginators=e("../apis/monitoring-2010-08-01.paginators.json").pagination,t.waiters=e("../apis/monitoring-2010-08-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.CloudWatch},{"../apis/monitoring-2010-08-01.min.json":165,"../apis/monitoring-2010-08-01.paginators.json":166,"../apis/monitoring-2010-08-01.waiters2.json":167,"../lib/core":342,"../lib/node_loader":338}],252:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudwatchevents={},i.CloudWatchEvents=a.defineService("cloudwatchevents",["2014-02-03*","2015-10-07"]),Object.defineProperty(s.services.cloudwatchevents,"2015-10-07",{get:function(){var t=e("../apis/events-2015-10-07.min.json");return t.paginators=e("../apis/events-2015-10-07.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudWatchEvents},{"../apis/events-2015-10-07.min.json":111,"../apis/events-2015-10-07.paginators.json":112,"../lib/core":342,"../lib/node_loader":338}],253:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cloudwatchlogs={},i.CloudWatchLogs=a.defineService("cloudwatchlogs",["2014-03-28"]),Object.defineProperty(s.services.cloudwatchlogs,"2014-03-28",{get:function(){var t=e("../apis/logs-2014-03-28.min.json");return t.paginators=e("../apis/logs-2014-03-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CloudWatchLogs},{"../apis/logs-2014-03-28.min.json":154,"../apis/logs-2014-03-28.paginators.json":155,"../lib/core":342,"../lib/node_loader":338}],254:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.codebuild={},i.CodeBuild=a.defineService("codebuild",["2016-10-06"]),Object.defineProperty(s.services.codebuild,"2016-10-06",{get:function(){var t=e("../apis/codebuild-2016-10-06.min.json");return t.paginators=e("../apis/codebuild-2016-10-06.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CodeBuild},{"../apis/codebuild-2016-10-06.min.json":44,"../apis/codebuild-2016-10-06.paginators.json":45,"../lib/core":342,"../lib/node_loader":338}],255:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.codecommit={},i.CodeCommit=a.defineService("codecommit",["2015-04-13"]),Object.defineProperty(s.services.codecommit,"2015-04-13",{get:function(){var t=e("../apis/codecommit-2015-04-13.min.json");return t.paginators=e("../apis/codecommit-2015-04-13.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CodeCommit},{"../apis/codecommit-2015-04-13.min.json":46,"../apis/codecommit-2015-04-13.paginators.json":47,"../lib/core":342,"../lib/node_loader":338}],256:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.codedeploy={},i.CodeDeploy=a.defineService("codedeploy",["2014-10-06"]),Object.defineProperty(s.services.codedeploy,"2014-10-06",{get:function(){var t=e("../apis/codedeploy-2014-10-06.min.json");return t.paginators=e("../apis/codedeploy-2014-10-06.paginators.json").pagination,t.waiters=e("../apis/codedeploy-2014-10-06.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.CodeDeploy},{"../apis/codedeploy-2014-10-06.min.json":48,"../apis/codedeploy-2014-10-06.paginators.json":49,"../apis/codedeploy-2014-10-06.waiters2.json":50,"../lib/core":342,"../lib/node_loader":338}],257:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.codepipeline={},i.CodePipeline=a.defineService("codepipeline",["2015-07-09"]),Object.defineProperty(s.services.codepipeline,"2015-07-09",{get:function(){var t=e("../apis/codepipeline-2015-07-09.min.json");return t.paginators=e("../apis/codepipeline-2015-07-09.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CodePipeline},{"../apis/codepipeline-2015-07-09.min.json":51,"../apis/codepipeline-2015-07-09.paginators.json":52,"../lib/core":342,"../lib/node_loader":338}],258:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cognitoidentity={},i.CognitoIdentity=a.defineService("cognitoidentity",["2014-06-30"]),Object.defineProperty(s.services.cognitoidentity,"2014-06-30",{get:function(){var t=e("../apis/cognito-identity-2014-06-30.min.json");return t.paginators=e("../apis/cognito-identity-2014-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CognitoIdentity},{"../apis/cognito-identity-2014-06-30.min.json":53,"../apis/cognito-identity-2014-06-30.paginators.json":54,"../lib/core":342,"../lib/node_loader":338}],259:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cognitoidentityserviceprovider={},i.CognitoIdentityServiceProvider=a.defineService("cognitoidentityserviceprovider",["2016-04-18"]),Object.defineProperty(s.services.cognitoidentityserviceprovider,"2016-04-18",{get:function(){var t=e("../apis/cognito-idp-2016-04-18.min.json");return t.paginators=e("../apis/cognito-idp-2016-04-18.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CognitoIdentityServiceProvider},{"../apis/cognito-idp-2016-04-18.min.json":55,"../apis/cognito-idp-2016-04-18.paginators.json":56,"../lib/core":342,"../lib/node_loader":338}],260:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cognitosync={},i.CognitoSync=a.defineService("cognitosync",["2014-06-30"]),Object.defineProperty(s.services.cognitosync,"2014-06-30",{get:function(){var t=e("../apis/cognito-sync-2014-06-30.min.json");return t.paginators=e("../apis/cognito-sync-2014-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CognitoSync},{"../apis/cognito-sync-2014-06-30.min.json":57,"../apis/cognito-sync-2014-06-30.paginators.json":58,"../lib/core":342,"../lib/node_loader":338}],261:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.comprehend={},i.Comprehend=a.defineService("comprehend",["2017-11-27"]),Object.defineProperty(s.services.comprehend,"2017-11-27",{get:function(){var t=e("../apis/comprehend-2017-11-27.min.json");return t.paginators=e("../apis/comprehend-2017-11-27.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Comprehend},{"../apis/comprehend-2017-11-27.min.json":59,"../apis/comprehend-2017-11-27.paginators.json":60,"../lib/core":342,"../lib/node_loader":338}],262:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.comprehendmedical={},i.ComprehendMedical=a.defineService("comprehendmedical",["2018-10-30"]),Object.defineProperty(s.services.comprehendmedical,"2018-10-30",{get:function(){var t=e("../apis/comprehendmedical-2018-10-30.min.json");return t.paginators=e("../apis/comprehendmedical-2018-10-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ComprehendMedical},{"../apis/comprehendmedical-2018-10-30.min.json":61,"../apis/comprehendmedical-2018-10-30.paginators.json":62,"../lib/core":342,"../lib/node_loader":338}],263:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.configservice={},i.ConfigService=a.defineService("configservice",["2014-11-12"]),Object.defineProperty(s.services.configservice,"2014-11-12",{get:function(){var t=e("../apis/config-2014-11-12.min.json");return t.paginators=e("../apis/config-2014-11-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ConfigService},{"../apis/config-2014-11-12.min.json":63,"../apis/config-2014-11-12.paginators.json":64,"../lib/core":342,"../lib/node_loader":338}],264:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.connect={},i.Connect=a.defineService("connect",["2017-08-08"]),Object.defineProperty(s.services.connect,"2017-08-08",{get:function(){var t=e("../apis/connect-2017-08-08.min.json");return t.paginators=e("../apis/connect-2017-08-08.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Connect},{"../apis/connect-2017-08-08.min.json":65,"../apis/connect-2017-08-08.paginators.json":66,"../lib/core":342,"../lib/node_loader":338}],265:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.costexplorer={},i.CostExplorer=a.defineService("costexplorer",["2017-10-25"]), +Object.defineProperty(s.services.costexplorer,"2017-10-25",{get:function(){var t=e("../apis/ce-2017-10-25.min.json");return t.paginators=e("../apis/ce-2017-10-25.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CostExplorer},{"../apis/ce-2017-10-25.min.json":12,"../apis/ce-2017-10-25.paginators.json":13,"../lib/core":342,"../lib/node_loader":338}],266:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.cur={},i.CUR=a.defineService("cur",["2017-01-06"]),Object.defineProperty(s.services.cur,"2017-01-06",{get:function(){var t=e("../apis/cur-2017-01-06.min.json");return t.paginators=e("../apis/cur-2017-01-06.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.CUR},{"../apis/cur-2017-01-06.min.json":67,"../apis/cur-2017-01-06.paginators.json":68,"../lib/core":342,"../lib/node_loader":338}],267:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.devicefarm={},i.DeviceFarm=a.defineService("devicefarm",["2015-06-23"]),Object.defineProperty(s.services.devicefarm,"2015-06-23",{get:function(){var t=e("../apis/devicefarm-2015-06-23.min.json");return t.paginators=e("../apis/devicefarm-2015-06-23.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.DeviceFarm},{"../apis/devicefarm-2015-06-23.min.json":69,"../apis/devicefarm-2015-06-23.paginators.json":70,"../lib/core":342,"../lib/node_loader":338}],268:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.directconnect={},i.DirectConnect=a.defineService("directconnect",["2012-10-25"]),Object.defineProperty(s.services.directconnect,"2012-10-25",{get:function(){var t=e("../apis/directconnect-2012-10-25.min.json");return t.paginators=e("../apis/directconnect-2012-10-25.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.DirectConnect},{"../apis/directconnect-2012-10-25.min.json":71,"../apis/directconnect-2012-10-25.paginators.json":72,"../lib/core":342,"../lib/node_loader":338}],269:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.dynamodb={},i.DynamoDB=a.defineService("dynamodb",["2011-12-05","2012-08-10"]),e("../lib/services/dynamodb"),Object.defineProperty(s.services.dynamodb,"2011-12-05",{get:function(){var t=e("../apis/dynamodb-2011-12-05.min.json");return t.paginators=e("../apis/dynamodb-2011-12-05.paginators.json").pagination,t.waiters=e("../apis/dynamodb-2011-12-05.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.dynamodb,"2012-08-10",{get:function(){var t=e("../apis/dynamodb-2012-08-10.min.json");return t.paginators=e("../apis/dynamodb-2012-08-10.paginators.json").pagination,t.waiters=e("../apis/dynamodb-2012-08-10.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.DynamoDB},{"../apis/dynamodb-2011-12-05.min.json":73,"../apis/dynamodb-2011-12-05.paginators.json":74,"../apis/dynamodb-2011-12-05.waiters2.json":75,"../apis/dynamodb-2012-08-10.min.json":76,"../apis/dynamodb-2012-08-10.paginators.json":77,"../apis/dynamodb-2012-08-10.waiters2.json":78,"../lib/core":342,"../lib/node_loader":338,"../lib/services/dynamodb":396}],270:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.dynamodbstreams={},i.DynamoDBStreams=a.defineService("dynamodbstreams",["2012-08-10"]),Object.defineProperty(s.services.dynamodbstreams,"2012-08-10",{get:function(){var t=e("../apis/streams.dynamodb-2012-08-10.min.json");return t.paginators=e("../apis/streams.dynamodb-2012-08-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.DynamoDBStreams},{"../apis/streams.dynamodb-2012-08-10.min.json":228,"../apis/streams.dynamodb-2012-08-10.paginators.json":229,"../lib/core":342,"../lib/node_loader":338}],271:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ec2={},i.EC2=a.defineService("ec2",["2013-06-15*","2013-10-15*","2014-02-01*","2014-05-01*","2014-06-15*","2014-09-01*","2014-10-01*","2015-03-01*","2015-04-15*","2015-10-01*","2016-04-01*","2016-09-15*","2016-11-15"]),e("../lib/services/ec2"),Object.defineProperty(s.services.ec2,"2016-11-15",{get:function(){var t=e("../apis/ec2-2016-11-15.min.json");return t.paginators=e("../apis/ec2-2016-11-15.paginators.json").pagination,t.waiters=e("../apis/ec2-2016-11-15.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.EC2},{"../apis/ec2-2016-11-15.min.json":79,"../apis/ec2-2016-11-15.paginators.json":80,"../apis/ec2-2016-11-15.waiters2.json":81,"../lib/core":342,"../lib/node_loader":338,"../lib/services/ec2":397}],272:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ecr={},i.ECR=a.defineService("ecr",["2015-09-21"]),Object.defineProperty(s.services.ecr,"2015-09-21",{get:function(){var t=e("../apis/ecr-2015-09-21.min.json");return t.paginators=e("../apis/ecr-2015-09-21.paginators.json").pagination,t.waiters=e("../apis/ecr-2015-09-21.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ECR},{"../apis/ecr-2015-09-21.min.json":82,"../apis/ecr-2015-09-21.paginators.json":83,"../apis/ecr-2015-09-21.waiters2.json":84,"../lib/core":342,"../lib/node_loader":338}],273:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ecs={},i.ECS=a.defineService("ecs",["2014-11-13"]),Object.defineProperty(s.services.ecs,"2014-11-13",{get:function(){var t=e("../apis/ecs-2014-11-13.min.json");return t.paginators=e("../apis/ecs-2014-11-13.paginators.json").pagination,t.waiters=e("../apis/ecs-2014-11-13.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ECS},{"../apis/ecs-2014-11-13.min.json":85,"../apis/ecs-2014-11-13.paginators.json":86,"../apis/ecs-2014-11-13.waiters2.json":87,"../lib/core":342,"../lib/node_loader":338}],274:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.efs={},i.EFS=a.defineService("efs",["2015-02-01"]),Object.defineProperty(s.services.efs,"2015-02-01",{get:function(){var t=e("../apis/elasticfilesystem-2015-02-01.min.json");return t.paginators=e("../apis/elasticfilesystem-2015-02-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.EFS},{"../apis/elasticfilesystem-2015-02-01.min.json":94,"../apis/elasticfilesystem-2015-02-01.paginators.json":95,"../lib/core":342,"../lib/node_loader":338}],275:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elasticache={},i.ElastiCache=a.defineService("elasticache",["2012-11-15*","2014-03-24*","2014-07-15*","2014-09-30*","2015-02-02"]),Object.defineProperty(s.services.elasticache,"2015-02-02",{get:function(){var t=e("../apis/elasticache-2015-02-02.min.json");return t.paginators=e("../apis/elasticache-2015-02-02.paginators.json").pagination,t.waiters=e("../apis/elasticache-2015-02-02.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ElastiCache},{"../apis/elasticache-2015-02-02.min.json":88,"../apis/elasticache-2015-02-02.paginators.json":89,"../apis/elasticache-2015-02-02.waiters2.json":90,"../lib/core":342,"../lib/node_loader":338}],276:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elasticbeanstalk={},i.ElasticBeanstalk=a.defineService("elasticbeanstalk",["2010-12-01"]),Object.defineProperty(s.services.elasticbeanstalk,"2010-12-01",{get:function(){var t=e("../apis/elasticbeanstalk-2010-12-01.min.json");return t.paginators=e("../apis/elasticbeanstalk-2010-12-01.paginators.json").pagination,t.waiters=e("../apis/elasticbeanstalk-2010-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ElasticBeanstalk},{"../apis/elasticbeanstalk-2010-12-01.min.json":91,"../apis/elasticbeanstalk-2010-12-01.paginators.json":92,"../apis/elasticbeanstalk-2010-12-01.waiters2.json":93,"../lib/core":342,"../lib/node_loader":338}],277:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elastictranscoder={},i.ElasticTranscoder=a.defineService("elastictranscoder",["2012-09-25"]),Object.defineProperty(s.services.elastictranscoder,"2012-09-25",{get:function(){var t=e("../apis/elastictranscoder-2012-09-25.min.json");return t.paginators=e("../apis/elastictranscoder-2012-09-25.paginators.json").pagination,t.waiters=e("../apis/elastictranscoder-2012-09-25.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ElasticTranscoder},{"../apis/elastictranscoder-2012-09-25.min.json":105,"../apis/elastictranscoder-2012-09-25.paginators.json":106,"../apis/elastictranscoder-2012-09-25.waiters2.json":107,"../lib/core":342,"../lib/node_loader":338}],278:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elb={},i.ELB=a.defineService("elb",["2012-06-01"]),Object.defineProperty(s.services.elb,"2012-06-01",{get:function(){var t=e("../apis/elasticloadbalancing-2012-06-01.min.json");return t.paginators=e("../apis/elasticloadbalancing-2012-06-01.paginators.json").pagination,t.waiters=e("../apis/elasticloadbalancing-2012-06-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ELB},{"../apis/elasticloadbalancing-2012-06-01.min.json":96,"../apis/elasticloadbalancing-2012-06-01.paginators.json":97,"../apis/elasticloadbalancing-2012-06-01.waiters2.json":98,"../lib/core":342,"../lib/node_loader":338}],279:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.elbv2={},i.ELBv2=a.defineService("elbv2",["2015-12-01"]),Object.defineProperty(s.services.elbv2,"2015-12-01",{get:function(){var t=e("../apis/elasticloadbalancingv2-2015-12-01.min.json");return t.paginators=e("../apis/elasticloadbalancingv2-2015-12-01.paginators.json").pagination,t.waiters=e("../apis/elasticloadbalancingv2-2015-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.ELBv2},{"../apis/elasticloadbalancingv2-2015-12-01.min.json":99,"../apis/elasticloadbalancingv2-2015-12-01.paginators.json":100,"../apis/elasticloadbalancingv2-2015-12-01.waiters2.json":101,"../lib/core":342,"../lib/node_loader":338}],280:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.emr={},i.EMR=a.defineService("emr",["2009-03-31"]),Object.defineProperty(s.services.emr,"2009-03-31",{get:function(){var t=e("../apis/elasticmapreduce-2009-03-31.min.json");return t.paginators=e("../apis/elasticmapreduce-2009-03-31.paginators.json").pagination,t.waiters=e("../apis/elasticmapreduce-2009-03-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.EMR},{"../apis/elasticmapreduce-2009-03-31.min.json":102,"../apis/elasticmapreduce-2009-03-31.paginators.json":103,"../apis/elasticmapreduce-2009-03-31.waiters2.json":104,"../lib/core":342,"../lib/node_loader":338}],281:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.firehose={},i.Firehose=a.defineService("firehose",["2015-08-04"]),Object.defineProperty(s.services.firehose,"2015-08-04",{get:function(){var t=e("../apis/firehose-2015-08-04.min.json");return t.paginators=e("../apis/firehose-2015-08-04.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Firehose},{"../apis/firehose-2015-08-04.min.json":113,"../apis/firehose-2015-08-04.paginators.json":114,"../lib/core":342,"../lib/node_loader":338}],282:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.forecastqueryservice={},i.ForecastQueryService=a.defineService("forecastqueryservice",["2018-06-26"]),Object.defineProperty(s.services.forecastqueryservice,"2018-06-26",{get:function(){var t=e("../apis/forecastquery-2018-06-26.min.json");return t.paginators=e("../apis/forecastquery-2018-06-26.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ForecastQueryService},{"../apis/forecastquery-2018-06-26.min.json":117,"../apis/forecastquery-2018-06-26.paginators.json":118,"../lib/core":342,"../lib/node_loader":338}],283:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.forecastservice={},i.ForecastService=a.defineService("forecastservice",["2018-06-26"]),Object.defineProperty(s.services.forecastservice,"2018-06-26",{get:function(){var t=e("../apis/forecast-2018-06-26.min.json");return t.paginators=e("../apis/forecast-2018-06-26.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ForecastService},{"../apis/forecast-2018-06-26.min.json":115,"../apis/forecast-2018-06-26.paginators.json":116,"../lib/core":342,"../lib/node_loader":338}],284:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.gamelift={},i.GameLift=a.defineService("gamelift",["2015-10-01"]),Object.defineProperty(s.services.gamelift,"2015-10-01",{get:function(){var t=e("../apis/gamelift-2015-10-01.min.json");return t.paginators=e("../apis/gamelift-2015-10-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.GameLift},{"../apis/gamelift-2015-10-01.min.json":119,"../apis/gamelift-2015-10-01.paginators.json":120,"../lib/core":342,"../lib/node_loader":338}],285:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.iam={},i.IAM=a.defineService("iam",["2010-05-08"]),Object.defineProperty(s.services.iam,"2010-05-08",{get:function(){var t=e("../apis/iam-2010-05-08.min.json");return t.paginators=e("../apis/iam-2010-05-08.paginators.json").pagination,t.waiters=e("../apis/iam-2010-05-08.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.IAM},{"../apis/iam-2010-05-08.min.json":121,"../apis/iam-2010-05-08.paginators.json":122,"../apis/iam-2010-05-08.waiters2.json":123,"../lib/core":342,"../lib/node_loader":338}],286:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.inspector={},i.Inspector=a.defineService("inspector",["2015-08-18*","2016-02-16"]),Object.defineProperty(s.services.inspector,"2016-02-16",{get:function(){var t=e("../apis/inspector-2016-02-16.min.json");return t.paginators=e("../apis/inspector-2016-02-16.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Inspector},{"../apis/inspector-2016-02-16.min.json":124,"../apis/inspector-2016-02-16.paginators.json":125,"../lib/core":342,"../lib/node_loader":338}],287:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.iot={},i.Iot=a.defineService("iot",["2015-05-28"]),Object.defineProperty(s.services.iot,"2015-05-28",{get:function(){var t=e("../apis/iot-2015-05-28.min.json");return t.paginators=e("../apis/iot-2015-05-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Iot},{"../apis/iot-2015-05-28.min.json":126,"../apis/iot-2015-05-28.paginators.json":127,"../lib/core":342,"../lib/node_loader":338}],288:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.iotanalytics={},i.IoTAnalytics=a.defineService("iotanalytics",["2017-11-27"]),Object.defineProperty(s.services.iotanalytics,"2017-11-27",{get:function(){var t=e("../apis/iotanalytics-2017-11-27.min.json");return t.paginators=e("../apis/iotanalytics-2017-11-27.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.IoTAnalytics},{"../apis/iotanalytics-2017-11-27.min.json":130,"../apis/iotanalytics-2017-11-27.paginators.json":131,"../lib/core":342,"../lib/node_loader":338}],289:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.iotdata={},i.IotData=a.defineService("iotdata",["2015-05-28"]),e("../lib/services/iotdata"),Object.defineProperty(s.services.iotdata,"2015-05-28",{get:function(){var t=e("../apis/iot-data-2015-05-28.min.json");return t.paginators=e("../apis/iot-data-2015-05-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.IotData},{"../apis/iot-data-2015-05-28.min.json":128,"../apis/iot-data-2015-05-28.paginators.json":129,"../lib/core":342,"../lib/node_loader":338,"../lib/services/iotdata":398}],290:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesis={},i.Kinesis=a.defineService("kinesis",["2013-12-02"]),Object.defineProperty(s.services.kinesis,"2013-12-02",{get:function(){var t=e("../apis/kinesis-2013-12-02.min.json");return t.paginators=e("../apis/kinesis-2013-12-02.paginators.json").pagination,t.waiters=e("../apis/kinesis-2013-12-02.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Kinesis},{"../apis/kinesis-2013-12-02.min.json":132,"../apis/kinesis-2013-12-02.paginators.json":133,"../apis/kinesis-2013-12-02.waiters2.json":134,"../lib/core":342,"../lib/node_loader":338}],291:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesisvideo={},i.KinesisVideo=a.defineService("kinesisvideo",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideo,"2017-09-30",{get:function(){var t=e("../apis/kinesisvideo-2017-09-30.min.json");return t.paginators=e("../apis/kinesisvideo-2017-09-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KinesisVideo},{"../apis/kinesisvideo-2017-09-30.min.json":141,"../apis/kinesisvideo-2017-09-30.paginators.json":142,"../lib/core":342,"../lib/node_loader":338}],292:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesisvideoarchivedmedia={},i.KinesisVideoArchivedMedia=a.defineService("kinesisvideoarchivedmedia",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideoarchivedmedia,"2017-09-30",{get:function(){var t=e("../apis/kinesis-video-archived-media-2017-09-30.min.json");return t.paginators=e("../apis/kinesis-video-archived-media-2017-09-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KinesisVideoArchivedMedia},{"../apis/kinesis-video-archived-media-2017-09-30.min.json":135,"../apis/kinesis-video-archived-media-2017-09-30.paginators.json":136,"../lib/core":342,"../lib/node_loader":338}],293:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesisvideomedia={},i.KinesisVideoMedia=a.defineService("kinesisvideomedia",["2017-09-30"]),Object.defineProperty(s.services.kinesisvideomedia,"2017-09-30",{get:function(){var t=e("../apis/kinesis-video-media-2017-09-30.min.json");return t.paginators=e("../apis/kinesis-video-media-2017-09-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KinesisVideoMedia},{"../apis/kinesis-video-media-2017-09-30.min.json":137,"../apis/kinesis-video-media-2017-09-30.paginators.json":138,"../lib/core":342,"../lib/node_loader":338}],294:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kinesisvideosignalingchannels={},i.KinesisVideoSignalingChannels=a.defineService("kinesisvideosignalingchannels",["2019-12-04"]),Object.defineProperty(s.services.kinesisvideosignalingchannels,"2019-12-04",{get:function(){var t=e("../apis/kinesis-video-signaling-2019-12-04.min.json");return t.paginators=e("../apis/kinesis-video-signaling-2019-12-04.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KinesisVideoSignalingChannels},{"../apis/kinesis-video-signaling-2019-12-04.min.json":139,"../apis/kinesis-video-signaling-2019-12-04.paginators.json":140,"../lib/core":342,"../lib/node_loader":338}],295:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.kms={},i.KMS=a.defineService("kms",["2014-11-01"]),Object.defineProperty(s.services.kms,"2014-11-01",{get:function(){var t=e("../apis/kms-2014-11-01.min.json");return t.paginators=e("../apis/kms-2014-11-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.KMS},{"../apis/kms-2014-11-01.min.json":143,"../apis/kms-2014-11-01.paginators.json":144,"../lib/core":342,"../lib/node_loader":338}],296:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.lambda={},i.Lambda=a.defineService("lambda",["2014-11-11","2015-03-31"]),e("../lib/services/lambda"),Object.defineProperty(s.services.lambda,"2014-11-11",{get:function(){var t=e("../apis/lambda-2014-11-11.min.json");return t.paginators=e("../apis/lambda-2014-11-11.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.lambda,"2015-03-31",{get:function(){var t=e("../apis/lambda-2015-03-31.min.json");return t.paginators=e("../apis/lambda-2015-03-31.paginators.json").pagination,t.waiters=e("../apis/lambda-2015-03-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Lambda},{"../apis/lambda-2014-11-11.min.json":145,"../apis/lambda-2014-11-11.paginators.json":146,"../apis/lambda-2015-03-31.min.json":147,"../apis/lambda-2015-03-31.paginators.json":148,"../apis/lambda-2015-03-31.waiters2.json":149,"../lib/core":342,"../lib/node_loader":338,"../lib/services/lambda":399}],297:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.lexmodelbuildingservice={},i.LexModelBuildingService=a.defineService("lexmodelbuildingservice",["2017-04-19"]),Object.defineProperty(s.services.lexmodelbuildingservice,"2017-04-19",{get:function(){var t=e("../apis/lex-models-2017-04-19.min.json");return t.paginators=e("../apis/lex-models-2017-04-19.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.LexModelBuildingService},{"../apis/lex-models-2017-04-19.min.json":150,"../apis/lex-models-2017-04-19.paginators.json":151,"../lib/core":342,"../lib/node_loader":338}],298:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.lexruntime={},i.LexRuntime=a.defineService("lexruntime",["2016-11-28"]),Object.defineProperty(s.services.lexruntime,"2016-11-28",{get:function(){var t=e("../apis/runtime.lex-2016-11-28.min.json");return t.paginators=e("../apis/runtime.lex-2016-11-28.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.LexRuntime},{"../apis/runtime.lex-2016-11-28.min.json":208,"../apis/runtime.lex-2016-11-28.paginators.json":209,"../lib/core":342,"../lib/node_loader":338}],299:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.lexruntimev2={},i.LexRuntimeV2=a.defineService("lexruntimev2",["2020-08-07"]),Object.defineProperty(s.services.lexruntimev2,"2020-08-07",{get:function(){var t=e("../apis/runtime.lex.v2-2020-08-07.min.json");return t.paginators=e("../apis/runtime.lex.v2-2020-08-07.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.LexRuntimeV2},{"../apis/runtime.lex.v2-2020-08-07.min.json":210,"../apis/runtime.lex.v2-2020-08-07.paginators.json":211,"../lib/core":342,"../lib/node_loader":338}],300:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.location={},i.Location=a.defineService("location",["2020-11-19"]),Object.defineProperty(s.services.location,"2020-11-19",{get:function(){var t=e("../apis/location-2020-11-19.min.json");return t.paginators=e("../apis/location-2020-11-19.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Location},{"../apis/location-2020-11-19.min.json":152,"../apis/location-2020-11-19.paginators.json":153,"../lib/core":342,"../lib/node_loader":338}],301:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.machinelearning={},i.MachineLearning=a.defineService("machinelearning",["2014-12-12"]),e("../lib/services/machinelearning"),Object.defineProperty(s.services.machinelearning,"2014-12-12",{get:function(){var t=e("../apis/machinelearning-2014-12-12.min.json");return t.paginators=e("../apis/machinelearning-2014-12-12.paginators.json").pagination,t.waiters=e("../apis/machinelearning-2014-12-12.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.MachineLearning},{"../apis/machinelearning-2014-12-12.min.json":156,"../apis/machinelearning-2014-12-12.paginators.json":157,"../apis/machinelearning-2014-12-12.waiters2.json":158,"../lib/core":342,"../lib/node_loader":338,"../lib/services/machinelearning":400}],302:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.marketplacecommerceanalytics={},i.MarketplaceCommerceAnalytics=a.defineService("marketplacecommerceanalytics",["2015-07-01"]),Object.defineProperty(s.services.marketplacecommerceanalytics,"2015-07-01",{get:function(){var t=e("../apis/marketplacecommerceanalytics-2015-07-01.min.json");return t.paginators=e("../apis/marketplacecommerceanalytics-2015-07-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.MarketplaceCommerceAnalytics},{"../apis/marketplacecommerceanalytics-2015-07-01.min.json":159,"../apis/marketplacecommerceanalytics-2015-07-01.paginators.json":160,"../lib/core":342,"../lib/node_loader":338}],303:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.mediastoredata={},i.MediaStoreData=a.defineService("mediastoredata",["2017-09-01"]),Object.defineProperty(s.services.mediastoredata,"2017-09-01",{get:function(){var t=e("../apis/mediastore-data-2017-09-01.min.json");return t.paginators=e("../apis/mediastore-data-2017-09-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.MediaStoreData},{"../apis/mediastore-data-2017-09-01.min.json":161,"../apis/mediastore-data-2017-09-01.paginators.json":162,"../lib/core":342,"../lib/node_loader":338}],304:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.mobileanalytics={},i.MobileAnalytics=a.defineService("mobileanalytics",["2014-06-05"]),Object.defineProperty(s.services.mobileanalytics,"2014-06-05",{get:function(){return e("../apis/mobileanalytics-2014-06-05.min.json")},enumerable:!0,configurable:!0}),t.exports=i.MobileAnalytics},{"../apis/mobileanalytics-2014-06-05.min.json":164,"../lib/core":342,"../lib/node_loader":338}],305:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.mturk={},i.MTurk=a.defineService("mturk",["2017-01-17"]),Object.defineProperty(s.services.mturk,"2017-01-17",{get:function(){var t=e("../apis/mturk-requester-2017-01-17.min.json");return t.paginators=e("../apis/mturk-requester-2017-01-17.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.MTurk},{"../apis/mturk-requester-2017-01-17.min.json":168,"../apis/mturk-requester-2017-01-17.paginators.json":169,"../lib/core":342,"../lib/node_loader":338}],306:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.opsworks={},i.OpsWorks=a.defineService("opsworks",["2013-02-18"]),Object.defineProperty(s.services.opsworks,"2013-02-18",{get:function(){var t=e("../apis/opsworks-2013-02-18.min.json");return t.paginators=e("../apis/opsworks-2013-02-18.paginators.json").pagination,t.waiters=e("../apis/opsworks-2013-02-18.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.OpsWorks},{"../apis/opsworks-2013-02-18.min.json":170,"../apis/opsworks-2013-02-18.paginators.json":171,"../apis/opsworks-2013-02-18.waiters2.json":172,"../lib/core":342,"../lib/node_loader":338}],307:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.personalize={},i.Personalize=a.defineService("personalize",["2018-05-22"]),Object.defineProperty(s.services.personalize,"2018-05-22",{get:function(){var t=e("../apis/personalize-2018-05-22.min.json");return t.paginators=e("../apis/personalize-2018-05-22.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Personalize},{"../apis/personalize-2018-05-22.min.json":173,"../apis/personalize-2018-05-22.paginators.json":174,"../lib/core":342,"../lib/node_loader":338}],308:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.personalizeevents={},i.PersonalizeEvents=a.defineService("personalizeevents",["2018-03-22"]),Object.defineProperty(s.services.personalizeevents,"2018-03-22",{get:function(){var t=e("../apis/personalize-events-2018-03-22.min.json");return t.paginators=e("../apis/personalize-events-2018-03-22.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.PersonalizeEvents},{"../apis/personalize-events-2018-03-22.min.json":175,"../apis/personalize-events-2018-03-22.paginators.json":176,"../lib/core":342,"../lib/node_loader":338}],309:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.personalizeruntime={},i.PersonalizeRuntime=a.defineService("personalizeruntime",["2018-05-22"]),Object.defineProperty(s.services.personalizeruntime,"2018-05-22",{get:function(){var t=e("../apis/personalize-runtime-2018-05-22.min.json");return t.paginators=e("../apis/personalize-runtime-2018-05-22.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.PersonalizeRuntime},{"../apis/personalize-runtime-2018-05-22.min.json":177,"../apis/personalize-runtime-2018-05-22.paginators.json":178,"../lib/core":342,"../lib/node_loader":338}],310:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.polly={},i.Polly=a.defineService("polly",["2016-06-10"]),e("../lib/services/polly"),Object.defineProperty(s.services.polly,"2016-06-10",{get:function(){var t=e("../apis/polly-2016-06-10.min.json");return t.paginators=e("../apis/polly-2016-06-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Polly},{"../apis/polly-2016-06-10.min.json":179,"../apis/polly-2016-06-10.paginators.json":180,"../lib/core":342,"../lib/node_loader":338,"../lib/services/polly":401}],311:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.pricing={},i.Pricing=a.defineService("pricing",["2017-10-15"]),Object.defineProperty(s.services.pricing,"2017-10-15",{get:function(){var t=e("../apis/pricing-2017-10-15.min.json");return t.paginators=e("../apis/pricing-2017-10-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Pricing},{"../apis/pricing-2017-10-15.min.json":181,"../apis/pricing-2017-10-15.paginators.json":182,"../lib/core":342,"../lib/node_loader":338}],312:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.rds={},i.RDS=a.defineService("rds",["2013-01-10","2013-02-12","2013-09-09","2014-09-01","2014-09-01*","2014-10-31"]),e("../lib/services/rds"),Object.defineProperty(s.services.rds,"2013-01-10",{get:function(){var t=e("../apis/rds-2013-01-10.min.json");return t.paginators=e("../apis/rds-2013-01-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2013-02-12",{get:function(){var t=e("../apis/rds-2013-02-12.min.json");return t.paginators=e("../apis/rds-2013-02-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2013-09-09",{get:function(){var t=e("../apis/rds-2013-09-09.min.json");return t.paginators=e("../apis/rds-2013-09-09.paginators.json").pagination,t.waiters=e("../apis/rds-2013-09-09.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2014-09-01",{get:function(){var t=e("../apis/rds-2014-09-01.min.json");return t.paginators=e("../apis/rds-2014-09-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),Object.defineProperty(s.services.rds,"2014-10-31",{get:function(){ +var t=e("../apis/rds-2014-10-31.min.json");return t.paginators=e("../apis/rds-2014-10-31.paginators.json").pagination,t.waiters=e("../apis/rds-2014-10-31.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.RDS},{"../apis/rds-2013-01-10.min.json":183,"../apis/rds-2013-01-10.paginators.json":184,"../apis/rds-2013-02-12.min.json":185,"../apis/rds-2013-02-12.paginators.json":186,"../apis/rds-2013-09-09.min.json":187,"../apis/rds-2013-09-09.paginators.json":188,"../apis/rds-2013-09-09.waiters2.json":189,"../apis/rds-2014-09-01.min.json":190,"../apis/rds-2014-09-01.paginators.json":191,"../apis/rds-2014-10-31.min.json":192,"../apis/rds-2014-10-31.paginators.json":193,"../apis/rds-2014-10-31.waiters2.json":194,"../lib/core":342,"../lib/node_loader":338,"../lib/services/rds":402}],313:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.redshift={},i.Redshift=a.defineService("redshift",["2012-12-01"]),Object.defineProperty(s.services.redshift,"2012-12-01",{get:function(){var t=e("../apis/redshift-2012-12-01.min.json");return t.paginators=e("../apis/redshift-2012-12-01.paginators.json").pagination,t.waiters=e("../apis/redshift-2012-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Redshift},{"../apis/redshift-2012-12-01.min.json":195,"../apis/redshift-2012-12-01.paginators.json":196,"../apis/redshift-2012-12-01.waiters2.json":197,"../lib/core":342,"../lib/node_loader":338}],314:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.rekognition={},i.Rekognition=a.defineService("rekognition",["2016-06-27"]),Object.defineProperty(s.services.rekognition,"2016-06-27",{get:function(){var t=e("../apis/rekognition-2016-06-27.min.json");return t.paginators=e("../apis/rekognition-2016-06-27.paginators.json").pagination,t.waiters=e("../apis/rekognition-2016-06-27.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Rekognition},{"../apis/rekognition-2016-06-27.min.json":198,"../apis/rekognition-2016-06-27.paginators.json":199,"../apis/rekognition-2016-06-27.waiters2.json":200,"../lib/core":342,"../lib/node_loader":338}],315:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.resourcegroups={},i.ResourceGroups=a.defineService("resourcegroups",["2017-11-27"]),Object.defineProperty(s.services.resourcegroups,"2017-11-27",{get:function(){var t=e("../apis/resource-groups-2017-11-27.min.json");return t.paginators=e("../apis/resource-groups-2017-11-27.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ResourceGroups},{"../apis/resource-groups-2017-11-27.min.json":201,"../apis/resource-groups-2017-11-27.paginators.json":202,"../lib/core":342,"../lib/node_loader":338}],316:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.route53={},i.Route53=a.defineService("route53",["2013-04-01"]),e("../lib/services/route53"),Object.defineProperty(s.services.route53,"2013-04-01",{get:function(){var t=e("../apis/route53-2013-04-01.min.json");return t.paginators=e("../apis/route53-2013-04-01.paginators.json").pagination,t.waiters=e("../apis/route53-2013-04-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.Route53},{"../apis/route53-2013-04-01.min.json":203,"../apis/route53-2013-04-01.paginators.json":204,"../apis/route53-2013-04-01.waiters2.json":205,"../lib/core":342,"../lib/node_loader":338,"../lib/services/route53":404}],317:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.route53domains={},i.Route53Domains=a.defineService("route53domains",["2014-05-15"]),Object.defineProperty(s.services.route53domains,"2014-05-15",{get:function(){var t=e("../apis/route53domains-2014-05-15.min.json");return t.paginators=e("../apis/route53domains-2014-05-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Route53Domains},{"../apis/route53domains-2014-05-15.min.json":206,"../apis/route53domains-2014-05-15.paginators.json":207,"../lib/core":342,"../lib/node_loader":338}],318:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.s3={},i.S3=a.defineService("s3",["2006-03-01"]),e("../lib/services/s3"),Object.defineProperty(s.services.s3,"2006-03-01",{get:function(){var t=e("../apis/s3-2006-03-01.min.json");return t.paginators=e("../apis/s3-2006-03-01.paginators.json").pagination,t.waiters=e("../apis/s3-2006-03-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.S3},{"../apis/s3-2006-03-01.min.json":212,"../apis/s3-2006-03-01.paginators.json":213,"../apis/s3-2006-03-01.waiters2.json":214,"../lib/core":342,"../lib/node_loader":338,"../lib/services/s3":405}],319:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.secretsmanager={},i.SecretsManager=a.defineService("secretsmanager",["2017-10-17"]),Object.defineProperty(s.services.secretsmanager,"2017-10-17",{get:function(){var t=e("../apis/secretsmanager-2017-10-17.min.json");return t.paginators=e("../apis/secretsmanager-2017-10-17.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.SecretsManager},{"../apis/secretsmanager-2017-10-17.min.json":215,"../apis/secretsmanager-2017-10-17.paginators.json":216,"../lib/core":342,"../lib/node_loader":338}],320:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.servicecatalog={},i.ServiceCatalog=a.defineService("servicecatalog",["2015-12-10"]),Object.defineProperty(s.services.servicecatalog,"2015-12-10",{get:function(){var t=e("../apis/servicecatalog-2015-12-10.min.json");return t.paginators=e("../apis/servicecatalog-2015-12-10.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.ServiceCatalog},{"../apis/servicecatalog-2015-12-10.min.json":217,"../apis/servicecatalog-2015-12-10.paginators.json":218,"../lib/core":342,"../lib/node_loader":338}],321:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ses={},i.SES=a.defineService("ses",["2010-12-01"]),Object.defineProperty(s.services.ses,"2010-12-01",{get:function(){var t=e("../apis/email-2010-12-01.min.json");return t.paginators=e("../apis/email-2010-12-01.paginators.json").pagination,t.waiters=e("../apis/email-2010-12-01.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.SES},{"../apis/email-2010-12-01.min.json":108,"../apis/email-2010-12-01.paginators.json":109,"../apis/email-2010-12-01.waiters2.json":110,"../lib/core":342,"../lib/node_loader":338}],322:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sns={},i.SNS=a.defineService("sns",["2010-03-31"]),Object.defineProperty(s.services.sns,"2010-03-31",{get:function(){var t=e("../apis/sns-2010-03-31.min.json");return t.paginators=e("../apis/sns-2010-03-31.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.SNS},{"../apis/sns-2010-03-31.min.json":219,"../apis/sns-2010-03-31.paginators.json":220,"../lib/core":342,"../lib/node_loader":338}],323:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sqs={},i.SQS=a.defineService("sqs",["2012-11-05"]),e("../lib/services/sqs"),Object.defineProperty(s.services.sqs,"2012-11-05",{get:function(){var t=e("../apis/sqs-2012-11-05.min.json");return t.paginators=e("../apis/sqs-2012-11-05.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.SQS},{"../apis/sqs-2012-11-05.min.json":221,"../apis/sqs-2012-11-05.paginators.json":222,"../lib/core":342,"../lib/node_loader":338,"../lib/services/sqs":407}],324:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ssm={},i.SSM=a.defineService("ssm",["2014-11-06"]),Object.defineProperty(s.services.ssm,"2014-11-06",{get:function(){var t=e("../apis/ssm-2014-11-06.min.json");return t.paginators=e("../apis/ssm-2014-11-06.paginators.json").pagination,t.waiters=e("../apis/ssm-2014-11-06.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.SSM},{"../apis/ssm-2014-11-06.min.json":223,"../apis/ssm-2014-11-06.paginators.json":224,"../apis/ssm-2014-11-06.waiters2.json":225,"../lib/core":342,"../lib/node_loader":338}],325:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.storagegateway={},i.StorageGateway=a.defineService("storagegateway",["2013-06-30"]),Object.defineProperty(s.services.storagegateway,"2013-06-30",{get:function(){var t=e("../apis/storagegateway-2013-06-30.min.json");return t.paginators=e("../apis/storagegateway-2013-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.StorageGateway},{"../apis/storagegateway-2013-06-30.min.json":226,"../apis/storagegateway-2013-06-30.paginators.json":227,"../lib/core":342,"../lib/node_loader":338}],326:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sts={},i.STS=a.defineService("sts",["2011-06-15"]),e("../lib/services/sts"),Object.defineProperty(s.services.sts,"2011-06-15",{get:function(){var t=e("../apis/sts-2011-06-15.min.json");return t.paginators=e("../apis/sts-2011-06-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.STS},{"../apis/sts-2011-06-15.min.json":230,"../apis/sts-2011-06-15.paginators.json":231,"../lib/core":342,"../lib/node_loader":338,"../lib/services/sts":408}],327:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.translate={},i.Translate=a.defineService("translate",["2017-07-01"]),Object.defineProperty(s.services.translate,"2017-07-01",{get:function(){var t=e("../apis/translate-2017-07-01.min.json");return t.paginators=e("../apis/translate-2017-07-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Translate},{"../apis/translate-2017-07-01.min.json":232,"../apis/translate-2017-07-01.paginators.json":233,"../lib/core":342,"../lib/node_loader":338}],328:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.waf={},i.WAF=a.defineService("waf",["2015-08-24"]),Object.defineProperty(s.services.waf,"2015-08-24",{get:function(){var t=e("../apis/waf-2015-08-24.min.json");return t.paginators=e("../apis/waf-2015-08-24.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WAF},{"../apis/waf-2015-08-24.min.json":234,"../apis/waf-2015-08-24.paginators.json":235,"../lib/core":342,"../lib/node_loader":338}],329:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.workdocs={},i.WorkDocs=a.defineService("workdocs",["2016-05-01"]),Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var t=e("../apis/workdocs-2016-05-01.min.json");return t.paginators=e("../apis/workdocs-2016-05-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WorkDocs},{"../apis/workdocs-2016-05-01.min.json":236,"../apis/workdocs-2016-05-01.paginators.json":237,"../lib/core":342,"../lib/node_loader":338}],330:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.xray={},i.XRay=a.defineService("xray",["2016-04-12"]),Object.defineProperty(s.services.xray,"2016-04-12",{get:function(){var t=e("../apis/xray-2016-04-12.min.json");return t.paginators=e("../apis/xray-2016-04-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.XRay},{"../apis/xray-2016-04-12.min.json":238,"../apis/xray-2016-04-12.paginators.json":239,"../lib/core":342,"../lib/node_loader":338}],331:[function(e,t,r){function i(e,t){if(!i.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return i.services[e][t]}i.services={},t.exports=i},{}],332:[function(e,t,r){var i=e("./browserHmac"),a=e("./browserMd5"),s=e("./browserSha1"),o=e("./browserSha256");t.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new a;if("sha256"===e)return new o;if("sha1"===e)return new s;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new i(a,t);if("sha256"===e)return new i(o,t);if("sha1"===e)return new i(s,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},{"./browserHmac":334,"./browserMd5":335,"./browserSha1":336,"./browserSha256":337}],333:[function(e,t,r){function i(e){return"string"==typeof e?0===e.length:0===e.byteLength}function a(e){return"string"==typeof e&&(e=new s(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var s=e("buffer/").Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return o.indexOf(Object.prototype.toString.call(e))>-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":427}],334:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":333}],335:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a;if(r.setUint8(this.bufferLength++,128),i%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":333,"buffer/":427}],336:[function(e,t,r){function i(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":333,"buffer/":427}],337:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":427}],338:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var i=e("./core");if(t.exports=i,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":418,"./xml/browser_parser":419,_process:432,"buffer/":427,"querystring/":439,"url/":441}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:432}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1075.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor, +i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":450,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":388,"./resource_waiter":389,"./response":390,"./sequential_executor":392,"./service":393,"./signers/request_signer":410,"./util":418,"./xml/builder":420}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":342}],360:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=i(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(i){if(r&&r.isStreaming){if(r.requiresLength)throw i;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw i}throw i}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",a.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",a.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof a.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(a.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=a.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var i={};return a.util.each(t,function(t,a){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=r(e.members[t],a):i[t]=a}),i;case"list":var s=[];return a.util.arrayEach(t,function(t,i){s.push(r(e.member,t))}),s;case"map":var o={};return a.util.each(t,function(t,i){o[t]=r(e.value,i)}),o;default:return t}}var i=t.request,s=i.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-i.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=i.params;if(i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input){m=r(i.service.api.operations[i.operation].input,i.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+i.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+a.util.string.lowerFirst(i.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}},{"./core":342,"./discover_endpoint":350,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./sequential_executor":392,util:444}],364:[function(e,t,r){var i=e("./core"),a=i.util.inherit;i.Endpoint=a({constructor:function(e,t){if(i.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return i.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:i.config.sslEnabled)?"https":"http")+"://"+e}i.util.update(this,i.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),i.HttpRequest=a({constructor:function(e,t){e=new i.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=i.util.userAgent()},getUserAgentHeaderName:function(){return(i.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=i.util.queryStringParse(e),i.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new i.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),i.HttpResponse=a({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),i.HttpClient=a({}),i.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":342}],365:[function(e,t,r){var i=e("../core"),a=e("events").EventEmitter;e("../http"),i.XHRClient=i.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new a,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(i.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),i.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var s=new Uint8Array(a),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:S,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var i=s.resolve(e,t);if(i){var a=Object.keys(e);t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)}));var o=function(){i.constructor.call(this,e,t,r)};return o.prototype=i,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":418,"./collection":369}],374:[function(e,t,r){var i=e("./core");i.ParamValidator=i.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;this.validateType(t,r,["object"],"structure");for(var i,a=0;e.required&&a= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,i){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+i+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,a){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:i}},{"../core":342,"../util":418}],377:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===a&&(a="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i,p(e)}function a(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString()),a=i.__type||i.code||i.Code;a&&(t.code=a.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{ +var r=e.request.service.api.operations[e.request.operation],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:i,extractError:a,extractData:s}},{"../json/builder":366,"../json/parser":367,"../util":418,"./helpers":376}],378:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function a(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":342,"../util":418,"./rest":379}],382:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":418}],383:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":342}],384:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],385:[function(e,t,r){function i(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function a(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:i,isGlobalRegion:a,getRealRegion:s}},{}],386:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=e.config.useFipsEndpoint,i=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1})}else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":342,"./state_machine":417,_process:432,jmespath:431}],389:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r.config);a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=a(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var i=r.slice(e.partSize);e.partBuffers.push(i),e.partBufferLength+=i.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var a={Body:e};this.tags&&(a.Tagging=this.getTaggingHeader());var s=t.service.putObject(a);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=i.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++, +t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function s(a){if(a&&(n=i.util.error(n||new Error,a),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=a||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=i.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,i){return this[e]=r,this.addListener(t,r,i),this},addNamedAsyncListener:function(e,t,r,i){return r._isAsync=!0,this.addNamedListener(e,t,r,i)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":342}],393:[function(e,t,r){(function(r){(function(){var i=e("./core"),a=e("./model/api"),s=e("./region_config"),o=i.util.inherit,n=0,u=e("./region/utils");i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var a=i.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return a},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];if(this.config=new i.Config(i.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),i.SequentialExecutor.call(this),i.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||i.Service._clientSideMonitoring)&&this.publisher){var a=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){a.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){a.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&i.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?i.util.isType(e,Date)&&(e=i.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new i.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){return new i.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r299?(a.code&&(r.FinalAwsException=a.code),a.message&&(r.FinalAwsExceptionMessage=a.message)):((a.code||a.name)&&(r.FinalSdkException=a.code||a.name),a.message&&(r.FinalSdkExceptionMessage=a.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},i=e.response;return i.httpResponse.statusCode&&(r.HttpStatusCode=i.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),i.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),i.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=i.httpResponse.headers["x-amzn-requestid"]),i.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=i.httpResponse.headers["x-amz-request-id"]),i.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=i.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,i=r.error;return r.httpResponse.statusCode>299?(i.code&&(t.AwsException=i.code),i.message&&(t.AwsExceptionMessage=i.message)):((i.code||i.name)&&(t.SdkException=i.code||i.name),i.message&&(t.SdkExceptionMessage=i.message)),t},attachMonitoringEmitter:function(e){var t,r,a,s,o,n,u=0,p=this;e.on("validate",function(){s=i.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=i.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){a=Math.round(i.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=a>=0?a:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,a=a||Math.round(i.util.realClock.now()-r),s.AttemptLatency=a>=0?a:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(i.util.realClock.now()-s);t.Latency=r>=0?r:0;var a=e.response;a.error&&a.error.retryable&&"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,a="";if(e){r=(e.service.api.operations||{})[e.operation]||null,a=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===a||"v4-unsigned-body"===a?"v4":this.api.signatureVersion,i.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return i.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw i.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),a.indexOf(e.operation)>-1&&e.addListener("extractData",i.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":342}],399:[function(e,t,r){var i=e("../core");i.util.update(i.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",i.util.convertPayloadToString)}})},{"../core":342}],400:[function(e,t,r){var i=e("../core");i.util.update(i.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new i.Endpoint(t))}})},{"../core":342}],401:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":375}],402:[function(e,t,r){var i=e("../core"),a=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];i.util.update(i.RDS.prototype,{setupRequestListeners:function(e){a.setupRequestListeners(this,e,s)}})},{"../core":342,"../rds/signer":383,"./rdsutil":403}],403:[function(e,t,r){var i=e("../core"),a={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=i.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",a.buildCrossRegionPresignedUrl),s&&t.addListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=i.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var a=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](i.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=a,t.body=i.util.queryParamsToString(t.params)}),o.presign(function(r,i){r?t(r):(e.params.PreSignedUrl=i,t())})}};t.exports=a},{"../core":342}],404:[function(e,t,r){var i=e("../core");i.util.update(i.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){return"PriorRequestNotComplete"===e.code&&400===e.statusCode||i.Service.prototype.retryableError.call(this,e)}})},{"../core":342}],405:[function(e,t,r){var i=e("../core"),a=e("../signers/v4_credentials"),s=e("../config_regional_endpoint"),o=e("./s3util"),n=e("../region_config");e("../s3/managed_upload");var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];i.util.update(i.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,i=this.config.signatureVersion,a=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==a?t="v4":i&&(t=i),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return"s3-object-lambda";var t=i.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return i.Signers.RequestSigner.getVersion(t)},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw i.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===i.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,!0),e.addListener("validate",this.optInUsEast1RegionalEndpoint,!0),e.removeListener("validate",i.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",i.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)),"createBucket"!==e.operation&&o.isArnInParam(e,"Bucket"))return e._parsedArn=i.util.ARN.parse(e.params.Bucket),e.removeListener("validate",this.validateBucketName),e.removeListener("build",this.populateURI),"s3"===e._parsedArn.service?(e.addListener("validate",o.validateS3AccessPointArn),e.addListener("validate",this.validateArnResourceType),e.addListener("validate",this.validateArnRegion)):"s3-outposts"===e._parsedArn.service&&(e.addListener("validate",o.validateOutpostsAccessPointArn),e.addListener("validate",o.validateOutpostsArn),e.addListener("validate",o.validateArnRegion)),e.addListener("validate",o.validateArnAccount),e.addListener("validate",o.validateArnService),e.addListener("build",this.populateUriFromAccessPointArn),void e.addListener("build",o.validatePopulateUriFromArn);e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.onAsync("extractError",this.requestBucketRegion),i.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r)throw i.util.error(new Error,{code:"ConfigError",message:"Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration"})},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){throw i.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateArnRegion:function(e){o.validateArnRegion(e,{allowFipsEndpoint:!0})},validateArnResourceType:function(e){var t=e._parsedArn.resource;if(0!==t.indexOf("accesspoint:")&&0!==t.indexOf("accesspoint/"))throw i.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'accesspoint/'"})},validateBucketName:function(e){var t=e.service,r=t.getSignatureVersion(e),a=e.params&&e.params.Bucket,s=e.params&&e.params.Key,o=a&&a.indexOf("/");if(a&&o>=0)if("string"==typeof s&&o>0){e.params=i.util.copy(e.params);var n=a.substr(o+1)||"";e.params.Key=n+"/"+s,e.params.Bucket=a.substr(0,o)}else if("v4"===r){var u="Bucket names cannot contain forward slashes. Bucket: "+a;throw i.util.error(new Error,{code:"InvalidBucket",message:u})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},optInUsEast1RegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.s3UsEast1RegionalEndpoint=s(t._originalConfig,{env:"AWS_S3_US_EAST_1_REGIONAL_ENDPOINT",sharedConfig:"s3_us_east_1_regional_endpoint",clientConfig:"s3UsEast1RegionalEndpoint"}),!(t._originalConfig||{}).endpoint&&"us-east-1"===e.httpRequest.region&&"regional"===r.s3UsEast1RegionalEndpoint&&e.httpRequest.endpoint.hostname.indexOf("s3.amazonaws.com")>=0){var i=r.endpoint.indexOf(".amazonaws.com");regionalEndpoint=r.endpoint.substring(0,i)+".us-east-1"+r.endpoint.substring(i),e.httpRequest.updateEndpoint(regionalEndpoint)}},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,i=e.service,a=t.endpoint;if(r&&!i.pathStyleBucketName(r)){i.config.useAccelerateEndpoint&&i.isValidAccelerateOperation(e.operation)?i.config.useDualstackEndpoint?a.hostname=r+".s3-accelerate.dualstack.amazonaws.com":a.hostname=r+".s3-accelerate.amazonaws.com":i.config.s3BucketEndpoint||(a.hostname=r+"."+a.hostname);var s=a.port;a.host=80!==s&&443!==s?a.hostname+":"+a.port:a.hostname,t.virtualHostedBucket=r,i.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;if(r&&t.path){if(e.params&&e.params.Key){var a="/"+i.util.uriEscapePath(e.params.Key);if(0===t.path.indexOf(a)&&(t.path.length===a.length||"?"===t.path[a.length]))return}t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path)}},populateUriFromAccessPointArn:function(e){var t=e._parsedArn,r="s3-outposts"===t.service,a="s3-object-lambda"===t.service,s=r?"."+t.outpostId:"",o=r?"s3-outposts":"s3-accesspoint",u=!r&&e.service.config.useFipsEndpoint?"-fips":"",p=!r&&e.service.config.useDualstackEndpoint?".dualstack":"",m=e.httpRequest.endpoint,c=n.getEndpointSuffix(t.region),l=e.service.config.s3UseArnRegion;if(m.hostname=[t.accessPoint+"-"+t.accountId+s,o+u+p,l?t.region:e.service.config.region,c].join("."),a){var o="s3-object-lambda",d=t.resource.split("/")[1],u=e.service.config.useFipsEndpoint?"-fips":"";m.hostname=[d+"-"+t.accountId,o+u,l?t.region:e.service.config.region,c].join(".")}m.host=m.hostname;var y=i.util.uriEscape(e.params.Bucket),b=e.httpRequest.path;e.httpRequest.path=b.replace(new RegExp("/"+y),""),"/"!==e.httpRequest.path[0]&&(e.httpRequest.path="/"+e.httpRequest.path),e.httpRequest.region=t.region},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];i.util.isNode()&&(t>=1048576||e.params.Body instanceof i.util.stream.Stream)&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(i.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var a=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,a)}else{t.headers["Content-Type"]+="; charset=UTF-8"}},willComputeChecksums:function(e){var t=e.service.api.operations[e.operation].input.members,r=e.httpRequest.body,a=t.ContentMD5&&!e.params.ContentMD5&&r&&(i.util.Buffer.isBuffer(e.httpRequest.body)||"string"==typeof e.httpRequest.body);return!(!a||!e.service.shouldDisableBodySigning(e)||e.isPresigned())||!(!a||"s3"!==this.getSignatureVersion(e)||!e.isPresigned())},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=i.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};i.util.each(t,function(t,r){if(e.params[t]){var a=i.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=a}})},pathStyleBucketName:function(e){return!!this.config.s3ForcePathStyle||!this.config.s3BucketEndpoint&&(!o.dnsCompatibleBucketName(e)||!(!this.config.sslEnabled||!e.match(/\./)))},extractErrorFrom200Response:function(e){if(u[e.request.operation]){var t=e.httpResponse +;if(t.body&&t.body.toString().match("")){e.data=null;throw(this.service?this.service:this).extractError(e),e.error}if(!t.body||!t.body.toString().match(/<[\w_]/))throw e.data=null,i.util.error(new Error,{code:"InternalError",message:"S3 aborted request"})}},retryableError:function(e,t){return!(!u[t.operation]||200!==e.statusCode)||(!t._requestRegionForBucket||!t.service.bucketRegionCache[t._requestRegionForBucket])&&(!(!e||"RequestTimeout"!==e.code)||(e&&-1!=p.indexOf(e.code)&&e.region&&e.region!=t.httpRequest.region?(t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0):i.Service.prototype.retryableError.call(this,e,t)))},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"==typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var a=e.service,s=a.config,o=s.s3BucketEndpoint;o&&delete s.s3BucketEndpoint;var n=i.util.copy(s);delete n.endpoint,n.region=r.region,r.endpoint=new i.S3(n).endpoint,a.populateURI(e),s.s3BucketEndpoint=o,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",a.populateURI),e.addListener("build",a.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,e.data.LocationConstraint=r?r[1]:""}var i=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!=typeof i||e.error){var a=e.httpResponse.headers||{},s=a["x-amz-bucket-region"]||null;if(!s&&"createBucket"===t.operation&&!e.error){var o=t.params.CreateBucketConfiguration;s=o?"EU"===o.LocationConstraint?"eu-west-1":o.LocationConstraint:"us-east-1"}s&&i&&s!==t.service.bucketRegionCache[i]&&(t.service.bucketRegionCache[i]=s)}else t.service.clearBucketRegionCache(i);t.service.extractRequestIds(e)},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.request,a=e.httpResponse.statusCode,s=e.httpResponse.body||"",o=e.httpResponse.headers||{},n=o["x-amz-bucket-region"]||null,u=r.params.Bucket||null,p=r.service.bucketRegionCache;n&&u&&n!==p[u]&&(p[u]=n);var m;if(t[a]&&0===s.length)u&&!n&&(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=i.util.error(new Error,{code:t[a],message:null,region:n});else{var c=(new i.XML.Parser).parse(s.toString());c.Region&&!n?(n=c.Region,u&&n!==p[u]&&(p[u]=n)):!u||n||c.Region||(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=i.util.error(new Error,{code:c.Code||a,message:c.Message||null,region:n})}r.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,a=e.request,s=a.params.Bucket||null;if(!r||!s||r.region||"listObjects"===a.operation||i.util.isNode()&&"headBucket"===a.operation||400===r.statusCode&&"headObject"!==a.operation||-1===p.indexOf(r.code))return t();var o=i.util.isNode()?"headBucket":"listObjects",n={Bucket:s};"listObjects"===o&&(n.MaxKeys=0);var u=a.service[o](n);u._requestRegionForBucket=s,u.send(function(){var e=a.service.bucketRegionCache[s]||null;r.region=e,t()})},reqRegionForNetworkingError:function(e,t){if(!i.util.isBrowser())return t();var r=e.error,a=e.request,s=a.params.Bucket;if(!r||"NetworkingError"!==r.code||!s||"us-east-1"===a.httpRequest.region)return t();var n=a.service,u=n.bucketRegionCache,p=u[s]||null;if(p&&p!==a.httpRequest.region)n.updateReqBucketRegion(a,p),t();else if(o.dnsCompatibleBucketName(s))if(a.httpRequest.virtualHostedBucket){var m=n.listObjects({Bucket:s,MaxKeys:0});n.updateReqBucketRegion(m,"us-east-1"),m._requestRegionForBucket=s,m.send(function(){var e=n.bucketRegionCache[s]||null;e&&e!==a.httpRequest.region&&n.updateReqBucketRegion(a,e),t()})}else t();else n.updateReqBucketRegion(a,"us-east-1"),"us-east-1"!==u[s]&&(u[s]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"==typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r=0)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"FIPS region not allowed in ARN"});if(!r&&o!==n)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region conflicts with access point region"});if(r&&a.getEndpointSuffix(o)!==a.getEndpointSuffix(n))throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region and access point region not in same partition"});if(e.service.config.useAccelerateEndpoint)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"useAccelerateEndpoint config is not supported with access point ARN"});if("s3-outposts"===e._parsedArn.service&&e.service.config.useDualstackEndpoint)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Dualstack is not supported with outposts access point ARN"})},loadUseArnRegionConfig:function(e){var t="AWS_S3_USE_ARN_REGION",a="s3_use_arn_region",s=!0,o=e.service._originalConfig||{};if(void 0!==e.service.config.s3UseArnRegion)return e.service.config.s3UseArnRegion;if(void 0!==o.s3UseArnRegion)s=!0===o.s3UseArnRegion;else if(i.util.isNode())if(r.env[t]){var n=r.env[t].trim().toLowerCase();if(["false","true"].indexOf(n)<0)throw i.util.error(new Error,{code:"InvalidConfiguration",message:t+" only accepts true or false. Got "+r.env[t],retryable:!1});s="true"===n}else{var u={},p={};try{u=i.util.getProfilesFromSharedConfig(i.util.iniLoader),p=u[r.env.AWS_PROFILE||i.util.defaultProfile]}catch(e){}if(p[a]){if(["false","true"].indexOf(p[a].trim().toLowerCase())<0)throw i.util.error(new Error,{code:"InvalidConfiguration",message:a+" only accepts true or false. Got "+p[a],retryable:!1});s="true"===p[a].trim().toLowerCase()}}return e.service.config.s3UseArnRegion=s,s},validatePopulateUriFromArn:function(e){if(e.service._originalConfig&&e.service._originalConfig.endpoint)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Custom endpoint is not compatible with access point ARN"});if(e.service.config.s3ForcePathStyle)throw i.util.error(new Error,{code:"InvalidConfiguration",message:"Cannot construct path-style endpoint with access point"})},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),i=new RegExp(/(\d+\.){3}\d+/),a=new RegExp(/\.\./);return!(!t.match(r)||t.match(i)||t.match(a))}};t.exports=s}).call(this)}).call(this,e("_process"))},{"../core":342,"../region_config":386,_process:432}],407:[function(e,t,r){var i=e("../core");i.util.update(i.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint),e.service.config.computeChecksums&&("sendMessage"===e.operation?e.addListener("extractData",this.verifySendMessageChecksum):"sendMessageBatch"===e.operation?e.addListener("extractData",this.verifySendMessageBatchChecksum):"receiveMessage"===e.operation&&e.addListener("extractData",this.verifyReceiveMessageChecksum))},verifySendMessageChecksum:function(e){if(e.data){var t=e.data.MD5OfMessageBody,r=this.params.MessageBody,i=this.service.calculateChecksum(r);if(i!==t){var a='Got "'+e.data.MD5OfMessageBody+'", expecting "'+i+'".';this.service.throwInvalidChecksumError(e,[e.data.MessageId],a)}}},verifySendMessageBatchChecksum:function(e){if(e.data){var t=this.service,r={},a=[],s=[];i.util.arrayEach(e.data.Successful,function(e){r[e.Id]=e}),i.util.arrayEach(this.params.Entries,function(e){if(r[e.Id]){var i=r[e.Id].MD5OfMessageBody,o=e.MessageBody;t.isChecksumValid(i,o)||(a.push(e.Id),s.push(r[e.Id].MessageId))}}),a.length>0&&t.throwInvalidChecksumError(e,s,"Invalid messages: "+a.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];i.util.arrayEach(e.data.Messages,function(e){var i=e.MD5OfBody,a=e.Body;t.isChecksumValid(i,a)||r.push(e.MessageId)}),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=i.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return i.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new i.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},{"../core":342}],408:[function(e,t,r){var i=e("../core"),a=e("../config_regional_endpoint");i.util.update(i.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new i.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.stsRegionalEndpoints=a(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===r.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!r.region)throw i.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var s=r.endpoint.indexOf(".amazonaws.com"),o=r.endpoint.substring(0,s)+"."+r.region+r.endpoint.substring(s);e.httpRequest.updateEndpoint(o),e.httpRequest.region=r.region}}})},{"../config_regional_endpoint":341,"../core":342}],409:[function(e,t,r){function i(e){var t=e.httpRequest.headers[n],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===s.Signers.V4){if(t>604800){throw s.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1})}e.httpRequest.headers[n]=t}else{if(r!==s.Signers.S3)throw s.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var i=e.service?e.service.getSkewCorrectedDate():s.util.date.getDate();e.httpRequest.headers[n]=parseInt(s.util.date.unixTimestamp(i)+t,10).toString()}}function a(e){var t=e.httpRequest.endpoint,r=s.util.urlParse(e.httpRequest.path),i={};r.search&&(i=s.util.queryStringParse(r.search.substr(1)));var a=e.httpRequest.headers.Authorization.split(" ");if("AWS"===a[0])a=a[1].split(":"),i.Signature=a.pop(),i.AWSAccessKeyId=a.join(":"),s.util.each(e.httpRequest.headers,function(e,t){e===n&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete i[e],e=e.toLowerCase()),i[e]=t}),delete e.httpRequest.headers[n],delete i.Authorization,delete i.Host;else if("AWS4-HMAC-SHA256"===a[0]){a.shift();var o=a.join(" "),u=o.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];i["X-Amz-Signature"]=u,delete i.Expires}t.pathname=r.pathname,t.search=s.util.queryParamsToString(i)}var s=e("../core"),o=s.util.inherit,n="presigned-expires";s.Signers.Presign=o({sign:function(e,t,r){if(e.httpRequest.headers[n]=t||3600,e.on("build",i),e.on("sign",a),e.removeListener("afterBuild",s.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",s.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return s.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,s.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=s.Signers.Presign},{"../core":342}],410:[function(e,t,r){var i=e("../core"),a=i.util.inherit;i.Signers.RequestSigner=a({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),i.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return i.Signers.V2;case"v3":return i.Signers.V3;case"s3v4":case"v4":return i.Signers.V4;case"s3":return i.Signers.S3;case"v3https":return i.Signers.V3Https}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign")},{"../core":342,"./presign":409,"./s3":411,"./v2":412,"./v3":413,"./v3https":414,"./v4":415}],411:[function(e,t,r){var i=e("../core"),a=i.util.inherit;i.Signers.S3=a(i.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=i.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),a="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=a},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];i.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=s+i.util.queryParamsToString(a)},authorization:function(e,t){var r=[],i=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+i),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=a.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return i.util.crypto.hmac(r,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=i.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];i.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()-1&&!e.body?"UNSIGNED-PAYLOAD":e.headers["X-Amz-Content-Sha256"]?e.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")||this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers["presigned-expires"]}}),t.exports=i.Signers.V4},{"../core":342,"./v4_credentials":416}],416:[function(e,t,r){var i=e("../core"),a={},s=[];t.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,"aws4_request"].join("/")},getSigningKey:function(e,t,r,o,n){var u=i.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),p=[u,t,r,o].join("_");if((n=!1!==n)&&p in a)return a[p];var m=i.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),c=i.util.crypto.hmac(m,r,"buffer"),l=i.util.crypto.hmac(c,o,"buffer"),d=i.util.crypto.hmac(l,"aws4_request","buffer");return n&&(a[p]=d,s.push(p),s.length>50&&delete a[s.shift()]),d},emptyCache:function(){a={},s=[]}}},{"../core":342}],417:[function(e,t,r){function i(e,t){this.currentState=t||null,this.states=e||{}}i.prototype.runTo=function(e,t,r,i){"function"==typeof e&&(i=r,r=t,t=e,e=null);var a=this,s=a.states[a.currentState];s.fn.call(r||a,i,function(i){if(i){if(!s.fail)return t?t.call(r,i):null;a.currentState=s.fail}else{if(!s.accept)return t?t.call(r):null;a.currentState=s.accept}if(a.currentState===e)return t?t.call(r,i):null;a.runTo(e,t,r,i)})},i.prototype.addState=function(e,t,r,i){return"function"==typeof t?(i=t,t=null,r=null):"function"==typeof r&&(i=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:i},this},t.exports=i},{}],418:[function(e,t,r){(function(r,i){(function(){var a,s={environment:"nodejs",engine:function(){if(s.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=r.platform+"/"+r.version;return r.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+r.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=s.environment,r="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(r+=" "+s.engine()),r},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return s.arrayEach(e.split("/"),function(e){t.push(s.uriEscape(e))}),t.join("/")},urlParse:function(e){return s.url.parse(e)},urlFormat:function(e){return s.url.format(e)},queryStringParse:function(e){return s.querystring.parse(e)},queryParamsToString:function(e){var t=[],r=s.uriEscape,i=Object.keys(e).sort();return s.arrayEach(i,function(i){var a=e[i],o=r(i),n=o+"=";if(Array.isArray(a)){var u=[];s.arrayEach(a,function(e){u.push(r(e))}),n=o+"="+u.sort().join("&"+o+"=")}else void 0!==a&&null!==a&&(n=o+"="+r(a));t.push(n)}),t.join("&")},readFileSync:function(t){return s.isBrowser()?null:e("fs").readFileSync(t,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 encode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 decode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof s.Buffer.from&&s.Buffer.from!==Uint8Array.from?s.Buffer.from(e,t):new s.Buffer(e,t)},alloc:function(e,t,r){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof s.Buffer.alloc)return s.Buffer.alloc(e,t,r);var i=new s.Buffer(e);return void 0!==t&&"function"==typeof i.fill&&i.fill(t,void 0,void 0,r),i},toStream:function(e){s.Buffer.isBuffer(e)||(e=s.buffer.toBuffer(e));var t=new s.stream.Readable,r=0;return t._read=function(i){if(r>=e.length)return t.push(null);var a=r+i;a>e.length&&(a=e.length),t.push(e.slice(r,a)),r=a},t},concat:function(e){var t,r=0,i=0,a=null;for(t=0;t>>8^t[255&(r^e.readUInt8(i))]}return(-1^r)>>>0},hmac:function(e,t,r,i){return r||(r="binary"),"buffer"===r&&(r=void 0),i||(i="sha256"),"string"==typeof t&&(t=s.buffer.toBuffer(t)),s.crypto.lib.createHmac(i,e).update(t).digest(r)},md5:function(e,t,r){return s.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return s.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,i){var a=s.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=s.buffer.toBuffer(t));var o=s.arraySliceFn(t),n=s.Buffer.isBuffer(t);if(s.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(n=!0),i&&"object"==typeof t&&"function"==typeof t.on&&!n)t.on("data",function(e){a.update(e)}),t.on("error",function(e){i(e)}),t.on("end",function(){i(null,a.digest(r))});else{if(!i||!o||n||"undefined"==typeof FileReader){s.isBrowser()&&"object"==typeof t&&!n&&(t=new s.Buffer(new Uint8Array(t)));var u=a.update(t).digest(r);return i&&i(null,u),u}var p=0,m=new FileReader;m.onerror=function(){i(new Error("Failed to read data."))},m.onload=function(){var e=new s.Buffer(new Uint8Array(m.result));a.update(e),p+=e.length,m._continueReading()},m._continueReading=function(){if(p>=t.size)return void i(null,a.digest(r));var e=p+524288;e>t.size&&(e=t.size),m.readAsArrayBuffer(o.call(t,p,e))},m._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),a.config.isClockSkewed},applyClockOffset:function(e){e&&(a.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var r=!1;void 0===t&&a&&a.config&&(t=a.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var i=0;i=0)return n++,void setTimeout(p,a+(e.retryAfter||0))}r(e)},p=function(){var t="";i.handleRequest(e,o,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var i=e.statusCode;if(i<300)r(null,t);else{var a=1e3*parseInt(e.headers["retry-after"],10)||0,o=s.error(new Error,{statusCode:i,retryable:i>=500||429===i});a&&o.retryable&&(o.retryAfter=a),u(o)}})},u)};a.util.defer(p)},uuid:{v4:function(){return e("uuid").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,i=t.service.api.operations[r].output||{};i.payload&&e.data[i.payload]&&(e.data[i.payload]=e.data[i.payload].toString())},defer:function(e){"object"==typeof r&&"function"==typeof r.nextTick?r.nextTick(e):"function"==typeof i?i(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){function i(e,t){for(var r=0,i=Object.keys(t);r=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw s.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};t.exports=s}).call(this)}).call(this,e("_process"),e("timers").setImmediate)},{"../apis/metadata.json":163,"./core":342,_process:432,fs:426,timers:440,uuid:445}],419:[function(e,t,r){function i(){}function a(e,t){for(var r=e.getElementsByTagName(t),i=0,a=r.length;i0||i?s.toString():""},t.exports=i},{"../util":418,"./xml-node":423,"./xml-text":424}],421:[function(e,t,r){function i(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}t.exports={escapeAttribute:i}},{}],422:[function(e,t,r){function i(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}t.exports={escapeElement:i}},{}],423:[function(e,t,r){function i(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var a=e("./escape-attribute").escapeAttribute;i.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},i.prototype.addChildNode=function(e){return this.children.push(e),this},i.prototype.removeAttribute=function(e){return delete this.attributes[e],this},i.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,r=this.attributes,i=0,s=Object.keys(r);i"+this.children.map(function(e){return e.toString()}).join("")+"":"/>"},t.exports={XmlNode:i}},{"./escape-attribute":421}],424:[function(e,t,r){function i(e){this.value=e}var a=e("./escape-element").escapeElement;i.prototype.toString=function(){return a(""+this.value)},t.exports={XmlText:i}},{"./escape-element":422}],425:[function(e,t,r){"use strict";function i(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function a(e){var t=i(e),r=t[0],a=t[1];return 3*(r+a)/4-a}function s(e,t,r){return 3*(t+r)/4-r}function o(e){var t,r,a=i(e),o=a[0],n=a[1],u=new l(s(e,o,n)),p=0,m=n>0?o-4:o;for(r=0;r>16&255,u[p++]=t>>8&255,u[p++]=255&t;return 2===n&&(t=c[e.charCodeAt(r)]<<2|c[e.charCodeAt(r+1)]>>4,u[p++]=255&t),1===n&&(t=c[e.charCodeAt(r)]<<10|c[e.charCodeAt(r+1)]<<4|c[e.charCodeAt(r+2)]>>2,u[p++]=t>>8&255,u[p++]=255&t),u}function n(e){return m[e>>18&63]+m[e>>12&63]+m[e>>6&63]+m[63&e]}function u(e,t,r){for(var i,a=[],s=t;so?o:s+16383));return 1===i?(t=e[r-1],a.push(m[t>>2]+m[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(m[t>>10]+m[t>>4&63]+m[t<<2&63]+"=")),a.join("")}r.byteLength=a,r.toByteArray=o,r.fromByteArray=p;for(var m=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,b=d.length;y=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(i)return K(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function h(e,t,r){var i=e[t];e[t]=e[r],e[r]=i}function I(e,t,r,i,a){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=a?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(a)return-1;r=e.length-1}else if(r<0){if(!a)return-1;r=0}if("string"==typeof t&&(t=s.from(t,i)),s.isBuffer(t))return 0===t.length?-1:N(e,t,r,i,a);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):N(e,[t],r,i,a);throw new TypeError("val must be string, number or Buffer")}function N(e,t,r,i,a){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(a){var m=-1;for(p=r;pn&&(r=n-u),p=r;p>=0;p--){for(var c=!0,l=0;la&&(i=a):i=a;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");i>s/2&&(i=s/2);for(var o=0;o239?4:s>223?3:s>191?2:1;if(a+n<=r){var u,p,m,c;switch(n){case 1:s<128&&(o=s);break;case 2:u=e[a+1],128==(192&u)&&(c=(31&s)<<6|63&u)>127&&(o=c);break;case 3:u=e[a+1],p=e[a+2],128==(192&u)&&128==(192&p)&&(c=(15&s)<<12|(63&u)<<6|63&p)>2047&&(c<55296||c>57343)&&(o=c);break;case 4:u=e[a+1],p=e[a+2],m=e[a+3],128==(192&u)&&128==(192&p)&&128==(192&m)&&(c=(15&s)<<18|(63&u)<<12|(63&p)<<6|63&m)>65535&&c<1114112&&(o=c)}}null===o?(o=65533,n=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|1023&o),i.push(o),a+=n}return P(i)}function P(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var r="",i=0;ii)&&(r=i);for(var a="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function G(e,t,r,i,a,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function w(e,t,r,i){t<0&&(t=65535+t+1);for(var a=0,s=Math.min(e.length-r,2);a>>8*(i?a:1-a)}function B(e,t,r,i){t<0&&(t=4294967295+t+1);for(var a=0,s=Math.min(e.length-r,4);a>>8*(i?a:3-a)&255}function U(e,t,r,i,a,s){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,i,a){return a||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,i,23,4),r+4}function F(e,t,r,i,a){return a||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,i,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,i=e.length,a=null,s=[],o=0;o55295&&r<57344){if(!a){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&s.push(239,191,189);continue}a=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),a=r;continue}r=65536+(a-55296<<10|r-56320)}else a&&(t-=3)>-1&&s.push(239,191,189);if(a=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function j(e){for(var t=[],r=0;r>8,a=r%256,s.push(a),s.push(i);return s}function H(e){return Z.toByteArray(O(e))}function Q(e,t,r,i){for(var a=0;a=t.length||a>=e.length);++a)t[a+r]=e[a];return a}function J(e){return e!==e}var Z=e("base64-js"),X=e("ieee754"),Y=e("isarray");r.Buffer=s,r.SlowBuffer=b,r.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),r.kMaxLength=i(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return o(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return u(null,e,t,r)},s.allocUnsafe=function(e){return p(null,e)},s.allocUnsafeSlow=function(e){return p(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,i=t.length,a=0,o=Math.min(r,i);a0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},s.prototype.compare=function(e,t,r,i,a){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0), +void 0===i&&(i=0),void 0===a&&(a=this.length),t<0||r>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&t>=r)return 0;if(i>=a)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,n=r-t,u=Math.min(o,n),p=this.slice(i,a),m=e.slice(t,r),c=0;ca)&&(r=a),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return f(this,e,t,r);case"utf8":case"utf-8":return T(this,e,t,r);case"ascii":return C(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return R(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(a*=256);)i+=this[e+--t]*a;return i},s.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var i=this[e],a=1,s=0;++s=a&&(i-=Math.pow(2,8*t)),i},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var i=t,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*t)),s},s.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,i){if(e=+e,t|=0,r|=0,!i){G(this,e,t,r,Math.pow(2,8*r)-1,0)}var a=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+a]=e/s&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t|=0,!i){var a=Math.pow(2,8*r-1);G(this,e,t,r,a-1,-a)}var s=0,o=1,n=0;for(this[t]=255&e;++s>0)-n&255;return t+r},s.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t|=0,!i){var a=Math.pow(2,8*r-1);G(this,e,t,r,a-1,-a)}var s=r-1,o=1,n=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===n&&0!==this[t+s+1]&&(n=1),this[t+s]=(e/o>>0)-n&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,i){if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t=0;--a)e[a+t]=this[a+r];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(a=0;a>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},i.prototype.on=i.prototype.addListener,i.prototype.once=function(e,t){function r(){this.removeListener(e,r),i||(i=!0,t.apply(this,arguments))}if(!a(t))throw TypeError("listener must be a function");var i=!1;return r.listener=t,this.on(e,r),this},i.prototype.removeListener=function(e,t){var r,i,s,n;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,i=-1,r===t||a(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(n=s;n-- >0;)if(r[n]===t||r[n].listener&&r[n].listener===t){i=n;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},i.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],a(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},i.prototype.listeners=function(e){return this._events&&this._events[e]?a(this._events[e])?[this._events[e]]:this._events[e].slice():[]},i.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(a(t))return 1;if(t)return t.length}return 0},i.listenerCount=function(e,t){return e.listenerCount(t)}},{}],429:[function(e,t,r){r.read=function(e,t,r,i,a){var s,o,n=8*a-i-1,u=(1<>1,m=-7,c=r?a-1:0,l=r?-1:1,d=e[t+c];for(c+=l,s=d&(1<<-m)-1,d>>=-m,m+=n;m>0;s=256*s+e[t+c],c+=l,m-=8);for(o=s&(1<<-m)-1,s>>=-m,m+=i;m>0;o=256*o+e[t+c],c+=l,m-=8);if(0===s)s=1-p;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,i),s-=p}return(d?-1:1)*o*Math.pow(2,s-i)},r.write=function(e,t,r,i,a,s){var o,n,u,p=8*s-a-1,m=(1<>1,l=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:s-1,y=i?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,a),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,a),o=0));a>=8;e[r+d]=255&n,d+=y,n/=256,a-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],430:[function(e,t,r){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],431:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,a){if(e===a)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(a))return!1;if(!0===t(e)){if(e.length!==a.length)return!1;for(var s=0;s="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function n(e){return e>="0"&&e<="9"||"-"===e}function u(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function p(){}function m(){}function c(e){this.runtime=e}function l(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[g]}]},avg:{_func:this._functionAvg,_signature:[{types:[C]}]},ceil:{_func:this._functionCeil,_signature:[{types:[g]}]},contains:{_func:this._functionContains,_signature:[{types:[I,N]},{types:[h]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[I]},{types:[I]}]},floor:{_func:this._functionFloor,_signature:[{types:[g]}]},length:{_func:this._functionLength,_signature:[{types:[I,N,f]}]},map:{_func:this._functionMap,_signature:[{types:[T]},{types:[N]}]},max:{_func:this._functionMax,_signature:[{types:[C,k]}]},merge:{_func:this._functionMerge,_signature:[{types:[f],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[N]},{types:[T]}]},sum:{_func:this._functionSum,_signature:[{types:[C]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[I]},{types:[I]}]},min:{_func:this._functionMin,_signature:[{types:[C,k]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[N]},{types:[T]}]},type:{_func:this._functionType,_signature:[{types:[h]}]},keys:{_func:this._functionKeys,_signature:[{types:[f]}]},values:{_func:this._functionValues,_signature:[{types:[f]}]},sort:{_func:this._functionSort,_signature:[{types:[k,C]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[N]},{types:[T]}]},join:{_func:this._functionJoin,_signature:[{types:[I]},{types:[k]}]},reverse:{_func:this._functionReverse,_signature:[{types:[I,N]}]},to_array:{_func:this._functionToArray,_signature:[{types:[h]}]},to_string:{_func:this._functionToString,_signature:[{types:[h]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[h]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[h],variadic:!0}]}}}function d(e){return(new m).parse(e)}function y(e){return(new p).tokenize(e)}function b(e,t){var r=new m,i=new l,a=new c(i);i._interpreter=a;var s=r.parse(t);return a.search(s,e)}var S;S="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var g=0,h=1,I=2,N=3,f=4,T=6,C=8,k=9,R={0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array",9:"Array"},A={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},D={"<":!0,">":!0,"=":!0,"!":!0},v={" ":!0,"\t":!0,"\n":!0};p.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,i,a;this._current"===r?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,i=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(i.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var P={};P.EOF=0,P.UnquotedIdentifier=0,P.QuotedIdentifier=0,P.Rbracket=0,P.Rparen=0,P.Comma=0,P.Rbrace=0,P.Number=0,P.Current=0,P.Expref=0,P.Pipe=1,P.Or=2,P.And=3,P.EQ=5,P.GT=5,P.LT=5,P.GTE=5,P.LTE=5,P.NE=5,P.Flatten=9,P.Star=20,P.Filter=21,P.Dot=40,P.Not=45,P.Lbrace=50,P.Lbracket=55,P.Lparen=60,m.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var r=this._lookaheadToken(0),i=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw i.name="ParserError",i}return t},_loadTokens:function(e){var t=new p,r=t.tokenize(e);r.push({type:"EOF",value:"",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),i=this._lookahead(0);e=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(P[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var r=this._lookaheadToken(0),i=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw i.name="ParserError",i}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,i,a=[],s=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),s.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),r=this.expression(0),i={type:"KeyValuePair",name:t,value:r},a.push(i),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:a}}},c.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var n,u,p,m,c,l,d,y,b;switch(e.type){case"Field":return null!==o&&r(o)?(l=o[e.name],void 0===l?null:l):null;case"Subexpression":for(p=this.visit(e.children[0],o),b=1;b0)for(b=I;bN;b+=f)p.push(o[b]);return p;case"Projection":var T=this.visit(e.children[0],o);if(!t(T))return null;for(y=[],b=0;bc;break;case"GTE":p=m>=c;break;case"LT":p=m=e&&(t=r<0?e-1:e),t}},l.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var i;if(r[r.length-1].variadic){if(t.length=0;i--)r+=t[i];return r}var a=e[0].slice(0);return a.reverse(),a},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],i=0;i=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,i=e[0],a=e[1],s=0;s0){if(this._getTypeName(e[0][0])===g)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],i=1;i0){if(this._getTypeName(e[0][0])===g)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],i=1;in?1:oo&&(o=r,t=a[n]);return t},_functionMinBy:function(e){for(var t,r,i=e[1],a=e[0],s=this.createKeyFunction(i,[g,I]),o=1/0,n=0;n1)for(var r=1;r1&&(i=r[0]+"@",e=r[1]),e=e.replace(E,"."),i+s(e.split("."),t).join(".")}function n(e){for(var t,r,i=[],a=0,s=e.length;a=55296&&t<=56319&&a65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var i=0;for(e=r?G(e/A):e>>1,e+=G(e/t);e>L*k>>1;i+=T)e=G(e/L);return G(i+(L+1)*e/(e+R))}function l(e){var t,r,i,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(P),r<0&&(r=0),i=0;i=128&&a("not-basic"),b.push(e.charCodeAt(i));for(s=r>0?r+1:0;s=S&&a("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&a("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(lG(f/y)&&a("overflow"),n*=y;t=b.length+1,I=c(g-o,t,0==o),G(g/t)>f-h&&a("overflow"),h+=G(g/t),g%=t,b.splice(g++,0,h)}return u(b)}function d(e){var t,r,i,s,o,u,p,l,d,y,b,S,g,h,I,N=[];for(e=n(e),S=e.length,t=v,r=0,o=D,u=0;u=t&&bG((f-r)/g)&&a("overflow"),r+=(p-t)*g,t=p,u=0;uf&&a("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=T-C,G=Math.floor,w=String.fromCharCode;if(I={version:"1.3.2",ucs2:{decode:n,encode:u},decode:l,encode:d,toASCII:b,toUnicode:y},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return I});else if(S&&g)if(t.exports==S)g.exports=I;else for(N in I)I.hasOwnProperty(N)&&(S[N]=I[N]);else i.punycode=I}(this)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],434:[function(e,t,r){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,s){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var n=/\+/g;e=e.split(t);var u=1e3;s&&"number"==typeof s.maxKeys&&(u=s.maxKeys);var p=e.length;u>0&&p>u&&(p=u);for(var m=0;m=0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),i(o,d)?a(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],435:[function(e,t,r){"use strict";function i(e,t){if(e.map)return e.map(t);for(var r=[],i=0;i0&&u>n&&(u=n);for(var p=0;p=0?(m=y.substr(0,b),c=y.substr(b+1)):(m=y,c=""),l=decodeURIComponent(m),d=decodeURIComponent(c),i(s,l)?Array.isArray(s[l])?s[l].push(d):s[l]=[s[l],d]:s[l]=d}return s}},{}],438:[function(e,t,r){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(a){var s=encodeURIComponent(i(a))+r;return Array.isArray(e[a])?e[a].map(function(e){return s+encodeURIComponent(i(e))}).join(t):s+encodeURIComponent(i(e[a]))}).join(t):a?encodeURIComponent(i(a))+r+encodeURIComponent(i(e)):""}},{}],439:[function(e,t,r){arguments[4][436][0].apply(r,arguments)},{"./decode":437,"./encode":438,dup:436}],440:[function(e,t,r){(function(t,i){(function(){function a(e,t){this._id=e,this._clearFn=t}var s=e("process/browser.js").nextTick,o=Function.prototype.apply,n=Array.prototype.slice,u={},p=0;r.setTimeout=function(){return new a(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new a(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r.setImmediate="function"==typeof t?t:function(e){var t=p++,i=!(arguments.length<2)&&n.call(arguments,1);return u[t]=!0,s(function(){u[t]&&(i?e.apply(null,i):e.call(null),r.clearImmediate(t))}),t},r.clearImmediate="function"==typeof i?i:function(e){delete u[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":432,timers:440}],441:[function(e,t,r){function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function a(e,t,r){if(e&&p(e)&&e instanceof i)return e;var a=new i;return a.parse(e,t,r),a}function s(e){return u(e)&&(e=a(e)),e instanceof i?e.format():i.prototype.format.call(e)}function o(e,t){return a(e,!1,!0).resolve(t)}function n(e,t){return e?a(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function p(e){return"object"==typeof e&&null!==e}function m(e){return null===e}function c(e){return null==e}var l=e("punycode");r.parse=a,r.resolve=o,r.resolveObject=n,r.format=s,r.Url=i;var d=/^([a-z0-9.+-]+:)/i,y=/:[0-9]*$/,b=["<",">",'"',"`"," ","\r","\n","\t"],S=["{","}","|","\\","^","`"].concat(b),g=["'"].concat(S),h=["%","/","?",";","#"].concat(g),I=["/","?","#"],N=/^[a-z0-9A-Z_-]{0,63}$/,f=/^([a-z0-9A-Z_-]{0,63})(.*)$/,T={javascript:!0,"javascript:":!0},C={javascript:!0,"javascript:":!0},k={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},R=e("querystring");i.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e;i=i.trim();var a=d.exec(i);if(a){a=a[0];var s=a.toLowerCase();this.protocol=s,i=i.substr(a.length)}if(r||a||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var o="//"===i.substr(0,2);!o||a&&C[a]||(i=i.substr(2),this.slashes=!0)}if(!C[a]&&(o||a&&!k[a])){for(var n=-1,p=0;p127?v+="x":v+=D[P];if(!v.match(N)){var q=S.slice(0,p),E=S.slice(p+1),M=D.match(f);M&&(q.push(M[1]),E.unshift(M[2])),E.length&&(i="/"+E.join(".")+i),this.hostname=q.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!b){for(var L=this.hostname.split("."),G=[],p=0;p0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return r.search=e.search,r.query=e.query,m(r.pathname)&&m(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var g=y.slice(-1)[0],h=(r.host||e.host)&&("."===g||".."===g)||""===g,I=0,N=y.length;N>=0;N--)g=y[N],"."==g?y.splice(N,1):".."===g?(y.splice(N,1),I++):I&&(y.splice(N,1),I--);if(!l&&!d)for(;I--;I)y.unshift("..");!l||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),h&&"/"!==y.join("/").substr(-1)&&y.push("");var f=""===y[0]||y[0]&&"/"===y[0].charAt(0);if(b){r.hostname=r.host=f?"":y.length?y.shift():"";var S=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return l=l||r.host&&y.length,l&&!f&&y.unshift(""),y.length?r.pathname=y.join("/"):(r.pathname=null,r.path=null),m(r.pathname)&&m(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=y.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:433,querystring:436}],442:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],443:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],444:[function(e,t,r){(function(t,i){(function(){function a(e,t){var i={seen:[],stylize:o};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),b(t)?i.showHidden=t:t&&r._extend(i,t),f(i.showHidden)&&(i.showHidden=!1),f(i.depth)&&(i.depth=2),f(i.colors)&&(i.colors=!1),f(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=s),u(i,e,i.depth)}function s(e,t){var r=a.styles[t];return r?"["+a.colors[r][0]+"m"+e+"["+a.colors[r][1]+"m":e}function o(e,t){return e}function n(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,i){if(e.customInspect&&t&&A(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var a=t.inspect(i,e);return I(a)||(a=u(e,a,i)),a}var s=p(e,t);if(s)return s;var o=Object.keys(t),b=n(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),R(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return m(t);if(0===o.length){if(A(t)){var S=t.name?": "+t.name:"";return e.stylize("[Function"+S+"]","special")}if(T(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(R(t))return m(t)}var g="",h=!1,N=["{","}"];if(y(t)&&(h=!0,N=["[","]"]),A(t)){g=" [Function"+(t.name?": "+t.name:"")+"]"}if(T(t)&&(g=" "+RegExp.prototype.toString.call(t)),k(t)&&(g=" "+Date.prototype.toUTCString.call(t)),R(t)&&(g=" "+m(t)),0===o.length&&(!h||0==t.length))return N[0]+g+N[1];if(i<0)return T(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var f;return f=h?c(e,t,i,b,o):o.map(function(r){return l(e,t,i,b,r,h)}),e.seen.pop(),d(f,g,N)}function p(e,t){if(f(t))return e.stylize("undefined","undefined");if(I(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return h(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):S(t)?e.stylize("null","null"):void 0}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,r,i,a){for(var s=[],o=0,n=t.length;o-1&&(n=s?n.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+n.split("\n").map(function(e){return" "+e}).join("\n"))):n=e.stylize("[Circular]","special")),f(o)){if(s&&a.match(/^\d+$/))return n;o=JSON.stringify(""+a),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+n}function d(e,t,r){var i=0;return e.reduce(function(e,t){return i++,t.indexOf("\n")>=0&&i++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function S(e){return null===e}function g(e){return null==e}function h(e){return"number"==typeof e}function I(e){return"string"==typeof e}function N(e){return"symbol"==typeof e}function f(e){return void 0===e}function T(e){return C(e)&&"[object RegExp]"===v(e)}function C(e){return"object"==typeof e&&null!==e}function k(e){return C(e)&&"[object Date]"===v(e)}function R(e){return C(e)&&("[object Error]"===v(e)||e instanceof Error)}function A(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function v(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}function x(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":");return[e.getDate(),G[e.getMonth()],t].join(" ")}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;r.format=function(e){if(!I(e)){for(var t=[],r=0;r=s)return e;switch(e){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(e){return"[Circular]"}default:return e}}),n=i[r];r>>((3&t)<<3)&255;return s}}},{}],448:[function(e,t,r){function i(e,t,r){var i=t&&r||0,m=t||[];e=e||{};var c=e.node||a,l=void 0!==e.clockseq?e.clockseq:s;if(null==c||null==l){var d=o();null==c&&(c=a=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==l&&(l=s=16383&(d[6]<<8|d[7]))}var y=void 0!==e.msecs?e.msecs:(new Date).getTime(),b=void 0!==e.nsecs?e.nsecs:p+1,S=y-u+(b-p)/1e4;if(S<0&&void 0===e.clockseq&&(l=l+1&16383),(S<0||y>u)&&void 0===e.nsecs&&(b=0),b>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=y,p=b,s=l,y+=122192928e5;var g=(1e4*(268435455&y)+b)%4294967296;m[i++]=g>>>24&255,m[i++]=g>>>16&255,m[i++]=g>>>8&255,m[i++]=255&g;var h=y/4294967296*1e4&268435455;m[i++]=h>>>8&255,m[i++]=255&h,m[i++]=h>>>24&15|16,m[i++]=h>>>16&255,m[i++]=l>>>8|128,m[i++]=255&l;for(var I=0;I<6;++I)m[i+I]=c[I];return t||n(m)}var a,s,o=e("./lib/rng"),n=e("./lib/bytesToUuid"),u=0,p=0;t.exports=i},{"./lib/bytesToUuid":446,"./lib/rng":447}],449:[function(e,t,r){function i(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null),e=e||{};var o=e.random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var n=0;n<16;++n)t[i+n]=o[n];return t||s(o)}var a=e("./lib/rng"),s=e("./lib/bytesToUuid");t.exports=i},{"./lib/bytesToUuid":446,"./lib/rng":447}],450:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e("./utils/LRU"),a=1e3,s=function(){function e(e){void 0===e&&(e=a),this.maxSize=e,this.cache=new i.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,r){var i="string"!=typeof t?e.getKeyString(t):t,a=this.populateValue(r);this.cache.put(i,a)},e.prototype.get=function(t){var r="string"!=typeof t?e.getKeyString(t):t,i=Date.now(),a=this.cache.get(r);if(a){for(var s=a.length-1;s>=0;s--){a[s].Expire", - "Trevor Rowe " + { + "name": "Loren Segal", + "email": "lsegal@amazon.com" + }, + { + "name": "Trevor Rowe", + "email": "trevrowe@amazon.com" + } ], + "dependencies": { + "buffer": "4.9.2", + "events": "1.1.1", + "ieee754": "1.1.13", + "jmespath": "0.16.0", + "querystring": "0.2.0", + "sax": "1.2.1", + "url": "0.10.3", + "uuid": "3.3.2", + "xml2js": "0.4.19" + }, + "deprecated": false, + "description": "AWS SDK for JavaScript", "devDependencies": { "@types/node": "6.0.92", "browserify": "13.1.0", @@ -40,51 +90,13 @@ "uglify-js": "2.x", "webpack": "^1.15.0" }, - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.15.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "uuid": "3.3.2", - "xml2js": "0.4.19" - }, - "main": "lib/aws.js", - "browser": { - "lib/aws.js": "./lib/browser.js", - "fs": false, - "./global.js": "./browser.js", - "./lib/node_loader.js": "./lib/browser_loader.js" - }, - "browserify": { - "transform": "./dist-tools/transform.js" - }, - "react-native": { - "fs": "./lib/empty.js", - "./lib/node_loader.js": "./lib/react-native-loader.js", - "./lib/browser_loader.js": "./lib/react-native-loader.js", - "./lib/core.js": "./dist/aws-sdk-core-react-native.js", - "xml2js": "./dist/xml2js.js" - }, "directories": { "lib": "lib" }, - "types": "index.d.ts", - "typings": "index.d.ts", "engines": { "node": ">= 10.0.0" }, - "repository": { - "type": "git", - "url": "git://github.com/aws/aws-sdk-js" - }, - "bugs": { - "url": "https://github.com/aws/aws-sdk-js/issues", - "mail": "" - }, - "license": "Apache-2.0", + "homepage": "https://github.com/aws/aws-sdk-js", "keywords": [ "api", "amazon", @@ -122,28 +134,45 @@ "cloudtrail", "waf" ], + "license": "Apache-2.0", + "main": "lib/aws.js", + "name": "aws-sdk", + "react-native": { + "fs": "./lib/empty.js", + "./lib/node_loader.js": "./lib/react-native-loader.js", + "./lib/browser_loader.js": "./lib/react-native-loader.js", + "./lib/core.js": "./dist/aws-sdk-core-react-native.js", + "xml2js": "./dist/xml2js.js" + }, + "repository": { + "type": "git", + "url": "git://github.com/aws/aws-sdk-js.git" + }, "scripts": { - "test": "node ./scripts/composite-test.js", - "unit": "mocha -- $npm_package_config_test_args", - "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --reporter=lcovonly -- $npm_package_config_test_args", + "add-change": "node ./scripts/changelog/add-change.js", "browsertest": "rake browser:test && karma start", + "build-react-native": "npm -s run-script build-react-native-deps && npm -s run-script build-react-native-core && npm -s run-script build-react-native-dist", + "build-react-native-core": "webpack --config dist-tools/webpack.config.rn-core.js", + "build-react-native-deps": "webpack --config dist-tools/webpack.config.rn-dep.js", + "build-react-native-dist": "webpack --config dist-tools/webpack.config.rn.js", + "build-typings": "node ./scripts/typings-generator.js", "buildertest": "mocha --require coffeescript/register -s 1000 -t 10000 dist-tools/test/*.coffee", + "console": "./scripts/console", + "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --reporter=lcovonly -- $npm_package_config_test_args", + "csm-functional-test": "mocha test/publisher/functional_test", + "helper-test": "mocha scripts/lib/test-helper.spec.js", "integration": "cucumber.js", "lint": "eslint lib test dist-tools/*.js", - "console": "./scripts/console", - "testfiles": "istanbul `[ $COVERAGE ] && echo 'cover _mocha' || echo 'test mocha'`", - "tstest": "npm -s run-script build-typings && tsc -p ./ts", - "build-typings": "node ./scripts/typings-generator.js", - "add-change": "node ./scripts/changelog/add-change.js", - "build-react-native-deps": "webpack --config dist-tools/webpack.config.rn-dep.js", - "build-react-native-core": "webpack --config dist-tools/webpack.config.rn-core.js", - "build-react-native-dist": "webpack --config dist-tools/webpack.config.rn.js", - "build-react-native": "npm -s run-script build-react-native-deps && npm -s run-script build-react-native-core && npm -s run-script build-react-native-dist", "react-native-test": "npm -s run-script build-react-native && rake reactnative:test && karma start", "region-check": "node ./scripts/region-checker/index.js", + "test": "node ./scripts/composite-test.js", + "testfiles": "istanbul `[ $COVERAGE ] && echo 'cover _mocha' || echo 'test mocha'`", "translate-api-test": "mocha scripts/lib/translate-api.spec.js", + "tstest": "npm -s run-script build-typings && tsc -p ./ts", "typings-generator-test": "mocha scripts/lib/prune-shapes.spec.js", - "helper-test": "mocha scripts/lib/test-helper.spec.js", - "csm-functional-test": "mocha test/publisher/functional_test" - } -} \ No newline at end of file + "unit": "mocha -- $npm_package_config_test_args" + }, + "types": "index.d.ts", + "typings": "index.d.ts", + "version": "2.1075.0" +} diff --git a/node_modules/axe-core/package.json b/node_modules/axe-core/package.json index 2e7f0f5b8..06e685774 100644 --- a/node_modules/axe-core/package.json +++ b/node_modules/axe-core/package.json @@ -1,110 +1,56 @@ { - "name": "axe-core", - "description": "Accessibility engine for automated Web UI testing", - "version": "4.3.5", - "license": "MPL-2.0", - "engines": { - "node": ">=4" + "_from": "axe-core@4.3.5", + "_id": "axe-core@4.3.5", + "_inBundle": false, + "_integrity": "sha512-WKTW1+xAzhMS5dJsxWkliixlO/PqC4VhmO9T4juNYcaTg9jzWiJsou6m5pxWYGfigWbwzJWeFY6z47a+4neRXA==", + "_location": "/axe-core", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "axe-core@4.3.5", + "name": "axe-core", + "escapedName": "axe-core", + "rawSpec": "4.3.5", + "saveSpec": null, + "fetchSpec": "4.3.5" }, + "_requiredBy": [ + "/lighthouse" + ], + "_resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.3.5.tgz", + "_shasum": "78d6911ba317a8262bfee292aeafcc1e04b49cc5", + "_spec": "axe-core@4.3.5", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "bugs": { + "url": "https://github.com/dequelabs/axe-core/issues" + }, + "bundleDependencies": false, "contributors": [ { "name": "David Sturley", - "organization": "Deque Systems, Inc.", "url": "http://deque.com/" }, { "name": "Dylan Barrell", "email": "dylan@barrell.com", - "organization": "Deque Systems, Inc.", "url": "http://deque.com/" }, { "name": "Wilco Fiers", - "organization": "Deque Systems, Inc.", "url": "http://deque.com/" }, { "name": "Dian Fay", - "organization": "Deque Systems, Inc.", "url": "http://deque.com/" }, { "name": "Marcy Sutton", - "organization": "Deque Systems, Inc.", "url": "http://deque.com/" } ], - "homepage": "https://www.deque.com/axe/", - "repository": { - "type": "git", - "url": "https://github.com/dequelabs/axe-core.git" - }, - "keywords": [ - "Accessibility", - "a11y", - "testing", - "unit", - "tdd", - "bdd", - "axe" - ], - "main": "axe.js", - "typings": "axe.d.ts", - "files": [ - "axe.js", - "axe.min.js", - "axe.d.ts", - "sri-history.json", - "locales/" - ], - "standard-version": { - "scripts": { - "postbump": "npm ci && npm run sri-update" - }, - "skip": { - "tag": true - } - }, - "scripts": { - "start": "http-server -p 9876 --silent", - "develop": "grunt dev --force", - "api-docs": "jsdoc --configure .jsdoc.json", - "build": "grunt", - "eslint": "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js'", - "test": "npm run test:tsc && run-s \"test:unit:* -- {@}\" --", - "test:tsc": "tsc", - "test:unit": "karma start test/karma.conf.js", - "test:debug": "npm run test:unit -- --no-single-run --browsers=Chrome", - "test:unit:core": "npm run test:unit -- testDirs=core", - "test:unit:commons": "npm run test:unit -- testDirs=commons", - "test:unit:rule-matches": "npm run test:unit -- testDirs=rule-matches", - "test:unit:checks": "npm run test:unit -- testDirs=checks", - "test:unit:api": "npm run test:unit -- testDirs=api", - "test:unit:integration": "npm run test:unit -- testDirs=integration", - "test:unit:virtual-rules": "npm run test:unit -- testDirs=virtual-rules", - "integration": "node test/integration/full/test-webdriver.js", - "integration:chrome": "npm run integration -- browser=Chrome", - "integration:firefox": "npm run integration -- browser=Firefox", - "integration:ie": "npm run integration -- browser=IE", - "test:integration": "npm run test:integration:chrome", - "test:integration:chrome": "start-server-and-test 9876 integration:chrome", - "test:integration:firefox": "start-server-and-test 9876 integration:firefox", - "test:integration:ie": "start-server-and-test 9876 integration:ie", - "test:examples": "node ./doc/examples/test-examples", - "test:act": "karma start test/act-mapping/karma.config.js", - "test:act:debug": "npm run test:act -- --no-single-run --browsers=Chrome", - "test:locales": "mocha test/test-locales.js", - "test:virtual-rules": "mocha test/test-virtual-rules.js", - "test:rule-help-version": "mocha test/test-rule-help-version.js", - "test:node": "mocha test/node/*.js", - "version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1", - "release": "git fetch origin --tags --force && standard-version -a", - "rule-gen": "node build/rule-generator", - "next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true", - "sri-update": "grunt build && node build/sri-update && git add sri-history.json", - "sri-validate": "node build/sri-update --validate", - "fmt": "prettier --write .*.json *.{json,md,js} **/*.ts './{.circleci,.github,build,doc,lib,locales,test,typings}/**/*.{json,md,js,ts,html}'" - }, + "deprecated": false, + "description": "Accessibility engine for automated Web UI testing", "devDependencies": { "@babel/core": "^7.5.4", "@babel/plugin-proposal-object-rest-spread": "^7.5.4", @@ -169,11 +115,32 @@ "uglify-js": "^3.4.4", "weakmap-polyfill": "^2.0.0" }, + "engines": { + "node": ">=4" + }, + "files": [ + "axe.js", + "axe.min.js", + "axe.d.ts", + "sri-history.json", + "locales/" + ], + "homepage": "https://www.deque.com/axe/", "husky": { "hooks": { "pre-commit": "grunt configure && lint-staged" } }, + "keywords": [ + "Accessibility", + "a11y", + "testing", + "unit", + "tdd", + "bdd", + "axe" + ], + "license": "MPL-2.0", "lint-staged": { "*.{md,json,ts,html}": [ "prettier --write", @@ -184,5 +151,61 @@ "prettier --write", "git add" ] - } + }, + "main": "axe.js", + "name": "axe-core", + "repository": { + "type": "git", + "url": "git+https://github.com/dequelabs/axe-core.git" + }, + "scripts": { + "api-docs": "jsdoc --configure .jsdoc.json", + "build": "grunt", + "develop": "grunt dev --force", + "eslint": "eslint --color --format stylish '{lib,test,build,doc}/**/*.js' 'Gruntfile.js'", + "fmt": "prettier --write .*.json *.{json,md,js} **/*.ts './{.circleci,.github,build,doc,lib,locales,test,typings}/**/*.{json,md,js,ts,html}'", + "integration": "node test/integration/full/test-webdriver.js", + "integration:chrome": "npm run integration -- browser=Chrome", + "integration:firefox": "npm run integration -- browser=Firefox", + "integration:ie": "npm run integration -- browser=IE", + "next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true", + "release": "git fetch origin --tags --force && standard-version -a", + "rule-gen": "node build/rule-generator", + "sri-update": "grunt build && node build/sri-update && git add sri-history.json", + "sri-validate": "node build/sri-update --validate", + "start": "http-server -p 9876 --silent", + "test": "npm run test:tsc && run-s \"test:unit:* -- {@}\" --", + "test:act": "karma start test/act-mapping/karma.config.js", + "test:act:debug": "npm run test:act -- --no-single-run --browsers=Chrome", + "test:debug": "npm run test:unit -- --no-single-run --browsers=Chrome", + "test:examples": "node ./doc/examples/test-examples", + "test:integration": "npm run test:integration:chrome", + "test:integration:chrome": "start-server-and-test 9876 integration:chrome", + "test:integration:firefox": "start-server-and-test 9876 integration:firefox", + "test:integration:ie": "start-server-and-test 9876 integration:ie", + "test:locales": "mocha test/test-locales.js", + "test:node": "mocha test/node/*.js", + "test:rule-help-version": "mocha test/test-rule-help-version.js", + "test:tsc": "tsc", + "test:unit": "karma start test/karma.conf.js", + "test:unit:api": "npm run test:unit -- testDirs=api", + "test:unit:checks": "npm run test:unit -- testDirs=checks", + "test:unit:commons": "npm run test:unit -- testDirs=commons", + "test:unit:core": "npm run test:unit -- testDirs=core", + "test:unit:integration": "npm run test:unit -- testDirs=integration", + "test:unit:rule-matches": "npm run test:unit -- testDirs=rule-matches", + "test:unit:virtual-rules": "npm run test:unit -- testDirs=virtual-rules", + "test:virtual-rules": "mocha test/test-virtual-rules.js", + "version": "echo \"use 'npm run release' to bump axe-core version\" && exit 1" + }, + "standard-version": { + "scripts": { + "postbump": "npm ci && npm run sri-update" + }, + "skip": { + "tag": true + } + }, + "typings": "axe.d.ts", + "version": "4.3.5" } diff --git a/node_modules/axios/package.json b/node_modules/axios/package.json index 7c895b3a9..d56bda82d 100644 --- a/node_modules/axios/package.json +++ b/node_modules/axios/package.json @@ -1,36 +1,48 @@ { - "name": "axios", - "version": "0.21.4", - "description": "Promise based HTTP client for the browser and node.js", - "main": "index.js", - "scripts": { - "test": "grunt test", - "start": "node ./sandbox/server.js", - "build": "NODE_ENV=production grunt build", - "preversion": "npm test", - "version": "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json", - "postversion": "git push && git push --tags", - "examples": "node ./examples/server.js", - "coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", - "fix": "eslint --fix lib/**/*.js" - }, - "repository": { - "type": "git", - "url": "https://github.com/axios/axios.git" + "_from": "axios@^0.21.1", + "_id": "axios@0.21.4", + "_inBundle": false, + "_integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "_location": "/axios", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "axios@^0.21.1", + "name": "axios", + "escapedName": "axios", + "rawSpec": "^0.21.1", + "saveSpec": null, + "fetchSpec": "^0.21.1" }, - "keywords": [ - "xhr", - "http", - "ajax", - "promise", - "node" + "_requiredBy": [ + "/@slack/webhook" ], - "author": "Matt Zabriskie", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "_shasum": "c67b90dc0568e5c1cf2b0b858c43ba28e2eda575", + "_spec": "axios@^0.21.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@slack/webhook", + "author": { + "name": "Matt Zabriskie" + }, + "browser": { + "./lib/adapters/http.js": "./lib/adapters/xhr.js" + }, "bugs": { "url": "https://github.com/axios/axios/issues" }, - "homepage": "https://axios-http.com", + "bundleDependencies": false, + "bundlesize": [ + { + "path": "./dist/axios.min.js", + "threshold": "5kB" + } + ], + "dependencies": { + "follow-redirects": "^1.14.0" + }, + "deprecated": false, + "description": "Promise based HTTP client for the browser and node.js", "devDependencies": { "coveralls": "^3.0.0", "es6-promise": "^4.2.4", @@ -66,19 +78,34 @@ "webpack": "^4.44.2", "webpack-dev-server": "^3.11.0" }, - "browser": { - "./lib/adapters/http.js": "./lib/adapters/xhr.js" - }, + "homepage": "https://axios-http.com", "jsdelivr": "dist/axios.min.js", - "unpkg": "dist/axios.min.js", - "typings": "./index.d.ts", - "dependencies": { - "follow-redirects": "^1.14.0" + "keywords": [ + "xhr", + "http", + "ajax", + "promise", + "node" + ], + "license": "MIT", + "main": "index.js", + "name": "axios", + "repository": { + "type": "git", + "url": "git+https://github.com/axios/axios.git" }, - "bundlesize": [ - { - "path": "./dist/axios.min.js", - "threshold": "5kB" - } - ] + "scripts": { + "build": "NODE_ENV=production grunt build", + "coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", + "examples": "node ./examples/server.js", + "fix": "eslint --fix lib/**/*.js", + "postversion": "git push && git push --tags", + "preversion": "npm test", + "start": "node ./sandbox/server.js", + "test": "grunt test", + "version": "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json" + }, + "typings": "./index.d.ts", + "unpkg": "dist/axios.min.js", + "version": "0.21.4" } diff --git a/node_modules/babel-jest/package.json b/node_modules/babel-jest/package.json index ed6ba73ee..d937eb6ca 100644 --- a/node_modules/babel-jest/package.json +++ b/node_modules/babel-jest/package.json @@ -1,21 +1,35 @@ { - "name": "babel-jest", - "description": "Jest plugin to use babel for transformation.", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/babel-jest" + "_args": [ + [ + "babel-jest@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "babel-jest@27.4.6", + "_id": "babel-jest@27.4.6", + "_inBundle": false, + "_integrity": "sha512-qZL0JT0HS1L+lOuH+xC2DVASR3nunZi/ozGhpgauJHgmI7f8rudxf6hUjEHympdQ/J64CdKmPkgfJ+A3U6QCrg==", + "_location": "/babel-jest", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "babel-jest@27.4.6", + "name": "babel-jest", + "escapedName": "babel-jest", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/jest-config" + ], + "_resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@jest/transform": "^27.4.6", @@ -27,19 +41,38 @@ "graceful-fs": "^4.2.4", "slash": "^3.0.0" }, + "description": "Jest plugin to use babel for transformation.", "devDependencies": { "@babel/core": "^7.8.0", "@jest/test-utils": "^27.4.6", "@types/graceful-fs": "^4.1.3" }, - "peerDependencies": { - "@babel/core": "^7.8.0" - }, "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "babel-jest", + "peerDependencies": { + "@babel/core": "^7.8.0" + }, "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/babel-jest" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/babel-plugin-istanbul/package.json b/node_modules/babel-plugin-istanbul/package.json index 2b5851392..544776c70 100644 --- a/node_modules/babel-plugin-istanbul/package.json +++ b/node_modules/babel-plugin-istanbul/package.json @@ -1,13 +1,40 @@ { - "name": "babel-plugin-istanbul", - "version": "6.1.1", - "author": "Thai Pangsakulyanont @dtinth", - "license": "BSD-3-Clause", - "description": "A babel plugin that adds istanbul instrumentation to ES6 code", - "main": "lib/index.js", - "files": [ - "lib" + "_args": [ + [ + "babel-plugin-istanbul@6.1.1", + "/Users/adam/Projects/lighthouse-check-action" + ] ], + "_development": true, + "_from": "babel-plugin-istanbul@6.1.1", + "_id": "babel-plugin-istanbul@6.1.1", + "_inBundle": false, + "_integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "_location": "/babel-plugin-istanbul", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "babel-plugin-istanbul@6.1.1", + "name": "babel-plugin-istanbul", + "escapedName": "babel-plugin-istanbul", + "rawSpec": "6.1.1", + "saveSpec": null, + "fetchSpec": "6.1.1" + }, + "_requiredBy": [ + "/@jest/transform", + "/babel-jest" + ], + "_resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "_spec": "6.1.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Thai Pangsakulyanont @dtinth" + }, + "bugs": { + "url": "https://github.com/istanbuljs/babel-plugin-istanbul/issues" + }, "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@istanbuljs/load-nyc-config": "^1.0.0", @@ -15,6 +42,7 @@ "istanbul-lib-instrument": "^5.0.4", "test-exclude": "^6.0.0" }, + "description": "A babel plugin that adds istanbul instrumentation to ES6 code", "devDependencies": { "@babel/cli": "^7.7.5", "@babel/core": "^7.7.5", @@ -28,28 +56,22 @@ "pmock": "^0.2.3", "standard": "^14.3.1" }, - "scripts": { - "coverage": "nyc report --reporter=text-lcov | coveralls", - "release": "babel src --out-dir lib", - "pretest": "standard && npm run release", - "test": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --timeout 5000 test/*.js", - "prepublish": "npm test && npm run release" - }, - "standard": { - "ignore": [ - "fixtures/*.js" - ] - }, - "repository": { - "type": "git", - "url": "git+https://github.com/istanbuljs/babel-plugin-istanbul.git" + "engines": { + "node": ">=8" }, + "files": [ + "lib" + ], + "homepage": "https://github.com/istanbuljs/babel-plugin-istanbul#readme", "keywords": [ "istanbul", "babel", "plugin", "instrumentation" ], + "license": "BSD-3-Clause", + "main": "lib/index.js", + "name": "babel-plugin-istanbul", "nyc": { "include": [ "src/*.js", @@ -61,11 +83,21 @@ "sourceMap": false, "instrument": false }, - "bugs": { - "url": "https://github.com/istanbuljs/babel-plugin-istanbul/issues" + "repository": { + "type": "git", + "url": "git+https://github.com/istanbuljs/babel-plugin-istanbul.git" }, - "homepage": "https://github.com/istanbuljs/babel-plugin-istanbul#readme", - "engines": { - "node": ">=8" - } + "scripts": { + "coverage": "nyc report --reporter=text-lcov | coveralls", + "prepublish": "npm test && npm run release", + "pretest": "standard && npm run release", + "release": "babel src --out-dir lib", + "test": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --timeout 5000 test/*.js" + }, + "standard": { + "ignore": [ + "fixtures/*.js" + ] + }, + "version": "6.1.1" } diff --git a/node_modules/babel-plugin-jest-hoist/package.json b/node_modules/babel-plugin-jest-hoist/package.json index 56aeb13eb..8a78b76ba 100644 --- a/node_modules/babel-plugin-jest-hoist/package.json +++ b/node_modules/babel-plugin-jest-hoist/package.json @@ -1,23 +1,35 @@ { - "name": "babel-plugin-jest-hoist", - "version": "27.4.0", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/babel-plugin-jest-hoist" + "_args": [ + [ + "babel-plugin-jest-hoist@27.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "babel-plugin-jest-hoist@27.4.0", + "_id": "babel-plugin-jest-hoist@27.4.0", + "_inBundle": false, + "_integrity": "sha512-Jcu7qS4OX5kTWBc45Hz7BMmgXuJqRnhatqpUhnzGC3OBYpOmf2tv6jFNwZpwM7wU7MUuv2r9IPS/ZlYOuburVw==", + "_location": "/babel-plugin-jest-hoist", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "babel-plugin-jest-hoist@27.4.0", + "name": "babel-plugin-jest-hoist", + "escapedName": "babel-plugin-jest-hoist", + "rawSpec": "27.4.0", + "saveSpec": null, + "fetchSpec": "27.4.0" }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - }, - "license": "MIT", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/babel-preset-jest" + ], + "_resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.4.0.tgz", + "_spec": "27.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "@babel/template": "^7.3.3", @@ -25,6 +37,7 @@ "@types/babel__core": "^7.0.0", "@types/babel__traverse": "^7.0.6" }, + "description": "Babel plugin to hoist `jest.disableAutomock`, `jest.enableAutomock`, `jest.unmock`, `jest.mock`, calls above `import` statements. This plugin is automatically included when using [babel-jest](https://github.com/facebook/jest/tree/main/packages/babel-jest).", "devDependencies": { "@babel/core": "^7.11.6", "@babel/preset-react": "^7.12.1", @@ -34,8 +47,29 @@ "babel-plugin-tester": "^10.0.0", "prettier": "^2.1.1" }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "0dc6dde296550370ade2574d6665748fed37f9c9", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "babel-plugin-jest-hoist", "publishConfig": { "access": "public" }, - "gitHead": "0dc6dde296550370ade2574d6665748fed37f9c9" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/babel-plugin-jest-hoist" + }, + "types": "./build/index.d.ts", + "version": "27.4.0" } diff --git a/node_modules/babel-preset-current-node-syntax/package.json b/node_modules/babel-preset-current-node-syntax/package.json index af07533b7..99d20fa17 100644 --- a/node_modules/babel-preset-current-node-syntax/package.json +++ b/node_modules/babel-preset-current-node-syntax/package.json @@ -1,19 +1,40 @@ { - "name": "babel-preset-current-node-syntax", - "version": "1.0.1", - "description": "A Babel preset that enables parsing of proposals supported by the current Node.js version.", - "main": "src/index.js", - "repository": { - "type": "git", - "url": "https://github.com/nicolo-ribaudo/babel-preset-current-node-syntax.git" + "_args": [ + [ + "babel-preset-current-node-syntax@1.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "babel-preset-current-node-syntax@1.0.1", + "_id": "babel-preset-current-node-syntax@1.0.1", + "_inBundle": false, + "_integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "_location": "/babel-preset-current-node-syntax", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "babel-preset-current-node-syntax@1.0.1", + "name": "babel-preset-current-node-syntax", + "escapedName": "babel-preset-current-node-syntax", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" }, + "_requiredBy": [ + "/babel-preset-jest", + "/jest-snapshot" + ], + "_resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "_spec": "1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Nicolò Ribaudo", "url": "https://github.com/nicolo-ribaudo" }, - "scripts": { - "test": "node ./test/index.js", - "prepublish": "./scripts/check-yarn-bug.sh" + "bugs": { + "url": "https://github.com/nicolo-ribaudo/babel-preset-current-node-syntax/issues" }, "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", @@ -29,13 +50,26 @@ "@babel/plugin-syntax-optional-chaining": "^7.8.3", "@babel/plugin-syntax-top-level-await": "^7.8.3" }, - "peerDependencies": { - "@babel/core": "^7.0.0" - }, + "description": "A Babel preset that enables parsing of proposals supported by the current Node.js version.", "devDependencies": { "@babel/core": "7.0.0", "@babel/parser-7.0.0": "npm:@babel/parser@7.0.0", "@babel/parser-7.9.0": "npm:@babel/parser@7.9.0" }, - "license": "MIT" -} \ No newline at end of file + "homepage": "https://github.com/nicolo-ribaudo/babel-preset-current-node-syntax#readme", + "license": "MIT", + "main": "src/index.js", + "name": "babel-preset-current-node-syntax", + "peerDependencies": { + "@babel/core": "^7.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/nicolo-ribaudo/babel-preset-current-node-syntax.git" + }, + "scripts": { + "prepublish": "./scripts/check-yarn-bug.sh", + "test": "node ./test/index.js" + }, + "version": "1.0.1" +} diff --git a/node_modules/babel-preset-jest/package.json b/node_modules/babel-preset-jest/package.json index 0439c3565..3cd58616d 100644 --- a/node_modules/babel-preset-jest/package.json +++ b/node_modules/babel-preset-jest/package.json @@ -1,29 +1,63 @@ { - "name": "babel-preset-jest", - "version": "27.4.0", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/babel-preset-jest" + "_args": [ + [ + "babel-preset-jest@27.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "babel-preset-jest@27.4.0", + "_id": "babel-preset-jest@27.4.0", + "_inBundle": false, + "_integrity": "sha512-NK4jGYpnBvNxcGo7/ZpZJr51jCGT+3bwwpVIDY2oNfTxJJldRtB4VAcYdgp1loDE50ODuTu+yBjpMAswv5tlpg==", + "_location": "/babel-preset-jest", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "babel-preset-jest@27.4.0", + "name": "babel-preset-jest", + "escapedName": "babel-preset-jest", + "rawSpec": "27.4.0", + "saveSpec": null, + "fetchSpec": "27.4.0" }, - "license": "MIT", - "main": "./index.js", - "exports": { - ".": "./index.js", - "./package.json": "./package.json" + "_requiredBy": [ + "/babel-jest" + ], + "_resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-27.4.0.tgz", + "_spec": "27.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "babel-plugin-jest-hoist": "^27.4.0", "babel-preset-current-node-syntax": "^1.0.0" }, - "peerDependencies": { - "@babel/core": "^7.0.0" - }, + "description": "> Babel preset for all Jest plugins. This preset is automatically included when using [babel-jest](https://github.com/facebook/jest/tree/main/packages/babel-jest).", "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": "./index.js", + "./package.json": "./package.json" + }, + "gitHead": "0dc6dde296550370ade2574d6665748fed37f9c9", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./index.js", + "name": "babel-preset-jest", + "peerDependencies": { + "@babel/core": "^7.0.0" + }, "publishConfig": { "access": "public" }, - "gitHead": "0dc6dde296550370ade2574d6665748fed37f9c9" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/babel-preset-jest" + }, + "version": "27.4.0" } diff --git a/node_modules/balanced-match/package.json b/node_modules/balanced-match/package.json index ce6073e04..e42265608 100644 --- a/node_modules/balanced-match/package.json +++ b/node_modules/balanced-match/package.json @@ -1,21 +1,47 @@ { - "name": "balanced-match", - "description": "Match balanced character pairs, like \"{\" and \"}\"", - "version": "1.0.2", - "repository": { - "type": "git", - "url": "git://github.com/juliangruber/balanced-match.git" + "_args": [ + [ + "balanced-match@1.0.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "balanced-match@1.0.2", + "_id": "balanced-match@1.0.2", + "_inBundle": false, + "_integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "_location": "/balanced-match", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "balanced-match@1.0.2", + "name": "balanced-match", + "escapedName": "balanced-match", + "rawSpec": "1.0.2", + "saveSpec": null, + "fetchSpec": "1.0.2" }, - "homepage": "https://github.com/juliangruber/balanced-match", - "main": "index.js", - "scripts": { - "test": "tape test/test.js", - "bench": "matcha test/bench.js" + "_requiredBy": [ + "/brace-expansion" + ], + "_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "_spec": "1.0.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "bugs": { + "url": "https://github.com/juliangruber/balanced-match/issues" }, + "description": "Match balanced character pairs, like \"{\" and \"}\"", "devDependencies": { "matcha": "^0.7.0", "tape": "^4.6.0" }, + "homepage": "https://github.com/juliangruber/balanced-match", "keywords": [ "match", "regexp", @@ -23,12 +49,17 @@ "balanced", "parse" ], - "author": { - "name": "Julian Gruber", - "email": "mail@juliangruber.com", - "url": "http://juliangruber.com" - }, "license": "MIT", + "main": "index.js", + "name": "balanced-match", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/balanced-match.git" + }, + "scripts": { + "bench": "matcha test/bench.js", + "test": "tape test/test.js" + }, "testling": { "files": "test/*.js", "browsers": [ @@ -44,5 +75,6 @@ "iphone/6.0..latest", "android-browser/4.2..latest" ] - } + }, + "version": "1.0.2" } diff --git a/node_modules/base64-js/package.json b/node_modules/base64-js/package.json index c3972e39f..0f103a61c 100644 --- a/node_modules/base64-js/package.json +++ b/node_modules/base64-js/package.json @@ -1,12 +1,37 @@ { - "name": "base64-js", - "description": "Base64 encoding/decoding in pure JS", - "version": "1.5.1", - "author": "T. Jameson Little ", - "typings": "index.d.ts", + "_from": "base64-js@^1.0.2", + "_id": "base64-js@1.5.1", + "_inBundle": false, + "_integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "_location": "/base64-js", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "base64-js@^1.0.2", + "name": "base64-js", + "escapedName": "base64-js", + "rawSpec": "^1.0.2", + "saveSpec": null, + "fetchSpec": "^1.0.2" + }, + "_requiredBy": [ + "/buffer" + ], + "_resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "_shasum": "1b1b440160a5bf7ad40b650f095963481903930a", + "_spec": "base64-js@^1.0.2", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/buffer", + "author": { + "name": "T. Jameson Little", + "email": "t.jameson.little@gmail.com" + }, "bugs": { "url": "https://github.com/beatgammit/base64-js/issues" }, + "bundleDependencies": false, + "deprecated": false, + "description": "Base64 encoding/decoding in pure JS", "devDependencies": { "babel-minify": "^0.5.1", "benchmark": "^2.1.4", @@ -14,12 +39,27 @@ "standard": "*", "tape": "4.x" }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "homepage": "https://github.com/beatgammit/base64-js", "keywords": [ "base64" ], "license": "MIT", "main": "index.js", + "name": "base64-js", "repository": { "type": "git", "url": "git://github.com/beatgammit/base64-js.git" @@ -30,18 +70,6 @@ "test": "npm run lint && npm run unit", "unit": "tape test/*.js" }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "typings": "index.d.ts", + "version": "1.5.1" } diff --git a/node_modules/before-after-hook/package.json b/node_modules/before-after-hook/package.json index 25f47564a..e994f2c6b 100644 --- a/node_modules/before-after-hook/package.json +++ b/node_modules/before-after-hook/package.json @@ -1,41 +1,40 @@ { - "name": "before-after-hook", - "version": "2.2.2", - "description": "asynchronous before/error/after hooks for internal functionality", - "main": "index.js", - "files": [ - "index.js", - "index.d.ts", - "lib" + "_args": [ + [ + "before-after-hook@2.2.2", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "types": "./index.d.ts", - "scripts": { - "prebuild": "rimraf dist && mkdirp dist", - "build": "browserify index.js --standalone=Hook > dist/before-after-hook.js", - "postbuild": "uglifyjs dist/before-after-hook.js -mc > dist/before-after-hook.min.js", - "lint": "prettier --check '{lib,test,examples}/**/*' README.md package.json", - "lint:fix": "prettier --write '{lib,test,examples}/**/*' README.md package.json", - "pretest": "npm run -s lint", - "test": "npm run -s test:node | tap-spec", - "posttest": "npm run validate:ts", - "test:node": "node test", - "test:watch": "gaze 'clear && node test | tap-min' 'test/**/*.js' 'index.js' 'lib/**/*.js'", - "test:coverage": "istanbul cover test", - "test:coverage:upload": "istanbul-coveralls", - "validate:ts": "tsc --strict --target es6 index.d.ts", - "postvalidate:ts": "tsc --noEmit --strict --target es6 test/typescript-validate.ts", - "presemantic-release": "npm run build", - "semantic-release": "semantic-release" + "_from": "before-after-hook@2.2.2", + "_id": "before-after-hook@2.2.2", + "_inBundle": false, + "_integrity": "sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ==", + "_location": "/before-after-hook", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "before-after-hook@2.2.2", + "name": "before-after-hook", + "escapedName": "before-after-hook", + "rawSpec": "2.2.2", + "saveSpec": null, + "fetchSpec": "2.2.2" }, - "repository": "github:gr2m/before-after-hook", - "keywords": [ - "hook", - "hooks", - "api" + "_requiredBy": [ + "/@octokit/core" ], - "author": "Gregor Martynus", - "license": "Apache-2.0", + "_resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.2.tgz", + "_spec": "2.2.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Gregor Martynus" + }, + "bugs": { + "url": "https://github.com/gr2m/before-after-hook/issues" + }, "dependencies": {}, + "description": "asynchronous before/error/after hooks for internal functionality", "devDependencies": { "browserify": "^16.0.0", "gaze-cli": "^0.2.0", @@ -52,6 +51,20 @@ "typescript": "^3.5.3", "uglify-js": "^3.9.0" }, + "files": [ + "index.js", + "index.d.ts", + "lib" + ], + "homepage": "https://github.com/gr2m/before-after-hook#readme", + "keywords": [ + "hook", + "hooks", + "api" + ], + "license": "Apache-2.0", + "main": "index.js", + "name": "before-after-hook", "release": { "publish": [ "@semantic-release/npm", @@ -62,5 +75,29 @@ ] } ] - } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/gr2m/before-after-hook.git" + }, + "scripts": { + "build": "browserify index.js --standalone=Hook > dist/before-after-hook.js", + "lint": "prettier --check '{lib,test,examples}/**/*' README.md package.json", + "lint:fix": "prettier --write '{lib,test,examples}/**/*' README.md package.json", + "postbuild": "uglifyjs dist/before-after-hook.js -mc > dist/before-after-hook.min.js", + "posttest": "npm run validate:ts", + "postvalidate:ts": "tsc --noEmit --strict --target es6 test/typescript-validate.ts", + "prebuild": "rimraf dist && mkdirp dist", + "presemantic-release": "npm run build", + "pretest": "npm run -s lint", + "semantic-release": "semantic-release", + "test": "npm run -s test:node | tap-spec", + "test:coverage": "istanbul cover test", + "test:coverage:upload": "istanbul-coveralls", + "test:node": "node test", + "test:watch": "gaze 'clear && node test | tap-min' 'test/**/*.js' 'index.js' 'lib/**/*.js'", + "validate:ts": "tsc --strict --target es6 index.d.ts" + }, + "types": "./index.d.ts", + "version": "2.2.2" } diff --git a/node_modules/body-parser/node_modules/debug/package.json b/node_modules/body-parser/node_modules/debug/package.json index dc787ba76..fc249b39d 100644 --- a/node_modules/body-parser/node_modules/debug/package.json +++ b/node_modules/body-parser/node_modules/debug/package.json @@ -1,25 +1,61 @@ { - "name": "debug", - "version": "2.6.9", - "repository": { - "type": "git", - "url": "git://github.com/visionmedia/debug.git" + "_args": [ + [ + "debug@2.6.9", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "debug@2.6.9", + "_id": "debug@2.6.9", + "_inBundle": false, + "_integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "_location": "/body-parser/debug", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "debug@2.6.9", + "name": "debug", + "escapedName": "debug", + "rawSpec": "2.6.9", + "saveSpec": null, + "fetchSpec": "2.6.9" }, - "description": "small debugging utility", - "keywords": [ - "debug", - "log", - "debugger" + "_requiredBy": [ + "/body-parser" ], - "author": "TJ Holowaychuk ", + "_resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "_spec": "2.6.9", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca" + }, + "browser": "./src/browser.js", + "bugs": { + "url": "https://github.com/visionmedia/debug/issues" + }, + "component": { + "scripts": { + "debug/index.js": "browser.js", + "debug/debug.js": "debug.js" + } + }, "contributors": [ - "Nathan Rajlich (http://n8.io)", - "Andrew Rhyne " + { + "name": "Nathan Rajlich", + "email": "nathan@tootallnate.net", + "url": "http://n8.io" + }, + { + "name": "Andrew Rhyne", + "email": "rhyneandrew@gmail.com" + } ], - "license": "MIT", "dependencies": { "ms": "2.0.0" }, + "description": "small debugging utility", "devDependencies": { "browserify": "9.0.3", "chai": "^3.5.0", @@ -38,12 +74,18 @@ "sinon": "^1.17.6", "sinon-chai": "^2.8.0" }, + "homepage": "https://github.com/visionmedia/debug#readme", + "keywords": [ + "debug", + "log", + "debugger" + ], + "license": "MIT", "main": "./src/index.js", - "browser": "./src/browser.js", - "component": { - "scripts": { - "debug/index.js": "browser.js", - "debug/debug.js": "debug.js" - } - } + "name": "debug", + "repository": { + "type": "git", + "url": "git://github.com/visionmedia/debug.git" + }, + "version": "2.6.9" } diff --git a/node_modules/body-parser/node_modules/ms/package.json b/node_modules/body-parser/node_modules/ms/package.json index 6a31c81fa..e15d5cc0e 100644 --- a/node_modules/body-parser/node_modules/ms/package.json +++ b/node_modules/body-parser/node_modules/ms/package.json @@ -1,16 +1,42 @@ { - "name": "ms", - "version": "2.0.0", - "description": "Tiny milisecond conversion utility", - "repository": "zeit/ms", - "main": "./index", - "files": [ - "index.js" + "_args": [ + [ + "ms@2.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "precommit": "lint-staged", - "lint": "eslint lib/* bin/*", - "test": "mocha tests.js" + "_from": "ms@2.0.0", + "_id": "ms@2.0.0", + "_inBundle": false, + "_integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "_location": "/body-parser/ms", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ms@2.0.0", + "name": "ms", + "escapedName": "ms", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/body-parser/debug" + ], + "_resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/zeit/ms/issues" + }, + "description": "Tiny milisecond conversion utility", + "devDependencies": { + "eslint": "3.19.0", + "expect.js": "0.3.1", + "husky": "0.13.3", + "lint-staged": "3.4.1", + "mocha": "3.4.1" }, "eslintConfig": { "extends": "eslint:recommended", @@ -19,6 +45,11 @@ "es6": true } }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/zeit/ms#readme", + "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -26,12 +57,16 @@ "git add" ] }, - "license": "MIT", - "devDependencies": { - "eslint": "3.19.0", - "expect.js": "0.3.1", - "husky": "0.13.3", - "lint-staged": "3.4.1", - "mocha": "3.4.1" - } + "main": "./index", + "name": "ms", + "repository": { + "type": "git", + "url": "git+https://github.com/zeit/ms.git" + }, + "scripts": { + "lint": "eslint lib/* bin/*", + "precommit": "lint-staged", + "test": "mocha tests.js" + }, + "version": "2.0.0" } diff --git a/node_modules/body-parser/package.json b/node_modules/body-parser/package.json index 374138e81..0c97e7322 100644 --- a/node_modules/body-parser/package.json +++ b/node_modules/body-parser/package.json @@ -1,13 +1,46 @@ { - "name": "body-parser", - "description": "Node.js body parsing middleware", - "version": "1.19.1", + "_args": [ + [ + "body-parser@1.19.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "body-parser@1.19.1", + "_id": "body-parser@1.19.1", + "_inBundle": false, + "_integrity": "sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==", + "_location": "/body-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "body-parser@1.19.1", + "name": "body-parser", + "escapedName": "body-parser", + "rawSpec": "1.19.1", + "saveSpec": null, + "fetchSpec": "1.19.1" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.1.tgz", + "_spec": "1.19.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/expressjs/body-parser/issues" + }, "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)" + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } ], - "license": "MIT", - "repository": "expressjs/body-parser", "dependencies": { "bytes": "3.1.1", "content-type": "~1.0.4", @@ -20,6 +53,7 @@ "raw-body": "2.4.2", "type-is": "~1.6.18" }, + "description": "Node.js body parsing middleware", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -34,19 +68,27 @@ "safe-buffer": "5.2.1", "supertest": "6.1.6" }, + "engines": { + "node": ">= 0.8" + }, "files": [ "lib/", "LICENSE", "HISTORY.md", "index.js" ], - "engines": { - "node": ">= 0.8" + "homepage": "https://github.com/expressjs/body-parser#readme", + "license": "MIT", + "name": "body-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/expressjs/body-parser.git" }, "scripts": { "lint": "eslint .", "test": "mocha --require test/support/env --reporter spec --check-leaks --bail test/", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - } + }, + "version": "1.19.1" } diff --git a/node_modules/boxen/index.d.ts b/node_modules/boxen/index.d.ts deleted file mode 100644 index 60c13100c..000000000 --- a/node_modules/boxen/index.d.ts +++ /dev/null @@ -1,175 +0,0 @@ -import {LiteralUnion} from 'type-fest'; -import cliBoxes, {BoxStyle} from 'cli-boxes'; - -declare namespace boxen { - /** - Characters used for custom border. - - @example - ``` - // affffb - // e e - // dffffc - - const border: CustomBorderStyle = { - topLeft: 'a', - topRight: 'b', - bottomRight: 'c', - bottomLeft: 'd', - vertical: 'e', - horizontal: 'f' - }; - ``` - */ - interface CustomBorderStyle extends BoxStyle {} - - /** - Spacing used for `padding` and `margin`. - */ - interface Spacing { - readonly top: number; - readonly right: number; - readonly bottom: number; - readonly left: number; - } - - interface Options { - /** - Color of the box border. - */ - readonly borderColor?: LiteralUnion< - | 'black' - | 'red' - | 'green' - | 'yellow' - | 'blue' - | 'magenta' - | 'cyan' - | 'white' - | 'gray' - | 'grey' - | 'blackBright' - | 'redBright' - | 'greenBright' - | 'yellowBright' - | 'blueBright' - | 'magentaBright' - | 'cyanBright' - | 'whiteBright', - string - >; - - /** - Style of the box border. - - @default BorderStyle.Single - */ - readonly borderStyle?: BorderStyle | CustomBorderStyle; - - /** - Reduce opacity of the border. - - @default false - */ - readonly dimBorder?: boolean; - - /** - Space between the text and box border. - - @default 0 - */ - readonly padding?: number | Spacing; - - /** - Space around the box. - - @default 0 - */ - readonly margin?: number | Spacing; - - /** - Float the box on the available terminal screen space. - - @default 'left' - */ - readonly float?: 'left' | 'right' | 'center'; - - /** - Color of the background. - */ - readonly backgroundColor?: LiteralUnion< - | 'black' - | 'red' - | 'green' - | 'yellow' - | 'blue' - | 'magenta' - | 'cyan' - | 'white' - | 'blackBright' - | 'redBright' - | 'greenBright' - | 'yellowBright' - | 'blueBright' - | 'magentaBright' - | 'cyanBright' - | 'whiteBright', - string - >; - - /** - Align the text in the box based on the widest line. - - @default 'left' - */ - readonly align?: 'left' | 'right' | 'center'; - } -} - -declare const enum BorderStyle { - Single = 'single', - Double = 'double', - Round = 'round', - Bold = 'bold', - SingleDouble = 'singleDouble', - DoubleSingle = 'doubleSingle', - Classic = 'classic' -} - -declare const boxen: { - /** - Creates a box in the terminal. - - @param text - The text inside the box. - @returns The box. - - @example - ``` - import boxen = require('boxen'); - - console.log(boxen('unicorn', {padding: 1})); - // ┌─────────────┐ - // │ │ - // │ unicorn │ - // │ │ - // └─────────────┘ - - console.log(boxen('unicorn', {padding: 1, margin: 1, borderStyle: 'double'})); - // - // ╔═════════════╗ - // ║ ║ - // ║ unicorn ║ - // ║ ║ - // ╚═════════════╝ - // - ``` - */ - (text: string, options?: boxen.Options): string; - - /** - Border styles from [`cli-boxes`](https://github.com/sindresorhus/cli-boxes). - */ - BorderStyle: typeof BorderStyle; -}; - -export = boxen; diff --git a/node_modules/boxen/index.js b/node_modules/boxen/index.js deleted file mode 100644 index a54524cf0..000000000 --- a/node_modules/boxen/index.js +++ /dev/null @@ -1,139 +0,0 @@ -'use strict'; -const stringWidth = require('string-width'); -const chalk = require('chalk'); -const widestLine = require('widest-line'); -const cliBoxes = require('cli-boxes'); -const camelCase = require('camelcase'); -const ansiAlign = require('ansi-align'); -const termSize = require('term-size'); - -const getObject = detail => { - let object; - - if (typeof detail === 'number') { - object = { - top: detail, - right: detail * 3, - bottom: detail, - left: detail * 3 - }; - } else { - object = { - top: 0, - right: 0, - bottom: 0, - left: 0, - ...detail - }; - } - - return object; -}; - -const getBorderChars = borderStyle => { - const sides = [ - 'topLeft', - 'topRight', - 'bottomRight', - 'bottomLeft', - 'vertical', - 'horizontal' - ]; - - let chararacters; - - if (typeof borderStyle === 'string') { - chararacters = cliBoxes[borderStyle]; - - if (!chararacters) { - throw new TypeError(`Invalid border style: ${borderStyle}`); - } - } else { - for (const side of sides) { - if (!borderStyle[side] || typeof borderStyle[side] !== 'string') { - throw new TypeError(`Invalid border style: ${side}`); - } - } - - chararacters = borderStyle; - } - - return chararacters; -}; - -const isHex = color => color.match(/^#[0-f]{3}(?:[0-f]{3})?$/i); -const isColorValid = color => typeof color === 'string' && ((chalk[color]) || isHex(color)); -const getColorFn = color => isHex(color) ? chalk.hex(color) : chalk[color]; -const getBGColorFn = color => isHex(color) ? chalk.bgHex(color) : chalk[camelCase(['bg', color])]; - -module.exports = (text, options) => { - options = { - padding: 0, - borderStyle: 'single', - dimBorder: false, - align: 'left', - float: 'left', - ...options - }; - - if (options.borderColor && !isColorValid(options.borderColor)) { - throw new Error(`${options.borderColor} is not a valid borderColor`); - } - - if (options.backgroundColor && !isColorValid(options.backgroundColor)) { - throw new Error(`${options.backgroundColor} is not a valid backgroundColor`); - } - - const chars = getBorderChars(options.borderStyle); - const padding = getObject(options.padding); - const margin = getObject(options.margin); - - const colorizeBorder = border => { - const newBorder = options.borderColor ? getColorFn(options.borderColor)(border) : border; - return options.dimBorder ? chalk.dim(newBorder) : newBorder; - }; - - const colorizeContent = content => options.backgroundColor ? getBGColorFn(options.backgroundColor)(content) : content; - - text = ansiAlign(text, {align: options.align}); - - const NL = '\n'; - const PAD = ' '; - - let lines = text.split(NL); - - if (padding.top > 0) { - lines = new Array(padding.top).fill('').concat(lines); - } - - if (padding.bottom > 0) { - lines = lines.concat(new Array(padding.bottom).fill('')); - } - - const contentWidth = widestLine(text) + padding.left + padding.right; - const paddingLeft = PAD.repeat(padding.left); - const {columns} = termSize(); - let marginLeft = PAD.repeat(margin.left); - - if (options.float === 'center') { - const padWidth = Math.max((columns - contentWidth) / 2, 0); - marginLeft = PAD.repeat(padWidth); - } else if (options.float === 'right') { - const padWidth = Math.max(columns - contentWidth - margin.right - 2, 0); - marginLeft = PAD.repeat(padWidth); - } - - const horizontal = chars.horizontal.repeat(contentWidth); - const top = colorizeBorder(NL.repeat(margin.top) + marginLeft + chars.topLeft + horizontal + chars.topRight); - const bottom = colorizeBorder(marginLeft + chars.bottomLeft + horizontal + chars.bottomRight + NL.repeat(margin.bottom)); - const side = colorizeBorder(chars.vertical); - - const middle = lines.map(line => { - const paddingRight = PAD.repeat(contentWidth - stringWidth(line) - padding.left); - return marginLeft + side + colorizeContent(paddingLeft + line + paddingRight) + side; - }).join(NL); - - return top + NL + middle + NL + bottom; -}; - -module.exports._borderStyles = cliBoxes; diff --git a/node_modules/boxen/license b/node_modules/boxen/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/boxen/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/boxen/node_modules/chalk/index.d.ts b/node_modules/boxen/node_modules/chalk/index.d.ts deleted file mode 100644 index 7e22c45ec..000000000 --- a/node_modules/boxen/node_modules/chalk/index.d.ts +++ /dev/null @@ -1,411 +0,0 @@ -declare const enum LevelEnum { - /** - All colors disabled. - */ - None = 0, - - /** - Basic 16 colors support. - */ - Basic = 1, - - /** - ANSI 256 colors support. - */ - Ansi256 = 2, - - /** - Truecolor 16 million colors support. - */ - TrueColor = 3 -} - -/** -Basic foreground colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type ForegroundColor = - | 'black' - | 'red' - | 'green' - | 'yellow' - | 'blue' - | 'magenta' - | 'cyan' - | 'white' - | 'gray' - | 'grey' - | 'blackBright' - | 'redBright' - | 'greenBright' - | 'yellowBright' - | 'blueBright' - | 'magentaBright' - | 'cyanBright' - | 'whiteBright'; - -/** -Basic background colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type BackgroundColor = - | 'bgBlack' - | 'bgRed' - | 'bgGreen' - | 'bgYellow' - | 'bgBlue' - | 'bgMagenta' - | 'bgCyan' - | 'bgWhite' - | 'bgGray' - | 'bgGrey' - | 'bgBlackBright' - | 'bgRedBright' - | 'bgGreenBright' - | 'bgYellowBright' - | 'bgBlueBright' - | 'bgMagentaBright' - | 'bgCyanBright' - | 'bgWhiteBright'; - -/** -Basic colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type Color = ForegroundColor | BackgroundColor; - -declare type Modifiers = - | 'reset' - | 'bold' - | 'dim' - | 'italic' - | 'underline' - | 'inverse' - | 'hidden' - | 'strikethrough' - | 'visible'; - -declare namespace chalk { - type Level = LevelEnum; - - interface Options { - /** - Specify the color support for Chalk. - By default, color support is automatically detected based on the environment. - */ - level?: Level; - } - - interface Instance { - /** - Return a new Chalk instance. - */ - new (options?: Options): Chalk; - } - - /** - Detect whether the terminal supports color. - */ - interface ColorSupport { - /** - The color level used by Chalk. - */ - level: Level; - - /** - Return whether Chalk supports basic 16 colors. - */ - hasBasic: boolean; - - /** - Return whether Chalk supports ANSI 256 colors. - */ - has256: boolean; - - /** - Return whether Chalk supports Truecolor 16 million colors. - */ - has16m: boolean; - } - - interface ChalkFunction { - /** - Use a template string. - - @remarks Template literals are unsupported for nested calls (see [issue #341](https://github.com/chalk/chalk/issues/341)) - - @example - ``` - import chalk = require('chalk'); - - log(chalk` - CPU: {red ${cpu.totalPercent}%} - RAM: {green ${ram.used / ram.total * 100}%} - DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} - `); - ``` - */ - (text: TemplateStringsArray, ...placeholders: unknown[]): string; - - (...text: unknown[]): string; - } - - interface Chalk extends ChalkFunction { - /** - Return a new Chalk instance. - */ - Instance: Instance; - - /** - The color support for Chalk. - By default, color support is automatically detected based on the environment. - */ - level: Level; - - /** - Use HEX value to set text color. - - @param color - Hexadecimal value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.hex('#DEADED'); - ``` - */ - hex(color: string): Chalk; - - /** - Use keyword color value to set text color. - - @param color - Keyword value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.keyword('orange'); - ``` - */ - keyword(color: string): Chalk; - - /** - Use RGB values to set text color. - */ - rgb(red: number, green: number, blue: number): Chalk; - - /** - Use HSL values to set text color. - */ - hsl(hue: number, saturation: number, lightness: number): Chalk; - - /** - Use HSV values to set text color. - */ - hsv(hue: number, saturation: number, value: number): Chalk; - - /** - Use HWB values to set text color. - */ - hwb(hue: number, whiteness: number, blackness: number): Chalk; - - /** - Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set text color. - - 30 <= code && code < 38 || 90 <= code && code < 98 - For example, 31 for red, 91 for redBright. - */ - ansi(code: number): Chalk; - - /** - Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color. - */ - ansi256(index: number): Chalk; - - /** - Use HEX value to set background color. - - @param color - Hexadecimal value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.bgHex('#DEADED'); - ``` - */ - bgHex(color: string): Chalk; - - /** - Use keyword color value to set background color. - - @param color - Keyword value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.bgKeyword('orange'); - ``` - */ - bgKeyword(color: string): Chalk; - - /** - Use RGB values to set background color. - */ - bgRgb(red: number, green: number, blue: number): Chalk; - - /** - Use HSL values to set background color. - */ - bgHsl(hue: number, saturation: number, lightness: number): Chalk; - - /** - Use HSV values to set background color. - */ - bgHsv(hue: number, saturation: number, value: number): Chalk; - - /** - Use HWB values to set background color. - */ - bgHwb(hue: number, whiteness: number, blackness: number): Chalk; - - /** - Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set background color. - - 30 <= code && code < 38 || 90 <= code && code < 98 - For example, 31 for red, 91 for redBright. - Use the foreground code, not the background code (for example, not 41, nor 101). - */ - bgAnsi(code: number): Chalk; - - /** - Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color. - */ - bgAnsi256(index: number): Chalk; - - /** - Modifier: Resets the current color chain. - */ - readonly reset: Chalk; - - /** - Modifier: Make text bold. - */ - readonly bold: Chalk; - - /** - Modifier: Emitting only a small amount of light. - */ - readonly dim: Chalk; - - /** - Modifier: Make text italic. (Not widely supported) - */ - readonly italic: Chalk; - - /** - Modifier: Make text underline. (Not widely supported) - */ - readonly underline: Chalk; - - /** - Modifier: Inverse background and foreground colors. - */ - readonly inverse: Chalk; - - /** - Modifier: Prints the text, but makes it invisible. - */ - readonly hidden: Chalk; - - /** - Modifier: Puts a horizontal line through the center of the text. (Not widely supported) - */ - readonly strikethrough: Chalk; - - /** - Modifier: Prints the text only when Chalk has a color support level > 0. - Can be useful for things that are purely cosmetic. - */ - readonly visible: Chalk; - - readonly black: Chalk; - readonly red: Chalk; - readonly green: Chalk; - readonly yellow: Chalk; - readonly blue: Chalk; - readonly magenta: Chalk; - readonly cyan: Chalk; - readonly white: Chalk; - - /* - Alias for `blackBright`. - */ - readonly gray: Chalk; - - /* - Alias for `blackBright`. - */ - readonly grey: Chalk; - - readonly blackBright: Chalk; - readonly redBright: Chalk; - readonly greenBright: Chalk; - readonly yellowBright: Chalk; - readonly blueBright: Chalk; - readonly magentaBright: Chalk; - readonly cyanBright: Chalk; - readonly whiteBright: Chalk; - - readonly bgBlack: Chalk; - readonly bgRed: Chalk; - readonly bgGreen: Chalk; - readonly bgYellow: Chalk; - readonly bgBlue: Chalk; - readonly bgMagenta: Chalk; - readonly bgCyan: Chalk; - readonly bgWhite: Chalk; - - /* - Alias for `bgBlackBright`. - */ - readonly bgGray: Chalk; - - /* - Alias for `bgBlackBright`. - */ - readonly bgGrey: Chalk; - - readonly bgBlackBright: Chalk; - readonly bgRedBright: Chalk; - readonly bgGreenBright: Chalk; - readonly bgYellowBright: Chalk; - readonly bgBlueBright: Chalk; - readonly bgMagentaBright: Chalk; - readonly bgCyanBright: Chalk; - readonly bgWhiteBright: Chalk; - } -} - -/** -Main Chalk object that allows to chain styles together. -Call the last one as a method with a string argument. -Order doesn't matter, and later styles take precedent in case of a conflict. -This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`. -*/ -declare const chalk: chalk.Chalk & chalk.ChalkFunction & { - supportsColor: chalk.ColorSupport | false; - Level: typeof LevelEnum; - Color: Color; - ForegroundColor: ForegroundColor; - BackgroundColor: BackgroundColor; - Modifiers: Modifiers; - stderr: chalk.Chalk & {supportsColor: chalk.ColorSupport | false}; -}; - -export = chalk; diff --git a/node_modules/boxen/node_modules/chalk/license b/node_modules/boxen/node_modules/chalk/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/boxen/node_modules/chalk/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/boxen/node_modules/chalk/package.json b/node_modules/boxen/node_modules/chalk/package.json deleted file mode 100644 index 047adf92a..000000000 --- a/node_modules/boxen/node_modules/chalk/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "chalk", - "version": "3.0.0", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "main": "source", - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && nyc ava && tsd", - "bench": "matcha benchmark.js" - }, - "files": [ - "source", - "index.d.ts" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "coveralls": "^3.0.7", - "execa": "^3.2.0", - "import-fresh": "^3.1.0", - "matcha": "^0.7.0", - "nyc": "^14.1.1", - "resolve-from": "^5.0.0", - "tsd": "^0.7.4", - "xo": "^0.25.3" - }, - "xo": { - "rules": { - "unicorn/prefer-string-slice": "off", - "unicorn/prefer-includes": "off" - } - } -} diff --git a/node_modules/boxen/node_modules/chalk/readme.md b/node_modules/boxen/node_modules/chalk/readme.md deleted file mode 100644 index 877cb93b7..000000000 --- a/node_modules/boxen/node_modules/chalk/readme.md +++ /dev/null @@ -1,304 +0,0 @@ -

-
-
- Chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) - - - - -## Highlights - -- Expressive API -- Highly performant -- Ability to nest styles -- [256/Truecolor color support](#256-and-truecolor-color-support) -- Auto-detects color support -- Doesn't extend `String.prototype` -- Clean and focused -- Actively maintained -- [Used by ~46,000 packages](https://www.npmjs.com/browse/depended/chalk) as of October 1, 2019 - - -## Install - -```console -$ npm install chalk -``` - - -## Usage - -```js -const chalk = require('chalk'); - -console.log(chalk.blue('Hello world!')); -``` - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -const chalk = require('chalk'); -const log = console.log; - -// Combine styled and normal strings -log(chalk.blue('Hello') + ' World' + chalk.red('!')); - -// Compose multiple styles using the chainable API -log(chalk.blue.bgRed.bold('Hello world!')); - -// Pass in multiple arguments -log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); - -// Nest styles -log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); - -// Nest styles of the same type even (color, underline, background) -log(chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -)); - -// ES2015 template literal -log(` -CPU: ${chalk.red('90%')} -RAM: ${chalk.green('40%')} -DISK: ${chalk.yellow('70%')} -`); - -// ES2015 tagged template literal -log(chalk` -CPU: {red ${cpu.totalPercent}%} -RAM: {green ${ram.used / ram.total * 100}%} -DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} -`); - -// Use RGB colors in terminal emulators that support it. -log(chalk.keyword('orange')('Yay for orange colored text!')); -log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); -log(chalk.hex('#DEADED').bold('Bold gray!')); -``` - -Easily define your own themes: - -```js -const chalk = require('chalk'); - -const error = chalk.bold.red; -const warning = chalk.keyword('orange'); - -console.log(error('Error!')); -console.log(warning('Warning!')); -``` - -Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): - -```js -const name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> 'Hello Sindre' -``` - - -## API - -### chalk.` + + + + + +

Expected results:

+
adam:29 < john:26 < angela:24 +adam:29 < angela:24 < john:26 +angela:24 < john:26 < zorro:141 +
+ +

Actual results:

+
+ + + + diff --git a/node_modules/lru_map/lru.d.ts b/node_modules/lru_map/lru.d.ts new file mode 100644 index 000000000..07ea81b5d --- /dev/null +++ b/node_modules/lru_map/lru.d.ts @@ -0,0 +1,83 @@ +// An entry holds the key and value, and pointers to any older and newer entries. +interface Entry { + key :K; + value :V; +} + +export class LRUMap { + // Construct a new cache object which will hold up to limit entries. + // When the size == limit, a `put` operation will evict the oldest entry. + // + // If `entries` is provided, all entries are added to the new map. + // `entries` should be an Array or other iterable object whose elements are + // key-value pairs (2-element Arrays). Each key-value pair is added to the new Map. + // null is treated as undefined. + constructor(limit :number, entries? :Iterable<[K,V]>); + + // Convenience constructor equivalent to `new LRUMap(count(entries), entries)` + constructor(entries :Iterable<[K,V]>); + + // Current number of items + size :number; + + // Maximum number of items this map can hold + limit :number; + + // Least recently-used entry. Invalidated when map is modified. + oldest :Entry; + + // Most recently-used entry. Invalidated when map is modified. + newest :Entry; + + // Replace all values in this map with key-value pairs (2-element Arrays) from + // provided iterable. + assign(entries :Iterable<[K,V]>) : void; + + // Put into the cache associated with . Replaces any existing entry + // with the same key. Returns `this`. + set(key :K, value :V) : LRUMap; + + // Purge the least recently used (oldest) entry from the cache. + // Returns the removed entry or undefined if the cache was empty. + shift() : [K,V] | undefined; + + // Get and register recent use of . + // Returns the value associated with or undefined if not in cache. + get(key :K) : V | undefined; + + // Check if there's a value for key in the cache without registering recent use. + has(key :K) : boolean; + + // Access value for without registering recent use. Useful if you do not + // want to chage the state of the map, but only "peek" at it. + // Returns the value associated with if found, or undefined if not found. + find(key :K) : V | undefined; + + // Remove entry from cache and return its value. + // Returns the removed value, or undefined if not found. + delete(key :K) : V | undefined; + + // Removes all entries + clear() : void; + + // Returns an iterator over all keys, starting with the oldest. + keys() : Iterator; + + // Returns an iterator over all values, starting with the oldest. + values() : Iterator; + + // Returns an iterator over all entries, starting with the oldest. + entries() : Iterator<[K,V]>; + + // Returns an iterator over all entries, starting with the oldest. + [Symbol.iterator]() : Iterator<[K,V]>; + + // Call `fun` for each entry, starting with the oldest entry. + forEach(fun :(value :V, key :K, m :LRUMap)=>void, thisArg? :any) : void; + + // Returns an object suitable for JSON encoding + toJSON() : Array<{key :K, value :V}>; + + // Returns a human-readable text representation + toString() : string; +} diff --git a/node_modules/lru_map/lru.js b/node_modules/lru_map/lru.js new file mode 100644 index 000000000..937ccd89e --- /dev/null +++ b/node_modules/lru_map/lru.js @@ -0,0 +1,305 @@ +/** + * A doubly linked list-based Least Recently Used (LRU) cache. Will keep most + * recently used items while discarding least recently used items when its limit + * is reached. + * + * Licensed under MIT. Copyright (c) 2010 Rasmus Andersson + * See README.md for details. + * + * Illustration of the design: + * + * entry entry entry entry + * ______ ______ ______ ______ + * | head |.newer => | |.newer => | |.newer => | tail | + * | A | | B | | C | | D | + * |______| <= older.|______| <= older.|______| <= older.|______| + * + * removed <-- <-- <-- <-- <-- <-- <-- <-- <-- <-- <-- added + */ +(function(g,f){ + const e = typeof exports == 'object' ? exports : typeof g == 'object' ? g : {}; + f(e); + if (typeof define == 'function' && define.amd) { define('lru', e); } +})(this, function(exports) { + +const NEWER = Symbol('newer'); +const OLDER = Symbol('older'); + +function LRUMap(limit, entries) { + if (typeof limit !== 'number') { + // called as (entries) + entries = limit; + limit = 0; + } + + this.size = 0; + this.limit = limit; + this.oldest = this.newest = undefined; + this._keymap = new Map(); + + if (entries) { + this.assign(entries); + if (limit < 1) { + this.limit = this.size; + } + } +} + +exports.LRUMap = LRUMap; + +function Entry(key, value) { + this.key = key; + this.value = value; + this[NEWER] = undefined; + this[OLDER] = undefined; +} + + +LRUMap.prototype._markEntryAsUsed = function(entry) { + if (entry === this.newest) { + // Already the most recenlty used entry, so no need to update the list + return; + } + // HEAD--------------TAIL + // <.older .newer> + // <--- add direction -- + // A B C E + if (entry[NEWER]) { + if (entry === this.oldest) { + this.oldest = entry[NEWER]; + } + entry[NEWER][OLDER] = entry[OLDER]; // C <-- E. + } + if (entry[OLDER]) { + entry[OLDER][NEWER] = entry[NEWER]; // C. --> E + } + entry[NEWER] = undefined; // D --x + entry[OLDER] = this.newest; // D. --> E + if (this.newest) { + this.newest[NEWER] = entry; // E. <-- D + } + this.newest = entry; +}; + +LRUMap.prototype.assign = function(entries) { + let entry, limit = this.limit || Number.MAX_VALUE; + this._keymap.clear(); + let it = entries[Symbol.iterator](); + for (let itv = it.next(); !itv.done; itv = it.next()) { + let e = new Entry(itv.value[0], itv.value[1]); + this._keymap.set(e.key, e); + if (!entry) { + this.oldest = e; + } else { + entry[NEWER] = e; + e[OLDER] = entry; + } + entry = e; + if (limit-- == 0) { + throw new Error('overflow'); + } + } + this.newest = entry; + this.size = this._keymap.size; +}; + +LRUMap.prototype.get = function(key) { + // First, find our cache entry + var entry = this._keymap.get(key); + if (!entry) return; // Not cached. Sorry. + // As was found in the cache, register it as being requested recently + this._markEntryAsUsed(entry); + return entry.value; +}; + +LRUMap.prototype.set = function(key, value) { + var entry = this._keymap.get(key); + + if (entry) { + // update existing + entry.value = value; + this._markEntryAsUsed(entry); + return this; + } + + // new entry + this._keymap.set(key, (entry = new Entry(key, value))); + + if (this.newest) { + // link previous tail to the new tail (entry) + this.newest[NEWER] = entry; + entry[OLDER] = this.newest; + } else { + // we're first in -- yay + this.oldest = entry; + } + + // add new entry to the end of the linked list -- it's now the freshest entry. + this.newest = entry; + ++this.size; + if (this.size > this.limit) { + // we hit the limit -- remove the head + this.shift(); + } + + return this; +}; + +LRUMap.prototype.shift = function() { + // todo: handle special case when limit == 1 + var entry = this.oldest; + if (entry) { + if (this.oldest[NEWER]) { + // advance the list + this.oldest = this.oldest[NEWER]; + this.oldest[OLDER] = undefined; + } else { + // the cache is exhausted + this.oldest = undefined; + this.newest = undefined; + } + // Remove last strong reference to and remove links from the purged + // entry being returned: + entry[NEWER] = entry[OLDER] = undefined; + this._keymap.delete(entry.key); + --this.size; + return [entry.key, entry.value]; + } +}; + +// ---------------------------------------------------------------------------- +// Following code is optional and can be removed without breaking the core +// functionality. + +LRUMap.prototype.find = function(key) { + let e = this._keymap.get(key); + return e ? e.value : undefined; +}; + +LRUMap.prototype.has = function(key) { + return this._keymap.has(key); +}; + +LRUMap.prototype['delete'] = function(key) { + var entry = this._keymap.get(key); + if (!entry) return; + this._keymap.delete(entry.key); + if (entry[NEWER] && entry[OLDER]) { + // relink the older entry with the newer entry + entry[OLDER][NEWER] = entry[NEWER]; + entry[NEWER][OLDER] = entry[OLDER]; + } else if (entry[NEWER]) { + // remove the link to us + entry[NEWER][OLDER] = undefined; + // link the newer entry to head + this.oldest = entry[NEWER]; + } else if (entry[OLDER]) { + // remove the link to us + entry[OLDER][NEWER] = undefined; + // link the newer entry to head + this.newest = entry[OLDER]; + } else {// if(entry[OLDER] === undefined && entry.newer === undefined) { + this.oldest = this.newest = undefined; + } + + this.size--; + return entry.value; +}; + +LRUMap.prototype.clear = function() { + // Not clearing links should be safe, as we don't expose live links to user + this.oldest = this.newest = undefined; + this.size = 0; + this._keymap.clear(); +}; + + +function EntryIterator(oldestEntry) { this.entry = oldestEntry; } +EntryIterator.prototype[Symbol.iterator] = function() { return this; } +EntryIterator.prototype.next = function() { + let ent = this.entry; + if (ent) { + this.entry = ent[NEWER]; + return { done: false, value: [ent.key, ent.value] }; + } else { + return { done: true, value: undefined }; + } +}; + + +function KeyIterator(oldestEntry) { this.entry = oldestEntry; } +KeyIterator.prototype[Symbol.iterator] = function() { return this; } +KeyIterator.prototype.next = function() { + let ent = this.entry; + if (ent) { + this.entry = ent[NEWER]; + return { done: false, value: ent.key }; + } else { + return { done: true, value: undefined }; + } +}; + +function ValueIterator(oldestEntry) { this.entry = oldestEntry; } +ValueIterator.prototype[Symbol.iterator] = function() { return this; } +ValueIterator.prototype.next = function() { + let ent = this.entry; + if (ent) { + this.entry = ent[NEWER]; + return { done: false, value: ent.value }; + } else { + return { done: true, value: undefined }; + } +}; + + +LRUMap.prototype.keys = function() { + return new KeyIterator(this.oldest); +}; + +LRUMap.prototype.values = function() { + return new ValueIterator(this.oldest); +}; + +LRUMap.prototype.entries = function() { + return this; +}; + +LRUMap.prototype[Symbol.iterator] = function() { + return new EntryIterator(this.oldest); +}; + +LRUMap.prototype.forEach = function(fun, thisObj) { + if (typeof thisObj !== 'object') { + thisObj = this; + } + let entry = this.oldest; + while (entry) { + fun.call(thisObj, entry.value, entry.key, this); + entry = entry[NEWER]; + } +}; + +/** Returns a JSON (array) representation */ +LRUMap.prototype.toJSON = function() { + var s = new Array(this.size), i = 0, entry = this.oldest; + while (entry) { + s[i++] = { key: entry.key, value: entry.value }; + entry = entry[NEWER]; + } + return s; +}; + +/** Returns a String representation */ +LRUMap.prototype.toString = function() { + var s = '', entry = this.oldest; + while (entry) { + s += String(entry.key)+':'+entry.value; + entry = entry[NEWER]; + if (entry) { + s += ' < '; + } + } + return s; +}; + +}); diff --git a/node_modules/lru_map/package.json b/node_modules/lru_map/package.json new file mode 100644 index 000000000..716abeeef --- /dev/null +++ b/node_modules/lru_map/package.json @@ -0,0 +1,59 @@ +{ + "_from": "lru_map@^0.3.3", + "_id": "lru_map@0.3.3", + "_inBundle": false, + "_integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=", + "_location": "/lru_map", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "lru_map@^0.3.3", + "name": "lru_map", + "escapedName": "lru_map", + "rawSpec": "^0.3.3", + "saveSpec": null, + "fetchSpec": "^0.3.3" + }, + "_requiredBy": [ + "/@sentry/node" + ], + "_resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", + "_shasum": "b5c8351b9464cbd750335a79650a0ec0e56118dd", + "_spec": "lru_map@^0.3.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@sentry/node", + "author": { + "name": "Rasmus Andersson", + "email": "me@rsms.me" + }, + "bugs": { + "url": "https://github.com/rsms/js-lru/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Finite key-value map using the Least Recently Used (LRU) algorithm where the most recently used objects are keept in the map while less recently used items are evicted to make room for new ones.", + "devDependencies": { + "typescript": "^2.0.10" + }, + "homepage": "https://github.com/rsms/js-lru#readme", + "keywords": [ + "cache", + "lru", + "buffer", + "map" + ], + "license": "MIT", + "main": "lru.js", + "name": "lru_map", + "repository": { + "type": "git", + "url": "git+https://github.com/rsms/js-lru.git" + }, + "scripts": { + "benchmark": "node --expose-gc benchmark.js", + "prepublish": "npm test", + "test": "node test.js && echo 'Verifying TypeScript definition...' && tsc --noEmit" + }, + "typings": "lru.d.ts", + "version": "0.3.3" +} diff --git a/node_modules/lru_map/test.js b/node_modules/lru_map/test.js new file mode 100644 index 000000000..a7e3dc4da --- /dev/null +++ b/node_modules/lru_map/test.js @@ -0,0 +1,336 @@ +// Test which will run in nodejs +// $ node test.js +// (Might work with other CommonJS-compatible environments) +const assert = require('assert'); +const LRUMap = require('./lru').LRUMap; +const asserteq = assert.equal; +const tests = { + +['set and get']() { + let c = new LRUMap(4); + asserteq(c.size, 0); + asserteq(c.limit, 4); + asserteq(c.oldest, undefined); + asserteq(c.newest, undefined); + + c.set('adam', 29) + .set('john', 26) + .set('angela', 24) + .set('bob', 48); + asserteq(c.toString(), 'adam:29 < john:26 < angela:24 < bob:48'); + asserteq(c.size, 4); + + asserteq(c.get('adam'), 29); + asserteq(c.get('john'), 26); + asserteq(c.get('angela'), 24); + asserteq(c.get('bob'), 48); + asserteq(c.toString(), 'adam:29 < john:26 < angela:24 < bob:48'); + + asserteq(c.get('angela'), 24); + asserteq(c.toString(), 'adam:29 < john:26 < bob:48 < angela:24'); + + c.set('ygwie', 81); + asserteq(c.toString(), 'john:26 < bob:48 < angela:24 < ygwie:81'); + asserteq(c.size, 4); + asserteq(c.get('adam'), undefined); + + c.set('john', 11); + asserteq(c.toString(), 'bob:48 < angela:24 < ygwie:81 < john:11'); + asserteq(c.get('john'), 11); + + let expectedKeys = ['bob', 'angela', 'ygwie', 'john']; + c.forEach(function(v, k) { + //sys.sets(k+': '+v); + asserteq(k, expectedKeys.shift()); + }) + + // removing one item decrements size by one + let currentSize = c.size; + assert(c.delete('john') !== undefined); + asserteq(currentSize - 1, c.size); +}, + +['construct with iterator']() { + let verifyEntries = function(c) { + asserteq(c.size, 4); + asserteq(c.limit, 4); + asserteq(c.oldest.key, 'adam'); + asserteq(c.newest.key, 'bob'); + asserteq(c.get('adam'), 29); + asserteq(c.get('john'), 26); + asserteq(c.get('angela'), 24); + asserteq(c.get('bob'), 48); + }; + + // with explicit limit + verifyEntries(new LRUMap(4, [ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ])); + + // with inferred limit + verifyEntries(new LRUMap([ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ])); +}, + +assign() { + let c = new LRUMap([ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ]); + + let newEntries = [ + ['mimi', 1], + ['patrick', 2], + ['jane', 3], + ['fred', 4], + ]; + c.assign(newEntries); + asserteq(c.size, 4); + asserteq(c.limit, 4); + asserteq(c.oldest.key, newEntries[0][0]); + asserteq(c.newest.key, newEntries[newEntries.length-1][0]); + let i = 0; + c.forEach(function(v, k) { + asserteq(k, newEntries[i][0]); + asserteq(v, newEntries[i][1]); + i++; + }); + + // assigning too many items should throw an exception + assert.throws(() => { + c.assign([ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ['ken', 30], + ]); + }, /overflow/); + + // assigning less than limit should not affect limit but adjust size + c.assign([ + ['adam', 29], + ['john', 26], + ['angela', 24], + ]); + asserteq(c.size, 3); + asserteq(c.limit, 4); +}, + +delete() { + let c = new LRUMap([ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ]); + c.delete('adam'); + asserteq(c.size, 3); + c.delete('angela'); + asserteq(c.size, 2); + c.delete('bob'); + asserteq(c.size, 1); + c.delete('john'); + asserteq(c.size, 0); + asserteq(c.oldest, undefined); + asserteq(c.newest, undefined); +}, + +clear() { + let c = new LRUMap(4); + c.set('adam', 29); + c.set('john', 26); + asserteq(c.size, 2); + c.clear(); + asserteq(c.size, 0); + asserteq(c.oldest, undefined); + asserteq(c.newest, undefined); +}, + +shift() { + let c2 = new LRUMap(4); + asserteq(c2.size, 0); + c2.set('a', 1) + c2.set('b', 2) + c2.set('c', 3) + asserteq(c2.size, 3); + + let e = c2.shift(); + asserteq(e[0], 'a'); + asserteq(e[1], 1); + + e = c2.shift(); + asserteq(e[0], 'b'); + asserteq(e[1], 2); + + e = c2.shift(); + asserteq(e[0], 'c'); + asserteq(e[1], 3); + + // c2 should be empty + c2.forEach(function () { assert(false); }); + asserteq(c2.size, 0); +}, + +set() { + // Note: v0.1 allows putting same key multiple times. v0.2 does not. + c = new LRUMap(4); + c.set('a', 1); + c.set('a', 2); + c.set('a', 3); + c.set('a', 4); + asserteq(c.size, 1); + asserteq(c.newest, c.oldest); + assert.deepEqual(c.newest, {key:'a', value:4 }); + + c.set('a', 5); + asserteq(c.size, 1); + asserteq(c.newest, c.oldest); + assert.deepEqual(c.newest, {key:'a', value:5 }); + + c.set('b', 6); + asserteq(c.size, 2); + assert(c.newest !== c.oldest); + + assert.deepEqual(c.newest, { key:'b', value:6 }); + assert.deepEqual(c.oldest, { key:'a', value:5 }); + + c.shift(); + asserteq(c.size, 1); + c.shift(); + asserteq(c.size, 0); + c.forEach(function(){ assert(false) }); +}, + + +['entry iterator']() { + let c = new LRUMap(4, [ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ]); + + let verifyEntries = function(iterable) { + asserteq(typeof iterable[Symbol.iterator], 'function'); + let it = iterable[Symbol.iterator](); + assert.deepEqual(it.next().value, ['adam', 29]); + assert.deepEqual(it.next().value, ['john', 26]); + assert.deepEqual(it.next().value, ['angela', 24]); + assert.deepEqual(it.next().value, ['bob', 48]); + assert(it.next().done); + }; + + verifyEntries(c); + verifyEntries(c.entries()); +}, + + +['key iterator']() { + let c = new LRUMap(4, [ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ]); + let kit = c.keys(); + asserteq(kit.next().value, 'adam'); + asserteq(kit.next().value, 'john'); + asserteq(kit.next().value, 'angela'); + asserteq(kit.next().value, 'bob'); + assert(kit.next().done); +}, + + +['value iterator']() { + let c = new LRUMap(4, [ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ]); + let kit = c.values(); + asserteq(kit.next().value, 29); + asserteq(kit.next().value, 26); + asserteq(kit.next().value, 24); + asserteq(kit.next().value, 48); + assert(kit.next().done); +}, + + +toJSON() { + let c = new LRUMap(4, [ + ['adam', 29], + ['john', 26], + ['angela', 24], + ['bob', 48], + ]); + let json = c.toJSON(); + assert(json.length == 4); + assert.deepEqual(json, [ + {key:'adam', value:29}, + {key:'john', value:26}, + {key:'angela', value:24}, + {key:'bob', value:48}, + ]); +}, + + +}; // tests + + +function fmttime(t) { + return (Math.round((t)*10)/10)+'ms'; +} + +function die(err) { + console.error('\n' + (err.stack || err)); + process.exit(1); +} + +function runNextTest(tests, testNames, allDoneCallback) { + let testName = testNames[0]; + if (!testName) { + return allDoneCallback(); + } + process.stdout.write(testName+' ... '); + let t1 = Date.now(); + let next = function() { + t1 = Date.now() - t1; + if (t1 > 10) { + process.stdout.write('ok ('+fmttime(t1)+')\n'); + } else { + process.stdout.write('ok\n'); + } + runNextTest(tests, testNames.slice(1), allDoneCallback); + }; + try { + let p = tests[testName](); + if (p && p instanceof Promise) { + p.then(next).catch(die); + } else { + next(); + } + } catch (err) { + die(err); + } +} + +let t = Date.now(); +runNextTest(tests, Object.keys(tests), function() { + t = Date.now() - t; + let timestr = ''; + if (t > 10) { + timestr = '(' + fmttime(t) + ')'; + } + console.log(`${Object.keys(tests).length} tests passed ${timestr}`); +}); diff --git a/node_modules/lru_map/tsconfig.json b/node_modules/lru_map/tsconfig.json new file mode 100644 index 000000000..96e8ad0a2 --- /dev/null +++ b/node_modules/lru_map/tsconfig.json @@ -0,0 +1,16 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": false, + "sourceMap": false, + "lib": [ + "es6", + "dom" + ], + "pretty": true + }, + "files": [ + "tstest.ts" + ] +} \ No newline at end of file diff --git a/node_modules/lru_map/tstest.ts b/node_modules/lru_map/tstest.ts new file mode 100644 index 000000000..7fd3eebaf --- /dev/null +++ b/node_modules/lru_map/tstest.ts @@ -0,0 +1,6 @@ +import {LRUMap} from './lru' + +let m = new LRUMap(3); +let entit = m.entries(); +let k : string = entit.next().value[0]; +let v : number = entit.next().value[1]; diff --git a/node_modules/make-dir/node_modules/semver/package.json b/node_modules/make-dir/node_modules/semver/package.json index bdd442f50..b8abe2592 100644 --- a/node_modules/make-dir/node_modules/semver/package.json +++ b/node_modules/make-dir/node_modules/semver/package.json @@ -1,28 +1,63 @@ { - "name": "semver", - "version": "6.3.0", - "description": "The semantic version parser used by npm.", - "main": "semver.js", - "scripts": { - "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --follow-tags" + "_args": [ + [ + "semver@6.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "semver@6.3.0", + "_id": "semver@6.3.0", + "_inBundle": false, + "_integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "_location": "/make-dir/semver", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "semver@6.3.0", + "name": "semver", + "escapedName": "semver", + "rawSpec": "6.3.0", + "saveSpec": null, + "fetchSpec": "6.3.0" + }, + "_requiredBy": [ + "/make-dir" + ], + "_resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "_spec": "6.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bin": { + "semver": "bin/semver.js" + }, + "bugs": { + "url": "https://github.com/npm/node-semver/issues" }, + "description": "The semantic version parser used by npm.", "devDependencies": { "tap": "^14.3.1" }, - "license": "ISC", - "repository": "https://github.com/npm/node-semver", - "bin": { - "semver": "./bin/semver.js" - }, "files": [ "bin", "range.bnf", "semver.js" ], + "homepage": "https://github.com/npm/node-semver#readme", + "license": "ISC", + "main": "semver.js", + "name": "semver", + "repository": { + "type": "git", + "url": "git+https://github.com/npm/node-semver.git" + }, + "scripts": { + "postpublish": "git push origin --follow-tags", + "postversion": "npm publish", + "preversion": "npm test", + "test": "tap" + }, "tap": { "check-coverage": true - } + }, + "version": "6.3.0" } diff --git a/node_modules/make-dir/package.json b/node_modules/make-dir/package.json index 98403ea52..cf69266d6 100644 --- a/node_modules/make-dir/package.json +++ b/node_modules/make-dir/package.json @@ -1,59 +1,95 @@ { - "name": "make-dir", - "version": "3.1.0", - "description": "Make a directory and its parents if needed - Think `mkdir -p`", - "license": "MIT", - "repository": "sindresorhus/make-dir", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && nyc ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "mkdir", - "mkdirp", - "make", - "directories", - "dir", - "dirs", - "folders", - "directory", - "folder", - "path", - "parent", - "parents", - "intermediate", - "recursively", - "recursive", - "create", - "fs", - "filesystem", - "file-system" - ], - "dependencies": { - "semver": "^6.0.0" - }, - "devDependencies": { - "@types/graceful-fs": "^4.1.3", - "@types/node": "^13.7.1", - "ava": "^1.4.0", - "codecov": "^3.2.0", - "graceful-fs": "^4.1.15", - "nyc": "^15.0.0", - "path-type": "^4.0.0", - "tempy": "^0.2.1", - "tsd": "^0.11.0", - "xo": "^0.25.4" - } + "_args": [ + [ + "make-dir@3.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "make-dir@3.1.0", + "_id": "make-dir@3.1.0", + "_inBundle": false, + "_integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "_location": "/make-dir", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "make-dir@3.1.0", + "name": "make-dir", + "escapedName": "make-dir", + "rawSpec": "3.1.0", + "saveSpec": null, + "fetchSpec": "3.1.0" + }, + "_requiredBy": [ + "/configstore", + "/istanbul-lib-report" + ], + "_resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "_spec": "3.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/make-dir/issues" + }, + "dependencies": { + "semver": "^6.0.0" + }, + "description": "Make a directory and its parents if needed - Think `mkdir -p`", + "devDependencies": { + "@types/graceful-fs": "^4.1.3", + "@types/node": "^13.7.1", + "ava": "^1.4.0", + "codecov": "^3.2.0", + "graceful-fs": "^4.1.15", + "nyc": "^15.0.0", + "path-type": "^4.0.0", + "tempy": "^0.2.1", + "tsd": "^0.11.0", + "xo": "^0.25.4" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/make-dir#readme", + "keywords": [ + "mkdir", + "mkdirp", + "make", + "directories", + "dir", + "dirs", + "folders", + "directory", + "folder", + "path", + "parent", + "parents", + "intermediate", + "recursively", + "recursive", + "create", + "fs", + "filesystem", + "file-system" + ], + "license": "MIT", + "name": "make-dir", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/make-dir.git" + }, + "scripts": { + "test": "xo && nyc ava && tsd" + }, + "version": "3.1.0" } diff --git a/node_modules/make-error/package.json b/node_modules/make-error/package.json index 2af27e12b..5c28c88f7 100644 --- a/node_modules/make-error/package.json +++ b/node_modules/make-error/package.json @@ -1,30 +1,42 @@ { - "name": "make-error", - "version": "1.3.6", - "main": "index.js", - "license": "ISC", - "description": "Make your own error types!", - "keywords": [ - "create", - "custom", - "derive", - "error", - "errors", - "extend", - "extending", - "extension", - "factory", - "inherit", - "make", - "subclass" + "_args": [ + [ + "make-error@1.3.6", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "homepage": "https://github.com/JsCommunity/make-error", - "bugs": "https://github.com/JsCommunity/make-error/issues", - "author": "Julien Fontanet ", - "repository": { - "type": "git", - "url": "git://github.com/JsCommunity/make-error.git" + "_development": true, + "_from": "make-error@1.3.6", + "_id": "make-error@1.3.6", + "_inBundle": false, + "_integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "_location": "/make-error", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "make-error@1.3.6", + "name": "make-error", + "escapedName": "make-error", + "rawSpec": "1.3.6", + "saveSpec": null, + "fetchSpec": "1.3.6" }, + "_requiredBy": [ + "/ts-jest", + "/ts-node" + ], + "_resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "_spec": "1.3.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Julien Fontanet", + "email": "julien.fontanet@isonoe.net" + }, + "bugs": { + "url": "https://github.com/JsCommunity/make-error/issues" + }, + "description": "Make your own error types!", "devDependencies": { "browserify": "^16.2.3", "eslint": "^6.5.1", @@ -39,9 +51,41 @@ "prettier": "^1.14.3", "uglify-js": "^3.3.2" }, + "files": [ + "dist/", + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/JsCommunity/make-error", + "husky": { + "hooks": { + "commit-msg": "npm run test" + } + }, "jest": { "testEnvironment": "node" }, + "keywords": [ + "create", + "custom", + "derive", + "error", + "errors", + "extend", + "extending", + "extension", + "factory", + "inherit", + "make", + "subclass" + ], + "license": "ISC", + "main": "index.js", + "name": "make-error", + "repository": { + "type": "git", + "url": "git://github.com/JsCommunity/make-error.git" + }, "scripts": { "dev-test": "jest --watch", "format": "prettier --write '**'", @@ -49,14 +93,5 @@ "pretest": "eslint --ignore-path .gitignore .", "test": "jest" }, - "files": [ - "dist/", - "index.js", - "index.d.ts" - ], - "husky": { - "hooks": { - "commit-msg": "npm run test" - } - } + "version": "1.3.6" } diff --git a/node_modules/makeerror/package.json b/node_modules/makeerror/package.json index 59da19355..d38a9eda2 100644 --- a/node_modules/makeerror/package.json +++ b/node_modules/makeerror/package.json @@ -1,21 +1,57 @@ { - "name": "makeerror", + "_args": [ + [ + "makeerror@1.0.12", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "makeerror@1.0.12", + "_id": "makeerror@1.0.12", + "_inBundle": false, + "_integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "_location": "/makeerror", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "makeerror@1.0.12", + "name": "makeerror", + "escapedName": "makeerror", + "rawSpec": "1.0.12", + "saveSpec": null, + "fetchSpec": "1.0.12" + }, + "_requiredBy": [ + "/walker" + ], + "_resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", + "_spec": "1.0.12", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Naitik Shah", + "email": "n@daaku.org" + }, + "bugs": { + "url": "https://github.com/daaku/nodejs-makeerror/issues" + }, + "dependencies": { + "tmpl": "1.0.5" + }, "description": "A library to make errors.", - "version": "1.0.12", + "devDependencies": { + "mocha": "9.1.3" + }, + "homepage": "https://github.com/daaku/nodejs-makeerror#readme", "license": "BSD-3-Clause", - "author": "Naitik Shah ", "main": "lib/makeerror", + "name": "makeerror", "repository": { "type": "git", - "url": "https://github.com/daaku/nodejs-makeerror" + "url": "git+https://github.com/daaku/nodejs-makeerror.git" }, "scripts": { "test": "NODE_PATH=./lib mocha --ui exports" }, - "dependencies": { - "tmpl": "1.0.5" - }, - "devDependencies": { - "mocha": "9.1.3" - } + "version": "1.0.12" } diff --git a/node_modules/map-obj/package.json b/node_modules/map-obj/package.json index dfde95955..7d1e5b071 100644 --- a/node_modules/map-obj/package.json +++ b/node_modules/map-obj/package.json @@ -1,43 +1,75 @@ { - "name": "map-obj", - "version": "4.3.0", - "description": "Map object keys and values into a new object", - "license": "MIT", - "repository": "sindresorhus/map-obj", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "map", - "object", - "key", - "keys", - "value", - "values", - "iterate", - "iterator", - "rename", - "modify", - "deep", - "recurse", - "recursive" - ], - "devDependencies": { - "ava": "^2.0.0", - "tsd": "^0.14.0", - "xo": "^0.24.0" - } + "_from": "map-obj@^4.0.0", + "_id": "map-obj@4.3.0", + "_inBundle": false, + "_integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", + "_location": "/map-obj", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "map-obj@^4.0.0", + "name": "map-obj", + "escapedName": "map-obj", + "rawSpec": "^4.0.0", + "saveSpec": null, + "fetchSpec": "^4.0.0" + }, + "_requiredBy": [ + "/camelcase-keys" + ], + "_resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "_shasum": "9304f906e93faae70880da102a9f1df0ea8bb05a", + "_spec": "map-obj@^4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/camelcase-keys", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/map-obj/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Map object keys and values into a new object", + "devDependencies": { + "ava": "^2.0.0", + "tsd": "^0.14.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/map-obj#readme", + "keywords": [ + "map", + "object", + "key", + "keys", + "value", + "values", + "iterate", + "iterator", + "rename", + "modify", + "deep", + "recurse", + "recursive" + ], + "license": "MIT", + "name": "map-obj", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/map-obj.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.3.0" } diff --git a/node_modules/marky/README.md b/node_modules/marky/README.md index 395feb7fa..0f1c617e2 100644 --- a/node_modules/marky/README.md +++ b/node_modules/marky/README.md @@ -1,4 +1,4 @@ -marky [![Build status](https://circleci.com/gh/nolanlawson/marky.svg?style=svg)](https://app.circleci.com/pipelines/gh/nolanlawson/marky) +marky ====== JavaScript timer based on `performance.mark()` and `performance.measure()`, providing [high-resolution @@ -44,7 +44,7 @@ As well as Edge F12 Tools: ![Edge F12 screenshot](doc/edge.png) This is because `marky` adds standard -[PerformanceEntries](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry) to the [Performance Timeline](https://developer.mozilla.org/en-US/docs/Web/API/Performance_Timeline). Tools like [WebPageTest](http://blog.patrickmeenan.com/2013/07/measuring-performance-of-user-experience.html) and [Windows Performance Analyzer](https://blogs.windows.com/msedgedev/2016/05/11/top-down-analysis-wpt/) also surface them, and you can even [send them to your analytics provider](https://codelabs.developers.google.com/codelabs/performance-analytics/index.html). +[PerformanceEntries](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry) to the [Performance Timeline](https://developer.mozilla.org/en-US/docs/Web/API/Performance_Timeline). Tools like [WebPageTest](http://blog.patrickmeenan.com/2013/07/measuring-performance-of-user-experience.html) and [Windows Performance Analyzer](https://blogs.windows.com/msedgedev/2016/05/11/top-down-analysis-wpt/) also surface them, and you can even [send them to your analytics provider](https://github.com/googlecodelabs/performance-analytics). API --- diff --git a/node_modules/marky/dist/marky.js b/node_modules/marky/dist/marky.js index 0facd5a52..0ad80ffd2 100644 --- a/node_modules/marky/dist/marky.js +++ b/node_modules/marky/dist/marky.js @@ -2,6 +2,9 @@ var marky = (function (exports) { 'use strict'; /* global performance */ + + // TODO: Node's built-in performance API has poor performance for getEntriesByName() + // so currently we avoid it: https://github.com/nolanlawson/marky/issues/29 var perf = typeof performance !== 'undefined' && performance; var now = perf && perf.now ? function () { return perf.now(); } : function () { return Date.now(); } @@ -47,7 +50,12 @@ var marky = (function (exports) { exports.stop = function (name) { throwIfEmpty(name); perf.mark(("end " + name)); - perf.measure(name, ("start " + name), ("end " + name)); + var measure = perf.measure(name, ("start " + name), ("end " + name)); + if (measure) { + // return value from performance.measure not supported in all browsers + // https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure#browser_compatibility + return measure + } var entries = perf.getEntriesByName(name); return entries[entries.length - 1] }; @@ -92,4 +100,4 @@ var marky = (function (exports) { return exports; -}({})); +})({}); diff --git a/node_modules/marky/dist/marky.min.js b/node_modules/marky/dist/marky.min.js index d863bfb4a..1473ebcf1 100644 --- a/node_modules/marky/dist/marky.min.js +++ b/node_modules/marky/dist/marky.min.js @@ -1 +1 @@ -var marky=function(r){"use strict";function e(r){if(!r)throw new Error("name must be non-empty")}function n(r,e){for(var n,t=0,a=r.length;t>>1,r[n].startTime>>1].startTime dist/marky.min.js", - "prepare": "npm run build", - "build": "npm-run-all clean rollup minify", - "test": "npm run rollup-cjs && mocha test/test.js", - "test-browser": "karma start --single-run", - "test-browser-debug": "karma start --browsers=Chrome --single-run=false", - "lint": "standard" + "devDependencies": { + "@rollup/plugin-buble": "^0.21.3", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-node-resolve": "^13.1.3", + "@rollup/plugin-replace": "^3.1.0", + "assert": "^2.0.0", + "karma": "^6.3.16", + "karma-chrome-launcher": "^3.1.0", + "karma-firefox-launcher": "^2.1.2", + "karma-mocha": "^2.0.1", + "karma-rollup-preprocessor": "^7.0.8", + "mkdirp": "^1.0.4", + "mocha": "^9.2.0", + "npm-run-all": "^4.1.5", + "rimraf": "^3.0.2", + "rollup": "^2.67.2", + "standard": "^16.0.4", + "terser": "^5.10.0" }, + "files": [ + "lib", + "dist" + ], + "homepage": "https://github.com/nolanlawson/marky#readme", + "jsnext:main": "lib/marky.es.js", "keywords": [ "mark", "measure", @@ -29,34 +71,27 @@ "stopwatch", "timer" ], - "author": "Nolan Lawson ", "license": "Apache-2.0", - "devDependencies": { - "@rollup/plugin-buble": "^0.21.3", - "@rollup/plugin-commonjs": "^18.0.0", - "@rollup/plugin-node-resolve": "^11.2.1", - "@rollup/plugin-replace": "^2.4.2", - "assert": "^1.4.1", - "karma": "^5.1.0", - "karma-chrome-launcher": "^3.1.0", - "karma-coverage": "^2.0.2", - "karma-mocha": "^2.0.1", - "karma-rollup-preprocessor": "^7.0.5", - "mkdirp": "^0.5.1", - "mocha": "^8.3.2", - "npm-run-all": "^3.1.2", - "rimraf": "^2.5.4", - "rollup": "^2.46.0", - "standard": "^8.6.0", - "uglify-js": "^2.7.4" + "main": "lib/marky.cjs.js", + "module": "lib/marky.es.js", + "name": "marky", + "repository": { + "type": "git", + "url": "git+https://github.com/nolanlawson/marky.git" }, - "files": [ - "lib", - "dist" - ], - "browser": { - "./lib/marky.cjs.js": "./lib/marky.browser.cjs.js", - "./lib/marky.es.js": "./lib/marky.browser.es.js" + "scripts": { + "build": "npm-run-all clean rollup minify", + "clean": "rimraf lib dist && mkdirp lib dist", + "lint": "standard", + "minify": "terser -mc < dist/marky.js > dist/marky.min.js", + "prepare": "npm run build", + "rollup": "npm-run-all --parallel rollup-cjs rollup-es rollup-iife", + "rollup-cjs": "rollup -c config/rollup.config.cjs.js && rollup -c config/rollup.config.browser.cjs.js", + "rollup-es": "rollup -c config/rollup.config.es.js && rollup -c config/rollup.config.browser.es.js", + "rollup-iife": "rollup -c config/rollup.config.iife.js", + "test": "npm run rollup-cjs && mocha test/test.js", + "test-browser": "karma start --single-run", + "test-browser-debug": "karma start --browsers=Chrome --single-run=false" }, "standard": { "ignore": [ @@ -64,12 +99,9 @@ "dist" ] }, - "repository": { - "type": "git", - "url": "git+https://github.com/nolanlawson/marky.git" - }, - "bugs": { - "url": "https://github.com/nolanlawson/marky/issues" - }, - "homepage": "https://github.com/nolanlawson/marky#readme" + "version": "1.2.4", + "volta": { + "node": "16.14.0", + "yarn": "1.22.17" + } } diff --git a/node_modules/md5/.travis.yml b/node_modules/md5/.travis.yml deleted file mode 100644 index 1acffbe75..000000000 --- a/node_modules/md5/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - 0.12 - - 4 - - 5 - - 6 - - 7 diff --git a/node_modules/md5/LICENSE b/node_modules/md5/LICENSE deleted file mode 100755 index f476d11e7..000000000 --- a/node_modules/md5/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright © 2011-2012, Paul Vorbach. -Copyright © 2009, Jeff Mott. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. -* Neither the name Crypto-JS nor the names of its contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/md5/README.md b/node_modules/md5/README.md deleted file mode 100644 index 5e219088f..000000000 --- a/node_modules/md5/README.md +++ /dev/null @@ -1,111 +0,0 @@ -# MD5 - -[![build status](https://secure.travis-ci.org/pvorb/node-md5.png)](http://travis-ci.org/pvorb/node-md5) [![info badge](https://img.shields.io/npm/dt/md5.svg)](http://npm-stat.com/charts.html?package=md5) - -a JavaScript function for hashing messages with MD5. - -node-md5 is being sponsored by the following tool; please help to support us by taking a look and signing up to a free trial -GitAds - -## Installation - -You can use this package on the server side as well as the client side. - -### [Node.js](http://nodejs.org/): - -~~~ -npm install md5 -~~~ - - -## API - -~~~ javascript -md5(message) -~~~ - - * `message` -- `String`, `Buffer`, `Array` or `Uint8Array` - * returns `String` - - -## Usage - -~~~ javascript -var md5 = require('md5'); - -console.log(md5('message')); -~~~ - -This will print the following - -~~~ -78e731027d8fd50ed642340b7c9a63b3 -~~~ - -It supports buffers, too - -~~~ javascript -var fs = require('fs'); -var md5 = require('md5'); - -fs.readFile('example.txt', function(err, buf) { - console.log(md5(buf)); -}); -~~~ - -## Versions - -Before version 2.0.0 there were two packages called md5 on npm, one lowercase, -one uppercase (the one you're looking at). As of version 2.0.0, all new versions -of this module will go to lowercase [md5](https://www.npmjs.com/package/md5) on -npm. To use the correct version, users of this module will have to change their -code from `require('MD5')` to `require('md5')` if they want to use versions >= -2.0.0. - - -## Bugs and Issues - -If you encounter any bugs or issues, feel free to open an issue at -[github](https://github.com/pvorb/node-md5/issues). - - -## Credits - -This package is based on the work of Jeff Mott, who did a pure JS implementation -of the MD5 algorithm that was published by Ronald L. Rivest in 1991. I needed a -npm package of the algorithm, so I used Jeff’s implementation for this package. -The original implementation can be found in the -[CryptoJS](http://code.google.com/p/crypto-js/) project. - - -## License - -~~~ -Copyright © 2011-2015, Paul Vorbach. -Copyright © 2009, Jeff Mott. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. -* Neither the name Crypto-JS nor the names of its contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -~~~ diff --git a/node_modules/md5/demo/index.html b/node_modules/md5/demo/index.html deleted file mode 100644 index 2d4b8d20e..000000000 --- a/node_modules/md5/demo/index.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - diff --git a/node_modules/md5/dist/md5.min.js b/node_modules/md5/dist/md5.min.js deleted file mode 100644 index 250ab7356..000000000 --- a/node_modules/md5/dist/md5.min.js +++ /dev/null @@ -1,7 +0,0 @@ -var MD5=function(r){function n(o){if(t[o])return t[o].exports;var e=t[o]={i:o,l:!1,exports:{}};return r[o].call(e.exports,e,e.exports,n),e.l=!0,e.exports}var t={};return n.m=r,n.c=t,n.i=function(r){return r},n.d=function(r,t,o){n.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(t,"a",t),t},n.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},n.p="",n(n.s=4)}([function(r,n){var t={utf8:{stringToBytes:function(r){return t.bin.stringToBytes(unescape(encodeURIComponent(r)))},bytesToString:function(r){return decodeURIComponent(escape(t.bin.bytesToString(r)))}},bin:{stringToBytes:function(r){for(var n=[],t=0;t>>24)|4278255360&(f[h]<<24|f[h]>>>8);f[s>>>5]|=128<>>9<<4)]=s;for(var p=i._ff,y=i._gg,v=i._hh,d=i._ii,h=0;h>>0,a=a+T>>>0,l=l+x>>>0,g=g+B>>>0}return n.endian([c,a,l,g])};i._ff=function(r,n,t,o,e,u,i){var f=r+(n&t|~n&o)+(e>>>0)+i;return(f<>>32-u)+n},i._gg=function(r,n,t,o,e,u,i){var f=r+(n&o|t&~o)+(e>>>0)+i;return(f<>>32-u)+n},i._hh=function(r,n,t,o,e,u,i){var f=r+(n^t^o)+(e>>>0)+i;return(f<>>32-u)+n},i._ii=function(r,n,t,o,e,u,i){var f=r+(t^(n|~o))+(e>>>0)+i;return(f<>>32-u)+n},i._blocksize=16,i._digestsize=16,r.exports=function(r,t){if(void 0===r||null===r)throw new Error("Illegal argument "+r);var o=n.wordsToBytes(i(r,t));return t&&t.asBytes?o:t&&t.asString?u.bytesToString(o):n.bytesToHex(o)}}()},function(r,n){!function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return 16711935&t.rotl(r,8)|4278255360&t.rotl(r,24);for(var n=0;n0;r--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(r){for(var n=[],t=0,o=0;t>>5]|=r[t]<<24-o%32;return n},wordsToBytes:function(r){for(var n=[],t=0;t<32*r.length;t+=8)n.push(r[t>>>5]>>>24-t%32&255);return n},bytesToHex:function(r){for(var n=[],t=0;t>>4).toString(16)),n.push((15&r[t]).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],t=0;t>>6*(3-u)&63)):t.push("=");return t.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],o=0,e=0;o>>6-2*e);return t}};r.exports=t}()},function(r,n){function t(r){return!!r.constructor&&"function"==typeof r.constructor.isBuffer&&r.constructor.isBuffer(r)}function o(r){return"function"==typeof r.readFloatLE&&"function"==typeof r.slice&&t(r.slice(0,0))}/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -r.exports=function(r){return null!=r&&(t(r)||o(r)||!!r._isBuffer)}},function(r,n,t){r.exports=t(1)}]); \ No newline at end of file diff --git a/node_modules/md5/md5.js b/node_modules/md5/md5.js deleted file mode 100644 index 0f8905a63..000000000 --- a/node_modules/md5/md5.js +++ /dev/null @@ -1,160 +0,0 @@ -(function(){ - var crypt = require('crypt'), - utf8 = require('charenc').utf8, - isBuffer = require('is-buffer'), - bin = require('charenc').bin, - - // The core - md5 = function (message, options) { - // Convert to byte array - if (message.constructor == String) - if (options && options.encoding === 'binary') - message = bin.stringToBytes(message); - else - message = utf8.stringToBytes(message); - else if (isBuffer(message)) - message = Array.prototype.slice.call(message, 0); - else if (!Array.isArray(message) && message.constructor !== Uint8Array) - message = message.toString(); - // else, assume byte array already - - var m = crypt.bytesToWords(message), - l = message.length * 8, - a = 1732584193, - b = -271733879, - c = -1732584194, - d = 271733878; - - // Swap endian - for (var i = 0; i < m.length; i++) { - m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF | - ((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00; - } - - // Padding - m[l >>> 5] |= 0x80 << (l % 32); - m[(((l + 64) >>> 9) << 4) + 14] = l; - - // Method shortcuts - var FF = md5._ff, - GG = md5._gg, - HH = md5._hh, - II = md5._ii; - - for (var i = 0; i < m.length; i += 16) { - - var aa = a, - bb = b, - cc = c, - dd = d; - - a = FF(a, b, c, d, m[i+ 0], 7, -680876936); - d = FF(d, a, b, c, m[i+ 1], 12, -389564586); - c = FF(c, d, a, b, m[i+ 2], 17, 606105819); - b = FF(b, c, d, a, m[i+ 3], 22, -1044525330); - a = FF(a, b, c, d, m[i+ 4], 7, -176418897); - d = FF(d, a, b, c, m[i+ 5], 12, 1200080426); - c = FF(c, d, a, b, m[i+ 6], 17, -1473231341); - b = FF(b, c, d, a, m[i+ 7], 22, -45705983); - a = FF(a, b, c, d, m[i+ 8], 7, 1770035416); - d = FF(d, a, b, c, m[i+ 9], 12, -1958414417); - c = FF(c, d, a, b, m[i+10], 17, -42063); - b = FF(b, c, d, a, m[i+11], 22, -1990404162); - a = FF(a, b, c, d, m[i+12], 7, 1804603682); - d = FF(d, a, b, c, m[i+13], 12, -40341101); - c = FF(c, d, a, b, m[i+14], 17, -1502002290); - b = FF(b, c, d, a, m[i+15], 22, 1236535329); - - a = GG(a, b, c, d, m[i+ 1], 5, -165796510); - d = GG(d, a, b, c, m[i+ 6], 9, -1069501632); - c = GG(c, d, a, b, m[i+11], 14, 643717713); - b = GG(b, c, d, a, m[i+ 0], 20, -373897302); - a = GG(a, b, c, d, m[i+ 5], 5, -701558691); - d = GG(d, a, b, c, m[i+10], 9, 38016083); - c = GG(c, d, a, b, m[i+15], 14, -660478335); - b = GG(b, c, d, a, m[i+ 4], 20, -405537848); - a = GG(a, b, c, d, m[i+ 9], 5, 568446438); - d = GG(d, a, b, c, m[i+14], 9, -1019803690); - c = GG(c, d, a, b, m[i+ 3], 14, -187363961); - b = GG(b, c, d, a, m[i+ 8], 20, 1163531501); - a = GG(a, b, c, d, m[i+13], 5, -1444681467); - d = GG(d, a, b, c, m[i+ 2], 9, -51403784); - c = GG(c, d, a, b, m[i+ 7], 14, 1735328473); - b = GG(b, c, d, a, m[i+12], 20, -1926607734); - - a = HH(a, b, c, d, m[i+ 5], 4, -378558); - d = HH(d, a, b, c, m[i+ 8], 11, -2022574463); - c = HH(c, d, a, b, m[i+11], 16, 1839030562); - b = HH(b, c, d, a, m[i+14], 23, -35309556); - a = HH(a, b, c, d, m[i+ 1], 4, -1530992060); - d = HH(d, a, b, c, m[i+ 4], 11, 1272893353); - c = HH(c, d, a, b, m[i+ 7], 16, -155497632); - b = HH(b, c, d, a, m[i+10], 23, -1094730640); - a = HH(a, b, c, d, m[i+13], 4, 681279174); - d = HH(d, a, b, c, m[i+ 0], 11, -358537222); - c = HH(c, d, a, b, m[i+ 3], 16, -722521979); - b = HH(b, c, d, a, m[i+ 6], 23, 76029189); - a = HH(a, b, c, d, m[i+ 9], 4, -640364487); - d = HH(d, a, b, c, m[i+12], 11, -421815835); - c = HH(c, d, a, b, m[i+15], 16, 530742520); - b = HH(b, c, d, a, m[i+ 2], 23, -995338651); - - a = II(a, b, c, d, m[i+ 0], 6, -198630844); - d = II(d, a, b, c, m[i+ 7], 10, 1126891415); - c = II(c, d, a, b, m[i+14], 15, -1416354905); - b = II(b, c, d, a, m[i+ 5], 21, -57434055); - a = II(a, b, c, d, m[i+12], 6, 1700485571); - d = II(d, a, b, c, m[i+ 3], 10, -1894986606); - c = II(c, d, a, b, m[i+10], 15, -1051523); - b = II(b, c, d, a, m[i+ 1], 21, -2054922799); - a = II(a, b, c, d, m[i+ 8], 6, 1873313359); - d = II(d, a, b, c, m[i+15], 10, -30611744); - c = II(c, d, a, b, m[i+ 6], 15, -1560198380); - b = II(b, c, d, a, m[i+13], 21, 1309151649); - a = II(a, b, c, d, m[i+ 4], 6, -145523070); - d = II(d, a, b, c, m[i+11], 10, -1120210379); - c = II(c, d, a, b, m[i+ 2], 15, 718787259); - b = II(b, c, d, a, m[i+ 9], 21, -343485551); - - a = (a + aa) >>> 0; - b = (b + bb) >>> 0; - c = (c + cc) >>> 0; - d = (d + dd) >>> 0; - } - - return crypt.endian([a, b, c, d]); - }; - - // Auxiliary functions - md5._ff = function (a, b, c, d, x, s, t) { - var n = a + (b & c | ~b & d) + (x >>> 0) + t; - return ((n << s) | (n >>> (32 - s))) + b; - }; - md5._gg = function (a, b, c, d, x, s, t) { - var n = a + (b & d | c & ~d) + (x >>> 0) + t; - return ((n << s) | (n >>> (32 - s))) + b; - }; - md5._hh = function (a, b, c, d, x, s, t) { - var n = a + (b ^ c ^ d) + (x >>> 0) + t; - return ((n << s) | (n >>> (32 - s))) + b; - }; - md5._ii = function (a, b, c, d, x, s, t) { - var n = a + (c ^ (b | ~d)) + (x >>> 0) + t; - return ((n << s) | (n >>> (32 - s))) + b; - }; - - // Package private blocksize - md5._blocksize = 16; - md5._digestsize = 16; - - module.exports = function (message, options) { - if (message === undefined || message === null) - throw new Error('Illegal argument ' + message); - - var digestbytes = crypt.wordsToBytes(md5(message, options)); - return options && options.asBytes ? digestbytes : - options && options.asString ? bin.bytesToString(digestbytes) : - crypt.bytesToHex(digestbytes); - }; - -})(); diff --git a/node_modules/md5/package.json b/node_modules/md5/package.json deleted file mode 100644 index 7618a073e..000000000 --- a/node_modules/md5/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "md5", - "description": "js function for hashing messages with MD5", - "version": "2.3.0", - "author": "Paul Vorbach (http://paul.vorba.ch)", - "contributors": [ - "salba" - ], - "tags": [ - "md5", - "hash", - "encryption", - "message digest" - ], - "repository": { - "type": "git", - "url": "git://github.com/pvorb/node-md5.git" - }, - "bugs": { - "url": "https://github.com/pvorb/node-md5/issues" - }, - "main": "md5.js", - "scripts": { - "test": "mocha", - "webpack": "webpack -p" - }, - "dependencies": { - "charenc": "0.0.2", - "crypt": "0.0.2", - "is-buffer": "~1.1.6" - }, - "devDependencies": { - "mocha": "~2.3.4", - "webpack": "~2.4.1" - }, - "optionalDependencies": {}, - "license": "BSD-3-Clause" -} diff --git a/node_modules/md5/test.js b/node_modules/md5/test.js deleted file mode 100644 index db78c2549..000000000 --- a/node_modules/md5/test.js +++ /dev/null @@ -1,75 +0,0 @@ -var md5 = require('./md5.js'); -var assert = require('assert'); - -describe('md5', function () { - - it('should throw an error for an undefined value', function() { - assert.throws(function() { - md5(undefined); - }); - }); - - it('should allow the hashing of the string `undefined`', function() { - assert.equal('5e543256c480ac577d30f76f9120eb74', md5('undefined')); - }); - - it('should throw an error for `null`', function() { - assert.throws(function() { - md5(null); - }); - }); - - it('should return the expected MD5 hash for "message"', function() { - assert.equal('78e731027d8fd50ed642340b7c9a63b3', md5('message')); - }); - - it('should not return the same hash for random numbers twice', function() { - var msg1 = Math.floor((Math.random() * 100000) + 1) + (new Date).getTime(); - var msg2 = Math.floor((Math.random() * 100000) + 1) + (new Date).getTime(); - - if (msg1 !== msg2) { - assert.notEqual(md5(msg1), md5(msg2)); - } else { - assert.equal(md5(msg1), md5(msg1)); - } - }); - - it('should support Node.js Buffers', function() { - var buffer = new Buffer('message áßäöü', 'utf8'); - - assert.equal(md5(buffer), md5('message áßäöü')); - }) - - it('should be able to use a binary encoded string', function() { - var hash1 = md5('abc', { asString: true }); - var hash2 = md5(hash1 + 'a', { asString: true, encoding : 'binary' }); - var hash3 = md5(hash1 + 'a', { encoding : 'binary' }); - assert.equal(hash3, '131f0ac52813044f5110e4aec638c169'); - }); - - it('should support Uint8Array', function() { - // Polyfills - if (!Array.from) { - Array.from = function(src, fn) { - var result = new Array(src.length); - for (var i = 0; i < src.length; ++i) - result[i] = fn(src[i]); - return result; - }; - } - if (!Uint8Array.from) { - Uint8Array.from = function(src) { - var result = new Uint8Array(src.length); - for (var i = 0; i < src.length; ++i) - result[i] = src[i]; - return result; - }; - } - - var message = 'foobarbaz'; - var u8arr = Uint8Array.from( - Array.from(message, function(c) { return c.charCodeAt(0); })); - var u8aHash = md5(u8arr); - assert.equal(u8aHash, md5(message)); - }); -}); diff --git a/node_modules/md5/webpack.config.js b/node_modules/md5/webpack.config.js deleted file mode 100644 index 310eb3759..000000000 --- a/node_modules/md5/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -const {resolve} = require('path'); - -module.exports = { - entry: [ - './md5.js' - ], - output: { - path: resolve('./dist'), - filename: 'md5.min.js', - libraryTarget: "var", - library: "MD5" - } -}; \ No newline at end of file diff --git a/node_modules/media-typer/package.json b/node_modules/media-typer/package.json index 8cf3ebcd7..6a9862d77 100644 --- a/node_modules/media-typer/package.json +++ b/node_modules/media-typer/package.json @@ -1,26 +1,64 @@ { - "name": "media-typer", + "_args": [ + [ + "media-typer@0.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "media-typer@0.3.0", + "_id": "media-typer@0.3.0", + "_inBundle": false, + "_integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "_location": "/media-typer", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "media-typer@0.3.0", + "name": "media-typer", + "escapedName": "media-typer", + "rawSpec": "0.3.0", + "saveSpec": null, + "fetchSpec": "0.3.0" + }, + "_requiredBy": [ + "/type-is" + ], + "_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "_spec": "0.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + "bugs": { + "url": "https://github.com/jshttp/media-typer/issues" + }, "description": "Simple RFC 6838 media type parser and formatter", - "version": "0.3.0", - "author": "Douglas Christopher Wilson ", - "license": "MIT", - "repository": "jshttp/media-typer", "devDependencies": { "istanbul": "0.3.2", "mocha": "~1.21.4", "should": "~4.0.4" }, + "engines": { + "node": ">= 0.6" + }, "files": [ "LICENSE", "HISTORY.md", "index.js" ], - "engines": { - "node": ">= 0.6" + "homepage": "https://github.com/jshttp/media-typer#readme", + "license": "MIT", + "name": "media-typer", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/media-typer.git" }, "scripts": { "test": "mocha --reporter spec --check-leaks --bail test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - } + }, + "version": "0.3.0" } diff --git a/node_modules/meow/node_modules/type-fest/package.json b/node_modules/meow/node_modules/type-fest/package.json index 2d347a265..3a5d46596 100644 --- a/node_modules/meow/node_modules/type-fest/package.json +++ b/node_modules/meow/node_modules/type-fest/package.json @@ -1,45 +1,77 @@ { - "name": "type-fest", - "version": "0.13.1", - "description": "A collection of essential TypeScript types", - "license": "(MIT OR CC0-1.0)", - "repository": "sindresorhus/type-fest", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && tsd" - }, - "files": [ - "index.d.ts", - "source" - ], - "keywords": [ - "typescript", - "ts", - "types", - "utility", - "util", - "utilities", - "omit", - "merge", - "json" - ], - "devDependencies": { - "tsd": "^0.11.0", - "xo": "^0.28.2" - }, - "types": "index.d.ts", - "xo": { - "rules": { - "@typescript-eslint/indent": "off", - "func-call-spacing": "off" - } - } + "_from": "type-fest@^0.13.1", + "_id": "type-fest@0.13.1", + "_inBundle": false, + "_integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", + "_location": "/meow/type-fest", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "type-fest@^0.13.1", + "name": "type-fest", + "escapedName": "type-fest", + "rawSpec": "^0.13.1", + "saveSpec": null, + "fetchSpec": "^0.13.1" + }, + "_requiredBy": [ + "/meow" + ], + "_resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", + "_shasum": "0172cb5bce80b0bd542ea348db50c7e21834d934", + "_spec": "type-fest@^0.13.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/meow", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/type-fest/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "A collection of essential TypeScript types", + "devDependencies": { + "tsd": "^0.11.0", + "xo": "^0.28.2" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.d.ts", + "source" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/type-fest#readme", + "keywords": [ + "typescript", + "ts", + "types", + "utility", + "util", + "utilities", + "omit", + "merge", + "json" + ], + "license": "(MIT OR CC0-1.0)", + "name": "type-fest", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/type-fest.git" + }, + "scripts": { + "test": "xo && tsd" + }, + "types": "index.d.ts", + "version": "0.13.1", + "xo": { + "rules": { + "@typescript-eslint/indent": "off", + "func-call-spacing": "off" + } + } } diff --git a/node_modules/meow/node_modules/yargs-parser/package.json b/node_modules/meow/node_modules/yargs-parser/package.json index 636ff1761..1ae2084b4 100644 --- a/node_modules/meow/node_modules/yargs-parser/package.json +++ b/node_modules/meow/node_modules/yargs-parser/package.json @@ -1,18 +1,55 @@ { - "name": "yargs-parser", - "version": "18.1.3", + "_from": "yargs-parser@^18.1.3", + "_id": "yargs-parser@18.1.3", + "_inBundle": false, + "_integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "_location": "/meow/yargs-parser", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "yargs-parser@^18.1.3", + "name": "yargs-parser", + "escapedName": "yargs-parser", + "rawSpec": "^18.1.3", + "saveSpec": null, + "fetchSpec": "^18.1.3" + }, + "_requiredBy": [ + "/meow" + ], + "_resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "_shasum": "be68c4975c6b2abf469236b0c870362fab09a7b0", + "_spec": "yargs-parser@^18.1.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/meow", + "author": { + "name": "Ben Coe", + "email": "ben@npmjs.com" + }, + "bugs": { + "url": "https://github.com/yargs/yargs-parser/issues" + }, + "bundleDependencies": false, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "deprecated": false, "description": "the mighty option parser used by yargs", - "main": "index.js", - "scripts": { - "fix": "standard --fix", - "test": "c8 --reporter=text --reporter=html mocha test/*.js", - "posttest": "standard", - "coverage": "c8 report --check-coverage check-coverage --lines=100 --branches=97 --statements=100" + "devDependencies": { + "c8": "^7.0.1", + "chai": "^4.2.0", + "mocha": "^7.0.0", + "standard": "^14.3.1" }, - "repository": { - "type": "git", - "url": "https://github.com/yargs/yargs-parser.git" + "engines": { + "node": ">=6" }, + "files": [ + "lib", + "index.js" + ], + "homepage": "https://github.com/yargs/yargs-parser#readme", "keywords": [ "argument", "parser", @@ -24,23 +61,18 @@ "args", "argument" ], - "author": "Ben Coe ", "license": "ISC", - "devDependencies": { - "c8": "^7.0.1", - "chai": "^4.2.0", - "mocha": "^7.0.0", - "standard": "^14.3.1" + "main": "index.js", + "name": "yargs-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/yargs/yargs-parser.git" }, - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" + "scripts": { + "coverage": "c8 report --check-coverage check-coverage --lines=100 --branches=97 --statements=100", + "fix": "standard --fix", + "posttest": "standard", + "test": "c8 --reporter=text --reporter=html mocha test/*.js" }, - "files": [ - "lib", - "index.js" - ], - "engines": { - "node": ">=6" - } + "version": "18.1.3" } diff --git a/node_modules/meow/package.json b/node_modules/meow/package.json index 59aeb6ee1..fb646f4c3 100644 --- a/node_modules/meow/package.json +++ b/node_modules/meow/package.json @@ -1,76 +1,111 @@ { - "name": "meow", - "version": "7.1.1", - "description": "CLI app helper", - "license": "MIT", - "repository": "sindresorhus/meow", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "cli", - "bin", - "util", - "utility", - "helper", - "argv", - "command", - "line", - "meow", - "cat", - "kitten", - "parser", - "option", - "flags", - "input", - "cmd", - "console" - ], - "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - }, - "devDependencies": { - "ava": "^2.4.0", - "execa": "^4.0.0", - "indent-string": "^4.0.0", - "tsd": "^0.11.0", - "xo": "^0.30.0" - }, - "xo": { - "rules": { - "unicorn/no-process-exit": "off", - "node/no-unsupported-features/es-syntax": "off" - }, - "ignores": [ - "estest/index.js" - ] - }, - "ava": { - "files": [ - "test/*" - ] - } + "_from": "meow@^7.0.1", + "_id": "meow@7.1.1", + "_inBundle": false, + "_integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", + "_location": "/meow", + "_phantomChildren": { + "camelcase": "5.3.1", + "decamelize": "1.2.0" + }, + "_requested": { + "type": "range", + "registry": true, + "raw": "meow@^7.0.1", + "name": "meow", + "escapedName": "meow", + "rawSpec": "^7.0.1", + "saveSpec": null, + "fetchSpec": "^7.0.1" + }, + "_requiredBy": [ + "/@foo-software/lighthouse-check" + ], + "_resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", + "_shasum": "7c01595e3d337fcb0ec4e8eed1666ea95903d306", + "_spec": "meow@^7.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@foo-software/lighthouse-check", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "ava": { + "files": [ + "test/*" + ] + }, + "bugs": { + "url": "https://github.com/sindresorhus/meow/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^2.5.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.13.1", + "yargs-parser": "^18.1.3" + }, + "deprecated": false, + "description": "CLI app helper", + "devDependencies": { + "ava": "^2.4.0", + "execa": "^4.0.0", + "indent-string": "^4.0.0", + "tsd": "^0.11.0", + "xo": "^0.30.0" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/meow#readme", + "keywords": [ + "cli", + "bin", + "util", + "utility", + "helper", + "argv", + "command", + "line", + "meow", + "cat", + "kitten", + "parser", + "option", + "flags", + "input", + "cmd", + "console" + ], + "license": "MIT", + "name": "meow", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/meow.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "7.1.1", + "xo": { + "rules": { + "unicorn/no-process-exit": "off", + "node/no-unsupported-features/es-syntax": "off" + }, + "ignores": [ + "estest/index.js" + ] + } } diff --git a/node_modules/merge-descriptors/package.json b/node_modules/merge-descriptors/package.json index 514cdbd81..9665df872 100644 --- a/node_modules/merge-descriptors/package.json +++ b/node_modules/merge-descriptors/package.json @@ -1,19 +1,51 @@ { - "name": "merge-descriptors", - "description": "Merge objects using descriptors", - "version": "1.0.1", + "_args": [ + [ + "merge-descriptors@1.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "merge-descriptors@1.0.1", + "_id": "merge-descriptors@1.0.1", + "_inBundle": false, + "_integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "_location": "/merge-descriptors", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "merge-descriptors@1.0.1", + "name": "merge-descriptors", + "escapedName": "merge-descriptors", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "_spec": "1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", - "url": "http://jongleberry.com", - "twitter": "https://twitter.com/jongleberry" + "url": "http://jongleberry.com" + }, + "bugs": { + "url": "https://github.com/component/merge-descriptors/issues" }, "contributors": [ - "Douglas Christopher Wilson ", - "Mike Grabowski " + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Mike Grabowski", + "email": "grabbou@gmail.com" + } ], - "license": "MIT", - "repository": "component/merge-descriptors", + "description": "Merge objects using descriptors", "devDependencies": { "istanbul": "0.4.1", "mocha": "1.21.5" @@ -24,9 +56,17 @@ "README.md", "index.js" ], + "homepage": "https://github.com/component/merge-descriptors#readme", + "license": "MIT", + "name": "merge-descriptors", + "repository": { + "type": "git", + "url": "git+https://github.com/component/merge-descriptors.git" + }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" - } + }, + "version": "1.0.1" } diff --git a/node_modules/merge-stream/package.json b/node_modules/merge-stream/package.json index 1a4c54ca5..0124ff706 100644 --- a/node_modules/merge-stream/package.json +++ b/node_modules/merge-stream/package.json @@ -1,19 +1,60 @@ { - "name": "merge-stream", - "version": "2.0.0", + "_args": [ + [ + "merge-stream@2.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "merge-stream@2.0.0", + "_id": "merge-stream@2.0.0", + "_inBundle": false, + "_integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "_location": "/merge-stream", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "merge-stream@2.0.0", + "name": "merge-stream", + "escapedName": "merge-stream", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/execa", + "/jest-worker", + "/lint-staged/execa" + ], + "_resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Stephen Sugden", + "email": "me@stephensugden.com" + }, + "bugs": { + "url": "https://github.com/grncdr/merge-stream/issues" + }, + "dependencies": {}, "description": "Create a stream that emits events from multiple other streams", + "devDependencies": { + "from2": "^2.0.3", + "istanbul": "^0.4.5" + }, "files": [ "index.js" ], + "homepage": "https://github.com/grncdr/merge-stream#readme", + "license": "MIT", + "name": "merge-stream", + "repository": { + "type": "git", + "url": "git+https://github.com/grncdr/merge-stream.git" + }, "scripts": { "test": "istanbul cover test.js && istanbul check-cover --statements 100 --branches 100" }, - "repository": "grncdr/merge-stream", - "author": "Stephen Sugden ", - "license": "MIT", - "dependencies": {}, - "devDependencies": { - "from2": "^2.0.3", - "istanbul": "^0.4.5" - } + "version": "2.0.0" } diff --git a/node_modules/merge2/package.json b/node_modules/merge2/package.json index 7777307fd..ca4e90e1e 100644 --- a/node_modules/merge2/package.json +++ b/node_modules/merge2/package.json @@ -1,16 +1,56 @@ { - "name": "merge2", - "description": "Merge multiple streams into one stream in sequence or parallel.", + "_args": [ + [ + "merge2@1.4.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "merge2@1.4.1", + "_id": "merge2@1.4.1", + "_inBundle": false, + "_integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "_location": "/merge2", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "merge2@1.4.1", + "name": "merge2", + "escapedName": "merge2", + "rawSpec": "1.4.1", + "saveSpec": null, + "fetchSpec": "1.4.1" + }, + "_requiredBy": [ + "/fast-glob", + "/globby" + ], + "_resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "_spec": "1.4.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", "authors": [ "Yan Qing " ], - "license": "MIT", - "version": "1.4.1", - "main": "./index.js", - "repository": { - "type": "git", - "url": "git@github.com:teambition/merge2.git" + "bugs": { + "url": "https://github.com/teambition/merge2/issues" + }, + "dependencies": {}, + "description": "Merge multiple streams into one stream in sequence or parallel.", + "devDependencies": { + "standard": "^14.3.4", + "through2": "^3.0.1", + "thunks": "^4.9.6", + "tman": "^1.10.0", + "to-through": "^2.0.0" }, + "engines": { + "node": ">= 8" + }, + "files": [ + "README.md", + "index.js" + ], "homepage": "https://github.com/teambition/merge2", "keywords": [ "merge2", @@ -22,22 +62,15 @@ "merge stream", "sync" ], - "engines": { - "node": ">= 8" - }, - "dependencies": {}, - "devDependencies": { - "standard": "^14.3.4", - "through2": "^3.0.1", - "thunks": "^4.9.6", - "tman": "^1.10.0", - "to-through": "^2.0.0" + "license": "MIT", + "main": "./index.js", + "name": "merge2", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/teambition/merge2.git" }, "scripts": { "test": "standard && tman" }, - "files": [ - "README.md", - "index.js" - ] + "version": "1.4.1" } diff --git a/node_modules/metaviewport-parser/package.json b/node_modules/metaviewport-parser/package.json index 00ddddf25..0da1d382b 100644 --- a/node_modules/metaviewport-parser/package.json +++ b/node_modules/metaviewport-parser/package.json @@ -1,22 +1,47 @@ { + "_from": "metaviewport-parser@0.2.0", + "_id": "metaviewport-parser@0.2.0", + "_inBundle": false, + "_integrity": "sha1-U1w84cz2IjpQJf3cahw2UF9+fbE=", + "_location": "/metaviewport-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "metaviewport-parser@0.2.0", "name": "metaviewport-parser", - "version": "0.2.0", - "description": "Parser for the content attribute of the meta viewport", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/dontcallmedom/metaviewport-parser.git" - }, - "bugs": { - "url": "https://github.com/dontcallmedom/metaviewport-parser/issues" - }, - "dependencies": { - }, - "devDependencies": { - "expect.js": "^0.3.1", - "mocha": "^2.2.5" - }, - "scripts": { - "test": "mocha" - } + "escapedName": "metaviewport-parser", + "rawSpec": "0.2.0", + "saveSpec": null, + "fetchSpec": "0.2.0" + }, + "_requiredBy": [ + "/lighthouse" + ], + "_resolved": "https://registry.npmjs.org/metaviewport-parser/-/metaviewport-parser-0.2.0.tgz", + "_shasum": "535c3ce1ccf6223a5025fddc6a1c36505f7e7db1", + "_spec": "metaviewport-parser@0.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "bugs": { + "url": "https://github.com/dontcallmedom/metaviewport-parser/issues" + }, + "bundleDependencies": false, + "dependencies": {}, + "deprecated": false, + "description": "Parser for the content attribute of the meta viewport", + "devDependencies": { + "expect.js": "^0.3.1", + "mocha": "^2.2.5" + }, + "homepage": "https://github.com/dontcallmedom/metaviewport-parser#readme", + "license": "MIT", + "name": "metaviewport-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/dontcallmedom/metaviewport-parser.git" + }, + "scripts": { + "test": "mocha" + }, + "version": "0.2.0" } diff --git a/node_modules/methods/package.json b/node_modules/methods/package.json index c4ce6f053..0658845e2 100644 --- a/node_modules/methods/package.json +++ b/node_modules/methods/package.json @@ -1,36 +1,82 @@ { - "name": "methods", - "description": "HTTP methods that node supports", - "version": "1.1.2", + "_args": [ + [ + "methods@1.1.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "methods@1.1.2", + "_id": "methods@1.1.2", + "_inBundle": false, + "_integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "_location": "/methods", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "methods@1.1.2", + "name": "methods", + "escapedName": "methods", + "rawSpec": "1.1.2", + "saveSpec": null, + "fetchSpec": "1.1.2" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "_spec": "1.1.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "browser": { + "http": false + }, + "bugs": { + "url": "https://github.com/jshttp/methods/issues" + }, "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)", - "TJ Holowaychuk (http://tjholowaychuk.com)" + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + }, + { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca", + "url": "http://tjholowaychuk.com" + } ], - "license": "MIT", - "repository": "jshttp/methods", + "description": "HTTP methods that node supports", "devDependencies": { "istanbul": "0.4.1", "mocha": "1.21.5" }, + "engines": { + "node": ">= 0.6" + }, "files": [ "index.js", "HISTORY.md", "LICENSE" ], - "engines": { - "node": ">= 0.6" + "homepage": "https://github.com/jshttp/methods#readme", + "keywords": [ + "http", + "methods" + ], + "license": "MIT", + "name": "methods", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/methods.git" }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" }, - "browser": { - "http": false - }, - "keywords": [ - "http", - "methods" - ] + "version": "1.1.2" } diff --git a/node_modules/micromatch/package.json b/node_modules/micromatch/package.json index 18520c606..2cef503ea 100644 --- a/node_modules/micromatch/package.json +++ b/node_modules/micromatch/package.json @@ -1,45 +1,113 @@ { - "name": "micromatch", - "description": "Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.", - "version": "4.0.4", - "homepage": "https://github.com/micromatch/micromatch", - "author": "Jon Schlinkert (https://github.com/jonschlinkert)", - "contributors": [ - "(https://github.com/DianeLooney)", - "Amila Welihinda (amilajack.com)", - "Bogdan Chadkin (https://github.com/TrySound)", - "Brian Woodward (https://twitter.com/doowb)", - "Devon Govett (http://badassjs.com)", - "Elan Shanker (https://github.com/es128)", - "Fabrício Matté (https://ultcombo.js.org)", - "Jon Schlinkert (http://twitter.com/jonschlinkert)", - "Martin Kolárik (https://kolarik.sk)", - "Olsten Larck (https://i.am.charlike.online)", - "Paul Miller (paulmillr.com)", - "Tom Byrer (https://github.com/tomByrer)", - "Tyler Akins (http://rumkin.com)", - "Peter Bright (https://github.com/drpizza)", - "Kuba Juszczyk (https://github.com/ku8ar)" + "_args": [ + [ + "micromatch@4.0.4", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": "micromatch/micromatch", - "bugs": { - "url": "https://github.com/micromatch/micromatch/issues" + "_development": true, + "_from": "micromatch@4.0.4", + "_id": "micromatch@4.0.4", + "_inBundle": false, + "_integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "_location": "/micromatch", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "micromatch@4.0.4", + "name": "micromatch", + "escapedName": "micromatch", + "rawSpec": "4.0.4", + "saveSpec": null, + "fetchSpec": "4.0.4" }, - "license": "MIT", - "files": [ - "index.js" + "_requiredBy": [ + "/@jest/core", + "/@jest/transform", + "/fast-glob", + "/jest-config", + "/jest-haste-map", + "/jest-message-util", + "/lint-staged" ], - "main": "index.js", - "engines": { - "node": ">=8.6" + "_resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "_spec": "4.0.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Jon Schlinkert", + "url": "https://github.com/jonschlinkert" }, - "scripts": { - "test": "mocha" + "bugs": { + "url": "https://github.com/micromatch/micromatch/issues" }, + "contributors": [ + { + "url": "https://github.com/DianeLooney" + }, + { + "name": "Amila Welihinda", + "url": "amilajack.com" + }, + { + "name": "Bogdan Chadkin", + "url": "https://github.com/TrySound" + }, + { + "name": "Brian Woodward", + "url": "https://twitter.com/doowb" + }, + { + "name": "Devon Govett", + "url": "http://badassjs.com" + }, + { + "name": "Elan Shanker", + "url": "https://github.com/es128" + }, + { + "name": "Fabrício Matté", + "url": "https://ultcombo.js.org" + }, + { + "name": "Jon Schlinkert", + "url": "http://twitter.com/jonschlinkert" + }, + { + "name": "Martin Kolárik", + "url": "https://kolarik.sk" + }, + { + "name": "Olsten Larck", + "url": "https://i.am.charlike.online" + }, + { + "name": "Paul Miller", + "url": "paulmillr.com" + }, + { + "name": "Tom Byrer", + "url": "https://github.com/tomByrer" + }, + { + "name": "Tyler Akins", + "url": "http://rumkin.com" + }, + { + "name": "Peter Bright", + "email": "drpizza@quiscalusmexicanus.org", + "url": "https://github.com/drpizza" + }, + { + "name": "Kuba Juszczyk", + "url": "https://github.com/ku8ar" + } + ], "dependencies": { "braces": "^3.0.1", "picomatch": "^2.2.3" }, + "description": "Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.", "devDependencies": { "fill-range": "^7.0.1", "gulp-format-md": "^2.0.0", @@ -47,6 +115,13 @@ "mocha": "^7.2.0", "time-require": "github:jonschlinkert/time-require" }, + "engines": { + "node": ">=8.6" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/micromatch/micromatch", "keywords": [ "bash", "bracket", @@ -87,6 +162,16 @@ "star", "wildcard" ], + "license": "MIT", + "main": "index.js", + "name": "micromatch", + "repository": { + "type": "git", + "url": "git+https://github.com/micromatch/micromatch.git" + }, + "scripts": { + "test": "mocha" + }, "verb": { "toc": "collapsible", "layout": "default", @@ -115,5 +200,6 @@ "minimatch", "multimatch" ] - } + }, + "version": "4.0.4" } diff --git a/node_modules/mime-db/package.json b/node_modules/mime-db/package.json index 6d023ba97..017896c85 100644 --- a/node_modules/mime-db/package.json +++ b/node_modules/mime-db/package.json @@ -1,23 +1,52 @@ { - "name": "mime-db", - "description": "Media Type Database", - "version": "1.51.0", - "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)", - "Robert Kieffer (http://github.com/broofa)" + "_args": [ + [ + "mime-db@1.51.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "license": "MIT", - "keywords": [ - "mime", - "db", - "type", - "types", - "database", - "charset", - "charsets" + "_from": "mime-db@1.51.0", + "_id": "mime-db@1.51.0", + "_inBundle": false, + "_integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "_location": "/mime-db", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "mime-db@1.51.0", + "name": "mime-db", + "escapedName": "mime-db", + "rawSpec": "1.51.0", + "saveSpec": null, + "fetchSpec": "1.51.0" + }, + "_requiredBy": [ + "/mime-types" ], - "repository": "jshttp/mime-db", + "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "_spec": "1.51.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/jshttp/mime-db/issues" + }, + "contributors": [ + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + }, + { + "name": "Robert Kieffer", + "email": "robert@broofa.com", + "url": "http://github.com/broofa" + } + ], + "description": "Media Type Database", "devDependencies": { "bluebird": "3.7.2", "co": "4.6.0", @@ -36,6 +65,9 @@ "raw-body": "2.4.1", "stream-to-array": "2.3.0" }, + "engines": { + "node": ">= 0.6" + }, "files": [ "HISTORY.md", "LICENSE", @@ -43,8 +75,21 @@ "db.json", "index.js" ], - "engines": { - "node": ">= 0.6" + "homepage": "https://github.com/jshttp/mime-db#readme", + "keywords": [ + "mime", + "db", + "type", + "types", + "database", + "charset", + "charsets" + ], + "license": "MIT", + "name": "mime-db", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/mime-db.git" }, "scripts": { "build": "node scripts/build", @@ -55,5 +100,6 @@ "test-cov": "nyc --reporter=html --reporter=text npm test", "update": "npm run fetch && npm run build", "version": "node scripts/version-history.js && git add HISTORY.md" - } + }, + "version": "1.51.0" } diff --git a/node_modules/mime-types/package.json b/node_modules/mime-types/package.json index f1d282ec1..667ec2780 100644 --- a/node_modules/mime-types/package.json +++ b/node_modules/mime-types/package.json @@ -1,21 +1,57 @@ { - "name": "mime-types", - "description": "The ultimate javascript content-type utility.", - "version": "2.1.34", - "contributors": [ - "Douglas Christopher Wilson ", - "Jeremiah Senkpiel (https://searchbeam.jit.su)", - "Jonathan Ong (http://jongleberry.com)" + "_args": [ + [ + "mime-types@2.1.34", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "license": "MIT", - "keywords": [ - "mime", - "types" + "_from": "mime-types@2.1.34", + "_id": "mime-types@2.1.34", + "_inBundle": false, + "_integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "_location": "/mime-types", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "mime-types@2.1.34", + "name": "mime-types", + "escapedName": "mime-types", + "rawSpec": "2.1.34", + "saveSpec": null, + "fetchSpec": "2.1.34" + }, + "_requiredBy": [ + "/accepts", + "/form-data", + "/type-is" + ], + "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "_spec": "2.1.34", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/jshttp/mime-types/issues" + }, + "contributors": [ + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jeremiah Senkpiel", + "email": "fishrock123@rocketmail.com", + "url": "https://searchbeam.jit.su" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } ], - "repository": "jshttp/mime-types", "dependencies": { "mime-db": "1.51.0" }, + "description": "The ultimate javascript content-type utility.", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -27,18 +63,30 @@ "mocha": "9.1.3", "nyc": "15.1.0" }, + "engines": { + "node": ">= 0.6" + }, "files": [ "HISTORY.md", "LICENSE", "index.js" ], - "engines": { - "node": ">= 0.6" + "homepage": "https://github.com/jshttp/mime-types#readme", + "keywords": [ + "mime", + "types" + ], + "license": "MIT", + "name": "mime-types", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/mime-types.git" }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec test/test.js", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - } + }, + "version": "2.1.34" } diff --git a/node_modules/mime/package.json b/node_modules/mime/package.json index 6bd24bc53..63bcc55f8 100644 --- a/node_modules/mime/package.json +++ b/node_modules/mime/package.json @@ -1,44 +1,76 @@ { + "_args": [ + [ + "mime@1.6.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "mime@1.6.0", + "_id": "mime@1.6.0", + "_inBundle": false, + "_integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "_location": "/mime", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "mime@1.6.0", + "name": "mime", + "escapedName": "mime", + "rawSpec": "1.6.0", + "saveSpec": null, + "fetchSpec": "1.6.0" + }, + "_requiredBy": [ + "/send" + ], + "_resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "_spec": "1.6.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Robert Kieffer", - "url": "http://github.com/broofa", - "email": "robert@broofa.com" + "email": "robert@broofa.com", + "url": "http://github.com/broofa" }, "bin": { "mime": "cli.js" }, - "engines": { - "node": ">=4" + "bugs": { + "url": "https://github.com/broofa/node-mime/issues" }, "contributors": [ { "name": "Benjamin Thomas", - "url": "http://github.com/bentomas", - "email": "benjamin@benjaminthomas.org" + "email": "benjamin@benjaminthomas.org", + "url": "http://github.com/bentomas" } ], - "description": "A comprehensive library for mime-type mapping", - "license": "MIT", "dependencies": {}, + "description": "A comprehensive library for mime-type mapping", "devDependencies": { "github-release-notes": "0.13.1", "mime-db": "1.31.0", "mime-score": "1.1.0" }, - "scripts": { - "prepare": "node src/build.js", - "changelog": "gren changelog --tags=all --generate --override", - "test": "node src/test.js" + "engines": { + "node": ">=4" }, + "homepage": "https://github.com/broofa/node-mime#readme", "keywords": [ "util", "mime" ], + "license": "MIT", "main": "mime.js", "name": "mime", "repository": { - "url": "https://github.com/broofa/node-mime", + "url": "git+https://github.com/broofa/node-mime.git", "type": "git" }, + "scripts": { + "changelog": "gren changelog --tags=all --generate --override", + "prepare": "node src/build.js", + "test": "node src/test.js" + }, "version": "1.6.0" } diff --git a/node_modules/mimic-fn/package.json b/node_modules/mimic-fn/package.json index 199d2c7e0..5a4faf002 100644 --- a/node_modules/mimic-fn/package.json +++ b/node_modules/mimic-fn/package.json @@ -1,42 +1,78 @@ { - "name": "mimic-fn", - "version": "2.1.0", - "description": "Make a function mimic another one", - "license": "MIT", - "repository": "sindresorhus/mimic-fn", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "function", - "mimic", - "imitate", - "rename", - "copy", - "inherit", - "properties", - "name", - "func", - "fn", - "set", - "infer", - "change" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.1", - "xo": "^0.24.0" - } + "_args": [ + [ + "mimic-fn@2.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "mimic-fn@2.1.0", + "_id": "mimic-fn@2.1.0", + "_inBundle": false, + "_integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "_location": "/mimic-fn", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "mimic-fn@2.1.0", + "name": "mimic-fn", + "escapedName": "mimic-fn", + "rawSpec": "2.1.0", + "saveSpec": null, + "fetchSpec": "2.1.0" + }, + "_requiredBy": [ + "/onetime" + ], + "_resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "_spec": "2.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/mimic-fn/issues" + }, + "description": "Make a function mimic another one", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.1", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/mimic-fn#readme", + "keywords": [ + "function", + "mimic", + "imitate", + "rename", + "copy", + "inherit", + "properties", + "name", + "func", + "fn", + "set", + "infer", + "change" + ], + "license": "MIT", + "name": "mimic-fn", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/mimic-fn.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "2.1.0" } diff --git a/node_modules/mimic-response/index.js b/node_modules/mimic-response/index.js deleted file mode 100644 index d5e33be47..000000000 --- a/node_modules/mimic-response/index.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -// We define these manually to ensure they're always copied -// even if they would move up the prototype chain -// https://nodejs.org/api/http.html#http_class_http_incomingmessage -const knownProps = [ - 'destroy', - 'setTimeout', - 'socket', - 'headers', - 'trailers', - 'rawHeaders', - 'statusCode', - 'httpVersion', - 'httpVersionMinor', - 'httpVersionMajor', - 'rawTrailers', - 'statusMessage' -]; - -module.exports = (fromStream, toStream) => { - const fromProps = new Set(Object.keys(fromStream).concat(knownProps)); - - for (const prop of fromProps) { - // Don't overwrite existing properties - if (prop in toStream) { - continue; - } - - toStream[prop] = typeof fromStream[prop] === 'function' ? fromStream[prop].bind(fromStream) : fromStream[prop]; - } -}; diff --git a/node_modules/mimic-response/license b/node_modules/mimic-response/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/mimic-response/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/mimic-response/package.json b/node_modules/mimic-response/package.json deleted file mode 100644 index 689cb61ef..000000000 --- a/node_modules/mimic-response/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "mimic-response", - "version": "1.0.1", - "description": "Mimic a Node.js HTTP response stream", - "license": "MIT", - "repository": "sindresorhus/mimic-response", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "mimic", - "response", - "stream", - "http", - "https", - "request", - "get", - "core" - ], - "devDependencies": { - "ava": "*", - "create-test-server": "^0.1.0", - "pify": "^3.0.0", - "xo": "*" - } -} diff --git a/node_modules/mimic-response/readme.md b/node_modules/mimic-response/readme.md deleted file mode 100644 index e07ec661c..000000000 --- a/node_modules/mimic-response/readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# mimic-response [![Build Status](https://travis-ci.org/sindresorhus/mimic-response.svg?branch=master)](https://travis-ci.org/sindresorhus/mimic-response) - -> Mimic a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage) - - -## Install - -``` -$ npm install mimic-response -``` - - -## Usage - -```js -const stream = require('stream'); -const mimicResponse = require('mimic-response'); - -const responseStream = getHttpResponseStream(); -const myStream = new stream.PassThrough(); - -mimicResponse(responseStream, myStream); - -console.log(myStream.statusCode); -//=> 200 -``` - - -## API - -### mimicResponse(from, to) - -#### from - -Type: `Stream` - -[Node.js HTTP response stream.](https://nodejs.org/api/http.html#http_class_http_incomingmessage) - -#### to - -Type: `Stream` - -Any stream. - - -## Related - -- [mimic-fn](https://github.com/sindresorhus/mimic-fn) - Make a function mimic another one -- [clone-response](https://github.com/lukechilds/clone-response) - Clone a Node.js response stream - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/min-indent/package.json b/node_modules/min-indent/package.json index 95e5259d9..88ed06bd5 100644 --- a/node_modules/min-indent/package.json +++ b/node_modules/min-indent/package.json @@ -1,24 +1,49 @@ { - "name": "min-indent", - "version": "1.0.1", - "description": "Get the shortest leading whitespace from lines in a string", - "main": "index.js", - "license": "MIT", - "repository": "https://github.com/thejameskyle/min-indent", + "_from": "min-indent@^1.0.0", + "_id": "min-indent@1.0.1", + "_inBundle": false, + "_integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "_location": "/min-indent", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "min-indent@^1.0.0", + "name": "min-indent", + "escapedName": "min-indent", + "rawSpec": "^1.0.0", + "saveSpec": null, + "fetchSpec": "^1.0.0" + }, + "_requiredBy": [ + "/strip-indent" + ], + "_resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "_shasum": "a63f681673b30571fbe8bc25686ae746eefa9869", + "_spec": "min-indent@^1.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/strip-indent", "author": { "name": "James Kyle", "email": "me@thejameskyle.com", "url": "thejameskyle.com" }, + "bugs": { + "url": "https://github.com/thejameskyle/min-indent/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Get the shortest leading whitespace from lines in a string", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=4" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/thejameskyle/min-indent#readme", "keywords": [ "indent", "indentation", @@ -31,8 +56,15 @@ "min", "minimum" ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "license": "MIT", + "main": "index.js", + "name": "min-indent", + "repository": { + "type": "git", + "url": "git+https://github.com/thejameskyle/min-indent.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.0.1" } diff --git a/node_modules/minimatch/package.json b/node_modules/minimatch/package.json index c4514c807..ff5357703 100644 --- a/node_modules/minimatch/package.json +++ b/node_modules/minimatch/package.json @@ -1,30 +1,71 @@ { - "author": "Isaac Z. Schlueter (http://blog.izs.me)", - "name": "minimatch", - "description": "a glob matcher in javascript", - "version": "3.0.4", - "repository": { - "type": "git", - "url": "git://github.com/isaacs/minimatch.git" + "_args": [ + [ + "minimatch@3.0.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "minimatch@3.0.4", + "_id": "minimatch@3.0.4", + "_inBundle": false, + "_integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "_location": "/minimatch", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "minimatch@3.0.4", + "name": "minimatch", + "escapedName": "minimatch", + "rawSpec": "3.0.4", + "saveSpec": null, + "fetchSpec": "3.0.4" }, - "main": "minimatch.js", - "scripts": { - "test": "tap test/*.js --cov", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --all; git push origin --tags" + "_requiredBy": [ + "/@eslint/eslintrc", + "/@humanwhocodes/config-array", + "/eslint", + "/glob", + "/test-exclude" + ], + "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "_spec": "3.0.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me" }, - "engines": { - "node": "*" + "bugs": { + "url": "https://github.com/isaacs/minimatch/issues" }, "dependencies": { "brace-expansion": "^1.1.7" }, + "description": "a glob matcher in javascript", "devDependencies": { "tap": "^10.3.2" }, - "license": "ISC", + "engines": { + "node": "*" + }, "files": [ "minimatch.js" - ] + ], + "homepage": "https://github.com/isaacs/minimatch#readme", + "license": "ISC", + "main": "minimatch.js", + "name": "minimatch", + "repository": { + "type": "git", + "url": "git://github.com/isaacs/minimatch.git" + }, + "scripts": { + "postpublish": "git push origin --all; git push origin --tags", + "postversion": "npm publish", + "preversion": "npm test", + "test": "tap test/*.js --cov" + }, + "version": "3.0.4" } diff --git a/node_modules/minimist-options/package.json b/node_modules/minimist-options/package.json index 94b8cdc1a..4ef8045a8 100644 --- a/node_modules/minimist-options/package.json +++ b/node_modules/minimist-options/package.json @@ -1,34 +1,69 @@ { - "name": "minimist-options", - "version": "4.1.0", - "description": "Pretty options for minimist", - "repository": "vadimdemedes/minimist-options", - "author": "Vadim Demedes ", - "license": "MIT", - "keywords": [ - "minimist", - "argv", - "args" + "_from": "minimist-options@4.1.0", + "_id": "minimist-options@4.1.0", + "_inBundle": false, + "_integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "_location": "/minimist-options", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "minimist-options@4.1.0", + "name": "minimist-options", + "escapedName": "minimist-options", + "rawSpec": "4.1.0", + "saveSpec": null, + "fetchSpec": "4.1.0" + }, + "_requiredBy": [ + "/meow" ], - "scripts": { - "test": "xo && ava && tsd-check" + "_resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "_shasum": "c0655713c53a8a2ebd77ffa247d342c40f010619", + "_spec": "minimist-options@4.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/meow", + "author": { + "name": "Vadim Demedes", + "email": "vdemedes@gmail.com" }, - "engines": { - "node": ">= 6" + "bugs": { + "url": "https://github.com/vadimdemedes/minimist-options/issues" }, - "files": [ - "index.js", - "index.d.ts" - ], + "bundleDependencies": false, "dependencies": { "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", "kind-of": "^6.0.3" }, + "deprecated": false, + "description": "Pretty options for minimist", "devDependencies": { "@types/minimist": "^1.2.0", "ava": "^1.0.1", "tsd-check": "^0.3.0", "xo": "^0.24.0" - } + }, + "engines": { + "node": ">= 6" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/vadimdemedes/minimist-options#readme", + "keywords": [ + "minimist", + "argv", + "args" + ], + "license": "MIT", + "name": "minimist-options", + "repository": { + "type": "git", + "url": "git+https://github.com/vadimdemedes/minimist-options.git" + }, + "scripts": { + "test": "xo && ava && tsd-check" + }, + "version": "4.1.0" } diff --git a/node_modules/minimist/package.json b/node_modules/minimist/package.json index c091d4137..751978385 100644 --- a/node_modules/minimist/package.json +++ b/node_modules/minimist/package.json @@ -1,16 +1,63 @@ { - "name": "minimist", - "version": "1.2.5", + "_args": [ + [ + "minimist@1.2.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "minimist@1.2.5", + "_id": "minimist@1.2.5", + "_inBundle": false, + "_integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "_location": "/minimist", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "minimist@1.2.5", + "name": "minimist", + "escapedName": "minimist", + "rawSpec": "1.2.5", + "saveSpec": null, + "fetchSpec": "1.2.5" + }, + "_requiredBy": [ + "/json5" + ], + "_resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "_spec": "1.2.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "bugs": { + "url": "https://github.com/substack/minimist/issues" + }, "description": "parse argument options", - "main": "index.js", "devDependencies": { "covert": "^1.0.0", "tap": "~0.4.0", "tape": "^3.5.0" }, + "homepage": "https://github.com/substack/minimist", + "keywords": [ + "argv", + "getopt", + "parser", + "optimist" + ], + "license": "MIT", + "main": "index.js", + "name": "minimist", + "repository": { + "type": "git", + "url": "git://github.com/substack/minimist.git" + }, "scripts": { - "test": "tap test/*.js", - "coverage": "covert test/*.js" + "coverage": "covert test/*.js", + "test": "tap test/*.js" }, "testling": { "files": "test/*.js", @@ -25,21 +72,5 @@ "opera/12" ] }, - "repository": { - "type": "git", - "url": "git://github.com/substack/minimist.git" - }, - "homepage": "https://github.com/substack/minimist", - "keywords": [ - "argv", - "getopt", - "parser", - "optimist" - ], - "author": { - "name": "James Halliday", - "email": "mail@substack.net", - "url": "http://substack.net" - }, - "license": "MIT" + "version": "1.2.5" } diff --git a/node_modules/ms/package.json b/node_modules/ms/package.json index eea666e1f..d6a12836d 100644 --- a/node_modules/ms/package.json +++ b/node_modules/ms/package.json @@ -1,16 +1,43 @@ { - "name": "ms", - "version": "2.1.2", - "description": "Tiny millisecond conversion utility", - "repository": "zeit/ms", - "main": "./index", - "files": [ - "index.js" + "_args": [ + [ + "ms@2.1.2", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "precommit": "lint-staged", - "lint": "eslint lib/* bin/*", - "test": "mocha tests.js" + "_development": true, + "_from": "ms@2.1.2", + "_id": "ms@2.1.2", + "_inBundle": false, + "_integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "_location": "/ms", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ms@2.1.2", + "name": "ms", + "escapedName": "ms", + "rawSpec": "2.1.2", + "saveSpec": null, + "fetchSpec": "2.1.2" + }, + "_requiredBy": [ + "/debug" + ], + "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "_spec": "2.1.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/zeit/ms/issues" + }, + "description": "Tiny millisecond conversion utility", + "devDependencies": { + "eslint": "4.12.1", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1" }, "eslintConfig": { "extends": "eslint:recommended", @@ -19,6 +46,11 @@ "es6": true } }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/zeit/ms#readme", + "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -26,12 +58,16 @@ "git add" ] }, - "license": "MIT", - "devDependencies": { - "eslint": "4.12.1", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1" - } + "main": "./index", + "name": "ms", + "repository": { + "type": "git", + "url": "git+https://github.com/zeit/ms.git" + }, + "scripts": { + "lint": "eslint lib/* bin/*", + "precommit": "lint-staged", + "test": "mocha tests.js" + }, + "version": "2.1.2" } diff --git a/node_modules/natural-compare/package.json b/node_modules/natural-compare/package.json index 1a71362ee..d247bb920 100644 --- a/node_modules/natural-compare/package.json +++ b/node_modules/natural-compare/package.json @@ -1,10 +1,56 @@ { - "name": "natural-compare", - "version": "1.4.0", - "stability": 3, - "author": "Lauri Rooden (https://github.com/litejs/natural-compare-lite)", - "license": "MIT", + "_args": [ + [ + "natural-compare@1.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "natural-compare@1.4.0", + "_id": "natural-compare@1.4.0", + "_inBundle": false, + "_integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "_location": "/natural-compare", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "natural-compare@1.4.0", + "name": "natural-compare", + "escapedName": "natural-compare", + "rawSpec": "1.4.0", + "saveSpec": null, + "fetchSpec": "1.4.0" + }, + "_requiredBy": [ + "/eslint", + "/jest-snapshot" + ], + "_resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "_spec": "1.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Lauri Rooden", + "url": "https://github.com/litejs/natural-compare-lite" + }, + "bugs": { + "url": "https://github.com/litejs/natural-compare-lite/issues" + }, + "buildman": { + "dist/index-min.js": { + "banner": "/*! litejs.com/MIT-LICENSE.txt */", + "input": "index.js" + } + }, "description": "Compare strings containing a mix of letters and numbers in the way a human being would in sort order.", + "devDependencies": { + "buildman": "*", + "testman": "*" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/litejs/natural-compare-lite#readme", "keywords": [ "string", "natural", @@ -16,27 +62,17 @@ "alphanum", "litejs" ], + "license": "MIT", "main": "index.js", - "readmeFilename": "README.md", - "files": [ - "index.js" - ], + "name": "natural-compare", + "repository": { + "type": "git", + "url": "git://github.com/litejs/natural-compare-lite.git" + }, "scripts": { "build": "node node_modules/buildman/index.js --all", "test": "node tests/index.js" }, - "repository": "git://github.com/litejs/natural-compare-lite.git", - "bugs": { - "url": "https://github.com/litejs/natural-compare-lite/issues" - }, - "devDependencies": { - "buildman": "*", - "testman": "*" - }, - "buildman": { - "dist/index-min.js": { - "banner": "/*! litejs.com/MIT-LICENSE.txt */", - "input": "index.js" - } - } + "stability": 3, + "version": "1.4.0" } diff --git a/node_modules/negotiator/package.json b/node_modules/negotiator/package.json index 0c7ff3c2e..48cd3743c 100644 --- a/node_modules/negotiator/package.json +++ b/node_modules/negotiator/package.json @@ -1,28 +1,60 @@ { - "name": "negotiator", - "description": "HTTP content negotiation", - "version": "0.6.2", - "contributors": [ - "Douglas Christopher Wilson ", - "Federico Romero ", - "Isaac Z. Schlueter (http://blog.izs.me/)" + "_args": [ + [ + "negotiator@0.6.2", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "license": "MIT", - "keywords": [ - "http", - "content negotiation", - "accept", - "accept-language", - "accept-encoding", - "accept-charset" + "_from": "negotiator@0.6.2", + "_id": "negotiator@0.6.2", + "_inBundle": false, + "_integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", + "_location": "/negotiator", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "negotiator@0.6.2", + "name": "negotiator", + "escapedName": "negotiator", + "rawSpec": "0.6.2", + "saveSpec": null, + "fetchSpec": "0.6.2" + }, + "_requiredBy": [ + "/accepts" ], - "repository": "jshttp/negotiator", + "_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", + "_spec": "0.6.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/jshttp/negotiator/issues" + }, + "contributors": [ + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Federico Romero", + "email": "federico.romero@outboxlabs.com" + }, + { + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me/" + } + ], + "description": "HTTP content negotiation", "devDependencies": { "eslint": "5.16.0", "eslint-plugin-markdown": "1.0.0", "mocha": "6.1.4", "nyc": "14.0.0" }, + "engines": { + "node": ">= 0.6" + }, "files": [ "lib/", "HISTORY.md", @@ -30,13 +62,26 @@ "index.js", "README.md" ], - "engines": { - "node": ">= 0.6" + "homepage": "https://github.com/jshttp/negotiator#readme", + "keywords": [ + "http", + "content negotiation", + "accept", + "accept-language", + "accept-encoding", + "accept-charset" + ], + "license": "MIT", + "name": "negotiator", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/negotiator.git" }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --reporter spec --check-leaks --bail test/", "test-cov": "nyc --reporter=html --reporter=text npm test", "test-travis": "nyc --reporter=text npm test" - } + }, + "version": "0.6.2" } diff --git a/node_modules/node-domexception/.history/README_20210527203617.md b/node_modules/node-domexception/.history/README_20210527203617.md new file mode 100644 index 000000000..38d8f8561 --- /dev/null +++ b/node_modules/node-domexception/.history/README_20210527203617.md @@ -0,0 +1,2 @@ +# node-domexception +An implementation of the DOMException class from NodeJS diff --git a/node_modules/node-domexception/.history/README_20210527212714.md b/node_modules/node-domexception/.history/README_20210527212714.md new file mode 100644 index 000000000..eed1d13be --- /dev/null +++ b/node_modules/node-domexception/.history/README_20210527212714.md @@ -0,0 +1,41 @@ +# DOMException +An implementation of the DOMException class from NodeJS + +This package implements the [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) class, from NodeJS itself. +NodeJS has DOMException built in, but it's not globally available, and you can't require/import it from somewhere. + +The only possible way is to use some web-ish tools that have been introduced into NodeJS that throws an error and catch the constructor. +This way you will have the same class that NodeJS has and you can check if the error is a instance of DOMException. +The instanceof check would not have worked with a custom class such as the DOMexception provided by domenic which also is much larger in size. + +```js +import DOMException from 'node-domexception' + +hello().catch(err => { + if (err instanceof DOMException) { + ... + } +}) + +const e1 = new DOMException("Something went wrong", "BadThingsError"); +console.assert(e1.name === "BadThingsError"); +console.assert(e1.code === 0); + +const e2 = new DOMException("Another exciting error message", "NoModificationAllowedError"); +console.assert(e2.name === "NoModificationAllowedError"); +console.assert(e2.code === 7); + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10); +``` + +## APIs + +This package exposes two flavors of the `DOMException` interface depending on the imported module. + +### `domexception` module + +This module default-exports the `DOMException` interface constructor. + +### `domexception/webidl2js-wrapper` module + +This module exports the `DOMException` [interface wrapper API](https://github.com/jsdom/webidl2js#for-interfaces) generated by [webidl2js](https://github.com/jsdom/webidl2js). diff --git a/node_modules/node-domexception/.history/README_20210527213345.md b/node_modules/node-domexception/.history/README_20210527213345.md new file mode 100644 index 000000000..582541679 --- /dev/null +++ b/node_modules/node-domexception/.history/README_20210527213345.md @@ -0,0 +1,36 @@ +# DOMException +An implementation of the DOMException class from NodeJS + +This package implements the [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) class, from NodeJS itself. (including the legacy codes) +NodeJS has DOMException built in, but it's not globally available, and you can't require/import it from somewhere. + +The only possible way is to use some web-ish tools that have been introduced into NodeJS that throws an error and catch the constructor. +This way you will have the same class that NodeJS has and you can check if the error is a instance of DOMException. +The instanceof check would not have worked with a custom class such as the DOMException provided by domenic which also is much larger in size. + +```js +import DOMException from 'node-domexception' +import { MessageChannel } from 'worker_threads' + +async function hello() { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) +} + +hello().catch(err => { + console.assert(err.name === 'DataCloneError') + console.assert(err.code === 25) + console.assert(err instanceof DOMException) +}) + +const e1 = new DOMException('Something went wrong', 'BadThingsError') +console.assert(e1.name === 'BadThingsError') +console.assert(e1.code === 0) + +const e2 = new DOMException('Another exciting error message', 'NoModificationAllowedError') +console.assert(e2.name === 'NoModificationAllowedError') +console.assert(e2.code === 7) + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10) +``` diff --git a/node_modules/node-domexception/.history/README_20210527213411.md b/node_modules/node-domexception/.history/README_20210527213411.md new file mode 100644 index 000000000..4c21ec8fd --- /dev/null +++ b/node_modules/node-domexception/.history/README_20210527213411.md @@ -0,0 +1,36 @@ +# DOMException +An implementation of the DOMException class from NodeJS + +This package implements the [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) class that comes from NodeJS itself. (including the legacy codes) +NodeJS has DOMException built in, but it's not globally available, and you can't require/import it from somewhere. + +The only possible way is to use some web-ish tools that have been introduced into NodeJS that throws an error and catch the constructor. +This way you will have the same class that NodeJS has and you can check if the error is a instance of DOMException. +The instanceof check would not have worked with a custom class such as the DOMException provided by domenic which also is much larger in size. + +```js +import DOMException from 'node-domexception' +import { MessageChannel } from 'worker_threads' + +async function hello() { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) +} + +hello().catch(err => { + console.assert(err.name === 'DataCloneError') + console.assert(err.code === 25) + console.assert(err instanceof DOMException) +}) + +const e1 = new DOMException('Something went wrong', 'BadThingsError') +console.assert(e1.name === 'BadThingsError') +console.assert(e1.code === 0) + +const e2 = new DOMException('Another exciting error message', 'NoModificationAllowedError') +console.assert(e2.name === 'NoModificationAllowedError') +console.assert(e2.code === 7) + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10) +``` diff --git a/node_modules/node-domexception/.history/README_20210527213803.md b/node_modules/node-domexception/.history/README_20210527213803.md new file mode 100644 index 000000000..4cb85717f --- /dev/null +++ b/node_modules/node-domexception/.history/README_20210527213803.md @@ -0,0 +1,36 @@ +# DOMException +An implementation of the DOMException class from NodeJS + +This package exposes the [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) class that comes from NodeJS itself. (including all of the deprecated legacy codes) +NodeJS has it built in, but it's not globally available, and you can't require/import it from somewhere. + +The only possible way is to use some web-ish tools that have been introduced into NodeJS that throws an error and catch the constructor. +This way you will have the same class that NodeJS has and you can check if the error is a instance of DOMException. +The instanceof check would not have worked with a custom class such as the DOMException provided by domenic which also is much larger in size since it has to re-construct the hole class from the ground up. + +```js +import DOMException from 'node-domexception' +import { MessageChannel } from 'worker_threads' + +async function hello() { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) +} + +hello().catch(err => { + console.assert(err.name === 'DataCloneError') + console.assert(err.code === 25) + console.assert(err instanceof DOMException) +}) + +const e1 = new DOMException('Something went wrong', 'BadThingsError') +console.assert(e1.name === 'BadThingsError') +console.assert(e1.code === 0) + +const e2 = new DOMException('Another exciting error message', 'NoModificationAllowedError') +console.assert(e2.name === 'NoModificationAllowedError') +console.assert(e2.code === 7) + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10) +``` diff --git a/node_modules/node-domexception/.history/README_20210527214323.md b/node_modules/node-domexception/.history/README_20210527214323.md new file mode 100644 index 000000000..a32a91b16 --- /dev/null +++ b/node_modules/node-domexception/.history/README_20210527214323.md @@ -0,0 +1,38 @@ +# DOMException +An implementation of the DOMException class from NodeJS + +This package exposes the [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) class that comes from NodeJS itself. (including all of the deprecated legacy codes) +NodeJS has it built in, but it's not globally available, and you can't require/import it from somewhere. + +The only possible way is to use some web-ish tools that have been introduced into NodeJS that throws an error and catch the constructor. +This way you will have the same class that NodeJS has and you can check if the error is a instance of DOMException. +The instanceof check would not have worked with a custom class such as the DOMException provided by domenic which also is much larger in size since it has to re-construct the hole class from the ground up. + +(plz don't depend on this package in any other environment other than node >=10.5) + +```js +import DOMException from 'node-domexception' +import { MessageChannel } from 'worker_threads' + +async function hello() { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) +} + +hello().catch(err => { + console.assert(err.name === 'DataCloneError') + console.assert(err.code === 25) + console.assert(err instanceof DOMException) +}) + +const e1 = new DOMException('Something went wrong', 'BadThingsError') +console.assert(e1.name === 'BadThingsError') +console.assert(e1.code === 0) + +const e2 = new DOMException('Another exciting error message', 'NoModificationAllowedError') +console.assert(e2.name === 'NoModificationAllowedError') +console.assert(e2.code === 7) + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10) +``` diff --git a/node_modules/node-domexception/.history/README_20210527214408.md b/node_modules/node-domexception/.history/README_20210527214408.md new file mode 100644 index 000000000..a32a91b16 --- /dev/null +++ b/node_modules/node-domexception/.history/README_20210527214408.md @@ -0,0 +1,38 @@ +# DOMException +An implementation of the DOMException class from NodeJS + +This package exposes the [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) class that comes from NodeJS itself. (including all of the deprecated legacy codes) +NodeJS has it built in, but it's not globally available, and you can't require/import it from somewhere. + +The only possible way is to use some web-ish tools that have been introduced into NodeJS that throws an error and catch the constructor. +This way you will have the same class that NodeJS has and you can check if the error is a instance of DOMException. +The instanceof check would not have worked with a custom class such as the DOMException provided by domenic which also is much larger in size since it has to re-construct the hole class from the ground up. + +(plz don't depend on this package in any other environment other than node >=10.5) + +```js +import DOMException from 'node-domexception' +import { MessageChannel } from 'worker_threads' + +async function hello() { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) +} + +hello().catch(err => { + console.assert(err.name === 'DataCloneError') + console.assert(err.code === 25) + console.assert(err instanceof DOMException) +}) + +const e1 = new DOMException('Something went wrong', 'BadThingsError') +console.assert(e1.name === 'BadThingsError') +console.assert(e1.code === 0) + +const e2 = new DOMException('Another exciting error message', 'NoModificationAllowedError') +console.assert(e2.name === 'NoModificationAllowedError') +console.assert(e2.code === 7) + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10) +``` diff --git a/node_modules/node-domexception/.history/index_20210527203842.js b/node_modules/node-domexception/.history/index_20210527203842.js new file mode 100644 index 000000000..e69de29bb diff --git a/node_modules/node-domexception/.history/index_20210527203947.js b/node_modules/node-domexception/.history/index_20210527203947.js new file mode 100644 index 000000000..b9a8b7654 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527203947.js @@ -0,0 +1,8 @@ +const { MessageChannel } = require('worker_threads') + +if (!globalThis.DOMException) { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { globalThis.DOMException = err.constructor } +} diff --git a/node_modules/node-domexception/.history/index_20210527204259.js b/node_modules/node-domexception/.history/index_20210527204259.js new file mode 100644 index 000000000..e9332a8d0 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527204259.js @@ -0,0 +1,9 @@ +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads') + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { globalThis.DOMException = err.constructor } +} + +module.exports diff --git a/node_modules/node-domexception/.history/index_20210527204418.js b/node_modules/node-domexception/.history/index_20210527204418.js new file mode 100644 index 000000000..cb362cc78 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527204418.js @@ -0,0 +1,9 @@ +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads') + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { globalThis.DOMException = err.constructor } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527204756.js b/node_modules/node-domexception/.history/index_20210527204756.js new file mode 100644 index 000000000..87d26554f --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527204756.js @@ -0,0 +1,11 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads') + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { globalThis.DOMException = err.constructor } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527204833.js b/node_modules/node-domexception/.history/index_20210527204833.js new file mode 100644 index 000000000..837ebdad0 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527204833.js @@ -0,0 +1,11 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads') + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { globalThis.DOMException = err.constructor } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527211208.js b/node_modules/node-domexception/.history/index_20210527211208.js new file mode 100644 index 000000000..ba215ce86 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527211208.js @@ -0,0 +1,15 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + var { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527211248.js b/node_modules/node-domexception/.history/index_20210527211248.js new file mode 100644 index 000000000..f5c434eec --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527211248.js @@ -0,0 +1,15 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527212722.js b/node_modules/node-domexception/.history/index_20210527212722.js new file mode 100644 index 000000000..91b3b526a --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527212722.js @@ -0,0 +1,23 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException + +const e1 = new DOMException("Something went wrong", "BadThingsError"); +console.assert(e1.name === "BadThingsError"); +console.assert(e1.code === 0); + +const e2 = new DOMException("Another exciting error message", "NoModificationAllowedError"); +console.assert(e2.name === "NoModificationAllowedError"); +console.assert(e2.code === 7); diff --git a/node_modules/node-domexception/.history/index_20210527212731.js b/node_modules/node-domexception/.history/index_20210527212731.js new file mode 100644 index 000000000..cf2886438 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527212731.js @@ -0,0 +1,23 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException + +const e1 = new DOMException("Something went wrong", "BadThingsError"); +console.assert(e1.name === "BadThingsError"); +console.assert(e1.code === 0); + +const e2 = new DOMException("Another exciting error message", "NoModificationAllowedError"); +console.assert(e2.name === "NoModificationAllowedError"); +console.assert(e2.code === 2); diff --git a/node_modules/node-domexception/.history/index_20210527212746.js b/node_modules/node-domexception/.history/index_20210527212746.js new file mode 100644 index 000000000..f5c434eec --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527212746.js @@ -0,0 +1,15 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527212900.js b/node_modules/node-domexception/.history/index_20210527212900.js new file mode 100644 index 000000000..efa2442c0 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527212900.js @@ -0,0 +1,16 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { + console.log(err.code) + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527213022.js b/node_modules/node-domexception/.history/index_20210527213022.js new file mode 100644 index 000000000..e59f047bd --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527213022.js @@ -0,0 +1,16 @@ +/*! blob-to-buffer. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { + console.log(err.code, err.name, err.message) + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527213822.js b/node_modules/node-domexception/.history/index_20210527213822.js new file mode 100644 index 000000000..7f4e13dcc --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527213822.js @@ -0,0 +1,16 @@ +/*! node-DOMException. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + try { port.postMessage(ab, [ab, ab]) } + catch (err) { + console.log(err.code, err.name, err.message) + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527213843.js b/node_modules/node-domexception/.history/index_20210527213843.js new file mode 100644 index 000000000..ee75b730d --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527213843.js @@ -0,0 +1,17 @@ +/*! node-DOMException. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + try { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) + catch (err) { + console.log(err.code, err.name, err.message) + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527213852.js b/node_modules/node-domexception/.history/index_20210527213852.js new file mode 100644 index 000000000..a82bee3a3 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527213852.js @@ -0,0 +1,17 @@ +/*! node-DOMException. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + try { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) + } catch (err) { + console.log(err.code, err.name, err.message) + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527213910.js b/node_modules/node-domexception/.history/index_20210527213910.js new file mode 100644 index 000000000..1e1ca29b1 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527213910.js @@ -0,0 +1,16 @@ +/*! node-DOMException. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + try { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) + } catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527214034.js b/node_modules/node-domexception/.history/index_20210527214034.js new file mode 100644 index 000000000..b7bbe9519 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527214034.js @@ -0,0 +1,16 @@ +/*! node-domexception. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + try { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) + } catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/index_20210527214643.js b/node_modules/node-domexception/.history/index_20210527214643.js new file mode 100644 index 000000000..92ed8477b --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527214643.js @@ -0,0 +1,41 @@ +/*! node-domexception. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + try { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) + } catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException + + +const { MessageChannel } = require('worker_threads') + +async function hello() { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) +} + +hello().catch(err => { + console.assert(err.name === 'DataCloneError') + console.assert(err.code === 25) + console.assert(err instanceof DOMException) +}) + +const e1 = new DOMException('Something went wrong', 'BadThingsError') +console.assert(e1.name === 'BadThingsError') +console.assert(e1.code === 0) + +const e2 = new DOMException('Another exciting error message', 'NoModificationAllowedError') +console.assert(e2.name === 'NoModificationAllowedError') +console.assert(e2.code === 7) + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10) diff --git a/node_modules/node-domexception/.history/index_20210527214654.js b/node_modules/node-domexception/.history/index_20210527214654.js new file mode 100644 index 000000000..6d5cb8e5b --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527214654.js @@ -0,0 +1,41 @@ +/*! node-domexception. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + try { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) + } catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException + + +const { MessageChannel } = require('worker_threads') + +async function hello() { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) +} + +hello().catch(err => { + console.assert(err.name === 'DataCloneError') + console.assert(err.code === 21) + console.assert(err instanceof DOMException) +}) + +const e1 = new DOMException('Something went wrong', 'BadThingsError') +console.assert(e1.name === 'BadThingsError') +console.assert(e1.code === 0) + +const e2 = new DOMException('Another exciting error message', 'NoModificationAllowedError') +console.assert(e2.name === 'NoModificationAllowedError') +console.assert(e2.code === 7) + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10) diff --git a/node_modules/node-domexception/.history/index_20210527214700.js b/node_modules/node-domexception/.history/index_20210527214700.js new file mode 100644 index 000000000..b7bbe9519 --- /dev/null +++ b/node_modules/node-domexception/.history/index_20210527214700.js @@ -0,0 +1,16 @@ +/*! node-domexception. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + try { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) + } catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/.history/package_20210527203733.json b/node_modules/node-domexception/.history/package_20210527203733.json new file mode 100644 index 000000000..5eeb306d2 --- /dev/null +++ b/node_modules/node-domexception/.history/package_20210527203733.json @@ -0,0 +1,19 @@ +{ + "name": "domexception", + "version": "1.0.0", + "description": "An implementation of the DOMException class from NodeJS", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/jimmywarting/node-domexception/issues" + }, + "homepage": "https://github.com/jimmywarting/node-domexception#readme" +} diff --git a/node_modules/node-domexception/.history/package_20210527203825.json b/node_modules/node-domexception/.history/package_20210527203825.json new file mode 100644 index 000000000..4ca171350 --- /dev/null +++ b/node_modules/node-domexception/.history/package_20210527203825.json @@ -0,0 +1,16 @@ +{ + "name": "node-domexception", + "version": "1.0.0", + "description": "An implementation of the DOMException class from NodeJS", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "author": "Jimmy Wärting", + "license": "MIT", + "bugs": { + "url": "https://github.com/jimmywarting/node-domexception/issues" + }, + "homepage": "https://github.com/jimmywarting/node-domexception#readme" +} diff --git a/node_modules/node-domexception/.history/package_20210527204621.json b/node_modules/node-domexception/.history/package_20210527204621.json new file mode 100644 index 000000000..3c414e93c --- /dev/null +++ b/node_modules/node-domexception/.history/package_20210527204621.json @@ -0,0 +1,19 @@ +{ + "name": "node-domexception", + "version": "1.0.0", + "description": "An implementation of the DOMException class from NodeJS", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "engines": { + "node": ">=10.5.0" + }, + "author": "Jimmy Wärting", + "license": "MIT", + "bugs": { + "url": "https://github.com/jimmywarting/node-domexception/issues" + }, + "homepage": "https://github.com/jimmywarting/node-domexception#readme" +} diff --git a/node_modules/node-domexception/.history/package_20210527204913.json b/node_modules/node-domexception/.history/package_20210527204913.json new file mode 100644 index 000000000..dbbb5d242 --- /dev/null +++ b/node_modules/node-domexception/.history/package_20210527204913.json @@ -0,0 +1,25 @@ +{ + "name": "node-domexception", + "version": "1.0.0", + "description": "An implementation of the DOMException class from NodeJS", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "engines": { + "node": ">=10.5.0" + }, + "author": "Jimmy Wärting", + "license": "MIT", + "bugs": { + "url": "https://github.com/jimmywarting/node-domexception/issues" + }, + "homepage": "https://github.com/jimmywarting/node-domexception#readme", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + } + ] +} diff --git a/node_modules/node-domexception/.history/package_20210527204925.json b/node_modules/node-domexception/.history/package_20210527204925.json new file mode 100644 index 000000000..dbbb5d242 --- /dev/null +++ b/node_modules/node-domexception/.history/package_20210527204925.json @@ -0,0 +1,25 @@ +{ + "name": "node-domexception", + "version": "1.0.0", + "description": "An implementation of the DOMException class from NodeJS", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "engines": { + "node": ">=10.5.0" + }, + "author": "Jimmy Wärting", + "license": "MIT", + "bugs": { + "url": "https://github.com/jimmywarting/node-domexception/issues" + }, + "homepage": "https://github.com/jimmywarting/node-domexception#readme", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + } + ] +} diff --git a/node_modules/node-domexception/.history/package_20210527205145.json b/node_modules/node-domexception/.history/package_20210527205145.json new file mode 100644 index 000000000..cd08e704e --- /dev/null +++ b/node_modules/node-domexception/.history/package_20210527205145.json @@ -0,0 +1,29 @@ +{ + "name": "node-domexception", + "version": "1.0.0", + "description": "An implementation of the DOMException class from NodeJS", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "engines": { + "node": ">=10.5.0" + }, + "author": "Jimmy Wärting", + "license": "MIT", + "bugs": { + "url": "https://github.com/jimmywarting/node-domexception/issues" + }, + "homepage": "https://github.com/jimmywarting/node-domexception#readme", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ] +} diff --git a/node_modules/node-domexception/.history/package_20210527205156.json b/node_modules/node-domexception/.history/package_20210527205156.json new file mode 100644 index 000000000..cd08e704e --- /dev/null +++ b/node_modules/node-domexception/.history/package_20210527205156.json @@ -0,0 +1,29 @@ +{ + "name": "node-domexception", + "version": "1.0.0", + "description": "An implementation of the DOMException class from NodeJS", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "engines": { + "node": ">=10.5.0" + }, + "author": "Jimmy Wärting", + "license": "MIT", + "bugs": { + "url": "https://github.com/jimmywarting/node-domexception/issues" + }, + "homepage": "https://github.com/jimmywarting/node-domexception#readme", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ] +} diff --git a/node_modules/node-domexception/.history/test_20210527205603.js b/node_modules/node-domexception/.history/test_20210527205603.js new file mode 100644 index 000000000..e69de29bb diff --git a/node_modules/node-domexception/.history/test_20210527205957.js b/node_modules/node-domexception/.history/test_20210527205957.js new file mode 100644 index 000000000..73feac5f1 --- /dev/null +++ b/node_modules/node-domexception/.history/test_20210527205957.js @@ -0,0 +1,3 @@ +require('./index.js') + +console.log(DOMException.INDEX_SIZE_ERR) diff --git a/node_modules/node-domexception/.history/test_20210527210021.js b/node_modules/node-domexception/.history/test_20210527210021.js new file mode 100644 index 000000000..be4749160 --- /dev/null +++ b/node_modules/node-domexception/.history/test_20210527210021.js @@ -0,0 +1,3 @@ +const e = require('./index.js') + +console.log(e.INDEX_SIZE_ERR) diff --git a/node_modules/node-domexception/LICENSE b/node_modules/node-domexception/LICENSE new file mode 100644 index 000000000..bc8ceb7f2 --- /dev/null +++ b/node_modules/node-domexception/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Jimmy Wärting + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/node-domexception/README.md b/node_modules/node-domexception/README.md new file mode 100644 index 000000000..a36946147 --- /dev/null +++ b/node_modules/node-domexception/README.md @@ -0,0 +1,46 @@ +# DOMException +An implementation of the DOMException class from NodeJS + +NodeJS has DOMException built in, but it's not globally available, and you can't require/import it from somewhere. + +This package exposes the [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) class that comes from NodeJS itself. (including all of the legacy codes) + +(plz don't depend on this package in any other environment other than node >=10.5) + +```js +import DOMException from 'node-domexception' +import { MessageChannel } from 'worker_threads' + +async function hello() { + const port = new MessageChannel().port1 + const ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) +} + +hello().catch(err => { + console.assert(err.name === 'DataCloneError') + console.assert(err.code === 25) + console.assert(err instanceof DOMException) +}) + +const e1 = new DOMException('Something went wrong', 'BadThingsError') +console.assert(e1.name === 'BadThingsError') +console.assert(e1.code === 0) + +const e2 = new DOMException('Another exciting error message', 'NoModificationAllowedError') +console.assert(e2.name === 'NoModificationAllowedError') +console.assert(e2.code === 7) + +console.assert(DOMException.INUSE_ATTRIBUTE_ERR === 10) +``` + +# Background + +The only possible way is to use some web-ish tools that have been introduced into NodeJS that throws a DOMException and catch the constructor. This is exactly what this package dose for you and exposes it.
+This way you will have the same class that NodeJS has and you can check if the error is a instance of DOMException.
+The instanceof check would not have worked with a custom class such as the DOMException provided by domenic which also is much larger in size since it has to re-construct the hole class from the ground up. + +The DOMException is used in many places such as the Fetch API, File & Blobs, PostMessaging and more.
+Why they decided to call it **DOM**, I don't know + +Please consider sponsoring if you find this helpful diff --git a/node_modules/node-domexception/index.js b/node_modules/node-domexception/index.js new file mode 100644 index 000000000..b7bbe9519 --- /dev/null +++ b/node_modules/node-domexception/index.js @@ -0,0 +1,16 @@ +/*! node-domexception. MIT License. Jimmy Wärting */ + +if (!globalThis.DOMException) { + try { + const { MessageChannel } = require('worker_threads'), + port = new MessageChannel().port1, + ab = new ArrayBuffer() + port.postMessage(ab, [ab, ab]) + } catch (err) { + err.constructor.name === 'DOMException' && ( + globalThis.DOMException = err.constructor + ) + } +} + +module.exports = globalThis.DOMException diff --git a/node_modules/node-domexception/package.json b/node_modules/node-domexception/package.json new file mode 100644 index 000000000..ea4964605 --- /dev/null +++ b/node_modules/node-domexception/package.json @@ -0,0 +1,56 @@ +{ + "_from": "node-domexception@^1.0.0", + "_id": "node-domexception@1.0.0", + "_inBundle": false, + "_integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "_location": "/node-domexception", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "node-domexception@^1.0.0", + "name": "node-domexception", + "escapedName": "node-domexception", + "rawSpec": "^1.0.0", + "saveSpec": null, + "fetchSpec": "^1.0.0" + }, + "_requiredBy": [ + "/fetch-blob" + ], + "_resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "_shasum": "6888db46a1f71c0b76b3f7555016b63fe64766e5", + "_spec": "node-domexception@^1.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/fetch-blob", + "author": { + "name": "Jimmy Wärting" + }, + "bugs": { + "url": "https://github.com/jimmywarting/node-domexception/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "An implementation of the DOMException class from NodeJS", + "engines": { + "node": ">=10.5.0" + }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "homepage": "https://github.com/jimmywarting/node-domexception#readme", + "license": "MIT", + "main": "index.js", + "name": "node-domexception", + "repository": { + "type": "git", + "url": "git+https://github.com/jimmywarting/node-domexception.git" + }, + "version": "1.0.0" +} diff --git a/node_modules/node-fetch/node_modules/tr46/package.json b/node_modules/node-fetch/node_modules/tr46/package.json index b6826da1f..180eefdf5 100644 --- a/node_modules/node-fetch/node_modules/tr46/package.json +++ b/node_modules/node-fetch/node_modules/tr46/package.json @@ -1,31 +1,62 @@ { - "name": "tr46", - "version": "0.0.3", - "description": "An implementation of the Unicode TR46 spec", - "main": "index.js", - "scripts": { - "test": "mocha", - "pretest": "node scripts/getLatestUnicodeTests.js", - "prepublish": "node scripts/generateMappingTable.js" + "_args": [ + [ + "tr46@0.0.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "tr46@0.0.3", + "_id": "tr46@0.0.3", + "_inBundle": false, + "_integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "_location": "/node-fetch/tr46", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "tr46@0.0.3", + "name": "tr46", + "escapedName": "tr46", + "rawSpec": "0.0.3", + "saveSpec": null, + "fetchSpec": "0.0.3" }, - "repository": { - "type": "git", - "url": "git+https://github.com/Sebmaster/tr46.js.git" + "_requiredBy": [ + "/node-fetch/whatwg-url" + ], + "_resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "_spec": "0.0.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sebastian Mayr", + "email": "npm@smayr.name" + }, + "bugs": { + "url": "https://github.com/Sebmaster/tr46.js/issues" }, + "description": "An implementation of the Unicode TR46 spec", + "devDependencies": { + "mocha": "^2.2.5", + "request": "^2.57.0" + }, + "homepage": "https://github.com/Sebmaster/tr46.js#readme", "keywords": [ "unicode", "tr46", "url", "whatwg" ], - "author": "Sebastian Mayr ", "license": "MIT", - "bugs": { - "url": "https://github.com/Sebmaster/tr46.js/issues" + "main": "index.js", + "name": "tr46", + "repository": { + "type": "git", + "url": "git+https://github.com/Sebmaster/tr46.js.git" }, - "homepage": "https://github.com/Sebmaster/tr46.js#readme", - "devDependencies": { - "mocha": "^2.2.5", - "request": "^2.57.0" - } + "scripts": { + "prepublish": "node scripts/generateMappingTable.js", + "pretest": "node scripts/getLatestUnicodeTests.js", + "test": "mocha" + }, + "version": "0.0.3" } diff --git a/node_modules/node-fetch/node_modules/webidl-conversions/package.json b/node_modules/node-fetch/node_modules/webidl-conversions/package.json index c31bc074c..e5e5db3ff 100644 --- a/node_modules/node-fetch/node_modules/webidl-conversions/package.json +++ b/node_modules/node-fetch/node_modules/webidl-conversions/package.json @@ -1,23 +1,62 @@ { - "name": "webidl-conversions", - "version": "3.0.1", + "_args": [ + [ + "webidl-conversions@3.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "webidl-conversions@3.0.1", + "_id": "webidl-conversions@3.0.1", + "_inBundle": false, + "_integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "_location": "/node-fetch/webidl-conversions", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "webidl-conversions@3.0.1", + "name": "webidl-conversions", + "escapedName": "webidl-conversions", + "rawSpec": "3.0.1", + "saveSpec": null, + "fetchSpec": "3.0.1" + }, + "_requiredBy": [ + "/node-fetch/whatwg-url" + ], + "_resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "_spec": "3.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Domenic Denicola", + "email": "d@domenic.me", + "url": "https://domenic.me/" + }, + "bugs": { + "url": "https://github.com/jsdom/webidl-conversions/issues" + }, "description": "Implements the WebIDL algorithms for converting to and from JavaScript values", - "main": "lib/index.js", - "scripts": { - "test": "mocha test/*.js" + "devDependencies": { + "mocha": "^1.21.4" }, - "repository": "jsdom/webidl-conversions", + "files": [ + "lib/" + ], + "homepage": "https://github.com/jsdom/webidl-conversions#readme", "keywords": [ "webidl", "web", "types" ], - "files": [ - "lib/" - ], - "author": "Domenic Denicola (https://domenic.me/)", "license": "BSD-2-Clause", - "devDependencies": { - "mocha": "^1.21.4" - } + "main": "lib/index.js", + "name": "webidl-conversions", + "repository": { + "type": "git", + "url": "git+https://github.com/jsdom/webidl-conversions.git" + }, + "scripts": { + "test": "mocha test/*.js" + }, + "version": "3.0.1" } diff --git a/node_modules/node-fetch/node_modules/whatwg-url/package.json b/node_modules/node-fetch/node_modules/whatwg-url/package.json index fce35ae71..e99ea9510 100644 --- a/node_modules/node-fetch/node_modules/whatwg-url/package.json +++ b/node_modules/node-fetch/node_modules/whatwg-url/package.json @@ -1,18 +1,44 @@ { - "name": "whatwg-url", - "version": "5.0.0", - "description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery", - "main": "lib/public-api.js", - "files": [ - "lib/" + "_args": [ + [ + "whatwg-url@5.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "author": "Sebastian Mayr ", - "license": "MIT", - "repository": "jsdom/whatwg-url", + "_from": "whatwg-url@5.0.0", + "_id": "whatwg-url@5.0.0", + "_inBundle": false, + "_integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "_location": "/node-fetch/whatwg-url", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "whatwg-url@5.0.0", + "name": "whatwg-url", + "escapedName": "whatwg-url", + "rawSpec": "5.0.0", + "saveSpec": null, + "fetchSpec": "5.0.0" + }, + "_requiredBy": [ + "/node-fetch" + ], + "_resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "_spec": "5.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sebastian Mayr", + "email": "github@smayr.name" + }, + "bugs": { + "url": "https://github.com/jsdom/whatwg-url/issues" + }, "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" }, + "description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery", "devDependencies": { "eslint": "^2.6.0", "istanbul": "~0.4.3", @@ -21,6 +47,17 @@ "request": "^2.55.0", "webidl2js": "^3.0.2" }, + "files": [ + "lib/" + ], + "homepage": "https://github.com/jsdom/whatwg-url#readme", + "license": "MIT", + "main": "lib/public-api.js", + "name": "whatwg-url", + "repository": { + "type": "git", + "url": "git+https://github.com/jsdom/whatwg-url.git" + }, "scripts": { "build": "node scripts/transform.js && node scripts/convert-idl.js", "coverage": "istanbul cover node_modules/mocha/bin/_mocha", @@ -28,5 +65,6 @@ "prepublish": "npm run build", "pretest": "node scripts/get-latest-platform-tests.js && npm run build", "test": "mocha" - } + }, + "version": "5.0.0" } diff --git a/node_modules/node-fetch/package.json b/node_modules/node-fetch/package.json index ec0510513..90a006b0d 100644 --- a/node_modules/node-fetch/package.json +++ b/node_modules/node-fetch/package.json @@ -1,68 +1,99 @@ { + "_args": [ + [ + "node-fetch@2.6.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "node-fetch@2.6.6", + "_id": "node-fetch@2.6.6", + "_inBundle": false, + "_integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==", + "_location": "/node-fetch", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "node-fetch@2.6.6", "name": "node-fetch", - "version": "2.6.6", - "description": "A light-weight module that brings window.fetch to node.js", - "main": "lib/index.js", - "browser": "./browser.js", - "module": "lib/index.mjs", - "files": [ - "lib/index.js", - "lib/index.mjs", - "lib/index.es.js", - "browser.js" - ], - "engines": { - "node": "4.x || >=6.0.0" - }, - "scripts": { - "build": "cross-env BABEL_ENV=rollup rollup -c", - "prepare": "npm run build", - "test": "cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js", - "report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js", - "coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json" - }, - "repository": { - "type": "git", - "url": "https://github.com/bitinn/node-fetch.git" - }, - "keywords": [ - "fetch", - "http", - "promise" - ], - "author": "David Frank", - "license": "MIT", - "bugs": { - "url": "https://github.com/bitinn/node-fetch/issues" - }, - "homepage": "https://github.com/bitinn/node-fetch", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "devDependencies": { - "@ungap/url-search-params": "^0.1.2", - "abort-controller": "^1.1.0", - "abortcontroller-polyfill": "^1.3.0", - "babel-core": "^6.26.3", - "babel-plugin-istanbul": "^4.1.6", - "babel-preset-env": "^1.6.1", - "babel-register": "^6.16.3", - "chai": "^3.5.0", - "chai-as-promised": "^7.1.1", - "chai-iterator": "^1.1.1", - "chai-string": "~1.3.0", - "codecov": "3.3.0", - "cross-env": "^5.2.0", - "form-data": "^2.3.3", - "is-builtin-module": "^1.0.0", - "mocha": "^5.0.0", - "nyc": "11.9.0", - "parted": "^0.1.1", - "promise": "^8.0.3", - "resumer": "0.0.0", - "rollup": "^0.63.4", - "rollup-plugin-babel": "^3.0.7", - "string-to-arraybuffer": "^1.0.2", - "teeny-request": "3.7.0" - } + "escapedName": "node-fetch", + "rawSpec": "2.6.6", + "saveSpec": null, + "fetchSpec": "2.6.6" + }, + "_requiredBy": [ + "/@foo-software/lighthouse-check", + "/@octokit/request" + ], + "_resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", + "_spec": "2.6.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "David Frank" + }, + "browser": "./browser.js", + "bugs": { + "url": "https://github.com/bitinn/node-fetch/issues" + }, + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "description": "A light-weight module that brings window.fetch to node.js", + "devDependencies": { + "@ungap/url-search-params": "^0.1.2", + "abort-controller": "^1.1.0", + "abortcontroller-polyfill": "^1.3.0", + "babel-core": "^6.26.3", + "babel-plugin-istanbul": "^4.1.6", + "babel-preset-env": "^1.6.1", + "babel-register": "^6.16.3", + "chai": "^3.5.0", + "chai-as-promised": "^7.1.1", + "chai-iterator": "^1.1.1", + "chai-string": "~1.3.0", + "codecov": "3.3.0", + "cross-env": "^5.2.0", + "form-data": "^2.3.3", + "is-builtin-module": "^1.0.0", + "mocha": "^5.0.0", + "nyc": "11.9.0", + "parted": "^0.1.1", + "promise": "^8.0.3", + "resumer": "0.0.0", + "rollup": "^0.63.4", + "rollup-plugin-babel": "^3.0.7", + "string-to-arraybuffer": "^1.0.2", + "teeny-request": "3.7.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "files": [ + "lib/index.js", + "lib/index.mjs", + "lib/index.es.js", + "browser.js" + ], + "homepage": "https://github.com/bitinn/node-fetch", + "keywords": [ + "fetch", + "http", + "promise" + ], + "license": "MIT", + "main": "lib/index.js", + "module": "lib/index.mjs", + "name": "node-fetch", + "repository": { + "type": "git", + "url": "git+https://github.com/bitinn/node-fetch.git" + }, + "scripts": { + "build": "cross-env BABEL_ENV=rollup rollup -c", + "coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json", + "prepare": "npm run build", + "report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js", + "test": "cross-env BABEL_ENV=test mocha --require babel-register --throw-deprecation test/test.js" + }, + "version": "2.6.6" } diff --git a/node_modules/node-int64/package.json b/node_modules/node-int64/package.json index 3f56f5b9a..847156de8 100644 --- a/node_modules/node-int64/package.json +++ b/node_modules/node-int64/package.json @@ -1,27 +1,63 @@ { - "name": "node-int64", + "_args": [ + [ + "node-int64@0.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "node-int64@0.4.0", + "_id": "node-int64@0.4.0", + "_inBundle": false, + "_integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=", + "_location": "/node-int64", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "node-int64@0.4.0", + "name": "node-int64", + "escapedName": "node-int64", + "rawSpec": "0.4.0", + "saveSpec": null, + "fetchSpec": "0.4.0" + }, + "_requiredBy": [ + "/bser" + ], + "_resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "_spec": "0.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Robert Kieffer", + "email": "robert@broofa.com" + }, + "bugs": { + "url": "https://github.com/broofa/node-int64/issues" + }, + "contributors": [], + "dependencies": {}, "description": "Support for representing 64-bit integers in JavaScript", - "url": "http://github.com/broofa/node-int64", + "devDependencies": { + "nodeunit": "^0.9.0" + }, + "homepage": "https://github.com/broofa/node-int64#readme", "keywords": [ "math", "integer", "int64" ], - "author": "Robert Kieffer ", - "contributors": [], - "dependencies": {}, - "license": "MIT", "lib": ".", + "license": "MIT", "main": "./Int64.js", - "version": "0.4.0", - "scripts": { - "test": "nodeunit test.js" - }, + "name": "node-int64", "repository": { "type": "git", - "url": "https://github.com/broofa/node-int64" + "url": "git+https://github.com/broofa/node-int64.git" }, - "devDependencies": { - "nodeunit": "^0.9.0" - } + "scripts": { + "test": "nodeunit test.js" + }, + "url": "http://github.com/broofa/node-int64", + "version": "0.4.0" } diff --git a/node_modules/node-releases/package.json b/node_modules/node-releases/package.json index efbc2eee5..e3d2b68c8 100644 --- a/node_modules/node-releases/package.json +++ b/node_modules/node-releases/package.json @@ -1,18 +1,57 @@ { - "name": "node-releases", - "version": "2.0.1", + "_args": [ + [ + "node-releases@2.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "node-releases@2.0.1", + "_id": "node-releases@2.0.1", + "_inBundle": false, + "_integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", + "_location": "/node-releases", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "node-releases@2.0.1", + "name": "node-releases", + "escapedName": "node-releases", + "rawSpec": "2.0.1", + "saveSpec": null, + "fetchSpec": "2.0.1" + }, + "_requiredBy": [ + "/browserslist" + ], + "_resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", + "_spec": "2.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sergey Rubanov", + "email": "chi187@gmail.com" + }, + "bugs": { + "url": "https://github.com/chicoxyzzy/node-releases/issues" + }, "description": "Node.js releases data", - "scripts": { - "build": "node scripts/build.js" + "devDependencies": { + "semver": "^7.3.5" }, - "repository": "chicoxyzzy/node-releases", + "homepage": "https://github.com/chicoxyzzy/node-releases#readme", "keywords": [ "nodejs", "releases" ], - "author": "Sergey Rubanov ", "license": "MIT", - "devDependencies": { - "semver": "^7.3.5" - } + "name": "node-releases", + "repository": { + "type": "git", + "url": "git+https://github.com/chicoxyzzy/node-releases.git" + }, + "scripts": { + "build": "node scripts/build.js" + }, + "version": "2.0.1" } diff --git a/node_modules/normalize-package-data/node_modules/semver/package.json b/node_modules/normalize-package-data/node_modules/semver/package.json index 69d2db162..8f5b6cca7 100644 --- a/node_modules/normalize-package-data/node_modules/semver/package.json +++ b/node_modules/normalize-package-data/node_modules/semver/package.json @@ -1,28 +1,60 @@ { - "name": "semver", - "version": "5.7.1", - "description": "The semantic version parser used by npm.", - "main": "semver.js", - "scripts": { - "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --all; git push origin --tags" + "_from": "semver@2 || 3 || 4 || 5", + "_id": "semver@5.7.1", + "_inBundle": false, + "_integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "_location": "/normalize-package-data/semver", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "semver@2 || 3 || 4 || 5", + "name": "semver", + "escapedName": "semver", + "rawSpec": "2 || 3 || 4 || 5", + "saveSpec": null, + "fetchSpec": "2 || 3 || 4 || 5" }, + "_requiredBy": [ + "/normalize-package-data" + ], + "_resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "_shasum": "a954f931aeba508d307bbf069eff0c01c96116f7", + "_spec": "semver@2 || 3 || 4 || 5", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/normalize-package-data", + "bin": { + "semver": "bin/semver" + }, + "bugs": { + "url": "https://github.com/npm/node-semver/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "The semantic version parser used by npm.", "devDependencies": { "tap": "^13.0.0-rc.18" }, - "license": "ISC", - "repository": "https://github.com/npm/node-semver", - "bin": { - "semver": "./bin/semver" - }, "files": [ "bin", "range.bnf", "semver.js" ], + "homepage": "https://github.com/npm/node-semver#readme", + "license": "ISC", + "main": "semver.js", + "name": "semver", + "repository": { + "type": "git", + "url": "git+https://github.com/npm/node-semver.git" + }, + "scripts": { + "postpublish": "git push origin --all; git push origin --tags", + "postversion": "npm publish", + "preversion": "npm test", + "test": "tap" + }, "tap": { "check-coverage": true - } + }, + "version": "5.7.1" } diff --git a/node_modules/normalize-package-data/package.json b/node_modules/normalize-package-data/package.json index dea34bb7f..184b957be 100644 --- a/node_modules/normalize-package-data/package.json +++ b/node_modules/normalize-package-data/package.json @@ -1,23 +1,58 @@ { - "name": "normalize-package-data", - "version": "2.5.0", - "author": "Meryn Stol ", - "description": "Normalizes data that can be found in package.json files.", - "license": "BSD-2-Clause", - "repository": { - "type": "git", - "url": "git://github.com/npm/normalize-package-data.git" + "_from": "normalize-package-data@^2.5.0", + "_id": "normalize-package-data@2.5.0", + "_inBundle": false, + "_integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "_location": "/normalize-package-data", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "normalize-package-data@^2.5.0", + "name": "normalize-package-data", + "escapedName": "normalize-package-data", + "rawSpec": "^2.5.0", + "saveSpec": null, + "fetchSpec": "^2.5.0" }, - "main": "lib/normalize.js", - "scripts": { - "test": "tap test/*.js" + "_requiredBy": [ + "/meow", + "/read-pkg" + ], + "_resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "_shasum": "e66db1838b200c1dfc233225d12cb36520e234a8", + "_spec": "normalize-package-data@^2.5.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/meow", + "author": { + "name": "Meryn Stol", + "email": "merynstol@gmail.com" }, + "bugs": { + "url": "https://github.com/npm/normalize-package-data/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "Isaac Z. Schlueter", + "email": "i@izs.me" + }, + { + "name": "Meryn Stol", + "email": "merynstol@gmail.com" + }, + { + "name": "Robert Kowalski", + "email": "rok@kowalski.gd" + } + ], "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" }, + "deprecated": false, + "description": "Normalizes data that can be found in package.json files.", "devDependencies": { "async": "^2.6.1", "tap": "^12.4.0", @@ -27,5 +62,17 @@ "lib/*.js", "lib/*.json", "AUTHORS" - ] + ], + "homepage": "https://github.com/npm/normalize-package-data#readme", + "license": "BSD-2-Clause", + "main": "lib/normalize.js", + "name": "normalize-package-data", + "repository": { + "type": "git", + "url": "git://github.com/npm/normalize-package-data.git" + }, + "scripts": { + "test": "tap test/*.js" + }, + "version": "2.5.0" } diff --git a/node_modules/normalize-path/package.json b/node_modules/normalize-path/package.json index ad61098a8..1e1a6f21e 100644 --- a/node_modules/normalize-path/package.json +++ b/node_modules/normalize-path/package.json @@ -1,33 +1,64 @@ { - "name": "normalize-path", - "description": "Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.", - "version": "3.0.0", - "homepage": "https://github.com/jonschlinkert/normalize-path", - "author": "Jon Schlinkert (https://github.com/jonschlinkert)", - "contributors": [ - "Blaine Bublitz (https://twitter.com/BlaineBublitz)", - "Jon Schlinkert (http://twitter.com/jonschlinkert)" + "_args": [ + [ + "normalize-path@3.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": "jonschlinkert/normalize-path", - "bugs": { - "url": "https://github.com/jonschlinkert/normalize-path/issues" + "_development": true, + "_from": "normalize-path@3.0.0", + "_id": "normalize-path@3.0.0", + "_inBundle": false, + "_integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "_location": "/normalize-path", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "normalize-path@3.0.0", + "name": "normalize-path", + "escapedName": "normalize-path", + "rawSpec": "3.0.0", + "saveSpec": null, + "fetchSpec": "3.0.0" }, - "license": "MIT", - "files": [ - "index.js" + "_requiredBy": [ + "/anymatch", + "/lint-staged" ], - "main": "index.js", - "engines": { - "node": ">=0.10.0" + "_resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "_spec": "3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Jon Schlinkert", + "url": "https://github.com/jonschlinkert" }, - "scripts": { - "test": "mocha" + "bugs": { + "url": "https://github.com/jonschlinkert/normalize-path/issues" }, + "contributors": [ + { + "name": "Blaine Bublitz", + "url": "https://twitter.com/BlaineBublitz" + }, + { + "name": "Jon Schlinkert", + "url": "http://twitter.com/jonschlinkert" + } + ], + "description": "Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.", "devDependencies": { "gulp-format-md": "^1.0.0", "minimist": "^1.2.0", "mocha": "^3.5.3" }, + "engines": { + "node": ">=0.10.0" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/jonschlinkert/normalize-path", "keywords": [ "absolute", "backslash", @@ -49,6 +80,16 @@ "unix", "urix" ], + "license": "MIT", + "main": "index.js", + "name": "normalize-path", + "repository": { + "type": "git", + "url": "git+https://github.com/jonschlinkert/normalize-path.git" + }, + "scripts": { + "test": "mocha" + }, "verb": { "toc": false, "layout": "default", @@ -73,5 +114,6 @@ "lint": { "reflinks": true } - } + }, + "version": "3.0.0" } diff --git a/node_modules/normalize-url/index.d.ts b/node_modules/normalize-url/index.d.ts deleted file mode 100644 index 7e332f2f6..000000000 --- a/node_modules/normalize-url/index.d.ts +++ /dev/null @@ -1,216 +0,0 @@ -declare namespace normalizeUrl { - interface Options { - /** - @default 'http:' - */ - readonly defaultProtocol?: string; - - /** - Prepends `defaultProtocol` to the URL if it's protocol-relative. - - @default true - - @example - ``` - normalizeUrl('//sindresorhus.com:80/'); - //=> 'http://sindresorhus.com' - - normalizeUrl('//sindresorhus.com:80/', {normalizeProtocol: false}); - //=> '//sindresorhus.com' - ``` - */ - readonly normalizeProtocol?: boolean; - - /** - Normalizes `https:` URLs to `http:`. - - @default false - - @example - ``` - normalizeUrl('https://sindresorhus.com:80/'); - //=> 'https://sindresorhus.com' - - normalizeUrl('https://sindresorhus.com:80/', {forceHttp: true}); - //=> 'http://sindresorhus.com' - ``` - */ - readonly forceHttp?: boolean; - - /** - Normalizes `http:` URLs to `https:`. - - This option can't be used with the `forceHttp` option at the same time. - - @default false - - @example - ``` - normalizeUrl('https://sindresorhus.com:80/'); - //=> 'https://sindresorhus.com' - - normalizeUrl('http://sindresorhus.com:80/', {forceHttps: true}); - //=> 'https://sindresorhus.com' - ``` - */ - readonly forceHttps?: boolean; - - /** - Strip the [authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) part of a URL. - - @default true - - @example - ``` - normalizeUrl('user:password@sindresorhus.com'); - //=> 'https://sindresorhus.com' - - normalizeUrl('user:password@sindresorhus.com', {stripAuthentication: false}); - //=> 'https://user:password@sindresorhus.com' - ``` - */ - readonly stripAuthentication?: boolean; - - /** - Removes hash from the URL. - - @default false - - @example - ``` - normalizeUrl('sindresorhus.com/about.html#contact'); - //=> 'http://sindresorhus.com/about.html#contact' - - normalizeUrl('sindresorhus.com/about.html#contact', {stripHash: true}); - //=> 'http://sindresorhus.com/about.html' - ``` - */ - readonly stripHash?: boolean; - - /** - Removes HTTP(S) protocol from an URL `http://sindresorhus.com` → `sindresorhus.com`. - - @default false - - @example - ``` - normalizeUrl('https://sindresorhus.com'); - //=> 'https://sindresorhus.com' - - normalizeUrl('sindresorhus.com', {stripProtocol: true}); - //=> 'sindresorhus.com' - ``` - */ - readonly stripProtocol?: boolean; - - /** - Removes `www.` from the URL. - - @default true - - @example - ``` - normalizeUrl('http://www.sindresorhus.com'); - //=> 'http://sindresorhus.com' - - normalizeUrl('http://www.sindresorhus.com', {stripWWW: false}); - //=> 'http://www.sindresorhus.com' - ``` - */ - readonly stripWWW?: boolean; - - /** - Removes query parameters that matches any of the provided strings or regexes. - - @default [/^utm_\w+/i] - - @example - ``` - normalizeUrl('www.sindresorhus.com?foo=bar&ref=test_ref', { - removeQueryParameters: ['ref'] - }); - //=> 'http://sindresorhus.com/?foo=bar' - ``` - */ - readonly removeQueryParameters?: ReadonlyArray; - - /** - Removes trailing slash. - - __Note__: Trailing slash is always removed if the URL doesn't have a pathname. - - @default true - - @example - ``` - normalizeUrl('http://sindresorhus.com/redirect/'); - //=> 'http://sindresorhus.com/redirect' - - normalizeUrl('http://sindresorhus.com/redirect/', {removeTrailingSlash: false}); - //=> 'http://sindresorhus.com/redirect/' - - normalizeUrl('http://sindresorhus.com/', {removeTrailingSlash: false}); - //=> 'http://sindresorhus.com' - ``` - */ - readonly removeTrailingSlash?: boolean; - - /** - Removes the default directory index file from path that matches any of the provided strings or regexes. - When `true`, the regex `/^index\.[a-z]+$/` is used. - - @default false - - @example - ``` - normalizeUrl('www.sindresorhus.com/foo/default.php', { - removeDirectoryIndex: [/^default\.[a-z]+$/] - }); - //=> 'http://sindresorhus.com/foo' - ``` - */ - readonly removeDirectoryIndex?: ReadonlyArray; - - /** - Sorts the query parameters alphabetically by key. - - @default true - - @example - ``` - normalizeUrl('www.sindresorhus.com?b=two&a=one&c=three', { - sortQueryParameters: false - }); - //=> 'http://sindresorhus.com/?b=two&a=one&c=three' - ``` - */ - readonly sortQueryParameters?: boolean; - } -} - -declare const normalizeUrl: { - /** - [Normalize](https://en.wikipedia.org/wiki/URL_normalization) a URL. - - @param url - URL to normalize, including [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs). - - @example - ``` - import normalizeUrl = require('normalize-url'); - - normalizeUrl('sindresorhus.com'); - //=> 'http://sindresorhus.com' - - normalizeUrl('HTTP://xn--xample-hva.com:80/?b=bar&a=foo'); - //=> 'http://êxample.com/?a=foo&b=bar' - ``` - */ - (url: string, options?: normalizeUrl.Options): string; - - // TODO: Remove this for the next major release, refactor the whole definition to: - // declare function normalizeUrl(url: string, options?: normalizeUrl.Options): string; - // export = normalizeUrl; - default: typeof normalizeUrl; -}; - -export = normalizeUrl; diff --git a/node_modules/normalize-url/index.js b/node_modules/normalize-url/index.js deleted file mode 100644 index 2ab7f5714..000000000 --- a/node_modules/normalize-url/index.js +++ /dev/null @@ -1,221 +0,0 @@ -'use strict'; -// TODO: Use the `URL` global when targeting Node.js 10 -const URLParser = typeof URL === 'undefined' ? require('url').URL : URL; - -// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs -const DATA_URL_DEFAULT_MIME_TYPE = 'text/plain'; -const DATA_URL_DEFAULT_CHARSET = 'us-ascii'; - -const testParameter = (name, filters) => { - return filters.some(filter => filter instanceof RegExp ? filter.test(name) : filter === name); -}; - -const normalizeDataURL = (urlString, {stripHash}) => { - const parts = urlString.match(/^data:([^,]*?),([^#]*?)(?:#(.*))?$/); - - if (!parts) { - throw new Error(`Invalid URL: ${urlString}`); - } - - const mediaType = parts[1].split(';'); - const body = parts[2]; - const hash = stripHash ? '' : parts[3]; - - let base64 = false; - - if (mediaType[mediaType.length - 1] === 'base64') { - mediaType.pop(); - base64 = true; - } - - // Lowercase MIME type - const mimeType = (mediaType.shift() || '').toLowerCase(); - const attributes = mediaType - .map(attribute => { - let [key, value = ''] = attribute.split('=').map(string => string.trim()); - - // Lowercase `charset` - if (key === 'charset') { - value = value.toLowerCase(); - - if (value === DATA_URL_DEFAULT_CHARSET) { - return ''; - } - } - - return `${key}${value ? `=${value}` : ''}`; - }) - .filter(Boolean); - - const normalizedMediaType = [ - ...attributes - ]; - - if (base64) { - normalizedMediaType.push('base64'); - } - - if (normalizedMediaType.length !== 0 || (mimeType && mimeType !== DATA_URL_DEFAULT_MIME_TYPE)) { - normalizedMediaType.unshift(mimeType); - } - - return `data:${normalizedMediaType.join(';')},${base64 ? body.trim() : body}${hash ? `#${hash}` : ''}`; -}; - -const normalizeUrl = (urlString, options) => { - options = { - defaultProtocol: 'http:', - normalizeProtocol: true, - forceHttp: false, - forceHttps: false, - stripAuthentication: true, - stripHash: false, - stripWWW: true, - removeQueryParameters: [/^utm_\w+/i], - removeTrailingSlash: true, - removeDirectoryIndex: false, - sortQueryParameters: true, - ...options - }; - - // TODO: Remove this at some point in the future - if (Reflect.has(options, 'normalizeHttps')) { - throw new Error('options.normalizeHttps is renamed to options.forceHttp'); - } - - if (Reflect.has(options, 'normalizeHttp')) { - throw new Error('options.normalizeHttp is renamed to options.forceHttps'); - } - - if (Reflect.has(options, 'stripFragment')) { - throw new Error('options.stripFragment is renamed to options.stripHash'); - } - - urlString = urlString.trim(); - - // Data URL - if (/^data:/i.test(urlString)) { - return normalizeDataURL(urlString, options); - } - - const hasRelativeProtocol = urlString.startsWith('//'); - const isRelativeUrl = !hasRelativeProtocol && /^\.*\//.test(urlString); - - // Prepend protocol - if (!isRelativeUrl) { - urlString = urlString.replace(/^(?!(?:\w+:)?\/\/)|^\/\//, options.defaultProtocol); - } - - const urlObj = new URLParser(urlString); - - if (options.forceHttp && options.forceHttps) { - throw new Error('The `forceHttp` and `forceHttps` options cannot be used together'); - } - - if (options.forceHttp && urlObj.protocol === 'https:') { - urlObj.protocol = 'http:'; - } - - if (options.forceHttps && urlObj.protocol === 'http:') { - urlObj.protocol = 'https:'; - } - - // Remove auth - if (options.stripAuthentication) { - urlObj.username = ''; - urlObj.password = ''; - } - - // Remove hash - if (options.stripHash) { - urlObj.hash = ''; - } - - // Remove duplicate slashes if not preceded by a protocol - if (urlObj.pathname) { - // TODO: Use the following instead when targeting Node.js 10 - // `urlObj.pathname = urlObj.pathname.replace(/(? { - if (/^(?!\/)/g.test(p1)) { - return `${p1}/`; - } - - return '/'; - }); - } - - // Decode URI octets - if (urlObj.pathname) { - urlObj.pathname = decodeURI(urlObj.pathname); - } - - // Remove directory index - if (options.removeDirectoryIndex === true) { - options.removeDirectoryIndex = [/^index\.[a-z]+$/]; - } - - if (Array.isArray(options.removeDirectoryIndex) && options.removeDirectoryIndex.length > 0) { - let pathComponents = urlObj.pathname.split('/'); - const lastComponent = pathComponents[pathComponents.length - 1]; - - if (testParameter(lastComponent, options.removeDirectoryIndex)) { - pathComponents = pathComponents.slice(0, pathComponents.length - 1); - urlObj.pathname = pathComponents.slice(1).join('/') + '/'; - } - } - - if (urlObj.hostname) { - // Remove trailing dot - urlObj.hostname = urlObj.hostname.replace(/\.$/, ''); - - // Remove `www.` - if (options.stripWWW && /^www\.([a-z\-\d]{2,63})\.([a-z.]{2,5})$/.test(urlObj.hostname)) { - // Each label should be max 63 at length (min: 2). - // The extension should be max 5 at length (min: 2). - // Source: https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names - urlObj.hostname = urlObj.hostname.replace(/^www\./, ''); - } - } - - // Remove query unwanted parameters - if (Array.isArray(options.removeQueryParameters)) { - for (const key of [...urlObj.searchParams.keys()]) { - if (testParameter(key, options.removeQueryParameters)) { - urlObj.searchParams.delete(key); - } - } - } - - // Sort query parameters - if (options.sortQueryParameters) { - urlObj.searchParams.sort(); - } - - if (options.removeTrailingSlash) { - urlObj.pathname = urlObj.pathname.replace(/\/$/, ''); - } - - // Take advantage of many of the Node `url` normalizations - urlString = urlObj.toString(); - - // Remove ending `/` - if ((options.removeTrailingSlash || urlObj.pathname === '/') && urlObj.hash === '') { - urlString = urlString.replace(/\/$/, ''); - } - - // Restore relative protocol, if applicable - if (hasRelativeProtocol && !options.normalizeProtocol) { - urlString = urlString.replace(/^http:\/\//, '//'); - } - - // Remove http/https - if (options.stripProtocol) { - urlString = urlString.replace(/^(?:https?:)?\/\//, ''); - } - - return urlString; -}; - -module.exports = normalizeUrl; -// TODO: Remove this for the next major release -module.exports.default = normalizeUrl; diff --git a/node_modules/normalize-url/license b/node_modules/normalize-url/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/normalize-url/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/normalize-url/package.json b/node_modules/normalize-url/package.json deleted file mode 100644 index b0d59e0c8..000000000 --- a/node_modules/normalize-url/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "normalize-url", - "version": "4.5.1", - "description": "Normalize a URL", - "license": "MIT", - "repository": "sindresorhus/normalize-url", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && nyc ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "normalize", - "url", - "uri", - "address", - "string", - "normalization", - "normalisation", - "query", - "querystring", - "simplify", - "strip", - "trim", - "canonical" - ], - "devDependencies": { - "ava": "^2.4.0", - "coveralls": "^3.0.6", - "nyc": "^14.1.1", - "tsd": "^0.8.0", - "xo": "^0.24.0" - } -} diff --git a/node_modules/normalize-url/readme.md b/node_modules/normalize-url/readme.md deleted file mode 100644 index a851fdd57..000000000 --- a/node_modules/normalize-url/readme.md +++ /dev/null @@ -1,232 +0,0 @@ -# normalize-url [![Build Status](https://travis-ci.org/sindresorhus/normalize-url.svg?branch=master)](https://travis-ci.org/sindresorhus/normalize-url) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/normalize-url/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/normalize-url?branch=master) - -> [Normalize](https://en.wikipedia.org/wiki/URL_normalization) a URL - -Useful when you need to display, store, deduplicate, sort, compare, etc, URLs. - - -## Install - -``` -$ npm install normalize-url -``` - - -## Usage - -```js -const normalizeUrl = require('normalize-url'); - -normalizeUrl('sindresorhus.com'); -//=> 'http://sindresorhus.com' - -normalizeUrl('HTTP://xn--xample-hva.com:80/?b=bar&a=foo'); -//=> 'http://êxample.com/?a=foo&b=bar' -``` - - -## API - -### normalizeUrl(url, options?) - -#### url - -Type: `string` - -URL to normalize, including [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs). - -#### options - -Type: `object` - -##### defaultProtocol - -Type: `string`
-Default: `http:` - -##### normalizeProtocol - -Type: `boolean`
-Default: `true` - -Prepend `defaultProtocol` to the URL if it's protocol-relative. - -```js -normalizeUrl('//sindresorhus.com:80/'); -//=> 'http://sindresorhus.com' - -normalizeUrl('//sindresorhus.com:80/', {normalizeProtocol: false}); -//=> '//sindresorhus.com' -``` - -##### forceHttp - -Type: `boolean`
-Default: `false` - -Normalize `https:` to `http:`. - -```js -normalizeUrl('https://sindresorhus.com:80/'); -//=> 'https://sindresorhus.com' - -normalizeUrl('https://sindresorhus.com:80/', {forceHttp: true}); -//=> 'http://sindresorhus.com' -``` - -##### forceHttps - -Type: `boolean`
-Default: `false` - -Normalize `http:` to `https:`. - -```js -normalizeUrl('https://sindresorhus.com:80/'); -//=> 'https://sindresorhus.com' - -normalizeUrl('http://sindresorhus.com:80/', {forceHttps: true}); -//=> 'https://sindresorhus.com' -``` - -This option can't be used with the `forceHttp` option at the same time. - -##### stripAuthentication - -Type: `boolean`
-Default: `true` - -Strip the [authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) part of the URL. - -```js -normalizeUrl('user:password@sindresorhus.com'); -//=> 'https://sindresorhus.com' - -normalizeUrl('user:password@sindresorhus.com', {stripAuthentication: false}); -//=> 'https://user:password@sindresorhus.com' -``` - -##### stripHash - -Type: `boolean`
-Default: `false` - -Strip the hash part of the URL. - -```js -normalizeUrl('sindresorhus.com/about.html#contact'); -//=> 'http://sindresorhus.com/about.html#contact' - -normalizeUrl('sindresorhus.com/about.html#contact', {stripHash: true}); -//=> 'http://sindresorhus.com/about.html' -``` - -##### stripProtocol - -Type: `boolean`
-Default: `false` - -Remove HTTP(S) protocol from the URL: `http://sindresorhus.com` → `sindresorhus.com`. - -```js -normalizeUrl('https://sindresorhus.com'); -//=> 'https://sindresorhus.com' - -normalizeUrl('sindresorhus.com', {stripProtocol: true}); -//=> 'sindresorhus.com' -``` - -##### stripWWW - -Type: `boolean`
-Default: `true` - -Remove `www.` from the URL. - -```js -normalizeUrl('http://www.sindresorhus.com'); -//=> 'http://sindresorhus.com' - -normalizeUrl('http://www.sindresorhus.com', {stripWWW: false}); -//=> 'http://www.sindresorhus.com' -``` - -##### removeQueryParameters - -Type: `Array`
-Default: `[/^utm_\w+/i]` - -Remove query parameters that matches any of the provided strings or regexes. - -```js -normalizeUrl('www.sindresorhus.com?foo=bar&ref=test_ref', { - removeQueryParameters: ['ref'] -}); -//=> 'http://sindresorhus.com/?foo=bar' -``` - -##### removeTrailingSlash - -Type: `boolean`
-Default: `true` - -Remove trailing slash. - -**Note:** Trailing slash is always removed if the URL doesn't have a pathname. - -```js -normalizeUrl('http://sindresorhus.com/redirect/'); -//=> 'http://sindresorhus.com/redirect' - -normalizeUrl('http://sindresorhus.com/redirect/', {removeTrailingSlash: false}); -//=> 'http://sindresorhus.com/redirect/' - -normalizeUrl('http://sindresorhus.com/', {removeTrailingSlash: false}); -//=> 'http://sindresorhus.com' -``` - -##### removeDirectoryIndex - -Type: `boolean | Array`
-Default: `false` - -Removes the default directory index file from path that matches any of the provided strings or regexes. When `true`, the regex `/^index\.[a-z]+$/` is used. - -```js -normalizeUrl('www.sindresorhus.com/foo/default.php', { - removeDirectoryIndex: [/^default\.[a-z]+$/] -}); -//=> 'http://sindresorhus.com/foo' -``` - -##### sortQueryParameters - -Type: `boolean`
-Default: `true` - -Sorts the query parameters alphabetically by key. - -```js -normalizeUrl('www.sindresorhus.com?b=two&a=one&c=three', { - sortQueryParameters: false -}); -//=> 'http://sindresorhus.com/?b=two&a=one&c=three' -``` - - -## Related - -- [compare-urls](https://github.com/sindresorhus/compare-urls) - Compare URLs by first normalizing them - - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/npm-run-path/package.json b/node_modules/npm-run-path/package.json index feb8c00b1..1ea9b85ed 100644 --- a/node_modules/npm-run-path/package.json +++ b/node_modules/npm-run-path/package.json @@ -1,44 +1,81 @@ { - "name": "npm-run-path", - "version": "4.0.1", - "description": "Get your PATH prepended with locally installed binaries", - "license": "MIT", - "repository": "sindresorhus/npm-run-path", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "npm", - "run", - "path", - "package", - "bin", - "binary", - "binaries", - "script", - "cli", - "command-line", - "execute", - "executable" - ], - "dependencies": { - "path-key": "^3.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "npm-run-path@4.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "npm-run-path@4.0.1", + "_id": "npm-run-path@4.0.1", + "_inBundle": false, + "_integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "_location": "/npm-run-path", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "npm-run-path@4.0.1", + "name": "npm-run-path", + "escapedName": "npm-run-path", + "rawSpec": "4.0.1", + "saveSpec": null, + "fetchSpec": "4.0.1" + }, + "_requiredBy": [ + "/execa", + "/lint-staged/execa" + ], + "_resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "_spec": "4.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/npm-run-path/issues" + }, + "dependencies": { + "path-key": "^3.0.0" + }, + "description": "Get your PATH prepended with locally installed binaries", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/npm-run-path#readme", + "keywords": [ + "npm", + "run", + "path", + "package", + "bin", + "binary", + "binaries", + "script", + "cli", + "command-line", + "execute", + "executable" + ], + "license": "MIT", + "name": "npm-run-path", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/npm-run-path.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.0.1" } diff --git a/node_modules/nwsapi/package.json b/node_modules/nwsapi/package.json index 33e4fca9b..13dcea299 100644 --- a/node_modules/nwsapi/package.json +++ b/node_modules/nwsapi/package.json @@ -1,9 +1,46 @@ { - "name": "nwsapi", - "version": "2.2.0", + "_args": [ + [ + "nwsapi@2.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "nwsapi@2.2.0", + "_id": "nwsapi@2.2.0", + "_inBundle": false, + "_integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", + "_location": "/nwsapi", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "nwsapi@2.2.0", + "name": "nwsapi", + "escapedName": "nwsapi", + "rawSpec": "2.2.0", + "saveSpec": null, + "fetchSpec": "2.2.0" + }, + "_requiredBy": [ + "/jsdom" + ], + "_resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", + "_spec": "2.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Diego Perini", + "email": "diego.perini@gmail.com", + "url": "http://www.iport.it/" + }, + "bugs": { + "url": "http://github.com/dperini/nwsapi/issues" + }, "description": "Fast CSS Selectors API Engine", + "directories": { + "test": "test" + }, "homepage": "http://javascript.nwbox.com/nwsapi/", - "main": "./src/nwsapi", "keywords": [ "css", "css3", @@ -11,20 +48,22 @@ "matcher", "selector" ], + "license": "MIT", "licenses": [ { "type": "MIT", "url": "http://javascript.nwbox.com/nwsapi/MIT-LICENSE" } ], - "license": "MIT", - "author": "Diego Perini (http://www.iport.it/)", + "main": "./src/nwsapi", "maintainers": [ - "Diego Perini (http://www.iport.it/)" + { + "name": "Diego Perini", + "email": "diego.perini@gmail.com", + "url": "http://www.iport.it/" + } ], - "bugs": { - "url": "http://github.com/dperini/nwsapi/issues" - }, + "name": "nwsapi", "repository": { "type": "git", "url": "git://github.com/dperini/nwsapi.git" @@ -32,7 +71,5 @@ "scripts": { "lint": "eslint ./src/nwsapi.js" }, - "directories": { - "test": "test" - } + "version": "2.2.0" } diff --git a/node_modules/on-finished/package.json b/node_modules/on-finished/package.json index b9df1bd20..4a7ae1547 100644 --- a/node_modules/on-finished/package.json +++ b/node_modules/on-finished/package.json @@ -1,16 +1,53 @@ { - "name": "on-finished", - "description": "Execute a callback when a request closes, finishes, or errors", - "version": "2.3.0", + "_args": [ + [ + "on-finished@2.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "on-finished@2.3.0", + "_id": "on-finished@2.3.0", + "_inBundle": false, + "_integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "_location": "/on-finished", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "on-finished@2.3.0", + "name": "on-finished", + "escapedName": "on-finished", + "rawSpec": "2.3.0", + "saveSpec": null, + "fetchSpec": "2.3.0" + }, + "_requiredBy": [ + "/body-parser", + "/express", + "/finalhandler", + "/send" + ], + "_resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "_spec": "2.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/jshttp/on-finished/issues" + }, "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)" + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } ], - "license": "MIT", - "repository": "jshttp/on-finished", "dependencies": { "ee-first": "1.1.1" }, + "description": "Execute a callback when a request closes, finishes, or errors", "devDependencies": { "istanbul": "0.3.9", "mocha": "2.2.5" @@ -23,9 +60,17 @@ "LICENSE", "index.js" ], + "homepage": "https://github.com/jshttp/on-finished#readme", + "license": "MIT", + "name": "on-finished", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/on-finished.git" + }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - } + }, + "version": "2.3.0" } diff --git a/node_modules/once/package.json b/node_modules/once/package.json index 16815b2fa..2759c33de 100644 --- a/node_modules/once/package.json +++ b/node_modules/once/package.json @@ -1,33 +1,73 @@ { - "name": "once", - "version": "1.4.0", - "description": "Run a function exactly one time", - "main": "once.js", - "directories": { - "test": "test" + "_args": [ + [ + "once@1.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "once@1.4.0", + "_id": "once@1.4.0", + "_inBundle": false, + "_integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "_location": "/once", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "once@1.4.0", + "name": "once", + "escapedName": "once", + "rawSpec": "1.4.0", + "saveSpec": null, + "fetchSpec": "1.4.0" + }, + "_requiredBy": [ + "/@octokit/request-error", + "/end-of-stream", + "/glob", + "/inflight", + "/pump" + ], + "_resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "_spec": "1.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me/" + }, + "bugs": { + "url": "https://github.com/isaacs/once/issues" }, "dependencies": { "wrappy": "1" }, + "description": "Run a function exactly one time", "devDependencies": { "tap": "^7.0.1" }, - "scripts": { - "test": "tap test/*.js" + "directories": { + "test": "test" }, "files": [ "once.js" ], - "repository": { - "type": "git", - "url": "git://github.com/isaacs/once" - }, + "homepage": "https://github.com/isaacs/once#readme", "keywords": [ "once", "function", "one", "single" ], - "author": "Isaac Z. Schlueter (http://blog.izs.me/)", - "license": "ISC" + "license": "ISC", + "main": "once.js", + "name": "once", + "repository": { + "type": "git", + "url": "git://github.com/isaacs/once.git" + }, + "scripts": { + "test": "tap test/*.js" + }, + "version": "1.4.0" } diff --git a/node_modules/onetime/package.json b/node_modules/onetime/package.json index 54caea5a8..ccc02cf86 100644 --- a/node_modules/onetime/package.json +++ b/node_modules/onetime/package.json @@ -1,43 +1,81 @@ { - "name": "onetime", - "version": "5.1.2", - "description": "Ensure a function is only called once", - "license": "MIT", - "repository": "sindresorhus/onetime", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "once", - "function", - "one", - "onetime", - "func", - "fn", - "single", - "call", - "called", - "prevent" - ], - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.1", - "xo": "^0.24.0" - } + "_args": [ + [ + "onetime@5.1.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "onetime@5.1.2", + "_id": "onetime@5.1.2", + "_inBundle": false, + "_integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "_location": "/onetime", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "onetime@5.1.2", + "name": "onetime", + "escapedName": "onetime", + "rawSpec": "5.1.2", + "saveSpec": null, + "fetchSpec": "5.1.2" + }, + "_requiredBy": [ + "/execa", + "/lint-staged/execa", + "/restore-cursor" + ], + "_resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "_spec": "5.1.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/onetime/issues" + }, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "description": "Ensure a function is only called once", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.1", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/onetime#readme", + "keywords": [ + "once", + "function", + "one", + "onetime", + "func", + "fn", + "single", + "call", + "called", + "prevent" + ], + "license": "MIT", + "name": "onetime", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/onetime.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "5.1.2" } diff --git a/node_modules/open/index.d.ts b/node_modules/open/index.d.ts index 38cc910ec..9c8f2a39b 100644 --- a/node_modules/open/index.d.ts +++ b/node_modules/open/index.d.ts @@ -1,4 +1,3 @@ -/// import {ChildProcess} from 'child_process'; declare namespace open { @@ -24,47 +23,131 @@ declare namespace open { readonly background?: boolean; /** - Specify the app to open the `target` with, or an array with the app and app arguments. + __macOS only__ + + Open a new instance of the app even it's already running. + + A new instance is always opened on other platforms. + + @default false + */ + readonly newInstance?: boolean; - The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. + /** + Specify the `name` of the app to open the `target` with, and optionally, app `arguments`. `app` can be an array of apps to try to open and `name` can be an array of app names to try. If each app fails, the last error will be thrown. + + The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. If possible, use [`open.apps`](#openapps) which auto-detects the correct binary to use. You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome. + + The app `arguments` are app dependent. Check the app's documentation for what arguments it accepts. */ - readonly app?: string | readonly string[]; + readonly app?: App | readonly App[]; + + /** + Allow the opened app to exit with nonzero exit code when the `wait` option is `true`. + + We do not recommend setting this option. The convention for success is exit code zero. + + @default false + */ + readonly allowNonzeroExitCode?: boolean; } + + interface OpenAppOptions extends Omit { + /** + Arguments passed to the app. + + These arguments are app dependent. Check the app's documentation for what arguments it accepts. + */ + readonly arguments?: readonly string[]; + } + + type AppName = + | 'chrome' + | 'firefox' + | 'edge'; + + type App = { + name: string | readonly string[]; + arguments?: readonly string[]; + }; } -/** -Open stuff like URLs, files, executables. Cross-platform. +// eslint-disable-next-line no-redeclare +declare const open: { + /** + Open stuff like URLs, files, executables. Cross-platform. + + Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms. -Uses the command `open` on OS X, `start` on Windows and `xdg-open` on other platforms. + There is a caveat for [double-quotes on Windows](https://github.com/sindresorhus/open#double-quotes-on-windows) where all double-quotes are stripped from the `target`. -@param target - The thing you want to open. Can be a URL, file, or executable. Opens in the default app for the file type. For example, URLs open in your default browser. -@returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. + @param target - The thing you want to open. Can be a URL, file, or executable. Opens in the default app for the file type. For example, URLs open in your default browser. + @returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. -@example -``` -import open = require('open'); + @example + ``` + import open = require('open'); -// Opens the image in the default image viewer -(async () => { + // Opens the image in the default image viewer await open('unicorn.png', {wait: true}); console.log('The image viewer app closed'); // Opens the url in the default browser await open('https://sindresorhus.com'); - // Specify the app to open in - await open('https://sindresorhus.com', {app: 'firefox'}); - - // Specify app arguments - await open('https://sindresorhus.com', {app: ['google chrome', '--incognito']}); -})(); -``` -*/ -declare function open( - target: string, - options?: open.Options -): Promise; + // Opens the URL in a specified browser. + await open('https://sindresorhus.com', {app: {name: 'firefox'}}); + + // Specify app arguments. + await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: ['--incognito']}}); + ``` + */ + ( + target: string, + options?: open.Options + ): Promise; + + /** + An object containing auto-detected binary names for common apps. Useful to work around cross-platform differences. + + @example + ``` + import open = require('open'); + + await open('https://google.com', { + app: { + name: open.apps.chrome + } + }); + ``` + */ + apps: Record; + + /** + Open an app. Cross-platform. + + Uses the command `open` on macOS, `start` on Windows and `xdg-open` on other platforms. + + @param name - The app you want to open. Can be either builtin supported `open.apps` names or other name supported in platform. + @returns The [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. + + @example + ``` + const {apps, openApp} = require('open'); + + // Open Firefox + await openApp(apps.firefox); + + // Open Chrome incognito mode + await openApp(apps.chrome, {arguments: ['--incognito']}); + + // Open Xcode + await openApp('xcode'); + ``` + */ + openApp: (name: open.App['name'], options?: open.OpenAppOptions) => Promise; +}; export = open; diff --git a/node_modules/open/index.js b/node_modules/open/index.js index feea5b5b4..290b4ec00 100644 --- a/node_modules/open/index.js +++ b/node_modules/open/index.js @@ -1,45 +1,108 @@ -'use strict'; -const {promisify} = require('util'); const path = require('path'); const childProcess = require('child_process'); -const fs = require('fs'); +const {promises: fs, constants: fsConstants} = require('fs'); const isWsl = require('is-wsl'); +const isDocker = require('is-docker'); +const defineLazyProperty = require('define-lazy-prop'); -const pAccess = promisify(fs.access); -const pExecFile = promisify(childProcess.execFile); - -// Path to included `xdg-open` +// Path to included `xdg-open`. const localXdgOpenPath = path.join(__dirname, 'xdg-open'); -// Convert a path from WSL format to Windows format: -// `/mnt/c/Program Files/Example/MyApp.exe` → `C:\Program Files\Example\MyApp.exe` -const wslToWindowsPath = async path => { - const {stdout} = await pExecFile('wslpath', ['-w', path]); - return stdout.trim(); -}; +const {platform, arch} = process; -module.exports = async (target, options) => { - if (typeof target !== 'string') { - throw new TypeError('Expected a `target`'); +/** +Get the mount point for fixed drives in WSL. + +@inner +@returns {string} The mount point. +*/ +const getWslDrivesMountPoint = (() => { + // Default value for "root" param + // according to https://docs.microsoft.com/en-us/windows/wsl/wsl-config + const defaultMountPoint = '/mnt/'; + + let mountPoint; + + return async function () { + if (mountPoint) { + // Return memoized mount point value + return mountPoint; + } + + const configFilePath = '/etc/wsl.conf'; + + let isConfigFileExists = false; + try { + await fs.access(configFilePath, fsConstants.F_OK); + isConfigFileExists = true; + } catch {} + + if (!isConfigFileExists) { + return defaultMountPoint; + } + + const configContent = await fs.readFile(configFilePath, {encoding: 'utf8'}); + const configMountPoint = /(?.*)/g.exec(configContent); + + if (!configMountPoint) { + return defaultMountPoint; + } + + mountPoint = configMountPoint.groups.mountPoint.trim(); + mountPoint = mountPoint.endsWith('/') ? mountPoint : `${mountPoint}/`; + + return mountPoint; + }; +})(); + +const pTryEach = async (array, mapper) => { + let latestError; + + for (const item of array) { + try { + return await mapper(item); // eslint-disable-line no-await-in-loop + } catch (error) { + latestError = error; + } } + throw latestError; +}; + +const baseOpen = async options => { options = { wait: false, background: false, + newInstance: false, + allowNonzeroExitCode: false, ...options }; + if (Array.isArray(options.app)) { + return pTryEach(options.app, singleApp => baseOpen({ + ...options, + app: singleApp + })); + } + + let {name: app, arguments: appArguments = []} = options.app || {}; + appArguments = [...appArguments]; + + if (Array.isArray(app)) { + return pTryEach(app, appName => baseOpen({ + ...options, + app: { + name: appName, + arguments: appArguments + } + })); + } + let command; - let appArguments = []; const cliArguments = []; const childProcessOptions = {}; - if (Array.isArray(options.app)) { - appArguments = options.app.slice(1); - options.app = options.app[0]; - } - - if (process.platform === 'darwin') { + if (platform === 'darwin') { command = 'open'; if (options.wait) { @@ -50,33 +113,59 @@ module.exports = async (target, options) => { cliArguments.push('--background'); } - if (options.app) { - cliArguments.push('-a', options.app); + if (options.newInstance) { + cliArguments.push('--new'); } - } else if (process.platform === 'win32' || isWsl) { - command = 'cmd' + (isWsl ? '.exe' : ''); - cliArguments.push('/c', 'start', '""', '/b'); - target = target.replace(/&/g, '^&'); + + if (app) { + cliArguments.push('-a', app); + } + } else if (platform === 'win32' || (isWsl && !isDocker())) { + const mountPoint = await getWslDrivesMountPoint(); + + command = isWsl ? + `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : + `${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`; + + cliArguments.push( + '-NoProfile', + '-NonInteractive', + '–ExecutionPolicy', + 'Bypass', + '-EncodedCommand' + ); + + if (!isWsl) { + childProcessOptions.windowsVerbatimArguments = true; + } + + const encodedArguments = ['Start']; if (options.wait) { - cliArguments.push('/wait'); + encodedArguments.push('-Wait'); } - if (options.app) { - if (isWsl && options.app.startsWith('/mnt/')) { - const windowsPath = await wslToWindowsPath(options.app); - options.app = windowsPath; + if (app) { + // Double quote with double quotes to ensure the inner quotes are passed through. + // Inner quotes are delimited for PowerShell interpretation with backticks. + encodedArguments.push(`"\`"${app}\`""`, '-ArgumentList'); + if (options.target) { + appArguments.unshift(options.target); } - - cliArguments.push(options.app); + } else if (options.target) { + encodedArguments.push(`"${options.target}"`); } if (appArguments.length > 0) { - cliArguments.push(...appArguments); + appArguments = appArguments.map(arg => `"\`"${arg}\`""`); + encodedArguments.push(appArguments.join(',')); } + + // Using Base64-encoded command, accepted by PowerShell, to allow special characters. + options.target = Buffer.from(encodedArguments.join(' '), 'utf16le').toString('base64'); } else { - if (options.app) { - command = options.app; + if (app) { + command = app; } else { // When bundled by Webpack, there's no actual package file path and no local `xdg-open`. const isBundled = !__dirname || __dirname === '/'; @@ -84,12 +173,12 @@ module.exports = async (target, options) => { // Check if local `xdg-open` exists and is executable. let exeLocalXdgOpen = false; try { - await pAccess(localXdgOpenPath, fs.constants.X_OK); + await fs.access(localXdgOpenPath, fsConstants.X_OK); exeLocalXdgOpen = true; - } catch (error) {} + } catch {} const useSystemXdgOpen = process.versions.electron || - process.platform === 'android' || isBundled || !exeLocalXdgOpen; + platform === 'android' || isBundled || !exeLocalXdgOpen; command = useSystemXdgOpen ? 'xdg-open' : localXdgOpenPath; } @@ -105,9 +194,11 @@ module.exports = async (target, options) => { } } - cliArguments.push(target); + if (options.target) { + cliArguments.push(options.target); + } - if (process.platform === 'darwin' && appArguments.length > 0) { + if (platform === 'darwin' && appArguments.length > 0) { cliArguments.push('--args', ...appArguments); } @@ -118,7 +209,7 @@ module.exports = async (target, options) => { subprocess.once('error', reject); subprocess.once('close', exitCode => { - if (exitCode > 0) { + if (options.allowNonzeroExitCode && exitCode > 0) { reject(new Error(`Exited with code ${exitCode}`)); return; } @@ -132,3 +223,93 @@ module.exports = async (target, options) => { return subprocess; }; + +const open = (target, options) => { + if (typeof target !== 'string') { + throw new TypeError('Expected a `target`'); + } + + return baseOpen({ + ...options, + target + }); +}; + +const openApp = (name, options) => { + if (typeof name !== 'string') { + throw new TypeError('Expected a `name`'); + } + + const {arguments: appArguments = []} = options || {}; + if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) { + throw new TypeError('Expected `appArguments` as Array type'); + } + + return baseOpen({ + ...options, + app: { + name, + arguments: appArguments + } + }); +}; + +function detectArchBinary(binary) { + if (typeof binary === 'string' || Array.isArray(binary)) { + return binary; + } + + const {[arch]: archBinary} = binary; + + if (!archBinary) { + throw new Error(`${arch} is not supported`); + } + + return archBinary; +} + +function detectPlatformBinary({[platform]: platformBinary}, {wsl}) { + if (wsl && isWsl) { + return detectArchBinary(wsl); + } + + if (!platformBinary) { + throw new Error(`${platform} is not supported`); + } + + return detectArchBinary(platformBinary); +} + +const apps = {}; + +defineLazyProperty(apps, 'chrome', () => detectPlatformBinary({ + darwin: 'google chrome', + win32: 'chrome', + linux: ['google-chrome', 'google-chrome-stable', 'chromium'] +}, { + wsl: { + ia32: '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe', + x64: ['/mnt/c/Program Files/Google/Chrome/Application/chrome.exe', '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'] + } +})); + +defineLazyProperty(apps, 'firefox', () => detectPlatformBinary({ + darwin: 'firefox', + win32: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe', + linux: 'firefox' +}, { + wsl: '/mnt/c/Program Files/Mozilla Firefox/firefox.exe' +})); + +defineLazyProperty(apps, 'edge', () => detectPlatformBinary({ + darwin: 'microsoft edge', + win32: 'msedge', + linux: ['microsoft-edge', 'microsoft-edge-dev'] +}, { + wsl: '/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe' +})); + +open.apps = apps; +open.openApp = openApp; + +module.exports = open; diff --git a/node_modules/open/license b/node_modules/open/license index e7af2f771..fa7ceba3e 100644 --- a/node_modules/open/license +++ b/node_modules/open/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) Sindre Sorhus (sindresorhus.com) +Copyright (c) Sindre Sorhus (https://sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/node_modules/open/node_modules/is-wsl/index.js b/node_modules/open/node_modules/is-wsl/index.js deleted file mode 100644 index ade6cda63..000000000 --- a/node_modules/open/node_modules/is-wsl/index.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict'; -const os = require('os'); -const fs = require('fs'); - -const isWsl = () => { - if (process.platform !== 'linux') { - return false; - } - - if (os.release().includes('Microsoft')) { - return true; - } - - try { - return fs.readFileSync('/proc/version', 'utf8').includes('Microsoft'); - } catch (err) { - return false; - } -}; - -if (process.env.__IS_WSL_TEST__) { - module.exports = isWsl; -} else { - module.exports = isWsl(); -} diff --git a/node_modules/open/node_modules/is-wsl/license b/node_modules/open/node_modules/is-wsl/license deleted file mode 100644 index 654d0bfe9..000000000 --- a/node_modules/open/node_modules/is-wsl/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/open/node_modules/is-wsl/package.json b/node_modules/open/node_modules/is-wsl/package.json deleted file mode 100644 index 55961402c..000000000 --- a/node_modules/open/node_modules/is-wsl/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "is-wsl", - "version": "1.1.0", - "description": "Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)", - "license": "MIT", - "repository": "sindresorhus/is-wsl", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "check", - "wsl", - "windows", - "subsystem", - "linux", - "detect", - "bash", - "process", - "console", - "terminal", - "is" - ], - "devDependencies": { - "ava": "*", - "clear-require": "^2.0.0", - "proxyquire": "^1.7.11", - "xo": "*" - } -} diff --git a/node_modules/open/node_modules/is-wsl/readme.md b/node_modules/open/node_modules/is-wsl/readme.md deleted file mode 100644 index 7ab40c57b..000000000 --- a/node_modules/open/node_modules/is-wsl/readme.md +++ /dev/null @@ -1,28 +0,0 @@ -# is-wsl [![Build Status](https://travis-ci.org/sindresorhus/is-wsl.svg?branch=master)](https://travis-ci.org/sindresorhus/is-wsl) - -> Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows) - -Can be useful if you need to work around unimplemented or buggy features in WSL. - - -## Install - -``` -$ npm install --save is-wsl -``` - - -## Usage - -```js -const isWsl = require('is-wsl'); - -// When running inside Windows Subsystem for Linux -console.log(isWsl); -//=> true -``` - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/open/package.json b/node_modules/open/package.json index c05d03b29..af4c83e95 100644 --- a/node_modules/open/package.json +++ b/node_modules/open/package.json @@ -1,58 +1,93 @@ { - "name": "open", - "version": "6.4.0", - "description": "Open stuff like URLs, files, executables. Cross-platform.", - "license": "MIT", - "repository": "sindresorhus/open", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "xdg-open" - ], - "keywords": [ - "app", - "open", - "opener", - "opens", - "launch", - "start", - "xdg-open", - "xdg", - "default", - "cmd", - "browser", - "editor", - "executable", - "exe", - "url", - "urls", - "arguments", - "args", - "spawn", - "exec", - "child", - "process", - "website", - "file" - ], - "dependencies": { - "is-wsl": "^1.1.0" - }, - "devDependencies": { - "@types/node": "^11.13.6", - "ava": "^1.4.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_from": "open@^8.4.0", + "_id": "open@8.4.0", + "_inBundle": false, + "_integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "_location": "/open", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "open@^8.4.0", + "name": "open", + "escapedName": "open", + "rawSpec": "^8.4.0", + "saveSpec": null, + "fetchSpec": "^8.4.0" + }, + "_requiredBy": [ + "/lighthouse" + ], + "_resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", + "_shasum": "345321ae18f8138f82565a910fdc6b39e8c244f8", + "_spec": "open@^8.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/open/issues" + }, + "bundleDependencies": false, + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "deprecated": false, + "description": "Open stuff like URLs, files, executables. Cross-platform.", + "devDependencies": { + "@types/node": "^15.0.0", + "ava": "^3.15.0", + "tsd": "^0.14.0", + "xo": "^0.39.1" + }, + "engines": { + "node": ">=12" + }, + "files": [ + "index.js", + "index.d.ts", + "xdg-open" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/open#readme", + "keywords": [ + "app", + "open", + "opener", + "opens", + "launch", + "start", + "xdg-open", + "xdg", + "default", + "cmd", + "browser", + "editor", + "executable", + "exe", + "url", + "urls", + "arguments", + "args", + "spawn", + "exec", + "child", + "process", + "website", + "file" + ], + "license": "MIT", + "name": "open", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/open.git" + }, + "scripts": { + "test": "xo && tsd" + }, + "version": "8.4.0" } diff --git a/node_modules/open/readme.md b/node_modules/open/readme.md index b83feb8dd..18794a2e9 100644 --- a/node_modules/open/readme.md +++ b/node_modules/open/readme.md @@ -2,19 +2,20 @@ > Open stuff like URLs, files, executables. Cross-platform. -If need this for Electron, use [`shell.openItem()`](https://electronjs.org/docs/api/shell#shellopenitemfullpath) instead. +This is meant to be used in command-line tools and scripts, not in the browser. -Note: The original [`open` package](https://github.com/pwnall/node-open) was recently deprecated in favor of this package, and we got the name, so this package is now named `open` instead of `opn`. If you're upgrading from the original `open` package (`open@0.0.5` or lower), keep in mind that the API is different. +If you need this for Electron, use [`shell.openPath()`](https://www.electronjs.org/docs/api/shell#shellopenpathpath) instead. + +This package does not make any security guarantees. If you pass in untrusted input, it's up to you to properly sanitize it. #### Why? - Actively maintained. - Supports app arguments. - Safer as it uses `spawn` instead of `exec`. -- Fixes most of the open original `node-open` issues. -- Includes the latest [`xdg-open` script](http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=c55122295c2a480fa721a9614f0e2d42b2949c18) for Linux. -- Supports WSL paths to Windows apps under `/mnt/*`. - +- Fixes most of the original `node-open` issues. +- Includes the latest [`xdg-open` script](https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=c55122295c2a480fa721a9614f0e2d42b2949c18) for Linux. +- Supports WSL paths to Windows apps. ## Install @@ -22,28 +23,30 @@ Note: The original [`open` package](https://github.com/pwnall/node-open) was rec $ npm install open ``` - ## Usage ```js const open = require('open'); -(async () => { - // Opens the image in the default image viewer and waits for the opened app to quit - await open('unicorn.png', {wait: true}); - console.log('The image viewer app quit'); +// Opens the image in the default image viewer and waits for the opened app to quit. +await open('unicorn.png', {wait: true}); +console.log('The image viewer app quit'); - // Opens the URL in the default browser - await open('https://sindresorhus.com'); +// Opens the URL in the default browser. +await open('https://sindresorhus.com'); - // Opens the URL in a specified browser - await open('https://sindresorhus.com', {app: 'firefox'}); +// Opens the URL in a specified browser. +await open('https://sindresorhus.com', {app: {name: 'firefox'}}); - // Specify app arguments - await open('https://sindresorhus.com', {app: ['google chrome', '--incognito']}); -})(); -``` +// Specify app arguments. +await open('https://sindresorhus.com', {app: {name: 'google chrome', arguments: ['--incognito']}}); + +// Open an app +await open.openApp('xcode'); +// Open an app with arguments +await open.openApp(open.apps.chrome, {arguments: ['--incognito']}); +``` ## API @@ -67,7 +70,7 @@ Type: `object` ##### wait -Type: `boolean`
+Type: `boolean`\ Default: `false` Wait for the opened app to exit before fulfilling the promise. If `false` it's fulfilled immediately when opening the app. @@ -78,28 +81,95 @@ On Windows, you have to explicitly specify an app for it to be able to wait. ##### background (macOS only) -Type: `boolean`
+Type: `boolean`\ Default: `false` Do not bring the app to the foreground. +##### newInstance (macOS only) + +Type: `boolean`\ +Default: `false` + +Open a new instance of the app even it's already running. + +A new instance is always opened on other platforms. + ##### app -Type: `string | string[]` +Type: `{name: string | string[], arguments?: string[]} | Array<{name: string | string[], arguments: string[]}>` -Specify the app to open the `target` with, or an array with the app and app arguments. +Specify the `name` of the app to open the `target` with, and optionally, app `arguments`. `app` can be an array of apps to try to open and `name` can be an array of app names to try. If each app fails, the last error will be thrown. -The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. +The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. If possible, use [`open.apps`](#openapps) which auto-detects the correct binary to use. You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome. +The app `arguments` are app dependent. Check the app's documentation for what arguments it accepts. + +##### allowNonzeroExitCode + +Type: `boolean`\ +Default: `false` + +Allow the opened app to exit with nonzero exit code when the `wait` option is `true`. + +We do not recommend setting this option. The convention for success is exit code zero. + +### open.apps + +An object containing auto-detected binary names for common apps. Useful to work around [cross-platform differences](#app). + +```js +const open = require('open'); + +await open('https://google.com', { + app: { + name: open.apps.chrome + } +}); +``` + +#### Supported apps + +- [`chrome`](https://www.google.com/chrome) - Web browser +- [`firefox`](https://www.mozilla.org/firefox) - Web browser +- [`edge`](https://www.microsoft.com/edge) - Web browser + +### open.openApp(name, options?) + +Open an app. + +Returns a promise for the [spawned child process](https://nodejs.org/api/child_process.html#child_process_class_childprocess). You would normally not need to use this for anything, but it can be useful if you'd like to attach custom event listeners or perform other operations directly on the spawned process. + +#### name + +Type: `string` + +The app name is platform dependent. Don't hard code it in reusable modules. For example, Chrome is `google chrome` on macOS, `google-chrome` on Linux and `chrome` on Windows. If possible, use [`open.apps`](#openapps) which auto-detects the correct binary to use. + +You may also pass in the app's full path. For example on WSL, this can be `/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe` for the Windows installation of Chrome. + +#### options + +Type: `object` + +Same options as [`open`](#options) except `app` and with the following additions: + +##### arguments + +Type: `string[]`\ +Default: `[]` + +Arguments passed to the app. + +These arguments are app dependent. Check the app's documentation for what arguments it accepts. ## Related - [open-cli](https://github.com/sindresorhus/open-cli) - CLI for this module - [open-editor](https://github.com/sindresorhus/open-editor) - Open files in your editor at a specific line and column - ---
diff --git a/node_modules/open/xdg-open b/node_modules/open/xdg-open index faaea7ffc..b392fbff4 100755 --- a/node_modules/open/xdg-open +++ b/node_modules/open/xdg-open @@ -926,7 +926,7 @@ open_generic() if [ x"$BROWSER" = x"" ]; then BROWSER=www-browser:links2:elinks:links:lynx:w3m if has_display; then - BROWSER=x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:chromium:chromium-browser:google-chrome:$BROWSER + BROWSER=x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:chromium:chromium-browser:google-chrome:microsoft-edge:$BROWSER fi fi diff --git a/node_modules/opencollective-postinstall/package.json b/node_modules/opencollective-postinstall/package.json index ca330991f..24f57b89a 100644 --- a/node_modules/opencollective-postinstall/package.json +++ b/node_modules/opencollective-postinstall/package.json @@ -1,32 +1,66 @@ { - "name": "opencollective-postinstall", - "version": "2.0.3", - "description": "Lightweight npm postinstall message to invite people to donate to your collective", - "main": "index.js", - "scripts": { - "test": "jest" + "_args": [ + [ + "opencollective-postinstall@2.0.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "opencollective-postinstall@2.0.3", + "_id": "opencollective-postinstall@2.0.3", + "_inBundle": false, + "_integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", + "_location": "/opencollective-postinstall", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "opencollective-postinstall@2.0.3", + "name": "opencollective-postinstall", + "escapedName": "opencollective-postinstall", + "rawSpec": "2.0.3", + "saveSpec": null, + "fetchSpec": "2.0.3" }, - "repository": { - "type": "git", - "url": "git+https://github.com/opencollective/opencollective-postinstall.git" + "_requiredBy": [ + "/husky" + ], + "_resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", + "_spec": "2.0.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Xavier Damman", + "url": "@xdamman" + }, + "bin": { + "opencollective-postinstall": "index.js" + }, + "bugs": { + "url": "https://github.com/opencollective/opencollective-postinstall/issues" + }, + "description": "Lightweight npm postinstall message to invite people to donate to your collective", + "devDependencies": { + "jest": "^26.0.1" }, "files": [ "index.js" ], - "bin": "index.js", + "homepage": "https://github.com/opencollective/opencollective-postinstall#readme", "keywords": [ "opencollective", "donation", "funding", "sustain" ], - "author": "Xavier Damman (@xdamman)", "license": "MIT", - "bugs": { - "url": "https://github.com/opencollective/opencollective-postinstall/issues" + "main": "index.js", + "name": "opencollective-postinstall", + "repository": { + "type": "git", + "url": "git+https://github.com/opencollective/opencollective-postinstall.git" }, - "homepage": "https://github.com/opencollective/opencollective-postinstall#readme", - "devDependencies": { - "jest": "^26.0.1" - } + "scripts": { + "test": "jest" + }, + "version": "2.0.3" } diff --git a/node_modules/optionator/package.json b/node_modules/optionator/package.json index 83fb1c2c9..41649320a 100644 --- a/node_modules/optionator/package.json +++ b/node_modules/optionator/package.json @@ -1,8 +1,61 @@ { - "name": "optionator", - "version": "0.9.1", - "author": "George Zahariev ", + "_args": [ + [ + "optionator@0.9.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "optionator@0.9.1", + "_id": "optionator@0.9.1", + "_inBundle": false, + "_integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "_location": "/optionator", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "optionator@0.9.1", + "name": "optionator", + "escapedName": "optionator", + "rawSpec": "0.9.1", + "saveSpec": null, + "fetchSpec": "0.9.1" + }, + "_requiredBy": [ + "/eslint" + ], + "_resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "_spec": "0.9.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "George Zahariev", + "email": "z@georgezahariev.com" + }, + "bugs": { + "url": "https://github.com/gkz/optionator/issues" + }, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, "description": "option parsing and help generation", + "devDependencies": { + "livescript": "^1.6.0", + "mocha": "^7.1.1" + }, + "engines": { + "node": ">= 0.8.0" + }, + "files": [ + "lib", + "README.md", + "LICENSE" + ], "homepage": "https://github.com/gkz/optionator", "keywords": [ "options", @@ -10,17 +63,9 @@ "option parsing", "cli" ], - "files": [ - "lib", - "README.md", - "LICENSE" - ], - "main": "./lib/", - "bugs": "https://github.com/gkz/optionator/issues", "license": "MIT", - "engines": { - "node": ">= 0.8.0" - }, + "main": "./lib/", + "name": "optionator", "repository": { "type": "git", "url": "git://github.com/gkz/optionator.git" @@ -28,16 +73,5 @@ "scripts": { "test": "make test" }, - "dependencies": { - "prelude-ls": "^1.2.1", - "deep-is": "^0.1.3", - "word-wrap": "^1.2.3", - "type-check": "^0.4.0", - "levn": "^0.4.1", - "fast-levenshtein": "^2.0.6" - }, - "devDependencies": { - "livescript": "^1.6.0", - "mocha": "^7.1.1" - } + "version": "0.9.1" } diff --git a/node_modules/ora/node_modules/ansi-regex/package.json b/node_modules/ora/node_modules/ansi-regex/package.json index a849fdf52..b5a6eb73c 100644 --- a/node_modules/ora/node_modules/ansi-regex/package.json +++ b/node_modules/ora/node_modules/ansi-regex/package.json @@ -1,53 +1,85 @@ { - "name": "ansi-regex", - "version": "4.1.0", - "description": "Regular expression for matching ANSI escape codes", - "license": "MIT", - "repository": "chalk/ansi-regex", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava", - "view-supported": "node fixtures/view-codes.js" - }, - "files": [ - "index.js" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "text", - "regex", - "regexp", - "re", - "match", - "test", - "find", - "pattern" - ], - "devDependencies": { - "ava": "^0.25.0", - "xo": "^0.23.0" - } + "_from": "ansi-regex@^4.1.0", + "_id": "ansi-regex@4.1.0", + "_inBundle": false, + "_integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "_location": "/ora/ansi-regex", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ansi-regex@^4.1.0", + "name": "ansi-regex", + "escapedName": "ansi-regex", + "rawSpec": "^4.1.0", + "saveSpec": null, + "fetchSpec": "^4.1.0" + }, + "_requiredBy": [ + "/ora/strip-ansi" + ], + "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "_shasum": "8b9f8f08cf1acb843756a839ca8c7e3168c51997", + "_spec": "ansi-regex@^4.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/strip-ansi", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-regex/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Regular expression for matching ANSI escape codes", + "devDependencies": { + "ava": "^0.25.0", + "xo": "^0.23.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/ansi-regex#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "text", + "regex", + "regexp", + "re", + "match", + "test", + "find", + "pattern" + ], + "license": "MIT", + "name": "ansi-regex", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-regex.git" + }, + "scripts": { + "test": "xo && ava", + "view-supported": "node fixtures/view-codes.js" + }, + "version": "4.1.0" } diff --git a/node_modules/ora/node_modules/ansi-styles/package.json b/node_modules/ora/node_modules/ansi-styles/package.json index 65edb48c3..4e225a562 100644 --- a/node_modules/ora/node_modules/ansi-styles/package.json +++ b/node_modules/ora/node_modules/ansi-styles/package.json @@ -1,56 +1,88 @@ { - "name": "ansi-styles", - "version": "3.2.1", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT", - "repository": "chalk/ansi-styles", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava", - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" - }, - "files": [ - "index.js" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "color-convert": "^1.9.0" - }, - "devDependencies": { - "ava": "*", - "babel-polyfill": "^6.23.0", - "svg-term-cli": "^2.1.1", - "xo": "*" - }, - "ava": { - "require": "babel-polyfill" - } + "_from": "ansi-styles@^3.2.1", + "_id": "ansi-styles@3.2.1", + "_inBundle": false, + "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "_location": "/ora/ansi-styles", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ansi-styles@^3.2.1", + "name": "ansi-styles", + "escapedName": "ansi-styles", + "rawSpec": "^3.2.1", + "saveSpec": null, + "fetchSpec": "^3.2.1" + }, + "_requiredBy": [ + "/ora/chalk" + ], + "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d", + "_spec": "ansi-styles@^3.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/chalk", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "ava": { + "require": "babel-polyfill" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-styles/issues" + }, + "bundleDependencies": false, + "dependencies": { + "color-convert": "^1.9.0" + }, + "deprecated": false, + "description": "ANSI escape codes for styling strings in the terminal", + "devDependencies": { + "ava": "*", + "babel-polyfill": "^6.23.0", + "svg-term-cli": "^2.1.1", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/ansi-styles#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "ansi-styles", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-styles.git" + }, + "scripts": { + "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", + "test": "xo && ava" + }, + "version": "3.2.1" } diff --git a/node_modules/ora/node_modules/chalk/package.json b/node_modules/ora/node_modules/chalk/package.json index bc324685a..be453f6ff 100644 --- a/node_modules/ora/node_modules/chalk/package.json +++ b/node_modules/ora/node_modules/chalk/package.json @@ -1,71 +1,104 @@ { - "name": "chalk", - "version": "2.4.2", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava", - "bench": "matcha benchmark.js", - "coveralls": "nyc report --reporter=text-lcov | coveralls" - }, - "files": [ - "index.js", - "templates.js", - "types/index.d.ts", - "index.js.flow" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "devDependencies": { - "ava": "*", - "coveralls": "^3.0.0", - "execa": "^0.9.0", - "flow-bin": "^0.68.0", - "import-fresh": "^2.0.0", - "matcha": "^0.7.0", - "nyc": "^11.0.2", - "resolve-from": "^4.0.0", - "typescript": "^2.5.3", - "xo": "*" - }, - "types": "types/index.d.ts", - "xo": { - "envs": [ - "node", - "mocha" - ], - "ignores": [ - "test/_flow.js" - ] - } + "_from": "chalk@^2.4.2", + "_id": "chalk@2.4.2", + "_inBundle": false, + "_integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "_location": "/ora/chalk", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "chalk@^2.4.2", + "name": "chalk", + "escapedName": "chalk", + "rawSpec": "^2.4.2", + "saveSpec": null, + "fetchSpec": "^2.4.2" + }, + "_requiredBy": [ + "/ora", + "/ora/log-symbols" + ], + "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "_shasum": "cd42541677a54333cf541a49108c1432b44c9424", + "_spec": "chalk@^2.4.2", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora", + "bugs": { + "url": "https://github.com/chalk/chalk/issues" + }, + "bundleDependencies": false, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "deprecated": false, + "description": "Terminal string styling done right", + "devDependencies": { + "ava": "*", + "coveralls": "^3.0.0", + "execa": "^0.9.0", + "flow-bin": "^0.68.0", + "import-fresh": "^2.0.0", + "matcha": "^0.7.0", + "nyc": "^11.0.2", + "resolve-from": "^4.0.0", + "typescript": "^2.5.3", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js", + "templates.js", + "types/index.d.ts", + "index.js.flow" + ], + "homepage": "https://github.com/chalk/chalk#readme", + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "str", + "ansi", + "style", + "styles", + "tty", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "chalk", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/chalk.git" + }, + "scripts": { + "bench": "matcha benchmark.js", + "coveralls": "nyc report --reporter=text-lcov | coveralls", + "test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava" + }, + "types": "types/index.d.ts", + "version": "2.4.2", + "xo": { + "envs": [ + "node", + "mocha" + ], + "ignores": [ + "test/_flow.js" + ] + } } diff --git a/node_modules/ora/node_modules/cli-cursor/package.json b/node_modules/ora/node_modules/cli-cursor/package.json index 68e792ad5..792a7962d 100644 --- a/node_modules/ora/node_modules/cli-cursor/package.json +++ b/node_modules/ora/node_modules/cli-cursor/package.json @@ -1,23 +1,52 @@ { - "name": "cli-cursor", - "version": "2.1.0", - "description": "Toggle the CLI cursor", - "license": "MIT", - "repository": "sindresorhus/cli-cursor", + "_from": "cli-cursor@^2.1.0", + "_id": "cli-cursor@2.1.0", + "_inBundle": false, + "_integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "_location": "/ora/cli-cursor", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "cli-cursor@^2.1.0", + "name": "cli-cursor", + "escapedName": "cli-cursor", + "rawSpec": "^2.1.0", + "saveSpec": null, + "fetchSpec": "^2.1.0" + }, + "_requiredBy": [ + "/ora" + ], + "_resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "_shasum": "b35dac376479facc3e94747d41d0d0f5238ffcb5", + "_spec": "cli-cursor@^2.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/cli-cursor/issues" + }, + "bundleDependencies": false, + "dependencies": { + "restore-cursor": "^2.0.0" + }, + "deprecated": false, + "description": "Toggle the CLI cursor", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=4" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/cli-cursor#readme", "keywords": [ "cli", "cursor", @@ -33,13 +62,16 @@ "shell", "command-line" ], - "dependencies": { - "restore-cursor": "^2.0.0" + "license": "MIT", + "name": "cli-cursor", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/cli-cursor.git" }, - "devDependencies": { - "ava": "*", - "xo": "*" + "scripts": { + "test": "xo && ava" }, + "version": "2.1.0", "xo": { "esnext": true } diff --git a/node_modules/ora/node_modules/color-convert/package.json b/node_modules/ora/node_modules/color-convert/package.json index dfbc47140..e57d952ac 100644 --- a/node_modules/ora/node_modules/color-convert/package.json +++ b/node_modules/ora/node_modules/color-convert/package.json @@ -1,14 +1,51 @@ { - "name": "color-convert", + "_from": "color-convert@^1.9.0", + "_id": "color-convert@1.9.3", + "_inBundle": false, + "_integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "_location": "/ora/color-convert", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "color-convert@^1.9.0", + "name": "color-convert", + "escapedName": "color-convert", + "rawSpec": "^1.9.0", + "saveSpec": null, + "fetchSpec": "^1.9.0" + }, + "_requiredBy": [ + "/ora/ansi-styles" + ], + "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "_shasum": "bb71850690e1f136567de629d2d5471deda4c1e8", + "_spec": "color-convert@^1.9.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/ansi-styles", + "author": { + "name": "Heather Arthur", + "email": "fayearthur@gmail.com" + }, + "bugs": { + "url": "https://github.com/Qix-/color-convert/issues" + }, + "bundleDependencies": false, + "dependencies": { + "color-name": "1.1.3" + }, + "deprecated": false, "description": "Plain color conversion functions", - "version": "1.9.3", - "author": "Heather Arthur ", - "license": "MIT", - "repository": "Qix-/color-convert", - "scripts": { - "pretest": "xo", - "test": "node test/basic.js" + "devDependencies": { + "chalk": "1.1.1", + "xo": "0.11.2" }, + "files": [ + "index.js", + "conversions.js", + "css-keywords.js", + "route.js" + ], + "homepage": "https://github.com/Qix-/color-convert#readme", "keywords": [ "color", "colour", @@ -23,24 +60,22 @@ "ansi", "ansi16" ], - "files": [ - "index.js", - "conversions.js", - "css-keywords.js", - "route.js" - ], + "license": "MIT", + "name": "color-convert", + "repository": { + "type": "git", + "url": "git+https://github.com/Qix-/color-convert.git" + }, + "scripts": { + "pretest": "xo", + "test": "node test/basic.js" + }, + "version": "1.9.3", "xo": { "rules": { "default-case": 0, "no-inline-comments": 0, "operator-linebreak": 0 } - }, - "devDependencies": { - "chalk": "1.1.1", - "xo": "0.11.2" - }, - "dependencies": { - "color-name": "1.1.3" } } diff --git a/node_modules/ora/node_modules/color-name/package.json b/node_modules/ora/node_modules/color-name/package.json index d061123ef..e37c3389a 100644 --- a/node_modules/ora/node_modules/color-name/package.json +++ b/node_modules/ora/node_modules/color-name/package.json @@ -1,25 +1,53 @@ { - "name": "color-name", - "version": "1.1.3", - "description": "A list of color names and its values", - "main": "index.js", - "scripts": { - "test": "node test.js" + "_from": "color-name@1.1.3", + "_id": "color-name@1.1.3", + "_inBundle": false, + "_integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "_location": "/ora/color-name", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "color-name@1.1.3", + "name": "color-name", + "escapedName": "color-name", + "rawSpec": "1.1.3", + "saveSpec": null, + "fetchSpec": "1.1.3" }, - "repository": { - "type": "git", - "url": "git@github.com:dfcreative/color-name.git" + "_requiredBy": [ + "/ora/color-convert" + ], + "_resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "_shasum": "a7d0558bd89c42f795dd42328f740831ca53bc25", + "_spec": "color-name@1.1.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/color-convert", + "author": { + "name": "DY", + "email": "dfcreative@gmail.com" + }, + "bugs": { + "url": "https://github.com/dfcreative/color-name/issues" }, + "bundleDependencies": false, + "deprecated": false, + "description": "A list of color names and its values", + "homepage": "https://github.com/dfcreative/color-name", "keywords": [ "color-name", "color", "color-keyword", "keyword" ], - "author": "DY ", "license": "MIT", - "bugs": { - "url": "https://github.com/dfcreative/color-name/issues" + "main": "index.js", + "name": "color-name", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/dfcreative/color-name.git" + }, + "scripts": { + "test": "node test.js" }, - "homepage": "https://github.com/dfcreative/color-name" + "version": "1.1.3" } diff --git a/node_modules/ora/node_modules/escape-string-regexp/package.json b/node_modules/ora/node_modules/escape-string-regexp/package.json index f307df34a..83ec8262a 100644 --- a/node_modules/ora/node_modules/escape-string-regexp/package.json +++ b/node_modules/ora/node_modules/escape-string-regexp/package.json @@ -1,27 +1,49 @@ { - "name": "escape-string-regexp", - "version": "1.0.5", - "description": "Escape RegExp special characters", - "license": "MIT", - "repository": "sindresorhus/escape-string-regexp", + "_from": "escape-string-regexp@^1.0.5", + "_id": "escape-string-regexp@1.0.5", + "_inBundle": false, + "_integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "_location": "/ora/escape-string-regexp", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "escape-string-regexp@^1.0.5", + "name": "escape-string-regexp", + "escapedName": "escape-string-regexp", + "rawSpec": "^1.0.5", + "saveSpec": null, + "fetchSpec": "^1.0.5" + }, + "_requiredBy": [ + "/ora/chalk" + ], + "_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "_shasum": "1b61c0562190a8dff6ae3bb2cf0200ca130b86d4", + "_spec": "escape-string-regexp@^1.0.5", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/chalk", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, - "maintainers": [ - "Sindre Sorhus (sindresorhus.com)", - "Joshua Boy Nicolai Appelman (jbna.nl)" - ], + "bugs": { + "url": "https://github.com/sindresorhus/escape-string-regexp/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Escape RegExp special characters", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=0.8.0" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/escape-string-regexp#readme", "keywords": [ "escape", "regex", @@ -34,8 +56,26 @@ "special", "characters" ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "license": "MIT", + "maintainers": [ + { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + { + "name": "Joshua Boy Nicolai Appelman", + "email": "joshua@jbna.nl", + "url": "jbna.nl" + } + ], + "name": "escape-string-regexp", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/escape-string-regexp.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.0.5" } diff --git a/node_modules/ora/node_modules/has-flag/package.json b/node_modules/ora/node_modules/has-flag/package.json index e1eb17a15..641fd01ed 100644 --- a/node_modules/ora/node_modules/has-flag/package.json +++ b/node_modules/ora/node_modules/has-flag/package.json @@ -1,23 +1,49 @@ { - "name": "has-flag", - "version": "3.0.0", - "description": "Check if argv has a specific flag", - "license": "MIT", - "repository": "sindresorhus/has-flag", + "_from": "has-flag@^3.0.0", + "_id": "has-flag@3.0.0", + "_inBundle": false, + "_integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "_location": "/ora/has-flag", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "has-flag@^3.0.0", + "name": "has-flag", + "escapedName": "has-flag", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/ora/supports-color" + ], + "_resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "_shasum": "b5d454dc2199ae225699f3467e5a07f3b955bafd", + "_spec": "has-flag@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/supports-color", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/has-flag/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Check if argv has a specific flag", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=4" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/has-flag#readme", "keywords": [ "has", "check", @@ -37,8 +63,14 @@ "minimist", "optimist" ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "license": "MIT", + "name": "has-flag", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/has-flag.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "3.0.0" } diff --git a/node_modules/ora/node_modules/log-symbols/package.json b/node_modules/ora/node_modules/log-symbols/package.json index 41736c780..91dae05a5 100644 --- a/node_modules/ora/node_modules/log-symbols/package.json +++ b/node_modules/ora/node_modules/log-symbols/package.json @@ -1,50 +1,82 @@ { - "name": "log-symbols", - "version": "2.2.0", - "description": "Colored symbols for various log levels. Example: ✔︎ Success", - "license": "MIT", - "repository": "sindresorhus/log-symbols", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js", - "browser.js" - ], - "keywords": [ - "unicode", - "cli", - "cmd", - "command-line", - "characters", - "char", - "symbol", - "symbols", - "figure", - "figures", - "fallback", - "win", - "windows", - "log", - "logging", - "terminal", - "stdout" - ], - "dependencies": { - "chalk": "^2.0.1" - }, - "devDependencies": { - "ava": "*", - "strip-ansi": "^4.0.0", - "xo": "*" - }, - "browser": "browser.js" + "_from": "log-symbols@^2.2.0", + "_id": "log-symbols@2.2.0", + "_inBundle": false, + "_integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "_location": "/ora/log-symbols", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "log-symbols@^2.2.0", + "name": "log-symbols", + "escapedName": "log-symbols", + "rawSpec": "^2.2.0", + "saveSpec": null, + "fetchSpec": "^2.2.0" + }, + "_requiredBy": [ + "/ora" + ], + "_resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "_shasum": "5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a", + "_spec": "log-symbols@^2.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "browser": "browser.js", + "bugs": { + "url": "https://github.com/sindresorhus/log-symbols/issues" + }, + "bundleDependencies": false, + "dependencies": { + "chalk": "^2.0.1" + }, + "deprecated": false, + "description": "Colored symbols for various log levels. Example: ✔︎ Success", + "devDependencies": { + "ava": "*", + "strip-ansi": "^4.0.0", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js", + "browser.js" + ], + "homepage": "https://github.com/sindresorhus/log-symbols#readme", + "keywords": [ + "unicode", + "cli", + "cmd", + "command-line", + "characters", + "char", + "symbol", + "symbols", + "figure", + "figures", + "fallback", + "win", + "windows", + "log", + "logging", + "terminal", + "stdout" + ], + "license": "MIT", + "name": "log-symbols", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/log-symbols.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "2.2.0" } diff --git a/node_modules/ora/node_modules/mimic-fn/package.json b/node_modules/ora/node_modules/mimic-fn/package.json index f6c229946..ad1d55ff6 100644 --- a/node_modules/ora/node_modules/mimic-fn/package.json +++ b/node_modules/ora/node_modules/mimic-fn/package.json @@ -1,40 +1,72 @@ { - "name": "mimic-fn", - "version": "1.2.0", - "description": "Make a function mimic another one", - "license": "MIT", - "repository": "sindresorhus/mimic-fn", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "function", - "mimic", - "imitate", - "rename", - "copy", - "inherit", - "properties", - "name", - "func", - "fn", - "set", - "infer", - "change" - ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "_from": "mimic-fn@^1.0.0", + "_id": "mimic-fn@1.2.0", + "_inBundle": false, + "_integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "_location": "/ora/mimic-fn", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "mimic-fn@^1.0.0", + "name": "mimic-fn", + "escapedName": "mimic-fn", + "rawSpec": "^1.0.0", + "saveSpec": null, + "fetchSpec": "^1.0.0" + }, + "_requiredBy": [ + "/ora/onetime" + ], + "_resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "_shasum": "820c86a39334640e99516928bd03fca88057d022", + "_spec": "mimic-fn@^1.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/onetime", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/mimic-fn/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Make a function mimic another one", + "devDependencies": { + "ava": "*", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/mimic-fn#readme", + "keywords": [ + "function", + "mimic", + "imitate", + "rename", + "copy", + "inherit", + "properties", + "name", + "func", + "fn", + "set", + "infer", + "change" + ], + "license": "MIT", + "name": "mimic-fn", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/mimic-fn.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.2.0" } diff --git a/node_modules/ora/node_modules/onetime/package.json b/node_modules/ora/node_modules/onetime/package.json index 73223ff96..39926bcc4 100644 --- a/node_modules/ora/node_modules/onetime/package.json +++ b/node_modules/ora/node_modules/onetime/package.json @@ -1,23 +1,52 @@ { - "name": "onetime", - "version": "2.0.1", - "description": "Ensure a function is only called once", - "license": "MIT", - "repository": "sindresorhus/onetime", + "_from": "onetime@^2.0.0", + "_id": "onetime@2.0.1", + "_inBundle": false, + "_integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "_location": "/ora/onetime", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "onetime@^2.0.0", + "name": "onetime", + "escapedName": "onetime", + "rawSpec": "^2.0.0", + "saveSpec": null, + "fetchSpec": "^2.0.0" + }, + "_requiredBy": [ + "/ora/restore-cursor" + ], + "_resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "_shasum": "067428230fd67443b2794b22bba528b6867962d4", + "_spec": "onetime@^2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/restore-cursor", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/onetime/issues" + }, + "bundleDependencies": false, + "dependencies": { + "mimic-fn": "^1.0.0" + }, + "deprecated": false, + "description": "Ensure a function is only called once", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=4" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/onetime#readme", "keywords": [ "once", "function", @@ -30,11 +59,14 @@ "called", "prevent" ], - "dependencies": { - "mimic-fn": "^1.0.0" + "license": "MIT", + "name": "onetime", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/onetime.git" }, - "devDependencies": { - "ava": "*", - "xo": "*" - } + "scripts": { + "test": "xo && ava" + }, + "version": "2.0.1" } diff --git a/node_modules/ora/node_modules/restore-cursor/package.json b/node_modules/ora/node_modules/restore-cursor/package.json index f121ed1ea..2ffe19147 100644 --- a/node_modules/ora/node_modules/restore-cursor/package.json +++ b/node_modules/ora/node_modules/restore-cursor/package.json @@ -1,20 +1,49 @@ { - "name": "restore-cursor", - "version": "2.0.0", - "description": "Gracefully restore the CLI cursor on exit", - "license": "MIT", - "repository": "sindresorhus/restore-cursor", + "_from": "restore-cursor@^2.0.0", + "_id": "restore-cursor@2.0.0", + "_inBundle": false, + "_integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "_location": "/ora/restore-cursor", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "restore-cursor@^2.0.0", + "name": "restore-cursor", + "escapedName": "restore-cursor", + "rawSpec": "^2.0.0", + "saveSpec": null, + "fetchSpec": "^2.0.0" + }, + "_requiredBy": [ + "/ora/cli-cursor" + ], + "_resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "_shasum": "9f7ee287f82fd326d4fd162923d62129eee0dfaf", + "_spec": "restore-cursor@^2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/cli-cursor", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/restore-cursor/issues" + }, + "bundleDependencies": false, + "dependencies": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + }, + "deprecated": false, + "description": "Gracefully restore the CLI cursor on exit", "engines": { "node": ">=4" }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/restore-cursor#readme", "keywords": [ "exit", "quit", @@ -37,8 +66,11 @@ "shell", "command-line" ], - "dependencies": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - } + "license": "MIT", + "name": "restore-cursor", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/restore-cursor.git" + }, + "version": "2.0.0" } diff --git a/node_modules/ora/node_modules/strip-ansi/package.json b/node_modules/ora/node_modules/strip-ansi/package.json index 7494fd7e8..eaef76e97 100644 --- a/node_modules/ora/node_modules/strip-ansi/package.json +++ b/node_modules/ora/node_modules/strip-ansi/package.json @@ -1,54 +1,86 @@ { - "name": "strip-ansi", - "version": "5.2.0", - "description": "Strip ANSI escape codes from a string", - "license": "MIT", - "repository": "chalk/strip-ansi", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd-check" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "strip", - "trim", - "remove", - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "devDependencies": { - "ava": "^1.3.1", - "tsd-check": "^0.5.0", - "xo": "^0.24.0" - } + "_from": "strip-ansi@^5.2.0", + "_id": "strip-ansi@5.2.0", + "_inBundle": false, + "_integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "_location": "/ora/strip-ansi", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "strip-ansi@^5.2.0", + "name": "strip-ansi", + "escapedName": "strip-ansi", + "rawSpec": "^5.2.0", + "saveSpec": null, + "fetchSpec": "^5.2.0" + }, + "_requiredBy": [ + "/ora" + ], + "_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "_shasum": "8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae", + "_spec": "strip-ansi@^5.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/strip-ansi/issues" + }, + "bundleDependencies": false, + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "deprecated": false, + "description": "Strip ANSI escape codes from a string", + "devDependencies": { + "ava": "^1.3.1", + "tsd-check": "^0.5.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/chalk/strip-ansi#readme", + "keywords": [ + "strip", + "trim", + "remove", + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "strip-ansi", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/strip-ansi.git" + }, + "scripts": { + "test": "xo && ava && tsd-check" + }, + "version": "5.2.0" } diff --git a/node_modules/ora/node_modules/supports-color/package.json b/node_modules/ora/node_modules/supports-color/package.json index ad199f5cd..2be396946 100644 --- a/node_modules/ora/node_modules/supports-color/package.json +++ b/node_modules/ora/node_modules/supports-color/package.json @@ -1,53 +1,85 @@ { - "name": "supports-color", - "version": "5.5.0", - "description": "Detect whether a terminal supports color", - "license": "MIT", - "repository": "chalk/supports-color", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js", - "browser.js" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "ansi", - "styles", - "tty", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "support", - "supports", - "capability", - "detect", - "truecolor", - "16m" - ], - "dependencies": { - "has-flag": "^3.0.0" - }, - "devDependencies": { - "ava": "^0.25.0", - "import-fresh": "^2.0.0", - "xo": "^0.20.0" - }, - "browser": "browser.js" + "_from": "supports-color@^5.3.0", + "_id": "supports-color@5.5.0", + "_inBundle": false, + "_integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "_location": "/ora/supports-color", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "supports-color@^5.3.0", + "name": "supports-color", + "escapedName": "supports-color", + "rawSpec": "^5.3.0", + "saveSpec": null, + "fetchSpec": "^5.3.0" + }, + "_requiredBy": [ + "/ora/chalk" + ], + "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "_shasum": "e2e69a44ac8772f78a1ec0b35b689df6530efc8f", + "_spec": "supports-color@^5.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/ora/node_modules/chalk", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "browser": "browser.js", + "bugs": { + "url": "https://github.com/chalk/supports-color/issues" + }, + "bundleDependencies": false, + "dependencies": { + "has-flag": "^3.0.0" + }, + "deprecated": false, + "description": "Detect whether a terminal supports color", + "devDependencies": { + "ava": "^0.25.0", + "import-fresh": "^2.0.0", + "xo": "^0.20.0" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js", + "browser.js" + ], + "homepage": "https://github.com/chalk/supports-color#readme", + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "ansi", + "styles", + "tty", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "support", + "supports", + "capability", + "detect", + "truecolor", + "16m" + ], + "license": "MIT", + "name": "supports-color", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/supports-color.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "5.5.0" } diff --git a/node_modules/ora/package.json b/node_modules/ora/package.json index befdf0524..c4b01f5f8 100644 --- a/node_modules/ora/package.json +++ b/node_modules/ora/package.json @@ -1,53 +1,87 @@ { - "name": "ora", - "version": "3.4.0", - "description": "Elegant terminal spinner", - "license": "MIT", - "repository": "sindresorhus/ora", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "cli", - "spinner", - "spinners", - "terminal", - "term", - "console", - "ascii", - "unicode", - "loading", - "indicator", - "progress", - "busy", - "wait", - "idle" - ], - "dependencies": { - "chalk": "^2.4.2", - "cli-cursor": "^2.1.0", - "cli-spinners": "^2.0.0", - "log-symbols": "^2.2.0", - "strip-ansi": "^5.2.0", - "wcwidth": "^1.0.1" - }, - "devDependencies": { - "@types/node": "^11.13.0", - "ava": "^1.4.1", - "get-stream": "^4.1.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_from": "ora@^3.4.0", + "_id": "ora@3.4.0", + "_inBundle": false, + "_integrity": "sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg==", + "_location": "/ora", + "_phantomChildren": { + "signal-exit": "3.0.6" + }, + "_requested": { + "type": "range", + "registry": true, + "raw": "ora@^3.4.0", + "name": "ora", + "escapedName": "ora", + "rawSpec": "^3.4.0", + "saveSpec": null, + "fetchSpec": "^3.4.0" + }, + "_requiredBy": [ + "/@foo-software/lighthouse-check" + ], + "_resolved": "https://registry.npmjs.org/ora/-/ora-3.4.0.tgz", + "_shasum": "bf0752491059a3ef3ed4c85097531de9fdbcd318", + "_spec": "ora@^3.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@foo-software/lighthouse-check", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/ora/issues" + }, + "bundleDependencies": false, + "dependencies": { + "chalk": "^2.4.2", + "cli-cursor": "^2.1.0", + "cli-spinners": "^2.0.0", + "log-symbols": "^2.2.0", + "strip-ansi": "^5.2.0", + "wcwidth": "^1.0.1" + }, + "deprecated": false, + "description": "Elegant terminal spinner", + "devDependencies": { + "@types/node": "^11.13.0", + "ava": "^1.4.1", + "get-stream": "^4.1.0", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/ora#readme", + "keywords": [ + "cli", + "spinner", + "spinners", + "terminal", + "term", + "console", + "ascii", + "unicode", + "loading", + "indicator", + "progress", + "busy", + "wait", + "idle" + ], + "license": "MIT", + "name": "ora", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/ora.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.4.0" } diff --git a/node_modules/p-cancelable/index.d.ts b/node_modules/p-cancelable/index.d.ts deleted file mode 100644 index 316d636e0..000000000 --- a/node_modules/p-cancelable/index.d.ts +++ /dev/null @@ -1,168 +0,0 @@ -/** - * Accepts a function that is called when the promise is canceled. - * - * You're not required to call this function. You can call this function multiple times to add multiple cancel handlers. - */ -export interface OnCancelFunction { - (cancelHandler: () => void): void; - shouldReject: boolean; -} - -declare class PCancelable extends Promise { - /** - * Convenience method to make your promise-returning or async function cancelable. - * - * @param fn - A promise-returning function. The function you specify will have `onCancel` appended to its parameters. - * - * @example - * - * import PCancelable from 'p-cancelable'; - * - * const fn = PCancelable.fn((input, onCancel) => { - * const job = new Job(); - * - * onCancel(() => { - * job.cleanup(); - * }); - * - * return job.start(); //=> Promise - * }); - * - * const cancelablePromise = fn('input'); //=> PCancelable - * - * // … - * - * cancelablePromise.cancel(); - */ - static fn( - userFn: (onCancel: OnCancelFunction) => PromiseLike - ): () => PCancelable; - static fn( - userFn: ( - argument1: Agument1Type, - onCancel: OnCancelFunction - ) => PromiseLike - ): (argument1: Agument1Type) => PCancelable; - static fn( - userFn: ( - argument1: Agument1Type, - argument2: Agument2Type, - onCancel: OnCancelFunction - ) => PromiseLike - ): ( - argument1: Agument1Type, - argument2: Agument2Type - ) => PCancelable; - static fn( - userFn: ( - argument1: Agument1Type, - argument2: Agument2Type, - argument3: Agument3Type, - onCancel: OnCancelFunction - ) => PromiseLike - ): ( - argument1: Agument1Type, - argument2: Agument2Type, - argument3: Agument3Type - ) => PCancelable; - static fn( - userFn: ( - argument1: Agument1Type, - argument2: Agument2Type, - argument3: Agument3Type, - argument4: Agument4Type, - onCancel: OnCancelFunction - ) => PromiseLike - ): ( - argument1: Agument1Type, - argument2: Agument2Type, - argument3: Agument3Type, - argument4: Agument4Type - ) => PCancelable; - static fn< - Agument1Type, - Agument2Type, - Agument3Type, - Agument4Type, - Agument5Type, - ReturnType - >( - userFn: ( - argument1: Agument1Type, - argument2: Agument2Type, - argument3: Agument3Type, - argument4: Agument4Type, - argument5: Agument5Type, - onCancel: OnCancelFunction - ) => PromiseLike - ): ( - argument1: Agument1Type, - argument2: Agument2Type, - argument3: Agument3Type, - argument4: Agument4Type, - argument5: Agument5Type - ) => PCancelable; - static fn( - userFn: (...arguments: unknown[]) => PromiseLike - ): (...arguments: unknown[]) => PCancelable; - - /** - * Create a promise that can be canceled. - * - * Can be constructed in the same was as a [`Promise` constructor](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise), but with an appended `onCancel` parameter in `executor`. `PCancelable` is a subclass of `Promise`. - * - * Cancelling will reject the promise with `CancelError`. To avoid that, set `onCancel.shouldReject` to `false`. - * - * @example - * - * import PCancelable from 'p-cancelable'; - * - * const cancelablePromise = new PCancelable((resolve, reject, onCancel) => { - * const job = new Job(); - * - * onCancel.shouldReject = false; - * onCancel(() => { - * job.stop(); - * }); - * - * job.on('finish', resolve); - * }); - * - * cancelablePromise.cancel(); // Doesn't throw an error - */ - constructor( - executor: ( - resolve: (value?: ValueType | PromiseLike) => void, - reject: (reason?: unknown) => void, - onCancel: OnCancelFunction - ) => void - ); - - /** - * Whether the promise is canceled. - */ - readonly isCanceled: boolean; - - /** - * Cancel the promise and optionally provide a reason. - * - * The cancellation is synchronous. Calling it after the promise has settled or multiple times does nothing. - * - * @param reason - The cancellation reason to reject the promise with. - */ - cancel(reason?: string): void; -} - -export default PCancelable; - -/** - * Rejection reason when `.cancel()` is called. - * - * It includes a `.isCanceled` property for convenience. - */ -export class CancelError extends Error { - readonly name: 'CancelError'; - readonly isCanceled: true; - - constructor(reason?: string); -} diff --git a/node_modules/p-cancelable/index.js b/node_modules/p-cancelable/index.js deleted file mode 100644 index 26bd42eec..000000000 --- a/node_modules/p-cancelable/index.js +++ /dev/null @@ -1,103 +0,0 @@ -'use strict'; - -class CancelError extends Error { - constructor(reason) { - super(reason || 'Promise was canceled'); - this.name = 'CancelError'; - } - - get isCanceled() { - return true; - } -} - -class PCancelable { - static fn(userFn) { - return (...args) => { - return new PCancelable((resolve, reject, onCancel) => { - args.push(onCancel); - userFn(...args).then(resolve, reject); - }); - }; - } - - constructor(executor) { - this._cancelHandlers = []; - this._isPending = true; - this._isCanceled = false; - this._rejectOnCancel = true; - - this._promise = new Promise((resolve, reject) => { - this._reject = reject; - - const onResolve = value => { - this._isPending = false; - resolve(value); - }; - - const onReject = error => { - this._isPending = false; - reject(error); - }; - - const onCancel = handler => { - this._cancelHandlers.push(handler); - }; - - Object.defineProperties(onCancel, { - shouldReject: { - get: () => this._rejectOnCancel, - set: bool => { - this._rejectOnCancel = bool; - } - } - }); - - return executor(onResolve, onReject, onCancel); - }); - } - - then(onFulfilled, onRejected) { - return this._promise.then(onFulfilled, onRejected); - } - - catch(onRejected) { - return this._promise.catch(onRejected); - } - - finally(onFinally) { - return this._promise.finally(onFinally); - } - - cancel(reason) { - if (!this._isPending || this._isCanceled) { - return; - } - - if (this._cancelHandlers.length > 0) { - try { - for (const handler of this._cancelHandlers) { - handler(); - } - } catch (error) { - this._reject(error); - } - } - - this._isCanceled = true; - if (this._rejectOnCancel) { - this._reject(new CancelError(reason)); - } - } - - get isCanceled() { - return this._isCanceled; - } -} - -Object.setPrototypeOf(PCancelable.prototype, Promise.prototype); - -module.exports = PCancelable; -module.exports.default = PCancelable; - -module.exports.CancelError = CancelError; diff --git a/node_modules/p-cancelable/license b/node_modules/p-cancelable/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/p-cancelable/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/p-cancelable/package.json b/node_modules/p-cancelable/package.json deleted file mode 100644 index fa3a6c9d2..000000000 --- a/node_modules/p-cancelable/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "p-cancelable", - "version": "1.1.0", - "description": "Create a promise that can be canceled", - "license": "MIT", - "repository": "sindresorhus/p-cancelable", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd-check" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "promise", - "cancelable", - "cancel", - "canceled", - "canceling", - "cancellable", - "cancellation", - "abort", - "abortable", - "aborting", - "cleanup", - "task", - "token", - "async", - "function", - "await", - "promises", - "bluebird" - ], - "devDependencies": { - "ava": "^1.3.1", - "delay": "^4.1.0", - "promise.prototype.finally": "^3.1.0", - "tsd-check": "^0.3.0", - "xo": "^0.24.0" - } -} diff --git a/node_modules/p-cancelable/readme.md b/node_modules/p-cancelable/readme.md deleted file mode 100644 index b66e96a8a..000000000 --- a/node_modules/p-cancelable/readme.md +++ /dev/null @@ -1,155 +0,0 @@ -# p-cancelable [![Build Status](https://travis-ci.org/sindresorhus/p-cancelable.svg?branch=master)](https://travis-ci.org/sindresorhus/p-cancelable) - -> Create a promise that can be canceled - -Useful for animation, loading resources, long-running async computations, async iteration, etc. - - -## Install - -``` -$ npm install p-cancelable -``` - - -## Usage - -```js -const PCancelable = require('p-cancelable'); - -const cancelablePromise = new PCancelable((resolve, reject, onCancel) => { - const worker = new SomeLongRunningOperation(); - - onCancel(() => { - worker.close(); - }); - - worker.on('finish', resolve); - worker.on('error', reject); -}); - -(async () => { - try { - console.log('Operation finished successfully:', await cancelablePromise); - } catch (error) { - if (cancelablePromise.isCanceled) { - // Handle the cancelation here - console.log('Operation was canceled'); - return; - } - - throw error; - } -})(); - -// Cancel the operation after 10 seconds -setTimeout(() => { - cancelablePromise.cancel('Unicorn has changed its color'); -}, 10000); -``` - - -## API - -### new PCancelable(executor) - -Same as the [`Promise` constructor](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise), but with an appended `onCancel` parameter in `executor`.
-Cancelling will reject the promise with `PCancelable.CancelError`. To avoid that, set `onCancel.shouldReject` to `false`. - -```js -const PCancelable = require('p-cancelable'); - -const cancelablePromise = new PCancelable((resolve, reject, onCancel) => { - const job = new Job(); - - onCancel.shouldReject = false; - onCancel(() => { - job.stop(); - }); - - job.on('finish', resolve); -}); - -cancelablePromise.cancel(); // Doesn't throw an error -``` - -`PCancelable` is a subclass of `Promise`. - -#### onCanceled(fn) - -Type: `Function` - -Accepts a function that is called when the promise is canceled. - -You're not required to call this function. You can call this function multiple times to add multiple cancel handlers. - -### PCancelable#cancel([reason]) - -Type: `Function` - -Cancel the promise and optionally provide a reason. - -The cancellation is synchronous. Calling it after the promise has settled or multiple times does nothing. - -### PCancelable#isCanceled - -Type: `boolean` - -Whether the promise is canceled. - -### PCancelable.CancelError - -Type: `Error` - -Rejection reason when `.cancel()` is called. - -It includes a `.isCanceled` property for convenience. - -### PCancelable.fn(fn) - -Convenience method to make your promise-returning or async function cancelable. - -The function you specify will have `onCancel` appended to its parameters. - -```js -const PCancelable = require('p-cancelable'); - -const fn = PCancelable.fn((input, onCancel) => { - const job = new Job(); - - onCancel(() => { - job.cleanup(); - }); - - return job.start(); //=> Promise -}); - -const cancelablePromise = fn('input'); //=> PCancelable - -// … - -cancelablePromise.cancel(); -``` - - -## FAQ - -### Cancelable vs. Cancellable - -[In American English, the verb cancel is usually inflected canceled and canceling—with one l.](http://grammarist.com/spelling/cancel/)
Both a [browser API](https://developer.mozilla.org/en-US/docs/Web/API/Event/cancelable) and the [Cancelable Promises proposal](https://github.com/tc39/proposal-cancelable-promises) use this spelling. - -### What about the official [Cancelable Promises proposal](https://github.com/tc39/proposal-cancelable-promises)? - -~~It's still an early draft and I don't really like its current direction. It complicates everything and will require deep changes in the ecosystem to adapt to it. And the way you have to use cancel tokens is verbose and convoluted. I much prefer the more pragmatic and less invasive approach in this module.~~ The proposal was withdrawn. - - -## Related - -- [p-progress](https://github.com/sindresorhus/p-progress) - Create a promise that reports progress -- [p-lazy](https://github.com/sindresorhus/p-lazy) - Create a lazy promise that defers execution until `.then()` or `.catch()` is called -- [More…](https://github.com/sindresorhus/promise-fun) - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/p-limit/package.json b/node_modules/p-limit/package.json index 99a814f6e..d7647e3b5 100644 --- a/node_modules/p-limit/package.json +++ b/node_modules/p-limit/package.json @@ -1,52 +1,87 @@ { - "name": "p-limit", - "version": "2.3.0", - "description": "Run multiple promise-returning & async functions with limited concurrency", - "license": "MIT", - "repository": "sindresorhus/p-limit", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd-check" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "promise", - "limit", - "limited", - "concurrency", - "throttle", - "throat", - "rate", - "batch", - "ratelimit", - "task", - "queue", - "async", - "await", - "promises", - "bluebird" - ], - "dependencies": { - "p-try": "^2.0.0" - }, - "devDependencies": { - "ava": "^1.2.1", - "delay": "^4.1.0", - "in-range": "^1.0.0", - "random-int": "^1.0.0", - "time-span": "^2.0.0", - "tsd-check": "^0.3.0", - "xo": "^0.24.0" - } + "_args": [ + [ + "p-limit@2.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "p-limit@2.3.0", + "_id": "p-limit@2.3.0", + "_inBundle": false, + "_integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "_location": "/p-limit", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "p-limit@2.3.0", + "name": "p-limit", + "escapedName": "p-limit", + "rawSpec": "2.3.0", + "saveSpec": null, + "fetchSpec": "2.3.0" + }, + "_requiredBy": [ + "/p-locate" + ], + "_resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "_spec": "2.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/p-limit/issues" + }, + "dependencies": { + "p-try": "^2.0.0" + }, + "description": "Run multiple promise-returning & async functions with limited concurrency", + "devDependencies": { + "ava": "^1.2.1", + "delay": "^4.1.0", + "in-range": "^1.0.0", + "random-int": "^1.0.0", + "time-span": "^2.0.0", + "tsd-check": "^0.3.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/p-limit#readme", + "keywords": [ + "promise", + "limit", + "limited", + "concurrency", + "throttle", + "throat", + "rate", + "batch", + "ratelimit", + "task", + "queue", + "async", + "await", + "promises", + "bluebird" + ], + "license": "MIT", + "name": "p-limit", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/p-limit.git" + }, + "scripts": { + "test": "xo && ava && tsd-check" + }, + "version": "2.3.0" } diff --git a/node_modules/p-locate/package.json b/node_modules/p-locate/package.json index e3de27562..74397ca13 100644 --- a/node_modules/p-locate/package.json +++ b/node_modules/p-locate/package.json @@ -1,53 +1,88 @@ { - "name": "p-locate", - "version": "4.1.0", - "description": "Get the first fulfilled promise that satisfies the provided testing function", - "license": "MIT", - "repository": "sindresorhus/p-locate", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "promise", - "locate", - "find", - "finder", - "search", - "searcher", - "test", - "array", - "collection", - "iterable", - "iterator", - "race", - "fulfilled", - "fastest", - "async", - "await", - "promises", - "bluebird" - ], - "dependencies": { - "p-limit": "^2.2.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "delay": "^4.1.0", - "in-range": "^1.0.0", - "time-span": "^3.0.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "p-locate@4.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "p-locate@4.1.0", + "_id": "p-locate@4.1.0", + "_inBundle": false, + "_integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "_location": "/p-locate", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "p-locate@4.1.0", + "name": "p-locate", + "escapedName": "p-locate", + "rawSpec": "4.1.0", + "saveSpec": null, + "fetchSpec": "4.1.0" + }, + "_requiredBy": [ + "/locate-path" + ], + "_resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "_spec": "4.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/p-locate/issues" + }, + "dependencies": { + "p-limit": "^2.2.0" + }, + "description": "Get the first fulfilled promise that satisfies the provided testing function", + "devDependencies": { + "ava": "^1.4.1", + "delay": "^4.1.0", + "in-range": "^1.0.0", + "time-span": "^3.0.0", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/p-locate#readme", + "keywords": [ + "promise", + "locate", + "find", + "finder", + "search", + "searcher", + "test", + "array", + "collection", + "iterable", + "iterator", + "race", + "fulfilled", + "fastest", + "async", + "await", + "promises", + "bluebird" + ], + "license": "MIT", + "name": "p-locate", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/p-locate.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.1.0" } diff --git a/node_modules/p-map/package.json b/node_modules/p-map/package.json index 042b1af55..02beae9e3 100644 --- a/node_modules/p-map/package.json +++ b/node_modules/p-map/package.json @@ -1,53 +1,89 @@ { - "name": "p-map", - "version": "4.0.0", - "description": "Map over promises concurrently", - "license": "MIT", - "repository": "sindresorhus/p-map", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "promise", - "map", - "resolved", - "wait", - "collection", - "iterable", - "iterator", - "race", - "fulfilled", - "async", - "await", - "promises", - "concurrently", - "concurrency", - "parallel", - "bluebird" - ], - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "devDependencies": { - "ava": "^2.2.0", - "delay": "^4.1.0", - "in-range": "^2.0.0", - "random-int": "^2.0.0", - "time-span": "^3.1.0", - "tsd": "^0.7.4", - "xo": "^0.27.2" - } + "_args": [ + [ + "p-map@4.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "p-map@4.0.0", + "_id": "p-map@4.0.0", + "_inBundle": false, + "_integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "_location": "/p-map", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "p-map@4.0.0", + "name": "p-map", + "escapedName": "p-map", + "rawSpec": "4.0.0", + "saveSpec": null, + "fetchSpec": "4.0.0" + }, + "_requiredBy": [ + "/listr2" + ], + "_resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "_spec": "4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/p-map/issues" + }, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "description": "Map over promises concurrently", + "devDependencies": { + "ava": "^2.2.0", + "delay": "^4.1.0", + "in-range": "^2.0.0", + "random-int": "^2.0.0", + "time-span": "^3.1.0", + "tsd": "^0.7.4", + "xo": "^0.27.2" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/p-map#readme", + "keywords": [ + "promise", + "map", + "resolved", + "wait", + "collection", + "iterable", + "iterator", + "race", + "fulfilled", + "async", + "await", + "promises", + "concurrently", + "concurrency", + "parallel", + "bluebird" + ], + "license": "MIT", + "name": "p-map", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/p-map.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.0.0" } diff --git a/node_modules/p-try/package.json b/node_modules/p-try/package.json index 81c4d32e4..3b4650cb5 100644 --- a/node_modules/p-try/package.json +++ b/node_modules/p-try/package.json @@ -1,42 +1,77 @@ { - "name": "p-try", - "version": "2.2.0", - "description": "`Start a promise chain", - "license": "MIT", - "repository": "sindresorhus/p-try", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "promise", - "try", - "resolve", - "function", - "catch", - "async", - "await", - "promises", - "settled", - "ponyfill", - "polyfill", - "shim", - "bluebird" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.1", - "xo": "^0.24.0" - } + "_args": [ + [ + "p-try@2.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "p-try@2.2.0", + "_id": "p-try@2.2.0", + "_inBundle": false, + "_integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "_location": "/p-try", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "p-try@2.2.0", + "name": "p-try", + "escapedName": "p-try", + "rawSpec": "2.2.0", + "saveSpec": null, + "fetchSpec": "2.2.0" + }, + "_requiredBy": [ + "/p-limit" + ], + "_resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "_spec": "2.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/p-try/issues" + }, + "description": "`Start a promise chain", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.1", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/p-try#readme", + "keywords": [ + "promise", + "try", + "resolve", + "function", + "catch", + "async", + "await", + "promises", + "settled", + "ponyfill", + "polyfill", + "shim", + "bluebird" + ], + "license": "MIT", + "name": "p-try", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/p-try.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "2.2.0" } diff --git a/node_modules/package-json/index.d.ts b/node_modules/package-json/index.d.ts deleted file mode 100644 index d55fc57e1..000000000 --- a/node_modules/package-json/index.d.ts +++ /dev/null @@ -1,199 +0,0 @@ -/// -import {Agent as HttpAgent} from 'http'; -import {Agent as HttpsAgent} from 'https'; - -declare class VersionNotFoundErrorClass extends Error { - readonly name: 'VersionNotFoundError'; - - constructor(packageName: string, version: string); -} - -declare class PackageNotFoundErrorClass extends Error { - readonly name: 'PackageNotFoundError'; - - constructor(packageName: string); -} - -declare namespace packageJson { - interface Agents { - http?: HttpAgent; - https?: HttpsAgent; - } - - interface Options { - /** - Package version such as `1.0.0` or a [dist tag](https://docs.npmjs.com/cli/dist-tag) such as `latest`. - - The version can also be in any format supported by the [semver](https://github.com/npm/node-semver) module. For example: - - `1` - Get the latest `1.x.x` - - `1.2` - Get the latest `1.2.x` - - `^1.2.3` - Get the latest `1.x.x` but at least `1.2.3` - - `~1.2.3` - Get the latest `1.2.x` but at least `1.2.3` - - @default 'latest' - */ - readonly version?: string; - - /** - By default, only an abbreviated metadata object is returned for performance reasons. [Read more.](https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md) - - @default false - */ - readonly fullMetadata?: boolean; - - /** - Return the [main entry](https://registry.npmjs.org/ava) containing all versions. - - @default false - */ - readonly allVersions?: boolean; - - /** - The registry URL is by default inferred from the npm defaults and `.npmrc`. This is beneficial as `package-json` and any project using it will work just like npm. This option is*only** intended for internal tools. You should*not** use this option in reusable packages. Prefer just using `.npmrc` whenever possible. - */ - readonly registryUrl?: string; - - /** - Overwrite the `agent` option that is passed down to [`got`](https://github.com/sindresorhus/got#agent). This might be useful to add [proxy support](https://github.com/sindresorhus/got#proxies). - */ - readonly agent?: HttpAgent | HttpsAgent | Agents | false; - } - - interface FullMetadataOptions extends Options { - /** - By default, only an abbreviated metadata object is returned for performance reasons. [Read more.](https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md) - - @default false - */ - readonly fullMetadata: true; - } - - interface DistTags { - readonly latest: string; - readonly [tagName: string]: string; - } - - interface AbbreviatedMetadata { - readonly 'dist-tags': DistTags; - readonly modified: string; - readonly name: string; - readonly versions: {readonly [version: string]: AbbreviatedVersion}; - readonly [key: string]: unknown; - } - - interface AbbreviatedVersion { - readonly name: string; - readonly version: string; - readonly dist: { - readonly shasum: string; - readonly tarball: string; - readonly integrity?: string; - }; - readonly deprecated?: string; - readonly dependencies?: {readonly [name: string]: string}; - readonly optionalDependencies?: {readonly [name: string]: string}; - readonly devDependencies?: {readonly [name: string]: string}; - readonly bundleDependencies?: {readonly [name: string]: string}; - readonly peerDependencies?: {readonly [name: string]: string}; - readonly bin?: {readonly [key: string]: string}; - readonly directories?: readonly string[]; - readonly engines?: {readonly [type: string]: string}; - readonly _hasShrinkwrap?: boolean; - readonly [key: string]: unknown; - } - - interface Person { - readonly name?: string; - readonly email?: string; - readonly url?: string; - } - - interface HoistedData { - readonly author?: Person; - readonly bugs?: - | {readonly url: string; readonly email?: string} - | {readonly url?: string; readonly email: string}; - readonly contributors?: readonly Person[]; - readonly description?: string; - readonly homepage?: string; - readonly keywords?: readonly string[]; - readonly license?: string; - readonly maintainers?: readonly Person[]; - readonly readme?: string; - readonly readmeFilename?: string; - readonly repository?: {readonly type: string; readonly url: string}; - } - - interface FullMetadata extends AbbreviatedMetadata, HoistedData { - readonly _id: string; - readonly _rev: string; - readonly time: { - readonly created: string; - readonly modified: string; - readonly [version: string]: string; - }; - readonly users?: {readonly [user: string]: boolean}; - readonly versions: {readonly [version: string]: FullVersion}; - readonly [key: string]: unknown; - } - - interface FullVersion extends AbbreviatedVersion, HoistedData { - readonly _id: string; - readonly _nodeVersion: string; - readonly _npmUser: string; - readonly _npmVersion: string; - readonly main?: string; - readonly files?: readonly string[]; - readonly man?: readonly string[]; - readonly scripts?: {readonly [scriptName: string]: string}; - readonly gitHead?: string; - readonly types?: string; - readonly typings?: string; - readonly [key: string]: unknown; - } - - type VersionNotFoundError = VersionNotFoundErrorClass; - type PackageNotFoundError = PackageNotFoundErrorClass; -} - -declare const packageJson: { - /** - Get metadata of a package from the npm registry. - - @param packageName - Name of the package. - - @example - ``` - import packageJson = require('package-json'); - - (async () => { - console.log(await packageJson('ava')); - //=> {name: 'ava', ...} - - // Also works with scoped packages - console.log(await packageJson('@sindresorhus/df')); - })(); - ``` - */ - (packageName: string, options: packageJson.FullMetadataOptions): Promise< - packageJson.FullMetadata - >; - (packageName: string, options?: packageJson.Options): Promise< - packageJson.AbbreviatedMetadata - >; - - /** - The error thrown when the given package version cannot be found. - */ - VersionNotFoundError: typeof VersionNotFoundErrorClass; - - /** - The error thrown when the given package name cannot be found. - */ - PackageNotFoundError: typeof PackageNotFoundErrorClass; - - // TODO: remove this in the next major version - default: typeof packageJson; -}; - -export = packageJson; diff --git a/node_modules/package-json/index.js b/node_modules/package-json/index.js deleted file mode 100644 index b19cf2e3e..000000000 --- a/node_modules/package-json/index.js +++ /dev/null @@ -1,115 +0,0 @@ -'use strict'; -const {URL} = require('url'); -const {Agent: HttpAgent} = require('http'); -const {Agent: HttpsAgent} = require('https'); -const got = require('got'); -const registryUrl = require('registry-url'); -const registryAuthToken = require('registry-auth-token'); -const semver = require('semver'); - -// These agent options are chosen to match the npm client defaults and help with performance -// See: `npm config get maxsockets` and #50 -const agentOptions = { - keepAlive: true, - maxSockets: 50 -}; -const httpAgent = new HttpAgent(agentOptions); -const httpsAgent = new HttpsAgent(agentOptions); - -class PackageNotFoundError extends Error { - constructor(packageName) { - super(`Package \`${packageName}\` could not be found`); - this.name = 'PackageNotFoundError'; - } -} - -class VersionNotFoundError extends Error { - constructor(packageName, version) { - super(`Version \`${version}\` for package \`${packageName}\` could not be found`); - this.name = 'VersionNotFoundError'; - } -} - -const packageJson = async (packageName, options) => { - options = { - version: 'latest', - ...options - }; - - const scope = packageName.split('/')[0]; - const registryUrl_ = options.registryUrl || registryUrl(scope); - const packageUrl = new URL(encodeURIComponent(packageName).replace(/^%40/, '@'), registryUrl_); - const authInfo = registryAuthToken(registryUrl_.toString(), {recursive: true}); - - const headers = { - accept: 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*' - }; - - if (options.fullMetadata) { - delete headers.accept; - } - - if (authInfo) { - headers.authorization = `${authInfo.type} ${authInfo.token}`; - } - - const gotOptions = { - json: true, - headers, - agent: { - http: httpAgent, - https: httpsAgent - } - }; - - if (options.agent) { - gotOptions.agent = options.agent; - } - - let response; - try { - response = await got(packageUrl, gotOptions); - } catch (error) { - if (error.statusCode === 404) { - throw new PackageNotFoundError(packageName); - } - - throw error; - } - - let data = response.body; - - if (options.allVersions) { - return data; - } - - let {version} = options; - const versionError = new VersionNotFoundError(packageName, version); - - if (data['dist-tags'][version]) { - data = data.versions[data['dist-tags'][version]]; - } else if (version) { - if (!data.versions[version]) { - const versions = Object.keys(data.versions); - version = semver.maxSatisfying(versions, version); - - if (!version) { - throw versionError; - } - } - - data = data.versions[version]; - - if (!data) { - throw versionError; - } - } - - return data; -}; - -module.exports = packageJson; -// TODO: remove this in the next major version -module.exports.default = packageJson; -module.exports.PackageNotFoundError = PackageNotFoundError; -module.exports.VersionNotFoundError = VersionNotFoundError; diff --git a/node_modules/package-json/license b/node_modules/package-json/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/package-json/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/package-json/node_modules/.bin/semver b/node_modules/package-json/node_modules/.bin/semver deleted file mode 120000 index 5aaadf42c..000000000 --- a/node_modules/package-json/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/package-json/node_modules/semver/CHANGELOG.md b/node_modules/package-json/node_modules/semver/CHANGELOG.md deleted file mode 100644 index f567dd3fe..000000000 --- a/node_modules/package-json/node_modules/semver/CHANGELOG.md +++ /dev/null @@ -1,70 +0,0 @@ -# changes log - -## 6.2.0 - -* Coerce numbers to strings when passed to semver.coerce() -* Add `rtl` option to coerce from right to left - -## 6.1.3 - -* Handle X-ranges properly in includePrerelease mode - -## 6.1.2 - -* Do not throw when testing invalid version strings - -## 6.1.1 - -* Add options support for semver.coerce() -* Handle undefined version passed to Range.test - -## 6.1.0 - -* Add semver.compareBuild function -* Support `*` in semver.intersects - -## 6.0 - -* Fix `intersects` logic. - - This is technically a bug fix, but since it is also a change to behavior - that may require users updating their code, it is marked as a major - version increment. - -## 5.7 - -* Add `minVersion` method - -## 5.6 - -* Move boolean `loose` param to an options object, with - backwards-compatibility protection. -* Add ability to opt out of special prerelease version handling with - the `includePrerelease` option flag. - -## 5.5 - -* Add version coercion capabilities - -## 5.4 - -* Add intersection checking - -## 5.3 - -* Add `minSatisfying` method - -## 5.2 - -* Add `prerelease(v)` that returns prerelease components - -## 5.1 - -* Add Backus-Naur for ranges -* Remove excessively cute inspection methods - -## 5.0 - -* Remove AMD/Browserified build artifacts -* Fix ltr and gtr when using the `*` range -* Fix for range `*` with a prerelease identifier diff --git a/node_modules/package-json/node_modules/semver/LICENSE b/node_modules/package-json/node_modules/semver/LICENSE deleted file mode 100644 index 19129e315..000000000 --- a/node_modules/package-json/node_modules/semver/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/package-json/node_modules/semver/README.md b/node_modules/package-json/node_modules/semver/README.md deleted file mode 100644 index 2293a14fd..000000000 --- a/node_modules/package-json/node_modules/semver/README.md +++ /dev/null @@ -1,443 +0,0 @@ -semver(1) -- The semantic versioner for npm -=========================================== - -## Install - -```bash -npm install semver -```` - -## Usage - -As a node module: - -```js -const semver = require('semver') - -semver.valid('1.2.3') // '1.2.3' -semver.valid('a.b.c') // null -semver.clean(' =v1.2.3 ') // '1.2.3' -semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true -semver.gt('1.2.3', '9.8.7') // false -semver.lt('1.2.3', '9.8.7') // true -semver.minVersion('>=1.0.0') // '1.0.0' -semver.valid(semver.coerce('v2')) // '2.0.0' -semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7' -``` - -As a command-line utility: - -``` -$ semver -h - -A JavaScript implementation of the https://semver.org/ specification -Copyright Isaac Z. Schlueter - -Usage: semver [options] [ [...]] -Prints valid versions sorted by SemVer precedence - -Options: --r --range - Print versions that match the specified range. - --i --increment [] - Increment a version by the specified level. Level can - be one of: major, minor, patch, premajor, preminor, - prepatch, or prerelease. Default level is 'patch'. - Only one version may be specified. - ---preid - Identifier to be used to prefix premajor, preminor, - prepatch or prerelease version increments. - --l --loose - Interpret versions and ranges loosely - --p --include-prerelease - Always include prerelease versions in range matching - --c --coerce - Coerce a string into SemVer if possible - (does not imply --loose) - ---rtl - Coerce version strings right to left - ---ltr - Coerce version strings left to right (default) - -Program exits successfully if any valid version satisfies -all supplied ranges, and prints all satisfying versions. - -If no satisfying versions are found, then exits failure. - -Versions are printed in ascending order, so supplying -multiple versions to the utility will just sort them. -``` - -## Versions - -A "version" is described by the `v2.0.0` specification found at -. - -A leading `"="` or `"v"` character is stripped off and ignored. - -## Ranges - -A `version range` is a set of `comparators` which specify versions -that satisfy the range. - -A `comparator` is composed of an `operator` and a `version`. The set -of primitive `operators` is: - -* `<` Less than -* `<=` Less than or equal to -* `>` Greater than -* `>=` Greater than or equal to -* `=` Equal. If no operator is specified, then equality is assumed, - so this operator is optional, but MAY be included. - -For example, the comparator `>=1.2.7` would match the versions -`1.2.7`, `1.2.8`, `2.5.3`, and `1.3.9`, but not the versions `1.2.6` -or `1.1.0`. - -Comparators can be joined by whitespace to form a `comparator set`, -which is satisfied by the **intersection** of all of the comparators -it includes. - -A range is composed of one or more comparator sets, joined by `||`. A -version matches a range if and only if every comparator in at least -one of the `||`-separated comparator sets is satisfied by the version. - -For example, the range `>=1.2.7 <1.3.0` would match the versions -`1.2.7`, `1.2.8`, and `1.2.99`, but not the versions `1.2.6`, `1.3.0`, -or `1.1.0`. - -The range `1.2.7 || >=1.2.9 <2.0.0` would match the versions `1.2.7`, -`1.2.9`, and `1.4.6`, but not the versions `1.2.8` or `2.0.0`. - -### Prerelease Tags - -If a version has a prerelease tag (for example, `1.2.3-alpha.3`) then -it will only be allowed to satisfy comparator sets if at least one -comparator with the same `[major, minor, patch]` tuple also has a -prerelease tag. - -For example, the range `>1.2.3-alpha.3` would be allowed to match the -version `1.2.3-alpha.7`, but it would *not* be satisfied by -`3.4.5-alpha.9`, even though `3.4.5-alpha.9` is technically "greater -than" `1.2.3-alpha.3` according to the SemVer sort rules. The version -range only accepts prerelease tags on the `1.2.3` version. The -version `3.4.5` *would* satisfy the range, because it does not have a -prerelease flag, and `3.4.5` is greater than `1.2.3-alpha.7`. - -The purpose for this behavior is twofold. First, prerelease versions -frequently are updated very quickly, and contain many breaking changes -that are (by the author's design) not yet fit for public consumption. -Therefore, by default, they are excluded from range matching -semantics. - -Second, a user who has opted into using a prerelease version has -clearly indicated the intent to use *that specific* set of -alpha/beta/rc versions. By including a prerelease tag in the range, -the user is indicating that they are aware of the risk. However, it -is still not appropriate to assume that they have opted into taking a -similar risk on the *next* set of prerelease versions. - -Note that this behavior can be suppressed (treating all prerelease -versions as if they were normal versions, for the purpose of range -matching) by setting the `includePrerelease` flag on the options -object to any -[functions](https://github.com/npm/node-semver#functions) that do -range matching. - -#### Prerelease Identifiers - -The method `.inc` takes an additional `identifier` string argument that -will append the value of the string as a prerelease identifier: - -```javascript -semver.inc('1.2.3', 'prerelease', 'beta') -// '1.2.4-beta.0' -``` - -command-line example: - -```bash -$ semver 1.2.3 -i prerelease --preid beta -1.2.4-beta.0 -``` - -Which then can be used to increment further: - -```bash -$ semver 1.2.4-beta.0 -i prerelease -1.2.4-beta.1 -``` - -### Advanced Range Syntax - -Advanced range syntax desugars to primitive comparators in -deterministic ways. - -Advanced ranges may be combined in the same way as primitive -comparators using white space or `||`. - -#### Hyphen Ranges `X.Y.Z - A.B.C` - -Specifies an inclusive set. - -* `1.2.3 - 2.3.4` := `>=1.2.3 <=2.3.4` - -If a partial version is provided as the first version in the inclusive -range, then the missing pieces are replaced with zeroes. - -* `1.2 - 2.3.4` := `>=1.2.0 <=2.3.4` - -If a partial version is provided as the second version in the -inclusive range, then all versions that start with the supplied parts -of the tuple are accepted, but nothing that would be greater than the -provided tuple parts. - -* `1.2.3 - 2.3` := `>=1.2.3 <2.4.0` -* `1.2.3 - 2` := `>=1.2.3 <3.0.0` - -#### X-Ranges `1.2.x` `1.X` `1.2.*` `*` - -Any of `X`, `x`, or `*` may be used to "stand in" for one of the -numeric values in the `[major, minor, patch]` tuple. - -* `*` := `>=0.0.0` (Any version satisfies) -* `1.x` := `>=1.0.0 <2.0.0` (Matching major version) -* `1.2.x` := `>=1.2.0 <1.3.0` (Matching major and minor versions) - -A partial version range is treated as an X-Range, so the special -character is in fact optional. - -* `""` (empty string) := `*` := `>=0.0.0` -* `1` := `1.x.x` := `>=1.0.0 <2.0.0` -* `1.2` := `1.2.x` := `>=1.2.0 <1.3.0` - -#### Tilde Ranges `~1.2.3` `~1.2` `~1` - -Allows patch-level changes if a minor version is specified on the -comparator. Allows minor-level changes if not. - -* `~1.2.3` := `>=1.2.3 <1.(2+1).0` := `>=1.2.3 <1.3.0` -* `~1.2` := `>=1.2.0 <1.(2+1).0` := `>=1.2.0 <1.3.0` (Same as `1.2.x`) -* `~1` := `>=1.0.0 <(1+1).0.0` := `>=1.0.0 <2.0.0` (Same as `1.x`) -* `~0.2.3` := `>=0.2.3 <0.(2+1).0` := `>=0.2.3 <0.3.0` -* `~0.2` := `>=0.2.0 <0.(2+1).0` := `>=0.2.0 <0.3.0` (Same as `0.2.x`) -* `~0` := `>=0.0.0 <(0+1).0.0` := `>=0.0.0 <1.0.0` (Same as `0.x`) -* `~1.2.3-beta.2` := `>=1.2.3-beta.2 <1.3.0` Note that prereleases in - the `1.2.3` version will be allowed, if they are greater than or - equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but - `1.2.4-beta.2` would not, because it is a prerelease of a - different `[major, minor, patch]` tuple. - -#### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4` - -Allows changes that do not modify the left-most non-zero element in the -`[major, minor, patch]` tuple. In other words, this allows patch and -minor updates for versions `1.0.0` and above, patch updates for -versions `0.X >=0.1.0`, and *no* updates for versions `0.0.X`. - -Many authors treat a `0.x` version as if the `x` were the major -"breaking-change" indicator. - -Caret ranges are ideal when an author may make breaking changes -between `0.2.4` and `0.3.0` releases, which is a common practice. -However, it presumes that there will *not* be breaking changes between -`0.2.4` and `0.2.5`. It allows for changes that are presumed to be -additive (but non-breaking), according to commonly observed practices. - -* `^1.2.3` := `>=1.2.3 <2.0.0` -* `^0.2.3` := `>=0.2.3 <0.3.0` -* `^0.0.3` := `>=0.0.3 <0.0.4` -* `^1.2.3-beta.2` := `>=1.2.3-beta.2 <2.0.0` Note that prereleases in - the `1.2.3` version will be allowed, if they are greater than or - equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but - `1.2.4-beta.2` would not, because it is a prerelease of a - different `[major, minor, patch]` tuple. -* `^0.0.3-beta` := `>=0.0.3-beta <0.0.4` Note that prereleases in the - `0.0.3` version *only* will be allowed, if they are greater than or - equal to `beta`. So, `0.0.3-pr.2` would be allowed. - -When parsing caret ranges, a missing `patch` value desugars to the -number `0`, but will allow flexibility within that value, even if the -major and minor versions are both `0`. - -* `^1.2.x` := `>=1.2.0 <2.0.0` -* `^0.0.x` := `>=0.0.0 <0.1.0` -* `^0.0` := `>=0.0.0 <0.1.0` - -A missing `minor` and `patch` values will desugar to zero, but also -allow flexibility within those values, even if the major version is -zero. - -* `^1.x` := `>=1.0.0 <2.0.0` -* `^0.x` := `>=0.0.0 <1.0.0` - -### Range Grammar - -Putting all this together, here is a Backus-Naur grammar for ranges, -for the benefit of parser authors: - -```bnf -range-set ::= range ( logical-or range ) * -logical-or ::= ( ' ' ) * '||' ( ' ' ) * -range ::= hyphen | simple ( ' ' simple ) * | '' -hyphen ::= partial ' - ' partial -simple ::= primitive | partial | tilde | caret -primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial -partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? -xr ::= 'x' | 'X' | '*' | nr -nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) * -tilde ::= '~' partial -caret ::= '^' partial -qualifier ::= ( '-' pre )? ( '+' build )? -pre ::= parts -build ::= parts -parts ::= part ( '.' part ) * -part ::= nr | [-0-9A-Za-z]+ -``` - -## Functions - -All methods and classes take a final `options` object argument. All -options in this object are `false` by default. The options supported -are: - -- `loose` Be more forgiving about not-quite-valid semver strings. - (Any resulting output will always be 100% strict compliant, of - course.) For backwards compatibility reasons, if the `options` - argument is a boolean value instead of an object, it is interpreted - to be the `loose` param. -- `includePrerelease` Set to suppress the [default - behavior](https://github.com/npm/node-semver#prerelease-tags) of - excluding prerelease tagged versions from ranges unless they are - explicitly opted into. - -Strict-mode Comparators and Ranges will be strict about the SemVer -strings that they parse. - -* `valid(v)`: Return the parsed version, or null if it's not valid. -* `inc(v, release)`: Return the version incremented by the release - type (`major`, `premajor`, `minor`, `preminor`, `patch`, - `prepatch`, or `prerelease`), or null if it's not valid - * `premajor` in one call will bump the version up to the next major - version and down to a prerelease of that major version. - `preminor`, and `prepatch` work the same way. - * If called from a non-prerelease version, the `prerelease` will work the - same as `prepatch`. It increments the patch version, then makes a - prerelease. If the input version is already a prerelease it simply - increments it. -* `prerelease(v)`: Returns an array of prerelease components, or null - if none exist. Example: `prerelease('1.2.3-alpha.1') -> ['alpha', 1]` -* `major(v)`: Return the major version number. -* `minor(v)`: Return the minor version number. -* `patch(v)`: Return the patch version number. -* `intersects(r1, r2, loose)`: Return true if the two supplied ranges - or comparators intersect. -* `parse(v)`: Attempt to parse a string as a semantic version, returning either - a `SemVer` object or `null`. - -### Comparison - -* `gt(v1, v2)`: `v1 > v2` -* `gte(v1, v2)`: `v1 >= v2` -* `lt(v1, v2)`: `v1 < v2` -* `lte(v1, v2)`: `v1 <= v2` -* `eq(v1, v2)`: `v1 == v2` This is true if they're logically equivalent, - even if they're not the exact same string. You already know how to - compare strings. -* `neq(v1, v2)`: `v1 != v2` The opposite of `eq`. -* `cmp(v1, comparator, v2)`: Pass in a comparison string, and it'll call - the corresponding function above. `"==="` and `"!=="` do simple - string comparison, but are included for completeness. Throws if an - invalid comparison string is provided. -* `compare(v1, v2)`: Return `0` if `v1 == v2`, or `1` if `v1` is greater, or `-1` if - `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. -* `rcompare(v1, v2)`: The reverse of compare. Sorts an array of versions - in descending order when passed to `Array.sort()`. -* `compareBuild(v1, v2)`: The same as `compare` but considers `build` when two versions - are equal. Sorts in ascending order if passed to `Array.sort()`. - `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. -* `diff(v1, v2)`: Returns difference between two versions by the release type - (`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`), - or null if the versions are the same. - -### Comparators - -* `intersects(comparator)`: Return true if the comparators intersect - -### Ranges - -* `validRange(range)`: Return the valid range or null if it's not valid -* `satisfies(version, range)`: Return true if the version satisfies the - range. -* `maxSatisfying(versions, range)`: Return the highest version in the list - that satisfies the range, or `null` if none of them do. -* `minSatisfying(versions, range)`: Return the lowest version in the list - that satisfies the range, or `null` if none of them do. -* `minVersion(range)`: Return the lowest version that can possibly match - the given range. -* `gtr(version, range)`: Return `true` if version is greater than all the - versions possible in the range. -* `ltr(version, range)`: Return `true` if version is less than all the - versions possible in the range. -* `outside(version, range, hilo)`: Return true if the version is outside - the bounds of the range in either the high or low direction. The - `hilo` argument must be either the string `'>'` or `'<'`. (This is - the function called by `gtr` and `ltr`.) -* `intersects(range)`: Return true if any of the ranges comparators intersect - -Note that, since ranges may be non-contiguous, a version might not be -greater than a range, less than a range, *or* satisfy a range! For -example, the range `1.2 <1.2.9 || >2.0.0` would have a hole from `1.2.9` -until `2.0.0`, so the version `1.2.10` would not be greater than the -range (because `2.0.1` satisfies, which is higher), nor less than the -range (since `1.2.8` satisfies, which is lower), and it also does not -satisfy the range. - -If you want to know if a version satisfies or does not satisfy a -range, use the `satisfies(version, range)` function. - -### Coercion - -* `coerce(version, options)`: Coerces a string to semver if possible - -This aims to provide a very forgiving translation of a non-semver string to -semver. It looks for the first digit in a string, and consumes all -remaining characters which satisfy at least a partial semver (e.g., `1`, -`1.2`, `1.2.3`) up to the max permitted length (256 characters). Longer -versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`). All -surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes -`3.4.0`). Only text which lacks digits will fail coercion (`version one` -is not valid). The maximum length for any semver component considered for -coercion is 16 characters; longer components will be ignored -(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any -semver component is `Integer.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value -components are invalid (`9999999999999999.4.7.4` is likely invalid). - -If the `options.rtl` flag is set, then `coerce` will return the right-most -coercible tuple that does not share an ending index with a longer coercible -tuple. For example, `1.2.3.4` will return `2.3.4` in rtl mode, not -`4.0.0`. `1.2.3/4` will return `4.0.0`, because the `4` is not a part of -any other overlapping SemVer tuple. - -### Clean - -* `clean(version)`: Clean a string to be a valid semver if possible - -This will return a cleaned and trimmed semver version. If the provided version is not valid a null will be returned. This does not work for ranges. - -ex. -* `s.clean(' = v 2.1.5foo')`: `null` -* `s.clean(' = v 2.1.5foo', { loose: true })`: `'2.1.5-foo'` -* `s.clean(' = v 2.1.5-foo')`: `null` -* `s.clean(' = v 2.1.5-foo', { loose: true })`: `'2.1.5-foo'` -* `s.clean('=v2.1.5')`: `'2.1.5'` -* `s.clean(' =v2.1.5')`: `2.1.5` -* `s.clean(' 2.1.5 ')`: `'2.1.5'` -* `s.clean('~1.0.0')`: `null` diff --git a/node_modules/package-json/node_modules/semver/bin/semver.js b/node_modules/package-json/node_modules/semver/bin/semver.js deleted file mode 100755 index 666034a75..000000000 --- a/node_modules/package-json/node_modules/semver/bin/semver.js +++ /dev/null @@ -1,174 +0,0 @@ -#!/usr/bin/env node -// Standalone semver comparison program. -// Exits successfully and prints matching version(s) if -// any supplied version is valid and passes all tests. - -var argv = process.argv.slice(2) - -var versions = [] - -var range = [] - -var inc = null - -var version = require('../package.json').version - -var loose = false - -var includePrerelease = false - -var coerce = false - -var rtl = false - -var identifier - -var semver = require('../semver') - -var reverse = false - -var options = {} - -main() - -function main () { - if (!argv.length) return help() - while (argv.length) { - var a = argv.shift() - var indexOfEqualSign = a.indexOf('=') - if (indexOfEqualSign !== -1) { - a = a.slice(0, indexOfEqualSign) - argv.unshift(a.slice(indexOfEqualSign + 1)) - } - switch (a) { - case '-rv': case '-rev': case '--rev': case '--reverse': - reverse = true - break - case '-l': case '--loose': - loose = true - break - case '-p': case '--include-prerelease': - includePrerelease = true - break - case '-v': case '--version': - versions.push(argv.shift()) - break - case '-i': case '--inc': case '--increment': - switch (argv[0]) { - case 'major': case 'minor': case 'patch': case 'prerelease': - case 'premajor': case 'preminor': case 'prepatch': - inc = argv.shift() - break - default: - inc = 'patch' - break - } - break - case '--preid': - identifier = argv.shift() - break - case '-r': case '--range': - range.push(argv.shift()) - break - case '-c': case '--coerce': - coerce = true - break - case '--rtl': - rtl = true - break - case '--ltr': - rtl = false - break - case '-h': case '--help': case '-?': - return help() - default: - versions.push(a) - break - } - } - - var options = { loose: loose, includePrerelease: includePrerelease, rtl: rtl } - - versions = versions.map(function (v) { - return coerce ? (semver.coerce(v, options) || { version: v }).version : v - }).filter(function (v) { - return semver.valid(v) - }) - if (!versions.length) return fail() - if (inc && (versions.length !== 1 || range.length)) { return failInc() } - - for (var i = 0, l = range.length; i < l; i++) { - versions = versions.filter(function (v) { - return semver.satisfies(v, range[i], options) - }) - if (!versions.length) return fail() - } - return success(versions) -} - -function failInc () { - console.error('--inc can only be used on a single version with no range') - fail() -} - -function fail () { process.exit(1) } - -function success () { - var compare = reverse ? 'rcompare' : 'compare' - versions.sort(function (a, b) { - return semver[compare](a, b, options) - }).map(function (v) { - return semver.clean(v, options) - }).map(function (v) { - return inc ? semver.inc(v, inc, options, identifier) : v - }).forEach(function (v, i, _) { console.log(v) }) -} - -function help () { - console.log(['SemVer ' + version, - '', - 'A JavaScript implementation of the https://semver.org/ specification', - 'Copyright Isaac Z. Schlueter', - '', - 'Usage: semver [options] [ [...]]', - 'Prints valid versions sorted by SemVer precedence', - '', - 'Options:', - '-r --range ', - ' Print versions that match the specified range.', - '', - '-i --increment []', - ' Increment a version by the specified level. Level can', - ' be one of: major, minor, patch, premajor, preminor,', - " prepatch, or prerelease. Default level is 'patch'.", - ' Only one version may be specified.', - '', - '--preid ', - ' Identifier to be used to prefix premajor, preminor,', - ' prepatch or prerelease version increments.', - '', - '-l --loose', - ' Interpret versions and ranges loosely', - '', - '-p --include-prerelease', - ' Always include prerelease versions in range matching', - '', - '-c --coerce', - ' Coerce a string into SemVer if possible', - ' (does not imply --loose)', - '', - '--rtl', - ' Coerce version strings right to left', - '', - '--ltr', - ' Coerce version strings left to right (default)', - '', - 'Program exits successfully if any valid version satisfies', - 'all supplied ranges, and prints all satisfying versions.', - '', - 'If no satisfying versions are found, then exits failure.', - '', - 'Versions are printed in ascending order, so supplying', - 'multiple versions to the utility will just sort them.' - ].join('\n')) -} diff --git a/node_modules/package-json/node_modules/semver/package.json b/node_modules/package-json/node_modules/semver/package.json deleted file mode 100644 index bdd442f50..000000000 --- a/node_modules/package-json/node_modules/semver/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "semver", - "version": "6.3.0", - "description": "The semantic version parser used by npm.", - "main": "semver.js", - "scripts": { - "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --follow-tags" - }, - "devDependencies": { - "tap": "^14.3.1" - }, - "license": "ISC", - "repository": "https://github.com/npm/node-semver", - "bin": { - "semver": "./bin/semver.js" - }, - "files": [ - "bin", - "range.bnf", - "semver.js" - ], - "tap": { - "check-coverage": true - } -} diff --git a/node_modules/package-json/node_modules/semver/range.bnf b/node_modules/package-json/node_modules/semver/range.bnf deleted file mode 100644 index d4c6ae0d7..000000000 --- a/node_modules/package-json/node_modules/semver/range.bnf +++ /dev/null @@ -1,16 +0,0 @@ -range-set ::= range ( logical-or range ) * -logical-or ::= ( ' ' ) * '||' ( ' ' ) * -range ::= hyphen | simple ( ' ' simple ) * | '' -hyphen ::= partial ' - ' partial -simple ::= primitive | partial | tilde | caret -primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial -partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? -xr ::= 'x' | 'X' | '*' | nr -nr ::= '0' | [1-9] ( [0-9] ) * -tilde ::= '~' partial -caret ::= '^' partial -qualifier ::= ( '-' pre )? ( '+' build )? -pre ::= parts -build ::= parts -parts ::= part ( '.' part ) * -part ::= nr | [-0-9A-Za-z]+ diff --git a/node_modules/package-json/node_modules/semver/semver.js b/node_modules/package-json/node_modules/semver/semver.js deleted file mode 100644 index 636fa4365..000000000 --- a/node_modules/package-json/node_modules/semver/semver.js +++ /dev/null @@ -1,1596 +0,0 @@ -exports = module.exports = SemVer - -var debug -/* istanbul ignore next */ -if (typeof process === 'object' && - process.env && - process.env.NODE_DEBUG && - /\bsemver\b/i.test(process.env.NODE_DEBUG)) { - debug = function () { - var args = Array.prototype.slice.call(arguments, 0) - args.unshift('SEMVER') - console.log.apply(console, args) - } -} else { - debug = function () {} -} - -// Note: this is the semver.org version of the spec that it implements -// Not necessarily the package version of this code. -exports.SEMVER_SPEC_VERSION = '2.0.0' - -var MAX_LENGTH = 256 -var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || - /* istanbul ignore next */ 9007199254740991 - -// Max safe segment length for coercion. -var MAX_SAFE_COMPONENT_LENGTH = 16 - -// The actual regexps go on exports.re -var re = exports.re = [] -var src = exports.src = [] -var t = exports.tokens = {} -var R = 0 - -function tok (n) { - t[n] = R++ -} - -// The following Regular Expressions can be used for tokenizing, -// validating, and parsing SemVer version strings. - -// ## Numeric Identifier -// A single `0`, or a non-zero digit followed by zero or more digits. - -tok('NUMERICIDENTIFIER') -src[t.NUMERICIDENTIFIER] = '0|[1-9]\\d*' -tok('NUMERICIDENTIFIERLOOSE') -src[t.NUMERICIDENTIFIERLOOSE] = '[0-9]+' - -// ## Non-numeric Identifier -// Zero or more digits, followed by a letter or hyphen, and then zero or -// more letters, digits, or hyphens. - -tok('NONNUMERICIDENTIFIER') -src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*' - -// ## Main Version -// Three dot-separated numeric identifiers. - -tok('MAINVERSION') -src[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIER] + ')' - -tok('MAINVERSIONLOOSE') -src[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')' - -// ## Pre-release Version Identifier -// A numeric identifier, or a non-numeric identifier. - -tok('PRERELEASEIDENTIFIER') -src[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] + - '|' + src[t.NONNUMERICIDENTIFIER] + ')' - -tok('PRERELEASEIDENTIFIERLOOSE') -src[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] + - '|' + src[t.NONNUMERICIDENTIFIER] + ')' - -// ## Pre-release Version -// Hyphen, followed by one or more dot-separated pre-release version -// identifiers. - -tok('PRERELEASE') -src[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] + - '(?:\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))' - -tok('PRERELEASELOOSE') -src[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] + - '(?:\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))' - -// ## Build Metadata Identifier -// Any combination of digits, letters, or hyphens. - -tok('BUILDIDENTIFIER') -src[t.BUILDIDENTIFIER] = '[0-9A-Za-z-]+' - -// ## Build Metadata -// Plus sign, followed by one or more period-separated build metadata -// identifiers. - -tok('BUILD') -src[t.BUILD] = '(?:\\+(' + src[t.BUILDIDENTIFIER] + - '(?:\\.' + src[t.BUILDIDENTIFIER] + ')*))' - -// ## Full Version String -// A main version, followed optionally by a pre-release version and -// build metadata. - -// Note that the only major, minor, patch, and pre-release sections of -// the version string are capturing groups. The build metadata is not a -// capturing group, because it should not ever be used in version -// comparison. - -tok('FULL') -tok('FULLPLAIN') -src[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] + - src[t.PRERELEASE] + '?' + - src[t.BUILD] + '?' - -src[t.FULL] = '^' + src[t.FULLPLAIN] + '$' - -// like full, but allows v1.2.3 and =1.2.3, which people do sometimes. -// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty -// common in the npm registry. -tok('LOOSEPLAIN') -src[t.LOOSEPLAIN] = '[v=\\s]*' + src[t.MAINVERSIONLOOSE] + - src[t.PRERELEASELOOSE] + '?' + - src[t.BUILD] + '?' - -tok('LOOSE') -src[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$' - -tok('GTLT') -src[t.GTLT] = '((?:<|>)?=?)' - -// Something like "2.*" or "1.2.x". -// Note that "x.x" is a valid xRange identifer, meaning "any version" -// Only the first item is strictly required. -tok('XRANGEIDENTIFIERLOOSE') -src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' -tok('XRANGEIDENTIFIER') -src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\*' - -tok('XRANGEPLAIN') -src[t.XRANGEPLAIN] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:' + src[t.PRERELEASE] + ')?' + - src[t.BUILD] + '?' + - ')?)?' - -tok('XRANGEPLAINLOOSE') -src[t.XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:' + src[t.PRERELEASELOOSE] + ')?' + - src[t.BUILD] + '?' + - ')?)?' - -tok('XRANGE') -src[t.XRANGE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAIN] + '$' -tok('XRANGELOOSE') -src[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAINLOOSE] + '$' - -// Coercion. -// Extract anything that could conceivably be a part of a valid semver -tok('COERCE') -src[t.COERCE] = '(^|[^\\d])' + - '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' + - '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + - '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + - '(?:$|[^\\d])' -tok('COERCERTL') -re[t.COERCERTL] = new RegExp(src[t.COERCE], 'g') - -// Tilde ranges. -// Meaning is "reasonably at or greater than" -tok('LONETILDE') -src[t.LONETILDE] = '(?:~>?)' - -tok('TILDETRIM') -src[t.TILDETRIM] = '(\\s*)' + src[t.LONETILDE] + '\\s+' -re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g') -var tildeTrimReplace = '$1~' - -tok('TILDE') -src[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$' -tok('TILDELOOSE') -src[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$' - -// Caret ranges. -// Meaning is "at least and backwards compatible with" -tok('LONECARET') -src[t.LONECARET] = '(?:\\^)' - -tok('CARETTRIM') -src[t.CARETTRIM] = '(\\s*)' + src[t.LONECARET] + '\\s+' -re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g') -var caretTrimReplace = '$1^' - -tok('CARET') -src[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$' -tok('CARETLOOSE') -src[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$' - -// A simple gt/lt/eq thing, or just "" to indicate "any version" -tok('COMPARATORLOOSE') -src[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\s*(' + src[t.LOOSEPLAIN] + ')$|^$' -tok('COMPARATOR') -src[t.COMPARATOR] = '^' + src[t.GTLT] + '\\s*(' + src[t.FULLPLAIN] + ')$|^$' - -// An expression to strip any whitespace between the gtlt and the thing -// it modifies, so that `> 1.2.3` ==> `>1.2.3` -tok('COMPARATORTRIM') -src[t.COMPARATORTRIM] = '(\\s*)' + src[t.GTLT] + - '\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')' - -// this one has to use the /g flag -re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g') -var comparatorTrimReplace = '$1$2$3' - -// Something like `1.2.3 - 1.2.4` -// Note that these all use the loose form, because they'll be -// checked against either the strict or loose comparator form -// later. -tok('HYPHENRANGE') -src[t.HYPHENRANGE] = '^\\s*(' + src[t.XRANGEPLAIN] + ')' + - '\\s+-\\s+' + - '(' + src[t.XRANGEPLAIN] + ')' + - '\\s*$' - -tok('HYPHENRANGELOOSE') -src[t.HYPHENRANGELOOSE] = '^\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' + - '\\s+-\\s+' + - '(' + src[t.XRANGEPLAINLOOSE] + ')' + - '\\s*$' - -// Star ranges basically just allow anything at all. -tok('STAR') -src[t.STAR] = '(<|>)?=?\\s*\\*' - -// Compile to actual regexp objects. -// All are flag-free, unless they were created above with a flag. -for (var i = 0; i < R; i++) { - debug(i, src[i]) - if (!re[i]) { - re[i] = new RegExp(src[i]) - } -} - -exports.parse = parse -function parse (version, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (version instanceof SemVer) { - return version - } - - if (typeof version !== 'string') { - return null - } - - if (version.length > MAX_LENGTH) { - return null - } - - var r = options.loose ? re[t.LOOSE] : re[t.FULL] - if (!r.test(version)) { - return null - } - - try { - return new SemVer(version, options) - } catch (er) { - return null - } -} - -exports.valid = valid -function valid (version, options) { - var v = parse(version, options) - return v ? v.version : null -} - -exports.clean = clean -function clean (version, options) { - var s = parse(version.trim().replace(/^[=v]+/, ''), options) - return s ? s.version : null -} - -exports.SemVer = SemVer - -function SemVer (version, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - if (version instanceof SemVer) { - if (version.loose === options.loose) { - return version - } else { - version = version.version - } - } else if (typeof version !== 'string') { - throw new TypeError('Invalid Version: ' + version) - } - - if (version.length > MAX_LENGTH) { - throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters') - } - - if (!(this instanceof SemVer)) { - return new SemVer(version, options) - } - - debug('SemVer', version, options) - this.options = options - this.loose = !!options.loose - - var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]) - - if (!m) { - throw new TypeError('Invalid Version: ' + version) - } - - this.raw = version - - // these are actually numbers - this.major = +m[1] - this.minor = +m[2] - this.patch = +m[3] - - if (this.major > MAX_SAFE_INTEGER || this.major < 0) { - throw new TypeError('Invalid major version') - } - - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { - throw new TypeError('Invalid minor version') - } - - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { - throw new TypeError('Invalid patch version') - } - - // numberify any prerelease numeric ids - if (!m[4]) { - this.prerelease = [] - } else { - this.prerelease = m[4].split('.').map(function (id) { - if (/^[0-9]+$/.test(id)) { - var num = +id - if (num >= 0 && num < MAX_SAFE_INTEGER) { - return num - } - } - return id - }) - } - - this.build = m[5] ? m[5].split('.') : [] - this.format() -} - -SemVer.prototype.format = function () { - this.version = this.major + '.' + this.minor + '.' + this.patch - if (this.prerelease.length) { - this.version += '-' + this.prerelease.join('.') - } - return this.version -} - -SemVer.prototype.toString = function () { - return this.version -} - -SemVer.prototype.compare = function (other) { - debug('SemVer.compare', this.version, this.options, other) - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - return this.compareMain(other) || this.comparePre(other) -} - -SemVer.prototype.compareMain = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - return compareIdentifiers(this.major, other.major) || - compareIdentifiers(this.minor, other.minor) || - compareIdentifiers(this.patch, other.patch) -} - -SemVer.prototype.comparePre = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - // NOT having a prerelease is > having one - if (this.prerelease.length && !other.prerelease.length) { - return -1 - } else if (!this.prerelease.length && other.prerelease.length) { - return 1 - } else if (!this.prerelease.length && !other.prerelease.length) { - return 0 - } - - var i = 0 - do { - var a = this.prerelease[i] - var b = other.prerelease[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) -} - -SemVer.prototype.compareBuild = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - var i = 0 - do { - var a = this.build[i] - var b = other.build[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) -} - -// preminor will bump the version up to the next minor release, and immediately -// down to pre-release. premajor and prepatch work the same way. -SemVer.prototype.inc = function (release, identifier) { - switch (release) { - case 'premajor': - this.prerelease.length = 0 - this.patch = 0 - this.minor = 0 - this.major++ - this.inc('pre', identifier) - break - case 'preminor': - this.prerelease.length = 0 - this.patch = 0 - this.minor++ - this.inc('pre', identifier) - break - case 'prepatch': - // If this is already a prerelease, it will bump to the next version - // drop any prereleases that might already exist, since they are not - // relevant at this point. - this.prerelease.length = 0 - this.inc('patch', identifier) - this.inc('pre', identifier) - break - // If the input is a non-prerelease version, this acts the same as - // prepatch. - case 'prerelease': - if (this.prerelease.length === 0) { - this.inc('patch', identifier) - } - this.inc('pre', identifier) - break - - case 'major': - // If this is a pre-major version, bump up to the same major version. - // Otherwise increment major. - // 1.0.0-5 bumps to 1.0.0 - // 1.1.0 bumps to 2.0.0 - if (this.minor !== 0 || - this.patch !== 0 || - this.prerelease.length === 0) { - this.major++ - } - this.minor = 0 - this.patch = 0 - this.prerelease = [] - break - case 'minor': - // If this is a pre-minor version, bump up to the same minor version. - // Otherwise increment minor. - // 1.2.0-5 bumps to 1.2.0 - // 1.2.1 bumps to 1.3.0 - if (this.patch !== 0 || this.prerelease.length === 0) { - this.minor++ - } - this.patch = 0 - this.prerelease = [] - break - case 'patch': - // If this is not a pre-release version, it will increment the patch. - // If it is a pre-release it will bump up to the same patch version. - // 1.2.0-5 patches to 1.2.0 - // 1.2.0 patches to 1.2.1 - if (this.prerelease.length === 0) { - this.patch++ - } - this.prerelease = [] - break - // This probably shouldn't be used publicly. - // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction. - case 'pre': - if (this.prerelease.length === 0) { - this.prerelease = [0] - } else { - var i = this.prerelease.length - while (--i >= 0) { - if (typeof this.prerelease[i] === 'number') { - this.prerelease[i]++ - i = -2 - } - } - if (i === -1) { - // didn't increment anything - this.prerelease.push(0) - } - } - if (identifier) { - // 1.2.0-beta.1 bumps to 1.2.0-beta.2, - // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 - if (this.prerelease[0] === identifier) { - if (isNaN(this.prerelease[1])) { - this.prerelease = [identifier, 0] - } - } else { - this.prerelease = [identifier, 0] - } - } - break - - default: - throw new Error('invalid increment argument: ' + release) - } - this.format() - this.raw = this.version - return this -} - -exports.inc = inc -function inc (version, release, loose, identifier) { - if (typeof (loose) === 'string') { - identifier = loose - loose = undefined - } - - try { - return new SemVer(version, loose).inc(release, identifier).version - } catch (er) { - return null - } -} - -exports.diff = diff -function diff (version1, version2) { - if (eq(version1, version2)) { - return null - } else { - var v1 = parse(version1) - var v2 = parse(version2) - var prefix = '' - if (v1.prerelease.length || v2.prerelease.length) { - prefix = 'pre' - var defaultResult = 'prerelease' - } - for (var key in v1) { - if (key === 'major' || key === 'minor' || key === 'patch') { - if (v1[key] !== v2[key]) { - return prefix + key - } - } - } - return defaultResult // may be undefined - } -} - -exports.compareIdentifiers = compareIdentifiers - -var numeric = /^[0-9]+$/ -function compareIdentifiers (a, b) { - var anum = numeric.test(a) - var bnum = numeric.test(b) - - if (anum && bnum) { - a = +a - b = +b - } - - return a === b ? 0 - : (anum && !bnum) ? -1 - : (bnum && !anum) ? 1 - : a < b ? -1 - : 1 -} - -exports.rcompareIdentifiers = rcompareIdentifiers -function rcompareIdentifiers (a, b) { - return compareIdentifiers(b, a) -} - -exports.major = major -function major (a, loose) { - return new SemVer(a, loose).major -} - -exports.minor = minor -function minor (a, loose) { - return new SemVer(a, loose).minor -} - -exports.patch = patch -function patch (a, loose) { - return new SemVer(a, loose).patch -} - -exports.compare = compare -function compare (a, b, loose) { - return new SemVer(a, loose).compare(new SemVer(b, loose)) -} - -exports.compareLoose = compareLoose -function compareLoose (a, b) { - return compare(a, b, true) -} - -exports.compareBuild = compareBuild -function compareBuild (a, b, loose) { - var versionA = new SemVer(a, loose) - var versionB = new SemVer(b, loose) - return versionA.compare(versionB) || versionA.compareBuild(versionB) -} - -exports.rcompare = rcompare -function rcompare (a, b, loose) { - return compare(b, a, loose) -} - -exports.sort = sort -function sort (list, loose) { - return list.sort(function (a, b) { - return exports.compareBuild(a, b, loose) - }) -} - -exports.rsort = rsort -function rsort (list, loose) { - return list.sort(function (a, b) { - return exports.compareBuild(b, a, loose) - }) -} - -exports.gt = gt -function gt (a, b, loose) { - return compare(a, b, loose) > 0 -} - -exports.lt = lt -function lt (a, b, loose) { - return compare(a, b, loose) < 0 -} - -exports.eq = eq -function eq (a, b, loose) { - return compare(a, b, loose) === 0 -} - -exports.neq = neq -function neq (a, b, loose) { - return compare(a, b, loose) !== 0 -} - -exports.gte = gte -function gte (a, b, loose) { - return compare(a, b, loose) >= 0 -} - -exports.lte = lte -function lte (a, b, loose) { - return compare(a, b, loose) <= 0 -} - -exports.cmp = cmp -function cmp (a, op, b, loose) { - switch (op) { - case '===': - if (typeof a === 'object') - a = a.version - if (typeof b === 'object') - b = b.version - return a === b - - case '!==': - if (typeof a === 'object') - a = a.version - if (typeof b === 'object') - b = b.version - return a !== b - - case '': - case '=': - case '==': - return eq(a, b, loose) - - case '!=': - return neq(a, b, loose) - - case '>': - return gt(a, b, loose) - - case '>=': - return gte(a, b, loose) - - case '<': - return lt(a, b, loose) - - case '<=': - return lte(a, b, loose) - - default: - throw new TypeError('Invalid operator: ' + op) - } -} - -exports.Comparator = Comparator -function Comparator (comp, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (comp instanceof Comparator) { - if (comp.loose === !!options.loose) { - return comp - } else { - comp = comp.value - } - } - - if (!(this instanceof Comparator)) { - return new Comparator(comp, options) - } - - debug('comparator', comp, options) - this.options = options - this.loose = !!options.loose - this.parse(comp) - - if (this.semver === ANY) { - this.value = '' - } else { - this.value = this.operator + this.semver.version - } - - debug('comp', this) -} - -var ANY = {} -Comparator.prototype.parse = function (comp) { - var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] - var m = comp.match(r) - - if (!m) { - throw new TypeError('Invalid comparator: ' + comp) - } - - this.operator = m[1] !== undefined ? m[1] : '' - if (this.operator === '=') { - this.operator = '' - } - - // if it literally is just '>' or '' then allow anything. - if (!m[2]) { - this.semver = ANY - } else { - this.semver = new SemVer(m[2], this.options.loose) - } -} - -Comparator.prototype.toString = function () { - return this.value -} - -Comparator.prototype.test = function (version) { - debug('Comparator.test', version, this.options.loose) - - if (this.semver === ANY || version === ANY) { - return true - } - - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } - } - - return cmp(version, this.operator, this.semver, this.options) -} - -Comparator.prototype.intersects = function (comp, options) { - if (!(comp instanceof Comparator)) { - throw new TypeError('a Comparator is required') - } - - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - var rangeTmp - - if (this.operator === '') { - if (this.value === '') { - return true - } - rangeTmp = new Range(comp.value, options) - return satisfies(this.value, rangeTmp, options) - } else if (comp.operator === '') { - if (comp.value === '') { - return true - } - rangeTmp = new Range(this.value, options) - return satisfies(comp.semver, rangeTmp, options) - } - - var sameDirectionIncreasing = - (this.operator === '>=' || this.operator === '>') && - (comp.operator === '>=' || comp.operator === '>') - var sameDirectionDecreasing = - (this.operator === '<=' || this.operator === '<') && - (comp.operator === '<=' || comp.operator === '<') - var sameSemVer = this.semver.version === comp.semver.version - var differentDirectionsInclusive = - (this.operator === '>=' || this.operator === '<=') && - (comp.operator === '>=' || comp.operator === '<=') - var oppositeDirectionsLessThan = - cmp(this.semver, '<', comp.semver, options) && - ((this.operator === '>=' || this.operator === '>') && - (comp.operator === '<=' || comp.operator === '<')) - var oppositeDirectionsGreaterThan = - cmp(this.semver, '>', comp.semver, options) && - ((this.operator === '<=' || this.operator === '<') && - (comp.operator === '>=' || comp.operator === '>')) - - return sameDirectionIncreasing || sameDirectionDecreasing || - (sameSemVer && differentDirectionsInclusive) || - oppositeDirectionsLessThan || oppositeDirectionsGreaterThan -} - -exports.Range = Range -function Range (range, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (range instanceof Range) { - if (range.loose === !!options.loose && - range.includePrerelease === !!options.includePrerelease) { - return range - } else { - return new Range(range.raw, options) - } - } - - if (range instanceof Comparator) { - return new Range(range.value, options) - } - - if (!(this instanceof Range)) { - return new Range(range, options) - } - - this.options = options - this.loose = !!options.loose - this.includePrerelease = !!options.includePrerelease - - // First, split based on boolean or || - this.raw = range - this.set = range.split(/\s*\|\|\s*/).map(function (range) { - return this.parseRange(range.trim()) - }, this).filter(function (c) { - // throw out any that are not relevant for whatever reason - return c.length - }) - - if (!this.set.length) { - throw new TypeError('Invalid SemVer Range: ' + range) - } - - this.format() -} - -Range.prototype.format = function () { - this.range = this.set.map(function (comps) { - return comps.join(' ').trim() - }).join('||').trim() - return this.range -} - -Range.prototype.toString = function () { - return this.range -} - -Range.prototype.parseRange = function (range) { - var loose = this.options.loose - range = range.trim() - // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4` - var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE] - range = range.replace(hr, hyphenReplace) - debug('hyphen replace', range) - // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5` - range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace) - debug('comparator trim', range, re[t.COMPARATORTRIM]) - - // `~ 1.2.3` => `~1.2.3` - range = range.replace(re[t.TILDETRIM], tildeTrimReplace) - - // `^ 1.2.3` => `^1.2.3` - range = range.replace(re[t.CARETTRIM], caretTrimReplace) - - // normalize spaces - range = range.split(/\s+/).join(' ') - - // At this point, the range is completely trimmed and - // ready to be split into comparators. - - var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] - var set = range.split(' ').map(function (comp) { - return parseComparator(comp, this.options) - }, this).join(' ').split(/\s+/) - if (this.options.loose) { - // in loose mode, throw out any that are not valid comparators - set = set.filter(function (comp) { - return !!comp.match(compRe) - }) - } - set = set.map(function (comp) { - return new Comparator(comp, this.options) - }, this) - - return set -} - -Range.prototype.intersects = function (range, options) { - if (!(range instanceof Range)) { - throw new TypeError('a Range is required') - } - - return this.set.some(function (thisComparators) { - return ( - isSatisfiable(thisComparators, options) && - range.set.some(function (rangeComparators) { - return ( - isSatisfiable(rangeComparators, options) && - thisComparators.every(function (thisComparator) { - return rangeComparators.every(function (rangeComparator) { - return thisComparator.intersects(rangeComparator, options) - }) - }) - ) - }) - ) - }) -} - -// take a set of comparators and determine whether there -// exists a version which can satisfy it -function isSatisfiable (comparators, options) { - var result = true - var remainingComparators = comparators.slice() - var testComparator = remainingComparators.pop() - - while (result && remainingComparators.length) { - result = remainingComparators.every(function (otherComparator) { - return testComparator.intersects(otherComparator, options) - }) - - testComparator = remainingComparators.pop() - } - - return result -} - -// Mostly just for testing and legacy API reasons -exports.toComparators = toComparators -function toComparators (range, options) { - return new Range(range, options).set.map(function (comp) { - return comp.map(function (c) { - return c.value - }).join(' ').trim().split(' ') - }) -} - -// comprised of xranges, tildes, stars, and gtlt's at this point. -// already replaced the hyphen ranges -// turn into a set of JUST comparators. -function parseComparator (comp, options) { - debug('comp', comp, options) - comp = replaceCarets(comp, options) - debug('caret', comp) - comp = replaceTildes(comp, options) - debug('tildes', comp) - comp = replaceXRanges(comp, options) - debug('xrange', comp) - comp = replaceStars(comp, options) - debug('stars', comp) - return comp -} - -function isX (id) { - return !id || id.toLowerCase() === 'x' || id === '*' -} - -// ~, ~> --> * (any, kinda silly) -// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0 -// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0 -// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0 -// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0 -// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0 -function replaceTildes (comp, options) { - return comp.trim().split(/\s+/).map(function (comp) { - return replaceTilde(comp, options) - }).join(' ') -} - -function replaceTilde (comp, options) { - var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE] - return comp.replace(r, function (_, M, m, p, pr) { - debug('tilde', comp, _, M, m, p, pr) - var ret - - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' - } else if (isX(p)) { - // ~1.2 == >=1.2.0 <1.3.0 - ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' - } else if (pr) { - debug('replaceTilde pr', pr) - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + (+m + 1) + '.0' - } else { - // ~1.2.3 == >=1.2.3 <1.3.0 - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + (+m + 1) + '.0' - } - - debug('tilde return', ret) - return ret - }) -} - -// ^ --> * (any, kinda silly) -// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0 -// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0 -// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0 -// ^1.2.3 --> >=1.2.3 <2.0.0 -// ^1.2.0 --> >=1.2.0 <2.0.0 -function replaceCarets (comp, options) { - return comp.trim().split(/\s+/).map(function (comp) { - return replaceCaret(comp, options) - }).join(' ') -} - -function replaceCaret (comp, options) { - debug('caret', comp, options) - var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET] - return comp.replace(r, function (_, M, m, p, pr) { - debug('caret', comp, _, M, m, p, pr) - var ret - - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' - } else if (isX(p)) { - if (M === '0') { - ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' - } else { - ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0' - } - } else if (pr) { - debug('replaceCaret pr', pr) - if (M === '0') { - if (m === '0') { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + m + '.' + (+p + 1) - } else { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + (+m + 1) + '.0' - } - } else { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + (+M + 1) + '.0.0' - } - } else { - debug('no pr') - if (M === '0') { - if (m === '0') { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + m + '.' + (+p + 1) - } else { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + (+m + 1) + '.0' - } - } else { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + (+M + 1) + '.0.0' - } - } - - debug('caret return', ret) - return ret - }) -} - -function replaceXRanges (comp, options) { - debug('replaceXRanges', comp, options) - return comp.split(/\s+/).map(function (comp) { - return replaceXRange(comp, options) - }).join(' ') -} - -function replaceXRange (comp, options) { - comp = comp.trim() - var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE] - return comp.replace(r, function (ret, gtlt, M, m, p, pr) { - debug('xRange', comp, ret, gtlt, M, m, p, pr) - var xM = isX(M) - var xm = xM || isX(m) - var xp = xm || isX(p) - var anyX = xp - - if (gtlt === '=' && anyX) { - gtlt = '' - } - - // if we're including prereleases in the match, then we need - // to fix this to -0, the lowest possible prerelease value - pr = options.includePrerelease ? '-0' : '' - - if (xM) { - if (gtlt === '>' || gtlt === '<') { - // nothing is allowed - ret = '<0.0.0-0' - } else { - // nothing is forbidden - ret = '*' - } - } else if (gtlt && anyX) { - // we know patch is an x, because we have any x at all. - // replace X with 0 - if (xm) { - m = 0 - } - p = 0 - - if (gtlt === '>') { - // >1 => >=2.0.0 - // >1.2 => >=1.3.0 - // >1.2.3 => >= 1.2.4 - gtlt = '>=' - if (xm) { - M = +M + 1 - m = 0 - p = 0 - } else { - m = +m + 1 - p = 0 - } - } else if (gtlt === '<=') { - // <=0.7.x is actually <0.8.0, since any 0.7.x should - // pass. Similarly, <=7.x is actually <8.0.0, etc. - gtlt = '<' - if (xm) { - M = +M + 1 - } else { - m = +m + 1 - } - } - - ret = gtlt + M + '.' + m + '.' + p + pr - } else if (xm) { - ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr - } else if (xp) { - ret = '>=' + M + '.' + m + '.0' + pr + - ' <' + M + '.' + (+m + 1) + '.0' + pr - } - - debug('xRange return', ret) - - return ret - }) -} - -// Because * is AND-ed with everything else in the comparator, -// and '' means "any version", just remove the *s entirely. -function replaceStars (comp, options) { - debug('replaceStars', comp, options) - // Looseness is ignored here. star is always as loose as it gets! - return comp.trim().replace(re[t.STAR], '') -} - -// This function is passed to string.replace(re[t.HYPHENRANGE]) -// M, m, patch, prerelease, build -// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 -// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do -// 1.2 - 3.4 => >=1.2.0 <3.5.0 -function hyphenReplace ($0, - from, fM, fm, fp, fpr, fb, - to, tM, tm, tp, tpr, tb) { - if (isX(fM)) { - from = '' - } else if (isX(fm)) { - from = '>=' + fM + '.0.0' - } else if (isX(fp)) { - from = '>=' + fM + '.' + fm + '.0' - } else { - from = '>=' + from - } - - if (isX(tM)) { - to = '' - } else if (isX(tm)) { - to = '<' + (+tM + 1) + '.0.0' - } else if (isX(tp)) { - to = '<' + tM + '.' + (+tm + 1) + '.0' - } else if (tpr) { - to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr - } else { - to = '<=' + to - } - - return (from + ' ' + to).trim() -} - -// if ANY of the sets match ALL of its comparators, then pass -Range.prototype.test = function (version) { - if (!version) { - return false - } - - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } - } - - for (var i = 0; i < this.set.length; i++) { - if (testSet(this.set[i], version, this.options)) { - return true - } - } - return false -} - -function testSet (set, version, options) { - for (var i = 0; i < set.length; i++) { - if (!set[i].test(version)) { - return false - } - } - - if (version.prerelease.length && !options.includePrerelease) { - // Find the set of versions that are allowed to have prereleases - // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0 - // That should allow `1.2.3-pr.2` to pass. - // However, `1.2.4-alpha.notready` should NOT be allowed, - // even though it's within the range set by the comparators. - for (i = 0; i < set.length; i++) { - debug(set[i].semver) - if (set[i].semver === ANY) { - continue - } - - if (set[i].semver.prerelease.length > 0) { - var allowed = set[i].semver - if (allowed.major === version.major && - allowed.minor === version.minor && - allowed.patch === version.patch) { - return true - } - } - } - - // Version has a -pre, but it's not one of the ones we like. - return false - } - - return true -} - -exports.satisfies = satisfies -function satisfies (version, range, options) { - try { - range = new Range(range, options) - } catch (er) { - return false - } - return range.test(version) -} - -exports.maxSatisfying = maxSatisfying -function maxSatisfying (versions, range, options) { - var max = null - var maxSV = null - try { - var rangeObj = new Range(range, options) - } catch (er) { - return null - } - versions.forEach(function (v) { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!max || maxSV.compare(v) === -1) { - // compare(max, v, true) - max = v - maxSV = new SemVer(max, options) - } - } - }) - return max -} - -exports.minSatisfying = minSatisfying -function minSatisfying (versions, range, options) { - var min = null - var minSV = null - try { - var rangeObj = new Range(range, options) - } catch (er) { - return null - } - versions.forEach(function (v) { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!min || minSV.compare(v) === 1) { - // compare(min, v, true) - min = v - minSV = new SemVer(min, options) - } - } - }) - return min -} - -exports.minVersion = minVersion -function minVersion (range, loose) { - range = new Range(range, loose) - - var minver = new SemVer('0.0.0') - if (range.test(minver)) { - return minver - } - - minver = new SemVer('0.0.0-0') - if (range.test(minver)) { - return minver - } - - minver = null - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i] - - comparators.forEach(function (comparator) { - // Clone to avoid manipulating the comparator's semver object. - var compver = new SemVer(comparator.semver.version) - switch (comparator.operator) { - case '>': - if (compver.prerelease.length === 0) { - compver.patch++ - } else { - compver.prerelease.push(0) - } - compver.raw = compver.format() - /* fallthrough */ - case '': - case '>=': - if (!minver || gt(minver, compver)) { - minver = compver - } - break - case '<': - case '<=': - /* Ignore maximum versions */ - break - /* istanbul ignore next */ - default: - throw new Error('Unexpected operation: ' + comparator.operator) - } - }) - } - - if (minver && range.test(minver)) { - return minver - } - - return null -} - -exports.validRange = validRange -function validRange (range, options) { - try { - // Return '*' instead of '' so that truthiness works. - // This will throw if it's invalid anyway - return new Range(range, options).range || '*' - } catch (er) { - return null - } -} - -// Determine if version is less than all the versions possible in the range -exports.ltr = ltr -function ltr (version, range, options) { - return outside(version, range, '<', options) -} - -// Determine if version is greater than all the versions possible in the range. -exports.gtr = gtr -function gtr (version, range, options) { - return outside(version, range, '>', options) -} - -exports.outside = outside -function outside (version, range, hilo, options) { - version = new SemVer(version, options) - range = new Range(range, options) - - var gtfn, ltefn, ltfn, comp, ecomp - switch (hilo) { - case '>': - gtfn = gt - ltefn = lte - ltfn = lt - comp = '>' - ecomp = '>=' - break - case '<': - gtfn = lt - ltefn = gte - ltfn = gt - comp = '<' - ecomp = '<=' - break - default: - throw new TypeError('Must provide a hilo val of "<" or ">"') - } - - // If it satisifes the range it is not outside - if (satisfies(version, range, options)) { - return false - } - - // From now on, variable terms are as if we're in "gtr" mode. - // but note that everything is flipped for the "ltr" function. - - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i] - - var high = null - var low = null - - comparators.forEach(function (comparator) { - if (comparator.semver === ANY) { - comparator = new Comparator('>=0.0.0') - } - high = high || comparator - low = low || comparator - if (gtfn(comparator.semver, high.semver, options)) { - high = comparator - } else if (ltfn(comparator.semver, low.semver, options)) { - low = comparator - } - }) - - // If the edge version comparator has a operator then our version - // isn't outside it - if (high.operator === comp || high.operator === ecomp) { - return false - } - - // If the lowest version comparator has an operator and our version - // is less than it then it isn't higher than the range - if ((!low.operator || low.operator === comp) && - ltefn(version, low.semver)) { - return false - } else if (low.operator === ecomp && ltfn(version, low.semver)) { - return false - } - } - return true -} - -exports.prerelease = prerelease -function prerelease (version, options) { - var parsed = parse(version, options) - return (parsed && parsed.prerelease.length) ? parsed.prerelease : null -} - -exports.intersects = intersects -function intersects (r1, r2, options) { - r1 = new Range(r1, options) - r2 = new Range(r2, options) - return r1.intersects(r2) -} - -exports.coerce = coerce -function coerce (version, options) { - if (version instanceof SemVer) { - return version - } - - if (typeof version === 'number') { - version = String(version) - } - - if (typeof version !== 'string') { - return null - } - - options = options || {} - - var match = null - if (!options.rtl) { - match = version.match(re[t.COERCE]) - } else { - // Find the right-most coercible string that does not share - // a terminus with a more left-ward coercible string. - // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' - // - // Walk through the string checking with a /g regexp - // Manually set the index so as to pick up overlapping matches. - // Stop when we get a match that ends at the string end, since no - // coercible string can be more right-ward without the same terminus. - var next - while ((next = re[t.COERCERTL].exec(version)) && - (!match || match.index + match[0].length !== version.length) - ) { - if (!match || - next.index + next[0].length !== match.index + match[0].length) { - match = next - } - re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length - } - // leave it in a clean state - re[t.COERCERTL].lastIndex = -1 - } - - if (match === null) { - return null - } - - return parse(match[2] + - '.' + (match[3] || '0') + - '.' + (match[4] || '0'), options) -} diff --git a/node_modules/package-json/package.json b/node_modules/package-json/package.json deleted file mode 100644 index 824b3ea6d..000000000 --- a/node_modules/package-json/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "package-json", - "version": "6.5.0", - "description": "Get metadata of a package from the npm registry", - "license": "MIT", - "repository": "sindresorhus/package-json", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "npm", - "registry", - "package", - "pkg", - "package.json", - "json", - "module", - "scope", - "scoped" - ], - "dependencies": { - "got": "^9.6.0", - "registry-auth-token": "^4.0.0", - "registry-url": "^5.0.0", - "semver": "^6.2.0" - }, - "devDependencies": { - "@types/node": "^12.6.8", - "ava": "^2.2.0", - "mock-private-registry": "^1.1.2", - "tsd": "^0.7.4", - "xo": "^0.24.0" - } -} diff --git a/node_modules/package-json/readme.md b/node_modules/package-json/readme.md deleted file mode 100644 index 88a17bde3..000000000 --- a/node_modules/package-json/readme.md +++ /dev/null @@ -1,118 +0,0 @@ -# package-json [![Build Status](https://travis-ci.org/sindresorhus/package-json.svg?branch=master)](https://travis-ci.org/sindresorhus/package-json) - -> Get metadata of a package from the npm registry - - -## Install - -``` -$ npm install package-json -``` - - -## Usage - -```js -const packageJson = require('package-json'); - -(async () => { - console.log(await packageJson('ava')); - //=> {name: 'ava', ...} - - // Also works with scoped packages - console.log(await packageJson('@sindresorhus/df')); -})(); -``` - - -## API - -### packageJson(packageName, options?) - -#### packageName - -Type: `string` - -Name of the package. - -#### options - -Type: `object` - -##### version - -Type: `string`
-Default: `latest` - -Package version such as `1.0.0` or a [dist tag](https://docs.npmjs.com/cli/dist-tag) such as `latest`. - -The version can also be in any format supported by the [semver](https://github.com/npm/node-semver) module. For example: - -- `1` - Get the latest `1.x.x` -- `1.2` - Get the latest `1.2.x` -- `^1.2.3` - Get the latest `1.x.x` but at least `1.2.3` -- `~1.2.3` - Get the latest `1.2.x` but at least `1.2.3` - -##### fullMetadata - -Type: `boolean`
-Default: `false` - -By default, only an abbreviated metadata object is returned for performance reasons. [Read more.](https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md) - -##### allVersions - -Type: `boolean`
-Default: `false` - -Return the [main entry](https://registry.npmjs.org/ava) containing all versions. - -##### registryUrl - -Type: `string`
-Default: Auto-detected - -The registry URL is by default inferred from the npm defaults and `.npmrc`. This is beneficial as `package-json` and any project using it will work just like npm. This option is **only** intended for internal tools. You should **not** use this option in reusable packages. Prefer just using `.npmrc` whenever possible. - -##### agent - -Type: `http.Agent | https.Agent | object | false` - -Overwrite the `agent` option that is passed down to [`got`](https://github.com/sindresorhus/got#agent). This might be useful to add [proxy support](https://github.com/sindresorhus/got#proxies). - - -### packageJson.PackageNotFoundError - -The error thrown when the given package name cannot be found. - -### packageJson.VersionNotFoundError - -The error thrown when the given package version cannot be found. - - -## Authentication - -Both public and private registries are supported, for both scoped and unscoped packages, as long as the registry uses either bearer tokens or basic authentication. - - -## Related - -- [package-json-cli](https://github.com/sindresorhus/package-json-cli) - CLI for this module -- [latest-version](https://github.com/sindresorhus/latest-version) - Get the latest version of an npm package -- [pkg-versions](https://github.com/sindresorhus/pkg-versions) - Get the version numbers of a package from the npm registry -- [npm-keyword](https://github.com/sindresorhus/npm-keyword) - Get a list of npm packages with a certain keyword -- [npm-user](https://github.com/sindresorhus/npm-user) - Get user info of an npm user -- [npm-email](https://github.com/sindresorhus/npm-email) - Get the email of an npm user - - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/parent-module/package.json b/node_modules/parent-module/package.json index 790333d0b..4720119d8 100644 --- a/node_modules/parent-module/package.json +++ b/node_modules/parent-module/package.json @@ -1,46 +1,82 @@ { - "name": "parent-module", - "version": "1.0.1", - "description": "Get the path of the parent module", - "license": "MIT", - "repository": "sindresorhus/parent-module", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "parent", - "module", - "package", - "pkg", - "caller", - "calling", - "module", - "path", - "callsites", - "callsite", - "stacktrace", - "stack", - "trace", - "function", - "file" - ], - "dependencies": { - "callsites": "^3.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "execa": "^1.0.0", - "xo": "^0.24.0" - } + "_args": [ + [ + "parent-module@1.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "parent-module@1.0.1", + "_id": "parent-module@1.0.1", + "_inBundle": false, + "_integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "_location": "/parent-module", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "parent-module@1.0.1", + "name": "parent-module", + "escapedName": "parent-module", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" + }, + "_requiredBy": [ + "/import-fresh" + ], + "_resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "_spec": "1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/parent-module/issues" + }, + "dependencies": { + "callsites": "^3.0.0" + }, + "description": "Get the path of the parent module", + "devDependencies": { + "ava": "^1.4.1", + "execa": "^1.0.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/parent-module#readme", + "keywords": [ + "parent", + "module", + "package", + "pkg", + "caller", + "calling", + "module", + "path", + "callsites", + "callsite", + "stacktrace", + "stack", + "trace", + "function", + "file" + ], + "license": "MIT", + "name": "parent-module", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/parent-module.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.0.1" } diff --git a/node_modules/parse-cache-control/package.json b/node_modules/parse-cache-control/package.json index f1d6562a8..e2759e070 100644 --- a/node_modules/parse-cache-control/package.json +++ b/node_modules/parse-cache-control/package.json @@ -1,22 +1,51 @@ { - "name": "parse-cache-control", - "version": "1.0.1", - "description": "Parse Cache-Control headers.", - "main": "index.js", - "scripts": { - "test": "tape test.js" + "_from": "parse-cache-control@1.0.1", + "_id": "parse-cache-control@1.0.1", + "_inBundle": false, + "_integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=", + "_location": "/parse-cache-control", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "parse-cache-control@1.0.1", + "name": "parse-cache-control", + "escapedName": "parse-cache-control", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" }, - "repository": { - "type": "git", - "url": "https://github.com/roryf/parse-cache-control.git" + "_requiredBy": [ + "/lighthouse" + ], + "_resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", + "_shasum": "8eeab3e54fa56920fe16ba38f77fa21aacc2d74e", + "_spec": "parse-cache-control@1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "bugs": { + "url": "https://github.com/roryf/parse-cache-control/issues" }, + "bundleDependencies": false, + "deprecated": false, + "description": "Parse Cache-Control headers.", "devDependencies": { "tape": "^3.5.0" }, + "homepage": "https://github.com/roryf/parse-cache-control#readme", "licenses": [ { "type": "BSD", "url": "http://github.com/hapijs/wreck/raw/master/LICENSE" } - ] + ], + "main": "index.js", + "name": "parse-cache-control", + "repository": { + "type": "git", + "url": "git+https://github.com/roryf/parse-cache-control.git" + }, + "scripts": { + "test": "tape test.js" + }, + "version": "1.0.1" } diff --git a/node_modules/parse-json/package.json b/node_modules/parse-json/package.json index de073fd39..e8f5a5e2d 100644 --- a/node_modules/parse-json/package.json +++ b/node_modules/parse-json/package.json @@ -1,45 +1,81 @@ { - "name": "parse-json", - "version": "5.2.0", - "description": "Parse JSON with more helpful errors", - "license": "MIT", - "repository": "sindresorhus/parse-json", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && nyc ava" - }, - "files": [ - "index.js", - "vendor" - ], - "keywords": [ - "parse", - "json", - "graceful", - "error", - "message", - "humanize", - "friendly", - "helpful", - "string" - ], - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "devDependencies": { - "ava": "^1.4.1", - "nyc": "^14.1.1", - "xo": "^0.24.0" - } + "_args": [ + [ + "parse-json@5.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "parse-json@5.2.0", + "_id": "parse-json@5.2.0", + "_inBundle": false, + "_integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "_location": "/parse-json", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "parse-json@5.2.0", + "name": "parse-json", + "escapedName": "parse-json", + "rawSpec": "5.2.0", + "saveSpec": null, + "fetchSpec": "5.2.0" + }, + "_requiredBy": [ + "/cosmiconfig", + "/read-pkg" + ], + "_resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "_spec": "5.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/parse-json/issues" + }, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "description": "Parse JSON with more helpful errors", + "devDependencies": { + "ava": "^1.4.1", + "nyc": "^14.1.1", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "vendor" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/parse-json#readme", + "keywords": [ + "parse", + "json", + "graceful", + "error", + "message", + "humanize", + "friendly", + "helpful", + "string" + ], + "license": "MIT", + "name": "parse-json", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/parse-json.git" + }, + "scripts": { + "test": "xo && nyc ava" + }, + "version": "5.2.0" } diff --git a/node_modules/parse5/package.json b/node_modules/parse5/package.json index 2110a03e6..d78f1d906 100644 --- a/node_modules/parse5/package.json +++ b/node_modules/parse5/package.json @@ -1,35 +1,71 @@ { + "_args": [ + [ + "parse5@6.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "parse5@6.0.1", + "_id": "parse5@6.0.1", + "_inBundle": false, + "_integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "_location": "/parse5", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "parse5@6.0.1", "name": "parse5", - "description": "HTML parser and serializer.", - "version": "6.0.1", - "author": "Ivan Nikulin (https://github.com/inikulin)", - "contributors": "https://github.com/inikulin/parse5/graphs/contributors", - "homepage": "https://github.com/inikulin/parse5", - "keywords": [ - "html", - "parser", - "html5", - "WHATWG", - "specification", - "fast", - "html parser", - "html5 parser", - "htmlparser", - "parse5", - "serializer", - "html serializer", - "htmlserializer", - "parse", - "serialize" - ], - "license": "MIT", - "main": "./lib/index.js", - "repository": { - "type": "git", - "url": "git://github.com/inikulin/parse5.git" - }, - "files": [ - "lib" - ], - "gitHead": "37227a3429584903cbd1799dade995266fc2dbe6" + "escapedName": "parse5", + "rawSpec": "6.0.1", + "saveSpec": null, + "fetchSpec": "6.0.1" + }, + "_requiredBy": [ + "/jsdom" + ], + "_resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "_spec": "6.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Ivan Nikulin", + "email": "ifaaan@gmail.com", + "url": "https://github.com/inikulin" + }, + "bugs": { + "url": "https://github.com/inikulin/parse5/issues" + }, + "contributors": "https://github.com/inikulin/parse5/graphs/contributors", + "description": "HTML parser and serializer.", + "files": [ + "lib" + ], + "gitHead": "37227a3429584903cbd1799dade995266fc2dbe6", + "homepage": "https://github.com/inikulin/parse5", + "keywords": [ + "html", + "parser", + "html5", + "WHATWG", + "specification", + "fast", + "html parser", + "html5 parser", + "htmlparser", + "parse5", + "serializer", + "html serializer", + "htmlserializer", + "parse", + "serialize" + ], + "license": "MIT", + "main": "./lib/index.js", + "name": "parse5", + "repository": { + "type": "git", + "url": "git://github.com/inikulin/parse5.git" + }, + "version": "6.0.1" } diff --git a/node_modules/parseurl/package.json b/node_modules/parseurl/package.json index 6b443ca7a..d51559712 100644 --- a/node_modules/parseurl/package.json +++ b/node_modules/parseurl/package.json @@ -1,13 +1,49 @@ { - "name": "parseurl", - "description": "parse a url with memoization", - "version": "1.3.3", + "_args": [ + [ + "parseurl@1.3.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "parseurl@1.3.3", + "_id": "parseurl@1.3.3", + "_inBundle": false, + "_integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "_location": "/parseurl", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "parseurl@1.3.3", + "name": "parseurl", + "escapedName": "parseurl", + "rawSpec": "1.3.3", + "saveSpec": null, + "fetchSpec": "1.3.3" + }, + "_requiredBy": [ + "/express", + "/finalhandler", + "/serve-static" + ], + "_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "_spec": "1.3.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/pillarjs/parseurl/issues" + }, "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)" + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } ], - "repository": "pillarjs/parseurl", - "license": "MIT", + "description": "parse a url with memoization", "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", @@ -21,14 +57,21 @@ "istanbul": "0.4.5", "mocha": "6.1.3" }, + "engines": { + "node": ">= 0.8" + }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "engines": { - "node": ">= 0.8" + "homepage": "https://github.com/pillarjs/parseurl#readme", + "license": "MIT", + "name": "parseurl", + "repository": { + "type": "git", + "url": "git+https://github.com/pillarjs/parseurl.git" }, "scripts": { "bench": "node benchmark/index.js", @@ -36,5 +79,6 @@ "test": "mocha --check-leaks --bail --reporter spec test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/" - } + }, + "version": "1.3.3" } diff --git a/node_modules/path-exists/package.json b/node_modules/path-exists/package.json index 0755256a2..5efa094cf 100644 --- a/node_modules/path-exists/package.json +++ b/node_modules/path-exists/package.json @@ -1,39 +1,75 @@ { - "name": "path-exists", - "version": "4.0.0", - "description": "Check if a path exists", - "license": "MIT", - "repository": "sindresorhus/path-exists", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "path", - "exists", - "exist", - "file", - "filepath", - "fs", - "filesystem", - "file-system", - "access", - "stat" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "path-exists@4.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "path-exists@4.0.0", + "_id": "path-exists@4.0.0", + "_inBundle": false, + "_integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "_location": "/path-exists", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "path-exists@4.0.0", + "name": "path-exists", + "escapedName": "path-exists", + "rawSpec": "4.0.0", + "saveSpec": null, + "fetchSpec": "4.0.0" + }, + "_requiredBy": [ + "/find-up", + "/pkg-dir/find-up" + ], + "_resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "_spec": "4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/path-exists/issues" + }, + "description": "Check if a path exists", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/path-exists#readme", + "keywords": [ + "path", + "exists", + "exist", + "file", + "filepath", + "fs", + "filesystem", + "file-system", + "access", + "stat" + ], + "license": "MIT", + "name": "path-exists", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/path-exists.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.0.0" } diff --git a/node_modules/path-is-absolute/package.json b/node_modules/path-is-absolute/package.json index 91196d5e9..a1ee91eb2 100644 --- a/node_modules/path-is-absolute/package.json +++ b/node_modules/path-is-absolute/package.json @@ -1,23 +1,52 @@ { - "name": "path-is-absolute", - "version": "1.0.1", - "description": "Node.js 0.12 path.isAbsolute() ponyfill", - "license": "MIT", - "repository": "sindresorhus/path-is-absolute", + "_args": [ + [ + "path-is-absolute@1.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "path-is-absolute@1.0.1", + "_id": "path-is-absolute@1.0.1", + "_inBundle": false, + "_integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "_location": "/path-is-absolute", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "path-is-absolute@1.0.1", + "name": "path-is-absolute", + "escapedName": "path-is-absolute", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" + }, + "_requiredBy": [ + "/glob" + ], + "_resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "_spec": "1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/path-is-absolute/issues" + }, + "description": "Node.js 0.12 path.isAbsolute() ponyfill", + "devDependencies": { + "xo": "^0.16.0" + }, "engines": { "node": ">=0.10.0" }, - "scripts": { - "test": "xo && node test.js" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/path-is-absolute#readme", "keywords": [ "path", "paths", @@ -37,7 +66,14 @@ "detect", "check" ], - "devDependencies": { - "xo": "^0.16.0" - } + "license": "MIT", + "name": "path-is-absolute", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/path-is-absolute.git" + }, + "scripts": { + "test": "xo && node test.js" + }, + "version": "1.0.1" } diff --git a/node_modules/path-key/package.json b/node_modules/path-key/package.json index c8cbd383a..f217871d4 100644 --- a/node_modules/path-key/package.json +++ b/node_modules/path-key/package.json @@ -1,39 +1,76 @@ { - "name": "path-key", - "version": "3.1.1", - "description": "Get the PATH environment variable key cross-platform", - "license": "MIT", - "repository": "sindresorhus/path-key", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "path", - "key", - "environment", - "env", - "variable", - "var", - "get", - "cross-platform", - "windows" - ], - "devDependencies": { - "@types/node": "^11.13.0", - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "path-key@3.1.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "path-key@3.1.1", + "_id": "path-key@3.1.1", + "_inBundle": false, + "_integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "_location": "/path-key", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "path-key@3.1.1", + "name": "path-key", + "escapedName": "path-key", + "rawSpec": "3.1.1", + "saveSpec": null, + "fetchSpec": "3.1.1" + }, + "_requiredBy": [ + "/cross-spawn", + "/npm-run-path" + ], + "_resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "_spec": "3.1.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/path-key/issues" + }, + "description": "Get the PATH environment variable key cross-platform", + "devDependencies": { + "@types/node": "^11.13.0", + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/path-key#readme", + "keywords": [ + "path", + "key", + "environment", + "env", + "variable", + "var", + "get", + "cross-platform", + "windows" + ], + "license": "MIT", + "name": "path-key", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/path-key.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.1.1" } diff --git a/node_modules/path-parse/package.json b/node_modules/path-parse/package.json index 36c23f84e..bbb610616 100644 --- a/node_modules/path-parse/package.json +++ b/node_modules/path-parse/package.json @@ -1,15 +1,41 @@ { - "name": "path-parse", - "version": "1.0.7", - "description": "Node.js path.parse() ponyfill", - "main": "index.js", - "scripts": { - "test": "node test.js" + "_args": [ + [ + "path-parse@1.0.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "path-parse@1.0.7", + "_id": "path-parse@1.0.7", + "_inBundle": false, + "_integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "_location": "/path-parse", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "path-parse@1.0.7", + "name": "path-parse", + "escapedName": "path-parse", + "rawSpec": "1.0.7", + "saveSpec": null, + "fetchSpec": "1.0.7" }, - "repository": { - "type": "git", - "url": "https://github.com/jbgutierrez/path-parse.git" + "_requiredBy": [ + "/resolve" + ], + "_resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "_spec": "1.0.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Javier Blanco", + "email": "http://jbgutierrez.info" + }, + "bugs": { + "url": "https://github.com/jbgutierrez/path-parse/issues" }, + "description": "Node.js path.parse() ponyfill", + "homepage": "https://github.com/jbgutierrez/path-parse#readme", "keywords": [ "path", "paths", @@ -24,10 +50,15 @@ "polyfill", "shim" ], - "author": "Javier Blanco ", "license": "MIT", - "bugs": { - "url": "https://github.com/jbgutierrez/path-parse/issues" + "main": "index.js", + "name": "path-parse", + "repository": { + "type": "git", + "url": "git+https://github.com/jbgutierrez/path-parse.git" + }, + "scripts": { + "test": "node test.js" }, - "homepage": "https://github.com/jbgutierrez/path-parse#readme" + "version": "1.0.7" } diff --git a/node_modules/path-to-regexp/package.json b/node_modules/path-to-regexp/package.json index d4e51b574..43bce5d21 100644 --- a/node_modules/path-to-regexp/package.json +++ b/node_modules/path-to-regexp/package.json @@ -1,30 +1,62 @@ { - "name": "path-to-regexp", + "_args": [ + [ + "path-to-regexp@0.1.7", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "path-to-regexp@0.1.7", + "_id": "path-to-regexp@0.1.7", + "_inBundle": false, + "_integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "_location": "/path-to-regexp", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "path-to-regexp@0.1.7", + "name": "path-to-regexp", + "escapedName": "path-to-regexp", + "rawSpec": "0.1.7", + "saveSpec": null, + "fetchSpec": "0.1.7" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "_spec": "0.1.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/component/path-to-regexp/issues" + }, + "component": { + "scripts": { + "path-to-regexp": "index.js" + } + }, "description": "Express style path to RegExp utility", - "version": "0.1.7", + "devDependencies": { + "istanbul": "^0.2.6", + "mocha": "^1.17.1" + }, "files": [ "index.js", "LICENSE" ], - "scripts": { - "test": "istanbul cover _mocha -- -R spec" - }, + "homepage": "https://github.com/component/path-to-regexp#readme", "keywords": [ "express", "regexp" ], - "component": { - "scripts": { - "path-to-regexp": "index.js" - } - }, "license": "MIT", + "name": "path-to-regexp", "repository": { "type": "git", - "url": "https://github.com/component/path-to-regexp.git" + "url": "git+https://github.com/component/path-to-regexp.git" }, - "devDependencies": { - "mocha": "^1.17.1", - "istanbul": "^0.2.6" - } + "scripts": { + "test": "istanbul cover _mocha -- -R spec" + }, + "version": "0.1.7" } diff --git a/node_modules/path-type/package.json b/node_modules/path-type/package.json index 635b71100..7e4dc2600 100644 --- a/node_modules/path-type/package.json +++ b/node_modules/path-type/package.json @@ -1,45 +1,82 @@ { - "name": "path-type", - "version": "4.0.0", - "description": "Check if a path is a file, directory, or symlink", - "license": "MIT", - "repository": "sindresorhus/path-type", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && nyc ava && tsd-check" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "path", - "fs", - "type", - "is", - "check", - "directory", - "dir", - "file", - "filepath", - "symlink", - "symbolic", - "link", - "stat", - "stats", - "filesystem" - ], - "devDependencies": { - "ava": "^1.3.1", - "nyc": "^13.3.0", - "tsd-check": "^0.3.0", - "xo": "^0.24.0" - } + "_args": [ + [ + "path-type@4.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "path-type@4.0.0", + "_id": "path-type@4.0.0", + "_inBundle": false, + "_integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "_location": "/path-type", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "path-type@4.0.0", + "name": "path-type", + "escapedName": "path-type", + "rawSpec": "4.0.0", + "saveSpec": null, + "fetchSpec": "4.0.0" + }, + "_requiredBy": [ + "/cosmiconfig", + "/dir-glob" + ], + "_resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "_spec": "4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/path-type/issues" + }, + "description": "Check if a path is a file, directory, or symlink", + "devDependencies": { + "ava": "^1.3.1", + "nyc": "^13.3.0", + "tsd-check": "^0.3.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/path-type#readme", + "keywords": [ + "path", + "fs", + "type", + "is", + "check", + "directory", + "dir", + "file", + "filepath", + "symlink", + "symbolic", + "link", + "stat", + "stats", + "filesystem" + ], + "license": "MIT", + "name": "path-type", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/path-type.git" + }, + "scripts": { + "test": "xo && nyc ava && tsd-check" + }, + "version": "4.0.0" } diff --git a/node_modules/picocolors/package.json b/node_modules/picocolors/package.json index 85a12d523..aa886f346 100644 --- a/node_modules/picocolors/package.json +++ b/node_modules/picocolors/package.json @@ -1,17 +1,48 @@ { - "name": "picocolors", - "version": "1.0.0", - "main": "./picocolors.js", - "types": "./picocolors.d.ts", + "_args": [ + [ + "picocolors@1.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "picocolors@1.0.0", + "_id": "picocolors@1.0.0", + "_inBundle": false, + "_integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "_location": "/picocolors", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "picocolors@1.0.0", + "name": "picocolors", + "escapedName": "picocolors", + "rawSpec": "1.0.0", + "saveSpec": null, + "fetchSpec": "1.0.0" + }, + "_requiredBy": [ + "/browserslist" + ], + "_resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "_spec": "1.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Alexey Raspopov" + }, "browser": { "./picocolors.js": "./picocolors.browser.js" }, - "sideEffects": false, + "bugs": { + "url": "https://github.com/alexeyraspopov/picocolors/issues" + }, "description": "The tiniest and the fastest library for terminal output formatting with ANSI colors", "files": [ "picocolors.*", "types.ts" ], + "homepage": "https://github.com/alexeyraspopov/picocolors#readme", "keywords": [ "terminal", "colors", @@ -19,7 +50,14 @@ "cli", "console" ], - "author": "Alexey Raspopov", - "repository": "alexeyraspopov/picocolors", - "license": "ISC" + "license": "ISC", + "main": "./picocolors.js", + "name": "picocolors", + "repository": { + "type": "git", + "url": "git+https://github.com/alexeyraspopov/picocolors.git" + }, + "sideEffects": false, + "types": "./picocolors.d.ts", + "version": "1.0.0" } diff --git a/node_modules/picomatch/package.json b/node_modules/picomatch/package.json index 3db22d408..5c00cade5 100644 --- a/node_modules/picomatch/package.json +++ b/node_modules/picomatch/package.json @@ -1,30 +1,43 @@ { - "name": "picomatch", - "description": "Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.", - "version": "2.3.1", - "homepage": "https://github.com/micromatch/picomatch", - "author": "Jon Schlinkert (https://github.com/jonschlinkert)", - "funding": "https://github.com/sponsors/jonschlinkert", - "repository": "micromatch/picomatch", - "bugs": { - "url": "https://github.com/micromatch/picomatch/issues" + "_args": [ + [ + "picomatch@2.3.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "picomatch@2.3.1", + "_id": "picomatch@2.3.1", + "_inBundle": false, + "_integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "_location": "/picomatch", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "picomatch@2.3.1", + "name": "picomatch", + "escapedName": "picomatch", + "rawSpec": "2.3.1", + "saveSpec": null, + "fetchSpec": "2.3.1" }, - "license": "MIT", - "files": [ - "index.js", - "lib" + "_requiredBy": [ + "/anymatch", + "/jest-util", + "/micromatch" ], - "main": "index.js", - "engines": { - "node": ">=8.6" + "_resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "_spec": "2.3.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Jon Schlinkert", + "url": "https://github.com/jonschlinkert" }, - "scripts": { - "lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives --ignore-path .gitignore .", - "mocha": "mocha --reporter dot", - "test": "npm run lint && npm run mocha", - "test:ci": "npm run test:cover", - "test:cover": "nyc npm run mocha" + "bugs": { + "url": "https://github.com/micromatch/picomatch/issues" }, + "description": "Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.", "devDependencies": { "eslint": "^6.8.0", "fill-range": "^7.0.1", @@ -33,11 +46,23 @@ "nyc": "^15.0.0", "time-require": "github:jonschlinkert/time-require" }, + "engines": { + "node": ">=8.6" + }, + "files": [ + "index.js", + "lib" + ], + "funding": "https://github.com/sponsors/jonschlinkert", + "homepage": "https://github.com/micromatch/picomatch", "keywords": [ "glob", "match", "picomatch" ], + "license": "MIT", + "main": "index.js", + "name": "picomatch", "nyc": { "reporter": [ "html", @@ -45,6 +70,17 @@ "text-summary" ] }, + "repository": { + "type": "git", + "url": "git+https://github.com/micromatch/picomatch.git" + }, + "scripts": { + "lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives --ignore-path .gitignore .", + "mocha": "mocha --reporter dot", + "test": "npm run lint && npm run mocha", + "test:ci": "npm run test:cover", + "test:cover": "nyc npm run mocha" + }, "verb": { "toc": { "render": true, @@ -77,5 +113,6 @@ "nanomatch", "picomatch" ] - } + }, + "version": "2.3.1" } diff --git a/node_modules/pirates/package.json b/node_modules/pirates/package.json index 8b60f6578..6ddb07914 100644 --- a/node_modules/pirates/package.json +++ b/node_modules/pirates/package.json @@ -1,31 +1,55 @@ { - "name": "pirates", - "description": "Properly hijack require", - "main": "lib/index.js", - "types": "index.d.ts", - "scripts": { - "clean": "rimraf lib", - "build": "babel src -d lib", - "test": "cross-env BABEL_ENV=test yarn run build && nyc ava", - "lint": "eslint --report-unused-disable-directives .", - "prepublishOnly": "yarn run build" - }, - "files": [ - "lib", - "index.d.ts" + "_args": [ + [ + "pirates@4.0.4", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": { - "type": "git", - "url": "https://github.com/danez/pirates.git" - }, - "engines": { - "node": ">= 6" + "_development": true, + "_from": "pirates@4.0.4", + "_id": "pirates@4.0.4", + "_inBundle": false, + "_integrity": "sha512-ZIrVPH+A52Dw84R0L3/VS9Op04PuQ2SEoJL6bkshmiTic/HldyW9Tf7oH5mhJZBK7NmDx27vSMrYEXPXclpDKw==", + "_location": "/pirates", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "pirates@4.0.4", + "name": "pirates", + "escapedName": "pirates", + "rawSpec": "4.0.4", + "saveSpec": null, + "fetchSpec": "4.0.4" }, + "_requiredBy": [ + "/@jest/transform" + ], + "_resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.4.tgz", + "_spec": "4.0.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Ari Porad", "email": "ari@ariporad.com", "url": "http://ariporad.com" }, + "ava": { + "files": [ + "test/*.js" + ], + "sources": [ + "lib/**/*.js" + ] + }, + "bugs": { + "url": "https://github.com/danez/pirates/issues" + }, + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } + }, + "description": "Properly hijack require", "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", @@ -47,24 +71,17 @@ "rewire": "^4.0.1", "rimraf": "^2.6.1" }, - "license": "MIT", - "bugs": { - "url": "https://github.com/danez/pirates/issues" + "engines": { + "node": ">= 6" }, + "files": [ + "lib", + "index.d.ts" + ], "homepage": "https://github.com/danez/pirates#readme", - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } - }, - "ava": { - "files": [ - "test/*.js" - ], - "sources": [ - "lib/**/*.js" - ] - }, + "license": "MIT", + "main": "lib/index.js", + "name": "pirates", "nyc": { "include": [ "src/*.js" @@ -76,5 +93,17 @@ "sourceMap": false, "instrument": false }, + "repository": { + "type": "git", + "url": "git+https://github.com/danez/pirates.git" + }, + "scripts": { + "build": "babel src -d lib", + "clean": "rimraf lib", + "lint": "eslint --report-unused-disable-directives .", + "prepublishOnly": "yarn run build", + "test": "cross-env BABEL_ENV=test yarn run build && nyc ava" + }, + "types": "index.d.ts", "version": "4.0.4" } diff --git a/node_modules/pkg-dir/node_modules/find-up/package.json b/node_modules/pkg-dir/node_modules/find-up/package.json index 56db6dd80..f56fcc505 100644 --- a/node_modules/pkg-dir/node_modules/find-up/package.json +++ b/node_modules/pkg-dir/node_modules/find-up/package.json @@ -1,54 +1,90 @@ { - "name": "find-up", - "version": "5.0.0", - "description": "Find a file or directory by walking up parent directories", - "license": "MIT", - "repository": "sindresorhus/find-up", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "find", - "up", - "find-up", - "findup", - "look-up", - "look", - "file", - "search", - "match", - "package", - "resolve", - "parent", - "parents", - "folder", - "directory", - "walk", - "walking", - "path" - ], - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "devDependencies": { - "ava": "^2.1.0", - "is-path-inside": "^2.1.0", - "tempy": "^0.6.0", - "tsd": "^0.13.1", - "xo": "^0.33.0" - } + "_args": [ + [ + "find-up@5.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "find-up@5.0.0", + "_id": "find-up@5.0.0", + "_inBundle": false, + "_integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "_location": "/pkg-dir/find-up", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "find-up@5.0.0", + "name": "find-up", + "escapedName": "find-up", + "rawSpec": "5.0.0", + "saveSpec": null, + "fetchSpec": "5.0.0" + }, + "_requiredBy": [ + "/pkg-dir" + ], + "_resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "_spec": "5.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/find-up/issues" + }, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "description": "Find a file or directory by walking up parent directories", + "devDependencies": { + "ava": "^2.1.0", + "is-path-inside": "^2.1.0", + "tempy": "^0.6.0", + "tsd": "^0.13.1", + "xo": "^0.33.0" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/find-up#readme", + "keywords": [ + "find", + "up", + "find-up", + "findup", + "look-up", + "look", + "file", + "search", + "match", + "package", + "resolve", + "parent", + "parents", + "folder", + "directory", + "walk", + "walking", + "path" + ], + "license": "MIT", + "name": "find-up", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/find-up.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "5.0.0" } diff --git a/node_modules/pkg-dir/node_modules/locate-path/package.json b/node_modules/pkg-dir/node_modules/locate-path/package.json index 08bea50dc..3f0fe60ce 100644 --- a/node_modules/pkg-dir/node_modules/locate-path/package.json +++ b/node_modules/pkg-dir/node_modules/locate-path/package.json @@ -1,46 +1,82 @@ { - "name": "locate-path", - "version": "6.0.0", - "description": "Get the first path that exists on disk of multiple paths", - "license": "MIT", - "repository": "sindresorhus/locate-path", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "locate", - "path", - "paths", - "file", - "files", - "exists", - "find", - "finder", - "search", - "searcher", - "array", - "iterable", - "iterator" - ], - "dependencies": { - "p-locate": "^5.0.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "tsd": "^0.13.1", - "xo": "^0.32.1" - } + "_args": [ + [ + "locate-path@6.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "locate-path@6.0.0", + "_id": "locate-path@6.0.0", + "_inBundle": false, + "_integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "_location": "/pkg-dir/locate-path", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "locate-path@6.0.0", + "name": "locate-path", + "escapedName": "locate-path", + "rawSpec": "6.0.0", + "saveSpec": null, + "fetchSpec": "6.0.0" + }, + "_requiredBy": [ + "/pkg-dir/find-up" + ], + "_resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "_spec": "6.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/locate-path/issues" + }, + "dependencies": { + "p-locate": "^5.0.0" + }, + "description": "Get the first path that exists on disk of multiple paths", + "devDependencies": { + "ava": "^2.4.0", + "tsd": "^0.13.1", + "xo": "^0.32.1" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/locate-path#readme", + "keywords": [ + "locate", + "path", + "paths", + "file", + "files", + "exists", + "find", + "finder", + "search", + "searcher", + "array", + "iterable", + "iterator" + ], + "license": "MIT", + "name": "locate-path", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/locate-path.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "6.0.0" } diff --git a/node_modules/pkg-dir/node_modules/p-limit/package.json b/node_modules/pkg-dir/node_modules/p-limit/package.json index 76514736f..1f5432f09 100644 --- a/node_modules/pkg-dir/node_modules/p-limit/package.json +++ b/node_modules/pkg-dir/node_modules/p-limit/package.json @@ -1,52 +1,88 @@ { - "name": "p-limit", - "version": "3.1.0", - "description": "Run multiple promise-returning & async functions with limited concurrency", - "license": "MIT", - "repository": "sindresorhus/p-limit", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "promise", - "limit", - "limited", - "concurrency", - "throttle", - "throat", - "rate", - "batch", - "ratelimit", - "task", - "queue", - "async", - "await", - "promises", - "bluebird" - ], - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "delay": "^4.4.0", - "in-range": "^2.0.0", - "random-int": "^2.0.1", - "time-span": "^4.0.0", - "tsd": "^0.13.1", - "xo": "^0.35.0" - } + "_args": [ + [ + "p-limit@3.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "p-limit@3.1.0", + "_id": "p-limit@3.1.0", + "_inBundle": false, + "_integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "_location": "/pkg-dir/p-limit", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "p-limit@3.1.0", + "name": "p-limit", + "escapedName": "p-limit", + "rawSpec": "3.1.0", + "saveSpec": null, + "fetchSpec": "3.1.0" + }, + "_requiredBy": [ + "/pkg-dir/p-locate" + ], + "_resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "_spec": "3.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/p-limit/issues" + }, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "description": "Run multiple promise-returning & async functions with limited concurrency", + "devDependencies": { + "ava": "^2.4.0", + "delay": "^4.4.0", + "in-range": "^2.0.0", + "random-int": "^2.0.1", + "time-span": "^4.0.0", + "tsd": "^0.13.1", + "xo": "^0.35.0" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/p-limit#readme", + "keywords": [ + "promise", + "limit", + "limited", + "concurrency", + "throttle", + "throat", + "rate", + "batch", + "ratelimit", + "task", + "queue", + "async", + "await", + "promises", + "bluebird" + ], + "license": "MIT", + "name": "p-limit", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/p-limit.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.1.0" } diff --git a/node_modules/pkg-dir/node_modules/p-locate/package.json b/node_modules/pkg-dir/node_modules/p-locate/package.json index 2d5e447f5..6e93808b4 100644 --- a/node_modules/pkg-dir/node_modules/p-locate/package.json +++ b/node_modules/pkg-dir/node_modules/p-locate/package.json @@ -1,54 +1,90 @@ { - "name": "p-locate", - "version": "5.0.0", - "description": "Get the first fulfilled promise that satisfies the provided testing function", - "license": "MIT", - "repository": "sindresorhus/p-locate", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "promise", - "locate", - "find", - "finder", - "search", - "searcher", - "test", - "array", - "collection", - "iterable", - "iterator", - "race", - "fulfilled", - "fastest", - "async", - "await", - "promises", - "bluebird" - ], - "dependencies": { - "p-limit": "^3.0.2" - }, - "devDependencies": { - "ava": "^2.4.0", - "delay": "^4.1.0", - "in-range": "^2.0.0", - "time-span": "^4.0.0", - "tsd": "^0.13.1", - "xo": "^0.32.1" - } + "_args": [ + [ + "p-locate@5.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "p-locate@5.0.0", + "_id": "p-locate@5.0.0", + "_inBundle": false, + "_integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "_location": "/pkg-dir/p-locate", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "p-locate@5.0.0", + "name": "p-locate", + "escapedName": "p-locate", + "rawSpec": "5.0.0", + "saveSpec": null, + "fetchSpec": "5.0.0" + }, + "_requiredBy": [ + "/pkg-dir/locate-path" + ], + "_resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "_spec": "5.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/p-locate/issues" + }, + "dependencies": { + "p-limit": "^3.0.2" + }, + "description": "Get the first fulfilled promise that satisfies the provided testing function", + "devDependencies": { + "ava": "^2.4.0", + "delay": "^4.1.0", + "in-range": "^2.0.0", + "time-span": "^4.0.0", + "tsd": "^0.13.1", + "xo": "^0.32.1" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/p-locate#readme", + "keywords": [ + "promise", + "locate", + "find", + "finder", + "search", + "searcher", + "test", + "array", + "collection", + "iterable", + "iterator", + "race", + "fulfilled", + "fastest", + "async", + "await", + "promises", + "bluebird" + ], + "license": "MIT", + "name": "p-locate", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/p-locate.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "5.0.0" } diff --git a/node_modules/pkg-dir/package.json b/node_modules/pkg-dir/package.json index 6da77163c..de78902fa 100644 --- a/node_modules/pkg-dir/package.json +++ b/node_modules/pkg-dir/package.json @@ -1,56 +1,95 @@ { - "name": "pkg-dir", - "version": "5.0.0", - "description": "Find the root directory of a Node.js project or npm package", - "license": "MIT", - "repository": "sindresorhus/pkg-dir", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "package", - "json", - "root", - "npm", - "entry", - "find", - "up", - "find-up", - "findup", - "look-up", - "look", - "file", - "search", - "match", - "resolve", - "parent", - "parents", - "folder", - "directory", - "dir", - "walk", - "walking", - "path" - ], - "dependencies": { - "find-up": "^5.0.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "tempy": "^1.0.0", - "tsd": "^0.13.1", - "xo": "^0.33.1" - } + "_args": [ + [ + "pkg-dir@5.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "pkg-dir@5.0.0", + "_id": "pkg-dir@5.0.0", + "_inBundle": false, + "_integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", + "_location": "/pkg-dir", + "_phantomChildren": { + "path-exists": "4.0.0", + "yocto-queue": "0.1.0" + }, + "_requested": { + "type": "version", + "registry": true, + "raw": "pkg-dir@5.0.0", + "name": "pkg-dir", + "escapedName": "pkg-dir", + "rawSpec": "5.0.0", + "saveSpec": null, + "fetchSpec": "5.0.0" + }, + "_requiredBy": [ + "/husky" + ], + "_resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz", + "_spec": "5.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/pkg-dir/issues" + }, + "dependencies": { + "find-up": "^5.0.0" + }, + "description": "Find the root directory of a Node.js project or npm package", + "devDependencies": { + "ava": "^2.4.0", + "tempy": "^1.0.0", + "tsd": "^0.13.1", + "xo": "^0.33.1" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/pkg-dir#readme", + "keywords": [ + "package", + "json", + "root", + "npm", + "entry", + "find", + "up", + "find-up", + "findup", + "look-up", + "look", + "file", + "search", + "match", + "resolve", + "parent", + "parents", + "folder", + "directory", + "dir", + "walk", + "walking", + "path" + ], + "license": "MIT", + "name": "pkg-dir", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/pkg-dir.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "5.0.0" } diff --git a/node_modules/please-upgrade-node/package.json b/node_modules/please-upgrade-node/package.json index 087b45487..3b84c4cd1 100644 --- a/node_modules/please-upgrade-node/package.json +++ b/node_modules/please-upgrade-node/package.json @@ -1,32 +1,44 @@ { - "name": "please-upgrade-node", - "version": "3.2.0", - "description": "Displays a beginner-friendly message telling your user to upgrade their version of Node", - "main": "index.js", - "scripts": { - "test": "node test", - "lint": "eslint .", - "fix": "npm run lint -- --fix", - "prepublishOnly": "npm test && npm run lint && pkg-ok" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/typicode/please-upgrade-node.git" + "_args": [ + [ + "please-upgrade-node@3.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "please-upgrade-node@3.2.0", + "_id": "please-upgrade-node@3.2.0", + "_inBundle": false, + "_integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", + "_location": "/please-upgrade-node", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "please-upgrade-node@3.2.0", + "name": "please-upgrade-node", + "escapedName": "please-upgrade-node", + "rawSpec": "3.2.0", + "saveSpec": null, + "fetchSpec": "3.2.0" }, - "keywords": [ - "node", - "engines", - "version", - "check", - "verify", - "upgrade" + "_requiredBy": [ + "/husky", + "/lint-staged" ], - "author": "typicode", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", + "_spec": "3.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "typicode" + }, "bugs": { "url": "https://github.com/typicode/please-upgrade-node/issues" }, - "homepage": "https://github.com/typicode/please-upgrade-node#readme", + "dependencies": { + "semver-compare": "^1.0.0" + }, + "description": "Displays a beginner-friendly message telling your user to upgrade their version of Node", "devDependencies": { "eslint": "^4.19.1", "eslint-plugin-prettier": "^2.6.0", @@ -35,12 +47,32 @@ "prettier": "1.12.1", "tape": "^4.9.1" }, - "dependencies": { - "semver-compare": "^1.0.0" - }, + "homepage": "https://github.com/typicode/please-upgrade-node#readme", "husky": { "hooks": { "pre-commit": "npm test && npm run lint" } - } + }, + "keywords": [ + "node", + "engines", + "version", + "check", + "verify", + "upgrade" + ], + "license": "MIT", + "main": "index.js", + "name": "please-upgrade-node", + "repository": { + "type": "git", + "url": "git+https://github.com/typicode/please-upgrade-node.git" + }, + "scripts": { + "fix": "npm run lint -- --fix", + "lint": "eslint .", + "prepublishOnly": "npm test && npm run lint && pkg-ok", + "test": "node test" + }, + "version": "3.2.0" } diff --git a/node_modules/prelude-ls/package.json b/node_modules/prelude-ls/package.json index c313c3da3..e82a39eba 100644 --- a/node_modules/prelude-ls/package.json +++ b/node_modules/prelude-ls/package.json @@ -1,8 +1,59 @@ { - "name": "prelude-ls", - "version": "1.2.1", - "author": "George Zahariev ", + "_args": [ + [ + "prelude-ls@1.2.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "prelude-ls@1.2.1", + "_id": "prelude-ls@1.2.1", + "_inBundle": false, + "_integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "_location": "/prelude-ls", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "prelude-ls@1.2.1", + "name": "prelude-ls", + "escapedName": "prelude-ls", + "rawSpec": "1.2.1", + "saveSpec": null, + "fetchSpec": "1.2.1" + }, + "_requiredBy": [ + "/levn", + "/optionator", + "/type-check" + ], + "_resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "_spec": "1.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "George Zahariev", + "email": "z@georgezahariev.com" + }, + "bugs": { + "url": "https://github.com/gkz/prelude-ls/issues" + }, "description": "prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.", + "devDependencies": { + "browserify": "^16.5.1", + "livescript": "^1.6.0", + "mocha": "^7.1.1", + "sinon": "~8.0.1", + "uglify-js": "^3.8.1" + }, + "engines": { + "node": ">= 0.8.0" + }, + "files": [ + "lib/", + "README.md", + "LICENSE" + ], + "homepage": "http://preludels.com", "keywords": [ "prelude", "livescript", @@ -17,18 +68,9 @@ "object", "string" ], - "main": "lib/", - "files": [ - "lib/", - "README.md", - "LICENSE" - ], - "homepage": "http://preludels.com", - "bugs": "https://github.com/gkz/prelude-ls/issues", "license": "MIT", - "engines": { - "node": ">= 0.8.0" - }, + "main": "lib/", + "name": "prelude-ls", "repository": { "type": "git", "url": "git://github.com/gkz/prelude-ls.git" @@ -36,11 +78,5 @@ "scripts": { "test": "make test" }, - "devDependencies": { - "livescript": "^1.6.0", - "uglify-js": "^3.8.1", - "mocha": "^7.1.1", - "browserify": "^16.5.1", - "sinon": "~8.0.1" - } + "version": "1.2.1" } diff --git a/node_modules/prepend-http/index.js b/node_modules/prepend-http/index.js deleted file mode 100644 index 82b3a6b27..000000000 --- a/node_modules/prepend-http/index.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; -module.exports = (url, opts) => { - if (typeof url !== 'string') { - throw new TypeError(`Expected \`url\` to be of type \`string\`, got \`${typeof url}\``); - } - - url = url.trim(); - opts = Object.assign({https: false}, opts); - - if (/^\.*\/|^(?!localhost)\w+:/.test(url)) { - return url; - } - - return url.replace(/^(?!(?:\w+:)?\/\/)/, opts.https ? 'https://' : 'http://'); -}; diff --git a/node_modules/prepend-http/license b/node_modules/prepend-http/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/prepend-http/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/prepend-http/package.json b/node_modules/prepend-http/package.json deleted file mode 100644 index cbfac0227..000000000 --- a/node_modules/prepend-http/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "prepend-http", - "version": "2.0.0", - "description": "Prepend `http://` to humanized URLs like todomvc.com and localhost", - "license": "MIT", - "repository": "sindresorhus/prepend-http", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "prepend", - "protocol", - "scheme", - "url", - "uri", - "http", - "https", - "humanized" - ], - "devDependencies": { - "ava": "*", - "xo": "*" - } -} diff --git a/node_modules/prepend-http/readme.md b/node_modules/prepend-http/readme.md deleted file mode 100644 index 55d640df6..000000000 --- a/node_modules/prepend-http/readme.md +++ /dev/null @@ -1,56 +0,0 @@ -# prepend-http [![Build Status](https://travis-ci.org/sindresorhus/prepend-http.svg?branch=master)](https://travis-ci.org/sindresorhus/prepend-http) - -> Prepend `http://` to humanized URLs like `todomvc.com` and `localhost` - - -## Install - -``` -$ npm install prepend-http -``` - - -## Usage - -```js -const prependHttp = require('prepend-http'); - -prependHttp('todomvc.com'); -//=> 'http://todomvc.com' - -prependHttp('localhost'); -//=> 'http://localhost' - -prependHttp('http://todomvc.com'); -//=> 'http://todomvc.com' - -prependHttp('todomvc.com', {https: true}); -//=> 'https://todomvc.com' -``` - - -## API - -### prependHttp(url, [options]) - -#### url - -Type: `string` - -URL to prepend `http://` on. - -#### options - -Type: `Object` - -##### https - -Type: `boolean`
-Default: `false` - -Prepend `https://` instead of `http://`. - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/prettier/package.json b/node_modules/prettier/package.json index 11fb360b0..30580d114 100644 --- a/node_modules/prettier/package.json +++ b/node_modules/prettier/package.json @@ -1,20 +1,59 @@ { - "name": "prettier", - "version": "1.19.1", + "_args": [ + [ + "prettier@1.19.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "prettier@1.19.1", + "_id": "prettier@1.19.1", + "_inBundle": false, + "_integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==", + "_location": "/prettier", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "prettier@1.19.1", + "name": "prettier", + "escapedName": "prettier", + "rawSpec": "1.19.1", + "saveSpec": null, + "fetchSpec": "1.19.1" + }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", + "_spec": "1.19.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "James Long" + }, + "bin": { + "prettier": "bin-prettier.js" + }, + "bugs": { + "url": "https://github.com/prettier/prettier/issues" + }, "description": "Prettier is an opinionated code formatter", - "bin": "./bin-prettier.js", - "repository": "prettier/prettier", + "engines": { + "node": ">=4" + }, + "files": [ + "*.js" + ], "homepage": "https://prettier.io", - "author": "James Long", "license": "MIT", "main": "./index.js", - "engines": { - "node": ">=4" + "name": "prettier", + "repository": { + "type": "git", + "url": "git+https://github.com/prettier/prettier.git" }, "scripts": { "prepublishOnly": "node -e \"assert.equal(require('.').version, require('..').version)\"" }, - "files": [ - "*.js" - ] -} \ No newline at end of file + "version": "1.19.1" +} diff --git a/node_modules/pretty-format/node_modules/ansi-styles/package.json b/node_modules/pretty-format/node_modules/ansi-styles/package.json index b3c89c907..236e1a8ff 100644 --- a/node_modules/pretty-format/node_modules/ansi-styles/package.json +++ b/node_modules/pretty-format/node_modules/ansi-styles/package.json @@ -1,52 +1,88 @@ { - "name": "ansi-styles", - "version": "5.2.0", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT", - "repository": "chalk/ansi-styles", - "funding": "https://github.com/chalk/ansi-styles?sponsor=1", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd", - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "devDependencies": { - "ava": "^2.4.0", - "svg-term-cli": "^2.1.1", - "tsd": "^0.14.0", - "xo": "^0.37.1" - } + "_args": [ + [ + "ansi-styles@5.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "ansi-styles@5.2.0", + "_id": "ansi-styles@5.2.0", + "_inBundle": false, + "_integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "_location": "/pretty-format/ansi-styles", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ansi-styles@5.2.0", + "name": "ansi-styles", + "escapedName": "ansi-styles", + "rawSpec": "5.2.0", + "saveSpec": null, + "fetchSpec": "5.2.0" + }, + "_requiredBy": [ + "/pretty-format" + ], + "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "_spec": "5.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-styles/issues" + }, + "description": "ANSI escape codes for styling strings in the terminal", + "devDependencies": { + "ava": "^2.4.0", + "svg-term-cli": "^2.1.1", + "tsd": "^0.14.0", + "xo": "^0.37.1" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/chalk/ansi-styles?sponsor=1", + "homepage": "https://github.com/chalk/ansi-styles#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "ansi-styles", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-styles.git" + }, + "scripts": { + "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", + "test": "xo && ava && tsd" + }, + "version": "5.2.0" } diff --git a/node_modules/pretty-format/package.json b/node_modules/pretty-format/package.json index 3514dcdbb..68c476e47 100644 --- a/node_modules/pretty-format/package.json +++ b/node_modules/pretty-format/package.json @@ -1,28 +1,56 @@ { - "name": "pretty-format", - "version": "27.4.6", - "repository": { - "type": "git", - "url": "https://github.com/facebook/jest.git", - "directory": "packages/pretty-format" + "_args": [ + [ + "pretty-format@27.4.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "pretty-format@27.4.6", + "_id": "pretty-format@27.4.6", + "_inBundle": false, + "_integrity": "sha512-NblstegA1y/RJW2VyML+3LlpFjzx62cUrtBIKIWDXEDkjNeleA7Od7nrzcs/VLQvAeV4CgSYhrN39DRN88Qi/g==", + "_location": "/pretty-format", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "pretty-format@27.4.6", + "name": "pretty-format", + "escapedName": "pretty-format", + "rawSpec": "27.4.6", + "saveSpec": null, + "fetchSpec": "27.4.6" }, - "license": "MIT", - "description": "Stringify any JavaScript value.", - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/@types/jest", + "/jest-circus", + "/jest-config", + "/jest-diff", + "/jest-each", + "/jest-jasmine2", + "/jest-leak-detector", + "/jest-matcher-utils", + "/jest-message-util", + "/jest-snapshot", + "/jest-validate" + ], + "_resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.4.6.tgz", + "_spec": "27.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "James Kyle", + "email": "me@thejameskyle.com" + }, + "bugs": { + "url": "https://github.com/facebook/jest/issues" }, - "author": "James Kyle ", "dependencies": { "ansi-regex": "^5.0.1", "ansi-styles": "^5.0.0", "react-is": "^17.0.1" }, + "description": "Stringify any JavaScript value.", "devDependencies": { "@types/react": "*", "@types/react-is": "^17.0.0", @@ -36,8 +64,26 @@ "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" }, + "exports": { + ".": { + "types": "./build/index.d.ts", + "default": "./build/index.js" + }, + "./package.json": "./package.json" + }, + "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e", + "homepage": "https://github.com/facebook/jest#readme", + "license": "MIT", + "main": "./build/index.js", + "name": "pretty-format", "publishConfig": { "access": "public" }, - "gitHead": "644d2d3e53536b0d67e395c0f35f8555a67beb1e" + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/jest.git", + "directory": "packages/pretty-format" + }, + "types": "./build/index.d.ts", + "version": "27.4.6" } diff --git a/node_modules/progress/package.json b/node_modules/progress/package.json index bb81fa0bc..c7a71d5e9 100644 --- a/node_modules/progress/package.json +++ b/node_modules/progress/package.json @@ -1,26 +1,74 @@ { - "name": "progress", - "version": "2.0.3", - "description": "Flexible ascii progress bar", - "repository": { - "type": "git", - "url": "git://github.com/visionmedia/node-progress" + "_args": [ + [ + "progress@2.0.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "progress@2.0.3", + "_id": "progress@2.0.3", + "_inBundle": false, + "_integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "_location": "/progress", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "progress@2.0.3", + "name": "progress", + "escapedName": "progress", + "rawSpec": "2.0.3", + "saveSpec": null, + "fetchSpec": "2.0.3" }, - "keywords": [ - "cli", - "progress" + "_requiredBy": [ + "/eslint" ], - "author": "TJ Holowaychuk ", + "_resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "_spec": "2.0.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca" + }, + "bugs": { + "url": "https://github.com/visionmedia/node-progress/issues" + }, "contributors": [ - "Christoffer Hallas ", - "Jordan Scales ", - "Andrew Rhyne ", - "Marco Brack " + { + "name": "Christoffer Hallas", + "email": "christoffer.hallas@gmail.com" + }, + { + "name": "Jordan Scales", + "email": "scalesjordan@gmail.com" + }, + { + "name": "Andrew Rhyne", + "email": "rhyneandrew@gmail.com" + }, + { + "name": "Marco Brack", + "email": "PapstDonB@Googlemail.com" + } ], "dependencies": {}, - "main": "./index.js", + "description": "Flexible ascii progress bar", "engines": { "node": ">=0.4.0" }, - "license": "MIT" + "homepage": "https://github.com/visionmedia/node-progress#readme", + "keywords": [ + "cli", + "progress" + ], + "license": "MIT", + "main": "./index.js", + "name": "progress", + "repository": { + "type": "git", + "url": "git://github.com/visionmedia/node-progress.git" + }, + "version": "2.0.3" } diff --git a/node_modules/prompts/package.json b/node_modules/prompts/package.json index f7ba84b0d..8bb867cb2 100644 --- a/node_modules/prompts/package.json +++ b/node_modules/prompts/package.json @@ -1,26 +1,63 @@ { - "name": "prompts", - "version": "2.4.2", - "description": "Lightweight, beautiful and user-friendly prompts", - "license": "MIT", - "repository": "terkelg/prompts", - "main": "index.js", + "_args": [ + [ + "prompts@2.4.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "prompts@2.4.2", + "_id": "prompts@2.4.2", + "_inBundle": false, + "_integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "_location": "/prompts", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "prompts@2.4.2", + "name": "prompts", + "escapedName": "prompts", + "rawSpec": "2.4.2", + "saveSpec": null, + "fetchSpec": "2.4.2" + }, + "_requiredBy": [ + "/jest-cli" + ], + "_resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "_spec": "2.4.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Terkel Gjervig", "email": "terkel@terkel.com", "url": "https://terkel.com" }, + "bugs": { + "url": "https://github.com/terkelg/prompts/issues" + }, + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "description": "Lightweight, beautiful and user-friendly prompts", + "devDependencies": { + "@babel/cli": "^7.12.1", + "@babel/core": "^7.12.3", + "@babel/plugin-proposal-object-rest-spread": "^7.12.1", + "@babel/preset-env": "^7.12.1", + "tap-spec": "^2.2.2", + "tape": "^4.13.3" + }, + "engines": { + "node": ">= 6" + }, "files": [ "lib", "dist", "index.js" ], - "scripts": { - "start": "node lib/index.js", - "build": "babel lib -d dist", - "prepublishOnly": "npm run build", - "test": "tape test/*.js | tap-spec" - }, + "homepage": "https://github.com/terkelg/prompts#readme", "keywords": [ "ui", "prompts", @@ -35,19 +72,18 @@ "ask", "interact" ], - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" + "license": "MIT", + "main": "index.js", + "name": "prompts", + "repository": { + "type": "git", + "url": "git+https://github.com/terkelg/prompts.git" }, - "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "@babel/plugin-proposal-object-rest-spread": "^7.12.1", - "@babel/preset-env": "^7.12.1", - "tap-spec": "^2.2.2", - "tape": "^4.13.3" + "scripts": { + "build": "babel lib -d dist", + "prepublishOnly": "npm run build", + "start": "node lib/index.js", + "test": "tape test/*.js | tap-spec" }, - "engines": { - "node": ">= 6" - } + "version": "2.4.2" } diff --git a/node_modules/proxy-addr/package.json b/node_modules/proxy-addr/package.json index 24ba8f7db..63f76e3d4 100644 --- a/node_modules/proxy-addr/package.json +++ b/node_modules/proxy-addr/package.json @@ -1,22 +1,47 @@ { - "name": "proxy-addr", - "description": "Determine address of proxied request", - "version": "2.0.7", - "author": "Douglas Christopher Wilson ", - "license": "MIT", - "keywords": [ - "ip", - "proxy", - "x-forwarded-for" + "_args": [ + [ + "proxy-addr@2.0.7", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": "jshttp/proxy-addr", + "_from": "proxy-addr@2.0.7", + "_id": "proxy-addr@2.0.7", + "_inBundle": false, + "_integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "_location": "/proxy-addr", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "proxy-addr@2.0.7", + "name": "proxy-addr", + "escapedName": "proxy-addr", + "rawSpec": "2.0.7", + "saveSpec": null, + "fetchSpec": "2.0.7" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "_spec": "2.0.7", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + "bugs": { + "url": "https://github.com/jshttp/proxy-addr/issues" + }, "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" }, + "description": "Determine address of proxied request", "devDependencies": { - "benchmark": "2.1.4", "beautify-benchmark": "0.2.4", + "benchmark": "2.1.4", "deep-equal": "1.0.1", "eslint": "7.26.0", "eslint-config-standard": "14.1.1", @@ -28,14 +53,26 @@ "mocha": "8.4.0", "nyc": "15.1.0" }, + "engines": { + "node": ">= 0.10" + }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "engines": { - "node": ">= 0.10" + "homepage": "https://github.com/jshttp/proxy-addr#readme", + "keywords": [ + "ip", + "proxy", + "x-forwarded-for" + ], + "license": "MIT", + "name": "proxy-addr", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/proxy-addr.git" }, "scripts": { "bench": "node benchmark/index.js", @@ -43,5 +80,6 @@ "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - } + }, + "version": "2.0.7" } diff --git a/node_modules/ps-list/index.d.ts b/node_modules/ps-list/index.d.ts index b22d8355f..6a5dc0f01 100644 --- a/node_modules/ps-list/index.d.ts +++ b/node_modules/ps-list/index.d.ts @@ -1,57 +1,51 @@ -declare namespace psList { - interface Options { - /** - Include other users' processes as well as your own. - - On Windows this has no effect and will always be the users' own processes. - - @default true - */ - readonly all?: boolean; - } - - interface ProcessDescriptor { - readonly pid: number; - readonly name: string; - readonly ppid: number; - - /** - Not supported on Windows. - */ - readonly cmd?: string; - - /** - Not supported on Windows. - */ - readonly cpu?: number; - - /** - Not supported on Windows. - */ - readonly memory?: number; - - /** - Not supported on Windows. - */ - readonly uid?: number; - } +export interface Options { + /** + Include other users' processes as well as your own. + + On Windows this has no effect and will always be the users' own processes. + + @default true + */ + readonly all?: boolean; +} + +export interface ProcessDescriptor { + readonly pid: number; + readonly name: string; + readonly ppid: number; + + /** + Not supported on Windows. + */ + readonly cmd?: string; + + /** + Not supported on Windows. + */ + readonly cpu?: number; + + /** + Not supported on Windows. + */ + readonly memory?: number; + + /** + Not supported on Windows. + */ + readonly uid?: number; } /** Get running processes. -@returns List of running processes. +@returns A list of running processes. @example ``` -import psList = require('ps-list'); +import psList from 'ps-list'; -(async () => { - console.log(await psList()); - //=> [{pid: 3213, name: 'node', cmd: 'node test.js', ppid: 1, uid: 501, cpu: 0.1, memory: 1.5}, …] -})(); +console.log(await psList()); +//=> [{pid: 3213, name: 'node', cmd: 'node test.js', ppid: 1, uid: 501, cpu: 0.1, memory: 1.5}, …] ``` */ -declare function psList(options?: psList.Options): Promise; - -export = psList; +export default function psList(options?: Options): Promise; diff --git a/node_modules/ps-list/index.js b/node_modules/ps-list/index.js index 75d4da7a8..c6b4f9aea 100644 --- a/node_modules/ps-list/index.js +++ b/node_modules/ps-list/index.js @@ -1,29 +1,32 @@ -'use strict'; -const util = require('util'); -const path = require('path'); -const childProcess = require('child_process'); +import process from 'node:process'; +import {promisify} from 'node:util'; +import path from 'node:path'; +import {fileURLToPath} from 'node:url'; +import childProcess from 'node:child_process'; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); const TEN_MEGABYTES = 1000 * 1000 * 10; -const execFile = util.promisify(childProcess.execFile); +const execFile = promisify(childProcess.execFile); const windows = async () => { // Source: https://github.com/MarkTiedemann/fastlist - let bin; + let binary; switch (process.arch) { case 'x64': - bin = 'fastlist-0.3.0-x64.exe'; + binary = 'fastlist-0.3.0-x64.exe'; break; case 'ia32': - bin = 'fastlist-0.3.0-x86.exe'; + binary = 'fastlist-0.3.0-x86.exe'; break; default: throw new Error(`Unsupported architecture: ${process.arch}`); } - const binPath = path.join(__dirname, 'vendor', bin); - const {stdout} = await execFile(binPath, { + const binaryPath = path.join(__dirname, 'vendor', binary); + const {stdout} = await execFile(binaryPath, { maxBuffer: TEN_MEGABYTES, - windowsHide: true + windowsHide: true, }); return stdout @@ -33,13 +36,13 @@ const windows = async () => { .map(([pid, ppid, name]) => ({ pid: Number.parseInt(pid, 10), ppid: Number.parseInt(ppid, 10), - name + name, })); }; const nonWindowsMultipleCalls = async (options = {}) => { const flags = (options.all === false ? '' : 'a') + 'wwxo'; - const ret = {}; + const returnValue = {}; await Promise.all(['comm', 'args', 'ppid', 'uid', '%cpu', '%mem'].map(async cmd => { const {stdout} = await execFile('ps', [flags, `pid,${cmd}`], {maxBuffer: TEN_MEGABYTES}); @@ -47,19 +50,19 @@ const nonWindowsMultipleCalls = async (options = {}) => { for (let line of stdout.trim().split('\n').slice(1)) { line = line.trim(); const [pid] = line.split(' ', 1); - const val = line.slice(pid.length + 1).trim(); + const value = line.slice(pid.length + 1).trim(); - if (ret[pid] === undefined) { - ret[pid] = {}; + if (returnValue[pid] === undefined) { + returnValue[pid] = {}; } - ret[pid][cmd] = val; + returnValue[pid][cmd] = value; } })); // Filter out inconsistencies as there might be race // issues due to differences in `ps` between the spawns - return Object.entries(ret) + return Object.entries(returnValue) .filter(([, value]) => value.comm && value.args && value.ppid && value.uid && value['%cpu'] && value['%mem']) .map(([key, value]) => ({ pid: Number.parseInt(key, 10), @@ -68,7 +71,7 @@ const nonWindowsMultipleCalls = async (options = {}) => { ppid: Number.parseInt(value.ppid, 10), uid: Number.parseInt(value.uid, 10), cpu: Number.parseFloat(value['%cpu']), - memory: Number.parseFloat(value['%mem']) + memory: Number.parseFloat(value['%mem']), })); }; @@ -76,22 +79,14 @@ const ERROR_MESSAGE_PARSING_FAILED = 'ps output parsing failed'; const psFields = 'pid,ppid,uid,%cpu,%mem,comm,args'; -// TODO: Use named capture groups when targeting Node.js 10 const psOutputRegex = /^[ \t]*(?\d+)[ \t]+(?\d+)[ \t]+(?\d+)[ \t]+(?\d+\.\d+)[ \t]+(?\d+\.\d+)[ \t]+/; const nonWindowsSingleCall = async (options = {}) => { const flags = options.all === false ? 'wwxo' : 'awwxo'; - // TODO: Use the promise version of `execFile` when https://github.com/nodejs/node/issues/28244 is fixed. - const [psPid, stdout] = await new Promise((resolve, reject) => { - const child = childProcess.execFile('ps', [flags, psFields], {maxBuffer: TEN_MEGABYTES}, (error, stdout) => { - if (error === null) { - resolve([child.pid, stdout]); - } else { - reject(error); - } - }); - }); + const promise = execFile('ps', [flags, psFields], {maxBuffer: TEN_MEGABYTES}); + const {stdout} = await promise; + const {pid: psPid} = promise.child; const lines = stdout.trim().split('\n'); lines.shift(); @@ -115,7 +110,7 @@ const nonWindowsSingleCall = async (options = {}) => { cpu: Number.parseFloat(cpu), memory: Number.parseFloat(memory), name: undefined, - cmd: undefined + cmd: undefined, }; if (processInfo.pid === psPid) { @@ -144,9 +139,11 @@ const nonWindowsSingleCall = async (options = {}) => { const nonWindows = async (options = {}) => { try { return await nonWindowsSingleCall(options); - } catch (_) { // If the error is not a parsing error, it should manifest itself in multicall version too. + } catch { // If the error is not a parsing error, it should manifest itself in multicall version too. return nonWindowsMultipleCalls(options); } }; -module.exports = process.platform === 'win32' ? windows : nonWindows; +const psList = process.platform === 'win32' ? windows : nonWindows; + +export default psList; diff --git a/node_modules/ps-list/license b/node_modules/ps-list/license index e7af2f771..fa7ceba3e 100644 --- a/node_modules/ps-list/license +++ b/node_modules/ps-list/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) Sindre Sorhus (sindresorhus.com) +Copyright (c) Sindre Sorhus (https://sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/node_modules/ps-list/package.json b/node_modules/ps-list/package.json index 88d8b195b..504c8ec4c 100644 --- a/node_modules/ps-list/package.json +++ b/node_modules/ps-list/package.json @@ -1,38 +1,72 @@ { - "name": "ps-list", - "version": "7.2.0", - "description": "Get running processes", - "license": "MIT", - "repository": "sindresorhus/ps-list", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "vendor/*.exe" - ], - "keywords": [ - "ps", - "proc", - "process", - "processes", - "list", - "running", - "tasklist" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.11.0", - "xo": "^0.25.3" - } + "_from": "ps-list@^8.0.0", + "_id": "ps-list@8.1.0", + "_inBundle": false, + "_integrity": "sha512-NoGBqJe7Ou3kfQxEvDzDyKGAyEgwIuD3YrfXinjcCmBRv0hTld0Xb71hrXvtsNPj7HSFATfemvzB8PPJtq6Yag==", + "_location": "/ps-list", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ps-list@^8.0.0", + "name": "ps-list", + "escapedName": "ps-list", + "rawSpec": "^8.0.0", + "saveSpec": null, + "fetchSpec": "^8.0.0" + }, + "_requiredBy": [ + "/lighthouse" + ], + "_resolved": "https://registry.npmjs.org/ps-list/-/ps-list-8.1.0.tgz", + "_shasum": "aded36339500cd929f1425ece9bf58ac6d3a213e", + "_spec": "ps-list@^8.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/ps-list/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Get running processes", + "devDependencies": { + "ava": "^3.15.0", + "tsd": "^0.18.0", + "xo": "^0.46.4" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "exports": "./index.js", + "files": [ + "index.js", + "index.d.ts", + "vendor/*.exe" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/ps-list#readme", + "keywords": [ + "ps", + "proc", + "process", + "processes", + "list", + "running", + "tasklist" + ], + "license": "MIT", + "name": "ps-list", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/ps-list.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "type": "module", + "version": "8.1.0" } diff --git a/node_modules/ps-list/readme.md b/node_modules/ps-list/readme.md index 105624c5d..e2f3be385 100644 --- a/node_modules/ps-list/readme.md +++ b/node_modules/ps-list/readme.md @@ -1,4 +1,4 @@ -# ps-list [![Build Status](https://travis-ci.org/sindresorhus/ps-list.svg?branch=master)](https://travis-ci.org/sindresorhus/ps-list) +# ps-list > Get running processes @@ -6,28 +6,28 @@ Works on macOS, Linux, and Windows. ## Install -``` -$ npm install ps-list +```sh +npm install ps-list ``` ## Usage ```js -const psList = require('ps-list'); +import psList from 'ps-list'; -(async () => { - console.log(await psList()); - //=> [{pid: 3213, name: 'node', cmd: 'node test.js', ppid: 1, uid: 501, cpu: 0.1, memory: 1.5}, …] -})(); +console.log(await psList()); +//=> [{pid: 3213, name: 'node', cmd: 'node test.js', ppid: 1, uid: 501, cpu: 0.1, memory: 1.5}, …] ``` -> The `cmd`, `cpu`, `memory`, and `uid` properties are not supported on Windows. - ## API ### psList(options?) -Returns a `Promise` with the running processes. +Returns a `Promise` with the running processes. + +On macOS and Linux, the `name` property is truncated to 15 characters by the system. The `cmd` property can be used to extract the full name. + +The `cmd`, `cpu`, `memory`, and `uid` properties are not supported on Windows. #### options diff --git a/node_modules/psl/package.json b/node_modules/psl/package.json index ee2da19fa..33b0ad83c 100644 --- a/node_modules/psl/package.json +++ b/node_modules/psl/package.json @@ -1,28 +1,42 @@ { - "name": "psl", - "version": "1.8.0", - "description": "Domain name parser based on the Public Suffix List", - "repository": { - "type": "git", - "url": "git@github.com:lupomontero/psl.git" - }, - "main": "index.js", - "scripts": { - "pretest": "eslint .", - "test": "mocha test && karma start ./karma.conf.js --single-run", - "watch": "mocha test --watch", - "prebuild": "./scripts/update-rules.js", - "build": "browserify ./index.js --standalone=psl > ./dist/psl.js", - "postbuild": "cat ./dist/psl.js | uglifyjs -c -m > ./dist/psl.min.js", - "commit-and-pr": "commit-and-pr", - "changelog": "git log $(git describe --tags --abbrev=0)..HEAD --oneline --format=\"%h %s (%an <%ae>)\"" + "_args": [ + [ + "psl@1.8.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "psl@1.8.0", + "_id": "psl@1.8.0", + "_inBundle": false, + "_integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "_location": "/psl", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "psl@1.8.0", + "name": "psl", + "escapedName": "psl", + "rawSpec": "1.8.0", + "saveSpec": null, + "fetchSpec": "1.8.0" }, - "keywords": [ - "publicsuffix", - "publicsuffixlist" + "_requiredBy": [ + "/tough-cookie" ], - "author": "Lupo Montero (https://lupomontero.com/)", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "_spec": "1.8.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Lupo Montero", + "email": "lupomontero@gmail.com", + "url": "https://lupomontero.com/" + }, + "bugs": { + "url": "https://github.com/lupomontero/psl/issues" + }, + "description": "Domain name parser based on the Public Suffix List", "devDependencies": { "JSONStream": "^1.3.5", "browserify": "^16.5.0", @@ -40,5 +54,28 @@ "request": "^2.88.2", "uglify-js": "^3.8.0", "watchify": "^3.11.1" - } + }, + "homepage": "https://github.com/lupomontero/psl#readme", + "keywords": [ + "publicsuffix", + "publicsuffixlist" + ], + "license": "MIT", + "main": "index.js", + "name": "psl", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/lupomontero/psl.git" + }, + "scripts": { + "build": "browserify ./index.js --standalone=psl > ./dist/psl.js", + "changelog": "git log $(git describe --tags --abbrev=0)..HEAD --oneline --format=\"%h %s (%an <%ae>)\"", + "commit-and-pr": "commit-and-pr", + "postbuild": "cat ./dist/psl.js | uglifyjs -c -m > ./dist/psl.min.js", + "prebuild": "./scripts/update-rules.js", + "pretest": "eslint .", + "test": "mocha test && karma start ./karma.conf.js --single-run", + "watch": "mocha test --watch" + }, + "version": "1.8.0" } diff --git a/node_modules/pump/package.json b/node_modules/pump/package.json index 0b838f90d..9b10bfd70 100644 --- a/node_modules/pump/package.json +++ b/node_modules/pump/package.json @@ -1,24 +1,62 @@ { - "name": "pump", - "version": "3.0.0", - "repository": "git://github.com/mafintosh/pump.git", - "license": "MIT", - "description": "pipe streams together and close all of them if one of them closes", + "_args": [ + [ + "pump@3.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "pump@3.0.0", + "_id": "pump@3.0.0", + "_inBundle": false, + "_integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "_location": "/pump", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "pump@3.0.0", + "name": "pump", + "escapedName": "pump", + "rawSpec": "3.0.0", + "saveSpec": null, + "fetchSpec": "3.0.0" + }, + "_requiredBy": [ + "/lint-staged/get-stream" + ], + "_resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "_spec": "3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Mathias Buus Madsen", + "email": "mathiasbuus@gmail.com" + }, "browser": { "fs": false }, + "bugs": { + "url": "https://github.com/mafintosh/pump/issues" + }, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + }, + "description": "pipe streams together and close all of them if one of them closes", + "homepage": "https://github.com/mafintosh/pump#readme", "keywords": [ "streams", "pipe", "destroy", "callback" ], - "author": "Mathias Buus Madsen ", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" + "license": "MIT", + "name": "pump", + "repository": { + "type": "git", + "url": "git://github.com/mafintosh/pump.git" }, "scripts": { "test": "node test-browser.js && node test-node.js" - } + }, + "version": "3.0.0" } diff --git a/node_modules/punycode/package.json b/node_modules/punycode/package.json index 9202ccf8c..b8112150d 100644 --- a/node_modules/punycode/package.json +++ b/node_modules/punycode/package.json @@ -1,58 +1,90 @@ { - "name": "punycode", - "version": "2.1.1", - "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", - "homepage": "https://mths.be/punycode", - "main": "punycode.js", - "jsnext:main": "punycode.es6.js", - "module": "punycode.es6.js", - "engines": { - "node": ">=6" + "_args": [ + [ + "punycode@2.1.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "punycode@2.1.1", + "_id": "punycode@2.1.1", + "_inBundle": false, + "_integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "_location": "/punycode", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "punycode@2.1.1", + "name": "punycode", + "escapedName": "punycode", + "rawSpec": "2.1.1", + "saveSpec": null, + "fetchSpec": "2.1.1" }, - "keywords": [ - "punycode", - "unicode", - "idn", - "idna", - "dns", - "url", - "domain" + "_requiredBy": [ + "/tough-cookie", + "/tr46", + "/uri-js" ], - "license": "MIT", + "_resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "_spec": "2.1.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Mathias Bynens", "url": "https://mathiasbynens.be/" }, + "bugs": { + "url": "https://github.com/bestiejs/punycode.js/issues" + }, "contributors": [ { "name": "Mathias Bynens", "url": "https://mathiasbynens.be/" } ], - "repository": { - "type": "git", - "url": "https://github.com/bestiejs/punycode.js.git" + "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", + "devDependencies": { + "codecov": "^1.0.1", + "istanbul": "^0.4.1", + "mocha": "^2.5.3" + }, + "engines": { + "node": ">=6" }, - "bugs": "https://github.com/bestiejs/punycode.js/issues", "files": [ "LICENSE-MIT.txt", "punycode.js", "punycode.es6.js" ], - "scripts": { - "test": "mocha tests", - "prepublish": "node scripts/prepublish.js" - }, - "devDependencies": { - "codecov": "^1.0.1", - "istanbul": "^0.4.1", - "mocha": "^2.5.3" - }, + "homepage": "https://mths.be/punycode", + "jsnext:main": "punycode.es6.js", "jspm": { "map": { "./punycode.js": { "node": "@node/punycode" } } - } + }, + "keywords": [ + "punycode", + "unicode", + "idn", + "idna", + "dns", + "url", + "domain" + ], + "license": "MIT", + "main": "punycode.js", + "module": "punycode.es6.js", + "name": "punycode", + "repository": { + "type": "git", + "url": "git+https://github.com/bestiejs/punycode.js.git" + }, + "scripts": { + "prepublish": "node scripts/prepublish.js", + "test": "mocha tests" + }, + "version": "2.1.1" } diff --git a/node_modules/pupa/index.d.ts b/node_modules/pupa/index.d.ts deleted file mode 100644 index 762aae0c2..000000000 --- a/node_modules/pupa/index.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** -Simple micro templating. - -@param template - Text with placeholders for `data` properties. -@param data - Data to interpolate into `template`. - -@example -``` -import pupa = require('pupa'); - -pupa('The mobile number of {name} is {phone.mobile}', { - name: 'Sindre', - phone: { - mobile: '609 24 363' - } -}); -//=> 'The mobile number of Sindre is 609 24 363' - -pupa('I like {0} and {1}', ['🦄', '🐮']); -//=> 'I like 🦄 and 🐮' - -// Double braces encodes the HTML entities to avoid code injection -pupa('I like {{0}} and {{1}}', ['
🦄
', '🐮']); -//=> 'I like <br>🦄</br> and <i>🐮</i>' -``` -*/ -declare function pupa( - template: string, - data: unknown[] | {[key: string]: any} -): string; - -export = pupa; diff --git a/node_modules/pupa/index.js b/node_modules/pupa/index.js deleted file mode 100644 index 85739ebbb..000000000 --- a/node_modules/pupa/index.js +++ /dev/null @@ -1,39 +0,0 @@ -'use strict'; -const {htmlEscape} = require('escape-goat'); - -module.exports = (template, data) => { - if (typeof template !== 'string') { - throw new TypeError(`Expected a \`string\` in the first argument, got \`${typeof template}\``); - } - - if (typeof data !== 'object') { - throw new TypeError(`Expected an \`object\` or \`Array\` in the second argument, got \`${typeof data}\``); - } - - // The regex tries to match either a number inside `{{ }}` or a valid JS identifier or key path. - const doubleBraceRegex = /{{(\d+|[a-z$_][a-z\d$_]*?(?:\.[a-z\d$_]*?)*?)}}/gi; - - if (doubleBraceRegex.test(template)) { - template = template.replace(doubleBraceRegex, (_, key) => { - let result = data; - - for (const property of key.split('.')) { - result = result ? result[property] : ''; - } - - return htmlEscape(String(result)); - }); - } - - const braceRegex = /{(\d+|[a-z$_][a-z\d$_]*?(?:\.[a-z\d$_]*?)*?)}/gi; - - return template.replace(braceRegex, (_, key) => { - let result = data; - - for (const property of key.split('.')) { - result = result ? result[property] : ''; - } - - return String(result); - }); -}; diff --git a/node_modules/pupa/license b/node_modules/pupa/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/pupa/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/pupa/package.json b/node_modules/pupa/package.json deleted file mode 100644 index 399ce6f9d..000000000 --- a/node_modules/pupa/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "pupa", - "version": "2.1.1", - "description": "Simple micro templating", - "license": "MIT", - "repository": "sindresorhus/pupa", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "string", - "formatting", - "template", - "object", - "format", - "interpolate", - "interpolation", - "templating", - "expand", - "simple", - "replace", - "placeholders", - "values", - "transform", - "micro" - ], - "dependencies": { - "escape-goat": "^2.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/node_modules/pupa/readme.md b/node_modules/pupa/readme.md deleted file mode 100644 index bb9ab1805..000000000 --- a/node_modules/pupa/readme.md +++ /dev/null @@ -1,63 +0,0 @@ -# pupa [![Build Status](https://travis-ci.org/sindresorhus/pupa.svg?branch=master)](https://travis-ci.org/sindresorhus/pupa) - -> Simple micro templating - -Useful when all you need is to fill in some placeholders. - - -## Install - -``` -$ npm install pupa -``` - - -## Usage - -```js -const pupa = require('pupa'); - -pupa('The mobile number of {name} is {phone.mobile}', { - name: 'Sindre', - phone: { - mobile: '609 24 363' - } -}); -//=> 'The mobile number of Sindre is 609 24 363' - -pupa('I like {0} and {1}', ['🦄', '🐮']); -//=> 'I like 🦄 and 🐮' - -// Double braces encodes the HTML entities to avoid code injection -pupa('I like {{0}} and {{1}}', ['
🦄
', '🐮']); -//=> 'I like <br>🦄</br> and <i>🐮</i>' -``` - - -## API - -### pupa(template, data) - -#### template - -Type: `string` - -Text with placeholders for `data` properties. - -#### data - -Type: `object | unknown[]` - -Data to interpolate into `template`. - - -## FAQ - -### What about template literals? - -Template literals expand on creation. This module expands the template on execution, which can be useful if either or both template and data are lazily created or user-supplied. - - -## Related - -- [pupa-cli](https://github.com/sindresorhus/pupa-cli) - CLI for this module diff --git a/node_modules/qs/package.json b/node_modules/qs/package.json index 5e6b8efc2..88731b3f2 100644 --- a/node_modules/qs/package.json +++ b/node_modules/qs/package.json @@ -1,69 +1,101 @@ { + "_args": [ + [ + "qs@6.9.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "qs@6.9.6", + "_id": "qs@6.9.6", + "_inBundle": false, + "_integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "_location": "/qs", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "qs@6.9.6", "name": "qs", - "description": "A querystring parser that supports nesting and arrays, with a depth limit", - "homepage": "https://github.com/ljharb/qs", - "version": "6.9.6", - "repository": { - "type": "git", - "url": "https://github.com/ljharb/qs.git" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "main": "lib/index.js", - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - } - ], - "keywords": [ - "querystring", - "qs", - "query", - "url", - "parse", - "stringify" - ], - "engines": { - "node": ">=0.6" - }, - "dependencies": {}, - "devDependencies": { - "@ljharb/eslint-config": "^17.3.0", - "aud": "^1.1.3", - "browserify": "^16.5.2", - "eclint": "^2.8.1", - "eslint": "^7.17.0", - "evalmd": "^0.0.19", - "for-each": "^0.3.3", - "has-symbols": "^1.0.1", - "iconv-lite": "^0.5.1", - "mkdirp": "^0.5.5", - "nyc": "^10.3.2", - "object-inspect": "^1.9.0", - "qs-iconv": "^1.0.4", - "safe-publish-latest": "^1.1.4", - "safer-buffer": "^2.1.2", - "tape": "^5.1.1" - }, - "scripts": { - "prepublish": "safe-publish-latest && npm run dist", - "pretest": "npm run --silent readme && npm run --silent lint", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/**/*.js'", - "posttest": "aud --production", - "readme": "evalmd README.md", - "postlint": "eclint check * lib/* test/*", - "lint": "eslint lib/*.js test/*.js", - "dist": "mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js" - }, - "license": "BSD-3-Clause", - "greenkeeper": { - "ignore": [ - "iconv-lite", - "mkdirp" - ] + "escapedName": "qs", + "rawSpec": "6.9.6", + "saveSpec": null, + "fetchSpec": "6.9.6" + }, + "_requiredBy": [ + "/body-parser", + "/express" + ], + "_resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "_spec": "6.9.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/ljharb/qs/issues" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" } + ], + "dependencies": {}, + "description": "A querystring parser that supports nesting and arrays, with a depth limit", + "devDependencies": { + "@ljharb/eslint-config": "^17.3.0", + "aud": "^1.1.3", + "browserify": "^16.5.2", + "eclint": "^2.8.1", + "eslint": "^7.17.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.3", + "has-symbols": "^1.0.1", + "iconv-lite": "^0.5.1", + "mkdirp": "^0.5.5", + "nyc": "^10.3.2", + "object-inspect": "^1.9.0", + "qs-iconv": "^1.0.4", + "safe-publish-latest": "^1.1.4", + "safer-buffer": "^2.1.2", + "tape": "^5.1.1" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "greenkeeper": { + "ignore": [ + "iconv-lite", + "mkdirp" + ] + }, + "homepage": "https://github.com/ljharb/qs", + "keywords": [ + "querystring", + "qs", + "query", + "url", + "parse", + "stringify" + ], + "license": "BSD-3-Clause", + "main": "lib/index.js", + "name": "qs", + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/qs.git" + }, + "scripts": { + "dist": "mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js", + "lint": "eslint lib/*.js test/*.js", + "postlint": "eclint check * lib/* test/*", + "posttest": "aud --production", + "prepublish": "safe-publish-latest && npm run dist", + "pretest": "npm run --silent readme && npm run --silent lint", + "readme": "evalmd README.md", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'" + }, + "version": "6.9.6" } diff --git a/node_modules/querystring/package.json b/node_modules/querystring/package.json index bdbc97073..eb828be2f 100644 --- a/node_modules/querystring/package.json +++ b/node_modules/querystring/package.json @@ -1,27 +1,66 @@ { - "name": "querystring", - "id": "querystring", - "version": "0.2.0", - "description": "Node's querystring module for all engines.", - "keywords": [ "commonjs", "query", "querystring" ], - "author": "Irakli Gozalishvili ", - "repository": { - "type": "git", - "url": "git://github.com/Gozala/querystring.git", - "web": "https://github.com/Gozala/querystring" + "_from": "querystring@0.2.0", + "_id": "querystring@0.2.0", + "_inBundle": false, + "_integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "_location": "/querystring", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "querystring@0.2.0", + "name": "querystring", + "escapedName": "querystring", + "rawSpec": "0.2.0", + "saveSpec": null, + "fetchSpec": "0.2.0" + }, + "_requiredBy": [ + "/aws-sdk", + "/url" + ], + "_resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "_shasum": "b209849203bb25df820da756e747005878521620", + "_spec": "querystring@0.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/aws-sdk", + "author": { + "name": "Irakli Gozalishvili", + "email": "rfobic@gmail.com" }, "bugs": { "url": "http://github.com/Gozala/querystring/issues/" }, + "bundleDependencies": false, + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", + "description": "Node's querystring module for all engines.", "devDependencies": { - "test": "~0.x.0", "phantomify": "~0.x.0", "retape": "~0.x.0", - "tape": "~0.1.5" + "tape": "~0.1.5", + "test": "~0.x.0" }, "engines": { "node": ">=0.4.x" }, + "homepage": "https://github.com/Gozala/querystring#readme", + "id": "querystring", + "keywords": [ + "commonjs", + "query", + "querystring" + ], + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/Gozala/enchain/License.md" + } + ], + "name": "querystring", + "repository": { + "type": "git", + "url": "git://github.com/Gozala/querystring.git", + "web": "https://github.com/Gozala/querystring" + }, "scripts": { "test": "npm run test-node && npm run test-browser && npm run test-tap", "test-browser": "node ./node_modules/phantomify/bin/cmd.js ./test/common-index.js", @@ -58,8 +97,5 @@ ] } }, - "licenses": [{ - "type" : "MIT", - "url" : "https://github.com/Gozala/enchain/License.md" - }] + "version": "0.2.0" } diff --git a/node_modules/queue-microtask/package.json b/node_modules/queue-microtask/package.json index d29a401f5..0354c785c 100644 --- a/node_modules/queue-microtask/package.json +++ b/node_modules/queue-microtask/package.json @@ -1,7 +1,33 @@ { - "name": "queue-microtask", - "description": "fast, tiny `queueMicrotask` shim for modern engines", - "version": "1.2.3", + "_args": [ + [ + "queue-microtask@1.2.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "queue-microtask@1.2.3", + "_id": "queue-microtask@1.2.3", + "_inBundle": false, + "_integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "_location": "/queue-microtask", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "queue-microtask@1.2.3", + "name": "queue-microtask", + "escapedName": "queue-microtask", + "rawSpec": "1.2.3", + "saveSpec": null, + "fetchSpec": "1.2.3" + }, + "_requiredBy": [ + "/run-parallel" + ], + "_resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "_spec": "1.2.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -10,6 +36,7 @@ "bugs": { "url": "https://github.com/feross/queue-microtask/issues" }, + "description": "fast, tiny `queueMicrotask` shim for modern engines", "devDependencies": { "standard": "*", "tape": "^5.2.2" @@ -45,11 +72,13 @@ ], "license": "MIT", "main": "index.js", + "name": "queue-microtask", "repository": { "type": "git", "url": "git://github.com/feross/queue-microtask.git" }, "scripts": { "test": "standard && tape test/*.js" - } + }, + "version": "1.2.3" } diff --git a/node_modules/quick-lru/package.json b/node_modules/quick-lru/package.json index 46c175bc5..23d7ef28c 100644 --- a/node_modules/quick-lru/package.json +++ b/node_modules/quick-lru/package.json @@ -1,42 +1,74 @@ { - "name": "quick-lru", - "version": "4.0.1", - "description": "Simple \"Least Recently Used\" (LRU) cache", - "license": "MIT", - "repository": "sindresorhus/quick-lru", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && nyc ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "lru", - "quick", - "cache", - "caching", - "least", - "recently", - "used", - "fast", - "map", - "hash", - "buffer" - ], - "devDependencies": { - "ava": "^1.4.1", - "coveralls": "^3.0.3", - "nyc": "^14.1.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_from": "quick-lru@^4.0.1", + "_id": "quick-lru@4.0.1", + "_inBundle": false, + "_integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "_location": "/quick-lru", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "quick-lru@^4.0.1", + "name": "quick-lru", + "escapedName": "quick-lru", + "rawSpec": "^4.0.1", + "saveSpec": null, + "fetchSpec": "^4.0.1" + }, + "_requiredBy": [ + "/camelcase-keys" + ], + "_resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "_shasum": "5b8878f113a58217848c6482026c73e1ba57727f", + "_spec": "quick-lru@^4.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/camelcase-keys", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/quick-lru/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Simple \"Least Recently Used\" (LRU) cache", + "devDependencies": { + "ava": "^1.4.1", + "coveralls": "^3.0.3", + "nyc": "^14.1.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/quick-lru#readme", + "keywords": [ + "lru", + "quick", + "cache", + "caching", + "least", + "recently", + "used", + "fast", + "map", + "hash", + "buffer" + ], + "license": "MIT", + "name": "quick-lru", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/quick-lru.git" + }, + "scripts": { + "test": "xo && nyc ava && tsd" + }, + "version": "4.0.1" } diff --git a/node_modules/range-parser/package.json b/node_modules/range-parser/package.json index abea6d852..7d7b3ae54 100644 --- a/node_modules/range-parser/package.json +++ b/node_modules/range-parser/package.json @@ -1,44 +1,94 @@ { - "name": "range-parser", - "author": "TJ Holowaychuk (http://tjholowaychuk.com)", - "description": "Range header field string parser", - "version": "1.2.1", - "contributors": [ - "Douglas Christopher Wilson ", - "James Wyatt Cready ", - "Jonathan Ong (http://jongleberry.com)" + "_args": [ + [ + "range-parser@1.2.1", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "license": "MIT", - "keywords": [ - "range", - "parser", - "http" + "_from": "range-parser@1.2.1", + "_id": "range-parser@1.2.1", + "_inBundle": false, + "_integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "_location": "/range-parser", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "range-parser@1.2.1", + "name": "range-parser", + "escapedName": "range-parser", + "rawSpec": "1.2.1", + "saveSpec": null, + "fetchSpec": "1.2.1" + }, + "_requiredBy": [ + "/express", + "/send" ], - "repository": "jshttp/range-parser", + "_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "_spec": "1.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca", + "url": "http://tjholowaychuk.com" + }, + "bugs": { + "url": "https://github.com/jshttp/range-parser/issues" + }, + "contributors": [ + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "James Wyatt Cready", + "email": "wyatt.cready@lanetix.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } + ], + "description": "Range header field string parser", "devDependencies": { "deep-equal": "1.0.1", "eslint": "5.16.0", "eslint-config-standard": "12.0.0", - "eslint-plugin-markdown": "1.0.0", "eslint-plugin-import": "2.17.2", + "eslint-plugin-markdown": "1.0.0", "eslint-plugin-node": "8.0.1", "eslint-plugin-promise": "4.1.1", "eslint-plugin-standard": "4.0.0", "mocha": "6.1.4", "nyc": "14.1.1" }, + "engines": { + "node": ">= 0.6" + }, "files": [ "HISTORY.md", "LICENSE", "index.js" ], - "engines": { - "node": ">= 0.6" + "homepage": "https://github.com/jshttp/range-parser#readme", + "keywords": [ + "range", + "parser", + "http" + ], + "license": "MIT", + "name": "range-parser", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/range-parser.git" }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --reporter spec", "test-cov": "nyc --reporter=html --reporter=text npm test", "test-travis": "nyc --reporter=text npm test" - } + }, + "version": "1.2.1" } diff --git a/node_modules/raven/CHANGELOG.md b/node_modules/raven/CHANGELOG.md deleted file mode 100644 index 64f1eda49..000000000 --- a/node_modules/raven/CHANGELOG.md +++ /dev/null @@ -1,323 +0,0 @@ -# Changelog - -## 2.6.4 - 2018-09-03 - -- fix: Updated uuid module (#1481) - -## 2.6.3 - 2018-06-20 - -- fix: Always pass request through parseRequest for raven-node (#1404) - -## 2.6.2 - 2018-05-17 - -- ref: Emit transaction instead of culprit (#458) - -## 2.6.1 - 2018-05-10 - -- fix: correctly detect errors from vm (#457) -- ref: use console.warn for alerts and store them in Set (#455) -- ci: Add node 9 and 10 to travis builds (#456) - -## 2.6.0 - 2018-04-24 - -- fix: Use shallow-copy instead of deep-copy when working with context to prevent too large memory usage and slowing down request responses [See #452] - -## 2.5.0 - 2018-04-09 - -- feat: log non-standard ports in breadcrumbs (#440) -- feat: add flag for unhandled promise rejections (#446) -- fix: Remove a redundant try-catch block (#445) -- fix: Do not override context when capturing non-error exceptions (#444) -- fix: Update stack-trace to handle spaces in paths (#437) -- docs: Remove private DSNs from the docs (#447) -- docs: Update Usage docs to include Domains in Promise support (#438) - -## 2.4.2 - 2018-02-27 - -- fix: Don't throw exception when called captureException without config (#431) -- fix: Preserve context in for rejected promises (#428) -- ref: Log promise rejection reason alongside eventid (#434) -- ref: Use named function for middlewares (#429) - -## 2.4.1 - 2018-02-09 - -- fix: Handle scoped packages structure in node-lsmod (#426) -- fix: Report fatal errors as indeed "fatal" (#425) -- ref: Use a named function for the middleware over an anonymous (#424) - -## 2.4.0 - 2018-01-24 - -- feat: Sensible non-Error exception serializer (#416) -- fix: workaround for express.js 'host' deprecation message (#413) - -## 2.3.0 - 12/11/2017 - -- fix: attach remaining non-enumerables to req [See #387] -- feat: Allow to configure stacktrace for captureMessage calls [See #388] -- fix: access 'process' through global variable [See #399] -- ref: Enable http instrumentation by default [See #401] -- ref: Warn user when using capture/wrap without installing Raven [See #402] -- ci: Integrate Zeus and release with the bot [See #403] -- ref: Delete empty properties before sending event to the server [See #407] -- feat: Support Boom library statusCode [See #408] - -## 2.2.1 - 10/02/2017 - -- Remove unintentional memwatch-next dependency - -## 2.2.0 - 10/02/2017 -- Fixed all Node v8 tests to ensure everything is working correctly [See #366] -- Raven now uses Prettier to format it's code [See #364] -- Prevent Raven from queueing too many requests in case server is down [See #132] -- Enable keep-alive on socket connection and limit number of sockets [See #284] -- Pull Error's name from constructor, not Error itself to always get correct error type [See #372] -- Updated Errors serialization to store all additional properties and allow for attaching other object instances directly to it [See #376] -- Preserve some non-enumerable properties from request [See #379] -- Fall back to `NODE_ENV` for Sentry Environment [See #384] - -## 2.1.2 - 8/16/2017 -- Remove errant large file that accidentally got published in 2.1.1. [See #361] - -## 2.1.1 - 7/27/2017 -- Fix issue where HTTP request was duplicated as `req` (and dropped by Sentry server). [See #340] - -## 2.1.0 - 6/20/2017 -- Truncate long lines in surrounding source to avoid sending large amounts of minified code [See #329] -- Refactor automatic breadcrumb instrumentation of modules to accommodate compilation tools [See #322] -- Testing for Node 8 [See #328] - -## 2.0.2 - 5/24/2017 -- Fix issue with sending empty request details when no request is present [See #324] - -## 2.0.1 - 5/16/2017 -- Fix memory explosion when parsing stack for large files [See #320] - -## 2.0.0 - 5/10/2017 -- Properly surface errors to preserve process exit conditions [See #308, #257] - - Node processes with raven will now exit in exactly the same situations as if raven were not present - - Previously, there were failure scenarios where raven would erroneously cause the process to continue to run when it should have shut down - - **Be aware when upgrading:** it is possible that with raven-node 2.0, your node process will shut down from exceptions where it previously did not - - This also includes changes to more reliably finish capturing the exception that induces process shutdown -- Don't include `domain` property as extra property on `Error` objects [See #309] -- Parse `req` object from context or kwargs [See #310] - - For Express middleware users in particular, raven will now automatically report request details and user context in situations where it previously did not -- Tidied up `.npmignore` to exclude unnecessary files in npm package [See #311] - - Install size reduced from 484kB to 84kB, which should save npm ~100GB/month in bandwidth -- Removed various deprecated methods [See #313] -- Removed postgres autoBreadcrumbs to avoid webpack dependency issue [See #315, #254] - - postgres (and more) autoBreadcrumbs will return in version 2.1 - -## 1.1.6, 1.2.1 - 4/7/2017 -- Fix memory leak in `consoleAlert` (and thus, if not disabled, in `captureException`) [See #300] - -## 1.2.0 - 3/16/2017 -- Add sampleRate config option [See #292] - -## 1.1.5 - 3/16/2017 -- Fix memory leak in http autoBreadcrumb instrumentation [See #296] - -## 1.1.4 - 3/6/2017 -- Use `util.format` to get message string in `console` instrumentation [See #289] - -## 1.1.3 - 2/27/2017 -- Add `parseUser` option to control user parsing behavior [See #274] -- Make http instrumentation use `req.emit` instead of response event handler [See #276] -- Add alert about raven-node vs raven-js when it seems like a browser env [See #277] - -## 1.1.2 - 2/8/2017 -- Send kwargs to `shouldSendCallback` [See #251] -- Capture breadcrumbs from global context [See #267] -- Make stack parsing native-frame-check work on Windows paths [See #268] -- Bind req/res to context domain in express requestHandler [See #269] -- Fix postgres/pg name mismatch [See #270] - -## 1.1.1 and 1.0.1 - 12/13/2016 -- Fix middleware backwards compatibility [See #246] - -## 1.1.0 - 12/12/2016 -- Added support for (automatic) breadcrumbs [See #240] - - `Raven.captureBreadcrumb` manual method - - `autoBreadcrumbs` config field to automatically capture breadcrumbs for: - - console logs - - http requests - - postgres queries -- Deprecate `captureQuery` [See #239] - -## 1.0.0 - 12/12/2016 -- `Raven.config(...)` instead of `new raven.Client(...)` -- `Raven.install()` instead of `client.patchGlobal()` -- The callback to `Raven.captureException` now fires after transmission [See #217] -- Added `captureUnhandledRejections` option for Promise rejections -- Introduced contexts and associated `set/merge/getContext` methods [See #207] -- Added `shouldSendCallback` config option and `set*Callback` methods [See #220] -- Added `intercept()` method [See #225] -- Backwards compatibility was mostly maintained, but lots of stuff was deprecated - - We'll print console messages if you're doing anything the old way - - We'll also print console messages in certain situations where behavior might be surprising, like if no DSN is configured - - You can disable these alerts with `Raven.disableConsoleAlerts();` - -## 0.12.3 - 11/21/2016 - * Replace `node-uuid` dependency with `uuid` [See #236] - -## 0.12.2 - 11/17/2016 - * Add column number to stack frames [See #235] - * Check that `require.main.filename` is defined [See #233] - -## 0.12.1 - 8/4/2016 - * Fix bug where `environment` option was not actually being transmitted to Sentry [See #185] - -## 0.12.0 - 8/1/2016 - * Add `environment` config option and `setRelease` method [See #179] - * No longer passes `process.env` values [See #181] - * Connect/Express middleware now attempts to attach `req.user` as User interface [See #177] - * Use json-stringify-safe to prevent circular refs [See #182] - -## 0.11.0 - 5/5/2016 - * `captureError` renamed to `captureException` to match raven-js (alias exists for backwards compat) - * `parsers.parseError` now coerces Error type to string. [See #155] - -## 0.10.0 - 1/24/2016 - * Now supports global context for extra data, tags, user [See #141] - * Added `setUserContext`, `setExtraContext`, `setTagsContext` - -## 0.9.0 - 11/23/2015 - * Always coerce req.body to string. [See 2061d4efbf269c5e2096f2b7b55f5af2249c4aa7] - * Allow passing options to HTTP transports. [See #123] - * Fixed tests for node 4.0/5.0 - * Don't send a body for GET/HEAD requests unless one has been passed. [See 0476a6e9818135b8b258b0be0724c369fe30e3c7] - -## 0.8.1 - 06/15/2015 - * Fixed a missing `domain` import in the Express/Connect middleware [See #120] - -## 0.8.0 - 06/15/2015 - * Drop support for node 0.6 - * Remove `SENTRY_SITE` environment variable usage - * Fixed `express deprecated req.host: Use req.hostname instead` warning [See #101] - * Allow passing custom `ca` options for an https request [See #110 #108] - * Use newer API endpoint [See #105] - * Added support for Sentry's new Releases feature - * Update Express/Connect middleware to support domains [See #116] - -## 0.7.3 - 03/05/2015 - * When calling `captureError` without an Error, generate a fake `Error` object to pull stacktrace from. [See #87] - * Prevent `patchGlobal` from causing recursion [See #84] - * Fixed issues around capturing tags. - * Removed deprecated `site` parameter. - * Allow explicitly declaring the `culprit` [See #107] - * Publicly export out the various parsers [See #111] - * Support for iojs and node 0.12 - -## 0.7.2 - 09/09/2014 - * Added `dataCallback` option to Client configuration. See: https://github.com/getsentry/raven-node#pre-processing-data - -## 0.7.1 - 08/24/2014 - * Fixed package.json to not install junk from `optionalDependencies`. TIL `optionalDependencies` are still installed. [See #89] - -## 0.7.0 - 06/24/2014 - * Moved from mattrobenolt/raven-node into getsentry/raven-node - * Bumped to sentry protocol version 5 - * Capture all properties off of an Error object and send them along as as `extra` [See #72] - * Better feature detection support for capturing request parameters. Adds support for use in Koa. [See #78 #79] - -## 0.6.3 - 04/02/2014 - * Fix another issue that was breaking when running Raven from the REPL [See #66] - * Add additional meta data on the error callbacks [See #67 #73] - -## 0.6.2 - 02/14/2014 - * Allow overriding the logger name for an individual event - * Update lsmod to not break when running Raven from the REPL - * Added a `raven` bin so you can run `raven test [DSN]` - -## 0.6.1 - 01/23/2014 - * Use lsmod for getting the list of installed modules [See #55] - * Parse cookies on the http request always [See #56] - * Use `stack-trace` to assist in capturing stacks. This should fix compat with the New Relic plugin [See #57] - -## 0.6.0 - 11/9/2013 - * Updated sentry protocol to version 4 (Requires Sentry 6.0+ now) - * Module names now include the full path - * Attach client IP address to env object - -## 0.5.6 - 11/8/2013 - * Include module and function name in stacktrace culprit - -## 0.5.5 - 11/8/2013 - * Only record exceptions for 500 status codes from Connect middleware - -## 0.5.4 - 10/13/2013 - * Fix DSN parser when using Sentry at a non-root URL, thanks @rcoup [See #44] - -## 0.5.3 - 10/4/2013 - * Bump raw-stacktrace version - -## 0.5.2 - 9/10/2013 - * Fix compatibilities with CoffeeScript [Fixes #47] [Fixes #50] - * Doesn't choke on circular references - -## 0.5.1 - 5/1/2013 - * Add support for third party transports, thanks @crankycoder - -## 0.5.0 - 4/8/2013 - * Remove NODE_ENV entirely, fixes many issues since people have different opinions on wtf this means - * Several fixes in collecting a better stack trace, thanks @azylman - * Pass exception through to the patchGlobal callback, thanks @ktmud [See #28] - * Official 0.10 support! - * Other misc things. https://github.com/mattrobenolt/raven-node/compare/v0.4.7...v0.5.0 - -## 0.4.7 - 1/13/2013 - * Actually disable when NODE_ENV does not equal 'production' [Fixes #25] - -## 0.4.6 - 1/13/2013 - * Added `platform=node` to payload for Sentry 5.1 - -## 0.4.5 - 12/05/2012 - * Resolve `node_modules` path properly [Fixes #23] - -## 0.4.4 - 11/10/2012 - * Prevent 'error' event from bubbling up due to no listeners [See #22] - * Augment 'error' event emitter with an actual Error object [See #22] - -## 0.4.3 - 10/02/2012 - * Allow a callback to be given to `patchGlobal()` [Fixes #19] - * Removed old `patch_global()` alias - -## 0.4.2 - 9/29/2012 - * Added test coverage to `patchGlobal()` - * Quit using my own deprecated `get_ident()` method inside `patchGlobal` - * Send string errors as a normal message to prevent Sentry server from crying [Fixes #18] - -## 0.4.1 - 9/3/2012 - * patchGlobal() was actually broken. :( Thanks @ligthyear [Fixes #17] - -## 0.4.0 - 8/14/2012 - * Silence and disable Raven/Sentry when using a non-existent or falsey DSN value - -## 0.3.0 - 6/23/2012 - * Separate transports out into their own module for portability - * Added UDP transport [Fixes #10] - * Ignore sub-transports, such as gevent+https, raven sees it as just https - -## 0.2.4 - 6/16/2012 - * Added parsing DSNs with non-standard port. [Fixes #4] - * Added BSD license - -## 0.2.3 - 3/30/2012 - * Prevent any potentially odd stack traces from causing Raven to crash. [Fixes #2] - -## 0.2.2 - 3/22/2012 - * raven.Client now emits `logged` and `error` events. - -## 0.2.1 - 3/22/2012 - * Fixed connect/express middleware, thanks Almad! - -## 0.2.0 - 3/18/2012 - * Renamed all methods to follow `client.capture*()` pattern. (Sorry if you were already using it!) - * All `npm` installed modules are shoved into Sentry for debugging - * Toggle actual sending based on `NODE_ENV` variable. Check README for information. - * Fixes for more types of stack traces. - * Added `client.captureQuery()` - * Support for `SENTRY_DSN`, `SENTRY_NAME`, and `SENTRY_SITE` environment variables - * More test coverage - -## 0.1.0 - 3/17/2012 - * Initial release diff --git a/node_modules/raven/LICENSE b/node_modules/raven/LICENSE deleted file mode 100644 index 862c96981..000000000 --- a/node_modules/raven/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright (c) 2018 Sentry (https://sentry.io) and individual contributors. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, -this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. - - 3. Neither the name of the Sentry nor the names of its contributors may be -used to endorse or promote products derived from this software without specific -prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/raven/README.md b/node_modules/raven/README.md deleted file mode 100644 index de51e462c..000000000 --- a/node_modules/raven/README.md +++ /dev/null @@ -1,21 +0,0 @@ -

- - - -
-

Raven-node - Sentry SDK for Node.js

-

- -[![Build Status](https://travis-ci.org/getsentry/raven-node.svg?branch=master)](https://travis-ci.org/getsentry/raven-node) - -`raven-node` supports only LTS versions of Node, therefore currently required release is `>= v4.0.0`. -The last known working version for `v0.10` and `v0.12` is `raven-node@2.1.2`. -Please use this version if you need to support those releases of Node. - -To see up-to-date Node.js LTS Release Schedule, go to https://github.com/nodejs/LTS. - -## Resources - -* [Documentation](https://docs.getsentry.com/hosted/clients/node/) -* [Bug Tracker](https://github.com/getsentry/raven-node/issues) -* [IRC](irc://chat.freenode.net/sentry) (chat.freenode.net, #sentry) diff --git a/node_modules/raven/bin/raven b/node_modules/raven/bin/raven deleted file mode 100755 index dcbeb61b3..000000000 --- a/node_modules/raven/bin/raven +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env node - -var os = require('os'); -var raven = require('../'); - -function usage() { - var path = require('path'); - console.log('usage:', path.basename(process.argv[1]), 'test [SENTRY_DSN]'); -} - -if (process.argv[2] !== 'test') { - usage(); - process.exit(1); -} - -var dsn = process.argv.slice(3).join(' ') || process.env.SENTRY_DSN; -if (!dsn) { - usage(); - console.log(); - console.log('Error: No configuration detected!'); - console.log('You must either pass a DSN to the command or set the SENTRY_DSN environment variable.'); - process.exit(1); -} - -console.log('Using DSN configuration:'); -console.log(' ', dsn); -console.log(); - -var client = new raven.Client(dsn); - -console.log('Sending a test message...'); - -client.on('logged', function(result) { - console.log('success!'); - console.log('Event ID was', client.getIdent(result)); -}); -client.on('error', function(err) { - console.log('error!'); - throw err; -}); - -try { - test -} catch (ex) { - client.captureException(ex, { - message: 'This is a test message generated using ``raven test``', - level: 'info', - logger: 'sentry.test', - transaction: 'bin:raven at main', - request: { - method: 'GET', - url: 'http://example.com' - }, - extra: { - user: process.getuid && process.getuid(), - loadavg: os.loadavg() - } - }); -} diff --git a/node_modules/raven/index.js b/node_modules/raven/index.js deleted file mode 100644 index 57576a436..000000000 --- a/node_modules/raven/index.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -module.exports = require('./lib/client'); -module.exports.utils = require('./lib/utils'); - -module.exports.transports = require('./lib/transports'); -module.exports.parsers = require('./lib/parsers'); - -// To infinity and beyond -Error.stackTraceLimit = Infinity; diff --git a/node_modules/raven/lib/client.js b/node_modules/raven/lib/client.js deleted file mode 100644 index 8e9e99080..000000000 --- a/node_modules/raven/lib/client.js +++ /dev/null @@ -1,672 +0,0 @@ -'use strict'; - -var stringify = require('../vendor/json-stringify-safe'); -var parsers = require('./parsers'); -var zlib = require('zlib'); -var utils = require('./utils'); -var uuid = require('uuid'); -var transports = require('./transports'); -var nodeUtil = require('util'); // nodeUtil to avoid confusion with "utils" -var events = require('events'); -var domain = require('domain'); -var md5 = require('md5'); - -var instrumentor = require('./instrumentation/instrumentor'); - -var extend = utils.extend; - -function Raven() { - this.breadcrumbs = { - record: this.captureBreadcrumb.bind(this) - }; -} - -nodeUtil.inherits(Raven, events.EventEmitter); - -extend(Raven.prototype, { - config: function config(dsn, options) { - // We get lots of users using raven-node when they want raven-js, hence this warning if it seems like a browser - if ( - typeof window !== 'undefined' && - typeof document !== 'undefined' && - typeof navigator !== 'undefined' - ) { - utils.consoleAlertOnce( - "This looks like a browser environment; are you sure you don't want Raven.js for browser JavaScript? https://sentry.io/for/javascript" - ); - } - - if (arguments.length === 0) { - // no arguments, use default from environment - dsn = global.process.env.SENTRY_DSN; - options = {}; - } - if (typeof dsn === 'object') { - // They must only be passing through options - options = dsn; - dsn = global.process.env.SENTRY_DSN; - } - options = options || {}; - - this.raw_dsn = dsn; - this.dsn = utils.parseDSN(dsn); - this.name = - options.name || global.process.env.SENTRY_NAME || require('os').hostname(); - this.root = options.root || global.process.cwd(); - this.transport = options.transport || transports[this.dsn.protocol]; - this.sendTimeout = options.sendTimeout || 1; - this.release = options.release || global.process.env.SENTRY_RELEASE; - this.environment = - options.environment || - global.process.env.SENTRY_ENVIRONMENT || - global.process.env.NODE_ENV; - - // autoBreadcrumbs: true enables all, autoBreadcrumbs: false disables all - // autoBreadcrumbs: { http: true } enables a single type - this.autoBreadcrumbs = options.autoBreadcrumbs || false; - // default to 30, don't allow higher than 100 - this.maxBreadcrumbs = Math.max(0, Math.min(options.maxBreadcrumbs || 30, 100)); - - this.captureUnhandledRejections = options.captureUnhandledRejections; - this.loggerName = options.logger; - this.dataCallback = options.dataCallback; - this.shouldSendCallback = options.shouldSendCallback; - this.sampleRate = typeof options.sampleRate === 'undefined' ? 1 : options.sampleRate; - this.maxReqQueueCount = options.maxReqQueueCount || 100; - this.parseUser = options.parseUser; - this.stacktrace = options.stacktrace || false; - - if (!this.dsn) { - utils.consoleAlert('no DSN provided, error reporting disabled'); - } - - if (this.dsn.protocol === 'https') { - // In case we want to provide our own SSL certificates / keys - this.ca = options.ca || null; - } - - // enabled if a dsn is set - this._enabled = !!this.dsn; - - var globalContext = (this._globalContext = {}); - if (options.tags) { - globalContext.tags = options.tags; - } - if (options.extra) { - globalContext.extra = options.extra; - } - - this.onFatalError = this.defaultOnFatalError = function(err, sendErr, eventId) { - console.error(err && err.stack ? err.stack : err); - global.process.exit(1); - }; - this.uncaughtErrorHandler = this.makeErrorHandler(); - - this.on('error', function(err) { - utils.consoleAlert('failed to send exception to sentry: ' + err.message); - }); - - return this; - }, - - install: function install(cb) { - if (this.installed) return this; - - if (typeof cb === 'function') { - this.onFatalError = cb; - } - - global.process.on('uncaughtException', this.uncaughtErrorHandler); - - if (this.captureUnhandledRejections) { - var self = this; - global.process.on('unhandledRejection', function(reason, promise) { - var context = (promise.domain && promise.domain.sentryContext) || {}; - context.extra = context.extra || {}; - context.extra.unhandledPromiseRejection = true; - self.captureException(reason, context, function(sendErr, eventId) { - if (!sendErr) { - var reasonMessage = (reason && reason.message) || reason; - utils.consoleAlert( - 'unhandledRejection captured\n' + - 'Event ID: ' + - eventId + - '\n' + - 'Reason: ' + - reasonMessage - ); - } - }); - }); - } - - instrumentor.instrument(this, this.autoBreadcrumbs); - - this.installed = true; - - return this; - }, - - uninstall: function uninstall() { - if (!this.installed) return this; - - instrumentor.deinstrument(this); - - // todo: this works for tests for now, but isn't what we ultimately want to be doing - global.process.removeAllListeners('uncaughtException'); - global.process.removeAllListeners('unhandledRejection'); - - this.installed = false; - - return this; - }, - - makeErrorHandler: function() { - var self = this; - var caughtFirstError = false; - var caughtSecondError = false; - var calledFatalError = false; - var firstError; - return function(err) { - if (!caughtFirstError) { - // this is the first uncaught error and the ultimate reason for shutting down - // we want to do absolutely everything possible to ensure it gets captured - // also we want to make sure we don't go recursion crazy if more errors happen after this one - firstError = err; - caughtFirstError = true; - self.captureException(err, {level: 'fatal'}, function(sendErr, eventId) { - if (!calledFatalError) { - calledFatalError = true; - self.onFatalError(err, sendErr, eventId); - } - }); - } else if (calledFatalError) { - // we hit an error *after* calling onFatalError - pretty boned at this point, just shut it down - utils.consoleAlert( - 'uncaught exception after calling fatal error shutdown callback - this is bad! forcing shutdown' - ); - self.defaultOnFatalError(err); - } else if (!caughtSecondError) { - // two cases for how we can hit this branch: - // - capturing of first error blew up and we just caught the exception from that - // - quit trying to capture, proceed with shutdown - // - a second independent error happened while waiting for first error to capture - // - want to avoid causing premature shutdown before first error capture finishes - // it's hard to immediately tell case 1 from case 2 without doing some fancy/questionable domain stuff - // so let's instead just delay a bit before we proceed with our action here - // in case 1, we just wait a bit unnecessarily but ultimately do the same thing - // in case 2, the delay hopefully made us wait long enough for the capture to finish - // two potential nonideal outcomes: - // nonideal case 1: capturing fails fast, we sit around for a few seconds unnecessarily before proceeding correctly by calling onFatalError - // nonideal case 2: case 2 happens, 1st error is captured but slowly, timeout completes before capture and we treat second error as the sendErr of (nonexistent) failure from trying to capture first error - // note that after hitting this branch, we might catch more errors where (caughtSecondError && !calledFatalError) - // we ignore them - they don't matter to us, we're just waiting for the second error timeout to finish - caughtSecondError = true; - setTimeout(function() { - if (!calledFatalError) { - // it was probably case 1, let's treat err as the sendErr and call onFatalError - calledFatalError = true; - self.onFatalError(firstError, err); - } else { - // it was probably case 2, our first error finished capturing while we waited, cool, do nothing - } - }, (self.sendTimeout + 1) * 1000); // capturing could take at least sendTimeout to fail, plus an arbitrary second for how long it takes to collect surrounding source etc - } - }; - }, - - generateEventId: function generateEventId() { - return uuid().replace(/-/g, ''); - }, - - process: function process(eventId, kwargs, cb) { - // prod codepaths shouldn't hit this branch, for testing - if (typeof eventId === 'object') { - cb = kwargs; - kwargs = eventId; - eventId = this.generateEventId(); - } - - var domainContext = (domain.active && domain.active.sentryContext) || {}; - var globalContext = this._globalContext || {}; - kwargs.user = extend({}, globalContext.user, domainContext.user, kwargs.user); - kwargs.tags = extend({}, globalContext.tags, domainContext.tags, kwargs.tags); - kwargs.extra = extend({}, globalContext.extra, domainContext.extra, kwargs.extra); - // Perform a shallow copy of breadcrums to not send one that we'll capture below through as well - kwargs.breadcrumbs = { - values: - (domainContext.breadcrumbs && domainContext.breadcrumbs.slice()) || - (globalContext.breadcrumbs && globalContext.breadcrumbs.slice()) || - [] - }; - - /* - `request` is our specified property name for the http interface: https://docs.sentry.io/clientdev/interfaces/http/ - `req` is the conventional name for a request object in node/express/etc - we want to enable someone to pass a `request` property to kwargs according to http interface - but also want to provide convenience for passing a req object and having us parse it out - so we only parse a `req` property if the `request` property is absent/empty (and hence we won't clobber) - parseUser returns a partial kwargs object with a `request` property and possibly a `user` property - */ - var request = this._createRequestObject( - globalContext.request, - domainContext.request, - kwargs.request - ); - delete kwargs.request; - - if (Object.keys(request).length === 0) { - request = this._createRequestObject( - globalContext.req, - domainContext.req, - kwargs.req - ); - delete kwargs.req; - } - - if (Object.keys(request).length > 0) { - var parseUser = Object.keys(kwargs.user).length === 0 ? this.parseUser : false; - extend(kwargs, parsers.parseRequest(request, parseUser)); - } else { - kwargs.request = {}; - } - - kwargs.modules = utils.getModules(); - kwargs.server_name = kwargs.server_name || this.name; - - if (typeof global.process.version !== 'undefined') { - kwargs.extra.node = global.process.version; - } - - kwargs.environment = kwargs.environment || this.environment; - kwargs.logger = kwargs.logger || this.loggerName; - kwargs.event_id = eventId; - kwargs.timestamp = new Date().toISOString().split('.')[0]; - kwargs.project = this.dsn && this.dsn.project_id; - kwargs.platform = 'node'; - kwargs.release = this.release; - - // Cleanup empty properties before sending them to the server - Object.keys(kwargs).forEach(function(key) { - if (kwargs[key] == null || kwargs[key] === '') { - delete kwargs[key]; - } - }); - - if (this.dataCallback) { - kwargs = this.dataCallback(kwargs); - } - - // Capture breadcrumb before sending it, as we also want to have it even when - // it was dropped due to sampleRate or shouldSendCallback - this.captureBreadcrumb({ - category: 'sentry', - message: kwargs.message, - event_id: kwargs.event_id, - level: kwargs.level || 'error' // presume error unless specified - }); - - var shouldSend = true; - if (!this._enabled) shouldSend = false; - if (this.shouldSendCallback && !this.shouldSendCallback(kwargs)) shouldSend = false; - if (Math.random() >= this.sampleRate) shouldSend = false; - - if (shouldSend) { - this.send(kwargs, cb); - } else { - // wish there was a good way to communicate to cb why we didn't send; worth considering cb api change? - // could be shouldSendCallback, could be disabled, could be sample rate - // avoiding setImmediate here because node 0.8 - cb && - setTimeout(function() { - cb(null, eventId); - }, 0); - } - }, - - send: function send(kwargs, cb) { - var self = this; - var skwargs = stringify(kwargs); - var eventId = kwargs.event_id; - - zlib.deflate(skwargs, function(err, buff) { - var message = buff.toString('base64'), - timestamp = new Date().getTime(), - headers = { - 'X-Sentry-Auth': utils.getAuthHeader( - timestamp, - self.dsn.public_key, - self.dsn.private_key - ), - 'Content-Type': 'application/octet-stream', - 'Content-Length': message.length - }; - - self.transport.send(self, message, headers, eventId, cb); - }); - }, - - captureMessage: function captureMessage(message, kwargs, cb) { - if (!cb && typeof kwargs === 'function') { - cb = kwargs; - kwargs = {}; - } else { - kwargs = utils.isPlainObject(kwargs) ? extend({}, kwargs) : {}; - } - - var eventId = this.generateEventId(); - - if (this.stacktrace) { - var ex = new Error(message); - - console.log(ex); - - utils.parseStack( - ex, - function(frames) { - // We trim last frame, as it's our `new Error(message)` statement itself, which is redundant - kwargs.stacktrace = { - frames: frames.slice(0, -1) - }; - this.process(eventId, parsers.parseText(message, kwargs), cb); - }.bind(this) - ); - } else { - this.process(eventId, parsers.parseText(message, kwargs), cb); - } - - return eventId; - }, - - captureException: function captureException(err, kwargs, cb) { - if (!cb && typeof kwargs === 'function') { - cb = kwargs; - kwargs = {}; - } else { - kwargs = utils.isPlainObject(kwargs) ? extend({}, kwargs) : {}; - } - - if (!utils.isError(err)) { - if (utils.isPlainObject(err)) { - // This will allow us to group events based on top-level keys - // which is much better than creating new group when any key/value change - var keys = Object.keys(err).sort(); - var message = - 'Non-Error exception captured with keys: ' + - utils.serializeKeysForMessage(keys); - kwargs = extend(kwargs, { - message: message, - fingerprint: [md5(keys)], - extra: kwargs.extra || {} - }); - kwargs.extra.__serialized__ = utils.serializeException(err); - - err = new Error(message); - } else { - // This handles when someone does: - // throw "something awesome"; - // We synthesize an Error here so we can extract a (rough) stack trace. - err = new Error(err); - } - } - - var self = this; - var eventId = this.generateEventId(); - parsers.parseError(err, kwargs, function(kw) { - self.process(eventId, kw, cb); - }); - - return eventId; - }, - - context: function(ctx, func) { - if (!func && typeof ctx === 'function') { - func = ctx; - ctx = {}; - } - - // todo/note: raven-js takes an args param to do apply(this, args) - // i don't think it's correct/necessary to bind this to the wrap call - // and i don't know if we need to support the args param; it's undocumented - return this.wrap(ctx, func).apply(null); - }, - - wrap: function(options, func) { - if (!this.installed) { - utils.consoleAlertOnce( - 'Raven has not been installed, therefore no breadcrumbs will be captured. Call `Raven.config(...).install()` to fix this.' - ); - } - if (!func && typeof options === 'function') { - func = options; - options = {}; - } - - var wrapDomain = domain.create(); - // todo: better property name than sentryContext, maybe __raven__ or sth? - wrapDomain.sentryContext = options; - - wrapDomain.on('error', this.uncaughtErrorHandler); - var wrapped = wrapDomain.bind(func); - - for (var property in func) { - if ({}.hasOwnProperty.call(func, property)) { - wrapped[property] = func[property]; - } - } - wrapped.prototype = func.prototype; - wrapped.__raven__ = true; - wrapped.__inner__ = func; - // note: domain.bind sets wrapped.domain, but it's not documented, unsure if we should rely on that - wrapped.__domain__ = wrapDomain; - - return wrapped; - }, - - interceptErr: function(options, func) { - if (!func && typeof options === 'function') { - func = options; - options = {}; - } - var self = this; - var wrapped = function() { - var err = arguments[0]; - if (utils.isError(err)) { - self.captureException(err, options); - } else { - func.apply(null, arguments); - } - }; - - // repetitive with wrap - for (var property in func) { - if ({}.hasOwnProperty.call(func, property)) { - wrapped[property] = func[property]; - } - } - wrapped.prototype = func.prototype; - wrapped.__raven__ = true; - wrapped.__inner__ = func; - - return wrapped; - }, - - setContext: function setContext(ctx) { - if (domain.active) { - domain.active.sentryContext = ctx; - } else { - this._globalContext = ctx; - } - return this; - }, - - mergeContext: function mergeContext(ctx) { - extend(this.getContext(), ctx); - return this; - }, - - getContext: function getContext() { - if (domain.active) { - if (!domain.active.sentryContext) { - domain.active.sentryContext = {}; - utils.consoleAlert('sentry context not found on active domain'); - } - return domain.active.sentryContext; - } - return this._globalContext; - }, - - setCallbackHelper: function(propertyName, callback) { - var original = this[propertyName]; - if (typeof callback === 'function') { - this[propertyName] = function(data) { - return callback(data, original); - }; - } else { - this[propertyName] = callback; - } - - return this; - }, - - /* - * Set the dataCallback option - * - * @param {function} callback The callback to run which allows the - * data blob to be mutated before sending - * @return {Raven} - */ - setDataCallback: function(callback) { - return this.setCallbackHelper('dataCallback', callback); - }, - - /* - * Set the shouldSendCallback option - * - * @param {function} callback The callback to run which allows - * introspecting the blob before sending - * @return {Raven} - */ - setShouldSendCallback: function(callback) { - return this.setCallbackHelper('shouldSendCallback', callback); - }, - - requestHandler: function() { - var self = this; - return function ravenRequestMiddleware(req, res, next) { - self.context({req: req}, function() { - domain.active.add(req); - domain.active.add(res); - next(); - }); - }; - }, - - errorHandler: function() { - var self = this; - return function ravenErrorMiddleware(err, req, res, next) { - var status = - err.status || - err.statusCode || - err.status_code || - (err.output && err.output.statusCode) || - 500; - - // skip anything not marked as an internal server error - if (status < 500) return next(err); - - var eventId = self.captureException(err, {req: req}); - res.sentry = eventId; - return next(err); - }; - }, - - captureBreadcrumb: function(breadcrumb) { - // Avoid capturing global-scoped breadcrumbs before instrumentation finishes - if (!this.installed) return; - - breadcrumb = extend( - { - timestamp: +new Date() / 1000 - }, - breadcrumb - ); - var currCtx = this.getContext(); - if (!currCtx.breadcrumbs) currCtx.breadcrumbs = []; - currCtx.breadcrumbs.push(breadcrumb); - if (currCtx.breadcrumbs.length > this.maxBreadcrumbs) { - currCtx.breadcrumbs.shift(); - } - this.setContext(currCtx); - }, - - _createRequestObject: function() { - /** - * When using proxy, some of the attributes of req/request objects are non-enumerable. - * To make sure, that they are still available to us after we consolidate our sources - * (eg. globalContext.request + domainContext.request + kwargs.request), - * we manually pull them out from original objects. - * - * Same scenario happens when some frameworks (eg. Koa) decide to use request within - * request. eg `this.request.req`, which adds aliases to the main `request` object. - * By manually reassigning them here, we don't need to add additional checks - * like `req.method || (req.req && req.req.method)` - * - * We don't use Object.assign/extend as it's only merging over objects own properties, - * and we don't want to go through all of the properties as well, as we simply don't - * need all of them. - **/ - var sources = Array.from(arguments).filter(function(source) { - return Object.prototype.toString.call(source) === '[object Object]'; - }); - sources = [{}].concat(sources); - var request = extend.apply(null, sources); - var nonEnumerables = [ - 'headers', - 'hostname', - 'ip', - 'method', - 'protocol', - 'query', - 'secure', - 'url' - ]; - - nonEnumerables.forEach(function(key) { - sources.forEach(function(source) { - if (source[key]) request[key] = source[key]; - }); - }); - - /** - * Check for 'host' *only* after we checked for 'hostname' first. - * This way we can avoid the noise coming from Express deprecation warning - * https://github.com/expressjs/express/blob/b97faff6e2aa4d34d79485fe4331cb0eec13ad57/lib/request.js#L450-L452 - * REF: https://github.com/getsentry/raven-node/issues/96#issuecomment-354748884 - **/ - if (!request.hasOwnProperty('hostname')) { - sources.forEach(function(source) { - if (source.host) request.host = source.host; - }); - } - - return request; - } -}); - -// Maintain old API compat, need to make sure arguments length is preserved -function Client(dsn, options) { - if (dsn instanceof Client) return dsn; - var ravenInstance = new Raven(); - return ravenInstance.config.apply(ravenInstance, arguments); -} -nodeUtil.inherits(Client, Raven); - -// Singleton-by-default but not strictly enforced -// todo these extra export props are sort of an adhoc mess, better way to manage? -var defaultInstance = new Raven(); -defaultInstance.Client = Client; -defaultInstance.version = require('../package.json').version; -defaultInstance.disableConsoleAlerts = utils.disableConsoleAlerts; - -module.exports = defaultInstance; diff --git a/node_modules/raven/lib/instrumentation/console.js b/node_modules/raven/lib/instrumentation/console.js deleted file mode 100644 index 176a8f1eb..000000000 --- a/node_modules/raven/lib/instrumentation/console.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict'; - -var util = require('util'); -var utils = require('../utils'); - -module.exports = function(Raven, console, originals) { - var wrapConsoleMethod = function(level) { - if (!(level in console)) { - return; - } - - utils.fill( - console, - level, - function(originalConsoleLevel) { - var sentryLevel = level === 'warn' ? 'warning' : level; - - return function() { - var args = [].slice.call(arguments); - - Raven.captureBreadcrumb({ - message: util.format.apply(null, args), - level: sentryLevel, - category: 'console' - }); - - originalConsoleLevel.apply(console, args); - }; - }, - originals - ); - }; - - ['debug', 'info', 'warn', 'error', 'log'].forEach(wrapConsoleMethod); - - return console; -}; diff --git a/node_modules/raven/lib/instrumentation/http.js b/node_modules/raven/lib/instrumentation/http.js deleted file mode 100644 index 0bfb69125..000000000 --- a/node_modules/raven/lib/instrumentation/http.js +++ /dev/null @@ -1,92 +0,0 @@ -'use strict'; -var util = require('util'); -var utils = require('../utils'); - -module.exports = function(Raven, http, originals) { - var OrigClientRequest = http.ClientRequest; - var ClientRequest = function(options, cb) { - // Note: this won't capture a breadcrumb if a response never comes - // It would be useful to know if that was the case, though, so - // todo: revisit to see if we can capture sth indicating response never came - // possibility: capture one breadcrumb for "req sent" and one for "res recvd" - // seems excessive but solves the problem and *is* strictly more information - // could be useful for weird response sequencing bug scenarios - OrigClientRequest.call(this, options, cb); - - // We could just always reconstruct this from this.agent, this._headers, this.path, etc - // but certain other http-instrumenting libraries (like nock, which we use for tests) fail to - // maintain the guarantee that after calling OrigClientRequest, those fields will be populated - if (typeof options === 'string') { - this.__ravenBreadcrumbUrl = options; - } else { - var protocol = options.protocol || ''; - var hostname = options.hostname || options.host || ''; - // Don't log standard :80 (http) and :443 (https) ports to reduce the noise - var port = - !options.port || options.port === 80 || options.port === 443 - ? '' - : ':' + options.port; - var path = options.path || '/'; - - this.__ravenBreadcrumbUrl = protocol + '//' + hostname + port + path; - } - }; - util.inherits(ClientRequest, OrigClientRequest); - - utils.fill(ClientRequest.prototype, 'emit', function(origEmit) { - return function(evt, maybeResp) { - if (evt === 'response' && this.__ravenBreadcrumbUrl) { - if (!Raven.dsn || this.__ravenBreadcrumbUrl.indexOf(Raven.dsn.host) === -1) { - Raven.captureBreadcrumb({ - type: 'http', - category: 'http', - data: { - method: this.method, - url: this.__ravenBreadcrumbUrl, - status_code: maybeResp.statusCode - } - }); - } - } - return origEmit.apply(this, arguments); - }; - }); - - utils.fill( - http, - 'ClientRequest', - function() { - return ClientRequest; - }, - originals - ); - - // http.request orig refs module-internal ClientRequest, not exported one, so - // it still points at orig ClientRequest after our monkeypatch; these reimpls - // just get that reference updated to use our new ClientRequest - utils.fill( - http, - 'request', - function() { - return function(options, cb) { - return new http.ClientRequest(options, cb); - }; - }, - originals - ); - - utils.fill( - http, - 'get', - function() { - return function(options, cb) { - var req = http.request(options, cb); - req.end(); - return req; - }; - }, - originals - ); - - return http; -}; diff --git a/node_modules/raven/lib/instrumentation/instrumentor.js b/node_modules/raven/lib/instrumentation/instrumentor.js deleted file mode 100644 index 3b1ec35bb..000000000 --- a/node_modules/raven/lib/instrumentation/instrumentor.js +++ /dev/null @@ -1,75 +0,0 @@ -'use strict'; - -var utils = require('../utils'); - -var defaultOnConfig = { - console: true, - http: true -}; - -var defaultConfig = { - console: false, - http: false, - pg: false -}; - -function instrument(Raven, config) { - if (config === false) { - return; - } else if (config === true) { - config = defaultOnConfig; - } else { - config = utils.extend({}, defaultConfig, config); - } - - Raven.instrumentedOriginals = []; - Raven.instrumentedModules = []; - - var Module = require('module'); - utils.fill( - Module, - '_load', - function(origLoad) { - return function(moduleId, parent, isMain) { - var origModule = origLoad.apply(this, arguments); - if (config[moduleId] && Raven.instrumentedModules.indexOf(moduleId) === -1) { - Raven.instrumentedModules.push(moduleId); - return require('./' + moduleId)(Raven, origModule, Raven.instrumentedOriginals); - } - return origModule; - }; - }, - Raven.instrumentedOriginals - ); - - // special case: since console is built-in and app-level code won't require() it, do that here - if (config.console) { - require('console'); - } - - // observation: when the https module does its own require('http'), it *does not* hit our hooked require to instrument http on the fly - // but if we've previously instrumented http, https *does* get our already-instrumented version - // this is because raven's transports are required before this instrumentation takes place, which loads https (and http) - // so module cache will have uninstrumented http; proactively loading it here ensures instrumented version is in module cache - // alternatively we could refactor to load our transports later, but this is easier and doesn't have much drawback - if (config.http) { - require('http'); - } -} - -function deinstrument(Raven) { - if (!Raven.instrumentedOriginals) return; - var original; - // eslint-disable-next-line no-cond-assign - while ((original = Raven.instrumentedOriginals.shift())) { - var obj = original[0]; - var name = original[1]; - var orig = original[2]; - obj[name] = orig; - } -} - -module.exports = { - instrument: instrument, - deinstrument: deinstrument -}; diff --git a/node_modules/raven/lib/instrumentation/pg.js b/node_modules/raven/lib/instrumentation/pg.js deleted file mode 100644 index 83eb3a66f..000000000 --- a/node_modules/raven/lib/instrumentation/pg.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -module.exports = function(Raven, pg, originals) { - // Using fill helper here is hard because of `this` binding - var origQuery = pg.Connection.prototype.query; - pg.Connection.prototype.query = function(text) { - Raven.captureBreadcrumb({ - category: 'postgres', - message: text - }); - origQuery.call(this, text); - }; - // todo thread this through - // originals.push([pg.Connection.prototype, 'query', origQuery]); -}; diff --git a/node_modules/raven/lib/parsers.js b/node_modules/raven/lib/parsers.js deleted file mode 100644 index c8a6229f3..000000000 --- a/node_modules/raven/lib/parsers.js +++ /dev/null @@ -1,171 +0,0 @@ -'use strict'; - -var cookie = require('cookie'); -var urlParser = require('url'); -var stringify = require('../vendor/json-stringify-safe'); - -var utils = require('./utils'); - -module.exports.parseText = function parseText(message, kwargs) { - kwargs = kwargs || {}; - kwargs.message = message; - - return kwargs; -}; - -module.exports.parseError = function parseError(err, kwargs, cb) { - utils.parseStack(err, function(frames) { - var name = - ({}.hasOwnProperty.call(err, 'name') ? err.name : err.constructor.name) + ''; - if (typeof kwargs.message === 'undefined') { - kwargs.message = name + ': ' + (err.message || ''); - } - kwargs.exception = [ - { - type: name, - value: err.message, - stacktrace: { - frames: frames - } - } - ]; - - // Save additional error properties to `extra` under the error type (e.g. `extra.AttributeError`) - var extraErrorProps; - for (var key in err) { - if (err.hasOwnProperty(key)) { - if (key !== 'name' && key !== 'message' && key !== 'stack' && key !== 'domain') { - extraErrorProps = extraErrorProps || {}; - extraErrorProps[key] = err[key]; - } - } - } - if (extraErrorProps) { - kwargs.extra = kwargs.extra || {}; - kwargs.extra[name] = extraErrorProps; - } - - if (!kwargs.transaction && !kwargs.culprit) { - for (var n = frames.length - 1; n >= 0; n--) { - if (frames[n].in_app) { - kwargs.transaction = utils.getTransaction(frames[n]); - break; - } - } - } - - cb(kwargs); - }); -}; - -module.exports.parseRequest = function parseRequest(req, parseUser) { - var kwargs = {}; - - // headers: - // node, express: req.headers - // koa: req.header - var headers = req.headers || req.header || {}; - - // method: - // node, express, koa: req.method - var method = req.method; - - // host: - // express: req.hostname in > 4 and req.host in < 4 - // koa: req.host - // node: req.headers.host - var host = req.hostname || req.host || headers.host || ''; - - // protocol: - // node: - // express, koa: req.protocol - var protocol = - req.protocol === 'https' || req.secure || (req.socket || {}).encrypted - ? 'https' - : 'http'; - - // url (including path and query string): - // node, express: req.originalUrl - // koa: req.url - var originalUrl = req.originalUrl || req.url; - - // absolute url - var absoluteUrl = protocol + '://' + host + originalUrl; - - // query string: - // node: req.url (raw) - // express, koa: req.query - var query = req.query || urlParser.parse(originalUrl || '', true).query; - - // cookies: - // node, express, koa: req.headers.cookie - var cookies = cookie.parse(headers.cookie || ''); - - // body data: - // node, express, koa: req.body - var data = req.body; - if (['GET', 'HEAD'].indexOf(method) === -1) { - if (typeof data === 'undefined') { - data = ''; - } - } - - if (data && typeof data !== 'string' && {}.toString.call(data) !== '[object String]') { - // Make sure the request body is a string - data = stringify(data); - } - - // http interface - var http = { - method: method, - query_string: query, - headers: headers, - cookies: cookies, - data: data, - url: absoluteUrl - }; - - // expose http interface - kwargs.request = http; - - // user: typically found on req.user in express/passport patterns - // five cases for parseUser value: - // absent: grab only id, username, email from req.user - // false: capture nothing - // true: capture all keys from req.user - // array: provided whitelisted keys to grab from req.user - // function :: req -> user: custom parsing function - if (parseUser == null) parseUser = ['id', 'username', 'email']; - if (parseUser) { - var user = {}; - if (typeof parseUser === 'function') { - user = parseUser(req); - } else if (req.user) { - if (parseUser === true) { - for (var key in req.user) { - if ({}.hasOwnProperty.call(req.user, key)) { - user[key] = req.user[key]; - } - } - } else { - parseUser.forEach(function(fieldName) { - if ({}.hasOwnProperty.call(req.user, fieldName)) { - user[fieldName] = req.user[fieldName]; - } - }); - } - } - - // client ip: - // node: req.connection.remoteAddress - // express, koa: req.ip - var ip = req.ip || (req.connection && req.connection.remoteAddress); - if (ip) { - user.ip_address = ip; - } - - kwargs.user = user; - } - - return kwargs; -}; diff --git a/node_modules/raven/lib/transports.js b/node_modules/raven/lib/transports.js deleted file mode 100644 index a606a9526..000000000 --- a/node_modules/raven/lib/transports.js +++ /dev/null @@ -1,98 +0,0 @@ -'use strict'; - -var events = require('events'); -var util = require('util'); -var timeoutReq = require('timed-out'); - -var http = require('http'); -var https = require('https'); - -var agentOptions = {keepAlive: true, maxSockets: 100}; -var httpAgent = new http.Agent(agentOptions); -var httpsAgent = new https.Agent(agentOptions); - -function Transport() {} -util.inherits(Transport, events.EventEmitter); - -function HTTPTransport(options) { - this.defaultPort = 80; - this.transport = http; - this.options = options || {}; - this.agent = httpAgent; -} -util.inherits(HTTPTransport, Transport); -HTTPTransport.prototype.send = function(client, message, headers, eventId, cb) { - var options = { - hostname: client.dsn.host, - path: client.dsn.path + 'api/' + client.dsn.project_id + '/store/', - headers: headers, - method: 'POST', - port: client.dsn.port || this.defaultPort, - ca: client.ca, - agent: this.agent - }; - for (var key in this.options) { - if (this.options.hasOwnProperty(key)) { - options[key] = this.options[key]; - } - } - - // prevent off heap memory explosion - var _name = this.agent.getName({host: client.dsn.host, port: client.dsn.port}); - var _requests = this.agent.requests[_name]; - if (_requests && Object.keys(_requests).length > client.maxReqQueueCount) { - // other feedback strategy - client.emit('error', new Error('client req queue is full..')); - return; - } - - var req = this.transport.request(options, function(res) { - res.setEncoding('utf8'); - if (res.statusCode >= 200 && res.statusCode < 300) { - client.emit('logged', eventId); - cb && cb(null, eventId); - } else { - var reason = res.headers['x-sentry-error']; - var e = new Error('HTTP Error (' + res.statusCode + '): ' + reason); - e.response = res; - e.statusCode = res.statusCode; - e.reason = reason; - e.sendMessage = message; - e.requestHeaders = headers; - e.eventId = eventId; - client.emit('error', e); - cb && cb(e); - } - - // force the socket to drain - var noop = function() {}; - res.on('data', noop); - res.on('end', noop); - }); - - timeoutReq(req, client.sendTimeout * 1000); - - var cbFired = false; - req.on('error', function(e) { - client.emit('error', e); - if (!cbFired) { - cb && cb(e); - cbFired = true; - } - }); - req.end(message); -}; - -function HTTPSTransport(options) { - this.defaultPort = 443; - this.transport = https; - this.options = options || {}; - this.agent = httpsAgent; -} -util.inherits(HTTPSTransport, HTTPTransport); - -module.exports.http = new HTTPTransport(); -module.exports.https = new HTTPSTransport(); -module.exports.Transport = Transport; -module.exports.HTTPTransport = HTTPTransport; -module.exports.HTTPSTransport = HTTPSTransport; diff --git a/node_modules/raven/lib/utils.js b/node_modules/raven/lib/utils.js deleted file mode 100644 index ccc8bcf55..000000000 --- a/node_modules/raven/lib/utils.js +++ /dev/null @@ -1,380 +0,0 @@ -'use strict'; - -var fs = require('fs'); -var url = require('url'); -var transports = require('./transports'); -var path = require('path'); -var lsmod = require('../vendor/node-lsmod'); -var stacktrace = require('stack-trace'); -var stringify = require('../vendor/json-stringify-safe'); - -var ravenVersion = require('../package.json').version; - -var protocolMap = { - http: 80, - https: 443 -}; - -var consoleAlerts = new Set(); - -// Default Node.js REPL depth -var MAX_SERIALIZE_EXCEPTION_DEPTH = 3; -// 50kB, as 100kB is max payload size, so half sounds reasonable -var MAX_SERIALIZE_EXCEPTION_SIZE = 50 * 1024; -var MAX_SERIALIZE_KEYS_LENGTH = 40; - -function utf8Length(value) { - return ~-encodeURI(value).split(/%..|./).length; -} - -function jsonSize(value) { - return utf8Length(JSON.stringify(value)); -} - -function isError(what) { - return ( - Object.prototype.toString.call(what) === '[object Error]' || what instanceof Error - ); -} - -module.exports.isError = isError; - -function isPlainObject(what) { - return Object.prototype.toString.call(what) === '[object Object]'; -} - -module.exports.isPlainObject = isPlainObject; - -function serializeValue(value) { - var maxLength = 40; - - if (typeof value === 'string') { - return value.length <= maxLength ? value : value.substr(0, maxLength - 1) + '\u2026'; - } else if ( - typeof value === 'number' || - typeof value === 'boolean' || - typeof value === 'undefined' - ) { - return value; - } - - var type = Object.prototype.toString.call(value); - - // Node.js REPL notation - if (type === '[object Object]') return '[Object]'; - if (type === '[object Array]') return '[Array]'; - if (type === '[object Function]') - return value.name ? '[Function: ' + value.name + ']' : '[Function]'; - - return value; -} - -function serializeObject(value, depth) { - if (depth === 0) return serializeValue(value); - - if (isPlainObject(value)) { - return Object.keys(value).reduce(function(acc, key) { - acc[key] = serializeObject(value[key], depth - 1); - return acc; - }, {}); - } else if (Array.isArray(value)) { - return value.map(function(val) { - return serializeObject(val, depth - 1); - }); - } - - return serializeValue(value); -} - -function serializeException(ex, depth, maxSize) { - if (!isPlainObject(ex)) return ex; - - depth = typeof depth !== 'number' ? MAX_SERIALIZE_EXCEPTION_DEPTH : depth; - maxSize = typeof depth !== 'number' ? MAX_SERIALIZE_EXCEPTION_SIZE : maxSize; - - var serialized = serializeObject(ex, depth); - - if (jsonSize(stringify(serialized)) > maxSize) { - return serializeException(ex, depth - 1); - } - - return serialized; -} - -module.exports.serializeException = serializeException; - -function serializeKeysForMessage(keys, maxLength) { - if (typeof keys === 'number' || typeof keys === 'string') return keys.toString(); - if (!Array.isArray(keys)) return ''; - - keys = keys.filter(function(key) { - return typeof key === 'string'; - }); - if (keys.length === 0) return '[object has no keys]'; - - maxLength = typeof maxLength !== 'number' ? MAX_SERIALIZE_KEYS_LENGTH : maxLength; - if (keys[0].length >= maxLength) return keys[0]; - - for (var usedKeys = keys.length; usedKeys > 0; usedKeys--) { - var serialized = keys.slice(0, usedKeys).join(', '); - if (serialized.length > maxLength) continue; - if (usedKeys === keys.length) return serialized; - return serialized + '\u2026'; - } - - return ''; -} - -module.exports.serializeKeysForMessage = serializeKeysForMessage; - -module.exports.disableConsoleAlerts = function disableConsoleAlerts() { - consoleAlerts = false; -}; - -module.exports.enableConsoleAlerts = function enableConsoleAlerts() { - consoleAlerts = new Set(); -}; - -module.exports.consoleAlert = function consoleAlert(msg) { - if (consoleAlerts) { - console.warn('raven@' + ravenVersion + ' alert: ' + msg); - } -}; - -module.exports.consoleAlertOnce = function consoleAlertOnce(msg) { - if (consoleAlerts && !consoleAlerts.has(msg)) { - consoleAlerts.add(msg); - console.warn('raven@' + ravenVersion + ' alert: ' + msg); - } -}; - -module.exports.extend = - Object.assign || - function(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - return target; - }; - -module.exports.getAuthHeader = function getAuthHeader(timestamp, apiKey, apiSecret) { - var header = ['Sentry sentry_version=5']; - header.push('sentry_timestamp=' + timestamp); - header.push('sentry_client=raven-node/' + ravenVersion); - header.push('sentry_key=' + apiKey); - if (apiSecret) header.push('sentry_secret=' + apiSecret); - return header.join(', '); -}; - -module.exports.parseDSN = function parseDSN(dsn) { - if (!dsn) { - // Let a falsey value return false explicitly - return false; - } - try { - var parsed = url.parse(dsn), - response = { - protocol: parsed.protocol.slice(0, -1), - public_key: parsed.auth.split(':')[0], - host: parsed.host.split(':')[0] - }; - - if (parsed.auth.split(':')[1]) { - response.private_key = parsed.auth.split(':')[1]; - } - - if (~response.protocol.indexOf('+')) { - response.protocol = response.protocol.split('+')[1]; - } - - if (!transports.hasOwnProperty(response.protocol)) { - throw new Error('Invalid transport'); - } - - var index = parsed.pathname.lastIndexOf('/'); - response.path = parsed.pathname.substr(0, index + 1); - response.project_id = parsed.pathname.substr(index + 1); - response.port = ~~parsed.port || protocolMap[response.protocol] || 443; - return response; - } catch (e) { - throw new Error('Invalid Sentry DSN: ' + dsn); - } -}; - -module.exports.getTransaction = function getTransaction(frame) { - if (frame.module || frame.function) { - return (frame.module || '?') + ' at ' + (frame.function || '?'); - } - return ''; -}; - -var moduleCache; -module.exports.getModules = function getModules() { - if (!moduleCache) { - moduleCache = lsmod(); - } - return moduleCache; -}; - -module.exports.fill = function(obj, name, replacement, track) { - var orig = obj[name]; - obj[name] = replacement(orig); - if (track) { - track.push([obj, name, orig]); - } -}; - -var LINES_OF_CONTEXT = 7; - -function getFunction(line) { - try { - return ( - line.getFunctionName() || - line.getTypeName() + '.' + (line.getMethodName() || '') - ); - } catch (e) { - // This seems to happen sometimes when using 'use strict', - // stemming from `getTypeName`. - // [TypeError: Cannot read property 'constructor' of undefined] - return ''; - } -} - -var mainModule = - ((require.main && require.main.filename && path.dirname(require.main.filename)) || - global.process.cwd()) + '/'; - -function getModule(filename, base) { - if (!base) base = mainModule; - - // It's specifically a module - var file = path.basename(filename, '.js'); - filename = path.dirname(filename); - var n = filename.lastIndexOf('/node_modules/'); - if (n > -1) { - // /node_modules/ is 14 chars - return filename.substr(n + 14).replace(/\//g, '.') + ':' + file; - } - // Let's see if it's a part of the main module - // To be a part of main module, it has to share the same base - n = (filename + '/').lastIndexOf(base, 0); - if (n === 0) { - var module = filename.substr(base.length).replace(/\//g, '.'); - if (module) module += ':'; - module += file; - return module; - } - return file; -} - -function readSourceFiles(filenames, cb) { - // we're relying on filenames being de-duped already - if (filenames.length === 0) return setTimeout(cb, 0, {}); - - var sourceFiles = {}; - var numFilesToRead = filenames.length; - return filenames.forEach(function(filename) { - fs.readFile(filename, function(readErr, file) { - if (!readErr) sourceFiles[filename] = file.toString().split('\n'); - if (--numFilesToRead === 0) cb(sourceFiles); - }); - }); -} - -// This is basically just `trim_line` from https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67 -function snipLine(line, colno) { - var ll = line.length; - if (ll <= 150) return line; - if (colno > ll) colno = ll; - - var start = Math.max(colno - 60, 0); - if (start < 5) start = 0; - - var end = Math.min(start + 140, ll); - if (end > ll - 5) end = ll; - if (end === ll) start = Math.max(end - 140, 0); - - line = line.slice(start, end); - if (start > 0) line = '{snip} ' + line; - if (end < ll) line += ' {snip}'; - - return line; -} - -function snipLine0(line) { - return snipLine(line, 0); -} - -function parseStack(err, cb) { - if (!err) return cb([]); - - var stack = stacktrace.parse(err); - if (!stack || !Array.isArray(stack) || !stack.length || !stack[0].getFileName) { - // the stack is not the useful thing we were expecting :/ - return cb([]); - } - - // Sentry expects the stack trace to be oldest -> newest, v8 provides newest -> oldest - stack.reverse(); - - var frames = []; - var filesToRead = {}; - stack.forEach(function(line) { - var frame = { - filename: line.getFileName() || '', - lineno: line.getLineNumber(), - colno: line.getColumnNumber(), - function: getFunction(line) - }; - - var isInternal = - line.isNative() || - (frame.filename[0] !== '/' && - frame.filename[0] !== '.' && - frame.filename.indexOf(':\\') !== 1); - - // in_app is all that's not an internal Node function or a module within node_modules - // note that isNative appears to return true even for node core libraries - // see https://github.com/getsentry/raven-node/issues/176 - frame.in_app = !isInternal && frame.filename.indexOf('node_modules/') === -1; - - // Extract a module name based on the filename - if (frame.filename) { - frame.module = getModule(frame.filename); - if (!isInternal) filesToRead[frame.filename] = true; - } - - frames.push(frame); - }); - - return readSourceFiles(Object.keys(filesToRead), function(sourceFiles) { - frames.forEach(function(frame) { - if (frame.filename && sourceFiles[frame.filename]) { - var lines = sourceFiles[frame.filename]; - try { - frame.pre_context = lines - .slice(Math.max(0, frame.lineno - (LINES_OF_CONTEXT + 1)), frame.lineno - 1) - .map(snipLine0); - frame.context_line = snipLine(lines[frame.lineno - 1], frame.colno); - frame.post_context = lines - .slice(frame.lineno, frame.lineno + LINES_OF_CONTEXT) - .map(snipLine0); - } catch (e) { - // anomaly, being defensive in case - // unlikely to ever happen in practice but can definitely happen in theory - } - } - }); - - cb(frames); - }); -} - -// expose basically for testing because I don't know what I'm doing -module.exports.parseStack = parseStack; -module.exports.getModule = getModule; diff --git a/node_modules/raven/node_modules/cookie/HISTORY.md b/node_modules/raven/node_modules/cookie/HISTORY.md deleted file mode 100644 index 5bd648542..000000000 --- a/node_modules/raven/node_modules/cookie/HISTORY.md +++ /dev/null @@ -1,118 +0,0 @@ -0.3.1 / 2016-05-26 -================== - - * Fix `sameSite: true` to work with draft-7 clients - - `true` now sends `SameSite=Strict` instead of `SameSite` - -0.3.0 / 2016-05-26 -================== - - * Add `sameSite` option - - Replaces `firstPartyOnly` option, never implemented by browsers - * Improve error message when `encode` is not a function - * Improve error message when `expires` is not a `Date` - -0.2.4 / 2016-05-20 -================== - - * perf: enable strict mode - * perf: use for loop in parse - * perf: use string concatination for serialization - -0.2.3 / 2015-10-25 -================== - - * Fix cookie `Max-Age` to never be a floating point number - -0.2.2 / 2015-09-17 -================== - - * Fix regression when setting empty cookie value - - Ease the new restriction, which is just basic header-level validation - * Fix typo in invalid value errors - -0.2.1 / 2015-09-17 -================== - - * Throw on invalid values provided to `serialize` - - Ensures the resulting string is a valid HTTP header value - -0.2.0 / 2015-08-13 -================== - - * Add `firstPartyOnly` option - * Throw better error for invalid argument to parse - * perf: hoist regular expression - -0.1.5 / 2015-09-17 -================== - - * Fix regression when setting empty cookie value - - Ease the new restriction, which is just basic header-level validation - * Fix typo in invalid value errors - -0.1.4 / 2015-09-17 -================== - - * Throw better error for invalid argument to parse - * Throw on invalid values provided to `serialize` - - Ensures the resulting string is a valid HTTP header value - -0.1.3 / 2015-05-19 -================== - - * Reduce the scope of try-catch deopt - * Remove argument reassignments - -0.1.2 / 2014-04-16 -================== - - * Remove unnecessary files from npm package - -0.1.1 / 2014-02-23 -================== - - * Fix bad parse when cookie value contained a comma - * Fix support for `maxAge` of `0` - -0.1.0 / 2013-05-01 -================== - - * Add `decode` option - * Add `encode` option - -0.0.6 / 2013-04-08 -================== - - * Ignore cookie parts missing `=` - -0.0.5 / 2012-10-29 -================== - - * Return raw cookie value if value unescape errors - -0.0.4 / 2012-06-21 -================== - - * Use encode/decodeURIComponent for cookie encoding/decoding - - Improve server/client interoperability - -0.0.3 / 2012-06-06 -================== - - * Only escape special characters per the cookie RFC - -0.0.2 / 2012-06-01 -================== - - * Fix `maxAge` option to not throw error - -0.0.1 / 2012-05-28 -================== - - * Add more tests - -0.0.0 / 2012-05-28 -================== - - * Initial release diff --git a/node_modules/raven/node_modules/cookie/LICENSE b/node_modules/raven/node_modules/cookie/LICENSE deleted file mode 100644 index 058b6b4ef..000000000 --- a/node_modules/raven/node_modules/cookie/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -(The MIT License) - -Copyright (c) 2012-2014 Roman Shtylman -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/node_modules/raven/node_modules/cookie/README.md b/node_modules/raven/node_modules/cookie/README.md deleted file mode 100644 index db0d07825..000000000 --- a/node_modules/raven/node_modules/cookie/README.md +++ /dev/null @@ -1,220 +0,0 @@ -# cookie - -[![NPM Version][npm-image]][npm-url] -[![NPM Downloads][downloads-image]][downloads-url] -[![Node.js Version][node-version-image]][node-version-url] -[![Build Status][travis-image]][travis-url] -[![Test Coverage][coveralls-image]][coveralls-url] - -Basic HTTP cookie parser and serializer for HTTP servers. - -## Installation - -```sh -$ npm install cookie -``` - -## API - -```js -var cookie = require('cookie'); -``` - -### cookie.parse(str, options) - -Parse an HTTP `Cookie` header string and returning an object of all cookie name-value pairs. -The `str` argument is the string representing a `Cookie` header value and `options` is an -optional object containing additional parsing options. - -```js -var cookies = cookie.parse('foo=bar; equation=E%3Dmc%5E2'); -// { foo: 'bar', equation: 'E=mc^2' } -``` - -#### Options - -`cookie.parse` accepts these properties in the options object. - -##### decode - -Specifies a function that will be used to decode a cookie's value. Since the value of a cookie -has a limited character set (and must be a simple string), this function can be used to decode -a previously-encoded cookie value into a JavaScript string or other object. - -The default function is the global `decodeURIComponent`, which will decode any URL-encoded -sequences into their byte representations. - -**note** if an error is thrown from this function, the original, non-decoded cookie value will -be returned as the cookie's value. - -### cookie.serialize(name, value, options) - -Serialize a cookie name-value pair into a `Set-Cookie` header string. The `name` argument is the -name for the cookie, the `value` argument is the value to set the cookie to, and the `options` -argument is an optional object containing additional serialization options. - -```js -var setCookie = cookie.serialize('foo', 'bar'); -// foo=bar -``` - -#### Options - -`cookie.serialize` accepts these properties in the options object. - -##### domain - -Specifies the value for the [`Domain` `Set-Cookie` attribute][rfc-6266-5.2.3]. By default, no -domain is set, and most clients will consider the cookie to apply to only the current domain. - -##### encode - -Specifies a function that will be used to encode a cookie's value. Since value of a cookie -has a limited character set (and must be a simple string), this function can be used to encode -a value into a string suited for a cookie's value. - -The default function is the global `ecodeURIComponent`, which will encode a JavaScript string -into UTF-8 byte sequences and then URL-encode any that fall outside of the cookie range. - -##### expires - -Specifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute][rfc-6266-5.2.1]. -By default, no expiration is set, and most clients will consider this a "non-persistent cookie" and -will delete it on a condition like exiting a web browser application. - -**note** the [cookie storage model specification][rfc-6266-5.3] states that if both `expires` and -`magAge` are set, then `maxAge` takes precedence, but it is possiblke not all clients by obey this, -so if both are set, they should point to the same date and time. - -##### httpOnly - -Specifies the `boolean` value for the [`HttpOnly` `Set-Cookie` attribute][rfc-6266-5.2.6]. When truthy, -the `HttpOnly` attribute is set, otherwise it is not. By default, the `HttpOnly` attribute is not set. - -**note** be careful when setting this to `true`, as compliant clients will not allow client-side -JavaScript to see the cookie in `document.cookie`. - -##### maxAge - -Specifies the `number` (in seconds) to be the value for the [`Max-Age` `Set-Cookie` attribute][rfc-6266-5.2.2]. -The given number will be converted to an integer by rounding down. By default, no maximum age is set. - -**note** the [cookie storage model specification][rfc-6266-5.3] states that if both `expires` and -`magAge` are set, then `maxAge` takes precedence, but it is possiblke not all clients by obey this, -so if both are set, they should point to the same date and time. - -##### path - -Specifies the value for the [`Path` `Set-Cookie` attribute][rfc-6266-5.2.4]. By default, the path -is considered the ["default path"][rfc-6266-5.1.4]. By default, no maximum age is set, and most -clients will consider this a "non-persistent cookie" and will delete it on a condition like exiting -a web browser application. - -##### sameSite - -Specifies the `boolean` or `string` to be the value for the [`SameSite` `Set-Cookie` attribute][draft-west-first-party-cookies-07]. - - - `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement. - - `false` will not set the `SameSite` attribute. - - `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement. - - `'strict'` will set the `SameSite` attribute to `Strict` for strict same site enforcement. - -More information about the different enforcement levels can be found in the specification -https://tools.ietf.org/html/draft-west-first-party-cookies-07#section-4.1.1 - -**note** This is an attribute that has not yet been fully standardized, and may change in the future. -This also means many clients may ignore this attribute until they understand it. - -##### secure - -Specifies the `boolean` value for the [`Secure` `Set-Cookie` attribute][rfc-6266-5.2.5]. When truthy, -the `Secure` attribute is set, otherwise it is not. By default, the `Secure` attribute is not set. - -**note** be careful when setting this to `true`, as compliant clients will not send the cookie back to -the server in the future if the browser does not have an HTTPS connection. - -## Example - -The following example uses this module in conjunction with the Node.js core HTTP server -to prompt a user for their name and display it back on future visits. - -```js -var cookie = require('cookie'); -var escapeHtml = require('escape-html'); -var http = require('http'); -var url = require('url'); - -function onRequest(req, res) { - // Parse the query string - var query = url.parse(req.url, true, true).query; - - if (query && query.name) { - // Set a new cookie with the name - res.setHeader('Set-Cookie', cookie.serialize('name', String(query.name), { - httpOnly: true, - maxAge: 60 * 60 * 24 * 7 // 1 week - })); - - // Redirect back after setting cookie - res.statusCode = 302; - res.setHeader('Location', req.headers.referer || '/'); - res.end(); - return; - } - - // Parse the cookies on the request - var cookies = cookie.parse(req.headers.cookie || ''); - - // Get the visitor name set in the cookie - var name = cookies.name; - - res.setHeader('Content-Type', 'text/html; charset=UTF-8'); - - if (name) { - res.write('

Welcome back, ' + escapeHtml(name) + '!

'); - } else { - res.write('

Hello, new visitor!

'); - } - - res.write('
'); - res.write(' '); - res.end(' values - * - * @param {string} str - * @param {object} [options] - * @return {object} - * @public - */ - -function parse(str, options) { - if (typeof str !== 'string') { - throw new TypeError('argument str must be a string'); - } - - var obj = {} - var opt = options || {}; - var pairs = str.split(pairSplitRegExp); - var dec = opt.decode || decode; - - for (var i = 0; i < pairs.length; i++) { - var pair = pairs[i]; - var eq_idx = pair.indexOf('='); - - // skip things that don't look like key=value - if (eq_idx < 0) { - continue; - } - - var key = pair.substr(0, eq_idx).trim() - var val = pair.substr(++eq_idx, pair.length).trim(); - - // quoted values - if ('"' == val[0]) { - val = val.slice(1, -1); - } - - // only assign once - if (undefined == obj[key]) { - obj[key] = tryDecode(val, dec); - } - } - - return obj; -} - -/** - * Serialize data into a cookie header. - * - * Serialize the a name value pair into a cookie string suitable for - * http headers. An optional options object specified cookie parameters. - * - * serialize('foo', 'bar', { httpOnly: true }) - * => "foo=bar; httpOnly" - * - * @param {string} name - * @param {string} val - * @param {object} [options] - * @return {string} - * @public - */ - -function serialize(name, val, options) { - var opt = options || {}; - var enc = opt.encode || encode; - - if (typeof enc !== 'function') { - throw new TypeError('option encode is invalid'); - } - - if (!fieldContentRegExp.test(name)) { - throw new TypeError('argument name is invalid'); - } - - var value = enc(val); - - if (value && !fieldContentRegExp.test(value)) { - throw new TypeError('argument val is invalid'); - } - - var str = name + '=' + value; - - if (null != opt.maxAge) { - var maxAge = opt.maxAge - 0; - if (isNaN(maxAge)) throw new Error('maxAge should be a Number'); - str += '; Max-Age=' + Math.floor(maxAge); - } - - if (opt.domain) { - if (!fieldContentRegExp.test(opt.domain)) { - throw new TypeError('option domain is invalid'); - } - - str += '; Domain=' + opt.domain; - } - - if (opt.path) { - if (!fieldContentRegExp.test(opt.path)) { - throw new TypeError('option path is invalid'); - } - - str += '; Path=' + opt.path; - } - - if (opt.expires) { - if (typeof opt.expires.toUTCString !== 'function') { - throw new TypeError('option expires is invalid'); - } - - str += '; Expires=' + opt.expires.toUTCString(); - } - - if (opt.httpOnly) { - str += '; HttpOnly'; - } - - if (opt.secure) { - str += '; Secure'; - } - - if (opt.sameSite) { - var sameSite = typeof opt.sameSite === 'string' - ? opt.sameSite.toLowerCase() : opt.sameSite; - - switch (sameSite) { - case true: - str += '; SameSite=Strict'; - break; - case 'lax': - str += '; SameSite=Lax'; - break; - case 'strict': - str += '; SameSite=Strict'; - break; - default: - throw new TypeError('option sameSite is invalid'); - } - } - - return str; -} - -/** - * Try decoding a string using a decoding function. - * - * @param {string} str - * @param {function} decode - * @private - */ - -function tryDecode(str, decode) { - try { - return decode(str); - } catch (e) { - return str; - } -} diff --git a/node_modules/raven/node_modules/cookie/package.json b/node_modules/raven/node_modules/cookie/package.json deleted file mode 100644 index b48515034..000000000 --- a/node_modules/raven/node_modules/cookie/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "cookie", - "description": "HTTP server cookie parsing and serialization", - "version": "0.3.1", - "author": "Roman Shtylman ", - "contributors": [ - "Douglas Christopher Wilson " - ], - "license": "MIT", - "keywords": [ - "cookie", - "cookies" - ], - "repository": "jshttp/cookie", - "devDependencies": { - "istanbul": "0.4.3", - "mocha": "1.21.5" - }, - "files": [ - "HISTORY.md", - "LICENSE", - "README.md", - "index.js" - ], - "engines": { - "node": ">= 0.6" - }, - "scripts": { - "test": "mocha --reporter spec --bail --check-leaks test/", - "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" - } -} diff --git a/node_modules/raven/package.json b/node_modules/raven/package.json deleted file mode 100644 index d3550553f..000000000 --- a/node_modules/raven/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "raven", - "description": "A standalone (Node.js) client for Sentry", - "keywords": ["debugging", "errors", "exceptions", "logging", "raven", "sentry"], - "version": "2.6.4", - "repository": "git://github.com/getsentry/raven-js.git", - "license": "BSD-2-Clause", - "homepage": "https://github.com/getsentry/raven-js", - "author": "Matt Robenolt ", - "main": "index.js", - "bin": { - "raven": "./bin/raven" - }, - "scripts": { - "lint": "eslint .", - "test": - "NODE_ENV=test istanbul cover _mocha -- --reporter dot && NODE_ENV=test coffee ./test/run.coffee", - "test-mocha": "NODE_ENV=test mocha", - "test-full": "npm run test && cd test/instrumentation && ./run.sh" - }, - "engines": { - "node": ">= 4.0.0" - }, - "dependencies": { - "cookie": "0.3.1", - "md5": "^2.2.1", - "stack-trace": "0.0.10", - "timed-out": "4.0.1", - "uuid": "3.3.2" - }, - "devDependencies": { - "coffee-script": "~1.10.0", - "connect": "*", - "eslint": "^4.5.0", - "eslint-config-prettier": "^2.3.0", - "express": "*", - "glob": "~3.1.13", - "istanbul": "^0.4.3", - "mocha": "~3.1.2", - "nock": "~9.0.0", - "prettier": "^1.6.1", - "should": "11.2.0", - "sinon": "^3.3.0" - }, - "prettier": { - "singleQuote": true, - "bracketSpacing": false, - "printWidth": 90 - } -} diff --git a/node_modules/raven/vendor/json-stringify-safe.js b/node_modules/raven/vendor/json-stringify-safe.js deleted file mode 100644 index 5127c5303..000000000 --- a/node_modules/raven/vendor/json-stringify-safe.js +++ /dev/null @@ -1,69 +0,0 @@ -'use strict'; - -/* - json-stringify-safe - Like JSON.stringify, but doesn't throw on circular references. - - Originally forked from https://github.com/isaacs/json-stringify-safe - version 5.0.1 on 2017-09-21 and modified to handle Errors serialization. - Tests for this are in test/vendor. - - ISC license: https://github.com/isaacs/json-stringify-safe/blob/master/LICENSE - */ - -exports = module.exports = stringify; -exports.getSerialize = serializer; - -function stringify(obj, replacer, spaces, cycleReplacer) { - return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces); -} - -// https://github.com/ftlabs/js-abbreviate/blob/fa709e5f139e7770a71827b1893f22418097fbda/index.js#L95-L106 -function stringifyError(value) { - var err = { - // These properties are implemented as magical getters and don't show up in for in - stack: value.stack, - message: value.message, - name: value.name - }; - - for (var i in value) { - if (Object.prototype.hasOwnProperty.call(value, i)) { - err[i] = value[i]; - } - } - - return err; -} - -function serializer(replacer, cycleReplacer) { - var stack = []; - var keys = []; - - if (cycleReplacer == null) { - cycleReplacer = function(key, value) { - if (stack[0] === value) { - return '[Circular ~]'; - } - return '[Circular ~.' + keys.slice(0, stack.indexOf(value)).join('.') + ']'; - }; - } - - return function(key, value) { - if (stack.length > 0) { - var thisPos = stack.indexOf(this); - ~thisPos ? stack.splice(thisPos + 1) : stack.push(this); - ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key); - - if (~stack.indexOf(value)) { - value = cycleReplacer.call(this, key, value); - } - } else { - stack.push(value); - } - - return replacer == null - ? value instanceof Error ? stringifyError(value) : value - : replacer.call(this, key, value); - }; -} diff --git a/node_modules/raven/vendor/node-lsmod.js b/node_modules/raven/vendor/node-lsmod.js deleted file mode 100644 index a490b1819..000000000 --- a/node_modules/raven/vendor/node-lsmod.js +++ /dev/null @@ -1,68 +0,0 @@ -'use strict'; - -// Original repository: https://github.com/defunctzombie/node-lsmod/ -// -// [2018-02-09] @kamilogorek - Handle scoped packages structure - -// builtin -var fs = require('fs'); -var path = require('path'); - -// node 0.6 support -fs.existsSync = fs.existsSync || path.existsSync; - -// mainPaths are the paths where our mainprog will be able to load from -// we store these to avoid grabbing the modules that were loaded as a result -// of a dependency module loading its dependencies, we only care about deps our -// mainprog loads -var mainPaths = (require.main && require.main.paths) || []; - -module.exports = function() { - var paths = Object.keys(require.cache || []); - - // module information - var infos = {}; - - // paths we have already inspected to avoid traversing again - var seen = {}; - - paths.forEach(function(p) { - /* eslint-disable consistent-return */ - - var dir = p; - - (function updir() { - var orig = dir; - dir = path.dirname(orig); - - if (/@[^/]+$/.test(dir)) { - dir = path.dirname(dir); - } - - if (!dir || orig === dir || seen[orig]) { - return; - } else if (mainPaths.indexOf(dir) < 0) { - return updir(); - } - - var pkgfile = path.join(orig, 'package.json'); - var exists = fs.existsSync(pkgfile); - - seen[orig] = true; - - // travel up the tree if no package.json here - if (!exists) { - return updir(); - } - - try { - var info = JSON.parse(fs.readFileSync(pkgfile, 'utf8')); - infos[info.name] = info.version; - } catch (e) {} - })(); - - /* eslint-enable consistent-return */ - }); - - return infos; -}; diff --git a/node_modules/raw-body/package.json b/node_modules/raw-body/package.json index 924f9a03b..b7251846e 100644 --- a/node_modules/raw-body/package.json +++ b/node_modules/raw-body/package.json @@ -1,20 +1,57 @@ { - "name": "raw-body", - "description": "Get and validate the raw body of a readable stream.", - "version": "2.4.2", - "author": "Jonathan Ong (http://jongleberry.com)", + "_args": [ + [ + "raw-body@2.4.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "raw-body@2.4.2", + "_id": "raw-body@2.4.2", + "_inBundle": false, + "_integrity": "sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==", + "_location": "/raw-body", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "raw-body@2.4.2", + "name": "raw-body", + "escapedName": "raw-body", + "rawSpec": "2.4.2", + "saveSpec": null, + "fetchSpec": "2.4.2" + }, + "_requiredBy": [ + "/body-parser" + ], + "_resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.2.tgz", + "_spec": "2.4.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + }, + "bugs": { + "url": "https://github.com/stream-utils/raw-body/issues" + }, "contributors": [ - "Douglas Christopher Wilson ", - "Raynos " + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Raynos", + "email": "raynos2@gmail.com" + } ], - "license": "MIT", - "repository": "stream-utils/raw-body", "dependencies": { "bytes": "3.1.1", "http-errors": "1.8.1", "iconv-lite": "0.4.24", "unpipe": "1.0.0" }, + "description": "Get and validate the raw body of a readable stream.", "devDependencies": { "bluebird": "3.7.2", "eslint": "7.32.0", @@ -39,10 +76,18 @@ "index.d.ts", "index.js" ], + "homepage": "https://github.com/stream-utils/raw-body#readme", + "license": "MIT", + "name": "raw-body", + "repository": { + "type": "git", + "url": "git+https://github.com/stream-utils/raw-body.git" + }, "scripts": { "lint": "eslint .", "test": "mocha --trace-deprecation --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - } + }, + "version": "2.4.2" } diff --git a/node_modules/rc/LICENSE.APACHE2 b/node_modules/rc/LICENSE.APACHE2 deleted file mode 100644 index 6366c0471..000000000 --- a/node_modules/rc/LICENSE.APACHE2 +++ /dev/null @@ -1,15 +0,0 @@ -Apache License, Version 2.0 - -Copyright (c) 2011 Dominic Tarr - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/node_modules/rc/LICENSE.BSD b/node_modules/rc/LICENSE.BSD deleted file mode 100644 index 96bb796aa..000000000 --- a/node_modules/rc/LICENSE.BSD +++ /dev/null @@ -1,26 +0,0 @@ -Copyright (c) 2013, Dominic Tarr -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -The views and conclusions contained in the software and documentation are those -of the authors and should not be interpreted as representing official policies, -either expressed or implied, of the FreeBSD Project. diff --git a/node_modules/rc/LICENSE.MIT b/node_modules/rc/LICENSE.MIT deleted file mode 100644 index 6eafbd734..000000000 --- a/node_modules/rc/LICENSE.MIT +++ /dev/null @@ -1,24 +0,0 @@ -The MIT License - -Copyright (c) 2011 Dominic Tarr - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/rc/README.md b/node_modules/rc/README.md deleted file mode 100644 index e6522e267..000000000 --- a/node_modules/rc/README.md +++ /dev/null @@ -1,227 +0,0 @@ -# rc - -The non-configurable configuration loader for lazy people. - -## Usage - -The only option is to pass rc the name of your app, and your default configuration. - -```javascript -var conf = require('rc')(appname, { - //defaults go here. - port: 2468, - - //defaults which are objects will be merged, not replaced - views: { - engine: 'jade' - } -}); -``` - -`rc` will return your configuration options merged with the defaults you specify. -If you pass in a predefined defaults object, it will be mutated: - -```javascript -var conf = {}; -require('rc')(appname, conf); -``` - -If `rc` finds any config files for your app, the returned config object will have -a `configs` array containing their paths: - -```javascript -var appCfg = require('rc')(appname, conf); -appCfg.configs[0] // /etc/appnamerc -appCfg.configs[1] // /home/dominictarr/.config/appname -appCfg.config // same as appCfg.configs[appCfg.configs.length - 1] -``` - -## Standards - -Given your application name (`appname`), rc will look in all the obvious places for configuration. - - * command line arguments, parsed by minimist _(e.g. `--foo baz`, also nested: `--foo.bar=baz`)_ - * environment variables prefixed with `${appname}_` - * or use "\_\_" to indicate nested properties
_(e.g. `appname_foo__bar__baz` => `foo.bar.baz`)_ - * if you passed an option `--config file` then from that file - * a local `.${appname}rc` or the first found looking in `./ ../ ../../ ../../../` etc. - * `$HOME/.${appname}rc` - * `$HOME/.${appname}/config` - * `$HOME/.config/${appname}` - * `$HOME/.config/${appname}/config` - * `/etc/${appname}rc` - * `/etc/${appname}/config` - * the defaults object you passed in. - -All configuration sources that were found will be flattened into one object, -so that sources **earlier** in this list override later ones. - - -## Configuration File Formats - -Configuration files (e.g. `.appnamerc`) may be in either [json](http://json.org/example) or [ini](http://en.wikipedia.org/wiki/INI_file) format. **No** file extension (`.json` or `.ini`) should be used. The example configurations below are equivalent: - - -#### Formatted as `ini` - -``` -; You can include comments in `ini` format if you want. - -dependsOn=0.10.0 - - -; `rc` has built-in support for ini sections, see? - -[commands] - www = ./commands/www - console = ./commands/repl - - -; You can even do nested sections - -[generators.options] - engine = ejs - -[generators.modules] - new = generate-new - engine = generate-backend - -``` - -#### Formatted as `json` - -```javascript -{ - // You can even comment your JSON, if you want - "dependsOn": "0.10.0", - "commands": { - "www": "./commands/www", - "console": "./commands/repl" - }, - "generators": { - "options": { - "engine": "ejs" - }, - "modules": { - "new": "generate-new", - "backend": "generate-backend" - } - } -} -``` - -Comments are stripped from JSON config via [strip-json-comments](https://github.com/sindresorhus/strip-json-comments). - -> Since ini, and env variables do not have a standard for types, your application needs be prepared for strings. - -To ensure that string representations of booleans and numbers are always converted into their proper types (especially useful if you intend to do strict `===` comparisons), consider using a module such as [parse-strings-in-object](https://github.com/anselanza/parse-strings-in-object) to wrap the config object returned from rc. - - -## Simple example demonstrating precedence -Assume you have an application like this (notice the hard-coded defaults passed to rc): -``` -const conf = require('rc')('myapp', { - port: 12345, - mode: 'test' -}); - -console.log(JSON.stringify(conf, null, 2)); -``` -You also have a file `config.json`, with these contents: -``` -{ - "port": 9000, - "foo": "from config json", - "something": "else" -} -``` -And a file `.myapprc` in the same folder, with these contents: -``` -{ - "port": "3001", - "foo": "bar" -} -``` -Here is the expected output from various commands: - -`node .` -``` -{ - "port": "3001", - "mode": "test", - "foo": "bar", - "_": [], - "configs": [ - "/Users/stephen/repos/conftest/.myapprc" - ], - "config": "/Users/stephen/repos/conftest/.myapprc" -} -``` -*Default `mode` from hard-coded object is retained, but port is overridden by `.myapprc` file (automatically found based on appname match), and `foo` is added.* - - -`node . --foo baz` -``` -{ - "port": "3001", - "mode": "test", - "foo": "baz", - "_": [], - "configs": [ - "/Users/stephen/repos/conftest/.myapprc" - ], - "config": "/Users/stephen/repos/conftest/.myapprc" -} -``` -*Same result as above but `foo` is overridden because command-line arguments take precedence over `.myapprc` file.* - -`node . --foo barbar --config config.json` -``` -{ - "port": 9000, - "mode": "test", - "foo": "barbar", - "something": "else", - "_": [], - "config": "config.json", - "configs": [ - "/Users/stephen/repos/conftest/.myapprc", - "config.json" - ] -} -``` -*Now the `port` comes from the `config.json` file specified (overriding the value from `.myapprc`), and `foo` value is overriden by command-line despite also being specified in the `config.json` file.* - - - -## Advanced Usage - -#### Pass in your own `argv` - -You may pass in your own `argv` as the third argument to `rc`. This is in case you want to [use your own command-line opts parser](https://github.com/dominictarr/rc/pull/12). - -```javascript -require('rc')(appname, defaults, customArgvParser); -``` - -## Pass in your own parser - -If you have a special need to use a non-standard parser, -you can do so by passing in the parser as the 4th argument. -(leave the 3rd as null to get the default args parser) - -```javascript -require('rc')(appname, defaults, null, parser); -``` - -This may also be used to force a more strict format, -such as strict, valid JSON only. - -## Note on Performance - -`rc` is running `fs.statSync`-- so make sure you don't use it in a hot code path (e.g. a request handler) - - -## License - -Multi-licensed under the two-clause BSD License, MIT License, or Apache License, version 2.0 diff --git a/node_modules/rc/browser.js b/node_modules/rc/browser.js deleted file mode 100644 index 8c230c5cd..000000000 --- a/node_modules/rc/browser.js +++ /dev/null @@ -1,7 +0,0 @@ - -// when this is loaded into the browser, -// just use the defaults... - -module.exports = function (name, defaults) { - return defaults -} diff --git a/node_modules/rc/cli.js b/node_modules/rc/cli.js deleted file mode 100755 index ab05b6072..000000000 --- a/node_modules/rc/cli.js +++ /dev/null @@ -1,4 +0,0 @@ -#! /usr/bin/env node -var rc = require('./index') - -console.log(JSON.stringify(rc(process.argv[2]), false, 2)) diff --git a/node_modules/rc/index.js b/node_modules/rc/index.js deleted file mode 100755 index 65eb47afe..000000000 --- a/node_modules/rc/index.js +++ /dev/null @@ -1,53 +0,0 @@ -var cc = require('./lib/utils') -var join = require('path').join -var deepExtend = require('deep-extend') -var etc = '/etc' -var win = process.platform === "win32" -var home = win - ? process.env.USERPROFILE - : process.env.HOME - -module.exports = function (name, defaults, argv, parse) { - if('string' !== typeof name) - throw new Error('rc(name): name *must* be string') - if(!argv) - argv = require('minimist')(process.argv.slice(2)) - defaults = ( - 'string' === typeof defaults - ? cc.json(defaults) : defaults - ) || {} - - parse = parse || cc.parse - - var env = cc.env(name + '_') - - var configs = [defaults] - var configFiles = [] - function addConfigFile (file) { - if (configFiles.indexOf(file) >= 0) return - var fileConfig = cc.file(file) - if (fileConfig) { - configs.push(parse(fileConfig)) - configFiles.push(file) - } - } - - // which files do we look at? - if (!win) - [join(etc, name, 'config'), - join(etc, name + 'rc')].forEach(addConfigFile) - if (home) - [join(home, '.config', name, 'config'), - join(home, '.config', name), - join(home, '.' + name, 'config'), - join(home, '.' + name + 'rc')].forEach(addConfigFile) - addConfigFile(cc.find('.'+name+'rc')) - if (env.config) addConfigFile(env.config) - if (argv.config) addConfigFile(argv.config) - - return deepExtend.apply(null, configs.concat([ - env, - argv, - configFiles.length ? {configs: configFiles, config: configFiles[configFiles.length - 1]} : undefined, - ])) -} diff --git a/node_modules/rc/lib/utils.js b/node_modules/rc/lib/utils.js deleted file mode 100644 index 8b3beffa3..000000000 --- a/node_modules/rc/lib/utils.js +++ /dev/null @@ -1,104 +0,0 @@ -'use strict'; -var fs = require('fs') -var ini = require('ini') -var path = require('path') -var stripJsonComments = require('strip-json-comments') - -var parse = exports.parse = function (content) { - - //if it ends in .json or starts with { then it must be json. - //must be done this way, because ini accepts everything. - //can't just try and parse it and let it throw if it's not ini. - //everything is ini. even json with a syntax error. - - if(/^\s*{/.test(content)) - return JSON.parse(stripJsonComments(content)) - return ini.parse(content) - -} - -var file = exports.file = function () { - var args = [].slice.call(arguments).filter(function (arg) { return arg != null }) - - //path.join breaks if it's a not a string, so just skip this. - for(var i in args) - if('string' !== typeof args[i]) - return - - var file = path.join.apply(null, args) - var content - try { - return fs.readFileSync(file,'utf-8') - } catch (err) { - return - } -} - -var json = exports.json = function () { - var content = file.apply(null, arguments) - return content ? parse(content) : null -} - -var env = exports.env = function (prefix, env) { - env = env || process.env - var obj = {} - var l = prefix.length - for(var k in env) { - if(k.toLowerCase().indexOf(prefix.toLowerCase()) === 0) { - - var keypath = k.substring(l).split('__') - - // Trim empty strings from keypath array - var _emptyStringIndex - while ((_emptyStringIndex=keypath.indexOf('')) > -1) { - keypath.splice(_emptyStringIndex, 1) - } - - var cursor = obj - keypath.forEach(function _buildSubObj(_subkey,i){ - - // (check for _subkey first so we ignore empty strings) - // (check for cursor to avoid assignment to primitive objects) - if (!_subkey || typeof cursor !== 'object') - return - - // If this is the last key, just stuff the value in there - // Assigns actual value from env variable to final key - // (unless it's just an empty string- in that case use the last valid key) - if (i === keypath.length-1) - cursor[_subkey] = env[k] - - - // Build sub-object if nothing already exists at the keypath - if (cursor[_subkey] === undefined) - cursor[_subkey] = {} - - // Increment cursor used to track the object at the current depth - cursor = cursor[_subkey] - - }) - - } - - } - - return obj -} - -var find = exports.find = function () { - var rel = path.join.apply(null, [].slice.call(arguments)) - - function find(start, rel) { - var file = path.join(start, rel) - try { - fs.statSync(file) - return file - } catch (err) { - if(path.dirname(start) !== start) // root - return find(path.dirname(start), rel) - } - } - return find(process.cwd(), rel) -} - - diff --git a/node_modules/rc/node_modules/strip-json-comments/index.js b/node_modules/rc/node_modules/strip-json-comments/index.js deleted file mode 100644 index 4e6576e6d..000000000 --- a/node_modules/rc/node_modules/strip-json-comments/index.js +++ /dev/null @@ -1,70 +0,0 @@ -'use strict'; -var singleComment = 1; -var multiComment = 2; - -function stripWithoutWhitespace() { - return ''; -} - -function stripWithWhitespace(str, start, end) { - return str.slice(start, end).replace(/\S/g, ' '); -} - -module.exports = function (str, opts) { - opts = opts || {}; - - var currentChar; - var nextChar; - var insideString = false; - var insideComment = false; - var offset = 0; - var ret = ''; - var strip = opts.whitespace === false ? stripWithoutWhitespace : stripWithWhitespace; - - for (var i = 0; i < str.length; i++) { - currentChar = str[i]; - nextChar = str[i + 1]; - - if (!insideComment && currentChar === '"') { - var escaped = str[i - 1] === '\\' && str[i - 2] !== '\\'; - if (!escaped) { - insideString = !insideString; - } - } - - if (insideString) { - continue; - } - - if (!insideComment && currentChar + nextChar === '//') { - ret += str.slice(offset, i); - offset = i; - insideComment = singleComment; - i++; - } else if (insideComment === singleComment && currentChar + nextChar === '\r\n') { - i++; - insideComment = false; - ret += strip(str, offset, i); - offset = i; - continue; - } else if (insideComment === singleComment && currentChar === '\n') { - insideComment = false; - ret += strip(str, offset, i); - offset = i; - } else if (!insideComment && currentChar + nextChar === '/*') { - ret += str.slice(offset, i); - offset = i; - insideComment = multiComment; - i++; - continue; - } else if (insideComment === multiComment && currentChar + nextChar === '*/') { - i++; - insideComment = false; - ret += strip(str, offset, i + 1); - offset = i + 1; - continue; - } - } - - return ret + (insideComment ? strip(str.substr(offset)) : str.substr(offset)); -}; diff --git a/node_modules/rc/node_modules/strip-json-comments/license b/node_modules/rc/node_modules/strip-json-comments/license deleted file mode 100644 index 654d0bfe9..000000000 --- a/node_modules/rc/node_modules/strip-json-comments/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/rc/node_modules/strip-json-comments/package.json b/node_modules/rc/node_modules/strip-json-comments/package.json deleted file mode 100644 index 288ecc774..000000000 --- a/node_modules/rc/node_modules/strip-json-comments/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "strip-json-comments", - "version": "2.0.1", - "description": "Strip comments from JSON. Lets you use comments in your JSON files!", - "license": "MIT", - "repository": "sindresorhus/strip-json-comments", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "json", - "strip", - "remove", - "delete", - "trim", - "comments", - "multiline", - "parse", - "config", - "configuration", - "conf", - "settings", - "util", - "env", - "environment" - ], - "devDependencies": { - "ava": "*", - "xo": "*" - } -} diff --git a/node_modules/rc/node_modules/strip-json-comments/readme.md b/node_modules/rc/node_modules/strip-json-comments/readme.md deleted file mode 100644 index 0ee58dfe3..000000000 --- a/node_modules/rc/node_modules/strip-json-comments/readme.md +++ /dev/null @@ -1,64 +0,0 @@ -# strip-json-comments [![Build Status](https://travis-ci.org/sindresorhus/strip-json-comments.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-json-comments) - -> Strip comments from JSON. Lets you use comments in your JSON files! - -This is now possible: - -```js -{ - // rainbows - "unicorn": /* ❤ */ "cake" -} -``` - -It will replace single-line comments `//` and multi-line comments `/**/` with whitespace. This allows JSON error positions to remain as close as possible to the original source. - -Also available as a [gulp](https://github.com/sindresorhus/gulp-strip-json-comments)/[grunt](https://github.com/sindresorhus/grunt-strip-json-comments)/[broccoli](https://github.com/sindresorhus/broccoli-strip-json-comments) plugin. - - -## Install - -``` -$ npm install --save strip-json-comments -``` - - -## Usage - -```js -const json = '{/*rainbows*/"unicorn":"cake"}'; - -JSON.parse(stripJsonComments(json)); -//=> {unicorn: 'cake'} -``` - - -## API - -### stripJsonComments(input, [options]) - -#### input - -Type: `string` - -Accepts a string with JSON and returns a string without comments. - -#### options - -##### whitespace - -Type: `boolean` -Default: `true` - -Replace comments with whitespace instead of stripping them entirely. - - -## Related - -- [strip-json-comments-cli](https://github.com/sindresorhus/strip-json-comments-cli) - CLI for this module -- [strip-css-comments](https://github.com/sindresorhus/strip-css-comments) - Strip comments from CSS - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) diff --git a/node_modules/rc/package.json b/node_modules/rc/package.json deleted file mode 100644 index 887238fa4..000000000 --- a/node_modules/rc/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "rc", - "version": "1.2.8", - "description": "hardwired configuration loader", - "main": "index.js", - "browser": "browser.js", - "scripts": { - "test": "set -e; node test/test.js; node test/ini.js; node test/nested-env-vars.js" - }, - "repository": { - "type": "git", - "url": "https://github.com/dominictarr/rc.git" - }, - "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "keywords": [ - "config", - "rc", - "unix", - "defaults" - ], - "bin": "./cli.js", - "author": "Dominic Tarr (dominictarr.com)", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - } -} diff --git a/node_modules/rc/test/ini.js b/node_modules/rc/test/ini.js deleted file mode 100644 index e6857f8b3..000000000 --- a/node_modules/rc/test/ini.js +++ /dev/null @@ -1,16 +0,0 @@ -var cc =require('../lib/utils') -var INI = require('ini') -var assert = require('assert') - -function test(obj) { - - var _json, _ini - var json = cc.parse (_json = JSON.stringify(obj)) - var ini = cc.parse (_ini = INI.stringify(obj)) - console.log(_ini, _json) - assert.deepEqual(json, ini) -} - - -test({hello: true}) - diff --git a/node_modules/rc/test/nested-env-vars.js b/node_modules/rc/test/nested-env-vars.js deleted file mode 100644 index 0ecd17634..000000000 --- a/node_modules/rc/test/nested-env-vars.js +++ /dev/null @@ -1,50 +0,0 @@ - -var seed = Math.random(); -var n = 'rc'+ seed; -var N = 'RC'+ seed; -var assert = require('assert') - - -// Basic usage -process.env[n+'_someOpt__a'] = 42 -process.env[n+'_someOpt__x__'] = 99 -process.env[n+'_someOpt__a__b'] = 186 -process.env[n+'_someOpt__a__b__c'] = 243 -process.env[n+'_someOpt__x__y'] = 1862 -process.env[n+'_someOpt__z'] = 186577 - -// Should ignore empty strings from orphaned '__' -process.env[n+'_someOpt__z__x__'] = 18629 -process.env[n+'_someOpt__w__w__'] = 18629 - -// Leading '__' should ignore everything up to 'z' -process.env[n+'___z__i__'] = 9999 - -// should ignore case for config name section. -process.env[N+'_test_upperCase'] = 187 - -function testPrefix(prefix) { - var config = require('../')(prefix, { - option: true - }) - - console.log('\n\n------ nested-env-vars ------\n',{prefix: prefix}, '\n', config); - - assert.equal(config.option, true) - assert.equal(config.someOpt.a, 42) - assert.equal(config.someOpt.x, 99) - // Should not override `a` once it's been set - assert.equal(config.someOpt.a/*.b*/, 42) - // Should not override `x` once it's been set - assert.equal(config.someOpt.x/*.y*/, 99) - assert.equal(config.someOpt.z, 186577) - // Should not override `z` once it's been set - assert.equal(config.someOpt.z/*.x*/, 186577) - assert.equal(config.someOpt.w.w, 18629) - assert.equal(config.z.i, 9999) - - assert.equal(config.test_upperCase, 187) -} - -testPrefix(n); -testPrefix(N); diff --git a/node_modules/rc/test/test.js b/node_modules/rc/test/test.js deleted file mode 100644 index 4f6335189..000000000 --- a/node_modules/rc/test/test.js +++ /dev/null @@ -1,59 +0,0 @@ - -var n = 'rc'+Math.random() -var assert = require('assert') - -process.env[n+'_envOption'] = 42 - -var config = require('../')(n, { - option: true -}) - -console.log(config) - -assert.equal(config.option, true) -assert.equal(config.envOption, 42) - -var customArgv = require('../')(n, { - option: true -}, { // nopt-like argv - option: false, - envOption: 24, - argv: { - remain: [], - cooked: ['--no-option', '--envOption', '24'], - original: ['--no-option', '--envOption=24'] - } -}) - -console.log(customArgv) - -assert.equal(customArgv.option, false) -assert.equal(customArgv.envOption, 24) - -var fs = require('fs') -var path = require('path') -var jsonrc = path.resolve('.' + n + 'rc'); - -fs.writeFileSync(jsonrc, [ - '{', - '// json overrides default', - '"option": false,', - '/* env overrides json */', - '"envOption": 24', - '}' -].join('\n')); - -var commentedJSON = require('../')(n, { - option: true -}) - -fs.unlinkSync(jsonrc); - -console.log(commentedJSON) - -assert.equal(commentedJSON.option, false) -assert.equal(commentedJSON.envOption, 42) - -assert.equal(commentedJSON.config, jsonrc) -assert.equal(commentedJSON.configs.length, 1) -assert.equal(commentedJSON.configs[0], jsonrc) diff --git a/node_modules/react-is/package.json b/node_modules/react-is/package.json index 1a6567dcf..8d61febce 100644 --- a/node_modules/react-is/package.json +++ b/node_modules/react-is/package.json @@ -1,21 +1,37 @@ { - "name": "react-is", - "version": "17.0.2", - "description": "Brand checking of React Elements.", - "main": "index.js", - "repository": { - "type": "git", - "url": "https://github.com/facebook/react.git", - "directory": "packages/react-is" + "_args": [ + [ + "react-is@17.0.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "react-is@17.0.2", + "_id": "react-is@17.0.2", + "_inBundle": false, + "_integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "_location": "/react-is", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "react-is@17.0.2", + "name": "react-is", + "escapedName": "react-is", + "rawSpec": "17.0.2", + "saveSpec": null, + "fetchSpec": "17.0.2" }, - "keywords": [ - "react" + "_requiredBy": [ + "/pretty-format" ], - "license": "MIT", + "_resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "_spec": "17.0.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", "bugs": { "url": "https://github.com/facebook/react/issues" }, - "homepage": "https://reactjs.org/", + "description": "Brand checking of React Elements.", "files": [ "LICENSE", "README.md", @@ -23,5 +39,18 @@ "index.js", "cjs/", "umd/" - ] + ], + "homepage": "https://reactjs.org/", + "keywords": [ + "react" + ], + "license": "MIT", + "main": "index.js", + "name": "react-is", + "repository": { + "type": "git", + "url": "git+https://github.com/facebook/react.git", + "directory": "packages/react-is" + }, + "version": "17.0.2" } diff --git a/node_modules/read-pkg-up/node_modules/type-fest/package.json b/node_modules/read-pkg-up/node_modules/type-fest/package.json index ea6621129..6dfe0158c 100644 --- a/node_modules/read-pkg-up/node_modules/type-fest/package.json +++ b/node_modules/read-pkg-up/node_modules/type-fest/package.json @@ -1,51 +1,83 @@ { - "name": "type-fest", - "version": "0.8.1", - "description": "A collection of essential TypeScript types", - "license": "(MIT OR CC0-1.0)", - "repository": "sindresorhus/type-fest", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && tsd" - }, - "files": [ - "index.d.ts", - "source" - ], - "keywords": [ - "typescript", - "ts", - "types", - "utility", - "util", - "utilities", - "omit", - "merge", - "json" - ], - "devDependencies": { - "@sindresorhus/tsconfig": "^0.4.0", - "@typescript-eslint/eslint-plugin": "^2.2.0", - "@typescript-eslint/parser": "^2.2.0", - "eslint-config-xo-typescript": "^0.18.0", - "tsd": "^0.7.3", - "xo": "^0.24.0" - }, - "xo": { - "extends": "xo-typescript", - "extensions": [ - "ts" - ], - "rules": { - "import/no-unresolved": "off", - "@typescript-eslint/indent": "off" - } - } + "_from": "type-fest@^0.8.1", + "_id": "type-fest@0.8.1", + "_inBundle": false, + "_integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "_location": "/read-pkg-up/type-fest", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "type-fest@^0.8.1", + "name": "type-fest", + "escapedName": "type-fest", + "rawSpec": "^0.8.1", + "saveSpec": null, + "fetchSpec": "^0.8.1" + }, + "_requiredBy": [ + "/read-pkg-up" + ], + "_resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "_shasum": "09e249ebde851d3b1e48d27c105444667f17b83d", + "_spec": "type-fest@^0.8.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/read-pkg-up", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/type-fest/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "A collection of essential TypeScript types", + "devDependencies": { + "@sindresorhus/tsconfig": "^0.4.0", + "@typescript-eslint/eslint-plugin": "^2.2.0", + "@typescript-eslint/parser": "^2.2.0", + "eslint-config-xo-typescript": "^0.18.0", + "tsd": "^0.7.3", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.d.ts", + "source" + ], + "homepage": "https://github.com/sindresorhus/type-fest#readme", + "keywords": [ + "typescript", + "ts", + "types", + "utility", + "util", + "utilities", + "omit", + "merge", + "json" + ], + "license": "(MIT OR CC0-1.0)", + "name": "type-fest", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/type-fest.git" + }, + "scripts": { + "test": "xo && tsd" + }, + "version": "0.8.1", + "xo": { + "extends": "xo-typescript", + "extensions": [ + "ts" + ], + "rules": { + "import/no-unresolved": "off", + "@typescript-eslint/indent": "off" + } + } } diff --git a/node_modules/read-pkg-up/package.json b/node_modules/read-pkg-up/package.json index 09a6d499d..b3eef8e03 100644 --- a/node_modules/read-pkg-up/package.json +++ b/node_modules/read-pkg-up/package.json @@ -1,59 +1,91 @@ { - "name": "read-pkg-up", - "version": "7.0.1", - "description": "Read the closest package.json file", - "license": "MIT", - "repository": "sindresorhus/read-pkg-up", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "json", - "read", - "parse", - "file", - "fs", - "graceful", - "load", - "package", - "find", - "up", - "find-up", - "findup", - "look-up", - "look", - "search", - "match", - "resolve", - "parent", - "parents", - "folder", - "directory", - "walk", - "walking", - "path" - ], - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "devDependencies": { - "ava": "^2.4.0", - "tsd": "^0.9.0", - "xo": "^0.25.3" - } + "_from": "read-pkg-up@^7.0.1", + "_id": "read-pkg-up@7.0.1", + "_inBundle": false, + "_integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "_location": "/read-pkg-up", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "read-pkg-up@^7.0.1", + "name": "read-pkg-up", + "escapedName": "read-pkg-up", + "rawSpec": "^7.0.1", + "saveSpec": null, + "fetchSpec": "^7.0.1" + }, + "_requiredBy": [ + "/meow" + ], + "_resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "_shasum": "f3a6135758459733ae2b95638056e1854e7ef507", + "_spec": "read-pkg-up@^7.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/meow", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/read-pkg-up/issues" + }, + "bundleDependencies": false, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "deprecated": false, + "description": "Read the closest package.json file", + "devDependencies": { + "ava": "^2.4.0", + "tsd": "^0.9.0", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/read-pkg-up#readme", + "keywords": [ + "json", + "read", + "parse", + "file", + "fs", + "graceful", + "load", + "package", + "find", + "up", + "find-up", + "findup", + "look-up", + "look", + "search", + "match", + "resolve", + "parent", + "parents", + "folder", + "directory", + "walk", + "walking", + "path" + ], + "license": "MIT", + "name": "read-pkg-up", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/read-pkg-up.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "7.0.1" } diff --git a/node_modules/read-pkg/node_modules/type-fest/package.json b/node_modules/read-pkg/node_modules/type-fest/package.json index 234580942..70beac261 100644 --- a/node_modules/read-pkg/node_modules/type-fest/package.json +++ b/node_modules/read-pkg/node_modules/type-fest/package.json @@ -1,51 +1,83 @@ { - "name": "type-fest", - "version": "0.6.0", - "description": "A collection of essential TypeScript types", - "license": "(MIT OR CC0-1.0)", - "repository": "sindresorhus/type-fest", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && tsd" - }, - "files": [ - "index.d.ts", - "source" - ], - "keywords": [ - "typescript", - "ts", - "types", - "utility", - "util", - "utilities", - "omit", - "merge", - "json" - ], - "devDependencies": { - "@sindresorhus/tsconfig": "^0.4.0", - "@typescript-eslint/eslint-plugin": "^1.9.0", - "@typescript-eslint/parser": "^1.10.2", - "eslint-config-xo-typescript": "^0.14.0", - "tsd": "^0.7.3", - "xo": "^0.24.0" - }, - "xo": { - "extends": "xo-typescript", - "extensions": [ - "ts" - ], - "rules": { - "import/no-unresolved": "off", - "@typescript-eslint/indent": "off" - } - } + "_from": "type-fest@^0.6.0", + "_id": "type-fest@0.6.0", + "_inBundle": false, + "_integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "_location": "/read-pkg/type-fest", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "type-fest@^0.6.0", + "name": "type-fest", + "escapedName": "type-fest", + "rawSpec": "^0.6.0", + "saveSpec": null, + "fetchSpec": "^0.6.0" + }, + "_requiredBy": [ + "/read-pkg" + ], + "_resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "_shasum": "8d2a2370d3df886eb5c90ada1c5bf6188acf838b", + "_spec": "type-fest@^0.6.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/read-pkg", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/type-fest/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "A collection of essential TypeScript types", + "devDependencies": { + "@sindresorhus/tsconfig": "^0.4.0", + "@typescript-eslint/eslint-plugin": "^1.9.0", + "@typescript-eslint/parser": "^1.10.2", + "eslint-config-xo-typescript": "^0.14.0", + "tsd": "^0.7.3", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.d.ts", + "source" + ], + "homepage": "https://github.com/sindresorhus/type-fest#readme", + "keywords": [ + "typescript", + "ts", + "types", + "utility", + "util", + "utilities", + "omit", + "merge", + "json" + ], + "license": "(MIT OR CC0-1.0)", + "name": "type-fest", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/type-fest.git" + }, + "scripts": { + "test": "xo && tsd" + }, + "version": "0.6.0", + "xo": { + "extends": "xo-typescript", + "extensions": [ + "ts" + ], + "rules": { + "import/no-unresolved": "off", + "@typescript-eslint/indent": "off" + } + } } diff --git a/node_modules/read-pkg/package.json b/node_modules/read-pkg/package.json index 05dc5320a..46cf07d7a 100644 --- a/node_modules/read-pkg/package.json +++ b/node_modules/read-pkg/package.json @@ -1,49 +1,81 @@ { - "name": "read-pkg", - "version": "5.2.0", - "description": "Read a package.json file", - "license": "MIT", - "repository": "sindresorhus/read-pkg", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "json", - "read", - "parse", - "file", - "fs", - "graceful", - "load", - "package", - "normalize" - ], - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "devDependencies": { - "ava": "^2.2.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - }, - "xo": { - "ignores": [ - "test/test.js" - ] - } + "_from": "read-pkg@^5.2.0", + "_id": "read-pkg@5.2.0", + "_inBundle": false, + "_integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "_location": "/read-pkg", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "read-pkg@^5.2.0", + "name": "read-pkg", + "escapedName": "read-pkg", + "rawSpec": "^5.2.0", + "saveSpec": null, + "fetchSpec": "^5.2.0" + }, + "_requiredBy": [ + "/read-pkg-up" + ], + "_resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "_shasum": "7bf295438ca5a33e56cd30e053b34ee7250c93cc", + "_spec": "read-pkg@^5.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/read-pkg-up", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/read-pkg/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "deprecated": false, + "description": "Read a package.json file", + "devDependencies": { + "ava": "^2.2.0", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/read-pkg#readme", + "keywords": [ + "json", + "read", + "parse", + "file", + "fs", + "graceful", + "load", + "package", + "normalize" + ], + "license": "MIT", + "name": "read-pkg", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/read-pkg.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "5.2.0", + "xo": { + "ignores": [ + "test/test.js" + ] + } } diff --git a/node_modules/redent/package.json b/node_modules/redent/package.json index 89b5021ca..133b987f9 100644 --- a/node_modules/redent/package.json +++ b/node_modules/redent/package.json @@ -1,44 +1,76 @@ { - "name": "redent", - "version": "3.0.0", - "description": "Strip redundant indentation and indent the string", - "license": "MIT", - "repository": "sindresorhus/redent", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "string", - "strip", - "trim", - "indent", - "indentation", - "add", - "reindent", - "normalize", - "remove", - "whitespace", - "space" - ], - "dependencies": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_from": "redent@^3.0.0", + "_id": "redent@3.0.0", + "_inBundle": false, + "_integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "_location": "/redent", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "redent@^3.0.0", + "name": "redent", + "escapedName": "redent", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/meow" + ], + "_resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "_shasum": "e557b7998316bb53c9f1f56fa626352c6963059f", + "_spec": "redent@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/meow", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/redent/issues" + }, + "bundleDependencies": false, + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "deprecated": false, + "description": "Strip redundant indentation and indent the string", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/redent#readme", + "keywords": [ + "string", + "strip", + "trim", + "indent", + "indentation", + "add", + "reindent", + "normalize", + "remove", + "whitespace", + "space" + ], + "license": "MIT", + "name": "redent", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/redent.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.0.0" } diff --git a/node_modules/regexpp/package.json b/node_modules/regexpp/package.json index 92dadd893..4a14c6b2d 100644 --- a/node_modules/regexpp/package.json +++ b/node_modules/regexpp/package.json @@ -1,22 +1,43 @@ { - "name": "regexpp", - "version": "3.2.0", - "description": "Regular expression parser for ECMAScript.", - "engines": { - "node": ">=8" + "_args": [ + [ + "regexpp@3.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "regexpp@3.2.0", + "_id": "regexpp@3.2.0", + "_inBundle": false, + "_integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "_location": "/regexpp", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "regexpp@3.2.0", + "name": "regexpp", + "escapedName": "regexpp", + "rawSpec": "3.2.0", + "saveSpec": null, + "fetchSpec": "3.2.0" }, - "main": "index", - "files": [ - "index.*" + "_requiredBy": [ + "/@typescript-eslint/eslint-plugin", + "/eslint" ], - "exports": { - ".": { - "import": "./index.mjs", - "default": "./index.js" - }, - "./package.json": "./package.json" + "_resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "_spec": "3.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Toru Nagashima", + "url": "https://github.com/mysticatea" + }, + "bugs": { + "url": "https://github.com/mysticatea/regexpp/issues" }, "dependencies": {}, + "description": "Regular expression parser for ECMAScript.", "devDependencies": { "@mysticatea/eslint-plugin": "^11.0.0", "@types/eslint": "^4.16.2", @@ -37,31 +58,21 @@ "ts-node": "^8.3.0", "typescript": "^3.5.3" }, - "scripts": { - "prebuild": "npm run -s clean", - "build": "run-s build:*", - "build:tsc": "tsc --module es2015", - "build:rollup": "rollup -c", - "build:dts": "dts-bundle --name regexpp --main .temp/index.d.ts --out ../index.d.ts", - "clean": "rimraf .temp index.*", - "codecov": "nyc report -r lcovonly && codecov -t ${CODECOV_TOKEN} --disable=gcov", - "lint": "eslint scripts src test --ext .ts", - "pretest": "run-s build lint", - "test": "nyc _mocha \"test/*.ts\" --reporter dot --timeout 10000", - "update:test": "ts-node scripts/update-fixtures.ts", - "update:unicode": "run-s update:unicode:*", - "update:unicode:ids": "ts-node scripts/update-unicode-ids.ts", - "update:unicode:props": "ts-node scripts/update-unicode-properties.ts", - "preversion": "npm test", - "version": "npm run -s build", - "postversion": "git push && git push --tags", - "prewatch": "npm run -s clean", - "watch": "_mocha \"test/*.ts\" --require ts-node/register --reporter dot --timeout 10000 --watch-extensions ts --watch --growl" + "engines": { + "node": ">=8" }, - "repository": { - "type": "git", - "url": "git+https://github.com/mysticatea/regexpp.git" + "exports": { + ".": { + "import": "./index.mjs", + "default": "./index.js" + }, + "./package.json": "./package.json" }, + "files": [ + "index.*" + ], + "funding": "https://github.com/sponsors/mysticatea", + "homepage": "https://github.com/mysticatea/regexpp#readme", "keywords": [ "regexp", "regular", @@ -81,11 +92,33 @@ "es2020", "annexB" ], - "author": "Toru Nagashima (https://github.com/mysticatea)", "license": "MIT", - "bugs": { - "url": "https://github.com/mysticatea/regexpp/issues" + "main": "index", + "name": "regexpp", + "repository": { + "type": "git", + "url": "git+https://github.com/mysticatea/regexpp.git" }, - "homepage": "https://github.com/mysticatea/regexpp#readme", - "funding": "https://github.com/sponsors/mysticatea" + "scripts": { + "build": "run-s build:*", + "build:dts": "dts-bundle --name regexpp --main .temp/index.d.ts --out ../index.d.ts", + "build:rollup": "rollup -c", + "build:tsc": "tsc --module es2015", + "clean": "rimraf .temp index.*", + "codecov": "nyc report -r lcovonly && codecov -t ${CODECOV_TOKEN} --disable=gcov", + "lint": "eslint scripts src test --ext .ts", + "postversion": "git push && git push --tags", + "prebuild": "npm run -s clean", + "pretest": "run-s build lint", + "preversion": "npm test", + "prewatch": "npm run -s clean", + "test": "nyc _mocha \"test/*.ts\" --reporter dot --timeout 10000", + "update:test": "ts-node scripts/update-fixtures.ts", + "update:unicode": "run-s update:unicode:*", + "update:unicode:ids": "ts-node scripts/update-unicode-ids.ts", + "update:unicode:props": "ts-node scripts/update-unicode-properties.ts", + "version": "npm run -s build", + "watch": "_mocha \"test/*.ts\" --require ts-node/register --reporter dot --timeout 10000 --watch-extensions ts --watch --growl" + }, + "version": "3.2.0" } diff --git a/node_modules/registry-auth-token/CHANGELOG.md b/node_modules/registry-auth-token/CHANGELOG.md deleted file mode 100644 index e96f146e3..000000000 --- a/node_modules/registry-auth-token/CHANGELOG.md +++ /dev/null @@ -1,134 +0,0 @@ -# Change Log - -All notable changes will be documented in this file. - -## [4.2.0] - 2020-07-13 - -### Changes - -- Add support for `NPM_CONFIG_USERCONFIG` environment variable (Ben Sorohan) - -## [4.1.0] - 2020-01-17 - -### Changes - -- Add support for legacy auth token on the registry url (Gustav Blomér) - -## [4.0.0] - 2019-06-17 - -### BREAKING - -- Minimum node.js version requirement is now v6 - -### Changes - -- Upgraded dependencies (Espen Hovlandsdal) - -## [3.4.0] - 2019-03-20 - -### Changes - -- Enabled legacy auth token to be read from environment variable (Martin Flodin) - -## [3.3.2] - 2018-01-26 - -### Changes - -- Support password with ENV variable tokens (Nowell Strite) - -## [3.3.1] - 2017-05-02 - -### Fixes - -- Auth legacy token is basic auth (Hutson Betts) - -## [3.3.0] - 2017-04-24 - -### Changes - -- Support legacy auth token config key (Zoltan Kochan) -- Use safe-buffer module for backwards-compatible base64 encoding/decoding (Espen Hovlandsdal) -- Change to standard.js coding style (Espen Hovlandsdal) - -## [3.2.0] - 2017-04-20 - -### Changes - -- Allow passing parsed npmrc from outside (Zoltan Kochan) - -## [3.1.2] - 2017-04-07 - -### Changes - -- Avoid infinite loop on invalid URL (Zoltan Kochan) - -## [3.1.1] - 2017-04-06 - -### Changes - -- Nerf-dart URLs even if recursive is set to false (Espen Hovlandsdal) - -## [3.1.0] - 2016-10-19 - -### Changes - -- Return the password and username for Basic authorization (Zoltan Kochan) - -## [3.0.1] - 2016-08-07 - -### Changes - -- Fix recursion bug (Lukas Eipert) -- Implement alternative base64 encoding/decoding implementation for Node 6 (Lukas Eipert) - -## [3.0.0] - 2016-08-04 - -### Added - -- Support for Basic Authentication (username/password) (Lukas Eipert) - -### Changes - -- The result format of the output changed from a simple string to an object which contains the token type - -```js - // before: returns 'tokenString' - // after: returns {token: 'tokenString', type: 'Bearer'} - getAuthToken() -``` - -## [2.1.1] - 2016-07-10 - -### Changes - -- Fix infinite loop when recursively resolving registry URLs on Windows (Espen Hovlandsdal) - -## [2.1.0] - 2016-07-07 - -### Added - -- Add feature to find configured registry URL for a scope (Espen Hovlandsdal) - -## [2.0.0] - 2016-06-17 - -### Changes - -- Fix tokens defined by reference to environment variables (Dan MacTough) - -## [1.1.1] - 2016-04-26 - -### Changes - -- Fix for registries with port number in URL (Ryan Day) - -[1.1.1]: https://github.com/rexxars/registry-auth-token/compare/a5b4fe2f5ff982110eb8a813ba1b3b3c5d851af1...v1.1.1 -[2.0.0]: https://github.com/rexxars/registry-auth-token/compare/v1.1.1...v2.0.0 -[2.1.0]: https://github.com/rexxars/registry-auth-token/compare/v2.0.0...v2.1.0 -[2.1.1]: https://github.com/rexxars/registry-auth-token/compare/v2.1.0...v2.1.1 -[3.0.0]: https://github.com/rexxars/registry-auth-token/compare/v2.1.1...v3.0.0 -[3.0.1]: https://github.com/rexxars/registry-auth-token/compare/v3.0.0...v3.0.1 -[3.1.0]: https://github.com/rexxars/registry-auth-token/compare/v3.0.1...v3.1.0 -[3.1.1]: https://github.com/rexxars/registry-auth-token/compare/v3.1.0...v3.1.1 -[3.1.2]: https://github.com/rexxars/registry-auth-token/compare/v3.1.1...v3.1.2 -[3.2.0]: https://github.com/rexxars/registry-auth-token/compare/v3.1.2...v3.2.0 -[3.3.0]: https://github.com/rexxars/registry-auth-token/compare/v3.2.0...v3.3.0 diff --git a/node_modules/registry-auth-token/LICENSE b/node_modules/registry-auth-token/LICENSE deleted file mode 100644 index 0de12e338..000000000 --- a/node_modules/registry-auth-token/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Espen Hovlandsdal - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/registry-auth-token/README.md b/node_modules/registry-auth-token/README.md deleted file mode 100644 index 084dc0aff..000000000 --- a/node_modules/registry-auth-token/README.md +++ /dev/null @@ -1,65 +0,0 @@ -# registry-auth-token - -[![npm version](http://img.shields.io/npm/v/registry-auth-token.svg?style=flat-square)](http://browsenpm.org/package/registry-auth-token)[![Build Status](http://img.shields.io/travis/rexxars/registry-auth-token/main.svg?style=flat-square)](https://travis-ci.org/rexxars/registry-auth-token) - -Get the auth token set for an npm registry from `.npmrc`. Also allows fetching the configured registry URL for a given npm scope. - -## Installing - -``` -npm install --save registry-auth-token -``` - -## Usage - -Returns an object containing `token` and `type`, or `undefined` if no token can be found. `type` can be either `Bearer` or `Basic`. - -```js -var getAuthToken = require('registry-auth-token') -var getRegistryUrl = require('registry-auth-token/registry-url') - -// Get auth token and type for default `registry` set in `.npmrc` -console.log(getAuthToken()) // {token: 'someToken', type: 'Bearer'} - -// Get auth token for a specific registry URL -console.log(getAuthToken('//registry.foo.bar')) - -// Find the registry auth token for a given URL (with deep path): -// If registry is at `//some.host/registry` -// URL passed is `//some.host/registry/deep/path` -// Will find token the closest matching path; `//some.host/registry` -console.log(getAuthToken('//some.host/registry/deep/path', {recursive: true})) - -// Find the configured registry url for scope `@foobar`. -// Falls back to the global registry if not defined. -console.log(getRegistryUrl('@foobar')) - -// Use the npm config that is passed in -console.log(getRegistryUrl('http://registry.foobar.eu/', { - npmrc: { - 'registry': 'http://registry.foobar.eu/', - '//registry.foobar.eu/:_authToken': 'qar' - } -})) -``` - -## Return value - -```js -// If auth info can be found: -{token: 'someToken', type: 'Bearer'} - -// Or: -{token: 'someOtherToken', type: 'Basic'} - -// Or, if nothing is found: -undefined -``` - -## Security - -Please be careful when using this. Leaking your auth token is dangerous. - -## License - -MIT-licensed. See LICENSE. diff --git a/node_modules/registry-auth-token/base64.js b/node_modules/registry-auth-token/base64.js deleted file mode 100644 index ff0f6cb99..000000000 --- a/node_modules/registry-auth-token/base64.js +++ /dev/null @@ -1,12 +0,0 @@ -function decodeBase64 (base64) { - return Buffer.from(base64, 'base64').toString('utf8') -} - -function encodeBase64 (string) { - return Buffer.from(string, 'utf8').toString('base64') -} - -module.exports = { - decodeBase64: decodeBase64, - encodeBase64: encodeBase64 -} diff --git a/node_modules/registry-auth-token/index.js b/node_modules/registry-auth-token/index.js deleted file mode 100644 index 28eedfd73..000000000 --- a/node_modules/registry-auth-token/index.js +++ /dev/null @@ -1,142 +0,0 @@ -var url = require('url') -var base64 = require('./base64') - -var decodeBase64 = base64.decodeBase64 -var encodeBase64 = base64.encodeBase64 - -var tokenKey = ':_authToken' -var legacyTokenKey = ':_auth' -var userKey = ':username' -var passwordKey = ':_password' - -module.exports = function () { - var checkUrl - var options - if (arguments.length >= 2) { - checkUrl = arguments[0] - options = arguments[1] - } else if (typeof arguments[0] === 'string') { - checkUrl = arguments[0] - } else { - options = arguments[0] - } - options = options || {} - options.npmrc = options.npmrc || require('rc')('npm', { registry: 'https://registry.npmjs.org/' }, { - config: process.env.npm_config_userconfig || process.env.NPM_CONFIG_USERCONFIG - }) - checkUrl = checkUrl || options.npmrc.registry - return getRegistryAuthInfo(checkUrl, options) || getLegacyAuthInfo(options.npmrc) -} - -function getRegistryAuthInfo (checkUrl, options) { - var parsed = url.parse(checkUrl, false, true) - var pathname - - while (pathname !== '/' && parsed.pathname !== pathname) { - pathname = parsed.pathname || '/' - - var regUrl = '//' + parsed.host + pathname.replace(/\/$/, '') - var authInfo = getAuthInfoForUrl(regUrl, options.npmrc) - if (authInfo) { - return authInfo - } - - // break if not recursive - if (!options.recursive) { - return /\/$/.test(checkUrl) - ? undefined - : getRegistryAuthInfo(url.resolve(checkUrl, '.'), options) - } - - parsed.pathname = url.resolve(normalizePath(pathname), '..') || '/' - } - - return undefined -} - -function getLegacyAuthInfo (npmrc) { - if (!npmrc._auth) { - return undefined - } - - var token = replaceEnvironmentVariable(npmrc._auth) - - return { token: token, type: 'Basic' } -} - -function normalizePath (path) { - return path[path.length - 1] === '/' ? path : path + '/' -} - -function getAuthInfoForUrl (regUrl, npmrc) { - // try to get bearer token - var bearerAuth = getBearerToken(npmrc[regUrl + tokenKey] || npmrc[regUrl + '/' + tokenKey]) - if (bearerAuth) { - return bearerAuth - } - - // try to get basic token - var username = npmrc[regUrl + userKey] || npmrc[regUrl + '/' + userKey] - var password = npmrc[regUrl + passwordKey] || npmrc[regUrl + '/' + passwordKey] - var basicAuth = getTokenForUsernameAndPassword(username, password) - if (basicAuth) { - return basicAuth - } - - var basicAuthWithToken = getLegacyAuthToken(npmrc[regUrl + legacyTokenKey] || npmrc[regUrl + '/' + legacyTokenKey]) - if (basicAuthWithToken) { - return basicAuthWithToken - } - - return undefined -} - -function replaceEnvironmentVariable (token) { - return token.replace(/^\$\{?([^}]*)\}?$/, function (fullMatch, envVar) { - return process.env[envVar] - }) -} - -function getBearerToken (tok) { - if (!tok) { - return undefined - } - - // check if bearer token is set as environment variable - var token = replaceEnvironmentVariable(tok) - - return { token: token, type: 'Bearer' } -} - -function getTokenForUsernameAndPassword (username, password) { - if (!username || !password) { - return undefined - } - - // passwords are base64 encoded, so we need to decode it - // See https://github.com/npm/npm/blob/v3.10.6/lib/config/set-credentials-by-uri.js#L26 - var pass = decodeBase64(replaceEnvironmentVariable(password)) - - // a basic auth token is base64 encoded 'username:password' - // See https://github.com/npm/npm/blob/v3.10.6/lib/config/get-credentials-by-uri.js#L70 - var token = encodeBase64(username + ':' + pass) - - // we found a basicToken token so let's exit the loop - return { - token: token, - type: 'Basic', - password: pass, - username: username - } -} - -function getLegacyAuthToken (tok) { - if (!tok) { - return undefined - } - - // check if legacy auth token is set as environment variable - var token = replaceEnvironmentVariable(tok) - - return { token: token, type: 'Basic' } -} diff --git a/node_modules/registry-auth-token/package.json b/node_modules/registry-auth-token/package.json deleted file mode 100644 index 45f979ac0..000000000 --- a/node_modules/registry-auth-token/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "registry-auth-token", - "version": "4.2.1", - "description": "Get the auth token set for an npm registry (if any)", - "main": "index.js", - "scripts": { - "test": "mocha", - "posttest": "standard", - "coverage": "istanbul cover _mocha" - }, - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/rexxars/registry-auth-token.git" - }, - "engines": { - "node": ">=6.0.0" - }, - "keywords": [ - "npm", - "conf", - "config", - "npmconf", - "registry", - "auth", - "token", - "authtoken" - ], - "author": "Espen Hovlandsdal ", - "license": "MIT", - "bugs": { - "url": "https://github.com/rexxars/registry-auth-token/issues" - }, - "homepage": "https://github.com/rexxars/registry-auth-token#readme", - "dependencies": { - "rc": "^1.2.8" - }, - "devDependencies": { - "istanbul": "^0.4.2", - "mocha": "^6.1.4", - "require-uncached": "^1.0.2", - "standard": "^12.0.1" - }, - "standard": { - "ignore": [ - "coverage/**" - ] - } -} diff --git a/node_modules/registry-auth-token/registry-url.js b/node_modules/registry-auth-token/registry-url.js deleted file mode 100644 index b4532d634..000000000 --- a/node_modules/registry-auth-token/registry-url.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = function (scope, npmrc) { - var rc = npmrc || require('rc')('npm', { registry: 'https://registry.npmjs.org/' }) - var url = rc[scope + ':registry'] || rc.registry - return url.slice(-1) === '/' ? url : url + '/' -} diff --git a/node_modules/registry-url/index.d.ts b/node_modules/registry-url/index.d.ts deleted file mode 100644 index 5f2c58612..000000000 --- a/node_modules/registry-url/index.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare const registryUrl: { - /** - Get the set npm registry URL. - - @param scope - Retrieve the registry URL associated with an [npm scope](https://docs.npmjs.com/misc/scope). If the provided scope is not in the user's `.npmrc` file, then `registry-url` will check for the existence of `registry`, or if that's not set, fallback to the default npm registry. - - @example - ``` - import registryUrl = require('registry-url'); - - // # .npmrc - // registry = 'https://custom-registry.com/' - - console.log(registryUrl()); - //=> 'https://custom-registry.com/' - - - // # .npmrc - // @myco:registry = 'https://custom-registry.com/' - - console.log(registryUrl('@myco')); - //=> 'https://custom-registry.com/' - ``` - */ - (scope?: string): string; - - // TODO: Remove this for the next major release, refactor the whole definition to: - // declare function registryUrl(scope?: string): string; - // export = registryUrl; - default: typeof registryUrl; -}; - -export = registryUrl; diff --git a/node_modules/registry-url/index.js b/node_modules/registry-url/index.js deleted file mode 100644 index 23ea1f870..000000000 --- a/node_modules/registry-url/index.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; -const rc = require('rc'); - -const registryUrl = scope => { - const result = rc('npm', {registry: 'https://registry.npmjs.org/'}); - const url = result[`${scope}:registry`] || result.config_registry || result.registry; - return url.slice(-1) === '/' ? url : `${url}/`; -}; - -module.exports = registryUrl; -// TODO: Remove this for the next major release -module.exports.default = registryUrl; diff --git a/node_modules/registry-url/license b/node_modules/registry-url/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/registry-url/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/registry-url/package.json b/node_modules/registry-url/package.json deleted file mode 100644 index dbeb4cbcd..000000000 --- a/node_modules/registry-url/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "registry-url", - "version": "5.1.0", - "description": "Get the set npm registry URL", - "license": "MIT", - "repository": "sindresorhus/registry-url", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "npm", - "conf", - "config", - "npmconf", - "registry", - "url", - "uri", - "scope" - ], - "dependencies": { - "rc": "^1.2.8" - }, - "devDependencies": { - "ava": "^1.4.1", - "import-fresh": "^3.0.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - }, - "ava": { - "serial": true - } -} diff --git a/node_modules/registry-url/readme.md b/node_modules/registry-url/readme.md deleted file mode 100644 index dfcb99ae5..000000000 --- a/node_modules/registry-url/readme.md +++ /dev/null @@ -1,50 +0,0 @@ -# registry-url [![Build Status](https://travis-ci.org/sindresorhus/registry-url.svg?branch=master)](https://travis-ci.org/sindresorhus/registry-url) - -> Get the set npm registry URL - -It's usually `https://registry.npmjs.org/`, but it's [configurable](https://docs.npmjs.com/misc/registry). - -Use this if you do anything with the npm registry as users will expect it to use their configured registry. - - -## Install - -``` -$ npm install registry-url -``` - - -## Usage - -```ini -# .npmrc -registry = 'https://custom-registry.com/' -``` - -```js -const registryUrl = require('registry-url'); - -console.log(registryUrl()); -//=> 'https://custom-registry.com/' -``` - -It can also retrieve the registry URL associated with an [npm scope](https://docs.npmjs.com/misc/scope). - -```ini -# .npmrc -@myco:registry = 'https://custom-registry.com/' -``` - -```js -const registryUrl = require('registry-url'); - -console.log(registryUrl('@myco')); -//=> 'https://custom-registry.com/' -``` - -If the provided scope is not in the user's `.npmrc` file, then `registry-url` will check for the existence of `registry`, or if that's not set, fallback to the default npm registry. - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/require-directory/package.json b/node_modules/require-directory/package.json index 25ece4b31..826373cba 100644 --- a/node_modules/require-directory/package.json +++ b/node_modules/require-directory/package.json @@ -1,40 +1,73 @@ { - "author": "Troy Goode (http://github.com/troygoode/)", - "name": "require-directory", - "version": "2.1.1", - "description": "Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.", - "keywords": [ - "require", - "directory", - "library", - "recursive" + "_args": [ + [ + "require-directory@2.1.1", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "homepage": "https://github.com/troygoode/node-require-directory/", - "main": "index.js", - "repository": { - "type": "git", - "url": "git://github.com/troygoode/node-require-directory.git" + "_from": "require-directory@2.1.1", + "_id": "require-directory@2.1.1", + "_inBundle": false, + "_integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "_location": "/require-directory", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "require-directory@2.1.1", + "name": "require-directory", + "escapedName": "require-directory", + "rawSpec": "2.1.1", + "saveSpec": null, + "fetchSpec": "2.1.1" + }, + "_requiredBy": [ + "/lighthouse/yargs", + "/yargs" + ], + "_resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "_spec": "2.1.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Troy Goode", + "email": "troygoode@gmail.com", + "url": "http://github.com/troygoode/" + }, + "bugs": { + "url": "http://github.com/troygoode/node-require-directory/issues/" }, "contributors": [ { "name": "Troy Goode", "email": "troygoode@gmail.com", - "web": "http://github.com/troygoode/" + "url": "http://github.com/troygoode/" } ], - "license": "MIT", - "bugs": { - "url": "http://github.com/troygoode/node-require-directory/issues/" + "description": "Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.", + "devDependencies": { + "jshint": "^2.6.0", + "mocha": "^2.1.0" }, "engines": { "node": ">=0.10.0" }, - "devDependencies": { - "jshint": "^2.6.0", - "mocha": "^2.1.0" + "homepage": "https://github.com/troygoode/node-require-directory/", + "keywords": [ + "require", + "directory", + "library", + "recursive" + ], + "license": "MIT", + "main": "index.js", + "name": "require-directory", + "repository": { + "type": "git", + "url": "git://github.com/troygoode/node-require-directory.git" }, "scripts": { - "test": "mocha", - "lint": "jshint index.js test/test.js" - } + "lint": "jshint index.js test/test.js", + "test": "mocha" + }, + "version": "2.1.1" } diff --git a/node_modules/require-from-string/package.json b/node_modules/require-from-string/package.json index 800d46efc..38a77d94f 100644 --- a/node_modules/require-from-string/package.json +++ b/node_modules/require-from-string/package.json @@ -1,28 +1,62 @@ { - "name": "require-from-string", - "version": "2.0.2", - "description": "Require module from string", - "license": "MIT", - "repository": "floatdrop/require-from-string", + "_args": [ + [ + "require-from-string@2.0.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "require-from-string@2.0.2", + "_id": "require-from-string@2.0.2", + "_inBundle": false, + "_integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "_location": "/require-from-string", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "require-from-string@2.0.2", + "name": "require-from-string", + "escapedName": "require-from-string", + "rawSpec": "2.0.2", + "saveSpec": null, + "fetchSpec": "2.0.2" + }, + "_requiredBy": [ + "/eslint/table/ajv" + ], + "_resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "_spec": "2.0.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Vsevolod Strukchinsky", "email": "floatdrop@gmail.com", "url": "github.com/floatdrop" }, + "bugs": { + "url": "https://github.com/floatdrop/require-from-string/issues" + }, + "dependencies": {}, + "description": "Require module from string", + "devDependencies": { + "mocha": "*" + }, "engines": { "node": ">=0.10.0" }, - "scripts": { - "test": "mocha" - }, "files": [ "index.js" ], - "keywords": [ - "" - ], - "dependencies": {}, - "devDependencies": { - "mocha": "*" - } + "homepage": "https://github.com/floatdrop/require-from-string#readme", + "keywords": [], + "license": "MIT", + "name": "require-from-string", + "repository": { + "type": "git", + "url": "git+https://github.com/floatdrop/require-from-string.git" + }, + "scripts": { + "test": "mocha" + }, + "version": "2.0.2" } diff --git a/node_modules/resolve-cwd/node_modules/resolve-from/package.json b/node_modules/resolve-cwd/node_modules/resolve-from/package.json index 733df1627..2ef3c0649 100644 --- a/node_modules/resolve-cwd/node_modules/resolve-from/package.json +++ b/node_modules/resolve-cwd/node_modules/resolve-from/package.json @@ -1,36 +1,72 @@ { - "name": "resolve-from", - "version": "5.0.0", - "description": "Resolve the path of a module like `require.resolve()` but from a given path", - "license": "MIT", - "repository": "sindresorhus/resolve-from", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "require", - "resolve", - "path", - "module", - "from", - "like", - "import" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "resolve-from@5.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "resolve-from@5.0.0", + "_id": "resolve-from@5.0.0", + "_inBundle": false, + "_integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "_location": "/resolve-cwd/resolve-from", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "resolve-from@5.0.0", + "name": "resolve-from", + "escapedName": "resolve-from", + "rawSpec": "5.0.0", + "saveSpec": null, + "fetchSpec": "5.0.0" + }, + "_requiredBy": [ + "/resolve-cwd" + ], + "_resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "_spec": "5.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/resolve-from/issues" + }, + "description": "Resolve the path of a module like `require.resolve()` but from a given path", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/resolve-from#readme", + "keywords": [ + "require", + "resolve", + "path", + "module", + "from", + "like", + "import" + ], + "license": "MIT", + "name": "resolve-from", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/resolve-from.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "5.0.0" } diff --git a/node_modules/resolve-cwd/package.json b/node_modules/resolve-cwd/package.json index 70dface75..66dd234e3 100644 --- a/node_modules/resolve-cwd/package.json +++ b/node_modules/resolve-cwd/package.json @@ -1,43 +1,79 @@ { - "name": "resolve-cwd", - "version": "3.0.0", - "description": "Resolve the path of a module like `require.resolve()` but from the current working directory", - "license": "MIT", - "repository": "sindresorhus/resolve-cwd", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "require", - "resolve", - "path", - "module", - "from", - "like", - "cwd", - "current", - "working", - "directory", - "import" - ], - "dependencies": { - "resolve-from": "^5.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "resolve-cwd@3.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "resolve-cwd@3.0.0", + "_id": "resolve-cwd@3.0.0", + "_inBundle": false, + "_integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "_location": "/resolve-cwd", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "resolve-cwd@3.0.0", + "name": "resolve-cwd", + "escapedName": "resolve-cwd", + "rawSpec": "3.0.0", + "saveSpec": null, + "fetchSpec": "3.0.0" + }, + "_requiredBy": [ + "/import-local" + ], + "_resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "_spec": "3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/resolve-cwd/issues" + }, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "description": "Resolve the path of a module like `require.resolve()` but from the current working directory", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/resolve-cwd#readme", + "keywords": [ + "require", + "resolve", + "path", + "module", + "from", + "like", + "cwd", + "current", + "working", + "directory", + "import" + ], + "license": "MIT", + "name": "resolve-cwd", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/resolve-cwd.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.0.0" } diff --git a/node_modules/resolve-from/package.json b/node_modules/resolve-from/package.json index 96bade588..76e5f1e4a 100644 --- a/node_modules/resolve-from/package.json +++ b/node_modules/resolve-from/package.json @@ -1,34 +1,70 @@ { - "name": "resolve-from", - "version": "4.0.0", - "description": "Resolve the path of a module like `require.resolve()` but from a given path", - "license": "MIT", - "repository": "sindresorhus/resolve-from", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "require", - "resolve", - "path", - "module", - "from", - "like", - "import" - ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "_args": [ + [ + "resolve-from@4.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "resolve-from@4.0.0", + "_id": "resolve-from@4.0.0", + "_inBundle": false, + "_integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "_location": "/resolve-from", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "resolve-from@4.0.0", + "name": "resolve-from", + "escapedName": "resolve-from", + "rawSpec": "4.0.0", + "saveSpec": null, + "fetchSpec": "4.0.0" + }, + "_requiredBy": [ + "/import-fresh" + ], + "_resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "_spec": "4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/resolve-from/issues" + }, + "description": "Resolve the path of a module like `require.resolve()` but from a given path", + "devDependencies": { + "ava": "*", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/resolve-from#readme", + "keywords": [ + "require", + "resolve", + "path", + "module", + "from", + "like", + "import" + ], + "license": "MIT", + "name": "resolve-from", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/resolve-from.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "4.0.0" } diff --git a/node_modules/resolve.exports/package.json b/node_modules/resolve.exports/package.json index 5a5a7fb92..1674328f7 100644 --- a/node_modules/resolve.exports/package.json +++ b/node_modules/resolve.exports/package.json @@ -1,28 +1,50 @@ { - "version": "1.1.0", - "name": "resolve.exports", - "repository": "lukeed/resolve.exports", - "description": "A tiny (737b), correct, general-purpose, and configurable \"exports\" resolver without file-system reliance", - "module": "dist/index.mjs", - "main": "dist/index.js", - "types": "index.d.ts", - "license": "MIT", + "_args": [ + [ + "resolve.exports@1.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "resolve.exports@1.1.0", + "_id": "resolve.exports@1.1.0", + "_inBundle": false, + "_integrity": "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==", + "_location": "/resolve.exports", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "resolve.exports@1.1.0", + "name": "resolve.exports", + "escapedName": "resolve.exports", + "rawSpec": "1.1.0", + "saveSpec": null, + "fetchSpec": "1.1.0" + }, + "_requiredBy": [ + "/jest-resolve" + ], + "_resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz", + "_spec": "1.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Luke Edwards", "email": "luke.edwards05@gmail.com", "url": "https://lukeed.com" }, + "bugs": { + "url": "https://github.com/lukeed/resolve.exports/issues" + }, + "description": "A tiny (737b), correct, general-purpose, and configurable \"exports\" resolver without file-system reliance", + "devDependencies": { + "bundt": "1.1.2", + "esm": "3.2.25", + "uvu": "0.5.1" + }, "engines": { "node": ">=10" }, - "scripts": { - "build": "bundt", - "test": "uvu -r esm test" - }, - "files": [ - "*.d.ts", - "dist" - ], "exports": { ".": { "import": "./dist/index.mjs", @@ -30,6 +52,11 @@ }, "./package.json": "./package.json" }, + "files": [ + "*.d.ts", + "dist" + ], + "homepage": "https://github.com/lukeed/resolve.exports#readme", "keywords": [ "esm", "exports", @@ -39,9 +66,18 @@ "resolution", "resolve" ], - "devDependencies": { - "bundt": "1.1.2", - "esm": "3.2.25", - "uvu": "0.5.1" - } + "license": "MIT", + "main": "dist/index.js", + "module": "dist/index.mjs", + "name": "resolve.exports", + "repository": { + "type": "git", + "url": "git+https://github.com/lukeed/resolve.exports.git" + }, + "scripts": { + "build": "bundt", + "test": "uvu -r esm test" + }, + "types": "index.d.ts", + "version": "1.1.0" } diff --git a/node_modules/resolve/package.json b/node_modules/resolve/package.json index 6f18c09f3..cd9e9e1b5 100644 --- a/node_modules/resolve/package.json +++ b/node_modules/resolve/package.json @@ -1,57 +1,90 @@ { - "name": "resolve", - "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously", - "version": "1.21.0", - "repository": { - "type": "git", - "url": "git://github.com/browserify/resolve.git" - }, - "bin": { - "resolve": "./bin/resolve" - }, - "main": "index.js", - "keywords": [ - "resolve", - "require", - "node", - "module" - ], - "scripts": { - "prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", - "lint": "eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**'", - "pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async", - "tests-only": "tape test/*.js", - "pretest": "npm run lint", - "test": "npm run --silent tests-only", - "posttest": "npm run test:multirepo && aud --production", - "test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test" - }, - "devDependencies": { - "@ljharb/eslint-config": "^20.1.0", - "array.prototype.map": "^1.0.4", - "aud": "^1.1.5", - "eclint": "^2.8.1", - "eslint": "^8.6.0", - "in-publish": "^2.0.1", - "object-keys": "^1.1.1", - "safe-publish-latest": "^2.0.0", - "tap": "0.4.13", - "tape": "^5.4.0" - }, - "license": "MIT", - "author": { - "name": "James Halliday", - "email": "mail@substack.net", - "url": "http://substack.net" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "dependencies": { - "is-core-module": "^2.8.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } + "_args": [ + [ + "resolve@1.21.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "resolve@1.21.0", + "_id": "resolve@1.21.0", + "_inBundle": false, + "_integrity": "sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==", + "_location": "/resolve", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "resolve@1.21.0", + "name": "resolve", + "escapedName": "resolve", + "rawSpec": "1.21.0", + "saveSpec": null, + "fetchSpec": "1.21.0" + }, + "_requiredBy": [ + "/jest-resolve", + "/normalize-package-data" + ], + "_resolved": "https://registry.npmjs.org/resolve/-/resolve-1.21.0.tgz", + "_spec": "1.21.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "bin": { + "resolve": "bin/resolve" + }, + "bugs": { + "url": "https://github.com/browserify/resolve/issues" + }, + "dependencies": { + "is-core-module": "^2.8.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously", + "devDependencies": { + "@ljharb/eslint-config": "^20.1.0", + "array.prototype.map": "^1.0.4", + "aud": "^1.1.5", + "eclint": "^2.8.1", + "eslint": "^8.6.0", + "in-publish": "^2.0.1", + "object-keys": "^1.1.1", + "safe-publish-latest": "^2.0.0", + "tap": "0.4.13", + "tape": "^5.4.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "homepage": "https://github.com/browserify/resolve#readme", + "keywords": [ + "resolve", + "require", + "node", + "module" + ], + "license": "MIT", + "main": "index.js", + "name": "resolve", + "repository": { + "type": "git", + "url": "git://github.com/browserify/resolve.git" + }, + "scripts": { + "lint": "eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**'", + "posttest": "npm run test:multirepo && aud --production", + "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:", + "pretest": "npm run lint", + "pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async", + "test": "npm run --silent tests-only", + "test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test", + "tests-only": "tape test/*.js" + }, + "version": "1.21.0" } diff --git a/node_modules/responselike/LICENSE b/node_modules/responselike/LICENSE deleted file mode 100644 index 8829a001a..000000000 --- a/node_modules/responselike/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2017 Luke Childs - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/responselike/README.md b/node_modules/responselike/README.md deleted file mode 100644 index 6361931c1..000000000 --- a/node_modules/responselike/README.md +++ /dev/null @@ -1,77 +0,0 @@ -# responselike - -> A response-like object for mocking a Node.js HTTP response stream - -[![Build Status](https://travis-ci.org/lukechilds/responselike.svg?branch=master)](https://travis-ci.org/lukechilds/responselike) -[![Coverage Status](https://coveralls.io/repos/github/lukechilds/responselike/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/responselike?branch=master) -[![npm](https://img.shields.io/npm/dm/responselike.svg)](https://www.npmjs.com/package/responselike) -[![npm](https://img.shields.io/npm/v/responselike.svg)](https://www.npmjs.com/package/responselike) - -Returns a streamable response object similar to a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage). Useful for formatting cached responses so they can be consumed by code expecting a real response. - -## Install - -```shell -npm install --save responselike -``` - -Or if you're just using for testing you'll want: - -```shell -npm install --save-dev responselike -``` - -## Usage - -```js -const Response = require('responselike'); - -const response = new Response(200, { foo: 'bar' }, Buffer.from('Hi!'), 'https://example.com'); - -response.statusCode; -// 200 -response.headers; -// { foo: 'bar' } -response.body; -// -response.url; -// 'https://example.com' - -response.pipe(process.stdout); -// Hi! -``` - - -## API - -### new Response(statusCode, headers, body, url) - -Returns a streamable response object similar to a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage). - -#### statusCode - -Type: `number` - -HTTP response status code. - -#### headers - -Type: `object` - -HTTP headers object. Keys will be automatically lowercased. - -#### body - -Type: `buffer` - -A Buffer containing the response body. The Buffer contents will be streamable but is also exposed directly as `response.body`. - -#### url - -Type: `string` - -Request URL string. - -## License - -MIT © Luke Childs diff --git a/node_modules/responselike/package.json b/node_modules/responselike/package.json deleted file mode 100644 index 520c8a13a..000000000 --- a/node_modules/responselike/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "responselike", - "version": "1.0.2", - "description": "A response-like object for mocking a Node.js HTTP response stream", - "main": "src/index.js", - "scripts": { - "test": "xo && nyc ava", - "coverage": "nyc report --reporter=text-lcov | coveralls" - }, - "xo": { - "extends": "xo-lukechilds" - }, - "keywords": [ - "http", - "https", - "response", - "mock", - "request", - "responselike" - ], - "repository": { - "type": "git", - "url": "https://github.com/lukechilds/responselike.git" - }, - "author": "lukechilds", - "license": "MIT", - "devDependencies": { - "ava": "^0.22.0", - "coveralls": "^2.13.1", - "eslint-config-xo-lukechilds": "^1.0.0", - "get-stream": "^3.0.0", - "nyc": "^11.1.0", - "xo": "^0.19.0" - }, - "dependencies": { - "lowercase-keys": "^1.0.0" - } -} diff --git a/node_modules/responselike/src/index.js b/node_modules/responselike/src/index.js deleted file mode 100644 index b17b4813a..000000000 --- a/node_modules/responselike/src/index.js +++ /dev/null @@ -1,34 +0,0 @@ -'use strict'; - -const Readable = require('stream').Readable; -const lowercaseKeys = require('lowercase-keys'); - -class Response extends Readable { - constructor(statusCode, headers, body, url) { - if (typeof statusCode !== 'number') { - throw new TypeError('Argument `statusCode` should be a number'); - } - if (typeof headers !== 'object') { - throw new TypeError('Argument `headers` should be an object'); - } - if (!(body instanceof Buffer)) { - throw new TypeError('Argument `body` should be a buffer'); - } - if (typeof url !== 'string') { - throw new TypeError('Argument `url` should be a string'); - } - - super(); - this.statusCode = statusCode; - this.headers = lowercaseKeys(headers); - this.body = body; - this.url = url; - } - - _read() { - this.push(this.body); - this.push(null); - } -} - -module.exports = Response; diff --git a/node_modules/restore-cursor/package.json b/node_modules/restore-cursor/package.json index e8680f631..eba458abf 100644 --- a/node_modules/restore-cursor/package.json +++ b/node_modules/restore-cursor/package.json @@ -1,52 +1,88 @@ { - "name": "restore-cursor", - "version": "3.1.0", - "description": "Gracefully restore the CLI cursor on exit", - "license": "MIT", - "repository": "sindresorhus/restore-cursor", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "exit", - "quit", - "process", - "graceful", - "shutdown", - "sigterm", - "sigint", - "terminate", - "kill", - "stop", - "cli", - "cursor", - "ansi", - "show", - "term", - "terminal", - "console", - "tty", - "shell", - "command-line" - ], - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "devDependencies": { - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "restore-cursor@3.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "restore-cursor@3.1.0", + "_id": "restore-cursor@3.1.0", + "_inBundle": false, + "_integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "_location": "/restore-cursor", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "restore-cursor@3.1.0", + "name": "restore-cursor", + "escapedName": "restore-cursor", + "rawSpec": "3.1.0", + "saveSpec": null, + "fetchSpec": "3.1.0" + }, + "_requiredBy": [ + "/cli-cursor" + ], + "_resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "_spec": "3.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/restore-cursor/issues" + }, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "description": "Gracefully restore the CLI cursor on exit", + "devDependencies": { + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/restore-cursor#readme", + "keywords": [ + "exit", + "quit", + "process", + "graceful", + "shutdown", + "sigterm", + "sigint", + "terminate", + "kill", + "stop", + "cli", + "cursor", + "ansi", + "show", + "term", + "terminal", + "console", + "tty", + "shell", + "command-line" + ], + "license": "MIT", + "name": "restore-cursor", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/restore-cursor.git" + }, + "scripts": { + "test": "xo && tsd" + }, + "version": "3.1.0" } diff --git a/node_modules/reusify/package.json b/node_modules/reusify/package.json index ee66aeecb..1d5eadbf4 100644 --- a/node_modules/reusify/package.json +++ b/node_modules/reusify/package.json @@ -1,39 +1,41 @@ { - "name": "reusify", - "version": "1.0.4", - "description": "Reuse objects and functions with style", - "main": "reusify.js", - "scripts": { - "lint": "standard", - "test": "tape test.js | faucet", - "istanbul": "istanbul cover tape test.js", - "coverage": "npm run istanbul; cat coverage/lcov.info | coveralls" - }, - "pre-commit": [ - "lint", - "test" + "_args": [ + [ + "reusify@1.0.4", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": { - "type": "git", - "url": "git+https://github.com/mcollina/reusify.git" + "_development": true, + "_from": "reusify@1.0.4", + "_id": "reusify@1.0.4", + "_inBundle": false, + "_integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "_location": "/reusify", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "reusify@1.0.4", + "name": "reusify", + "escapedName": "reusify", + "rawSpec": "1.0.4", + "saveSpec": null, + "fetchSpec": "1.0.4" }, - "keywords": [ - "reuse", - "object", - "performance", - "function", - "fast" + "_requiredBy": [ + "/fastq" ], - "author": "Matteo Collina ", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "_spec": "1.0.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Matteo Collina", + "email": "hello@matteocollina.com" + }, "bugs": { "url": "https://github.com/mcollina/reusify/issues" }, - "homepage": "https://github.com/mcollina/reusify#readme", - "engines": { - "node": ">=0.10.0", - "iojs": ">=1.0.0" - }, + "description": "Reuse objects and functions with style", "devDependencies": { "coveralls": "^2.13.3", "faucet": "0.0.1", @@ -41,5 +43,35 @@ "pre-commit": "^1.2.2", "standard": "^10.0.3", "tape": "^4.8.0" - } + }, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + }, + "homepage": "https://github.com/mcollina/reusify#readme", + "keywords": [ + "reuse", + "object", + "performance", + "function", + "fast" + ], + "license": "MIT", + "main": "reusify.js", + "name": "reusify", + "pre-commit": [ + "lint", + "test" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/mcollina/reusify.git" + }, + "scripts": { + "coverage": "npm run istanbul; cat coverage/lcov.info | coveralls", + "istanbul": "istanbul cover tape test.js", + "lint": "standard", + "test": "tape test.js | faucet" + }, + "version": "1.0.4" } diff --git a/node_modules/rfdc/package.json b/node_modules/rfdc/package.json index ecaefaea2..b59473f41 100644 --- a/node_modules/rfdc/package.json +++ b/node_modules/rfdc/package.json @@ -1,20 +1,61 @@ { - "name": "rfdc", - "version": "1.3.0", + "_args": [ + [ + "rfdc@1.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "rfdc@1.3.0", + "_id": "rfdc@1.3.0", + "_inBundle": false, + "_integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", + "_location": "/rfdc", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "rfdc@1.3.0", + "name": "rfdc", + "escapedName": "rfdc", + "rawSpec": "1.3.0", + "saveSpec": null, + "fetchSpec": "1.3.0" + }, + "_requiredBy": [ + "/listr2" + ], + "_resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", + "_spec": "1.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "David Mark Clements", + "email": "david.clements@nearform.com" + }, + "bugs": { + "url": "https://github.com/davidmarkclements/rfdc/issues" + }, + "dependencies": {}, "description": "Really Fast Deep Clone", - "main": "index.js", + "devDependencies": { + "clone-deep": "^4.0.1", + "codecov": "^3.4.0", + "deep-copy": "^1.4.2", + "fast-copy": "^1.2.1", + "fastbench": "^1.0.1", + "lodash.clonedeep": "^4.5.0", + "standard": "^11.0.1", + "tap": "^12.0.1", + "tsd": "^0.7.4" + }, + "directories": { + "test": "test" + }, "exports": { ".": "./index.js", "./default": "./default.js" }, - "scripts": { - "test": "tap -R min test && npm run lint && tsd", - "bench": "node benchmark", - "lint": "standard --fix", - "cov": "tap --100 test", - "cov-ui": "tap --coverage-report=html test", - "ci": "standard && tap --100 --coverage-report=text-lcov test | codecov --pipe" - }, + "homepage": "https://github.com/davidmarkclements/rfdc#readme", "keywords": [ "object", "obj", @@ -41,29 +82,20 @@ "fast-copy", "fast-deep-copy" ], - "author": "David Mark Clements ", "license": "MIT", - "devDependencies": { - "clone-deep": "^4.0.1", - "codecov": "^3.4.0", - "deep-copy": "^1.4.2", - "fast-copy": "^1.2.1", - "fastbench": "^1.0.1", - "lodash.clonedeep": "^4.5.0", - "standard": "^11.0.1", - "tap": "^12.0.1", - "tsd": "^0.7.4" - }, - "directories": { - "test": "test" - }, - "dependencies": {}, + "main": "index.js", + "name": "rfdc", "repository": { "type": "git", "url": "git+https://github.com/davidmarkclements/rfdc.git" }, - "bugs": { - "url": "https://github.com/davidmarkclements/rfdc/issues" + "scripts": { + "bench": "node benchmark", + "ci": "standard && tap --100 --coverage-report=text-lcov test | codecov --pipe", + "cov": "tap --100 test", + "cov-ui": "tap --coverage-report=html test", + "lint": "standard --fix", + "test": "tap -R min test && npm run lint && tsd" }, - "homepage": "https://github.com/davidmarkclements/rfdc#readme" + "version": "1.3.0" } diff --git a/node_modules/rimraf/package.json b/node_modules/rimraf/package.json index 1bf8d5e38..fa9eaa2c7 100644 --- a/node_modules/rimraf/package.json +++ b/node_modules/rimraf/package.json @@ -1,32 +1,76 @@ { - "name": "rimraf", - "version": "3.0.2", - "main": "rimraf.js", - "description": "A deep deletion module for node (like `rm -rf`)", - "author": "Isaac Z. Schlueter (http://blog.izs.me/)", - "license": "ISC", - "repository": "git://github.com/isaacs/rimraf.git", - "scripts": { - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --follow-tags", - "test": "tap test/*.js" + "_args": [ + [ + "rimraf@3.0.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "rimraf@3.0.2", + "_id": "rimraf@3.0.2", + "_inBundle": false, + "_integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "_location": "/rimraf", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "rimraf@3.0.2", + "name": "rimraf", + "escapedName": "rimraf", + "rawSpec": "3.0.2", + "saveSpec": null, + "fetchSpec": "3.0.2" + }, + "_requiredBy": [ + "#DEV:/", + "/@jest/core", + "/flat-cache" + ], + "_resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "_spec": "3.0.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me/" + }, + "bin": { + "rimraf": "bin.js" + }, + "bugs": { + "url": "https://github.com/isaacs/rimraf/issues" }, - "bin": "./bin.js", "dependencies": { "glob": "^7.1.3" }, + "description": "A deep deletion module for node (like `rm -rf`)", + "devDependencies": { + "mkdirp": "^0.5.1", + "tap": "^12.1.1" + }, "files": [ "LICENSE", "README.md", "bin.js", "rimraf.js" ], - "devDependencies": { - "mkdirp": "^0.5.1", - "tap": "^12.1.1" - }, "funding": { "url": "https://github.com/sponsors/isaacs" - } + }, + "homepage": "https://github.com/isaacs/rimraf#readme", + "license": "ISC", + "main": "rimraf.js", + "name": "rimraf", + "repository": { + "type": "git", + "url": "git://github.com/isaacs/rimraf.git" + }, + "scripts": { + "postpublish": "git push origin --follow-tags", + "postversion": "npm publish", + "preversion": "npm test", + "test": "tap test/*.js" + }, + "version": "3.0.2" } diff --git a/node_modules/robots-parser/.npmignore b/node_modules/robots-parser/.npmignore new file mode 100644 index 000000000..64d555aff --- /dev/null +++ b/node_modules/robots-parser/.npmignore @@ -0,0 +1,4 @@ +node_modules +coverage +.nyc_output +.vscode \ No newline at end of file diff --git a/node_modules/robots-parser/CHANGELOG.md b/node_modules/robots-parser/CHANGELOG.md new file mode 100644 index 000000000..4ff9220a1 --- /dev/null +++ b/node_modules/robots-parser/CHANGELOG.md @@ -0,0 +1,75 @@ +# Changelog + +## Version 3.0.0 + +- Changed to using global URL object instead of importing. – Thanks to @brendankenny + +## Version 2.4.0: + +- Added Typescript definitions. – Thanks to @danhab99 for creating +- Added SECURITY.md policy and CodeQL scanning + +## Version 2.3.0: + +- Fixed bug where if the user-agent passed to `isAllowed()` / `isDisallowed()` is called "constructor" it would throw an error. +- Added support for relative URLs. This does not affect the default behavior so can safely be upgraded. + + Relative matching is only allowed if both the robots.txt URL and the URLs being checked are relative. + + For example: + + ```js + var robots = robotsParser('/robots.txt', [ + 'User-agent: *', + 'Disallow: /dir/', + 'Disallow: /test.html', + 'Allow: /dir/test.html', + 'Allow: /test.html' + ].join('\n')); + + robots.isAllowed('/test.html', 'Sams-Bot/1.0'); // false + robots.isAllowed('/dir/test.html', 'Sams-Bot/1.0'); // true + robots.isDisallowed('/dir/test2.html', 'Sams-Bot/1.0'); // true + ``` + +## Version 2.2.0: + +- Fixed bug that with matching wildcard patterns with some URLs + – Thanks to @ckylape for reporting and fixing +- Changed matching algorithm to match Google's implementation in google/robotstxt +- Changed order of precedence to match current spec + +## Version 2.1.1: + +- Fix bug that could be used to causing rule checking to take a long time + – Thanks to @andeanfog + +## Version 2.1.0: + +- Removed use of punycode module API's as new URL API handles it +- Improved test coverage +- Added tests for percent encoded paths and improved support +- Added `getMatchingLineNumber()` method +- Fixed bug with comments on same line as directive + +## Version 2.0.0: + +This release is not 100% backwards compatible as it now uses the new URL APIs which are not supported in Node < 7. + +- Update code to not use deprecated URL module API's. + – Thanks to @kdzwinel + +## Version 1.0.2: + +- Fixed error caused by invalid URLs missing the protocol. + +## Version 1.0.1: + +- Fixed bug with the "user-agent" rule being treated as case sensitive. + – Thanks to @brendonboshell +- Improved test coverage. + – Thanks to @schornio + +## Version 1.0.0: + +- Initial release. diff --git a/node_modules/robots-parser/Robots.js b/node_modules/robots-parser/Robots.js index d06bb125b..b1cde9f51 100644 --- a/node_modules/robots-parser/Robots.js +++ b/node_modules/robots-parser/Robots.js @@ -1,5 +1,3 @@ -var URL = require('url').URL; - /** * Trims the white space from the start and end of the line. * diff --git a/node_modules/robots-parser/SECURITY.md b/node_modules/robots-parser/SECURITY.md new file mode 100644 index 000000000..b0b182d6e --- /dev/null +++ b/node_modules/robots-parser/SECURITY.md @@ -0,0 +1,11 @@ +# Security Policy + +## Supported Versions + +The latest version is supported. + +## Reporting a Vulnerability + +If you find or suspect a security vulnerability, please report it to sam@samclarke.com, and I will try to respond as quickly as possible. + +If possible, please include "Security vulnerability report:" in the subject line. diff --git a/node_modules/robots-parser/package.json b/node_modules/robots-parser/package.json index 1619f2882..2a6bec13a 100644 --- a/node_modules/robots-parser/package.json +++ b/node_modules/robots-parser/package.json @@ -1,44 +1,85 @@ { - "name": "robots-parser", - "version": "2.4.0", - "description": "NodeJS robots.txt parser with support for wildcard (*) matching.", - "keywords": [ - "robots.txt", - "parser", - "user-agent", - "scraper", - "spider", - "bot", - "robots-exclusion-standard" - ], - "main": "index.js", - "directories": { - "test": "tests" - }, - "scripts": { - "test": "nyc --reporter=text-summary --reporter=html --reporter=lcovonly mocha" - }, - "repository": { - "type": "git", - "url": "https://github.com/samclarke/robots-parser.git" - }, - "author": "Sam Clarke ", - "license": "MIT", - "files": [ - "/Robots.js", - "/index.js", - "/index.d.ts" - ], - "prettier": { - "tabWidth": 4, - "useTabs": true, - "singleQuote": true, - "trailingComma": "none" - }, - "devDependencies": { - "chai": "^4.3.4", - "mocha": "^9.1.3", - "nyc": "^15.1.0" - }, - "types": "./index.d.ts" + "_from": "robots-parser@^3.0.0", + "_id": "robots-parser@3.0.0", + "_inBundle": false, + "_integrity": "sha512-6xkze3WRdneibICBAzMKcXyTKQw5shA3GbwoEJy7RSvxpZNGF0GMuYKE1T0VMP4fwx/fQs0n0mtriOqRtk5L1w==", + "_location": "/robots-parser", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "robots-parser@^3.0.0", + "name": "robots-parser", + "escapedName": "robots-parser", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/lighthouse" + ], + "_resolved": "https://registry.npmjs.org/robots-parser/-/robots-parser-3.0.0.tgz", + "_shasum": "66af89306302ecd004455f2f24298310d0966631", + "_spec": "robots-parser@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "author": { + "name": "Sam Clarke", + "email": "sam@samclarke.com" + }, + "bugs": { + "url": "https://github.com/samclarke/robots-parser/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "A specification compliant robots.txt parser with wildcard (*) matching support.", + "devDependencies": { + "chai": "^4.3.4", + "mocha": "^9.1.3", + "nyc": "^15.1.0" + }, + "directories": { + "test": "tests" + }, + "engines": { + "node": ">=0.10" + }, + "files": [ + "/Robots.js", + "/index.js", + "/index.d.ts", + "/README.md", + "/LICENSE.md", + "/CHANGELOG.md", + "/SECURITY.md", + "test/*.js", + ".gitignore" + ], + "homepage": "https://github.com/samclarke/robots-parser", + "keywords": [ + "robots.txt", + "parser", + "user-agent", + "scraper", + "spider", + "bot", + "robots-exclusion-standard" + ], + "license": "MIT", + "main": "index.js", + "name": "robots-parser", + "prettier": { + "tabWidth": 4, + "useTabs": true, + "singleQuote": true, + "trailingComma": "none" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/samclarke/robots-parser.git" + }, + "scripts": { + "test": "nyc --reporter=text-summary --reporter=html --reporter=lcovonly mocha" + }, + "types": "./index.d.ts", + "version": "3.0.0" } diff --git a/node_modules/robots-parser/readme.md b/node_modules/robots-parser/readme.md index a701090a7..fdd7d594d 100644 --- a/node_modules/robots-parser/readme.md +++ b/node_modules/robots-parser/readme.md @@ -1,8 +1,8 @@ # Robots Parser [![NPM downloads](https://img.shields.io/npm/dm/robots-parser)](https://www.npmjs.com/package/robots-parser) [![DeepScan grade](https://deepscan.io/api/teams/457/projects/16277/branches/344939/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=457&pid=16277&bid=344939) [![GitHub license](https://img.shields.io/github/license/samclarke/robots-parser.svg)](https://github.com/samclarke/robots-parser/blob/master/license.md) [![Coverage Status](https://coveralls.io/repos/github/samclarke/robots-parser/badge.svg?branch=master)](https://coveralls.io/github/samclarke/robots-parser?branch=master) -NodeJS robots.txt parser. +A robots.txt parser which aims to be complaint with the [draft specification](https://datatracker.ietf.org/doc/html/draft-koster-rep). -It currently supports: +The parser currently supports: - User-agent: - Allow: @@ -94,6 +94,10 @@ Returns the preferred host name specified by the `host:` directive or null if th # Changes +### Version 3.0.0 + +- Changed to using global URL object instead of importing. – Thanks to @brendankenny + ### Version 2.4.0: - Added Typescript definitions diff --git a/node_modules/robots-parser/test/Robots.js b/node_modules/robots-parser/test/Robots.js new file mode 100644 index 000000000..5156672fe --- /dev/null +++ b/node_modules/robots-parser/test/Robots.js @@ -0,0 +1,794 @@ +var robotsParser = require('../index'); +var expect = require('chai').expect; + + +function testRobots(url, contents, allowed, disallowed) { + var robots = robotsParser(url, contents); + + allowed.forEach(function (url) { + expect(robots.isAllowed(url)).to.equal(true); + }); + + disallowed.forEach(function (url) { + expect(robots.isDisallowed(url)).to.equal(true); + }); +} + +describe('Robots', function () { + it('should parse the disallow directive', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish/', + 'Disallow: /test.html' + ].join('\n'); + + var allowed = [ + 'http://www.example.com/fish', + 'http://www.example.com/Test.html' + ]; + + var disallowed = [ + 'http://www.example.com/fish/index.php', + 'http://www.example.com/fish/', + 'http://www.example.com/test.html' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should parse the allow directive', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish/', + 'Disallow: /test.html', + 'Allow: /fish/test.html', + 'Allow: /test.html' + ].join('\n'); + + var allowed = [ + 'http://www.example.com/fish', + 'http://www.example.com/fish/test.html', + 'http://www.example.com/Test.html', + 'http://www.example.com/test.html' + ]; + + var disallowed = [ + 'http://www.example.com/fish/index.php', + 'http://www.example.com/fish/', + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should parse patterns', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish*.php', + 'Disallow: /*.dext$', + 'Disallow: /dir*' + ].join('\n'); + + var allowed = [ + 'http://www.example.com/Fish.PHP', + 'http://www.example.com/Fish.dext1', + 'http://www.example.com/folder/dir.html', + 'http://www.example.com/folder/dir/test.html' + ]; + + var disallowed = [ + 'http://www.example.com/fish.php', + 'http://www.example.com/fishheads/catfish.php?parameters', + 'http://www.example.com/AnYthInG.dext', + 'http://www.example.com/Fish.dext.dext', + 'http://www.example.com/dir/test.html', + 'http://www.example.com/directory.html' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should have the correct order precedence for allow and disallow', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish*.php', + 'Allow: /fish/index.php', + 'Disallow: /test', + 'Allow: /test/', + 'Disallow: /aa/', + 'Allow: /aa/', + 'Allow: /bb/', + 'Disallow: /bb/', + ].join('\n'); + + var allowed = [ + 'http://www.example.com/test/index.html', + 'http://www.example.com/fish/index.php', + 'http://www.example.com/test/', + 'http://www.example.com/aa/', + 'http://www.example.com/bb/', + 'http://www.example.com/x/' + ]; + + var disallowed = [ + 'http://www.example.com/fish.php', + 'http://www.example.com/fishheads/catfish.php?parameters', + 'http://www.example.com/test' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should have the correct order precedence for wildcards', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /*/', + 'Allow: /x/', + ].join('\n'); + + var allowed = [ + 'http://www.example.com/x/', + 'http://www.example.com/fish.php', + 'http://www.example.com/test' + ]; + + var disallowed = [ + 'http://www.example.com/a/', + 'http://www.example.com/xx/', + 'http://www.example.com/test/index.html' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should parse lines delimitated by \\r', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish/', + 'Disallow: /test.html' + ].join('\r'); + + var allowed = [ + 'http://www.example.com/fish', + 'http://www.example.com/Test.html' + ]; + + var disallowed = [ + 'http://www.example.com/fish/index.php', + 'http://www.example.com/fish/', + 'http://www.example.com/test.html' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should parse lines delimitated by \\r\\n', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish/', + 'Disallow: /test.html' + ].join('\r\n'); + + var allowed = [ + 'http://www.example.com/fish', + 'http://www.example.com/Test.html' + ]; + + var disallowed = [ + 'http://www.example.com/fish/index.php', + 'http://www.example.com/fish/', + 'http://www.example.com/test.html' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + + it('should parse lines delimitated by mixed line endings', function () { + var contents = [ + 'User-agent: *\r', + 'Disallow: /fish/\r\n', + 'Disallow: /test.html\n\n' + ].join(''); + + var allowed = [ + 'http://www.example.com/fish', + 'http://www.example.com/Test.html' + ]; + + var disallowed = [ + 'http://www.example.com/fish/index.php', + 'http://www.example.com/fish/', + 'http://www.example.com/test.html' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should ignore rules that are not in a group', function () { + var contents = [ + 'Disallow: /secret.html', + 'Disallow: /test', + ].join('\n'); + + var allowed = [ + 'http://www.example.com/secret.html', + 'http://www.example.com/test/index.html', + 'http://www.example.com/test/' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, []); + }); + + + it('should ignore comments', function () { + var contents = [ + '#', + '# This is a comment', + '#', + 'User-agent: *', + '# This is a comment', + 'Disallow: /fish/ # ignore', + '# Disallow: fish', + 'Disallow: /test.html' + ].join('\n'); + + var allowed = [ + 'http://www.example.com/fish', + 'http://www.example.com/Test.html' + ]; + + var disallowed = [ + 'http://www.example.com/fish/index.php', + 'http://www.example.com/fish/', + 'http://www.example.com/test.html' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should ignore invalid lines', function () { + var contents = [ + 'invalid line', + 'User-agent: *', + 'Disallow: /fish/', + ':::::another invalid line:::::', + 'Disallow: /test.html', + 'Unknown: tule' + ].join('\n'); + + var allowed = [ + 'http://www.example.com/fish', + 'http://www.example.com/Test.html' + ]; + + var disallowed = [ + 'http://www.example.com/fish/index.php', + 'http://www.example.com/fish/', + 'http://www.example.com/test.html' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should ignore empty user-agent lines', function () { + var contents = [ + 'User-agent:', + 'Disallow: /fish/', + 'Disallow: /test.html' + ].join('\n'); + + var allowed = [ + 'http://www.example.com/fish', + 'http://www.example.com/Test.html', + 'http://www.example.com/fish/index.php', + 'http://www.example.com/fish/', + 'http://www.example.com/test.html' + ]; + + var disallowed = []; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should support groups with multiple user agents (case insensitive)', function () { + var contents = [ + 'User-agent: agenta', + 'User-agent: agentb', + 'Disallow: /fish', + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.isAllowed("http://www.example.com/fish", "agenta")).to.equal(false); + }); + + it('should return undefined for invalid urls', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /secret.html', + 'Disallow: /test', + ].join('\n'); + + var invalidUrls = [ + 'http://example.com/secret.html', + 'http://ex ample.com/secret.html', + 'http://www.example.net/test/index.html', + 'http://www.examsple.com/test/', + 'example.com/test/', + ':::::;;`\\|/.example.com/test/' + ]; + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + invalidUrls.forEach(function (url) { + expect(robots.isAllowed(url)).to.equal(undefined); + }); + }); + + it('should handle Unicode, urlencoded and punycode URLs', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /secret.html', + 'Disallow: /test', + ].join('\n'); + + var allowed = [ + 'http://www.münich.com/index.html', + 'http://www.xn--mnich-kva.com/index.html', + 'http://www.m%C3%BCnich.com/index.html' + ]; + + var disallowed = [ + 'http://www.münich.com/secret.html', + 'http://www.xn--mnich-kva.com/secret.html', + 'http://www.m%C3%BCnich.com/secret.html' + ]; + + testRobots('http://www.münich.com/robots.txt', contents, allowed, disallowed); + testRobots('http://www.xn--mnich-kva.com/robots.txt', contents, allowed, disallowed); + testRobots('http://www.m%C3%BCnich.com/robots.txt', contents, allowed, disallowed); + }); + + it('should handle Unicode and urlencoded paths', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /%CF%80', + 'Disallow: /%e2%9d%83', + 'Disallow: /%a%a', + 'Disallow: /💩', + 'Disallow: /✼*t$', + 'Disallow: /%E2%9C%A4*t$', + 'Disallow: /✿%a', + 'Disallow: /http%3A%2F%2Fexample.org' + ].join('\n'); + + var allowed = [ + 'http://www.example.com/✼testing', + 'http://www.example.com/%E2%9C%BCtesting', + 'http://www.example.com/✤testing', + 'http://www.example.com/%E2%9C%A4testing', + 'http://www.example.com/http://example.org', + 'http://www.example.com/http:%2F%2Fexample.org' + ]; + + var disallowed = [ + 'http://www.example.com/%CF%80', + 'http://www.example.com/%CF%80/index.html', + 'http://www.example.com/π', + 'http://www.example.com/π/index.html', + 'http://www.example.com/%e2%9d%83', + 'http://www.example.com/%E2%9D%83/index.html', + 'http://www.example.com/❃', + 'http://www.example.com/❃/index.html', + 'http://www.example.com/%F0%9F%92%A9', + 'http://www.example.com/%F0%9F%92%A9/index.html', + 'http://www.example.com/💩', + 'http://www.example.com/💩/index.html', + 'http://www.example.com/%a%a', + 'http://www.example.com/%a%a/index.html', + 'http://www.example.com/✼test', + 'http://www.example.com/%E2%9C%BCtest', + 'http://www.example.com/✤test', + 'http://www.example.com/%E2%9C%A4testt', + 'http://www.example.com/✿%a', + 'http://www.example.com/%E2%9C%BF%atest', + 'http://www.example.com/http%3A%2F%2Fexample.org' + ]; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should handle lone high / low surrogates', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /\uD800', + 'Disallow: /\uDC00' + ].join('\n'); + + // These are invalid so can't be disallowed + var allowed = [ + 'http://www.example.com/\uDC00', + 'http://www.example.com/\uD800' + ]; + + var disallowed = []; + + testRobots('http://www.example.com/robots.txt', contents, allowed, disallowed); + }); + + it('should ignore host case', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /secret.html', + 'Disallow: /test', + ].join('\n'); + + var allowed = [ + 'http://www.example.com/index.html', + 'http://www.ExAmPlE.com/index.html', + 'http://www.EXAMPLE.com/index.html' + ]; + + var disallowed = [ + 'http://www.example.com/secret.html', + 'http://www.ExAmPlE.com/secret.html', + 'http://www.EXAMPLE.com/secret.html' + ]; + + testRobots('http://www.eXample.com/robots.txt', contents, allowed, disallowed); + }); + + it('should handle relative paths', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish', + 'Allow: /fish/test', + ].join('\n'); + + var robots = robotsParser('/robots.txt', contents); + expect(robots.isAllowed('/fish/test')).to.equal(true); + expect(robots.isAllowed('/fish')).to.equal(false); + }); + + it('should not allow relative paths if domain specified', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish', + 'Allow: /fish/test', + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + expect(robots.isAllowed('/fish/test')).to.equal(undefined); + expect(robots.isAllowed('/fish')).to.equal(undefined); + }); + + it('should not treat invalid robots.txt URLs as relative', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish', + 'Allow: /fish/test', + ].join('\n'); + + var robots = robotsParser('https://ex ample.com/robots.txt', contents); + expect(robots.isAllowed('/fish/test')).to.equal(undefined); + expect(robots.isAllowed('/fish')).to.equal(undefined); + }); + + it('should not allow URls if domain specified and robots.txt is relative', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish', + 'Allow: /fish/test', + ].join('\n'); + + var robots = robotsParser('/robots.txt', contents); + expect(robots.isAllowed('http://www.example.com/fish/test')).to.equal(undefined); + expect(robots.isAllowed('http://www.example.com/fish')).to.equal(undefined); + }); + + it('should allow all if empty robots.txt', function () { + var allowed = [ + 'http://www.example.com/secret.html', + 'http://www.example.com/test/index.html', + 'http://www.example.com/test/' + ]; + + var robots = robotsParser('http://www.example.com/robots.txt', ''); + + allowed.forEach(function (url) { + expect(robots.isAllowed(url)).to.equal(true); + }); + }); + + it('should treat null as allowing all', function () { + var robots = robotsParser('http://www.example.com/robots.txt', null); + + expect(robots.isAllowed("http://www.example.com/", "userAgent")).to.equal(true); + expect(robots.isAllowed("http://www.example.com/")).to.equal(true); + }); + + it('should handle invalid robots.txt urls', function () { + var contents = [ + 'user-agent: *', + 'disallow: /', + + 'host: www.example.com', + 'sitemap: /sitemap.xml' + ].join('\n'); + + var sitemapUrls = [ + undefined, + null, + 'null', + ':/wom/test/' + ]; + + sitemapUrls.forEach(function (url) { + var robots = robotsParser(url, contents); + expect(robots.isAllowed('http://www.example.com/index.html')).to.equal(undefined); + expect(robots.getPreferredHost()).to.equal('www.example.com'); + expect(robots.getSitemaps()).to.eql(['/sitemap.xml']); + }); + }); + + it('should parse the crawl-delay directive', function () { + var contents = [ + 'user-agent: a', + 'crawl-delay: 1', + + 'user-agent: b', + 'disallow: /d', + + 'user-agent: c', + 'user-agent: d', + 'crawl-delay: 10' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getCrawlDelay('a')).to.equal(1); + expect(robots.getCrawlDelay('b')).to.equal(undefined); + expect(robots.getCrawlDelay('c')).to.equal(10); + expect(robots.getCrawlDelay('d')).to.equal(10); + expect(robots.getCrawlDelay()).to.equal(undefined); + }); + + it('should ignore invalid crawl-delay directives', function () { + var contents = [ + 'user-agent: a', + 'crawl-delay: 1.2.1', + + 'user-agent: b', + 'crawl-delay: 1.a0', + + 'user-agent: c', + 'user-agent: d', + 'crawl-delay: 10a' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getCrawlDelay('a')).to.equal(undefined); + expect(robots.getCrawlDelay('b')).to.equal(undefined); + expect(robots.getCrawlDelay('c')).to.equal(undefined); + expect(robots.getCrawlDelay('d')).to.equal(undefined); + }); + + it('should parse the sitemap directive', function () { + var contents = [ + 'user-agent: a', + 'crawl-delay: 1', + 'sitemap: http://example.com/test.xml', + + 'user-agent: b', + 'disallow: /d', + + 'sitemap: /sitemap.xml', + 'sitemap: http://example.com/test/sitemap.xml ' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getSitemaps()).to.eql([ + 'http://example.com/test.xml', + '/sitemap.xml', + 'http://example.com/test/sitemap.xml' + ]); + }); + + it('should parse the host directive', function () { + var contents = [ + 'user-agent: a', + 'crawl-delay: 1', + 'host: www.example.net', + + 'user-agent: b', + 'disallow: /d', + + 'host: example.com' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getPreferredHost()).to.equal('example.com'); + }); + + it('should parse empty and invalid directives', function () { + var contents = [ + 'user-agent:', + 'user-agent:::: a::', + 'crawl-delay:', + 'crawl-delay:::: 0:', + 'host:', + 'host:: example.com', + 'sitemap:', + 'sitemap:: site:map.xml', + 'disallow:', + 'disallow::: /:', + 'allow:', + 'allow::: /:', + ].join('\n'); + + robotsParser('http://www.example.com/robots.txt', contents); + }); + + it('should treat only the last host directive as valid', function () { + var contents = [ + 'user-agent: a', + 'crawl-delay: 1', + 'host: www.example.net', + + 'user-agent: b', + 'disallow: /d', + + 'host: example.net', + 'host: example.com' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getPreferredHost()).to.equal('example.com'); + }); + + it('should return null when there is no host directive', function () { + var contents = [ + 'user-agent: a', + 'crawl-delay: 1', + + 'user-agent: b', + 'disallow: /d', + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getPreferredHost()).to.equal(null); + }); + + it('should fallback to * when a UA has no rules of its own', function () { + var contents = [ + 'user-agent: *', + 'crawl-delay: 1', + + 'user-agent: b', + 'crawl-delay: 12', + + 'user-agent: c', + 'user-agent: d', + 'crawl-delay: 10' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getCrawlDelay('should-fall-back')).to.equal(1); + expect(robots.getCrawlDelay('d')).to.equal(10); + expect(robots.getCrawlDelay('dd')).to.equal(1); + }); + + it('should not fallback to * when a UA has rules', function () { + var contents = [ + 'user-agent: *', + 'crawl-delay: 1', + + 'user-agent: b', + 'disallow:' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getCrawlDelay('b')).to.equal(undefined); + }); + + it('should handle UAs with object property names', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /fish', + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + expect(robots.isAllowed('http://www.example.com/fish', 'constructor')).to.equal(false); + expect(robots.isAllowed('http://www.example.com/fish', '__proto__')).to.equal(false); + }); + + it('should ignore version numbers in the UA string', function () { + var contents = [ + 'user-agent: *', + 'crawl-delay: 1', + + 'user-agent: b', + 'crawl-delay: 12', + + 'user-agent: c', + 'user-agent: d', + 'crawl-delay: 10' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getCrawlDelay('should-fall-back/1.0.0')).to.equal(1); + expect(robots.getCrawlDelay('d/12')).to.equal(10); + expect(robots.getCrawlDelay('dd / 0-32-3')).to.equal(1); + expect(robots.getCrawlDelay('b / 1.0')).to.equal(12); + }); + + + it('should return the line number of the matching directive', function () { + var contents = [ + '', + 'User-agent: *', + '', + 'Disallow: /fish/', + 'Disallow: /test.html', + 'Allow: /fish/test.html', + 'Allow: /test.html', + '', + 'User-agent: a', + 'allow: /', + '', + 'User-agent: b', + 'disallow: /test', + 'disallow: /t*t', + '', + 'User-agent: c', + 'Disallow: /fish*.php', + 'Allow: /fish/index.php' + ].join('\n'); + + var robots = robotsParser('http://www.example.com/robots.txt', contents); + + expect(robots.getMatchingLineNumber('http://www.example.com/fish')).to.equal(-1); + expect(robots.getMatchingLineNumber('http://www.example.com/fish/test.html')).to.equal(6); + expect(robots.getMatchingLineNumber('http://www.example.com/Test.html')).to.equal(-1); + + expect(robots.getMatchingLineNumber('http://www.example.com/fish/index.php')).to.equal(4); + expect(robots.getMatchingLineNumber('http://www.example.com/fish/')).to.equal(4); + expect(robots.getMatchingLineNumber('http://www.example.com/test.html')).to.equal(7); + + expect(robots.getMatchingLineNumber('http://www.example.com/test.html', 'a')).to.equal(10); + + expect(robots.getMatchingLineNumber('http://www.example.com/fish.php', 'c')).to.equal(17); + expect(robots.getMatchingLineNumber('http://www.example.com/fish/index.php', 'c')).to.equal(18); + }); + + it('should handle large wildcards efficiently', function () { + var contents = [ + 'User-agent: *', + 'Disallow: /' + '*'.repeat(2048) + '.html', + ].join('\n'); + + var allowed = [ + 'http://www.example.com/' + 'sub'.repeat(2048) + 'folder/index.php', + ]; + + var disallowed = [ + 'http://www.example.com/secret.html' + ]; + + const start = Date.now(); + testRobots('http://www.eXample.com/robots.txt', contents, allowed, disallowed); + const end = Date.now(); + + // Should take less than 500 ms (high to allow for variableness of + // machines running the test, should normally be much less) + expect(end - start).to.be.lessThan(500); + }); +}); diff --git a/node_modules/run-parallel/package.json b/node_modules/run-parallel/package.json index 1f1475788..ee07dfe5b 100644 --- a/node_modules/run-parallel/package.json +++ b/node_modules/run-parallel/package.json @@ -1,7 +1,33 @@ { - "name": "run-parallel", - "description": "Run an array of functions in parallel", - "version": "1.2.0", + "_args": [ + [ + "run-parallel@1.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "run-parallel@1.2.0", + "_id": "run-parallel@1.2.0", + "_inBundle": false, + "_integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "_location": "/run-parallel", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "run-parallel@1.2.0", + "name": "run-parallel", + "escapedName": "run-parallel", + "rawSpec": "1.2.0", + "saveSpec": null, + "fetchSpec": "1.2.0" + }, + "_requiredBy": [ + "/@nodelib/fs.scandir" + ], + "_resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "_spec": "1.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -13,11 +39,26 @@ "dependencies": { "queue-microtask": "^1.2.2" }, + "description": "Run an array of functions in parallel", "devDependencies": { "airtap": "^3.0.0", "standard": "*", "tape": "^5.0.1" }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "homepage": "https://github.com/feross/run-parallel", "keywords": [ "parallel", @@ -31,6 +72,7 @@ ], "license": "MIT", "main": "index.js", + "name": "run-parallel", "repository": { "type": "git", "url": "git://github.com/feross/run-parallel.git" @@ -41,18 +83,5 @@ "test-browser-local": "airtap --local -- test/*.js", "test-node": "tape test/*.js" }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "version": "1.2.0" } diff --git a/node_modules/rxjs/package.json b/node_modules/rxjs/package.json index 58c418eca..5888f971c 100644 --- a/node_modules/rxjs/package.json +++ b/node_modules/rxjs/package.json @@ -1,113 +1,45 @@ { - "name": "rxjs", - "version": "7.5.1", - "description": "Reactive Extensions for modern JavaScript", - "main": "./dist/cjs/index.js", - "module": "./dist/esm5/index.js", - "es2015": "./dist/esm/index.js", - "types": "index.d.ts", - "typesVersions": { - ">=4.2": { - "*": [ - "dist/types/*" - ] - } + "_args": [ + [ + "rxjs@7.5.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "rxjs@7.5.1", + "_id": "rxjs@7.5.1", + "_inBundle": false, + "_integrity": "sha512-KExVEeZWxMZnZhUZtsJcFwz8IvPvgu4G2Z2QyqjZQzUGr32KDYuSxrEYO4w3tFFNbfLozcrKUTvTPi+E9ywJkQ==", + "_location": "/rxjs", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "rxjs@7.5.1", + "name": "rxjs", + "escapedName": "rxjs", + "rawSpec": "7.5.1", + "saveSpec": null, + "fetchSpec": "7.5.1" }, - "sideEffects": false, - "exports": { - ".": { - "node": "./dist/cjs/index.js", - "es2015": "./dist/esm/index.js", - "default": "./dist/esm5/index.js" - }, - "./ajax": { - "node": "./dist/cjs/ajax/index.js", - "es2015": "./dist/esm/ajax/index.js", - "default": "./dist/esm5/ajax/index.js" - }, - "./fetch": { - "node": "./dist/cjs/fetch/index.js", - "es2015": "./dist/esm/fetch/index.js", - "default": "./dist/esm5/fetch/index.js" - }, - "./operators": { - "node": "./dist/cjs/operators/index.js", - "es2015": "./dist/esm/operators/index.js", - "default": "./dist/esm5/operators/index.js" - }, - "./testing": { - "node": "./dist/cjs/testing/index.js", - "es2015": "./dist/esm/testing/index.js", - "default": "./dist/esm5/testing/index.js" - }, - "./webSocket": { - "node": "./dist/cjs/webSocket/index.js", - "es2015": "./dist/esm/webSocket/index.js", - "default": "./dist/esm5/webSocket/index.js" - }, - "./internal/*": { - "node": "./dist/cjs/internal/*.js", - "es2015": "./dist/esm/internal/*.js", - "default": "./dist/esm5/internal/*.js" - }, - "./package.json": "./package.json" + "_requiredBy": [ + "/listr2" + ], + "_resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.1.tgz", + "_spec": "7.5.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + "bugs": { + "url": "https://github.com/ReactiveX/RxJS/issues" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, - "lint-staged": { - "*.js": "eslint --cache --fix", - "(src|spec)/**/*.ts": [ - "tslint --fix", - "prettier --write" - ], - "*.{js,css,md}": "prettier --write" - }, - "scripts": { - "changelog": "npx conventional-changelog-cli -p angular -i CHANGELOG.md -s", - "build:spec:browser": "echo \"Browser test is not working currently\" && exit -1 && webpack --config spec/support/webpack.mocha.config.js", - "lint_spec": "tslint -c spec/tslint.json -p spec/tsconfig.json \"spec/**/*.ts\"", - "lint_src": "tslint -c tslint.json -p src/tsconfig.base.json \"src/**/*.ts\"", - "lint": "npm-run-all --parallel lint_*", - "dtslint": "tsc -b ./src/tsconfig.types.json && tslint -c spec-dtslint/tslint.json -p spec-dtslint/tsconfig.json \"spec-dtslint/**/*.ts\"", - "prepublishOnly": "npm run build:package && npm run lint && npm run test && npm run test:circular && npm run dtslint && npm run test:side-effects && npm run api_guardian", - "publish_docs": "./publish_docs.sh", - "test": "npm run compile && mocha --config spec/support/.mocharc.js \"dist/spec/**/*-spec.js\"", - "test:esm": "node spec/module-test-spec.mjs", - "test:browser": "echo \"Browser test is not working currently\" && exit -1 && npm-run-all build:spec:browser && opn spec/support/mocha-browser-runner.html", - "test:circular": "dependency-cruiser --validate .dependency-cruiser.json -x \"^node_modules\" dist/esm5", - "test:systemjs": "node integration/systemjs/systemjs-compatibility-spec.js", - "test:side-effects": "check-side-effects --test integration/side-effects/side-effects.json", - "test:side-effects:update": "npm run test:side-effects -- --update", - "test:import": "ts-node ./integration/import/runner.ts", - "compile": "tsc -b ./src/tsconfig.cjs.json ./src/tsconfig.cjs.spec.json ./src/tsconfig.esm.json ./src/tsconfig.esm5.json ./src/tsconfig.esm5.rollup.json ./src/tsconfig.types.json ./src/tsconfig.types.spec.json ./spec/tsconfig.json", - "build:clean": "shx rm -rf ./dist", - "build:global": "node ./tools/make-umd-bundle.js && node ./tools/make-closure-core.js", - "build:package": "npm-run-all build:clean compile build:global && node ./tools/prepare-package.js && node ./tools/generate-alias.js", - "api_guardian:update": "tsc -b ./src/tsconfig.types.json && ts-api-guardian --outDir api_guard dist/types/index.d.ts dist/types/ajax/index.d.ts dist/types/fetch/index.d.ts dist/types/operators/index.d.ts dist/types/testing/index.d.ts dist/types/webSocket/index.d.ts", - "api_guardian": "ts-api-guardian --verifyDir api_guard dist/types/index.d.ts dist/types/ajax/index.d.ts dist/types/fetch/index.d.ts dist/types/operators/index.d.ts dist/types/testing/index.d.ts dist/types/webSocket/index.d.ts", - "watch": "nodemon -w \"src/\" -w \"spec/\" -e ts -x npm test", - "watch:dtslint": "nodemon -w \"src/\" -w \"spec-dtslint/\" -e ts -x npm run dtslint" - }, - "repository": { - "type": "git", - "url": "https://github.com/reactivex/rxjs.git" - }, - "keywords": [ - "Rx", - "RxJS", - "ReactiveX", - "ReactiveExtensions", - "Streams", - "Observables", - "Observable", - "Stream", - "ES6", - "ES2015" - ], - "author": "Ben Lesh ", "contributors": [ { "name": "Ben Lesh", @@ -134,14 +66,10 @@ "email": "andre@staltz.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/ReactiveX/RxJS/issues" - }, - "homepage": "https://rxjs.dev", "dependencies": { "tslib": "^2.1.0" }, + "description": "Reactive Extensions for modern JavaScript", "devDependencies": { "@angular-devkit/build-optimizer": "0.4.6", "@angular-devkit/schematics": "^11.0.7", @@ -206,6 +134,45 @@ "web-streams-polyfill": "^3.0.2", "webpack": "^4.31.0" }, + "es2015": "./dist/esm/index.js", + "exports": { + ".": { + "node": "./dist/cjs/index.js", + "es2015": "./dist/esm/index.js", + "default": "./dist/esm5/index.js" + }, + "./ajax": { + "node": "./dist/cjs/ajax/index.js", + "es2015": "./dist/esm/ajax/index.js", + "default": "./dist/esm5/ajax/index.js" + }, + "./fetch": { + "node": "./dist/cjs/fetch/index.js", + "es2015": "./dist/esm/fetch/index.js", + "default": "./dist/esm5/fetch/index.js" + }, + "./operators": { + "node": "./dist/cjs/operators/index.js", + "es2015": "./dist/esm/operators/index.js", + "default": "./dist/esm5/operators/index.js" + }, + "./testing": { + "node": "./dist/cjs/testing/index.js", + "es2015": "./dist/esm/testing/index.js", + "default": "./dist/esm5/testing/index.js" + }, + "./webSocket": { + "node": "./dist/cjs/webSocket/index.js", + "es2015": "./dist/esm/webSocket/index.js", + "default": "./dist/esm5/webSocket/index.js" + }, + "./internal/*": { + "node": "./dist/cjs/internal/*.js", + "es2015": "./dist/esm/internal/*.js", + "default": "./dist/esm5/internal/*.js" + }, + "./package.json": "./package.json" + }, "files": [ "dist/bundles", "dist/cjs/**/!(*.tsbuildinfo)", @@ -225,10 +192,75 @@ "README.md", "tsconfig.json" ], + "homepage": "https://rxjs.dev", "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "validate-commit-msg" } - } + }, + "keywords": [ + "Rx", + "RxJS", + "ReactiveX", + "ReactiveExtensions", + "Streams", + "Observables", + "Observable", + "Stream", + "ES6", + "ES2015" + ], + "license": "Apache-2.0", + "lint-staged": { + "*.js": "eslint --cache --fix", + "(src|spec)/**/*.ts": [ + "tslint --fix", + "prettier --write" + ], + "*.{js,css,md}": "prettier --write" + }, + "main": "./dist/cjs/index.js", + "module": "./dist/esm5/index.js", + "name": "rxjs", + "repository": { + "type": "git", + "url": "git+https://github.com/reactivex/rxjs.git" + }, + "scripts": { + "api_guardian": "ts-api-guardian --verifyDir api_guard dist/types/index.d.ts dist/types/ajax/index.d.ts dist/types/fetch/index.d.ts dist/types/operators/index.d.ts dist/types/testing/index.d.ts dist/types/webSocket/index.d.ts", + "api_guardian:update": "tsc -b ./src/tsconfig.types.json && ts-api-guardian --outDir api_guard dist/types/index.d.ts dist/types/ajax/index.d.ts dist/types/fetch/index.d.ts dist/types/operators/index.d.ts dist/types/testing/index.d.ts dist/types/webSocket/index.d.ts", + "build:clean": "shx rm -rf ./dist", + "build:global": "node ./tools/make-umd-bundle.js && node ./tools/make-closure-core.js", + "build:package": "npm-run-all build:clean compile build:global && node ./tools/prepare-package.js && node ./tools/generate-alias.js", + "build:spec:browser": "echo \"Browser test is not working currently\" && exit -1 && webpack --config spec/support/webpack.mocha.config.js", + "changelog": "npx conventional-changelog-cli -p angular -i CHANGELOG.md -s", + "compile": "tsc -b ./src/tsconfig.cjs.json ./src/tsconfig.cjs.spec.json ./src/tsconfig.esm.json ./src/tsconfig.esm5.json ./src/tsconfig.esm5.rollup.json ./src/tsconfig.types.json ./src/tsconfig.types.spec.json ./spec/tsconfig.json", + "dtslint": "tsc -b ./src/tsconfig.types.json && tslint -c spec-dtslint/tslint.json -p spec-dtslint/tsconfig.json \"spec-dtslint/**/*.ts\"", + "lint": "npm-run-all --parallel lint_*", + "lint_spec": "tslint -c spec/tslint.json -p spec/tsconfig.json \"spec/**/*.ts\"", + "lint_src": "tslint -c tslint.json -p src/tsconfig.base.json \"src/**/*.ts\"", + "prepublishOnly": "npm run build:package && npm run lint && npm run test && npm run test:circular && npm run dtslint && npm run test:side-effects && npm run api_guardian", + "publish_docs": "./publish_docs.sh", + "test": "npm run compile && mocha --config spec/support/.mocharc.js \"dist/spec/**/*-spec.js\"", + "test:browser": "echo \"Browser test is not working currently\" && exit -1 && npm-run-all build:spec:browser && opn spec/support/mocha-browser-runner.html", + "test:circular": "dependency-cruiser --validate .dependency-cruiser.json -x \"^node_modules\" dist/esm5", + "test:esm": "node spec/module-test-spec.mjs", + "test:import": "ts-node ./integration/import/runner.ts", + "test:side-effects": "check-side-effects --test integration/side-effects/side-effects.json", + "test:side-effects:update": "npm run test:side-effects -- --update", + "test:systemjs": "node integration/systemjs/systemjs-compatibility-spec.js", + "watch": "nodemon -w \"src/\" -w \"spec/\" -e ts -x npm test", + "watch:dtslint": "nodemon -w \"src/\" -w \"spec-dtslint/\" -e ts -x npm run dtslint" + }, + "sideEffects": false, + "types": "index.d.ts", + "typesVersions": { + ">=4.2": { + "*": [ + "dist/types/*" + ] + } + }, + "version": "7.5.1" } diff --git a/node_modules/safe-buffer/package.json b/node_modules/safe-buffer/package.json index f2869e256..eae75664f 100644 --- a/node_modules/safe-buffer/package.json +++ b/node_modules/safe-buffer/package.json @@ -1,7 +1,33 @@ { - "name": "safe-buffer", - "description": "Safer Node.js Buffer API", - "version": "5.2.1", + "_args": [ + [ + "safe-buffer@5.2.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "safe-buffer@5.2.1", + "_id": "safe-buffer@5.2.1", + "_inBundle": false, + "_integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "_location": "/safe-buffer", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "safe-buffer@5.2.1", + "name": "safe-buffer", + "escapedName": "safe-buffer", + "rawSpec": "5.2.1", + "saveSpec": null, + "fetchSpec": "5.2.1" + }, + "_requiredBy": [ + "/content-disposition", + "/express" + ], + "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "_spec": "5.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -10,10 +36,25 @@ "bugs": { "url": "https://github.com/feross/safe-buffer/issues" }, + "description": "Safer Node.js Buffer API", "devDependencies": { "standard": "*", "tape": "^5.0.0" }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "homepage": "https://github.com/feross/safe-buffer", "keywords": [ "buffer", @@ -26,7 +67,7 @@ ], "license": "MIT", "main": "index.js", - "types": "index.d.ts", + "name": "safe-buffer", "repository": { "type": "git", "url": "git://github.com/feross/safe-buffer.git" @@ -34,18 +75,6 @@ "scripts": { "test": "standard && tape test/*.js" }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "types": "index.d.ts", + "version": "5.2.1" } diff --git a/node_modules/safer-buffer/package.json b/node_modules/safer-buffer/package.json index d452b04ae..211be24f3 100644 --- a/node_modules/safer-buffer/package.json +++ b/node_modules/safer-buffer/package.json @@ -1,25 +1,41 @@ { - "name": "safer-buffer", - "version": "2.1.2", - "description": "Modern Buffer API polyfill without footguns", - "main": "safer.js", - "scripts": { - "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js", - "test": "standard && tape tests.js" + "_args": [ + [ + "safer-buffer@2.1.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "safer-buffer@2.1.2", + "_id": "safer-buffer@2.1.2", + "_inBundle": false, + "_integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "_location": "/safer-buffer", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "safer-buffer@2.1.2", + "name": "safer-buffer", + "escapedName": "safer-buffer", + "rawSpec": "2.1.2", + "saveSpec": null, + "fetchSpec": "2.1.2" }, + "_requiredBy": [ + "/iconv-lite" + ], + "_resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "_spec": "2.1.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Nikita Skovoroda", "email": "chalkerx@gmail.com", "url": "https://github.com/ChALkeR" }, - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/ChALkeR/safer-buffer.git" - }, "bugs": { "url": "https://github.com/ChALkeR/safer-buffer/issues" }, + "description": "Modern Buffer API polyfill without footguns", "devDependencies": { "standard": "^11.0.1", "tape": "^4.9.0" @@ -30,5 +46,18 @@ "tests.js", "dangerous.js", "safer.js" - ] + ], + "homepage": "https://github.com/ChALkeR/safer-buffer#readme", + "license": "MIT", + "main": "safer.js", + "name": "safer-buffer", + "repository": { + "type": "git", + "url": "git+https://github.com/ChALkeR/safer-buffer.git" + }, + "scripts": { + "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js", + "test": "standard && tape tests.js" + }, + "version": "2.1.2" } diff --git a/node_modules/sax/package.json b/node_modules/sax/package.json index 2c8208938..8e8ab7653 100644 --- a/node_modules/sax/package.json +++ b/node_modules/sax/package.json @@ -1,23 +1,60 @@ { - "name": "sax", + "_from": "sax@1.2.1", + "_id": "sax@1.2.1", + "_inBundle": false, + "_integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o=", + "_location": "/sax", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "sax@1.2.1", + "name": "sax", + "escapedName": "sax", + "rawSpec": "1.2.1", + "saveSpec": null, + "fetchSpec": "1.2.1" + }, + "_requiredBy": [ + "/aws-sdk", + "/xml2js" + ], + "_resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", + "_shasum": "7b8e656190b228e81a66aea748480d828cd2d37a", + "_spec": "sax@1.2.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/aws-sdk", + "author": { + "name": "Isaac Z. Schlueter", + "email": "i@izs.me", + "url": "http://blog.izs.me/" + }, + "bugs": { + "url": "https://github.com/isaacs/sax-js/issues" + }, + "bundleDependencies": false, + "deprecated": false, "description": "An evented streaming XML parser in JavaScript", - "author": "Isaac Z. Schlueter (http://blog.izs.me/)", - "version": "1.2.1", - "main": "lib/sax.js", - "license": "ISC", - "scripts": { - "test": "tap test/*.js --cov", - "posttest": "standard -F test/*.js lib/*.js" + "devDependencies": { + "standard": "^5.3.1", + "tap": "^5.2.0" }, - "repository": "git://github.com/isaacs/sax-js.git", "files": [ "lib/sax.js", "LICENSE", "LICENSE-W3C.html", "README.md" ], - "devDependencies": { - "standard": "^5.3.1", - "tap": "^5.2.0" - } + "homepage": "https://github.com/isaacs/sax-js#readme", + "license": "ISC", + "main": "lib/sax.js", + "name": "sax", + "repository": { + "type": "git", + "url": "git://github.com/isaacs/sax-js.git" + }, + "scripts": { + "posttest": "standard -F test/*.js lib/*.js", + "test": "tap test/*.js --cov" + }, + "version": "1.2.1" } diff --git a/node_modules/saxes/package.json b/node_modules/saxes/package.json index ac987e721..1664c1410 100644 --- a/node_modules/saxes/package.json +++ b/node_modules/saxes/package.json @@ -1,31 +1,44 @@ { - "name": "saxes", - "description": "An evented streaming XML parser in JavaScript", - "author": "Louis-Dominique Dubeau ", - "version": "5.0.1", - "main": "saxes.js", - "types": "saxes.d.ts", - "license": "ISC", - "engines": { - "node": ">=10" + "_args": [ + [ + "saxes@5.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "saxes@5.0.1", + "_id": "saxes@5.0.1", + "_inBundle": false, + "_integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "_location": "/saxes", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "saxes@5.0.1", + "name": "saxes", + "escapedName": "saxes", + "rawSpec": "5.0.1", + "saveSpec": null, + "fetchSpec": "5.0.1" }, - "scripts": { - "tsc": "tsc", - "copy": "cp -p README.md build/dist && sed -e'/\"private\": true/d' package.json > build/dist/package.json", - "build": "npm run tsc && npm run copy", - "test": "npm run build && mocha --delay", - "lint": "eslint --ignore-path .gitignore '**/*.ts' '**/*.js'", - "lint-fix": "npm run lint -- --fix", - "posttest": "npm run lint", - "typedoc": "typedoc --tsconfig tsconfig.json --name saxes --out build/docs/ --listInvalidSymbolLinks --excludePrivate --excludeNotExported", - "build-docs": "npm run typedoc", - "gh-pages": "npm run build-docs && mkdir -p build && (cd build; rm -rf gh-pages; git clone .. --branch gh-pages gh-pages) && mkdir -p build/gh-pages/latest && find build/gh-pages/latest -type f -delete && cp -rp build/docs/* build/gh-pages/latest && find build/gh-pages -type d -empty -delete", - "self:publish": "cd build/dist && npm_config_tag=`simple-dist-tag` npm publish", - "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", - "postversion": "npm run test && npm run self:publish", - "postpublish": "git push origin --follow-tags" + "_requiredBy": [ + "/jsdom" + ], + "_resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "_spec": "5.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Louis-Dominique Dubeau", + "email": "ldd@lddubeau.com" + }, + "bugs": { + "url": "https://github.com/lddubeau/saxes/issues" + }, + "dependencies": { + "xmlchars": "^2.2.0" }, - "repository": "https://github.com/lddubeau/saxes.git", + "description": "An evented streaming XML parser in JavaScript", "devDependencies": { "@commitlint/cli": "^8.3.5", "@commitlint/config-angular": "^8.3.4", @@ -59,12 +72,38 @@ "typedoc": "^0.17.4", "typescript": "^3.8.3" }, - "dependencies": { - "xmlchars": "^2.2.0" + "engines": { + "node": ">=10" }, + "homepage": "https://github.com/lddubeau/saxes#readme", "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } - } + }, + "license": "ISC", + "main": "saxes.js", + "name": "saxes", + "repository": { + "type": "git", + "url": "git+https://github.com/lddubeau/saxes.git" + }, + "scripts": { + "build": "npm run tsc && npm run copy", + "build-docs": "npm run typedoc", + "copy": "cp -p README.md build/dist && sed -e'/\"private\": true/d' package.json > build/dist/package.json", + "gh-pages": "npm run build-docs && mkdir -p build && (cd build; rm -rf gh-pages; git clone .. --branch gh-pages gh-pages) && mkdir -p build/gh-pages/latest && find build/gh-pages/latest -type f -delete && cp -rp build/docs/* build/gh-pages/latest && find build/gh-pages -type d -empty -delete", + "lint": "eslint --ignore-path .gitignore '**/*.ts' '**/*.js'", + "lint-fix": "npm run lint -- --fix", + "postpublish": "git push origin --follow-tags", + "posttest": "npm run lint", + "postversion": "npm run test && npm run self:publish", + "self:publish": "cd build/dist && npm_config_tag=`simple-dist-tag` npm publish", + "test": "npm run build && mocha --delay", + "tsc": "tsc", + "typedoc": "typedoc --tsconfig tsconfig.json --name saxes --out build/docs/ --listInvalidSymbolLinks --excludePrivate --excludeNotExported", + "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md" + }, + "types": "saxes.d.ts", + "version": "5.0.1" } diff --git a/node_modules/semver-compare/package.json b/node_modules/semver-compare/package.json index 0b111ffcd..fac55ea0d 100644 --- a/node_modules/semver-compare/package.json +++ b/node_modules/semver-compare/package.json @@ -1,19 +1,46 @@ { - "name": "semver-compare", - "version": "1.0.0", - "description": "compare two semver version strings, returning -1, 0, or 1", - "main": "index.js", + "_args": [ + [ + "semver-compare@1.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "semver-compare@1.0.0", + "_id": "semver-compare@1.0.0", + "_inBundle": false, + "_integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", + "_location": "/semver-compare", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "semver-compare@1.0.0", + "name": "semver-compare", + "escapedName": "semver-compare", + "rawSpec": "1.0.0", + "saveSpec": null, + "fetchSpec": "1.0.0" + }, + "_requiredBy": [ + "/please-upgrade-node" + ], + "_resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", + "_spec": "1.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "bugs": { + "url": "https://github.com/substack/semver-compare/issues" + }, "dependencies": {}, + "description": "compare two semver version strings, returning -1, 0, or 1", "devDependencies": { "tape": "^3.0.0" }, - "scripts": { - "test": "tape test/*.js" - }, - "repository": { - "type": "git", - "url": "git://github.com/substack/semver-compare.git" - }, "homepage": "https://github.com/substack/semver-compare", "keywords": [ "semver", @@ -22,10 +49,15 @@ "comparison", "sort" ], - "author": { - "name": "James Halliday", - "email": "mail@substack.net", - "url": "http://substack.net" + "license": "MIT", + "main": "index.js", + "name": "semver-compare", + "repository": { + "type": "git", + "url": "git://github.com/substack/semver-compare.git" + }, + "scripts": { + "test": "tape test/*.js" }, - "license": "MIT" + "version": "1.0.0" } diff --git a/node_modules/semver-diff/index.d.ts b/node_modules/semver-diff/index.d.ts deleted file mode 100644 index d6f6a4277..000000000 --- a/node_modules/semver-diff/index.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -declare namespace semverDiff { - type Result = - | 'major' - | 'premajor' - | 'minor' - | 'preminor' - | 'patch' - | 'prepatch' - | 'prerelease' - | 'build'; -} - -/** -Get the diff type of two [semver](https://github.com/npm/node-semver) versions: `0.0.1 0.0.2` → `patch`. - -@returns The difference type between two semver versions, or `undefined` if they're identical or the second one is lower than the first. - -@example -``` -import semverDiff = require('semver-diff'); - -semverDiff('1.1.1', '1.1.2'); -//=> 'patch' - -semverDiff('1.1.1-foo', '1.1.2'); -//=> 'prepatch' - -semverDiff('0.0.1', '1.0.0'); -//=> 'major' - -semverDiff('0.0.1-foo', '1.0.0'); -//=> 'premajor' - -semverDiff('0.0.1', '0.1.0'); -//=> 'minor' - -semverDiff('0.0.1-foo', '0.1.0'); -//=> 'preminor' - -semverDiff('0.0.1-foo', '0.0.1-foo.bar'); -//=> 'prerelease' - -semverDiff('0.1.0', '0.1.0+foo'); -//=> 'build' - -semverDiff('0.0.1', '0.0.1'); -//=> undefined - -semverDiff('0.0.2', '0.0.1'); -//=> undefined -``` -*/ -declare function semverDiff( - versionA: string, - versionB: string -): semverDiff.Result | undefined; - -export = semverDiff; diff --git a/node_modules/semver-diff/index.js b/node_modules/semver-diff/index.js deleted file mode 100644 index 552180153..000000000 --- a/node_modules/semver-diff/index.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; -const semver = require('semver'); - -module.exports = (versionA, versionB) => { - versionA = semver.parse(versionA); - versionB = semver.parse(versionB); - - if (semver.compareBuild(versionA, versionB) >= 0) { - return; - } - - return semver.diff(versionA, versionB) || 'build'; -}; diff --git a/node_modules/semver-diff/license b/node_modules/semver-diff/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/semver-diff/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/semver-diff/node_modules/.bin/semver b/node_modules/semver-diff/node_modules/.bin/semver deleted file mode 120000 index 5aaadf42c..000000000 --- a/node_modules/semver-diff/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/semver-diff/node_modules/semver/CHANGELOG.md b/node_modules/semver-diff/node_modules/semver/CHANGELOG.md deleted file mode 100644 index f567dd3fe..000000000 --- a/node_modules/semver-diff/node_modules/semver/CHANGELOG.md +++ /dev/null @@ -1,70 +0,0 @@ -# changes log - -## 6.2.0 - -* Coerce numbers to strings when passed to semver.coerce() -* Add `rtl` option to coerce from right to left - -## 6.1.3 - -* Handle X-ranges properly in includePrerelease mode - -## 6.1.2 - -* Do not throw when testing invalid version strings - -## 6.1.1 - -* Add options support for semver.coerce() -* Handle undefined version passed to Range.test - -## 6.1.0 - -* Add semver.compareBuild function -* Support `*` in semver.intersects - -## 6.0 - -* Fix `intersects` logic. - - This is technically a bug fix, but since it is also a change to behavior - that may require users updating their code, it is marked as a major - version increment. - -## 5.7 - -* Add `minVersion` method - -## 5.6 - -* Move boolean `loose` param to an options object, with - backwards-compatibility protection. -* Add ability to opt out of special prerelease version handling with - the `includePrerelease` option flag. - -## 5.5 - -* Add version coercion capabilities - -## 5.4 - -* Add intersection checking - -## 5.3 - -* Add `minSatisfying` method - -## 5.2 - -* Add `prerelease(v)` that returns prerelease components - -## 5.1 - -* Add Backus-Naur for ranges -* Remove excessively cute inspection methods - -## 5.0 - -* Remove AMD/Browserified build artifacts -* Fix ltr and gtr when using the `*` range -* Fix for range `*` with a prerelease identifier diff --git a/node_modules/semver-diff/node_modules/semver/LICENSE b/node_modules/semver-diff/node_modules/semver/LICENSE deleted file mode 100644 index 19129e315..000000000 --- a/node_modules/semver-diff/node_modules/semver/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/semver-diff/node_modules/semver/README.md b/node_modules/semver-diff/node_modules/semver/README.md deleted file mode 100644 index 2293a14fd..000000000 --- a/node_modules/semver-diff/node_modules/semver/README.md +++ /dev/null @@ -1,443 +0,0 @@ -semver(1) -- The semantic versioner for npm -=========================================== - -## Install - -```bash -npm install semver -```` - -## Usage - -As a node module: - -```js -const semver = require('semver') - -semver.valid('1.2.3') // '1.2.3' -semver.valid('a.b.c') // null -semver.clean(' =v1.2.3 ') // '1.2.3' -semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true -semver.gt('1.2.3', '9.8.7') // false -semver.lt('1.2.3', '9.8.7') // true -semver.minVersion('>=1.0.0') // '1.0.0' -semver.valid(semver.coerce('v2')) // '2.0.0' -semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7' -``` - -As a command-line utility: - -``` -$ semver -h - -A JavaScript implementation of the https://semver.org/ specification -Copyright Isaac Z. Schlueter - -Usage: semver [options] [ [...]] -Prints valid versions sorted by SemVer precedence - -Options: --r --range - Print versions that match the specified range. - --i --increment [] - Increment a version by the specified level. Level can - be one of: major, minor, patch, premajor, preminor, - prepatch, or prerelease. Default level is 'patch'. - Only one version may be specified. - ---preid - Identifier to be used to prefix premajor, preminor, - prepatch or prerelease version increments. - --l --loose - Interpret versions and ranges loosely - --p --include-prerelease - Always include prerelease versions in range matching - --c --coerce - Coerce a string into SemVer if possible - (does not imply --loose) - ---rtl - Coerce version strings right to left - ---ltr - Coerce version strings left to right (default) - -Program exits successfully if any valid version satisfies -all supplied ranges, and prints all satisfying versions. - -If no satisfying versions are found, then exits failure. - -Versions are printed in ascending order, so supplying -multiple versions to the utility will just sort them. -``` - -## Versions - -A "version" is described by the `v2.0.0` specification found at -. - -A leading `"="` or `"v"` character is stripped off and ignored. - -## Ranges - -A `version range` is a set of `comparators` which specify versions -that satisfy the range. - -A `comparator` is composed of an `operator` and a `version`. The set -of primitive `operators` is: - -* `<` Less than -* `<=` Less than or equal to -* `>` Greater than -* `>=` Greater than or equal to -* `=` Equal. If no operator is specified, then equality is assumed, - so this operator is optional, but MAY be included. - -For example, the comparator `>=1.2.7` would match the versions -`1.2.7`, `1.2.8`, `2.5.3`, and `1.3.9`, but not the versions `1.2.6` -or `1.1.0`. - -Comparators can be joined by whitespace to form a `comparator set`, -which is satisfied by the **intersection** of all of the comparators -it includes. - -A range is composed of one or more comparator sets, joined by `||`. A -version matches a range if and only if every comparator in at least -one of the `||`-separated comparator sets is satisfied by the version. - -For example, the range `>=1.2.7 <1.3.0` would match the versions -`1.2.7`, `1.2.8`, and `1.2.99`, but not the versions `1.2.6`, `1.3.0`, -or `1.1.0`. - -The range `1.2.7 || >=1.2.9 <2.0.0` would match the versions `1.2.7`, -`1.2.9`, and `1.4.6`, but not the versions `1.2.8` or `2.0.0`. - -### Prerelease Tags - -If a version has a prerelease tag (for example, `1.2.3-alpha.3`) then -it will only be allowed to satisfy comparator sets if at least one -comparator with the same `[major, minor, patch]` tuple also has a -prerelease tag. - -For example, the range `>1.2.3-alpha.3` would be allowed to match the -version `1.2.3-alpha.7`, but it would *not* be satisfied by -`3.4.5-alpha.9`, even though `3.4.5-alpha.9` is technically "greater -than" `1.2.3-alpha.3` according to the SemVer sort rules. The version -range only accepts prerelease tags on the `1.2.3` version. The -version `3.4.5` *would* satisfy the range, because it does not have a -prerelease flag, and `3.4.5` is greater than `1.2.3-alpha.7`. - -The purpose for this behavior is twofold. First, prerelease versions -frequently are updated very quickly, and contain many breaking changes -that are (by the author's design) not yet fit for public consumption. -Therefore, by default, they are excluded from range matching -semantics. - -Second, a user who has opted into using a prerelease version has -clearly indicated the intent to use *that specific* set of -alpha/beta/rc versions. By including a prerelease tag in the range, -the user is indicating that they are aware of the risk. However, it -is still not appropriate to assume that they have opted into taking a -similar risk on the *next* set of prerelease versions. - -Note that this behavior can be suppressed (treating all prerelease -versions as if they were normal versions, for the purpose of range -matching) by setting the `includePrerelease` flag on the options -object to any -[functions](https://github.com/npm/node-semver#functions) that do -range matching. - -#### Prerelease Identifiers - -The method `.inc` takes an additional `identifier` string argument that -will append the value of the string as a prerelease identifier: - -```javascript -semver.inc('1.2.3', 'prerelease', 'beta') -// '1.2.4-beta.0' -``` - -command-line example: - -```bash -$ semver 1.2.3 -i prerelease --preid beta -1.2.4-beta.0 -``` - -Which then can be used to increment further: - -```bash -$ semver 1.2.4-beta.0 -i prerelease -1.2.4-beta.1 -``` - -### Advanced Range Syntax - -Advanced range syntax desugars to primitive comparators in -deterministic ways. - -Advanced ranges may be combined in the same way as primitive -comparators using white space or `||`. - -#### Hyphen Ranges `X.Y.Z - A.B.C` - -Specifies an inclusive set. - -* `1.2.3 - 2.3.4` := `>=1.2.3 <=2.3.4` - -If a partial version is provided as the first version in the inclusive -range, then the missing pieces are replaced with zeroes. - -* `1.2 - 2.3.4` := `>=1.2.0 <=2.3.4` - -If a partial version is provided as the second version in the -inclusive range, then all versions that start with the supplied parts -of the tuple are accepted, but nothing that would be greater than the -provided tuple parts. - -* `1.2.3 - 2.3` := `>=1.2.3 <2.4.0` -* `1.2.3 - 2` := `>=1.2.3 <3.0.0` - -#### X-Ranges `1.2.x` `1.X` `1.2.*` `*` - -Any of `X`, `x`, or `*` may be used to "stand in" for one of the -numeric values in the `[major, minor, patch]` tuple. - -* `*` := `>=0.0.0` (Any version satisfies) -* `1.x` := `>=1.0.0 <2.0.0` (Matching major version) -* `1.2.x` := `>=1.2.0 <1.3.0` (Matching major and minor versions) - -A partial version range is treated as an X-Range, so the special -character is in fact optional. - -* `""` (empty string) := `*` := `>=0.0.0` -* `1` := `1.x.x` := `>=1.0.0 <2.0.0` -* `1.2` := `1.2.x` := `>=1.2.0 <1.3.0` - -#### Tilde Ranges `~1.2.3` `~1.2` `~1` - -Allows patch-level changes if a minor version is specified on the -comparator. Allows minor-level changes if not. - -* `~1.2.3` := `>=1.2.3 <1.(2+1).0` := `>=1.2.3 <1.3.0` -* `~1.2` := `>=1.2.0 <1.(2+1).0` := `>=1.2.0 <1.3.0` (Same as `1.2.x`) -* `~1` := `>=1.0.0 <(1+1).0.0` := `>=1.0.0 <2.0.0` (Same as `1.x`) -* `~0.2.3` := `>=0.2.3 <0.(2+1).0` := `>=0.2.3 <0.3.0` -* `~0.2` := `>=0.2.0 <0.(2+1).0` := `>=0.2.0 <0.3.0` (Same as `0.2.x`) -* `~0` := `>=0.0.0 <(0+1).0.0` := `>=0.0.0 <1.0.0` (Same as `0.x`) -* `~1.2.3-beta.2` := `>=1.2.3-beta.2 <1.3.0` Note that prereleases in - the `1.2.3` version will be allowed, if they are greater than or - equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but - `1.2.4-beta.2` would not, because it is a prerelease of a - different `[major, minor, patch]` tuple. - -#### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4` - -Allows changes that do not modify the left-most non-zero element in the -`[major, minor, patch]` tuple. In other words, this allows patch and -minor updates for versions `1.0.0` and above, patch updates for -versions `0.X >=0.1.0`, and *no* updates for versions `0.0.X`. - -Many authors treat a `0.x` version as if the `x` were the major -"breaking-change" indicator. - -Caret ranges are ideal when an author may make breaking changes -between `0.2.4` and `0.3.0` releases, which is a common practice. -However, it presumes that there will *not* be breaking changes between -`0.2.4` and `0.2.5`. It allows for changes that are presumed to be -additive (but non-breaking), according to commonly observed practices. - -* `^1.2.3` := `>=1.2.3 <2.0.0` -* `^0.2.3` := `>=0.2.3 <0.3.0` -* `^0.0.3` := `>=0.0.3 <0.0.4` -* `^1.2.3-beta.2` := `>=1.2.3-beta.2 <2.0.0` Note that prereleases in - the `1.2.3` version will be allowed, if they are greater than or - equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but - `1.2.4-beta.2` would not, because it is a prerelease of a - different `[major, minor, patch]` tuple. -* `^0.0.3-beta` := `>=0.0.3-beta <0.0.4` Note that prereleases in the - `0.0.3` version *only* will be allowed, if they are greater than or - equal to `beta`. So, `0.0.3-pr.2` would be allowed. - -When parsing caret ranges, a missing `patch` value desugars to the -number `0`, but will allow flexibility within that value, even if the -major and minor versions are both `0`. - -* `^1.2.x` := `>=1.2.0 <2.0.0` -* `^0.0.x` := `>=0.0.0 <0.1.0` -* `^0.0` := `>=0.0.0 <0.1.0` - -A missing `minor` and `patch` values will desugar to zero, but also -allow flexibility within those values, even if the major version is -zero. - -* `^1.x` := `>=1.0.0 <2.0.0` -* `^0.x` := `>=0.0.0 <1.0.0` - -### Range Grammar - -Putting all this together, here is a Backus-Naur grammar for ranges, -for the benefit of parser authors: - -```bnf -range-set ::= range ( logical-or range ) * -logical-or ::= ( ' ' ) * '||' ( ' ' ) * -range ::= hyphen | simple ( ' ' simple ) * | '' -hyphen ::= partial ' - ' partial -simple ::= primitive | partial | tilde | caret -primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial -partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? -xr ::= 'x' | 'X' | '*' | nr -nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) * -tilde ::= '~' partial -caret ::= '^' partial -qualifier ::= ( '-' pre )? ( '+' build )? -pre ::= parts -build ::= parts -parts ::= part ( '.' part ) * -part ::= nr | [-0-9A-Za-z]+ -``` - -## Functions - -All methods and classes take a final `options` object argument. All -options in this object are `false` by default. The options supported -are: - -- `loose` Be more forgiving about not-quite-valid semver strings. - (Any resulting output will always be 100% strict compliant, of - course.) For backwards compatibility reasons, if the `options` - argument is a boolean value instead of an object, it is interpreted - to be the `loose` param. -- `includePrerelease` Set to suppress the [default - behavior](https://github.com/npm/node-semver#prerelease-tags) of - excluding prerelease tagged versions from ranges unless they are - explicitly opted into. - -Strict-mode Comparators and Ranges will be strict about the SemVer -strings that they parse. - -* `valid(v)`: Return the parsed version, or null if it's not valid. -* `inc(v, release)`: Return the version incremented by the release - type (`major`, `premajor`, `minor`, `preminor`, `patch`, - `prepatch`, or `prerelease`), or null if it's not valid - * `premajor` in one call will bump the version up to the next major - version and down to a prerelease of that major version. - `preminor`, and `prepatch` work the same way. - * If called from a non-prerelease version, the `prerelease` will work the - same as `prepatch`. It increments the patch version, then makes a - prerelease. If the input version is already a prerelease it simply - increments it. -* `prerelease(v)`: Returns an array of prerelease components, or null - if none exist. Example: `prerelease('1.2.3-alpha.1') -> ['alpha', 1]` -* `major(v)`: Return the major version number. -* `minor(v)`: Return the minor version number. -* `patch(v)`: Return the patch version number. -* `intersects(r1, r2, loose)`: Return true if the two supplied ranges - or comparators intersect. -* `parse(v)`: Attempt to parse a string as a semantic version, returning either - a `SemVer` object or `null`. - -### Comparison - -* `gt(v1, v2)`: `v1 > v2` -* `gte(v1, v2)`: `v1 >= v2` -* `lt(v1, v2)`: `v1 < v2` -* `lte(v1, v2)`: `v1 <= v2` -* `eq(v1, v2)`: `v1 == v2` This is true if they're logically equivalent, - even if they're not the exact same string. You already know how to - compare strings. -* `neq(v1, v2)`: `v1 != v2` The opposite of `eq`. -* `cmp(v1, comparator, v2)`: Pass in a comparison string, and it'll call - the corresponding function above. `"==="` and `"!=="` do simple - string comparison, but are included for completeness. Throws if an - invalid comparison string is provided. -* `compare(v1, v2)`: Return `0` if `v1 == v2`, or `1` if `v1` is greater, or `-1` if - `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. -* `rcompare(v1, v2)`: The reverse of compare. Sorts an array of versions - in descending order when passed to `Array.sort()`. -* `compareBuild(v1, v2)`: The same as `compare` but considers `build` when two versions - are equal. Sorts in ascending order if passed to `Array.sort()`. - `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. -* `diff(v1, v2)`: Returns difference between two versions by the release type - (`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`), - or null if the versions are the same. - -### Comparators - -* `intersects(comparator)`: Return true if the comparators intersect - -### Ranges - -* `validRange(range)`: Return the valid range or null if it's not valid -* `satisfies(version, range)`: Return true if the version satisfies the - range. -* `maxSatisfying(versions, range)`: Return the highest version in the list - that satisfies the range, or `null` if none of them do. -* `minSatisfying(versions, range)`: Return the lowest version in the list - that satisfies the range, or `null` if none of them do. -* `minVersion(range)`: Return the lowest version that can possibly match - the given range. -* `gtr(version, range)`: Return `true` if version is greater than all the - versions possible in the range. -* `ltr(version, range)`: Return `true` if version is less than all the - versions possible in the range. -* `outside(version, range, hilo)`: Return true if the version is outside - the bounds of the range in either the high or low direction. The - `hilo` argument must be either the string `'>'` or `'<'`. (This is - the function called by `gtr` and `ltr`.) -* `intersects(range)`: Return true if any of the ranges comparators intersect - -Note that, since ranges may be non-contiguous, a version might not be -greater than a range, less than a range, *or* satisfy a range! For -example, the range `1.2 <1.2.9 || >2.0.0` would have a hole from `1.2.9` -until `2.0.0`, so the version `1.2.10` would not be greater than the -range (because `2.0.1` satisfies, which is higher), nor less than the -range (since `1.2.8` satisfies, which is lower), and it also does not -satisfy the range. - -If you want to know if a version satisfies or does not satisfy a -range, use the `satisfies(version, range)` function. - -### Coercion - -* `coerce(version, options)`: Coerces a string to semver if possible - -This aims to provide a very forgiving translation of a non-semver string to -semver. It looks for the first digit in a string, and consumes all -remaining characters which satisfy at least a partial semver (e.g., `1`, -`1.2`, `1.2.3`) up to the max permitted length (256 characters). Longer -versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`). All -surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes -`3.4.0`). Only text which lacks digits will fail coercion (`version one` -is not valid). The maximum length for any semver component considered for -coercion is 16 characters; longer components will be ignored -(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any -semver component is `Integer.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value -components are invalid (`9999999999999999.4.7.4` is likely invalid). - -If the `options.rtl` flag is set, then `coerce` will return the right-most -coercible tuple that does not share an ending index with a longer coercible -tuple. For example, `1.2.3.4` will return `2.3.4` in rtl mode, not -`4.0.0`. `1.2.3/4` will return `4.0.0`, because the `4` is not a part of -any other overlapping SemVer tuple. - -### Clean - -* `clean(version)`: Clean a string to be a valid semver if possible - -This will return a cleaned and trimmed semver version. If the provided version is not valid a null will be returned. This does not work for ranges. - -ex. -* `s.clean(' = v 2.1.5foo')`: `null` -* `s.clean(' = v 2.1.5foo', { loose: true })`: `'2.1.5-foo'` -* `s.clean(' = v 2.1.5-foo')`: `null` -* `s.clean(' = v 2.1.5-foo', { loose: true })`: `'2.1.5-foo'` -* `s.clean('=v2.1.5')`: `'2.1.5'` -* `s.clean(' =v2.1.5')`: `2.1.5` -* `s.clean(' 2.1.5 ')`: `'2.1.5'` -* `s.clean('~1.0.0')`: `null` diff --git a/node_modules/semver-diff/node_modules/semver/bin/semver.js b/node_modules/semver-diff/node_modules/semver/bin/semver.js deleted file mode 100755 index 666034a75..000000000 --- a/node_modules/semver-diff/node_modules/semver/bin/semver.js +++ /dev/null @@ -1,174 +0,0 @@ -#!/usr/bin/env node -// Standalone semver comparison program. -// Exits successfully and prints matching version(s) if -// any supplied version is valid and passes all tests. - -var argv = process.argv.slice(2) - -var versions = [] - -var range = [] - -var inc = null - -var version = require('../package.json').version - -var loose = false - -var includePrerelease = false - -var coerce = false - -var rtl = false - -var identifier - -var semver = require('../semver') - -var reverse = false - -var options = {} - -main() - -function main () { - if (!argv.length) return help() - while (argv.length) { - var a = argv.shift() - var indexOfEqualSign = a.indexOf('=') - if (indexOfEqualSign !== -1) { - a = a.slice(0, indexOfEqualSign) - argv.unshift(a.slice(indexOfEqualSign + 1)) - } - switch (a) { - case '-rv': case '-rev': case '--rev': case '--reverse': - reverse = true - break - case '-l': case '--loose': - loose = true - break - case '-p': case '--include-prerelease': - includePrerelease = true - break - case '-v': case '--version': - versions.push(argv.shift()) - break - case '-i': case '--inc': case '--increment': - switch (argv[0]) { - case 'major': case 'minor': case 'patch': case 'prerelease': - case 'premajor': case 'preminor': case 'prepatch': - inc = argv.shift() - break - default: - inc = 'patch' - break - } - break - case '--preid': - identifier = argv.shift() - break - case '-r': case '--range': - range.push(argv.shift()) - break - case '-c': case '--coerce': - coerce = true - break - case '--rtl': - rtl = true - break - case '--ltr': - rtl = false - break - case '-h': case '--help': case '-?': - return help() - default: - versions.push(a) - break - } - } - - var options = { loose: loose, includePrerelease: includePrerelease, rtl: rtl } - - versions = versions.map(function (v) { - return coerce ? (semver.coerce(v, options) || { version: v }).version : v - }).filter(function (v) { - return semver.valid(v) - }) - if (!versions.length) return fail() - if (inc && (versions.length !== 1 || range.length)) { return failInc() } - - for (var i = 0, l = range.length; i < l; i++) { - versions = versions.filter(function (v) { - return semver.satisfies(v, range[i], options) - }) - if (!versions.length) return fail() - } - return success(versions) -} - -function failInc () { - console.error('--inc can only be used on a single version with no range') - fail() -} - -function fail () { process.exit(1) } - -function success () { - var compare = reverse ? 'rcompare' : 'compare' - versions.sort(function (a, b) { - return semver[compare](a, b, options) - }).map(function (v) { - return semver.clean(v, options) - }).map(function (v) { - return inc ? semver.inc(v, inc, options, identifier) : v - }).forEach(function (v, i, _) { console.log(v) }) -} - -function help () { - console.log(['SemVer ' + version, - '', - 'A JavaScript implementation of the https://semver.org/ specification', - 'Copyright Isaac Z. Schlueter', - '', - 'Usage: semver [options] [ [...]]', - 'Prints valid versions sorted by SemVer precedence', - '', - 'Options:', - '-r --range ', - ' Print versions that match the specified range.', - '', - '-i --increment []', - ' Increment a version by the specified level. Level can', - ' be one of: major, minor, patch, premajor, preminor,', - " prepatch, or prerelease. Default level is 'patch'.", - ' Only one version may be specified.', - '', - '--preid ', - ' Identifier to be used to prefix premajor, preminor,', - ' prepatch or prerelease version increments.', - '', - '-l --loose', - ' Interpret versions and ranges loosely', - '', - '-p --include-prerelease', - ' Always include prerelease versions in range matching', - '', - '-c --coerce', - ' Coerce a string into SemVer if possible', - ' (does not imply --loose)', - '', - '--rtl', - ' Coerce version strings right to left', - '', - '--ltr', - ' Coerce version strings left to right (default)', - '', - 'Program exits successfully if any valid version satisfies', - 'all supplied ranges, and prints all satisfying versions.', - '', - 'If no satisfying versions are found, then exits failure.', - '', - 'Versions are printed in ascending order, so supplying', - 'multiple versions to the utility will just sort them.' - ].join('\n')) -} diff --git a/node_modules/semver-diff/node_modules/semver/package.json b/node_modules/semver-diff/node_modules/semver/package.json deleted file mode 100644 index bdd442f50..000000000 --- a/node_modules/semver-diff/node_modules/semver/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "semver", - "version": "6.3.0", - "description": "The semantic version parser used by npm.", - "main": "semver.js", - "scripts": { - "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --follow-tags" - }, - "devDependencies": { - "tap": "^14.3.1" - }, - "license": "ISC", - "repository": "https://github.com/npm/node-semver", - "bin": { - "semver": "./bin/semver.js" - }, - "files": [ - "bin", - "range.bnf", - "semver.js" - ], - "tap": { - "check-coverage": true - } -} diff --git a/node_modules/semver-diff/node_modules/semver/range.bnf b/node_modules/semver-diff/node_modules/semver/range.bnf deleted file mode 100644 index d4c6ae0d7..000000000 --- a/node_modules/semver-diff/node_modules/semver/range.bnf +++ /dev/null @@ -1,16 +0,0 @@ -range-set ::= range ( logical-or range ) * -logical-or ::= ( ' ' ) * '||' ( ' ' ) * -range ::= hyphen | simple ( ' ' simple ) * | '' -hyphen ::= partial ' - ' partial -simple ::= primitive | partial | tilde | caret -primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial -partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? -xr ::= 'x' | 'X' | '*' | nr -nr ::= '0' | [1-9] ( [0-9] ) * -tilde ::= '~' partial -caret ::= '^' partial -qualifier ::= ( '-' pre )? ( '+' build )? -pre ::= parts -build ::= parts -parts ::= part ( '.' part ) * -part ::= nr | [-0-9A-Za-z]+ diff --git a/node_modules/semver-diff/node_modules/semver/semver.js b/node_modules/semver-diff/node_modules/semver/semver.js deleted file mode 100644 index 636fa4365..000000000 --- a/node_modules/semver-diff/node_modules/semver/semver.js +++ /dev/null @@ -1,1596 +0,0 @@ -exports = module.exports = SemVer - -var debug -/* istanbul ignore next */ -if (typeof process === 'object' && - process.env && - process.env.NODE_DEBUG && - /\bsemver\b/i.test(process.env.NODE_DEBUG)) { - debug = function () { - var args = Array.prototype.slice.call(arguments, 0) - args.unshift('SEMVER') - console.log.apply(console, args) - } -} else { - debug = function () {} -} - -// Note: this is the semver.org version of the spec that it implements -// Not necessarily the package version of this code. -exports.SEMVER_SPEC_VERSION = '2.0.0' - -var MAX_LENGTH = 256 -var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || - /* istanbul ignore next */ 9007199254740991 - -// Max safe segment length for coercion. -var MAX_SAFE_COMPONENT_LENGTH = 16 - -// The actual regexps go on exports.re -var re = exports.re = [] -var src = exports.src = [] -var t = exports.tokens = {} -var R = 0 - -function tok (n) { - t[n] = R++ -} - -// The following Regular Expressions can be used for tokenizing, -// validating, and parsing SemVer version strings. - -// ## Numeric Identifier -// A single `0`, or a non-zero digit followed by zero or more digits. - -tok('NUMERICIDENTIFIER') -src[t.NUMERICIDENTIFIER] = '0|[1-9]\\d*' -tok('NUMERICIDENTIFIERLOOSE') -src[t.NUMERICIDENTIFIERLOOSE] = '[0-9]+' - -// ## Non-numeric Identifier -// Zero or more digits, followed by a letter or hyphen, and then zero or -// more letters, digits, or hyphens. - -tok('NONNUMERICIDENTIFIER') -src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*' - -// ## Main Version -// Three dot-separated numeric identifiers. - -tok('MAINVERSION') -src[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIER] + ')' - -tok('MAINVERSIONLOOSE') -src[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + - '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')' - -// ## Pre-release Version Identifier -// A numeric identifier, or a non-numeric identifier. - -tok('PRERELEASEIDENTIFIER') -src[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] + - '|' + src[t.NONNUMERICIDENTIFIER] + ')' - -tok('PRERELEASEIDENTIFIERLOOSE') -src[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] + - '|' + src[t.NONNUMERICIDENTIFIER] + ')' - -// ## Pre-release Version -// Hyphen, followed by one or more dot-separated pre-release version -// identifiers. - -tok('PRERELEASE') -src[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] + - '(?:\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))' - -tok('PRERELEASELOOSE') -src[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] + - '(?:\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))' - -// ## Build Metadata Identifier -// Any combination of digits, letters, or hyphens. - -tok('BUILDIDENTIFIER') -src[t.BUILDIDENTIFIER] = '[0-9A-Za-z-]+' - -// ## Build Metadata -// Plus sign, followed by one or more period-separated build metadata -// identifiers. - -tok('BUILD') -src[t.BUILD] = '(?:\\+(' + src[t.BUILDIDENTIFIER] + - '(?:\\.' + src[t.BUILDIDENTIFIER] + ')*))' - -// ## Full Version String -// A main version, followed optionally by a pre-release version and -// build metadata. - -// Note that the only major, minor, patch, and pre-release sections of -// the version string are capturing groups. The build metadata is not a -// capturing group, because it should not ever be used in version -// comparison. - -tok('FULL') -tok('FULLPLAIN') -src[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] + - src[t.PRERELEASE] + '?' + - src[t.BUILD] + '?' - -src[t.FULL] = '^' + src[t.FULLPLAIN] + '$' - -// like full, but allows v1.2.3 and =1.2.3, which people do sometimes. -// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty -// common in the npm registry. -tok('LOOSEPLAIN') -src[t.LOOSEPLAIN] = '[v=\\s]*' + src[t.MAINVERSIONLOOSE] + - src[t.PRERELEASELOOSE] + '?' + - src[t.BUILD] + '?' - -tok('LOOSE') -src[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$' - -tok('GTLT') -src[t.GTLT] = '((?:<|>)?=?)' - -// Something like "2.*" or "1.2.x". -// Note that "x.x" is a valid xRange identifer, meaning "any version" -// Only the first item is strictly required. -tok('XRANGEIDENTIFIERLOOSE') -src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' -tok('XRANGEIDENTIFIER') -src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\*' - -tok('XRANGEPLAIN') -src[t.XRANGEPLAIN] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + - '(?:' + src[t.PRERELEASE] + ')?' + - src[t.BUILD] + '?' + - ')?)?' - -tok('XRANGEPLAINLOOSE') -src[t.XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + - '(?:' + src[t.PRERELEASELOOSE] + ')?' + - src[t.BUILD] + '?' + - ')?)?' - -tok('XRANGE') -src[t.XRANGE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAIN] + '$' -tok('XRANGELOOSE') -src[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAINLOOSE] + '$' - -// Coercion. -// Extract anything that could conceivably be a part of a valid semver -tok('COERCE') -src[t.COERCE] = '(^|[^\\d])' + - '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' + - '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + - '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + - '(?:$|[^\\d])' -tok('COERCERTL') -re[t.COERCERTL] = new RegExp(src[t.COERCE], 'g') - -// Tilde ranges. -// Meaning is "reasonably at or greater than" -tok('LONETILDE') -src[t.LONETILDE] = '(?:~>?)' - -tok('TILDETRIM') -src[t.TILDETRIM] = '(\\s*)' + src[t.LONETILDE] + '\\s+' -re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g') -var tildeTrimReplace = '$1~' - -tok('TILDE') -src[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$' -tok('TILDELOOSE') -src[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$' - -// Caret ranges. -// Meaning is "at least and backwards compatible with" -tok('LONECARET') -src[t.LONECARET] = '(?:\\^)' - -tok('CARETTRIM') -src[t.CARETTRIM] = '(\\s*)' + src[t.LONECARET] + '\\s+' -re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g') -var caretTrimReplace = '$1^' - -tok('CARET') -src[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$' -tok('CARETLOOSE') -src[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$' - -// A simple gt/lt/eq thing, or just "" to indicate "any version" -tok('COMPARATORLOOSE') -src[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\s*(' + src[t.LOOSEPLAIN] + ')$|^$' -tok('COMPARATOR') -src[t.COMPARATOR] = '^' + src[t.GTLT] + '\\s*(' + src[t.FULLPLAIN] + ')$|^$' - -// An expression to strip any whitespace between the gtlt and the thing -// it modifies, so that `> 1.2.3` ==> `>1.2.3` -tok('COMPARATORTRIM') -src[t.COMPARATORTRIM] = '(\\s*)' + src[t.GTLT] + - '\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')' - -// this one has to use the /g flag -re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g') -var comparatorTrimReplace = '$1$2$3' - -// Something like `1.2.3 - 1.2.4` -// Note that these all use the loose form, because they'll be -// checked against either the strict or loose comparator form -// later. -tok('HYPHENRANGE') -src[t.HYPHENRANGE] = '^\\s*(' + src[t.XRANGEPLAIN] + ')' + - '\\s+-\\s+' + - '(' + src[t.XRANGEPLAIN] + ')' + - '\\s*$' - -tok('HYPHENRANGELOOSE') -src[t.HYPHENRANGELOOSE] = '^\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' + - '\\s+-\\s+' + - '(' + src[t.XRANGEPLAINLOOSE] + ')' + - '\\s*$' - -// Star ranges basically just allow anything at all. -tok('STAR') -src[t.STAR] = '(<|>)?=?\\s*\\*' - -// Compile to actual regexp objects. -// All are flag-free, unless they were created above with a flag. -for (var i = 0; i < R; i++) { - debug(i, src[i]) - if (!re[i]) { - re[i] = new RegExp(src[i]) - } -} - -exports.parse = parse -function parse (version, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (version instanceof SemVer) { - return version - } - - if (typeof version !== 'string') { - return null - } - - if (version.length > MAX_LENGTH) { - return null - } - - var r = options.loose ? re[t.LOOSE] : re[t.FULL] - if (!r.test(version)) { - return null - } - - try { - return new SemVer(version, options) - } catch (er) { - return null - } -} - -exports.valid = valid -function valid (version, options) { - var v = parse(version, options) - return v ? v.version : null -} - -exports.clean = clean -function clean (version, options) { - var s = parse(version.trim().replace(/^[=v]+/, ''), options) - return s ? s.version : null -} - -exports.SemVer = SemVer - -function SemVer (version, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - if (version instanceof SemVer) { - if (version.loose === options.loose) { - return version - } else { - version = version.version - } - } else if (typeof version !== 'string') { - throw new TypeError('Invalid Version: ' + version) - } - - if (version.length > MAX_LENGTH) { - throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters') - } - - if (!(this instanceof SemVer)) { - return new SemVer(version, options) - } - - debug('SemVer', version, options) - this.options = options - this.loose = !!options.loose - - var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]) - - if (!m) { - throw new TypeError('Invalid Version: ' + version) - } - - this.raw = version - - // these are actually numbers - this.major = +m[1] - this.minor = +m[2] - this.patch = +m[3] - - if (this.major > MAX_SAFE_INTEGER || this.major < 0) { - throw new TypeError('Invalid major version') - } - - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { - throw new TypeError('Invalid minor version') - } - - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { - throw new TypeError('Invalid patch version') - } - - // numberify any prerelease numeric ids - if (!m[4]) { - this.prerelease = [] - } else { - this.prerelease = m[4].split('.').map(function (id) { - if (/^[0-9]+$/.test(id)) { - var num = +id - if (num >= 0 && num < MAX_SAFE_INTEGER) { - return num - } - } - return id - }) - } - - this.build = m[5] ? m[5].split('.') : [] - this.format() -} - -SemVer.prototype.format = function () { - this.version = this.major + '.' + this.minor + '.' + this.patch - if (this.prerelease.length) { - this.version += '-' + this.prerelease.join('.') - } - return this.version -} - -SemVer.prototype.toString = function () { - return this.version -} - -SemVer.prototype.compare = function (other) { - debug('SemVer.compare', this.version, this.options, other) - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - return this.compareMain(other) || this.comparePre(other) -} - -SemVer.prototype.compareMain = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - return compareIdentifiers(this.major, other.major) || - compareIdentifiers(this.minor, other.minor) || - compareIdentifiers(this.patch, other.patch) -} - -SemVer.prototype.comparePre = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - // NOT having a prerelease is > having one - if (this.prerelease.length && !other.prerelease.length) { - return -1 - } else if (!this.prerelease.length && other.prerelease.length) { - return 1 - } else if (!this.prerelease.length && !other.prerelease.length) { - return 0 - } - - var i = 0 - do { - var a = this.prerelease[i] - var b = other.prerelease[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) -} - -SemVer.prototype.compareBuild = function (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - var i = 0 - do { - var a = this.build[i] - var b = other.build[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) -} - -// preminor will bump the version up to the next minor release, and immediately -// down to pre-release. premajor and prepatch work the same way. -SemVer.prototype.inc = function (release, identifier) { - switch (release) { - case 'premajor': - this.prerelease.length = 0 - this.patch = 0 - this.minor = 0 - this.major++ - this.inc('pre', identifier) - break - case 'preminor': - this.prerelease.length = 0 - this.patch = 0 - this.minor++ - this.inc('pre', identifier) - break - case 'prepatch': - // If this is already a prerelease, it will bump to the next version - // drop any prereleases that might already exist, since they are not - // relevant at this point. - this.prerelease.length = 0 - this.inc('patch', identifier) - this.inc('pre', identifier) - break - // If the input is a non-prerelease version, this acts the same as - // prepatch. - case 'prerelease': - if (this.prerelease.length === 0) { - this.inc('patch', identifier) - } - this.inc('pre', identifier) - break - - case 'major': - // If this is a pre-major version, bump up to the same major version. - // Otherwise increment major. - // 1.0.0-5 bumps to 1.0.0 - // 1.1.0 bumps to 2.0.0 - if (this.minor !== 0 || - this.patch !== 0 || - this.prerelease.length === 0) { - this.major++ - } - this.minor = 0 - this.patch = 0 - this.prerelease = [] - break - case 'minor': - // If this is a pre-minor version, bump up to the same minor version. - // Otherwise increment minor. - // 1.2.0-5 bumps to 1.2.0 - // 1.2.1 bumps to 1.3.0 - if (this.patch !== 0 || this.prerelease.length === 0) { - this.minor++ - } - this.patch = 0 - this.prerelease = [] - break - case 'patch': - // If this is not a pre-release version, it will increment the patch. - // If it is a pre-release it will bump up to the same patch version. - // 1.2.0-5 patches to 1.2.0 - // 1.2.0 patches to 1.2.1 - if (this.prerelease.length === 0) { - this.patch++ - } - this.prerelease = [] - break - // This probably shouldn't be used publicly. - // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction. - case 'pre': - if (this.prerelease.length === 0) { - this.prerelease = [0] - } else { - var i = this.prerelease.length - while (--i >= 0) { - if (typeof this.prerelease[i] === 'number') { - this.prerelease[i]++ - i = -2 - } - } - if (i === -1) { - // didn't increment anything - this.prerelease.push(0) - } - } - if (identifier) { - // 1.2.0-beta.1 bumps to 1.2.0-beta.2, - // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 - if (this.prerelease[0] === identifier) { - if (isNaN(this.prerelease[1])) { - this.prerelease = [identifier, 0] - } - } else { - this.prerelease = [identifier, 0] - } - } - break - - default: - throw new Error('invalid increment argument: ' + release) - } - this.format() - this.raw = this.version - return this -} - -exports.inc = inc -function inc (version, release, loose, identifier) { - if (typeof (loose) === 'string') { - identifier = loose - loose = undefined - } - - try { - return new SemVer(version, loose).inc(release, identifier).version - } catch (er) { - return null - } -} - -exports.diff = diff -function diff (version1, version2) { - if (eq(version1, version2)) { - return null - } else { - var v1 = parse(version1) - var v2 = parse(version2) - var prefix = '' - if (v1.prerelease.length || v2.prerelease.length) { - prefix = 'pre' - var defaultResult = 'prerelease' - } - for (var key in v1) { - if (key === 'major' || key === 'minor' || key === 'patch') { - if (v1[key] !== v2[key]) { - return prefix + key - } - } - } - return defaultResult // may be undefined - } -} - -exports.compareIdentifiers = compareIdentifiers - -var numeric = /^[0-9]+$/ -function compareIdentifiers (a, b) { - var anum = numeric.test(a) - var bnum = numeric.test(b) - - if (anum && bnum) { - a = +a - b = +b - } - - return a === b ? 0 - : (anum && !bnum) ? -1 - : (bnum && !anum) ? 1 - : a < b ? -1 - : 1 -} - -exports.rcompareIdentifiers = rcompareIdentifiers -function rcompareIdentifiers (a, b) { - return compareIdentifiers(b, a) -} - -exports.major = major -function major (a, loose) { - return new SemVer(a, loose).major -} - -exports.minor = minor -function minor (a, loose) { - return new SemVer(a, loose).minor -} - -exports.patch = patch -function patch (a, loose) { - return new SemVer(a, loose).patch -} - -exports.compare = compare -function compare (a, b, loose) { - return new SemVer(a, loose).compare(new SemVer(b, loose)) -} - -exports.compareLoose = compareLoose -function compareLoose (a, b) { - return compare(a, b, true) -} - -exports.compareBuild = compareBuild -function compareBuild (a, b, loose) { - var versionA = new SemVer(a, loose) - var versionB = new SemVer(b, loose) - return versionA.compare(versionB) || versionA.compareBuild(versionB) -} - -exports.rcompare = rcompare -function rcompare (a, b, loose) { - return compare(b, a, loose) -} - -exports.sort = sort -function sort (list, loose) { - return list.sort(function (a, b) { - return exports.compareBuild(a, b, loose) - }) -} - -exports.rsort = rsort -function rsort (list, loose) { - return list.sort(function (a, b) { - return exports.compareBuild(b, a, loose) - }) -} - -exports.gt = gt -function gt (a, b, loose) { - return compare(a, b, loose) > 0 -} - -exports.lt = lt -function lt (a, b, loose) { - return compare(a, b, loose) < 0 -} - -exports.eq = eq -function eq (a, b, loose) { - return compare(a, b, loose) === 0 -} - -exports.neq = neq -function neq (a, b, loose) { - return compare(a, b, loose) !== 0 -} - -exports.gte = gte -function gte (a, b, loose) { - return compare(a, b, loose) >= 0 -} - -exports.lte = lte -function lte (a, b, loose) { - return compare(a, b, loose) <= 0 -} - -exports.cmp = cmp -function cmp (a, op, b, loose) { - switch (op) { - case '===': - if (typeof a === 'object') - a = a.version - if (typeof b === 'object') - b = b.version - return a === b - - case '!==': - if (typeof a === 'object') - a = a.version - if (typeof b === 'object') - b = b.version - return a !== b - - case '': - case '=': - case '==': - return eq(a, b, loose) - - case '!=': - return neq(a, b, loose) - - case '>': - return gt(a, b, loose) - - case '>=': - return gte(a, b, loose) - - case '<': - return lt(a, b, loose) - - case '<=': - return lte(a, b, loose) - - default: - throw new TypeError('Invalid operator: ' + op) - } -} - -exports.Comparator = Comparator -function Comparator (comp, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (comp instanceof Comparator) { - if (comp.loose === !!options.loose) { - return comp - } else { - comp = comp.value - } - } - - if (!(this instanceof Comparator)) { - return new Comparator(comp, options) - } - - debug('comparator', comp, options) - this.options = options - this.loose = !!options.loose - this.parse(comp) - - if (this.semver === ANY) { - this.value = '' - } else { - this.value = this.operator + this.semver.version - } - - debug('comp', this) -} - -var ANY = {} -Comparator.prototype.parse = function (comp) { - var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] - var m = comp.match(r) - - if (!m) { - throw new TypeError('Invalid comparator: ' + comp) - } - - this.operator = m[1] !== undefined ? m[1] : '' - if (this.operator === '=') { - this.operator = '' - } - - // if it literally is just '>' or '' then allow anything. - if (!m[2]) { - this.semver = ANY - } else { - this.semver = new SemVer(m[2], this.options.loose) - } -} - -Comparator.prototype.toString = function () { - return this.value -} - -Comparator.prototype.test = function (version) { - debug('Comparator.test', version, this.options.loose) - - if (this.semver === ANY || version === ANY) { - return true - } - - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } - } - - return cmp(version, this.operator, this.semver, this.options) -} - -Comparator.prototype.intersects = function (comp, options) { - if (!(comp instanceof Comparator)) { - throw new TypeError('a Comparator is required') - } - - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - var rangeTmp - - if (this.operator === '') { - if (this.value === '') { - return true - } - rangeTmp = new Range(comp.value, options) - return satisfies(this.value, rangeTmp, options) - } else if (comp.operator === '') { - if (comp.value === '') { - return true - } - rangeTmp = new Range(this.value, options) - return satisfies(comp.semver, rangeTmp, options) - } - - var sameDirectionIncreasing = - (this.operator === '>=' || this.operator === '>') && - (comp.operator === '>=' || comp.operator === '>') - var sameDirectionDecreasing = - (this.operator === '<=' || this.operator === '<') && - (comp.operator === '<=' || comp.operator === '<') - var sameSemVer = this.semver.version === comp.semver.version - var differentDirectionsInclusive = - (this.operator === '>=' || this.operator === '<=') && - (comp.operator === '>=' || comp.operator === '<=') - var oppositeDirectionsLessThan = - cmp(this.semver, '<', comp.semver, options) && - ((this.operator === '>=' || this.operator === '>') && - (comp.operator === '<=' || comp.operator === '<')) - var oppositeDirectionsGreaterThan = - cmp(this.semver, '>', comp.semver, options) && - ((this.operator === '<=' || this.operator === '<') && - (comp.operator === '>=' || comp.operator === '>')) - - return sameDirectionIncreasing || sameDirectionDecreasing || - (sameSemVer && differentDirectionsInclusive) || - oppositeDirectionsLessThan || oppositeDirectionsGreaterThan -} - -exports.Range = Range -function Range (range, options) { - if (!options || typeof options !== 'object') { - options = { - loose: !!options, - includePrerelease: false - } - } - - if (range instanceof Range) { - if (range.loose === !!options.loose && - range.includePrerelease === !!options.includePrerelease) { - return range - } else { - return new Range(range.raw, options) - } - } - - if (range instanceof Comparator) { - return new Range(range.value, options) - } - - if (!(this instanceof Range)) { - return new Range(range, options) - } - - this.options = options - this.loose = !!options.loose - this.includePrerelease = !!options.includePrerelease - - // First, split based on boolean or || - this.raw = range - this.set = range.split(/\s*\|\|\s*/).map(function (range) { - return this.parseRange(range.trim()) - }, this).filter(function (c) { - // throw out any that are not relevant for whatever reason - return c.length - }) - - if (!this.set.length) { - throw new TypeError('Invalid SemVer Range: ' + range) - } - - this.format() -} - -Range.prototype.format = function () { - this.range = this.set.map(function (comps) { - return comps.join(' ').trim() - }).join('||').trim() - return this.range -} - -Range.prototype.toString = function () { - return this.range -} - -Range.prototype.parseRange = function (range) { - var loose = this.options.loose - range = range.trim() - // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4` - var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE] - range = range.replace(hr, hyphenReplace) - debug('hyphen replace', range) - // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5` - range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace) - debug('comparator trim', range, re[t.COMPARATORTRIM]) - - // `~ 1.2.3` => `~1.2.3` - range = range.replace(re[t.TILDETRIM], tildeTrimReplace) - - // `^ 1.2.3` => `^1.2.3` - range = range.replace(re[t.CARETTRIM], caretTrimReplace) - - // normalize spaces - range = range.split(/\s+/).join(' ') - - // At this point, the range is completely trimmed and - // ready to be split into comparators. - - var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] - var set = range.split(' ').map(function (comp) { - return parseComparator(comp, this.options) - }, this).join(' ').split(/\s+/) - if (this.options.loose) { - // in loose mode, throw out any that are not valid comparators - set = set.filter(function (comp) { - return !!comp.match(compRe) - }) - } - set = set.map(function (comp) { - return new Comparator(comp, this.options) - }, this) - - return set -} - -Range.prototype.intersects = function (range, options) { - if (!(range instanceof Range)) { - throw new TypeError('a Range is required') - } - - return this.set.some(function (thisComparators) { - return ( - isSatisfiable(thisComparators, options) && - range.set.some(function (rangeComparators) { - return ( - isSatisfiable(rangeComparators, options) && - thisComparators.every(function (thisComparator) { - return rangeComparators.every(function (rangeComparator) { - return thisComparator.intersects(rangeComparator, options) - }) - }) - ) - }) - ) - }) -} - -// take a set of comparators and determine whether there -// exists a version which can satisfy it -function isSatisfiable (comparators, options) { - var result = true - var remainingComparators = comparators.slice() - var testComparator = remainingComparators.pop() - - while (result && remainingComparators.length) { - result = remainingComparators.every(function (otherComparator) { - return testComparator.intersects(otherComparator, options) - }) - - testComparator = remainingComparators.pop() - } - - return result -} - -// Mostly just for testing and legacy API reasons -exports.toComparators = toComparators -function toComparators (range, options) { - return new Range(range, options).set.map(function (comp) { - return comp.map(function (c) { - return c.value - }).join(' ').trim().split(' ') - }) -} - -// comprised of xranges, tildes, stars, and gtlt's at this point. -// already replaced the hyphen ranges -// turn into a set of JUST comparators. -function parseComparator (comp, options) { - debug('comp', comp, options) - comp = replaceCarets(comp, options) - debug('caret', comp) - comp = replaceTildes(comp, options) - debug('tildes', comp) - comp = replaceXRanges(comp, options) - debug('xrange', comp) - comp = replaceStars(comp, options) - debug('stars', comp) - return comp -} - -function isX (id) { - return !id || id.toLowerCase() === 'x' || id === '*' -} - -// ~, ~> --> * (any, kinda silly) -// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0 -// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0 -// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0 -// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0 -// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0 -function replaceTildes (comp, options) { - return comp.trim().split(/\s+/).map(function (comp) { - return replaceTilde(comp, options) - }).join(' ') -} - -function replaceTilde (comp, options) { - var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE] - return comp.replace(r, function (_, M, m, p, pr) { - debug('tilde', comp, _, M, m, p, pr) - var ret - - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' - } else if (isX(p)) { - // ~1.2 == >=1.2.0 <1.3.0 - ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' - } else if (pr) { - debug('replaceTilde pr', pr) - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + (+m + 1) + '.0' - } else { - // ~1.2.3 == >=1.2.3 <1.3.0 - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + (+m + 1) + '.0' - } - - debug('tilde return', ret) - return ret - }) -} - -// ^ --> * (any, kinda silly) -// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0 -// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0 -// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0 -// ^1.2.3 --> >=1.2.3 <2.0.0 -// ^1.2.0 --> >=1.2.0 <2.0.0 -function replaceCarets (comp, options) { - return comp.trim().split(/\s+/).map(function (comp) { - return replaceCaret(comp, options) - }).join(' ') -} - -function replaceCaret (comp, options) { - debug('caret', comp, options) - var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET] - return comp.replace(r, function (_, M, m, p, pr) { - debug('caret', comp, _, M, m, p, pr) - var ret - - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' - } else if (isX(p)) { - if (M === '0') { - ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' - } else { - ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0' - } - } else if (pr) { - debug('replaceCaret pr', pr) - if (M === '0') { - if (m === '0') { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + m + '.' + (+p + 1) - } else { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + M + '.' + (+m + 1) + '.0' - } - } else { - ret = '>=' + M + '.' + m + '.' + p + '-' + pr + - ' <' + (+M + 1) + '.0.0' - } - } else { - debug('no pr') - if (M === '0') { - if (m === '0') { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + m + '.' + (+p + 1) - } else { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + M + '.' + (+m + 1) + '.0' - } - } else { - ret = '>=' + M + '.' + m + '.' + p + - ' <' + (+M + 1) + '.0.0' - } - } - - debug('caret return', ret) - return ret - }) -} - -function replaceXRanges (comp, options) { - debug('replaceXRanges', comp, options) - return comp.split(/\s+/).map(function (comp) { - return replaceXRange(comp, options) - }).join(' ') -} - -function replaceXRange (comp, options) { - comp = comp.trim() - var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE] - return comp.replace(r, function (ret, gtlt, M, m, p, pr) { - debug('xRange', comp, ret, gtlt, M, m, p, pr) - var xM = isX(M) - var xm = xM || isX(m) - var xp = xm || isX(p) - var anyX = xp - - if (gtlt === '=' && anyX) { - gtlt = '' - } - - // if we're including prereleases in the match, then we need - // to fix this to -0, the lowest possible prerelease value - pr = options.includePrerelease ? '-0' : '' - - if (xM) { - if (gtlt === '>' || gtlt === '<') { - // nothing is allowed - ret = '<0.0.0-0' - } else { - // nothing is forbidden - ret = '*' - } - } else if (gtlt && anyX) { - // we know patch is an x, because we have any x at all. - // replace X with 0 - if (xm) { - m = 0 - } - p = 0 - - if (gtlt === '>') { - // >1 => >=2.0.0 - // >1.2 => >=1.3.0 - // >1.2.3 => >= 1.2.4 - gtlt = '>=' - if (xm) { - M = +M + 1 - m = 0 - p = 0 - } else { - m = +m + 1 - p = 0 - } - } else if (gtlt === '<=') { - // <=0.7.x is actually <0.8.0, since any 0.7.x should - // pass. Similarly, <=7.x is actually <8.0.0, etc. - gtlt = '<' - if (xm) { - M = +M + 1 - } else { - m = +m + 1 - } - } - - ret = gtlt + M + '.' + m + '.' + p + pr - } else if (xm) { - ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr - } else if (xp) { - ret = '>=' + M + '.' + m + '.0' + pr + - ' <' + M + '.' + (+m + 1) + '.0' + pr - } - - debug('xRange return', ret) - - return ret - }) -} - -// Because * is AND-ed with everything else in the comparator, -// and '' means "any version", just remove the *s entirely. -function replaceStars (comp, options) { - debug('replaceStars', comp, options) - // Looseness is ignored here. star is always as loose as it gets! - return comp.trim().replace(re[t.STAR], '') -} - -// This function is passed to string.replace(re[t.HYPHENRANGE]) -// M, m, patch, prerelease, build -// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 -// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do -// 1.2 - 3.4 => >=1.2.0 <3.5.0 -function hyphenReplace ($0, - from, fM, fm, fp, fpr, fb, - to, tM, tm, tp, tpr, tb) { - if (isX(fM)) { - from = '' - } else if (isX(fm)) { - from = '>=' + fM + '.0.0' - } else if (isX(fp)) { - from = '>=' + fM + '.' + fm + '.0' - } else { - from = '>=' + from - } - - if (isX(tM)) { - to = '' - } else if (isX(tm)) { - to = '<' + (+tM + 1) + '.0.0' - } else if (isX(tp)) { - to = '<' + tM + '.' + (+tm + 1) + '.0' - } else if (tpr) { - to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr - } else { - to = '<=' + to - } - - return (from + ' ' + to).trim() -} - -// if ANY of the sets match ALL of its comparators, then pass -Range.prototype.test = function (version) { - if (!version) { - return false - } - - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } - } - - for (var i = 0; i < this.set.length; i++) { - if (testSet(this.set[i], version, this.options)) { - return true - } - } - return false -} - -function testSet (set, version, options) { - for (var i = 0; i < set.length; i++) { - if (!set[i].test(version)) { - return false - } - } - - if (version.prerelease.length && !options.includePrerelease) { - // Find the set of versions that are allowed to have prereleases - // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0 - // That should allow `1.2.3-pr.2` to pass. - // However, `1.2.4-alpha.notready` should NOT be allowed, - // even though it's within the range set by the comparators. - for (i = 0; i < set.length; i++) { - debug(set[i].semver) - if (set[i].semver === ANY) { - continue - } - - if (set[i].semver.prerelease.length > 0) { - var allowed = set[i].semver - if (allowed.major === version.major && - allowed.minor === version.minor && - allowed.patch === version.patch) { - return true - } - } - } - - // Version has a -pre, but it's not one of the ones we like. - return false - } - - return true -} - -exports.satisfies = satisfies -function satisfies (version, range, options) { - try { - range = new Range(range, options) - } catch (er) { - return false - } - return range.test(version) -} - -exports.maxSatisfying = maxSatisfying -function maxSatisfying (versions, range, options) { - var max = null - var maxSV = null - try { - var rangeObj = new Range(range, options) - } catch (er) { - return null - } - versions.forEach(function (v) { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!max || maxSV.compare(v) === -1) { - // compare(max, v, true) - max = v - maxSV = new SemVer(max, options) - } - } - }) - return max -} - -exports.minSatisfying = minSatisfying -function minSatisfying (versions, range, options) { - var min = null - var minSV = null - try { - var rangeObj = new Range(range, options) - } catch (er) { - return null - } - versions.forEach(function (v) { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!min || minSV.compare(v) === 1) { - // compare(min, v, true) - min = v - minSV = new SemVer(min, options) - } - } - }) - return min -} - -exports.minVersion = minVersion -function minVersion (range, loose) { - range = new Range(range, loose) - - var minver = new SemVer('0.0.0') - if (range.test(minver)) { - return minver - } - - minver = new SemVer('0.0.0-0') - if (range.test(minver)) { - return minver - } - - minver = null - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i] - - comparators.forEach(function (comparator) { - // Clone to avoid manipulating the comparator's semver object. - var compver = new SemVer(comparator.semver.version) - switch (comparator.operator) { - case '>': - if (compver.prerelease.length === 0) { - compver.patch++ - } else { - compver.prerelease.push(0) - } - compver.raw = compver.format() - /* fallthrough */ - case '': - case '>=': - if (!minver || gt(minver, compver)) { - minver = compver - } - break - case '<': - case '<=': - /* Ignore maximum versions */ - break - /* istanbul ignore next */ - default: - throw new Error('Unexpected operation: ' + comparator.operator) - } - }) - } - - if (minver && range.test(minver)) { - return minver - } - - return null -} - -exports.validRange = validRange -function validRange (range, options) { - try { - // Return '*' instead of '' so that truthiness works. - // This will throw if it's invalid anyway - return new Range(range, options).range || '*' - } catch (er) { - return null - } -} - -// Determine if version is less than all the versions possible in the range -exports.ltr = ltr -function ltr (version, range, options) { - return outside(version, range, '<', options) -} - -// Determine if version is greater than all the versions possible in the range. -exports.gtr = gtr -function gtr (version, range, options) { - return outside(version, range, '>', options) -} - -exports.outside = outside -function outside (version, range, hilo, options) { - version = new SemVer(version, options) - range = new Range(range, options) - - var gtfn, ltefn, ltfn, comp, ecomp - switch (hilo) { - case '>': - gtfn = gt - ltefn = lte - ltfn = lt - comp = '>' - ecomp = '>=' - break - case '<': - gtfn = lt - ltefn = gte - ltfn = gt - comp = '<' - ecomp = '<=' - break - default: - throw new TypeError('Must provide a hilo val of "<" or ">"') - } - - // If it satisifes the range it is not outside - if (satisfies(version, range, options)) { - return false - } - - // From now on, variable terms are as if we're in "gtr" mode. - // but note that everything is flipped for the "ltr" function. - - for (var i = 0; i < range.set.length; ++i) { - var comparators = range.set[i] - - var high = null - var low = null - - comparators.forEach(function (comparator) { - if (comparator.semver === ANY) { - comparator = new Comparator('>=0.0.0') - } - high = high || comparator - low = low || comparator - if (gtfn(comparator.semver, high.semver, options)) { - high = comparator - } else if (ltfn(comparator.semver, low.semver, options)) { - low = comparator - } - }) - - // If the edge version comparator has a operator then our version - // isn't outside it - if (high.operator === comp || high.operator === ecomp) { - return false - } - - // If the lowest version comparator has an operator and our version - // is less than it then it isn't higher than the range - if ((!low.operator || low.operator === comp) && - ltefn(version, low.semver)) { - return false - } else if (low.operator === ecomp && ltfn(version, low.semver)) { - return false - } - } - return true -} - -exports.prerelease = prerelease -function prerelease (version, options) { - var parsed = parse(version, options) - return (parsed && parsed.prerelease.length) ? parsed.prerelease : null -} - -exports.intersects = intersects -function intersects (r1, r2, options) { - r1 = new Range(r1, options) - r2 = new Range(r2, options) - return r1.intersects(r2) -} - -exports.coerce = coerce -function coerce (version, options) { - if (version instanceof SemVer) { - return version - } - - if (typeof version === 'number') { - version = String(version) - } - - if (typeof version !== 'string') { - return null - } - - options = options || {} - - var match = null - if (!options.rtl) { - match = version.match(re[t.COERCE]) - } else { - // Find the right-most coercible string that does not share - // a terminus with a more left-ward coercible string. - // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' - // - // Walk through the string checking with a /g regexp - // Manually set the index so as to pick up overlapping matches. - // Stop when we get a match that ends at the string end, since no - // coercible string can be more right-ward without the same terminus. - var next - while ((next = re[t.COERCERTL].exec(version)) && - (!match || match.index + match[0].length !== version.length) - ) { - if (!match || - next.index + next[0].length !== match.index + match[0].length) { - match = next - } - re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length - } - // leave it in a clean state - re[t.COERCERTL].lastIndex = -1 - } - - if (match === null) { - return null - } - - return parse(match[2] + - '.' + (match[3] || '0') + - '.' + (match[4] || '0'), options) -} diff --git a/node_modules/semver-diff/package.json b/node_modules/semver-diff/package.json deleted file mode 100644 index fb7f0c0b6..000000000 --- a/node_modules/semver-diff/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "semver-diff", - "version": "3.1.1", - "description": "Get the diff type of two semver versions: 0.0.1 0.0.2 → patch", - "license": "MIT", - "repository": "sindresorhus/semver-diff", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "semver", - "version", - "semantic", - "diff", - "difference" - ], - "dependencies": { - "semver": "^6.3.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "tsd": "^0.9.0", - "xo": "^0.25.3" - } -} diff --git a/node_modules/semver-diff/readme.md b/node_modules/semver-diff/readme.md deleted file mode 100644 index 6e21afff5..000000000 --- a/node_modules/semver-diff/readme.md +++ /dev/null @@ -1,77 +0,0 @@ -# semver-diff [![Build Status](https://travis-ci.org/sindresorhus/semver-diff.svg?branch=master)](https://travis-ci.org/sindresorhus/semver-diff) - -> Get the diff type of two [semver](https://github.com/npm/node-semver) versions: `0.0.1 0.0.2` → `patch` - - -## Install - -``` -$ npm install semver-diff -``` - - -## Usage - -```js -const semverDiff = require('semver-diff'); - -semverDiff('1.1.1', '1.1.2'); -//=> 'patch' - -semverDiff('1.1.1-foo', '1.1.2'); -//=> 'prepatch' - -semverDiff('0.0.1', '1.0.0'); -//=> 'major' - -semverDiff('0.0.1-foo', '1.0.0'); -//=> 'premajor' - -semverDiff('0.0.1', '0.1.0'); -//=> 'minor' - -semverDiff('0.0.1-foo', '0.1.0'); -//=> 'preminor' - -semverDiff('0.0.1-foo', '0.0.1-foo.bar'); -//=> 'prerelease' - -semverDiff('0.1.0', '0.1.0+foo'); -//=> 'build' - -semverDiff('0.0.1', '0.0.1'); -//=> undefined - -semverDiff('0.0.2', '0.0.1'); -//=> undefined -``` - - -## API - -### semverDiff(versionA, versionB) - -Returns the difference type between two semver versions, or `undefined` if they're identical or the second one is lower than the first. - -Possible values: `'major'`, `'premajor'`, `'minor'`, `'preminor'`, `'patch'`, `'prepatch'`, `'prerelease'`, `'build'`, `undefined`. - - -## Related - -- [latest-semver](https://github.com/sindresorhus/latest-semver) - Get the latest stable semver version from an array of versions -- [to-semver](https://github.com/sindresorhus/to-semver) - Get an array of valid, sorted, and cleaned semver versions from an array of strings -- [semver-regex](https://github.com/sindresorhus/semver-regex) - Regular expression for matching semver versions -- [semver-truncate](https://github.com/sindresorhus/semver-truncate) - Truncate a semver version: `1.2.3` → `1.2.0` - - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/semver-regex/package.json b/node_modules/semver-regex/package.json index e97a2c3ec..53cb82fbe 100644 --- a/node_modules/semver-regex/package.json +++ b/node_modules/semver-regex/package.json @@ -1,38 +1,74 @@ { - "name": "semver-regex", - "version": "3.1.3", - "description": "Regular expression for matching semver versions", - "license": "MIT", - "repository": "sindresorhus/semver-regex", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "semver", - "version", - "versions", - "regex", - "regexp", - "match", - "matching", - "semantic" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "semver-regex@3.1.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "semver-regex@3.1.3", + "_id": "semver-regex@3.1.3", + "_inBundle": false, + "_integrity": "sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ==", + "_location": "/semver-regex", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "semver-regex@3.1.3", + "name": "semver-regex", + "escapedName": "semver-regex", + "rawSpec": "3.1.3", + "saveSpec": null, + "fetchSpec": "3.1.3" + }, + "_requiredBy": [ + "/find-versions" + ], + "_resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.3.tgz", + "_spec": "3.1.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/semver-regex/issues" + }, + "description": "Regular expression for matching semver versions", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/semver-regex#readme", + "keywords": [ + "semver", + "version", + "versions", + "regex", + "regexp", + "match", + "matching", + "semantic" + ], + "license": "MIT", + "name": "semver-regex", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/semver-regex.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.1.3" } diff --git a/node_modules/semver/package.json b/node_modules/semver/package.json index 4e1154195..d100416cc 100644 --- a/node_modules/semver/package.json +++ b/node_modules/semver/package.json @@ -1,22 +1,53 @@ { - "name": "semver", - "version": "7.3.5", - "description": "The semantic version parser used by npm.", - "main": "index.js", - "scripts": { - "test": "tap", - "snap": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --follow-tags" + "_args": [ + [ + "semver@7.3.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "semver@7.3.5", + "_id": "semver@7.3.5", + "_inBundle": false, + "_integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "_location": "/semver", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "semver@7.3.5", + "name": "semver", + "escapedName": "semver", + "rawSpec": "7.3.5", + "saveSpec": null, + "fetchSpec": "7.3.5" + }, + "_requiredBy": [ + "/@typescript-eslint/eslint-plugin", + "/@typescript-eslint/typescript-estree", + "/eslint", + "/eslint-plugin-jest/@typescript-eslint/typescript-estree", + "/jest-snapshot", + "/ts-jest" + ], + "_resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "_spec": "7.3.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bin": { + "semver": "bin/semver.js" }, + "bugs": { + "url": "https://github.com/npm/node-semver/issues" + }, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "description": "The semantic version parser used by npm.", "devDependencies": { "tap": "^14.10.7" }, - "license": "ISC", - "repository": "https://github.com/npm/node-semver", - "bin": { - "semver": "bin/semver.js" + "engines": { + "node": ">=10" }, "files": [ "bin/**/*.js", @@ -28,14 +59,24 @@ "index.js", "preload.js" ], + "homepage": "https://github.com/npm/node-semver#readme", + "license": "ISC", + "main": "index.js", + "name": "semver", + "repository": { + "type": "git", + "url": "git+https://github.com/npm/node-semver.git" + }, + "scripts": { + "postpublish": "git push origin --follow-tags", + "postversion": "npm publish", + "preversion": "npm test", + "snap": "tap", + "test": "tap" + }, "tap": { "check-coverage": true, "coverage-map": "map.js" }, - "engines": { - "node": ">=10" - }, - "dependencies": { - "lru-cache": "^6.0.0" - } + "version": "7.3.5" } diff --git a/node_modules/send/node_modules/debug/node_modules/ms/package.json b/node_modules/send/node_modules/debug/node_modules/ms/package.json index 6a31c81fa..774bbcd9f 100644 --- a/node_modules/send/node_modules/debug/node_modules/ms/package.json +++ b/node_modules/send/node_modules/debug/node_modules/ms/package.json @@ -1,16 +1,42 @@ { - "name": "ms", - "version": "2.0.0", - "description": "Tiny milisecond conversion utility", - "repository": "zeit/ms", - "main": "./index", - "files": [ - "index.js" + "_args": [ + [ + "ms@2.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "precommit": "lint-staged", - "lint": "eslint lib/* bin/*", - "test": "mocha tests.js" + "_from": "ms@2.0.0", + "_id": "ms@2.0.0", + "_inBundle": false, + "_integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "_location": "/send/debug/ms", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ms@2.0.0", + "name": "ms", + "escapedName": "ms", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/send/debug" + ], + "_resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/zeit/ms/issues" + }, + "description": "Tiny milisecond conversion utility", + "devDependencies": { + "eslint": "3.19.0", + "expect.js": "0.3.1", + "husky": "0.13.3", + "lint-staged": "3.4.1", + "mocha": "3.4.1" }, "eslintConfig": { "extends": "eslint:recommended", @@ -19,6 +45,11 @@ "es6": true } }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/zeit/ms#readme", + "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -26,12 +57,16 @@ "git add" ] }, - "license": "MIT", - "devDependencies": { - "eslint": "3.19.0", - "expect.js": "0.3.1", - "husky": "0.13.3", - "lint-staged": "3.4.1", - "mocha": "3.4.1" - } + "main": "./index", + "name": "ms", + "repository": { + "type": "git", + "url": "git+https://github.com/zeit/ms.git" + }, + "scripts": { + "lint": "eslint lib/* bin/*", + "precommit": "lint-staged", + "test": "mocha tests.js" + }, + "version": "2.0.0" } diff --git a/node_modules/send/node_modules/debug/package.json b/node_modules/send/node_modules/debug/package.json index dc787ba76..f92e1aa76 100644 --- a/node_modules/send/node_modules/debug/package.json +++ b/node_modules/send/node_modules/debug/package.json @@ -1,25 +1,61 @@ { - "name": "debug", - "version": "2.6.9", - "repository": { - "type": "git", - "url": "git://github.com/visionmedia/debug.git" + "_args": [ + [ + "debug@2.6.9", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "debug@2.6.9", + "_id": "debug@2.6.9", + "_inBundle": false, + "_integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "_location": "/send/debug", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "debug@2.6.9", + "name": "debug", + "escapedName": "debug", + "rawSpec": "2.6.9", + "saveSpec": null, + "fetchSpec": "2.6.9" }, - "description": "small debugging utility", - "keywords": [ - "debug", - "log", - "debugger" + "_requiredBy": [ + "/send" ], - "author": "TJ Holowaychuk ", + "_resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "_spec": "2.6.9", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca" + }, + "browser": "./src/browser.js", + "bugs": { + "url": "https://github.com/visionmedia/debug/issues" + }, + "component": { + "scripts": { + "debug/index.js": "browser.js", + "debug/debug.js": "debug.js" + } + }, "contributors": [ - "Nathan Rajlich (http://n8.io)", - "Andrew Rhyne " + { + "name": "Nathan Rajlich", + "email": "nathan@tootallnate.net", + "url": "http://n8.io" + }, + { + "name": "Andrew Rhyne", + "email": "rhyneandrew@gmail.com" + } ], - "license": "MIT", "dependencies": { "ms": "2.0.0" }, + "description": "small debugging utility", "devDependencies": { "browserify": "9.0.3", "chai": "^3.5.0", @@ -38,12 +74,18 @@ "sinon": "^1.17.6", "sinon-chai": "^2.8.0" }, + "homepage": "https://github.com/visionmedia/debug#readme", + "keywords": [ + "debug", + "log", + "debugger" + ], + "license": "MIT", "main": "./src/index.js", - "browser": "./src/browser.js", - "component": { - "scripts": { - "debug/index.js": "browser.js", - "debug/debug.js": "debug.js" - } - } + "name": "debug", + "repository": { + "type": "git", + "url": "git://github.com/visionmedia/debug.git" + }, + "version": "2.6.9" } diff --git a/node_modules/send/node_modules/ms/package.json b/node_modules/send/node_modules/ms/package.json index 49971890d..d8790b3f0 100644 --- a/node_modules/send/node_modules/ms/package.json +++ b/node_modules/send/node_modules/ms/package.json @@ -1,16 +1,43 @@ { - "name": "ms", - "version": "2.1.3", - "description": "Tiny millisecond conversion utility", - "repository": "vercel/ms", - "main": "./index", - "files": [ - "index.js" + "_args": [ + [ + "ms@2.1.3", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "precommit": "lint-staged", - "lint": "eslint lib/* bin/*", - "test": "mocha tests.js" + "_from": "ms@2.1.3", + "_id": "ms@2.1.3", + "_inBundle": false, + "_integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "_location": "/send/ms", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ms@2.1.3", + "name": "ms", + "escapedName": "ms", + "rawSpec": "2.1.3", + "saveSpec": null, + "fetchSpec": "2.1.3" + }, + "_requiredBy": [ + "/send" + ], + "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "_spec": "2.1.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/vercel/ms/issues" + }, + "description": "Tiny millisecond conversion utility", + "devDependencies": { + "eslint": "4.18.2", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1", + "prettier": "2.0.5" }, "eslintConfig": { "extends": "eslint:recommended", @@ -19,6 +46,11 @@ "es6": true } }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/vercel/ms#readme", + "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -26,13 +58,16 @@ "git add" ] }, - "license": "MIT", - "devDependencies": { - "eslint": "4.18.2", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1", - "prettier": "2.0.5" - } + "main": "./index", + "name": "ms", + "repository": { + "type": "git", + "url": "git+https://github.com/vercel/ms.git" + }, + "scripts": { + "lint": "eslint lib/* bin/*", + "precommit": "lint-staged", + "test": "mocha tests.js" + }, + "version": "2.1.3" } diff --git a/node_modules/send/package.json b/node_modules/send/package.json index f58140cbc..356371615 100644 --- a/node_modules/send/package.json +++ b/node_modules/send/package.json @@ -1,19 +1,53 @@ { - "name": "send", - "description": "Better streaming static file server with Range and conditional-GET support", - "version": "0.17.2", - "author": "TJ Holowaychuk ", - "contributors": [ - "Douglas Christopher Wilson ", - "James Wyatt Cready ", - "Jesús Leganés Combarro " + "_args": [ + [ + "send@0.17.2", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "license": "MIT", - "repository": "pillarjs/send", - "keywords": [ - "static", - "file", - "server" + "_from": "send@0.17.2", + "_id": "send@0.17.2", + "_inBundle": false, + "_integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "_location": "/send", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "send@0.17.2", + "name": "send", + "escapedName": "send", + "rawSpec": "0.17.2", + "saveSpec": null, + "fetchSpec": "0.17.2" + }, + "_requiredBy": [ + "/express", + "/serve-static" + ], + "_resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "_spec": "0.17.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "TJ Holowaychuk", + "email": "tj@vision-media.ca" + }, + "bugs": { + "url": "https://github.com/pillarjs/send/issues" + }, + "contributors": [ + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "James Wyatt Cready", + "email": "jcready@gmail.com" + }, + { + "name": "Jesús Leganés Combarro", + "email": "piranna@gmail.com" + } ], "dependencies": { "debug": "2.6.9", @@ -30,6 +64,7 @@ "range-parser": "~1.2.1", "statuses": "~1.5.0" }, + "description": "Better streaming static file server with Range and conditional-GET support", "devDependencies": { "after": "0.8.2", "eslint": "7.32.0", @@ -43,19 +78,32 @@ "nyc": "15.1.0", "supertest": "6.1.6" }, + "engines": { + "node": ">= 0.8.0" + }, "files": [ "HISTORY.md", "LICENSE", "README.md", "index.js" ], - "engines": { - "node": ">= 0.8.0" + "homepage": "https://github.com/pillarjs/send#readme", + "keywords": [ + "static", + "file", + "server" + ], + "license": "MIT", + "name": "send", + "repository": { + "type": "git", + "url": "git+https://github.com/pillarjs/send.git" }, "scripts": { "lint": "eslint .", "test": "mocha --check-leaks --reporter spec --bail", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - } + }, + "version": "0.17.2" } diff --git a/node_modules/serve-static/package.json b/node_modules/serve-static/package.json index e223bef4f..f477606db 100644 --- a/node_modules/serve-static/package.json +++ b/node_modules/serve-static/package.json @@ -1,16 +1,46 @@ { - "name": "serve-static", - "description": "Serve static files", - "version": "1.14.2", - "author": "Douglas Christopher Wilson ", - "license": "MIT", - "repository": "expressjs/serve-static", + "_args": [ + [ + "serve-static@1.14.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "serve-static@1.14.2", + "_id": "serve-static@1.14.2", + "_inBundle": false, + "_integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "_location": "/serve-static", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "serve-static@1.14.2", + "name": "serve-static", + "escapedName": "serve-static", + "rawSpec": "1.14.2", + "saveSpec": null, + "fetchSpec": "1.14.2" + }, + "_requiredBy": [ + "/express" + ], + "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "_spec": "1.14.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + "bugs": { + "url": "https://github.com/expressjs/serve-static/issues" + }, "dependencies": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", "send": "0.17.2" }, + "description": "Serve static files", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -24,13 +54,20 @@ "safe-buffer": "5.2.1", "supertest": "6.1.6" }, + "engines": { + "node": ">= 0.8.0" + }, "files": [ "LICENSE", "HISTORY.md", "index.js" ], - "engines": { - "node": ">= 0.8.0" + "homepage": "https://github.com/expressjs/serve-static#readme", + "license": "MIT", + "name": "serve-static", + "repository": { + "type": "git", + "url": "git+https://github.com/expressjs/serve-static.git" }, "scripts": { "lint": "eslint .", @@ -38,5 +75,6 @@ "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test", "version": "node scripts/version-history.js && git add HISTORY.md" - } + }, + "version": "1.14.2" } diff --git a/node_modules/setprototypeof/package.json b/node_modules/setprototypeof/package.json index f20915bea..0a297b566 100644 --- a/node_modules/setprototypeof/package.json +++ b/node_modules/setprototypeof/package.json @@ -1,38 +1,69 @@ { - "name": "setprototypeof", - "version": "1.2.0", - "description": "A small polyfill for Object.setprototypeof", - "main": "index.js", - "typings": "index.d.ts", - "scripts": { - "test": "standard && mocha", - "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11", - "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t", - "node010": "NODE_VER=0.10 MOCHA_VER=3 npm run testversion", - "node4": "NODE_VER=4 npm run testversion", - "node6": "NODE_VER=6 npm run testversion", - "node9": "NODE_VER=9 npm run testversion", - "node11": "NODE_VER=11 npm run testversion", - "prepublishOnly": "npm t", - "postpublish": "git push origin && git push origin --tags" + "_args": [ + [ + "setprototypeof@1.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "setprototypeof@1.2.0", + "_id": "setprototypeof@1.2.0", + "_inBundle": false, + "_integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "_location": "/setprototypeof", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "setprototypeof@1.2.0", + "name": "setprototypeof", + "escapedName": "setprototypeof", + "rawSpec": "1.2.0", + "saveSpec": null, + "fetchSpec": "1.2.0" }, - "repository": { - "type": "git", - "url": "https://github.com/wesleytodd/setprototypeof.git" + "_requiredBy": [ + "/express", + "/http-errors" + ], + "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "_spec": "1.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Wes Todd" + }, + "bugs": { + "url": "https://github.com/wesleytodd/setprototypeof/issues" }, + "description": "A small polyfill for Object.setprototypeof", + "devDependencies": { + "mocha": "^6.1.4", + "standard": "^13.0.2" + }, + "homepage": "https://github.com/wesleytodd/setprototypeof", "keywords": [ "polyfill", "object", "setprototypeof" ], - "author": "Wes Todd", "license": "ISC", - "bugs": { - "url": "https://github.com/wesleytodd/setprototypeof/issues" + "main": "index.js", + "name": "setprototypeof", + "repository": { + "type": "git", + "url": "git+https://github.com/wesleytodd/setprototypeof.git" }, - "homepage": "https://github.com/wesleytodd/setprototypeof", - "devDependencies": { - "mocha": "^6.1.4", - "standard": "^13.0.2" - } + "scripts": { + "node010": "NODE_VER=0.10 MOCHA_VER=3 npm run testversion", + "node11": "NODE_VER=11 npm run testversion", + "node4": "NODE_VER=4 npm run testversion", + "node6": "NODE_VER=6 npm run testversion", + "node9": "NODE_VER=9 npm run testversion", + "postpublish": "git push origin && git push origin --tags", + "prepublishOnly": "npm t", + "test": "standard && mocha", + "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11", + "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t" + }, + "typings": "index.d.ts", + "version": "1.2.0" } diff --git a/node_modules/shebang-command/package.json b/node_modules/shebang-command/package.json index 18e3c0463..cfe18ae6a 100644 --- a/node_modules/shebang-command/package.json +++ b/node_modules/shebang-command/package.json @@ -1,34 +1,70 @@ { - "name": "shebang-command", - "version": "2.0.0", - "description": "Get the command from a shebang", - "license": "MIT", - "repository": "kevva/shebang-command", - "author": { - "name": "Kevin Mårtensson", - "email": "kevinmartensson@gmail.com", - "url": "github.com/kevva" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "cmd", - "command", - "parse", - "shebang" - ], - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "devDependencies": { - "ava": "^2.3.0", - "xo": "^0.24.0" - } + "_args": [ + [ + "shebang-command@2.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "shebang-command@2.0.0", + "_id": "shebang-command@2.0.0", + "_inBundle": false, + "_integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "_location": "/shebang-command", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "shebang-command@2.0.0", + "name": "shebang-command", + "escapedName": "shebang-command", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/cross-spawn" + ], + "_resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Kevin Mårtensson", + "email": "kevinmartensson@gmail.com", + "url": "github.com/kevva" + }, + "bugs": { + "url": "https://github.com/kevva/shebang-command/issues" + }, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "description": "Get the command from a shebang", + "devDependencies": { + "ava": "^2.3.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/kevva/shebang-command#readme", + "keywords": [ + "cmd", + "command", + "parse", + "shebang" + ], + "license": "MIT", + "name": "shebang-command", + "repository": { + "type": "git", + "url": "git+https://github.com/kevva/shebang-command.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "2.0.0" } diff --git a/node_modules/shebang-regex/package.json b/node_modules/shebang-regex/package.json index 00ab30fee..a17eaabcd 100644 --- a/node_modules/shebang-regex/package.json +++ b/node_modules/shebang-regex/package.json @@ -1,35 +1,71 @@ { - "name": "shebang-regex", - "version": "3.0.0", - "description": "Regular expression for matching a shebang line", - "license": "MIT", - "repository": "sindresorhus/shebang-regex", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "regex", - "regexp", - "shebang", - "match", - "test", - "line" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "shebang-regex@3.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "shebang-regex@3.0.0", + "_id": "shebang-regex@3.0.0", + "_inBundle": false, + "_integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "_location": "/shebang-regex", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "shebang-regex@3.0.0", + "name": "shebang-regex", + "escapedName": "shebang-regex", + "rawSpec": "3.0.0", + "saveSpec": null, + "fetchSpec": "3.0.0" + }, + "_requiredBy": [ + "/shebang-command" + ], + "_resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "_spec": "3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/shebang-regex/issues" + }, + "description": "Regular expression for matching a shebang line", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/shebang-regex#readme", + "keywords": [ + "regex", + "regexp", + "shebang", + "match", + "test", + "line" + ], + "license": "MIT", + "name": "shebang-regex", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/shebang-regex.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.0.0" } diff --git a/node_modules/signal-exit/package.json b/node_modules/signal-exit/package.json index 3e6ee68c1..6d801d0ef 100644 --- a/node_modules/signal-exit/package.json +++ b/node_modules/signal-exit/package.json @@ -1,38 +1,73 @@ { - "name": "signal-exit", - "version": "3.0.6", - "description": "when you want to fire an event no matter how a process exits.", - "main": "index.js", - "scripts": { - "test": "tap", - "snap": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "prepublishOnly": "git push origin --follow-tags" - }, - "files": [ - "index.js", - "signals.js" + "_args": [ + [ + "signal-exit@3.0.6", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": { - "type": "git", - "url": "https://github.com/tapjs/signal-exit.git" + "_from": "signal-exit@3.0.6", + "_id": "signal-exit@3.0.6", + "_inBundle": false, + "_integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==", + "_location": "/signal-exit", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "signal-exit@3.0.6", + "name": "signal-exit", + "escapedName": "signal-exit", + "rawSpec": "3.0.6", + "saveSpec": null, + "fetchSpec": "3.0.6" }, - "keywords": [ - "signal", - "exit" + "_requiredBy": [ + "/execa", + "/lint-staged/execa", + "/ora/restore-cursor", + "/restore-cursor", + "/write-file-atomic" ], - "author": "Ben Coe ", - "license": "ISC", + "_resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz", + "_spec": "3.0.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Ben Coe", + "email": "ben@npmjs.com" + }, "bugs": { "url": "https://github.com/tapjs/signal-exit/issues" }, - "homepage": "https://github.com/tapjs/signal-exit", + "description": "when you want to fire an event no matter how a process exits.", "devDependencies": { "chai": "^3.5.0", "coveralls": "^3.1.1", "nyc": "^15.1.0", "standard-version": "^9.3.1", "tap": "^15.1.1" - } + }, + "files": [ + "index.js", + "signals.js" + ], + "homepage": "https://github.com/tapjs/signal-exit", + "keywords": [ + "signal", + "exit" + ], + "license": "ISC", + "main": "index.js", + "name": "signal-exit", + "repository": { + "type": "git", + "url": "git+https://github.com/tapjs/signal-exit.git" + }, + "scripts": { + "postversion": "npm publish", + "prepublishOnly": "git push origin --follow-tags", + "preversion": "npm test", + "snap": "tap", + "test": "tap" + }, + "version": "3.0.6" } diff --git a/node_modules/sisteransi/package.json b/node_modules/sisteransi/package.json index 55a6476ba..53fc47214 100755 --- a/node_modules/sisteransi/package.json +++ b/node_modules/sisteransi/package.json @@ -1,25 +1,50 @@ { - "name": "sisteransi", - "version": "1.0.5", - "description": "ANSI escape codes for some terminal swag", - "main": "src/index.js", - "license": "MIT", + "_args": [ + [ + "sisteransi@1.0.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "sisteransi@1.0.5", + "_id": "sisteransi@1.0.5", + "_inBundle": false, + "_integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "_location": "/sisteransi", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "sisteransi@1.0.5", + "name": "sisteransi", + "escapedName": "sisteransi", + "rawSpec": "1.0.5", + "saveSpec": null, + "fetchSpec": "1.0.5" + }, + "_requiredBy": [ + "/prompts" + ], + "_resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "_spec": "1.0.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Terkel Gjervig", "email": "terkel@terkel.com", "url": "https://terkel.com" }, - "scripts": { - "test": "tape test/*.js | tap-spec" + "bugs": { + "url": "https://github.com/terkelg/sisteransi/issues" }, - "repository": { - "type": "git", - "url": "https://github.com/terkelg/sisteransi" + "description": "ANSI escape codes for some terminal swag", + "devDependencies": { + "tap-spec": "^5.0.0", + "tape": "^4.13.2" }, "files": [ "src" ], - "types": "./src/sisteransi.d.ts", + "homepage": "https://github.com/terkelg/sisteransi#readme", "keywords": [ "ansi", "escape codes", @@ -27,8 +52,16 @@ "terminal", "style" ], - "devDependencies": { - "tap-spec": "^5.0.0", - "tape": "^4.13.2" - } + "license": "MIT", + "main": "src/index.js", + "name": "sisteransi", + "repository": { + "type": "git", + "url": "git+https://github.com/terkelg/sisteransi.git" + }, + "scripts": { + "test": "tape test/*.js | tap-spec" + }, + "types": "./src/sisteransi.d.ts", + "version": "1.0.5" } diff --git a/node_modules/slash/package.json b/node_modules/slash/package.json index c88fcc712..4f0beff30 100644 --- a/node_modules/slash/package.json +++ b/node_modules/slash/package.json @@ -1,35 +1,82 @@ { - "name": "slash", - "version": "3.0.0", - "description": "Convert Windows backslash paths to slash paths", - "license": "MIT", - "repository": "sindresorhus/slash", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "path", - "seperator", - "slash", - "backslash", - "windows", - "convert" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "slash@3.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "slash@3.0.0", + "_id": "slash@3.0.0", + "_inBundle": false, + "_integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "_location": "/slash", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "slash@3.0.0", + "name": "slash", + "escapedName": "slash", + "rawSpec": "3.0.0", + "saveSpec": null, + "fetchSpec": "3.0.0" + }, + "_requiredBy": [ + "/@jest/console", + "/@jest/core", + "/@jest/reporters", + "/@jest/transform", + "/babel-jest", + "/globby", + "/husky", + "/jest-circus", + "/jest-config", + "/jest-message-util", + "/jest-resolve", + "/jest-runtime" + ], + "_resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "_spec": "3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/slash/issues" + }, + "description": "Convert Windows backslash paths to slash paths", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/slash#readme", + "keywords": [ + "path", + "seperator", + "slash", + "backslash", + "windows", + "convert" + ], + "license": "MIT", + "name": "slash", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/slash.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.0.0" } diff --git a/node_modules/slice-ansi/package.json b/node_modules/slice-ansi/package.json index 411274626..f2a7c942a 100644 --- a/node_modules/slice-ansi/package.json +++ b/node_modules/slice-ansi/package.json @@ -1,51 +1,87 @@ { - "name": "slice-ansi", - "version": "3.0.0", - "description": "Slice a string with ANSI escape codes", - "license": "MIT", - "repository": "chalk/slice-ansi", - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "slice", - "string", - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "devDependencies": { - "ava": "^2.1.0", - "chalk": "^2.4.2", - "random-item": "^3.0.0", - "strip-ansi": "^5.0.0", - "xo": "^0.24.0" - } + "_args": [ + [ + "slice-ansi@3.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "slice-ansi@3.0.0", + "_id": "slice-ansi@3.0.0", + "_inBundle": false, + "_integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "_location": "/slice-ansi", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "slice-ansi@3.0.0", + "name": "slice-ansi", + "escapedName": "slice-ansi", + "rawSpec": "3.0.0", + "saveSpec": null, + "fetchSpec": "3.0.0" + }, + "_requiredBy": [ + "/cli-truncate" + ], + "_resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", + "_spec": "3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/chalk/slice-ansi/issues" + }, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "description": "Slice a string with ANSI escape codes", + "devDependencies": { + "ava": "^2.1.0", + "chalk": "^2.4.2", + "random-item": "^3.0.0", + "strip-ansi": "^5.0.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/slice-ansi#readme", + "keywords": [ + "slice", + "string", + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "slice-ansi", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/slice-ansi.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "3.0.0" } diff --git a/node_modules/source-map-support/package.json b/node_modules/source-map-support/package.json index 48ee1fd67..962c86395 100644 --- a/node_modules/source-map-support/package.json +++ b/node_modules/source-map-support/package.json @@ -1,18 +1,41 @@ { - "name": "source-map-support", - "description": "Fixes stack traces for files with source maps", - "version": "0.5.21", - "main": "./source-map-support.js", - "scripts": { - "build": "node build.js", - "serve-tests": "http-server -p 1336", - "prepublish": "npm run build", - "test": "mocha" + "_args": [ + [ + "source-map-support@0.5.21", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "source-map-support@0.5.21", + "_id": "source-map-support@0.5.21", + "_inBundle": false, + "_integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "_location": "/source-map-support", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "source-map-support@0.5.21", + "name": "source-map-support", + "escapedName": "source-map-support", + "rawSpec": "0.5.21", + "saveSpec": null, + "fetchSpec": "0.5.21" + }, + "_requiredBy": [ + "/jest-runner" + ], + "_resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "_spec": "0.5.21", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/evanw/node-source-map-support/issues" }, "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" }, + "description": "Fixes stack traces for files with source maps", "devDependencies": { "browserify": "^4.2.3", "coffeescript": "^1.12.7", @@ -20,12 +43,19 @@ "mocha": "^3.5.3", "webpack": "^1.15.0" }, + "homepage": "https://github.com/evanw/node-source-map-support#readme", + "license": "MIT", + "main": "./source-map-support.js", + "name": "source-map-support", "repository": { "type": "git", - "url": "https://github.com/evanw/node-source-map-support" + "url": "git+https://github.com/evanw/node-source-map-support.git" }, - "bugs": { - "url": "https://github.com/evanw/node-source-map-support/issues" + "scripts": { + "build": "node build.js", + "prepublish": "npm run build", + "serve-tests": "http-server -p 1336", + "test": "mocha" }, - "license": "MIT" + "version": "0.5.21" } diff --git a/node_modules/source-map/package.json b/node_modules/source-map/package.json index 24663417e..47dd157fe 100644 --- a/node_modules/source-map/package.json +++ b/node_modules/source-map/package.json @@ -1,52 +1,199 @@ { - "name": "source-map", - "description": "Generates and consumes source maps", - "version": "0.6.1", - "homepage": "https://github.com/mozilla/source-map", - "author": "Nick Fitzgerald ", + "_args": [ + [ + "source-map@0.6.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "source-map@0.6.1", + "_id": "source-map@0.6.1", + "_inBundle": false, + "_integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "_location": "/source-map", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "source-map@0.6.1", + "name": "source-map", + "escapedName": "source-map", + "rawSpec": "0.6.1", + "saveSpec": null, + "fetchSpec": "0.6.1" + }, + "_requiredBy": [ + "/@jest/reporters", + "/@jest/source-map", + "/@jest/transform", + "/escodegen", + "/istanbul-lib-source-maps", + "/source-map-support" + ], + "_resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "_spec": "0.6.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Nick Fitzgerald", + "email": "nfitzgerald@mozilla.com" + }, + "bugs": { + "url": "https://github.com/mozilla/source-map/issues" + }, "contributors": [ - "Tobias Koppers ", - "Duncan Beevers ", - "Stephen Crane ", - "Ryan Seddon ", - "Miles Elam ", - "Mihai Bazon ", - "Michael Ficarra ", - "Todd Wolfson ", - "Alexander Solovyov ", - "Felix Gnass ", - "Conrad Irwin ", - "usrbincc ", - "David Glasser ", - "Chase Douglas ", - "Evan Wallace ", - "Heather Arthur ", - "Hugh Kennedy ", - "David Glasser ", - "Simon Lydell ", - "Jmeas Smith ", - "Michael Z Goddard ", - "azu ", - "John Gozde ", - "Adam Kirkton ", - "Chris Montgomery ", - "J. Ryan Stinnett ", - "Jack Herrington ", - "Chris Truter ", - "Daniel Espeset ", - "Jamie Wong ", - "Eddy Bruël ", - "Hawken Rives ", - "Gilad Peleg ", - "djchie ", - "Gary Ye ", - "Nicolas Lalevée " + { + "name": "Tobias Koppers", + "email": "tobias.koppers@googlemail.com" + }, + { + "name": "Duncan Beevers", + "email": "duncan@dweebd.com" + }, + { + "name": "Stephen Crane", + "email": "scrane@mozilla.com" + }, + { + "name": "Ryan Seddon", + "email": "seddon.ryan@gmail.com" + }, + { + "name": "Miles Elam", + "email": "miles.elam@deem.com" + }, + { + "name": "Mihai Bazon", + "email": "mihai.bazon@gmail.com" + }, + { + "name": "Michael Ficarra", + "email": "github.public.email@michael.ficarra.me" + }, + { + "name": "Todd Wolfson", + "email": "todd@twolfson.com" + }, + { + "name": "Alexander Solovyov", + "email": "alexander@solovyov.net" + }, + { + "name": "Felix Gnass", + "email": "fgnass@gmail.com" + }, + { + "name": "Conrad Irwin", + "email": "conrad.irwin@gmail.com" + }, + { + "name": "usrbincc", + "email": "usrbincc@yahoo.com" + }, + { + "name": "David Glasser", + "email": "glasser@davidglasser.net" + }, + { + "name": "Chase Douglas", + "email": "chase@newrelic.com" + }, + { + "name": "Evan Wallace", + "email": "evan.exe@gmail.com" + }, + { + "name": "Heather Arthur", + "email": "fayearthur@gmail.com" + }, + { + "name": "Hugh Kennedy", + "email": "hughskennedy@gmail.com" + }, + { + "name": "David Glasser", + "email": "glasser@davidglasser.net" + }, + { + "name": "Simon Lydell", + "email": "simon.lydell@gmail.com" + }, + { + "name": "Jmeas Smith", + "email": "jellyes2@gmail.com" + }, + { + "name": "Michael Z Goddard", + "email": "mzgoddard@gmail.com" + }, + { + "name": "azu", + "email": "azu@users.noreply.github.com" + }, + { + "name": "John Gozde", + "email": "john@gozde.ca" + }, + { + "name": "Adam Kirkton", + "email": "akirkton@truefitinnovation.com" + }, + { + "name": "Chris Montgomery", + "email": "christopher.montgomery@dowjones.com" + }, + { + "name": "J. Ryan Stinnett", + "email": "jryans@gmail.com" + }, + { + "name": "Jack Herrington", + "email": "jherrington@walmartlabs.com" + }, + { + "name": "Chris Truter", + "email": "jeffpalentine@gmail.com" + }, + { + "name": "Daniel Espeset", + "email": "daniel@danielespeset.com" + }, + { + "name": "Jamie Wong", + "email": "jamie.lf.wong@gmail.com" + }, + { + "name": "Eddy Bruël", + "email": "ejpbruel@mozilla.com" + }, + { + "name": "Hawken Rives", + "email": "hawkrives@gmail.com" + }, + { + "name": "Gilad Peleg", + "email": "giladp007@gmail.com" + }, + { + "name": "djchie", + "email": "djchie.dev@gmail.com" + }, + { + "name": "Gary Ye", + "email": "garysye@gmail.com" + }, + { + "name": "Nicolas Lalevée", + "email": "nicolas.lalevee@hibnet.org" + } ], - "repository": { - "type": "git", - "url": "http://github.com/mozilla/source-map.git" + "description": "Generates and consumes source maps", + "devDependencies": { + "doctoc": "^0.15.0", + "webpack": "^1.12.0" + }, + "engines": { + "node": ">=0.10.0" }, - "main": "./source-map.js", "files": [ "source-map.js", "source-map.d.ts", @@ -56,18 +203,19 @@ "dist/source-map.min.js", "dist/source-map.min.js.map" ], - "engines": { - "node": ">=0.10.0" - }, + "homepage": "https://github.com/mozilla/source-map", "license": "BSD-3-Clause", + "main": "./source-map.js", + "name": "source-map", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/mozilla/source-map.git" + }, "scripts": { - "test": "npm run build && node test/run-tests.js", "build": "webpack --color", + "test": "npm run build && node test/run-tests.js", "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md" }, - "devDependencies": { - "doctoc": "^0.15.0", - "webpack": "^1.12.0" - }, - "typings": "source-map" + "typings": "source-map", + "version": "0.6.1" } diff --git a/node_modules/spdx-correct/package.json b/node_modules/spdx-correct/package.json index 35c68bdaa..c1389488d 100644 --- a/node_modules/spdx-correct/package.json +++ b/node_modules/spdx-correct/package.json @@ -1,18 +1,61 @@ { - "name": "spdx-correct", - "description": "correct invalid SPDX expressions", - "version": "3.1.1", - "author": "Kyle E. Mitchell (https://kemitchell.com)", + "_from": "spdx-correct@^3.0.0", + "_id": "spdx-correct@3.1.1", + "_inBundle": false, + "_integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "_location": "/spdx-correct", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "spdx-correct@^3.0.0", + "name": "spdx-correct", + "escapedName": "spdx-correct", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/validate-npm-package-license" + ], + "_resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "_shasum": "dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9", + "_spec": "spdx-correct@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/validate-npm-package-license", + "author": { + "name": "Kyle E. Mitchell", + "email": "kyle@kemitchell.com", + "url": "https://kemitchell.com" + }, + "bugs": { + "url": "https://github.com/jslicense/spdx-correct.js/issues" + }, + "bundleDependencies": false, "contributors": [ - "Kyle E. Mitchell (https://kemitchell.com)", - "Christian Zommerfelds ", - "Tal Einat ", - "Dan Butvinik " + { + "name": "Kyle E. Mitchell", + "email": "kyle@kemitchell.com", + "url": "https://kemitchell.com" + }, + { + "name": "Christian Zommerfelds", + "email": "aero_super@yahoo.com" + }, + { + "name": "Tal Einat", + "email": "taleinat@gmail.com" + }, + { + "name": "Dan Butvinik", + "email": "butvinik@outlook.com" + } ], "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" }, + "deprecated": false, + "description": "correct invalid SPDX expressions", "devDependencies": { "defence-cli": "^2.0.1", "replace-require-self": "^1.0.0", @@ -23,6 +66,7 @@ "files": [ "index.js" ], + "homepage": "https://github.com/jslicense/spdx-correct.js#readme", "keywords": [ "SPDX", "law", @@ -31,9 +75,14 @@ "metadata" ], "license": "Apache-2.0", - "repository": "jslicense/spdx-correct.js", + "name": "spdx-correct", + "repository": { + "type": "git", + "url": "git+https://github.com/jslicense/spdx-correct.js.git" + }, "scripts": { "lint": "standard && standard-markdown README.md", "test": "defence README.md | replace-require-self | node && node test.js" - } + }, + "version": "3.1.1" } diff --git a/node_modules/spdx-exceptions/package.json b/node_modules/spdx-exceptions/package.json index 2bafc6a38..f351371fd 100644 --- a/node_modules/spdx-exceptions/package.json +++ b/node_modules/spdx-exceptions/package.json @@ -1,17 +1,55 @@ { - "name": "spdx-exceptions", - "description": "list of SPDX standard license exceptions", - "version": "2.3.0", - "author": "The Linux Foundation", + "_from": "spdx-exceptions@^2.1.0", + "_id": "spdx-exceptions@2.3.0", + "_inBundle": false, + "_integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "_location": "/spdx-exceptions", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "spdx-exceptions@^2.1.0", + "name": "spdx-exceptions", + "escapedName": "spdx-exceptions", + "rawSpec": "^2.1.0", + "saveSpec": null, + "fetchSpec": "^2.1.0" + }, + "_requiredBy": [ + "/spdx-expression-parse" + ], + "_resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "_shasum": "3f28ce1a77a00372683eade4a433183527a2163d", + "_spec": "spdx-exceptions@^2.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/spdx-expression-parse", + "author": { + "name": "The Linux Foundation" + }, + "bugs": { + "url": "https://github.com/kemitchell/spdx-exceptions.json/issues" + }, + "bundleDependencies": false, "contributors": [ - "Kyle E. Mitchell (https://kemitchell.com/)" + { + "name": "Kyle E. Mitchell", + "email": "kyle@kemitchell.com", + "url": "https://kemitchell.com/" + } ], - "license": "CC-BY-3.0", - "repository": "kemitchell/spdx-exceptions.json", + "deprecated": false, + "description": "list of SPDX standard license exceptions", "files": [ "index.json" ], + "homepage": "https://github.com/kemitchell/spdx-exceptions.json#readme", + "license": "CC-BY-3.0", + "name": "spdx-exceptions", + "repository": { + "type": "git", + "url": "git+https://github.com/kemitchell/spdx-exceptions.json.git" + }, "scripts": { "build": "node build.js" - } + }, + "version": "2.3.0" } diff --git a/node_modules/spdx-expression-parse/package.json b/node_modules/spdx-expression-parse/package.json index c9edc9f93..6d4d5aa83 100644 --- a/node_modules/spdx-expression-parse/package.json +++ b/node_modules/spdx-expression-parse/package.json @@ -1,23 +1,75 @@ { - "name": "spdx-expression-parse", - "description": "parse SPDX license expressions", - "version": "3.0.1", - "author": "Kyle E. Mitchell (https://kemitchell.com)", - "files": [ - "AUTHORS", - "index.js", - "parse.js", - "scan.js" + "_from": "spdx-expression-parse@^3.0.0", + "_id": "spdx-expression-parse@3.0.1", + "_inBundle": false, + "_integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "_location": "/spdx-expression-parse", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "spdx-expression-parse@^3.0.0", + "name": "spdx-expression-parse", + "escapedName": "spdx-expression-parse", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/spdx-correct", + "/validate-npm-package-license" + ], + "_resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "_shasum": "cf70f50482eefdc98e3ce0a6833e4a53ceeba679", + "_spec": "spdx-expression-parse@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/validate-npm-package-license", + "author": { + "name": "Kyle E. Mitchell", + "email": "kyle@kemitchell.com", + "url": "https://kemitchell.com" + }, + "bugs": { + "url": "https://github.com/jslicense/spdx-expression-parse.js/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "C. Scott Ananian", + "email": "cscott@cscott.net", + "url": "http://cscott.net" + }, + { + "name": "Kyle E. Mitchell", + "email": "kyle@kemitchell.com", + "url": "https://kemitchell.com" + }, + { + "name": "Shinnosuke Watanabe", + "email": "snnskwtnb@gmail.com" + }, + { + "name": "Antoine Motet", + "email": "antoine.motet@gmail.com" + } ], "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" }, + "deprecated": false, + "description": "parse SPDX license expressions", "devDependencies": { "defence-cli": "^3.0.1", "replace-require-self": "^1.0.0", "standard": "^14.1.0" }, + "files": [ + "AUTHORS", + "index.js", + "parse.js", + "scan.js" + ], + "homepage": "https://github.com/jslicense/spdx-expression-parse.js#readme", "keywords": [ "SPDX", "law", @@ -29,11 +81,16 @@ "standards" ], "license": "MIT", - "repository": "jslicense/spdx-expression-parse.js", + "name": "spdx-expression-parse", + "repository": { + "type": "git", + "url": "git+https://github.com/jslicense/spdx-expression-parse.js.git" + }, "scripts": { "lint": "standard", + "test": "npm run test:suite && npm run test:readme", "test:readme": "defence -i javascript README.md | replace-require-self | node", - "test:suite": "node test.js", - "test": "npm run test:suite && npm run test:readme" - } + "test:suite": "node test.js" + }, + "version": "3.0.1" } diff --git a/node_modules/spdx-license-ids/package.json b/node_modules/spdx-license-ids/package.json index 61b10edc2..e12d50fea 100644 --- a/node_modules/spdx-license-ids/package.json +++ b/node_modules/spdx-license-ids/package.json @@ -1,39 +1,75 @@ { - "name": "spdx-license-ids", - "version": "3.0.11", - "description": "A list of SPDX license identifiers", - "repository": "jslicense/spdx-license-ids", - "author": "Shinnosuke Watanabe (https://github.com/shinnn)", - "license": "CC0-1.0", - "scripts": { - "build": "node build.js", - "pretest": "eslint .", - "latest": "node latest.js", - "test": "node test.js" - }, - "files": [ - "deprecated.json", - "index.json" - ], - "keywords": [ - "spdx", - "license", - "licenses", - "id", - "identifier", - "identifiers", - "json", - "array", - "oss" - ], - "devDependencies": { - "@shinnn/eslint-config": "^7.0.0", - "eslint": "^8.2.0", - "eslint-formatter-codeframe": "^7.32.1", - "rmfr": "^2.0.0", - "tape": "^5.3.1" - }, - "eslintConfig": { - "extends": "@shinnn" - } + "_from": "spdx-license-ids@^3.0.0", + "_id": "spdx-license-ids@3.0.11", + "_inBundle": false, + "_integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==", + "_location": "/spdx-license-ids", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "spdx-license-ids@^3.0.0", + "name": "spdx-license-ids", + "escapedName": "spdx-license-ids", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/spdx-correct", + "/spdx-expression-parse" + ], + "_resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", + "_shasum": "50c0d8c40a14ec1bf449bae69a0ea4685a9d9f95", + "_spec": "spdx-license-ids@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/spdx-correct", + "author": { + "name": "Shinnosuke Watanabe", + "url": "https://github.com/shinnn" + }, + "bugs": { + "url": "https://github.com/jslicense/spdx-license-ids/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "A list of SPDX license identifiers", + "devDependencies": { + "@shinnn/eslint-config": "^7.0.0", + "eslint": "^8.2.0", + "eslint-formatter-codeframe": "^7.32.1", + "rmfr": "^2.0.0", + "tape": "^5.3.1" + }, + "eslintConfig": { + "extends": "@shinnn" + }, + "files": [ + "deprecated.json", + "index.json" + ], + "homepage": "https://github.com/jslicense/spdx-license-ids#readme", + "keywords": [ + "spdx", + "license", + "licenses", + "id", + "identifier", + "identifiers", + "json", + "array", + "oss" + ], + "license": "CC0-1.0", + "name": "spdx-license-ids", + "repository": { + "type": "git", + "url": "git+https://github.com/jslicense/spdx-license-ids.git" + }, + "scripts": { + "build": "node build.js", + "latest": "node latest.js", + "pretest": "eslint .", + "test": "node test.js" + }, + "version": "3.0.11" } diff --git a/node_modules/speedline-core/package.json b/node_modules/speedline-core/package.json index 2d15fc989..f97b33ac8 100644 --- a/node_modules/speedline-core/package.json +++ b/node_modules/speedline-core/package.json @@ -1,19 +1,46 @@ { - "name": "speedline-core", - "version": "1.4.3", + "_from": "speedline-core@^1.4.3", + "_id": "speedline-core@1.4.3", + "_inBundle": false, + "_integrity": "sha512-DI7/OuAUD+GMpR6dmu8lliO2Wg5zfeh+/xsdyJZCzd8o5JgFUjCeLsBDuZjIQJdwXS3J0L/uZYrELKYqx+PXog==", + "_location": "/speedline-core", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "speedline-core@^1.4.3", + "name": "speedline-core", + "escapedName": "speedline-core", + "rawSpec": "^1.4.3", + "saveSpec": null, + "fetchSpec": "^1.4.3" + }, + "_requiredBy": [ + "/lighthouse" + ], + "_resolved": "https://registry.npmjs.org/speedline-core/-/speedline-core-1.4.3.tgz", + "_shasum": "4d6e7276e2063c2d36a375cb25a523ac73475319", + "_spec": "speedline-core@^1.4.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "bugs": { + "url": "https://github.com/paulirish/speedline/issues" + }, + "bundleDependencies": false, + "dependencies": { + "@types/node": "*", + "image-ssim": "^0.2.0", + "jpeg-js": "^0.4.1" + }, + "deprecated": false, "description": "Get the speed index from chrome dev tool timeline files", - "license": "MIT", - "repository": "https://github.com/paulirish/speedline", - "main": "lib", + "devDependencies": { + "ava": "^0.19.1", + "xo": "^0.14.0" + }, "engines": { "node": ">=8.0" }, - "scripts": { - "lint": "xo", - "unit": "ava", - "test": "yarn run lint && yarn run unit" - }, - "types": "speedline.d.ts", + "homepage": "https://github.com/paulirish/speedline#readme", "keywords": [ "chrome", "devtools", @@ -22,13 +49,18 @@ "index", "performance" ], - "dependencies": { - "@types/node": "*", - "image-ssim": "^0.2.0", - "jpeg-js": "^0.4.1" + "license": "MIT", + "main": "lib", + "name": "speedline-core", + "repository": { + "type": "git", + "url": "git+https://github.com/paulirish/speedline.git" }, - "devDependencies": { - "ava": "^0.19.1", - "xo": "^0.14.0" - } + "scripts": { + "lint": "xo", + "test": "yarn run lint && yarn run unit", + "unit": "ava" + }, + "types": "speedline.d.ts", + "version": "1.4.3" } diff --git a/node_modules/sprintf-js/package.json b/node_modules/sprintf-js/package.json index 75f7eca71..cfea68507 100644 --- a/node_modules/sprintf-js/package.json +++ b/node_modules/sprintf-js/package.json @@ -1,22 +1,58 @@ { + "_args": [ + [ + "sprintf-js@1.0.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "sprintf-js@1.0.3", + "_id": "sprintf-js@1.0.3", + "_inBundle": false, + "_integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "_location": "/sprintf-js", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "sprintf-js@1.0.3", "name": "sprintf-js", - "version": "1.0.3", - "description": "JavaScript sprintf implementation", - "author": "Alexandru Marasteanu (http://alexei.ro/)", - "main": "src/sprintf.js", - "scripts": { - "test": "mocha test/test.js" - }, - "repository": { - "type": "git", - "url": "https://github.com/alexei/sprintf.js.git" - }, - "license": "BSD-3-Clause", - "readmeFilename": "README.md", - "devDependencies": { - "mocha": "*", - "grunt": "*", - "grunt-contrib-watch": "*", - "grunt-contrib-uglify": "*" - } + "escapedName": "sprintf-js", + "rawSpec": "1.0.3", + "saveSpec": null, + "fetchSpec": "1.0.3" + }, + "_requiredBy": [ + "/argparse" + ], + "_resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "_spec": "1.0.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Alexandru Marasteanu", + "email": "hello@alexei.ro", + "url": "http://alexei.ro/" + }, + "bugs": { + "url": "https://github.com/alexei/sprintf.js/issues" + }, + "description": "JavaScript sprintf implementation", + "devDependencies": { + "grunt": "*", + "grunt-contrib-uglify": "*", + "grunt-contrib-watch": "*", + "mocha": "*" + }, + "homepage": "https://github.com/alexei/sprintf.js#readme", + "license": "BSD-3-Clause", + "main": "src/sprintf.js", + "name": "sprintf-js", + "repository": { + "type": "git", + "url": "git+https://github.com/alexei/sprintf.js.git" + }, + "scripts": { + "test": "mocha test/test.js" + }, + "version": "1.0.3" } diff --git a/node_modules/stack-trace/.npmignore b/node_modules/stack-trace/.npmignore deleted file mode 100644 index b59f7e3a9..000000000 --- a/node_modules/stack-trace/.npmignore +++ /dev/null @@ -1 +0,0 @@ -test/ \ No newline at end of file diff --git a/node_modules/stack-trace/License b/node_modules/stack-trace/License deleted file mode 100644 index 11ec094ea..000000000 --- a/node_modules/stack-trace/License +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011 Felix Geisendörfer (felix@debuggable.com) - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. diff --git a/node_modules/stack-trace/Makefile b/node_modules/stack-trace/Makefile deleted file mode 100644 index a7ce31d3f..000000000 --- a/node_modules/stack-trace/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -SHELL := /bin/bash - -test: - @./test/run.js - -release: - git push - git push --tags - npm publish . - -.PHONY: test diff --git a/node_modules/stack-trace/Readme.md b/node_modules/stack-trace/Readme.md deleted file mode 100644 index fcd1b97c5..000000000 --- a/node_modules/stack-trace/Readme.md +++ /dev/null @@ -1,98 +0,0 @@ -# stack-trace - -Get v8 stack traces as an array of CallSite objects. - -## Install - -``` bash -npm install stack-trace -``` - -## Usage - -The stack-trace module makes it easy for you to capture the current stack: - -``` javascript -var stackTrace = require('stack-trace'); -var trace = stackTrace.get(); - -require('assert').strictEqual(trace[0].getFileName(), __filename); -``` - -However, sometimes you have already popped the stack you are interested in, -and all you have left is an `Error` object. This module can help: - -``` javascript -var stackTrace = require('stack-trace'); -var err = new Error('something went wrong'); -var trace = stackTrace.parse(err); - -require('assert').strictEqual(trace[0].getFileName(), __filename); -``` - -Please note that parsing the `Error#stack` property is not perfect, only -certain properties can be retrieved with it as noted in the API docs below. - -## Long stack traces - -stack-trace works great with [long-stack-traces][], when parsing an `err.stack` -that has crossed the event loop boundary, a `CallSite` object returning -`'----------------------------------------'` for `getFileName()` is created. -All other methods of the event loop boundary call site return `null`. - -[long-stack-traces]: https://github.com/tlrobinson/long-stack-traces - -## API - -### stackTrace.get([belowFn]) - -Returns an array of `CallSite` objects, where element `0` is the current call -site. - -When passing a function on the current stack as the `belowFn` parameter, the -returned array will only include `CallSite` objects below this function. - -### stackTrace.parse(err) - -Parses the `err.stack` property of an `Error` object into an array compatible -with those returned by `stackTrace.get()`. However, only the following methods -are implemented on the returned `CallSite` objects. - -* getTypeName -* getFunctionName -* getMethodName -* getFileName -* getLineNumber -* getColumnNumber -* isNative - -Note: Except `getFunctionName()`, all of the above methods return exactly the -same values as you would get from `stackTrace.get()`. `getFunctionName()` -is sometimes a little different, but still useful. - -### CallSite - -The official v8 CallSite object API can be found [here][v8stackapi]. A quick -excerpt: - -> A CallSite object defines the following methods: -> -> * **getThis**: returns the value of this -> * **getTypeName**: returns the type of this as a string. This is the name of the function stored in the constructor field of this, if available, otherwise the object's [[Class]] internal property. -> * **getFunction**: returns the current function -> * **getFunctionName**: returns the name of the current function, typically its name property. If a name property is not available an attempt will be made to try to infer a name from the function's context. -> * **getMethodName**: returns the name of the property of this or one of its prototypes that holds the current function -> * **getFileName**: if this function was defined in a script returns the name of the script -> * **getLineNumber**: if this function was defined in a script returns the current line number -> * **getColumnNumber**: if this function was defined in a script returns the current column number -> * **getEvalOrigin**: if this function was created using a call to eval returns a CallSite object representing the location where eval was called -> * **isToplevel**: is this a toplevel invocation, that is, is this the global object? -> * **isEval**: does this call take place in code defined by a call to eval? -> * **isNative**: is this call in native V8 code? -> * **isConstructor**: is this a constructor call? - -[v8stackapi]: http://code.google.com/p/v8/wiki/JavaScriptStackTraceApi - -## License - -stack-trace is licensed under the MIT license. diff --git a/node_modules/stack-trace/lib/stack-trace.js b/node_modules/stack-trace/lib/stack-trace.js deleted file mode 100644 index cbadd58fc..000000000 --- a/node_modules/stack-trace/lib/stack-trace.js +++ /dev/null @@ -1,136 +0,0 @@ -exports.get = function(belowFn) { - var oldLimit = Error.stackTraceLimit; - Error.stackTraceLimit = Infinity; - - var dummyObject = {}; - - var v8Handler = Error.prepareStackTrace; - Error.prepareStackTrace = function(dummyObject, v8StackTrace) { - return v8StackTrace; - }; - Error.captureStackTrace(dummyObject, belowFn || exports.get); - - var v8StackTrace = dummyObject.stack; - Error.prepareStackTrace = v8Handler; - Error.stackTraceLimit = oldLimit; - - return v8StackTrace; -}; - -exports.parse = function(err) { - if (!err.stack) { - return []; - } - - var self = this; - var lines = err.stack.split('\n').slice(1); - - return lines - .map(function(line) { - if (line.match(/^\s*[-]{4,}$/)) { - return self._createParsedCallSite({ - fileName: line, - lineNumber: null, - functionName: null, - typeName: null, - methodName: null, - columnNumber: null, - 'native': null, - }); - } - - var lineMatch = line.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/); - if (!lineMatch) { - return; - } - - var object = null; - var method = null; - var functionName = null; - var typeName = null; - var methodName = null; - var isNative = (lineMatch[5] === 'native'); - - if (lineMatch[1]) { - functionName = lineMatch[1]; - var methodStart = functionName.lastIndexOf('.'); - if (functionName[methodStart-1] == '.') - methodStart--; - if (methodStart > 0) { - object = functionName.substr(0, methodStart); - method = functionName.substr(methodStart + 1); - var objectEnd = object.indexOf('.Module'); - if (objectEnd > 0) { - functionName = functionName.substr(objectEnd + 1); - object = object.substr(0, objectEnd); - } - } - typeName = null; - } - - if (method) { - typeName = object; - methodName = method; - } - - if (method === '') { - methodName = null; - functionName = null; - } - - var properties = { - fileName: lineMatch[2] || null, - lineNumber: parseInt(lineMatch[3], 10) || null, - functionName: functionName, - typeName: typeName, - methodName: methodName, - columnNumber: parseInt(lineMatch[4], 10) || null, - 'native': isNative, - }; - - return self._createParsedCallSite(properties); - }) - .filter(function(callSite) { - return !!callSite; - }); -}; - -function CallSite(properties) { - for (var property in properties) { - this[property] = properties[property]; - } -} - -var strProperties = [ - 'this', - 'typeName', - 'functionName', - 'methodName', - 'fileName', - 'lineNumber', - 'columnNumber', - 'function', - 'evalOrigin' -]; -var boolProperties = [ - 'topLevel', - 'eval', - 'native', - 'constructor' -]; -strProperties.forEach(function (property) { - CallSite.prototype[property] = null; - CallSite.prototype['get' + property[0].toUpperCase() + property.substr(1)] = function () { - return this[property]; - } -}); -boolProperties.forEach(function (property) { - CallSite.prototype[property] = false; - CallSite.prototype['is' + property[0].toUpperCase() + property.substr(1)] = function () { - return this[property]; - } -}); - -exports._createParsedCallSite = function(properties) { - return new CallSite(properties); -}; diff --git a/node_modules/stack-trace/package.json b/node_modules/stack-trace/package.json deleted file mode 100644 index 9cd0d0745..000000000 --- a/node_modules/stack-trace/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "author": "Felix Geisendörfer (http://debuggable.com/)", - "name": "stack-trace", - "description": "Get v8 stack traces as an array of CallSite objects.", - "version": "0.0.10", - "homepage": "https://github.com/felixge/node-stack-trace", - "repository": { - "type": "git", - "url": "git://github.com/felixge/node-stack-trace.git" - }, - "main": "./lib/stack-trace", - "engines": { - "node": "*" - }, - "license": "MIT", - "dependencies": {}, - "devDependencies": { - "far": "0.0.3", - "long-stack-traces": "0.1.2" - } -} diff --git a/node_modules/stack-utils/node_modules/escape-string-regexp/package.json b/node_modules/stack-utils/node_modules/escape-string-regexp/package.json index 2e343cfa0..03847bd3e 100644 --- a/node_modules/stack-utils/node_modules/escape-string-regexp/package.json +++ b/node_modules/stack-utils/node_modules/escape-string-regexp/package.json @@ -1,43 +1,87 @@ { - "name": "escape-string-regexp", - "version": "2.0.0", - "description": "Escape RegExp special characters", - "license": "MIT", - "repository": "sindresorhus/escape-string-regexp", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "maintainers": [ - "Sindre Sorhus (sindresorhus.com)", - "Joshua Boy Nicolai Appelman (jbna.nl)" - ], - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "escape", - "regex", - "regexp", - "re", - "regular", - "expression", - "string", - "str", - "special", - "characters" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "escape-string-regexp@2.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "escape-string-regexp@2.0.0", + "_id": "escape-string-regexp@2.0.0", + "_inBundle": false, + "_integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "_location": "/stack-utils/escape-string-regexp", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "escape-string-regexp@2.0.0", + "name": "escape-string-regexp", + "escapedName": "escape-string-regexp", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/stack-utils" + ], + "_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/escape-string-regexp/issues" + }, + "description": "Escape RegExp special characters", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/escape-string-regexp#readme", + "keywords": [ + "escape", + "regex", + "regexp", + "re", + "regular", + "expression", + "string", + "str", + "special", + "characters" + ], + "license": "MIT", + "maintainers": [ + { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + { + "name": "Joshua Boy Nicolai Appelman", + "email": "joshua@jbna.nl", + "url": "jbna.nl" + } + ], + "name": "escape-string-regexp", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/escape-string-regexp.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "2.0.0" } diff --git a/node_modules/stack-utils/package.json b/node_modules/stack-utils/package.json index 565acf6ef..ab23a99b4 100644 --- a/node_modules/stack-utils/package.json +++ b/node_modules/stack-utils/package.json @@ -1,32 +1,46 @@ { - "name": "stack-utils", - "version": "2.0.5", - "description": "Captures and cleans stack traces", - "license": "MIT", - "repository": "tapjs/stack-utils", + "_args": [ + [ + "stack-utils@2.0.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "stack-utils@2.0.5", + "_id": "stack-utils@2.0.5", + "_inBundle": false, + "_integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", + "_location": "/stack-utils", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "stack-utils@2.0.5", + "name": "stack-utils", + "escapedName": "stack-utils", + "rawSpec": "2.0.5", + "saveSpec": null, + "fetchSpec": "2.0.5" + }, + "_requiredBy": [ + "/jest-circus", + "/jest-message-util" + ], + "_resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", + "_spec": "2.0.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "James Talmage", "email": "james@talmage.io", "url": "github.com/jamestalmage" }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "prepublishOnly": "git push origin --follow-tags" + "bugs": { + "url": "https://github.com/tapjs/stack-utils/issues" }, - "tap": { - "check-coverage": true - }, - "files": [ - "index.js" - ], "dependencies": { "escape-string-regexp": "^2.0.0" }, + "description": "Captures and cleans stack traces", "devDependencies": { "bluebird": "^3.7.2", "coveralls": "^3.0.9", @@ -35,5 +49,28 @@ "q": "^1.5.1", "source-map-support": "^0.5.20", "tap": "^15.0.9" - } + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/tapjs/stack-utils#readme", + "license": "MIT", + "name": "stack-utils", + "repository": { + "type": "git", + "url": "git+https://github.com/tapjs/stack-utils.git" + }, + "scripts": { + "postversion": "npm publish", + "prepublishOnly": "git push origin --follow-tags", + "preversion": "npm test", + "test": "tap" + }, + "tap": { + "check-coverage": true + }, + "version": "2.0.5" } diff --git a/node_modules/statuses/package.json b/node_modules/statuses/package.json index 7595e2bad..22a8cfd44 100644 --- a/node_modules/statuses/package.json +++ b/node_modules/statuses/package.json @@ -1,24 +1,50 @@ { - "name": "statuses", - "description": "HTTP status utility", - "version": "1.5.0", - "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)" + "_args": [ + [ + "statuses@1.5.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": "jshttp/statuses", - "license": "MIT", - "keywords": [ - "http", - "status", - "code" + "_from": "statuses@1.5.0", + "_id": "statuses@1.5.0", + "_inBundle": false, + "_integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "_location": "/statuses", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "statuses@1.5.0", + "name": "statuses", + "escapedName": "statuses", + "rawSpec": "1.5.0", + "saveSpec": null, + "fetchSpec": "1.5.0" + }, + "_requiredBy": [ + "/express", + "/finalhandler", + "/http-errors", + "/send" ], - "files": [ - "HISTORY.md", - "index.js", - "codes.json", - "LICENSE" + "_resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "_spec": "1.5.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/jshttp/statuses/issues" + }, + "contributors": [ + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } ], + "description": "HTTP status utility", "devDependencies": { "csv-parse": "1.2.4", "eslint": "4.19.1", @@ -36,6 +62,24 @@ "engines": { "node": ">= 0.6" }, + "files": [ + "HISTORY.md", + "index.js", + "codes.json", + "LICENSE" + ], + "homepage": "https://github.com/jshttp/statuses#readme", + "keywords": [ + "http", + "status", + "code" + ], + "license": "MIT", + "name": "statuses", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/statuses.git" + }, "scripts": { "build": "node scripts/build.js", "fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js", @@ -44,5 +88,6 @@ "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "update": "npm run fetch && npm run build" - } + }, + "version": "1.5.0" } diff --git a/node_modules/string-argv/package.json b/node_modules/string-argv/package.json index bd037483f..2e95f695d 100644 --- a/node_modules/string-argv/package.json +++ b/node_modules/string-argv/package.json @@ -1,43 +1,71 @@ -{ - "name": "string-argv", - "description": "string-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.", - "version": "0.3.1", - "contributors": [ - { - "name": "Michael Ferris", - "email": "mike.ferri@hotmail.com" - } - ], - "author": { - "name": "Anthony McCormick", - "email": "anthony.mccormick@gmail.com" - }, - "license": "MIT", - "keywords": [ - "argv" - ], - "scripts": { - "build": "tsc -p .", - "prepublishOnly": "npm test", - "test": "npm run build & jasmine --config=test/config.json" - }, - "main": "index", - "types": "index.d.ts", - "engines": { - "node": ">=0.6.19" - }, - "bugs": { - "url": "https://github.com/mccormicka/string-argv/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/mccormicka/string-argv" - }, - "homepage": "https://github.com/mccormicka/string-argv", - "readmeFilename": "README.md", - "dependencies": {}, - "devDependencies": { - "jasmine": "^2.4.1", - "typescript": "^3.4.3" - } -} +{ + "_args": [ + [ + "string-argv@0.3.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "string-argv@0.3.1", + "_id": "string-argv@0.3.1", + "_inBundle": false, + "_integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", + "_location": "/string-argv", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "string-argv@0.3.1", + "name": "string-argv", + "escapedName": "string-argv", + "rawSpec": "0.3.1", + "saveSpec": null, + "fetchSpec": "0.3.1" + }, + "_requiredBy": [ + "/lint-staged" + ], + "_resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", + "_spec": "0.3.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Anthony McCormick", + "email": "anthony.mccormick@gmail.com" + }, + "bugs": { + "url": "https://github.com/mccormicka/string-argv/issues" + }, + "contributors": [ + { + "name": "Michael Ferris", + "email": "mike.ferri@hotmail.com" + } + ], + "dependencies": {}, + "description": "string-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.", + "devDependencies": { + "jasmine": "^2.4.1", + "typescript": "^3.4.3" + }, + "engines": { + "node": ">=0.6.19" + }, + "homepage": "https://github.com/mccormicka/string-argv", + "keywords": [ + "argv" + ], + "license": "MIT", + "main": "index", + "name": "string-argv", + "repository": { + "type": "git", + "url": "git+https://github.com/mccormicka/string-argv.git" + }, + "scripts": { + "build": "tsc -p .", + "prepublishOnly": "npm test", + "test": "npm run build & jasmine --config=test/config.json" + }, + "types": "index.d.ts", + "version": "0.3.1" +} diff --git a/node_modules/string-length/package.json b/node_modules/string-length/package.json index 5acf08f40..e75a3aa32 100644 --- a/node_modules/string-length/package.json +++ b/node_modules/string-length/package.json @@ -1,45 +1,82 @@ { - "name": "string-length", - "version": "4.0.2", - "description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", - "license": "MIT", - "repository": "sindresorhus/string-length", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "unicode", - "string", - "length", - "size", - "count", - "astral", - "symbol", - "surrogates", - "codepoints", - "ansi", - "escape", - "codes" - ], - "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - }, - "devDependencies": { - "ava": "^3.1.0", - "tsd": "^0.11.0", - "xo": "^0.25.3" - } + "_args": [ + [ + "string-length@4.0.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "string-length@4.0.2", + "_id": "string-length@4.0.2", + "_inBundle": false, + "_integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "_location": "/string-length", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "string-length@4.0.2", + "name": "string-length", + "escapedName": "string-length", + "rawSpec": "4.0.2", + "saveSpec": null, + "fetchSpec": "4.0.2" + }, + "_requiredBy": [ + "/@jest/reporters", + "/jest-watcher" + ], + "_resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "_spec": "4.0.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/string-length/issues" + }, + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", + "devDependencies": { + "ava": "^3.1.0", + "tsd": "^0.11.0", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/string-length#readme", + "keywords": [ + "unicode", + "string", + "length", + "size", + "count", + "astral", + "symbol", + "surrogates", + "codepoints", + "ansi", + "escape", + "codes" + ], + "license": "MIT", + "name": "string-length", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/string-length.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.0.2" } diff --git a/node_modules/string-width/package.json b/node_modules/string-width/package.json index 28ba7b4ca..0788efca4 100644 --- a/node_modules/string-width/package.json +++ b/node_modules/string-width/package.json @@ -1,56 +1,97 @@ { - "name": "string-width", - "version": "4.2.3", - "description": "Get the visual width of a string - the number of columns required to display it", - "license": "MIT", - "repository": "sindresorhus/string-width", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "string", - "character", - "unicode", - "width", - "visual", - "column", - "columns", - "fullwidth", - "full-width", - "full", - "ansi", - "escape", - "codes", - "cli", - "command-line", - "terminal", - "console", - "cjk", - "chinese", - "japanese", - "korean", - "fixed-width" - ], - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.1", - "xo": "^0.24.0" - } + "_args": [ + [ + "string-width@4.2.3", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "string-width@4.2.3", + "_id": "string-width@4.2.3", + "_inBundle": false, + "_integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "_location": "/string-width", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "string-width@4.2.3", + "name": "string-width", + "escapedName": "string-width", + "rawSpec": "4.2.3", + "saveSpec": null, + "fetchSpec": "4.2.3" + }, + "_requiredBy": [ + "/cli-truncate", + "/cliui", + "/eslint/table", + "/lighthouse/yargs", + "/log-update/wrap-ansi", + "/wrap-ansi", + "/yargs" + ], + "_resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "_spec": "4.2.3", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/string-width/issues" + }, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "description": "Get the visual width of a string - the number of columns required to display it", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.1", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/string-width#readme", + "keywords": [ + "string", + "character", + "unicode", + "width", + "visual", + "column", + "columns", + "fullwidth", + "full-width", + "full", + "ansi", + "escape", + "codes", + "cli", + "command-line", + "terminal", + "console", + "cjk", + "chinese", + "japanese", + "korean", + "fixed-width" + ], + "license": "MIT", + "name": "string-width", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/string-width.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.2.3" } diff --git a/node_modules/stringify-object/node_modules/is-obj/package.json b/node_modules/stringify-object/node_modules/is-obj/package.json index c441d272a..c26bcfa90 100644 --- a/node_modules/stringify-object/node_modules/is-obj/package.json +++ b/node_modules/stringify-object/node_modules/is-obj/package.json @@ -1,23 +1,53 @@ { - "name": "is-obj", - "version": "1.0.1", - "description": "Check if a value is an object", - "license": "MIT", - "repository": "sindresorhus/is-obj", + "_args": [ + [ + "is-obj@1.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "is-obj@1.0.1", + "_id": "is-obj@1.0.1", + "_inBundle": false, + "_integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "_location": "/stringify-object/is-obj", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "is-obj@1.0.1", + "name": "is-obj", + "escapedName": "is-obj", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" + }, + "_requiredBy": [ + "/stringify-object" + ], + "_resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "_spec": "1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/is-obj/issues" + }, + "description": "Check if a value is an object", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=0.10.0" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/is-obj#readme", "keywords": [ "obj", "object", @@ -26,8 +56,14 @@ "test", "type" ], - "devDependencies": { - "ava": "*", - "xo": "*" - } + "license": "MIT", + "name": "is-obj", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/is-obj.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.0.1" } diff --git a/node_modules/stringify-object/package.json b/node_modules/stringify-object/package.json index 74d638c00..70ea3af6a 100644 --- a/node_modules/stringify-object/package.json +++ b/node_modules/stringify-object/package.json @@ -1,40 +1,76 @@ { - "name": "stringify-object", - "version": "3.3.0", - "description": "Stringify an object/array like JSON.stringify just without all the double-quotes", - "license": "BSD-2-Clause", - "repository": "yeoman/stringify-object", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "object", - "stringify", - "pretty", - "print", - "dump", - "format", - "type", - "json" - ], - "dependencies": { - "get-own-enumerable-property-symbols": "^3.0.0", - "is-obj": "^1.0.1", - "is-regexp": "^1.0.0" - }, - "devDependencies": { - "ava": "*", - "xo": "*" - } + "_args": [ + [ + "stringify-object@3.3.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "stringify-object@3.3.0", + "_id": "stringify-object@3.3.0", + "_inBundle": false, + "_integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", + "_location": "/stringify-object", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "stringify-object@3.3.0", + "name": "stringify-object", + "escapedName": "stringify-object", + "rawSpec": "3.3.0", + "saveSpec": null, + "fetchSpec": "3.3.0" + }, + "_requiredBy": [ + "/lint-staged" + ], + "_resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", + "_spec": "3.3.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/yeoman/stringify-object/issues" + }, + "dependencies": { + "get-own-enumerable-property-symbols": "^3.0.0", + "is-obj": "^1.0.1", + "is-regexp": "^1.0.0" + }, + "description": "Stringify an object/array like JSON.stringify just without all the double-quotes", + "devDependencies": { + "ava": "*", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/yeoman/stringify-object#readme", + "keywords": [ + "object", + "stringify", + "pretty", + "print", + "dump", + "format", + "type", + "json" + ], + "license": "BSD-2-Clause", + "name": "stringify-object", + "repository": { + "type": "git", + "url": "git+https://github.com/yeoman/stringify-object.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "3.3.0" } diff --git a/node_modules/strip-ansi/package.json b/node_modules/strip-ansi/package.json index 1a41108d4..bc21b6439 100644 --- a/node_modules/strip-ansi/package.json +++ b/node_modules/strip-ansi/package.json @@ -1,54 +1,96 @@ { - "name": "strip-ansi", - "version": "6.0.1", - "description": "Strip ANSI escape codes from a string", - "license": "MIT", - "repository": "chalk/strip-ansi", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "strip", - "trim", - "remove", - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "devDependencies": { - "ava": "^2.4.0", - "tsd": "^0.10.0", - "xo": "^0.25.3" - } + "_args": [ + [ + "strip-ansi@6.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "strip-ansi@6.0.1", + "_id": "strip-ansi@6.0.1", + "_inBundle": false, + "_integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "_location": "/strip-ansi", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "strip-ansi@6.0.1", + "name": "strip-ansi", + "escapedName": "strip-ansi", + "rawSpec": "6.0.1", + "saveSpec": null, + "fetchSpec": "6.0.1" + }, + "_requiredBy": [ + "/@jest/core", + "/cliui", + "/eslint", + "/eslint/table", + "/log-update/wrap-ansi", + "/string-length", + "/string-width", + "/wrap-ansi" + ], + "_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "_spec": "6.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/strip-ansi/issues" + }, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "description": "Strip ANSI escape codes from a string", + "devDependencies": { + "ava": "^2.4.0", + "tsd": "^0.10.0", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/chalk/strip-ansi#readme", + "keywords": [ + "strip", + "trim", + "remove", + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "strip-ansi", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/strip-ansi.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "6.0.1" } diff --git a/node_modules/strip-bom/package.json b/node_modules/strip-bom/package.json index f96ba34fe..2c9f6bebe 100644 --- a/node_modules/strip-bom/package.json +++ b/node_modules/strip-bom/package.json @@ -1,42 +1,78 @@ { - "name": "strip-bom", - "version": "4.0.0", - "description": "Strip UTF-8 byte order mark (BOM) from a string", - "license": "MIT", - "repository": "sindresorhus/strip-bom", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "strip", - "bom", - "byte", - "order", - "mark", - "unicode", - "utf8", - "utf-8", - "remove", - "delete", - "trim", - "text", - "string" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "strip-bom@4.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "strip-bom@4.0.0", + "_id": "strip-bom@4.0.0", + "_inBundle": false, + "_integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "_location": "/strip-bom", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "strip-bom@4.0.0", + "name": "strip-bom", + "escapedName": "strip-bom", + "rawSpec": "4.0.0", + "saveSpec": null, + "fetchSpec": "4.0.0" + }, + "_requiredBy": [ + "/jest-runtime" + ], + "_resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "_spec": "4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/strip-bom/issues" + }, + "description": "Strip UTF-8 byte order mark (BOM) from a string", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/strip-bom#readme", + "keywords": [ + "strip", + "bom", + "byte", + "order", + "mark", + "unicode", + "utf8", + "utf-8", + "remove", + "delete", + "trim", + "text", + "string" + ], + "license": "MIT", + "name": "strip-bom", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/strip-bom.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "4.0.0" } diff --git a/node_modules/strip-final-newline/package.json b/node_modules/strip-final-newline/package.json index d9f2a6c52..4bedfc38f 100644 --- a/node_modules/strip-final-newline/package.json +++ b/node_modules/strip-final-newline/package.json @@ -1,40 +1,77 @@ { - "name": "strip-final-newline", - "version": "2.0.0", - "description": "Strip the final newline character from a string/buffer", - "license": "MIT", - "repository": "sindresorhus/strip-final-newline", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "strip", - "trim", - "remove", - "delete", - "final", - "last", - "end", - "file", - "newline", - "linebreak", - "character", - "string", - "buffer" - ], - "devDependencies": { - "ava": "^0.25.0", - "xo": "^0.23.0" - } + "_args": [ + [ + "strip-final-newline@2.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "strip-final-newline@2.0.0", + "_id": "strip-final-newline@2.0.0", + "_inBundle": false, + "_integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "_location": "/strip-final-newline", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "strip-final-newline@2.0.0", + "name": "strip-final-newline", + "escapedName": "strip-final-newline", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/execa", + "/lint-staged/execa" + ], + "_resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/strip-final-newline/issues" + }, + "description": "Strip the final newline character from a string/buffer", + "devDependencies": { + "ava": "^0.25.0", + "xo": "^0.23.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/strip-final-newline#readme", + "keywords": [ + "strip", + "trim", + "remove", + "delete", + "final", + "last", + "end", + "file", + "newline", + "linebreak", + "character", + "string", + "buffer" + ], + "license": "MIT", + "name": "strip-final-newline", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/strip-final-newline.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "2.0.0" } diff --git a/node_modules/strip-indent/package.json b/node_modules/strip-indent/package.json index d66a003b8..23aa52a59 100644 --- a/node_modules/strip-indent/package.json +++ b/node_modules/strip-indent/package.json @@ -1,42 +1,74 @@ { - "name": "strip-indent", - "version": "3.0.0", - "description": "Strip leading whitespace from each line in a string", - "license": "MIT", - "repository": "sindresorhus/strip-indent", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "strip", - "indent", - "indentation", - "normalize", - "remove", - "delete", - "whitespace", - "space", - "tab", - "string" - ], - "dependencies": { - "min-indent": "^1.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_from": "strip-indent@^3.0.0", + "_id": "strip-indent@3.0.0", + "_inBundle": false, + "_integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "_location": "/strip-indent", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "strip-indent@^3.0.0", + "name": "strip-indent", + "escapedName": "strip-indent", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/redent" + ], + "_resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "_shasum": "c32e1cee940b6b3432c771bc2c54bcce73cd3001", + "_spec": "strip-indent@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/redent", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/strip-indent/issues" + }, + "bundleDependencies": false, + "dependencies": { + "min-indent": "^1.0.0" + }, + "deprecated": false, + "description": "Strip leading whitespace from each line in a string", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/strip-indent#readme", + "keywords": [ + "strip", + "indent", + "indentation", + "normalize", + "remove", + "delete", + "whitespace", + "space", + "tab", + "string" + ], + "license": "MIT", + "name": "strip-indent", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/strip-indent.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.0.0" } diff --git a/node_modules/strip-json-comments/package.json b/node_modules/strip-json-comments/package.json index ce7875aa0..61a17c3b9 100644 --- a/node_modules/strip-json-comments/package.json +++ b/node_modules/strip-json-comments/package.json @@ -1,47 +1,84 @@ { - "name": "strip-json-comments", - "version": "3.1.1", - "description": "Strip comments from JSON. Lets you use comments in your JSON files!", - "license": "MIT", - "repository": "sindresorhus/strip-json-comments", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd", - "bench": "matcha benchmark.js" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "json", - "strip", - "comments", - "remove", - "delete", - "trim", - "multiline", - "parse", - "config", - "configuration", - "settings", - "util", - "env", - "environment", - "jsonc" - ], - "devDependencies": { - "ava": "^1.4.1", - "matcha": "^0.7.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_args": [ + [ + "strip-json-comments@3.1.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "strip-json-comments@3.1.1", + "_id": "strip-json-comments@3.1.1", + "_inBundle": false, + "_integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "_location": "/strip-json-comments", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "strip-json-comments@3.1.1", + "name": "strip-json-comments", + "escapedName": "strip-json-comments", + "rawSpec": "3.1.1", + "saveSpec": null, + "fetchSpec": "3.1.1" + }, + "_requiredBy": [ + "/@eslint/eslintrc", + "/eslint" + ], + "_resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "_spec": "3.1.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/strip-json-comments/issues" + }, + "description": "Strip comments from JSON. Lets you use comments in your JSON files!", + "devDependencies": { + "ava": "^1.4.1", + "matcha": "^0.7.0", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/strip-json-comments#readme", + "keywords": [ + "json", + "strip", + "comments", + "remove", + "delete", + "trim", + "multiline", + "parse", + "config", + "configuration", + "settings", + "util", + "env", + "environment", + "jsonc" + ], + "license": "MIT", + "name": "strip-json-comments", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/strip-json-comments.git" + }, + "scripts": { + "bench": "matcha benchmark.js", + "test": "xo && ava && tsd" + }, + "version": "3.1.1" } diff --git a/node_modules/supports-color/package.json b/node_modules/supports-color/package.json index f7182edce..49bb0afb2 100644 --- a/node_modules/supports-color/package.json +++ b/node_modules/supports-color/package.json @@ -1,53 +1,90 @@ { - "name": "supports-color", - "version": "7.2.0", - "description": "Detect whether a terminal supports color", - "license": "MIT", - "repository": "chalk/supports-color", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js", - "browser.js" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "ansi", - "styles", - "tty", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "support", - "supports", - "capability", - "detect", - "truecolor", - "16m" - ], - "dependencies": { - "has-flag": "^4.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "import-fresh": "^3.0.0", - "xo": "^0.24.0" - }, - "browser": "browser.js" + "_args": [ + [ + "supports-color@7.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "supports-color@7.2.0", + "_id": "supports-color@7.2.0", + "_inBundle": false, + "_integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "_location": "/supports-color", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "supports-color@7.2.0", + "name": "supports-color", + "escapedName": "supports-color", + "rawSpec": "7.2.0", + "saveSpec": null, + "fetchSpec": "7.2.0" + }, + "_requiredBy": [ + "/chalk", + "/istanbul-lib-report", + "/supports-hyperlinks" + ], + "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "_spec": "7.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "browser": "browser.js", + "bugs": { + "url": "https://github.com/chalk/supports-color/issues" + }, + "dependencies": { + "has-flag": "^4.0.0" + }, + "description": "Detect whether a terminal supports color", + "devDependencies": { + "ava": "^1.4.1", + "import-fresh": "^3.0.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "browser.js" + ], + "homepage": "https://github.com/chalk/supports-color#readme", + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "ansi", + "styles", + "tty", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "support", + "supports", + "capability", + "detect", + "truecolor", + "16m" + ], + "license": "MIT", + "name": "supports-color", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/supports-color.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "7.2.0" } diff --git a/node_modules/supports-hyperlinks/package.json b/node_modules/supports-hyperlinks/package.json index a8716bb04..e8142db3c 100644 --- a/node_modules/supports-hyperlinks/package.json +++ b/node_modules/supports-hyperlinks/package.json @@ -1,48 +1,84 @@ { + "_args": [ + [ + "supports-hyperlinks@2.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "supports-hyperlinks@2.2.0", + "_id": "supports-hyperlinks@2.2.0", + "_inBundle": false, + "_integrity": "sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==", + "_location": "/supports-hyperlinks", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "supports-hyperlinks@2.2.0", "name": "supports-hyperlinks", - "version": "2.2.0", - "description": "Detect if your terminal emulator supports hyperlinks", - "license": "MIT", - "repository": "jamestalmage/supports-hyperlinks", - "author": { - "name": "James Talmage", - "email": "james@talmage.io", - "url": "github.com/jamestalmage" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "prepublishOnly": "npm run create-types", - "test": "xo && nyc ava", - "create-types": "tsc index.js --allowJs --declaration --emitDeclarationOnly" - }, - "files": [ - "index.js", - "browser.js" - ], - "browser": "browser.js", - "keywords": [ - "link", - "terminal", - "hyperlink", - "cli" - ], - "dependencies": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - }, - "devDependencies": { - "ava": "^2.2.0", - "codecov": "^3.5.0", - "nyc": "^14.1.1", - "typescript": "^3.7.2", - "xo": "^0.24.0" - }, - "nyc": { - "reporter": [ - "lcov", - "text" - ] - } + "escapedName": "supports-hyperlinks", + "rawSpec": "2.2.0", + "saveSpec": null, + "fetchSpec": "2.2.0" + }, + "_requiredBy": [ + "/terminal-link" + ], + "_resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz", + "_spec": "2.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "James Talmage", + "email": "james@talmage.io", + "url": "github.com/jamestalmage" + }, + "browser": "browser.js", + "bugs": { + "url": "https://github.com/jamestalmage/supports-hyperlinks/issues" + }, + "dependencies": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "description": "Detect if your terminal emulator supports hyperlinks", + "devDependencies": { + "ava": "^2.2.0", + "codecov": "^3.5.0", + "nyc": "^14.1.1", + "typescript": "^3.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "browser.js" + ], + "homepage": "https://github.com/jamestalmage/supports-hyperlinks#readme", + "keywords": [ + "link", + "terminal", + "hyperlink", + "cli" + ], + "license": "MIT", + "name": "supports-hyperlinks", + "nyc": { + "reporter": [ + "lcov", + "text" + ] + }, + "repository": { + "type": "git", + "url": "git+https://github.com/jamestalmage/supports-hyperlinks.git" + }, + "scripts": { + "create-types": "tsc index.js --allowJs --declaration --emitDeclarationOnly", + "prepublishOnly": "npm run create-types", + "test": "xo && nyc ava" + }, + "version": "2.2.0" } diff --git a/node_modules/supports-preserve-symlinks-flag/package.json b/node_modules/supports-preserve-symlinks-flag/package.json index 56edadcaa..8c7e527b5 100644 --- a/node_modules/supports-preserve-symlinks-flag/package.json +++ b/node_modules/supports-preserve-symlinks-flag/package.json @@ -1,70 +1,101 @@ { - "name": "supports-preserve-symlinks-flag", - "version": "1.0.0", - "description": "Determine if the current node version supports the `--preserve-symlinks` flag.", - "main": "./index.js", - "browser": "./browser.js", - "exports": { - ".": [ - { - "browser": "./browser.js", - "default": "./index.js" - }, - "./index.js" - ], - "./package.json": "./package.json" - }, - "sideEffects": false, - "scripts": { - "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", - "lint": "eslint --ext=js,mjs .", - "pretest": "npm run lint", - "tests-only": "nyc tape 'test/**/*.js'", - "test": "npm run tests-only", - "posttest": "aud --production", - "version": "auto-changelog && git add CHANGELOG.md", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git" - }, - "keywords": [ - "node", - "flag", - "symlink", - "symlinks", - "preserve-symlinks" - ], - "author": "Jordan Harband ", - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/inspect-js/node-supports-preserve-symlinks-flag/issues" - }, - "homepage": "https://github.com/inspect-js/node-supports-preserve-symlinks-flag#readme", - "devDependencies": { - "@ljharb/eslint-config": "^20.1.0", - "aud": "^1.1.5", - "auto-changelog": "^2.3.0", - "eslint": "^8.6.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "semver": "^6.3.0", - "tape": "^5.4.0" - }, - "engines": { - "node": ">= 0.4" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - } + "_args": [ + [ + "supports-preserve-symlinks-flag@1.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "supports-preserve-symlinks-flag@1.0.0", + "_id": "supports-preserve-symlinks-flag@1.0.0", + "_inBundle": false, + "_integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "_location": "/supports-preserve-symlinks-flag", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "supports-preserve-symlinks-flag@1.0.0", + "name": "supports-preserve-symlinks-flag", + "escapedName": "supports-preserve-symlinks-flag", + "rawSpec": "1.0.0", + "saveSpec": null, + "fetchSpec": "1.0.0" + }, + "_requiredBy": [ + "/resolve" + ], + "_resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "_spec": "1.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "browser": "./browser.js", + "bugs": { + "url": "https://github.com/inspect-js/node-supports-preserve-symlinks-flag/issues" + }, + "description": "Determine if the current node version supports the `--preserve-symlinks` flag.", + "devDependencies": { + "@ljharb/eslint-config": "^20.1.0", + "aud": "^1.1.5", + "auto-changelog": "^2.3.0", + "eslint": "^8.6.0", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "semver": "^6.3.0", + "tape": "^5.4.0" + }, + "engines": { + "node": ">= 0.4" + }, + "exports": { + ".": [ + { + "browser": "./browser.js", + "default": "./index.js" + }, + "./index.js" + ], + "./package.json": "./package.json" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "homepage": "https://github.com/inspect-js/node-supports-preserve-symlinks-flag#readme", + "keywords": [ + "node", + "flag", + "symlink", + "symlinks", + "preserve-symlinks" + ], + "license": "MIT", + "main": "./index.js", + "name": "supports-preserve-symlinks-flag", + "repository": { + "type": "git", + "url": "git+https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git" + }, + "scripts": { + "lint": "eslint --ext=js,mjs .", + "posttest": "aud --production", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "pretest": "npm run lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "version": "auto-changelog && git add CHANGELOG.md" + }, + "sideEffects": false, + "version": "1.0.0" } diff --git a/node_modules/symbol-tree/package.json b/node_modules/symbol-tree/package.json index dfaefddaf..50c9a2706 100644 --- a/node_modules/symbol-tree/package.json +++ b/node_modules/symbol-tree/package.json @@ -1,21 +1,54 @@ { - "name": "symbol-tree", - "version": "3.2.4", - "description": "Turn any collection of objects into its own efficient tree or linked list using Symbol", - "main": "lib/SymbolTree.js", - "scripts": { - "lint": "eslint lib test", - "test": "istanbul cover test/SymbolTree.js", - "posttest": "npm run lint", - "ci": "istanbul cover test/SymbolTree.js --report lcovonly && cat ./coverage/lcov.info | coveralls", - "postci": "npm run posttest", - "predocumentation": "cp readme-header.md README.md", - "documentation": "jsdoc2md --files lib/SymbolTree.js >> README.md" + "_args": [ + [ + "symbol-tree@3.2.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "symbol-tree@3.2.4", + "_id": "symbol-tree@3.2.4", + "_inBundle": false, + "_integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "_location": "/symbol-tree", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "symbol-tree@3.2.4", + "name": "symbol-tree", + "escapedName": "symbol-tree", + "rawSpec": "3.2.4", + "saveSpec": null, + "fetchSpec": "3.2.4" }, - "repository": { - "type": "git", - "url": "https://github.com/jsdom/js-symbol-tree.git" + "_requiredBy": [ + "/jsdom" + ], + "_resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "_spec": "3.2.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Joris van der Wel", + "email": "joris@jorisvanderwel.com" + }, + "bugs": { + "url": "https://github.com/jsdom/js-symbol-tree/issues" + }, + "description": "Turn any collection of objects into its own efficient tree or linked list using Symbol", + "devDependencies": { + "babel-eslint": "^10.0.1", + "coveralls": "^3.0.0", + "eslint": "^5.16.0", + "eslint-plugin-import": "^2.2.0", + "istanbul": "^0.4.5", + "jsdoc-to-markdown": "^5.0.0", + "tape": "^4.0.0" }, + "files": [ + "lib" + ], + "homepage": "https://github.com/jsdom/js-symbol-tree#symbol-tree", "keywords": [ "list", "queue", @@ -26,22 +59,21 @@ "dom", "symbol" ], - "files": [ - "lib" - ], - "author": "Joris van der Wel ", "license": "MIT", - "bugs": { - "url": "https://github.com/jsdom/js-symbol-tree/issues" + "main": "lib/SymbolTree.js", + "name": "symbol-tree", + "repository": { + "type": "git", + "url": "git+https://github.com/jsdom/js-symbol-tree.git" }, - "homepage": "https://github.com/jsdom/js-symbol-tree#symbol-tree", - "devDependencies": { - "babel-eslint": "^10.0.1", - "coveralls": "^3.0.0", - "eslint": "^5.16.0", - "eslint-plugin-import": "^2.2.0", - "istanbul": "^0.4.5", - "jsdoc-to-markdown": "^5.0.0", - "tape": "^4.0.0" - } + "scripts": { + "ci": "istanbul cover test/SymbolTree.js --report lcovonly && cat ./coverage/lcov.info | coveralls", + "documentation": "jsdoc2md --files lib/SymbolTree.js >> README.md", + "lint": "eslint lib test", + "postci": "npm run posttest", + "posttest": "npm run lint", + "predocumentation": "cp readme-header.md README.md", + "test": "istanbul cover test/SymbolTree.js" + }, + "version": "3.2.4" } diff --git a/node_modules/table/node_modules/ansi-regex/package.json b/node_modules/table/node_modules/ansi-regex/package.json index a849fdf52..928c4cf01 100644 --- a/node_modules/table/node_modules/ansi-regex/package.json +++ b/node_modules/table/node_modules/ansi-regex/package.json @@ -1,53 +1,85 @@ { - "name": "ansi-regex", - "version": "4.1.0", - "description": "Regular expression for matching ANSI escape codes", - "license": "MIT", - "repository": "chalk/ansi-regex", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava", - "view-supported": "node fixtures/view-codes.js" - }, - "files": [ - "index.js" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "text", - "regex", - "regexp", - "re", - "match", - "test", - "find", - "pattern" - ], - "devDependencies": { - "ava": "^0.25.0", - "xo": "^0.23.0" - } + "_from": "ansi-regex@^4.1.0", + "_id": "ansi-regex@4.1.0", + "_inBundle": false, + "_integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "_location": "/table/ansi-regex", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ansi-regex@^4.1.0", + "name": "ansi-regex", + "escapedName": "ansi-regex", + "rawSpec": "^4.1.0", + "saveSpec": null, + "fetchSpec": "^4.1.0" + }, + "_requiredBy": [ + "/table/strip-ansi" + ], + "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "_shasum": "8b9f8f08cf1acb843756a839ca8c7e3168c51997", + "_spec": "ansi-regex@^4.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table/node_modules/strip-ansi", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-regex/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Regular expression for matching ANSI escape codes", + "devDependencies": { + "ava": "^0.25.0", + "xo": "^0.23.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/ansi-regex#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "text", + "regex", + "regexp", + "re", + "match", + "test", + "find", + "pattern" + ], + "license": "MIT", + "name": "ansi-regex", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-regex.git" + }, + "scripts": { + "test": "xo && ava", + "view-supported": "node fixtures/view-codes.js" + }, + "version": "4.1.0" } diff --git a/node_modules/table/node_modules/ansi-styles/package.json b/node_modules/table/node_modules/ansi-styles/package.json index 65edb48c3..6b21d3467 100644 --- a/node_modules/table/node_modules/ansi-styles/package.json +++ b/node_modules/table/node_modules/ansi-styles/package.json @@ -1,56 +1,88 @@ { - "name": "ansi-styles", - "version": "3.2.1", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT", - "repository": "chalk/ansi-styles", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava", - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" - }, - "files": [ - "index.js" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "color-convert": "^1.9.0" - }, - "devDependencies": { - "ava": "*", - "babel-polyfill": "^6.23.0", - "svg-term-cli": "^2.1.1", - "xo": "*" - }, - "ava": { - "require": "babel-polyfill" - } + "_from": "ansi-styles@^3.2.0", + "_id": "ansi-styles@3.2.1", + "_inBundle": false, + "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "_location": "/table/ansi-styles", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "ansi-styles@^3.2.0", + "name": "ansi-styles", + "escapedName": "ansi-styles", + "rawSpec": "^3.2.0", + "saveSpec": null, + "fetchSpec": "^3.2.0" + }, + "_requiredBy": [ + "/table/slice-ansi" + ], + "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d", + "_spec": "ansi-styles@^3.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table/node_modules/slice-ansi", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "ava": { + "require": "babel-polyfill" + }, + "bugs": { + "url": "https://github.com/chalk/ansi-styles/issues" + }, + "bundleDependencies": false, + "dependencies": { + "color-convert": "^1.9.0" + }, + "deprecated": false, + "description": "ANSI escape codes for styling strings in the terminal", + "devDependencies": { + "ava": "*", + "babel-polyfill": "^6.23.0", + "svg-term-cli": "^2.1.1", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/ansi-styles#readme", + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "ansi-styles", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/ansi-styles.git" + }, + "scripts": { + "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", + "test": "xo && ava" + }, + "version": "3.2.1" } diff --git a/node_modules/table/node_modules/astral-regex/package.json b/node_modules/table/node_modules/astral-regex/package.json index c9a06da08..73608e502 100644 --- a/node_modules/table/node_modules/astral-regex/package.json +++ b/node_modules/table/node_modules/astral-regex/package.json @@ -1,32 +1,64 @@ { - "name": "astral-regex", - "version": "1.0.0", - "description": "Regular expression for matching astral symbols", - "license": "MIT", - "repository": "kevva/astral-regex", - "author": { - "name": "Kevin Mårtensson", - "email": "kevinmartensson@gmail.com", - "url": "github.com/kevva" - }, - "engines": { - "node": ">=4" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "astral", - "emoji", - "regex", - "surrogate" - ], - "dependencies": {}, - "devDependencies": { - "ava": "*", - "xo": "*" - } + "_from": "astral-regex@^1.0.0", + "_id": "astral-regex@1.0.0", + "_inBundle": false, + "_integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "_location": "/table/astral-regex", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "astral-regex@^1.0.0", + "name": "astral-regex", + "escapedName": "astral-regex", + "rawSpec": "^1.0.0", + "saveSpec": null, + "fetchSpec": "^1.0.0" + }, + "_requiredBy": [ + "/table/slice-ansi" + ], + "_resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "_shasum": "6c8c3fb827dd43ee3918f27b82782ab7658a6fd9", + "_spec": "astral-regex@^1.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table/node_modules/slice-ansi", + "author": { + "name": "Kevin Mårtensson", + "email": "kevinmartensson@gmail.com", + "url": "github.com/kevva" + }, + "bugs": { + "url": "https://github.com/kevva/astral-regex/issues" + }, + "bundleDependencies": false, + "dependencies": {}, + "deprecated": false, + "description": "Regular expression for matching astral symbols", + "devDependencies": { + "ava": "*", + "xo": "*" + }, + "engines": { + "node": ">=4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/kevva/astral-regex#readme", + "keywords": [ + "astral", + "emoji", + "regex", + "surrogate" + ], + "license": "MIT", + "name": "astral-regex", + "repository": { + "type": "git", + "url": "git+https://github.com/kevva/astral-regex.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "1.0.0" } diff --git a/node_modules/table/node_modules/color-convert/package.json b/node_modules/table/node_modules/color-convert/package.json index dfbc47140..b9a82b288 100644 --- a/node_modules/table/node_modules/color-convert/package.json +++ b/node_modules/table/node_modules/color-convert/package.json @@ -1,14 +1,51 @@ { - "name": "color-convert", + "_from": "color-convert@^1.9.0", + "_id": "color-convert@1.9.3", + "_inBundle": false, + "_integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "_location": "/table/color-convert", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "color-convert@^1.9.0", + "name": "color-convert", + "escapedName": "color-convert", + "rawSpec": "^1.9.0", + "saveSpec": null, + "fetchSpec": "^1.9.0" + }, + "_requiredBy": [ + "/table/ansi-styles" + ], + "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "_shasum": "bb71850690e1f136567de629d2d5471deda4c1e8", + "_spec": "color-convert@^1.9.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table/node_modules/ansi-styles", + "author": { + "name": "Heather Arthur", + "email": "fayearthur@gmail.com" + }, + "bugs": { + "url": "https://github.com/Qix-/color-convert/issues" + }, + "bundleDependencies": false, + "dependencies": { + "color-name": "1.1.3" + }, + "deprecated": false, "description": "Plain color conversion functions", - "version": "1.9.3", - "author": "Heather Arthur ", - "license": "MIT", - "repository": "Qix-/color-convert", - "scripts": { - "pretest": "xo", - "test": "node test/basic.js" + "devDependencies": { + "chalk": "1.1.1", + "xo": "0.11.2" }, + "files": [ + "index.js", + "conversions.js", + "css-keywords.js", + "route.js" + ], + "homepage": "https://github.com/Qix-/color-convert#readme", "keywords": [ "color", "colour", @@ -23,24 +60,22 @@ "ansi", "ansi16" ], - "files": [ - "index.js", - "conversions.js", - "css-keywords.js", - "route.js" - ], + "license": "MIT", + "name": "color-convert", + "repository": { + "type": "git", + "url": "git+https://github.com/Qix-/color-convert.git" + }, + "scripts": { + "pretest": "xo", + "test": "node test/basic.js" + }, + "version": "1.9.3", "xo": { "rules": { "default-case": 0, "no-inline-comments": 0, "operator-linebreak": 0 } - }, - "devDependencies": { - "chalk": "1.1.1", - "xo": "0.11.2" - }, - "dependencies": { - "color-name": "1.1.3" } } diff --git a/node_modules/table/node_modules/color-name/package.json b/node_modules/table/node_modules/color-name/package.json index d061123ef..08a5c9ad0 100644 --- a/node_modules/table/node_modules/color-name/package.json +++ b/node_modules/table/node_modules/color-name/package.json @@ -1,25 +1,53 @@ { - "name": "color-name", - "version": "1.1.3", - "description": "A list of color names and its values", - "main": "index.js", - "scripts": { - "test": "node test.js" + "_from": "color-name@1.1.3", + "_id": "color-name@1.1.3", + "_inBundle": false, + "_integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "_location": "/table/color-name", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "color-name@1.1.3", + "name": "color-name", + "escapedName": "color-name", + "rawSpec": "1.1.3", + "saveSpec": null, + "fetchSpec": "1.1.3" }, - "repository": { - "type": "git", - "url": "git@github.com:dfcreative/color-name.git" + "_requiredBy": [ + "/table/color-convert" + ], + "_resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "_shasum": "a7d0558bd89c42f795dd42328f740831ca53bc25", + "_spec": "color-name@1.1.3", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table/node_modules/color-convert", + "author": { + "name": "DY", + "email": "dfcreative@gmail.com" + }, + "bugs": { + "url": "https://github.com/dfcreative/color-name/issues" }, + "bundleDependencies": false, + "deprecated": false, + "description": "A list of color names and its values", + "homepage": "https://github.com/dfcreative/color-name", "keywords": [ "color-name", "color", "color-keyword", "keyword" ], - "author": "DY ", "license": "MIT", - "bugs": { - "url": "https://github.com/dfcreative/color-name/issues" + "main": "index.js", + "name": "color-name", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/dfcreative/color-name.git" + }, + "scripts": { + "test": "node test.js" }, - "homepage": "https://github.com/dfcreative/color-name" + "version": "1.1.3" } diff --git a/node_modules/table/node_modules/emoji-regex/package.json b/node_modules/table/node_modules/emoji-regex/package.json index ed68e52b0..5967a7d32 100644 --- a/node_modules/table/node_modules/emoji-regex/package.json +++ b/node_modules/table/node_modules/emoji-regex/package.json @@ -1,10 +1,56 @@ { - "name": "emoji-regex", - "version": "7.0.3", + "_from": "emoji-regex@^7.0.1", + "_id": "emoji-regex@7.0.3", + "_inBundle": false, + "_integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "_location": "/table/emoji-regex", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "emoji-regex@^7.0.1", + "name": "emoji-regex", + "escapedName": "emoji-regex", + "rawSpec": "^7.0.1", + "saveSpec": null, + "fetchSpec": "^7.0.1" + }, + "_requiredBy": [ + "/table/string-width" + ], + "_resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "_shasum": "933a04052860c85e83c122479c4748a8e4c72156", + "_spec": "emoji-regex@^7.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table/node_modules/string-width", + "author": { + "name": "Mathias Bynens", + "url": "https://mathiasbynens.be/" + }, + "bugs": { + "url": "https://github.com/mathiasbynens/emoji-regex/issues" + }, + "bundleDependencies": false, + "deprecated": false, "description": "A regular expression to match all Emoji-only symbols as per the Unicode Standard.", + "devDependencies": { + "@babel/cli": "^7.0.0", + "@babel/core": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.0.0", + "@babel/preset-env": "^7.0.0", + "mocha": "^5.2.0", + "regexgen": "^1.3.0", + "unicode-11.0.0": "^0.7.7", + "unicode-tr51": "^9.0.1" + }, + "files": [ + "LICENSE-MIT.txt", + "index.js", + "index.d.ts", + "text.js", + "es2015/index.js", + "es2015/text.js" + ], "homepage": "https://mths.be/emoji-regex", - "main": "index.js", - "types": "index.d.ts", "keywords": [ "unicode", "regex", @@ -16,36 +62,17 @@ "emoji" ], "license": "MIT", - "author": { - "name": "Mathias Bynens", - "url": "https://mathiasbynens.be/" - }, + "main": "index.js", + "name": "emoji-regex", "repository": { "type": "git", - "url": "https://github.com/mathiasbynens/emoji-regex.git" + "url": "git+https://github.com/mathiasbynens/emoji-regex.git" }, - "bugs": "https://github.com/mathiasbynens/emoji-regex/issues", - "files": [ - "LICENSE-MIT.txt", - "index.js", - "index.d.ts", - "text.js", - "es2015/index.js", - "es2015/text.js" - ], "scripts": { "build": "rm -rf -- es2015; babel src -d .; NODE_ENV=es2015 babel src -d ./es2015; node script/inject-sequences.js", "test": "mocha", "test:watch": "npm run test -- --watch" }, - "devDependencies": { - "@babel/cli": "^7.0.0", - "@babel/core": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.0.0", - "@babel/preset-env": "^7.0.0", - "mocha": "^5.2.0", - "regexgen": "^1.3.0", - "unicode-11.0.0": "^0.7.7", - "unicode-tr51": "^9.0.1" - } + "types": "index.d.ts", + "version": "7.0.3" } diff --git a/node_modules/table/node_modules/is-fullwidth-code-point/package.json b/node_modules/table/node_modules/is-fullwidth-code-point/package.json index 3049d9e03..db16e0cdf 100644 --- a/node_modules/table/node_modules/is-fullwidth-code-point/package.json +++ b/node_modules/table/node_modules/is-fullwidth-code-point/package.json @@ -1,23 +1,50 @@ { - "name": "is-fullwidth-code-point", - "version": "2.0.0", - "description": "Check if the character represented by a given Unicode code point is fullwidth", - "license": "MIT", - "repository": "sindresorhus/is-fullwidth-code-point", + "_from": "is-fullwidth-code-point@^2.0.0", + "_id": "is-fullwidth-code-point@2.0.0", + "_inBundle": false, + "_integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "_location": "/table/is-fullwidth-code-point", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "is-fullwidth-code-point@^2.0.0", + "name": "is-fullwidth-code-point", + "escapedName": "is-fullwidth-code-point", + "rawSpec": "^2.0.0", + "saveSpec": null, + "fetchSpec": "^2.0.0" + }, + "_requiredBy": [ + "/table/slice-ansi", + "/table/string-width" + ], + "_resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "_shasum": "a3b30a5c4f199183167aaab93beefae3ddfb654f", + "_spec": "is-fullwidth-code-point@^2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table/node_modules/slice-ansi", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/is-fullwidth-code-point/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Check if the character represented by a given Unicode code point is fullwidth", + "devDependencies": { + "ava": "*", + "xo": "*" + }, "engines": { "node": ">=4" }, - "scripts": { - "test": "xo && ava" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/is-fullwidth-code-point#readme", "keywords": [ "fullwidth", "full-width", @@ -35,10 +62,16 @@ "detect", "check" ], - "devDependencies": { - "ava": "*", - "xo": "*" + "license": "MIT", + "name": "is-fullwidth-code-point", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/is-fullwidth-code-point.git" + }, + "scripts": { + "test": "xo && ava" }, + "version": "2.0.0", "xo": { "esnext": true } diff --git a/node_modules/table/node_modules/slice-ansi/package.json b/node_modules/table/node_modules/slice-ansi/package.json index 20dcc687f..0ecf7f985 100644 --- a/node_modules/table/node_modules/slice-ansi/package.json +++ b/node_modules/table/node_modules/slice-ansi/package.json @@ -1,51 +1,83 @@ { - "name": "slice-ansi", - "version": "2.1.0", - "description": "Slice a string with ANSI escape codes", - "license": "MIT", - "repository": "chalk/slice-ansi", - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "slice", - "string", - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^3.2.0", - "astral-regex": "^1.0.0", - "is-fullwidth-code-point": "^2.0.0" - }, - "devDependencies": { - "ava": "^1.1.0", - "chalk": "^2.4.2", - "random-item": "^1.0.0", - "strip-ansi": "^5.0.0", - "xo": "^0.24.0" - } + "_from": "slice-ansi@^2.1.0", + "_id": "slice-ansi@2.1.0", + "_inBundle": false, + "_integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", + "_location": "/table/slice-ansi", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "slice-ansi@^2.1.0", + "name": "slice-ansi", + "escapedName": "slice-ansi", + "rawSpec": "^2.1.0", + "saveSpec": null, + "fetchSpec": "^2.1.0" + }, + "_requiredBy": [ + "/table" + ], + "_resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", + "_shasum": "cacd7693461a637a5788d92a7dd4fba068e81636", + "_spec": "slice-ansi@^2.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table", + "bugs": { + "url": "https://github.com/chalk/slice-ansi/issues" + }, + "bundleDependencies": false, + "dependencies": { + "ansi-styles": "^3.2.0", + "astral-regex": "^1.0.0", + "is-fullwidth-code-point": "^2.0.0" + }, + "deprecated": false, + "description": "Slice a string with ANSI escape codes", + "devDependencies": { + "ava": "^1.1.0", + "chalk": "^2.4.2", + "random-item": "^1.0.0", + "strip-ansi": "^5.0.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/chalk/slice-ansi#readme", + "keywords": [ + "slice", + "string", + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "slice-ansi", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/slice-ansi.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "2.1.0" } diff --git a/node_modules/table/node_modules/string-width/package.json b/node_modules/table/node_modules/string-width/package.json index e040183e9..dad4fcef2 100644 --- a/node_modules/table/node_modules/string-width/package.json +++ b/node_modules/table/node_modules/string-width/package.json @@ -1,56 +1,88 @@ { - "name": "string-width", - "version": "3.1.0", - "description": "Get the visual width of a string - the number of columns required to display it", - "license": "MIT", - "repository": "sindresorhus/string-width", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "string", - "str", - "character", - "char", - "unicode", - "width", - "visual", - "column", - "columns", - "fullwidth", - "full-width", - "full", - "ansi", - "escape", - "codes", - "cli", - "command-line", - "terminal", - "console", - "cjk", - "chinese", - "japanese", - "korean", - "fixed-width" - ], - "dependencies": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - }, - "devDependencies": { - "ava": "^1.0.1", - "xo": "^0.23.0" - } + "_from": "string-width@^3.0.0", + "_id": "string-width@3.1.0", + "_inBundle": false, + "_integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "_location": "/table/string-width", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "string-width@^3.0.0", + "name": "string-width", + "escapedName": "string-width", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/table" + ], + "_resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "_shasum": "22767be21b62af1081574306f69ac51b62203961", + "_spec": "string-width@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/string-width/issues" + }, + "bundleDependencies": false, + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "deprecated": false, + "description": "Get the visual width of a string - the number of columns required to display it", + "devDependencies": { + "ava": "^1.0.1", + "xo": "^0.23.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/sindresorhus/string-width#readme", + "keywords": [ + "string", + "str", + "character", + "char", + "unicode", + "width", + "visual", + "column", + "columns", + "fullwidth", + "full-width", + "full", + "ansi", + "escape", + "codes", + "cli", + "command-line", + "terminal", + "console", + "cjk", + "chinese", + "japanese", + "korean", + "fixed-width" + ], + "license": "MIT", + "name": "string-width", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/string-width.git" + }, + "scripts": { + "test": "xo && ava" + }, + "version": "3.1.0" } diff --git a/node_modules/table/node_modules/strip-ansi/package.json b/node_modules/table/node_modules/strip-ansi/package.json index 7494fd7e8..5372147e9 100644 --- a/node_modules/table/node_modules/strip-ansi/package.json +++ b/node_modules/table/node_modules/strip-ansi/package.json @@ -1,54 +1,86 @@ { - "name": "strip-ansi", - "version": "5.2.0", - "description": "Strip ANSI escape codes from a string", - "license": "MIT", - "repository": "chalk/strip-ansi", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd-check" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "strip", - "trim", - "remove", - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "devDependencies": { - "ava": "^1.3.1", - "tsd-check": "^0.5.0", - "xo": "^0.24.0" - } + "_from": "strip-ansi@^5.1.0", + "_id": "strip-ansi@5.2.0", + "_inBundle": false, + "_integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "_location": "/table/strip-ansi", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "strip-ansi@^5.1.0", + "name": "strip-ansi", + "escapedName": "strip-ansi", + "rawSpec": "^5.1.0", + "saveSpec": null, + "fetchSpec": "^5.1.0" + }, + "_requiredBy": [ + "/table/string-width" + ], + "_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "_shasum": "8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae", + "_spec": "strip-ansi@^5.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/table/node_modules/string-width", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/chalk/strip-ansi/issues" + }, + "bundleDependencies": false, + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "deprecated": false, + "description": "Strip ANSI escape codes from a string", + "devDependencies": { + "ava": "^1.3.1", + "tsd-check": "^0.5.0", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/chalk/strip-ansi#readme", + "keywords": [ + "strip", + "trim", + "remove", + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "license": "MIT", + "name": "strip-ansi", + "repository": { + "type": "git", + "url": "git+https://github.com/chalk/strip-ansi.git" + }, + "scripts": { + "test": "xo && ava && tsd-check" + }, + "version": "5.2.0" } diff --git a/node_modules/table/package.json b/node_modules/table/package.json index 7453d0387..8b50c5874 100644 --- a/node_modules/table/package.json +++ b/node_modules/table/package.json @@ -1,15 +1,43 @@ { + "_from": "table@^5.4.6", + "_id": "table@5.4.6", + "_inBundle": false, + "_integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", + "_location": "/table", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "table@^5.4.6", + "name": "table", + "escapedName": "table", + "rawSpec": "^5.4.6", + "saveSpec": null, + "fetchSpec": "^5.4.6" + }, + "_requiredBy": [ + "/@foo-software/lighthouse-check" + ], + "_resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", + "_shasum": "1292d19500ce3f86053b05f0e8e7e4a3bb21079e", + "_spec": "table@^5.4.6", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/@foo-software/lighthouse-check", "author": { - "email": "gajus@gajus.com", "name": "Gajus Kuizinas", + "email": "gajus@gajus.com", "url": "http://gajus.com" }, + "bugs": { + "url": "https://github.com/gajus/table/issues" + }, + "bundleDependencies": false, "dependencies": { "ajv": "^6.10.2", "lodash": "^4.17.14", "slice-ansi": "^2.1.0", "string-width": "^3.0.0" }, + "deprecated": false, "description": "Formats data into a string table.", "devDependencies": { "@babel/cli": "^7.5.0", @@ -40,6 +68,7 @@ "engines": { "node": ">=6.0.0" }, + "homepage": "https://github.com/gajus/table#readme", "husky": { "hooks": { "post-commit": "npm run create-readme && git add README.md && git commit -m 'docs: generate docs' --no-verify", @@ -71,7 +100,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/gajus/table" + "url": "git+https://github.com/gajus/table.git" }, "scripts": { "build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && npm run create-validators && flow-copy-source src dist", diff --git a/node_modules/term-size/index.d.ts b/node_modules/term-size/index.d.ts deleted file mode 100644 index a687ba58d..000000000 --- a/node_modules/term-size/index.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare namespace terminalSize { - interface Size { - columns: number; - rows: number; - } -} - -/** -Reliably get the terminal window size. - -@example -``` -import terminalSize = require('term-size'); - -terminalSize(); -//=> {columns: 143, rows: 24} -``` -*/ -declare function terminalSize(): terminalSize.Size; - -export = terminalSize; diff --git a/node_modules/term-size/index.js b/node_modules/term-size/index.js deleted file mode 100644 index 09804a479..000000000 --- a/node_modules/term-size/index.js +++ /dev/null @@ -1,72 +0,0 @@ -'use strict'; -const {execFileSync} = require('child_process'); -const path = require('path'); - -const exec = (command, arguments_, shell) => execFileSync(command, arguments_, {encoding: 'utf8', shell}).trim(); - -const create = (columns, rows) => ({ - columns: parseInt(columns, 10), - rows: parseInt(rows, 10) -}); - -module.exports = () => { - const {env, stdout, stderr} = process; - - if (stdout && stdout.columns && stdout.rows) { - return create(stdout.columns, stdout.rows); - } - - if (stderr && stderr.columns && stderr.rows) { - return create(stderr.columns, stderr.rows); - } - - // These values are static, so not the first choice - if (env.COLUMNS && env.LINES) { - return create(env.COLUMNS, env.LINES); - } - - if (process.platform === 'win32') { - try { - // Binary: https://github.com/sindresorhus/win-term-size - const size = exec(path.join(__dirname, 'vendor/windows/term-size.exe')).split(/\r?\n/); - - if (size.length === 2) { - return create(size[0], size[1]); - } - } catch (_) {} - } else { - if (process.platform === 'darwin') { - try { - // Binary: https://github.com/sindresorhus/macos-term-size - const size = exec(path.join(__dirname, 'vendor/macos/term-size'), [], true).split(/\r?\n/); - - if (size.length === 2) { - return create(size[0], size[1]); - } - } catch (_) {} - } - - // `resize` is preferred as it works even when all file descriptors are redirected - // https://linux.die.net/man/1/resize - try { - const size = exec('resize', ['-u']).match(/\d+/g); - - if (size.length === 2) { - return create(size[0], size[1]); - } - } catch (_) {} - - if (process.env.TERM) { - try { - const columns = exec('tput', ['cols']); - const rows = exec('tput', ['lines']); - - if (columns && rows) { - return create(columns, rows); - } - } catch (_) {} - } - } - - return create(80, 24); -}; diff --git a/node_modules/term-size/license b/node_modules/term-size/license deleted file mode 100644 index fa7ceba3e..000000000 --- a/node_modules/term-size/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/term-size/package.json b/node_modules/term-size/package.json deleted file mode 100644 index a070eb93f..000000000 --- a/node_modules/term-size/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "term-size", - "version": "2.2.1", - "description": "Reliably get the terminal window size (columns & rows)", - "license": "MIT", - "repository": "sindresorhus/term-size", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "vendor" - ], - "keywords": [ - "terminal", - "size", - "console", - "window", - "width", - "height", - "columns", - "rows", - "lines", - "tty", - "redirected" - ], - "devDependencies": { - "ava": "^2.4.0", - "execa": "^3.4.0", - "tsd": "^0.11.0", - "xo": "^0.25.3" - } -} diff --git a/node_modules/term-size/readme.md b/node_modules/term-size/readme.md deleted file mode 100644 index db2c566ed..000000000 --- a/node_modules/term-size/readme.md +++ /dev/null @@ -1,48 +0,0 @@ -# term-size [![Build Status](https://travis-ci.com/sindresorhus/term-size.svg?branch=master)](https://travis-ci.com/github/sindresorhus/term-size) - -> Reliably get the terminal window size - -Because [`process.stdout.columns`](https://nodejs.org/api/tty.html#tty_writestream_columns) doesn't exist when run [non-interactively](http://www.tldp.org/LDP/abs/html/intandnonint.html), for example, in a child process or when piped. This module even works when all the TTY file descriptors are redirected! - -Confirmed working on macOS, Linux, and Windows. - -## Install - -``` -$ npm install term-size -``` - -## Usage - -```js -const termSize = require('term-size'); - -termSize(); -//=> {columns: 143, rows: 24} -``` - -## API - -### termSize() - -Returns an `object` with `columns` and `rows` properties. - -## Info - -The bundled macOS binary is signed and hardened. - -## Related - -- [term-size-cli](https://github.com/sindresorhus/term-size-cli) - CLI for this module - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/node_modules/term-size/vendor/macos/term-size b/node_modules/term-size/vendor/macos/term-size deleted file mode 100755 index a18b59a50..000000000 Binary files a/node_modules/term-size/vendor/macos/term-size and /dev/null differ diff --git a/node_modules/term-size/vendor/windows/term-size.exe b/node_modules/term-size/vendor/windows/term-size.exe deleted file mode 100644 index c7a170c96..000000000 Binary files a/node_modules/term-size/vendor/windows/term-size.exe and /dev/null differ diff --git a/node_modules/terminal-link/package.json b/node_modules/terminal-link/package.json index a5018e23b..1dad4d9d9 100644 --- a/node_modules/terminal-link/package.json +++ b/node_modules/terminal-link/package.json @@ -1,44 +1,80 @@ { - "name": "terminal-link", - "version": "2.1.1", - "description": "Create clickable links in the terminal", - "license": "MIT", - "repository": "sindresorhus/terminal-link", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "link", - "hyperlink", - "url", - "ansi", - "escape", - "terminal", - "term", - "console", - "command-line" - ], - "dependencies": { - "ansi-escapes": "^4.2.1", - "supports-hyperlinks": "^2.0.0" - }, - "devDependencies": { - "ava": "^2.3.0", - "clear-module": "^4.0.0", - "tsd": "^0.11.0", - "xo": "^0.25.3" - } + "_args": [ + [ + "terminal-link@2.1.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "terminal-link@2.1.1", + "_id": "terminal-link@2.1.1", + "_inBundle": false, + "_integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", + "_location": "/terminal-link", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "terminal-link@2.1.1", + "name": "terminal-link", + "escapedName": "terminal-link", + "rawSpec": "2.1.1", + "saveSpec": null, + "fetchSpec": "2.1.1" + }, + "_requiredBy": [ + "/@jest/reporters" + ], + "_resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", + "_spec": "2.1.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/terminal-link/issues" + }, + "dependencies": { + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + }, + "description": "Create clickable links in the terminal", + "devDependencies": { + "ava": "^2.3.0", + "clear-module": "^4.0.0", + "tsd": "^0.11.0", + "xo": "^0.25.3" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/terminal-link#readme", + "keywords": [ + "link", + "hyperlink", + "url", + "ansi", + "escape", + "terminal", + "term", + "console", + "command-line" + ], + "license": "MIT", + "name": "terminal-link", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/terminal-link.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "2.1.1" } diff --git a/node_modules/test-exclude/package.json b/node_modules/test-exclude/package.json index e3185f5ca..269fa8f10 100644 --- a/node_modules/test-exclude/package.json +++ b/node_modules/test-exclude/package.json @@ -1,39 +1,46 @@ { - "name": "test-exclude", - "version": "6.0.0", - "description": "test for inclusion or exclusion of paths using globs", - "main": "index.js", - "files": [ - "*.js", - "!nyc.config.js" + "_args": [ + [ + "test-exclude@6.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "scripts": { - "release": "standard-version", - "test": "nyc tap", - "snap": "npm test -- --snapshot" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/istanbuljs/test-exclude.git" + "_development": true, + "_from": "test-exclude@6.0.0", + "_id": "test-exclude@6.0.0", + "_inBundle": false, + "_integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "_location": "/test-exclude", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "test-exclude@6.0.0", + "name": "test-exclude", + "escapedName": "test-exclude", + "rawSpec": "6.0.0", + "saveSpec": null, + "fetchSpec": "6.0.0" }, - "keywords": [ - "exclude", - "include", - "glob", - "package", - "config" + "_requiredBy": [ + "/babel-plugin-istanbul" ], - "author": "Ben Coe ", - "license": "ISC", + "_resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "_spec": "6.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Ben Coe", + "email": "ben@npmjs.com" + }, "bugs": { "url": "https://github.com/istanbuljs/test-exclude/issues" }, - "homepage": "https://istanbul.js.org/", "dependencies": { "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", "minimatch": "^3.0.4" }, + "description": "test for inclusion or exclusion of paths using globs", "devDependencies": { "nyc": "^15.0.0-beta.3", "standard-version": "^7.0.0", @@ -41,5 +48,30 @@ }, "engines": { "node": ">=8" - } + }, + "files": [ + "*.js", + "!nyc.config.js" + ], + "homepage": "https://istanbul.js.org/", + "keywords": [ + "exclude", + "include", + "glob", + "package", + "config" + ], + "license": "ISC", + "main": "index.js", + "name": "test-exclude", + "repository": { + "type": "git", + "url": "git+https://github.com/istanbuljs/test-exclude.git" + }, + "scripts": { + "release": "standard-version", + "snap": "npm test -- --snapshot", + "test": "nyc tap" + }, + "version": "6.0.0" } diff --git a/node_modules/text-table/package.json b/node_modules/text-table/package.json index b4d17a4ff..ba49aa72d 100644 --- a/node_modules/text-table/package.json +++ b/node_modules/text-table/package.json @@ -1,44 +1,77 @@ { + "_args": [ + [ + "text-table@0.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "text-table@0.2.0", + "_id": "text-table@0.2.0", + "_inBundle": false, + "_integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "_location": "/text-table", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "text-table@0.2.0", "name": "text-table", - "version": "0.2.0", - "description": "borderless text tables with alignment", - "main": "index.js", - "devDependencies": { - "tap": "~0.4.0", - "tape": "~1.0.2", - "cli-color": "~0.2.3" - }, - "scripts": { - "test": "tap test/*.js" - }, - "testling" : { - "files" : "test/*.js", - "browsers" : [ - "ie/6..latest", - "chrome/20..latest", - "firefox/10..latest", - "safari/latest", - "opera/11.0..latest", - "iphone/6", "ipad/6" - ] - }, - "repository": { - "type": "git", - "url": "git://github.com/substack/text-table.git" - }, - "homepage": "https://github.com/substack/text-table", - "keywords": [ - "text", - "table", - "align", - "ascii", - "rows", - "tabular" - ], - "author": { - "name": "James Halliday", - "email": "mail@substack.net", - "url": "http://substack.net" - }, - "license": "MIT" + "escapedName": "text-table", + "rawSpec": "0.2.0", + "saveSpec": null, + "fetchSpec": "0.2.0" + }, + "_requiredBy": [ + "/eslint" + ], + "_resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "_spec": "0.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "bugs": { + "url": "https://github.com/substack/text-table/issues" + }, + "description": "borderless text tables with alignment", + "devDependencies": { + "cli-color": "~0.2.3", + "tap": "~0.4.0", + "tape": "~1.0.2" + }, + "homepage": "https://github.com/substack/text-table", + "keywords": [ + "text", + "table", + "align", + "ascii", + "rows", + "tabular" + ], + "license": "MIT", + "main": "index.js", + "name": "text-table", + "repository": { + "type": "git", + "url": "git://github.com/substack/text-table.git" + }, + "scripts": { + "test": "tap test/*.js" + }, + "testling": { + "files": "test/*.js", + "browsers": [ + "ie/6..latest", + "chrome/20..latest", + "firefox/10..latest", + "safari/latest", + "opera/11.0..latest", + "iphone/6", + "ipad/6" + ] + }, + "version": "0.2.0" } diff --git a/node_modules/third-party-web/package.json b/node_modules/third-party-web/package.json index ccea02b37..c71b7cdef 100644 --- a/node_modules/third-party-web/package.json +++ b/node_modules/third-party-web/package.json @@ -1,26 +1,44 @@ { - "name": "third-party-web", - "version": "0.12.7", - "description": "Categorized data on third party entities on the web.", - "main": "./lib/index.js", - "scripts": { - "build:www": "cd www/ && npm install && npm run build", - "build": "node bin/convert-entities-db.js && node bin/generate-canonical-domain-csv.js && node bin/build-entity-json-files.js && node bin/generate-sql.js && generate-export-aliases", - "lint:fix": "prettier --print-width=100 --write '**/*.js'", - "start": "mkdir -p .tmp && node bin/merge-origins-with-entities.js && node bin/create-markdown.js", - "test": "npm run build && npm run test:unit", - "test:unit": "jest 'lib/*'" + "_from": "third-party-web@^0.12.7", + "_id": "third-party-web@0.12.7", + "_inBundle": false, + "_integrity": "sha512-9d/OfjEOjyeOpnm4F9o0KSK6BI6ytvi9DINSB5h1+jdlCvQlhKpViMSxWpBN9WstdfDQ61BS6NxWqcPCuQCAJg==", + "_location": "/third-party-web", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "third-party-web@^0.12.7", + "name": "third-party-web", + "escapedName": "third-party-web", + "rawSpec": "^0.12.7", + "saveSpec": null, + "fetchSpec": "^0.12.7" }, - "keywords": [ - "third-party", - "third-parties" + "_requiredBy": [ + "/lighthouse" ], - "author": "Patrick Hulce ", - "repository": { - "type": "git", - "url": "https://github.com/patrickhulce/third-party-web.git" + "_resolved": "https://registry.npmjs.org/third-party-web/-/third-party-web-0.12.7.tgz", + "_shasum": "64445702379abf1a29066d636a965173e4e423c6", + "_spec": "third-party-web@^0.12.7", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/lighthouse", + "author": { + "name": "Patrick Hulce", + "email": "patrick.hulce@gmail.com" }, - "license": "MIT", + "bugs": { + "url": "https://github.com/patrickhulce/third-party-web/issues" + }, + "bundleDependencies": false, + "config": { + "exportAliases": { + "nostats-subset": "./lib/subsets/nostats.js", + "httparchive-nostats-subset": "./lib/subsets/httparchive-nostats.js", + "httparchive-subset": "./lib/subsets/httparchive.js" + } + }, + "deprecated": false, + "description": "Categorized data on third party entities on the web.", "devDependencies": { "chart.js": "^2.9.4", "chartjs-node-canvas": "^3.2.0", @@ -30,11 +48,25 @@ "lodash": "^4.17.15", "prettier": "^1.18.2" }, - "config": { - "exportAliases": { - "nostats-subset": "./lib/subsets/nostats.js", - "httparchive-nostats-subset": "./lib/subsets/httparchive-nostats.js", - "httparchive-subset": "./lib/subsets/httparchive.js" - } - } -} \ No newline at end of file + "homepage": "https://github.com/patrickhulce/third-party-web#readme", + "keywords": [ + "third-party", + "third-parties" + ], + "license": "MIT", + "main": "./lib/index.js", + "name": "third-party-web", + "repository": { + "type": "git", + "url": "git+https://github.com/patrickhulce/third-party-web.git" + }, + "scripts": { + "build": "node bin/convert-entities-db.js && node bin/generate-canonical-domain-csv.js && node bin/build-entity-json-files.js && node bin/generate-sql.js && generate-export-aliases", + "build:www": "cd www/ && npm install && npm run build", + "lint:fix": "prettier --print-width=100 --write '**/*.js'", + "start": "mkdir -p .tmp && node bin/merge-origins-with-entities.js && node bin/create-markdown.js", + "test": "npm run build && npm run test:unit", + "test:unit": "jest 'lib/*'" + }, + "version": "0.12.7" +} diff --git a/node_modules/throat/package.json b/node_modules/throat/package.json index 9101b0866..e2256bbac 100644 --- a/node_modules/throat/package.json +++ b/node_modules/throat/package.json @@ -1,21 +1,43 @@ { - "name": "throat", - "version": "6.0.1", - "description": "Throttle the parallelism of an asynchronous (promise returning) function / functions", - "keywords": [ - "promise", - "aplus", - "then", - "throttle", - "concurrency", - "parallelism", - "limit" + "_args": [ + [ + "throat@6.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "files": [ - "index.d.ts", - "index.js", - "index.js.flow" + "_development": true, + "_from": "throat@6.0.1", + "_id": "throat@6.0.1", + "_inBundle": false, + "_integrity": "sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w==", + "_location": "/throat", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "throat@6.0.1", + "name": "throat", + "escapedName": "throat", + "rawSpec": "6.0.1", + "saveSpec": null, + "fetchSpec": "6.0.1" + }, + "_requiredBy": [ + "/jest-changed-files", + "/jest-circus", + "/jest-jasmine2", + "/jest-runner" ], + "_resolved": "https://registry.npmjs.org/throat/-/throat-6.0.1.tgz", + "_spec": "6.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "ForbesLindesay" + }, + "bugs": { + "url": "https://github.com/ForbesLindesay/throat/issues" + }, + "description": "Throttle the parallelism of an asynchronous (promise returning) function / functions", "devDependencies": { "coveralls": "^3.0.0", "flow-bin": "^0.73.0", @@ -27,21 +49,37 @@ "testit": "^3.1.0", "typescript": "^3.4.5" }, + "files": [ + "index.d.ts", + "index.js", + "index.js.flow" + ], + "homepage": "https://github.com/ForbesLindesay/throat#readme", "jest": { "testEnvironment": "node" }, + "keywords": [ + "promise", + "aplus", + "then", + "throttle", + "concurrency", + "parallelism", + "limit" + ], + "license": "MIT", + "name": "throat", + "repository": { + "type": "git", + "url": "git+https://github.com/ForbesLindesay/throat.git" + }, "scripts": { - "tsc": "tsc --noEmit", + "coverage": "istanbul cover test/index.js", + "coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls", "flow": "flow", "test": "node test/index.js && npm run test:types", "test:types": "jest", - "coverage": "istanbul cover test/index.js", - "coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls" - }, - "repository": { - "type": "git", - "url": "https://github.com/ForbesLindesay/throat.git" + "tsc": "tsc --noEmit" }, - "author": "ForbesLindesay", - "license": "MIT" + "version": "6.0.1" } diff --git a/node_modules/through/package.json b/node_modules/through/package.json index 98621899d..141bc46d2 100644 --- a/node_modules/through/package.json +++ b/node_modules/through/package.json @@ -1,29 +1,64 @@ { - "name": "through", - "version": "2.3.8", - "description": "simplified stream construction", - "main": "index.js", - "scripts": { - "test": "set -e; for t in test/*.js; do node $t; done" + "_args": [ + [ + "through@2.3.8", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "through@2.3.8", + "_id": "through@2.3.8", + "_inBundle": false, + "_integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "_location": "/through", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "through@2.3.8", + "name": "through", + "escapedName": "through", + "rawSpec": "2.3.8", + "saveSpec": null, + "fetchSpec": "2.3.8" + }, + "_requiredBy": [ + "/listr2" + ], + "_resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "_spec": "2.3.8", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Dominic Tarr", + "email": "dominic.tarr@gmail.com", + "url": "dominictarr.com" + }, + "bugs": { + "url": "https://github.com/dominictarr/through/issues" }, + "description": "simplified stream construction", "devDependencies": { + "from": "~0.1.3", "stream-spec": "~0.3.5", - "tape": "~2.3.2", - "from": "~0.1.3" + "tape": "~2.3.2" }, + "homepage": "https://github.com/dominictarr/through", "keywords": [ "stream", "streams", "user-streams", "pipe" ], - "author": "Dominic Tarr (dominictarr.com)", "license": "MIT", + "main": "index.js", + "name": "through", "repository": { "type": "git", - "url": "https://github.com/dominictarr/through.git" + "url": "git+https://github.com/dominictarr/through.git" + }, + "scripts": { + "test": "set -e; for t in test/*.js; do node $t; done" }, - "homepage": "https://github.com/dominictarr/through", "testling": { "browsers": [ "ie/8..latest", @@ -32,5 +67,6 @@ "safari/5.1..latest" ], "files": "test/*.js" - } + }, + "version": "2.3.8" } diff --git a/node_modules/timed-out/index.js b/node_modules/timed-out/index.js deleted file mode 100644 index 94007a4ae..000000000 --- a/node_modules/timed-out/index.js +++ /dev/null @@ -1,55 +0,0 @@ -'use strict'; - -module.exports = function (req, time) { - if (req.timeoutTimer) { - return req; - } - - var delays = isNaN(time) ? time : {socket: time, connect: time}; - var host = req._headers ? (' to ' + req._headers.host) : ''; - - if (delays.connect !== undefined) { - req.timeoutTimer = setTimeout(function timeoutHandler() { - req.abort(); - var e = new Error('Connection timed out on request' + host); - e.code = 'ETIMEDOUT'; - req.emit('error', e); - }, delays.connect); - } - - // Clear the connection timeout timer once a socket is assigned to the - // request and is connected. - req.on('socket', function assign(socket) { - // Socket may come from Agent pool and may be already connected. - if (!(socket.connecting || socket._connecting)) { - connect(); - return; - } - - socket.once('connect', connect); - }); - - function clear() { - if (req.timeoutTimer) { - clearTimeout(req.timeoutTimer); - req.timeoutTimer = null; - } - } - - function connect() { - clear(); - - if (delays.socket !== undefined) { - // Abort the request if there is no activity on the socket for more - // than `delays.socket` milliseconds. - req.setTimeout(delays.socket, function socketTimeoutHandler() { - req.abort(); - var e = new Error('Socket timed out on request' + host); - e.code = 'ESOCKETTIMEDOUT'; - req.emit('error', e); - }); - } - } - - return req.on('error', clear); -}; diff --git a/node_modules/timed-out/license b/node_modules/timed-out/license deleted file mode 100644 index faadd5287..000000000 --- a/node_modules/timed-out/license +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) Vsevolod Strukchinsky - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/timed-out/package.json b/node_modules/timed-out/package.json deleted file mode 100644 index b86baa703..000000000 --- a/node_modules/timed-out/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "timed-out", - "version": "4.0.1", - "description": "Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged", - "license": "MIT", - "repository": "floatdrop/timed-out", - "author": { - "name": "Vsevolod Strukchinsky", - "email": "floatdrop@gmail.com" - }, - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "xo && mocha" - }, - "files": [ - "index.js" - ], - "keywords": [ - "http", - "https", - "get", - "got", - "url", - "uri", - "request", - "util", - "utility", - "simple" - ], - "devDependencies": { - "mocha": "*", - "xo": "^0.16.0" - } -} diff --git a/node_modules/timed-out/readme.md b/node_modules/timed-out/readme.md deleted file mode 100644 index fa0a03565..000000000 --- a/node_modules/timed-out/readme.md +++ /dev/null @@ -1,42 +0,0 @@ -# timed-out [![Build Status](https://travis-ci.org/floatdrop/timed-out.svg?branch=master)](https://travis-ci.org/floatdrop/timed-out) - -> Timeout HTTP/HTTPS requests - -Emit Error object with `code` property equal `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged. - -## Usage - -```js -var get = require('http').get; -var timeout = require('timed-out'); - -var req = get('http://www.google.ru'); -timeout(req, 2000); // Set 2 seconds limit -``` - -### API - -#### timedout(request, time) - -##### request - -*Required* -Type: [`ClientRequest`](http://nodejs.org/api/http.html#http_class_http_clientrequest) - -The request to watch on. - -##### time - -*Required* -Type: `number` or `object` - -Time in milliseconds to wait for `connect` event on socket and also time to wait on inactive socket. - -Or you can pass Object with following fields: - -- `connect` - time to wait for connection -- `socket` - time to wait for activity on socket - -## License - -MIT © [Vsevolod Strukchinsky](floatdrop@gmail.com) diff --git a/node_modules/tmpl/package.json b/node_modules/tmpl/package.json index 65239f349..bd70274ec 100644 --- a/node_modules/tmpl/package.json +++ b/node_modules/tmpl/package.json @@ -1,19 +1,54 @@ { - "name": "tmpl", + "_args": [ + [ + "tmpl@1.0.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "tmpl@1.0.5", + "_id": "tmpl@1.0.5", + "_inBundle": false, + "_integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", + "_location": "/tmpl", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "tmpl@1.0.5", + "name": "tmpl", + "escapedName": "tmpl", + "rawSpec": "1.0.5", + "saveSpec": null, + "fetchSpec": "1.0.5" + }, + "_requiredBy": [ + "/makeerror" + ], + "_resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", + "_spec": "1.0.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Naitik Shah", + "email": "n@daaku.org" + }, + "bugs": { + "url": "https://github.com/daaku/nodejs-tmpl/issues" + }, "description": "JavaScript micro templates.", - "version": "1.0.5", - "license": "BSD-3-Clause", + "devDependencies": { + "mocha": "^9.1.1" + }, "homepage": "https://github.com/daaku/nodejs-tmpl", - "author": "Naitik Shah ", + "license": "BSD-3-Clause", "main": "lib/tmpl", + "name": "tmpl", "repository": { "type": "git", - "url": "https://github.com/daaku/nodejs-tmpl" + "url": "git+https://github.com/daaku/nodejs-tmpl.git" }, "scripts": { "test": "NODE_PATH=./lib mocha --ui exports" }, - "devDependencies": { - "mocha": "^9.1.1" - } + "version": "1.0.5" } diff --git a/node_modules/to-fast-properties/package.json b/node_modules/to-fast-properties/package.json index 7a64b2ccb..94bc8dcd4 100644 --- a/node_modules/to-fast-properties/package.json +++ b/node_modules/to-fast-properties/package.json @@ -1,23 +1,52 @@ { - "name": "to-fast-properties", - "version": "2.0.0", - "description": "Force V8 to use fast properties for an object", - "license": "MIT", - "repository": "sindresorhus/to-fast-properties", + "_args": [ + [ + "to-fast-properties@2.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "to-fast-properties@2.0.0", + "_id": "to-fast-properties@2.0.0", + "_inBundle": false, + "_integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "_location": "/to-fast-properties", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "to-fast-properties@2.0.0", + "name": "to-fast-properties", + "escapedName": "to-fast-properties", + "rawSpec": "2.0.0", + "saveSpec": null, + "fetchSpec": "2.0.0" + }, + "_requiredBy": [ + "/@babel/types" + ], + "_resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "_spec": "2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, + "bugs": { + "url": "https://github.com/sindresorhus/to-fast-properties/issues" + }, + "description": "Force V8 to use fast properties for an object", + "devDependencies": { + "ava": "0.0.4" + }, "engines": { "node": ">=4" }, - "scripts": { - "test": "node --allow-natives-syntax test.js" - }, "files": [ "index.js" ], + "homepage": "https://github.com/sindresorhus/to-fast-properties#readme", "keywords": [ "object", "obj", @@ -29,7 +58,14 @@ "convert", "mode" ], - "devDependencies": { - "ava": "0.0.4" - } + "license": "MIT", + "name": "to-fast-properties", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/to-fast-properties.git" + }, + "scripts": { + "test": "node --allow-natives-syntax test.js" + }, + "version": "2.0.0" } diff --git a/node_modules/to-readable-stream/index.js b/node_modules/to-readable-stream/index.js deleted file mode 100644 index 554bfa5f9..000000000 --- a/node_modules/to-readable-stream/index.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; -const {Readable} = require('stream'); - -module.exports = input => ( - new Readable({ - read() { - this.push(input); - this.push(null); - } - }) -); diff --git a/node_modules/to-readable-stream/license b/node_modules/to-readable-stream/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/to-readable-stream/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/to-readable-stream/package.json b/node_modules/to-readable-stream/package.json deleted file mode 100644 index c475a92a5..000000000 --- a/node_modules/to-readable-stream/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "to-readable-stream", - "version": "1.0.0", - "description": "Convert a string/Buffer/Uint8Array to a readable stream", - "license": "MIT", - "repository": "sindresorhus/to-readable-stream", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js" - ], - "keywords": [ - "stream", - "readablestream", - "string", - "buffer", - "uint8array", - "from", - "into", - "to", - "transform", - "convert", - "readable", - "pull" - ], - "devDependencies": { - "ava": "*", - "get-stream": "^3.0.0", - "xo": "*" - } -} diff --git a/node_modules/to-readable-stream/readme.md b/node_modules/to-readable-stream/readme.md deleted file mode 100644 index fc207c5c9..000000000 --- a/node_modules/to-readable-stream/readme.md +++ /dev/null @@ -1,42 +0,0 @@ -# to-readable-stream [![Build Status](https://travis-ci.org/sindresorhus/to-readable-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/to-readable-stream) - -> Convert a string/Buffer/Uint8Array to a [readable stream](https://nodejs.org/api/stream.html#stream_readable_streams) - - -## Install - -``` -$ npm install to-readable-stream -``` - - -## Usage - -```js -const toReadableStream = require('to-readable-stream'); - -toReadableStream('🦄🌈').pipe(process.stdout); -``` - - -## API - -### toReadableStream(input) - -Returns a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_readable_streams). - -#### input - -Type: `string` `Buffer` `Uint8Array` - -Value to convert to a stream. - - -## Related - -- [into-stream](https://github.com/sindresorhus/into-stream) - More advanced version of this module - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/to-regex-range/package.json b/node_modules/to-regex-range/package.json index 4ef194f35..e5ee1b285 100644 --- a/node_modules/to-regex-range/package.json +++ b/node_modules/to-regex-range/package.json @@ -1,31 +1,54 @@ { - "name": "to-regex-range", - "description": "Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.", - "version": "5.0.1", - "homepage": "https://github.com/micromatch/to-regex-range", - "author": "Jon Schlinkert (https://github.com/jonschlinkert)", - "contributors": [ - "Jon Schlinkert (http://twitter.com/jonschlinkert)", - "Rouven Weßling (www.rouvenwessling.de)" + "_args": [ + [ + "to-regex-range@5.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "repository": "micromatch/to-regex-range", - "bugs": { - "url": "https://github.com/micromatch/to-regex-range/issues" + "_development": true, + "_from": "to-regex-range@5.0.1", + "_id": "to-regex-range@5.0.1", + "_inBundle": false, + "_integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "_location": "/to-regex-range", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "to-regex-range@5.0.1", + "name": "to-regex-range", + "escapedName": "to-regex-range", + "rawSpec": "5.0.1", + "saveSpec": null, + "fetchSpec": "5.0.1" }, - "license": "MIT", - "files": [ - "index.js" + "_requiredBy": [ + "/fill-range" ], - "main": "index.js", - "engines": { - "node": ">=8.0" + "_resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "_spec": "5.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Jon Schlinkert", + "url": "https://github.com/jonschlinkert" }, - "scripts": { - "test": "mocha" + "bugs": { + "url": "https://github.com/micromatch/to-regex-range/issues" }, + "contributors": [ + { + "name": "Jon Schlinkert", + "url": "http://twitter.com/jonschlinkert" + }, + { + "name": "Rouven Weßling", + "url": "www.rouvenwessling.de" + } + ], "dependencies": { "is-number": "^7.0.0" }, + "description": "Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.", "devDependencies": { "fill-range": "^6.0.0", "gulp-format-md": "^2.0.0", @@ -33,6 +56,13 @@ "text-table": "^0.2.0", "time-diff": "^0.3.1" }, + "engines": { + "node": ">=8.0" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/micromatch/to-regex-range", "keywords": [ "bash", "date", @@ -58,6 +88,16 @@ "regular expression", "sequence" ], + "license": "MIT", + "main": "index.js", + "name": "to-regex-range", + "repository": { + "type": "git", + "url": "git+https://github.com/micromatch/to-regex-range.git" + }, + "scripts": { + "test": "mocha" + }, "verb": { "layout": "default", "toc": false, @@ -84,5 +124,6 @@ "repeat-string" ] } - } + }, + "version": "5.0.1" } diff --git a/node_modules/toidentifier/package.json b/node_modules/toidentifier/package.json index 42db1a664..426353552 100644 --- a/node_modules/toidentifier/package.json +++ b/node_modules/toidentifier/package.json @@ -1,13 +1,51 @@ { - "name": "toidentifier", - "description": "Convert a string of words to a JavaScript identifier", - "version": "1.0.1", - "author": "Douglas Christopher Wilson ", + "_args": [ + [ + "toidentifier@1.0.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "toidentifier@1.0.1", + "_id": "toidentifier@1.0.1", + "_inBundle": false, + "_integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "_location": "/toidentifier", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "toidentifier@1.0.1", + "name": "toidentifier", + "escapedName": "toidentifier", + "rawSpec": "1.0.1", + "saveSpec": null, + "fetchSpec": "1.0.1" + }, + "_requiredBy": [ + "/http-errors" + ], + "_resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "_spec": "1.0.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + "bugs": { + "url": "https://github.com/component/toidentifier/issues" + }, "contributors": [ - "Douglas Christopher Wilson ", - "Nick Baugh (http://niftylettuce.com/)" + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Nick Baugh", + "email": "niftylettuce@gmail.com", + "url": "http://niftylettuce.com/" + } ], - "repository": "component/toidentifier", + "description": "Convert a string of words to a JavaScript identifier", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -22,17 +60,24 @@ "engines": { "node": ">=0.6" }, - "license": "MIT", "files": [ "HISTORY.md", "LICENSE", "index.js" ], + "homepage": "https://github.com/component/toidentifier#readme", + "license": "MIT", + "name": "toidentifier", + "repository": { + "type": "git", + "url": "git+https://github.com/component/toidentifier.git" + }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test", "version": "node scripts/version-history.js && git add HISTORY.md" - } + }, + "version": "1.0.1" } diff --git a/node_modules/tough-cookie/package.json b/node_modules/tough-cookie/package.json index e07dcb7cb..32b38c70d 100644 --- a/node_modules/tough-cookie/package.json +++ b/node_modules/tough-cookie/package.json @@ -1,62 +1,101 @@ { + "_args": [ + [ + "tough-cookie@4.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "tough-cookie@4.0.0", + "_id": "tough-cookie@4.0.0", + "_inBundle": false, + "_integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", + "_location": "/tough-cookie", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "tough-cookie@4.0.0", + "name": "tough-cookie", + "escapedName": "tough-cookie", + "rawSpec": "4.0.0", + "saveSpec": null, + "fetchSpec": "4.0.0" + }, + "_requiredBy": [ + "/jsdom" + ], + "_resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", + "_spec": "4.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Jeremy Stashewsky", - "email": "jstash@gmail.com", - "website": "https://github.com/stash" + "email": "jstash@gmail.com" + }, + "bugs": { + "url": "https://github.com/salesforce/tough-cookie/issues" }, "contributors": [ { - "name": "Ivan Nikulin", - "website": "https://github.com/inikulin" + "name": "Ivan Nikulin" }, { - "name": "Shivan Kaul Sahib", - "website": "https://github.com/ShivanKaul" + "name": "Shivan Kaul Sahib" }, { - "name": "Clint Ruoho", - "website": "https://github.com/ruoho" + "name": "Clint Ruoho" }, { - "name": "Ian Livingstone", - "website": "https://github.com/ianlivingstone" + "name": "Ian Livingstone" }, { - "name": "Andrew Waterman", - "website": "https://github.com/awaterma" + "name": "Andrew Waterman" }, { - "name": "Michael de Libero ", - "website": "https://github.com/medelibero-sfdc" + "name": "Michael de Libero" }, { - "name": "Jonathan Stewmon", - "website": "https://github.com/jstewmon" + "name": "Jonathan Stewmon" }, { - "name": "Miguel Roncancio", - "website": "https://github.com/miggs125" + "name": "Miguel Roncancio" }, { - "name": "Sebastian Mayr", - "website": "https://github.com/Sebmaster" + "name": "Sebastian Mayr" }, { - "name": "Alexander Savin", - "website": "https://github.com/apsavin" + "name": "Alexander Savin" }, { - "name": "Lalit Kapoor", - "website": "https://github.com/lalitkapoor" + "name": "Lalit Kapoor" }, { - "name": "Sam Thompson", - "website": "https://github.com/sambthompson" + "name": "Sam Thompson" } ], - "license": "BSD-3-Clause", - "name": "tough-cookie", + "dependencies": { + "psl": "^1.1.33", + "punycode": "^2.1.1", + "universalify": "^0.1.2" + }, "description": "RFC6265 Cookies and Cookie Jar for node.js", + "devDependencies": { + "async": "^2.6.2", + "eslint": "^5.16.0", + "eslint-config-prettier": "^4.2.0", + "eslint-plugin-prettier": "^3.0.1", + "genversion": "^2.1.0", + "nyc": "^14.0.0", + "prettier": "^1.17.0", + "vows": "^0.8.2" + }, + "engines": { + "node": ">=6" + }, + "files": [ + "lib" + ], + "homepage": "https://github.com/salesforce/tough-cookie", "keywords": [ "HTTP", "cookie", @@ -67,43 +106,20 @@ "RFC6265", "RFC2965" ], - "version": "4.0.0", - "homepage": "https://github.com/salesforce/tough-cookie", + "license": "BSD-3-Clause", + "main": "./lib/cookie", + "name": "tough-cookie", "repository": { "type": "git", "url": "git://github.com/salesforce/tough-cookie.git" }, - "bugs": { - "url": "https://github.com/salesforce/tough-cookie/issues" - }, - "main": "./lib/cookie", - "files": [ - "lib" - ], "scripts": { - "version": "genversion lib/version.js && git add lib/version.js", - "test": "vows test/*_test.js", "cover": "nyc --reporter=lcov --reporter=html vows test/*_test.js", "eslint": "eslint --env node --ext .js .", + "format": "npm run eslint -- --fix", "prettier": "prettier '**/*.{json,ts,yaml,md}'", - "format": "npm run eslint -- --fix" - }, - "engines": { - "node": ">=6" - }, - "devDependencies": { - "async": "^2.6.2", - "eslint": "^5.16.0", - "eslint-config-prettier": "^4.2.0", - "eslint-plugin-prettier": "^3.0.1", - "genversion": "^2.1.0", - "nyc": "^14.0.0", - "prettier": "^1.17.0", - "vows": "^0.8.2" + "test": "vows test/*_test.js", + "version": "genversion lib/version.js && git add lib/version.js" }, - "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.1.2" - } + "version": "4.0.0" } diff --git a/node_modules/tr46/package.json b/node_modules/tr46/package.json index 72a4df3c5..d68aca360 100644 --- a/node_modules/tr46/package.json +++ b/node_modules/tr46/package.json @@ -1,24 +1,67 @@ { - "name": "tr46", - "version": "2.1.0", + "_args": [ + [ + "tr46@2.1.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "tr46@2.1.0", + "_id": "tr46@2.1.0", + "_inBundle": false, + "_integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==", + "_location": "/tr46", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "tr46@2.1.0", + "name": "tr46", + "escapedName": "tr46", + "rawSpec": "2.1.0", + "saveSpec": null, + "fetchSpec": "2.1.0" + }, + "_requiredBy": [ + "/whatwg-url" + ], + "_resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz", + "_spec": "2.1.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sebastian Mayr", + "email": "npm@smayr.name" + }, + "bugs": { + "url": "https://github.com/jsdom/tr46/issues" + }, + "contributors": [ + { + "name": "Timothy Gu", + "email": "timothygu99@gmail.com" + } + ], + "dependencies": { + "punycode": "^2.1.1" + }, + "description": "An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing", + "devDependencies": { + "eslint": "^7.27.0", + "mocha": "^8.4.0", + "node-fetch": "^2.6.0", + "regenerate": "^1.4.2", + "unicode-13.0.0": "^0.8.0" + }, "engines": { "node": ">=8" }, - "description": "An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing", - "main": "index.js", "files": [ "index.js", "lib/mappingTable.json", "lib/regexes.js", "lib/statusMapping.js" ], - "scripts": { - "test": "mocha", - "lint": "eslint .", - "pretest": "node scripts/getLatestTests.js", - "prepublish": "node scripts/generateMappingTable.js && node scripts/generateRegexes.js" - }, - "repository": "https://github.com/jsdom/tr46", + "homepage": "https://github.com/jsdom/tr46#readme", "keywords": [ "unicode", "tr46", @@ -27,20 +70,19 @@ "url", "whatwg" ], - "author": "Sebastian Mayr ", - "contributors": [ - "Timothy Gu " - ], "license": "MIT", - "dependencies": { - "punycode": "^2.1.1" + "main": "index.js", + "name": "tr46", + "repository": { + "type": "git", + "url": "git+https://github.com/jsdom/tr46.git" }, - "devDependencies": { - "eslint": "^7.27.0", - "mocha": "^8.4.0", - "node-fetch": "^2.6.0", - "regenerate": "^1.4.2", - "unicode-13.0.0": "^0.8.0" + "scripts": { + "lint": "eslint .", + "prepublish": "node scripts/generateMappingTable.js && node scripts/generateRegexes.js", + "pretest": "node scripts/getLatestTests.js", + "test": "mocha" }, - "unicodeVersion": "13.0.0" + "unicodeVersion": "13.0.0", + "version": "2.1.0" } diff --git a/node_modules/trim-newlines/package.json b/node_modules/trim-newlines/package.json index 2359077ff..27b92b283 100644 --- a/node_modules/trim-newlines/package.json +++ b/node_modules/trim-newlines/package.json @@ -1,43 +1,75 @@ { - "name": "trim-newlines", - "version": "3.0.1", - "description": "Trim newlines from the start and/or end of a string", - "license": "MIT", - "repository": "sindresorhus/trim-newlines", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "trim", - "newline", - "newlines", - "linebreak", - "lf", - "crlf", - "left", - "right", - "start", - "end", - "string", - "remove", - "delete", - "strip" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_from": "trim-newlines@^3.0.0", + "_id": "trim-newlines@3.0.1", + "_inBundle": false, + "_integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "_location": "/trim-newlines", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "trim-newlines@^3.0.0", + "name": "trim-newlines", + "escapedName": "trim-newlines", + "rawSpec": "^3.0.0", + "saveSpec": null, + "fetchSpec": "^3.0.0" + }, + "_requiredBy": [ + "/meow" + ], + "_resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "_shasum": "260a5d962d8b752425b32f3a7db0dcacd176c144", + "_spec": "trim-newlines@^3.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/meow", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/trim-newlines/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "Trim newlines from the start and/or end of a string", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/trim-newlines#readme", + "keywords": [ + "trim", + "newline", + "newlines", + "linebreak", + "lf", + "crlf", + "left", + "right", + "start", + "end", + "string", + "remove", + "delete", + "strip" + ], + "license": "MIT", + "name": "trim-newlines", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/trim-newlines.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "3.0.1" } diff --git a/node_modules/ts-jest/package.json b/node_modules/ts-jest/package.json index 5c9fd42fc..ca7b5eb3f 100644 --- a/node_modules/ts-jest/package.json +++ b/node_modules/ts-jest/package.json @@ -1,55 +1,61 @@ { - "name": "ts-jest", - "version": "27.1.2", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "bin": { - "ts-jest": "cli.js" + "_args": [ + [ + "ts-jest@27.1.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "ts-jest@27.1.2", + "_id": "ts-jest@27.1.2", + "_inBundle": false, + "_integrity": "sha512-eSOiJOWq6Hhs6Khzk5wKC5sgWIXgXqOCiIl1+3lfnearu58Hj4QpE5tUhQcA3xtZrELbcvAGCsd6HB8OsaVaTA==", + "_location": "/ts-jest", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ts-jest@27.1.2", + "name": "ts-jest", + "escapedName": "ts-jest", + "rawSpec": "27.1.2", + "saveSpec": null, + "fetchSpec": "27.1.2" }, - "description": "A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript", - "scripts": { - "prebuild": "rimraf dist coverage *.tgz", - "build": "tsc -p tsconfig.build.json", - "postbuild": "node scripts/post-build.js", - "pretest": "tsc -p tsconfig.spec.json --noEmit && node scripts/prepare-test.js", - "test": "jest", - "test-examples": "node scripts/test-examples.js", - "lint": "node_modules/.bin/eslint --ext .js,.ts .", - "lint-fix": "node_modules/.bin/eslint --fix --ext .js,.ts .", - "lint-prettier": "prettier '**/*.{yml,yaml,md}' --write", - "lint-prettier-ci": "prettier '**/*.{yml,yaml,md}' --check", - "doc": "cd website && npm run start", - "doc:build": "cd website && npm run build", - "changelog": "node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 1", - "prepare": "npm run build", - "prepublishOnly": "npm run test", - "preversion": "npm run test", - "version": "npm run changelog && git add CHANGELOG.md", - "raw:options": "node scripts/generate-raw-compiler-options.js", - "update-e2e": "node scripts/update-e2e.js" + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.2.tgz", + "_spec": "27.1.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Kulshekhar Kabra", + "email": "kulshekhar@users.noreply.github.com", + "url": "https://github.com/kulshekhar" }, - "repository": { - "type": "git", - "url": "git+https://github.com/kulshekhar/ts-jest.git" + "bin": { + "ts-jest": "cli.js" }, - "keywords": [ - "jest", - "typescript", - "sourcemap", - "react", - "testing" - ], - "author": "Kulshekhar Kabra (https://github.com/kulshekhar)", - "contributors": [ - "Huafu Gandon (https://github.com/huafu)", - "Anh Pham (https://github.com/ahnpnl)", - "Gustav Wengel (https://github.com/GeeWee)" - ], - "license": "MIT", "bugs": { "url": "https://github.com/kulshekhar/ts-jest/issues" }, - "homepage": "https://kulshekhar.github.io/ts-jest", + "contributors": [ + { + "name": "Huafu Gandon", + "email": "huafu.gandon@gmail.com", + "url": "https://github.com/huafu" + }, + { + "name": "Anh Pham", + "email": "anhpnnd@gmail.com", + "url": "https://github.com/ahnpnl" + }, + { + "name": "Gustav Wengel", + "email": "gustavwengel@gmail.com", + "url": "https://github.com/GeeWee" + } + ], "dependencies": { "bs-logger": "0.x", "fast-json-stable-stringify": "2.x", @@ -60,35 +66,7 @@ "semver": "7.x", "yargs-parser": "20.x" }, - "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", - "@types/jest": "^27.0.0", - "babel-jest": ">=27.0.0 <28", - "esbuild": "~0.14.0", - "jest": "^27.0.0", - "typescript": ">=3.8 <5.0" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@types/jest": { - "optional": true - }, - "babel-jest": { - "optional": true - }, - "esbuild": { - "optional": true - } - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged", - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", - "post-commit": "git reset" - } - }, + "description": "A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript", "devDependencies": { "@commitlint/cli": "15.x", "@commitlint/config-angular": "^15.0.0", @@ -138,13 +116,80 @@ "prettier": "^2.4.0", "typescript": "~4.5.2" }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "homepage": "https://kulshekhar.github.io/ts-jest", + "husky": { + "hooks": { + "pre-commit": "lint-staged", + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", + "post-commit": "git reset" + } + }, + "keywords": [ + "jest", + "typescript", + "sourcemap", + "react", + "testing" + ], + "license": "MIT", "lint-staged": { "*.{ts,tsx,js,jsx}": [ "eslint --fix", "git add" ] }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } + "main": "dist/index.js", + "name": "ts-jest", + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <8", + "@types/jest": "^27.0.0", + "babel-jest": ">=27.0.0 <28", + "esbuild": "~0.14.0", + "jest": "^27.0.0", + "typescript": ">=3.8 <5.0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@types/jest": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/kulshekhar/ts-jest.git" + }, + "scripts": { + "build": "tsc -p tsconfig.build.json", + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1", + "doc": "cd website && npm run start", + "doc:build": "cd website && npm run build", + "lint": "eslint --ext .js,.ts .", + "lint-fix": "eslint --fix --ext .js,.ts .", + "lint-prettier": "prettier '**/*.{yml,yaml,md}' --write", + "lint-prettier-ci": "prettier '**/*.{yml,yaml,md}' --check", + "postbuild": "node scripts/post-build.js", + "prebuild": "rimraf dist coverage *.tgz", + "prepare": "npm run build", + "prepublishOnly": "npm run test", + "pretest": "tsc -p tsconfig.spec.json --noEmit && node scripts/prepare-test.js", + "preversion": "npm run test", + "raw:options": "node scripts/generate-raw-compiler-options.js", + "test": "jest", + "test-examples": "node scripts/test-examples.js", + "update-e2e": "node scripts/update-e2e.js", + "version": "npm run changelog && git add CHANGELOG.md" + }, + "types": "dist/index.d.ts", + "version": "27.1.2" } diff --git a/node_modules/ts-node/node_modules/acorn-walk/package.json b/node_modules/ts-node/node_modules/acorn-walk/package.json index 8d75b9711..70eee7308 100644 --- a/node_modules/ts-node/node_modules/acorn-walk/package.json +++ b/node_modules/ts-node/node_modules/acorn-walk/package.json @@ -1,10 +1,40 @@ { - "name": "acorn-walk", + "_args": [ + [ + "acorn-walk@8.2.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "acorn-walk@8.2.0", + "_id": "acorn-walk@8.2.0", + "_inBundle": false, + "_integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "_location": "/ts-node/acorn-walk", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "acorn-walk@8.2.0", + "name": "acorn-walk", + "escapedName": "acorn-walk", + "rawSpec": "8.2.0", + "saveSpec": null, + "fetchSpec": "8.2.0" + }, + "_requiredBy": [ + "/ts-node" + ], + "_resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "_spec": "8.2.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/acornjs/acorn/issues" + }, "description": "ECMAScript (ESTree) AST walker", - "homepage": "https://github.com/acornjs/acorn", - "main": "dist/walk.js", - "types": "dist/walk.d.ts", - "module": "dist/walk.mjs", + "engines": { + "node": ">=0.4.0" + }, "exports": { ".": [ { @@ -16,30 +46,34 @@ ], "./package.json": "./package.json" }, - "version": "8.2.0", - "engines": {"node": ">=0.4.0"}, + "homepage": "https://github.com/acornjs/acorn", + "license": "MIT", + "main": "dist/walk.js", "maintainers": [ { "name": "Marijn Haverbeke", "email": "marijnh@gmail.com", - "web": "https://marijnhaverbeke.nl" + "url": "https://marijnhaverbeke.nl" }, { "name": "Ingvar Stepanyan", "email": "me@rreverser.com", - "web": "https://rreverser.com/" + "url": "https://rreverser.com/" }, { "name": "Adrian Heine", - "web": "http://adrianheine.de" + "url": "http://adrianheine.de" } ], + "module": "dist/walk.mjs", + "name": "acorn-walk", "repository": { "type": "git", - "url": "https://github.com/acornjs/acorn.git" + "url": "git+https://github.com/acornjs/acorn.git" }, "scripts": { "prepare": "cd ..; npm run build:walk" }, - "license": "MIT" + "types": "dist/walk.d.ts", + "version": "8.2.0" } diff --git a/node_modules/ts-node/node_modules/acorn/package.json b/node_modules/ts-node/node_modules/acorn/package.json index 8e2edc65c..269df6170 100644 --- a/node_modules/ts-node/node_modules/acorn/package.json +++ b/node_modules/ts-node/node_modules/acorn/package.json @@ -1,10 +1,43 @@ { - "name": "acorn", + "_args": [ + [ + "acorn@8.7.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "acorn@8.7.0", + "_id": "acorn@8.7.0", + "_inBundle": false, + "_integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "_location": "/ts-node/acorn", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "acorn@8.7.0", + "name": "acorn", + "escapedName": "acorn", + "rawSpec": "8.7.0", + "saveSpec": null, + "fetchSpec": "8.7.0" + }, + "_requiredBy": [ + "/ts-node" + ], + "_resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "_spec": "8.7.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bin": { + "acorn": "bin/acorn" + }, + "bugs": { + "url": "https://github.com/acornjs/acorn/issues" + }, "description": "ECMAScript parser", - "homepage": "https://github.com/acornjs/acorn", - "main": "dist/acorn.js", - "types": "dist/acorn.d.ts", - "module": "dist/acorn.mjs", + "engines": { + "node": ">=0.4.0" + }, "exports": { ".": [ { @@ -16,31 +49,34 @@ ], "./package.json": "./package.json" }, - "version": "8.7.0", - "engines": {"node": ">=0.4.0"}, + "homepage": "https://github.com/acornjs/acorn", + "license": "MIT", + "main": "dist/acorn.js", "maintainers": [ { "name": "Marijn Haverbeke", "email": "marijnh@gmail.com", - "web": "https://marijnhaverbeke.nl" + "url": "https://marijnhaverbeke.nl" }, { "name": "Ingvar Stepanyan", "email": "me@rreverser.com", - "web": "https://rreverser.com/" + "url": "https://rreverser.com/" }, { "name": "Adrian Heine", - "web": "http://adrianheine.de" + "url": "http://adrianheine.de" } ], + "module": "dist/acorn.mjs", + "name": "acorn", "repository": { "type": "git", - "url": "https://github.com/acornjs/acorn.git" + "url": "git+https://github.com/acornjs/acorn.git" }, - "license": "MIT", "scripts": { "prepare": "cd ..; npm run build:main" }, - "bin": {"acorn": "./bin/acorn"} + "types": "dist/acorn.d.ts", + "version": "8.7.0" } diff --git a/node_modules/ts-node/package.json b/node_modules/ts-node/package.json index 060a78c44..bca77b1b4 100644 --- a/node_modules/ts-node/package.json +++ b/node_modules/ts-node/package.json @@ -1,8 +1,104 @@ { - "name": "ts-node", - "version": "10.4.0", + "_args": [ + [ + "ts-node@10.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "ts-node@10.4.0", + "_id": "ts-node@10.4.0", + "_inBundle": false, + "_integrity": "sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A==", + "_location": "/ts-node", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "ts-node@10.4.0", + "name": "ts-node", + "escapedName": "ts-node", + "rawSpec": "10.4.0", + "saveSpec": null, + "fetchSpec": "10.4.0" + }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.4.0.tgz", + "_spec": "10.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Blake Embrey", + "email": "hello@blakeembrey.com", + "url": "http://blakeembrey.me" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-script": "dist/bin-script-deprecated.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-transpile-only": "dist/bin-transpile.js" + }, + "bugs": { + "url": "https://github.com/TypeStrong/ts-node/issues" + }, + "contributors": [ + { + "name": "Andrew Bradley", + "email": "cspotcode@gmail.com", + "url": "https://github.com/cspotcode" + } + ], + "dependencies": { + "@cspotcode/source-map-support": "0.7.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "yn": "3.1.1" + }, "description": "TypeScript execution environment and REPL for node.js, with source map support", - "main": "dist/index.js", + "devDependencies": { + "@microsoft/api-extractor": "^7.15.2", + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/chai": "^4.0.4", + "@types/diff": "^4.0.2", + "@types/lodash": "^4.14.151", + "@types/node": "13.13.5", + "@types/proper-lockfile": "^4.1.2", + "@types/proxyquire": "^1.3.28", + "@types/react": "^16.0.2", + "@types/rimraf": "^3.0.0", + "@types/semver": "^7.1.0", + "@yarnpkg/fslib": "^2.4.0", + "ava": "^3.15.0", + "axios": "^0.21.1", + "chai": "^4.0.1", + "expect": "^27.0.2", + "get-stream": "^6.0.0", + "lodash": "^4.17.15", + "ntypescript": "^1.201507091536.1", + "nyc": "^15.0.1", + "prettier": "^2.2.1", + "proper-lockfile": "^4.1.2", + "proxyquire": "^2.0.0", + "react": "^16.14.0", + "rimraf": "^3.0.0", + "semver": "^7.1.3", + "throat": "^6.0.1", + "typedoc": "^0.22.4", + "typescript": "4.4.3", + "typescript-json-schema": "^0.51.0", + "util.promisify": "^1.0.1" + }, "exports": { ".": "./dist/index.js", "./package": "./package.json", @@ -29,14 +125,6 @@ "./node14/tsconfig.json": "./node14/tsconfig.json", "./node16/tsconfig.json": "./node16/tsconfig.json" }, - "types": "dist/index.d.ts", - "bin": { - "ts-node": "dist/bin.js", - "ts-script": "dist/bin-script-deprecated.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-transpile-only": "dist/bin-transpile.js" - }, "files": [ "/transpilers/", "/dist/", @@ -53,31 +141,7 @@ "/node14/", "/node16/" ], - "scripts": { - "lint": "prettier --check .", - "lint-fix": "prettier --write .", - "clean": "rimraf dist tsconfig.schema.json tsconfig.schemastore-schema.json tsconfig.tsbuildinfo tests/ts-node-packed.tgz", - "rebuild": "npm run clean && npm run build", - "build": "npm run build-nopack && npm run build-pack", - "build-nopack": "npm run build-tsc && npm run build-configSchema", - "build-tsc": "tsc", - "build-configSchema": "typescript-json-schema --topRef --refs --validationKeywords allOf --out tsconfig.schema.json tsconfig.build-schema.json TsConfigSchema && node --require ./register ./scripts/create-merged-schema", - "build-pack": "node ./scripts/build-pack.js", - "test-spec": "ava", - "test-cov": "nyc ava", - "test": "npm run build && npm run lint && npm run test-cov --", - "test-local": "npm run lint-fix && npm run build-tsc && npm run build-pack && npm run test-spec --", - "pre-debug": "npm run build-tsc && npm run build-pack", - "coverage-report": "nyc report --reporter=lcov", - "prepare": "npm run clean && npm run build-nopack", - "api-extractor": "api-extractor run --local --verbose", - "esm-usage-example": "npm run build-tsc && cd esm-usage-example && node --experimental-specifier-resolution node --loader ../esm.mjs ./index", - "esm-usage-example2": "npm run build-tsc && cd tests && TS_NODE_PROJECT=./module-types/override-to-cjs/tsconfig.json node --loader ../esm.mjs ./module-types/override-to-cjs/test.cjs" - }, - "repository": { - "type": "git", - "url": "git://github.com/TypeStrong/ts-node.git" - }, + "homepage": "https://typestrong.org/ts-node", "keywords": [ "typescript", "node", @@ -86,57 +150,9 @@ "ts", "compiler" ], - "author": { - "name": "Blake Embrey", - "email": "hello@blakeembrey.com", - "url": "http://blakeembrey.me" - }, - "contributors": [ - { - "name": "Andrew Bradley", - "email": "cspotcode@gmail.com", - "url": "https://github.com/cspotcode" - } - ], "license": "MIT", - "bugs": { - "url": "https://github.com/TypeStrong/ts-node/issues" - }, - "homepage": "https://typestrong.org/ts-node", - "devDependencies": { - "@microsoft/api-extractor": "^7.15.2", - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/chai": "^4.0.4", - "@types/diff": "^4.0.2", - "@types/lodash": "^4.14.151", - "@types/node": "13.13.5", - "@types/proper-lockfile": "^4.1.2", - "@types/proxyquire": "^1.3.28", - "@types/react": "^16.0.2", - "@types/rimraf": "^3.0.0", - "@types/semver": "^7.1.0", - "@yarnpkg/fslib": "^2.4.0", - "ava": "^3.15.0", - "axios": "^0.21.1", - "chai": "^4.0.1", - "expect": "^27.0.2", - "get-stream": "^6.0.0", - "lodash": "^4.17.15", - "ntypescript": "^1.201507091536.1", - "nyc": "^15.0.1", - "prettier": "^2.2.1", - "proper-lockfile": "^4.1.2", - "proxyquire": "^2.0.0", - "react": "^16.14.0", - "rimraf": "^3.0.0", - "semver": "^7.1.3", - "throat": "^6.0.1", - "typedoc": "^0.22.4", - "typescript": "4.4.3", - "typescript-json-schema": "^0.51.0", - "util.promisify": "^1.0.1" - }, + "main": "dist/index.js", + "name": "ts-node", "peerDependencies": { "@swc/core": ">=1.2.50", "@swc/wasm": ">=1.2.50", @@ -151,23 +167,36 @@ "optional": true } }, - "dependencies": { - "@cspotcode/source-map-support": "0.7.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "yn": "3.1.1" - }, "prettier": { "singleQuote": true }, + "repository": { + "type": "git", + "url": "git://github.com/TypeStrong/ts-node.git" + }, + "scripts": { + "api-extractor": "api-extractor run --local --verbose", + "build": "npm run build-nopack && npm run build-pack", + "build-configSchema": "typescript-json-schema --topRef --refs --validationKeywords allOf --out tsconfig.schema.json tsconfig.build-schema.json TsConfigSchema && node --require ./register ./scripts/create-merged-schema", + "build-nopack": "npm run build-tsc && npm run build-configSchema", + "build-pack": "node ./scripts/build-pack.js", + "build-tsc": "tsc", + "clean": "rimraf dist tsconfig.schema.json tsconfig.schemastore-schema.json tsconfig.tsbuildinfo tests/ts-node-packed.tgz", + "coverage-report": "nyc report --reporter=lcov", + "esm-usage-example": "npm run build-tsc && cd esm-usage-example && node --experimental-specifier-resolution node --loader ../esm.mjs ./index", + "esm-usage-example2": "npm run build-tsc && cd tests && TS_NODE_PROJECT=./module-types/override-to-cjs/tsconfig.json node --loader ../esm.mjs ./module-types/override-to-cjs/test.cjs", + "lint": "prettier --check .", + "lint-fix": "prettier --write .", + "pre-debug": "npm run build-tsc && npm run build-pack", + "prepare": "npm run clean && npm run build-nopack", + "rebuild": "npm run clean && npm run build", + "test": "npm run build && npm run lint && npm run test-cov --", + "test-cov": "nyc ava", + "test-local": "npm run lint-fix && npm run build-tsc && npm run build-pack && npm run test-spec --", + "test-spec": "ava" + }, + "types": "dist/index.d.ts", + "version": "10.4.0", "volta": { "node": "16.9.1", "npm": "6.14.15" diff --git a/node_modules/tslib/package.json b/node_modules/tslib/package.json index e528ac05a..911b0b4f6 100644 --- a/node_modules/tslib/package.json +++ b/node_modules/tslib/package.json @@ -1,37 +1,68 @@ { + "_args": [ + [ + "tslib@2.3.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "tslib@2.3.1", + "_id": "tslib@2.3.1", + "_inBundle": false, + "_integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "_location": "/tslib", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "tslib@2.3.1", "name": "tslib", - "author": "Microsoft Corp.", - "homepage": "https://www.typescriptlang.org/", - "version": "2.3.1", - "license": "0BSD", - "description": "Runtime library for TypeScript helper functions", - "keywords": [ - "TypeScript", - "Microsoft", - "compiler", - "language", - "javascript", - "tslib", - "runtime" - ], - "bugs": { - "url": "https://github.com/Microsoft/TypeScript/issues" + "escapedName": "tslib", + "rawSpec": "2.3.1", + "saveSpec": null, + "fetchSpec": "2.3.1" + }, + "_requiredBy": [ + "/rxjs" + ], + "_resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "_spec": "2.3.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Microsoft Corp." + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "description": "Runtime library for TypeScript helper functions", + "exports": { + ".": { + "module": "./tslib.es6.js", + "import": "./modules/index.js", + "default": "./tslib.js" }, - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/tslib.git" - }, - "main": "tslib.js", - "module": "tslib.es6.js", - "jsnext:main": "tslib.es6.js", - "typings": "tslib.d.ts", - "sideEffects": false, - "exports": { - ".": { - "module": "./tslib.es6.js", - "import": "./modules/index.js", - "default": "./tslib.js" - }, - "./": "./" - } + "./": "./" + }, + "homepage": "https://www.typescriptlang.org/", + "jsnext:main": "tslib.es6.js", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "license": "0BSD", + "main": "tslib.js", + "module": "tslib.es6.js", + "name": "tslib", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/tslib.git" + }, + "sideEffects": false, + "typings": "tslib.d.ts", + "version": "2.3.1" } diff --git a/node_modules/tsutils/node_modules/tslib/package.json b/node_modules/tsutils/node_modules/tslib/package.json index f8c2a53d0..0550b234f 100644 --- a/node_modules/tsutils/node_modules/tslib/package.json +++ b/node_modules/tsutils/node_modules/tslib/package.json @@ -1,37 +1,68 @@ { + "_args": [ + [ + "tslib@1.14.1", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "tslib@1.14.1", + "_id": "tslib@1.14.1", + "_inBundle": false, + "_integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "_location": "/tsutils/tslib", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "tslib@1.14.1", "name": "tslib", - "author": "Microsoft Corp.", - "homepage": "https://www.typescriptlang.org/", - "version": "1.14.1", - "license": "0BSD", - "description": "Runtime library for TypeScript helper functions", - "keywords": [ - "TypeScript", - "Microsoft", - "compiler", - "language", - "javascript", - "tslib", - "runtime" - ], - "bugs": { - "url": "https://github.com/Microsoft/TypeScript/issues" + "escapedName": "tslib", + "rawSpec": "1.14.1", + "saveSpec": null, + "fetchSpec": "1.14.1" + }, + "_requiredBy": [ + "/tsutils" + ], + "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "_spec": "1.14.1", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Microsoft Corp." + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "description": "Runtime library for TypeScript helper functions", + "exports": { + ".": { + "module": "./tslib.es6.js", + "import": "./modules/index.js", + "default": "./tslib.js" }, - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/tslib.git" - }, - "main": "tslib.js", - "module": "tslib.es6.js", - "jsnext:main": "tslib.es6.js", - "typings": "tslib.d.ts", - "sideEffects": false, - "exports": { - ".": { - "module": "./tslib.es6.js", - "import": "./modules/index.js", - "default": "./tslib.js" - }, - "./": "./" - } + "./": "./" + }, + "homepage": "https://www.typescriptlang.org/", + "jsnext:main": "tslib.es6.js", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript", + "tslib", + "runtime" + ], + "license": "0BSD", + "main": "tslib.js", + "module": "tslib.es6.js", + "name": "tslib", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/tslib.git" + }, + "sideEffects": false, + "typings": "tslib.d.ts", + "version": "1.14.1" } diff --git a/node_modules/tsutils/package.json b/node_modules/tsutils/package.json index 1bd9dbdc1..3aa9e7f0e 100644 --- a/node_modules/tsutils/package.json +++ b/node_modules/tsutils/package.json @@ -1,36 +1,45 @@ { - "name": "tsutils", - "version": "3.21.0", - "description": "utilities for working with typescript's AST", - "scripts": { - "precompile": "rimraf \"{,util,typeguard,test{,/rules}/*.{js,d.ts,js.map}\"", - "compile": "ttsc -p .", - "lint:tslint": "wotan -m @fimbul/valtyr", - "lint:wotan": "wotan", - "lint": "run-p lint:*", - "test": "mocha test/*Tests.js && tslint --test 'test/rules/**/tslint.json'", - "verify": "run-s compile lint coverage", - "prepublishOnly": "run-s verify", - "coverage": "nyc run-s test", - "report-coverage": "cat ./coverage/lcov.info | coveralls", - "github-release": "node ./scripts/github-release.js", - "postpublish": "git push origin master --tags && run-s github-release" - }, - "repository": { - "type": "git", - "url": "https://github.com/ajafff/tsutils" + "_args": [ + [ + "tsutils@3.21.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "tsutils@3.21.0", + "_id": "tsutils@3.21.0", + "_inBundle": false, + "_integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "_location": "/tsutils", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "tsutils@3.21.0", + "name": "tsutils", + "escapedName": "tsutils", + "rawSpec": "3.21.0", + "saveSpec": null, + "fetchSpec": "3.21.0" }, - "keywords": [ - "typescript", - "ts", - "ast", - "typeguard", - "utils", - "helper", - "node" + "_requiredBy": [ + "/@typescript-eslint/eslint-plugin", + "/@typescript-eslint/typescript-estree", + "/eslint-plugin-jest/@typescript-eslint/typescript-estree" ], - "author": "Klaus Meinhardt", - "license": "MIT", + "_resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "_spec": "3.21.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Klaus Meinhardt" + }, + "bugs": { + "url": "https://github.com/ajafff/tsutils/issues" + }, + "dependencies": { + "tslib": "^1.8.1" + }, + "description": "utilities for working with typescript's AST", "devDependencies": { "@fimbul/mithotyn": "^0.21.0", "@fimbul/valtyr": "^0.22.0", @@ -51,13 +60,41 @@ "ttypescript": "^1.5.5", "typescript": "4.2.0-dev.20201230" }, + "engines": { + "node": ">= 6" + }, + "homepage": "https://github.com/ajafff/tsutils#readme", + "keywords": [ + "typescript", + "ts", + "ast", + "typeguard", + "utils", + "helper", + "node" + ], + "license": "MIT", + "name": "tsutils", "peerDependencies": { "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" }, - "dependencies": { - "tslib": "^1.8.1" + "repository": { + "type": "git", + "url": "git+https://github.com/ajafff/tsutils.git" }, - "engines": { - "node": ">= 6" - } + "scripts": { + "compile": "ttsc -p .", + "coverage": "nyc run-s test", + "github-release": "node ./scripts/github-release.js", + "lint": "run-p lint:*", + "lint:tslint": "wotan -m @fimbul/valtyr", + "lint:wotan": "wotan", + "postpublish": "git push origin master --tags && run-s github-release", + "precompile": "rimraf \"{,util,typeguard,test{,/rules}/*.{js,d.ts,js.map}\"", + "prepublishOnly": "run-s verify", + "report-coverage": "cat ./coverage/lcov.info | coveralls", + "test": "mocha test/*Tests.js && tslint --test 'test/rules/**/tslint.json'", + "verify": "run-s compile lint coverage" + }, + "version": "3.21.0" } diff --git a/node_modules/tunnel/package.json b/node_modules/tunnel/package.json index bcd7b95ae..350d90198 100644 --- a/node_modules/tunnel/package.json +++ b/node_modules/tunnel/package.json @@ -1,7 +1,51 @@ { - "name": "tunnel", - "version": "0.0.6", + "_args": [ + [ + "tunnel@0.0.6", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "tunnel@0.0.6", + "_id": "tunnel@0.0.6", + "_inBundle": false, + "_integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "_location": "/tunnel", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "tunnel@0.0.6", + "name": "tunnel", + "escapedName": "tunnel", + "rawSpec": "0.0.6", + "saveSpec": null, + "fetchSpec": "0.0.6" + }, + "_requiredBy": [ + "/@actions/http-client" + ], + "_resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "_spec": "0.0.6", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Koichi Kobayashi", + "email": "koichik@improvement.jp" + }, + "bugs": { + "url": "https://github.com/koichik/node-tunnel/issues" + }, "description": "Node HTTP/HTTPS Agents for tunneling proxies", + "devDependencies": { + "mocha": "^5.2.0", + "should": "^13.2.3" + }, + "directories": { + "lib": "./lib" + }, + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + }, + "homepage": "https://github.com/koichik/node-tunnel/", "keywords": [ "http", "https", @@ -9,26 +53,15 @@ "proxy", "tunnel" ], - "homepage": "https://github.com/koichik/node-tunnel/", - "bugs": "https://github.com/koichik/node-tunnel/issues", "license": "MIT", - "author": "Koichi Kobayashi ", "main": "./index.js", - "directories": { - "lib": "./lib" - }, + "name": "tunnel", "repository": { "type": "git", - "url": "https://github.com/koichik/node-tunnel.git" + "url": "git+https://github.com/koichik/node-tunnel.git" }, "scripts": { "test": "mocha" }, - "devDependencies": { - "mocha": "^5.2.0", - "should": "^13.2.3" - }, - "engines": { - "node": ">=0.6.11 <=0.7.0 || >=0.7.3" - } + "version": "0.0.6" } diff --git a/node_modules/type-check/package.json b/node_modules/type-check/package.json index 2a57ea064..072385dd3 100644 --- a/node_modules/type-check/package.json +++ b/node_modules/type-check/package.json @@ -1,8 +1,58 @@ { - "name": "type-check", - "version": "0.4.0", - "author": "George Zahariev ", + "_args": [ + [ + "type-check@0.4.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "type-check@0.4.0", + "_id": "type-check@0.4.0", + "_inBundle": false, + "_integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "_location": "/type-check", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "type-check@0.4.0", + "name": "type-check", + "escapedName": "type-check", + "rawSpec": "0.4.0", + "saveSpec": null, + "fetchSpec": "0.4.0" + }, + "_requiredBy": [ + "/levn", + "/optionator" + ], + "_resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "_spec": "0.4.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "George Zahariev", + "email": "z@georgezahariev.com" + }, + "bugs": { + "url": "https://github.com/gkz/type-check/issues" + }, + "dependencies": { + "prelude-ls": "^1.2.1" + }, "description": "type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.", + "devDependencies": { + "browserify": "^16.5.1", + "livescript": "^1.6.0", + "mocha": "^7.1.1" + }, + "engines": { + "node": ">= 0.8.0" + }, + "files": [ + "lib", + "README.md", + "LICENSE" + ], "homepage": "https://github.com/gkz/type-check", "keywords": [ "type", @@ -10,17 +60,9 @@ "checking", "library" ], - "files": [ - "lib", - "README.md", - "LICENSE" - ], - "main": "./lib/", - "bugs": "https://github.com/gkz/type-check/issues", "license": "MIT", - "engines": { - "node": ">= 0.8.0" - }, + "main": "./lib/", + "name": "type-check", "repository": { "type": "git", "url": "git://github.com/gkz/type-check.git" @@ -28,12 +70,5 @@ "scripts": { "test": "make test" }, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "devDependencies": { - "livescript": "^1.6.0", - "mocha": "^7.1.1", - "browserify": "^16.5.1" - } + "version": "0.4.0" } diff --git a/node_modules/type-detect/package.json b/node_modules/type-detect/package.json index bebf2d865..b45bd7239 100644 --- a/node_modules/type-detect/package.json +++ b/node_modules/type-detect/package.json @@ -1 +1,172 @@ -{"name":"type-detect","description":"Improved typeof detection for node.js and the browser.","keywords":["type","typeof","types"],"license":"MIT","author":"Jake Luer (http://alogicalparadox.com)","contributors":["Keith Cirkel (https://github.com/keithamus)","David Losert (https://github.com/davelosert)","Aleksey Shvayka (https://github.com/shvaikalesh)","Lucas Fernandes da Costa (https://github.com/lucasfcosta)","Grant Snodgrass (https://github.com/meeber)","Jeremy Tice (https://github.com/jetpacmonkey)","Edward Betts (https://github.com/EdwardBetts)","dvlsg (https://github.com/dvlsg)","Amila Welihinda (https://github.com/amilajack)","Jake Champion (https://github.com/JakeChampion)","Miroslav Bajtoš (https://github.com/bajtos)"],"files":["index.js","type-detect.js"],"main":"./type-detect.js","repository":{"type":"git","url":"git+ssh://git@github.com/chaijs/type-detect.git"},"scripts":{"bench":"node bench","build":"rollup -c rollup.conf.js","commit-msg":"commitlint -x angular","lint":"eslint --ignore-path .gitignore .","prepare":"cross-env NODE_ENV=production npm run build","semantic-release":"semantic-release pre && npm publish && semantic-release post","pretest:node":"cross-env NODE_ENV=test npm run build","pretest:browser":"cross-env NODE_ENV=test npm run build","test":"npm run test:node && npm run test:browser","test:browser":"karma start --singleRun=true","test:node":"nyc mocha type-detect.test.js","posttest:node":"nyc report --report-dir \"coverage/node-$(node --version)\" --reporter=lcovonly && npm run upload-coverage","posttest:browser":"npm run upload-coverage","upload-coverage":"codecov"},"eslintConfig":{"env":{"es6":true},"extends":["strict/es6"],"globals":{"HTMLElement":false},"rules":{"complexity":0,"max-statements":0,"prefer-rest-params":0}},"devDependencies":{"@commitlint/cli":"^4.2.2","benchmark":"^2.1.0","buble":"^0.16.0","codecov":"^3.0.0","commitlint-config-angular":"^4.2.1","cross-env":"^5.1.1","eslint":"^4.10.0","eslint-config-strict":"^14.0.0","eslint-plugin-filenames":"^1.2.0","husky":"^0.14.3","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-detect-browsers":"^2.2.5","karma-edge-launcher":"^0.4.2","karma-firefox-launcher":"^1.0.1","karma-ie-launcher":"^1.0.0","karma-mocha":"^1.3.0","karma-opera-launcher":"^1.0.0","karma-safari-launcher":"^1.0.0","karma-safaritechpreview-launcher":"0.0.6","karma-sauce-launcher":"^1.2.0","mocha":"^4.0.1","nyc":"^11.3.0","rollup":"^0.50.0","rollup-plugin-buble":"^0.16.0","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-istanbul":"^1.1.0","rollup-plugin-node-resolve":"^3.0.0","semantic-release":"^8.2.0","simple-assert":"^1.0.0"},"engines":{"node":">=4"},"version":"4.0.8"} +{ + "_args": [ + [ + "type-detect@4.0.8", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "type-detect@4.0.8", + "_id": "type-detect@4.0.8", + "_inBundle": false, + "_integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "_location": "/type-detect", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "type-detect@4.0.8", + "name": "type-detect", + "escapedName": "type-detect", + "rawSpec": "4.0.8", + "saveSpec": null, + "fetchSpec": "4.0.8" + }, + "_requiredBy": [ + "/@sinonjs/commons" + ], + "_resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "_spec": "4.0.8", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Jake Luer", + "email": "jake@alogicalparadox.com", + "url": "http://alogicalparadox.com" + }, + "bugs": { + "url": "https://github.com/chaijs/type-detect/issues" + }, + "contributors": [ + { + "name": "Keith Cirkel", + "url": "https://github.com/keithamus" + }, + { + "name": "David Losert", + "url": "https://github.com/davelosert" + }, + { + "name": "Aleksey Shvayka", + "url": "https://github.com/shvaikalesh" + }, + { + "name": "Lucas Fernandes da Costa", + "url": "https://github.com/lucasfcosta" + }, + { + "name": "Grant Snodgrass", + "url": "https://github.com/meeber" + }, + { + "name": "Jeremy Tice", + "url": "https://github.com/jetpacmonkey" + }, + { + "name": "Edward Betts", + "url": "https://github.com/EdwardBetts" + }, + { + "name": "dvlsg", + "url": "https://github.com/dvlsg" + }, + { + "name": "Amila Welihinda", + "url": "https://github.com/amilajack" + }, + { + "name": "Jake Champion", + "url": "https://github.com/JakeChampion" + }, + { + "name": "Miroslav Bajtoš", + "url": "https://github.com/bajtos" + } + ], + "description": "Improved typeof detection for node.js and the browser.", + "devDependencies": { + "@commitlint/cli": "^4.2.2", + "benchmark": "^2.1.0", + "buble": "^0.16.0", + "codecov": "^3.0.0", + "commitlint-config-angular": "^4.2.1", + "cross-env": "^5.1.1", + "eslint": "^4.10.0", + "eslint-config-strict": "^14.0.0", + "eslint-plugin-filenames": "^1.2.0", + "husky": "^0.14.3", + "karma": "^1.7.1", + "karma-chrome-launcher": "^2.2.0", + "karma-coverage": "^1.1.1", + "karma-detect-browsers": "^2.2.5", + "karma-edge-launcher": "^0.4.2", + "karma-firefox-launcher": "^1.0.1", + "karma-ie-launcher": "^1.0.0", + "karma-mocha": "^1.3.0", + "karma-opera-launcher": "^1.0.0", + "karma-safari-launcher": "^1.0.0", + "karma-safaritechpreview-launcher": "0.0.6", + "karma-sauce-launcher": "^1.2.0", + "mocha": "^4.0.1", + "nyc": "^11.3.0", + "rollup": "^0.50.0", + "rollup-plugin-buble": "^0.16.0", + "rollup-plugin-commonjs": "^8.2.6", + "rollup-plugin-istanbul": "^1.1.0", + "rollup-plugin-node-resolve": "^3.0.0", + "semantic-release": "^8.2.0", + "simple-assert": "^1.0.0" + }, + "engines": { + "node": ">=4" + }, + "eslintConfig": { + "env": { + "es6": true + }, + "extends": [ + "strict/es6" + ], + "globals": { + "HTMLElement": false + }, + "rules": { + "complexity": 0, + "max-statements": 0, + "prefer-rest-params": 0 + } + }, + "files": [ + "index.js", + "type-detect.js" + ], + "homepage": "https://github.com/chaijs/type-detect#readme", + "keywords": [ + "type", + "typeof", + "types" + ], + "license": "MIT", + "main": "./type-detect.js", + "name": "type-detect", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/chaijs/type-detect.git" + }, + "scripts": { + "bench": "node bench", + "build": "rollup -c rollup.conf.js", + "commit-msg": "commitlint -x angular", + "lint": "eslint --ignore-path .gitignore .", + "posttest:browser": "npm run upload-coverage", + "posttest:node": "nyc report --report-dir \"coverage/node-$(node --version)\" --reporter=lcovonly && npm run upload-coverage", + "prepare": "cross-env NODE_ENV=production npm run build", + "pretest:browser": "cross-env NODE_ENV=test npm run build", + "pretest:node": "cross-env NODE_ENV=test npm run build", + "semantic-release": "semantic-release pre && npm publish && semantic-release post", + "test": "npm run test:node && npm run test:browser", + "test:browser": "karma start --singleRun=true", + "test:node": "nyc mocha type-detect.test.js", + "upload-coverage": "codecov" + }, + "version": "4.0.8" +} diff --git a/node_modules/type-fest/package.json b/node_modules/type-fest/package.json index 3ab9e4d92..72537f7b7 100644 --- a/node_modules/type-fest/package.json +++ b/node_modules/type-fest/package.json @@ -1,58 +1,94 @@ { - "name": "type-fest", - "version": "0.20.2", - "description": "A collection of essential TypeScript types", - "license": "(MIT OR CC0-1.0)", - "repository": "sindresorhus/type-fest", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=10" - }, - "scripts": { - "//test": "xo && tsd && tsc", - "test": "xo && tsc" - }, - "files": [ - "index.d.ts", - "base.d.ts", - "source", - "ts41" - ], - "keywords": [ - "typescript", - "ts", - "types", - "utility", - "util", - "utilities", - "omit", - "merge", - "json" - ], - "devDependencies": { - "@sindresorhus/tsconfig": "~0.7.0", - "tsd": "^0.13.1", - "typescript": "^4.1.2", - "xo": "^0.35.0" - }, - "types": "./index.d.ts", - "typesVersions": { - ">=4.1": { - "*": [ - "ts41/*" - ] - } - }, - "xo": { - "rules": { - "@typescript-eslint/ban-types": "off", - "@typescript-eslint/indent": "off", - "node/no-unsupported-features/es-builtins": "off" - } - } + "_args": [ + [ + "type-fest@0.20.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "type-fest@0.20.2", + "_id": "type-fest@0.20.2", + "_inBundle": false, + "_integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "_location": "/type-fest", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "type-fest@0.20.2", + "name": "type-fest", + "escapedName": "type-fest", + "rawSpec": "0.20.2", + "saveSpec": null, + "fetchSpec": "0.20.2" + }, + "_requiredBy": [ + "/globals" + ], + "_resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "_spec": "0.20.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "https://sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/type-fest/issues" + }, + "description": "A collection of essential TypeScript types", + "devDependencies": { + "@sindresorhus/tsconfig": "~0.7.0", + "tsd": "^0.13.1", + "typescript": "^4.1.2", + "xo": "^0.35.0" + }, + "engines": { + "node": ">=10" + }, + "files": [ + "index.d.ts", + "base.d.ts", + "source", + "ts41" + ], + "funding": "https://github.com/sponsors/sindresorhus", + "homepage": "https://github.com/sindresorhus/type-fest#readme", + "keywords": [ + "typescript", + "ts", + "types", + "utility", + "util", + "utilities", + "omit", + "merge", + "json" + ], + "license": "(MIT OR CC0-1.0)", + "name": "type-fest", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/type-fest.git" + }, + "scripts": { + "//test": "xo && tsd && tsc", + "test": "xo && tsc" + }, + "types": "./index.d.ts", + "typesVersions": { + ">=4.1": { + "*": [ + "ts41/*" + ] + } + }, + "version": "0.20.2", + "xo": { + "rules": { + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/indent": "off", + "node/no-unsupported-features/es-builtins": "off" + } + } } diff --git a/node_modules/type-is/package.json b/node_modules/type-is/package.json index 97ba5f14b..6c99a8201 100644 --- a/node_modules/type-is/package.json +++ b/node_modules/type-is/package.json @@ -1,17 +1,52 @@ { - "name": "type-is", - "description": "Infer the content-type of a request.", - "version": "1.6.18", + "_args": [ + [ + "type-is@1.6.18", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "type-is@1.6.18", + "_id": "type-is@1.6.18", + "_inBundle": false, + "_integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "_location": "/type-is", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "type-is@1.6.18", + "name": "type-is", + "escapedName": "type-is", + "rawSpec": "1.6.18", + "saveSpec": null, + "fetchSpec": "1.6.18" + }, + "_requiredBy": [ + "/body-parser", + "/express" + ], + "_resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "_spec": "1.6.18", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/jshttp/type-is/issues" + }, "contributors": [ - "Douglas Christopher Wilson ", - "Jonathan Ong (http://jongleberry.com)" + { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + { + "name": "Jonathan Ong", + "email": "me@jongleberry.com", + "url": "http://jongleberry.com" + } ], - "license": "MIT", - "repository": "jshttp/type-is", "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" }, + "description": "Infer the content-type of a request.", "devDependencies": { "eslint": "5.16.0", "eslint-config-standard": "12.0.0", @@ -31,15 +66,23 @@ "HISTORY.md", "index.js" ], + "homepage": "https://github.com/jshttp/type-is#readme", + "keywords": [ + "content", + "type", + "checking" + ], + "license": "MIT", + "name": "type-is", + "repository": { + "type": "git", + "url": "git+https://github.com/jshttp/type-is.git" + }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --reporter spec --check-leaks --bail test/", "test-cov": "nyc --reporter=html --reporter=text npm test", "test-travis": "nyc --reporter=text npm test" }, - "keywords": [ - "content", - "type", - "checking" - ] + "version": "1.6.18" } diff --git a/node_modules/typedarray-to-buffer/package.json b/node_modules/typedarray-to-buffer/package.json index 5ec565615..09708719a 100644 --- a/node_modules/typedarray-to-buffer/package.json +++ b/node_modules/typedarray-to-buffer/package.json @@ -1,7 +1,32 @@ { - "name": "typedarray-to-buffer", - "description": "Convert a typed array to a Buffer without a copy", - "version": "3.1.5", + "_args": [ + [ + "typedarray-to-buffer@3.1.5", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "typedarray-to-buffer@3.1.5", + "_id": "typedarray-to-buffer@3.1.5", + "_inBundle": false, + "_integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "_location": "/typedarray-to-buffer", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "typedarray-to-buffer@3.1.5", + "name": "typedarray-to-buffer", + "escapedName": "typedarray-to-buffer", + "rawSpec": "3.1.5", + "saveSpec": null, + "fetchSpec": "3.1.5" + }, + "_requiredBy": [ + "/write-file-atomic" + ], + "_resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "_spec": "3.1.5", + "_where": "/Users/adam/Projects/lighthouse-check-action", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -13,6 +38,7 @@ "dependencies": { "is-typedarray": "^1.0.0" }, + "description": "Convert a typed array to a Buffer without a copy", "devDependencies": { "airtap": "0.0.4", "standard": "*", @@ -37,6 +63,7 @@ ], "license": "MIT", "main": "index.js", + "name": "typedarray-to-buffer", "repository": { "type": "git", "url": "git://github.com/feross/typedarray-to-buffer.git" @@ -46,5 +73,6 @@ "test-browser": "airtap -- test/*.js", "test-browser-local": "airtap --local -- test/*.js", "test-node": "tape test/*.js" - } + }, + "version": "3.1.5" } diff --git a/node_modules/typescript/package.json b/node_modules/typescript/package.json index 84cb41b00..3bce29c2b 100644 --- a/node_modules/typescript/package.json +++ b/node_modules/typescript/package.json @@ -1,131 +1,162 @@ { + "_args": [ + [ + "typescript@4.5.4", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "typescript@4.5.4", + "_id": "typescript@4.5.4", + "_inBundle": false, + "_integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", + "_location": "/typescript", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "typescript@4.5.4", "name": "typescript", - "author": "Microsoft Corp.", - "homepage": "https://www.typescriptlang.org/", - "version": "4.5.4", - "license": "Apache-2.0", - "description": "TypeScript is a language for application scale JavaScript development", - "keywords": [ - "TypeScript", - "Microsoft", - "compiler", - "language", - "javascript" - ], - "bugs": { - "url": "https://github.com/Microsoft/TypeScript/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/TypeScript.git" - }, - "main": "./lib/typescript.js", - "typings": "./lib/typescript.d.ts", - "bin": { - "tsc": "./bin/tsc", - "tsserver": "./bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - }, - "devDependencies": { - "@octokit/rest": "latest", - "@types/browserify": "latest", - "@types/chai": "latest", - "@types/convert-source-map": "latest", - "@types/glob": "latest", - "@types/gulp": "^4.0.9", - "@types/gulp-concat": "latest", - "@types/gulp-newer": "latest", - "@types/gulp-rename": "0.0.33", - "@types/gulp-sourcemaps": "0.0.32", - "@types/jake": "latest", - "@types/merge2": "latest", - "@types/microsoft__typescript-etw": "latest", - "@types/minimatch": "latest", - "@types/minimist": "latest", - "@types/mkdirp": "latest", - "@types/mocha": "latest", - "@types/ms": "latest", - "@types/node": "latest", - "@types/node-fetch": "^2.3.4", - "@types/q": "latest", - "@types/source-map-support": "latest", - "@types/through2": "latest", - "@types/xml2js": "^0.4.0", - "@typescript-eslint/eslint-plugin": "^4.28.0", - "@typescript-eslint/experimental-utils": "^4.28.0", - "@typescript-eslint/parser": "^4.28.0", - "async": "latest", - "azure-devops-node-api": "^11.0.1", - "browser-resolve": "^1.11.2", - "browserify": "latest", - "chai": "latest", - "chalk": "^4.1.2", - "convert-source-map": "latest", - "del": "5.1.0", - "diff": "^4.0.2", - "eslint": "7.12.1", - "eslint-formatter-autolinkable-stylish": "1.1.4", - "eslint-plugin-import": "2.22.1", - "eslint-plugin-jsdoc": "30.7.6", - "eslint-plugin-no-null": "1.0.2", - "fancy-log": "latest", - "fs-extra": "^9.0.0", - "glob": "latest", - "gulp": "^4.0.0", - "gulp-concat": "latest", - "gulp-insert": "latest", - "gulp-newer": "latest", - "gulp-rename": "latest", - "gulp-sourcemaps": "latest", - "merge2": "latest", - "minimist": "latest", - "mkdirp": "latest", - "mocha": "latest", - "mocha-fivemat-progress-reporter": "latest", - "ms": "^2.1.3", - "node-fetch": "^2.6.1", - "plugin-error": "latest", - "pretty-hrtime": "^1.0.3", - "prex": "^0.4.3", - "q": "latest", - "source-map-support": "latest", - "through2": "latest", - "typescript": "^4.2.3", - "vinyl": "latest", - "vinyl-sourcemaps-apply": "latest", - "xml2js": "^0.4.19" - }, - "scripts": { - "prepare": "gulp build-eslint-rules", - "pretest": "gulp tests", - "test": "gulp runtests-parallel --light=false", - "test:eslint-rules": "gulp run-eslint-rules-tests", - "build": "npm run build:compiler && npm run build:tests", - "build:compiler": "gulp local", - "build:tests": "gulp tests", - "start": "node lib/tsc", - "clean": "gulp clean", - "gulp": "gulp", - "jake": "gulp", - "lint": "gulp lint", - "lint:ci": "gulp lint --ci", - "lint:compiler": "gulp lint-compiler", - "lint:scripts": "gulp lint-scripts", - "setup-hooks": "node scripts/link-hooks.js" - }, - "browser": { - "fs": false, - "os": false, - "path": false, - "crypto": false, - "buffer": false, - "@microsoft/typescript-etw": false, - "source-map-support": false, - "inspector": false - }, - "volta": { - "node": "14.15.5" - } + "escapedName": "typescript", + "rawSpec": "4.5.4", + "saveSpec": null, + "fetchSpec": "4.5.4" + }, + "_requiredBy": [ + "#DEV:/" + ], + "_resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", + "_spec": "4.5.4", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Microsoft Corp." + }, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "browser": { + "fs": false, + "os": false, + "path": false, + "crypto": false, + "buffer": false, + "@microsoft/typescript-etw": false, + "source-map-support": false, + "inspector": false + }, + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "description": "TypeScript is a language for application scale JavaScript development", + "devDependencies": { + "@octokit/rest": "latest", + "@types/browserify": "latest", + "@types/chai": "latest", + "@types/convert-source-map": "latest", + "@types/glob": "latest", + "@types/gulp": "^4.0.9", + "@types/gulp-concat": "latest", + "@types/gulp-newer": "latest", + "@types/gulp-rename": "0.0.33", + "@types/gulp-sourcemaps": "0.0.32", + "@types/jake": "latest", + "@types/merge2": "latest", + "@types/microsoft__typescript-etw": "latest", + "@types/minimatch": "latest", + "@types/minimist": "latest", + "@types/mkdirp": "latest", + "@types/mocha": "latest", + "@types/ms": "latest", + "@types/node": "latest", + "@types/node-fetch": "^2.3.4", + "@types/q": "latest", + "@types/source-map-support": "latest", + "@types/through2": "latest", + "@types/xml2js": "^0.4.0", + "@typescript-eslint/eslint-plugin": "^4.28.0", + "@typescript-eslint/experimental-utils": "^4.28.0", + "@typescript-eslint/parser": "^4.28.0", + "async": "latest", + "azure-devops-node-api": "^11.0.1", + "browser-resolve": "^1.11.2", + "browserify": "latest", + "chai": "latest", + "chalk": "^4.1.2", + "convert-source-map": "latest", + "del": "5.1.0", + "diff": "^4.0.2", + "eslint": "7.12.1", + "eslint-formatter-autolinkable-stylish": "1.1.4", + "eslint-plugin-import": "2.22.1", + "eslint-plugin-jsdoc": "30.7.6", + "eslint-plugin-no-null": "1.0.2", + "fancy-log": "latest", + "fs-extra": "^9.0.0", + "glob": "latest", + "gulp": "^4.0.0", + "gulp-concat": "latest", + "gulp-insert": "latest", + "gulp-newer": "latest", + "gulp-rename": "latest", + "gulp-sourcemaps": "latest", + "merge2": "latest", + "minimist": "latest", + "mkdirp": "latest", + "mocha": "latest", + "mocha-fivemat-progress-reporter": "latest", + "ms": "^2.1.3", + "node-fetch": "^2.6.1", + "plugin-error": "latest", + "pretty-hrtime": "^1.0.3", + "prex": "^0.4.3", + "q": "latest", + "source-map-support": "latest", + "through2": "latest", + "typescript": "^4.2.3", + "vinyl": "latest", + "vinyl-sourcemaps-apply": "latest", + "xml2js": "^0.4.19" + }, + "engines": { + "node": ">=4.2.0" + }, + "homepage": "https://www.typescriptlang.org/", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript" + ], + "license": "Apache-2.0", + "main": "./lib/typescript.js", + "name": "typescript", + "repository": { + "type": "git", + "url": "git+https://github.com/Microsoft/TypeScript.git" + }, + "scripts": { + "build": "npm run build:compiler && npm run build:tests", + "build:compiler": "gulp local", + "build:tests": "gulp tests", + "clean": "gulp clean", + "gulp": "gulp", + "jake": "gulp", + "lint": "gulp lint", + "lint:ci": "gulp lint --ci", + "lint:compiler": "gulp lint-compiler", + "lint:scripts": "gulp lint-scripts", + "prepare": "gulp build-eslint-rules", + "pretest": "gulp tests", + "setup-hooks": "node scripts/link-hooks.js", + "start": "node lib/tsc", + "test": "gulp runtests-parallel --light=false", + "test:eslint-rules": "gulp run-eslint-rules-tests" + }, + "typings": "./lib/typescript.d.ts", + "version": "4.5.4", + "volta": { + "node": "14.15.5" + } } diff --git a/node_modules/unique-string/package.json b/node_modules/unique-string/package.json index 11cbd76cc..7265d2af7 100644 --- a/node_modules/unique-string/package.json +++ b/node_modules/unique-string/package.json @@ -1,40 +1,72 @@ { - "name": "unique-string", - "version": "2.0.0", - "description": "Generate a unique random string", - "license": "MIT", - "repository": "sindresorhus/unique-string", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "unique", - "string", - "random", - "text", - "id", - "identifier", - "slug", - "hex" - ], - "dependencies": { - "crypto-random-string": "^2.0.0" - }, - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } + "_from": "unique-string@^2.0.0", + "_id": "unique-string@2.0.0", + "_inBundle": false, + "_integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "_location": "/unique-string", + "_phantomChildren": {}, + "_requested": { + "type": "range", + "registry": true, + "raw": "unique-string@^2.0.0", + "name": "unique-string", + "escapedName": "unique-string", + "rawSpec": "^2.0.0", + "saveSpec": null, + "fetchSpec": "^2.0.0" + }, + "_requiredBy": [ + "/configstore" + ], + "_resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", + "_shasum": "39c6451f81afb2749de2b233e3f7c5e8843bd89d", + "_spec": "unique-string@^2.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action/node_modules/configstore", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "bugs": { + "url": "https://github.com/sindresorhus/unique-string/issues" + }, + "bundleDependencies": false, + "dependencies": { + "crypto-random-string": "^2.0.0" + }, + "deprecated": false, + "description": "Generate a unique random string", + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + }, + "engines": { + "node": ">=8" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "homepage": "https://github.com/sindresorhus/unique-string#readme", + "keywords": [ + "unique", + "string", + "random", + "text", + "id", + "identifier", + "slug", + "hex" + ], + "license": "MIT", + "name": "unique-string", + "repository": { + "type": "git", + "url": "git+https://github.com/sindresorhus/unique-string.git" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "version": "2.0.0" } diff --git a/node_modules/universal-user-agent/package.json b/node_modules/universal-user-agent/package.json index ac3e658ea..38045dbbf 100644 --- a/node_modules/universal-user-agent/package.json +++ b/node_modules/universal-user-agent/package.json @@ -1,17 +1,40 @@ { - "name": "universal-user-agent", - "description": "Get a user agent string in both browser and node", - "version": "6.0.0", - "license": "ISC", - "files": [ - "dist-*/", - "bin/" + "_args": [ + [ + "universal-user-agent@6.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] ], - "pika": true, - "sideEffects": false, - "keywords": [], - "repository": "https://github.com/gr2m/universal-user-agent.git", + "_from": "universal-user-agent@6.0.0", + "_id": "universal-user-agent@6.0.0", + "_inBundle": false, + "_integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "_location": "/universal-user-agent", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "universal-user-agent@6.0.0", + "name": "universal-user-agent", + "escapedName": "universal-user-agent", + "rawSpec": "6.0.0", + "saveSpec": null, + "fetchSpec": "6.0.0" + }, + "_requiredBy": [ + "/@octokit/core", + "/@octokit/endpoint", + "/@octokit/graphql", + "/@octokit/request" + ], + "_resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "_spec": "6.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "bugs": { + "url": "https://github.com/gr2m/universal-user-agent/issues" + }, "dependencies": {}, + "description": "Get a user agent string in both browser and node", "devDependencies": { "@gr2m/pika-plugin-build-web": "^0.6.0-issue-84.1", "@pika/pack": "^0.5.0", @@ -24,8 +47,23 @@ "ts-jest": "^26.0.0", "typescript": "^3.6.2" }, + "files": [ + "dist-*/", + "bin/" + ], + "homepage": "https://github.com/gr2m/universal-user-agent#readme", + "keywords": [], + "license": "ISC", + "main": "dist-node/index.js", + "module": "dist-web/index.js", + "name": "universal-user-agent", + "pika": true, + "repository": { + "type": "git", + "url": "git+https://github.com/gr2m/universal-user-agent.git" + }, + "sideEffects": false, "source": "dist-src/index.js", "types": "dist-types/index.d.ts", - "main": "dist-node/index.js", - "module": "dist-web/index.js" + "version": "6.0.0" } diff --git a/node_modules/universalify/package.json b/node_modules/universalify/package.json index 321b19285..8cf06f5f7 100644 --- a/node_modules/universalify/package.json +++ b/node_modules/universalify/package.json @@ -1,19 +1,62 @@ { - "name": "universalify", - "version": "0.1.2", + "_args": [ + [ + "universalify@0.1.2", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_development": true, + "_from": "universalify@0.1.2", + "_id": "universalify@0.1.2", + "_inBundle": false, + "_integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "_location": "/universalify", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "universalify@0.1.2", + "name": "universalify", + "escapedName": "universalify", + "rawSpec": "0.1.2", + "saveSpec": null, + "fetchSpec": "0.1.2" + }, + "_requiredBy": [ + "/tough-cookie" + ], + "_resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "_spec": "0.1.2", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Ryan Zimmerman", + "email": "opensrc@ryanzim.com" + }, + "bugs": { + "url": "https://github.com/RyanZim/universalify/issues" + }, "description": "Make a callback- or promise-based function support both promises and callbacks.", + "devDependencies": { + "colortape": "^0.1.2", + "coveralls": "^3.0.1", + "nyc": "^10.2.0", + "standard": "^10.0.1", + "tape": "^4.6.3" + }, + "engines": { + "node": ">= 4.0.0" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/RyanZim/universalify#readme", "keywords": [ "callback", "native", "promise" ], - "homepage": "https://github.com/RyanZim/universalify#readme", - "bugs": "https://github.com/RyanZim/universalify/issues", "license": "MIT", - "author": "Ryan Zimmerman ", - "files": [ - "index.js" - ], + "name": "universalify", "repository": { "type": "git", "url": "git+https://github.com/RyanZim/universalify.git" @@ -21,14 +64,5 @@ "scripts": { "test": "standard && nyc tape test/*.js | colortape" }, - "devDependencies": { - "colortape": "^0.1.2", - "coveralls": "^3.0.1", - "nyc": "^10.2.0", - "standard": "^10.0.1", - "tape": "^4.6.3" - }, - "engines": { - "node": ">= 4.0.0" - } + "version": "0.1.2" } diff --git a/node_modules/unpipe/package.json b/node_modules/unpipe/package.json index a2b73583b..65656df69 100644 --- a/node_modules/unpipe/package.json +++ b/node_modules/unpipe/package.json @@ -1,27 +1,66 @@ { - "name": "unpipe", + "_args": [ + [ + "unpipe@1.0.0", + "/Users/adam/Projects/lighthouse-check-action" + ] + ], + "_from": "unpipe@1.0.0", + "_id": "unpipe@1.0.0", + "_inBundle": false, + "_integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "_location": "/unpipe", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "unpipe@1.0.0", + "name": "unpipe", + "escapedName": "unpipe", + "rawSpec": "1.0.0", + "saveSpec": null, + "fetchSpec": "1.0.0" + }, + "_requiredBy": [ + "/finalhandler", + "/raw-body" + ], + "_resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "_spec": "1.0.0", + "_where": "/Users/adam/Projects/lighthouse-check-action", + "author": { + "name": "Douglas Christopher Wilson", + "email": "doug@somethingdoug.com" + }, + "bugs": { + "url": "https://github.com/stream-utils/unpipe/issues" + }, "description": "Unpipe a stream from all destinations", - "version": "1.0.0", - "author": "Douglas Christopher Wilson ", - "license": "MIT", - "repository": "stream-utils/unpipe", "devDependencies": { "istanbul": "0.3.15", "mocha": "2.2.5", "readable-stream": "1.1.13" }, + "engines": { + "node": ">= 0.8" + }, "files": [ "HISTORY.md", "LICENSE", "README.md", "index.js" ], - "engines": { - "node": ">= 0.8" + "homepage": "https://github.com/stream-utils/unpipe#readme", + "license": "MIT", + "name": "unpipe", + "repository": { + "type": "git", + "url": "git+https://github.com/stream-utils/unpipe.git" }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - } + }, + "version": "1.0.0" } diff --git a/node_modules/update-notifier/check.js b/node_modules/update-notifier/check.js deleted file mode 100644 index fc0ee9cb8..000000000 --- a/node_modules/update-notifier/check.js +++ /dev/null @@ -1,28 +0,0 @@ -/* eslint-disable unicorn/no-process-exit */ -'use strict'; -let updateNotifier = require('.'); - -const options = JSON.parse(process.argv[2]); - -updateNotifier = new updateNotifier.UpdateNotifier(options); - -(async () => { - // Exit process when offline - setTimeout(process.exit, 1000 * 30); - - const update = await updateNotifier.fetchInfo(); - - // Only update the last update check time on success - updateNotifier.config.set('lastUpdateCheck', Date.now()); - - if (update.type && update.type !== 'latest') { - updateNotifier.config.set('update', update); - } - - // Call process exit explicitly to terminate the child process, - // otherwise the child process will run forever, according to the Node.js docs - process.exit(); -})().catch(error => { - console.error(error); - process.exit(1); -}); diff --git a/node_modules/update-notifier/index.js b/node_modules/update-notifier/index.js deleted file mode 100644 index d04847ebc..000000000 --- a/node_modules/update-notifier/index.js +++ /dev/null @@ -1,187 +0,0 @@ -'use strict'; -const {spawn} = require('child_process'); -const path = require('path'); -const {format} = require('util'); -const importLazy = require('import-lazy')(require); - -const configstore = importLazy('configstore'); -const chalk = importLazy('chalk'); -const semverDiff = importLazy('semver-diff'); -const latestVersion = importLazy('latest-version'); -const isNpm = importLazy('is-npm'); -const isInstalledGlobally = importLazy('is-installed-globally'); -const isYarnGlobal = importLazy('is-yarn-global'); -const hasYarn = importLazy('has-yarn'); -const boxen = importLazy('boxen'); -const xdgBasedir = importLazy('xdg-basedir'); -const isCi = importLazy('is-ci'); -const pupa = importLazy('pupa'); - -const ONE_DAY = 1000 * 60 * 60 * 24; - -class UpdateNotifier { - constructor(options = {}) { - this.options = options; - options.pkg = options.pkg || {}; - options.distTag = options.distTag || 'latest'; - - // Reduce pkg to the essential keys. with fallback to deprecated options - // TODO: Remove deprecated options at some point far into the future - options.pkg = { - name: options.pkg.name || options.packageName, - version: options.pkg.version || options.packageVersion - }; - - if (!options.pkg.name || !options.pkg.version) { - throw new Error('pkg.name and pkg.version required'); - } - - this.packageName = options.pkg.name; - this.packageVersion = options.pkg.version; - this.updateCheckInterval = typeof options.updateCheckInterval === 'number' ? options.updateCheckInterval : ONE_DAY; - this.disabled = 'NO_UPDATE_NOTIFIER' in process.env || - process.env.NODE_ENV === 'test' || - process.argv.includes('--no-update-notifier') || - isCi(); - this.shouldNotifyInNpmScript = options.shouldNotifyInNpmScript; - - if (!this.disabled) { - try { - const ConfigStore = configstore(); - this.config = new ConfigStore(`update-notifier-${this.packageName}`, { - optOut: false, - // Init with the current time so the first check is only - // after the set interval, so not to bother users right away - lastUpdateCheck: Date.now() - }); - } catch (_) { - // Expecting error code EACCES or EPERM - const message = - chalk().yellow(format(' %s update check failed ', options.pkg.name)) + - format('\n Try running with %s or get access ', chalk().cyan('sudo')) + - '\n to the local update config store via \n' + - chalk().cyan(format(' sudo chown -R $USER:$(id -gn $USER) %s ', xdgBasedir().config)); - - process.on('exit', () => { - console.error(boxen()(message, {align: 'center'})); - }); - } - } - } - - check() { - if ( - !this.config || - this.config.get('optOut') || - this.disabled - ) { - return; - } - - this.update = this.config.get('update'); - - if (this.update) { - // Use the real latest version instead of the cached one - this.update.current = this.packageVersion; - - // Clear cached information - this.config.delete('update'); - } - - // Only check for updates on a set interval - if (Date.now() - this.config.get('lastUpdateCheck') < this.updateCheckInterval) { - return; - } - - // Spawn a detached process, passing the options as an environment property - spawn(process.execPath, [path.join(__dirname, 'check.js'), JSON.stringify(this.options)], { - detached: true, - stdio: 'ignore' - }).unref(); - } - - async fetchInfo() { - const {distTag} = this.options; - const latest = await latestVersion()(this.packageName, {version: distTag}); - - return { - latest, - current: this.packageVersion, - type: semverDiff()(this.packageVersion, latest) || distTag, - name: this.packageName - }; - } - - notify(options) { - const suppressForNpm = !this.shouldNotifyInNpmScript && isNpm().isNpmOrYarn; - if (!process.stdout.isTTY || suppressForNpm || !this.update || this.update.current === this.update.latest) { - return this; - } - - options = Object.assign({ - isGlobal: isInstalledGlobally(), - isYarnGlobal: isYarnGlobal()() - }, options); - - let installCommand; - - if (options.isYarnGlobal) { - installCommand = `yarn global add ${this.packageName}`; - } else if (options.isGlobal) { - installCommand = `npm i -g ${this.packageName}`; - } else if (hasYarn()()) { - installCommand = `yarn add ${this.packageName}`; - } else { - installCommand = `npm i ${this.packageName}`; - } - - const defaultTemplate = 'Update available ' + - chalk().dim('{currentVersion}') + - chalk().reset(' → ') + - chalk().green('{latestVersion}') + - ' \nRun ' + chalk().cyan('{updateCommand}') + ' to update'; - - const template = options.message || defaultTemplate; - - options.boxenOptions = options.boxenOptions || { - padding: 1, - margin: 1, - align: 'center', - borderColor: 'yellow', - borderStyle: 'round' - }; - - const message = boxen()( - pupa()(template, { - packageName: this.packageName, - currentVersion: this.update.current, - latestVersion: this.update.latest, - updateCommand: installCommand - }), - options.boxenOptions - ); - - if (options.defer === false) { - console.error(message); - } else { - process.on('exit', () => { - console.error(message); - }); - - process.on('SIGINT', () => { - console.error(''); - process.exit(); - }); - } - - return this; - } -} - -module.exports = options => { - const updateNotifier = new UpdateNotifier(options); - updateNotifier.check(); - return updateNotifier; -}; - -module.exports.UpdateNotifier = UpdateNotifier; diff --git a/node_modules/update-notifier/license b/node_modules/update-notifier/license deleted file mode 100644 index cea5a3552..000000000 --- a/node_modules/update-notifier/license +++ /dev/null @@ -1,9 +0,0 @@ -Copyright Google - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/update-notifier/node_modules/chalk/index.d.ts b/node_modules/update-notifier/node_modules/chalk/index.d.ts deleted file mode 100644 index 7e22c45ec..000000000 --- a/node_modules/update-notifier/node_modules/chalk/index.d.ts +++ /dev/null @@ -1,411 +0,0 @@ -declare const enum LevelEnum { - /** - All colors disabled. - */ - None = 0, - - /** - Basic 16 colors support. - */ - Basic = 1, - - /** - ANSI 256 colors support. - */ - Ansi256 = 2, - - /** - Truecolor 16 million colors support. - */ - TrueColor = 3 -} - -/** -Basic foreground colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type ForegroundColor = - | 'black' - | 'red' - | 'green' - | 'yellow' - | 'blue' - | 'magenta' - | 'cyan' - | 'white' - | 'gray' - | 'grey' - | 'blackBright' - | 'redBright' - | 'greenBright' - | 'yellowBright' - | 'blueBright' - | 'magentaBright' - | 'cyanBright' - | 'whiteBright'; - -/** -Basic background colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type BackgroundColor = - | 'bgBlack' - | 'bgRed' - | 'bgGreen' - | 'bgYellow' - | 'bgBlue' - | 'bgMagenta' - | 'bgCyan' - | 'bgWhite' - | 'bgGray' - | 'bgGrey' - | 'bgBlackBright' - | 'bgRedBright' - | 'bgGreenBright' - | 'bgYellowBright' - | 'bgBlueBright' - | 'bgMagentaBright' - | 'bgCyanBright' - | 'bgWhiteBright'; - -/** -Basic colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type Color = ForegroundColor | BackgroundColor; - -declare type Modifiers = - | 'reset' - | 'bold' - | 'dim' - | 'italic' - | 'underline' - | 'inverse' - | 'hidden' - | 'strikethrough' - | 'visible'; - -declare namespace chalk { - type Level = LevelEnum; - - interface Options { - /** - Specify the color support for Chalk. - By default, color support is automatically detected based on the environment. - */ - level?: Level; - } - - interface Instance { - /** - Return a new Chalk instance. - */ - new (options?: Options): Chalk; - } - - /** - Detect whether the terminal supports color. - */ - interface ColorSupport { - /** - The color level used by Chalk. - */ - level: Level; - - /** - Return whether Chalk supports basic 16 colors. - */ - hasBasic: boolean; - - /** - Return whether Chalk supports ANSI 256 colors. - */ - has256: boolean; - - /** - Return whether Chalk supports Truecolor 16 million colors. - */ - has16m: boolean; - } - - interface ChalkFunction { - /** - Use a template string. - - @remarks Template literals are unsupported for nested calls (see [issue #341](https://github.com/chalk/chalk/issues/341)) - - @example - ``` - import chalk = require('chalk'); - - log(chalk` - CPU: {red ${cpu.totalPercent}%} - RAM: {green ${ram.used / ram.total * 100}%} - DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} - `); - ``` - */ - (text: TemplateStringsArray, ...placeholders: unknown[]): string; - - (...text: unknown[]): string; - } - - interface Chalk extends ChalkFunction { - /** - Return a new Chalk instance. - */ - Instance: Instance; - - /** - The color support for Chalk. - By default, color support is automatically detected based on the environment. - */ - level: Level; - - /** - Use HEX value to set text color. - - @param color - Hexadecimal value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.hex('#DEADED'); - ``` - */ - hex(color: string): Chalk; - - /** - Use keyword color value to set text color. - - @param color - Keyword value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.keyword('orange'); - ``` - */ - keyword(color: string): Chalk; - - /** - Use RGB values to set text color. - */ - rgb(red: number, green: number, blue: number): Chalk; - - /** - Use HSL values to set text color. - */ - hsl(hue: number, saturation: number, lightness: number): Chalk; - - /** - Use HSV values to set text color. - */ - hsv(hue: number, saturation: number, value: number): Chalk; - - /** - Use HWB values to set text color. - */ - hwb(hue: number, whiteness: number, blackness: number): Chalk; - - /** - Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set text color. - - 30 <= code && code < 38 || 90 <= code && code < 98 - For example, 31 for red, 91 for redBright. - */ - ansi(code: number): Chalk; - - /** - Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color. - */ - ansi256(index: number): Chalk; - - /** - Use HEX value to set background color. - - @param color - Hexadecimal value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.bgHex('#DEADED'); - ``` - */ - bgHex(color: string): Chalk; - - /** - Use keyword color value to set background color. - - @param color - Keyword value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.bgKeyword('orange'); - ``` - */ - bgKeyword(color: string): Chalk; - - /** - Use RGB values to set background color. - */ - bgRgb(red: number, green: number, blue: number): Chalk; - - /** - Use HSL values to set background color. - */ - bgHsl(hue: number, saturation: number, lightness: number): Chalk; - - /** - Use HSV values to set background color. - */ - bgHsv(hue: number, saturation: number, value: number): Chalk; - - /** - Use HWB values to set background color. - */ - bgHwb(hue: number, whiteness: number, blackness: number): Chalk; - - /** - Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set background color. - - 30 <= code && code < 38 || 90 <= code && code < 98 - For example, 31 for red, 91 for redBright. - Use the foreground code, not the background code (for example, not 41, nor 101). - */ - bgAnsi(code: number): Chalk; - - /** - Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color. - */ - bgAnsi256(index: number): Chalk; - - /** - Modifier: Resets the current color chain. - */ - readonly reset: Chalk; - - /** - Modifier: Make text bold. - */ - readonly bold: Chalk; - - /** - Modifier: Emitting only a small amount of light. - */ - readonly dim: Chalk; - - /** - Modifier: Make text italic. (Not widely supported) - */ - readonly italic: Chalk; - - /** - Modifier: Make text underline. (Not widely supported) - */ - readonly underline: Chalk; - - /** - Modifier: Inverse background and foreground colors. - */ - readonly inverse: Chalk; - - /** - Modifier: Prints the text, but makes it invisible. - */ - readonly hidden: Chalk; - - /** - Modifier: Puts a horizontal line through the center of the text. (Not widely supported) - */ - readonly strikethrough: Chalk; - - /** - Modifier: Prints the text only when Chalk has a color support level > 0. - Can be useful for things that are purely cosmetic. - */ - readonly visible: Chalk; - - readonly black: Chalk; - readonly red: Chalk; - readonly green: Chalk; - readonly yellow: Chalk; - readonly blue: Chalk; - readonly magenta: Chalk; - readonly cyan: Chalk; - readonly white: Chalk; - - /* - Alias for `blackBright`. - */ - readonly gray: Chalk; - - /* - Alias for `blackBright`. - */ - readonly grey: Chalk; - - readonly blackBright: Chalk; - readonly redBright: Chalk; - readonly greenBright: Chalk; - readonly yellowBright: Chalk; - readonly blueBright: Chalk; - readonly magentaBright: Chalk; - readonly cyanBright: Chalk; - readonly whiteBright: Chalk; - - readonly bgBlack: Chalk; - readonly bgRed: Chalk; - readonly bgGreen: Chalk; - readonly bgYellow: Chalk; - readonly bgBlue: Chalk; - readonly bgMagenta: Chalk; - readonly bgCyan: Chalk; - readonly bgWhite: Chalk; - - /* - Alias for `bgBlackBright`. - */ - readonly bgGray: Chalk; - - /* - Alias for `bgBlackBright`. - */ - readonly bgGrey: Chalk; - - readonly bgBlackBright: Chalk; - readonly bgRedBright: Chalk; - readonly bgGreenBright: Chalk; - readonly bgYellowBright: Chalk; - readonly bgBlueBright: Chalk; - readonly bgMagentaBright: Chalk; - readonly bgCyanBright: Chalk; - readonly bgWhiteBright: Chalk; - } -} - -/** -Main Chalk object that allows to chain styles together. -Call the last one as a method with a string argument. -Order doesn't matter, and later styles take precedent in case of a conflict. -This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`. -*/ -declare const chalk: chalk.Chalk & chalk.ChalkFunction & { - supportsColor: chalk.ColorSupport | false; - Level: typeof LevelEnum; - Color: Color; - ForegroundColor: ForegroundColor; - BackgroundColor: BackgroundColor; - Modifiers: Modifiers; - stderr: chalk.Chalk & {supportsColor: chalk.ColorSupport | false}; -}; - -export = chalk; diff --git a/node_modules/update-notifier/node_modules/chalk/license b/node_modules/update-notifier/node_modules/chalk/license deleted file mode 100644 index e7af2f771..000000000 --- a/node_modules/update-notifier/node_modules/chalk/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/update-notifier/node_modules/chalk/package.json b/node_modules/update-notifier/node_modules/chalk/package.json deleted file mode 100644 index 047adf92a..000000000 --- a/node_modules/update-notifier/node_modules/chalk/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "chalk", - "version": "3.0.0", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "main": "source", - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && nyc ava && tsd", - "bench": "matcha benchmark.js" - }, - "files": [ - "source", - "index.d.ts" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "coveralls": "^3.0.7", - "execa": "^3.2.0", - "import-fresh": "^3.1.0", - "matcha": "^0.7.0", - "nyc": "^14.1.1", - "resolve-from": "^5.0.0", - "tsd": "^0.7.4", - "xo": "^0.25.3" - }, - "xo": { - "rules": { - "unicorn/prefer-string-slice": "off", - "unicorn/prefer-includes": "off" - } - } -} diff --git a/node_modules/update-notifier/node_modules/chalk/readme.md b/node_modules/update-notifier/node_modules/chalk/readme.md deleted file mode 100644 index 877cb93b7..000000000 --- a/node_modules/update-notifier/node_modules/chalk/readme.md +++ /dev/null @@ -1,304 +0,0 @@ -

-
-
- Chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) - - - - -## Highlights - -- Expressive API -- Highly performant -- Ability to nest styles -- [256/Truecolor color support](#256-and-truecolor-color-support) -- Auto-detects color support -- Doesn't extend `String.prototype` -- Clean and focused -- Actively maintained -- [Used by ~46,000 packages](https://www.npmjs.com/browse/depended/chalk) as of October 1, 2019 - - -## Install - -```console -$ npm install chalk -``` - - -## Usage - -```js -const chalk = require('chalk'); - -console.log(chalk.blue('Hello world!')); -``` - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -const chalk = require('chalk'); -const log = console.log; - -// Combine styled and normal strings -log(chalk.blue('Hello') + ' World' + chalk.red('!')); - -// Compose multiple styles using the chainable API -log(chalk.blue.bgRed.bold('Hello world!')); - -// Pass in multiple arguments -log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); - -// Nest styles -log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); - -// Nest styles of the same type even (color, underline, background) -log(chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -)); - -// ES2015 template literal -log(` -CPU: ${chalk.red('90%')} -RAM: ${chalk.green('40%')} -DISK: ${chalk.yellow('70%')} -`); - -// ES2015 tagged template literal -log(chalk` -CPU: {red ${cpu.totalPercent}%} -RAM: {green ${ram.used / ram.total * 100}%} -DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} -`); - -// Use RGB colors in terminal emulators that support it. -log(chalk.keyword('orange')('Yay for orange colored text!')); -log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); -log(chalk.hex('#DEADED').bold('Bold gray!')); -``` - -Easily define your own themes: - -```js -const chalk = require('chalk'); - -const error = chalk.bold.red; -const warning = chalk.keyword('orange'); - -console.log(error('Error!')); -console.log(warning('Warning!')); -``` - -Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): - -```js -const name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> 'Hello Sindre' -``` - - -## API - -### chalk.`